From 2d95e8761a019928375d2afc1e20676bdd7cf087 Mon Sep 17 00:00:00 2001 From: T Date: Mon, 9 Sep 2024 08:55:19 +0000 Subject: [PATCH] M7350v3_en_gpl --- README | 89 - .../sources/src/usbdev/libusb/.deps/bsd.Plo | 1 + .../src/usbdev/libusb/.deps/darwin.Plo | 1 + .../src/usbdev/libusb/.deps/descriptors.Plo | 174 + .../sources/src/usbdev/libusb/.deps/error.Plo | 133 + .../sources/src/usbdev/libusb/.deps/linux.Plo | 210 + .../sources/src/usbdev/libusb/.deps/usb.Plo | 171 + .../sources/src/usbdev/libusb/.deps/usbpp.Plo | 442 + .../dhd/sources/src/usbdev/libusb/AUTHORS | 3 + .../dhd/sources/src/usbdev/libusb/COPYING | 504 + .../dhd/sources/src/usbdev/libusb/ChangeLog | 7 + .../dhd/sources/src/usbdev/libusb/Doxyfile | 1091 + .../dhd/sources/src/usbdev/libusb/Doxyfile.in | 1091 + .../sources/src/usbdev/libusb/INSTALL.libusb | 59 + .../src/usbdev/libusb/INSTALL.libusb.in | 59 + .../dhd/sources/src/usbdev/libusb/LICENSE | 47 + .../dhd/sources/src/usbdev/libusb/Makefile.in | 938 + .../dhd/sources/src/usbdev/libusb/NEWS | 1 + .../dhd/sources/src/usbdev/libusb/README | 94 + .../dhd/sources/src/usbdev/libusb/README.in | 94 + .../sources/src/usbdev/libusb/acinclude.m4 | 101 + .../dhd/sources/src/usbdev/libusb/aclocal.m4 | 6869 +++++ .../src/usbdev/libusb/apidocs/doxygen.css} | 0 .../src/usbdev/libusb/apidocs/doxygen.png | Bin 0 -> 2352 bytes .../src/usbdev/libusb/apidocs/footer.html | 11 + .../src/usbdev/libusb/apidocs/header.html | 34 + .../dhd/sources/src/usbdev/libusb/bsd.c | 637 + .../dhd/sources/src/usbdev/libusb/compile | 136 + .../sources/src/usbdev/libusb/config.guess | 1411 + .../dhd/sources/src/usbdev/libusb/config.h | 112 + .../dhd/sources/src/usbdev/libusb/config.h.in | 111 + .../dhd/sources/src/usbdev/libusb/config.log | 1148 + .../sources/src/usbdev/libusb/config.status | 1243 + .../dhd/sources/src/usbdev/libusb/config.sub | 1500 ++ .../dhd/sources/src/usbdev/libusb/configure | 21876 ++++++++++++++++ .../sources/src/usbdev/libusb/configure.in | 264 + .../src/usbdev/libusb/configure.lineno | 21876 ++++++++++++++++ .../dhd/sources/src/usbdev/libusb/darwin.c | 1209 + .../dhd/sources/src/usbdev/libusb/depcomp | 520 + .../sources/src/usbdev/libusb/descriptors.c | 520 + .../sources/src/usbdev/libusb/doc/Makefile | 366 + .../sources/src/usbdev/libusb/doc/Makefile.in | 366 + .../dhd/sources/src/usbdev/libusb/error.c | 36 + .../dhd/sources/src/usbdev/libusb/error.h | 31 + .../dhd/sources/src/usbdev/libusb/install-sh | 316 + .../dhd/sources/src/usbdev/libusb/libtool | 7064 +++++ .../sources/src/usbdev/libusb/libusb-config | 79 + .../src/usbdev/libusb/libusb-config.in | 79 + .../dhd/sources/src/usbdev/libusb/libusb.pc | 11 + .../sources/src/usbdev/libusb/libusb.pc.in | 11 + .../dhd/sources/src/usbdev/libusb/libusb.spec | 65 + .../sources/src/usbdev/libusb/libusb.spec.in | 65 + .../dhd/sources/src/usbdev/libusb/linux.c | 733 + .../dhd/sources/src/usbdev/libusb/linux.h | 119 + .../dhd/sources/src/usbdev/libusb/ltmain.sh | 6425 +++++ .../dhd/sources/src/usbdev/libusb/missing | 360 + .../dhd/sources/src/usbdev/libusb/stamp-h1 | 1 + .../libusb/tests/.deps/descriptor_test.Po | 448 + .../usbdev/libusb/tests/.deps/driver_name.Po | 448 + .../usbdev/libusb/tests/.deps/find_hubs.Po | 448 + .../usbdev/libusb/tests/.deps/find_mice.Po | 448 + .../libusb/tests/.deps/get_resolution.Po | 448 + .../usbdev/libusb/tests/.deps/hub_strings.Po | 448 + .../src/usbdev/libusb/tests/.deps/id_test.Po | 448 + .../usbdev/libusb/tests/.deps/testlibusb.Po | 166 + .../sources/src/usbdev/libusb/tests/Makefile | 640 + .../src/usbdev/libusb/tests/Makefile.in | 640 + .../usbdev/libusb/tests/descriptor_test.cpp | 82 + .../src/usbdev/libusb/tests/driver_name.cpp | 63 + .../src/usbdev/libusb/tests/find_hubs.cpp | 37 + .../src/usbdev/libusb/tests/find_mice.cpp | 53 + .../usbdev/libusb/tests/get_resolution.cpp | 71 + .../src/usbdev/libusb/tests/hub_strings.cpp | 83 + .../src/usbdev/libusb/tests/id_test.cpp | 50 + .../src/usbdev/libusb/tests/testlibusb.c | 154 + .../dhd/sources/src/usbdev/libusb/usb.c | 307 + .../dhd/sources/src/usbdev/libusb/usb.h | 337 + .../dhd/sources/src/usbdev/libusb/usb.h.in | 337 + .../dhd/sources/src/usbdev/libusb/usbi.h | 74 + .../dhd/sources/src/usbdev/libusb/usbpp.cpp | 581 + .../dhd/sources/src/usbdev/libusb/usbpp.h | 855 + .../net/wireless/ath/ath6kl/cfg80211.c | 104 +- .../drivers/net/wireless/ath/ath6kl/core.c | 22 +- .../drivers/net/wireless/ath/ath6kl/core.h | 34 +- .../drivers/net/wireless/ath/ath6kl/init.c | 289 +- .../drivers/net/wireless/ath/ath6kl/txrx.c | 28 +- .../drivers/net/wireless/ath/ath6kl/usb.c | 133 +- .../drivers/net/wireless/ath/ath6kl/wmi.c | 32 +- .../drivers/net/wireless/ath/ath6kl/wmi.h | 2 - .../compat-wireless/include/linux/ieee80211.h | 5 +- .../compat-wireless/include/linux/nl80211.h | 7 - .../compat-wireless/include/net/cfg80211.h | 1 - external/compat-wireless/net/wireless/ap.c | 50 - external/compat-wireless/net/wireless/db.txt | 61 +- .../compat-wireless/net/wireless/nl80211.c | 73 +- .../compat-wireless/net/wireless/nl80211.h | 6 - external/hostap/hostapd/Makefile | 52 +- .../config/tp-ath6kl-ap-all-7350-series.conf | 15 - .../hostapd/config/tp-ath6kl-ap-all.conf | 13 - .../config/tp-bcm-ap-all-7350-series.conf | 15 - .../config/tp-bcm-ap-all-7350-series.deny | 0 .../hostap/hostapd/config/tp-bcm-ap-all.conf | 13 - external/hostap/hostapd/config_file.c | 30 +- external/hostap/hostapd/ctrl_iface.c | 38 - external/hostap/hostapd/hostapd_cli.c | 24 - external/hostap/src/ap/ap_config.h | 2 +- external/hostap/src/ap/beacon.c | 12 - external/hostap/src/ap/drv_callbacks.c | 54 +- external/hostap/src/ap/hostapd.c | 32 +- external/hostap/src/ap/hostapd.h | 5 - external/hostap/src/ap/ieee802_11_ht.c | 6 +- external/hostap/src/ap/wpa_auth.c | 9 - external/hostap/src/ap/wps_hostapd.c | 7 - external/hostap/src/common/ieee802_11_defs.h | 2 - external/hostap/src/common/wpa_ctrl.c | 27 - external/hostap/src/common/wpa_ctrl.h | 26 - external/hostap/src/drivers/driver.h | 11 - external/hostap/src/drivers/driver_nl80211.c | 11 - external/hostap/src/drivers/nl80211_copy.h | 6 - external/hostap/src/wps/wps.h | 7 - external/hostap/src/wps/wps_common.c | 13 - external/hostap/src/wps/wps_registrar.c | 9 - .../dts/lte_module-v1/am3517_mt_ventoux.dts | 27 - .../boot/dts/lte_module-v1/apq8026-mtp.dts | 22 - .../boot/dts/lte_module-v1/apq8026-xpm.dts | 22 - .../arm/boot/dts/lte_module-v1/apq8026.dtsi | 24 - .../lte_module-v1/apq8074-dragonboard.dtsi | 654 - .../boot/dts/lte_module-v1/apq8074-v1.dtsi | 48 - .../lte_module-v1/apq8074-v2-dragonboard.dts | 22 - .../dts/lte_module-v1/apq8074-v2-liquid.dts | 34 - .../boot/dts/lte_module-v1/apq8074-v2.dtsi | 52 - .../boot/dts/lte_module-v1/apq8084-ion.dtsi | 31 - .../dts/lte_module-v1/apq8084-regulator.dtsi | 377 - .../boot/dts/lte_module-v1/apq8084-sim.dts | 173 - .../boot/dts/lte_module-v1/apq8084-smp2p.dtsi | 82 - .../arm/boot/dts/lte_module-v1/apq8084.dtsi | 276 - .../boot/dts/lte_module-v1/at91sam9g20.dtsi | 238 - .../boot/dts/lte_module-v1/at91sam9g25ek.dts | 49 - .../boot/dts/lte_module-v1/at91sam9g45.dtsi | 247 - .../dts/lte_module-v1/at91sam9m10g45ek.dts | 156 - .../boot/dts/lte_module-v1/at91sam9x5.dtsi | 263 - .../boot/dts/lte_module-v1/at91sam9x5cm.dtsi | 74 - .../arm/boot/dts/lte_module-v1/db8500.dtsi | 274 - .../dsi-panel-nt35590-720p-cmd.dtsi | 530 - .../dsi-panel-nt35590-720p-video.dtsi | 524 - .../dsi-panel-orise-720p-video.dtsi | 60 - .../dsi-panel-sharp-qhd-video.dtsi | 67 - .../lte_module-v1/dsi-panel-sim-video.dtsi | 46 - .../dsi-panel-toshiba-720p-video.dtsi | 124 - .../dsi-v2-panel-hx8379a-wvga-video.dtsi | 117 - .../dsi-v2-panel-truly-wvga-video.dtsi | 120 - .../dts/lte_module-v1/exynos4210-origen.dts | 137 - .../dts/lte_module-v1/exynos4210-smdkv310.dts | 182 - .../boot/dts/lte_module-v1/exynos4210.dtsi | 398 - .../dts/lte_module-v1/exynos5250-smdk5250.dts | 26 - .../boot/dts/lte_module-v1/exynos5250.dtsi | 413 - .../boot/dts/lte_module-v1/fsm9900-rumi.dts | 31 - .../boot/dts/lte_module-v1/fsm9900-sim.dts | 32 - .../arm/boot/dts/lte_module-v1/fsm9900.dtsi | 94 - .../arm/boot/dts/lte_module-v1/highbank.dts | 209 - .../lte_module-v1/imx27-phytec-phycore.dts | 76 - .../arm/boot/dts/lte_module-v1/imx27.dtsi | 217 - .../boot/dts/lte_module-v1/imx51-babbage.dts | 221 - .../arm/boot/dts/lte_module-v1/imx51.dtsi | 246 - .../arm/boot/dts/lte_module-v1/imx53-ard.dts | 113 - .../arm/boot/dts/lte_module-v1/imx53-evk.dts | 119 - .../arm/boot/dts/lte_module-v1/imx53-qsb.dts | 125 - .../arm/boot/dts/lte_module-v1/imx53-smd.dts | 168 - .../arm/boot/dts/lte_module-v1/imx53.dtsi | 301 - .../arm/boot/dts/lte_module-v1/imx6q-arm2.dts | 76 - .../dts/lte_module-v1/imx6q-sabrelite.dts | 83 - .../arm/boot/dts/lte_module-v1/imx6q.dtsi | 575 - .../dts/lte_module-v1/kirkwood-dreamplug.dts | 24 - .../arm/boot/dts/lte_module-v1/kirkwood.dtsi | 36 - .../boot/dts/lte_module-v1/mpq8092-iommu.dtsi | 40 - .../boot/dts/lte_module-v1/mpq8092-ion.dtsi | 33 - .../dts/lte_module-v1/mpq8092-regulator.dtsi | 324 - .../boot/dts/lte_module-v1/mpq8092-rumi.dts | 28 - .../boot/dts/lte_module-v1/mpq8092-rumi.dtsi | 134 - .../boot/dts/lte_module-v1/mpq8092-sim.dts | 125 - .../arm/boot/dts/lte_module-v1/mpq8092.dtsi | 240 - .../arm/boot/dts/lte_module-v1/msm-gdsc.dtsi | 63 - .../boot/dts/lte_module-v1/msm-iommu-v0.dtsi | 333 - .../boot/dts/lte_module-v1/msm-iommu-v1.dtsi | 514 - .../msm-pm8019-rpm-regulator.dtsi | 301 - .../boot/dts/lte_module-v1/msm-pm8019.dtsi | 415 - .../msm-pm8110-rpm-regulator.dtsi | 381 - .../boot/dts/lte_module-v1/msm-pm8110.dtsi | 608 - .../msm-pm8226-rpm-regulator.dtsi | 492 - .../boot/dts/lte_module-v1/msm-pm8226.dtsi | 833 - .../boot/dts/lte_module-v1/msm-pm8841.dtsi | 242 - .../boot/dts/lte_module-v1/msm-pm8941.dtsi | 1384 - .../msm-pm8x41-rpm-regulator.dtsi | 585 - .../boot/dts/lte_module-v1/msm-pma8084.dtsi | 666 - .../boot/dts/lte_module-v1/msm8226-bus.dtsi | 1128 - .../msm8226-camera-sensor-cdp.dtsi | 108 - .../msm8226-camera-sensor-mtp.dtsi | 108 - .../msm8226-camera-sensor-qrd.dtsi | 108 - .../dts/lte_module-v1/msm8226-camera.dtsi | 139 - .../boot/dts/lte_module-v1/msm8226-cdp.dtsi | 393 - .../dts/lte_module-v1/msm8226-coresight.dtsi | 377 - .../boot/dts/lte_module-v1/msm8226-fluid.dts | 33 - .../boot/dts/lte_module-v1/msm8226-gpu.dtsi | 161 - .../lte_module-v1/msm8226-iommu-domains.dtsi | 31 - .../boot/dts/lte_module-v1/msm8226-iommu.dtsi | 237 - .../boot/dts/lte_module-v1/msm8226-ion.dtsi | 66 - .../boot/dts/lte_module-v1/msm8226-mdss.dtsi | 80 - .../boot/dts/lte_module-v1/msm8226-mtp.dtsi | 445 - .../boot/dts/lte_module-v1/msm8226-pm.dtsi | 389 - .../boot/dts/lte_module-v1/msm8226-qrd.dtsi | 406 - .../dts/lte_module-v1/msm8226-regulator.dtsi | 460 - .../boot/dts/lte_module-v1/msm8226-sim.dts | 135 - .../boot/dts/lte_module-v1/msm8226-smp2p.dtsi | 225 - .../boot/dts/lte_module-v1/msm8226-v1-cdp.dts | 25 - .../boot/dts/lte_module-v1/msm8226-v1-mtp.dts | 25 - .../boot/dts/lte_module-v1/msm8226-v1-qrd.dts | 25 - .../boot/dts/lte_module-v1/msm8226-v1.dtsi | 19 - .../boot/dts/lte_module-v1/msm8226-v2-cdp.dts | 25 - .../boot/dts/lte_module-v1/msm8226-v2-mtp.dts | 25 - .../boot/dts/lte_module-v1/msm8226-v2-qrd.dts | 25 - .../boot/dts/lte_module-v1/msm8226-v2.dtsi | 19 - .../arm/boot/dts/lte_module-v1/msm8226.dtsi | 1248 - .../boot/dts/lte_module-v1/msm8610-bus.dtsi | 1014 - .../msm8610-camera-sensor-cdp-mtp.dtsi | 116 - .../dts/lte_module-v1/msm8610-camera.dtsi | 80 - .../boot/dts/lte_module-v1/msm8610-cdp.dts | 396 - .../dts/lte_module-v1/msm8610-coresight.dtsi | 357 - .../boot/dts/lte_module-v1/msm8610-gpu.dtsi | 167 - .../lte_module-v1/msm8610-iommu-domains.dtsi | 36 - .../boot/dts/lte_module-v1/msm8610-ion.dtsi | 38 - .../boot/dts/lte_module-v1/msm8610-mdss.dtsi | 37 - .../boot/dts/lte_module-v1/msm8610-mtp.dts | 354 - .../boot/dts/lte_module-v1/msm8610-pm.dtsi | 391 - .../boot/dts/lte_module-v1/msm8610-qrd.dts | 267 - .../dts/lte_module-v1/msm8610-regulator.dtsi | 358 - .../boot/dts/lte_module-v1/msm8610-rumi.dts | 31 - .../boot/dts/lte_module-v1/msm8610-sim.dts | 72 - .../boot/dts/lte_module-v1/msm8610-smp2p.dtsi | 225 - .../arm/boot/dts/lte_module-v1/msm8610.dtsi | 1075 - .../boot/dts/lte_module-v1/msm8660-surf.dts | 24 - .../boot/dts/lte_module-v1/msm8926-cdp.dts | 22 - .../boot/dts/lte_module-v1/msm8926-mtp.dts | 22 - .../boot/dts/lte_module-v1/msm8926-qrd.dts | 21 - .../arm/boot/dts/lte_module-v1/msm8926.dtsi | 30 - .../boot/dts/lte_module-v1/msm8974-bus.dtsi | 1411 - .../msm8974-camera-sensor-cdp.dtsi | 189 - .../msm8974-camera-sensor-dragonboard.dtsi | 174 - .../msm8974-camera-sensor-fluid.dtsi | 190 - .../msm8974-camera-sensor-liquid.dtsi | 190 - .../msm8974-camera-sensor-mtp.dtsi | 191 - .../dts/lte_module-v1/msm8974-camera.dtsi | 215 - .../boot/dts/lte_module-v1/msm8974-cdp.dtsi | 729 - .../boot/dts/lte_module-v1/msm8974-clock.dtsi | 27 - .../dts/lte_module-v1/msm8974-coresight.dtsi | 381 - .../boot/dts/lte_module-v1/msm8974-fluid.dtsi | 667 - .../boot/dts/lte_module-v1/msm8974-gpu.dtsi | 185 - .../boot/dts/lte_module-v1/msm8974-ion.dtsi | 59 - .../boot/dts/lte_module-v1/msm8974-leds.dtsi | 129 - .../dts/lte_module-v1/msm8974-liquid.dtsi | 893 - .../boot/dts/lte_module-v1/msm8974-mdss.dtsi | 148 - .../boot/dts/lte_module-v1/msm8974-mtp.dtsi | 705 - .../dts/lte_module-v1/msm8974-regulator.dtsi | 568 - .../boot/dts/lte_module-v1/msm8974-rumi.dtsi | 146 - .../boot/dts/lte_module-v1/msm8974-sim.dtsi | 93 - .../boot/dts/lte_module-v1/msm8974-smp2p.dtsi | 225 - .../boot/dts/lte_module-v1/msm8974-v1-cdp.dts | 33 - .../dts/lte_module-v1/msm8974-v1-fluid.dts | 33 - .../msm8974-v1-iommu-domains.dtsi | 31 - .../dts/lte_module-v1/msm8974-v1-iommu.dtsi | 40 - .../dts/lte_module-v1/msm8974-v1-liquid.dts | 24 - .../boot/dts/lte_module-v1/msm8974-v1-mtp.dts | 28 - .../boot/dts/lte_module-v1/msm8974-v1-pm.dtsi | 456 - .../dts/lte_module-v1/msm8974-v1-rumi.dts | 24 - .../boot/dts/lte_module-v1/msm8974-v1-sim.dts | 24 - .../boot/dts/lte_module-v1/msm8974-v1.dtsi | 134 - .../boot/dts/lte_module-v1/msm8974-v2-cdp.dts | 36 - .../dts/lte_module-v1/msm8974-v2-fluid.dts | 36 - .../msm8974-v2-iommu-domains.dtsi | 45 - .../dts/lte_module-v1/msm8974-v2-iommu.dtsi | 256 - .../dts/lte_module-v1/msm8974-v2-liquid.dts | 36 - .../boot/dts/lte_module-v1/msm8974-v2-mtp.dts | 40 - .../boot/dts/lte_module-v1/msm8974-v2-pm.dtsi | 452 - .../boot/dts/lte_module-v1/msm8974-v2.dtsi | 138 - .../arm/boot/dts/lte_module-v1/msm8974.dtsi | 1745 -- .../boot/dts/lte_module-v1/msm9625-cdp.dtsi | 100 - .../dts/lte_module-v1/msm9625-coresight.dtsi | 259 - .../dts/lte_module-v1/msm9625-display.dtsi | 20 - .../boot/dts/lte_module-v1/msm9625-ion.dtsi | 35 - .../boot/dts/lte_module-v1/msm9625-mtp.dtsi | 142 - .../boot/dts/lte_module-v1/msm9625-pm.dtsi | 299 - .../dts/lte_module-v1/msm9625-regulator.dtsi | 284 - .../boot/dts/lte_module-v1/msm9625-smp2p.dtsi | 142 - .../boot/dts/lte_module-v1/msm9625-v1-cdp.dts | 24 - .../boot/dts/lte_module-v1/msm9625-v1-mtp.dts | 24 - .../dts/lte_module-v1/msm9625-v1-rumi.dts | 26 - .../boot/dts/lte_module-v1/msm9625-v1.dtsi | 67 - .../boot/dts/lte_module-v1/msm9625-v2-cdp.dts | 24 - .../boot/dts/lte_module-v1/msm9625-v2-mtp.dts | 122 - .../dts/lte_module-v1/msm9625-v2.1-cdp.dts | 24 - .../dts/lte_module-v1/msm9625-v2.1-mtp.dts | 24 - .../boot/dts/lte_module-v1/msm9625-v2.1.dtsi | 40 - .../boot/dts/lte_module-v1/msm9625-v2.dtsi | 54 - .../arm/boot/dts/lte_module-v1/msm9625.dtsi | 856 - .../boot/dts/lte_module-v1/msmkrypton-sim.dts | 25 - .../boot/dts/lte_module-v1/msmkrypton.dtsi | 120 - .../dts/lte_module-v1/msmsamarium-ion.dtsi | 31 - .../dts/lte_module-v1/msmsamarium-rumi.dts | 25 - .../dts/lte_module-v1/msmsamarium-sim.dts | 55 - .../boot/dts/lte_module-v1/msmsamarium.dtsi | 90 - .../arm/boot/dts/lte_module-v1/omap2.dtsi | 67 - .../boot/dts/lte_module-v1/omap3-beagle.dts | 20 - .../arm/boot/dts/lte_module-v1/omap3-evm.dts | 20 - .../arm/boot/dts/lte_module-v1/omap3.dtsi | 117 - .../boot/dts/lte_module-v1/omap4-panda.dts | 20 - .../arm/boot/dts/lte_module-v1/omap4-sdp.dts | 20 - .../arm/boot/dts/lte_module-v1/omap4.dtsi | 159 - .../dts/lte_module-v1/picoxcell-pc3x2.dtsi | 249 - .../dts/lte_module-v1/picoxcell-pc3x3.dtsi | 365 - .../lte_module-v1/picoxcell-pc7302-pc3x2.dts | 86 - .../lte_module-v1/picoxcell-pc7302-pc3x3.dts | 92 - .../arm/boot/dts/lte_module-v1/prima2-cb.dts | 424 - .../dts/lte_module-v1/pxa168-aspenite.dts | 38 - .../arm/boot/dts/lte_module-v1/pxa168.dtsi | 98 - .../lte_module-v1/qpic-panel-ili-qvga.dtsi | 27 - .../arm/boot/dts/lte_module-v1/skeleton.dtsi | 18 - .../boot/dts/lte_module-v1/skeleton64.dtsi | 18 - .../arm/boot/dts/lte_module-v1/snowball.dts | 139 - .../boot/dts/lte_module-v1/spear600-evb.dts | 47 - .../arm/boot/dts/lte_module-v1/spear600.dtsi | 174 - .../boot/dts/lte_module-v1/tegra-cardhu.dts | 70 - .../boot/dts/lte_module-v1/tegra-harmony.dts | 115 - .../boot/dts/lte_module-v1/tegra-paz00.dts | 134 - .../boot/dts/lte_module-v1/tegra-seaboard.dts | 175 - .../dts/lte_module-v1/tegra-trimslice.dts | 77 - .../boot/dts/lte_module-v1/tegra-ventana.dts | 108 - .../arm/boot/dts/lte_module-v1/tegra20.dtsi | 210 - .../arm/boot/dts/lte_module-v1/tegra30.dtsi | 186 - .../testcases/tests-phandle.dtsi | 39 - .../dts/lte_module-v1/testcases/tests.dtsi | 1 - .../dts/lte_module-v1/usb_a9g20-dab-mmx.dtsi | 96 - .../arm/boot/dts/lte_module-v1/usb_a9g20.dts | 130 - .../boot/dts/lte_module-v1/versatile-ab.dts | 192 - .../boot/dts/lte_module-v1/versatile-pb.dts | 50 - .../dts/lte_module-v1/vexpress-v2m-rs1.dtsi | 201 - .../boot/dts/lte_module-v1/vexpress-v2m.dtsi | 200 - .../lte_module-v1/vexpress-v2p-ca15-tc1.dts | 157 - .../dts/lte_module-v1/vexpress-v2p-ca5s.dts | 162 - .../dts/lte_module-v1/vexpress-v2p-ca9.dts | 192 - .../arm/boot/dts/lte_module-v1/zynq-ep107.dts | 52 - .../dts/m7300-un-v1/am3517_mt_ventoux.dts | 27 - .../arm/boot/dts/m7300-un-v1/apq8026-mtp.dts | 22 - .../arm/boot/dts/m7300-un-v1/apq8026-xpm.dts | 22 - .../arm/boot/dts/m7300-un-v1/apq8026.dtsi | 24 - .../dts/m7300-un-v1/apq8074-dragonboard.dtsi | 654 - .../arm/boot/dts/m7300-un-v1/apq8074-v1.dtsi | 48 - .../m7300-un-v1/apq8074-v2-dragonboard.dts | 22 - .../dts/m7300-un-v1/apq8074-v2-liquid.dts | 34 - .../arm/boot/dts/m7300-un-v1/apq8074-v2.dtsi | 52 - .../arm/boot/dts/m7300-un-v1/apq8084-ion.dtsi | 31 - .../dts/m7300-un-v1/apq8084-regulator.dtsi | 377 - .../arm/boot/dts/m7300-un-v1/apq8084-sim.dts | 173 - .../boot/dts/m7300-un-v1/apq8084-smp2p.dtsi | 82 - .../arm/boot/dts/m7300-un-v1/apq8084.dtsi | 276 - .../arm/boot/dts/m7300-un-v1/at91sam9g20.dtsi | 238 - .../boot/dts/m7300-un-v1/at91sam9g25ek.dts | 49 - .../arm/boot/dts/m7300-un-v1/at91sam9g45.dtsi | 247 - .../boot/dts/m7300-un-v1/at91sam9m10g45ek.dts | 156 - .../arm/boot/dts/m7300-un-v1/at91sam9x5.dtsi | 263 - .../boot/dts/m7300-un-v1/at91sam9x5cm.dtsi | 74 - .../arch/arm/boot/dts/m7300-un-v1/db8500.dtsi | 274 - .../dsi-panel-nt35590-720p-cmd.dtsi | 530 - .../dsi-panel-nt35590-720p-video.dtsi | 524 - .../dsi-panel-orise-720p-video.dtsi | 60 - .../dsi-panel-sharp-qhd-video.dtsi | 67 - .../dts/m7300-un-v1/dsi-panel-sim-video.dtsi | 46 - .../dsi-panel-toshiba-720p-video.dtsi | 124 - .../dsi-v2-panel-hx8379a-wvga-video.dtsi | 117 - .../dsi-v2-panel-truly-wvga-video.dtsi | 120 - .../dts/m7300-un-v1/exynos4210-origen.dts | 137 - .../dts/m7300-un-v1/exynos4210-smdkv310.dts | 182 - .../arm/boot/dts/m7300-un-v1/exynos4210.dtsi | 398 - .../dts/m7300-un-v1/exynos5250-smdk5250.dts | 26 - .../arm/boot/dts/m7300-un-v1/exynos5250.dtsi | 413 - .../arm/boot/dts/m7300-un-v1/fsm9900-rumi.dts | 31 - .../arm/boot/dts/m7300-un-v1/fsm9900-sim.dts | 32 - .../arm/boot/dts/m7300-un-v1/fsm9900.dtsi | 94 - .../arm/boot/dts/m7300-un-v1/highbank.dts | 209 - .../dts/m7300-un-v1/imx27-phytec-phycore.dts | 76 - .../arch/arm/boot/dts/m7300-un-v1/imx27.dtsi | 217 - .../boot/dts/m7300-un-v1/imx51-babbage.dts | 221 - .../arch/arm/boot/dts/m7300-un-v1/imx51.dtsi | 246 - .../arm/boot/dts/m7300-un-v1/imx53-ard.dts | 113 - .../arm/boot/dts/m7300-un-v1/imx53-evk.dts | 119 - .../arm/boot/dts/m7300-un-v1/imx53-qsb.dts | 125 - .../arm/boot/dts/m7300-un-v1/imx53-smd.dts | 168 - .../arch/arm/boot/dts/m7300-un-v1/imx53.dtsi | 301 - .../arm/boot/dts/m7300-un-v1/imx6q-arm2.dts | 76 - .../boot/dts/m7300-un-v1/imx6q-sabrelite.dts | 83 - .../arch/arm/boot/dts/m7300-un-v1/imx6q.dtsi | 575 - .../dts/m7300-un-v1/kirkwood-dreamplug.dts | 24 - .../arm/boot/dts/m7300-un-v1/kirkwood.dtsi | 36 - .../boot/dts/m7300-un-v1/mpq8092-iommu.dtsi | 40 - .../arm/boot/dts/m7300-un-v1/mpq8092-ion.dtsi | 33 - .../dts/m7300-un-v1/mpq8092-regulator.dtsi | 324 - .../arm/boot/dts/m7300-un-v1/mpq8092-rumi.dts | 28 - .../boot/dts/m7300-un-v1/mpq8092-rumi.dtsi | 134 - .../arm/boot/dts/m7300-un-v1/mpq8092-sim.dts | 125 - .../arm/boot/dts/m7300-un-v1/mpq8092.dtsi | 240 - .../arm/boot/dts/m7300-un-v1/msm-gdsc.dtsi | 63 - .../boot/dts/m7300-un-v1/msm-iommu-v0.dtsi | 333 - .../boot/dts/m7300-un-v1/msm-iommu-v1.dtsi | 514 - .../m7300-un-v1/msm-pm8019-rpm-regulator.dtsi | 301 - .../arm/boot/dts/m7300-un-v1/msm-pm8019.dtsi | 415 - .../m7300-un-v1/msm-pm8110-rpm-regulator.dtsi | 381 - .../arm/boot/dts/m7300-un-v1/msm-pm8110.dtsi | 608 - .../m7300-un-v1/msm-pm8226-rpm-regulator.dtsi | 492 - .../arm/boot/dts/m7300-un-v1/msm-pm8226.dtsi | 833 - .../arm/boot/dts/m7300-un-v1/msm-pm8841.dtsi | 242 - .../arm/boot/dts/m7300-un-v1/msm-pm8941.dtsi | 1384 - .../m7300-un-v1/msm-pm8x41-rpm-regulator.dtsi | 585 - .../arm/boot/dts/m7300-un-v1/msm-pma8084.dtsi | 666 - .../arm/boot/dts/m7300-un-v1/msm8226-bus.dtsi | 1128 - .../msm8226-camera-sensor-cdp.dtsi | 108 - .../msm8226-camera-sensor-mtp.dtsi | 108 - .../msm8226-camera-sensor-qrd.dtsi | 108 - .../boot/dts/m7300-un-v1/msm8226-camera.dtsi | 139 - .../arm/boot/dts/m7300-un-v1/msm8226-cdp.dtsi | 393 - .../dts/m7300-un-v1/msm8226-coresight.dtsi | 377 - .../boot/dts/m7300-un-v1/msm8226-fluid.dts | 33 - .../arm/boot/dts/m7300-un-v1/msm8226-gpu.dtsi | 161 - .../m7300-un-v1/msm8226-iommu-domains.dtsi | 31 - .../boot/dts/m7300-un-v1/msm8226-iommu.dtsi | 237 - .../arm/boot/dts/m7300-un-v1/msm8226-ion.dtsi | 66 - .../boot/dts/m7300-un-v1/msm8226-mdss.dtsi | 80 - .../arm/boot/dts/m7300-un-v1/msm8226-mtp.dtsi | 445 - .../arm/boot/dts/m7300-un-v1/msm8226-pm.dtsi | 389 - .../arm/boot/dts/m7300-un-v1/msm8226-qrd.dtsi | 406 - .../dts/m7300-un-v1/msm8226-regulator.dtsi | 460 - .../arm/boot/dts/m7300-un-v1/msm8226-sim.dts | 135 - .../boot/dts/m7300-un-v1/msm8226-smp2p.dtsi | 225 - .../boot/dts/m7300-un-v1/msm8226-v1-cdp.dts | 25 - .../boot/dts/m7300-un-v1/msm8226-v1-mtp.dts | 25 - .../boot/dts/m7300-un-v1/msm8226-v1-qrd.dts | 25 - .../arm/boot/dts/m7300-un-v1/msm8226-v1.dtsi | 19 - .../boot/dts/m7300-un-v1/msm8226-v2-cdp.dts | 25 - .../boot/dts/m7300-un-v1/msm8226-v2-mtp.dts | 25 - .../boot/dts/m7300-un-v1/msm8226-v2-qrd.dts | 25 - .../arm/boot/dts/m7300-un-v1/msm8226-v2.dtsi | 19 - .../arm/boot/dts/m7300-un-v1/msm8226.dtsi | 1248 - .../arm/boot/dts/m7300-un-v1/msm8610-bus.dtsi | 1014 - .../msm8610-camera-sensor-cdp-mtp.dtsi | 116 - .../boot/dts/m7300-un-v1/msm8610-camera.dtsi | 80 - .../arm/boot/dts/m7300-un-v1/msm8610-cdp.dts | 396 - .../dts/m7300-un-v1/msm8610-coresight.dtsi | 357 - .../arm/boot/dts/m7300-un-v1/msm8610-gpu.dtsi | 167 - .../m7300-un-v1/msm8610-iommu-domains.dtsi | 36 - .../arm/boot/dts/m7300-un-v1/msm8610-ion.dtsi | 38 - .../boot/dts/m7300-un-v1/msm8610-mdss.dtsi | 37 - .../arm/boot/dts/m7300-un-v1/msm8610-mtp.dts | 354 - .../arm/boot/dts/m7300-un-v1/msm8610-pm.dtsi | 391 - .../arm/boot/dts/m7300-un-v1/msm8610-qrd.dts | 267 - .../dts/m7300-un-v1/msm8610-regulator.dtsi | 358 - .../arm/boot/dts/m7300-un-v1/msm8610-rumi.dts | 31 - .../arm/boot/dts/m7300-un-v1/msm8610-sim.dts | 72 - .../boot/dts/m7300-un-v1/msm8610-smp2p.dtsi | 225 - .../arm/boot/dts/m7300-un-v1/msm8610.dtsi | 1075 - .../arm/boot/dts/m7300-un-v1/msm8660-surf.dts | 24 - .../arm/boot/dts/m7300-un-v1/msm8926-cdp.dts | 22 - .../arm/boot/dts/m7300-un-v1/msm8926-mtp.dts | 22 - .../arm/boot/dts/m7300-un-v1/msm8926-qrd.dts | 21 - .../arm/boot/dts/m7300-un-v1/msm8926.dtsi | 30 - .../arm/boot/dts/m7300-un-v1/msm8974-bus.dtsi | 1411 - .../msm8974-camera-sensor-cdp.dtsi | 189 - .../msm8974-camera-sensor-dragonboard.dtsi | 174 - .../msm8974-camera-sensor-fluid.dtsi | 190 - .../msm8974-camera-sensor-liquid.dtsi | 190 - .../msm8974-camera-sensor-mtp.dtsi | 191 - .../boot/dts/m7300-un-v1/msm8974-camera.dtsi | 215 - .../arm/boot/dts/m7300-un-v1/msm8974-cdp.dtsi | 729 - .../boot/dts/m7300-un-v1/msm8974-clock.dtsi | 27 - .../dts/m7300-un-v1/msm8974-coresight.dtsi | 381 - .../boot/dts/m7300-un-v1/msm8974-fluid.dtsi | 667 - .../arm/boot/dts/m7300-un-v1/msm8974-gpu.dtsi | 185 - .../arm/boot/dts/m7300-un-v1/msm8974-ion.dtsi | 59 - .../boot/dts/m7300-un-v1/msm8974-leds.dtsi | 129 - .../boot/dts/m7300-un-v1/msm8974-liquid.dtsi | 893 - .../boot/dts/m7300-un-v1/msm8974-mdss.dtsi | 148 - .../arm/boot/dts/m7300-un-v1/msm8974-mtp.dtsi | 705 - .../dts/m7300-un-v1/msm8974-regulator.dtsi | 568 - .../boot/dts/m7300-un-v1/msm8974-rumi.dtsi | 146 - .../arm/boot/dts/m7300-un-v1/msm8974-sim.dtsi | 93 - .../boot/dts/m7300-un-v1/msm8974-smp2p.dtsi | 225 - .../boot/dts/m7300-un-v1/msm8974-v1-cdp.dts | 33 - .../boot/dts/m7300-un-v1/msm8974-v1-fluid.dts | 33 - .../m7300-un-v1/msm8974-v1-iommu-domains.dtsi | 31 - .../dts/m7300-un-v1/msm8974-v1-iommu.dtsi | 40 - .../dts/m7300-un-v1/msm8974-v1-liquid.dts | 24 - .../boot/dts/m7300-un-v1/msm8974-v1-mtp.dts | 28 - .../boot/dts/m7300-un-v1/msm8974-v1-pm.dtsi | 456 - .../boot/dts/m7300-un-v1/msm8974-v1-rumi.dts | 24 - .../boot/dts/m7300-un-v1/msm8974-v1-sim.dts | 24 - .../arm/boot/dts/m7300-un-v1/msm8974-v1.dtsi | 134 - .../boot/dts/m7300-un-v1/msm8974-v2-cdp.dts | 36 - .../boot/dts/m7300-un-v1/msm8974-v2-fluid.dts | 36 - .../m7300-un-v1/msm8974-v2-iommu-domains.dtsi | 45 - .../dts/m7300-un-v1/msm8974-v2-iommu.dtsi | 256 - .../dts/m7300-un-v1/msm8974-v2-liquid.dts | 36 - .../boot/dts/m7300-un-v1/msm8974-v2-mtp.dts | 40 - .../boot/dts/m7300-un-v1/msm8974-v2-pm.dtsi | 452 - .../arm/boot/dts/m7300-un-v1/msm8974-v2.dtsi | 138 - .../arm/boot/dts/m7300-un-v1/msm8974.dtsi | 1745 -- .../arm/boot/dts/m7300-un-v1/msm9625-cdp.dtsi | 100 - .../dts/m7300-un-v1/msm9625-coresight.dtsi | 259 - .../boot/dts/m7300-un-v1/msm9625-display.dtsi | 20 - .../arm/boot/dts/m7300-un-v1/msm9625-ion.dtsi | 35 - .../arm/boot/dts/m7300-un-v1/msm9625-mtp.dtsi | 111 - .../arm/boot/dts/m7300-un-v1/msm9625-pm.dtsi | 299 - .../dts/m7300-un-v1/msm9625-regulator.dtsi | 284 - .../boot/dts/m7300-un-v1/msm9625-smp2p.dtsi | 142 - .../boot/dts/m7300-un-v1/msm9625-v1-cdp.dts | 24 - .../boot/dts/m7300-un-v1/msm9625-v1-mtp.dts | 24 - .../boot/dts/m7300-un-v1/msm9625-v1-rumi.dts | 26 - .../arm/boot/dts/m7300-un-v1/msm9625-v1.dtsi | 67 - .../boot/dts/m7300-un-v1/msm9625-v2-cdp.dts | 24 - .../boot/dts/m7300-un-v1/msm9625-v2-mtp.dts | 122 - .../boot/dts/m7300-un-v1/msm9625-v2.1-cdp.dts | 24 - .../boot/dts/m7300-un-v1/msm9625-v2.1-mtp.dts | 24 - .../boot/dts/m7300-un-v1/msm9625-v2.1.dtsi | 40 - .../arm/boot/dts/m7300-un-v1/msm9625-v2.dtsi | 54 - .../arm/boot/dts/m7300-un-v1/msm9625.dtsi | 875 - .../boot/dts/m7300-un-v1/msmkrypton-sim.dts | 25 - .../arm/boot/dts/m7300-un-v1/msmkrypton.dtsi | 120 - .../boot/dts/m7300-un-v1/msmsamarium-ion.dtsi | 31 - .../boot/dts/m7300-un-v1/msmsamarium-rumi.dts | 25 - .../boot/dts/m7300-un-v1/msmsamarium-sim.dts | 55 - .../arm/boot/dts/m7300-un-v1/msmsamarium.dtsi | 90 - .../arch/arm/boot/dts/m7300-un-v1/omap2.dtsi | 67 - .../arm/boot/dts/m7300-un-v1/omap3-beagle.dts | 20 - .../arm/boot/dts/m7300-un-v1/omap3-evm.dts | 20 - .../arch/arm/boot/dts/m7300-un-v1/omap3.dtsi | 117 - .../arm/boot/dts/m7300-un-v1/omap4-panda.dts | 20 - .../arm/boot/dts/m7300-un-v1/omap4-sdp.dts | 20 - .../arch/arm/boot/dts/m7300-un-v1/omap4.dtsi | 159 - .../boot/dts/m7300-un-v1/picoxcell-pc3x2.dtsi | 249 - .../boot/dts/m7300-un-v1/picoxcell-pc3x3.dtsi | 365 - .../m7300-un-v1/picoxcell-pc7302-pc3x2.dts | 86 - .../m7300-un-v1/picoxcell-pc7302-pc3x3.dts | 92 - .../arm/boot/dts/m7300-un-v1/prima2-cb.dts | 424 - .../boot/dts/m7300-un-v1/pxa168-aspenite.dts | 38 - .../arch/arm/boot/dts/m7300-un-v1/pxa168.dtsi | 98 - .../dts/m7300-un-v1/qpic-panel-ili-qvga.dtsi | 27 - .../arm/boot/dts/m7300-un-v1/skeleton.dtsi | 18 - .../arm/boot/dts/m7300-un-v1/skeleton64.dtsi | 18 - .../arm/boot/dts/m7300-un-v1/snowball.dts | 139 - .../arm/boot/dts/m7300-un-v1/spear600-evb.dts | 47 - .../arm/boot/dts/m7300-un-v1/spear600.dtsi | 174 - .../arm/boot/dts/m7300-un-v1/tegra-cardhu.dts | 70 - .../boot/dts/m7300-un-v1/tegra-harmony.dts | 115 - .../arm/boot/dts/m7300-un-v1/tegra-paz00.dts | 134 - .../boot/dts/m7300-un-v1/tegra-seaboard.dts | 175 - .../boot/dts/m7300-un-v1/tegra-trimslice.dts | 77 - .../boot/dts/m7300-un-v1/tegra-ventana.dts | 108 - .../arm/boot/dts/m7300-un-v1/tegra20.dtsi | 210 - .../arm/boot/dts/m7300-un-v1/tegra30.dtsi | 186 - .../m7300-un-v1/testcases/tests-phandle.dtsi | 39 - .../boot/dts/m7300-un-v1/testcases/tests.dtsi | 1 - .../dts/m7300-un-v1/usb_a9g20-dab-mmx.dtsi | 96 - .../arm/boot/dts/m7300-un-v1/usb_a9g20.dts | 130 - .../arm/boot/dts/m7300-un-v1/versatile-ab.dts | 192 - .../arm/boot/dts/m7300-un-v1/versatile-pb.dts | 50 - .../dts/m7300-un-v1/vexpress-v2m-rs1.dtsi | 201 - .../boot/dts/m7300-un-v1/vexpress-v2m.dtsi | 200 - .../dts/m7300-un-v1/vexpress-v2p-ca15-tc1.dts | 157 - .../dts/m7300-un-v1/vexpress-v2p-ca5s.dts | 162 - .../boot/dts/m7300-un-v1/vexpress-v2p-ca9.dts | 192 - .../arm/boot/dts/m7300-un-v1/zynq-ep107.dts | 52 - .../dts/m7350-un-v1/am3517_mt_ventoux.dts | 27 - .../arm/boot/dts/m7350-un-v1/apq8026-mtp.dts | 22 - .../arm/boot/dts/m7350-un-v1/apq8026-xpm.dts | 22 - .../arm/boot/dts/m7350-un-v1/apq8026.dtsi | 24 - .../dts/m7350-un-v1/apq8074-dragonboard.dtsi | 654 - .../arm/boot/dts/m7350-un-v1/apq8074-v1.dtsi | 48 - .../m7350-un-v1/apq8074-v2-dragonboard.dts | 22 - .../dts/m7350-un-v1/apq8074-v2-liquid.dts | 34 - .../arm/boot/dts/m7350-un-v1/apq8074-v2.dtsi | 52 - .../arm/boot/dts/m7350-un-v1/apq8084-ion.dtsi | 31 - .../dts/m7350-un-v1/apq8084-regulator.dtsi | 377 - .../arm/boot/dts/m7350-un-v1/apq8084-sim.dts | 173 - .../boot/dts/m7350-un-v1/apq8084-smp2p.dtsi | 82 - .../arm/boot/dts/m7350-un-v1/apq8084.dtsi | 276 - .../arm/boot/dts/m7350-un-v1/at91sam9g20.dtsi | 238 - .../boot/dts/m7350-un-v1/at91sam9g25ek.dts | 49 - .../arm/boot/dts/m7350-un-v1/at91sam9g45.dtsi | 247 - .../boot/dts/m7350-un-v1/at91sam9m10g45ek.dts | 156 - .../arm/boot/dts/m7350-un-v1/at91sam9x5.dtsi | 263 - .../boot/dts/m7350-un-v1/at91sam9x5cm.dtsi | 74 - .../arch/arm/boot/dts/m7350-un-v1/db8500.dtsi | 274 - .../dsi-panel-nt35590-720p-cmd.dtsi | 530 - .../dsi-panel-nt35590-720p-video.dtsi | 524 - .../dsi-panel-orise-720p-video.dtsi | 60 - .../dsi-panel-sharp-qhd-video.dtsi | 67 - .../dts/m7350-un-v1/dsi-panel-sim-video.dtsi | 46 - .../dsi-panel-toshiba-720p-video.dtsi | 124 - .../dsi-v2-panel-hx8379a-wvga-video.dtsi | 117 - .../dsi-v2-panel-truly-wvga-video.dtsi | 120 - .../dts/m7350-un-v1/exynos4210-origen.dts | 137 - .../dts/m7350-un-v1/exynos4210-smdkv310.dts | 182 - .../arm/boot/dts/m7350-un-v1/exynos4210.dtsi | 398 - .../dts/m7350-un-v1/exynos5250-smdk5250.dts | 26 - .../arm/boot/dts/m7350-un-v1/exynos5250.dtsi | 413 - .../arm/boot/dts/m7350-un-v1/fsm9900-rumi.dts | 31 - .../arm/boot/dts/m7350-un-v1/fsm9900-sim.dts | 32 - .../arm/boot/dts/m7350-un-v1/fsm9900.dtsi | 94 - .../arm/boot/dts/m7350-un-v1/highbank.dts | 209 - .../dts/m7350-un-v1/imx27-phytec-phycore.dts | 76 - .../arch/arm/boot/dts/m7350-un-v1/imx27.dtsi | 217 - .../boot/dts/m7350-un-v1/imx51-babbage.dts | 221 - .../arch/arm/boot/dts/m7350-un-v1/imx51.dtsi | 246 - .../arm/boot/dts/m7350-un-v1/imx53-ard.dts | 113 - .../arm/boot/dts/m7350-un-v1/imx53-evk.dts | 119 - .../arm/boot/dts/m7350-un-v1/imx53-qsb.dts | 125 - .../arm/boot/dts/m7350-un-v1/imx53-smd.dts | 168 - .../arch/arm/boot/dts/m7350-un-v1/imx53.dtsi | 301 - .../arm/boot/dts/m7350-un-v1/imx6q-arm2.dts | 76 - .../boot/dts/m7350-un-v1/imx6q-sabrelite.dts | 83 - .../arch/arm/boot/dts/m7350-un-v1/imx6q.dtsi | 575 - .../dts/m7350-un-v1/kirkwood-dreamplug.dts | 24 - .../arm/boot/dts/m7350-un-v1/kirkwood.dtsi | 36 - .../boot/dts/m7350-un-v1/mpq8092-iommu.dtsi | 40 - .../arm/boot/dts/m7350-un-v1/mpq8092-ion.dtsi | 33 - .../dts/m7350-un-v1/mpq8092-regulator.dtsi | 324 - .../arm/boot/dts/m7350-un-v1/mpq8092-rumi.dts | 28 - .../boot/dts/m7350-un-v1/mpq8092-rumi.dtsi | 134 - .../arm/boot/dts/m7350-un-v1/mpq8092-sim.dts | 125 - .../arm/boot/dts/m7350-un-v1/mpq8092.dtsi | 240 - .../arm/boot/dts/m7350-un-v1/msm-gdsc.dtsi | 63 - .../boot/dts/m7350-un-v1/msm-iommu-v0.dtsi | 333 - .../boot/dts/m7350-un-v1/msm-iommu-v1.dtsi | 514 - .../m7350-un-v1/msm-pm8019-rpm-regulator.dtsi | 301 - .../arm/boot/dts/m7350-un-v1/msm-pm8019.dtsi | 415 - .../m7350-un-v1/msm-pm8110-rpm-regulator.dtsi | 381 - .../arm/boot/dts/m7350-un-v1/msm-pm8110.dtsi | 608 - .../m7350-un-v1/msm-pm8226-rpm-regulator.dtsi | 492 - .../arm/boot/dts/m7350-un-v1/msm-pm8226.dtsi | 833 - .../arm/boot/dts/m7350-un-v1/msm-pm8841.dtsi | 242 - .../arm/boot/dts/m7350-un-v1/msm-pm8941.dtsi | 1384 - .../m7350-un-v1/msm-pm8x41-rpm-regulator.dtsi | 585 - .../arm/boot/dts/m7350-un-v1/msm-pma8084.dtsi | 666 - .../arm/boot/dts/m7350-un-v1/msm8226-bus.dtsi | 1128 - .../msm8226-camera-sensor-cdp.dtsi | 108 - .../msm8226-camera-sensor-mtp.dtsi | 108 - .../msm8226-camera-sensor-qrd.dtsi | 108 - .../boot/dts/m7350-un-v1/msm8226-camera.dtsi | 139 - .../arm/boot/dts/m7350-un-v1/msm8226-cdp.dtsi | 393 - .../dts/m7350-un-v1/msm8226-coresight.dtsi | 377 - .../boot/dts/m7350-un-v1/msm8226-fluid.dts | 33 - .../arm/boot/dts/m7350-un-v1/msm8226-gpu.dtsi | 161 - .../m7350-un-v1/msm8226-iommu-domains.dtsi | 31 - .../boot/dts/m7350-un-v1/msm8226-iommu.dtsi | 237 - .../arm/boot/dts/m7350-un-v1/msm8226-ion.dtsi | 66 - .../boot/dts/m7350-un-v1/msm8226-mdss.dtsi | 80 - .../arm/boot/dts/m7350-un-v1/msm8226-mtp.dtsi | 445 - .../arm/boot/dts/m7350-un-v1/msm8226-pm.dtsi | 389 - .../arm/boot/dts/m7350-un-v1/msm8226-qrd.dtsi | 406 - .../dts/m7350-un-v1/msm8226-regulator.dtsi | 460 - .../arm/boot/dts/m7350-un-v1/msm8226-sim.dts | 135 - .../boot/dts/m7350-un-v1/msm8226-smp2p.dtsi | 225 - .../boot/dts/m7350-un-v1/msm8226-v1-cdp.dts | 25 - .../boot/dts/m7350-un-v1/msm8226-v1-mtp.dts | 25 - .../boot/dts/m7350-un-v1/msm8226-v1-qrd.dts | 25 - .../arm/boot/dts/m7350-un-v1/msm8226-v1.dtsi | 19 - .../boot/dts/m7350-un-v1/msm8226-v2-cdp.dts | 25 - .../boot/dts/m7350-un-v1/msm8226-v2-mtp.dts | 25 - .../boot/dts/m7350-un-v1/msm8226-v2-qrd.dts | 25 - .../arm/boot/dts/m7350-un-v1/msm8226-v2.dtsi | 19 - .../arm/boot/dts/m7350-un-v1/msm8226.dtsi | 1248 - .../arm/boot/dts/m7350-un-v1/msm8610-bus.dtsi | 1014 - .../msm8610-camera-sensor-cdp-mtp.dtsi | 116 - .../boot/dts/m7350-un-v1/msm8610-camera.dtsi | 80 - .../arm/boot/dts/m7350-un-v1/msm8610-cdp.dts | 396 - .../dts/m7350-un-v1/msm8610-coresight.dtsi | 357 - .../arm/boot/dts/m7350-un-v1/msm8610-gpu.dtsi | 167 - .../m7350-un-v1/msm8610-iommu-domains.dtsi | 36 - .../arm/boot/dts/m7350-un-v1/msm8610-ion.dtsi | 38 - .../boot/dts/m7350-un-v1/msm8610-mdss.dtsi | 37 - .../arm/boot/dts/m7350-un-v1/msm8610-mtp.dts | 354 - .../arm/boot/dts/m7350-un-v1/msm8610-pm.dtsi | 391 - .../arm/boot/dts/m7350-un-v1/msm8610-qrd.dts | 267 - .../dts/m7350-un-v1/msm8610-regulator.dtsi | 358 - .../arm/boot/dts/m7350-un-v1/msm8610-rumi.dts | 31 - .../arm/boot/dts/m7350-un-v1/msm8610-sim.dts | 72 - .../boot/dts/m7350-un-v1/msm8610-smp2p.dtsi | 225 - .../arm/boot/dts/m7350-un-v1/msm8610.dtsi | 1075 - .../arm/boot/dts/m7350-un-v1/msm8660-surf.dts | 24 - .../arm/boot/dts/m7350-un-v1/msm8926-cdp.dts | 22 - .../arm/boot/dts/m7350-un-v1/msm8926-mtp.dts | 22 - .../arm/boot/dts/m7350-un-v1/msm8926-qrd.dts | 21 - .../arm/boot/dts/m7350-un-v1/msm8926.dtsi | 30 - .../arm/boot/dts/m7350-un-v1/msm8974-bus.dtsi | 1411 - .../msm8974-camera-sensor-cdp.dtsi | 189 - .../msm8974-camera-sensor-dragonboard.dtsi | 174 - .../msm8974-camera-sensor-fluid.dtsi | 190 - .../msm8974-camera-sensor-liquid.dtsi | 190 - .../msm8974-camera-sensor-mtp.dtsi | 191 - .../boot/dts/m7350-un-v1/msm8974-camera.dtsi | 215 - .../arm/boot/dts/m7350-un-v1/msm8974-cdp.dtsi | 729 - .../boot/dts/m7350-un-v1/msm8974-clock.dtsi | 27 - .../dts/m7350-un-v1/msm8974-coresight.dtsi | 381 - .../boot/dts/m7350-un-v1/msm8974-fluid.dtsi | 667 - .../arm/boot/dts/m7350-un-v1/msm8974-gpu.dtsi | 185 - .../arm/boot/dts/m7350-un-v1/msm8974-ion.dtsi | 59 - .../boot/dts/m7350-un-v1/msm8974-leds.dtsi | 129 - .../boot/dts/m7350-un-v1/msm8974-liquid.dtsi | 893 - .../boot/dts/m7350-un-v1/msm8974-mdss.dtsi | 148 - .../arm/boot/dts/m7350-un-v1/msm8974-mtp.dtsi | 705 - .../dts/m7350-un-v1/msm8974-regulator.dtsi | 568 - .../boot/dts/m7350-un-v1/msm8974-rumi.dtsi | 146 - .../arm/boot/dts/m7350-un-v1/msm8974-sim.dtsi | 93 - .../boot/dts/m7350-un-v1/msm8974-smp2p.dtsi | 225 - .../boot/dts/m7350-un-v1/msm8974-v1-cdp.dts | 33 - .../boot/dts/m7350-un-v1/msm8974-v1-fluid.dts | 33 - .../m7350-un-v1/msm8974-v1-iommu-domains.dtsi | 31 - .../dts/m7350-un-v1/msm8974-v1-iommu.dtsi | 40 - .../dts/m7350-un-v1/msm8974-v1-liquid.dts | 24 - .../boot/dts/m7350-un-v1/msm8974-v1-mtp.dts | 28 - .../boot/dts/m7350-un-v1/msm8974-v1-pm.dtsi | 456 - .../boot/dts/m7350-un-v1/msm8974-v1-rumi.dts | 24 - .../boot/dts/m7350-un-v1/msm8974-v1-sim.dts | 24 - .../arm/boot/dts/m7350-un-v1/msm8974-v1.dtsi | 134 - .../boot/dts/m7350-un-v1/msm8974-v2-cdp.dts | 36 - .../boot/dts/m7350-un-v1/msm8974-v2-fluid.dts | 36 - .../m7350-un-v1/msm8974-v2-iommu-domains.dtsi | 45 - .../dts/m7350-un-v1/msm8974-v2-iommu.dtsi | 256 - .../dts/m7350-un-v1/msm8974-v2-liquid.dts | 36 - .../boot/dts/m7350-un-v1/msm8974-v2-mtp.dts | 40 - .../boot/dts/m7350-un-v1/msm8974-v2-pm.dtsi | 452 - .../arm/boot/dts/m7350-un-v1/msm8974-v2.dtsi | 138 - .../arm/boot/dts/m7350-un-v1/msm8974.dtsi | 1745 -- .../arm/boot/dts/m7350-un-v1/msm9625-cdp.dtsi | 100 - .../dts/m7350-un-v1/msm9625-coresight.dtsi | 259 - .../boot/dts/m7350-un-v1/msm9625-display.dtsi | 20 - .../arm/boot/dts/m7350-un-v1/msm9625-ion.dtsi | 35 - .../arm/boot/dts/m7350-un-v1/msm9625-mtp.dtsi | 111 - .../arm/boot/dts/m7350-un-v1/msm9625-pm.dtsi | 299 - .../dts/m7350-un-v1/msm9625-regulator.dtsi | 284 - .../boot/dts/m7350-un-v1/msm9625-smp2p.dtsi | 142 - .../boot/dts/m7350-un-v1/msm9625-v1-cdp.dts | 24 - .../boot/dts/m7350-un-v1/msm9625-v1-mtp.dts | 24 - .../boot/dts/m7350-un-v1/msm9625-v1-rumi.dts | 26 - .../arm/boot/dts/m7350-un-v1/msm9625-v1.dtsi | 67 - .../boot/dts/m7350-un-v1/msm9625-v2-cdp.dts | 24 - .../boot/dts/m7350-un-v1/msm9625-v2-mtp.dts | 122 - .../boot/dts/m7350-un-v1/msm9625-v2.1-cdp.dts | 24 - .../boot/dts/m7350-un-v1/msm9625-v2.1-mtp.dts | 24 - .../boot/dts/m7350-un-v1/msm9625-v2.1.dtsi | 40 - .../arm/boot/dts/m7350-un-v1/msm9625-v2.dtsi | 54 - .../arm/boot/dts/m7350-un-v1/msm9625.dtsi | 895 - .../boot/dts/m7350-un-v1/msmkrypton-sim.dts | 25 - .../arm/boot/dts/m7350-un-v1/msmkrypton.dtsi | 120 - .../boot/dts/m7350-un-v1/msmsamarium-ion.dtsi | 31 - .../boot/dts/m7350-un-v1/msmsamarium-rumi.dts | 25 - .../boot/dts/m7350-un-v1/msmsamarium-sim.dts | 55 - .../arm/boot/dts/m7350-un-v1/msmsamarium.dtsi | 90 - .../arch/arm/boot/dts/m7350-un-v1/omap2.dtsi | 67 - .../arm/boot/dts/m7350-un-v1/omap3-beagle.dts | 20 - .../arm/boot/dts/m7350-un-v1/omap3-evm.dts | 20 - .../arch/arm/boot/dts/m7350-un-v1/omap3.dtsi | 117 - .../arm/boot/dts/m7350-un-v1/omap4-panda.dts | 20 - .../arm/boot/dts/m7350-un-v1/omap4-sdp.dts | 20 - .../arch/arm/boot/dts/m7350-un-v1/omap4.dtsi | 159 - .../boot/dts/m7350-un-v1/picoxcell-pc3x2.dtsi | 249 - .../boot/dts/m7350-un-v1/picoxcell-pc3x3.dtsi | 365 - .../m7350-un-v1/picoxcell-pc7302-pc3x2.dts | 86 - .../m7350-un-v1/picoxcell-pc7302-pc3x3.dts | 92 - .../arm/boot/dts/m7350-un-v1/prima2-cb.dts | 424 - .../boot/dts/m7350-un-v1/pxa168-aspenite.dts | 38 - .../arch/arm/boot/dts/m7350-un-v1/pxa168.dtsi | 98 - .../dts/m7350-un-v1/qpic-panel-ili-qvga.dtsi | 27 - .../arm/boot/dts/m7350-un-v1/skeleton.dtsi | 18 - .../arm/boot/dts/m7350-un-v1/skeleton64.dtsi | 18 - .../arm/boot/dts/m7350-un-v1/snowball.dts | 139 - .../arm/boot/dts/m7350-un-v1/spear600-evb.dts | 47 - .../arm/boot/dts/m7350-un-v1/spear600.dtsi | 174 - .../arm/boot/dts/m7350-un-v1/tegra-cardhu.dts | 70 - .../boot/dts/m7350-un-v1/tegra-harmony.dts | 115 - .../arm/boot/dts/m7350-un-v1/tegra-paz00.dts | 134 - .../boot/dts/m7350-un-v1/tegra-seaboard.dts | 175 - .../boot/dts/m7350-un-v1/tegra-trimslice.dts | 77 - .../boot/dts/m7350-un-v1/tegra-ventana.dts | 108 - .../arm/boot/dts/m7350-un-v1/tegra20.dtsi | 210 - .../arm/boot/dts/m7350-un-v1/tegra30.dtsi | 186 - .../m7350-un-v1/testcases/tests-phandle.dtsi | 39 - .../boot/dts/m7350-un-v1/testcases/tests.dtsi | 1 - .../dts/m7350-un-v1/usb_a9g20-dab-mmx.dtsi | 96 - .../arm/boot/dts/m7350-un-v1/usb_a9g20.dts | 130 - .../arm/boot/dts/m7350-un-v1/versatile-ab.dts | 192 - .../arm/boot/dts/m7350-un-v1/versatile-pb.dts | 50 - .../dts/m7350-un-v1/vexpress-v2m-rs1.dtsi | 201 - .../boot/dts/m7350-un-v1/vexpress-v2m.dtsi | 200 - .../dts/m7350-un-v1/vexpress-v2p-ca15-tc1.dts | 157 - .../dts/m7350-un-v1/vexpress-v2p-ca5s.dts | 162 - .../boot/dts/m7350-un-v1/vexpress-v2p-ca9.dts | 192 - .../arm/boot/dts/m7350-un-v1/zynq-ep107.dts | 52 - .../dts/m7350-un-v2/am3517_mt_ventoux.dts | 27 - .../arm/boot/dts/m7350-un-v2/apq8026-mtp.dts | 22 - .../arm/boot/dts/m7350-un-v2/apq8026-xpm.dts | 22 - .../arm/boot/dts/m7350-un-v2/apq8026.dtsi | 24 - .../dts/m7350-un-v2/apq8074-dragonboard.dtsi | 654 - .../arm/boot/dts/m7350-un-v2/apq8074-v1.dtsi | 48 - .../m7350-un-v2/apq8074-v2-dragonboard.dts | 22 - .../dts/m7350-un-v2/apq8074-v2-liquid.dts | 34 - .../arm/boot/dts/m7350-un-v2/apq8074-v2.dtsi | 52 - .../arm/boot/dts/m7350-un-v2/apq8084-ion.dtsi | 31 - .../dts/m7350-un-v2/apq8084-regulator.dtsi | 377 - .../arm/boot/dts/m7350-un-v2/apq8084-sim.dts | 173 - .../boot/dts/m7350-un-v2/apq8084-smp2p.dtsi | 82 - .../arm/boot/dts/m7350-un-v2/apq8084.dtsi | 276 - .../arm/boot/dts/m7350-un-v2/at91sam9g20.dtsi | 238 - .../boot/dts/m7350-un-v2/at91sam9g25ek.dts | 49 - .../arm/boot/dts/m7350-un-v2/at91sam9g45.dtsi | 247 - .../boot/dts/m7350-un-v2/at91sam9m10g45ek.dts | 156 - .../arm/boot/dts/m7350-un-v2/at91sam9x5.dtsi | 263 - .../boot/dts/m7350-un-v2/at91sam9x5cm.dtsi | 74 - .../arch/arm/boot/dts/m7350-un-v2/db8500.dtsi | 274 - .../dsi-panel-nt35590-720p-cmd.dtsi | 530 - .../dsi-panel-nt35590-720p-video.dtsi | 524 - .../dsi-panel-orise-720p-video.dtsi | 60 - .../dsi-panel-sharp-qhd-video.dtsi | 67 - .../dts/m7350-un-v2/dsi-panel-sim-video.dtsi | 46 - .../dsi-panel-toshiba-720p-video.dtsi | 124 - .../dsi-v2-panel-hx8379a-wvga-video.dtsi | 117 - .../dsi-v2-panel-truly-wvga-video.dtsi | 120 - .../dts/m7350-un-v2/exynos4210-origen.dts | 137 - .../dts/m7350-un-v2/exynos4210-smdkv310.dts | 182 - .../arm/boot/dts/m7350-un-v2/exynos4210.dtsi | 398 - .../dts/m7350-un-v2/exynos5250-smdk5250.dts | 26 - .../arm/boot/dts/m7350-un-v2/exynos5250.dtsi | 413 - .../arm/boot/dts/m7350-un-v2/fsm9900-rumi.dts | 31 - .../arm/boot/dts/m7350-un-v2/fsm9900-sim.dts | 32 - .../arm/boot/dts/m7350-un-v2/fsm9900.dtsi | 94 - .../arm/boot/dts/m7350-un-v2/highbank.dts | 209 - .../dts/m7350-un-v2/imx27-phytec-phycore.dts | 76 - .../arch/arm/boot/dts/m7350-un-v2/imx27.dtsi | 217 - .../boot/dts/m7350-un-v2/imx51-babbage.dts | 221 - .../arch/arm/boot/dts/m7350-un-v2/imx51.dtsi | 246 - .../arm/boot/dts/m7350-un-v2/imx53-ard.dts | 113 - .../arm/boot/dts/m7350-un-v2/imx53-evk.dts | 119 - .../arm/boot/dts/m7350-un-v2/imx53-qsb.dts | 125 - .../arm/boot/dts/m7350-un-v2/imx53-smd.dts | 168 - .../arch/arm/boot/dts/m7350-un-v2/imx53.dtsi | 301 - .../arm/boot/dts/m7350-un-v2/imx6q-arm2.dts | 76 - .../boot/dts/m7350-un-v2/imx6q-sabrelite.dts | 83 - .../arch/arm/boot/dts/m7350-un-v2/imx6q.dtsi | 575 - .../dts/m7350-un-v2/kirkwood-dreamplug.dts | 24 - .../arm/boot/dts/m7350-un-v2/kirkwood.dtsi | 36 - .../boot/dts/m7350-un-v2/mpq8092-iommu.dtsi | 40 - .../arm/boot/dts/m7350-un-v2/mpq8092-ion.dtsi | 33 - .../dts/m7350-un-v2/mpq8092-regulator.dtsi | 324 - .../arm/boot/dts/m7350-un-v2/mpq8092-rumi.dts | 28 - .../boot/dts/m7350-un-v2/mpq8092-rumi.dtsi | 134 - .../arm/boot/dts/m7350-un-v2/mpq8092-sim.dts | 125 - .../arm/boot/dts/m7350-un-v2/mpq8092.dtsi | 240 - .../arm/boot/dts/m7350-un-v2/msm-gdsc.dtsi | 63 - .../boot/dts/m7350-un-v2/msm-iommu-v0.dtsi | 333 - .../boot/dts/m7350-un-v2/msm-iommu-v1.dtsi | 514 - .../m7350-un-v2/msm-pm8019-rpm-regulator.dtsi | 301 - .../arm/boot/dts/m7350-un-v2/msm-pm8019.dtsi | 415 - .../m7350-un-v2/msm-pm8110-rpm-regulator.dtsi | 381 - .../arm/boot/dts/m7350-un-v2/msm-pm8110.dtsi | 608 - .../m7350-un-v2/msm-pm8226-rpm-regulator.dtsi | 492 - .../arm/boot/dts/m7350-un-v2/msm-pm8226.dtsi | 833 - .../arm/boot/dts/m7350-un-v2/msm-pm8841.dtsi | 242 - .../arm/boot/dts/m7350-un-v2/msm-pm8941.dtsi | 1384 - .../m7350-un-v2/msm-pm8x41-rpm-regulator.dtsi | 585 - .../arm/boot/dts/m7350-un-v2/msm-pma8084.dtsi | 666 - .../arm/boot/dts/m7350-un-v2/msm8226-bus.dtsi | 1128 - .../msm8226-camera-sensor-cdp.dtsi | 108 - .../msm8226-camera-sensor-mtp.dtsi | 108 - .../msm8226-camera-sensor-qrd.dtsi | 108 - .../boot/dts/m7350-un-v2/msm8226-camera.dtsi | 139 - .../arm/boot/dts/m7350-un-v2/msm8226-cdp.dtsi | 393 - .../dts/m7350-un-v2/msm8226-coresight.dtsi | 377 - .../boot/dts/m7350-un-v2/msm8226-fluid.dts | 33 - .../arm/boot/dts/m7350-un-v2/msm8226-gpu.dtsi | 161 - .../m7350-un-v2/msm8226-iommu-domains.dtsi | 31 - .../boot/dts/m7350-un-v2/msm8226-iommu.dtsi | 237 - .../arm/boot/dts/m7350-un-v2/msm8226-ion.dtsi | 66 - .../boot/dts/m7350-un-v2/msm8226-mdss.dtsi | 80 - .../arm/boot/dts/m7350-un-v2/msm8226-mtp.dtsi | 445 - .../arm/boot/dts/m7350-un-v2/msm8226-pm.dtsi | 389 - .../arm/boot/dts/m7350-un-v2/msm8226-qrd.dtsi | 406 - .../dts/m7350-un-v2/msm8226-regulator.dtsi | 460 - .../arm/boot/dts/m7350-un-v2/msm8226-sim.dts | 135 - .../boot/dts/m7350-un-v2/msm8226-smp2p.dtsi | 225 - .../boot/dts/m7350-un-v2/msm8226-v1-cdp.dts | 25 - .../boot/dts/m7350-un-v2/msm8226-v1-mtp.dts | 25 - .../boot/dts/m7350-un-v2/msm8226-v1-qrd.dts | 25 - .../arm/boot/dts/m7350-un-v2/msm8226-v1.dtsi | 19 - .../boot/dts/m7350-un-v2/msm8226-v2-cdp.dts | 25 - .../boot/dts/m7350-un-v2/msm8226-v2-mtp.dts | 25 - .../boot/dts/m7350-un-v2/msm8226-v2-qrd.dts | 25 - .../arm/boot/dts/m7350-un-v2/msm8226-v2.dtsi | 19 - .../arm/boot/dts/m7350-un-v2/msm8226.dtsi | 1248 - .../arm/boot/dts/m7350-un-v2/msm8610-bus.dtsi | 1014 - .../msm8610-camera-sensor-cdp-mtp.dtsi | 116 - .../boot/dts/m7350-un-v2/msm8610-camera.dtsi | 80 - .../arm/boot/dts/m7350-un-v2/msm8610-cdp.dts | 396 - .../dts/m7350-un-v2/msm8610-coresight.dtsi | 357 - .../arm/boot/dts/m7350-un-v2/msm8610-gpu.dtsi | 167 - .../m7350-un-v2/msm8610-iommu-domains.dtsi | 36 - .../arm/boot/dts/m7350-un-v2/msm8610-ion.dtsi | 38 - .../boot/dts/m7350-un-v2/msm8610-mdss.dtsi | 37 - .../arm/boot/dts/m7350-un-v2/msm8610-mtp.dts | 354 - .../arm/boot/dts/m7350-un-v2/msm8610-pm.dtsi | 391 - .../arm/boot/dts/m7350-un-v2/msm8610-qrd.dts | 267 - .../dts/m7350-un-v2/msm8610-regulator.dtsi | 358 - .../arm/boot/dts/m7350-un-v2/msm8610-rumi.dts | 31 - .../arm/boot/dts/m7350-un-v2/msm8610-sim.dts | 72 - .../boot/dts/m7350-un-v2/msm8610-smp2p.dtsi | 225 - .../arm/boot/dts/m7350-un-v2/msm8610.dtsi | 1075 - .../arm/boot/dts/m7350-un-v2/msm8660-surf.dts | 24 - .../arm/boot/dts/m7350-un-v2/msm8926-cdp.dts | 22 - .../arm/boot/dts/m7350-un-v2/msm8926-mtp.dts | 22 - .../arm/boot/dts/m7350-un-v2/msm8926-qrd.dts | 21 - .../arm/boot/dts/m7350-un-v2/msm8926.dtsi | 30 - .../arm/boot/dts/m7350-un-v2/msm8974-bus.dtsi | 1411 - .../msm8974-camera-sensor-cdp.dtsi | 189 - .../msm8974-camera-sensor-dragonboard.dtsi | 174 - .../msm8974-camera-sensor-fluid.dtsi | 190 - .../msm8974-camera-sensor-liquid.dtsi | 190 - .../msm8974-camera-sensor-mtp.dtsi | 191 - .../boot/dts/m7350-un-v2/msm8974-camera.dtsi | 215 - .../arm/boot/dts/m7350-un-v2/msm8974-cdp.dtsi | 729 - .../boot/dts/m7350-un-v2/msm8974-clock.dtsi | 27 - .../dts/m7350-un-v2/msm8974-coresight.dtsi | 381 - .../boot/dts/m7350-un-v2/msm8974-fluid.dtsi | 667 - .../arm/boot/dts/m7350-un-v2/msm8974-gpu.dtsi | 185 - .../arm/boot/dts/m7350-un-v2/msm8974-ion.dtsi | 59 - .../boot/dts/m7350-un-v2/msm8974-leds.dtsi | 129 - .../boot/dts/m7350-un-v2/msm8974-liquid.dtsi | 893 - .../boot/dts/m7350-un-v2/msm8974-mdss.dtsi | 148 - .../arm/boot/dts/m7350-un-v2/msm8974-mtp.dtsi | 705 - .../dts/m7350-un-v2/msm8974-regulator.dtsi | 568 - .../boot/dts/m7350-un-v2/msm8974-rumi.dtsi | 146 - .../arm/boot/dts/m7350-un-v2/msm8974-sim.dtsi | 93 - .../boot/dts/m7350-un-v2/msm8974-smp2p.dtsi | 225 - .../boot/dts/m7350-un-v2/msm8974-v1-cdp.dts | 33 - .../boot/dts/m7350-un-v2/msm8974-v1-fluid.dts | 33 - .../m7350-un-v2/msm8974-v1-iommu-domains.dtsi | 31 - .../dts/m7350-un-v2/msm8974-v1-iommu.dtsi | 40 - .../dts/m7350-un-v2/msm8974-v1-liquid.dts | 24 - .../boot/dts/m7350-un-v2/msm8974-v1-mtp.dts | 28 - .../boot/dts/m7350-un-v2/msm8974-v1-pm.dtsi | 456 - .../boot/dts/m7350-un-v2/msm8974-v1-rumi.dts | 24 - .../boot/dts/m7350-un-v2/msm8974-v1-sim.dts | 24 - .../arm/boot/dts/m7350-un-v2/msm8974-v1.dtsi | 134 - .../boot/dts/m7350-un-v2/msm8974-v2-cdp.dts | 36 - .../boot/dts/m7350-un-v2/msm8974-v2-fluid.dts | 36 - .../m7350-un-v2/msm8974-v2-iommu-domains.dtsi | 45 - .../dts/m7350-un-v2/msm8974-v2-iommu.dtsi | 256 - .../dts/m7350-un-v2/msm8974-v2-liquid.dts | 36 - .../boot/dts/m7350-un-v2/msm8974-v2-mtp.dts | 40 - .../boot/dts/m7350-un-v2/msm8974-v2-pm.dtsi | 452 - .../arm/boot/dts/m7350-un-v2/msm8974-v2.dtsi | 138 - .../arm/boot/dts/m7350-un-v2/msm8974.dtsi | 1745 -- .../arm/boot/dts/m7350-un-v2/msm9625-cdp.dtsi | 100 - .../dts/m7350-un-v2/msm9625-coresight.dtsi | 259 - .../boot/dts/m7350-un-v2/msm9625-display.dtsi | 20 - .../arm/boot/dts/m7350-un-v2/msm9625-ion.dtsi | 35 - .../arm/boot/dts/m7350-un-v2/msm9625-mtp.dtsi | 111 - .../arm/boot/dts/m7350-un-v2/msm9625-pm.dtsi | 299 - .../dts/m7350-un-v2/msm9625-regulator.dtsi | 284 - .../boot/dts/m7350-un-v2/msm9625-smp2p.dtsi | 142 - .../boot/dts/m7350-un-v2/msm9625-v1-cdp.dts | 24 - .../boot/dts/m7350-un-v2/msm9625-v1-mtp.dts | 24 - .../boot/dts/m7350-un-v2/msm9625-v1-rumi.dts | 26 - .../arm/boot/dts/m7350-un-v2/msm9625-v1.dtsi | 67 - .../boot/dts/m7350-un-v2/msm9625-v2-cdp.dts | 24 - .../boot/dts/m7350-un-v2/msm9625-v2-mtp.dts | 122 - .../boot/dts/m7350-un-v2/msm9625-v2.1-cdp.dts | 24 - .../boot/dts/m7350-un-v2/msm9625-v2.1-mtp.dts | 24 - .../boot/dts/m7350-un-v2/msm9625-v2.1.dtsi | 40 - .../arm/boot/dts/m7350-un-v2/msm9625-v2.dtsi | 54 - .../arm/boot/dts/m7350-un-v2/msm9625.dtsi | 895 - .../boot/dts/m7350-un-v2/msmkrypton-sim.dts | 25 - .../arm/boot/dts/m7350-un-v2/msmkrypton.dtsi | 120 - .../boot/dts/m7350-un-v2/msmsamarium-ion.dtsi | 31 - .../boot/dts/m7350-un-v2/msmsamarium-rumi.dts | 25 - .../boot/dts/m7350-un-v2/msmsamarium-sim.dts | 55 - .../arm/boot/dts/m7350-un-v2/msmsamarium.dtsi | 90 - .../arch/arm/boot/dts/m7350-un-v2/omap2.dtsi | 67 - .../arm/boot/dts/m7350-un-v2/omap3-beagle.dts | 20 - .../arm/boot/dts/m7350-un-v2/omap3-evm.dts | 20 - .../arch/arm/boot/dts/m7350-un-v2/omap3.dtsi | 117 - .../arm/boot/dts/m7350-un-v2/omap4-panda.dts | 20 - .../arm/boot/dts/m7350-un-v2/omap4-sdp.dts | 20 - .../arch/arm/boot/dts/m7350-un-v2/omap4.dtsi | 159 - .../boot/dts/m7350-un-v2/picoxcell-pc3x2.dtsi | 249 - .../boot/dts/m7350-un-v2/picoxcell-pc3x3.dtsi | 365 - .../m7350-un-v2/picoxcell-pc7302-pc3x2.dts | 86 - .../m7350-un-v2/picoxcell-pc7302-pc3x3.dts | 92 - .../arm/boot/dts/m7350-un-v2/prima2-cb.dts | 424 - .../boot/dts/m7350-un-v2/pxa168-aspenite.dts | 38 - .../arch/arm/boot/dts/m7350-un-v2/pxa168.dtsi | 98 - .../dts/m7350-un-v2/qpic-panel-ili-qvga.dtsi | 27 - .../arm/boot/dts/m7350-un-v2/skeleton.dtsi | 18 - .../arm/boot/dts/m7350-un-v2/skeleton64.dtsi | 18 - .../arm/boot/dts/m7350-un-v2/snowball.dts | 139 - .../arm/boot/dts/m7350-un-v2/spear600-evb.dts | 47 - .../arm/boot/dts/m7350-un-v2/spear600.dtsi | 174 - .../arm/boot/dts/m7350-un-v2/tegra-cardhu.dts | 70 - .../boot/dts/m7350-un-v2/tegra-harmony.dts | 115 - .../arm/boot/dts/m7350-un-v2/tegra-paz00.dts | 134 - .../boot/dts/m7350-un-v2/tegra-seaboard.dts | 175 - .../boot/dts/m7350-un-v2/tegra-trimslice.dts | 77 - .../boot/dts/m7350-un-v2/tegra-ventana.dts | 108 - .../arm/boot/dts/m7350-un-v2/tegra20.dtsi | 210 - .../arm/boot/dts/m7350-un-v2/tegra30.dtsi | 186 - .../m7350-un-v2/testcases/tests-phandle.dtsi | 39 - .../boot/dts/m7350-un-v2/testcases/tests.dtsi | 1 - .../dts/m7350-un-v2/usb_a9g20-dab-mmx.dtsi | 96 - .../arm/boot/dts/m7350-un-v2/usb_a9g20.dts | 130 - .../arm/boot/dts/m7350-un-v2/versatile-ab.dts | 192 - .../arm/boot/dts/m7350-un-v2/versatile-pb.dts | 50 - .../dts/m7350-un-v2/vexpress-v2m-rs1.dtsi | 201 - .../boot/dts/m7350-un-v2/vexpress-v2m.dtsi | 200 - .../dts/m7350-un-v2/vexpress-v2p-ca15-tc1.dts | 157 - .../dts/m7350-un-v2/vexpress-v2p-ca5s.dts | 162 - .../boot/dts/m7350-un-v2/vexpress-v2p-ca9.dts | 192 - .../arm/boot/dts/m7350-un-v2/zynq-ep107.dts | 52 - .../dts/m7350-un-v3/am3517_mt_ventoux.dts | 27 - .../arm/boot/dts/m7350-un-v3/apq8026-mtp.dts | 22 - .../arm/boot/dts/m7350-un-v3/apq8026-xpm.dts | 22 - .../arm/boot/dts/m7350-un-v3/apq8026.dtsi | 24 - .../dts/m7350-un-v3/apq8074-dragonboard.dtsi | 654 - .../arm/boot/dts/m7350-un-v3/apq8074-v1.dtsi | 48 - .../m7350-un-v3/apq8074-v2-dragonboard.dts | 22 - .../dts/m7350-un-v3/apq8074-v2-liquid.dts | 34 - .../arm/boot/dts/m7350-un-v3/apq8074-v2.dtsi | 52 - .../arm/boot/dts/m7350-un-v3/apq8084-ion.dtsi | 31 - .../dts/m7350-un-v3/apq8084-regulator.dtsi | 377 - .../arm/boot/dts/m7350-un-v3/apq8084-sim.dts | 173 - .../boot/dts/m7350-un-v3/apq8084-smp2p.dtsi | 82 - .../arm/boot/dts/m7350-un-v3/apq8084.dtsi | 276 - .../arm/boot/dts/m7350-un-v3/at91sam9g20.dtsi | 238 - .../boot/dts/m7350-un-v3/at91sam9g25ek.dts | 49 - .../arm/boot/dts/m7350-un-v3/at91sam9g45.dtsi | 247 - .../boot/dts/m7350-un-v3/at91sam9m10g45ek.dts | 156 - .../arm/boot/dts/m7350-un-v3/at91sam9x5.dtsi | 263 - .../boot/dts/m7350-un-v3/at91sam9x5cm.dtsi | 74 - .../arch/arm/boot/dts/m7350-un-v3/db8500.dtsi | 274 - .../dsi-panel-nt35590-720p-cmd.dtsi | 530 - .../dsi-panel-nt35590-720p-video.dtsi | 524 - .../dsi-panel-orise-720p-video.dtsi | 60 - .../dsi-panel-sharp-qhd-video.dtsi | 67 - .../dts/m7350-un-v3/dsi-panel-sim-video.dtsi | 46 - .../dsi-panel-toshiba-720p-video.dtsi | 124 - .../dsi-v2-panel-hx8379a-wvga-video.dtsi | 117 - .../dsi-v2-panel-truly-wvga-video.dtsi | 120 - .../dts/m7350-un-v3/exynos4210-origen.dts | 137 - .../dts/m7350-un-v3/exynos4210-smdkv310.dts | 182 - .../arm/boot/dts/m7350-un-v3/exynos4210.dtsi | 398 - .../dts/m7350-un-v3/exynos5250-smdk5250.dts | 26 - .../arm/boot/dts/m7350-un-v3/exynos5250.dtsi | 413 - .../arm/boot/dts/m7350-un-v3/fsm9900-rumi.dts | 31 - .../arm/boot/dts/m7350-un-v3/fsm9900-sim.dts | 32 - .../arm/boot/dts/m7350-un-v3/fsm9900.dtsi | 94 - .../arm/boot/dts/m7350-un-v3/highbank.dts | 209 - .../dts/m7350-un-v3/imx27-phytec-phycore.dts | 76 - .../arch/arm/boot/dts/m7350-un-v3/imx27.dtsi | 217 - .../boot/dts/m7350-un-v3/imx51-babbage.dts | 221 - .../arch/arm/boot/dts/m7350-un-v3/imx51.dtsi | 246 - .../arm/boot/dts/m7350-un-v3/imx53-ard.dts | 113 - .../arm/boot/dts/m7350-un-v3/imx53-evk.dts | 119 - .../arm/boot/dts/m7350-un-v3/imx53-qsb.dts | 125 - .../arm/boot/dts/m7350-un-v3/imx53-smd.dts | 168 - .../arch/arm/boot/dts/m7350-un-v3/imx53.dtsi | 301 - .../arm/boot/dts/m7350-un-v3/imx6q-arm2.dts | 76 - .../boot/dts/m7350-un-v3/imx6q-sabrelite.dts | 83 - .../arch/arm/boot/dts/m7350-un-v3/imx6q.dtsi | 575 - .../dts/m7350-un-v3/kirkwood-dreamplug.dts | 24 - .../arm/boot/dts/m7350-un-v3/kirkwood.dtsi | 36 - .../boot/dts/m7350-un-v3/mpq8092-iommu.dtsi | 40 - .../arm/boot/dts/m7350-un-v3/mpq8092-ion.dtsi | 33 - .../dts/m7350-un-v3/mpq8092-regulator.dtsi | 324 - .../arm/boot/dts/m7350-un-v3/mpq8092-rumi.dts | 28 - .../boot/dts/m7350-un-v3/mpq8092-rumi.dtsi | 134 - .../arm/boot/dts/m7350-un-v3/mpq8092-sim.dts | 125 - .../arm/boot/dts/m7350-un-v3/mpq8092.dtsi | 240 - .../arm/boot/dts/m7350-un-v3/msm-gdsc.dtsi | 63 - .../boot/dts/m7350-un-v3/msm-iommu-v0.dtsi | 333 - .../boot/dts/m7350-un-v3/msm-iommu-v1.dtsi | 514 - .../m7350-un-v3/msm-pm8019-rpm-regulator.dtsi | 301 - .../arm/boot/dts/m7350-un-v3/msm-pm8019.dtsi | 415 - .../m7350-un-v3/msm-pm8110-rpm-regulator.dtsi | 381 - .../arm/boot/dts/m7350-un-v3/msm-pm8110.dtsi | 608 - .../m7350-un-v3/msm-pm8226-rpm-regulator.dtsi | 492 - .../arm/boot/dts/m7350-un-v3/msm-pm8226.dtsi | 833 - .../arm/boot/dts/m7350-un-v3/msm-pm8841.dtsi | 242 - .../arm/boot/dts/m7350-un-v3/msm-pm8941.dtsi | 1384 - .../m7350-un-v3/msm-pm8x41-rpm-regulator.dtsi | 585 - .../arm/boot/dts/m7350-un-v3/msm-pma8084.dtsi | 666 - .../arm/boot/dts/m7350-un-v3/msm8226-bus.dtsi | 1128 - .../msm8226-camera-sensor-cdp.dtsi | 108 - .../msm8226-camera-sensor-mtp.dtsi | 108 - .../msm8226-camera-sensor-qrd.dtsi | 108 - .../boot/dts/m7350-un-v3/msm8226-camera.dtsi | 139 - .../arm/boot/dts/m7350-un-v3/msm8226-cdp.dtsi | 393 - .../dts/m7350-un-v3/msm8226-coresight.dtsi | 377 - .../boot/dts/m7350-un-v3/msm8226-fluid.dts | 33 - .../arm/boot/dts/m7350-un-v3/msm8226-gpu.dtsi | 161 - .../m7350-un-v3/msm8226-iommu-domains.dtsi | 31 - .../boot/dts/m7350-un-v3/msm8226-iommu.dtsi | 237 - .../arm/boot/dts/m7350-un-v3/msm8226-ion.dtsi | 66 - .../boot/dts/m7350-un-v3/msm8226-mdss.dtsi | 80 - .../arm/boot/dts/m7350-un-v3/msm8226-mtp.dtsi | 445 - .../arm/boot/dts/m7350-un-v3/msm8226-pm.dtsi | 389 - .../arm/boot/dts/m7350-un-v3/msm8226-qrd.dtsi | 406 - .../dts/m7350-un-v3/msm8226-regulator.dtsi | 460 - .../arm/boot/dts/m7350-un-v3/msm8226-sim.dts | 135 - .../boot/dts/m7350-un-v3/msm8226-smp2p.dtsi | 225 - .../boot/dts/m7350-un-v3/msm8226-v1-cdp.dts | 25 - .../boot/dts/m7350-un-v3/msm8226-v1-mtp.dts | 25 - .../boot/dts/m7350-un-v3/msm8226-v1-qrd.dts | 25 - .../arm/boot/dts/m7350-un-v3/msm8226-v1.dtsi | 19 - .../boot/dts/m7350-un-v3/msm8226-v2-cdp.dts | 25 - .../boot/dts/m7350-un-v3/msm8226-v2-mtp.dts | 25 - .../boot/dts/m7350-un-v3/msm8226-v2-qrd.dts | 25 - .../arm/boot/dts/m7350-un-v3/msm8226-v2.dtsi | 19 - .../arm/boot/dts/m7350-un-v3/msm8226.dtsi | 1248 - .../arm/boot/dts/m7350-un-v3/msm8610-bus.dtsi | 1014 - .../msm8610-camera-sensor-cdp-mtp.dtsi | 116 - .../boot/dts/m7350-un-v3/msm8610-camera.dtsi | 80 - .../arm/boot/dts/m7350-un-v3/msm8610-cdp.dts | 396 - .../dts/m7350-un-v3/msm8610-coresight.dtsi | 357 - .../arm/boot/dts/m7350-un-v3/msm8610-gpu.dtsi | 167 - .../m7350-un-v3/msm8610-iommu-domains.dtsi | 36 - .../arm/boot/dts/m7350-un-v3/msm8610-ion.dtsi | 38 - .../boot/dts/m7350-un-v3/msm8610-mdss.dtsi | 37 - .../arm/boot/dts/m7350-un-v3/msm8610-mtp.dts | 354 - .../arm/boot/dts/m7350-un-v3/msm8610-pm.dtsi | 391 - .../arm/boot/dts/m7350-un-v3/msm8610-qrd.dts | 267 - .../dts/m7350-un-v3/msm8610-regulator.dtsi | 358 - .../arm/boot/dts/m7350-un-v3/msm8610-rumi.dts | 31 - .../arm/boot/dts/m7350-un-v3/msm8610-sim.dts | 72 - .../boot/dts/m7350-un-v3/msm8610-smp2p.dtsi | 225 - .../arm/boot/dts/m7350-un-v3/msm8610.dtsi | 1075 - .../arm/boot/dts/m7350-un-v3/msm8660-surf.dts | 24 - .../arm/boot/dts/m7350-un-v3/msm8926-cdp.dts | 22 - .../arm/boot/dts/m7350-un-v3/msm8926-mtp.dts | 22 - .../arm/boot/dts/m7350-un-v3/msm8926-qrd.dts | 21 - .../arm/boot/dts/m7350-un-v3/msm8926.dtsi | 30 - .../arm/boot/dts/m7350-un-v3/msm8974-bus.dtsi | 1411 - .../msm8974-camera-sensor-cdp.dtsi | 189 - .../msm8974-camera-sensor-dragonboard.dtsi | 174 - .../msm8974-camera-sensor-fluid.dtsi | 190 - .../msm8974-camera-sensor-liquid.dtsi | 190 - .../msm8974-camera-sensor-mtp.dtsi | 191 - .../boot/dts/m7350-un-v3/msm8974-camera.dtsi | 215 - .../arm/boot/dts/m7350-un-v3/msm8974-cdp.dtsi | 729 - .../boot/dts/m7350-un-v3/msm8974-clock.dtsi | 27 - .../dts/m7350-un-v3/msm8974-coresight.dtsi | 381 - .../boot/dts/m7350-un-v3/msm8974-fluid.dtsi | 667 - .../arm/boot/dts/m7350-un-v3/msm8974-gpu.dtsi | 185 - .../arm/boot/dts/m7350-un-v3/msm8974-ion.dtsi | 59 - .../boot/dts/m7350-un-v3/msm8974-leds.dtsi | 129 - .../boot/dts/m7350-un-v3/msm8974-liquid.dtsi | 893 - .../boot/dts/m7350-un-v3/msm8974-mdss.dtsi | 148 - .../arm/boot/dts/m7350-un-v3/msm8974-mtp.dtsi | 705 - .../dts/m7350-un-v3/msm8974-regulator.dtsi | 568 - .../boot/dts/m7350-un-v3/msm8974-rumi.dtsi | 146 - .../arm/boot/dts/m7350-un-v3/msm8974-sim.dtsi | 93 - .../boot/dts/m7350-un-v3/msm8974-smp2p.dtsi | 225 - .../boot/dts/m7350-un-v3/msm8974-v1-cdp.dts | 33 - .../boot/dts/m7350-un-v3/msm8974-v1-fluid.dts | 33 - .../m7350-un-v3/msm8974-v1-iommu-domains.dtsi | 31 - .../dts/m7350-un-v3/msm8974-v1-iommu.dtsi | 40 - .../dts/m7350-un-v3/msm8974-v1-liquid.dts | 24 - .../boot/dts/m7350-un-v3/msm8974-v1-mtp.dts | 28 - .../boot/dts/m7350-un-v3/msm8974-v1-pm.dtsi | 456 - .../boot/dts/m7350-un-v3/msm8974-v1-rumi.dts | 24 - .../boot/dts/m7350-un-v3/msm8974-v1-sim.dts | 24 - .../arm/boot/dts/m7350-un-v3/msm8974-v1.dtsi | 134 - .../boot/dts/m7350-un-v3/msm8974-v2-cdp.dts | 36 - .../boot/dts/m7350-un-v3/msm8974-v2-fluid.dts | 36 - .../m7350-un-v3/msm8974-v2-iommu-domains.dtsi | 45 - .../dts/m7350-un-v3/msm8974-v2-iommu.dtsi | 256 - .../dts/m7350-un-v3/msm8974-v2-liquid.dts | 36 - .../boot/dts/m7350-un-v3/msm8974-v2-mtp.dts | 40 - .../boot/dts/m7350-un-v3/msm8974-v2-pm.dtsi | 452 - .../arm/boot/dts/m7350-un-v3/msm8974-v2.dtsi | 138 - .../arm/boot/dts/m7350-un-v3/msm8974.dtsi | 1745 -- .../arm/boot/dts/m7350-un-v3/msm9625-cdp.dtsi | 100 - .../dts/m7350-un-v3/msm9625-coresight.dtsi | 259 - .../boot/dts/m7350-un-v3/msm9625-display.dtsi | 20 - .../arm/boot/dts/m7350-un-v3/msm9625-ion.dtsi | 35 - .../arm/boot/dts/m7350-un-v3/msm9625-mtp.dtsi | 111 - .../arm/boot/dts/m7350-un-v3/msm9625-pm.dtsi | 299 - .../dts/m7350-un-v3/msm9625-regulator.dtsi | 284 - .../boot/dts/m7350-un-v3/msm9625-smp2p.dtsi | 142 - .../boot/dts/m7350-un-v3/msm9625-v1-cdp.dts | 24 - .../boot/dts/m7350-un-v3/msm9625-v1-mtp.dts | 24 - .../boot/dts/m7350-un-v3/msm9625-v1-rumi.dts | 26 - .../arm/boot/dts/m7350-un-v3/msm9625-v1.dtsi | 67 - .../boot/dts/m7350-un-v3/msm9625-v2-cdp.dts | 24 - .../boot/dts/m7350-un-v3/msm9625-v2-mtp.dts | 122 - .../boot/dts/m7350-un-v3/msm9625-v2.1-cdp.dts | 24 - .../boot/dts/m7350-un-v3/msm9625-v2.1-mtp.dts | 24 - .../boot/dts/m7350-un-v3/msm9625-v2.1.dtsi | 40 - .../arm/boot/dts/m7350-un-v3/msm9625-v2.dtsi | 54 - .../arm/boot/dts/m7350-un-v3/msm9625.dtsi | 895 - .../boot/dts/m7350-un-v3/msmkrypton-sim.dts | 25 - .../arm/boot/dts/m7350-un-v3/msmkrypton.dtsi | 120 - .../boot/dts/m7350-un-v3/msmsamarium-ion.dtsi | 31 - .../boot/dts/m7350-un-v3/msmsamarium-rumi.dts | 25 - .../boot/dts/m7350-un-v3/msmsamarium-sim.dts | 55 - .../arm/boot/dts/m7350-un-v3/msmsamarium.dtsi | 90 - .../arch/arm/boot/dts/m7350-un-v3/omap2.dtsi | 67 - .../arm/boot/dts/m7350-un-v3/omap3-beagle.dts | 20 - .../arm/boot/dts/m7350-un-v3/omap3-evm.dts | 20 - .../arch/arm/boot/dts/m7350-un-v3/omap3.dtsi | 117 - .../arm/boot/dts/m7350-un-v3/omap4-panda.dts | 20 - .../arm/boot/dts/m7350-un-v3/omap4-sdp.dts | 20 - .../arch/arm/boot/dts/m7350-un-v3/omap4.dtsi | 159 - .../boot/dts/m7350-un-v3/picoxcell-pc3x2.dtsi | 249 - .../boot/dts/m7350-un-v3/picoxcell-pc3x3.dtsi | 365 - .../m7350-un-v3/picoxcell-pc7302-pc3x2.dts | 86 - .../m7350-un-v3/picoxcell-pc7302-pc3x3.dts | 92 - .../arm/boot/dts/m7350-un-v3/prima2-cb.dts | 424 - .../boot/dts/m7350-un-v3/pxa168-aspenite.dts | 38 - .../arch/arm/boot/dts/m7350-un-v3/pxa168.dtsi | 98 - .../dts/m7350-un-v3/qpic-panel-ili-qvga.dtsi | 27 - .../arm/boot/dts/m7350-un-v3/skeleton.dtsi | 18 - .../arm/boot/dts/m7350-un-v3/skeleton64.dtsi | 18 - .../arm/boot/dts/m7350-un-v3/snowball.dts | 139 - .../arm/boot/dts/m7350-un-v3/spear600-evb.dts | 47 - .../arm/boot/dts/m7350-un-v3/spear600.dtsi | 174 - .../arm/boot/dts/m7350-un-v3/tegra-cardhu.dts | 70 - .../boot/dts/m7350-un-v3/tegra-harmony.dts | 115 - .../arm/boot/dts/m7350-un-v3/tegra-paz00.dts | 134 - .../boot/dts/m7350-un-v3/tegra-seaboard.dts | 175 - .../boot/dts/m7350-un-v3/tegra-trimslice.dts | 77 - .../boot/dts/m7350-un-v3/tegra-ventana.dts | 108 - .../arm/boot/dts/m7350-un-v3/tegra20.dtsi | 210 - .../arm/boot/dts/m7350-un-v3/tegra30.dtsi | 186 - .../m7350-un-v3/testcases/tests-phandle.dtsi | 39 - .../boot/dts/m7350-un-v3/testcases/tests.dtsi | 1 - .../dts/m7350-un-v3/usb_a9g20-dab-mmx.dtsi | 96 - .../arm/boot/dts/m7350-un-v3/usb_a9g20.dts | 130 - .../arm/boot/dts/m7350-un-v3/versatile-ab.dts | 192 - .../arm/boot/dts/m7350-un-v3/versatile-pb.dts | 50 - .../dts/m7350-un-v3/vexpress-v2m-rs1.dtsi | 201 - .../boot/dts/m7350-un-v3/vexpress-v2m.dtsi | 200 - .../dts/m7350-un-v3/vexpress-v2p-ca15-tc1.dts | 157 - .../dts/m7350-un-v3/vexpress-v2p-ca5s.dts | 162 - .../boot/dts/m7350-un-v3/vexpress-v2p-ca9.dts | 192 - .../arm/boot/dts/m7350-un-v3/zynq-ep107.dts | 52 - kernel/arch/arm/boot/dts/msm9625-mtp.dtsi | 34 +- kernel/arch/arm/boot/dts/msm9625.dtsi | 354 +- .../am3517_mt_ventoux.dts | 27 - .../apq8026-mtp.dts | 22 - .../apq8026-xpm.dts | 22 - .../tr961-2500l-mobile-unicom-v1/apq8026.dtsi | 24 - .../apq8074-dragonboard.dtsi | 654 - .../apq8074-v1.dtsi | 48 - .../apq8074-v2-dragonboard.dts | 22 - .../apq8074-v2-liquid.dts | 34 - .../apq8074-v2.dtsi | 52 - .../apq8084-ion.dtsi | 31 - .../apq8084-regulator.dtsi | 377 - .../apq8084-sim.dts | 173 - .../apq8084-smp2p.dtsi | 82 - .../tr961-2500l-mobile-unicom-v1/apq8084.dtsi | 276 - .../at91sam9g20.dtsi | 238 - .../at91sam9g25ek.dts | 49 - .../at91sam9g45.dtsi | 247 - .../at91sam9m10g45ek.dts | 156 - .../at91sam9x5.dtsi | 263 - .../at91sam9x5cm.dtsi | 74 - .../tr961-2500l-mobile-unicom-v1/db8500.dtsi | 274 - .../dsi-panel-nt35590-720p-cmd.dtsi | 530 - .../dsi-panel-nt35590-720p-video.dtsi | 524 - .../dsi-panel-orise-720p-video.dtsi | 60 - .../dsi-panel-sharp-qhd-video.dtsi | 67 - .../dsi-panel-sim-video.dtsi | 46 - .../dsi-panel-toshiba-720p-video.dtsi | 124 - .../dsi-v2-panel-hx8379a-wvga-video.dtsi | 117 - .../dsi-v2-panel-truly-wvga-video.dtsi | 120 - .../exynos4210-origen.dts | 137 - .../exynos4210-smdkv310.dts | 182 - .../exynos4210.dtsi | 398 - .../exynos5250-smdk5250.dts | 26 - .../exynos5250.dtsi | 413 - .../fsm9900-rumi.dts | 31 - .../fsm9900-sim.dts | 32 - .../tr961-2500l-mobile-unicom-v1/fsm9900.dtsi | 94 - .../tr961-2500l-mobile-unicom-v1/highbank.dts | 209 - .../imx27-phytec-phycore.dts | 76 - .../tr961-2500l-mobile-unicom-v1/imx27.dtsi | 217 - .../imx51-babbage.dts | 221 - .../tr961-2500l-mobile-unicom-v1/imx51.dtsi | 246 - .../imx53-ard.dts | 113 - .../imx53-evk.dts | 119 - .../imx53-qsb.dts | 125 - .../imx53-smd.dts | 168 - .../tr961-2500l-mobile-unicom-v1/imx53.dtsi | 301 - .../imx6q-arm2.dts | 76 - .../imx6q-sabrelite.dts | 83 - .../tr961-2500l-mobile-unicom-v1/imx6q.dtsi | 575 - .../kirkwood-dreamplug.dts | 24 - .../kirkwood.dtsi | 36 - .../mpq8092-iommu.dtsi | 40 - .../mpq8092-ion.dtsi | 33 - .../mpq8092-regulator.dtsi | 324 - .../mpq8092-rumi.dts | 28 - .../mpq8092-rumi.dtsi | 134 - .../mpq8092-sim.dts | 125 - .../tr961-2500l-mobile-unicom-v1/mpq8092.dtsi | 240 - .../msm-gdsc.dtsi | 63 - .../msm-iommu-v0.dtsi | 333 - .../msm-iommu-v1.dtsi | 514 - .../msm-pm8019-rpm-regulator.dtsi | 301 - .../msm-pm8019.dtsi | 415 - .../msm-pm8110-rpm-regulator.dtsi | 381 - .../msm-pm8110.dtsi | 608 - .../msm-pm8226-rpm-regulator.dtsi | 492 - .../msm-pm8226.dtsi | 833 - .../msm-pm8841.dtsi | 242 - .../msm-pm8941.dtsi | 1384 - .../msm-pm8x41-rpm-regulator.dtsi | 585 - .../msm-pma8084.dtsi | 666 - .../msm8226-bus.dtsi | 1128 - .../msm8226-camera-sensor-cdp.dtsi | 108 - .../msm8226-camera-sensor-mtp.dtsi | 108 - .../msm8226-camera-sensor-qrd.dtsi | 108 - .../msm8226-camera.dtsi | 139 - .../msm8226-cdp.dtsi | 393 - .../msm8226-coresight.dtsi | 377 - .../msm8226-fluid.dts | 33 - .../msm8226-gpu.dtsi | 161 - .../msm8226-iommu-domains.dtsi | 31 - .../msm8226-iommu.dtsi | 237 - .../msm8226-ion.dtsi | 66 - .../msm8226-mdss.dtsi | 80 - .../msm8226-mtp.dtsi | 445 - .../msm8226-pm.dtsi | 389 - .../msm8226-qrd.dtsi | 406 - .../msm8226-regulator.dtsi | 460 - .../msm8226-sim.dts | 135 - .../msm8226-smp2p.dtsi | 225 - .../msm8226-v1-cdp.dts | 25 - .../msm8226-v1-mtp.dts | 25 - .../msm8226-v1-qrd.dts | 25 - .../msm8226-v1.dtsi | 19 - .../msm8226-v2-cdp.dts | 25 - .../msm8226-v2-mtp.dts | 25 - .../msm8226-v2-qrd.dts | 25 - .../msm8226-v2.dtsi | 19 - .../tr961-2500l-mobile-unicom-v1/msm8226.dtsi | 1248 - .../msm8610-bus.dtsi | 1014 - .../msm8610-camera-sensor-cdp-mtp.dtsi | 116 - .../msm8610-camera.dtsi | 80 - .../msm8610-cdp.dts | 396 - .../msm8610-coresight.dtsi | 357 - .../msm8610-gpu.dtsi | 167 - .../msm8610-iommu-domains.dtsi | 36 - .../msm8610-ion.dtsi | 38 - .../msm8610-mdss.dtsi | 37 - .../msm8610-mtp.dts | 354 - .../msm8610-pm.dtsi | 391 - .../msm8610-qrd.dts | 267 - .../msm8610-regulator.dtsi | 358 - .../msm8610-rumi.dts | 31 - .../msm8610-sim.dts | 72 - .../msm8610-smp2p.dtsi | 225 - .../tr961-2500l-mobile-unicom-v1/msm8610.dtsi | 1075 - .../msm8660-surf.dts | 24 - .../msm8926-cdp.dts | 22 - .../msm8926-mtp.dts | 22 - .../msm8926-qrd.dts | 21 - .../tr961-2500l-mobile-unicom-v1/msm8926.dtsi | 30 - .../msm8974-bus.dtsi | 1411 - .../msm8974-camera-sensor-cdp.dtsi | 189 - .../msm8974-camera-sensor-dragonboard.dtsi | 174 - .../msm8974-camera-sensor-fluid.dtsi | 190 - .../msm8974-camera-sensor-liquid.dtsi | 190 - .../msm8974-camera-sensor-mtp.dtsi | 191 - .../msm8974-camera.dtsi | 215 - .../msm8974-cdp.dtsi | 729 - .../msm8974-clock.dtsi | 27 - .../msm8974-coresight.dtsi | 381 - .../msm8974-fluid.dtsi | 667 - .../msm8974-gpu.dtsi | 185 - .../msm8974-ion.dtsi | 59 - .../msm8974-leds.dtsi | 129 - .../msm8974-liquid.dtsi | 893 - .../msm8974-mdss.dtsi | 148 - .../msm8974-mtp.dtsi | 705 - .../msm8974-regulator.dtsi | 568 - .../msm8974-rumi.dtsi | 146 - .../msm8974-sim.dtsi | 93 - .../msm8974-smp2p.dtsi | 225 - .../msm8974-v1-cdp.dts | 33 - .../msm8974-v1-fluid.dts | 33 - .../msm8974-v1-iommu-domains.dtsi | 31 - .../msm8974-v1-iommu.dtsi | 40 - .../msm8974-v1-liquid.dts | 24 - .../msm8974-v1-mtp.dts | 28 - .../msm8974-v1-pm.dtsi | 456 - .../msm8974-v1-rumi.dts | 24 - .../msm8974-v1-sim.dts | 24 - .../msm8974-v1.dtsi | 134 - .../msm8974-v2-cdp.dts | 36 - .../msm8974-v2-fluid.dts | 36 - .../msm8974-v2-iommu-domains.dtsi | 45 - .../msm8974-v2-iommu.dtsi | 256 - .../msm8974-v2-liquid.dts | 36 - .../msm8974-v2-mtp.dts | 40 - .../msm8974-v2-pm.dtsi | 452 - .../msm8974-v2.dtsi | 138 - .../tr961-2500l-mobile-unicom-v1/msm8974.dtsi | 1745 -- .../msm9625-cdp.dtsi | 100 - .../msm9625-coresight.dtsi | 259 - .../msm9625-display.dtsi | 20 - .../msm9625-ion.dtsi | 35 - .../msm9625-mtp.dtsi | 113 - .../msm9625-pm.dtsi | 299 - .../msm9625-regulator.dtsi | 284 - .../msm9625-smp2p.dtsi | 142 - .../msm9625-v1-cdp.dts | 24 - .../msm9625-v1-mtp.dts | 24 - .../msm9625-v1-rumi.dts | 26 - .../msm9625-v1.dtsi | 67 - .../msm9625-v2-cdp.dts | 24 - .../msm9625-v2-mtp.dts | 122 - .../msm9625-v2.1-cdp.dts | 24 - .../msm9625-v2.1-mtp.dts | 24 - .../msm9625-v2.1.dtsi | 41 - .../msm9625-v2.dtsi | 54 - .../tr961-2500l-mobile-unicom-v1/msm9625.dtsi | 895 - .../msmkrypton-sim.dts | 25 - .../msmkrypton.dtsi | 120 - .../msmsamarium-ion.dtsi | 31 - .../msmsamarium-rumi.dts | 25 - .../msmsamarium-sim.dts | 55 - .../msmsamarium.dtsi | 90 - .../tr961-2500l-mobile-unicom-v1/omap2.dtsi | 67 - .../omap3-beagle.dts | 20 - .../omap3-evm.dts | 20 - .../tr961-2500l-mobile-unicom-v1/omap3.dtsi | 117 - .../omap4-panda.dts | 20 - .../omap4-sdp.dts | 20 - .../tr961-2500l-mobile-unicom-v1/omap4.dtsi | 159 - .../picoxcell-pc3x2.dtsi | 249 - .../picoxcell-pc3x3.dtsi | 365 - .../picoxcell-pc7302-pc3x2.dts | 86 - .../picoxcell-pc7302-pc3x3.dts | 92 - .../prima2-cb.dts | 424 - .../pxa168-aspenite.dts | 38 - .../tr961-2500l-mobile-unicom-v1/pxa168.dtsi | 98 - .../qpic-panel-ili-qvga.dtsi | 27 - .../skeleton.dtsi | 18 - .../skeleton64.dtsi | 18 - .../tr961-2500l-mobile-unicom-v1/snowball.dts | 139 - .../spear600-evb.dts | 47 - .../spear600.dtsi | 174 - .../tegra-cardhu.dts | 70 - .../tegra-harmony.dts | 115 - .../tegra-paz00.dts | 134 - .../tegra-seaboard.dts | 175 - .../tegra-trimslice.dts | 77 - .../tegra-ventana.dts | 108 - .../tr961-2500l-mobile-unicom-v1/tegra20.dtsi | 210 - .../tr961-2500l-mobile-unicom-v1/tegra30.dtsi | 186 - .../testcases/tests-phandle.dtsi | 39 - .../testcases/tests.dtsi | 1 - .../usb_a9g20-dab-mmx.dtsi | 96 - .../usb_a9g20.dts | 130 - .../versatile-ab.dts | 192 - .../versatile-pb.dts | 50 - .../vexpress-v2m-rs1.dtsi | 201 - .../vexpress-v2m.dtsi | 200 - .../vexpress-v2p-ca15-tc1.dts | 157 - .../vexpress-v2p-ca5s.dts | 162 - .../vexpress-v2p-ca9.dts | 192 - .../zynq-ep107.dts | 52 - .../dts/tr961-5200l-v1/am3517_mt_ventoux.dts | 27 - .../boot/dts/tr961-5200l-v1/apq8026-mtp.dts | 22 - .../boot/dts/tr961-5200l-v1/apq8026-xpm.dts | 22 - .../arm/boot/dts/tr961-5200l-v1/apq8026.dtsi | 24 - .../tr961-5200l-v1/apq8074-dragonboard.dtsi | 654 - .../boot/dts/tr961-5200l-v1/apq8074-v1.dtsi | 48 - .../tr961-5200l-v1/apq8074-v2-dragonboard.dts | 22 - .../dts/tr961-5200l-v1/apq8074-v2-liquid.dts | 34 - .../boot/dts/tr961-5200l-v1/apq8074-v2.dtsi | 52 - .../boot/dts/tr961-5200l-v1/apq8084-ion.dtsi | 31 - .../dts/tr961-5200l-v1/apq8084-regulator.dtsi | 377 - .../boot/dts/tr961-5200l-v1/apq8084-sim.dts | 173 - .../dts/tr961-5200l-v1/apq8084-smp2p.dtsi | 82 - .../arm/boot/dts/tr961-5200l-v1/apq8084.dtsi | 276 - .../boot/dts/tr961-5200l-v1/at91sam9g20.dtsi | 238 - .../boot/dts/tr961-5200l-v1/at91sam9g25ek.dts | 49 - .../boot/dts/tr961-5200l-v1/at91sam9g45.dtsi | 247 - .../dts/tr961-5200l-v1/at91sam9m10g45ek.dts | 156 - .../boot/dts/tr961-5200l-v1/at91sam9x5.dtsi | 263 - .../boot/dts/tr961-5200l-v1/at91sam9x5cm.dtsi | 74 - .../arm/boot/dts/tr961-5200l-v1/db8500.dtsi | 274 - .../dsi-panel-nt35590-720p-cmd.dtsi | 530 - .../dsi-panel-nt35590-720p-video.dtsi | 524 - .../dsi-panel-orise-720p-video.dtsi | 60 - .../dsi-panel-sharp-qhd-video.dtsi | 67 - .../tr961-5200l-v1/dsi-panel-sim-video.dtsi | 46 - .../dsi-panel-toshiba-720p-video.dtsi | 124 - .../dsi-v2-panel-hx8379a-wvga-video.dtsi | 117 - .../dsi-v2-panel-truly-wvga-video.dtsi | 120 - .../dts/tr961-5200l-v1/exynos4210-origen.dts | 137 - .../tr961-5200l-v1/exynos4210-smdkv310.dts | 182 - .../boot/dts/tr961-5200l-v1/exynos4210.dtsi | 398 - .../tr961-5200l-v1/exynos5250-smdk5250.dts | 26 - .../boot/dts/tr961-5200l-v1/exynos5250.dtsi | 413 - .../boot/dts/tr961-5200l-v1/fsm9900-rumi.dts | 31 - .../boot/dts/tr961-5200l-v1/fsm9900-sim.dts | 32 - .../arm/boot/dts/tr961-5200l-v1/fsm9900.dtsi | 94 - .../arm/boot/dts/tr961-5200l-v1/highbank.dts | 209 - .../tr961-5200l-v1/imx27-phytec-phycore.dts | 76 - .../arm/boot/dts/tr961-5200l-v1/imx27.dtsi | 217 - .../boot/dts/tr961-5200l-v1/imx51-babbage.dts | 221 - .../arm/boot/dts/tr961-5200l-v1/imx51.dtsi | 246 - .../arm/boot/dts/tr961-5200l-v1/imx53-ard.dts | 113 - .../arm/boot/dts/tr961-5200l-v1/imx53-evk.dts | 119 - .../arm/boot/dts/tr961-5200l-v1/imx53-qsb.dts | 125 - .../arm/boot/dts/tr961-5200l-v1/imx53-smd.dts | 168 - .../arm/boot/dts/tr961-5200l-v1/imx53.dtsi | 301 - .../boot/dts/tr961-5200l-v1/imx6q-arm2.dts | 76 - .../dts/tr961-5200l-v1/imx6q-sabrelite.dts | 83 - .../arm/boot/dts/tr961-5200l-v1/imx6q.dtsi | 575 - .../dts/tr961-5200l-v1/kirkwood-dreamplug.dts | 24 - .../arm/boot/dts/tr961-5200l-v1/kirkwood.dtsi | 36 - .../dts/tr961-5200l-v1/mpq8092-iommu.dtsi | 40 - .../boot/dts/tr961-5200l-v1/mpq8092-ion.dtsi | 33 - .../dts/tr961-5200l-v1/mpq8092-regulator.dtsi | 324 - .../boot/dts/tr961-5200l-v1/mpq8092-rumi.dts | 28 - .../boot/dts/tr961-5200l-v1/mpq8092-rumi.dtsi | 134 - .../boot/dts/tr961-5200l-v1/mpq8092-sim.dts | 125 - .../arm/boot/dts/tr961-5200l-v1/mpq8092.dtsi | 240 - .../arm/boot/dts/tr961-5200l-v1/msm-gdsc.dtsi | 63 - .../boot/dts/tr961-5200l-v1/msm-iommu-v0.dtsi | 333 - .../boot/dts/tr961-5200l-v1/msm-iommu-v1.dtsi | 514 - .../msm-pm8019-rpm-regulator.dtsi | 301 - .../boot/dts/tr961-5200l-v1/msm-pm8019.dtsi | 415 - .../msm-pm8110-rpm-regulator.dtsi | 381 - .../boot/dts/tr961-5200l-v1/msm-pm8110.dtsi | 608 - .../msm-pm8226-rpm-regulator.dtsi | 492 - .../boot/dts/tr961-5200l-v1/msm-pm8226.dtsi | 833 - .../boot/dts/tr961-5200l-v1/msm-pm8841.dtsi | 242 - .../boot/dts/tr961-5200l-v1/msm-pm8941.dtsi | 1384 - .../msm-pm8x41-rpm-regulator.dtsi | 585 - .../boot/dts/tr961-5200l-v1/msm-pma8084.dtsi | 666 - .../boot/dts/tr961-5200l-v1/msm8226-bus.dtsi | 1128 - .../msm8226-camera-sensor-cdp.dtsi | 108 - .../msm8226-camera-sensor-mtp.dtsi | 108 - .../msm8226-camera-sensor-qrd.dtsi | 108 - .../dts/tr961-5200l-v1/msm8226-camera.dtsi | 139 - .../boot/dts/tr961-5200l-v1/msm8226-cdp.dtsi | 393 - .../dts/tr961-5200l-v1/msm8226-coresight.dtsi | 377 - .../boot/dts/tr961-5200l-v1/msm8226-fluid.dts | 33 - .../boot/dts/tr961-5200l-v1/msm8226-gpu.dtsi | 161 - .../tr961-5200l-v1/msm8226-iommu-domains.dtsi | 31 - .../dts/tr961-5200l-v1/msm8226-iommu.dtsi | 237 - .../boot/dts/tr961-5200l-v1/msm8226-ion.dtsi | 66 - .../boot/dts/tr961-5200l-v1/msm8226-mdss.dtsi | 80 - .../boot/dts/tr961-5200l-v1/msm8226-mtp.dtsi | 445 - .../boot/dts/tr961-5200l-v1/msm8226-pm.dtsi | 389 - .../boot/dts/tr961-5200l-v1/msm8226-qrd.dtsi | 406 - .../dts/tr961-5200l-v1/msm8226-regulator.dtsi | 460 - .../boot/dts/tr961-5200l-v1/msm8226-sim.dts | 135 - .../dts/tr961-5200l-v1/msm8226-smp2p.dtsi | 225 - .../dts/tr961-5200l-v1/msm8226-v1-cdp.dts | 25 - .../dts/tr961-5200l-v1/msm8226-v1-mtp.dts | 25 - .../dts/tr961-5200l-v1/msm8226-v1-qrd.dts | 25 - .../boot/dts/tr961-5200l-v1/msm8226-v1.dtsi | 19 - .../dts/tr961-5200l-v1/msm8226-v2-cdp.dts | 25 - .../dts/tr961-5200l-v1/msm8226-v2-mtp.dts | 25 - .../dts/tr961-5200l-v1/msm8226-v2-qrd.dts | 25 - .../boot/dts/tr961-5200l-v1/msm8226-v2.dtsi | 19 - .../arm/boot/dts/tr961-5200l-v1/msm8226.dtsi | 1248 - .../boot/dts/tr961-5200l-v1/msm8610-bus.dtsi | 1014 - .../msm8610-camera-sensor-cdp-mtp.dtsi | 116 - .../dts/tr961-5200l-v1/msm8610-camera.dtsi | 80 - .../boot/dts/tr961-5200l-v1/msm8610-cdp.dts | 396 - .../dts/tr961-5200l-v1/msm8610-coresight.dtsi | 357 - .../boot/dts/tr961-5200l-v1/msm8610-gpu.dtsi | 167 - .../tr961-5200l-v1/msm8610-iommu-domains.dtsi | 36 - .../boot/dts/tr961-5200l-v1/msm8610-ion.dtsi | 38 - .../boot/dts/tr961-5200l-v1/msm8610-mdss.dtsi | 37 - .../boot/dts/tr961-5200l-v1/msm8610-mtp.dts | 354 - .../boot/dts/tr961-5200l-v1/msm8610-pm.dtsi | 391 - .../boot/dts/tr961-5200l-v1/msm8610-qrd.dts | 267 - .../dts/tr961-5200l-v1/msm8610-regulator.dtsi | 358 - .../boot/dts/tr961-5200l-v1/msm8610-rumi.dts | 31 - .../boot/dts/tr961-5200l-v1/msm8610-sim.dts | 72 - .../dts/tr961-5200l-v1/msm8610-smp2p.dtsi | 225 - .../arm/boot/dts/tr961-5200l-v1/msm8610.dtsi | 1075 - .../boot/dts/tr961-5200l-v1/msm8660-surf.dts | 24 - .../boot/dts/tr961-5200l-v1/msm8926-cdp.dts | 22 - .../boot/dts/tr961-5200l-v1/msm8926-mtp.dts | 22 - .../boot/dts/tr961-5200l-v1/msm8926-qrd.dts | 21 - .../arm/boot/dts/tr961-5200l-v1/msm8926.dtsi | 30 - .../boot/dts/tr961-5200l-v1/msm8974-bus.dtsi | 1411 - .../msm8974-camera-sensor-cdp.dtsi | 189 - .../msm8974-camera-sensor-dragonboard.dtsi | 174 - .../msm8974-camera-sensor-fluid.dtsi | 190 - .../msm8974-camera-sensor-liquid.dtsi | 190 - .../msm8974-camera-sensor-mtp.dtsi | 191 - .../dts/tr961-5200l-v1/msm8974-camera.dtsi | 215 - .../boot/dts/tr961-5200l-v1/msm8974-cdp.dtsi | 729 - .../dts/tr961-5200l-v1/msm8974-clock.dtsi | 27 - .../dts/tr961-5200l-v1/msm8974-coresight.dtsi | 381 - .../dts/tr961-5200l-v1/msm8974-fluid.dtsi | 667 - .../boot/dts/tr961-5200l-v1/msm8974-gpu.dtsi | 185 - .../boot/dts/tr961-5200l-v1/msm8974-ion.dtsi | 59 - .../boot/dts/tr961-5200l-v1/msm8974-leds.dtsi | 129 - .../dts/tr961-5200l-v1/msm8974-liquid.dtsi | 893 - .../boot/dts/tr961-5200l-v1/msm8974-mdss.dtsi | 148 - .../boot/dts/tr961-5200l-v1/msm8974-mtp.dtsi | 705 - .../dts/tr961-5200l-v1/msm8974-regulator.dtsi | 568 - .../boot/dts/tr961-5200l-v1/msm8974-rumi.dtsi | 146 - .../boot/dts/tr961-5200l-v1/msm8974-sim.dtsi | 93 - .../dts/tr961-5200l-v1/msm8974-smp2p.dtsi | 225 - .../dts/tr961-5200l-v1/msm8974-v1-cdp.dts | 33 - .../dts/tr961-5200l-v1/msm8974-v1-fluid.dts | 33 - .../msm8974-v1-iommu-domains.dtsi | 31 - .../dts/tr961-5200l-v1/msm8974-v1-iommu.dtsi | 40 - .../dts/tr961-5200l-v1/msm8974-v1-liquid.dts | 24 - .../dts/tr961-5200l-v1/msm8974-v1-mtp.dts | 28 - .../dts/tr961-5200l-v1/msm8974-v1-pm.dtsi | 456 - .../dts/tr961-5200l-v1/msm8974-v1-rumi.dts | 24 - .../dts/tr961-5200l-v1/msm8974-v1-sim.dts | 24 - .../boot/dts/tr961-5200l-v1/msm8974-v1.dtsi | 134 - .../dts/tr961-5200l-v1/msm8974-v2-cdp.dts | 36 - .../dts/tr961-5200l-v1/msm8974-v2-fluid.dts | 36 - .../msm8974-v2-iommu-domains.dtsi | 45 - .../dts/tr961-5200l-v1/msm8974-v2-iommu.dtsi | 256 - .../dts/tr961-5200l-v1/msm8974-v2-liquid.dts | 36 - .../dts/tr961-5200l-v1/msm8974-v2-mtp.dts | 40 - .../dts/tr961-5200l-v1/msm8974-v2-pm.dtsi | 452 - .../boot/dts/tr961-5200l-v1/msm8974-v2.dtsi | 138 - .../arm/boot/dts/tr961-5200l-v1/msm8974.dtsi | 1745 -- .../boot/dts/tr961-5200l-v1/msm9625-cdp.dtsi | 100 - .../dts/tr961-5200l-v1/msm9625-coresight.dtsi | 259 - .../dts/tr961-5200l-v1/msm9625-display.dtsi | 20 - .../boot/dts/tr961-5200l-v1/msm9625-ion.dtsi | 35 - .../boot/dts/tr961-5200l-v1/msm9625-mtp.dtsi | 138 - .../boot/dts/tr961-5200l-v1/msm9625-pm.dtsi | 299 - .../dts/tr961-5200l-v1/msm9625-regulator.dtsi | 284 - .../dts/tr961-5200l-v1/msm9625-smp2p.dtsi | 142 - .../dts/tr961-5200l-v1/msm9625-v1-cdp.dts | 24 - .../dts/tr961-5200l-v1/msm9625-v1-mtp.dts | 24 - .../dts/tr961-5200l-v1/msm9625-v1-rumi.dts | 26 - .../boot/dts/tr961-5200l-v1/msm9625-v1.dtsi | 67 - .../dts/tr961-5200l-v1/msm9625-v2-cdp.dts | 24 - .../dts/tr961-5200l-v1/msm9625-v2-mtp.dts | 122 - .../dts/tr961-5200l-v1/msm9625-v2.1-cdp.dts | 24 - .../dts/tr961-5200l-v1/msm9625-v2.1-mtp.dts | 24 - .../boot/dts/tr961-5200l-v1/msm9625-v2.1.dtsi | 41 - .../boot/dts/tr961-5200l-v1/msm9625-v2.dtsi | 54 - .../arm/boot/dts/tr961-5200l-v1/msm9625.dtsi | 864 - .../dts/tr961-5200l-v1/msmkrypton-sim.dts | 25 - .../boot/dts/tr961-5200l-v1/msmkrypton.dtsi | 120 - .../dts/tr961-5200l-v1/msmsamarium-ion.dtsi | 31 - .../dts/tr961-5200l-v1/msmsamarium-rumi.dts | 25 - .../dts/tr961-5200l-v1/msmsamarium-sim.dts | 55 - .../boot/dts/tr961-5200l-v1/msmsamarium.dtsi | 90 - .../arm/boot/dts/tr961-5200l-v1/omap2.dtsi | 67 - .../boot/dts/tr961-5200l-v1/omap3-beagle.dts | 20 - .../arm/boot/dts/tr961-5200l-v1/omap3-evm.dts | 20 - .../arm/boot/dts/tr961-5200l-v1/omap3.dtsi | 117 - .../boot/dts/tr961-5200l-v1/omap4-panda.dts | 20 - .../arm/boot/dts/tr961-5200l-v1/omap4-sdp.dts | 20 - .../arm/boot/dts/tr961-5200l-v1/omap4.dtsi | 159 - .../dts/tr961-5200l-v1/picoxcell-pc3x2.dtsi | 249 - .../dts/tr961-5200l-v1/picoxcell-pc3x3.dtsi | 365 - .../tr961-5200l-v1/picoxcell-pc7302-pc3x2.dts | 86 - .../tr961-5200l-v1/picoxcell-pc7302-pc3x3.dts | 92 - .../arm/boot/dts/tr961-5200l-v1/prima2-cb.dts | 424 - .../dts/tr961-5200l-v1/pxa168-aspenite.dts | 38 - .../arm/boot/dts/tr961-5200l-v1/pxa168.dtsi | 98 - .../tr961-5200l-v1/qpic-panel-ili-qvga.dtsi | 27 - .../arm/boot/dts/tr961-5200l-v1/skeleton.dtsi | 18 - .../boot/dts/tr961-5200l-v1/skeleton64.dtsi | 18 - .../arm/boot/dts/tr961-5200l-v1/snowball.dts | 139 - .../boot/dts/tr961-5200l-v1/spear600-evb.dts | 47 - .../arm/boot/dts/tr961-5200l-v1/spear600.dtsi | 174 - .../boot/dts/tr961-5200l-v1/tegra-cardhu.dts | 70 - .../boot/dts/tr961-5200l-v1/tegra-harmony.dts | 115 - .../boot/dts/tr961-5200l-v1/tegra-paz00.dts | 134 - .../dts/tr961-5200l-v1/tegra-seaboard.dts | 175 - .../dts/tr961-5200l-v1/tegra-trimslice.dts | 77 - .../boot/dts/tr961-5200l-v1/tegra-ventana.dts | 108 - .../arm/boot/dts/tr961-5200l-v1/tegra20.dtsi | 210 - .../arm/boot/dts/tr961-5200l-v1/tegra30.dtsi | 186 - .../testcases/tests-phandle.dtsi | 39 - .../dts/tr961-5200l-v1/testcases/tests.dtsi | 1 - .../dts/tr961-5200l-v1/usb_a9g20-dab-mmx.dtsi | 96 - .../arm/boot/dts/tr961-5200l-v1/usb_a9g20.dts | 130 - .../boot/dts/tr961-5200l-v1/versatile-ab.dts | 192 - .../boot/dts/tr961-5200l-v1/versatile-pb.dts | 50 - .../dts/tr961-5200l-v1/vexpress-v2m-rs1.dtsi | 201 - .../boot/dts/tr961-5200l-v1/vexpress-v2m.dtsi | 200 - .../tr961-5200l-v1/vexpress-v2p-ca15-tc1.dts | 157 - .../dts/tr961-5200l-v1/vexpress-v2p-ca5s.dts | 162 - .../dts/tr961-5200l-v1/vexpress-v2p-ca9.dts | 192 - .../boot/dts/tr961-5200l-v1/zynq-ep107.dts | 52 - .../dts/tr961-5200l-v2/am3517_mt_ventoux.dts | 27 - .../boot/dts/tr961-5200l-v2/apq8026-mtp.dts | 22 - .../boot/dts/tr961-5200l-v2/apq8026-xpm.dts | 22 - .../arm/boot/dts/tr961-5200l-v2/apq8026.dtsi | 24 - .../tr961-5200l-v2/apq8074-dragonboard.dtsi | 654 - .../boot/dts/tr961-5200l-v2/apq8074-v1.dtsi | 48 - .../tr961-5200l-v2/apq8074-v2-dragonboard.dts | 22 - .../dts/tr961-5200l-v2/apq8074-v2-liquid.dts | 34 - .../boot/dts/tr961-5200l-v2/apq8074-v2.dtsi | 52 - .../boot/dts/tr961-5200l-v2/apq8084-ion.dtsi | 31 - .../dts/tr961-5200l-v2/apq8084-regulator.dtsi | 377 - .../boot/dts/tr961-5200l-v2/apq8084-sim.dts | 173 - .../dts/tr961-5200l-v2/apq8084-smp2p.dtsi | 82 - .../arm/boot/dts/tr961-5200l-v2/apq8084.dtsi | 276 - .../boot/dts/tr961-5200l-v2/at91sam9g20.dtsi | 238 - .../boot/dts/tr961-5200l-v2/at91sam9g25ek.dts | 49 - .../boot/dts/tr961-5200l-v2/at91sam9g45.dtsi | 247 - .../dts/tr961-5200l-v2/at91sam9m10g45ek.dts | 156 - .../boot/dts/tr961-5200l-v2/at91sam9x5.dtsi | 263 - .../boot/dts/tr961-5200l-v2/at91sam9x5cm.dtsi | 74 - .../arm/boot/dts/tr961-5200l-v2/db8500.dtsi | 274 - .../dsi-panel-nt35590-720p-cmd.dtsi | 530 - .../dsi-panel-nt35590-720p-video.dtsi | 524 - .../dsi-panel-orise-720p-video.dtsi | 60 - .../dsi-panel-sharp-qhd-video.dtsi | 67 - .../tr961-5200l-v2/dsi-panel-sim-video.dtsi | 46 - .../dsi-panel-toshiba-720p-video.dtsi | 124 - .../dsi-v2-panel-hx8379a-wvga-video.dtsi | 117 - .../dsi-v2-panel-truly-wvga-video.dtsi | 120 - .../dts/tr961-5200l-v2/exynos4210-origen.dts | 137 - .../tr961-5200l-v2/exynos4210-smdkv310.dts | 182 - .../boot/dts/tr961-5200l-v2/exynos4210.dtsi | 398 - .../tr961-5200l-v2/exynos5250-smdk5250.dts | 26 - .../boot/dts/tr961-5200l-v2/exynos5250.dtsi | 413 - .../boot/dts/tr961-5200l-v2/fsm9900-rumi.dts | 31 - .../boot/dts/tr961-5200l-v2/fsm9900-sim.dts | 32 - .../arm/boot/dts/tr961-5200l-v2/fsm9900.dtsi | 94 - .../arm/boot/dts/tr961-5200l-v2/highbank.dts | 209 - .../tr961-5200l-v2/imx27-phytec-phycore.dts | 76 - .../arm/boot/dts/tr961-5200l-v2/imx27.dtsi | 217 - .../boot/dts/tr961-5200l-v2/imx51-babbage.dts | 221 - .../arm/boot/dts/tr961-5200l-v2/imx51.dtsi | 246 - .../arm/boot/dts/tr961-5200l-v2/imx53-ard.dts | 113 - .../arm/boot/dts/tr961-5200l-v2/imx53-evk.dts | 119 - .../arm/boot/dts/tr961-5200l-v2/imx53-qsb.dts | 125 - .../arm/boot/dts/tr961-5200l-v2/imx53-smd.dts | 168 - .../arm/boot/dts/tr961-5200l-v2/imx53.dtsi | 301 - .../boot/dts/tr961-5200l-v2/imx6q-arm2.dts | 76 - .../dts/tr961-5200l-v2/imx6q-sabrelite.dts | 83 - .../arm/boot/dts/tr961-5200l-v2/imx6q.dtsi | 575 - .../dts/tr961-5200l-v2/kirkwood-dreamplug.dts | 24 - .../arm/boot/dts/tr961-5200l-v2/kirkwood.dtsi | 36 - .../dts/tr961-5200l-v2/mpq8092-iommu.dtsi | 40 - .../boot/dts/tr961-5200l-v2/mpq8092-ion.dtsi | 33 - .../dts/tr961-5200l-v2/mpq8092-regulator.dtsi | 324 - .../boot/dts/tr961-5200l-v2/mpq8092-rumi.dts | 28 - .../boot/dts/tr961-5200l-v2/mpq8092-rumi.dtsi | 134 - .../boot/dts/tr961-5200l-v2/mpq8092-sim.dts | 125 - .../arm/boot/dts/tr961-5200l-v2/mpq8092.dtsi | 240 - .../arm/boot/dts/tr961-5200l-v2/msm-gdsc.dtsi | 63 - .../boot/dts/tr961-5200l-v2/msm-iommu-v0.dtsi | 333 - .../boot/dts/tr961-5200l-v2/msm-iommu-v1.dtsi | 514 - .../msm-pm8019-rpm-regulator.dtsi | 301 - .../boot/dts/tr961-5200l-v2/msm-pm8019.dtsi | 415 - .../msm-pm8110-rpm-regulator.dtsi | 381 - .../boot/dts/tr961-5200l-v2/msm-pm8110.dtsi | 608 - .../msm-pm8226-rpm-regulator.dtsi | 492 - .../boot/dts/tr961-5200l-v2/msm-pm8226.dtsi | 833 - .../boot/dts/tr961-5200l-v2/msm-pm8841.dtsi | 242 - .../boot/dts/tr961-5200l-v2/msm-pm8941.dtsi | 1384 - .../msm-pm8x41-rpm-regulator.dtsi | 585 - .../boot/dts/tr961-5200l-v2/msm-pma8084.dtsi | 666 - .../boot/dts/tr961-5200l-v2/msm8226-bus.dtsi | 1128 - .../msm8226-camera-sensor-cdp.dtsi | 108 - .../msm8226-camera-sensor-mtp.dtsi | 108 - .../msm8226-camera-sensor-qrd.dtsi | 108 - .../dts/tr961-5200l-v2/msm8226-camera.dtsi | 139 - .../boot/dts/tr961-5200l-v2/msm8226-cdp.dtsi | 393 - .../dts/tr961-5200l-v2/msm8226-coresight.dtsi | 377 - .../boot/dts/tr961-5200l-v2/msm8226-fluid.dts | 33 - .../boot/dts/tr961-5200l-v2/msm8226-gpu.dtsi | 161 - .../tr961-5200l-v2/msm8226-iommu-domains.dtsi | 31 - .../dts/tr961-5200l-v2/msm8226-iommu.dtsi | 237 - .../boot/dts/tr961-5200l-v2/msm8226-ion.dtsi | 66 - .../boot/dts/tr961-5200l-v2/msm8226-mdss.dtsi | 80 - .../boot/dts/tr961-5200l-v2/msm8226-mtp.dtsi | 445 - .../boot/dts/tr961-5200l-v2/msm8226-pm.dtsi | 389 - .../boot/dts/tr961-5200l-v2/msm8226-qrd.dtsi | 406 - .../dts/tr961-5200l-v2/msm8226-regulator.dtsi | 460 - .../boot/dts/tr961-5200l-v2/msm8226-sim.dts | 135 - .../dts/tr961-5200l-v2/msm8226-smp2p.dtsi | 225 - .../dts/tr961-5200l-v2/msm8226-v1-cdp.dts | 25 - .../dts/tr961-5200l-v2/msm8226-v1-mtp.dts | 25 - .../dts/tr961-5200l-v2/msm8226-v1-qrd.dts | 25 - .../boot/dts/tr961-5200l-v2/msm8226-v1.dtsi | 19 - .../dts/tr961-5200l-v2/msm8226-v2-cdp.dts | 25 - .../dts/tr961-5200l-v2/msm8226-v2-mtp.dts | 25 - .../dts/tr961-5200l-v2/msm8226-v2-qrd.dts | 25 - .../boot/dts/tr961-5200l-v2/msm8226-v2.dtsi | 19 - .../arm/boot/dts/tr961-5200l-v2/msm8226.dtsi | 1248 - .../boot/dts/tr961-5200l-v2/msm8610-bus.dtsi | 1014 - .../msm8610-camera-sensor-cdp-mtp.dtsi | 116 - .../dts/tr961-5200l-v2/msm8610-camera.dtsi | 80 - .../boot/dts/tr961-5200l-v2/msm8610-cdp.dts | 396 - .../dts/tr961-5200l-v2/msm8610-coresight.dtsi | 357 - .../boot/dts/tr961-5200l-v2/msm8610-gpu.dtsi | 167 - .../tr961-5200l-v2/msm8610-iommu-domains.dtsi | 36 - .../boot/dts/tr961-5200l-v2/msm8610-ion.dtsi | 38 - .../boot/dts/tr961-5200l-v2/msm8610-mdss.dtsi | 37 - .../boot/dts/tr961-5200l-v2/msm8610-mtp.dts | 354 - .../boot/dts/tr961-5200l-v2/msm8610-pm.dtsi | 391 - .../boot/dts/tr961-5200l-v2/msm8610-qrd.dts | 267 - .../dts/tr961-5200l-v2/msm8610-regulator.dtsi | 358 - .../boot/dts/tr961-5200l-v2/msm8610-rumi.dts | 31 - .../boot/dts/tr961-5200l-v2/msm8610-sim.dts | 72 - .../dts/tr961-5200l-v2/msm8610-smp2p.dtsi | 225 - .../arm/boot/dts/tr961-5200l-v2/msm8610.dtsi | 1075 - .../boot/dts/tr961-5200l-v2/msm8660-surf.dts | 24 - .../boot/dts/tr961-5200l-v2/msm8926-cdp.dts | 22 - .../boot/dts/tr961-5200l-v2/msm8926-mtp.dts | 22 - .../boot/dts/tr961-5200l-v2/msm8926-qrd.dts | 21 - .../arm/boot/dts/tr961-5200l-v2/msm8926.dtsi | 30 - .../boot/dts/tr961-5200l-v2/msm8974-bus.dtsi | 1411 - .../msm8974-camera-sensor-cdp.dtsi | 189 - .../msm8974-camera-sensor-dragonboard.dtsi | 174 - .../msm8974-camera-sensor-fluid.dtsi | 190 - .../msm8974-camera-sensor-liquid.dtsi | 190 - .../msm8974-camera-sensor-mtp.dtsi | 191 - .../dts/tr961-5200l-v2/msm8974-camera.dtsi | 215 - .../boot/dts/tr961-5200l-v2/msm8974-cdp.dtsi | 729 - .../dts/tr961-5200l-v2/msm8974-clock.dtsi | 27 - .../dts/tr961-5200l-v2/msm8974-coresight.dtsi | 381 - .../dts/tr961-5200l-v2/msm8974-fluid.dtsi | 667 - .../boot/dts/tr961-5200l-v2/msm8974-gpu.dtsi | 185 - .../boot/dts/tr961-5200l-v2/msm8974-ion.dtsi | 59 - .../boot/dts/tr961-5200l-v2/msm8974-leds.dtsi | 129 - .../dts/tr961-5200l-v2/msm8974-liquid.dtsi | 893 - .../boot/dts/tr961-5200l-v2/msm8974-mdss.dtsi | 148 - .../boot/dts/tr961-5200l-v2/msm8974-mtp.dtsi | 705 - .../dts/tr961-5200l-v2/msm8974-regulator.dtsi | 568 - .../boot/dts/tr961-5200l-v2/msm8974-rumi.dtsi | 146 - .../boot/dts/tr961-5200l-v2/msm8974-sim.dtsi | 93 - .../dts/tr961-5200l-v2/msm8974-smp2p.dtsi | 225 - .../dts/tr961-5200l-v2/msm8974-v1-cdp.dts | 33 - .../dts/tr961-5200l-v2/msm8974-v1-fluid.dts | 33 - .../msm8974-v1-iommu-domains.dtsi | 31 - .../dts/tr961-5200l-v2/msm8974-v1-iommu.dtsi | 40 - .../dts/tr961-5200l-v2/msm8974-v1-liquid.dts | 24 - .../dts/tr961-5200l-v2/msm8974-v1-mtp.dts | 28 - .../dts/tr961-5200l-v2/msm8974-v1-pm.dtsi | 456 - .../dts/tr961-5200l-v2/msm8974-v1-rumi.dts | 24 - .../dts/tr961-5200l-v2/msm8974-v1-sim.dts | 24 - .../boot/dts/tr961-5200l-v2/msm8974-v1.dtsi | 134 - .../dts/tr961-5200l-v2/msm8974-v2-cdp.dts | 36 - .../dts/tr961-5200l-v2/msm8974-v2-fluid.dts | 36 - .../msm8974-v2-iommu-domains.dtsi | 45 - .../dts/tr961-5200l-v2/msm8974-v2-iommu.dtsi | 256 - .../dts/tr961-5200l-v2/msm8974-v2-liquid.dts | 36 - .../dts/tr961-5200l-v2/msm8974-v2-mtp.dts | 40 - .../dts/tr961-5200l-v2/msm8974-v2-pm.dtsi | 452 - .../boot/dts/tr961-5200l-v2/msm8974-v2.dtsi | 138 - .../arm/boot/dts/tr961-5200l-v2/msm8974.dtsi | 1745 -- .../boot/dts/tr961-5200l-v2/msm9625-cdp.dtsi | 100 - .../dts/tr961-5200l-v2/msm9625-coresight.dtsi | 259 - .../dts/tr961-5200l-v2/msm9625-display.dtsi | 20 - .../boot/dts/tr961-5200l-v2/msm9625-ion.dtsi | 35 - .../boot/dts/tr961-5200l-v2/msm9625-mtp.dtsi | 138 - .../boot/dts/tr961-5200l-v2/msm9625-pm.dtsi | 299 - .../dts/tr961-5200l-v2/msm9625-regulator.dtsi | 284 - .../dts/tr961-5200l-v2/msm9625-smp2p.dtsi | 142 - .../dts/tr961-5200l-v2/msm9625-v1-cdp.dts | 24 - .../dts/tr961-5200l-v2/msm9625-v1-mtp.dts | 24 - .../dts/tr961-5200l-v2/msm9625-v1-rumi.dts | 26 - .../boot/dts/tr961-5200l-v2/msm9625-v1.dtsi | 67 - .../dts/tr961-5200l-v2/msm9625-v2-cdp.dts | 24 - .../dts/tr961-5200l-v2/msm9625-v2-mtp.dts | 122 - .../dts/tr961-5200l-v2/msm9625-v2.1-cdp.dts | 24 - .../dts/tr961-5200l-v2/msm9625-v2.1-mtp.dts | 24 - .../boot/dts/tr961-5200l-v2/msm9625-v2.1.dtsi | 41 - .../boot/dts/tr961-5200l-v2/msm9625-v2.dtsi | 54 - .../arm/boot/dts/tr961-5200l-v2/msm9625.dtsi | 864 - .../dts/tr961-5200l-v2/msmkrypton-sim.dts | 25 - .../boot/dts/tr961-5200l-v2/msmkrypton.dtsi | 120 - .../dts/tr961-5200l-v2/msmsamarium-ion.dtsi | 31 - .../dts/tr961-5200l-v2/msmsamarium-rumi.dts | 25 - .../dts/tr961-5200l-v2/msmsamarium-sim.dts | 55 - .../boot/dts/tr961-5200l-v2/msmsamarium.dtsi | 90 - .../arm/boot/dts/tr961-5200l-v2/omap2.dtsi | 67 - .../boot/dts/tr961-5200l-v2/omap3-beagle.dts | 20 - .../arm/boot/dts/tr961-5200l-v2/omap3-evm.dts | 20 - .../arm/boot/dts/tr961-5200l-v2/omap3.dtsi | 117 - .../boot/dts/tr961-5200l-v2/omap4-panda.dts | 20 - .../arm/boot/dts/tr961-5200l-v2/omap4-sdp.dts | 20 - .../arm/boot/dts/tr961-5200l-v2/omap4.dtsi | 159 - .../dts/tr961-5200l-v2/picoxcell-pc3x2.dtsi | 249 - .../dts/tr961-5200l-v2/picoxcell-pc3x3.dtsi | 365 - .../tr961-5200l-v2/picoxcell-pc7302-pc3x2.dts | 86 - .../tr961-5200l-v2/picoxcell-pc7302-pc3x3.dts | 92 - .../arm/boot/dts/tr961-5200l-v2/prima2-cb.dts | 424 - .../dts/tr961-5200l-v2/pxa168-aspenite.dts | 38 - .../arm/boot/dts/tr961-5200l-v2/pxa168.dtsi | 98 - .../tr961-5200l-v2/qpic-panel-ili-qvga.dtsi | 27 - .../arm/boot/dts/tr961-5200l-v2/skeleton.dtsi | 18 - .../boot/dts/tr961-5200l-v2/skeleton64.dtsi | 18 - .../arm/boot/dts/tr961-5200l-v2/snowball.dts | 139 - .../boot/dts/tr961-5200l-v2/spear600-evb.dts | 47 - .../arm/boot/dts/tr961-5200l-v2/spear600.dtsi | 174 - .../boot/dts/tr961-5200l-v2/tegra-cardhu.dts | 70 - .../boot/dts/tr961-5200l-v2/tegra-harmony.dts | 115 - .../boot/dts/tr961-5200l-v2/tegra-paz00.dts | 134 - .../dts/tr961-5200l-v2/tegra-seaboard.dts | 175 - .../dts/tr961-5200l-v2/tegra-trimslice.dts | 77 - .../boot/dts/tr961-5200l-v2/tegra-ventana.dts | 108 - .../arm/boot/dts/tr961-5200l-v2/tegra20.dtsi | 210 - .../arm/boot/dts/tr961-5200l-v2/tegra30.dtsi | 186 - .../testcases/tests-phandle.dtsi | 39 - .../dts/tr961-5200l-v2/testcases/tests.dtsi | 1 - .../dts/tr961-5200l-v2/usb_a9g20-dab-mmx.dtsi | 96 - .../arm/boot/dts/tr961-5200l-v2/usb_a9g20.dts | 130 - .../boot/dts/tr961-5200l-v2/versatile-ab.dts | 192 - .../boot/dts/tr961-5200l-v2/versatile-pb.dts | 50 - .../dts/tr961-5200l-v2/vexpress-v2m-rs1.dtsi | 201 - .../boot/dts/tr961-5200l-v2/vexpress-v2m.dtsi | 200 - .../tr961-5200l-v2/vexpress-v2p-ca15-tc1.dts | 157 - .../dts/tr961-5200l-v2/vexpress-v2p-ca5s.dts | 162 - .../dts/tr961-5200l-v2/vexpress-v2p-ca9.dts | 192 - .../boot/dts/tr961-5200l-v2/zynq-ep107.dts | 52 - .../arm/configs/lte_module-v1-perf_defconfig | 342 - .../arch/arm/configs/lte_module-v1_defconfig | 354 - .../arm/configs/m7300-un-v1-perf_defconfig | 337 - kernel/arch/arm/configs/m7300-un-v1_defconfig | 349 - .../arm/configs/m7350-un-v1-perf_defconfig | 339 - kernel/arch/arm/configs/m7350-un-v1_defconfig | 351 - .../arm/configs/m7350-un-v2-perf_defconfig | 339 - .../arm/configs/m7350-un-v3-perf_defconfig | 339 - kernel/arch/arm/configs/m7350-un-v3_defconfig | 351 - .../arch/arm/configs/msm9625-perf_defconfig | 8 +- kernel/arch/arm/configs/msm9625_defconfig | 33 +- ...r961-2500l-mobile-unicom-v1-perf_defconfig | 340 - .../tr961-2500l-mobile-unicom-v1_defconfig | 352 - .../arm/configs/tr961-5200l-v1-perf_defconfig | 344 - .../arch/arm/configs/tr961-5200l-v1_defconfig | 356 - .../arm/configs/tr961-5200l-v2-perf_defconfig | 344 - .../arch/arm/configs/tr961-5200l-v2_defconfig | 356 - kernel/arch/arm/mach-msm/Kconfig | 39 - kernel/arch/arm/mach-msm/Makefile | 39 +- kernel/arch/arm/mach-msm/board-9625-gpiomux.c | 120 - kernel/arch/arm/mach-msm/board-9625.c | 3 - .../mach-msm/board-lte-module-v1-gpiomux.c | 404 - .../arm/mach-msm/board-m7300-un-v1-gpiomux.c | 344 - .../arm/mach-msm/board-m7350-un-v1-gpiomux.c | 381 - .../arm/mach-msm/board-m7350-un-v2-gpiomux.c | 381 - .../arm/mach-msm/board-m7350-un-v3-gpiomux.c | 381 - ...ard-tr961-2500l-mobile-unicom-v1-gpiomux.c | 381 - .../mach-msm/board-tr961-5200l-v1-gpiomux.c | 354 - .../mach-msm/board-tr961-5200l-v2-gpiomux.c | 354 - kernel/arch/arm/mach-msm/clock-9625.c | 2 +- kernel/arch/arm/mach-msm/gpiomux.c | 34 - kernel/arch/arm/mach-msm/pm8019_ext.c | 205 - kernel/arch/arm/mach-msm/pm8019_ext.h | 25 - kernel/arch/arm/mach-msm/restart.c | 2 +- kernel/drivers/Kconfig | 2 - kernel/drivers/Makefile | 4 +- kernel/drivers/char/mem.c | 42 +- kernel/drivers/gpu/msm/adreno.c | 23 +- kernel/drivers/gpu/msm/adreno.h | 45 - kernel/drivers/gpu/msm/adreno_a3xx.c | 59 +- kernel/drivers/gpu/msm/adreno_ringbuffer.c | 26 + kernel/drivers/gpu/msm/kgsl_iommu.c | 16 - kernel/drivers/gpu/msm/kgsl_mmu.c | 4 - kernel/drivers/input/keyboard/gpio_keys.c | 30 +- kernel/drivers/mmc/host/msm_sdcc.c | 7 +- kernel/drivers/mtd/devices/Kconfig | 4 - kernel/drivers/mtd/devices/msm_qpic_nand.c | 24 +- kernel/drivers/mtd/nand/nand_ids.c | 8 - .../drivers/net/ethernet/msm/msm_rmnet_wwan.c | 8 +- kernel/drivers/oled/Kconfig | 19 - kernel/drivers/oled/Makefile | 6 - kernel/drivers/oled/oled_display.c | 184 - kernel/drivers/oled/oled_display.h | 40 - kernel/drivers/oled/oled_pt.c | 274 - kernel/drivers/oled/oled_pt.h | 54 - kernel/drivers/oled/oled_s90319_pt.c | 781 - kernel/drivers/oled/oled_s90319_pt.h | 145 - kernel/drivers/oled/oled_ssd1306_pt.c | 840 - kernel/drivers/oled/oled_ssd1306_pt.h | 272 - kernel/drivers/platform/msm/ipa/a2_service.c | 44 +- kernel/drivers/platform/msm/qpnp-power-on.c | 21 - kernel/drivers/platform/msm/usb_bam.c | 105 +- kernel/drivers/power/Kconfig | 13 - kernel/drivers/power/Makefile | 1 - kernel/drivers/power/mp2617-charger.c | 879 - kernel/drivers/power/power_supply_sysfs.c | 6 +- kernel/drivers/staging/android/logger.c | 6 +- kernel/drivers/usb/core/driver.c | 16 +- kernel/drivers/usb/gadget/android.c | 37 +- kernel/drivers/usb/gadget/f_mass_storage.c | 6 - kernel/drivers/usb/gadget/f_qc_ecm.c | 11 +- kernel/drivers/usb/gadget/f_rndis.c | 5 - kernel/drivers/usb/gadget/u_rmnet_ctrl_qti.c | 4 +- kernel/drivers/usb/host/ehci-msm-hsic.c | 88 +- kernel/drivers/usb/host/hbm.c | 43 +- kernel/drivers/usb/otg/msm_otg.c | 27 +- kernel/fs/yaffs2/yaffs_vfs.c | 12 +- kernel/include/linux/mtd/nand.h | 11 - kernel/include/linux/power_supply.h | 5 - kernel/include/linux/printk.h | 21 - kernel/include/linux/usb/msm_hsusb.h | 10 +- kernel/kernel/panic.c | 1 - kernel/kernel/printk.c | 1738 +- kernel/lib/Kconfig.debug | 39 +- kernel/net/netfilter/nf_conntrack_core.c | 3 +- kernel/net/netfilter/nf_conntrack_proto_tcp.c | 18 +- kernel/net/netfilter/nf_conntrack_proto_udp.c | 38 +- kernel/scripts/mkcompile_h | 4 +- kernel/sound/soc/msm/mdm9625.c | 17 +- kernel/usr/gen_init_cpio.c | 4 +- oe-core/bitbake/lib/bb/COW.pyc | Bin 9867 -> 0 bytes oe-core/bitbake/lib/bb/__init__.pyc | Bin 6679 -> 0 bytes oe-core/bitbake/lib/bb/build.pyc | Bin 16734 -> 0 bytes oe-core/bitbake/lib/bb/cache.pyc | Bin 22607 -> 0 bytes oe-core/bitbake/lib/bb/codeparser.pyc | Bin 15604 -> 0 bytes oe-core/bitbake/lib/bb/command.pyc | Bin 12927 -> 0 bytes oe-core/bitbake/lib/bb/compat.pyc | Bin 2923 -> 0 bytes oe-core/bitbake/lib/bb/cooker.pyc | Bin 54321 -> 0 bytes oe-core/bitbake/lib/bb/daemonize.pyc | Bin 2280 -> 0 bytes oe-core/bitbake/lib/bb/data.pyc | Bin 13643 -> 0 bytes oe-core/bitbake/lib/bb/data_smart.pyc | Bin 15196 -> 0 bytes oe-core/bitbake/lib/bb/event.pyc | Bin 21779 -> 0 bytes oe-core/bitbake/lib/bb/exceptions.pyc | Bin 3676 -> 0 bytes oe-core/bitbake/lib/bb/fetch2/__init__.pyc | Bin 37763 -> 0 bytes oe-core/bitbake/lib/bb/fetch2/bzr.pyc | Bin 5099 -> 0 bytes oe-core/bitbake/lib/bb/fetch2/cvs.pyc | Bin 5405 -> 0 bytes oe-core/bitbake/lib/bb/fetch2/git.pyc | Bin 12074 -> 0 bytes oe-core/bitbake/lib/bb/fetch2/hg.pyc | Bin 5651 -> 0 bytes oe-core/bitbake/lib/bb/fetch2/local.pyc | Bin 3246 -> 0 bytes oe-core/bitbake/lib/bb/fetch2/osc.pyc | Bin 5191 -> 0 bytes oe-core/bitbake/lib/bb/fetch2/perforce.pyc | Bin 5678 -> 0 bytes oe-core/bitbake/lib/bb/fetch2/repo.pyc | Bin 3898 -> 0 bytes oe-core/bitbake/lib/bb/fetch2/ssh.pyc | Bin 3460 -> 0 bytes oe-core/bitbake/lib/bb/fetch2/svk.pyc | Bin 3394 -> 0 bytes oe-core/bitbake/lib/bb/fetch2/svn.pyc | Bin 6116 -> 0 bytes oe-core/bitbake/lib/bb/fetch2/wget.pyc | Bin 3254 -> 0 bytes oe-core/bitbake/lib/bb/methodpool.pyc | Bin 2287 -> 0 bytes oe-core/bitbake/lib/bb/msg.pyc | Bin 4179 -> 0 bytes .../bitbake/lib/bb/namedtuple_with_abc.pyc | Bin 9470 -> 0 bytes oe-core/bitbake/lib/bb/parse/__init__.pyc | Bin 4752 -> 0 bytes oe-core/bitbake/lib/bb/parse/ast.pyc | Bin 19955 -> 0 bytes .../lib/bb/parse/parse_py/BBHandler.pyc | Bin 6276 -> 0 bytes .../lib/bb/parse/parse_py/ConfHandler.pyc | Bin 4069 -> 0 bytes .../lib/bb/parse/parse_py/__init__.pyc | Bin 448 -> 0 bytes oe-core/bitbake/lib/bb/persist_data.pyc | Bin 9908 -> 0 bytes oe-core/bitbake/lib/bb/process.pyc | Bin 4582 -> 0 bytes oe-core/bitbake/lib/bb/providers.pyc | Bin 10700 -> 0 bytes oe-core/bitbake/lib/bb/pysh/__init__.pyc | Bin 158 -> 0 bytes oe-core/bitbake/lib/bb/pysh/pyshlex.pyc | Bin 24986 -> 0 bytes oe-core/bitbake/lib/bb/pysh/pyshtables.py | 176 - oe-core/bitbake/lib/bb/pysh/pyshtables.pyc | Bin 51193 -> 0 bytes oe-core/bitbake/lib/bb/pysh/pyshyacc.pyc | Bin 36580 -> 0 bytes oe-core/bitbake/lib/bb/pysh/sherrors.pyc | Bin 2327 -> 0 bytes oe-core/bitbake/lib/bb/runqueue.pyc | Bin 55105 -> 0 bytes oe-core/bitbake/lib/bb/server/__init__.pyc | Bin 160 -> 0 bytes oe-core/bitbake/lib/bb/server/process.pyc | Bin 10884 -> 0 bytes oe-core/bitbake/lib/bb/server/xmlrpc.pyc | Bin 11439 -> 0 bytes oe-core/bitbake/lib/bb/siggen.pyc | Bin 13052 -> 0 bytes oe-core/bitbake/lib/bb/taskdata.pyc | Bin 19044 -> 0 bytes oe-core/bitbake/lib/bb/ui/__init__.pyc | Bin 156 -> 0 bytes oe-core/bitbake/lib/bb/ui/knotty.pyc | Bin 9094 -> 0 bytes oe-core/bitbake/lib/bb/ui/uievent.pyc | Bin 4667 -> 0 bytes oe-core/bitbake/lib/bb/ui/uihelper.pyc | Bin 1461 -> 0 bytes oe-core/bitbake/lib/bb/utils.pyc | Bin 23965 -> 0 bytes oe-core/bitbake/lib/codegen.pyc | Bin 22559 -> 0 bytes oe-core/bitbake/lib/ply/__init__.pyc | Bin 195 -> 0 bytes oe-core/bitbake/lib/ply/lex.pyc | Bin 27410 -> 0 bytes oe-core/bitbake/lib/ply/yacc.pyc | Bin 64234 -> 0 bytes oe-core/bitbake/lib/progressbar.pyc | Bin 17604 -> 0 bytes oe-core/bitbake/lib/prserv/__init__.pyc | Bin 1026 -> 0 bytes oe-core/bitbake/lib/prserv/db.pyc | Bin 9050 -> 0 bytes oe-core/bitbake/lib/prserv/serv.pyc | Bin 12769 -> 0 bytes oe-core/build/conf/bblayers.conf | 9 - oe-core/build/conf/sanity_info | 3 - ...libbb.h-and-remove-custom-sysin.patch.done | 0 .../0001-No-AltiVec-on-SPE.patch.done | 0 .../0001-certification-fixes.patch.done | 0 .../downloads/0001-enable-backhaul.patch.done | 0 .../0001-enable-http-date.patch.done | 0 .../downloads/0001-events-fix.patch.done | 0 ...use-git-describe-for-versioning.patch.done | 0 oe-core/build/downloads/0001-make.patch.done | 0 ...01-minimal-IEEE802.15.4-allowed.patch.done | 0 .../downloads/0001-mpeg-codec-fix.patch.done | 0 oe-core/build/downloads/0001-patch.patch.done | 0 ...mb-multicast-support-on-network.patch.done | 0 .../build/downloads/0001-port-desc.patch.done | 0 .../0001-presentation-page.patch.done | 0 ...w-control-setting-on-PRIO-qdisc.patch.done | 0 .../downloads/0001-upstream-fixes.patch.done | 0 .../downloads/0002-qcmap-enabled.patch.done | 0 oe-core/build/downloads/00avahi-autoipd.done | 0 .../04-default-is-optimized.patch.done | 0 .../05-enable-ctypes-cross-build.patch.done | 0 .../06-ctypes-libffi-fix-configure.patch.done | 0 .../downloads/09_fix_installperl.patch.done | 0 ...10-distutils-fix-swig-parameter.patch.done | 0 .../downloads/100-uclibc-conf.patch.done | 0 .../103-ubicom32-nattype_lib.patch.done | 0 .../103-uclibc-conf-noupstream.patch.done | 0 ...utils-never-modify-shebang-line.patch.done | 0 ...s-prefix-is-inside-staging-area.patch.done | 0 .../downloads/200-uclibc-locale.patch.done | 0 .../203-uclibc-locale-no__x.patch.done | 0 .../204-uclibc-locale-wchar_fix.patch.done | 0 .../205-uclibc-locale-update.patch.done | 0 .../301-missing-execinfo_h.patch.done | 0 .../downloads/302-c99-snprintf.patch.done | 0 .../303-c99-complex-ugly-hack.patch.done | 0 .../downloads/304-index_macro.patch.done | 0 .../305-libmudflap-susv3-legacy.patch.done | 0 .../306-libstdc++-namespace.patch.done | 0 oe-core/build/downloads/50-log.rules.done | 0 ..._wait-longer-for-threads-to-die.patch.done | 0 oe-core/build/downloads/64bithack.patch.done | 0 .../build/downloads/740-sh-pr24836.patch.done | 0 .../downloads/800-arm-bigendian.patch.done | 0 .../904-flatten-switch-stmt-00.patch.done | 0 oe-core/build/downloads/99avahi-autoipd.done | 0 .../build/downloads/99avahi-daemon.conf.done | 0 oe-core/build/downloads/99avahi-daemon.done | 0 .../downloads/99avahi_multi.service.done | 0 oe-core/build/downloads/B921600.patch.done | 0 .../downloads/COLLECT_GCC_OPTIONS.patch.done | 0 oe-core/build/downloads/COPYING.done | 0 oe-core/build/downloads/COPYING.patch.done | 0 .../downloads/Configure-multilib.patch.done | 0 ...USPLUS_INCLUDE_DIR_with_sysroot.patch.done | 0 oe-core/build/downloads/GPLv2.patch.done | 0 .../downloads/IO-acquire-lock-fix.patch.done | 0 .../Ignore_page_size_assertion.patch.done | 0 oe-core/build/downloads/MCONFIG.done | 0 oe-core/build/downloads/MM_Unix.pm.patch.done | 0 .../build/downloads/Makefile.SH.patch.done | 0 oe-core/build/downloads/Makefile.am.done | 0 oe-core/build/downloads/Makefile.done | 0 oe-core/build/downloads/Makefile.patch.done | 0 oe-core/build/downloads/PD.patch.done | 0 .../build/downloads/Python-2.7.2.tar.bz2.done | 0 .../downloads/XML-Parser-2.41.tar.gz.done | 0 .../downloads/ac_config_links.patch.done | 0 .../build/downloads/ac_init_fix.patch.done | 0 oe-core/build/downloads/acdb-loader.done | 0 oe-core/build/downloads/acdb-mapper.done | 0 oe-core/build/downloads/acdb-rtac.done | 0 oe-core/build/downloads/acinclude.m4.done | 0 .../downloads/acl-2.2.51.src.tar.gz.done | 0 oe-core/build/downloads/aclocal.tgz.done | 0 .../build/downloads/add-diag-user.patch.done | 0 oe-core/build/downloads/add-hash.patch.done | 0 .../downloads/add-license-field.patch.done | 0 .../add-md5module-support.patch.done | 0 .../add-reboot-daemon-group.patch.done | 0 .../add-sdcard-diag-groups.patch.done | 0 oe-core/build/downloads/add-system.patch.done | 0 .../build/downloads/add-verbose.patch.done | 0 .../downloads/add_root_cmd_options.patch.done | 0 .../downloads/add_uname_support.patch.done | 0 oe-core/build/downloads/add_vercmp.patch.done | 0 .../downloads/adduser-empty_pwd.patch.done | 0 oe-core/build/downloads/alignment.sh.done | 0 oe-core/build/downloads/allow-nopw.patch.done | 0 oe-core/build/downloads/amd64.patch.done | 0 .../downloads/arfile_header_split.patch.done | 0 .../downloads/argparse-1.2.1.tar.gz.done | 0 .../build/downloads/arm-nolibfloat.patch.done | 0 .../build/downloads/arm-softfloat.patch.done | 0 .../downloads/arm-thumb-mutex_db5.patch.done | 0 oe-core/build/downloads/arm_backend.diff.done | 0 .../arm_thread_stress_timeout.diff.done | 0 .../build/downloads/armsel-linux.cache.done | 0 .../armv4-eabi-compile-fix.patch.done | 0 oe-core/build/downloads/atfwd-daemon.done | 0 oe-core/build/downloads/ath6kl-utils.done | 0 oe-core/build/downloads/ath6kl_ctrl_wlan.done | 0 .../downloads/attr-2.4.46.src.tar.gz.done | 0 oe-core/build/downloads/audcal.done | 0 oe-core/build/downloads/audio-alsa.done | 0 oe-core/build/downloads/audio_ftm.done | 0 .../downloads/autoconf-2.68.tar.bz2.done | 0 oe-core/build/downloads/autofoo.patch.done | 0 .../autoheader-nonfatal-warnings.patch.done | 0 .../downloads/automake-1.11.2.tar.bz2.done | 0 ...11.2_fix_for_pkglibexec_SCRIPTS.patch.done | 0 .../build/downloads/automountsdcard.sh.done | 0 .../downloads/autoreconf-exclude.patch.done | 0 .../downloads/autoreconf-foreign.patch.done | 0 .../autoreconf-gnuconfigize.patch.done | 0 .../downloads/autoreconf-include.patch.done | 0 oe-core/build/downloads/autotools.patch.done | 0 .../build/downloads/avahi-0.6.31.tar.gz.done | 0 .../build/downloads/avoid-strip.patch.done | 0 ...bsolute_paths_for_general_utils.patch.done | 0 .../build/downloads/avoid_static.patch.done | 0 .../build/downloads/avoid_strip.patch.done | 0 oe-core/build/downloads/banner.sh.done | 0 .../downloads/base-passwd_3.5.22.tar.gz.done | 0 oe-core/build/downloads/bash-4.2.tar.gz.done | 0 oe-core/build/downloads/bash42-001.done | 0 oe-core/build/downloads/bash42-002.done | 0 oe-core/build/downloads/bash42-003.done | 0 oe-core/build/downloads/bash42-004.done | 0 oe-core/build/downloads/bash42-005.done | 0 oe-core/build/downloads/bash42-006.done | 0 oe-core/build/downloads/bash42-007.done | 0 oe-core/build/downloads/bash42-008.done | 0 oe-core/build/downloads/bash42-009.done | 0 oe-core/build/downloads/bash42-010.done | 0 .../binutils-2.19.1-ld-sysroot.patch.done | 0 .../downloads/binutils-2.22.tar.bz2.done | 0 .../downloads/binutils-poison.patch.done | 0 .../binutils-powerpc-e5500.patch.done | 0 ...binutils-uclibc-100-uclibc-conf.patch.done | 0 ...clibc-300-001_ld_makefile_patch.patch.done | 0 ...clibc-300-006_better_file_error.patch.done | 0 ...-300-012_check_ldrunpath_length.patch.done | 0 .../binutils-uclibc-gas-needs-libm.patch.done | 0 .../binutils-x86_64_i386_biarch.patch.done | 0 oe-core/build/downloads/bison-2.5.tar.gz.done | 0 .../blobmsg_add_json_from_file.patch.done | 0 oe-core/build/downloads/bootlogd.init.done | 0 oe-core/build/downloads/bootmisc.sh.done | 0 .../downloads/busybox-1.18.5.tar.bz2.done | 0 .../busybox-appletlib-dependency.patch.done | 0 oe-core/build/downloads/busybox-cron.done | 0 oe-core/build/downloads/busybox-httpd.done | 0 oe-core/build/downloads/busybox-udhcpd.done | 0 .../build/downloads/bzip2-1.0.6.tar.gz.done | 0 .../downloads/c_rehash-compat.patch.done | 0 oe-core/build/downloads/ca.patch.done | 0 .../build/downloads/cache-amnesia.patch.done | 0 .../build/downloads/check_snprintf.patch.done | 0 .../build/downloads/check_version.patch.done | 0 oe-core/build/downloads/checkfs.sh.done | 0 oe-core/build/downloads/checkroot.sh.done | 0 oe-core/build/downloads/chgrp-diag.done | 0 .../build/downloads/clone-shadow.patch.done | 0 .../build/downloads/cmake-2.8.5.tar.gz.done | 0 oe-core/build/downloads/compat-wireless.done | 0 .../downloads/config-guess-uclibc.patch.done | 0 oe-core/build/downloads/config.cache.done | 0 oe-core/build/downloads/config.sh-32-be.done | 0 oe-core/build/downloads/config.sh-32-le.done | 0 oe-core/build/downloads/config.sh-32.done | 0 oe-core/build/downloads/config.sh-64-be.done | 0 oe-core/build/downloads/config.sh-64-le.done | 0 oe-core/build/downloads/config.sh-64.done | 0 oe-core/build/downloads/config.sh.done | 0 .../build/downloads/config_site.patch.done | 0 oe-core/build/downloads/configdb.done | 0 .../downloads/configure-cross.patch.done | 0 .../build/downloads/configure-fix.patch.done | 0 .../downloads/configure-libtool.patch.done | 0 .../downloads/configure-targets.patch.done | 0 oe-core/build/downloads/configure.ac.done | 0 oe-core/build/downloads/configure.patch.done | 0 .../connector-msg-size-fix.patch.done | 0 .../conntrack-tools-1.0.1.tar.bz2.done | 0 oe-core/build/downloads/core.done | 0 .../downloads/cpan_definstalldirs.diff.done | 0 .../downloads/cpanplus_config_path.diff.done | 0 .../cpanplus_definstalldirs.diff.done | 0 .../cross-generate_uudmap.patch.done | 0 oe-core/build/downloads/crypt-lib.patch.done | 0 oe-core/build/downloads/csd-server.done | 0 .../build/downloads/curl-7.23.1.tar.bz2.done | 0 .../build/downloads/cvs-20040608.patch.done | 0 oe-core/build/downloads/cxm-apps.done | 0 oe-core/build/downloads/data-init.done | 0 oe-core/build/downloads/data-ipa-cfg-mgr.done | 0 oe-core/build/downloads/data.done | 0 oe-core/build/downloads/db-5.1.19.tar.gz.done | 0 oe-core/build/downloads/db_file_ver.diff.done | 0 .../build/downloads/dbus-1.4.16.tar.gz.done | 0 oe-core/build/downloads/dbus-1.init.done | 0 .../build/downloads/debian-targets.patch.done | 0 oe-core/build/downloads/debug.patch.done | 0 oe-core/build/downloads/default.script.done | 0 oe-core/build/downloads/defconfig-ath6kl.done | 0 oe-core/build/downloads/defconfig.done | 0 oe-core/build/downloads/defines.h.done | 0 .../downloads/deprecate-with-apt.diff.done | 0 .../desktop-file-utils-0.15.tar.gz.done | 0 oe-core/build/downloads/device_table.txt.done | 0 oe-core/build/downloads/devpts.done | 0 oe-core/build/downloads/devpts.sh.done | 0 .../downloads/dhcpcd-5.2.10.tar.bz2.done | 0 oe-core/build/downloads/diag-reboot-app.done | 0 oe-core/build/downloads/diag.done | 0 .../build/downloads/disable-legacy.patch.done | 0 .../downloads/disable-xmms-plugin.patch.done | 0 .../downloads/disable-zlib-bundling.diff.done | 0 .../build/downloads/disable_man.patch.done | 0 .../disable_relax_pic_calls_flag.patch.done | 0 .../build/downloads/dnsmasq-2.55.tar.gz.done | 0 oe-core/build/downloads/dnsmasq.conf.done | 0 .../build/downloads/do-autoreconf.diff.done | 0 oe-core/build/downloads/doc_info.diff.done | 0 .../document_makemaker_ccflags.diff.done | 0 oe-core/build/downloads/dot.bashrc.done | 0 oe-core/build/downloads/dot.profile.done | 0 .../downloads/dpkg_1.15.8.11.tar.bz2.done | 0 ...ropbear-0.53.1-static_build_fix.patch.done | 0 .../downloads/dropbear-2011.54.tar.gz.done | 0 .../downloads/dso-link-change.patch.done | 0 oe-core/build/downloads/dsutils.done | 0 oe-core/build/downloads/dump.done | 0 .../downloads/ebtables-v2.0.10-4.tar.gz.done | 0 ...libc.org_.svn.branches._15508_.tar.gz.done | 0 ...vn-arm-lowlevellock-include-tls.patch.done | 0 .../build/downloads/elf_additions.diff.done | 0 .../downloads/elfutils-0.148.tar.bz2.done | 0 .../build/downloads/elfutils-fsize.patch.done | 0 oe-core/build/downloads/enc2xs_inc.diff.done | 0 .../engines-install-in-libdir-ssl.patch.done | 0 oe-core/build/downloads/errno_ver.diff.done | 0 .../build/downloads/execute_cmd.patch.done | 0 .../build/downloads/expat-2.0.1.tar.gz.done | 0 .../extutils-cbuilder-cflags.diff.done | 0 .../extutils_set_libperl_path.diff.done | 0 oe-core/build/downloads/fakeroot.diff.done | 0 .../build/downloads/fdisk_nios2.patch.done | 0 .../build/downloads/ffmpeg-1.1.tar.gz.done | 0 oe-core/build/downloads/file-5.09.tar.gz.done | 0 oe-core/build/downloads/filesystems.done | 0 .../build/downloads/find-touchscreen.sh.done | 0 .../build/downloads/find_html2text.diff.done | 0 oe-core/build/downloads/finish.sh.done | 0 .../build/downloads/fix-2kb-keys.patch.done | 0 .../downloads/fix-compilation-bug.patch.done | 0 .../downloads/fix-final-rpath.patch.done | 0 .../downloads/fix-for-ice-50099.patch.done | 0 .../fix-iptunnel-location.patch.done | 0 .../build/downloads/fix-pc-file.patch.done | 0 .../fix-pcre-name-collision.patch.done | 0 .../fix-pktloc_syntax_h-race.patch.done | 0 oe-core/build/downloads/fix-rpath.patch.done | 0 .../fix.inverted.LFS.logic.patch.done | 0 .../downloads/fix_STT_GNU_IFUNC.patch.done | 0 .../build/downloads/fix_bad_rpath.patch.done | 0 .../fix_for_automake_1.11.2.patch.done | 0 .../downloads/fix_for_gcc-4.7.patch.done | 0 .../downloads/fix_installorder.patch.done | 0 .../build/downloads/fix_path_xtra.patch.done | 0 .../downloads/fix_version_check.patch.done | 0 .../downloads/fix_version_info.patch.done | 0 oe-core/build/downloads/fixinstall.patch.done | 0 .../build/downloads/flac-1.2.1.tar.gz.done | 0 .../downloads/flac-gcc43-fixes.patch.done | 0 .../build/downloads/flex-2.5.35.tar.bz2.done | 0 .../fortran-cross-compile-hack.patch.done | 0 .../downloads/fprint-pointer-fix.patch.done | 0 oe-core/build/downloads/fs_config.done | 0 oe-core/build/downloads/fstab.done | 0 oe-core/build/downloads/functions.done | 0 .../downloads/g_once_init_enter.patch.done | 0 oe-core/build/downloads/garden-app.done | 0 ...gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch.done | 0 ...4.3.3-SYSROOT_CFLAGS_FOR_TARGET.patch.done | 0 ....org_.svn.gcc.branches_181430_.tar.gz.done | 0 .../downloads/gcc-arm-set-cost.patch.done | 0 .../downloads/gcc-flags-for-build.patch.done | 0 .../gcc-poison-dir-extend.patch.done | 0 .../gcc-poison-system-directories.patch.done | 0 ...c-uclibc-locale-ctype_touplow_t.patch.done | 0 .../gcc-with-linker-hash-style.patch.done | 0 oe-core/build/downloads/gdb-7.3.1.tar.gz.done | 0 oe-core/build/downloads/gdbm-1.10.tar.gz.done | 0 .../downloads/gdbserver-cflags-last.diff.done | 0 .../build/downloads/generate-sh.patch.done | 0 .../downloads/generate-supported.mk.done | 0 oe-core/build/downloads/geninit.done | 0 .../build/downloads/get_header_tar.patch.done | 0 .../downloads/gettext-0.18.1.1.tar.gz.done | 0 oe-core/build/downloads/git-1.7.7.tar.gz.done | 0 ...ux.kernel.git.shemminger.iproute2.git.done | 0 .../git.lttng.org.lttng-ust.git.done | 0 ...it.yoctoproject.org.prelink-cross.git.done | 0 ...hub.com.maru-sama.rtsp-linux-v2.6.git.done | 0 .../github.com.philb.update-rc.d.git.done | 0 .../github.com.troglobit.pimd.git.done | 0 .../downloads/glib-2.0_fix_for_x32.patch.done | 0 .../build/downloads/glib-2.30.2.tar.bz2.done | 0 .../downloads/glib-gettextize-dir.patch.done | 0 .../build/downloads/glibconfig-sysdefs.h.done | 0 .../build/downloads/gmp-5.0.2.tar.bz2.done | 0 oe-core/build/downloads/gmp_bugfix.patch.done | 0 .../downloads/gmp_fix_for_x32.patch.done | 0 .../gnu-config-yocto-20111111.tgz.done | 0 oe-core/build/downloads/gnu-configize.in.done | 0 .../build/downloads/gperf-3.0.4.tar.gz.done | 0 oe-core/build/downloads/gps.done | 0 .../downloads/grab_module_memset.patch.done | 0 oe-core/build/downloads/group.done | 0 oe-core/build/downloads/gtk-doc.m4.done | 0 oe-core/build/downloads/gzip-1.4.tar.gz.done | 0 .../build/downloads/h2ph-multiarch.diff.done | 0 .../build/downloads/hack_uci_save.patch.done | 0 oe-core/build/downloads/halt.done | 0 .../downloads/header-include-fix.patch.done | 0 oe-core/build/downloads/host.conf.done | 0 oe-core/build/downloads/hostap.done | 0 oe-core/build/downloads/hostname.sh.done | 0 oe-core/build/downloads/hosts.done | 0 .../build/downloads/hppa_backend.diff.done | 0 .../build/downloads/hurd-ccflags.diff.done | 0 oe-core/build/downloads/hurd-hints.diff.done | 0 oe-core/build/downloads/hwclock-default.done | 0 oe-core/build/downloads/hwclock.sh.done | 0 oe-core/build/downloads/i386_dis.h.done | 0 .../downloads/ieee80215-arphrd.patch.done | 0 .../downloads/ignore_extra_fields.patch.done | 0 .../index-ignore-filenotfound.patch.done | 0 .../build/downloads/index-tainting.diff.done | 0 .../build/downloads/index.html.lighttpd.done | 0 oe-core/build/downloads/inetd.conf.done | 0 oe-core/build/downloads/inetd.done | 0 oe-core/build/downloads/init.done | 0 oe-core/build/downloads/init_qcom_audio.done | 0 oe-core/build/downloads/initscript.patch.done | 0 oe-core/build/downloads/inittab.done | 0 oe-core/build/downloads/inputrc.done | 0 oe-core/build/downloads/install.patch.done | 0 .../build/downloads/installperl.patch.done | 0 .../build/downloads/instmodsh_doc.diff.done | 0 oe-core/build/downloads/interfaces.done | 0 .../downloads/intltool-0.40.6.tar.bz2.done | 0 .../intltool-nowarn-0.40.0.patch.done | 0 .../build/downloads/iperf-2.0.5.tar.gz.done | 0 .../downloads/iptables-1.4.12.1.tar.bz2.done | 0 oe-core/build/downloads/ipth_dme.done | 0 oe-core/build/downloads/ipv6-cross.patch.done | 0 oe-core/build/downloads/issue.done | 0 oe-core/build/downloads/issue.net.done | 0 oe-core/build/downloads/iw-3.6.tar.bz2.done | 0 .../build/downloads/jquery-1.9.1.min.js.done | 0 .../jquery-ui-1.10.1.custom.zip.done | 0 .../build/downloads/json-c-0.9.tar.gz.done | 0 .../build/downloads/kbd-1.15.2.tar.bz2.done | 0 oe-core/build/downloads/kernel-tests.done | 0 oe-core/build/downloads/keymap.sh.done | 0 .../downloads/kill_arm_map_symbols.patch.done | 0 oe-core/build/downloads/ld.so.conf.done | 0 oe-core/build/downloads/ld_run_path.diff.done | 0 .../downloads/letgcc-find-errno.patch.done | 0 .../build/downloads/libcap-2.22.tar.bz2.done | 0 .../downloads/libdaemon-0.14.tar.gz.done | 0 .../downloads/libexif-0.6.21.tar.gz.done | 0 .../build/downloads/libffi-3.0.10.tar.gz.done | 0 .../downloads/libghttp_1.0.9-17.patch.done | 0 .../downloads/libghttp_1.0.9.orig.tar.gz.done | 0 .../downloads/libiberty_path_fix.patch.done | 0 .../downloads/libid3tag-0.15.1b.tar.gz.done | 0 .../downloads/libjpeg-turbo-1.2.1.tar.gz.done | 0 .../downloads/libnet_config_path.diff.done | 0 .../libnetfilter_conntrack-0.9.1.tar.bz2.done | 0 .../downloads/libnfnetlink-1.0.0.tar.bz2.done | 0 oe-core/build/downloads/libnl-2.0.tar.gz.done | 0 .../build/downloads/libogg-1.3.0.tar.gz.done | 0 .../build/downloads/libpcap-1.1.1.tar.gz.done | 0 .../downloads/libperl_embed_doc.diff.done | 0 .../downloads/libtool-2.4-update.patch.done | 0 .../build/downloads/libtool-2.4.2.tar.gz.done | 0 .../downloads/libtool-rpath-fix.patch.done | 0 .../downloads/libvorbis-1.3.3.tar.gz.done | 0 .../build/downloads/libxml-64bit.patch.done | 0 .../build/downloads/libxml2-2.7.8.tar.gz.done | 0 .../downloads/lighttpd-1.4.30.tar.bz2.done | 0 oe-core/build/downloads/lighttpd.conf.done | 0 oe-core/build/downloads/lighttpd.done | 0 oe-core/build/downloads/lighttpd.user.done | 0 .../build/downloads/linux-3.1.tar.bz2.done | 0 oe-core/build/downloads/lk.done | 0 oe-core/build/downloads/location-xtra.done | 0 .../downloads/login.defs_shadow-sysroot.done | 0 .../build/downloads/login_defs_pam.sed.done | 0 oe-core/build/downloads/ls.done | 0 oe-core/build/downloads/lzo-2.06.tar.gz.done | 0 oe-core/build/downloads/m4-1.4.16.tar.gz.done | 0 oe-core/build/downloads/m4.patch.done | 0 .../build/downloads/m68k_backend.diff.done | 0 .../downloads/m68k_thread_stress.diff.done | 0 oe-core/build/downloads/macros.prelink.done | 0 .../build/downloads/make-targets.patch.done | 0 oe-core/build/downloads/make_include.done | 0 oe-core/build/downloads/makedevs.c.done | 0 oe-core/build/downloads/man-dir.patch.done | 0 .../build/downloads/man-section.patch.done | 0 oe-core/build/downloads/man.patch.done | 0 oe-core/build/downloads/mbim.done | 0 oe-core/build/downloads/mdev.conf.done | 0 oe-core/build/downloads/mdev.done | 0 oe-core/build/downloads/mdm9615-ld.patch.done | 0 oe-core/build/downloads/mdm9625.com.key.done | 0 oe-core/build/downloads/mdm9625.com.pem.done | 0 oe-core/build/downloads/mempcpy.patch.done | 0 .../downloads/memtester-4.3.0.tar.gz.done | 0 .../downloads/minidlna-1.1.1.tar.gz.done | 0 .../downloads/minidlna_1.0.25_src.tar.gz.done | 0 .../miniupnpd-1.8.20130521.tar.gz.done | 0 .../downloads/mips-rld-map-check.patch.done | 0 .../build/downloads/mips_backend.diff.done | 0 .../build/downloads/mklibs_0.1.33.tar.gz.done | 0 oe-core/build/downloads/mm-audio.done | 0 oe-core/build/downloads/mod_paths.diff.done | 0 .../build/downloads/modem-shutdown.sh.done | 0 .../module-build-home-directory.diff.done | 0 .../module-init-tools-3.16.tar.bz2.done | 0 .../module_build_man_extensions.diff.done | 0 oe-core/build/downloads/modutils.sh.done | 0 .../downloads/modutils_extension.patch.done | 0 oe-core/build/downloads/motd.done | 0 oe-core/build/downloads/mount.busybox.done | 0 oe-core/build/downloads/mountall.done | 0 oe-core/build/downloads/mountall.sh.done | 0 oe-core/build/downloads/mountnfs.sh.done | 0 oe-core/build/downloads/mpc-0.8.2.tar.gz.done | 0 .../build/downloads/mpfr-3.1.0.tar.bz2.done | 0 oe-core/build/downloads/mtime-int.patch.done | 0 oe-core/build/downloads/multilib.patch.done | 0 .../downloads/multilib_readlib.patch.done | 0 .../downloads/native-nopacklist.patch.done | 0 .../build/downloads/native-perlinc.patch.done | 0 .../downloads/nbd.name.luci2.libubox.git.done | 0 .../downloads/nbd.name.luci2.ubus.git.done | 0 oe-core/build/downloads/nbd.name.uci.git.done | 0 .../build/downloads/ncurses-5.9.tar.gz.done | 0 oe-core/build/downloads/need.done | 0 .../build/downloads/net_smtp_docs.diff.done | 0 .../build/downloads/netbase_4.47.tar.gz.done | 0 oe-core/build/downloads/nfsroot.done | 0 oe-core/build/downloads/no-rpath.patch.done | 0 .../build/downloads/no-symbolic.patch.done | 0 oe-core/build/downloads/no-werror.patch.done | 0 .../downloads/no_packlist_perllocal.diff.done | 0 oe-core/build/downloads/nobash.patch.done | 0 oe-core/build/downloads/nohostlibs.patch.done | 0 .../build/downloads/noldlibpath.patch.done | 0 oe-core/build/downloads/noman.patch.done | 0 .../build/downloads/nss-mdns-0.10.tar.gz.done | 0 oe-core/build/downloads/nsswitch.conf.done | 0 oe-core/build/downloads/ntfs-3g.tar.gz.done | 0 .../downloads/ocf-linux-20100325.tar.gz.done | 0 oe-core/build/downloads/oe-config.patch.done | 0 oe-core/build/downloads/oe-ldflags.patch.done | 0 .../downloads/offline_postinstall.patch.done | 0 .../downloads/openssl-1.0.0f.tar.gz.done | 0 .../downloads/openssl-fix-link.patch.done | 0 oe-core/build/downloads/openssl.cnf.done | 0 .../downloads/openssl_fix_for_x32.patch.done | 0 .../downloads/opkg-config-base_1.0.bb.done | 0 ...oko.org_.trunk.src.host._4747_.tar.gz.done | 0 .../downloads/optional_libstdc.patch.done | 0 oe-core/build/downloads/passwd.done | 0 .../downloads/passwd_rotate_check.patch.done | 0 .../downloads/pax-utils-0.2.2.tar.bz2.done | 0 .../build/downloads/pcre-8.21.tar.bz2.done | 0 oe-core/build/downloads/pcre-cross.patch.done | 0 .../build/downloads/perfile_rpmdeps.sh.done | 0 .../build/downloads/perl-5.14.2.tar.gz.done | 0 .../downloads/perl-configpm-switch.patch.done | 0 .../build/downloads/perl-dynloader.patch.done | 0 .../downloads/perl-enable-gdbm.patch.done | 0 .../downloads/perl-moreconfig.patch.done | 0 oe-core/build/downloads/perlivp.diff.done | 0 oe-core/build/downloads/perllibdir.patch.done | 0 oe-core/build/downloads/pic.patch.done | 0 .../downloads/pkg-config-0.25.tar.gz.done | 0 oe-core/build/downloads/pkg-config.patch.done | 0 .../build/downloads/pkgconfig_fix.patch.done | 0 oe-core/build/downloads/pod_fixes.diff.done | 0 oe-core/build/downloads/popt-1.16.tar.gz.done | 0 .../build/downloads/populate-volatile.sh.done | 0 oe-core/build/downloads/powerapp.done | 0 .../build/downloads/powerpc-e5500.patch.done | 0 oe-core/build/downloads/ppc-sqrt.patch.done | 0 oe-core/build/downloads/pr32219.patch.done | 0 oe-core/build/downloads/pr46934.patch.done | 0 oe-core/build/downloads/pr47551.patch.done | 0 ...pio-over-pax-for-ustar-archives.patch.done | 0 .../downloads/prefix-manpage-fix.patch.done | 0 oe-core/build/downloads/prefix.patch.done | 0 .../build/downloads/prefix_changes.diff.done | 0 oe-core/build/downloads/preinst.patch.done | 0 oe-core/build/downloads/prelink.conf.done | 0 .../build/downloads/prelink.cron.daily.done | 0 oe-core/build/downloads/prelink.default.done | 0 oe-core/build/downloads/profile.d.done | 0 oe-core/build/downloads/profile.done | 0 .../build/downloads/program_prefix.patch.done | 0 oe-core/build/downloads/provide.done | 0 oe-core/build/downloads/prune_libs.diff.done | 0 .../build/downloads/pseudo-1.2.tar.bz2.done | 0 .../build/downloads/python-libdir.patch.done | 0 oe-core/build/downloads/pythondeps.sh.done | 0 oe-core/build/downloads/qmi-framework.done | 0 .../build/downloads/qmi-shutdown-modem.done | 0 oe-core/build/downloads/qmi.done | 0 oe-core/build/downloads/qrngd.done | 0 .../build/downloads/quilt-0.50.tar.gz.done | 0 oe-core/build/downloads/rc.done | 0 oe-core/build/downloads/rcS-default.done | 0 oe-core/build/downloads/rcS.done | 0 .../build/downloads/readline-6.2.tar.gz.done | 0 oe-core/build/downloads/reboot-daemon.done | 0 oe-core/build/downloads/reboot.done | 0 oe-core/build/downloads/recovery.done | 0 .../downloads/redhat-portability.diff.done | 0 .../downloads/redhat-robustify.diff.done | 0 .../downloads/relative-libdir.patch.done | 0 .../build/downloads/remove-index.patch.done | 0 .../build/downloads/remove-unused.patch.done | 0 .../remove-usr-local-lib-from-m4.patch.done | 0 .../downloads/remove_timestamp.patch.done | 0 .../downloads/rename-with-sysroot.patch.done | 0 .../build/downloads/respect_umask.diff.done | 0 oe-core/build/downloads/rmnologin.sh.done | 0 oe-core/build/downloads/root-home.patch.done | 0 .../rpm-5.4.0-0.20101229.src.rpm.done | 0 .../build/downloads/rpm-autogen.patch.done | 0 .../build/downloads/rpm-canonarch.patch.done | 0 .../build/downloads/rpm-db-reduce.patch.done | 0 .../build/downloads/rpm-fileclass.patch.done | 0 .../build/downloads/rpm-libsql-fix.patch.done | 0 .../downloads/rpm-log-auto-rm.patch.done | 0 .../build/downloads/rpm-no-loopmsg.patch.done | 0 .../build/downloads/rpm-nofsync.patch.done | 0 .../build/downloads/rpm-platform.patch.done | 0 .../rpm-scriptletexechelper.patch.done | 0 oe-core/build/downloads/rpm-showrc.patch.done | 0 .../build/downloads/rpm-solvedb.patch.done | 0 .../rpm-tools-mtree-LDFLAGS.patch.done | 0 .../build/downloads/run-postinsts.awk.done | 0 oe-core/build/downloads/run-postinsts.done | 0 .../build/downloads/samba-3.6.22.tar.gz.done | 0 .../build/downloads/samba_3.6.22.patch.done | 0 oe-core/build/downloads/save-rtc.sh.done | 0 oe-core/build/downloads/securetty.done | 0 oe-core/build/downloads/sendsigs.done | 0 oe-core/build/downloads/set-console.done | 0 .../downloads/setuptools-0.6c11.tar.gz.done | 0 oe-core/build/downloads/sh4-asmfix.patch.done | 0 .../shadow-4.1.3-dots-in-usernames.patch.done | 0 ...w-4.1.4.2-env-reset-keep-locale.patch.done | 0 ...adow-4.1.4.2-groupmod-pam-check.patch.done | 0 ...adow-4.1.4.2-su_no_sanitize_env.patch.done | 0 .../downloads/shadow-4.1.4.3.tar.bz2.done | 0 .../shadow-update-pam-conf.patch.done | 0 .../downloads/shadow.automake-1.11.patch.done | 0 oe-core/build/downloads/shadow.done | 0 .../build/downloads/shared-libs.patch.done | 0 oe-core/build/downloads/shebang.patch.done | 0 .../downloads/sim-install-6.6.patch.done | 0 oe-core/build/downloads/simple.script.done | 0 oe-core/build/downloads/single.done | 0 .../downloads/skip-kfreebsd-crash.diff.done | 0 .../skip-upstream-git-tests.diff.done | 0 .../build/downloads/smb_anony_ro.conf.done | 0 .../build/downloads/smb_anony_rw.conf.done | 0 .../build/downloads/smb_signed_rw.conf.done | 0 .../sqlite-autoconf-3070900.tar.gz.done | 0 .../sqlite-autoconf-3071502.tar.gz.done | 0 .../squelch-locale-warnings.diff.done | 0 .../downloads/stack-protector-test.patch.done | 0 oe-core/build/downloads/start_samba.done | 0 .../build/downloads/static_sqlite.patch.done | 0 oe-core/build/downloads/stop_samba.done | 0 .../build/downloads/strace-4.6.tar.xz.done | 0 .../support-oe-qt4-tools-names.patch.done | 0 oe-core/build/downloads/swapargs.h.done | 0 ...-syslog-socket-timeout-kfreebsd.patch.done | 0 oe-core/build/downloads/sysfs.sh.done | 0 oe-core/build/downloads/syslog.conf.done | 0 oe-core/build/downloads/syslog.done | 0 .../downloads/sysvinit-2.88dsf.tar.bz2.done | 0 oe-core/build/downloads/target.done | 0 .../build/downloads/task-core-boot.bb.done | 0 .../downloads/tcp_wrappers_7.6.tar.gz.done | 0 .../build/downloads/tcpdump-4.1.1.tar.gz.done | 0 .../tcpdump_configure_no_-O2.patch.done | 0 oe-core/build/downloads/test.done | 0 .../testsuite-ignore-elflint.diff.done | 0 oe-core/build/downloads/thermal-engine.done | 0 oe-core/build/downloads/tic-hang.patch.done | 0 oe-core/build/downloads/time-services.done | 0 .../downloads/tinylogin-1.4.tar.bz2.done | 0 oe-core/build/downloads/tmpdir.patch.done | 0 oe-core/build/downloads/tp-domain.bb | 1 - oe-core/build/downloads/tp-domain.bb.done | 0 oe-core/build/downloads/tp_domain.c.done | 0 oe-core/build/downloads/tp_domain.h.done | 0 .../build/downloads/track_parents.patch.done | 0 .../build/downloads/trailingslash.patch.done | 0 ..._opkg.googlecode.com_.svn_633_.tar.gz.done | 0 oe-core/build/downloads/ubusd.done | 0 .../uclibc-__progname-conflict.patch.done | 0 .../downloads/udhcpc-fix-nfsroot.patch.done | 0 .../downloads/udhcpc-new-nfsroot.patch.done | 0 .../build/downloads/udhcpscript.patch.done | 0 oe-core/build/downloads/umount.busybox.done | 0 oe-core/build/downloads/umountfs.done | 0 oe-core/build/downloads/umountnfs.sh.done | 0 oe-core/build/downloads/unifdef.c.done | 0 .../build/downloads/unixccompiler.patch.done | 0 .../build/downloads/unspport_lua.patch.done | 0 .../build/downloads/unsupport_lua.patch.done | 0 oe-core/build/downloads/unzip60.tgz.done | 0 oe-core/build/downloads/update-modules.done | 0 ...ndom-xauth-changes-to-options.h.patch.done | 0 oe-core/build/downloads/urandom.done | 0 oe-core/build/downloads/usb.sh.done | 0 oe-core/build/downloads/usbd.done | 0 .../use-defaults.h-and-t-oe-in-B.patch.done | 0 .../build/downloads/use-includedir.patch.done | 0 .../build/downloads/use-nativeperl.patch.done | 0 .../use-sysroot-cxx-headers.patch.done | 0 .../use-sysroot-in-libpath.patch.done | 0 .../build/downloads/use_O2_option.patch.done | 0 oe-core/build/downloads/useradd.patch.done | 0 .../userspace-rcu-0.6.7.tar.bz2.done | 0 .../downloads/util-linux-2.20.1.tar.bz2.done | 0 ...l-linux-ng-2.16-mount_lock_path.patch.done | 0 ...l-linux-ng-replace-siginterrupt.patch.done | 0 .../valgrind_3.9.0.orig.tar.bz2.done | 0 .../build/downloads/version-script.patch.done | 0 .../volatile_access_backport.patch.done | 0 oe-core/build/downloads/volatiles.done | 0 .../build/downloads/vsftpd-3.0.0.tar.gz.done | 0 oe-core/build/downloads/wap-fota-daemon.done | 0 .../downloads/wireless-tools.if-pre-up.done | 0 .../downloads/wireless_tools.29.tar.gz.done | 0 oe-core/build/downloads/wlan-proprietary.done | 0 oe-core/build/downloads/wlan.done | 0 .../downloads/writable_site_dirs.diff.done | 0 oe-core/build/downloads/x86_64_dis.h.done | 0 oe-core/build/downloads/xmllib.done | 0 oe-core/build/downloads/xmms.m4.done | 0 oe-core/build/downloads/xz-5.0.3.tar.gz.done | 0 oe-core/build/downloads/yaffs2.done | 0 .../build/downloads/zecke-xgcc-cpp.patch.done | 0 oe-core/build/downloads/zip30.tgz.done | 0 .../build/downloads/zlib-1.2.5.tar.bz2.done | 0 .../downloads/zzz-wireless.if-pre-up.done | 0 .../meta-msm/recipes/cJSON/libcjson_1.0.bb | 22 + .../compat-wireless-ath6kl_git.bb | 2 +- .../compat-wireless/compat-wireless.inc | 4 +- .../compat-wireless/files/ath6kl_ctrl_wlan | 80 +- .../hostap-daemon/files/defconfig-ath6kl | 1 + .../hostap-daemon/hostap-daemon-ath6kl_git.bb | 9 +- .../meta-msm/recipes/images/mdm-bootimg.inc | 1 + .../meta-msm/recipes/images/mdm-bootimg.inc~ | 49 - .../meta-msm/recipes/images/mdm9625-image.inc | 16 +- .../recipes/images/mdm9625-image.inc~ | 78 - .../meta-msm/recipes/samba/samba_3.6.22.bb | 2 +- .../meta-msm/recipes/tp-domain/files/Makefile | 16 - .../recipes/tp-domain/files/tp_domain.c | 587 - .../recipes/tp-domain/files/tp_domain.h | 53 - .../meta-msm/recipes/tp-domain/tp-domain.bb | 17 - .../meta-msm/recipes/tp-domain/tp-domain.bb~ | 17 - oe-core/meta/lib/oe/__init__.pyc | Bin 150 -> 0 bytes oe-core/meta/lib/oe/data.pyc | Bin 1221 -> 0 bytes oe-core/meta/lib/oe/license.pyc | Bin 6500 -> 0 bytes oe-core/meta/lib/oe/maketype.pyc | Bin 3829 -> 0 bytes oe-core/meta/lib/oe/packagedata.pyc | Bin 5408 -> 0 bytes oe-core/meta/lib/oe/packagegroup.pyc | Bin 2179 -> 0 bytes oe-core/meta/lib/oe/patch.pyc | Bin 16634 -> 0 bytes oe-core/meta/lib/oe/path.pyc | Bin 5422 -> 0 bytes oe-core/meta/lib/oe/qa.pyc | Bin 3579 -> 0 bytes oe-core/meta/lib/oe/sstatesig.pyc | Bin 2903 -> 0 bytes oe-core/meta/lib/oe/types.pyc | Bin 4475 -> 0 bytes oe-core/meta/lib/oe/utils.pyc | Bin 4783 -> 0 bytes 2791 files changed, 89608 insertions(+), 390711 deletions(-) delete mode 100644 README create mode 100644 external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/.deps/bsd.Plo create mode 100644 external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/.deps/darwin.Plo create mode 100644 external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/.deps/descriptors.Plo create mode 100644 external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/.deps/error.Plo create mode 100644 external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/.deps/linux.Plo create mode 100644 external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/.deps/usb.Plo create mode 100644 external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/.deps/usbpp.Plo create mode 100644 external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/AUTHORS create mode 100644 external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/COPYING create mode 100644 external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/ChangeLog create mode 100644 external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/Doxyfile create mode 100644 external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/Doxyfile.in create mode 100644 external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/INSTALL.libusb create mode 100644 external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/INSTALL.libusb.in create mode 100644 external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/LICENSE create mode 100644 external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/Makefile.in create mode 100644 external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/NEWS create mode 100644 external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/README create mode 100644 external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/README.in create mode 100644 external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/acinclude.m4 create mode 100644 external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/aclocal.m4 rename external/{hostap/hostapd/config/tp-ath6kl-ap-all-7350-series.deny => bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/apidocs/doxygen.css} (100%) create mode 100644 external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/apidocs/doxygen.png create mode 100644 external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/apidocs/footer.html create mode 100644 external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/apidocs/header.html create mode 100644 external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/bsd.c create mode 100644 external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/compile create mode 100644 external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/config.guess create mode 100644 external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/config.h create mode 100644 external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/config.h.in create mode 100644 external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/config.log create mode 100755 external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/config.status create mode 100644 external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/config.sub create mode 100755 external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/configure create mode 100644 external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/configure.in create mode 100644 external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/configure.lineno create mode 100644 external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/darwin.c create mode 100644 external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/depcomp create mode 100644 external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/descriptors.c create mode 100644 external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/doc/Makefile create mode 100644 external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/doc/Makefile.in create mode 100644 external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/error.c create mode 100644 external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/error.h create mode 100644 external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/install-sh create mode 100755 external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/libtool create mode 100755 external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/libusb-config create mode 100644 external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/libusb-config.in create mode 100644 external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/libusb.pc create mode 100644 external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/libusb.pc.in create mode 100644 external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/libusb.spec create mode 100644 external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/libusb.spec.in create mode 100644 external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/linux.c create mode 100644 external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/linux.h create mode 100644 external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/ltmain.sh create mode 100644 external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/missing create mode 100644 external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/stamp-h1 create mode 100644 external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/tests/.deps/descriptor_test.Po create mode 100644 external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/tests/.deps/driver_name.Po create mode 100644 external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/tests/.deps/find_hubs.Po create mode 100644 external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/tests/.deps/find_mice.Po create mode 100644 external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/tests/.deps/get_resolution.Po create mode 100644 external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/tests/.deps/hub_strings.Po create mode 100644 external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/tests/.deps/id_test.Po create mode 100644 external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/tests/.deps/testlibusb.Po create mode 100644 external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/tests/Makefile create mode 100644 external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/tests/Makefile.in create mode 100644 external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/tests/descriptor_test.cpp create mode 100644 external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/tests/driver_name.cpp create mode 100644 external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/tests/find_hubs.cpp create mode 100644 external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/tests/find_mice.cpp create mode 100644 external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/tests/get_resolution.cpp create mode 100644 external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/tests/hub_strings.cpp create mode 100644 external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/tests/id_test.cpp create mode 100644 external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/tests/testlibusb.c create mode 100644 external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/usb.c create mode 100644 external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/usb.h create mode 100644 external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/usb.h.in create mode 100644 external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/usbi.h create mode 100644 external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/usbpp.cpp create mode 100644 external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/usbpp.h mode change 100755 => 100644 external/hostap/hostapd/Makefile delete mode 100644 external/hostap/hostapd/config/tp-ath6kl-ap-all-7350-series.conf delete mode 100644 external/hostap/hostapd/config/tp-ath6kl-ap-all.conf delete mode 100644 external/hostap/hostapd/config/tp-bcm-ap-all-7350-series.conf delete mode 100644 external/hostap/hostapd/config/tp-bcm-ap-all-7350-series.deny delete mode 100644 external/hostap/hostapd/config/tp-bcm-ap-all.conf delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/am3517_mt_ventoux.dts delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/apq8026-mtp.dts delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/apq8026-xpm.dts delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/apq8026.dtsi delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/apq8074-dragonboard.dtsi delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/apq8074-v1.dtsi delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/apq8074-v2-dragonboard.dts delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/apq8074-v2-liquid.dts delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/apq8074-v2.dtsi delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/apq8084-ion.dtsi delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/apq8084-regulator.dtsi delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/apq8084-sim.dts delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/apq8084-smp2p.dtsi delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/apq8084.dtsi delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/at91sam9g20.dtsi delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/at91sam9g25ek.dts delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/at91sam9g45.dtsi delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/at91sam9m10g45ek.dts delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/at91sam9x5.dtsi delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/at91sam9x5cm.dtsi delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/db8500.dtsi delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/dsi-panel-nt35590-720p-cmd.dtsi delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/dsi-panel-nt35590-720p-video.dtsi delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/dsi-panel-orise-720p-video.dtsi delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/dsi-panel-sharp-qhd-video.dtsi delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/dsi-panel-sim-video.dtsi delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/dsi-panel-toshiba-720p-video.dtsi delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/dsi-v2-panel-hx8379a-wvga-video.dtsi delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/dsi-v2-panel-truly-wvga-video.dtsi delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/exynos4210-origen.dts delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/exynos4210-smdkv310.dts delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/exynos4210.dtsi delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/exynos5250-smdk5250.dts delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/exynos5250.dtsi delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/fsm9900-rumi.dts delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/fsm9900-sim.dts delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/fsm9900.dtsi delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/highbank.dts delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/imx27-phytec-phycore.dts delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/imx27.dtsi delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/imx51-babbage.dts delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/imx51.dtsi delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/imx53-ard.dts delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/imx53-evk.dts delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/imx53-qsb.dts delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/imx53-smd.dts delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/imx53.dtsi delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/imx6q-arm2.dts delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/imx6q-sabrelite.dts delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/imx6q.dtsi delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/kirkwood-dreamplug.dts delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/kirkwood.dtsi delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/mpq8092-iommu.dtsi delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/mpq8092-ion.dtsi delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/mpq8092-regulator.dtsi delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/mpq8092-rumi.dts delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/mpq8092-rumi.dtsi delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/mpq8092-sim.dts delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/mpq8092.dtsi delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/msm-gdsc.dtsi delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/msm-iommu-v0.dtsi delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/msm-iommu-v1.dtsi delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/msm-pm8019-rpm-regulator.dtsi delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/msm-pm8019.dtsi delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/msm-pm8110-rpm-regulator.dtsi delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/msm-pm8110.dtsi delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/msm-pm8226-rpm-regulator.dtsi delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/msm-pm8226.dtsi delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/msm-pm8841.dtsi delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/msm-pm8941.dtsi delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/msm-pm8x41-rpm-regulator.dtsi delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/msm-pma8084.dtsi delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/msm8226-bus.dtsi delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/msm8226-camera-sensor-cdp.dtsi delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/msm8226-camera-sensor-mtp.dtsi delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/msm8226-camera-sensor-qrd.dtsi delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/msm8226-camera.dtsi delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/msm8226-cdp.dtsi delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/msm8226-coresight.dtsi delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/msm8226-fluid.dts delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/msm8226-gpu.dtsi delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/msm8226-iommu-domains.dtsi delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/msm8226-iommu.dtsi delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/msm8226-ion.dtsi delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/msm8226-mdss.dtsi delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/msm8226-mtp.dtsi delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/msm8226-pm.dtsi delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/msm8226-qrd.dtsi delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/msm8226-regulator.dtsi delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/msm8226-sim.dts delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/msm8226-smp2p.dtsi delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/msm8226-v1-cdp.dts delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/msm8226-v1-mtp.dts delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/msm8226-v1-qrd.dts delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/msm8226-v1.dtsi delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/msm8226-v2-cdp.dts delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/msm8226-v2-mtp.dts delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/msm8226-v2-qrd.dts delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/msm8226-v2.dtsi delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/msm8226.dtsi delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/msm8610-bus.dtsi delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/msm8610-camera-sensor-cdp-mtp.dtsi delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/msm8610-camera.dtsi delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/msm8610-cdp.dts delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/msm8610-coresight.dtsi delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/msm8610-gpu.dtsi delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/msm8610-iommu-domains.dtsi delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/msm8610-ion.dtsi delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/msm8610-mdss.dtsi delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/msm8610-mtp.dts delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/msm8610-pm.dtsi delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/msm8610-qrd.dts delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/msm8610-regulator.dtsi delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/msm8610-rumi.dts delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/msm8610-sim.dts delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/msm8610-smp2p.dtsi delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/msm8610.dtsi delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/msm8660-surf.dts delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/msm8926-cdp.dts delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/msm8926-mtp.dts delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/msm8926-qrd.dts delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/msm8926.dtsi delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/msm8974-bus.dtsi delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/msm8974-camera-sensor-cdp.dtsi delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/msm8974-camera-sensor-dragonboard.dtsi delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/msm8974-camera-sensor-fluid.dtsi delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/msm8974-camera-sensor-liquid.dtsi delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/msm8974-camera-sensor-mtp.dtsi delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/msm8974-camera.dtsi delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/msm8974-cdp.dtsi delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/msm8974-clock.dtsi delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/msm8974-coresight.dtsi delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/msm8974-fluid.dtsi delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/msm8974-gpu.dtsi delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/msm8974-ion.dtsi delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/msm8974-leds.dtsi delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/msm8974-liquid.dtsi delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/msm8974-mdss.dtsi delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/msm8974-mtp.dtsi delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/msm8974-regulator.dtsi delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/msm8974-rumi.dtsi delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/msm8974-sim.dtsi delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/msm8974-smp2p.dtsi delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/msm8974-v1-cdp.dts delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/msm8974-v1-fluid.dts delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/msm8974-v1-iommu-domains.dtsi delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/msm8974-v1-iommu.dtsi delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/msm8974-v1-liquid.dts delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/msm8974-v1-mtp.dts delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/msm8974-v1-pm.dtsi delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/msm8974-v1-rumi.dts delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/msm8974-v1-sim.dts delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/msm8974-v1.dtsi delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/msm8974-v2-cdp.dts delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/msm8974-v2-fluid.dts delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/msm8974-v2-iommu-domains.dtsi delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/msm8974-v2-iommu.dtsi delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/msm8974-v2-liquid.dts delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/msm8974-v2-mtp.dts delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/msm8974-v2-pm.dtsi delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/msm8974-v2.dtsi delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/msm8974.dtsi delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/msm9625-cdp.dtsi delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/msm9625-coresight.dtsi delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/msm9625-display.dtsi delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/msm9625-ion.dtsi delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/msm9625-mtp.dtsi delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/msm9625-pm.dtsi delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/msm9625-regulator.dtsi delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/msm9625-smp2p.dtsi delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/msm9625-v1-cdp.dts delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/msm9625-v1-mtp.dts delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/msm9625-v1-rumi.dts delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/msm9625-v1.dtsi delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/msm9625-v2-cdp.dts delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/msm9625-v2-mtp.dts delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/msm9625-v2.1-cdp.dts delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/msm9625-v2.1-mtp.dts delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/msm9625-v2.1.dtsi delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/msm9625-v2.dtsi delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/msm9625.dtsi delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/msmkrypton-sim.dts delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/msmkrypton.dtsi delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/msmsamarium-ion.dtsi delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/msmsamarium-rumi.dts delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/msmsamarium-sim.dts delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/msmsamarium.dtsi delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/omap2.dtsi delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/omap3-beagle.dts delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/omap3-evm.dts delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/omap3.dtsi delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/omap4-panda.dts delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/omap4-sdp.dts delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/omap4.dtsi delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/picoxcell-pc3x2.dtsi delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/picoxcell-pc3x3.dtsi delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/picoxcell-pc7302-pc3x2.dts delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/picoxcell-pc7302-pc3x3.dts delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/prima2-cb.dts delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/pxa168-aspenite.dts delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/pxa168.dtsi delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/qpic-panel-ili-qvga.dtsi delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/skeleton.dtsi delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/skeleton64.dtsi delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/snowball.dts delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/spear600-evb.dts delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/spear600.dtsi delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/tegra-cardhu.dts delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/tegra-harmony.dts delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/tegra-paz00.dts delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/tegra-seaboard.dts delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/tegra-trimslice.dts delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/tegra-ventana.dts delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/tegra20.dtsi delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/tegra30.dtsi delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/testcases/tests-phandle.dtsi delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/testcases/tests.dtsi delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/usb_a9g20-dab-mmx.dtsi delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/usb_a9g20.dts delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/versatile-ab.dts delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/versatile-pb.dts delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/vexpress-v2m-rs1.dtsi delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/vexpress-v2m.dtsi delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/vexpress-v2p-ca15-tc1.dts delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/vexpress-v2p-ca5s.dts delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/vexpress-v2p-ca9.dts delete mode 100755 kernel/arch/arm/boot/dts/lte_module-v1/zynq-ep107.dts delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/am3517_mt_ventoux.dts delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/apq8026-mtp.dts delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/apq8026-xpm.dts delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/apq8026.dtsi delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/apq8074-dragonboard.dtsi delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/apq8074-v1.dtsi delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/apq8074-v2-dragonboard.dts delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/apq8074-v2-liquid.dts delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/apq8074-v2.dtsi delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/apq8084-ion.dtsi delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/apq8084-regulator.dtsi delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/apq8084-sim.dts delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/apq8084-smp2p.dtsi delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/apq8084.dtsi delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/at91sam9g20.dtsi delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/at91sam9g25ek.dts delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/at91sam9g45.dtsi delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/at91sam9m10g45ek.dts delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/at91sam9x5.dtsi delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/at91sam9x5cm.dtsi delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/db8500.dtsi delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/dsi-panel-nt35590-720p-cmd.dtsi delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/dsi-panel-nt35590-720p-video.dtsi delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/dsi-panel-orise-720p-video.dtsi delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/dsi-panel-sharp-qhd-video.dtsi delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/dsi-panel-sim-video.dtsi delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/dsi-panel-toshiba-720p-video.dtsi delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/dsi-v2-panel-hx8379a-wvga-video.dtsi delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/dsi-v2-panel-truly-wvga-video.dtsi delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/exynos4210-origen.dts delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/exynos4210-smdkv310.dts delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/exynos4210.dtsi delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/exynos5250-smdk5250.dts delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/exynos5250.dtsi delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/fsm9900-rumi.dts delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/fsm9900-sim.dts delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/fsm9900.dtsi delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/highbank.dts delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/imx27-phytec-phycore.dts delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/imx27.dtsi delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/imx51-babbage.dts delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/imx51.dtsi delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/imx53-ard.dts delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/imx53-evk.dts delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/imx53-qsb.dts delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/imx53-smd.dts delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/imx53.dtsi delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/imx6q-arm2.dts delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/imx6q-sabrelite.dts delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/imx6q.dtsi delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/kirkwood-dreamplug.dts delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/kirkwood.dtsi delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/mpq8092-iommu.dtsi delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/mpq8092-ion.dtsi delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/mpq8092-regulator.dtsi delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/mpq8092-rumi.dts delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/mpq8092-rumi.dtsi delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/mpq8092-sim.dts delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/mpq8092.dtsi delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/msm-gdsc.dtsi delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/msm-iommu-v0.dtsi delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/msm-iommu-v1.dtsi delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/msm-pm8019-rpm-regulator.dtsi delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/msm-pm8019.dtsi delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/msm-pm8110-rpm-regulator.dtsi delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/msm-pm8110.dtsi delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/msm-pm8226-rpm-regulator.dtsi delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/msm-pm8226.dtsi delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/msm-pm8841.dtsi delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/msm-pm8941.dtsi delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/msm-pm8x41-rpm-regulator.dtsi delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/msm-pma8084.dtsi delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/msm8226-bus.dtsi delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/msm8226-camera-sensor-cdp.dtsi delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/msm8226-camera-sensor-mtp.dtsi delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/msm8226-camera-sensor-qrd.dtsi delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/msm8226-camera.dtsi delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/msm8226-cdp.dtsi delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/msm8226-coresight.dtsi delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/msm8226-fluid.dts delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/msm8226-gpu.dtsi delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/msm8226-iommu-domains.dtsi delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/msm8226-iommu.dtsi delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/msm8226-ion.dtsi delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/msm8226-mdss.dtsi delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/msm8226-mtp.dtsi delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/msm8226-pm.dtsi delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/msm8226-qrd.dtsi delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/msm8226-regulator.dtsi delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/msm8226-sim.dts delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/msm8226-smp2p.dtsi delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/msm8226-v1-cdp.dts delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/msm8226-v1-mtp.dts delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/msm8226-v1-qrd.dts delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/msm8226-v1.dtsi delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/msm8226-v2-cdp.dts delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/msm8226-v2-mtp.dts delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/msm8226-v2-qrd.dts delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/msm8226-v2.dtsi delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/msm8226.dtsi delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/msm8610-bus.dtsi delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/msm8610-camera-sensor-cdp-mtp.dtsi delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/msm8610-camera.dtsi delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/msm8610-cdp.dts delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/msm8610-coresight.dtsi delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/msm8610-gpu.dtsi delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/msm8610-iommu-domains.dtsi delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/msm8610-ion.dtsi delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/msm8610-mdss.dtsi delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/msm8610-mtp.dts delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/msm8610-pm.dtsi delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/msm8610-qrd.dts delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/msm8610-regulator.dtsi delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/msm8610-rumi.dts delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/msm8610-sim.dts delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/msm8610-smp2p.dtsi delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/msm8610.dtsi delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/msm8660-surf.dts delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/msm8926-cdp.dts delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/msm8926-mtp.dts delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/msm8926-qrd.dts delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/msm8926.dtsi delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/msm8974-bus.dtsi delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/msm8974-camera-sensor-cdp.dtsi delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/msm8974-camera-sensor-dragonboard.dtsi delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/msm8974-camera-sensor-fluid.dtsi delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/msm8974-camera-sensor-liquid.dtsi delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/msm8974-camera-sensor-mtp.dtsi delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/msm8974-camera.dtsi delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/msm8974-cdp.dtsi delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/msm8974-clock.dtsi delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/msm8974-coresight.dtsi delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/msm8974-fluid.dtsi delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/msm8974-gpu.dtsi delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/msm8974-ion.dtsi delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/msm8974-leds.dtsi delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/msm8974-liquid.dtsi delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/msm8974-mdss.dtsi delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/msm8974-mtp.dtsi delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/msm8974-regulator.dtsi delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/msm8974-rumi.dtsi delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/msm8974-sim.dtsi delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/msm8974-smp2p.dtsi delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/msm8974-v1-cdp.dts delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/msm8974-v1-fluid.dts delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/msm8974-v1-iommu-domains.dtsi delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/msm8974-v1-iommu.dtsi delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/msm8974-v1-liquid.dts delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/msm8974-v1-mtp.dts delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/msm8974-v1-pm.dtsi delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/msm8974-v1-rumi.dts delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/msm8974-v1-sim.dts delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/msm8974-v1.dtsi delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/msm8974-v2-cdp.dts delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/msm8974-v2-fluid.dts delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/msm8974-v2-iommu-domains.dtsi delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/msm8974-v2-iommu.dtsi delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/msm8974-v2-liquid.dts delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/msm8974-v2-mtp.dts delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/msm8974-v2-pm.dtsi delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/msm8974-v2.dtsi delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/msm8974.dtsi delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/msm9625-cdp.dtsi delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/msm9625-coresight.dtsi delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/msm9625-display.dtsi delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/msm9625-ion.dtsi delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/msm9625-mtp.dtsi delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/msm9625-pm.dtsi delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/msm9625-regulator.dtsi delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/msm9625-smp2p.dtsi delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/msm9625-v1-cdp.dts delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/msm9625-v1-mtp.dts delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/msm9625-v1-rumi.dts delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/msm9625-v1.dtsi delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/msm9625-v2-cdp.dts delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/msm9625-v2-mtp.dts delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/msm9625-v2.1-cdp.dts delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/msm9625-v2.1-mtp.dts delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/msm9625-v2.1.dtsi delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/msm9625-v2.dtsi delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/msm9625.dtsi delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/msmkrypton-sim.dts delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/msmkrypton.dtsi delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/msmsamarium-ion.dtsi delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/msmsamarium-rumi.dts delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/msmsamarium-sim.dts delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/msmsamarium.dtsi delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/omap2.dtsi delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/omap3-beagle.dts delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/omap3-evm.dts delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/omap3.dtsi delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/omap4-panda.dts delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/omap4-sdp.dts delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/omap4.dtsi delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/picoxcell-pc3x2.dtsi delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/picoxcell-pc3x3.dtsi delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/picoxcell-pc7302-pc3x2.dts delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/picoxcell-pc7302-pc3x3.dts delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/prima2-cb.dts delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/pxa168-aspenite.dts delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/pxa168.dtsi delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/qpic-panel-ili-qvga.dtsi delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/skeleton.dtsi delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/skeleton64.dtsi delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/snowball.dts delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/spear600-evb.dts delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/spear600.dtsi delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/tegra-cardhu.dts delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/tegra-harmony.dts delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/tegra-paz00.dts delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/tegra-seaboard.dts delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/tegra-trimslice.dts delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/tegra-ventana.dts delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/tegra20.dtsi delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/tegra30.dtsi delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/testcases/tests-phandle.dtsi delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/testcases/tests.dtsi delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/usb_a9g20-dab-mmx.dtsi delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/usb_a9g20.dts delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/versatile-ab.dts delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/versatile-pb.dts delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/vexpress-v2m-rs1.dtsi delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/vexpress-v2m.dtsi delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/vexpress-v2p-ca15-tc1.dts delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/vexpress-v2p-ca5s.dts delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/vexpress-v2p-ca9.dts delete mode 100755 kernel/arch/arm/boot/dts/m7300-un-v1/zynq-ep107.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/am3517_mt_ventoux.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/apq8026-mtp.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/apq8026-xpm.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/apq8026.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/apq8074-dragonboard.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/apq8074-v1.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/apq8074-v2-dragonboard.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/apq8074-v2-liquid.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/apq8074-v2.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/apq8084-ion.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/apq8084-regulator.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/apq8084-sim.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/apq8084-smp2p.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/apq8084.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/at91sam9g20.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/at91sam9g25ek.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/at91sam9g45.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/at91sam9m10g45ek.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/at91sam9x5.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/at91sam9x5cm.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/db8500.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/dsi-panel-nt35590-720p-cmd.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/dsi-panel-nt35590-720p-video.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/dsi-panel-orise-720p-video.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/dsi-panel-sharp-qhd-video.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/dsi-panel-sim-video.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/dsi-panel-toshiba-720p-video.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/dsi-v2-panel-hx8379a-wvga-video.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/dsi-v2-panel-truly-wvga-video.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/exynos4210-origen.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/exynos4210-smdkv310.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/exynos4210.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/exynos5250-smdk5250.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/exynos5250.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/fsm9900-rumi.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/fsm9900-sim.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/fsm9900.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/highbank.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/imx27-phytec-phycore.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/imx27.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/imx51-babbage.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/imx51.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/imx53-ard.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/imx53-evk.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/imx53-qsb.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/imx53-smd.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/imx53.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/imx6q-arm2.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/imx6q-sabrelite.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/imx6q.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/kirkwood-dreamplug.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/kirkwood.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/mpq8092-iommu.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/mpq8092-ion.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/mpq8092-regulator.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/mpq8092-rumi.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/mpq8092-rumi.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/mpq8092-sim.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/mpq8092.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/msm-gdsc.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/msm-iommu-v0.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/msm-iommu-v1.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/msm-pm8019-rpm-regulator.dtsi delete mode 100755 kernel/arch/arm/boot/dts/m7350-un-v1/msm-pm8019.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/msm-pm8110-rpm-regulator.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/msm-pm8110.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/msm-pm8226-rpm-regulator.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/msm-pm8226.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/msm-pm8841.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/msm-pm8941.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/msm-pm8x41-rpm-regulator.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/msm-pma8084.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/msm8226-bus.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/msm8226-camera-sensor-cdp.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/msm8226-camera-sensor-mtp.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/msm8226-camera-sensor-qrd.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/msm8226-camera.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/msm8226-cdp.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/msm8226-coresight.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/msm8226-fluid.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/msm8226-gpu.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/msm8226-iommu-domains.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/msm8226-iommu.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/msm8226-ion.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/msm8226-mdss.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/msm8226-mtp.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/msm8226-pm.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/msm8226-qrd.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/msm8226-regulator.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/msm8226-sim.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/msm8226-smp2p.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/msm8226-v1-cdp.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/msm8226-v1-mtp.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/msm8226-v1-qrd.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/msm8226-v1.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/msm8226-v2-cdp.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/msm8226-v2-mtp.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/msm8226-v2-qrd.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/msm8226-v2.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/msm8226.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/msm8610-bus.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/msm8610-camera-sensor-cdp-mtp.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/msm8610-camera.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/msm8610-cdp.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/msm8610-coresight.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/msm8610-gpu.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/msm8610-iommu-domains.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/msm8610-ion.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/msm8610-mdss.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/msm8610-mtp.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/msm8610-pm.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/msm8610-qrd.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/msm8610-regulator.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/msm8610-rumi.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/msm8610-sim.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/msm8610-smp2p.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/msm8610.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/msm8660-surf.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/msm8926-cdp.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/msm8926-mtp.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/msm8926-qrd.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/msm8926.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/msm8974-bus.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/msm8974-camera-sensor-cdp.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/msm8974-camera-sensor-dragonboard.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/msm8974-camera-sensor-fluid.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/msm8974-camera-sensor-liquid.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/msm8974-camera-sensor-mtp.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/msm8974-camera.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/msm8974-cdp.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/msm8974-clock.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/msm8974-coresight.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/msm8974-fluid.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/msm8974-gpu.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/msm8974-ion.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/msm8974-leds.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/msm8974-liquid.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/msm8974-mdss.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/msm8974-mtp.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/msm8974-regulator.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/msm8974-rumi.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/msm8974-sim.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/msm8974-smp2p.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/msm8974-v1-cdp.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/msm8974-v1-fluid.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/msm8974-v1-iommu-domains.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/msm8974-v1-iommu.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/msm8974-v1-liquid.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/msm8974-v1-mtp.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/msm8974-v1-pm.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/msm8974-v1-rumi.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/msm8974-v1-sim.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/msm8974-v1.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/msm8974-v2-cdp.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/msm8974-v2-fluid.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/msm8974-v2-iommu-domains.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/msm8974-v2-iommu.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/msm8974-v2-liquid.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/msm8974-v2-mtp.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/msm8974-v2-pm.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/msm8974-v2.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/msm8974.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/msm9625-cdp.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/msm9625-coresight.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/msm9625-display.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/msm9625-ion.dtsi delete mode 100755 kernel/arch/arm/boot/dts/m7350-un-v1/msm9625-mtp.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/msm9625-pm.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/msm9625-regulator.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/msm9625-smp2p.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/msm9625-v1-cdp.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/msm9625-v1-mtp.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/msm9625-v1-rumi.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/msm9625-v1.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/msm9625-v2-cdp.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/msm9625-v2-mtp.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/msm9625-v2.1-cdp.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/msm9625-v2.1-mtp.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/msm9625-v2.1.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/msm9625-v2.dtsi delete mode 100755 kernel/arch/arm/boot/dts/m7350-un-v1/msm9625.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/msmkrypton-sim.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/msmkrypton.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/msmsamarium-ion.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/msmsamarium-rumi.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/msmsamarium-sim.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/msmsamarium.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/omap2.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/omap3-beagle.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/omap3-evm.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/omap3.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/omap4-panda.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/omap4-sdp.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/omap4.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/picoxcell-pc3x2.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/picoxcell-pc3x3.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/picoxcell-pc7302-pc3x2.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/picoxcell-pc7302-pc3x3.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/prima2-cb.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/pxa168-aspenite.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/pxa168.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/qpic-panel-ili-qvga.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/skeleton.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/skeleton64.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/snowball.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/spear600-evb.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/spear600.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/tegra-cardhu.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/tegra-harmony.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/tegra-paz00.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/tegra-seaboard.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/tegra-trimslice.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/tegra-ventana.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/tegra20.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/tegra30.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/testcases/tests-phandle.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/testcases/tests.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/usb_a9g20-dab-mmx.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/usb_a9g20.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/versatile-ab.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/versatile-pb.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/vexpress-v2m-rs1.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/vexpress-v2m.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/vexpress-v2p-ca15-tc1.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/vexpress-v2p-ca5s.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/vexpress-v2p-ca9.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v1/zynq-ep107.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/am3517_mt_ventoux.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/apq8026-mtp.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/apq8026-xpm.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/apq8026.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/apq8074-dragonboard.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/apq8074-v1.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/apq8074-v2-dragonboard.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/apq8074-v2-liquid.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/apq8074-v2.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/apq8084-ion.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/apq8084-regulator.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/apq8084-sim.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/apq8084-smp2p.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/apq8084.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/at91sam9g20.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/at91sam9g25ek.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/at91sam9g45.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/at91sam9m10g45ek.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/at91sam9x5.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/at91sam9x5cm.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/db8500.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/dsi-panel-nt35590-720p-cmd.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/dsi-panel-nt35590-720p-video.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/dsi-panel-orise-720p-video.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/dsi-panel-sharp-qhd-video.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/dsi-panel-sim-video.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/dsi-panel-toshiba-720p-video.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/dsi-v2-panel-hx8379a-wvga-video.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/dsi-v2-panel-truly-wvga-video.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/exynos4210-origen.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/exynos4210-smdkv310.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/exynos4210.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/exynos5250-smdk5250.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/exynos5250.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/fsm9900-rumi.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/fsm9900-sim.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/fsm9900.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/highbank.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/imx27-phytec-phycore.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/imx27.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/imx51-babbage.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/imx51.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/imx53-ard.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/imx53-evk.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/imx53-qsb.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/imx53-smd.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/imx53.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/imx6q-arm2.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/imx6q-sabrelite.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/imx6q.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/kirkwood-dreamplug.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/kirkwood.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/mpq8092-iommu.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/mpq8092-ion.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/mpq8092-regulator.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/mpq8092-rumi.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/mpq8092-rumi.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/mpq8092-sim.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/mpq8092.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/msm-gdsc.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/msm-iommu-v0.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/msm-iommu-v1.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/msm-pm8019-rpm-regulator.dtsi delete mode 100755 kernel/arch/arm/boot/dts/m7350-un-v2/msm-pm8019.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/msm-pm8110-rpm-regulator.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/msm-pm8110.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/msm-pm8226-rpm-regulator.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/msm-pm8226.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/msm-pm8841.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/msm-pm8941.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/msm-pm8x41-rpm-regulator.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/msm-pma8084.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/msm8226-bus.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/msm8226-camera-sensor-cdp.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/msm8226-camera-sensor-mtp.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/msm8226-camera-sensor-qrd.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/msm8226-camera.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/msm8226-cdp.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/msm8226-coresight.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/msm8226-fluid.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/msm8226-gpu.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/msm8226-iommu-domains.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/msm8226-iommu.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/msm8226-ion.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/msm8226-mdss.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/msm8226-mtp.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/msm8226-pm.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/msm8226-qrd.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/msm8226-regulator.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/msm8226-sim.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/msm8226-smp2p.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/msm8226-v1-cdp.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/msm8226-v1-mtp.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/msm8226-v1-qrd.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/msm8226-v1.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/msm8226-v2-cdp.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/msm8226-v2-mtp.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/msm8226-v2-qrd.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/msm8226-v2.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/msm8226.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/msm8610-bus.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/msm8610-camera-sensor-cdp-mtp.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/msm8610-camera.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/msm8610-cdp.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/msm8610-coresight.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/msm8610-gpu.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/msm8610-iommu-domains.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/msm8610-ion.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/msm8610-mdss.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/msm8610-mtp.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/msm8610-pm.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/msm8610-qrd.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/msm8610-regulator.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/msm8610-rumi.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/msm8610-sim.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/msm8610-smp2p.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/msm8610.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/msm8660-surf.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/msm8926-cdp.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/msm8926-mtp.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/msm8926-qrd.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/msm8926.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/msm8974-bus.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/msm8974-camera-sensor-cdp.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/msm8974-camera-sensor-dragonboard.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/msm8974-camera-sensor-fluid.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/msm8974-camera-sensor-liquid.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/msm8974-camera-sensor-mtp.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/msm8974-camera.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/msm8974-cdp.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/msm8974-clock.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/msm8974-coresight.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/msm8974-fluid.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/msm8974-gpu.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/msm8974-ion.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/msm8974-leds.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/msm8974-liquid.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/msm8974-mdss.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/msm8974-mtp.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/msm8974-regulator.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/msm8974-rumi.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/msm8974-sim.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/msm8974-smp2p.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/msm8974-v1-cdp.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/msm8974-v1-fluid.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/msm8974-v1-iommu-domains.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/msm8974-v1-iommu.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/msm8974-v1-liquid.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/msm8974-v1-mtp.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/msm8974-v1-pm.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/msm8974-v1-rumi.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/msm8974-v1-sim.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/msm8974-v1.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/msm8974-v2-cdp.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/msm8974-v2-fluid.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/msm8974-v2-iommu-domains.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/msm8974-v2-iommu.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/msm8974-v2-liquid.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/msm8974-v2-mtp.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/msm8974-v2-pm.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/msm8974-v2.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/msm8974.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/msm9625-cdp.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/msm9625-coresight.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/msm9625-display.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/msm9625-ion.dtsi delete mode 100755 kernel/arch/arm/boot/dts/m7350-un-v2/msm9625-mtp.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/msm9625-pm.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/msm9625-regulator.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/msm9625-smp2p.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/msm9625-v1-cdp.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/msm9625-v1-mtp.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/msm9625-v1-rumi.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/msm9625-v1.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/msm9625-v2-cdp.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/msm9625-v2-mtp.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/msm9625-v2.1-cdp.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/msm9625-v2.1-mtp.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/msm9625-v2.1.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/msm9625-v2.dtsi delete mode 100755 kernel/arch/arm/boot/dts/m7350-un-v2/msm9625.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/msmkrypton-sim.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/msmkrypton.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/msmsamarium-ion.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/msmsamarium-rumi.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/msmsamarium-sim.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/msmsamarium.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/omap2.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/omap3-beagle.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/omap3-evm.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/omap3.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/omap4-panda.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/omap4-sdp.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/omap4.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/picoxcell-pc3x2.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/picoxcell-pc3x3.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/picoxcell-pc7302-pc3x2.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/picoxcell-pc7302-pc3x3.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/prima2-cb.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/pxa168-aspenite.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/pxa168.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/qpic-panel-ili-qvga.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/skeleton.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/skeleton64.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/snowball.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/spear600-evb.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/spear600.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/tegra-cardhu.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/tegra-harmony.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/tegra-paz00.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/tegra-seaboard.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/tegra-trimslice.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/tegra-ventana.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/tegra20.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/tegra30.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/testcases/tests-phandle.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/testcases/tests.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/usb_a9g20-dab-mmx.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/usb_a9g20.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/versatile-ab.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/versatile-pb.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/vexpress-v2m-rs1.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/vexpress-v2m.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/vexpress-v2p-ca15-tc1.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/vexpress-v2p-ca5s.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/vexpress-v2p-ca9.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v2/zynq-ep107.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/am3517_mt_ventoux.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/apq8026-mtp.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/apq8026-xpm.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/apq8026.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/apq8074-dragonboard.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/apq8074-v1.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/apq8074-v2-dragonboard.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/apq8074-v2-liquid.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/apq8074-v2.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/apq8084-ion.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/apq8084-regulator.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/apq8084-sim.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/apq8084-smp2p.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/apq8084.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/at91sam9g20.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/at91sam9g25ek.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/at91sam9g45.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/at91sam9m10g45ek.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/at91sam9x5.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/at91sam9x5cm.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/db8500.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/dsi-panel-nt35590-720p-cmd.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/dsi-panel-nt35590-720p-video.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/dsi-panel-orise-720p-video.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/dsi-panel-sharp-qhd-video.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/dsi-panel-sim-video.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/dsi-panel-toshiba-720p-video.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/dsi-v2-panel-hx8379a-wvga-video.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/dsi-v2-panel-truly-wvga-video.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/exynos4210-origen.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/exynos4210-smdkv310.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/exynos4210.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/exynos5250-smdk5250.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/exynos5250.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/fsm9900-rumi.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/fsm9900-sim.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/fsm9900.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/highbank.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/imx27-phytec-phycore.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/imx27.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/imx51-babbage.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/imx51.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/imx53-ard.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/imx53-evk.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/imx53-qsb.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/imx53-smd.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/imx53.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/imx6q-arm2.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/imx6q-sabrelite.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/imx6q.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/kirkwood-dreamplug.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/kirkwood.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/mpq8092-iommu.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/mpq8092-ion.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/mpq8092-regulator.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/mpq8092-rumi.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/mpq8092-rumi.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/mpq8092-sim.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/mpq8092.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/msm-gdsc.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/msm-iommu-v0.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/msm-iommu-v1.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/msm-pm8019-rpm-regulator.dtsi delete mode 100755 kernel/arch/arm/boot/dts/m7350-un-v3/msm-pm8019.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/msm-pm8110-rpm-regulator.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/msm-pm8110.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/msm-pm8226-rpm-regulator.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/msm-pm8226.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/msm-pm8841.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/msm-pm8941.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/msm-pm8x41-rpm-regulator.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/msm-pma8084.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/msm8226-bus.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/msm8226-camera-sensor-cdp.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/msm8226-camera-sensor-mtp.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/msm8226-camera-sensor-qrd.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/msm8226-camera.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/msm8226-cdp.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/msm8226-coresight.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/msm8226-fluid.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/msm8226-gpu.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/msm8226-iommu-domains.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/msm8226-iommu.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/msm8226-ion.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/msm8226-mdss.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/msm8226-mtp.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/msm8226-pm.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/msm8226-qrd.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/msm8226-regulator.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/msm8226-sim.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/msm8226-smp2p.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/msm8226-v1-cdp.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/msm8226-v1-mtp.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/msm8226-v1-qrd.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/msm8226-v1.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/msm8226-v2-cdp.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/msm8226-v2-mtp.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/msm8226-v2-qrd.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/msm8226-v2.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/msm8226.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/msm8610-bus.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/msm8610-camera-sensor-cdp-mtp.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/msm8610-camera.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/msm8610-cdp.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/msm8610-coresight.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/msm8610-gpu.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/msm8610-iommu-domains.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/msm8610-ion.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/msm8610-mdss.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/msm8610-mtp.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/msm8610-pm.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/msm8610-qrd.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/msm8610-regulator.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/msm8610-rumi.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/msm8610-sim.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/msm8610-smp2p.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/msm8610.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/msm8660-surf.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/msm8926-cdp.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/msm8926-mtp.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/msm8926-qrd.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/msm8926.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/msm8974-bus.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/msm8974-camera-sensor-cdp.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/msm8974-camera-sensor-dragonboard.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/msm8974-camera-sensor-fluid.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/msm8974-camera-sensor-liquid.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/msm8974-camera-sensor-mtp.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/msm8974-camera.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/msm8974-cdp.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/msm8974-clock.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/msm8974-coresight.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/msm8974-fluid.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/msm8974-gpu.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/msm8974-ion.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/msm8974-leds.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/msm8974-liquid.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/msm8974-mdss.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/msm8974-mtp.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/msm8974-regulator.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/msm8974-rumi.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/msm8974-sim.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/msm8974-smp2p.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/msm8974-v1-cdp.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/msm8974-v1-fluid.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/msm8974-v1-iommu-domains.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/msm8974-v1-iommu.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/msm8974-v1-liquid.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/msm8974-v1-mtp.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/msm8974-v1-pm.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/msm8974-v1-rumi.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/msm8974-v1-sim.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/msm8974-v1.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/msm8974-v2-cdp.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/msm8974-v2-fluid.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/msm8974-v2-iommu-domains.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/msm8974-v2-iommu.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/msm8974-v2-liquid.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/msm8974-v2-mtp.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/msm8974-v2-pm.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/msm8974-v2.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/msm8974.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/msm9625-cdp.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/msm9625-coresight.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/msm9625-display.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/msm9625-ion.dtsi delete mode 100755 kernel/arch/arm/boot/dts/m7350-un-v3/msm9625-mtp.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/msm9625-pm.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/msm9625-regulator.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/msm9625-smp2p.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/msm9625-v1-cdp.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/msm9625-v1-mtp.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/msm9625-v1-rumi.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/msm9625-v1.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/msm9625-v2-cdp.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/msm9625-v2-mtp.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/msm9625-v2.1-cdp.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/msm9625-v2.1-mtp.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/msm9625-v2.1.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/msm9625-v2.dtsi delete mode 100755 kernel/arch/arm/boot/dts/m7350-un-v3/msm9625.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/msmkrypton-sim.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/msmkrypton.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/msmsamarium-ion.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/msmsamarium-rumi.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/msmsamarium-sim.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/msmsamarium.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/omap2.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/omap3-beagle.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/omap3-evm.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/omap3.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/omap4-panda.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/omap4-sdp.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/omap4.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/picoxcell-pc3x2.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/picoxcell-pc3x3.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/picoxcell-pc7302-pc3x2.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/picoxcell-pc7302-pc3x3.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/prima2-cb.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/pxa168-aspenite.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/pxa168.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/qpic-panel-ili-qvga.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/skeleton.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/skeleton64.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/snowball.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/spear600-evb.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/spear600.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/tegra-cardhu.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/tegra-harmony.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/tegra-paz00.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/tegra-seaboard.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/tegra-trimslice.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/tegra-ventana.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/tegra20.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/tegra30.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/testcases/tests-phandle.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/testcases/tests.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/usb_a9g20-dab-mmx.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/usb_a9g20.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/versatile-ab.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/versatile-pb.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/vexpress-v2m-rs1.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/vexpress-v2m.dtsi delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/vexpress-v2p-ca15-tc1.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/vexpress-v2p-ca5s.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/vexpress-v2p-ca9.dts delete mode 100644 kernel/arch/arm/boot/dts/m7350-un-v3/zynq-ep107.dts mode change 100755 => 100644 kernel/arch/arm/boot/dts/msm9625-mtp.dtsi mode change 100755 => 100644 kernel/arch/arm/boot/dts/msm9625.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/am3517_mt_ventoux.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/apq8026-mtp.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/apq8026-xpm.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/apq8026.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/apq8074-dragonboard.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/apq8074-v1.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/apq8074-v2-dragonboard.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/apq8074-v2-liquid.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/apq8074-v2.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/apq8084-ion.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/apq8084-regulator.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/apq8084-sim.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/apq8084-smp2p.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/apq8084.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/at91sam9g20.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/at91sam9g25ek.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/at91sam9g45.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/at91sam9m10g45ek.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/at91sam9x5.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/at91sam9x5cm.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/db8500.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/dsi-panel-nt35590-720p-cmd.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/dsi-panel-nt35590-720p-video.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/dsi-panel-orise-720p-video.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/dsi-panel-sharp-qhd-video.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/dsi-panel-sim-video.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/dsi-panel-toshiba-720p-video.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/dsi-v2-panel-hx8379a-wvga-video.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/dsi-v2-panel-truly-wvga-video.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/exynos4210-origen.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/exynos4210-smdkv310.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/exynos4210.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/exynos5250-smdk5250.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/exynos5250.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/fsm9900-rumi.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/fsm9900-sim.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/fsm9900.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/highbank.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/imx27-phytec-phycore.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/imx27.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/imx51-babbage.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/imx51.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/imx53-ard.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/imx53-evk.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/imx53-qsb.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/imx53-smd.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/imx53.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/imx6q-arm2.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/imx6q-sabrelite.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/imx6q.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/kirkwood-dreamplug.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/kirkwood.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/mpq8092-iommu.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/mpq8092-ion.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/mpq8092-regulator.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/mpq8092-rumi.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/mpq8092-rumi.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/mpq8092-sim.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/mpq8092.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm-gdsc.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm-iommu-v0.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm-iommu-v1.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm-pm8019-rpm-regulator.dtsi delete mode 100755 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm-pm8019.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm-pm8110-rpm-regulator.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm-pm8110.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm-pm8226-rpm-regulator.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm-pm8226.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm-pm8841.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm-pm8941.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm-pm8x41-rpm-regulator.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm-pma8084.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8226-bus.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8226-camera-sensor-cdp.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8226-camera-sensor-mtp.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8226-camera-sensor-qrd.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8226-camera.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8226-cdp.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8226-coresight.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8226-fluid.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8226-gpu.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8226-iommu-domains.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8226-iommu.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8226-ion.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8226-mdss.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8226-mtp.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8226-pm.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8226-qrd.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8226-regulator.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8226-sim.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8226-smp2p.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8226-v1-cdp.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8226-v1-mtp.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8226-v1-qrd.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8226-v1.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8226-v2-cdp.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8226-v2-mtp.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8226-v2-qrd.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8226-v2.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8226.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8610-bus.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8610-camera-sensor-cdp-mtp.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8610-camera.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8610-cdp.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8610-coresight.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8610-gpu.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8610-iommu-domains.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8610-ion.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8610-mdss.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8610-mtp.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8610-pm.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8610-qrd.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8610-regulator.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8610-rumi.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8610-sim.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8610-smp2p.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8610.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8660-surf.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8926-cdp.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8926-mtp.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8926-qrd.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8926.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8974-bus.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8974-camera-sensor-cdp.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8974-camera-sensor-dragonboard.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8974-camera-sensor-fluid.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8974-camera-sensor-liquid.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8974-camera-sensor-mtp.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8974-camera.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8974-cdp.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8974-clock.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8974-coresight.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8974-fluid.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8974-gpu.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8974-ion.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8974-leds.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8974-liquid.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8974-mdss.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8974-mtp.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8974-regulator.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8974-rumi.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8974-sim.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8974-smp2p.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8974-v1-cdp.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8974-v1-fluid.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8974-v1-iommu-domains.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8974-v1-iommu.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8974-v1-liquid.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8974-v1-mtp.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8974-v1-pm.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8974-v1-rumi.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8974-v1-sim.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8974-v1.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8974-v2-cdp.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8974-v2-fluid.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8974-v2-iommu-domains.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8974-v2-iommu.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8974-v2-liquid.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8974-v2-mtp.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8974-v2-pm.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8974-v2.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8974.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm9625-cdp.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm9625-coresight.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm9625-display.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm9625-ion.dtsi delete mode 100755 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm9625-mtp.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm9625-pm.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm9625-regulator.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm9625-smp2p.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm9625-v1-cdp.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm9625-v1-mtp.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm9625-v1-rumi.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm9625-v1.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm9625-v2-cdp.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm9625-v2-mtp.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm9625-v2.1-cdp.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm9625-v2.1-mtp.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm9625-v2.1.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm9625-v2.dtsi delete mode 100755 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm9625.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msmkrypton-sim.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msmkrypton.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msmsamarium-ion.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msmsamarium-rumi.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msmsamarium-sim.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msmsamarium.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/omap2.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/omap3-beagle.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/omap3-evm.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/omap3.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/omap4-panda.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/omap4-sdp.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/omap4.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/picoxcell-pc3x2.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/picoxcell-pc3x3.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/picoxcell-pc7302-pc3x2.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/picoxcell-pc7302-pc3x3.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/prima2-cb.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/pxa168-aspenite.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/pxa168.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/qpic-panel-ili-qvga.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/skeleton.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/skeleton64.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/snowball.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/spear600-evb.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/spear600.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/tegra-cardhu.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/tegra-harmony.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/tegra-paz00.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/tegra-seaboard.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/tegra-trimslice.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/tegra-ventana.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/tegra20.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/tegra30.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/testcases/tests-phandle.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/testcases/tests.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/usb_a9g20-dab-mmx.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/usb_a9g20.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/versatile-ab.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/versatile-pb.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/vexpress-v2m-rs1.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/vexpress-v2m.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/vexpress-v2p-ca15-tc1.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/vexpress-v2p-ca5s.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/vexpress-v2p-ca9.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/zynq-ep107.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/am3517_mt_ventoux.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/apq8026-mtp.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/apq8026-xpm.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/apq8026.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/apq8074-dragonboard.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/apq8074-v1.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/apq8074-v2-dragonboard.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/apq8074-v2-liquid.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/apq8074-v2.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/apq8084-ion.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/apq8084-regulator.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/apq8084-sim.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/apq8084-smp2p.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/apq8084.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/at91sam9g20.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/at91sam9g25ek.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/at91sam9g45.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/at91sam9m10g45ek.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/at91sam9x5.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/at91sam9x5cm.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/db8500.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/dsi-panel-nt35590-720p-cmd.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/dsi-panel-nt35590-720p-video.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/dsi-panel-orise-720p-video.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/dsi-panel-sharp-qhd-video.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/dsi-panel-sim-video.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/dsi-panel-toshiba-720p-video.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/dsi-v2-panel-hx8379a-wvga-video.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/dsi-v2-panel-truly-wvga-video.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/exynos4210-origen.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/exynos4210-smdkv310.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/exynos4210.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/exynos5250-smdk5250.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/exynos5250.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/fsm9900-rumi.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/fsm9900-sim.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/fsm9900.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/highbank.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/imx27-phytec-phycore.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/imx27.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/imx51-babbage.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/imx51.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/imx53-ard.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/imx53-evk.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/imx53-qsb.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/imx53-smd.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/imx53.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/imx6q-arm2.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/imx6q-sabrelite.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/imx6q.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/kirkwood-dreamplug.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/kirkwood.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/mpq8092-iommu.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/mpq8092-ion.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/mpq8092-regulator.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/mpq8092-rumi.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/mpq8092-rumi.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/mpq8092-sim.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/mpq8092.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/msm-gdsc.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/msm-iommu-v0.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/msm-iommu-v1.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/msm-pm8019-rpm-regulator.dtsi delete mode 100755 kernel/arch/arm/boot/dts/tr961-5200l-v1/msm-pm8019.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/msm-pm8110-rpm-regulator.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/msm-pm8110.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/msm-pm8226-rpm-regulator.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/msm-pm8226.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/msm-pm8841.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/msm-pm8941.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/msm-pm8x41-rpm-regulator.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/msm-pma8084.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8226-bus.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8226-camera-sensor-cdp.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8226-camera-sensor-mtp.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8226-camera-sensor-qrd.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8226-camera.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8226-cdp.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8226-coresight.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8226-fluid.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8226-gpu.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8226-iommu-domains.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8226-iommu.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8226-ion.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8226-mdss.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8226-mtp.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8226-pm.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8226-qrd.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8226-regulator.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8226-sim.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8226-smp2p.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8226-v1-cdp.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8226-v1-mtp.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8226-v1-qrd.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8226-v1.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8226-v2-cdp.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8226-v2-mtp.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8226-v2-qrd.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8226-v2.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8226.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8610-bus.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8610-camera-sensor-cdp-mtp.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8610-camera.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8610-cdp.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8610-coresight.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8610-gpu.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8610-iommu-domains.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8610-ion.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8610-mdss.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8610-mtp.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8610-pm.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8610-qrd.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8610-regulator.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8610-rumi.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8610-sim.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8610-smp2p.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8610.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8660-surf.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8926-cdp.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8926-mtp.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8926-qrd.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8926.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8974-bus.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8974-camera-sensor-cdp.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8974-camera-sensor-dragonboard.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8974-camera-sensor-fluid.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8974-camera-sensor-liquid.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8974-camera-sensor-mtp.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8974-camera.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8974-cdp.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8974-clock.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8974-coresight.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8974-fluid.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8974-gpu.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8974-ion.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8974-leds.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8974-liquid.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8974-mdss.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8974-mtp.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8974-regulator.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8974-rumi.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8974-sim.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8974-smp2p.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8974-v1-cdp.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8974-v1-fluid.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8974-v1-iommu-domains.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8974-v1-iommu.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8974-v1-liquid.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8974-v1-mtp.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8974-v1-pm.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8974-v1-rumi.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8974-v1-sim.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8974-v1.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8974-v2-cdp.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8974-v2-fluid.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8974-v2-iommu-domains.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8974-v2-iommu.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8974-v2-liquid.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8974-v2-mtp.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8974-v2-pm.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8974-v2.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8974.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/msm9625-cdp.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/msm9625-coresight.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/msm9625-display.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/msm9625-ion.dtsi delete mode 100755 kernel/arch/arm/boot/dts/tr961-5200l-v1/msm9625-mtp.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/msm9625-pm.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/msm9625-regulator.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/msm9625-smp2p.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/msm9625-v1-cdp.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/msm9625-v1-mtp.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/msm9625-v1-rumi.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/msm9625-v1.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/msm9625-v2-cdp.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/msm9625-v2-mtp.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/msm9625-v2.1-cdp.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/msm9625-v2.1-mtp.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/msm9625-v2.1.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/msm9625-v2.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/msm9625.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/msmkrypton-sim.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/msmkrypton.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/msmsamarium-ion.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/msmsamarium-rumi.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/msmsamarium-sim.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/msmsamarium.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/omap2.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/omap3-beagle.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/omap3-evm.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/omap3.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/omap4-panda.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/omap4-sdp.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/omap4.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/picoxcell-pc3x2.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/picoxcell-pc3x3.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/picoxcell-pc7302-pc3x2.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/picoxcell-pc7302-pc3x3.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/prima2-cb.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/pxa168-aspenite.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/pxa168.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/qpic-panel-ili-qvga.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/skeleton.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/skeleton64.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/snowball.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/spear600-evb.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/spear600.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/tegra-cardhu.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/tegra-harmony.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/tegra-paz00.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/tegra-seaboard.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/tegra-trimslice.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/tegra-ventana.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/tegra20.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/tegra30.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/testcases/tests-phandle.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/testcases/tests.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/usb_a9g20-dab-mmx.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/usb_a9g20.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/versatile-ab.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/versatile-pb.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/vexpress-v2m-rs1.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/vexpress-v2m.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/vexpress-v2p-ca15-tc1.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/vexpress-v2p-ca5s.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/vexpress-v2p-ca9.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v1/zynq-ep107.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/am3517_mt_ventoux.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/apq8026-mtp.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/apq8026-xpm.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/apq8026.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/apq8074-dragonboard.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/apq8074-v1.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/apq8074-v2-dragonboard.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/apq8074-v2-liquid.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/apq8074-v2.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/apq8084-ion.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/apq8084-regulator.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/apq8084-sim.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/apq8084-smp2p.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/apq8084.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/at91sam9g20.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/at91sam9g25ek.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/at91sam9g45.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/at91sam9m10g45ek.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/at91sam9x5.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/at91sam9x5cm.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/db8500.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/dsi-panel-nt35590-720p-cmd.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/dsi-panel-nt35590-720p-video.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/dsi-panel-orise-720p-video.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/dsi-panel-sharp-qhd-video.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/dsi-panel-sim-video.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/dsi-panel-toshiba-720p-video.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/dsi-v2-panel-hx8379a-wvga-video.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/dsi-v2-panel-truly-wvga-video.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/exynos4210-origen.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/exynos4210-smdkv310.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/exynos4210.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/exynos5250-smdk5250.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/exynos5250.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/fsm9900-rumi.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/fsm9900-sim.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/fsm9900.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/highbank.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/imx27-phytec-phycore.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/imx27.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/imx51-babbage.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/imx51.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/imx53-ard.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/imx53-evk.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/imx53-qsb.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/imx53-smd.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/imx53.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/imx6q-arm2.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/imx6q-sabrelite.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/imx6q.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/kirkwood-dreamplug.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/kirkwood.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/mpq8092-iommu.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/mpq8092-ion.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/mpq8092-regulator.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/mpq8092-rumi.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/mpq8092-rumi.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/mpq8092-sim.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/mpq8092.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/msm-gdsc.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/msm-iommu-v0.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/msm-iommu-v1.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/msm-pm8019-rpm-regulator.dtsi delete mode 100755 kernel/arch/arm/boot/dts/tr961-5200l-v2/msm-pm8019.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/msm-pm8110-rpm-regulator.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/msm-pm8110.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/msm-pm8226-rpm-regulator.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/msm-pm8226.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/msm-pm8841.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/msm-pm8941.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/msm-pm8x41-rpm-regulator.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/msm-pma8084.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8226-bus.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8226-camera-sensor-cdp.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8226-camera-sensor-mtp.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8226-camera-sensor-qrd.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8226-camera.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8226-cdp.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8226-coresight.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8226-fluid.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8226-gpu.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8226-iommu-domains.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8226-iommu.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8226-ion.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8226-mdss.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8226-mtp.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8226-pm.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8226-qrd.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8226-regulator.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8226-sim.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8226-smp2p.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8226-v1-cdp.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8226-v1-mtp.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8226-v1-qrd.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8226-v1.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8226-v2-cdp.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8226-v2-mtp.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8226-v2-qrd.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8226-v2.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8226.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8610-bus.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8610-camera-sensor-cdp-mtp.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8610-camera.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8610-cdp.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8610-coresight.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8610-gpu.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8610-iommu-domains.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8610-ion.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8610-mdss.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8610-mtp.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8610-pm.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8610-qrd.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8610-regulator.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8610-rumi.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8610-sim.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8610-smp2p.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8610.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8660-surf.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8926-cdp.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8926-mtp.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8926-qrd.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8926.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8974-bus.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8974-camera-sensor-cdp.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8974-camera-sensor-dragonboard.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8974-camera-sensor-fluid.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8974-camera-sensor-liquid.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8974-camera-sensor-mtp.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8974-camera.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8974-cdp.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8974-clock.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8974-coresight.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8974-fluid.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8974-gpu.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8974-ion.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8974-leds.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8974-liquid.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8974-mdss.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8974-mtp.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8974-regulator.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8974-rumi.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8974-sim.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8974-smp2p.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8974-v1-cdp.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8974-v1-fluid.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8974-v1-iommu-domains.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8974-v1-iommu.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8974-v1-liquid.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8974-v1-mtp.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8974-v1-pm.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8974-v1-rumi.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8974-v1-sim.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8974-v1.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8974-v2-cdp.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8974-v2-fluid.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8974-v2-iommu-domains.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8974-v2-iommu.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8974-v2-liquid.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8974-v2-mtp.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8974-v2-pm.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8974-v2.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8974.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/msm9625-cdp.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/msm9625-coresight.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/msm9625-display.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/msm9625-ion.dtsi delete mode 100755 kernel/arch/arm/boot/dts/tr961-5200l-v2/msm9625-mtp.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/msm9625-pm.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/msm9625-regulator.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/msm9625-smp2p.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/msm9625-v1-cdp.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/msm9625-v1-mtp.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/msm9625-v1-rumi.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/msm9625-v1.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/msm9625-v2-cdp.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/msm9625-v2-mtp.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/msm9625-v2.1-cdp.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/msm9625-v2.1-mtp.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/msm9625-v2.1.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/msm9625-v2.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/msm9625.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/msmkrypton-sim.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/msmkrypton.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/msmsamarium-ion.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/msmsamarium-rumi.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/msmsamarium-sim.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/msmsamarium.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/omap2.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/omap3-beagle.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/omap3-evm.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/omap3.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/omap4-panda.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/omap4-sdp.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/omap4.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/picoxcell-pc3x2.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/picoxcell-pc3x3.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/picoxcell-pc7302-pc3x2.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/picoxcell-pc7302-pc3x3.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/prima2-cb.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/pxa168-aspenite.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/pxa168.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/qpic-panel-ili-qvga.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/skeleton.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/skeleton64.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/snowball.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/spear600-evb.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/spear600.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/tegra-cardhu.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/tegra-harmony.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/tegra-paz00.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/tegra-seaboard.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/tegra-trimslice.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/tegra-ventana.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/tegra20.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/tegra30.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/testcases/tests-phandle.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/testcases/tests.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/usb_a9g20-dab-mmx.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/usb_a9g20.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/versatile-ab.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/versatile-pb.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/vexpress-v2m-rs1.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/vexpress-v2m.dtsi delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/vexpress-v2p-ca15-tc1.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/vexpress-v2p-ca5s.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/vexpress-v2p-ca9.dts delete mode 100644 kernel/arch/arm/boot/dts/tr961-5200l-v2/zynq-ep107.dts delete mode 100755 kernel/arch/arm/configs/lte_module-v1-perf_defconfig delete mode 100755 kernel/arch/arm/configs/lte_module-v1_defconfig delete mode 100755 kernel/arch/arm/configs/m7300-un-v1-perf_defconfig delete mode 100755 kernel/arch/arm/configs/m7300-un-v1_defconfig delete mode 100644 kernel/arch/arm/configs/m7350-un-v1-perf_defconfig delete mode 100644 kernel/arch/arm/configs/m7350-un-v1_defconfig delete mode 100755 kernel/arch/arm/configs/m7350-un-v2-perf_defconfig delete mode 100755 kernel/arch/arm/configs/m7350-un-v3-perf_defconfig delete mode 100755 kernel/arch/arm/configs/m7350-un-v3_defconfig mode change 100755 => 100644 kernel/arch/arm/configs/msm9625-perf_defconfig mode change 100755 => 100644 kernel/arch/arm/configs/msm9625_defconfig delete mode 100644 kernel/arch/arm/configs/tr961-2500l-mobile-unicom-v1-perf_defconfig delete mode 100644 kernel/arch/arm/configs/tr961-2500l-mobile-unicom-v1_defconfig delete mode 100644 kernel/arch/arm/configs/tr961-5200l-v1-perf_defconfig delete mode 100644 kernel/arch/arm/configs/tr961-5200l-v1_defconfig delete mode 100644 kernel/arch/arm/configs/tr961-5200l-v2-perf_defconfig delete mode 100644 kernel/arch/arm/configs/tr961-5200l-v2_defconfig mode change 100755 => 100644 kernel/arch/arm/mach-msm/Kconfig mode change 100755 => 100644 kernel/arch/arm/mach-msm/Makefile mode change 100755 => 100644 kernel/arch/arm/mach-msm/board-9625-gpiomux.c mode change 100755 => 100644 kernel/arch/arm/mach-msm/board-9625.c delete mode 100755 kernel/arch/arm/mach-msm/board-lte-module-v1-gpiomux.c delete mode 100755 kernel/arch/arm/mach-msm/board-m7300-un-v1-gpiomux.c delete mode 100755 kernel/arch/arm/mach-msm/board-m7350-un-v1-gpiomux.c delete mode 100755 kernel/arch/arm/mach-msm/board-m7350-un-v2-gpiomux.c delete mode 100755 kernel/arch/arm/mach-msm/board-m7350-un-v3-gpiomux.c delete mode 100755 kernel/arch/arm/mach-msm/board-tr961-2500l-mobile-unicom-v1-gpiomux.c delete mode 100755 kernel/arch/arm/mach-msm/board-tr961-5200l-v1-gpiomux.c delete mode 100755 kernel/arch/arm/mach-msm/board-tr961-5200l-v2-gpiomux.c mode change 100755 => 100644 kernel/arch/arm/mach-msm/clock-9625.c delete mode 100755 kernel/arch/arm/mach-msm/pm8019_ext.c delete mode 100755 kernel/arch/arm/mach-msm/pm8019_ext.h mode change 100755 => 100644 kernel/drivers/mtd/devices/msm_qpic_nand.c delete mode 100755 kernel/drivers/oled/Kconfig delete mode 100755 kernel/drivers/oled/Makefile delete mode 100755 kernel/drivers/oled/oled_display.c delete mode 100755 kernel/drivers/oled/oled_display.h delete mode 100755 kernel/drivers/oled/oled_pt.c delete mode 100644 kernel/drivers/oled/oled_pt.h delete mode 100755 kernel/drivers/oled/oled_s90319_pt.c delete mode 100755 kernel/drivers/oled/oled_s90319_pt.h delete mode 100755 kernel/drivers/oled/oled_ssd1306_pt.c delete mode 100755 kernel/drivers/oled/oled_ssd1306_pt.h mode change 100755 => 100644 kernel/drivers/power/Kconfig mode change 100755 => 100644 kernel/drivers/power/Makefile delete mode 100755 kernel/drivers/power/mp2617-charger.c mode change 100755 => 100644 kernel/drivers/power/power_supply_sysfs.c mode change 100755 => 100644 kernel/drivers/usb/otg/msm_otg.c mode change 100755 => 100644 kernel/include/linux/power_supply.h mode change 100755 => 100644 kernel/include/linux/usb/msm_hsusb.h delete mode 100644 oe-core/bitbake/lib/bb/COW.pyc delete mode 100644 oe-core/bitbake/lib/bb/__init__.pyc delete mode 100644 oe-core/bitbake/lib/bb/build.pyc delete mode 100644 oe-core/bitbake/lib/bb/cache.pyc delete mode 100644 oe-core/bitbake/lib/bb/codeparser.pyc delete mode 100644 oe-core/bitbake/lib/bb/command.pyc delete mode 100644 oe-core/bitbake/lib/bb/compat.pyc delete mode 100644 oe-core/bitbake/lib/bb/cooker.pyc delete mode 100644 oe-core/bitbake/lib/bb/daemonize.pyc delete mode 100644 oe-core/bitbake/lib/bb/data.pyc delete mode 100644 oe-core/bitbake/lib/bb/data_smart.pyc delete mode 100644 oe-core/bitbake/lib/bb/event.pyc delete mode 100644 oe-core/bitbake/lib/bb/exceptions.pyc delete mode 100644 oe-core/bitbake/lib/bb/fetch2/__init__.pyc delete mode 100644 oe-core/bitbake/lib/bb/fetch2/bzr.pyc delete mode 100644 oe-core/bitbake/lib/bb/fetch2/cvs.pyc delete mode 100644 oe-core/bitbake/lib/bb/fetch2/git.pyc delete mode 100644 oe-core/bitbake/lib/bb/fetch2/hg.pyc delete mode 100644 oe-core/bitbake/lib/bb/fetch2/local.pyc delete mode 100644 oe-core/bitbake/lib/bb/fetch2/osc.pyc delete mode 100644 oe-core/bitbake/lib/bb/fetch2/perforce.pyc delete mode 100644 oe-core/bitbake/lib/bb/fetch2/repo.pyc delete mode 100644 oe-core/bitbake/lib/bb/fetch2/ssh.pyc delete mode 100644 oe-core/bitbake/lib/bb/fetch2/svk.pyc delete mode 100644 oe-core/bitbake/lib/bb/fetch2/svn.pyc delete mode 100644 oe-core/bitbake/lib/bb/fetch2/wget.pyc delete mode 100644 oe-core/bitbake/lib/bb/methodpool.pyc delete mode 100644 oe-core/bitbake/lib/bb/msg.pyc delete mode 100644 oe-core/bitbake/lib/bb/namedtuple_with_abc.pyc delete mode 100644 oe-core/bitbake/lib/bb/parse/__init__.pyc delete mode 100644 oe-core/bitbake/lib/bb/parse/ast.pyc delete mode 100644 oe-core/bitbake/lib/bb/parse/parse_py/BBHandler.pyc delete mode 100644 oe-core/bitbake/lib/bb/parse/parse_py/ConfHandler.pyc delete mode 100644 oe-core/bitbake/lib/bb/parse/parse_py/__init__.pyc delete mode 100644 oe-core/bitbake/lib/bb/persist_data.pyc delete mode 100644 oe-core/bitbake/lib/bb/process.pyc delete mode 100644 oe-core/bitbake/lib/bb/providers.pyc delete mode 100644 oe-core/bitbake/lib/bb/pysh/__init__.pyc delete mode 100644 oe-core/bitbake/lib/bb/pysh/pyshlex.pyc delete mode 100644 oe-core/bitbake/lib/bb/pysh/pyshtables.py delete mode 100644 oe-core/bitbake/lib/bb/pysh/pyshtables.pyc delete mode 100644 oe-core/bitbake/lib/bb/pysh/pyshyacc.pyc delete mode 100644 oe-core/bitbake/lib/bb/pysh/sherrors.pyc delete mode 100644 oe-core/bitbake/lib/bb/runqueue.pyc delete mode 100644 oe-core/bitbake/lib/bb/server/__init__.pyc delete mode 100644 oe-core/bitbake/lib/bb/server/process.pyc delete mode 100644 oe-core/bitbake/lib/bb/server/xmlrpc.pyc delete mode 100644 oe-core/bitbake/lib/bb/siggen.pyc delete mode 100644 oe-core/bitbake/lib/bb/taskdata.pyc delete mode 100644 oe-core/bitbake/lib/bb/ui/__init__.pyc delete mode 100644 oe-core/bitbake/lib/bb/ui/knotty.pyc delete mode 100644 oe-core/bitbake/lib/bb/ui/uievent.pyc delete mode 100644 oe-core/bitbake/lib/bb/ui/uihelper.pyc delete mode 100644 oe-core/bitbake/lib/bb/utils.pyc delete mode 100644 oe-core/bitbake/lib/codegen.pyc delete mode 100644 oe-core/bitbake/lib/ply/__init__.pyc delete mode 100644 oe-core/bitbake/lib/ply/lex.pyc delete mode 100644 oe-core/bitbake/lib/ply/yacc.pyc delete mode 100644 oe-core/bitbake/lib/progressbar.pyc delete mode 100644 oe-core/bitbake/lib/prserv/__init__.pyc delete mode 100644 oe-core/bitbake/lib/prserv/db.pyc delete mode 100644 oe-core/bitbake/lib/prserv/serv.pyc delete mode 100644 oe-core/build/conf/bblayers.conf delete mode 100644 oe-core/build/conf/sanity_info delete mode 100644 oe-core/build/downloads/0001-Include-sysinfo.h-in-libbb.h-and-remove-custom-sysin.patch.done delete mode 100644 oe-core/build/downloads/0001-No-AltiVec-on-SPE.patch.done delete mode 100644 oe-core/build/downloads/0001-certification-fixes.patch.done delete mode 100644 oe-core/build/downloads/0001-enable-backhaul.patch.done delete mode 100644 oe-core/build/downloads/0001-enable-http-date.patch.done delete mode 100644 oe-core/build/downloads/0001-events-fix.patch.done delete mode 100644 oe-core/build/downloads/0001-iw-version.sh-don-t-use-git-describe-for-versioning.patch.done delete mode 100644 oe-core/build/downloads/0001-make.patch.done delete mode 100644 oe-core/build/downloads/0001-minimal-IEEE802.15.4-allowed.patch.done delete mode 100644 oe-core/build/downloads/0001-mpeg-codec-fix.patch.done delete mode 100644 oe-core/build/downloads/0001-patch.patch.done delete mode 100644 oe-core/build/downloads/0001-pimb-multicast-support-on-network.patch.done delete mode 100644 oe-core/build/downloads/0001-port-desc.patch.done delete mode 100644 oe-core/build/downloads/0001-presentation-page.patch.done delete mode 100644 oe-core/build/downloads/0001-tc-Add-flow-control-setting-on-PRIO-qdisc.patch.done delete mode 100644 oe-core/build/downloads/0001-upstream-fixes.patch.done delete mode 100644 oe-core/build/downloads/0002-qcmap-enabled.patch.done delete mode 100644 oe-core/build/downloads/00avahi-autoipd.done delete mode 100644 oe-core/build/downloads/04-default-is-optimized.patch.done delete mode 100644 oe-core/build/downloads/05-enable-ctypes-cross-build.patch.done delete mode 100644 oe-core/build/downloads/06-ctypes-libffi-fix-configure.patch.done delete mode 100644 oe-core/build/downloads/09_fix_installperl.patch.done delete mode 100644 oe-core/build/downloads/10-distutils-fix-swig-parameter.patch.done delete mode 100644 oe-core/build/downloads/100-uclibc-conf.patch.done delete mode 100644 oe-core/build/downloads/103-ubicom32-nattype_lib.patch.done delete mode 100644 oe-core/build/downloads/103-uclibc-conf-noupstream.patch.done delete mode 100644 oe-core/build/downloads/11-distutils-never-modify-shebang-line.patch.done delete mode 100644 oe-core/build/downloads/12-distutils-prefix-is-inside-staging-area.patch.done delete mode 100644 oe-core/build/downloads/200-uclibc-locale.patch.done delete mode 100644 oe-core/build/downloads/203-uclibc-locale-no__x.patch.done delete mode 100644 oe-core/build/downloads/204-uclibc-locale-wchar_fix.patch.done delete mode 100644 oe-core/build/downloads/205-uclibc-locale-update.patch.done delete mode 100644 oe-core/build/downloads/301-missing-execinfo_h.patch.done delete mode 100644 oe-core/build/downloads/302-c99-snprintf.patch.done delete mode 100644 oe-core/build/downloads/303-c99-complex-ugly-hack.patch.done delete mode 100644 oe-core/build/downloads/304-index_macro.patch.done delete mode 100644 oe-core/build/downloads/305-libmudflap-susv3-legacy.patch.done delete mode 100644 oe-core/build/downloads/306-libstdc++-namespace.patch.done delete mode 100644 oe-core/build/downloads/50-log.rules.done delete mode 100644 oe-core/build/downloads/60_wait-longer-for-threads-to-die.patch.done delete mode 100644 oe-core/build/downloads/64bithack.patch.done delete mode 100644 oe-core/build/downloads/740-sh-pr24836.patch.done delete mode 100644 oe-core/build/downloads/800-arm-bigendian.patch.done delete mode 100644 oe-core/build/downloads/904-flatten-switch-stmt-00.patch.done delete mode 100644 oe-core/build/downloads/99avahi-autoipd.done delete mode 100644 oe-core/build/downloads/99avahi-daemon.conf.done delete mode 100644 oe-core/build/downloads/99avahi-daemon.done delete mode 100644 oe-core/build/downloads/99avahi_multi.service.done delete mode 100644 oe-core/build/downloads/B921600.patch.done delete mode 100644 oe-core/build/downloads/COLLECT_GCC_OPTIONS.patch.done delete mode 100644 oe-core/build/downloads/COPYING.done delete mode 100644 oe-core/build/downloads/COPYING.patch.done delete mode 100644 oe-core/build/downloads/Configure-multilib.patch.done delete mode 100644 oe-core/build/downloads/GPLUSPLUS_INCLUDE_DIR_with_sysroot.patch.done delete mode 100644 oe-core/build/downloads/GPLv2.patch.done delete mode 100644 oe-core/build/downloads/IO-acquire-lock-fix.patch.done delete mode 100644 oe-core/build/downloads/Ignore_page_size_assertion.patch.done delete mode 100644 oe-core/build/downloads/MCONFIG.done delete mode 100644 oe-core/build/downloads/MM_Unix.pm.patch.done delete mode 100644 oe-core/build/downloads/Makefile.SH.patch.done delete mode 100644 oe-core/build/downloads/Makefile.am.done delete mode 100644 oe-core/build/downloads/Makefile.done delete mode 100644 oe-core/build/downloads/Makefile.patch.done delete mode 100644 oe-core/build/downloads/PD.patch.done delete mode 100644 oe-core/build/downloads/Python-2.7.2.tar.bz2.done delete mode 100644 oe-core/build/downloads/XML-Parser-2.41.tar.gz.done delete mode 100644 oe-core/build/downloads/ac_config_links.patch.done delete mode 100644 oe-core/build/downloads/ac_init_fix.patch.done delete mode 100644 oe-core/build/downloads/acdb-loader.done delete mode 100644 oe-core/build/downloads/acdb-mapper.done delete mode 100644 oe-core/build/downloads/acdb-rtac.done delete mode 100644 oe-core/build/downloads/acinclude.m4.done delete mode 100644 oe-core/build/downloads/acl-2.2.51.src.tar.gz.done delete mode 100644 oe-core/build/downloads/aclocal.tgz.done delete mode 100644 oe-core/build/downloads/add-diag-user.patch.done delete mode 100644 oe-core/build/downloads/add-hash.patch.done delete mode 100644 oe-core/build/downloads/add-license-field.patch.done delete mode 100644 oe-core/build/downloads/add-md5module-support.patch.done delete mode 100644 oe-core/build/downloads/add-reboot-daemon-group.patch.done delete mode 100644 oe-core/build/downloads/add-sdcard-diag-groups.patch.done delete mode 100644 oe-core/build/downloads/add-system.patch.done delete mode 100644 oe-core/build/downloads/add-verbose.patch.done delete mode 100644 oe-core/build/downloads/add_root_cmd_options.patch.done delete mode 100644 oe-core/build/downloads/add_uname_support.patch.done delete mode 100644 oe-core/build/downloads/add_vercmp.patch.done delete mode 100644 oe-core/build/downloads/adduser-empty_pwd.patch.done delete mode 100644 oe-core/build/downloads/alignment.sh.done delete mode 100644 oe-core/build/downloads/allow-nopw.patch.done delete mode 100644 oe-core/build/downloads/amd64.patch.done delete mode 100644 oe-core/build/downloads/arfile_header_split.patch.done delete mode 100644 oe-core/build/downloads/argparse-1.2.1.tar.gz.done delete mode 100644 oe-core/build/downloads/arm-nolibfloat.patch.done delete mode 100644 oe-core/build/downloads/arm-softfloat.patch.done delete mode 100644 oe-core/build/downloads/arm-thumb-mutex_db5.patch.done delete mode 100644 oe-core/build/downloads/arm_backend.diff.done delete mode 100644 oe-core/build/downloads/arm_thread_stress_timeout.diff.done delete mode 100644 oe-core/build/downloads/armsel-linux.cache.done delete mode 100644 oe-core/build/downloads/armv4-eabi-compile-fix.patch.done delete mode 100644 oe-core/build/downloads/atfwd-daemon.done delete mode 100644 oe-core/build/downloads/ath6kl-utils.done delete mode 100644 oe-core/build/downloads/ath6kl_ctrl_wlan.done delete mode 100644 oe-core/build/downloads/attr-2.4.46.src.tar.gz.done delete mode 100644 oe-core/build/downloads/audcal.done delete mode 100644 oe-core/build/downloads/audio-alsa.done delete mode 100644 oe-core/build/downloads/audio_ftm.done delete mode 100644 oe-core/build/downloads/autoconf-2.68.tar.bz2.done delete mode 100644 oe-core/build/downloads/autofoo.patch.done delete mode 100644 oe-core/build/downloads/autoheader-nonfatal-warnings.patch.done delete mode 100644 oe-core/build/downloads/automake-1.11.2.tar.bz2.done delete mode 100644 oe-core/build/downloads/automake_1.11.2_fix_for_pkglibexec_SCRIPTS.patch.done delete mode 100644 oe-core/build/downloads/automountsdcard.sh.done delete mode 100644 oe-core/build/downloads/autoreconf-exclude.patch.done delete mode 100644 oe-core/build/downloads/autoreconf-foreign.patch.done delete mode 100644 oe-core/build/downloads/autoreconf-gnuconfigize.patch.done delete mode 100644 oe-core/build/downloads/autoreconf-include.patch.done delete mode 100644 oe-core/build/downloads/autotools.patch.done delete mode 100644 oe-core/build/downloads/avahi-0.6.31.tar.gz.done delete mode 100644 oe-core/build/downloads/avoid-strip.patch.done delete mode 100644 oe-core/build/downloads/avoid_absolute_paths_for_general_utils.patch.done delete mode 100644 oe-core/build/downloads/avoid_static.patch.done delete mode 100644 oe-core/build/downloads/avoid_strip.patch.done delete mode 100644 oe-core/build/downloads/banner.sh.done delete mode 100644 oe-core/build/downloads/base-passwd_3.5.22.tar.gz.done delete mode 100644 oe-core/build/downloads/bash-4.2.tar.gz.done delete mode 100644 oe-core/build/downloads/bash42-001.done delete mode 100644 oe-core/build/downloads/bash42-002.done delete mode 100644 oe-core/build/downloads/bash42-003.done delete mode 100644 oe-core/build/downloads/bash42-004.done delete mode 100644 oe-core/build/downloads/bash42-005.done delete mode 100644 oe-core/build/downloads/bash42-006.done delete mode 100644 oe-core/build/downloads/bash42-007.done delete mode 100644 oe-core/build/downloads/bash42-008.done delete mode 100644 oe-core/build/downloads/bash42-009.done delete mode 100644 oe-core/build/downloads/bash42-010.done delete mode 100644 oe-core/build/downloads/binutils-2.19.1-ld-sysroot.patch.done delete mode 100644 oe-core/build/downloads/binutils-2.22.tar.bz2.done delete mode 100644 oe-core/build/downloads/binutils-poison.patch.done delete mode 100644 oe-core/build/downloads/binutils-powerpc-e5500.patch.done delete mode 100644 oe-core/build/downloads/binutils-uclibc-100-uclibc-conf.patch.done delete mode 100644 oe-core/build/downloads/binutils-uclibc-300-001_ld_makefile_patch.patch.done delete mode 100644 oe-core/build/downloads/binutils-uclibc-300-006_better_file_error.patch.done delete mode 100644 oe-core/build/downloads/binutils-uclibc-300-012_check_ldrunpath_length.patch.done delete mode 100644 oe-core/build/downloads/binutils-uclibc-gas-needs-libm.patch.done delete mode 100644 oe-core/build/downloads/binutils-x86_64_i386_biarch.patch.done delete mode 100644 oe-core/build/downloads/bison-2.5.tar.gz.done delete mode 100644 oe-core/build/downloads/blobmsg_add_json_from_file.patch.done delete mode 100644 oe-core/build/downloads/bootlogd.init.done delete mode 100644 oe-core/build/downloads/bootmisc.sh.done delete mode 100644 oe-core/build/downloads/busybox-1.18.5.tar.bz2.done delete mode 100644 oe-core/build/downloads/busybox-appletlib-dependency.patch.done delete mode 100644 oe-core/build/downloads/busybox-cron.done delete mode 100644 oe-core/build/downloads/busybox-httpd.done delete mode 100644 oe-core/build/downloads/busybox-udhcpd.done delete mode 100644 oe-core/build/downloads/bzip2-1.0.6.tar.gz.done delete mode 100644 oe-core/build/downloads/c_rehash-compat.patch.done delete mode 100644 oe-core/build/downloads/ca.patch.done delete mode 100644 oe-core/build/downloads/cache-amnesia.patch.done delete mode 100644 oe-core/build/downloads/check_snprintf.patch.done delete mode 100644 oe-core/build/downloads/check_version.patch.done delete mode 100644 oe-core/build/downloads/checkfs.sh.done delete mode 100644 oe-core/build/downloads/checkroot.sh.done delete mode 100644 oe-core/build/downloads/chgrp-diag.done delete mode 100644 oe-core/build/downloads/clone-shadow.patch.done delete mode 100644 oe-core/build/downloads/cmake-2.8.5.tar.gz.done delete mode 100644 oe-core/build/downloads/compat-wireless.done delete mode 100644 oe-core/build/downloads/config-guess-uclibc.patch.done delete mode 100644 oe-core/build/downloads/config.cache.done delete mode 100644 oe-core/build/downloads/config.sh-32-be.done delete mode 100644 oe-core/build/downloads/config.sh-32-le.done delete mode 100644 oe-core/build/downloads/config.sh-32.done delete mode 100644 oe-core/build/downloads/config.sh-64-be.done delete mode 100644 oe-core/build/downloads/config.sh-64-le.done delete mode 100644 oe-core/build/downloads/config.sh-64.done delete mode 100644 oe-core/build/downloads/config.sh.done delete mode 100644 oe-core/build/downloads/config_site.patch.done delete mode 100644 oe-core/build/downloads/configdb.done delete mode 100644 oe-core/build/downloads/configure-cross.patch.done delete mode 100644 oe-core/build/downloads/configure-fix.patch.done delete mode 100644 oe-core/build/downloads/configure-libtool.patch.done delete mode 100644 oe-core/build/downloads/configure-targets.patch.done delete mode 100644 oe-core/build/downloads/configure.ac.done delete mode 100644 oe-core/build/downloads/configure.patch.done delete mode 100644 oe-core/build/downloads/connector-msg-size-fix.patch.done delete mode 100644 oe-core/build/downloads/conntrack-tools-1.0.1.tar.bz2.done delete mode 100644 oe-core/build/downloads/core.done delete mode 100644 oe-core/build/downloads/cpan_definstalldirs.diff.done delete mode 100644 oe-core/build/downloads/cpanplus_config_path.diff.done delete mode 100644 oe-core/build/downloads/cpanplus_definstalldirs.diff.done delete mode 100644 oe-core/build/downloads/cross-generate_uudmap.patch.done delete mode 100644 oe-core/build/downloads/crypt-lib.patch.done delete mode 100644 oe-core/build/downloads/csd-server.done delete mode 100644 oe-core/build/downloads/curl-7.23.1.tar.bz2.done delete mode 100644 oe-core/build/downloads/cvs-20040608.patch.done delete mode 100644 oe-core/build/downloads/cxm-apps.done delete mode 100644 oe-core/build/downloads/data-init.done delete mode 100644 oe-core/build/downloads/data-ipa-cfg-mgr.done delete mode 100644 oe-core/build/downloads/data.done delete mode 100644 oe-core/build/downloads/db-5.1.19.tar.gz.done delete mode 100644 oe-core/build/downloads/db_file_ver.diff.done delete mode 100644 oe-core/build/downloads/dbus-1.4.16.tar.gz.done delete mode 100644 oe-core/build/downloads/dbus-1.init.done delete mode 100644 oe-core/build/downloads/debian-targets.patch.done delete mode 100644 oe-core/build/downloads/debug.patch.done delete mode 100644 oe-core/build/downloads/default.script.done delete mode 100644 oe-core/build/downloads/defconfig-ath6kl.done delete mode 100644 oe-core/build/downloads/defconfig.done delete mode 100644 oe-core/build/downloads/defines.h.done delete mode 100644 oe-core/build/downloads/deprecate-with-apt.diff.done delete mode 100644 oe-core/build/downloads/desktop-file-utils-0.15.tar.gz.done delete mode 100644 oe-core/build/downloads/device_table.txt.done delete mode 100644 oe-core/build/downloads/devpts.done delete mode 100644 oe-core/build/downloads/devpts.sh.done delete mode 100644 oe-core/build/downloads/dhcpcd-5.2.10.tar.bz2.done delete mode 100644 oe-core/build/downloads/diag-reboot-app.done delete mode 100644 oe-core/build/downloads/diag.done delete mode 100644 oe-core/build/downloads/disable-legacy.patch.done delete mode 100644 oe-core/build/downloads/disable-xmms-plugin.patch.done delete mode 100644 oe-core/build/downloads/disable-zlib-bundling.diff.done delete mode 100644 oe-core/build/downloads/disable_man.patch.done delete mode 100644 oe-core/build/downloads/disable_relax_pic_calls_flag.patch.done delete mode 100644 oe-core/build/downloads/dnsmasq-2.55.tar.gz.done delete mode 100644 oe-core/build/downloads/dnsmasq.conf.done delete mode 100644 oe-core/build/downloads/do-autoreconf.diff.done delete mode 100644 oe-core/build/downloads/doc_info.diff.done delete mode 100644 oe-core/build/downloads/document_makemaker_ccflags.diff.done delete mode 100644 oe-core/build/downloads/dot.bashrc.done delete mode 100644 oe-core/build/downloads/dot.profile.done delete mode 100644 oe-core/build/downloads/dpkg_1.15.8.11.tar.bz2.done delete mode 100644 oe-core/build/downloads/dropbear-0.53.1-static_build_fix.patch.done delete mode 100644 oe-core/build/downloads/dropbear-2011.54.tar.gz.done delete mode 100644 oe-core/build/downloads/dso-link-change.patch.done delete mode 100644 oe-core/build/downloads/dsutils.done delete mode 100644 oe-core/build/downloads/dump.done delete mode 100644 oe-core/build/downloads/ebtables-v2.0.10-4.tar.gz.done delete mode 100644 oe-core/build/downloads/eglibc-2_13_www.eglibc.org_.svn.branches._15508_.tar.gz.done delete mode 100644 oe-core/build/downloads/eglibc-svn-arm-lowlevellock-include-tls.patch.done delete mode 100644 oe-core/build/downloads/elf_additions.diff.done delete mode 100644 oe-core/build/downloads/elfutils-0.148.tar.bz2.done delete mode 100644 oe-core/build/downloads/elfutils-fsize.patch.done delete mode 100644 oe-core/build/downloads/enc2xs_inc.diff.done delete mode 100644 oe-core/build/downloads/engines-install-in-libdir-ssl.patch.done delete mode 100644 oe-core/build/downloads/errno_ver.diff.done delete mode 100644 oe-core/build/downloads/execute_cmd.patch.done delete mode 100644 oe-core/build/downloads/expat-2.0.1.tar.gz.done delete mode 100644 oe-core/build/downloads/extutils-cbuilder-cflags.diff.done delete mode 100644 oe-core/build/downloads/extutils_set_libperl_path.diff.done delete mode 100644 oe-core/build/downloads/fakeroot.diff.done delete mode 100644 oe-core/build/downloads/fdisk_nios2.patch.done delete mode 100644 oe-core/build/downloads/ffmpeg-1.1.tar.gz.done delete mode 100644 oe-core/build/downloads/file-5.09.tar.gz.done delete mode 100644 oe-core/build/downloads/filesystems.done delete mode 100644 oe-core/build/downloads/find-touchscreen.sh.done delete mode 100644 oe-core/build/downloads/find_html2text.diff.done delete mode 100644 oe-core/build/downloads/finish.sh.done delete mode 100644 oe-core/build/downloads/fix-2kb-keys.patch.done delete mode 100644 oe-core/build/downloads/fix-compilation-bug.patch.done delete mode 100644 oe-core/build/downloads/fix-final-rpath.patch.done delete mode 100644 oe-core/build/downloads/fix-for-ice-50099.patch.done delete mode 100644 oe-core/build/downloads/fix-iptunnel-location.patch.done delete mode 100644 oe-core/build/downloads/fix-pc-file.patch.done delete mode 100644 oe-core/build/downloads/fix-pcre-name-collision.patch.done delete mode 100644 oe-core/build/downloads/fix-pktloc_syntax_h-race.patch.done delete mode 100644 oe-core/build/downloads/fix-rpath.patch.done delete mode 100644 oe-core/build/downloads/fix.inverted.LFS.logic.patch.done delete mode 100644 oe-core/build/downloads/fix_STT_GNU_IFUNC.patch.done delete mode 100644 oe-core/build/downloads/fix_bad_rpath.patch.done delete mode 100644 oe-core/build/downloads/fix_for_automake_1.11.2.patch.done delete mode 100644 oe-core/build/downloads/fix_for_gcc-4.7.patch.done delete mode 100644 oe-core/build/downloads/fix_installorder.patch.done delete mode 100644 oe-core/build/downloads/fix_path_xtra.patch.done delete mode 100644 oe-core/build/downloads/fix_version_check.patch.done delete mode 100644 oe-core/build/downloads/fix_version_info.patch.done delete mode 100644 oe-core/build/downloads/fixinstall.patch.done delete mode 100644 oe-core/build/downloads/flac-1.2.1.tar.gz.done delete mode 100644 oe-core/build/downloads/flac-gcc43-fixes.patch.done delete mode 100644 oe-core/build/downloads/flex-2.5.35.tar.bz2.done delete mode 100644 oe-core/build/downloads/fortran-cross-compile-hack.patch.done delete mode 100644 oe-core/build/downloads/fprint-pointer-fix.patch.done delete mode 100644 oe-core/build/downloads/fs_config.done delete mode 100644 oe-core/build/downloads/fstab.done delete mode 100644 oe-core/build/downloads/functions.done delete mode 100644 oe-core/build/downloads/g_once_init_enter.patch.done delete mode 100644 oe-core/build/downloads/garden-app.done delete mode 100644 oe-core/build/downloads/gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch.done delete mode 100644 oe-core/build/downloads/gcc-4.3.3-SYSROOT_CFLAGS_FOR_TARGET.patch.done delete mode 100644 oe-core/build/downloads/gcc-4_6-branch_gcc.gnu.org_.svn.gcc.branches_181430_.tar.gz.done delete mode 100644 oe-core/build/downloads/gcc-arm-set-cost.patch.done delete mode 100644 oe-core/build/downloads/gcc-flags-for-build.patch.done delete mode 100644 oe-core/build/downloads/gcc-poison-dir-extend.patch.done delete mode 100644 oe-core/build/downloads/gcc-poison-system-directories.patch.done delete mode 100644 oe-core/build/downloads/gcc-uclibc-locale-ctype_touplow_t.patch.done delete mode 100644 oe-core/build/downloads/gcc-with-linker-hash-style.patch.done delete mode 100644 oe-core/build/downloads/gdb-7.3.1.tar.gz.done delete mode 100644 oe-core/build/downloads/gdbm-1.10.tar.gz.done delete mode 100644 oe-core/build/downloads/gdbserver-cflags-last.diff.done delete mode 100644 oe-core/build/downloads/generate-sh.patch.done delete mode 100644 oe-core/build/downloads/generate-supported.mk.done delete mode 100644 oe-core/build/downloads/geninit.done delete mode 100644 oe-core/build/downloads/get_header_tar.patch.done delete mode 100644 oe-core/build/downloads/gettext-0.18.1.1.tar.gz.done delete mode 100644 oe-core/build/downloads/git-1.7.7.tar.gz.done delete mode 100644 oe-core/build/downloads/git.kernel.org.pub.scm.linux.kernel.git.shemminger.iproute2.git.done delete mode 100644 oe-core/build/downloads/git.lttng.org.lttng-ust.git.done delete mode 100644 oe-core/build/downloads/git.yoctoproject.org.prelink-cross.git.done delete mode 100644 oe-core/build/downloads/github.com.maru-sama.rtsp-linux-v2.6.git.done delete mode 100644 oe-core/build/downloads/github.com.philb.update-rc.d.git.done delete mode 100644 oe-core/build/downloads/github.com.troglobit.pimd.git.done delete mode 100644 oe-core/build/downloads/glib-2.0_fix_for_x32.patch.done delete mode 100644 oe-core/build/downloads/glib-2.30.2.tar.bz2.done delete mode 100644 oe-core/build/downloads/glib-gettextize-dir.patch.done delete mode 100644 oe-core/build/downloads/glibconfig-sysdefs.h.done delete mode 100644 oe-core/build/downloads/gmp-5.0.2.tar.bz2.done delete mode 100644 oe-core/build/downloads/gmp_bugfix.patch.done delete mode 100644 oe-core/build/downloads/gmp_fix_for_x32.patch.done delete mode 100644 oe-core/build/downloads/gnu-config-yocto-20111111.tgz.done delete mode 100644 oe-core/build/downloads/gnu-configize.in.done delete mode 100644 oe-core/build/downloads/gperf-3.0.4.tar.gz.done delete mode 100644 oe-core/build/downloads/gps.done delete mode 100644 oe-core/build/downloads/grab_module_memset.patch.done delete mode 100644 oe-core/build/downloads/group.done delete mode 100644 oe-core/build/downloads/gtk-doc.m4.done delete mode 100644 oe-core/build/downloads/gzip-1.4.tar.gz.done delete mode 100644 oe-core/build/downloads/h2ph-multiarch.diff.done delete mode 100644 oe-core/build/downloads/hack_uci_save.patch.done delete mode 100644 oe-core/build/downloads/halt.done delete mode 100644 oe-core/build/downloads/header-include-fix.patch.done delete mode 100644 oe-core/build/downloads/host.conf.done delete mode 100644 oe-core/build/downloads/hostap.done delete mode 100644 oe-core/build/downloads/hostname.sh.done delete mode 100644 oe-core/build/downloads/hosts.done delete mode 100644 oe-core/build/downloads/hppa_backend.diff.done delete mode 100644 oe-core/build/downloads/hurd-ccflags.diff.done delete mode 100644 oe-core/build/downloads/hurd-hints.diff.done delete mode 100644 oe-core/build/downloads/hwclock-default.done delete mode 100644 oe-core/build/downloads/hwclock.sh.done delete mode 100644 oe-core/build/downloads/i386_dis.h.done delete mode 100644 oe-core/build/downloads/ieee80215-arphrd.patch.done delete mode 100644 oe-core/build/downloads/ignore_extra_fields.patch.done delete mode 100644 oe-core/build/downloads/index-ignore-filenotfound.patch.done delete mode 100644 oe-core/build/downloads/index-tainting.diff.done delete mode 100644 oe-core/build/downloads/index.html.lighttpd.done delete mode 100644 oe-core/build/downloads/inetd.conf.done delete mode 100644 oe-core/build/downloads/inetd.done delete mode 100644 oe-core/build/downloads/init.done delete mode 100644 oe-core/build/downloads/init_qcom_audio.done delete mode 100644 oe-core/build/downloads/initscript.patch.done delete mode 100644 oe-core/build/downloads/inittab.done delete mode 100644 oe-core/build/downloads/inputrc.done delete mode 100644 oe-core/build/downloads/install.patch.done delete mode 100644 oe-core/build/downloads/installperl.patch.done delete mode 100644 oe-core/build/downloads/instmodsh_doc.diff.done delete mode 100644 oe-core/build/downloads/interfaces.done delete mode 100644 oe-core/build/downloads/intltool-0.40.6.tar.bz2.done delete mode 100644 oe-core/build/downloads/intltool-nowarn-0.40.0.patch.done delete mode 100644 oe-core/build/downloads/iperf-2.0.5.tar.gz.done delete mode 100644 oe-core/build/downloads/iptables-1.4.12.1.tar.bz2.done delete mode 100644 oe-core/build/downloads/ipth_dme.done delete mode 100644 oe-core/build/downloads/ipv6-cross.patch.done delete mode 100644 oe-core/build/downloads/issue.done delete mode 100644 oe-core/build/downloads/issue.net.done delete mode 100644 oe-core/build/downloads/iw-3.6.tar.bz2.done delete mode 100644 oe-core/build/downloads/jquery-1.9.1.min.js.done delete mode 100644 oe-core/build/downloads/jquery-ui-1.10.1.custom.zip.done delete mode 100644 oe-core/build/downloads/json-c-0.9.tar.gz.done delete mode 100644 oe-core/build/downloads/kbd-1.15.2.tar.bz2.done delete mode 100644 oe-core/build/downloads/kernel-tests.done delete mode 100644 oe-core/build/downloads/keymap.sh.done delete mode 100644 oe-core/build/downloads/kill_arm_map_symbols.patch.done delete mode 100644 oe-core/build/downloads/ld.so.conf.done delete mode 100644 oe-core/build/downloads/ld_run_path.diff.done delete mode 100644 oe-core/build/downloads/letgcc-find-errno.patch.done delete mode 100644 oe-core/build/downloads/libcap-2.22.tar.bz2.done delete mode 100644 oe-core/build/downloads/libdaemon-0.14.tar.gz.done delete mode 100644 oe-core/build/downloads/libexif-0.6.21.tar.gz.done delete mode 100644 oe-core/build/downloads/libffi-3.0.10.tar.gz.done delete mode 100644 oe-core/build/downloads/libghttp_1.0.9-17.patch.done delete mode 100644 oe-core/build/downloads/libghttp_1.0.9.orig.tar.gz.done delete mode 100644 oe-core/build/downloads/libiberty_path_fix.patch.done delete mode 100644 oe-core/build/downloads/libid3tag-0.15.1b.tar.gz.done delete mode 100644 oe-core/build/downloads/libjpeg-turbo-1.2.1.tar.gz.done delete mode 100644 oe-core/build/downloads/libnet_config_path.diff.done delete mode 100644 oe-core/build/downloads/libnetfilter_conntrack-0.9.1.tar.bz2.done delete mode 100644 oe-core/build/downloads/libnfnetlink-1.0.0.tar.bz2.done delete mode 100644 oe-core/build/downloads/libnl-2.0.tar.gz.done delete mode 100644 oe-core/build/downloads/libogg-1.3.0.tar.gz.done delete mode 100644 oe-core/build/downloads/libpcap-1.1.1.tar.gz.done delete mode 100644 oe-core/build/downloads/libperl_embed_doc.diff.done delete mode 100644 oe-core/build/downloads/libtool-2.4-update.patch.done delete mode 100644 oe-core/build/downloads/libtool-2.4.2.tar.gz.done delete mode 100644 oe-core/build/downloads/libtool-rpath-fix.patch.done delete mode 100644 oe-core/build/downloads/libvorbis-1.3.3.tar.gz.done delete mode 100644 oe-core/build/downloads/libxml-64bit.patch.done delete mode 100644 oe-core/build/downloads/libxml2-2.7.8.tar.gz.done delete mode 100644 oe-core/build/downloads/lighttpd-1.4.30.tar.bz2.done delete mode 100644 oe-core/build/downloads/lighttpd.conf.done delete mode 100644 oe-core/build/downloads/lighttpd.done delete mode 100644 oe-core/build/downloads/lighttpd.user.done delete mode 100644 oe-core/build/downloads/linux-3.1.tar.bz2.done delete mode 100644 oe-core/build/downloads/lk.done delete mode 100644 oe-core/build/downloads/location-xtra.done delete mode 100644 oe-core/build/downloads/login.defs_shadow-sysroot.done delete mode 100644 oe-core/build/downloads/login_defs_pam.sed.done delete mode 100644 oe-core/build/downloads/ls.done delete mode 100644 oe-core/build/downloads/lzo-2.06.tar.gz.done delete mode 100644 oe-core/build/downloads/m4-1.4.16.tar.gz.done delete mode 100644 oe-core/build/downloads/m4.patch.done delete mode 100644 oe-core/build/downloads/m68k_backend.diff.done delete mode 100644 oe-core/build/downloads/m68k_thread_stress.diff.done delete mode 100644 oe-core/build/downloads/macros.prelink.done delete mode 100644 oe-core/build/downloads/make-targets.patch.done delete mode 100644 oe-core/build/downloads/make_include.done delete mode 100644 oe-core/build/downloads/makedevs.c.done delete mode 100644 oe-core/build/downloads/man-dir.patch.done delete mode 100644 oe-core/build/downloads/man-section.patch.done delete mode 100644 oe-core/build/downloads/man.patch.done delete mode 100644 oe-core/build/downloads/mbim.done delete mode 100644 oe-core/build/downloads/mdev.conf.done delete mode 100644 oe-core/build/downloads/mdev.done delete mode 100644 oe-core/build/downloads/mdm9615-ld.patch.done delete mode 100644 oe-core/build/downloads/mdm9625.com.key.done delete mode 100644 oe-core/build/downloads/mdm9625.com.pem.done delete mode 100644 oe-core/build/downloads/mempcpy.patch.done delete mode 100644 oe-core/build/downloads/memtester-4.3.0.tar.gz.done delete mode 100644 oe-core/build/downloads/minidlna-1.1.1.tar.gz.done delete mode 100644 oe-core/build/downloads/minidlna_1.0.25_src.tar.gz.done delete mode 100644 oe-core/build/downloads/miniupnpd-1.8.20130521.tar.gz.done delete mode 100644 oe-core/build/downloads/mips-rld-map-check.patch.done delete mode 100644 oe-core/build/downloads/mips_backend.diff.done delete mode 100644 oe-core/build/downloads/mklibs_0.1.33.tar.gz.done delete mode 100644 oe-core/build/downloads/mm-audio.done delete mode 100644 oe-core/build/downloads/mod_paths.diff.done delete mode 100644 oe-core/build/downloads/modem-shutdown.sh.done delete mode 100644 oe-core/build/downloads/module-build-home-directory.diff.done delete mode 100644 oe-core/build/downloads/module-init-tools-3.16.tar.bz2.done delete mode 100644 oe-core/build/downloads/module_build_man_extensions.diff.done delete mode 100644 oe-core/build/downloads/modutils.sh.done delete mode 100644 oe-core/build/downloads/modutils_extension.patch.done delete mode 100644 oe-core/build/downloads/motd.done delete mode 100644 oe-core/build/downloads/mount.busybox.done delete mode 100644 oe-core/build/downloads/mountall.done delete mode 100644 oe-core/build/downloads/mountall.sh.done delete mode 100644 oe-core/build/downloads/mountnfs.sh.done delete mode 100644 oe-core/build/downloads/mpc-0.8.2.tar.gz.done delete mode 100644 oe-core/build/downloads/mpfr-3.1.0.tar.bz2.done delete mode 100644 oe-core/build/downloads/mtime-int.patch.done delete mode 100644 oe-core/build/downloads/multilib.patch.done delete mode 100644 oe-core/build/downloads/multilib_readlib.patch.done delete mode 100644 oe-core/build/downloads/native-nopacklist.patch.done delete mode 100644 oe-core/build/downloads/native-perlinc.patch.done delete mode 100644 oe-core/build/downloads/nbd.name.luci2.libubox.git.done delete mode 100644 oe-core/build/downloads/nbd.name.luci2.ubus.git.done delete mode 100644 oe-core/build/downloads/nbd.name.uci.git.done delete mode 100644 oe-core/build/downloads/ncurses-5.9.tar.gz.done delete mode 100644 oe-core/build/downloads/need.done delete mode 100644 oe-core/build/downloads/net_smtp_docs.diff.done delete mode 100644 oe-core/build/downloads/netbase_4.47.tar.gz.done delete mode 100644 oe-core/build/downloads/nfsroot.done delete mode 100644 oe-core/build/downloads/no-rpath.patch.done delete mode 100644 oe-core/build/downloads/no-symbolic.patch.done delete mode 100644 oe-core/build/downloads/no-werror.patch.done delete mode 100644 oe-core/build/downloads/no_packlist_perllocal.diff.done delete mode 100644 oe-core/build/downloads/nobash.patch.done delete mode 100644 oe-core/build/downloads/nohostlibs.patch.done delete mode 100644 oe-core/build/downloads/noldlibpath.patch.done delete mode 100644 oe-core/build/downloads/noman.patch.done delete mode 100644 oe-core/build/downloads/nss-mdns-0.10.tar.gz.done delete mode 100644 oe-core/build/downloads/nsswitch.conf.done delete mode 100644 oe-core/build/downloads/ntfs-3g.tar.gz.done delete mode 100644 oe-core/build/downloads/ocf-linux-20100325.tar.gz.done delete mode 100644 oe-core/build/downloads/oe-config.patch.done delete mode 100644 oe-core/build/downloads/oe-ldflags.patch.done delete mode 100644 oe-core/build/downloads/offline_postinstall.patch.done delete mode 100644 oe-core/build/downloads/openssl-1.0.0f.tar.gz.done delete mode 100644 oe-core/build/downloads/openssl-fix-link.patch.done delete mode 100644 oe-core/build/downloads/openssl.cnf.done delete mode 100644 oe-core/build/downloads/openssl_fix_for_x32.patch.done delete mode 100644 oe-core/build/downloads/opkg-config-base_1.0.bb.done delete mode 100644 oe-core/build/downloads/opkg-utils_svn.openmoko.org_.trunk.src.host._4747_.tar.gz.done delete mode 100644 oe-core/build/downloads/optional_libstdc.patch.done delete mode 100644 oe-core/build/downloads/passwd.done delete mode 100644 oe-core/build/downloads/passwd_rotate_check.patch.done delete mode 100644 oe-core/build/downloads/pax-utils-0.2.2.tar.bz2.done delete mode 100644 oe-core/build/downloads/pcre-8.21.tar.bz2.done delete mode 100644 oe-core/build/downloads/pcre-cross.patch.done delete mode 100644 oe-core/build/downloads/perfile_rpmdeps.sh.done delete mode 100644 oe-core/build/downloads/perl-5.14.2.tar.gz.done delete mode 100644 oe-core/build/downloads/perl-configpm-switch.patch.done delete mode 100644 oe-core/build/downloads/perl-dynloader.patch.done delete mode 100644 oe-core/build/downloads/perl-enable-gdbm.patch.done delete mode 100644 oe-core/build/downloads/perl-moreconfig.patch.done delete mode 100644 oe-core/build/downloads/perlivp.diff.done delete mode 100644 oe-core/build/downloads/perllibdir.patch.done delete mode 100644 oe-core/build/downloads/pic.patch.done delete mode 100644 oe-core/build/downloads/pkg-config-0.25.tar.gz.done delete mode 100644 oe-core/build/downloads/pkg-config.patch.done delete mode 100644 oe-core/build/downloads/pkgconfig_fix.patch.done delete mode 100644 oe-core/build/downloads/pod_fixes.diff.done delete mode 100644 oe-core/build/downloads/popt-1.16.tar.gz.done delete mode 100644 oe-core/build/downloads/populate-volatile.sh.done delete mode 100644 oe-core/build/downloads/powerapp.done delete mode 100644 oe-core/build/downloads/powerpc-e5500.patch.done delete mode 100644 oe-core/build/downloads/ppc-sqrt.patch.done delete mode 100644 oe-core/build/downloads/pr32219.patch.done delete mode 100644 oe-core/build/downloads/pr46934.patch.done delete mode 100644 oe-core/build/downloads/pr47551.patch.done delete mode 100644 oe-core/build/downloads/prefer-cpio-over-pax-for-ustar-archives.patch.done delete mode 100644 oe-core/build/downloads/prefix-manpage-fix.patch.done delete mode 100644 oe-core/build/downloads/prefix.patch.done delete mode 100644 oe-core/build/downloads/prefix_changes.diff.done delete mode 100644 oe-core/build/downloads/preinst.patch.done delete mode 100644 oe-core/build/downloads/prelink.conf.done delete mode 100644 oe-core/build/downloads/prelink.cron.daily.done delete mode 100644 oe-core/build/downloads/prelink.default.done delete mode 100644 oe-core/build/downloads/profile.d.done delete mode 100644 oe-core/build/downloads/profile.done delete mode 100644 oe-core/build/downloads/program_prefix.patch.done delete mode 100644 oe-core/build/downloads/provide.done delete mode 100644 oe-core/build/downloads/prune_libs.diff.done delete mode 100644 oe-core/build/downloads/pseudo-1.2.tar.bz2.done delete mode 100644 oe-core/build/downloads/python-libdir.patch.done delete mode 100644 oe-core/build/downloads/pythondeps.sh.done delete mode 100644 oe-core/build/downloads/qmi-framework.done delete mode 100644 oe-core/build/downloads/qmi-shutdown-modem.done delete mode 100644 oe-core/build/downloads/qmi.done delete mode 100644 oe-core/build/downloads/qrngd.done delete mode 100644 oe-core/build/downloads/quilt-0.50.tar.gz.done delete mode 100644 oe-core/build/downloads/rc.done delete mode 100644 oe-core/build/downloads/rcS-default.done delete mode 100644 oe-core/build/downloads/rcS.done delete mode 100644 oe-core/build/downloads/readline-6.2.tar.gz.done delete mode 100644 oe-core/build/downloads/reboot-daemon.done delete mode 100644 oe-core/build/downloads/reboot.done delete mode 100644 oe-core/build/downloads/recovery.done delete mode 100644 oe-core/build/downloads/redhat-portability.diff.done delete mode 100644 oe-core/build/downloads/redhat-robustify.diff.done delete mode 100644 oe-core/build/downloads/relative-libdir.patch.done delete mode 100644 oe-core/build/downloads/remove-index.patch.done delete mode 100644 oe-core/build/downloads/remove-unused.patch.done delete mode 100644 oe-core/build/downloads/remove-usr-local-lib-from-m4.patch.done delete mode 100644 oe-core/build/downloads/remove_timestamp.patch.done delete mode 100644 oe-core/build/downloads/rename-with-sysroot.patch.done delete mode 100644 oe-core/build/downloads/respect_umask.diff.done delete mode 100644 oe-core/build/downloads/rmnologin.sh.done delete mode 100644 oe-core/build/downloads/root-home.patch.done delete mode 100644 oe-core/build/downloads/rpm-5.4.0-0.20101229.src.rpm.done delete mode 100644 oe-core/build/downloads/rpm-autogen.patch.done delete mode 100644 oe-core/build/downloads/rpm-canonarch.patch.done delete mode 100644 oe-core/build/downloads/rpm-db-reduce.patch.done delete mode 100644 oe-core/build/downloads/rpm-fileclass.patch.done delete mode 100644 oe-core/build/downloads/rpm-libsql-fix.patch.done delete mode 100644 oe-core/build/downloads/rpm-log-auto-rm.patch.done delete mode 100644 oe-core/build/downloads/rpm-no-loopmsg.patch.done delete mode 100644 oe-core/build/downloads/rpm-nofsync.patch.done delete mode 100644 oe-core/build/downloads/rpm-platform.patch.done delete mode 100644 oe-core/build/downloads/rpm-scriptletexechelper.patch.done delete mode 100644 oe-core/build/downloads/rpm-showrc.patch.done delete mode 100644 oe-core/build/downloads/rpm-solvedb.patch.done delete mode 100644 oe-core/build/downloads/rpm-tools-mtree-LDFLAGS.patch.done delete mode 100644 oe-core/build/downloads/run-postinsts.awk.done delete mode 100644 oe-core/build/downloads/run-postinsts.done delete mode 100644 oe-core/build/downloads/samba-3.6.22.tar.gz.done delete mode 100644 oe-core/build/downloads/samba_3.6.22.patch.done delete mode 100644 oe-core/build/downloads/save-rtc.sh.done delete mode 100644 oe-core/build/downloads/securetty.done delete mode 100644 oe-core/build/downloads/sendsigs.done delete mode 100644 oe-core/build/downloads/set-console.done delete mode 100644 oe-core/build/downloads/setuptools-0.6c11.tar.gz.done delete mode 100644 oe-core/build/downloads/sh4-asmfix.patch.done delete mode 100644 oe-core/build/downloads/shadow-4.1.3-dots-in-usernames.patch.done delete mode 100644 oe-core/build/downloads/shadow-4.1.4.2-env-reset-keep-locale.patch.done delete mode 100644 oe-core/build/downloads/shadow-4.1.4.2-groupmod-pam-check.patch.done delete mode 100644 oe-core/build/downloads/shadow-4.1.4.2-su_no_sanitize_env.patch.done delete mode 100644 oe-core/build/downloads/shadow-4.1.4.3.tar.bz2.done delete mode 100644 oe-core/build/downloads/shadow-update-pam-conf.patch.done delete mode 100644 oe-core/build/downloads/shadow.automake-1.11.patch.done delete mode 100644 oe-core/build/downloads/shadow.done delete mode 100644 oe-core/build/downloads/shared-libs.patch.done delete mode 100644 oe-core/build/downloads/shebang.patch.done delete mode 100644 oe-core/build/downloads/sim-install-6.6.patch.done delete mode 100644 oe-core/build/downloads/simple.script.done delete mode 100644 oe-core/build/downloads/single.done delete mode 100644 oe-core/build/downloads/skip-kfreebsd-crash.diff.done delete mode 100644 oe-core/build/downloads/skip-upstream-git-tests.diff.done delete mode 100644 oe-core/build/downloads/smb_anony_ro.conf.done delete mode 100644 oe-core/build/downloads/smb_anony_rw.conf.done delete mode 100644 oe-core/build/downloads/smb_signed_rw.conf.done delete mode 100644 oe-core/build/downloads/sqlite-autoconf-3070900.tar.gz.done delete mode 100644 oe-core/build/downloads/sqlite-autoconf-3071502.tar.gz.done delete mode 100644 oe-core/build/downloads/squelch-locale-warnings.diff.done delete mode 100644 oe-core/build/downloads/stack-protector-test.patch.done delete mode 100644 oe-core/build/downloads/start_samba.done delete mode 100644 oe-core/build/downloads/static_sqlite.patch.done delete mode 100644 oe-core/build/downloads/stop_samba.done delete mode 100644 oe-core/build/downloads/strace-4.6.tar.xz.done delete mode 100644 oe-core/build/downloads/support-oe-qt4-tools-names.patch.done delete mode 100644 oe-core/build/downloads/swapargs.h.done delete mode 100644 oe-core/build/downloads/sys-syslog-socket-timeout-kfreebsd.patch.done delete mode 100644 oe-core/build/downloads/sysfs.sh.done delete mode 100644 oe-core/build/downloads/syslog.conf.done delete mode 100644 oe-core/build/downloads/syslog.done delete mode 100644 oe-core/build/downloads/sysvinit-2.88dsf.tar.bz2.done delete mode 100644 oe-core/build/downloads/target.done delete mode 100644 oe-core/build/downloads/task-core-boot.bb.done delete mode 100644 oe-core/build/downloads/tcp_wrappers_7.6.tar.gz.done delete mode 100644 oe-core/build/downloads/tcpdump-4.1.1.tar.gz.done delete mode 100644 oe-core/build/downloads/tcpdump_configure_no_-O2.patch.done delete mode 100644 oe-core/build/downloads/test.done delete mode 100644 oe-core/build/downloads/testsuite-ignore-elflint.diff.done delete mode 100644 oe-core/build/downloads/thermal-engine.done delete mode 100644 oe-core/build/downloads/tic-hang.patch.done delete mode 100644 oe-core/build/downloads/time-services.done delete mode 100644 oe-core/build/downloads/tinylogin-1.4.tar.bz2.done delete mode 100644 oe-core/build/downloads/tmpdir.patch.done delete mode 100644 oe-core/build/downloads/tp-domain.bb delete mode 100644 oe-core/build/downloads/tp-domain.bb.done delete mode 100644 oe-core/build/downloads/tp_domain.c.done delete mode 100644 oe-core/build/downloads/tp_domain.h.done delete mode 100644 oe-core/build/downloads/track_parents.patch.done delete mode 100644 oe-core/build/downloads/trailingslash.patch.done delete mode 100644 oe-core/build/downloads/trunk_opkg.googlecode.com_.svn_633_.tar.gz.done delete mode 100644 oe-core/build/downloads/ubusd.done delete mode 100644 oe-core/build/downloads/uclibc-__progname-conflict.patch.done delete mode 100644 oe-core/build/downloads/udhcpc-fix-nfsroot.patch.done delete mode 100644 oe-core/build/downloads/udhcpc-new-nfsroot.patch.done delete mode 100644 oe-core/build/downloads/udhcpscript.patch.done delete mode 100644 oe-core/build/downloads/umount.busybox.done delete mode 100644 oe-core/build/downloads/umountfs.done delete mode 100644 oe-core/build/downloads/umountnfs.sh.done delete mode 100644 oe-core/build/downloads/unifdef.c.done delete mode 100644 oe-core/build/downloads/unixccompiler.patch.done delete mode 100644 oe-core/build/downloads/unspport_lua.patch.done delete mode 100644 oe-core/build/downloads/unsupport_lua.patch.done delete mode 100644 oe-core/build/downloads/unzip60.tgz.done delete mode 100644 oe-core/build/downloads/update-modules.done delete mode 100644 oe-core/build/downloads/urandom-xauth-changes-to-options.h.patch.done delete mode 100644 oe-core/build/downloads/urandom.done delete mode 100644 oe-core/build/downloads/usb.sh.done delete mode 100644 oe-core/build/downloads/usbd.done delete mode 100644 oe-core/build/downloads/use-defaults.h-and-t-oe-in-B.patch.done delete mode 100644 oe-core/build/downloads/use-includedir.patch.done delete mode 100644 oe-core/build/downloads/use-nativeperl.patch.done delete mode 100644 oe-core/build/downloads/use-sysroot-cxx-headers.patch.done delete mode 100644 oe-core/build/downloads/use-sysroot-in-libpath.patch.done delete mode 100644 oe-core/build/downloads/use_O2_option.patch.done delete mode 100644 oe-core/build/downloads/useradd.patch.done delete mode 100644 oe-core/build/downloads/userspace-rcu-0.6.7.tar.bz2.done delete mode 100644 oe-core/build/downloads/util-linux-2.20.1.tar.bz2.done delete mode 100644 oe-core/build/downloads/util-linux-ng-2.16-mount_lock_path.patch.done delete mode 100644 oe-core/build/downloads/util-linux-ng-replace-siginterrupt.patch.done delete mode 100644 oe-core/build/downloads/valgrind_3.9.0.orig.tar.bz2.done delete mode 100644 oe-core/build/downloads/version-script.patch.done delete mode 100644 oe-core/build/downloads/volatile_access_backport.patch.done delete mode 100644 oe-core/build/downloads/volatiles.done delete mode 100644 oe-core/build/downloads/vsftpd-3.0.0.tar.gz.done delete mode 100644 oe-core/build/downloads/wap-fota-daemon.done delete mode 100644 oe-core/build/downloads/wireless-tools.if-pre-up.done delete mode 100644 oe-core/build/downloads/wireless_tools.29.tar.gz.done delete mode 100644 oe-core/build/downloads/wlan-proprietary.done delete mode 100644 oe-core/build/downloads/wlan.done delete mode 100644 oe-core/build/downloads/writable_site_dirs.diff.done delete mode 100644 oe-core/build/downloads/x86_64_dis.h.done delete mode 100644 oe-core/build/downloads/xmllib.done delete mode 100644 oe-core/build/downloads/xmms.m4.done delete mode 100644 oe-core/build/downloads/xz-5.0.3.tar.gz.done delete mode 100644 oe-core/build/downloads/yaffs2.done delete mode 100644 oe-core/build/downloads/zecke-xgcc-cpp.patch.done delete mode 100644 oe-core/build/downloads/zip30.tgz.done delete mode 100644 oe-core/build/downloads/zlib-1.2.5.tar.bz2.done delete mode 100644 oe-core/build/downloads/zzz-wireless.if-pre-up.done create mode 100644 oe-core/meta-msm/recipes/cJSON/libcjson_1.0.bb mode change 100755 => 100644 oe-core/meta-msm/recipes/hostap-daemon/hostap-daemon-ath6kl_git.bb delete mode 100755 oe-core/meta-msm/recipes/images/mdm-bootimg.inc~ delete mode 100755 oe-core/meta-msm/recipes/images/mdm9625-image.inc~ delete mode 100644 oe-core/meta-msm/recipes/tp-domain/files/Makefile delete mode 100644 oe-core/meta-msm/recipes/tp-domain/files/tp_domain.c delete mode 100644 oe-core/meta-msm/recipes/tp-domain/files/tp_domain.h delete mode 100644 oe-core/meta-msm/recipes/tp-domain/tp-domain.bb delete mode 100644 oe-core/meta-msm/recipes/tp-domain/tp-domain.bb~ delete mode 100644 oe-core/meta/lib/oe/__init__.pyc delete mode 100644 oe-core/meta/lib/oe/data.pyc delete mode 100644 oe-core/meta/lib/oe/license.pyc delete mode 100644 oe-core/meta/lib/oe/maketype.pyc delete mode 100644 oe-core/meta/lib/oe/packagedata.pyc delete mode 100644 oe-core/meta/lib/oe/packagegroup.pyc delete mode 100644 oe-core/meta/lib/oe/patch.pyc delete mode 100644 oe-core/meta/lib/oe/path.pyc delete mode 100644 oe-core/meta/lib/oe/qa.pyc delete mode 100644 oe-core/meta/lib/oe/sstatesig.pyc delete mode 100644 oe-core/meta/lib/oe/types.pyc delete mode 100644 oe-core/meta/lib/oe/utils.pyc diff --git a/README b/README deleted file mode 100644 index 96e554302..000000000 --- a/README +++ /dev/null @@ -1,89 +0,0 @@ -################################################################ -# # -# The README of M7350 source code released for GPL # -# # -################################################################ - -This file includes: - - I. Descriptions for released code. - II. Descriptions for main source directories. - III. Installation instructions - IV. Notes - -I. Descriptions for released code -*********************************** - - Released code is mainly form www.codeaurora.org, the download url as follows: - https://www.codeaurora.org/cgit/quic/le/manifest/tag/?h=release&id=LNX.LE.3.1-21208-9x25 - - "oe-core/build/downloads" is created while compiling, it includes open source packages downloaded from the url specified in their bb file, we have downloaded them for you. The bb files of the open source packages introduced by us had been added into "meta-msm" directory. - -II. Descriptions for main source directories -********************************************** - - 1. base: The directory includes source of software developed as part of - The Android Open Source Project. - - 2. bootable: It includes source of bootloader, recovery and some script - to generate ota image. - - 3. external: the open source of some modules used by android system. - - 4. hardware: part of HAL code opened by manufacturers. - - 5. kernel: The kernel source code directory. - - 6. oe-core: the OpenEmbedded-Core for code building, and "oe-core/build/downloads" directory includes most of the open source package used by M7350. - - 7. system: The underlying file system, applications and components. - -III. Installation instructions -******************************* - - 1. Extract the GPL code, and best to build it on Ubuntu 12.04. - - 2. May need to install packages as follows: - sudo apt-get install build-essential chrpath coreutils cvs desktop-file-utils diffstat docbook-utils fakeroot g++ gawk gcc git git-core help2man libgmp3-dev libmpfr-dev libreadline6-dev libtool libxml2-dev libxml-parser-perl make python-pip python-pysqlite2 quilt sed subversion texi2html texinfo unzip wget libsdl1.2-dev xterm libncurses5-dev genisoimage - - 3. Script run by bash, so do it before building: - sudo ln -sf /bin/bash /bin/sh - - 4. Start to build image by command lines as follows: - cd oe-core - . build/conf/set_bb_env.sh (setting environment for building, must run firstly if you want to compile one package) - bitbake mdm-image - if it builds successfully, you can get the boot image and rootfs image in "oe-core/build/tmp-eglibc/deploy/images" directory. - - if you want to build some package, you can run the following command: - bitbake (package name) - - if you want to rebuild some package, you can run the following command: - bitbake (package name) -c cleansstate && bitbake (package name) - - if you want to clean all the building product, you can run the following command: - buildclean - - for example, to build uci, firstly, you can find the bb file for uci package in "oe-core/meta-msm/uci", now run the command line: - bitbake uci - and find the product in "oe-core/build/tmp-eglibc/work/armv7a-vfp-neon-oe-linux-gnueabi/uci*/image" directory - - if you want to build kernel, you can run the command line: - bitbake virtual/kernel or bitbake linux-quilt - and find the product in "oe-core/build/tmp-eglibc/work/mdm9625-oe-linux-gnueabi/linux-quic-git-invalidgit-r5" directory. - -IV.Notes -********** - - 1. The path of gpl code must not contain spaces, or else it will report bblayer.conf couldn't be found while building. - 2. "oe-core/build/downloads" includes the open source package used by M7350, which had been downloaded by us, if you remove the *.done file, it will download again, so your computer must be able to surf the net. Most of open source package can be found from the websites as follows: - https://www.codeaurora.org/mirrored_source/quic/le/ - https://www.codeaurora.org/mirrored_source/quic/qsdk/ - 3. Some private bb files are non-released, such as mdm-image.bb, kernel-tests.bb, but you can only build a minimal core image. - 4. Add new open source package: - 1) Add tar file of open source package into oe-core/build/downloads directory, and create a empty file named like this "package name + .done". - 2) Add bb files to build it, you can reference the bb files in "meta-msm" directory. - 5. the "conf/bblayer.conf" is generated by get_bblayers.py automatically when you run the command line: - . build/conf/set_bb_env.sh - 6. some packages maybe depend on other private packages which aren't released. - diff --git a/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/.deps/bsd.Plo b/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/.deps/bsd.Plo new file mode 100644 index 000000000..9ce06a81e --- /dev/null +++ b/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/.deps/bsd.Plo @@ -0,0 +1 @@ +# dummy diff --git a/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/.deps/darwin.Plo b/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/.deps/darwin.Plo new file mode 100644 index 000000000..9ce06a81e --- /dev/null +++ b/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/.deps/darwin.Plo @@ -0,0 +1 @@ +# dummy diff --git a/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/.deps/descriptors.Plo b/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/.deps/descriptors.Plo new file mode 100644 index 000000000..0988b09da --- /dev/null +++ b/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/.deps/descriptors.Plo @@ -0,0 +1,174 @@ +descriptors.lo descriptors.o: descriptors.c \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/stdio.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/features.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_config.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_arch_features.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/sys/cdefs.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/include/stddef.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/types.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/wordsize.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/kernel_types.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/typesizes.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/pthreadtypes.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/sched.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_stdio.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_mutex.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/pthread.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/sched.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/time.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/time.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_clk_tck.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/signal.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/sigset.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/initspin.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/sigthread.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_pthread.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/include/stdarg.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/stdio_lim.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/string.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/stdint.h \ + usbi.h usb.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/unistd.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/posix_opt.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/confname.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/getopt.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/stdlib.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/sys/types.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/endian.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/endian.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/sys/select.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/select.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/sys/sysmacros.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/alloca.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/include/limits.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/include/syslimits.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/limits.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/posix1_lim.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/local_lim.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/linux/limits.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_local_lim.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/posix2_lim.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/dirent.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/dirent.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/errno.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/errno.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/errno_values.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/sys/syscall.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/sysnum.h \ + error.h + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/stdio.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/features.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_config.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_arch_features.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/sys/cdefs.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/include/stddef.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/types.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/wordsize.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/kernel_types.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/typesizes.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/pthreadtypes.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/sched.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_stdio.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_mutex.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/pthread.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/sched.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/time.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/time.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_clk_tck.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/signal.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/sigset.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/initspin.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/sigthread.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_pthread.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/include/stdarg.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/stdio_lim.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/string.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/stdint.h: + +usbi.h: + +usb.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/unistd.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/posix_opt.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/confname.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/getopt.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/stdlib.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/sys/types.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/endian.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/endian.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/sys/select.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/select.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/sys/sysmacros.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/alloca.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/include/limits.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/include/syslimits.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/limits.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/posix1_lim.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/local_lim.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/linux/limits.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_local_lim.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/posix2_lim.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/dirent.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/dirent.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/errno.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/errno.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/errno_values.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/sys/syscall.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/sysnum.h: + +error.h: diff --git a/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/.deps/error.Plo b/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/.deps/error.Plo new file mode 100644 index 000000000..505c46271 --- /dev/null +++ b/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/.deps/error.Plo @@ -0,0 +1,133 @@ +error.lo error.o: error.c \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/errno.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/features.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_config.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_arch_features.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/sys/cdefs.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/errno.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/errno_values.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/string.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/include/stddef.h \ + usb.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/unistd.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/posix_opt.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/types.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/wordsize.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/kernel_types.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/typesizes.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/pthreadtypes.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/sched.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/confname.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/getopt.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/stdlib.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/sys/types.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/time.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/endian.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/endian.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/sys/select.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/select.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/sigset.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/time.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/sys/sysmacros.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/alloca.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/include/limits.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/include/syslimits.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/limits.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/posix1_lim.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/local_lim.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/linux/limits.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_local_lim.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/posix2_lim.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/dirent.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/dirent.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/sys/syscall.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/sysnum.h \ + error.h + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/errno.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/features.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_config.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_arch_features.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/sys/cdefs.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/errno.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/errno_values.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/string.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/include/stddef.h: + +usb.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/unistd.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/posix_opt.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/types.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/wordsize.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/kernel_types.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/typesizes.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/pthreadtypes.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/sched.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/confname.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/getopt.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/stdlib.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/sys/types.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/time.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/endian.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/endian.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/sys/select.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/select.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/sigset.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/time.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/sys/sysmacros.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/alloca.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/include/limits.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/include/syslimits.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/limits.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/posix1_lim.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/local_lim.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/linux/limits.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_local_lim.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/posix2_lim.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/dirent.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/dirent.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/sys/syscall.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/sysnum.h: + +error.h: diff --git a/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/.deps/linux.Plo b/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/.deps/linux.Plo new file mode 100644 index 000000000..d30460181 --- /dev/null +++ b/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/.deps/linux.Plo @@ -0,0 +1,210 @@ +linux.lo linux.o: linux.c \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/stdlib.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/features.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_config.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_arch_features.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/sys/cdefs.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/include/stddef.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/sys/types.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/types.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/wordsize.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/kernel_types.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/typesizes.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/pthreadtypes.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/sched.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/time.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/endian.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/endian.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/sys/select.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/select.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/sigset.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/time.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/sys/sysmacros.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/alloca.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/unistd.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/posix_opt.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/confname.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/getopt.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/string.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/stdio.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_stdio.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_mutex.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/pthread.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/sched.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_clk_tck.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/signal.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/initspin.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/sigthread.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_pthread.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/include/stdarg.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/stdio_lim.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/fcntl.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/fcntl.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/sgidefs.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/errno.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/errno.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/errno_values.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/sys/time.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/dirent.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/dirent.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/sys/syscall.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/sysnum.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/posix1_lim.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/local_lim.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/linux/limits.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_local_lim.h \ + linux.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/sys/stat.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/stat.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/sys/ioctl.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/ioctls.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/asm/ioctls.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/asm/ioctl.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/ioctl-types.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/sys/ttydefaults.h \ + usbi.h usb.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/include/limits.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/include/syslimits.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/limits.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/posix2_lim.h \ + error.h + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/stdlib.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/features.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_config.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_arch_features.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/sys/cdefs.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/include/stddef.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/sys/types.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/types.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/wordsize.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/kernel_types.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/typesizes.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/pthreadtypes.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/sched.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/time.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/endian.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/endian.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/sys/select.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/select.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/sigset.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/time.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/sys/sysmacros.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/alloca.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/unistd.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/posix_opt.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/confname.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/getopt.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/string.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/stdio.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_stdio.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_mutex.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/pthread.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/sched.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_clk_tck.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/signal.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/initspin.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/sigthread.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_pthread.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/include/stdarg.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/stdio_lim.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/fcntl.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/fcntl.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/sgidefs.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/errno.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/errno.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/errno_values.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/sys/time.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/dirent.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/dirent.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/sys/syscall.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/sysnum.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/posix1_lim.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/local_lim.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/linux/limits.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_local_lim.h: + +linux.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/sys/stat.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/stat.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/sys/ioctl.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/ioctls.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/asm/ioctls.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/asm/ioctl.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/ioctl-types.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/sys/ttydefaults.h: + +usbi.h: + +usb.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/include/limits.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/include/syslimits.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/limits.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/posix2_lim.h: + +error.h: diff --git a/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/.deps/usb.Plo b/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/.deps/usb.Plo new file mode 100644 index 000000000..7d2670156 --- /dev/null +++ b/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/.deps/usb.Plo @@ -0,0 +1,171 @@ +usb.lo usb.o: usb.c \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/stdlib.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/features.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_config.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_arch_features.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/sys/cdefs.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/include/stddef.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/sys/types.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/types.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/wordsize.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/kernel_types.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/typesizes.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/pthreadtypes.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/sched.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/time.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/endian.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/endian.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/sys/select.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/select.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/sigset.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/time.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/sys/sysmacros.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/alloca.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/stdio.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_stdio.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_mutex.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/pthread.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/sched.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_clk_tck.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/signal.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/initspin.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/sigthread.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_pthread.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/include/stdarg.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/stdio_lim.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/string.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/errno.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/errno.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/errno_values.h \ + usbi.h usb.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/unistd.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/posix_opt.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/confname.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/getopt.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/include/limits.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/include/syslimits.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/limits.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/posix1_lim.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/local_lim.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/linux/limits.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_local_lim.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/posix2_lim.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/dirent.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/dirent.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/sys/syscall.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/sysnum.h \ + error.h + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/stdlib.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/features.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_config.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_arch_features.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/sys/cdefs.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/include/stddef.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/sys/types.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/types.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/wordsize.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/kernel_types.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/typesizes.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/pthreadtypes.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/sched.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/time.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/endian.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/endian.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/sys/select.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/select.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/sigset.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/time.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/sys/sysmacros.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/alloca.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/stdio.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_stdio.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_mutex.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/pthread.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/sched.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_clk_tck.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/signal.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/initspin.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/sigthread.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_pthread.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/include/stdarg.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/stdio_lim.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/string.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/errno.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/errno.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/errno_values.h: + +usbi.h: + +usb.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/unistd.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/posix_opt.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/confname.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/getopt.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/include/limits.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/include/syslimits.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/limits.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/posix1_lim.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/local_lim.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/linux/limits.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_local_lim.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/posix2_lim.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/dirent.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/dirent.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/sys/syscall.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/sysnum.h: + +error.h: diff --git a/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/.deps/usbpp.Plo b/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/.deps/usbpp.Plo new file mode 100644 index 000000000..9f8537c7b --- /dev/null +++ b/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/.deps/usbpp.Plo @@ -0,0 +1,442 @@ +usbpp.lo usbpp.o: usbpp.cpp \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/errno.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/features.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_config.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_arch_features.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/sys/cdefs.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/errno.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/errno_values.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/cstdlib \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/c++config.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/os_defines.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/cpu_defines.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/cstddef \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/include/stddef.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/stdlib.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/waitflags.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/waitstatus.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/endian.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/endian.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/sys/types.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/types.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/wordsize.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/kernel_types.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/typesizes.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/pthreadtypes.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/sched.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/time.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/sys/select.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/select.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/sigset.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/time.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/sys/sysmacros.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/alloca.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/stdio.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_stdio.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_mutex.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/pthread.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/sched.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_clk_tck.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/signal.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/initspin.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/sigthread.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_pthread.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/include/stdarg.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/stdio_lim.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/iostream \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/ostream \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/ios \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/iosfwd \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/c++locale.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/clocale \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/locale.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_locale.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/cstring \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/string.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/cstdio \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/cstdarg \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/c++io.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/gthr.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/gthr-default.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/unistd.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/posix_opt.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/environments.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/confname.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/getopt.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/cctype \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/ctype.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_touplow.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stringfwd.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/postypes.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/cwchar \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/ctime \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/stdint.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/functexcept.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/exception_defines.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/exception \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/char_traits.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_algobase.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/climits \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/include/limits.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/include/syslimits.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/limits.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/posix1_lim.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/local_lim.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/linux/limits.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_local_lim.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/posix2_lim.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/xopen_lim.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_pair.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/cpp_type_traits.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/ext/type_traits.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/utility \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_relops.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_iterator_base_types.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_iterator_base_funcs.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/concept_check.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_iterator.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/debug/debug.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/localefwd.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/ios_base.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/ext/atomicity.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/atomic_word.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/locale_classes.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/string \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/memory \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/allocator.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/c++allocator.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/ext/new_allocator.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/new \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_construct.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_uninitialized.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_raw_storage_iter.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/limits \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/ostream_insert.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_function.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/basic_string.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/algorithm \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_algo.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_heap.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_tempbuf.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/basic_string.tcc \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/streambuf \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/streambuf.tcc \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/basic_ios.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/streambuf_iterator.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/locale_facets.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/cwctype \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/ctype_base.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/ctype_inline.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/codecvt.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/time_members.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/messages_members.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/basic_ios.tcc \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/ostream.tcc \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/locale \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/locale_facets.tcc \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/typeinfo \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/istream \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/istream.tcc \ + usbpp.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/list \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_list.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/list.tcc \ + usb.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/dirent.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/dirent.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/sys/syscall.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/sysnum.h + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/errno.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/features.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_config.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_arch_features.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/sys/cdefs.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/errno.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/errno_values.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/cstdlib: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/c++config.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/os_defines.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/cpu_defines.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/cstddef: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/include/stddef.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/stdlib.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/waitflags.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/waitstatus.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/endian.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/endian.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/sys/types.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/types.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/wordsize.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/kernel_types.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/typesizes.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/pthreadtypes.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/sched.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/time.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/sys/select.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/select.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/sigset.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/time.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/sys/sysmacros.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/alloca.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/stdio.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_stdio.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_mutex.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/pthread.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/sched.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_clk_tck.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/signal.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/initspin.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/sigthread.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_pthread.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/include/stdarg.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/stdio_lim.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/iostream: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/ostream: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/ios: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/iosfwd: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/c++locale.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/clocale: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/locale.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_locale.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/cstring: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/string.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/cstdio: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/cstdarg: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/c++io.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/gthr.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/gthr-default.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/unistd.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/posix_opt.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/environments.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/confname.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/getopt.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/cctype: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/ctype.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_touplow.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stringfwd.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/postypes.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/cwchar: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/ctime: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/stdint.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/functexcept.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/exception_defines.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/exception: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/char_traits.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_algobase.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/climits: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/include/limits.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/include/syslimits.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/limits.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/posix1_lim.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/local_lim.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/linux/limits.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_local_lim.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/posix2_lim.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/xopen_lim.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_pair.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/cpp_type_traits.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/ext/type_traits.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/utility: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_relops.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_iterator_base_types.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_iterator_base_funcs.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/concept_check.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_iterator.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/debug/debug.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/localefwd.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/ios_base.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/ext/atomicity.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/atomic_word.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/locale_classes.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/string: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/memory: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/allocator.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/c++allocator.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/ext/new_allocator.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/new: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_construct.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_uninitialized.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_raw_storage_iter.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/limits: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/ostream_insert.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_function.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/basic_string.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/algorithm: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_algo.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_heap.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_tempbuf.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/basic_string.tcc: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/streambuf: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/streambuf.tcc: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/basic_ios.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/streambuf_iterator.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/locale_facets.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/cwctype: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/ctype_base.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/ctype_inline.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/codecvt.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/time_members.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/messages_members.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/basic_ios.tcc: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/ostream.tcc: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/locale: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/locale_facets.tcc: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/typeinfo: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/istream: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/istream.tcc: + +usbpp.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/list: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_list.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/list.tcc: + +usb.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/dirent.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/dirent.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/sys/syscall.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/sysnum.h: diff --git a/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/AUTHORS b/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/AUTHORS new file mode 100644 index 000000000..3946c2e55 --- /dev/null +++ b/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/AUTHORS @@ -0,0 +1,3 @@ +Johannes Erdfelt, +Thomas Sailer, +Brad Hards, - C++ bindings. diff --git a/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/COPYING b/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/COPYING new file mode 100644 index 000000000..223ede7de --- /dev/null +++ b/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/COPYING @@ -0,0 +1,504 @@ + GNU LESSER GENERAL PUBLIC LICENSE + Version 2.1, February 1999 + + Copyright (C) 1991, 1999 Free Software Foundation, Inc. + 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + +[This is the first released version of the Lesser GPL. It also counts + as the successor of the GNU Library Public License, version 2, hence + the version number 2.1.] + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +Licenses are intended to guarantee your freedom to share and change +free software--to make sure the software is free for all its users. + + This license, the Lesser General Public License, applies to some +specially designated software packages--typically libraries--of the +Free Software Foundation and other authors who decide to use it. You +can use it too, but we suggest you first think carefully about whether +this license or the ordinary General Public License is the better +strategy to use in any particular case, based on the explanations below. + + When we speak of free software, we are referring to freedom of use, +not price. Our General Public Licenses are designed to make sure that +you have the freedom to distribute copies of free software (and charge +for this service if you wish); that you receive source code or can get +it if you want it; that you can change the software and use pieces of +it in new free programs; and that you are informed that you can do +these things. + + To protect your rights, we need to make restrictions that forbid +distributors to deny you these rights or to ask you to surrender these +rights. These restrictions translate to certain responsibilities for +you if you distribute copies of the library or if you modify it. + + For example, if you distribute copies of the library, whether gratis +or for a fee, you must give the recipients all the rights that we gave +you. You must make sure that they, too, receive or can get the source +code. If you link other code with the library, you must provide +complete object files to the recipients, so that they can relink them +with the library after making changes to the library and recompiling +it. And you must show them these terms so they know their rights. + + We protect your rights with a two-step method: (1) we copyright the +library, and (2) we offer you this license, which gives you legal +permission to copy, distribute and/or modify the library. + + To protect each distributor, we want to make it very clear that +there is no warranty for the free library. Also, if the library is +modified by someone else and passed on, the recipients should know +that what they have is not the original version, so that the original +author's reputation will not be affected by problems that might be +introduced by others. + + Finally, software patents pose a constant threat to the existence of +any free program. We wish to make sure that a company cannot +effectively restrict the users of a free program by obtaining a +restrictive license from a patent holder. Therefore, we insist that +any patent license obtained for a version of the library must be +consistent with the full freedom of use specified in this license. + + Most GNU software, including some libraries, is covered by the +ordinary GNU General Public License. This license, the GNU Lesser +General Public License, applies to certain designated libraries, and +is quite different from the ordinary General Public License. We use +this license for certain libraries in order to permit linking those +libraries into non-free programs. + + When a program is linked with a library, whether statically or using +a shared library, the combination of the two is legally speaking a +combined work, a derivative of the original library. The ordinary +General Public License therefore permits such linking only if the +entire combination fits its criteria of freedom. The Lesser General +Public License permits more lax criteria for linking other code with +the library. + + We call this license the "Lesser" General Public License because it +does Less to protect the user's freedom than the ordinary General +Public License. It also provides other free software developers Less +of an advantage over competing non-free programs. These disadvantages +are the reason we use the ordinary General Public License for many +libraries. However, the Lesser license provides advantages in certain +special circumstances. + + For example, on rare occasions, there may be a special need to +encourage the widest possible use of a certain library, so that it becomes +a de-facto standard. To achieve this, non-free programs must be +allowed to use the library. A more frequent case is that a free +library does the same job as widely used non-free libraries. In this +case, there is little to gain by limiting the free library to free +software only, so we use the Lesser General Public License. + + In other cases, permission to use a particular library in non-free +programs enables a greater number of people to use a large body of +free software. For example, permission to use the GNU C Library in +non-free programs enables many more people to use the whole GNU +operating system, as well as its variant, the GNU/Linux operating +system. + + Although the Lesser General Public License is Less protective of the +users' freedom, it does ensure that the user of a program that is +linked with the Library has the freedom and the wherewithal to run +that program using a modified version of the Library. + + The precise terms and conditions for copying, distribution and +modification follow. Pay close attention to the difference between a +"work based on the library" and a "work that uses the library". The +former contains code derived from the library, whereas the latter must +be combined with the library in order to run. + + GNU LESSER GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License Agreement applies to any software library or other +program which contains a notice placed by the copyright holder or +other authorized party saying it may be distributed under the terms of +this Lesser General Public License (also called "this License"). +Each licensee is addressed as "you". + + A "library" means a collection of software functions and/or data +prepared so as to be conveniently linked with application programs +(which use some of those functions and data) to form executables. + + The "Library", below, refers to any such software library or work +which has been distributed under these terms. A "work based on the +Library" means either the Library or any derivative work under +copyright law: that is to say, a work containing the Library or a +portion of it, either verbatim or with modifications and/or translated +straightforwardly into another language. (Hereinafter, translation is +included without limitation in the term "modification".) + + "Source code" for a work means the preferred form of the work for +making modifications to it. For a library, complete source code means +all the source code for all modules it contains, plus any associated +interface definition files, plus the scripts used to control compilation +and installation of the library. + + Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running a program using the Library is not restricted, and output from +such a program is covered only if its contents constitute a work based +on the Library (independent of the use of the Library in a tool for +writing it). Whether that is true depends on what the Library does +and what the program that uses the Library does. + + 1. You may copy and distribute verbatim copies of the Library's +complete source code as you receive it, in any medium, provided that +you conspicuously and appropriately publish on each copy an +appropriate copyright notice and disclaimer of warranty; keep intact +all the notices that refer to this License and to the absence of any +warranty; and distribute a copy of this License along with the +Library. + + You may charge a fee for the physical act of transferring a copy, +and you may at your option offer warranty protection in exchange for a +fee. + + 2. You may modify your copy or copies of the Library or any portion +of it, thus forming a work based on the Library, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) The modified work must itself be a software library. + + b) You must cause the files modified to carry prominent notices + stating that you changed the files and the date of any change. + + c) You must cause the whole of the work to be licensed at no + charge to all third parties under the terms of this License. + + d) If a facility in the modified Library refers to a function or a + table of data to be supplied by an application program that uses + the facility, other than as an argument passed when the facility + is invoked, then you must make a good faith effort to ensure that, + in the event an application does not supply such function or + table, the facility still operates, and performs whatever part of + its purpose remains meaningful. + + (For example, a function in a library to compute square roots has + a purpose that is entirely well-defined independent of the + application. Therefore, Subsection 2d requires that any + application-supplied function or table used by this function must + be optional: if the application does not supply it, the square + root function must still compute square roots.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Library, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Library, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote +it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Library. + +In addition, mere aggregation of another work not based on the Library +with the Library (or with a work based on the Library) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may opt to apply the terms of the ordinary GNU General Public +License instead of this License to a given copy of the Library. To do +this, you must alter all the notices that refer to this License, so +that they refer to the ordinary GNU General Public License, version 2, +instead of to this License. (If a newer version than version 2 of the +ordinary GNU General Public License has appeared, then you can specify +that version instead if you wish.) Do not make any other change in +these notices. + + Once this change is made in a given copy, it is irreversible for +that copy, so the ordinary GNU General Public License applies to all +subsequent copies and derivative works made from that copy. + + This option is useful when you wish to copy part of the code of +the Library into a program that is not a library. + + 4. You may copy and distribute the Library (or a portion or +derivative of it, under Section 2) in object code or executable form +under the terms of Sections 1 and 2 above provided that you accompany +it with the complete corresponding machine-readable source code, which +must be distributed under the terms of Sections 1 and 2 above on a +medium customarily used for software interchange. + + If distribution of object code is made by offering access to copy +from a designated place, then offering equivalent access to copy the +source code from the same place satisfies the requirement to +distribute the source code, even though third parties are not +compelled to copy the source along with the object code. + + 5. A program that contains no derivative of any portion of the +Library, but is designed to work with the Library by being compiled or +linked with it, is called a "work that uses the Library". Such a +work, in isolation, is not a derivative work of the Library, and +therefore falls outside the scope of this License. + + However, linking a "work that uses the Library" with the Library +creates an executable that is a derivative of the Library (because it +contains portions of the Library), rather than a "work that uses the +library". The executable is therefore covered by this License. +Section 6 states terms for distribution of such executables. + + When a "work that uses the Library" uses material from a header file +that is part of the Library, the object code for the work may be a +derivative work of the Library even though the source code is not. +Whether this is true is especially significant if the work can be +linked without the Library, or if the work is itself a library. The +threshold for this to be true is not precisely defined by law. + + If such an object file uses only numerical parameters, data +structure layouts and accessors, and small macros and small inline +functions (ten lines or less in length), then the use of the object +file is unrestricted, regardless of whether it is legally a derivative +work. (Executables containing this object code plus portions of the +Library will still fall under Section 6.) + + Otherwise, if the work is a derivative of the Library, you may +distribute the object code for the work under the terms of Section 6. +Any executables containing that work also fall under Section 6, +whether or not they are linked directly with the Library itself. + + 6. As an exception to the Sections above, you may also combine or +link a "work that uses the Library" with the Library to produce a +work containing portions of the Library, and distribute that work +under terms of your choice, provided that the terms permit +modification of the work for the customer's own use and reverse +engineering for debugging such modifications. + + You must give prominent notice with each copy of the work that the +Library is used in it and that the Library and its use are covered by +this License. You must supply a copy of this License. If the work +during execution displays copyright notices, you must include the +copyright notice for the Library among them, as well as a reference +directing the user to the copy of this License. Also, you must do one +of these things: + + a) Accompany the work with the complete corresponding + machine-readable source code for the Library including whatever + changes were used in the work (which must be distributed under + Sections 1 and 2 above); and, if the work is an executable linked + with the Library, with the complete machine-readable "work that + uses the Library", as object code and/or source code, so that the + user can modify the Library and then relink to produce a modified + executable containing the modified Library. (It is understood + that the user who changes the contents of definitions files in the + Library will not necessarily be able to recompile the application + to use the modified definitions.) + + b) Use a suitable shared library mechanism for linking with the + Library. A suitable mechanism is one that (1) uses at run time a + copy of the library already present on the user's computer system, + rather than copying library functions into the executable, and (2) + will operate properly with a modified version of the library, if + the user installs one, as long as the modified version is + interface-compatible with the version that the work was made with. + + c) Accompany the work with a written offer, valid for at + least three years, to give the same user the materials + specified in Subsection 6a, above, for a charge no more + than the cost of performing this distribution. + + d) If distribution of the work is made by offering access to copy + from a designated place, offer equivalent access to copy the above + specified materials from the same place. + + e) Verify that the user has already received a copy of these + materials or that you have already sent this user a copy. + + For an executable, the required form of the "work that uses the +Library" must include any data and utility programs needed for +reproducing the executable from it. However, as a special exception, +the materials to be distributed need not include anything that is +normally distributed (in either source or binary form) with the major +components (compiler, kernel, and so on) of the operating system on +which the executable runs, unless that component itself accompanies +the executable. + + It may happen that this requirement contradicts the license +restrictions of other proprietary libraries that do not normally +accompany the operating system. Such a contradiction means you cannot +use both them and the Library together in an executable that you +distribute. + + 7. You may place library facilities that are a work based on the +Library side-by-side in a single library together with other library +facilities not covered by this License, and distribute such a combined +library, provided that the separate distribution of the work based on +the Library and of the other library facilities is otherwise +permitted, and provided that you do these two things: + + a) Accompany the combined library with a copy of the same work + based on the Library, uncombined with any other library + facilities. This must be distributed under the terms of the + Sections above. + + b) Give prominent notice with the combined library of the fact + that part of it is a work based on the Library, and explaining + where to find the accompanying uncombined form of the same work. + + 8. You may not copy, modify, sublicense, link with, or distribute +the Library except as expressly provided under this License. Any +attempt otherwise to copy, modify, sublicense, link with, or +distribute the Library is void, and will automatically terminate your +rights under this License. However, parties who have received copies, +or rights, from you under this License will not have their licenses +terminated so long as such parties remain in full compliance. + + 9. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Library or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Library (or any work based on the +Library), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Library or works based on it. + + 10. Each time you redistribute the Library (or any work based on the +Library), the recipient automatically receives a license from the +original licensor to copy, distribute, link with or modify the Library +subject to these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties with +this License. + + 11. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Library at all. For example, if a patent +license would not permit royalty-free redistribution of the Library by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Library. + +If any portion of this section is held invalid or unenforceable under any +particular circumstance, the balance of the section is intended to apply, +and the section as a whole is intended to apply in other circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 12. If the distribution and/or use of the Library is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Library under this License may add +an explicit geographical distribution limitation excluding those countries, +so that distribution is permitted only in or among countries not thus +excluded. In such case, this License incorporates the limitation as if +written in the body of this License. + + 13. The Free Software Foundation may publish revised and/or new +versions of the Lesser General Public License from time to time. +Such new versions will be similar in spirit to the present version, +but may differ in detail to address new problems or concerns. + +Each version is given a distinguishing version number. If the Library +specifies a version number of this License which applies to it and +"any later version", you have the option of following the terms and +conditions either of that version or of any later version published by +the Free Software Foundation. If the Library does not specify a +license version number, you may choose any version ever published by +the Free Software Foundation. + + 14. If you wish to incorporate parts of the Library into other free +programs whose distribution conditions are incompatible with these, +write to the author to ask for permission. For software which is +copyrighted by the Free Software Foundation, write to the Free +Software Foundation; we sometimes make exceptions for this. Our +decision will be guided by the two goals of preserving the free status +of all derivatives of our free software and of promoting the sharing +and reuse of software generally. + + NO WARRANTY + + 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO +WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. +EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR +OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY +KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE +LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME +THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN +WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY +AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU +FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR +CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE +LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING +RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A +FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF +SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH +DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Libraries + + If you develop a new library, and you want it to be of the greatest +possible use to the public, we recommend making it free software that +everyone can redistribute and change. You can do so by permitting +redistribution under these terms (or, alternatively, under the terms of the +ordinary General Public License). + + To apply these terms, attach the following notices to the library. It is +safest to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least the +"copyright" line and a pointer to where the full notice is found. + + + Copyright (C) + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + +Also add information on how to contact you by electronic and paper mail. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the library, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the + library `Frob' (a library for tweaking knobs) written by James Random Hacker. + + , 1 April 1990 + Ty Coon, President of Vice + +That's all there is to it! + + diff --git a/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/ChangeLog b/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/ChangeLog new file mode 100644 index 000000000..b2c253237 --- /dev/null +++ b/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/ChangeLog @@ -0,0 +1,7 @@ +2001-08-26 Johannes Erdfelt + + * Remove Docdir from spec file to meet LHS. Thanks to Daniel Resare + +2000-02-15 Johannes Erdfelt + + * Created diff --git a/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/Doxyfile b/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/Doxyfile new file mode 100644 index 000000000..7b7d3d201 --- /dev/null +++ b/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/Doxyfile @@ -0,0 +1,1091 @@ +# Doxyfile 1.3.4 + +# This file describes the settings to be used by the documentation system +# doxygen (www.doxygen.org) for a project +# +# All text after a hash (#) is considered a comment and will be ignored +# The format is: +# TAG = value [value, ...] +# For lists items can also be appended using: +# TAG += value [value, ...] +# Values that contain spaces should be placed between quotes (" ") + +#--------------------------------------------------------------------------- +# Project related configuration options +#--------------------------------------------------------------------------- + +# The PROJECT_NAME tag is a single word (or a sequence of words surrounded +# by quotes) that should identify the project. + +PROJECT_NAME = libusb++ + +# The PROJECT_NUMBER tag can be used to enter a project or revision number. +# This could be handy for archiving the generated documentation or +# if some version control system is used. + +PROJECT_NUMBER = + +# The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute) +# base path where the generated documentation will be put. +# If a relative path is entered, it will be relative to the location +# where doxygen was started. If left blank the current directory will be used. + +OUTPUT_DIRECTORY = ./apidocs/ + +# The OUTPUT_LANGUAGE tag is used to specify the language in which all +# documentation generated by doxygen is written. Doxygen will use this +# information to generate all constant output in the proper language. +# The default language is English, other supported languages are: +# Brazilian, Catalan, Chinese, Chinese-Traditional, Croatian, Czech, Danish, Dutch, +# Finnish, French, German, Greek, Hungarian, Italian, Japanese, Japanese-en +# (Japanese with English messages), Korean, Norwegian, Polish, Portuguese, +# Romanian, Russian, Serbian, Slovak, Slovene, Spanish, Swedish, and Ukrainian. + +OUTPUT_LANGUAGE = English + +# This tag can be used to specify the encoding used in the generated output. +# The encoding is not always determined by the language that is chosen, +# but also whether or not the output is meant for Windows or non-Windows users. +# In case there is a difference, setting the USE_WINDOWS_ENCODING tag to YES +# forces the Windows encoding (this is the default for the Windows binary), +# whereas setting the tag to NO uses a Unix-style encoding (the default for +# all platforms other than Windows). + +USE_WINDOWS_ENCODING = NO + +# If the BRIEF_MEMBER_DESC tag is set to YES (the default) Doxygen will +# include brief member descriptions after the members that are listed in +# the file and class documentation (similar to JavaDoc). +# Set to NO to disable this. + +BRIEF_MEMBER_DESC = YES + +# If the REPEAT_BRIEF tag is set to YES (the default) Doxygen will prepend +# the brief description of a member or function before the detailed description. +# Note: if both HIDE_UNDOC_MEMBERS and BRIEF_MEMBER_DESC are set to NO, the +# brief descriptions will be completely suppressed. + +REPEAT_BRIEF = YES + +# If the ALWAYS_DETAILED_SEC and REPEAT_BRIEF tags are both set to YES then +# Doxygen will generate a detailed section even if there is only a brief +# description. + +ALWAYS_DETAILED_SEC = YES + +# If the INLINE_INHERITED_MEMB tag is set to YES, doxygen will show all inherited +# members of a class in the documentation of that class as if those members were +# ordinary class members. Constructors, destructors and assignment operators of +# the base classes will not be shown. + +INLINE_INHERITED_MEMB = NO + +# If the FULL_PATH_NAMES tag is set to YES then Doxygen will prepend the full +# path before files name in the file list and in the header files. If set +# to NO the shortest path that makes the file name unique will be used. + +FULL_PATH_NAMES = NO + +# If the FULL_PATH_NAMES tag is set to YES then the STRIP_FROM_PATH tag +# can be used to strip a user-defined part of the path. Stripping is +# only done if one of the specified strings matches the left-hand part of +# the path. It is allowed to use relative paths in the argument list. + +STRIP_FROM_PATH = + +# If the SHORT_NAMES tag is set to YES, doxygen will generate much shorter +# (but less readable) file names. This can be useful is your file systems +# doesn't support long names like on DOS, Mac, or CD-ROM. + +SHORT_NAMES = NO + +# If the JAVADOC_AUTOBRIEF tag is set to YES then Doxygen +# will interpret the first line (until the first dot) of a JavaDoc-style +# comment as the brief description. If set to NO, the JavaDoc +# comments will behave just like the Qt-style comments (thus requiring an +# explict @brief command for a brief description. + +JAVADOC_AUTOBRIEF = YES + +# The MULTILINE_CPP_IS_BRIEF tag can be set to YES to make Doxygen +# treat a multi-line C++ special comment block (i.e. a block of //! or /// +# comments) as a brief description. This used to be the default behaviour. +# The new default is to treat a multi-line C++ comment block as a detailed +# description. Set this tag to YES if you prefer the old behaviour instead. + +MULTILINE_CPP_IS_BRIEF = NO + +# If the DETAILS_AT_TOP tag is set to YES then Doxygen +# will output the detailed description near the top, like JavaDoc. +# If set to NO, the detailed description appears after the member +# documentation. + +DETAILS_AT_TOP = NO + +# If the INHERIT_DOCS tag is set to YES (the default) then an undocumented +# member inherits the documentation from any documented member that it +# reimplements. + +INHERIT_DOCS = YES + +# If member grouping is used in the documentation and the DISTRIBUTE_GROUP_DOC +# tag is set to YES, then doxygen will reuse the documentation of the first +# member in the group (if any) for the other members of the group. By default +# all members of a group must be documented explicitly. + +DISTRIBUTE_GROUP_DOC = NO + +# The TAB_SIZE tag can be used to set the number of spaces in a tab. +# Doxygen uses this value to replace tabs by spaces in code fragments. + +TAB_SIZE = 4 + +# This tag can be used to specify a number of aliases that acts +# as commands in the documentation. An alias has the form "name=value". +# For example adding "sideeffect=\par Side Effects:\n" will allow you to +# put the command \sideeffect (or @sideeffect) in the documentation, which +# will result in a user-defined paragraph with heading "Side Effects:". +# You can put \n's in the value part of an alias to insert newlines. + +ALIASES = + +# Set the OPTIMIZE_OUTPUT_FOR_C tag to YES if your project consists of C sources +# only. Doxygen will then generate output that is more tailored for C. +# For instance, some of the names that are used will be different. The list +# of all members will be omitted, etc. + +OPTIMIZE_OUTPUT_FOR_C = NO + +# Set the OPTIMIZE_OUTPUT_JAVA tag to YES if your project consists of Java sources +# only. Doxygen will then generate output that is more tailored for Java. +# For instance, namespaces will be presented as packages, qualified scopes +# will look different, etc. + +OPTIMIZE_OUTPUT_JAVA = NO + +# Set the SUBGROUPING tag to YES (the default) to allow class member groups of +# the same type (for instance a group of public functions) to be put as a +# subgroup of that type (e.g. under the Public Functions section). Set it to +# NO to prevent subgrouping. Alternatively, this can be done per class using +# the \nosubgrouping command. + +SUBGROUPING = YES + +#--------------------------------------------------------------------------- +# Build related configuration options +#--------------------------------------------------------------------------- + +# If the EXTRACT_ALL tag is set to YES doxygen will assume all entities in +# documentation are documented, even if no documentation was available. +# Private class members and static file members will be hidden unless +# the EXTRACT_PRIVATE and EXTRACT_STATIC tags are set to YES + +EXTRACT_ALL = NO + +# If the EXTRACT_PRIVATE tag is set to YES all private members of a class +# will be included in the documentation. + +EXTRACT_PRIVATE = NO + +# If the EXTRACT_STATIC tag is set to YES all static members of a file +# will be included in the documentation. + +EXTRACT_STATIC = YES + +# If the EXTRACT_LOCAL_CLASSES tag is set to YES classes (and structs) +# defined locally in source files will be included in the documentation. +# If set to NO only classes defined in header files are included. + +EXTRACT_LOCAL_CLASSES = NO + +# If the HIDE_UNDOC_MEMBERS tag is set to YES, Doxygen will hide all +# undocumented members of documented classes, files or namespaces. +# If set to NO (the default) these members will be included in the +# various overviews, but no documentation section is generated. +# This option has no effect if EXTRACT_ALL is enabled. + +HIDE_UNDOC_MEMBERS = NO + +# If the HIDE_UNDOC_CLASSES tag is set to YES, Doxygen will hide all +# undocumented classes that are normally visible in the class hierarchy. +# If set to NO (the default) these classes will be included in the various +# overviews. This option has no effect if EXTRACT_ALL is enabled. + +HIDE_UNDOC_CLASSES = YES + +# If the HIDE_FRIEND_COMPOUNDS tag is set to YES, Doxygen will hide all +# friend (class|struct|union) declarations. +# If set to NO (the default) these declarations will be included in the +# documentation. + +HIDE_FRIEND_COMPOUNDS = NO + +# If the HIDE_IN_BODY_DOCS tag is set to YES, Doxygen will hide any +# documentation blocks found inside the body of a function. +# If set to NO (the default) these blocks will be appended to the +# function's detailed documentation block. + +HIDE_IN_BODY_DOCS = NO + +# The INTERNAL_DOCS tag determines if documentation +# that is typed after a \internal command is included. If the tag is set +# to NO (the default) then the documentation will be excluded. +# Set it to YES to include the internal documentation. + +INTERNAL_DOCS = NO + +# If the CASE_SENSE_NAMES tag is set to NO then Doxygen will only generate +# file names in lower-case letters. If set to YES upper-case letters are also +# allowed. This is useful if you have classes or files whose names only differ +# in case and if your file system supports case sensitive file names. Windows +# users are advised to set this option to NO. + +CASE_SENSE_NAMES = YES + +# If the HIDE_SCOPE_NAMES tag is set to NO (the default) then Doxygen +# will show members with their full class and namespace scopes in the +# documentation. If set to YES the scope will be hidden. + +HIDE_SCOPE_NAMES = NO + +# If the SHOW_INCLUDE_FILES tag is set to YES (the default) then Doxygen +# will put a list of the files that are included by a file in the documentation +# of that file. + +SHOW_INCLUDE_FILES = YES + +# If the INLINE_INFO tag is set to YES (the default) then a tag [inline] +# is inserted in the documentation for inline members. + +INLINE_INFO = YES + +# If the SORT_MEMBER_DOCS tag is set to YES (the default) then doxygen +# will sort the (detailed) documentation of file and class members +# alphabetically by member name. If set to NO the members will appear in +# declaration order. + +SORT_MEMBER_DOCS = NO + +# The GENERATE_TODOLIST tag can be used to enable (YES) or +# disable (NO) the todo list. This list is created by putting \todo +# commands in the documentation. + +GENERATE_TODOLIST = NO + +# The GENERATE_TESTLIST tag can be used to enable (YES) or +# disable (NO) the test list. This list is created by putting \test +# commands in the documentation. + +GENERATE_TESTLIST = NO + +# The GENERATE_BUGLIST tag can be used to enable (YES) or +# disable (NO) the bug list. This list is created by putting \bug +# commands in the documentation. + +GENERATE_BUGLIST = YES + +# The GENERATE_DEPRECATEDLIST tag can be used to enable (YES) or +# disable (NO) the deprecated list. This list is created by putting +# \deprecated commands in the documentation. + +GENERATE_DEPRECATEDLIST= YES + +# The ENABLED_SECTIONS tag can be used to enable conditional +# documentation sections, marked by \if sectionname ... \endif. + +ENABLED_SECTIONS = + +# The MAX_INITIALIZER_LINES tag determines the maximum number of lines +# the initial value of a variable or define consists of for it to appear in +# the documentation. If the initializer consists of more lines than specified +# here it will be hidden. Use a value of 0 to hide initializers completely. +# The appearance of the initializer of individual variables and defines in the +# documentation can be controlled using \showinitializer or \hideinitializer +# command in the documentation regardless of this setting. + +MAX_INITIALIZER_LINES = 30 + +# Set the SHOW_USED_FILES tag to NO to disable the list of files generated +# at the bottom of the documentation of classes and structs. If set to YES the +# list will mention the files that were used to generate the documentation. + +SHOW_USED_FILES = YES + +#--------------------------------------------------------------------------- +# configuration options related to warning and progress messages +#--------------------------------------------------------------------------- + +# The QUIET tag can be used to turn on/off the messages that are generated +# by doxygen. Possible values are YES and NO. If left blank NO is used. + +QUIET = YES + +# The WARNINGS tag can be used to turn on/off the warning messages that are +# generated by doxygen. Possible values are YES and NO. If left blank +# NO is used. + +WARNINGS = YES + +# If WARN_IF_UNDOCUMENTED is set to YES, then doxygen will generate warnings +# for undocumented members. If EXTRACT_ALL is set to YES then this flag will +# automatically be disabled. + +WARN_IF_UNDOCUMENTED = YES + +# If WARN_IF_DOC_ERROR is set to YES, doxygen will generate warnings for +# potential errors in the documentation, such as not documenting some +# parameters in a documented function, or documenting parameters that +# don't exist or using markup commands wrongly. + +WARN_IF_DOC_ERROR = YES + +# The WARN_FORMAT tag determines the format of the warning messages that +# doxygen can produce. The string should contain the $file, $line, and $text +# tags, which will be replaced by the file and line number from which the +# warning originated and the warning text. + +WARN_FORMAT = + +# The WARN_LOGFILE tag can be used to specify a file to which warning +# and error messages should be written. If left blank the output is written +# to stderr. + +WARN_LOGFILE = + +#--------------------------------------------------------------------------- +# configuration options related to the input files +#--------------------------------------------------------------------------- + +# The INPUT tag can be used to specify the files and/or directories that contain +# documented source files. You may enter file names like "myfile.cpp" or +# directories like "/usr/src/myproject". Separate the files or directories +# with spaces. + +INPUT = ./usbpp.cpp ./usbpp.h + +# If the value of the INPUT tag contains directories, you can use the +# FILE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp +# and *.h) to filter out the source-files in the directories. If left +# blank the following patterns are tested: +# *.c *.cc *.cxx *.cpp *.c++ *.java *.ii *.ixx *.ipp *.i++ *.inl *.h *.hh *.hxx *.hpp +# *.h++ *.idl *.odl *.cs *.php *.php3 *.inc + +FILE_PATTERNS = *.h \ + *.cpp \ + *.cc \ + *.hpp \ + *.dox \ + *.c++ \ + *.cxx \ + *.h++ \ + *.hh + +# The RECURSIVE tag can be used to turn specify whether or not subdirectories +# should be searched for input files as well. Possible values are YES and NO. +# If left blank NO is used. + +RECURSIVE = YES + +# The EXCLUDE tag can be used to specify files and/or directories that should +# excluded from the INPUT source files. This way you can easily exclude a +# subdirectory from a directory tree whose root is specified with the INPUT tag. + +EXCLUDE = + +# The EXCLUDE_SYMLINKS tag can be used select whether or not files or directories +# that are symbolic links (a Unix filesystem feature) are excluded from the input. + +EXCLUDE_SYMLINKS = YES + +# If the value of the INPUT tag contains directories, you can use the +# EXCLUDE_PATTERNS tag to specify one or more wildcard patterns to exclude +# certain files from those directories. + +EXCLUDE_PATTERNS = *.moc.* \ + moc* \ + *.all_cpp.* \ + *unload.* \ + */test/* \ + */tests/* + +# The EXAMPLE_PATH tag can be used to specify one or more files or +# directories that contain example code fragments that are included (see +# the \include command). + +EXAMPLE_PATH = + +# If the value of the EXAMPLE_PATH tag contains directories, you can use the +# EXAMPLE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp +# and *.h) to filter out the source-files in the directories. If left +# blank all files are included. + +EXAMPLE_PATTERNS = + +# If the EXAMPLE_RECURSIVE tag is set to YES then subdirectories will be +# searched for input files to be used with the \include or \dontinclude +# commands irrespective of the value of the RECURSIVE tag. +# Possible values are YES and NO. If left blank NO is used. + +EXAMPLE_RECURSIVE = NO + +# The IMAGE_PATH tag can be used to specify one or more files or +# directories that contain image that are included in the documentation (see +# the \image command). + +IMAGE_PATH = + +# The INPUT_FILTER tag can be used to specify a program that doxygen should +# invoke to filter for each input file. Doxygen will invoke the filter program +# by executing (via popen()) the command , where +# is the value of the INPUT_FILTER tag, and is the name of an +# input file. Doxygen will then use the output that the filter program writes +# to standard output. + +INPUT_FILTER = + +# If the FILTER_SOURCE_FILES tag is set to YES, the input filter (if set using +# INPUT_FILTER) will be used to filter the input files when producing source +# files to browse (i.e. when SOURCE_BROWSER is set to YES). + +FILTER_SOURCE_FILES = NO + +#--------------------------------------------------------------------------- +# configuration options related to source browsing +#--------------------------------------------------------------------------- + +# If the SOURCE_BROWSER tag is set to YES then a list of source files will +# be generated. Documented entities will be cross-referenced with these sources. + +SOURCE_BROWSER = YES + +# Setting the INLINE_SOURCES tag to YES will include the body +# of functions and classes directly in the documentation. + +INLINE_SOURCES = NO + +# Setting the STRIP_CODE_COMMENTS tag to YES (the default) will instruct +# doxygen to hide any special comment blocks from generated source code +# fragments. Normal C and C++ comments will always remain visible. + +STRIP_CODE_COMMENTS = YES + +# If the REFERENCED_BY_RELATION tag is set to YES (the default) +# then for each documented function all documented +# functions referencing it will be listed. + +REFERENCED_BY_RELATION = YES + +# If the REFERENCES_RELATION tag is set to YES (the default) +# then for each documented function all documented entities +# called/used by that function will be listed. + +REFERENCES_RELATION = YES + +# If the VERBATIM_HEADERS tag is set to YES (the default) then Doxygen +# will generate a verbatim copy of the header file for each class for +# which an include is specified. Set to NO to disable this. + +VERBATIM_HEADERS = YES + +#--------------------------------------------------------------------------- +# configuration options related to the alphabetical class index +#--------------------------------------------------------------------------- + +# If the ALPHABETICAL_INDEX tag is set to YES, an alphabetical index +# of all compounds will be generated. Enable this if the project +# contains a lot of classes, structs, unions or interfaces. + +ALPHABETICAL_INDEX = YES + +# If the alphabetical index is enabled (see ALPHABETICAL_INDEX) then +# the COLS_IN_ALPHA_INDEX tag can be used to specify the number of columns +# in which this list will be split (can be a number in the range [1..20]) + +COLS_IN_ALPHA_INDEX = 3 + +# In case all classes in a project start with a common prefix, all +# classes will be put under the same header in the alphabetical index. +# The IGNORE_PREFIX tag can be used to specify one or more prefixes that +# should be ignored while generating the index headers. + +IGNORE_PREFIX = K + +#--------------------------------------------------------------------------- +# configuration options related to the HTML output +#--------------------------------------------------------------------------- + +# If the GENERATE_HTML tag is set to YES (the default) Doxygen will +# generate HTML output. + +GENERATE_HTML = YES + +# The HTML_OUTPUT tag is used to specify where the HTML docs will be put. +# If a relative path is entered the value of OUTPUT_DIRECTORY will be +# put in front of it. If left blank `html' will be used as the default path. + +HTML_OUTPUT = ./html/ + +# The HTML_FILE_EXTENSION tag can be used to specify the file extension for +# each generated HTML page (for example: .htm,.php,.asp). If it is left blank +# doxygen will generate files with .html extension. + +HTML_FILE_EXTENSION = .html + +# The HTML_HEADER tag can be used to specify a personal HTML header for +# each generated HTML page. If it is left blank doxygen will generate a +# standard header. + +HTML_HEADER = ./apidocs/header.html + +# The HTML_FOOTER tag can be used to specify a personal HTML footer for +# each generated HTML page. If it is left blank doxygen will generate a +# standard footer. + +HTML_FOOTER = ./apidocs/footer.html + +# The HTML_STYLESHEET tag can be used to specify a user-defined cascading +# style sheet that is used by each HTML page. It can be used to +# fine-tune the look of the HTML output. If the tag is left blank doxygen +# will generate a default style sheet + +HTML_STYLESHEET = ./apidocs/doxygen.css + +# If the HTML_ALIGN_MEMBERS tag is set to YES, the members of classes, +# files or namespaces will be aligned in HTML using tables. If set to +# NO a bullet list will be used. + +HTML_ALIGN_MEMBERS = YES + +# If the GENERATE_HTMLHELP tag is set to YES, additional index files +# will be generated that can be used as input for tools like the +# Microsoft HTML help workshop to generate a compressed HTML help file (.chm) +# of the generated HTML documentation. + +GENERATE_HTMLHELP = NO + +# If the GENERATE_HTMLHELP tag is set to YES, the CHM_FILE tag can +# be used to specify the file name of the resulting .chm file. You +# can add a path in front of the file if the result should not be +# written to the html output dir. + +CHM_FILE = + +# If the GENERATE_HTMLHELP tag is set to YES, the HHC_LOCATION tag can +# be used to specify the location (absolute path including file name) of +# the HTML help compiler (hhc.exe). If non-empty doxygen will try to run +# the HTML help compiler on the generated index.hhp. + +HHC_LOCATION = + +# If the GENERATE_HTMLHELP tag is set to YES, the GENERATE_CHI flag +# controls if a separate .chi index file is generated (YES) or that +# it should be included in the master .chm file (NO). + +GENERATE_CHI = NO + +# If the GENERATE_HTMLHELP tag is set to YES, the BINARY_TOC flag +# controls whether a binary table of contents is generated (YES) or a +# normal table of contents (NO) in the .chm file. + +BINARY_TOC = NO + +# The TOC_EXPAND flag can be set to YES to add extra items for group members +# to the contents of the HTML help documentation and to the tree view. + +TOC_EXPAND = NO + +# The DISABLE_INDEX tag can be used to turn on/off the condensed index at +# top of each HTML page. The value NO (the default) enables the index and +# the value YES disables it. + +DISABLE_INDEX = NO + +# This tag can be used to set the number of enum values (range [1..20]) +# that doxygen will group on one line in the generated HTML documentation. + +ENUM_VALUES_PER_LINE = 4 + +# If the GENERATE_TREEVIEW tag is set to YES, a side panel will be +# generated containing a tree-like index structure (just like the one that +# is generated for HTML Help). For this to work a browser that supports +# JavaScript, DHTML, CSS and frames is required (for instance Mozilla 1.0+, +# Netscape 6.0+, Internet explorer 5.0+, or Konqueror). Windows users are +# probably better off using the HTML help feature. + +GENERATE_TREEVIEW = NO + +# If the treeview is enabled (see GENERATE_TREEVIEW) then this tag can be +# used to set the initial width (in pixels) of the frame in which the tree +# is shown. + +TREEVIEW_WIDTH = 250 + +#--------------------------------------------------------------------------- +# configuration options related to the LaTeX output +#--------------------------------------------------------------------------- + +# If the GENERATE_LATEX tag is set to YES (the default) Doxygen will +# generate Latex output. + +GENERATE_LATEX = NO + +# The LATEX_OUTPUT tag is used to specify where the LaTeX docs will be put. +# If a relative path is entered the value of OUTPUT_DIRECTORY will be +# put in front of it. If left blank `latex' will be used as the default path. + +LATEX_OUTPUT = + +# The LATEX_CMD_NAME tag can be used to specify the LaTeX command name to be +# invoked. If left blank `latex' will be used as the default command name. + +LATEX_CMD_NAME = latex + +# The MAKEINDEX_CMD_NAME tag can be used to specify the command name to +# generate index for LaTeX. If left blank `makeindex' will be used as the +# default command name. + +MAKEINDEX_CMD_NAME = makeindex + +# If the COMPACT_LATEX tag is set to YES Doxygen generates more compact +# LaTeX documents. This may be useful for small projects and may help to +# save some trees in general. + +COMPACT_LATEX = NO + +# The PAPER_TYPE tag can be used to set the paper type that is used +# by the printer. Possible values are: a4, a4wide, letter, legal and +# executive. If left blank a4wide will be used. + +PAPER_TYPE = a4wide + +# The EXTRA_PACKAGES tag can be to specify one or more names of LaTeX +# packages that should be included in the LaTeX output. + +EXTRA_PACKAGES = + +# The LATEX_HEADER tag can be used to specify a personal LaTeX header for +# the generated latex document. The header should contain everything until +# the first chapter. If it is left blank doxygen will generate a +# standard header. Notice: only use this tag if you know what you are doing! + +LATEX_HEADER = + +# If the PDF_HYPERLINKS tag is set to YES, the LaTeX that is generated +# is prepared for conversion to pdf (using ps2pdf). The pdf file will +# contain links (just like the HTML output) instead of page references +# This makes the output suitable for online browsing using a pdf viewer. + +PDF_HYPERLINKS = NO + +# If the USE_PDFLATEX tag is set to YES, pdflatex will be used instead of +# plain latex in the generated Makefile. Set this option to YES to get a +# higher quality PDF documentation. + +USE_PDFLATEX = NO + +# If the LATEX_BATCHMODE tag is set to YES, doxygen will add the \\batchmode. +# command to the generated LaTeX files. This will instruct LaTeX to keep +# running if errors occur, instead of asking the user for help. +# This option is also used when generating formulas in HTML. + +LATEX_BATCHMODE = NO + +# If LATEX_HIDE_INDICES is set to YES then doxygen will not +# include the index chapters (such as File Index, Compound Index, etc.) +# in the output. + +LATEX_HIDE_INDICES = NO + +#--------------------------------------------------------------------------- +# configuration options related to the RTF output +#--------------------------------------------------------------------------- + +# If the GENERATE_RTF tag is set to YES Doxygen will generate RTF output +# The RTF output is optimised for Word 97 and may not look very pretty with +# other RTF readers or editors. + +GENERATE_RTF = NO + +# The RTF_OUTPUT tag is used to specify where the RTF docs will be put. +# If a relative path is entered the value of OUTPUT_DIRECTORY will be +# put in front of it. If left blank `rtf' will be used as the default path. + +RTF_OUTPUT = + +# If the COMPACT_RTF tag is set to YES Doxygen generates more compact +# RTF documents. This may be useful for small projects and may help to +# save some trees in general. + +COMPACT_RTF = NO + +# If the RTF_HYPERLINKS tag is set to YES, the RTF that is generated +# will contain hyperlink fields. The RTF file will +# contain links (just like the HTML output) instead of page references. +# This makes the output suitable for online browsing using WORD or other +# programs which support those fields. +# Note: wordpad (write) and others do not support links. + +RTF_HYPERLINKS = NO + +# Load stylesheet definitions from file. Syntax is similar to doxygen's +# config file, i.e. a series of assigments. You only have to provide +# replacements, missing definitions are set to their default value. + +RTF_STYLESHEET_FILE = + +# Set optional variables used in the generation of an rtf document. +# Syntax is similar to doxygen's config file. + +RTF_EXTENSIONS_FILE = + +#--------------------------------------------------------------------------- +# configuration options related to the man page output +#--------------------------------------------------------------------------- + +# If the GENERATE_MAN tag is set to YES (the default) Doxygen will +# generate man pages + +GENERATE_MAN = NO + +# The MAN_OUTPUT tag is used to specify where the man pages will be put. +# If a relative path is entered the value of OUTPUT_DIRECTORY will be +# put in front of it. If left blank `man' will be used as the default path. + +MAN_OUTPUT = + +# The MAN_EXTENSION tag determines the extension that is added to +# the generated man pages (default is the subroutine's section .3) + +MAN_EXTENSION = .kde3 + +# If the MAN_LINKS tag is set to YES and Doxygen generates man output, +# then it will generate one additional man file for each entity +# documented in the real man page(s). These additional files +# only source the real man page, but without them the man command +# would be unable to find the correct page. The default is NO. + +MAN_LINKS = YES + +#--------------------------------------------------------------------------- +# configuration options related to the XML output +#--------------------------------------------------------------------------- + +# If the GENERATE_XML tag is set to YES Doxygen will +# generate an XML file that captures the structure of +# the code including all documentation. Note that this +# feature is still experimental and incomplete at the +# moment. + +GENERATE_XML = NO + +# The XML_OUTPUT tag is used to specify where the XML pages will be put. +# If a relative path is entered the value of OUTPUT_DIRECTORY will be +# put in front of it. If left blank `xml' will be used as the default path. + +XML_OUTPUT = xml + +# The XML_SCHEMA tag can be used to specify an XML schema, +# which can be used by a validating XML parser to check the +# syntax of the XML files. + +XML_SCHEMA = + +# The XML_DTD tag can be used to specify an XML DTD, +# which can be used by a validating XML parser to check the +# syntax of the XML files. + +XML_DTD = + +#--------------------------------------------------------------------------- +# configuration options for the AutoGen Definitions output +#--------------------------------------------------------------------------- + +# If the GENERATE_AUTOGEN_DEF tag is set to YES Doxygen will +# generate an AutoGen Definitions (see autogen.sf.net) file +# that captures the structure of the code including all +# documentation. Note that this feature is still experimental +# and incomplete at the moment. + +GENERATE_AUTOGEN_DEF = NO + +#--------------------------------------------------------------------------- +# configuration options related to the Perl module output +#--------------------------------------------------------------------------- + +# If the GENERATE_PERLMOD tag is set to YES Doxygen will +# generate a Perl module file that captures the structure of +# the code including all documentation. Note that this +# feature is still experimental and incomplete at the +# moment. + +GENERATE_PERLMOD = NO + +# If the PERLMOD_LATEX tag is set to YES Doxygen will generate +# the necessary Makefile rules, Perl scripts and LaTeX code to be able +# to generate PDF and DVI output from the Perl module output. + +PERLMOD_LATEX = NO + +# If the PERLMOD_PRETTY tag is set to YES the Perl module output will be +# nicely formatted so it can be parsed by a human reader. This is useful +# if you want to understand what is going on. On the other hand, if this +# tag is set to NO the size of the Perl module output will be much smaller +# and Perl will parse it just the same. + +PERLMOD_PRETTY = YES + +# The names of the make variables in the generated doxyrules.make file +# are prefixed with the string contained in PERLMOD_MAKEVAR_PREFIX. +# This is useful so different doxyrules.make files included by the same +# Makefile don't overwrite each other's variables. + +PERLMOD_MAKEVAR_PREFIX = + +#--------------------------------------------------------------------------- +# Configuration options related to the preprocessor +#--------------------------------------------------------------------------- + +# If the ENABLE_PREPROCESSING tag is set to YES (the default) Doxygen will +# evaluate all C-preprocessor directives found in the sources and include +# files. + +ENABLE_PREPROCESSING = YES + +# If the MACRO_EXPANSION tag is set to YES Doxygen will expand all macro +# names in the source code. If set to NO (the default) only conditional +# compilation will be performed. Macro expansion can be done in a controlled +# way by setting EXPAND_ONLY_PREDEF to YES. + +MACRO_EXPANSION = NO + +# If the EXPAND_ONLY_PREDEF and MACRO_EXPANSION tags are both set to YES +# then the macro expansion is limited to the macros specified with the +# PREDEFINED and EXPAND_AS_PREDEFINED tags. + +EXPAND_ONLY_PREDEF = NO + +# If the SEARCH_INCLUDES tag is set to YES (the default) the includes files +# in the INCLUDE_PATH (see below) will be search if a #include is found. + +SEARCH_INCLUDES = YES + +# The INCLUDE_PATH tag can be used to specify one or more directories that +# contain include files that are not input files but should be processed by +# the preprocessor. + +INCLUDE_PATH = + +# You can use the INCLUDE_FILE_PATTERNS tag to specify one or more wildcard +# patterns (like *.h and *.hpp) to filter out the header-files in the +# directories. If left blank, the patterns specified with FILE_PATTERNS will +# be used. + +INCLUDE_FILE_PATTERNS = + +# The PREDEFINED tag can be used to specify one or more macro names that +# are defined before the preprocessor is started (similar to the -D option of +# gcc). The argument of the tag is a list of macros of the form: name +# or name=definition (no spaces). If the definition and the = are +# omitted =1 is assumed. + +PREDEFINED = __cplusplus + +# If the MACRO_EXPANSION and EXPAND_ONLY_PREDEF tags are set to YES then +# this tag can be used to specify a list of macro names that should be expanded. +# The macro definition that is found in the sources will be used. +# Use the PREDEFINED tag if you want to use a different macro definition. + +EXPAND_AS_DEFINED = + +# If the SKIP_FUNCTION_MACROS tag is set to YES (the default) then +# doxygen's preprocessor will remove all function-like macros that are alone +# on a line, have an all uppercase name, and do not end with a semicolon. Such +# function macros are typically used for boiler-plate code, and will confuse the +# parser if not removed. + +SKIP_FUNCTION_MACROS = YES + +#--------------------------------------------------------------------------- +# Configuration::addtions related to external references +#--------------------------------------------------------------------------- + +# The TAGFILES option can be used to specify one or more tagfiles. +# Optionally an initial location of the external documentation +# can be added for each tagfile. The format of a tag file without +# this location is as follows: +# TAGFILES = file1 file2 ... +# Adding location for the tag files is done as follows: +# TAGFILES = file1=loc1 "file2 = loc2" ... +# where "loc1" and "loc2" can be relative or absolute paths or +# URLs. If a location is present for each tag, the installdox tool +# does not have to be run to correct the links. +# Note that each tag file must have a unique name +# (where the name does NOT include the path) +# If a tag file is not located in the directory in which doxygen +# is run, you must also specify the path to the tagfile here. + +TAGFILES = + +# When a file name is specified after GENERATE_TAGFILE, doxygen will create +# a tag file that is based on the input files it reads. + +GENERATE_TAGFILE = + +# If the ALLEXTERNALS tag is set to YES all external classes will be listed +# in the class index. If set to NO only the inherited external classes +# will be listed. + +ALLEXTERNALS = NO + +# If the EXTERNAL_GROUPS tag is set to YES all external groups will be listed +# in the modules index. If set to NO, only the current project's groups will +# be listed. + +EXTERNAL_GROUPS = NO + +# The PERL_PATH should be the absolute path and name of the perl script +# interpreter (i.e. the result of `which perl'). + +PERL_PATH = + +#--------------------------------------------------------------------------- +# Configuration options related to the dot tool +#--------------------------------------------------------------------------- + +# If the CLASS_DIAGRAMS tag is set to YES (the default) Doxygen will +# generate a inheritance diagram (in HTML, RTF and LaTeX) for classes with base or +# super classes. Setting the tag to NO turns the diagrams off. Note that this +# option is superceded by the HAVE_DOT option below. This is only a fallback. It is +# recommended to install and use dot, since it yields more powerful graphs. + +CLASS_DIAGRAMS = YES + +# If set to YES, the inheritance and collaboration graphs will hide +# inheritance and usage relations if the target is undocumented +# or is not a class. + +HIDE_UNDOC_RELATIONS = NO + +# If you set the HAVE_DOT tag to YES then doxygen will assume the dot tool is +# available from the path. This tool is part of Graphviz, a graph visualization +# toolkit from AT&T and Lucent Bell Labs. The other options in this section +# have no effect if this option is set to NO (the default) + +HAVE_DOT = YES + +# If the CLASS_GRAPH and HAVE_DOT tags are set to YES then doxygen +# will generate a graph for each documented class showing the direct and +# indirect inheritance relations. Setting this tag to YES will force the +# the CLASS_DIAGRAMS tag to NO. + +CLASS_GRAPH = YES + +# If the COLLABORATION_GRAPH and HAVE_DOT tags are set to YES then doxygen +# will generate a graph for each documented class showing the direct and +# indirect implementation dependencies (inheritance, containment, and +# class references variables) of the class with other documented classes. + +COLLABORATION_GRAPH = YES + +# If the UML_LOOK tag is set to YES doxygen will generate inheritance and +# collaboration diagrams in a style similiar to the OMG's Unified Modeling +# Language. + +UML_LOOK = NO + +# If set to YES, the inheritance and collaboration graphs will show the +# relations between templates and their instances. + +TEMPLATE_RELATIONS = YES + +# If the ENABLE_PREPROCESSING, SEARCH_INCLUDES, INCLUDE_GRAPH, and HAVE_DOT +# tags are set to YES then doxygen will generate a graph for each documented +# file showing the direct and indirect include dependencies of the file with +# other documented files. + +INCLUDE_GRAPH = YES + +# If the ENABLE_PREPROCESSING, SEARCH_INCLUDES, INCLUDED_BY_GRAPH, and +# HAVE_DOT tags are set to YES then doxygen will generate a graph for each +# documented header file showing the documented files that directly or +# indirectly include this file. + +INCLUDED_BY_GRAPH = YES + +# If the CALL_GRAPH and HAVE_DOT tags are set to YES then doxygen will +# generate a call dependency graph for every global function or class method. +# Note that enabling this option will significantly increase the time of a run. +# So in most cases it will be better to enable call graphs for selected +# functions only using the \callgraph command. + +CALL_GRAPH = NO + +# If the GRAPHICAL_HIERARCHY and HAVE_DOT tags are set to YES then doxygen +# will graphical hierarchy of all classes instead of a textual one. + +GRAPHICAL_HIERARCHY = YES + +# The DOT_IMAGE_FORMAT tag can be used to set the image format of the images +# generated by dot. Possible values are png, jpg, or gif +# If left blank png will be used. + +DOT_IMAGE_FORMAT = png + +# The tag DOT_PATH can be used to specify the path where the dot tool can be +# found. If left blank, it is assumed the dot tool can be found on the path. + +DOT_PATH = + +# The DOTFILE_DIRS tag can be used to specify one or more directories that +# contain dot files that are included in the documentation (see the +# \dotfile command). + +DOTFILE_DIRS = + +# The MAX_DOT_GRAPH_WIDTH tag can be used to set the maximum allowed width +# (in pixels) of the graphs generated by dot. If a graph becomes larger than +# this value, doxygen will try to truncate the graph, so that it fits within +# the specified constraint. Beware that most browsers cannot cope with very +# large images. + +MAX_DOT_GRAPH_WIDTH = 800 + +# The MAX_DOT_GRAPH_HEIGHT tag can be used to set the maximum allows height +# (in pixels) of the graphs generated by dot. If a graph becomes larger than +# this value, doxygen will try to truncate the graph, so that it fits within +# the specified constraint. Beware that most browsers cannot cope with very +# large images. + +MAX_DOT_GRAPH_HEIGHT = 1024 + +# The MAX_DOT_GRAPH_DEPTH tag can be used to set the maximum depth of the +# graphs generated by dot. A depth value of 3 means that only nodes reachable +# from the root by following a path via at most 3 edges will be shown. Nodes that +# lay further from the root node will be omitted. Note that setting this option to +# 1 or 2 may greatly reduce the computation time needed for large code bases. Also +# note that a graph may be further truncated if the graph's image dimensions are +# not sufficient to fit the graph (see MAX_DOT_GRAPH_WIDTH and MAX_DOT_GRAPH_HEIGHT). +# If 0 is used for the depth value (the default), the graph is not depth-constrained. + +MAX_DOT_GRAPH_DEPTH = 0 + +# If the GENERATE_LEGEND tag is set to YES (the default) Doxygen will +# generate a legend page explaining the meaning of the various boxes and +# arrows in the dot generated graphs. + +GENERATE_LEGEND = YES + +# If the DOT_CLEANUP tag is set to YES (the default) Doxygen will +# remove the intermediate dot files that are used to generate +# the various graphs. + +DOT_CLEANUP = YES + +#--------------------------------------------------------------------------- +# Configuration::addtions related to the search engine +#--------------------------------------------------------------------------- + +# The SEARCHENGINE tag specifies whether or not a search engine should be +# used. If set to NO the values of all tags below this one will be ignored. + +SEARCHENGINE = NO diff --git a/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/Doxyfile.in b/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/Doxyfile.in new file mode 100644 index 000000000..e5d14be70 --- /dev/null +++ b/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/Doxyfile.in @@ -0,0 +1,1091 @@ +# Doxyfile 1.3.4 + +# This file describes the settings to be used by the documentation system +# doxygen (www.doxygen.org) for a project +# +# All text after a hash (#) is considered a comment and will be ignored +# The format is: +# TAG = value [value, ...] +# For lists items can also be appended using: +# TAG += value [value, ...] +# Values that contain spaces should be placed between quotes (" ") + +#--------------------------------------------------------------------------- +# Project related configuration options +#--------------------------------------------------------------------------- + +# The PROJECT_NAME tag is a single word (or a sequence of words surrounded +# by quotes) that should identify the project. + +PROJECT_NAME = libusb++ + +# The PROJECT_NUMBER tag can be used to enter a project or revision number. +# This could be handy for archiving the generated documentation or +# if some version control system is used. + +PROJECT_NUMBER = + +# The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute) +# base path where the generated documentation will be put. +# If a relative path is entered, it will be relative to the location +# where doxygen was started. If left blank the current directory will be used. + +OUTPUT_DIRECTORY = ./apidocs/ + +# The OUTPUT_LANGUAGE tag is used to specify the language in which all +# documentation generated by doxygen is written. Doxygen will use this +# information to generate all constant output in the proper language. +# The default language is English, other supported languages are: +# Brazilian, Catalan, Chinese, Chinese-Traditional, Croatian, Czech, Danish, Dutch, +# Finnish, French, German, Greek, Hungarian, Italian, Japanese, Japanese-en +# (Japanese with English messages), Korean, Norwegian, Polish, Portuguese, +# Romanian, Russian, Serbian, Slovak, Slovene, Spanish, Swedish, and Ukrainian. + +OUTPUT_LANGUAGE = English + +# This tag can be used to specify the encoding used in the generated output. +# The encoding is not always determined by the language that is chosen, +# but also whether or not the output is meant for Windows or non-Windows users. +# In case there is a difference, setting the USE_WINDOWS_ENCODING tag to YES +# forces the Windows encoding (this is the default for the Windows binary), +# whereas setting the tag to NO uses a Unix-style encoding (the default for +# all platforms other than Windows). + +USE_WINDOWS_ENCODING = NO + +# If the BRIEF_MEMBER_DESC tag is set to YES (the default) Doxygen will +# include brief member descriptions after the members that are listed in +# the file and class documentation (similar to JavaDoc). +# Set to NO to disable this. + +BRIEF_MEMBER_DESC = YES + +# If the REPEAT_BRIEF tag is set to YES (the default) Doxygen will prepend +# the brief description of a member or function before the detailed description. +# Note: if both HIDE_UNDOC_MEMBERS and BRIEF_MEMBER_DESC are set to NO, the +# brief descriptions will be completely suppressed. + +REPEAT_BRIEF = YES + +# If the ALWAYS_DETAILED_SEC and REPEAT_BRIEF tags are both set to YES then +# Doxygen will generate a detailed section even if there is only a brief +# description. + +ALWAYS_DETAILED_SEC = YES + +# If the INLINE_INHERITED_MEMB tag is set to YES, doxygen will show all inherited +# members of a class in the documentation of that class as if those members were +# ordinary class members. Constructors, destructors and assignment operators of +# the base classes will not be shown. + +INLINE_INHERITED_MEMB = NO + +# If the FULL_PATH_NAMES tag is set to YES then Doxygen will prepend the full +# path before files name in the file list and in the header files. If set +# to NO the shortest path that makes the file name unique will be used. + +FULL_PATH_NAMES = NO + +# If the FULL_PATH_NAMES tag is set to YES then the STRIP_FROM_PATH tag +# can be used to strip a user-defined part of the path. Stripping is +# only done if one of the specified strings matches the left-hand part of +# the path. It is allowed to use relative paths in the argument list. + +STRIP_FROM_PATH = + +# If the SHORT_NAMES tag is set to YES, doxygen will generate much shorter +# (but less readable) file names. This can be useful is your file systems +# doesn't support long names like on DOS, Mac, or CD-ROM. + +SHORT_NAMES = NO + +# If the JAVADOC_AUTOBRIEF tag is set to YES then Doxygen +# will interpret the first line (until the first dot) of a JavaDoc-style +# comment as the brief description. If set to NO, the JavaDoc +# comments will behave just like the Qt-style comments (thus requiring an +# explict @brief command for a brief description. + +JAVADOC_AUTOBRIEF = YES + +# The MULTILINE_CPP_IS_BRIEF tag can be set to YES to make Doxygen +# treat a multi-line C++ special comment block (i.e. a block of //! or /// +# comments) as a brief description. This used to be the default behaviour. +# The new default is to treat a multi-line C++ comment block as a detailed +# description. Set this tag to YES if you prefer the old behaviour instead. + +MULTILINE_CPP_IS_BRIEF = NO + +# If the DETAILS_AT_TOP tag is set to YES then Doxygen +# will output the detailed description near the top, like JavaDoc. +# If set to NO, the detailed description appears after the member +# documentation. + +DETAILS_AT_TOP = NO + +# If the INHERIT_DOCS tag is set to YES (the default) then an undocumented +# member inherits the documentation from any documented member that it +# reimplements. + +INHERIT_DOCS = YES + +# If member grouping is used in the documentation and the DISTRIBUTE_GROUP_DOC +# tag is set to YES, then doxygen will reuse the documentation of the first +# member in the group (if any) for the other members of the group. By default +# all members of a group must be documented explicitly. + +DISTRIBUTE_GROUP_DOC = NO + +# The TAB_SIZE tag can be used to set the number of spaces in a tab. +# Doxygen uses this value to replace tabs by spaces in code fragments. + +TAB_SIZE = 4 + +# This tag can be used to specify a number of aliases that acts +# as commands in the documentation. An alias has the form "name=value". +# For example adding "sideeffect=\par Side Effects:\n" will allow you to +# put the command \sideeffect (or @sideeffect) in the documentation, which +# will result in a user-defined paragraph with heading "Side Effects:". +# You can put \n's in the value part of an alias to insert newlines. + +ALIASES = + +# Set the OPTIMIZE_OUTPUT_FOR_C tag to YES if your project consists of C sources +# only. Doxygen will then generate output that is more tailored for C. +# For instance, some of the names that are used will be different. The list +# of all members will be omitted, etc. + +OPTIMIZE_OUTPUT_FOR_C = NO + +# Set the OPTIMIZE_OUTPUT_JAVA tag to YES if your project consists of Java sources +# only. Doxygen will then generate output that is more tailored for Java. +# For instance, namespaces will be presented as packages, qualified scopes +# will look different, etc. + +OPTIMIZE_OUTPUT_JAVA = NO + +# Set the SUBGROUPING tag to YES (the default) to allow class member groups of +# the same type (for instance a group of public functions) to be put as a +# subgroup of that type (e.g. under the Public Functions section). Set it to +# NO to prevent subgrouping. Alternatively, this can be done per class using +# the \nosubgrouping command. + +SUBGROUPING = YES + +#--------------------------------------------------------------------------- +# Build related configuration options +#--------------------------------------------------------------------------- + +# If the EXTRACT_ALL tag is set to YES doxygen will assume all entities in +# documentation are documented, even if no documentation was available. +# Private class members and static file members will be hidden unless +# the EXTRACT_PRIVATE and EXTRACT_STATIC tags are set to YES + +EXTRACT_ALL = NO + +# If the EXTRACT_PRIVATE tag is set to YES all private members of a class +# will be included in the documentation. + +EXTRACT_PRIVATE = NO + +# If the EXTRACT_STATIC tag is set to YES all static members of a file +# will be included in the documentation. + +EXTRACT_STATIC = YES + +# If the EXTRACT_LOCAL_CLASSES tag is set to YES classes (and structs) +# defined locally in source files will be included in the documentation. +# If set to NO only classes defined in header files are included. + +EXTRACT_LOCAL_CLASSES = NO + +# If the HIDE_UNDOC_MEMBERS tag is set to YES, Doxygen will hide all +# undocumented members of documented classes, files or namespaces. +# If set to NO (the default) these members will be included in the +# various overviews, but no documentation section is generated. +# This option has no effect if EXTRACT_ALL is enabled. + +HIDE_UNDOC_MEMBERS = NO + +# If the HIDE_UNDOC_CLASSES tag is set to YES, Doxygen will hide all +# undocumented classes that are normally visible in the class hierarchy. +# If set to NO (the default) these classes will be included in the various +# overviews. This option has no effect if EXTRACT_ALL is enabled. + +HIDE_UNDOC_CLASSES = YES + +# If the HIDE_FRIEND_COMPOUNDS tag is set to YES, Doxygen will hide all +# friend (class|struct|union) declarations. +# If set to NO (the default) these declarations will be included in the +# documentation. + +HIDE_FRIEND_COMPOUNDS = NO + +# If the HIDE_IN_BODY_DOCS tag is set to YES, Doxygen will hide any +# documentation blocks found inside the body of a function. +# If set to NO (the default) these blocks will be appended to the +# function's detailed documentation block. + +HIDE_IN_BODY_DOCS = NO + +# The INTERNAL_DOCS tag determines if documentation +# that is typed after a \internal command is included. If the tag is set +# to NO (the default) then the documentation will be excluded. +# Set it to YES to include the internal documentation. + +INTERNAL_DOCS = NO + +# If the CASE_SENSE_NAMES tag is set to NO then Doxygen will only generate +# file names in lower-case letters. If set to YES upper-case letters are also +# allowed. This is useful if you have classes or files whose names only differ +# in case and if your file system supports case sensitive file names. Windows +# users are advised to set this option to NO. + +CASE_SENSE_NAMES = YES + +# If the HIDE_SCOPE_NAMES tag is set to NO (the default) then Doxygen +# will show members with their full class and namespace scopes in the +# documentation. If set to YES the scope will be hidden. + +HIDE_SCOPE_NAMES = NO + +# If the SHOW_INCLUDE_FILES tag is set to YES (the default) then Doxygen +# will put a list of the files that are included by a file in the documentation +# of that file. + +SHOW_INCLUDE_FILES = YES + +# If the INLINE_INFO tag is set to YES (the default) then a tag [inline] +# is inserted in the documentation for inline members. + +INLINE_INFO = YES + +# If the SORT_MEMBER_DOCS tag is set to YES (the default) then doxygen +# will sort the (detailed) documentation of file and class members +# alphabetically by member name. If set to NO the members will appear in +# declaration order. + +SORT_MEMBER_DOCS = NO + +# The GENERATE_TODOLIST tag can be used to enable (YES) or +# disable (NO) the todo list. This list is created by putting \todo +# commands in the documentation. + +GENERATE_TODOLIST = NO + +# The GENERATE_TESTLIST tag can be used to enable (YES) or +# disable (NO) the test list. This list is created by putting \test +# commands in the documentation. + +GENERATE_TESTLIST = NO + +# The GENERATE_BUGLIST tag can be used to enable (YES) or +# disable (NO) the bug list. This list is created by putting \bug +# commands in the documentation. + +GENERATE_BUGLIST = YES + +# The GENERATE_DEPRECATEDLIST tag can be used to enable (YES) or +# disable (NO) the deprecated list. This list is created by putting +# \deprecated commands in the documentation. + +GENERATE_DEPRECATEDLIST= YES + +# The ENABLED_SECTIONS tag can be used to enable conditional +# documentation sections, marked by \if sectionname ... \endif. + +ENABLED_SECTIONS = + +# The MAX_INITIALIZER_LINES tag determines the maximum number of lines +# the initial value of a variable or define consists of for it to appear in +# the documentation. If the initializer consists of more lines than specified +# here it will be hidden. Use a value of 0 to hide initializers completely. +# The appearance of the initializer of individual variables and defines in the +# documentation can be controlled using \showinitializer or \hideinitializer +# command in the documentation regardless of this setting. + +MAX_INITIALIZER_LINES = 30 + +# Set the SHOW_USED_FILES tag to NO to disable the list of files generated +# at the bottom of the documentation of classes and structs. If set to YES the +# list will mention the files that were used to generate the documentation. + +SHOW_USED_FILES = YES + +#--------------------------------------------------------------------------- +# configuration options related to warning and progress messages +#--------------------------------------------------------------------------- + +# The QUIET tag can be used to turn on/off the messages that are generated +# by doxygen. Possible values are YES and NO. If left blank NO is used. + +QUIET = YES + +# The WARNINGS tag can be used to turn on/off the warning messages that are +# generated by doxygen. Possible values are YES and NO. If left blank +# NO is used. + +WARNINGS = YES + +# If WARN_IF_UNDOCUMENTED is set to YES, then doxygen will generate warnings +# for undocumented members. If EXTRACT_ALL is set to YES then this flag will +# automatically be disabled. + +WARN_IF_UNDOCUMENTED = YES + +# If WARN_IF_DOC_ERROR is set to YES, doxygen will generate warnings for +# potential errors in the documentation, such as not documenting some +# parameters in a documented function, or documenting parameters that +# don't exist or using markup commands wrongly. + +WARN_IF_DOC_ERROR = YES + +# The WARN_FORMAT tag determines the format of the warning messages that +# doxygen can produce. The string should contain the $file, $line, and $text +# tags, which will be replaced by the file and line number from which the +# warning originated and the warning text. + +WARN_FORMAT = + +# The WARN_LOGFILE tag can be used to specify a file to which warning +# and error messages should be written. If left blank the output is written +# to stderr. + +WARN_LOGFILE = + +#--------------------------------------------------------------------------- +# configuration options related to the input files +#--------------------------------------------------------------------------- + +# The INPUT tag can be used to specify the files and/or directories that contain +# documented source files. You may enter file names like "myfile.cpp" or +# directories like "/usr/src/myproject". Separate the files or directories +# with spaces. + +INPUT = @top_srcdir@/usbpp.cpp @top_srcdir@/usbpp.h + +# If the value of the INPUT tag contains directories, you can use the +# FILE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp +# and *.h) to filter out the source-files in the directories. If left +# blank the following patterns are tested: +# *.c *.cc *.cxx *.cpp *.c++ *.java *.ii *.ixx *.ipp *.i++ *.inl *.h *.hh *.hxx *.hpp +# *.h++ *.idl *.odl *.cs *.php *.php3 *.inc + +FILE_PATTERNS = *.h \ + *.cpp \ + *.cc \ + *.hpp \ + *.dox \ + *.c++ \ + *.cxx \ + *.h++ \ + *.hh + +# The RECURSIVE tag can be used to turn specify whether or not subdirectories +# should be searched for input files as well. Possible values are YES and NO. +# If left blank NO is used. + +RECURSIVE = YES + +# The EXCLUDE tag can be used to specify files and/or directories that should +# excluded from the INPUT source files. This way you can easily exclude a +# subdirectory from a directory tree whose root is specified with the INPUT tag. + +EXCLUDE = + +# The EXCLUDE_SYMLINKS tag can be used select whether or not files or directories +# that are symbolic links (a Unix filesystem feature) are excluded from the input. + +EXCLUDE_SYMLINKS = YES + +# If the value of the INPUT tag contains directories, you can use the +# EXCLUDE_PATTERNS tag to specify one or more wildcard patterns to exclude +# certain files from those directories. + +EXCLUDE_PATTERNS = *.moc.* \ + moc* \ + *.all_cpp.* \ + *unload.* \ + */test/* \ + */tests/* + +# The EXAMPLE_PATH tag can be used to specify one or more files or +# directories that contain example code fragments that are included (see +# the \include command). + +EXAMPLE_PATH = + +# If the value of the EXAMPLE_PATH tag contains directories, you can use the +# EXAMPLE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp +# and *.h) to filter out the source-files in the directories. If left +# blank all files are included. + +EXAMPLE_PATTERNS = + +# If the EXAMPLE_RECURSIVE tag is set to YES then subdirectories will be +# searched for input files to be used with the \include or \dontinclude +# commands irrespective of the value of the RECURSIVE tag. +# Possible values are YES and NO. If left blank NO is used. + +EXAMPLE_RECURSIVE = NO + +# The IMAGE_PATH tag can be used to specify one or more files or +# directories that contain image that are included in the documentation (see +# the \image command). + +IMAGE_PATH = + +# The INPUT_FILTER tag can be used to specify a program that doxygen should +# invoke to filter for each input file. Doxygen will invoke the filter program +# by executing (via popen()) the command , where +# is the value of the INPUT_FILTER tag, and is the name of an +# input file. Doxygen will then use the output that the filter program writes +# to standard output. + +INPUT_FILTER = + +# If the FILTER_SOURCE_FILES tag is set to YES, the input filter (if set using +# INPUT_FILTER) will be used to filter the input files when producing source +# files to browse (i.e. when SOURCE_BROWSER is set to YES). + +FILTER_SOURCE_FILES = NO + +#--------------------------------------------------------------------------- +# configuration options related to source browsing +#--------------------------------------------------------------------------- + +# If the SOURCE_BROWSER tag is set to YES then a list of source files will +# be generated. Documented entities will be cross-referenced with these sources. + +SOURCE_BROWSER = YES + +# Setting the INLINE_SOURCES tag to YES will include the body +# of functions and classes directly in the documentation. + +INLINE_SOURCES = NO + +# Setting the STRIP_CODE_COMMENTS tag to YES (the default) will instruct +# doxygen to hide any special comment blocks from generated source code +# fragments. Normal C and C++ comments will always remain visible. + +STRIP_CODE_COMMENTS = YES + +# If the REFERENCED_BY_RELATION tag is set to YES (the default) +# then for each documented function all documented +# functions referencing it will be listed. + +REFERENCED_BY_RELATION = YES + +# If the REFERENCES_RELATION tag is set to YES (the default) +# then for each documented function all documented entities +# called/used by that function will be listed. + +REFERENCES_RELATION = YES + +# If the VERBATIM_HEADERS tag is set to YES (the default) then Doxygen +# will generate a verbatim copy of the header file for each class for +# which an include is specified. Set to NO to disable this. + +VERBATIM_HEADERS = YES + +#--------------------------------------------------------------------------- +# configuration options related to the alphabetical class index +#--------------------------------------------------------------------------- + +# If the ALPHABETICAL_INDEX tag is set to YES, an alphabetical index +# of all compounds will be generated. Enable this if the project +# contains a lot of classes, structs, unions or interfaces. + +ALPHABETICAL_INDEX = YES + +# If the alphabetical index is enabled (see ALPHABETICAL_INDEX) then +# the COLS_IN_ALPHA_INDEX tag can be used to specify the number of columns +# in which this list will be split (can be a number in the range [1..20]) + +COLS_IN_ALPHA_INDEX = 3 + +# In case all classes in a project start with a common prefix, all +# classes will be put under the same header in the alphabetical index. +# The IGNORE_PREFIX tag can be used to specify one or more prefixes that +# should be ignored while generating the index headers. + +IGNORE_PREFIX = K + +#--------------------------------------------------------------------------- +# configuration options related to the HTML output +#--------------------------------------------------------------------------- + +# If the GENERATE_HTML tag is set to YES (the default) Doxygen will +# generate HTML output. + +GENERATE_HTML = YES + +# The HTML_OUTPUT tag is used to specify where the HTML docs will be put. +# If a relative path is entered the value of OUTPUT_DIRECTORY will be +# put in front of it. If left blank `html' will be used as the default path. + +HTML_OUTPUT = ./html/ + +# The HTML_FILE_EXTENSION tag can be used to specify the file extension for +# each generated HTML page (for example: .htm,.php,.asp). If it is left blank +# doxygen will generate files with .html extension. + +HTML_FILE_EXTENSION = .html + +# The HTML_HEADER tag can be used to specify a personal HTML header for +# each generated HTML page. If it is left blank doxygen will generate a +# standard header. + +HTML_HEADER = @top_srcdir@/apidocs/header.html + +# The HTML_FOOTER tag can be used to specify a personal HTML footer for +# each generated HTML page. If it is left blank doxygen will generate a +# standard footer. + +HTML_FOOTER = @top_srcdir@/apidocs/footer.html + +# The HTML_STYLESHEET tag can be used to specify a user-defined cascading +# style sheet that is used by each HTML page. It can be used to +# fine-tune the look of the HTML output. If the tag is left blank doxygen +# will generate a default style sheet + +HTML_STYLESHEET = @top_srcdir@/apidocs/doxygen.css + +# If the HTML_ALIGN_MEMBERS tag is set to YES, the members of classes, +# files or namespaces will be aligned in HTML using tables. If set to +# NO a bullet list will be used. + +HTML_ALIGN_MEMBERS = YES + +# If the GENERATE_HTMLHELP tag is set to YES, additional index files +# will be generated that can be used as input for tools like the +# Microsoft HTML help workshop to generate a compressed HTML help file (.chm) +# of the generated HTML documentation. + +GENERATE_HTMLHELP = NO + +# If the GENERATE_HTMLHELP tag is set to YES, the CHM_FILE tag can +# be used to specify the file name of the resulting .chm file. You +# can add a path in front of the file if the result should not be +# written to the html output dir. + +CHM_FILE = + +# If the GENERATE_HTMLHELP tag is set to YES, the HHC_LOCATION tag can +# be used to specify the location (absolute path including file name) of +# the HTML help compiler (hhc.exe). If non-empty doxygen will try to run +# the HTML help compiler on the generated index.hhp. + +HHC_LOCATION = + +# If the GENERATE_HTMLHELP tag is set to YES, the GENERATE_CHI flag +# controls if a separate .chi index file is generated (YES) or that +# it should be included in the master .chm file (NO). + +GENERATE_CHI = NO + +# If the GENERATE_HTMLHELP tag is set to YES, the BINARY_TOC flag +# controls whether a binary table of contents is generated (YES) or a +# normal table of contents (NO) in the .chm file. + +BINARY_TOC = NO + +# The TOC_EXPAND flag can be set to YES to add extra items for group members +# to the contents of the HTML help documentation and to the tree view. + +TOC_EXPAND = NO + +# The DISABLE_INDEX tag can be used to turn on/off the condensed index at +# top of each HTML page. The value NO (the default) enables the index and +# the value YES disables it. + +DISABLE_INDEX = NO + +# This tag can be used to set the number of enum values (range [1..20]) +# that doxygen will group on one line in the generated HTML documentation. + +ENUM_VALUES_PER_LINE = 4 + +# If the GENERATE_TREEVIEW tag is set to YES, a side panel will be +# generated containing a tree-like index structure (just like the one that +# is generated for HTML Help). For this to work a browser that supports +# JavaScript, DHTML, CSS and frames is required (for instance Mozilla 1.0+, +# Netscape 6.0+, Internet explorer 5.0+, or Konqueror). Windows users are +# probably better off using the HTML help feature. + +GENERATE_TREEVIEW = NO + +# If the treeview is enabled (see GENERATE_TREEVIEW) then this tag can be +# used to set the initial width (in pixels) of the frame in which the tree +# is shown. + +TREEVIEW_WIDTH = 250 + +#--------------------------------------------------------------------------- +# configuration options related to the LaTeX output +#--------------------------------------------------------------------------- + +# If the GENERATE_LATEX tag is set to YES (the default) Doxygen will +# generate Latex output. + +GENERATE_LATEX = NO + +# The LATEX_OUTPUT tag is used to specify where the LaTeX docs will be put. +# If a relative path is entered the value of OUTPUT_DIRECTORY will be +# put in front of it. If left blank `latex' will be used as the default path. + +LATEX_OUTPUT = + +# The LATEX_CMD_NAME tag can be used to specify the LaTeX command name to be +# invoked. If left blank `latex' will be used as the default command name. + +LATEX_CMD_NAME = latex + +# The MAKEINDEX_CMD_NAME tag can be used to specify the command name to +# generate index for LaTeX. If left blank `makeindex' will be used as the +# default command name. + +MAKEINDEX_CMD_NAME = makeindex + +# If the COMPACT_LATEX tag is set to YES Doxygen generates more compact +# LaTeX documents. This may be useful for small projects and may help to +# save some trees in general. + +COMPACT_LATEX = NO + +# The PAPER_TYPE tag can be used to set the paper type that is used +# by the printer. Possible values are: a4, a4wide, letter, legal and +# executive. If left blank a4wide will be used. + +PAPER_TYPE = a4wide + +# The EXTRA_PACKAGES tag can be to specify one or more names of LaTeX +# packages that should be included in the LaTeX output. + +EXTRA_PACKAGES = + +# The LATEX_HEADER tag can be used to specify a personal LaTeX header for +# the generated latex document. The header should contain everything until +# the first chapter. If it is left blank doxygen will generate a +# standard header. Notice: only use this tag if you know what you are doing! + +LATEX_HEADER = + +# If the PDF_HYPERLINKS tag is set to YES, the LaTeX that is generated +# is prepared for conversion to pdf (using ps2pdf). The pdf file will +# contain links (just like the HTML output) instead of page references +# This makes the output suitable for online browsing using a pdf viewer. + +PDF_HYPERLINKS = NO + +# If the USE_PDFLATEX tag is set to YES, pdflatex will be used instead of +# plain latex in the generated Makefile. Set this option to YES to get a +# higher quality PDF documentation. + +USE_PDFLATEX = NO + +# If the LATEX_BATCHMODE tag is set to YES, doxygen will add the \\batchmode. +# command to the generated LaTeX files. This will instruct LaTeX to keep +# running if errors occur, instead of asking the user for help. +# This option is also used when generating formulas in HTML. + +LATEX_BATCHMODE = NO + +# If LATEX_HIDE_INDICES is set to YES then doxygen will not +# include the index chapters (such as File Index, Compound Index, etc.) +# in the output. + +LATEX_HIDE_INDICES = NO + +#--------------------------------------------------------------------------- +# configuration options related to the RTF output +#--------------------------------------------------------------------------- + +# If the GENERATE_RTF tag is set to YES Doxygen will generate RTF output +# The RTF output is optimised for Word 97 and may not look very pretty with +# other RTF readers or editors. + +GENERATE_RTF = NO + +# The RTF_OUTPUT tag is used to specify where the RTF docs will be put. +# If a relative path is entered the value of OUTPUT_DIRECTORY will be +# put in front of it. If left blank `rtf' will be used as the default path. + +RTF_OUTPUT = + +# If the COMPACT_RTF tag is set to YES Doxygen generates more compact +# RTF documents. This may be useful for small projects and may help to +# save some trees in general. + +COMPACT_RTF = NO + +# If the RTF_HYPERLINKS tag is set to YES, the RTF that is generated +# will contain hyperlink fields. The RTF file will +# contain links (just like the HTML output) instead of page references. +# This makes the output suitable for online browsing using WORD or other +# programs which support those fields. +# Note: wordpad (write) and others do not support links. + +RTF_HYPERLINKS = NO + +# Load stylesheet definitions from file. Syntax is similar to doxygen's +# config file, i.e. a series of assigments. You only have to provide +# replacements, missing definitions are set to their default value. + +RTF_STYLESHEET_FILE = + +# Set optional variables used in the generation of an rtf document. +# Syntax is similar to doxygen's config file. + +RTF_EXTENSIONS_FILE = + +#--------------------------------------------------------------------------- +# configuration options related to the man page output +#--------------------------------------------------------------------------- + +# If the GENERATE_MAN tag is set to YES (the default) Doxygen will +# generate man pages + +GENERATE_MAN = NO + +# The MAN_OUTPUT tag is used to specify where the man pages will be put. +# If a relative path is entered the value of OUTPUT_DIRECTORY will be +# put in front of it. If left blank `man' will be used as the default path. + +MAN_OUTPUT = + +# The MAN_EXTENSION tag determines the extension that is added to +# the generated man pages (default is the subroutine's section .3) + +MAN_EXTENSION = .kde3 + +# If the MAN_LINKS tag is set to YES and Doxygen generates man output, +# then it will generate one additional man file for each entity +# documented in the real man page(s). These additional files +# only source the real man page, but without them the man command +# would be unable to find the correct page. The default is NO. + +MAN_LINKS = YES + +#--------------------------------------------------------------------------- +# configuration options related to the XML output +#--------------------------------------------------------------------------- + +# If the GENERATE_XML tag is set to YES Doxygen will +# generate an XML file that captures the structure of +# the code including all documentation. Note that this +# feature is still experimental and incomplete at the +# moment. + +GENERATE_XML = NO + +# The XML_OUTPUT tag is used to specify where the XML pages will be put. +# If a relative path is entered the value of OUTPUT_DIRECTORY will be +# put in front of it. If left blank `xml' will be used as the default path. + +XML_OUTPUT = xml + +# The XML_SCHEMA tag can be used to specify an XML schema, +# which can be used by a validating XML parser to check the +# syntax of the XML files. + +XML_SCHEMA = + +# The XML_DTD tag can be used to specify an XML DTD, +# which can be used by a validating XML parser to check the +# syntax of the XML files. + +XML_DTD = + +#--------------------------------------------------------------------------- +# configuration options for the AutoGen Definitions output +#--------------------------------------------------------------------------- + +# If the GENERATE_AUTOGEN_DEF tag is set to YES Doxygen will +# generate an AutoGen Definitions (see autogen.sf.net) file +# that captures the structure of the code including all +# documentation. Note that this feature is still experimental +# and incomplete at the moment. + +GENERATE_AUTOGEN_DEF = NO + +#--------------------------------------------------------------------------- +# configuration options related to the Perl module output +#--------------------------------------------------------------------------- + +# If the GENERATE_PERLMOD tag is set to YES Doxygen will +# generate a Perl module file that captures the structure of +# the code including all documentation. Note that this +# feature is still experimental and incomplete at the +# moment. + +GENERATE_PERLMOD = NO + +# If the PERLMOD_LATEX tag is set to YES Doxygen will generate +# the necessary Makefile rules, Perl scripts and LaTeX code to be able +# to generate PDF and DVI output from the Perl module output. + +PERLMOD_LATEX = NO + +# If the PERLMOD_PRETTY tag is set to YES the Perl module output will be +# nicely formatted so it can be parsed by a human reader. This is useful +# if you want to understand what is going on. On the other hand, if this +# tag is set to NO the size of the Perl module output will be much smaller +# and Perl will parse it just the same. + +PERLMOD_PRETTY = YES + +# The names of the make variables in the generated doxyrules.make file +# are prefixed with the string contained in PERLMOD_MAKEVAR_PREFIX. +# This is useful so different doxyrules.make files included by the same +# Makefile don't overwrite each other's variables. + +PERLMOD_MAKEVAR_PREFIX = + +#--------------------------------------------------------------------------- +# Configuration options related to the preprocessor +#--------------------------------------------------------------------------- + +# If the ENABLE_PREPROCESSING tag is set to YES (the default) Doxygen will +# evaluate all C-preprocessor directives found in the sources and include +# files. + +ENABLE_PREPROCESSING = YES + +# If the MACRO_EXPANSION tag is set to YES Doxygen will expand all macro +# names in the source code. If set to NO (the default) only conditional +# compilation will be performed. Macro expansion can be done in a controlled +# way by setting EXPAND_ONLY_PREDEF to YES. + +MACRO_EXPANSION = NO + +# If the EXPAND_ONLY_PREDEF and MACRO_EXPANSION tags are both set to YES +# then the macro expansion is limited to the macros specified with the +# PREDEFINED and EXPAND_AS_PREDEFINED tags. + +EXPAND_ONLY_PREDEF = NO + +# If the SEARCH_INCLUDES tag is set to YES (the default) the includes files +# in the INCLUDE_PATH (see below) will be search if a #include is found. + +SEARCH_INCLUDES = YES + +# The INCLUDE_PATH tag can be used to specify one or more directories that +# contain include files that are not input files but should be processed by +# the preprocessor. + +INCLUDE_PATH = + +# You can use the INCLUDE_FILE_PATTERNS tag to specify one or more wildcard +# patterns (like *.h and *.hpp) to filter out the header-files in the +# directories. If left blank, the patterns specified with FILE_PATTERNS will +# be used. + +INCLUDE_FILE_PATTERNS = + +# The PREDEFINED tag can be used to specify one or more macro names that +# are defined before the preprocessor is started (similar to the -D option of +# gcc). The argument of the tag is a list of macros of the form: name +# or name=definition (no spaces). If the definition and the = are +# omitted =1 is assumed. + +PREDEFINED = __cplusplus + +# If the MACRO_EXPANSION and EXPAND_ONLY_PREDEF tags are set to YES then +# this tag can be used to specify a list of macro names that should be expanded. +# The macro definition that is found in the sources will be used. +# Use the PREDEFINED tag if you want to use a different macro definition. + +EXPAND_AS_DEFINED = + +# If the SKIP_FUNCTION_MACROS tag is set to YES (the default) then +# doxygen's preprocessor will remove all function-like macros that are alone +# on a line, have an all uppercase name, and do not end with a semicolon. Such +# function macros are typically used for boiler-plate code, and will confuse the +# parser if not removed. + +SKIP_FUNCTION_MACROS = YES + +#--------------------------------------------------------------------------- +# Configuration::addtions related to external references +#--------------------------------------------------------------------------- + +# The TAGFILES option can be used to specify one or more tagfiles. +# Optionally an initial location of the external documentation +# can be added for each tagfile. The format of a tag file without +# this location is as follows: +# TAGFILES = file1 file2 ... +# Adding location for the tag files is done as follows: +# TAGFILES = file1=loc1 "file2 = loc2" ... +# where "loc1" and "loc2" can be relative or absolute paths or +# URLs. If a location is present for each tag, the installdox tool +# does not have to be run to correct the links. +# Note that each tag file must have a unique name +# (where the name does NOT include the path) +# If a tag file is not located in the directory in which doxygen +# is run, you must also specify the path to the tagfile here. + +TAGFILES = + +# When a file name is specified after GENERATE_TAGFILE, doxygen will create +# a tag file that is based on the input files it reads. + +GENERATE_TAGFILE = + +# If the ALLEXTERNALS tag is set to YES all external classes will be listed +# in the class index. If set to NO only the inherited external classes +# will be listed. + +ALLEXTERNALS = NO + +# If the EXTERNAL_GROUPS tag is set to YES all external groups will be listed +# in the modules index. If set to NO, only the current project's groups will +# be listed. + +EXTERNAL_GROUPS = NO + +# The PERL_PATH should be the absolute path and name of the perl script +# interpreter (i.e. the result of `which perl'). + +PERL_PATH = + +#--------------------------------------------------------------------------- +# Configuration options related to the dot tool +#--------------------------------------------------------------------------- + +# If the CLASS_DIAGRAMS tag is set to YES (the default) Doxygen will +# generate a inheritance diagram (in HTML, RTF and LaTeX) for classes with base or +# super classes. Setting the tag to NO turns the diagrams off. Note that this +# option is superceded by the HAVE_DOT option below. This is only a fallback. It is +# recommended to install and use dot, since it yields more powerful graphs. + +CLASS_DIAGRAMS = YES + +# If set to YES, the inheritance and collaboration graphs will hide +# inheritance and usage relations if the target is undocumented +# or is not a class. + +HIDE_UNDOC_RELATIONS = NO + +# If you set the HAVE_DOT tag to YES then doxygen will assume the dot tool is +# available from the path. This tool is part of Graphviz, a graph visualization +# toolkit from AT&T and Lucent Bell Labs. The other options in this section +# have no effect if this option is set to NO (the default) + +HAVE_DOT = YES + +# If the CLASS_GRAPH and HAVE_DOT tags are set to YES then doxygen +# will generate a graph for each documented class showing the direct and +# indirect inheritance relations. Setting this tag to YES will force the +# the CLASS_DIAGRAMS tag to NO. + +CLASS_GRAPH = YES + +# If the COLLABORATION_GRAPH and HAVE_DOT tags are set to YES then doxygen +# will generate a graph for each documented class showing the direct and +# indirect implementation dependencies (inheritance, containment, and +# class references variables) of the class with other documented classes. + +COLLABORATION_GRAPH = YES + +# If the UML_LOOK tag is set to YES doxygen will generate inheritance and +# collaboration diagrams in a style similiar to the OMG's Unified Modeling +# Language. + +UML_LOOK = NO + +# If set to YES, the inheritance and collaboration graphs will show the +# relations between templates and their instances. + +TEMPLATE_RELATIONS = YES + +# If the ENABLE_PREPROCESSING, SEARCH_INCLUDES, INCLUDE_GRAPH, and HAVE_DOT +# tags are set to YES then doxygen will generate a graph for each documented +# file showing the direct and indirect include dependencies of the file with +# other documented files. + +INCLUDE_GRAPH = YES + +# If the ENABLE_PREPROCESSING, SEARCH_INCLUDES, INCLUDED_BY_GRAPH, and +# HAVE_DOT tags are set to YES then doxygen will generate a graph for each +# documented header file showing the documented files that directly or +# indirectly include this file. + +INCLUDED_BY_GRAPH = YES + +# If the CALL_GRAPH and HAVE_DOT tags are set to YES then doxygen will +# generate a call dependency graph for every global function or class method. +# Note that enabling this option will significantly increase the time of a run. +# So in most cases it will be better to enable call graphs for selected +# functions only using the \callgraph command. + +CALL_GRAPH = NO + +# If the GRAPHICAL_HIERARCHY and HAVE_DOT tags are set to YES then doxygen +# will graphical hierarchy of all classes instead of a textual one. + +GRAPHICAL_HIERARCHY = YES + +# The DOT_IMAGE_FORMAT tag can be used to set the image format of the images +# generated by dot. Possible values are png, jpg, or gif +# If left blank png will be used. + +DOT_IMAGE_FORMAT = png + +# The tag DOT_PATH can be used to specify the path where the dot tool can be +# found. If left blank, it is assumed the dot tool can be found on the path. + +DOT_PATH = + +# The DOTFILE_DIRS tag can be used to specify one or more directories that +# contain dot files that are included in the documentation (see the +# \dotfile command). + +DOTFILE_DIRS = + +# The MAX_DOT_GRAPH_WIDTH tag can be used to set the maximum allowed width +# (in pixels) of the graphs generated by dot. If a graph becomes larger than +# this value, doxygen will try to truncate the graph, so that it fits within +# the specified constraint. Beware that most browsers cannot cope with very +# large images. + +MAX_DOT_GRAPH_WIDTH = 800 + +# The MAX_DOT_GRAPH_HEIGHT tag can be used to set the maximum allows height +# (in pixels) of the graphs generated by dot. If a graph becomes larger than +# this value, doxygen will try to truncate the graph, so that it fits within +# the specified constraint. Beware that most browsers cannot cope with very +# large images. + +MAX_DOT_GRAPH_HEIGHT = 1024 + +# The MAX_DOT_GRAPH_DEPTH tag can be used to set the maximum depth of the +# graphs generated by dot. A depth value of 3 means that only nodes reachable +# from the root by following a path via at most 3 edges will be shown. Nodes that +# lay further from the root node will be omitted. Note that setting this option to +# 1 or 2 may greatly reduce the computation time needed for large code bases. Also +# note that a graph may be further truncated if the graph's image dimensions are +# not sufficient to fit the graph (see MAX_DOT_GRAPH_WIDTH and MAX_DOT_GRAPH_HEIGHT). +# If 0 is used for the depth value (the default), the graph is not depth-constrained. + +MAX_DOT_GRAPH_DEPTH = 0 + +# If the GENERATE_LEGEND tag is set to YES (the default) Doxygen will +# generate a legend page explaining the meaning of the various boxes and +# arrows in the dot generated graphs. + +GENERATE_LEGEND = YES + +# If the DOT_CLEANUP tag is set to YES (the default) Doxygen will +# remove the intermediate dot files that are used to generate +# the various graphs. + +DOT_CLEANUP = YES + +#--------------------------------------------------------------------------- +# Configuration::addtions related to the search engine +#--------------------------------------------------------------------------- + +# The SEARCHENGINE tag specifies whether or not a search engine should be +# used. If set to NO the values of all tags below this one will be ignored. + +SEARCHENGINE = NO diff --git a/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/INSTALL.libusb b/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/INSTALL.libusb new file mode 100644 index 000000000..3391ec63b --- /dev/null +++ b/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/INSTALL.libusb @@ -0,0 +1,59 @@ +Simple install procedure +======================== + + % gzip -cd libusb-0.1.12.tar.gz | tar xvf - # unpack the sources + % cd libusb-0.1.12 # change to the toplevel directory + % ./configure # run the `configure' script + % make # build libusb + [ Become root if necessary ] + % make install # install libusb + +The Nitty-Gritty +================ + +The 'configure' script can be given a number of options to enable +and disable various features. For a complete list, type: + + ./configure --help + +A few of the more important ones: + +* --prefix=PREFIX install architecture-independent files in PREFIX + [ Defaults to /usr/local ] + +* --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX + [ Defaults to the value given to --prefix ] + +Options can be given to the compiler and linker by setting +environment variables before running configure. A few of the more +important ones: + + CC : The C compiler to use + CPPFLAGS : Flags for the C preprocesser such as -I and -D + CFLAGS : C compiler flags + +The most important use of this is to set the +optimization/debugging flags. For instance, to compile with no +debugging information at all, run configure as: + + CFLAGS=-O2 ./configure # Bourne compatible shells (sh/bash/zsh) + +or, + + setenv CFLAGS -O2 ; ./configure # csh and variants + + +Installation directories +======================== + +The location of the installed files is determined by the --prefix +and --exec-prefix options given to configure. There are also more +detailed flags to control individual directories. However, the +use of these flags is not tested. + +A shell script libusb-config is created during the configure +process, and installed in the bin/ directory +($exec_prefix/bin). This is used to determine the location of libusb +when building applications. If you move libusb after installation, +it will be necessary to edit this file. + diff --git a/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/INSTALL.libusb.in b/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/INSTALL.libusb.in new file mode 100644 index 000000000..009913ee7 --- /dev/null +++ b/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/INSTALL.libusb.in @@ -0,0 +1,59 @@ +Simple install procedure +======================== + + % gzip -cd libusb-@LIBUSB_VERSION@.tar.gz | tar xvf - # unpack the sources + % cd libusb-@LIBUSB_VERSION@ # change to the toplevel directory + % ./configure # run the `configure' script + % make # build libusb + [ Become root if necessary ] + % make install # install libusb + +The Nitty-Gritty +================ + +The 'configure' script can be given a number of options to enable +and disable various features. For a complete list, type: + + ./configure --help + +A few of the more important ones: + +* --prefix=PREFIX install architecture-independent files in PREFIX + [ Defaults to /usr/local ] + +* --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX + [ Defaults to the value given to --prefix ] + +Options can be given to the compiler and linker by setting +environment variables before running configure. A few of the more +important ones: + + CC : The C compiler to use + CPPFLAGS : Flags for the C preprocesser such as -I and -D + CFLAGS : C compiler flags + +The most important use of this is to set the +optimization/debugging flags. For instance, to compile with no +debugging information at all, run configure as: + + CFLAGS=-O2 ./configure # Bourne compatible shells (sh/bash/zsh) + +or, + + setenv CFLAGS -O2 ; ./configure # csh and variants + + +Installation directories +======================== + +The location of the installed files is determined by the --prefix +and --exec-prefix options given to configure. There are also more +detailed flags to control individual directories. However, the +use of these flags is not tested. + +A shell script libusb-config is created during the configure +process, and installed in the bin/ directory +($exec_prefix/bin). This is used to determine the location of libusb +when building applications. If you move libusb after installation, +it will be necessary to edit this file. + diff --git a/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/LICENSE b/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/LICENSE new file mode 100644 index 000000000..f98680a00 --- /dev/null +++ b/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/LICENSE @@ -0,0 +1,47 @@ +libusb is covered by the LGPL: + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU Lesser General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library 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 +Lesser General Public License for more details. + +You should have received a copy of the GNU Lesser General Public +License along with this library; if not, write to the +Free Software Foundation, Inc., 59 Temple Place - Suite 330, +Boston, MA 02111-1307, USA. + +---- + +Alternatively, the files usb.h.in and/or usb.h may be licensed under the +BSD license: + +Copyright (c) 2000-2003 Johannes Erdfelt +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: +1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. +2. 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. +3. The name of the author may not be used to endorse or promote products + derived from this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR +IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES +OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. +IN NO EVENT SHALL THE AUTHOR 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. + diff --git a/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/Makefile.in b/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/Makefile.in new file mode 100644 index 000000000..af232c7f8 --- /dev/null +++ b/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/Makefile.in @@ -0,0 +1,938 @@ +# Makefile.in generated by automake 1.8.3 from Makefile.am. +# @configure_input@ + +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +# 2003, 2004 Free Software Foundation, Inc. +# This Makefile.in is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + +@SET_MAKE@ + + + + +SOURCES = $(libusb_la_SOURCES) $(libusbpp_la_SOURCES) + +srcdir = @srcdir@ +top_srcdir = @top_srcdir@ +VPATH = @srcdir@ +pkgdatadir = $(datadir)/@PACKAGE@ +pkglibdir = $(libdir)/@PACKAGE@ +pkgincludedir = $(includedir)/@PACKAGE@ +top_builddir = . +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd +INSTALL = @INSTALL@ +install_sh_DATA = $(install_sh) -c -m 644 +install_sh_PROGRAM = $(install_sh) -c +install_sh_SCRIPT = $(install_sh) -c +INSTALL_HEADER = $(INSTALL_DATA) +transform = $(program_transform_name) +NORMAL_INSTALL = : +PRE_INSTALL = : +POST_INSTALL = : +NORMAL_UNINSTALL = : +PRE_UNINSTALL = : +POST_UNINSTALL = : +host_triplet = @host@ +DIST_COMMON = README $(am__configure_deps) $(include_HEADERS) \ + $(srcdir)/Doxyfile.in $(srcdir)/INSTALL.libusb.in \ + $(srcdir)/Makefile.am $(srcdir)/Makefile.in \ + $(srcdir)/README.in $(srcdir)/config.h.in \ + $(srcdir)/libusb-config.in $(srcdir)/libusb.pc.in \ + $(srcdir)/libusb.spec.in $(srcdir)/usb.h.in \ + $(top_srcdir)/configure AUTHORS COPYING ChangeLog NEWS compile \ + config.guess config.sub depcomp install-sh ltmain.sh missing +subdir = . +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \ + $(top_srcdir)/configure.in +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ + $(ACLOCAL_M4) +am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ + configure.lineno configure.status.lineno +mkinstalldirs = $(mkdir_p) +CONFIG_HEADER = config.h +CONFIG_CLEAN_FILES = libusb.spec libusb-config libusb.pc README \ + INSTALL.libusb usb.h Doxyfile +am__installdirs = "$(DESTDIR)$(libdir)" "$(DESTDIR)$(bindir)" "$(DESTDIR)$(pkgconfigdir)" "$(DESTDIR)$(includedir)" "$(DESTDIR)$(includedir)" +libLTLIBRARIES_INSTALL = $(INSTALL) +LTLIBRARIES = $(lib_LTLIBRARIES) +libusb_la_LIBADD = +am__libusb_la_SOURCES_DIST = usb.c usbi.h error.c error.h \ + descriptors.c darwin.c bsd.c linux.c linux.h +@BSD_API_FALSE@@DARWIN_API_TRUE@@LINUX_API_FALSE@am__objects_1 = \ +@BSD_API_FALSE@@DARWIN_API_TRUE@@LINUX_API_FALSE@ darwin.lo +@BSD_API_TRUE@@LINUX_API_FALSE@am__objects_1 = bsd.lo +@LINUX_API_TRUE@am__objects_1 = linux.lo +am_libusb_la_OBJECTS = usb.lo error.lo descriptors.lo $(am__objects_1) +libusb_la_OBJECTS = $(am_libusb_la_OBJECTS) +libusbpp_la_LIBADD = +am_libusbpp_la_OBJECTS = usbpp.lo +libusbpp_la_OBJECTS = $(am_libusbpp_la_OBJECTS) +binSCRIPT_INSTALL = $(INSTALL_SCRIPT) +SCRIPTS = $(bin_SCRIPTS) +DEFAULT_INCLUDES = +depcomp = $(SHELL) $(top_srcdir)/depcomp +am__depfiles_maybe = depfiles +@AMDEP_TRUE@DEP_FILES = ./$(DEPDIR)/bsd.Plo ./$(DEPDIR)/darwin.Plo \ +@AMDEP_TRUE@ ./$(DEPDIR)/descriptors.Plo ./$(DEPDIR)/error.Plo \ +@AMDEP_TRUE@ ./$(DEPDIR)/linux.Plo ./$(DEPDIR)/usb.Plo \ +@AMDEP_TRUE@ ./$(DEPDIR)/usbpp.Plo +COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ + $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) +LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) \ + $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ + $(AM_CFLAGS) $(CFLAGS) +CCLD = $(CC) +LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ + $(AM_LDFLAGS) $(LDFLAGS) -o $@ +CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ + $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) +LTCXXCOMPILE = $(LIBTOOL) --mode=compile $(CXX) $(DEFS) \ + $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ + $(AM_CXXFLAGS) $(CXXFLAGS) +CXXLD = $(CXX) +CXXLINK = $(LIBTOOL) --mode=link $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) \ + $(AM_LDFLAGS) $(LDFLAGS) -o $@ +SOURCES = $(libusb_la_SOURCES) $(libusbpp_la_SOURCES) +DIST_SOURCES = $(am__libusb_la_SOURCES_DIST) $(libusbpp_la_SOURCES) +RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ + html-recursive info-recursive install-data-recursive \ + install-exec-recursive install-info-recursive \ + install-recursive installcheck-recursive installdirs-recursive \ + pdf-recursive ps-recursive uninstall-info-recursive \ + uninstall-recursive +pkgconfigDATA_INSTALL = $(INSTALL_DATA) +DATA = $(pkgconfig_DATA) +includeHEADERS_INSTALL = $(INSTALL_HEADER) +nodist_includeHEADERS_INSTALL = $(INSTALL_HEADER) +HEADERS = $(include_HEADERS) $(nodist_include_HEADERS) +ETAGS = etags +CTAGS = ctags +DIST_SUBDIRS = $(SUBDIRS) +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +distdir = $(PACKAGE)-$(VERSION) +top_distdir = $(distdir) +am__remove_distdir = \ + { test ! -d $(distdir) \ + || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \ + && rm -fr $(distdir); }; } +DIST_ARCHIVES = $(distdir).tar.gz +GZIP_ENV = --best +distuninstallcheck_listfiles = find . -type f -print +distcleancheck_listfiles = find . -type f -print +ACLOCAL = @ACLOCAL@ +AMDEP_FALSE = @AMDEP_FALSE@ +AMDEP_TRUE = @AMDEP_TRUE@ +AMTAR = @AMTAR@ +AR = @AR@ +AUTOCONF = @AUTOCONF@ +AUTOHEADER = @AUTOHEADER@ +AUTOMAKE = @AUTOMAKE@ +AWK = @AWK@ +BIGENDIAN = @BIGENDIAN@ +BSD_API = @BSD_API@ +BSD_API_FALSE = @BSD_API_FALSE@ +BSD_API_TRUE = @BSD_API_TRUE@ +BUILD_DOCS_FALSE = @BUILD_DOCS_FALSE@ +BUILD_DOCS_TRUE = @BUILD_DOCS_TRUE@ +CC = @CC@ +CCDEPMODE = @CCDEPMODE@ +CFLAGS = @CFLAGS@ +CPP = @CPP@ +CPPFLAGS = @CPPFLAGS@ +CXX = @CXX@ +CXXCPP = @CXXCPP@ +CXXDEPMODE = @CXXDEPMODE@ +CXXFLAGS = @CXXFLAGS@ +CYGPATH_W = @CYGPATH_W@ +DARWIN_API = @DARWIN_API@ +DARWIN_API_FALSE = @DARWIN_API_FALSE@ +DARWIN_API_TRUE = @DARWIN_API_TRUE@ +DEFS = @DEFS@ +DEPDIR = @DEPDIR@ +DOXYGEN = @DOXYGEN@ +DOXYGEN_PROJECT_NAME = @DOXYGEN_PROJECT_NAME@ +DOXYGEN_PROJECT_NUMBER = @DOXYGEN_PROJECT_NUMBER@ +ECHO = @ECHO@ +ECHO_C = @ECHO_C@ +ECHO_N = @ECHO_N@ +ECHO_T = @ECHO_T@ +EGREP = @EGREP@ +EXEEXT = @EXEEXT@ +F77 = @F77@ +FFLAGS = @FFLAGS@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ +JADE = @JADE@ +LDFLAGS = @LDFLAGS@ +LIBOBJS = @LIBOBJS@ +LIBS = @LIBS@ +LIBTOOL = @LIBTOOL@ --tag CC +LIBUSB_BINARY_AGE = @LIBUSB_BINARY_AGE@ +LIBUSB_HAS_DOXYGEN = @LIBUSB_HAS_DOXYGEN@ +LIBUSB_HAVE_DOT = @LIBUSB_HAVE_DOT@ +LIBUSB_INTERFACE_AGE = @LIBUSB_INTERFACE_AGE@ +LIBUSB_MAJOR_VERSION = @LIBUSB_MAJOR_VERSION@ +LIBUSB_MICRO_VERSION = @LIBUSB_MICRO_VERSION@ +LIBUSB_MINOR_VERSION = @LIBUSB_MINOR_VERSION@ +LIBUSB_VERSION = @LIBUSB_VERSION@ +LINUX_API = @LINUX_API@ +LINUX_API_FALSE = @LINUX_API_FALSE@ +LINUX_API_TRUE = @LINUX_API_TRUE@ +LN_S = @LN_S@ +LTLIBOBJS = @LTLIBOBJS@ +LT_AGE = @LT_AGE@ +LT_CURRENT = @LT_CURRENT@ +LT_RELEASE = @LT_RELEASE@ +LT_REVISION = @LT_REVISION@ +MAKEINFO = @MAKEINFO@ +OBJEXT = @OBJEXT@ +OSLIBS = @OSLIBS@ +PACKAGE = @PACKAGE@ +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ +PACKAGE_NAME = @PACKAGE_NAME@ +PACKAGE_STRING = @PACKAGE_STRING@ +PACKAGE_TARNAME = @PACKAGE_TARNAME@ +PACKAGE_VERSION = @PACKAGE_VERSION@ +PATH_SEPARATOR = @PATH_SEPARATOR@ +PKG_CONFIG = @PKG_CONFIG@ +RANLIB = @RANLIB@ +SET_MAKE = @SET_MAKE@ +SHELL = @SHELL@ +STRIP = @STRIP@ +VERSION = @VERSION@ +ac_ct_AR = @ac_ct_AR@ +ac_ct_CC = @ac_ct_CC@ +ac_ct_CXX = @ac_ct_CXX@ +ac_ct_F77 = @ac_ct_F77@ +ac_ct_RANLIB = @ac_ct_RANLIB@ +ac_ct_STRIP = @ac_ct_STRIP@ +am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ +am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ +am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@ +am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@ +am__include = @am__include@ +am__leading_dot = @am__leading_dot@ +am__quote = @am__quote@ +bindir = @bindir@ +build = @build@ +build_alias = @build_alias@ +build_cpu = @build_cpu@ +build_os = @build_os@ +build_vendor = @build_vendor@ +datadir = @datadir@ +exec_prefix = @exec_prefix@ +host = @host@ +host_alias = @host_alias@ +host_cpu = @host_cpu@ +host_os = @host_os@ +host_vendor = @host_vendor@ +includedir = @includedir@ +infodir = @infodir@ +install_sh = @install_sh@ +libdir = @libdir@ +libexecdir = @libexecdir@ +localstatedir = @localstatedir@ +mandir = @mandir@ +mkdir_p = @mkdir_p@ +oldincludedir = @oldincludedir@ +pkgconfigdir = @pkgconfigdir@ +prefix = @prefix@ +program_transform_name = @program_transform_name@ +sbindir = @sbindir@ +sharedstatedir = @sharedstatedir@ +sysconfdir = @sysconfdir@ +target_alias = @target_alias@ + +# require automake 1.4 +# gnu strictness chokes on README being autogenerated +AUTOMAKE_OPTIONS = 1.4 foreign +SUBDIRS = . tests doc +AM_CFLAGS = -Werror $(AM_CFLAGS_EXT) +configincludedir = $(pkglibdir)/include +bin_SCRIPTS = libusb-config +EXTRA_DIST = LICENSE libusb.spec.in libusb.spec libusb-config.in README.in README \ + INSTALL.libusb.in INSTALL.libusb Doxyfile apidocs/header.html \ + apidocs/footer.html apidocs/doxygen.css apidocs/doxygen.png libusb.pc.in + +EXTRA_libusb_la_SOURCE = linux.c linux.h bsd.c darwin.c +lib_LTLIBRARIES = libusb.la libusbpp.la +pkgconfig_DATA = libusb.pc +@BSD_API_FALSE@@DARWIN_API_FALSE@@LINUX_API_FALSE@OS_SUPPORT = +@BSD_API_FALSE@@DARWIN_API_TRUE@@LINUX_API_FALSE@OS_SUPPORT = darwin.c +@BSD_API_TRUE@@LINUX_API_FALSE@OS_SUPPORT = bsd.c +@LINUX_API_TRUE@OS_SUPPORT = linux.c linux.h +@BSD_API_FALSE@@DARWIN_API_TRUE@@LINUX_API_FALSE@AM_CFLAGS_EXT = -no-cpp-precomp +@BSD_API_FALSE@@DARWIN_API_TRUE@@LINUX_API_FALSE@LDADDS = -Wl,-framework -Wl,IOKit -Wl,-framework -Wl,CoreFoundation -Wl,-prebind -no-undefined +@BSD_API_FALSE@@DARWIN_API_TRUE@@LINUX_API_FALSE@PREBIND_FLAGS = -Wl,-seg1addr,0x01666000 +@BSD_API_FALSE@@DARWIN_API_TRUE@@LINUX_API_FALSE@PREBIND_FLAGSPP = -Wl,-seg1addr,0x01676000 +AM_CPPFLAGS = -I. +AM_CXXFLAGS = +libusb_la_SOURCES = usb.c usbi.h error.c error.h descriptors.c $(OS_SUPPORT) +libusbpp_la_SOURCES = usbpp.cpp usbpp.h +libusbpp_la_DEPENDENCIES = libusb.la + +# Do not add usb.h to *_SOURCES, regardless of dependencies. +# It would be added to the dist tarball, which it shouldn't be. +nodist_include_HEADERS = usb.h +include_HEADERS = usbpp.h +libusb_la_LDFLAGS = \ + -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) \ + -release $(LT_RELEASE) \ + -export-dynamic \ + $(LDADDS) $(PREBIND_FLAGS) + +libusbpp_la_LDFLAGS = \ + -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) \ + -release $(LT_RELEASE) \ + -export-dynamic \ + $(LDADDS) -lusb $(PREBIND_FLAGSPP) + +all: config.h + $(MAKE) $(AM_MAKEFLAGS) all-recursive + +.SUFFIXES: +.SUFFIXES: .c .cpp .lo .o .obj +am--refresh: + @: +$(srcdir)/Makefile.in: $(am__configure_deps) # $(srcdir)/Makefile.am + @for dep in $?; do \ + case '$(am__configure_deps)' in \ + *$$dep*) \ + echo ' cd $(srcdir) && $(AUTOMAKE) --foreign '; \ + cd $(srcdir) && $(AUTOMAKE) --foreign \ + && exit 0; \ + exit 1;; \ + esac; \ + done; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \ + cd $(top_srcdir) && \ + $(AUTOMAKE) --foreign Makefile +.PRECIOUS: Makefile +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ + *config.status*) \ + echo ' $(SHELL) ./config.status'; \ + $(SHELL) ./config.status;; \ + *) \ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \ + esac; + +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) + $(SHELL) ./config.status --recheck + +$(top_srcdir)/configure: $(am__configure_deps) + cd $(srcdir) && $(AUTOCONF) +$(ACLOCAL_M4): $(am__aclocal_m4_deps) + cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) + +config.h: stamp-h1 + @if test ! -f $@; then \ + rm -f stamp-h1; \ + $(MAKE) stamp-h1; \ + else :; fi + +stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status + @rm -f stamp-h1 + cd $(top_builddir) && $(SHELL) ./config.status config.h +$(srcdir)/config.h.in: $(am__configure_deps) + cd $(top_srcdir) && $(AUTOHEADER) + rm -f stamp-h1 + touch $@ + +distclean-hdr: + -rm -f config.h stamp-h1 +libusb.spec: $(top_builddir)/config.status $(srcdir)/libusb.spec.in + cd $(top_builddir) && $(SHELL) ./config.status $@ +libusb-config: $(top_builddir)/config.status $(srcdir)/libusb-config.in + cd $(top_builddir) && $(SHELL) ./config.status $@ +libusb.pc: $(top_builddir)/config.status $(srcdir)/libusb.pc.in + cd $(top_builddir) && $(SHELL) ./config.status $@ +README: $(top_builddir)/config.status $(srcdir)/README.in + cd $(top_builddir) && $(SHELL) ./config.status $@ +INSTALL.libusb: $(top_builddir)/config.status $(srcdir)/INSTALL.libusb.in + cd $(top_builddir) && $(SHELL) ./config.status $@ +usb.h: $(top_builddir)/config.status $(srcdir)/usb.h.in + cd $(top_builddir) && $(SHELL) ./config.status $@ +Doxyfile: $(top_builddir)/config.status $(srcdir)/Doxyfile.in + cd $(top_builddir) && $(SHELL) ./config.status $@ +install-libLTLIBRARIES: $(lib_LTLIBRARIES) + @$(NORMAL_INSTALL) + test -z "$(libdir)" || $(mkdir_p) "$(DESTDIR)$(libdir)" + @list='$(lib_LTLIBRARIES)'; for p in $$list; do \ + if test -f $$p; then \ + f="`echo $$p | sed -e 's|^.*/||'`"; \ + echo " $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(libdir)/$$f'"; \ + $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(libdir)/$$f"; \ + else :; fi; \ + done + +uninstall-libLTLIBRARIES: + @$(NORMAL_UNINSTALL) + @list='$(lib_LTLIBRARIES)'; for p in $$list; do \ + p="`echo $$p | sed -e 's|^.*/||'`"; \ + echo " $(LIBTOOL) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$p'"; \ + $(LIBTOOL) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$p"; \ + done + +clean-libLTLIBRARIES: + -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES) + @list='$(lib_LTLIBRARIES)'; for p in $$list; do \ + dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \ + test "$$dir" = "$$p" && dir=.; \ + echo "rm -f \"$${dir}/so_locations\""; \ + rm -f "$${dir}/so_locations"; \ + done +libusb.la: $(libusb_la_OBJECTS) $(libusb_la_DEPENDENCIES) + $(LINK) -rpath $(libdir) $(libusb_la_LDFLAGS) $(libusb_la_OBJECTS) $(libusb_la_LIBADD) $(LIBS) +libusbpp.la: $(libusbpp_la_OBJECTS) $(libusbpp_la_DEPENDENCIES) + $(CXXLINK) -rpath $(libdir) $(libusbpp_la_LDFLAGS) $(libusbpp_la_OBJECTS) $(libusbpp_la_LIBADD) $(LIBS) +install-binSCRIPTS: $(bin_SCRIPTS) + @$(NORMAL_INSTALL) + test -z "$(bindir)" || $(mkdir_p) "$(DESTDIR)$(bindir)" + @list='$(bin_SCRIPTS)'; for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + if test -f $$d$$p; then \ + f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \ + echo " $(binSCRIPT_INSTALL) '$$d$$p' '$(DESTDIR)$(bindir)/$$f'"; \ + $(binSCRIPT_INSTALL) "$$d$$p" "$(DESTDIR)$(bindir)/$$f"; \ + else :; fi; \ + done + +uninstall-binSCRIPTS: + @$(NORMAL_UNINSTALL) + @list='$(bin_SCRIPTS)'; for p in $$list; do \ + f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \ + echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \ + rm -f "$(DESTDIR)$(bindir)/$$f"; \ + done + +mostlyclean-compile: + -rm -f *.$(OBJEXT) + +distclean-compile: + -rm -f *.tab.c + +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/bsd.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/darwin.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/descriptors.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/error.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/linux.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/usb.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/usbpp.Plo@am__quote@ + +.c.o: +@am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \ +@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(COMPILE) -c -o $@ $< + +.c.obj: +@am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \ +@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'` + +.c.lo: +@am__fastdepCC_TRUE@ if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \ +@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/$*.Plo' tmpdepfile='$(DEPDIR)/$*.TPlo' @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $< + +.cpp.o: +@am__fastdepCXX_TRUE@ if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \ +@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ $< + +.cpp.obj: +@am__fastdepCXX_TRUE@ if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \ +@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'` + +.cpp.lo: +@am__fastdepCXX_TRUE@ if $(LTCXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \ +@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/$*.Plo' tmpdepfile='$(DEPDIR)/$*.TPlo' @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCXX_FALSE@ $(LTCXXCOMPILE) -c -o $@ $< + +mostlyclean-libtool: + -rm -f *.lo + +clean-libtool: + -rm -rf .libs _libs + +distclean-libtool: + -rm -f libtool +uninstall-info-am: +install-pkgconfigDATA: $(pkgconfig_DATA) + @$(NORMAL_INSTALL) + test -z "$(pkgconfigdir)" || $(mkdir_p) "$(DESTDIR)$(pkgconfigdir)" + @list='$(pkgconfig_DATA)'; for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + f="`echo $$p | sed -e 's|^.*/||'`"; \ + echo " $(pkgconfigDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(pkgconfigdir)/$$f'"; \ + $(pkgconfigDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(pkgconfigdir)/$$f"; \ + done + +uninstall-pkgconfigDATA: + @$(NORMAL_UNINSTALL) + @list='$(pkgconfig_DATA)'; for p in $$list; do \ + f="`echo $$p | sed -e 's|^.*/||'`"; \ + echo " rm -f '$(DESTDIR)$(pkgconfigdir)/$$f'"; \ + rm -f "$(DESTDIR)$(pkgconfigdir)/$$f"; \ + done +install-includeHEADERS: $(include_HEADERS) + @$(NORMAL_INSTALL) + test -z "$(includedir)" || $(mkdir_p) "$(DESTDIR)$(includedir)" + @list='$(include_HEADERS)'; for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + f="`echo $$p | sed -e 's|^.*/||'`"; \ + echo " $(includeHEADERS_INSTALL) '$$d$$p' '$(DESTDIR)$(includedir)/$$f'"; \ + $(includeHEADERS_INSTALL) "$$d$$p" "$(DESTDIR)$(includedir)/$$f"; \ + done + +uninstall-includeHEADERS: + @$(NORMAL_UNINSTALL) + @list='$(include_HEADERS)'; for p in $$list; do \ + f="`echo $$p | sed -e 's|^.*/||'`"; \ + echo " rm -f '$(DESTDIR)$(includedir)/$$f'"; \ + rm -f "$(DESTDIR)$(includedir)/$$f"; \ + done +install-nodist_includeHEADERS: $(nodist_include_HEADERS) + @$(NORMAL_INSTALL) + test -z "$(includedir)" || $(mkdir_p) "$(DESTDIR)$(includedir)" + @list='$(nodist_include_HEADERS)'; for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + f="`echo $$p | sed -e 's|^.*/||'`"; \ + echo " $(nodist_includeHEADERS_INSTALL) '$$d$$p' '$(DESTDIR)$(includedir)/$$f'"; \ + $(nodist_includeHEADERS_INSTALL) "$$d$$p" "$(DESTDIR)$(includedir)/$$f"; \ + done + +uninstall-nodist_includeHEADERS: + @$(NORMAL_UNINSTALL) + @list='$(nodist_include_HEADERS)'; for p in $$list; do \ + f="`echo $$p | sed -e 's|^.*/||'`"; \ + echo " rm -f '$(DESTDIR)$(includedir)/$$f'"; \ + rm -f "$(DESTDIR)$(includedir)/$$f"; \ + done + +# This directory's subdirectories are mostly independent; you can cd +# into them and run `make' without going through this Makefile. +# To change the values of `make' variables: instead of editing Makefiles, +# (1) if the variable is set in `config.status', edit `config.status' +# (which will cause the Makefiles to be regenerated when you run `make'); +# (2) otherwise, pass the desired values on the `make' command line. +$(RECURSIVE_TARGETS): + @set fnord $$MAKEFLAGS; amf=$$2; \ + dot_seen=no; \ + target=`echo $@ | sed s/-recursive//`; \ + list='$(SUBDIRS)'; for subdir in $$list; do \ + echo "Making $$target in $$subdir"; \ + if test "$$subdir" = "."; then \ + dot_seen=yes; \ + local_target="$$target-am"; \ + else \ + local_target="$$target"; \ + fi; \ + (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ + || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ + done; \ + if test "$$dot_seen" = "no"; then \ + $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ + fi; test -z "$$fail" + +mostlyclean-recursive clean-recursive distclean-recursive \ +maintainer-clean-recursive: + @set fnord $$MAKEFLAGS; amf=$$2; \ + dot_seen=no; \ + case "$@" in \ + distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ + *) list='$(SUBDIRS)' ;; \ + esac; \ + rev=''; for subdir in $$list; do \ + if test "$$subdir" = "."; then :; else \ + rev="$$subdir $$rev"; \ + fi; \ + done; \ + rev="$$rev ."; \ + target=`echo $@ | sed s/-recursive//`; \ + for subdir in $$rev; do \ + echo "Making $$target in $$subdir"; \ + if test "$$subdir" = "."; then \ + local_target="$$target-am"; \ + else \ + local_target="$$target"; \ + fi; \ + (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ + || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ + done && test -z "$$fail" +tags-recursive: + list='$(SUBDIRS)'; for subdir in $$list; do \ + test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ + done +ctags-recursive: + list='$(SUBDIRS)'; for subdir in $$list; do \ + test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ + done + +ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) ' { files[$$0] = 1; } \ + END { for (i in files) print i; }'`; \ + mkid -fID $$unique +tags: TAGS + +TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) + tags=; \ + here=`pwd`; \ + if (etags --etags-include --version) >/dev/null 2>&1; then \ + include_option=--etags-include; \ + else \ + include_option=--include; \ + fi; \ + list='$(SUBDIRS)'; for subdir in $$list; do \ + if test "$$subdir" = .; then :; else \ + test -f $$subdir/TAGS && \ + tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \ + fi; \ + done; \ + list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) ' { files[$$0] = 1; } \ + END { for (i in files) print i; }'`; \ + test -z "$(ETAGS_ARGS)$$tags$$unique" \ + || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + $$tags $$unique +ctags: CTAGS +CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) + tags=; \ + here=`pwd`; \ + list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) ' { files[$$0] = 1; } \ + END { for (i in files) print i; }'`; \ + test -z "$(CTAGS_ARGS)$$tags$$unique" \ + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ + $$tags $$unique + +GTAGS: + here=`$(am__cd) $(top_builddir) && pwd` \ + && cd $(top_srcdir) \ + && gtags -i $(GTAGS_ARGS) $$here + +distclean-tags: + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags + +distdir: $(DISTFILES) + $(am__remove_distdir) + mkdir $(distdir) + $(mkdir_p) $(distdir)/. $(distdir)/apidocs + @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ + list='$(DISTFILES)'; for file in $$list; do \ + case $$file in \ + $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ + $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ + esac; \ + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ + if test "$$dir" != "$$file" && test "$$dir" != "."; then \ + dir="/$$dir"; \ + $(mkdir_p) "$(distdir)$$dir"; \ + else \ + dir=''; \ + fi; \ + if test -d $$d/$$file; then \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ + cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ + fi; \ + cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ + else \ + test -f $(distdir)/$$file \ + || cp -p $$d/$$file $(distdir)/$$file \ + || exit 1; \ + fi; \ + done + list='$(SUBDIRS)'; for subdir in $$list; do \ + if test "$$subdir" = .; then :; else \ + test -d "$(distdir)/$$subdir" \ + || mkdir "$(distdir)/$$subdir" \ + || exit 1; \ + (cd $$subdir && \ + $(MAKE) $(AM_MAKEFLAGS) \ + top_distdir="../$(top_distdir)" \ + distdir="../$(distdir)/$$subdir" \ + distdir) \ + || exit 1; \ + fi; \ + done + -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \ + ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \ + ! -type d ! -perm -400 -exec chmod a+r {} \; -o \ + ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \ + || chmod -R a+r $(distdir) +dist-gzip: distdir + $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz + $(am__remove_distdir) + +dist-bzip2: distdir + $(AMTAR) chof - $(distdir) | bzip2 -9 -c >$(distdir).tar.bz2 + $(am__remove_distdir) + +dist-tarZ: distdir + $(AMTAR) chof - $(distdir) | compress -c >$(distdir).tar.Z + $(am__remove_distdir) + +dist-shar: distdir + shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz + $(am__remove_distdir) + +dist-zip: distdir + -rm -f $(distdir).zip + zip -rq $(distdir).zip $(distdir) + $(am__remove_distdir) + +dist dist-all: distdir + $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz + $(am__remove_distdir) + +# This target untars the dist file and tries a VPATH configuration. Then +# it guarantees that the distribution is self-contained by making another +# tarfile. +distcheck: dist + case '$(DIST_ARCHIVES)' in \ + *.tar.gz*) \ + GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(AMTAR) xf - ;;\ + *.tar.bz2*) \ + bunzip2 -c $(distdir).tar.bz2 | $(AMTAR) xf - ;;\ + *.tar.Z*) \ + uncompress -c $(distdir).tar.Z | $(AMTAR) xf - ;;\ + *.shar.gz*) \ + GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | unshar ;;\ + *.zip*) \ + unzip $(distdir).zip ;;\ + esac + chmod -R a-w $(distdir); chmod a+w $(distdir) + mkdir $(distdir)/_build + mkdir $(distdir)/_inst + chmod a-w $(distdir) + dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \ + && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \ + && cd $(distdir)/_build \ + && ../configure --srcdir=.. --prefix="$$dc_install_base" \ + $(DISTCHECK_CONFIGURE_FLAGS) \ + && $(MAKE) $(AM_MAKEFLAGS) \ + && $(MAKE) $(AM_MAKEFLAGS) dvi \ + && $(MAKE) $(AM_MAKEFLAGS) check \ + && $(MAKE) $(AM_MAKEFLAGS) install \ + && $(MAKE) $(AM_MAKEFLAGS) installcheck \ + && $(MAKE) $(AM_MAKEFLAGS) uninstall \ + && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \ + distuninstallcheck \ + && chmod -R a-w "$$dc_install_base" \ + && ({ \ + (cd ../.. && umask 077 && mkdir "$$dc_destdir") \ + && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \ + && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \ + && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \ + distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \ + } || { rm -rf "$$dc_destdir"; exit 1; }) \ + && rm -rf "$$dc_destdir" \ + && $(MAKE) $(AM_MAKEFLAGS) dist \ + && rm -rf $(DIST_ARCHIVES) \ + && $(MAKE) $(AM_MAKEFLAGS) distcleancheck + $(am__remove_distdir) + @(echo "$(distdir) archives ready for distribution: "; \ + list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \ + sed -e '1{h;s/./=/g;p;x;}' -e '$${p;x;}' +distuninstallcheck: + @cd $(distuninstallcheck_dir) \ + && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \ + || { echo "ERROR: files left after uninstall:" ; \ + if test -n "$(DESTDIR)"; then \ + echo " (check DESTDIR support)"; \ + fi ; \ + $(distuninstallcheck_listfiles) ; \ + exit 1; } >&2 +distcleancheck: distclean + @if test '$(srcdir)' = . ; then \ + echo "ERROR: distcleancheck can only run from a VPATH build" ; \ + exit 1 ; \ + fi + @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \ + || { echo "ERROR: files left in build directory after distclean:" ; \ + $(distcleancheck_listfiles) ; \ + exit 1; } >&2 +check-am: all-am +check: check-recursive +all-am: Makefile $(LTLIBRARIES) $(SCRIPTS) $(DATA) $(HEADERS) config.h +installdirs: installdirs-recursive +installdirs-am: + for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(bindir)" "$(DESTDIR)$(pkgconfigdir)" "$(DESTDIR)$(includedir)" "$(DESTDIR)$(includedir)"; do \ + test -z "$$dir" || $(mkdir_p) "$$dir"; \ + done +install: install-recursive +install-exec: install-exec-recursive +install-data: install-data-recursive +uninstall: uninstall-recursive + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am + +installcheck: installcheck-recursive +install-strip: + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + `test -z '$(STRIP)' || \ + echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install +mostlyclean-generic: + +clean-generic: + +distclean-generic: + -rm -f $(CONFIG_CLEAN_FILES) + +maintainer-clean-generic: + @echo "This command is intended for maintainers to use" + @echo "it deletes files that may require special tools to rebuild." +clean: clean-recursive + +clean-am: clean-generic clean-libLTLIBRARIES clean-libtool \ + mostlyclean-am + +distclean: distclean-recursive + -rm -f $(am__CONFIG_DISTCLEAN_FILES) + -rm -rf ./$(DEPDIR) + -rm -f Makefile +distclean-am: clean-am distclean-compile distclean-generic \ + distclean-hdr distclean-libtool distclean-tags + +dvi: dvi-recursive + +dvi-am: + +html: html-recursive + +info: info-recursive + +info-am: + +install-data-am: install-includeHEADERS install-nodist_includeHEADERS \ + install-pkgconfigDATA + +install-exec-am: install-binSCRIPTS install-libLTLIBRARIES + +install-info: install-info-recursive + +install-man: + +installcheck-am: + +maintainer-clean: maintainer-clean-recursive + -rm -f $(am__CONFIG_DISTCLEAN_FILES) + -rm -rf $(top_srcdir)/autom4te.cache + -rm -rf ./$(DEPDIR) + -rm -f Makefile +maintainer-clean-am: distclean-am maintainer-clean-generic + +mostlyclean: mostlyclean-recursive + +mostlyclean-am: mostlyclean-compile mostlyclean-generic \ + mostlyclean-libtool + +pdf: pdf-recursive + +pdf-am: + +ps: ps-recursive + +ps-am: + +uninstall-am: uninstall-binSCRIPTS uninstall-includeHEADERS \ + uninstall-info-am uninstall-libLTLIBRARIES \ + uninstall-nodist_includeHEADERS uninstall-pkgconfigDATA + +uninstall-info: uninstall-info-recursive + +.PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am am--refresh check \ + check-am clean clean-generic clean-libLTLIBRARIES \ + clean-libtool clean-recursive ctags ctags-recursive dist \ + dist-all dist-bzip2 dist-gzip dist-shar dist-tarZ dist-zip \ + distcheck distclean distclean-compile distclean-generic \ + distclean-hdr distclean-libtool distclean-recursive \ + distclean-tags distcleancheck distdir distuninstallcheck dvi \ + dvi-am html html-am info info-am install install-am \ + install-binSCRIPTS install-data install-data-am install-exec \ + install-exec-am install-includeHEADERS install-info \ + install-info-am install-libLTLIBRARIES install-man \ + install-nodist_includeHEADERS install-pkgconfigDATA \ + install-strip installcheck installcheck-am installdirs \ + installdirs-am maintainer-clean maintainer-clean-generic \ + maintainer-clean-recursive mostlyclean mostlyclean-compile \ + mostlyclean-generic mostlyclean-libtool mostlyclean-recursive \ + pdf pdf-am ps ps-am tags tags-recursive uninstall uninstall-am \ + uninstall-binSCRIPTS uninstall-includeHEADERS \ + uninstall-info-am uninstall-libLTLIBRARIES \ + uninstall-nodist_includeHEADERS uninstall-pkgconfigDATA + + +libusb-config: libusb-config.in + +.PHONY: files release snapshot + +files: + @files=`ls $(DISTFILES) 2> /dev/null `; for p in $$files; do \ + echo $$p; \ + done + +release: + $(MAKE) distcheck + +snapshot: + $(MAKE) dist distdir=$(PACKAGE)-`date +"%Y%m%d"` + +apidox: + $(MAKE) apidox-am-@LIBUSB_HAS_DOXYGEN@ + +apidox-am-no: +apidox-am-yes: + @echo "*** Creating API documentation main page"; \ + doxygen Doxyfile + +.PHONY: apidox-am-yes apidox-am-no apidox +# Tell versions [3.59,3.63) of GNU make to not export all variables. +# Otherwise a system limit (for SysV at least) may be exceeded. +.NOEXPORT: diff --git a/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/NEWS b/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/NEWS new file mode 100644 index 000000000..1d37702f8 --- /dev/null +++ b/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/NEWS @@ -0,0 +1 @@ +Created diff --git a/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/README b/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/README new file mode 100644 index 000000000..9a7e7a6d5 --- /dev/null +++ b/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/README @@ -0,0 +1,94 @@ +General Information +=================== + +This is libusb version 0.1.12. libusb is a library which allows +userspace application access to USB devices. + +The official ftp site is: + ftp://ftp.libusb.sourceforge.net/pub/libusb/ + +The official web site is: + http://libusb.sourceforge.net/ + +A mailing list is located at: + libusb-devel@lists.sourceforge.net + +Installation +============ + +See the file 'INSTALL' + +How to report bugs +================== + +To report a bug, visit http://www.sourceforge.net/projects/libusb/ and fill +out a bug report form. + +Please make sure to include: + +* The version of libusb + +* Information about your system. For instance: + + - What operating system and version + - For Linux, what version of the C library + + And anything else you think is relevant. + +* How to reproduce the bug. + + If you can reproduce it with the testlibusb program that is built + in the libusb/ directory, that will be most convenient. Otherwise, + please include a short test program that exhibits the behavior. + As a last resort, you can also provide a pointer to a larger piece + of software that can be downloaded. + +* If the bug was a crash, the exact text that was printed out + when the crash occured. + +* Further information such as stack traces may be useful, but + is not necessary. + +Patches +======= + +Patches can be sent to libusb-devel@lists.sourceforge.net. + +If the patch fixes a bug, it is usually a good idea to include +all the information described in "How to Report Bugs". + +Building +======== + +It should be as simple as running these two commands: + +./configure +make + +One common problem is building the SGML documentation. On some systems, +like SuSE, you will need to set the SGML_CATALOG_FILES environment +variable to something similar to this (actual paths may vary): + +export SGML_CATALOG_FILES="/usr/share/sgml/CATALOG.docbook_3:/usr/share/sgml/CATALOG.docbook-dsssl-stylesheets:/usr/share/sgml/openjade/catalog" + +On recent versions of Fedora Core (FC5 Test 2 atleast), this command may be +needed: + +export SGML_CATALOG_FILES="/etc/sgml/catalog" + +or possibly: + +export SGML_CATALOG_FILES="/etc/sgml/docbook" + +C++ Support +=========== + +There are reasonable unit tests available - run "make check" to do the +tests. Note that some of the tests will unexpectedly pass if you don't have +a specfic type of Logitech mouse connected, and some are expected to fail +unless you are running as root (or otherwise have permissions to access the +device). + +Building the C++ documentation requires Doxygen +(http://www.stack.nl/~dimitri/doxygen/) + diff --git a/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/README.in b/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/README.in new file mode 100644 index 000000000..5b82b30fc --- /dev/null +++ b/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/README.in @@ -0,0 +1,94 @@ +General Information +=================== + +This is libusb version @LIBUSB_VERSION@. libusb is a library which allows +userspace application access to USB devices. + +The official ftp site is: + ftp://ftp.libusb.sourceforge.net/pub/libusb/ + +The official web site is: + http://libusb.sourceforge.net/ + +A mailing list is located at: + libusb-devel@lists.sourceforge.net + +Installation +============ + +See the file 'INSTALL' + +How to report bugs +================== + +To report a bug, visit http://www.sourceforge.net/projects/libusb/ and fill +out a bug report form. + +Please make sure to include: + +* The version of libusb + +* Information about your system. For instance: + + - What operating system and version + - For Linux, what version of the C library + + And anything else you think is relevant. + +* How to reproduce the bug. + + If you can reproduce it with the testlibusb program that is built + in the libusb/ directory, that will be most convenient. Otherwise, + please include a short test program that exhibits the behavior. + As a last resort, you can also provide a pointer to a larger piece + of software that can be downloaded. + +* If the bug was a crash, the exact text that was printed out + when the crash occured. + +* Further information such as stack traces may be useful, but + is not necessary. + +Patches +======= + +Patches can be sent to libusb-devel@lists.sourceforge.net. + +If the patch fixes a bug, it is usually a good idea to include +all the information described in "How to Report Bugs". + +Building +======== + +It should be as simple as running these two commands: + +./configure +make + +One common problem is building the SGML documentation. On some systems, +like SuSE, you will need to set the SGML_CATALOG_FILES environment +variable to something similar to this (actual paths may vary): + +export SGML_CATALOG_FILES="/usr/share/sgml/CATALOG.docbook_3:/usr/share/sgml/CATALOG.docbook-dsssl-stylesheets:/usr/share/sgml/openjade/catalog" + +On recent versions of Fedora Core (FC5 Test 2 atleast), this command may be +needed: + +export SGML_CATALOG_FILES="/etc/sgml/catalog" + +or possibly: + +export SGML_CATALOG_FILES="/etc/sgml/docbook" + +C++ Support +=========== + +There are reasonable unit tests available - run "make check" to do the +tests. Note that some of the tests will unexpectedly pass if you don't have +a specfic type of Logitech mouse connected, and some are expected to fail +unless you are running as root (or otherwise have permissions to access the +device). + +Building the C++ documentation requires Doxygen +(http://www.stack.nl/~dimitri/doxygen/) + diff --git a/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/acinclude.m4 b/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/acinclude.m4 new file mode 100644 index 000000000..ec76bf9d7 --- /dev/null +++ b/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/acinclude.m4 @@ -0,0 +1,101 @@ +dnl Autoconf macros used by libusb +dnl +dnl Copyright (C) 2003 Brad Hards @])], + [pic_mode="$withval"], + [pic_mode=default]) +test -z "$pic_mode" && pic_mode=default + +# Use C for the default configuration in the libtool script +tagname= +AC_LIBTOOL_LANG_C_CONFIG +_LT_AC_TAGCONFIG +])# AC_LIBTOOL_SETUP + + +# _LT_AC_SYS_COMPILER +# ------------------- +AC_DEFUN([_LT_AC_SYS_COMPILER], +[AC_REQUIRE([AC_PROG_CC])dnl + +# If no C compiler was specified, use CC. +LTCC=${LTCC-"$CC"} + +# Allow CC to be a program name with arguments. +compiler=$CC +])# _LT_AC_SYS_COMPILER + + +# _LT_AC_SYS_LIBPATH_AIX +# ---------------------- +# Links a minimal program and checks the executable +# for the system default hardcoded library path. In most cases, +# this is /usr/lib:/lib, but when the MPI compilers are used +# the location of the communication and MPI libs are included too. +# If we don't find anything, use the default library path according +# to the aix ld manual. +AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX], +[AC_LINK_IFELSE(AC_LANG_PROGRAM,[ +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'` +# Check for a 64-bit object if we didn't find anything. +if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'`; fi],[]) +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi +])# _LT_AC_SYS_LIBPATH_AIX + + +# _LT_AC_SHELL_INIT(ARG) +# ---------------------- +AC_DEFUN([_LT_AC_SHELL_INIT], +[ifdef([AC_DIVERSION_NOTICE], + [AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)], + [AC_DIVERT_PUSH(NOTICE)]) +$1 +AC_DIVERT_POP +])# _LT_AC_SHELL_INIT + + +# _LT_AC_PROG_ECHO_BACKSLASH +# -------------------------- +# Add some code to the start of the generated configure script which +# will find an echo command which doesn't interpret backslashes. +AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH], +[_LT_AC_SHELL_INIT([ +# Check that we are running under the correct shell. +SHELL=${CONFIG_SHELL-/bin/sh} + +case X$ECHO in +X*--fallback-echo) + # Remove one level of quotation (which was required for Make). + ECHO=`echo "$ECHO" | sed 's,\\\\\[$]\\[$]0,'[$]0','` + ;; +esac + +echo=${ECHO-echo} +if test "X[$]1" = X--no-reexec; then + # Discard the --no-reexec flag, and continue. + shift +elif test "X[$]1" = X--fallback-echo; then + # Avoid inline document here, it may be left over + : +elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then + # Yippee, $echo works! + : +else + # Restart under the correct shell. + exec $SHELL "[$]0" --no-reexec ${1+"[$]@"} +fi + +if test "X[$]1" = X--fallback-echo; then + # used as fallback echo + shift + cat </dev/null && + echo_test_string="`eval $cmd`" && + (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null + then + break + fi + done +fi + +if test "X`($echo '\t') 2>/dev/null`" = 'X\t' && + echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` && + test "X$echo_testing_string" = "X$echo_test_string"; then + : +else + # The Solaris, AIX, and Digital Unix default echo programs unquote + # backslashes. This makes it impossible to quote backslashes using + # echo "$something" | sed 's/\\/\\\\/g' + # + # So, first we look for a working echo in the user's PATH. + + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR + for dir in $PATH /usr/ucb; do + IFS="$lt_save_ifs" + if (test -f $dir/echo || test -f $dir/echo$ac_exeext) && + test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' && + echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` && + test "X$echo_testing_string" = "X$echo_test_string"; then + echo="$dir/echo" + break + fi + done + IFS="$lt_save_ifs" + + if test "X$echo" = Xecho; then + # We didn't find a better echo, so look for alternatives. + if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' && + echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` && + test "X$echo_testing_string" = "X$echo_test_string"; then + # This shell has a builtin print -r that does the trick. + echo='print -r' + elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) && + test "X$CONFIG_SHELL" != X/bin/ksh; then + # If we have ksh, try running configure again with it. + ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} + export ORIGINAL_CONFIG_SHELL + CONFIG_SHELL=/bin/ksh + export CONFIG_SHELL + exec $CONFIG_SHELL "[$]0" --no-reexec ${1+"[$]@"} + else + # Try using printf. + echo='printf %s\n' + if test "X`($echo '\t') 2>/dev/null`" = 'X\t' && + echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` && + test "X$echo_testing_string" = "X$echo_test_string"; then + # Cool, printf works + : + elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` && + test "X$echo_testing_string" = 'X\t' && + echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` && + test "X$echo_testing_string" = "X$echo_test_string"; then + CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL + export CONFIG_SHELL + SHELL="$CONFIG_SHELL" + export SHELL + echo="$CONFIG_SHELL [$]0 --fallback-echo" + elif echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` && + test "X$echo_testing_string" = 'X\t' && + echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` && + test "X$echo_testing_string" = "X$echo_test_string"; then + echo="$CONFIG_SHELL [$]0 --fallback-echo" + else + # maybe with a smaller string... + prev=: + + for cmd in 'echo test' 'sed 2q "[$]0"' 'sed 10q "[$]0"' 'sed 20q "[$]0"' 'sed 50q "[$]0"'; do + if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null + then + break + fi + prev="$cmd" + done + + if test "$prev" != 'sed 50q "[$]0"'; then + echo_test_string=`eval $prev` + export echo_test_string + exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "[$]0" ${1+"[$]@"} + else + # Oops. We lost completely, so just stick with echo. + echo=echo + fi + fi + fi + fi +fi +fi + +# Copy echo and quote the copy suitably for passing to libtool from +# the Makefile, instead of quoting the original, which is used later. +ECHO=$echo +if test "X$ECHO" = "X$CONFIG_SHELL [$]0 --fallback-echo"; then + ECHO="$CONFIG_SHELL \\\$\[$]0 --fallback-echo" +fi + +AC_SUBST(ECHO) +])])# _LT_AC_PROG_ECHO_BACKSLASH + + +# _LT_AC_LOCK +# ----------- +AC_DEFUN([_LT_AC_LOCK], +[AC_ARG_ENABLE([libtool-lock], + [AC_HELP_STRING([--disable-libtool-lock], + [avoid locking (might break parallel builds)])]) +test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes + +# Some flags need to be propagated to the compiler or linker for good +# libtool support. +case $host in +ia64-*-hpux*) + # Find out which ABI we are using. + echo 'int i;' > conftest.$ac_ext + if AC_TRY_EVAL(ac_compile); then + case `/usr/bin/file conftest.$ac_objext` in + *ELF-32*) + HPUX_IA64_MODE="32" + ;; + *ELF-64*) + HPUX_IA64_MODE="64" + ;; + esac + fi + rm -rf conftest* + ;; +*-*-irix6*) + # Find out which ABI we are using. + echo '[#]line __oline__ "configure"' > conftest.$ac_ext + if AC_TRY_EVAL(ac_compile); then + if test "$lt_cv_prog_gnu_ld" = yes; then + case `/usr/bin/file conftest.$ac_objext` in + *32-bit*) + LD="${LD-ld} -melf32bsmip" + ;; + *N32*) + LD="${LD-ld} -melf32bmipn32" + ;; + *64-bit*) + LD="${LD-ld} -melf64bmip" + ;; + esac + else + case `/usr/bin/file conftest.$ac_objext` in + *32-bit*) + LD="${LD-ld} -32" + ;; + *N32*) + LD="${LD-ld} -n32" + ;; + *64-bit*) + LD="${LD-ld} -64" + ;; + esac + fi + fi + rm -rf conftest* + ;; + +x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*) + # Find out which ABI we are using. + echo 'int i;' > conftest.$ac_ext + if AC_TRY_EVAL(ac_compile); then + case "`/usr/bin/file conftest.o`" in + *32-bit*) + case $host in + x86_64-*linux*) + LD="${LD-ld} -m elf_i386" + ;; + ppc64-*linux*|powerpc64-*linux*) + LD="${LD-ld} -m elf32ppclinux" + ;; + s390x-*linux*) + LD="${LD-ld} -m elf_s390" + ;; + sparc64-*linux*) + LD="${LD-ld} -m elf32_sparc" + ;; + esac + ;; + *64-bit*) + case $host in + x86_64-*linux*) + LD="${LD-ld} -m elf_x86_64" + ;; + ppc*-*linux*|powerpc*-*linux*) + LD="${LD-ld} -m elf64ppc" + ;; + s390*-*linux*) + LD="${LD-ld} -m elf64_s390" + ;; + sparc*-*linux*) + LD="${LD-ld} -m elf64_sparc" + ;; + esac + ;; + esac + fi + rm -rf conftest* + ;; + +*-*-sco3.2v5*) + # On SCO OpenServer 5, we need -belf to get full-featured binaries. + SAVE_CFLAGS="$CFLAGS" + CFLAGS="$CFLAGS -belf" + AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf, + [AC_LANG_PUSH(C) + AC_TRY_LINK([],[],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no]) + AC_LANG_POP]) + if test x"$lt_cv_cc_needs_belf" != x"yes"; then + # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf + CFLAGS="$SAVE_CFLAGS" + fi + ;; +AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL], +[*-*-cygwin* | *-*-mingw* | *-*-pw32*) + AC_CHECK_TOOL(DLLTOOL, dlltool, false) + AC_CHECK_TOOL(AS, as, false) + AC_CHECK_TOOL(OBJDUMP, objdump, false) + ;; + ]) +esac + +need_locks="$enable_libtool_lock" + +])# _LT_AC_LOCK + + +# AC_LIBTOOL_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS, +# [OUTPUT-FILE], [ACTION-SUCCESS], [ACTION-FAILURE]) +# ---------------------------------------------------------------- +# Check whether the given compiler option works +AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION], +[AC_REQUIRE([LT_AC_PROG_SED]) +AC_CACHE_CHECK([$1], [$2], + [$2=no + ifelse([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4]) + printf "$lt_simple_compile_test_code" > conftest.$ac_ext + lt_compiler_flag="$3" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + # The option is referenced via a variable to avoid confusing sed. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ + -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD) + (eval "$lt_compile" 2>conftest.err) + ac_status=$? + cat conftest.err >&AS_MESSAGE_LOG_FD + echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD + if (exit $ac_status) && test -s "$ac_outfile"; then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings + if test ! -s conftest.err; then + $2=yes + fi + fi + $rm conftest* +]) + +if test x"[$]$2" = xyes; then + ifelse([$5], , :, [$5]) +else + ifelse([$6], , :, [$6]) +fi +])# AC_LIBTOOL_COMPILER_OPTION + + +# AC_LIBTOOL_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS, +# [ACTION-SUCCESS], [ACTION-FAILURE]) +# ------------------------------------------------------------ +# Check whether the given compiler option works +AC_DEFUN([AC_LIBTOOL_LINKER_OPTION], +[AC_CACHE_CHECK([$1], [$2], + [$2=no + save_LDFLAGS="$LDFLAGS" + LDFLAGS="$LDFLAGS $3" + printf "$lt_simple_link_test_code" > conftest.$ac_ext + if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings + if test -s conftest.err; then + # Append any errors to the config.log. + cat conftest.err 1>&AS_MESSAGE_LOG_FD + else + $2=yes + fi + fi + $rm conftest* + LDFLAGS="$save_LDFLAGS" +]) + +if test x"[$]$2" = xyes; then + ifelse([$4], , :, [$4]) +else + ifelse([$5], , :, [$5]) +fi +])# AC_LIBTOOL_LINKER_OPTION + + +# AC_LIBTOOL_SYS_MAX_CMD_LEN +# -------------------------- +AC_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN], +[# find the maximum length of command line arguments +AC_MSG_CHECKING([the maximum length of command line arguments]) +AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl + i=0 + teststring="ABCD" + + case $build_os in + msdosdjgpp*) + # On DJGPP, this test can blow up pretty badly due to problems in libc + # (any single argument exceeding 2000 bytes causes a buffer overrun + # during glob expansion). Even if it were fixed, the result of this + # check would be larger than it should be. + lt_cv_sys_max_cmd_len=12288; # 12K is about right + ;; + + gnu*) + # Under GNU Hurd, this test is not required because there is + # no limit to the length of command line arguments. + # Libtool will interpret -1 as no limit whatsoever + lt_cv_sys_max_cmd_len=-1; + ;; + + cygwin* | mingw*) + # On Win9x/ME, this test blows up -- it succeeds, but takes + # about 5 minutes as the teststring grows exponentially. + # Worse, since 9x/ME are not pre-emptively multitasking, + # you end up with a "frozen" computer, even though with patience + # the test eventually succeeds (with a max line length of 256k). + # Instead, let's just punt: use the minimum linelength reported by + # all of the supported platforms: 8192 (on NT/2K/XP). + lt_cv_sys_max_cmd_len=8192; + ;; + + amigaos*) + # On AmigaOS with pdksh, this test takes hours, literally. + # So we just punt and use a minimum line length of 8192. + lt_cv_sys_max_cmd_len=8192; + ;; + + *) + # If test is not a shell built-in, we'll probably end up computing a + # maximum length that is only half of the actual maximum length, but + # we can't tell. + while (test "X"`$CONFIG_SHELL [$]0 --fallback-echo "X$teststring" 2>/dev/null` \ + = "XX$teststring") >/dev/null 2>&1 && + new_result=`expr "X$teststring" : ".*" 2>&1` && + lt_cv_sys_max_cmd_len=$new_result && + test $i != 17 # 1/2 MB should be enough + do + i=`expr $i + 1` + teststring=$teststring$teststring + done + teststring= + # Add a significant safety factor because C++ compilers can tack on massive + # amounts of additional arguments before passing them to the linker. + # It appears as though 1/2 is a usable value. + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` + ;; + esac +]) +if test -n $lt_cv_sys_max_cmd_len ; then + AC_MSG_RESULT($lt_cv_sys_max_cmd_len) +else + AC_MSG_RESULT(none) +fi +])# AC_LIBTOOL_SYS_MAX_CMD_LEN + + +# _LT_AC_CHECK_DLFCN +# -------------------- +AC_DEFUN([_LT_AC_CHECK_DLFCN], +[AC_CHECK_HEADERS(dlfcn.h)dnl +])# _LT_AC_CHECK_DLFCN + + +# _LT_AC_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE, +# ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING) +# ------------------------------------------------------------------ +AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF], +[AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl +if test "$cross_compiling" = yes; then : + [$4] +else + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 + lt_status=$lt_dlunknown + cat > conftest.$ac_ext < +#endif + +#include + +#ifdef RTLD_GLOBAL +# define LT_DLGLOBAL RTLD_GLOBAL +#else +# ifdef DL_GLOBAL +# define LT_DLGLOBAL DL_GLOBAL +# else +# define LT_DLGLOBAL 0 +# endif +#endif + +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we + find out it does not work in some platform. */ +#ifndef LT_DLLAZY_OR_NOW +# ifdef RTLD_LAZY +# define LT_DLLAZY_OR_NOW RTLD_LAZY +# else +# ifdef DL_LAZY +# define LT_DLLAZY_OR_NOW DL_LAZY +# else +# ifdef RTLD_NOW +# define LT_DLLAZY_OR_NOW RTLD_NOW +# else +# ifdef DL_NOW +# define LT_DLLAZY_OR_NOW DL_NOW +# else +# define LT_DLLAZY_OR_NOW 0 +# endif +# endif +# endif +# endif +#endif + +#ifdef __cplusplus +extern "C" void exit (int); +#endif + +void fnord() { int i=42;} +int main () +{ + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); + int status = $lt_dlunknown; + + if (self) + { + if (dlsym (self,"fnord")) status = $lt_dlno_uscore; + else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; + /* dlclose (self); */ + } + + exit (status); +}] +EOF + if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext} 2>/dev/null; then + (./conftest; exit; ) 2>/dev/null + lt_status=$? + case x$lt_status in + x$lt_dlno_uscore) $1 ;; + x$lt_dlneed_uscore) $2 ;; + x$lt_unknown|x*) $3 ;; + esac + else : + # compilation failed + $3 + fi +fi +rm -fr conftest* +])# _LT_AC_TRY_DLOPEN_SELF + + +# AC_LIBTOOL_DLOPEN_SELF +# ------------------- +AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF], +[AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl +if test "x$enable_dlopen" != xyes; then + enable_dlopen=unknown + enable_dlopen_self=unknown + enable_dlopen_self_static=unknown +else + lt_cv_dlopen=no + lt_cv_dlopen_libs= + + case $host_os in + beos*) + lt_cv_dlopen="load_add_on" + lt_cv_dlopen_libs= + lt_cv_dlopen_self=yes + ;; + + mingw* | pw32*) + lt_cv_dlopen="LoadLibrary" + lt_cv_dlopen_libs= + ;; + + cygwin*) + lt_cv_dlopen="dlopen" + lt_cv_dlopen_libs= + ;; + + darwin*) + # if libdl is installed we need to link against it + AC_CHECK_LIB([dl], [dlopen], + [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],[ + lt_cv_dlopen="dyld" + lt_cv_dlopen_libs= + lt_cv_dlopen_self=yes + ]) + ;; + + *) + AC_CHECK_FUNC([shl_load], + [lt_cv_dlopen="shl_load"], + [AC_CHECK_LIB([dld], [shl_load], + [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"], + [AC_CHECK_FUNC([dlopen], + [lt_cv_dlopen="dlopen"], + [AC_CHECK_LIB([dl], [dlopen], + [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"], + [AC_CHECK_LIB([svld], [dlopen], + [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"], + [AC_CHECK_LIB([dld], [dld_link], + [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"]) + ]) + ]) + ]) + ]) + ]) + ;; + esac + + if test "x$lt_cv_dlopen" != xno; then + enable_dlopen=yes + else + enable_dlopen=no + fi + + case $lt_cv_dlopen in + dlopen) + save_CPPFLAGS="$CPPFLAGS" + test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" + + save_LDFLAGS="$LDFLAGS" + eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" + + save_LIBS="$LIBS" + LIBS="$lt_cv_dlopen_libs $LIBS" + + AC_CACHE_CHECK([whether a program can dlopen itself], + lt_cv_dlopen_self, [dnl + _LT_AC_TRY_DLOPEN_SELF( + lt_cv_dlopen_self=yes, lt_cv_dlopen_self=yes, + lt_cv_dlopen_self=no, lt_cv_dlopen_self=cross) + ]) + + if test "x$lt_cv_dlopen_self" = xyes; then + LDFLAGS="$LDFLAGS $link_static_flag" + AC_CACHE_CHECK([whether a statically linked program can dlopen itself], + lt_cv_dlopen_self_static, [dnl + _LT_AC_TRY_DLOPEN_SELF( + lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=yes, + lt_cv_dlopen_self_static=no, lt_cv_dlopen_self_static=cross) + ]) + fi + + CPPFLAGS="$save_CPPFLAGS" + LDFLAGS="$save_LDFLAGS" + LIBS="$save_LIBS" + ;; + esac + + case $lt_cv_dlopen_self in + yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; + *) enable_dlopen_self=unknown ;; + esac + + case $lt_cv_dlopen_self_static in + yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; + *) enable_dlopen_self_static=unknown ;; + esac +fi +])# AC_LIBTOOL_DLOPEN_SELF + + +# AC_LIBTOOL_PROG_CC_C_O([TAGNAME]) +# --------------------------------- +# Check to see if options -c and -o are simultaneously supported by compiler +AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O], +[AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl +AC_CACHE_CHECK([if $compiler supports -c -o file.$ac_objext], + [_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)], + [_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=no + $rm -r conftest 2>/dev/null + mkdir conftest + cd conftest + mkdir out + printf "$lt_simple_compile_test_code" > conftest.$ac_ext + + lt_compiler_flag="-o out/conftest2.$ac_objext" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ + -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD) + (eval "$lt_compile" 2>out/conftest.err) + ac_status=$? + cat out/conftest.err >&AS_MESSAGE_LOG_FD + echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD + if (exit $ac_status) && test -s out/conftest2.$ac_objext + then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings + if test ! -s out/conftest.err; then + _LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes + fi + fi + chmod u+w . + $rm conftest* + # SGI C++ compiler will create directory out/ii_files/ for + # template instantiation + test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files + $rm out/* && rmdir out + cd .. + rmdir conftest + $rm conftest* +]) +])# AC_LIBTOOL_PROG_CC_C_O + + +# AC_LIBTOOL_SYS_HARD_LINK_LOCKS([TAGNAME]) +# ----------------------------------------- +# Check to see if we can do hard links to lock some files if needed +AC_DEFUN([AC_LIBTOOL_SYS_HARD_LINK_LOCKS], +[AC_REQUIRE([_LT_AC_LOCK])dnl + +hard_links="nottested" +if test "$_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)" = no && test "$need_locks" != no; then + # do not overwrite the value of need_locks provided by the user + AC_MSG_CHECKING([if we can lock with hard links]) + hard_links=yes + $rm conftest* + ln conftest.a conftest.b 2>/dev/null && hard_links=no + touch conftest.a + ln conftest.a conftest.b 2>&5 || hard_links=no + ln conftest.a conftest.b 2>/dev/null && hard_links=no + AC_MSG_RESULT([$hard_links]) + if test "$hard_links" = no; then + AC_MSG_WARN([`$CC' does not support `-c -o', so `make -j' may be unsafe]) + need_locks=warn + fi +else + need_locks=no +fi +])# AC_LIBTOOL_SYS_HARD_LINK_LOCKS + + +# AC_LIBTOOL_OBJDIR +# ----------------- +AC_DEFUN([AC_LIBTOOL_OBJDIR], +[AC_CACHE_CHECK([for objdir], [lt_cv_objdir], +[rm -f .libs 2>/dev/null +mkdir .libs 2>/dev/null +if test -d .libs; then + lt_cv_objdir=.libs +else + # MS-DOS does not allow filenames that begin with a dot. + lt_cv_objdir=_libs +fi +rmdir .libs 2>/dev/null]) +objdir=$lt_cv_objdir +])# AC_LIBTOOL_OBJDIR + + +# AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH([TAGNAME]) +# ---------------------------------------------- +# Check hardcoding attributes. +AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH], +[AC_MSG_CHECKING([how to hardcode library paths into programs]) +_LT_AC_TAGVAR(hardcode_action, $1)= +if test -n "$_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)" || \ + test -n "$_LT_AC_TAGVAR(runpath_var $1)" || \ + test "X$_LT_AC_TAGVAR(hardcode_automatic, $1)"="Xyes" ; then + + # We can hardcode non-existant directories. + if test "$_LT_AC_TAGVAR(hardcode_direct, $1)" != no && + # If the only mechanism to avoid hardcoding is shlibpath_var, we + # have to relink, otherwise we might link with an installed library + # when we should be linking with a yet-to-be-installed one + ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)" != no && + test "$_LT_AC_TAGVAR(hardcode_minus_L, $1)" != no; then + # Linking always hardcodes the temporary library directory. + _LT_AC_TAGVAR(hardcode_action, $1)=relink + else + # We can link without hardcoding, and we can hardcode nonexisting dirs. + _LT_AC_TAGVAR(hardcode_action, $1)=immediate + fi +else + # We cannot hardcode anything, or else we can only hardcode existing + # directories. + _LT_AC_TAGVAR(hardcode_action, $1)=unsupported +fi +AC_MSG_RESULT([$_LT_AC_TAGVAR(hardcode_action, $1)]) + +if test "$_LT_AC_TAGVAR(hardcode_action, $1)" = relink; then + # Fast installation is not supported + enable_fast_install=no +elif test "$shlibpath_overrides_runpath" = yes || + test "$enable_shared" = no; then + # Fast installation is not necessary + enable_fast_install=needless +fi +])# AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH + + +# AC_LIBTOOL_SYS_LIB_STRIP +# ------------------------ +AC_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP], +[striplib= +old_striplib= +AC_MSG_CHECKING([whether stripping libraries is possible]) +if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then + test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" + test -z "$striplib" && striplib="$STRIP --strip-unneeded" + AC_MSG_RESULT([yes]) +else +# FIXME - insert some real tests, host_os isn't really good enough + case $host_os in + darwin*) + if test -n "$STRIP" ; then + striplib="$STRIP -x" + AC_MSG_RESULT([yes]) + else + AC_MSG_RESULT([no]) +fi + ;; + *) + AC_MSG_RESULT([no]) + ;; + esac +fi +])# AC_LIBTOOL_SYS_LIB_STRIP + + +# AC_LIBTOOL_SYS_DYNAMIC_LINKER +# ----------------------------- +# PORTME Fill in your ld.so characteristics +AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER], +[AC_MSG_CHECKING([dynamic linker characteristics]) +library_names_spec= +libname_spec='lib$name' +soname_spec= +shrext_cmds=".so" +postinstall_cmds= +postuninstall_cmds= +finish_cmds= +finish_eval= +shlibpath_var= +shlibpath_overrides_runpath=unknown +version_type=none +dynamic_linker="$host_os ld.so" +sys_lib_dlsearch_path_spec="/lib /usr/lib" +if test "$GCC" = yes; then + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` + if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then + # if the path contains ";" then we assume it to be the separator + # otherwise default to the standard path separator (i.e. ":") - it is + # assumed that no part of a normal pathname contains ";" but that should + # okay in the real world where ";" in dirpaths is itself problematic. + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` + else + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` + fi +else + sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" +fi +need_lib_prefix=unknown +hardcode_into_libs=no + +# when you set need_version to no, make sure it does not cause -set_version +# flags to be left without arguments +need_version=unknown + +case $host_os in +aix3*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' + shlibpath_var=LIBPATH + + # AIX 3 has no versioning support, so we append a major version to the name. + soname_spec='${libname}${release}${shared_ext}$major' + ;; + +aix4* | aix5*) + version_type=linux + need_lib_prefix=no + need_version=no + hardcode_into_libs=yes + if test "$host_cpu" = ia64; then + # AIX 5 supports IA64 + library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + else + # With GCC up to 2.95.x, collect2 would create an import file + # for dependence libraries. The import file would start with + # the line `#! .'. This would cause the generated library to + # depend on `.', always an invalid library. This was fixed in + # development snapshots of GCC prior to 3.0. + case $host_os in + aix4 | aix4.[[01]] | aix4.[[01]].*) + if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' + echo ' yes ' + echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then + : + else + can_build_shared=no + fi + ;; + esac + # AIX (on Power*) has no versioning support, so currently we can not hardcode correct + # soname into executable. Probably we can add versioning support to + # collect2, so additional links can be useful in future. + if test "$aix_use_runtimelinking" = yes; then + # If using run time linking (on AIX 4.2 or later) use lib.so + # instead of lib.a to let people know that these are not + # typical AIX shared libraries. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + else + # We preserve .a as extension for shared libraries through AIX4.2 + # and later when we are not doing run time linking. + library_names_spec='${libname}${release}.a $libname.a' + soname_spec='${libname}${release}${shared_ext}$major' + fi + shlibpath_var=LIBPATH + fi + ;; + +amigaos*) + library_names_spec='$libname.ixlibrary $libname.a' + # Create ${libname}_ixlibrary.a entries in /sys/libs. + finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([[^/]]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' + ;; + +beos*) + library_names_spec='${libname}${shared_ext}' + dynamic_linker="$host_os ld.so" + shlibpath_var=LIBRARY_PATH + ;; + +bsdi4*) + version_type=linux + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' + shlibpath_var=LD_LIBRARY_PATH + sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" + sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" + # the default ld.so.conf also contains /usr/contrib/lib and + # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow + # libtool to hard-code these into programs + ;; + +cygwin* | mingw* | pw32*) + version_type=windows + shrext_cmds=".dll" + need_version=no + need_lib_prefix=no + + case $GCC,$host_os in + yes,cygwin* | yes,mingw* | yes,pw32*) + library_names_spec='$libname.dll.a' + # DLL is installed to $(libdir)/../bin by postinstall_cmds + postinstall_cmds='base_file=`basename \${file}`~ + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~ + dldir=$destdir/`dirname \$dlpath`~ + test -d \$dldir || mkdir -p \$dldir~ + $install_prog $dir/$dlname \$dldir/$dlname' + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ + dlpath=$dir/\$dldll~ + $rm \$dlpath' + shlibpath_overrides_runpath=yes + + case $host_os in + cygwin*) + # Cygwin DLLs use 'cyg' prefix rather than 'lib' + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}' + sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" + ;; + mingw*) + # MinGW DLLs use traditional 'lib' prefix + soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}' + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` + if echo "$sys_lib_search_path_spec" | [grep ';[c-zC-Z]:/' >/dev/null]; then + # It is most probably a Windows format PATH printed by + # mingw gcc, but we are running on Cygwin. Gcc prints its search + # path with ; separators, and with drive letters. We can handle the + # drive letters (cygwin fileutils understands them), so leave them, + # especially as we might pass files found there to a mingw objdump, + # which wouldn't understand a cygwinified path. Ahh. + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` + else + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` + fi + ;; + pw32*) + # pw32 DLLs use 'pw' prefix rather than 'lib' + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' + ;; + esac + ;; + + *) + library_names_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext} $libname.lib' + ;; + esac + dynamic_linker='Win32 ld.exe' + # FIXME: first we should search . and the directory the executable is in + shlibpath_var=PATH + ;; + +darwin* | rhapsody*) + dynamic_linker="$host_os dyld" + version_type=darwin + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' + soname_spec='${libname}${release}${major}$shared_ext' + shlibpath_overrides_runpath=yes + shlibpath_var=DYLD_LIBRARY_PATH + shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)' + # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. + if test "$GCC" = yes; then + sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"` + else + sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib' + fi + sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' + ;; + +dgux*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + ;; + +freebsd1*) + dynamic_linker=no + ;; + +kfreebsd*-gnu) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + dynamic_linker='GNU ld.so' + ;; + +freebsd*) + objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` + version_type=freebsd-$objformat + case $version_type in + freebsd-elf*) + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' + need_version=no + need_lib_prefix=no + ;; + freebsd-*) + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' + need_version=yes + ;; + esac + shlibpath_var=LD_LIBRARY_PATH + case $host_os in + freebsd2*) + shlibpath_overrides_runpath=yes + ;; + freebsd3.[01]* | freebsdelf3.[01]*) + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + ;; + *) # from 3.2 on + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + ;; + esac + ;; + +gnu*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + hardcode_into_libs=yes + ;; + +hpux9* | hpux10* | hpux11*) + # Give a soname corresponding to the major version so that dld.sl refuses to + # link against other versions. + version_type=sunos + need_lib_prefix=no + need_version=no + case "$host_cpu" in + ia64*) + shrext_cmds='.so' + hardcode_into_libs=yes + dynamic_linker="$host_os dld.so" + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + if test "X$HPUX_IA64_MODE" = X32; then + sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" + else + sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" + fi + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec + ;; + hppa*64*) + shrext_cmds='.sl' + hardcode_into_libs=yes + dynamic_linker="$host_os dld.sl" + shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec + ;; + *) + shrext_cmds='.sl' + dynamic_linker="$host_os dld.sl" + shlibpath_var=SHLIB_PATH + shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + ;; + esac + # HP-UX runs *really* slowly unless shared libraries are mode 555. + postinstall_cmds='chmod 555 $lib' + ;; + +irix5* | irix6* | nonstopux*) + case $host_os in + nonstopux*) version_type=nonstopux ;; + *) + if test "$lt_cv_prog_gnu_ld" = yes; then + version_type=linux + else + version_type=irix + fi ;; + esac + need_lib_prefix=no + need_version=no + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' + case $host_os in + irix5* | nonstopux*) + libsuff= shlibsuff= + ;; + *) + case $LD in # libtool.m4 will add one of these switches to LD + *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") + libsuff= shlibsuff= libmagic=32-bit;; + *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") + libsuff=32 shlibsuff=N32 libmagic=N32;; + *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") + libsuff=64 shlibsuff=64 libmagic=64-bit;; + *) libsuff= shlibsuff= libmagic=never-match;; + esac + ;; + esac + shlibpath_var=LD_LIBRARY${shlibsuff}_PATH + shlibpath_overrides_runpath=no + sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" + sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" + hardcode_into_libs=yes + ;; + +# No shared lib support for Linux oldld, aout, or coff. +linux*oldld* | linux*aout* | linux*coff*) + dynamic_linker=no + ;; + +# This must be Linux ELF. +linux*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + # This implies no fast_install, which is unacceptable. + # Some rework will be needed to allow for fast_install + # before this can be enabled. + hardcode_into_libs=yes + + # find out which ABI we are using + libsuff= + case "$host_cpu" in + x86_64*|s390x*|powerpc64*) + echo '[#]line __oline__ "configure"' > conftest.$ac_ext + if AC_TRY_EVAL(ac_compile); then + case `/usr/bin/file conftest.$ac_objext` in + *64-bit*) + libsuff=64 + sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}" + ;; + esac + fi + rm -rf conftest* + ;; + esac + + # Append ld.so.conf contents to the search path + if test -f /etc/ld.so.conf; then + lt_ld_extra=`$SED -e 's/[:,\t]/ /g;s/=[^=]*$//;s/=[^= ]* / /g' /etc/ld.so.conf | tr '\n' ' '` + sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra" + fi + + # We used to test for /lib/ld.so.1 and disable shared libraries on + # powerpc, because MkLinux only supported shared libraries with the + # GNU dynamic linker. Since this was broken with cross compilers, + # most powerpc-linux boxes support dynamic linking these days and + # people can always --disable-shared, the test was removed, and we + # assume the GNU/Linux dynamic linker is in use. + dynamic_linker='GNU/Linux ld.so' + ;; + +knetbsd*-gnu) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + dynamic_linker='GNU ld.so' + ;; + +netbsd*) + version_type=sunos + need_lib_prefix=no + need_version=no + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' + dynamic_linker='NetBSD (a.out) ld.so' + else + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + dynamic_linker='NetBSD ld.elf_so' + fi + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + ;; + +newsos6) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + ;; + +nto-qnx*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + ;; + +openbsd*) + version_type=sunos + need_lib_prefix=no + need_version=yes + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' + shlibpath_var=LD_LIBRARY_PATH + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + case $host_os in + openbsd2.[[89]] | openbsd2.[[89]].*) + shlibpath_overrides_runpath=no + ;; + *) + shlibpath_overrides_runpath=yes + ;; + esac + else + shlibpath_overrides_runpath=yes + fi + ;; + +os2*) + libname_spec='$name' + shrext_cmds=".dll" + need_lib_prefix=no + library_names_spec='$libname${shared_ext} $libname.a' + dynamic_linker='OS/2 ld.exe' + shlibpath_var=LIBPATH + ;; + +osf3* | osf4* | osf5*) + version_type=osf + need_lib_prefix=no + need_version=no + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" + sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" + ;; + +sco3.2v5*) + version_type=osf + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + ;; + +solaris*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + # ldd complains unless libraries are executable + postinstall_cmds='chmod +x $lib' + ;; + +sunos4*) + version_type=sunos + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + if test "$with_gnu_ld" = yes; then + need_lib_prefix=no + fi + need_version=yes + ;; + +sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + case $host_vendor in + sni) + shlibpath_overrides_runpath=no + need_lib_prefix=no + export_dynamic_flag_spec='${wl}-Blargedynsym' + runpath_var=LD_RUN_PATH + ;; + siemens) + need_lib_prefix=no + ;; + motorola) + need_lib_prefix=no + need_version=no + shlibpath_overrides_runpath=no + sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' + ;; + esac + ;; + +sysv4*MP*) + if test -d /usr/nec ;then + version_type=linux + library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' + soname_spec='$libname${shared_ext}.$major' + shlibpath_var=LD_LIBRARY_PATH + fi + ;; + +uts4*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + ;; + +*) + dynamic_linker=no + ;; +esac +AC_MSG_RESULT([$dynamic_linker]) +test "$dynamic_linker" = no && can_build_shared=no +])# AC_LIBTOOL_SYS_DYNAMIC_LINKER + + +# _LT_AC_TAGCONFIG +# ---------------- +AC_DEFUN([_LT_AC_TAGCONFIG], +[AC_ARG_WITH([tags], + [AC_HELP_STRING([--with-tags@<:@=TAGS@:>@], + [include additional configurations @<:@automatic@:>@])], + [tagnames="$withval"]) + +if test -f "$ltmain" && test -n "$tagnames"; then + if test ! -f "${ofile}"; then + AC_MSG_WARN([output file `$ofile' does not exist]) + fi + + if test -z "$LTCC"; then + eval "`$SHELL ${ofile} --config | grep '^LTCC='`" + if test -z "$LTCC"; then + AC_MSG_WARN([output file `$ofile' does not look like a libtool script]) + else + AC_MSG_WARN([using `LTCC=$LTCC', extracted from `$ofile']) + fi + fi + + # Extract list of available tagged configurations in $ofile. + # Note that this assumes the entire list is on one line. + available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'` + + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," + for tagname in $tagnames; do + IFS="$lt_save_ifs" + # Check whether tagname contains only valid characters + case `$echo "X$tagname" | $Xsed -e 's:[[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]]::g'` in + "") ;; + *) AC_MSG_ERROR([invalid tag name: $tagname]) + ;; + esac + + if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null + then + AC_MSG_ERROR([tag name \"$tagname\" already exists]) + fi + + # Update the list of available tags. + if test -n "$tagname"; then + echo appending configuration tag \"$tagname\" to $ofile + + case $tagname in + CXX) + if test -n "$CXX" && test "X$CXX" != "Xno"; then + AC_LIBTOOL_LANG_CXX_CONFIG + else + tagname="" + fi + ;; + + F77) + if test -n "$F77" && test "X$F77" != "Xno"; then + AC_LIBTOOL_LANG_F77_CONFIG + else + tagname="" + fi + ;; + + GCJ) + if test -n "$GCJ" && test "X$GCJ" != "Xno"; then + AC_LIBTOOL_LANG_GCJ_CONFIG + else + tagname="" + fi + ;; + + RC) + AC_LIBTOOL_LANG_RC_CONFIG + ;; + + *) + AC_MSG_ERROR([Unsupported tag name: $tagname]) + ;; + esac + + # Append the new tag name to the list of available tags. + if test -n "$tagname" ; then + available_tags="$available_tags $tagname" + fi + fi + done + IFS="$lt_save_ifs" + + # Now substitute the updated list of available tags. + if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then + mv "${ofile}T" "$ofile" + chmod +x "$ofile" + else + rm -f "${ofile}T" + AC_MSG_ERROR([unable to update list of available tagged configurations.]) + fi +fi +])# _LT_AC_TAGCONFIG + + +# AC_LIBTOOL_DLOPEN +# ----------------- +# enable checks for dlopen support +AC_DEFUN([AC_LIBTOOL_DLOPEN], + [AC_BEFORE([$0],[AC_LIBTOOL_SETUP]) +])# AC_LIBTOOL_DLOPEN + + +# AC_LIBTOOL_WIN32_DLL +# -------------------- +# declare package support for building win32 dll's +AC_DEFUN([AC_LIBTOOL_WIN32_DLL], +[AC_BEFORE([$0], [AC_LIBTOOL_SETUP]) +])# AC_LIBTOOL_WIN32_DLL + + +# AC_ENABLE_SHARED([DEFAULT]) +# --------------------------- +# implement the --enable-shared flag +# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'. +AC_DEFUN([AC_ENABLE_SHARED], +[define([AC_ENABLE_SHARED_DEFAULT], ifelse($1, no, no, yes))dnl +AC_ARG_ENABLE([shared], + [AC_HELP_STRING([--enable-shared@<:@=PKGS@:>@], + [build shared libraries @<:@default=]AC_ENABLE_SHARED_DEFAULT[@:>@])], + [p=${PACKAGE-default} + case $enableval in + yes) enable_shared=yes ;; + no) enable_shared=no ;; + *) + enable_shared=no + # Look at the argument we got. We use all the common list separators. + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," + for pkg in $enableval; do + IFS="$lt_save_ifs" + if test "X$pkg" = "X$p"; then + enable_shared=yes + fi + done + IFS="$lt_save_ifs" + ;; + esac], + [enable_shared=]AC_ENABLE_SHARED_DEFAULT) +])# AC_ENABLE_SHARED + + +# AC_DISABLE_SHARED +# ----------------- +#- set the default shared flag to --disable-shared +AC_DEFUN([AC_DISABLE_SHARED], +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl +AC_ENABLE_SHARED(no) +])# AC_DISABLE_SHARED + + +# AC_ENABLE_STATIC([DEFAULT]) +# --------------------------- +# implement the --enable-static flag +# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'. +AC_DEFUN([AC_ENABLE_STATIC], +[define([AC_ENABLE_STATIC_DEFAULT], ifelse($1, no, no, yes))dnl +AC_ARG_ENABLE([static], + [AC_HELP_STRING([--enable-static@<:@=PKGS@:>@], + [build static libraries @<:@default=]AC_ENABLE_STATIC_DEFAULT[@:>@])], + [p=${PACKAGE-default} + case $enableval in + yes) enable_static=yes ;; + no) enable_static=no ;; + *) + enable_static=no + # Look at the argument we got. We use all the common list separators. + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," + for pkg in $enableval; do + IFS="$lt_save_ifs" + if test "X$pkg" = "X$p"; then + enable_static=yes + fi + done + IFS="$lt_save_ifs" + ;; + esac], + [enable_static=]AC_ENABLE_STATIC_DEFAULT) +])# AC_ENABLE_STATIC + + +# AC_DISABLE_STATIC +# ----------------- +# set the default static flag to --disable-static +AC_DEFUN([AC_DISABLE_STATIC], +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl +AC_ENABLE_STATIC(no) +])# AC_DISABLE_STATIC + + +# AC_ENABLE_FAST_INSTALL([DEFAULT]) +# --------------------------------- +# implement the --enable-fast-install flag +# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'. +AC_DEFUN([AC_ENABLE_FAST_INSTALL], +[define([AC_ENABLE_FAST_INSTALL_DEFAULT], ifelse($1, no, no, yes))dnl +AC_ARG_ENABLE([fast-install], + [AC_HELP_STRING([--enable-fast-install@<:@=PKGS@:>@], + [optimize for fast installation @<:@default=]AC_ENABLE_FAST_INSTALL_DEFAULT[@:>@])], + [p=${PACKAGE-default} + case $enableval in + yes) enable_fast_install=yes ;; + no) enable_fast_install=no ;; + *) + enable_fast_install=no + # Look at the argument we got. We use all the common list separators. + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," + for pkg in $enableval; do + IFS="$lt_save_ifs" + if test "X$pkg" = "X$p"; then + enable_fast_install=yes + fi + done + IFS="$lt_save_ifs" + ;; + esac], + [enable_fast_install=]AC_ENABLE_FAST_INSTALL_DEFAULT) +])# AC_ENABLE_FAST_INSTALL + + +# AC_DISABLE_FAST_INSTALL +# ----------------------- +# set the default to --disable-fast-install +AC_DEFUN([AC_DISABLE_FAST_INSTALL], +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl +AC_ENABLE_FAST_INSTALL(no) +])# AC_DISABLE_FAST_INSTALL + + +# AC_LIBTOOL_PICMODE([MODE]) +# -------------------------- +# implement the --with-pic flag +# MODE is either `yes' or `no'. If omitted, it defaults to `both'. +AC_DEFUN([AC_LIBTOOL_PICMODE], +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl +pic_mode=ifelse($#,1,$1,default) +])# AC_LIBTOOL_PICMODE + + +# AC_PROG_EGREP +# ------------- +# This is predefined starting with Autoconf 2.54, so this conditional +# definition can be removed once we require Autoconf 2.54 or later. +m4_ifndef([AC_PROG_EGREP], [AC_DEFUN([AC_PROG_EGREP], +[AC_CACHE_CHECK([for egrep], [ac_cv_prog_egrep], + [if echo a | (grep -E '(a|b)') >/dev/null 2>&1 + then ac_cv_prog_egrep='grep -E' + else ac_cv_prog_egrep='egrep' + fi]) + EGREP=$ac_cv_prog_egrep + AC_SUBST([EGREP]) +])]) + + +# AC_PATH_TOOL_PREFIX +# ------------------- +# find a file program which can recognise shared library +AC_DEFUN([AC_PATH_TOOL_PREFIX], +[AC_REQUIRE([AC_PROG_EGREP])dnl +AC_MSG_CHECKING([for $1]) +AC_CACHE_VAL(lt_cv_path_MAGIC_CMD, +[case $MAGIC_CMD in +[[\\/*] | ?:[\\/]*]) + lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. + ;; +*) + lt_save_MAGIC_CMD="$MAGIC_CMD" + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR +dnl $ac_dummy forces splitting on constant user-supplied paths. +dnl POSIX.2 word splitting is done only on the output of word expansions, +dnl not every word. This closes a longstanding sh security hole. + ac_dummy="ifelse([$2], , $PATH, [$2])" + for ac_dir in $ac_dummy; do + IFS="$lt_save_ifs" + test -z "$ac_dir" && ac_dir=. + if test -f $ac_dir/$1; then + lt_cv_path_MAGIC_CMD="$ac_dir/$1" + if test -n "$file_magic_test_file"; then + case $deplibs_check_method in + "file_magic "*) + file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`" + MAGIC_CMD="$lt_cv_path_MAGIC_CMD" + if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | + $EGREP "$file_magic_regex" > /dev/null; then + : + else + cat <&2 + +*** Warning: the command libtool uses to detect shared libraries, +*** $file_magic_cmd, produces output that libtool cannot recognize. +*** The result is that libtool may fail to recognize shared libraries +*** as such. This will affect the creation of libtool libraries that +*** depend on shared libraries, but programs linked with such libtool +*** libraries will work regardless of this problem. Nevertheless, you +*** may want to report the problem to your system manager and/or to +*** bug-libtool@gnu.org + +EOF + fi ;; + esac + fi + break + fi + done + IFS="$lt_save_ifs" + MAGIC_CMD="$lt_save_MAGIC_CMD" + ;; +esac]) +MAGIC_CMD="$lt_cv_path_MAGIC_CMD" +if test -n "$MAGIC_CMD"; then + AC_MSG_RESULT($MAGIC_CMD) +else + AC_MSG_RESULT(no) +fi +])# AC_PATH_TOOL_PREFIX + + +# AC_PATH_MAGIC +# ------------- +# find a file program which can recognise a shared library +AC_DEFUN([AC_PATH_MAGIC], +[AC_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin$PATH_SEPARATOR$PATH) +if test -z "$lt_cv_path_MAGIC_CMD"; then + if test -n "$ac_tool_prefix"; then + AC_PATH_TOOL_PREFIX(file, /usr/bin$PATH_SEPARATOR$PATH) + else + MAGIC_CMD=: + fi +fi +])# AC_PATH_MAGIC + + +# AC_PROG_LD +# ---------- +# find the pathname to the GNU or non-GNU linker +AC_DEFUN([AC_PROG_LD], +[AC_ARG_WITH([gnu-ld], + [AC_HELP_STRING([--with-gnu-ld], + [assume the C compiler uses GNU ld @<:@default=no@:>@])], + [test "$withval" = no || with_gnu_ld=yes], + [with_gnu_ld=no]) +AC_REQUIRE([LT_AC_PROG_SED])dnl +AC_REQUIRE([AC_PROG_CC])dnl +AC_REQUIRE([AC_CANONICAL_HOST])dnl +AC_REQUIRE([AC_CANONICAL_BUILD])dnl +ac_prog=ld +if test "$GCC" = yes; then + # Check if gcc -print-prog-name=ld gives a path. + AC_MSG_CHECKING([for ld used by $CC]) + case $host in + *-*-mingw*) + # gcc leaves a trailing carriage return which upsets mingw + ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; + *) + ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; + esac + case $ac_prog in + # Accept absolute paths. + [[\\/]]* | ?:[[\\/]]*) + re_direlt='/[[^/]][[^/]]*/\.\./' + # Canonicalize the pathname of ld + ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'` + while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do + ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"` + done + test -z "$LD" && LD="$ac_prog" + ;; + "") + # If it fails, then pretend we aren't using GCC. + ac_prog=ld + ;; + *) + # If it is relative, then search for the first ld in PATH. + with_gnu_ld=unknown + ;; + esac +elif test "$with_gnu_ld" = yes; then + AC_MSG_CHECKING([for GNU ld]) +else + AC_MSG_CHECKING([for non-GNU ld]) +fi +AC_CACHE_VAL(lt_cv_path_LD, +[if test -z "$LD"; then + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR + for ac_dir in $PATH; do + IFS="$lt_save_ifs" + test -z "$ac_dir" && ac_dir=. + if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then + lt_cv_path_LD="$ac_dir/$ac_prog" + # Check to see if the program is GNU ld. I'd rather use --version, + # but apparently some GNU ld's only accept -v. + # Break only if it was the GNU/non-GNU ld that we prefer. + case `"$lt_cv_path_LD" -v 2>&1 &1 /dev/null; then + case $host_cpu in + i*86 ) + # Not sure whether the presence of OpenBSD here was a mistake. + # Let's accept both of them until this is cleared up. + lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[[3-9]]86 (compact )?demand paged shared library' + lt_cv_file_magic_cmd=/usr/bin/file + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` + ;; + esac + else + lt_cv_deplibs_check_method=pass_all + fi + ;; + +gnu*) + lt_cv_deplibs_check_method=pass_all + ;; + +hpux10.20* | hpux11*) + lt_cv_file_magic_cmd=/usr/bin/file + case "$host_cpu" in + ia64*) + lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|ELF-[[0-9]][[0-9]]) shared object file - IA64' + lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so + ;; + hppa*64*) + [lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'] + lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl + ;; + *) + lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]].[[0-9]]) shared library' + lt_cv_file_magic_test_file=/usr/lib/libc.sl + ;; + esac + ;; + +irix5* | irix6* | nonstopux*) + case $LD in + *-32|*"-32 ") libmagic=32-bit;; + *-n32|*"-n32 ") libmagic=N32;; + *-64|*"-64 ") libmagic=64-bit;; + *) libmagic=never-match;; + esac + lt_cv_deplibs_check_method=pass_all + ;; + +# This must be Linux ELF. +linux*) + case $host_cpu in + alpha*|hppa*|i*86|ia64*|m68*|mips*|powerpc*|sparc*|s390*|sh*|x86_64*) + lt_cv_deplibs_check_method=pass_all ;; + *) + # glibc up to 2.1.1 does not perform some relocations on ARM + # this will be overridden with pass_all, but let us keep it just in case + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )' ;; + esac + lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so` + lt_cv_deplibs_check_method=pass_all + ;; + +netbsd*) + if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then + lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$' + else + lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|_pic\.a)$' + fi + ;; + +newos6*) + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (executable|dynamic lib)' + lt_cv_file_magic_cmd=/usr/bin/file + lt_cv_file_magic_test_file=/usr/lib/libnls.so + ;; + +nto-qnx*) + lt_cv_deplibs_check_method=unknown + ;; + +openbsd*) + lt_cv_file_magic_cmd=/usr/bin/file + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB shared object' + else + lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library' + fi + ;; + +osf3* | osf4* | osf5*) + lt_cv_deplibs_check_method=pass_all + ;; + +sco3.2v5*) + lt_cv_deplibs_check_method=pass_all + ;; + +solaris*) + lt_cv_deplibs_check_method=pass_all + ;; + +sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) + case $host_vendor in + motorola) + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib) M[[0-9]][[0-9]]* Version [[0-9]]' + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` + ;; + ncr) + lt_cv_deplibs_check_method=pass_all + ;; + sequent) + lt_cv_file_magic_cmd='/bin/file' + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )' + ;; + sni) + lt_cv_file_magic_cmd='/bin/file' + lt_cv_deplibs_check_method="file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB dynamic lib" + lt_cv_file_magic_test_file=/lib/libc.so + ;; + siemens) + lt_cv_deplibs_check_method=pass_all + ;; + esac + ;; + +sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[[78]]* | unixware7* | sysv4*uw2*) + lt_cv_deplibs_check_method=pass_all + ;; +esac +]) +file_magic_cmd=$lt_cv_file_magic_cmd +deplibs_check_method=$lt_cv_deplibs_check_method +test -z "$deplibs_check_method" && deplibs_check_method=unknown +])# AC_DEPLIBS_CHECK_METHOD + + +# AC_PROG_NM +# ---------- +# find the pathname to a BSD-compatible name lister +AC_DEFUN([AC_PROG_NM], +[AC_CACHE_CHECK([for BSD-compatible nm], lt_cv_path_NM, +[if test -n "$NM"; then + # Let the user override the test. + lt_cv_path_NM="$NM" +else + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR + for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do + IFS="$lt_save_ifs" + test -z "$ac_dir" && ac_dir=. + tmp_nm="$ac_dir/${ac_tool_prefix}nm" + if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then + # Check to see if the nm accepts a BSD-compat flag. + # Adding the `sed 1q' prevents false positives on HP-UX, which says: + # nm: unknown option "B" ignored + # Tru64's nm complains that /dev/null is an invalid object file + case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in + */dev/null* | *'Invalid file or object type'*) + lt_cv_path_NM="$tmp_nm -B" + break + ;; + *) + case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in + */dev/null*) + lt_cv_path_NM="$tmp_nm -p" + break + ;; + *) + lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but + continue # so that we can try to find one that supports BSD flags + ;; + esac + esac + fi + done + IFS="$lt_save_ifs" + test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm +fi]) +NM="$lt_cv_path_NM" +])# AC_PROG_NM + + +# AC_CHECK_LIBM +# ------------- +# check for math library +AC_DEFUN([AC_CHECK_LIBM], +[AC_REQUIRE([AC_CANONICAL_HOST])dnl +LIBM= +case $host in +*-*-beos* | *-*-cygwin* | *-*-pw32* | *-*-darwin*) + # These system don't have libm, or don't need it + ;; +*-ncr-sysv4.3*) + AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM="-lmw") + AC_CHECK_LIB(m, cos, LIBM="$LIBM -lm") + ;; +*) + AC_CHECK_LIB(m, cos, LIBM="-lm") + ;; +esac +])# AC_CHECK_LIBM + + +# AC_LIBLTDL_CONVENIENCE([DIRECTORY]) +# ----------------------------------- +# sets LIBLTDL to the link flags for the libltdl convenience library and +# LTDLINCL to the include flags for the libltdl header and adds +# --enable-ltdl-convenience to the configure arguments. Note that LIBLTDL +# and LTDLINCL are not AC_SUBSTed, nor is AC_CONFIG_SUBDIRS called. If +# DIRECTORY is not provided, it is assumed to be `libltdl'. LIBLTDL will +# be prefixed with '${top_builddir}/' and LTDLINCL will be prefixed with +# '${top_srcdir}/' (note the single quotes!). If your package is not +# flat and you're not using automake, define top_builddir and +# top_srcdir appropriately in the Makefiles. +AC_DEFUN([AC_LIBLTDL_CONVENIENCE], +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl + case $enable_ltdl_convenience in + no) AC_MSG_ERROR([this package needs a convenience libltdl]) ;; + "") enable_ltdl_convenience=yes + ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;; + esac + LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdlc.la + LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl']) + # For backwards non-gettext consistent compatibility... + INCLTDL="$LTDLINCL" +])# AC_LIBLTDL_CONVENIENCE + + +# AC_LIBLTDL_INSTALLABLE([DIRECTORY]) +# ----------------------------------- +# sets LIBLTDL to the link flags for the libltdl installable library and +# LTDLINCL to the include flags for the libltdl header and adds +# --enable-ltdl-install to the configure arguments. Note that LIBLTDL +# and LTDLINCL are not AC_SUBSTed, nor is AC_CONFIG_SUBDIRS called. If +# DIRECTORY is not provided and an installed libltdl is not found, it is +# assumed to be `libltdl'. LIBLTDL will be prefixed with '${top_builddir}/' +# and LTDLINCL will be prefixed with '${top_srcdir}/' (note the single +# quotes!). If your package is not flat and you're not using automake, +# define top_builddir and top_srcdir appropriately in the Makefiles. +# In the future, this macro may have to be called after AC_PROG_LIBTOOL. +AC_DEFUN([AC_LIBLTDL_INSTALLABLE], +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl + AC_CHECK_LIB(ltdl, lt_dlinit, + [test x"$enable_ltdl_install" != xyes && enable_ltdl_install=no], + [if test x"$enable_ltdl_install" = xno; then + AC_MSG_WARN([libltdl not installed, but installation disabled]) + else + enable_ltdl_install=yes + fi + ]) + if test x"$enable_ltdl_install" = x"yes"; then + ac_configure_args="$ac_configure_args --enable-ltdl-install" + LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdl.la + LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl']) + else + ac_configure_args="$ac_configure_args --enable-ltdl-install=no" + LIBLTDL="-lltdl" + LTDLINCL= + fi + # For backwards non-gettext consistent compatibility... + INCLTDL="$LTDLINCL" +])# AC_LIBLTDL_INSTALLABLE + + +# AC_LIBTOOL_CXX +# -------------- +# enable support for C++ libraries +AC_DEFUN([AC_LIBTOOL_CXX], +[AC_REQUIRE([_LT_AC_LANG_CXX]) +])# AC_LIBTOOL_CXX + + +# _LT_AC_LANG_CXX +# --------------- +AC_DEFUN([_LT_AC_LANG_CXX], +[AC_REQUIRE([AC_PROG_CXX]) +AC_REQUIRE([AC_PROG_CXXCPP]) +_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}CXX]) +])# _LT_AC_LANG_CXX + + +# AC_LIBTOOL_F77 +# -------------- +# enable support for Fortran 77 libraries +AC_DEFUN([AC_LIBTOOL_F77], +[AC_REQUIRE([_LT_AC_LANG_F77]) +])# AC_LIBTOOL_F77 + + +# _LT_AC_LANG_F77 +# --------------- +AC_DEFUN([_LT_AC_LANG_F77], +[AC_REQUIRE([AC_PROG_F77]) +_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}F77]) +])# _LT_AC_LANG_F77 + + +# AC_LIBTOOL_GCJ +# -------------- +# enable support for GCJ libraries +AC_DEFUN([AC_LIBTOOL_GCJ], +[AC_REQUIRE([_LT_AC_LANG_GCJ]) +])# AC_LIBTOOL_GCJ + + +# _LT_AC_LANG_GCJ +# --------------- +AC_DEFUN([_LT_AC_LANG_GCJ], +[AC_PROVIDE_IFELSE([AC_PROG_GCJ],[], + [AC_PROVIDE_IFELSE([A][M_PROG_GCJ],[], + [AC_PROVIDE_IFELSE([LT_AC_PROG_GCJ],[], + [ifdef([AC_PROG_GCJ],[AC_REQUIRE([AC_PROG_GCJ])], + [ifdef([A][M_PROG_GCJ],[AC_REQUIRE([A][M_PROG_GCJ])], + [AC_REQUIRE([A][C_PROG_GCJ_OR_A][M_PROG_GCJ])])])])])]) +_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}GCJ]) +])# _LT_AC_LANG_GCJ + + +# AC_LIBTOOL_RC +# -------------- +# enable support for Windows resource files +AC_DEFUN([AC_LIBTOOL_RC], +[AC_REQUIRE([LT_AC_PROG_RC]) +_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}RC]) +])# AC_LIBTOOL_RC + + +# AC_LIBTOOL_LANG_C_CONFIG +# ------------------------ +# Ensure that the configuration vars for the C compiler are +# suitably defined. Those variables are subsequently used by +# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'. +AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG], [_LT_AC_LANG_C_CONFIG]) +AC_DEFUN([_LT_AC_LANG_C_CONFIG], +[lt_save_CC="$CC" +AC_LANG_PUSH(C) + +# Source file extension for C test sources. +ac_ext=c + +# Object file extension for compiled C test sources. +objext=o +_LT_AC_TAGVAR(objext, $1)=$objext + +# Code to be used in simple compile tests +lt_simple_compile_test_code="int some_variable = 0;\n" + +# Code to be used in simple link tests +lt_simple_link_test_code='int main(){return(0);}\n' + +_LT_AC_SYS_COMPILER + +# +# Check for any special shared library compilation flags. +# +_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)= +if test "$GCC" = no; then + case $host_os in + sco3.2v5*) + _LT_AC_TAGVAR(lt_prog_cc_shlib, $1)='-belf' + ;; + esac +fi +if test -n "$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)"; then + AC_MSG_WARN([`$CC' requires `$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)' to build shared libraries]) + if echo "$old_CC $old_CFLAGS " | grep "[[ ]]$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)[[ ]]" >/dev/null; then : + else + AC_MSG_WARN([add `$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)' to the CC or CFLAGS env variable and reconfigure]) + _LT_AC_TAGVAR(lt_cv_prog_cc_can_build_shared, $1)=no + fi +fi + + +# +# Check to make sure the static flag actually works. +# +AC_LIBTOOL_LINKER_OPTION([if $compiler static flag $_LT_AC_TAGVAR(lt_prog_compiler_static, $1) works], + _LT_AC_TAGVAR(lt_prog_compiler_static_works, $1), + $_LT_AC_TAGVAR(lt_prog_compiler_static, $1), + [], + [_LT_AC_TAGVAR(lt_prog_compiler_static, $1)=]) + + +AC_LIBTOOL_PROG_COMPILER_NO_RTTI($1) +AC_LIBTOOL_PROG_COMPILER_PIC($1) +AC_LIBTOOL_PROG_CC_C_O($1) +AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1) +AC_LIBTOOL_PROG_LD_SHLIBS($1) +AC_LIBTOOL_SYS_DYNAMIC_LINKER($1) +AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1) +AC_LIBTOOL_SYS_LIB_STRIP +AC_LIBTOOL_DLOPEN_SELF($1) + +# Report which librarie types wil actually be built +AC_MSG_CHECKING([if libtool supports shared libraries]) +AC_MSG_RESULT([$can_build_shared]) + +AC_MSG_CHECKING([whether to build shared libraries]) +test "$can_build_shared" = "no" && enable_shared=no + +# On AIX, shared libraries and static libraries use the same namespace, and +# are all built from PIC. +case "$host_os" in +aix3*) + test "$enable_shared" = yes && enable_static=no + if test -n "$RANLIB"; then + archive_cmds="$archive_cmds~\$RANLIB \$lib" + postinstall_cmds='$RANLIB $lib' + fi + ;; + +aix4* | aix5*) + if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then + test "$enable_shared" = yes && enable_static=no + fi + ;; + darwin* | rhapsody*) + if test "$GCC" = yes; then + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no + case "$host_os" in + rhapsody* | darwin1.[[012]]) + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined suppress' + ;; + *) # Darwin 1.3 on + if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress' + else + case ${MACOSX_DEPLOYMENT_TARGET} in + 10.[[012]]) + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress' + ;; + 10.*) + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined dynamic_lookup' + ;; + esac + fi + ;; + esac + output_verbose_link_cmd='echo' + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring' + _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + _LT_AC_TAGVAR(hardcode_direct, $1)=no + _LT_AC_TAGVAR(hardcode_automatic, $1)=yes + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-all_load $convenience' + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes + else + _LT_AC_TAGVAR(ld_shlibs, $1)=no + fi + ;; +esac +AC_MSG_RESULT([$enable_shared]) + +AC_MSG_CHECKING([whether to build static libraries]) +# Make sure either enable_shared or enable_static is yes. +test "$enable_shared" = yes || enable_static=yes +AC_MSG_RESULT([$enable_static]) + +AC_LIBTOOL_CONFIG($1) + +AC_LANG_POP +CC="$lt_save_CC" +])# AC_LIBTOOL_LANG_C_CONFIG + + +# AC_LIBTOOL_LANG_CXX_CONFIG +# -------------------------- +# Ensure that the configuration vars for the C compiler are +# suitably defined. Those variables are subsequently used by +# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'. +AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG], [_LT_AC_LANG_CXX_CONFIG(CXX)]) +AC_DEFUN([_LT_AC_LANG_CXX_CONFIG], +[AC_LANG_PUSH(C++) +AC_REQUIRE([AC_PROG_CXX]) +AC_REQUIRE([AC_PROG_CXXCPP]) + +_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no +_LT_AC_TAGVAR(allow_undefined_flag, $1)= +_LT_AC_TAGVAR(always_export_symbols, $1)=no +_LT_AC_TAGVAR(archive_expsym_cmds, $1)= +_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)= +_LT_AC_TAGVAR(hardcode_direct, $1)=no +_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)= +_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)= +_LT_AC_TAGVAR(hardcode_libdir_separator, $1)= +_LT_AC_TAGVAR(hardcode_minus_L, $1)=no +_LT_AC_TAGVAR(hardcode_automatic, $1)=no +_LT_AC_TAGVAR(module_cmds, $1)= +_LT_AC_TAGVAR(module_expsym_cmds, $1)= +_LT_AC_TAGVAR(link_all_deplibs, $1)=unknown +_LT_AC_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds +_LT_AC_TAGVAR(no_undefined_flag, $1)= +_LT_AC_TAGVAR(whole_archive_flag_spec, $1)= +_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no + +# Dependencies to place before and after the object being linked: +_LT_AC_TAGVAR(predep_objects, $1)= +_LT_AC_TAGVAR(postdep_objects, $1)= +_LT_AC_TAGVAR(predeps, $1)= +_LT_AC_TAGVAR(postdeps, $1)= +_LT_AC_TAGVAR(compiler_lib_search_path, $1)= + +# Source file extension for C++ test sources. +ac_ext=cc + +# Object file extension for compiled C++ test sources. +objext=o +_LT_AC_TAGVAR(objext, $1)=$objext + +# Code to be used in simple compile tests +lt_simple_compile_test_code="int some_variable = 0;\n" + +# Code to be used in simple link tests +lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n' + +# ltmain only uses $CC for tagged configurations so make sure $CC is set. +_LT_AC_SYS_COMPILER + +# Allow CC to be a program name with arguments. +lt_save_CC=$CC +lt_save_LD=$LD +lt_save_GCC=$GCC +GCC=$GXX +lt_save_with_gnu_ld=$with_gnu_ld +lt_save_path_LD=$lt_cv_path_LD +if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then + lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx +else + unset lt_cv_prog_gnu_ld +fi +if test -n "${lt_cv_path_LDCXX+set}"; then + lt_cv_path_LD=$lt_cv_path_LDCXX +else + unset lt_cv_path_LD +fi +test -z "${LDCXX+set}" || LD=$LDCXX +CC=${CXX-"c++"} +compiler=$CC +_LT_AC_TAGVAR(compiler, $1)=$CC +cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'` + +# We don't want -fno-exception wen compiling C++ code, so set the +# no_builtin_flag separately +if test "$GXX" = yes; then + _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin' +else + _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)= +fi + +if test "$GXX" = yes; then + # Set up default GNU C++ configuration + + AC_PROG_LD + + # Check if GNU C++ uses GNU ld as the underlying linker, since the + # archiving commands below assume that GNU ld is being used. + if test "$with_gnu_ld" = yes; then + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir' + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' + + # If archive_cmds runs LD, not CC, wlarc should be empty + # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to + # investigate it a little bit more. (MM) + wlarc='${wl}' + + # ancient GNU ld didn't support --whole-archive et. al. + if eval "`$CC -print-prog-name=ld` --help 2>&1" | \ + grep 'no-whole-archive' > /dev/null; then + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' + else + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)= + fi + else + with_gnu_ld=no + wlarc= + + # A generic and very simple default shared library creation + # command for GNU C++ for the case where it uses the native + # linker, instead of GNU ld. If possible, this setting should + # overridden to take advantage of the native linker features on + # the platform it is being used on. + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' + fi + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"' + +else + GXX=no + with_gnu_ld=no + wlarc= +fi + +# PORTME: fill in a description of your system's C++ link characteristics +AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries]) +_LT_AC_TAGVAR(ld_shlibs, $1)=yes +case $host_os in + aix3*) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + aix4* | aix5*) + if test "$host_cpu" = ia64; then + # On IA64, the linker does run time linking by default, so we don't + # have to do anything special. + aix_use_runtimelinking=no + exp_sym_flag='-Bexport' + no_entry_flag="" + else + aix_use_runtimelinking=no + + # Test if we are trying to use run time linking or normal + # AIX style linking. If -brtl is somewhere in LDFLAGS, we + # need to do runtime linking. + case $host_os in aix4.[[23]]|aix4.[[23]].*|aix5*) + for ld_flag in $LDFLAGS; do + case $ld_flag in + *-brtl*) + aix_use_runtimelinking=yes + break + ;; + esac + done + esac + + exp_sym_flag='-bexport' + no_entry_flag='-bnoentry' + fi + + # When large executables or shared objects are built, AIX ld can + # have problems creating the table of contents. If linking a library + # or program results in "error TOC overflow" add -mminimal-toc to + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. + + _LT_AC_TAGVAR(archive_cmds, $1)='' + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':' + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes + + if test "$GXX" = yes; then + case $host_os in aix4.[012]|aix4.[012].*) + # We only want to do this on AIX 4.2 and lower, the check + # below for broken collect2 doesn't work under 4.3+ + collect2name=`${CC} -print-prog-name=collect2` + if test -f "$collect2name" && \ + strings "$collect2name" | grep resolve_lib_name >/dev/null + then + # We have reworked collect2 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + else + # We have old collect2 + _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported + # It fails to find uninstalled libraries when the uninstalled + # path is not listed in the libpath. Setting hardcode_minus_L + # to unsupported forces relinking + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)= + fi + esac + shared_flag='-shared' + else + # not using gcc + if test "$host_cpu" = ia64; then + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release + # chokes on -Wl,-G. The following line is correct: + shared_flag='-G' + else + if test "$aix_use_runtimelinking" = yes; then + shared_flag='${wl}-G' + else + shared_flag='${wl}-bM:SRE' + fi + fi + fi + + # It seems that -bexpall does not export symbols beginning with + # underscore (_), so it is better to generate a list of symbols to export. + _LT_AC_TAGVAR(always_export_symbols, $1)=yes + if test "$aix_use_runtimelinking" = yes; then + # Warning - without using the other runtime loading flags (-brtl), + # -berok will link without error, but may produce a broken library. + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-berok' + # Determine the default libpath from the value encoded in an empty executable. + _LT_AC_SYS_LIBPATH_AIX + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" + + _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag" + else + if test "$host_cpu" = ia64; then + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib' + _LT_AC_TAGVAR(allow_undefined_flag, $1)="-z nodefs" + _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols" + else + # Determine the default libpath from the value encoded in an empty executable. + _LT_AC_SYS_LIBPATH_AIX + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" + # Warning - without using the other run time loading flags, + # -berok will link without error, but may produce a broken library. + _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok' + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok' + # -bexpall does not export symbols beginning with underscore (_) + _LT_AC_TAGVAR(always_export_symbols, $1)=yes + # Exported symbols can be pulled into shared objects from archives + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=' ' + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes + # This is similar to how AIX traditionally builds it's shared libraries. + _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' + fi + fi + ;; + chorus*) + case $cc_basename in + *) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + esac + ;; + + cygwin* | mingw* | pw32*) + # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless, + # as there is no search path for DLLs. + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported + _LT_AC_TAGVAR(always_export_symbols, $1)=no + _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes + + if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' + # If the export-symbols file already is a .def file (1st line + # is EXPORTS), use it as is; otherwise, prepend... + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then + cp $export_symbols $output_objdir/$soname.def; + else + echo EXPORTS > $output_objdir/$soname.def; + cat $export_symbols >> $output_objdir/$soname.def; + fi~ + $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' + else + _LT_AC_TAGVAR(ld_shlibs, $1)=no + fi + ;; + + darwin* | rhapsody*) + if test "$GXX" = yes; then + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no + case "$host_os" in + rhapsody* | darwin1.[[012]]) + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined suppress' + ;; + *) # Darwin 1.3 on + if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress' + else + case ${MACOSX_DEPLOYMENT_TARGET} in + 10.[[012]]) + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress' + ;; + 10.*) + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined dynamic_lookup' + ;; + esac + fi + ;; + esac + lt_int_apple_cc_single_mod=no + output_verbose_link_cmd='echo' + if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then + lt_int_apple_cc_single_mod=yes + fi + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' + else + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring' + fi + _LT_AC_TAGVAR(module_cmds, $1)='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' + + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + else + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + fi + _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + _LT_AC_TAGVAR(hardcode_direct, $1)=no + _LT_AC_TAGVAR(hardcode_automatic, $1)=yes + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-all_load $convenience' + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes + else + _LT_AC_TAGVAR(ld_shlibs, $1)=no + fi + ;; + + dgux*) + case $cc_basename in + ec++) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + ghcx) + # Green Hills C++ Compiler + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + *) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + esac + ;; + freebsd[12]*) + # C++ shared libraries reported to be fairly broken before switch to ELF + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + freebsd-elf*) + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no + ;; + freebsd* | kfreebsd*-gnu) + # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF + # conventions + _LT_AC_TAGVAR(ld_shlibs, $1)=yes + ;; + gnu*) + ;; + hpux9*) + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH, + # but as the default + # location of the library. + + case $cc_basename in + CC) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + aCC) + _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "[-]L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' + ;; + *) + if test "$GXX" = yes; then + _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + else + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + fi + ;; + esac + ;; + hpux10*|hpux11*) + if test $with_gnu_ld = no; then + case "$host_cpu" in + hppa*64*) + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + ;; + ia64*) + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + ;; + *) + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' + ;; + esac + fi + case "$host_cpu" in + hppa*64*) + _LT_AC_TAGVAR(hardcode_direct, $1)=no + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + ia64*) + _LT_AC_TAGVAR(hardcode_direct, $1)=no + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH, + # but as the default + # location of the library. + ;; + *) + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH, + # but as the default + # location of the library. + ;; + esac + + case $cc_basename in + CC) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + aCC) + case "$host_cpu" in + hppa*64*|ia64*) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs' + ;; + *) + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' + ;; + esac + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' + ;; + *) + if test "$GXX" = yes; then + if test $with_gnu_ld = no; then + case "$host_cpu" in + ia64*|hppa*64*) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs' + ;; + *) + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' + ;; + esac + fi + else + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + fi + ;; + esac + ;; + irix5* | irix6*) + case $cc_basename in + CC) + # SGI C++ + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib' + + # Archives containing C++ object files must be created using + # "CC -ar", where "CC" is the IRIX C++ compiler. This is + # necessary to make sure instantiated templates are included + # in the archive. + _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -ar -WR,-u -o $oldlib $oldobjs' + ;; + *) + if test "$GXX" = yes; then + if test "$with_gnu_ld" = no; then + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib' + else + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib' + fi + fi + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes + ;; + esac + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + ;; + linux*) + case $cc_basename in + KCC) + # Kuck and Associates, Inc. (KAI) C++ Compiler + + # KCC will only create a shared library if the output file + # ends with ".so" (or ".sl" for HP-UX), so rename the library + # to its proper name (with version) after linking. + _LT_AC_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib' + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | grep "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' + + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath,$libdir' + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' + + # Archives containing C++ object files must be created using + # "CC -Bstatic", where "CC" is the KAI C++ compiler. + _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs' + ;; + icpc) + # Intel C++ + with_gnu_ld=yes + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive' + ;; + cxx) + # Compaq C++ + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols' + + runpath_var=LD_RUN_PATH + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' + ;; + esac + ;; + lynxos*) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + m88k*) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + mvs*) + case $cc_basename in + cxx) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + *) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + esac + ;; + netbsd*) + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags' + wlarc= + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + fi + # Workaround some broken pre-1.5 toolchains + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"' + ;; + osf3*) + case $cc_basename in + KCC) + # Kuck and Associates, Inc. (KAI) C++ Compiler + + # KCC will only create a shared library if the output file + # ends with ".so" (or ".sl" for HP-UX), so rename the library + # to its proper name (with version) after linking. + _LT_AC_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' + + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + + # Archives containing C++ object files must be created using + # "CC -Bstatic", where "CC" is the KAI C++ compiler. + _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs' + + ;; + RCC) + # Rational C++ 2.4.1 + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + cxx) + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${objdir}/so_locations -o $lib' + + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' + ;; + *) + if test "$GXX" = yes && test "$with_gnu_ld" = no; then + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib' + + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"' + + else + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + fi + ;; + esac + ;; + osf4* | osf5*) + case $cc_basename in + KCC) + # Kuck and Associates, Inc. (KAI) C++ Compiler + + # KCC will only create a shared library if the output file + # ends with ".so" (or ".sl" for HP-UX), so rename the library + # to its proper name (with version) after linking. + _LT_AC_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' + + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + + # Archives containing C++ object files must be created using + # the KAI C++ compiler. + _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -o $oldlib $oldobjs' + ;; + RCC) + # Rational C++ 2.4.1 + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + cxx) + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*' + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~ + echo "-hidden">> $lib.exp~ + $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp `test -n "$verstring" && echo -set_version $verstring` -update_registry $objdir/so_locations -o $lib~ + $rm $lib.exp' + + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' + ;; + *) + if test "$GXX" = yes && test "$with_gnu_ld" = no; then + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib' + + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"' + + else + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + fi + ;; + esac + ;; + psos*) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + sco*) + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no + case $cc_basename in + CC) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + *) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + esac + ;; + sunos4*) + case $cc_basename in + CC) + # Sun C++ 4.x + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + lcc) + # Lucid + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + *) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + esac + ;; + solaris*) + case $cc_basename in + CC) + # Sun C++ 4.2, 5.x and Centerline C++ + _LT_AC_TAGVAR(no_undefined_flag, $1)=' -zdefs' + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $CC -G${allow_undefined_flag} -nolib ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp' + + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + case $host_os in + solaris2.[0-5] | solaris2.[0-5].*) ;; + *) + # The C++ compiler is used as linker so we must use $wl + # flag to pass the commands to the underlying system + # linker. + # Supported since Solaris 2.6 (maybe 2.5.1?) + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' + ;; + esac + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep "\-[[LR]]"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' + + # Archives containing C++ object files must be created using + # "CC -xar", where "CC" is the Sun C++ compiler. This is + # necessary to make sure instantiated templates are included + # in the archive. + _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs' + ;; + gcx) + # Green Hills C++ Compiler + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' + + # The C++ compiler must be used to create the archive. + _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC $LDFLAGS -archive -o $oldlib $oldobjs' + ;; + *) + # GNU C++ compiler with Solaris linker + if test "$GXX" = yes && test "$with_gnu_ld" = no; then + _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-z ${wl}defs' + if $CC --version | grep -v '^2\.7' > /dev/null; then + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp' + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\"" + else + # g++ 2.7 appears to require `-G' NOT `-shared' on this + # platform. + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp' + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\"" + fi + + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $wl$libdir' + fi + ;; + esac + ;; + sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[[78]]* | unixware7*) + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no + ;; + tandem*) + case $cc_basename in + NCC) + # NonStop-UX NCC 3.20 + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + *) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + esac + ;; + vxworks*) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + *) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; +esac +AC_MSG_RESULT([$_LT_AC_TAGVAR(ld_shlibs, $1)]) +test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no + +_LT_AC_TAGVAR(GCC, $1)="$GXX" +_LT_AC_TAGVAR(LD, $1)="$LD" + +AC_LIBTOOL_POSTDEP_PREDEP($1) +AC_LIBTOOL_PROG_COMPILER_PIC($1) +AC_LIBTOOL_PROG_CC_C_O($1) +AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1) +AC_LIBTOOL_PROG_LD_SHLIBS($1) +AC_LIBTOOL_SYS_DYNAMIC_LINKER($1) +AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1) +AC_LIBTOOL_SYS_LIB_STRIP +AC_LIBTOOL_DLOPEN_SELF($1) + +AC_LIBTOOL_CONFIG($1) + +AC_LANG_POP +CC=$lt_save_CC +LDCXX=$LD +LD=$lt_save_LD +GCC=$lt_save_GCC +with_gnu_ldcxx=$with_gnu_ld +with_gnu_ld=$lt_save_with_gnu_ld +lt_cv_path_LDCXX=$lt_cv_path_LD +lt_cv_path_LD=$lt_save_path_LD +lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld +lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld +])# AC_LIBTOOL_LANG_CXX_CONFIG + +# AC_LIBTOOL_POSTDEP_PREDEP([TAGNAME]) +# ------------------------ +# Figure out "hidden" library dependencies from verbose +# compiler output when linking a shared library. +# Parse the compiler output and extract the necessary +# objects, libraries and library flags. +AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP],[ +dnl we can't use the lt_simple_compile_test_code here, +dnl because it contains code intended for an executable, +dnl not a library. It's possible we should let each +dnl tag define a new lt_????_link_test_code variable, +dnl but it's only used here... +ifelse([$1],[],[cat > conftest.$ac_ext < conftest.$ac_ext < conftest.$ac_ext < conftest.$ac_ext <> "$cfgfile" +ifelse([$1], [], +[#! $SHELL + +# `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services. +# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP) +# NOTE: Changes made to this file will be lost: look at ltmain.sh. +# +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001 +# Free Software Foundation, Inc. +# +# This file is part of GNU Libtool: +# Originally by Gordon Matzigkeit , 1996 +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# 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. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +# +# As a special exception to the GNU General Public License, if you +# distribute this file as part of a program that contains a +# configuration script generated by Autoconf, you may include it under +# the same distribution terms that you use for the rest of that program. + +# A sed program that does not truncate output. +SED=$lt_SED + +# Sed that helps us avoid accidentally triggering echo(1) options like -n. +Xsed="$SED -e s/^X//" + +# The HP-UX ksh and POSIX shell print the target directory to stdout +# if CDPATH is set. +if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi + +# The names of the tagged configurations supported by this script. +available_tags= + +# ### BEGIN LIBTOOL CONFIG], +[# ### BEGIN LIBTOOL TAG CONFIG: $tagname]) + +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: + +# Shell to use when invoking shell scripts. +SHELL=$lt_SHELL + +# Whether or not to build shared libraries. +build_libtool_libs=$enable_shared + +# Whether or not to build static libraries. +build_old_libs=$enable_static + +# Whether or not to add -lc for building shared libraries. +build_libtool_need_lc=$_LT_AC_TAGVAR(archive_cmds_need_lc, $1) + +# Whether or not to disallow shared libs when runtime libs are static +allow_libtool_libs_with_static_runtimes=$_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1) + +# Whether or not to optimize for fast installation. +fast_install=$enable_fast_install + +# The host system. +host_alias=$host_alias +host=$host + +# An echo program that does not interpret backslashes. +echo=$lt_echo + +# The archiver. +AR=$lt_AR +AR_FLAGS=$lt_AR_FLAGS + +# A C compiler. +LTCC=$lt_LTCC + +# A language-specific compiler. +CC=$lt_[]_LT_AC_TAGVAR(compiler, $1) + +# Is the compiler the GNU C compiler? +with_gcc=$_LT_AC_TAGVAR(GCC, $1) + +# An ERE matcher. +EGREP=$lt_EGREP + +# The linker used to build libraries. +LD=$lt_[]_LT_AC_TAGVAR(LD, $1) + +# Whether we need hard or soft links. +LN_S=$lt_LN_S + +# A BSD-compatible nm program. +NM=$lt_NM + +# A symbol stripping program +STRIP=$lt_STRIP + +# Used to examine libraries when file_magic_cmd begins "file" +MAGIC_CMD=$MAGIC_CMD + +# Used on cygwin: DLL creation program. +DLLTOOL="$DLLTOOL" + +# Used on cygwin: object dumper. +OBJDUMP="$OBJDUMP" + +# Used on cygwin: assembler. +AS="$AS" + +# The name of the directory that contains temporary libtool files. +objdir=$objdir + +# How to create reloadable object files. +reload_flag=$lt_reload_flag +reload_cmds=$lt_reload_cmds + +# How to pass a linker flag through the compiler. +wl=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_wl, $1) + +# Object file suffix (normally "o"). +objext="$ac_objext" + +# Old archive suffix (normally "a"). +libext="$libext" + +# Shared library suffix (normally ".so"). +shrext_cmds='$shrext_cmds' + +# Executable file suffix (normally ""). +exeext="$exeext" + +# Additional compiler flags for building library objects. +pic_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) +pic_mode=$pic_mode + +# What is the maximum length of a command? +max_cmd_len=$lt_cv_sys_max_cmd_len + +# Does compiler simultaneously support -c and -o options? +compiler_c_o=$lt_[]_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1) + +# Must we lock files when doing compilation ? +need_locks=$lt_need_locks + +# Do we need the lib prefix for modules? +need_lib_prefix=$need_lib_prefix + +# Do we need a version for libraries? +need_version=$need_version + +# Whether dlopen is supported. +dlopen_support=$enable_dlopen + +# Whether dlopen of programs is supported. +dlopen_self=$enable_dlopen_self + +# Whether dlopen of statically linked programs is supported. +dlopen_self_static=$enable_dlopen_self_static + +# Compiler flag to prevent dynamic linking. +link_static_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_static, $1) + +# Compiler flag to turn off builtin functions. +no_builtin_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) + +# Compiler flag to allow reflexive dlopens. +export_dynamic_flag_spec=$lt_[]_LT_AC_TAGVAR(export_dynamic_flag_spec, $1) + +# Compiler flag to generate shared objects directly from archives. +whole_archive_flag_spec=$lt_[]_LT_AC_TAGVAR(whole_archive_flag_spec, $1) + +# Compiler flag to generate thread-safe objects. +thread_safe_flag_spec=$lt_[]_LT_AC_TAGVAR(thread_safe_flag_spec, $1) + +# Library versioning type. +version_type=$version_type + +# Format of library name prefix. +libname_spec=$lt_libname_spec + +# List of archive names. First name is the real one, the rest are links. +# The last name is the one that the linker finds with -lNAME. +library_names_spec=$lt_library_names_spec + +# The coded name of the library, if different from the real name. +soname_spec=$lt_soname_spec + +# Commands used to build and install an old-style archive. +RANLIB=$lt_RANLIB +old_archive_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_cmds, $1) +old_postinstall_cmds=$lt_old_postinstall_cmds +old_postuninstall_cmds=$lt_old_postuninstall_cmds + +# Create an old-style archive from a shared archive. +old_archive_from_new_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_from_new_cmds, $1) + +# Create a temporary old-style archive to link instead of a shared archive. +old_archive_from_expsyms_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1) + +# Commands used to build and install a shared archive. +archive_cmds=$lt_[]_LT_AC_TAGVAR(archive_cmds, $1) +archive_expsym_cmds=$lt_[]_LT_AC_TAGVAR(archive_expsym_cmds, $1) +postinstall_cmds=$lt_postinstall_cmds +postuninstall_cmds=$lt_postuninstall_cmds + +# Commands used to build a loadable module (assumed same as above if empty) +module_cmds=$lt_[]_LT_AC_TAGVAR(module_cmds, $1) +module_expsym_cmds=$lt_[]_LT_AC_TAGVAR(module_expsym_cmds, $1) + +# Commands to strip libraries. +old_striplib=$lt_old_striplib +striplib=$lt_striplib + +# Dependencies to place before the objects being linked to create a +# shared library. +predep_objects=$lt_[]_LT_AC_TAGVAR(predep_objects, $1) + +# Dependencies to place after the objects being linked to create a +# shared library. +postdep_objects=$lt_[]_LT_AC_TAGVAR(postdep_objects, $1) + +# Dependencies to place before the objects being linked to create a +# shared library. +predeps=$lt_[]_LT_AC_TAGVAR(predeps, $1) + +# Dependencies to place after the objects being linked to create a +# shared library. +postdeps=$lt_[]_LT_AC_TAGVAR(postdeps, $1) + +# The library search path used internally by the compiler when linking +# a shared library. +compiler_lib_search_path=$lt_[]_LT_AC_TAGVAR(compiler_lib_search_path, $1) + +# Method to check whether dependent libraries are shared objects. +deplibs_check_method=$lt_deplibs_check_method + +# Command to use when deplibs_check_method == file_magic. +file_magic_cmd=$lt_file_magic_cmd + +# Flag that allows shared libraries with undefined symbols to be built. +allow_undefined_flag=$lt_[]_LT_AC_TAGVAR(allow_undefined_flag, $1) + +# Flag that forces no undefined symbols. +no_undefined_flag=$lt_[]_LT_AC_TAGVAR(no_undefined_flag, $1) + +# Commands used to finish a libtool library installation in a directory. +finish_cmds=$lt_finish_cmds + +# Same as above, but a single script fragment to be evaled but not shown. +finish_eval=$lt_finish_eval + +# Take the output of nm and produce a listing of raw symbols and C names. +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe + +# Transform the output of nm in a proper C declaration +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl + +# Transform the output of nm in a C name address pair +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address + +# This is the shared library runtime path variable. +runpath_var=$runpath_var + +# This is the shared library path variable. +shlibpath_var=$shlibpath_var + +# Is shlibpath searched before the hard-coded library search path? +shlibpath_overrides_runpath=$shlibpath_overrides_runpath + +# How to hardcode a shared library path into an executable. +hardcode_action=$_LT_AC_TAGVAR(hardcode_action, $1) + +# Whether we should hardcode library paths into libraries. +hardcode_into_libs=$hardcode_into_libs + +# Flag to hardcode \$libdir into a binary during linking. +# This must work even if \$libdir does not exist. +hardcode_libdir_flag_spec=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) + +# If ld is used when linking, flag to hardcode \$libdir into +# a binary during linking. This must work even if \$libdir does +# not exist. +hardcode_libdir_flag_spec_ld=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1) + +# Whether we need a single -rpath flag with a separated argument. +hardcode_libdir_separator=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_separator, $1) + +# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the +# resulting binary. +hardcode_direct=$_LT_AC_TAGVAR(hardcode_direct, $1) + +# Set to yes if using the -LDIR flag during linking hardcodes DIR into the +# resulting binary. +hardcode_minus_L=$_LT_AC_TAGVAR(hardcode_minus_L, $1) + +# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into +# the resulting binary. +hardcode_shlibpath_var=$_LT_AC_TAGVAR(hardcode_shlibpath_var, $1) + +# Set to yes if building a shared library automatically hardcodes DIR into the library +# and all subsequent libraries and executables linked against it. +hardcode_automatic=$_LT_AC_TAGVAR(hardcode_automatic, $1) + +# Variables whose values should be saved in libtool wrapper scripts and +# restored at relink time. +variables_saved_for_relink="$variables_saved_for_relink" + +# Whether libtool must link a program against all its dependency libraries. +link_all_deplibs=$_LT_AC_TAGVAR(link_all_deplibs, $1) + +# Compile-time system search path for libraries +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec + +# Run-time system search path for libraries +sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec + +# Fix the shell variable \$srcfile for the compiler. +fix_srcfile_path="$_LT_AC_TAGVAR(fix_srcfile_path, $1)" + +# Set to yes if exported symbols are required. +always_export_symbols=$_LT_AC_TAGVAR(always_export_symbols, $1) + +# The commands to list exported symbols. +export_symbols_cmds=$lt_[]_LT_AC_TAGVAR(export_symbols_cmds, $1) + +# The commands to extract the exported symbol list from a shared archive. +extract_expsyms_cmds=$lt_extract_expsyms_cmds + +# Symbols that should not be listed in the preloaded symbols. +exclude_expsyms=$lt_[]_LT_AC_TAGVAR(exclude_expsyms, $1) + +# Symbols that must always be exported. +include_expsyms=$lt_[]_LT_AC_TAGVAR(include_expsyms, $1) + +ifelse([$1],[], +[# ### END LIBTOOL CONFIG], +[# ### END LIBTOOL TAG CONFIG: $tagname]) + +__EOF__ + +ifelse([$1],[], [ + case $host_os in + aix3*) + cat <<\EOF >> "$cfgfile" + +# AIX sometimes has problems with the GCC collect2 program. For some +# reason, if we set the COLLECT_NAMES environment variable, the problems +# vanish in a puff of smoke. +if test "X${COLLECT_NAMES+set}" != Xset; then + COLLECT_NAMES= + export COLLECT_NAMES +fi +EOF + ;; + esac + + # We use sed instead of cat because bash on DJGPP gets confused if + # if finds mixed CR/LF and LF-only lines. Since sed operates in + # text mode, it properly converts lines to CR/LF. This bash problem + # is reportedly fixed, but why not run on old versions too? + sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1) + + mv -f "$cfgfile" "$ofile" || \ + (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") + chmod +x "$ofile" +]) +else + # If there is no Makefile yet, we rely on a make rule to execute + # `config.status --recheck' to rerun these tests and create the + # libtool script then. + ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'` + if test -f "$ltmain_in"; then + test -f Makefile && make "$ltmain" + fi +fi +])# AC_LIBTOOL_CONFIG + + +# AC_LIBTOOL_PROG_COMPILER_NO_RTTI([TAGNAME]) +# ------------------------------------------- +AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_NO_RTTI], +[AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl + +_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)= + +if test "$GCC" = yes; then + _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin' + + AC_LIBTOOL_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions], + lt_cv_prog_compiler_rtti_exceptions, + [-fno-rtti -fno-exceptions], [], + [_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)="$_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) -fno-rtti -fno-exceptions"]) +fi +])# AC_LIBTOOL_PROG_COMPILER_NO_RTTI + + +# AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE +# --------------------------------- +AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE], +[AC_REQUIRE([AC_CANONICAL_HOST]) +AC_REQUIRE([AC_PROG_NM]) +AC_REQUIRE([AC_OBJEXT]) +# Check for command to grab the raw symbol name followed by C symbol from nm. +AC_MSG_CHECKING([command to parse $NM output from $compiler object]) +AC_CACHE_VAL([lt_cv_sys_global_symbol_pipe], +[ +# These are sane defaults that work on at least a few old systems. +# [They come from Ultrix. What could be older than Ultrix?!! ;)] + +# Character class describing NM global symbol codes. +symcode='[[BCDEGRST]]' + +# Regexp to match symbols that can be accessed directly from C. +sympat='\([[_A-Za-z]][[_A-Za-z0-9]]*\)' + +# Transform the above into a raw symbol and a C symbol. +symxfrm='\1 \2\3 \3' + +# Transform an extracted symbol line into a proper C declaration +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'" + +# Transform an extracted symbol line into symbol name and symbol address +lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" + +# Define system-specific variables. +case $host_os in +aix*) + symcode='[[BCDT]]' + ;; +cygwin* | mingw* | pw32*) + symcode='[[ABCDGISTW]]' + ;; +hpux*) # Its linker distinguishes data from code symbols + if test "$host_cpu" = ia64; then + symcode='[[ABCDEGRST]]' + fi + lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" + lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" + ;; +irix* | nonstopux*) + symcode='[[BCDEGRST]]' + ;; +osf*) + symcode='[[BCDEGQRST]]' + ;; +solaris* | sysv5*) + symcode='[[BDRT]]' + ;; +sysv4) + symcode='[[DFNSTU]]' + ;; +esac + +# Handle CRLF in mingw tool chain +opt_cr= +case $build_os in +mingw*) + opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp + ;; +esac + +# If we're using GNU nm, then use its standard symbol codes. +case `$NM -V 2>&1` in +*GNU* | *'with BFD'*) + symcode='[[ABCDGIRSTW]]' ;; +esac + +# Try without a prefix undercore, then with it. +for ac_symprfx in "" "_"; do + + # Write the raw and C identifiers. + lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[ ]]\($symcode$symcode*\)[[ ]][[ ]]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'" + + # Check to see that the pipe works correctly. + pipe_works=no + + rm -f conftest* + cat > conftest.$ac_ext < $nlist) && test -s "$nlist"; then + # Try sorting and uniquifying the output. + if sort "$nlist" | uniq > "$nlist"T; then + mv -f "$nlist"T "$nlist" + else + rm -f "$nlist"T + fi + + # Make sure that we snagged all the symbols we need. + if grep ' nm_test_var$' "$nlist" >/dev/null; then + if grep ' nm_test_func$' "$nlist" >/dev/null; then + cat < conftest.$ac_ext +#ifdef __cplusplus +extern "C" { +#endif + +EOF + # Now generate the symbol file. + eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext' + + cat <> conftest.$ac_ext +#if defined (__STDC__) && __STDC__ +# define lt_ptr_t void * +#else +# define lt_ptr_t char * +# define const +#endif + +/* The mapping between symbol names and symbols. */ +const struct { + const char *name; + lt_ptr_t address; +} +lt_preloaded_symbols[[]] = +{ +EOF + $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext + cat <<\EOF >> conftest.$ac_ext + {0, (lt_ptr_t) 0} +}; + +#ifdef __cplusplus +} +#endif +EOF + # Now try linking the two files. + mv conftest.$ac_objext conftstm.$ac_objext + lt_save_LIBS="$LIBS" + lt_save_CFLAGS="$CFLAGS" + LIBS="conftstm.$ac_objext" + CFLAGS="$CFLAGS$_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)" + if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext}; then + pipe_works=yes + fi + LIBS="$lt_save_LIBS" + CFLAGS="$lt_save_CFLAGS" + else + echo "cannot find nm_test_func in $nlist" >&AS_MESSAGE_LOG_FD + fi + else + echo "cannot find nm_test_var in $nlist" >&AS_MESSAGE_LOG_FD + fi + else + echo "cannot run $lt_cv_sys_global_symbol_pipe" >&AS_MESSAGE_LOG_FD + fi + else + echo "$progname: failed program was:" >&AS_MESSAGE_LOG_FD + cat conftest.$ac_ext >&5 + fi + rm -f conftest* conftst* + + # Do not use the global_symbol_pipe unless it works. + if test "$pipe_works" = yes; then + break + else + lt_cv_sys_global_symbol_pipe= + fi +done +]) +if test -z "$lt_cv_sys_global_symbol_pipe"; then + lt_cv_sys_global_symbol_to_cdecl= +fi +if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then + AC_MSG_RESULT(failed) +else + AC_MSG_RESULT(ok) +fi +]) # AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE + + +# AC_LIBTOOL_PROG_COMPILER_PIC([TAGNAME]) +# --------------------------------------- +AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_PIC], +[_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)= +_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)= +_LT_AC_TAGVAR(lt_prog_compiler_static, $1)= + +AC_MSG_CHECKING([for $compiler option to produce PIC]) + ifelse([$1],[CXX],[ + # C++ specific cases for pic, static, wl, etc. + if test "$GXX" = yes; then + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static' + + case $host_os in + aix*) + # All AIX code is PIC. + if test "$host_cpu" = ia64; then + # AIX 5 now supports IA64 processor + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + fi + ;; + amigaos*) + # FIXME: we need at least 68020 code to build shared libraries, but + # adding the `-m68020' flag to GCC prevents building anything better, + # like `-m68040'. + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4' + ;; + beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) + # PIC is the default for these OSes. + ;; + mingw* | os2* | pw32*) + # This hack is so that the source file can tell whether it is being + # built for inclusion in a dll (and should export symbols for example). + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT' + ;; + darwin* | rhapsody*) + # PIC is the default on this platform + # Common symbols not allowed in MH_DYLIB files + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common' + ;; + *djgpp*) + # DJGPP does not support shared libraries at all + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)= + ;; + sysv4*MP*) + if test -d /usr/nec; then + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic + fi + ;; + hpux*) + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but + # not for PA HP-UX. + case "$host_cpu" in + hppa*64*|ia64*) + ;; + *) + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' + ;; + esac + ;; + *) + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' + ;; + esac + else + case $host_os in + aix4* | aix5*) + # All AIX code is PIC. + if test "$host_cpu" = ia64; then + # AIX 5 now supports IA64 processor + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + else + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp' + fi + ;; + chorus*) + case $cc_basename in + cxch68) + # Green Hills C++ Compiler + # _LT_AC_TAGVAR(lt_prog_compiler_static, $1)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a" + ;; + esac + ;; + dgux*) + case $cc_basename in + ec++) + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + ;; + ghcx) + # Green Hills C++ Compiler + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic' + ;; + *) + ;; + esac + ;; + freebsd* | kfreebsd*-gnu) + # FreeBSD uses GNU C++ + ;; + hpux9* | hpux10* | hpux11*) + case $cc_basename in + CC) + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive" + if test "$host_cpu" != ia64; then + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z' + fi + ;; + aCC) + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive" + case "$host_cpu" in + hppa*64*|ia64*) + # +Z the default + ;; + *) + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z' + ;; + esac + ;; + *) + ;; + esac + ;; + irix5* | irix6* | nonstopux*) + case $cc_basename in + CC) + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' + # CC pic flag -KPIC is the default. + ;; + *) + ;; + esac + ;; + linux*) + case $cc_basename in + KCC) + # KAI C++ Compiler + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,' + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' + ;; + icpc) + # Intel C++ + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static' + ;; + cxx) + # Compaq C++ + # Make sure the PIC flag is empty. It appears that all Alpha + # Linux and Compaq Tru64 Unix objects are PIC. + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)= + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' + ;; + *) + ;; + esac + ;; + lynxos*) + ;; + m88k*) + ;; + mvs*) + case $cc_basename in + cxx) + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-W c,exportall' + ;; + *) + ;; + esac + ;; + netbsd*) + ;; + osf3* | osf4* | osf5*) + case $cc_basename in + KCC) + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,' + ;; + RCC) + # Rational C++ 2.4.1 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic' + ;; + cxx) + # Digital/Compaq C++ + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + # Make sure the PIC flag is empty. It appears that all Alpha + # Linux and Compaq Tru64 Unix objects are PIC. + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)= + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' + ;; + *) + ;; + esac + ;; + psos*) + ;; + sco*) + case $cc_basename in + CC) + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' + ;; + *) + ;; + esac + ;; + solaris*) + case $cc_basename in + CC) + # Sun C++ 4.2, 5.x and Centerline C++ + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ' + ;; + gcx) + # Green Hills C++ Compiler + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-PIC' + ;; + *) + ;; + esac + ;; + sunos4*) + case $cc_basename in + CC) + # Sun C++ 4.x + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + ;; + lcc) + # Lucid + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic' + ;; + *) + ;; + esac + ;; + tandem*) + case $cc_basename in + NCC) + # NonStop-UX NCC 3.20 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + ;; + *) + ;; + esac + ;; + unixware*) + ;; + vxworks*) + ;; + *) + _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no + ;; + esac + fi +], +[ + if test "$GCC" = yes; then + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static' + + case $host_os in + aix*) + # All AIX code is PIC. + if test "$host_cpu" = ia64; then + # AIX 5 now supports IA64 processor + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + fi + ;; + + amigaos*) + # FIXME: we need at least 68020 code to build shared libraries, but + # adding the `-m68020' flag to GCC prevents building anything better, + # like `-m68040'. + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4' + ;; + + beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) + # PIC is the default for these OSes. + ;; + + mingw* | pw32* | os2*) + # This hack is so that the source file can tell whether it is being + # built for inclusion in a dll (and should export symbols for example). + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT' + ;; + + darwin* | rhapsody*) + # PIC is the default on this platform + # Common symbols not allowed in MH_DYLIB files + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common' + ;; + + msdosdjgpp*) + # Just because we use GCC doesn't mean we suddenly get shared libraries + # on systems that don't support them. + _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no + enable_shared=no + ;; + + sysv4*MP*) + if test -d /usr/nec; then + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic + fi + ;; + + hpux*) + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but + # not for PA HP-UX. + case "$host_cpu" in + hppa*64*|ia64*) + # +Z the default + ;; + *) + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' + ;; + esac + ;; + + *) + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' + ;; + esac + else + # PORTME Check for flag to pass linker flags through the system compiler. + case $host_os in + aix*) + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + if test "$host_cpu" = ia64; then + # AIX 5 now supports IA64 processor + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + else + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp' + fi + ;; + + mingw* | pw32* | os2*) + # This hack is so that the source file can tell whether it is being + # built for inclusion in a dll (and should export symbols for example). + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT' + ;; + + hpux9* | hpux10* | hpux11*) + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but + # not for PA HP-UX. + case "$host_cpu" in + hppa*64*|ia64*) + # +Z the default + ;; + *) + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z' + ;; + esac + # Is there a better lt_prog_compiler_static that works with the bundled CC? + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive' + ;; + + irix5* | irix6* | nonstopux*) + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + # PIC (with -KPIC) is the default. + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' + ;; + + newsos6) + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + ;; + + linux*) + case $CC in + icc* | ecc*) + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static' + ;; + ccc*) + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + # All Alpha code is PIC. + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' + ;; + esac + ;; + + osf3* | osf4* | osf5*) + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + # All OSF/1 code is PIC. + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' + ;; + + sco3.2v5*) + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-Kpic' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-dn' + ;; + + solaris*) + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + ;; + + sunos4*) + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ' + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-PIC' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + ;; + + sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + ;; + + sysv4*MP*) + if test -d /usr/nec ;then + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-Kconform_pic' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + fi + ;; + + uts4*) + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + ;; + + *) + _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no + ;; + esac + fi +]) +AC_MSG_RESULT([$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)]) + +# +# Check to make sure the PIC flag actually works. +# +if test -n "$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)"; then + AC_LIBTOOL_COMPILER_OPTION([if $compiler PIC flag $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) works], + _LT_AC_TAGVAR(lt_prog_compiler_pic_works, $1), + [$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)ifelse([$1],[],[ -DPIC],[ifelse([$1],[CXX],[ -DPIC],[])])], [], + [case $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) in + "" | " "*) ;; + *) _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=" $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)" ;; + esac], + [_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)= + _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no]) +fi +case "$host_os" in + # For platforms which do not support PIC, -DPIC is meaningless: + *djgpp*) + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)= + ;; + *) + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)="$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)ifelse([$1],[],[ -DPIC],[ifelse([$1],[CXX],[ -DPIC],[])])" + ;; +esac +]) + + +# AC_LIBTOOL_PROG_LD_SHLIBS([TAGNAME]) +# ------------------------------------ +# See if the linker supports building shared libraries. +AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS], +[AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries]) +ifelse([$1],[CXX],[ + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' + case $host_os in + aix4* | aix5*) + # If we're using GNU nm, then we don't want the "-C" option. + # -C means demangle to AIX nm, but means don't demangle with GNU nm + if $NM -V 2>&1 | grep 'GNU' > /dev/null; then + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols' + else + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols' + fi + ;; + pw32*) + _LT_AC_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds" + ;; + cygwin* | mingw*) + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGS]] /s/.* \([[^ ]]*\)/\1 DATA/'\'' | $SED -e '\''/^[[AITW]] /s/.* //'\'' | sort | uniq > $export_symbols' + ;; + *) + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' + ;; + esac +],[ + runpath_var= + _LT_AC_TAGVAR(allow_undefined_flag, $1)= + _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no + _LT_AC_TAGVAR(archive_cmds, $1)= + _LT_AC_TAGVAR(archive_expsym_cmds, $1)= + _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)= + _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1)= + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)= + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)= + _LT_AC_TAGVAR(thread_safe_flag_spec, $1)= + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)= + _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)= + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)= + _LT_AC_TAGVAR(hardcode_direct, $1)=no + _LT_AC_TAGVAR(hardcode_minus_L, $1)=no + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported + _LT_AC_TAGVAR(link_all_deplibs, $1)=unknown + _LT_AC_TAGVAR(hardcode_automatic, $1)=no + _LT_AC_TAGVAR(module_cmds, $1)= + _LT_AC_TAGVAR(module_expsym_cmds, $1)= + _LT_AC_TAGVAR(always_export_symbols, $1)=no + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' + # include_expsyms should be a list of space-separated symbols to be *always* + # included in the symbol list + _LT_AC_TAGVAR(include_expsyms, $1)= + # exclude_expsyms can be an extended regexp of symbols to exclude + # it will be wrapped by ` (' and `)$', so one must not match beginning or + # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', + # as well as any symbol that contains `d'. + _LT_AC_TAGVAR(exclude_expsyms, $1)="_GLOBAL_OFFSET_TABLE_" + # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out + # platforms (ab)use it in PIC code, but their linkers get confused if + # the symbol is explicitly referenced. Since portable code cannot + # rely on this symbol name, it's probably fine to never include it in + # preloaded symbol tables. + extract_expsyms_cmds= + + case $host_os in + cygwin* | mingw* | pw32*) + # FIXME: the MSVC++ port hasn't been tested in a loooong time + # When not using gcc, we currently assume that we are using + # Microsoft Visual C++. + if test "$GCC" != yes; then + with_gnu_ld=no + fi + ;; + openbsd*) + with_gnu_ld=no + ;; + esac + + _LT_AC_TAGVAR(ld_shlibs, $1)=yes + if test "$with_gnu_ld" = yes; then + # If archive_cmds runs LD, not CC, wlarc should be empty + wlarc='${wl}' + + # See if GNU ld supports shared libraries. + case $host_os in + aix3* | aix4* | aix5*) + # On AIX/PPC, the GNU linker is very broken + if test "$host_cpu" != ia64; then + _LT_AC_TAGVAR(ld_shlibs, $1)=no + cat <&2 + +*** Warning: the GNU linker, at least up to release 2.9.1, is reported +*** to be unable to reliably create shared libraries on AIX. +*** Therefore, libtool is disabling shared libraries support. If you +*** really care for shared libraries, you may want to modify your PATH +*** so that a non-GNU linker is found, and then restart. + +EOF + fi + ;; + + amigaos*) + _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes + + # Samuel A. Falvo II reports + # that the semantics of dynamic libraries on AmigaOS, at least up + # to version 4, is to share data among multiple programs linked + # with the same dynamic library. Since this doesn't match the + # behavior of shared libraries on other platforms, we can't use + # them. + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + + beos*) + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported + # Joseph Beckenbach says some releases of gcc + # support --undefined. This deserves some investigation. FIXME + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + else + _LT_AC_TAGVAR(ld_shlibs, $1)=no + fi + ;; + + cygwin* | mingw* | pw32*) + # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless, + # as there is no search path for DLLs. + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported + _LT_AC_TAGVAR(always_export_symbols, $1)=no + _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGS]] /s/.* \([[^ ]]*\)/\1 DATA/'\'' | $SED -e '\''/^[[AITW]] /s/.* //'\'' | sort | uniq > $export_symbols' + + if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' + # If the export-symbols file already is a .def file (1st line + # is EXPORTS), use it as is; otherwise, prepend... + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then + cp $export_symbols $output_objdir/$soname.def; + else + echo EXPORTS > $output_objdir/$soname.def; + cat $export_symbols >> $output_objdir/$soname.def; + fi~ + $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' + else + ld_shlibs=no + fi + ;; + + netbsd*) + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' + wlarc= + else + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + fi + ;; + + solaris* | sysv5*) + if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then + _LT_AC_TAGVAR(ld_shlibs, $1)=no + cat <&2 + +*** Warning: The releases 2.8.* of the GNU linker cannot reliably +*** create shared libraries on Solaris systems. Therefore, libtool +*** is disabling shared libraries support. We urge you to upgrade GNU +*** binutils to release 2.9.1 or newer. Another option is to modify +*** your PATH or compiler configuration so that the native linker is +*** used, and then restart. + +EOF + elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + else + _LT_AC_TAGVAR(ld_shlibs, $1)=no + fi + ;; + + sunos4*) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' + wlarc= + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + + linux*) + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + _LT_AC_TAGVAR(archive_cmds, $1)="$tmp_archive_cmds" + supports_anon_versioning=no + case `$LD -v 2>/dev/null` in + *\ [01].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11 + *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... + *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... + *\ 2.11.*) ;; # other 2.11 versions + *) supports_anon_versioning=yes ;; + esac + if test $supports_anon_versioning = yes; then + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $output_objdir/$libname.ver~ +cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ +$echo "local: *; };" >> $output_objdir/$libname.ver~ + $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' + else + _LT_AC_TAGVAR(archive_expsym_cmds, $1)="$tmp_archive_cmds" + fi + else + _LT_AC_TAGVAR(ld_shlibs, $1)=no + fi + ;; + + *) + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + else + _LT_AC_TAGVAR(ld_shlibs, $1)=no + fi + ;; + esac + + if test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = yes; then + runpath_var=LD_RUN_PATH + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir' + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' + # ancient GNU ld didn't support --whole-archive et. al. + if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' + else + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)= + fi + fi + else + # PORTME fill in a description of your system's linker (not GNU ld) + case $host_os in + aix3*) + _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported + _LT_AC_TAGVAR(always_export_symbols, $1)=yes + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' + # Note: this linker hardcodes the directories in LIBPATH if there + # are no directories specified by -L. + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes + if test "$GCC" = yes && test -z "$link_static_flag"; then + # Neither direct hardcoding nor static linking is supported with a + # broken collect2. + _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported + fi + ;; + + aix4* | aix5*) + if test "$host_cpu" = ia64; then + # On IA64, the linker does run time linking by default, so we don't + # have to do anything special. + aix_use_runtimelinking=no + exp_sym_flag='-Bexport' + no_entry_flag="" + else + # If we're using GNU nm, then we don't want the "-C" option. + # -C means demangle to AIX nm, but means don't demangle with GNU nm + if $NM -V 2>&1 | grep 'GNU' > /dev/null; then + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols' + else + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols' + fi + aix_use_runtimelinking=no + + # Test if we are trying to use run time linking or normal + # AIX style linking. If -brtl is somewhere in LDFLAGS, we + # need to do runtime linking. + case $host_os in aix4.[[23]]|aix4.[[23]].*|aix5*) + for ld_flag in $LDFLAGS; do + if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then + aix_use_runtimelinking=yes + break + fi + done + esac + + exp_sym_flag='-bexport' + no_entry_flag='-bnoentry' + fi + + # When large executables or shared objects are built, AIX ld can + # have problems creating the table of contents. If linking a library + # or program results in "error TOC overflow" add -mminimal-toc to + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. + + _LT_AC_TAGVAR(archive_cmds, $1)='' + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':' + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes + + if test "$GCC" = yes; then + case $host_os in aix4.[012]|aix4.[012].*) + # We only want to do this on AIX 4.2 and lower, the check + # below for broken collect2 doesn't work under 4.3+ + collect2name=`${CC} -print-prog-name=collect2` + if test -f "$collect2name" && \ + strings "$collect2name" | grep resolve_lib_name >/dev/null + then + # We have reworked collect2 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + else + # We have old collect2 + _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported + # It fails to find uninstalled libraries when the uninstalled + # path is not listed in the libpath. Setting hardcode_minus_L + # to unsupported forces relinking + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)= + fi + esac + shared_flag='-shared' + else + # not using gcc + if test "$host_cpu" = ia64; then + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release + # chokes on -Wl,-G. The following line is correct: + shared_flag='-G' + else + if test "$aix_use_runtimelinking" = yes; then + shared_flag='${wl}-G' + else + shared_flag='${wl}-bM:SRE' + fi + fi + fi + + # It seems that -bexpall does not export symbols beginning with + # underscore (_), so it is better to generate a list of symbols to export. + _LT_AC_TAGVAR(always_export_symbols, $1)=yes + if test "$aix_use_runtimelinking" = yes; then + # Warning - without using the other runtime loading flags (-brtl), + # -berok will link without error, but may produce a broken library. + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-berok' + # Determine the default libpath from the value encoded in an empty executable. + _LT_AC_SYS_LIBPATH_AIX + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" + _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag" + else + if test "$host_cpu" = ia64; then + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib' + _LT_AC_TAGVAR(allow_undefined_flag, $1)="-z nodefs" + _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols" + else + # Determine the default libpath from the value encoded in an empty executable. + _LT_AC_SYS_LIBPATH_AIX + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" + # Warning - without using the other run time loading flags, + # -berok will link without error, but may produce a broken library. + _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok' + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok' + # -bexpall does not export symbols beginning with underscore (_) + _LT_AC_TAGVAR(always_export_symbols, $1)=yes + # Exported symbols can be pulled into shared objects from archives + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=' ' + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes + # This is similar to how AIX traditionally builds it's shared libraries. + _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' + fi + fi + ;; + + amigaos*) + _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes + # see comment about different semantics on the GNU ld section + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + + bsdi4*) + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=-rdynamic + ;; + + cygwin* | mingw* | pw32*) + # When not using gcc, we currently assume that we are using + # Microsoft Visual C++. + # hardcode_libdir_flag_spec is actually meaningless, as there is + # no search path for DLLs. + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=' ' + _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported + # Tell ltmain to make .lib files, not .a files. + libext=lib + # Tell ltmain to make .dll files, not .so files. + shrext_cmds=".dll" + # FIXME: Setting linknames here is a bad hack. + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames=' + # The linker will automatically build a .lib file if we build a DLL. + _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)='true' + # FIXME: Should let the user specify the lib program. + _LT_AC_TAGVAR(old_archive_cmds, $1)='lib /OUT:$oldlib$oldobjs$old_deplibs' + fix_srcfile_path='`cygpath -w "$srcfile"`' + _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes + ;; + + darwin* | rhapsody*) + if test "$GXX" = yes ; then + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no + case "$host_os" in + rhapsody* | darwin1.[[012]]) + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined suppress' + ;; + *) # Darwin 1.3 on + if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress' + else + case ${MACOSX_DEPLOYMENT_TARGET} in + 10.[[012]]) + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress' + ;; + 10.*) + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined dynamic_lookup' + ;; + esac + fi + ;; + esac + lt_int_apple_cc_single_mod=no + output_verbose_link_cmd='echo' + if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then + lt_int_apple_cc_single_mod=yes + fi + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' + else + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring' + fi + _LT_AC_TAGVAR(module_cmds, $1)='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + else + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + fi + _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + _LT_AC_TAGVAR(hardcode_direct, $1)=no + _LT_AC_TAGVAR(hardcode_automatic, $1)=yes + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-all_load $convenience' + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes + else + _LT_AC_TAGVAR(ld_shlibs, $1)=no + fi + ;; + + dgux*) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + + freebsd1*) + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + + # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor + # support. Future versions do this automatically, but an explicit c++rt0.o + # does not break anything, and helps significantly (at the cost of a little + # extra space). + freebsd2.2*) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + + # Unfortunately, older versions of FreeBSD 2 do not have this feature. + freebsd2*) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + + # FreeBSD 3 and greater uses gcc -shared to do shared libraries. + freebsd* | kfreebsd*-gnu) + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + + hpux9*) + if test "$GCC" = yes; then + _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + else + _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + fi + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' + ;; + + hpux10* | hpux11*) + if test "$GCC" = yes -a "$with_gnu_ld" = no; then + case "$host_cpu" in + hppa*64*|ia64*) + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + ;; + *) + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' + ;; + esac + else + case "$host_cpu" in + hppa*64*|ia64*) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags' + ;; + *) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' + ;; + esac + fi + if test "$with_gnu_ld" = no; then + case "$host_cpu" in + hppa*64*) + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + _LT_AC_TAGVAR(hardcode_direct, $1)=no + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + ia64*) + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_AC_TAGVAR(hardcode_direct, $1)=no + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes + ;; + *) + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' + + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes + ;; + esac + fi + ;; + + irix5* | irix6* | nonstopux*) + if test "$GCC" = yes; then + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + else + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='-rpath $libdir' + fi + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes + ;; + + netbsd*) + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out + else + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF + fi + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + + newsos6) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + + openbsd*) + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' + else + case $host_os in + openbsd[[01]].* | openbsd2.[[0-7]] | openbsd2.[[0-7]].*) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' + ;; + *) + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' + ;; + esac + fi + ;; + + os2*) + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes + _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported + _LT_AC_TAGVAR(archive_cmds, $1)='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' + _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' + ;; + + osf3*) + if test "$GCC" = yes; then + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + else + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*' + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' + fi + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + ;; + + osf4* | osf5*) # as osf3* with the addition of -msym flag + if test "$GCC" = yes; then + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' + else + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*' + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~ + $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp' + + # Both c and cxx compiler support -rpath directly + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir' + fi + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + ;; + + sco3.2v5*) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport' + runpath_var=LD_RUN_PATH + hardcode_runpath_var=yes + ;; + + solaris*) + _LT_AC_TAGVAR(no_undefined_flag, $1)=' -z text' + if test "$GCC" = yes; then + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp' + else + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' + fi + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + case $host_os in + solaris2.[[0-5]] | solaris2.[[0-5]].*) ;; + *) # Supported since Solaris 2.6 (maybe 2.5.1?) + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract' ;; + esac + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes + ;; + + sunos4*) + if test "x$host_vendor" = xsequent; then + # Use $CC to link under sequent, because it throws in some extra .o + # files that make .init and .fini sections work. + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' + else + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' + fi + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + + sysv4) + case $host_vendor in + sni) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + _LT_AC_TAGVAR(hardcode_direct, $1)=yes # is this really true??? + ;; + siemens) + ## LD is ld it makes a PLAMLIB + ## CC just makes a GrossModule. + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags' + _LT_AC_TAGVAR(reload_cmds, $1)='$CC -r -o $output$reload_objs' + _LT_AC_TAGVAR(hardcode_direct, $1)=no + ;; + motorola) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + _LT_AC_TAGVAR(hardcode_direct, $1)=no #Motorola manual says yes, but my tests say they lie + ;; + esac + runpath_var='LD_RUN_PATH' + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + + sysv4.3*) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='-Bexport' + ;; + + sysv4*MP*) + if test -d /usr/nec; then + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + runpath_var=LD_RUN_PATH + hardcode_runpath_var=yes + _LT_AC_TAGVAR(ld_shlibs, $1)=yes + fi + ;; + + sysv4.2uw2*) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags' + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(hardcode_minus_L, $1)=no + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + hardcode_runpath_var=yes + runpath_var=LD_RUN_PATH + ;; + + sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[[78]]* | unixware7*) + _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z ${wl}text' + if test "$GCC" = yes; then + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + else + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + fi + runpath_var='LD_RUN_PATH' + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + + sysv5*) + _LT_AC_TAGVAR(no_undefined_flag, $1)=' -z text' + # $CC -shared without GNU ld will not create a library from C++ + # object files and a static libstdc++, better avoid it by now + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)= + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + runpath_var='LD_RUN_PATH' + ;; + + uts4*) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + + *) + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + esac + fi +]) +AC_MSG_RESULT([$_LT_AC_TAGVAR(ld_shlibs, $1)]) +test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no + +variables_saved_for_relink="PATH $shlibpath_var $runpath_var" +if test "$GCC" = yes; then + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" +fi + +# +# Do we need to explicitly link libc? +# +case "x$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)" in +x|xyes) + # Assume -lc should be added + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes + + if test "$enable_shared" = yes && test "$GCC" = yes; then + case $_LT_AC_TAGVAR(archive_cmds, $1) in + *'~'*) + # FIXME: we may have to deal with multi-command sequences. + ;; + '$CC '*) + # Test whether the compiler implicitly links with -lc since on some + # systems, -lgcc has to come before -lc. If gcc already passes -lc + # to ld, don't add -lc before -lgcc. + AC_MSG_CHECKING([whether -lc should be explicitly linked in]) + $rm conftest* + printf "$lt_simple_compile_test_code" > conftest.$ac_ext + + if AC_TRY_EVAL(ac_compile) 2>conftest.err; then + soname=conftest + lib=conftest + libobjs=conftest.$ac_objext + deplibs= + wl=$_LT_AC_TAGVAR(lt_prog_compiler_wl, $1) + compiler_flags=-v + linker_flags=-v + verstring= + output_objdir=. + libname=conftest + lt_save_allow_undefined_flag=$_LT_AC_TAGVAR(allow_undefined_flag, $1) + _LT_AC_TAGVAR(allow_undefined_flag, $1)= + if AC_TRY_EVAL(_LT_AC_TAGVAR(archive_cmds, $1) 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) + then + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no + else + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes + fi + _LT_AC_TAGVAR(allow_undefined_flag, $1)=$lt_save_allow_undefined_flag + else + cat conftest.err 1>&5 + fi + $rm conftest* + AC_MSG_RESULT([$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)]) + ;; + esac + fi + ;; +esac +])# AC_LIBTOOL_PROG_LD_SHLIBS + + +# _LT_AC_FILE_LTDLL_C +# ------------------- +# Be careful that the start marker always follows a newline. +AC_DEFUN([_LT_AC_FILE_LTDLL_C], [ +# /* ltdll.c starts here */ +# #define WIN32_LEAN_AND_MEAN +# #include +# #undef WIN32_LEAN_AND_MEAN +# #include +# +# #ifndef __CYGWIN__ +# # ifdef __CYGWIN32__ +# # define __CYGWIN__ __CYGWIN32__ +# # endif +# #endif +# +# #ifdef __cplusplus +# extern "C" { +# #endif +# BOOL APIENTRY DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved); +# #ifdef __cplusplus +# } +# #endif +# +# #ifdef __CYGWIN__ +# #include +# DECLARE_CYGWIN_DLL( DllMain ); +# #endif +# HINSTANCE __hDllInstance_base; +# +# BOOL APIENTRY +# DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved) +# { +# __hDllInstance_base = hInst; +# return TRUE; +# } +# /* ltdll.c ends here */ +])# _LT_AC_FILE_LTDLL_C + + +# _LT_AC_TAGVAR(VARNAME, [TAGNAME]) +# --------------------------------- +AC_DEFUN([_LT_AC_TAGVAR], [ifelse([$2], [], [$1], [$1_$2])]) + + +# old names +AC_DEFUN([AM_PROG_LIBTOOL], [AC_PROG_LIBTOOL]) +AC_DEFUN([AM_ENABLE_SHARED], [AC_ENABLE_SHARED($@)]) +AC_DEFUN([AM_ENABLE_STATIC], [AC_ENABLE_STATIC($@)]) +AC_DEFUN([AM_DISABLE_SHARED], [AC_DISABLE_SHARED($@)]) +AC_DEFUN([AM_DISABLE_STATIC], [AC_DISABLE_STATIC($@)]) +AC_DEFUN([AM_PROG_LD], [AC_PROG_LD]) +AC_DEFUN([AM_PROG_NM], [AC_PROG_NM]) + +# This is just to silence aclocal about the macro not being used +ifelse([AC_DISABLE_FAST_INSTALL]) + +AC_DEFUN([LT_AC_PROG_GCJ], +[AC_CHECK_TOOL(GCJ, gcj, no) + test "x${GCJFLAGS+set}" = xset || GCJFLAGS="-g -O2" + AC_SUBST(GCJFLAGS) +]) + +AC_DEFUN([LT_AC_PROG_RC], +[AC_CHECK_TOOL(RC, windres, no) +]) + +# NOTE: This macro has been submitted for inclusion into # +# GNU Autoconf as AC_PROG_SED. When it is available in # +# a released version of Autoconf we should remove this # +# macro and use it instead. # +# LT_AC_PROG_SED +# -------------- +# Check for a fully-functional sed program, that truncates +# as few characters as possible. Prefer GNU sed if found. +AC_DEFUN([LT_AC_PROG_SED], +[AC_MSG_CHECKING([for a sed that does not truncate output]) +AC_CACHE_VAL(lt_cv_path_SED, +[# Loop through the user's path and test for sed and gsed. +# Then use that list of sed's as ones to test for truncation. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for lt_ac_prog in sed gsed; do + for ac_exec_ext in '' $ac_executable_extensions; do + if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then + lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext" + fi + done + done +done +lt_ac_max=0 +lt_ac_count=0 +# Add /usr/xpg4/bin/sed as it is typically found on Solaris +# along with /bin/sed that truncates output. +for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do + test ! -f $lt_ac_sed && break + cat /dev/null > conftest.in + lt_ac_count=0 + echo $ECHO_N "0123456789$ECHO_C" >conftest.in + # Check for GNU sed and select it if it is found. + if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then + lt_cv_path_SED=$lt_ac_sed + break + fi + while true; do + cat conftest.in conftest.in >conftest.tmp + mv conftest.tmp conftest.in + cp conftest.in conftest.nl + echo >>conftest.nl + $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break + cmp -s conftest.out conftest.nl || break + # 10000 chars as input seems more than enough + test $lt_ac_count -gt 10 && break + lt_ac_count=`expr $lt_ac_count + 1` + if test $lt_ac_count -gt $lt_ac_max; then + lt_ac_max=$lt_ac_count + lt_cv_path_SED=$lt_ac_sed + fi + done +done +SED=$lt_cv_path_SED +]) +AC_MSG_RESULT([$SED]) +]) + +# -*- Autoconf -*- +# Copyright (C) 2002, 2003 Free Software Foundation, Inc. +# Generated from amversion.in; do not edit by hand. + +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. + +# 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. + +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA + +# AM_AUTOMAKE_VERSION(VERSION) +# ---------------------------- +# Automake X.Y traces this macro to ensure aclocal.m4 has been +# generated from the m4 files accompanying Automake X.Y. +AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version="1.8"]) + +# AM_SET_CURRENT_AUTOMAKE_VERSION +# ------------------------------- +# Call AM_AUTOMAKE_VERSION so it can be traced. +# This function is AC_REQUIREd by AC_INIT_AUTOMAKE. +AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], + [AM_AUTOMAKE_VERSION([1.8.3])]) + +# AM_AUX_DIR_EXPAND + +# Copyright (C) 2001, 2003 Free Software Foundation, Inc. + +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. + +# 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. + +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA +# 02111-1307, USA. + +# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets +# $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to +# `$srcdir', `$srcdir/..', or `$srcdir/../..'. +# +# Of course, Automake must honor this variable whenever it calls a +# tool from the auxiliary directory. The problem is that $srcdir (and +# therefore $ac_aux_dir as well) can be either absolute or relative, +# depending on how configure is run. This is pretty annoying, since +# it makes $ac_aux_dir quite unusable in subdirectories: in the top +# source directory, any form will work fine, but in subdirectories a +# relative path needs to be adjusted first. +# +# $ac_aux_dir/missing +# fails when called from a subdirectory if $ac_aux_dir is relative +# $top_srcdir/$ac_aux_dir/missing +# fails if $ac_aux_dir is absolute, +# fails when called from a subdirectory in a VPATH build with +# a relative $ac_aux_dir +# +# The reason of the latter failure is that $top_srcdir and $ac_aux_dir +# are both prefixed by $srcdir. In an in-source build this is usually +# harmless because $srcdir is `.', but things will broke when you +# start a VPATH build or use an absolute $srcdir. +# +# So we could use something similar to $top_srcdir/$ac_aux_dir/missing, +# iff we strip the leading $srcdir from $ac_aux_dir. That would be: +# am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"` +# and then we would define $MISSING as +# MISSING="\${SHELL} $am_aux_dir/missing" +# This will work as long as MISSING is not called from configure, because +# unfortunately $(top_srcdir) has no meaning in configure. +# However there are other variables, like CC, which are often used in +# configure, and could therefore not use this "fixed" $ac_aux_dir. +# +# Another solution, used here, is to always expand $ac_aux_dir to an +# absolute PATH. The drawback is that using absolute paths prevent a +# configured tree to be moved without reconfiguration. + +AC_DEFUN([AM_AUX_DIR_EXPAND], +[dnl Rely on autoconf to set up CDPATH properly. +AC_PREREQ([2.50])dnl +# expand $ac_aux_dir to an absolute path +am_aux_dir=`cd $ac_aux_dir && pwd` +]) + +# AM_CONDITIONAL -*- Autoconf -*- + +# Copyright (C) 1997, 2000, 2001, 2003 Free Software Foundation, Inc. + +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. + +# 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. + +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA +# 02111-1307, USA. + +# serial 6 + +# AM_CONDITIONAL(NAME, SHELL-CONDITION) +# ------------------------------------- +# Define a conditional. +AC_DEFUN([AM_CONDITIONAL], +[AC_PREREQ(2.52)dnl + ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])], + [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl +AC_SUBST([$1_TRUE]) +AC_SUBST([$1_FALSE]) +if $2; then + $1_TRUE= + $1_FALSE='#' +else + $1_TRUE='#' + $1_FALSE= +fi +AC_CONFIG_COMMANDS_PRE( +[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then + AC_MSG_ERROR([conditional "$1" was never defined. +Usually this means the macro was only invoked conditionally.]) +fi])]) + +# serial 7 -*- Autoconf -*- + +# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004 +# Free Software Foundation, Inc. + +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. + +# 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. + +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA +# 02111-1307, USA. + + +# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be +# written in clear, in which case automake, when reading aclocal.m4, +# will think it sees a *use*, and therefore will trigger all it's +# C support machinery. Also note that it means that autoscan, seeing +# CC etc. in the Makefile, will ask for an AC_PROG_CC use... + + + +# _AM_DEPENDENCIES(NAME) +# ---------------------- +# See how the compiler implements dependency checking. +# NAME is "CC", "CXX", "GCJ", or "OBJC". +# We try a few techniques and use that to set a single cache variable. +# +# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was +# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular +# dependency, and given that the user is not expected to run this macro, +# just rely on AC_PROG_CC. +AC_DEFUN([_AM_DEPENDENCIES], +[AC_REQUIRE([AM_SET_DEPDIR])dnl +AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl +AC_REQUIRE([AM_MAKE_INCLUDE])dnl +AC_REQUIRE([AM_DEP_TRACK])dnl + +ifelse([$1], CC, [depcc="$CC" am_compiler_list=], + [$1], CXX, [depcc="$CXX" am_compiler_list=], + [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'], + [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'], + [depcc="$$1" am_compiler_list=]) + +AC_CACHE_CHECK([dependency style of $depcc], + [am_cv_$1_dependencies_compiler_type], +[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then + # We make a subdir and do the tests there. Otherwise we can end up + # making bogus files that we don't know about and never remove. For + # instance it was reported that on HP-UX the gcc test will end up + # making a dummy file named `D' -- because `-MD' means `put the output + # in D'. + mkdir conftest.dir + # Copy depcomp to subdir because otherwise we won't find it if we're + # using a relative directory. + cp "$am_depcomp" conftest.dir + cd conftest.dir + # We will build objects and dependencies in a subdirectory because + # it helps to detect inapplicable dependency modes. For instance + # both Tru64's cc and ICC support -MD to output dependencies as a + # side effect of compilation, but ICC will put the dependencies in + # the current directory while Tru64 will put them in the object + # directory. + mkdir sub + + am_cv_$1_dependencies_compiler_type=none + if test "$am_compiler_list" = ""; then + am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp` + fi + for depmode in $am_compiler_list; do + # Setup a source with many dependencies, because some compilers + # like to wrap large dependency lists on column 80 (with \), and + # we should not choose a depcomp mode which is confused by this. + # + # We need to recreate these files for each test, as the compiler may + # overwrite some of them when testing with obscure command lines. + # This happens at least with the AIX C compiler. + : > sub/conftest.c + for i in 1 2 3 4 5 6; do + echo '#include "conftst'$i'.h"' >> sub/conftest.c + # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with + # Solaris 8's {/usr,}/bin/sh. + touch sub/conftst$i.h + done + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf + + case $depmode in + nosideeffect) + # after this tag, mechanisms are not by side-effect, so they'll + # only be used when explicitly requested + if test "x$enable_dependency_tracking" = xyes; then + continue + else + break + fi + ;; + none) break ;; + esac + # We check with `-c' and `-o' for the sake of the "dashmstdout" + # mode. It turns out that the SunPro C++ compiler does not properly + # handle `-M -o', and we need to detect this. + if depmode=$depmode \ + source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ + $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ + >/dev/null 2>conftest.err && + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && + grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then + # icc doesn't choke on unknown options, it will just issue warnings + # (even with -Werror). So we grep stderr for any message + # that says an option was ignored. + if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else + am_cv_$1_dependencies_compiler_type=$depmode + break + fi + fi + done + + cd .. + rm -rf conftest.dir +else + am_cv_$1_dependencies_compiler_type=none +fi +]) +AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type]) +AM_CONDITIONAL([am__fastdep$1], [ + test "x$enable_dependency_tracking" != xno \ + && test "$am_cv_$1_dependencies_compiler_type" = gcc3]) +]) + + +# AM_SET_DEPDIR +# ------------- +# Choose a directory name for dependency files. +# This macro is AC_REQUIREd in _AM_DEPENDENCIES +AC_DEFUN([AM_SET_DEPDIR], +[AC_REQUIRE([AM_SET_LEADING_DOT])dnl +AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl +]) + + +# AM_DEP_TRACK +# ------------ +AC_DEFUN([AM_DEP_TRACK], +[AC_ARG_ENABLE(dependency-tracking, +[ --disable-dependency-tracking speeds up one-time build + --enable-dependency-tracking do not reject slow dependency extractors]) +if test "x$enable_dependency_tracking" != xno; then + am_depcomp="$ac_aux_dir/depcomp" + AMDEPBACKSLASH='\' +fi +AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) +AC_SUBST([AMDEPBACKSLASH]) +]) + +# Generate code to set up dependency tracking. -*- Autoconf -*- + +# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc. + +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. + +# 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. + +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA +# 02111-1307, USA. + +#serial 2 + +# _AM_OUTPUT_DEPENDENCY_COMMANDS +# ------------------------------ +AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], +[for mf in $CONFIG_FILES; do + # Strip MF so we end up with the name of the file. + mf=`echo "$mf" | sed -e 's/:.*$//'` + # Check whether this is an Automake generated Makefile or not. + # We used to match only the files named `Makefile.in', but + # some people rename them; so instead we look at the file content. + # Grep'ing the first line is not enough: some people post-process + # each Makefile.in and add a new line on top of each file to say so. + # So let's grep whole file. + if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then + dirpart=`AS_DIRNAME("$mf")` + else + continue + fi + grep '^DEP_FILES *= *[[^ @%:@]]' < "$mf" > /dev/null || continue + # Extract the definition of DEP_FILES from the Makefile without + # running `make'. + DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` + test -z "$DEPDIR" && continue + # When using ansi2knr, U may be empty or an underscore; expand it + U=`sed -n 's/^U = //p' < "$mf"` + test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR" + # We invoke sed twice because it is the simplest approach to + # changing $(DEPDIR) to its actual value in the expansion. + for file in `sed -n ' + /^DEP_FILES = .*\\\\$/ { + s/^DEP_FILES = // + :loop + s/\\\\$// + p + n + /\\\\$/ b loop + p + } + /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \ + sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do + # Make sure the directory exists. + test -f "$dirpart/$file" && continue + fdir=`AS_DIRNAME(["$file"])` + AS_MKDIR_P([$dirpart/$fdir]) + # echo "creating $dirpart/$file" + echo '# dummy' > "$dirpart/$file" + done +done +])# _AM_OUTPUT_DEPENDENCY_COMMANDS + + +# AM_OUTPUT_DEPENDENCY_COMMANDS +# ----------------------------- +# This macro should only be invoked once -- use via AC_REQUIRE. +# +# This code is only required when automatic dependency tracking +# is enabled. FIXME. This creates each `.P' file that we will +# need in order to bootstrap the dependency handling code. +AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], +[AC_CONFIG_COMMANDS([depfiles], + [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS], + [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"]) +]) + +# Do all the work for Automake. -*- Autoconf -*- + +# This macro actually does too much some checks are only needed if +# your package does certain things. But this isn't really a big deal. + +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003 +# Free Software Foundation, Inc. + +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. + +# 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. + +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA +# 02111-1307, USA. + +# serial 11 + +# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE]) +# AM_INIT_AUTOMAKE([OPTIONS]) +# ----------------------------------------------- +# The call with PACKAGE and VERSION arguments is the old style +# call (pre autoconf-2.50), which is being phased out. PACKAGE +# and VERSION should now be passed to AC_INIT and removed from +# the call to AM_INIT_AUTOMAKE. +# We support both call styles for the transition. After +# the next Automake release, Autoconf can make the AC_INIT +# arguments mandatory, and then we can depend on a new Autoconf +# release and drop the old call support. +AC_DEFUN([AM_INIT_AUTOMAKE], +[AC_PREREQ([2.58])dnl +dnl Autoconf wants to disallow AM_ names. We explicitly allow +dnl the ones we care about. +m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl +AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl +AC_REQUIRE([AC_PROG_INSTALL])dnl +# test to see if srcdir already configured +if test "`cd $srcdir && pwd`" != "`pwd`" && + test -f $srcdir/config.status; then + AC_MSG_ERROR([source directory already configured; run "make distclean" there first]) +fi + +# test whether we have cygpath +if test -z "$CYGPATH_W"; then + if (cygpath --version) >/dev/null 2>/dev/null; then + CYGPATH_W='cygpath -w' + else + CYGPATH_W=echo + fi +fi +AC_SUBST([CYGPATH_W]) + +# Define the identity of the package. +dnl Distinguish between old-style and new-style calls. +m4_ifval([$2], +[m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl + AC_SUBST([PACKAGE], [$1])dnl + AC_SUBST([VERSION], [$2])], +[_AM_SET_OPTIONS([$1])dnl + AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl + AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl + +_AM_IF_OPTION([no-define],, +[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package]) + AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl + +# Some tools Automake needs. +AC_REQUIRE([AM_SANITY_CHECK])dnl +AC_REQUIRE([AC_ARG_PROGRAM])dnl +AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version}) +AM_MISSING_PROG(AUTOCONF, autoconf) +AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version}) +AM_MISSING_PROG(AUTOHEADER, autoheader) +AM_MISSING_PROG(MAKEINFO, makeinfo) +AM_MISSING_PROG(AMTAR, tar) +AM_PROG_INSTALL_SH +AM_PROG_INSTALL_STRIP +AC_REQUIRE([AM_PROG_MKDIR_P])dnl +# We need awk for the "check" target. The system "awk" is bad on +# some platforms. +AC_REQUIRE([AC_PROG_AWK])dnl +AC_REQUIRE([AC_PROG_MAKE_SET])dnl +AC_REQUIRE([AM_SET_LEADING_DOT])dnl + +_AM_IF_OPTION([no-dependencies],, +[AC_PROVIDE_IFELSE([AC_PROG_CC], + [_AM_DEPENDENCIES(CC)], + [define([AC_PROG_CC], + defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl +AC_PROVIDE_IFELSE([AC_PROG_CXX], + [_AM_DEPENDENCIES(CXX)], + [define([AC_PROG_CXX], + defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl +]) +]) + + +# When config.status generates a header, we must update the stamp-h file. +# This file resides in the same directory as the config header +# that is generated. The stamp files are numbered to have different names. + +# Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the +# loop where config.status creates the headers, so we can generate +# our stamp files there. +AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], +[# Compute $1's index in $config_headers. +_am_stamp_count=1 +for _am_header in $config_headers :; do + case $_am_header in + $1 | $1:* ) + break ;; + * ) + _am_stamp_count=`expr $_am_stamp_count + 1` ;; + esac +done +echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count]) + +# AM_PROG_INSTALL_SH +# ------------------ +# Define $install_sh. + +# Copyright (C) 2001, 2003 Free Software Foundation, Inc. + +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. + +# 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. + +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA +# 02111-1307, USA. + +AC_DEFUN([AM_PROG_INSTALL_SH], +[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl +install_sh=${install_sh-"$am_aux_dir/install-sh"} +AC_SUBST(install_sh)]) + +# -*- Autoconf -*- +# Copyright (C) 2003 Free Software Foundation, Inc. + +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. + +# 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. + +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA +# 02111-1307, USA. + +# serial 1 + +# Check whether the underlying file-system supports filenames +# with a leading dot. For instance MS-DOS doesn't. +AC_DEFUN([AM_SET_LEADING_DOT], +[rm -rf .tst 2>/dev/null +mkdir .tst 2>/dev/null +if test -d .tst; then + am__leading_dot=. +else + am__leading_dot=_ +fi +rmdir .tst 2>/dev/null +AC_SUBST([am__leading_dot])]) + +# Check to see how 'make' treats includes. -*- Autoconf -*- + +# Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc. + +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. + +# 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. + +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA +# 02111-1307, USA. + +# serial 2 + +# AM_MAKE_INCLUDE() +# ----------------- +# Check to see how make treats includes. +AC_DEFUN([AM_MAKE_INCLUDE], +[am_make=${MAKE-make} +cat > confinc << 'END' +am__doit: + @echo done +.PHONY: am__doit +END +# If we don't find an include directive, just comment out the code. +AC_MSG_CHECKING([for style of include used by $am_make]) +am__include="#" +am__quote= +_am_result=none +# First try GNU make style include. +echo "include confinc" > confmf +# We grep out `Entering directory' and `Leaving directory' +# messages which can occur if `w' ends up in MAKEFLAGS. +# In particular we don't look at `^make:' because GNU make might +# be invoked under some other name (usually "gmake"), in which +# case it prints its new name instead of `make'. +if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then + am__include=include + am__quote= + _am_result=GNU +fi +# Now try BSD make style include. +if test "$am__include" = "#"; then + echo '.include "confinc"' > confmf + if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then + am__include=.include + am__quote="\"" + _am_result=BSD + fi +fi +AC_SUBST([am__include]) +AC_SUBST([am__quote]) +AC_MSG_RESULT([$_am_result]) +rm -f confinc confmf +]) + +# serial 2 + +# AM_PROG_CC_C_O +# -------------- +# Like AC_PROG_CC_C_O, but changed for automake. + +# Copyright (C) 1999, 2000, 2001, 2003 Free Software Foundation, Inc. + +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. + +# 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. + +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA +# 02111-1307, USA. + +AC_DEFUN([AM_PROG_CC_C_O], +[AC_REQUIRE([AC_PROG_CC_C_O])dnl +AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl +# FIXME: we rely on the cache variable name because +# there is no other way. +set dummy $CC +ac_cc=`echo $[2] | sed ['s/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/']` +if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" != yes"; then + # Losing compiler, so override with the script. + # FIXME: It is wrong to rewrite CC. + # But if we don't then we get into trouble of one sort or another. + # A longer-term fix would be to have automake use am__CC in this case, + # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" + CC="$am_aux_dir/compile $CC" +fi +]) + +# -*- Autoconf -*- + + +# Copyright (C) 1997, 1999, 2000, 2001, 2003 Free Software Foundation, Inc. + +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. + +# 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. + +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA +# 02111-1307, USA. + +# serial 3 + +# AM_MISSING_PROG(NAME, PROGRAM) +# ------------------------------ +AC_DEFUN([AM_MISSING_PROG], +[AC_REQUIRE([AM_MISSING_HAS_RUN]) +$1=${$1-"${am_missing_run}$2"} +AC_SUBST($1)]) + + +# AM_MISSING_HAS_RUN +# ------------------ +# Define MISSING if not defined so far and test if it supports --run. +# If it does, set am_missing_run to use it, otherwise, to nothing. +AC_DEFUN([AM_MISSING_HAS_RUN], +[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl +test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" +# Use eval to expand $SHELL +if eval "$MISSING --run true"; then + am_missing_run="$MISSING --run " +else + am_missing_run= + AC_MSG_WARN([`missing' script is too old or missing]) +fi +]) + +# AM_PROG_MKDIR_P +# --------------- +# Check whether `mkdir -p' is supported, fallback to mkinstalldirs otherwise. + +# Copyright (C) 2003, 2004 Free Software Foundation, Inc. + +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. + +# 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. + +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA +# 02111-1307, USA. + +# Automake 1.8 used `mkdir -m 0755 -p --' to ensure that directories +# created by `make install' are always world readable, even if the +# installer happens to have an overly restrictive umask (e.g. 077). +# This was a mistake. There are at least two reasons why we must not +# use `-m 0755': +# - it causes special bits like SGID to be ignored, +# - it may be too restrictive (some setups expect 775 directories). +# +# Do not use -m 0755 and let people choose whatever they expect by +# setting umask. +# +# We cannot accept any implementation of `mkdir' that recognizes `-p'. +# Some implementations (such as Solaris 8's) are not thread-safe: if a +# parallel make tries to run `mkdir -p a/b' and `mkdir -p a/c' +# concurrently, both version can detect that a/ is missing, but only +# one can create it and the other will error out. Consequently we +# restrict ourselves to GNU make (using the --version option ensures +# this.) +AC_DEFUN([AM_PROG_MKDIR_P], +[if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then + # Keeping the `.' argument allows $(mkdir_p) to be used without + # argument. Indeed, we sometimes output rules like + # $(mkdir_p) $(somedir) + # where $(somedir) is conditionally defined. + # (`test -n '$(somedir)' && $(mkdir_p) $(somedir)' is a more + # expensive solution, as it forces Make to start a sub-shell.) + mkdir_p='mkdir -p -- .' +else + # On NextStep and OpenStep, the `mkdir' command does not + # recognize any option. It will interpret all options as + # directories to create, and then abort because `.' already + # exists. + for d in ./-p ./--version; + do + test -d $d && rmdir $d + done + # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists. + if test -f "$ac_aux_dir/mkinstalldirs"; then + mkdir_p='$(mkinstalldirs)' + else + mkdir_p='$(install_sh) -d' + fi +fi +AC_SUBST([mkdir_p])]) + +# Helper functions for option handling. -*- Autoconf -*- + +# Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc. + +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. + +# 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. + +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA +# 02111-1307, USA. + +# serial 2 + +# _AM_MANGLE_OPTION(NAME) +# ----------------------- +AC_DEFUN([_AM_MANGLE_OPTION], +[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])]) + +# _AM_SET_OPTION(NAME) +# ------------------------------ +# Set option NAME. Presently that only means defining a flag for this option. +AC_DEFUN([_AM_SET_OPTION], +[m4_define(_AM_MANGLE_OPTION([$1]), 1)]) + +# _AM_SET_OPTIONS(OPTIONS) +# ---------------------------------- +# OPTIONS is a space-separated list of Automake options. +AC_DEFUN([_AM_SET_OPTIONS], +[AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])]) + +# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET]) +# ------------------------------------------- +# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise. +AC_DEFUN([_AM_IF_OPTION], +[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) + +# +# Check to make sure that the build environment is sane. +# + +# Copyright (C) 1996, 1997, 2000, 2001, 2003 Free Software Foundation, Inc. + +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. + +# 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. + +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA +# 02111-1307, USA. + +# serial 3 + +# AM_SANITY_CHECK +# --------------- +AC_DEFUN([AM_SANITY_CHECK], +[AC_MSG_CHECKING([whether build environment is sane]) +# Just in case +sleep 1 +echo timestamp > conftest.file +# Do `set' in a subshell so we don't clobber the current shell's +# arguments. Must try -L first in case configure is actually a +# symlink; some systems play weird games with the mod time of symlinks +# (eg FreeBSD returns the mod time of the symlink's containing +# directory). +if ( + set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` + if test "$[*]" = "X"; then + # -L didn't work. + set X `ls -t $srcdir/configure conftest.file` + fi + rm -f conftest.file + if test "$[*]" != "X $srcdir/configure conftest.file" \ + && test "$[*]" != "X conftest.file $srcdir/configure"; then + + # If neither matched, then we have a broken ls. This can happen + # if, for instance, CONFIG_SHELL is bash and it inherits a + # broken ls alias from the environment. This has actually + # happened. Such a system could not be considered "sane". + AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken +alias in your environment]) + fi + + test "$[2]" = conftest.file + ) +then + # Ok. + : +else + AC_MSG_ERROR([newly created file is older than distributed files! +Check your system clock]) +fi +AC_MSG_RESULT(yes)]) + +# AM_PROG_INSTALL_STRIP + +# Copyright (C) 2001, 2003 Free Software Foundation, Inc. + +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. + +# 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. + +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA +# 02111-1307, USA. + +# One issue with vendor `install' (even GNU) is that you can't +# specify the program used to strip binaries. This is especially +# annoying in cross-compiling environments, where the build's strip +# is unlikely to handle the host's binaries. +# Fortunately install-sh will honor a STRIPPROG variable, so we +# always use install-sh in `make install-strip', and initialize +# STRIPPROG with the value of the STRIP variable (set by the user). +AC_DEFUN([AM_PROG_INSTALL_STRIP], +[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl +# Installed binaries are usually stripped using `strip' when the user +# run `make install-strip'. However `strip' might not be the right +# tool to use in cross-compilation environments, therefore Automake +# will honor the `STRIP' environment variable to overrule this program. +dnl Don't test for $cross_compiling = yes, because it might be `maybe'. +if test "$cross_compiling" != no; then + AC_CHECK_TOOL([STRIP], [strip], :) +fi +INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" +AC_SUBST([INSTALL_STRIP_PROGRAM])]) + +m4_include([acinclude.m4]) diff --git a/external/hostap/hostapd/config/tp-ath6kl-ap-all-7350-series.deny b/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/apidocs/doxygen.css similarity index 100% rename from external/hostap/hostapd/config/tp-ath6kl-ap-all-7350-series.deny rename to external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/apidocs/doxygen.css diff --git a/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/apidocs/doxygen.png b/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/apidocs/doxygen.png new file mode 100644 index 0000000000000000000000000000000000000000..96ae72c2978be48bb081e0795f5e9a5d6905a5b9 GIT binary patch literal 2352 zcmaJ@XHXM}5)Mc=AW}p^5e%RSEsY{YdPy*fgck593B?GZMk&IDB6^_&r6UR=V1t07 zqDYYB{P-jdO973>Gf8e9NRM)Dp)o!g0qM<4Vj=zPe@|Dq666;okhst+uYS@xk zAe#!=^Zln?PyVKr%6E;`S(kqWY=*HsfA1V;)fhQ<$CMos^=cI}FxoX8aHZD(`7N&D z>eW}uY`q&yA(Aq{v|hyY~*BV!IpRizEa^A zSwUf5fG8o|FrCa?7W_ZsbCSbIMfvD5rc2)xa_CE)&3MK>PdiZzPSx=EY{5R=Lw9$W zFB~Q4-_erioglSItWbyFcScK%P|Bx2nok_;7V~gL{^sw)Hmw`$rsv1K}`8Yt2#c0pX2g5sO;y1o~4%iuIyi#qw zFm*RC`MvCuf!1<4v?T_#Q{Sw>Dv=96=Qk`bvEfC+V}+C_G!9f5qp+Mfqpdo&v-7X2 zEsjl=2Zs2jpeR3I^jOrC#EnCRYK7ykw~Y<^$KBzQ$j?=wli)Z_dg%f@3mh@mn~ zY-rW-_)2Tp)x!)>H?E^r>=E{}#T=G-CW-@osY zch;71#~zaaQaCN&u+y;iqyJD$efQ0`ds~0bG7EEg?iz@?@KkW>xdI>kcON*eM-mkj z{Hg4Mq|yM@aKlnN8Ad!tqDiW7k~_vI0!L4-1Z&Wup7|~d>#qjJ0-uA&ia#r&mdx8v zh{Ysj=iMgA&&1A@moF|nsz(e)_;Uiol|tq()vU(gqOB|ji;{rH_>zyt2xSg9h+h{C zv+F5Xy#5KK7P)%}Ck#D|^?1V$N)szVm7J2X#m+w(imL|lM%~vBw^Q~q$CrnXoTf$H zzF~>!<$mS2O?lzwP|kfiF}g8jcl3mUEgkkkh%w!KZMvAFF9^}~ej@k#Gd^V_{0z7E zlS6D1*YZT=yhuXqJ9{VQ#HEDN*DR$8sI6F7<;IiQSrcoeN7g_o#?!`Af^b9`2;50K zitSJI72p0Sb8pZ7DS_NNl_sYR+va{vYOi<{J}UY2dXxVnRvC@qh1F8VTgYH6vT~(% zZ2N{=>^>N0x=jb@(&D^o^RLm}($~_;&Kub{C2Xfmah^5anC-b6$;BEl3*$8jem8}c z3*MM|I(n@y9TAF*ctIWJT!UQdUmM^y{K3@8sQJdNrafkJtINN7ONa1e;w?Mt{_JhM zvRka(c#HYT@E0V`S6xwQ!o-vU4DQhKh-)xd(lG?l6971ya~`Kg%#4-Zl9lG!@VLCj zn%e5Mm!q<2O$UGcRpXu>y%9VED_L9OY%qWuy3i~< z+emnMRoLY#-xm~rEgRP6atqF;dvM1{=%Q7NcKcBg&Z1l zV~6}Z`XPV+=bsYaz2&oFCc3ZEn}yXbvh;enHYUk;@jUTd(xG51%O-4mi-__eW*D%0++`&?dm# zPd_nXLUL4%gBDan;34>)_!5SOs{V7u1HVyR7H*pVx$aUUgqXX95@2i(7j1|H^I|!M zS3hU81OfgU9~=o25UZE}Kn~T?I2_2;b7HMR`%*)h);W}}SN$d(wjY3w22CPf3pSEK z`@JL}GUw`L^lZx+{KurgBTG8o(X~G|(-<9c9%;J8&^(JEc$Oi*N?=TC)Lzw#&F7Nl zHQB3u-YV(8aQrkAK!U7fLifRwqTWQcQt+0@;kmR<&^uK8n9YK;XTuDH?XY{HL*v09 z8svU;%Hhy$AH9$^e+pAEde;2I<;K%f*-dV3{IarZHE-WX1+D)GFP8KnOsc_^ z6q~mV=laSj_m1;^5X}%ECLfW5I$=E3`=TMVtLt?(a30*5=_&F*bvhx?FF`d>rP;x^MFfsMbkCxS5D-e^%!V{JsKKS`i`&ka` z-g#uQghXfa@Au4JFJ6eWrAEFVsOiW@X;hgN@VQgD2(fD=RxXatsl;WS2C1NQ5IP1br%vg@40K^|6=DP_ zk`iN1j)|m@h&uj}I)0bKLPIDz#87e&KcIbI4*IVgDKNyBa(Q1*52cUvH89j85a4h> zq`m +
+This file is part of the documentation for libusb++ $projectnumber. +
+
+Documentation copyright © 2004 Brad Hards.
+Generated on $datetime by +doxygen $doxygenversion written by Dimitri van Heesch. +
+ + diff --git a/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/apidocs/header.html b/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/apidocs/header.html new file mode 100644 index 000000000..7562d89cb --- /dev/null +++ b/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/apidocs/header.html @@ -0,0 +1,34 @@ + + + + + $title ($projectname) + + +
+ + + + + + +
+ + +

$projectname API Documentation

+
+ + + + + + + + + + + +
+
+
+
diff --git a/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/bsd.c b/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/bsd.c new file mode 100644 index 000000000..1b3e5fc2c --- /dev/null +++ b/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/bsd.c @@ -0,0 +1,637 @@ +/* + * (Free|Open|Net)BSD USB support + * + * Derived from Linux version by Richard Tobin. + * + * $Id: bsd.c,v 1.1.1.1 2008-04-18 19:39:57 pmoutarl Exp $ + * $Name: not supported by cvs2svn $ + * + * This library is covered by the LGPL, read LICENSE for details. + */ + +/* + * Note: I don't have a clue what I'm doing. I just looked at the + * man pages and source to try and find things that did the same as + * the Linux version. -- Richard + * + * johnjen@reynoldsnet.org - minor fixes with debug mode output. Consistent brace + * use as well as indenting. More error messages put in to test for failure + * modes with /dev/ permissions (when it happens). Note: I, like Richard, have + * no clue what I'm doing. Patches to increase/fix functionality happily + * accepted! + */ + +/* dirkx@webweaving.org - minor changes to make things actually work + * for both read and write. + */ + +#if defined(__FreeBSD__) && !defined(__FreeBSD_kernel__) +#define __FreeBSD_kernel__ __FreeBSD__ +#endif + +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include + +#include "usbi.h" +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + +#ifdef HAVE_OLD_DEV_USB_USB_H +/* + * It appears some of the BSD's (OpenBSD atleast) have switched over to a + * new naming convention, so we setup some macro's for backward + * compability with older versions --jerdfelt + */ + +/* struct usb_ctl_request */ +#define ucr_addr addr +#define ucr_request request +#define ucr_data data +#define ucr_flags flags +#define ucr_actlen actlen + +/* struct usb_alt_interface */ +#define uai_config_index config_index +#define uai_interface_index interface_index +#define uai_alt_no alt_no + +/* struct usb_config_desc */ +#define ucd_config_index config_index +#define ucd_desc desc + +/* struct usb_interface_desc */ +#define uid_config_index config_index +#define uid_interface_index interface_index +#define uid_alt_index alt_index +#define uid_desc desc + +/* struct usb_endpoint_desc */ +#define ued_config_index config_index +#define ued_interface_index interface_index +#define ued_alt_index alt_index +#define ued_endpoint_index endpoint_index +#define ued_desc desc + +/* struct usb_full_desc */ +#define ufd_config_index config_index +#define ufd_size size +#define ufd_data data + +/* struct usb_string_desc */ +#define usd_string_index string_index +#define usd_language_id language_id +#define usd_desc desc + +/* struct usb_ctl_report_desc */ +#define ucrd_size size +#define ucrd_data data + +/* struct usb_device_info */ +#define udi_bus bus +#define udi_addr addr +#define udi_cookie cookie +#define udi_product product +#define udi_vendor vendor +#define udi_release release +#define udi_productNo productNo +#define udi_vendorNo vendorNo +#define udi_releaseNo releaseNo +#define udi_class class +#define udi_subclass subclass +#define udi_protocol protocol +#define udi_config config +#define udi_lowspeed lowspeed +#define udi_power power +#define udi_nports nports +#define udi_devnames devnames +#define udi_ports ports + +/* struct usb_ctl_report */ +#define ucr_report report +#define ucr_data data + +/* struct usb_device_stats */ +#define uds_requests requests +#endif + +static int ensure_ep_open(usb_dev_handle *dev, int ep, int mode); + +#define MAX_CONTROLLERS 10 + +/* This records the file descriptors for the endpoints. It doesn't seem + to work to re-open them for each read (as well as being inefficient). */ + +struct bsd_usb_dev_handle_info { + int ep_fd[USB_MAX_ENDPOINTS]; +}; + +int usb_os_open(usb_dev_handle *dev) +{ + int i; + struct bsd_usb_dev_handle_info *info; + char ctlpath[PATH_MAX + 1]; + + info = malloc(sizeof(struct bsd_usb_dev_handle_info)); + if (!info) + USB_ERROR(-ENOMEM); + dev->impl_info = info; + +#ifdef __FreeBSD_kernel__ + snprintf(ctlpath, PATH_MAX, "%s", dev->device->filename); +#else + snprintf(ctlpath, PATH_MAX, "%s.00", dev->device->filename); +#endif + dev->fd = open(ctlpath, O_RDWR); + if (dev->fd < 0) { + dev->fd = open(ctlpath, O_RDONLY); + if (dev->fd < 0) { + free(info); + USB_ERROR_STR(-errno, "failed to open %s: %s", + ctlpath, strerror(errno)); + } + } + + /* Mark the endpoints as not yet open */ + for (i = 0; i < USB_MAX_ENDPOINTS; i++) + info->ep_fd[i] = -1; + + return 0; +} + +int usb_os_close(usb_dev_handle *dev) +{ + struct bsd_usb_dev_handle_info *info = dev->impl_info; + int i; + + /* Close any open endpoints */ + + for (i = 0; i < USB_MAX_ENDPOINTS; i++) + if (info->ep_fd[i] >= 0) { + if (usb_debug >= 2) + fprintf(stderr, "usb_os_close: closing endpoint %d\n", info->ep_fd[i]); + close(info->ep_fd[i]); + } + + free(info); + + if (dev->fd <= 0) + return 0; + + if (close(dev->fd) == -1) + /* Failing trying to close a file really isn't an error, so return 0 */ + USB_ERROR_STR(0, "tried to close device fd %d: %s", dev->fd, + strerror(errno)); + + return 0; +} + +int usb_set_configuration(usb_dev_handle *dev, int configuration) +{ + int ret; + + ret = ioctl(dev->fd, USB_SET_CONFIG, &configuration); + if (ret < 0) + USB_ERROR_STR(-errno, "could not set config %d: %s", configuration, + strerror(errno)); + + dev->config = configuration; + + return 0; +} + +int usb_claim_interface(usb_dev_handle *dev, int interface) +{ + /* BSD doesn't have the corresponding ioctl. It seems to + be sufficient to open the relevant endpoints as needed. */ + + dev->interface = interface; + + return 0; +} + +int usb_release_interface(usb_dev_handle *dev, int interface) +{ + /* See above */ + return 0; +} + +int usb_set_altinterface(usb_dev_handle *dev, int alternate) +{ + int ret; + struct usb_alt_interface intf; + + if (dev->interface < 0) + USB_ERROR(-EINVAL); + + intf.uai_interface_index = dev->interface; + intf.uai_alt_no = alternate; + + ret = ioctl(dev->fd, USB_SET_ALTINTERFACE, &intf); + if (ret < 0) + USB_ERROR_STR(-errno, "could not set alt intf %d/%d: %s", + dev->interface, alternate, strerror(errno)); + + dev->altsetting = alternate; + + return 0; +} + +static int ensure_ep_open(usb_dev_handle *dev, int ep, int mode) +{ + struct bsd_usb_dev_handle_info *info = dev->impl_info; + int fd; + char buf[20]; + + /* Get the address for this endpoint; we could check + * the mode against the direction; but we've done that + * already in the usb_bulk_read/write. + */ + ep = UE_GET_ADDR(ep); + + if (info->ep_fd[ep] < 0) { +#ifdef __FreeBSD_kernel__ + snprintf(buf, sizeof(buf) - 1, "%s.%d", dev->device->filename, ep); +#else + snprintf(buf, sizeof(buf) - 1, "%s.%02d", dev->device->filename, ep); +#endif + /* Try to open it O_RDWR first for those devices which have in and out + * endpoints with the same address (eg 0x02 and 0x82) + */ + fd = open(buf, O_RDWR); + if (fd < 0 && errno == ENXIO) + fd = open(buf, mode); + if (fd < 0) + USB_ERROR_STR(-errno, "can't open %s for bulk read: %s", + buf, strerror(errno)); + info->ep_fd[ep] = fd; + } + + return info->ep_fd[ep]; +} + +int usb_bulk_write(usb_dev_handle *dev, int ep, char *bytes, int size, + int timeout) +{ + int fd, ret; + + /* Ensure the endpoint address is correct */ + ep &= ~USB_ENDPOINT_IN; + + fd = ensure_ep_open(dev, ep, O_WRONLY); + if (fd < 0) { + if (usb_debug >= 2) { +#ifdef __FreeBSD_kernel__ + fprintf (stderr, "usb_bulk_write: got negative open file descriptor for endpoint %d\n", UE_GET_ADDR(ep)); +#else + fprintf (stderr, "usb_bulk_write: got negative open file descriptor for endpoint %02d\n", UE_GET_ADDR(ep)); +#endif + } + return fd; + } + + ret = ioctl(fd, USB_SET_TIMEOUT, &timeout); + if (ret < 0) + USB_ERROR_STR(-errno, "error setting timeout: %s", + strerror(errno)); + + ret = write(fd, bytes, size); + if (ret < 0) +#ifdef __FreeBSD_kernel__ + USB_ERROR_STR(-errno, "error writing to bulk endpoint %s.%d: %s", + dev->device->filename, UE_GET_ADDR(ep), strerror(errno)); +#else + USB_ERROR_STR(-errno, "error writing to bulk endpoint %s.%02d: %s", + dev->device->filename, UE_GET_ADDR(ep), strerror(errno)); +#endif + + return size; +} + +int usb_bulk_read(usb_dev_handle *dev, int ep, char *bytes, int size, + int timeout) +{ + int fd, ret, one = 1; + + /* Ensure the endpoint address is correct */ + ep |= USB_ENDPOINT_IN; + + fd = ensure_ep_open(dev, ep, O_RDONLY); + if (fd < 0) { + if (usb_debug >= 2) { +#ifdef __FreeBSD_kernel__ + fprintf (stderr, "usb_bulk_read: got negative open file descriptor for endpoint %d\n", UE_GET_ADDR(ep)); +#else + fprintf (stderr, "usb_bulk_read: got negative open file descriptor for endpoint %02d\n", UE_GET_ADDR(ep)); +#endif + } + return fd; + } + + ret = ioctl(fd, USB_SET_TIMEOUT, &timeout); + if (ret < 0) + USB_ERROR_STR(-errno, "error setting timeout: %s", strerror(errno)); + + ret = ioctl(fd, USB_SET_SHORT_XFER, &one); + if (ret < 0) + USB_ERROR_STR(-errno, "error setting short xfer: %s", strerror(errno)); + + ret = read(fd, bytes, size); + if (ret < 0) +#ifdef __FreeBSD_kernel__ + USB_ERROR_STR(-errno, "error reading from bulk endpoint %s.%d: %s", + dev->device->filename, UE_GET_ADDR(ep), strerror(errno)); +#else + USB_ERROR_STR(-errno, "error reading from bulk endpoint %s.%02d: %s", + dev->device->filename, UE_GET_ADDR(ep), strerror(errno)); +#endif + + return ret; +} + +int usb_interrupt_write(usb_dev_handle *dev, int ep, char *bytes, int size, + int timeout) +{ + int fd, ret, sent = 0; + + /* Ensure the endpoint address is correct */ + ep &= ~USB_ENDPOINT_IN; + + fd = ensure_ep_open(dev, ep, O_WRONLY); + if (fd < 0) { + if (usb_debug >= 2) { +#ifdef __FreeBSD_kernel__ + fprintf (stderr, "usb_interrupt_write: got negative open file descriptor for endpoint %d\n", UE_GET_ADDR(ep)); +#else + fprintf (stderr, "usb_interrupt_write: got negative open file descriptor for endpoint %02d\n", UE_GET_ADDR(ep)); +#endif + } + return fd; + } + + ret = ioctl(fd, USB_SET_TIMEOUT, &timeout); + if (ret < 0) + USB_ERROR_STR(-errno, "error setting timeout: %s", + strerror(errno)); + + do { + ret = write(fd, bytes+sent, size-sent); + if (ret < 0) +#ifdef __FreeBSD_kernel__ + USB_ERROR_STR(-errno, "error writing to interrupt endpoint %s.%d: %s", + dev->device->filename, UE_GET_ADDR(ep), strerror(errno)); +#else + USB_ERROR_STR(-errno, "error writing to interrupt endpoint %s.%02d: %s", + dev->device->filename, UE_GET_ADDR(ep), strerror(errno)); +#endif + + sent += ret; + } while (ret > 0 && sent < size); + + return sent; +} + +int usb_interrupt_read(usb_dev_handle *dev, int ep, char *bytes, int size, + int timeout) +{ + int fd, ret, retrieved = 0, one = 1; + + /* Ensure the endpoint address is correct */ + ep |= USB_ENDPOINT_IN; + + fd = ensure_ep_open(dev, ep, O_RDONLY); + if (fd < 0) { + if (usb_debug >= 2) { +#ifdef __FreeBSD_kernel__ + fprintf (stderr, "usb_interrupt_read: got negative open file descriptor for endpoint %d\n", UE_GET_ADDR(ep)); +#else + fprintf (stderr, "usb_interrupt_read: got negative open file descriptor for endpoint %02d\n", UE_GET_ADDR(ep)); +#endif + } + return fd; + } + + ret = ioctl(fd, USB_SET_TIMEOUT, &timeout); + if (ret < 0) + USB_ERROR_STR(-errno, "error setting timeout: %s", strerror(errno)); + + ret = ioctl(fd, USB_SET_SHORT_XFER, &one); + if (ret < 0) + USB_ERROR_STR(-errno, "error setting short xfer: %s", strerror(errno)); + + do { + ret = read(fd, bytes+retrieved, size-retrieved); + if (ret < 0) +#ifdef __FreeBSD_kernel__ + USB_ERROR_STR(-errno, "error reading from interrupt endpoint %s.%d: %s", + dev->device->filename, UE_GET_ADDR(ep), strerror(errno)); +#else + USB_ERROR_STR(-errno, "error reading from interrupt endpoint %s.%02d: %s", + dev->device->filename, UE_GET_ADDR(ep), strerror(errno)); +#endif + retrieved += ret; + } while (ret > 0 && retrieved < size); + + return retrieved; +} + +int usb_control_msg(usb_dev_handle *dev, int requesttype, int request, + int value, int index, char *bytes, int size, int timeout) +{ + struct usb_ctl_request req; + int ret; + + if (usb_debug >= 3) + fprintf(stderr, "usb_control_msg: %d %d %d %d %p %d %d\n", + requesttype, request, value, index, bytes, size, timeout); + + req.ucr_request.bmRequestType = requesttype; + req.ucr_request.bRequest = request; + USETW(req.ucr_request.wValue, value); + USETW(req.ucr_request.wIndex, index); + USETW(req.ucr_request.wLength, size); + + req.ucr_data = bytes; + req.ucr_flags = USBD_SHORT_XFER_OK; + + ret = ioctl(dev->fd, USB_SET_TIMEOUT, &timeout); +#if (__NetBSD__ || __OpenBSD__) + if (ret < 0 && errno != EINVAL) +#else + if (ret < 0) +#endif + USB_ERROR_STR(-errno, "error setting timeout: %s", + strerror(errno)); + + ret = ioctl(dev->fd, USB_DO_REQUEST, &req); + if (ret < 0) + USB_ERROR_STR(-errno, "error sending control message: %s", + strerror(errno)); + + return UGETW(req.ucr_request.wLength); +} + +int usb_os_find_busses(struct usb_bus **busses) +{ + struct usb_bus *fbus = NULL; + int controller; + int fd; + char buf[20]; + + for (controller = 0; controller < MAX_CONTROLLERS; controller++) { + struct usb_bus *bus; + + snprintf(buf, sizeof(buf) - 1, "/dev/usb%d", controller); + fd = open(buf, O_RDWR); + if (fd < 0) { + if (usb_debug >= 2) + if (errno != ENXIO && errno != ENOENT) + fprintf(stderr, "usb_os_find_busses: can't open %s: %s\n", + buf, strerror(errno)); + continue; + } + close(fd); + + bus = malloc(sizeof(*bus)); + if (!bus) + USB_ERROR(-ENOMEM); + + memset((void *)bus, 0, sizeof(*bus)); + + strncpy(bus->dirname, buf, sizeof(bus->dirname) - 1); + bus->dirname[sizeof(bus->dirname) - 1] = 0; + + LIST_ADD(fbus, bus); + + if (usb_debug >= 2) + fprintf(stderr, "usb_os_find_busses: Found %s\n", bus->dirname); + } + + *busses = fbus; + + return 0; +} + +int usb_os_find_devices(struct usb_bus *bus, struct usb_device **devices) +{ + struct usb_device *fdev = NULL; + int cfd, dfd; + int device; + + cfd = open(bus->dirname, O_RDONLY); + if (cfd < 0) + USB_ERROR_STR(-errno, "couldn't open(%s): %s", bus->dirname, + strerror(errno)); + + for (device = 1; device < USB_MAX_DEVICES; device++) { + struct usb_device_info di; + struct usb_device *dev; + unsigned char device_desc[DEVICE_DESC_LENGTH]; + char buf[20]; + + di.udi_addr = device; + if (ioctl(cfd, USB_DEVICEINFO, &di) < 0) + continue; + + /* There's a device; is it one we should mess with? */ + + if (strncmp(di.udi_devnames[0], "ugen", 4) != 0) + /* best not to play with things we don't understand */ + continue; + +#ifdef __FreeBSD_kernel__ + snprintf(buf, sizeof(buf) - 1, "/dev/%s", di.udi_devnames[0]); +#else + snprintf(buf, sizeof(buf) - 1, "/dev/%s.00", di.udi_devnames[0]); +#endif + + /* Open its control endpoint */ + dfd = open(buf, O_RDONLY); + if (dfd < 0) { + if (usb_debug >= 2) + fprintf(stderr, "usb_os_find_devices: couldn't open device %s: %s\n", + buf, strerror(errno)); + continue; + } + + dev = malloc(sizeof(*dev)); + if (!dev) + USB_ERROR(-ENOMEM); + + memset((void *)dev, 0, sizeof(*dev)); + + dev->bus = bus; + + /* we need to report the device name as /dev/ugenx NOT /dev/ugenx.00 + * This seemed easier than having 2 variables... + */ +#if (__NetBSD__ || __OpenBSD__) + snprintf(buf, sizeof(buf) - 1, "/dev/%s", di.udi_devnames[0]); +#endif + + strncpy(dev->filename, buf, sizeof(dev->filename) - 1); + dev->filename[sizeof(dev->filename) - 1] = 0; + + if (ioctl(dfd, USB_GET_DEVICE_DESC, device_desc) < 0) + USB_ERROR_STR(-errno, "couldn't get device descriptor for %s: %s", + buf, strerror(errno)); + + close(dfd); + + usb_parse_descriptor(device_desc, "bbwbbbbwwwbbbb", &dev->descriptor); + + LIST_ADD(fdev, dev); + + if (usb_debug >= 2) + fprintf(stderr, "usb_os_find_devices: Found %s on %s\n", + dev->filename, bus->dirname); + } + + close(cfd); + + *devices = fdev; + + return 0; +} + +int usb_os_determine_children(struct usb_bus *bus) +{ + /* Nothing yet */ + return 0; +} + +void usb_os_init(void) +{ + /* nothing */ +} + +int usb_resetep(usb_dev_handle *dev, unsigned int ep) +{ + /* Not yet done, because I haven't needed it. */ + + USB_ERROR_STR(-ENOSYS, "usb_resetep called, unimplemented on BSD"); +} + +int usb_clear_halt(usb_dev_handle *dev, unsigned int ep) +{ + /* Not yet done, because I haven't needed it. */ + + USB_ERROR_STR(-ENOSYS, "usb_clear_halt called, unimplemented on BSD"); +} + +int usb_reset(usb_dev_handle *dev) +{ + /* Not yet done, because I haven't needed it. */ + + USB_ERROR_STR(-ENOSYS, "usb_reset called, unimplemented on BSD"); +} + diff --git a/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/compile b/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/compile new file mode 100644 index 000000000..a81e000ae --- /dev/null +++ b/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/compile @@ -0,0 +1,136 @@ +#! /bin/sh +# Wrapper for compilers which do not understand `-c -o'. + +scriptversion=2003-11-09.00 + +# Copyright (C) 1999, 2000, 2003 Free Software Foundation, Inc. +# Written by Tom Tromey . +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. +# +# 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. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + +# As a special exception to the GNU General Public License, if you +# distribute this file as part of a program that contains a +# configuration script generated by Autoconf, you may include it under +# the same distribution terms that you use for the rest of that program. + +# This file is maintained in Automake, please report +# bugs to or send patches to +# . + +case $1 in + '') + echo "$0: No command. Try \`$0 --help' for more information." 1>&2 + exit 1; + ;; + -h | --h*) + cat <<\EOF +Usage: compile [--help] [--version] PROGRAM [ARGS] + +Wrapper for compilers which do not understand `-c -o'. +Remove `-o dest.o' from ARGS, run PROGRAM with the remaining +arguments, and rename the output as expected. + +If you are trying to build a whole package this is not the +right script to run: please start by reading the file `INSTALL'. + +Report bugs to . +EOF + exit 0 + ;; + -v | --v*) + echo "compile $scriptversion" + exit 0 + ;; +esac + + +prog=$1 +shift + +ofile= +cfile= +args= +while test $# -gt 0; do + case "$1" in + -o) + # configure might choose to run compile as `compile cc -o foo foo.c'. + # So we do something ugly here. + ofile=$2 + shift + case "$ofile" in + *.o | *.obj) + ;; + *) + args="$args -o $ofile" + ofile= + ;; + esac + ;; + *.c) + cfile=$1 + args="$args $1" + ;; + *) + args="$args $1" + ;; + esac + shift +done + +if test -z "$ofile" || test -z "$cfile"; then + # If no `-o' option was seen then we might have been invoked from a + # pattern rule where we don't need one. That is ok -- this is a + # normal compilation that the losing compiler can handle. If no + # `.c' file was seen then we are probably linking. That is also + # ok. + exec "$prog" $args +fi + +# Name of file we expect compiler to create. +cofile=`echo $cfile | sed -e 's|^.*/||' -e 's/\.c$/.o/'` + +# Create the lock directory. +# Note: use `[/.-]' here to ensure that we don't use the same name +# that we are using for the .o file. Also, base the name on the expected +# object file name, since that is what matters with a parallel build. +lockdir=`echo $cofile | sed -e 's|[/.-]|_|g'`.d +while true; do + if mkdir $lockdir > /dev/null 2>&1; then + break + fi + sleep 1 +done +# FIXME: race condition here if user kills between mkdir and trap. +trap "rmdir $lockdir; exit 1" 1 2 15 + +# Run the compile. +"$prog" $args +status=$? + +if test -f "$cofile"; then + mv "$cofile" "$ofile" +fi + +rmdir $lockdir +exit $status + +# Local Variables: +# mode: shell-script +# sh-indentation: 2 +# eval: (add-hook 'write-file-hooks 'time-stamp) +# time-stamp-start: "scriptversion=" +# time-stamp-format: "%:y-%02m-%02d.%02H" +# time-stamp-end: "$" +# End: diff --git a/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/config.guess b/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/config.guess new file mode 100644 index 000000000..2fc3acce2 --- /dev/null +++ b/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/config.guess @@ -0,0 +1,1411 @@ +#! /bin/sh +# Attempt to guess a canonical system name. +# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, +# 2000, 2001, 2002, 2003 Free Software Foundation, Inc. + +timestamp='2003-06-17' + +# This file is free software; you can redistribute it and/or modify it +# under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# 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. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +# +# As a special exception to the GNU General Public License, if you +# distribute this file as part of a program that contains a +# configuration script generated by Autoconf, you may include it under +# the same distribution terms that you use for the rest of that program. + +# Originally written by Per Bothner . +# Please send patches to . Submit a context +# diff and a properly formatted ChangeLog entry. +# +# This script attempts to guess a canonical system name similar to +# config.sub. If it succeeds, it prints the system name on stdout, and +# exits with 0. Otherwise, it exits with 1. +# +# The plan is that this can be called by configure scripts if you +# don't specify an explicit build system type. + +me=`echo "$0" | sed -e 's,.*/,,'` + +usage="\ +Usage: $0 [OPTION] + +Output the configuration name of the system \`$me' is run on. + +Operation modes: + -h, --help print this help, then exit + -t, --time-stamp print date of last modification, then exit + -v, --version print version number, then exit + +Report bugs and patches to ." + +version="\ +GNU config.guess ($timestamp) + +Originally written by Per Bothner. +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001 +Free Software Foundation, Inc. + +This is free software; see the source for copying conditions. There is NO +warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." + +help=" +Try \`$me --help' for more information." + +# Parse command line +while test $# -gt 0 ; do + case $1 in + --time-stamp | --time* | -t ) + echo "$timestamp" ; exit 0 ;; + --version | -v ) + echo "$version" ; exit 0 ;; + --help | --h* | -h ) + echo "$usage"; exit 0 ;; + -- ) # Stop option processing + shift; break ;; + - ) # Use stdin as input. + break ;; + -* ) + echo "$me: invalid option $1$help" >&2 + exit 1 ;; + * ) + break ;; + esac +done + +if test $# != 0; then + echo "$me: too many arguments$help" >&2 + exit 1 +fi + +trap 'exit 1' 1 2 15 + +# CC_FOR_BUILD -- compiler used by this script. Note that the use of a +# compiler to aid in system detection is discouraged as it requires +# temporary files to be created and, as you can see below, it is a +# headache to deal with in a portable fashion. + +# Historically, `CC_FOR_BUILD' used to be named `HOST_CC'. We still +# use `HOST_CC' if defined, but it is deprecated. + +# Portable tmp directory creation inspired by the Autoconf team. + +set_cc_for_build=' +trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ; +trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ; +: ${TMPDIR=/tmp} ; + { tmp=`(umask 077 && mktemp -d -q "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } || + { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } || + { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning: creating insecure temp directory" >&2 ; } || + { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ; +dummy=$tmp/dummy ; +tmpfiles="$dummy.c $dummy.o $dummy.rel $dummy" ; +case $CC_FOR_BUILD,$HOST_CC,$CC in + ,,) echo "int x;" > $dummy.c ; + for c in cc gcc c89 c99 ; do + if ($c -c -o $dummy.o $dummy.c) >/dev/null 2>&1 ; then + CC_FOR_BUILD="$c"; break ; + fi ; + done ; + if test x"$CC_FOR_BUILD" = x ; then + CC_FOR_BUILD=no_compiler_found ; + fi + ;; + ,,*) CC_FOR_BUILD=$CC ;; + ,*,*) CC_FOR_BUILD=$HOST_CC ;; +esac ;' + +# This is needed to find uname on a Pyramid OSx when run in the BSD universe. +# (ghazi@noc.rutgers.edu 1994-08-24) +if (test -f /.attbin/uname) >/dev/null 2>&1 ; then + PATH=$PATH:/.attbin ; export PATH +fi + +UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown +UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown +UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown +UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown + +## for Red Hat Linux +if test -f /etc/redhat-release ; then + VENDOR=redhat ; +else + VENDOR= ; +fi + +# Note: order is significant - the case branches are not exclusive. + +case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in + *:NetBSD:*:*) + # NetBSD (nbsd) targets should (where applicable) match one or + # more of the tupples: *-*-netbsdelf*, *-*-netbsdaout*, + # *-*-netbsdecoff* and *-*-netbsd*. For targets that recently + # switched to ELF, *-*-netbsd* would select the old + # object file format. This provides both forward + # compatibility and a consistent mechanism for selecting the + # object file format. + # + # Note: NetBSD doesn't particularly care about the vendor + # portion of the name. We always set it to "unknown". + sysctl="sysctl -n hw.machine_arch" + UNAME_MACHINE_ARCH=`(/sbin/$sysctl 2>/dev/null || \ + /usr/sbin/$sysctl 2>/dev/null || echo unknown)` + case "${UNAME_MACHINE_ARCH}" in + armeb) machine=armeb-unknown ;; + arm*) machine=arm-unknown ;; + sh3el) machine=shl-unknown ;; + sh3eb) machine=sh-unknown ;; + *) machine=${UNAME_MACHINE_ARCH}-unknown ;; + esac + # The Operating System including object format, if it has switched + # to ELF recently, or will in the future. + case "${UNAME_MACHINE_ARCH}" in + arm*|i386|m68k|ns32k|sh3*|sparc|vax) + eval $set_cc_for_build + if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \ + | grep __ELF__ >/dev/null + then + # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout). + # Return netbsd for either. FIX? + os=netbsd + else + os=netbsdelf + fi + ;; + *) + os=netbsd + ;; + esac + # The OS release + # Debian GNU/NetBSD machines have a different userland, and + # thus, need a distinct triplet. However, they do not need + # kernel version information, so it can be replaced with a + # suitable tag, in the style of linux-gnu. + case "${UNAME_VERSION}" in + Debian*) + release='-gnu' + ;; + *) + release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'` + ;; + esac + # Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM: + # contains redundant information, the shorter form: + # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used. + echo "${machine}-${os}${release}" + exit 0 ;; + amiga:OpenBSD:*:*) + echo m68k-unknown-openbsd${UNAME_RELEASE} + exit 0 ;; + arc:OpenBSD:*:*) + echo mipsel-unknown-openbsd${UNAME_RELEASE} + exit 0 ;; + hp300:OpenBSD:*:*) + echo m68k-unknown-openbsd${UNAME_RELEASE} + exit 0 ;; + mac68k:OpenBSD:*:*) + echo m68k-unknown-openbsd${UNAME_RELEASE} + exit 0 ;; + macppc:OpenBSD:*:*) + echo powerpc-unknown-openbsd${UNAME_RELEASE} + exit 0 ;; + mvme68k:OpenBSD:*:*) + echo m68k-unknown-openbsd${UNAME_RELEASE} + exit 0 ;; + mvme88k:OpenBSD:*:*) + echo m88k-unknown-openbsd${UNAME_RELEASE} + exit 0 ;; + mvmeppc:OpenBSD:*:*) + echo powerpc-unknown-openbsd${UNAME_RELEASE} + exit 0 ;; + pmax:OpenBSD:*:*) + echo mipsel-unknown-openbsd${UNAME_RELEASE} + exit 0 ;; + sgi:OpenBSD:*:*) + echo mipseb-unknown-openbsd${UNAME_RELEASE} + exit 0 ;; + sun3:OpenBSD:*:*) + echo m68k-unknown-openbsd${UNAME_RELEASE} + exit 0 ;; + wgrisc:OpenBSD:*:*) + echo mipsel-unknown-openbsd${UNAME_RELEASE} + exit 0 ;; + *:OpenBSD:*:*) + echo ${UNAME_MACHINE}-unknown-openbsd${UNAME_RELEASE} + exit 0 ;; + alpha:OSF1:*:*) + if test $UNAME_RELEASE = "V4.0"; then + UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'` + fi + # According to Compaq, /usr/sbin/psrinfo has been available on + # OSF/1 and Tru64 systems produced since 1995. I hope that + # covers most systems running today. This code pipes the CPU + # types through head -n 1, so we only detect the type of CPU 0. + ALPHA_CPU_TYPE=`/usr/sbin/psrinfo -v | sed -n -e 's/^ The alpha \(.*\) processor.*$/\1/p' | head -n 1` + case "$ALPHA_CPU_TYPE" in + "EV4 (21064)") + UNAME_MACHINE="alpha" ;; + "EV4.5 (21064)") + UNAME_MACHINE="alpha" ;; + "LCA4 (21066/21068)") + UNAME_MACHINE="alpha" ;; + "EV5 (21164)") + UNAME_MACHINE="alphaev5" ;; + "EV5.6 (21164A)") + UNAME_MACHINE="alphaev56" ;; + "EV5.6 (21164PC)") + UNAME_MACHINE="alphapca56" ;; + "EV5.7 (21164PC)") + UNAME_MACHINE="alphapca57" ;; + "EV6 (21264)") + UNAME_MACHINE="alphaev6" ;; + "EV6.7 (21264A)") + UNAME_MACHINE="alphaev67" ;; + "EV6.8CB (21264C)") + UNAME_MACHINE="alphaev68" ;; + "EV6.8AL (21264B)") + UNAME_MACHINE="alphaev68" ;; + "EV6.8CX (21264D)") + UNAME_MACHINE="alphaev68" ;; + "EV6.9A (21264/EV69A)") + UNAME_MACHINE="alphaev69" ;; + "EV7 (21364)") + UNAME_MACHINE="alphaev7" ;; + "EV7.9 (21364A)") + UNAME_MACHINE="alphaev79" ;; + esac + # A Vn.n version is a released version. + # A Tn.n version is a released field test version. + # A Xn.n version is an unreleased experimental baselevel. + # 1.2 uses "1.2" for uname -r. + echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[VTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` + exit 0 ;; + Alpha*:OpenVMS:*:*) + echo alpha-hp-vms + exit 0 ;; + Alpha\ *:Windows_NT*:*) + # How do we know it's Interix rather than the generic POSIX subsystem? + # Should we change UNAME_MACHINE based on the output of uname instead + # of the specific Alpha model? + echo alpha-pc-interix + exit 0 ;; + 21064:Windows_NT:50:3) + echo alpha-dec-winnt3.5 + exit 0 ;; + Amiga*:UNIX_System_V:4.0:*) + echo m68k-unknown-sysv4 + exit 0;; + *:[Aa]miga[Oo][Ss]:*:*) + echo ${UNAME_MACHINE}-unknown-amigaos + exit 0 ;; + *:[Mm]orph[Oo][Ss]:*:*) + echo ${UNAME_MACHINE}-unknown-morphos + exit 0 ;; + *:OS/390:*:*) + echo i370-ibm-openedition + exit 0 ;; + arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*) + echo arm-acorn-riscix${UNAME_RELEASE} + exit 0;; + SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*) + echo hppa1.1-hitachi-hiuxmpp + exit 0;; + Pyramid*:OSx*:*:* | MIS*:OSx*:*:* | MIS*:SMP_DC-OSx*:*:*) + # akee@wpdis03.wpafb.af.mil (Earle F. Ake) contributed MIS and NILE. + if test "`(/bin/universe) 2>/dev/null`" = att ; then + echo pyramid-pyramid-sysv3 + else + echo pyramid-pyramid-bsd + fi + exit 0 ;; + NILE*:*:*:dcosx) + echo pyramid-pyramid-svr4 + exit 0 ;; + DRS?6000:unix:4.0:6*) + echo sparc-icl-nx6 + exit 0 ;; + DRS?6000:UNIX_SV:4.2*:7*) + case `/usr/bin/uname -p` in + sparc) echo sparc-icl-nx7 && exit 0 ;; + esac ;; + sun4H:SunOS:5.*:*) + echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` + exit 0 ;; + sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*) + echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` + exit 0 ;; + i86pc:SunOS:5.*:*) + echo i386-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` + exit 0 ;; + sun4*:SunOS:6*:*) + # According to config.sub, this is the proper way to canonicalize + # SunOS6. Hard to guess exactly what SunOS6 will be like, but + # it's likely to be more like Solaris than SunOS4. + echo sparc-sun-solaris3`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` + exit 0 ;; + sun4*:SunOS:*:*) + case "`/usr/bin/arch -k`" in + Series*|S4*) + UNAME_RELEASE=`uname -v` + ;; + esac + # Japanese Language versions have a version number like `4.1.3-JL'. + echo sparc-sun-sunos`echo ${UNAME_RELEASE}|sed -e 's/-/_/'` + exit 0 ;; + sun3*:SunOS:*:*) + echo m68k-sun-sunos${UNAME_RELEASE} + exit 0 ;; + sun*:*:4.2BSD:*) + UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null` + test "x${UNAME_RELEASE}" = "x" && UNAME_RELEASE=3 + case "`/bin/arch`" in + sun3) + echo m68k-sun-sunos${UNAME_RELEASE} + ;; + sun4) + echo sparc-sun-sunos${UNAME_RELEASE} + ;; + esac + exit 0 ;; + aushp:SunOS:*:*) + echo sparc-auspex-sunos${UNAME_RELEASE} + exit 0 ;; + # The situation for MiNT is a little confusing. The machine name + # can be virtually everything (everything which is not + # "atarist" or "atariste" at least should have a processor + # > m68000). The system name ranges from "MiNT" over "FreeMiNT" + # to the lowercase version "mint" (or "freemint"). Finally + # the system name "TOS" denotes a system which is actually not + # MiNT. But MiNT is downward compatible to TOS, so this should + # be no problem. + atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*) + echo m68k-atari-mint${UNAME_RELEASE} + exit 0 ;; + atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*) + echo m68k-atari-mint${UNAME_RELEASE} + exit 0 ;; + *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*) + echo m68k-atari-mint${UNAME_RELEASE} + exit 0 ;; + milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*) + echo m68k-milan-mint${UNAME_RELEASE} + exit 0 ;; + hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*) + echo m68k-hades-mint${UNAME_RELEASE} + exit 0 ;; + *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*) + echo m68k-unknown-mint${UNAME_RELEASE} + exit 0 ;; + powerpc:machten:*:*) + echo powerpc-apple-machten${UNAME_RELEASE} + exit 0 ;; + RISC*:Mach:*:*) + echo mips-dec-mach_bsd4.3 + exit 0 ;; + RISC*:ULTRIX:*:*) + echo mips-dec-ultrix${UNAME_RELEASE} + exit 0 ;; + VAX*:ULTRIX*:*:*) + echo vax-dec-ultrix${UNAME_RELEASE} + exit 0 ;; + 2020:CLIX:*:* | 2430:CLIX:*:*) + echo clipper-intergraph-clix${UNAME_RELEASE} + exit 0 ;; + mips:*:*:UMIPS | mips:*:*:RISCos) + eval $set_cc_for_build + sed 's/^ //' << EOF >$dummy.c +#ifdef __cplusplus +#include /* for printf() prototype */ + int main (int argc, char *argv[]) { +#else + int main (argc, argv) int argc; char *argv[]; { +#endif + #if defined (host_mips) && defined (MIPSEB) + #if defined (SYSTYPE_SYSV) + printf ("mips-mips-riscos%ssysv\n", argv[1]); exit (0); + #endif + #if defined (SYSTYPE_SVR4) + printf ("mips-mips-riscos%ssvr4\n", argv[1]); exit (0); + #endif + #if defined (SYSTYPE_BSD43) || defined(SYSTYPE_BSD) + printf ("mips-mips-riscos%sbsd\n", argv[1]); exit (0); + #endif + #endif + exit (-1); + } +EOF + $CC_FOR_BUILD -o $dummy $dummy.c \ + && $dummy `echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` \ + && exit 0 + echo mips-mips-riscos${UNAME_RELEASE} + exit 0 ;; + Motorola:PowerMAX_OS:*:*) + echo powerpc-motorola-powermax + exit 0 ;; + Motorola:*:4.3:PL8-*) + echo powerpc-harris-powermax + exit 0 ;; + Night_Hawk:*:*:PowerMAX_OS | Synergy:PowerMAX_OS:*:*) + echo powerpc-harris-powermax + exit 0 ;; + Night_Hawk:Power_UNIX:*:*) + echo powerpc-harris-powerunix + exit 0 ;; + m88k:CX/UX:7*:*) + echo m88k-harris-cxux7 + exit 0 ;; + m88k:*:4*:R4*) + echo m88k-motorola-sysv4 + exit 0 ;; + m88k:*:3*:R3*) + echo m88k-motorola-sysv3 + exit 0 ;; + AViiON:dgux:*:*) + # DG/UX returns AViiON for all architectures + UNAME_PROCESSOR=`/usr/bin/uname -p` + if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ] + then + if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \ + [ ${TARGET_BINARY_INTERFACE}x = x ] + then + echo m88k-dg-dgux${UNAME_RELEASE} + else + echo m88k-dg-dguxbcs${UNAME_RELEASE} + fi + else + echo i586-dg-dgux${UNAME_RELEASE} + fi + exit 0 ;; + M88*:DolphinOS:*:*) # DolphinOS (SVR3) + echo m88k-dolphin-sysv3 + exit 0 ;; + M88*:*:R3*:*) + # Delta 88k system running SVR3 + echo m88k-motorola-sysv3 + exit 0 ;; + XD88*:*:*:*) # Tektronix XD88 system running UTekV (SVR3) + echo m88k-tektronix-sysv3 + exit 0 ;; + Tek43[0-9][0-9]:UTek:*:*) # Tektronix 4300 system running UTek (BSD) + echo m68k-tektronix-bsd + exit 0 ;; + *:IRIX*:*:*) + echo mips-sgi-irix`echo ${UNAME_RELEASE}|sed -e 's/-/_/g'` + exit 0 ;; + ????????:AIX?:[12].1:2) # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX. + echo romp-ibm-aix # uname -m gives an 8 hex-code CPU id + exit 0 ;; # Note that: echo "'`uname -s`'" gives 'AIX ' + i*86:AIX:*:*) + echo i386-ibm-aix + exit 0 ;; + ia64:AIX:*:*) + if [ -x /usr/bin/oslevel ] ; then + IBM_REV=`/usr/bin/oslevel` + else + IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE} + fi + echo ${UNAME_MACHINE}-ibm-aix${IBM_REV} + exit 0 ;; + *:AIX:2:3) + if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then + eval $set_cc_for_build + sed 's/^ //' << EOF >$dummy.c + #include + + main() + { + if (!__power_pc()) + exit(1); + puts("powerpc-ibm-aix3.2.5"); + exit(0); + } +EOF + $CC_FOR_BUILD -o $dummy $dummy.c && $dummy && exit 0 + echo rs6000-ibm-aix3.2.5 + elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then + echo rs6000-ibm-aix3.2.4 + else + echo rs6000-ibm-aix3.2 + fi + exit 0 ;; + *:AIX:*:[45]) + IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'` + if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then + IBM_ARCH=rs6000 + else + IBM_ARCH=powerpc + fi + if [ -x /usr/bin/oslevel ] ; then + IBM_REV=`/usr/bin/oslevel` + else + IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE} + fi + echo ${IBM_ARCH}-ibm-aix${IBM_REV} + exit 0 ;; + *:AIX:*:*) + echo rs6000-ibm-aix + exit 0 ;; + ibmrt:4.4BSD:*|romp-ibm:BSD:*) + echo romp-ibm-bsd4.4 + exit 0 ;; + ibmrt:*BSD:*|romp-ibm:BSD:*) # covers RT/PC BSD and + echo romp-ibm-bsd${UNAME_RELEASE} # 4.3 with uname added to + exit 0 ;; # report: romp-ibm BSD 4.3 + *:BOSX:*:*) + echo rs6000-bull-bosx + exit 0 ;; + DPX/2?00:B.O.S.:*:*) + echo m68k-bull-sysv3 + exit 0 ;; + 9000/[34]??:4.3bsd:1.*:*) + echo m68k-hp-bsd + exit 0 ;; + hp300:4.4BSD:*:* | 9000/[34]??:4.3bsd:2.*:*) + echo m68k-hp-bsd4.4 + exit 0 ;; + 9000/[34678]??:HP-UX:*:*) + HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'` + case "${UNAME_MACHINE}" in + 9000/31? ) HP_ARCH=m68000 ;; + 9000/[34]?? ) HP_ARCH=m68k ;; + 9000/[678][0-9][0-9]) + if [ -x /usr/bin/getconf ]; then + sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null` + sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null` + case "${sc_cpu_version}" in + 523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0 + 528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1 + 532) # CPU_PA_RISC2_0 + case "${sc_kernel_bits}" in + 32) HP_ARCH="hppa2.0n" ;; + 64) HP_ARCH="hppa2.0w" ;; + '') HP_ARCH="hppa2.0" ;; # HP-UX 10.20 + esac ;; + esac + fi + if [ "${HP_ARCH}" = "" ]; then + eval $set_cc_for_build + sed 's/^ //' << EOF >$dummy.c + + #define _HPUX_SOURCE + #include + #include + + int main () + { + #if defined(_SC_KERNEL_BITS) + long bits = sysconf(_SC_KERNEL_BITS); + #endif + long cpu = sysconf (_SC_CPU_VERSION); + + switch (cpu) + { + case CPU_PA_RISC1_0: puts ("hppa1.0"); break; + case CPU_PA_RISC1_1: puts ("hppa1.1"); break; + case CPU_PA_RISC2_0: + #if defined(_SC_KERNEL_BITS) + switch (bits) + { + case 64: puts ("hppa2.0w"); break; + case 32: puts ("hppa2.0n"); break; + default: puts ("hppa2.0"); break; + } break; + #else /* !defined(_SC_KERNEL_BITS) */ + puts ("hppa2.0"); break; + #endif + default: puts ("hppa1.0"); break; + } + exit (0); + } +EOF + (CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy` + test -z "$HP_ARCH" && HP_ARCH=hppa + fi ;; + esac + if [ ${HP_ARCH} = "hppa2.0w" ] + then + # avoid double evaluation of $set_cc_for_build + test -n "$CC_FOR_BUILD" || eval $set_cc_for_build + if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E -) | grep __LP64__ >/dev/null + then + HP_ARCH="hppa2.0w" + else + HP_ARCH="hppa64" + fi + fi + echo ${HP_ARCH}-hp-hpux${HPUX_REV} + exit 0 ;; + ia64:HP-UX:*:*) + HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'` + echo ia64-hp-hpux${HPUX_REV} + exit 0 ;; + 3050*:HI-UX:*:*) + eval $set_cc_for_build + sed 's/^ //' << EOF >$dummy.c + #include + int + main () + { + long cpu = sysconf (_SC_CPU_VERSION); + /* The order matters, because CPU_IS_HP_MC68K erroneously returns + true for CPU_PA_RISC1_0. CPU_IS_PA_RISC returns correct + results, however. */ + if (CPU_IS_PA_RISC (cpu)) + { + switch (cpu) + { + case CPU_PA_RISC1_0: puts ("hppa1.0-hitachi-hiuxwe2"); break; + case CPU_PA_RISC1_1: puts ("hppa1.1-hitachi-hiuxwe2"); break; + case CPU_PA_RISC2_0: puts ("hppa2.0-hitachi-hiuxwe2"); break; + default: puts ("hppa-hitachi-hiuxwe2"); break; + } + } + else if (CPU_IS_HP_MC68K (cpu)) + puts ("m68k-hitachi-hiuxwe2"); + else puts ("unknown-hitachi-hiuxwe2"); + exit (0); + } +EOF + $CC_FOR_BUILD -o $dummy $dummy.c && $dummy && exit 0 + echo unknown-hitachi-hiuxwe2 + exit 0 ;; + 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* ) + echo hppa1.1-hp-bsd + exit 0 ;; + 9000/8??:4.3bsd:*:*) + echo hppa1.0-hp-bsd + exit 0 ;; + *9??*:MPE/iX:*:* | *3000*:MPE/iX:*:*) + echo hppa1.0-hp-mpeix + exit 0 ;; + hp7??:OSF1:*:* | hp8?[79]:OSF1:*:* ) + echo hppa1.1-hp-osf + exit 0 ;; + hp8??:OSF1:*:*) + echo hppa1.0-hp-osf + exit 0 ;; + i*86:OSF1:*:*) + if [ -x /usr/sbin/sysversion ] ; then + echo ${UNAME_MACHINE}-unknown-osf1mk + else + echo ${UNAME_MACHINE}-unknown-osf1 + fi + exit 0 ;; + parisc*:Lites*:*:*) + echo hppa1.1-hp-lites + exit 0 ;; + C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*) + echo c1-convex-bsd + exit 0 ;; + C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*) + if getsysinfo -f scalar_acc + then echo c32-convex-bsd + else echo c2-convex-bsd + fi + exit 0 ;; + C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*) + echo c34-convex-bsd + exit 0 ;; + C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*) + echo c38-convex-bsd + exit 0 ;; + C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*) + echo c4-convex-bsd + exit 0 ;; + CRAY*Y-MP:*:*:*) + echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' + exit 0 ;; + CRAY*[A-Z]90:*:*:*) + echo ${UNAME_MACHINE}-cray-unicos${UNAME_RELEASE} \ + | sed -e 's/CRAY.*\([A-Z]90\)/\1/' \ + -e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ \ + -e 's/\.[^.]*$/.X/' + exit 0 ;; + CRAY*TS:*:*:*) + echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' + exit 0 ;; + CRAY*T3E:*:*:*) + echo alphaev5-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' + exit 0 ;; + CRAY*SV1:*:*:*) + echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' + exit 0 ;; + *:UNICOS/mp:*:*) + echo nv1-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' + exit 0 ;; + F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*) + FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` + FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` + FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'` + echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" + exit 0 ;; + i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*) + echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE} + exit 0 ;; + sparc*:BSD/OS:*:*) + echo sparc-unknown-bsdi${UNAME_RELEASE} + exit 0 ;; + *:BSD/OS:*:*) + echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE} + exit 0 ;; + *:FreeBSD:*:*|*:GNU/FreeBSD:*:*) + # Determine whether the default compiler uses glibc. + eval $set_cc_for_build + sed 's/^ //' << EOF >$dummy.c + #include + #if __GLIBC__ >= 2 + LIBC=gnu + #else + LIBC= + #endif +EOF + eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=` + echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`${LIBC:+-$LIBC} + exit 0 ;; + i*:CYGWIN*:*) + echo ${UNAME_MACHINE}-pc-cygwin + exit 0 ;; + i*:MINGW*:*) + echo ${UNAME_MACHINE}-pc-mingw32 + exit 0 ;; + i*:PW*:*) + echo ${UNAME_MACHINE}-pc-pw32 + exit 0 ;; + x86:Interix*:[34]*) + echo i586-pc-interix${UNAME_RELEASE}|sed -e 's/\..*//' + exit 0 ;; + [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*) + echo i${UNAME_MACHINE}-pc-mks + exit 0 ;; + i*:Windows_NT*:* | Pentium*:Windows_NT*:*) + # How do we know it's Interix rather than the generic POSIX subsystem? + # It also conflicts with pre-2.0 versions of AT&T UWIN. Should we + # UNAME_MACHINE based on the output of uname instead of i386? + echo i586-pc-interix + exit 0 ;; + i*:UWIN*:*) + echo ${UNAME_MACHINE}-pc-uwin + exit 0 ;; + p*:CYGWIN*:*) + echo powerpcle-unknown-cygwin + exit 0 ;; + prep*:SunOS:5.*:*) + echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` + exit 0 ;; + *:GNU:*:*) + echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'` + exit 0 ;; + i*86:Minix:*:*) + echo ${UNAME_MACHINE}-pc-minix + exit 0 ;; + arm*:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-gnu + exit 0 ;; + cris:Linux:*:*) + echo cris-axis-linux-gnu + exit 0 ;; + ia64:Linux:*:*) + echo ${UNAME_MACHINE}-${VENDOR:-unknown}-linux-gnu + exit 0 ;; + m68*:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-gnu + exit 0 ;; + mips:Linux:*:*) + eval $set_cc_for_build + sed 's/^ //' << EOF >$dummy.c + #undef CPU + #undef mips + #undef mipsel + #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL) + CPU=mipsel + #else + #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB) + CPU=mips + #else + CPU= + #endif + #endif +EOF + eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=` + test x"${CPU}" != x && echo "${CPU}-unknown-linux-gnu" && exit 0 + ;; + mips64:Linux:*:*) + eval $set_cc_for_build + sed 's/^ //' << EOF >$dummy.c + #undef CPU + #undef mips64 + #undef mips64el + #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL) + CPU=mips64el + #else + #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB) + CPU=mips64 + #else + CPU= + #endif + #endif +EOF + eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=` + test x"${CPU}" != x && echo "${CPU}-unknown-linux-gnu" && exit 0 + ;; + ppc:Linux:*:*) + echo powerpc-${VENDOR:-unknown}-linux-gnu + exit 0 ;; + ppc64:Linux:*:*) + echo powerpc64-${VENDOR:-unknown}-linux-gnu + exit 0 ;; + alpha:Linux:*:*) + case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in + EV5) UNAME_MACHINE=alphaev5 ;; + EV56) UNAME_MACHINE=alphaev56 ;; + PCA56) UNAME_MACHINE=alphapca56 ;; + PCA57) UNAME_MACHINE=alphapca56 ;; + EV6) UNAME_MACHINE=alphaev6 ;; + EV67) UNAME_MACHINE=alphaev67 ;; + EV68*) UNAME_MACHINE=alphaev68 ;; + esac + objdump --private-headers /bin/sh | grep ld.so.1 >/dev/null + if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi + echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC} + exit 0 ;; + parisc:Linux:*:* | hppa:Linux:*:*) + # Look for CPU level + case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in + PA7*) echo hppa1.1-unknown-linux-gnu ;; + PA8*) echo hppa2.0-unknown-linux-gnu ;; + *) echo hppa-unknown-linux-gnu ;; + esac + exit 0 ;; + parisc64:Linux:*:* | hppa64:Linux:*:*) + echo hppa64-unknown-linux-gnu + exit 0 ;; + s390:Linux:*:* | s390x:Linux:*:*) + echo ${UNAME_MACHINE}-${VENDOR:-ibm}-linux-gnu + exit 0 ;; + sh64*:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-gnu + exit 0 ;; + sh*:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-gnu + exit 0 ;; + sparc:Linux:*:* | sparc64:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-gnu + exit 0 ;; + x86_64:Linux:*:*) + echo x86_64-${VENDOR:-unknown}-linux-gnu + exit 0 ;; + i*86:Linux:*:*) + # The BFD linker knows what the default object file format is, so + # first see if it will tell us. cd to the root directory to prevent + # problems with other programs or directories called `ld' in the path. + # Set LC_ALL=C to ensure ld outputs messages in English. + ld_supported_targets=`cd /; LC_ALL=C ld --help 2>&1 \ + | sed -ne '/supported targets:/!d + s/[ ][ ]*/ /g + s/.*supported targets: *// + s/ .*// + p'` + case "$ld_supported_targets" in + elf32-i386) + TENTATIVE="${UNAME_MACHINE}-pc-linux-gnu" + ;; + a.out-i386-linux) + echo "${UNAME_MACHINE}-pc-linux-gnuaout" + exit 0 ;; + coff-i386) + echo "${UNAME_MACHINE}-pc-linux-gnucoff" + exit 0 ;; + "") + # Either a pre-BFD a.out linker (linux-gnuoldld) or + # one that does not give us useful --help. + echo "${UNAME_MACHINE}-pc-linux-gnuoldld" + exit 0 ;; + esac + # Determine whether the default compiler is a.out or elf + eval $set_cc_for_build + sed 's/^ //' << EOF >$dummy.c + #include + #ifdef __ELF__ + # ifdef __GLIBC__ + # if __GLIBC__ >= 2 + LIBC=gnu + # else + LIBC=gnulibc1 + # endif + # else + LIBC=gnulibc1 + # endif + #else + #ifdef __INTEL_COMPILER + LIBC=gnu + #else + LIBC=gnuaout + #endif + #endif +EOF + eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=` + test x"${LIBC}" != x && echo "${UNAME_MACHINE}-${VENDOR:-pc}-linux-${LIBC}" && exit 0 + test x"${TENTATIVE}" != x && echo "${TENTATIVE}" && exit 0 + ;; + i*86:DYNIX/ptx:4*:*) + # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there. + # earlier versions are messed up and put the nodename in both + # sysname and nodename. + echo i386-sequent-sysv4 + exit 0 ;; + i*86:UNIX_SV:4.2MP:2.*) + # Unixware is an offshoot of SVR4, but it has its own version + # number series starting with 2... + # I am not positive that other SVR4 systems won't match this, + # I just have to hope. -- rms. + # Use sysv4.2uw... so that sysv4* matches it. + echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION} + exit 0 ;; + i*86:OS/2:*:*) + # If we were able to find `uname', then EMX Unix compatibility + # is probably installed. + echo ${UNAME_MACHINE}-pc-os2-emx + exit 0 ;; + i*86:XTS-300:*:STOP) + echo ${UNAME_MACHINE}-unknown-stop + exit 0 ;; + i*86:atheos:*:*) + echo ${UNAME_MACHINE}-unknown-atheos + exit 0 ;; + i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.0*:*) + echo i386-unknown-lynxos${UNAME_RELEASE} + exit 0 ;; + i*86:*DOS:*:*) + echo ${UNAME_MACHINE}-pc-msdosdjgpp + exit 0 ;; + i*86:*:4.*:* | i*86:SYSTEM_V:4.*:*) + UNAME_REL=`echo ${UNAME_RELEASE} | sed 's/\/MP$//'` + if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then + echo ${UNAME_MACHINE}-univel-sysv${UNAME_REL} + else + echo ${UNAME_MACHINE}-pc-sysv${UNAME_REL} + fi + exit 0 ;; + i*86:*:5:[78]*) + case `/bin/uname -X | grep "^Machine"` in + *486*) UNAME_MACHINE=i486 ;; + *Pentium) UNAME_MACHINE=i586 ;; + *Pent*|*Celeron) UNAME_MACHINE=i686 ;; + esac + echo ${UNAME_MACHINE}-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}${UNAME_VERSION} + exit 0 ;; + i*86:*:3.2:*) + if test -f /usr/options/cb.name; then + UNAME_REL=`sed -n 's/.*Version //p' /dev/null >/dev/null ; then + UNAME_REL=`(/bin/uname -X|grep Release|sed -e 's/.*= //')` + (/bin/uname -X|grep i80486 >/dev/null) && UNAME_MACHINE=i486 + (/bin/uname -X|grep '^Machine.*Pentium' >/dev/null) \ + && UNAME_MACHINE=i586 + (/bin/uname -X|grep '^Machine.*Pent *II' >/dev/null) \ + && UNAME_MACHINE=i686 + (/bin/uname -X|grep '^Machine.*Pentium Pro' >/dev/null) \ + && UNAME_MACHINE=i686 + echo ${UNAME_MACHINE}-pc-sco$UNAME_REL + else + echo ${UNAME_MACHINE}-pc-sysv32 + fi + exit 0 ;; + pc:*:*:*) + # Left here for compatibility: + # uname -m prints for DJGPP always 'pc', but it prints nothing about + # the processor, so we play safe by assuming i386. + echo i386-pc-msdosdjgpp + exit 0 ;; + Intel:Mach:3*:*) + echo i386-pc-mach3 + exit 0 ;; + paragon:*:*:*) + echo i860-intel-osf1 + exit 0 ;; + i860:*:4.*:*) # i860-SVR4 + if grep Stardent /usr/include/sys/uadmin.h >/dev/null 2>&1 ; then + echo i860-stardent-sysv${UNAME_RELEASE} # Stardent Vistra i860-SVR4 + else # Add other i860-SVR4 vendors below as they are discovered. + echo i860-unknown-sysv${UNAME_RELEASE} # Unknown i860-SVR4 + fi + exit 0 ;; + mini*:CTIX:SYS*5:*) + # "miniframe" + echo m68010-convergent-sysv + exit 0 ;; + mc68k:UNIX:SYSTEM5:3.51m) + echo m68k-convergent-sysv + exit 0 ;; + M680?0:D-NIX:5.3:*) + echo m68k-diab-dnix + exit 0 ;; + M68*:*:R3V[567]*:*) + test -r /sysV68 && echo 'm68k-motorola-sysv' && exit 0 ;; + 3[34]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4400:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0 | SDS2:*:4.0:3.0 | SHG2:*:4.0:3.0) + OS_REL='' + test -r /etc/.relid \ + && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid` + /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ + && echo i486-ncr-sysv4.3${OS_REL} && exit 0 + /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \ + && echo i586-ncr-sysv4.3${OS_REL} && exit 0 ;; + 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*) + /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ + && echo i486-ncr-sysv4 && exit 0 ;; + m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*) + echo m68k-unknown-lynxos${UNAME_RELEASE} + exit 0 ;; + mc68030:UNIX_System_V:4.*:*) + echo m68k-atari-sysv4 + exit 0 ;; + TSUNAMI:LynxOS:2.*:*) + echo sparc-unknown-lynxos${UNAME_RELEASE} + exit 0 ;; + rs6000:LynxOS:2.*:*) + echo rs6000-unknown-lynxos${UNAME_RELEASE} + exit 0 ;; + PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.0*:*) + echo powerpc-unknown-lynxos${UNAME_RELEASE} + exit 0 ;; + SM[BE]S:UNIX_SV:*:*) + echo mips-dde-sysv${UNAME_RELEASE} + exit 0 ;; + RM*:ReliantUNIX-*:*:*) + echo mips-sni-sysv4 + exit 0 ;; + RM*:SINIX-*:*:*) + echo mips-sni-sysv4 + exit 0 ;; + *:SINIX-*:*:*) + if uname -p 2>/dev/null >/dev/null ; then + UNAME_MACHINE=`(uname -p) 2>/dev/null` + echo ${UNAME_MACHINE}-sni-sysv4 + else + echo ns32k-sni-sysv + fi + exit 0 ;; + PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort + # says + echo i586-unisys-sysv4 + exit 0 ;; + *:UNIX_System_V:4*:FTX*) + # From Gerald Hewes . + # How about differentiating between stratus architectures? -djm + echo hppa1.1-stratus-sysv4 + exit 0 ;; + *:*:*:FTX*) + # From seanf@swdc.stratus.com. + echo i860-stratus-sysv4 + exit 0 ;; + *:VOS:*:*) + # From Paul.Green@stratus.com. + echo hppa1.1-stratus-vos + exit 0 ;; + mc68*:A/UX:*:*) + echo m68k-apple-aux${UNAME_RELEASE} + exit 0 ;; + news*:NEWS-OS:6*:*) + echo mips-sony-newsos6 + exit 0 ;; + R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*) + if [ -d /usr/nec ]; then + echo mips-nec-sysv${UNAME_RELEASE} + else + echo mips-unknown-sysv${UNAME_RELEASE} + fi + exit 0 ;; + BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only. + echo powerpc-be-beos + exit 0 ;; + BeMac:BeOS:*:*) # BeOS running on Mac or Mac clone, PPC only. + echo powerpc-apple-beos + exit 0 ;; + BePC:BeOS:*:*) # BeOS running on Intel PC compatible. + echo i586-pc-beos + exit 0 ;; + SX-4:SUPER-UX:*:*) + echo sx4-nec-superux${UNAME_RELEASE} + exit 0 ;; + SX-5:SUPER-UX:*:*) + echo sx5-nec-superux${UNAME_RELEASE} + exit 0 ;; + SX-6:SUPER-UX:*:*) + echo sx6-nec-superux${UNAME_RELEASE} + exit 0 ;; + Power*:Rhapsody:*:*) + echo powerpc-apple-rhapsody${UNAME_RELEASE} + exit 0 ;; + *:Rhapsody:*:*) + echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE} + exit 0 ;; + *:Darwin:*:*) + case `uname -p` in + *86) UNAME_PROCESSOR=i686 ;; + powerpc) UNAME_PROCESSOR=powerpc ;; + esac + echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE} + exit 0 ;; + *:procnto*:*:* | *:QNX:[0123456789]*:*) + UNAME_PROCESSOR=`uname -p` + if test "$UNAME_PROCESSOR" = "x86"; then + UNAME_PROCESSOR=i386 + UNAME_MACHINE=pc + fi + echo ${UNAME_PROCESSOR}-${UNAME_MACHINE}-nto-qnx${UNAME_RELEASE} + exit 0 ;; + *:QNX:*:4*) + echo i386-pc-qnx + exit 0 ;; + NSR-[DGKLNPTVW]:NONSTOP_KERNEL:*:*) + echo nsr-tandem-nsk${UNAME_RELEASE} + exit 0 ;; + *:NonStop-UX:*:*) + echo mips-compaq-nonstopux + exit 0 ;; + BS2000:POSIX*:*:*) + echo bs2000-siemens-sysv + exit 0 ;; + DS/*:UNIX_System_V:*:*) + echo ${UNAME_MACHINE}-${UNAME_SYSTEM}-${UNAME_RELEASE} + exit 0 ;; + *:Plan9:*:*) + # "uname -m" is not consistent, so use $cputype instead. 386 + # is converted to i386 for consistency with other x86 + # operating systems. + if test "$cputype" = "386"; then + UNAME_MACHINE=i386 + else + UNAME_MACHINE="$cputype" + fi + echo ${UNAME_MACHINE}-unknown-plan9 + exit 0 ;; + *:TOPS-10:*:*) + echo pdp10-unknown-tops10 + exit 0 ;; + *:TENEX:*:*) + echo pdp10-unknown-tenex + exit 0 ;; + KS10:TOPS-20:*:* | KL10:TOPS-20:*:* | TYPE4:TOPS-20:*:*) + echo pdp10-dec-tops20 + exit 0 ;; + XKL-1:TOPS-20:*:* | TYPE5:TOPS-20:*:*) + echo pdp10-xkl-tops20 + exit 0 ;; + *:TOPS-20:*:*) + echo pdp10-unknown-tops20 + exit 0 ;; + *:ITS:*:*) + echo pdp10-unknown-its + exit 0 ;; + SEI:*:*:SEIUX) + echo mips-sei-seiux${UNAME_RELEASE} + exit 0 ;; +esac + +#echo '(No uname command or uname output not recognized.)' 1>&2 +#echo "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" 1>&2 + +eval $set_cc_for_build +cat >$dummy.c < +# include +#endif +main () +{ +#if defined (sony) +#if defined (MIPSEB) + /* BFD wants "bsd" instead of "newsos". Perhaps BFD should be changed, + I don't know.... */ + printf ("mips-sony-bsd\n"); exit (0); +#else +#include + printf ("m68k-sony-newsos%s\n", +#ifdef NEWSOS4 + "4" +#else + "" +#endif + ); exit (0); +#endif +#endif + +#if defined (__arm) && defined (__acorn) && defined (__unix) + printf ("arm-acorn-riscix"); exit (0); +#endif + +#if defined (hp300) && !defined (hpux) + printf ("m68k-hp-bsd\n"); exit (0); +#endif + +#if defined (NeXT) +#if !defined (__ARCHITECTURE__) +#define __ARCHITECTURE__ "m68k" +#endif + int version; + version=`(hostinfo | sed -n 's/.*NeXT Mach \([0-9]*\).*/\1/p') 2>/dev/null`; + if (version < 4) + printf ("%s-next-nextstep%d\n", __ARCHITECTURE__, version); + else + printf ("%s-next-openstep%d\n", __ARCHITECTURE__, version); + exit (0); +#endif + +#if defined (MULTIMAX) || defined (n16) +#if defined (UMAXV) + printf ("ns32k-encore-sysv\n"); exit (0); +#else +#if defined (CMU) + printf ("ns32k-encore-mach\n"); exit (0); +#else + printf ("ns32k-encore-bsd\n"); exit (0); +#endif +#endif +#endif + +#if defined (__386BSD__) + printf ("i386-pc-bsd\n"); exit (0); +#endif + +#if defined (sequent) +#if defined (i386) + printf ("i386-sequent-dynix\n"); exit (0); +#endif +#if defined (ns32000) + printf ("ns32k-sequent-dynix\n"); exit (0); +#endif +#endif + +#if defined (_SEQUENT_) + struct utsname un; + + uname(&un); + + if (strncmp(un.version, "V2", 2) == 0) { + printf ("i386-sequent-ptx2\n"); exit (0); + } + if (strncmp(un.version, "V1", 2) == 0) { /* XXX is V1 correct? */ + printf ("i386-sequent-ptx1\n"); exit (0); + } + printf ("i386-sequent-ptx\n"); exit (0); + +#endif + +#if defined (vax) +# if !defined (ultrix) +# include +# if defined (BSD) +# if BSD == 43 + printf ("vax-dec-bsd4.3\n"); exit (0); +# else +# if BSD == 199006 + printf ("vax-dec-bsd4.3reno\n"); exit (0); +# else + printf ("vax-dec-bsd\n"); exit (0); +# endif +# endif +# else + printf ("vax-dec-bsd\n"); exit (0); +# endif +# else + printf ("vax-dec-ultrix\n"); exit (0); +# endif +#endif + +#if defined (alliant) && defined (i860) + printf ("i860-alliant-bsd\n"); exit (0); +#endif + + exit (1); +} +EOF + +$CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null && $dummy && exit 0 + +# Apollos put the system type in the environment. + +test -d /usr/apollo && { echo ${ISP}-apollo-${SYSTYPE}; exit 0; } + +# Convex versions that predate uname can use getsysinfo(1) + +if [ -x /usr/convex/getsysinfo ] +then + case `getsysinfo -f cpu_type` in + c1*) + echo c1-convex-bsd + exit 0 ;; + c2*) + if getsysinfo -f scalar_acc + then echo c32-convex-bsd + else echo c2-convex-bsd + fi + exit 0 ;; + c34*) + echo c34-convex-bsd + exit 0 ;; + c38*) + echo c38-convex-bsd + exit 0 ;; + c4*) + echo c4-convex-bsd + exit 0 ;; + esac +fi + +cat >&2 < in order to provide the needed +information to handle your system. + +config.guess timestamp = $timestamp + +uname -m = `(uname -m) 2>/dev/null || echo unknown` +uname -r = `(uname -r) 2>/dev/null || echo unknown` +uname -s = `(uname -s) 2>/dev/null || echo unknown` +uname -v = `(uname -v) 2>/dev/null || echo unknown` + +/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null` +/bin/uname -X = `(/bin/uname -X) 2>/dev/null` + +hostinfo = `(hostinfo) 2>/dev/null` +/bin/universe = `(/bin/universe) 2>/dev/null` +/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null` +/bin/arch = `(/bin/arch) 2>/dev/null` +/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null` +/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null` + +UNAME_MACHINE = ${UNAME_MACHINE} +UNAME_RELEASE = ${UNAME_RELEASE} +UNAME_SYSTEM = ${UNAME_SYSTEM} +UNAME_VERSION = ${UNAME_VERSION} +EOF + +exit 1 + +# Local variables: +# eval: (add-hook 'write-file-hooks 'time-stamp) +# time-stamp-start: "timestamp='" +# time-stamp-format: "%:y-%02m-%02d" +# time-stamp-end: "'" +# End: diff --git a/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/config.h b/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/config.h new file mode 100644 index 000000000..0380153a8 --- /dev/null +++ b/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/config.h @@ -0,0 +1,112 @@ +/* config.h. Generated from config.h.in by configure. */ +/* config.h.in. Generated from configure.in by autoheader. */ + +#define LINUX_API 1 +#define BSD_API 0 +#define DARWIN_API 0 + +/* #undef HAVE_OLD_DEV_USB_USB_H */ + +#define HAVE_LIMITS_H 1 +#define HAVE_UNISTD_H 1 +#define HAVE_VALUES_H 1 + +#define LIBUSB_MAJOR_VERSION 0 +#define LIBUSB_MINOR_VERSION 1 +#define LIBUSB_MICRO_VERSION 12 +#define LIBUSB_INTERFACE_AGE 4 +#define LIBUSB_BINARY_AGE 8 + + +/* Define if building universal (internal helper macro) */ +/* #undef AC_APPLE_UNIVERSAL_BUILD */ + +/* Define to 1 if you have the header file. */ +#define HAVE_DLFCN_H 1 + +/* Define to 1 if you don't have `vprintf' but do have `_doprnt.' */ +/* #undef HAVE_DOPRNT */ + +/* Define to 1 if you have the header file. */ +#define HAVE_INTTYPES_H 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_LIMITS_H 1 + +/* Define to 1 if you have the `memmove' function. */ +#define HAVE_MEMMOVE 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_MEMORY_H 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_STDINT_H 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_STDLIB_H 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_STRINGS_H 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_STRING_H 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_SYS_STAT_H 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_SYS_TYPES_H 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_UNISTD_H 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_VALUES_H 1 + +/* Define to 1 if you have the `vprintf' function. */ +#define HAVE_VPRINTF 1 + +/* Define to 1 if your C compiler doesn't accept -c and -o together. */ +/* #undef NO_MINUS_C_MINUS_O */ + +/* Name of package */ +#define PACKAGE "libusb" + +/* Define to the address where bug reports for this package should be sent. */ +#define PACKAGE_BUGREPORT "" + +/* Define to the full name of this package. */ +#define PACKAGE_NAME "libusb" + +/* Define to the full name and version of this package. */ +#define PACKAGE_STRING "libusb 0.1.12" + +/* Define to the one symbol short name of this package. */ +#define PACKAGE_TARNAME "libusb" + +/* Define to the home page for this package. */ +#define PACKAGE_URL "" + +/* Define to the version of this package. */ +#define PACKAGE_VERSION "0.1.12" + +/* Define to 1 if you have the ANSI C header files. */ +#define STDC_HEADERS 1 + +/* Version number of package */ +#define VERSION "0.1.12" + +/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most + significant byte first (like Motorola and SPARC, unlike Intel). */ +#if defined AC_APPLE_UNIVERSAL_BUILD +# if defined __BIG_ENDIAN__ +# define WORDS_BIGENDIAN 1 +# endif +#else +# ifndef WORDS_BIGENDIAN +/* # undef WORDS_BIGENDIAN */ +# endif +#endif + +/* Define to empty if `const' does not conform to ANSI C. */ +/* #undef const */ diff --git a/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/config.h.in b/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/config.h.in new file mode 100644 index 000000000..fadfa3527 --- /dev/null +++ b/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/config.h.in @@ -0,0 +1,111 @@ +/* config.h.in. Generated from configure.in by autoheader. */ + +#undef LINUX_API +#undef BSD_API +#undef DARWIN_API + +#undef HAVE_OLD_DEV_USB_USB_H + +#undef HAVE_LIMITS_H +#undef HAVE_UNISTD_H +#undef HAVE_VALUES_H + +#undef LIBUSB_MAJOR_VERSION +#undef LIBUSB_MINOR_VERSION +#undef LIBUSB_MICRO_VERSION +#undef LIBUSB_INTERFACE_AGE +#undef LIBUSB_BINARY_AGE + + +/* Define if building universal (internal helper macro) */ +#undef AC_APPLE_UNIVERSAL_BUILD + +/* Define to 1 if you have the header file. */ +#undef HAVE_DLFCN_H + +/* Define to 1 if you don't have `vprintf' but do have `_doprnt.' */ +#undef HAVE_DOPRNT + +/* Define to 1 if you have the header file. */ +#undef HAVE_INTTYPES_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_LIMITS_H + +/* Define to 1 if you have the `memmove' function. */ +#undef HAVE_MEMMOVE + +/* Define to 1 if you have the header file. */ +#undef HAVE_MEMORY_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_STDINT_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_STDLIB_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_STRINGS_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_STRING_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_SYS_STAT_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_SYS_TYPES_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_UNISTD_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_VALUES_H + +/* Define to 1 if you have the `vprintf' function. */ +#undef HAVE_VPRINTF + +/* Define to 1 if your C compiler doesn't accept -c and -o together. */ +#undef NO_MINUS_C_MINUS_O + +/* Name of package */ +#undef PACKAGE + +/* Define to the address where bug reports for this package should be sent. */ +#undef PACKAGE_BUGREPORT + +/* Define to the full name of this package. */ +#undef PACKAGE_NAME + +/* Define to the full name and version of this package. */ +#undef PACKAGE_STRING + +/* Define to the one symbol short name of this package. */ +#undef PACKAGE_TARNAME + +/* Define to the home page for this package. */ +#undef PACKAGE_URL + +/* Define to the version of this package. */ +#undef PACKAGE_VERSION + +/* Define to 1 if you have the ANSI C header files. */ +#undef STDC_HEADERS + +/* Version number of package */ +#undef VERSION + +/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most + significant byte first (like Motorola and SPARC, unlike Intel). */ +#if defined AC_APPLE_UNIVERSAL_BUILD +# if defined __BIG_ENDIAN__ +# define WORDS_BIGENDIAN 1 +# endif +#else +# ifndef WORDS_BIGENDIAN +# undef WORDS_BIGENDIAN +# endif +#endif + +/* Define to empty if `const' does not conform to ANSI C. */ +#undef const diff --git a/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/config.log b/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/config.log new file mode 100644 index 000000000..ca1fcd51e --- /dev/null +++ b/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/config.log @@ -0,0 +1,1148 @@ +This file contains any messages produced by compilers while +running configure, to aid debugging if configure makes a mistake. + +It was created by libusb configure 0.1.12, which was +generated by GNU Autoconf 2.65. Invocation command line was + + $ ./configure --host=mipsel-uclibc-linux26 CC=/home/qingheng/BCM947186/build_script/43241/../../platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/mipsel-uclibc-linux26-gcc CXX=/home/qingheng/BCM947186/build_script/43241/../../platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/mipsel-uclibc-linux26-g++ + +## --------- ## +## Platform. ## +## --------- ## + +hostname = qingheng-Precision-WorkStation-T3500 +uname -m = x86_64 +uname -r = 3.2.0-45-generic +uname -s = Linux +uname -v = #70-Ubuntu SMP Wed May 29 20:12:06 UTC 2013 + +/usr/bin/uname -p = unknown +/bin/uname -X = unknown + +/bin/arch = unknown +/usr/bin/arch -k = unknown +/usr/convex/getsysinfo = unknown +/usr/bin/hostinfo = unknown +/bin/machine = unknown +/usr/bin/oslevel = unknown +/bin/universe = unknown + +PATH: /home/qingheng/bin +PATH: /usr/lib/lightdm/lightdm +PATH: /usr/local/sbin +PATH: /usr/local/bin +PATH: /usr/sbin +PATH: /usr/bin +PATH: /sbin +PATH: /bin +PATH: /usr/games + + +## ----------- ## +## Core tests. ## +## ----------- ## + +configure:2787: checking for a BSD-compatible install +configure:2855: result: /usr/bin/install -c +configure:2866: checking whether build environment is sane +configure:2903: result: yes +configure:2957: checking for gawk +configure:2973: found /usr/bin/gawk +configure:2984: result: gawk +configure:2995: checking whether make sets $(MAKE) +configure:3017: result: yes +configure:3094: checking for mipsel-uclibc-linux26-strip +configure:3124: result: no +configure:3134: checking for strip +configure:3150: found /usr/bin/strip +configure:3161: result: strip +configure:3334: checking build system type +configure:3348: result: x86_64-unknown-linux-gnu +configure:3368: checking host system type +configure:3381: result: mipsel-uclibc-linux-gnu26 +configure:3413: checking for style of include used by make +configure:3441: result: GNU +configure:3474: checking for mipsel-uclibc-linux26-gcc +configure:3501: result: /home/qingheng/BCM947186/build_script/43241/../../platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/mipsel-uclibc-linux26-gcc +configure:3770: checking for C compiler version +configure:3779: /home/qingheng/BCM947186/build_script/43241/../../platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/mipsel-uclibc-linux26-gcc --version >&5 +mipsel-uclibc-linux26-gcc (GCC) 4.2.3 +Copyright (C) 2007 Free Software Foundation, Inc. +This is free software; see the source for copying conditions. There is NO +warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + +configure:3790: $? = 0 +configure:3779: /home/qingheng/BCM947186/build_script/43241/../../platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/mipsel-uclibc-linux26-gcc -v >&5 +Using built-in specs. +Target: mipsel-linux-uclibc +Configured with: /home/gracecsm/toolchains/src/toolchains/linux-2.6/buildroot/toolchain_build_mipsel/gcc-4.2.3/configure --prefix=/projects/hnd/tools/linux/hndtools-mipsel-linux-uclibc-4.2.3 --build=i386-pc-linux-gnu --host=i386-pc-linux-gnu --target=mipsel-linux-uclibc --enable-languages=c,c++ --disable-__cxa_atexit --enable-target-optspace --with-gnu-ld --with-gmp=/home/gracecsm/toolchains/src/toolchains/linux-2.6/buildroot/toolchain_build_mipsel/gmp --with-mpfr=/home/gracecsm/toolchains/src/toolchains/linux-2.6/buildroot/toolchain_build_mipsel/mpfr --enable-shared --disable-nls --enable-threads --disable-multilib --with-abi=32 --with-tune=mips32 +Thread model: posix +gcc version 4.2.3 +configure:3790: $? = 0 +configure:3779: /home/qingheng/BCM947186/build_script/43241/../../platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/mipsel-uclibc-linux26-gcc -V >&5 +mipsel-uclibc-linux26-gcc: '-V' option must have argument +configure:3790: $? = 1 +configure:3779: /home/qingheng/BCM947186/build_script/43241/../../platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/mipsel-uclibc-linux26-gcc -qversion >&5 +mipsel-uclibc-linux26-gcc: unrecognized option '-qversion' +mipsel-uclibc-linux26-gcc: no input files +configure:3790: $? = 1 +configure:3810: checking whether the C compiler works +configure:3832: /home/qingheng/BCM947186/build_script/43241/../../platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/mipsel-uclibc-linux26-gcc conftest.c >&5 +configure:3836: $? = 0 +configure:3885: result: yes +configure:3888: checking for C compiler default output file name +configure:3890: result: a.out +configure:3896: checking for suffix of executables +configure:3903: /home/qingheng/BCM947186/build_script/43241/../../platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/mipsel-uclibc-linux26-gcc -o conftest conftest.c >&5 +configure:3907: $? = 0 +configure:3929: result: +configure:3951: checking whether we are cross compiling +configure:3959: /home/qingheng/BCM947186/build_script/43241/../../platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/mipsel-uclibc-linux26-gcc -o conftest conftest.c >&5 +configure:3963: $? = 0 +configure:3970: ./conftest +./configure: line 3972: ./conftest: cannot execute binary file +configure:3974: $? = 126 +configure:3989: result: yes +configure:3994: checking for suffix of object files +configure:4016: /home/qingheng/BCM947186/build_script/43241/../../platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/mipsel-uclibc-linux26-gcc -c conftest.c >&5 +configure:4020: $? = 0 +configure:4041: result: o +configure:4045: checking whether we are using the GNU C compiler +configure:4064: /home/qingheng/BCM947186/build_script/43241/../../platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/mipsel-uclibc-linux26-gcc -c conftest.c >&5 +configure:4064: $? = 0 +configure:4073: result: yes +configure:4082: checking whether /home/qingheng/BCM947186/build_script/43241/../../platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/mipsel-uclibc-linux26-gcc accepts -g +configure:4102: /home/qingheng/BCM947186/build_script/43241/../../platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/mipsel-uclibc-linux26-gcc -c -g conftest.c >&5 +configure:4102: $? = 0 +configure:4143: result: yes +configure:4160: checking for /home/qingheng/BCM947186/build_script/43241/../../platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/mipsel-uclibc-linux26-gcc option to accept ISO C89 +configure:4224: /home/qingheng/BCM947186/build_script/43241/../../platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/mipsel-uclibc-linux26-gcc -c -g -O2 conftest.c >&5 +configure:4224: $? = 0 +configure:4237: result: none needed +configure:4259: checking dependency style of /home/qingheng/BCM947186/build_script/43241/../../platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/mipsel-uclibc-linux26-gcc +configure:4344: result: gcc3 +configure:4361: checking for a sed that does not truncate output +configure:4415: result: /bin/sed +configure:4418: checking for grep that handles long lines and -e +configure:4476: result: /bin/grep +configure:4481: checking for egrep +configure:4543: result: /bin/grep -E +configure:4559: checking for ld used by /home/qingheng/BCM947186/build_script/43241/../../platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/mipsel-uclibc-linux26-gcc +configure:4626: result: /projects/hnd/tools/linux/hndtools-mipsel-linux-uclibc-4.2.3/usr/bin/mipsel-linux-uclibc-ld +configure:4633: checking if the linker (/projects/hnd/tools/linux/hndtools-mipsel-linux-uclibc-4.2.3/usr/bin/mipsel-linux-uclibc-ld) is GNU ld +configure:4648: result: yes +configure:4653: checking for /projects/hnd/tools/linux/hndtools-mipsel-linux-uclibc-4.2.3/usr/bin/mipsel-linux-uclibc-ld option to reload object files +configure:4660: result: -r +configure:4669: checking for BSD-compatible nm +configure:4711: result: nm +configure:4715: checking whether ln -s works +configure:4719: result: yes +configure:4726: checking how to recognise dependent libraries +configure:4909: result: pass_all +configure:5095: checking how to run the C preprocessor +configure:5126: /home/qingheng/BCM947186/build_script/43241/../../platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/mipsel-uclibc-linux26-gcc -E conftest.c +configure:5126: $? = 0 +configure:5140: /home/qingheng/BCM947186/build_script/43241/../../platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/mipsel-uclibc-linux26-gcc -E conftest.c +conftest.c:16:28: error: ac_nonexistent.h: No such file or directory +configure:5140: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "libusb" +| #define PACKAGE_TARNAME "libusb" +| #define PACKAGE_VERSION "0.1.12" +| #define PACKAGE_STRING "libusb 0.1.12" +| #define PACKAGE_BUGREPORT "" +| #define PACKAGE_URL "" +| #define PACKAGE "libusb" +| #define VERSION "0.1.12" +| #define LIBUSB_MAJOR_VERSION 0 +| #define LIBUSB_MINOR_VERSION 1 +| #define LIBUSB_MICRO_VERSION 12 +| #define LIBUSB_INTERFACE_AGE 4 +| #define LIBUSB_BINARY_AGE 8 +| /* end confdefs.h. */ +| #include +configure:5165: result: /home/qingheng/BCM947186/build_script/43241/../../platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/mipsel-uclibc-linux26-gcc -E +configure:5185: /home/qingheng/BCM947186/build_script/43241/../../platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/mipsel-uclibc-linux26-gcc -E conftest.c +configure:5185: $? = 0 +configure:5199: /home/qingheng/BCM947186/build_script/43241/../../platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/mipsel-uclibc-linux26-gcc -E conftest.c +conftest.c:16:28: error: ac_nonexistent.h: No such file or directory +configure:5199: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "libusb" +| #define PACKAGE_TARNAME "libusb" +| #define PACKAGE_VERSION "0.1.12" +| #define PACKAGE_STRING "libusb 0.1.12" +| #define PACKAGE_BUGREPORT "" +| #define PACKAGE_URL "" +| #define PACKAGE "libusb" +| #define VERSION "0.1.12" +| #define LIBUSB_MAJOR_VERSION 0 +| #define LIBUSB_MINOR_VERSION 1 +| #define LIBUSB_MICRO_VERSION 12 +| #define LIBUSB_INTERFACE_AGE 4 +| #define LIBUSB_BINARY_AGE 8 +| /* end confdefs.h. */ +| #include +configure:5228: checking for ANSI C header files +configure:5248: /home/qingheng/BCM947186/build_script/43241/../../platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/mipsel-uclibc-linux26-gcc -c -g -O2 conftest.c >&5 +configure:5248: $? = 0 +configure:5332: result: yes +configure:5345: checking for sys/types.h +configure:5345: /home/qingheng/BCM947186/build_script/43241/../../platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/mipsel-uclibc-linux26-gcc -c -g -O2 conftest.c >&5 +configure:5345: $? = 0 +configure:5345: result: yes +configure:5345: checking for sys/stat.h +configure:5345: /home/qingheng/BCM947186/build_script/43241/../../platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/mipsel-uclibc-linux26-gcc -c -g -O2 conftest.c >&5 +configure:5345: $? = 0 +configure:5345: result: yes +configure:5345: checking for stdlib.h +configure:5345: /home/qingheng/BCM947186/build_script/43241/../../platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/mipsel-uclibc-linux26-gcc -c -g -O2 conftest.c >&5 +configure:5345: $? = 0 +configure:5345: result: yes +configure:5345: checking for string.h +configure:5345: /home/qingheng/BCM947186/build_script/43241/../../platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/mipsel-uclibc-linux26-gcc -c -g -O2 conftest.c >&5 +configure:5345: $? = 0 +configure:5345: result: yes +configure:5345: checking for memory.h +configure:5345: /home/qingheng/BCM947186/build_script/43241/../../platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/mipsel-uclibc-linux26-gcc -c -g -O2 conftest.c >&5 +configure:5345: $? = 0 +configure:5345: result: yes +configure:5345: checking for strings.h +configure:5345: /home/qingheng/BCM947186/build_script/43241/../../platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/mipsel-uclibc-linux26-gcc -c -g -O2 conftest.c >&5 +configure:5345: $? = 0 +configure:5345: result: yes +configure:5345: checking for inttypes.h +configure:5345: /home/qingheng/BCM947186/build_script/43241/../../platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/mipsel-uclibc-linux26-gcc -c -g -O2 conftest.c >&5 +configure:5345: $? = 0 +configure:5345: result: yes +configure:5345: checking for stdint.h +configure:5345: /home/qingheng/BCM947186/build_script/43241/../../platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/mipsel-uclibc-linux26-gcc -c -g -O2 conftest.c >&5 +configure:5345: $? = 0 +configure:5345: result: yes +configure:5345: checking for unistd.h +configure:5345: /home/qingheng/BCM947186/build_script/43241/../../platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/mipsel-uclibc-linux26-gcc -c -g -O2 conftest.c >&5 +configure:5345: $? = 0 +configure:5345: result: yes +configure:5360: checking dlfcn.h usability +configure:5360: /home/qingheng/BCM947186/build_script/43241/../../platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/mipsel-uclibc-linux26-gcc -c -g -O2 conftest.c >&5 +configure:5360: $? = 0 +configure:5360: result: yes +configure:5360: checking dlfcn.h presence +configure:5360: /home/qingheng/BCM947186/build_script/43241/../../platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/mipsel-uclibc-linux26-gcc -E conftest.c +configure:5360: $? = 0 +configure:5360: result: yes +configure:5360: checking for dlfcn.h +configure:5360: result: yes +configure:5482: checking for C++ compiler version +configure:5491: /home/qingheng/BCM947186/build_script/43241/../../platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/mipsel-uclibc-linux26-g++ --version >&5 +mipsel-uclibc-linux26-g++ (GCC) 4.2.3 +Copyright (C) 2007 Free Software Foundation, Inc. +This is free software; see the source for copying conditions. There is NO +warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + +configure:5502: $? = 0 +configure:5491: /home/qingheng/BCM947186/build_script/43241/../../platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/mipsel-uclibc-linux26-g++ -v >&5 +Using built-in specs. +Target: mipsel-linux-uclibc +Configured with: /home/gracecsm/toolchains/src/toolchains/linux-2.6/buildroot/toolchain_build_mipsel/gcc-4.2.3/configure --prefix=/projects/hnd/tools/linux/hndtools-mipsel-linux-uclibc-4.2.3 --build=i386-pc-linux-gnu --host=i386-pc-linux-gnu --target=mipsel-linux-uclibc --enable-languages=c,c++ --disable-__cxa_atexit --enable-target-optspace --with-gnu-ld --with-gmp=/home/gracecsm/toolchains/src/toolchains/linux-2.6/buildroot/toolchain_build_mipsel/gmp --with-mpfr=/home/gracecsm/toolchains/src/toolchains/linux-2.6/buildroot/toolchain_build_mipsel/mpfr --enable-shared --disable-nls --enable-threads --disable-multilib --with-abi=32 --with-tune=mips32 +Thread model: posix +gcc version 4.2.3 +configure:5502: $? = 0 +configure:5491: /home/qingheng/BCM947186/build_script/43241/../../platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/mipsel-uclibc-linux26-g++ -V >&5 +mipsel-uclibc-linux26-g++: '-V' option must have argument +configure:5502: $? = 1 +configure:5491: /home/qingheng/BCM947186/build_script/43241/../../platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/mipsel-uclibc-linux26-g++ -qversion >&5 +mipsel-uclibc-linux26-g++: unrecognized option '-qversion' +mipsel-uclibc-linux26-g++: no input files +configure:5502: $? = 1 +configure:5506: checking whether we are using the GNU C++ compiler +configure:5525: /home/qingheng/BCM947186/build_script/43241/../../platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/mipsel-uclibc-linux26-g++ -c conftest.cpp >&5 +configure:5525: $? = 0 +configure:5534: result: yes +configure:5543: checking whether /home/qingheng/BCM947186/build_script/43241/../../platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/mipsel-uclibc-linux26-g++ accepts -g +configure:5563: /home/qingheng/BCM947186/build_script/43241/../../platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/mipsel-uclibc-linux26-g++ -c -g conftest.cpp >&5 +configure:5563: $? = 0 +configure:5604: result: yes +configure:5629: checking dependency style of /home/qingheng/BCM947186/build_script/43241/../../platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/mipsel-uclibc-linux26-g++ +configure:5714: result: gcc3 +configure:5736: checking how to run the C++ preprocessor +configure:5763: /home/qingheng/BCM947186/build_script/43241/../../platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/mipsel-uclibc-linux26-g++ -E conftest.cpp +configure:5763: $? = 0 +configure:5777: /home/qingheng/BCM947186/build_script/43241/../../platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/mipsel-uclibc-linux26-g++ -E conftest.cpp +conftest.cpp:27:28: error: ac_nonexistent.h: No such file or directory +configure:5777: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "libusb" +| #define PACKAGE_TARNAME "libusb" +| #define PACKAGE_VERSION "0.1.12" +| #define PACKAGE_STRING "libusb 0.1.12" +| #define PACKAGE_BUGREPORT "" +| #define PACKAGE_URL "" +| #define PACKAGE "libusb" +| #define VERSION "0.1.12" +| #define LIBUSB_MAJOR_VERSION 0 +| #define LIBUSB_MINOR_VERSION 1 +| #define LIBUSB_MICRO_VERSION 12 +| #define LIBUSB_INTERFACE_AGE 4 +| #define LIBUSB_BINARY_AGE 8 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DLFCN_H 1 +| /* end confdefs.h. */ +| #include +configure:5802: result: /home/qingheng/BCM947186/build_script/43241/../../platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/mipsel-uclibc-linux26-g++ -E +configure:5822: /home/qingheng/BCM947186/build_script/43241/../../platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/mipsel-uclibc-linux26-g++ -E conftest.cpp +configure:5822: $? = 0 +configure:5836: /home/qingheng/BCM947186/build_script/43241/../../platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/mipsel-uclibc-linux26-g++ -E conftest.cpp +conftest.cpp:27:28: error: ac_nonexistent.h: No such file or directory +configure:5836: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "libusb" +| #define PACKAGE_TARNAME "libusb" +| #define PACKAGE_VERSION "0.1.12" +| #define PACKAGE_STRING "libusb 0.1.12" +| #define PACKAGE_BUGREPORT "" +| #define PACKAGE_URL "" +| #define PACKAGE "libusb" +| #define VERSION "0.1.12" +| #define LIBUSB_MAJOR_VERSION 0 +| #define LIBUSB_MINOR_VERSION 1 +| #define LIBUSB_MICRO_VERSION 12 +| #define LIBUSB_INTERFACE_AGE 4 +| #define LIBUSB_BINARY_AGE 8 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DLFCN_H 1 +| /* end confdefs.h. */ +| #include +configure:5874: checking for mipsel-uclibc-linux26-g77 +configure:5904: result: no +configure:5874: checking for mipsel-uclibc-linux26-xlf +configure:5904: result: no +configure:5874: checking for mipsel-uclibc-linux26-f77 +configure:5904: result: no +configure:5874: checking for mipsel-uclibc-linux26-frt +configure:5904: result: no +configure:5874: checking for mipsel-uclibc-linux26-pgf77 +configure:5904: result: no +configure:5874: checking for mipsel-uclibc-linux26-cf77 +configure:5904: result: no +configure:5874: checking for mipsel-uclibc-linux26-fort77 +configure:5904: result: no +configure:5874: checking for mipsel-uclibc-linux26-fl32 +configure:5904: result: no +configure:5874: checking for mipsel-uclibc-linux26-af77 +configure:5904: result: no +configure:5874: checking for mipsel-uclibc-linux26-xlf90 +configure:5904: result: no +configure:5874: checking for mipsel-uclibc-linux26-f90 +configure:5904: result: no +configure:5874: checking for mipsel-uclibc-linux26-pgf90 +configure:5904: result: no +configure:5874: checking for mipsel-uclibc-linux26-pghpf +configure:5904: result: no +configure:5874: checking for mipsel-uclibc-linux26-epcf90 +configure:5904: result: no +configure:5874: checking for mipsel-uclibc-linux26-gfortran +configure:5904: result: no +configure:5874: checking for mipsel-uclibc-linux26-g95 +configure:5904: result: no +configure:5874: checking for mipsel-uclibc-linux26-xlf95 +configure:5904: result: no +configure:5874: checking for mipsel-uclibc-linux26-f95 +configure:5904: result: no +configure:5874: checking for mipsel-uclibc-linux26-fort +configure:5904: result: no +configure:5874: checking for mipsel-uclibc-linux26-ifort +configure:5904: result: no +configure:5874: checking for mipsel-uclibc-linux26-ifc +configure:5904: result: no +configure:5874: checking for mipsel-uclibc-linux26-efc +configure:5904: result: no +configure:5874: checking for mipsel-uclibc-linux26-pgf95 +configure:5904: result: no +configure:5874: checking for mipsel-uclibc-linux26-lf95 +configure:5904: result: no +configure:5874: checking for mipsel-uclibc-linux26-ftn +configure:5904: result: no +configure:5918: checking for g77 +configure:5948: result: no +configure:5918: checking for xlf +configure:5948: result: no +configure:5918: checking for f77 +configure:5948: result: no +configure:5918: checking for frt +configure:5948: result: no +configure:5918: checking for pgf77 +configure:5948: result: no +configure:5918: checking for cf77 +configure:5948: result: no +configure:5918: checking for fort77 +configure:5948: result: no +configure:5918: checking for fl32 +configure:5948: result: no +configure:5918: checking for af77 +configure:5948: result: no +configure:5918: checking for xlf90 +configure:5948: result: no +configure:5918: checking for f90 +configure:5948: result: no +configure:5918: checking for pgf90 +configure:5948: result: no +configure:5918: checking for pghpf +configure:5948: result: no +configure:5918: checking for epcf90 +configure:5948: result: no +configure:5918: checking for gfortran +configure:5948: result: no +configure:5918: checking for g95 +configure:5948: result: no +configure:5918: checking for xlf95 +configure:5948: result: no +configure:5918: checking for f95 +configure:5948: result: no +configure:5918: checking for fort +configure:5948: result: no +configure:5918: checking for ifort +configure:5948: result: no +configure:5918: checking for ifc +configure:5948: result: no +configure:5918: checking for efc +configure:5948: result: no +configure:5918: checking for pgf95 +configure:5948: result: no +configure:5918: checking for lf95 +configure:5948: result: no +configure:5918: checking for ftn +configure:5948: result: no +configure:5971: checking for Fortran 77 compiler version +configure:5980: --version >&5 +./configure: line 5982: --version: command not found +configure:5991: $? = 127 +configure:5980: -v >&5 +./configure: line 5982: -v: command not found +configure:5991: $? = 127 +configure:5980: -V >&5 +./configure: line 5982: -V: command not found +configure:5991: $? = 127 +configure:5980: -qversion >&5 +./configure: line 5982: -qversion: command not found +configure:5991: $? = 127 +configure:6000: checking whether we are using the GNU Fortran 77 compiler +configure:6013: -c conftest.F >&5 +./configure: line 2193: -c: command not found +configure:6013: $? = 127 +configure: failed program was: +| program main +| #ifndef __GNUC__ +| choke me +| #endif +| +| end +configure:6022: result: no +configure:6028: checking whether accepts -g +configure:6039: -c -g conftest.f >&5 +./configure: line 2193: -c: command not found +configure:6039: $? = 127 +configure: failed program was: +| program main +| +| end +configure:6047: result: no +configure:6081: checking the maximum length of command line arguments +configure:6146: result: 32768 +configure:6157: checking command to parse nm output from /home/qingheng/BCM947186/build_script/43241/../../platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/mipsel-uclibc-linux26-gcc object +configure:6246: /home/qingheng/BCM947186/build_script/43241/../../platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/mipsel-uclibc-linux26-gcc -c -g -O2 conftest.c >&5 +configure:6249: $? = 0 +configure:6253: nm conftest.o \| sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\(\)\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2\3 \3/p' \> conftest.nm +configure:6256: $? = 0 +configure:6308: /home/qingheng/BCM947186/build_script/43241/../../platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/mipsel-uclibc-linux26-gcc -o conftest -g -O2 conftest.c conftstm.o >&5 +configure:6311: $? = 0 +configure:6349: result: ok +configure:6353: checking for objdir +configure:6368: result: .libs +configure:6420: checking for mipsel-uclibc-linux26-ar +configure:6450: result: no +configure:6460: checking for ar +configure:6476: found /usr/bin/ar +configure:6487: result: ar +configure:6499: WARNING: using cross tools not prefixed with host triplet +configure:6512: checking for mipsel-uclibc-linux26-ranlib +configure:6542: result: no +configure:6552: checking for ranlib +configure:6568: found /usr/bin/ranlib +configure:6579: result: ranlib +configure:6604: checking for mipsel-uclibc-linux26-strip +configure:6631: result: strip +configure:6943: checking if /home/qingheng/BCM947186/build_script/43241/../../platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/mipsel-uclibc-linux26-gcc static flag works +configure:6966: result: yes +configure:6984: checking if /home/qingheng/BCM947186/build_script/43241/../../platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/mipsel-uclibc-linux26-gcc supports -fno-rtti -fno-exceptions +configure:7002: /home/qingheng/BCM947186/build_script/43241/../../platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/mipsel-uclibc-linux26-gcc -c -g -O2 -fno-rtti -fno-exceptions conftest.c >&5 +cc1: warning: command line option "-fno-rtti" is valid for C++/ObjC++ but not for C +configure:7006: $? = 0 +configure:7017: result: no +configure:7032: checking for /home/qingheng/BCM947186/build_script/43241/../../platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/mipsel-uclibc-linux26-gcc option to produce PIC +configure:7209: result: -fPIC +configure:7217: checking if /home/qingheng/BCM947186/build_script/43241/../../platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/mipsel-uclibc-linux26-gcc PIC flag -fPIC works +configure:7235: /home/qingheng/BCM947186/build_script/43241/../../platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/mipsel-uclibc-linux26-gcc -c -g -O2 -fPIC -DPIC conftest.c >&5 +configure:7239: $? = 0 +configure:7250: result: yes +configure:7274: checking if /home/qingheng/BCM947186/build_script/43241/../../platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/mipsel-uclibc-linux26-gcc supports -c -o file.o +configure:7295: /home/qingheng/BCM947186/build_script/43241/../../platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/mipsel-uclibc-linux26-gcc -c -g -O2 -o out/conftest2.o conftest.c >&5 +configure:7299: $? = 0 +configure:7319: result: yes +configure:7345: checking whether the /home/qingheng/BCM947186/build_script/43241/../../platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/mipsel-uclibc-linux26-gcc linker (/projects/hnd/tools/linux/hndtools-mipsel-linux-uclibc-4.2.3/usr/bin/mipsel-linux-uclibc-ld) supports shared libraries +configure:8135: result: yes +configure:8161: checking whether -lc should be explicitly linked in +configure:8166: /home/qingheng/BCM947186/build_script/43241/../../platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/mipsel-uclibc-linux26-gcc -c -g -O2 conftest.c >&5 +configure:8169: $? = 0 +configure:8183: /home/qingheng/BCM947186/build_script/43241/../../platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/mipsel-uclibc-linux26-gcc -shared conftest.o -v -Wl,-soname -Wl,conftest -o conftest 2\>\&1 \| grep -lc \>/dev/null 2\>\&1 +configure:8186: $? = 0 +configure:8198: result: no +configure:8206: checking dynamic linker characteristics +configure:8767: result: GNU/Linux ld.so +configure:8771: checking how to hardcode library paths into programs +configure:8796: result: immediate +configure:8810: checking whether stripping libraries is possible +configure:8815: result: yes +configure:9327: checking if libtool supports shared libraries +configure:9329: result: yes +configure:9332: checking whether to build shared libraries +configure:9390: result: yes +configure:9393: checking whether to build static libraries +configure:9397: result: yes +configure:9489: creating libtool +configure:10032: checking for ld used by /home/qingheng/BCM947186/build_script/43241/../../platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/mipsel-uclibc-linux26-g++ +configure:10099: result: /projects/hnd/tools/linux/hndtools-mipsel-linux-uclibc-4.2.3/usr/bin/mipsel-linux-uclibc-ld +configure:10106: checking if the linker (/projects/hnd/tools/linux/hndtools-mipsel-linux-uclibc-4.2.3/usr/bin/mipsel-linux-uclibc-ld) is GNU ld +configure:10121: result: yes +configure:10172: checking whether the /home/qingheng/BCM947186/build_script/43241/../../platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/mipsel-uclibc-linux26-g++ linker (/projects/hnd/tools/linux/hndtools-mipsel-linux-uclibc-4.2.3/usr/bin/mipsel-linux-uclibc-ld) supports shared libraries +configure:10942: result: yes +configure:10960: /home/qingheng/BCM947186/build_script/43241/../../platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/mipsel-uclibc-linux26-g++ -c -g -O2 conftest.cc >&5 +configure:10963: $? = 0 +configure:11059: checking for /home/qingheng/BCM947186/build_script/43241/../../platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/mipsel-uclibc-linux26-g++ option to produce PIC +configure:11311: result: -fPIC +configure:11319: checking if /home/qingheng/BCM947186/build_script/43241/../../platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/mipsel-uclibc-linux26-g++ PIC flag -fPIC works +configure:11337: /home/qingheng/BCM947186/build_script/43241/../../platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/mipsel-uclibc-linux26-g++ -c -g -O2 -fPIC -DPIC conftest.cc >&5 +configure:11341: $? = 0 +configure:11352: result: yes +configure:11376: checking if /home/qingheng/BCM947186/build_script/43241/../../platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/mipsel-uclibc-linux26-g++ supports -c -o file.o +configure:11397: /home/qingheng/BCM947186/build_script/43241/../../platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/mipsel-uclibc-linux26-g++ -c -g -O2 -o out/conftest2.o conftest.cc >&5 +configure:11401: $? = 0 +configure:11421: result: yes +configure:11447: checking whether the /home/qingheng/BCM947186/build_script/43241/../../platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/mipsel-uclibc-linux26-g++ linker (/projects/hnd/tools/linux/hndtools-mipsel-linux-uclibc-4.2.3/usr/bin/mipsel-linux-uclibc-ld) supports shared libraries +configure:11472: result: yes +configure:11543: checking dynamic linker characteristics +configure:12104: result: GNU/Linux ld.so +configure:12108: checking how to hardcode library paths into programs +configure:12133: result: immediate +configure:12147: checking whether stripping libraries is possible +configure:12152: result: yes +configure:18685: checking for what USB OS support +configure:18697: result: Linux +configure:18804: checking for mipsel-uclibc-linux26-gcc +configure:18831: result: /home/qingheng/BCM947186/build_script/43241/../../platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/mipsel-uclibc-linux26-gcc +configure:19100: checking for C compiler version +configure:19109: /home/qingheng/BCM947186/build_script/43241/../../platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/mipsel-uclibc-linux26-gcc --version >&5 +mipsel-uclibc-linux26-gcc (GCC) 4.2.3 +Copyright (C) 2007 Free Software Foundation, Inc. +This is free software; see the source for copying conditions. There is NO +warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + +configure:19120: $? = 0 +configure:19109: /home/qingheng/BCM947186/build_script/43241/../../platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/mipsel-uclibc-linux26-gcc -v >&5 +Using built-in specs. +Target: mipsel-linux-uclibc +Configured with: /home/gracecsm/toolchains/src/toolchains/linux-2.6/buildroot/toolchain_build_mipsel/gcc-4.2.3/configure --prefix=/projects/hnd/tools/linux/hndtools-mipsel-linux-uclibc-4.2.3 --build=i386-pc-linux-gnu --host=i386-pc-linux-gnu --target=mipsel-linux-uclibc --enable-languages=c,c++ --disable-__cxa_atexit --enable-target-optspace --with-gnu-ld --with-gmp=/home/gracecsm/toolchains/src/toolchains/linux-2.6/buildroot/toolchain_build_mipsel/gmp --with-mpfr=/home/gracecsm/toolchains/src/toolchains/linux-2.6/buildroot/toolchain_build_mipsel/mpfr --enable-shared --disable-nls --enable-threads --disable-multilib --with-abi=32 --with-tune=mips32 +Thread model: posix +gcc version 4.2.3 +configure:19120: $? = 0 +configure:19109: /home/qingheng/BCM947186/build_script/43241/../../platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/mipsel-uclibc-linux26-gcc -V >&5 +mipsel-uclibc-linux26-gcc: '-V' option must have argument +configure:19120: $? = 1 +configure:19109: /home/qingheng/BCM947186/build_script/43241/../../platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/mipsel-uclibc-linux26-gcc -qversion >&5 +mipsel-uclibc-linux26-gcc: unrecognized option '-qversion' +mipsel-uclibc-linux26-gcc: no input files +configure:19120: $? = 1 +configure:19124: checking whether we are using the GNU C compiler +configure:19152: result: yes +configure:19161: checking whether /home/qingheng/BCM947186/build_script/43241/../../platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/mipsel-uclibc-linux26-gcc accepts -g +configure:19222: result: yes +configure:19239: checking for /home/qingheng/BCM947186/build_script/43241/../../platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/mipsel-uclibc-linux26-gcc option to accept ISO C89 +configure:19316: result: none needed +configure:19338: checking dependency style of /home/qingheng/BCM947186/build_script/43241/../../platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/mipsel-uclibc-linux26-gcc +configure:19423: result: gcc3 +configure:19441: checking whether /home/qingheng/BCM947186/build_script/43241/../../platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/mipsel-uclibc-linux26-gcc and cc understand -c and -o together +configure:19472: /home/qingheng/BCM947186/build_script/43241/../../platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/mipsel-uclibc-linux26-gcc -c conftest.cpp -o conftest2.o >&5 +configure:19476: $? = 0 +configure:19482: /home/qingheng/BCM947186/build_script/43241/../../platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/mipsel-uclibc-linux26-gcc -c conftest.cpp -o conftest2.o >&5 +configure:19486: $? = 0 +configure:19497: cc -c conftest.cpp >&5 +configure:19501: $? = 0 +configure:19509: cc -c conftest.cpp -o conftest2.o >&5 +configure:19513: $? = 0 +configure:19519: cc -c conftest.cpp -o conftest2.o >&5 +configure:19523: $? = 0 +configure:19541: result: yes +configure:19575: checking for ANSI C header files +configure:19679: result: yes +configure:19691: checking for vprintf +configure:19691: /home/qingheng/BCM947186/build_script/43241/../../platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/mipsel-uclibc-linux26-g++ -o conftest -g -O2 conftest.cpp >&5 +configure:19691: $? = 0 +configure:19691: result: yes +configure:19697: checking for _doprnt +configure:19697: /home/qingheng/BCM947186/build_script/43241/../../platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/mipsel-uclibc-linux26-g++ -o conftest -g -O2 conftest.cpp >&5 +/tmp/ccuyUbd3.o: In function `main': +/home/qingheng/BCM947186/driver/BCM43241-DHD/dhd/sources/src/usbdev/libusb/conftest.cpp:66: undefined reference to `_doprnt' +collect2: ld returned 1 exit status +configure:19697: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "libusb" +| #define PACKAGE_TARNAME "libusb" +| #define PACKAGE_VERSION "0.1.12" +| #define PACKAGE_STRING "libusb 0.1.12" +| #define PACKAGE_BUGREPORT "" +| #define PACKAGE_URL "" +| #define PACKAGE "libusb" +| #define VERSION "0.1.12" +| #define LIBUSB_MAJOR_VERSION 0 +| #define LIBUSB_MINOR_VERSION 1 +| #define LIBUSB_MICRO_VERSION 12 +| #define LIBUSB_INTERFACE_AGE 4 +| #define LIBUSB_BINARY_AGE 8 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DLFCN_H 1 +| #define LINUX_API 1 +| #define BSD_API 0 +| #define DARWIN_API 0 +| #define STDC_HEADERS 1 +| #define HAVE_VPRINTF 1 +| /* end confdefs.h. */ +| /* Define _doprnt to an innocuous variant, in case declares _doprnt. +| For example, HP-UX 11i declares gettimeofday. */ +| #define _doprnt innocuous__doprnt +| +| /* System header to define __stub macros and hopefully few prototypes, +| which can conflict with char _doprnt (); below. +| Prefer to if __STDC__ is defined, since +| exists even on freestanding compilers. */ +| +| #ifdef __STDC__ +| # include +| #else +| # include +| #endif +| +| #undef _doprnt +| +| /* Override any GCC internal prototype to avoid an error. +| Use char because int might match the return type of a GCC +| builtin and then its argument prototype would still apply. */ +| #ifdef __cplusplus +| extern "C" +| #endif +| char _doprnt (); +| /* The GNU C library defines this for functions which it implements +| to always fail with ENOSYS. Some functions are actually named +| something starting with __ and the normal name is an alias. */ +| #if defined __stub__doprnt || defined __stub____doprnt +| choke me +| #endif +| +| int +| main () +| { +| return _doprnt (); +| ; +| return 0; +| } +configure:19697: result: no +configure:19709: checking for an ANSI C-conforming const +configure:19774: /home/qingheng/BCM947186/build_script/43241/../../platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/mipsel-uclibc-linux26-g++ -c -g -O2 conftest.cpp >&5 +configure:19774: $? = 0 +configure:19781: result: yes +configure:19790: checking whether byte ordering is bigendian +configure:19805: /home/qingheng/BCM947186/build_script/43241/../../platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/mipsel-uclibc-linux26-g++ -c -g -O2 conftest.cpp >&5 +conftest.cpp:33: error: expected unqualified-id before '!' token +configure:19805: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "libusb" +| #define PACKAGE_TARNAME "libusb" +| #define PACKAGE_VERSION "0.1.12" +| #define PACKAGE_STRING "libusb 0.1.12" +| #define PACKAGE_BUGREPORT "" +| #define PACKAGE_URL "" +| #define PACKAGE "libusb" +| #define VERSION "0.1.12" +| #define LIBUSB_MAJOR_VERSION 0 +| #define LIBUSB_MINOR_VERSION 1 +| #define LIBUSB_MICRO_VERSION 12 +| #define LIBUSB_INTERFACE_AGE 4 +| #define LIBUSB_BINARY_AGE 8 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DLFCN_H 1 +| #define LINUX_API 1 +| #define BSD_API 0 +| #define DARWIN_API 0 +| #define STDC_HEADERS 1 +| #define HAVE_VPRINTF 1 +| /* end confdefs.h. */ +| #ifndef __APPLE_CC__ +| not a universal capable compiler +| #endif +| typedef int dummy; +| +configure:19850: /home/qingheng/BCM947186/build_script/43241/../../platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/mipsel-uclibc-linux26-g++ -c -g -O2 conftest.cpp >&5 +configure:19850: $? = 0 +configure:19868: /home/qingheng/BCM947186/build_script/43241/../../platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/mipsel-uclibc-linux26-g++ -c -g -O2 conftest.cpp >&5 +conftest.cpp: In function 'int main()': +conftest.cpp:39: error: 'big' was not declared in this scope +conftest.cpp:39: error: expected `;' before 'endian' +configure:19868: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "libusb" +| #define PACKAGE_TARNAME "libusb" +| #define PACKAGE_VERSION "0.1.12" +| #define PACKAGE_STRING "libusb 0.1.12" +| #define PACKAGE_BUGREPORT "" +| #define PACKAGE_URL "" +| #define PACKAGE "libusb" +| #define VERSION "0.1.12" +| #define LIBUSB_MAJOR_VERSION 0 +| #define LIBUSB_MINOR_VERSION 1 +| #define LIBUSB_MICRO_VERSION 12 +| #define LIBUSB_INTERFACE_AGE 4 +| #define LIBUSB_BINARY_AGE 8 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DLFCN_H 1 +| #define LINUX_API 1 +| #define BSD_API 0 +| #define DARWIN_API 0 +| #define STDC_HEADERS 1 +| #define HAVE_VPRINTF 1 +| /* end confdefs.h. */ +| #include +| #include +| +| int +| main () +| { +| #if BYTE_ORDER != BIG_ENDIAN +| not big endian +| #endif +| +| ; +| return 0; +| } +configure:19996: result: no +configure:20024: checking limits.h usability +configure:20024: /home/qingheng/BCM947186/build_script/43241/../../platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/mipsel-uclibc-linux26-g++ -c -g -O2 conftest.cpp >&5 +configure:20024: $? = 0 +configure:20024: result: yes +configure:20024: checking limits.h presence +configure:20024: /home/qingheng/BCM947186/build_script/43241/../../platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/mipsel-uclibc-linux26-g++ -E conftest.cpp +configure:20024: $? = 0 +configure:20024: result: yes +configure:20024: checking for limits.h +configure:20024: result: yes +configure:20039: checking for unistd.h +configure:20039: result: yes +configure:20054: checking values.h usability +configure:20054: /home/qingheng/BCM947186/build_script/43241/../../platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/mipsel-uclibc-linux26-g++ -c -g -O2 conftest.cpp >&5 +configure:20054: $? = 0 +configure:20054: result: yes +configure:20054: checking values.h presence +configure:20054: /home/qingheng/BCM947186/build_script/43241/../../platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/mipsel-uclibc-linux26-g++ -E conftest.cpp +configure:20054: $? = 0 +configure:20054: result: yes +configure:20054: checking for values.h +configure:20054: result: yes +configure:20071: checking for memmove +configure:20071: /home/qingheng/BCM947186/build_script/43241/../../platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/mipsel-uclibc-linux26-g++ -o conftest -g -O2 conftest.cpp >&5 +configure:20071: $? = 0 +configure:20071: result: yes +configure:20128: checking for pkg-config +configure:20146: found /usr/bin/pkg-config +configure:20158: result: /usr/bin/pkg-config +configure:20176: checking if we should build the documentation +configure:20185: result: auto +configure:20191: checking for jade +configure:20221: result: no +configure:20229: checking for openjade +configure:20259: result: no +configure:20268: checking for Doxygen tools +configure:20272: checking for dot +configure:20319: result: not found +configure:20337: checking for doxygen +configure:20384: result: not found +configure:20411: WARNING: Documentation build components not installed. sgml docs will not be built +configure:20566: creating ./config.status + +## ---------------------- ## +## Running config.status. ## +## ---------------------- ## + +This file was extended by libusb config.status 0.1.12, which was +generated by GNU Autoconf 2.65. Invocation command line was + + CONFIG_FILES = + CONFIG_HEADERS = + CONFIG_LINKS = + CONFIG_COMMANDS = + $ ./config.status + +on qingheng-Precision-WorkStation-T3500 + +config.status:928: creating Makefile +config.status:1031: WARNING: 'Makefile.in' seems to ignore the --datarootdir setting +config.status:928: creating doc/Makefile +config.status:1031: WARNING: 'doc/Makefile.in' seems to ignore the --datarootdir setting +config.status:928: creating libusb.spec +config.status:928: creating libusb-config +config.status:928: creating libusb.pc +config.status:928: creating tests/Makefile +config.status:1031: WARNING: 'tests/Makefile.in' seems to ignore the --datarootdir setting +config.status:928: creating README +config.status:928: creating INSTALL.libusb +config.status:928: creating usb.h +config.status:928: creating Doxyfile +config.status:928: creating config.h +config.status:1094: config.h is unchanged +config.status:1141: executing depfiles commands +config.status:1141: executing default commands + +## ---------------- ## +## Cache variables. ## +## ---------------- ## + +ac_cv_build=x86_64-unknown-linux-gnu +ac_cv_c_bigendian=no +ac_cv_c_compiler_gnu=yes +ac_cv_c_const=yes +ac_cv_cxx_compiler_gnu=yes +ac_cv_env_CCC_set= +ac_cv_env_CCC_value= +ac_cv_env_CC_set=set +ac_cv_env_CC_value=/home/qingheng/BCM947186/build_script/43241/../../platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/mipsel-uclibc-linux26-gcc +ac_cv_env_CFLAGS_set= +ac_cv_env_CFLAGS_value= +ac_cv_env_CPPFLAGS_set= +ac_cv_env_CPPFLAGS_value= +ac_cv_env_CPP_set= +ac_cv_env_CPP_value= +ac_cv_env_CXXCPP_set= +ac_cv_env_CXXCPP_value= +ac_cv_env_CXXFLAGS_set= +ac_cv_env_CXXFLAGS_value= +ac_cv_env_CXX_set=set +ac_cv_env_CXX_value=/home/qingheng/BCM947186/build_script/43241/../../platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/mipsel-uclibc-linux26-g++ +ac_cv_env_F77_set= +ac_cv_env_F77_value= +ac_cv_env_FFLAGS_set= +ac_cv_env_FFLAGS_value= +ac_cv_env_LDFLAGS_set= +ac_cv_env_LDFLAGS_value= +ac_cv_env_LIBS_set= +ac_cv_env_LIBS_value= +ac_cv_env_build_alias_set= +ac_cv_env_build_alias_value= +ac_cv_env_host_alias_set=set +ac_cv_env_host_alias_value=mipsel-uclibc-linux26 +ac_cv_env_target_alias_set= +ac_cv_env_target_alias_value= +ac_cv_f77_compiler_gnu=no +ac_cv_func__doprnt=no +ac_cv_func_memmove=yes +ac_cv_func_vprintf=yes +ac_cv_header_dlfcn_h=yes +ac_cv_header_inttypes_h=yes +ac_cv_header_limits_h=yes +ac_cv_header_memory_h=yes +ac_cv_header_stdc=yes +ac_cv_header_stdint_h=yes +ac_cv_header_stdlib_h=yes +ac_cv_header_string_h=yes +ac_cv_header_strings_h=yes +ac_cv_header_sys_stat_h=yes +ac_cv_header_sys_types_h=yes +ac_cv_header_unistd_h=yes +ac_cv_header_values_h=yes +ac_cv_host=mipsel-uclibc-linux-gnu26 +ac_cv_objext=o +ac_cv_path_EGREP='/bin/grep -E' +ac_cv_path_GREP=/bin/grep +ac_cv_path_PKG_CONFIG=/usr/bin/pkg-config +ac_cv_path_install='/usr/bin/install -c' +ac_cv_prog_AWK=gawk +ac_cv_prog_CC=/home/qingheng/BCM947186/build_script/43241/../../platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/mipsel-uclibc-linux26-gcc +ac_cv_prog_CPP='/home/qingheng/BCM947186/build_script/43241/../../platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/mipsel-uclibc-linux26-gcc -E' +ac_cv_prog_CXXCPP='/home/qingheng/BCM947186/build_script/43241/../../platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/mipsel-uclibc-linux26-g++ -E' +ac_cv_prog_STRIP=strip +ac_cv_prog_ac_ct_AR=ar +ac_cv_prog_ac_ct_RANLIB=ranlib +ac_cv_prog_ac_ct_STRIP=strip +ac_cv_prog_cc__home_qingheng_BCM947186_build_script_43241_______platform_BCM947186HSICH_toolchain_hndtools_mipsel_linux_uclibc_4_2_3_bin_mipsel_uclibc_linux26_gcc_c_o=yes +ac_cv_prog_cc_c89= +ac_cv_prog_cc_g=yes +ac_cv_prog_cxx_g=yes +ac_cv_prog_f77_g=no +ac_cv_prog_make_make_set=yes +am_cv_CC_dependencies_compiler_type=gcc3 +am_cv_CXX_dependencies_compiler_type=gcc3 +libusb_cv_path=NONE +libusb_cv_path_dot=NONE +libusb_cv_path_doxygen=NONE +lt_cv_deplibs_check_method=pass_all +lt_cv_file_magic_cmd='$MAGIC_CMD' +lt_cv_file_magic_test_file='/lib/libc.so* /lib/libc-*.so' +lt_cv_ld_reload_flag=-r +lt_cv_objdir=.libs +lt_cv_path_LD=/projects/hnd/tools/linux/hndtools-mipsel-linux-uclibc-4.2.3/usr/bin/mipsel-linux-uclibc-ld +lt_cv_path_LDCXX=/projects/hnd/tools/linux/hndtools-mipsel-linux-uclibc-4.2.3/usr/bin/mipsel-linux-uclibc-ld +lt_cv_path_NM=nm +lt_cv_path_SED=/bin/sed +lt_cv_prog_compiler_c_o=yes +lt_cv_prog_compiler_c_o_CXX=yes +lt_cv_prog_compiler_rtti_exceptions=no +lt_cv_prog_gnu_ld=yes +lt_cv_prog_gnu_ldcxx=yes +lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\(\)\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2\3 \3/p'\''' +lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \([^ ]*\) $/ {\"\1\", (lt_ptr) 0},/p'\'' -e '\''s/^[BCDEGRST] \([^ ]*\) \([^ ]*\)$/ {"\2", (lt_ptr) \&\2},/p'\''' +lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^. .* \(.*\)$/extern int \1;/p'\''' +lt_cv_sys_max_cmd_len=32768 +lt_lt_cv_prog_compiler_c_o='"yes"' +lt_lt_cv_prog_compiler_c_o_CXX='"yes"' +lt_lt_cv_sys_global_symbol_pipe='"sed -n -e '\''s/^.*[ ]\\([ABCDGIRSTW][ABCDGIRSTW]*\\)[ ][ ]*\\(\\)\\([_A-Za-z][_A-Za-z0-9]*\\)\$/\\1 \\2\\3 \\3/p'\''"' +lt_lt_cv_sys_global_symbol_to_c_name_address='"sed -n -e '\''s/^: \\([^ ]*\\) \$/ {\\\"\\1\\\", (lt_ptr) 0},/p'\'' -e '\''s/^[BCDEGRST] \\([^ ]*\\) \\([^ ]*\\)\$/ {\"\\2\", (lt_ptr) \\&\\2},/p'\''"' +lt_lt_cv_sys_global_symbol_to_cdecl='"sed -n -e '\''s/^. .* \\(.*\\)\$/extern int \\1;/p'\''"' + +## ----------------- ## +## Output variables. ## +## ----------------- ## + +ACLOCAL='${SHELL} /home/qingheng/BCM947186/driver/BCM43241-DHD/dhd/sources/src/usbdev/libusb/missing --run aclocal-1.8' +AMDEPBACKSLASH='\' +AMDEP_FALSE='#' +AMDEP_TRUE='' +AMTAR='${SHELL} /home/qingheng/BCM947186/driver/BCM43241-DHD/dhd/sources/src/usbdev/libusb/missing --run tar' +AR='ar' +AUTOCONF='${SHELL} /home/qingheng/BCM947186/driver/BCM43241-DHD/dhd/sources/src/usbdev/libusb/missing --run autoconf' +AUTOHEADER='${SHELL} /home/qingheng/BCM947186/driver/BCM43241-DHD/dhd/sources/src/usbdev/libusb/missing --run autoheader' +AUTOMAKE='${SHELL} /home/qingheng/BCM947186/driver/BCM43241-DHD/dhd/sources/src/usbdev/libusb/missing --run automake-1.8' +AWK='gawk' +BIGENDIAN='0' +BSD_API='0' +BSD_API_FALSE='' +BSD_API_TRUE='#' +BUILD_DOCS_FALSE='' +BUILD_DOCS_TRUE='#' +CC='/home/qingheng/BCM947186/build_script/43241/../../platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/mipsel-uclibc-linux26-gcc' +CCDEPMODE='depmode=gcc3' +CFLAGS='-g -O2 -g -Wall' +CPP='/home/qingheng/BCM947186/build_script/43241/../../platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/mipsel-uclibc-linux26-gcc -E' +CPPFLAGS='' +CXX='/home/qingheng/BCM947186/build_script/43241/../../platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/mipsel-uclibc-linux26-g++' +CXXCPP='/home/qingheng/BCM947186/build_script/43241/../../platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/mipsel-uclibc-linux26-g++ -E' +CXXDEPMODE='depmode=gcc3' +CXXFLAGS='-g -O2' +CYGPATH_W='echo' +DARWIN_API='0' +DARWIN_API_FALSE='' +DARWIN_API_TRUE='#' +DEFS='-DHAVE_CONFIG_H' +DEPDIR='.deps' +DOXYGEN='' +DOXYGEN_PROJECT_NAME='LIBUSB C++ API Reference' +DOXYGEN_PROJECT_NUMBER='Version 0.1.12' +ECHO='echo' +ECHO_C='' +ECHO_N='-n' +ECHO_T='' +EGREP='/bin/grep -E' +EXEEXT='' +F77='' +FFLAGS='' +GREP='/bin/grep' +INSTALL_DATA='${INSTALL} -m 644' +INSTALL_PROGRAM='${INSTALL}' +INSTALL_SCRIPT='${INSTALL}' +INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s' +JADE='' +LDFLAGS='' +LIBOBJS='' +LIBS='' +LIBTOOL='$(SHELL) $(top_builddir)/libtool' +LIBUSB_BINARY_AGE='8' +LIBUSB_HAS_DOXYGEN='no' +LIBUSB_HAVE_DOT='NO' +LIBUSB_INTERFACE_AGE='4' +LIBUSB_MAJOR_VERSION='0' +LIBUSB_MICRO_VERSION='12' +LIBUSB_MINOR_VERSION='1' +LIBUSB_VERSION='0.1.12' +LINUX_API='1' +LINUX_API_FALSE='#' +LINUX_API_TRUE='' +LN_S='ln -s' +LTLIBOBJS='' +LT_AGE='4' +LT_CURRENT='8' +LT_RELEASE='0.1' +LT_REVISION='4' +MAKEINFO='${SHELL} /home/qingheng/BCM947186/driver/BCM43241-DHD/dhd/sources/src/usbdev/libusb/missing --run makeinfo' +OBJEXT='o' +OSLIBS='' +PACKAGE='libusb' +PACKAGE_BUGREPORT='' +PACKAGE_NAME='libusb' +PACKAGE_STRING='libusb 0.1.12' +PACKAGE_TARNAME='libusb' +PACKAGE_URL='' +PACKAGE_VERSION='0.1.12' +PATH_SEPARATOR=':' +PKG_CONFIG='/usr/bin/pkg-config' +RANLIB='ranlib' +SET_MAKE='' +SHELL='/bin/sh' +STRIP='strip' +VERSION='0.1.12' +ac_ct_CC='' +ac_ct_CXX='' +ac_ct_F77='' +am__fastdepCC_FALSE='#' +am__fastdepCC_TRUE='' +am__fastdepCXX_FALSE='#' +am__fastdepCXX_TRUE='' +am__include='include' +am__leading_dot='.' +am__quote='' +bindir='${exec_prefix}/bin' +build='x86_64-unknown-linux-gnu' +build_alias='' +build_cpu='x86_64' +build_os='linux-gnu' +build_vendor='unknown' +datadir='${datarootdir}' +datarootdir='${prefix}/share' +docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' +dvidir='${docdir}' +exec_prefix='${prefix}' +host='mipsel-uclibc-linux-gnu26' +host_alias='mipsel-uclibc-linux26' +host_cpu='mipsel' +host_os='linux-gnu26' +host_vendor='uclibc' +htmldir='${docdir}' +includedir='${prefix}/include' +infodir='${datarootdir}/info' +install_sh='/home/qingheng/BCM947186/driver/BCM43241-DHD/dhd/sources/src/usbdev/libusb/install-sh' +libdir='${exec_prefix}/lib' +libexecdir='${exec_prefix}/libexec' +localedir='${datarootdir}/locale' +localstatedir='${prefix}/var' +mandir='${datarootdir}/man' +mkdir_p='mkdir -p -- .' +oldincludedir='/usr/include' +pdfdir='${docdir}' +pkgconfigdir='${exec_prefix}/lib/pkgconfig' +prefix='/usr/local' +program_transform_name='s,x,x,' +psdir='${docdir}' +sbindir='${exec_prefix}/sbin' +sharedstatedir='${prefix}/com' +sysconfdir='${prefix}/etc' +target_alias='' + +## ----------- ## +## confdefs.h. ## +## ----------- ## + +/* confdefs.h */ +#define PACKAGE_NAME "libusb" +#define PACKAGE_TARNAME "libusb" +#define PACKAGE_VERSION "0.1.12" +#define PACKAGE_STRING "libusb 0.1.12" +#define PACKAGE_BUGREPORT "" +#define PACKAGE_URL "" +#define PACKAGE "libusb" +#define VERSION "0.1.12" +#define LIBUSB_MAJOR_VERSION 0 +#define LIBUSB_MINOR_VERSION 1 +#define LIBUSB_MICRO_VERSION 12 +#define LIBUSB_INTERFACE_AGE 4 +#define LIBUSB_BINARY_AGE 8 +#define STDC_HEADERS 1 +#define HAVE_SYS_TYPES_H 1 +#define HAVE_SYS_STAT_H 1 +#define HAVE_STDLIB_H 1 +#define HAVE_STRING_H 1 +#define HAVE_MEMORY_H 1 +#define HAVE_STRINGS_H 1 +#define HAVE_INTTYPES_H 1 +#define HAVE_STDINT_H 1 +#define HAVE_UNISTD_H 1 +#define HAVE_DLFCN_H 1 +#define LINUX_API 1 +#define BSD_API 0 +#define DARWIN_API 0 +#define STDC_HEADERS 1 +#define HAVE_VPRINTF 1 +#define HAVE_LIMITS_H 1 +#define HAVE_LIMITS_H 1 +#define HAVE_UNISTD_H 1 +#define HAVE_UNISTD_H 1 +#define HAVE_VALUES_H 1 +#define HAVE_VALUES_H 1 +#define HAVE_MEMMOVE 1 + +configure: exit 0 diff --git a/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/config.status b/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/config.status new file mode 100755 index 000000000..02a2a0258 --- /dev/null +++ b/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/config.status @@ -0,0 +1,1243 @@ +#! /bin/sh +# Generated by configure. +# Run this file to recreate the current configuration. +# Compiler output produced by configure, useful for debugging +# configure, is in config.log if it exists. + +debug=false +ac_cs_recheck=false +ac_cs_silent=false + +SHELL=${CONFIG_SHELL-/bin/sh} +export SHELL +## -------------------- ## +## M4sh Initialization. ## +## -------------------- ## + +# Be more Bourne compatible +DUALCASE=1; export DUALCASE # for MKS sh +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : + emulate sh + NULLCMD=: + # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which + # is contrary to our usage. Disable this feature. + alias -g '${1+"$@"}'='"$@"' + setopt NO_GLOB_SUBST +else + case `(set -o) 2>/dev/null` in #( + *posix*) : + set -o posix ;; #( + *) : + ;; +esac +fi + + +as_nl=' +' +export as_nl +# Printing a long string crashes Solaris 7 /usr/bin/printf. +as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo +# Prefer a ksh shell builtin over an external printf program on Solaris, +# but without wasting forks for bash or zsh. +if test -z "$BASH_VERSION$ZSH_VERSION" \ + && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then + as_echo='print -r --' + as_echo_n='print -rn --' +elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then + as_echo='printf %s\n' + as_echo_n='printf %s' +else + if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then + as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' + as_echo_n='/usr/ucb/echo -n' + else + as_echo_body='eval expr "X$1" : "X\\(.*\\)"' + as_echo_n_body='eval + arg=$1; + case $arg in #( + *"$as_nl"*) + expr "X$arg" : "X\\(.*\\)$as_nl"; + arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; + esac; + expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" + ' + export as_echo_n_body + as_echo_n='sh -c $as_echo_n_body as_echo' + fi + export as_echo_body + as_echo='sh -c $as_echo_body as_echo' +fi + +# The user is always right. +if test "${PATH_SEPARATOR+set}" != set; then + PATH_SEPARATOR=: + (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { + (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || + PATH_SEPARATOR=';' + } +fi + + +# IFS +# We need space, tab and new line, in precisely that order. Quoting is +# there to prevent editors from complaining about space-tab. +# (If _AS_PATH_WALK were called with IFS unset, it would disable word +# splitting by setting IFS to empty value.) +IFS=" "" $as_nl" + +# Find who we are. Look in the path if we contain no directory separator. +case $0 in #(( + *[\\/]* ) as_myself=$0 ;; + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break + done +IFS=$as_save_IFS + + ;; +esac +# We did not find ourselves, most probably we were run as `sh COMMAND' +# in which case we are not to be found in the path. +if test "x$as_myself" = x; then + as_myself=$0 +fi +if test ! -f "$as_myself"; then + $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 + exit 1 +fi + +# Unset variables that we do not need and which cause bugs (e.g. in +# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" +# suppresses any "Segmentation fault" message there. '((' could +# trigger a bug in pdksh 5.2.14. +for as_var in BASH_ENV ENV MAIL MAILPATH +do eval test x\${$as_var+set} = xset \ + && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : +done +PS1='$ ' +PS2='> ' +PS4='+ ' + +# NLS nuisances. +LC_ALL=C +export LC_ALL +LANGUAGE=C +export LANGUAGE + +# CDPATH. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH + + +# as_fn_error ERROR [LINENO LOG_FD] +# --------------------------------- +# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are +# provided, also output the error to LOG_FD, referencing LINENO. Then exit the +# script with status $?, using 1 if that was 0. +as_fn_error () +{ + as_status=$?; test $as_status -eq 0 && as_status=1 + if test "$3"; then + as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 + fi + $as_echo "$as_me: error: $1" >&2 + as_fn_exit $as_status +} # as_fn_error + + +# as_fn_set_status STATUS +# ----------------------- +# Set $? to STATUS, without forking. +as_fn_set_status () +{ + return $1 +} # as_fn_set_status + +# as_fn_exit STATUS +# ----------------- +# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. +as_fn_exit () +{ + set +e + as_fn_set_status $1 + exit $1 +} # as_fn_exit + +# as_fn_unset VAR +# --------------- +# Portably unset VAR. +as_fn_unset () +{ + { eval $1=; unset $1;} +} +as_unset=as_fn_unset +# as_fn_append VAR VALUE +# ---------------------- +# Append the text in VALUE to the end of the definition contained in VAR. Take +# advantage of any shell optimizations that allow amortized linear growth over +# repeated appends, instead of the typical quadratic growth present in naive +# implementations. +if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : + eval 'as_fn_append () + { + eval $1+=\$2 + }' +else + as_fn_append () + { + eval $1=\$$1\$2 + } +fi # as_fn_append + +# as_fn_arith ARG... +# ------------------ +# Perform arithmetic evaluation on the ARGs, and store the result in the +# global $as_val. Take advantage of shells that can avoid forks. The arguments +# must be portable across $(()) and expr. +if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : + eval 'as_fn_arith () + { + as_val=$(( $* )) + }' +else + as_fn_arith () + { + as_val=`expr "$@" || test $? -eq 1` + } +fi # as_fn_arith + + +if expr a : '\(a\)' >/dev/null 2>&1 && + test "X`expr 00001 : '.*\(...\)'`" = X001; then + as_expr=expr +else + as_expr=false +fi + +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then + as_basename=basename +else + as_basename=false +fi + +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then + as_dirname=dirname +else + as_dirname=false +fi + +as_me=`$as_basename -- "$0" || +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ + X"$0" : 'X\(//\)$' \| \ + X"$0" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X/"$0" | + sed '/^.*\/\([^/][^/]*\)\/*$/{ + s//\1/ + q + } + /^X\/\(\/\/\)$/{ + s//\1/ + q + } + /^X\/\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + +# Avoid depending upon Character Ranges. +as_cr_letters='abcdefghijklmnopqrstuvwxyz' +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' +as_cr_Letters=$as_cr_letters$as_cr_LETTERS +as_cr_digits='0123456789' +as_cr_alnum=$as_cr_Letters$as_cr_digits + +ECHO_C= ECHO_N= ECHO_T= +case `echo -n x` in #((((( +-n*) + case `echo 'xy\c'` in + *c*) ECHO_T=' ';; # ECHO_T is single tab character. + xy) ECHO_C='\c';; + *) echo `echo ksh88 bug on AIX 6.1` > /dev/null + ECHO_T=' ';; + esac;; +*) + ECHO_N='-n';; +esac + +rm -f conf$$ conf$$.exe conf$$.file +if test -d conf$$.dir; then + rm -f conf$$.dir/conf$$.file +else + rm -f conf$$.dir + mkdir conf$$.dir 2>/dev/null +fi +if (echo >conf$$.file) 2>/dev/null; then + if ln -s conf$$.file conf$$ 2>/dev/null; then + as_ln_s='ln -s' + # ... but there are two gotchas: + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. + # In both cases, we have to default to `cp -p'. + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || + as_ln_s='cp -p' + elif ln conf$$.file conf$$ 2>/dev/null; then + as_ln_s=ln + else + as_ln_s='cp -p' + fi +else + as_ln_s='cp -p' +fi +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file +rmdir conf$$.dir 2>/dev/null + + +# as_fn_mkdir_p +# ------------- +# Create "$as_dir" as a directory, including parents if necessary. +as_fn_mkdir_p () +{ + + case $as_dir in #( + -*) as_dir=./$as_dir;; + esac + test -d "$as_dir" || eval $as_mkdir_p || { + as_dirs= + while :; do + case $as_dir in #( + *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( + *) as_qdir=$as_dir;; + esac + as_dirs="'$as_qdir' $as_dirs" + as_dir=`$as_dirname -- "$as_dir" || +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$as_dir" : 'X\(//\)[^/]' \| \ + X"$as_dir" : 'X\(//\)$' \| \ + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X"$as_dir" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + test -d "$as_dir" && break + done + test -z "$as_dirs" || eval "mkdir $as_dirs" + } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" + + +} # as_fn_mkdir_p +if mkdir -p . 2>/dev/null; then + as_mkdir_p='mkdir -p "$as_dir"' +else + test -d ./-p && rmdir ./-p + as_mkdir_p=false +fi + +if test -x / >/dev/null 2>&1; then + as_test_x='test -x' +else + if ls -dL / >/dev/null 2>&1; then + as_ls_L_option=L + else + as_ls_L_option= + fi + as_test_x=' + eval sh -c '\'' + if test -d "$1"; then + test -d "$1/."; + else + case $1 in #( + -*)set "./$1";; + esac; + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( + ???[sx]*):;;*)false;;esac;fi + '\'' sh + ' +fi +as_executable_p=$as_test_x + +# Sed expression to map a string onto a valid CPP name. +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" + +# Sed expression to map a string onto a valid variable name. +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" + + +exec 6>&1 +## ----------------------------------- ## +## Main body of $CONFIG_STATUS script. ## +## ----------------------------------- ## +# Save the log message, to keep $0 and so on meaningful, and to +# report actual input values of CONFIG_FILES etc. instead of their +# values after options handling. +ac_log=" +This file was extended by libusb $as_me 0.1.12, which was +generated by GNU Autoconf 2.65. Invocation command line was + + CONFIG_FILES = $CONFIG_FILES + CONFIG_HEADERS = $CONFIG_HEADERS + CONFIG_LINKS = $CONFIG_LINKS + CONFIG_COMMANDS = $CONFIG_COMMANDS + $ $0 $@ + +on `(hostname || uname -n) 2>/dev/null | sed 1q` +" + +# Files that config.status was made for. +config_files=" Makefile doc/Makefile libusb.spec libusb-config libusb.pc tests/Makefile README INSTALL.libusb usb.h Doxyfile" +config_headers=" config.h" +config_commands=" depfiles default" + +ac_cs_usage="\ +\`$as_me' instantiates files and other configuration actions +from templates according to the current configuration. Unless the files +and actions are specified as TAGs, all are instantiated by default. + +Usage: $0 [OPTION]... [TAG]... + + -h, --help print this help, then exit + -V, --version print version number and configuration settings, then exit + --config print configuration, then exit + -q, --quiet, --silent + do not print progress messages + -d, --debug don't remove temporary files + --recheck update $as_me by reconfiguring in the same conditions + --file=FILE[:TEMPLATE] + instantiate the configuration file FILE + --header=FILE[:TEMPLATE] + instantiate the configuration header FILE + +Configuration files: +$config_files + +Configuration headers: +$config_headers + +Configuration commands: +$config_commands + +Report bugs to the package provider." + +ac_cs_config="'--host=mipsel-uclibc-linux26' 'CC=/home/qingheng/BCM947186/build_script/43241/../../platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/mipsel-uclibc-linux26-gcc' 'CXX=/home/qingheng/BCM947186/build_script/43241/../../platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/mipsel-uclibc-linux26-g++' 'host_alias=mipsel-uclibc-linux26'" +ac_cs_version="\ +libusb config.status 0.1.12 +configured by ./configure, generated by GNU Autoconf 2.65, + with options \"$ac_cs_config\" + +Copyright (C) 2009 Free Software Foundation, Inc. +This config.status script is free software; the Free Software Foundation +gives unlimited permission to copy, distribute and modify it." + +ac_pwd='/home/qingheng/BCM947186/driver/BCM43241-DHD/dhd/sources/src/usbdev/libusb' +srcdir='.' +INSTALL='/usr/bin/install -c' +AWK='gawk' +test -n "$AWK" || AWK=awk +# The default lists apply if the user does not specify any file. +ac_need_defaults=: +while test $# != 0 +do + case $1 in + --*=*) + ac_option=`expr "X$1" : 'X\([^=]*\)='` + ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` + ac_shift=: + ;; + *) + ac_option=$1 + ac_optarg=$2 + ac_shift=shift + ;; + esac + + case $ac_option in + # Handling of the options. + -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) + ac_cs_recheck=: ;; + --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) + $as_echo "$ac_cs_version"; exit ;; + --config | --confi | --conf | --con | --co | --c ) + $as_echo "$ac_cs_config"; exit ;; + --debug | --debu | --deb | --de | --d | -d ) + debug=: ;; + --file | --fil | --fi | --f ) + $ac_shift + case $ac_optarg in + *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; + esac + as_fn_append CONFIG_FILES " '$ac_optarg'" + ac_need_defaults=false;; + --header | --heade | --head | --hea ) + $ac_shift + case $ac_optarg in + *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; + esac + as_fn_append CONFIG_HEADERS " '$ac_optarg'" + ac_need_defaults=false;; + --he | --h) + # Conflict between --help and --header + as_fn_error "ambiguous option: \`$1' +Try \`$0 --help' for more information.";; + --help | --hel | -h ) + $as_echo "$ac_cs_usage"; exit ;; + -q | -quiet | --quiet | --quie | --qui | --qu | --q \ + | -silent | --silent | --silen | --sile | --sil | --si | --s) + ac_cs_silent=: ;; + + # This is an error. + -*) as_fn_error "unrecognized option: \`$1' +Try \`$0 --help' for more information." ;; + + *) as_fn_append ac_config_targets " $1" + ac_need_defaults=false ;; + + esac + shift +done + +ac_configure_extra_args= + +if $ac_cs_silent; then + exec 6>/dev/null + ac_configure_extra_args="$ac_configure_extra_args --silent" +fi + +if $ac_cs_recheck; then + set X '/bin/sh' './configure' '--host=mipsel-uclibc-linux26' 'CC=/home/qingheng/BCM947186/build_script/43241/../../platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/mipsel-uclibc-linux26-gcc' 'CXX=/home/qingheng/BCM947186/build_script/43241/../../platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/mipsel-uclibc-linux26-g++' 'host_alias=mipsel-uclibc-linux26' $ac_configure_extra_args --no-create --no-recursion + shift + $as_echo "running CONFIG_SHELL=/bin/sh $*" >&6 + CONFIG_SHELL='/bin/sh' + export CONFIG_SHELL + exec "$@" +fi + +exec 5>>config.log +{ + echo + sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX +## Running $as_me. ## +_ASBOX + $as_echo "$ac_log" +} >&5 + +# +# INIT-COMMANDS +# +AMDEP_TRUE="" ac_aux_dir="." + + + +# Handling of arguments. +for ac_config_target in $ac_config_targets +do + case $ac_config_target in + "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; + "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; + "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; + "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; + "libusb.spec") CONFIG_FILES="$CONFIG_FILES libusb.spec" ;; + "libusb-config") CONFIG_FILES="$CONFIG_FILES libusb-config" ;; + "libusb.pc") CONFIG_FILES="$CONFIG_FILES libusb.pc" ;; + "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;; + "README") CONFIG_FILES="$CONFIG_FILES README" ;; + "INSTALL.libusb") CONFIG_FILES="$CONFIG_FILES INSTALL.libusb" ;; + "usb.h") CONFIG_FILES="$CONFIG_FILES usb.h" ;; + "Doxyfile") CONFIG_FILES="$CONFIG_FILES Doxyfile" ;; + "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;; + + *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;; + esac +done + + +# If the user did not use the arguments to specify the items to instantiate, +# then the envvar interface is used. Set only those that are not. +# We use the long form for the default assignment because of an extremely +# bizarre bug on SunOS 4.1.3. +if $ac_need_defaults; then + test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files + test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers + test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands +fi + +# Have a temporary directory for convenience. Make it in the build tree +# simply because there is no reason against having it here, and in addition, +# creating and moving files from /tmp can sometimes cause problems. +# Hook for its removal unless debugging. +# Note that there is a small window in which the directory will not be cleaned: +# after its creation but before its name has been assigned to `$tmp'. +$debug || +{ + tmp= + trap 'exit_status=$? + { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status +' 0 + trap 'as_fn_exit 1' 1 2 13 15 +} +# Create a (secure) tmp directory for tmp files. + +{ + tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && + test -n "$tmp" && test -d "$tmp" +} || +{ + tmp=./conf$$-$RANDOM + (umask 077 && mkdir "$tmp") +} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5 + +# Set up the scripts for CONFIG_FILES section. +# No need to generate them if there are no CONFIG_FILES. +# This happens for instance with `./config.status config.h'. +if test -n "$CONFIG_FILES"; then + + +ac_cr=`echo X | tr X '\015'` +# On cygwin, bash can eat \r inside `` if the user requested igncr. +# But we know of no other shell where ac_cr would be empty at this +# point, so we can use a bashism as a fallback. +if test "x$ac_cr" = x; then + eval ac_cr=\$\'\\r\' +fi +ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' /dev/null` +if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then + ac_cs_awk_cr='\r' +else + ac_cs_awk_cr=$ac_cr +fi + +echo 'BEGIN {' >"$tmp/subs1.awk" && +cat >>"$tmp/subs1.awk" <<\_ACAWK && +S["LTLIBOBJS"]="" +S["LIBOBJS"]="" +S["BUILD_DOCS_FALSE"]="" +S["BUILD_DOCS_TRUE"]="#" +S["LIBUSB_HAS_DOXYGEN"]="no" +S["DOXYGEN_PROJECT_NUMBER"]="Version 0.1.12" +S["DOXYGEN_PROJECT_NAME"]="LIBUSB C++ API Reference" +S["DOXYGEN"]="" +S["LIBUSB_HAVE_DOT"]="NO" +S["JADE"]="" +S["pkgconfigdir"]="${exec_prefix}/lib/pkgconfig" +S["PKG_CONFIG"]="/usr/bin/pkg-config" +S["BIGENDIAN"]="0" +S["OSLIBS"]="" +S["DARWIN_API_FALSE"]="" +S["DARWIN_API_TRUE"]="#" +S["BSD_API_FALSE"]="" +S["BSD_API_TRUE"]="#" +S["LINUX_API_FALSE"]="#" +S["LINUX_API_TRUE"]="" +S["BSD_API"]="0" +S["LINUX_API"]="1" +S["DARWIN_API"]="0" +S["LIBTOOL"]="$(SHELL) $(top_builddir)/libtool" +S["ac_ct_F77"]="" +S["FFLAGS"]="" +S["F77"]="" +S["CXXCPP"]="/home/qingheng/BCM947186/build_script/43241/../../platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/mipsel-uclibc-linux26-g++"\ +" -E" +S["am__fastdepCXX_FALSE"]="#" +S["am__fastdepCXX_TRUE"]="" +S["CXXDEPMODE"]="depmode=gcc3" +S["ac_ct_CXX"]="" +S["CXXFLAGS"]="-g -O2" +S["CXX"]="/home/qingheng/BCM947186/build_script/43241/../../platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/mipsel-uclibc-linux26-g++" +S["CPP"]="/home/qingheng/BCM947186/build_script/43241/../../platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/mipsel-uclibc-linux26-gcc"\ +" -E" +S["RANLIB"]="ranlib" +S["AR"]="ar" +S["ECHO"]="echo" +S["LN_S"]="ln -s" +S["EGREP"]="/bin/grep -E" +S["GREP"]="/bin/grep" +S["am__fastdepCC_FALSE"]="#" +S["am__fastdepCC_TRUE"]="" +S["CCDEPMODE"]="depmode=gcc3" +S["AMDEPBACKSLASH"]="\\" +S["AMDEP_FALSE"]="#" +S["AMDEP_TRUE"]="" +S["am__quote"]="" +S["am__include"]="include" +S["DEPDIR"]=".deps" +S["OBJEXT"]="o" +S["EXEEXT"]="" +S["ac_ct_CC"]="" +S["CPPFLAGS"]="" +S["LDFLAGS"]="" +S["CFLAGS"]="-g -O2 -g -Wall" +S["CC"]="/home/qingheng/BCM947186/build_script/43241/../../platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/mipsel-uclibc-linux26-gcc" +S["host_os"]="linux-gnu26" +S["host_vendor"]="uclibc" +S["host_cpu"]="mipsel" +S["host"]="mipsel-uclibc-linux-gnu26" +S["build_os"]="linux-gnu" +S["build_vendor"]="unknown" +S["build_cpu"]="x86_64" +S["build"]="x86_64-unknown-linux-gnu" +S["LT_AGE"]="4" +S["LT_REVISION"]="4" +S["LT_CURRENT"]="8" +S["LT_RELEASE"]="0.1" +S["LIBUSB_BINARY_AGE"]="8" +S["LIBUSB_INTERFACE_AGE"]="4" +S["LIBUSB_VERSION"]="0.1.12" +S["LIBUSB_MICRO_VERSION"]="12" +S["LIBUSB_MINOR_VERSION"]="1" +S["LIBUSB_MAJOR_VERSION"]="0" +S["am__leading_dot"]="." +S["SET_MAKE"]="" +S["AWK"]="gawk" +S["mkdir_p"]="mkdir -p -- ." +S["INSTALL_STRIP_PROGRAM"]="${SHELL} $(install_sh) -c -s" +S["STRIP"]="strip" +S["install_sh"]="/home/qingheng/BCM947186/driver/BCM43241-DHD/dhd/sources/src/usbdev/libusb/install-sh" +S["AMTAR"]="${SHELL} /home/qingheng/BCM947186/driver/BCM43241-DHD/dhd/sources/src/usbdev/libusb/missing --run tar" +S["MAKEINFO"]="${SHELL} /home/qingheng/BCM947186/driver/BCM43241-DHD/dhd/sources/src/usbdev/libusb/missing --run makeinfo" +S["AUTOHEADER"]="${SHELL} /home/qingheng/BCM947186/driver/BCM43241-DHD/dhd/sources/src/usbdev/libusb/missing --run autoheader" +S["AUTOMAKE"]="${SHELL} /home/qingheng/BCM947186/driver/BCM43241-DHD/dhd/sources/src/usbdev/libusb/missing --run automake-1.8" +S["AUTOCONF"]="${SHELL} /home/qingheng/BCM947186/driver/BCM43241-DHD/dhd/sources/src/usbdev/libusb/missing --run autoconf" +S["ACLOCAL"]="${SHELL} /home/qingheng/BCM947186/driver/BCM43241-DHD/dhd/sources/src/usbdev/libusb/missing --run aclocal-1.8" +S["VERSION"]="0.1.12" +S["PACKAGE"]="libusb" +S["CYGPATH_W"]="echo" +S["INSTALL_DATA"]="${INSTALL} -m 644" +S["INSTALL_SCRIPT"]="${INSTALL}" +S["INSTALL_PROGRAM"]="${INSTALL}" +S["target_alias"]="" +S["host_alias"]="mipsel-uclibc-linux26" +S["build_alias"]="" +S["LIBS"]="" +S["ECHO_T"]="" +S["ECHO_N"]="-n" +S["ECHO_C"]="" +S["DEFS"]="-DHAVE_CONFIG_H" +S["mandir"]="${datarootdir}/man" +S["localedir"]="${datarootdir}/locale" +S["libdir"]="${exec_prefix}/lib" +S["psdir"]="${docdir}" +S["pdfdir"]="${docdir}" +S["dvidir"]="${docdir}" +S["htmldir"]="${docdir}" +S["infodir"]="${datarootdir}/info" +S["docdir"]="${datarootdir}/doc/${PACKAGE_TARNAME}" +S["oldincludedir"]="/usr/include" +S["includedir"]="${prefix}/include" +S["localstatedir"]="${prefix}/var" +S["sharedstatedir"]="${prefix}/com" +S["sysconfdir"]="${prefix}/etc" +S["datadir"]="${datarootdir}" +S["datarootdir"]="${prefix}/share" +S["libexecdir"]="${exec_prefix}/libexec" +S["sbindir"]="${exec_prefix}/sbin" +S["bindir"]="${exec_prefix}/bin" +S["program_transform_name"]="s,x,x," +S["prefix"]="/usr/local" +S["exec_prefix"]="${prefix}" +S["PACKAGE_URL"]="" +S["PACKAGE_BUGREPORT"]="" +S["PACKAGE_STRING"]="libusb 0.1.12" +S["PACKAGE_VERSION"]="0.1.12" +S["PACKAGE_TARNAME"]="libusb" +S["PACKAGE_NAME"]="libusb" +S["PATH_SEPARATOR"]=":" +S["SHELL"]="/bin/sh" +_ACAWK +cat >>"$tmp/subs1.awk" <<_ACAWK && + for (key in S) S_is_set[key] = 1 + FS = "" + +} +{ + line = $ 0 + nfields = split(line, field, "@") + substed = 0 + len = length(field[1]) + for (i = 2; i < nfields; i++) { + key = field[i] + keylen = length(key) + if (S_is_set[key]) { + value = S[key] + line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) + len += length(value) + length(field[++i]) + substed = 1 + } else + len += 1 + keylen + } + + print line +} + +_ACAWK +if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then + sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" +else + cat +fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ + || as_fn_error "could not setup config files machinery" "$LINENO" 5 +fi # test -n "$CONFIG_FILES" + +# Set up the scripts for CONFIG_HEADERS section. +# No need to generate them if there are no CONFIG_HEADERS. +# This happens for instance with `./config.status Makefile'. +if test -n "$CONFIG_HEADERS"; then +cat >"$tmp/defines.awk" <<\_ACAWK || +BEGIN { +D["PACKAGE_NAME"]=" \"libusb\"" +D["PACKAGE_TARNAME"]=" \"libusb\"" +D["PACKAGE_VERSION"]=" \"0.1.12\"" +D["PACKAGE_STRING"]=" \"libusb 0.1.12\"" +D["PACKAGE_BUGREPORT"]=" \"\"" +D["PACKAGE_URL"]=" \"\"" +D["PACKAGE"]=" \"libusb\"" +D["VERSION"]=" \"0.1.12\"" +D["LIBUSB_MAJOR_VERSION"]=" 0" +D["LIBUSB_MINOR_VERSION"]=" 1" +D["LIBUSB_MICRO_VERSION"]=" 12" +D["LIBUSB_INTERFACE_AGE"]=" 4" +D["LIBUSB_BINARY_AGE"]=" 8" +D["STDC_HEADERS"]=" 1" +D["HAVE_SYS_TYPES_H"]=" 1" +D["HAVE_SYS_STAT_H"]=" 1" +D["HAVE_STDLIB_H"]=" 1" +D["HAVE_STRING_H"]=" 1" +D["HAVE_MEMORY_H"]=" 1" +D["HAVE_STRINGS_H"]=" 1" +D["HAVE_INTTYPES_H"]=" 1" +D["HAVE_STDINT_H"]=" 1" +D["HAVE_UNISTD_H"]=" 1" +D["HAVE_DLFCN_H"]=" 1" +D["LINUX_API"]=" 1" +D["BSD_API"]=" 0" +D["DARWIN_API"]=" 0" +D["STDC_HEADERS"]=" 1" +D["HAVE_VPRINTF"]=" 1" +D["HAVE_LIMITS_H"]=" 1" +D["HAVE_LIMITS_H"]=" 1" +D["HAVE_UNISTD_H"]=" 1" +D["HAVE_UNISTD_H"]=" 1" +D["HAVE_VALUES_H"]=" 1" +D["HAVE_VALUES_H"]=" 1" +D["HAVE_MEMMOVE"]=" 1" + for (key in D) D_is_set[key] = 1 + FS = "" +} +/^[\t ]*#[\t ]*(define|undef)[\t ]+[_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ][_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]*([\t (]|$)/ { + line = $ 0 + split(line, arg, " ") + if (arg[1] == "#") { + defundef = arg[2] + mac1 = arg[3] + } else { + defundef = substr(arg[1], 2) + mac1 = arg[2] + } + split(mac1, mac2, "(") #) + macro = mac2[1] + prefix = substr(line, 1, index(line, defundef) - 1) + if (D_is_set[macro]) { + # Preserve the white space surrounding the "#". + print prefix "define", macro P[macro] D[macro] + next + } else { + # Replace #undef with comments. This is necessary, for example, + # in the case of _POSIX_SOURCE, which is predefined and required + # on some systems where configure will not decide to define it. + if (defundef == "undef") { + print "/*", prefix defundef, macro, "*/" + next + } + } +} +{ print } +_ACAWK + as_fn_error "could not setup config headers machinery" "$LINENO" 5 +fi # test -n "$CONFIG_HEADERS" + + +eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" +shift +for ac_tag +do + case $ac_tag in + :[FHLC]) ac_mode=$ac_tag; continue;; + esac + case $ac_mode$ac_tag in + :[FHL]*:*);; + :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;; + :[FH]-) ac_tag=-:-;; + :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; + esac + ac_save_IFS=$IFS + IFS=: + set x $ac_tag + IFS=$ac_save_IFS + shift + ac_file=$1 + shift + + case $ac_mode in + :L) ac_source=$1;; + :[FH]) + ac_file_inputs= + for ac_f + do + case $ac_f in + -) ac_f="$tmp/stdin";; + *) # Look for the file first in the build tree, then in the source tree + # (if the path is not absolute). The absolute path cannot be DOS-style, + # because $ac_f cannot contain `:'. + test -f "$ac_f" || + case $ac_f in + [\\/$]*) false;; + *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; + esac || + as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;; + esac + case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac + as_fn_append ac_file_inputs " '$ac_f'" + done + + # Let's still pretend it is `configure' which instantiates (i.e., don't + # use $as_me), people would be surprised to read: + # /* config.h. Generated by config.status. */ + configure_input='Generated from '` + $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' + `' by configure.' + if test x"$ac_file" != x-; then + configure_input="$ac_file. $configure_input" + { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 +$as_echo "$as_me: creating $ac_file" >&6;} + fi + # Neutralize special characters interpreted by sed in replacement strings. + case $configure_input in #( + *\&* | *\|* | *\\* ) + ac_sed_conf_input=`$as_echo "$configure_input" | + sed 's/[\\\\&|]/\\\\&/g'`;; #( + *) ac_sed_conf_input=$configure_input;; + esac + + case $ac_tag in + *:-:* | *:-) cat >"$tmp/stdin" \ + || as_fn_error "could not create $ac_file" "$LINENO" 5 ;; + esac + ;; + esac + + ac_dir=`$as_dirname -- "$ac_file" || +$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$ac_file" : 'X\(//\)[^/]' \| \ + X"$ac_file" : 'X\(//\)$' \| \ + X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X"$ac_file" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + as_dir="$ac_dir"; as_fn_mkdir_p + ac_builddir=. + +case "$ac_dir" in +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; +*) + ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` + # A ".." for each directory in $ac_dir_suffix. + ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` + case $ac_top_builddir_sub in + "") ac_top_builddir_sub=. ac_top_build_prefix= ;; + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; + esac ;; +esac +ac_abs_top_builddir=$ac_pwd +ac_abs_builddir=$ac_pwd$ac_dir_suffix +# for backward compatibility: +ac_top_builddir=$ac_top_build_prefix + +case $srcdir in + .) # We are building in place. + ac_srcdir=. + ac_top_srcdir=$ac_top_builddir_sub + ac_abs_top_srcdir=$ac_pwd ;; + [\\/]* | ?:[\\/]* ) # Absolute name. + ac_srcdir=$srcdir$ac_dir_suffix; + ac_top_srcdir=$srcdir + ac_abs_top_srcdir=$srcdir ;; + *) # Relative name. + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix + ac_top_srcdir=$ac_top_build_prefix$srcdir + ac_abs_top_srcdir=$ac_pwd/$srcdir ;; +esac +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix + + + case $ac_mode in + :F) + # + # CONFIG_FILE + # + + case $INSTALL in + [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; + *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; + esac +# If the template does not know about datarootdir, expand it. +# FIXME: This hack should be removed a few years after 2.60. +ac_datarootdir_hack=; ac_datarootdir_seen= +ac_sed_dataroot=' +/datarootdir/ { + p + q +} +/@datadir@/p +/@docdir@/p +/@infodir@/p +/@localedir@/p +/@mandir@/p' +case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in +*datarootdir*) ac_datarootdir_seen=yes;; +*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 +$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} + ac_datarootdir_hack=' + s&@datadir@&${datarootdir}&g + s&@docdir@&${datarootdir}/doc/${PACKAGE_TARNAME}&g + s&@infodir@&${datarootdir}/info&g + s&@localedir@&${datarootdir}/locale&g + s&@mandir@&${datarootdir}/man&g + s&\${datarootdir}&${prefix}/share&g' ;; +esac +ac_sed_extra="/^[ ]*VPATH[ ]*=/{ +s/:*\$(srcdir):*/:/ +s/:*\${srcdir}:*/:/ +s/:*@srcdir@:*/:/ +s/^\([^=]*=[ ]*\):*/\1/ +s/:*$// +s/^[^=]*=[ ]*$// +} + +:t +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b +s|@configure_input@|$ac_sed_conf_input|;t t +s&@top_builddir@&$ac_top_builddir_sub&;t t +s&@top_build_prefix@&$ac_top_build_prefix&;t t +s&@srcdir@&$ac_srcdir&;t t +s&@abs_srcdir@&$ac_abs_srcdir&;t t +s&@top_srcdir@&$ac_top_srcdir&;t t +s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t +s&@builddir@&$ac_builddir&;t t +s&@abs_builddir@&$ac_abs_builddir&;t t +s&@abs_top_builddir@&$ac_abs_top_builddir&;t t +s&@INSTALL@&$ac_INSTALL&;t t +$ac_datarootdir_hack +" +eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ + || as_fn_error "could not create $ac_file" "$LINENO" 5 + +test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && + { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && + { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' +which seems to be undefined. Please make sure it is defined." >&5 +$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' +which seems to be undefined. Please make sure it is defined." >&2;} + + rm -f "$tmp/stdin" + case $ac_file in + -) cat "$tmp/out" && rm -f "$tmp/out";; + *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; + esac \ + || as_fn_error "could not create $ac_file" "$LINENO" 5 + ;; + :H) + # + # CONFIG_HEADER + # + if test x"$ac_file" != x-; then + { + $as_echo "/* $configure_input */" \ + && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" + } >"$tmp/config.h" \ + || as_fn_error "could not create $ac_file" "$LINENO" 5 + if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then + { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 +$as_echo "$as_me: $ac_file is unchanged" >&6;} + else + rm -f "$ac_file" + mv "$tmp/config.h" "$ac_file" \ + || as_fn_error "could not create $ac_file" "$LINENO" 5 + fi + else + $as_echo "/* $configure_input */" \ + && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ + || as_fn_error "could not create -" "$LINENO" 5 + fi +# Compute "$ac_file"'s index in $config_headers. +_am_stamp_count=1 +for _am_header in $config_headers :; do + case $_am_header in + "$ac_file" | "$ac_file":* ) + break ;; + * ) + _am_stamp_count=`expr $_am_stamp_count + 1` ;; + esac +done +echo "timestamp for "$ac_file"" >`$as_dirname -- "$ac_file" || +$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$ac_file" : 'X\(//\)[^/]' \| \ + X"$ac_file" : 'X\(//\)$' \| \ + X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X"$ac_file" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'`/stamp-h$_am_stamp_count + ;; + + :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 +$as_echo "$as_me: executing $ac_file commands" >&6;} + ;; + esac + + + case $ac_file$ac_mode in + "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do + # Strip MF so we end up with the name of the file. + mf=`echo "$mf" | sed -e 's/:.*$//'` + # Check whether this is an Automake generated Makefile or not. + # We used to match only the files named `Makefile.in', but + # some people rename them; so instead we look at the file content. + # Grep'ing the first line is not enough: some people post-process + # each Makefile.in and add a new line on top of each file to say so. + # So let's grep whole file. + if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then + dirpart=`$as_dirname -- "$mf" || +$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$mf" : 'X\(//\)[^/]' \| \ + X"$mf" : 'X\(//\)$' \| \ + X"$mf" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X"$mf" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + else + continue + fi + grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue + # Extract the definition of DEP_FILES from the Makefile without + # running `make'. + DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` + test -z "$DEPDIR" && continue + # When using ansi2knr, U may be empty or an underscore; expand it + U=`sed -n 's/^U = //p' < "$mf"` + test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR" + # We invoke sed twice because it is the simplest approach to + # changing $(DEPDIR) to its actual value in the expansion. + for file in `sed -n ' + /^DEP_FILES = .*\\\\$/ { + s/^DEP_FILES = // + :loop + s/\\\\$// + p + n + /\\\\$/ b loop + p + } + /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \ + sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do + # Make sure the directory exists. + test -f "$dirpart/$file" && continue + fdir=`$as_dirname -- "$file" || +$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$file" : 'X\(//\)[^/]' \| \ + X"$file" : 'X\(//\)$' \| \ + X"$file" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X"$file" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + as_dir=$dirpart/$fdir; as_fn_mkdir_p + # echo "creating $dirpart/$file" + echo '# dummy' > "$dirpart/$file" + done +done + ;; + "default":C) chmod +x libusb-config ;; + + esac +done # for ac_tag + + +as_fn_exit 0 diff --git a/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/config.sub b/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/config.sub new file mode 100644 index 000000000..7cee3d6ec --- /dev/null +++ b/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/config.sub @@ -0,0 +1,1500 @@ +#! /bin/sh +# Configuration validation subroutine script. +# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, +# 2000, 2001, 2002, 2003 Free Software Foundation, Inc. + +timestamp='2003-06-18' + +# This file is (in principle) common to ALL GNU software. +# The presence of a machine in this file suggests that SOME GNU software +# can handle that machine. It does not imply ALL GNU software can. +# +# This file is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# 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. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, +# Boston, MA 02111-1307, USA. + +# As a special exception to the GNU General Public License, if you +# distribute this file as part of a program that contains a +# configuration script generated by Autoconf, you may include it under +# the same distribution terms that you use for the rest of that program. + +# Please send patches to . Submit a context +# diff and a properly formatted ChangeLog entry. +# +# Configuration subroutine to validate and canonicalize a configuration type. +# Supply the specified configuration type as an argument. +# If it is invalid, we print an error message on stderr and exit with code 1. +# Otherwise, we print the canonical config type on stdout and succeed. + +# This file is supposed to be the same for all GNU packages +# and recognize all the CPU types, system types and aliases +# that are meaningful with *any* GNU software. +# Each package is responsible for reporting which valid configurations +# it does not support. The user should be able to distinguish +# a failure to support a valid configuration from a meaningless +# configuration. + +# The goal of this file is to map all the various variations of a given +# machine specification into a single specification in the form: +# CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM +# or in some cases, the newer four-part form: +# CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM +# It is wrong to echo any other type of specification. + +me=`echo "$0" | sed -e 's,.*/,,'` + +usage="\ +Usage: $0 [OPTION] CPU-MFR-OPSYS + $0 [OPTION] ALIAS + +Canonicalize a configuration name. + +Operation modes: + -h, --help print this help, then exit + -t, --time-stamp print date of last modification, then exit + -v, --version print version number, then exit + +Report bugs and patches to ." + +version="\ +GNU config.sub ($timestamp) + +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001 +Free Software Foundation, Inc. + +This is free software; see the source for copying conditions. There is NO +warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." + +help=" +Try \`$me --help' for more information." + +# Parse command line +while test $# -gt 0 ; do + case $1 in + --time-stamp | --time* | -t ) + echo "$timestamp" ; exit 0 ;; + --version | -v ) + echo "$version" ; exit 0 ;; + --help | --h* | -h ) + echo "$usage"; exit 0 ;; + -- ) # Stop option processing + shift; break ;; + - ) # Use stdin as input. + break ;; + -* ) + echo "$me: invalid option $1$help" + exit 1 ;; + + *local*) + # First pass through any local machine types. + echo $1 + exit 0;; + + * ) + break ;; + esac +done + +case $# in + 0) echo "$me: missing argument$help" >&2 + exit 1;; + 1) ;; + *) echo "$me: too many arguments$help" >&2 + exit 1;; +esac + +# Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any). +# Here we must recognize all the valid KERNEL-OS combinations. +maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` +case $maybe_os in + nto-qnx* | linux-gnu* | freebsd*-gnu* | netbsd*-gnu* | storm-chaos* | os2-emx* | rtmk-nova*) + os=-$maybe_os + basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` + ;; + *) + basic_machine=`echo $1 | sed 's/-[^-]*$//'` + if [ $basic_machine != $1 ] + then os=`echo $1 | sed 's/.*-/-/'` + else os=; fi + ;; +esac + +### Let's recognize common machines as not being operating systems so +### that things like config.sub decstation-3100 work. We also +### recognize some manufacturers as not being operating systems, so we +### can provide default operating systems below. +case $os in + -sun*os*) + # Prevent following clause from handling this invalid input. + ;; + -dec* | -mips* | -sequent* | -encore* | -pc532* | -sgi* | -sony* | \ + -att* | -7300* | -3300* | -delta* | -motorola* | -sun[234]* | \ + -unicom* | -ibm* | -next | -hp | -isi* | -apollo | -altos* | \ + -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\ + -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \ + -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \ + -apple | -axis) + os= + basic_machine=$1 + ;; + -sim | -cisco | -oki | -wec | -winbond) + os= + basic_machine=$1 + ;; + -scout) + ;; + -wrs) + os=-vxworks + basic_machine=$1 + ;; + -chorusos*) + os=-chorusos + basic_machine=$1 + ;; + -chorusrdb) + os=-chorusrdb + basic_machine=$1 + ;; + -hiux*) + os=-hiuxwe2 + ;; + -sco5) + os=-sco3.2v5 + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` + ;; + -sco4) + os=-sco3.2v4 + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` + ;; + -sco3.2.[4-9]*) + os=`echo $os | sed -e 's/sco3.2./sco3.2v/'` + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` + ;; + -sco3.2v[4-9]*) + # Don't forget version if it is 3.2v4 or newer. + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` + ;; + -sco*) + os=-sco3.2v2 + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` + ;; + -udk*) + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` + ;; + -isc) + os=-isc2.2 + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` + ;; + -clix*) + basic_machine=clipper-intergraph + ;; + -isc*) + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` + ;; + -lynx*) + os=-lynxos + ;; + -ptx*) + basic_machine=`echo $1 | sed -e 's/86-.*/86-sequent/'` + ;; + -windowsnt*) + os=`echo $os | sed -e 's/windowsnt/winnt/'` + ;; + -psos*) + os=-psos + ;; + -mint | -mint[0-9]*) + basic_machine=m68k-atari + os=-mint + ;; +esac + +# Decode aliases for certain CPU-COMPANY combinations. +case $basic_machine in + # Recognize the basic CPU types without company name. + # Some are omitted here because they have special meanings below. + 1750a | 580 \ + | a29k \ + | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \ + | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \ + | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \ + | c4x | clipper \ + | d10v | d30v | dlx | dsp16xx \ + | fr30 | frv \ + | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ + | i370 | i860 | i960 | ia64 \ + | ip2k \ + | m32r | m68000 | m68k | m88k | mcore \ + | mips | mipsbe | mipseb | mipsel | mipsle \ + | mips16 \ + | mips64 | mips64el \ + | mips64vr | mips64vrel \ + | mips64orion | mips64orionel \ + | mips64vr4100 | mips64vr4100el \ + | mips64vr4300 | mips64vr4300el \ + | mips64vr5000 | mips64vr5000el \ + | mipsisa32 | mipsisa32el \ + | mipsisa32r2 | mipsisa32r2el \ + | mipsisa64 | mipsisa64el \ + | mipsisa64sb1 | mipsisa64sb1el \ + | mipsisa64sr71k | mipsisa64sr71kel \ + | mipstx39 | mipstx39el \ + | mn10200 | mn10300 \ + | msp430 \ + | ns16k | ns32k \ + | openrisc | or32 \ + | pdp10 | pdp11 | pj | pjl \ + | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \ + | pyramid \ + | s390 | s390x \ + | sh | sh[1234] | sh[23]e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \ + | sh64 | sh64le \ + | sparc | sparc64 | sparc86x | sparclet | sparclite | sparcv9 | sparcv9b \ + | strongarm \ + | tahoe | thumb | tic4x | tic80 | tron \ + | v850 | v850e \ + | we32k \ + | x86 | xscale | xstormy16 | xtensa \ + | z8k) + basic_machine=$basic_machine-unknown + ;; + m6811 | m68hc11 | m6812 | m68hc12) + # Motorola 68HC11/12. + basic_machine=$basic_machine-unknown + os=-none + ;; + m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k) + ;; + + # We use `pc' rather than `unknown' + # because (1) that's what they normally are, and + # (2) the word "unknown" tends to confuse beginning users. + i*86 | x86_64) + basic_machine=$basic_machine-pc + ;; + # Object if more than one company name word. + *-*-*) + echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2 + exit 1 + ;; + # Recognize the basic CPU types with company name. + 580-* \ + | a29k-* \ + | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \ + | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \ + | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \ + | arm-* | armbe-* | armle-* | armeb-* | armv*-* \ + | avr-* \ + | bs2000-* \ + | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \ + | clipper-* | cydra-* \ + | d10v-* | d30v-* | dlx-* \ + | elxsi-* \ + | f30[01]-* | f700-* | fr30-* | frv-* | fx80-* \ + | h8300-* | h8500-* \ + | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \ + | i*86-* | i860-* | i960-* | ia64-* \ + | ip2k-* \ + | m32r-* \ + | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ + | m88110-* | m88k-* | mcore-* \ + | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \ + | mips16-* \ + | mips64-* | mips64el-* \ + | mips64vr-* | mips64vrel-* \ + | mips64orion-* | mips64orionel-* \ + | mips64vr4100-* | mips64vr4100el-* \ + | mips64vr4300-* | mips64vr4300el-* \ + | mips64vr5000-* | mips64vr5000el-* \ + | mipsisa32-* | mipsisa32el-* \ + | mipsisa32r2-* | mipsisa32r2el-* \ + | mipsisa64-* | mipsisa64el-* \ + | mipsisa64sb1-* | mipsisa64sb1el-* \ + | mipsisa64sr71k-* | mipsisa64sr71kel-* \ + | mipstx39-* | mipstx39el-* \ + | msp430-* \ + | none-* | np1-* | nv1-* | ns16k-* | ns32k-* \ + | orion-* \ + | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ + | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \ + | pyramid-* \ + | romp-* | rs6000-* \ + | s390-* | s390x-* \ + | sh-* | sh[1234]-* | sh[23]e-* | sh[34]eb-* | shbe-* \ + | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \ + | sparc-* | sparc64-* | sparc86x-* | sparclet-* | sparclite-* \ + | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \ + | tahoe-* | thumb-* \ + | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \ + | tron-* \ + | v850-* | v850e-* | vax-* \ + | we32k-* \ + | x86-* | x86_64-* | xps100-* | xscale-* | xstormy16-* \ + | xtensa-* \ + | ymp-* \ + | z8k-*) + ;; + # Recognize the various machine names and aliases which stand + # for a CPU type and a company and sometimes even an OS. + 386bsd) + basic_machine=i386-unknown + os=-bsd + ;; + 3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc) + basic_machine=m68000-att + ;; + 3b*) + basic_machine=we32k-att + ;; + a29khif) + basic_machine=a29k-amd + os=-udi + ;; + adobe68k) + basic_machine=m68010-adobe + os=-scout + ;; + alliant | fx80) + basic_machine=fx80-alliant + ;; + altos | altos3068) + basic_machine=m68k-altos + ;; + am29k) + basic_machine=a29k-none + os=-bsd + ;; + amd64) + basic_machine=x86_64-pc + ;; + amdahl) + basic_machine=580-amdahl + os=-sysv + ;; + amiga | amiga-*) + basic_machine=m68k-unknown + ;; + amigaos | amigados) + basic_machine=m68k-unknown + os=-amigaos + ;; + amigaunix | amix) + basic_machine=m68k-unknown + os=-sysv4 + ;; + apollo68) + basic_machine=m68k-apollo + os=-sysv + ;; + apollo68bsd) + basic_machine=m68k-apollo + os=-bsd + ;; + aux) + basic_machine=m68k-apple + os=-aux + ;; + balance) + basic_machine=ns32k-sequent + os=-dynix + ;; + c90) + basic_machine=c90-cray + os=-unicos + ;; + convex-c1) + basic_machine=c1-convex + os=-bsd + ;; + convex-c2) + basic_machine=c2-convex + os=-bsd + ;; + convex-c32) + basic_machine=c32-convex + os=-bsd + ;; + convex-c34) + basic_machine=c34-convex + os=-bsd + ;; + convex-c38) + basic_machine=c38-convex + os=-bsd + ;; + cray | j90) + basic_machine=j90-cray + os=-unicos + ;; + crds | unos) + basic_machine=m68k-crds + ;; + cris | cris-* | etrax*) + basic_machine=cris-axis + ;; + da30 | da30-*) + basic_machine=m68k-da30 + ;; + decstation | decstation-3100 | pmax | pmax-* | pmin | dec3100 | decstatn) + basic_machine=mips-dec + ;; + decsystem10* | dec10*) + basic_machine=pdp10-dec + os=-tops10 + ;; + decsystem20* | dec20*) + basic_machine=pdp10-dec + os=-tops20 + ;; + delta | 3300 | motorola-3300 | motorola-delta \ + | 3300-motorola | delta-motorola) + basic_machine=m68k-motorola + ;; + delta88) + basic_machine=m88k-motorola + os=-sysv3 + ;; + dpx20 | dpx20-*) + basic_machine=rs6000-bull + os=-bosx + ;; + dpx2* | dpx2*-bull) + basic_machine=m68k-bull + os=-sysv3 + ;; + ebmon29k) + basic_machine=a29k-amd + os=-ebmon + ;; + elxsi) + basic_machine=elxsi-elxsi + os=-bsd + ;; + encore | umax | mmax) + basic_machine=ns32k-encore + ;; + es1800 | OSE68k | ose68k | ose | OSE) + basic_machine=m68k-ericsson + os=-ose + ;; + fx2800) + basic_machine=i860-alliant + ;; + genix) + basic_machine=ns32k-ns + ;; + gmicro) + basic_machine=tron-gmicro + os=-sysv + ;; + go32) + basic_machine=i386-pc + os=-go32 + ;; + h3050r* | hiux*) + basic_machine=hppa1.1-hitachi + os=-hiuxwe2 + ;; + h8300hms) + basic_machine=h8300-hitachi + os=-hms + ;; + h8300xray) + basic_machine=h8300-hitachi + os=-xray + ;; + h8500hms) + basic_machine=h8500-hitachi + os=-hms + ;; + harris) + basic_machine=m88k-harris + os=-sysv3 + ;; + hp300-*) + basic_machine=m68k-hp + ;; + hp300bsd) + basic_machine=m68k-hp + os=-bsd + ;; + hp300hpux) + basic_machine=m68k-hp + os=-hpux + ;; + hp3k9[0-9][0-9] | hp9[0-9][0-9]) + basic_machine=hppa1.0-hp + ;; + hp9k2[0-9][0-9] | hp9k31[0-9]) + basic_machine=m68000-hp + ;; + hp9k3[2-9][0-9]) + basic_machine=m68k-hp + ;; + hp9k6[0-9][0-9] | hp6[0-9][0-9]) + basic_machine=hppa1.0-hp + ;; + hp9k7[0-79][0-9] | hp7[0-79][0-9]) + basic_machine=hppa1.1-hp + ;; + hp9k78[0-9] | hp78[0-9]) + # FIXME: really hppa2.0-hp + basic_machine=hppa1.1-hp + ;; + hp9k8[67]1 | hp8[67]1 | hp9k80[24] | hp80[24] | hp9k8[78]9 | hp8[78]9 | hp9k893 | hp893) + # FIXME: really hppa2.0-hp + basic_machine=hppa1.1-hp + ;; + hp9k8[0-9][13679] | hp8[0-9][13679]) + basic_machine=hppa1.1-hp + ;; + hp9k8[0-9][0-9] | hp8[0-9][0-9]) + basic_machine=hppa1.0-hp + ;; + hppa-next) + os=-nextstep3 + ;; + hppaosf) + basic_machine=hppa1.1-hp + os=-osf + ;; + hppro) + basic_machine=hppa1.1-hp + os=-proelf + ;; + i370-ibm* | ibm*) + basic_machine=i370-ibm + ;; +# I'm not sure what "Sysv32" means. Should this be sysv3.2? + i*86v32) + basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` + os=-sysv32 + ;; + i*86v4*) + basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` + os=-sysv4 + ;; + i*86v) + basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` + os=-sysv + ;; + i*86sol2) + basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` + os=-solaris2 + ;; + i386mach) + basic_machine=i386-mach + os=-mach + ;; + i386-vsta | vsta) + basic_machine=i386-unknown + os=-vsta + ;; + iris | iris4d) + basic_machine=mips-sgi + case $os in + -irix*) + ;; + *) + os=-irix4 + ;; + esac + ;; + isi68 | isi) + basic_machine=m68k-isi + os=-sysv + ;; + m88k-omron*) + basic_machine=m88k-omron + ;; + magnum | m3230) + basic_machine=mips-mips + os=-sysv + ;; + merlin) + basic_machine=ns32k-utek + os=-sysv + ;; + mingw32) + basic_machine=i386-pc + os=-mingw32 + ;; + miniframe) + basic_machine=m68000-convergent + ;; + *mint | -mint[0-9]* | *MiNT | *MiNT[0-9]*) + basic_machine=m68k-atari + os=-mint + ;; + mips3*-*) + basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'` + ;; + mips3*) + basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown + ;; + mmix*) + basic_machine=mmix-knuth + os=-mmixware + ;; + monitor) + basic_machine=m68k-rom68k + os=-coff + ;; + morphos) + basic_machine=powerpc-unknown + os=-morphos + ;; + msdos) + basic_machine=i386-pc + os=-msdos + ;; + mvs) + basic_machine=i370-ibm + os=-mvs + ;; + ncr3000) + basic_machine=i486-ncr + os=-sysv4 + ;; + netbsd386) + basic_machine=i386-unknown + os=-netbsd + ;; + netwinder) + basic_machine=armv4l-rebel + os=-linux + ;; + news | news700 | news800 | news900) + basic_machine=m68k-sony + os=-newsos + ;; + news1000) + basic_machine=m68030-sony + os=-newsos + ;; + news-3600 | risc-news) + basic_machine=mips-sony + os=-newsos + ;; + necv70) + basic_machine=v70-nec + os=-sysv + ;; + next | m*-next ) + basic_machine=m68k-next + case $os in + -nextstep* ) + ;; + -ns2*) + os=-nextstep2 + ;; + *) + os=-nextstep3 + ;; + esac + ;; + nh3000) + basic_machine=m68k-harris + os=-cxux + ;; + nh[45]000) + basic_machine=m88k-harris + os=-cxux + ;; + nindy960) + basic_machine=i960-intel + os=-nindy + ;; + mon960) + basic_machine=i960-intel + os=-mon960 + ;; + nonstopux) + basic_machine=mips-compaq + os=-nonstopux + ;; + np1) + basic_machine=np1-gould + ;; + nv1) + basic_machine=nv1-cray + os=-unicosmp + ;; + nsr-tandem) + basic_machine=nsr-tandem + ;; + op50n-* | op60c-*) + basic_machine=hppa1.1-oki + os=-proelf + ;; + or32 | or32-*) + basic_machine=or32-unknown + os=-coff + ;; + OSE68000 | ose68000) + basic_machine=m68000-ericsson + os=-ose + ;; + os68k) + basic_machine=m68k-none + os=-os68k + ;; + pa-hitachi) + basic_machine=hppa1.1-hitachi + os=-hiuxwe2 + ;; + paragon) + basic_machine=i860-intel + os=-osf + ;; + pbd) + basic_machine=sparc-tti + ;; + pbb) + basic_machine=m68k-tti + ;; + pc532 | pc532-*) + basic_machine=ns32k-pc532 + ;; + pentium | p5 | k5 | k6 | nexgen | viac3) + basic_machine=i586-pc + ;; + pentiumpro | p6 | 6x86 | athlon | athlon_*) + basic_machine=i686-pc + ;; + pentiumii | pentium2 | pentiumiii | pentium3) + basic_machine=i686-pc + ;; + pentium4) + basic_machine=i786-pc + ;; + pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*) + basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + pentiumpro-* | p6-* | 6x86-* | athlon-*) + basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*) + basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + pentium4-*) + basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + pn) + basic_machine=pn-gould + ;; + power) basic_machine=power-ibm + ;; + ppc) basic_machine=powerpc-unknown + ;; + ppc-*) basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + ppcle | powerpclittle | ppc-le | powerpc-little) + basic_machine=powerpcle-unknown + ;; + ppcle-* | powerpclittle-*) + basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + ppc64) basic_machine=powerpc64-unknown + ;; + ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + ppc64le | powerpc64little | ppc64-le | powerpc64-little) + basic_machine=powerpc64le-unknown + ;; + ppc64le-* | powerpc64little-*) + basic_machine=powerpc64le-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + ps2) + basic_machine=i386-ibm + ;; + pw32) + basic_machine=i586-unknown + os=-pw32 + ;; + rom68k) + basic_machine=m68k-rom68k + os=-coff + ;; + rm[46]00) + basic_machine=mips-siemens + ;; + rtpc | rtpc-*) + basic_machine=romp-ibm + ;; + sa29200) + basic_machine=a29k-amd + os=-udi + ;; + sb1) + basic_machine=mipsisa64sb1-unknown + ;; + sb1el) + basic_machine=mipsisa64sb1el-unknown + ;; + sei) + basic_machine=mips-sei + os=-seiux + ;; + sequent) + basic_machine=i386-sequent + ;; + sh) + basic_machine=sh-hitachi + os=-hms + ;; + sh64) + basic_machine=sh64-unknown + ;; + sparclite-wrs | simso-wrs) + basic_machine=sparclite-wrs + os=-vxworks + ;; + sps7) + basic_machine=m68k-bull + os=-sysv2 + ;; + spur) + basic_machine=spur-unknown + ;; + st2000) + basic_machine=m68k-tandem + ;; + stratus) + basic_machine=i860-stratus + os=-sysv4 + ;; + sun2) + basic_machine=m68000-sun + ;; + sun2os3) + basic_machine=m68000-sun + os=-sunos3 + ;; + sun2os4) + basic_machine=m68000-sun + os=-sunos4 + ;; + sun3os3) + basic_machine=m68k-sun + os=-sunos3 + ;; + sun3os4) + basic_machine=m68k-sun + os=-sunos4 + ;; + sun4os3) + basic_machine=sparc-sun + os=-sunos3 + ;; + sun4os4) + basic_machine=sparc-sun + os=-sunos4 + ;; + sun4sol2) + basic_machine=sparc-sun + os=-solaris2 + ;; + sun3 | sun3-*) + basic_machine=m68k-sun + ;; + sun4) + basic_machine=sparc-sun + ;; + sun386 | sun386i | roadrunner) + basic_machine=i386-sun + ;; + sv1) + basic_machine=sv1-cray + os=-unicos + ;; + symmetry) + basic_machine=i386-sequent + os=-dynix + ;; + t3e) + basic_machine=alphaev5-cray + os=-unicos + ;; + t90) + basic_machine=t90-cray + os=-unicos + ;; + tic54x | c54x*) + basic_machine=tic54x-unknown + os=-coff + ;; + tic55x | c55x*) + basic_machine=tic55x-unknown + os=-coff + ;; + tic6x | c6x*) + basic_machine=tic6x-unknown + os=-coff + ;; + tx39) + basic_machine=mipstx39-unknown + ;; + tx39el) + basic_machine=mipstx39el-unknown + ;; + toad1) + basic_machine=pdp10-xkl + os=-tops20 + ;; + tower | tower-32) + basic_machine=m68k-ncr + ;; + udi29k) + basic_machine=a29k-amd + os=-udi + ;; + ultra3) + basic_machine=a29k-nyu + os=-sym1 + ;; + v810 | necv810) + basic_machine=v810-nec + os=-none + ;; + vaxv) + basic_machine=vax-dec + os=-sysv + ;; + vms) + basic_machine=vax-dec + os=-vms + ;; + vpp*|vx|vx-*) + basic_machine=f301-fujitsu + ;; + vxworks960) + basic_machine=i960-wrs + os=-vxworks + ;; + vxworks68) + basic_machine=m68k-wrs + os=-vxworks + ;; + vxworks29k) + basic_machine=a29k-wrs + os=-vxworks + ;; + w65*) + basic_machine=w65-wdc + os=-none + ;; + w89k-*) + basic_machine=hppa1.1-winbond + os=-proelf + ;; + xps | xps100) + basic_machine=xps100-honeywell + ;; + ymp) + basic_machine=ymp-cray + os=-unicos + ;; + z8k-*-coff) + basic_machine=z8k-unknown + os=-sim + ;; + none) + basic_machine=none-none + os=-none + ;; + +# Here we handle the default manufacturer of certain CPU types. It is in +# some cases the only manufacturer, in others, it is the most popular. + w89k) + basic_machine=hppa1.1-winbond + ;; + op50n) + basic_machine=hppa1.1-oki + ;; + op60c) + basic_machine=hppa1.1-oki + ;; + romp) + basic_machine=romp-ibm + ;; + rs6000) + basic_machine=rs6000-ibm + ;; + vax) + basic_machine=vax-dec + ;; + pdp10) + # there are many clones, so DEC is not a safe bet + basic_machine=pdp10-unknown + ;; + pdp11) + basic_machine=pdp11-dec + ;; + we32k) + basic_machine=we32k-att + ;; + sh3 | sh4 | sh[34]eb | sh[1234]le | sh[23]ele) + basic_machine=sh-unknown + ;; + sh64) + basic_machine=sh64-unknown + ;; + sparc | sparcv9 | sparcv9b) + basic_machine=sparc-sun + ;; + cydra) + basic_machine=cydra-cydrome + ;; + orion) + basic_machine=orion-highlevel + ;; + orion105) + basic_machine=clipper-highlevel + ;; + mac | mpw | mac-mpw) + basic_machine=m68k-apple + ;; + pmac | pmac-mpw) + basic_machine=powerpc-apple + ;; + *-unknown) + # Make sure to match an already-canonicalized machine name. + ;; + *) + echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2 + exit 1 + ;; +esac + +# Here we canonicalize certain aliases for manufacturers. +case $basic_machine in + *-digital*) + basic_machine=`echo $basic_machine | sed 's/digital.*/dec/'` + ;; + *-commodore*) + basic_machine=`echo $basic_machine | sed 's/commodore.*/cbm/'` + ;; + *) + ;; +esac + +# Decode manufacturer-specific aliases for certain operating systems. + +if [ x"$os" != x"" ] +then +case $os in + # First match some system type aliases + # that might get confused with valid system types. + # -solaris* is a basic system type, with this one exception. + -solaris1 | -solaris1.*) + os=`echo $os | sed -e 's|solaris1|sunos4|'` + ;; + -solaris) + os=-solaris2 + ;; + -svr4*) + os=-sysv4 + ;; + -unixware*) + os=-sysv4.2uw + ;; + -gnu/linux*) + os=`echo $os | sed -e 's|gnu/linux|linux-gnu|'` + ;; + # First accept the basic system types. + # The portable systems comes first. + # Each alternative MUST END IN A *, to match a version number. + # -sysv* is not here because it comes later, after sysvr4. + -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \ + | -*vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[34]*\ + | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \ + | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \ + | -aos* \ + | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ + | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ + | -hiux* | -386bsd* | -netbsd* | -openbsd* | -freebsd* | -riscix* \ + | -lynxos* | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ + | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ + | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ + | -chorusos* | -chorusrdb* \ + | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ + | -mingw32* | -linux-gnu* | -uxpv* | -beos* | -mpeix* | -udk* \ + | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \ + | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ + | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \ + | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ + | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ + | -powermax* | -dnix* | -nx6 | -nx7 | -sei*) + # Remember, each alternative MUST END IN *, to match a version number. + ;; + -qnx*) + case $basic_machine in + x86-* | i*86-*) + ;; + *) + os=-nto$os + ;; + esac + ;; + -nto-qnx*) + ;; + -nto*) + os=`echo $os | sed -e 's|nto|nto-qnx|'` + ;; + -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \ + | -windows* | -osx | -abug | -netware* | -os9* | -beos* \ + | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*) + ;; + -mac*) + os=`echo $os | sed -e 's|mac|macos|'` + ;; + -linux*) + os=`echo $os | sed -e 's|linux|linux-gnu|'` + ;; + -sunos5*) + os=`echo $os | sed -e 's|sunos5|solaris2|'` + ;; + -sunos6*) + os=`echo $os | sed -e 's|sunos6|solaris3|'` + ;; + -opened*) + os=-openedition + ;; + -wince*) + os=-wince + ;; + -osfrose*) + os=-osfrose + ;; + -osf*) + os=-osf + ;; + -utek*) + os=-bsd + ;; + -dynix*) + os=-bsd + ;; + -acis*) + os=-aos + ;; + -atheos*) + os=-atheos + ;; + -386bsd) + os=-bsd + ;; + -ctix* | -uts*) + os=-sysv + ;; + -nova*) + os=-rtmk-nova + ;; + -ns2 ) + os=-nextstep2 + ;; + -nsk*) + os=-nsk + ;; + # Preserve the version number of sinix5. + -sinix5.*) + os=`echo $os | sed -e 's|sinix|sysv|'` + ;; + -sinix*) + os=-sysv4 + ;; + -triton*) + os=-sysv3 + ;; + -oss*) + os=-sysv3 + ;; + -svr4) + os=-sysv4 + ;; + -svr3) + os=-sysv3 + ;; + -sysvr4) + os=-sysv4 + ;; + # This must come after -sysvr4. + -sysv*) + ;; + -ose*) + os=-ose + ;; + -es1800*) + os=-ose + ;; + -xenix) + os=-xenix + ;; + -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) + os=-mint + ;; + -aros*) + os=-aros + ;; + -kaos*) + os=-kaos + ;; + -none) + ;; + *) + # Get rid of the `-' at the beginning of $os. + os=`echo $os | sed 's/[^-]*-//'` + echo Invalid configuration \`$1\': system \`$os\' not recognized 1>&2 + exit 1 + ;; +esac +else + +# Here we handle the default operating systems that come with various machines. +# The value should be what the vendor currently ships out the door with their +# machine or put another way, the most popular os provided with the machine. + +# Note that if you're going to try to match "-MANUFACTURER" here (say, +# "-sun"), then you have to tell the case statement up towards the top +# that MANUFACTURER isn't an operating system. Otherwise, code above +# will signal an error saying that MANUFACTURER isn't an operating +# system, and we'll never get to this point. + +case $basic_machine in + *-acorn) + os=-riscix1.2 + ;; + arm*-rebel) + os=-linux + ;; + arm*-semi) + os=-aout + ;; + c4x-* | tic4x-*) + os=-coff + ;; + # This must come before the *-dec entry. + pdp10-*) + os=-tops20 + ;; + pdp11-*) + os=-none + ;; + *-dec | vax-*) + os=-ultrix4.2 + ;; + m68*-apollo) + os=-domain + ;; + i386-sun) + os=-sunos4.0.2 + ;; + m68000-sun) + os=-sunos3 + # This also exists in the configure program, but was not the + # default. + # os=-sunos4 + ;; + m68*-cisco) + os=-aout + ;; + mips*-cisco) + os=-elf + ;; + mips*-*) + os=-elf + ;; + or32-*) + os=-coff + ;; + *-tti) # must be before sparc entry or we get the wrong os. + os=-sysv3 + ;; + sparc-* | *-sun) + os=-sunos4.1.1 + ;; + *-be) + os=-beos + ;; + *-ibm) + os=-aix + ;; + *-wec) + os=-proelf + ;; + *-winbond) + os=-proelf + ;; + *-oki) + os=-proelf + ;; + *-hp) + os=-hpux + ;; + *-hitachi) + os=-hiux + ;; + i860-* | *-att | *-ncr | *-altos | *-motorola | *-convergent) + os=-sysv + ;; + *-cbm) + os=-amigaos + ;; + *-dg) + os=-dgux + ;; + *-dolphin) + os=-sysv3 + ;; + m68k-ccur) + os=-rtu + ;; + m88k-omron*) + os=-luna + ;; + *-next ) + os=-nextstep + ;; + *-sequent) + os=-ptx + ;; + *-crds) + os=-unos + ;; + *-ns) + os=-genix + ;; + i370-*) + os=-mvs + ;; + *-next) + os=-nextstep3 + ;; + *-gould) + os=-sysv + ;; + *-highlevel) + os=-bsd + ;; + *-encore) + os=-bsd + ;; + *-sgi) + os=-irix + ;; + *-siemens) + os=-sysv4 + ;; + *-masscomp) + os=-rtu + ;; + f30[01]-fujitsu | f700-fujitsu) + os=-uxpv + ;; + *-rom68k) + os=-coff + ;; + *-*bug) + os=-coff + ;; + *-apple) + os=-macos + ;; + *-atari*) + os=-mint + ;; + *) + os=-none + ;; +esac +fi + +# Here we handle the case where we know the os, and the CPU type, but not the +# manufacturer. We pick the logical manufacturer. +vendor=unknown +case $basic_machine in + *-unknown) + case $os in + -riscix*) + vendor=acorn + ;; + -sunos*) + vendor=sun + ;; + -aix*) + vendor=ibm + ;; + -beos*) + vendor=be + ;; + -hpux*) + vendor=hp + ;; + -mpeix*) + vendor=hp + ;; + -hiux*) + vendor=hitachi + ;; + -unos*) + vendor=crds + ;; + -dgux*) + vendor=dg + ;; + -luna*) + vendor=omron + ;; + -genix*) + vendor=ns + ;; + -mvs* | -opened*) + vendor=ibm + ;; + -ptx*) + vendor=sequent + ;; + -vxsim* | -vxworks* | -windiss*) + vendor=wrs + ;; + -aux*) + vendor=apple + ;; + -hms*) + vendor=hitachi + ;; + -mpw* | -macos*) + vendor=apple + ;; + -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) + vendor=atari + ;; + -vos*) + vendor=stratus + ;; + esac + basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"` + ;; +esac + +echo $basic_machine$os +exit 0 + +# Local variables: +# eval: (add-hook 'write-file-hooks 'time-stamp) +# time-stamp-start: "timestamp='" +# time-stamp-format: "%:y-%02m-%02d" +# time-stamp-end: "'" +# End: diff --git a/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/configure b/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/configure new file mode 100755 index 000000000..d222e96ab --- /dev/null +++ b/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/configure @@ -0,0 +1,21876 @@ +#! /bin/sh +# Guess values for system-dependent variables and create Makefiles. +# Generated by GNU Autoconf 2.65 for libusb 0.1.12. +# +# +# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, +# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, +# Inc. +# +# +# This configure script is free software; the Free Software Foundation +# gives unlimited permission to copy, distribute and modify it. +## -------------------- ## +## M4sh Initialization. ## +## -------------------- ## + +# Be more Bourne compatible +DUALCASE=1; export DUALCASE # for MKS sh +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : + emulate sh + NULLCMD=: + # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which + # is contrary to our usage. Disable this feature. + alias -g '${1+"$@"}'='"$@"' + setopt NO_GLOB_SUBST +else + case `(set -o) 2>/dev/null` in #( + *posix*) : + set -o posix ;; #( + *) : + ;; +esac +fi + + +as_nl=' +' +export as_nl +# Printing a long string crashes Solaris 7 /usr/bin/printf. +as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo +# Prefer a ksh shell builtin over an external printf program on Solaris, +# but without wasting forks for bash or zsh. +if test -z "$BASH_VERSION$ZSH_VERSION" \ + && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then + as_echo='print -r --' + as_echo_n='print -rn --' +elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then + as_echo='printf %s\n' + as_echo_n='printf %s' +else + if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then + as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' + as_echo_n='/usr/ucb/echo -n' + else + as_echo_body='eval expr "X$1" : "X\\(.*\\)"' + as_echo_n_body='eval + arg=$1; + case $arg in #( + *"$as_nl"*) + expr "X$arg" : "X\\(.*\\)$as_nl"; + arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; + esac; + expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" + ' + export as_echo_n_body + as_echo_n='sh -c $as_echo_n_body as_echo' + fi + export as_echo_body + as_echo='sh -c $as_echo_body as_echo' +fi + +# The user is always right. +if test "${PATH_SEPARATOR+set}" != set; then + PATH_SEPARATOR=: + (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { + (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || + PATH_SEPARATOR=';' + } +fi + + +# IFS +# We need space, tab and new line, in precisely that order. Quoting is +# there to prevent editors from complaining about space-tab. +# (If _AS_PATH_WALK were called with IFS unset, it would disable word +# splitting by setting IFS to empty value.) +IFS=" "" $as_nl" + +# Find who we are. Look in the path if we contain no directory separator. +case $0 in #(( + *[\\/]* ) as_myself=$0 ;; + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break + done +IFS=$as_save_IFS + + ;; +esac +# We did not find ourselves, most probably we were run as `sh COMMAND' +# in which case we are not to be found in the path. +if test "x$as_myself" = x; then + as_myself=$0 +fi +if test ! -f "$as_myself"; then + $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 + exit 1 +fi + +# Unset variables that we do not need and which cause bugs (e.g. in +# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" +# suppresses any "Segmentation fault" message there. '((' could +# trigger a bug in pdksh 5.2.14. +for as_var in BASH_ENV ENV MAIL MAILPATH +do eval test x\${$as_var+set} = xset \ + && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : +done +PS1='$ ' +PS2='> ' +PS4='+ ' + +# NLS nuisances. +LC_ALL=C +export LC_ALL +LANGUAGE=C +export LANGUAGE + +# CDPATH. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH + +if test "x$CONFIG_SHELL" = x; then + as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : + emulate sh + NULLCMD=: + # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which + # is contrary to our usage. Disable this feature. + alias -g '\${1+\"\$@\"}'='\"\$@\"' + setopt NO_GLOB_SUBST +else + case \`(set -o) 2>/dev/null\` in #( + *posix*) : + set -o posix ;; #( + *) : + ;; +esac +fi +" + as_required="as_fn_return () { (exit \$1); } +as_fn_success () { as_fn_return 0; } +as_fn_failure () { as_fn_return 1; } +as_fn_ret_success () { return 0; } +as_fn_ret_failure () { return 1; } + +exitcode=0 +as_fn_success || { exitcode=1; echo as_fn_success failed.; } +as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } +as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } +as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } +if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : + +else + exitcode=1; echo positional parameters were not saved. +fi +test x\$exitcode = x0 || exit 1" + as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO + as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO + eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && + test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 +test \$(( 1 + 1 )) = 2 || exit 1" + if (eval "$as_required") 2>/dev/null; then : + as_have_required=yes +else + as_have_required=no +fi + if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : + +else + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +as_found=false +for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + as_found=: + case $as_dir in #( + /*) + for as_base in sh bash ksh sh5; do + # Try only shells that exist, to save several forks. + as_shell=$as_dir/$as_base + if { test -f "$as_shell" || test -f "$as_shell.exe"; } && + { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : + CONFIG_SHELL=$as_shell as_have_required=yes + if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : + break 2 +fi +fi + done;; + esac + as_found=false +done +$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && + { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : + CONFIG_SHELL=$SHELL as_have_required=yes +fi; } +IFS=$as_save_IFS + + + if test "x$CONFIG_SHELL" != x; then : + # We cannot yet assume a decent shell, so we have to provide a + # neutralization value for shells without unset; and this also + # works around shells that cannot unset nonexistent variables. + BASH_ENV=/dev/null + ENV=/dev/null + (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV + export CONFIG_SHELL + exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} +fi + + if test x$as_have_required = xno; then : + $as_echo "$0: This script requires a shell more modern than all" + $as_echo "$0: the shells that I found on your system." + if test x${ZSH_VERSION+set} = xset ; then + $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" + $as_echo "$0: be upgraded to zsh 4.3.4 or later." + else + $as_echo "$0: Please tell bug-autoconf@gnu.org about your system, +$0: including any error possibly output before this +$0: message. Then install a modern shell, or manually run +$0: the script under such a shell if you do have one." + fi + exit 1 +fi +fi +fi +SHELL=${CONFIG_SHELL-/bin/sh} +export SHELL +# Unset more variables known to interfere with behavior of common tools. +CLICOLOR_FORCE= GREP_OPTIONS= +unset CLICOLOR_FORCE GREP_OPTIONS + +## --------------------- ## +## M4sh Shell Functions. ## +## --------------------- ## +# as_fn_unset VAR +# --------------- +# Portably unset VAR. +as_fn_unset () +{ + { eval $1=; unset $1;} +} +as_unset=as_fn_unset + +# as_fn_set_status STATUS +# ----------------------- +# Set $? to STATUS, without forking. +as_fn_set_status () +{ + return $1 +} # as_fn_set_status + +# as_fn_exit STATUS +# ----------------- +# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. +as_fn_exit () +{ + set +e + as_fn_set_status $1 + exit $1 +} # as_fn_exit + +# as_fn_mkdir_p +# ------------- +# Create "$as_dir" as a directory, including parents if necessary. +as_fn_mkdir_p () +{ + + case $as_dir in #( + -*) as_dir=./$as_dir;; + esac + test -d "$as_dir" || eval $as_mkdir_p || { + as_dirs= + while :; do + case $as_dir in #( + *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( + *) as_qdir=$as_dir;; + esac + as_dirs="'$as_qdir' $as_dirs" + as_dir=`$as_dirname -- "$as_dir" || +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$as_dir" : 'X\(//\)[^/]' \| \ + X"$as_dir" : 'X\(//\)$' \| \ + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X"$as_dir" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + test -d "$as_dir" && break + done + test -z "$as_dirs" || eval "mkdir $as_dirs" + } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" + + +} # as_fn_mkdir_p +# as_fn_append VAR VALUE +# ---------------------- +# Append the text in VALUE to the end of the definition contained in VAR. Take +# advantage of any shell optimizations that allow amortized linear growth over +# repeated appends, instead of the typical quadratic growth present in naive +# implementations. +if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : + eval 'as_fn_append () + { + eval $1+=\$2 + }' +else + as_fn_append () + { + eval $1=\$$1\$2 + } +fi # as_fn_append + +# as_fn_arith ARG... +# ------------------ +# Perform arithmetic evaluation on the ARGs, and store the result in the +# global $as_val. Take advantage of shells that can avoid forks. The arguments +# must be portable across $(()) and expr. +if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : + eval 'as_fn_arith () + { + as_val=$(( $* )) + }' +else + as_fn_arith () + { + as_val=`expr "$@" || test $? -eq 1` + } +fi # as_fn_arith + + +# as_fn_error ERROR [LINENO LOG_FD] +# --------------------------------- +# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are +# provided, also output the error to LOG_FD, referencing LINENO. Then exit the +# script with status $?, using 1 if that was 0. +as_fn_error () +{ + as_status=$?; test $as_status -eq 0 && as_status=1 + if test "$3"; then + as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 + fi + $as_echo "$as_me: error: $1" >&2 + as_fn_exit $as_status +} # as_fn_error + +if expr a : '\(a\)' >/dev/null 2>&1 && + test "X`expr 00001 : '.*\(...\)'`" = X001; then + as_expr=expr +else + as_expr=false +fi + +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then + as_basename=basename +else + as_basename=false +fi + +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then + as_dirname=dirname +else + as_dirname=false +fi + +as_me=`$as_basename -- "$0" || +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ + X"$0" : 'X\(//\)$' \| \ + X"$0" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X/"$0" | + sed '/^.*\/\([^/][^/]*\)\/*$/{ + s//\1/ + q + } + /^X\/\(\/\/\)$/{ + s//\1/ + q + } + /^X\/\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + +# Avoid depending upon Character Ranges. +as_cr_letters='abcdefghijklmnopqrstuvwxyz' +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' +as_cr_Letters=$as_cr_letters$as_cr_LETTERS +as_cr_digits='0123456789' +as_cr_alnum=$as_cr_Letters$as_cr_digits + + + as_lineno_1=$LINENO as_lineno_1a=$LINENO + as_lineno_2=$LINENO as_lineno_2a=$LINENO + eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && + test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { + # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) + sed -n ' + p + /[$]LINENO/= + ' <$as_myself | + sed ' + s/[$]LINENO.*/&-/ + t lineno + b + :lineno + N + :loop + s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ + t loop + s/-\n.*// + ' >$as_me.lineno && + chmod +x "$as_me.lineno" || + { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } + + # Don't try to exec as it changes $[0], causing all sort of problems + # (the dirname of $[0] is not the place where we might find the + # original and so on. Autoconf is especially sensitive to this). + . "./$as_me.lineno" + # Exit status is that of the last command. + exit +} + +ECHO_C= ECHO_N= ECHO_T= +case `echo -n x` in #((((( +-n*) + case `echo 'xy\c'` in + *c*) ECHO_T=' ';; # ECHO_T is single tab character. + xy) ECHO_C='\c';; + *) echo `echo ksh88 bug on AIX 6.1` > /dev/null + ECHO_T=' ';; + esac;; +*) + ECHO_N='-n';; +esac + +rm -f conf$$ conf$$.exe conf$$.file +if test -d conf$$.dir; then + rm -f conf$$.dir/conf$$.file +else + rm -f conf$$.dir + mkdir conf$$.dir 2>/dev/null +fi +if (echo >conf$$.file) 2>/dev/null; then + if ln -s conf$$.file conf$$ 2>/dev/null; then + as_ln_s='ln -s' + # ... but there are two gotchas: + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. + # In both cases, we have to default to `cp -p'. + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || + as_ln_s='cp -p' + elif ln conf$$.file conf$$ 2>/dev/null; then + as_ln_s=ln + else + as_ln_s='cp -p' + fi +else + as_ln_s='cp -p' +fi +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file +rmdir conf$$.dir 2>/dev/null + +if mkdir -p . 2>/dev/null; then + as_mkdir_p='mkdir -p "$as_dir"' +else + test -d ./-p && rmdir ./-p + as_mkdir_p=false +fi + +if test -x / >/dev/null 2>&1; then + as_test_x='test -x' +else + if ls -dL / >/dev/null 2>&1; then + as_ls_L_option=L + else + as_ls_L_option= + fi + as_test_x=' + eval sh -c '\'' + if test -d "$1"; then + test -d "$1/."; + else + case $1 in #( + -*)set "./$1";; + esac; + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( + ???[sx]*):;;*)false;;esac;fi + '\'' sh + ' +fi +as_executable_p=$as_test_x + +# Sed expression to map a string onto a valid CPP name. +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" + +# Sed expression to map a string onto a valid variable name. +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" + + + +# Check that we are running under the correct shell. +SHELL=${CONFIG_SHELL-/bin/sh} + +case X$ECHO in +X*--fallback-echo) + # Remove one level of quotation (which was required for Make). + ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','` + ;; +esac + +echo=${ECHO-echo} +if test "X$1" = X--no-reexec; then + # Discard the --no-reexec flag, and continue. + shift +elif test "X$1" = X--fallback-echo; then + # Avoid inline document here, it may be left over + : +elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then + # Yippee, $echo works! + : +else + # Restart under the correct shell. + exec $SHELL "$0" --no-reexec ${1+"$@"} +fi + +if test "X$1" = X--fallback-echo; then + # used as fallback echo + shift + cat </dev/null && + echo_test_string="`eval $cmd`" && + (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null + then + break + fi + done +fi + +if test "X`($echo '\t') 2>/dev/null`" = 'X\t' && + echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` && + test "X$echo_testing_string" = "X$echo_test_string"; then + : +else + # The Solaris, AIX, and Digital Unix default echo programs unquote + # backslashes. This makes it impossible to quote backslashes using + # echo "$something" | sed 's/\\/\\\\/g' + # + # So, first we look for a working echo in the user's PATH. + + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR + for dir in $PATH /usr/ucb; do + IFS="$lt_save_ifs" + if (test -f $dir/echo || test -f $dir/echo$ac_exeext) && + test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' && + echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` && + test "X$echo_testing_string" = "X$echo_test_string"; then + echo="$dir/echo" + break + fi + done + IFS="$lt_save_ifs" + + if test "X$echo" = Xecho; then + # We didn't find a better echo, so look for alternatives. + if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' && + echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` && + test "X$echo_testing_string" = "X$echo_test_string"; then + # This shell has a builtin print -r that does the trick. + echo='print -r' + elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) && + test "X$CONFIG_SHELL" != X/bin/ksh; then + # If we have ksh, try running configure again with it. + ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} + export ORIGINAL_CONFIG_SHELL + CONFIG_SHELL=/bin/ksh + export CONFIG_SHELL + exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"} + else + # Try using printf. + echo='printf %s\n' + if test "X`($echo '\t') 2>/dev/null`" = 'X\t' && + echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` && + test "X$echo_testing_string" = "X$echo_test_string"; then + # Cool, printf works + : + elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` && + test "X$echo_testing_string" = 'X\t' && + echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` && + test "X$echo_testing_string" = "X$echo_test_string"; then + CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL + export CONFIG_SHELL + SHELL="$CONFIG_SHELL" + export SHELL + echo="$CONFIG_SHELL $0 --fallback-echo" + elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` && + test "X$echo_testing_string" = 'X\t' && + echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` && + test "X$echo_testing_string" = "X$echo_test_string"; then + echo="$CONFIG_SHELL $0 --fallback-echo" + else + # maybe with a smaller string... + prev=: + + for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do + if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null + then + break + fi + prev="$cmd" + done + + if test "$prev" != 'sed 50q "$0"'; then + echo_test_string=`eval $prev` + export echo_test_string + exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"} + else + # Oops. We lost completely, so just stick with echo. + echo=echo + fi + fi + fi + fi +fi +fi + +# Copy echo and quote the copy suitably for passing to libtool from +# the Makefile, instead of quoting the original, which is used later. +ECHO=$echo +if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then + ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo" +fi + + + + +tagnames=${tagnames+${tagnames},}CXX + +tagnames=${tagnames+${tagnames},}F77 + +test -n "$DJDIR" || exec 7<&0 &1 + +# Name of the host. +# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, +# so uname gets run too. +ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` + +# +# Initializations. +# +ac_default_prefix=/usr/local +ac_clean_files= +ac_config_libobj_dir=. +LIBOBJS= +cross_compiling=no +subdirs= +MFLAGS= +MAKEFLAGS= + +# Identity of this package. +PACKAGE_NAME='libusb' +PACKAGE_TARNAME='libusb' +PACKAGE_VERSION='0.1.12' +PACKAGE_STRING='libusb 0.1.12' +PACKAGE_BUGREPORT='' +PACKAGE_URL='' + +ac_unique_file="usb.c" +# Factoring default headers for most tests. +ac_includes_default="\ +#include +#ifdef HAVE_SYS_TYPES_H +# include +#endif +#ifdef HAVE_SYS_STAT_H +# include +#endif +#ifdef STDC_HEADERS +# include +# include +#else +# ifdef HAVE_STDLIB_H +# include +# endif +#endif +#ifdef HAVE_STRING_H +# if !defined STDC_HEADERS && defined HAVE_MEMORY_H +# include +# endif +# include +#endif +#ifdef HAVE_STRINGS_H +# include +#endif +#ifdef HAVE_INTTYPES_H +# include +#endif +#ifdef HAVE_STDINT_H +# include +#endif +#ifdef HAVE_UNISTD_H +# include +#endif" + +ac_subst_vars='LTLIBOBJS +LIBOBJS +BUILD_DOCS_FALSE +BUILD_DOCS_TRUE +LIBUSB_HAS_DOXYGEN +DOXYGEN_PROJECT_NUMBER +DOXYGEN_PROJECT_NAME +DOXYGEN +LIBUSB_HAVE_DOT +JADE +pkgconfigdir +PKG_CONFIG +BIGENDIAN +OSLIBS +DARWIN_API_FALSE +DARWIN_API_TRUE +BSD_API_FALSE +BSD_API_TRUE +LINUX_API_FALSE +LINUX_API_TRUE +BSD_API +LINUX_API +DARWIN_API +LIBTOOL +ac_ct_F77 +FFLAGS +F77 +CXXCPP +am__fastdepCXX_FALSE +am__fastdepCXX_TRUE +CXXDEPMODE +ac_ct_CXX +CXXFLAGS +CXX +CPP +RANLIB +AR +ECHO +LN_S +EGREP +GREP +am__fastdepCC_FALSE +am__fastdepCC_TRUE +CCDEPMODE +AMDEPBACKSLASH +AMDEP_FALSE +AMDEP_TRUE +am__quote +am__include +DEPDIR +OBJEXT +EXEEXT +ac_ct_CC +CPPFLAGS +LDFLAGS +CFLAGS +CC +host_os +host_vendor +host_cpu +host +build_os +build_vendor +build_cpu +build +LT_AGE +LT_REVISION +LT_CURRENT +LT_RELEASE +LIBUSB_BINARY_AGE +LIBUSB_INTERFACE_AGE +LIBUSB_VERSION +LIBUSB_MICRO_VERSION +LIBUSB_MINOR_VERSION +LIBUSB_MAJOR_VERSION +am__leading_dot +SET_MAKE +AWK +mkdir_p +INSTALL_STRIP_PROGRAM +STRIP +install_sh +AMTAR +MAKEINFO +AUTOHEADER +AUTOMAKE +AUTOCONF +ACLOCAL +VERSION +PACKAGE +CYGPATH_W +INSTALL_DATA +INSTALL_SCRIPT +INSTALL_PROGRAM +target_alias +host_alias +build_alias +LIBS +ECHO_T +ECHO_N +ECHO_C +DEFS +mandir +localedir +libdir +psdir +pdfdir +dvidir +htmldir +infodir +docdir +oldincludedir +includedir +localstatedir +sharedstatedir +sysconfdir +datadir +datarootdir +libexecdir +sbindir +bindir +program_transform_name +prefix +exec_prefix +PACKAGE_URL +PACKAGE_BUGREPORT +PACKAGE_STRING +PACKAGE_VERSION +PACKAGE_TARNAME +PACKAGE_NAME +PATH_SEPARATOR +SHELL' +ac_subst_files='' +ac_user_opts=' +enable_option_checking +enable_shared +enable_static +enable_fast_install +enable_dependency_tracking +with_gnu_ld +enable_libtool_lock +with_pic +with_tags +enable_debug +with_pkgconfig +enable_build_docs +' + ac_precious_vars='build_alias +host_alias +target_alias +CC +CFLAGS +LDFLAGS +LIBS +CPPFLAGS +CPP +CXX +CXXFLAGS +CCC +CXXCPP +F77 +FFLAGS' + + +# Initialize some variables set by options. +ac_init_help= +ac_init_version=false +ac_unrecognized_opts= +ac_unrecognized_sep= +# The variables have the same names as the options, with +# dashes changed to underlines. +cache_file=/dev/null +exec_prefix=NONE +no_create= +no_recursion= +prefix=NONE +program_prefix=NONE +program_suffix=NONE +program_transform_name=s,x,x, +silent= +site= +srcdir= +verbose= +x_includes=NONE +x_libraries=NONE + +# Installation directory options. +# These are left unexpanded so users can "make install exec_prefix=/foo" +# and all the variables that are supposed to be based on exec_prefix +# by default will actually change. +# Use braces instead of parens because sh, perl, etc. also accept them. +# (The list follows the same order as the GNU Coding Standards.) +bindir='${exec_prefix}/bin' +sbindir='${exec_prefix}/sbin' +libexecdir='${exec_prefix}/libexec' +datarootdir='${prefix}/share' +datadir='${datarootdir}' +sysconfdir='${prefix}/etc' +sharedstatedir='${prefix}/com' +localstatedir='${prefix}/var' +includedir='${prefix}/include' +oldincludedir='/usr/include' +docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' +infodir='${datarootdir}/info' +htmldir='${docdir}' +dvidir='${docdir}' +pdfdir='${docdir}' +psdir='${docdir}' +libdir='${exec_prefix}/lib' +localedir='${datarootdir}/locale' +mandir='${datarootdir}/man' + +ac_prev= +ac_dashdash= +for ac_option +do + # If the previous option needs an argument, assign it. + if test -n "$ac_prev"; then + eval $ac_prev=\$ac_option + ac_prev= + continue + fi + + case $ac_option in + *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; + *) ac_optarg=yes ;; + esac + + # Accept the important Cygnus configure options, so we can diagnose typos. + + case $ac_dashdash$ac_option in + --) + ac_dashdash=yes ;; + + -bindir | --bindir | --bindi | --bind | --bin | --bi) + ac_prev=bindir ;; + -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) + bindir=$ac_optarg ;; + + -build | --build | --buil | --bui | --bu) + ac_prev=build_alias ;; + -build=* | --build=* | --buil=* | --bui=* | --bu=*) + build_alias=$ac_optarg ;; + + -cache-file | --cache-file | --cache-fil | --cache-fi \ + | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) + ac_prev=cache_file ;; + -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ + | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) + cache_file=$ac_optarg ;; + + --config-cache | -C) + cache_file=config.cache ;; + + -datadir | --datadir | --datadi | --datad) + ac_prev=datadir ;; + -datadir=* | --datadir=* | --datadi=* | --datad=*) + datadir=$ac_optarg ;; + + -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ + | --dataroo | --dataro | --datar) + ac_prev=datarootdir ;; + -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ + | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) + datarootdir=$ac_optarg ;; + + -disable-* | --disable-*) + ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` + # Reject names that are not valid shell variable names. + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && + as_fn_error "invalid feature name: $ac_useropt" + ac_useropt_orig=$ac_useropt + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` + case $ac_user_opts in + *" +"enable_$ac_useropt" +"*) ;; + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" + ac_unrecognized_sep=', ';; + esac + eval enable_$ac_useropt=no ;; + + -docdir | --docdir | --docdi | --doc | --do) + ac_prev=docdir ;; + -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) + docdir=$ac_optarg ;; + + -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) + ac_prev=dvidir ;; + -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) + dvidir=$ac_optarg ;; + + -enable-* | --enable-*) + ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` + # Reject names that are not valid shell variable names. + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && + as_fn_error "invalid feature name: $ac_useropt" + ac_useropt_orig=$ac_useropt + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` + case $ac_user_opts in + *" +"enable_$ac_useropt" +"*) ;; + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" + ac_unrecognized_sep=', ';; + esac + eval enable_$ac_useropt=\$ac_optarg ;; + + -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ + | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ + | --exec | --exe | --ex) + ac_prev=exec_prefix ;; + -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ + | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ + | --exec=* | --exe=* | --ex=*) + exec_prefix=$ac_optarg ;; + + -gas | --gas | --ga | --g) + # Obsolete; use --with-gas. + with_gas=yes ;; + + -help | --help | --hel | --he | -h) + ac_init_help=long ;; + -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) + ac_init_help=recursive ;; + -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) + ac_init_help=short ;; + + -host | --host | --hos | --ho) + ac_prev=host_alias ;; + -host=* | --host=* | --hos=* | --ho=*) + host_alias=$ac_optarg ;; + + -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) + ac_prev=htmldir ;; + -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ + | --ht=*) + htmldir=$ac_optarg ;; + + -includedir | --includedir | --includedi | --included | --include \ + | --includ | --inclu | --incl | --inc) + ac_prev=includedir ;; + -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ + | --includ=* | --inclu=* | --incl=* | --inc=*) + includedir=$ac_optarg ;; + + -infodir | --infodir | --infodi | --infod | --info | --inf) + ac_prev=infodir ;; + -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) + infodir=$ac_optarg ;; + + -libdir | --libdir | --libdi | --libd) + ac_prev=libdir ;; + -libdir=* | --libdir=* | --libdi=* | --libd=*) + libdir=$ac_optarg ;; + + -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ + | --libexe | --libex | --libe) + ac_prev=libexecdir ;; + -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ + | --libexe=* | --libex=* | --libe=*) + libexecdir=$ac_optarg ;; + + -localedir | --localedir | --localedi | --localed | --locale) + ac_prev=localedir ;; + -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) + localedir=$ac_optarg ;; + + -localstatedir | --localstatedir | --localstatedi | --localstated \ + | --localstate | --localstat | --localsta | --localst | --locals) + ac_prev=localstatedir ;; + -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ + | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) + localstatedir=$ac_optarg ;; + + -mandir | --mandir | --mandi | --mand | --man | --ma | --m) + ac_prev=mandir ;; + -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) + mandir=$ac_optarg ;; + + -nfp | --nfp | --nf) + # Obsolete; use --without-fp. + with_fp=no ;; + + -no-create | --no-create | --no-creat | --no-crea | --no-cre \ + | --no-cr | --no-c | -n) + no_create=yes ;; + + -no-recursion | --no-recursion | --no-recursio | --no-recursi \ + | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) + no_recursion=yes ;; + + -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ + | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ + | --oldin | --oldi | --old | --ol | --o) + ac_prev=oldincludedir ;; + -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ + | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ + | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) + oldincludedir=$ac_optarg ;; + + -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) + ac_prev=prefix ;; + -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) + prefix=$ac_optarg ;; + + -program-prefix | --program-prefix | --program-prefi | --program-pref \ + | --program-pre | --program-pr | --program-p) + ac_prev=program_prefix ;; + -program-prefix=* | --program-prefix=* | --program-prefi=* \ + | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) + program_prefix=$ac_optarg ;; + + -program-suffix | --program-suffix | --program-suffi | --program-suff \ + | --program-suf | --program-su | --program-s) + ac_prev=program_suffix ;; + -program-suffix=* | --program-suffix=* | --program-suffi=* \ + | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) + program_suffix=$ac_optarg ;; + + -program-transform-name | --program-transform-name \ + | --program-transform-nam | --program-transform-na \ + | --program-transform-n | --program-transform- \ + | --program-transform | --program-transfor \ + | --program-transfo | --program-transf \ + | --program-trans | --program-tran \ + | --progr-tra | --program-tr | --program-t) + ac_prev=program_transform_name ;; + -program-transform-name=* | --program-transform-name=* \ + | --program-transform-nam=* | --program-transform-na=* \ + | --program-transform-n=* | --program-transform-=* \ + | --program-transform=* | --program-transfor=* \ + | --program-transfo=* | --program-transf=* \ + | --program-trans=* | --program-tran=* \ + | --progr-tra=* | --program-tr=* | --program-t=*) + program_transform_name=$ac_optarg ;; + + -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) + ac_prev=pdfdir ;; + -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) + pdfdir=$ac_optarg ;; + + -psdir | --psdir | --psdi | --psd | --ps) + ac_prev=psdir ;; + -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) + psdir=$ac_optarg ;; + + -q | -quiet | --quiet | --quie | --qui | --qu | --q \ + | -silent | --silent | --silen | --sile | --sil) + silent=yes ;; + + -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) + ac_prev=sbindir ;; + -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ + | --sbi=* | --sb=*) + sbindir=$ac_optarg ;; + + -sharedstatedir | --sharedstatedir | --sharedstatedi \ + | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ + | --sharedst | --shareds | --shared | --share | --shar \ + | --sha | --sh) + ac_prev=sharedstatedir ;; + -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ + | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ + | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ + | --sha=* | --sh=*) + sharedstatedir=$ac_optarg ;; + + -site | --site | --sit) + ac_prev=site ;; + -site=* | --site=* | --sit=*) + site=$ac_optarg ;; + + -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) + ac_prev=srcdir ;; + -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) + srcdir=$ac_optarg ;; + + -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ + | --syscon | --sysco | --sysc | --sys | --sy) + ac_prev=sysconfdir ;; + -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ + | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) + sysconfdir=$ac_optarg ;; + + -target | --target | --targe | --targ | --tar | --ta | --t) + ac_prev=target_alias ;; + -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) + target_alias=$ac_optarg ;; + + -v | -verbose | --verbose | --verbos | --verbo | --verb) + verbose=yes ;; + + -version | --version | --versio | --versi | --vers | -V) + ac_init_version=: ;; + + -with-* | --with-*) + ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` + # Reject names that are not valid shell variable names. + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && + as_fn_error "invalid package name: $ac_useropt" + ac_useropt_orig=$ac_useropt + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` + case $ac_user_opts in + *" +"with_$ac_useropt" +"*) ;; + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" + ac_unrecognized_sep=', ';; + esac + eval with_$ac_useropt=\$ac_optarg ;; + + -without-* | --without-*) + ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` + # Reject names that are not valid shell variable names. + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && + as_fn_error "invalid package name: $ac_useropt" + ac_useropt_orig=$ac_useropt + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` + case $ac_user_opts in + *" +"with_$ac_useropt" +"*) ;; + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" + ac_unrecognized_sep=', ';; + esac + eval with_$ac_useropt=no ;; + + --x) + # Obsolete; use --with-x. + with_x=yes ;; + + -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ + | --x-incl | --x-inc | --x-in | --x-i) + ac_prev=x_includes ;; + -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ + | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) + x_includes=$ac_optarg ;; + + -x-libraries | --x-libraries | --x-librarie | --x-librari \ + | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) + ac_prev=x_libraries ;; + -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ + | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) + x_libraries=$ac_optarg ;; + + -*) as_fn_error "unrecognized option: \`$ac_option' +Try \`$0 --help' for more information." + ;; + + *=*) + ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` + # Reject names that are not valid shell variable names. + case $ac_envvar in #( + '' | [0-9]* | *[!_$as_cr_alnum]* ) + as_fn_error "invalid variable name: \`$ac_envvar'" ;; + esac + eval $ac_envvar=\$ac_optarg + export $ac_envvar ;; + + *) + # FIXME: should be removed in autoconf 3.0. + $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 + expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && + $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 + : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} + ;; + + esac +done + +if test -n "$ac_prev"; then + ac_option=--`echo $ac_prev | sed 's/_/-/g'` + as_fn_error "missing argument to $ac_option" +fi + +if test -n "$ac_unrecognized_opts"; then + case $enable_option_checking in + no) ;; + fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;; + *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; + esac +fi + +# Check all directory arguments for consistency. +for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ + datadir sysconfdir sharedstatedir localstatedir includedir \ + oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ + libdir localedir mandir +do + eval ac_val=\$$ac_var + # Remove trailing slashes. + case $ac_val in + */ ) + ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` + eval $ac_var=\$ac_val;; + esac + # Be sure to have absolute directory names. + case $ac_val in + [\\/$]* | ?:[\\/]* ) continue;; + NONE | '' ) case $ac_var in *prefix ) continue;; esac;; + esac + as_fn_error "expected an absolute directory name for --$ac_var: $ac_val" +done + +# There might be people who depend on the old broken behavior: `$host' +# used to hold the argument of --host etc. +# FIXME: To remove some day. +build=$build_alias +host=$host_alias +target=$target_alias + +# FIXME: To remove some day. +if test "x$host_alias" != x; then + if test "x$build_alias" = x; then + cross_compiling=maybe + $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. + If a cross compiler is detected then cross compile mode will be used." >&2 + elif test "x$build_alias" != "x$host_alias"; then + cross_compiling=yes + fi +fi + +ac_tool_prefix= +test -n "$host_alias" && ac_tool_prefix=$host_alias- + +test "$silent" = yes && exec 6>/dev/null + + +ac_pwd=`pwd` && test -n "$ac_pwd" && +ac_ls_di=`ls -di .` && +ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || + as_fn_error "working directory cannot be determined" +test "X$ac_ls_di" = "X$ac_pwd_ls_di" || + as_fn_error "pwd does not report name of working directory" + + +# Find the source files, if location was not specified. +if test -z "$srcdir"; then + ac_srcdir_defaulted=yes + # Try the directory containing this script, then the parent directory. + ac_confdir=`$as_dirname -- "$as_myself" || +$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$as_myself" : 'X\(//\)[^/]' \| \ + X"$as_myself" : 'X\(//\)$' \| \ + X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X"$as_myself" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + srcdir=$ac_confdir + if test ! -r "$srcdir/$ac_unique_file"; then + srcdir=.. + fi +else + ac_srcdir_defaulted=no +fi +if test ! -r "$srcdir/$ac_unique_file"; then + test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." + as_fn_error "cannot find sources ($ac_unique_file) in $srcdir" +fi +ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" +ac_abs_confdir=`( + cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg" + pwd)` +# When building in place, set srcdir=. +if test "$ac_abs_confdir" = "$ac_pwd"; then + srcdir=. +fi +# Remove unnecessary trailing slashes from srcdir. +# Double slashes in file names in object file debugging info +# mess up M-x gdb in Emacs. +case $srcdir in +*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; +esac +for ac_var in $ac_precious_vars; do + eval ac_env_${ac_var}_set=\${${ac_var}+set} + eval ac_env_${ac_var}_value=\$${ac_var} + eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} + eval ac_cv_env_${ac_var}_value=\$${ac_var} +done + +# +# Report the --help message. +# +if test "$ac_init_help" = "long"; then + # Omit some internal or obsolete options to make the list less imposing. + # This message is too long to be a string in the A/UX 3.1 sh. + cat <<_ACEOF +\`configure' configures libusb 0.1.12 to adapt to many kinds of systems. + +Usage: $0 [OPTION]... [VAR=VALUE]... + +To assign environment variables (e.g., CC, CFLAGS...), specify them as +VAR=VALUE. See below for descriptions of some of the useful variables. + +Defaults for the options are specified in brackets. + +Configuration: + -h, --help display this help and exit + --help=short display options specific to this package + --help=recursive display the short help of all the included packages + -V, --version display version information and exit + -q, --quiet, --silent do not print \`checking...' messages + --cache-file=FILE cache test results in FILE [disabled] + -C, --config-cache alias for \`--cache-file=config.cache' + -n, --no-create do not create output files + --srcdir=DIR find the sources in DIR [configure dir or \`..'] + +Installation directories: + --prefix=PREFIX install architecture-independent files in PREFIX + [$ac_default_prefix] + --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX + [PREFIX] + +By default, \`make install' will install all the files in +\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify +an installation prefix other than \`$ac_default_prefix' using \`--prefix', +for instance \`--prefix=\$HOME'. + +For better control, use the options below. + +Fine tuning of the installation directories: + --bindir=DIR user executables [EPREFIX/bin] + --sbindir=DIR system admin executables [EPREFIX/sbin] + --libexecdir=DIR program executables [EPREFIX/libexec] + --sysconfdir=DIR read-only single-machine data [PREFIX/etc] + --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] + --localstatedir=DIR modifiable single-machine data [PREFIX/var] + --libdir=DIR object code libraries [EPREFIX/lib] + --includedir=DIR C header files [PREFIX/include] + --oldincludedir=DIR C header files for non-gcc [/usr/include] + --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] + --datadir=DIR read-only architecture-independent data [DATAROOTDIR] + --infodir=DIR info documentation [DATAROOTDIR/info] + --localedir=DIR locale-dependent data [DATAROOTDIR/locale] + --mandir=DIR man documentation [DATAROOTDIR/man] + --docdir=DIR documentation root [DATAROOTDIR/doc/libusb] + --htmldir=DIR html documentation [DOCDIR] + --dvidir=DIR dvi documentation [DOCDIR] + --pdfdir=DIR pdf documentation [DOCDIR] + --psdir=DIR ps documentation [DOCDIR] +_ACEOF + + cat <<\_ACEOF + +Program names: + --program-prefix=PREFIX prepend PREFIX to installed program names + --program-suffix=SUFFIX append SUFFIX to installed program names + --program-transform-name=PROGRAM run sed PROGRAM on installed program names + +System types: + --build=BUILD configure for building on BUILD [guessed] + --host=HOST cross-compile to build programs to run on HOST [BUILD] +_ACEOF +fi + +if test -n "$ac_init_help"; then + case $ac_init_help in + short | recursive ) echo "Configuration of libusb 0.1.12:";; + esac + cat <<\_ACEOF + +Optional Features: + --disable-option-checking ignore unrecognized --enable/--with options + --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) + --enable-FEATURE[=ARG] include FEATURE [ARG=yes] + --enable-shared[=PKGS] build shared libraries [default=yes] + --enable-static[=PKGS] build static libraries [default=yes] + --enable-fast-install[=PKGS] + optimize for fast installation [default=yes] + --disable-dependency-tracking speeds up one-time build + --enable-dependency-tracking do not reject slow dependency extractors + --disable-libtool-lock avoid locking (might break parallel builds) + --enable-debug=no/minimum/yes turn on debugging default=$debug_default + --disable-build-docs turn off building documentation + +Optional Packages: + --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] + --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) + --with-gnu-ld assume the C compiler uses GNU ld [default=no] + --with-pic try to use only PIC/non-PIC objects [default=use + both] + --with-tags[=TAGS] include additional configurations [automatic] + --without-pkgconfig don"t use pkg-config + +Some influential environment variables: + CC C compiler command + CFLAGS C compiler flags + LDFLAGS linker flags, e.g. -L if you have libraries in a + nonstandard directory + LIBS libraries to pass to the linker, e.g. -l + CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I if + you have headers in a nonstandard directory + CPP C preprocessor + CXX C++ compiler command + CXXFLAGS C++ compiler flags + CXXCPP C++ preprocessor + F77 Fortran 77 compiler command + FFLAGS Fortran 77 compiler flags + +Use these variables to override the choices made by `configure' or to help +it to find libraries and programs with nonstandard names/locations. + +Report bugs to the package provider. +_ACEOF +ac_status=$? +fi + +if test "$ac_init_help" = "recursive"; then + # If there are subdirs, report their specific --help. + for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue + test -d "$ac_dir" || + { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || + continue + ac_builddir=. + +case "$ac_dir" in +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; +*) + ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` + # A ".." for each directory in $ac_dir_suffix. + ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` + case $ac_top_builddir_sub in + "") ac_top_builddir_sub=. ac_top_build_prefix= ;; + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; + esac ;; +esac +ac_abs_top_builddir=$ac_pwd +ac_abs_builddir=$ac_pwd$ac_dir_suffix +# for backward compatibility: +ac_top_builddir=$ac_top_build_prefix + +case $srcdir in + .) # We are building in place. + ac_srcdir=. + ac_top_srcdir=$ac_top_builddir_sub + ac_abs_top_srcdir=$ac_pwd ;; + [\\/]* | ?:[\\/]* ) # Absolute name. + ac_srcdir=$srcdir$ac_dir_suffix; + ac_top_srcdir=$srcdir + ac_abs_top_srcdir=$srcdir ;; + *) # Relative name. + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix + ac_top_srcdir=$ac_top_build_prefix$srcdir + ac_abs_top_srcdir=$ac_pwd/$srcdir ;; +esac +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix + + cd "$ac_dir" || { ac_status=$?; continue; } + # Check for guested configure. + if test -f "$ac_srcdir/configure.gnu"; then + echo && + $SHELL "$ac_srcdir/configure.gnu" --help=recursive + elif test -f "$ac_srcdir/configure"; then + echo && + $SHELL "$ac_srcdir/configure" --help=recursive + else + $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 + fi || ac_status=$? + cd "$ac_pwd" || { ac_status=$?; break; } + done +fi + +test -n "$ac_init_help" && exit $ac_status +if $ac_init_version; then + cat <<\_ACEOF +libusb configure 0.1.12 +generated by GNU Autoconf 2.65 + +Copyright (C) 2009 Free Software Foundation, Inc. +This configure script is free software; the Free Software Foundation +gives unlimited permission to copy, distribute and modify it. +_ACEOF + exit +fi + +## ------------------------ ## +## Autoconf initialization. ## +## ------------------------ ## + +# ac_fn_c_try_compile LINENO +# -------------------------- +# Try to compile conftest.$ac_ext, and return whether this succeeded. +ac_fn_c_try_compile () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + rm -f conftest.$ac_objext + if { { ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_compile") 2>conftest.err + ac_status=$? + if test -s conftest.err; then + grep -v '^ *+' conftest.err >conftest.er1 + cat conftest.er1 >&5 + mv -f conftest.er1 conftest.err + fi + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then : + ac_retval=0 +else + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_retval=1 +fi + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} + as_fn_set_status $ac_retval + +} # ac_fn_c_try_compile + +# ac_fn_c_try_link LINENO +# ----------------------- +# Try to link conftest.$ac_ext, and return whether this succeeded. +ac_fn_c_try_link () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + rm -f conftest.$ac_objext conftest$ac_exeext + if { { ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_link") 2>conftest.err + ac_status=$? + if test -s conftest.err; then + grep -v '^ *+' conftest.err >conftest.er1 + cat conftest.er1 >&5 + mv -f conftest.er1 conftest.err + fi + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest$ac_exeext && { + test "$cross_compiling" = yes || + $as_test_x conftest$ac_exeext + }; then : + ac_retval=0 +else + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_retval=1 +fi + # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information + # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would + # interfere with the next link command; also delete a directory that is + # left behind by Apple's compiler. We do this before executing the actions. + rm -rf conftest.dSYM conftest_ipa8_conftest.oo + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} + as_fn_set_status $ac_retval + +} # ac_fn_c_try_link + +# ac_fn_c_try_cpp LINENO +# ---------------------- +# Try to preprocess conftest.$ac_ext, and return whether this succeeded. +ac_fn_c_try_cpp () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + if { { ac_try="$ac_cpp conftest.$ac_ext" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err + ac_status=$? + if test -s conftest.err; then + grep -v '^ *+' conftest.err >conftest.er1 + cat conftest.er1 >&5 + mv -f conftest.er1 conftest.err + fi + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } >/dev/null && { + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || + test ! -s conftest.err + }; then : + ac_retval=0 +else + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_retval=1 +fi + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} + as_fn_set_status $ac_retval + +} # ac_fn_c_try_cpp + +# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES +# ------------------------------------------------------- +# Tests whether HEADER exists, giving a warning if it cannot be compiled using +# the include files in INCLUDES and setting the cache variable VAR +# accordingly. +ac_fn_c_check_header_mongrel () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 +$as_echo_n "checking for $2... " >&6; } +if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : + $as_echo_n "(cached) " >&6 +fi +eval ac_res=\$$3 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } +else + # Is the header compilable? +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 +$as_echo_n "checking $2 usability... " >&6; } +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$4 +#include <$2> +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_header_compiler=yes +else + ac_header_compiler=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 +$as_echo "$ac_header_compiler" >&6; } + +# Is the header present? +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 +$as_echo_n "checking $2 presence... " >&6; } +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include <$2> +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + ac_header_preproc=yes +else + ac_header_preproc=no +fi +rm -f conftest.err conftest.$ac_ext +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 +$as_echo "$ac_header_preproc" >&6; } + +# So? What about this header? +case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( + yes:no: ) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 +$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 +$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} + ;; + no:yes:* ) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 +$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 +$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 +$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 +$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 +$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} + ;; +esac + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 +$as_echo_n "checking for $2... " >&6; } +if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : + $as_echo_n "(cached) " >&6 +else + eval "$3=\$ac_header_compiler" +fi +eval ac_res=\$$3 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } +fi + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} + +} # ac_fn_c_check_header_mongrel + +# ac_fn_c_try_run LINENO +# ---------------------- +# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes +# that executables *can* be run. +ac_fn_c_try_run () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + if { { ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_link") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' + { { case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_try") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; }; then : + ac_retval=0 +else + $as_echo "$as_me: program exited with status $ac_status" >&5 + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_retval=$ac_status +fi + rm -rf conftest.dSYM conftest_ipa8_conftest.oo + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} + as_fn_set_status $ac_retval + +} # ac_fn_c_try_run + +# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES +# ------------------------------------------------------- +# Tests whether HEADER exists and can be compiled using the include files in +# INCLUDES, setting the cache variable VAR accordingly. +ac_fn_c_check_header_compile () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 +$as_echo_n "checking for $2... " >&6; } +if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$4 +#include <$2> +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + eval "$3=yes" +else + eval "$3=no" +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +eval ac_res=\$$3 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} + +} # ac_fn_c_check_header_compile + +# ac_fn_c_check_func LINENO FUNC VAR +# ---------------------------------- +# Tests whether FUNC exists, setting the cache variable VAR accordingly +ac_fn_c_check_func () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 +$as_echo_n "checking for $2... " >&6; } +if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +/* Define $2 to an innocuous variant, in case declares $2. + For example, HP-UX 11i declares gettimeofday. */ +#define $2 innocuous_$2 + +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $2 (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ + +#ifdef __STDC__ +# include +#else +# include +#endif + +#undef $2 + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char $2 (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined __stub_$2 || defined __stub___$2 +choke me +#endif + +int +main () +{ +return $2 (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + eval "$3=yes" +else + eval "$3=no" +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +fi +eval ac_res=\$$3 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} + +} # ac_fn_c_check_func + +# ac_fn_cxx_try_compile LINENO +# ---------------------------- +# Try to compile conftest.$ac_ext, and return whether this succeeded. +ac_fn_cxx_try_compile () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + rm -f conftest.$ac_objext + if { { ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_compile") 2>conftest.err + ac_status=$? + if test -s conftest.err; then + grep -v '^ *+' conftest.err >conftest.er1 + cat conftest.er1 >&5 + mv -f conftest.er1 conftest.err + fi + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } && { + test -z "$ac_cxx_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then : + ac_retval=0 +else + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_retval=1 +fi + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} + as_fn_set_status $ac_retval + +} # ac_fn_cxx_try_compile + +# ac_fn_cxx_try_cpp LINENO +# ------------------------ +# Try to preprocess conftest.$ac_ext, and return whether this succeeded. +ac_fn_cxx_try_cpp () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + if { { ac_try="$ac_cpp conftest.$ac_ext" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err + ac_status=$? + if test -s conftest.err; then + grep -v '^ *+' conftest.err >conftest.er1 + cat conftest.er1 >&5 + mv -f conftest.er1 conftest.err + fi + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } >/dev/null && { + test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || + test ! -s conftest.err + }; then : + ac_retval=0 +else + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_retval=1 +fi + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} + as_fn_set_status $ac_retval + +} # ac_fn_cxx_try_cpp + +# ac_fn_cxx_try_link LINENO +# ------------------------- +# Try to link conftest.$ac_ext, and return whether this succeeded. +ac_fn_cxx_try_link () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + rm -f conftest.$ac_objext conftest$ac_exeext + if { { ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_link") 2>conftest.err + ac_status=$? + if test -s conftest.err; then + grep -v '^ *+' conftest.err >conftest.er1 + cat conftest.er1 >&5 + mv -f conftest.er1 conftest.err + fi + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } && { + test -z "$ac_cxx_werror_flag" || + test ! -s conftest.err + } && test -s conftest$ac_exeext && { + test "$cross_compiling" = yes || + $as_test_x conftest$ac_exeext + }; then : + ac_retval=0 +else + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_retval=1 +fi + # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information + # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would + # interfere with the next link command; also delete a directory that is + # left behind by Apple's compiler. We do this before executing the actions. + rm -rf conftest.dSYM conftest_ipa8_conftest.oo + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} + as_fn_set_status $ac_retval + +} # ac_fn_cxx_try_link + +# ac_fn_cxx_check_func LINENO FUNC VAR +# ------------------------------------ +# Tests whether FUNC exists, setting the cache variable VAR accordingly +ac_fn_cxx_check_func () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 +$as_echo_n "checking for $2... " >&6; } +if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +/* Define $2 to an innocuous variant, in case declares $2. + For example, HP-UX 11i declares gettimeofday. */ +#define $2 innocuous_$2 + +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $2 (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ + +#ifdef __STDC__ +# include +#else +# include +#endif + +#undef $2 + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char $2 (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined __stub_$2 || defined __stub___$2 +choke me +#endif + +int +main () +{ +return $2 (); + ; + return 0; +} +_ACEOF +if ac_fn_cxx_try_link "$LINENO"; then : + eval "$3=yes" +else + eval "$3=no" +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +fi +eval ac_res=\$$3 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} + +} # ac_fn_cxx_check_func + +# ac_fn_f77_try_compile LINENO +# ---------------------------- +# Try to compile conftest.$ac_ext, and return whether this succeeded. +ac_fn_f77_try_compile () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + rm -f conftest.$ac_objext + if { { ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_compile") 2>conftest.err + ac_status=$? + if test -s conftest.err; then + grep -v '^ *+' conftest.err >conftest.er1 + cat conftest.er1 >&5 + mv -f conftest.er1 conftest.err + fi + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } && { + test -z "$ac_f77_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then : + ac_retval=0 +else + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_retval=1 +fi + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} + as_fn_set_status $ac_retval + +} # ac_fn_f77_try_compile + +# ac_fn_f77_try_link LINENO +# ------------------------- +# Try to link conftest.$ac_ext, and return whether this succeeded. +ac_fn_f77_try_link () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + rm -f conftest.$ac_objext conftest$ac_exeext + if { { ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_link") 2>conftest.err + ac_status=$? + if test -s conftest.err; then + grep -v '^ *+' conftest.err >conftest.er1 + cat conftest.er1 >&5 + mv -f conftest.er1 conftest.err + fi + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } && { + test -z "$ac_f77_werror_flag" || + test ! -s conftest.err + } && test -s conftest$ac_exeext && { + test "$cross_compiling" = yes || + $as_test_x conftest$ac_exeext + }; then : + ac_retval=0 +else + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_retval=1 +fi + # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information + # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would + # interfere with the next link command; also delete a directory that is + # left behind by Apple's compiler. We do this before executing the actions. + rm -rf conftest.dSYM conftest_ipa8_conftest.oo + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} + as_fn_set_status $ac_retval + +} # ac_fn_f77_try_link + +# ac_fn_cxx_try_run LINENO +# ------------------------ +# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes +# that executables *can* be run. +ac_fn_cxx_try_run () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + if { { ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_link") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' + { { case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_try") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; }; then : + ac_retval=0 +else + $as_echo "$as_me: program exited with status $ac_status" >&5 + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_retval=$ac_status +fi + rm -rf conftest.dSYM conftest_ipa8_conftest.oo + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} + as_fn_set_status $ac_retval + +} # ac_fn_cxx_try_run + +# ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES +# --------------------------------------------------------- +# Tests whether HEADER exists, giving a warning if it cannot be compiled using +# the include files in INCLUDES and setting the cache variable VAR +# accordingly. +ac_fn_cxx_check_header_mongrel () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 +$as_echo_n "checking for $2... " >&6; } +if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : + $as_echo_n "(cached) " >&6 +fi +eval ac_res=\$$3 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } +else + # Is the header compilable? +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 +$as_echo_n "checking $2 usability... " >&6; } +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$4 +#include <$2> +_ACEOF +if ac_fn_cxx_try_compile "$LINENO"; then : + ac_header_compiler=yes +else + ac_header_compiler=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 +$as_echo "$ac_header_compiler" >&6; } + +# Is the header present? +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 +$as_echo_n "checking $2 presence... " >&6; } +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include <$2> +_ACEOF +if ac_fn_cxx_try_cpp "$LINENO"; then : + ac_header_preproc=yes +else + ac_header_preproc=no +fi +rm -f conftest.err conftest.$ac_ext +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 +$as_echo "$ac_header_preproc" >&6; } + +# So? What about this header? +case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #(( + yes:no: ) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 +$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 +$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} + ;; + no:yes:* ) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 +$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 +$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 +$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 +$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 +$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} + ;; +esac + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 +$as_echo_n "checking for $2... " >&6; } +if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : + $as_echo_n "(cached) " >&6 +else + eval "$3=\$ac_header_compiler" +fi +eval ac_res=\$$3 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } +fi + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} + +} # ac_fn_cxx_check_header_mongrel +cat >config.log <<_ACEOF +This file contains any messages produced by compilers while +running configure, to aid debugging if configure makes a mistake. + +It was created by libusb $as_me 0.1.12, which was +generated by GNU Autoconf 2.65. Invocation command line was + + $ $0 $@ + +_ACEOF +exec 5>>config.log +{ +cat <<_ASUNAME +## --------- ## +## Platform. ## +## --------- ## + +hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` +uname -m = `(uname -m) 2>/dev/null || echo unknown` +uname -r = `(uname -r) 2>/dev/null || echo unknown` +uname -s = `(uname -s) 2>/dev/null || echo unknown` +uname -v = `(uname -v) 2>/dev/null || echo unknown` + +/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` +/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` + +/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` +/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` +/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` +/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` +/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` +/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` +/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` + +_ASUNAME + +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + $as_echo "PATH: $as_dir" + done +IFS=$as_save_IFS + +} >&5 + +cat >&5 <<_ACEOF + + +## ----------- ## +## Core tests. ## +## ----------- ## + +_ACEOF + + +# Keep a trace of the command line. +# Strip out --no-create and --no-recursion so they do not pile up. +# Strip out --silent because we don't want to record it for future runs. +# Also quote any args containing shell meta-characters. +# Make two passes to allow for proper duplicate-argument suppression. +ac_configure_args= +ac_configure_args0= +ac_configure_args1= +ac_must_keep_next=false +for ac_pass in 1 2 +do + for ac_arg + do + case $ac_arg in + -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; + -q | -quiet | --quiet | --quie | --qui | --qu | --q \ + | -silent | --silent | --silen | --sile | --sil) + continue ;; + *\'*) + ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; + esac + case $ac_pass in + 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; + 2) + as_fn_append ac_configure_args1 " '$ac_arg'" + if test $ac_must_keep_next = true; then + ac_must_keep_next=false # Got value, back to normal. + else + case $ac_arg in + *=* | --config-cache | -C | -disable-* | --disable-* \ + | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ + | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ + | -with-* | --with-* | -without-* | --without-* | --x) + case "$ac_configure_args0 " in + "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; + esac + ;; + -* ) ac_must_keep_next=true ;; + esac + fi + as_fn_append ac_configure_args " '$ac_arg'" + ;; + esac + done +done +{ ac_configure_args0=; unset ac_configure_args0;} +{ ac_configure_args1=; unset ac_configure_args1;} + +# When interrupted or exit'd, cleanup temporary files, and complete +# config.log. We remove comments because anyway the quotes in there +# would cause problems or look ugly. +# WARNING: Use '\'' to represent an apostrophe within the trap. +# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. +trap 'exit_status=$? + # Save into config.log some information that might help in debugging. + { + echo + + cat <<\_ASBOX +## ---------------- ## +## Cache variables. ## +## ---------------- ## +_ASBOX + echo + # The following way of writing the cache mishandles newlines in values, +( + for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do + eval ac_val=\$$ac_var + case $ac_val in #( + *${as_nl}*) + case $ac_var in #( + *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 +$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; + esac + case $ac_var in #( + _ | IFS | as_nl) ;; #( + BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( + *) { eval $ac_var=; unset $ac_var;} ;; + esac ;; + esac + done + (set) 2>&1 | + case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( + *${as_nl}ac_space=\ *) + sed -n \ + "s/'\''/'\''\\\\'\'''\''/g; + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" + ;; #( + *) + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" + ;; + esac | + sort +) + echo + + cat <<\_ASBOX +## ----------------- ## +## Output variables. ## +## ----------------- ## +_ASBOX + echo + for ac_var in $ac_subst_vars + do + eval ac_val=\$$ac_var + case $ac_val in + *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; + esac + $as_echo "$ac_var='\''$ac_val'\''" + done | sort + echo + + if test -n "$ac_subst_files"; then + cat <<\_ASBOX +## ------------------- ## +## File substitutions. ## +## ------------------- ## +_ASBOX + echo + for ac_var in $ac_subst_files + do + eval ac_val=\$$ac_var + case $ac_val in + *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; + esac + $as_echo "$ac_var='\''$ac_val'\''" + done | sort + echo + fi + + if test -s confdefs.h; then + cat <<\_ASBOX +## ----------- ## +## confdefs.h. ## +## ----------- ## +_ASBOX + echo + cat confdefs.h + echo + fi + test "$ac_signal" != 0 && + $as_echo "$as_me: caught signal $ac_signal" + $as_echo "$as_me: exit $exit_status" + } >&5 + rm -f core *.core core.conftest.* && + rm -f -r conftest* confdefs* conf$$* $ac_clean_files && + exit $exit_status +' 0 +for ac_signal in 1 2 13 15; do + trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal +done +ac_signal=0 + +# confdefs.h avoids OS command line length limits that DEFS can exceed. +rm -f -r conftest* confdefs.h + +$as_echo "/* confdefs.h */" > confdefs.h + +# Predefined preprocessor variables. + +cat >>confdefs.h <<_ACEOF +#define PACKAGE_NAME "$PACKAGE_NAME" +_ACEOF + +cat >>confdefs.h <<_ACEOF +#define PACKAGE_TARNAME "$PACKAGE_TARNAME" +_ACEOF + +cat >>confdefs.h <<_ACEOF +#define PACKAGE_VERSION "$PACKAGE_VERSION" +_ACEOF + +cat >>confdefs.h <<_ACEOF +#define PACKAGE_STRING "$PACKAGE_STRING" +_ACEOF + +cat >>confdefs.h <<_ACEOF +#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" +_ACEOF + +cat >>confdefs.h <<_ACEOF +#define PACKAGE_URL "$PACKAGE_URL" +_ACEOF + + +# Let the site file select an alternate cache file if it wants to. +# Prefer an explicitly selected file to automatically selected ones. +ac_site_file1=NONE +ac_site_file2=NONE +if test -n "$CONFIG_SITE"; then + ac_site_file1=$CONFIG_SITE +elif test "x$prefix" != xNONE; then + ac_site_file1=$prefix/share/config.site + ac_site_file2=$prefix/etc/config.site +else + ac_site_file1=$ac_default_prefix/share/config.site + ac_site_file2=$ac_default_prefix/etc/config.site +fi +for ac_site_file in "$ac_site_file1" "$ac_site_file2" +do + test "x$ac_site_file" = xNONE && continue + if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 +$as_echo "$as_me: loading site script $ac_site_file" >&6;} + sed 's/^/| /' "$ac_site_file" >&5 + . "$ac_site_file" + fi +done + +if test -r "$cache_file"; then + # Some versions of bash will fail to source /dev/null (special files + # actually), so we avoid doing that. DJGPP emulates it as a regular file. + if test /dev/null != "$cache_file" && test -f "$cache_file"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 +$as_echo "$as_me: loading cache $cache_file" >&6;} + case $cache_file in + [\\/]* | ?:[\\/]* ) . "$cache_file";; + *) . "./$cache_file";; + esac + fi +else + { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 +$as_echo "$as_me: creating cache $cache_file" >&6;} + >$cache_file +fi + +# Check that the precious variables saved in the cache have kept the same +# value. +ac_cache_corrupted=false +for ac_var in $ac_precious_vars; do + eval ac_old_set=\$ac_cv_env_${ac_var}_set + eval ac_new_set=\$ac_env_${ac_var}_set + eval ac_old_val=\$ac_cv_env_${ac_var}_value + eval ac_new_val=\$ac_env_${ac_var}_value + case $ac_old_set,$ac_new_set in + set,) + { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 +$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} + ac_cache_corrupted=: ;; + ,set) + { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 +$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} + ac_cache_corrupted=: ;; + ,);; + *) + if test "x$ac_old_val" != "x$ac_new_val"; then + # differences in whitespace do not lead to failure. + ac_old_val_w=`echo x $ac_old_val` + ac_new_val_w=`echo x $ac_new_val` + if test "$ac_old_val_w" != "$ac_new_val_w"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 +$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} + ac_cache_corrupted=: + else + { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 +$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} + eval $ac_var=\$ac_old_val + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 +$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 +$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} + fi;; + esac + # Pass precious variables to config.status. + if test "$ac_new_set" = set; then + case $ac_new_val in + *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; + *) ac_arg=$ac_var=$ac_new_val ;; + esac + case " $ac_configure_args " in + *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. + *) as_fn_append ac_configure_args " '$ac_arg'" ;; + esac + fi +done +if $ac_cache_corrupted; then + { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 +$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} + as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 +fi +## -------------------- ## +## Main body of script. ## +## -------------------- ## + +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + + + + + + +# Save this value here, since automake will set cflags later +cflags_set=${CFLAGS+set} + +am__api_version="1.8" +ac_aux_dir= +for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do + for ac_t in install-sh install.sh shtool; do + if test -f "$ac_dir/$ac_t"; then + ac_aux_dir=$ac_dir + ac_install_sh="$ac_aux_dir/$ac_t -c" + break 2 + fi + done +done +if test -z "$ac_aux_dir"; then + as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 +fi + +# These three variables are undocumented and unsupported, +# and are intended to be withdrawn in a future Autoconf release. +# They can cause serious problems if a builder's source tree is in a directory +# whose full name contains unusual characters. +ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. +ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. +ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. + + +# Find a good install program. We prefer a C program (faster), +# so one script is as good as another. But avoid the broken or +# incompatible versions: +# SysV /etc/install, /usr/sbin/install +# SunOS /usr/etc/install +# IRIX /sbin/install +# AIX /bin/install +# AmigaOS /C/install, which installs bootblocks on floppy discs +# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag +# AFS /usr/afsws/bin/install, which mishandles nonexistent args +# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" +# OS/2's system install, which has a completely different semantic +# ./install, which can be erroneously created by make from ./install.sh. +# Reject install programs that cannot install multiple files. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 +$as_echo_n "checking for a BSD-compatible install... " >&6; } +if test -z "$INSTALL"; then +if test "${ac_cv_path_install+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + # Account for people who put trailing slashes in PATH elements. +case $as_dir/ in #(( + ./ | .// | /[cC]/* | \ + /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ + ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ + /usr/ucb/* ) ;; + *) + # OSF1 and SCO ODT 3.0 have their own names for install. + # Don't use installbsd from OSF since it installs stuff as root + # by default. + for ac_prog in ginstall scoinst install; do + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then + if test $ac_prog = install && + grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then + # AIX install. It has an incompatible calling convention. + : + elif test $ac_prog = install && + grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then + # program-specific install script used by HP pwplus--don't use. + : + else + rm -rf conftest.one conftest.two conftest.dir + echo one > conftest.one + echo two > conftest.two + mkdir conftest.dir + if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && + test -s conftest.one && test -s conftest.two && + test -s conftest.dir/conftest.one && + test -s conftest.dir/conftest.two + then + ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" + break 3 + fi + fi + fi + done + done + ;; +esac + + done +IFS=$as_save_IFS + +rm -rf conftest.one conftest.two conftest.dir + +fi + if test "${ac_cv_path_install+set}" = set; then + INSTALL=$ac_cv_path_install + else + # As a last resort, use the slow shell script. Don't cache a + # value for INSTALL within a source directory, because that will + # break other packages using the cache if that directory is + # removed, or if the value is a relative name. + INSTALL=$ac_install_sh + fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 +$as_echo "$INSTALL" >&6; } + +# Use test -z because SunOS4 sh mishandles braces in ${var-val}. +# It thinks the first close brace ends the variable substitution. +test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' + +test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' + +test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 +$as_echo_n "checking whether build environment is sane... " >&6; } +# Just in case +sleep 1 +echo timestamp > conftest.file +# Do `set' in a subshell so we don't clobber the current shell's +# arguments. Must try -L first in case configure is actually a +# symlink; some systems play weird games with the mod time of symlinks +# (eg FreeBSD returns the mod time of the symlink's containing +# directory). +if ( + set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` + if test "$*" = "X"; then + # -L didn't work. + set X `ls -t $srcdir/configure conftest.file` + fi + rm -f conftest.file + if test "$*" != "X $srcdir/configure conftest.file" \ + && test "$*" != "X conftest.file $srcdir/configure"; then + + # If neither matched, then we have a broken ls. This can happen + # if, for instance, CONFIG_SHELL is bash and it inherits a + # broken ls alias from the environment. This has actually + # happened. Such a system could not be considered "sane". + as_fn_error "ls -t appears to fail. Make sure there is not a broken +alias in your environment" "$LINENO" 5 + fi + + test "$2" = conftest.file + ) +then + # Ok. + : +else + as_fn_error "newly created file is older than distributed files! +Check your system clock" "$LINENO" 5 +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } +test "$program_prefix" != NONE && + program_transform_name="s&^&$program_prefix&;$program_transform_name" +# Use a double $ so make ignores it. +test "$program_suffix" != NONE && + program_transform_name="s&\$&$program_suffix&;$program_transform_name" +# Double any \ or $. +# By default was `s,x,x', remove it if useless. +ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' +program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` + +# expand $ac_aux_dir to an absolute path +am_aux_dir=`cd $ac_aux_dir && pwd` + +test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" +# Use eval to expand $SHELL +if eval "$MISSING --run true"; then + am_missing_run="$MISSING --run " +else + am_missing_run= + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5 +$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} +fi + +if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then + # Keeping the `.' argument allows $(mkdir_p) to be used without + # argument. Indeed, we sometimes output rules like + # $(mkdir_p) $(somedir) + # where $(somedir) is conditionally defined. + # (`test -n '$(somedir)' && $(mkdir_p) $(somedir)' is a more + # expensive solution, as it forces Make to start a sub-shell.) + mkdir_p='mkdir -p -- .' +else + # On NextStep and OpenStep, the `mkdir' command does not + # recognize any option. It will interpret all options as + # directories to create, and then abort because `.' already + # exists. + for d in ./-p ./--version; + do + test -d $d && rmdir $d + done + # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists. + if test -f "$ac_aux_dir/mkinstalldirs"; then + mkdir_p='$(mkinstalldirs)' + else + mkdir_p='$(install_sh) -d' + fi +fi + +for ac_prog in gawk mawk nawk awk +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if test "${ac_cv_prog_AWK+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$AWK"; then + ac_cv_prog_AWK="$AWK" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_AWK="$ac_prog" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +AWK=$ac_cv_prog_AWK +if test -n "$AWK"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 +$as_echo "$AWK" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$AWK" && break +done + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 +$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } +set x ${MAKE-make} +ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` +if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then : + $as_echo_n "(cached) " >&6 +else + cat >conftest.make <<\_ACEOF +SHELL = /bin/sh +all: + @echo '@@@%%%=$(MAKE)=@@@%%%' +_ACEOF +# GNU make sometimes prints "make[1]: Entering...", which would confuse us. +case `${MAKE-make} -f conftest.make 2>/dev/null` in + *@@@%%%=?*=@@@%%%*) + eval ac_cv_prog_make_${ac_make}_set=yes;; + *) + eval ac_cv_prog_make_${ac_make}_set=no;; +esac +rm -f conftest.make +fi +if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + SET_MAKE= +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + SET_MAKE="MAKE=${MAKE-make}" +fi + +rm -rf .tst 2>/dev/null +mkdir .tst 2>/dev/null +if test -d .tst; then + am__leading_dot=. +else + am__leading_dot=_ +fi +rmdir .tst 2>/dev/null + +# test to see if srcdir already configured +if test "`cd $srcdir && pwd`" != "`pwd`" && + test -f $srcdir/config.status; then + as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 +fi + +# test whether we have cygpath +if test -z "$CYGPATH_W"; then + if (cygpath --version) >/dev/null 2>/dev/null; then + CYGPATH_W='cygpath -w' + else + CYGPATH_W=echo + fi +fi + + +# Define the identity of the package. + PACKAGE='libusb' + VERSION='0.1.12' + + +cat >>confdefs.h <<_ACEOF +#define PACKAGE "$PACKAGE" +_ACEOF + + +cat >>confdefs.h <<_ACEOF +#define VERSION "$VERSION" +_ACEOF + +# Some tools Automake needs. + +ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} + + +AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} + + +AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} + + +AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} + + +MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} + + +AMTAR=${AMTAR-"${am_missing_run}tar"} + +install_sh=${install_sh-"$am_aux_dir/install-sh"} + +# Installed binaries are usually stripped using `strip' when the user +# run `make install-strip'. However `strip' might not be the right +# tool to use in cross-compilation environments, therefore Automake +# will honor the `STRIP' environment variable to overrule this program. +if test "$cross_compiling" != no; then + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. +set dummy ${ac_tool_prefix}strip; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if test "${ac_cv_prog_STRIP+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$STRIP"; then + ac_cv_prog_STRIP="$STRIP" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_STRIP="${ac_tool_prefix}strip" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +STRIP=$ac_cv_prog_STRIP +if test -n "$STRIP"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 +$as_echo "$STRIP" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_STRIP"; then + ac_ct_STRIP=$STRIP + # Extract the first word of "strip", so it can be a program name with args. +set dummy strip; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_STRIP"; then + ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_ac_ct_STRIP="strip" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP +if test -n "$ac_ct_STRIP"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 +$as_echo "$ac_ct_STRIP" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_ct_STRIP" = x; then + STRIP=":" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + STRIP=$ac_ct_STRIP + fi +else + STRIP="$ac_cv_prog_STRIP" +fi + +fi +INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" + +# We need awk for the "check" target. The system "awk" is bad on +# some platforms. + + + + +LIBUSB_VERSION=$VERSION + +# +# The following version number definitions apply to libusb +# as a whole, so if changes occoured in any of them, they are all +# treated with the same interface and binary age. +# +# Making releases: +# LIBUSB_MICRO_VERSION += 1; +# LIBUSB_INTERFACE_AGE += 1; +# LIBUSB_BINARY_AGE += 1; +# if any functions have been added, set LIBUSB_INTERFACE_AGE to 0. +# if backwards compatibility has been broken, +# set LIBUSB_BINARY_AGE _and_ LIBUSB_INTERFACE_AGE to 0. +# +LIBUSB_MAJOR_VERSION=0 +LIBUSB_MINOR_VERSION=1 +LIBUSB_MICRO_VERSION=12 +LIBUSB_INTERFACE_AGE=4 +LIBUSB_BINARY_AGE=8 + + + + + + + + +cat >>confdefs.h <<_ACEOF +#define LIBUSB_MAJOR_VERSION $LIBUSB_MAJOR_VERSION +_ACEOF + +cat >>confdefs.h <<_ACEOF +#define LIBUSB_MINOR_VERSION $LIBUSB_MINOR_VERSION +_ACEOF + +cat >>confdefs.h <<_ACEOF +#define LIBUSB_MICRO_VERSION $LIBUSB_MICRO_VERSION +_ACEOF + +cat >>confdefs.h <<_ACEOF +#define LIBUSB_INTERFACE_AGE $LIBUSB_INTERFACE_AGE +_ACEOF + +cat >>confdefs.h <<_ACEOF +#define LIBUSB_BINARY_AGE $LIBUSB_BINARY_AGE +_ACEOF + + +# libtool versioning +# JR: Add support for MICRO_VERSION to be alpha-numeric. This will make +# lt_current use the numeric part of MICRO_VERSION + +LIBUSB_MICRO_VERSION_NUM=`echo $LIBUSB_MICRO_VERSION | sed 's/[a-zA-Z]//g'` +LT_RELEASE=$LIBUSB_MAJOR_VERSION.$LIBUSB_MINOR_VERSION +LT_CURRENT=`expr $LIBUSB_MICRO_VERSION_NUM - $LIBUSB_INTERFACE_AGE` +LT_REVISION=$LIBUSB_INTERFACE_AGE +LT_AGE=`expr $LIBUSB_BINARY_AGE - $LIBUSB_INTERFACE_AGE` + + + + + +ac_config_headers="$ac_config_headers config.h" + + +# Check whether --enable-shared was given. +if test "${enable_shared+set}" = set; then : + enableval=$enable_shared; p=${PACKAGE-default} + case $enableval in + yes) enable_shared=yes ;; + no) enable_shared=no ;; + *) + enable_shared=no + # Look at the argument we got. We use all the common list separators. + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," + for pkg in $enableval; do + IFS="$lt_save_ifs" + if test "X$pkg" = "X$p"; then + enable_shared=yes + fi + done + IFS="$lt_save_ifs" + ;; + esac +else + enable_shared=yes +fi + + +# Check whether --enable-static was given. +if test "${enable_static+set}" = set; then : + enableval=$enable_static; p=${PACKAGE-default} + case $enableval in + yes) enable_static=yes ;; + no) enable_static=no ;; + *) + enable_static=no + # Look at the argument we got. We use all the common list separators. + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," + for pkg in $enableval; do + IFS="$lt_save_ifs" + if test "X$pkg" = "X$p"; then + enable_static=yes + fi + done + IFS="$lt_save_ifs" + ;; + esac +else + enable_static=yes +fi + + +# Check whether --enable-fast-install was given. +if test "${enable_fast_install+set}" = set; then : + enableval=$enable_fast_install; p=${PACKAGE-default} + case $enableval in + yes) enable_fast_install=yes ;; + no) enable_fast_install=no ;; + *) + enable_fast_install=no + # Look at the argument we got. We use all the common list separators. + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," + for pkg in $enableval; do + IFS="$lt_save_ifs" + if test "X$pkg" = "X$p"; then + enable_fast_install=yes + fi + done + IFS="$lt_save_ifs" + ;; + esac +else + enable_fast_install=yes +fi + + +# Make sure we can run config.sub. +$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || + as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 +$as_echo_n "checking build system type... " >&6; } +if test "${ac_cv_build+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + ac_build_alias=$build_alias +test "x$ac_build_alias" = x && + ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` +test "x$ac_build_alias" = x && + as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5 +ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || + as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 +$as_echo "$ac_cv_build" >&6; } +case $ac_cv_build in +*-*-*) ;; +*) as_fn_error "invalid value of canonical build" "$LINENO" 5;; +esac +build=$ac_cv_build +ac_save_IFS=$IFS; IFS='-' +set x $ac_cv_build +shift +build_cpu=$1 +build_vendor=$2 +shift; shift +# Remember, the first character of IFS is used to create $*, +# except with old shells: +build_os=$* +IFS=$ac_save_IFS +case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 +$as_echo_n "checking host system type... " >&6; } +if test "${ac_cv_host+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if test "x$host_alias" = x; then + ac_cv_host=$ac_cv_build +else + ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || + as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 +fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 +$as_echo "$ac_cv_host" >&6; } +case $ac_cv_host in +*-*-*) ;; +*) as_fn_error "invalid value of canonical host" "$LINENO" 5;; +esac +host=$ac_cv_host +ac_save_IFS=$IFS; IFS='-' +set x $ac_cv_host +shift +host_cpu=$1 +host_vendor=$2 +shift; shift +# Remember, the first character of IFS is used to create $*, +# except with old shells: +host_os=$* +IFS=$ac_save_IFS +case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac + + +DEPDIR="${am__leading_dot}deps" + +ac_config_commands="$ac_config_commands depfiles" + + +am_make=${MAKE-make} +cat > confinc << 'END' +am__doit: + @echo done +.PHONY: am__doit +END +# If we don't find an include directive, just comment out the code. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 +$as_echo_n "checking for style of include used by $am_make... " >&6; } +am__include="#" +am__quote= +_am_result=none +# First try GNU make style include. +echo "include confinc" > confmf +# We grep out `Entering directory' and `Leaving directory' +# messages which can occur if `w' ends up in MAKEFLAGS. +# In particular we don't look at `^make:' because GNU make might +# be invoked under some other name (usually "gmake"), in which +# case it prints its new name instead of `make'. +if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then + am__include=include + am__quote= + _am_result=GNU +fi +# Now try BSD make style include. +if test "$am__include" = "#"; then + echo '.include "confinc"' > confmf + if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then + am__include=.include + am__quote="\"" + _am_result=BSD + fi +fi + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 +$as_echo "$_am_result" >&6; } +rm -f confinc confmf + +# Check whether --enable-dependency-tracking was given. +if test "${enable_dependency_tracking+set}" = set; then : + enableval=$enable_dependency_tracking; +fi + +if test "x$enable_dependency_tracking" != xno; then + am_depcomp="$ac_aux_dir/depcomp" + AMDEPBACKSLASH='\' +fi + + +if test "x$enable_dependency_tracking" != xno; then + AMDEP_TRUE= + AMDEP_FALSE='#' +else + AMDEP_TRUE='#' + AMDEP_FALSE= +fi + + + +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu +if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. +set dummy ${ac_tool_prefix}gcc; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if test "${ac_cv_prog_CC+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$CC"; then + ac_cv_prog_CC="$CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_CC="${ac_tool_prefix}gcc" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +CC=$ac_cv_prog_CC +if test -n "$CC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 +$as_echo "$CC" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_CC"; then + ac_ct_CC=$CC + # Extract the first word of "gcc", so it can be a program name with args. +set dummy gcc; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_CC"; then + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_ac_ct_CC="gcc" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_CC=$ac_cv_prog_ac_ct_CC +if test -n "$ac_ct_CC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 +$as_echo "$ac_ct_CC" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_ct_CC" = x; then + CC="" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + CC=$ac_ct_CC + fi +else + CC="$ac_cv_prog_CC" +fi + +if test -z "$CC"; then + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. +set dummy ${ac_tool_prefix}cc; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if test "${ac_cv_prog_CC+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$CC"; then + ac_cv_prog_CC="$CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_CC="${ac_tool_prefix}cc" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +CC=$ac_cv_prog_CC +if test -n "$CC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 +$as_echo "$CC" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + fi +fi +if test -z "$CC"; then + # Extract the first word of "cc", so it can be a program name with args. +set dummy cc; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if test "${ac_cv_prog_CC+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$CC"; then + ac_cv_prog_CC="$CC" # Let the user override the test. +else + ac_prog_rejected=no +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then + ac_prog_rejected=yes + continue + fi + ac_cv_prog_CC="cc" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +if test $ac_prog_rejected = yes; then + # We found a bogon in the path, so make sure we never use it. + set dummy $ac_cv_prog_CC + shift + if test $# != 0; then + # We chose a different compiler from the bogus one. + # However, it has the same basename, so the bogon will be chosen + # first if we set CC to just the basename; use the full file name. + shift + ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" + fi +fi +fi +fi +CC=$ac_cv_prog_CC +if test -n "$CC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 +$as_echo "$CC" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$CC"; then + if test -n "$ac_tool_prefix"; then + for ac_prog in cl.exe + do + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. +set dummy $ac_tool_prefix$ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if test "${ac_cv_prog_CC+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$CC"; then + ac_cv_prog_CC="$CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_CC="$ac_tool_prefix$ac_prog" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +CC=$ac_cv_prog_CC +if test -n "$CC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 +$as_echo "$CC" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$CC" && break + done +fi +if test -z "$CC"; then + ac_ct_CC=$CC + for ac_prog in cl.exe +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_CC"; then + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_ac_ct_CC="$ac_prog" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_CC=$ac_cv_prog_ac_ct_CC +if test -n "$ac_ct_CC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 +$as_echo "$ac_ct_CC" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$ac_ct_CC" && break +done + + if test "x$ac_ct_CC" = x; then + CC="" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + CC=$ac_ct_CC + fi +fi + +fi + + +test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error "no acceptable C compiler found in \$PATH +See \`config.log' for more details." "$LINENO" 5; } + +# Provide some information about the compiler. +$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 +set X $ac_compile +ac_compiler=$2 +for ac_option in --version -v -V -qversion; do + { { ac_try="$ac_compiler $ac_option >&5" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_compiler $ac_option >&5") 2>conftest.err + ac_status=$? + if test -s conftest.err; then + sed '10a\ +... rest of stderr output deleted ... + 10q' conftest.err >conftest.er1 + cat conftest.er1 >&5 + fi + rm -f conftest.er1 conftest.err + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } +done + +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +ac_clean_files_save=$ac_clean_files +ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" +# Try to create an executable without -o first, disregard a.out. +# It will help us diagnose broken compilers, and finding out an intuition +# of exeext. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 +$as_echo_n "checking whether the C compiler works... " >&6; } +ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` + +# The possible output files: +ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" + +ac_rmfiles= +for ac_file in $ac_files +do + case $ac_file in + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; + * ) ac_rmfiles="$ac_rmfiles $ac_file";; + esac +done +rm -f $ac_rmfiles + +if { { ac_try="$ac_link_default" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_link_default") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then : + # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. +# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' +# in a Makefile. We should not override ac_cv_exeext if it was cached, +# so that the user can short-circuit this test for compilers unknown to +# Autoconf. +for ac_file in $ac_files '' +do + test -f "$ac_file" || continue + case $ac_file in + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) + ;; + [ab].out ) + # We found the default executable, but exeext='' is most + # certainly right. + break;; + *.* ) + if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; + then :; else + ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` + fi + # We set ac_cv_exeext here because the later test for it is not + # safe: cross compilers may not add the suffix if given an `-o' + # argument, so we may need to know it at that point already. + # Even if this section looks crufty: it has the advantage of + # actually working. + break;; + * ) + break;; + esac +done +test "$ac_cv_exeext" = no && ac_cv_exeext= + +else + ac_file='' +fi +if test -z "$ac_file"; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +$as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +{ as_fn_set_status 77 +as_fn_error "C compiler cannot create executables +See \`config.log' for more details." "$LINENO" 5; }; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 +$as_echo_n "checking for C compiler default output file name... " >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 +$as_echo "$ac_file" >&6; } +ac_exeext=$ac_cv_exeext + +rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out +ac_clean_files=$ac_clean_files_save +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 +$as_echo_n "checking for suffix of executables... " >&6; } +if { { ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_link") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then : + # If both `conftest.exe' and `conftest' are `present' (well, observable) +# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will +# work properly (i.e., refer to `conftest.exe'), while it won't with +# `rm'. +for ac_file in conftest.exe conftest conftest.*; do + test -f "$ac_file" || continue + case $ac_file in + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; + *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` + break;; + * ) break;; + esac +done +else + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error "cannot compute suffix of executables: cannot compile and link +See \`config.log' for more details." "$LINENO" 5; } +fi +rm -f conftest conftest$ac_cv_exeext +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 +$as_echo "$ac_cv_exeext" >&6; } + +rm -f conftest.$ac_ext +EXEEXT=$ac_cv_exeext +ac_exeext=$EXEEXT +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +int +main () +{ +FILE *f = fopen ("conftest.out", "w"); + return ferror (f) || fclose (f) != 0; + + ; + return 0; +} +_ACEOF +ac_clean_files="$ac_clean_files conftest.out" +# Check that the compiler produces executables we can run. If not, either +# the compiler is broken, or we cross compile. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 +$as_echo_n "checking whether we are cross compiling... " >&6; } +if test "$cross_compiling" != yes; then + { { ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_link") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } + if { ac_try='./conftest$ac_cv_exeext' + { { case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_try") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; }; then + cross_compiling=no + else + if test "$cross_compiling" = maybe; then + cross_compiling=yes + else + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error "cannot run C compiled programs. +If you meant to cross compile, use \`--host'. +See \`config.log' for more details." "$LINENO" 5; } + fi + fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 +$as_echo "$cross_compiling" >&6; } + +rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out +ac_clean_files=$ac_clean_files_save +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 +$as_echo_n "checking for suffix of object files... " >&6; } +if test "${ac_cv_objext+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +rm -f conftest.o conftest.obj +if { { ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_compile") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then : + for ac_file in conftest.o conftest.obj conftest.*; do + test -f "$ac_file" || continue; + case $ac_file in + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; + *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` + break;; + esac +done +else + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error "cannot compute suffix of object files: cannot compile +See \`config.log' for more details." "$LINENO" 5; } +fi +rm -f conftest.$ac_cv_objext conftest.$ac_ext +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 +$as_echo "$ac_cv_objext" >&6; } +OBJEXT=$ac_cv_objext +ac_objext=$OBJEXT +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 +$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } +if test "${ac_cv_c_compiler_gnu+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ +#ifndef __GNUC__ + choke me +#endif + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_compiler_gnu=yes +else + ac_compiler_gnu=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +ac_cv_c_compiler_gnu=$ac_compiler_gnu + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 +$as_echo "$ac_cv_c_compiler_gnu" >&6; } +if test $ac_compiler_gnu = yes; then + GCC=yes +else + GCC= +fi +ac_test_CFLAGS=${CFLAGS+set} +ac_save_CFLAGS=$CFLAGS +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 +$as_echo_n "checking whether $CC accepts -g... " >&6; } +if test "${ac_cv_prog_cc_g+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + ac_save_c_werror_flag=$ac_c_werror_flag + ac_c_werror_flag=yes + ac_cv_prog_cc_g=no + CFLAGS="-g" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_prog_cc_g=yes +else + CFLAGS="" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + +else + ac_c_werror_flag=$ac_save_c_werror_flag + CFLAGS="-g" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_prog_cc_g=yes +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + ac_c_werror_flag=$ac_save_c_werror_flag +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 +$as_echo "$ac_cv_prog_cc_g" >&6; } +if test "$ac_test_CFLAGS" = set; then + CFLAGS=$ac_save_CFLAGS +elif test $ac_cv_prog_cc_g = yes; then + if test "$GCC" = yes; then + CFLAGS="-g -O2" + else + CFLAGS="-g" + fi +else + if test "$GCC" = yes; then + CFLAGS="-O2" + else + CFLAGS= + fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 +$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } +if test "${ac_cv_prog_cc_c89+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + ac_cv_prog_cc_c89=no +ac_save_CC=$CC +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +#include +#include +#include +/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ +struct buf { int x; }; +FILE * (*rcsopen) (struct buf *, struct stat *, int); +static char *e (p, i) + char **p; + int i; +{ + return p[i]; +} +static char *f (char * (*g) (char **, int), char **p, ...) +{ + char *s; + va_list v; + va_start (v,p); + s = g (p, va_arg (v,int)); + va_end (v); + return s; +} + +/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has + function prototypes and stuff, but not '\xHH' hex character constants. + These don't provoke an error unfortunately, instead are silently treated + as 'x'. The following induces an error, until -std is added to get + proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an + array size at least. It's necessary to write '\x00'==0 to get something + that's true only with -std. */ +int osf4_cc_array ['\x00' == 0 ? 1 : -1]; + +/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters + inside strings and character constants. */ +#define FOO(x) 'x' +int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; + +int test (int i, double x); +struct s1 {int (*f) (int a);}; +struct s2 {int (*f) (double a);}; +int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); +int argc; +char **argv; +int +main () +{ +return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; + ; + return 0; +} +_ACEOF +for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ + -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" +do + CC="$ac_save_CC $ac_arg" + if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_prog_cc_c89=$ac_arg +fi +rm -f core conftest.err conftest.$ac_objext + test "x$ac_cv_prog_cc_c89" != "xno" && break +done +rm -f conftest.$ac_ext +CC=$ac_save_CC + +fi +# AC_CACHE_VAL +case "x$ac_cv_prog_cc_c89" in + x) + { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 +$as_echo "none needed" >&6; } ;; + xno) + { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 +$as_echo "unsupported" >&6; } ;; + *) + CC="$CC $ac_cv_prog_cc_c89" + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 +$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; +esac +if test "x$ac_cv_prog_cc_c89" != xno; then : + +fi + +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + +depcc="$CC" am_compiler_list= + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 +$as_echo_n "checking dependency style of $depcc... " >&6; } +if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then + # We make a subdir and do the tests there. Otherwise we can end up + # making bogus files that we don't know about and never remove. For + # instance it was reported that on HP-UX the gcc test will end up + # making a dummy file named `D' -- because `-MD' means `put the output + # in D'. + mkdir conftest.dir + # Copy depcomp to subdir because otherwise we won't find it if we're + # using a relative directory. + cp "$am_depcomp" conftest.dir + cd conftest.dir + # We will build objects and dependencies in a subdirectory because + # it helps to detect inapplicable dependency modes. For instance + # both Tru64's cc and ICC support -MD to output dependencies as a + # side effect of compilation, but ICC will put the dependencies in + # the current directory while Tru64 will put them in the object + # directory. + mkdir sub + + am_cv_CC_dependencies_compiler_type=none + if test "$am_compiler_list" = ""; then + am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` + fi + for depmode in $am_compiler_list; do + # Setup a source with many dependencies, because some compilers + # like to wrap large dependency lists on column 80 (with \), and + # we should not choose a depcomp mode which is confused by this. + # + # We need to recreate these files for each test, as the compiler may + # overwrite some of them when testing with obscure command lines. + # This happens at least with the AIX C compiler. + : > sub/conftest.c + for i in 1 2 3 4 5 6; do + echo '#include "conftst'$i'.h"' >> sub/conftest.c + # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with + # Solaris 8's {/usr,}/bin/sh. + touch sub/conftst$i.h + done + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf + + case $depmode in + nosideeffect) + # after this tag, mechanisms are not by side-effect, so they'll + # only be used when explicitly requested + if test "x$enable_dependency_tracking" = xyes; then + continue + else + break + fi + ;; + none) break ;; + esac + # We check with `-c' and `-o' for the sake of the "dashmstdout" + # mode. It turns out that the SunPro C++ compiler does not properly + # handle `-M -o', and we need to detect this. + if depmode=$depmode \ + source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ + $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ + >/dev/null 2>conftest.err && + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && + grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then + # icc doesn't choke on unknown options, it will just issue warnings + # (even with -Werror). So we grep stderr for any message + # that says an option was ignored. + if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else + am_cv_CC_dependencies_compiler_type=$depmode + break + fi + fi + done + + cd .. + rm -rf conftest.dir +else + am_cv_CC_dependencies_compiler_type=none +fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 +$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } +CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type + + + +if + test "x$enable_dependency_tracking" != xno \ + && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then + am__fastdepCC_TRUE= + am__fastdepCC_FALSE='#' +else + am__fastdepCC_TRUE='#' + am__fastdepCC_FALSE= +fi + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 +$as_echo_n "checking for a sed that does not truncate output... " >&6; } +if test "${lt_cv_path_SED+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + # Loop through the user's path and test for sed and gsed. +# Then use that list of sed's as ones to test for truncation. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for lt_ac_prog in sed gsed; do + for ac_exec_ext in '' $ac_executable_extensions; do + if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then + lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext" + fi + done + done +done +lt_ac_max=0 +lt_ac_count=0 +# Add /usr/xpg4/bin/sed as it is typically found on Solaris +# along with /bin/sed that truncates output. +for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do + test ! -f $lt_ac_sed && break + cat /dev/null > conftest.in + lt_ac_count=0 + echo $ECHO_N "0123456789$ECHO_C" >conftest.in + # Check for GNU sed and select it if it is found. + if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then + lt_cv_path_SED=$lt_ac_sed + break + fi + while true; do + cat conftest.in conftest.in >conftest.tmp + mv conftest.tmp conftest.in + cp conftest.in conftest.nl + echo >>conftest.nl + $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break + cmp -s conftest.out conftest.nl || break + # 10000 chars as input seems more than enough + test $lt_ac_count -gt 10 && break + lt_ac_count=`expr $lt_ac_count + 1` + if test $lt_ac_count -gt $lt_ac_max; then + lt_ac_max=$lt_ac_count + lt_cv_path_SED=$lt_ac_sed + fi + done +done +SED=$lt_cv_path_SED + +fi + +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $SED" >&5 +$as_echo "$SED" >&6; } + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 +$as_echo_n "checking for grep that handles long lines and -e... " >&6; } +if test "${ac_cv_path_GREP+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if test -z "$GREP"; then + ac_path_GREP_found=false + # Loop through the user's path and test for each of PROGNAME-LIST + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_prog in grep ggrep; do + for ac_exec_ext in '' $ac_executable_extensions; do + ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" + { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue +# Check for GNU ac_path_GREP and select it if it is found. + # Check for GNU $ac_path_GREP +case `"$ac_path_GREP" --version 2>&1` in +*GNU*) + ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; +*) + ac_count=0 + $as_echo_n 0123456789 >"conftest.in" + while : + do + cat "conftest.in" "conftest.in" >"conftest.tmp" + mv "conftest.tmp" "conftest.in" + cp "conftest.in" "conftest.nl" + $as_echo 'GREP' >> "conftest.nl" + "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break + as_fn_arith $ac_count + 1 && ac_count=$as_val + if test $ac_count -gt ${ac_path_GREP_max-0}; then + # Best one so far, save it but keep looking for a better one + ac_cv_path_GREP="$ac_path_GREP" + ac_path_GREP_max=$ac_count + fi + # 10*(2^10) chars as input seems more than enough + test $ac_count -gt 10 && break + done + rm -f conftest.in conftest.tmp conftest.nl conftest.out;; +esac + + $ac_path_GREP_found && break 3 + done + done + done +IFS=$as_save_IFS + if test -z "$ac_cv_path_GREP"; then + as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 + fi +else + ac_cv_path_GREP=$GREP +fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 +$as_echo "$ac_cv_path_GREP" >&6; } + GREP="$ac_cv_path_GREP" + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 +$as_echo_n "checking for egrep... " >&6; } +if test "${ac_cv_path_EGREP+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 + then ac_cv_path_EGREP="$GREP -E" + else + if test -z "$EGREP"; then + ac_path_EGREP_found=false + # Loop through the user's path and test for each of PROGNAME-LIST + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_prog in egrep; do + for ac_exec_ext in '' $ac_executable_extensions; do + ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" + { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue +# Check for GNU ac_path_EGREP and select it if it is found. + # Check for GNU $ac_path_EGREP +case `"$ac_path_EGREP" --version 2>&1` in +*GNU*) + ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; +*) + ac_count=0 + $as_echo_n 0123456789 >"conftest.in" + while : + do + cat "conftest.in" "conftest.in" >"conftest.tmp" + mv "conftest.tmp" "conftest.in" + cp "conftest.in" "conftest.nl" + $as_echo 'EGREP' >> "conftest.nl" + "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break + as_fn_arith $ac_count + 1 && ac_count=$as_val + if test $ac_count -gt ${ac_path_EGREP_max-0}; then + # Best one so far, save it but keep looking for a better one + ac_cv_path_EGREP="$ac_path_EGREP" + ac_path_EGREP_max=$ac_count + fi + # 10*(2^10) chars as input seems more than enough + test $ac_count -gt 10 && break + done + rm -f conftest.in conftest.tmp conftest.nl conftest.out;; +esac + + $ac_path_EGREP_found && break 3 + done + done + done +IFS=$as_save_IFS + if test -z "$ac_cv_path_EGREP"; then + as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 + fi +else + ac_cv_path_EGREP=$EGREP +fi + + fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 +$as_echo "$ac_cv_path_EGREP" >&6; } + EGREP="$ac_cv_path_EGREP" + + + +# Check whether --with-gnu-ld was given. +if test "${with_gnu_ld+set}" = set; then : + withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes +else + with_gnu_ld=no +fi + +ac_prog=ld +if test "$GCC" = yes; then + # Check if gcc -print-prog-name=ld gives a path. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 +$as_echo_n "checking for ld used by $CC... " >&6; } + case $host in + *-*-mingw*) + # gcc leaves a trailing carriage return which upsets mingw + ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; + *) + ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; + esac + case $ac_prog in + # Accept absolute paths. + [\\/]* | ?:[\\/]*) + re_direlt='/[^/][^/]*/\.\./' + # Canonicalize the pathname of ld + ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'` + while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do + ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"` + done + test -z "$LD" && LD="$ac_prog" + ;; + "") + # If it fails, then pretend we aren't using GCC. + ac_prog=ld + ;; + *) + # If it is relative, then search for the first ld in PATH. + with_gnu_ld=unknown + ;; + esac +elif test "$with_gnu_ld" = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 +$as_echo_n "checking for GNU ld... " >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 +$as_echo_n "checking for non-GNU ld... " >&6; } +fi +if test "${lt_cv_path_LD+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if test -z "$LD"; then + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR + for ac_dir in $PATH; do + IFS="$lt_save_ifs" + test -z "$ac_dir" && ac_dir=. + if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then + lt_cv_path_LD="$ac_dir/$ac_prog" + # Check to see if the program is GNU ld. I'd rather use --version, + # but apparently some GNU ld's only accept -v. + # Break only if it was the GNU/non-GNU ld that we prefer. + case `"$lt_cv_path_LD" -v 2>&1 &5 +$as_echo "$LD" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi +test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 +$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } +if test "${lt_cv_prog_gnu_ld+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + # I'd rather use --version here, but apparently some GNU ld's only accept -v. +case `$LD -v 2>&1 &5 +$as_echo "$lt_cv_prog_gnu_ld" >&6; } +with_gnu_ld=$lt_cv_prog_gnu_ld + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 +$as_echo_n "checking for $LD option to reload object files... " >&6; } +if test "${lt_cv_ld_reload_flag+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + lt_cv_ld_reload_flag='-r' +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 +$as_echo "$lt_cv_ld_reload_flag" >&6; } +reload_flag=$lt_cv_ld_reload_flag +case $reload_flag in +"" | " "*) ;; +*) reload_flag=" $reload_flag" ;; +esac +reload_cmds='$LD$reload_flag -o $output$reload_objs' + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD-compatible nm" >&5 +$as_echo_n "checking for BSD-compatible nm... " >&6; } +if test "${lt_cv_path_NM+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$NM"; then + # Let the user override the test. + lt_cv_path_NM="$NM" +else + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR + for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do + IFS="$lt_save_ifs" + test -z "$ac_dir" && ac_dir=. + tmp_nm="$ac_dir/${ac_tool_prefix}nm" + if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then + # Check to see if the nm accepts a BSD-compat flag. + # Adding the `sed 1q' prevents false positives on HP-UX, which says: + # nm: unknown option "B" ignored + # Tru64's nm complains that /dev/null is an invalid object file + case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in + */dev/null* | *'Invalid file or object type'*) + lt_cv_path_NM="$tmp_nm -B" + break + ;; + *) + case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in + */dev/null*) + lt_cv_path_NM="$tmp_nm -p" + break + ;; + *) + lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but + continue # so that we can try to find one that supports BSD flags + ;; + esac + esac + fi + done + IFS="$lt_save_ifs" + test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm +fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 +$as_echo "$lt_cv_path_NM" >&6; } +NM="$lt_cv_path_NM" + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 +$as_echo_n "checking whether ln -s works... " >&6; } +LN_S=$as_ln_s +if test "$LN_S" = "ln -s"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 +$as_echo "no, using $LN_S" >&6; } +fi + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognise dependent libraries" >&5 +$as_echo_n "checking how to recognise dependent libraries... " >&6; } +if test "${lt_cv_deplibs_check_method+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + lt_cv_file_magic_cmd='$MAGIC_CMD' +lt_cv_file_magic_test_file= +lt_cv_deplibs_check_method='unknown' +# Need to set the preceding variable on all platforms that support +# interlibrary dependencies. +# 'none' -- dependencies not supported. +# `unknown' -- same as none, but documents that we really don't know. +# 'pass_all' -- all dependencies passed with no checks. +# 'test_compile' -- check by making test program. +# 'file_magic [[regex]]' -- check by looking for files in library path +# which responds to the $file_magic_cmd with a given extended regex. +# If you have `file' or equivalent on your system and you're not sure +# whether `pass_all' will *always* work, you probably want this one. + +case $host_os in +aix4* | aix5*) + lt_cv_deplibs_check_method=pass_all + ;; + +beos*) + lt_cv_deplibs_check_method=pass_all + ;; + +bsdi4*) + lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' + lt_cv_file_magic_cmd='/usr/bin/file -L' + lt_cv_file_magic_test_file=/shlib/libc.so + ;; + +cygwin*) + # func_win32_libid is a shell function defined in ltmain.sh + lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' + lt_cv_file_magic_cmd='func_win32_libid' + ;; + +mingw* | pw32*) + # Base MSYS/MinGW do not provide the 'file' command needed by + # func_win32_libid shell function, so use a weaker test based on 'objdump'. + lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?' + lt_cv_file_magic_cmd='$OBJDUMP -f' + ;; + +darwin* | rhapsody*) + lt_cv_deplibs_check_method=pass_all + ;; + +freebsd* | kfreebsd*-gnu) + if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then + case $host_cpu in + i*86 ) + # Not sure whether the presence of OpenBSD here was a mistake. + # Let's accept both of them until this is cleared up. + lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library' + lt_cv_file_magic_cmd=/usr/bin/file + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` + ;; + esac + else + lt_cv_deplibs_check_method=pass_all + fi + ;; + +gnu*) + lt_cv_deplibs_check_method=pass_all + ;; + +hpux10.20* | hpux11*) + lt_cv_file_magic_cmd=/usr/bin/file + case "$host_cpu" in + ia64*) + lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' + lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so + ;; + hppa*64*) + lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]' + lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl + ;; + *) + lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library' + lt_cv_file_magic_test_file=/usr/lib/libc.sl + ;; + esac + ;; + +irix5* | irix6* | nonstopux*) + case $LD in + *-32|*"-32 ") libmagic=32-bit;; + *-n32|*"-n32 ") libmagic=N32;; + *-64|*"-64 ") libmagic=64-bit;; + *) libmagic=never-match;; + esac + lt_cv_deplibs_check_method=pass_all + ;; + +# This must be Linux ELF. +linux*) + case $host_cpu in + alpha*|hppa*|i*86|ia64*|m68*|mips*|powerpc*|sparc*|s390*|sh*|x86_64*) + lt_cv_deplibs_check_method=pass_all ;; + *) + # glibc up to 2.1.1 does not perform some relocations on ARM + # this will be overridden with pass_all, but let us keep it just in case + lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;; + esac + lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so` + lt_cv_deplibs_check_method=pass_all + ;; + +netbsd*) + if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' + else + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' + fi + ;; + +newos6*) + lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' + lt_cv_file_magic_cmd=/usr/bin/file + lt_cv_file_magic_test_file=/usr/lib/libnls.so + ;; + +nto-qnx*) + lt_cv_deplibs_check_method=unknown + ;; + +openbsd*) + lt_cv_file_magic_cmd=/usr/bin/file + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object' + else + lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library' + fi + ;; + +osf3* | osf4* | osf5*) + lt_cv_deplibs_check_method=pass_all + ;; + +sco3.2v5*) + lt_cv_deplibs_check_method=pass_all + ;; + +solaris*) + lt_cv_deplibs_check_method=pass_all + ;; + +sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) + case $host_vendor in + motorola) + lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]' + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` + ;; + ncr) + lt_cv_deplibs_check_method=pass_all + ;; + sequent) + lt_cv_file_magic_cmd='/bin/file' + lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' + ;; + sni) + lt_cv_file_magic_cmd='/bin/file' + lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" + lt_cv_file_magic_test_file=/lib/libc.so + ;; + siemens) + lt_cv_deplibs_check_method=pass_all + ;; + esac + ;; + +sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7* | sysv4*uw2*) + lt_cv_deplibs_check_method=pass_all + ;; +esac + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 +$as_echo "$lt_cv_deplibs_check_method" >&6; } +file_magic_cmd=$lt_cv_file_magic_cmd +deplibs_check_method=$lt_cv_deplibs_check_method +test -z "$deplibs_check_method" && deplibs_check_method=unknown + + + + +# If no C compiler was specified, use CC. +LTCC=${LTCC-"$CC"} + +# Allow CC to be a program name with arguments. +compiler=$CC + + +# Check whether --enable-libtool-lock was given. +if test "${enable_libtool_lock+set}" = set; then : + enableval=$enable_libtool_lock; +fi + +test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes + +# Some flags need to be propagated to the compiler or linker for good +# libtool support. +case $host in +ia64-*-hpux*) + # Find out which ABI we are using. + echo 'int i;' > conftest.$ac_ext + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + case `/usr/bin/file conftest.$ac_objext` in + *ELF-32*) + HPUX_IA64_MODE="32" + ;; + *ELF-64*) + HPUX_IA64_MODE="64" + ;; + esac + fi + rm -rf conftest* + ;; +*-*-irix6*) + # Find out which ABI we are using. + echo '#line 4956 "configure"' > conftest.$ac_ext + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + if test "$lt_cv_prog_gnu_ld" = yes; then + case `/usr/bin/file conftest.$ac_objext` in + *32-bit*) + LD="${LD-ld} -melf32bsmip" + ;; + *N32*) + LD="${LD-ld} -melf32bmipn32" + ;; + *64-bit*) + LD="${LD-ld} -melf64bmip" + ;; + esac + else + case `/usr/bin/file conftest.$ac_objext` in + *32-bit*) + LD="${LD-ld} -32" + ;; + *N32*) + LD="${LD-ld} -n32" + ;; + *64-bit*) + LD="${LD-ld} -64" + ;; + esac + fi + fi + rm -rf conftest* + ;; + +x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*) + # Find out which ABI we are using. + echo 'int i;' > conftest.$ac_ext + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + case "`/usr/bin/file conftest.o`" in + *32-bit*) + case $host in + x86_64-*linux*) + LD="${LD-ld} -m elf_i386" + ;; + ppc64-*linux*|powerpc64-*linux*) + LD="${LD-ld} -m elf32ppclinux" + ;; + s390x-*linux*) + LD="${LD-ld} -m elf_s390" + ;; + sparc64-*linux*) + LD="${LD-ld} -m elf32_sparc" + ;; + esac + ;; + *64-bit*) + case $host in + x86_64-*linux*) + LD="${LD-ld} -m elf_x86_64" + ;; + ppc*-*linux*|powerpc*-*linux*) + LD="${LD-ld} -m elf64ppc" + ;; + s390*-*linux*) + LD="${LD-ld} -m elf64_s390" + ;; + sparc*-*linux*) + LD="${LD-ld} -m elf64_sparc" + ;; + esac + ;; + esac + fi + rm -rf conftest* + ;; + +*-*-sco3.2v5*) + # On SCO OpenServer 5, we need -belf to get full-featured binaries. + SAVE_CFLAGS="$CFLAGS" + CFLAGS="$CFLAGS -belf" + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 +$as_echo_n "checking whether the C compiler needs -belf... " >&6; } +if test "${lt_cv_cc_needs_belf+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + lt_cv_cc_needs_belf=yes +else + lt_cv_cc_needs_belf=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 +$as_echo "$lt_cv_cc_needs_belf" >&6; } + if test x"$lt_cv_cc_needs_belf" != x"yes"; then + # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf + CFLAGS="$SAVE_CFLAGS" + fi + ;; + +esac + +need_locks="$enable_libtool_lock" + + +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 +$as_echo_n "checking how to run the C preprocessor... " >&6; } +# On Suns, sometimes $CPP names a directory. +if test -n "$CPP" && test -d "$CPP"; then + CPP= +fi +if test -z "$CPP"; then + if test "${ac_cv_prog_CPP+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + # Double quotes because CPP needs to be expanded + for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" + do + ac_preproc_ok=false +for ac_c_preproc_warn_flag in '' yes +do + # Use a header file that comes with gcc, so configuring glibc + # with a fresh cross-compiler works. + # Prefer to if __STDC__ is defined, since + # exists even on freestanding compilers. + # On the NeXT, cc -E runs the code through the compiler's parser, + # not just through cpp. "Syntax error" is here to catch this case. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#ifdef __STDC__ +# include +#else +# include +#endif + Syntax error +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + +else + # Broken: fails on valid input. +continue +fi +rm -f conftest.err conftest.$ac_ext + + # OK, works on sane cases. Now check whether nonexistent headers + # can be detected and how. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + # Broken: success on invalid input. +continue +else + # Passes both tests. +ac_preproc_ok=: +break +fi +rm -f conftest.err conftest.$ac_ext + +done +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. +rm -f conftest.err conftest.$ac_ext +if $ac_preproc_ok; then : + break +fi + + done + ac_cv_prog_CPP=$CPP + +fi + CPP=$ac_cv_prog_CPP +else + ac_cv_prog_CPP=$CPP +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 +$as_echo "$CPP" >&6; } +ac_preproc_ok=false +for ac_c_preproc_warn_flag in '' yes +do + # Use a header file that comes with gcc, so configuring glibc + # with a fresh cross-compiler works. + # Prefer to if __STDC__ is defined, since + # exists even on freestanding compilers. + # On the NeXT, cc -E runs the code through the compiler's parser, + # not just through cpp. "Syntax error" is here to catch this case. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#ifdef __STDC__ +# include +#else +# include +#endif + Syntax error +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + +else + # Broken: fails on valid input. +continue +fi +rm -f conftest.err conftest.$ac_ext + + # OK, works on sane cases. Now check whether nonexistent headers + # can be detected and how. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + # Broken: success on invalid input. +continue +else + # Passes both tests. +ac_preproc_ok=: +break +fi +rm -f conftest.err conftest.$ac_ext + +done +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. +rm -f conftest.err conftest.$ac_ext +if $ac_preproc_ok; then : + +else + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error "C preprocessor \"$CPP\" fails sanity check +See \`config.log' for more details." "$LINENO" 5; } +fi + +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 +$as_echo_n "checking for ANSI C header files... " >&6; } +if test "${ac_cv_header_stdc+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +#include +#include +#include + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_header_stdc=yes +else + ac_cv_header_stdc=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + +if test $ac_cv_header_stdc = yes; then + # SunOS 4.x string.h does not declare mem*, contrary to ANSI. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "memchr" >/dev/null 2>&1; then : + +else + ac_cv_header_stdc=no +fi +rm -f conftest* + +fi + +if test $ac_cv_header_stdc = yes; then + # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "free" >/dev/null 2>&1; then : + +else + ac_cv_header_stdc=no +fi +rm -f conftest* + +fi + +if test $ac_cv_header_stdc = yes; then + # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. + if test "$cross_compiling" = yes; then : + : +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +#include +#if ((' ' & 0x0FF) == 0x020) +# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') +# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) +#else +# define ISLOWER(c) \ + (('a' <= (c) && (c) <= 'i') \ + || ('j' <= (c) && (c) <= 'r') \ + || ('s' <= (c) && (c) <= 'z')) +# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) +#endif + +#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) +int +main () +{ + int i; + for (i = 0; i < 256; i++) + if (XOR (islower (i), ISLOWER (i)) + || toupper (i) != TOUPPER (i)) + return 2; + return 0; +} +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + +else + ac_cv_header_stdc=no +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + +fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 +$as_echo "$ac_cv_header_stdc" >&6; } +if test $ac_cv_header_stdc = yes; then + +$as_echo "#define STDC_HEADERS 1" >>confdefs.h + +fi + +# On IRIX 5.3, sys/types and inttypes.h are conflicting. +for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ + inttypes.h stdint.h unistd.h +do : + as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` +ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default +" +eval as_val=\$$as_ac_Header + if test "x$as_val" = x""yes; then : + cat >>confdefs.h <<_ACEOF +#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF + +fi + +done + + +for ac_header in dlfcn.h +do : + ac_fn_c_check_header_mongrel "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default" +if test "x$ac_cv_header_dlfcn_h" = x""yes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_DLFCN_H 1 +_ACEOF + +fi + +done + +ac_ext=cpp +ac_cpp='$CXXCPP $CPPFLAGS' +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu +if test -z "$CXX"; then + if test -n "$CCC"; then + CXX=$CCC + else + if test -n "$ac_tool_prefix"; then + for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC + do + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. +set dummy $ac_tool_prefix$ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if test "${ac_cv_prog_CXX+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$CXX"; then + ac_cv_prog_CXX="$CXX" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +CXX=$ac_cv_prog_CXX +if test -n "$CXX"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 +$as_echo "$CXX" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$CXX" && break + done +fi +if test -z "$CXX"; then + ac_ct_CXX=$CXX + for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_CXX"; then + ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_ac_ct_CXX="$ac_prog" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_CXX=$ac_cv_prog_ac_ct_CXX +if test -n "$ac_ct_CXX"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 +$as_echo "$ac_ct_CXX" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$ac_ct_CXX" && break +done + + if test "x$ac_ct_CXX" = x; then + CXX="g++" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + CXX=$ac_ct_CXX + fi +fi + + fi +fi +# Provide some information about the compiler. +$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 +set X $ac_compile +ac_compiler=$2 +for ac_option in --version -v -V -qversion; do + { { ac_try="$ac_compiler $ac_option >&5" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_compiler $ac_option >&5") 2>conftest.err + ac_status=$? + if test -s conftest.err; then + sed '10a\ +... rest of stderr output deleted ... + 10q' conftest.err >conftest.er1 + cat conftest.er1 >&5 + fi + rm -f conftest.er1 conftest.err + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } +done + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 +$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } +if test "${ac_cv_cxx_compiler_gnu+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ +#ifndef __GNUC__ + choke me +#endif + + ; + return 0; +} +_ACEOF +if ac_fn_cxx_try_compile "$LINENO"; then : + ac_compiler_gnu=yes +else + ac_compiler_gnu=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +ac_cv_cxx_compiler_gnu=$ac_compiler_gnu + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 +$as_echo "$ac_cv_cxx_compiler_gnu" >&6; } +if test $ac_compiler_gnu = yes; then + GXX=yes +else + GXX= +fi +ac_test_CXXFLAGS=${CXXFLAGS+set} +ac_save_CXXFLAGS=$CXXFLAGS +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 +$as_echo_n "checking whether $CXX accepts -g... " >&6; } +if test "${ac_cv_prog_cxx_g+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + ac_save_cxx_werror_flag=$ac_cxx_werror_flag + ac_cxx_werror_flag=yes + ac_cv_prog_cxx_g=no + CXXFLAGS="-g" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_cxx_try_compile "$LINENO"; then : + ac_cv_prog_cxx_g=yes +else + CXXFLAGS="" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_cxx_try_compile "$LINENO"; then : + +else + ac_cxx_werror_flag=$ac_save_cxx_werror_flag + CXXFLAGS="-g" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_cxx_try_compile "$LINENO"; then : + ac_cv_prog_cxx_g=yes +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + ac_cxx_werror_flag=$ac_save_cxx_werror_flag +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 +$as_echo "$ac_cv_prog_cxx_g" >&6; } +if test "$ac_test_CXXFLAGS" = set; then + CXXFLAGS=$ac_save_CXXFLAGS +elif test $ac_cv_prog_cxx_g = yes; then + if test "$GXX" = yes; then + CXXFLAGS="-g -O2" + else + CXXFLAGS="-g" + fi +else + if test "$GXX" = yes; then + CXXFLAGS="-O2" + else + CXXFLAGS= + fi +fi +ac_ext=cpp +ac_cpp='$CXXCPP $CPPFLAGS' +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + +depcc="$CXX" am_compiler_list= + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 +$as_echo_n "checking dependency style of $depcc... " >&6; } +if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then + # We make a subdir and do the tests there. Otherwise we can end up + # making bogus files that we don't know about and never remove. For + # instance it was reported that on HP-UX the gcc test will end up + # making a dummy file named `D' -- because `-MD' means `put the output + # in D'. + mkdir conftest.dir + # Copy depcomp to subdir because otherwise we won't find it if we're + # using a relative directory. + cp "$am_depcomp" conftest.dir + cd conftest.dir + # We will build objects and dependencies in a subdirectory because + # it helps to detect inapplicable dependency modes. For instance + # both Tru64's cc and ICC support -MD to output dependencies as a + # side effect of compilation, but ICC will put the dependencies in + # the current directory while Tru64 will put them in the object + # directory. + mkdir sub + + am_cv_CXX_dependencies_compiler_type=none + if test "$am_compiler_list" = ""; then + am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` + fi + for depmode in $am_compiler_list; do + # Setup a source with many dependencies, because some compilers + # like to wrap large dependency lists on column 80 (with \), and + # we should not choose a depcomp mode which is confused by this. + # + # We need to recreate these files for each test, as the compiler may + # overwrite some of them when testing with obscure command lines. + # This happens at least with the AIX C compiler. + : > sub/conftest.c + for i in 1 2 3 4 5 6; do + echo '#include "conftst'$i'.h"' >> sub/conftest.c + # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with + # Solaris 8's {/usr,}/bin/sh. + touch sub/conftst$i.h + done + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf + + case $depmode in + nosideeffect) + # after this tag, mechanisms are not by side-effect, so they'll + # only be used when explicitly requested + if test "x$enable_dependency_tracking" = xyes; then + continue + else + break + fi + ;; + none) break ;; + esac + # We check with `-c' and `-o' for the sake of the "dashmstdout" + # mode. It turns out that the SunPro C++ compiler does not properly + # handle `-M -o', and we need to detect this. + if depmode=$depmode \ + source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ + $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ + >/dev/null 2>conftest.err && + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && + grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then + # icc doesn't choke on unknown options, it will just issue warnings + # (even with -Werror). So we grep stderr for any message + # that says an option was ignored. + if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else + am_cv_CXX_dependencies_compiler_type=$depmode + break + fi + fi + done + + cd .. + rm -rf conftest.dir +else + am_cv_CXX_dependencies_compiler_type=none +fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5 +$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; } +CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type + + + +if + test "x$enable_dependency_tracking" != xno \ + && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then + am__fastdepCXX_TRUE= + am__fastdepCXX_FALSE='#' +else + am__fastdepCXX_TRUE='#' + am__fastdepCXX_FALSE= +fi + + +ac_ext=cpp +ac_cpp='$CXXCPP $CPPFLAGS' +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5 +$as_echo_n "checking how to run the C++ preprocessor... " >&6; } +if test -z "$CXXCPP"; then + if test "${ac_cv_prog_CXXCPP+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + # Double quotes because CXXCPP needs to be expanded + for CXXCPP in "$CXX -E" "/lib/cpp" + do + ac_preproc_ok=false +for ac_cxx_preproc_warn_flag in '' yes +do + # Use a header file that comes with gcc, so configuring glibc + # with a fresh cross-compiler works. + # Prefer to if __STDC__ is defined, since + # exists even on freestanding compilers. + # On the NeXT, cc -E runs the code through the compiler's parser, + # not just through cpp. "Syntax error" is here to catch this case. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#ifdef __STDC__ +# include +#else +# include +#endif + Syntax error +_ACEOF +if ac_fn_cxx_try_cpp "$LINENO"; then : + +else + # Broken: fails on valid input. +continue +fi +rm -f conftest.err conftest.$ac_ext + + # OK, works on sane cases. Now check whether nonexistent headers + # can be detected and how. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +_ACEOF +if ac_fn_cxx_try_cpp "$LINENO"; then : + # Broken: success on invalid input. +continue +else + # Passes both tests. +ac_preproc_ok=: +break +fi +rm -f conftest.err conftest.$ac_ext + +done +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. +rm -f conftest.err conftest.$ac_ext +if $ac_preproc_ok; then : + break +fi + + done + ac_cv_prog_CXXCPP=$CXXCPP + +fi + CXXCPP=$ac_cv_prog_CXXCPP +else + ac_cv_prog_CXXCPP=$CXXCPP +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5 +$as_echo "$CXXCPP" >&6; } +ac_preproc_ok=false +for ac_cxx_preproc_warn_flag in '' yes +do + # Use a header file that comes with gcc, so configuring glibc + # with a fresh cross-compiler works. + # Prefer to if __STDC__ is defined, since + # exists even on freestanding compilers. + # On the NeXT, cc -E runs the code through the compiler's parser, + # not just through cpp. "Syntax error" is here to catch this case. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#ifdef __STDC__ +# include +#else +# include +#endif + Syntax error +_ACEOF +if ac_fn_cxx_try_cpp "$LINENO"; then : + +else + # Broken: fails on valid input. +continue +fi +rm -f conftest.err conftest.$ac_ext + + # OK, works on sane cases. Now check whether nonexistent headers + # can be detected and how. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +_ACEOF +if ac_fn_cxx_try_cpp "$LINENO"; then : + # Broken: success on invalid input. +continue +else + # Passes both tests. +ac_preproc_ok=: +break +fi +rm -f conftest.err conftest.$ac_ext + +done +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. +rm -f conftest.err conftest.$ac_ext +if $ac_preproc_ok; then : + +else + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check +See \`config.log' for more details." "$LINENO" 5; } +fi + +ac_ext=cpp +ac_cpp='$CXXCPP $CPPFLAGS' +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + + +ac_ext=f +ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5' +ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_f77_compiler_gnu +if test -n "$ac_tool_prefix"; then + for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn + do + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. +set dummy $ac_tool_prefix$ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if test "${ac_cv_prog_F77+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$F77"; then + ac_cv_prog_F77="$F77" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_F77="$ac_tool_prefix$ac_prog" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +F77=$ac_cv_prog_F77 +if test -n "$F77"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $F77" >&5 +$as_echo "$F77" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$F77" && break + done +fi +if test -z "$F77"; then + ac_ct_F77=$F77 + for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if test "${ac_cv_prog_ac_ct_F77+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_F77"; then + ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_ac_ct_F77="$ac_prog" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_F77=$ac_cv_prog_ac_ct_F77 +if test -n "$ac_ct_F77"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_F77" >&5 +$as_echo "$ac_ct_F77" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$ac_ct_F77" && break +done + + if test "x$ac_ct_F77" = x; then + F77="" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + F77=$ac_ct_F77 + fi +fi + + +# Provide some information about the compiler. +$as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran 77 compiler version" >&5 +set X $ac_compile +ac_compiler=$2 +for ac_option in --version -v -V -qversion; do + { { ac_try="$ac_compiler $ac_option >&5" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_compiler $ac_option >&5") 2>conftest.err + ac_status=$? + if test -s conftest.err; then + sed '10a\ +... rest of stderr output deleted ... + 10q' conftest.err >conftest.er1 + cat conftest.er1 >&5 + fi + rm -f conftest.er1 conftest.err + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } +done +rm -f a.out + +# If we don't use `.F' as extension, the preprocessor is not run on the +# input file. (Note that this only needs to work for GNU compilers.) +ac_save_ext=$ac_ext +ac_ext=F +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran 77 compiler" >&5 +$as_echo_n "checking whether we are using the GNU Fortran 77 compiler... " >&6; } +if test "${ac_cv_f77_compiler_gnu+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + cat > conftest.$ac_ext <<_ACEOF + program main +#ifndef __GNUC__ + choke me +#endif + + end +_ACEOF +if ac_fn_f77_try_compile "$LINENO"; then : + ac_compiler_gnu=yes +else + ac_compiler_gnu=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +ac_cv_f77_compiler_gnu=$ac_compiler_gnu + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_f77_compiler_gnu" >&5 +$as_echo "$ac_cv_f77_compiler_gnu" >&6; } +ac_ext=$ac_save_ext +ac_test_FFLAGS=${FFLAGS+set} +ac_save_FFLAGS=$FFLAGS +FFLAGS= +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $F77 accepts -g" >&5 +$as_echo_n "checking whether $F77 accepts -g... " >&6; } +if test "${ac_cv_prog_f77_g+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + FFLAGS=-g +cat > conftest.$ac_ext <<_ACEOF + program main + + end +_ACEOF +if ac_fn_f77_try_compile "$LINENO"; then : + ac_cv_prog_f77_g=yes +else + ac_cv_prog_f77_g=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_f77_g" >&5 +$as_echo "$ac_cv_prog_f77_g" >&6; } +if test "$ac_test_FFLAGS" = set; then + FFLAGS=$ac_save_FFLAGS +elif test $ac_cv_prog_f77_g = yes; then + if test "x$ac_cv_f77_compiler_gnu" = xyes; then + FFLAGS="-g -O2" + else + FFLAGS="-g" + fi +else + if test "x$ac_cv_f77_compiler_gnu" = xyes; then + FFLAGS="-O2" + else + FFLAGS= + fi +fi + +if test $ac_compiler_gnu = yes; then + G77=yes +else + G77= +fi +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + + + +# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers! + +# find the maximum length of command line arguments +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 +$as_echo_n "checking the maximum length of command line arguments... " >&6; } +if test "${lt_cv_sys_max_cmd_len+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + i=0 + teststring="ABCD" + + case $build_os in + msdosdjgpp*) + # On DJGPP, this test can blow up pretty badly due to problems in libc + # (any single argument exceeding 2000 bytes causes a buffer overrun + # during glob expansion). Even if it were fixed, the result of this + # check would be larger than it should be. + lt_cv_sys_max_cmd_len=12288; # 12K is about right + ;; + + gnu*) + # Under GNU Hurd, this test is not required because there is + # no limit to the length of command line arguments. + # Libtool will interpret -1 as no limit whatsoever + lt_cv_sys_max_cmd_len=-1; + ;; + + cygwin* | mingw*) + # On Win9x/ME, this test blows up -- it succeeds, but takes + # about 5 minutes as the teststring grows exponentially. + # Worse, since 9x/ME are not pre-emptively multitasking, + # you end up with a "frozen" computer, even though with patience + # the test eventually succeeds (with a max line length of 256k). + # Instead, let's just punt: use the minimum linelength reported by + # all of the supported platforms: 8192 (on NT/2K/XP). + lt_cv_sys_max_cmd_len=8192; + ;; + + amigaos*) + # On AmigaOS with pdksh, this test takes hours, literally. + # So we just punt and use a minimum line length of 8192. + lt_cv_sys_max_cmd_len=8192; + ;; + + *) + # If test is not a shell built-in, we'll probably end up computing a + # maximum length that is only half of the actual maximum length, but + # we can't tell. + while (test "X"`$CONFIG_SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \ + = "XX$teststring") >/dev/null 2>&1 && + new_result=`expr "X$teststring" : ".*" 2>&1` && + lt_cv_sys_max_cmd_len=$new_result && + test $i != 17 # 1/2 MB should be enough + do + i=`expr $i + 1` + teststring=$teststring$teststring + done + teststring= + # Add a significant safety factor because C++ compilers can tack on massive + # amounts of additional arguments before passing them to the linker. + # It appears as though 1/2 is a usable value. + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` + ;; + esac + +fi + +if test -n $lt_cv_sys_max_cmd_len ; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 +$as_echo "$lt_cv_sys_max_cmd_len" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 +$as_echo "none" >&6; } +fi + + + + +# Check for command to grab the raw symbol name followed by C symbol from nm. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 +$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } +if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + +# These are sane defaults that work on at least a few old systems. +# [They come from Ultrix. What could be older than Ultrix?!! ;)] + +# Character class describing NM global symbol codes. +symcode='[BCDEGRST]' + +# Regexp to match symbols that can be accessed directly from C. +sympat='\([_A-Za-z][_A-Za-z0-9]*\)' + +# Transform the above into a raw symbol and a C symbol. +symxfrm='\1 \2\3 \3' + +# Transform an extracted symbol line into a proper C declaration +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'" + +# Transform an extracted symbol line into symbol name and symbol address +lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" + +# Define system-specific variables. +case $host_os in +aix*) + symcode='[BCDT]' + ;; +cygwin* | mingw* | pw32*) + symcode='[ABCDGISTW]' + ;; +hpux*) # Its linker distinguishes data from code symbols + if test "$host_cpu" = ia64; then + symcode='[ABCDEGRST]' + fi + lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" + lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" + ;; +irix* | nonstopux*) + symcode='[BCDEGRST]' + ;; +osf*) + symcode='[BCDEGQRST]' + ;; +solaris* | sysv5*) + symcode='[BDRT]' + ;; +sysv4) + symcode='[DFNSTU]' + ;; +esac + +# Handle CRLF in mingw tool chain +opt_cr= +case $build_os in +mingw*) + opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp + ;; +esac + +# If we're using GNU nm, then use its standard symbol codes. +case `$NM -V 2>&1` in +*GNU* | *'with BFD'*) + symcode='[ABCDGIRSTW]' ;; +esac + +# Try without a prefix undercore, then with it. +for ac_symprfx in "" "_"; do + + # Write the raw and C identifiers. + lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'" + + # Check to see that the pipe works correctly. + pipe_works=no + + rm -f conftest* + cat > conftest.$ac_ext <&5 + (eval $ac_compile) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + # Now try to grab the symbols. + nlist=conftest.nm + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5 + (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } && test -s "$nlist"; then + # Try sorting and uniquifying the output. + if sort "$nlist" | uniq > "$nlist"T; then + mv -f "$nlist"T "$nlist" + else + rm -f "$nlist"T + fi + + # Make sure that we snagged all the symbols we need. + if grep ' nm_test_var$' "$nlist" >/dev/null; then + if grep ' nm_test_func$' "$nlist" >/dev/null; then + cat < conftest.$ac_ext +#ifdef __cplusplus +extern "C" { +#endif + +EOF + # Now generate the symbol file. + eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext' + + cat <> conftest.$ac_ext +#if defined (__STDC__) && __STDC__ +# define lt_ptr_t void * +#else +# define lt_ptr_t char * +# define const +#endif + +/* The mapping between symbol names and symbols. */ +const struct { + const char *name; + lt_ptr_t address; +} +lt_preloaded_symbols[] = +{ +EOF + $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext + cat <<\EOF >> conftest.$ac_ext + {0, (lt_ptr_t) 0} +}; + +#ifdef __cplusplus +} +#endif +EOF + # Now try linking the two files. + mv conftest.$ac_objext conftstm.$ac_objext + lt_save_LIBS="$LIBS" + lt_save_CFLAGS="$CFLAGS" + LIBS="conftstm.$ac_objext" + CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 + (eval $ac_link) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } && test -s conftest${ac_exeext}; then + pipe_works=yes + fi + LIBS="$lt_save_LIBS" + CFLAGS="$lt_save_CFLAGS" + else + echo "cannot find nm_test_func in $nlist" >&5 + fi + else + echo "cannot find nm_test_var in $nlist" >&5 + fi + else + echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 + fi + else + echo "$progname: failed program was:" >&5 + cat conftest.$ac_ext >&5 + fi + rm -f conftest* conftst* + + # Do not use the global_symbol_pipe unless it works. + if test "$pipe_works" = yes; then + break + else + lt_cv_sys_global_symbol_pipe= + fi +done + +fi + +if test -z "$lt_cv_sys_global_symbol_pipe"; then + lt_cv_sys_global_symbol_to_cdecl= +fi +if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5 +$as_echo "failed" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 +$as_echo "ok" >&6; } +fi + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 +$as_echo_n "checking for objdir... " >&6; } +if test "${lt_cv_objdir+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + rm -f .libs 2>/dev/null +mkdir .libs 2>/dev/null +if test -d .libs; then + lt_cv_objdir=.libs +else + # MS-DOS does not allow filenames that begin with a dot. + lt_cv_objdir=_libs +fi +rmdir .libs 2>/dev/null +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 +$as_echo "$lt_cv_objdir" >&6; } +objdir=$lt_cv_objdir + + + + + +case $host_os in +aix3*) + # AIX sometimes has problems with the GCC collect2 program. For some + # reason, if we set the COLLECT_NAMES environment variable, the problems + # vanish in a puff of smoke. + if test "X${COLLECT_NAMES+set}" != Xset; then + COLLECT_NAMES= + export COLLECT_NAMES + fi + ;; +esac + +# Sed substitution that helps us do robust quoting. It backslashifies +# metacharacters that are still active within double-quoted strings. +Xsed='sed -e s/^X//' +sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g' + +# Same as above, but do not quote variable references. +double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g' + +# Sed substitution to delay expansion of an escaped shell variable in a +# double_quote_subst'ed string. +delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' + +# Sed substitution to avoid accidental globbing in evaled expressions +no_glob_subst='s/\*/\\\*/g' + +# Constants: +rm="rm -f" + +# Global variables: +default_ofile=libtool +can_build_shared=yes + +# All known linkers require a `.a' archive for static linking (except M$VC, +# which needs '.lib'). +libext=a +ltmain="$ac_aux_dir/ltmain.sh" +ofile="$default_ofile" +with_gnu_ld="$lt_cv_prog_gnu_ld" + +if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. +set dummy ${ac_tool_prefix}ar; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if test "${ac_cv_prog_AR+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$AR"; then + ac_cv_prog_AR="$AR" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_AR="${ac_tool_prefix}ar" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +AR=$ac_cv_prog_AR +if test -n "$AR"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 +$as_echo "$AR" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_AR"; then + ac_ct_AR=$AR + # Extract the first word of "ar", so it can be a program name with args. +set dummy ar; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if test "${ac_cv_prog_ac_ct_AR+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_AR"; then + ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_ac_ct_AR="ar" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_AR=$ac_cv_prog_ac_ct_AR +if test -n "$ac_ct_AR"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 +$as_echo "$ac_ct_AR" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_ct_AR" = x; then + AR="false" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + AR=$ac_ct_AR + fi +else + AR="$ac_cv_prog_AR" +fi + +if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. +set dummy ${ac_tool_prefix}ranlib; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if test "${ac_cv_prog_RANLIB+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$RANLIB"; then + ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +RANLIB=$ac_cv_prog_RANLIB +if test -n "$RANLIB"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 +$as_echo "$RANLIB" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_RANLIB"; then + ac_ct_RANLIB=$RANLIB + # Extract the first word of "ranlib", so it can be a program name with args. +set dummy ranlib; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_RANLIB"; then + ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_ac_ct_RANLIB="ranlib" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB +if test -n "$ac_ct_RANLIB"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 +$as_echo "$ac_ct_RANLIB" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_ct_RANLIB" = x; then + RANLIB=":" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + RANLIB=$ac_ct_RANLIB + fi +else + RANLIB="$ac_cv_prog_RANLIB" +fi + +if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. +set dummy ${ac_tool_prefix}strip; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if test "${ac_cv_prog_STRIP+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$STRIP"; then + ac_cv_prog_STRIP="$STRIP" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_STRIP="${ac_tool_prefix}strip" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +STRIP=$ac_cv_prog_STRIP +if test -n "$STRIP"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 +$as_echo "$STRIP" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_STRIP"; then + ac_ct_STRIP=$STRIP + # Extract the first word of "strip", so it can be a program name with args. +set dummy strip; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_STRIP"; then + ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_ac_ct_STRIP="strip" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP +if test -n "$ac_ct_STRIP"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 +$as_echo "$ac_ct_STRIP" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_ct_STRIP" = x; then + STRIP=":" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + STRIP=$ac_ct_STRIP + fi +else + STRIP="$ac_cv_prog_STRIP" +fi + + +old_CC="$CC" +old_CFLAGS="$CFLAGS" + +# Set sane defaults for various variables +test -z "$AR" && AR=ar +test -z "$AR_FLAGS" && AR_FLAGS=cru +test -z "$AS" && AS=as +test -z "$CC" && CC=cc +test -z "$LTCC" && LTCC=$CC +test -z "$DLLTOOL" && DLLTOOL=dlltool +test -z "$LD" && LD=ld +test -z "$LN_S" && LN_S="ln -s" +test -z "$MAGIC_CMD" && MAGIC_CMD=file +test -z "$NM" && NM=nm +test -z "$SED" && SED=sed +test -z "$OBJDUMP" && OBJDUMP=objdump +test -z "$RANLIB" && RANLIB=: +test -z "$STRIP" && STRIP=: +test -z "$ac_objext" && ac_objext=o + +# Determine commands to create old-style static archives. +old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs' +old_postinstall_cmds='chmod 644 $oldlib' +old_postuninstall_cmds= + +if test -n "$RANLIB"; then + case $host_os in + openbsd*) + old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds" + ;; + *) + old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds" + ;; + esac + old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" +fi + +# Only perform the check for file, if the check method requires it +case $deplibs_check_method in +file_magic*) + if test "$file_magic_cmd" = '$MAGIC_CMD'; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 +$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } +if test "${lt_cv_path_MAGIC_CMD+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + case $MAGIC_CMD in +[\\/*] | ?:[\\/]*) + lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. + ;; +*) + lt_save_MAGIC_CMD="$MAGIC_CMD" + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR + ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" + for ac_dir in $ac_dummy; do + IFS="$lt_save_ifs" + test -z "$ac_dir" && ac_dir=. + if test -f $ac_dir/${ac_tool_prefix}file; then + lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file" + if test -n "$file_magic_test_file"; then + case $deplibs_check_method in + "file_magic "*) + file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`" + MAGIC_CMD="$lt_cv_path_MAGIC_CMD" + if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | + $EGREP "$file_magic_regex" > /dev/null; then + : + else + cat <&2 + +*** Warning: the command libtool uses to detect shared libraries, +*** $file_magic_cmd, produces output that libtool cannot recognize. +*** The result is that libtool may fail to recognize shared libraries +*** as such. This will affect the creation of libtool libraries that +*** depend on shared libraries, but programs linked with such libtool +*** libraries will work regardless of this problem. Nevertheless, you +*** may want to report the problem to your system manager and/or to +*** bug-libtool@gnu.org + +EOF + fi ;; + esac + fi + break + fi + done + IFS="$lt_save_ifs" + MAGIC_CMD="$lt_save_MAGIC_CMD" + ;; +esac +fi + +MAGIC_CMD="$lt_cv_path_MAGIC_CMD" +if test -n "$MAGIC_CMD"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 +$as_echo "$MAGIC_CMD" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + +if test -z "$lt_cv_path_MAGIC_CMD"; then + if test -n "$ac_tool_prefix"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 +$as_echo_n "checking for file... " >&6; } +if test "${lt_cv_path_MAGIC_CMD+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + case $MAGIC_CMD in +[\\/*] | ?:[\\/]*) + lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. + ;; +*) + lt_save_MAGIC_CMD="$MAGIC_CMD" + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR + ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" + for ac_dir in $ac_dummy; do + IFS="$lt_save_ifs" + test -z "$ac_dir" && ac_dir=. + if test -f $ac_dir/file; then + lt_cv_path_MAGIC_CMD="$ac_dir/file" + if test -n "$file_magic_test_file"; then + case $deplibs_check_method in + "file_magic "*) + file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`" + MAGIC_CMD="$lt_cv_path_MAGIC_CMD" + if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | + $EGREP "$file_magic_regex" > /dev/null; then + : + else + cat <&2 + +*** Warning: the command libtool uses to detect shared libraries, +*** $file_magic_cmd, produces output that libtool cannot recognize. +*** The result is that libtool may fail to recognize shared libraries +*** as such. This will affect the creation of libtool libraries that +*** depend on shared libraries, but programs linked with such libtool +*** libraries will work regardless of this problem. Nevertheless, you +*** may want to report the problem to your system manager and/or to +*** bug-libtool@gnu.org + +EOF + fi ;; + esac + fi + break + fi + done + IFS="$lt_save_ifs" + MAGIC_CMD="$lt_save_MAGIC_CMD" + ;; +esac +fi + +MAGIC_CMD="$lt_cv_path_MAGIC_CMD" +if test -n "$MAGIC_CMD"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 +$as_echo "$MAGIC_CMD" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + else + MAGIC_CMD=: + fi +fi + + fi + ;; +esac + +enable_dlopen=no +enable_win32_dll=no + +# Check whether --enable-libtool-lock was given. +if test "${enable_libtool_lock+set}" = set; then : + enableval=$enable_libtool_lock; +fi + +test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes + + +# Check whether --with-pic was given. +if test "${with_pic+set}" = set; then : + withval=$with_pic; pic_mode="$withval" +else + pic_mode=default +fi + +test -z "$pic_mode" && pic_mode=default + +# Use C for the default configuration in the libtool script +tagname= +lt_save_CC="$CC" +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + + +# Source file extension for C test sources. +ac_ext=c + +# Object file extension for compiled C test sources. +objext=o +objext=$objext + +# Code to be used in simple compile tests +lt_simple_compile_test_code="int some_variable = 0;\n" + +# Code to be used in simple link tests +lt_simple_link_test_code='int main(){return(0);}\n' + + +# If no C compiler was specified, use CC. +LTCC=${LTCC-"$CC"} + +# Allow CC to be a program name with arguments. +compiler=$CC + + +# +# Check for any special shared library compilation flags. +# +lt_prog_cc_shlib= +if test "$GCC" = no; then + case $host_os in + sco3.2v5*) + lt_prog_cc_shlib='-belf' + ;; + esac +fi +if test -n "$lt_prog_cc_shlib"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&5 +$as_echo "$as_me: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&2;} + if echo "$old_CC $old_CFLAGS " | grep "[ ]$lt_prog_cc_shlib[ ]" >/dev/null; then : + else + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5 +$as_echo "$as_me: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;} + lt_cv_prog_cc_can_build_shared=no + fi +fi + + +# +# Check to make sure the static flag actually works. +# +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_prog_compiler_static works" >&5 +$as_echo_n "checking if $compiler static flag $lt_prog_compiler_static works... " >&6; } +if test "${lt_prog_compiler_static_works+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + lt_prog_compiler_static_works=no + save_LDFLAGS="$LDFLAGS" + LDFLAGS="$LDFLAGS $lt_prog_compiler_static" + printf "$lt_simple_link_test_code" > conftest.$ac_ext + if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings + if test -s conftest.err; then + # Append any errors to the config.log. + cat conftest.err 1>&5 + else + lt_prog_compiler_static_works=yes + fi + fi + $rm conftest* + LDFLAGS="$save_LDFLAGS" + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_static_works" >&5 +$as_echo "$lt_prog_compiler_static_works" >&6; } + +if test x"$lt_prog_compiler_static_works" = xyes; then + : +else + lt_prog_compiler_static= +fi + + + + +lt_prog_compiler_no_builtin_flag= + +if test "$GCC" = yes; then + lt_prog_compiler_no_builtin_flag=' -fno-builtin' + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 +$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } +if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + lt_cv_prog_compiler_rtti_exceptions=no + ac_outfile=conftest.$ac_objext + printf "$lt_simple_compile_test_code" > conftest.$ac_ext + lt_compiler_flag="-fno-rtti -fno-exceptions" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + # The option is referenced via a variable to avoid confusing sed. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:7002: $lt_compile\"" >&5) + (eval "$lt_compile" 2>conftest.err) + ac_status=$? + cat conftest.err >&5 + echo "$as_me:7006: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s "$ac_outfile"; then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings + if test ! -s conftest.err; then + lt_cv_prog_compiler_rtti_exceptions=yes + fi + fi + $rm conftest* + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 +$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } + +if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then + lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" +else + : +fi + +fi + +lt_prog_compiler_wl= +lt_prog_compiler_pic= +lt_prog_compiler_static= + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 +$as_echo_n "checking for $compiler option to produce PIC... " >&6; } + + if test "$GCC" = yes; then + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_static='-static' + + case $host_os in + aix*) + # All AIX code is PIC. + if test "$host_cpu" = ia64; then + # AIX 5 now supports IA64 processor + lt_prog_compiler_static='-Bstatic' + fi + ;; + + amigaos*) + # FIXME: we need at least 68020 code to build shared libraries, but + # adding the `-m68020' flag to GCC prevents building anything better, + # like `-m68040'. + lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' + ;; + + beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) + # PIC is the default for these OSes. + ;; + + mingw* | pw32* | os2*) + # This hack is so that the source file can tell whether it is being + # built for inclusion in a dll (and should export symbols for example). + lt_prog_compiler_pic='-DDLL_EXPORT' + ;; + + darwin* | rhapsody*) + # PIC is the default on this platform + # Common symbols not allowed in MH_DYLIB files + lt_prog_compiler_pic='-fno-common' + ;; + + msdosdjgpp*) + # Just because we use GCC doesn't mean we suddenly get shared libraries + # on systems that don't support them. + lt_prog_compiler_can_build_shared=no + enable_shared=no + ;; + + sysv4*MP*) + if test -d /usr/nec; then + lt_prog_compiler_pic=-Kconform_pic + fi + ;; + + hpux*) + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but + # not for PA HP-UX. + case "$host_cpu" in + hppa*64*|ia64*) + # +Z the default + ;; + *) + lt_prog_compiler_pic='-fPIC' + ;; + esac + ;; + + *) + lt_prog_compiler_pic='-fPIC' + ;; + esac + else + # PORTME Check for flag to pass linker flags through the system compiler. + case $host_os in + aix*) + lt_prog_compiler_wl='-Wl,' + if test "$host_cpu" = ia64; then + # AIX 5 now supports IA64 processor + lt_prog_compiler_static='-Bstatic' + else + lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' + fi + ;; + + mingw* | pw32* | os2*) + # This hack is so that the source file can tell whether it is being + # built for inclusion in a dll (and should export symbols for example). + lt_prog_compiler_pic='-DDLL_EXPORT' + ;; + + hpux9* | hpux10* | hpux11*) + lt_prog_compiler_wl='-Wl,' + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but + # not for PA HP-UX. + case "$host_cpu" in + hppa*64*|ia64*) + # +Z the default + ;; + *) + lt_prog_compiler_pic='+Z' + ;; + esac + # Is there a better lt_prog_compiler_static that works with the bundled CC? + lt_prog_compiler_static='${wl}-a ${wl}archive' + ;; + + irix5* | irix6* | nonstopux*) + lt_prog_compiler_wl='-Wl,' + # PIC (with -KPIC) is the default. + lt_prog_compiler_static='-non_shared' + ;; + + newsos6) + lt_prog_compiler_pic='-KPIC' + lt_prog_compiler_static='-Bstatic' + ;; + + linux*) + case $CC in + icc* | ecc*) + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_pic='-KPIC' + lt_prog_compiler_static='-static' + ;; + ccc*) + lt_prog_compiler_wl='-Wl,' + # All Alpha code is PIC. + lt_prog_compiler_static='-non_shared' + ;; + esac + ;; + + osf3* | osf4* | osf5*) + lt_prog_compiler_wl='-Wl,' + # All OSF/1 code is PIC. + lt_prog_compiler_static='-non_shared' + ;; + + sco3.2v5*) + lt_prog_compiler_pic='-Kpic' + lt_prog_compiler_static='-dn' + ;; + + solaris*) + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_pic='-KPIC' + lt_prog_compiler_static='-Bstatic' + ;; + + sunos4*) + lt_prog_compiler_wl='-Qoption ld ' + lt_prog_compiler_pic='-PIC' + lt_prog_compiler_static='-Bstatic' + ;; + + sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_pic='-KPIC' + lt_prog_compiler_static='-Bstatic' + ;; + + sysv4*MP*) + if test -d /usr/nec ;then + lt_prog_compiler_pic='-Kconform_pic' + lt_prog_compiler_static='-Bstatic' + fi + ;; + + uts4*) + lt_prog_compiler_pic='-pic' + lt_prog_compiler_static='-Bstatic' + ;; + + *) + lt_prog_compiler_can_build_shared=no + ;; + esac + fi + +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5 +$as_echo "$lt_prog_compiler_pic" >&6; } + +# +# Check to make sure the PIC flag actually works. +# +if test -n "$lt_prog_compiler_pic"; then + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 +$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } +if test "${lt_prog_compiler_pic_works+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + lt_prog_compiler_pic_works=no + ac_outfile=conftest.$ac_objext + printf "$lt_simple_compile_test_code" > conftest.$ac_ext + lt_compiler_flag="$lt_prog_compiler_pic -DPIC" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + # The option is referenced via a variable to avoid confusing sed. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:7235: $lt_compile\"" >&5) + (eval "$lt_compile" 2>conftest.err) + ac_status=$? + cat conftest.err >&5 + echo "$as_me:7239: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s "$ac_outfile"; then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings + if test ! -s conftest.err; then + lt_prog_compiler_pic_works=yes + fi + fi + $rm conftest* + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_works" >&5 +$as_echo "$lt_prog_compiler_pic_works" >&6; } + +if test x"$lt_prog_compiler_pic_works" = xyes; then + case $lt_prog_compiler_pic in + "" | " "*) ;; + *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; + esac +else + lt_prog_compiler_pic= + lt_prog_compiler_can_build_shared=no +fi + +fi +case "$host_os" in + # For platforms which do not support PIC, -DPIC is meaningless: + *djgpp*) + lt_prog_compiler_pic= + ;; + *) + lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" + ;; +esac + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 +$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } +if test "${lt_cv_prog_compiler_c_o+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + lt_cv_prog_compiler_c_o=no + $rm -r conftest 2>/dev/null + mkdir conftest + cd conftest + mkdir out + printf "$lt_simple_compile_test_code" > conftest.$ac_ext + + lt_compiler_flag="-o out/conftest2.$ac_objext" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:7295: $lt_compile\"" >&5) + (eval "$lt_compile" 2>out/conftest.err) + ac_status=$? + cat out/conftest.err >&5 + echo "$as_me:7299: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s out/conftest2.$ac_objext + then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings + if test ! -s out/conftest.err; then + lt_cv_prog_compiler_c_o=yes + fi + fi + chmod u+w . + $rm conftest* + # SGI C++ compiler will create directory out/ii_files/ for + # template instantiation + test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files + $rm out/* && rmdir out + cd .. + rmdir conftest + $rm conftest* + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 +$as_echo "$lt_cv_prog_compiler_c_o" >&6; } + + +hard_links="nottested" +if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then + # do not overwrite the value of need_locks provided by the user + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 +$as_echo_n "checking if we can lock with hard links... " >&6; } + hard_links=yes + $rm conftest* + ln conftest.a conftest.b 2>/dev/null && hard_links=no + touch conftest.a + ln conftest.a conftest.b 2>&5 || hard_links=no + ln conftest.a conftest.b 2>/dev/null && hard_links=no + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 +$as_echo "$hard_links" >&6; } + if test "$hard_links" = no; then + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 +$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} + need_locks=warn + fi +else + need_locks=no +fi + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 +$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } + + runpath_var= + allow_undefined_flag= + enable_shared_with_static_runtimes=no + archive_cmds= + archive_expsym_cmds= + old_archive_From_new_cmds= + old_archive_from_expsyms_cmds= + export_dynamic_flag_spec= + whole_archive_flag_spec= + thread_safe_flag_spec= + hardcode_libdir_flag_spec= + hardcode_libdir_flag_spec_ld= + hardcode_libdir_separator= + hardcode_direct=no + hardcode_minus_L=no + hardcode_shlibpath_var=unsupported + link_all_deplibs=unknown + hardcode_automatic=no + module_cmds= + module_expsym_cmds= + always_export_symbols=no + export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' + # include_expsyms should be a list of space-separated symbols to be *always* + # included in the symbol list + include_expsyms= + # exclude_expsyms can be an extended regexp of symbols to exclude + # it will be wrapped by ` (' and `)$', so one must not match beginning or + # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', + # as well as any symbol that contains `d'. + exclude_expsyms="_GLOBAL_OFFSET_TABLE_" + # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out + # platforms (ab)use it in PIC code, but their linkers get confused if + # the symbol is explicitly referenced. Since portable code cannot + # rely on this symbol name, it's probably fine to never include it in + # preloaded symbol tables. + extract_expsyms_cmds= + + case $host_os in + cygwin* | mingw* | pw32*) + # FIXME: the MSVC++ port hasn't been tested in a loooong time + # When not using gcc, we currently assume that we are using + # Microsoft Visual C++. + if test "$GCC" != yes; then + with_gnu_ld=no + fi + ;; + openbsd*) + with_gnu_ld=no + ;; + esac + + ld_shlibs=yes + if test "$with_gnu_ld" = yes; then + # If archive_cmds runs LD, not CC, wlarc should be empty + wlarc='${wl}' + + # See if GNU ld supports shared libraries. + case $host_os in + aix3* | aix4* | aix5*) + # On AIX/PPC, the GNU linker is very broken + if test "$host_cpu" != ia64; then + ld_shlibs=no + cat <&2 + +*** Warning: the GNU linker, at least up to release 2.9.1, is reported +*** to be unable to reliably create shared libraries on AIX. +*** Therefore, libtool is disabling shared libraries support. If you +*** really care for shared libraries, you may want to modify your PATH +*** so that a non-GNU linker is found, and then restart. + +EOF + fi + ;; + + amigaos*) + archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' + hardcode_libdir_flag_spec='-L$libdir' + hardcode_minus_L=yes + + # Samuel A. Falvo II reports + # that the semantics of dynamic libraries on AmigaOS, at least up + # to version 4, is to share data among multiple programs linked + # with the same dynamic library. Since this doesn't match the + # behavior of shared libraries on other platforms, we can't use + # them. + ld_shlibs=no + ;; + + beos*) + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + allow_undefined_flag=unsupported + # Joseph Beckenbach says some releases of gcc + # support --undefined. This deserves some investigation. FIXME + archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + else + ld_shlibs=no + fi + ;; + + cygwin* | mingw* | pw32*) + # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, + # as there is no search path for DLLs. + hardcode_libdir_flag_spec='-L$libdir' + allow_undefined_flag=unsupported + always_export_symbols=no + enable_shared_with_static_runtimes=yes + export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols' + + if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' + # If the export-symbols file already is a .def file (1st line + # is EXPORTS), use it as is; otherwise, prepend... + archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then + cp $export_symbols $output_objdir/$soname.def; + else + echo EXPORTS > $output_objdir/$soname.def; + cat $export_symbols >> $output_objdir/$soname.def; + fi~ + $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' + else + ld_shlibs=no + fi + ;; + + netbsd*) + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' + wlarc= + else + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + fi + ;; + + solaris* | sysv5*) + if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then + ld_shlibs=no + cat <&2 + +*** Warning: The releases 2.8.* of the GNU linker cannot reliably +*** create shared libraries on Solaris systems. Therefore, libtool +*** is disabling shared libraries support. We urge you to upgrade GNU +*** binutils to release 2.9.1 or newer. Another option is to modify +*** your PATH or compiler configuration so that the native linker is +*** used, and then restart. + +EOF + elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + else + ld_shlibs=no + fi + ;; + + sunos4*) + archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' + wlarc= + hardcode_direct=yes + hardcode_shlibpath_var=no + ;; + + linux*) + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_cmds="$tmp_archive_cmds" + supports_anon_versioning=no + case `$LD -v 2>/dev/null` in + *\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 + *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... + *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... + *\ 2.11.*) ;; # other 2.11 versions + *) supports_anon_versioning=yes ;; + esac + if test $supports_anon_versioning = yes; then + archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~ +cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ +$echo "local: *; };" >> $output_objdir/$libname.ver~ + $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' + else + archive_expsym_cmds="$tmp_archive_cmds" + fi + else + ld_shlibs=no + fi + ;; + + *) + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + else + ld_shlibs=no + fi + ;; + esac + + if test "$ld_shlibs" = yes; then + runpath_var=LD_RUN_PATH + hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir' + export_dynamic_flag_spec='${wl}--export-dynamic' + # ancient GNU ld didn't support --whole-archive et. al. + if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then + whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' + else + whole_archive_flag_spec= + fi + fi + else + # PORTME fill in a description of your system's linker (not GNU ld) + case $host_os in + aix3*) + allow_undefined_flag=unsupported + always_export_symbols=yes + archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' + # Note: this linker hardcodes the directories in LIBPATH if there + # are no directories specified by -L. + hardcode_minus_L=yes + if test "$GCC" = yes && test -z "$link_static_flag"; then + # Neither direct hardcoding nor static linking is supported with a + # broken collect2. + hardcode_direct=unsupported + fi + ;; + + aix4* | aix5*) + if test "$host_cpu" = ia64; then + # On IA64, the linker does run time linking by default, so we don't + # have to do anything special. + aix_use_runtimelinking=no + exp_sym_flag='-Bexport' + no_entry_flag="" + else + # If we're using GNU nm, then we don't want the "-C" option. + # -C means demangle to AIX nm, but means don't demangle with GNU nm + if $NM -V 2>&1 | grep 'GNU' > /dev/null; then + export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' + else + export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' + fi + aix_use_runtimelinking=no + + # Test if we are trying to use run time linking or normal + # AIX style linking. If -brtl is somewhere in LDFLAGS, we + # need to do runtime linking. + case $host_os in aix4.[23]|aix4.[23].*|aix5*) + for ld_flag in $LDFLAGS; do + if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then + aix_use_runtimelinking=yes + break + fi + done + esac + + exp_sym_flag='-bexport' + no_entry_flag='-bnoentry' + fi + + # When large executables or shared objects are built, AIX ld can + # have problems creating the table of contents. If linking a library + # or program results in "error TOC overflow" add -mminimal-toc to + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. + + archive_cmds='' + hardcode_direct=yes + hardcode_libdir_separator=':' + link_all_deplibs=yes + + if test "$GCC" = yes; then + case $host_os in aix4.012|aix4.012.*) + # We only want to do this on AIX 4.2 and lower, the check + # below for broken collect2 doesn't work under 4.3+ + collect2name=`${CC} -print-prog-name=collect2` + if test -f "$collect2name" && \ + strings "$collect2name" | grep resolve_lib_name >/dev/null + then + # We have reworked collect2 + hardcode_direct=yes + else + # We have old collect2 + hardcode_direct=unsupported + # It fails to find uninstalled libraries when the uninstalled + # path is not listed in the libpath. Setting hardcode_minus_L + # to unsupported forces relinking + hardcode_minus_L=yes + hardcode_libdir_flag_spec='-L$libdir' + hardcode_libdir_separator= + fi + esac + shared_flag='-shared' + else + # not using gcc + if test "$host_cpu" = ia64; then + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release + # chokes on -Wl,-G. The following line is correct: + shared_flag='-G' + else + if test "$aix_use_runtimelinking" = yes; then + shared_flag='${wl}-G' + else + shared_flag='${wl}-bM:SRE' + fi + fi + fi + + # It seems that -bexpall does not export symbols beginning with + # underscore (_), so it is better to generate a list of symbols to export. + always_export_symbols=yes + if test "$aix_use_runtimelinking" = yes; then + # Warning - without using the other runtime loading flags (-brtl), + # -berok will link without error, but may produce a broken library. + allow_undefined_flag='-berok' + # Determine the default libpath from the value encoded in an empty executable. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'` +# Check for a 64-bit object if we didn't find anything. +if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'`; fi +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi + + hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" + archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag" + else + if test "$host_cpu" = ia64; then + hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' + allow_undefined_flag="-z nodefs" + archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols" + else + # Determine the default libpath from the value encoded in an empty executable. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'` +# Check for a 64-bit object if we didn't find anything. +if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'`; fi +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi + + hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" + # Warning - without using the other run time loading flags, + # -berok will link without error, but may produce a broken library. + no_undefined_flag=' ${wl}-bernotok' + allow_undefined_flag=' ${wl}-berok' + # -bexpall does not export symbols beginning with underscore (_) + always_export_symbols=yes + # Exported symbols can be pulled into shared objects from archives + whole_archive_flag_spec=' ' + archive_cmds_need_lc=yes + # This is similar to how AIX traditionally builds it's shared libraries. + archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' + fi + fi + ;; + + amigaos*) + archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' + hardcode_libdir_flag_spec='-L$libdir' + hardcode_minus_L=yes + # see comment about different semantics on the GNU ld section + ld_shlibs=no + ;; + + bsdi4*) + export_dynamic_flag_spec=-rdynamic + ;; + + cygwin* | mingw* | pw32*) + # When not using gcc, we currently assume that we are using + # Microsoft Visual C++. + # hardcode_libdir_flag_spec is actually meaningless, as there is + # no search path for DLLs. + hardcode_libdir_flag_spec=' ' + allow_undefined_flag=unsupported + # Tell ltmain to make .lib files, not .a files. + libext=lib + # Tell ltmain to make .dll files, not .so files. + shrext_cmds=".dll" + # FIXME: Setting linknames here is a bad hack. + archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames=' + # The linker will automatically build a .lib file if we build a DLL. + old_archive_From_new_cmds='true' + # FIXME: Should let the user specify the lib program. + old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs' + fix_srcfile_path='`cygpath -w "$srcfile"`' + enable_shared_with_static_runtimes=yes + ;; + + darwin* | rhapsody*) + if test "$GXX" = yes ; then + archive_cmds_need_lc=no + case "$host_os" in + rhapsody* | darwin1.[012]) + allow_undefined_flag='-undefined suppress' + ;; + *) # Darwin 1.3 on + if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then + allow_undefined_flag='-flat_namespace -undefined suppress' + else + case ${MACOSX_DEPLOYMENT_TARGET} in + 10.[012]) + allow_undefined_flag='-flat_namespace -undefined suppress' + ;; + 10.*) + allow_undefined_flag='-undefined dynamic_lookup' + ;; + esac + fi + ;; + esac + lt_int_apple_cc_single_mod=no + output_verbose_link_cmd='echo' + if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then + lt_int_apple_cc_single_mod=yes + fi + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then + archive_cmds='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' + else + archive_cmds='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring' + fi + module_cmds='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then + archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + else + archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + fi + module_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + hardcode_direct=no + hardcode_automatic=yes + hardcode_shlibpath_var=unsupported + whole_archive_flag_spec='-all_load $convenience' + link_all_deplibs=yes + else + ld_shlibs=no + fi + ;; + + dgux*) + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_libdir_flag_spec='-L$libdir' + hardcode_shlibpath_var=no + ;; + + freebsd1*) + ld_shlibs=no + ;; + + # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor + # support. Future versions do this automatically, but an explicit c++rt0.o + # does not break anything, and helps significantly (at the cost of a little + # extra space). + freebsd2.2*) + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' + hardcode_libdir_flag_spec='-R$libdir' + hardcode_direct=yes + hardcode_shlibpath_var=no + ;; + + # Unfortunately, older versions of FreeBSD 2 do not have this feature. + freebsd2*) + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct=yes + hardcode_minus_L=yes + hardcode_shlibpath_var=no + ;; + + # FreeBSD 3 and greater uses gcc -shared to do shared libraries. + freebsd* | kfreebsd*-gnu) + archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' + hardcode_libdir_flag_spec='-R$libdir' + hardcode_direct=yes + hardcode_shlibpath_var=no + ;; + + hpux9*) + if test "$GCC" = yes; then + archive_cmds='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + else + archive_cmds='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + fi + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' + hardcode_libdir_separator=: + hardcode_direct=yes + + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + hardcode_minus_L=yes + export_dynamic_flag_spec='${wl}-E' + ;; + + hpux10* | hpux11*) + if test "$GCC" = yes -a "$with_gnu_ld" = no; then + case "$host_cpu" in + hppa*64*|ia64*) + archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + ;; + *) + archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' + ;; + esac + else + case "$host_cpu" in + hppa*64*|ia64*) + archive_cmds='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags' + ;; + *) + archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' + ;; + esac + fi + if test "$with_gnu_ld" = no; then + case "$host_cpu" in + hppa*64*) + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' + hardcode_libdir_flag_spec_ld='+b $libdir' + hardcode_libdir_separator=: + hardcode_direct=no + hardcode_shlibpath_var=no + ;; + ia64*) + hardcode_libdir_flag_spec='-L$libdir' + hardcode_direct=no + hardcode_shlibpath_var=no + + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + hardcode_minus_L=yes + ;; + *) + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' + hardcode_libdir_separator=: + hardcode_direct=yes + export_dynamic_flag_spec='${wl}-E' + + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + hardcode_minus_L=yes + ;; + esac + fi + ;; + + irix5* | irix6* | nonstopux*) + if test "$GCC" = yes; then + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + else + archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' + hardcode_libdir_flag_spec_ld='-rpath $libdir' + fi + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator=: + link_all_deplibs=yes + ;; + + netbsd*) + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out + else + archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF + fi + hardcode_libdir_flag_spec='-R$libdir' + hardcode_direct=yes + hardcode_shlibpath_var=no + ;; + + newsos6) + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct=yes + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator=: + hardcode_shlibpath_var=no + ;; + + openbsd*) + hardcode_direct=yes + hardcode_shlibpath_var=no + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' + hardcode_libdir_flag_spec='${wl}-rpath,$libdir' + export_dynamic_flag_spec='${wl}-E' + else + case $host_os in + openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' + hardcode_libdir_flag_spec='-R$libdir' + ;; + *) + archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' + hardcode_libdir_flag_spec='${wl}-rpath,$libdir' + ;; + esac + fi + ;; + + os2*) + hardcode_libdir_flag_spec='-L$libdir' + hardcode_minus_L=yes + allow_undefined_flag=unsupported + archive_cmds='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' + old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' + ;; + + osf3*) + if test "$GCC" = yes; then + allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' + archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + else + allow_undefined_flag=' -expect_unresolved \*' + archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' + fi + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator=: + ;; + + osf4* | osf5*) # as osf3* with the addition of -msym flag + if test "$GCC" = yes; then + allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' + archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' + else + allow_undefined_flag=' -expect_unresolved \*' + archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' + archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~ + $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp' + + # Both c and cxx compiler support -rpath directly + hardcode_libdir_flag_spec='-rpath $libdir' + fi + hardcode_libdir_separator=: + ;; + + sco3.2v5*) + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_shlibpath_var=no + export_dynamic_flag_spec='${wl}-Bexport' + runpath_var=LD_RUN_PATH + hardcode_runpath_var=yes + ;; + + solaris*) + no_undefined_flag=' -z text' + if test "$GCC" = yes; then + archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp' + else + archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' + archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' + fi + hardcode_libdir_flag_spec='-R$libdir' + hardcode_shlibpath_var=no + case $host_os in + solaris2.[0-5] | solaris2.[0-5].*) ;; + *) # Supported since Solaris 2.6 (maybe 2.5.1?) + whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;; + esac + link_all_deplibs=yes + ;; + + sunos4*) + if test "x$host_vendor" = xsequent; then + # Use $CC to link under sequent, because it throws in some extra .o + # files that make .init and .fini sections work. + archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' + else + archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' + fi + hardcode_libdir_flag_spec='-L$libdir' + hardcode_direct=yes + hardcode_minus_L=yes + hardcode_shlibpath_var=no + ;; + + sysv4) + case $host_vendor in + sni) + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct=yes # is this really true??? + ;; + siemens) + ## LD is ld it makes a PLAMLIB + ## CC just makes a GrossModule. + archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' + reload_cmds='$CC -r -o $output$reload_objs' + hardcode_direct=no + ;; + motorola) + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct=no #Motorola manual says yes, but my tests say they lie + ;; + esac + runpath_var='LD_RUN_PATH' + hardcode_shlibpath_var=no + ;; + + sysv4.3*) + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_shlibpath_var=no + export_dynamic_flag_spec='-Bexport' + ;; + + sysv4*MP*) + if test -d /usr/nec; then + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_shlibpath_var=no + runpath_var=LD_RUN_PATH + hardcode_runpath_var=yes + ld_shlibs=yes + fi + ;; + + sysv4.2uw2*) + archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct=yes + hardcode_minus_L=no + hardcode_shlibpath_var=no + hardcode_runpath_var=yes + runpath_var=LD_RUN_PATH + ;; + + sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*) + no_undefined_flag='${wl}-z ${wl}text' + if test "$GCC" = yes; then + archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + else + archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + fi + runpath_var='LD_RUN_PATH' + hardcode_shlibpath_var=no + ;; + + sysv5*) + no_undefined_flag=' -z text' + # $CC -shared without GNU ld will not create a library from C++ + # object files and a static libstdc++, better avoid it by now + archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' + archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' + hardcode_libdir_flag_spec= + hardcode_shlibpath_var=no + runpath_var='LD_RUN_PATH' + ;; + + uts4*) + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_libdir_flag_spec='-L$libdir' + hardcode_shlibpath_var=no + ;; + + *) + ld_shlibs=no + ;; + esac + fi + +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 +$as_echo "$ld_shlibs" >&6; } +test "$ld_shlibs" = no && can_build_shared=no + +variables_saved_for_relink="PATH $shlibpath_var $runpath_var" +if test "$GCC" = yes; then + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" +fi + +# +# Do we need to explicitly link libc? +# +case "x$archive_cmds_need_lc" in +x|xyes) + # Assume -lc should be added + archive_cmds_need_lc=yes + + if test "$enable_shared" = yes && test "$GCC" = yes; then + case $archive_cmds in + *'~'*) + # FIXME: we may have to deal with multi-command sequences. + ;; + '$CC '*) + # Test whether the compiler implicitly links with -lc since on some + # systems, -lgcc has to come before -lc. If gcc already passes -lc + # to ld, don't add -lc before -lgcc. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 +$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } + $rm conftest* + printf "$lt_simple_compile_test_code" > conftest.$ac_ext + + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } 2>conftest.err; then + soname=conftest + lib=conftest + libobjs=conftest.$ac_objext + deplibs= + wl=$lt_prog_compiler_wl + compiler_flags=-v + linker_flags=-v + verstring= + output_objdir=. + libname=conftest + lt_save_allow_undefined_flag=$allow_undefined_flag + allow_undefined_flag= + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\""; } >&5 + (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } + then + archive_cmds_need_lc=no + else + archive_cmds_need_lc=yes + fi + allow_undefined_flag=$lt_save_allow_undefined_flag + else + cat conftest.err 1>&5 + fi + $rm conftest* + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5 +$as_echo "$archive_cmds_need_lc" >&6; } + ;; + esac + fi + ;; +esac + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 +$as_echo_n "checking dynamic linker characteristics... " >&6; } +library_names_spec= +libname_spec='lib$name' +soname_spec= +shrext_cmds=".so" +postinstall_cmds= +postuninstall_cmds= +finish_cmds= +finish_eval= +shlibpath_var= +shlibpath_overrides_runpath=unknown +version_type=none +dynamic_linker="$host_os ld.so" +sys_lib_dlsearch_path_spec="/lib /usr/lib" +if test "$GCC" = yes; then + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` + if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then + # if the path contains ";" then we assume it to be the separator + # otherwise default to the standard path separator (i.e. ":") - it is + # assumed that no part of a normal pathname contains ";" but that should + # okay in the real world where ";" in dirpaths is itself problematic. + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` + else + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` + fi +else + sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" +fi +need_lib_prefix=unknown +hardcode_into_libs=no + +# when you set need_version to no, make sure it does not cause -set_version +# flags to be left without arguments +need_version=unknown + +case $host_os in +aix3*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' + shlibpath_var=LIBPATH + + # AIX 3 has no versioning support, so we append a major version to the name. + soname_spec='${libname}${release}${shared_ext}$major' + ;; + +aix4* | aix5*) + version_type=linux + need_lib_prefix=no + need_version=no + hardcode_into_libs=yes + if test "$host_cpu" = ia64; then + # AIX 5 supports IA64 + library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + else + # With GCC up to 2.95.x, collect2 would create an import file + # for dependence libraries. The import file would start with + # the line `#! .'. This would cause the generated library to + # depend on `.', always an invalid library. This was fixed in + # development snapshots of GCC prior to 3.0. + case $host_os in + aix4 | aix4.[01] | aix4.[01].*) + if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' + echo ' yes ' + echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then + : + else + can_build_shared=no + fi + ;; + esac + # AIX (on Power*) has no versioning support, so currently we can not hardcode correct + # soname into executable. Probably we can add versioning support to + # collect2, so additional links can be useful in future. + if test "$aix_use_runtimelinking" = yes; then + # If using run time linking (on AIX 4.2 or later) use lib.so + # instead of lib.a to let people know that these are not + # typical AIX shared libraries. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + else + # We preserve .a as extension for shared libraries through AIX4.2 + # and later when we are not doing run time linking. + library_names_spec='${libname}${release}.a $libname.a' + soname_spec='${libname}${release}${shared_ext}$major' + fi + shlibpath_var=LIBPATH + fi + ;; + +amigaos*) + library_names_spec='$libname.ixlibrary $libname.a' + # Create ${libname}_ixlibrary.a entries in /sys/libs. + finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' + ;; + +beos*) + library_names_spec='${libname}${shared_ext}' + dynamic_linker="$host_os ld.so" + shlibpath_var=LIBRARY_PATH + ;; + +bsdi4*) + version_type=linux + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' + shlibpath_var=LD_LIBRARY_PATH + sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" + sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" + # the default ld.so.conf also contains /usr/contrib/lib and + # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow + # libtool to hard-code these into programs + ;; + +cygwin* | mingw* | pw32*) + version_type=windows + shrext_cmds=".dll" + need_version=no + need_lib_prefix=no + + case $GCC,$host_os in + yes,cygwin* | yes,mingw* | yes,pw32*) + library_names_spec='$libname.dll.a' + # DLL is installed to $(libdir)/../bin by postinstall_cmds + postinstall_cmds='base_file=`basename \${file}`~ + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~ + dldir=$destdir/`dirname \$dlpath`~ + test -d \$dldir || mkdir -p \$dldir~ + $install_prog $dir/$dlname \$dldir/$dlname' + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ + dlpath=$dir/\$dldll~ + $rm \$dlpath' + shlibpath_overrides_runpath=yes + + case $host_os in + cygwin*) + # Cygwin DLLs use 'cyg' prefix rather than 'lib' + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' + sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" + ;; + mingw*) + # MinGW DLLs use traditional 'lib' prefix + soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` + if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then + # It is most probably a Windows format PATH printed by + # mingw gcc, but we are running on Cygwin. Gcc prints its search + # path with ; separators, and with drive letters. We can handle the + # drive letters (cygwin fileutils understands them), so leave them, + # especially as we might pass files found there to a mingw objdump, + # which wouldn't understand a cygwinified path. Ahh. + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` + else + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` + fi + ;; + pw32*) + # pw32 DLLs use 'pw' prefix rather than 'lib' + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}' + ;; + esac + ;; + + *) + library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' + ;; + esac + dynamic_linker='Win32 ld.exe' + # FIXME: first we should search . and the directory the executable is in + shlibpath_var=PATH + ;; + +darwin* | rhapsody*) + dynamic_linker="$host_os dyld" + version_type=darwin + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' + soname_spec='${libname}${release}${major}$shared_ext' + shlibpath_overrides_runpath=yes + shlibpath_var=DYLD_LIBRARY_PATH + shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)' + # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. + if test "$GCC" = yes; then + sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"` + else + sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib' + fi + sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' + ;; + +dgux*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + ;; + +freebsd1*) + dynamic_linker=no + ;; + +kfreebsd*-gnu) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + dynamic_linker='GNU ld.so' + ;; + +freebsd*) + objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` + version_type=freebsd-$objformat + case $version_type in + freebsd-elf*) + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' + need_version=no + need_lib_prefix=no + ;; + freebsd-*) + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' + need_version=yes + ;; + esac + shlibpath_var=LD_LIBRARY_PATH + case $host_os in + freebsd2*) + shlibpath_overrides_runpath=yes + ;; + freebsd3.01* | freebsdelf3.01*) + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + ;; + *) # from 3.2 on + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + ;; + esac + ;; + +gnu*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + hardcode_into_libs=yes + ;; + +hpux9* | hpux10* | hpux11*) + # Give a soname corresponding to the major version so that dld.sl refuses to + # link against other versions. + version_type=sunos + need_lib_prefix=no + need_version=no + case "$host_cpu" in + ia64*) + shrext_cmds='.so' + hardcode_into_libs=yes + dynamic_linker="$host_os dld.so" + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + if test "X$HPUX_IA64_MODE" = X32; then + sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" + else + sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" + fi + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec + ;; + hppa*64*) + shrext_cmds='.sl' + hardcode_into_libs=yes + dynamic_linker="$host_os dld.sl" + shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec + ;; + *) + shrext_cmds='.sl' + dynamic_linker="$host_os dld.sl" + shlibpath_var=SHLIB_PATH + shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + ;; + esac + # HP-UX runs *really* slowly unless shared libraries are mode 555. + postinstall_cmds='chmod 555 $lib' + ;; + +irix5* | irix6* | nonstopux*) + case $host_os in + nonstopux*) version_type=nonstopux ;; + *) + if test "$lt_cv_prog_gnu_ld" = yes; then + version_type=linux + else + version_type=irix + fi ;; + esac + need_lib_prefix=no + need_version=no + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' + case $host_os in + irix5* | nonstopux*) + libsuff= shlibsuff= + ;; + *) + case $LD in # libtool.m4 will add one of these switches to LD + *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") + libsuff= shlibsuff= libmagic=32-bit;; + *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") + libsuff=32 shlibsuff=N32 libmagic=N32;; + *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") + libsuff=64 shlibsuff=64 libmagic=64-bit;; + *) libsuff= shlibsuff= libmagic=never-match;; + esac + ;; + esac + shlibpath_var=LD_LIBRARY${shlibsuff}_PATH + shlibpath_overrides_runpath=no + sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" + sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" + hardcode_into_libs=yes + ;; + +# No shared lib support for Linux oldld, aout, or coff. +linux*oldld* | linux*aout* | linux*coff*) + dynamic_linker=no + ;; + +# This must be Linux ELF. +linux*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + # This implies no fast_install, which is unacceptable. + # Some rework will be needed to allow for fast_install + # before this can be enabled. + hardcode_into_libs=yes + + # find out which ABI we are using + libsuff= + case "$host_cpu" in + x86_64*|s390x*|powerpc64*) + echo '#line 8571 "configure"' > conftest.$ac_ext + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + case `/usr/bin/file conftest.$ac_objext` in + *64-bit*) + libsuff=64 + sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}" + ;; + esac + fi + rm -rf conftest* + ;; + esac + + # Append ld.so.conf contents to the search path + if test -f /etc/ld.so.conf; then + lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '` + sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra" + fi + + # We used to test for /lib/ld.so.1 and disable shared libraries on + # powerpc, because MkLinux only supported shared libraries with the + # GNU dynamic linker. Since this was broken with cross compilers, + # most powerpc-linux boxes support dynamic linking these days and + # people can always --disable-shared, the test was removed, and we + # assume the GNU/Linux dynamic linker is in use. + dynamic_linker='GNU/Linux ld.so' + ;; + +knetbsd*-gnu) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + dynamic_linker='GNU ld.so' + ;; + +netbsd*) + version_type=sunos + need_lib_prefix=no + need_version=no + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' + dynamic_linker='NetBSD (a.out) ld.so' + else + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + dynamic_linker='NetBSD ld.elf_so' + fi + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + ;; + +newsos6) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + ;; + +nto-qnx*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + ;; + +openbsd*) + version_type=sunos + need_lib_prefix=no + need_version=yes + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' + shlibpath_var=LD_LIBRARY_PATH + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + case $host_os in + openbsd2.[89] | openbsd2.[89].*) + shlibpath_overrides_runpath=no + ;; + *) + shlibpath_overrides_runpath=yes + ;; + esac + else + shlibpath_overrides_runpath=yes + fi + ;; + +os2*) + libname_spec='$name' + shrext_cmds=".dll" + need_lib_prefix=no + library_names_spec='$libname${shared_ext} $libname.a' + dynamic_linker='OS/2 ld.exe' + shlibpath_var=LIBPATH + ;; + +osf3* | osf4* | osf5*) + version_type=osf + need_lib_prefix=no + need_version=no + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" + sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" + ;; + +sco3.2v5*) + version_type=osf + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + ;; + +solaris*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + # ldd complains unless libraries are executable + postinstall_cmds='chmod +x $lib' + ;; + +sunos4*) + version_type=sunos + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + if test "$with_gnu_ld" = yes; then + need_lib_prefix=no + fi + need_version=yes + ;; + +sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + case $host_vendor in + sni) + shlibpath_overrides_runpath=no + need_lib_prefix=no + export_dynamic_flag_spec='${wl}-Blargedynsym' + runpath_var=LD_RUN_PATH + ;; + siemens) + need_lib_prefix=no + ;; + motorola) + need_lib_prefix=no + need_version=no + shlibpath_overrides_runpath=no + sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' + ;; + esac + ;; + +sysv4*MP*) + if test -d /usr/nec ;then + version_type=linux + library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' + soname_spec='$libname${shared_ext}.$major' + shlibpath_var=LD_LIBRARY_PATH + fi + ;; + +uts4*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + ;; + +*) + dynamic_linker=no + ;; +esac +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 +$as_echo "$dynamic_linker" >&6; } +test "$dynamic_linker" = no && can_build_shared=no + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 +$as_echo_n "checking how to hardcode library paths into programs... " >&6; } +hardcode_action= +if test -n "$hardcode_libdir_flag_spec" || \ + test -n "$runpath_var " || \ + test "X$hardcode_automatic"="Xyes" ; then + + # We can hardcode non-existant directories. + if test "$hardcode_direct" != no && + # If the only mechanism to avoid hardcoding is shlibpath_var, we + # have to relink, otherwise we might link with an installed library + # when we should be linking with a yet-to-be-installed one + ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no && + test "$hardcode_minus_L" != no; then + # Linking always hardcodes the temporary library directory. + hardcode_action=relink + else + # We can link without hardcoding, and we can hardcode nonexisting dirs. + hardcode_action=immediate + fi +else + # We cannot hardcode anything, or else we can only hardcode existing + # directories. + hardcode_action=unsupported +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 +$as_echo "$hardcode_action" >&6; } + +if test "$hardcode_action" = relink; then + # Fast installation is not supported + enable_fast_install=no +elif test "$shlibpath_overrides_runpath" = yes || + test "$enable_shared" = no; then + # Fast installation is not necessary + enable_fast_install=needless +fi + +striplib= +old_striplib= +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 +$as_echo_n "checking whether stripping libraries is possible... " >&6; } +if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then + test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" + test -z "$striplib" && striplib="$STRIP --strip-unneeded" + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } +else +# FIXME - insert some real tests, host_os isn't really good enough + case $host_os in + darwin*) + if test -n "$STRIP" ; then + striplib="$STRIP -x" + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + ;; + *) + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + ;; + esac +fi + +if test "x$enable_dlopen" != xyes; then + enable_dlopen=unknown + enable_dlopen_self=unknown + enable_dlopen_self_static=unknown +else + lt_cv_dlopen=no + lt_cv_dlopen_libs= + + case $host_os in + beos*) + lt_cv_dlopen="load_add_on" + lt_cv_dlopen_libs= + lt_cv_dlopen_self=yes + ;; + + mingw* | pw32*) + lt_cv_dlopen="LoadLibrary" + lt_cv_dlopen_libs= + ;; + + cygwin*) + lt_cv_dlopen="dlopen" + lt_cv_dlopen_libs= + ;; + + darwin*) + # if libdl is installed we need to link against it + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 +$as_echo_n "checking for dlopen in -ldl... " >&6; } +if test "${ac_cv_lib_dl_dlopen+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-ldl $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char dlopen (); +int +main () +{ +return dlopen (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_dl_dlopen=yes +else + ac_cv_lib_dl_dlopen=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 +$as_echo "$ac_cv_lib_dl_dlopen" >&6; } +if test "x$ac_cv_lib_dl_dlopen" = x""yes; then : + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" +else + + lt_cv_dlopen="dyld" + lt_cv_dlopen_libs= + lt_cv_dlopen_self=yes + +fi + + ;; + + *) + ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" +if test "x$ac_cv_func_shl_load" = x""yes; then : + lt_cv_dlopen="shl_load" +else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 +$as_echo_n "checking for shl_load in -ldld... " >&6; } +if test "${ac_cv_lib_dld_shl_load+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-ldld $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char shl_load (); +int +main () +{ +return shl_load (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_dld_shl_load=yes +else + ac_cv_lib_dld_shl_load=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 +$as_echo "$ac_cv_lib_dld_shl_load" >&6; } +if test "x$ac_cv_lib_dld_shl_load" = x""yes; then : + lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld" +else + ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" +if test "x$ac_cv_func_dlopen" = x""yes; then : + lt_cv_dlopen="dlopen" +else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 +$as_echo_n "checking for dlopen in -ldl... " >&6; } +if test "${ac_cv_lib_dl_dlopen+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-ldl $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char dlopen (); +int +main () +{ +return dlopen (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_dl_dlopen=yes +else + ac_cv_lib_dl_dlopen=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 +$as_echo "$ac_cv_lib_dl_dlopen" >&6; } +if test "x$ac_cv_lib_dl_dlopen" = x""yes; then : + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" +else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 +$as_echo_n "checking for dlopen in -lsvld... " >&6; } +if test "${ac_cv_lib_svld_dlopen+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lsvld $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char dlopen (); +int +main () +{ +return dlopen (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_svld_dlopen=yes +else + ac_cv_lib_svld_dlopen=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 +$as_echo "$ac_cv_lib_svld_dlopen" >&6; } +if test "x$ac_cv_lib_svld_dlopen" = x""yes; then : + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" +else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 +$as_echo_n "checking for dld_link in -ldld... " >&6; } +if test "${ac_cv_lib_dld_dld_link+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-ldld $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char dld_link (); +int +main () +{ +return dld_link (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_dld_dld_link=yes +else + ac_cv_lib_dld_dld_link=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 +$as_echo "$ac_cv_lib_dld_dld_link" >&6; } +if test "x$ac_cv_lib_dld_dld_link" = x""yes; then : + lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld" +fi + + +fi + + +fi + + +fi + + +fi + + +fi + + ;; + esac + + if test "x$lt_cv_dlopen" != xno; then + enable_dlopen=yes + else + enable_dlopen=no + fi + + case $lt_cv_dlopen in + dlopen) + save_CPPFLAGS="$CPPFLAGS" + test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" + + save_LDFLAGS="$LDFLAGS" + eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" + + save_LIBS="$LIBS" + LIBS="$lt_cv_dlopen_libs $LIBS" + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 +$as_echo_n "checking whether a program can dlopen itself... " >&6; } +if test "${lt_cv_dlopen_self+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if test "$cross_compiling" = yes; then : + lt_cv_dlopen_self=cross +else + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 + lt_status=$lt_dlunknown + cat > conftest.$ac_ext < +#endif + +#include + +#ifdef RTLD_GLOBAL +# define LT_DLGLOBAL RTLD_GLOBAL +#else +# ifdef DL_GLOBAL +# define LT_DLGLOBAL DL_GLOBAL +# else +# define LT_DLGLOBAL 0 +# endif +#endif + +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we + find out it does not work in some platform. */ +#ifndef LT_DLLAZY_OR_NOW +# ifdef RTLD_LAZY +# define LT_DLLAZY_OR_NOW RTLD_LAZY +# else +# ifdef DL_LAZY +# define LT_DLLAZY_OR_NOW DL_LAZY +# else +# ifdef RTLD_NOW +# define LT_DLLAZY_OR_NOW RTLD_NOW +# else +# ifdef DL_NOW +# define LT_DLLAZY_OR_NOW DL_NOW +# else +# define LT_DLLAZY_OR_NOW 0 +# endif +# endif +# endif +# endif +#endif + +#ifdef __cplusplus +extern "C" void exit (int); +#endif + +void fnord() { int i=42;} +int main () +{ + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); + int status = $lt_dlunknown; + + if (self) + { + if (dlsym (self,"fnord")) status = $lt_dlno_uscore; + else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; + /* dlclose (self); */ + } + + exit (status); +} +EOF + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 + (eval $ac_link) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then + (./conftest; exit; ) 2>/dev/null + lt_status=$? + case x$lt_status in + x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; + x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; + x$lt_unknown|x*) lt_cv_dlopen_self=no ;; + esac + else : + # compilation failed + lt_cv_dlopen_self=no + fi +fi +rm -fr conftest* + + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 +$as_echo "$lt_cv_dlopen_self" >&6; } + + if test "x$lt_cv_dlopen_self" = xyes; then + LDFLAGS="$LDFLAGS $link_static_flag" + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 +$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } +if test "${lt_cv_dlopen_self_static+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if test "$cross_compiling" = yes; then : + lt_cv_dlopen_self_static=cross +else + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 + lt_status=$lt_dlunknown + cat > conftest.$ac_ext < +#endif + +#include + +#ifdef RTLD_GLOBAL +# define LT_DLGLOBAL RTLD_GLOBAL +#else +# ifdef DL_GLOBAL +# define LT_DLGLOBAL DL_GLOBAL +# else +# define LT_DLGLOBAL 0 +# endif +#endif + +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we + find out it does not work in some platform. */ +#ifndef LT_DLLAZY_OR_NOW +# ifdef RTLD_LAZY +# define LT_DLLAZY_OR_NOW RTLD_LAZY +# else +# ifdef DL_LAZY +# define LT_DLLAZY_OR_NOW DL_LAZY +# else +# ifdef RTLD_NOW +# define LT_DLLAZY_OR_NOW RTLD_NOW +# else +# ifdef DL_NOW +# define LT_DLLAZY_OR_NOW DL_NOW +# else +# define LT_DLLAZY_OR_NOW 0 +# endif +# endif +# endif +# endif +#endif + +#ifdef __cplusplus +extern "C" void exit (int); +#endif + +void fnord() { int i=42;} +int main () +{ + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); + int status = $lt_dlunknown; + + if (self) + { + if (dlsym (self,"fnord")) status = $lt_dlno_uscore; + else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; + /* dlclose (self); */ + } + + exit (status); +} +EOF + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 + (eval $ac_link) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then + (./conftest; exit; ) 2>/dev/null + lt_status=$? + case x$lt_status in + x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; + x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; + x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;; + esac + else : + # compilation failed + lt_cv_dlopen_self_static=no + fi +fi +rm -fr conftest* + + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 +$as_echo "$lt_cv_dlopen_self_static" >&6; } + fi + + CPPFLAGS="$save_CPPFLAGS" + LDFLAGS="$save_LDFLAGS" + LIBS="$save_LIBS" + ;; + esac + + case $lt_cv_dlopen_self in + yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; + *) enable_dlopen_self=unknown ;; + esac + + case $lt_cv_dlopen_self_static in + yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; + *) enable_dlopen_self_static=unknown ;; + esac +fi + + +# Report which librarie types wil actually be built +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 +$as_echo_n "checking if libtool supports shared libraries... " >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 +$as_echo "$can_build_shared" >&6; } + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 +$as_echo_n "checking whether to build shared libraries... " >&6; } +test "$can_build_shared" = "no" && enable_shared=no + +# On AIX, shared libraries and static libraries use the same namespace, and +# are all built from PIC. +case "$host_os" in +aix3*) + test "$enable_shared" = yes && enable_static=no + if test -n "$RANLIB"; then + archive_cmds="$archive_cmds~\$RANLIB \$lib" + postinstall_cmds='$RANLIB $lib' + fi + ;; + +aix4* | aix5*) + if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then + test "$enable_shared" = yes && enable_static=no + fi + ;; + darwin* | rhapsody*) + if test "$GCC" = yes; then + archive_cmds_need_lc=no + case "$host_os" in + rhapsody* | darwin1.[012]) + allow_undefined_flag='-undefined suppress' + ;; + *) # Darwin 1.3 on + if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then + allow_undefined_flag='-flat_namespace -undefined suppress' + else + case ${MACOSX_DEPLOYMENT_TARGET} in + 10.[012]) + allow_undefined_flag='-flat_namespace -undefined suppress' + ;; + 10.*) + allow_undefined_flag='-undefined dynamic_lookup' + ;; + esac + fi + ;; + esac + output_verbose_link_cmd='echo' + archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring' + module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's + archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + module_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + hardcode_direct=no + hardcode_automatic=yes + hardcode_shlibpath_var=unsupported + whole_archive_flag_spec='-all_load $convenience' + link_all_deplibs=yes + else + ld_shlibs=no + fi + ;; +esac +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 +$as_echo "$enable_shared" >&6; } + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 +$as_echo_n "checking whether to build static libraries... " >&6; } +# Make sure either enable_shared or enable_static is yes. +test "$enable_shared" = yes || enable_static=yes +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 +$as_echo "$enable_static" >&6; } + +# The else clause should only fire when bootstrapping the +# libtool distribution, otherwise you forgot to ship ltmain.sh +# with your package, and you will get complaints that there are +# no rules to generate ltmain.sh. +if test -f "$ltmain"; then + # See if we are running on zsh, and set the options which allow our commands through + # without removal of \ escapes. + if test -n "${ZSH_VERSION+set}" ; then + setopt NO_GLOB_SUBST + fi + # Now quote all the things that may contain metacharacters while being + # careful not to overquote the AC_SUBSTed values. We take copies of the + # variables and quote the copies for generation of the libtool script. + for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \ + SED SHELL STRIP \ + libname_spec library_names_spec soname_spec extract_expsyms_cmds \ + old_striplib striplib file_magic_cmd finish_cmds finish_eval \ + deplibs_check_method reload_flag reload_cmds need_locks \ + lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ + lt_cv_sys_global_symbol_to_c_name_address \ + sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ + old_postinstall_cmds old_postuninstall_cmds \ + compiler \ + CC \ + LD \ + lt_prog_compiler_wl \ + lt_prog_compiler_pic \ + lt_prog_compiler_static \ + lt_prog_compiler_no_builtin_flag \ + export_dynamic_flag_spec \ + thread_safe_flag_spec \ + whole_archive_flag_spec \ + enable_shared_with_static_runtimes \ + old_archive_cmds \ + old_archive_from_new_cmds \ + predep_objects \ + postdep_objects \ + predeps \ + postdeps \ + compiler_lib_search_path \ + archive_cmds \ + archive_expsym_cmds \ + postinstall_cmds \ + postuninstall_cmds \ + old_archive_from_expsyms_cmds \ + allow_undefined_flag \ + no_undefined_flag \ + export_symbols_cmds \ + hardcode_libdir_flag_spec \ + hardcode_libdir_flag_spec_ld \ + hardcode_libdir_separator \ + hardcode_automatic \ + module_cmds \ + module_expsym_cmds \ + lt_cv_prog_compiler_c_o \ + exclude_expsyms \ + include_expsyms; do + + case $var in + old_archive_cmds | \ + old_archive_from_new_cmds | \ + archive_cmds | \ + archive_expsym_cmds | \ + module_cmds | \ + module_expsym_cmds | \ + old_archive_from_expsyms_cmds | \ + export_symbols_cmds | \ + extract_expsyms_cmds | reload_cmds | finish_cmds | \ + postinstall_cmds | postuninstall_cmds | \ + old_postinstall_cmds | old_postuninstall_cmds | \ + sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) + # Double-quote double-evaled strings. + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" + ;; + *) + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\"" + ;; + esac + done + + case $lt_echo in + *'\$0 --fallback-echo"') + lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'` + ;; + esac + +cfgfile="${ofile}T" + trap "$rm \"$cfgfile\"; exit 1" 1 2 15 + $rm -f "$cfgfile" + { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ofile" >&5 +$as_echo "$as_me: creating $ofile" >&6;} + + cat <<__EOF__ >> "$cfgfile" +#! $SHELL + +# `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services. +# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP) +# NOTE: Changes made to this file will be lost: look at ltmain.sh. +# +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001 +# Free Software Foundation, Inc. +# +# This file is part of GNU Libtool: +# Originally by Gordon Matzigkeit , 1996 +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# 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. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +# +# As a special exception to the GNU General Public License, if you +# distribute this file as part of a program that contains a +# configuration script generated by Autoconf, you may include it under +# the same distribution terms that you use for the rest of that program. + +# A sed program that does not truncate output. +SED=$lt_SED + +# Sed that helps us avoid accidentally triggering echo(1) options like -n. +Xsed="$SED -e s/^X//" + +# The HP-UX ksh and POSIX shell print the target directory to stdout +# if CDPATH is set. +if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi + +# The names of the tagged configurations supported by this script. +available_tags= + +# ### BEGIN LIBTOOL CONFIG + +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: + +# Shell to use when invoking shell scripts. +SHELL=$lt_SHELL + +# Whether or not to build shared libraries. +build_libtool_libs=$enable_shared + +# Whether or not to build static libraries. +build_old_libs=$enable_static + +# Whether or not to add -lc for building shared libraries. +build_libtool_need_lc=$archive_cmds_need_lc + +# Whether or not to disallow shared libs when runtime libs are static +allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes + +# Whether or not to optimize for fast installation. +fast_install=$enable_fast_install + +# The host system. +host_alias=$host_alias +host=$host + +# An echo program that does not interpret backslashes. +echo=$lt_echo + +# The archiver. +AR=$lt_AR +AR_FLAGS=$lt_AR_FLAGS + +# A C compiler. +LTCC=$lt_LTCC + +# A language-specific compiler. +CC=$lt_compiler + +# Is the compiler the GNU C compiler? +with_gcc=$GCC + +# An ERE matcher. +EGREP=$lt_EGREP + +# The linker used to build libraries. +LD=$lt_LD + +# Whether we need hard or soft links. +LN_S=$lt_LN_S + +# A BSD-compatible nm program. +NM=$lt_NM + +# A symbol stripping program +STRIP=$lt_STRIP + +# Used to examine libraries when file_magic_cmd begins "file" +MAGIC_CMD=$MAGIC_CMD + +# Used on cygwin: DLL creation program. +DLLTOOL="$DLLTOOL" + +# Used on cygwin: object dumper. +OBJDUMP="$OBJDUMP" + +# Used on cygwin: assembler. +AS="$AS" + +# The name of the directory that contains temporary libtool files. +objdir=$objdir + +# How to create reloadable object files. +reload_flag=$lt_reload_flag +reload_cmds=$lt_reload_cmds + +# How to pass a linker flag through the compiler. +wl=$lt_lt_prog_compiler_wl + +# Object file suffix (normally "o"). +objext="$ac_objext" + +# Old archive suffix (normally "a"). +libext="$libext" + +# Shared library suffix (normally ".so"). +shrext_cmds='$shrext_cmds' + +# Executable file suffix (normally ""). +exeext="$exeext" + +# Additional compiler flags for building library objects. +pic_flag=$lt_lt_prog_compiler_pic +pic_mode=$pic_mode + +# What is the maximum length of a command? +max_cmd_len=$lt_cv_sys_max_cmd_len + +# Does compiler simultaneously support -c and -o options? +compiler_c_o=$lt_lt_cv_prog_compiler_c_o + +# Must we lock files when doing compilation ? +need_locks=$lt_need_locks + +# Do we need the lib prefix for modules? +need_lib_prefix=$need_lib_prefix + +# Do we need a version for libraries? +need_version=$need_version + +# Whether dlopen is supported. +dlopen_support=$enable_dlopen + +# Whether dlopen of programs is supported. +dlopen_self=$enable_dlopen_self + +# Whether dlopen of statically linked programs is supported. +dlopen_self_static=$enable_dlopen_self_static + +# Compiler flag to prevent dynamic linking. +link_static_flag=$lt_lt_prog_compiler_static + +# Compiler flag to turn off builtin functions. +no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag + +# Compiler flag to allow reflexive dlopens. +export_dynamic_flag_spec=$lt_export_dynamic_flag_spec + +# Compiler flag to generate shared objects directly from archives. +whole_archive_flag_spec=$lt_whole_archive_flag_spec + +# Compiler flag to generate thread-safe objects. +thread_safe_flag_spec=$lt_thread_safe_flag_spec + +# Library versioning type. +version_type=$version_type + +# Format of library name prefix. +libname_spec=$lt_libname_spec + +# List of archive names. First name is the real one, the rest are links. +# The last name is the one that the linker finds with -lNAME. +library_names_spec=$lt_library_names_spec + +# The coded name of the library, if different from the real name. +soname_spec=$lt_soname_spec + +# Commands used to build and install an old-style archive. +RANLIB=$lt_RANLIB +old_archive_cmds=$lt_old_archive_cmds +old_postinstall_cmds=$lt_old_postinstall_cmds +old_postuninstall_cmds=$lt_old_postuninstall_cmds + +# Create an old-style archive from a shared archive. +old_archive_from_new_cmds=$lt_old_archive_from_new_cmds + +# Create a temporary old-style archive to link instead of a shared archive. +old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds + +# Commands used to build and install a shared archive. +archive_cmds=$lt_archive_cmds +archive_expsym_cmds=$lt_archive_expsym_cmds +postinstall_cmds=$lt_postinstall_cmds +postuninstall_cmds=$lt_postuninstall_cmds + +# Commands used to build a loadable module (assumed same as above if empty) +module_cmds=$lt_module_cmds +module_expsym_cmds=$lt_module_expsym_cmds + +# Commands to strip libraries. +old_striplib=$lt_old_striplib +striplib=$lt_striplib + +# Dependencies to place before the objects being linked to create a +# shared library. +predep_objects=$lt_predep_objects + +# Dependencies to place after the objects being linked to create a +# shared library. +postdep_objects=$lt_postdep_objects + +# Dependencies to place before the objects being linked to create a +# shared library. +predeps=$lt_predeps + +# Dependencies to place after the objects being linked to create a +# shared library. +postdeps=$lt_postdeps + +# The library search path used internally by the compiler when linking +# a shared library. +compiler_lib_search_path=$lt_compiler_lib_search_path + +# Method to check whether dependent libraries are shared objects. +deplibs_check_method=$lt_deplibs_check_method + +# Command to use when deplibs_check_method == file_magic. +file_magic_cmd=$lt_file_magic_cmd + +# Flag that allows shared libraries with undefined symbols to be built. +allow_undefined_flag=$lt_allow_undefined_flag + +# Flag that forces no undefined symbols. +no_undefined_flag=$lt_no_undefined_flag + +# Commands used to finish a libtool library installation in a directory. +finish_cmds=$lt_finish_cmds + +# Same as above, but a single script fragment to be evaled but not shown. +finish_eval=$lt_finish_eval + +# Take the output of nm and produce a listing of raw symbols and C names. +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe + +# Transform the output of nm in a proper C declaration +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl + +# Transform the output of nm in a C name address pair +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address + +# This is the shared library runtime path variable. +runpath_var=$runpath_var + +# This is the shared library path variable. +shlibpath_var=$shlibpath_var + +# Is shlibpath searched before the hard-coded library search path? +shlibpath_overrides_runpath=$shlibpath_overrides_runpath + +# How to hardcode a shared library path into an executable. +hardcode_action=$hardcode_action + +# Whether we should hardcode library paths into libraries. +hardcode_into_libs=$hardcode_into_libs + +# Flag to hardcode \$libdir into a binary during linking. +# This must work even if \$libdir does not exist. +hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec + +# If ld is used when linking, flag to hardcode \$libdir into +# a binary during linking. This must work even if \$libdir does +# not exist. +hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld + +# Whether we need a single -rpath flag with a separated argument. +hardcode_libdir_separator=$lt_hardcode_libdir_separator + +# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the +# resulting binary. +hardcode_direct=$hardcode_direct + +# Set to yes if using the -LDIR flag during linking hardcodes DIR into the +# resulting binary. +hardcode_minus_L=$hardcode_minus_L + +# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into +# the resulting binary. +hardcode_shlibpath_var=$hardcode_shlibpath_var + +# Set to yes if building a shared library automatically hardcodes DIR into the library +# and all subsequent libraries and executables linked against it. +hardcode_automatic=$hardcode_automatic + +# Variables whose values should be saved in libtool wrapper scripts and +# restored at relink time. +variables_saved_for_relink="$variables_saved_for_relink" + +# Whether libtool must link a program against all its dependency libraries. +link_all_deplibs=$link_all_deplibs + +# Compile-time system search path for libraries +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec + +# Run-time system search path for libraries +sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec + +# Fix the shell variable \$srcfile for the compiler. +fix_srcfile_path="$fix_srcfile_path" + +# Set to yes if exported symbols are required. +always_export_symbols=$always_export_symbols + +# The commands to list exported symbols. +export_symbols_cmds=$lt_export_symbols_cmds + +# The commands to extract the exported symbol list from a shared archive. +extract_expsyms_cmds=$lt_extract_expsyms_cmds + +# Symbols that should not be listed in the preloaded symbols. +exclude_expsyms=$lt_exclude_expsyms + +# Symbols that must always be exported. +include_expsyms=$lt_include_expsyms + +# ### END LIBTOOL CONFIG + +__EOF__ + + + case $host_os in + aix3*) + cat <<\EOF >> "$cfgfile" + +# AIX sometimes has problems with the GCC collect2 program. For some +# reason, if we set the COLLECT_NAMES environment variable, the problems +# vanish in a puff of smoke. +if test "X${COLLECT_NAMES+set}" != Xset; then + COLLECT_NAMES= + export COLLECT_NAMES +fi +EOF + ;; + esac + + # We use sed instead of cat because bash on DJGPP gets confused if + # if finds mixed CR/LF and LF-only lines. Since sed operates in + # text mode, it properly converts lines to CR/LF. This bash problem + # is reportedly fixed, but why not run on old versions too? + sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1) + + mv -f "$cfgfile" "$ofile" || \ + (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") + chmod +x "$ofile" + +else + # If there is no Makefile yet, we rely on a make rule to execute + # `config.status --recheck' to rerun these tests and create the + # libtool script then. + ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'` + if test -f "$ltmain_in"; then + test -f Makefile && make "$ltmain" + fi +fi + + +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + +CC="$lt_save_CC" + + +# Check whether --with-tags was given. +if test "${with_tags+set}" = set; then : + withval=$with_tags; tagnames="$withval" +fi + + +if test -f "$ltmain" && test -n "$tagnames"; then + if test ! -f "${ofile}"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: output file \`$ofile' does not exist" >&5 +$as_echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;} + fi + + if test -z "$LTCC"; then + eval "`$SHELL ${ofile} --config | grep '^LTCC='`" + if test -z "$LTCC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: output file \`$ofile' does not look like a libtool script" >&5 +$as_echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;} + else + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5 +$as_echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;} + fi + fi + + # Extract list of available tagged configurations in $ofile. + # Note that this assumes the entire list is on one line. + available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'` + + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," + for tagname in $tagnames; do + IFS="$lt_save_ifs" + # Check whether tagname contains only valid characters + case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in + "") ;; + *) as_fn_error "invalid tag name: $tagname" "$LINENO" 5 + ;; + esac + + if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null + then + as_fn_error "tag name \"$tagname\" already exists" "$LINENO" 5 + fi + + # Update the list of available tags. + if test -n "$tagname"; then + echo appending configuration tag \"$tagname\" to $ofile + + case $tagname in + CXX) + if test -n "$CXX" && test "X$CXX" != "Xno"; then + ac_ext=cpp +ac_cpp='$CXXCPP $CPPFLAGS' +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + + + + +archive_cmds_need_lc_CXX=no +allow_undefined_flag_CXX= +always_export_symbols_CXX=no +archive_expsym_cmds_CXX= +export_dynamic_flag_spec_CXX= +hardcode_direct_CXX=no +hardcode_libdir_flag_spec_CXX= +hardcode_libdir_flag_spec_ld_CXX= +hardcode_libdir_separator_CXX= +hardcode_minus_L_CXX=no +hardcode_automatic_CXX=no +module_cmds_CXX= +module_expsym_cmds_CXX= +link_all_deplibs_CXX=unknown +old_archive_cmds_CXX=$old_archive_cmds +no_undefined_flag_CXX= +whole_archive_flag_spec_CXX= +enable_shared_with_static_runtimes_CXX=no + +# Dependencies to place before and after the object being linked: +predep_objects_CXX= +postdep_objects_CXX= +predeps_CXX= +postdeps_CXX= +compiler_lib_search_path_CXX= + +# Source file extension for C++ test sources. +ac_ext=cc + +# Object file extension for compiled C++ test sources. +objext=o +objext_CXX=$objext + +# Code to be used in simple compile tests +lt_simple_compile_test_code="int some_variable = 0;\n" + +# Code to be used in simple link tests +lt_simple_link_test_code='int main(int, char *) { return(0); }\n' + +# ltmain only uses $CC for tagged configurations so make sure $CC is set. + +# If no C compiler was specified, use CC. +LTCC=${LTCC-"$CC"} + +# Allow CC to be a program name with arguments. +compiler=$CC + + +# Allow CC to be a program name with arguments. +lt_save_CC=$CC +lt_save_LD=$LD +lt_save_GCC=$GCC +GCC=$GXX +lt_save_with_gnu_ld=$with_gnu_ld +lt_save_path_LD=$lt_cv_path_LD +if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then + lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx +else + unset lt_cv_prog_gnu_ld +fi +if test -n "${lt_cv_path_LDCXX+set}"; then + lt_cv_path_LD=$lt_cv_path_LDCXX +else + unset lt_cv_path_LD +fi +test -z "${LDCXX+set}" || LD=$LDCXX +CC=${CXX-"c++"} +compiler=$CC +compiler_CXX=$CC +cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'` + +# We don't want -fno-exception wen compiling C++ code, so set the +# no_builtin_flag separately +if test "$GXX" = yes; then + lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin' +else + lt_prog_compiler_no_builtin_flag_CXX= +fi + +if test "$GXX" = yes; then + # Set up default GNU C++ configuration + + +# Check whether --with-gnu-ld was given. +if test "${with_gnu_ld+set}" = set; then : + withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes +else + with_gnu_ld=no +fi + +ac_prog=ld +if test "$GCC" = yes; then + # Check if gcc -print-prog-name=ld gives a path. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 +$as_echo_n "checking for ld used by $CC... " >&6; } + case $host in + *-*-mingw*) + # gcc leaves a trailing carriage return which upsets mingw + ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; + *) + ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; + esac + case $ac_prog in + # Accept absolute paths. + [\\/]* | ?:[\\/]*) + re_direlt='/[^/][^/]*/\.\./' + # Canonicalize the pathname of ld + ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'` + while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do + ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"` + done + test -z "$LD" && LD="$ac_prog" + ;; + "") + # If it fails, then pretend we aren't using GCC. + ac_prog=ld + ;; + *) + # If it is relative, then search for the first ld in PATH. + with_gnu_ld=unknown + ;; + esac +elif test "$with_gnu_ld" = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 +$as_echo_n "checking for GNU ld... " >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 +$as_echo_n "checking for non-GNU ld... " >&6; } +fi +if test "${lt_cv_path_LD+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if test -z "$LD"; then + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR + for ac_dir in $PATH; do + IFS="$lt_save_ifs" + test -z "$ac_dir" && ac_dir=. + if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then + lt_cv_path_LD="$ac_dir/$ac_prog" + # Check to see if the program is GNU ld. I'd rather use --version, + # but apparently some GNU ld's only accept -v. + # Break only if it was the GNU/non-GNU ld that we prefer. + case `"$lt_cv_path_LD" -v 2>&1 &5 +$as_echo "$LD" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi +test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 +$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } +if test "${lt_cv_prog_gnu_ld+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + # I'd rather use --version here, but apparently some GNU ld's only accept -v. +case `$LD -v 2>&1 &5 +$as_echo "$lt_cv_prog_gnu_ld" >&6; } +with_gnu_ld=$lt_cv_prog_gnu_ld + + + + # Check if GNU C++ uses GNU ld as the underlying linker, since the + # archiving commands below assume that GNU ld is being used. + if test "$with_gnu_ld" = yes; then + archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + + hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir' + export_dynamic_flag_spec_CXX='${wl}--export-dynamic' + + # If archive_cmds runs LD, not CC, wlarc should be empty + # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to + # investigate it a little bit more. (MM) + wlarc='${wl}' + + # ancient GNU ld didn't support --whole-archive et. al. + if eval "`$CC -print-prog-name=ld` --help 2>&1" | \ + grep 'no-whole-archive' > /dev/null; then + whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' + else + whole_archive_flag_spec_CXX= + fi + else + with_gnu_ld=no + wlarc= + + # A generic and very simple default shared library creation + # command for GNU C++ for the case where it uses the native + # linker, instead of GNU ld. If possible, this setting should + # overridden to take advantage of the native linker features on + # the platform it is being used on. + archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' + fi + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"' + +else + GXX=no + with_gnu_ld=no + wlarc= +fi + +# PORTME: fill in a description of your system's C++ link characteristics +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 +$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } +ld_shlibs_CXX=yes +case $host_os in + aix3*) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + aix4* | aix5*) + if test "$host_cpu" = ia64; then + # On IA64, the linker does run time linking by default, so we don't + # have to do anything special. + aix_use_runtimelinking=no + exp_sym_flag='-Bexport' + no_entry_flag="" + else + aix_use_runtimelinking=no + + # Test if we are trying to use run time linking or normal + # AIX style linking. If -brtl is somewhere in LDFLAGS, we + # need to do runtime linking. + case $host_os in aix4.[23]|aix4.[23].*|aix5*) + for ld_flag in $LDFLAGS; do + case $ld_flag in + *-brtl*) + aix_use_runtimelinking=yes + break + ;; + esac + done + esac + + exp_sym_flag='-bexport' + no_entry_flag='-bnoentry' + fi + + # When large executables or shared objects are built, AIX ld can + # have problems creating the table of contents. If linking a library + # or program results in "error TOC overflow" add -mminimal-toc to + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. + + archive_cmds_CXX='' + hardcode_direct_CXX=yes + hardcode_libdir_separator_CXX=':' + link_all_deplibs_CXX=yes + + if test "$GXX" = yes; then + case $host_os in aix4.012|aix4.012.*) + # We only want to do this on AIX 4.2 and lower, the check + # below for broken collect2 doesn't work under 4.3+ + collect2name=`${CC} -print-prog-name=collect2` + if test -f "$collect2name" && \ + strings "$collect2name" | grep resolve_lib_name >/dev/null + then + # We have reworked collect2 + hardcode_direct_CXX=yes + else + # We have old collect2 + hardcode_direct_CXX=unsupported + # It fails to find uninstalled libraries when the uninstalled + # path is not listed in the libpath. Setting hardcode_minus_L + # to unsupported forces relinking + hardcode_minus_L_CXX=yes + hardcode_libdir_flag_spec_CXX='-L$libdir' + hardcode_libdir_separator_CXX= + fi + esac + shared_flag='-shared' + else + # not using gcc + if test "$host_cpu" = ia64; then + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release + # chokes on -Wl,-G. The following line is correct: + shared_flag='-G' + else + if test "$aix_use_runtimelinking" = yes; then + shared_flag='${wl}-G' + else + shared_flag='${wl}-bM:SRE' + fi + fi + fi + + # It seems that -bexpall does not export symbols beginning with + # underscore (_), so it is better to generate a list of symbols to export. + always_export_symbols_CXX=yes + if test "$aix_use_runtimelinking" = yes; then + # Warning - without using the other runtime loading flags (-brtl), + # -berok will link without error, but may produce a broken library. + allow_undefined_flag_CXX='-berok' + # Determine the default libpath from the value encoded in an empty executable. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_cxx_try_link "$LINENO"; then : + +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'` +# Check for a 64-bit object if we didn't find anything. +if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'`; fi +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi + + hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath" + + archive_expsym_cmds_CXX="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag" + else + if test "$host_cpu" = ia64; then + hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib' + allow_undefined_flag_CXX="-z nodefs" + archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols" + else + # Determine the default libpath from the value encoded in an empty executable. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_cxx_try_link "$LINENO"; then : + +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'` +# Check for a 64-bit object if we didn't find anything. +if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'`; fi +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi + + hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath" + # Warning - without using the other run time loading flags, + # -berok will link without error, but may produce a broken library. + no_undefined_flag_CXX=' ${wl}-bernotok' + allow_undefined_flag_CXX=' ${wl}-berok' + # -bexpall does not export symbols beginning with underscore (_) + always_export_symbols_CXX=yes + # Exported symbols can be pulled into shared objects from archives + whole_archive_flag_spec_CXX=' ' + archive_cmds_need_lc_CXX=yes + # This is similar to how AIX traditionally builds it's shared libraries. + archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' + fi + fi + ;; + chorus*) + case $cc_basename in + *) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + esac + ;; + + cygwin* | mingw* | pw32*) + # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless, + # as there is no search path for DLLs. + hardcode_libdir_flag_spec_CXX='-L$libdir' + allow_undefined_flag_CXX=unsupported + always_export_symbols_CXX=no + enable_shared_with_static_runtimes_CXX=yes + + if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then + archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' + # If the export-symbols file already is a .def file (1st line + # is EXPORTS), use it as is; otherwise, prepend... + archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then + cp $export_symbols $output_objdir/$soname.def; + else + echo EXPORTS > $output_objdir/$soname.def; + cat $export_symbols >> $output_objdir/$soname.def; + fi~ + $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' + else + ld_shlibs_CXX=no + fi + ;; + + darwin* | rhapsody*) + if test "$GXX" = yes; then + archive_cmds_need_lc_CXX=no + case "$host_os" in + rhapsody* | darwin1.[012]) + allow_undefined_flag_CXX='-undefined suppress' + ;; + *) # Darwin 1.3 on + if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then + allow_undefined_flag_CXX='-flat_namespace -undefined suppress' + else + case ${MACOSX_DEPLOYMENT_TARGET} in + 10.[012]) + allow_undefined_flag_CXX='-flat_namespace -undefined suppress' + ;; + 10.*) + allow_undefined_flag_CXX='-undefined dynamic_lookup' + ;; + esac + fi + ;; + esac + lt_int_apple_cc_single_mod=no + output_verbose_link_cmd='echo' + if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then + lt_int_apple_cc_single_mod=yes + fi + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then + archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' + else + archive_cmds_CXX='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring' + fi + module_cmds_CXX='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' + + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then + archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + else + archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + fi + module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + hardcode_direct_CXX=no + hardcode_automatic_CXX=yes + hardcode_shlibpath_var_CXX=unsupported + whole_archive_flag_spec_CXX='-all_load $convenience' + link_all_deplibs_CXX=yes + else + ld_shlibs_CXX=no + fi + ;; + + dgux*) + case $cc_basename in + ec++) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + ghcx) + # Green Hills C++ Compiler + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + *) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + esac + ;; + freebsd12*) + # C++ shared libraries reported to be fairly broken before switch to ELF + ld_shlibs_CXX=no + ;; + freebsd-elf*) + archive_cmds_need_lc_CXX=no + ;; + freebsd* | kfreebsd*-gnu) + # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF + # conventions + ld_shlibs_CXX=yes + ;; + gnu*) + ;; + hpux9*) + hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir' + hardcode_libdir_separator_CXX=: + export_dynamic_flag_spec_CXX='${wl}-E' + hardcode_direct_CXX=yes + hardcode_minus_L_CXX=yes # Not in the search PATH, + # but as the default + # location of the library. + + case $cc_basename in + CC) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + aCC) + archive_cmds_CXX='$rm $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' + ;; + *) + if test "$GXX" = yes; then + archive_cmds_CXX='$rm $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + else + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + fi + ;; + esac + ;; + hpux10*|hpux11*) + if test $with_gnu_ld = no; then + case "$host_cpu" in + hppa*64*) + hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir' + hardcode_libdir_flag_spec_ld_CXX='+b $libdir' + hardcode_libdir_separator_CXX=: + ;; + ia64*) + hardcode_libdir_flag_spec_CXX='-L$libdir' + ;; + *) + hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir' + hardcode_libdir_separator_CXX=: + export_dynamic_flag_spec_CXX='${wl}-E' + ;; + esac + fi + case "$host_cpu" in + hppa*64*) + hardcode_direct_CXX=no + hardcode_shlibpath_var_CXX=no + ;; + ia64*) + hardcode_direct_CXX=no + hardcode_shlibpath_var_CXX=no + hardcode_minus_L_CXX=yes # Not in the search PATH, + # but as the default + # location of the library. + ;; + *) + hardcode_direct_CXX=yes + hardcode_minus_L_CXX=yes # Not in the search PATH, + # but as the default + # location of the library. + ;; + esac + + case $cc_basename in + CC) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + aCC) + case "$host_cpu" in + hppa*64*|ia64*) + archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs' + ;; + *) + archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' + ;; + esac + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' + ;; + *) + if test "$GXX" = yes; then + if test $with_gnu_ld = no; then + case "$host_cpu" in + ia64*|hppa*64*) + archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs' + ;; + *) + archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' + ;; + esac + fi + else + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + fi + ;; + esac + ;; + irix5* | irix6*) + case $cc_basename in + CC) + # SGI C++ + archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib' + + # Archives containing C++ object files must be created using + # "CC -ar", where "CC" is the IRIX C++ compiler. This is + # necessary to make sure instantiated templates are included + # in the archive. + old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs' + ;; + *) + if test "$GXX" = yes; then + if test "$with_gnu_ld" = no; then + archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib' + else + archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib' + fi + fi + link_all_deplibs_CXX=yes + ;; + esac + hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator_CXX=: + ;; + linux*) + case $cc_basename in + KCC) + # Kuck and Associates, Inc. (KAI) C++ Compiler + + # KCC will only create a shared library if the output file + # ends with ".so" (or ".sl" for HP-UX), so rename the library + # to its proper name (with version) after linking. + archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' + archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib' + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | grep "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' + + hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir' + export_dynamic_flag_spec_CXX='${wl}--export-dynamic' + + # Archives containing C++ object files must be created using + # "CC -Bstatic", where "CC" is the KAI C++ compiler. + old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' + ;; + icpc) + # Intel C++ + with_gnu_ld=yes + archive_cmds_need_lc_CXX=no + archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' + export_dynamic_flag_spec_CXX='${wl}--export-dynamic' + whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive' + ;; + cxx) + # Compaq C++ + archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols' + + runpath_var=LD_RUN_PATH + hardcode_libdir_flag_spec_CXX='-rpath $libdir' + hardcode_libdir_separator_CXX=: + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' + ;; + esac + ;; + lynxos*) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + m88k*) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + mvs*) + case $cc_basename in + cxx) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + *) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + esac + ;; + netbsd*) + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags' + wlarc= + hardcode_libdir_flag_spec_CXX='-R$libdir' + hardcode_direct_CXX=yes + hardcode_shlibpath_var_CXX=no + fi + # Workaround some broken pre-1.5 toolchains + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"' + ;; + osf3*) + case $cc_basename in + KCC) + # Kuck and Associates, Inc. (KAI) C++ Compiler + + # KCC will only create a shared library if the output file + # ends with ".so" (or ".sl" for HP-UX), so rename the library + # to its proper name (with version) after linking. + archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' + + hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' + hardcode_libdir_separator_CXX=: + + # Archives containing C++ object files must be created using + # "CC -Bstatic", where "CC" is the KAI C++ compiler. + old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' + + ;; + RCC) + # Rational C++ 2.4.1 + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + cxx) + allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*' + archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${objdir}/so_locations -o $lib' + + hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator_CXX=: + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' + ;; + *) + if test "$GXX" = yes && test "$with_gnu_ld" = no; then + allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*' + archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib' + + hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator_CXX=: + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"' + + else + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + fi + ;; + esac + ;; + osf4* | osf5*) + case $cc_basename in + KCC) + # Kuck and Associates, Inc. (KAI) C++ Compiler + + # KCC will only create a shared library if the output file + # ends with ".so" (or ".sl" for HP-UX), so rename the library + # to its proper name (with version) after linking. + archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' + + hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' + hardcode_libdir_separator_CXX=: + + # Archives containing C++ object files must be created using + # the KAI C++ compiler. + old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' + ;; + RCC) + # Rational C++ 2.4.1 + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + cxx) + allow_undefined_flag_CXX=' -expect_unresolved \*' + archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib' + archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~ + echo "-hidden">> $lib.exp~ + $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp `test -n "$verstring" && echo -set_version $verstring` -update_registry $objdir/so_locations -o $lib~ + $rm $lib.exp' + + hardcode_libdir_flag_spec_CXX='-rpath $libdir' + hardcode_libdir_separator_CXX=: + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' + ;; + *) + if test "$GXX" = yes && test "$with_gnu_ld" = no; then + allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*' + archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib' + + hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator_CXX=: + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"' + + else + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + fi + ;; + esac + ;; + psos*) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + sco*) + archive_cmds_need_lc_CXX=no + case $cc_basename in + CC) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + *) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + esac + ;; + sunos4*) + case $cc_basename in + CC) + # Sun C++ 4.x + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + lcc) + # Lucid + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + *) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + esac + ;; + solaris*) + case $cc_basename in + CC) + # Sun C++ 4.2, 5.x and Centerline C++ + no_undefined_flag_CXX=' -zdefs' + archive_cmds_CXX='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' + archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $CC -G${allow_undefined_flag} -nolib ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp' + + hardcode_libdir_flag_spec_CXX='-R$libdir' + hardcode_shlibpath_var_CXX=no + case $host_os in + solaris2.0-5 | solaris2.0-5.*) ;; + *) + # The C++ compiler is used as linker so we must use $wl + # flag to pass the commands to the underlying system + # linker. + # Supported since Solaris 2.6 (maybe 2.5.1?) + whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' + ;; + esac + link_all_deplibs_CXX=yes + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep "\-[LR]"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' + + # Archives containing C++ object files must be created using + # "CC -xar", where "CC" is the Sun C++ compiler. This is + # necessary to make sure instantiated templates are included + # in the archive. + old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs' + ;; + gcx) + # Green Hills C++ Compiler + archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' + + # The C++ compiler must be used to create the archive. + old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs' + ;; + *) + # GNU C++ compiler with Solaris linker + if test "$GXX" = yes && test "$with_gnu_ld" = no; then + no_undefined_flag_CXX=' ${wl}-z ${wl}defs' + if $CC --version | grep -v '^2\.7' > /dev/null; then + archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' + archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp' + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\"" + else + # g++ 2.7 appears to require `-G' NOT `-shared' on this + # platform. + archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' + archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp' + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\"" + fi + + hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir' + fi + ;; + esac + ;; + sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*) + archive_cmds_need_lc_CXX=no + ;; + tandem*) + case $cc_basename in + NCC) + # NonStop-UX NCC 3.20 + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + *) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + esac + ;; + vxworks*) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + *) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; +esac +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5 +$as_echo "$ld_shlibs_CXX" >&6; } +test "$ld_shlibs_CXX" = no && can_build_shared=no + +GCC_CXX="$GXX" +LD_CXX="$LD" + + +cat > conftest.$ac_ext <&5 + (eval $ac_compile) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + # Parse the compiler output and extract the necessary + # objects, libraries and library flags. + + # Sentinel used to keep track of whether or not we are before + # the conftest object file. + pre_test_object_deps_done=no + + # The `*' in the case matches for architectures that use `case' in + # $output_verbose_cmd can trigger glob expansion during the loop + # eval without this substitution. + output_verbose_link_cmd="`$echo \"X$output_verbose_link_cmd\" | $Xsed -e \"$no_glob_subst\"`" + + for p in `eval $output_verbose_link_cmd`; do + case $p in + + -L* | -R* | -l*) + # Some compilers place space between "-{L,R}" and the path. + # Remove the space. + if test $p = "-L" \ + || test $p = "-R"; then + prev=$p + continue + else + prev= + fi + + if test "$pre_test_object_deps_done" = no; then + case $p in + -L* | -R*) + # Internal compiler library paths should come after those + # provided the user. The postdeps already come after the + # user supplied libs so there is no need to process them. + if test -z "$compiler_lib_search_path_CXX"; then + compiler_lib_search_path_CXX="${prev}${p}" + else + compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}" + fi + ;; + # The "-l" case would never come before the object being + # linked, so don't bother handling this case. + esac + else + if test -z "$postdeps_CXX"; then + postdeps_CXX="${prev}${p}" + else + postdeps_CXX="${postdeps_CXX} ${prev}${p}" + fi + fi + ;; + + *.$objext) + # This assumes that the test object file only shows up + # once in the compiler output. + if test "$p" = "conftest.$objext"; then + pre_test_object_deps_done=yes + continue + fi + + if test "$pre_test_object_deps_done" = no; then + if test -z "$predep_objects_CXX"; then + predep_objects_CXX="$p" + else + predep_objects_CXX="$predep_objects_CXX $p" + fi + else + if test -z "$postdep_objects_CXX"; then + postdep_objects_CXX="$p" + else + postdep_objects_CXX="$postdep_objects_CXX $p" + fi + fi + ;; + + *) ;; # Ignore the rest. + + esac + done + + # Clean up. + rm -f a.out a.exe +else + echo "libtool.m4: error: problem compiling CXX test program" +fi + +$rm -f confest.$objext + +case " $postdeps_CXX " in +*" -lc "*) archive_cmds_need_lc_CXX=no ;; +esac + +lt_prog_compiler_wl_CXX= +lt_prog_compiler_pic_CXX= +lt_prog_compiler_static_CXX= + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 +$as_echo_n "checking for $compiler option to produce PIC... " >&6; } + + # C++ specific cases for pic, static, wl, etc. + if test "$GXX" = yes; then + lt_prog_compiler_wl_CXX='-Wl,' + lt_prog_compiler_static_CXX='-static' + + case $host_os in + aix*) + # All AIX code is PIC. + if test "$host_cpu" = ia64; then + # AIX 5 now supports IA64 processor + lt_prog_compiler_static_CXX='-Bstatic' + fi + ;; + amigaos*) + # FIXME: we need at least 68020 code to build shared libraries, but + # adding the `-m68020' flag to GCC prevents building anything better, + # like `-m68040'. + lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4' + ;; + beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) + # PIC is the default for these OSes. + ;; + mingw* | os2* | pw32*) + # This hack is so that the source file can tell whether it is being + # built for inclusion in a dll (and should export symbols for example). + lt_prog_compiler_pic_CXX='-DDLL_EXPORT' + ;; + darwin* | rhapsody*) + # PIC is the default on this platform + # Common symbols not allowed in MH_DYLIB files + lt_prog_compiler_pic_CXX='-fno-common' + ;; + *djgpp*) + # DJGPP does not support shared libraries at all + lt_prog_compiler_pic_CXX= + ;; + sysv4*MP*) + if test -d /usr/nec; then + lt_prog_compiler_pic_CXX=-Kconform_pic + fi + ;; + hpux*) + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but + # not for PA HP-UX. + case "$host_cpu" in + hppa*64*|ia64*) + ;; + *) + lt_prog_compiler_pic_CXX='-fPIC' + ;; + esac + ;; + *) + lt_prog_compiler_pic_CXX='-fPIC' + ;; + esac + else + case $host_os in + aix4* | aix5*) + # All AIX code is PIC. + if test "$host_cpu" = ia64; then + # AIX 5 now supports IA64 processor + lt_prog_compiler_static_CXX='-Bstatic' + else + lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp' + fi + ;; + chorus*) + case $cc_basename in + cxch68) + # Green Hills C++ Compiler + # _LT_AC_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a" + ;; + esac + ;; + dgux*) + case $cc_basename in + ec++) + lt_prog_compiler_pic_CXX='-KPIC' + ;; + ghcx) + # Green Hills C++ Compiler + lt_prog_compiler_pic_CXX='-pic' + ;; + *) + ;; + esac + ;; + freebsd* | kfreebsd*-gnu) + # FreeBSD uses GNU C++ + ;; + hpux9* | hpux10* | hpux11*) + case $cc_basename in + CC) + lt_prog_compiler_wl_CXX='-Wl,' + lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive" + if test "$host_cpu" != ia64; then + lt_prog_compiler_pic_CXX='+Z' + fi + ;; + aCC) + lt_prog_compiler_wl_CXX='-Wl,' + lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive" + case "$host_cpu" in + hppa*64*|ia64*) + # +Z the default + ;; + *) + lt_prog_compiler_pic_CXX='+Z' + ;; + esac + ;; + *) + ;; + esac + ;; + irix5* | irix6* | nonstopux*) + case $cc_basename in + CC) + lt_prog_compiler_wl_CXX='-Wl,' + lt_prog_compiler_static_CXX='-non_shared' + # CC pic flag -KPIC is the default. + ;; + *) + ;; + esac + ;; + linux*) + case $cc_basename in + KCC) + # KAI C++ Compiler + lt_prog_compiler_wl_CXX='--backend -Wl,' + lt_prog_compiler_pic_CXX='-fPIC' + ;; + icpc) + # Intel C++ + lt_prog_compiler_wl_CXX='-Wl,' + lt_prog_compiler_pic_CXX='-KPIC' + lt_prog_compiler_static_CXX='-static' + ;; + cxx) + # Compaq C++ + # Make sure the PIC flag is empty. It appears that all Alpha + # Linux and Compaq Tru64 Unix objects are PIC. + lt_prog_compiler_pic_CXX= + lt_prog_compiler_static_CXX='-non_shared' + ;; + *) + ;; + esac + ;; + lynxos*) + ;; + m88k*) + ;; + mvs*) + case $cc_basename in + cxx) + lt_prog_compiler_pic_CXX='-W c,exportall' + ;; + *) + ;; + esac + ;; + netbsd*) + ;; + osf3* | osf4* | osf5*) + case $cc_basename in + KCC) + lt_prog_compiler_wl_CXX='--backend -Wl,' + ;; + RCC) + # Rational C++ 2.4.1 + lt_prog_compiler_pic_CXX='-pic' + ;; + cxx) + # Digital/Compaq C++ + lt_prog_compiler_wl_CXX='-Wl,' + # Make sure the PIC flag is empty. It appears that all Alpha + # Linux and Compaq Tru64 Unix objects are PIC. + lt_prog_compiler_pic_CXX= + lt_prog_compiler_static_CXX='-non_shared' + ;; + *) + ;; + esac + ;; + psos*) + ;; + sco*) + case $cc_basename in + CC) + lt_prog_compiler_pic_CXX='-fPIC' + ;; + *) + ;; + esac + ;; + solaris*) + case $cc_basename in + CC) + # Sun C++ 4.2, 5.x and Centerline C++ + lt_prog_compiler_pic_CXX='-KPIC' + lt_prog_compiler_static_CXX='-Bstatic' + lt_prog_compiler_wl_CXX='-Qoption ld ' + ;; + gcx) + # Green Hills C++ Compiler + lt_prog_compiler_pic_CXX='-PIC' + ;; + *) + ;; + esac + ;; + sunos4*) + case $cc_basename in + CC) + # Sun C++ 4.x + lt_prog_compiler_pic_CXX='-pic' + lt_prog_compiler_static_CXX='-Bstatic' + ;; + lcc) + # Lucid + lt_prog_compiler_pic_CXX='-pic' + ;; + *) + ;; + esac + ;; + tandem*) + case $cc_basename in + NCC) + # NonStop-UX NCC 3.20 + lt_prog_compiler_pic_CXX='-KPIC' + ;; + *) + ;; + esac + ;; + unixware*) + ;; + vxworks*) + ;; + *) + lt_prog_compiler_can_build_shared_CXX=no + ;; + esac + fi + +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5 +$as_echo "$lt_prog_compiler_pic_CXX" >&6; } + +# +# Check to make sure the PIC flag actually works. +# +if test -n "$lt_prog_compiler_pic_CXX"; then + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5 +$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; } +if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + lt_prog_compiler_pic_works_CXX=no + ac_outfile=conftest.$ac_objext + printf "$lt_simple_compile_test_code" > conftest.$ac_ext + lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + # The option is referenced via a variable to avoid confusing sed. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:11337: $lt_compile\"" >&5) + (eval "$lt_compile" 2>conftest.err) + ac_status=$? + cat conftest.err >&5 + echo "$as_me:11341: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s "$ac_outfile"; then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings + if test ! -s conftest.err; then + lt_prog_compiler_pic_works_CXX=yes + fi + fi + $rm conftest* + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_works_CXX" >&5 +$as_echo "$lt_prog_compiler_pic_works_CXX" >&6; } + +if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then + case $lt_prog_compiler_pic_CXX in + "" | " "*) ;; + *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;; + esac +else + lt_prog_compiler_pic_CXX= + lt_prog_compiler_can_build_shared_CXX=no +fi + +fi +case "$host_os" in + # For platforms which do not support PIC, -DPIC is meaningless: + *djgpp*) + lt_prog_compiler_pic_CXX= + ;; + *) + lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC" + ;; +esac + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 +$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } +if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + lt_cv_prog_compiler_c_o_CXX=no + $rm -r conftest 2>/dev/null + mkdir conftest + cd conftest + mkdir out + printf "$lt_simple_compile_test_code" > conftest.$ac_ext + + lt_compiler_flag="-o out/conftest2.$ac_objext" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:11397: $lt_compile\"" >&5) + (eval "$lt_compile" 2>out/conftest.err) + ac_status=$? + cat out/conftest.err >&5 + echo "$as_me:11401: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s out/conftest2.$ac_objext + then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings + if test ! -s out/conftest.err; then + lt_cv_prog_compiler_c_o_CXX=yes + fi + fi + chmod u+w . + $rm conftest* + # SGI C++ compiler will create directory out/ii_files/ for + # template instantiation + test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files + $rm out/* && rmdir out + cd .. + rmdir conftest + $rm conftest* + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5 +$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; } + + +hard_links="nottested" +if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then + # do not overwrite the value of need_locks provided by the user + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 +$as_echo_n "checking if we can lock with hard links... " >&6; } + hard_links=yes + $rm conftest* + ln conftest.a conftest.b 2>/dev/null && hard_links=no + touch conftest.a + ln conftest.a conftest.b 2>&5 || hard_links=no + ln conftest.a conftest.b 2>/dev/null && hard_links=no + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 +$as_echo "$hard_links" >&6; } + if test "$hard_links" = no; then + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 +$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} + need_locks=warn + fi +else + need_locks=no +fi + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 +$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } + + export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' + case $host_os in + aix4* | aix5*) + # If we're using GNU nm, then we don't want the "-C" option. + # -C means demangle to AIX nm, but means don't demangle with GNU nm + if $NM -V 2>&1 | grep 'GNU' > /dev/null; then + export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' + else + export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' + fi + ;; + pw32*) + export_symbols_cmds_CXX="$ltdll_cmds" + ;; + cygwin* | mingw*) + export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols' + ;; + *) + export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' + ;; + esac + +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5 +$as_echo "$ld_shlibs_CXX" >&6; } +test "$ld_shlibs_CXX" = no && can_build_shared=no + +variables_saved_for_relink="PATH $shlibpath_var $runpath_var" +if test "$GCC" = yes; then + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" +fi + +# +# Do we need to explicitly link libc? +# +case "x$archive_cmds_need_lc_CXX" in +x|xyes) + # Assume -lc should be added + archive_cmds_need_lc_CXX=yes + + if test "$enable_shared" = yes && test "$GCC" = yes; then + case $archive_cmds_CXX in + *'~'*) + # FIXME: we may have to deal with multi-command sequences. + ;; + '$CC '*) + # Test whether the compiler implicitly links with -lc since on some + # systems, -lgcc has to come before -lc. If gcc already passes -lc + # to ld, don't add -lc before -lgcc. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 +$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } + $rm conftest* + printf "$lt_simple_compile_test_code" > conftest.$ac_ext + + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } 2>conftest.err; then + soname=conftest + lib=conftest + libobjs=conftest.$ac_objext + deplibs= + wl=$lt_prog_compiler_wl_CXX + compiler_flags=-v + linker_flags=-v + verstring= + output_objdir=. + libname=conftest + lt_save_allow_undefined_flag=$allow_undefined_flag_CXX + allow_undefined_flag_CXX= + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\""; } >&5 + (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } + then + archive_cmds_need_lc_CXX=no + else + archive_cmds_need_lc_CXX=yes + fi + allow_undefined_flag_CXX=$lt_save_allow_undefined_flag + else + cat conftest.err 1>&5 + fi + $rm conftest* + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc_CXX" >&5 +$as_echo "$archive_cmds_need_lc_CXX" >&6; } + ;; + esac + fi + ;; +esac + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 +$as_echo_n "checking dynamic linker characteristics... " >&6; } +library_names_spec= +libname_spec='lib$name' +soname_spec= +shrext_cmds=".so" +postinstall_cmds= +postuninstall_cmds= +finish_cmds= +finish_eval= +shlibpath_var= +shlibpath_overrides_runpath=unknown +version_type=none +dynamic_linker="$host_os ld.so" +sys_lib_dlsearch_path_spec="/lib /usr/lib" +if test "$GCC" = yes; then + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` + if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then + # if the path contains ";" then we assume it to be the separator + # otherwise default to the standard path separator (i.e. ":") - it is + # assumed that no part of a normal pathname contains ";" but that should + # okay in the real world where ";" in dirpaths is itself problematic. + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` + else + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` + fi +else + sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" +fi +need_lib_prefix=unknown +hardcode_into_libs=no + +# when you set need_version to no, make sure it does not cause -set_version +# flags to be left without arguments +need_version=unknown + +case $host_os in +aix3*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' + shlibpath_var=LIBPATH + + # AIX 3 has no versioning support, so we append a major version to the name. + soname_spec='${libname}${release}${shared_ext}$major' + ;; + +aix4* | aix5*) + version_type=linux + need_lib_prefix=no + need_version=no + hardcode_into_libs=yes + if test "$host_cpu" = ia64; then + # AIX 5 supports IA64 + library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + else + # With GCC up to 2.95.x, collect2 would create an import file + # for dependence libraries. The import file would start with + # the line `#! .'. This would cause the generated library to + # depend on `.', always an invalid library. This was fixed in + # development snapshots of GCC prior to 3.0. + case $host_os in + aix4 | aix4.[01] | aix4.[01].*) + if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' + echo ' yes ' + echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then + : + else + can_build_shared=no + fi + ;; + esac + # AIX (on Power*) has no versioning support, so currently we can not hardcode correct + # soname into executable. Probably we can add versioning support to + # collect2, so additional links can be useful in future. + if test "$aix_use_runtimelinking" = yes; then + # If using run time linking (on AIX 4.2 or later) use lib.so + # instead of lib.a to let people know that these are not + # typical AIX shared libraries. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + else + # We preserve .a as extension for shared libraries through AIX4.2 + # and later when we are not doing run time linking. + library_names_spec='${libname}${release}.a $libname.a' + soname_spec='${libname}${release}${shared_ext}$major' + fi + shlibpath_var=LIBPATH + fi + ;; + +amigaos*) + library_names_spec='$libname.ixlibrary $libname.a' + # Create ${libname}_ixlibrary.a entries in /sys/libs. + finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' + ;; + +beos*) + library_names_spec='${libname}${shared_ext}' + dynamic_linker="$host_os ld.so" + shlibpath_var=LIBRARY_PATH + ;; + +bsdi4*) + version_type=linux + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' + shlibpath_var=LD_LIBRARY_PATH + sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" + sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" + # the default ld.so.conf also contains /usr/contrib/lib and + # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow + # libtool to hard-code these into programs + ;; + +cygwin* | mingw* | pw32*) + version_type=windows + shrext_cmds=".dll" + need_version=no + need_lib_prefix=no + + case $GCC,$host_os in + yes,cygwin* | yes,mingw* | yes,pw32*) + library_names_spec='$libname.dll.a' + # DLL is installed to $(libdir)/../bin by postinstall_cmds + postinstall_cmds='base_file=`basename \${file}`~ + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~ + dldir=$destdir/`dirname \$dlpath`~ + test -d \$dldir || mkdir -p \$dldir~ + $install_prog $dir/$dlname \$dldir/$dlname' + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ + dlpath=$dir/\$dldll~ + $rm \$dlpath' + shlibpath_overrides_runpath=yes + + case $host_os in + cygwin*) + # Cygwin DLLs use 'cyg' prefix rather than 'lib' + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' + sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" + ;; + mingw*) + # MinGW DLLs use traditional 'lib' prefix + soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` + if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then + # It is most probably a Windows format PATH printed by + # mingw gcc, but we are running on Cygwin. Gcc prints its search + # path with ; separators, and with drive letters. We can handle the + # drive letters (cygwin fileutils understands them), so leave them, + # especially as we might pass files found there to a mingw objdump, + # which wouldn't understand a cygwinified path. Ahh. + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` + else + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` + fi + ;; + pw32*) + # pw32 DLLs use 'pw' prefix rather than 'lib' + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}' + ;; + esac + ;; + + *) + library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' + ;; + esac + dynamic_linker='Win32 ld.exe' + # FIXME: first we should search . and the directory the executable is in + shlibpath_var=PATH + ;; + +darwin* | rhapsody*) + dynamic_linker="$host_os dyld" + version_type=darwin + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' + soname_spec='${libname}${release}${major}$shared_ext' + shlibpath_overrides_runpath=yes + shlibpath_var=DYLD_LIBRARY_PATH + shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)' + # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. + if test "$GCC" = yes; then + sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"` + else + sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib' + fi + sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' + ;; + +dgux*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + ;; + +freebsd1*) + dynamic_linker=no + ;; + +kfreebsd*-gnu) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + dynamic_linker='GNU ld.so' + ;; + +freebsd*) + objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` + version_type=freebsd-$objformat + case $version_type in + freebsd-elf*) + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' + need_version=no + need_lib_prefix=no + ;; + freebsd-*) + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' + need_version=yes + ;; + esac + shlibpath_var=LD_LIBRARY_PATH + case $host_os in + freebsd2*) + shlibpath_overrides_runpath=yes + ;; + freebsd3.01* | freebsdelf3.01*) + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + ;; + *) # from 3.2 on + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + ;; + esac + ;; + +gnu*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + hardcode_into_libs=yes + ;; + +hpux9* | hpux10* | hpux11*) + # Give a soname corresponding to the major version so that dld.sl refuses to + # link against other versions. + version_type=sunos + need_lib_prefix=no + need_version=no + case "$host_cpu" in + ia64*) + shrext_cmds='.so' + hardcode_into_libs=yes + dynamic_linker="$host_os dld.so" + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + if test "X$HPUX_IA64_MODE" = X32; then + sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" + else + sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" + fi + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec + ;; + hppa*64*) + shrext_cmds='.sl' + hardcode_into_libs=yes + dynamic_linker="$host_os dld.sl" + shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec + ;; + *) + shrext_cmds='.sl' + dynamic_linker="$host_os dld.sl" + shlibpath_var=SHLIB_PATH + shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + ;; + esac + # HP-UX runs *really* slowly unless shared libraries are mode 555. + postinstall_cmds='chmod 555 $lib' + ;; + +irix5* | irix6* | nonstopux*) + case $host_os in + nonstopux*) version_type=nonstopux ;; + *) + if test "$lt_cv_prog_gnu_ld" = yes; then + version_type=linux + else + version_type=irix + fi ;; + esac + need_lib_prefix=no + need_version=no + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' + case $host_os in + irix5* | nonstopux*) + libsuff= shlibsuff= + ;; + *) + case $LD in # libtool.m4 will add one of these switches to LD + *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") + libsuff= shlibsuff= libmagic=32-bit;; + *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") + libsuff=32 shlibsuff=N32 libmagic=N32;; + *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") + libsuff=64 shlibsuff=64 libmagic=64-bit;; + *) libsuff= shlibsuff= libmagic=never-match;; + esac + ;; + esac + shlibpath_var=LD_LIBRARY${shlibsuff}_PATH + shlibpath_overrides_runpath=no + sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" + sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" + hardcode_into_libs=yes + ;; + +# No shared lib support for Linux oldld, aout, or coff. +linux*oldld* | linux*aout* | linux*coff*) + dynamic_linker=no + ;; + +# This must be Linux ELF. +linux*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + # This implies no fast_install, which is unacceptable. + # Some rework will be needed to allow for fast_install + # before this can be enabled. + hardcode_into_libs=yes + + # find out which ABI we are using + libsuff= + case "$host_cpu" in + x86_64*|s390x*|powerpc64*) + echo '#line 11908 "configure"' > conftest.$ac_ext + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + case `/usr/bin/file conftest.$ac_objext` in + *64-bit*) + libsuff=64 + sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}" + ;; + esac + fi + rm -rf conftest* + ;; + esac + + # Append ld.so.conf contents to the search path + if test -f /etc/ld.so.conf; then + lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '` + sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra" + fi + + # We used to test for /lib/ld.so.1 and disable shared libraries on + # powerpc, because MkLinux only supported shared libraries with the + # GNU dynamic linker. Since this was broken with cross compilers, + # most powerpc-linux boxes support dynamic linking these days and + # people can always --disable-shared, the test was removed, and we + # assume the GNU/Linux dynamic linker is in use. + dynamic_linker='GNU/Linux ld.so' + ;; + +knetbsd*-gnu) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + dynamic_linker='GNU ld.so' + ;; + +netbsd*) + version_type=sunos + need_lib_prefix=no + need_version=no + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' + dynamic_linker='NetBSD (a.out) ld.so' + else + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + dynamic_linker='NetBSD ld.elf_so' + fi + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + ;; + +newsos6) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + ;; + +nto-qnx*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + ;; + +openbsd*) + version_type=sunos + need_lib_prefix=no + need_version=yes + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' + shlibpath_var=LD_LIBRARY_PATH + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + case $host_os in + openbsd2.[89] | openbsd2.[89].*) + shlibpath_overrides_runpath=no + ;; + *) + shlibpath_overrides_runpath=yes + ;; + esac + else + shlibpath_overrides_runpath=yes + fi + ;; + +os2*) + libname_spec='$name' + shrext_cmds=".dll" + need_lib_prefix=no + library_names_spec='$libname${shared_ext} $libname.a' + dynamic_linker='OS/2 ld.exe' + shlibpath_var=LIBPATH + ;; + +osf3* | osf4* | osf5*) + version_type=osf + need_lib_prefix=no + need_version=no + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" + sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" + ;; + +sco3.2v5*) + version_type=osf + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + ;; + +solaris*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + # ldd complains unless libraries are executable + postinstall_cmds='chmod +x $lib' + ;; + +sunos4*) + version_type=sunos + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + if test "$with_gnu_ld" = yes; then + need_lib_prefix=no + fi + need_version=yes + ;; + +sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + case $host_vendor in + sni) + shlibpath_overrides_runpath=no + need_lib_prefix=no + export_dynamic_flag_spec='${wl}-Blargedynsym' + runpath_var=LD_RUN_PATH + ;; + siemens) + need_lib_prefix=no + ;; + motorola) + need_lib_prefix=no + need_version=no + shlibpath_overrides_runpath=no + sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' + ;; + esac + ;; + +sysv4*MP*) + if test -d /usr/nec ;then + version_type=linux + library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' + soname_spec='$libname${shared_ext}.$major' + shlibpath_var=LD_LIBRARY_PATH + fi + ;; + +uts4*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + ;; + +*) + dynamic_linker=no + ;; +esac +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 +$as_echo "$dynamic_linker" >&6; } +test "$dynamic_linker" = no && can_build_shared=no + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 +$as_echo_n "checking how to hardcode library paths into programs... " >&6; } +hardcode_action_CXX= +if test -n "$hardcode_libdir_flag_spec_CXX" || \ + test -n "$runpath_var CXX" || \ + test "X$hardcode_automatic_CXX"="Xyes" ; then + + # We can hardcode non-existant directories. + if test "$hardcode_direct_CXX" != no && + # If the only mechanism to avoid hardcoding is shlibpath_var, we + # have to relink, otherwise we might link with an installed library + # when we should be linking with a yet-to-be-installed one + ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no && + test "$hardcode_minus_L_CXX" != no; then + # Linking always hardcodes the temporary library directory. + hardcode_action_CXX=relink + else + # We can link without hardcoding, and we can hardcode nonexisting dirs. + hardcode_action_CXX=immediate + fi +else + # We cannot hardcode anything, or else we can only hardcode existing + # directories. + hardcode_action_CXX=unsupported +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5 +$as_echo "$hardcode_action_CXX" >&6; } + +if test "$hardcode_action_CXX" = relink; then + # Fast installation is not supported + enable_fast_install=no +elif test "$shlibpath_overrides_runpath" = yes || + test "$enable_shared" = no; then + # Fast installation is not necessary + enable_fast_install=needless +fi + +striplib= +old_striplib= +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 +$as_echo_n "checking whether stripping libraries is possible... " >&6; } +if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then + test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" + test -z "$striplib" && striplib="$STRIP --strip-unneeded" + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } +else +# FIXME - insert some real tests, host_os isn't really good enough + case $host_os in + darwin*) + if test -n "$STRIP" ; then + striplib="$STRIP -x" + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + ;; + *) + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + ;; + esac +fi + +if test "x$enable_dlopen" != xyes; then + enable_dlopen=unknown + enable_dlopen_self=unknown + enable_dlopen_self_static=unknown +else + lt_cv_dlopen=no + lt_cv_dlopen_libs= + + case $host_os in + beos*) + lt_cv_dlopen="load_add_on" + lt_cv_dlopen_libs= + lt_cv_dlopen_self=yes + ;; + + mingw* | pw32*) + lt_cv_dlopen="LoadLibrary" + lt_cv_dlopen_libs= + ;; + + cygwin*) + lt_cv_dlopen="dlopen" + lt_cv_dlopen_libs= + ;; + + darwin*) + # if libdl is installed we need to link against it + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 +$as_echo_n "checking for dlopen in -ldl... " >&6; } +if test "${ac_cv_lib_dl_dlopen+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-ldl $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char dlopen (); +int +main () +{ +return dlopen (); + ; + return 0; +} +_ACEOF +if ac_fn_cxx_try_link "$LINENO"; then : + ac_cv_lib_dl_dlopen=yes +else + ac_cv_lib_dl_dlopen=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 +$as_echo "$ac_cv_lib_dl_dlopen" >&6; } +if test "x$ac_cv_lib_dl_dlopen" = x""yes; then : + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" +else + + lt_cv_dlopen="dyld" + lt_cv_dlopen_libs= + lt_cv_dlopen_self=yes + +fi + + ;; + + *) + ac_fn_cxx_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" +if test "x$ac_cv_func_shl_load" = x""yes; then : + lt_cv_dlopen="shl_load" +else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 +$as_echo_n "checking for shl_load in -ldld... " >&6; } +if test "${ac_cv_lib_dld_shl_load+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-ldld $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char shl_load (); +int +main () +{ +return shl_load (); + ; + return 0; +} +_ACEOF +if ac_fn_cxx_try_link "$LINENO"; then : + ac_cv_lib_dld_shl_load=yes +else + ac_cv_lib_dld_shl_load=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 +$as_echo "$ac_cv_lib_dld_shl_load" >&6; } +if test "x$ac_cv_lib_dld_shl_load" = x""yes; then : + lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld" +else + ac_fn_cxx_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" +if test "x$ac_cv_func_dlopen" = x""yes; then : + lt_cv_dlopen="dlopen" +else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 +$as_echo_n "checking for dlopen in -ldl... " >&6; } +if test "${ac_cv_lib_dl_dlopen+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-ldl $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char dlopen (); +int +main () +{ +return dlopen (); + ; + return 0; +} +_ACEOF +if ac_fn_cxx_try_link "$LINENO"; then : + ac_cv_lib_dl_dlopen=yes +else + ac_cv_lib_dl_dlopen=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 +$as_echo "$ac_cv_lib_dl_dlopen" >&6; } +if test "x$ac_cv_lib_dl_dlopen" = x""yes; then : + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" +else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 +$as_echo_n "checking for dlopen in -lsvld... " >&6; } +if test "${ac_cv_lib_svld_dlopen+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lsvld $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char dlopen (); +int +main () +{ +return dlopen (); + ; + return 0; +} +_ACEOF +if ac_fn_cxx_try_link "$LINENO"; then : + ac_cv_lib_svld_dlopen=yes +else + ac_cv_lib_svld_dlopen=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 +$as_echo "$ac_cv_lib_svld_dlopen" >&6; } +if test "x$ac_cv_lib_svld_dlopen" = x""yes; then : + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" +else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 +$as_echo_n "checking for dld_link in -ldld... " >&6; } +if test "${ac_cv_lib_dld_dld_link+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-ldld $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char dld_link (); +int +main () +{ +return dld_link (); + ; + return 0; +} +_ACEOF +if ac_fn_cxx_try_link "$LINENO"; then : + ac_cv_lib_dld_dld_link=yes +else + ac_cv_lib_dld_dld_link=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 +$as_echo "$ac_cv_lib_dld_dld_link" >&6; } +if test "x$ac_cv_lib_dld_dld_link" = x""yes; then : + lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld" +fi + + +fi + + +fi + + +fi + + +fi + + +fi + + ;; + esac + + if test "x$lt_cv_dlopen" != xno; then + enable_dlopen=yes + else + enable_dlopen=no + fi + + case $lt_cv_dlopen in + dlopen) + save_CPPFLAGS="$CPPFLAGS" + test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" + + save_LDFLAGS="$LDFLAGS" + eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" + + save_LIBS="$LIBS" + LIBS="$lt_cv_dlopen_libs $LIBS" + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 +$as_echo_n "checking whether a program can dlopen itself... " >&6; } +if test "${lt_cv_dlopen_self+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if test "$cross_compiling" = yes; then : + lt_cv_dlopen_self=cross +else + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 + lt_status=$lt_dlunknown + cat > conftest.$ac_ext < +#endif + +#include + +#ifdef RTLD_GLOBAL +# define LT_DLGLOBAL RTLD_GLOBAL +#else +# ifdef DL_GLOBAL +# define LT_DLGLOBAL DL_GLOBAL +# else +# define LT_DLGLOBAL 0 +# endif +#endif + +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we + find out it does not work in some platform. */ +#ifndef LT_DLLAZY_OR_NOW +# ifdef RTLD_LAZY +# define LT_DLLAZY_OR_NOW RTLD_LAZY +# else +# ifdef DL_LAZY +# define LT_DLLAZY_OR_NOW DL_LAZY +# else +# ifdef RTLD_NOW +# define LT_DLLAZY_OR_NOW RTLD_NOW +# else +# ifdef DL_NOW +# define LT_DLLAZY_OR_NOW DL_NOW +# else +# define LT_DLLAZY_OR_NOW 0 +# endif +# endif +# endif +# endif +#endif + +#ifdef __cplusplus +extern "C" void exit (int); +#endif + +void fnord() { int i=42;} +int main () +{ + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); + int status = $lt_dlunknown; + + if (self) + { + if (dlsym (self,"fnord")) status = $lt_dlno_uscore; + else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; + /* dlclose (self); */ + } + + exit (status); +} +EOF + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 + (eval $ac_link) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then + (./conftest; exit; ) 2>/dev/null + lt_status=$? + case x$lt_status in + x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; + x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; + x$lt_unknown|x*) lt_cv_dlopen_self=no ;; + esac + else : + # compilation failed + lt_cv_dlopen_self=no + fi +fi +rm -fr conftest* + + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 +$as_echo "$lt_cv_dlopen_self" >&6; } + + if test "x$lt_cv_dlopen_self" = xyes; then + LDFLAGS="$LDFLAGS $link_static_flag" + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 +$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } +if test "${lt_cv_dlopen_self_static+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if test "$cross_compiling" = yes; then : + lt_cv_dlopen_self_static=cross +else + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 + lt_status=$lt_dlunknown + cat > conftest.$ac_ext < +#endif + +#include + +#ifdef RTLD_GLOBAL +# define LT_DLGLOBAL RTLD_GLOBAL +#else +# ifdef DL_GLOBAL +# define LT_DLGLOBAL DL_GLOBAL +# else +# define LT_DLGLOBAL 0 +# endif +#endif + +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we + find out it does not work in some platform. */ +#ifndef LT_DLLAZY_OR_NOW +# ifdef RTLD_LAZY +# define LT_DLLAZY_OR_NOW RTLD_LAZY +# else +# ifdef DL_LAZY +# define LT_DLLAZY_OR_NOW DL_LAZY +# else +# ifdef RTLD_NOW +# define LT_DLLAZY_OR_NOW RTLD_NOW +# else +# ifdef DL_NOW +# define LT_DLLAZY_OR_NOW DL_NOW +# else +# define LT_DLLAZY_OR_NOW 0 +# endif +# endif +# endif +# endif +#endif + +#ifdef __cplusplus +extern "C" void exit (int); +#endif + +void fnord() { int i=42;} +int main () +{ + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); + int status = $lt_dlunknown; + + if (self) + { + if (dlsym (self,"fnord")) status = $lt_dlno_uscore; + else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; + /* dlclose (self); */ + } + + exit (status); +} +EOF + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 + (eval $ac_link) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then + (./conftest; exit; ) 2>/dev/null + lt_status=$? + case x$lt_status in + x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; + x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; + x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;; + esac + else : + # compilation failed + lt_cv_dlopen_self_static=no + fi +fi +rm -fr conftest* + + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 +$as_echo "$lt_cv_dlopen_self_static" >&6; } + fi + + CPPFLAGS="$save_CPPFLAGS" + LDFLAGS="$save_LDFLAGS" + LIBS="$save_LIBS" + ;; + esac + + case $lt_cv_dlopen_self in + yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; + *) enable_dlopen_self=unknown ;; + esac + + case $lt_cv_dlopen_self_static in + yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; + *) enable_dlopen_self_static=unknown ;; + esac +fi + + +# The else clause should only fire when bootstrapping the +# libtool distribution, otherwise you forgot to ship ltmain.sh +# with your package, and you will get complaints that there are +# no rules to generate ltmain.sh. +if test -f "$ltmain"; then + # See if we are running on zsh, and set the options which allow our commands through + # without removal of \ escapes. + if test -n "${ZSH_VERSION+set}" ; then + setopt NO_GLOB_SUBST + fi + # Now quote all the things that may contain metacharacters while being + # careful not to overquote the AC_SUBSTed values. We take copies of the + # variables and quote the copies for generation of the libtool script. + for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \ + SED SHELL STRIP \ + libname_spec library_names_spec soname_spec extract_expsyms_cmds \ + old_striplib striplib file_magic_cmd finish_cmds finish_eval \ + deplibs_check_method reload_flag reload_cmds need_locks \ + lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ + lt_cv_sys_global_symbol_to_c_name_address \ + sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ + old_postinstall_cmds old_postuninstall_cmds \ + compiler_CXX \ + CC_CXX \ + LD_CXX \ + lt_prog_compiler_wl_CXX \ + lt_prog_compiler_pic_CXX \ + lt_prog_compiler_static_CXX \ + lt_prog_compiler_no_builtin_flag_CXX \ + export_dynamic_flag_spec_CXX \ + thread_safe_flag_spec_CXX \ + whole_archive_flag_spec_CXX \ + enable_shared_with_static_runtimes_CXX \ + old_archive_cmds_CXX \ + old_archive_from_new_cmds_CXX \ + predep_objects_CXX \ + postdep_objects_CXX \ + predeps_CXX \ + postdeps_CXX \ + compiler_lib_search_path_CXX \ + archive_cmds_CXX \ + archive_expsym_cmds_CXX \ + postinstall_cmds_CXX \ + postuninstall_cmds_CXX \ + old_archive_from_expsyms_cmds_CXX \ + allow_undefined_flag_CXX \ + no_undefined_flag_CXX \ + export_symbols_cmds_CXX \ + hardcode_libdir_flag_spec_CXX \ + hardcode_libdir_flag_spec_ld_CXX \ + hardcode_libdir_separator_CXX \ + hardcode_automatic_CXX \ + module_cmds_CXX \ + module_expsym_cmds_CXX \ + lt_cv_prog_compiler_c_o_CXX \ + exclude_expsyms_CXX \ + include_expsyms_CXX; do + + case $var in + old_archive_cmds_CXX | \ + old_archive_from_new_cmds_CXX | \ + archive_cmds_CXX | \ + archive_expsym_cmds_CXX | \ + module_cmds_CXX | \ + module_expsym_cmds_CXX | \ + old_archive_from_expsyms_cmds_CXX | \ + export_symbols_cmds_CXX | \ + extract_expsyms_cmds | reload_cmds | finish_cmds | \ + postinstall_cmds | postuninstall_cmds | \ + old_postinstall_cmds | old_postuninstall_cmds | \ + sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) + # Double-quote double-evaled strings. + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" + ;; + *) + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\"" + ;; + esac + done + + case $lt_echo in + *'\$0 --fallback-echo"') + lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'` + ;; + esac + +cfgfile="$ofile" + + cat <<__EOF__ >> "$cfgfile" +# ### BEGIN LIBTOOL TAG CONFIG: $tagname + +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: + +# Shell to use when invoking shell scripts. +SHELL=$lt_SHELL + +# Whether or not to build shared libraries. +build_libtool_libs=$enable_shared + +# Whether or not to build static libraries. +build_old_libs=$enable_static + +# Whether or not to add -lc for building shared libraries. +build_libtool_need_lc=$archive_cmds_need_lc_CXX + +# Whether or not to disallow shared libs when runtime libs are static +allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX + +# Whether or not to optimize for fast installation. +fast_install=$enable_fast_install + +# The host system. +host_alias=$host_alias +host=$host + +# An echo program that does not interpret backslashes. +echo=$lt_echo + +# The archiver. +AR=$lt_AR +AR_FLAGS=$lt_AR_FLAGS + +# A C compiler. +LTCC=$lt_LTCC + +# A language-specific compiler. +CC=$lt_compiler_CXX + +# Is the compiler the GNU C compiler? +with_gcc=$GCC_CXX + +# An ERE matcher. +EGREP=$lt_EGREP + +# The linker used to build libraries. +LD=$lt_LD_CXX + +# Whether we need hard or soft links. +LN_S=$lt_LN_S + +# A BSD-compatible nm program. +NM=$lt_NM + +# A symbol stripping program +STRIP=$lt_STRIP + +# Used to examine libraries when file_magic_cmd begins "file" +MAGIC_CMD=$MAGIC_CMD + +# Used on cygwin: DLL creation program. +DLLTOOL="$DLLTOOL" + +# Used on cygwin: object dumper. +OBJDUMP="$OBJDUMP" + +# Used on cygwin: assembler. +AS="$AS" + +# The name of the directory that contains temporary libtool files. +objdir=$objdir + +# How to create reloadable object files. +reload_flag=$lt_reload_flag +reload_cmds=$lt_reload_cmds + +# How to pass a linker flag through the compiler. +wl=$lt_lt_prog_compiler_wl_CXX + +# Object file suffix (normally "o"). +objext="$ac_objext" + +# Old archive suffix (normally "a"). +libext="$libext" + +# Shared library suffix (normally ".so"). +shrext_cmds='$shrext_cmds' + +# Executable file suffix (normally ""). +exeext="$exeext" + +# Additional compiler flags for building library objects. +pic_flag=$lt_lt_prog_compiler_pic_CXX +pic_mode=$pic_mode + +# What is the maximum length of a command? +max_cmd_len=$lt_cv_sys_max_cmd_len + +# Does compiler simultaneously support -c and -o options? +compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX + +# Must we lock files when doing compilation ? +need_locks=$lt_need_locks + +# Do we need the lib prefix for modules? +need_lib_prefix=$need_lib_prefix + +# Do we need a version for libraries? +need_version=$need_version + +# Whether dlopen is supported. +dlopen_support=$enable_dlopen + +# Whether dlopen of programs is supported. +dlopen_self=$enable_dlopen_self + +# Whether dlopen of statically linked programs is supported. +dlopen_self_static=$enable_dlopen_self_static + +# Compiler flag to prevent dynamic linking. +link_static_flag=$lt_lt_prog_compiler_static_CXX + +# Compiler flag to turn off builtin functions. +no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX + +# Compiler flag to allow reflexive dlopens. +export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX + +# Compiler flag to generate shared objects directly from archives. +whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX + +# Compiler flag to generate thread-safe objects. +thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX + +# Library versioning type. +version_type=$version_type + +# Format of library name prefix. +libname_spec=$lt_libname_spec + +# List of archive names. First name is the real one, the rest are links. +# The last name is the one that the linker finds with -lNAME. +library_names_spec=$lt_library_names_spec + +# The coded name of the library, if different from the real name. +soname_spec=$lt_soname_spec + +# Commands used to build and install an old-style archive. +RANLIB=$lt_RANLIB +old_archive_cmds=$lt_old_archive_cmds_CXX +old_postinstall_cmds=$lt_old_postinstall_cmds +old_postuninstall_cmds=$lt_old_postuninstall_cmds + +# Create an old-style archive from a shared archive. +old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX + +# Create a temporary old-style archive to link instead of a shared archive. +old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX + +# Commands used to build and install a shared archive. +archive_cmds=$lt_archive_cmds_CXX +archive_expsym_cmds=$lt_archive_expsym_cmds_CXX +postinstall_cmds=$lt_postinstall_cmds +postuninstall_cmds=$lt_postuninstall_cmds + +# Commands used to build a loadable module (assumed same as above if empty) +module_cmds=$lt_module_cmds_CXX +module_expsym_cmds=$lt_module_expsym_cmds_CXX + +# Commands to strip libraries. +old_striplib=$lt_old_striplib +striplib=$lt_striplib + +# Dependencies to place before the objects being linked to create a +# shared library. +predep_objects=$lt_predep_objects_CXX + +# Dependencies to place after the objects being linked to create a +# shared library. +postdep_objects=$lt_postdep_objects_CXX + +# Dependencies to place before the objects being linked to create a +# shared library. +predeps=$lt_predeps_CXX + +# Dependencies to place after the objects being linked to create a +# shared library. +postdeps=$lt_postdeps_CXX + +# The library search path used internally by the compiler when linking +# a shared library. +compiler_lib_search_path=$lt_compiler_lib_search_path_CXX + +# Method to check whether dependent libraries are shared objects. +deplibs_check_method=$lt_deplibs_check_method + +# Command to use when deplibs_check_method == file_magic. +file_magic_cmd=$lt_file_magic_cmd + +# Flag that allows shared libraries with undefined symbols to be built. +allow_undefined_flag=$lt_allow_undefined_flag_CXX + +# Flag that forces no undefined symbols. +no_undefined_flag=$lt_no_undefined_flag_CXX + +# Commands used to finish a libtool library installation in a directory. +finish_cmds=$lt_finish_cmds + +# Same as above, but a single script fragment to be evaled but not shown. +finish_eval=$lt_finish_eval + +# Take the output of nm and produce a listing of raw symbols and C names. +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe + +# Transform the output of nm in a proper C declaration +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl + +# Transform the output of nm in a C name address pair +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address + +# This is the shared library runtime path variable. +runpath_var=$runpath_var + +# This is the shared library path variable. +shlibpath_var=$shlibpath_var + +# Is shlibpath searched before the hard-coded library search path? +shlibpath_overrides_runpath=$shlibpath_overrides_runpath + +# How to hardcode a shared library path into an executable. +hardcode_action=$hardcode_action_CXX + +# Whether we should hardcode library paths into libraries. +hardcode_into_libs=$hardcode_into_libs + +# Flag to hardcode \$libdir into a binary during linking. +# This must work even if \$libdir does not exist. +hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX + +# If ld is used when linking, flag to hardcode \$libdir into +# a binary during linking. This must work even if \$libdir does +# not exist. +hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX + +# Whether we need a single -rpath flag with a separated argument. +hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX + +# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the +# resulting binary. +hardcode_direct=$hardcode_direct_CXX + +# Set to yes if using the -LDIR flag during linking hardcodes DIR into the +# resulting binary. +hardcode_minus_L=$hardcode_minus_L_CXX + +# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into +# the resulting binary. +hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX + +# Set to yes if building a shared library automatically hardcodes DIR into the library +# and all subsequent libraries and executables linked against it. +hardcode_automatic=$hardcode_automatic_CXX + +# Variables whose values should be saved in libtool wrapper scripts and +# restored at relink time. +variables_saved_for_relink="$variables_saved_for_relink" + +# Whether libtool must link a program against all its dependency libraries. +link_all_deplibs=$link_all_deplibs_CXX + +# Compile-time system search path for libraries +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec + +# Run-time system search path for libraries +sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec + +# Fix the shell variable \$srcfile for the compiler. +fix_srcfile_path="$fix_srcfile_path_CXX" + +# Set to yes if exported symbols are required. +always_export_symbols=$always_export_symbols_CXX + +# The commands to list exported symbols. +export_symbols_cmds=$lt_export_symbols_cmds_CXX + +# The commands to extract the exported symbol list from a shared archive. +extract_expsyms_cmds=$lt_extract_expsyms_cmds + +# Symbols that should not be listed in the preloaded symbols. +exclude_expsyms=$lt_exclude_expsyms_CXX + +# Symbols that must always be exported. +include_expsyms=$lt_include_expsyms_CXX + +# ### END LIBTOOL TAG CONFIG: $tagname + +__EOF__ + + +else + # If there is no Makefile yet, we rely on a make rule to execute + # `config.status --recheck' to rerun these tests and create the + # libtool script then. + ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'` + if test -f "$ltmain_in"; then + test -f Makefile && make "$ltmain" + fi +fi + + +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + +CC=$lt_save_CC +LDCXX=$LD +LD=$lt_save_LD +GCC=$lt_save_GCC +with_gnu_ldcxx=$with_gnu_ld +with_gnu_ld=$lt_save_with_gnu_ld +lt_cv_path_LDCXX=$lt_cv_path_LD +lt_cv_path_LD=$lt_save_path_LD +lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld +lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld + + else + tagname="" + fi + ;; + + F77) + if test -n "$F77" && test "X$F77" != "Xno"; then + +ac_ext=f +ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5' +ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_f77_compiler_gnu + + +archive_cmds_need_lc_F77=no +allow_undefined_flag_F77= +always_export_symbols_F77=no +archive_expsym_cmds_F77= +export_dynamic_flag_spec_F77= +hardcode_direct_F77=no +hardcode_libdir_flag_spec_F77= +hardcode_libdir_flag_spec_ld_F77= +hardcode_libdir_separator_F77= +hardcode_minus_L_F77=no +hardcode_automatic_F77=no +module_cmds_F77= +module_expsym_cmds_F77= +link_all_deplibs_F77=unknown +old_archive_cmds_F77=$old_archive_cmds +no_undefined_flag_F77= +whole_archive_flag_spec_F77= +enable_shared_with_static_runtimes_F77=no + +# Source file extension for f77 test sources. +ac_ext=f + +# Object file extension for compiled f77 test sources. +objext=o +objext_F77=$objext + +# Code to be used in simple compile tests +lt_simple_compile_test_code=" subroutine t\n return\n end\n" + +# Code to be used in simple link tests +lt_simple_link_test_code=" program t\n end\n" + +# ltmain only uses $CC for tagged configurations so make sure $CC is set. + +# If no C compiler was specified, use CC. +LTCC=${LTCC-"$CC"} + +# Allow CC to be a program name with arguments. +compiler=$CC + + +# Allow CC to be a program name with arguments. +lt_save_CC="$CC" +CC=${F77-"f77"} +compiler=$CC +compiler_F77=$CC +cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'` + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 +$as_echo_n "checking if libtool supports shared libraries... " >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 +$as_echo "$can_build_shared" >&6; } + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 +$as_echo_n "checking whether to build shared libraries... " >&6; } +test "$can_build_shared" = "no" && enable_shared=no + +# On AIX, shared libraries and static libraries use the same namespace, and +# are all built from PIC. +case "$host_os" in +aix3*) + test "$enable_shared" = yes && enable_static=no + if test -n "$RANLIB"; then + archive_cmds="$archive_cmds~\$RANLIB \$lib" + postinstall_cmds='$RANLIB $lib' + fi + ;; +aix4* | aix5*) + test "$enable_shared" = yes && enable_static=no + ;; +esac +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 +$as_echo "$enable_shared" >&6; } + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 +$as_echo_n "checking whether to build static libraries... " >&6; } +# Make sure either enable_shared or enable_static is yes. +test "$enable_shared" = yes || enable_static=yes +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 +$as_echo "$enable_static" >&6; } + +test "$ld_shlibs_F77" = no && can_build_shared=no + +GCC_F77="$G77" +LD_F77="$LD" + +lt_prog_compiler_wl_F77= +lt_prog_compiler_pic_F77= +lt_prog_compiler_static_F77= + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 +$as_echo_n "checking for $compiler option to produce PIC... " >&6; } + + if test "$GCC" = yes; then + lt_prog_compiler_wl_F77='-Wl,' + lt_prog_compiler_static_F77='-static' + + case $host_os in + aix*) + # All AIX code is PIC. + if test "$host_cpu" = ia64; then + # AIX 5 now supports IA64 processor + lt_prog_compiler_static_F77='-Bstatic' + fi + ;; + + amigaos*) + # FIXME: we need at least 68020 code to build shared libraries, but + # adding the `-m68020' flag to GCC prevents building anything better, + # like `-m68040'. + lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4' + ;; + + beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) + # PIC is the default for these OSes. + ;; + + mingw* | pw32* | os2*) + # This hack is so that the source file can tell whether it is being + # built for inclusion in a dll (and should export symbols for example). + lt_prog_compiler_pic_F77='-DDLL_EXPORT' + ;; + + darwin* | rhapsody*) + # PIC is the default on this platform + # Common symbols not allowed in MH_DYLIB files + lt_prog_compiler_pic_F77='-fno-common' + ;; + + msdosdjgpp*) + # Just because we use GCC doesn't mean we suddenly get shared libraries + # on systems that don't support them. + lt_prog_compiler_can_build_shared_F77=no + enable_shared=no + ;; + + sysv4*MP*) + if test -d /usr/nec; then + lt_prog_compiler_pic_F77=-Kconform_pic + fi + ;; + + hpux*) + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but + # not for PA HP-UX. + case "$host_cpu" in + hppa*64*|ia64*) + # +Z the default + ;; + *) + lt_prog_compiler_pic_F77='-fPIC' + ;; + esac + ;; + + *) + lt_prog_compiler_pic_F77='-fPIC' + ;; + esac + else + # PORTME Check for flag to pass linker flags through the system compiler. + case $host_os in + aix*) + lt_prog_compiler_wl_F77='-Wl,' + if test "$host_cpu" = ia64; then + # AIX 5 now supports IA64 processor + lt_prog_compiler_static_F77='-Bstatic' + else + lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp' + fi + ;; + + mingw* | pw32* | os2*) + # This hack is so that the source file can tell whether it is being + # built for inclusion in a dll (and should export symbols for example). + lt_prog_compiler_pic_F77='-DDLL_EXPORT' + ;; + + hpux9* | hpux10* | hpux11*) + lt_prog_compiler_wl_F77='-Wl,' + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but + # not for PA HP-UX. + case "$host_cpu" in + hppa*64*|ia64*) + # +Z the default + ;; + *) + lt_prog_compiler_pic_F77='+Z' + ;; + esac + # Is there a better lt_prog_compiler_static that works with the bundled CC? + lt_prog_compiler_static_F77='${wl}-a ${wl}archive' + ;; + + irix5* | irix6* | nonstopux*) + lt_prog_compiler_wl_F77='-Wl,' + # PIC (with -KPIC) is the default. + lt_prog_compiler_static_F77='-non_shared' + ;; + + newsos6) + lt_prog_compiler_pic_F77='-KPIC' + lt_prog_compiler_static_F77='-Bstatic' + ;; + + linux*) + case $CC in + icc* | ecc*) + lt_prog_compiler_wl_F77='-Wl,' + lt_prog_compiler_pic_F77='-KPIC' + lt_prog_compiler_static_F77='-static' + ;; + ccc*) + lt_prog_compiler_wl_F77='-Wl,' + # All Alpha code is PIC. + lt_prog_compiler_static_F77='-non_shared' + ;; + esac + ;; + + osf3* | osf4* | osf5*) + lt_prog_compiler_wl_F77='-Wl,' + # All OSF/1 code is PIC. + lt_prog_compiler_static_F77='-non_shared' + ;; + + sco3.2v5*) + lt_prog_compiler_pic_F77='-Kpic' + lt_prog_compiler_static_F77='-dn' + ;; + + solaris*) + lt_prog_compiler_wl_F77='-Wl,' + lt_prog_compiler_pic_F77='-KPIC' + lt_prog_compiler_static_F77='-Bstatic' + ;; + + sunos4*) + lt_prog_compiler_wl_F77='-Qoption ld ' + lt_prog_compiler_pic_F77='-PIC' + lt_prog_compiler_static_F77='-Bstatic' + ;; + + sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) + lt_prog_compiler_wl_F77='-Wl,' + lt_prog_compiler_pic_F77='-KPIC' + lt_prog_compiler_static_F77='-Bstatic' + ;; + + sysv4*MP*) + if test -d /usr/nec ;then + lt_prog_compiler_pic_F77='-Kconform_pic' + lt_prog_compiler_static_F77='-Bstatic' + fi + ;; + + uts4*) + lt_prog_compiler_pic_F77='-pic' + lt_prog_compiler_static_F77='-Bstatic' + ;; + + *) + lt_prog_compiler_can_build_shared_F77=no + ;; + esac + fi + +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_F77" >&5 +$as_echo "$lt_prog_compiler_pic_F77" >&6; } + +# +# Check to make sure the PIC flag actually works. +# +if test -n "$lt_prog_compiler_pic_F77"; then + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5 +$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... " >&6; } +if test "${lt_prog_compiler_pic_works_F77+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + lt_prog_compiler_pic_works_F77=no + ac_outfile=conftest.$ac_objext + printf "$lt_simple_compile_test_code" > conftest.$ac_ext + lt_compiler_flag="$lt_prog_compiler_pic_F77" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + # The option is referenced via a variable to avoid confusing sed. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:13386: $lt_compile\"" >&5) + (eval "$lt_compile" 2>conftest.err) + ac_status=$? + cat conftest.err >&5 + echo "$as_me:13390: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s "$ac_outfile"; then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings + if test ! -s conftest.err; then + lt_prog_compiler_pic_works_F77=yes + fi + fi + $rm conftest* + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_works_F77" >&5 +$as_echo "$lt_prog_compiler_pic_works_F77" >&6; } + +if test x"$lt_prog_compiler_pic_works_F77" = xyes; then + case $lt_prog_compiler_pic_F77 in + "" | " "*) ;; + *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;; + esac +else + lt_prog_compiler_pic_F77= + lt_prog_compiler_can_build_shared_F77=no +fi + +fi +case "$host_os" in + # For platforms which do not support PIC, -DPIC is meaningless: + *djgpp*) + lt_prog_compiler_pic_F77= + ;; + *) + lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77" + ;; +esac + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 +$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } +if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + lt_cv_prog_compiler_c_o_F77=no + $rm -r conftest 2>/dev/null + mkdir conftest + cd conftest + mkdir out + printf "$lt_simple_compile_test_code" > conftest.$ac_ext + + lt_compiler_flag="-o out/conftest2.$ac_objext" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:13446: $lt_compile\"" >&5) + (eval "$lt_compile" 2>out/conftest.err) + ac_status=$? + cat out/conftest.err >&5 + echo "$as_me:13450: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s out/conftest2.$ac_objext + then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings + if test ! -s out/conftest.err; then + lt_cv_prog_compiler_c_o_F77=yes + fi + fi + chmod u+w . + $rm conftest* + # SGI C++ compiler will create directory out/ii_files/ for + # template instantiation + test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files + $rm out/* && rmdir out + cd .. + rmdir conftest + $rm conftest* + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_F77" >&5 +$as_echo "$lt_cv_prog_compiler_c_o_F77" >&6; } + + +hard_links="nottested" +if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then + # do not overwrite the value of need_locks provided by the user + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 +$as_echo_n "checking if we can lock with hard links... " >&6; } + hard_links=yes + $rm conftest* + ln conftest.a conftest.b 2>/dev/null && hard_links=no + touch conftest.a + ln conftest.a conftest.b 2>&5 || hard_links=no + ln conftest.a conftest.b 2>/dev/null && hard_links=no + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 +$as_echo "$hard_links" >&6; } + if test "$hard_links" = no; then + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 +$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} + need_locks=warn + fi +else + need_locks=no +fi + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 +$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } + + runpath_var= + allow_undefined_flag_F77= + enable_shared_with_static_runtimes_F77=no + archive_cmds_F77= + archive_expsym_cmds_F77= + old_archive_From_new_cmds_F77= + old_archive_from_expsyms_cmds_F77= + export_dynamic_flag_spec_F77= + whole_archive_flag_spec_F77= + thread_safe_flag_spec_F77= + hardcode_libdir_flag_spec_F77= + hardcode_libdir_flag_spec_ld_F77= + hardcode_libdir_separator_F77= + hardcode_direct_F77=no + hardcode_minus_L_F77=no + hardcode_shlibpath_var_F77=unsupported + link_all_deplibs_F77=unknown + hardcode_automatic_F77=no + module_cmds_F77= + module_expsym_cmds_F77= + always_export_symbols_F77=no + export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' + # include_expsyms should be a list of space-separated symbols to be *always* + # included in the symbol list + include_expsyms_F77= + # exclude_expsyms can be an extended regexp of symbols to exclude + # it will be wrapped by ` (' and `)$', so one must not match beginning or + # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', + # as well as any symbol that contains `d'. + exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_" + # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out + # platforms (ab)use it in PIC code, but their linkers get confused if + # the symbol is explicitly referenced. Since portable code cannot + # rely on this symbol name, it's probably fine to never include it in + # preloaded symbol tables. + extract_expsyms_cmds= + + case $host_os in + cygwin* | mingw* | pw32*) + # FIXME: the MSVC++ port hasn't been tested in a loooong time + # When not using gcc, we currently assume that we are using + # Microsoft Visual C++. + if test "$GCC" != yes; then + with_gnu_ld=no + fi + ;; + openbsd*) + with_gnu_ld=no + ;; + esac + + ld_shlibs_F77=yes + if test "$with_gnu_ld" = yes; then + # If archive_cmds runs LD, not CC, wlarc should be empty + wlarc='${wl}' + + # See if GNU ld supports shared libraries. + case $host_os in + aix3* | aix4* | aix5*) + # On AIX/PPC, the GNU linker is very broken + if test "$host_cpu" != ia64; then + ld_shlibs_F77=no + cat <&2 + +*** Warning: the GNU linker, at least up to release 2.9.1, is reported +*** to be unable to reliably create shared libraries on AIX. +*** Therefore, libtool is disabling shared libraries support. If you +*** really care for shared libraries, you may want to modify your PATH +*** so that a non-GNU linker is found, and then restart. + +EOF + fi + ;; + + amigaos*) + archive_cmds_F77='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' + hardcode_libdir_flag_spec_F77='-L$libdir' + hardcode_minus_L_F77=yes + + # Samuel A. Falvo II reports + # that the semantics of dynamic libraries on AmigaOS, at least up + # to version 4, is to share data among multiple programs linked + # with the same dynamic library. Since this doesn't match the + # behavior of shared libraries on other platforms, we can't use + # them. + ld_shlibs_F77=no + ;; + + beos*) + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + allow_undefined_flag_F77=unsupported + # Joseph Beckenbach says some releases of gcc + # support --undefined. This deserves some investigation. FIXME + archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + else + ld_shlibs_F77=no + fi + ;; + + cygwin* | mingw* | pw32*) + # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless, + # as there is no search path for DLLs. + hardcode_libdir_flag_spec_F77='-L$libdir' + allow_undefined_flag_F77=unsupported + always_export_symbols_F77=no + enable_shared_with_static_runtimes_F77=yes + export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols' + + if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then + archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' + # If the export-symbols file already is a .def file (1st line + # is EXPORTS), use it as is; otherwise, prepend... + archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then + cp $export_symbols $output_objdir/$soname.def; + else + echo EXPORTS > $output_objdir/$soname.def; + cat $export_symbols >> $output_objdir/$soname.def; + fi~ + $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' + else + ld_shlibs=no + fi + ;; + + netbsd*) + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' + wlarc= + else + archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + fi + ;; + + solaris* | sysv5*) + if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then + ld_shlibs_F77=no + cat <&2 + +*** Warning: The releases 2.8.* of the GNU linker cannot reliably +*** create shared libraries on Solaris systems. Therefore, libtool +*** is disabling shared libraries support. We urge you to upgrade GNU +*** binutils to release 2.9.1 or newer. Another option is to modify +*** your PATH or compiler configuration so that the native linker is +*** used, and then restart. + +EOF + elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + else + ld_shlibs_F77=no + fi + ;; + + sunos4*) + archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' + wlarc= + hardcode_direct_F77=yes + hardcode_shlibpath_var_F77=no + ;; + + linux*) + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_cmds_F77="$tmp_archive_cmds" + supports_anon_versioning=no + case `$LD -v 2>/dev/null` in + *\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 + *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... + *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... + *\ 2.11.*) ;; # other 2.11 versions + *) supports_anon_versioning=yes ;; + esac + if test $supports_anon_versioning = yes; then + archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~ +cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ +$echo "local: *; };" >> $output_objdir/$libname.ver~ + $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' + else + archive_expsym_cmds_F77="$tmp_archive_cmds" + fi + else + ld_shlibs_F77=no + fi + ;; + + *) + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + else + ld_shlibs_F77=no + fi + ;; + esac + + if test "$ld_shlibs_F77" = yes; then + runpath_var=LD_RUN_PATH + hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir' + export_dynamic_flag_spec_F77='${wl}--export-dynamic' + # ancient GNU ld didn't support --whole-archive et. al. + if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then + whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' + else + whole_archive_flag_spec_F77= + fi + fi + else + # PORTME fill in a description of your system's linker (not GNU ld) + case $host_os in + aix3*) + allow_undefined_flag_F77=unsupported + always_export_symbols_F77=yes + archive_expsym_cmds_F77='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' + # Note: this linker hardcodes the directories in LIBPATH if there + # are no directories specified by -L. + hardcode_minus_L_F77=yes + if test "$GCC" = yes && test -z "$link_static_flag"; then + # Neither direct hardcoding nor static linking is supported with a + # broken collect2. + hardcode_direct_F77=unsupported + fi + ;; + + aix4* | aix5*) + if test "$host_cpu" = ia64; then + # On IA64, the linker does run time linking by default, so we don't + # have to do anything special. + aix_use_runtimelinking=no + exp_sym_flag='-Bexport' + no_entry_flag="" + else + # If we're using GNU nm, then we don't want the "-C" option. + # -C means demangle to AIX nm, but means don't demangle with GNU nm + if $NM -V 2>&1 | grep 'GNU' > /dev/null; then + export_symbols_cmds_F77='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' + else + export_symbols_cmds_F77='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' + fi + aix_use_runtimelinking=no + + # Test if we are trying to use run time linking or normal + # AIX style linking. If -brtl is somewhere in LDFLAGS, we + # need to do runtime linking. + case $host_os in aix4.[23]|aix4.[23].*|aix5*) + for ld_flag in $LDFLAGS; do + if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then + aix_use_runtimelinking=yes + break + fi + done + esac + + exp_sym_flag='-bexport' + no_entry_flag='-bnoentry' + fi + + # When large executables or shared objects are built, AIX ld can + # have problems creating the table of contents. If linking a library + # or program results in "error TOC overflow" add -mminimal-toc to + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. + + archive_cmds_F77='' + hardcode_direct_F77=yes + hardcode_libdir_separator_F77=':' + link_all_deplibs_F77=yes + + if test "$GCC" = yes; then + case $host_os in aix4.012|aix4.012.*) + # We only want to do this on AIX 4.2 and lower, the check + # below for broken collect2 doesn't work under 4.3+ + collect2name=`${CC} -print-prog-name=collect2` + if test -f "$collect2name" && \ + strings "$collect2name" | grep resolve_lib_name >/dev/null + then + # We have reworked collect2 + hardcode_direct_F77=yes + else + # We have old collect2 + hardcode_direct_F77=unsupported + # It fails to find uninstalled libraries when the uninstalled + # path is not listed in the libpath. Setting hardcode_minus_L + # to unsupported forces relinking + hardcode_minus_L_F77=yes + hardcode_libdir_flag_spec_F77='-L$libdir' + hardcode_libdir_separator_F77= + fi + esac + shared_flag='-shared' + else + # not using gcc + if test "$host_cpu" = ia64; then + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release + # chokes on -Wl,-G. The following line is correct: + shared_flag='-G' + else + if test "$aix_use_runtimelinking" = yes; then + shared_flag='${wl}-G' + else + shared_flag='${wl}-bM:SRE' + fi + fi + fi + + # It seems that -bexpall does not export symbols beginning with + # underscore (_), so it is better to generate a list of symbols to export. + always_export_symbols_F77=yes + if test "$aix_use_runtimelinking" = yes; then + # Warning - without using the other runtime loading flags (-brtl), + # -berok will link without error, but may produce a broken library. + allow_undefined_flag_F77='-berok' + # Determine the default libpath from the value encoded in an empty executable. + cat > conftest.$ac_ext <<_ACEOF + program main + + end +_ACEOF +if ac_fn_f77_try_link "$LINENO"; then : + +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'` +# Check for a 64-bit object if we didn't find anything. +if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'`; fi +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi + + hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath" + archive_expsym_cmds_F77="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag" + else + if test "$host_cpu" = ia64; then + hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib' + allow_undefined_flag_F77="-z nodefs" + archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols" + else + # Determine the default libpath from the value encoded in an empty executable. + cat > conftest.$ac_ext <<_ACEOF + program main + + end +_ACEOF +if ac_fn_f77_try_link "$LINENO"; then : + +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'` +# Check for a 64-bit object if we didn't find anything. +if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'`; fi +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi + + hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath" + # Warning - without using the other run time loading flags, + # -berok will link without error, but may produce a broken library. + no_undefined_flag_F77=' ${wl}-bernotok' + allow_undefined_flag_F77=' ${wl}-berok' + # -bexpall does not export symbols beginning with underscore (_) + always_export_symbols_F77=yes + # Exported symbols can be pulled into shared objects from archives + whole_archive_flag_spec_F77=' ' + archive_cmds_need_lc_F77=yes + # This is similar to how AIX traditionally builds it's shared libraries. + archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' + fi + fi + ;; + + amigaos*) + archive_cmds_F77='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' + hardcode_libdir_flag_spec_F77='-L$libdir' + hardcode_minus_L_F77=yes + # see comment about different semantics on the GNU ld section + ld_shlibs_F77=no + ;; + + bsdi4*) + export_dynamic_flag_spec_F77=-rdynamic + ;; + + cygwin* | mingw* | pw32*) + # When not using gcc, we currently assume that we are using + # Microsoft Visual C++. + # hardcode_libdir_flag_spec is actually meaningless, as there is + # no search path for DLLs. + hardcode_libdir_flag_spec_F77=' ' + allow_undefined_flag_F77=unsupported + # Tell ltmain to make .lib files, not .a files. + libext=lib + # Tell ltmain to make .dll files, not .so files. + shrext_cmds=".dll" + # FIXME: Setting linknames here is a bad hack. + archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames=' + # The linker will automatically build a .lib file if we build a DLL. + old_archive_From_new_cmds_F77='true' + # FIXME: Should let the user specify the lib program. + old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs' + fix_srcfile_path='`cygpath -w "$srcfile"`' + enable_shared_with_static_runtimes_F77=yes + ;; + + darwin* | rhapsody*) + if test "$GXX" = yes ; then + archive_cmds_need_lc_F77=no + case "$host_os" in + rhapsody* | darwin1.[012]) + allow_undefined_flag_F77='-undefined suppress' + ;; + *) # Darwin 1.3 on + if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then + allow_undefined_flag_F77='-flat_namespace -undefined suppress' + else + case ${MACOSX_DEPLOYMENT_TARGET} in + 10.[012]) + allow_undefined_flag_F77='-flat_namespace -undefined suppress' + ;; + 10.*) + allow_undefined_flag_F77='-undefined dynamic_lookup' + ;; + esac + fi + ;; + esac + lt_int_apple_cc_single_mod=no + output_verbose_link_cmd='echo' + if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then + lt_int_apple_cc_single_mod=yes + fi + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then + archive_cmds_F77='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' + else + archive_cmds_F77='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring' + fi + module_cmds_F77='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then + archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + else + archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + fi + module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + hardcode_direct_F77=no + hardcode_automatic_F77=yes + hardcode_shlibpath_var_F77=unsupported + whole_archive_flag_spec_F77='-all_load $convenience' + link_all_deplibs_F77=yes + else + ld_shlibs_F77=no + fi + ;; + + dgux*) + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_libdir_flag_spec_F77='-L$libdir' + hardcode_shlibpath_var_F77=no + ;; + + freebsd1*) + ld_shlibs_F77=no + ;; + + # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor + # support. Future versions do this automatically, but an explicit c++rt0.o + # does not break anything, and helps significantly (at the cost of a little + # extra space). + freebsd2.2*) + archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' + hardcode_libdir_flag_spec_F77='-R$libdir' + hardcode_direct_F77=yes + hardcode_shlibpath_var_F77=no + ;; + + # Unfortunately, older versions of FreeBSD 2 do not have this feature. + freebsd2*) + archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct_F77=yes + hardcode_minus_L_F77=yes + hardcode_shlibpath_var_F77=no + ;; + + # FreeBSD 3 and greater uses gcc -shared to do shared libraries. + freebsd* | kfreebsd*-gnu) + archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' + hardcode_libdir_flag_spec_F77='-R$libdir' + hardcode_direct_F77=yes + hardcode_shlibpath_var_F77=no + ;; + + hpux9*) + if test "$GCC" = yes; then + archive_cmds_F77='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + else + archive_cmds_F77='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + fi + hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir' + hardcode_libdir_separator_F77=: + hardcode_direct_F77=yes + + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + hardcode_minus_L_F77=yes + export_dynamic_flag_spec_F77='${wl}-E' + ;; + + hpux10* | hpux11*) + if test "$GCC" = yes -a "$with_gnu_ld" = no; then + case "$host_cpu" in + hppa*64*|ia64*) + archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + ;; + *) + archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' + ;; + esac + else + case "$host_cpu" in + hppa*64*|ia64*) + archive_cmds_F77='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags' + ;; + *) + archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' + ;; + esac + fi + if test "$with_gnu_ld" = no; then + case "$host_cpu" in + hppa*64*) + hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir' + hardcode_libdir_flag_spec_ld_F77='+b $libdir' + hardcode_libdir_separator_F77=: + hardcode_direct_F77=no + hardcode_shlibpath_var_F77=no + ;; + ia64*) + hardcode_libdir_flag_spec_F77='-L$libdir' + hardcode_direct_F77=no + hardcode_shlibpath_var_F77=no + + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + hardcode_minus_L_F77=yes + ;; + *) + hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir' + hardcode_libdir_separator_F77=: + hardcode_direct_F77=yes + export_dynamic_flag_spec_F77='${wl}-E' + + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + hardcode_minus_L_F77=yes + ;; + esac + fi + ;; + + irix5* | irix6* | nonstopux*) + if test "$GCC" = yes; then + archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + else + archive_cmds_F77='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' + hardcode_libdir_flag_spec_ld_F77='-rpath $libdir' + fi + hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator_F77=: + link_all_deplibs_F77=yes + ;; + + netbsd*) + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out + else + archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF + fi + hardcode_libdir_flag_spec_F77='-R$libdir' + hardcode_direct_F77=yes + hardcode_shlibpath_var_F77=no + ;; + + newsos6) + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct_F77=yes + hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator_F77=: + hardcode_shlibpath_var_F77=no + ;; + + openbsd*) + hardcode_direct_F77=yes + hardcode_shlibpath_var_F77=no + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' + hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir' + export_dynamic_flag_spec_F77='${wl}-E' + else + case $host_os in + openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) + archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' + hardcode_libdir_flag_spec_F77='-R$libdir' + ;; + *) + archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' + hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir' + ;; + esac + fi + ;; + + os2*) + hardcode_libdir_flag_spec_F77='-L$libdir' + hardcode_minus_L_F77=yes + allow_undefined_flag_F77=unsupported + archive_cmds_F77='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' + old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' + ;; + + osf3*) + if test "$GCC" = yes; then + allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*' + archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + else + allow_undefined_flag_F77=' -expect_unresolved \*' + archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' + fi + hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator_F77=: + ;; + + osf4* | osf5*) # as osf3* with the addition of -msym flag + if test "$GCC" = yes; then + allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*' + archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir' + else + allow_undefined_flag_F77=' -expect_unresolved \*' + archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' + archive_expsym_cmds_F77='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~ + $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp' + + # Both c and cxx compiler support -rpath directly + hardcode_libdir_flag_spec_F77='-rpath $libdir' + fi + hardcode_libdir_separator_F77=: + ;; + + sco3.2v5*) + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_shlibpath_var_F77=no + export_dynamic_flag_spec_F77='${wl}-Bexport' + runpath_var=LD_RUN_PATH + hardcode_runpath_var=yes + ;; + + solaris*) + no_undefined_flag_F77=' -z text' + if test "$GCC" = yes; then + archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp' + else + archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' + archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' + fi + hardcode_libdir_flag_spec_F77='-R$libdir' + hardcode_shlibpath_var_F77=no + case $host_os in + solaris2.[0-5] | solaris2.[0-5].*) ;; + *) # Supported since Solaris 2.6 (maybe 2.5.1?) + whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;; + esac + link_all_deplibs_F77=yes + ;; + + sunos4*) + if test "x$host_vendor" = xsequent; then + # Use $CC to link under sequent, because it throws in some extra .o + # files that make .init and .fini sections work. + archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' + else + archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' + fi + hardcode_libdir_flag_spec_F77='-L$libdir' + hardcode_direct_F77=yes + hardcode_minus_L_F77=yes + hardcode_shlibpath_var_F77=no + ;; + + sysv4) + case $host_vendor in + sni) + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct_F77=yes # is this really true??? + ;; + siemens) + ## LD is ld it makes a PLAMLIB + ## CC just makes a GrossModule. + archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags' + reload_cmds_F77='$CC -r -o $output$reload_objs' + hardcode_direct_F77=no + ;; + motorola) + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie + ;; + esac + runpath_var='LD_RUN_PATH' + hardcode_shlibpath_var_F77=no + ;; + + sysv4.3*) + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_shlibpath_var_F77=no + export_dynamic_flag_spec_F77='-Bexport' + ;; + + sysv4*MP*) + if test -d /usr/nec; then + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_shlibpath_var_F77=no + runpath_var=LD_RUN_PATH + hardcode_runpath_var=yes + ld_shlibs_F77=yes + fi + ;; + + sysv4.2uw2*) + archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct_F77=yes + hardcode_minus_L_F77=no + hardcode_shlibpath_var_F77=no + hardcode_runpath_var=yes + runpath_var=LD_RUN_PATH + ;; + + sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*) + no_undefined_flag_F77='${wl}-z ${wl}text' + if test "$GCC" = yes; then + archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + else + archive_cmds_F77='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + fi + runpath_var='LD_RUN_PATH' + hardcode_shlibpath_var_F77=no + ;; + + sysv5*) + no_undefined_flag_F77=' -z text' + # $CC -shared without GNU ld will not create a library from C++ + # object files and a static libstdc++, better avoid it by now + archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' + archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' + hardcode_libdir_flag_spec_F77= + hardcode_shlibpath_var_F77=no + runpath_var='LD_RUN_PATH' + ;; + + uts4*) + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_libdir_flag_spec_F77='-L$libdir' + hardcode_shlibpath_var_F77=no + ;; + + *) + ld_shlibs_F77=no + ;; + esac + fi + +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_F77" >&5 +$as_echo "$ld_shlibs_F77" >&6; } +test "$ld_shlibs_F77" = no && can_build_shared=no + +variables_saved_for_relink="PATH $shlibpath_var $runpath_var" +if test "$GCC" = yes; then + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" +fi + +# +# Do we need to explicitly link libc? +# +case "x$archive_cmds_need_lc_F77" in +x|xyes) + # Assume -lc should be added + archive_cmds_need_lc_F77=yes + + if test "$enable_shared" = yes && test "$GCC" = yes; then + case $archive_cmds_F77 in + *'~'*) + # FIXME: we may have to deal with multi-command sequences. + ;; + '$CC '*) + # Test whether the compiler implicitly links with -lc since on some + # systems, -lgcc has to come before -lc. If gcc already passes -lc + # to ld, don't add -lc before -lgcc. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 +$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } + $rm conftest* + printf "$lt_simple_compile_test_code" > conftest.$ac_ext + + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } 2>conftest.err; then + soname=conftest + lib=conftest + libobjs=conftest.$ac_objext + deplibs= + wl=$lt_prog_compiler_wl_F77 + compiler_flags=-v + linker_flags=-v + verstring= + output_objdir=. + libname=conftest + lt_save_allow_undefined_flag=$allow_undefined_flag_F77 + allow_undefined_flag_F77= + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\""; } >&5 + (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } + then + archive_cmds_need_lc_F77=no + else + archive_cmds_need_lc_F77=yes + fi + allow_undefined_flag_F77=$lt_save_allow_undefined_flag + else + cat conftest.err 1>&5 + fi + $rm conftest* + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc_F77" >&5 +$as_echo "$archive_cmds_need_lc_F77" >&6; } + ;; + esac + fi + ;; +esac + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 +$as_echo_n "checking dynamic linker characteristics... " >&6; } +library_names_spec= +libname_spec='lib$name' +soname_spec= +shrext_cmds=".so" +postinstall_cmds= +postuninstall_cmds= +finish_cmds= +finish_eval= +shlibpath_var= +shlibpath_overrides_runpath=unknown +version_type=none +dynamic_linker="$host_os ld.so" +sys_lib_dlsearch_path_spec="/lib /usr/lib" +if test "$GCC" = yes; then + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` + if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then + # if the path contains ";" then we assume it to be the separator + # otherwise default to the standard path separator (i.e. ":") - it is + # assumed that no part of a normal pathname contains ";" but that should + # okay in the real world where ";" in dirpaths is itself problematic. + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` + else + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` + fi +else + sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" +fi +need_lib_prefix=unknown +hardcode_into_libs=no + +# when you set need_version to no, make sure it does not cause -set_version +# flags to be left without arguments +need_version=unknown + +case $host_os in +aix3*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' + shlibpath_var=LIBPATH + + # AIX 3 has no versioning support, so we append a major version to the name. + soname_spec='${libname}${release}${shared_ext}$major' + ;; + +aix4* | aix5*) + version_type=linux + need_lib_prefix=no + need_version=no + hardcode_into_libs=yes + if test "$host_cpu" = ia64; then + # AIX 5 supports IA64 + library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + else + # With GCC up to 2.95.x, collect2 would create an import file + # for dependence libraries. The import file would start with + # the line `#! .'. This would cause the generated library to + # depend on `.', always an invalid library. This was fixed in + # development snapshots of GCC prior to 3.0. + case $host_os in + aix4 | aix4.[01] | aix4.[01].*) + if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' + echo ' yes ' + echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then + : + else + can_build_shared=no + fi + ;; + esac + # AIX (on Power*) has no versioning support, so currently we can not hardcode correct + # soname into executable. Probably we can add versioning support to + # collect2, so additional links can be useful in future. + if test "$aix_use_runtimelinking" = yes; then + # If using run time linking (on AIX 4.2 or later) use lib.so + # instead of lib.a to let people know that these are not + # typical AIX shared libraries. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + else + # We preserve .a as extension for shared libraries through AIX4.2 + # and later when we are not doing run time linking. + library_names_spec='${libname}${release}.a $libname.a' + soname_spec='${libname}${release}${shared_ext}$major' + fi + shlibpath_var=LIBPATH + fi + ;; + +amigaos*) + library_names_spec='$libname.ixlibrary $libname.a' + # Create ${libname}_ixlibrary.a entries in /sys/libs. + finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' + ;; + +beos*) + library_names_spec='${libname}${shared_ext}' + dynamic_linker="$host_os ld.so" + shlibpath_var=LIBRARY_PATH + ;; + +bsdi4*) + version_type=linux + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' + shlibpath_var=LD_LIBRARY_PATH + sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" + sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" + # the default ld.so.conf also contains /usr/contrib/lib and + # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow + # libtool to hard-code these into programs + ;; + +cygwin* | mingw* | pw32*) + version_type=windows + shrext_cmds=".dll" + need_version=no + need_lib_prefix=no + + case $GCC,$host_os in + yes,cygwin* | yes,mingw* | yes,pw32*) + library_names_spec='$libname.dll.a' + # DLL is installed to $(libdir)/../bin by postinstall_cmds + postinstall_cmds='base_file=`basename \${file}`~ + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~ + dldir=$destdir/`dirname \$dlpath`~ + test -d \$dldir || mkdir -p \$dldir~ + $install_prog $dir/$dlname \$dldir/$dlname' + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ + dlpath=$dir/\$dldll~ + $rm \$dlpath' + shlibpath_overrides_runpath=yes + + case $host_os in + cygwin*) + # Cygwin DLLs use 'cyg' prefix rather than 'lib' + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' + sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" + ;; + mingw*) + # MinGW DLLs use traditional 'lib' prefix + soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` + if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then + # It is most probably a Windows format PATH printed by + # mingw gcc, but we are running on Cygwin. Gcc prints its search + # path with ; separators, and with drive letters. We can handle the + # drive letters (cygwin fileutils understands them), so leave them, + # especially as we might pass files found there to a mingw objdump, + # which wouldn't understand a cygwinified path. Ahh. + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` + else + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` + fi + ;; + pw32*) + # pw32 DLLs use 'pw' prefix rather than 'lib' + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}' + ;; + esac + ;; + + *) + library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' + ;; + esac + dynamic_linker='Win32 ld.exe' + # FIXME: first we should search . and the directory the executable is in + shlibpath_var=PATH + ;; + +darwin* | rhapsody*) + dynamic_linker="$host_os dyld" + version_type=darwin + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' + soname_spec='${libname}${release}${major}$shared_ext' + shlibpath_overrides_runpath=yes + shlibpath_var=DYLD_LIBRARY_PATH + shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)' + # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. + if test "$GCC" = yes; then + sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"` + else + sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib' + fi + sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' + ;; + +dgux*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + ;; + +freebsd1*) + dynamic_linker=no + ;; + +kfreebsd*-gnu) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + dynamic_linker='GNU ld.so' + ;; + +freebsd*) + objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` + version_type=freebsd-$objformat + case $version_type in + freebsd-elf*) + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' + need_version=no + need_lib_prefix=no + ;; + freebsd-*) + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' + need_version=yes + ;; + esac + shlibpath_var=LD_LIBRARY_PATH + case $host_os in + freebsd2*) + shlibpath_overrides_runpath=yes + ;; + freebsd3.01* | freebsdelf3.01*) + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + ;; + *) # from 3.2 on + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + ;; + esac + ;; + +gnu*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + hardcode_into_libs=yes + ;; + +hpux9* | hpux10* | hpux11*) + # Give a soname corresponding to the major version so that dld.sl refuses to + # link against other versions. + version_type=sunos + need_lib_prefix=no + need_version=no + case "$host_cpu" in + ia64*) + shrext_cmds='.so' + hardcode_into_libs=yes + dynamic_linker="$host_os dld.so" + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + if test "X$HPUX_IA64_MODE" = X32; then + sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" + else + sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" + fi + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec + ;; + hppa*64*) + shrext_cmds='.sl' + hardcode_into_libs=yes + dynamic_linker="$host_os dld.sl" + shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec + ;; + *) + shrext_cmds='.sl' + dynamic_linker="$host_os dld.sl" + shlibpath_var=SHLIB_PATH + shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + ;; + esac + # HP-UX runs *really* slowly unless shared libraries are mode 555. + postinstall_cmds='chmod 555 $lib' + ;; + +irix5* | irix6* | nonstopux*) + case $host_os in + nonstopux*) version_type=nonstopux ;; + *) + if test "$lt_cv_prog_gnu_ld" = yes; then + version_type=linux + else + version_type=irix + fi ;; + esac + need_lib_prefix=no + need_version=no + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' + case $host_os in + irix5* | nonstopux*) + libsuff= shlibsuff= + ;; + *) + case $LD in # libtool.m4 will add one of these switches to LD + *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") + libsuff= shlibsuff= libmagic=32-bit;; + *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") + libsuff=32 shlibsuff=N32 libmagic=N32;; + *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") + libsuff=64 shlibsuff=64 libmagic=64-bit;; + *) libsuff= shlibsuff= libmagic=never-match;; + esac + ;; + esac + shlibpath_var=LD_LIBRARY${shlibsuff}_PATH + shlibpath_overrides_runpath=no + sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" + sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" + hardcode_into_libs=yes + ;; + +# No shared lib support for Linux oldld, aout, or coff. +linux*oldld* | linux*aout* | linux*coff*) + dynamic_linker=no + ;; + +# This must be Linux ELF. +linux*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + # This implies no fast_install, which is unacceptable. + # Some rework will be needed to allow for fast_install + # before this can be enabled. + hardcode_into_libs=yes + + # find out which ABI we are using + libsuff= + case "$host_cpu" in + x86_64*|s390x*|powerpc64*) + echo '#line 14710 "configure"' > conftest.$ac_ext + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + case `/usr/bin/file conftest.$ac_objext` in + *64-bit*) + libsuff=64 + sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}" + ;; + esac + fi + rm -rf conftest* + ;; + esac + + # Append ld.so.conf contents to the search path + if test -f /etc/ld.so.conf; then + lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '` + sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra" + fi + + # We used to test for /lib/ld.so.1 and disable shared libraries on + # powerpc, because MkLinux only supported shared libraries with the + # GNU dynamic linker. Since this was broken with cross compilers, + # most powerpc-linux boxes support dynamic linking these days and + # people can always --disable-shared, the test was removed, and we + # assume the GNU/Linux dynamic linker is in use. + dynamic_linker='GNU/Linux ld.so' + ;; + +knetbsd*-gnu) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + dynamic_linker='GNU ld.so' + ;; + +netbsd*) + version_type=sunos + need_lib_prefix=no + need_version=no + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' + dynamic_linker='NetBSD (a.out) ld.so' + else + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + dynamic_linker='NetBSD ld.elf_so' + fi + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + ;; + +newsos6) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + ;; + +nto-qnx*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + ;; + +openbsd*) + version_type=sunos + need_lib_prefix=no + need_version=yes + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' + shlibpath_var=LD_LIBRARY_PATH + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + case $host_os in + openbsd2.[89] | openbsd2.[89].*) + shlibpath_overrides_runpath=no + ;; + *) + shlibpath_overrides_runpath=yes + ;; + esac + else + shlibpath_overrides_runpath=yes + fi + ;; + +os2*) + libname_spec='$name' + shrext_cmds=".dll" + need_lib_prefix=no + library_names_spec='$libname${shared_ext} $libname.a' + dynamic_linker='OS/2 ld.exe' + shlibpath_var=LIBPATH + ;; + +osf3* | osf4* | osf5*) + version_type=osf + need_lib_prefix=no + need_version=no + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" + sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" + ;; + +sco3.2v5*) + version_type=osf + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + ;; + +solaris*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + # ldd complains unless libraries are executable + postinstall_cmds='chmod +x $lib' + ;; + +sunos4*) + version_type=sunos + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + if test "$with_gnu_ld" = yes; then + need_lib_prefix=no + fi + need_version=yes + ;; + +sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + case $host_vendor in + sni) + shlibpath_overrides_runpath=no + need_lib_prefix=no + export_dynamic_flag_spec='${wl}-Blargedynsym' + runpath_var=LD_RUN_PATH + ;; + siemens) + need_lib_prefix=no + ;; + motorola) + need_lib_prefix=no + need_version=no + shlibpath_overrides_runpath=no + sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' + ;; + esac + ;; + +sysv4*MP*) + if test -d /usr/nec ;then + version_type=linux + library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' + soname_spec='$libname${shared_ext}.$major' + shlibpath_var=LD_LIBRARY_PATH + fi + ;; + +uts4*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + ;; + +*) + dynamic_linker=no + ;; +esac +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 +$as_echo "$dynamic_linker" >&6; } +test "$dynamic_linker" = no && can_build_shared=no + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 +$as_echo_n "checking how to hardcode library paths into programs... " >&6; } +hardcode_action_F77= +if test -n "$hardcode_libdir_flag_spec_F77" || \ + test -n "$runpath_var F77" || \ + test "X$hardcode_automatic_F77"="Xyes" ; then + + # We can hardcode non-existant directories. + if test "$hardcode_direct_F77" != no && + # If the only mechanism to avoid hardcoding is shlibpath_var, we + # have to relink, otherwise we might link with an installed library + # when we should be linking with a yet-to-be-installed one + ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no && + test "$hardcode_minus_L_F77" != no; then + # Linking always hardcodes the temporary library directory. + hardcode_action_F77=relink + else + # We can link without hardcoding, and we can hardcode nonexisting dirs. + hardcode_action_F77=immediate + fi +else + # We cannot hardcode anything, or else we can only hardcode existing + # directories. + hardcode_action_F77=unsupported +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_F77" >&5 +$as_echo "$hardcode_action_F77" >&6; } + +if test "$hardcode_action_F77" = relink; then + # Fast installation is not supported + enable_fast_install=no +elif test "$shlibpath_overrides_runpath" = yes || + test "$enable_shared" = no; then + # Fast installation is not necessary + enable_fast_install=needless +fi + +striplib= +old_striplib= +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 +$as_echo_n "checking whether stripping libraries is possible... " >&6; } +if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then + test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" + test -z "$striplib" && striplib="$STRIP --strip-unneeded" + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } +else +# FIXME - insert some real tests, host_os isn't really good enough + case $host_os in + darwin*) + if test -n "$STRIP" ; then + striplib="$STRIP -x" + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + ;; + *) + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + ;; + esac +fi + + + +# The else clause should only fire when bootstrapping the +# libtool distribution, otherwise you forgot to ship ltmain.sh +# with your package, and you will get complaints that there are +# no rules to generate ltmain.sh. +if test -f "$ltmain"; then + # See if we are running on zsh, and set the options which allow our commands through + # without removal of \ escapes. + if test -n "${ZSH_VERSION+set}" ; then + setopt NO_GLOB_SUBST + fi + # Now quote all the things that may contain metacharacters while being + # careful not to overquote the AC_SUBSTed values. We take copies of the + # variables and quote the copies for generation of the libtool script. + for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \ + SED SHELL STRIP \ + libname_spec library_names_spec soname_spec extract_expsyms_cmds \ + old_striplib striplib file_magic_cmd finish_cmds finish_eval \ + deplibs_check_method reload_flag reload_cmds need_locks \ + lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ + lt_cv_sys_global_symbol_to_c_name_address \ + sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ + old_postinstall_cmds old_postuninstall_cmds \ + compiler_F77 \ + CC_F77 \ + LD_F77 \ + lt_prog_compiler_wl_F77 \ + lt_prog_compiler_pic_F77 \ + lt_prog_compiler_static_F77 \ + lt_prog_compiler_no_builtin_flag_F77 \ + export_dynamic_flag_spec_F77 \ + thread_safe_flag_spec_F77 \ + whole_archive_flag_spec_F77 \ + enable_shared_with_static_runtimes_F77 \ + old_archive_cmds_F77 \ + old_archive_from_new_cmds_F77 \ + predep_objects_F77 \ + postdep_objects_F77 \ + predeps_F77 \ + postdeps_F77 \ + compiler_lib_search_path_F77 \ + archive_cmds_F77 \ + archive_expsym_cmds_F77 \ + postinstall_cmds_F77 \ + postuninstall_cmds_F77 \ + old_archive_from_expsyms_cmds_F77 \ + allow_undefined_flag_F77 \ + no_undefined_flag_F77 \ + export_symbols_cmds_F77 \ + hardcode_libdir_flag_spec_F77 \ + hardcode_libdir_flag_spec_ld_F77 \ + hardcode_libdir_separator_F77 \ + hardcode_automatic_F77 \ + module_cmds_F77 \ + module_expsym_cmds_F77 \ + lt_cv_prog_compiler_c_o_F77 \ + exclude_expsyms_F77 \ + include_expsyms_F77; do + + case $var in + old_archive_cmds_F77 | \ + old_archive_from_new_cmds_F77 | \ + archive_cmds_F77 | \ + archive_expsym_cmds_F77 | \ + module_cmds_F77 | \ + module_expsym_cmds_F77 | \ + old_archive_from_expsyms_cmds_F77 | \ + export_symbols_cmds_F77 | \ + extract_expsyms_cmds | reload_cmds | finish_cmds | \ + postinstall_cmds | postuninstall_cmds | \ + old_postinstall_cmds | old_postuninstall_cmds | \ + sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) + # Double-quote double-evaled strings. + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" + ;; + *) + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\"" + ;; + esac + done + + case $lt_echo in + *'\$0 --fallback-echo"') + lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'` + ;; + esac + +cfgfile="$ofile" + + cat <<__EOF__ >> "$cfgfile" +# ### BEGIN LIBTOOL TAG CONFIG: $tagname + +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: + +# Shell to use when invoking shell scripts. +SHELL=$lt_SHELL + +# Whether or not to build shared libraries. +build_libtool_libs=$enable_shared + +# Whether or not to build static libraries. +build_old_libs=$enable_static + +# Whether or not to add -lc for building shared libraries. +build_libtool_need_lc=$archive_cmds_need_lc_F77 + +# Whether or not to disallow shared libs when runtime libs are static +allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77 + +# Whether or not to optimize for fast installation. +fast_install=$enable_fast_install + +# The host system. +host_alias=$host_alias +host=$host + +# An echo program that does not interpret backslashes. +echo=$lt_echo + +# The archiver. +AR=$lt_AR +AR_FLAGS=$lt_AR_FLAGS + +# A C compiler. +LTCC=$lt_LTCC + +# A language-specific compiler. +CC=$lt_compiler_F77 + +# Is the compiler the GNU C compiler? +with_gcc=$GCC_F77 + +# An ERE matcher. +EGREP=$lt_EGREP + +# The linker used to build libraries. +LD=$lt_LD_F77 + +# Whether we need hard or soft links. +LN_S=$lt_LN_S + +# A BSD-compatible nm program. +NM=$lt_NM + +# A symbol stripping program +STRIP=$lt_STRIP + +# Used to examine libraries when file_magic_cmd begins "file" +MAGIC_CMD=$MAGIC_CMD + +# Used on cygwin: DLL creation program. +DLLTOOL="$DLLTOOL" + +# Used on cygwin: object dumper. +OBJDUMP="$OBJDUMP" + +# Used on cygwin: assembler. +AS="$AS" + +# The name of the directory that contains temporary libtool files. +objdir=$objdir + +# How to create reloadable object files. +reload_flag=$lt_reload_flag +reload_cmds=$lt_reload_cmds + +# How to pass a linker flag through the compiler. +wl=$lt_lt_prog_compiler_wl_F77 + +# Object file suffix (normally "o"). +objext="$ac_objext" + +# Old archive suffix (normally "a"). +libext="$libext" + +# Shared library suffix (normally ".so"). +shrext_cmds='$shrext_cmds' + +# Executable file suffix (normally ""). +exeext="$exeext" + +# Additional compiler flags for building library objects. +pic_flag=$lt_lt_prog_compiler_pic_F77 +pic_mode=$pic_mode + +# What is the maximum length of a command? +max_cmd_len=$lt_cv_sys_max_cmd_len + +# Does compiler simultaneously support -c and -o options? +compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77 + +# Must we lock files when doing compilation ? +need_locks=$lt_need_locks + +# Do we need the lib prefix for modules? +need_lib_prefix=$need_lib_prefix + +# Do we need a version for libraries? +need_version=$need_version + +# Whether dlopen is supported. +dlopen_support=$enable_dlopen + +# Whether dlopen of programs is supported. +dlopen_self=$enable_dlopen_self + +# Whether dlopen of statically linked programs is supported. +dlopen_self_static=$enable_dlopen_self_static + +# Compiler flag to prevent dynamic linking. +link_static_flag=$lt_lt_prog_compiler_static_F77 + +# Compiler flag to turn off builtin functions. +no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77 + +# Compiler flag to allow reflexive dlopens. +export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77 + +# Compiler flag to generate shared objects directly from archives. +whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77 + +# Compiler flag to generate thread-safe objects. +thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77 + +# Library versioning type. +version_type=$version_type + +# Format of library name prefix. +libname_spec=$lt_libname_spec + +# List of archive names. First name is the real one, the rest are links. +# The last name is the one that the linker finds with -lNAME. +library_names_spec=$lt_library_names_spec + +# The coded name of the library, if different from the real name. +soname_spec=$lt_soname_spec + +# Commands used to build and install an old-style archive. +RANLIB=$lt_RANLIB +old_archive_cmds=$lt_old_archive_cmds_F77 +old_postinstall_cmds=$lt_old_postinstall_cmds +old_postuninstall_cmds=$lt_old_postuninstall_cmds + +# Create an old-style archive from a shared archive. +old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77 + +# Create a temporary old-style archive to link instead of a shared archive. +old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77 + +# Commands used to build and install a shared archive. +archive_cmds=$lt_archive_cmds_F77 +archive_expsym_cmds=$lt_archive_expsym_cmds_F77 +postinstall_cmds=$lt_postinstall_cmds +postuninstall_cmds=$lt_postuninstall_cmds + +# Commands used to build a loadable module (assumed same as above if empty) +module_cmds=$lt_module_cmds_F77 +module_expsym_cmds=$lt_module_expsym_cmds_F77 + +# Commands to strip libraries. +old_striplib=$lt_old_striplib +striplib=$lt_striplib + +# Dependencies to place before the objects being linked to create a +# shared library. +predep_objects=$lt_predep_objects_F77 + +# Dependencies to place after the objects being linked to create a +# shared library. +postdep_objects=$lt_postdep_objects_F77 + +# Dependencies to place before the objects being linked to create a +# shared library. +predeps=$lt_predeps_F77 + +# Dependencies to place after the objects being linked to create a +# shared library. +postdeps=$lt_postdeps_F77 + +# The library search path used internally by the compiler when linking +# a shared library. +compiler_lib_search_path=$lt_compiler_lib_search_path_F77 + +# Method to check whether dependent libraries are shared objects. +deplibs_check_method=$lt_deplibs_check_method + +# Command to use when deplibs_check_method == file_magic. +file_magic_cmd=$lt_file_magic_cmd + +# Flag that allows shared libraries with undefined symbols to be built. +allow_undefined_flag=$lt_allow_undefined_flag_F77 + +# Flag that forces no undefined symbols. +no_undefined_flag=$lt_no_undefined_flag_F77 + +# Commands used to finish a libtool library installation in a directory. +finish_cmds=$lt_finish_cmds + +# Same as above, but a single script fragment to be evaled but not shown. +finish_eval=$lt_finish_eval + +# Take the output of nm and produce a listing of raw symbols and C names. +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe + +# Transform the output of nm in a proper C declaration +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl + +# Transform the output of nm in a C name address pair +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address + +# This is the shared library runtime path variable. +runpath_var=$runpath_var + +# This is the shared library path variable. +shlibpath_var=$shlibpath_var + +# Is shlibpath searched before the hard-coded library search path? +shlibpath_overrides_runpath=$shlibpath_overrides_runpath + +# How to hardcode a shared library path into an executable. +hardcode_action=$hardcode_action_F77 + +# Whether we should hardcode library paths into libraries. +hardcode_into_libs=$hardcode_into_libs + +# Flag to hardcode \$libdir into a binary during linking. +# This must work even if \$libdir does not exist. +hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77 + +# If ld is used when linking, flag to hardcode \$libdir into +# a binary during linking. This must work even if \$libdir does +# not exist. +hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77 + +# Whether we need a single -rpath flag with a separated argument. +hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77 + +# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the +# resulting binary. +hardcode_direct=$hardcode_direct_F77 + +# Set to yes if using the -LDIR flag during linking hardcodes DIR into the +# resulting binary. +hardcode_minus_L=$hardcode_minus_L_F77 + +# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into +# the resulting binary. +hardcode_shlibpath_var=$hardcode_shlibpath_var_F77 + +# Set to yes if building a shared library automatically hardcodes DIR into the library +# and all subsequent libraries and executables linked against it. +hardcode_automatic=$hardcode_automatic_F77 + +# Variables whose values should be saved in libtool wrapper scripts and +# restored at relink time. +variables_saved_for_relink="$variables_saved_for_relink" + +# Whether libtool must link a program against all its dependency libraries. +link_all_deplibs=$link_all_deplibs_F77 + +# Compile-time system search path for libraries +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec + +# Run-time system search path for libraries +sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec + +# Fix the shell variable \$srcfile for the compiler. +fix_srcfile_path="$fix_srcfile_path_F77" + +# Set to yes if exported symbols are required. +always_export_symbols=$always_export_symbols_F77 + +# The commands to list exported symbols. +export_symbols_cmds=$lt_export_symbols_cmds_F77 + +# The commands to extract the exported symbol list from a shared archive. +extract_expsyms_cmds=$lt_extract_expsyms_cmds + +# Symbols that should not be listed in the preloaded symbols. +exclude_expsyms=$lt_exclude_expsyms_F77 + +# Symbols that must always be exported. +include_expsyms=$lt_include_expsyms_F77 + +# ### END LIBTOOL TAG CONFIG: $tagname + +__EOF__ + + +else + # If there is no Makefile yet, we rely on a make rule to execute + # `config.status --recheck' to rerun these tests and create the + # libtool script then. + ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'` + if test -f "$ltmain_in"; then + test -f Makefile && make "$ltmain" + fi +fi + + +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + +CC="$lt_save_CC" + + else + tagname="" + fi + ;; + + GCJ) + if test -n "$GCJ" && test "X$GCJ" != "Xno"; then + + +# Source file extension for Java test sources. +ac_ext=java + +# Object file extension for compiled Java test sources. +objext=o +objext_GCJ=$objext + +# Code to be used in simple compile tests +lt_simple_compile_test_code="class foo {}\n" + +# Code to be used in simple link tests +lt_simple_link_test_code='public class conftest { public static void main(String argv) {}; }\n' + +# ltmain only uses $CC for tagged configurations so make sure $CC is set. + +# If no C compiler was specified, use CC. +LTCC=${LTCC-"$CC"} + +# Allow CC to be a program name with arguments. +compiler=$CC + + +# Allow CC to be a program name with arguments. +lt_save_CC="$CC" +CC=${GCJ-"gcj"} +compiler=$CC +compiler_GCJ=$CC + +# GCJ did not exist at the time GCC didn't implicitly link libc in. +archive_cmds_need_lc_GCJ=no + + +lt_prog_compiler_no_builtin_flag_GCJ= + +if test "$GCC" = yes; then + lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin' + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 +$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } +if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + lt_cv_prog_compiler_rtti_exceptions=no + ac_outfile=conftest.$ac_objext + printf "$lt_simple_compile_test_code" > conftest.$ac_ext + lt_compiler_flag="-fno-rtti -fno-exceptions" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + # The option is referenced via a variable to avoid confusing sed. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:15450: $lt_compile\"" >&5) + (eval "$lt_compile" 2>conftest.err) + ac_status=$? + cat conftest.err >&5 + echo "$as_me:15454: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s "$ac_outfile"; then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings + if test ! -s conftest.err; then + lt_cv_prog_compiler_rtti_exceptions=yes + fi + fi + $rm conftest* + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 +$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } + +if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then + lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions" +else + : +fi + +fi + +lt_prog_compiler_wl_GCJ= +lt_prog_compiler_pic_GCJ= +lt_prog_compiler_static_GCJ= + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 +$as_echo_n "checking for $compiler option to produce PIC... " >&6; } + + if test "$GCC" = yes; then + lt_prog_compiler_wl_GCJ='-Wl,' + lt_prog_compiler_static_GCJ='-static' + + case $host_os in + aix*) + # All AIX code is PIC. + if test "$host_cpu" = ia64; then + # AIX 5 now supports IA64 processor + lt_prog_compiler_static_GCJ='-Bstatic' + fi + ;; + + amigaos*) + # FIXME: we need at least 68020 code to build shared libraries, but + # adding the `-m68020' flag to GCC prevents building anything better, + # like `-m68040'. + lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4' + ;; + + beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) + # PIC is the default for these OSes. + ;; + + mingw* | pw32* | os2*) + # This hack is so that the source file can tell whether it is being + # built for inclusion in a dll (and should export symbols for example). + lt_prog_compiler_pic_GCJ='-DDLL_EXPORT' + ;; + + darwin* | rhapsody*) + # PIC is the default on this platform + # Common symbols not allowed in MH_DYLIB files + lt_prog_compiler_pic_GCJ='-fno-common' + ;; + + msdosdjgpp*) + # Just because we use GCC doesn't mean we suddenly get shared libraries + # on systems that don't support them. + lt_prog_compiler_can_build_shared_GCJ=no + enable_shared=no + ;; + + sysv4*MP*) + if test -d /usr/nec; then + lt_prog_compiler_pic_GCJ=-Kconform_pic + fi + ;; + + hpux*) + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but + # not for PA HP-UX. + case "$host_cpu" in + hppa*64*|ia64*) + # +Z the default + ;; + *) + lt_prog_compiler_pic_GCJ='-fPIC' + ;; + esac + ;; + + *) + lt_prog_compiler_pic_GCJ='-fPIC' + ;; + esac + else + # PORTME Check for flag to pass linker flags through the system compiler. + case $host_os in + aix*) + lt_prog_compiler_wl_GCJ='-Wl,' + if test "$host_cpu" = ia64; then + # AIX 5 now supports IA64 processor + lt_prog_compiler_static_GCJ='-Bstatic' + else + lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp' + fi + ;; + + mingw* | pw32* | os2*) + # This hack is so that the source file can tell whether it is being + # built for inclusion in a dll (and should export symbols for example). + lt_prog_compiler_pic_GCJ='-DDLL_EXPORT' + ;; + + hpux9* | hpux10* | hpux11*) + lt_prog_compiler_wl_GCJ='-Wl,' + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but + # not for PA HP-UX. + case "$host_cpu" in + hppa*64*|ia64*) + # +Z the default + ;; + *) + lt_prog_compiler_pic_GCJ='+Z' + ;; + esac + # Is there a better lt_prog_compiler_static that works with the bundled CC? + lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive' + ;; + + irix5* | irix6* | nonstopux*) + lt_prog_compiler_wl_GCJ='-Wl,' + # PIC (with -KPIC) is the default. + lt_prog_compiler_static_GCJ='-non_shared' + ;; + + newsos6) + lt_prog_compiler_pic_GCJ='-KPIC' + lt_prog_compiler_static_GCJ='-Bstatic' + ;; + + linux*) + case $CC in + icc* | ecc*) + lt_prog_compiler_wl_GCJ='-Wl,' + lt_prog_compiler_pic_GCJ='-KPIC' + lt_prog_compiler_static_GCJ='-static' + ;; + ccc*) + lt_prog_compiler_wl_GCJ='-Wl,' + # All Alpha code is PIC. + lt_prog_compiler_static_GCJ='-non_shared' + ;; + esac + ;; + + osf3* | osf4* | osf5*) + lt_prog_compiler_wl_GCJ='-Wl,' + # All OSF/1 code is PIC. + lt_prog_compiler_static_GCJ='-non_shared' + ;; + + sco3.2v5*) + lt_prog_compiler_pic_GCJ='-Kpic' + lt_prog_compiler_static_GCJ='-dn' + ;; + + solaris*) + lt_prog_compiler_wl_GCJ='-Wl,' + lt_prog_compiler_pic_GCJ='-KPIC' + lt_prog_compiler_static_GCJ='-Bstatic' + ;; + + sunos4*) + lt_prog_compiler_wl_GCJ='-Qoption ld ' + lt_prog_compiler_pic_GCJ='-PIC' + lt_prog_compiler_static_GCJ='-Bstatic' + ;; + + sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) + lt_prog_compiler_wl_GCJ='-Wl,' + lt_prog_compiler_pic_GCJ='-KPIC' + lt_prog_compiler_static_GCJ='-Bstatic' + ;; + + sysv4*MP*) + if test -d /usr/nec ;then + lt_prog_compiler_pic_GCJ='-Kconform_pic' + lt_prog_compiler_static_GCJ='-Bstatic' + fi + ;; + + uts4*) + lt_prog_compiler_pic_GCJ='-pic' + lt_prog_compiler_static_GCJ='-Bstatic' + ;; + + *) + lt_prog_compiler_can_build_shared_GCJ=no + ;; + esac + fi + +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_GCJ" >&5 +$as_echo "$lt_prog_compiler_pic_GCJ" >&6; } + +# +# Check to make sure the PIC flag actually works. +# +if test -n "$lt_prog_compiler_pic_GCJ"; then + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5 +$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... " >&6; } +if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + lt_prog_compiler_pic_works_GCJ=no + ac_outfile=conftest.$ac_objext + printf "$lt_simple_compile_test_code" > conftest.$ac_ext + lt_compiler_flag="$lt_prog_compiler_pic_GCJ" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + # The option is referenced via a variable to avoid confusing sed. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:15683: $lt_compile\"" >&5) + (eval "$lt_compile" 2>conftest.err) + ac_status=$? + cat conftest.err >&5 + echo "$as_me:15687: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s "$ac_outfile"; then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings + if test ! -s conftest.err; then + lt_prog_compiler_pic_works_GCJ=yes + fi + fi + $rm conftest* + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_works_GCJ" >&5 +$as_echo "$lt_prog_compiler_pic_works_GCJ" >&6; } + +if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then + case $lt_prog_compiler_pic_GCJ in + "" | " "*) ;; + *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;; + esac +else + lt_prog_compiler_pic_GCJ= + lt_prog_compiler_can_build_shared_GCJ=no +fi + +fi +case "$host_os" in + # For platforms which do not support PIC, -DPIC is meaningless: + *djgpp*) + lt_prog_compiler_pic_GCJ= + ;; + *) + lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ" + ;; +esac + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 +$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } +if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + lt_cv_prog_compiler_c_o_GCJ=no + $rm -r conftest 2>/dev/null + mkdir conftest + cd conftest + mkdir out + printf "$lt_simple_compile_test_code" > conftest.$ac_ext + + lt_compiler_flag="-o out/conftest2.$ac_objext" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:15743: $lt_compile\"" >&5) + (eval "$lt_compile" 2>out/conftest.err) + ac_status=$? + cat out/conftest.err >&5 + echo "$as_me:15747: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s out/conftest2.$ac_objext + then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings + if test ! -s out/conftest.err; then + lt_cv_prog_compiler_c_o_GCJ=yes + fi + fi + chmod u+w . + $rm conftest* + # SGI C++ compiler will create directory out/ii_files/ for + # template instantiation + test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files + $rm out/* && rmdir out + cd .. + rmdir conftest + $rm conftest* + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_GCJ" >&5 +$as_echo "$lt_cv_prog_compiler_c_o_GCJ" >&6; } + + +hard_links="nottested" +if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then + # do not overwrite the value of need_locks provided by the user + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 +$as_echo_n "checking if we can lock with hard links... " >&6; } + hard_links=yes + $rm conftest* + ln conftest.a conftest.b 2>/dev/null && hard_links=no + touch conftest.a + ln conftest.a conftest.b 2>&5 || hard_links=no + ln conftest.a conftest.b 2>/dev/null && hard_links=no + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 +$as_echo "$hard_links" >&6; } + if test "$hard_links" = no; then + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 +$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} + need_locks=warn + fi +else + need_locks=no +fi + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 +$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } + + runpath_var= + allow_undefined_flag_GCJ= + enable_shared_with_static_runtimes_GCJ=no + archive_cmds_GCJ= + archive_expsym_cmds_GCJ= + old_archive_From_new_cmds_GCJ= + old_archive_from_expsyms_cmds_GCJ= + export_dynamic_flag_spec_GCJ= + whole_archive_flag_spec_GCJ= + thread_safe_flag_spec_GCJ= + hardcode_libdir_flag_spec_GCJ= + hardcode_libdir_flag_spec_ld_GCJ= + hardcode_libdir_separator_GCJ= + hardcode_direct_GCJ=no + hardcode_minus_L_GCJ=no + hardcode_shlibpath_var_GCJ=unsupported + link_all_deplibs_GCJ=unknown + hardcode_automatic_GCJ=no + module_cmds_GCJ= + module_expsym_cmds_GCJ= + always_export_symbols_GCJ=no + export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' + # include_expsyms should be a list of space-separated symbols to be *always* + # included in the symbol list + include_expsyms_GCJ= + # exclude_expsyms can be an extended regexp of symbols to exclude + # it will be wrapped by ` (' and `)$', so one must not match beginning or + # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', + # as well as any symbol that contains `d'. + exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_" + # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out + # platforms (ab)use it in PIC code, but their linkers get confused if + # the symbol is explicitly referenced. Since portable code cannot + # rely on this symbol name, it's probably fine to never include it in + # preloaded symbol tables. + extract_expsyms_cmds= + + case $host_os in + cygwin* | mingw* | pw32*) + # FIXME: the MSVC++ port hasn't been tested in a loooong time + # When not using gcc, we currently assume that we are using + # Microsoft Visual C++. + if test "$GCC" != yes; then + with_gnu_ld=no + fi + ;; + openbsd*) + with_gnu_ld=no + ;; + esac + + ld_shlibs_GCJ=yes + if test "$with_gnu_ld" = yes; then + # If archive_cmds runs LD, not CC, wlarc should be empty + wlarc='${wl}' + + # See if GNU ld supports shared libraries. + case $host_os in + aix3* | aix4* | aix5*) + # On AIX/PPC, the GNU linker is very broken + if test "$host_cpu" != ia64; then + ld_shlibs_GCJ=no + cat <&2 + +*** Warning: the GNU linker, at least up to release 2.9.1, is reported +*** to be unable to reliably create shared libraries on AIX. +*** Therefore, libtool is disabling shared libraries support. If you +*** really care for shared libraries, you may want to modify your PATH +*** so that a non-GNU linker is found, and then restart. + +EOF + fi + ;; + + amigaos*) + archive_cmds_GCJ='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' + hardcode_libdir_flag_spec_GCJ='-L$libdir' + hardcode_minus_L_GCJ=yes + + # Samuel A. Falvo II reports + # that the semantics of dynamic libraries on AmigaOS, at least up + # to version 4, is to share data among multiple programs linked + # with the same dynamic library. Since this doesn't match the + # behavior of shared libraries on other platforms, we can't use + # them. + ld_shlibs_GCJ=no + ;; + + beos*) + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + allow_undefined_flag_GCJ=unsupported + # Joseph Beckenbach says some releases of gcc + # support --undefined. This deserves some investigation. FIXME + archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + else + ld_shlibs_GCJ=no + fi + ;; + + cygwin* | mingw* | pw32*) + # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless, + # as there is no search path for DLLs. + hardcode_libdir_flag_spec_GCJ='-L$libdir' + allow_undefined_flag_GCJ=unsupported + always_export_symbols_GCJ=no + enable_shared_with_static_runtimes_GCJ=yes + export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols' + + if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then + archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' + # If the export-symbols file already is a .def file (1st line + # is EXPORTS), use it as is; otherwise, prepend... + archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then + cp $export_symbols $output_objdir/$soname.def; + else + echo EXPORTS > $output_objdir/$soname.def; + cat $export_symbols >> $output_objdir/$soname.def; + fi~ + $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' + else + ld_shlibs=no + fi + ;; + + netbsd*) + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' + wlarc= + else + archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + fi + ;; + + solaris* | sysv5*) + if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then + ld_shlibs_GCJ=no + cat <&2 + +*** Warning: The releases 2.8.* of the GNU linker cannot reliably +*** create shared libraries on Solaris systems. Therefore, libtool +*** is disabling shared libraries support. We urge you to upgrade GNU +*** binutils to release 2.9.1 or newer. Another option is to modify +*** your PATH or compiler configuration so that the native linker is +*** used, and then restart. + +EOF + elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + else + ld_shlibs_GCJ=no + fi + ;; + + sunos4*) + archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' + wlarc= + hardcode_direct_GCJ=yes + hardcode_shlibpath_var_GCJ=no + ;; + + linux*) + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_cmds_GCJ="$tmp_archive_cmds" + supports_anon_versioning=no + case `$LD -v 2>/dev/null` in + *\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 + *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... + *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... + *\ 2.11.*) ;; # other 2.11 versions + *) supports_anon_versioning=yes ;; + esac + if test $supports_anon_versioning = yes; then + archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~ +cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ +$echo "local: *; };" >> $output_objdir/$libname.ver~ + $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' + else + archive_expsym_cmds_GCJ="$tmp_archive_cmds" + fi + else + ld_shlibs_GCJ=no + fi + ;; + + *) + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + else + ld_shlibs_GCJ=no + fi + ;; + esac + + if test "$ld_shlibs_GCJ" = yes; then + runpath_var=LD_RUN_PATH + hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir' + export_dynamic_flag_spec_GCJ='${wl}--export-dynamic' + # ancient GNU ld didn't support --whole-archive et. al. + if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then + whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' + else + whole_archive_flag_spec_GCJ= + fi + fi + else + # PORTME fill in a description of your system's linker (not GNU ld) + case $host_os in + aix3*) + allow_undefined_flag_GCJ=unsupported + always_export_symbols_GCJ=yes + archive_expsym_cmds_GCJ='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' + # Note: this linker hardcodes the directories in LIBPATH if there + # are no directories specified by -L. + hardcode_minus_L_GCJ=yes + if test "$GCC" = yes && test -z "$link_static_flag"; then + # Neither direct hardcoding nor static linking is supported with a + # broken collect2. + hardcode_direct_GCJ=unsupported + fi + ;; + + aix4* | aix5*) + if test "$host_cpu" = ia64; then + # On IA64, the linker does run time linking by default, so we don't + # have to do anything special. + aix_use_runtimelinking=no + exp_sym_flag='-Bexport' + no_entry_flag="" + else + # If we're using GNU nm, then we don't want the "-C" option. + # -C means demangle to AIX nm, but means don't demangle with GNU nm + if $NM -V 2>&1 | grep 'GNU' > /dev/null; then + export_symbols_cmds_GCJ='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' + else + export_symbols_cmds_GCJ='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' + fi + aix_use_runtimelinking=no + + # Test if we are trying to use run time linking or normal + # AIX style linking. If -brtl is somewhere in LDFLAGS, we + # need to do runtime linking. + case $host_os in aix4.[23]|aix4.[23].*|aix5*) + for ld_flag in $LDFLAGS; do + if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then + aix_use_runtimelinking=yes + break + fi + done + esac + + exp_sym_flag='-bexport' + no_entry_flag='-bnoentry' + fi + + # When large executables or shared objects are built, AIX ld can + # have problems creating the table of contents. If linking a library + # or program results in "error TOC overflow" add -mminimal-toc to + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. + + archive_cmds_GCJ='' + hardcode_direct_GCJ=yes + hardcode_libdir_separator_GCJ=':' + link_all_deplibs_GCJ=yes + + if test "$GCC" = yes; then + case $host_os in aix4.012|aix4.012.*) + # We only want to do this on AIX 4.2 and lower, the check + # below for broken collect2 doesn't work under 4.3+ + collect2name=`${CC} -print-prog-name=collect2` + if test -f "$collect2name" && \ + strings "$collect2name" | grep resolve_lib_name >/dev/null + then + # We have reworked collect2 + hardcode_direct_GCJ=yes + else + # We have old collect2 + hardcode_direct_GCJ=unsupported + # It fails to find uninstalled libraries when the uninstalled + # path is not listed in the libpath. Setting hardcode_minus_L + # to unsupported forces relinking + hardcode_minus_L_GCJ=yes + hardcode_libdir_flag_spec_GCJ='-L$libdir' + hardcode_libdir_separator_GCJ= + fi + esac + shared_flag='-shared' + else + # not using gcc + if test "$host_cpu" = ia64; then + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release + # chokes on -Wl,-G. The following line is correct: + shared_flag='-G' + else + if test "$aix_use_runtimelinking" = yes; then + shared_flag='${wl}-G' + else + shared_flag='${wl}-bM:SRE' + fi + fi + fi + + # It seems that -bexpall does not export symbols beginning with + # underscore (_), so it is better to generate a list of symbols to export. + always_export_symbols_GCJ=yes + if test "$aix_use_runtimelinking" = yes; then + # Warning - without using the other runtime loading flags (-brtl), + # -berok will link without error, but may produce a broken library. + allow_undefined_flag_GCJ='-berok' + # Determine the default libpath from the value encoded in an empty executable. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'` +# Check for a 64-bit object if we didn't find anything. +if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'`; fi +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi + + hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath" + archive_expsym_cmds_GCJ="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag" + else + if test "$host_cpu" = ia64; then + hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib' + allow_undefined_flag_GCJ="-z nodefs" + archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols" + else + # Determine the default libpath from the value encoded in an empty executable. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'` +# Check for a 64-bit object if we didn't find anything. +if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'`; fi +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi + + hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath" + # Warning - without using the other run time loading flags, + # -berok will link without error, but may produce a broken library. + no_undefined_flag_GCJ=' ${wl}-bernotok' + allow_undefined_flag_GCJ=' ${wl}-berok' + # -bexpall does not export symbols beginning with underscore (_) + always_export_symbols_GCJ=yes + # Exported symbols can be pulled into shared objects from archives + whole_archive_flag_spec_GCJ=' ' + archive_cmds_need_lc_GCJ=yes + # This is similar to how AIX traditionally builds it's shared libraries. + archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' + fi + fi + ;; + + amigaos*) + archive_cmds_GCJ='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' + hardcode_libdir_flag_spec_GCJ='-L$libdir' + hardcode_minus_L_GCJ=yes + # see comment about different semantics on the GNU ld section + ld_shlibs_GCJ=no + ;; + + bsdi4*) + export_dynamic_flag_spec_GCJ=-rdynamic + ;; + + cygwin* | mingw* | pw32*) + # When not using gcc, we currently assume that we are using + # Microsoft Visual C++. + # hardcode_libdir_flag_spec is actually meaningless, as there is + # no search path for DLLs. + hardcode_libdir_flag_spec_GCJ=' ' + allow_undefined_flag_GCJ=unsupported + # Tell ltmain to make .lib files, not .a files. + libext=lib + # Tell ltmain to make .dll files, not .so files. + shrext_cmds=".dll" + # FIXME: Setting linknames here is a bad hack. + archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames=' + # The linker will automatically build a .lib file if we build a DLL. + old_archive_From_new_cmds_GCJ='true' + # FIXME: Should let the user specify the lib program. + old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs' + fix_srcfile_path='`cygpath -w "$srcfile"`' + enable_shared_with_static_runtimes_GCJ=yes + ;; + + darwin* | rhapsody*) + if test "$GXX" = yes ; then + archive_cmds_need_lc_GCJ=no + case "$host_os" in + rhapsody* | darwin1.[012]) + allow_undefined_flag_GCJ='-undefined suppress' + ;; + *) # Darwin 1.3 on + if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then + allow_undefined_flag_GCJ='-flat_namespace -undefined suppress' + else + case ${MACOSX_DEPLOYMENT_TARGET} in + 10.[012]) + allow_undefined_flag_GCJ='-flat_namespace -undefined suppress' + ;; + 10.*) + allow_undefined_flag_GCJ='-undefined dynamic_lookup' + ;; + esac + fi + ;; + esac + lt_int_apple_cc_single_mod=no + output_verbose_link_cmd='echo' + if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then + lt_int_apple_cc_single_mod=yes + fi + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then + archive_cmds_GCJ='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' + else + archive_cmds_GCJ='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring' + fi + module_cmds_GCJ='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then + archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + else + archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + fi + module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + hardcode_direct_GCJ=no + hardcode_automatic_GCJ=yes + hardcode_shlibpath_var_GCJ=unsupported + whole_archive_flag_spec_GCJ='-all_load $convenience' + link_all_deplibs_GCJ=yes + else + ld_shlibs_GCJ=no + fi + ;; + + dgux*) + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_libdir_flag_spec_GCJ='-L$libdir' + hardcode_shlibpath_var_GCJ=no + ;; + + freebsd1*) + ld_shlibs_GCJ=no + ;; + + # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor + # support. Future versions do this automatically, but an explicit c++rt0.o + # does not break anything, and helps significantly (at the cost of a little + # extra space). + freebsd2.2*) + archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' + hardcode_libdir_flag_spec_GCJ='-R$libdir' + hardcode_direct_GCJ=yes + hardcode_shlibpath_var_GCJ=no + ;; + + # Unfortunately, older versions of FreeBSD 2 do not have this feature. + freebsd2*) + archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct_GCJ=yes + hardcode_minus_L_GCJ=yes + hardcode_shlibpath_var_GCJ=no + ;; + + # FreeBSD 3 and greater uses gcc -shared to do shared libraries. + freebsd* | kfreebsd*-gnu) + archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' + hardcode_libdir_flag_spec_GCJ='-R$libdir' + hardcode_direct_GCJ=yes + hardcode_shlibpath_var_GCJ=no + ;; + + hpux9*) + if test "$GCC" = yes; then + archive_cmds_GCJ='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + else + archive_cmds_GCJ='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + fi + hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir' + hardcode_libdir_separator_GCJ=: + hardcode_direct_GCJ=yes + + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + hardcode_minus_L_GCJ=yes + export_dynamic_flag_spec_GCJ='${wl}-E' + ;; + + hpux10* | hpux11*) + if test "$GCC" = yes -a "$with_gnu_ld" = no; then + case "$host_cpu" in + hppa*64*|ia64*) + archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + ;; + *) + archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' + ;; + esac + else + case "$host_cpu" in + hppa*64*|ia64*) + archive_cmds_GCJ='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags' + ;; + *) + archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' + ;; + esac + fi + if test "$with_gnu_ld" = no; then + case "$host_cpu" in + hppa*64*) + hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir' + hardcode_libdir_flag_spec_ld_GCJ='+b $libdir' + hardcode_libdir_separator_GCJ=: + hardcode_direct_GCJ=no + hardcode_shlibpath_var_GCJ=no + ;; + ia64*) + hardcode_libdir_flag_spec_GCJ='-L$libdir' + hardcode_direct_GCJ=no + hardcode_shlibpath_var_GCJ=no + + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + hardcode_minus_L_GCJ=yes + ;; + *) + hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir' + hardcode_libdir_separator_GCJ=: + hardcode_direct_GCJ=yes + export_dynamic_flag_spec_GCJ='${wl}-E' + + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + hardcode_minus_L_GCJ=yes + ;; + esac + fi + ;; + + irix5* | irix6* | nonstopux*) + if test "$GCC" = yes; then + archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + else + archive_cmds_GCJ='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' + hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir' + fi + hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator_GCJ=: + link_all_deplibs_GCJ=yes + ;; + + netbsd*) + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out + else + archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF + fi + hardcode_libdir_flag_spec_GCJ='-R$libdir' + hardcode_direct_GCJ=yes + hardcode_shlibpath_var_GCJ=no + ;; + + newsos6) + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct_GCJ=yes + hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator_GCJ=: + hardcode_shlibpath_var_GCJ=no + ;; + + openbsd*) + hardcode_direct_GCJ=yes + hardcode_shlibpath_var_GCJ=no + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' + hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir' + export_dynamic_flag_spec_GCJ='${wl}-E' + else + case $host_os in + openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) + archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' + hardcode_libdir_flag_spec_GCJ='-R$libdir' + ;; + *) + archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' + hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir' + ;; + esac + fi + ;; + + os2*) + hardcode_libdir_flag_spec_GCJ='-L$libdir' + hardcode_minus_L_GCJ=yes + allow_undefined_flag_GCJ=unsupported + archive_cmds_GCJ='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' + old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' + ;; + + osf3*) + if test "$GCC" = yes; then + allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*' + archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + else + allow_undefined_flag_GCJ=' -expect_unresolved \*' + archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' + fi + hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator_GCJ=: + ;; + + osf4* | osf5*) # as osf3* with the addition of -msym flag + if test "$GCC" = yes; then + allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*' + archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir' + else + allow_undefined_flag_GCJ=' -expect_unresolved \*' + archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' + archive_expsym_cmds_GCJ='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~ + $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp' + + # Both c and cxx compiler support -rpath directly + hardcode_libdir_flag_spec_GCJ='-rpath $libdir' + fi + hardcode_libdir_separator_GCJ=: + ;; + + sco3.2v5*) + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_shlibpath_var_GCJ=no + export_dynamic_flag_spec_GCJ='${wl}-Bexport' + runpath_var=LD_RUN_PATH + hardcode_runpath_var=yes + ;; + + solaris*) + no_undefined_flag_GCJ=' -z text' + if test "$GCC" = yes; then + archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp' + else + archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' + archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' + fi + hardcode_libdir_flag_spec_GCJ='-R$libdir' + hardcode_shlibpath_var_GCJ=no + case $host_os in + solaris2.[0-5] | solaris2.[0-5].*) ;; + *) # Supported since Solaris 2.6 (maybe 2.5.1?) + whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;; + esac + link_all_deplibs_GCJ=yes + ;; + + sunos4*) + if test "x$host_vendor" = xsequent; then + # Use $CC to link under sequent, because it throws in some extra .o + # files that make .init and .fini sections work. + archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' + else + archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' + fi + hardcode_libdir_flag_spec_GCJ='-L$libdir' + hardcode_direct_GCJ=yes + hardcode_minus_L_GCJ=yes + hardcode_shlibpath_var_GCJ=no + ;; + + sysv4) + case $host_vendor in + sni) + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct_GCJ=yes # is this really true??? + ;; + siemens) + ## LD is ld it makes a PLAMLIB + ## CC just makes a GrossModule. + archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags' + reload_cmds_GCJ='$CC -r -o $output$reload_objs' + hardcode_direct_GCJ=no + ;; + motorola) + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie + ;; + esac + runpath_var='LD_RUN_PATH' + hardcode_shlibpath_var_GCJ=no + ;; + + sysv4.3*) + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_shlibpath_var_GCJ=no + export_dynamic_flag_spec_GCJ='-Bexport' + ;; + + sysv4*MP*) + if test -d /usr/nec; then + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_shlibpath_var_GCJ=no + runpath_var=LD_RUN_PATH + hardcode_runpath_var=yes + ld_shlibs_GCJ=yes + fi + ;; + + sysv4.2uw2*) + archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct_GCJ=yes + hardcode_minus_L_GCJ=no + hardcode_shlibpath_var_GCJ=no + hardcode_runpath_var=yes + runpath_var=LD_RUN_PATH + ;; + + sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*) + no_undefined_flag_GCJ='${wl}-z ${wl}text' + if test "$GCC" = yes; then + archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + else + archive_cmds_GCJ='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + fi + runpath_var='LD_RUN_PATH' + hardcode_shlibpath_var_GCJ=no + ;; + + sysv5*) + no_undefined_flag_GCJ=' -z text' + # $CC -shared without GNU ld will not create a library from C++ + # object files and a static libstdc++, better avoid it by now + archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' + archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' + hardcode_libdir_flag_spec_GCJ= + hardcode_shlibpath_var_GCJ=no + runpath_var='LD_RUN_PATH' + ;; + + uts4*) + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_libdir_flag_spec_GCJ='-L$libdir' + hardcode_shlibpath_var_GCJ=no + ;; + + *) + ld_shlibs_GCJ=no + ;; + esac + fi + +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_GCJ" >&5 +$as_echo "$ld_shlibs_GCJ" >&6; } +test "$ld_shlibs_GCJ" = no && can_build_shared=no + +variables_saved_for_relink="PATH $shlibpath_var $runpath_var" +if test "$GCC" = yes; then + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" +fi + +# +# Do we need to explicitly link libc? +# +case "x$archive_cmds_need_lc_GCJ" in +x|xyes) + # Assume -lc should be added + archive_cmds_need_lc_GCJ=yes + + if test "$enable_shared" = yes && test "$GCC" = yes; then + case $archive_cmds_GCJ in + *'~'*) + # FIXME: we may have to deal with multi-command sequences. + ;; + '$CC '*) + # Test whether the compiler implicitly links with -lc since on some + # systems, -lgcc has to come before -lc. If gcc already passes -lc + # to ld, don't add -lc before -lgcc. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 +$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } + $rm conftest* + printf "$lt_simple_compile_test_code" > conftest.$ac_ext + + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } 2>conftest.err; then + soname=conftest + lib=conftest + libobjs=conftest.$ac_objext + deplibs= + wl=$lt_prog_compiler_wl_GCJ + compiler_flags=-v + linker_flags=-v + verstring= + output_objdir=. + libname=conftest + lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ + allow_undefined_flag_GCJ= + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\""; } >&5 + (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } + then + archive_cmds_need_lc_GCJ=no + else + archive_cmds_need_lc_GCJ=yes + fi + allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag + else + cat conftest.err 1>&5 + fi + $rm conftest* + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc_GCJ" >&5 +$as_echo "$archive_cmds_need_lc_GCJ" >&6; } + ;; + esac + fi + ;; +esac + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 +$as_echo_n "checking dynamic linker characteristics... " >&6; } +library_names_spec= +libname_spec='lib$name' +soname_spec= +shrext_cmds=".so" +postinstall_cmds= +postuninstall_cmds= +finish_cmds= +finish_eval= +shlibpath_var= +shlibpath_overrides_runpath=unknown +version_type=none +dynamic_linker="$host_os ld.so" +sys_lib_dlsearch_path_spec="/lib /usr/lib" +if test "$GCC" = yes; then + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` + if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then + # if the path contains ";" then we assume it to be the separator + # otherwise default to the standard path separator (i.e. ":") - it is + # assumed that no part of a normal pathname contains ";" but that should + # okay in the real world where ";" in dirpaths is itself problematic. + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` + else + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` + fi +else + sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" +fi +need_lib_prefix=unknown +hardcode_into_libs=no + +# when you set need_version to no, make sure it does not cause -set_version +# flags to be left without arguments +need_version=unknown + +case $host_os in +aix3*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' + shlibpath_var=LIBPATH + + # AIX 3 has no versioning support, so we append a major version to the name. + soname_spec='${libname}${release}${shared_ext}$major' + ;; + +aix4* | aix5*) + version_type=linux + need_lib_prefix=no + need_version=no + hardcode_into_libs=yes + if test "$host_cpu" = ia64; then + # AIX 5 supports IA64 + library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + else + # With GCC up to 2.95.x, collect2 would create an import file + # for dependence libraries. The import file would start with + # the line `#! .'. This would cause the generated library to + # depend on `.', always an invalid library. This was fixed in + # development snapshots of GCC prior to 3.0. + case $host_os in + aix4 | aix4.[01] | aix4.[01].*) + if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' + echo ' yes ' + echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then + : + else + can_build_shared=no + fi + ;; + esac + # AIX (on Power*) has no versioning support, so currently we can not hardcode correct + # soname into executable. Probably we can add versioning support to + # collect2, so additional links can be useful in future. + if test "$aix_use_runtimelinking" = yes; then + # If using run time linking (on AIX 4.2 or later) use lib.so + # instead of lib.a to let people know that these are not + # typical AIX shared libraries. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + else + # We preserve .a as extension for shared libraries through AIX4.2 + # and later when we are not doing run time linking. + library_names_spec='${libname}${release}.a $libname.a' + soname_spec='${libname}${release}${shared_ext}$major' + fi + shlibpath_var=LIBPATH + fi + ;; + +amigaos*) + library_names_spec='$libname.ixlibrary $libname.a' + # Create ${libname}_ixlibrary.a entries in /sys/libs. + finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' + ;; + +beos*) + library_names_spec='${libname}${shared_ext}' + dynamic_linker="$host_os ld.so" + shlibpath_var=LIBRARY_PATH + ;; + +bsdi4*) + version_type=linux + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' + shlibpath_var=LD_LIBRARY_PATH + sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" + sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" + # the default ld.so.conf also contains /usr/contrib/lib and + # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow + # libtool to hard-code these into programs + ;; + +cygwin* | mingw* | pw32*) + version_type=windows + shrext_cmds=".dll" + need_version=no + need_lib_prefix=no + + case $GCC,$host_os in + yes,cygwin* | yes,mingw* | yes,pw32*) + library_names_spec='$libname.dll.a' + # DLL is installed to $(libdir)/../bin by postinstall_cmds + postinstall_cmds='base_file=`basename \${file}`~ + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~ + dldir=$destdir/`dirname \$dlpath`~ + test -d \$dldir || mkdir -p \$dldir~ + $install_prog $dir/$dlname \$dldir/$dlname' + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ + dlpath=$dir/\$dldll~ + $rm \$dlpath' + shlibpath_overrides_runpath=yes + + case $host_os in + cygwin*) + # Cygwin DLLs use 'cyg' prefix rather than 'lib' + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' + sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" + ;; + mingw*) + # MinGW DLLs use traditional 'lib' prefix + soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` + if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then + # It is most probably a Windows format PATH printed by + # mingw gcc, but we are running on Cygwin. Gcc prints its search + # path with ; separators, and with drive letters. We can handle the + # drive letters (cygwin fileutils understands them), so leave them, + # especially as we might pass files found there to a mingw objdump, + # which wouldn't understand a cygwinified path. Ahh. + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` + else + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` + fi + ;; + pw32*) + # pw32 DLLs use 'pw' prefix rather than 'lib' + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}' + ;; + esac + ;; + + *) + library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' + ;; + esac + dynamic_linker='Win32 ld.exe' + # FIXME: first we should search . and the directory the executable is in + shlibpath_var=PATH + ;; + +darwin* | rhapsody*) + dynamic_linker="$host_os dyld" + version_type=darwin + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' + soname_spec='${libname}${release}${major}$shared_ext' + shlibpath_overrides_runpath=yes + shlibpath_var=DYLD_LIBRARY_PATH + shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)' + # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. + if test "$GCC" = yes; then + sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"` + else + sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib' + fi + sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' + ;; + +dgux*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + ;; + +freebsd1*) + dynamic_linker=no + ;; + +kfreebsd*-gnu) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + dynamic_linker='GNU ld.so' + ;; + +freebsd*) + objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` + version_type=freebsd-$objformat + case $version_type in + freebsd-elf*) + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' + need_version=no + need_lib_prefix=no + ;; + freebsd-*) + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' + need_version=yes + ;; + esac + shlibpath_var=LD_LIBRARY_PATH + case $host_os in + freebsd2*) + shlibpath_overrides_runpath=yes + ;; + freebsd3.01* | freebsdelf3.01*) + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + ;; + *) # from 3.2 on + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + ;; + esac + ;; + +gnu*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + hardcode_into_libs=yes + ;; + +hpux9* | hpux10* | hpux11*) + # Give a soname corresponding to the major version so that dld.sl refuses to + # link against other versions. + version_type=sunos + need_lib_prefix=no + need_version=no + case "$host_cpu" in + ia64*) + shrext_cmds='.so' + hardcode_into_libs=yes + dynamic_linker="$host_os dld.so" + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + if test "X$HPUX_IA64_MODE" = X32; then + sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" + else + sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" + fi + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec + ;; + hppa*64*) + shrext_cmds='.sl' + hardcode_into_libs=yes + dynamic_linker="$host_os dld.sl" + shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec + ;; + *) + shrext_cmds='.sl' + dynamic_linker="$host_os dld.sl" + shlibpath_var=SHLIB_PATH + shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + ;; + esac + # HP-UX runs *really* slowly unless shared libraries are mode 555. + postinstall_cmds='chmod 555 $lib' + ;; + +irix5* | irix6* | nonstopux*) + case $host_os in + nonstopux*) version_type=nonstopux ;; + *) + if test "$lt_cv_prog_gnu_ld" = yes; then + version_type=linux + else + version_type=irix + fi ;; + esac + need_lib_prefix=no + need_version=no + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' + case $host_os in + irix5* | nonstopux*) + libsuff= shlibsuff= + ;; + *) + case $LD in # libtool.m4 will add one of these switches to LD + *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") + libsuff= shlibsuff= libmagic=32-bit;; + *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") + libsuff=32 shlibsuff=N32 libmagic=N32;; + *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") + libsuff=64 shlibsuff=64 libmagic=64-bit;; + *) libsuff= shlibsuff= libmagic=never-match;; + esac + ;; + esac + shlibpath_var=LD_LIBRARY${shlibsuff}_PATH + shlibpath_overrides_runpath=no + sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" + sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" + hardcode_into_libs=yes + ;; + +# No shared lib support for Linux oldld, aout, or coff. +linux*oldld* | linux*aout* | linux*coff*) + dynamic_linker=no + ;; + +# This must be Linux ELF. +linux*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + # This implies no fast_install, which is unacceptable. + # Some rework will be needed to allow for fast_install + # before this can be enabled. + hardcode_into_libs=yes + + # find out which ABI we are using + libsuff= + case "$host_cpu" in + x86_64*|s390x*|powerpc64*) + echo '#line 17019 "configure"' > conftest.$ac_ext + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + case `/usr/bin/file conftest.$ac_objext` in + *64-bit*) + libsuff=64 + sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}" + ;; + esac + fi + rm -rf conftest* + ;; + esac + + # Append ld.so.conf contents to the search path + if test -f /etc/ld.so.conf; then + lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '` + sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra" + fi + + # We used to test for /lib/ld.so.1 and disable shared libraries on + # powerpc, because MkLinux only supported shared libraries with the + # GNU dynamic linker. Since this was broken with cross compilers, + # most powerpc-linux boxes support dynamic linking these days and + # people can always --disable-shared, the test was removed, and we + # assume the GNU/Linux dynamic linker is in use. + dynamic_linker='GNU/Linux ld.so' + ;; + +knetbsd*-gnu) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + dynamic_linker='GNU ld.so' + ;; + +netbsd*) + version_type=sunos + need_lib_prefix=no + need_version=no + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' + dynamic_linker='NetBSD (a.out) ld.so' + else + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + dynamic_linker='NetBSD ld.elf_so' + fi + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + ;; + +newsos6) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + ;; + +nto-qnx*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + ;; + +openbsd*) + version_type=sunos + need_lib_prefix=no + need_version=yes + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' + shlibpath_var=LD_LIBRARY_PATH + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + case $host_os in + openbsd2.[89] | openbsd2.[89].*) + shlibpath_overrides_runpath=no + ;; + *) + shlibpath_overrides_runpath=yes + ;; + esac + else + shlibpath_overrides_runpath=yes + fi + ;; + +os2*) + libname_spec='$name' + shrext_cmds=".dll" + need_lib_prefix=no + library_names_spec='$libname${shared_ext} $libname.a' + dynamic_linker='OS/2 ld.exe' + shlibpath_var=LIBPATH + ;; + +osf3* | osf4* | osf5*) + version_type=osf + need_lib_prefix=no + need_version=no + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" + sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" + ;; + +sco3.2v5*) + version_type=osf + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + ;; + +solaris*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + # ldd complains unless libraries are executable + postinstall_cmds='chmod +x $lib' + ;; + +sunos4*) + version_type=sunos + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + if test "$with_gnu_ld" = yes; then + need_lib_prefix=no + fi + need_version=yes + ;; + +sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + case $host_vendor in + sni) + shlibpath_overrides_runpath=no + need_lib_prefix=no + export_dynamic_flag_spec='${wl}-Blargedynsym' + runpath_var=LD_RUN_PATH + ;; + siemens) + need_lib_prefix=no + ;; + motorola) + need_lib_prefix=no + need_version=no + shlibpath_overrides_runpath=no + sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' + ;; + esac + ;; + +sysv4*MP*) + if test -d /usr/nec ;then + version_type=linux + library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' + soname_spec='$libname${shared_ext}.$major' + shlibpath_var=LD_LIBRARY_PATH + fi + ;; + +uts4*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + ;; + +*) + dynamic_linker=no + ;; +esac +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 +$as_echo "$dynamic_linker" >&6; } +test "$dynamic_linker" = no && can_build_shared=no + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 +$as_echo_n "checking how to hardcode library paths into programs... " >&6; } +hardcode_action_GCJ= +if test -n "$hardcode_libdir_flag_spec_GCJ" || \ + test -n "$runpath_var GCJ" || \ + test "X$hardcode_automatic_GCJ"="Xyes" ; then + + # We can hardcode non-existant directories. + if test "$hardcode_direct_GCJ" != no && + # If the only mechanism to avoid hardcoding is shlibpath_var, we + # have to relink, otherwise we might link with an installed library + # when we should be linking with a yet-to-be-installed one + ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no && + test "$hardcode_minus_L_GCJ" != no; then + # Linking always hardcodes the temporary library directory. + hardcode_action_GCJ=relink + else + # We can link without hardcoding, and we can hardcode nonexisting dirs. + hardcode_action_GCJ=immediate + fi +else + # We cannot hardcode anything, or else we can only hardcode existing + # directories. + hardcode_action_GCJ=unsupported +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_GCJ" >&5 +$as_echo "$hardcode_action_GCJ" >&6; } + +if test "$hardcode_action_GCJ" = relink; then + # Fast installation is not supported + enable_fast_install=no +elif test "$shlibpath_overrides_runpath" = yes || + test "$enable_shared" = no; then + # Fast installation is not necessary + enable_fast_install=needless +fi + +striplib= +old_striplib= +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 +$as_echo_n "checking whether stripping libraries is possible... " >&6; } +if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then + test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" + test -z "$striplib" && striplib="$STRIP --strip-unneeded" + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } +else +# FIXME - insert some real tests, host_os isn't really good enough + case $host_os in + darwin*) + if test -n "$STRIP" ; then + striplib="$STRIP -x" + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + ;; + *) + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + ;; + esac +fi + +if test "x$enable_dlopen" != xyes; then + enable_dlopen=unknown + enable_dlopen_self=unknown + enable_dlopen_self_static=unknown +else + lt_cv_dlopen=no + lt_cv_dlopen_libs= + + case $host_os in + beos*) + lt_cv_dlopen="load_add_on" + lt_cv_dlopen_libs= + lt_cv_dlopen_self=yes + ;; + + mingw* | pw32*) + lt_cv_dlopen="LoadLibrary" + lt_cv_dlopen_libs= + ;; + + cygwin*) + lt_cv_dlopen="dlopen" + lt_cv_dlopen_libs= + ;; + + darwin*) + # if libdl is installed we need to link against it + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 +$as_echo_n "checking for dlopen in -ldl... " >&6; } +if test "${ac_cv_lib_dl_dlopen+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-ldl $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char dlopen (); +int +main () +{ +return dlopen (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_dl_dlopen=yes +else + ac_cv_lib_dl_dlopen=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 +$as_echo "$ac_cv_lib_dl_dlopen" >&6; } +if test "x$ac_cv_lib_dl_dlopen" = x""yes; then : + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" +else + + lt_cv_dlopen="dyld" + lt_cv_dlopen_libs= + lt_cv_dlopen_self=yes + +fi + + ;; + + *) + ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" +if test "x$ac_cv_func_shl_load" = x""yes; then : + lt_cv_dlopen="shl_load" +else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 +$as_echo_n "checking for shl_load in -ldld... " >&6; } +if test "${ac_cv_lib_dld_shl_load+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-ldld $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char shl_load (); +int +main () +{ +return shl_load (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_dld_shl_load=yes +else + ac_cv_lib_dld_shl_load=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 +$as_echo "$ac_cv_lib_dld_shl_load" >&6; } +if test "x$ac_cv_lib_dld_shl_load" = x""yes; then : + lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld" +else + ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" +if test "x$ac_cv_func_dlopen" = x""yes; then : + lt_cv_dlopen="dlopen" +else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 +$as_echo_n "checking for dlopen in -ldl... " >&6; } +if test "${ac_cv_lib_dl_dlopen+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-ldl $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char dlopen (); +int +main () +{ +return dlopen (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_dl_dlopen=yes +else + ac_cv_lib_dl_dlopen=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 +$as_echo "$ac_cv_lib_dl_dlopen" >&6; } +if test "x$ac_cv_lib_dl_dlopen" = x""yes; then : + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" +else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 +$as_echo_n "checking for dlopen in -lsvld... " >&6; } +if test "${ac_cv_lib_svld_dlopen+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lsvld $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char dlopen (); +int +main () +{ +return dlopen (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_svld_dlopen=yes +else + ac_cv_lib_svld_dlopen=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 +$as_echo "$ac_cv_lib_svld_dlopen" >&6; } +if test "x$ac_cv_lib_svld_dlopen" = x""yes; then : + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" +else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 +$as_echo_n "checking for dld_link in -ldld... " >&6; } +if test "${ac_cv_lib_dld_dld_link+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-ldld $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char dld_link (); +int +main () +{ +return dld_link (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_dld_dld_link=yes +else + ac_cv_lib_dld_dld_link=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 +$as_echo "$ac_cv_lib_dld_dld_link" >&6; } +if test "x$ac_cv_lib_dld_dld_link" = x""yes; then : + lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld" +fi + + +fi + + +fi + + +fi + + +fi + + +fi + + ;; + esac + + if test "x$lt_cv_dlopen" != xno; then + enable_dlopen=yes + else + enable_dlopen=no + fi + + case $lt_cv_dlopen in + dlopen) + save_CPPFLAGS="$CPPFLAGS" + test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" + + save_LDFLAGS="$LDFLAGS" + eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" + + save_LIBS="$LIBS" + LIBS="$lt_cv_dlopen_libs $LIBS" + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 +$as_echo_n "checking whether a program can dlopen itself... " >&6; } +if test "${lt_cv_dlopen_self+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if test "$cross_compiling" = yes; then : + lt_cv_dlopen_self=cross +else + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 + lt_status=$lt_dlunknown + cat > conftest.$ac_ext < +#endif + +#include + +#ifdef RTLD_GLOBAL +# define LT_DLGLOBAL RTLD_GLOBAL +#else +# ifdef DL_GLOBAL +# define LT_DLGLOBAL DL_GLOBAL +# else +# define LT_DLGLOBAL 0 +# endif +#endif + +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we + find out it does not work in some platform. */ +#ifndef LT_DLLAZY_OR_NOW +# ifdef RTLD_LAZY +# define LT_DLLAZY_OR_NOW RTLD_LAZY +# else +# ifdef DL_LAZY +# define LT_DLLAZY_OR_NOW DL_LAZY +# else +# ifdef RTLD_NOW +# define LT_DLLAZY_OR_NOW RTLD_NOW +# else +# ifdef DL_NOW +# define LT_DLLAZY_OR_NOW DL_NOW +# else +# define LT_DLLAZY_OR_NOW 0 +# endif +# endif +# endif +# endif +#endif + +#ifdef __cplusplus +extern "C" void exit (int); +#endif + +void fnord() { int i=42;} +int main () +{ + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); + int status = $lt_dlunknown; + + if (self) + { + if (dlsym (self,"fnord")) status = $lt_dlno_uscore; + else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; + /* dlclose (self); */ + } + + exit (status); +} +EOF + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 + (eval $ac_link) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then + (./conftest; exit; ) 2>/dev/null + lt_status=$? + case x$lt_status in + x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; + x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; + x$lt_unknown|x*) lt_cv_dlopen_self=no ;; + esac + else : + # compilation failed + lt_cv_dlopen_self=no + fi +fi +rm -fr conftest* + + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 +$as_echo "$lt_cv_dlopen_self" >&6; } + + if test "x$lt_cv_dlopen_self" = xyes; then + LDFLAGS="$LDFLAGS $link_static_flag" + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 +$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } +if test "${lt_cv_dlopen_self_static+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if test "$cross_compiling" = yes; then : + lt_cv_dlopen_self_static=cross +else + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 + lt_status=$lt_dlunknown + cat > conftest.$ac_ext < +#endif + +#include + +#ifdef RTLD_GLOBAL +# define LT_DLGLOBAL RTLD_GLOBAL +#else +# ifdef DL_GLOBAL +# define LT_DLGLOBAL DL_GLOBAL +# else +# define LT_DLGLOBAL 0 +# endif +#endif + +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we + find out it does not work in some platform. */ +#ifndef LT_DLLAZY_OR_NOW +# ifdef RTLD_LAZY +# define LT_DLLAZY_OR_NOW RTLD_LAZY +# else +# ifdef DL_LAZY +# define LT_DLLAZY_OR_NOW DL_LAZY +# else +# ifdef RTLD_NOW +# define LT_DLLAZY_OR_NOW RTLD_NOW +# else +# ifdef DL_NOW +# define LT_DLLAZY_OR_NOW DL_NOW +# else +# define LT_DLLAZY_OR_NOW 0 +# endif +# endif +# endif +# endif +#endif + +#ifdef __cplusplus +extern "C" void exit (int); +#endif + +void fnord() { int i=42;} +int main () +{ + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); + int status = $lt_dlunknown; + + if (self) + { + if (dlsym (self,"fnord")) status = $lt_dlno_uscore; + else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; + /* dlclose (self); */ + } + + exit (status); +} +EOF + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 + (eval $ac_link) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then + (./conftest; exit; ) 2>/dev/null + lt_status=$? + case x$lt_status in + x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; + x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; + x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;; + esac + else : + # compilation failed + lt_cv_dlopen_self_static=no + fi +fi +rm -fr conftest* + + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 +$as_echo "$lt_cv_dlopen_self_static" >&6; } + fi + + CPPFLAGS="$save_CPPFLAGS" + LDFLAGS="$save_LDFLAGS" + LIBS="$save_LIBS" + ;; + esac + + case $lt_cv_dlopen_self in + yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; + *) enable_dlopen_self=unknown ;; + esac + + case $lt_cv_dlopen_self_static in + yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; + *) enable_dlopen_self_static=unknown ;; + esac +fi + + +# The else clause should only fire when bootstrapping the +# libtool distribution, otherwise you forgot to ship ltmain.sh +# with your package, and you will get complaints that there are +# no rules to generate ltmain.sh. +if test -f "$ltmain"; then + # See if we are running on zsh, and set the options which allow our commands through + # without removal of \ escapes. + if test -n "${ZSH_VERSION+set}" ; then + setopt NO_GLOB_SUBST + fi + # Now quote all the things that may contain metacharacters while being + # careful not to overquote the AC_SUBSTed values. We take copies of the + # variables and quote the copies for generation of the libtool script. + for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \ + SED SHELL STRIP \ + libname_spec library_names_spec soname_spec extract_expsyms_cmds \ + old_striplib striplib file_magic_cmd finish_cmds finish_eval \ + deplibs_check_method reload_flag reload_cmds need_locks \ + lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ + lt_cv_sys_global_symbol_to_c_name_address \ + sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ + old_postinstall_cmds old_postuninstall_cmds \ + compiler_GCJ \ + CC_GCJ \ + LD_GCJ \ + lt_prog_compiler_wl_GCJ \ + lt_prog_compiler_pic_GCJ \ + lt_prog_compiler_static_GCJ \ + lt_prog_compiler_no_builtin_flag_GCJ \ + export_dynamic_flag_spec_GCJ \ + thread_safe_flag_spec_GCJ \ + whole_archive_flag_spec_GCJ \ + enable_shared_with_static_runtimes_GCJ \ + old_archive_cmds_GCJ \ + old_archive_from_new_cmds_GCJ \ + predep_objects_GCJ \ + postdep_objects_GCJ \ + predeps_GCJ \ + postdeps_GCJ \ + compiler_lib_search_path_GCJ \ + archive_cmds_GCJ \ + archive_expsym_cmds_GCJ \ + postinstall_cmds_GCJ \ + postuninstall_cmds_GCJ \ + old_archive_from_expsyms_cmds_GCJ \ + allow_undefined_flag_GCJ \ + no_undefined_flag_GCJ \ + export_symbols_cmds_GCJ \ + hardcode_libdir_flag_spec_GCJ \ + hardcode_libdir_flag_spec_ld_GCJ \ + hardcode_libdir_separator_GCJ \ + hardcode_automatic_GCJ \ + module_cmds_GCJ \ + module_expsym_cmds_GCJ \ + lt_cv_prog_compiler_c_o_GCJ \ + exclude_expsyms_GCJ \ + include_expsyms_GCJ; do + + case $var in + old_archive_cmds_GCJ | \ + old_archive_from_new_cmds_GCJ | \ + archive_cmds_GCJ | \ + archive_expsym_cmds_GCJ | \ + module_cmds_GCJ | \ + module_expsym_cmds_GCJ | \ + old_archive_from_expsyms_cmds_GCJ | \ + export_symbols_cmds_GCJ | \ + extract_expsyms_cmds | reload_cmds | finish_cmds | \ + postinstall_cmds | postuninstall_cmds | \ + old_postinstall_cmds | old_postuninstall_cmds | \ + sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) + # Double-quote double-evaled strings. + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" + ;; + *) + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\"" + ;; + esac + done + + case $lt_echo in + *'\$0 --fallback-echo"') + lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'` + ;; + esac + +cfgfile="$ofile" + + cat <<__EOF__ >> "$cfgfile" +# ### BEGIN LIBTOOL TAG CONFIG: $tagname + +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: + +# Shell to use when invoking shell scripts. +SHELL=$lt_SHELL + +# Whether or not to build shared libraries. +build_libtool_libs=$enable_shared + +# Whether or not to build static libraries. +build_old_libs=$enable_static + +# Whether or not to add -lc for building shared libraries. +build_libtool_need_lc=$archive_cmds_need_lc_GCJ + +# Whether or not to disallow shared libs when runtime libs are static +allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ + +# Whether or not to optimize for fast installation. +fast_install=$enable_fast_install + +# The host system. +host_alias=$host_alias +host=$host + +# An echo program that does not interpret backslashes. +echo=$lt_echo + +# The archiver. +AR=$lt_AR +AR_FLAGS=$lt_AR_FLAGS + +# A C compiler. +LTCC=$lt_LTCC + +# A language-specific compiler. +CC=$lt_compiler_GCJ + +# Is the compiler the GNU C compiler? +with_gcc=$GCC_GCJ + +# An ERE matcher. +EGREP=$lt_EGREP + +# The linker used to build libraries. +LD=$lt_LD_GCJ + +# Whether we need hard or soft links. +LN_S=$lt_LN_S + +# A BSD-compatible nm program. +NM=$lt_NM + +# A symbol stripping program +STRIP=$lt_STRIP + +# Used to examine libraries when file_magic_cmd begins "file" +MAGIC_CMD=$MAGIC_CMD + +# Used on cygwin: DLL creation program. +DLLTOOL="$DLLTOOL" + +# Used on cygwin: object dumper. +OBJDUMP="$OBJDUMP" + +# Used on cygwin: assembler. +AS="$AS" + +# The name of the directory that contains temporary libtool files. +objdir=$objdir + +# How to create reloadable object files. +reload_flag=$lt_reload_flag +reload_cmds=$lt_reload_cmds + +# How to pass a linker flag through the compiler. +wl=$lt_lt_prog_compiler_wl_GCJ + +# Object file suffix (normally "o"). +objext="$ac_objext" + +# Old archive suffix (normally "a"). +libext="$libext" + +# Shared library suffix (normally ".so"). +shrext_cmds='$shrext_cmds' + +# Executable file suffix (normally ""). +exeext="$exeext" + +# Additional compiler flags for building library objects. +pic_flag=$lt_lt_prog_compiler_pic_GCJ +pic_mode=$pic_mode + +# What is the maximum length of a command? +max_cmd_len=$lt_cv_sys_max_cmd_len + +# Does compiler simultaneously support -c and -o options? +compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ + +# Must we lock files when doing compilation ? +need_locks=$lt_need_locks + +# Do we need the lib prefix for modules? +need_lib_prefix=$need_lib_prefix + +# Do we need a version for libraries? +need_version=$need_version + +# Whether dlopen is supported. +dlopen_support=$enable_dlopen + +# Whether dlopen of programs is supported. +dlopen_self=$enable_dlopen_self + +# Whether dlopen of statically linked programs is supported. +dlopen_self_static=$enable_dlopen_self_static + +# Compiler flag to prevent dynamic linking. +link_static_flag=$lt_lt_prog_compiler_static_GCJ + +# Compiler flag to turn off builtin functions. +no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ + +# Compiler flag to allow reflexive dlopens. +export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ + +# Compiler flag to generate shared objects directly from archives. +whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ + +# Compiler flag to generate thread-safe objects. +thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ + +# Library versioning type. +version_type=$version_type + +# Format of library name prefix. +libname_spec=$lt_libname_spec + +# List of archive names. First name is the real one, the rest are links. +# The last name is the one that the linker finds with -lNAME. +library_names_spec=$lt_library_names_spec + +# The coded name of the library, if different from the real name. +soname_spec=$lt_soname_spec + +# Commands used to build and install an old-style archive. +RANLIB=$lt_RANLIB +old_archive_cmds=$lt_old_archive_cmds_GCJ +old_postinstall_cmds=$lt_old_postinstall_cmds +old_postuninstall_cmds=$lt_old_postuninstall_cmds + +# Create an old-style archive from a shared archive. +old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ + +# Create a temporary old-style archive to link instead of a shared archive. +old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ + +# Commands used to build and install a shared archive. +archive_cmds=$lt_archive_cmds_GCJ +archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ +postinstall_cmds=$lt_postinstall_cmds +postuninstall_cmds=$lt_postuninstall_cmds + +# Commands used to build a loadable module (assumed same as above if empty) +module_cmds=$lt_module_cmds_GCJ +module_expsym_cmds=$lt_module_expsym_cmds_GCJ + +# Commands to strip libraries. +old_striplib=$lt_old_striplib +striplib=$lt_striplib + +# Dependencies to place before the objects being linked to create a +# shared library. +predep_objects=$lt_predep_objects_GCJ + +# Dependencies to place after the objects being linked to create a +# shared library. +postdep_objects=$lt_postdep_objects_GCJ + +# Dependencies to place before the objects being linked to create a +# shared library. +predeps=$lt_predeps_GCJ + +# Dependencies to place after the objects being linked to create a +# shared library. +postdeps=$lt_postdeps_GCJ + +# The library search path used internally by the compiler when linking +# a shared library. +compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ + +# Method to check whether dependent libraries are shared objects. +deplibs_check_method=$lt_deplibs_check_method + +# Command to use when deplibs_check_method == file_magic. +file_magic_cmd=$lt_file_magic_cmd + +# Flag that allows shared libraries with undefined symbols to be built. +allow_undefined_flag=$lt_allow_undefined_flag_GCJ + +# Flag that forces no undefined symbols. +no_undefined_flag=$lt_no_undefined_flag_GCJ + +# Commands used to finish a libtool library installation in a directory. +finish_cmds=$lt_finish_cmds + +# Same as above, but a single script fragment to be evaled but not shown. +finish_eval=$lt_finish_eval + +# Take the output of nm and produce a listing of raw symbols and C names. +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe + +# Transform the output of nm in a proper C declaration +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl + +# Transform the output of nm in a C name address pair +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address + +# This is the shared library runtime path variable. +runpath_var=$runpath_var + +# This is the shared library path variable. +shlibpath_var=$shlibpath_var + +# Is shlibpath searched before the hard-coded library search path? +shlibpath_overrides_runpath=$shlibpath_overrides_runpath + +# How to hardcode a shared library path into an executable. +hardcode_action=$hardcode_action_GCJ + +# Whether we should hardcode library paths into libraries. +hardcode_into_libs=$hardcode_into_libs + +# Flag to hardcode \$libdir into a binary during linking. +# This must work even if \$libdir does not exist. +hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ + +# If ld is used when linking, flag to hardcode \$libdir into +# a binary during linking. This must work even if \$libdir does +# not exist. +hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ + +# Whether we need a single -rpath flag with a separated argument. +hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ + +# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the +# resulting binary. +hardcode_direct=$hardcode_direct_GCJ + +# Set to yes if using the -LDIR flag during linking hardcodes DIR into the +# resulting binary. +hardcode_minus_L=$hardcode_minus_L_GCJ + +# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into +# the resulting binary. +hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ + +# Set to yes if building a shared library automatically hardcodes DIR into the library +# and all subsequent libraries and executables linked against it. +hardcode_automatic=$hardcode_automatic_GCJ + +# Variables whose values should be saved in libtool wrapper scripts and +# restored at relink time. +variables_saved_for_relink="$variables_saved_for_relink" + +# Whether libtool must link a program against all its dependency libraries. +link_all_deplibs=$link_all_deplibs_GCJ + +# Compile-time system search path for libraries +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec + +# Run-time system search path for libraries +sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec + +# Fix the shell variable \$srcfile for the compiler. +fix_srcfile_path="$fix_srcfile_path_GCJ" + +# Set to yes if exported symbols are required. +always_export_symbols=$always_export_symbols_GCJ + +# The commands to list exported symbols. +export_symbols_cmds=$lt_export_symbols_cmds_GCJ + +# The commands to extract the exported symbol list from a shared archive. +extract_expsyms_cmds=$lt_extract_expsyms_cmds + +# Symbols that should not be listed in the preloaded symbols. +exclude_expsyms=$lt_exclude_expsyms_GCJ + +# Symbols that must always be exported. +include_expsyms=$lt_include_expsyms_GCJ + +# ### END LIBTOOL TAG CONFIG: $tagname + +__EOF__ + + +else + # If there is no Makefile yet, we rely on a make rule to execute + # `config.status --recheck' to rerun these tests and create the + # libtool script then. + ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'` + if test -f "$ltmain_in"; then + test -f Makefile && make "$ltmain" + fi +fi + + +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + +CC="$lt_save_CC" + + else + tagname="" + fi + ;; + + RC) + + +# Source file extension for RC test sources. +ac_ext=rc + +# Object file extension for compiled RC test sources. +objext=o +objext_RC=$objext + +# Code to be used in simple compile tests +lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n' + +# Code to be used in simple link tests +lt_simple_link_test_code="$lt_simple_compile_test_code" + +# ltmain only uses $CC for tagged configurations so make sure $CC is set. + +# If no C compiler was specified, use CC. +LTCC=${LTCC-"$CC"} + +# Allow CC to be a program name with arguments. +compiler=$CC + + +# Allow CC to be a program name with arguments. +lt_save_CC="$CC" +CC=${RC-"windres"} +compiler=$CC +compiler_RC=$CC +lt_cv_prog_compiler_c_o_RC=yes + +# The else clause should only fire when bootstrapping the +# libtool distribution, otherwise you forgot to ship ltmain.sh +# with your package, and you will get complaints that there are +# no rules to generate ltmain.sh. +if test -f "$ltmain"; then + # See if we are running on zsh, and set the options which allow our commands through + # without removal of \ escapes. + if test -n "${ZSH_VERSION+set}" ; then + setopt NO_GLOB_SUBST + fi + # Now quote all the things that may contain metacharacters while being + # careful not to overquote the AC_SUBSTed values. We take copies of the + # variables and quote the copies for generation of the libtool script. + for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \ + SED SHELL STRIP \ + libname_spec library_names_spec soname_spec extract_expsyms_cmds \ + old_striplib striplib file_magic_cmd finish_cmds finish_eval \ + deplibs_check_method reload_flag reload_cmds need_locks \ + lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ + lt_cv_sys_global_symbol_to_c_name_address \ + sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ + old_postinstall_cmds old_postuninstall_cmds \ + compiler_RC \ + CC_RC \ + LD_RC \ + lt_prog_compiler_wl_RC \ + lt_prog_compiler_pic_RC \ + lt_prog_compiler_static_RC \ + lt_prog_compiler_no_builtin_flag_RC \ + export_dynamic_flag_spec_RC \ + thread_safe_flag_spec_RC \ + whole_archive_flag_spec_RC \ + enable_shared_with_static_runtimes_RC \ + old_archive_cmds_RC \ + old_archive_from_new_cmds_RC \ + predep_objects_RC \ + postdep_objects_RC \ + predeps_RC \ + postdeps_RC \ + compiler_lib_search_path_RC \ + archive_cmds_RC \ + archive_expsym_cmds_RC \ + postinstall_cmds_RC \ + postuninstall_cmds_RC \ + old_archive_from_expsyms_cmds_RC \ + allow_undefined_flag_RC \ + no_undefined_flag_RC \ + export_symbols_cmds_RC \ + hardcode_libdir_flag_spec_RC \ + hardcode_libdir_flag_spec_ld_RC \ + hardcode_libdir_separator_RC \ + hardcode_automatic_RC \ + module_cmds_RC \ + module_expsym_cmds_RC \ + lt_cv_prog_compiler_c_o_RC \ + exclude_expsyms_RC \ + include_expsyms_RC; do + + case $var in + old_archive_cmds_RC | \ + old_archive_from_new_cmds_RC | \ + archive_cmds_RC | \ + archive_expsym_cmds_RC | \ + module_cmds_RC | \ + module_expsym_cmds_RC | \ + old_archive_from_expsyms_cmds_RC | \ + export_symbols_cmds_RC | \ + extract_expsyms_cmds | reload_cmds | finish_cmds | \ + postinstall_cmds | postuninstall_cmds | \ + old_postinstall_cmds | old_postuninstall_cmds | \ + sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) + # Double-quote double-evaled strings. + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" + ;; + *) + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\"" + ;; + esac + done + + case $lt_echo in + *'\$0 --fallback-echo"') + lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'` + ;; + esac + +cfgfile="$ofile" + + cat <<__EOF__ >> "$cfgfile" +# ### BEGIN LIBTOOL TAG CONFIG: $tagname + +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: + +# Shell to use when invoking shell scripts. +SHELL=$lt_SHELL + +# Whether or not to build shared libraries. +build_libtool_libs=$enable_shared + +# Whether or not to build static libraries. +build_old_libs=$enable_static + +# Whether or not to add -lc for building shared libraries. +build_libtool_need_lc=$archive_cmds_need_lc_RC + +# Whether or not to disallow shared libs when runtime libs are static +allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC + +# Whether or not to optimize for fast installation. +fast_install=$enable_fast_install + +# The host system. +host_alias=$host_alias +host=$host + +# An echo program that does not interpret backslashes. +echo=$lt_echo + +# The archiver. +AR=$lt_AR +AR_FLAGS=$lt_AR_FLAGS + +# A C compiler. +LTCC=$lt_LTCC + +# A language-specific compiler. +CC=$lt_compiler_RC + +# Is the compiler the GNU C compiler? +with_gcc=$GCC_RC + +# An ERE matcher. +EGREP=$lt_EGREP + +# The linker used to build libraries. +LD=$lt_LD_RC + +# Whether we need hard or soft links. +LN_S=$lt_LN_S + +# A BSD-compatible nm program. +NM=$lt_NM + +# A symbol stripping program +STRIP=$lt_STRIP + +# Used to examine libraries when file_magic_cmd begins "file" +MAGIC_CMD=$MAGIC_CMD + +# Used on cygwin: DLL creation program. +DLLTOOL="$DLLTOOL" + +# Used on cygwin: object dumper. +OBJDUMP="$OBJDUMP" + +# Used on cygwin: assembler. +AS="$AS" + +# The name of the directory that contains temporary libtool files. +objdir=$objdir + +# How to create reloadable object files. +reload_flag=$lt_reload_flag +reload_cmds=$lt_reload_cmds + +# How to pass a linker flag through the compiler. +wl=$lt_lt_prog_compiler_wl_RC + +# Object file suffix (normally "o"). +objext="$ac_objext" + +# Old archive suffix (normally "a"). +libext="$libext" + +# Shared library suffix (normally ".so"). +shrext_cmds='$shrext_cmds' + +# Executable file suffix (normally ""). +exeext="$exeext" + +# Additional compiler flags for building library objects. +pic_flag=$lt_lt_prog_compiler_pic_RC +pic_mode=$pic_mode + +# What is the maximum length of a command? +max_cmd_len=$lt_cv_sys_max_cmd_len + +# Does compiler simultaneously support -c and -o options? +compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC + +# Must we lock files when doing compilation ? +need_locks=$lt_need_locks + +# Do we need the lib prefix for modules? +need_lib_prefix=$need_lib_prefix + +# Do we need a version for libraries? +need_version=$need_version + +# Whether dlopen is supported. +dlopen_support=$enable_dlopen + +# Whether dlopen of programs is supported. +dlopen_self=$enable_dlopen_self + +# Whether dlopen of statically linked programs is supported. +dlopen_self_static=$enable_dlopen_self_static + +# Compiler flag to prevent dynamic linking. +link_static_flag=$lt_lt_prog_compiler_static_RC + +# Compiler flag to turn off builtin functions. +no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC + +# Compiler flag to allow reflexive dlopens. +export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC + +# Compiler flag to generate shared objects directly from archives. +whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC + +# Compiler flag to generate thread-safe objects. +thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC + +# Library versioning type. +version_type=$version_type + +# Format of library name prefix. +libname_spec=$lt_libname_spec + +# List of archive names. First name is the real one, the rest are links. +# The last name is the one that the linker finds with -lNAME. +library_names_spec=$lt_library_names_spec + +# The coded name of the library, if different from the real name. +soname_spec=$lt_soname_spec + +# Commands used to build and install an old-style archive. +RANLIB=$lt_RANLIB +old_archive_cmds=$lt_old_archive_cmds_RC +old_postinstall_cmds=$lt_old_postinstall_cmds +old_postuninstall_cmds=$lt_old_postuninstall_cmds + +# Create an old-style archive from a shared archive. +old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC + +# Create a temporary old-style archive to link instead of a shared archive. +old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC + +# Commands used to build and install a shared archive. +archive_cmds=$lt_archive_cmds_RC +archive_expsym_cmds=$lt_archive_expsym_cmds_RC +postinstall_cmds=$lt_postinstall_cmds +postuninstall_cmds=$lt_postuninstall_cmds + +# Commands used to build a loadable module (assumed same as above if empty) +module_cmds=$lt_module_cmds_RC +module_expsym_cmds=$lt_module_expsym_cmds_RC + +# Commands to strip libraries. +old_striplib=$lt_old_striplib +striplib=$lt_striplib + +# Dependencies to place before the objects being linked to create a +# shared library. +predep_objects=$lt_predep_objects_RC + +# Dependencies to place after the objects being linked to create a +# shared library. +postdep_objects=$lt_postdep_objects_RC + +# Dependencies to place before the objects being linked to create a +# shared library. +predeps=$lt_predeps_RC + +# Dependencies to place after the objects being linked to create a +# shared library. +postdeps=$lt_postdeps_RC + +# The library search path used internally by the compiler when linking +# a shared library. +compiler_lib_search_path=$lt_compiler_lib_search_path_RC + +# Method to check whether dependent libraries are shared objects. +deplibs_check_method=$lt_deplibs_check_method + +# Command to use when deplibs_check_method == file_magic. +file_magic_cmd=$lt_file_magic_cmd + +# Flag that allows shared libraries with undefined symbols to be built. +allow_undefined_flag=$lt_allow_undefined_flag_RC + +# Flag that forces no undefined symbols. +no_undefined_flag=$lt_no_undefined_flag_RC + +# Commands used to finish a libtool library installation in a directory. +finish_cmds=$lt_finish_cmds + +# Same as above, but a single script fragment to be evaled but not shown. +finish_eval=$lt_finish_eval + +# Take the output of nm and produce a listing of raw symbols and C names. +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe + +# Transform the output of nm in a proper C declaration +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl + +# Transform the output of nm in a C name address pair +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address + +# This is the shared library runtime path variable. +runpath_var=$runpath_var + +# This is the shared library path variable. +shlibpath_var=$shlibpath_var + +# Is shlibpath searched before the hard-coded library search path? +shlibpath_overrides_runpath=$shlibpath_overrides_runpath + +# How to hardcode a shared library path into an executable. +hardcode_action=$hardcode_action_RC + +# Whether we should hardcode library paths into libraries. +hardcode_into_libs=$hardcode_into_libs + +# Flag to hardcode \$libdir into a binary during linking. +# This must work even if \$libdir does not exist. +hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC + +# If ld is used when linking, flag to hardcode \$libdir into +# a binary during linking. This must work even if \$libdir does +# not exist. +hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC + +# Whether we need a single -rpath flag with a separated argument. +hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC + +# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the +# resulting binary. +hardcode_direct=$hardcode_direct_RC + +# Set to yes if using the -LDIR flag during linking hardcodes DIR into the +# resulting binary. +hardcode_minus_L=$hardcode_minus_L_RC + +# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into +# the resulting binary. +hardcode_shlibpath_var=$hardcode_shlibpath_var_RC + +# Set to yes if building a shared library automatically hardcodes DIR into the library +# and all subsequent libraries and executables linked against it. +hardcode_automatic=$hardcode_automatic_RC + +# Variables whose values should be saved in libtool wrapper scripts and +# restored at relink time. +variables_saved_for_relink="$variables_saved_for_relink" + +# Whether libtool must link a program against all its dependency libraries. +link_all_deplibs=$link_all_deplibs_RC + +# Compile-time system search path for libraries +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec + +# Run-time system search path for libraries +sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec + +# Fix the shell variable \$srcfile for the compiler. +fix_srcfile_path="$fix_srcfile_path_RC" + +# Set to yes if exported symbols are required. +always_export_symbols=$always_export_symbols_RC + +# The commands to list exported symbols. +export_symbols_cmds=$lt_export_symbols_cmds_RC + +# The commands to extract the exported symbol list from a shared archive. +extract_expsyms_cmds=$lt_extract_expsyms_cmds + +# Symbols that should not be listed in the preloaded symbols. +exclude_expsyms=$lt_exclude_expsyms_RC + +# Symbols that must always be exported. +include_expsyms=$lt_include_expsyms_RC + +# ### END LIBTOOL TAG CONFIG: $tagname + +__EOF__ + + +else + # If there is no Makefile yet, we rely on a make rule to execute + # `config.status --recheck' to rerun these tests and create the + # libtool script then. + ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'` + if test -f "$ltmain_in"; then + test -f Makefile && make "$ltmain" + fi +fi + + +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + +CC="$lt_save_CC" + + ;; + + *) + as_fn_error "Unsupported tag name: $tagname" "$LINENO" 5 + ;; + esac + + # Append the new tag name to the list of available tags. + if test -n "$tagname" ; then + available_tags="$available_tags $tagname" + fi + fi + done + IFS="$lt_save_ifs" + + # Now substitute the updated list of available tags. + if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then + mv "${ofile}T" "$ofile" + chmod +x "$ofile" + else + rm -f "${ofile}T" + as_fn_error "unable to update list of available tagged configurations." "$LINENO" 5 + fi +fi + + + +# This can be used to rebuild libtool when needed +LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh" + +# Always use our own libtool. +LIBTOOL='$(SHELL) $(top_builddir)/libtool' + +# Prevent multiple expansion + + + + + + + + + + + + + + + + + + + + + + +LINUX_API=0 +DARWIN_API=0 +BSD_API=0 + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for what USB OS support" >&5 +$as_echo_n "checking for what USB OS support... " >&6; } +case $host in + *-linux*) + $as_echo "#define LINUX_API 1" >>confdefs.h + + $as_echo "#define BSD_API 0" >>confdefs.h + + $as_echo "#define DARWIN_API 0" >>confdefs.h + + LINUX_API=1 + os_support=linux + { $as_echo "$as_me:${as_lineno-$LINENO}: result: Linux" >&5 +$as_echo "Linux" >&6; } + OSLIBS="" + ;; + *-freebsd*|*-kfreebsd*-gnu|*-openbsd*|*-netbsd*) + $as_echo "#define BSD_API 1" >>confdefs.h + + $as_echo "#define LINUX_API 0" >>confdefs.h + + $as_echo "#define DARWIN_API 0" >>confdefs.h + + BSD_API=1 + os_support=bsd + { $as_echo "$as_me:${as_lineno-$LINENO}: result: FreeBSD" >&5 +$as_echo "FreeBSD" >&6; } + OSLIBS="" + ;; + *-darwin*) + $as_echo "#define DARWIN_API 1" >>confdefs.h + + $as_echo "#define LINUX_API 0" >>confdefs.h + + $as_echo "#define BSD_API 0" >>confdefs.h + + DARWIN_API=1 + os_support=darwin + { $as_echo "$as_me:${as_lineno-$LINENO}: result: Darwin and/or MacOS 10" >&5 +$as_echo "Darwin and/or MacOS 10" >&6; } + OSLIBS="-Wl,-framework -Wl,IOKit -Wl,-framework -Wl,CoreFoundation -Wl,-prebind" + ;; + *) + { $as_echo "$as_me:${as_lineno-$LINENO}: result: unknown operating system" >&5 +$as_echo "unknown operating system" >&6; } + as_fn_error "libusb does not support compiling for $host" "$LINENO" 5 + ;; +esac + + + + + + + +if test "$os_support" = "linux"; then + LINUX_API_TRUE= + LINUX_API_FALSE='#' +else + LINUX_API_TRUE='#' + LINUX_API_FALSE= +fi + + + +if test "$os_support" = "bsd"; then + BSD_API_TRUE= + BSD_API_FALSE='#' +else + BSD_API_TRUE='#' + BSD_API_FALSE= +fi + + + +if test "$os_support" = "darwin"; then + DARWIN_API_TRUE= + DARWIN_API_FALSE='#' +else + DARWIN_API_TRUE='#' + DARWIN_API_FALSE= +fi + + + + +if test `expr $LIBUSB_MINOR_VERSION \% 2` = 1 ; then + debug_default=yes +else + debug_default=minimum +fi + +# Check whether --enable-debug was given. +if test "${enable_debug+set}" = set; then : + enableval=$enable_debug; +else + enable_debug=$debug_default +fi + + +if test "x$enable_debug" = "xyes"; then + test "$cflags_set" = set || CFLAGS="$CFLAGS -g" +fi + +# Checks for programs. +ac_ext=cpp +ac_cpp='$CXXCPP $CPPFLAGS' +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu +if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. +set dummy ${ac_tool_prefix}gcc; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if test "${ac_cv_prog_CC+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$CC"; then + ac_cv_prog_CC="$CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_CC="${ac_tool_prefix}gcc" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +CC=$ac_cv_prog_CC +if test -n "$CC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 +$as_echo "$CC" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_CC"; then + ac_ct_CC=$CC + # Extract the first word of "gcc", so it can be a program name with args. +set dummy gcc; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_CC"; then + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_ac_ct_CC="gcc" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_CC=$ac_cv_prog_ac_ct_CC +if test -n "$ac_ct_CC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 +$as_echo "$ac_ct_CC" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_ct_CC" = x; then + CC="" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + CC=$ac_ct_CC + fi +else + CC="$ac_cv_prog_CC" +fi + +if test -z "$CC"; then + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. +set dummy ${ac_tool_prefix}cc; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if test "${ac_cv_prog_CC+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$CC"; then + ac_cv_prog_CC="$CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_CC="${ac_tool_prefix}cc" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +CC=$ac_cv_prog_CC +if test -n "$CC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 +$as_echo "$CC" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + fi +fi +if test -z "$CC"; then + # Extract the first word of "cc", so it can be a program name with args. +set dummy cc; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if test "${ac_cv_prog_CC+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$CC"; then + ac_cv_prog_CC="$CC" # Let the user override the test. +else + ac_prog_rejected=no +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then + ac_prog_rejected=yes + continue + fi + ac_cv_prog_CC="cc" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +if test $ac_prog_rejected = yes; then + # We found a bogon in the path, so make sure we never use it. + set dummy $ac_cv_prog_CC + shift + if test $# != 0; then + # We chose a different compiler from the bogus one. + # However, it has the same basename, so the bogon will be chosen + # first if we set CC to just the basename; use the full file name. + shift + ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" + fi +fi +fi +fi +CC=$ac_cv_prog_CC +if test -n "$CC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 +$as_echo "$CC" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$CC"; then + if test -n "$ac_tool_prefix"; then + for ac_prog in cl.exe + do + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. +set dummy $ac_tool_prefix$ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if test "${ac_cv_prog_CC+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$CC"; then + ac_cv_prog_CC="$CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_CC="$ac_tool_prefix$ac_prog" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +CC=$ac_cv_prog_CC +if test -n "$CC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 +$as_echo "$CC" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$CC" && break + done +fi +if test -z "$CC"; then + ac_ct_CC=$CC + for ac_prog in cl.exe +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_CC"; then + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_ac_ct_CC="$ac_prog" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_CC=$ac_cv_prog_ac_ct_CC +if test -n "$ac_ct_CC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 +$as_echo "$ac_ct_CC" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$ac_ct_CC" && break +done + + if test "x$ac_ct_CC" = x; then + CC="" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + CC=$ac_ct_CC + fi +fi + +fi + + +test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error "no acceptable C compiler found in \$PATH +See \`config.log' for more details." "$LINENO" 5; } + +# Provide some information about the compiler. +$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 +set X $ac_compile +ac_compiler=$2 +for ac_option in --version -v -V -qversion; do + { { ac_try="$ac_compiler $ac_option >&5" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_compiler $ac_option >&5") 2>conftest.err + ac_status=$? + if test -s conftest.err; then + sed '10a\ +... rest of stderr output deleted ... + 10q' conftest.err >conftest.er1 + cat conftest.er1 >&5 + fi + rm -f conftest.er1 conftest.err + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } +done + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 +$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } +if test "${ac_cv_c_compiler_gnu+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ +#ifndef __GNUC__ + choke me +#endif + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_compiler_gnu=yes +else + ac_compiler_gnu=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +ac_cv_c_compiler_gnu=$ac_compiler_gnu + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 +$as_echo "$ac_cv_c_compiler_gnu" >&6; } +if test $ac_compiler_gnu = yes; then + GCC=yes +else + GCC= +fi +ac_test_CFLAGS=${CFLAGS+set} +ac_save_CFLAGS=$CFLAGS +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 +$as_echo_n "checking whether $CC accepts -g... " >&6; } +if test "${ac_cv_prog_cc_g+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + ac_save_c_werror_flag=$ac_c_werror_flag + ac_c_werror_flag=yes + ac_cv_prog_cc_g=no + CFLAGS="-g" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_prog_cc_g=yes +else + CFLAGS="" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + +else + ac_c_werror_flag=$ac_save_c_werror_flag + CFLAGS="-g" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_prog_cc_g=yes +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + ac_c_werror_flag=$ac_save_c_werror_flag +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 +$as_echo "$ac_cv_prog_cc_g" >&6; } +if test "$ac_test_CFLAGS" = set; then + CFLAGS=$ac_save_CFLAGS +elif test $ac_cv_prog_cc_g = yes; then + if test "$GCC" = yes; then + CFLAGS="-g -O2" + else + CFLAGS="-g" + fi +else + if test "$GCC" = yes; then + CFLAGS="-O2" + else + CFLAGS= + fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 +$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } +if test "${ac_cv_prog_cc_c89+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + ac_cv_prog_cc_c89=no +ac_save_CC=$CC +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +#include +#include +#include +/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ +struct buf { int x; }; +FILE * (*rcsopen) (struct buf *, struct stat *, int); +static char *e (p, i) + char **p; + int i; +{ + return p[i]; +} +static char *f (char * (*g) (char **, int), char **p, ...) +{ + char *s; + va_list v; + va_start (v,p); + s = g (p, va_arg (v,int)); + va_end (v); + return s; +} + +/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has + function prototypes and stuff, but not '\xHH' hex character constants. + These don't provoke an error unfortunately, instead are silently treated + as 'x'. The following induces an error, until -std is added to get + proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an + array size at least. It's necessary to write '\x00'==0 to get something + that's true only with -std. */ +int osf4_cc_array ['\x00' == 0 ? 1 : -1]; + +/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters + inside strings and character constants. */ +#define FOO(x) 'x' +int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; + +int test (int i, double x); +struct s1 {int (*f) (int a);}; +struct s2 {int (*f) (double a);}; +int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); +int argc; +char **argv; +int +main () +{ +return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; + ; + return 0; +} +_ACEOF +for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ + -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" +do + CC="$ac_save_CC $ac_arg" + if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_prog_cc_c89=$ac_arg +fi +rm -f core conftest.err conftest.$ac_objext + test "x$ac_cv_prog_cc_c89" != "xno" && break +done +rm -f conftest.$ac_ext +CC=$ac_save_CC + +fi +# AC_CACHE_VAL +case "x$ac_cv_prog_cc_c89" in + x) + { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 +$as_echo "none needed" >&6; } ;; + xno) + { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 +$as_echo "unsupported" >&6; } ;; + *) + CC="$CC $ac_cv_prog_cc_c89" + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 +$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; +esac +if test "x$ac_cv_prog_cc_c89" != xno; then : + +fi + +ac_ext=cpp +ac_cpp='$CXXCPP $CPPFLAGS' +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + +depcc="$CC" am_compiler_list= + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 +$as_echo_n "checking dependency style of $depcc... " >&6; } +if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then + # We make a subdir and do the tests there. Otherwise we can end up + # making bogus files that we don't know about and never remove. For + # instance it was reported that on HP-UX the gcc test will end up + # making a dummy file named `D' -- because `-MD' means `put the output + # in D'. + mkdir conftest.dir + # Copy depcomp to subdir because otherwise we won't find it if we're + # using a relative directory. + cp "$am_depcomp" conftest.dir + cd conftest.dir + # We will build objects and dependencies in a subdirectory because + # it helps to detect inapplicable dependency modes. For instance + # both Tru64's cc and ICC support -MD to output dependencies as a + # side effect of compilation, but ICC will put the dependencies in + # the current directory while Tru64 will put them in the object + # directory. + mkdir sub + + am_cv_CC_dependencies_compiler_type=none + if test "$am_compiler_list" = ""; then + am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` + fi + for depmode in $am_compiler_list; do + # Setup a source with many dependencies, because some compilers + # like to wrap large dependency lists on column 80 (with \), and + # we should not choose a depcomp mode which is confused by this. + # + # We need to recreate these files for each test, as the compiler may + # overwrite some of them when testing with obscure command lines. + # This happens at least with the AIX C compiler. + : > sub/conftest.c + for i in 1 2 3 4 5 6; do + echo '#include "conftst'$i'.h"' >> sub/conftest.c + # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with + # Solaris 8's {/usr,}/bin/sh. + touch sub/conftst$i.h + done + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf + + case $depmode in + nosideeffect) + # after this tag, mechanisms are not by side-effect, so they'll + # only be used when explicitly requested + if test "x$enable_dependency_tracking" = xyes; then + continue + else + break + fi + ;; + none) break ;; + esac + # We check with `-c' and `-o' for the sake of the "dashmstdout" + # mode. It turns out that the SunPro C++ compiler does not properly + # handle `-M -o', and we need to detect this. + if depmode=$depmode \ + source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ + $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ + >/dev/null 2>conftest.err && + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && + grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then + # icc doesn't choke on unknown options, it will just issue warnings + # (even with -Werror). So we grep stderr for any message + # that says an option was ignored. + if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else + am_cv_CC_dependencies_compiler_type=$depmode + break + fi + fi + done + + cd .. + rm -rf conftest.dir +else + am_cv_CC_dependencies_compiler_type=none +fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 +$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } +CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type + + + +if + test "x$enable_dependency_tracking" != xno \ + && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then + am__fastdepCC_TRUE= + am__fastdepCC_FALSE='#' +else + am__fastdepCC_TRUE='#' + am__fastdepCC_FALSE= +fi + + +if test "x$CC" != xcc; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5 +$as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5 +$as_echo_n "checking whether cc understands -c and -o together... " >&6; } +fi +set dummy $CC; ac_cc=`$as_echo "$2" | + sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'` +if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +# Make sure it works both with $CC and with simple cc. +# We do the test twice because some compilers refuse to overwrite an +# existing .o file with -o, though they will create one. +ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5' +rm -f conftest2.* +if { { case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_try") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } && + test -f conftest2.$ac_objext && { { case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_try") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; +then + eval ac_cv_prog_cc_${ac_cc}_c_o=yes + if test "x$CC" != xcc; then + # Test first that cc exists at all. + if { ac_try='cc -c conftest.$ac_ext >&5' + { { case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_try") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; }; then + ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5' + rm -f conftest2.* + if { { case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_try") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } && + test -f conftest2.$ac_objext && { { case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_try") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; + then + # cc works too. + : + else + # cc exists but doesn't like -o. + eval ac_cv_prog_cc_${ac_cc}_c_o=no + fi + fi + fi +else + eval ac_cv_prog_cc_${ac_cc}_c_o=no +fi +rm -f core conftest* + +fi +if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + +$as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h + +fi + +# FIXME: we rely on the cache variable name because +# there is no other way. +set dummy $CC +ac_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'` +if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" != yes"; then + # Losing compiler, so override with the script. + # FIXME: It is wrong to rewrite CC. + # But if we don't then we get into trouble of one sort or another. + # A longer-term fix would be to have automake use am__CC in this case, + # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" + CC="$am_aux_dir/compile $CC" +fi + + + +if test "x$GCC" = "xyes"; then + case " $CFLAGS " in + *[\ \ ]-Wall[\ \ ]*) ;; + *) CFLAGS="$CFLAGS -Wall" ;; + esac +fi + +# Checks for header files. + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 +$as_echo_n "checking for ANSI C header files... " >&6; } +if test "${ac_cv_header_stdc+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +#include +#include +#include + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_cxx_try_compile "$LINENO"; then : + ac_cv_header_stdc=yes +else + ac_cv_header_stdc=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + +if test $ac_cv_header_stdc = yes; then + # SunOS 4.x string.h does not declare mem*, contrary to ANSI. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "memchr" >/dev/null 2>&1; then : + +else + ac_cv_header_stdc=no +fi +rm -f conftest* + +fi + +if test $ac_cv_header_stdc = yes; then + # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "free" >/dev/null 2>&1; then : + +else + ac_cv_header_stdc=no +fi +rm -f conftest* + +fi + +if test $ac_cv_header_stdc = yes; then + # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. + if test "$cross_compiling" = yes; then : + : +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +#include +#if ((' ' & 0x0FF) == 0x020) +# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') +# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) +#else +# define ISLOWER(c) \ + (('a' <= (c) && (c) <= 'i') \ + || ('j' <= (c) && (c) <= 'r') \ + || ('s' <= (c) && (c) <= 'z')) +# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) +#endif + +#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) +int +main () +{ + int i; + for (i = 0; i < 256; i++) + if (XOR (islower (i), ISLOWER (i)) + || toupper (i) != TOUPPER (i)) + return 2; + return 0; +} +_ACEOF +if ac_fn_cxx_try_run "$LINENO"; then : + +else + ac_cv_header_stdc=no +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + +fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 +$as_echo "$ac_cv_header_stdc" >&6; } +if test $ac_cv_header_stdc = yes; then + +$as_echo "#define STDC_HEADERS 1" >>confdefs.h + +fi + + +# Checks for library functions. +for ac_func in vprintf +do : + ac_fn_cxx_check_func "$LINENO" "vprintf" "ac_cv_func_vprintf" +if test "x$ac_cv_func_vprintf" = x""yes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_VPRINTF 1 +_ACEOF + +ac_fn_cxx_check_func "$LINENO" "_doprnt" "ac_cv_func__doprnt" +if test "x$ac_cv_func__doprnt" = x""yes; then : + +$as_echo "#define HAVE_DOPRNT 1" >>confdefs.h + +fi + +fi +done + + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5 +$as_echo_n "checking for an ANSI C-conforming const... " >&6; } +if test "${ac_cv_c_const+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ +/* FIXME: Include the comments suggested by Paul. */ +#ifndef __cplusplus + /* Ultrix mips cc rejects this. */ + typedef int charset[2]; + const charset cs; + /* SunOS 4.1.1 cc rejects this. */ + char const *const *pcpcc; + char **ppc; + /* NEC SVR4.0.2 mips cc rejects this. */ + struct point {int x, y;}; + static struct point const zero = {0,0}; + /* AIX XL C 1.02.0.0 rejects this. + It does not let you subtract one const X* pointer from another in + an arm of an if-expression whose if-part is not a constant + expression */ + const char *g = "string"; + pcpcc = &g + (g ? g-g : 0); + /* HPUX 7.0 cc rejects these. */ + ++pcpcc; + ppc = (char**) pcpcc; + pcpcc = (char const *const *) ppc; + { /* SCO 3.2v4 cc rejects this. */ + char *t; + char const *s = 0 ? (char *) 0 : (char const *) 0; + + *t++ = 0; + if (s) return 0; + } + { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ + int x[] = {25, 17}; + const int *foo = &x[0]; + ++foo; + } + { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ + typedef const int *iptr; + iptr p = 0; + ++p; + } + { /* AIX XL C 1.02.0.0 rejects this saying + "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ + struct s { int j; const int *ap[3]; }; + struct s *b; b->j = 5; + } + { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ + const int foo = 10; + if (!foo) return 0; + } + return !cs[0] && !zero.x; +#endif + + ; + return 0; +} +_ACEOF +if ac_fn_cxx_try_compile "$LINENO"; then : + ac_cv_c_const=yes +else + ac_cv_c_const=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5 +$as_echo "$ac_cv_c_const" >&6; } +if test $ac_cv_c_const = no; then + +$as_echo "#define const /**/" >>confdefs.h + +fi + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 +$as_echo_n "checking whether byte ordering is bigendian... " >&6; } +if test "${ac_cv_c_bigendian+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + ac_cv_c_bigendian=unknown + # See if we're dealing with a universal compiler. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#ifndef __APPLE_CC__ + not a universal capable compiler + #endif + typedef int dummy; + +_ACEOF +if ac_fn_cxx_try_compile "$LINENO"; then : + + # Check for potential -arch flags. It is not universal unless + # there are at least two -arch flags with different values. + ac_arch= + ac_prev= + for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do + if test -n "$ac_prev"; then + case $ac_word in + i?86 | x86_64 | ppc | ppc64) + if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then + ac_arch=$ac_word + else + ac_cv_c_bigendian=universal + break + fi + ;; + esac + ac_prev= + elif test "x$ac_word" = "x-arch"; then + ac_prev=arch + fi + done +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + if test $ac_cv_c_bigendian = unknown; then + # See if sys/param.h defines the BYTE_ORDER macro. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + #include + +int +main () +{ +#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \ + && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \ + && LITTLE_ENDIAN) + bogus endian macros + #endif + + ; + return 0; +} +_ACEOF +if ac_fn_cxx_try_compile "$LINENO"; then : + # It does; now see whether it defined to BIG_ENDIAN or not. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + #include + +int +main () +{ +#if BYTE_ORDER != BIG_ENDIAN + not big endian + #endif + + ; + return 0; +} +_ACEOF +if ac_fn_cxx_try_compile "$LINENO"; then : + ac_cv_c_bigendian=yes +else + ac_cv_c_bigendian=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + fi + if test $ac_cv_c_bigendian = unknown; then + # See if defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + +int +main () +{ +#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN) + bogus endian macros + #endif + + ; + return 0; +} +_ACEOF +if ac_fn_cxx_try_compile "$LINENO"; then : + # It does; now see whether it defined to _BIG_ENDIAN or not. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + +int +main () +{ +#ifndef _BIG_ENDIAN + not big endian + #endif + + ; + return 0; +} +_ACEOF +if ac_fn_cxx_try_compile "$LINENO"; then : + ac_cv_c_bigendian=yes +else + ac_cv_c_bigendian=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + fi + if test $ac_cv_c_bigendian = unknown; then + # Compile a test program. + if test "$cross_compiling" = yes; then : + # Try to guess by grepping values from an object file. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +short int ascii_mm[] = + { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; + short int ascii_ii[] = + { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; + int use_ascii (int i) { + return ascii_mm[i] + ascii_ii[i]; + } + short int ebcdic_ii[] = + { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; + short int ebcdic_mm[] = + { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; + int use_ebcdic (int i) { + return ebcdic_mm[i] + ebcdic_ii[i]; + } + extern int foo; + +int +main () +{ +return use_ascii (foo) == use_ebcdic (foo); + ; + return 0; +} +_ACEOF +if ac_fn_cxx_try_compile "$LINENO"; then : + if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then + ac_cv_c_bigendian=yes + fi + if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then + if test "$ac_cv_c_bigendian" = unknown; then + ac_cv_c_bigendian=no + else + # finding both strings is unlikely to happen, but who knows? + ac_cv_c_bigendian=unknown + fi + fi +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$ac_includes_default +int +main () +{ + + /* Are we little or big endian? From Harbison&Steele. */ + union + { + long int l; + char c[sizeof (long int)]; + } u; + u.l = 1; + return u.c[sizeof (long int) - 1] == 1; + + ; + return 0; +} +_ACEOF +if ac_fn_cxx_try_run "$LINENO"; then : + ac_cv_c_bigendian=no +else + ac_cv_c_bigendian=yes +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + + fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5 +$as_echo "$ac_cv_c_bigendian" >&6; } + case $ac_cv_c_bigendian in #( + yes) + $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h +;; #( + no) + ;; #( + universal) + +$as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h + + ;; #( + *) + as_fn_error "unknown endianness + presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; + esac + + +if test "$ac_cv_c_bigendian" = "yes"; then + BIGENDIAN="1" +else + BIGENDIAN="0" +fi + + +for ac_header in limits.h +do : + ac_fn_cxx_check_header_mongrel "$LINENO" "limits.h" "ac_cv_header_limits_h" "$ac_includes_default" +if test "x$ac_cv_header_limits_h" = x""yes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_LIMITS_H 1 +_ACEOF + cat >>confdefs.h <<_ACEOF +#define HAVE_LIMITS_H 1 +_ACEOF + +fi + +done + +for ac_header in unistd.h +do : + ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default" +if test "x$ac_cv_header_unistd_h" = x""yes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_UNISTD_H 1 +_ACEOF + cat >>confdefs.h <<_ACEOF +#define HAVE_UNISTD_H 1 +_ACEOF + +fi + +done + +for ac_header in values.h +do : + ac_fn_cxx_check_header_mongrel "$LINENO" "values.h" "ac_cv_header_values_h" "$ac_includes_default" +if test "x$ac_cv_header_values_h" = x""yes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_VALUES_H 1 +_ACEOF + cat >>confdefs.h <<_ACEOF +#define HAVE_VALUES_H 1 +_ACEOF + +fi + +done + + +# Check for some functions +for ac_func in memmove +do : + ac_fn_cxx_check_func "$LINENO" "memmove" "ac_cv_func_memmove" +if test "x$ac_cv_func_memmove" = x""yes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_MEMMOVE 1 +_ACEOF + +fi +done + + +if test "$os_support" = "bsd"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if dev/usb/usb.h uses new naming convention" >&5 +$as_echo_n "checking if dev/usb/usb.h uses new naming convention... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +int +main () +{ + + int a = ((struct usb_ctl_request *)0L)->ucr_addr + + ; + return 0; +} +_ACEOF +if ac_fn_cxx_try_compile "$LINENO"; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + cat >>confdefs.h <<_ACEOF +#define HAVE_OLD_DEV_USB_USB_H 1 +_ACEOF + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi + +#pkg-config: pkg-config is a tool to simplify checks for libraries and versions. +pkgconfig_msg="no (http://www.freedesktop.org/software/pkgconfig)" +try_pkgconfig=true +have_pkgconfig=false + +# Check whether --with-pkgconfig was given. +if test "${with_pkgconfig+set}" = set; then : + withval=$with_pkgconfig; + if test x$withval = xno; then + try_pkgconfig=false + pkgconfig_msg="no (not requested)" + fi +fi + +if $try_pkgconfig; then + # Extract the first word of "pkg-config", so it can be a program name with args. +set dummy pkg-config; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + case $PKG_CONFIG in + [\\/]* | ?:[\\/]*) + ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + ;; +esac +fi +PKG_CONFIG=$ac_cv_path_PKG_CONFIG +if test -n "$PKG_CONFIG"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 +$as_echo "$PKG_CONFIG" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + if test -n "${PKG_CONFIG}"; then + have_pkgconfig=true + pkgconfig_msg="yes" + fi +fi +# guessing directory to install *.pc into +pkgconfigdir="${libdir}/pkgconfig" + + +# Check if the user wants to enable documentation +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if we should build the documentation" >&5 +$as_echo_n "checking if we should build the documentation... " >&6; } +# Check whether --enable-build-docs was given. +if test "${enable_build_docs+set}" = set; then : + enableval=$enable_build_docs; test "$enableval" != no && build_docs=yes || build_docs=no +else + build_docs=auto +fi + +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_docs" >&5 +$as_echo "$build_docs" >&6; } + +if test "$build_docs" != "no"; then + # Extract the first word of "jade", so it can be a program name with args. +set dummy jade; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if test "${ac_cv_prog_JADE+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$JADE"; then + ac_cv_prog_JADE="$JADE" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_JADE="jade" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +JADE=$ac_cv_prog_JADE +if test -n "$JADE"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JADE" >&5 +$as_echo "$JADE" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + if test -z "$JADE"; then + # Extract the first word of "openjade", so it can be a program name with args. +set dummy openjade; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if test "${ac_cv_prog_JADE+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$JADE"; then + ac_cv_prog_JADE="$JADE" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_JADE="openjade" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +JADE=$ac_cv_prog_JADE +if test -n "$JADE"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JADE" >&5 +$as_echo "$JADE" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + fi +fi + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for Doxygen tools" >&5 +$as_echo_n "checking for Doxygen tools... " >&6; } + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dot" >&5 +$as_echo_n "checking for dot... " >&6; } + if test -n "$DOT"; then + libusb_cv_path="$DOT"; + else + libusb_cache=`echo dot | sed 'y%./+-%__p_%'` + + if { as_var=libusb_cv_path_$libusb_cache; eval "test \"\${$as_var+set}\" = set"; }; then : + $as_echo_n "(cached) " >&6 +else + + libusb_cv_path="NONE" + dirs="" + libusb_save_IFS=$IFS + IFS=':' + for dir in $PATH; do + dirs="$dirs $dir" + done + IFS=$libusb_save_IFS + + for dir in $dirs; do + if test -x "$dir/dot"; then + if test -n "" + then + evalstr="$dir/dot 2>&1 " + if eval $evalstr; then + libusb_cv_path="$dir/dot" + break + fi + else + libusb_cv_path="$dir/dot" + break + fi + fi + done + + eval "libusb_cv_path_$libusb_cache=$libusb_cv_path" + + +fi + + + eval "libusb_cv_path=\"`echo '$libusb_cv_path_'$libusb_cache`\"" + + fi + + if test -z "$libusb_cv_path" || test "$libusb_cv_path" = NONE; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5 +$as_echo "not found" >&6; } + + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libusb_cv_path" >&5 +$as_echo "$libusb_cv_path" >&6; } + DOT=$libusb_cv_path + + fi + +if test -n "$DOT"; then + LIBUSB_HAVE_DOT="YES" +else + LIBUSB_HAVE_DOT="NO" +fi + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for doxygen" >&5 +$as_echo_n "checking for doxygen... " >&6; } + if test -n "$DOXYGEN"; then + libusb_cv_path="$DOXYGEN"; + else + libusb_cache=`echo doxygen | sed 'y%./+-%__p_%'` + + if { as_var=libusb_cv_path_$libusb_cache; eval "test \"\${$as_var+set}\" = set"; }; then : + $as_echo_n "(cached) " >&6 +else + + libusb_cv_path="NONE" + dirs="" + libusb_save_IFS=$IFS + IFS=':' + for dir in $PATH; do + dirs="$dirs $dir" + done + IFS=$libusb_save_IFS + + for dir in $dirs; do + if test -x "$dir/doxygen"; then + if test -n "" + then + evalstr="$dir/doxygen 2>&1 " + if eval $evalstr; then + libusb_cv_path="$dir/doxygen" + break + fi + else + libusb_cv_path="$dir/doxygen" + break + fi + fi + done + + eval "libusb_cv_path_$libusb_cache=$libusb_cv_path" + + +fi + + + eval "libusb_cv_path=\"`echo '$libusb_cv_path_'$libusb_cache`\"" + + fi + + if test -z "$libusb_cv_path" || test "$libusb_cv_path" = NONE; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5 +$as_echo "not found" >&6; } + + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libusb_cv_path" >&5 +$as_echo "$libusb_cv_path" >&6; } + DOXYGEN=$libusb_cv_path + + fi + + + +DOXYGEN_PROJECT_NAME="LIBUSB C++ API Reference" +DOXYGEN_PROJECT_NUMBER="Version $VERSION" + + + +LIBUSB_HAS_DOXYGEN=no +if test -n "$DOXYGEN" && test -x "$DOXYGEN"; then + LIBUSB_HAS_DOXYGEN=yes +fi + + + + + +if test "$build_docs" != "no" -a -z "$JADE"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Documentation build components not installed. sgml docs will not be built" >&5 +$as_echo "$as_me: WARNING: Documentation build components not installed. sgml docs will not be built" >&2;} + build_docs="no" +fi + + + +if test "$build_docs" != "no"; then + BUILD_DOCS_TRUE= + BUILD_DOCS_FALSE='#' +else + BUILD_DOCS_TRUE='#' + BUILD_DOCS_FALSE= +fi + + +ac_config_files="$ac_config_files Makefile doc/Makefile libusb.spec libusb-config libusb.pc tests/Makefile README INSTALL.libusb usb.h Doxyfile" + +ac_config_commands="$ac_config_commands default" + +cat >confcache <<\_ACEOF +# This file is a shell script that caches the results of configure +# tests run on this system so they can be shared between configure +# scripts and configure runs, see configure's option --config-cache. +# It is not useful on other systems. If it contains results you don't +# want to keep, you may remove or edit it. +# +# config.status only pays attention to the cache file if you give it +# the --recheck option to rerun configure. +# +# `ac_cv_env_foo' variables (set or unset) will be overridden when +# loading this file, other *unset* `ac_cv_foo' will be assigned the +# following values. + +_ACEOF + +# The following way of writing the cache mishandles newlines in values, +# but we know of no workaround that is simple, portable, and efficient. +# So, we kill variables containing newlines. +# Ultrix sh set writes to stderr and can't be redirected directly, +# and sets the high bit in the cache file unless we assign to the vars. +( + for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do + eval ac_val=\$$ac_var + case $ac_val in #( + *${as_nl}*) + case $ac_var in #( + *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 +$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; + esac + case $ac_var in #( + _ | IFS | as_nl) ;; #( + BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( + *) { eval $ac_var=; unset $ac_var;} ;; + esac ;; + esac + done + + (set) 2>&1 | + case $as_nl`(ac_space=' '; set) 2>&1` in #( + *${as_nl}ac_space=\ *) + # `set' does not quote correctly, so add quotes: double-quote + # substitution turns \\\\ into \\, and sed turns \\ into \. + sed -n \ + "s/'/'\\\\''/g; + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" + ;; #( + *) + # `set' quotes correctly as required by POSIX, so do not add quotes. + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" + ;; + esac | + sort +) | + sed ' + /^ac_cv_env_/b end + t clear + :clear + s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ + t end + s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ + :end' >>confcache +if diff "$cache_file" confcache >/dev/null 2>&1; then :; else + if test -w "$cache_file"; then + test "x$cache_file" != "x/dev/null" && + { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 +$as_echo "$as_me: updating cache $cache_file" >&6;} + cat confcache >$cache_file + else + { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 +$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} + fi +fi +rm -f confcache + +test "x$prefix" = xNONE && prefix=$ac_default_prefix +# Let make expand exec_prefix. +test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' + +DEFS=-DHAVE_CONFIG_H + +ac_libobjs= +ac_ltlibobjs= +for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue + # 1. Remove the extension, and $U if already installed. + ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' + ac_i=`$as_echo "$ac_i" | sed "$ac_script"` + # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR + # will be set to the directory where LIBOBJS objects are built. + as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" + as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' +done +LIBOBJS=$ac_libobjs + +LTLIBOBJS=$ac_ltlibobjs + + +if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then + as_fn_error "conditional \"AMDEP\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then + as_fn_error "conditional \"am__fastdepCC\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then + as_fn_error "conditional \"am__fastdepCXX\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${LINUX_API_TRUE}" && test -z "${LINUX_API_FALSE}"; then + as_fn_error "conditional \"LINUX_API\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${BSD_API_TRUE}" && test -z "${BSD_API_FALSE}"; then + as_fn_error "conditional \"BSD_API\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${DARWIN_API_TRUE}" && test -z "${DARWIN_API_FALSE}"; then + as_fn_error "conditional \"DARWIN_API\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then + as_fn_error "conditional \"am__fastdepCC\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi + +if test -z "${BUILD_DOCS_TRUE}" && test -z "${BUILD_DOCS_FALSE}"; then + as_fn_error "conditional \"BUILD_DOCS\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi + +: ${CONFIG_STATUS=./config.status} +ac_write_fail=0 +ac_clean_files_save=$ac_clean_files +ac_clean_files="$ac_clean_files $CONFIG_STATUS" +{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 +$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} +as_write_fail=0 +cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 +#! $SHELL +# Generated by $as_me. +# Run this file to recreate the current configuration. +# Compiler output produced by configure, useful for debugging +# configure, is in config.log if it exists. + +debug=false +ac_cs_recheck=false +ac_cs_silent=false + +SHELL=\${CONFIG_SHELL-$SHELL} +export SHELL +_ASEOF +cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 +## -------------------- ## +## M4sh Initialization. ## +## -------------------- ## + +# Be more Bourne compatible +DUALCASE=1; export DUALCASE # for MKS sh +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : + emulate sh + NULLCMD=: + # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which + # is contrary to our usage. Disable this feature. + alias -g '${1+"$@"}'='"$@"' + setopt NO_GLOB_SUBST +else + case `(set -o) 2>/dev/null` in #( + *posix*) : + set -o posix ;; #( + *) : + ;; +esac +fi + + +as_nl=' +' +export as_nl +# Printing a long string crashes Solaris 7 /usr/bin/printf. +as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo +# Prefer a ksh shell builtin over an external printf program on Solaris, +# but without wasting forks for bash or zsh. +if test -z "$BASH_VERSION$ZSH_VERSION" \ + && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then + as_echo='print -r --' + as_echo_n='print -rn --' +elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then + as_echo='printf %s\n' + as_echo_n='printf %s' +else + if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then + as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' + as_echo_n='/usr/ucb/echo -n' + else + as_echo_body='eval expr "X$1" : "X\\(.*\\)"' + as_echo_n_body='eval + arg=$1; + case $arg in #( + *"$as_nl"*) + expr "X$arg" : "X\\(.*\\)$as_nl"; + arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; + esac; + expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" + ' + export as_echo_n_body + as_echo_n='sh -c $as_echo_n_body as_echo' + fi + export as_echo_body + as_echo='sh -c $as_echo_body as_echo' +fi + +# The user is always right. +if test "${PATH_SEPARATOR+set}" != set; then + PATH_SEPARATOR=: + (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { + (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || + PATH_SEPARATOR=';' + } +fi + + +# IFS +# We need space, tab and new line, in precisely that order. Quoting is +# there to prevent editors from complaining about space-tab. +# (If _AS_PATH_WALK were called with IFS unset, it would disable word +# splitting by setting IFS to empty value.) +IFS=" "" $as_nl" + +# Find who we are. Look in the path if we contain no directory separator. +case $0 in #(( + *[\\/]* ) as_myself=$0 ;; + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break + done +IFS=$as_save_IFS + + ;; +esac +# We did not find ourselves, most probably we were run as `sh COMMAND' +# in which case we are not to be found in the path. +if test "x$as_myself" = x; then + as_myself=$0 +fi +if test ! -f "$as_myself"; then + $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 + exit 1 +fi + +# Unset variables that we do not need and which cause bugs (e.g. in +# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" +# suppresses any "Segmentation fault" message there. '((' could +# trigger a bug in pdksh 5.2.14. +for as_var in BASH_ENV ENV MAIL MAILPATH +do eval test x\${$as_var+set} = xset \ + && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : +done +PS1='$ ' +PS2='> ' +PS4='+ ' + +# NLS nuisances. +LC_ALL=C +export LC_ALL +LANGUAGE=C +export LANGUAGE + +# CDPATH. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH + + +# as_fn_error ERROR [LINENO LOG_FD] +# --------------------------------- +# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are +# provided, also output the error to LOG_FD, referencing LINENO. Then exit the +# script with status $?, using 1 if that was 0. +as_fn_error () +{ + as_status=$?; test $as_status -eq 0 && as_status=1 + if test "$3"; then + as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 + fi + $as_echo "$as_me: error: $1" >&2 + as_fn_exit $as_status +} # as_fn_error + + +# as_fn_set_status STATUS +# ----------------------- +# Set $? to STATUS, without forking. +as_fn_set_status () +{ + return $1 +} # as_fn_set_status + +# as_fn_exit STATUS +# ----------------- +# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. +as_fn_exit () +{ + set +e + as_fn_set_status $1 + exit $1 +} # as_fn_exit + +# as_fn_unset VAR +# --------------- +# Portably unset VAR. +as_fn_unset () +{ + { eval $1=; unset $1;} +} +as_unset=as_fn_unset +# as_fn_append VAR VALUE +# ---------------------- +# Append the text in VALUE to the end of the definition contained in VAR. Take +# advantage of any shell optimizations that allow amortized linear growth over +# repeated appends, instead of the typical quadratic growth present in naive +# implementations. +if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : + eval 'as_fn_append () + { + eval $1+=\$2 + }' +else + as_fn_append () + { + eval $1=\$$1\$2 + } +fi # as_fn_append + +# as_fn_arith ARG... +# ------------------ +# Perform arithmetic evaluation on the ARGs, and store the result in the +# global $as_val. Take advantage of shells that can avoid forks. The arguments +# must be portable across $(()) and expr. +if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : + eval 'as_fn_arith () + { + as_val=$(( $* )) + }' +else + as_fn_arith () + { + as_val=`expr "$@" || test $? -eq 1` + } +fi # as_fn_arith + + +if expr a : '\(a\)' >/dev/null 2>&1 && + test "X`expr 00001 : '.*\(...\)'`" = X001; then + as_expr=expr +else + as_expr=false +fi + +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then + as_basename=basename +else + as_basename=false +fi + +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then + as_dirname=dirname +else + as_dirname=false +fi + +as_me=`$as_basename -- "$0" || +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ + X"$0" : 'X\(//\)$' \| \ + X"$0" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X/"$0" | + sed '/^.*\/\([^/][^/]*\)\/*$/{ + s//\1/ + q + } + /^X\/\(\/\/\)$/{ + s//\1/ + q + } + /^X\/\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + +# Avoid depending upon Character Ranges. +as_cr_letters='abcdefghijklmnopqrstuvwxyz' +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' +as_cr_Letters=$as_cr_letters$as_cr_LETTERS +as_cr_digits='0123456789' +as_cr_alnum=$as_cr_Letters$as_cr_digits + +ECHO_C= ECHO_N= ECHO_T= +case `echo -n x` in #((((( +-n*) + case `echo 'xy\c'` in + *c*) ECHO_T=' ';; # ECHO_T is single tab character. + xy) ECHO_C='\c';; + *) echo `echo ksh88 bug on AIX 6.1` > /dev/null + ECHO_T=' ';; + esac;; +*) + ECHO_N='-n';; +esac + +rm -f conf$$ conf$$.exe conf$$.file +if test -d conf$$.dir; then + rm -f conf$$.dir/conf$$.file +else + rm -f conf$$.dir + mkdir conf$$.dir 2>/dev/null +fi +if (echo >conf$$.file) 2>/dev/null; then + if ln -s conf$$.file conf$$ 2>/dev/null; then + as_ln_s='ln -s' + # ... but there are two gotchas: + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. + # In both cases, we have to default to `cp -p'. + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || + as_ln_s='cp -p' + elif ln conf$$.file conf$$ 2>/dev/null; then + as_ln_s=ln + else + as_ln_s='cp -p' + fi +else + as_ln_s='cp -p' +fi +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file +rmdir conf$$.dir 2>/dev/null + + +# as_fn_mkdir_p +# ------------- +# Create "$as_dir" as a directory, including parents if necessary. +as_fn_mkdir_p () +{ + + case $as_dir in #( + -*) as_dir=./$as_dir;; + esac + test -d "$as_dir" || eval $as_mkdir_p || { + as_dirs= + while :; do + case $as_dir in #( + *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( + *) as_qdir=$as_dir;; + esac + as_dirs="'$as_qdir' $as_dirs" + as_dir=`$as_dirname -- "$as_dir" || +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$as_dir" : 'X\(//\)[^/]' \| \ + X"$as_dir" : 'X\(//\)$' \| \ + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X"$as_dir" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + test -d "$as_dir" && break + done + test -z "$as_dirs" || eval "mkdir $as_dirs" + } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" + + +} # as_fn_mkdir_p +if mkdir -p . 2>/dev/null; then + as_mkdir_p='mkdir -p "$as_dir"' +else + test -d ./-p && rmdir ./-p + as_mkdir_p=false +fi + +if test -x / >/dev/null 2>&1; then + as_test_x='test -x' +else + if ls -dL / >/dev/null 2>&1; then + as_ls_L_option=L + else + as_ls_L_option= + fi + as_test_x=' + eval sh -c '\'' + if test -d "$1"; then + test -d "$1/."; + else + case $1 in #( + -*)set "./$1";; + esac; + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( + ???[sx]*):;;*)false;;esac;fi + '\'' sh + ' +fi +as_executable_p=$as_test_x + +# Sed expression to map a string onto a valid CPP name. +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" + +# Sed expression to map a string onto a valid variable name. +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" + + +exec 6>&1 +## ----------------------------------- ## +## Main body of $CONFIG_STATUS script. ## +## ----------------------------------- ## +_ASEOF +test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 + +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +# Save the log message, to keep $0 and so on meaningful, and to +# report actual input values of CONFIG_FILES etc. instead of their +# values after options handling. +ac_log=" +This file was extended by libusb $as_me 0.1.12, which was +generated by GNU Autoconf 2.65. Invocation command line was + + CONFIG_FILES = $CONFIG_FILES + CONFIG_HEADERS = $CONFIG_HEADERS + CONFIG_LINKS = $CONFIG_LINKS + CONFIG_COMMANDS = $CONFIG_COMMANDS + $ $0 $@ + +on `(hostname || uname -n) 2>/dev/null | sed 1q` +" + +_ACEOF + +case $ac_config_files in *" +"*) set x $ac_config_files; shift; ac_config_files=$*;; +esac + +case $ac_config_headers in *" +"*) set x $ac_config_headers; shift; ac_config_headers=$*;; +esac + + +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +# Files that config.status was made for. +config_files="$ac_config_files" +config_headers="$ac_config_headers" +config_commands="$ac_config_commands" + +_ACEOF + +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +ac_cs_usage="\ +\`$as_me' instantiates files and other configuration actions +from templates according to the current configuration. Unless the files +and actions are specified as TAGs, all are instantiated by default. + +Usage: $0 [OPTION]... [TAG]... + + -h, --help print this help, then exit + -V, --version print version number and configuration settings, then exit + --config print configuration, then exit + -q, --quiet, --silent + do not print progress messages + -d, --debug don't remove temporary files + --recheck update $as_me by reconfiguring in the same conditions + --file=FILE[:TEMPLATE] + instantiate the configuration file FILE + --header=FILE[:TEMPLATE] + instantiate the configuration header FILE + +Configuration files: +$config_files + +Configuration headers: +$config_headers + +Configuration commands: +$config_commands + +Report bugs to the package provider." + +_ACEOF +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" +ac_cs_version="\\ +libusb config.status 0.1.12 +configured by $0, generated by GNU Autoconf 2.65, + with options \\"\$ac_cs_config\\" + +Copyright (C) 2009 Free Software Foundation, Inc. +This config.status script is free software; the Free Software Foundation +gives unlimited permission to copy, distribute and modify it." + +ac_pwd='$ac_pwd' +srcdir='$srcdir' +INSTALL='$INSTALL' +AWK='$AWK' +test -n "\$AWK" || AWK=awk +_ACEOF + +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +# The default lists apply if the user does not specify any file. +ac_need_defaults=: +while test $# != 0 +do + case $1 in + --*=*) + ac_option=`expr "X$1" : 'X\([^=]*\)='` + ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` + ac_shift=: + ;; + *) + ac_option=$1 + ac_optarg=$2 + ac_shift=shift + ;; + esac + + case $ac_option in + # Handling of the options. + -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) + ac_cs_recheck=: ;; + --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) + $as_echo "$ac_cs_version"; exit ;; + --config | --confi | --conf | --con | --co | --c ) + $as_echo "$ac_cs_config"; exit ;; + --debug | --debu | --deb | --de | --d | -d ) + debug=: ;; + --file | --fil | --fi | --f ) + $ac_shift + case $ac_optarg in + *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; + esac + as_fn_append CONFIG_FILES " '$ac_optarg'" + ac_need_defaults=false;; + --header | --heade | --head | --hea ) + $ac_shift + case $ac_optarg in + *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; + esac + as_fn_append CONFIG_HEADERS " '$ac_optarg'" + ac_need_defaults=false;; + --he | --h) + # Conflict between --help and --header + as_fn_error "ambiguous option: \`$1' +Try \`$0 --help' for more information.";; + --help | --hel | -h ) + $as_echo "$ac_cs_usage"; exit ;; + -q | -quiet | --quiet | --quie | --qui | --qu | --q \ + | -silent | --silent | --silen | --sile | --sil | --si | --s) + ac_cs_silent=: ;; + + # This is an error. + -*) as_fn_error "unrecognized option: \`$1' +Try \`$0 --help' for more information." ;; + + *) as_fn_append ac_config_targets " $1" + ac_need_defaults=false ;; + + esac + shift +done + +ac_configure_extra_args= + +if $ac_cs_silent; then + exec 6>/dev/null + ac_configure_extra_args="$ac_configure_extra_args --silent" +fi + +_ACEOF +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +if \$ac_cs_recheck; then + set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion + shift + \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 + CONFIG_SHELL='$SHELL' + export CONFIG_SHELL + exec "\$@" +fi + +_ACEOF +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +exec 5>>config.log +{ + echo + sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX +## Running $as_me. ## +_ASBOX + $as_echo "$ac_log" +} >&5 + +_ACEOF +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +# +# INIT-COMMANDS +# +AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" + + +_ACEOF + +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 + +# Handling of arguments. +for ac_config_target in $ac_config_targets +do + case $ac_config_target in + "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; + "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; + "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; + "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; + "libusb.spec") CONFIG_FILES="$CONFIG_FILES libusb.spec" ;; + "libusb-config") CONFIG_FILES="$CONFIG_FILES libusb-config" ;; + "libusb.pc") CONFIG_FILES="$CONFIG_FILES libusb.pc" ;; + "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;; + "README") CONFIG_FILES="$CONFIG_FILES README" ;; + "INSTALL.libusb") CONFIG_FILES="$CONFIG_FILES INSTALL.libusb" ;; + "usb.h") CONFIG_FILES="$CONFIG_FILES usb.h" ;; + "Doxyfile") CONFIG_FILES="$CONFIG_FILES Doxyfile" ;; + "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;; + + *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;; + esac +done + + +# If the user did not use the arguments to specify the items to instantiate, +# then the envvar interface is used. Set only those that are not. +# We use the long form for the default assignment because of an extremely +# bizarre bug on SunOS 4.1.3. +if $ac_need_defaults; then + test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files + test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers + test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands +fi + +# Have a temporary directory for convenience. Make it in the build tree +# simply because there is no reason against having it here, and in addition, +# creating and moving files from /tmp can sometimes cause problems. +# Hook for its removal unless debugging. +# Note that there is a small window in which the directory will not be cleaned: +# after its creation but before its name has been assigned to `$tmp'. +$debug || +{ + tmp= + trap 'exit_status=$? + { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status +' 0 + trap 'as_fn_exit 1' 1 2 13 15 +} +# Create a (secure) tmp directory for tmp files. + +{ + tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && + test -n "$tmp" && test -d "$tmp" +} || +{ + tmp=./conf$$-$RANDOM + (umask 077 && mkdir "$tmp") +} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5 + +# Set up the scripts for CONFIG_FILES section. +# No need to generate them if there are no CONFIG_FILES. +# This happens for instance with `./config.status config.h'. +if test -n "$CONFIG_FILES"; then + + +ac_cr=`echo X | tr X '\015'` +# On cygwin, bash can eat \r inside `` if the user requested igncr. +# But we know of no other shell where ac_cr would be empty at this +# point, so we can use a bashism as a fallback. +if test "x$ac_cr" = x; then + eval ac_cr=\$\'\\r\' +fi +ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' /dev/null` +if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then + ac_cs_awk_cr='\r' +else + ac_cs_awk_cr=$ac_cr +fi + +echo 'BEGIN {' >"$tmp/subs1.awk" && +_ACEOF + + +{ + echo "cat >conf$$subs.awk <<_ACEOF" && + echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && + echo "_ACEOF" +} >conf$$subs.sh || + as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 +ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` +ac_delim='%!_!# ' +for ac_last_try in false false false false false :; do + . ./conf$$subs.sh || + as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 + + ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` + if test $ac_delim_n = $ac_delim_num; then + break + elif $ac_last_try; then + as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 + else + ac_delim="$ac_delim!$ac_delim _$ac_delim!! " + fi +done +rm -f conf$$subs.sh + +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +cat >>"\$tmp/subs1.awk" <<\\_ACAWK && +_ACEOF +sed -n ' +h +s/^/S["/; s/!.*/"]=/ +p +g +s/^[^!]*!// +:repl +t repl +s/'"$ac_delim"'$// +t delim +:nl +h +s/\(.\{148\}\)..*/\1/ +t more1 +s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ +p +n +b repl +:more1 +s/["\\]/\\&/g; s/^/"/; s/$/"\\/ +p +g +s/.\{148\}// +t nl +:delim +h +s/\(.\{148\}\)..*/\1/ +t more2 +s/["\\]/\\&/g; s/^/"/; s/$/"/ +p +b +:more2 +s/["\\]/\\&/g; s/^/"/; s/$/"\\/ +p +g +s/.\{148\}// +t delim +' >$CONFIG_STATUS || ac_write_fail=1 +rm -f conf$$subs.awk +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +_ACAWK +cat >>"\$tmp/subs1.awk" <<_ACAWK && + for (key in S) S_is_set[key] = 1 + FS = "" + +} +{ + line = $ 0 + nfields = split(line, field, "@") + substed = 0 + len = length(field[1]) + for (i = 2; i < nfields; i++) { + key = field[i] + keylen = length(key) + if (S_is_set[key]) { + value = S[key] + line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) + len += length(value) + length(field[++i]) + substed = 1 + } else + len += 1 + keylen + } + + print line +} + +_ACAWK +_ACEOF +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then + sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" +else + cat +fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ + || as_fn_error "could not setup config files machinery" "$LINENO" 5 +_ACEOF + +# VPATH may cause trouble with some makes, so we remove $(srcdir), +# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and +# trailing colons and then remove the whole line if VPATH becomes empty +# (actually we leave an empty line to preserve line numbers). +if test "x$srcdir" = x.; then + ac_vpsub='/^[ ]*VPATH[ ]*=/{ +s/:*\$(srcdir):*/:/ +s/:*\${srcdir}:*/:/ +s/:*@srcdir@:*/:/ +s/^\([^=]*=[ ]*\):*/\1/ +s/:*$// +s/^[^=]*=[ ]*$// +}' +fi + +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +fi # test -n "$CONFIG_FILES" + +# Set up the scripts for CONFIG_HEADERS section. +# No need to generate them if there are no CONFIG_HEADERS. +# This happens for instance with `./config.status Makefile'. +if test -n "$CONFIG_HEADERS"; then +cat >"$tmp/defines.awk" <<\_ACAWK || +BEGIN { +_ACEOF + +# Transform confdefs.h into an awk script `defines.awk', embedded as +# here-document in config.status, that substitutes the proper values into +# config.h.in to produce config.h. + +# Create a delimiter string that does not exist in confdefs.h, to ease +# handling of long lines. +ac_delim='%!_!# ' +for ac_last_try in false false :; do + ac_t=`sed -n "/$ac_delim/p" confdefs.h` + if test -z "$ac_t"; then + break + elif $ac_last_try; then + as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5 + else + ac_delim="$ac_delim!$ac_delim _$ac_delim!! " + fi +done + +# For the awk script, D is an array of macro values keyed by name, +# likewise P contains macro parameters if any. Preserve backslash +# newline sequences. + +ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* +sed -n ' +s/.\{148\}/&'"$ac_delim"'/g +t rset +:rset +s/^[ ]*#[ ]*define[ ][ ]*/ / +t def +d +:def +s/\\$// +t bsnl +s/["\\]/\\&/g +s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ +D["\1"]=" \3"/p +s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p +d +:bsnl +s/["\\]/\\&/g +s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ +D["\1"]=" \3\\\\\\n"\\/p +t cont +s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p +t cont +d +:cont +n +s/.\{148\}/&'"$ac_delim"'/g +t clear +:clear +s/\\$// +t bsnlc +s/["\\]/\\&/g; s/^/"/; s/$/"/p +d +:bsnlc +s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p +b cont +' >$CONFIG_STATUS || ac_write_fail=1 + +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 + for (key in D) D_is_set[key] = 1 + FS = "" +} +/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { + line = \$ 0 + split(line, arg, " ") + if (arg[1] == "#") { + defundef = arg[2] + mac1 = arg[3] + } else { + defundef = substr(arg[1], 2) + mac1 = arg[2] + } + split(mac1, mac2, "(") #) + macro = mac2[1] + prefix = substr(line, 1, index(line, defundef) - 1) + if (D_is_set[macro]) { + # Preserve the white space surrounding the "#". + print prefix "define", macro P[macro] D[macro] + next + } else { + # Replace #undef with comments. This is necessary, for example, + # in the case of _POSIX_SOURCE, which is predefined and required + # on some systems where configure will not decide to define it. + if (defundef == "undef") { + print "/*", prefix defundef, macro, "*/" + next + } + } +} +{ print } +_ACAWK +_ACEOF +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 + as_fn_error "could not setup config headers machinery" "$LINENO" 5 +fi # test -n "$CONFIG_HEADERS" + + +eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" +shift +for ac_tag +do + case $ac_tag in + :[FHLC]) ac_mode=$ac_tag; continue;; + esac + case $ac_mode$ac_tag in + :[FHL]*:*);; + :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;; + :[FH]-) ac_tag=-:-;; + :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; + esac + ac_save_IFS=$IFS + IFS=: + set x $ac_tag + IFS=$ac_save_IFS + shift + ac_file=$1 + shift + + case $ac_mode in + :L) ac_source=$1;; + :[FH]) + ac_file_inputs= + for ac_f + do + case $ac_f in + -) ac_f="$tmp/stdin";; + *) # Look for the file first in the build tree, then in the source tree + # (if the path is not absolute). The absolute path cannot be DOS-style, + # because $ac_f cannot contain `:'. + test -f "$ac_f" || + case $ac_f in + [\\/$]*) false;; + *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; + esac || + as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;; + esac + case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac + as_fn_append ac_file_inputs " '$ac_f'" + done + + # Let's still pretend it is `configure' which instantiates (i.e., don't + # use $as_me), people would be surprised to read: + # /* config.h. Generated by config.status. */ + configure_input='Generated from '` + $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' + `' by configure.' + if test x"$ac_file" != x-; then + configure_input="$ac_file. $configure_input" + { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 +$as_echo "$as_me: creating $ac_file" >&6;} + fi + # Neutralize special characters interpreted by sed in replacement strings. + case $configure_input in #( + *\&* | *\|* | *\\* ) + ac_sed_conf_input=`$as_echo "$configure_input" | + sed 's/[\\\\&|]/\\\\&/g'`;; #( + *) ac_sed_conf_input=$configure_input;; + esac + + case $ac_tag in + *:-:* | *:-) cat >"$tmp/stdin" \ + || as_fn_error "could not create $ac_file" "$LINENO" 5 ;; + esac + ;; + esac + + ac_dir=`$as_dirname -- "$ac_file" || +$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$ac_file" : 'X\(//\)[^/]' \| \ + X"$ac_file" : 'X\(//\)$' \| \ + X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X"$ac_file" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + as_dir="$ac_dir"; as_fn_mkdir_p + ac_builddir=. + +case "$ac_dir" in +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; +*) + ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` + # A ".." for each directory in $ac_dir_suffix. + ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` + case $ac_top_builddir_sub in + "") ac_top_builddir_sub=. ac_top_build_prefix= ;; + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; + esac ;; +esac +ac_abs_top_builddir=$ac_pwd +ac_abs_builddir=$ac_pwd$ac_dir_suffix +# for backward compatibility: +ac_top_builddir=$ac_top_build_prefix + +case $srcdir in + .) # We are building in place. + ac_srcdir=. + ac_top_srcdir=$ac_top_builddir_sub + ac_abs_top_srcdir=$ac_pwd ;; + [\\/]* | ?:[\\/]* ) # Absolute name. + ac_srcdir=$srcdir$ac_dir_suffix; + ac_top_srcdir=$srcdir + ac_abs_top_srcdir=$srcdir ;; + *) # Relative name. + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix + ac_top_srcdir=$ac_top_build_prefix$srcdir + ac_abs_top_srcdir=$ac_pwd/$srcdir ;; +esac +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix + + + case $ac_mode in + :F) + # + # CONFIG_FILE + # + + case $INSTALL in + [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; + *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; + esac +_ACEOF + +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +# If the template does not know about datarootdir, expand it. +# FIXME: This hack should be removed a few years after 2.60. +ac_datarootdir_hack=; ac_datarootdir_seen= +ac_sed_dataroot=' +/datarootdir/ { + p + q +} +/@datadir@/p +/@docdir@/p +/@infodir@/p +/@localedir@/p +/@mandir@/p' +case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in +*datarootdir*) ac_datarootdir_seen=yes;; +*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 +$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} +_ACEOF +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 + ac_datarootdir_hack=' + s&@datadir@&$datadir&g + s&@docdir@&$docdir&g + s&@infodir@&$infodir&g + s&@localedir@&$localedir&g + s&@mandir@&$mandir&g + s&\\\${datarootdir}&$datarootdir&g' ;; +esac +_ACEOF + +# Neutralize VPATH when `$srcdir' = `.'. +# Shell code in configure.ac might set extrasub. +# FIXME: do we really want to maintain this feature? +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +ac_sed_extra="$ac_vpsub +$extrasub +_ACEOF +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +:t +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b +s|@configure_input@|$ac_sed_conf_input|;t t +s&@top_builddir@&$ac_top_builddir_sub&;t t +s&@top_build_prefix@&$ac_top_build_prefix&;t t +s&@srcdir@&$ac_srcdir&;t t +s&@abs_srcdir@&$ac_abs_srcdir&;t t +s&@top_srcdir@&$ac_top_srcdir&;t t +s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t +s&@builddir@&$ac_builddir&;t t +s&@abs_builddir@&$ac_abs_builddir&;t t +s&@abs_top_builddir@&$ac_abs_top_builddir&;t t +s&@INSTALL@&$ac_INSTALL&;t t +$ac_datarootdir_hack +" +eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ + || as_fn_error "could not create $ac_file" "$LINENO" 5 + +test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && + { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && + { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' +which seems to be undefined. Please make sure it is defined." >&5 +$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' +which seems to be undefined. Please make sure it is defined." >&2;} + + rm -f "$tmp/stdin" + case $ac_file in + -) cat "$tmp/out" && rm -f "$tmp/out";; + *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; + esac \ + || as_fn_error "could not create $ac_file" "$LINENO" 5 + ;; + :H) + # + # CONFIG_HEADER + # + if test x"$ac_file" != x-; then + { + $as_echo "/* $configure_input */" \ + && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" + } >"$tmp/config.h" \ + || as_fn_error "could not create $ac_file" "$LINENO" 5 + if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then + { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 +$as_echo "$as_me: $ac_file is unchanged" >&6;} + else + rm -f "$ac_file" + mv "$tmp/config.h" "$ac_file" \ + || as_fn_error "could not create $ac_file" "$LINENO" 5 + fi + else + $as_echo "/* $configure_input */" \ + && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ + || as_fn_error "could not create -" "$LINENO" 5 + fi +# Compute "$ac_file"'s index in $config_headers. +_am_stamp_count=1 +for _am_header in $config_headers :; do + case $_am_header in + "$ac_file" | "$ac_file":* ) + break ;; + * ) + _am_stamp_count=`expr $_am_stamp_count + 1` ;; + esac +done +echo "timestamp for "$ac_file"" >`$as_dirname -- "$ac_file" || +$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$ac_file" : 'X\(//\)[^/]' \| \ + X"$ac_file" : 'X\(//\)$' \| \ + X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X"$ac_file" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'`/stamp-h$_am_stamp_count + ;; + + :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 +$as_echo "$as_me: executing $ac_file commands" >&6;} + ;; + esac + + + case $ac_file$ac_mode in + "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do + # Strip MF so we end up with the name of the file. + mf=`echo "$mf" | sed -e 's/:.*$//'` + # Check whether this is an Automake generated Makefile or not. + # We used to match only the files named `Makefile.in', but + # some people rename them; so instead we look at the file content. + # Grep'ing the first line is not enough: some people post-process + # each Makefile.in and add a new line on top of each file to say so. + # So let's grep whole file. + if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then + dirpart=`$as_dirname -- "$mf" || +$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$mf" : 'X\(//\)[^/]' \| \ + X"$mf" : 'X\(//\)$' \| \ + X"$mf" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X"$mf" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + else + continue + fi + grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue + # Extract the definition of DEP_FILES from the Makefile without + # running `make'. + DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` + test -z "$DEPDIR" && continue + # When using ansi2knr, U may be empty or an underscore; expand it + U=`sed -n 's/^U = //p' < "$mf"` + test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR" + # We invoke sed twice because it is the simplest approach to + # changing $(DEPDIR) to its actual value in the expansion. + for file in `sed -n ' + /^DEP_FILES = .*\\\\$/ { + s/^DEP_FILES = // + :loop + s/\\\\$// + p + n + /\\\\$/ b loop + p + } + /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \ + sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do + # Make sure the directory exists. + test -f "$dirpart/$file" && continue + fdir=`$as_dirname -- "$file" || +$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$file" : 'X\(//\)[^/]' \| \ + X"$file" : 'X\(//\)$' \| \ + X"$file" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X"$file" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + as_dir=$dirpart/$fdir; as_fn_mkdir_p + # echo "creating $dirpart/$file" + echo '# dummy' > "$dirpart/$file" + done +done + ;; + "default":C) chmod +x libusb-config ;; + + esac +done # for ac_tag + + +as_fn_exit 0 +_ACEOF +ac_clean_files=$ac_clean_files_save + +test $ac_write_fail = 0 || + as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5 + + +# configure is writing to config.log, and then calls config.status. +# config.status does its own redirection, appending to config.log. +# Unfortunately, on DOS this fails, as config.log is still kept open +# by configure, so config.status won't be able to write to it; its +# output is simply discarded. So we exec the FD to /dev/null, +# effectively closing config.log, so it can be properly (re)opened and +# appended to by config.status. When coming back to configure, we +# need to make the FD available again. +if test "$no_create" != yes; then + ac_cs_success=: + ac_config_status_args= + test "$silent" = yes && + ac_config_status_args="$ac_config_status_args --quiet" + exec 5>/dev/null + $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false + exec 5>>config.log + # Use ||, not &&, to avoid exiting from the if with $? = 1, which + # would make configure fail if this is the last instruction. + $ac_cs_success || as_fn_exit $? +fi +if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 +$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} +fi + + diff --git a/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/configure.in b/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/configure.in new file mode 100644 index 000000000..269f2db57 --- /dev/null +++ b/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/configure.in @@ -0,0 +1,264 @@ +# This configure.in is based off of the one that glib uses + +# require atleast autoconf 2.59 +AC_PREREQ(2.59) + +# init autoconf (and check for presence of usb.c) +AC_INIT([libusb],[0.1.12]) +AC_CONFIG_SRCDIR([usb.c]) + +AH_TOP( +#undef LINUX_API +#undef BSD_API +#undef DARWIN_API + +#undef HAVE_OLD_DEV_USB_USB_H + +#undef HAVE_LIMITS_H +#undef HAVE_UNISTD_H +#undef HAVE_VALUES_H + +#undef LIBUSB_MAJOR_VERSION +#undef LIBUSB_MINOR_VERSION +#undef LIBUSB_MICRO_VERSION +#undef LIBUSB_INTERFACE_AGE +#undef LIBUSB_BINARY_AGE +) + +# Save this value here, since automake will set cflags later +cflags_set=${CFLAGS+set} + +AM_INIT_AUTOMAKE([gnu nostdinc subdir-objects 1.7.6 --warnings=all]) + +LIBUSB_VERSION=$VERSION + +# +# The following version number definitions apply to libusb +# as a whole, so if changes occoured in any of them, they are all +# treated with the same interface and binary age. +# +# Making releases: +# LIBUSB_MICRO_VERSION += 1; +# LIBUSB_INTERFACE_AGE += 1; +# LIBUSB_BINARY_AGE += 1; +# if any functions have been added, set LIBUSB_INTERFACE_AGE to 0. +# if backwards compatibility has been broken, +# set LIBUSB_BINARY_AGE _and_ LIBUSB_INTERFACE_AGE to 0. +# +LIBUSB_MAJOR_VERSION=0 +LIBUSB_MINOR_VERSION=1 +LIBUSB_MICRO_VERSION=12 +LIBUSB_INTERFACE_AGE=4 +LIBUSB_BINARY_AGE=8 + +AC_SUBST(LIBUSB_MAJOR_VERSION) +AC_SUBST(LIBUSB_MINOR_VERSION) +AC_SUBST(LIBUSB_MICRO_VERSION) +AC_SUBST(LIBUSB_VERSION) +AC_SUBST(LIBUSB_INTERFACE_AGE) +AC_SUBST(LIBUSB_BINARY_AGE) + +AC_DEFINE_UNQUOTED(LIBUSB_MAJOR_VERSION, $LIBUSB_MAJOR_VERSION) +AC_DEFINE_UNQUOTED(LIBUSB_MINOR_VERSION, $LIBUSB_MINOR_VERSION) +AC_DEFINE_UNQUOTED(LIBUSB_MICRO_VERSION, $LIBUSB_MICRO_VERSION) +AC_DEFINE_UNQUOTED(LIBUSB_INTERFACE_AGE, $LIBUSB_INTERFACE_AGE) +AC_DEFINE_UNQUOTED(LIBUSB_BINARY_AGE, $LIBUSB_BINARY_AGE) + +# libtool versioning +# JR: Add support for MICRO_VERSION to be alpha-numeric. This will make +# lt_current use the numeric part of MICRO_VERSION + +LIBUSB_MICRO_VERSION_NUM=`echo $LIBUSB_MICRO_VERSION | sed 's/[[a-zA-Z]]//g'` +LT_RELEASE=$LIBUSB_MAJOR_VERSION.$LIBUSB_MINOR_VERSION +LT_CURRENT=`expr $LIBUSB_MICRO_VERSION_NUM - $LIBUSB_INTERFACE_AGE` +LT_REVISION=$LIBUSB_INTERFACE_AGE +LT_AGE=`expr $LIBUSB_BINARY_AGE - $LIBUSB_INTERFACE_AGE` +AC_SUBST(LT_RELEASE) +AC_SUBST(LT_CURRENT) +AC_SUBST(LT_REVISION) +AC_SUBST(LT_AGE) + +AC_CONFIG_HEADERS([config.h]) + +dnl Initialize libtool +AM_PROG_LIBTOOL + +dnl This has already been dragged in by AM_PROG_LIBTOOL +dnl AC_CANONICAL_HOST + +LINUX_API=0 +DARWIN_API=0 +BSD_API=0 + +AC_MSG_CHECKING(for what USB OS support) +case $host in + *-linux*) + AC_DEFINE(LINUX_API, 1) + AC_DEFINE(BSD_API, 0) + AC_DEFINE(DARWIN_API, 0) + LINUX_API=1 + os_support=linux + AC_MSG_RESULT(Linux) + OSLIBS="" + ;; + *-freebsd*|*-kfreebsd*-gnu|*-openbsd*|*-netbsd*) + AC_DEFINE(BSD_API, 1) + AC_DEFINE(LINUX_API, 0) + AC_DEFINE(DARWIN_API, 0) + BSD_API=1 + os_support=bsd + AC_MSG_RESULT(FreeBSD, OpenBSD and/or NetBSD) + OSLIBS="" + ;; + *-darwin*) + AC_DEFINE(DARWIN_API, 1) + AC_DEFINE(LINUX_API, 0) + AC_DEFINE(BSD_API, 0) + DARWIN_API=1 + os_support=darwin + AC_MSG_RESULT(Darwin and/or MacOS 10) + OSLIBS="-Wl,-framework -Wl,IOKit -Wl,-framework -Wl,CoreFoundation -Wl,-prebind" + ;; + *) + AC_MSG_RESULT(unknown operating system) + AC_MSG_ERROR(libusb does not support compiling for $host) + ;; +esac + +AC_SUBST(DARWIN_API) +AC_SUBST(LINUX_API) +AC_SUBST(BSD_API) + +AM_CONDITIONAL(LINUX_API, test "$os_support" = "linux") +AM_CONDITIONAL(BSD_API, test "$os_support" = "bsd") +AM_CONDITIONAL(DARWIN_API, test "$os_support" = "darwin") + +AC_SUBST(OSLIBS) + +if test `expr $LIBUSB_MINOR_VERSION \% 2` = 1 ; then + debug_default=yes +else + debug_default=minimum +fi + +dnl declare --enable-* args and collect ac_help strings +AC_ARG_ENABLE(debug, [ --enable-debug=[no/minimum/yes] turn on debugging [default=$debug_default]],,enable_debug=$debug_default) + +if test "x$enable_debug" = "xyes"; then + test "$cflags_set" = set || CFLAGS="$CFLAGS -g" +fi + +# Checks for programs. +AC_LANG_CPLUSPLUS +AC_PROG_CC +AC_PROG_CXX +AM_PROG_CC_C_O +AC_PROG_INSTALL + +changequote(,)dnl +if test "x$GCC" = "xyes"; then + case " $CFLAGS " in + *[\ \ ]-Wall[\ \ ]*) ;; + *) CFLAGS="$CFLAGS -Wall" ;; + esac +fi +changequote([,])dnl + +# Checks for header files. +AC_HEADER_STDC + +# Checks for library functions. +AC_FUNC_VPRINTF + +AC_C_CONST + +dnl for bytesex stuff +AC_C_BIGENDIAN + +if test "$ac_cv_c_bigendian" = "yes"; then + BIGENDIAN="1" +else + BIGENDIAN="0" +fi +AC_SUBST(BIGENDIAN) + +dnl header file checks +AC_CHECK_HEADERS(limits.h, AC_DEFINE_UNQUOTED(HAVE_LIMITS_H)) +AC_CHECK_HEADERS(unistd.h, AC_DEFINE_UNQUOTED(HAVE_UNISTD_H)) +AC_CHECK_HEADERS(values.h, AC_DEFINE_UNQUOTED(HAVE_VALUES_H)) + +# Check for some functions +AC_CHECK_FUNCS(memmove) + +if test "$os_support" = "bsd"; then + AC_MSG_CHECKING(if dev/usb/usb.h uses new naming convention) + AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include ]], [[ + int a = ((struct usb_ctl_request *)0L)->ucr_addr + ]])],[AC_MSG_RESULT(yes)],[AC_MSG_RESULT(no) + AC_DEFINE_UNQUOTED(HAVE_OLD_DEV_USB_USB_H)]) +fi + +#pkg-config: pkg-config is a tool to simplify checks for libraries and versions. +pkgconfig_msg="no (http://www.freedesktop.org/software/pkgconfig)" +try_pkgconfig=true +have_pkgconfig=false +AC_ARG_WITH(pkgconfig, [ --without-pkgconfig don"t use pkg-config],[ + if test x$withval = xno; then + try_pkgconfig=false + pkgconfig_msg="no (not requested)" + fi]) +if $try_pkgconfig; then + AC_PATH_PROG(PKG_CONFIG,pkg-config) + if test -n "${PKG_CONFIG}"; then + have_pkgconfig=true + pkgconfig_msg="yes" + fi +fi +# guessing directory to install *.pc into +pkgconfigdir="${libdir}/pkgconfig" +AC_SUBST(pkgconfigdir) + +# Check if the user wants to enable documentation +AC_MSG_CHECKING(if we should build the documentation) +AC_ARG_ENABLE(build-docs, [ --disable-build-docs turn off building documentation], + [ test "$enableval" != no && build_docs=yes || build_docs=no ], + build_docs=auto) +AC_MSG_RESULT($build_docs) + +if test "$build_docs" != "no"; then + AC_CHECK_PROG(JADE, jade, jade) + if test -z "$JADE"; then + AC_CHECK_PROG(JADE, openjade, openjade) + fi +fi + +LIBUSB_INIT_DOXYGEN([LIBUSB C++ API Reference], [Version $VERSION]) + +dnl Not quite ready for primetime --jerdfelt +dnl AC_CHECK_PROG(DVIPS, dvips, dvips, false) +dnl if test "$DVIPS" = "false"; then +dnl unset BUILD_DOCS +dnl fi + +if test "$build_docs" != "no" -a -z "$JADE"; then + AC_MSG_WARN(Documentation build components not installed. sgml docs will not be built) + build_docs="no" +fi + +AM_CONDITIONAL(BUILD_DOCS, test "$build_docs" != "no") + +AC_CONFIG_FILES([ + Makefile + doc/Makefile + libusb.spec + libusb-config + libusb.pc + tests/Makefile + README + INSTALL.libusb + usb.h + Doxyfile +]) +AC_CONFIG_COMMANDS([default],[[chmod +x libusb-config]],[[]]) +AC_OUTPUT + diff --git a/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/configure.lineno b/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/configure.lineno new file mode 100644 index 000000000..2e97c3c28 --- /dev/null +++ b/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/configure.lineno @@ -0,0 +1,21876 @@ +#! /bin/sh +# Guess values for system-dependent variables and create Makefiles. +# Generated by GNU Autoconf 2.65 for libusb 0.1.12. +# +# +# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, +# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, +# Inc. +# +# +# This configure script is free software; the Free Software Foundation +# gives unlimited permission to copy, distribute and modify it. +## -------------------- ## +## M4sh Initialization. ## +## -------------------- ## + +# Be more Bourne compatible +DUALCASE=1; export DUALCASE # for MKS sh +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : + emulate sh + NULLCMD=: + # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which + # is contrary to our usage. Disable this feature. + alias -g '${1+"$@"}'='"$@"' + setopt NO_GLOB_SUBST +else + case `(set -o) 2>/dev/null` in #( + *posix*) : + set -o posix ;; #( + *) : + ;; +esac +fi + + +as_nl=' +' +export as_nl +# Printing a long string crashes Solaris 7 /usr/bin/printf. +as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo +# Prefer a ksh shell builtin over an external printf program on Solaris, +# but without wasting forks for bash or zsh. +if test -z "$BASH_VERSION$ZSH_VERSION" \ + && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then + as_echo='print -r --' + as_echo_n='print -rn --' +elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then + as_echo='printf %s\n' + as_echo_n='printf %s' +else + if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then + as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' + as_echo_n='/usr/ucb/echo -n' + else + as_echo_body='eval expr "X$1" : "X\\(.*\\)"' + as_echo_n_body='eval + arg=$1; + case $arg in #( + *"$as_nl"*) + expr "X$arg" : "X\\(.*\\)$as_nl"; + arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; + esac; + expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" + ' + export as_echo_n_body + as_echo_n='sh -c $as_echo_n_body as_echo' + fi + export as_echo_body + as_echo='sh -c $as_echo_body as_echo' +fi + +# The user is always right. +if test "${PATH_SEPARATOR+set}" != set; then + PATH_SEPARATOR=: + (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { + (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || + PATH_SEPARATOR=';' + } +fi + + +# IFS +# We need space, tab and new line, in precisely that order. Quoting is +# there to prevent editors from complaining about space-tab. +# (If _AS_PATH_WALK were called with IFS unset, it would disable word +# splitting by setting IFS to empty value.) +IFS=" "" $as_nl" + +# Find who we are. Look in the path if we contain no directory separator. +case $0 in #(( + *[\\/]* ) as_myself=$0 ;; + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break + done +IFS=$as_save_IFS + + ;; +esac +# We did not find ourselves, most probably we were run as `sh COMMAND' +# in which case we are not to be found in the path. +if test "x$as_myself" = x; then + as_myself=$0 +fi +if test ! -f "$as_myself"; then + $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 + exit 1 +fi + +# Unset variables that we do not need and which cause bugs (e.g. in +# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" +# suppresses any "Segmentation fault" message there. '((' could +# trigger a bug in pdksh 5.2.14. +for as_var in BASH_ENV ENV MAIL MAILPATH +do eval test x\${$as_var+set} = xset \ + && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : +done +PS1='$ ' +PS2='> ' +PS4='+ ' + +# NLS nuisances. +LC_ALL=C +export LC_ALL +LANGUAGE=C +export LANGUAGE + +# CDPATH. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH + +if test "x$CONFIG_SHELL" = x; then + as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : + emulate sh + NULLCMD=: + # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which + # is contrary to our usage. Disable this feature. + alias -g '\${1+\"\$@\"}'='\"\$@\"' + setopt NO_GLOB_SUBST +else + case \`(set -o) 2>/dev/null\` in #( + *posix*) : + set -o posix ;; #( + *) : + ;; +esac +fi +" + as_required="as_fn_return () { (exit \$1); } +as_fn_success () { as_fn_return 0; } +as_fn_failure () { as_fn_return 1; } +as_fn_ret_success () { return 0; } +as_fn_ret_failure () { return 1; } + +exitcode=0 +as_fn_success || { exitcode=1; echo as_fn_success failed.; } +as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } +as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } +as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } +if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : + +else + exitcode=1; echo positional parameters were not saved. +fi +test x\$exitcode = x0 || exit 1" + as_suggested=" as_lineno_1=";as_suggested=$as_suggested170;as_suggested=$as_suggested" as_lineno_1a=\170 + as_lineno_2=";as_suggested=$as_suggested171;as_suggested=$as_suggested" as_lineno_2a=\171 + eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && + test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 +test \$(( 1 + 1 )) = 2 || exit 1" + if (eval "$as_required") 2>/dev/null; then : + as_have_required=yes +else + as_have_required=no +fi + if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : + +else + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +as_found=false +for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + as_found=: + case $as_dir in #( + /*) + for as_base in sh bash ksh sh5; do + # Try only shells that exist, to save several forks. + as_shell=$as_dir/$as_base + if { test -f "$as_shell" || test -f "$as_shell.exe"; } && + { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : + CONFIG_SHELL=$as_shell as_have_required=yes + if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : + break 2 +fi +fi + done;; + esac + as_found=false +done +$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && + { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : + CONFIG_SHELL=$SHELL as_have_required=yes +fi; } +IFS=$as_save_IFS + + + if test "x$CONFIG_SHELL" != x; then : + # We cannot yet assume a decent shell, so we have to provide a + # neutralization value for shells without unset; and this also + # works around shells that cannot unset nonexistent variables. + BASH_ENV=/dev/null + ENV=/dev/null + (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV + export CONFIG_SHELL + exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} +fi + + if test x$as_have_required = xno; then : + $as_echo "$0: This script requires a shell more modern than all" + $as_echo "$0: the shells that I found on your system." + if test x${ZSH_VERSION+set} = xset ; then + $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" + $as_echo "$0: be upgraded to zsh 4.3.4 or later." + else + $as_echo "$0: Please tell bug-autoconf@gnu.org about your system, +$0: including any error possibly output before this +$0: message. Then install a modern shell, or manually run +$0: the script under such a shell if you do have one." + fi + exit 1 +fi +fi +fi +SHELL=${CONFIG_SHELL-/bin/sh} +export SHELL +# Unset more variables known to interfere with behavior of common tools. +CLICOLOR_FORCE= GREP_OPTIONS= +unset CLICOLOR_FORCE GREP_OPTIONS + +## --------------------- ## +## M4sh Shell Functions. ## +## --------------------- ## +# as_fn_unset VAR +# --------------- +# Portably unset VAR. +as_fn_unset () +{ + { eval $1=; unset $1;} +} +as_unset=as_fn_unset + +# as_fn_set_status STATUS +# ----------------------- +# Set $? to STATUS, without forking. +as_fn_set_status () +{ + return $1 +} # as_fn_set_status + +# as_fn_exit STATUS +# ----------------- +# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. +as_fn_exit () +{ + set +e + as_fn_set_status $1 + exit $1 +} # as_fn_exit + +# as_fn_mkdir_p +# ------------- +# Create "$as_dir" as a directory, including parents if necessary. +as_fn_mkdir_p () +{ + + case $as_dir in #( + -*) as_dir=./$as_dir;; + esac + test -d "$as_dir" || eval $as_mkdir_p || { + as_dirs= + while :; do + case $as_dir in #( + *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( + *) as_qdir=$as_dir;; + esac + as_dirs="'$as_qdir' $as_dirs" + as_dir=`$as_dirname -- "$as_dir" || +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$as_dir" : 'X\(//\)[^/]' \| \ + X"$as_dir" : 'X\(//\)$' \| \ + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X"$as_dir" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + test -d "$as_dir" && break + done + test -z "$as_dirs" || eval "mkdir $as_dirs" + } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" + + +} # as_fn_mkdir_p +# as_fn_append VAR VALUE +# ---------------------- +# Append the text in VALUE to the end of the definition contained in VAR. Take +# advantage of any shell optimizations that allow amortized linear growth over +# repeated appends, instead of the typical quadratic growth present in naive +# implementations. +if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : + eval 'as_fn_append () + { + eval $1+=\$2 + }' +else + as_fn_append () + { + eval $1=\$$1\$2 + } +fi # as_fn_append + +# as_fn_arith ARG... +# ------------------ +# Perform arithmetic evaluation on the ARGs, and store the result in the +# global $as_val. Take advantage of shells that can avoid forks. The arguments +# must be portable across $(()) and expr. +if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : + eval 'as_fn_arith () + { + as_val=$(( $* )) + }' +else + as_fn_arith () + { + as_val=`expr "$@" || test $? -eq 1` + } +fi # as_fn_arith + + +# as_fn_error ERROR [LINENO LOG_FD] +# --------------------------------- +# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are +# provided, also output the error to LOG_FD, referencing LINENO. Then exit the +# script with status $?, using 1 if that was 0. +as_fn_error () +{ + as_status=$?; test $as_status -eq 0 && as_status=1 + if test "$3"; then + as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + $as_echo "$as_me:${as_lineno-369}: error: $1" >&$3 + fi + $as_echo "$as_me: error: $1" >&2 + as_fn_exit $as_status +} # as_fn_error + +if expr a : '\(a\)' >/dev/null 2>&1 && + test "X`expr 00001 : '.*\(...\)'`" = X001; then + as_expr=expr +else + as_expr=false +fi + +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then + as_basename=basename +else + as_basename=false +fi + +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then + as_dirname=dirname +else + as_dirname=false +fi + +as_me=`$as_basename -- "$0" || +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ + X"$0" : 'X\(//\)$' \| \ + X"$0" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X/"$0" | + sed '/^.*\/\([^/][^/]*\)\/*$/{ + s//\1/ + q + } + /^X\/\(\/\/\)$/{ + s//\1/ + q + } + /^X\/\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + +# Avoid depending upon Character Ranges. +as_cr_letters='abcdefghijklmnopqrstuvwxyz' +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' +as_cr_Letters=$as_cr_letters$as_cr_LETTERS +as_cr_digits='0123456789' +as_cr_alnum=$as_cr_Letters$as_cr_digits + + + as_lineno_1=421 as_lineno_1a=421 + as_lineno_2=422 as_lineno_2a=422 + eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && + test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { + # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) + sed -n ' + p + /[$]LINENO/= + ' <$as_myself | + sed ' + s/[$]LINENO.*/&-/ + t lineno + b + :lineno + N + :loop + s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ + t loop + s/-\n.*// + ' >$as_me.lineno && + chmod +x "$as_me.lineno" || + { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } + + # Don't try to exec as it changes $[0], causing all sort of problems + # (the dirname of $[0] is not the place where we might find the + # original and so on. Autoconf is especially sensitive to this). + . "./$as_me.lineno" + # Exit status is that of the last command. + exit +} + +ECHO_C= ECHO_N= ECHO_T= +case `echo -n x` in #((((( +-n*) + case `echo 'xy\c'` in + *c*) ECHO_T=' ';; # ECHO_T is single tab character. + xy) ECHO_C='\c';; + *) echo `echo ksh88 bug on AIX 6.1` > /dev/null + ECHO_T=' ';; + esac;; +*) + ECHO_N='-n';; +esac + +rm -f conf$$ conf$$.exe conf$$.file +if test -d conf$$.dir; then + rm -f conf$$.dir/conf$$.file +else + rm -f conf$$.dir + mkdir conf$$.dir 2>/dev/null +fi +if (echo >conf$$.file) 2>/dev/null; then + if ln -s conf$$.file conf$$ 2>/dev/null; then + as_ln_s='ln -s' + # ... but there are two gotchas: + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. + # In both cases, we have to default to `cp -p'. + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || + as_ln_s='cp -p' + elif ln conf$$.file conf$$ 2>/dev/null; then + as_ln_s=ln + else + as_ln_s='cp -p' + fi +else + as_ln_s='cp -p' +fi +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file +rmdir conf$$.dir 2>/dev/null + +if mkdir -p . 2>/dev/null; then + as_mkdir_p='mkdir -p "$as_dir"' +else + test -d ./-p && rmdir ./-p + as_mkdir_p=false +fi + +if test -x / >/dev/null 2>&1; then + as_test_x='test -x' +else + if ls -dL / >/dev/null 2>&1; then + as_ls_L_option=L + else + as_ls_L_option= + fi + as_test_x=' + eval sh -c '\'' + if test -d "$1"; then + test -d "$1/."; + else + case $1 in #( + -*)set "./$1";; + esac; + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( + ???[sx]*):;;*)false;;esac;fi + '\'' sh + ' +fi +as_executable_p=$as_test_x + +# Sed expression to map a string onto a valid CPP name. +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" + +# Sed expression to map a string onto a valid variable name. +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" + + + +# Check that we are running under the correct shell. +SHELL=${CONFIG_SHELL-/bin/sh} + +case X$ECHO in +X*--fallback-echo) + # Remove one level of quotation (which was required for Make). + ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','` + ;; +esac + +echo=${ECHO-echo} +if test "X$1" = X--no-reexec; then + # Discard the --no-reexec flag, and continue. + shift +elif test "X$1" = X--fallback-echo; then + # Avoid inline document here, it may be left over + : +elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then + # Yippee, $echo works! + : +else + # Restart under the correct shell. + exec $SHELL "$0" --no-reexec ${1+"$@"} +fi + +if test "X$1" = X--fallback-echo; then + # used as fallback echo + shift + cat </dev/null && + echo_test_string="`eval $cmd`" && + (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null + then + break + fi + done +fi + +if test "X`($echo '\t') 2>/dev/null`" = 'X\t' && + echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` && + test "X$echo_testing_string" = "X$echo_test_string"; then + : +else + # The Solaris, AIX, and Digital Unix default echo programs unquote + # backslashes. This makes it impossible to quote backslashes using + # echo "$something" | sed 's/\\/\\\\/g' + # + # So, first we look for a working echo in the user's PATH. + + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR + for dir in $PATH /usr/ucb; do + IFS="$lt_save_ifs" + if (test -f $dir/echo || test -f $dir/echo$ac_exeext) && + test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' && + echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` && + test "X$echo_testing_string" = "X$echo_test_string"; then + echo="$dir/echo" + break + fi + done + IFS="$lt_save_ifs" + + if test "X$echo" = Xecho; then + # We didn't find a better echo, so look for alternatives. + if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' && + echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` && + test "X$echo_testing_string" = "X$echo_test_string"; then + # This shell has a builtin print -r that does the trick. + echo='print -r' + elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) && + test "X$CONFIG_SHELL" != X/bin/ksh; then + # If we have ksh, try running configure again with it. + ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} + export ORIGINAL_CONFIG_SHELL + CONFIG_SHELL=/bin/ksh + export CONFIG_SHELL + exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"} + else + # Try using printf. + echo='printf %s\n' + if test "X`($echo '\t') 2>/dev/null`" = 'X\t' && + echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` && + test "X$echo_testing_string" = "X$echo_test_string"; then + # Cool, printf works + : + elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` && + test "X$echo_testing_string" = 'X\t' && + echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` && + test "X$echo_testing_string" = "X$echo_test_string"; then + CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL + export CONFIG_SHELL + SHELL="$CONFIG_SHELL" + export SHELL + echo="$CONFIG_SHELL $0 --fallback-echo" + elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` && + test "X$echo_testing_string" = 'X\t' && + echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` && + test "X$echo_testing_string" = "X$echo_test_string"; then + echo="$CONFIG_SHELL $0 --fallback-echo" + else + # maybe with a smaller string... + prev=: + + for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do + if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null + then + break + fi + prev="$cmd" + done + + if test "$prev" != 'sed 50q "$0"'; then + echo_test_string=`eval $prev` + export echo_test_string + exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"} + else + # Oops. We lost completely, so just stick with echo. + echo=echo + fi + fi + fi + fi +fi +fi + +# Copy echo and quote the copy suitably for passing to libtool from +# the Makefile, instead of quoting the original, which is used later. +ECHO=$echo +if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then + ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo" +fi + + + + +tagnames=${tagnames+${tagnames},}CXX + +tagnames=${tagnames+${tagnames},}F77 + +test -n "$DJDIR" || exec 7<&0 &1 + +# Name of the host. +# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, +# so uname gets run too. +ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` + +# +# Initializations. +# +ac_default_prefix=/usr/local +ac_clean_files= +ac_config_libobj_dir=. +LIBOBJS= +cross_compiling=no +subdirs= +MFLAGS= +MAKEFLAGS= + +# Identity of this package. +PACKAGE_NAME='libusb' +PACKAGE_TARNAME='libusb' +PACKAGE_VERSION='0.1.12' +PACKAGE_STRING='libusb 0.1.12' +PACKAGE_BUGREPORT='' +PACKAGE_URL='' + +ac_unique_file="usb.c" +# Factoring default headers for most tests. +ac_includes_default="\ +#include +#ifdef HAVE_SYS_TYPES_H +# include +#endif +#ifdef HAVE_SYS_STAT_H +# include +#endif +#ifdef STDC_HEADERS +# include +# include +#else +# ifdef HAVE_STDLIB_H +# include +# endif +#endif +#ifdef HAVE_STRING_H +# if !defined STDC_HEADERS && defined HAVE_MEMORY_H +# include +# endif +# include +#endif +#ifdef HAVE_STRINGS_H +# include +#endif +#ifdef HAVE_INTTYPES_H +# include +#endif +#ifdef HAVE_STDINT_H +# include +#endif +#ifdef HAVE_UNISTD_H +# include +#endif" + +ac_subst_vars='LTLIBOBJS +LIBOBJS +BUILD_DOCS_FALSE +BUILD_DOCS_TRUE +LIBUSB_HAS_DOXYGEN +DOXYGEN_PROJECT_NUMBER +DOXYGEN_PROJECT_NAME +DOXYGEN +LIBUSB_HAVE_DOT +JADE +pkgconfigdir +PKG_CONFIG +BIGENDIAN +OSLIBS +DARWIN_API_FALSE +DARWIN_API_TRUE +BSD_API_FALSE +BSD_API_TRUE +LINUX_API_FALSE +LINUX_API_TRUE +BSD_API +LINUX_API +DARWIN_API +LIBTOOL +ac_ct_F77 +FFLAGS +F77 +CXXCPP +am__fastdepCXX_FALSE +am__fastdepCXX_TRUE +CXXDEPMODE +ac_ct_CXX +CXXFLAGS +CXX +CPP +RANLIB +AR +ECHO +LN_S +EGREP +GREP +am__fastdepCC_FALSE +am__fastdepCC_TRUE +CCDEPMODE +AMDEPBACKSLASH +AMDEP_FALSE +AMDEP_TRUE +am__quote +am__include +DEPDIR +OBJEXT +EXEEXT +ac_ct_CC +CPPFLAGS +LDFLAGS +CFLAGS +CC +host_os +host_vendor +host_cpu +host +build_os +build_vendor +build_cpu +build +LT_AGE +LT_REVISION +LT_CURRENT +LT_RELEASE +LIBUSB_BINARY_AGE +LIBUSB_INTERFACE_AGE +LIBUSB_VERSION +LIBUSB_MICRO_VERSION +LIBUSB_MINOR_VERSION +LIBUSB_MAJOR_VERSION +am__leading_dot +SET_MAKE +AWK +mkdir_p +INSTALL_STRIP_PROGRAM +STRIP +install_sh +AMTAR +MAKEINFO +AUTOHEADER +AUTOMAKE +AUTOCONF +ACLOCAL +VERSION +PACKAGE +CYGPATH_W +INSTALL_DATA +INSTALL_SCRIPT +INSTALL_PROGRAM +target_alias +host_alias +build_alias +LIBS +ECHO_T +ECHO_N +ECHO_C +DEFS +mandir +localedir +libdir +psdir +pdfdir +dvidir +htmldir +infodir +docdir +oldincludedir +includedir +localstatedir +sharedstatedir +sysconfdir +datadir +datarootdir +libexecdir +sbindir +bindir +program_transform_name +prefix +exec_prefix +PACKAGE_URL +PACKAGE_BUGREPORT +PACKAGE_STRING +PACKAGE_VERSION +PACKAGE_TARNAME +PACKAGE_NAME +PATH_SEPARATOR +SHELL' +ac_subst_files='' +ac_user_opts=' +enable_option_checking +enable_shared +enable_static +enable_fast_install +enable_dependency_tracking +with_gnu_ld +enable_libtool_lock +with_pic +with_tags +enable_debug +with_pkgconfig +enable_build_docs +' + ac_precious_vars='build_alias +host_alias +target_alias +CC +CFLAGS +LDFLAGS +LIBS +CPPFLAGS +CPP +CXX +CXXFLAGS +CCC +CXXCPP +F77 +FFLAGS' + + +# Initialize some variables set by options. +ac_init_help= +ac_init_version=false +ac_unrecognized_opts= +ac_unrecognized_sep= +# The variables have the same names as the options, with +# dashes changed to underlines. +cache_file=/dev/null +exec_prefix=NONE +no_create= +no_recursion= +prefix=NONE +program_prefix=NONE +program_suffix=NONE +program_transform_name=s,x,x, +silent= +site= +srcdir= +verbose= +x_includes=NONE +x_libraries=NONE + +# Installation directory options. +# These are left unexpanded so users can "make install exec_prefix=/foo" +# and all the variables that are supposed to be based on exec_prefix +# by default will actually change. +# Use braces instead of parens because sh, perl, etc. also accept them. +# (The list follows the same order as the GNU Coding Standards.) +bindir='${exec_prefix}/bin' +sbindir='${exec_prefix}/sbin' +libexecdir='${exec_prefix}/libexec' +datarootdir='${prefix}/share' +datadir='${datarootdir}' +sysconfdir='${prefix}/etc' +sharedstatedir='${prefix}/com' +localstatedir='${prefix}/var' +includedir='${prefix}/include' +oldincludedir='/usr/include' +docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' +infodir='${datarootdir}/info' +htmldir='${docdir}' +dvidir='${docdir}' +pdfdir='${docdir}' +psdir='${docdir}' +libdir='${exec_prefix}/lib' +localedir='${datarootdir}/locale' +mandir='${datarootdir}/man' + +ac_prev= +ac_dashdash= +for ac_option +do + # If the previous option needs an argument, assign it. + if test -n "$ac_prev"; then + eval $ac_prev=\$ac_option + ac_prev= + continue + fi + + case $ac_option in + *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; + *) ac_optarg=yes ;; + esac + + # Accept the important Cygnus configure options, so we can diagnose typos. + + case $ac_dashdash$ac_option in + --) + ac_dashdash=yes ;; + + -bindir | --bindir | --bindi | --bind | --bin | --bi) + ac_prev=bindir ;; + -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) + bindir=$ac_optarg ;; + + -build | --build | --buil | --bui | --bu) + ac_prev=build_alias ;; + -build=* | --build=* | --buil=* | --bui=* | --bu=*) + build_alias=$ac_optarg ;; + + -cache-file | --cache-file | --cache-fil | --cache-fi \ + | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) + ac_prev=cache_file ;; + -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ + | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) + cache_file=$ac_optarg ;; + + --config-cache | -C) + cache_file=config.cache ;; + + -datadir | --datadir | --datadi | --datad) + ac_prev=datadir ;; + -datadir=* | --datadir=* | --datadi=* | --datad=*) + datadir=$ac_optarg ;; + + -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ + | --dataroo | --dataro | --datar) + ac_prev=datarootdir ;; + -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ + | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) + datarootdir=$ac_optarg ;; + + -disable-* | --disable-*) + ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` + # Reject names that are not valid shell variable names. + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && + as_fn_error "invalid feature name: $ac_useropt" + ac_useropt_orig=$ac_useropt + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` + case $ac_user_opts in + *" +"enable_$ac_useropt" +"*) ;; + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" + ac_unrecognized_sep=', ';; + esac + eval enable_$ac_useropt=no ;; + + -docdir | --docdir | --docdi | --doc | --do) + ac_prev=docdir ;; + -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) + docdir=$ac_optarg ;; + + -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) + ac_prev=dvidir ;; + -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) + dvidir=$ac_optarg ;; + + -enable-* | --enable-*) + ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` + # Reject names that are not valid shell variable names. + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && + as_fn_error "invalid feature name: $ac_useropt" + ac_useropt_orig=$ac_useropt + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` + case $ac_user_opts in + *" +"enable_$ac_useropt" +"*) ;; + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" + ac_unrecognized_sep=', ';; + esac + eval enable_$ac_useropt=\$ac_optarg ;; + + -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ + | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ + | --exec | --exe | --ex) + ac_prev=exec_prefix ;; + -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ + | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ + | --exec=* | --exe=* | --ex=*) + exec_prefix=$ac_optarg ;; + + -gas | --gas | --ga | --g) + # Obsolete; use --with-gas. + with_gas=yes ;; + + -help | --help | --hel | --he | -h) + ac_init_help=long ;; + -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) + ac_init_help=recursive ;; + -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) + ac_init_help=short ;; + + -host | --host | --hos | --ho) + ac_prev=host_alias ;; + -host=* | --host=* | --hos=* | --ho=*) + host_alias=$ac_optarg ;; + + -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) + ac_prev=htmldir ;; + -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ + | --ht=*) + htmldir=$ac_optarg ;; + + -includedir | --includedir | --includedi | --included | --include \ + | --includ | --inclu | --incl | --inc) + ac_prev=includedir ;; + -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ + | --includ=* | --inclu=* | --incl=* | --inc=*) + includedir=$ac_optarg ;; + + -infodir | --infodir | --infodi | --infod | --info | --inf) + ac_prev=infodir ;; + -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) + infodir=$ac_optarg ;; + + -libdir | --libdir | --libdi | --libd) + ac_prev=libdir ;; + -libdir=* | --libdir=* | --libdi=* | --libd=*) + libdir=$ac_optarg ;; + + -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ + | --libexe | --libex | --libe) + ac_prev=libexecdir ;; + -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ + | --libexe=* | --libex=* | --libe=*) + libexecdir=$ac_optarg ;; + + -localedir | --localedir | --localedi | --localed | --locale) + ac_prev=localedir ;; + -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) + localedir=$ac_optarg ;; + + -localstatedir | --localstatedir | --localstatedi | --localstated \ + | --localstate | --localstat | --localsta | --localst | --locals) + ac_prev=localstatedir ;; + -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ + | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) + localstatedir=$ac_optarg ;; + + -mandir | --mandir | --mandi | --mand | --man | --ma | --m) + ac_prev=mandir ;; + -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) + mandir=$ac_optarg ;; + + -nfp | --nfp | --nf) + # Obsolete; use --without-fp. + with_fp=no ;; + + -no-create | --no-create | --no-creat | --no-crea | --no-cre \ + | --no-cr | --no-c | -n) + no_create=yes ;; + + -no-recursion | --no-recursion | --no-recursio | --no-recursi \ + | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) + no_recursion=yes ;; + + -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ + | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ + | --oldin | --oldi | --old | --ol | --o) + ac_prev=oldincludedir ;; + -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ + | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ + | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) + oldincludedir=$ac_optarg ;; + + -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) + ac_prev=prefix ;; + -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) + prefix=$ac_optarg ;; + + -program-prefix | --program-prefix | --program-prefi | --program-pref \ + | --program-pre | --program-pr | --program-p) + ac_prev=program_prefix ;; + -program-prefix=* | --program-prefix=* | --program-prefi=* \ + | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) + program_prefix=$ac_optarg ;; + + -program-suffix | --program-suffix | --program-suffi | --program-suff \ + | --program-suf | --program-su | --program-s) + ac_prev=program_suffix ;; + -program-suffix=* | --program-suffix=* | --program-suffi=* \ + | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) + program_suffix=$ac_optarg ;; + + -program-transform-name | --program-transform-name \ + | --program-transform-nam | --program-transform-na \ + | --program-transform-n | --program-transform- \ + | --program-transform | --program-transfor \ + | --program-transfo | --program-transf \ + | --program-trans | --program-tran \ + | --progr-tra | --program-tr | --program-t) + ac_prev=program_transform_name ;; + -program-transform-name=* | --program-transform-name=* \ + | --program-transform-nam=* | --program-transform-na=* \ + | --program-transform-n=* | --program-transform-=* \ + | --program-transform=* | --program-transfor=* \ + | --program-transfo=* | --program-transf=* \ + | --program-trans=* | --program-tran=* \ + | --progr-tra=* | --program-tr=* | --program-t=*) + program_transform_name=$ac_optarg ;; + + -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) + ac_prev=pdfdir ;; + -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) + pdfdir=$ac_optarg ;; + + -psdir | --psdir | --psdi | --psd | --ps) + ac_prev=psdir ;; + -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) + psdir=$ac_optarg ;; + + -q | -quiet | --quiet | --quie | --qui | --qu | --q \ + | -silent | --silent | --silen | --sile | --sil) + silent=yes ;; + + -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) + ac_prev=sbindir ;; + -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ + | --sbi=* | --sb=*) + sbindir=$ac_optarg ;; + + -sharedstatedir | --sharedstatedir | --sharedstatedi \ + | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ + | --sharedst | --shareds | --shared | --share | --shar \ + | --sha | --sh) + ac_prev=sharedstatedir ;; + -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ + | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ + | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ + | --sha=* | --sh=*) + sharedstatedir=$ac_optarg ;; + + -site | --site | --sit) + ac_prev=site ;; + -site=* | --site=* | --sit=*) + site=$ac_optarg ;; + + -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) + ac_prev=srcdir ;; + -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) + srcdir=$ac_optarg ;; + + -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ + | --syscon | --sysco | --sysc | --sys | --sy) + ac_prev=sysconfdir ;; + -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ + | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) + sysconfdir=$ac_optarg ;; + + -target | --target | --targe | --targ | --tar | --ta | --t) + ac_prev=target_alias ;; + -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) + target_alias=$ac_optarg ;; + + -v | -verbose | --verbose | --verbos | --verbo | --verb) + verbose=yes ;; + + -version | --version | --versio | --versi | --vers | -V) + ac_init_version=: ;; + + -with-* | --with-*) + ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` + # Reject names that are not valid shell variable names. + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && + as_fn_error "invalid package name: $ac_useropt" + ac_useropt_orig=$ac_useropt + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` + case $ac_user_opts in + *" +"with_$ac_useropt" +"*) ;; + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" + ac_unrecognized_sep=', ';; + esac + eval with_$ac_useropt=\$ac_optarg ;; + + -without-* | --without-*) + ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` + # Reject names that are not valid shell variable names. + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && + as_fn_error "invalid package name: $ac_useropt" + ac_useropt_orig=$ac_useropt + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` + case $ac_user_opts in + *" +"with_$ac_useropt" +"*) ;; + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" + ac_unrecognized_sep=', ';; + esac + eval with_$ac_useropt=no ;; + + --x) + # Obsolete; use --with-x. + with_x=yes ;; + + -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ + | --x-incl | --x-inc | --x-in | --x-i) + ac_prev=x_includes ;; + -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ + | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) + x_includes=$ac_optarg ;; + + -x-libraries | --x-libraries | --x-librarie | --x-librari \ + | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) + ac_prev=x_libraries ;; + -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ + | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) + x_libraries=$ac_optarg ;; + + -*) as_fn_error "unrecognized option: \`$ac_option' +Try \`$0 --help' for more information." + ;; + + *=*) + ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` + # Reject names that are not valid shell variable names. + case $ac_envvar in #( + '' | [0-9]* | *[!_$as_cr_alnum]* ) + as_fn_error "invalid variable name: \`$ac_envvar'" ;; + esac + eval $ac_envvar=\$ac_optarg + export $ac_envvar ;; + + *) + # FIXME: should be removed in autoconf 3.0. + $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 + expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && + $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 + : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} + ;; + + esac +done + +if test -n "$ac_prev"; then + ac_option=--`echo $ac_prev | sed 's/_/-/g'` + as_fn_error "missing argument to $ac_option" +fi + +if test -n "$ac_unrecognized_opts"; then + case $enable_option_checking in + no) ;; + fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;; + *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; + esac +fi + +# Check all directory arguments for consistency. +for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ + datadir sysconfdir sharedstatedir localstatedir includedir \ + oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ + libdir localedir mandir +do + eval ac_val=\$$ac_var + # Remove trailing slashes. + case $ac_val in + */ ) + ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` + eval $ac_var=\$ac_val;; + esac + # Be sure to have absolute directory names. + case $ac_val in + [\\/$]* | ?:[\\/]* ) continue;; + NONE | '' ) case $ac_var in *prefix ) continue;; esac;; + esac + as_fn_error "expected an absolute directory name for --$ac_var: $ac_val" +done + +# There might be people who depend on the old broken behavior: `$host' +# used to hold the argument of --host etc. +# FIXME: To remove some day. +build=$build_alias +host=$host_alias +target=$target_alias + +# FIXME: To remove some day. +if test "x$host_alias" != x; then + if test "x$build_alias" = x; then + cross_compiling=maybe + $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. + If a cross compiler is detected then cross compile mode will be used." >&2 + elif test "x$build_alias" != "x$host_alias"; then + cross_compiling=yes + fi +fi + +ac_tool_prefix= +test -n "$host_alias" && ac_tool_prefix=$host_alias- + +test "$silent" = yes && exec 6>/dev/null + + +ac_pwd=`pwd` && test -n "$ac_pwd" && +ac_ls_di=`ls -di .` && +ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || + as_fn_error "working directory cannot be determined" +test "X$ac_ls_di" = "X$ac_pwd_ls_di" || + as_fn_error "pwd does not report name of working directory" + + +# Find the source files, if location was not specified. +if test -z "$srcdir"; then + ac_srcdir_defaulted=yes + # Try the directory containing this script, then the parent directory. + ac_confdir=`$as_dirname -- "$as_myself" || +$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$as_myself" : 'X\(//\)[^/]' \| \ + X"$as_myself" : 'X\(//\)$' \| \ + X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X"$as_myself" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + srcdir=$ac_confdir + if test ! -r "$srcdir/$ac_unique_file"; then + srcdir=.. + fi +else + ac_srcdir_defaulted=no +fi +if test ! -r "$srcdir/$ac_unique_file"; then + test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." + as_fn_error "cannot find sources ($ac_unique_file) in $srcdir" +fi +ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" +ac_abs_confdir=`( + cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg" + pwd)` +# When building in place, set srcdir=. +if test "$ac_abs_confdir" = "$ac_pwd"; then + srcdir=. +fi +# Remove unnecessary trailing slashes from srcdir. +# Double slashes in file names in object file debugging info +# mess up M-x gdb in Emacs. +case $srcdir in +*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; +esac +for ac_var in $ac_precious_vars; do + eval ac_env_${ac_var}_set=\${${ac_var}+set} + eval ac_env_${ac_var}_value=\$${ac_var} + eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} + eval ac_cv_env_${ac_var}_value=\$${ac_var} +done + +# +# Report the --help message. +# +if test "$ac_init_help" = "long"; then + # Omit some internal or obsolete options to make the list less imposing. + # This message is too long to be a string in the A/UX 3.1 sh. + cat <<_ACEOF +\`configure' configures libusb 0.1.12 to adapt to many kinds of systems. + +Usage: $0 [OPTION]... [VAR=VALUE]... + +To assign environment variables (e.g., CC, CFLAGS...), specify them as +VAR=VALUE. See below for descriptions of some of the useful variables. + +Defaults for the options are specified in brackets. + +Configuration: + -h, --help display this help and exit + --help=short display options specific to this package + --help=recursive display the short help of all the included packages + -V, --version display version information and exit + -q, --quiet, --silent do not print \`checking...' messages + --cache-file=FILE cache test results in FILE [disabled] + -C, --config-cache alias for \`--cache-file=config.cache' + -n, --no-create do not create output files + --srcdir=DIR find the sources in DIR [configure dir or \`..'] + +Installation directories: + --prefix=PREFIX install architecture-independent files in PREFIX + [$ac_default_prefix] + --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX + [PREFIX] + +By default, \`make install' will install all the files in +\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify +an installation prefix other than \`$ac_default_prefix' using \`--prefix', +for instance \`--prefix=\$HOME'. + +For better control, use the options below. + +Fine tuning of the installation directories: + --bindir=DIR user executables [EPREFIX/bin] + --sbindir=DIR system admin executables [EPREFIX/sbin] + --libexecdir=DIR program executables [EPREFIX/libexec] + --sysconfdir=DIR read-only single-machine data [PREFIX/etc] + --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] + --localstatedir=DIR modifiable single-machine data [PREFIX/var] + --libdir=DIR object code libraries [EPREFIX/lib] + --includedir=DIR C header files [PREFIX/include] + --oldincludedir=DIR C header files for non-gcc [/usr/include] + --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] + --datadir=DIR read-only architecture-independent data [DATAROOTDIR] + --infodir=DIR info documentation [DATAROOTDIR/info] + --localedir=DIR locale-dependent data [DATAROOTDIR/locale] + --mandir=DIR man documentation [DATAROOTDIR/man] + --docdir=DIR documentation root [DATAROOTDIR/doc/libusb] + --htmldir=DIR html documentation [DOCDIR] + --dvidir=DIR dvi documentation [DOCDIR] + --pdfdir=DIR pdf documentation [DOCDIR] + --psdir=DIR ps documentation [DOCDIR] +_ACEOF + + cat <<\_ACEOF + +Program names: + --program-prefix=PREFIX prepend PREFIX to installed program names + --program-suffix=SUFFIX append SUFFIX to installed program names + --program-transform-name=PROGRAM run sed PROGRAM on installed program names + +System types: + --build=BUILD configure for building on BUILD [guessed] + --host=HOST cross-compile to build programs to run on HOST [BUILD] +_ACEOF +fi + +if test -n "$ac_init_help"; then + case $ac_init_help in + short | recursive ) echo "Configuration of libusb 0.1.12:";; + esac + cat <<\_ACEOF + +Optional Features: + --disable-option-checking ignore unrecognized --enable/--with options + --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) + --enable-FEATURE[=ARG] include FEATURE [ARG=yes] + --enable-shared[=PKGS] build shared libraries [default=yes] + --enable-static[=PKGS] build static libraries [default=yes] + --enable-fast-install[=PKGS] + optimize for fast installation [default=yes] + --disable-dependency-tracking speeds up one-time build + --enable-dependency-tracking do not reject slow dependency extractors + --disable-libtool-lock avoid locking (might break parallel builds) + --enable-debug=no/minimum/yes turn on debugging default=$debug_default + --disable-build-docs turn off building documentation + +Optional Packages: + --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] + --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) + --with-gnu-ld assume the C compiler uses GNU ld [default=no] + --with-pic try to use only PIC/non-PIC objects [default=use + both] + --with-tags[=TAGS] include additional configurations [automatic] + --without-pkgconfig don"t use pkg-config + +Some influential environment variables: + CC C compiler command + CFLAGS C compiler flags + LDFLAGS linker flags, e.g. -L if you have libraries in a + nonstandard directory + LIBS libraries to pass to the linker, e.g. -l + CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I if + you have headers in a nonstandard directory + CPP C preprocessor + CXX C++ compiler command + CXXFLAGS C++ compiler flags + CXXCPP C++ preprocessor + F77 Fortran 77 compiler command + FFLAGS Fortran 77 compiler flags + +Use these variables to override the choices made by `configure' or to help +it to find libraries and programs with nonstandard names/locations. + +Report bugs to the package provider. +_ACEOF +ac_status=$? +fi + +if test "$ac_init_help" = "recursive"; then + # If there are subdirs, report their specific --help. + for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue + test -d "$ac_dir" || + { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || + continue + ac_builddir=. + +case "$ac_dir" in +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; +*) + ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` + # A ".." for each directory in $ac_dir_suffix. + ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` + case $ac_top_builddir_sub in + "") ac_top_builddir_sub=. ac_top_build_prefix= ;; + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; + esac ;; +esac +ac_abs_top_builddir=$ac_pwd +ac_abs_builddir=$ac_pwd$ac_dir_suffix +# for backward compatibility: +ac_top_builddir=$ac_top_build_prefix + +case $srcdir in + .) # We are building in place. + ac_srcdir=. + ac_top_srcdir=$ac_top_builddir_sub + ac_abs_top_srcdir=$ac_pwd ;; + [\\/]* | ?:[\\/]* ) # Absolute name. + ac_srcdir=$srcdir$ac_dir_suffix; + ac_top_srcdir=$srcdir + ac_abs_top_srcdir=$srcdir ;; + *) # Relative name. + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix + ac_top_srcdir=$ac_top_build_prefix$srcdir + ac_abs_top_srcdir=$ac_pwd/$srcdir ;; +esac +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix + + cd "$ac_dir" || { ac_status=$?; continue; } + # Check for guested configure. + if test -f "$ac_srcdir/configure.gnu"; then + echo && + $SHELL "$ac_srcdir/configure.gnu" --help=recursive + elif test -f "$ac_srcdir/configure"; then + echo && + $SHELL "$ac_srcdir/configure" --help=recursive + else + $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 + fi || ac_status=$? + cd "$ac_pwd" || { ac_status=$?; break; } + done +fi + +test -n "$ac_init_help" && exit $ac_status +if $ac_init_version; then + cat <<\_ACEOF +libusb configure 0.1.12 +generated by GNU Autoconf 2.65 + +Copyright (C) 2009 Free Software Foundation, Inc. +This configure script is free software; the Free Software Foundation +gives unlimited permission to copy, distribute and modify it. +_ACEOF + exit +fi + +## ------------------------ ## +## Autoconf initialization. ## +## ------------------------ ## + +# ac_fn_c_try_compile LINENO +# -------------------------- +# Try to compile conftest.$ac_ext, and return whether this succeeded. +ac_fn_c_try_compile () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + rm -f conftest.$ac_objext + if { { ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-1655}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_compile") 2>conftest.err + ac_status=$? + if test -s conftest.err; then + grep -v '^ *+' conftest.err >conftest.er1 + cat conftest.er1 >&5 + mv -f conftest.er1 conftest.err + fi + $as_echo "$as_me:${as_lineno-1664}: \$? = $ac_status" >&5 + test $ac_status = 0; } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then : + ac_retval=0 +else + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_retval=1 +fi + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} + as_fn_set_status $ac_retval + +} # ac_fn_c_try_compile + +# ac_fn_c_try_link LINENO +# ----------------------- +# Try to link conftest.$ac_ext, and return whether this succeeded. +ac_fn_c_try_link () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + rm -f conftest.$ac_objext conftest$ac_exeext + if { { ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-1693}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_link") 2>conftest.err + ac_status=$? + if test -s conftest.err; then + grep -v '^ *+' conftest.err >conftest.er1 + cat conftest.er1 >&5 + mv -f conftest.er1 conftest.err + fi + $as_echo "$as_me:${as_lineno-1702}: \$? = $ac_status" >&5 + test $ac_status = 0; } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest$ac_exeext && { + test "$cross_compiling" = yes || + $as_test_x conftest$ac_exeext + }; then : + ac_retval=0 +else + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_retval=1 +fi + # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information + # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would + # interfere with the next link command; also delete a directory that is + # left behind by Apple's compiler. We do this before executing the actions. + rm -rf conftest.dSYM conftest_ipa8_conftest.oo + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} + as_fn_set_status $ac_retval + +} # ac_fn_c_try_link + +# ac_fn_c_try_cpp LINENO +# ---------------------- +# Try to preprocess conftest.$ac_ext, and return whether this succeeded. +ac_fn_c_try_cpp () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + if { { ac_try="$ac_cpp conftest.$ac_ext" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-1738}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err + ac_status=$? + if test -s conftest.err; then + grep -v '^ *+' conftest.err >conftest.er1 + cat conftest.er1 >&5 + mv -f conftest.er1 conftest.err + fi + $as_echo "$as_me:${as_lineno-1747}: \$? = $ac_status" >&5 + test $ac_status = 0; } >/dev/null && { + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || + test ! -s conftest.err + }; then : + ac_retval=0 +else + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_retval=1 +fi + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} + as_fn_set_status $ac_retval + +} # ac_fn_c_try_cpp + +# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES +# ------------------------------------------------------- +# Tests whether HEADER exists, giving a warning if it cannot be compiled using +# the include files in INCLUDES and setting the cache variable VAR +# accordingly. +ac_fn_c_check_header_mongrel () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : + { $as_echo "$as_me:${as_lineno-1773}: checking for $2" >&5 +$as_echo_n "checking for $2... " >&6; } +if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : + $as_echo_n "(cached) " >&6 +fi +eval ac_res=\$$3 + { $as_echo "$as_me:${as_lineno-1779}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } +else + # Is the header compilable? +{ $as_echo "$as_me:${as_lineno-1783}: checking $2 usability" >&5 +$as_echo_n "checking $2 usability... " >&6; } +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$4 +#include <$2> +_ACEOF +if ac_fn_c_try_compile "1790"; then : + ac_header_compiler=yes +else + ac_header_compiler=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +{ $as_echo "$as_me:${as_lineno-1796}: result: $ac_header_compiler" >&5 +$as_echo "$ac_header_compiler" >&6; } + +# Is the header present? +{ $as_echo "$as_me:${as_lineno-1800}: checking $2 presence" >&5 +$as_echo_n "checking $2 presence... " >&6; } +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include <$2> +_ACEOF +if ac_fn_c_try_cpp "1806"; then : + ac_header_preproc=yes +else + ac_header_preproc=no +fi +rm -f conftest.err conftest.$ac_ext +{ $as_echo "$as_me:${as_lineno-1812}: result: $ac_header_preproc" >&5 +$as_echo "$ac_header_preproc" >&6; } + +# So? What about this header? +case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( + yes:no: ) + { $as_echo "$as_me:${as_lineno-1818}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 +$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} + { $as_echo "$as_me:${as_lineno-1820}: WARNING: $2: proceeding with the compiler's result" >&5 +$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} + ;; + no:yes:* ) + { $as_echo "$as_me:${as_lineno-1824}: WARNING: $2: present but cannot be compiled" >&5 +$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} + { $as_echo "$as_me:${as_lineno-1826}: WARNING: $2: check for missing prerequisite headers?" >&5 +$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} + { $as_echo "$as_me:${as_lineno-1828}: WARNING: $2: see the Autoconf documentation" >&5 +$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} + { $as_echo "$as_me:${as_lineno-1830}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 +$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} + { $as_echo "$as_me:${as_lineno-1832}: WARNING: $2: proceeding with the compiler's result" >&5 +$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} + ;; +esac + { $as_echo "$as_me:${as_lineno-1836}: checking for $2" >&5 +$as_echo_n "checking for $2... " >&6; } +if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : + $as_echo_n "(cached) " >&6 +else + eval "$3=\$ac_header_compiler" +fi +eval ac_res=\$$3 + { $as_echo "$as_me:${as_lineno-1844}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } +fi + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} + +} # ac_fn_c_check_header_mongrel + +# ac_fn_c_try_run LINENO +# ---------------------- +# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes +# that executables *can* be run. +ac_fn_c_try_run () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + if { { ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-1863}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_link") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-1867}: \$? = $ac_status" >&5 + test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' + { { case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-1873}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_try") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-1877}: \$? = $ac_status" >&5 + test $ac_status = 0; }; }; then : + ac_retval=0 +else + $as_echo "$as_me: program exited with status $ac_status" >&5 + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_retval=$ac_status +fi + rm -rf conftest.dSYM conftest_ipa8_conftest.oo + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} + as_fn_set_status $ac_retval + +} # ac_fn_c_try_run + +# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES +# ------------------------------------------------------- +# Tests whether HEADER exists and can be compiled using the include files in +# INCLUDES, setting the cache variable VAR accordingly. +ac_fn_c_check_header_compile () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + { $as_echo "$as_me:${as_lineno-1900}: checking for $2" >&5 +$as_echo_n "checking for $2... " >&6; } +if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$4 +#include <$2> +_ACEOF +if ac_fn_c_try_compile "1910"; then : + eval "$3=yes" +else + eval "$3=no" +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +eval ac_res=\$$3 + { $as_echo "$as_me:${as_lineno-1918}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} + +} # ac_fn_c_check_header_compile + +# ac_fn_c_check_func LINENO FUNC VAR +# ---------------------------------- +# Tests whether FUNC exists, setting the cache variable VAR accordingly +ac_fn_c_check_func () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + { $as_echo "$as_me:${as_lineno-1930}: checking for $2" >&5 +$as_echo_n "checking for $2... " >&6; } +if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +/* Define $2 to an innocuous variant, in case declares $2. + For example, HP-UX 11i declares gettimeofday. */ +#define $2 innocuous_$2 + +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $2 (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ + +#ifdef __STDC__ +# include +#else +# include +#endif + +#undef $2 + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char $2 (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined __stub_$2 || defined __stub___$2 +choke me +#endif + +int +main () +{ +return $2 (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "1976"; then : + eval "$3=yes" +else + eval "$3=no" +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +fi +eval ac_res=\$$3 + { $as_echo "$as_me:${as_lineno-1985}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} + +} # ac_fn_c_check_func + +# ac_fn_cxx_try_compile LINENO +# ---------------------------- +# Try to compile conftest.$ac_ext, and return whether this succeeded. +ac_fn_cxx_try_compile () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + rm -f conftest.$ac_objext + if { { ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-2003}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_compile") 2>conftest.err + ac_status=$? + if test -s conftest.err; then + grep -v '^ *+' conftest.err >conftest.er1 + cat conftest.er1 >&5 + mv -f conftest.er1 conftest.err + fi + $as_echo "$as_me:${as_lineno-2012}: \$? = $ac_status" >&5 + test $ac_status = 0; } && { + test -z "$ac_cxx_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then : + ac_retval=0 +else + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_retval=1 +fi + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} + as_fn_set_status $ac_retval + +} # ac_fn_cxx_try_compile + +# ac_fn_cxx_try_cpp LINENO +# ------------------------ +# Try to preprocess conftest.$ac_ext, and return whether this succeeded. +ac_fn_cxx_try_cpp () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + if { { ac_try="$ac_cpp conftest.$ac_ext" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-2040}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err + ac_status=$? + if test -s conftest.err; then + grep -v '^ *+' conftest.err >conftest.er1 + cat conftest.er1 >&5 + mv -f conftest.er1 conftest.err + fi + $as_echo "$as_me:${as_lineno-2049}: \$? = $ac_status" >&5 + test $ac_status = 0; } >/dev/null && { + test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || + test ! -s conftest.err + }; then : + ac_retval=0 +else + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_retval=1 +fi + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} + as_fn_set_status $ac_retval + +} # ac_fn_cxx_try_cpp + +# ac_fn_cxx_try_link LINENO +# ------------------------- +# Try to link conftest.$ac_ext, and return whether this succeeded. +ac_fn_cxx_try_link () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + rm -f conftest.$ac_objext conftest$ac_exeext + if { { ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-2078}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_link") 2>conftest.err + ac_status=$? + if test -s conftest.err; then + grep -v '^ *+' conftest.err >conftest.er1 + cat conftest.er1 >&5 + mv -f conftest.er1 conftest.err + fi + $as_echo "$as_me:${as_lineno-2087}: \$? = $ac_status" >&5 + test $ac_status = 0; } && { + test -z "$ac_cxx_werror_flag" || + test ! -s conftest.err + } && test -s conftest$ac_exeext && { + test "$cross_compiling" = yes || + $as_test_x conftest$ac_exeext + }; then : + ac_retval=0 +else + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_retval=1 +fi + # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information + # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would + # interfere with the next link command; also delete a directory that is + # left behind by Apple's compiler. We do this before executing the actions. + rm -rf conftest.dSYM conftest_ipa8_conftest.oo + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} + as_fn_set_status $ac_retval + +} # ac_fn_cxx_try_link + +# ac_fn_cxx_check_func LINENO FUNC VAR +# ------------------------------------ +# Tests whether FUNC exists, setting the cache variable VAR accordingly +ac_fn_cxx_check_func () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + { $as_echo "$as_me:${as_lineno-2118}: checking for $2" >&5 +$as_echo_n "checking for $2... " >&6; } +if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +/* Define $2 to an innocuous variant, in case declares $2. + For example, HP-UX 11i declares gettimeofday. */ +#define $2 innocuous_$2 + +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $2 (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ + +#ifdef __STDC__ +# include +#else +# include +#endif + +#undef $2 + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char $2 (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined __stub_$2 || defined __stub___$2 +choke me +#endif + +int +main () +{ +return $2 (); + ; + return 0; +} +_ACEOF +if ac_fn_cxx_try_link "2164"; then : + eval "$3=yes" +else + eval "$3=no" +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +fi +eval ac_res=\$$3 + { $as_echo "$as_me:${as_lineno-2173}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} + +} # ac_fn_cxx_check_func + +# ac_fn_f77_try_compile LINENO +# ---------------------------- +# Try to compile conftest.$ac_ext, and return whether this succeeded. +ac_fn_f77_try_compile () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + rm -f conftest.$ac_objext + if { { ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-2191}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_compile") 2>conftest.err + ac_status=$? + if test -s conftest.err; then + grep -v '^ *+' conftest.err >conftest.er1 + cat conftest.er1 >&5 + mv -f conftest.er1 conftest.err + fi + $as_echo "$as_me:${as_lineno-2200}: \$? = $ac_status" >&5 + test $ac_status = 0; } && { + test -z "$ac_f77_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then : + ac_retval=0 +else + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_retval=1 +fi + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} + as_fn_set_status $ac_retval + +} # ac_fn_f77_try_compile + +# ac_fn_f77_try_link LINENO +# ------------------------- +# Try to link conftest.$ac_ext, and return whether this succeeded. +ac_fn_f77_try_link () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + rm -f conftest.$ac_objext conftest$ac_exeext + if { { ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-2229}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_link") 2>conftest.err + ac_status=$? + if test -s conftest.err; then + grep -v '^ *+' conftest.err >conftest.er1 + cat conftest.er1 >&5 + mv -f conftest.er1 conftest.err + fi + $as_echo "$as_me:${as_lineno-2238}: \$? = $ac_status" >&5 + test $ac_status = 0; } && { + test -z "$ac_f77_werror_flag" || + test ! -s conftest.err + } && test -s conftest$ac_exeext && { + test "$cross_compiling" = yes || + $as_test_x conftest$ac_exeext + }; then : + ac_retval=0 +else + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_retval=1 +fi + # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information + # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would + # interfere with the next link command; also delete a directory that is + # left behind by Apple's compiler. We do this before executing the actions. + rm -rf conftest.dSYM conftest_ipa8_conftest.oo + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} + as_fn_set_status $ac_retval + +} # ac_fn_f77_try_link + +# ac_fn_cxx_try_run LINENO +# ------------------------ +# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes +# that executables *can* be run. +ac_fn_cxx_try_run () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + if { { ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-2275}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_link") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-2279}: \$? = $ac_status" >&5 + test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' + { { case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-2285}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_try") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-2289}: \$? = $ac_status" >&5 + test $ac_status = 0; }; }; then : + ac_retval=0 +else + $as_echo "$as_me: program exited with status $ac_status" >&5 + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_retval=$ac_status +fi + rm -rf conftest.dSYM conftest_ipa8_conftest.oo + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} + as_fn_set_status $ac_retval + +} # ac_fn_cxx_try_run + +# ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES +# --------------------------------------------------------- +# Tests whether HEADER exists, giving a warning if it cannot be compiled using +# the include files in INCLUDES and setting the cache variable VAR +# accordingly. +ac_fn_cxx_check_header_mongrel () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : + { $as_echo "$as_me:${as_lineno-2314}: checking for $2" >&5 +$as_echo_n "checking for $2... " >&6; } +if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : + $as_echo_n "(cached) " >&6 +fi +eval ac_res=\$$3 + { $as_echo "$as_me:${as_lineno-2320}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } +else + # Is the header compilable? +{ $as_echo "$as_me:${as_lineno-2324}: checking $2 usability" >&5 +$as_echo_n "checking $2 usability... " >&6; } +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$4 +#include <$2> +_ACEOF +if ac_fn_cxx_try_compile "2331"; then : + ac_header_compiler=yes +else + ac_header_compiler=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +{ $as_echo "$as_me:${as_lineno-2337}: result: $ac_header_compiler" >&5 +$as_echo "$ac_header_compiler" >&6; } + +# Is the header present? +{ $as_echo "$as_me:${as_lineno-2341}: checking $2 presence" >&5 +$as_echo_n "checking $2 presence... " >&6; } +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include <$2> +_ACEOF +if ac_fn_cxx_try_cpp "2347"; then : + ac_header_preproc=yes +else + ac_header_preproc=no +fi +rm -f conftest.err conftest.$ac_ext +{ $as_echo "$as_me:${as_lineno-2353}: result: $ac_header_preproc" >&5 +$as_echo "$ac_header_preproc" >&6; } + +# So? What about this header? +case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #(( + yes:no: ) + { $as_echo "$as_me:${as_lineno-2359}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 +$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} + { $as_echo "$as_me:${as_lineno-2361}: WARNING: $2: proceeding with the compiler's result" >&5 +$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} + ;; + no:yes:* ) + { $as_echo "$as_me:${as_lineno-2365}: WARNING: $2: present but cannot be compiled" >&5 +$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} + { $as_echo "$as_me:${as_lineno-2367}: WARNING: $2: check for missing prerequisite headers?" >&5 +$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} + { $as_echo "$as_me:${as_lineno-2369}: WARNING: $2: see the Autoconf documentation" >&5 +$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} + { $as_echo "$as_me:${as_lineno-2371}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 +$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} + { $as_echo "$as_me:${as_lineno-2373}: WARNING: $2: proceeding with the compiler's result" >&5 +$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} + ;; +esac + { $as_echo "$as_me:${as_lineno-2377}: checking for $2" >&5 +$as_echo_n "checking for $2... " >&6; } +if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : + $as_echo_n "(cached) " >&6 +else + eval "$3=\$ac_header_compiler" +fi +eval ac_res=\$$3 + { $as_echo "$as_me:${as_lineno-2385}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } +fi + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} + +} # ac_fn_cxx_check_header_mongrel +cat >config.log <<_ACEOF +This file contains any messages produced by compilers while +running configure, to aid debugging if configure makes a mistake. + +It was created by libusb $as_me 0.1.12, which was +generated by GNU Autoconf 2.65. Invocation command line was + + $ $0 $@ + +_ACEOF +exec 5>>config.log +{ +cat <<_ASUNAME +## --------- ## +## Platform. ## +## --------- ## + +hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` +uname -m = `(uname -m) 2>/dev/null || echo unknown` +uname -r = `(uname -r) 2>/dev/null || echo unknown` +uname -s = `(uname -s) 2>/dev/null || echo unknown` +uname -v = `(uname -v) 2>/dev/null || echo unknown` + +/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` +/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` + +/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` +/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` +/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` +/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` +/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` +/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` +/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` + +_ASUNAME + +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + $as_echo "PATH: $as_dir" + done +IFS=$as_save_IFS + +} >&5 + +cat >&5 <<_ACEOF + + +## ----------- ## +## Core tests. ## +## ----------- ## + +_ACEOF + + +# Keep a trace of the command line. +# Strip out --no-create and --no-recursion so they do not pile up. +# Strip out --silent because we don't want to record it for future runs. +# Also quote any args containing shell meta-characters. +# Make two passes to allow for proper duplicate-argument suppression. +ac_configure_args= +ac_configure_args0= +ac_configure_args1= +ac_must_keep_next=false +for ac_pass in 1 2 +do + for ac_arg + do + case $ac_arg in + -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; + -q | -quiet | --quiet | --quie | --qui | --qu | --q \ + | -silent | --silent | --silen | --sile | --sil) + continue ;; + *\'*) + ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; + esac + case $ac_pass in + 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; + 2) + as_fn_append ac_configure_args1 " '$ac_arg'" + if test $ac_must_keep_next = true; then + ac_must_keep_next=false # Got value, back to normal. + else + case $ac_arg in + *=* | --config-cache | -C | -disable-* | --disable-* \ + | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ + | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ + | -with-* | --with-* | -without-* | --without-* | --x) + case "$ac_configure_args0 " in + "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; + esac + ;; + -* ) ac_must_keep_next=true ;; + esac + fi + as_fn_append ac_configure_args " '$ac_arg'" + ;; + esac + done +done +{ ac_configure_args0=; unset ac_configure_args0;} +{ ac_configure_args1=; unset ac_configure_args1;} + +# When interrupted or exit'd, cleanup temporary files, and complete +# config.log. We remove comments because anyway the quotes in there +# would cause problems or look ugly. +# WARNING: Use '\'' to represent an apostrophe within the trap. +# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. +trap 'exit_status=$? + # Save into config.log some information that might help in debugging. + { + echo + + cat <<\_ASBOX +## ---------------- ## +## Cache variables. ## +## ---------------- ## +_ASBOX + echo + # The following way of writing the cache mishandles newlines in values, +( + for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do + eval ac_val=\$$ac_var + case $ac_val in #( + *${as_nl}*) + case $ac_var in #( + *_cv_*) { $as_echo "$as_me:${as_lineno-2519}: WARNING: cache variable $ac_var contains a newline" >&5 +$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; + esac + case $ac_var in #( + _ | IFS | as_nl) ;; #( + BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( + *) { eval $ac_var=; unset $ac_var;} ;; + esac ;; + esac + done + (set) 2>&1 | + case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( + *${as_nl}ac_space=\ *) + sed -n \ + "s/'\''/'\''\\\\'\'''\''/g; + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" + ;; #( + *) + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" + ;; + esac | + sort +) + echo + + cat <<\_ASBOX +## ----------------- ## +## Output variables. ## +## ----------------- ## +_ASBOX + echo + for ac_var in $ac_subst_vars + do + eval ac_val=\$$ac_var + case $ac_val in + *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; + esac + $as_echo "$ac_var='\''$ac_val'\''" + done | sort + echo + + if test -n "$ac_subst_files"; then + cat <<\_ASBOX +## ------------------- ## +## File substitutions. ## +## ------------------- ## +_ASBOX + echo + for ac_var in $ac_subst_files + do + eval ac_val=\$$ac_var + case $ac_val in + *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; + esac + $as_echo "$ac_var='\''$ac_val'\''" + done | sort + echo + fi + + if test -s confdefs.h; then + cat <<\_ASBOX +## ----------- ## +## confdefs.h. ## +## ----------- ## +_ASBOX + echo + cat confdefs.h + echo + fi + test "$ac_signal" != 0 && + $as_echo "$as_me: caught signal $ac_signal" + $as_echo "$as_me: exit $exit_status" + } >&5 + rm -f core *.core core.conftest.* && + rm -f -r conftest* confdefs* conf$$* $ac_clean_files && + exit $exit_status +' 0 +for ac_signal in 1 2 13 15; do + trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal +done +ac_signal=0 + +# confdefs.h avoids OS command line length limits that DEFS can exceed. +rm -f -r conftest* confdefs.h + +$as_echo "/* confdefs.h */" > confdefs.h + +# Predefined preprocessor variables. + +cat >>confdefs.h <<_ACEOF +#define PACKAGE_NAME "$PACKAGE_NAME" +_ACEOF + +cat >>confdefs.h <<_ACEOF +#define PACKAGE_TARNAME "$PACKAGE_TARNAME" +_ACEOF + +cat >>confdefs.h <<_ACEOF +#define PACKAGE_VERSION "$PACKAGE_VERSION" +_ACEOF + +cat >>confdefs.h <<_ACEOF +#define PACKAGE_STRING "$PACKAGE_STRING" +_ACEOF + +cat >>confdefs.h <<_ACEOF +#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" +_ACEOF + +cat >>confdefs.h <<_ACEOF +#define PACKAGE_URL "$PACKAGE_URL" +_ACEOF + + +# Let the site file select an alternate cache file if it wants to. +# Prefer an explicitly selected file to automatically selected ones. +ac_site_file1=NONE +ac_site_file2=NONE +if test -n "$CONFIG_SITE"; then + ac_site_file1=$CONFIG_SITE +elif test "x$prefix" != xNONE; then + ac_site_file1=$prefix/share/config.site + ac_site_file2=$prefix/etc/config.site +else + ac_site_file1=$ac_default_prefix/share/config.site + ac_site_file2=$ac_default_prefix/etc/config.site +fi +for ac_site_file in "$ac_site_file1" "$ac_site_file2" +do + test "x$ac_site_file" = xNONE && continue + if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then + { $as_echo "$as_me:${as_lineno-2650}: loading site script $ac_site_file" >&5 +$as_echo "$as_me: loading site script $ac_site_file" >&6;} + sed 's/^/| /' "$ac_site_file" >&5 + . "$ac_site_file" + fi +done + +if test -r "$cache_file"; then + # Some versions of bash will fail to source /dev/null (special files + # actually), so we avoid doing that. DJGPP emulates it as a regular file. + if test /dev/null != "$cache_file" && test -f "$cache_file"; then + { $as_echo "$as_me:${as_lineno-2661}: loading cache $cache_file" >&5 +$as_echo "$as_me: loading cache $cache_file" >&6;} + case $cache_file in + [\\/]* | ?:[\\/]* ) . "$cache_file";; + *) . "./$cache_file";; + esac + fi +else + { $as_echo "$as_me:${as_lineno-2669}: creating cache $cache_file" >&5 +$as_echo "$as_me: creating cache $cache_file" >&6;} + >$cache_file +fi + +# Check that the precious variables saved in the cache have kept the same +# value. +ac_cache_corrupted=false +for ac_var in $ac_precious_vars; do + eval ac_old_set=\$ac_cv_env_${ac_var}_set + eval ac_new_set=\$ac_env_${ac_var}_set + eval ac_old_val=\$ac_cv_env_${ac_var}_value + eval ac_new_val=\$ac_env_${ac_var}_value + case $ac_old_set,$ac_new_set in + set,) + { $as_echo "$as_me:${as_lineno-2684}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 +$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} + ac_cache_corrupted=: ;; + ,set) + { $as_echo "$as_me:${as_lineno-2688}: error: \`$ac_var' was not set in the previous run" >&5 +$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} + ac_cache_corrupted=: ;; + ,);; + *) + if test "x$ac_old_val" != "x$ac_new_val"; then + # differences in whitespace do not lead to failure. + ac_old_val_w=`echo x $ac_old_val` + ac_new_val_w=`echo x $ac_new_val` + if test "$ac_old_val_w" != "$ac_new_val_w"; then + { $as_echo "$as_me:${as_lineno-2698}: error: \`$ac_var' has changed since the previous run:" >&5 +$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} + ac_cache_corrupted=: + else + { $as_echo "$as_me:${as_lineno-2702}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 +$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} + eval $ac_var=\$ac_old_val + fi + { $as_echo "$as_me:${as_lineno-2706}: former value: \`$ac_old_val'" >&5 +$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} + { $as_echo "$as_me:${as_lineno-2708}: current value: \`$ac_new_val'" >&5 +$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} + fi;; + esac + # Pass precious variables to config.status. + if test "$ac_new_set" = set; then + case $ac_new_val in + *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; + *) ac_arg=$ac_var=$ac_new_val ;; + esac + case " $ac_configure_args " in + *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. + *) as_fn_append ac_configure_args " '$ac_arg'" ;; + esac + fi +done +if $ac_cache_corrupted; then + { $as_echo "$as_me:${as_lineno-2725}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} + { $as_echo "$as_me:${as_lineno-2727}: error: changes in the environment can compromise the build" >&5 +$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} + as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "2729" 5 +fi +## -------------------- ## +## Main body of script. ## +## -------------------- ## + +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + + + + + + +# Save this value here, since automake will set cflags later +cflags_set=${CFLAGS+set} + +am__api_version="1.8" +ac_aux_dir= +for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do + for ac_t in install-sh install.sh shtool; do + if test -f "$ac_dir/$ac_t"; then + ac_aux_dir=$ac_dir + ac_install_sh="$ac_aux_dir/$ac_t -c" + break 2 + fi + done +done +if test -z "$ac_aux_dir"; then + as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "2761" 5 +fi + +# These three variables are undocumented and unsupported, +# and are intended to be withdrawn in a future Autoconf release. +# They can cause serious problems if a builder's source tree is in a directory +# whose full name contains unusual characters. +ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. +ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. +ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. + + +# Find a good install program. We prefer a C program (faster), +# so one script is as good as another. But avoid the broken or +# incompatible versions: +# SysV /etc/install, /usr/sbin/install +# SunOS /usr/etc/install +# IRIX /sbin/install +# AIX /bin/install +# AmigaOS /C/install, which installs bootblocks on floppy discs +# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag +# AFS /usr/afsws/bin/install, which mishandles nonexistent args +# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" +# OS/2's system install, which has a completely different semantic +# ./install, which can be erroneously created by make from ./install.sh. +# Reject install programs that cannot install multiple files. +{ $as_echo "$as_me:${as_lineno-2787}: checking for a BSD-compatible install" >&5 +$as_echo_n "checking for a BSD-compatible install... " >&6; } +if test -z "$INSTALL"; then +if test "${ac_cv_path_install+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + # Account for people who put trailing slashes in PATH elements. +case $as_dir/ in #(( + ./ | .// | /[cC]/* | \ + /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ + ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ + /usr/ucb/* ) ;; + *) + # OSF1 and SCO ODT 3.0 have their own names for install. + # Don't use installbsd from OSF since it installs stuff as root + # by default. + for ac_prog in ginstall scoinst install; do + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then + if test $ac_prog = install && + grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then + # AIX install. It has an incompatible calling convention. + : + elif test $ac_prog = install && + grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then + # program-specific install script used by HP pwplus--don't use. + : + else + rm -rf conftest.one conftest.two conftest.dir + echo one > conftest.one + echo two > conftest.two + mkdir conftest.dir + if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && + test -s conftest.one && test -s conftest.two && + test -s conftest.dir/conftest.one && + test -s conftest.dir/conftest.two + then + ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" + break 3 + fi + fi + fi + done + done + ;; +esac + + done +IFS=$as_save_IFS + +rm -rf conftest.one conftest.two conftest.dir + +fi + if test "${ac_cv_path_install+set}" = set; then + INSTALL=$ac_cv_path_install + else + # As a last resort, use the slow shell script. Don't cache a + # value for INSTALL within a source directory, because that will + # break other packages using the cache if that directory is + # removed, or if the value is a relative name. + INSTALL=$ac_install_sh + fi +fi +{ $as_echo "$as_me:${as_lineno-2855}: result: $INSTALL" >&5 +$as_echo "$INSTALL" >&6; } + +# Use test -z because SunOS4 sh mishandles braces in ${var-val}. +# It thinks the first close brace ends the variable substitution. +test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' + +test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' + +test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' + +{ $as_echo "$as_me:${as_lineno-2866}: checking whether build environment is sane" >&5 +$as_echo_n "checking whether build environment is sane... " >&6; } +# Just in case +sleep 1 +echo timestamp > conftest.file +# Do `set' in a subshell so we don't clobber the current shell's +# arguments. Must try -L first in case configure is actually a +# symlink; some systems play weird games with the mod time of symlinks +# (eg FreeBSD returns the mod time of the symlink's containing +# directory). +if ( + set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` + if test "$*" = "X"; then + # -L didn't work. + set X `ls -t $srcdir/configure conftest.file` + fi + rm -f conftest.file + if test "$*" != "X $srcdir/configure conftest.file" \ + && test "$*" != "X conftest.file $srcdir/configure"; then + + # If neither matched, then we have a broken ls. This can happen + # if, for instance, CONFIG_SHELL is bash and it inherits a + # broken ls alias from the environment. This has actually + # happened. Such a system could not be considered "sane". + as_fn_error "ls -t appears to fail. Make sure there is not a broken +alias in your environment" "2891" 5 + fi + + test "$2" = conftest.file + ) +then + # Ok. + : +else + as_fn_error "newly created file is older than distributed files! +Check your system clock" "2901" 5 +fi +{ $as_echo "$as_me:${as_lineno-2903}: result: yes" >&5 +$as_echo "yes" >&6; } +test "$program_prefix" != NONE && + program_transform_name="s&^&$program_prefix&;$program_transform_name" +# Use a double $ so make ignores it. +test "$program_suffix" != NONE && + program_transform_name="s&\$&$program_suffix&;$program_transform_name" +# Double any \ or $. +# By default was `s,x,x', remove it if useless. +ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' +program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` + +# expand $ac_aux_dir to an absolute path +am_aux_dir=`cd $ac_aux_dir && pwd` + +test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" +# Use eval to expand $SHELL +if eval "$MISSING --run true"; then + am_missing_run="$MISSING --run " +else + am_missing_run= + { $as_echo "$as_me:${as_lineno-2924}: WARNING: \`missing' script is too old or missing" >&5 +$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} +fi + +if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then + # Keeping the `.' argument allows $(mkdir_p) to be used without + # argument. Indeed, we sometimes output rules like + # $(mkdir_p) $(somedir) + # where $(somedir) is conditionally defined. + # (`test -n '$(somedir)' && $(mkdir_p) $(somedir)' is a more + # expensive solution, as it forces Make to start a sub-shell.) + mkdir_p='mkdir -p -- .' +else + # On NextStep and OpenStep, the `mkdir' command does not + # recognize any option. It will interpret all options as + # directories to create, and then abort because `.' already + # exists. + for d in ./-p ./--version; + do + test -d $d && rmdir $d + done + # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists. + if test -f "$ac_aux_dir/mkinstalldirs"; then + mkdir_p='$(mkinstalldirs)' + else + mkdir_p='$(install_sh) -d' + fi +fi + +for ac_prog in gawk mawk nawk awk +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-2957}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if test "${ac_cv_prog_AWK+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$AWK"; then + ac_cv_prog_AWK="$AWK" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_AWK="$ac_prog" + $as_echo "$as_me:${as_lineno-2973}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +AWK=$ac_cv_prog_AWK +if test -n "$AWK"; then + { $as_echo "$as_me:${as_lineno-2984}: result: $AWK" >&5 +$as_echo "$AWK" >&6; } +else + { $as_echo "$as_me:${as_lineno-2987}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$AWK" && break +done + +{ $as_echo "$as_me:${as_lineno-2995}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 +$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } +set x ${MAKE-make} +ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` +if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then : + $as_echo_n "(cached) " >&6 +else + cat >conftest.make <<\_ACEOF +SHELL = /bin/sh +all: + @echo '@@@%%%=$(MAKE)=@@@%%%' +_ACEOF +# GNU make sometimes prints "make[1]: Entering...", which would confuse us. +case `${MAKE-make} -f conftest.make 2>/dev/null` in + *@@@%%%=?*=@@@%%%*) + eval ac_cv_prog_make_${ac_make}_set=yes;; + *) + eval ac_cv_prog_make_${ac_make}_set=no;; +esac +rm -f conftest.make +fi +if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then + { $as_echo "$as_me:${as_lineno-3017}: result: yes" >&5 +$as_echo "yes" >&6; } + SET_MAKE= +else + { $as_echo "$as_me:${as_lineno-3021}: result: no" >&5 +$as_echo "no" >&6; } + SET_MAKE="MAKE=${MAKE-make}" +fi + +rm -rf .tst 2>/dev/null +mkdir .tst 2>/dev/null +if test -d .tst; then + am__leading_dot=. +else + am__leading_dot=_ +fi +rmdir .tst 2>/dev/null + +# test to see if srcdir already configured +if test "`cd $srcdir && pwd`" != "`pwd`" && + test -f $srcdir/config.status; then + as_fn_error "source directory already configured; run \"make distclean\" there first" "3038" 5 +fi + +# test whether we have cygpath +if test -z "$CYGPATH_W"; then + if (cygpath --version) >/dev/null 2>/dev/null; then + CYGPATH_W='cygpath -w' + else + CYGPATH_W=echo + fi +fi + + +# Define the identity of the package. + PACKAGE='libusb' + VERSION='0.1.12' + + +cat >>confdefs.h <<_ACEOF +#define PACKAGE "$PACKAGE" +_ACEOF + + +cat >>confdefs.h <<_ACEOF +#define VERSION "$VERSION" +_ACEOF + +# Some tools Automake needs. + +ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} + + +AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} + + +AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} + + +AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} + + +MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} + + +AMTAR=${AMTAR-"${am_missing_run}tar"} + +install_sh=${install_sh-"$am_aux_dir/install-sh"} + +# Installed binaries are usually stripped using `strip' when the user +# run `make install-strip'. However `strip' might not be the right +# tool to use in cross-compilation environments, therefore Automake +# will honor the `STRIP' environment variable to overrule this program. +if test "$cross_compiling" != no; then + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. +set dummy ${ac_tool_prefix}strip; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-3094}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if test "${ac_cv_prog_STRIP+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$STRIP"; then + ac_cv_prog_STRIP="$STRIP" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_STRIP="${ac_tool_prefix}strip" + $as_echo "$as_me:${as_lineno-3110}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +STRIP=$ac_cv_prog_STRIP +if test -n "$STRIP"; then + { $as_echo "$as_me:${as_lineno-3121}: result: $STRIP" >&5 +$as_echo "$STRIP" >&6; } +else + { $as_echo "$as_me:${as_lineno-3124}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_STRIP"; then + ac_ct_STRIP=$STRIP + # Extract the first word of "strip", so it can be a program name with args. +set dummy strip; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-3134}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_STRIP"; then + ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_ac_ct_STRIP="strip" + $as_echo "$as_me:${as_lineno-3150}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP +if test -n "$ac_ct_STRIP"; then + { $as_echo "$as_me:${as_lineno-3161}: result: $ac_ct_STRIP" >&5 +$as_echo "$ac_ct_STRIP" >&6; } +else + { $as_echo "$as_me:${as_lineno-3164}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_ct_STRIP" = x; then + STRIP=":" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-3173}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + STRIP=$ac_ct_STRIP + fi +else + STRIP="$ac_cv_prog_STRIP" +fi + +fi +INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" + +# We need awk for the "check" target. The system "awk" is bad on +# some platforms. + + + + +LIBUSB_VERSION=$VERSION + +# +# The following version number definitions apply to libusb +# as a whole, so if changes occoured in any of them, they are all +# treated with the same interface and binary age. +# +# Making releases: +# LIBUSB_MICRO_VERSION += 1; +# LIBUSB_INTERFACE_AGE += 1; +# LIBUSB_BINARY_AGE += 1; +# if any functions have been added, set LIBUSB_INTERFACE_AGE to 0. +# if backwards compatibility has been broken, +# set LIBUSB_BINARY_AGE _and_ LIBUSB_INTERFACE_AGE to 0. +# +LIBUSB_MAJOR_VERSION=0 +LIBUSB_MINOR_VERSION=1 +LIBUSB_MICRO_VERSION=12 +LIBUSB_INTERFACE_AGE=4 +LIBUSB_BINARY_AGE=8 + + + + + + + + +cat >>confdefs.h <<_ACEOF +#define LIBUSB_MAJOR_VERSION $LIBUSB_MAJOR_VERSION +_ACEOF + +cat >>confdefs.h <<_ACEOF +#define LIBUSB_MINOR_VERSION $LIBUSB_MINOR_VERSION +_ACEOF + +cat >>confdefs.h <<_ACEOF +#define LIBUSB_MICRO_VERSION $LIBUSB_MICRO_VERSION +_ACEOF + +cat >>confdefs.h <<_ACEOF +#define LIBUSB_INTERFACE_AGE $LIBUSB_INTERFACE_AGE +_ACEOF + +cat >>confdefs.h <<_ACEOF +#define LIBUSB_BINARY_AGE $LIBUSB_BINARY_AGE +_ACEOF + + +# libtool versioning +# JR: Add support for MICRO_VERSION to be alpha-numeric. This will make +# lt_current use the numeric part of MICRO_VERSION + +LIBUSB_MICRO_VERSION_NUM=`echo $LIBUSB_MICRO_VERSION | sed 's/[a-zA-Z]//g'` +LT_RELEASE=$LIBUSB_MAJOR_VERSION.$LIBUSB_MINOR_VERSION +LT_CURRENT=`expr $LIBUSB_MICRO_VERSION_NUM - $LIBUSB_INTERFACE_AGE` +LT_REVISION=$LIBUSB_INTERFACE_AGE +LT_AGE=`expr $LIBUSB_BINARY_AGE - $LIBUSB_INTERFACE_AGE` + + + + + +ac_config_headers="$ac_config_headers config.h" + + +# Check whether --enable-shared was given. +if test "${enable_shared+set}" = set; then : + enableval=$enable_shared; p=${PACKAGE-default} + case $enableval in + yes) enable_shared=yes ;; + no) enable_shared=no ;; + *) + enable_shared=no + # Look at the argument we got. We use all the common list separators. + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," + for pkg in $enableval; do + IFS="$lt_save_ifs" + if test "X$pkg" = "X$p"; then + enable_shared=yes + fi + done + IFS="$lt_save_ifs" + ;; + esac +else + enable_shared=yes +fi + + +# Check whether --enable-static was given. +if test "${enable_static+set}" = set; then : + enableval=$enable_static; p=${PACKAGE-default} + case $enableval in + yes) enable_static=yes ;; + no) enable_static=no ;; + *) + enable_static=no + # Look at the argument we got. We use all the common list separators. + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," + for pkg in $enableval; do + IFS="$lt_save_ifs" + if test "X$pkg" = "X$p"; then + enable_static=yes + fi + done + IFS="$lt_save_ifs" + ;; + esac +else + enable_static=yes +fi + + +# Check whether --enable-fast-install was given. +if test "${enable_fast_install+set}" = set; then : + enableval=$enable_fast_install; p=${PACKAGE-default} + case $enableval in + yes) enable_fast_install=yes ;; + no) enable_fast_install=no ;; + *) + enable_fast_install=no + # Look at the argument we got. We use all the common list separators. + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," + for pkg in $enableval; do + IFS="$lt_save_ifs" + if test "X$pkg" = "X$p"; then + enable_fast_install=yes + fi + done + IFS="$lt_save_ifs" + ;; + esac +else + enable_fast_install=yes +fi + + +# Make sure we can run config.sub. +$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || + as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "3332" 5 + +{ $as_echo "$as_me:${as_lineno-3334}: checking build system type" >&5 +$as_echo_n "checking build system type... " >&6; } +if test "${ac_cv_build+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + ac_build_alias=$build_alias +test "x$ac_build_alias" = x && + ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` +test "x$ac_build_alias" = x && + as_fn_error "cannot guess build type; you must specify one" "3343" 5 +ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || + as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "3345" 5 + +fi +{ $as_echo "$as_me:${as_lineno-3348}: result: $ac_cv_build" >&5 +$as_echo "$ac_cv_build" >&6; } +case $ac_cv_build in +*-*-*) ;; +*) as_fn_error "invalid value of canonical build" "3352" 5;; +esac +build=$ac_cv_build +ac_save_IFS=$IFS; IFS='-' +set x $ac_cv_build +shift +build_cpu=$1 +build_vendor=$2 +shift; shift +# Remember, the first character of IFS is used to create $*, +# except with old shells: +build_os=$* +IFS=$ac_save_IFS +case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac + + +{ $as_echo "$as_me:${as_lineno-3368}: checking host system type" >&5 +$as_echo_n "checking host system type... " >&6; } +if test "${ac_cv_host+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if test "x$host_alias" = x; then + ac_cv_host=$ac_cv_build +else + ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || + as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "3377" 5 +fi + +fi +{ $as_echo "$as_me:${as_lineno-3381}: result: $ac_cv_host" >&5 +$as_echo "$ac_cv_host" >&6; } +case $ac_cv_host in +*-*-*) ;; +*) as_fn_error "invalid value of canonical host" "3385" 5;; +esac +host=$ac_cv_host +ac_save_IFS=$IFS; IFS='-' +set x $ac_cv_host +shift +host_cpu=$1 +host_vendor=$2 +shift; shift +# Remember, the first character of IFS is used to create $*, +# except with old shells: +host_os=$* +IFS=$ac_save_IFS +case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac + + +DEPDIR="${am__leading_dot}deps" + +ac_config_commands="$ac_config_commands depfiles" + + +am_make=${MAKE-make} +cat > confinc << 'END' +am__doit: + @echo done +.PHONY: am__doit +END +# If we don't find an include directive, just comment out the code. +{ $as_echo "$as_me:${as_lineno-3413}: checking for style of include used by $am_make" >&5 +$as_echo_n "checking for style of include used by $am_make... " >&6; } +am__include="#" +am__quote= +_am_result=none +# First try GNU make style include. +echo "include confinc" > confmf +# We grep out `Entering directory' and `Leaving directory' +# messages which can occur if `w' ends up in MAKEFLAGS. +# In particular we don't look at `^make:' because GNU make might +# be invoked under some other name (usually "gmake"), in which +# case it prints its new name instead of `make'. +if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then + am__include=include + am__quote= + _am_result=GNU +fi +# Now try BSD make style include. +if test "$am__include" = "#"; then + echo '.include "confinc"' > confmf + if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then + am__include=.include + am__quote="\"" + _am_result=BSD + fi +fi + + +{ $as_echo "$as_me:${as_lineno-3441}: result: $_am_result" >&5 +$as_echo "$_am_result" >&6; } +rm -f confinc confmf + +# Check whether --enable-dependency-tracking was given. +if test "${enable_dependency_tracking+set}" = set; then : + enableval=$enable_dependency_tracking; +fi + +if test "x$enable_dependency_tracking" != xno; then + am_depcomp="$ac_aux_dir/depcomp" + AMDEPBACKSLASH='\' +fi + + +if test "x$enable_dependency_tracking" != xno; then + AMDEP_TRUE= + AMDEP_FALSE='#' +else + AMDEP_TRUE='#' + AMDEP_FALSE= +fi + + + +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu +if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. +set dummy ${ac_tool_prefix}gcc; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-3474}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if test "${ac_cv_prog_CC+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$CC"; then + ac_cv_prog_CC="$CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_CC="${ac_tool_prefix}gcc" + $as_echo "$as_me:${as_lineno-3490}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +CC=$ac_cv_prog_CC +if test -n "$CC"; then + { $as_echo "$as_me:${as_lineno-3501}: result: $CC" >&5 +$as_echo "$CC" >&6; } +else + { $as_echo "$as_me:${as_lineno-3504}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_CC"; then + ac_ct_CC=$CC + # Extract the first word of "gcc", so it can be a program name with args. +set dummy gcc; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-3514}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_CC"; then + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_ac_ct_CC="gcc" + $as_echo "$as_me:${as_lineno-3530}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_CC=$ac_cv_prog_ac_ct_CC +if test -n "$ac_ct_CC"; then + { $as_echo "$as_me:${as_lineno-3541}: result: $ac_ct_CC" >&5 +$as_echo "$ac_ct_CC" >&6; } +else + { $as_echo "$as_me:${as_lineno-3544}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_ct_CC" = x; then + CC="" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-3553}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + CC=$ac_ct_CC + fi +else + CC="$ac_cv_prog_CC" +fi + +if test -z "$CC"; then + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. +set dummy ${ac_tool_prefix}cc; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-3567}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if test "${ac_cv_prog_CC+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$CC"; then + ac_cv_prog_CC="$CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_CC="${ac_tool_prefix}cc" + $as_echo "$as_me:${as_lineno-3583}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +CC=$ac_cv_prog_CC +if test -n "$CC"; then + { $as_echo "$as_me:${as_lineno-3594}: result: $CC" >&5 +$as_echo "$CC" >&6; } +else + { $as_echo "$as_me:${as_lineno-3597}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + fi +fi +if test -z "$CC"; then + # Extract the first word of "cc", so it can be a program name with args. +set dummy cc; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-3607}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if test "${ac_cv_prog_CC+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$CC"; then + ac_cv_prog_CC="$CC" # Let the user override the test. +else + ac_prog_rejected=no +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then + ac_prog_rejected=yes + continue + fi + ac_cv_prog_CC="cc" + $as_echo "$as_me:${as_lineno-3628}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +if test $ac_prog_rejected = yes; then + # We found a bogon in the path, so make sure we never use it. + set dummy $ac_cv_prog_CC + shift + if test $# != 0; then + # We chose a different compiler from the bogus one. + # However, it has the same basename, so the bogon will be chosen + # first if we set CC to just the basename; use the full file name. + shift + ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" + fi +fi +fi +fi +CC=$ac_cv_prog_CC +if test -n "$CC"; then + { $as_echo "$as_me:${as_lineno-3651}: result: $CC" >&5 +$as_echo "$CC" >&6; } +else + { $as_echo "$as_me:${as_lineno-3654}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$CC"; then + if test -n "$ac_tool_prefix"; then + for ac_prog in cl.exe + do + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. +set dummy $ac_tool_prefix$ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-3666}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if test "${ac_cv_prog_CC+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$CC"; then + ac_cv_prog_CC="$CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_CC="$ac_tool_prefix$ac_prog" + $as_echo "$as_me:${as_lineno-3682}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +CC=$ac_cv_prog_CC +if test -n "$CC"; then + { $as_echo "$as_me:${as_lineno-3693}: result: $CC" >&5 +$as_echo "$CC" >&6; } +else + { $as_echo "$as_me:${as_lineno-3696}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$CC" && break + done +fi +if test -z "$CC"; then + ac_ct_CC=$CC + for ac_prog in cl.exe +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-3710}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_CC"; then + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_ac_ct_CC="$ac_prog" + $as_echo "$as_me:${as_lineno-3726}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_CC=$ac_cv_prog_ac_ct_CC +if test -n "$ac_ct_CC"; then + { $as_echo "$as_me:${as_lineno-3737}: result: $ac_ct_CC" >&5 +$as_echo "$ac_ct_CC" >&6; } +else + { $as_echo "$as_me:${as_lineno-3740}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$ac_ct_CC" && break +done + + if test "x$ac_ct_CC" = x; then + CC="" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-3753}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + CC=$ac_ct_CC + fi +fi + +fi + + +test -z "$CC" && { { $as_echo "$as_me:${as_lineno-3764}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error "no acceptable C compiler found in \$PATH +See \`config.log' for more details." "3767" 5; } + +# Provide some information about the compiler. +$as_echo "$as_me:${as_lineno-3770}: checking for C compiler version" >&5 +set X $ac_compile +ac_compiler=$2 +for ac_option in --version -v -V -qversion; do + { { ac_try="$ac_compiler $ac_option >&5" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-3779}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_compiler $ac_option >&5") 2>conftest.err + ac_status=$? + if test -s conftest.err; then + sed '10a\ +... rest of stderr output deleted ... + 10q' conftest.err >conftest.er1 + cat conftest.er1 >&5 + fi + rm -f conftest.er1 conftest.err + $as_echo "$as_me:${as_lineno-3790}: \$? = $ac_status" >&5 + test $ac_status = 0; } +done + +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +ac_clean_files_save=$ac_clean_files +ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" +# Try to create an executable without -o first, disregard a.out. +# It will help us diagnose broken compilers, and finding out an intuition +# of exeext. +{ $as_echo "$as_me:${as_lineno-3810}: checking whether the C compiler works" >&5 +$as_echo_n "checking whether the C compiler works... " >&6; } +ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` + +# The possible output files: +ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" + +ac_rmfiles= +for ac_file in $ac_files +do + case $ac_file in + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; + * ) ac_rmfiles="$ac_rmfiles $ac_file";; + esac +done +rm -f $ac_rmfiles + +if { { ac_try="$ac_link_default" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-3832}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_link_default") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-3836}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then : + # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. +# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' +# in a Makefile. We should not override ac_cv_exeext if it was cached, +# so that the user can short-circuit this test for compilers unknown to +# Autoconf. +for ac_file in $ac_files '' +do + test -f "$ac_file" || continue + case $ac_file in + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) + ;; + [ab].out ) + # We found the default executable, but exeext='' is most + # certainly right. + break;; + *.* ) + if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; + then :; else + ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` + fi + # We set ac_cv_exeext here because the later test for it is not + # safe: cross compilers may not add the suffix if given an `-o' + # argument, so we may need to know it at that point already. + # Even if this section looks crufty: it has the advantage of + # actually working. + break;; + * ) + break;; + esac +done +test "$ac_cv_exeext" = no && ac_cv_exeext= + +else + ac_file='' +fi +if test -z "$ac_file"; then : + { $as_echo "$as_me:${as_lineno-3874}: result: no" >&5 +$as_echo "no" >&6; } +$as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +{ { $as_echo "$as_me:${as_lineno-3879}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +{ as_fn_set_status 77 +as_fn_error "C compiler cannot create executables +See \`config.log' for more details." "3883" 5; }; } +else + { $as_echo "$as_me:${as_lineno-3885}: result: yes" >&5 +$as_echo "yes" >&6; } +fi +{ $as_echo "$as_me:${as_lineno-3888}: checking for C compiler default output file name" >&5 +$as_echo_n "checking for C compiler default output file name... " >&6; } +{ $as_echo "$as_me:${as_lineno-3890}: result: $ac_file" >&5 +$as_echo "$ac_file" >&6; } +ac_exeext=$ac_cv_exeext + +rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out +ac_clean_files=$ac_clean_files_save +{ $as_echo "$as_me:${as_lineno-3896}: checking for suffix of executables" >&5 +$as_echo_n "checking for suffix of executables... " >&6; } +if { { ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-3903}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_link") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-3907}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then : + # If both `conftest.exe' and `conftest' are `present' (well, observable) +# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will +# work properly (i.e., refer to `conftest.exe'), while it won't with +# `rm'. +for ac_file in conftest.exe conftest conftest.*; do + test -f "$ac_file" || continue + case $ac_file in + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; + *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` + break;; + * ) break;; + esac +done +else + { { $as_echo "$as_me:${as_lineno-3923}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error "cannot compute suffix of executables: cannot compile and link +See \`config.log' for more details." "3926" 5; } +fi +rm -f conftest conftest$ac_cv_exeext +{ $as_echo "$as_me:${as_lineno-3929}: result: $ac_cv_exeext" >&5 +$as_echo "$ac_cv_exeext" >&6; } + +rm -f conftest.$ac_ext +EXEEXT=$ac_cv_exeext +ac_exeext=$EXEEXT +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +int +main () +{ +FILE *f = fopen ("conftest.out", "w"); + return ferror (f) || fclose (f) != 0; + + ; + return 0; +} +_ACEOF +ac_clean_files="$ac_clean_files conftest.out" +# Check that the compiler produces executables we can run. If not, either +# the compiler is broken, or we cross compile. +{ $as_echo "$as_me:${as_lineno-3951}: checking whether we are cross compiling" >&5 +$as_echo_n "checking whether we are cross compiling... " >&6; } +if test "$cross_compiling" != yes; then + { { ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-3959}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_link") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-3963}: \$? = $ac_status" >&5 + test $ac_status = 0; } + if { ac_try='./conftest$ac_cv_exeext' + { { case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-3970}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_try") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-3974}: \$? = $ac_status" >&5 + test $ac_status = 0; }; }; then + cross_compiling=no + else + if test "$cross_compiling" = maybe; then + cross_compiling=yes + else + { { $as_echo "$as_me:${as_lineno-3981}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error "cannot run C compiled programs. +If you meant to cross compile, use \`--host'. +See \`config.log' for more details." "3985" 5; } + fi + fi +fi +{ $as_echo "$as_me:${as_lineno-3989}: result: $cross_compiling" >&5 +$as_echo "$cross_compiling" >&6; } + +rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out +ac_clean_files=$ac_clean_files_save +{ $as_echo "$as_me:${as_lineno-3994}: checking for suffix of object files" >&5 +$as_echo_n "checking for suffix of object files... " >&6; } +if test "${ac_cv_objext+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +rm -f conftest.o conftest.obj +if { { ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-4016}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_compile") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-4020}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then : + for ac_file in conftest.o conftest.obj conftest.*; do + test -f "$ac_file" || continue; + case $ac_file in + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; + *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` + break;; + esac +done +else + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +{ { $as_echo "$as_me:${as_lineno-4034}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error "cannot compute suffix of object files: cannot compile +See \`config.log' for more details." "4037" 5; } +fi +rm -f conftest.$ac_cv_objext conftest.$ac_ext +fi +{ $as_echo "$as_me:${as_lineno-4041}: result: $ac_cv_objext" >&5 +$as_echo "$ac_cv_objext" >&6; } +OBJEXT=$ac_cv_objext +ac_objext=$OBJEXT +{ $as_echo "$as_me:${as_lineno-4045}: checking whether we are using the GNU C compiler" >&5 +$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } +if test "${ac_cv_c_compiler_gnu+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ +#ifndef __GNUC__ + choke me +#endif + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "4064"; then : + ac_compiler_gnu=yes +else + ac_compiler_gnu=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +ac_cv_c_compiler_gnu=$ac_compiler_gnu + +fi +{ $as_echo "$as_me:${as_lineno-4073}: result: $ac_cv_c_compiler_gnu" >&5 +$as_echo "$ac_cv_c_compiler_gnu" >&6; } +if test $ac_compiler_gnu = yes; then + GCC=yes +else + GCC= +fi +ac_test_CFLAGS=${CFLAGS+set} +ac_save_CFLAGS=$CFLAGS +{ $as_echo "$as_me:${as_lineno-4082}: checking whether $CC accepts -g" >&5 +$as_echo_n "checking whether $CC accepts -g... " >&6; } +if test "${ac_cv_prog_cc_g+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + ac_save_c_werror_flag=$ac_c_werror_flag + ac_c_werror_flag=yes + ac_cv_prog_cc_g=no + CFLAGS="-g" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "4102"; then : + ac_cv_prog_cc_g=yes +else + CFLAGS="" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "4117"; then : + +else + ac_c_werror_flag=$ac_save_c_werror_flag + CFLAGS="-g" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "4133"; then : + ac_cv_prog_cc_g=yes +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + ac_c_werror_flag=$ac_save_c_werror_flag +fi +{ $as_echo "$as_me:${as_lineno-4143}: result: $ac_cv_prog_cc_g" >&5 +$as_echo "$ac_cv_prog_cc_g" >&6; } +if test "$ac_test_CFLAGS" = set; then + CFLAGS=$ac_save_CFLAGS +elif test $ac_cv_prog_cc_g = yes; then + if test "$GCC" = yes; then + CFLAGS="-g -O2" + else + CFLAGS="-g" + fi +else + if test "$GCC" = yes; then + CFLAGS="-O2" + else + CFLAGS= + fi +fi +{ $as_echo "$as_me:${as_lineno-4160}: checking for $CC option to accept ISO C89" >&5 +$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } +if test "${ac_cv_prog_cc_c89+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + ac_cv_prog_cc_c89=no +ac_save_CC=$CC +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +#include +#include +#include +/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ +struct buf { int x; }; +FILE * (*rcsopen) (struct buf *, struct stat *, int); +static char *e (p, i) + char **p; + int i; +{ + return p[i]; +} +static char *f (char * (*g) (char **, int), char **p, ...) +{ + char *s; + va_list v; + va_start (v,p); + s = g (p, va_arg (v,int)); + va_end (v); + return s; +} + +/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has + function prototypes and stuff, but not '\xHH' hex character constants. + These don't provoke an error unfortunately, instead are silently treated + as 'x'. The following induces an error, until -std is added to get + proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an + array size at least. It's necessary to write '\x00'==0 to get something + that's true only with -std. */ +int osf4_cc_array ['\x00' == 0 ? 1 : -1]; + +/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters + inside strings and character constants. */ +#define FOO(x) 'x' +int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; + +int test (int i, double x); +struct s1 {int (*f) (int a);}; +struct s2 {int (*f) (double a);}; +int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); +int argc; +char **argv; +int +main () +{ +return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; + ; + return 0; +} +_ACEOF +for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ + -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" +do + CC="$ac_save_CC $ac_arg" + if ac_fn_c_try_compile "4224"; then : + ac_cv_prog_cc_c89=$ac_arg +fi +rm -f core conftest.err conftest.$ac_objext + test "x$ac_cv_prog_cc_c89" != "xno" && break +done +rm -f conftest.$ac_ext +CC=$ac_save_CC + +fi +# AC_CACHE_VAL +case "x$ac_cv_prog_cc_c89" in + x) + { $as_echo "$as_me:${as_lineno-4237}: result: none needed" >&5 +$as_echo "none needed" >&6; } ;; + xno) + { $as_echo "$as_me:${as_lineno-4240}: result: unsupported" >&5 +$as_echo "unsupported" >&6; } ;; + *) + CC="$CC $ac_cv_prog_cc_c89" + { $as_echo "$as_me:${as_lineno-4244}: result: $ac_cv_prog_cc_c89" >&5 +$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; +esac +if test "x$ac_cv_prog_cc_c89" != xno; then : + +fi + +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + +depcc="$CC" am_compiler_list= + +{ $as_echo "$as_me:${as_lineno-4259}: checking dependency style of $depcc" >&5 +$as_echo_n "checking dependency style of $depcc... " >&6; } +if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then + # We make a subdir and do the tests there. Otherwise we can end up + # making bogus files that we don't know about and never remove. For + # instance it was reported that on HP-UX the gcc test will end up + # making a dummy file named `D' -- because `-MD' means `put the output + # in D'. + mkdir conftest.dir + # Copy depcomp to subdir because otherwise we won't find it if we're + # using a relative directory. + cp "$am_depcomp" conftest.dir + cd conftest.dir + # We will build objects and dependencies in a subdirectory because + # it helps to detect inapplicable dependency modes. For instance + # both Tru64's cc and ICC support -MD to output dependencies as a + # side effect of compilation, but ICC will put the dependencies in + # the current directory while Tru64 will put them in the object + # directory. + mkdir sub + + am_cv_CC_dependencies_compiler_type=none + if test "$am_compiler_list" = ""; then + am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` + fi + for depmode in $am_compiler_list; do + # Setup a source with many dependencies, because some compilers + # like to wrap large dependency lists on column 80 (with \), and + # we should not choose a depcomp mode which is confused by this. + # + # We need to recreate these files for each test, as the compiler may + # overwrite some of them when testing with obscure command lines. + # This happens at least with the AIX C compiler. + : > sub/conftest.c + for i in 1 2 3 4 5 6; do + echo '#include "conftst'$i'.h"' >> sub/conftest.c + # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with + # Solaris 8's {/usr,}/bin/sh. + touch sub/conftst$i.h + done + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf + + case $depmode in + nosideeffect) + # after this tag, mechanisms are not by side-effect, so they'll + # only be used when explicitly requested + if test "x$enable_dependency_tracking" = xyes; then + continue + else + break + fi + ;; + none) break ;; + esac + # We check with `-c' and `-o' for the sake of the "dashmstdout" + # mode. It turns out that the SunPro C++ compiler does not properly + # handle `-M -o', and we need to detect this. + if depmode=$depmode \ + source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ + $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ + >/dev/null 2>conftest.err && + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && + grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then + # icc doesn't choke on unknown options, it will just issue warnings + # (even with -Werror). So we grep stderr for any message + # that says an option was ignored. + if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else + am_cv_CC_dependencies_compiler_type=$depmode + break + fi + fi + done + + cd .. + rm -rf conftest.dir +else + am_cv_CC_dependencies_compiler_type=none +fi + +fi +{ $as_echo "$as_me:${as_lineno-4344}: result: $am_cv_CC_dependencies_compiler_type" >&5 +$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } +CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type + + + +if + test "x$enable_dependency_tracking" != xno \ + && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then + am__fastdepCC_TRUE= + am__fastdepCC_FALSE='#' +else + am__fastdepCC_TRUE='#' + am__fastdepCC_FALSE= +fi + + +{ $as_echo "$as_me:${as_lineno-4361}: checking for a sed that does not truncate output" >&5 +$as_echo_n "checking for a sed that does not truncate output... " >&6; } +if test "${lt_cv_path_SED+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + # Loop through the user's path and test for sed and gsed. +# Then use that list of sed's as ones to test for truncation. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for lt_ac_prog in sed gsed; do + for ac_exec_ext in '' $ac_executable_extensions; do + if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then + lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext" + fi + done + done +done +lt_ac_max=0 +lt_ac_count=0 +# Add /usr/xpg4/bin/sed as it is typically found on Solaris +# along with /bin/sed that truncates output. +for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do + test ! -f $lt_ac_sed && break + cat /dev/null > conftest.in + lt_ac_count=0 + echo $ECHO_N "0123456789$ECHO_C" >conftest.in + # Check for GNU sed and select it if it is found. + if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then + lt_cv_path_SED=$lt_ac_sed + break + fi + while true; do + cat conftest.in conftest.in >conftest.tmp + mv conftest.tmp conftest.in + cp conftest.in conftest.nl + echo >>conftest.nl + $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break + cmp -s conftest.out conftest.nl || break + # 10000 chars as input seems more than enough + test $lt_ac_count -gt 10 && break + lt_ac_count=`expr $lt_ac_count + 1` + if test $lt_ac_count -gt $lt_ac_max; then + lt_ac_max=$lt_ac_count + lt_cv_path_SED=$lt_ac_sed + fi + done +done +SED=$lt_cv_path_SED + +fi + +{ $as_echo "$as_me:${as_lineno-4415}: result: $SED" >&5 +$as_echo "$SED" >&6; } + +{ $as_echo "$as_me:${as_lineno-4418}: checking for grep that handles long lines and -e" >&5 +$as_echo_n "checking for grep that handles long lines and -e... " >&6; } +if test "${ac_cv_path_GREP+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if test -z "$GREP"; then + ac_path_GREP_found=false + # Loop through the user's path and test for each of PROGNAME-LIST + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_prog in grep ggrep; do + for ac_exec_ext in '' $ac_executable_extensions; do + ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" + { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue +# Check for GNU ac_path_GREP and select it if it is found. + # Check for GNU $ac_path_GREP +case `"$ac_path_GREP" --version 2>&1` in +*GNU*) + ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; +*) + ac_count=0 + $as_echo_n 0123456789 >"conftest.in" + while : + do + cat "conftest.in" "conftest.in" >"conftest.tmp" + mv "conftest.tmp" "conftest.in" + cp "conftest.in" "conftest.nl" + $as_echo 'GREP' >> "conftest.nl" + "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break + as_fn_arith $ac_count + 1 && ac_count=$as_val + if test $ac_count -gt ${ac_path_GREP_max-0}; then + # Best one so far, save it but keep looking for a better one + ac_cv_path_GREP="$ac_path_GREP" + ac_path_GREP_max=$ac_count + fi + # 10*(2^10) chars as input seems more than enough + test $ac_count -gt 10 && break + done + rm -f conftest.in conftest.tmp conftest.nl conftest.out;; +esac + + $ac_path_GREP_found && break 3 + done + done + done +IFS=$as_save_IFS + if test -z "$ac_cv_path_GREP"; then + as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "4469" 5 + fi +else + ac_cv_path_GREP=$GREP +fi + +fi +{ $as_echo "$as_me:${as_lineno-4476}: result: $ac_cv_path_GREP" >&5 +$as_echo "$ac_cv_path_GREP" >&6; } + GREP="$ac_cv_path_GREP" + + +{ $as_echo "$as_me:${as_lineno-4481}: checking for egrep" >&5 +$as_echo_n "checking for egrep... " >&6; } +if test "${ac_cv_path_EGREP+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 + then ac_cv_path_EGREP="$GREP -E" + else + if test -z "$EGREP"; then + ac_path_EGREP_found=false + # Loop through the user's path and test for each of PROGNAME-LIST + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_prog in egrep; do + for ac_exec_ext in '' $ac_executable_extensions; do + ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" + { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue +# Check for GNU ac_path_EGREP and select it if it is found. + # Check for GNU $ac_path_EGREP +case `"$ac_path_EGREP" --version 2>&1` in +*GNU*) + ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; +*) + ac_count=0 + $as_echo_n 0123456789 >"conftest.in" + while : + do + cat "conftest.in" "conftest.in" >"conftest.tmp" + mv "conftest.tmp" "conftest.in" + cp "conftest.in" "conftest.nl" + $as_echo 'EGREP' >> "conftest.nl" + "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break + as_fn_arith $ac_count + 1 && ac_count=$as_val + if test $ac_count -gt ${ac_path_EGREP_max-0}; then + # Best one so far, save it but keep looking for a better one + ac_cv_path_EGREP="$ac_path_EGREP" + ac_path_EGREP_max=$ac_count + fi + # 10*(2^10) chars as input seems more than enough + test $ac_count -gt 10 && break + done + rm -f conftest.in conftest.tmp conftest.nl conftest.out;; +esac + + $ac_path_EGREP_found && break 3 + done + done + done +IFS=$as_save_IFS + if test -z "$ac_cv_path_EGREP"; then + as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "4535" 5 + fi +else + ac_cv_path_EGREP=$EGREP +fi + + fi +fi +{ $as_echo "$as_me:${as_lineno-4543}: result: $ac_cv_path_EGREP" >&5 +$as_echo "$ac_cv_path_EGREP" >&6; } + EGREP="$ac_cv_path_EGREP" + + + +# Check whether --with-gnu-ld was given. +if test "${with_gnu_ld+set}" = set; then : + withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes +else + with_gnu_ld=no +fi + +ac_prog=ld +if test "$GCC" = yes; then + # Check if gcc -print-prog-name=ld gives a path. + { $as_echo "$as_me:${as_lineno-4559}: checking for ld used by $CC" >&5 +$as_echo_n "checking for ld used by $CC... " >&6; } + case $host in + *-*-mingw*) + # gcc leaves a trailing carriage return which upsets mingw + ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; + *) + ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; + esac + case $ac_prog in + # Accept absolute paths. + [\\/]* | ?:[\\/]*) + re_direlt='/[^/][^/]*/\.\./' + # Canonicalize the pathname of ld + ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'` + while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do + ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"` + done + test -z "$LD" && LD="$ac_prog" + ;; + "") + # If it fails, then pretend we aren't using GCC. + ac_prog=ld + ;; + *) + # If it is relative, then search for the first ld in PATH. + with_gnu_ld=unknown + ;; + esac +elif test "$with_gnu_ld" = yes; then + { $as_echo "$as_me:${as_lineno-4589}: checking for GNU ld" >&5 +$as_echo_n "checking for GNU ld... " >&6; } +else + { $as_echo "$as_me:${as_lineno-4592}: checking for non-GNU ld" >&5 +$as_echo_n "checking for non-GNU ld... " >&6; } +fi +if test "${lt_cv_path_LD+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if test -z "$LD"; then + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR + for ac_dir in $PATH; do + IFS="$lt_save_ifs" + test -z "$ac_dir" && ac_dir=. + if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then + lt_cv_path_LD="$ac_dir/$ac_prog" + # Check to see if the program is GNU ld. I'd rather use --version, + # but apparently some GNU ld's only accept -v. + # Break only if it was the GNU/non-GNU ld that we prefer. + case `"$lt_cv_path_LD" -v 2>&1 &5 +$as_echo "$LD" >&6; } +else + { $as_echo "$as_me:${as_lineno-4629}: result: no" >&5 +$as_echo "no" >&6; } +fi +test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "4632" 5 +{ $as_echo "$as_me:${as_lineno-4633}: checking if the linker ($LD) is GNU ld" >&5 +$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } +if test "${lt_cv_prog_gnu_ld+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + # I'd rather use --version here, but apparently some GNU ld's only accept -v. +case `$LD -v 2>&1 &5 +$as_echo "$lt_cv_prog_gnu_ld" >&6; } +with_gnu_ld=$lt_cv_prog_gnu_ld + + +{ $as_echo "$as_me:${as_lineno-4653}: checking for $LD option to reload object files" >&5 +$as_echo_n "checking for $LD option to reload object files... " >&6; } +if test "${lt_cv_ld_reload_flag+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + lt_cv_ld_reload_flag='-r' +fi +{ $as_echo "$as_me:${as_lineno-4660}: result: $lt_cv_ld_reload_flag" >&5 +$as_echo "$lt_cv_ld_reload_flag" >&6; } +reload_flag=$lt_cv_ld_reload_flag +case $reload_flag in +"" | " "*) ;; +*) reload_flag=" $reload_flag" ;; +esac +reload_cmds='$LD$reload_flag -o $output$reload_objs' + +{ $as_echo "$as_me:${as_lineno-4669}: checking for BSD-compatible nm" >&5 +$as_echo_n "checking for BSD-compatible nm... " >&6; } +if test "${lt_cv_path_NM+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$NM"; then + # Let the user override the test. + lt_cv_path_NM="$NM" +else + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR + for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do + IFS="$lt_save_ifs" + test -z "$ac_dir" && ac_dir=. + tmp_nm="$ac_dir/${ac_tool_prefix}nm" + if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then + # Check to see if the nm accepts a BSD-compat flag. + # Adding the `sed 1q' prevents false positives on HP-UX, which says: + # nm: unknown option "B" ignored + # Tru64's nm complains that /dev/null is an invalid object file + case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in + */dev/null* | *'Invalid file or object type'*) + lt_cv_path_NM="$tmp_nm -B" + break + ;; + *) + case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in + */dev/null*) + lt_cv_path_NM="$tmp_nm -p" + break + ;; + *) + lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but + continue # so that we can try to find one that supports BSD flags + ;; + esac + esac + fi + done + IFS="$lt_save_ifs" + test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm +fi +fi +{ $as_echo "$as_me:${as_lineno-4711}: result: $lt_cv_path_NM" >&5 +$as_echo "$lt_cv_path_NM" >&6; } +NM="$lt_cv_path_NM" + +{ $as_echo "$as_me:${as_lineno-4715}: checking whether ln -s works" >&5 +$as_echo_n "checking whether ln -s works... " >&6; } +LN_S=$as_ln_s +if test "$LN_S" = "ln -s"; then + { $as_echo "$as_me:${as_lineno-4719}: result: yes" >&5 +$as_echo "yes" >&6; } +else + { $as_echo "$as_me:${as_lineno-4722}: result: no, using $LN_S" >&5 +$as_echo "no, using $LN_S" >&6; } +fi + +{ $as_echo "$as_me:${as_lineno-4726}: checking how to recognise dependent libraries" >&5 +$as_echo_n "checking how to recognise dependent libraries... " >&6; } +if test "${lt_cv_deplibs_check_method+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + lt_cv_file_magic_cmd='$MAGIC_CMD' +lt_cv_file_magic_test_file= +lt_cv_deplibs_check_method='unknown' +# Need to set the preceding variable on all platforms that support +# interlibrary dependencies. +# 'none' -- dependencies not supported. +# `unknown' -- same as none, but documents that we really don't know. +# 'pass_all' -- all dependencies passed with no checks. +# 'test_compile' -- check by making test program. +# 'file_magic [[regex]]' -- check by looking for files in library path +# which responds to the $file_magic_cmd with a given extended regex. +# If you have `file' or equivalent on your system and you're not sure +# whether `pass_all' will *always* work, you probably want this one. + +case $host_os in +aix4* | aix5*) + lt_cv_deplibs_check_method=pass_all + ;; + +beos*) + lt_cv_deplibs_check_method=pass_all + ;; + +bsdi4*) + lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' + lt_cv_file_magic_cmd='/usr/bin/file -L' + lt_cv_file_magic_test_file=/shlib/libc.so + ;; + +cygwin*) + # func_win32_libid is a shell function defined in ltmain.sh + lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' + lt_cv_file_magic_cmd='func_win32_libid' + ;; + +mingw* | pw32*) + # Base MSYS/MinGW do not provide the 'file' command needed by + # func_win32_libid shell function, so use a weaker test based on 'objdump'. + lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?' + lt_cv_file_magic_cmd='$OBJDUMP -f' + ;; + +darwin* | rhapsody*) + lt_cv_deplibs_check_method=pass_all + ;; + +freebsd* | kfreebsd*-gnu) + if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then + case $host_cpu in + i*86 ) + # Not sure whether the presence of OpenBSD here was a mistake. + # Let's accept both of them until this is cleared up. + lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library' + lt_cv_file_magic_cmd=/usr/bin/file + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` + ;; + esac + else + lt_cv_deplibs_check_method=pass_all + fi + ;; + +gnu*) + lt_cv_deplibs_check_method=pass_all + ;; + +hpux10.20* | hpux11*) + lt_cv_file_magic_cmd=/usr/bin/file + case "$host_cpu" in + ia64*) + lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' + lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so + ;; + hppa*64*) + lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]' + lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl + ;; + *) + lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library' + lt_cv_file_magic_test_file=/usr/lib/libc.sl + ;; + esac + ;; + +irix5* | irix6* | nonstopux*) + case $LD in + *-32|*"-32 ") libmagic=32-bit;; + *-n32|*"-n32 ") libmagic=N32;; + *-64|*"-64 ") libmagic=64-bit;; + *) libmagic=never-match;; + esac + lt_cv_deplibs_check_method=pass_all + ;; + +# This must be Linux ELF. +linux*) + case $host_cpu in + alpha*|hppa*|i*86|ia64*|m68*|mips*|powerpc*|sparc*|s390*|sh*|x86_64*) + lt_cv_deplibs_check_method=pass_all ;; + *) + # glibc up to 2.1.1 does not perform some relocations on ARM + # this will be overridden with pass_all, but let us keep it just in case + lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;; + esac + lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so` + lt_cv_deplibs_check_method=pass_all + ;; + +netbsd*) + if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' + else + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' + fi + ;; + +newos6*) + lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' + lt_cv_file_magic_cmd=/usr/bin/file + lt_cv_file_magic_test_file=/usr/lib/libnls.so + ;; + +nto-qnx*) + lt_cv_deplibs_check_method=unknown + ;; + +openbsd*) + lt_cv_file_magic_cmd=/usr/bin/file + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object' + else + lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library' + fi + ;; + +osf3* | osf4* | osf5*) + lt_cv_deplibs_check_method=pass_all + ;; + +sco3.2v5*) + lt_cv_deplibs_check_method=pass_all + ;; + +solaris*) + lt_cv_deplibs_check_method=pass_all + ;; + +sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) + case $host_vendor in + motorola) + lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]' + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` + ;; + ncr) + lt_cv_deplibs_check_method=pass_all + ;; + sequent) + lt_cv_file_magic_cmd='/bin/file' + lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' + ;; + sni) + lt_cv_file_magic_cmd='/bin/file' + lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" + lt_cv_file_magic_test_file=/lib/libc.so + ;; + siemens) + lt_cv_deplibs_check_method=pass_all + ;; + esac + ;; + +sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7* | sysv4*uw2*) + lt_cv_deplibs_check_method=pass_all + ;; +esac + +fi +{ $as_echo "$as_me:${as_lineno-4909}: result: $lt_cv_deplibs_check_method" >&5 +$as_echo "$lt_cv_deplibs_check_method" >&6; } +file_magic_cmd=$lt_cv_file_magic_cmd +deplibs_check_method=$lt_cv_deplibs_check_method +test -z "$deplibs_check_method" && deplibs_check_method=unknown + + + + +# If no C compiler was specified, use CC. +LTCC=${LTCC-"$CC"} + +# Allow CC to be a program name with arguments. +compiler=$CC + + +# Check whether --enable-libtool-lock was given. +if test "${enable_libtool_lock+set}" = set; then : + enableval=$enable_libtool_lock; +fi + +test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes + +# Some flags need to be propagated to the compiler or linker for good +# libtool support. +case $host in +ia64-*-hpux*) + # Find out which ABI we are using. + echo 'int i;' > conftest.$ac_ext + if { { eval echo "\"\$as_me\":${as_lineno-4938}: \"$ac_compile\""; } >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-4941}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + case `/usr/bin/file conftest.$ac_objext` in + *ELF-32*) + HPUX_IA64_MODE="32" + ;; + *ELF-64*) + HPUX_IA64_MODE="64" + ;; + esac + fi + rm -rf conftest* + ;; +*-*-irix6*) + # Find out which ABI we are using. + echo '#line 4956 "configure"' > conftest.$ac_ext + if { { eval echo "\"\$as_me\":${as_lineno-4957}: \"$ac_compile\""; } >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-4960}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + if test "$lt_cv_prog_gnu_ld" = yes; then + case `/usr/bin/file conftest.$ac_objext` in + *32-bit*) + LD="${LD-ld} -melf32bsmip" + ;; + *N32*) + LD="${LD-ld} -melf32bmipn32" + ;; + *64-bit*) + LD="${LD-ld} -melf64bmip" + ;; + esac + else + case `/usr/bin/file conftest.$ac_objext` in + *32-bit*) + LD="${LD-ld} -32" + ;; + *N32*) + LD="${LD-ld} -n32" + ;; + *64-bit*) + LD="${LD-ld} -64" + ;; + esac + fi + fi + rm -rf conftest* + ;; + +x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*) + # Find out which ABI we are using. + echo 'int i;' > conftest.$ac_ext + if { { eval echo "\"\$as_me\":${as_lineno-4994}: \"$ac_compile\""; } >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-4997}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + case "`/usr/bin/file conftest.o`" in + *32-bit*) + case $host in + x86_64-*linux*) + LD="${LD-ld} -m elf_i386" + ;; + ppc64-*linux*|powerpc64-*linux*) + LD="${LD-ld} -m elf32ppclinux" + ;; + s390x-*linux*) + LD="${LD-ld} -m elf_s390" + ;; + sparc64-*linux*) + LD="${LD-ld} -m elf32_sparc" + ;; + esac + ;; + *64-bit*) + case $host in + x86_64-*linux*) + LD="${LD-ld} -m elf_x86_64" + ;; + ppc*-*linux*|powerpc*-*linux*) + LD="${LD-ld} -m elf64ppc" + ;; + s390*-*linux*) + LD="${LD-ld} -m elf64_s390" + ;; + sparc*-*linux*) + LD="${LD-ld} -m elf64_sparc" + ;; + esac + ;; + esac + fi + rm -rf conftest* + ;; + +*-*-sco3.2v5*) + # On SCO OpenServer 5, we need -belf to get full-featured binaries. + SAVE_CFLAGS="$CFLAGS" + CFLAGS="$CFLAGS -belf" + { $as_echo "$as_me:${as_lineno-5041}: checking whether the C compiler needs -belf" >&5 +$as_echo_n "checking whether the C compiler needs -belf... " >&6; } +if test "${lt_cv_cc_needs_belf+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "5063"; then : + lt_cv_cc_needs_belf=yes +else + lt_cv_cc_needs_belf=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + +fi +{ $as_echo "$as_me:${as_lineno-5077}: result: $lt_cv_cc_needs_belf" >&5 +$as_echo "$lt_cv_cc_needs_belf" >&6; } + if test x"$lt_cv_cc_needs_belf" != x"yes"; then + # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf + CFLAGS="$SAVE_CFLAGS" + fi + ;; + +esac + +need_locks="$enable_libtool_lock" + + +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu +{ $as_echo "$as_me:${as_lineno-5095}: checking how to run the C preprocessor" >&5 +$as_echo_n "checking how to run the C preprocessor... " >&6; } +# On Suns, sometimes $CPP names a directory. +if test -n "$CPP" && test -d "$CPP"; then + CPP= +fi +if test -z "$CPP"; then + if test "${ac_cv_prog_CPP+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + # Double quotes because CPP needs to be expanded + for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" + do + ac_preproc_ok=false +for ac_c_preproc_warn_flag in '' yes +do + # Use a header file that comes with gcc, so configuring glibc + # with a fresh cross-compiler works. + # Prefer to if __STDC__ is defined, since + # exists even on freestanding compilers. + # On the NeXT, cc -E runs the code through the compiler's parser, + # not just through cpp. "Syntax error" is here to catch this case. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#ifdef __STDC__ +# include +#else +# include +#endif + Syntax error +_ACEOF +if ac_fn_c_try_cpp "5126"; then : + +else + # Broken: fails on valid input. +continue +fi +rm -f conftest.err conftest.$ac_ext + + # OK, works on sane cases. Now check whether nonexistent headers + # can be detected and how. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +_ACEOF +if ac_fn_c_try_cpp "5140"; then : + # Broken: success on invalid input. +continue +else + # Passes both tests. +ac_preproc_ok=: +break +fi +rm -f conftest.err conftest.$ac_ext + +done +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. +rm -f conftest.err conftest.$ac_ext +if $ac_preproc_ok; then : + break +fi + + done + ac_cv_prog_CPP=$CPP + +fi + CPP=$ac_cv_prog_CPP +else + ac_cv_prog_CPP=$CPP +fi +{ $as_echo "$as_me:${as_lineno-5165}: result: $CPP" >&5 +$as_echo "$CPP" >&6; } +ac_preproc_ok=false +for ac_c_preproc_warn_flag in '' yes +do + # Use a header file that comes with gcc, so configuring glibc + # with a fresh cross-compiler works. + # Prefer to if __STDC__ is defined, since + # exists even on freestanding compilers. + # On the NeXT, cc -E runs the code through the compiler's parser, + # not just through cpp. "Syntax error" is here to catch this case. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#ifdef __STDC__ +# include +#else +# include +#endif + Syntax error +_ACEOF +if ac_fn_c_try_cpp "5185"; then : + +else + # Broken: fails on valid input. +continue +fi +rm -f conftest.err conftest.$ac_ext + + # OK, works on sane cases. Now check whether nonexistent headers + # can be detected and how. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +_ACEOF +if ac_fn_c_try_cpp "5199"; then : + # Broken: success on invalid input. +continue +else + # Passes both tests. +ac_preproc_ok=: +break +fi +rm -f conftest.err conftest.$ac_ext + +done +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. +rm -f conftest.err conftest.$ac_ext +if $ac_preproc_ok; then : + +else + { { $as_echo "$as_me:${as_lineno-5215}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error "C preprocessor \"$CPP\" fails sanity check +See \`config.log' for more details." "5218" 5; } +fi + +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + + +{ $as_echo "$as_me:${as_lineno-5228}: checking for ANSI C header files" >&5 +$as_echo_n "checking for ANSI C header files... " >&6; } +if test "${ac_cv_header_stdc+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +#include +#include +#include + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "5248"; then : + ac_cv_header_stdc=yes +else + ac_cv_header_stdc=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + +if test $ac_cv_header_stdc = yes; then + # SunOS 4.x string.h does not declare mem*, contrary to ANSI. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "memchr" >/dev/null 2>&1; then : + +else + ac_cv_header_stdc=no +fi +rm -f conftest* + +fi + +if test $ac_cv_header_stdc = yes; then + # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "free" >/dev/null 2>&1; then : + +else + ac_cv_header_stdc=no +fi +rm -f conftest* + +fi + +if test $ac_cv_header_stdc = yes; then + # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. + if test "$cross_compiling" = yes; then : + : +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +#include +#if ((' ' & 0x0FF) == 0x020) +# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') +# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) +#else +# define ISLOWER(c) \ + (('a' <= (c) && (c) <= 'i') \ + || ('j' <= (c) && (c) <= 'r') \ + || ('s' <= (c) && (c) <= 'z')) +# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) +#endif + +#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) +int +main () +{ + int i; + for (i = 0; i < 256; i++) + if (XOR (islower (i), ISLOWER (i)) + || toupper (i) != TOUPPER (i)) + return 2; + return 0; +} +_ACEOF +if ac_fn_c_try_run "5321"; then : + +else + ac_cv_header_stdc=no +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + +fi +fi +{ $as_echo "$as_me:${as_lineno-5332}: result: $ac_cv_header_stdc" >&5 +$as_echo "$ac_cv_header_stdc" >&6; } +if test $ac_cv_header_stdc = yes; then + +$as_echo "#define STDC_HEADERS 1" >>confdefs.h + +fi + +# On IRIX 5.3, sys/types and inttypes.h are conflicting. +for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ + inttypes.h stdint.h unistd.h +do : + as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` +ac_fn_c_check_header_compile "5345" "$ac_header" "$as_ac_Header" "$ac_includes_default +" +eval as_val=\$$as_ac_Header + if test "x$as_val" = x""yes; then : + cat >>confdefs.h <<_ACEOF +#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF + +fi + +done + + +for ac_header in dlfcn.h +do : + ac_fn_c_check_header_mongrel "5360" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default" +if test "x$ac_cv_header_dlfcn_h" = x""yes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_DLFCN_H 1 +_ACEOF + +fi + +done + +ac_ext=cpp +ac_cpp='$CXXCPP $CPPFLAGS' +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu +if test -z "$CXX"; then + if test -n "$CCC"; then + CXX=$CCC + else + if test -n "$ac_tool_prefix"; then + for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC + do + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. +set dummy $ac_tool_prefix$ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-5384}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if test "${ac_cv_prog_CXX+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$CXX"; then + ac_cv_prog_CXX="$CXX" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" + $as_echo "$as_me:${as_lineno-5400}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +CXX=$ac_cv_prog_CXX +if test -n "$CXX"; then + { $as_echo "$as_me:${as_lineno-5411}: result: $CXX" >&5 +$as_echo "$CXX" >&6; } +else + { $as_echo "$as_me:${as_lineno-5414}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$CXX" && break + done +fi +if test -z "$CXX"; then + ac_ct_CXX=$CXX + for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-5428}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_CXX"; then + ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_ac_ct_CXX="$ac_prog" + $as_echo "$as_me:${as_lineno-5444}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_CXX=$ac_cv_prog_ac_ct_CXX +if test -n "$ac_ct_CXX"; then + { $as_echo "$as_me:${as_lineno-5455}: result: $ac_ct_CXX" >&5 +$as_echo "$ac_ct_CXX" >&6; } +else + { $as_echo "$as_me:${as_lineno-5458}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$ac_ct_CXX" && break +done + + if test "x$ac_ct_CXX" = x; then + CXX="g++" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-5471}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + CXX=$ac_ct_CXX + fi +fi + + fi +fi +# Provide some information about the compiler. +$as_echo "$as_me:${as_lineno-5482}: checking for C++ compiler version" >&5 +set X $ac_compile +ac_compiler=$2 +for ac_option in --version -v -V -qversion; do + { { ac_try="$ac_compiler $ac_option >&5" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-5491}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_compiler $ac_option >&5") 2>conftest.err + ac_status=$? + if test -s conftest.err; then + sed '10a\ +... rest of stderr output deleted ... + 10q' conftest.err >conftest.er1 + cat conftest.er1 >&5 + fi + rm -f conftest.er1 conftest.err + $as_echo "$as_me:${as_lineno-5502}: \$? = $ac_status" >&5 + test $ac_status = 0; } +done + +{ $as_echo "$as_me:${as_lineno-5506}: checking whether we are using the GNU C++ compiler" >&5 +$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } +if test "${ac_cv_cxx_compiler_gnu+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ +#ifndef __GNUC__ + choke me +#endif + + ; + return 0; +} +_ACEOF +if ac_fn_cxx_try_compile "5525"; then : + ac_compiler_gnu=yes +else + ac_compiler_gnu=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +ac_cv_cxx_compiler_gnu=$ac_compiler_gnu + +fi +{ $as_echo "$as_me:${as_lineno-5534}: result: $ac_cv_cxx_compiler_gnu" >&5 +$as_echo "$ac_cv_cxx_compiler_gnu" >&6; } +if test $ac_compiler_gnu = yes; then + GXX=yes +else + GXX= +fi +ac_test_CXXFLAGS=${CXXFLAGS+set} +ac_save_CXXFLAGS=$CXXFLAGS +{ $as_echo "$as_me:${as_lineno-5543}: checking whether $CXX accepts -g" >&5 +$as_echo_n "checking whether $CXX accepts -g... " >&6; } +if test "${ac_cv_prog_cxx_g+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + ac_save_cxx_werror_flag=$ac_cxx_werror_flag + ac_cxx_werror_flag=yes + ac_cv_prog_cxx_g=no + CXXFLAGS="-g" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_cxx_try_compile "5563"; then : + ac_cv_prog_cxx_g=yes +else + CXXFLAGS="" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_cxx_try_compile "5578"; then : + +else + ac_cxx_werror_flag=$ac_save_cxx_werror_flag + CXXFLAGS="-g" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_cxx_try_compile "5594"; then : + ac_cv_prog_cxx_g=yes +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + ac_cxx_werror_flag=$ac_save_cxx_werror_flag +fi +{ $as_echo "$as_me:${as_lineno-5604}: result: $ac_cv_prog_cxx_g" >&5 +$as_echo "$ac_cv_prog_cxx_g" >&6; } +if test "$ac_test_CXXFLAGS" = set; then + CXXFLAGS=$ac_save_CXXFLAGS +elif test $ac_cv_prog_cxx_g = yes; then + if test "$GXX" = yes; then + CXXFLAGS="-g -O2" + else + CXXFLAGS="-g" + fi +else + if test "$GXX" = yes; then + CXXFLAGS="-O2" + else + CXXFLAGS= + fi +fi +ac_ext=cpp +ac_cpp='$CXXCPP $CPPFLAGS' +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + +depcc="$CXX" am_compiler_list= + +{ $as_echo "$as_me:${as_lineno-5629}: checking dependency style of $depcc" >&5 +$as_echo_n "checking dependency style of $depcc... " >&6; } +if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then + # We make a subdir and do the tests there. Otherwise we can end up + # making bogus files that we don't know about and never remove. For + # instance it was reported that on HP-UX the gcc test will end up + # making a dummy file named `D' -- because `-MD' means `put the output + # in D'. + mkdir conftest.dir + # Copy depcomp to subdir because otherwise we won't find it if we're + # using a relative directory. + cp "$am_depcomp" conftest.dir + cd conftest.dir + # We will build objects and dependencies in a subdirectory because + # it helps to detect inapplicable dependency modes. For instance + # both Tru64's cc and ICC support -MD to output dependencies as a + # side effect of compilation, but ICC will put the dependencies in + # the current directory while Tru64 will put them in the object + # directory. + mkdir sub + + am_cv_CXX_dependencies_compiler_type=none + if test "$am_compiler_list" = ""; then + am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` + fi + for depmode in $am_compiler_list; do + # Setup a source with many dependencies, because some compilers + # like to wrap large dependency lists on column 80 (with \), and + # we should not choose a depcomp mode which is confused by this. + # + # We need to recreate these files for each test, as the compiler may + # overwrite some of them when testing with obscure command lines. + # This happens at least with the AIX C compiler. + : > sub/conftest.c + for i in 1 2 3 4 5 6; do + echo '#include "conftst'$i'.h"' >> sub/conftest.c + # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with + # Solaris 8's {/usr,}/bin/sh. + touch sub/conftst$i.h + done + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf + + case $depmode in + nosideeffect) + # after this tag, mechanisms are not by side-effect, so they'll + # only be used when explicitly requested + if test "x$enable_dependency_tracking" = xyes; then + continue + else + break + fi + ;; + none) break ;; + esac + # We check with `-c' and `-o' for the sake of the "dashmstdout" + # mode. It turns out that the SunPro C++ compiler does not properly + # handle `-M -o', and we need to detect this. + if depmode=$depmode \ + source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ + $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ + >/dev/null 2>conftest.err && + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && + grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then + # icc doesn't choke on unknown options, it will just issue warnings + # (even with -Werror). So we grep stderr for any message + # that says an option was ignored. + if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else + am_cv_CXX_dependencies_compiler_type=$depmode + break + fi + fi + done + + cd .. + rm -rf conftest.dir +else + am_cv_CXX_dependencies_compiler_type=none +fi + +fi +{ $as_echo "$as_me:${as_lineno-5714}: result: $am_cv_CXX_dependencies_compiler_type" >&5 +$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; } +CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type + + + +if + test "x$enable_dependency_tracking" != xno \ + && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then + am__fastdepCXX_TRUE= + am__fastdepCXX_FALSE='#' +else + am__fastdepCXX_TRUE='#' + am__fastdepCXX_FALSE= +fi + + +ac_ext=cpp +ac_cpp='$CXXCPP $CPPFLAGS' +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu +{ $as_echo "$as_me:${as_lineno-5736}: checking how to run the C++ preprocessor" >&5 +$as_echo_n "checking how to run the C++ preprocessor... " >&6; } +if test -z "$CXXCPP"; then + if test "${ac_cv_prog_CXXCPP+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + # Double quotes because CXXCPP needs to be expanded + for CXXCPP in "$CXX -E" "/lib/cpp" + do + ac_preproc_ok=false +for ac_cxx_preproc_warn_flag in '' yes +do + # Use a header file that comes with gcc, so configuring glibc + # with a fresh cross-compiler works. + # Prefer to if __STDC__ is defined, since + # exists even on freestanding compilers. + # On the NeXT, cc -E runs the code through the compiler's parser, + # not just through cpp. "Syntax error" is here to catch this case. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#ifdef __STDC__ +# include +#else +# include +#endif + Syntax error +_ACEOF +if ac_fn_cxx_try_cpp "5763"; then : + +else + # Broken: fails on valid input. +continue +fi +rm -f conftest.err conftest.$ac_ext + + # OK, works on sane cases. Now check whether nonexistent headers + # can be detected and how. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +_ACEOF +if ac_fn_cxx_try_cpp "5777"; then : + # Broken: success on invalid input. +continue +else + # Passes both tests. +ac_preproc_ok=: +break +fi +rm -f conftest.err conftest.$ac_ext + +done +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. +rm -f conftest.err conftest.$ac_ext +if $ac_preproc_ok; then : + break +fi + + done + ac_cv_prog_CXXCPP=$CXXCPP + +fi + CXXCPP=$ac_cv_prog_CXXCPP +else + ac_cv_prog_CXXCPP=$CXXCPP +fi +{ $as_echo "$as_me:${as_lineno-5802}: result: $CXXCPP" >&5 +$as_echo "$CXXCPP" >&6; } +ac_preproc_ok=false +for ac_cxx_preproc_warn_flag in '' yes +do + # Use a header file that comes with gcc, so configuring glibc + # with a fresh cross-compiler works. + # Prefer to if __STDC__ is defined, since + # exists even on freestanding compilers. + # On the NeXT, cc -E runs the code through the compiler's parser, + # not just through cpp. "Syntax error" is here to catch this case. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#ifdef __STDC__ +# include +#else +# include +#endif + Syntax error +_ACEOF +if ac_fn_cxx_try_cpp "5822"; then : + +else + # Broken: fails on valid input. +continue +fi +rm -f conftest.err conftest.$ac_ext + + # OK, works on sane cases. Now check whether nonexistent headers + # can be detected and how. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +_ACEOF +if ac_fn_cxx_try_cpp "5836"; then : + # Broken: success on invalid input. +continue +else + # Passes both tests. +ac_preproc_ok=: +break +fi +rm -f conftest.err conftest.$ac_ext + +done +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. +rm -f conftest.err conftest.$ac_ext +if $ac_preproc_ok; then : + +else + { { $as_echo "$as_me:${as_lineno-5852}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check +See \`config.log' for more details." "5855" 5; } +fi + +ac_ext=cpp +ac_cpp='$CXXCPP $CPPFLAGS' +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + + +ac_ext=f +ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5' +ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_f77_compiler_gnu +if test -n "$ac_tool_prefix"; then + for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn + do + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. +set dummy $ac_tool_prefix$ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-5874}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if test "${ac_cv_prog_F77+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$F77"; then + ac_cv_prog_F77="$F77" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_F77="$ac_tool_prefix$ac_prog" + $as_echo "$as_me:${as_lineno-5890}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +F77=$ac_cv_prog_F77 +if test -n "$F77"; then + { $as_echo "$as_me:${as_lineno-5901}: result: $F77" >&5 +$as_echo "$F77" >&6; } +else + { $as_echo "$as_me:${as_lineno-5904}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$F77" && break + done +fi +if test -z "$F77"; then + ac_ct_F77=$F77 + for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-5918}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if test "${ac_cv_prog_ac_ct_F77+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_F77"; then + ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_ac_ct_F77="$ac_prog" + $as_echo "$as_me:${as_lineno-5934}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_F77=$ac_cv_prog_ac_ct_F77 +if test -n "$ac_ct_F77"; then + { $as_echo "$as_me:${as_lineno-5945}: result: $ac_ct_F77" >&5 +$as_echo "$ac_ct_F77" >&6; } +else + { $as_echo "$as_me:${as_lineno-5948}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$ac_ct_F77" && break +done + + if test "x$ac_ct_F77" = x; then + F77="" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-5961}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + F77=$ac_ct_F77 + fi +fi + + +# Provide some information about the compiler. +$as_echo "$as_me:${as_lineno-5971}: checking for Fortran 77 compiler version" >&5 +set X $ac_compile +ac_compiler=$2 +for ac_option in --version -v -V -qversion; do + { { ac_try="$ac_compiler $ac_option >&5" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-5980}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_compiler $ac_option >&5") 2>conftest.err + ac_status=$? + if test -s conftest.err; then + sed '10a\ +... rest of stderr output deleted ... + 10q' conftest.err >conftest.er1 + cat conftest.er1 >&5 + fi + rm -f conftest.er1 conftest.err + $as_echo "$as_me:${as_lineno-5991}: \$? = $ac_status" >&5 + test $ac_status = 0; } +done +rm -f a.out + +# If we don't use `.F' as extension, the preprocessor is not run on the +# input file. (Note that this only needs to work for GNU compilers.) +ac_save_ext=$ac_ext +ac_ext=F +{ $as_echo "$as_me:${as_lineno-6000}: checking whether we are using the GNU Fortran 77 compiler" >&5 +$as_echo_n "checking whether we are using the GNU Fortran 77 compiler... " >&6; } +if test "${ac_cv_f77_compiler_gnu+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + cat > conftest.$ac_ext <<_ACEOF + program main +#ifndef __GNUC__ + choke me +#endif + + end +_ACEOF +if ac_fn_f77_try_compile "6013"; then : + ac_compiler_gnu=yes +else + ac_compiler_gnu=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +ac_cv_f77_compiler_gnu=$ac_compiler_gnu + +fi +{ $as_echo "$as_me:${as_lineno-6022}: result: $ac_cv_f77_compiler_gnu" >&5 +$as_echo "$ac_cv_f77_compiler_gnu" >&6; } +ac_ext=$ac_save_ext +ac_test_FFLAGS=${FFLAGS+set} +ac_save_FFLAGS=$FFLAGS +FFLAGS= +{ $as_echo "$as_me:${as_lineno-6028}: checking whether $F77 accepts -g" >&5 +$as_echo_n "checking whether $F77 accepts -g... " >&6; } +if test "${ac_cv_prog_f77_g+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + FFLAGS=-g +cat > conftest.$ac_ext <<_ACEOF + program main + + end +_ACEOF +if ac_fn_f77_try_compile "6039"; then : + ac_cv_prog_f77_g=yes +else + ac_cv_prog_f77_g=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + +fi +{ $as_echo "$as_me:${as_lineno-6047}: result: $ac_cv_prog_f77_g" >&5 +$as_echo "$ac_cv_prog_f77_g" >&6; } +if test "$ac_test_FFLAGS" = set; then + FFLAGS=$ac_save_FFLAGS +elif test $ac_cv_prog_f77_g = yes; then + if test "x$ac_cv_f77_compiler_gnu" = xyes; then + FFLAGS="-g -O2" + else + FFLAGS="-g" + fi +else + if test "x$ac_cv_f77_compiler_gnu" = xyes; then + FFLAGS="-O2" + else + FFLAGS= + fi +fi + +if test $ac_compiler_gnu = yes; then + G77=yes +else + G77= +fi +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + + + +# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers! + +# find the maximum length of command line arguments +{ $as_echo "$as_me:${as_lineno-6081}: checking the maximum length of command line arguments" >&5 +$as_echo_n "checking the maximum length of command line arguments... " >&6; } +if test "${lt_cv_sys_max_cmd_len+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + i=0 + teststring="ABCD" + + case $build_os in + msdosdjgpp*) + # On DJGPP, this test can blow up pretty badly due to problems in libc + # (any single argument exceeding 2000 bytes causes a buffer overrun + # during glob expansion). Even if it were fixed, the result of this + # check would be larger than it should be. + lt_cv_sys_max_cmd_len=12288; # 12K is about right + ;; + + gnu*) + # Under GNU Hurd, this test is not required because there is + # no limit to the length of command line arguments. + # Libtool will interpret -1 as no limit whatsoever + lt_cv_sys_max_cmd_len=-1; + ;; + + cygwin* | mingw*) + # On Win9x/ME, this test blows up -- it succeeds, but takes + # about 5 minutes as the teststring grows exponentially. + # Worse, since 9x/ME are not pre-emptively multitasking, + # you end up with a "frozen" computer, even though with patience + # the test eventually succeeds (with a max line length of 256k). + # Instead, let's just punt: use the minimum linelength reported by + # all of the supported platforms: 8192 (on NT/2K/XP). + lt_cv_sys_max_cmd_len=8192; + ;; + + amigaos*) + # On AmigaOS with pdksh, this test takes hours, literally. + # So we just punt and use a minimum line length of 8192. + lt_cv_sys_max_cmd_len=8192; + ;; + + *) + # If test is not a shell built-in, we'll probably end up computing a + # maximum length that is only half of the actual maximum length, but + # we can't tell. + while (test "X"`$CONFIG_SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \ + = "XX$teststring") >/dev/null 2>&1 && + new_result=`expr "X$teststring" : ".*" 2>&1` && + lt_cv_sys_max_cmd_len=$new_result && + test $i != 17 # 1/2 MB should be enough + do + i=`expr $i + 1` + teststring=$teststring$teststring + done + teststring= + # Add a significant safety factor because C++ compilers can tack on massive + # amounts of additional arguments before passing them to the linker. + # It appears as though 1/2 is a usable value. + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` + ;; + esac + +fi + +if test -n $lt_cv_sys_max_cmd_len ; then + { $as_echo "$as_me:${as_lineno-6146}: result: $lt_cv_sys_max_cmd_len" >&5 +$as_echo "$lt_cv_sys_max_cmd_len" >&6; } +else + { $as_echo "$as_me:${as_lineno-6149}: result: none" >&5 +$as_echo "none" >&6; } +fi + + + + +# Check for command to grab the raw symbol name followed by C symbol from nm. +{ $as_echo "$as_me:${as_lineno-6157}: checking command to parse $NM output from $compiler object" >&5 +$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } +if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + +# These are sane defaults that work on at least a few old systems. +# [They come from Ultrix. What could be older than Ultrix?!! ;)] + +# Character class describing NM global symbol codes. +symcode='[BCDEGRST]' + +# Regexp to match symbols that can be accessed directly from C. +sympat='\([_A-Za-z][_A-Za-z0-9]*\)' + +# Transform the above into a raw symbol and a C symbol. +symxfrm='\1 \2\3 \3' + +# Transform an extracted symbol line into a proper C declaration +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'" + +# Transform an extracted symbol line into symbol name and symbol address +lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" + +# Define system-specific variables. +case $host_os in +aix*) + symcode='[BCDT]' + ;; +cygwin* | mingw* | pw32*) + symcode='[ABCDGISTW]' + ;; +hpux*) # Its linker distinguishes data from code symbols + if test "$host_cpu" = ia64; then + symcode='[ABCDEGRST]' + fi + lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" + lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" + ;; +irix* | nonstopux*) + symcode='[BCDEGRST]' + ;; +osf*) + symcode='[BCDEGQRST]' + ;; +solaris* | sysv5*) + symcode='[BDRT]' + ;; +sysv4) + symcode='[DFNSTU]' + ;; +esac + +# Handle CRLF in mingw tool chain +opt_cr= +case $build_os in +mingw*) + opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp + ;; +esac + +# If we're using GNU nm, then use its standard symbol codes. +case `$NM -V 2>&1` in +*GNU* | *'with BFD'*) + symcode='[ABCDGIRSTW]' ;; +esac + +# Try without a prefix undercore, then with it. +for ac_symprfx in "" "_"; do + + # Write the raw and C identifiers. + lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'" + + # Check to see that the pipe works correctly. + pipe_works=no + + rm -f conftest* + cat > conftest.$ac_ext <&5 + (eval $ac_compile) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-6249}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + # Now try to grab the symbols. + nlist=conftest.nm + if { { eval echo "\"\$as_me\":${as_lineno-6253}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5 + (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-6256}: \$? = $ac_status" >&5 + test $ac_status = 0; } && test -s "$nlist"; then + # Try sorting and uniquifying the output. + if sort "$nlist" | uniq > "$nlist"T; then + mv -f "$nlist"T "$nlist" + else + rm -f "$nlist"T + fi + + # Make sure that we snagged all the symbols we need. + if grep ' nm_test_var$' "$nlist" >/dev/null; then + if grep ' nm_test_func$' "$nlist" >/dev/null; then + cat < conftest.$ac_ext +#ifdef __cplusplus +extern "C" { +#endif + +EOF + # Now generate the symbol file. + eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext' + + cat <> conftest.$ac_ext +#if defined (__STDC__) && __STDC__ +# define lt_ptr_t void * +#else +# define lt_ptr_t char * +# define const +#endif + +/* The mapping between symbol names and symbols. */ +const struct { + const char *name; + lt_ptr_t address; +} +lt_preloaded_symbols[] = +{ +EOF + $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext + cat <<\EOF >> conftest.$ac_ext + {0, (lt_ptr_t) 0} +}; + +#ifdef __cplusplus +} +#endif +EOF + # Now try linking the two files. + mv conftest.$ac_objext conftstm.$ac_objext + lt_save_LIBS="$LIBS" + lt_save_CFLAGS="$CFLAGS" + LIBS="conftstm.$ac_objext" + CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" + if { { eval echo "\"\$as_me\":${as_lineno-6308}: \"$ac_link\""; } >&5 + (eval $ac_link) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-6311}: \$? = $ac_status" >&5 + test $ac_status = 0; } && test -s conftest${ac_exeext}; then + pipe_works=yes + fi + LIBS="$lt_save_LIBS" + CFLAGS="$lt_save_CFLAGS" + else + echo "cannot find nm_test_func in $nlist" >&5 + fi + else + echo "cannot find nm_test_var in $nlist" >&5 + fi + else + echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 + fi + else + echo "$progname: failed program was:" >&5 + cat conftest.$ac_ext >&5 + fi + rm -f conftest* conftst* + + # Do not use the global_symbol_pipe unless it works. + if test "$pipe_works" = yes; then + break + else + lt_cv_sys_global_symbol_pipe= + fi +done + +fi + +if test -z "$lt_cv_sys_global_symbol_pipe"; then + lt_cv_sys_global_symbol_to_cdecl= +fi +if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then + { $as_echo "$as_me:${as_lineno-6346}: result: failed" >&5 +$as_echo "failed" >&6; } +else + { $as_echo "$as_me:${as_lineno-6349}: result: ok" >&5 +$as_echo "ok" >&6; } +fi + +{ $as_echo "$as_me:${as_lineno-6353}: checking for objdir" >&5 +$as_echo_n "checking for objdir... " >&6; } +if test "${lt_cv_objdir+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + rm -f .libs 2>/dev/null +mkdir .libs 2>/dev/null +if test -d .libs; then + lt_cv_objdir=.libs +else + # MS-DOS does not allow filenames that begin with a dot. + lt_cv_objdir=_libs +fi +rmdir .libs 2>/dev/null +fi +{ $as_echo "$as_me:${as_lineno-6368}: result: $lt_cv_objdir" >&5 +$as_echo "$lt_cv_objdir" >&6; } +objdir=$lt_cv_objdir + + + + + +case $host_os in +aix3*) + # AIX sometimes has problems with the GCC collect2 program. For some + # reason, if we set the COLLECT_NAMES environment variable, the problems + # vanish in a puff of smoke. + if test "X${COLLECT_NAMES+set}" != Xset; then + COLLECT_NAMES= + export COLLECT_NAMES + fi + ;; +esac + +# Sed substitution that helps us do robust quoting. It backslashifies +# metacharacters that are still active within double-quoted strings. +Xsed='sed -e s/^X//' +sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g' + +# Same as above, but do not quote variable references. +double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g' + +# Sed substitution to delay expansion of an escaped shell variable in a +# double_quote_subst'ed string. +delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' + +# Sed substitution to avoid accidental globbing in evaled expressions +no_glob_subst='s/\*/\\\*/g' + +# Constants: +rm="rm -f" + +# Global variables: +default_ofile=libtool +can_build_shared=yes + +# All known linkers require a `.a' archive for static linking (except M$VC, +# which needs '.lib'). +libext=a +ltmain="$ac_aux_dir/ltmain.sh" +ofile="$default_ofile" +with_gnu_ld="$lt_cv_prog_gnu_ld" + +if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. +set dummy ${ac_tool_prefix}ar; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-6420}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if test "${ac_cv_prog_AR+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$AR"; then + ac_cv_prog_AR="$AR" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_AR="${ac_tool_prefix}ar" + $as_echo "$as_me:${as_lineno-6436}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +AR=$ac_cv_prog_AR +if test -n "$AR"; then + { $as_echo "$as_me:${as_lineno-6447}: result: $AR" >&5 +$as_echo "$AR" >&6; } +else + { $as_echo "$as_me:${as_lineno-6450}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_AR"; then + ac_ct_AR=$AR + # Extract the first word of "ar", so it can be a program name with args. +set dummy ar; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-6460}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if test "${ac_cv_prog_ac_ct_AR+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_AR"; then + ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_ac_ct_AR="ar" + $as_echo "$as_me:${as_lineno-6476}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_AR=$ac_cv_prog_ac_ct_AR +if test -n "$ac_ct_AR"; then + { $as_echo "$as_me:${as_lineno-6487}: result: $ac_ct_AR" >&5 +$as_echo "$ac_ct_AR" >&6; } +else + { $as_echo "$as_me:${as_lineno-6490}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_ct_AR" = x; then + AR="false" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-6499}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + AR=$ac_ct_AR + fi +else + AR="$ac_cv_prog_AR" +fi + +if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. +set dummy ${ac_tool_prefix}ranlib; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-6512}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if test "${ac_cv_prog_RANLIB+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$RANLIB"; then + ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" + $as_echo "$as_me:${as_lineno-6528}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +RANLIB=$ac_cv_prog_RANLIB +if test -n "$RANLIB"; then + { $as_echo "$as_me:${as_lineno-6539}: result: $RANLIB" >&5 +$as_echo "$RANLIB" >&6; } +else + { $as_echo "$as_me:${as_lineno-6542}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_RANLIB"; then + ac_ct_RANLIB=$RANLIB + # Extract the first word of "ranlib", so it can be a program name with args. +set dummy ranlib; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-6552}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_RANLIB"; then + ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_ac_ct_RANLIB="ranlib" + $as_echo "$as_me:${as_lineno-6568}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB +if test -n "$ac_ct_RANLIB"; then + { $as_echo "$as_me:${as_lineno-6579}: result: $ac_ct_RANLIB" >&5 +$as_echo "$ac_ct_RANLIB" >&6; } +else + { $as_echo "$as_me:${as_lineno-6582}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_ct_RANLIB" = x; then + RANLIB=":" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-6591}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + RANLIB=$ac_ct_RANLIB + fi +else + RANLIB="$ac_cv_prog_RANLIB" +fi + +if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. +set dummy ${ac_tool_prefix}strip; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-6604}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if test "${ac_cv_prog_STRIP+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$STRIP"; then + ac_cv_prog_STRIP="$STRIP" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_STRIP="${ac_tool_prefix}strip" + $as_echo "$as_me:${as_lineno-6620}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +STRIP=$ac_cv_prog_STRIP +if test -n "$STRIP"; then + { $as_echo "$as_me:${as_lineno-6631}: result: $STRIP" >&5 +$as_echo "$STRIP" >&6; } +else + { $as_echo "$as_me:${as_lineno-6634}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_STRIP"; then + ac_ct_STRIP=$STRIP + # Extract the first word of "strip", so it can be a program name with args. +set dummy strip; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-6644}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_STRIP"; then + ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_ac_ct_STRIP="strip" + $as_echo "$as_me:${as_lineno-6660}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP +if test -n "$ac_ct_STRIP"; then + { $as_echo "$as_me:${as_lineno-6671}: result: $ac_ct_STRIP" >&5 +$as_echo "$ac_ct_STRIP" >&6; } +else + { $as_echo "$as_me:${as_lineno-6674}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_ct_STRIP" = x; then + STRIP=":" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-6683}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + STRIP=$ac_ct_STRIP + fi +else + STRIP="$ac_cv_prog_STRIP" +fi + + +old_CC="$CC" +old_CFLAGS="$CFLAGS" + +# Set sane defaults for various variables +test -z "$AR" && AR=ar +test -z "$AR_FLAGS" && AR_FLAGS=cru +test -z "$AS" && AS=as +test -z "$CC" && CC=cc +test -z "$LTCC" && LTCC=$CC +test -z "$DLLTOOL" && DLLTOOL=dlltool +test -z "$LD" && LD=ld +test -z "$LN_S" && LN_S="ln -s" +test -z "$MAGIC_CMD" && MAGIC_CMD=file +test -z "$NM" && NM=nm +test -z "$SED" && SED=sed +test -z "$OBJDUMP" && OBJDUMP=objdump +test -z "$RANLIB" && RANLIB=: +test -z "$STRIP" && STRIP=: +test -z "$ac_objext" && ac_objext=o + +# Determine commands to create old-style static archives. +old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs' +old_postinstall_cmds='chmod 644 $oldlib' +old_postuninstall_cmds= + +if test -n "$RANLIB"; then + case $host_os in + openbsd*) + old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds" + ;; + *) + old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds" + ;; + esac + old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" +fi + +# Only perform the check for file, if the check method requires it +case $deplibs_check_method in +file_magic*) + if test "$file_magic_cmd" = '$MAGIC_CMD'; then + { $as_echo "$as_me:${as_lineno-6735}: checking for ${ac_tool_prefix}file" >&5 +$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } +if test "${lt_cv_path_MAGIC_CMD+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + case $MAGIC_CMD in +[\\/*] | ?:[\\/]*) + lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. + ;; +*) + lt_save_MAGIC_CMD="$MAGIC_CMD" + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR + ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" + for ac_dir in $ac_dummy; do + IFS="$lt_save_ifs" + test -z "$ac_dir" && ac_dir=. + if test -f $ac_dir/${ac_tool_prefix}file; then + lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file" + if test -n "$file_magic_test_file"; then + case $deplibs_check_method in + "file_magic "*) + file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`" + MAGIC_CMD="$lt_cv_path_MAGIC_CMD" + if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | + $EGREP "$file_magic_regex" > /dev/null; then + : + else + cat <&2 + +*** Warning: the command libtool uses to detect shared libraries, +*** $file_magic_cmd, produces output that libtool cannot recognize. +*** The result is that libtool may fail to recognize shared libraries +*** as such. This will affect the creation of libtool libraries that +*** depend on shared libraries, but programs linked with such libtool +*** libraries will work regardless of this problem. Nevertheless, you +*** may want to report the problem to your system manager and/or to +*** bug-libtool@gnu.org + +EOF + fi ;; + esac + fi + break + fi + done + IFS="$lt_save_ifs" + MAGIC_CMD="$lt_save_MAGIC_CMD" + ;; +esac +fi + +MAGIC_CMD="$lt_cv_path_MAGIC_CMD" +if test -n "$MAGIC_CMD"; then + { $as_echo "$as_me:${as_lineno-6788}: result: $MAGIC_CMD" >&5 +$as_echo "$MAGIC_CMD" >&6; } +else + { $as_echo "$as_me:${as_lineno-6791}: result: no" >&5 +$as_echo "no" >&6; } +fi + +if test -z "$lt_cv_path_MAGIC_CMD"; then + if test -n "$ac_tool_prefix"; then + { $as_echo "$as_me:${as_lineno-6797}: checking for file" >&5 +$as_echo_n "checking for file... " >&6; } +if test "${lt_cv_path_MAGIC_CMD+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + case $MAGIC_CMD in +[\\/*] | ?:[\\/]*) + lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. + ;; +*) + lt_save_MAGIC_CMD="$MAGIC_CMD" + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR + ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" + for ac_dir in $ac_dummy; do + IFS="$lt_save_ifs" + test -z "$ac_dir" && ac_dir=. + if test -f $ac_dir/file; then + lt_cv_path_MAGIC_CMD="$ac_dir/file" + if test -n "$file_magic_test_file"; then + case $deplibs_check_method in + "file_magic "*) + file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`" + MAGIC_CMD="$lt_cv_path_MAGIC_CMD" + if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | + $EGREP "$file_magic_regex" > /dev/null; then + : + else + cat <&2 + +*** Warning: the command libtool uses to detect shared libraries, +*** $file_magic_cmd, produces output that libtool cannot recognize. +*** The result is that libtool may fail to recognize shared libraries +*** as such. This will affect the creation of libtool libraries that +*** depend on shared libraries, but programs linked with such libtool +*** libraries will work regardless of this problem. Nevertheless, you +*** may want to report the problem to your system manager and/or to +*** bug-libtool@gnu.org + +EOF + fi ;; + esac + fi + break + fi + done + IFS="$lt_save_ifs" + MAGIC_CMD="$lt_save_MAGIC_CMD" + ;; +esac +fi + +MAGIC_CMD="$lt_cv_path_MAGIC_CMD" +if test -n "$MAGIC_CMD"; then + { $as_echo "$as_me:${as_lineno-6850}: result: $MAGIC_CMD" >&5 +$as_echo "$MAGIC_CMD" >&6; } +else + { $as_echo "$as_me:${as_lineno-6853}: result: no" >&5 +$as_echo "no" >&6; } +fi + + else + MAGIC_CMD=: + fi +fi + + fi + ;; +esac + +enable_dlopen=no +enable_win32_dll=no + +# Check whether --enable-libtool-lock was given. +if test "${enable_libtool_lock+set}" = set; then : + enableval=$enable_libtool_lock; +fi + +test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes + + +# Check whether --with-pic was given. +if test "${with_pic+set}" = set; then : + withval=$with_pic; pic_mode="$withval" +else + pic_mode=default +fi + +test -z "$pic_mode" && pic_mode=default + +# Use C for the default configuration in the libtool script +tagname= +lt_save_CC="$CC" +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + + +# Source file extension for C test sources. +ac_ext=c + +# Object file extension for compiled C test sources. +objext=o +objext=$objext + +# Code to be used in simple compile tests +lt_simple_compile_test_code="int some_variable = 0;\n" + +# Code to be used in simple link tests +lt_simple_link_test_code='int main(){return(0);}\n' + + +# If no C compiler was specified, use CC. +LTCC=${LTCC-"$CC"} + +# Allow CC to be a program name with arguments. +compiler=$CC + + +# +# Check for any special shared library compilation flags. +# +lt_prog_cc_shlib= +if test "$GCC" = no; then + case $host_os in + sco3.2v5*) + lt_prog_cc_shlib='-belf' + ;; + esac +fi +if test -n "$lt_prog_cc_shlib"; then + { $as_echo "$as_me:${as_lineno-6929}: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&5 +$as_echo "$as_me: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&2;} + if echo "$old_CC $old_CFLAGS " | grep "[ ]$lt_prog_cc_shlib[ ]" >/dev/null; then : + else + { $as_echo "$as_me:${as_lineno-6933}: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5 +$as_echo "$as_me: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;} + lt_cv_prog_cc_can_build_shared=no + fi +fi + + +# +# Check to make sure the static flag actually works. +# +{ $as_echo "$as_me:${as_lineno-6943}: checking if $compiler static flag $lt_prog_compiler_static works" >&5 +$as_echo_n "checking if $compiler static flag $lt_prog_compiler_static works... " >&6; } +if test "${lt_prog_compiler_static_works+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + lt_prog_compiler_static_works=no + save_LDFLAGS="$LDFLAGS" + LDFLAGS="$LDFLAGS $lt_prog_compiler_static" + printf "$lt_simple_link_test_code" > conftest.$ac_ext + if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings + if test -s conftest.err; then + # Append any errors to the config.log. + cat conftest.err 1>&5 + else + lt_prog_compiler_static_works=yes + fi + fi + $rm conftest* + LDFLAGS="$save_LDFLAGS" + +fi +{ $as_echo "$as_me:${as_lineno-6966}: result: $lt_prog_compiler_static_works" >&5 +$as_echo "$lt_prog_compiler_static_works" >&6; } + +if test x"$lt_prog_compiler_static_works" = xyes; then + : +else + lt_prog_compiler_static= +fi + + + + +lt_prog_compiler_no_builtin_flag= + +if test "$GCC" = yes; then + lt_prog_compiler_no_builtin_flag=' -fno-builtin' + + +{ $as_echo "$as_me:${as_lineno-6984}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 +$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } +if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + lt_cv_prog_compiler_rtti_exceptions=no + ac_outfile=conftest.$ac_objext + printf "$lt_simple_compile_test_code" > conftest.$ac_ext + lt_compiler_flag="-fno-rtti -fno-exceptions" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + # The option is referenced via a variable to avoid confusing sed. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:7002: $lt_compile\"" >&5) + (eval "$lt_compile" 2>conftest.err) + ac_status=$? + cat conftest.err >&5 + echo "$as_me:7006: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s "$ac_outfile"; then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings + if test ! -s conftest.err; then + lt_cv_prog_compiler_rtti_exceptions=yes + fi + fi + $rm conftest* + +fi +{ $as_echo "$as_me:${as_lineno-7017}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 +$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } + +if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then + lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" +else + : +fi + +fi + +lt_prog_compiler_wl= +lt_prog_compiler_pic= +lt_prog_compiler_static= + +{ $as_echo "$as_me:${as_lineno-7032}: checking for $compiler option to produce PIC" >&5 +$as_echo_n "checking for $compiler option to produce PIC... " >&6; } + + if test "$GCC" = yes; then + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_static='-static' + + case $host_os in + aix*) + # All AIX code is PIC. + if test "$host_cpu" = ia64; then + # AIX 5 now supports IA64 processor + lt_prog_compiler_static='-Bstatic' + fi + ;; + + amigaos*) + # FIXME: we need at least 68020 code to build shared libraries, but + # adding the `-m68020' flag to GCC prevents building anything better, + # like `-m68040'. + lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' + ;; + + beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) + # PIC is the default for these OSes. + ;; + + mingw* | pw32* | os2*) + # This hack is so that the source file can tell whether it is being + # built for inclusion in a dll (and should export symbols for example). + lt_prog_compiler_pic='-DDLL_EXPORT' + ;; + + darwin* | rhapsody*) + # PIC is the default on this platform + # Common symbols not allowed in MH_DYLIB files + lt_prog_compiler_pic='-fno-common' + ;; + + msdosdjgpp*) + # Just because we use GCC doesn't mean we suddenly get shared libraries + # on systems that don't support them. + lt_prog_compiler_can_build_shared=no + enable_shared=no + ;; + + sysv4*MP*) + if test -d /usr/nec; then + lt_prog_compiler_pic=-Kconform_pic + fi + ;; + + hpux*) + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but + # not for PA HP-UX. + case "$host_cpu" in + hppa*64*|ia64*) + # +Z the default + ;; + *) + lt_prog_compiler_pic='-fPIC' + ;; + esac + ;; + + *) + lt_prog_compiler_pic='-fPIC' + ;; + esac + else + # PORTME Check for flag to pass linker flags through the system compiler. + case $host_os in + aix*) + lt_prog_compiler_wl='-Wl,' + if test "$host_cpu" = ia64; then + # AIX 5 now supports IA64 processor + lt_prog_compiler_static='-Bstatic' + else + lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' + fi + ;; + + mingw* | pw32* | os2*) + # This hack is so that the source file can tell whether it is being + # built for inclusion in a dll (and should export symbols for example). + lt_prog_compiler_pic='-DDLL_EXPORT' + ;; + + hpux9* | hpux10* | hpux11*) + lt_prog_compiler_wl='-Wl,' + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but + # not for PA HP-UX. + case "$host_cpu" in + hppa*64*|ia64*) + # +Z the default + ;; + *) + lt_prog_compiler_pic='+Z' + ;; + esac + # Is there a better lt_prog_compiler_static that works with the bundled CC? + lt_prog_compiler_static='${wl}-a ${wl}archive' + ;; + + irix5* | irix6* | nonstopux*) + lt_prog_compiler_wl='-Wl,' + # PIC (with -KPIC) is the default. + lt_prog_compiler_static='-non_shared' + ;; + + newsos6) + lt_prog_compiler_pic='-KPIC' + lt_prog_compiler_static='-Bstatic' + ;; + + linux*) + case $CC in + icc* | ecc*) + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_pic='-KPIC' + lt_prog_compiler_static='-static' + ;; + ccc*) + lt_prog_compiler_wl='-Wl,' + # All Alpha code is PIC. + lt_prog_compiler_static='-non_shared' + ;; + esac + ;; + + osf3* | osf4* | osf5*) + lt_prog_compiler_wl='-Wl,' + # All OSF/1 code is PIC. + lt_prog_compiler_static='-non_shared' + ;; + + sco3.2v5*) + lt_prog_compiler_pic='-Kpic' + lt_prog_compiler_static='-dn' + ;; + + solaris*) + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_pic='-KPIC' + lt_prog_compiler_static='-Bstatic' + ;; + + sunos4*) + lt_prog_compiler_wl='-Qoption ld ' + lt_prog_compiler_pic='-PIC' + lt_prog_compiler_static='-Bstatic' + ;; + + sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_pic='-KPIC' + lt_prog_compiler_static='-Bstatic' + ;; + + sysv4*MP*) + if test -d /usr/nec ;then + lt_prog_compiler_pic='-Kconform_pic' + lt_prog_compiler_static='-Bstatic' + fi + ;; + + uts4*) + lt_prog_compiler_pic='-pic' + lt_prog_compiler_static='-Bstatic' + ;; + + *) + lt_prog_compiler_can_build_shared=no + ;; + esac + fi + +{ $as_echo "$as_me:${as_lineno-7209}: result: $lt_prog_compiler_pic" >&5 +$as_echo "$lt_prog_compiler_pic" >&6; } + +# +# Check to make sure the PIC flag actually works. +# +if test -n "$lt_prog_compiler_pic"; then + +{ $as_echo "$as_me:${as_lineno-7217}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 +$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } +if test "${lt_prog_compiler_pic_works+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + lt_prog_compiler_pic_works=no + ac_outfile=conftest.$ac_objext + printf "$lt_simple_compile_test_code" > conftest.$ac_ext + lt_compiler_flag="$lt_prog_compiler_pic -DPIC" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + # The option is referenced via a variable to avoid confusing sed. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:7235: $lt_compile\"" >&5) + (eval "$lt_compile" 2>conftest.err) + ac_status=$? + cat conftest.err >&5 + echo "$as_me:7239: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s "$ac_outfile"; then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings + if test ! -s conftest.err; then + lt_prog_compiler_pic_works=yes + fi + fi + $rm conftest* + +fi +{ $as_echo "$as_me:${as_lineno-7250}: result: $lt_prog_compiler_pic_works" >&5 +$as_echo "$lt_prog_compiler_pic_works" >&6; } + +if test x"$lt_prog_compiler_pic_works" = xyes; then + case $lt_prog_compiler_pic in + "" | " "*) ;; + *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; + esac +else + lt_prog_compiler_pic= + lt_prog_compiler_can_build_shared=no +fi + +fi +case "$host_os" in + # For platforms which do not support PIC, -DPIC is meaningless: + *djgpp*) + lt_prog_compiler_pic= + ;; + *) + lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" + ;; +esac + +{ $as_echo "$as_me:${as_lineno-7274}: checking if $compiler supports -c -o file.$ac_objext" >&5 +$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } +if test "${lt_cv_prog_compiler_c_o+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + lt_cv_prog_compiler_c_o=no + $rm -r conftest 2>/dev/null + mkdir conftest + cd conftest + mkdir out + printf "$lt_simple_compile_test_code" > conftest.$ac_ext + + lt_compiler_flag="-o out/conftest2.$ac_objext" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:7295: $lt_compile\"" >&5) + (eval "$lt_compile" 2>out/conftest.err) + ac_status=$? + cat out/conftest.err >&5 + echo "$as_me:7299: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s out/conftest2.$ac_objext + then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings + if test ! -s out/conftest.err; then + lt_cv_prog_compiler_c_o=yes + fi + fi + chmod u+w . + $rm conftest* + # SGI C++ compiler will create directory out/ii_files/ for + # template instantiation + test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files + $rm out/* && rmdir out + cd .. + rmdir conftest + $rm conftest* + +fi +{ $as_echo "$as_me:${as_lineno-7319}: result: $lt_cv_prog_compiler_c_o" >&5 +$as_echo "$lt_cv_prog_compiler_c_o" >&6; } + + +hard_links="nottested" +if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then + # do not overwrite the value of need_locks provided by the user + { $as_echo "$as_me:${as_lineno-7326}: checking if we can lock with hard links" >&5 +$as_echo_n "checking if we can lock with hard links... " >&6; } + hard_links=yes + $rm conftest* + ln conftest.a conftest.b 2>/dev/null && hard_links=no + touch conftest.a + ln conftest.a conftest.b 2>&5 || hard_links=no + ln conftest.a conftest.b 2>/dev/null && hard_links=no + { $as_echo "$as_me:${as_lineno-7334}: result: $hard_links" >&5 +$as_echo "$hard_links" >&6; } + if test "$hard_links" = no; then + { $as_echo "$as_me:${as_lineno-7337}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 +$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} + need_locks=warn + fi +else + need_locks=no +fi + +{ $as_echo "$as_me:${as_lineno-7345}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 +$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } + + runpath_var= + allow_undefined_flag= + enable_shared_with_static_runtimes=no + archive_cmds= + archive_expsym_cmds= + old_archive_From_new_cmds= + old_archive_from_expsyms_cmds= + export_dynamic_flag_spec= + whole_archive_flag_spec= + thread_safe_flag_spec= + hardcode_libdir_flag_spec= + hardcode_libdir_flag_spec_ld= + hardcode_libdir_separator= + hardcode_direct=no + hardcode_minus_L=no + hardcode_shlibpath_var=unsupported + link_all_deplibs=unknown + hardcode_automatic=no + module_cmds= + module_expsym_cmds= + always_export_symbols=no + export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' + # include_expsyms should be a list of space-separated symbols to be *always* + # included in the symbol list + include_expsyms= + # exclude_expsyms can be an extended regexp of symbols to exclude + # it will be wrapped by ` (' and `)$', so one must not match beginning or + # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', + # as well as any symbol that contains `d'. + exclude_expsyms="_GLOBAL_OFFSET_TABLE_" + # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out + # platforms (ab)use it in PIC code, but their linkers get confused if + # the symbol is explicitly referenced. Since portable code cannot + # rely on this symbol name, it's probably fine to never include it in + # preloaded symbol tables. + extract_expsyms_cmds= + + case $host_os in + cygwin* | mingw* | pw32*) + # FIXME: the MSVC++ port hasn't been tested in a loooong time + # When not using gcc, we currently assume that we are using + # Microsoft Visual C++. + if test "$GCC" != yes; then + with_gnu_ld=no + fi + ;; + openbsd*) + with_gnu_ld=no + ;; + esac + + ld_shlibs=yes + if test "$with_gnu_ld" = yes; then + # If archive_cmds runs LD, not CC, wlarc should be empty + wlarc='${wl}' + + # See if GNU ld supports shared libraries. + case $host_os in + aix3* | aix4* | aix5*) + # On AIX/PPC, the GNU linker is very broken + if test "$host_cpu" != ia64; then + ld_shlibs=no + cat <&2 + +*** Warning: the GNU linker, at least up to release 2.9.1, is reported +*** to be unable to reliably create shared libraries on AIX. +*** Therefore, libtool is disabling shared libraries support. If you +*** really care for shared libraries, you may want to modify your PATH +*** so that a non-GNU linker is found, and then restart. + +EOF + fi + ;; + + amigaos*) + archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' + hardcode_libdir_flag_spec='-L$libdir' + hardcode_minus_L=yes + + # Samuel A. Falvo II reports + # that the semantics of dynamic libraries on AmigaOS, at least up + # to version 4, is to share data among multiple programs linked + # with the same dynamic library. Since this doesn't match the + # behavior of shared libraries on other platforms, we can't use + # them. + ld_shlibs=no + ;; + + beos*) + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + allow_undefined_flag=unsupported + # Joseph Beckenbach says some releases of gcc + # support --undefined. This deserves some investigation. FIXME + archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + else + ld_shlibs=no + fi + ;; + + cygwin* | mingw* | pw32*) + # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, + # as there is no search path for DLLs. + hardcode_libdir_flag_spec='-L$libdir' + allow_undefined_flag=unsupported + always_export_symbols=no + enable_shared_with_static_runtimes=yes + export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols' + + if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' + # If the export-symbols file already is a .def file (1st line + # is EXPORTS), use it as is; otherwise, prepend... + archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then + cp $export_symbols $output_objdir/$soname.def; + else + echo EXPORTS > $output_objdir/$soname.def; + cat $export_symbols >> $output_objdir/$soname.def; + fi~ + $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' + else + ld_shlibs=no + fi + ;; + + netbsd*) + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' + wlarc= + else + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + fi + ;; + + solaris* | sysv5*) + if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then + ld_shlibs=no + cat <&2 + +*** Warning: The releases 2.8.* of the GNU linker cannot reliably +*** create shared libraries on Solaris systems. Therefore, libtool +*** is disabling shared libraries support. We urge you to upgrade GNU +*** binutils to release 2.9.1 or newer. Another option is to modify +*** your PATH or compiler configuration so that the native linker is +*** used, and then restart. + +EOF + elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + else + ld_shlibs=no + fi + ;; + + sunos4*) + archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' + wlarc= + hardcode_direct=yes + hardcode_shlibpath_var=no + ;; + + linux*) + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_cmds="$tmp_archive_cmds" + supports_anon_versioning=no + case `$LD -v 2>/dev/null` in + *\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 + *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... + *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... + *\ 2.11.*) ;; # other 2.11 versions + *) supports_anon_versioning=yes ;; + esac + if test $supports_anon_versioning = yes; then + archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~ +cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ +$echo "local: *; };" >> $output_objdir/$libname.ver~ + $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' + else + archive_expsym_cmds="$tmp_archive_cmds" + fi + else + ld_shlibs=no + fi + ;; + + *) + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + else + ld_shlibs=no + fi + ;; + esac + + if test "$ld_shlibs" = yes; then + runpath_var=LD_RUN_PATH + hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir' + export_dynamic_flag_spec='${wl}--export-dynamic' + # ancient GNU ld didn't support --whole-archive et. al. + if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then + whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' + else + whole_archive_flag_spec= + fi + fi + else + # PORTME fill in a description of your system's linker (not GNU ld) + case $host_os in + aix3*) + allow_undefined_flag=unsupported + always_export_symbols=yes + archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' + # Note: this linker hardcodes the directories in LIBPATH if there + # are no directories specified by -L. + hardcode_minus_L=yes + if test "$GCC" = yes && test -z "$link_static_flag"; then + # Neither direct hardcoding nor static linking is supported with a + # broken collect2. + hardcode_direct=unsupported + fi + ;; + + aix4* | aix5*) + if test "$host_cpu" = ia64; then + # On IA64, the linker does run time linking by default, so we don't + # have to do anything special. + aix_use_runtimelinking=no + exp_sym_flag='-Bexport' + no_entry_flag="" + else + # If we're using GNU nm, then we don't want the "-C" option. + # -C means demangle to AIX nm, but means don't demangle with GNU nm + if $NM -V 2>&1 | grep 'GNU' > /dev/null; then + export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' + else + export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' + fi + aix_use_runtimelinking=no + + # Test if we are trying to use run time linking or normal + # AIX style linking. If -brtl is somewhere in LDFLAGS, we + # need to do runtime linking. + case $host_os in aix4.[23]|aix4.[23].*|aix5*) + for ld_flag in $LDFLAGS; do + if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then + aix_use_runtimelinking=yes + break + fi + done + esac + + exp_sym_flag='-bexport' + no_entry_flag='-bnoentry' + fi + + # When large executables or shared objects are built, AIX ld can + # have problems creating the table of contents. If linking a library + # or program results in "error TOC overflow" add -mminimal-toc to + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. + + archive_cmds='' + hardcode_direct=yes + hardcode_libdir_separator=':' + link_all_deplibs=yes + + if test "$GCC" = yes; then + case $host_os in aix4.012|aix4.012.*) + # We only want to do this on AIX 4.2 and lower, the check + # below for broken collect2 doesn't work under 4.3+ + collect2name=`${CC} -print-prog-name=collect2` + if test -f "$collect2name" && \ + strings "$collect2name" | grep resolve_lib_name >/dev/null + then + # We have reworked collect2 + hardcode_direct=yes + else + # We have old collect2 + hardcode_direct=unsupported + # It fails to find uninstalled libraries when the uninstalled + # path is not listed in the libpath. Setting hardcode_minus_L + # to unsupported forces relinking + hardcode_minus_L=yes + hardcode_libdir_flag_spec='-L$libdir' + hardcode_libdir_separator= + fi + esac + shared_flag='-shared' + else + # not using gcc + if test "$host_cpu" = ia64; then + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release + # chokes on -Wl,-G. The following line is correct: + shared_flag='-G' + else + if test "$aix_use_runtimelinking" = yes; then + shared_flag='${wl}-G' + else + shared_flag='${wl}-bM:SRE' + fi + fi + fi + + # It seems that -bexpall does not export symbols beginning with + # underscore (_), so it is better to generate a list of symbols to export. + always_export_symbols=yes + if test "$aix_use_runtimelinking" = yes; then + # Warning - without using the other runtime loading flags (-brtl), + # -berok will link without error, but may produce a broken library. + allow_undefined_flag='-berok' + # Determine the default libpath from the value encoded in an empty executable. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "7673"; then : + +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'` +# Check for a 64-bit object if we didn't find anything. +if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'`; fi +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi + + hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" + archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag" + else + if test "$host_cpu" = ia64; then + hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' + allow_undefined_flag="-z nodefs" + archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols" + else + # Determine the default libpath from the value encoded in an empty executable. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "7705"; then : + +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'` +# Check for a 64-bit object if we didn't find anything. +if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'`; fi +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi + + hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" + # Warning - without using the other run time loading flags, + # -berok will link without error, but may produce a broken library. + no_undefined_flag=' ${wl}-bernotok' + allow_undefined_flag=' ${wl}-berok' + # -bexpall does not export symbols beginning with underscore (_) + always_export_symbols=yes + # Exported symbols can be pulled into shared objects from archives + whole_archive_flag_spec=' ' + archive_cmds_need_lc=yes + # This is similar to how AIX traditionally builds it's shared libraries. + archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' + fi + fi + ;; + + amigaos*) + archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' + hardcode_libdir_flag_spec='-L$libdir' + hardcode_minus_L=yes + # see comment about different semantics on the GNU ld section + ld_shlibs=no + ;; + + bsdi4*) + export_dynamic_flag_spec=-rdynamic + ;; + + cygwin* | mingw* | pw32*) + # When not using gcc, we currently assume that we are using + # Microsoft Visual C++. + # hardcode_libdir_flag_spec is actually meaningless, as there is + # no search path for DLLs. + hardcode_libdir_flag_spec=' ' + allow_undefined_flag=unsupported + # Tell ltmain to make .lib files, not .a files. + libext=lib + # Tell ltmain to make .dll files, not .so files. + shrext_cmds=".dll" + # FIXME: Setting linknames here is a bad hack. + archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames=' + # The linker will automatically build a .lib file if we build a DLL. + old_archive_From_new_cmds='true' + # FIXME: Should let the user specify the lib program. + old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs' + fix_srcfile_path='`cygpath -w "$srcfile"`' + enable_shared_with_static_runtimes=yes + ;; + + darwin* | rhapsody*) + if test "$GXX" = yes ; then + archive_cmds_need_lc=no + case "$host_os" in + rhapsody* | darwin1.[012]) + allow_undefined_flag='-undefined suppress' + ;; + *) # Darwin 1.3 on + if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then + allow_undefined_flag='-flat_namespace -undefined suppress' + else + case ${MACOSX_DEPLOYMENT_TARGET} in + 10.[012]) + allow_undefined_flag='-flat_namespace -undefined suppress' + ;; + 10.*) + allow_undefined_flag='-undefined dynamic_lookup' + ;; + esac + fi + ;; + esac + lt_int_apple_cc_single_mod=no + output_verbose_link_cmd='echo' + if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then + lt_int_apple_cc_single_mod=yes + fi + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then + archive_cmds='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' + else + archive_cmds='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring' + fi + module_cmds='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then + archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + else + archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + fi + module_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + hardcode_direct=no + hardcode_automatic=yes + hardcode_shlibpath_var=unsupported + whole_archive_flag_spec='-all_load $convenience' + link_all_deplibs=yes + else + ld_shlibs=no + fi + ;; + + dgux*) + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_libdir_flag_spec='-L$libdir' + hardcode_shlibpath_var=no + ;; + + freebsd1*) + ld_shlibs=no + ;; + + # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor + # support. Future versions do this automatically, but an explicit c++rt0.o + # does not break anything, and helps significantly (at the cost of a little + # extra space). + freebsd2.2*) + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' + hardcode_libdir_flag_spec='-R$libdir' + hardcode_direct=yes + hardcode_shlibpath_var=no + ;; + + # Unfortunately, older versions of FreeBSD 2 do not have this feature. + freebsd2*) + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct=yes + hardcode_minus_L=yes + hardcode_shlibpath_var=no + ;; + + # FreeBSD 3 and greater uses gcc -shared to do shared libraries. + freebsd* | kfreebsd*-gnu) + archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' + hardcode_libdir_flag_spec='-R$libdir' + hardcode_direct=yes + hardcode_shlibpath_var=no + ;; + + hpux9*) + if test "$GCC" = yes; then + archive_cmds='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + else + archive_cmds='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + fi + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' + hardcode_libdir_separator=: + hardcode_direct=yes + + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + hardcode_minus_L=yes + export_dynamic_flag_spec='${wl}-E' + ;; + + hpux10* | hpux11*) + if test "$GCC" = yes -a "$with_gnu_ld" = no; then + case "$host_cpu" in + hppa*64*|ia64*) + archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + ;; + *) + archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' + ;; + esac + else + case "$host_cpu" in + hppa*64*|ia64*) + archive_cmds='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags' + ;; + *) + archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' + ;; + esac + fi + if test "$with_gnu_ld" = no; then + case "$host_cpu" in + hppa*64*) + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' + hardcode_libdir_flag_spec_ld='+b $libdir' + hardcode_libdir_separator=: + hardcode_direct=no + hardcode_shlibpath_var=no + ;; + ia64*) + hardcode_libdir_flag_spec='-L$libdir' + hardcode_direct=no + hardcode_shlibpath_var=no + + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + hardcode_minus_L=yes + ;; + *) + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' + hardcode_libdir_separator=: + hardcode_direct=yes + export_dynamic_flag_spec='${wl}-E' + + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + hardcode_minus_L=yes + ;; + esac + fi + ;; + + irix5* | irix6* | nonstopux*) + if test "$GCC" = yes; then + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + else + archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' + hardcode_libdir_flag_spec_ld='-rpath $libdir' + fi + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator=: + link_all_deplibs=yes + ;; + + netbsd*) + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out + else + archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF + fi + hardcode_libdir_flag_spec='-R$libdir' + hardcode_direct=yes + hardcode_shlibpath_var=no + ;; + + newsos6) + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct=yes + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator=: + hardcode_shlibpath_var=no + ;; + + openbsd*) + hardcode_direct=yes + hardcode_shlibpath_var=no + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' + hardcode_libdir_flag_spec='${wl}-rpath,$libdir' + export_dynamic_flag_spec='${wl}-E' + else + case $host_os in + openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' + hardcode_libdir_flag_spec='-R$libdir' + ;; + *) + archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' + hardcode_libdir_flag_spec='${wl}-rpath,$libdir' + ;; + esac + fi + ;; + + os2*) + hardcode_libdir_flag_spec='-L$libdir' + hardcode_minus_L=yes + allow_undefined_flag=unsupported + archive_cmds='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' + old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' + ;; + + osf3*) + if test "$GCC" = yes; then + allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' + archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + else + allow_undefined_flag=' -expect_unresolved \*' + archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' + fi + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator=: + ;; + + osf4* | osf5*) # as osf3* with the addition of -msym flag + if test "$GCC" = yes; then + allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' + archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' + else + allow_undefined_flag=' -expect_unresolved \*' + archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' + archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~ + $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp' + + # Both c and cxx compiler support -rpath directly + hardcode_libdir_flag_spec='-rpath $libdir' + fi + hardcode_libdir_separator=: + ;; + + sco3.2v5*) + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_shlibpath_var=no + export_dynamic_flag_spec='${wl}-Bexport' + runpath_var=LD_RUN_PATH + hardcode_runpath_var=yes + ;; + + solaris*) + no_undefined_flag=' -z text' + if test "$GCC" = yes; then + archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp' + else + archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' + archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' + fi + hardcode_libdir_flag_spec='-R$libdir' + hardcode_shlibpath_var=no + case $host_os in + solaris2.[0-5] | solaris2.[0-5].*) ;; + *) # Supported since Solaris 2.6 (maybe 2.5.1?) + whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;; + esac + link_all_deplibs=yes + ;; + + sunos4*) + if test "x$host_vendor" = xsequent; then + # Use $CC to link under sequent, because it throws in some extra .o + # files that make .init and .fini sections work. + archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' + else + archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' + fi + hardcode_libdir_flag_spec='-L$libdir' + hardcode_direct=yes + hardcode_minus_L=yes + hardcode_shlibpath_var=no + ;; + + sysv4) + case $host_vendor in + sni) + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct=yes # is this really true??? + ;; + siemens) + ## LD is ld it makes a PLAMLIB + ## CC just makes a GrossModule. + archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' + reload_cmds='$CC -r -o $output$reload_objs' + hardcode_direct=no + ;; + motorola) + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct=no #Motorola manual says yes, but my tests say they lie + ;; + esac + runpath_var='LD_RUN_PATH' + hardcode_shlibpath_var=no + ;; + + sysv4.3*) + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_shlibpath_var=no + export_dynamic_flag_spec='-Bexport' + ;; + + sysv4*MP*) + if test -d /usr/nec; then + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_shlibpath_var=no + runpath_var=LD_RUN_PATH + hardcode_runpath_var=yes + ld_shlibs=yes + fi + ;; + + sysv4.2uw2*) + archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct=yes + hardcode_minus_L=no + hardcode_shlibpath_var=no + hardcode_runpath_var=yes + runpath_var=LD_RUN_PATH + ;; + + sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*) + no_undefined_flag='${wl}-z ${wl}text' + if test "$GCC" = yes; then + archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + else + archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + fi + runpath_var='LD_RUN_PATH' + hardcode_shlibpath_var=no + ;; + + sysv5*) + no_undefined_flag=' -z text' + # $CC -shared without GNU ld will not create a library from C++ + # object files and a static libstdc++, better avoid it by now + archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' + archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' + hardcode_libdir_flag_spec= + hardcode_shlibpath_var=no + runpath_var='LD_RUN_PATH' + ;; + + uts4*) + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_libdir_flag_spec='-L$libdir' + hardcode_shlibpath_var=no + ;; + + *) + ld_shlibs=no + ;; + esac + fi + +{ $as_echo "$as_me:${as_lineno-8135}: result: $ld_shlibs" >&5 +$as_echo "$ld_shlibs" >&6; } +test "$ld_shlibs" = no && can_build_shared=no + +variables_saved_for_relink="PATH $shlibpath_var $runpath_var" +if test "$GCC" = yes; then + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" +fi + +# +# Do we need to explicitly link libc? +# +case "x$archive_cmds_need_lc" in +x|xyes) + # Assume -lc should be added + archive_cmds_need_lc=yes + + if test "$enable_shared" = yes && test "$GCC" = yes; then + case $archive_cmds in + *'~'*) + # FIXME: we may have to deal with multi-command sequences. + ;; + '$CC '*) + # Test whether the compiler implicitly links with -lc since on some + # systems, -lgcc has to come before -lc. If gcc already passes -lc + # to ld, don't add -lc before -lgcc. + { $as_echo "$as_me:${as_lineno-8161}: checking whether -lc should be explicitly linked in" >&5 +$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } + $rm conftest* + printf "$lt_simple_compile_test_code" > conftest.$ac_ext + + if { { eval echo "\"\$as_me\":${as_lineno-8166}: \"$ac_compile\""; } >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-8169}: \$? = $ac_status" >&5 + test $ac_status = 0; } 2>conftest.err; then + soname=conftest + lib=conftest + libobjs=conftest.$ac_objext + deplibs= + wl=$lt_prog_compiler_wl + compiler_flags=-v + linker_flags=-v + verstring= + output_objdir=. + libname=conftest + lt_save_allow_undefined_flag=$allow_undefined_flag + allow_undefined_flag= + if { { eval echo "\"\$as_me\":${as_lineno-8183}: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\""; } >&5 + (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-8186}: \$? = $ac_status" >&5 + test $ac_status = 0; } + then + archive_cmds_need_lc=no + else + archive_cmds_need_lc=yes + fi + allow_undefined_flag=$lt_save_allow_undefined_flag + else + cat conftest.err 1>&5 + fi + $rm conftest* + { $as_echo "$as_me:${as_lineno-8198}: result: $archive_cmds_need_lc" >&5 +$as_echo "$archive_cmds_need_lc" >&6; } + ;; + esac + fi + ;; +esac + +{ $as_echo "$as_me:${as_lineno-8206}: checking dynamic linker characteristics" >&5 +$as_echo_n "checking dynamic linker characteristics... " >&6; } +library_names_spec= +libname_spec='lib$name' +soname_spec= +shrext_cmds=".so" +postinstall_cmds= +postuninstall_cmds= +finish_cmds= +finish_eval= +shlibpath_var= +shlibpath_overrides_runpath=unknown +version_type=none +dynamic_linker="$host_os ld.so" +sys_lib_dlsearch_path_spec="/lib /usr/lib" +if test "$GCC" = yes; then + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` + if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then + # if the path contains ";" then we assume it to be the separator + # otherwise default to the standard path separator (i.e. ":") - it is + # assumed that no part of a normal pathname contains ";" but that should + # okay in the real world where ";" in dirpaths is itself problematic. + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` + else + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` + fi +else + sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" +fi +need_lib_prefix=unknown +hardcode_into_libs=no + +# when you set need_version to no, make sure it does not cause -set_version +# flags to be left without arguments +need_version=unknown + +case $host_os in +aix3*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' + shlibpath_var=LIBPATH + + # AIX 3 has no versioning support, so we append a major version to the name. + soname_spec='${libname}${release}${shared_ext}$major' + ;; + +aix4* | aix5*) + version_type=linux + need_lib_prefix=no + need_version=no + hardcode_into_libs=yes + if test "$host_cpu" = ia64; then + # AIX 5 supports IA64 + library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + else + # With GCC up to 2.95.x, collect2 would create an import file + # for dependence libraries. The import file would start with + # the line `#! .'. This would cause the generated library to + # depend on `.', always an invalid library. This was fixed in + # development snapshots of GCC prior to 3.0. + case $host_os in + aix4 | aix4.[01] | aix4.[01].*) + if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' + echo ' yes ' + echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then + : + else + can_build_shared=no + fi + ;; + esac + # AIX (on Power*) has no versioning support, so currently we can not hardcode correct + # soname into executable. Probably we can add versioning support to + # collect2, so additional links can be useful in future. + if test "$aix_use_runtimelinking" = yes; then + # If using run time linking (on AIX 4.2 or later) use lib.so + # instead of lib.a to let people know that these are not + # typical AIX shared libraries. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + else + # We preserve .a as extension for shared libraries through AIX4.2 + # and later when we are not doing run time linking. + library_names_spec='${libname}${release}.a $libname.a' + soname_spec='${libname}${release}${shared_ext}$major' + fi + shlibpath_var=LIBPATH + fi + ;; + +amigaos*) + library_names_spec='$libname.ixlibrary $libname.a' + # Create ${libname}_ixlibrary.a entries in /sys/libs. + finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' + ;; + +beos*) + library_names_spec='${libname}${shared_ext}' + dynamic_linker="$host_os ld.so" + shlibpath_var=LIBRARY_PATH + ;; + +bsdi4*) + version_type=linux + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' + shlibpath_var=LD_LIBRARY_PATH + sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" + sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" + # the default ld.so.conf also contains /usr/contrib/lib and + # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow + # libtool to hard-code these into programs + ;; + +cygwin* | mingw* | pw32*) + version_type=windows + shrext_cmds=".dll" + need_version=no + need_lib_prefix=no + + case $GCC,$host_os in + yes,cygwin* | yes,mingw* | yes,pw32*) + library_names_spec='$libname.dll.a' + # DLL is installed to $(libdir)/../bin by postinstall_cmds + postinstall_cmds='base_file=`basename \${file}`~ + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~ + dldir=$destdir/`dirname \$dlpath`~ + test -d \$dldir || mkdir -p \$dldir~ + $install_prog $dir/$dlname \$dldir/$dlname' + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ + dlpath=$dir/\$dldll~ + $rm \$dlpath' + shlibpath_overrides_runpath=yes + + case $host_os in + cygwin*) + # Cygwin DLLs use 'cyg' prefix rather than 'lib' + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' + sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" + ;; + mingw*) + # MinGW DLLs use traditional 'lib' prefix + soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` + if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then + # It is most probably a Windows format PATH printed by + # mingw gcc, but we are running on Cygwin. Gcc prints its search + # path with ; separators, and with drive letters. We can handle the + # drive letters (cygwin fileutils understands them), so leave them, + # especially as we might pass files found there to a mingw objdump, + # which wouldn't understand a cygwinified path. Ahh. + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` + else + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` + fi + ;; + pw32*) + # pw32 DLLs use 'pw' prefix rather than 'lib' + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}' + ;; + esac + ;; + + *) + library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' + ;; + esac + dynamic_linker='Win32 ld.exe' + # FIXME: first we should search . and the directory the executable is in + shlibpath_var=PATH + ;; + +darwin* | rhapsody*) + dynamic_linker="$host_os dyld" + version_type=darwin + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' + soname_spec='${libname}${release}${major}$shared_ext' + shlibpath_overrides_runpath=yes + shlibpath_var=DYLD_LIBRARY_PATH + shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)' + # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. + if test "$GCC" = yes; then + sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"` + else + sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib' + fi + sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' + ;; + +dgux*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + ;; + +freebsd1*) + dynamic_linker=no + ;; + +kfreebsd*-gnu) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + dynamic_linker='GNU ld.so' + ;; + +freebsd*) + objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` + version_type=freebsd-$objformat + case $version_type in + freebsd-elf*) + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' + need_version=no + need_lib_prefix=no + ;; + freebsd-*) + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' + need_version=yes + ;; + esac + shlibpath_var=LD_LIBRARY_PATH + case $host_os in + freebsd2*) + shlibpath_overrides_runpath=yes + ;; + freebsd3.01* | freebsdelf3.01*) + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + ;; + *) # from 3.2 on + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + ;; + esac + ;; + +gnu*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + hardcode_into_libs=yes + ;; + +hpux9* | hpux10* | hpux11*) + # Give a soname corresponding to the major version so that dld.sl refuses to + # link against other versions. + version_type=sunos + need_lib_prefix=no + need_version=no + case "$host_cpu" in + ia64*) + shrext_cmds='.so' + hardcode_into_libs=yes + dynamic_linker="$host_os dld.so" + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + if test "X$HPUX_IA64_MODE" = X32; then + sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" + else + sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" + fi + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec + ;; + hppa*64*) + shrext_cmds='.sl' + hardcode_into_libs=yes + dynamic_linker="$host_os dld.sl" + shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec + ;; + *) + shrext_cmds='.sl' + dynamic_linker="$host_os dld.sl" + shlibpath_var=SHLIB_PATH + shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + ;; + esac + # HP-UX runs *really* slowly unless shared libraries are mode 555. + postinstall_cmds='chmod 555 $lib' + ;; + +irix5* | irix6* | nonstopux*) + case $host_os in + nonstopux*) version_type=nonstopux ;; + *) + if test "$lt_cv_prog_gnu_ld" = yes; then + version_type=linux + else + version_type=irix + fi ;; + esac + need_lib_prefix=no + need_version=no + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' + case $host_os in + irix5* | nonstopux*) + libsuff= shlibsuff= + ;; + *) + case $LD in # libtool.m4 will add one of these switches to LD + *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") + libsuff= shlibsuff= libmagic=32-bit;; + *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") + libsuff=32 shlibsuff=N32 libmagic=N32;; + *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") + libsuff=64 shlibsuff=64 libmagic=64-bit;; + *) libsuff= shlibsuff= libmagic=never-match;; + esac + ;; + esac + shlibpath_var=LD_LIBRARY${shlibsuff}_PATH + shlibpath_overrides_runpath=no + sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" + sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" + hardcode_into_libs=yes + ;; + +# No shared lib support for Linux oldld, aout, or coff. +linux*oldld* | linux*aout* | linux*coff*) + dynamic_linker=no + ;; + +# This must be Linux ELF. +linux*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + # This implies no fast_install, which is unacceptable. + # Some rework will be needed to allow for fast_install + # before this can be enabled. + hardcode_into_libs=yes + + # find out which ABI we are using + libsuff= + case "$host_cpu" in + x86_64*|s390x*|powerpc64*) + echo '#line 8571 "configure"' > conftest.$ac_ext + if { { eval echo "\"\$as_me\":${as_lineno-8572}: \"$ac_compile\""; } >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-8575}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + case `/usr/bin/file conftest.$ac_objext` in + *64-bit*) + libsuff=64 + sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}" + ;; + esac + fi + rm -rf conftest* + ;; + esac + + # Append ld.so.conf contents to the search path + if test -f /etc/ld.so.conf; then + lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '` + sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra" + fi + + # We used to test for /lib/ld.so.1 and disable shared libraries on + # powerpc, because MkLinux only supported shared libraries with the + # GNU dynamic linker. Since this was broken with cross compilers, + # most powerpc-linux boxes support dynamic linking these days and + # people can always --disable-shared, the test was removed, and we + # assume the GNU/Linux dynamic linker is in use. + dynamic_linker='GNU/Linux ld.so' + ;; + +knetbsd*-gnu) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + dynamic_linker='GNU ld.so' + ;; + +netbsd*) + version_type=sunos + need_lib_prefix=no + need_version=no + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' + dynamic_linker='NetBSD (a.out) ld.so' + else + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + dynamic_linker='NetBSD ld.elf_so' + fi + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + ;; + +newsos6) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + ;; + +nto-qnx*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + ;; + +openbsd*) + version_type=sunos + need_lib_prefix=no + need_version=yes + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' + shlibpath_var=LD_LIBRARY_PATH + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + case $host_os in + openbsd2.[89] | openbsd2.[89].*) + shlibpath_overrides_runpath=no + ;; + *) + shlibpath_overrides_runpath=yes + ;; + esac + else + shlibpath_overrides_runpath=yes + fi + ;; + +os2*) + libname_spec='$name' + shrext_cmds=".dll" + need_lib_prefix=no + library_names_spec='$libname${shared_ext} $libname.a' + dynamic_linker='OS/2 ld.exe' + shlibpath_var=LIBPATH + ;; + +osf3* | osf4* | osf5*) + version_type=osf + need_lib_prefix=no + need_version=no + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" + sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" + ;; + +sco3.2v5*) + version_type=osf + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + ;; + +solaris*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + # ldd complains unless libraries are executable + postinstall_cmds='chmod +x $lib' + ;; + +sunos4*) + version_type=sunos + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + if test "$with_gnu_ld" = yes; then + need_lib_prefix=no + fi + need_version=yes + ;; + +sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + case $host_vendor in + sni) + shlibpath_overrides_runpath=no + need_lib_prefix=no + export_dynamic_flag_spec='${wl}-Blargedynsym' + runpath_var=LD_RUN_PATH + ;; + siemens) + need_lib_prefix=no + ;; + motorola) + need_lib_prefix=no + need_version=no + shlibpath_overrides_runpath=no + sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' + ;; + esac + ;; + +sysv4*MP*) + if test -d /usr/nec ;then + version_type=linux + library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' + soname_spec='$libname${shared_ext}.$major' + shlibpath_var=LD_LIBRARY_PATH + fi + ;; + +uts4*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + ;; + +*) + dynamic_linker=no + ;; +esac +{ $as_echo "$as_me:${as_lineno-8767}: result: $dynamic_linker" >&5 +$as_echo "$dynamic_linker" >&6; } +test "$dynamic_linker" = no && can_build_shared=no + +{ $as_echo "$as_me:${as_lineno-8771}: checking how to hardcode library paths into programs" >&5 +$as_echo_n "checking how to hardcode library paths into programs... " >&6; } +hardcode_action= +if test -n "$hardcode_libdir_flag_spec" || \ + test -n "$runpath_var " || \ + test "X$hardcode_automatic"="Xyes" ; then + + # We can hardcode non-existant directories. + if test "$hardcode_direct" != no && + # If the only mechanism to avoid hardcoding is shlibpath_var, we + # have to relink, otherwise we might link with an installed library + # when we should be linking with a yet-to-be-installed one + ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no && + test "$hardcode_minus_L" != no; then + # Linking always hardcodes the temporary library directory. + hardcode_action=relink + else + # We can link without hardcoding, and we can hardcode nonexisting dirs. + hardcode_action=immediate + fi +else + # We cannot hardcode anything, or else we can only hardcode existing + # directories. + hardcode_action=unsupported +fi +{ $as_echo "$as_me:${as_lineno-8796}: result: $hardcode_action" >&5 +$as_echo "$hardcode_action" >&6; } + +if test "$hardcode_action" = relink; then + # Fast installation is not supported + enable_fast_install=no +elif test "$shlibpath_overrides_runpath" = yes || + test "$enable_shared" = no; then + # Fast installation is not necessary + enable_fast_install=needless +fi + +striplib= +old_striplib= +{ $as_echo "$as_me:${as_lineno-8810}: checking whether stripping libraries is possible" >&5 +$as_echo_n "checking whether stripping libraries is possible... " >&6; } +if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then + test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" + test -z "$striplib" && striplib="$STRIP --strip-unneeded" + { $as_echo "$as_me:${as_lineno-8815}: result: yes" >&5 +$as_echo "yes" >&6; } +else +# FIXME - insert some real tests, host_os isn't really good enough + case $host_os in + darwin*) + if test -n "$STRIP" ; then + striplib="$STRIP -x" + { $as_echo "$as_me:${as_lineno-8823}: result: yes" >&5 +$as_echo "yes" >&6; } + else + { $as_echo "$as_me:${as_lineno-8826}: result: no" >&5 +$as_echo "no" >&6; } +fi + ;; + *) + { $as_echo "$as_me:${as_lineno-8831}: result: no" >&5 +$as_echo "no" >&6; } + ;; + esac +fi + +if test "x$enable_dlopen" != xyes; then + enable_dlopen=unknown + enable_dlopen_self=unknown + enable_dlopen_self_static=unknown +else + lt_cv_dlopen=no + lt_cv_dlopen_libs= + + case $host_os in + beos*) + lt_cv_dlopen="load_add_on" + lt_cv_dlopen_libs= + lt_cv_dlopen_self=yes + ;; + + mingw* | pw32*) + lt_cv_dlopen="LoadLibrary" + lt_cv_dlopen_libs= + ;; + + cygwin*) + lt_cv_dlopen="dlopen" + lt_cv_dlopen_libs= + ;; + + darwin*) + # if libdl is installed we need to link against it + { $as_echo "$as_me:${as_lineno-8864}: checking for dlopen in -ldl" >&5 +$as_echo_n "checking for dlopen in -ldl... " >&6; } +if test "${ac_cv_lib_dl_dlopen+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-ldl $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char dlopen (); +int +main () +{ +return dlopen (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "8889"; then : + ac_cv_lib_dl_dlopen=yes +else + ac_cv_lib_dl_dlopen=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-8898}: result: $ac_cv_lib_dl_dlopen" >&5 +$as_echo "$ac_cv_lib_dl_dlopen" >&6; } +if test "x$ac_cv_lib_dl_dlopen" = x""yes; then : + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" +else + + lt_cv_dlopen="dyld" + lt_cv_dlopen_libs= + lt_cv_dlopen_self=yes + +fi + + ;; + + *) + ac_fn_c_check_func "8913" "shl_load" "ac_cv_func_shl_load" +if test "x$ac_cv_func_shl_load" = x""yes; then : + lt_cv_dlopen="shl_load" +else + { $as_echo "$as_me:${as_lineno-8917}: checking for shl_load in -ldld" >&5 +$as_echo_n "checking for shl_load in -ldld... " >&6; } +if test "${ac_cv_lib_dld_shl_load+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-ldld $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char shl_load (); +int +main () +{ +return shl_load (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "8942"; then : + ac_cv_lib_dld_shl_load=yes +else + ac_cv_lib_dld_shl_load=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-8951}: result: $ac_cv_lib_dld_shl_load" >&5 +$as_echo "$ac_cv_lib_dld_shl_load" >&6; } +if test "x$ac_cv_lib_dld_shl_load" = x""yes; then : + lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld" +else + ac_fn_c_check_func "8956" "dlopen" "ac_cv_func_dlopen" +if test "x$ac_cv_func_dlopen" = x""yes; then : + lt_cv_dlopen="dlopen" +else + { $as_echo "$as_me:${as_lineno-8960}: checking for dlopen in -ldl" >&5 +$as_echo_n "checking for dlopen in -ldl... " >&6; } +if test "${ac_cv_lib_dl_dlopen+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-ldl $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char dlopen (); +int +main () +{ +return dlopen (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "8985"; then : + ac_cv_lib_dl_dlopen=yes +else + ac_cv_lib_dl_dlopen=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-8994}: result: $ac_cv_lib_dl_dlopen" >&5 +$as_echo "$ac_cv_lib_dl_dlopen" >&6; } +if test "x$ac_cv_lib_dl_dlopen" = x""yes; then : + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" +else + { $as_echo "$as_me:${as_lineno-8999}: checking for dlopen in -lsvld" >&5 +$as_echo_n "checking for dlopen in -lsvld... " >&6; } +if test "${ac_cv_lib_svld_dlopen+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lsvld $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char dlopen (); +int +main () +{ +return dlopen (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "9024"; then : + ac_cv_lib_svld_dlopen=yes +else + ac_cv_lib_svld_dlopen=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-9033}: result: $ac_cv_lib_svld_dlopen" >&5 +$as_echo "$ac_cv_lib_svld_dlopen" >&6; } +if test "x$ac_cv_lib_svld_dlopen" = x""yes; then : + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" +else + { $as_echo "$as_me:${as_lineno-9038}: checking for dld_link in -ldld" >&5 +$as_echo_n "checking for dld_link in -ldld... " >&6; } +if test "${ac_cv_lib_dld_dld_link+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-ldld $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char dld_link (); +int +main () +{ +return dld_link (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "9063"; then : + ac_cv_lib_dld_dld_link=yes +else + ac_cv_lib_dld_dld_link=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-9072}: result: $ac_cv_lib_dld_dld_link" >&5 +$as_echo "$ac_cv_lib_dld_dld_link" >&6; } +if test "x$ac_cv_lib_dld_dld_link" = x""yes; then : + lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld" +fi + + +fi + + +fi + + +fi + + +fi + + +fi + + ;; + esac + + if test "x$lt_cv_dlopen" != xno; then + enable_dlopen=yes + else + enable_dlopen=no + fi + + case $lt_cv_dlopen in + dlopen) + save_CPPFLAGS="$CPPFLAGS" + test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" + + save_LDFLAGS="$LDFLAGS" + eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" + + save_LIBS="$LIBS" + LIBS="$lt_cv_dlopen_libs $LIBS" + + { $as_echo "$as_me:${as_lineno-9113}: checking whether a program can dlopen itself" >&5 +$as_echo_n "checking whether a program can dlopen itself... " >&6; } +if test "${lt_cv_dlopen_self+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if test "$cross_compiling" = yes; then : + lt_cv_dlopen_self=cross +else + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 + lt_status=$lt_dlunknown + cat > conftest.$ac_ext < +#endif + +#include + +#ifdef RTLD_GLOBAL +# define LT_DLGLOBAL RTLD_GLOBAL +#else +# ifdef DL_GLOBAL +# define LT_DLGLOBAL DL_GLOBAL +# else +# define LT_DLGLOBAL 0 +# endif +#endif + +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we + find out it does not work in some platform. */ +#ifndef LT_DLLAZY_OR_NOW +# ifdef RTLD_LAZY +# define LT_DLLAZY_OR_NOW RTLD_LAZY +# else +# ifdef DL_LAZY +# define LT_DLLAZY_OR_NOW DL_LAZY +# else +# ifdef RTLD_NOW +# define LT_DLLAZY_OR_NOW RTLD_NOW +# else +# ifdef DL_NOW +# define LT_DLLAZY_OR_NOW DL_NOW +# else +# define LT_DLLAZY_OR_NOW 0 +# endif +# endif +# endif +# endif +#endif + +#ifdef __cplusplus +extern "C" void exit (int); +#endif + +void fnord() { int i=42;} +int main () +{ + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); + int status = $lt_dlunknown; + + if (self) + { + if (dlsym (self,"fnord")) status = $lt_dlno_uscore; + else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; + /* dlclose (self); */ + } + + exit (status); +} +EOF + if { { eval echo "\"\$as_me\":${as_lineno-9185}: \"$ac_link\""; } >&5 + (eval $ac_link) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-9188}: \$? = $ac_status" >&5 + test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then + (./conftest; exit; ) 2>/dev/null + lt_status=$? + case x$lt_status in + x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; + x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; + x$lt_unknown|x*) lt_cv_dlopen_self=no ;; + esac + else : + # compilation failed + lt_cv_dlopen_self=no + fi +fi +rm -fr conftest* + + +fi +{ $as_echo "$as_me:${as_lineno-9206}: result: $lt_cv_dlopen_self" >&5 +$as_echo "$lt_cv_dlopen_self" >&6; } + + if test "x$lt_cv_dlopen_self" = xyes; then + LDFLAGS="$LDFLAGS $link_static_flag" + { $as_echo "$as_me:${as_lineno-9211}: checking whether a statically linked program can dlopen itself" >&5 +$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } +if test "${lt_cv_dlopen_self_static+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if test "$cross_compiling" = yes; then : + lt_cv_dlopen_self_static=cross +else + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 + lt_status=$lt_dlunknown + cat > conftest.$ac_ext < +#endif + +#include + +#ifdef RTLD_GLOBAL +# define LT_DLGLOBAL RTLD_GLOBAL +#else +# ifdef DL_GLOBAL +# define LT_DLGLOBAL DL_GLOBAL +# else +# define LT_DLGLOBAL 0 +# endif +#endif + +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we + find out it does not work in some platform. */ +#ifndef LT_DLLAZY_OR_NOW +# ifdef RTLD_LAZY +# define LT_DLLAZY_OR_NOW RTLD_LAZY +# else +# ifdef DL_LAZY +# define LT_DLLAZY_OR_NOW DL_LAZY +# else +# ifdef RTLD_NOW +# define LT_DLLAZY_OR_NOW RTLD_NOW +# else +# ifdef DL_NOW +# define LT_DLLAZY_OR_NOW DL_NOW +# else +# define LT_DLLAZY_OR_NOW 0 +# endif +# endif +# endif +# endif +#endif + +#ifdef __cplusplus +extern "C" void exit (int); +#endif + +void fnord() { int i=42;} +int main () +{ + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); + int status = $lt_dlunknown; + + if (self) + { + if (dlsym (self,"fnord")) status = $lt_dlno_uscore; + else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; + /* dlclose (self); */ + } + + exit (status); +} +EOF + if { { eval echo "\"\$as_me\":${as_lineno-9283}: \"$ac_link\""; } >&5 + (eval $ac_link) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-9286}: \$? = $ac_status" >&5 + test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then + (./conftest; exit; ) 2>/dev/null + lt_status=$? + case x$lt_status in + x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; + x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; + x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;; + esac + else : + # compilation failed + lt_cv_dlopen_self_static=no + fi +fi +rm -fr conftest* + + +fi +{ $as_echo "$as_me:${as_lineno-9304}: result: $lt_cv_dlopen_self_static" >&5 +$as_echo "$lt_cv_dlopen_self_static" >&6; } + fi + + CPPFLAGS="$save_CPPFLAGS" + LDFLAGS="$save_LDFLAGS" + LIBS="$save_LIBS" + ;; + esac + + case $lt_cv_dlopen_self in + yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; + *) enable_dlopen_self=unknown ;; + esac + + case $lt_cv_dlopen_self_static in + yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; + *) enable_dlopen_self_static=unknown ;; + esac +fi + + +# Report which librarie types wil actually be built +{ $as_echo "$as_me:${as_lineno-9327}: checking if libtool supports shared libraries" >&5 +$as_echo_n "checking if libtool supports shared libraries... " >&6; } +{ $as_echo "$as_me:${as_lineno-9329}: result: $can_build_shared" >&5 +$as_echo "$can_build_shared" >&6; } + +{ $as_echo "$as_me:${as_lineno-9332}: checking whether to build shared libraries" >&5 +$as_echo_n "checking whether to build shared libraries... " >&6; } +test "$can_build_shared" = "no" && enable_shared=no + +# On AIX, shared libraries and static libraries use the same namespace, and +# are all built from PIC. +case "$host_os" in +aix3*) + test "$enable_shared" = yes && enable_static=no + if test -n "$RANLIB"; then + archive_cmds="$archive_cmds~\$RANLIB \$lib" + postinstall_cmds='$RANLIB $lib' + fi + ;; + +aix4* | aix5*) + if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then + test "$enable_shared" = yes && enable_static=no + fi + ;; + darwin* | rhapsody*) + if test "$GCC" = yes; then + archive_cmds_need_lc=no + case "$host_os" in + rhapsody* | darwin1.[012]) + allow_undefined_flag='-undefined suppress' + ;; + *) # Darwin 1.3 on + if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then + allow_undefined_flag='-flat_namespace -undefined suppress' + else + case ${MACOSX_DEPLOYMENT_TARGET} in + 10.[012]) + allow_undefined_flag='-flat_namespace -undefined suppress' + ;; + 10.*) + allow_undefined_flag='-undefined dynamic_lookup' + ;; + esac + fi + ;; + esac + output_verbose_link_cmd='echo' + archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring' + module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's + archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + module_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + hardcode_direct=no + hardcode_automatic=yes + hardcode_shlibpath_var=unsupported + whole_archive_flag_spec='-all_load $convenience' + link_all_deplibs=yes + else + ld_shlibs=no + fi + ;; +esac +{ $as_echo "$as_me:${as_lineno-9390}: result: $enable_shared" >&5 +$as_echo "$enable_shared" >&6; } + +{ $as_echo "$as_me:${as_lineno-9393}: checking whether to build static libraries" >&5 +$as_echo_n "checking whether to build static libraries... " >&6; } +# Make sure either enable_shared or enable_static is yes. +test "$enable_shared" = yes || enable_static=yes +{ $as_echo "$as_me:${as_lineno-9397}: result: $enable_static" >&5 +$as_echo "$enable_static" >&6; } + +# The else clause should only fire when bootstrapping the +# libtool distribution, otherwise you forgot to ship ltmain.sh +# with your package, and you will get complaints that there are +# no rules to generate ltmain.sh. +if test -f "$ltmain"; then + # See if we are running on zsh, and set the options which allow our commands through + # without removal of \ escapes. + if test -n "${ZSH_VERSION+set}" ; then + setopt NO_GLOB_SUBST + fi + # Now quote all the things that may contain metacharacters while being + # careful not to overquote the AC_SUBSTed values. We take copies of the + # variables and quote the copies for generation of the libtool script. + for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \ + SED SHELL STRIP \ + libname_spec library_names_spec soname_spec extract_expsyms_cmds \ + old_striplib striplib file_magic_cmd finish_cmds finish_eval \ + deplibs_check_method reload_flag reload_cmds need_locks \ + lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ + lt_cv_sys_global_symbol_to_c_name_address \ + sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ + old_postinstall_cmds old_postuninstall_cmds \ + compiler \ + CC \ + LD \ + lt_prog_compiler_wl \ + lt_prog_compiler_pic \ + lt_prog_compiler_static \ + lt_prog_compiler_no_builtin_flag \ + export_dynamic_flag_spec \ + thread_safe_flag_spec \ + whole_archive_flag_spec \ + enable_shared_with_static_runtimes \ + old_archive_cmds \ + old_archive_from_new_cmds \ + predep_objects \ + postdep_objects \ + predeps \ + postdeps \ + compiler_lib_search_path \ + archive_cmds \ + archive_expsym_cmds \ + postinstall_cmds \ + postuninstall_cmds \ + old_archive_from_expsyms_cmds \ + allow_undefined_flag \ + no_undefined_flag \ + export_symbols_cmds \ + hardcode_libdir_flag_spec \ + hardcode_libdir_flag_spec_ld \ + hardcode_libdir_separator \ + hardcode_automatic \ + module_cmds \ + module_expsym_cmds \ + lt_cv_prog_compiler_c_o \ + exclude_expsyms \ + include_expsyms; do + + case $var in + old_archive_cmds | \ + old_archive_from_new_cmds | \ + archive_cmds | \ + archive_expsym_cmds | \ + module_cmds | \ + module_expsym_cmds | \ + old_archive_from_expsyms_cmds | \ + export_symbols_cmds | \ + extract_expsyms_cmds | reload_cmds | finish_cmds | \ + postinstall_cmds | postuninstall_cmds | \ + old_postinstall_cmds | old_postuninstall_cmds | \ + sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) + # Double-quote double-evaled strings. + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" + ;; + *) + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\"" + ;; + esac + done + + case $lt_echo in + *'\$0 --fallback-echo"') + lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'` + ;; + esac + +cfgfile="${ofile}T" + trap "$rm \"$cfgfile\"; exit 1" 1 2 15 + $rm -f "$cfgfile" + { $as_echo "$as_me:${as_lineno-9489}: creating $ofile" >&5 +$as_echo "$as_me: creating $ofile" >&6;} + + cat <<__EOF__ >> "$cfgfile" +#! $SHELL + +# `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services. +# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP) +# NOTE: Changes made to this file will be lost: look at ltmain.sh. +# +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001 +# Free Software Foundation, Inc. +# +# This file is part of GNU Libtool: +# Originally by Gordon Matzigkeit , 1996 +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# 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. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +# +# As a special exception to the GNU General Public License, if you +# distribute this file as part of a program that contains a +# configuration script generated by Autoconf, you may include it under +# the same distribution terms that you use for the rest of that program. + +# A sed program that does not truncate output. +SED=$lt_SED + +# Sed that helps us avoid accidentally triggering echo(1) options like -n. +Xsed="$SED -e s/^X//" + +# The HP-UX ksh and POSIX shell print the target directory to stdout +# if CDPATH is set. +if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi + +# The names of the tagged configurations supported by this script. +available_tags= + +# ### BEGIN LIBTOOL CONFIG + +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: + +# Shell to use when invoking shell scripts. +SHELL=$lt_SHELL + +# Whether or not to build shared libraries. +build_libtool_libs=$enable_shared + +# Whether or not to build static libraries. +build_old_libs=$enable_static + +# Whether or not to add -lc for building shared libraries. +build_libtool_need_lc=$archive_cmds_need_lc + +# Whether or not to disallow shared libs when runtime libs are static +allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes + +# Whether or not to optimize for fast installation. +fast_install=$enable_fast_install + +# The host system. +host_alias=$host_alias +host=$host + +# An echo program that does not interpret backslashes. +echo=$lt_echo + +# The archiver. +AR=$lt_AR +AR_FLAGS=$lt_AR_FLAGS + +# A C compiler. +LTCC=$lt_LTCC + +# A language-specific compiler. +CC=$lt_compiler + +# Is the compiler the GNU C compiler? +with_gcc=$GCC + +# An ERE matcher. +EGREP=$lt_EGREP + +# The linker used to build libraries. +LD=$lt_LD + +# Whether we need hard or soft links. +LN_S=$lt_LN_S + +# A BSD-compatible nm program. +NM=$lt_NM + +# A symbol stripping program +STRIP=$lt_STRIP + +# Used to examine libraries when file_magic_cmd begins "file" +MAGIC_CMD=$MAGIC_CMD + +# Used on cygwin: DLL creation program. +DLLTOOL="$DLLTOOL" + +# Used on cygwin: object dumper. +OBJDUMP="$OBJDUMP" + +# Used on cygwin: assembler. +AS="$AS" + +# The name of the directory that contains temporary libtool files. +objdir=$objdir + +# How to create reloadable object files. +reload_flag=$lt_reload_flag +reload_cmds=$lt_reload_cmds + +# How to pass a linker flag through the compiler. +wl=$lt_lt_prog_compiler_wl + +# Object file suffix (normally "o"). +objext="$ac_objext" + +# Old archive suffix (normally "a"). +libext="$libext" + +# Shared library suffix (normally ".so"). +shrext_cmds='$shrext_cmds' + +# Executable file suffix (normally ""). +exeext="$exeext" + +# Additional compiler flags for building library objects. +pic_flag=$lt_lt_prog_compiler_pic +pic_mode=$pic_mode + +# What is the maximum length of a command? +max_cmd_len=$lt_cv_sys_max_cmd_len + +# Does compiler simultaneously support -c and -o options? +compiler_c_o=$lt_lt_cv_prog_compiler_c_o + +# Must we lock files when doing compilation ? +need_locks=$lt_need_locks + +# Do we need the lib prefix for modules? +need_lib_prefix=$need_lib_prefix + +# Do we need a version for libraries? +need_version=$need_version + +# Whether dlopen is supported. +dlopen_support=$enable_dlopen + +# Whether dlopen of programs is supported. +dlopen_self=$enable_dlopen_self + +# Whether dlopen of statically linked programs is supported. +dlopen_self_static=$enable_dlopen_self_static + +# Compiler flag to prevent dynamic linking. +link_static_flag=$lt_lt_prog_compiler_static + +# Compiler flag to turn off builtin functions. +no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag + +# Compiler flag to allow reflexive dlopens. +export_dynamic_flag_spec=$lt_export_dynamic_flag_spec + +# Compiler flag to generate shared objects directly from archives. +whole_archive_flag_spec=$lt_whole_archive_flag_spec + +# Compiler flag to generate thread-safe objects. +thread_safe_flag_spec=$lt_thread_safe_flag_spec + +# Library versioning type. +version_type=$version_type + +# Format of library name prefix. +libname_spec=$lt_libname_spec + +# List of archive names. First name is the real one, the rest are links. +# The last name is the one that the linker finds with -lNAME. +library_names_spec=$lt_library_names_spec + +# The coded name of the library, if different from the real name. +soname_spec=$lt_soname_spec + +# Commands used to build and install an old-style archive. +RANLIB=$lt_RANLIB +old_archive_cmds=$lt_old_archive_cmds +old_postinstall_cmds=$lt_old_postinstall_cmds +old_postuninstall_cmds=$lt_old_postuninstall_cmds + +# Create an old-style archive from a shared archive. +old_archive_from_new_cmds=$lt_old_archive_from_new_cmds + +# Create a temporary old-style archive to link instead of a shared archive. +old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds + +# Commands used to build and install a shared archive. +archive_cmds=$lt_archive_cmds +archive_expsym_cmds=$lt_archive_expsym_cmds +postinstall_cmds=$lt_postinstall_cmds +postuninstall_cmds=$lt_postuninstall_cmds + +# Commands used to build a loadable module (assumed same as above if empty) +module_cmds=$lt_module_cmds +module_expsym_cmds=$lt_module_expsym_cmds + +# Commands to strip libraries. +old_striplib=$lt_old_striplib +striplib=$lt_striplib + +# Dependencies to place before the objects being linked to create a +# shared library. +predep_objects=$lt_predep_objects + +# Dependencies to place after the objects being linked to create a +# shared library. +postdep_objects=$lt_postdep_objects + +# Dependencies to place before the objects being linked to create a +# shared library. +predeps=$lt_predeps + +# Dependencies to place after the objects being linked to create a +# shared library. +postdeps=$lt_postdeps + +# The library search path used internally by the compiler when linking +# a shared library. +compiler_lib_search_path=$lt_compiler_lib_search_path + +# Method to check whether dependent libraries are shared objects. +deplibs_check_method=$lt_deplibs_check_method + +# Command to use when deplibs_check_method == file_magic. +file_magic_cmd=$lt_file_magic_cmd + +# Flag that allows shared libraries with undefined symbols to be built. +allow_undefined_flag=$lt_allow_undefined_flag + +# Flag that forces no undefined symbols. +no_undefined_flag=$lt_no_undefined_flag + +# Commands used to finish a libtool library installation in a directory. +finish_cmds=$lt_finish_cmds + +# Same as above, but a single script fragment to be evaled but not shown. +finish_eval=$lt_finish_eval + +# Take the output of nm and produce a listing of raw symbols and C names. +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe + +# Transform the output of nm in a proper C declaration +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl + +# Transform the output of nm in a C name address pair +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address + +# This is the shared library runtime path variable. +runpath_var=$runpath_var + +# This is the shared library path variable. +shlibpath_var=$shlibpath_var + +# Is shlibpath searched before the hard-coded library search path? +shlibpath_overrides_runpath=$shlibpath_overrides_runpath + +# How to hardcode a shared library path into an executable. +hardcode_action=$hardcode_action + +# Whether we should hardcode library paths into libraries. +hardcode_into_libs=$hardcode_into_libs + +# Flag to hardcode \$libdir into a binary during linking. +# This must work even if \$libdir does not exist. +hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec + +# If ld is used when linking, flag to hardcode \$libdir into +# a binary during linking. This must work even if \$libdir does +# not exist. +hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld + +# Whether we need a single -rpath flag with a separated argument. +hardcode_libdir_separator=$lt_hardcode_libdir_separator + +# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the +# resulting binary. +hardcode_direct=$hardcode_direct + +# Set to yes if using the -LDIR flag during linking hardcodes DIR into the +# resulting binary. +hardcode_minus_L=$hardcode_minus_L + +# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into +# the resulting binary. +hardcode_shlibpath_var=$hardcode_shlibpath_var + +# Set to yes if building a shared library automatically hardcodes DIR into the library +# and all subsequent libraries and executables linked against it. +hardcode_automatic=$hardcode_automatic + +# Variables whose values should be saved in libtool wrapper scripts and +# restored at relink time. +variables_saved_for_relink="$variables_saved_for_relink" + +# Whether libtool must link a program against all its dependency libraries. +link_all_deplibs=$link_all_deplibs + +# Compile-time system search path for libraries +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec + +# Run-time system search path for libraries +sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec + +# Fix the shell variable \$srcfile for the compiler. +fix_srcfile_path="$fix_srcfile_path" + +# Set to yes if exported symbols are required. +always_export_symbols=$always_export_symbols + +# The commands to list exported symbols. +export_symbols_cmds=$lt_export_symbols_cmds + +# The commands to extract the exported symbol list from a shared archive. +extract_expsyms_cmds=$lt_extract_expsyms_cmds + +# Symbols that should not be listed in the preloaded symbols. +exclude_expsyms=$lt_exclude_expsyms + +# Symbols that must always be exported. +include_expsyms=$lt_include_expsyms + +# ### END LIBTOOL CONFIG + +__EOF__ + + + case $host_os in + aix3*) + cat <<\EOF >> "$cfgfile" + +# AIX sometimes has problems with the GCC collect2 program. For some +# reason, if we set the COLLECT_NAMES environment variable, the problems +# vanish in a puff of smoke. +if test "X${COLLECT_NAMES+set}" != Xset; then + COLLECT_NAMES= + export COLLECT_NAMES +fi +EOF + ;; + esac + + # We use sed instead of cat because bash on DJGPP gets confused if + # if finds mixed CR/LF and LF-only lines. Since sed operates in + # text mode, it properly converts lines to CR/LF. This bash problem + # is reportedly fixed, but why not run on old versions too? + sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1) + + mv -f "$cfgfile" "$ofile" || \ + (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") + chmod +x "$ofile" + +else + # If there is no Makefile yet, we rely on a make rule to execute + # `config.status --recheck' to rerun these tests and create the + # libtool script then. + ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'` + if test -f "$ltmain_in"; then + test -f Makefile && make "$ltmain" + fi +fi + + +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + +CC="$lt_save_CC" + + +# Check whether --with-tags was given. +if test "${with_tags+set}" = set; then : + withval=$with_tags; tagnames="$withval" +fi + + +if test -f "$ltmain" && test -n "$tagnames"; then + if test ! -f "${ofile}"; then + { $as_echo "$as_me:${as_lineno-9889}: WARNING: output file \`$ofile' does not exist" >&5 +$as_echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;} + fi + + if test -z "$LTCC"; then + eval "`$SHELL ${ofile} --config | grep '^LTCC='`" + if test -z "$LTCC"; then + { $as_echo "$as_me:${as_lineno-9896}: WARNING: output file \`$ofile' does not look like a libtool script" >&5 +$as_echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;} + else + { $as_echo "$as_me:${as_lineno-9899}: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5 +$as_echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;} + fi + fi + + # Extract list of available tagged configurations in $ofile. + # Note that this assumes the entire list is on one line. + available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'` + + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," + for tagname in $tagnames; do + IFS="$lt_save_ifs" + # Check whether tagname contains only valid characters + case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in + "") ;; + *) as_fn_error "invalid tag name: $tagname" "9914" 5 + ;; + esac + + if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null + then + as_fn_error "tag name \"$tagname\" already exists" "9920" 5 + fi + + # Update the list of available tags. + if test -n "$tagname"; then + echo appending configuration tag \"$tagname\" to $ofile + + case $tagname in + CXX) + if test -n "$CXX" && test "X$CXX" != "Xno"; then + ac_ext=cpp +ac_cpp='$CXXCPP $CPPFLAGS' +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + + + + +archive_cmds_need_lc_CXX=no +allow_undefined_flag_CXX= +always_export_symbols_CXX=no +archive_expsym_cmds_CXX= +export_dynamic_flag_spec_CXX= +hardcode_direct_CXX=no +hardcode_libdir_flag_spec_CXX= +hardcode_libdir_flag_spec_ld_CXX= +hardcode_libdir_separator_CXX= +hardcode_minus_L_CXX=no +hardcode_automatic_CXX=no +module_cmds_CXX= +module_expsym_cmds_CXX= +link_all_deplibs_CXX=unknown +old_archive_cmds_CXX=$old_archive_cmds +no_undefined_flag_CXX= +whole_archive_flag_spec_CXX= +enable_shared_with_static_runtimes_CXX=no + +# Dependencies to place before and after the object being linked: +predep_objects_CXX= +postdep_objects_CXX= +predeps_CXX= +postdeps_CXX= +compiler_lib_search_path_CXX= + +# Source file extension for C++ test sources. +ac_ext=cc + +# Object file extension for compiled C++ test sources. +objext=o +objext_CXX=$objext + +# Code to be used in simple compile tests +lt_simple_compile_test_code="int some_variable = 0;\n" + +# Code to be used in simple link tests +lt_simple_link_test_code='int main(int, char *) { return(0); }\n' + +# ltmain only uses $CC for tagged configurations so make sure $CC is set. + +# If no C compiler was specified, use CC. +LTCC=${LTCC-"$CC"} + +# Allow CC to be a program name with arguments. +compiler=$CC + + +# Allow CC to be a program name with arguments. +lt_save_CC=$CC +lt_save_LD=$LD +lt_save_GCC=$GCC +GCC=$GXX +lt_save_with_gnu_ld=$with_gnu_ld +lt_save_path_LD=$lt_cv_path_LD +if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then + lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx +else + unset lt_cv_prog_gnu_ld +fi +if test -n "${lt_cv_path_LDCXX+set}"; then + lt_cv_path_LD=$lt_cv_path_LDCXX +else + unset lt_cv_path_LD +fi +test -z "${LDCXX+set}" || LD=$LDCXX +CC=${CXX-"c++"} +compiler=$CC +compiler_CXX=$CC +cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'` + +# We don't want -fno-exception wen compiling C++ code, so set the +# no_builtin_flag separately +if test "$GXX" = yes; then + lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin' +else + lt_prog_compiler_no_builtin_flag_CXX= +fi + +if test "$GXX" = yes; then + # Set up default GNU C++ configuration + + +# Check whether --with-gnu-ld was given. +if test "${with_gnu_ld+set}" = set; then : + withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes +else + with_gnu_ld=no +fi + +ac_prog=ld +if test "$GCC" = yes; then + # Check if gcc -print-prog-name=ld gives a path. + { $as_echo "$as_me:${as_lineno-10032}: checking for ld used by $CC" >&5 +$as_echo_n "checking for ld used by $CC... " >&6; } + case $host in + *-*-mingw*) + # gcc leaves a trailing carriage return which upsets mingw + ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; + *) + ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; + esac + case $ac_prog in + # Accept absolute paths. + [\\/]* | ?:[\\/]*) + re_direlt='/[^/][^/]*/\.\./' + # Canonicalize the pathname of ld + ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'` + while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do + ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"` + done + test -z "$LD" && LD="$ac_prog" + ;; + "") + # If it fails, then pretend we aren't using GCC. + ac_prog=ld + ;; + *) + # If it is relative, then search for the first ld in PATH. + with_gnu_ld=unknown + ;; + esac +elif test "$with_gnu_ld" = yes; then + { $as_echo "$as_me:${as_lineno-10062}: checking for GNU ld" >&5 +$as_echo_n "checking for GNU ld... " >&6; } +else + { $as_echo "$as_me:${as_lineno-10065}: checking for non-GNU ld" >&5 +$as_echo_n "checking for non-GNU ld... " >&6; } +fi +if test "${lt_cv_path_LD+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if test -z "$LD"; then + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR + for ac_dir in $PATH; do + IFS="$lt_save_ifs" + test -z "$ac_dir" && ac_dir=. + if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then + lt_cv_path_LD="$ac_dir/$ac_prog" + # Check to see if the program is GNU ld. I'd rather use --version, + # but apparently some GNU ld's only accept -v. + # Break only if it was the GNU/non-GNU ld that we prefer. + case `"$lt_cv_path_LD" -v 2>&1 &5 +$as_echo "$LD" >&6; } +else + { $as_echo "$as_me:${as_lineno-10102}: result: no" >&5 +$as_echo "no" >&6; } +fi +test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "10105" 5 +{ $as_echo "$as_me:${as_lineno-10106}: checking if the linker ($LD) is GNU ld" >&5 +$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } +if test "${lt_cv_prog_gnu_ld+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + # I'd rather use --version here, but apparently some GNU ld's only accept -v. +case `$LD -v 2>&1 &5 +$as_echo "$lt_cv_prog_gnu_ld" >&6; } +with_gnu_ld=$lt_cv_prog_gnu_ld + + + + # Check if GNU C++ uses GNU ld as the underlying linker, since the + # archiving commands below assume that GNU ld is being used. + if test "$with_gnu_ld" = yes; then + archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + + hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir' + export_dynamic_flag_spec_CXX='${wl}--export-dynamic' + + # If archive_cmds runs LD, not CC, wlarc should be empty + # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to + # investigate it a little bit more. (MM) + wlarc='${wl}' + + # ancient GNU ld didn't support --whole-archive et. al. + if eval "`$CC -print-prog-name=ld` --help 2>&1" | \ + grep 'no-whole-archive' > /dev/null; then + whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' + else + whole_archive_flag_spec_CXX= + fi + else + with_gnu_ld=no + wlarc= + + # A generic and very simple default shared library creation + # command for GNU C++ for the case where it uses the native + # linker, instead of GNU ld. If possible, this setting should + # overridden to take advantage of the native linker features on + # the platform it is being used on. + archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' + fi + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"' + +else + GXX=no + with_gnu_ld=no + wlarc= +fi + +# PORTME: fill in a description of your system's C++ link characteristics +{ $as_echo "$as_me:${as_lineno-10172}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 +$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } +ld_shlibs_CXX=yes +case $host_os in + aix3*) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + aix4* | aix5*) + if test "$host_cpu" = ia64; then + # On IA64, the linker does run time linking by default, so we don't + # have to do anything special. + aix_use_runtimelinking=no + exp_sym_flag='-Bexport' + no_entry_flag="" + else + aix_use_runtimelinking=no + + # Test if we are trying to use run time linking or normal + # AIX style linking. If -brtl is somewhere in LDFLAGS, we + # need to do runtime linking. + case $host_os in aix4.[23]|aix4.[23].*|aix5*) + for ld_flag in $LDFLAGS; do + case $ld_flag in + *-brtl*) + aix_use_runtimelinking=yes + break + ;; + esac + done + esac + + exp_sym_flag='-bexport' + no_entry_flag='-bnoentry' + fi + + # When large executables or shared objects are built, AIX ld can + # have problems creating the table of contents. If linking a library + # or program results in "error TOC overflow" add -mminimal-toc to + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. + + archive_cmds_CXX='' + hardcode_direct_CXX=yes + hardcode_libdir_separator_CXX=':' + link_all_deplibs_CXX=yes + + if test "$GXX" = yes; then + case $host_os in aix4.012|aix4.012.*) + # We only want to do this on AIX 4.2 and lower, the check + # below for broken collect2 doesn't work under 4.3+ + collect2name=`${CC} -print-prog-name=collect2` + if test -f "$collect2name" && \ + strings "$collect2name" | grep resolve_lib_name >/dev/null + then + # We have reworked collect2 + hardcode_direct_CXX=yes + else + # We have old collect2 + hardcode_direct_CXX=unsupported + # It fails to find uninstalled libraries when the uninstalled + # path is not listed in the libpath. Setting hardcode_minus_L + # to unsupported forces relinking + hardcode_minus_L_CXX=yes + hardcode_libdir_flag_spec_CXX='-L$libdir' + hardcode_libdir_separator_CXX= + fi + esac + shared_flag='-shared' + else + # not using gcc + if test "$host_cpu" = ia64; then + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release + # chokes on -Wl,-G. The following line is correct: + shared_flag='-G' + else + if test "$aix_use_runtimelinking" = yes; then + shared_flag='${wl}-G' + else + shared_flag='${wl}-bM:SRE' + fi + fi + fi + + # It seems that -bexpall does not export symbols beginning with + # underscore (_), so it is better to generate a list of symbols to export. + always_export_symbols_CXX=yes + if test "$aix_use_runtimelinking" = yes; then + # Warning - without using the other runtime loading flags (-brtl), + # -berok will link without error, but may produce a broken library. + allow_undefined_flag_CXX='-berok' + # Determine the default libpath from the value encoded in an empty executable. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_cxx_try_link "10275"; then : + +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'` +# Check for a 64-bit object if we didn't find anything. +if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'`; fi +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi + + hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath" + + archive_expsym_cmds_CXX="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag" + else + if test "$host_cpu" = ia64; then + hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib' + allow_undefined_flag_CXX="-z nodefs" + archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols" + else + # Determine the default libpath from the value encoded in an empty executable. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_cxx_try_link "10308"; then : + +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'` +# Check for a 64-bit object if we didn't find anything. +if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'`; fi +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi + + hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath" + # Warning - without using the other run time loading flags, + # -berok will link without error, but may produce a broken library. + no_undefined_flag_CXX=' ${wl}-bernotok' + allow_undefined_flag_CXX=' ${wl}-berok' + # -bexpall does not export symbols beginning with underscore (_) + always_export_symbols_CXX=yes + # Exported symbols can be pulled into shared objects from archives + whole_archive_flag_spec_CXX=' ' + archive_cmds_need_lc_CXX=yes + # This is similar to how AIX traditionally builds it's shared libraries. + archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' + fi + fi + ;; + chorus*) + case $cc_basename in + *) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + esac + ;; + + cygwin* | mingw* | pw32*) + # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless, + # as there is no search path for DLLs. + hardcode_libdir_flag_spec_CXX='-L$libdir' + allow_undefined_flag_CXX=unsupported + always_export_symbols_CXX=no + enable_shared_with_static_runtimes_CXX=yes + + if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then + archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' + # If the export-symbols file already is a .def file (1st line + # is EXPORTS), use it as is; otherwise, prepend... + archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then + cp $export_symbols $output_objdir/$soname.def; + else + echo EXPORTS > $output_objdir/$soname.def; + cat $export_symbols >> $output_objdir/$soname.def; + fi~ + $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' + else + ld_shlibs_CXX=no + fi + ;; + + darwin* | rhapsody*) + if test "$GXX" = yes; then + archive_cmds_need_lc_CXX=no + case "$host_os" in + rhapsody* | darwin1.[012]) + allow_undefined_flag_CXX='-undefined suppress' + ;; + *) # Darwin 1.3 on + if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then + allow_undefined_flag_CXX='-flat_namespace -undefined suppress' + else + case ${MACOSX_DEPLOYMENT_TARGET} in + 10.[012]) + allow_undefined_flag_CXX='-flat_namespace -undefined suppress' + ;; + 10.*) + allow_undefined_flag_CXX='-undefined dynamic_lookup' + ;; + esac + fi + ;; + esac + lt_int_apple_cc_single_mod=no + output_verbose_link_cmd='echo' + if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then + lt_int_apple_cc_single_mod=yes + fi + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then + archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' + else + archive_cmds_CXX='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring' + fi + module_cmds_CXX='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' + + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then + archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + else + archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + fi + module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + hardcode_direct_CXX=no + hardcode_automatic_CXX=yes + hardcode_shlibpath_var_CXX=unsupported + whole_archive_flag_spec_CXX='-all_load $convenience' + link_all_deplibs_CXX=yes + else + ld_shlibs_CXX=no + fi + ;; + + dgux*) + case $cc_basename in + ec++) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + ghcx) + # Green Hills C++ Compiler + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + *) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + esac + ;; + freebsd12*) + # C++ shared libraries reported to be fairly broken before switch to ELF + ld_shlibs_CXX=no + ;; + freebsd-elf*) + archive_cmds_need_lc_CXX=no + ;; + freebsd* | kfreebsd*-gnu) + # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF + # conventions + ld_shlibs_CXX=yes + ;; + gnu*) + ;; + hpux9*) + hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir' + hardcode_libdir_separator_CXX=: + export_dynamic_flag_spec_CXX='${wl}-E' + hardcode_direct_CXX=yes + hardcode_minus_L_CXX=yes # Not in the search PATH, + # but as the default + # location of the library. + + case $cc_basename in + CC) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + aCC) + archive_cmds_CXX='$rm $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' + ;; + *) + if test "$GXX" = yes; then + archive_cmds_CXX='$rm $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + else + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + fi + ;; + esac + ;; + hpux10*|hpux11*) + if test $with_gnu_ld = no; then + case "$host_cpu" in + hppa*64*) + hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir' + hardcode_libdir_flag_spec_ld_CXX='+b $libdir' + hardcode_libdir_separator_CXX=: + ;; + ia64*) + hardcode_libdir_flag_spec_CXX='-L$libdir' + ;; + *) + hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir' + hardcode_libdir_separator_CXX=: + export_dynamic_flag_spec_CXX='${wl}-E' + ;; + esac + fi + case "$host_cpu" in + hppa*64*) + hardcode_direct_CXX=no + hardcode_shlibpath_var_CXX=no + ;; + ia64*) + hardcode_direct_CXX=no + hardcode_shlibpath_var_CXX=no + hardcode_minus_L_CXX=yes # Not in the search PATH, + # but as the default + # location of the library. + ;; + *) + hardcode_direct_CXX=yes + hardcode_minus_L_CXX=yes # Not in the search PATH, + # but as the default + # location of the library. + ;; + esac + + case $cc_basename in + CC) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + aCC) + case "$host_cpu" in + hppa*64*|ia64*) + archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs' + ;; + *) + archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' + ;; + esac + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' + ;; + *) + if test "$GXX" = yes; then + if test $with_gnu_ld = no; then + case "$host_cpu" in + ia64*|hppa*64*) + archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs' + ;; + *) + archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' + ;; + esac + fi + else + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + fi + ;; + esac + ;; + irix5* | irix6*) + case $cc_basename in + CC) + # SGI C++ + archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib' + + # Archives containing C++ object files must be created using + # "CC -ar", where "CC" is the IRIX C++ compiler. This is + # necessary to make sure instantiated templates are included + # in the archive. + old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs' + ;; + *) + if test "$GXX" = yes; then + if test "$with_gnu_ld" = no; then + archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib' + else + archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib' + fi + fi + link_all_deplibs_CXX=yes + ;; + esac + hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator_CXX=: + ;; + linux*) + case $cc_basename in + KCC) + # Kuck and Associates, Inc. (KAI) C++ Compiler + + # KCC will only create a shared library if the output file + # ends with ".so" (or ".sl" for HP-UX), so rename the library + # to its proper name (with version) after linking. + archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' + archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib' + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | grep "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' + + hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir' + export_dynamic_flag_spec_CXX='${wl}--export-dynamic' + + # Archives containing C++ object files must be created using + # "CC -Bstatic", where "CC" is the KAI C++ compiler. + old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' + ;; + icpc) + # Intel C++ + with_gnu_ld=yes + archive_cmds_need_lc_CXX=no + archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' + export_dynamic_flag_spec_CXX='${wl}--export-dynamic' + whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive' + ;; + cxx) + # Compaq C++ + archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols' + + runpath_var=LD_RUN_PATH + hardcode_libdir_flag_spec_CXX='-rpath $libdir' + hardcode_libdir_separator_CXX=: + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' + ;; + esac + ;; + lynxos*) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + m88k*) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + mvs*) + case $cc_basename in + cxx) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + *) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + esac + ;; + netbsd*) + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags' + wlarc= + hardcode_libdir_flag_spec_CXX='-R$libdir' + hardcode_direct_CXX=yes + hardcode_shlibpath_var_CXX=no + fi + # Workaround some broken pre-1.5 toolchains + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"' + ;; + osf3*) + case $cc_basename in + KCC) + # Kuck and Associates, Inc. (KAI) C++ Compiler + + # KCC will only create a shared library if the output file + # ends with ".so" (or ".sl" for HP-UX), so rename the library + # to its proper name (with version) after linking. + archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' + + hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' + hardcode_libdir_separator_CXX=: + + # Archives containing C++ object files must be created using + # "CC -Bstatic", where "CC" is the KAI C++ compiler. + old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' + + ;; + RCC) + # Rational C++ 2.4.1 + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + cxx) + allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*' + archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${objdir}/so_locations -o $lib' + + hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator_CXX=: + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' + ;; + *) + if test "$GXX" = yes && test "$with_gnu_ld" = no; then + allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*' + archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib' + + hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator_CXX=: + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"' + + else + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + fi + ;; + esac + ;; + osf4* | osf5*) + case $cc_basename in + KCC) + # Kuck and Associates, Inc. (KAI) C++ Compiler + + # KCC will only create a shared library if the output file + # ends with ".so" (or ".sl" for HP-UX), so rename the library + # to its proper name (with version) after linking. + archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' + + hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' + hardcode_libdir_separator_CXX=: + + # Archives containing C++ object files must be created using + # the KAI C++ compiler. + old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' + ;; + RCC) + # Rational C++ 2.4.1 + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + cxx) + allow_undefined_flag_CXX=' -expect_unresolved \*' + archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib' + archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~ + echo "-hidden">> $lib.exp~ + $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp `test -n "$verstring" && echo -set_version $verstring` -update_registry $objdir/so_locations -o $lib~ + $rm $lib.exp' + + hardcode_libdir_flag_spec_CXX='-rpath $libdir' + hardcode_libdir_separator_CXX=: + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' + ;; + *) + if test "$GXX" = yes && test "$with_gnu_ld" = no; then + allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*' + archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib' + + hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator_CXX=: + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"' + + else + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + fi + ;; + esac + ;; + psos*) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + sco*) + archive_cmds_need_lc_CXX=no + case $cc_basename in + CC) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + *) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + esac + ;; + sunos4*) + case $cc_basename in + CC) + # Sun C++ 4.x + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + lcc) + # Lucid + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + *) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + esac + ;; + solaris*) + case $cc_basename in + CC) + # Sun C++ 4.2, 5.x and Centerline C++ + no_undefined_flag_CXX=' -zdefs' + archive_cmds_CXX='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' + archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $CC -G${allow_undefined_flag} -nolib ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp' + + hardcode_libdir_flag_spec_CXX='-R$libdir' + hardcode_shlibpath_var_CXX=no + case $host_os in + solaris2.0-5 | solaris2.0-5.*) ;; + *) + # The C++ compiler is used as linker so we must use $wl + # flag to pass the commands to the underlying system + # linker. + # Supported since Solaris 2.6 (maybe 2.5.1?) + whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' + ;; + esac + link_all_deplibs_CXX=yes + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep "\-[LR]"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' + + # Archives containing C++ object files must be created using + # "CC -xar", where "CC" is the Sun C++ compiler. This is + # necessary to make sure instantiated templates are included + # in the archive. + old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs' + ;; + gcx) + # Green Hills C++ Compiler + archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' + + # The C++ compiler must be used to create the archive. + old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs' + ;; + *) + # GNU C++ compiler with Solaris linker + if test "$GXX" = yes && test "$with_gnu_ld" = no; then + no_undefined_flag_CXX=' ${wl}-z ${wl}defs' + if $CC --version | grep -v '^2\.7' > /dev/null; then + archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' + archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp' + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\"" + else + # g++ 2.7 appears to require `-G' NOT `-shared' on this + # platform. + archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' + archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp' + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\"" + fi + + hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir' + fi + ;; + esac + ;; + sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*) + archive_cmds_need_lc_CXX=no + ;; + tandem*) + case $cc_basename in + NCC) + # NonStop-UX NCC 3.20 + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + *) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + esac + ;; + vxworks*) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + *) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; +esac +{ $as_echo "$as_me:${as_lineno-10942}: result: $ld_shlibs_CXX" >&5 +$as_echo "$ld_shlibs_CXX" >&6; } +test "$ld_shlibs_CXX" = no && can_build_shared=no + +GCC_CXX="$GXX" +LD_CXX="$LD" + + +cat > conftest.$ac_ext <&5 + (eval $ac_compile) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-10963}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + # Parse the compiler output and extract the necessary + # objects, libraries and library flags. + + # Sentinel used to keep track of whether or not we are before + # the conftest object file. + pre_test_object_deps_done=no + + # The `*' in the case matches for architectures that use `case' in + # $output_verbose_cmd can trigger glob expansion during the loop + # eval without this substitution. + output_verbose_link_cmd="`$echo \"X$output_verbose_link_cmd\" | $Xsed -e \"$no_glob_subst\"`" + + for p in `eval $output_verbose_link_cmd`; do + case $p in + + -L* | -R* | -l*) + # Some compilers place space between "-{L,R}" and the path. + # Remove the space. + if test $p = "-L" \ + || test $p = "-R"; then + prev=$p + continue + else + prev= + fi + + if test "$pre_test_object_deps_done" = no; then + case $p in + -L* | -R*) + # Internal compiler library paths should come after those + # provided the user. The postdeps already come after the + # user supplied libs so there is no need to process them. + if test -z "$compiler_lib_search_path_CXX"; then + compiler_lib_search_path_CXX="${prev}${p}" + else + compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}" + fi + ;; + # The "-l" case would never come before the object being + # linked, so don't bother handling this case. + esac + else + if test -z "$postdeps_CXX"; then + postdeps_CXX="${prev}${p}" + else + postdeps_CXX="${postdeps_CXX} ${prev}${p}" + fi + fi + ;; + + *.$objext) + # This assumes that the test object file only shows up + # once in the compiler output. + if test "$p" = "conftest.$objext"; then + pre_test_object_deps_done=yes + continue + fi + + if test "$pre_test_object_deps_done" = no; then + if test -z "$predep_objects_CXX"; then + predep_objects_CXX="$p" + else + predep_objects_CXX="$predep_objects_CXX $p" + fi + else + if test -z "$postdep_objects_CXX"; then + postdep_objects_CXX="$p" + else + postdep_objects_CXX="$postdep_objects_CXX $p" + fi + fi + ;; + + *) ;; # Ignore the rest. + + esac + done + + # Clean up. + rm -f a.out a.exe +else + echo "libtool.m4: error: problem compiling CXX test program" +fi + +$rm -f confest.$objext + +case " $postdeps_CXX " in +*" -lc "*) archive_cmds_need_lc_CXX=no ;; +esac + +lt_prog_compiler_wl_CXX= +lt_prog_compiler_pic_CXX= +lt_prog_compiler_static_CXX= + +{ $as_echo "$as_me:${as_lineno-11059}: checking for $compiler option to produce PIC" >&5 +$as_echo_n "checking for $compiler option to produce PIC... " >&6; } + + # C++ specific cases for pic, static, wl, etc. + if test "$GXX" = yes; then + lt_prog_compiler_wl_CXX='-Wl,' + lt_prog_compiler_static_CXX='-static' + + case $host_os in + aix*) + # All AIX code is PIC. + if test "$host_cpu" = ia64; then + # AIX 5 now supports IA64 processor + lt_prog_compiler_static_CXX='-Bstatic' + fi + ;; + amigaos*) + # FIXME: we need at least 68020 code to build shared libraries, but + # adding the `-m68020' flag to GCC prevents building anything better, + # like `-m68040'. + lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4' + ;; + beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) + # PIC is the default for these OSes. + ;; + mingw* | os2* | pw32*) + # This hack is so that the source file can tell whether it is being + # built for inclusion in a dll (and should export symbols for example). + lt_prog_compiler_pic_CXX='-DDLL_EXPORT' + ;; + darwin* | rhapsody*) + # PIC is the default on this platform + # Common symbols not allowed in MH_DYLIB files + lt_prog_compiler_pic_CXX='-fno-common' + ;; + *djgpp*) + # DJGPP does not support shared libraries at all + lt_prog_compiler_pic_CXX= + ;; + sysv4*MP*) + if test -d /usr/nec; then + lt_prog_compiler_pic_CXX=-Kconform_pic + fi + ;; + hpux*) + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but + # not for PA HP-UX. + case "$host_cpu" in + hppa*64*|ia64*) + ;; + *) + lt_prog_compiler_pic_CXX='-fPIC' + ;; + esac + ;; + *) + lt_prog_compiler_pic_CXX='-fPIC' + ;; + esac + else + case $host_os in + aix4* | aix5*) + # All AIX code is PIC. + if test "$host_cpu" = ia64; then + # AIX 5 now supports IA64 processor + lt_prog_compiler_static_CXX='-Bstatic' + else + lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp' + fi + ;; + chorus*) + case $cc_basename in + cxch68) + # Green Hills C++ Compiler + # _LT_AC_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a" + ;; + esac + ;; + dgux*) + case $cc_basename in + ec++) + lt_prog_compiler_pic_CXX='-KPIC' + ;; + ghcx) + # Green Hills C++ Compiler + lt_prog_compiler_pic_CXX='-pic' + ;; + *) + ;; + esac + ;; + freebsd* | kfreebsd*-gnu) + # FreeBSD uses GNU C++ + ;; + hpux9* | hpux10* | hpux11*) + case $cc_basename in + CC) + lt_prog_compiler_wl_CXX='-Wl,' + lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive" + if test "$host_cpu" != ia64; then + lt_prog_compiler_pic_CXX='+Z' + fi + ;; + aCC) + lt_prog_compiler_wl_CXX='-Wl,' + lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive" + case "$host_cpu" in + hppa*64*|ia64*) + # +Z the default + ;; + *) + lt_prog_compiler_pic_CXX='+Z' + ;; + esac + ;; + *) + ;; + esac + ;; + irix5* | irix6* | nonstopux*) + case $cc_basename in + CC) + lt_prog_compiler_wl_CXX='-Wl,' + lt_prog_compiler_static_CXX='-non_shared' + # CC pic flag -KPIC is the default. + ;; + *) + ;; + esac + ;; + linux*) + case $cc_basename in + KCC) + # KAI C++ Compiler + lt_prog_compiler_wl_CXX='--backend -Wl,' + lt_prog_compiler_pic_CXX='-fPIC' + ;; + icpc) + # Intel C++ + lt_prog_compiler_wl_CXX='-Wl,' + lt_prog_compiler_pic_CXX='-KPIC' + lt_prog_compiler_static_CXX='-static' + ;; + cxx) + # Compaq C++ + # Make sure the PIC flag is empty. It appears that all Alpha + # Linux and Compaq Tru64 Unix objects are PIC. + lt_prog_compiler_pic_CXX= + lt_prog_compiler_static_CXX='-non_shared' + ;; + *) + ;; + esac + ;; + lynxos*) + ;; + m88k*) + ;; + mvs*) + case $cc_basename in + cxx) + lt_prog_compiler_pic_CXX='-W c,exportall' + ;; + *) + ;; + esac + ;; + netbsd*) + ;; + osf3* | osf4* | osf5*) + case $cc_basename in + KCC) + lt_prog_compiler_wl_CXX='--backend -Wl,' + ;; + RCC) + # Rational C++ 2.4.1 + lt_prog_compiler_pic_CXX='-pic' + ;; + cxx) + # Digital/Compaq C++ + lt_prog_compiler_wl_CXX='-Wl,' + # Make sure the PIC flag is empty. It appears that all Alpha + # Linux and Compaq Tru64 Unix objects are PIC. + lt_prog_compiler_pic_CXX= + lt_prog_compiler_static_CXX='-non_shared' + ;; + *) + ;; + esac + ;; + psos*) + ;; + sco*) + case $cc_basename in + CC) + lt_prog_compiler_pic_CXX='-fPIC' + ;; + *) + ;; + esac + ;; + solaris*) + case $cc_basename in + CC) + # Sun C++ 4.2, 5.x and Centerline C++ + lt_prog_compiler_pic_CXX='-KPIC' + lt_prog_compiler_static_CXX='-Bstatic' + lt_prog_compiler_wl_CXX='-Qoption ld ' + ;; + gcx) + # Green Hills C++ Compiler + lt_prog_compiler_pic_CXX='-PIC' + ;; + *) + ;; + esac + ;; + sunos4*) + case $cc_basename in + CC) + # Sun C++ 4.x + lt_prog_compiler_pic_CXX='-pic' + lt_prog_compiler_static_CXX='-Bstatic' + ;; + lcc) + # Lucid + lt_prog_compiler_pic_CXX='-pic' + ;; + *) + ;; + esac + ;; + tandem*) + case $cc_basename in + NCC) + # NonStop-UX NCC 3.20 + lt_prog_compiler_pic_CXX='-KPIC' + ;; + *) + ;; + esac + ;; + unixware*) + ;; + vxworks*) + ;; + *) + lt_prog_compiler_can_build_shared_CXX=no + ;; + esac + fi + +{ $as_echo "$as_me:${as_lineno-11311}: result: $lt_prog_compiler_pic_CXX" >&5 +$as_echo "$lt_prog_compiler_pic_CXX" >&6; } + +# +# Check to make sure the PIC flag actually works. +# +if test -n "$lt_prog_compiler_pic_CXX"; then + +{ $as_echo "$as_me:${as_lineno-11319}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5 +$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; } +if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + lt_prog_compiler_pic_works_CXX=no + ac_outfile=conftest.$ac_objext + printf "$lt_simple_compile_test_code" > conftest.$ac_ext + lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + # The option is referenced via a variable to avoid confusing sed. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:11337: $lt_compile\"" >&5) + (eval "$lt_compile" 2>conftest.err) + ac_status=$? + cat conftest.err >&5 + echo "$as_me:11341: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s "$ac_outfile"; then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings + if test ! -s conftest.err; then + lt_prog_compiler_pic_works_CXX=yes + fi + fi + $rm conftest* + +fi +{ $as_echo "$as_me:${as_lineno-11352}: result: $lt_prog_compiler_pic_works_CXX" >&5 +$as_echo "$lt_prog_compiler_pic_works_CXX" >&6; } + +if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then + case $lt_prog_compiler_pic_CXX in + "" | " "*) ;; + *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;; + esac +else + lt_prog_compiler_pic_CXX= + lt_prog_compiler_can_build_shared_CXX=no +fi + +fi +case "$host_os" in + # For platforms which do not support PIC, -DPIC is meaningless: + *djgpp*) + lt_prog_compiler_pic_CXX= + ;; + *) + lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC" + ;; +esac + +{ $as_echo "$as_me:${as_lineno-11376}: checking if $compiler supports -c -o file.$ac_objext" >&5 +$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } +if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + lt_cv_prog_compiler_c_o_CXX=no + $rm -r conftest 2>/dev/null + mkdir conftest + cd conftest + mkdir out + printf "$lt_simple_compile_test_code" > conftest.$ac_ext + + lt_compiler_flag="-o out/conftest2.$ac_objext" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:11397: $lt_compile\"" >&5) + (eval "$lt_compile" 2>out/conftest.err) + ac_status=$? + cat out/conftest.err >&5 + echo "$as_me:11401: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s out/conftest2.$ac_objext + then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings + if test ! -s out/conftest.err; then + lt_cv_prog_compiler_c_o_CXX=yes + fi + fi + chmod u+w . + $rm conftest* + # SGI C++ compiler will create directory out/ii_files/ for + # template instantiation + test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files + $rm out/* && rmdir out + cd .. + rmdir conftest + $rm conftest* + +fi +{ $as_echo "$as_me:${as_lineno-11421}: result: $lt_cv_prog_compiler_c_o_CXX" >&5 +$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; } + + +hard_links="nottested" +if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then + # do not overwrite the value of need_locks provided by the user + { $as_echo "$as_me:${as_lineno-11428}: checking if we can lock with hard links" >&5 +$as_echo_n "checking if we can lock with hard links... " >&6; } + hard_links=yes + $rm conftest* + ln conftest.a conftest.b 2>/dev/null && hard_links=no + touch conftest.a + ln conftest.a conftest.b 2>&5 || hard_links=no + ln conftest.a conftest.b 2>/dev/null && hard_links=no + { $as_echo "$as_me:${as_lineno-11436}: result: $hard_links" >&5 +$as_echo "$hard_links" >&6; } + if test "$hard_links" = no; then + { $as_echo "$as_me:${as_lineno-11439}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 +$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} + need_locks=warn + fi +else + need_locks=no +fi + +{ $as_echo "$as_me:${as_lineno-11447}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 +$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } + + export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' + case $host_os in + aix4* | aix5*) + # If we're using GNU nm, then we don't want the "-C" option. + # -C means demangle to AIX nm, but means don't demangle with GNU nm + if $NM -V 2>&1 | grep 'GNU' > /dev/null; then + export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' + else + export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' + fi + ;; + pw32*) + export_symbols_cmds_CXX="$ltdll_cmds" + ;; + cygwin* | mingw*) + export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols' + ;; + *) + export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' + ;; + esac + +{ $as_echo "$as_me:${as_lineno-11472}: result: $ld_shlibs_CXX" >&5 +$as_echo "$ld_shlibs_CXX" >&6; } +test "$ld_shlibs_CXX" = no && can_build_shared=no + +variables_saved_for_relink="PATH $shlibpath_var $runpath_var" +if test "$GCC" = yes; then + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" +fi + +# +# Do we need to explicitly link libc? +# +case "x$archive_cmds_need_lc_CXX" in +x|xyes) + # Assume -lc should be added + archive_cmds_need_lc_CXX=yes + + if test "$enable_shared" = yes && test "$GCC" = yes; then + case $archive_cmds_CXX in + *'~'*) + # FIXME: we may have to deal with multi-command sequences. + ;; + '$CC '*) + # Test whether the compiler implicitly links with -lc since on some + # systems, -lgcc has to come before -lc. If gcc already passes -lc + # to ld, don't add -lc before -lgcc. + { $as_echo "$as_me:${as_lineno-11498}: checking whether -lc should be explicitly linked in" >&5 +$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } + $rm conftest* + printf "$lt_simple_compile_test_code" > conftest.$ac_ext + + if { { eval echo "\"\$as_me\":${as_lineno-11503}: \"$ac_compile\""; } >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-11506}: \$? = $ac_status" >&5 + test $ac_status = 0; } 2>conftest.err; then + soname=conftest + lib=conftest + libobjs=conftest.$ac_objext + deplibs= + wl=$lt_prog_compiler_wl_CXX + compiler_flags=-v + linker_flags=-v + verstring= + output_objdir=. + libname=conftest + lt_save_allow_undefined_flag=$allow_undefined_flag_CXX + allow_undefined_flag_CXX= + if { { eval echo "\"\$as_me\":${as_lineno-11520}: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\""; } >&5 + (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-11523}: \$? = $ac_status" >&5 + test $ac_status = 0; } + then + archive_cmds_need_lc_CXX=no + else + archive_cmds_need_lc_CXX=yes + fi + allow_undefined_flag_CXX=$lt_save_allow_undefined_flag + else + cat conftest.err 1>&5 + fi + $rm conftest* + { $as_echo "$as_me:${as_lineno-11535}: result: $archive_cmds_need_lc_CXX" >&5 +$as_echo "$archive_cmds_need_lc_CXX" >&6; } + ;; + esac + fi + ;; +esac + +{ $as_echo "$as_me:${as_lineno-11543}: checking dynamic linker characteristics" >&5 +$as_echo_n "checking dynamic linker characteristics... " >&6; } +library_names_spec= +libname_spec='lib$name' +soname_spec= +shrext_cmds=".so" +postinstall_cmds= +postuninstall_cmds= +finish_cmds= +finish_eval= +shlibpath_var= +shlibpath_overrides_runpath=unknown +version_type=none +dynamic_linker="$host_os ld.so" +sys_lib_dlsearch_path_spec="/lib /usr/lib" +if test "$GCC" = yes; then + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` + if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then + # if the path contains ";" then we assume it to be the separator + # otherwise default to the standard path separator (i.e. ":") - it is + # assumed that no part of a normal pathname contains ";" but that should + # okay in the real world where ";" in dirpaths is itself problematic. + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` + else + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` + fi +else + sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" +fi +need_lib_prefix=unknown +hardcode_into_libs=no + +# when you set need_version to no, make sure it does not cause -set_version +# flags to be left without arguments +need_version=unknown + +case $host_os in +aix3*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' + shlibpath_var=LIBPATH + + # AIX 3 has no versioning support, so we append a major version to the name. + soname_spec='${libname}${release}${shared_ext}$major' + ;; + +aix4* | aix5*) + version_type=linux + need_lib_prefix=no + need_version=no + hardcode_into_libs=yes + if test "$host_cpu" = ia64; then + # AIX 5 supports IA64 + library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + else + # With GCC up to 2.95.x, collect2 would create an import file + # for dependence libraries. The import file would start with + # the line `#! .'. This would cause the generated library to + # depend on `.', always an invalid library. This was fixed in + # development snapshots of GCC prior to 3.0. + case $host_os in + aix4 | aix4.[01] | aix4.[01].*) + if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' + echo ' yes ' + echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then + : + else + can_build_shared=no + fi + ;; + esac + # AIX (on Power*) has no versioning support, so currently we can not hardcode correct + # soname into executable. Probably we can add versioning support to + # collect2, so additional links can be useful in future. + if test "$aix_use_runtimelinking" = yes; then + # If using run time linking (on AIX 4.2 or later) use lib.so + # instead of lib.a to let people know that these are not + # typical AIX shared libraries. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + else + # We preserve .a as extension for shared libraries through AIX4.2 + # and later when we are not doing run time linking. + library_names_spec='${libname}${release}.a $libname.a' + soname_spec='${libname}${release}${shared_ext}$major' + fi + shlibpath_var=LIBPATH + fi + ;; + +amigaos*) + library_names_spec='$libname.ixlibrary $libname.a' + # Create ${libname}_ixlibrary.a entries in /sys/libs. + finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' + ;; + +beos*) + library_names_spec='${libname}${shared_ext}' + dynamic_linker="$host_os ld.so" + shlibpath_var=LIBRARY_PATH + ;; + +bsdi4*) + version_type=linux + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' + shlibpath_var=LD_LIBRARY_PATH + sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" + sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" + # the default ld.so.conf also contains /usr/contrib/lib and + # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow + # libtool to hard-code these into programs + ;; + +cygwin* | mingw* | pw32*) + version_type=windows + shrext_cmds=".dll" + need_version=no + need_lib_prefix=no + + case $GCC,$host_os in + yes,cygwin* | yes,mingw* | yes,pw32*) + library_names_spec='$libname.dll.a' + # DLL is installed to $(libdir)/../bin by postinstall_cmds + postinstall_cmds='base_file=`basename \${file}`~ + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~ + dldir=$destdir/`dirname \$dlpath`~ + test -d \$dldir || mkdir -p \$dldir~ + $install_prog $dir/$dlname \$dldir/$dlname' + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ + dlpath=$dir/\$dldll~ + $rm \$dlpath' + shlibpath_overrides_runpath=yes + + case $host_os in + cygwin*) + # Cygwin DLLs use 'cyg' prefix rather than 'lib' + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' + sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" + ;; + mingw*) + # MinGW DLLs use traditional 'lib' prefix + soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` + if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then + # It is most probably a Windows format PATH printed by + # mingw gcc, but we are running on Cygwin. Gcc prints its search + # path with ; separators, and with drive letters. We can handle the + # drive letters (cygwin fileutils understands them), so leave them, + # especially as we might pass files found there to a mingw objdump, + # which wouldn't understand a cygwinified path. Ahh. + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` + else + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` + fi + ;; + pw32*) + # pw32 DLLs use 'pw' prefix rather than 'lib' + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}' + ;; + esac + ;; + + *) + library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' + ;; + esac + dynamic_linker='Win32 ld.exe' + # FIXME: first we should search . and the directory the executable is in + shlibpath_var=PATH + ;; + +darwin* | rhapsody*) + dynamic_linker="$host_os dyld" + version_type=darwin + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' + soname_spec='${libname}${release}${major}$shared_ext' + shlibpath_overrides_runpath=yes + shlibpath_var=DYLD_LIBRARY_PATH + shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)' + # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. + if test "$GCC" = yes; then + sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"` + else + sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib' + fi + sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' + ;; + +dgux*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + ;; + +freebsd1*) + dynamic_linker=no + ;; + +kfreebsd*-gnu) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + dynamic_linker='GNU ld.so' + ;; + +freebsd*) + objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` + version_type=freebsd-$objformat + case $version_type in + freebsd-elf*) + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' + need_version=no + need_lib_prefix=no + ;; + freebsd-*) + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' + need_version=yes + ;; + esac + shlibpath_var=LD_LIBRARY_PATH + case $host_os in + freebsd2*) + shlibpath_overrides_runpath=yes + ;; + freebsd3.01* | freebsdelf3.01*) + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + ;; + *) # from 3.2 on + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + ;; + esac + ;; + +gnu*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + hardcode_into_libs=yes + ;; + +hpux9* | hpux10* | hpux11*) + # Give a soname corresponding to the major version so that dld.sl refuses to + # link against other versions. + version_type=sunos + need_lib_prefix=no + need_version=no + case "$host_cpu" in + ia64*) + shrext_cmds='.so' + hardcode_into_libs=yes + dynamic_linker="$host_os dld.so" + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + if test "X$HPUX_IA64_MODE" = X32; then + sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" + else + sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" + fi + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec + ;; + hppa*64*) + shrext_cmds='.sl' + hardcode_into_libs=yes + dynamic_linker="$host_os dld.sl" + shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec + ;; + *) + shrext_cmds='.sl' + dynamic_linker="$host_os dld.sl" + shlibpath_var=SHLIB_PATH + shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + ;; + esac + # HP-UX runs *really* slowly unless shared libraries are mode 555. + postinstall_cmds='chmod 555 $lib' + ;; + +irix5* | irix6* | nonstopux*) + case $host_os in + nonstopux*) version_type=nonstopux ;; + *) + if test "$lt_cv_prog_gnu_ld" = yes; then + version_type=linux + else + version_type=irix + fi ;; + esac + need_lib_prefix=no + need_version=no + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' + case $host_os in + irix5* | nonstopux*) + libsuff= shlibsuff= + ;; + *) + case $LD in # libtool.m4 will add one of these switches to LD + *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") + libsuff= shlibsuff= libmagic=32-bit;; + *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") + libsuff=32 shlibsuff=N32 libmagic=N32;; + *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") + libsuff=64 shlibsuff=64 libmagic=64-bit;; + *) libsuff= shlibsuff= libmagic=never-match;; + esac + ;; + esac + shlibpath_var=LD_LIBRARY${shlibsuff}_PATH + shlibpath_overrides_runpath=no + sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" + sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" + hardcode_into_libs=yes + ;; + +# No shared lib support for Linux oldld, aout, or coff. +linux*oldld* | linux*aout* | linux*coff*) + dynamic_linker=no + ;; + +# This must be Linux ELF. +linux*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + # This implies no fast_install, which is unacceptable. + # Some rework will be needed to allow for fast_install + # before this can be enabled. + hardcode_into_libs=yes + + # find out which ABI we are using + libsuff= + case "$host_cpu" in + x86_64*|s390x*|powerpc64*) + echo '#line 11908 "configure"' > conftest.$ac_ext + if { { eval echo "\"\$as_me\":${as_lineno-11909}: \"$ac_compile\""; } >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-11912}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + case `/usr/bin/file conftest.$ac_objext` in + *64-bit*) + libsuff=64 + sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}" + ;; + esac + fi + rm -rf conftest* + ;; + esac + + # Append ld.so.conf contents to the search path + if test -f /etc/ld.so.conf; then + lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '` + sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra" + fi + + # We used to test for /lib/ld.so.1 and disable shared libraries on + # powerpc, because MkLinux only supported shared libraries with the + # GNU dynamic linker. Since this was broken with cross compilers, + # most powerpc-linux boxes support dynamic linking these days and + # people can always --disable-shared, the test was removed, and we + # assume the GNU/Linux dynamic linker is in use. + dynamic_linker='GNU/Linux ld.so' + ;; + +knetbsd*-gnu) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + dynamic_linker='GNU ld.so' + ;; + +netbsd*) + version_type=sunos + need_lib_prefix=no + need_version=no + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' + dynamic_linker='NetBSD (a.out) ld.so' + else + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + dynamic_linker='NetBSD ld.elf_so' + fi + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + ;; + +newsos6) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + ;; + +nto-qnx*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + ;; + +openbsd*) + version_type=sunos + need_lib_prefix=no + need_version=yes + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' + shlibpath_var=LD_LIBRARY_PATH + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + case $host_os in + openbsd2.[89] | openbsd2.[89].*) + shlibpath_overrides_runpath=no + ;; + *) + shlibpath_overrides_runpath=yes + ;; + esac + else + shlibpath_overrides_runpath=yes + fi + ;; + +os2*) + libname_spec='$name' + shrext_cmds=".dll" + need_lib_prefix=no + library_names_spec='$libname${shared_ext} $libname.a' + dynamic_linker='OS/2 ld.exe' + shlibpath_var=LIBPATH + ;; + +osf3* | osf4* | osf5*) + version_type=osf + need_lib_prefix=no + need_version=no + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" + sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" + ;; + +sco3.2v5*) + version_type=osf + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + ;; + +solaris*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + # ldd complains unless libraries are executable + postinstall_cmds='chmod +x $lib' + ;; + +sunos4*) + version_type=sunos + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + if test "$with_gnu_ld" = yes; then + need_lib_prefix=no + fi + need_version=yes + ;; + +sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + case $host_vendor in + sni) + shlibpath_overrides_runpath=no + need_lib_prefix=no + export_dynamic_flag_spec='${wl}-Blargedynsym' + runpath_var=LD_RUN_PATH + ;; + siemens) + need_lib_prefix=no + ;; + motorola) + need_lib_prefix=no + need_version=no + shlibpath_overrides_runpath=no + sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' + ;; + esac + ;; + +sysv4*MP*) + if test -d /usr/nec ;then + version_type=linux + library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' + soname_spec='$libname${shared_ext}.$major' + shlibpath_var=LD_LIBRARY_PATH + fi + ;; + +uts4*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + ;; + +*) + dynamic_linker=no + ;; +esac +{ $as_echo "$as_me:${as_lineno-12104}: result: $dynamic_linker" >&5 +$as_echo "$dynamic_linker" >&6; } +test "$dynamic_linker" = no && can_build_shared=no + +{ $as_echo "$as_me:${as_lineno-12108}: checking how to hardcode library paths into programs" >&5 +$as_echo_n "checking how to hardcode library paths into programs... " >&6; } +hardcode_action_CXX= +if test -n "$hardcode_libdir_flag_spec_CXX" || \ + test -n "$runpath_var CXX" || \ + test "X$hardcode_automatic_CXX"="Xyes" ; then + + # We can hardcode non-existant directories. + if test "$hardcode_direct_CXX" != no && + # If the only mechanism to avoid hardcoding is shlibpath_var, we + # have to relink, otherwise we might link with an installed library + # when we should be linking with a yet-to-be-installed one + ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no && + test "$hardcode_minus_L_CXX" != no; then + # Linking always hardcodes the temporary library directory. + hardcode_action_CXX=relink + else + # We can link without hardcoding, and we can hardcode nonexisting dirs. + hardcode_action_CXX=immediate + fi +else + # We cannot hardcode anything, or else we can only hardcode existing + # directories. + hardcode_action_CXX=unsupported +fi +{ $as_echo "$as_me:${as_lineno-12133}: result: $hardcode_action_CXX" >&5 +$as_echo "$hardcode_action_CXX" >&6; } + +if test "$hardcode_action_CXX" = relink; then + # Fast installation is not supported + enable_fast_install=no +elif test "$shlibpath_overrides_runpath" = yes || + test "$enable_shared" = no; then + # Fast installation is not necessary + enable_fast_install=needless +fi + +striplib= +old_striplib= +{ $as_echo "$as_me:${as_lineno-12147}: checking whether stripping libraries is possible" >&5 +$as_echo_n "checking whether stripping libraries is possible... " >&6; } +if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then + test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" + test -z "$striplib" && striplib="$STRIP --strip-unneeded" + { $as_echo "$as_me:${as_lineno-12152}: result: yes" >&5 +$as_echo "yes" >&6; } +else +# FIXME - insert some real tests, host_os isn't really good enough + case $host_os in + darwin*) + if test -n "$STRIP" ; then + striplib="$STRIP -x" + { $as_echo "$as_me:${as_lineno-12160}: result: yes" >&5 +$as_echo "yes" >&6; } + else + { $as_echo "$as_me:${as_lineno-12163}: result: no" >&5 +$as_echo "no" >&6; } +fi + ;; + *) + { $as_echo "$as_me:${as_lineno-12168}: result: no" >&5 +$as_echo "no" >&6; } + ;; + esac +fi + +if test "x$enable_dlopen" != xyes; then + enable_dlopen=unknown + enable_dlopen_self=unknown + enable_dlopen_self_static=unknown +else + lt_cv_dlopen=no + lt_cv_dlopen_libs= + + case $host_os in + beos*) + lt_cv_dlopen="load_add_on" + lt_cv_dlopen_libs= + lt_cv_dlopen_self=yes + ;; + + mingw* | pw32*) + lt_cv_dlopen="LoadLibrary" + lt_cv_dlopen_libs= + ;; + + cygwin*) + lt_cv_dlopen="dlopen" + lt_cv_dlopen_libs= + ;; + + darwin*) + # if libdl is installed we need to link against it + { $as_echo "$as_me:${as_lineno-12201}: checking for dlopen in -ldl" >&5 +$as_echo_n "checking for dlopen in -ldl... " >&6; } +if test "${ac_cv_lib_dl_dlopen+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-ldl $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char dlopen (); +int +main () +{ +return dlopen (); + ; + return 0; +} +_ACEOF +if ac_fn_cxx_try_link "12226"; then : + ac_cv_lib_dl_dlopen=yes +else + ac_cv_lib_dl_dlopen=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-12235}: result: $ac_cv_lib_dl_dlopen" >&5 +$as_echo "$ac_cv_lib_dl_dlopen" >&6; } +if test "x$ac_cv_lib_dl_dlopen" = x""yes; then : + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" +else + + lt_cv_dlopen="dyld" + lt_cv_dlopen_libs= + lt_cv_dlopen_self=yes + +fi + + ;; + + *) + ac_fn_cxx_check_func "12250" "shl_load" "ac_cv_func_shl_load" +if test "x$ac_cv_func_shl_load" = x""yes; then : + lt_cv_dlopen="shl_load" +else + { $as_echo "$as_me:${as_lineno-12254}: checking for shl_load in -ldld" >&5 +$as_echo_n "checking for shl_load in -ldld... " >&6; } +if test "${ac_cv_lib_dld_shl_load+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-ldld $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char shl_load (); +int +main () +{ +return shl_load (); + ; + return 0; +} +_ACEOF +if ac_fn_cxx_try_link "12279"; then : + ac_cv_lib_dld_shl_load=yes +else + ac_cv_lib_dld_shl_load=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-12288}: result: $ac_cv_lib_dld_shl_load" >&5 +$as_echo "$ac_cv_lib_dld_shl_load" >&6; } +if test "x$ac_cv_lib_dld_shl_load" = x""yes; then : + lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld" +else + ac_fn_cxx_check_func "12293" "dlopen" "ac_cv_func_dlopen" +if test "x$ac_cv_func_dlopen" = x""yes; then : + lt_cv_dlopen="dlopen" +else + { $as_echo "$as_me:${as_lineno-12297}: checking for dlopen in -ldl" >&5 +$as_echo_n "checking for dlopen in -ldl... " >&6; } +if test "${ac_cv_lib_dl_dlopen+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-ldl $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char dlopen (); +int +main () +{ +return dlopen (); + ; + return 0; +} +_ACEOF +if ac_fn_cxx_try_link "12322"; then : + ac_cv_lib_dl_dlopen=yes +else + ac_cv_lib_dl_dlopen=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-12331}: result: $ac_cv_lib_dl_dlopen" >&5 +$as_echo "$ac_cv_lib_dl_dlopen" >&6; } +if test "x$ac_cv_lib_dl_dlopen" = x""yes; then : + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" +else + { $as_echo "$as_me:${as_lineno-12336}: checking for dlopen in -lsvld" >&5 +$as_echo_n "checking for dlopen in -lsvld... " >&6; } +if test "${ac_cv_lib_svld_dlopen+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lsvld $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char dlopen (); +int +main () +{ +return dlopen (); + ; + return 0; +} +_ACEOF +if ac_fn_cxx_try_link "12361"; then : + ac_cv_lib_svld_dlopen=yes +else + ac_cv_lib_svld_dlopen=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-12370}: result: $ac_cv_lib_svld_dlopen" >&5 +$as_echo "$ac_cv_lib_svld_dlopen" >&6; } +if test "x$ac_cv_lib_svld_dlopen" = x""yes; then : + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" +else + { $as_echo "$as_me:${as_lineno-12375}: checking for dld_link in -ldld" >&5 +$as_echo_n "checking for dld_link in -ldld... " >&6; } +if test "${ac_cv_lib_dld_dld_link+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-ldld $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char dld_link (); +int +main () +{ +return dld_link (); + ; + return 0; +} +_ACEOF +if ac_fn_cxx_try_link "12400"; then : + ac_cv_lib_dld_dld_link=yes +else + ac_cv_lib_dld_dld_link=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-12409}: result: $ac_cv_lib_dld_dld_link" >&5 +$as_echo "$ac_cv_lib_dld_dld_link" >&6; } +if test "x$ac_cv_lib_dld_dld_link" = x""yes; then : + lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld" +fi + + +fi + + +fi + + +fi + + +fi + + +fi + + ;; + esac + + if test "x$lt_cv_dlopen" != xno; then + enable_dlopen=yes + else + enable_dlopen=no + fi + + case $lt_cv_dlopen in + dlopen) + save_CPPFLAGS="$CPPFLAGS" + test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" + + save_LDFLAGS="$LDFLAGS" + eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" + + save_LIBS="$LIBS" + LIBS="$lt_cv_dlopen_libs $LIBS" + + { $as_echo "$as_me:${as_lineno-12450}: checking whether a program can dlopen itself" >&5 +$as_echo_n "checking whether a program can dlopen itself... " >&6; } +if test "${lt_cv_dlopen_self+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if test "$cross_compiling" = yes; then : + lt_cv_dlopen_self=cross +else + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 + lt_status=$lt_dlunknown + cat > conftest.$ac_ext < +#endif + +#include + +#ifdef RTLD_GLOBAL +# define LT_DLGLOBAL RTLD_GLOBAL +#else +# ifdef DL_GLOBAL +# define LT_DLGLOBAL DL_GLOBAL +# else +# define LT_DLGLOBAL 0 +# endif +#endif + +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we + find out it does not work in some platform. */ +#ifndef LT_DLLAZY_OR_NOW +# ifdef RTLD_LAZY +# define LT_DLLAZY_OR_NOW RTLD_LAZY +# else +# ifdef DL_LAZY +# define LT_DLLAZY_OR_NOW DL_LAZY +# else +# ifdef RTLD_NOW +# define LT_DLLAZY_OR_NOW RTLD_NOW +# else +# ifdef DL_NOW +# define LT_DLLAZY_OR_NOW DL_NOW +# else +# define LT_DLLAZY_OR_NOW 0 +# endif +# endif +# endif +# endif +#endif + +#ifdef __cplusplus +extern "C" void exit (int); +#endif + +void fnord() { int i=42;} +int main () +{ + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); + int status = $lt_dlunknown; + + if (self) + { + if (dlsym (self,"fnord")) status = $lt_dlno_uscore; + else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; + /* dlclose (self); */ + } + + exit (status); +} +EOF + if { { eval echo "\"\$as_me\":${as_lineno-12522}: \"$ac_link\""; } >&5 + (eval $ac_link) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-12525}: \$? = $ac_status" >&5 + test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then + (./conftest; exit; ) 2>/dev/null + lt_status=$? + case x$lt_status in + x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; + x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; + x$lt_unknown|x*) lt_cv_dlopen_self=no ;; + esac + else : + # compilation failed + lt_cv_dlopen_self=no + fi +fi +rm -fr conftest* + + +fi +{ $as_echo "$as_me:${as_lineno-12543}: result: $lt_cv_dlopen_self" >&5 +$as_echo "$lt_cv_dlopen_self" >&6; } + + if test "x$lt_cv_dlopen_self" = xyes; then + LDFLAGS="$LDFLAGS $link_static_flag" + { $as_echo "$as_me:${as_lineno-12548}: checking whether a statically linked program can dlopen itself" >&5 +$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } +if test "${lt_cv_dlopen_self_static+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if test "$cross_compiling" = yes; then : + lt_cv_dlopen_self_static=cross +else + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 + lt_status=$lt_dlunknown + cat > conftest.$ac_ext < +#endif + +#include + +#ifdef RTLD_GLOBAL +# define LT_DLGLOBAL RTLD_GLOBAL +#else +# ifdef DL_GLOBAL +# define LT_DLGLOBAL DL_GLOBAL +# else +# define LT_DLGLOBAL 0 +# endif +#endif + +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we + find out it does not work in some platform. */ +#ifndef LT_DLLAZY_OR_NOW +# ifdef RTLD_LAZY +# define LT_DLLAZY_OR_NOW RTLD_LAZY +# else +# ifdef DL_LAZY +# define LT_DLLAZY_OR_NOW DL_LAZY +# else +# ifdef RTLD_NOW +# define LT_DLLAZY_OR_NOW RTLD_NOW +# else +# ifdef DL_NOW +# define LT_DLLAZY_OR_NOW DL_NOW +# else +# define LT_DLLAZY_OR_NOW 0 +# endif +# endif +# endif +# endif +#endif + +#ifdef __cplusplus +extern "C" void exit (int); +#endif + +void fnord() { int i=42;} +int main () +{ + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); + int status = $lt_dlunknown; + + if (self) + { + if (dlsym (self,"fnord")) status = $lt_dlno_uscore; + else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; + /* dlclose (self); */ + } + + exit (status); +} +EOF + if { { eval echo "\"\$as_me\":${as_lineno-12620}: \"$ac_link\""; } >&5 + (eval $ac_link) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-12623}: \$? = $ac_status" >&5 + test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then + (./conftest; exit; ) 2>/dev/null + lt_status=$? + case x$lt_status in + x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; + x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; + x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;; + esac + else : + # compilation failed + lt_cv_dlopen_self_static=no + fi +fi +rm -fr conftest* + + +fi +{ $as_echo "$as_me:${as_lineno-12641}: result: $lt_cv_dlopen_self_static" >&5 +$as_echo "$lt_cv_dlopen_self_static" >&6; } + fi + + CPPFLAGS="$save_CPPFLAGS" + LDFLAGS="$save_LDFLAGS" + LIBS="$save_LIBS" + ;; + esac + + case $lt_cv_dlopen_self in + yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; + *) enable_dlopen_self=unknown ;; + esac + + case $lt_cv_dlopen_self_static in + yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; + *) enable_dlopen_self_static=unknown ;; + esac +fi + + +# The else clause should only fire when bootstrapping the +# libtool distribution, otherwise you forgot to ship ltmain.sh +# with your package, and you will get complaints that there are +# no rules to generate ltmain.sh. +if test -f "$ltmain"; then + # See if we are running on zsh, and set the options which allow our commands through + # without removal of \ escapes. + if test -n "${ZSH_VERSION+set}" ; then + setopt NO_GLOB_SUBST + fi + # Now quote all the things that may contain metacharacters while being + # careful not to overquote the AC_SUBSTed values. We take copies of the + # variables and quote the copies for generation of the libtool script. + for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \ + SED SHELL STRIP \ + libname_spec library_names_spec soname_spec extract_expsyms_cmds \ + old_striplib striplib file_magic_cmd finish_cmds finish_eval \ + deplibs_check_method reload_flag reload_cmds need_locks \ + lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ + lt_cv_sys_global_symbol_to_c_name_address \ + sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ + old_postinstall_cmds old_postuninstall_cmds \ + compiler_CXX \ + CC_CXX \ + LD_CXX \ + lt_prog_compiler_wl_CXX \ + lt_prog_compiler_pic_CXX \ + lt_prog_compiler_static_CXX \ + lt_prog_compiler_no_builtin_flag_CXX \ + export_dynamic_flag_spec_CXX \ + thread_safe_flag_spec_CXX \ + whole_archive_flag_spec_CXX \ + enable_shared_with_static_runtimes_CXX \ + old_archive_cmds_CXX \ + old_archive_from_new_cmds_CXX \ + predep_objects_CXX \ + postdep_objects_CXX \ + predeps_CXX \ + postdeps_CXX \ + compiler_lib_search_path_CXX \ + archive_cmds_CXX \ + archive_expsym_cmds_CXX \ + postinstall_cmds_CXX \ + postuninstall_cmds_CXX \ + old_archive_from_expsyms_cmds_CXX \ + allow_undefined_flag_CXX \ + no_undefined_flag_CXX \ + export_symbols_cmds_CXX \ + hardcode_libdir_flag_spec_CXX \ + hardcode_libdir_flag_spec_ld_CXX \ + hardcode_libdir_separator_CXX \ + hardcode_automatic_CXX \ + module_cmds_CXX \ + module_expsym_cmds_CXX \ + lt_cv_prog_compiler_c_o_CXX \ + exclude_expsyms_CXX \ + include_expsyms_CXX; do + + case $var in + old_archive_cmds_CXX | \ + old_archive_from_new_cmds_CXX | \ + archive_cmds_CXX | \ + archive_expsym_cmds_CXX | \ + module_cmds_CXX | \ + module_expsym_cmds_CXX | \ + old_archive_from_expsyms_cmds_CXX | \ + export_symbols_cmds_CXX | \ + extract_expsyms_cmds | reload_cmds | finish_cmds | \ + postinstall_cmds | postuninstall_cmds | \ + old_postinstall_cmds | old_postuninstall_cmds | \ + sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) + # Double-quote double-evaled strings. + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" + ;; + *) + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\"" + ;; + esac + done + + case $lt_echo in + *'\$0 --fallback-echo"') + lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'` + ;; + esac + +cfgfile="$ofile" + + cat <<__EOF__ >> "$cfgfile" +# ### BEGIN LIBTOOL TAG CONFIG: $tagname + +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: + +# Shell to use when invoking shell scripts. +SHELL=$lt_SHELL + +# Whether or not to build shared libraries. +build_libtool_libs=$enable_shared + +# Whether or not to build static libraries. +build_old_libs=$enable_static + +# Whether or not to add -lc for building shared libraries. +build_libtool_need_lc=$archive_cmds_need_lc_CXX + +# Whether or not to disallow shared libs when runtime libs are static +allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX + +# Whether or not to optimize for fast installation. +fast_install=$enable_fast_install + +# The host system. +host_alias=$host_alias +host=$host + +# An echo program that does not interpret backslashes. +echo=$lt_echo + +# The archiver. +AR=$lt_AR +AR_FLAGS=$lt_AR_FLAGS + +# A C compiler. +LTCC=$lt_LTCC + +# A language-specific compiler. +CC=$lt_compiler_CXX + +# Is the compiler the GNU C compiler? +with_gcc=$GCC_CXX + +# An ERE matcher. +EGREP=$lt_EGREP + +# The linker used to build libraries. +LD=$lt_LD_CXX + +# Whether we need hard or soft links. +LN_S=$lt_LN_S + +# A BSD-compatible nm program. +NM=$lt_NM + +# A symbol stripping program +STRIP=$lt_STRIP + +# Used to examine libraries when file_magic_cmd begins "file" +MAGIC_CMD=$MAGIC_CMD + +# Used on cygwin: DLL creation program. +DLLTOOL="$DLLTOOL" + +# Used on cygwin: object dumper. +OBJDUMP="$OBJDUMP" + +# Used on cygwin: assembler. +AS="$AS" + +# The name of the directory that contains temporary libtool files. +objdir=$objdir + +# How to create reloadable object files. +reload_flag=$lt_reload_flag +reload_cmds=$lt_reload_cmds + +# How to pass a linker flag through the compiler. +wl=$lt_lt_prog_compiler_wl_CXX + +# Object file suffix (normally "o"). +objext="$ac_objext" + +# Old archive suffix (normally "a"). +libext="$libext" + +# Shared library suffix (normally ".so"). +shrext_cmds='$shrext_cmds' + +# Executable file suffix (normally ""). +exeext="$exeext" + +# Additional compiler flags for building library objects. +pic_flag=$lt_lt_prog_compiler_pic_CXX +pic_mode=$pic_mode + +# What is the maximum length of a command? +max_cmd_len=$lt_cv_sys_max_cmd_len + +# Does compiler simultaneously support -c and -o options? +compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX + +# Must we lock files when doing compilation ? +need_locks=$lt_need_locks + +# Do we need the lib prefix for modules? +need_lib_prefix=$need_lib_prefix + +# Do we need a version for libraries? +need_version=$need_version + +# Whether dlopen is supported. +dlopen_support=$enable_dlopen + +# Whether dlopen of programs is supported. +dlopen_self=$enable_dlopen_self + +# Whether dlopen of statically linked programs is supported. +dlopen_self_static=$enable_dlopen_self_static + +# Compiler flag to prevent dynamic linking. +link_static_flag=$lt_lt_prog_compiler_static_CXX + +# Compiler flag to turn off builtin functions. +no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX + +# Compiler flag to allow reflexive dlopens. +export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX + +# Compiler flag to generate shared objects directly from archives. +whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX + +# Compiler flag to generate thread-safe objects. +thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX + +# Library versioning type. +version_type=$version_type + +# Format of library name prefix. +libname_spec=$lt_libname_spec + +# List of archive names. First name is the real one, the rest are links. +# The last name is the one that the linker finds with -lNAME. +library_names_spec=$lt_library_names_spec + +# The coded name of the library, if different from the real name. +soname_spec=$lt_soname_spec + +# Commands used to build and install an old-style archive. +RANLIB=$lt_RANLIB +old_archive_cmds=$lt_old_archive_cmds_CXX +old_postinstall_cmds=$lt_old_postinstall_cmds +old_postuninstall_cmds=$lt_old_postuninstall_cmds + +# Create an old-style archive from a shared archive. +old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX + +# Create a temporary old-style archive to link instead of a shared archive. +old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX + +# Commands used to build and install a shared archive. +archive_cmds=$lt_archive_cmds_CXX +archive_expsym_cmds=$lt_archive_expsym_cmds_CXX +postinstall_cmds=$lt_postinstall_cmds +postuninstall_cmds=$lt_postuninstall_cmds + +# Commands used to build a loadable module (assumed same as above if empty) +module_cmds=$lt_module_cmds_CXX +module_expsym_cmds=$lt_module_expsym_cmds_CXX + +# Commands to strip libraries. +old_striplib=$lt_old_striplib +striplib=$lt_striplib + +# Dependencies to place before the objects being linked to create a +# shared library. +predep_objects=$lt_predep_objects_CXX + +# Dependencies to place after the objects being linked to create a +# shared library. +postdep_objects=$lt_postdep_objects_CXX + +# Dependencies to place before the objects being linked to create a +# shared library. +predeps=$lt_predeps_CXX + +# Dependencies to place after the objects being linked to create a +# shared library. +postdeps=$lt_postdeps_CXX + +# The library search path used internally by the compiler when linking +# a shared library. +compiler_lib_search_path=$lt_compiler_lib_search_path_CXX + +# Method to check whether dependent libraries are shared objects. +deplibs_check_method=$lt_deplibs_check_method + +# Command to use when deplibs_check_method == file_magic. +file_magic_cmd=$lt_file_magic_cmd + +# Flag that allows shared libraries with undefined symbols to be built. +allow_undefined_flag=$lt_allow_undefined_flag_CXX + +# Flag that forces no undefined symbols. +no_undefined_flag=$lt_no_undefined_flag_CXX + +# Commands used to finish a libtool library installation in a directory. +finish_cmds=$lt_finish_cmds + +# Same as above, but a single script fragment to be evaled but not shown. +finish_eval=$lt_finish_eval + +# Take the output of nm and produce a listing of raw symbols and C names. +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe + +# Transform the output of nm in a proper C declaration +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl + +# Transform the output of nm in a C name address pair +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address + +# This is the shared library runtime path variable. +runpath_var=$runpath_var + +# This is the shared library path variable. +shlibpath_var=$shlibpath_var + +# Is shlibpath searched before the hard-coded library search path? +shlibpath_overrides_runpath=$shlibpath_overrides_runpath + +# How to hardcode a shared library path into an executable. +hardcode_action=$hardcode_action_CXX + +# Whether we should hardcode library paths into libraries. +hardcode_into_libs=$hardcode_into_libs + +# Flag to hardcode \$libdir into a binary during linking. +# This must work even if \$libdir does not exist. +hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX + +# If ld is used when linking, flag to hardcode \$libdir into +# a binary during linking. This must work even if \$libdir does +# not exist. +hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX + +# Whether we need a single -rpath flag with a separated argument. +hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX + +# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the +# resulting binary. +hardcode_direct=$hardcode_direct_CXX + +# Set to yes if using the -LDIR flag during linking hardcodes DIR into the +# resulting binary. +hardcode_minus_L=$hardcode_minus_L_CXX + +# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into +# the resulting binary. +hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX + +# Set to yes if building a shared library automatically hardcodes DIR into the library +# and all subsequent libraries and executables linked against it. +hardcode_automatic=$hardcode_automatic_CXX + +# Variables whose values should be saved in libtool wrapper scripts and +# restored at relink time. +variables_saved_for_relink="$variables_saved_for_relink" + +# Whether libtool must link a program against all its dependency libraries. +link_all_deplibs=$link_all_deplibs_CXX + +# Compile-time system search path for libraries +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec + +# Run-time system search path for libraries +sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec + +# Fix the shell variable \$srcfile for the compiler. +fix_srcfile_path="$fix_srcfile_path_CXX" + +# Set to yes if exported symbols are required. +always_export_symbols=$always_export_symbols_CXX + +# The commands to list exported symbols. +export_symbols_cmds=$lt_export_symbols_cmds_CXX + +# The commands to extract the exported symbol list from a shared archive. +extract_expsyms_cmds=$lt_extract_expsyms_cmds + +# Symbols that should not be listed in the preloaded symbols. +exclude_expsyms=$lt_exclude_expsyms_CXX + +# Symbols that must always be exported. +include_expsyms=$lt_include_expsyms_CXX + +# ### END LIBTOOL TAG CONFIG: $tagname + +__EOF__ + + +else + # If there is no Makefile yet, we rely on a make rule to execute + # `config.status --recheck' to rerun these tests and create the + # libtool script then. + ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'` + if test -f "$ltmain_in"; then + test -f Makefile && make "$ltmain" + fi +fi + + +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + +CC=$lt_save_CC +LDCXX=$LD +LD=$lt_save_LD +GCC=$lt_save_GCC +with_gnu_ldcxx=$with_gnu_ld +with_gnu_ld=$lt_save_with_gnu_ld +lt_cv_path_LDCXX=$lt_cv_path_LD +lt_cv_path_LD=$lt_save_path_LD +lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld +lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld + + else + tagname="" + fi + ;; + + F77) + if test -n "$F77" && test "X$F77" != "Xno"; then + +ac_ext=f +ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5' +ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_f77_compiler_gnu + + +archive_cmds_need_lc_F77=no +allow_undefined_flag_F77= +always_export_symbols_F77=no +archive_expsym_cmds_F77= +export_dynamic_flag_spec_F77= +hardcode_direct_F77=no +hardcode_libdir_flag_spec_F77= +hardcode_libdir_flag_spec_ld_F77= +hardcode_libdir_separator_F77= +hardcode_minus_L_F77=no +hardcode_automatic_F77=no +module_cmds_F77= +module_expsym_cmds_F77= +link_all_deplibs_F77=unknown +old_archive_cmds_F77=$old_archive_cmds +no_undefined_flag_F77= +whole_archive_flag_spec_F77= +enable_shared_with_static_runtimes_F77=no + +# Source file extension for f77 test sources. +ac_ext=f + +# Object file extension for compiled f77 test sources. +objext=o +objext_F77=$objext + +# Code to be used in simple compile tests +lt_simple_compile_test_code=" subroutine t\n return\n end\n" + +# Code to be used in simple link tests +lt_simple_link_test_code=" program t\n end\n" + +# ltmain only uses $CC for tagged configurations so make sure $CC is set. + +# If no C compiler was specified, use CC. +LTCC=${LTCC-"$CC"} + +# Allow CC to be a program name with arguments. +compiler=$CC + + +# Allow CC to be a program name with arguments. +lt_save_CC="$CC" +CC=${F77-"f77"} +compiler=$CC +compiler_F77=$CC +cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'` + +{ $as_echo "$as_me:${as_lineno-13141}: checking if libtool supports shared libraries" >&5 +$as_echo_n "checking if libtool supports shared libraries... " >&6; } +{ $as_echo "$as_me:${as_lineno-13143}: result: $can_build_shared" >&5 +$as_echo "$can_build_shared" >&6; } + +{ $as_echo "$as_me:${as_lineno-13146}: checking whether to build shared libraries" >&5 +$as_echo_n "checking whether to build shared libraries... " >&6; } +test "$can_build_shared" = "no" && enable_shared=no + +# On AIX, shared libraries and static libraries use the same namespace, and +# are all built from PIC. +case "$host_os" in +aix3*) + test "$enable_shared" = yes && enable_static=no + if test -n "$RANLIB"; then + archive_cmds="$archive_cmds~\$RANLIB \$lib" + postinstall_cmds='$RANLIB $lib' + fi + ;; +aix4* | aix5*) + test "$enable_shared" = yes && enable_static=no + ;; +esac +{ $as_echo "$as_me:${as_lineno-13164}: result: $enable_shared" >&5 +$as_echo "$enable_shared" >&6; } + +{ $as_echo "$as_me:${as_lineno-13167}: checking whether to build static libraries" >&5 +$as_echo_n "checking whether to build static libraries... " >&6; } +# Make sure either enable_shared or enable_static is yes. +test "$enable_shared" = yes || enable_static=yes +{ $as_echo "$as_me:${as_lineno-13171}: result: $enable_static" >&5 +$as_echo "$enable_static" >&6; } + +test "$ld_shlibs_F77" = no && can_build_shared=no + +GCC_F77="$G77" +LD_F77="$LD" + +lt_prog_compiler_wl_F77= +lt_prog_compiler_pic_F77= +lt_prog_compiler_static_F77= + +{ $as_echo "$as_me:${as_lineno-13183}: checking for $compiler option to produce PIC" >&5 +$as_echo_n "checking for $compiler option to produce PIC... " >&6; } + + if test "$GCC" = yes; then + lt_prog_compiler_wl_F77='-Wl,' + lt_prog_compiler_static_F77='-static' + + case $host_os in + aix*) + # All AIX code is PIC. + if test "$host_cpu" = ia64; then + # AIX 5 now supports IA64 processor + lt_prog_compiler_static_F77='-Bstatic' + fi + ;; + + amigaos*) + # FIXME: we need at least 68020 code to build shared libraries, but + # adding the `-m68020' flag to GCC prevents building anything better, + # like `-m68040'. + lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4' + ;; + + beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) + # PIC is the default for these OSes. + ;; + + mingw* | pw32* | os2*) + # This hack is so that the source file can tell whether it is being + # built for inclusion in a dll (and should export symbols for example). + lt_prog_compiler_pic_F77='-DDLL_EXPORT' + ;; + + darwin* | rhapsody*) + # PIC is the default on this platform + # Common symbols not allowed in MH_DYLIB files + lt_prog_compiler_pic_F77='-fno-common' + ;; + + msdosdjgpp*) + # Just because we use GCC doesn't mean we suddenly get shared libraries + # on systems that don't support them. + lt_prog_compiler_can_build_shared_F77=no + enable_shared=no + ;; + + sysv4*MP*) + if test -d /usr/nec; then + lt_prog_compiler_pic_F77=-Kconform_pic + fi + ;; + + hpux*) + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but + # not for PA HP-UX. + case "$host_cpu" in + hppa*64*|ia64*) + # +Z the default + ;; + *) + lt_prog_compiler_pic_F77='-fPIC' + ;; + esac + ;; + + *) + lt_prog_compiler_pic_F77='-fPIC' + ;; + esac + else + # PORTME Check for flag to pass linker flags through the system compiler. + case $host_os in + aix*) + lt_prog_compiler_wl_F77='-Wl,' + if test "$host_cpu" = ia64; then + # AIX 5 now supports IA64 processor + lt_prog_compiler_static_F77='-Bstatic' + else + lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp' + fi + ;; + + mingw* | pw32* | os2*) + # This hack is so that the source file can tell whether it is being + # built for inclusion in a dll (and should export symbols for example). + lt_prog_compiler_pic_F77='-DDLL_EXPORT' + ;; + + hpux9* | hpux10* | hpux11*) + lt_prog_compiler_wl_F77='-Wl,' + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but + # not for PA HP-UX. + case "$host_cpu" in + hppa*64*|ia64*) + # +Z the default + ;; + *) + lt_prog_compiler_pic_F77='+Z' + ;; + esac + # Is there a better lt_prog_compiler_static that works with the bundled CC? + lt_prog_compiler_static_F77='${wl}-a ${wl}archive' + ;; + + irix5* | irix6* | nonstopux*) + lt_prog_compiler_wl_F77='-Wl,' + # PIC (with -KPIC) is the default. + lt_prog_compiler_static_F77='-non_shared' + ;; + + newsos6) + lt_prog_compiler_pic_F77='-KPIC' + lt_prog_compiler_static_F77='-Bstatic' + ;; + + linux*) + case $CC in + icc* | ecc*) + lt_prog_compiler_wl_F77='-Wl,' + lt_prog_compiler_pic_F77='-KPIC' + lt_prog_compiler_static_F77='-static' + ;; + ccc*) + lt_prog_compiler_wl_F77='-Wl,' + # All Alpha code is PIC. + lt_prog_compiler_static_F77='-non_shared' + ;; + esac + ;; + + osf3* | osf4* | osf5*) + lt_prog_compiler_wl_F77='-Wl,' + # All OSF/1 code is PIC. + lt_prog_compiler_static_F77='-non_shared' + ;; + + sco3.2v5*) + lt_prog_compiler_pic_F77='-Kpic' + lt_prog_compiler_static_F77='-dn' + ;; + + solaris*) + lt_prog_compiler_wl_F77='-Wl,' + lt_prog_compiler_pic_F77='-KPIC' + lt_prog_compiler_static_F77='-Bstatic' + ;; + + sunos4*) + lt_prog_compiler_wl_F77='-Qoption ld ' + lt_prog_compiler_pic_F77='-PIC' + lt_prog_compiler_static_F77='-Bstatic' + ;; + + sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) + lt_prog_compiler_wl_F77='-Wl,' + lt_prog_compiler_pic_F77='-KPIC' + lt_prog_compiler_static_F77='-Bstatic' + ;; + + sysv4*MP*) + if test -d /usr/nec ;then + lt_prog_compiler_pic_F77='-Kconform_pic' + lt_prog_compiler_static_F77='-Bstatic' + fi + ;; + + uts4*) + lt_prog_compiler_pic_F77='-pic' + lt_prog_compiler_static_F77='-Bstatic' + ;; + + *) + lt_prog_compiler_can_build_shared_F77=no + ;; + esac + fi + +{ $as_echo "$as_me:${as_lineno-13360}: result: $lt_prog_compiler_pic_F77" >&5 +$as_echo "$lt_prog_compiler_pic_F77" >&6; } + +# +# Check to make sure the PIC flag actually works. +# +if test -n "$lt_prog_compiler_pic_F77"; then + +{ $as_echo "$as_me:${as_lineno-13368}: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5 +$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... " >&6; } +if test "${lt_prog_compiler_pic_works_F77+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + lt_prog_compiler_pic_works_F77=no + ac_outfile=conftest.$ac_objext + printf "$lt_simple_compile_test_code" > conftest.$ac_ext + lt_compiler_flag="$lt_prog_compiler_pic_F77" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + # The option is referenced via a variable to avoid confusing sed. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:13386: $lt_compile\"" >&5) + (eval "$lt_compile" 2>conftest.err) + ac_status=$? + cat conftest.err >&5 + echo "$as_me:13390: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s "$ac_outfile"; then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings + if test ! -s conftest.err; then + lt_prog_compiler_pic_works_F77=yes + fi + fi + $rm conftest* + +fi +{ $as_echo "$as_me:${as_lineno-13401}: result: $lt_prog_compiler_pic_works_F77" >&5 +$as_echo "$lt_prog_compiler_pic_works_F77" >&6; } + +if test x"$lt_prog_compiler_pic_works_F77" = xyes; then + case $lt_prog_compiler_pic_F77 in + "" | " "*) ;; + *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;; + esac +else + lt_prog_compiler_pic_F77= + lt_prog_compiler_can_build_shared_F77=no +fi + +fi +case "$host_os" in + # For platforms which do not support PIC, -DPIC is meaningless: + *djgpp*) + lt_prog_compiler_pic_F77= + ;; + *) + lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77" + ;; +esac + +{ $as_echo "$as_me:${as_lineno-13425}: checking if $compiler supports -c -o file.$ac_objext" >&5 +$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } +if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + lt_cv_prog_compiler_c_o_F77=no + $rm -r conftest 2>/dev/null + mkdir conftest + cd conftest + mkdir out + printf "$lt_simple_compile_test_code" > conftest.$ac_ext + + lt_compiler_flag="-o out/conftest2.$ac_objext" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:13446: $lt_compile\"" >&5) + (eval "$lt_compile" 2>out/conftest.err) + ac_status=$? + cat out/conftest.err >&5 + echo "$as_me:13450: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s out/conftest2.$ac_objext + then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings + if test ! -s out/conftest.err; then + lt_cv_prog_compiler_c_o_F77=yes + fi + fi + chmod u+w . + $rm conftest* + # SGI C++ compiler will create directory out/ii_files/ for + # template instantiation + test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files + $rm out/* && rmdir out + cd .. + rmdir conftest + $rm conftest* + +fi +{ $as_echo "$as_me:${as_lineno-13470}: result: $lt_cv_prog_compiler_c_o_F77" >&5 +$as_echo "$lt_cv_prog_compiler_c_o_F77" >&6; } + + +hard_links="nottested" +if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then + # do not overwrite the value of need_locks provided by the user + { $as_echo "$as_me:${as_lineno-13477}: checking if we can lock with hard links" >&5 +$as_echo_n "checking if we can lock with hard links... " >&6; } + hard_links=yes + $rm conftest* + ln conftest.a conftest.b 2>/dev/null && hard_links=no + touch conftest.a + ln conftest.a conftest.b 2>&5 || hard_links=no + ln conftest.a conftest.b 2>/dev/null && hard_links=no + { $as_echo "$as_me:${as_lineno-13485}: result: $hard_links" >&5 +$as_echo "$hard_links" >&6; } + if test "$hard_links" = no; then + { $as_echo "$as_me:${as_lineno-13488}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 +$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} + need_locks=warn + fi +else + need_locks=no +fi + +{ $as_echo "$as_me:${as_lineno-13496}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 +$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } + + runpath_var= + allow_undefined_flag_F77= + enable_shared_with_static_runtimes_F77=no + archive_cmds_F77= + archive_expsym_cmds_F77= + old_archive_From_new_cmds_F77= + old_archive_from_expsyms_cmds_F77= + export_dynamic_flag_spec_F77= + whole_archive_flag_spec_F77= + thread_safe_flag_spec_F77= + hardcode_libdir_flag_spec_F77= + hardcode_libdir_flag_spec_ld_F77= + hardcode_libdir_separator_F77= + hardcode_direct_F77=no + hardcode_minus_L_F77=no + hardcode_shlibpath_var_F77=unsupported + link_all_deplibs_F77=unknown + hardcode_automatic_F77=no + module_cmds_F77= + module_expsym_cmds_F77= + always_export_symbols_F77=no + export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' + # include_expsyms should be a list of space-separated symbols to be *always* + # included in the symbol list + include_expsyms_F77= + # exclude_expsyms can be an extended regexp of symbols to exclude + # it will be wrapped by ` (' and `)$', so one must not match beginning or + # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', + # as well as any symbol that contains `d'. + exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_" + # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out + # platforms (ab)use it in PIC code, but their linkers get confused if + # the symbol is explicitly referenced. Since portable code cannot + # rely on this symbol name, it's probably fine to never include it in + # preloaded symbol tables. + extract_expsyms_cmds= + + case $host_os in + cygwin* | mingw* | pw32*) + # FIXME: the MSVC++ port hasn't been tested in a loooong time + # When not using gcc, we currently assume that we are using + # Microsoft Visual C++. + if test "$GCC" != yes; then + with_gnu_ld=no + fi + ;; + openbsd*) + with_gnu_ld=no + ;; + esac + + ld_shlibs_F77=yes + if test "$with_gnu_ld" = yes; then + # If archive_cmds runs LD, not CC, wlarc should be empty + wlarc='${wl}' + + # See if GNU ld supports shared libraries. + case $host_os in + aix3* | aix4* | aix5*) + # On AIX/PPC, the GNU linker is very broken + if test "$host_cpu" != ia64; then + ld_shlibs_F77=no + cat <&2 + +*** Warning: the GNU linker, at least up to release 2.9.1, is reported +*** to be unable to reliably create shared libraries on AIX. +*** Therefore, libtool is disabling shared libraries support. If you +*** really care for shared libraries, you may want to modify your PATH +*** so that a non-GNU linker is found, and then restart. + +EOF + fi + ;; + + amigaos*) + archive_cmds_F77='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' + hardcode_libdir_flag_spec_F77='-L$libdir' + hardcode_minus_L_F77=yes + + # Samuel A. Falvo II reports + # that the semantics of dynamic libraries on AmigaOS, at least up + # to version 4, is to share data among multiple programs linked + # with the same dynamic library. Since this doesn't match the + # behavior of shared libraries on other platforms, we can't use + # them. + ld_shlibs_F77=no + ;; + + beos*) + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + allow_undefined_flag_F77=unsupported + # Joseph Beckenbach says some releases of gcc + # support --undefined. This deserves some investigation. FIXME + archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + else + ld_shlibs_F77=no + fi + ;; + + cygwin* | mingw* | pw32*) + # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless, + # as there is no search path for DLLs. + hardcode_libdir_flag_spec_F77='-L$libdir' + allow_undefined_flag_F77=unsupported + always_export_symbols_F77=no + enable_shared_with_static_runtimes_F77=yes + export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols' + + if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then + archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' + # If the export-symbols file already is a .def file (1st line + # is EXPORTS), use it as is; otherwise, prepend... + archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then + cp $export_symbols $output_objdir/$soname.def; + else + echo EXPORTS > $output_objdir/$soname.def; + cat $export_symbols >> $output_objdir/$soname.def; + fi~ + $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' + else + ld_shlibs=no + fi + ;; + + netbsd*) + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' + wlarc= + else + archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + fi + ;; + + solaris* | sysv5*) + if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then + ld_shlibs_F77=no + cat <&2 + +*** Warning: The releases 2.8.* of the GNU linker cannot reliably +*** create shared libraries on Solaris systems. Therefore, libtool +*** is disabling shared libraries support. We urge you to upgrade GNU +*** binutils to release 2.9.1 or newer. Another option is to modify +*** your PATH or compiler configuration so that the native linker is +*** used, and then restart. + +EOF + elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + else + ld_shlibs_F77=no + fi + ;; + + sunos4*) + archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' + wlarc= + hardcode_direct_F77=yes + hardcode_shlibpath_var_F77=no + ;; + + linux*) + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_cmds_F77="$tmp_archive_cmds" + supports_anon_versioning=no + case `$LD -v 2>/dev/null` in + *\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 + *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... + *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... + *\ 2.11.*) ;; # other 2.11 versions + *) supports_anon_versioning=yes ;; + esac + if test $supports_anon_versioning = yes; then + archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~ +cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ +$echo "local: *; };" >> $output_objdir/$libname.ver~ + $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' + else + archive_expsym_cmds_F77="$tmp_archive_cmds" + fi + else + ld_shlibs_F77=no + fi + ;; + + *) + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + else + ld_shlibs_F77=no + fi + ;; + esac + + if test "$ld_shlibs_F77" = yes; then + runpath_var=LD_RUN_PATH + hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir' + export_dynamic_flag_spec_F77='${wl}--export-dynamic' + # ancient GNU ld didn't support --whole-archive et. al. + if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then + whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' + else + whole_archive_flag_spec_F77= + fi + fi + else + # PORTME fill in a description of your system's linker (not GNU ld) + case $host_os in + aix3*) + allow_undefined_flag_F77=unsupported + always_export_symbols_F77=yes + archive_expsym_cmds_F77='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' + # Note: this linker hardcodes the directories in LIBPATH if there + # are no directories specified by -L. + hardcode_minus_L_F77=yes + if test "$GCC" = yes && test -z "$link_static_flag"; then + # Neither direct hardcoding nor static linking is supported with a + # broken collect2. + hardcode_direct_F77=unsupported + fi + ;; + + aix4* | aix5*) + if test "$host_cpu" = ia64; then + # On IA64, the linker does run time linking by default, so we don't + # have to do anything special. + aix_use_runtimelinking=no + exp_sym_flag='-Bexport' + no_entry_flag="" + else + # If we're using GNU nm, then we don't want the "-C" option. + # -C means demangle to AIX nm, but means don't demangle with GNU nm + if $NM -V 2>&1 | grep 'GNU' > /dev/null; then + export_symbols_cmds_F77='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' + else + export_symbols_cmds_F77='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' + fi + aix_use_runtimelinking=no + + # Test if we are trying to use run time linking or normal + # AIX style linking. If -brtl is somewhere in LDFLAGS, we + # need to do runtime linking. + case $host_os in aix4.[23]|aix4.[23].*|aix5*) + for ld_flag in $LDFLAGS; do + if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then + aix_use_runtimelinking=yes + break + fi + done + esac + + exp_sym_flag='-bexport' + no_entry_flag='-bnoentry' + fi + + # When large executables or shared objects are built, AIX ld can + # have problems creating the table of contents. If linking a library + # or program results in "error TOC overflow" add -mminimal-toc to + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. + + archive_cmds_F77='' + hardcode_direct_F77=yes + hardcode_libdir_separator_F77=':' + link_all_deplibs_F77=yes + + if test "$GCC" = yes; then + case $host_os in aix4.012|aix4.012.*) + # We only want to do this on AIX 4.2 and lower, the check + # below for broken collect2 doesn't work under 4.3+ + collect2name=`${CC} -print-prog-name=collect2` + if test -f "$collect2name" && \ + strings "$collect2name" | grep resolve_lib_name >/dev/null + then + # We have reworked collect2 + hardcode_direct_F77=yes + else + # We have old collect2 + hardcode_direct_F77=unsupported + # It fails to find uninstalled libraries when the uninstalled + # path is not listed in the libpath. Setting hardcode_minus_L + # to unsupported forces relinking + hardcode_minus_L_F77=yes + hardcode_libdir_flag_spec_F77='-L$libdir' + hardcode_libdir_separator_F77= + fi + esac + shared_flag='-shared' + else + # not using gcc + if test "$host_cpu" = ia64; then + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release + # chokes on -Wl,-G. The following line is correct: + shared_flag='-G' + else + if test "$aix_use_runtimelinking" = yes; then + shared_flag='${wl}-G' + else + shared_flag='${wl}-bM:SRE' + fi + fi + fi + + # It seems that -bexpall does not export symbols beginning with + # underscore (_), so it is better to generate a list of symbols to export. + always_export_symbols_F77=yes + if test "$aix_use_runtimelinking" = yes; then + # Warning - without using the other runtime loading flags (-brtl), + # -berok will link without error, but may produce a broken library. + allow_undefined_flag_F77='-berok' + # Determine the default libpath from the value encoded in an empty executable. + cat > conftest.$ac_ext <<_ACEOF + program main + + end +_ACEOF +if ac_fn_f77_try_link "13818"; then : + +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'` +# Check for a 64-bit object if we didn't find anything. +if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'`; fi +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi + + hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath" + archive_expsym_cmds_F77="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag" + else + if test "$host_cpu" = ia64; then + hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib' + allow_undefined_flag_F77="-z nodefs" + archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols" + else + # Determine the default libpath from the value encoded in an empty executable. + cat > conftest.$ac_ext <<_ACEOF + program main + + end +_ACEOF +if ac_fn_f77_try_link "13844"; then : + +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'` +# Check for a 64-bit object if we didn't find anything. +if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'`; fi +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi + + hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath" + # Warning - without using the other run time loading flags, + # -berok will link without error, but may produce a broken library. + no_undefined_flag_F77=' ${wl}-bernotok' + allow_undefined_flag_F77=' ${wl}-berok' + # -bexpall does not export symbols beginning with underscore (_) + always_export_symbols_F77=yes + # Exported symbols can be pulled into shared objects from archives + whole_archive_flag_spec_F77=' ' + archive_cmds_need_lc_F77=yes + # This is similar to how AIX traditionally builds it's shared libraries. + archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' + fi + fi + ;; + + amigaos*) + archive_cmds_F77='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' + hardcode_libdir_flag_spec_F77='-L$libdir' + hardcode_minus_L_F77=yes + # see comment about different semantics on the GNU ld section + ld_shlibs_F77=no + ;; + + bsdi4*) + export_dynamic_flag_spec_F77=-rdynamic + ;; + + cygwin* | mingw* | pw32*) + # When not using gcc, we currently assume that we are using + # Microsoft Visual C++. + # hardcode_libdir_flag_spec is actually meaningless, as there is + # no search path for DLLs. + hardcode_libdir_flag_spec_F77=' ' + allow_undefined_flag_F77=unsupported + # Tell ltmain to make .lib files, not .a files. + libext=lib + # Tell ltmain to make .dll files, not .so files. + shrext_cmds=".dll" + # FIXME: Setting linknames here is a bad hack. + archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames=' + # The linker will automatically build a .lib file if we build a DLL. + old_archive_From_new_cmds_F77='true' + # FIXME: Should let the user specify the lib program. + old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs' + fix_srcfile_path='`cygpath -w "$srcfile"`' + enable_shared_with_static_runtimes_F77=yes + ;; + + darwin* | rhapsody*) + if test "$GXX" = yes ; then + archive_cmds_need_lc_F77=no + case "$host_os" in + rhapsody* | darwin1.[012]) + allow_undefined_flag_F77='-undefined suppress' + ;; + *) # Darwin 1.3 on + if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then + allow_undefined_flag_F77='-flat_namespace -undefined suppress' + else + case ${MACOSX_DEPLOYMENT_TARGET} in + 10.[012]) + allow_undefined_flag_F77='-flat_namespace -undefined suppress' + ;; + 10.*) + allow_undefined_flag_F77='-undefined dynamic_lookup' + ;; + esac + fi + ;; + esac + lt_int_apple_cc_single_mod=no + output_verbose_link_cmd='echo' + if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then + lt_int_apple_cc_single_mod=yes + fi + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then + archive_cmds_F77='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' + else + archive_cmds_F77='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring' + fi + module_cmds_F77='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then + archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + else + archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + fi + module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + hardcode_direct_F77=no + hardcode_automatic_F77=yes + hardcode_shlibpath_var_F77=unsupported + whole_archive_flag_spec_F77='-all_load $convenience' + link_all_deplibs_F77=yes + else + ld_shlibs_F77=no + fi + ;; + + dgux*) + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_libdir_flag_spec_F77='-L$libdir' + hardcode_shlibpath_var_F77=no + ;; + + freebsd1*) + ld_shlibs_F77=no + ;; + + # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor + # support. Future versions do this automatically, but an explicit c++rt0.o + # does not break anything, and helps significantly (at the cost of a little + # extra space). + freebsd2.2*) + archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' + hardcode_libdir_flag_spec_F77='-R$libdir' + hardcode_direct_F77=yes + hardcode_shlibpath_var_F77=no + ;; + + # Unfortunately, older versions of FreeBSD 2 do not have this feature. + freebsd2*) + archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct_F77=yes + hardcode_minus_L_F77=yes + hardcode_shlibpath_var_F77=no + ;; + + # FreeBSD 3 and greater uses gcc -shared to do shared libraries. + freebsd* | kfreebsd*-gnu) + archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' + hardcode_libdir_flag_spec_F77='-R$libdir' + hardcode_direct_F77=yes + hardcode_shlibpath_var_F77=no + ;; + + hpux9*) + if test "$GCC" = yes; then + archive_cmds_F77='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + else + archive_cmds_F77='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + fi + hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir' + hardcode_libdir_separator_F77=: + hardcode_direct_F77=yes + + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + hardcode_minus_L_F77=yes + export_dynamic_flag_spec_F77='${wl}-E' + ;; + + hpux10* | hpux11*) + if test "$GCC" = yes -a "$with_gnu_ld" = no; then + case "$host_cpu" in + hppa*64*|ia64*) + archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + ;; + *) + archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' + ;; + esac + else + case "$host_cpu" in + hppa*64*|ia64*) + archive_cmds_F77='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags' + ;; + *) + archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' + ;; + esac + fi + if test "$with_gnu_ld" = no; then + case "$host_cpu" in + hppa*64*) + hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir' + hardcode_libdir_flag_spec_ld_F77='+b $libdir' + hardcode_libdir_separator_F77=: + hardcode_direct_F77=no + hardcode_shlibpath_var_F77=no + ;; + ia64*) + hardcode_libdir_flag_spec_F77='-L$libdir' + hardcode_direct_F77=no + hardcode_shlibpath_var_F77=no + + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + hardcode_minus_L_F77=yes + ;; + *) + hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir' + hardcode_libdir_separator_F77=: + hardcode_direct_F77=yes + export_dynamic_flag_spec_F77='${wl}-E' + + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + hardcode_minus_L_F77=yes + ;; + esac + fi + ;; + + irix5* | irix6* | nonstopux*) + if test "$GCC" = yes; then + archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + else + archive_cmds_F77='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' + hardcode_libdir_flag_spec_ld_F77='-rpath $libdir' + fi + hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator_F77=: + link_all_deplibs_F77=yes + ;; + + netbsd*) + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out + else + archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF + fi + hardcode_libdir_flag_spec_F77='-R$libdir' + hardcode_direct_F77=yes + hardcode_shlibpath_var_F77=no + ;; + + newsos6) + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct_F77=yes + hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator_F77=: + hardcode_shlibpath_var_F77=no + ;; + + openbsd*) + hardcode_direct_F77=yes + hardcode_shlibpath_var_F77=no + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' + hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir' + export_dynamic_flag_spec_F77='${wl}-E' + else + case $host_os in + openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) + archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' + hardcode_libdir_flag_spec_F77='-R$libdir' + ;; + *) + archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' + hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir' + ;; + esac + fi + ;; + + os2*) + hardcode_libdir_flag_spec_F77='-L$libdir' + hardcode_minus_L_F77=yes + allow_undefined_flag_F77=unsupported + archive_cmds_F77='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' + old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' + ;; + + osf3*) + if test "$GCC" = yes; then + allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*' + archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + else + allow_undefined_flag_F77=' -expect_unresolved \*' + archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' + fi + hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator_F77=: + ;; + + osf4* | osf5*) # as osf3* with the addition of -msym flag + if test "$GCC" = yes; then + allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*' + archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir' + else + allow_undefined_flag_F77=' -expect_unresolved \*' + archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' + archive_expsym_cmds_F77='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~ + $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp' + + # Both c and cxx compiler support -rpath directly + hardcode_libdir_flag_spec_F77='-rpath $libdir' + fi + hardcode_libdir_separator_F77=: + ;; + + sco3.2v5*) + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_shlibpath_var_F77=no + export_dynamic_flag_spec_F77='${wl}-Bexport' + runpath_var=LD_RUN_PATH + hardcode_runpath_var=yes + ;; + + solaris*) + no_undefined_flag_F77=' -z text' + if test "$GCC" = yes; then + archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp' + else + archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' + archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' + fi + hardcode_libdir_flag_spec_F77='-R$libdir' + hardcode_shlibpath_var_F77=no + case $host_os in + solaris2.[0-5] | solaris2.[0-5].*) ;; + *) # Supported since Solaris 2.6 (maybe 2.5.1?) + whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;; + esac + link_all_deplibs_F77=yes + ;; + + sunos4*) + if test "x$host_vendor" = xsequent; then + # Use $CC to link under sequent, because it throws in some extra .o + # files that make .init and .fini sections work. + archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' + else + archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' + fi + hardcode_libdir_flag_spec_F77='-L$libdir' + hardcode_direct_F77=yes + hardcode_minus_L_F77=yes + hardcode_shlibpath_var_F77=no + ;; + + sysv4) + case $host_vendor in + sni) + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct_F77=yes # is this really true??? + ;; + siemens) + ## LD is ld it makes a PLAMLIB + ## CC just makes a GrossModule. + archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags' + reload_cmds_F77='$CC -r -o $output$reload_objs' + hardcode_direct_F77=no + ;; + motorola) + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie + ;; + esac + runpath_var='LD_RUN_PATH' + hardcode_shlibpath_var_F77=no + ;; + + sysv4.3*) + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_shlibpath_var_F77=no + export_dynamic_flag_spec_F77='-Bexport' + ;; + + sysv4*MP*) + if test -d /usr/nec; then + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_shlibpath_var_F77=no + runpath_var=LD_RUN_PATH + hardcode_runpath_var=yes + ld_shlibs_F77=yes + fi + ;; + + sysv4.2uw2*) + archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct_F77=yes + hardcode_minus_L_F77=no + hardcode_shlibpath_var_F77=no + hardcode_runpath_var=yes + runpath_var=LD_RUN_PATH + ;; + + sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*) + no_undefined_flag_F77='${wl}-z ${wl}text' + if test "$GCC" = yes; then + archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + else + archive_cmds_F77='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + fi + runpath_var='LD_RUN_PATH' + hardcode_shlibpath_var_F77=no + ;; + + sysv5*) + no_undefined_flag_F77=' -z text' + # $CC -shared without GNU ld will not create a library from C++ + # object files and a static libstdc++, better avoid it by now + archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' + archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' + hardcode_libdir_flag_spec_F77= + hardcode_shlibpath_var_F77=no + runpath_var='LD_RUN_PATH' + ;; + + uts4*) + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_libdir_flag_spec_F77='-L$libdir' + hardcode_shlibpath_var_F77=no + ;; + + *) + ld_shlibs_F77=no + ;; + esac + fi + +{ $as_echo "$as_me:${as_lineno-14274}: result: $ld_shlibs_F77" >&5 +$as_echo "$ld_shlibs_F77" >&6; } +test "$ld_shlibs_F77" = no && can_build_shared=no + +variables_saved_for_relink="PATH $shlibpath_var $runpath_var" +if test "$GCC" = yes; then + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" +fi + +# +# Do we need to explicitly link libc? +# +case "x$archive_cmds_need_lc_F77" in +x|xyes) + # Assume -lc should be added + archive_cmds_need_lc_F77=yes + + if test "$enable_shared" = yes && test "$GCC" = yes; then + case $archive_cmds_F77 in + *'~'*) + # FIXME: we may have to deal with multi-command sequences. + ;; + '$CC '*) + # Test whether the compiler implicitly links with -lc since on some + # systems, -lgcc has to come before -lc. If gcc already passes -lc + # to ld, don't add -lc before -lgcc. + { $as_echo "$as_me:${as_lineno-14300}: checking whether -lc should be explicitly linked in" >&5 +$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } + $rm conftest* + printf "$lt_simple_compile_test_code" > conftest.$ac_ext + + if { { eval echo "\"\$as_me\":${as_lineno-14305}: \"$ac_compile\""; } >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-14308}: \$? = $ac_status" >&5 + test $ac_status = 0; } 2>conftest.err; then + soname=conftest + lib=conftest + libobjs=conftest.$ac_objext + deplibs= + wl=$lt_prog_compiler_wl_F77 + compiler_flags=-v + linker_flags=-v + verstring= + output_objdir=. + libname=conftest + lt_save_allow_undefined_flag=$allow_undefined_flag_F77 + allow_undefined_flag_F77= + if { { eval echo "\"\$as_me\":${as_lineno-14322}: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\""; } >&5 + (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-14325}: \$? = $ac_status" >&5 + test $ac_status = 0; } + then + archive_cmds_need_lc_F77=no + else + archive_cmds_need_lc_F77=yes + fi + allow_undefined_flag_F77=$lt_save_allow_undefined_flag + else + cat conftest.err 1>&5 + fi + $rm conftest* + { $as_echo "$as_me:${as_lineno-14337}: result: $archive_cmds_need_lc_F77" >&5 +$as_echo "$archive_cmds_need_lc_F77" >&6; } + ;; + esac + fi + ;; +esac + +{ $as_echo "$as_me:${as_lineno-14345}: checking dynamic linker characteristics" >&5 +$as_echo_n "checking dynamic linker characteristics... " >&6; } +library_names_spec= +libname_spec='lib$name' +soname_spec= +shrext_cmds=".so" +postinstall_cmds= +postuninstall_cmds= +finish_cmds= +finish_eval= +shlibpath_var= +shlibpath_overrides_runpath=unknown +version_type=none +dynamic_linker="$host_os ld.so" +sys_lib_dlsearch_path_spec="/lib /usr/lib" +if test "$GCC" = yes; then + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` + if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then + # if the path contains ";" then we assume it to be the separator + # otherwise default to the standard path separator (i.e. ":") - it is + # assumed that no part of a normal pathname contains ";" but that should + # okay in the real world where ";" in dirpaths is itself problematic. + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` + else + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` + fi +else + sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" +fi +need_lib_prefix=unknown +hardcode_into_libs=no + +# when you set need_version to no, make sure it does not cause -set_version +# flags to be left without arguments +need_version=unknown + +case $host_os in +aix3*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' + shlibpath_var=LIBPATH + + # AIX 3 has no versioning support, so we append a major version to the name. + soname_spec='${libname}${release}${shared_ext}$major' + ;; + +aix4* | aix5*) + version_type=linux + need_lib_prefix=no + need_version=no + hardcode_into_libs=yes + if test "$host_cpu" = ia64; then + # AIX 5 supports IA64 + library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + else + # With GCC up to 2.95.x, collect2 would create an import file + # for dependence libraries. The import file would start with + # the line `#! .'. This would cause the generated library to + # depend on `.', always an invalid library. This was fixed in + # development snapshots of GCC prior to 3.0. + case $host_os in + aix4 | aix4.[01] | aix4.[01].*) + if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' + echo ' yes ' + echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then + : + else + can_build_shared=no + fi + ;; + esac + # AIX (on Power*) has no versioning support, so currently we can not hardcode correct + # soname into executable. Probably we can add versioning support to + # collect2, so additional links can be useful in future. + if test "$aix_use_runtimelinking" = yes; then + # If using run time linking (on AIX 4.2 or later) use lib.so + # instead of lib.a to let people know that these are not + # typical AIX shared libraries. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + else + # We preserve .a as extension for shared libraries through AIX4.2 + # and later when we are not doing run time linking. + library_names_spec='${libname}${release}.a $libname.a' + soname_spec='${libname}${release}${shared_ext}$major' + fi + shlibpath_var=LIBPATH + fi + ;; + +amigaos*) + library_names_spec='$libname.ixlibrary $libname.a' + # Create ${libname}_ixlibrary.a entries in /sys/libs. + finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' + ;; + +beos*) + library_names_spec='${libname}${shared_ext}' + dynamic_linker="$host_os ld.so" + shlibpath_var=LIBRARY_PATH + ;; + +bsdi4*) + version_type=linux + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' + shlibpath_var=LD_LIBRARY_PATH + sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" + sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" + # the default ld.so.conf also contains /usr/contrib/lib and + # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow + # libtool to hard-code these into programs + ;; + +cygwin* | mingw* | pw32*) + version_type=windows + shrext_cmds=".dll" + need_version=no + need_lib_prefix=no + + case $GCC,$host_os in + yes,cygwin* | yes,mingw* | yes,pw32*) + library_names_spec='$libname.dll.a' + # DLL is installed to $(libdir)/../bin by postinstall_cmds + postinstall_cmds='base_file=`basename \${file}`~ + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~ + dldir=$destdir/`dirname \$dlpath`~ + test -d \$dldir || mkdir -p \$dldir~ + $install_prog $dir/$dlname \$dldir/$dlname' + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ + dlpath=$dir/\$dldll~ + $rm \$dlpath' + shlibpath_overrides_runpath=yes + + case $host_os in + cygwin*) + # Cygwin DLLs use 'cyg' prefix rather than 'lib' + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' + sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" + ;; + mingw*) + # MinGW DLLs use traditional 'lib' prefix + soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` + if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then + # It is most probably a Windows format PATH printed by + # mingw gcc, but we are running on Cygwin. Gcc prints its search + # path with ; separators, and with drive letters. We can handle the + # drive letters (cygwin fileutils understands them), so leave them, + # especially as we might pass files found there to a mingw objdump, + # which wouldn't understand a cygwinified path. Ahh. + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` + else + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` + fi + ;; + pw32*) + # pw32 DLLs use 'pw' prefix rather than 'lib' + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}' + ;; + esac + ;; + + *) + library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' + ;; + esac + dynamic_linker='Win32 ld.exe' + # FIXME: first we should search . and the directory the executable is in + shlibpath_var=PATH + ;; + +darwin* | rhapsody*) + dynamic_linker="$host_os dyld" + version_type=darwin + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' + soname_spec='${libname}${release}${major}$shared_ext' + shlibpath_overrides_runpath=yes + shlibpath_var=DYLD_LIBRARY_PATH + shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)' + # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. + if test "$GCC" = yes; then + sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"` + else + sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib' + fi + sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' + ;; + +dgux*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + ;; + +freebsd1*) + dynamic_linker=no + ;; + +kfreebsd*-gnu) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + dynamic_linker='GNU ld.so' + ;; + +freebsd*) + objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` + version_type=freebsd-$objformat + case $version_type in + freebsd-elf*) + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' + need_version=no + need_lib_prefix=no + ;; + freebsd-*) + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' + need_version=yes + ;; + esac + shlibpath_var=LD_LIBRARY_PATH + case $host_os in + freebsd2*) + shlibpath_overrides_runpath=yes + ;; + freebsd3.01* | freebsdelf3.01*) + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + ;; + *) # from 3.2 on + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + ;; + esac + ;; + +gnu*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + hardcode_into_libs=yes + ;; + +hpux9* | hpux10* | hpux11*) + # Give a soname corresponding to the major version so that dld.sl refuses to + # link against other versions. + version_type=sunos + need_lib_prefix=no + need_version=no + case "$host_cpu" in + ia64*) + shrext_cmds='.so' + hardcode_into_libs=yes + dynamic_linker="$host_os dld.so" + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + if test "X$HPUX_IA64_MODE" = X32; then + sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" + else + sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" + fi + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec + ;; + hppa*64*) + shrext_cmds='.sl' + hardcode_into_libs=yes + dynamic_linker="$host_os dld.sl" + shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec + ;; + *) + shrext_cmds='.sl' + dynamic_linker="$host_os dld.sl" + shlibpath_var=SHLIB_PATH + shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + ;; + esac + # HP-UX runs *really* slowly unless shared libraries are mode 555. + postinstall_cmds='chmod 555 $lib' + ;; + +irix5* | irix6* | nonstopux*) + case $host_os in + nonstopux*) version_type=nonstopux ;; + *) + if test "$lt_cv_prog_gnu_ld" = yes; then + version_type=linux + else + version_type=irix + fi ;; + esac + need_lib_prefix=no + need_version=no + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' + case $host_os in + irix5* | nonstopux*) + libsuff= shlibsuff= + ;; + *) + case $LD in # libtool.m4 will add one of these switches to LD + *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") + libsuff= shlibsuff= libmagic=32-bit;; + *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") + libsuff=32 shlibsuff=N32 libmagic=N32;; + *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") + libsuff=64 shlibsuff=64 libmagic=64-bit;; + *) libsuff= shlibsuff= libmagic=never-match;; + esac + ;; + esac + shlibpath_var=LD_LIBRARY${shlibsuff}_PATH + shlibpath_overrides_runpath=no + sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" + sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" + hardcode_into_libs=yes + ;; + +# No shared lib support for Linux oldld, aout, or coff. +linux*oldld* | linux*aout* | linux*coff*) + dynamic_linker=no + ;; + +# This must be Linux ELF. +linux*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + # This implies no fast_install, which is unacceptable. + # Some rework will be needed to allow for fast_install + # before this can be enabled. + hardcode_into_libs=yes + + # find out which ABI we are using + libsuff= + case "$host_cpu" in + x86_64*|s390x*|powerpc64*) + echo '#line 14710 "configure"' > conftest.$ac_ext + if { { eval echo "\"\$as_me\":${as_lineno-14711}: \"$ac_compile\""; } >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-14714}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + case `/usr/bin/file conftest.$ac_objext` in + *64-bit*) + libsuff=64 + sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}" + ;; + esac + fi + rm -rf conftest* + ;; + esac + + # Append ld.so.conf contents to the search path + if test -f /etc/ld.so.conf; then + lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '` + sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra" + fi + + # We used to test for /lib/ld.so.1 and disable shared libraries on + # powerpc, because MkLinux only supported shared libraries with the + # GNU dynamic linker. Since this was broken with cross compilers, + # most powerpc-linux boxes support dynamic linking these days and + # people can always --disable-shared, the test was removed, and we + # assume the GNU/Linux dynamic linker is in use. + dynamic_linker='GNU/Linux ld.so' + ;; + +knetbsd*-gnu) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + dynamic_linker='GNU ld.so' + ;; + +netbsd*) + version_type=sunos + need_lib_prefix=no + need_version=no + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' + dynamic_linker='NetBSD (a.out) ld.so' + else + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + dynamic_linker='NetBSD ld.elf_so' + fi + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + ;; + +newsos6) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + ;; + +nto-qnx*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + ;; + +openbsd*) + version_type=sunos + need_lib_prefix=no + need_version=yes + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' + shlibpath_var=LD_LIBRARY_PATH + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + case $host_os in + openbsd2.[89] | openbsd2.[89].*) + shlibpath_overrides_runpath=no + ;; + *) + shlibpath_overrides_runpath=yes + ;; + esac + else + shlibpath_overrides_runpath=yes + fi + ;; + +os2*) + libname_spec='$name' + shrext_cmds=".dll" + need_lib_prefix=no + library_names_spec='$libname${shared_ext} $libname.a' + dynamic_linker='OS/2 ld.exe' + shlibpath_var=LIBPATH + ;; + +osf3* | osf4* | osf5*) + version_type=osf + need_lib_prefix=no + need_version=no + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" + sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" + ;; + +sco3.2v5*) + version_type=osf + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + ;; + +solaris*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + # ldd complains unless libraries are executable + postinstall_cmds='chmod +x $lib' + ;; + +sunos4*) + version_type=sunos + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + if test "$with_gnu_ld" = yes; then + need_lib_prefix=no + fi + need_version=yes + ;; + +sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + case $host_vendor in + sni) + shlibpath_overrides_runpath=no + need_lib_prefix=no + export_dynamic_flag_spec='${wl}-Blargedynsym' + runpath_var=LD_RUN_PATH + ;; + siemens) + need_lib_prefix=no + ;; + motorola) + need_lib_prefix=no + need_version=no + shlibpath_overrides_runpath=no + sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' + ;; + esac + ;; + +sysv4*MP*) + if test -d /usr/nec ;then + version_type=linux + library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' + soname_spec='$libname${shared_ext}.$major' + shlibpath_var=LD_LIBRARY_PATH + fi + ;; + +uts4*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + ;; + +*) + dynamic_linker=no + ;; +esac +{ $as_echo "$as_me:${as_lineno-14906}: result: $dynamic_linker" >&5 +$as_echo "$dynamic_linker" >&6; } +test "$dynamic_linker" = no && can_build_shared=no + +{ $as_echo "$as_me:${as_lineno-14910}: checking how to hardcode library paths into programs" >&5 +$as_echo_n "checking how to hardcode library paths into programs... " >&6; } +hardcode_action_F77= +if test -n "$hardcode_libdir_flag_spec_F77" || \ + test -n "$runpath_var F77" || \ + test "X$hardcode_automatic_F77"="Xyes" ; then + + # We can hardcode non-existant directories. + if test "$hardcode_direct_F77" != no && + # If the only mechanism to avoid hardcoding is shlibpath_var, we + # have to relink, otherwise we might link with an installed library + # when we should be linking with a yet-to-be-installed one + ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no && + test "$hardcode_minus_L_F77" != no; then + # Linking always hardcodes the temporary library directory. + hardcode_action_F77=relink + else + # We can link without hardcoding, and we can hardcode nonexisting dirs. + hardcode_action_F77=immediate + fi +else + # We cannot hardcode anything, or else we can only hardcode existing + # directories. + hardcode_action_F77=unsupported +fi +{ $as_echo "$as_me:${as_lineno-14935}: result: $hardcode_action_F77" >&5 +$as_echo "$hardcode_action_F77" >&6; } + +if test "$hardcode_action_F77" = relink; then + # Fast installation is not supported + enable_fast_install=no +elif test "$shlibpath_overrides_runpath" = yes || + test "$enable_shared" = no; then + # Fast installation is not necessary + enable_fast_install=needless +fi + +striplib= +old_striplib= +{ $as_echo "$as_me:${as_lineno-14949}: checking whether stripping libraries is possible" >&5 +$as_echo_n "checking whether stripping libraries is possible... " >&6; } +if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then + test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" + test -z "$striplib" && striplib="$STRIP --strip-unneeded" + { $as_echo "$as_me:${as_lineno-14954}: result: yes" >&5 +$as_echo "yes" >&6; } +else +# FIXME - insert some real tests, host_os isn't really good enough + case $host_os in + darwin*) + if test -n "$STRIP" ; then + striplib="$STRIP -x" + { $as_echo "$as_me:${as_lineno-14962}: result: yes" >&5 +$as_echo "yes" >&6; } + else + { $as_echo "$as_me:${as_lineno-14965}: result: no" >&5 +$as_echo "no" >&6; } +fi + ;; + *) + { $as_echo "$as_me:${as_lineno-14970}: result: no" >&5 +$as_echo "no" >&6; } + ;; + esac +fi + + + +# The else clause should only fire when bootstrapping the +# libtool distribution, otherwise you forgot to ship ltmain.sh +# with your package, and you will get complaints that there are +# no rules to generate ltmain.sh. +if test -f "$ltmain"; then + # See if we are running on zsh, and set the options which allow our commands through + # without removal of \ escapes. + if test -n "${ZSH_VERSION+set}" ; then + setopt NO_GLOB_SUBST + fi + # Now quote all the things that may contain metacharacters while being + # careful not to overquote the AC_SUBSTed values. We take copies of the + # variables and quote the copies for generation of the libtool script. + for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \ + SED SHELL STRIP \ + libname_spec library_names_spec soname_spec extract_expsyms_cmds \ + old_striplib striplib file_magic_cmd finish_cmds finish_eval \ + deplibs_check_method reload_flag reload_cmds need_locks \ + lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ + lt_cv_sys_global_symbol_to_c_name_address \ + sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ + old_postinstall_cmds old_postuninstall_cmds \ + compiler_F77 \ + CC_F77 \ + LD_F77 \ + lt_prog_compiler_wl_F77 \ + lt_prog_compiler_pic_F77 \ + lt_prog_compiler_static_F77 \ + lt_prog_compiler_no_builtin_flag_F77 \ + export_dynamic_flag_spec_F77 \ + thread_safe_flag_spec_F77 \ + whole_archive_flag_spec_F77 \ + enable_shared_with_static_runtimes_F77 \ + old_archive_cmds_F77 \ + old_archive_from_new_cmds_F77 \ + predep_objects_F77 \ + postdep_objects_F77 \ + predeps_F77 \ + postdeps_F77 \ + compiler_lib_search_path_F77 \ + archive_cmds_F77 \ + archive_expsym_cmds_F77 \ + postinstall_cmds_F77 \ + postuninstall_cmds_F77 \ + old_archive_from_expsyms_cmds_F77 \ + allow_undefined_flag_F77 \ + no_undefined_flag_F77 \ + export_symbols_cmds_F77 \ + hardcode_libdir_flag_spec_F77 \ + hardcode_libdir_flag_spec_ld_F77 \ + hardcode_libdir_separator_F77 \ + hardcode_automatic_F77 \ + module_cmds_F77 \ + module_expsym_cmds_F77 \ + lt_cv_prog_compiler_c_o_F77 \ + exclude_expsyms_F77 \ + include_expsyms_F77; do + + case $var in + old_archive_cmds_F77 | \ + old_archive_from_new_cmds_F77 | \ + archive_cmds_F77 | \ + archive_expsym_cmds_F77 | \ + module_cmds_F77 | \ + module_expsym_cmds_F77 | \ + old_archive_from_expsyms_cmds_F77 | \ + export_symbols_cmds_F77 | \ + extract_expsyms_cmds | reload_cmds | finish_cmds | \ + postinstall_cmds | postuninstall_cmds | \ + old_postinstall_cmds | old_postuninstall_cmds | \ + sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) + # Double-quote double-evaled strings. + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" + ;; + *) + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\"" + ;; + esac + done + + case $lt_echo in + *'\$0 --fallback-echo"') + lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'` + ;; + esac + +cfgfile="$ofile" + + cat <<__EOF__ >> "$cfgfile" +# ### BEGIN LIBTOOL TAG CONFIG: $tagname + +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: + +# Shell to use when invoking shell scripts. +SHELL=$lt_SHELL + +# Whether or not to build shared libraries. +build_libtool_libs=$enable_shared + +# Whether or not to build static libraries. +build_old_libs=$enable_static + +# Whether or not to add -lc for building shared libraries. +build_libtool_need_lc=$archive_cmds_need_lc_F77 + +# Whether or not to disallow shared libs when runtime libs are static +allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77 + +# Whether or not to optimize for fast installation. +fast_install=$enable_fast_install + +# The host system. +host_alias=$host_alias +host=$host + +# An echo program that does not interpret backslashes. +echo=$lt_echo + +# The archiver. +AR=$lt_AR +AR_FLAGS=$lt_AR_FLAGS + +# A C compiler. +LTCC=$lt_LTCC + +# A language-specific compiler. +CC=$lt_compiler_F77 + +# Is the compiler the GNU C compiler? +with_gcc=$GCC_F77 + +# An ERE matcher. +EGREP=$lt_EGREP + +# The linker used to build libraries. +LD=$lt_LD_F77 + +# Whether we need hard or soft links. +LN_S=$lt_LN_S + +# A BSD-compatible nm program. +NM=$lt_NM + +# A symbol stripping program +STRIP=$lt_STRIP + +# Used to examine libraries when file_magic_cmd begins "file" +MAGIC_CMD=$MAGIC_CMD + +# Used on cygwin: DLL creation program. +DLLTOOL="$DLLTOOL" + +# Used on cygwin: object dumper. +OBJDUMP="$OBJDUMP" + +# Used on cygwin: assembler. +AS="$AS" + +# The name of the directory that contains temporary libtool files. +objdir=$objdir + +# How to create reloadable object files. +reload_flag=$lt_reload_flag +reload_cmds=$lt_reload_cmds + +# How to pass a linker flag through the compiler. +wl=$lt_lt_prog_compiler_wl_F77 + +# Object file suffix (normally "o"). +objext="$ac_objext" + +# Old archive suffix (normally "a"). +libext="$libext" + +# Shared library suffix (normally ".so"). +shrext_cmds='$shrext_cmds' + +# Executable file suffix (normally ""). +exeext="$exeext" + +# Additional compiler flags for building library objects. +pic_flag=$lt_lt_prog_compiler_pic_F77 +pic_mode=$pic_mode + +# What is the maximum length of a command? +max_cmd_len=$lt_cv_sys_max_cmd_len + +# Does compiler simultaneously support -c and -o options? +compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77 + +# Must we lock files when doing compilation ? +need_locks=$lt_need_locks + +# Do we need the lib prefix for modules? +need_lib_prefix=$need_lib_prefix + +# Do we need a version for libraries? +need_version=$need_version + +# Whether dlopen is supported. +dlopen_support=$enable_dlopen + +# Whether dlopen of programs is supported. +dlopen_self=$enable_dlopen_self + +# Whether dlopen of statically linked programs is supported. +dlopen_self_static=$enable_dlopen_self_static + +# Compiler flag to prevent dynamic linking. +link_static_flag=$lt_lt_prog_compiler_static_F77 + +# Compiler flag to turn off builtin functions. +no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77 + +# Compiler flag to allow reflexive dlopens. +export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77 + +# Compiler flag to generate shared objects directly from archives. +whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77 + +# Compiler flag to generate thread-safe objects. +thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77 + +# Library versioning type. +version_type=$version_type + +# Format of library name prefix. +libname_spec=$lt_libname_spec + +# List of archive names. First name is the real one, the rest are links. +# The last name is the one that the linker finds with -lNAME. +library_names_spec=$lt_library_names_spec + +# The coded name of the library, if different from the real name. +soname_spec=$lt_soname_spec + +# Commands used to build and install an old-style archive. +RANLIB=$lt_RANLIB +old_archive_cmds=$lt_old_archive_cmds_F77 +old_postinstall_cmds=$lt_old_postinstall_cmds +old_postuninstall_cmds=$lt_old_postuninstall_cmds + +# Create an old-style archive from a shared archive. +old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77 + +# Create a temporary old-style archive to link instead of a shared archive. +old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77 + +# Commands used to build and install a shared archive. +archive_cmds=$lt_archive_cmds_F77 +archive_expsym_cmds=$lt_archive_expsym_cmds_F77 +postinstall_cmds=$lt_postinstall_cmds +postuninstall_cmds=$lt_postuninstall_cmds + +# Commands used to build a loadable module (assumed same as above if empty) +module_cmds=$lt_module_cmds_F77 +module_expsym_cmds=$lt_module_expsym_cmds_F77 + +# Commands to strip libraries. +old_striplib=$lt_old_striplib +striplib=$lt_striplib + +# Dependencies to place before the objects being linked to create a +# shared library. +predep_objects=$lt_predep_objects_F77 + +# Dependencies to place after the objects being linked to create a +# shared library. +postdep_objects=$lt_postdep_objects_F77 + +# Dependencies to place before the objects being linked to create a +# shared library. +predeps=$lt_predeps_F77 + +# Dependencies to place after the objects being linked to create a +# shared library. +postdeps=$lt_postdeps_F77 + +# The library search path used internally by the compiler when linking +# a shared library. +compiler_lib_search_path=$lt_compiler_lib_search_path_F77 + +# Method to check whether dependent libraries are shared objects. +deplibs_check_method=$lt_deplibs_check_method + +# Command to use when deplibs_check_method == file_magic. +file_magic_cmd=$lt_file_magic_cmd + +# Flag that allows shared libraries with undefined symbols to be built. +allow_undefined_flag=$lt_allow_undefined_flag_F77 + +# Flag that forces no undefined symbols. +no_undefined_flag=$lt_no_undefined_flag_F77 + +# Commands used to finish a libtool library installation in a directory. +finish_cmds=$lt_finish_cmds + +# Same as above, but a single script fragment to be evaled but not shown. +finish_eval=$lt_finish_eval + +# Take the output of nm and produce a listing of raw symbols and C names. +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe + +# Transform the output of nm in a proper C declaration +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl + +# Transform the output of nm in a C name address pair +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address + +# This is the shared library runtime path variable. +runpath_var=$runpath_var + +# This is the shared library path variable. +shlibpath_var=$shlibpath_var + +# Is shlibpath searched before the hard-coded library search path? +shlibpath_overrides_runpath=$shlibpath_overrides_runpath + +# How to hardcode a shared library path into an executable. +hardcode_action=$hardcode_action_F77 + +# Whether we should hardcode library paths into libraries. +hardcode_into_libs=$hardcode_into_libs + +# Flag to hardcode \$libdir into a binary during linking. +# This must work even if \$libdir does not exist. +hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77 + +# If ld is used when linking, flag to hardcode \$libdir into +# a binary during linking. This must work even if \$libdir does +# not exist. +hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77 + +# Whether we need a single -rpath flag with a separated argument. +hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77 + +# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the +# resulting binary. +hardcode_direct=$hardcode_direct_F77 + +# Set to yes if using the -LDIR flag during linking hardcodes DIR into the +# resulting binary. +hardcode_minus_L=$hardcode_minus_L_F77 + +# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into +# the resulting binary. +hardcode_shlibpath_var=$hardcode_shlibpath_var_F77 + +# Set to yes if building a shared library automatically hardcodes DIR into the library +# and all subsequent libraries and executables linked against it. +hardcode_automatic=$hardcode_automatic_F77 + +# Variables whose values should be saved in libtool wrapper scripts and +# restored at relink time. +variables_saved_for_relink="$variables_saved_for_relink" + +# Whether libtool must link a program against all its dependency libraries. +link_all_deplibs=$link_all_deplibs_F77 + +# Compile-time system search path for libraries +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec + +# Run-time system search path for libraries +sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec + +# Fix the shell variable \$srcfile for the compiler. +fix_srcfile_path="$fix_srcfile_path_F77" + +# Set to yes if exported symbols are required. +always_export_symbols=$always_export_symbols_F77 + +# The commands to list exported symbols. +export_symbols_cmds=$lt_export_symbols_cmds_F77 + +# The commands to extract the exported symbol list from a shared archive. +extract_expsyms_cmds=$lt_extract_expsyms_cmds + +# Symbols that should not be listed in the preloaded symbols. +exclude_expsyms=$lt_exclude_expsyms_F77 + +# Symbols that must always be exported. +include_expsyms=$lt_include_expsyms_F77 + +# ### END LIBTOOL TAG CONFIG: $tagname + +__EOF__ + + +else + # If there is no Makefile yet, we rely on a make rule to execute + # `config.status --recheck' to rerun these tests and create the + # libtool script then. + ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'` + if test -f "$ltmain_in"; then + test -f Makefile && make "$ltmain" + fi +fi + + +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + +CC="$lt_save_CC" + + else + tagname="" + fi + ;; + + GCJ) + if test -n "$GCJ" && test "X$GCJ" != "Xno"; then + + +# Source file extension for Java test sources. +ac_ext=java + +# Object file extension for compiled Java test sources. +objext=o +objext_GCJ=$objext + +# Code to be used in simple compile tests +lt_simple_compile_test_code="class foo {}\n" + +# Code to be used in simple link tests +lt_simple_link_test_code='public class conftest { public static void main(String argv) {}; }\n' + +# ltmain only uses $CC for tagged configurations so make sure $CC is set. + +# If no C compiler was specified, use CC. +LTCC=${LTCC-"$CC"} + +# Allow CC to be a program name with arguments. +compiler=$CC + + +# Allow CC to be a program name with arguments. +lt_save_CC="$CC" +CC=${GCJ-"gcj"} +compiler=$CC +compiler_GCJ=$CC + +# GCJ did not exist at the time GCC didn't implicitly link libc in. +archive_cmds_need_lc_GCJ=no + + +lt_prog_compiler_no_builtin_flag_GCJ= + +if test "$GCC" = yes; then + lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin' + + +{ $as_echo "$as_me:${as_lineno-15432}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 +$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } +if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + lt_cv_prog_compiler_rtti_exceptions=no + ac_outfile=conftest.$ac_objext + printf "$lt_simple_compile_test_code" > conftest.$ac_ext + lt_compiler_flag="-fno-rtti -fno-exceptions" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + # The option is referenced via a variable to avoid confusing sed. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:15450: $lt_compile\"" >&5) + (eval "$lt_compile" 2>conftest.err) + ac_status=$? + cat conftest.err >&5 + echo "$as_me:15454: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s "$ac_outfile"; then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings + if test ! -s conftest.err; then + lt_cv_prog_compiler_rtti_exceptions=yes + fi + fi + $rm conftest* + +fi +{ $as_echo "$as_me:${as_lineno-15465}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 +$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } + +if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then + lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions" +else + : +fi + +fi + +lt_prog_compiler_wl_GCJ= +lt_prog_compiler_pic_GCJ= +lt_prog_compiler_static_GCJ= + +{ $as_echo "$as_me:${as_lineno-15480}: checking for $compiler option to produce PIC" >&5 +$as_echo_n "checking for $compiler option to produce PIC... " >&6; } + + if test "$GCC" = yes; then + lt_prog_compiler_wl_GCJ='-Wl,' + lt_prog_compiler_static_GCJ='-static' + + case $host_os in + aix*) + # All AIX code is PIC. + if test "$host_cpu" = ia64; then + # AIX 5 now supports IA64 processor + lt_prog_compiler_static_GCJ='-Bstatic' + fi + ;; + + amigaos*) + # FIXME: we need at least 68020 code to build shared libraries, but + # adding the `-m68020' flag to GCC prevents building anything better, + # like `-m68040'. + lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4' + ;; + + beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) + # PIC is the default for these OSes. + ;; + + mingw* | pw32* | os2*) + # This hack is so that the source file can tell whether it is being + # built for inclusion in a dll (and should export symbols for example). + lt_prog_compiler_pic_GCJ='-DDLL_EXPORT' + ;; + + darwin* | rhapsody*) + # PIC is the default on this platform + # Common symbols not allowed in MH_DYLIB files + lt_prog_compiler_pic_GCJ='-fno-common' + ;; + + msdosdjgpp*) + # Just because we use GCC doesn't mean we suddenly get shared libraries + # on systems that don't support them. + lt_prog_compiler_can_build_shared_GCJ=no + enable_shared=no + ;; + + sysv4*MP*) + if test -d /usr/nec; then + lt_prog_compiler_pic_GCJ=-Kconform_pic + fi + ;; + + hpux*) + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but + # not for PA HP-UX. + case "$host_cpu" in + hppa*64*|ia64*) + # +Z the default + ;; + *) + lt_prog_compiler_pic_GCJ='-fPIC' + ;; + esac + ;; + + *) + lt_prog_compiler_pic_GCJ='-fPIC' + ;; + esac + else + # PORTME Check for flag to pass linker flags through the system compiler. + case $host_os in + aix*) + lt_prog_compiler_wl_GCJ='-Wl,' + if test "$host_cpu" = ia64; then + # AIX 5 now supports IA64 processor + lt_prog_compiler_static_GCJ='-Bstatic' + else + lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp' + fi + ;; + + mingw* | pw32* | os2*) + # This hack is so that the source file can tell whether it is being + # built for inclusion in a dll (and should export symbols for example). + lt_prog_compiler_pic_GCJ='-DDLL_EXPORT' + ;; + + hpux9* | hpux10* | hpux11*) + lt_prog_compiler_wl_GCJ='-Wl,' + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but + # not for PA HP-UX. + case "$host_cpu" in + hppa*64*|ia64*) + # +Z the default + ;; + *) + lt_prog_compiler_pic_GCJ='+Z' + ;; + esac + # Is there a better lt_prog_compiler_static that works with the bundled CC? + lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive' + ;; + + irix5* | irix6* | nonstopux*) + lt_prog_compiler_wl_GCJ='-Wl,' + # PIC (with -KPIC) is the default. + lt_prog_compiler_static_GCJ='-non_shared' + ;; + + newsos6) + lt_prog_compiler_pic_GCJ='-KPIC' + lt_prog_compiler_static_GCJ='-Bstatic' + ;; + + linux*) + case $CC in + icc* | ecc*) + lt_prog_compiler_wl_GCJ='-Wl,' + lt_prog_compiler_pic_GCJ='-KPIC' + lt_prog_compiler_static_GCJ='-static' + ;; + ccc*) + lt_prog_compiler_wl_GCJ='-Wl,' + # All Alpha code is PIC. + lt_prog_compiler_static_GCJ='-non_shared' + ;; + esac + ;; + + osf3* | osf4* | osf5*) + lt_prog_compiler_wl_GCJ='-Wl,' + # All OSF/1 code is PIC. + lt_prog_compiler_static_GCJ='-non_shared' + ;; + + sco3.2v5*) + lt_prog_compiler_pic_GCJ='-Kpic' + lt_prog_compiler_static_GCJ='-dn' + ;; + + solaris*) + lt_prog_compiler_wl_GCJ='-Wl,' + lt_prog_compiler_pic_GCJ='-KPIC' + lt_prog_compiler_static_GCJ='-Bstatic' + ;; + + sunos4*) + lt_prog_compiler_wl_GCJ='-Qoption ld ' + lt_prog_compiler_pic_GCJ='-PIC' + lt_prog_compiler_static_GCJ='-Bstatic' + ;; + + sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) + lt_prog_compiler_wl_GCJ='-Wl,' + lt_prog_compiler_pic_GCJ='-KPIC' + lt_prog_compiler_static_GCJ='-Bstatic' + ;; + + sysv4*MP*) + if test -d /usr/nec ;then + lt_prog_compiler_pic_GCJ='-Kconform_pic' + lt_prog_compiler_static_GCJ='-Bstatic' + fi + ;; + + uts4*) + lt_prog_compiler_pic_GCJ='-pic' + lt_prog_compiler_static_GCJ='-Bstatic' + ;; + + *) + lt_prog_compiler_can_build_shared_GCJ=no + ;; + esac + fi + +{ $as_echo "$as_me:${as_lineno-15657}: result: $lt_prog_compiler_pic_GCJ" >&5 +$as_echo "$lt_prog_compiler_pic_GCJ" >&6; } + +# +# Check to make sure the PIC flag actually works. +# +if test -n "$lt_prog_compiler_pic_GCJ"; then + +{ $as_echo "$as_me:${as_lineno-15665}: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5 +$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... " >&6; } +if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + lt_prog_compiler_pic_works_GCJ=no + ac_outfile=conftest.$ac_objext + printf "$lt_simple_compile_test_code" > conftest.$ac_ext + lt_compiler_flag="$lt_prog_compiler_pic_GCJ" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + # The option is referenced via a variable to avoid confusing sed. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:15683: $lt_compile\"" >&5) + (eval "$lt_compile" 2>conftest.err) + ac_status=$? + cat conftest.err >&5 + echo "$as_me:15687: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s "$ac_outfile"; then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings + if test ! -s conftest.err; then + lt_prog_compiler_pic_works_GCJ=yes + fi + fi + $rm conftest* + +fi +{ $as_echo "$as_me:${as_lineno-15698}: result: $lt_prog_compiler_pic_works_GCJ" >&5 +$as_echo "$lt_prog_compiler_pic_works_GCJ" >&6; } + +if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then + case $lt_prog_compiler_pic_GCJ in + "" | " "*) ;; + *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;; + esac +else + lt_prog_compiler_pic_GCJ= + lt_prog_compiler_can_build_shared_GCJ=no +fi + +fi +case "$host_os" in + # For platforms which do not support PIC, -DPIC is meaningless: + *djgpp*) + lt_prog_compiler_pic_GCJ= + ;; + *) + lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ" + ;; +esac + +{ $as_echo "$as_me:${as_lineno-15722}: checking if $compiler supports -c -o file.$ac_objext" >&5 +$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } +if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + lt_cv_prog_compiler_c_o_GCJ=no + $rm -r conftest 2>/dev/null + mkdir conftest + cd conftest + mkdir out + printf "$lt_simple_compile_test_code" > conftest.$ac_ext + + lt_compiler_flag="-o out/conftest2.$ac_objext" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:15743: $lt_compile\"" >&5) + (eval "$lt_compile" 2>out/conftest.err) + ac_status=$? + cat out/conftest.err >&5 + echo "$as_me:15747: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s out/conftest2.$ac_objext + then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings + if test ! -s out/conftest.err; then + lt_cv_prog_compiler_c_o_GCJ=yes + fi + fi + chmod u+w . + $rm conftest* + # SGI C++ compiler will create directory out/ii_files/ for + # template instantiation + test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files + $rm out/* && rmdir out + cd .. + rmdir conftest + $rm conftest* + +fi +{ $as_echo "$as_me:${as_lineno-15767}: result: $lt_cv_prog_compiler_c_o_GCJ" >&5 +$as_echo "$lt_cv_prog_compiler_c_o_GCJ" >&6; } + + +hard_links="nottested" +if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then + # do not overwrite the value of need_locks provided by the user + { $as_echo "$as_me:${as_lineno-15774}: checking if we can lock with hard links" >&5 +$as_echo_n "checking if we can lock with hard links... " >&6; } + hard_links=yes + $rm conftest* + ln conftest.a conftest.b 2>/dev/null && hard_links=no + touch conftest.a + ln conftest.a conftest.b 2>&5 || hard_links=no + ln conftest.a conftest.b 2>/dev/null && hard_links=no + { $as_echo "$as_me:${as_lineno-15782}: result: $hard_links" >&5 +$as_echo "$hard_links" >&6; } + if test "$hard_links" = no; then + { $as_echo "$as_me:${as_lineno-15785}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 +$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} + need_locks=warn + fi +else + need_locks=no +fi + +{ $as_echo "$as_me:${as_lineno-15793}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 +$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } + + runpath_var= + allow_undefined_flag_GCJ= + enable_shared_with_static_runtimes_GCJ=no + archive_cmds_GCJ= + archive_expsym_cmds_GCJ= + old_archive_From_new_cmds_GCJ= + old_archive_from_expsyms_cmds_GCJ= + export_dynamic_flag_spec_GCJ= + whole_archive_flag_spec_GCJ= + thread_safe_flag_spec_GCJ= + hardcode_libdir_flag_spec_GCJ= + hardcode_libdir_flag_spec_ld_GCJ= + hardcode_libdir_separator_GCJ= + hardcode_direct_GCJ=no + hardcode_minus_L_GCJ=no + hardcode_shlibpath_var_GCJ=unsupported + link_all_deplibs_GCJ=unknown + hardcode_automatic_GCJ=no + module_cmds_GCJ= + module_expsym_cmds_GCJ= + always_export_symbols_GCJ=no + export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' + # include_expsyms should be a list of space-separated symbols to be *always* + # included in the symbol list + include_expsyms_GCJ= + # exclude_expsyms can be an extended regexp of symbols to exclude + # it will be wrapped by ` (' and `)$', so one must not match beginning or + # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', + # as well as any symbol that contains `d'. + exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_" + # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out + # platforms (ab)use it in PIC code, but their linkers get confused if + # the symbol is explicitly referenced. Since portable code cannot + # rely on this symbol name, it's probably fine to never include it in + # preloaded symbol tables. + extract_expsyms_cmds= + + case $host_os in + cygwin* | mingw* | pw32*) + # FIXME: the MSVC++ port hasn't been tested in a loooong time + # When not using gcc, we currently assume that we are using + # Microsoft Visual C++. + if test "$GCC" != yes; then + with_gnu_ld=no + fi + ;; + openbsd*) + with_gnu_ld=no + ;; + esac + + ld_shlibs_GCJ=yes + if test "$with_gnu_ld" = yes; then + # If archive_cmds runs LD, not CC, wlarc should be empty + wlarc='${wl}' + + # See if GNU ld supports shared libraries. + case $host_os in + aix3* | aix4* | aix5*) + # On AIX/PPC, the GNU linker is very broken + if test "$host_cpu" != ia64; then + ld_shlibs_GCJ=no + cat <&2 + +*** Warning: the GNU linker, at least up to release 2.9.1, is reported +*** to be unable to reliably create shared libraries on AIX. +*** Therefore, libtool is disabling shared libraries support. If you +*** really care for shared libraries, you may want to modify your PATH +*** so that a non-GNU linker is found, and then restart. + +EOF + fi + ;; + + amigaos*) + archive_cmds_GCJ='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' + hardcode_libdir_flag_spec_GCJ='-L$libdir' + hardcode_minus_L_GCJ=yes + + # Samuel A. Falvo II reports + # that the semantics of dynamic libraries on AmigaOS, at least up + # to version 4, is to share data among multiple programs linked + # with the same dynamic library. Since this doesn't match the + # behavior of shared libraries on other platforms, we can't use + # them. + ld_shlibs_GCJ=no + ;; + + beos*) + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + allow_undefined_flag_GCJ=unsupported + # Joseph Beckenbach says some releases of gcc + # support --undefined. This deserves some investigation. FIXME + archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + else + ld_shlibs_GCJ=no + fi + ;; + + cygwin* | mingw* | pw32*) + # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless, + # as there is no search path for DLLs. + hardcode_libdir_flag_spec_GCJ='-L$libdir' + allow_undefined_flag_GCJ=unsupported + always_export_symbols_GCJ=no + enable_shared_with_static_runtimes_GCJ=yes + export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols' + + if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then + archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' + # If the export-symbols file already is a .def file (1st line + # is EXPORTS), use it as is; otherwise, prepend... + archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then + cp $export_symbols $output_objdir/$soname.def; + else + echo EXPORTS > $output_objdir/$soname.def; + cat $export_symbols >> $output_objdir/$soname.def; + fi~ + $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' + else + ld_shlibs=no + fi + ;; + + netbsd*) + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' + wlarc= + else + archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + fi + ;; + + solaris* | sysv5*) + if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then + ld_shlibs_GCJ=no + cat <&2 + +*** Warning: The releases 2.8.* of the GNU linker cannot reliably +*** create shared libraries on Solaris systems. Therefore, libtool +*** is disabling shared libraries support. We urge you to upgrade GNU +*** binutils to release 2.9.1 or newer. Another option is to modify +*** your PATH or compiler configuration so that the native linker is +*** used, and then restart. + +EOF + elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + else + ld_shlibs_GCJ=no + fi + ;; + + sunos4*) + archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' + wlarc= + hardcode_direct_GCJ=yes + hardcode_shlibpath_var_GCJ=no + ;; + + linux*) + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_cmds_GCJ="$tmp_archive_cmds" + supports_anon_versioning=no + case `$LD -v 2>/dev/null` in + *\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 + *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... + *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... + *\ 2.11.*) ;; # other 2.11 versions + *) supports_anon_versioning=yes ;; + esac + if test $supports_anon_versioning = yes; then + archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~ +cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ +$echo "local: *; };" >> $output_objdir/$libname.ver~ + $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' + else + archive_expsym_cmds_GCJ="$tmp_archive_cmds" + fi + else + ld_shlibs_GCJ=no + fi + ;; + + *) + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + else + ld_shlibs_GCJ=no + fi + ;; + esac + + if test "$ld_shlibs_GCJ" = yes; then + runpath_var=LD_RUN_PATH + hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir' + export_dynamic_flag_spec_GCJ='${wl}--export-dynamic' + # ancient GNU ld didn't support --whole-archive et. al. + if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then + whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' + else + whole_archive_flag_spec_GCJ= + fi + fi + else + # PORTME fill in a description of your system's linker (not GNU ld) + case $host_os in + aix3*) + allow_undefined_flag_GCJ=unsupported + always_export_symbols_GCJ=yes + archive_expsym_cmds_GCJ='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' + # Note: this linker hardcodes the directories in LIBPATH if there + # are no directories specified by -L. + hardcode_minus_L_GCJ=yes + if test "$GCC" = yes && test -z "$link_static_flag"; then + # Neither direct hardcoding nor static linking is supported with a + # broken collect2. + hardcode_direct_GCJ=unsupported + fi + ;; + + aix4* | aix5*) + if test "$host_cpu" = ia64; then + # On IA64, the linker does run time linking by default, so we don't + # have to do anything special. + aix_use_runtimelinking=no + exp_sym_flag='-Bexport' + no_entry_flag="" + else + # If we're using GNU nm, then we don't want the "-C" option. + # -C means demangle to AIX nm, but means don't demangle with GNU nm + if $NM -V 2>&1 | grep 'GNU' > /dev/null; then + export_symbols_cmds_GCJ='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' + else + export_symbols_cmds_GCJ='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' + fi + aix_use_runtimelinking=no + + # Test if we are trying to use run time linking or normal + # AIX style linking. If -brtl is somewhere in LDFLAGS, we + # need to do runtime linking. + case $host_os in aix4.[23]|aix4.[23].*|aix5*) + for ld_flag in $LDFLAGS; do + if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then + aix_use_runtimelinking=yes + break + fi + done + esac + + exp_sym_flag='-bexport' + no_entry_flag='-bnoentry' + fi + + # When large executables or shared objects are built, AIX ld can + # have problems creating the table of contents. If linking a library + # or program results in "error TOC overflow" add -mminimal-toc to + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. + + archive_cmds_GCJ='' + hardcode_direct_GCJ=yes + hardcode_libdir_separator_GCJ=':' + link_all_deplibs_GCJ=yes + + if test "$GCC" = yes; then + case $host_os in aix4.012|aix4.012.*) + # We only want to do this on AIX 4.2 and lower, the check + # below for broken collect2 doesn't work under 4.3+ + collect2name=`${CC} -print-prog-name=collect2` + if test -f "$collect2name" && \ + strings "$collect2name" | grep resolve_lib_name >/dev/null + then + # We have reworked collect2 + hardcode_direct_GCJ=yes + else + # We have old collect2 + hardcode_direct_GCJ=unsupported + # It fails to find uninstalled libraries when the uninstalled + # path is not listed in the libpath. Setting hardcode_minus_L + # to unsupported forces relinking + hardcode_minus_L_GCJ=yes + hardcode_libdir_flag_spec_GCJ='-L$libdir' + hardcode_libdir_separator_GCJ= + fi + esac + shared_flag='-shared' + else + # not using gcc + if test "$host_cpu" = ia64; then + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release + # chokes on -Wl,-G. The following line is correct: + shared_flag='-G' + else + if test "$aix_use_runtimelinking" = yes; then + shared_flag='${wl}-G' + else + shared_flag='${wl}-bM:SRE' + fi + fi + fi + + # It seems that -bexpall does not export symbols beginning with + # underscore (_), so it is better to generate a list of symbols to export. + always_export_symbols_GCJ=yes + if test "$aix_use_runtimelinking" = yes; then + # Warning - without using the other runtime loading flags (-brtl), + # -berok will link without error, but may produce a broken library. + allow_undefined_flag_GCJ='-berok' + # Determine the default libpath from the value encoded in an empty executable. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "16121"; then : + +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'` +# Check for a 64-bit object if we didn't find anything. +if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'`; fi +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi + + hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath" + archive_expsym_cmds_GCJ="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag" + else + if test "$host_cpu" = ia64; then + hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib' + allow_undefined_flag_GCJ="-z nodefs" + archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols" + else + # Determine the default libpath from the value encoded in an empty executable. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "16153"; then : + +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'` +# Check for a 64-bit object if we didn't find anything. +if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'`; fi +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi + + hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath" + # Warning - without using the other run time loading flags, + # -berok will link without error, but may produce a broken library. + no_undefined_flag_GCJ=' ${wl}-bernotok' + allow_undefined_flag_GCJ=' ${wl}-berok' + # -bexpall does not export symbols beginning with underscore (_) + always_export_symbols_GCJ=yes + # Exported symbols can be pulled into shared objects from archives + whole_archive_flag_spec_GCJ=' ' + archive_cmds_need_lc_GCJ=yes + # This is similar to how AIX traditionally builds it's shared libraries. + archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' + fi + fi + ;; + + amigaos*) + archive_cmds_GCJ='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' + hardcode_libdir_flag_spec_GCJ='-L$libdir' + hardcode_minus_L_GCJ=yes + # see comment about different semantics on the GNU ld section + ld_shlibs_GCJ=no + ;; + + bsdi4*) + export_dynamic_flag_spec_GCJ=-rdynamic + ;; + + cygwin* | mingw* | pw32*) + # When not using gcc, we currently assume that we are using + # Microsoft Visual C++. + # hardcode_libdir_flag_spec is actually meaningless, as there is + # no search path for DLLs. + hardcode_libdir_flag_spec_GCJ=' ' + allow_undefined_flag_GCJ=unsupported + # Tell ltmain to make .lib files, not .a files. + libext=lib + # Tell ltmain to make .dll files, not .so files. + shrext_cmds=".dll" + # FIXME: Setting linknames here is a bad hack. + archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames=' + # The linker will automatically build a .lib file if we build a DLL. + old_archive_From_new_cmds_GCJ='true' + # FIXME: Should let the user specify the lib program. + old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs' + fix_srcfile_path='`cygpath -w "$srcfile"`' + enable_shared_with_static_runtimes_GCJ=yes + ;; + + darwin* | rhapsody*) + if test "$GXX" = yes ; then + archive_cmds_need_lc_GCJ=no + case "$host_os" in + rhapsody* | darwin1.[012]) + allow_undefined_flag_GCJ='-undefined suppress' + ;; + *) # Darwin 1.3 on + if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then + allow_undefined_flag_GCJ='-flat_namespace -undefined suppress' + else + case ${MACOSX_DEPLOYMENT_TARGET} in + 10.[012]) + allow_undefined_flag_GCJ='-flat_namespace -undefined suppress' + ;; + 10.*) + allow_undefined_flag_GCJ='-undefined dynamic_lookup' + ;; + esac + fi + ;; + esac + lt_int_apple_cc_single_mod=no + output_verbose_link_cmd='echo' + if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then + lt_int_apple_cc_single_mod=yes + fi + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then + archive_cmds_GCJ='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' + else + archive_cmds_GCJ='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring' + fi + module_cmds_GCJ='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then + archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + else + archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + fi + module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + hardcode_direct_GCJ=no + hardcode_automatic_GCJ=yes + hardcode_shlibpath_var_GCJ=unsupported + whole_archive_flag_spec_GCJ='-all_load $convenience' + link_all_deplibs_GCJ=yes + else + ld_shlibs_GCJ=no + fi + ;; + + dgux*) + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_libdir_flag_spec_GCJ='-L$libdir' + hardcode_shlibpath_var_GCJ=no + ;; + + freebsd1*) + ld_shlibs_GCJ=no + ;; + + # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor + # support. Future versions do this automatically, but an explicit c++rt0.o + # does not break anything, and helps significantly (at the cost of a little + # extra space). + freebsd2.2*) + archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' + hardcode_libdir_flag_spec_GCJ='-R$libdir' + hardcode_direct_GCJ=yes + hardcode_shlibpath_var_GCJ=no + ;; + + # Unfortunately, older versions of FreeBSD 2 do not have this feature. + freebsd2*) + archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct_GCJ=yes + hardcode_minus_L_GCJ=yes + hardcode_shlibpath_var_GCJ=no + ;; + + # FreeBSD 3 and greater uses gcc -shared to do shared libraries. + freebsd* | kfreebsd*-gnu) + archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' + hardcode_libdir_flag_spec_GCJ='-R$libdir' + hardcode_direct_GCJ=yes + hardcode_shlibpath_var_GCJ=no + ;; + + hpux9*) + if test "$GCC" = yes; then + archive_cmds_GCJ='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + else + archive_cmds_GCJ='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + fi + hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir' + hardcode_libdir_separator_GCJ=: + hardcode_direct_GCJ=yes + + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + hardcode_minus_L_GCJ=yes + export_dynamic_flag_spec_GCJ='${wl}-E' + ;; + + hpux10* | hpux11*) + if test "$GCC" = yes -a "$with_gnu_ld" = no; then + case "$host_cpu" in + hppa*64*|ia64*) + archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + ;; + *) + archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' + ;; + esac + else + case "$host_cpu" in + hppa*64*|ia64*) + archive_cmds_GCJ='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags' + ;; + *) + archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' + ;; + esac + fi + if test "$with_gnu_ld" = no; then + case "$host_cpu" in + hppa*64*) + hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir' + hardcode_libdir_flag_spec_ld_GCJ='+b $libdir' + hardcode_libdir_separator_GCJ=: + hardcode_direct_GCJ=no + hardcode_shlibpath_var_GCJ=no + ;; + ia64*) + hardcode_libdir_flag_spec_GCJ='-L$libdir' + hardcode_direct_GCJ=no + hardcode_shlibpath_var_GCJ=no + + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + hardcode_minus_L_GCJ=yes + ;; + *) + hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir' + hardcode_libdir_separator_GCJ=: + hardcode_direct_GCJ=yes + export_dynamic_flag_spec_GCJ='${wl}-E' + + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + hardcode_minus_L_GCJ=yes + ;; + esac + fi + ;; + + irix5* | irix6* | nonstopux*) + if test "$GCC" = yes; then + archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + else + archive_cmds_GCJ='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' + hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir' + fi + hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator_GCJ=: + link_all_deplibs_GCJ=yes + ;; + + netbsd*) + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out + else + archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF + fi + hardcode_libdir_flag_spec_GCJ='-R$libdir' + hardcode_direct_GCJ=yes + hardcode_shlibpath_var_GCJ=no + ;; + + newsos6) + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct_GCJ=yes + hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator_GCJ=: + hardcode_shlibpath_var_GCJ=no + ;; + + openbsd*) + hardcode_direct_GCJ=yes + hardcode_shlibpath_var_GCJ=no + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' + hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir' + export_dynamic_flag_spec_GCJ='${wl}-E' + else + case $host_os in + openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) + archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' + hardcode_libdir_flag_spec_GCJ='-R$libdir' + ;; + *) + archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' + hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir' + ;; + esac + fi + ;; + + os2*) + hardcode_libdir_flag_spec_GCJ='-L$libdir' + hardcode_minus_L_GCJ=yes + allow_undefined_flag_GCJ=unsupported + archive_cmds_GCJ='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' + old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' + ;; + + osf3*) + if test "$GCC" = yes; then + allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*' + archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + else + allow_undefined_flag_GCJ=' -expect_unresolved \*' + archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' + fi + hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator_GCJ=: + ;; + + osf4* | osf5*) # as osf3* with the addition of -msym flag + if test "$GCC" = yes; then + allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*' + archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir' + else + allow_undefined_flag_GCJ=' -expect_unresolved \*' + archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' + archive_expsym_cmds_GCJ='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~ + $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp' + + # Both c and cxx compiler support -rpath directly + hardcode_libdir_flag_spec_GCJ='-rpath $libdir' + fi + hardcode_libdir_separator_GCJ=: + ;; + + sco3.2v5*) + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_shlibpath_var_GCJ=no + export_dynamic_flag_spec_GCJ='${wl}-Bexport' + runpath_var=LD_RUN_PATH + hardcode_runpath_var=yes + ;; + + solaris*) + no_undefined_flag_GCJ=' -z text' + if test "$GCC" = yes; then + archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp' + else + archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' + archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' + fi + hardcode_libdir_flag_spec_GCJ='-R$libdir' + hardcode_shlibpath_var_GCJ=no + case $host_os in + solaris2.[0-5] | solaris2.[0-5].*) ;; + *) # Supported since Solaris 2.6 (maybe 2.5.1?) + whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;; + esac + link_all_deplibs_GCJ=yes + ;; + + sunos4*) + if test "x$host_vendor" = xsequent; then + # Use $CC to link under sequent, because it throws in some extra .o + # files that make .init and .fini sections work. + archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' + else + archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' + fi + hardcode_libdir_flag_spec_GCJ='-L$libdir' + hardcode_direct_GCJ=yes + hardcode_minus_L_GCJ=yes + hardcode_shlibpath_var_GCJ=no + ;; + + sysv4) + case $host_vendor in + sni) + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct_GCJ=yes # is this really true??? + ;; + siemens) + ## LD is ld it makes a PLAMLIB + ## CC just makes a GrossModule. + archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags' + reload_cmds_GCJ='$CC -r -o $output$reload_objs' + hardcode_direct_GCJ=no + ;; + motorola) + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie + ;; + esac + runpath_var='LD_RUN_PATH' + hardcode_shlibpath_var_GCJ=no + ;; + + sysv4.3*) + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_shlibpath_var_GCJ=no + export_dynamic_flag_spec_GCJ='-Bexport' + ;; + + sysv4*MP*) + if test -d /usr/nec; then + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_shlibpath_var_GCJ=no + runpath_var=LD_RUN_PATH + hardcode_runpath_var=yes + ld_shlibs_GCJ=yes + fi + ;; + + sysv4.2uw2*) + archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct_GCJ=yes + hardcode_minus_L_GCJ=no + hardcode_shlibpath_var_GCJ=no + hardcode_runpath_var=yes + runpath_var=LD_RUN_PATH + ;; + + sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*) + no_undefined_flag_GCJ='${wl}-z ${wl}text' + if test "$GCC" = yes; then + archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + else + archive_cmds_GCJ='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + fi + runpath_var='LD_RUN_PATH' + hardcode_shlibpath_var_GCJ=no + ;; + + sysv5*) + no_undefined_flag_GCJ=' -z text' + # $CC -shared without GNU ld will not create a library from C++ + # object files and a static libstdc++, better avoid it by now + archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' + archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' + hardcode_libdir_flag_spec_GCJ= + hardcode_shlibpath_var_GCJ=no + runpath_var='LD_RUN_PATH' + ;; + + uts4*) + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_libdir_flag_spec_GCJ='-L$libdir' + hardcode_shlibpath_var_GCJ=no + ;; + + *) + ld_shlibs_GCJ=no + ;; + esac + fi + +{ $as_echo "$as_me:${as_lineno-16583}: result: $ld_shlibs_GCJ" >&5 +$as_echo "$ld_shlibs_GCJ" >&6; } +test "$ld_shlibs_GCJ" = no && can_build_shared=no + +variables_saved_for_relink="PATH $shlibpath_var $runpath_var" +if test "$GCC" = yes; then + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" +fi + +# +# Do we need to explicitly link libc? +# +case "x$archive_cmds_need_lc_GCJ" in +x|xyes) + # Assume -lc should be added + archive_cmds_need_lc_GCJ=yes + + if test "$enable_shared" = yes && test "$GCC" = yes; then + case $archive_cmds_GCJ in + *'~'*) + # FIXME: we may have to deal with multi-command sequences. + ;; + '$CC '*) + # Test whether the compiler implicitly links with -lc since on some + # systems, -lgcc has to come before -lc. If gcc already passes -lc + # to ld, don't add -lc before -lgcc. + { $as_echo "$as_me:${as_lineno-16609}: checking whether -lc should be explicitly linked in" >&5 +$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } + $rm conftest* + printf "$lt_simple_compile_test_code" > conftest.$ac_ext + + if { { eval echo "\"\$as_me\":${as_lineno-16614}: \"$ac_compile\""; } >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-16617}: \$? = $ac_status" >&5 + test $ac_status = 0; } 2>conftest.err; then + soname=conftest + lib=conftest + libobjs=conftest.$ac_objext + deplibs= + wl=$lt_prog_compiler_wl_GCJ + compiler_flags=-v + linker_flags=-v + verstring= + output_objdir=. + libname=conftest + lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ + allow_undefined_flag_GCJ= + if { { eval echo "\"\$as_me\":${as_lineno-16631}: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\""; } >&5 + (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-16634}: \$? = $ac_status" >&5 + test $ac_status = 0; } + then + archive_cmds_need_lc_GCJ=no + else + archive_cmds_need_lc_GCJ=yes + fi + allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag + else + cat conftest.err 1>&5 + fi + $rm conftest* + { $as_echo "$as_me:${as_lineno-16646}: result: $archive_cmds_need_lc_GCJ" >&5 +$as_echo "$archive_cmds_need_lc_GCJ" >&6; } + ;; + esac + fi + ;; +esac + +{ $as_echo "$as_me:${as_lineno-16654}: checking dynamic linker characteristics" >&5 +$as_echo_n "checking dynamic linker characteristics... " >&6; } +library_names_spec= +libname_spec='lib$name' +soname_spec= +shrext_cmds=".so" +postinstall_cmds= +postuninstall_cmds= +finish_cmds= +finish_eval= +shlibpath_var= +shlibpath_overrides_runpath=unknown +version_type=none +dynamic_linker="$host_os ld.so" +sys_lib_dlsearch_path_spec="/lib /usr/lib" +if test "$GCC" = yes; then + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` + if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then + # if the path contains ";" then we assume it to be the separator + # otherwise default to the standard path separator (i.e. ":") - it is + # assumed that no part of a normal pathname contains ";" but that should + # okay in the real world where ";" in dirpaths is itself problematic. + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` + else + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` + fi +else + sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" +fi +need_lib_prefix=unknown +hardcode_into_libs=no + +# when you set need_version to no, make sure it does not cause -set_version +# flags to be left without arguments +need_version=unknown + +case $host_os in +aix3*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' + shlibpath_var=LIBPATH + + # AIX 3 has no versioning support, so we append a major version to the name. + soname_spec='${libname}${release}${shared_ext}$major' + ;; + +aix4* | aix5*) + version_type=linux + need_lib_prefix=no + need_version=no + hardcode_into_libs=yes + if test "$host_cpu" = ia64; then + # AIX 5 supports IA64 + library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + else + # With GCC up to 2.95.x, collect2 would create an import file + # for dependence libraries. The import file would start with + # the line `#! .'. This would cause the generated library to + # depend on `.', always an invalid library. This was fixed in + # development snapshots of GCC prior to 3.0. + case $host_os in + aix4 | aix4.[01] | aix4.[01].*) + if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' + echo ' yes ' + echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then + : + else + can_build_shared=no + fi + ;; + esac + # AIX (on Power*) has no versioning support, so currently we can not hardcode correct + # soname into executable. Probably we can add versioning support to + # collect2, so additional links can be useful in future. + if test "$aix_use_runtimelinking" = yes; then + # If using run time linking (on AIX 4.2 or later) use lib.so + # instead of lib.a to let people know that these are not + # typical AIX shared libraries. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + else + # We preserve .a as extension for shared libraries through AIX4.2 + # and later when we are not doing run time linking. + library_names_spec='${libname}${release}.a $libname.a' + soname_spec='${libname}${release}${shared_ext}$major' + fi + shlibpath_var=LIBPATH + fi + ;; + +amigaos*) + library_names_spec='$libname.ixlibrary $libname.a' + # Create ${libname}_ixlibrary.a entries in /sys/libs. + finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' + ;; + +beos*) + library_names_spec='${libname}${shared_ext}' + dynamic_linker="$host_os ld.so" + shlibpath_var=LIBRARY_PATH + ;; + +bsdi4*) + version_type=linux + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' + shlibpath_var=LD_LIBRARY_PATH + sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" + sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" + # the default ld.so.conf also contains /usr/contrib/lib and + # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow + # libtool to hard-code these into programs + ;; + +cygwin* | mingw* | pw32*) + version_type=windows + shrext_cmds=".dll" + need_version=no + need_lib_prefix=no + + case $GCC,$host_os in + yes,cygwin* | yes,mingw* | yes,pw32*) + library_names_spec='$libname.dll.a' + # DLL is installed to $(libdir)/../bin by postinstall_cmds + postinstall_cmds='base_file=`basename \${file}`~ + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~ + dldir=$destdir/`dirname \$dlpath`~ + test -d \$dldir || mkdir -p \$dldir~ + $install_prog $dir/$dlname \$dldir/$dlname' + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ + dlpath=$dir/\$dldll~ + $rm \$dlpath' + shlibpath_overrides_runpath=yes + + case $host_os in + cygwin*) + # Cygwin DLLs use 'cyg' prefix rather than 'lib' + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' + sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" + ;; + mingw*) + # MinGW DLLs use traditional 'lib' prefix + soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` + if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then + # It is most probably a Windows format PATH printed by + # mingw gcc, but we are running on Cygwin. Gcc prints its search + # path with ; separators, and with drive letters. We can handle the + # drive letters (cygwin fileutils understands them), so leave them, + # especially as we might pass files found there to a mingw objdump, + # which wouldn't understand a cygwinified path. Ahh. + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` + else + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` + fi + ;; + pw32*) + # pw32 DLLs use 'pw' prefix rather than 'lib' + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}' + ;; + esac + ;; + + *) + library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' + ;; + esac + dynamic_linker='Win32 ld.exe' + # FIXME: first we should search . and the directory the executable is in + shlibpath_var=PATH + ;; + +darwin* | rhapsody*) + dynamic_linker="$host_os dyld" + version_type=darwin + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' + soname_spec='${libname}${release}${major}$shared_ext' + shlibpath_overrides_runpath=yes + shlibpath_var=DYLD_LIBRARY_PATH + shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)' + # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. + if test "$GCC" = yes; then + sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"` + else + sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib' + fi + sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' + ;; + +dgux*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + ;; + +freebsd1*) + dynamic_linker=no + ;; + +kfreebsd*-gnu) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + dynamic_linker='GNU ld.so' + ;; + +freebsd*) + objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` + version_type=freebsd-$objformat + case $version_type in + freebsd-elf*) + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' + need_version=no + need_lib_prefix=no + ;; + freebsd-*) + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' + need_version=yes + ;; + esac + shlibpath_var=LD_LIBRARY_PATH + case $host_os in + freebsd2*) + shlibpath_overrides_runpath=yes + ;; + freebsd3.01* | freebsdelf3.01*) + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + ;; + *) # from 3.2 on + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + ;; + esac + ;; + +gnu*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + hardcode_into_libs=yes + ;; + +hpux9* | hpux10* | hpux11*) + # Give a soname corresponding to the major version so that dld.sl refuses to + # link against other versions. + version_type=sunos + need_lib_prefix=no + need_version=no + case "$host_cpu" in + ia64*) + shrext_cmds='.so' + hardcode_into_libs=yes + dynamic_linker="$host_os dld.so" + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + if test "X$HPUX_IA64_MODE" = X32; then + sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" + else + sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" + fi + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec + ;; + hppa*64*) + shrext_cmds='.sl' + hardcode_into_libs=yes + dynamic_linker="$host_os dld.sl" + shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec + ;; + *) + shrext_cmds='.sl' + dynamic_linker="$host_os dld.sl" + shlibpath_var=SHLIB_PATH + shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + ;; + esac + # HP-UX runs *really* slowly unless shared libraries are mode 555. + postinstall_cmds='chmod 555 $lib' + ;; + +irix5* | irix6* | nonstopux*) + case $host_os in + nonstopux*) version_type=nonstopux ;; + *) + if test "$lt_cv_prog_gnu_ld" = yes; then + version_type=linux + else + version_type=irix + fi ;; + esac + need_lib_prefix=no + need_version=no + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' + case $host_os in + irix5* | nonstopux*) + libsuff= shlibsuff= + ;; + *) + case $LD in # libtool.m4 will add one of these switches to LD + *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") + libsuff= shlibsuff= libmagic=32-bit;; + *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") + libsuff=32 shlibsuff=N32 libmagic=N32;; + *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") + libsuff=64 shlibsuff=64 libmagic=64-bit;; + *) libsuff= shlibsuff= libmagic=never-match;; + esac + ;; + esac + shlibpath_var=LD_LIBRARY${shlibsuff}_PATH + shlibpath_overrides_runpath=no + sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" + sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" + hardcode_into_libs=yes + ;; + +# No shared lib support for Linux oldld, aout, or coff. +linux*oldld* | linux*aout* | linux*coff*) + dynamic_linker=no + ;; + +# This must be Linux ELF. +linux*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + # This implies no fast_install, which is unacceptable. + # Some rework will be needed to allow for fast_install + # before this can be enabled. + hardcode_into_libs=yes + + # find out which ABI we are using + libsuff= + case "$host_cpu" in + x86_64*|s390x*|powerpc64*) + echo '#line 17019 "configure"' > conftest.$ac_ext + if { { eval echo "\"\$as_me\":${as_lineno-17020}: \"$ac_compile\""; } >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-17023}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + case `/usr/bin/file conftest.$ac_objext` in + *64-bit*) + libsuff=64 + sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}" + ;; + esac + fi + rm -rf conftest* + ;; + esac + + # Append ld.so.conf contents to the search path + if test -f /etc/ld.so.conf; then + lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '` + sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra" + fi + + # We used to test for /lib/ld.so.1 and disable shared libraries on + # powerpc, because MkLinux only supported shared libraries with the + # GNU dynamic linker. Since this was broken with cross compilers, + # most powerpc-linux boxes support dynamic linking these days and + # people can always --disable-shared, the test was removed, and we + # assume the GNU/Linux dynamic linker is in use. + dynamic_linker='GNU/Linux ld.so' + ;; + +knetbsd*-gnu) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + dynamic_linker='GNU ld.so' + ;; + +netbsd*) + version_type=sunos + need_lib_prefix=no + need_version=no + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' + dynamic_linker='NetBSD (a.out) ld.so' + else + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + dynamic_linker='NetBSD ld.elf_so' + fi + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + ;; + +newsos6) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + ;; + +nto-qnx*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + ;; + +openbsd*) + version_type=sunos + need_lib_prefix=no + need_version=yes + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' + shlibpath_var=LD_LIBRARY_PATH + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + case $host_os in + openbsd2.[89] | openbsd2.[89].*) + shlibpath_overrides_runpath=no + ;; + *) + shlibpath_overrides_runpath=yes + ;; + esac + else + shlibpath_overrides_runpath=yes + fi + ;; + +os2*) + libname_spec='$name' + shrext_cmds=".dll" + need_lib_prefix=no + library_names_spec='$libname${shared_ext} $libname.a' + dynamic_linker='OS/2 ld.exe' + shlibpath_var=LIBPATH + ;; + +osf3* | osf4* | osf5*) + version_type=osf + need_lib_prefix=no + need_version=no + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" + sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" + ;; + +sco3.2v5*) + version_type=osf + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + ;; + +solaris*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + # ldd complains unless libraries are executable + postinstall_cmds='chmod +x $lib' + ;; + +sunos4*) + version_type=sunos + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + if test "$with_gnu_ld" = yes; then + need_lib_prefix=no + fi + need_version=yes + ;; + +sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + case $host_vendor in + sni) + shlibpath_overrides_runpath=no + need_lib_prefix=no + export_dynamic_flag_spec='${wl}-Blargedynsym' + runpath_var=LD_RUN_PATH + ;; + siemens) + need_lib_prefix=no + ;; + motorola) + need_lib_prefix=no + need_version=no + shlibpath_overrides_runpath=no + sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' + ;; + esac + ;; + +sysv4*MP*) + if test -d /usr/nec ;then + version_type=linux + library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' + soname_spec='$libname${shared_ext}.$major' + shlibpath_var=LD_LIBRARY_PATH + fi + ;; + +uts4*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + ;; + +*) + dynamic_linker=no + ;; +esac +{ $as_echo "$as_me:${as_lineno-17215}: result: $dynamic_linker" >&5 +$as_echo "$dynamic_linker" >&6; } +test "$dynamic_linker" = no && can_build_shared=no + +{ $as_echo "$as_me:${as_lineno-17219}: checking how to hardcode library paths into programs" >&5 +$as_echo_n "checking how to hardcode library paths into programs... " >&6; } +hardcode_action_GCJ= +if test -n "$hardcode_libdir_flag_spec_GCJ" || \ + test -n "$runpath_var GCJ" || \ + test "X$hardcode_automatic_GCJ"="Xyes" ; then + + # We can hardcode non-existant directories. + if test "$hardcode_direct_GCJ" != no && + # If the only mechanism to avoid hardcoding is shlibpath_var, we + # have to relink, otherwise we might link with an installed library + # when we should be linking with a yet-to-be-installed one + ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no && + test "$hardcode_minus_L_GCJ" != no; then + # Linking always hardcodes the temporary library directory. + hardcode_action_GCJ=relink + else + # We can link without hardcoding, and we can hardcode nonexisting dirs. + hardcode_action_GCJ=immediate + fi +else + # We cannot hardcode anything, or else we can only hardcode existing + # directories. + hardcode_action_GCJ=unsupported +fi +{ $as_echo "$as_me:${as_lineno-17244}: result: $hardcode_action_GCJ" >&5 +$as_echo "$hardcode_action_GCJ" >&6; } + +if test "$hardcode_action_GCJ" = relink; then + # Fast installation is not supported + enable_fast_install=no +elif test "$shlibpath_overrides_runpath" = yes || + test "$enable_shared" = no; then + # Fast installation is not necessary + enable_fast_install=needless +fi + +striplib= +old_striplib= +{ $as_echo "$as_me:${as_lineno-17258}: checking whether stripping libraries is possible" >&5 +$as_echo_n "checking whether stripping libraries is possible... " >&6; } +if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then + test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" + test -z "$striplib" && striplib="$STRIP --strip-unneeded" + { $as_echo "$as_me:${as_lineno-17263}: result: yes" >&5 +$as_echo "yes" >&6; } +else +# FIXME - insert some real tests, host_os isn't really good enough + case $host_os in + darwin*) + if test -n "$STRIP" ; then + striplib="$STRIP -x" + { $as_echo "$as_me:${as_lineno-17271}: result: yes" >&5 +$as_echo "yes" >&6; } + else + { $as_echo "$as_me:${as_lineno-17274}: result: no" >&5 +$as_echo "no" >&6; } +fi + ;; + *) + { $as_echo "$as_me:${as_lineno-17279}: result: no" >&5 +$as_echo "no" >&6; } + ;; + esac +fi + +if test "x$enable_dlopen" != xyes; then + enable_dlopen=unknown + enable_dlopen_self=unknown + enable_dlopen_self_static=unknown +else + lt_cv_dlopen=no + lt_cv_dlopen_libs= + + case $host_os in + beos*) + lt_cv_dlopen="load_add_on" + lt_cv_dlopen_libs= + lt_cv_dlopen_self=yes + ;; + + mingw* | pw32*) + lt_cv_dlopen="LoadLibrary" + lt_cv_dlopen_libs= + ;; + + cygwin*) + lt_cv_dlopen="dlopen" + lt_cv_dlopen_libs= + ;; + + darwin*) + # if libdl is installed we need to link against it + { $as_echo "$as_me:${as_lineno-17312}: checking for dlopen in -ldl" >&5 +$as_echo_n "checking for dlopen in -ldl... " >&6; } +if test "${ac_cv_lib_dl_dlopen+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-ldl $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char dlopen (); +int +main () +{ +return dlopen (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "17337"; then : + ac_cv_lib_dl_dlopen=yes +else + ac_cv_lib_dl_dlopen=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-17346}: result: $ac_cv_lib_dl_dlopen" >&5 +$as_echo "$ac_cv_lib_dl_dlopen" >&6; } +if test "x$ac_cv_lib_dl_dlopen" = x""yes; then : + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" +else + + lt_cv_dlopen="dyld" + lt_cv_dlopen_libs= + lt_cv_dlopen_self=yes + +fi + + ;; + + *) + ac_fn_c_check_func "17361" "shl_load" "ac_cv_func_shl_load" +if test "x$ac_cv_func_shl_load" = x""yes; then : + lt_cv_dlopen="shl_load" +else + { $as_echo "$as_me:${as_lineno-17365}: checking for shl_load in -ldld" >&5 +$as_echo_n "checking for shl_load in -ldld... " >&6; } +if test "${ac_cv_lib_dld_shl_load+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-ldld $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char shl_load (); +int +main () +{ +return shl_load (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "17390"; then : + ac_cv_lib_dld_shl_load=yes +else + ac_cv_lib_dld_shl_load=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-17399}: result: $ac_cv_lib_dld_shl_load" >&5 +$as_echo "$ac_cv_lib_dld_shl_load" >&6; } +if test "x$ac_cv_lib_dld_shl_load" = x""yes; then : + lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld" +else + ac_fn_c_check_func "17404" "dlopen" "ac_cv_func_dlopen" +if test "x$ac_cv_func_dlopen" = x""yes; then : + lt_cv_dlopen="dlopen" +else + { $as_echo "$as_me:${as_lineno-17408}: checking for dlopen in -ldl" >&5 +$as_echo_n "checking for dlopen in -ldl... " >&6; } +if test "${ac_cv_lib_dl_dlopen+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-ldl $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char dlopen (); +int +main () +{ +return dlopen (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "17433"; then : + ac_cv_lib_dl_dlopen=yes +else + ac_cv_lib_dl_dlopen=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-17442}: result: $ac_cv_lib_dl_dlopen" >&5 +$as_echo "$ac_cv_lib_dl_dlopen" >&6; } +if test "x$ac_cv_lib_dl_dlopen" = x""yes; then : + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" +else + { $as_echo "$as_me:${as_lineno-17447}: checking for dlopen in -lsvld" >&5 +$as_echo_n "checking for dlopen in -lsvld... " >&6; } +if test "${ac_cv_lib_svld_dlopen+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lsvld $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char dlopen (); +int +main () +{ +return dlopen (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "17472"; then : + ac_cv_lib_svld_dlopen=yes +else + ac_cv_lib_svld_dlopen=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-17481}: result: $ac_cv_lib_svld_dlopen" >&5 +$as_echo "$ac_cv_lib_svld_dlopen" >&6; } +if test "x$ac_cv_lib_svld_dlopen" = x""yes; then : + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" +else + { $as_echo "$as_me:${as_lineno-17486}: checking for dld_link in -ldld" >&5 +$as_echo_n "checking for dld_link in -ldld... " >&6; } +if test "${ac_cv_lib_dld_dld_link+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-ldld $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char dld_link (); +int +main () +{ +return dld_link (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "17511"; then : + ac_cv_lib_dld_dld_link=yes +else + ac_cv_lib_dld_dld_link=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-17520}: result: $ac_cv_lib_dld_dld_link" >&5 +$as_echo "$ac_cv_lib_dld_dld_link" >&6; } +if test "x$ac_cv_lib_dld_dld_link" = x""yes; then : + lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld" +fi + + +fi + + +fi + + +fi + + +fi + + +fi + + ;; + esac + + if test "x$lt_cv_dlopen" != xno; then + enable_dlopen=yes + else + enable_dlopen=no + fi + + case $lt_cv_dlopen in + dlopen) + save_CPPFLAGS="$CPPFLAGS" + test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" + + save_LDFLAGS="$LDFLAGS" + eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" + + save_LIBS="$LIBS" + LIBS="$lt_cv_dlopen_libs $LIBS" + + { $as_echo "$as_me:${as_lineno-17561}: checking whether a program can dlopen itself" >&5 +$as_echo_n "checking whether a program can dlopen itself... " >&6; } +if test "${lt_cv_dlopen_self+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if test "$cross_compiling" = yes; then : + lt_cv_dlopen_self=cross +else + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 + lt_status=$lt_dlunknown + cat > conftest.$ac_ext < +#endif + +#include + +#ifdef RTLD_GLOBAL +# define LT_DLGLOBAL RTLD_GLOBAL +#else +# ifdef DL_GLOBAL +# define LT_DLGLOBAL DL_GLOBAL +# else +# define LT_DLGLOBAL 0 +# endif +#endif + +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we + find out it does not work in some platform. */ +#ifndef LT_DLLAZY_OR_NOW +# ifdef RTLD_LAZY +# define LT_DLLAZY_OR_NOW RTLD_LAZY +# else +# ifdef DL_LAZY +# define LT_DLLAZY_OR_NOW DL_LAZY +# else +# ifdef RTLD_NOW +# define LT_DLLAZY_OR_NOW RTLD_NOW +# else +# ifdef DL_NOW +# define LT_DLLAZY_OR_NOW DL_NOW +# else +# define LT_DLLAZY_OR_NOW 0 +# endif +# endif +# endif +# endif +#endif + +#ifdef __cplusplus +extern "C" void exit (int); +#endif + +void fnord() { int i=42;} +int main () +{ + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); + int status = $lt_dlunknown; + + if (self) + { + if (dlsym (self,"fnord")) status = $lt_dlno_uscore; + else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; + /* dlclose (self); */ + } + + exit (status); +} +EOF + if { { eval echo "\"\$as_me\":${as_lineno-17633}: \"$ac_link\""; } >&5 + (eval $ac_link) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-17636}: \$? = $ac_status" >&5 + test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then + (./conftest; exit; ) 2>/dev/null + lt_status=$? + case x$lt_status in + x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; + x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; + x$lt_unknown|x*) lt_cv_dlopen_self=no ;; + esac + else : + # compilation failed + lt_cv_dlopen_self=no + fi +fi +rm -fr conftest* + + +fi +{ $as_echo "$as_me:${as_lineno-17654}: result: $lt_cv_dlopen_self" >&5 +$as_echo "$lt_cv_dlopen_self" >&6; } + + if test "x$lt_cv_dlopen_self" = xyes; then + LDFLAGS="$LDFLAGS $link_static_flag" + { $as_echo "$as_me:${as_lineno-17659}: checking whether a statically linked program can dlopen itself" >&5 +$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } +if test "${lt_cv_dlopen_self_static+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if test "$cross_compiling" = yes; then : + lt_cv_dlopen_self_static=cross +else + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 + lt_status=$lt_dlunknown + cat > conftest.$ac_ext < +#endif + +#include + +#ifdef RTLD_GLOBAL +# define LT_DLGLOBAL RTLD_GLOBAL +#else +# ifdef DL_GLOBAL +# define LT_DLGLOBAL DL_GLOBAL +# else +# define LT_DLGLOBAL 0 +# endif +#endif + +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we + find out it does not work in some platform. */ +#ifndef LT_DLLAZY_OR_NOW +# ifdef RTLD_LAZY +# define LT_DLLAZY_OR_NOW RTLD_LAZY +# else +# ifdef DL_LAZY +# define LT_DLLAZY_OR_NOW DL_LAZY +# else +# ifdef RTLD_NOW +# define LT_DLLAZY_OR_NOW RTLD_NOW +# else +# ifdef DL_NOW +# define LT_DLLAZY_OR_NOW DL_NOW +# else +# define LT_DLLAZY_OR_NOW 0 +# endif +# endif +# endif +# endif +#endif + +#ifdef __cplusplus +extern "C" void exit (int); +#endif + +void fnord() { int i=42;} +int main () +{ + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); + int status = $lt_dlunknown; + + if (self) + { + if (dlsym (self,"fnord")) status = $lt_dlno_uscore; + else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; + /* dlclose (self); */ + } + + exit (status); +} +EOF + if { { eval echo "\"\$as_me\":${as_lineno-17731}: \"$ac_link\""; } >&5 + (eval $ac_link) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-17734}: \$? = $ac_status" >&5 + test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then + (./conftest; exit; ) 2>/dev/null + lt_status=$? + case x$lt_status in + x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; + x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; + x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;; + esac + else : + # compilation failed + lt_cv_dlopen_self_static=no + fi +fi +rm -fr conftest* + + +fi +{ $as_echo "$as_me:${as_lineno-17752}: result: $lt_cv_dlopen_self_static" >&5 +$as_echo "$lt_cv_dlopen_self_static" >&6; } + fi + + CPPFLAGS="$save_CPPFLAGS" + LDFLAGS="$save_LDFLAGS" + LIBS="$save_LIBS" + ;; + esac + + case $lt_cv_dlopen_self in + yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; + *) enable_dlopen_self=unknown ;; + esac + + case $lt_cv_dlopen_self_static in + yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; + *) enable_dlopen_self_static=unknown ;; + esac +fi + + +# The else clause should only fire when bootstrapping the +# libtool distribution, otherwise you forgot to ship ltmain.sh +# with your package, and you will get complaints that there are +# no rules to generate ltmain.sh. +if test -f "$ltmain"; then + # See if we are running on zsh, and set the options which allow our commands through + # without removal of \ escapes. + if test -n "${ZSH_VERSION+set}" ; then + setopt NO_GLOB_SUBST + fi + # Now quote all the things that may contain metacharacters while being + # careful not to overquote the AC_SUBSTed values. We take copies of the + # variables and quote the copies for generation of the libtool script. + for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \ + SED SHELL STRIP \ + libname_spec library_names_spec soname_spec extract_expsyms_cmds \ + old_striplib striplib file_magic_cmd finish_cmds finish_eval \ + deplibs_check_method reload_flag reload_cmds need_locks \ + lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ + lt_cv_sys_global_symbol_to_c_name_address \ + sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ + old_postinstall_cmds old_postuninstall_cmds \ + compiler_GCJ \ + CC_GCJ \ + LD_GCJ \ + lt_prog_compiler_wl_GCJ \ + lt_prog_compiler_pic_GCJ \ + lt_prog_compiler_static_GCJ \ + lt_prog_compiler_no_builtin_flag_GCJ \ + export_dynamic_flag_spec_GCJ \ + thread_safe_flag_spec_GCJ \ + whole_archive_flag_spec_GCJ \ + enable_shared_with_static_runtimes_GCJ \ + old_archive_cmds_GCJ \ + old_archive_from_new_cmds_GCJ \ + predep_objects_GCJ \ + postdep_objects_GCJ \ + predeps_GCJ \ + postdeps_GCJ \ + compiler_lib_search_path_GCJ \ + archive_cmds_GCJ \ + archive_expsym_cmds_GCJ \ + postinstall_cmds_GCJ \ + postuninstall_cmds_GCJ \ + old_archive_from_expsyms_cmds_GCJ \ + allow_undefined_flag_GCJ \ + no_undefined_flag_GCJ \ + export_symbols_cmds_GCJ \ + hardcode_libdir_flag_spec_GCJ \ + hardcode_libdir_flag_spec_ld_GCJ \ + hardcode_libdir_separator_GCJ \ + hardcode_automatic_GCJ \ + module_cmds_GCJ \ + module_expsym_cmds_GCJ \ + lt_cv_prog_compiler_c_o_GCJ \ + exclude_expsyms_GCJ \ + include_expsyms_GCJ; do + + case $var in + old_archive_cmds_GCJ | \ + old_archive_from_new_cmds_GCJ | \ + archive_cmds_GCJ | \ + archive_expsym_cmds_GCJ | \ + module_cmds_GCJ | \ + module_expsym_cmds_GCJ | \ + old_archive_from_expsyms_cmds_GCJ | \ + export_symbols_cmds_GCJ | \ + extract_expsyms_cmds | reload_cmds | finish_cmds | \ + postinstall_cmds | postuninstall_cmds | \ + old_postinstall_cmds | old_postuninstall_cmds | \ + sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) + # Double-quote double-evaled strings. + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" + ;; + *) + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\"" + ;; + esac + done + + case $lt_echo in + *'\$0 --fallback-echo"') + lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'` + ;; + esac + +cfgfile="$ofile" + + cat <<__EOF__ >> "$cfgfile" +# ### BEGIN LIBTOOL TAG CONFIG: $tagname + +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: + +# Shell to use when invoking shell scripts. +SHELL=$lt_SHELL + +# Whether or not to build shared libraries. +build_libtool_libs=$enable_shared + +# Whether or not to build static libraries. +build_old_libs=$enable_static + +# Whether or not to add -lc for building shared libraries. +build_libtool_need_lc=$archive_cmds_need_lc_GCJ + +# Whether or not to disallow shared libs when runtime libs are static +allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ + +# Whether or not to optimize for fast installation. +fast_install=$enable_fast_install + +# The host system. +host_alias=$host_alias +host=$host + +# An echo program that does not interpret backslashes. +echo=$lt_echo + +# The archiver. +AR=$lt_AR +AR_FLAGS=$lt_AR_FLAGS + +# A C compiler. +LTCC=$lt_LTCC + +# A language-specific compiler. +CC=$lt_compiler_GCJ + +# Is the compiler the GNU C compiler? +with_gcc=$GCC_GCJ + +# An ERE matcher. +EGREP=$lt_EGREP + +# The linker used to build libraries. +LD=$lt_LD_GCJ + +# Whether we need hard or soft links. +LN_S=$lt_LN_S + +# A BSD-compatible nm program. +NM=$lt_NM + +# A symbol stripping program +STRIP=$lt_STRIP + +# Used to examine libraries when file_magic_cmd begins "file" +MAGIC_CMD=$MAGIC_CMD + +# Used on cygwin: DLL creation program. +DLLTOOL="$DLLTOOL" + +# Used on cygwin: object dumper. +OBJDUMP="$OBJDUMP" + +# Used on cygwin: assembler. +AS="$AS" + +# The name of the directory that contains temporary libtool files. +objdir=$objdir + +# How to create reloadable object files. +reload_flag=$lt_reload_flag +reload_cmds=$lt_reload_cmds + +# How to pass a linker flag through the compiler. +wl=$lt_lt_prog_compiler_wl_GCJ + +# Object file suffix (normally "o"). +objext="$ac_objext" + +# Old archive suffix (normally "a"). +libext="$libext" + +# Shared library suffix (normally ".so"). +shrext_cmds='$shrext_cmds' + +# Executable file suffix (normally ""). +exeext="$exeext" + +# Additional compiler flags for building library objects. +pic_flag=$lt_lt_prog_compiler_pic_GCJ +pic_mode=$pic_mode + +# What is the maximum length of a command? +max_cmd_len=$lt_cv_sys_max_cmd_len + +# Does compiler simultaneously support -c and -o options? +compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ + +# Must we lock files when doing compilation ? +need_locks=$lt_need_locks + +# Do we need the lib prefix for modules? +need_lib_prefix=$need_lib_prefix + +# Do we need a version for libraries? +need_version=$need_version + +# Whether dlopen is supported. +dlopen_support=$enable_dlopen + +# Whether dlopen of programs is supported. +dlopen_self=$enable_dlopen_self + +# Whether dlopen of statically linked programs is supported. +dlopen_self_static=$enable_dlopen_self_static + +# Compiler flag to prevent dynamic linking. +link_static_flag=$lt_lt_prog_compiler_static_GCJ + +# Compiler flag to turn off builtin functions. +no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ + +# Compiler flag to allow reflexive dlopens. +export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ + +# Compiler flag to generate shared objects directly from archives. +whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ + +# Compiler flag to generate thread-safe objects. +thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ + +# Library versioning type. +version_type=$version_type + +# Format of library name prefix. +libname_spec=$lt_libname_spec + +# List of archive names. First name is the real one, the rest are links. +# The last name is the one that the linker finds with -lNAME. +library_names_spec=$lt_library_names_spec + +# The coded name of the library, if different from the real name. +soname_spec=$lt_soname_spec + +# Commands used to build and install an old-style archive. +RANLIB=$lt_RANLIB +old_archive_cmds=$lt_old_archive_cmds_GCJ +old_postinstall_cmds=$lt_old_postinstall_cmds +old_postuninstall_cmds=$lt_old_postuninstall_cmds + +# Create an old-style archive from a shared archive. +old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ + +# Create a temporary old-style archive to link instead of a shared archive. +old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ + +# Commands used to build and install a shared archive. +archive_cmds=$lt_archive_cmds_GCJ +archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ +postinstall_cmds=$lt_postinstall_cmds +postuninstall_cmds=$lt_postuninstall_cmds + +# Commands used to build a loadable module (assumed same as above if empty) +module_cmds=$lt_module_cmds_GCJ +module_expsym_cmds=$lt_module_expsym_cmds_GCJ + +# Commands to strip libraries. +old_striplib=$lt_old_striplib +striplib=$lt_striplib + +# Dependencies to place before the objects being linked to create a +# shared library. +predep_objects=$lt_predep_objects_GCJ + +# Dependencies to place after the objects being linked to create a +# shared library. +postdep_objects=$lt_postdep_objects_GCJ + +# Dependencies to place before the objects being linked to create a +# shared library. +predeps=$lt_predeps_GCJ + +# Dependencies to place after the objects being linked to create a +# shared library. +postdeps=$lt_postdeps_GCJ + +# The library search path used internally by the compiler when linking +# a shared library. +compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ + +# Method to check whether dependent libraries are shared objects. +deplibs_check_method=$lt_deplibs_check_method + +# Command to use when deplibs_check_method == file_magic. +file_magic_cmd=$lt_file_magic_cmd + +# Flag that allows shared libraries with undefined symbols to be built. +allow_undefined_flag=$lt_allow_undefined_flag_GCJ + +# Flag that forces no undefined symbols. +no_undefined_flag=$lt_no_undefined_flag_GCJ + +# Commands used to finish a libtool library installation in a directory. +finish_cmds=$lt_finish_cmds + +# Same as above, but a single script fragment to be evaled but not shown. +finish_eval=$lt_finish_eval + +# Take the output of nm and produce a listing of raw symbols and C names. +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe + +# Transform the output of nm in a proper C declaration +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl + +# Transform the output of nm in a C name address pair +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address + +# This is the shared library runtime path variable. +runpath_var=$runpath_var + +# This is the shared library path variable. +shlibpath_var=$shlibpath_var + +# Is shlibpath searched before the hard-coded library search path? +shlibpath_overrides_runpath=$shlibpath_overrides_runpath + +# How to hardcode a shared library path into an executable. +hardcode_action=$hardcode_action_GCJ + +# Whether we should hardcode library paths into libraries. +hardcode_into_libs=$hardcode_into_libs + +# Flag to hardcode \$libdir into a binary during linking. +# This must work even if \$libdir does not exist. +hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ + +# If ld is used when linking, flag to hardcode \$libdir into +# a binary during linking. This must work even if \$libdir does +# not exist. +hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ + +# Whether we need a single -rpath flag with a separated argument. +hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ + +# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the +# resulting binary. +hardcode_direct=$hardcode_direct_GCJ + +# Set to yes if using the -LDIR flag during linking hardcodes DIR into the +# resulting binary. +hardcode_minus_L=$hardcode_minus_L_GCJ + +# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into +# the resulting binary. +hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ + +# Set to yes if building a shared library automatically hardcodes DIR into the library +# and all subsequent libraries and executables linked against it. +hardcode_automatic=$hardcode_automatic_GCJ + +# Variables whose values should be saved in libtool wrapper scripts and +# restored at relink time. +variables_saved_for_relink="$variables_saved_for_relink" + +# Whether libtool must link a program against all its dependency libraries. +link_all_deplibs=$link_all_deplibs_GCJ + +# Compile-time system search path for libraries +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec + +# Run-time system search path for libraries +sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec + +# Fix the shell variable \$srcfile for the compiler. +fix_srcfile_path="$fix_srcfile_path_GCJ" + +# Set to yes if exported symbols are required. +always_export_symbols=$always_export_symbols_GCJ + +# The commands to list exported symbols. +export_symbols_cmds=$lt_export_symbols_cmds_GCJ + +# The commands to extract the exported symbol list from a shared archive. +extract_expsyms_cmds=$lt_extract_expsyms_cmds + +# Symbols that should not be listed in the preloaded symbols. +exclude_expsyms=$lt_exclude_expsyms_GCJ + +# Symbols that must always be exported. +include_expsyms=$lt_include_expsyms_GCJ + +# ### END LIBTOOL TAG CONFIG: $tagname + +__EOF__ + + +else + # If there is no Makefile yet, we rely on a make rule to execute + # `config.status --recheck' to rerun these tests and create the + # libtool script then. + ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'` + if test -f "$ltmain_in"; then + test -f Makefile && make "$ltmain" + fi +fi + + +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + +CC="$lt_save_CC" + + else + tagname="" + fi + ;; + + RC) + + +# Source file extension for RC test sources. +ac_ext=rc + +# Object file extension for compiled RC test sources. +objext=o +objext_RC=$objext + +# Code to be used in simple compile tests +lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n' + +# Code to be used in simple link tests +lt_simple_link_test_code="$lt_simple_compile_test_code" + +# ltmain only uses $CC for tagged configurations so make sure $CC is set. + +# If no C compiler was specified, use CC. +LTCC=${LTCC-"$CC"} + +# Allow CC to be a program name with arguments. +compiler=$CC + + +# Allow CC to be a program name with arguments. +lt_save_CC="$CC" +CC=${RC-"windres"} +compiler=$CC +compiler_RC=$CC +lt_cv_prog_compiler_c_o_RC=yes + +# The else clause should only fire when bootstrapping the +# libtool distribution, otherwise you forgot to ship ltmain.sh +# with your package, and you will get complaints that there are +# no rules to generate ltmain.sh. +if test -f "$ltmain"; then + # See if we are running on zsh, and set the options which allow our commands through + # without removal of \ escapes. + if test -n "${ZSH_VERSION+set}" ; then + setopt NO_GLOB_SUBST + fi + # Now quote all the things that may contain metacharacters while being + # careful not to overquote the AC_SUBSTed values. We take copies of the + # variables and quote the copies for generation of the libtool script. + for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \ + SED SHELL STRIP \ + libname_spec library_names_spec soname_spec extract_expsyms_cmds \ + old_striplib striplib file_magic_cmd finish_cmds finish_eval \ + deplibs_check_method reload_flag reload_cmds need_locks \ + lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ + lt_cv_sys_global_symbol_to_c_name_address \ + sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ + old_postinstall_cmds old_postuninstall_cmds \ + compiler_RC \ + CC_RC \ + LD_RC \ + lt_prog_compiler_wl_RC \ + lt_prog_compiler_pic_RC \ + lt_prog_compiler_static_RC \ + lt_prog_compiler_no_builtin_flag_RC \ + export_dynamic_flag_spec_RC \ + thread_safe_flag_spec_RC \ + whole_archive_flag_spec_RC \ + enable_shared_with_static_runtimes_RC \ + old_archive_cmds_RC \ + old_archive_from_new_cmds_RC \ + predep_objects_RC \ + postdep_objects_RC \ + predeps_RC \ + postdeps_RC \ + compiler_lib_search_path_RC \ + archive_cmds_RC \ + archive_expsym_cmds_RC \ + postinstall_cmds_RC \ + postuninstall_cmds_RC \ + old_archive_from_expsyms_cmds_RC \ + allow_undefined_flag_RC \ + no_undefined_flag_RC \ + export_symbols_cmds_RC \ + hardcode_libdir_flag_spec_RC \ + hardcode_libdir_flag_spec_ld_RC \ + hardcode_libdir_separator_RC \ + hardcode_automatic_RC \ + module_cmds_RC \ + module_expsym_cmds_RC \ + lt_cv_prog_compiler_c_o_RC \ + exclude_expsyms_RC \ + include_expsyms_RC; do + + case $var in + old_archive_cmds_RC | \ + old_archive_from_new_cmds_RC | \ + archive_cmds_RC | \ + archive_expsym_cmds_RC | \ + module_cmds_RC | \ + module_expsym_cmds_RC | \ + old_archive_from_expsyms_cmds_RC | \ + export_symbols_cmds_RC | \ + extract_expsyms_cmds | reload_cmds | finish_cmds | \ + postinstall_cmds | postuninstall_cmds | \ + old_postinstall_cmds | old_postuninstall_cmds | \ + sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) + # Double-quote double-evaled strings. + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" + ;; + *) + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\"" + ;; + esac + done + + case $lt_echo in + *'\$0 --fallback-echo"') + lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'` + ;; + esac + +cfgfile="$ofile" + + cat <<__EOF__ >> "$cfgfile" +# ### BEGIN LIBTOOL TAG CONFIG: $tagname + +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: + +# Shell to use when invoking shell scripts. +SHELL=$lt_SHELL + +# Whether or not to build shared libraries. +build_libtool_libs=$enable_shared + +# Whether or not to build static libraries. +build_old_libs=$enable_static + +# Whether or not to add -lc for building shared libraries. +build_libtool_need_lc=$archive_cmds_need_lc_RC + +# Whether or not to disallow shared libs when runtime libs are static +allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC + +# Whether or not to optimize for fast installation. +fast_install=$enable_fast_install + +# The host system. +host_alias=$host_alias +host=$host + +# An echo program that does not interpret backslashes. +echo=$lt_echo + +# The archiver. +AR=$lt_AR +AR_FLAGS=$lt_AR_FLAGS + +# A C compiler. +LTCC=$lt_LTCC + +# A language-specific compiler. +CC=$lt_compiler_RC + +# Is the compiler the GNU C compiler? +with_gcc=$GCC_RC + +# An ERE matcher. +EGREP=$lt_EGREP + +# The linker used to build libraries. +LD=$lt_LD_RC + +# Whether we need hard or soft links. +LN_S=$lt_LN_S + +# A BSD-compatible nm program. +NM=$lt_NM + +# A symbol stripping program +STRIP=$lt_STRIP + +# Used to examine libraries when file_magic_cmd begins "file" +MAGIC_CMD=$MAGIC_CMD + +# Used on cygwin: DLL creation program. +DLLTOOL="$DLLTOOL" + +# Used on cygwin: object dumper. +OBJDUMP="$OBJDUMP" + +# Used on cygwin: assembler. +AS="$AS" + +# The name of the directory that contains temporary libtool files. +objdir=$objdir + +# How to create reloadable object files. +reload_flag=$lt_reload_flag +reload_cmds=$lt_reload_cmds + +# How to pass a linker flag through the compiler. +wl=$lt_lt_prog_compiler_wl_RC + +# Object file suffix (normally "o"). +objext="$ac_objext" + +# Old archive suffix (normally "a"). +libext="$libext" + +# Shared library suffix (normally ".so"). +shrext_cmds='$shrext_cmds' + +# Executable file suffix (normally ""). +exeext="$exeext" + +# Additional compiler flags for building library objects. +pic_flag=$lt_lt_prog_compiler_pic_RC +pic_mode=$pic_mode + +# What is the maximum length of a command? +max_cmd_len=$lt_cv_sys_max_cmd_len + +# Does compiler simultaneously support -c and -o options? +compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC + +# Must we lock files when doing compilation ? +need_locks=$lt_need_locks + +# Do we need the lib prefix for modules? +need_lib_prefix=$need_lib_prefix + +# Do we need a version for libraries? +need_version=$need_version + +# Whether dlopen is supported. +dlopen_support=$enable_dlopen + +# Whether dlopen of programs is supported. +dlopen_self=$enable_dlopen_self + +# Whether dlopen of statically linked programs is supported. +dlopen_self_static=$enable_dlopen_self_static + +# Compiler flag to prevent dynamic linking. +link_static_flag=$lt_lt_prog_compiler_static_RC + +# Compiler flag to turn off builtin functions. +no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC + +# Compiler flag to allow reflexive dlopens. +export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC + +# Compiler flag to generate shared objects directly from archives. +whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC + +# Compiler flag to generate thread-safe objects. +thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC + +# Library versioning type. +version_type=$version_type + +# Format of library name prefix. +libname_spec=$lt_libname_spec + +# List of archive names. First name is the real one, the rest are links. +# The last name is the one that the linker finds with -lNAME. +library_names_spec=$lt_library_names_spec + +# The coded name of the library, if different from the real name. +soname_spec=$lt_soname_spec + +# Commands used to build and install an old-style archive. +RANLIB=$lt_RANLIB +old_archive_cmds=$lt_old_archive_cmds_RC +old_postinstall_cmds=$lt_old_postinstall_cmds +old_postuninstall_cmds=$lt_old_postuninstall_cmds + +# Create an old-style archive from a shared archive. +old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC + +# Create a temporary old-style archive to link instead of a shared archive. +old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC + +# Commands used to build and install a shared archive. +archive_cmds=$lt_archive_cmds_RC +archive_expsym_cmds=$lt_archive_expsym_cmds_RC +postinstall_cmds=$lt_postinstall_cmds +postuninstall_cmds=$lt_postuninstall_cmds + +# Commands used to build a loadable module (assumed same as above if empty) +module_cmds=$lt_module_cmds_RC +module_expsym_cmds=$lt_module_expsym_cmds_RC + +# Commands to strip libraries. +old_striplib=$lt_old_striplib +striplib=$lt_striplib + +# Dependencies to place before the objects being linked to create a +# shared library. +predep_objects=$lt_predep_objects_RC + +# Dependencies to place after the objects being linked to create a +# shared library. +postdep_objects=$lt_postdep_objects_RC + +# Dependencies to place before the objects being linked to create a +# shared library. +predeps=$lt_predeps_RC + +# Dependencies to place after the objects being linked to create a +# shared library. +postdeps=$lt_postdeps_RC + +# The library search path used internally by the compiler when linking +# a shared library. +compiler_lib_search_path=$lt_compiler_lib_search_path_RC + +# Method to check whether dependent libraries are shared objects. +deplibs_check_method=$lt_deplibs_check_method + +# Command to use when deplibs_check_method == file_magic. +file_magic_cmd=$lt_file_magic_cmd + +# Flag that allows shared libraries with undefined symbols to be built. +allow_undefined_flag=$lt_allow_undefined_flag_RC + +# Flag that forces no undefined symbols. +no_undefined_flag=$lt_no_undefined_flag_RC + +# Commands used to finish a libtool library installation in a directory. +finish_cmds=$lt_finish_cmds + +# Same as above, but a single script fragment to be evaled but not shown. +finish_eval=$lt_finish_eval + +# Take the output of nm and produce a listing of raw symbols and C names. +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe + +# Transform the output of nm in a proper C declaration +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl + +# Transform the output of nm in a C name address pair +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address + +# This is the shared library runtime path variable. +runpath_var=$runpath_var + +# This is the shared library path variable. +shlibpath_var=$shlibpath_var + +# Is shlibpath searched before the hard-coded library search path? +shlibpath_overrides_runpath=$shlibpath_overrides_runpath + +# How to hardcode a shared library path into an executable. +hardcode_action=$hardcode_action_RC + +# Whether we should hardcode library paths into libraries. +hardcode_into_libs=$hardcode_into_libs + +# Flag to hardcode \$libdir into a binary during linking. +# This must work even if \$libdir does not exist. +hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC + +# If ld is used when linking, flag to hardcode \$libdir into +# a binary during linking. This must work even if \$libdir does +# not exist. +hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC + +# Whether we need a single -rpath flag with a separated argument. +hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC + +# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the +# resulting binary. +hardcode_direct=$hardcode_direct_RC + +# Set to yes if using the -LDIR flag during linking hardcodes DIR into the +# resulting binary. +hardcode_minus_L=$hardcode_minus_L_RC + +# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into +# the resulting binary. +hardcode_shlibpath_var=$hardcode_shlibpath_var_RC + +# Set to yes if building a shared library automatically hardcodes DIR into the library +# and all subsequent libraries and executables linked against it. +hardcode_automatic=$hardcode_automatic_RC + +# Variables whose values should be saved in libtool wrapper scripts and +# restored at relink time. +variables_saved_for_relink="$variables_saved_for_relink" + +# Whether libtool must link a program against all its dependency libraries. +link_all_deplibs=$link_all_deplibs_RC + +# Compile-time system search path for libraries +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec + +# Run-time system search path for libraries +sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec + +# Fix the shell variable \$srcfile for the compiler. +fix_srcfile_path="$fix_srcfile_path_RC" + +# Set to yes if exported symbols are required. +always_export_symbols=$always_export_symbols_RC + +# The commands to list exported symbols. +export_symbols_cmds=$lt_export_symbols_cmds_RC + +# The commands to extract the exported symbol list from a shared archive. +extract_expsyms_cmds=$lt_extract_expsyms_cmds + +# Symbols that should not be listed in the preloaded symbols. +exclude_expsyms=$lt_exclude_expsyms_RC + +# Symbols that must always be exported. +include_expsyms=$lt_include_expsyms_RC + +# ### END LIBTOOL TAG CONFIG: $tagname + +__EOF__ + + +else + # If there is no Makefile yet, we rely on a make rule to execute + # `config.status --recheck' to rerun these tests and create the + # libtool script then. + ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'` + if test -f "$ltmain_in"; then + test -f Makefile && make "$ltmain" + fi +fi + + +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + +CC="$lt_save_CC" + + ;; + + *) + as_fn_error "Unsupported tag name: $tagname" "18628" 5 + ;; + esac + + # Append the new tag name to the list of available tags. + if test -n "$tagname" ; then + available_tags="$available_tags $tagname" + fi + fi + done + IFS="$lt_save_ifs" + + # Now substitute the updated list of available tags. + if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then + mv "${ofile}T" "$ofile" + chmod +x "$ofile" + else + rm -f "${ofile}T" + as_fn_error "unable to update list of available tagged configurations." "18646" 5 + fi +fi + + + +# This can be used to rebuild libtool when needed +LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh" + +# Always use our own libtool. +LIBTOOL='$(SHELL) $(top_builddir)/libtool' + +# Prevent multiple expansion + + + + + + + + + + + + + + + + + + + + + + +LINUX_API=0 +DARWIN_API=0 +BSD_API=0 + +{ $as_echo "$as_me:${as_lineno-18685}: checking for what USB OS support" >&5 +$as_echo_n "checking for what USB OS support... " >&6; } +case $host in + *-linux*) + $as_echo "#define LINUX_API 1" >>confdefs.h + + $as_echo "#define BSD_API 0" >>confdefs.h + + $as_echo "#define DARWIN_API 0" >>confdefs.h + + LINUX_API=1 + os_support=linux + { $as_echo "$as_me:${as_lineno-18697}: result: Linux" >&5 +$as_echo "Linux" >&6; } + OSLIBS="" + ;; + *-freebsd*|*-kfreebsd*-gnu|*-openbsd*|*-netbsd*) + $as_echo "#define BSD_API 1" >>confdefs.h + + $as_echo "#define LINUX_API 0" >>confdefs.h + + $as_echo "#define DARWIN_API 0" >>confdefs.h + + BSD_API=1 + os_support=bsd + { $as_echo "$as_me:${as_lineno-18710}: result: FreeBSD" >&5 +$as_echo "FreeBSD" >&6; } + OSLIBS="" + ;; + *-darwin*) + $as_echo "#define DARWIN_API 1" >>confdefs.h + + $as_echo "#define LINUX_API 0" >>confdefs.h + + $as_echo "#define BSD_API 0" >>confdefs.h + + DARWIN_API=1 + os_support=darwin + { $as_echo "$as_me:${as_lineno-18723}: result: Darwin and/or MacOS 10" >&5 +$as_echo "Darwin and/or MacOS 10" >&6; } + OSLIBS="-Wl,-framework -Wl,IOKit -Wl,-framework -Wl,CoreFoundation -Wl,-prebind" + ;; + *) + { $as_echo "$as_me:${as_lineno-18728}: result: unknown operating system" >&5 +$as_echo "unknown operating system" >&6; } + as_fn_error "libusb does not support compiling for $host" "18730" 5 + ;; +esac + + + + + + + +if test "$os_support" = "linux"; then + LINUX_API_TRUE= + LINUX_API_FALSE='#' +else + LINUX_API_TRUE='#' + LINUX_API_FALSE= +fi + + + +if test "$os_support" = "bsd"; then + BSD_API_TRUE= + BSD_API_FALSE='#' +else + BSD_API_TRUE='#' + BSD_API_FALSE= +fi + + + +if test "$os_support" = "darwin"; then + DARWIN_API_TRUE= + DARWIN_API_FALSE='#' +else + DARWIN_API_TRUE='#' + DARWIN_API_FALSE= +fi + + + + +if test `expr $LIBUSB_MINOR_VERSION \% 2` = 1 ; then + debug_default=yes +else + debug_default=minimum +fi + +# Check whether --enable-debug was given. +if test "${enable_debug+set}" = set; then : + enableval=$enable_debug; +else + enable_debug=$debug_default +fi + + +if test "x$enable_debug" = "xyes"; then + test "$cflags_set" = set || CFLAGS="$CFLAGS -g" +fi + +# Checks for programs. +ac_ext=cpp +ac_cpp='$CXXCPP $CPPFLAGS' +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu +if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. +set dummy ${ac_tool_prefix}gcc; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-18804}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if test "${ac_cv_prog_CC+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$CC"; then + ac_cv_prog_CC="$CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_CC="${ac_tool_prefix}gcc" + $as_echo "$as_me:${as_lineno-18820}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +CC=$ac_cv_prog_CC +if test -n "$CC"; then + { $as_echo "$as_me:${as_lineno-18831}: result: $CC" >&5 +$as_echo "$CC" >&6; } +else + { $as_echo "$as_me:${as_lineno-18834}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_CC"; then + ac_ct_CC=$CC + # Extract the first word of "gcc", so it can be a program name with args. +set dummy gcc; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-18844}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_CC"; then + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_ac_ct_CC="gcc" + $as_echo "$as_me:${as_lineno-18860}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_CC=$ac_cv_prog_ac_ct_CC +if test -n "$ac_ct_CC"; then + { $as_echo "$as_me:${as_lineno-18871}: result: $ac_ct_CC" >&5 +$as_echo "$ac_ct_CC" >&6; } +else + { $as_echo "$as_me:${as_lineno-18874}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_ct_CC" = x; then + CC="" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-18883}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + CC=$ac_ct_CC + fi +else + CC="$ac_cv_prog_CC" +fi + +if test -z "$CC"; then + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. +set dummy ${ac_tool_prefix}cc; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-18897}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if test "${ac_cv_prog_CC+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$CC"; then + ac_cv_prog_CC="$CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_CC="${ac_tool_prefix}cc" + $as_echo "$as_me:${as_lineno-18913}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +CC=$ac_cv_prog_CC +if test -n "$CC"; then + { $as_echo "$as_me:${as_lineno-18924}: result: $CC" >&5 +$as_echo "$CC" >&6; } +else + { $as_echo "$as_me:${as_lineno-18927}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + fi +fi +if test -z "$CC"; then + # Extract the first word of "cc", so it can be a program name with args. +set dummy cc; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-18937}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if test "${ac_cv_prog_CC+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$CC"; then + ac_cv_prog_CC="$CC" # Let the user override the test. +else + ac_prog_rejected=no +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then + ac_prog_rejected=yes + continue + fi + ac_cv_prog_CC="cc" + $as_echo "$as_me:${as_lineno-18958}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +if test $ac_prog_rejected = yes; then + # We found a bogon in the path, so make sure we never use it. + set dummy $ac_cv_prog_CC + shift + if test $# != 0; then + # We chose a different compiler from the bogus one. + # However, it has the same basename, so the bogon will be chosen + # first if we set CC to just the basename; use the full file name. + shift + ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" + fi +fi +fi +fi +CC=$ac_cv_prog_CC +if test -n "$CC"; then + { $as_echo "$as_me:${as_lineno-18981}: result: $CC" >&5 +$as_echo "$CC" >&6; } +else + { $as_echo "$as_me:${as_lineno-18984}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$CC"; then + if test -n "$ac_tool_prefix"; then + for ac_prog in cl.exe + do + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. +set dummy $ac_tool_prefix$ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-18996}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if test "${ac_cv_prog_CC+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$CC"; then + ac_cv_prog_CC="$CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_CC="$ac_tool_prefix$ac_prog" + $as_echo "$as_me:${as_lineno-19012}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +CC=$ac_cv_prog_CC +if test -n "$CC"; then + { $as_echo "$as_me:${as_lineno-19023}: result: $CC" >&5 +$as_echo "$CC" >&6; } +else + { $as_echo "$as_me:${as_lineno-19026}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$CC" && break + done +fi +if test -z "$CC"; then + ac_ct_CC=$CC + for ac_prog in cl.exe +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-19040}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_CC"; then + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_ac_ct_CC="$ac_prog" + $as_echo "$as_me:${as_lineno-19056}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_CC=$ac_cv_prog_ac_ct_CC +if test -n "$ac_ct_CC"; then + { $as_echo "$as_me:${as_lineno-19067}: result: $ac_ct_CC" >&5 +$as_echo "$ac_ct_CC" >&6; } +else + { $as_echo "$as_me:${as_lineno-19070}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$ac_ct_CC" && break +done + + if test "x$ac_ct_CC" = x; then + CC="" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-19083}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + CC=$ac_ct_CC + fi +fi + +fi + + +test -z "$CC" && { { $as_echo "$as_me:${as_lineno-19094}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error "no acceptable C compiler found in \$PATH +See \`config.log' for more details." "19097" 5; } + +# Provide some information about the compiler. +$as_echo "$as_me:${as_lineno-19100}: checking for C compiler version" >&5 +set X $ac_compile +ac_compiler=$2 +for ac_option in --version -v -V -qversion; do + { { ac_try="$ac_compiler $ac_option >&5" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-19109}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_compiler $ac_option >&5") 2>conftest.err + ac_status=$? + if test -s conftest.err; then + sed '10a\ +... rest of stderr output deleted ... + 10q' conftest.err >conftest.er1 + cat conftest.er1 >&5 + fi + rm -f conftest.er1 conftest.err + $as_echo "$as_me:${as_lineno-19120}: \$? = $ac_status" >&5 + test $ac_status = 0; } +done + +{ $as_echo "$as_me:${as_lineno-19124}: checking whether we are using the GNU C compiler" >&5 +$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } +if test "${ac_cv_c_compiler_gnu+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ +#ifndef __GNUC__ + choke me +#endif + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "19143"; then : + ac_compiler_gnu=yes +else + ac_compiler_gnu=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +ac_cv_c_compiler_gnu=$ac_compiler_gnu + +fi +{ $as_echo "$as_me:${as_lineno-19152}: result: $ac_cv_c_compiler_gnu" >&5 +$as_echo "$ac_cv_c_compiler_gnu" >&6; } +if test $ac_compiler_gnu = yes; then + GCC=yes +else + GCC= +fi +ac_test_CFLAGS=${CFLAGS+set} +ac_save_CFLAGS=$CFLAGS +{ $as_echo "$as_me:${as_lineno-19161}: checking whether $CC accepts -g" >&5 +$as_echo_n "checking whether $CC accepts -g... " >&6; } +if test "${ac_cv_prog_cc_g+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + ac_save_c_werror_flag=$ac_c_werror_flag + ac_c_werror_flag=yes + ac_cv_prog_cc_g=no + CFLAGS="-g" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "19181"; then : + ac_cv_prog_cc_g=yes +else + CFLAGS="" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "19196"; then : + +else + ac_c_werror_flag=$ac_save_c_werror_flag + CFLAGS="-g" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "19212"; then : + ac_cv_prog_cc_g=yes +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + ac_c_werror_flag=$ac_save_c_werror_flag +fi +{ $as_echo "$as_me:${as_lineno-19222}: result: $ac_cv_prog_cc_g" >&5 +$as_echo "$ac_cv_prog_cc_g" >&6; } +if test "$ac_test_CFLAGS" = set; then + CFLAGS=$ac_save_CFLAGS +elif test $ac_cv_prog_cc_g = yes; then + if test "$GCC" = yes; then + CFLAGS="-g -O2" + else + CFLAGS="-g" + fi +else + if test "$GCC" = yes; then + CFLAGS="-O2" + else + CFLAGS= + fi +fi +{ $as_echo "$as_me:${as_lineno-19239}: checking for $CC option to accept ISO C89" >&5 +$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } +if test "${ac_cv_prog_cc_c89+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + ac_cv_prog_cc_c89=no +ac_save_CC=$CC +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +#include +#include +#include +/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ +struct buf { int x; }; +FILE * (*rcsopen) (struct buf *, struct stat *, int); +static char *e (p, i) + char **p; + int i; +{ + return p[i]; +} +static char *f (char * (*g) (char **, int), char **p, ...) +{ + char *s; + va_list v; + va_start (v,p); + s = g (p, va_arg (v,int)); + va_end (v); + return s; +} + +/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has + function prototypes and stuff, but not '\xHH' hex character constants. + These don't provoke an error unfortunately, instead are silently treated + as 'x'. The following induces an error, until -std is added to get + proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an + array size at least. It's necessary to write '\x00'==0 to get something + that's true only with -std. */ +int osf4_cc_array ['\x00' == 0 ? 1 : -1]; + +/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters + inside strings and character constants. */ +#define FOO(x) 'x' +int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; + +int test (int i, double x); +struct s1 {int (*f) (int a);}; +struct s2 {int (*f) (double a);}; +int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); +int argc; +char **argv; +int +main () +{ +return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; + ; + return 0; +} +_ACEOF +for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ + -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" +do + CC="$ac_save_CC $ac_arg" + if ac_fn_c_try_compile "19303"; then : + ac_cv_prog_cc_c89=$ac_arg +fi +rm -f core conftest.err conftest.$ac_objext + test "x$ac_cv_prog_cc_c89" != "xno" && break +done +rm -f conftest.$ac_ext +CC=$ac_save_CC + +fi +# AC_CACHE_VAL +case "x$ac_cv_prog_cc_c89" in + x) + { $as_echo "$as_me:${as_lineno-19316}: result: none needed" >&5 +$as_echo "none needed" >&6; } ;; + xno) + { $as_echo "$as_me:${as_lineno-19319}: result: unsupported" >&5 +$as_echo "unsupported" >&6; } ;; + *) + CC="$CC $ac_cv_prog_cc_c89" + { $as_echo "$as_me:${as_lineno-19323}: result: $ac_cv_prog_cc_c89" >&5 +$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; +esac +if test "x$ac_cv_prog_cc_c89" != xno; then : + +fi + +ac_ext=cpp +ac_cpp='$CXXCPP $CPPFLAGS' +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + +depcc="$CC" am_compiler_list= + +{ $as_echo "$as_me:${as_lineno-19338}: checking dependency style of $depcc" >&5 +$as_echo_n "checking dependency style of $depcc... " >&6; } +if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then + # We make a subdir and do the tests there. Otherwise we can end up + # making bogus files that we don't know about and never remove. For + # instance it was reported that on HP-UX the gcc test will end up + # making a dummy file named `D' -- because `-MD' means `put the output + # in D'. + mkdir conftest.dir + # Copy depcomp to subdir because otherwise we won't find it if we're + # using a relative directory. + cp "$am_depcomp" conftest.dir + cd conftest.dir + # We will build objects and dependencies in a subdirectory because + # it helps to detect inapplicable dependency modes. For instance + # both Tru64's cc and ICC support -MD to output dependencies as a + # side effect of compilation, but ICC will put the dependencies in + # the current directory while Tru64 will put them in the object + # directory. + mkdir sub + + am_cv_CC_dependencies_compiler_type=none + if test "$am_compiler_list" = ""; then + am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` + fi + for depmode in $am_compiler_list; do + # Setup a source with many dependencies, because some compilers + # like to wrap large dependency lists on column 80 (with \), and + # we should not choose a depcomp mode which is confused by this. + # + # We need to recreate these files for each test, as the compiler may + # overwrite some of them when testing with obscure command lines. + # This happens at least with the AIX C compiler. + : > sub/conftest.c + for i in 1 2 3 4 5 6; do + echo '#include "conftst'$i'.h"' >> sub/conftest.c + # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with + # Solaris 8's {/usr,}/bin/sh. + touch sub/conftst$i.h + done + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf + + case $depmode in + nosideeffect) + # after this tag, mechanisms are not by side-effect, so they'll + # only be used when explicitly requested + if test "x$enable_dependency_tracking" = xyes; then + continue + else + break + fi + ;; + none) break ;; + esac + # We check with `-c' and `-o' for the sake of the "dashmstdout" + # mode. It turns out that the SunPro C++ compiler does not properly + # handle `-M -o', and we need to detect this. + if depmode=$depmode \ + source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ + $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ + >/dev/null 2>conftest.err && + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && + grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then + # icc doesn't choke on unknown options, it will just issue warnings + # (even with -Werror). So we grep stderr for any message + # that says an option was ignored. + if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else + am_cv_CC_dependencies_compiler_type=$depmode + break + fi + fi + done + + cd .. + rm -rf conftest.dir +else + am_cv_CC_dependencies_compiler_type=none +fi + +fi +{ $as_echo "$as_me:${as_lineno-19423}: result: $am_cv_CC_dependencies_compiler_type" >&5 +$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } +CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type + + + +if + test "x$enable_dependency_tracking" != xno \ + && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then + am__fastdepCC_TRUE= + am__fastdepCC_FALSE='#' +else + am__fastdepCC_TRUE='#' + am__fastdepCC_FALSE= +fi + + +if test "x$CC" != xcc; then + { $as_echo "$as_me:${as_lineno-19441}: checking whether $CC and cc understand -c and -o together" >&5 +$as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; } +else + { $as_echo "$as_me:${as_lineno-19444}: checking whether cc understands -c and -o together" >&5 +$as_echo_n "checking whether cc understands -c and -o together... " >&6; } +fi +set dummy $CC; ac_cc=`$as_echo "$2" | + sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'` +if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +# Make sure it works both with $CC and with simple cc. +# We do the test twice because some compilers refuse to overwrite an +# existing .o file with -o, though they will create one. +ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5' +rm -f conftest2.* +if { { case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-19472}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_try") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-19476}: \$? = $ac_status" >&5 + test $ac_status = 0; } && + test -f conftest2.$ac_objext && { { case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-19482}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_try") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-19486}: \$? = $ac_status" >&5 + test $ac_status = 0; }; +then + eval ac_cv_prog_cc_${ac_cc}_c_o=yes + if test "x$CC" != xcc; then + # Test first that cc exists at all. + if { ac_try='cc -c conftest.$ac_ext >&5' + { { case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-19497}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_try") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-19501}: \$? = $ac_status" >&5 + test $ac_status = 0; }; }; then + ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5' + rm -f conftest2.* + if { { case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-19509}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_try") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-19513}: \$? = $ac_status" >&5 + test $ac_status = 0; } && + test -f conftest2.$ac_objext && { { case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-19519}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_try") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-19523}: \$? = $ac_status" >&5 + test $ac_status = 0; }; + then + # cc works too. + : + else + # cc exists but doesn't like -o. + eval ac_cv_prog_cc_${ac_cc}_c_o=no + fi + fi + fi +else + eval ac_cv_prog_cc_${ac_cc}_c_o=no +fi +rm -f core conftest* + +fi +if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then + { $as_echo "$as_me:${as_lineno-19541}: result: yes" >&5 +$as_echo "yes" >&6; } +else + { $as_echo "$as_me:${as_lineno-19544}: result: no" >&5 +$as_echo "no" >&6; } + +$as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h + +fi + +# FIXME: we rely on the cache variable name because +# there is no other way. +set dummy $CC +ac_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'` +if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" != yes"; then + # Losing compiler, so override with the script. + # FIXME: It is wrong to rewrite CC. + # But if we don't then we get into trouble of one sort or another. + # A longer-term fix would be to have automake use am__CC in this case, + # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" + CC="$am_aux_dir/compile $CC" +fi + + + +if test "x$GCC" = "xyes"; then + case " $CFLAGS " in + *[\ \ ]-Wall[\ \ ]*) ;; + *) CFLAGS="$CFLAGS -Wall" ;; + esac +fi + +# Checks for header files. + +{ $as_echo "$as_me:${as_lineno-19575}: checking for ANSI C header files" >&5 +$as_echo_n "checking for ANSI C header files... " >&6; } +if test "${ac_cv_header_stdc+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +#include +#include +#include + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_cxx_try_compile "19595"; then : + ac_cv_header_stdc=yes +else + ac_cv_header_stdc=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + +if test $ac_cv_header_stdc = yes; then + # SunOS 4.x string.h does not declare mem*, contrary to ANSI. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "memchr" >/dev/null 2>&1; then : + +else + ac_cv_header_stdc=no +fi +rm -f conftest* + +fi + +if test $ac_cv_header_stdc = yes; then + # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "free" >/dev/null 2>&1; then : + +else + ac_cv_header_stdc=no +fi +rm -f conftest* + +fi + +if test $ac_cv_header_stdc = yes; then + # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. + if test "$cross_compiling" = yes; then : + : +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +#include +#if ((' ' & 0x0FF) == 0x020) +# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') +# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) +#else +# define ISLOWER(c) \ + (('a' <= (c) && (c) <= 'i') \ + || ('j' <= (c) && (c) <= 'r') \ + || ('s' <= (c) && (c) <= 'z')) +# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) +#endif + +#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) +int +main () +{ + int i; + for (i = 0; i < 256; i++) + if (XOR (islower (i), ISLOWER (i)) + || toupper (i) != TOUPPER (i)) + return 2; + return 0; +} +_ACEOF +if ac_fn_cxx_try_run "19668"; then : + +else + ac_cv_header_stdc=no +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + +fi +fi +{ $as_echo "$as_me:${as_lineno-19679}: result: $ac_cv_header_stdc" >&5 +$as_echo "$ac_cv_header_stdc" >&6; } +if test $ac_cv_header_stdc = yes; then + +$as_echo "#define STDC_HEADERS 1" >>confdefs.h + +fi + + +# Checks for library functions. +for ac_func in vprintf +do : + ac_fn_cxx_check_func "19691" "vprintf" "ac_cv_func_vprintf" +if test "x$ac_cv_func_vprintf" = x""yes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_VPRINTF 1 +_ACEOF + +ac_fn_cxx_check_func "19697" "_doprnt" "ac_cv_func__doprnt" +if test "x$ac_cv_func__doprnt" = x""yes; then : + +$as_echo "#define HAVE_DOPRNT 1" >>confdefs.h + +fi + +fi +done + + + +{ $as_echo "$as_me:${as_lineno-19709}: checking for an ANSI C-conforming const" >&5 +$as_echo_n "checking for an ANSI C-conforming const... " >&6; } +if test "${ac_cv_c_const+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ +/* FIXME: Include the comments suggested by Paul. */ +#ifndef __cplusplus + /* Ultrix mips cc rejects this. */ + typedef int charset[2]; + const charset cs; + /* SunOS 4.1.1 cc rejects this. */ + char const *const *pcpcc; + char **ppc; + /* NEC SVR4.0.2 mips cc rejects this. */ + struct point {int x, y;}; + static struct point const zero = {0,0}; + /* AIX XL C 1.02.0.0 rejects this. + It does not let you subtract one const X* pointer from another in + an arm of an if-expression whose if-part is not a constant + expression */ + const char *g = "string"; + pcpcc = &g + (g ? g-g : 0); + /* HPUX 7.0 cc rejects these. */ + ++pcpcc; + ppc = (char**) pcpcc; + pcpcc = (char const *const *) ppc; + { /* SCO 3.2v4 cc rejects this. */ + char *t; + char const *s = 0 ? (char *) 0 : (char const *) 0; + + *t++ = 0; + if (s) return 0; + } + { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ + int x[] = {25, 17}; + const int *foo = &x[0]; + ++foo; + } + { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ + typedef const int *iptr; + iptr p = 0; + ++p; + } + { /* AIX XL C 1.02.0.0 rejects this saying + "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ + struct s { int j; const int *ap[3]; }; + struct s *b; b->j = 5; + } + { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ + const int foo = 10; + if (!foo) return 0; + } + return !cs[0] && !zero.x; +#endif + + ; + return 0; +} +_ACEOF +if ac_fn_cxx_try_compile "19774"; then : + ac_cv_c_const=yes +else + ac_cv_c_const=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +{ $as_echo "$as_me:${as_lineno-19781}: result: $ac_cv_c_const" >&5 +$as_echo "$ac_cv_c_const" >&6; } +if test $ac_cv_c_const = no; then + +$as_echo "#define const /**/" >>confdefs.h + +fi + + + { $as_echo "$as_me:${as_lineno-19790}: checking whether byte ordering is bigendian" >&5 +$as_echo_n "checking whether byte ordering is bigendian... " >&6; } +if test "${ac_cv_c_bigendian+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + ac_cv_c_bigendian=unknown + # See if we're dealing with a universal compiler. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#ifndef __APPLE_CC__ + not a universal capable compiler + #endif + typedef int dummy; + +_ACEOF +if ac_fn_cxx_try_compile "19805"; then : + + # Check for potential -arch flags. It is not universal unless + # there are at least two -arch flags with different values. + ac_arch= + ac_prev= + for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do + if test -n "$ac_prev"; then + case $ac_word in + i?86 | x86_64 | ppc | ppc64) + if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then + ac_arch=$ac_word + else + ac_cv_c_bigendian=universal + break + fi + ;; + esac + ac_prev= + elif test "x$ac_word" = "x-arch"; then + ac_prev=arch + fi + done +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + if test $ac_cv_c_bigendian = unknown; then + # See if sys/param.h defines the BYTE_ORDER macro. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + #include + +int +main () +{ +#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \ + && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \ + && LITTLE_ENDIAN) + bogus endian macros + #endif + + ; + return 0; +} +_ACEOF +if ac_fn_cxx_try_compile "19850"; then : + # It does; now see whether it defined to BIG_ENDIAN or not. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + #include + +int +main () +{ +#if BYTE_ORDER != BIG_ENDIAN + not big endian + #endif + + ; + return 0; +} +_ACEOF +if ac_fn_cxx_try_compile "19868"; then : + ac_cv_c_bigendian=yes +else + ac_cv_c_bigendian=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + fi + if test $ac_cv_c_bigendian = unknown; then + # See if defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + +int +main () +{ +#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN) + bogus endian macros + #endif + + ; + return 0; +} +_ACEOF +if ac_fn_cxx_try_compile "19894"; then : + # It does; now see whether it defined to _BIG_ENDIAN or not. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + +int +main () +{ +#ifndef _BIG_ENDIAN + not big endian + #endif + + ; + return 0; +} +_ACEOF +if ac_fn_cxx_try_compile "19911"; then : + ac_cv_c_bigendian=yes +else + ac_cv_c_bigendian=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + fi + if test $ac_cv_c_bigendian = unknown; then + # Compile a test program. + if test "$cross_compiling" = yes; then : + # Try to guess by grepping values from an object file. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +short int ascii_mm[] = + { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; + short int ascii_ii[] = + { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; + int use_ascii (int i) { + return ascii_mm[i] + ascii_ii[i]; + } + short int ebcdic_ii[] = + { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; + short int ebcdic_mm[] = + { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; + int use_ebcdic (int i) { + return ebcdic_mm[i] + ebcdic_ii[i]; + } + extern int foo; + +int +main () +{ +return use_ascii (foo) == use_ebcdic (foo); + ; + return 0; +} +_ACEOF +if ac_fn_cxx_try_compile "19950"; then : + if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then + ac_cv_c_bigendian=yes + fi + if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then + if test "$ac_cv_c_bigendian" = unknown; then + ac_cv_c_bigendian=no + else + # finding both strings is unlikely to happen, but who knows? + ac_cv_c_bigendian=unknown + fi + fi +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$ac_includes_default +int +main () +{ + + /* Are we little or big endian? From Harbison&Steele. */ + union + { + long int l; + char c[sizeof (long int)]; + } u; + u.l = 1; + return u.c[sizeof (long int) - 1] == 1; + + ; + return 0; +} +_ACEOF +if ac_fn_cxx_try_run "19985"; then : + ac_cv_c_bigendian=no +else + ac_cv_c_bigendian=yes +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + + fi +fi +{ $as_echo "$as_me:${as_lineno-19996}: result: $ac_cv_c_bigendian" >&5 +$as_echo "$ac_cv_c_bigendian" >&6; } + case $ac_cv_c_bigendian in #( + yes) + $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h +;; #( + no) + ;; #( + universal) + +$as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h + + ;; #( + *) + as_fn_error "unknown endianness + presetting ac_cv_c_bigendian=no (or yes) will help" "20011" 5 ;; + esac + + +if test "$ac_cv_c_bigendian" = "yes"; then + BIGENDIAN="1" +else + BIGENDIAN="0" +fi + + +for ac_header in limits.h +do : + ac_fn_cxx_check_header_mongrel "20024" "limits.h" "ac_cv_header_limits_h" "$ac_includes_default" +if test "x$ac_cv_header_limits_h" = x""yes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_LIMITS_H 1 +_ACEOF + cat >>confdefs.h <<_ACEOF +#define HAVE_LIMITS_H 1 +_ACEOF + +fi + +done + +for ac_header in unistd.h +do : + ac_fn_cxx_check_header_mongrel "20039" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default" +if test "x$ac_cv_header_unistd_h" = x""yes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_UNISTD_H 1 +_ACEOF + cat >>confdefs.h <<_ACEOF +#define HAVE_UNISTD_H 1 +_ACEOF + +fi + +done + +for ac_header in values.h +do : + ac_fn_cxx_check_header_mongrel "20054" "values.h" "ac_cv_header_values_h" "$ac_includes_default" +if test "x$ac_cv_header_values_h" = x""yes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_VALUES_H 1 +_ACEOF + cat >>confdefs.h <<_ACEOF +#define HAVE_VALUES_H 1 +_ACEOF + +fi + +done + + +# Check for some functions +for ac_func in memmove +do : + ac_fn_cxx_check_func "20071" "memmove" "ac_cv_func_memmove" +if test "x$ac_cv_func_memmove" = x""yes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_MEMMOVE 1 +_ACEOF + +fi +done + + +if test "$os_support" = "bsd"; then + { $as_echo "$as_me:${as_lineno-20082}: checking if dev/usb/usb.h uses new naming convention" >&5 +$as_echo_n "checking if dev/usb/usb.h uses new naming convention... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +int +main () +{ + + int a = ((struct usb_ctl_request *)0L)->ucr_addr + + ; + return 0; +} +_ACEOF +if ac_fn_cxx_try_compile "20097"; then : + { $as_echo "$as_me:${as_lineno-20098}: result: yes" >&5 +$as_echo "yes" >&6; } +else + { $as_echo "$as_me:${as_lineno-20101}: result: no" >&5 +$as_echo "no" >&6; } + cat >>confdefs.h <<_ACEOF +#define HAVE_OLD_DEV_USB_USB_H 1 +_ACEOF + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi + +#pkg-config: pkg-config is a tool to simplify checks for libraries and versions. +pkgconfig_msg="no (http://www.freedesktop.org/software/pkgconfig)" +try_pkgconfig=true +have_pkgconfig=false + +# Check whether --with-pkgconfig was given. +if test "${with_pkgconfig+set}" = set; then : + withval=$with_pkgconfig; + if test x$withval = xno; then + try_pkgconfig=false + pkgconfig_msg="no (not requested)" + fi +fi + +if $try_pkgconfig; then + # Extract the first word of "pkg-config", so it can be a program name with args. +set dummy pkg-config; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-20128}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + case $PKG_CONFIG in + [\\/]* | ?:[\\/]*) + ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-20146}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + ;; +esac +fi +PKG_CONFIG=$ac_cv_path_PKG_CONFIG +if test -n "$PKG_CONFIG"; then + { $as_echo "$as_me:${as_lineno-20158}: result: $PKG_CONFIG" >&5 +$as_echo "$PKG_CONFIG" >&6; } +else + { $as_echo "$as_me:${as_lineno-20161}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + if test -n "${PKG_CONFIG}"; then + have_pkgconfig=true + pkgconfig_msg="yes" + fi +fi +# guessing directory to install *.pc into +pkgconfigdir="${libdir}/pkgconfig" + + +# Check if the user wants to enable documentation +{ $as_echo "$as_me:${as_lineno-20176}: checking if we should build the documentation" >&5 +$as_echo_n "checking if we should build the documentation... " >&6; } +# Check whether --enable-build-docs was given. +if test "${enable_build_docs+set}" = set; then : + enableval=$enable_build_docs; test "$enableval" != no && build_docs=yes || build_docs=no +else + build_docs=auto +fi + +{ $as_echo "$as_me:${as_lineno-20185}: result: $build_docs" >&5 +$as_echo "$build_docs" >&6; } + +if test "$build_docs" != "no"; then + # Extract the first word of "jade", so it can be a program name with args. +set dummy jade; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-20191}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if test "${ac_cv_prog_JADE+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$JADE"; then + ac_cv_prog_JADE="$JADE" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_JADE="jade" + $as_echo "$as_me:${as_lineno-20207}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +JADE=$ac_cv_prog_JADE +if test -n "$JADE"; then + { $as_echo "$as_me:${as_lineno-20218}: result: $JADE" >&5 +$as_echo "$JADE" >&6; } +else + { $as_echo "$as_me:${as_lineno-20221}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + if test -z "$JADE"; then + # Extract the first word of "openjade", so it can be a program name with args. +set dummy openjade; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-20229}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if test "${ac_cv_prog_JADE+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$JADE"; then + ac_cv_prog_JADE="$JADE" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_JADE="openjade" + $as_echo "$as_me:${as_lineno-20245}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +JADE=$ac_cv_prog_JADE +if test -n "$JADE"; then + { $as_echo "$as_me:${as_lineno-20256}: result: $JADE" >&5 +$as_echo "$JADE" >&6; } +else + { $as_echo "$as_me:${as_lineno-20259}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + fi +fi + + +{ $as_echo "$as_me:${as_lineno-20268}: checking for Doxygen tools" >&5 +$as_echo_n "checking for Doxygen tools... " >&6; } + + + { $as_echo "$as_me:${as_lineno-20272}: checking for dot" >&5 +$as_echo_n "checking for dot... " >&6; } + if test -n "$DOT"; then + libusb_cv_path="$DOT"; + else + libusb_cache=`echo dot | sed 'y%./+-%__p_%'` + + if { as_var=libusb_cv_path_$libusb_cache; eval "test \"\${$as_var+set}\" = set"; }; then : + $as_echo_n "(cached) " >&6 +else + + libusb_cv_path="NONE" + dirs="" + libusb_save_IFS=$IFS + IFS=':' + for dir in $PATH; do + dirs="$dirs $dir" + done + IFS=$libusb_save_IFS + + for dir in $dirs; do + if test -x "$dir/dot"; then + if test -n "" + then + evalstr="$dir/dot 2>&1 " + if eval $evalstr; then + libusb_cv_path="$dir/dot" + break + fi + else + libusb_cv_path="$dir/dot" + break + fi + fi + done + + eval "libusb_cv_path_$libusb_cache=$libusb_cv_path" + + +fi + + + eval "libusb_cv_path=\"`echo '$libusb_cv_path_'$libusb_cache`\"" + + fi + + if test -z "$libusb_cv_path" || test "$libusb_cv_path" = NONE; then + { $as_echo "$as_me:${as_lineno-20319}: result: not found" >&5 +$as_echo "not found" >&6; } + + else + { $as_echo "$as_me:${as_lineno-20323}: result: $libusb_cv_path" >&5 +$as_echo "$libusb_cv_path" >&6; } + DOT=$libusb_cv_path + + fi + +if test -n "$DOT"; then + LIBUSB_HAVE_DOT="YES" +else + LIBUSB_HAVE_DOT="NO" +fi + + + + { $as_echo "$as_me:${as_lineno-20337}: checking for doxygen" >&5 +$as_echo_n "checking for doxygen... " >&6; } + if test -n "$DOXYGEN"; then + libusb_cv_path="$DOXYGEN"; + else + libusb_cache=`echo doxygen | sed 'y%./+-%__p_%'` + + if { as_var=libusb_cv_path_$libusb_cache; eval "test \"\${$as_var+set}\" = set"; }; then : + $as_echo_n "(cached) " >&6 +else + + libusb_cv_path="NONE" + dirs="" + libusb_save_IFS=$IFS + IFS=':' + for dir in $PATH; do + dirs="$dirs $dir" + done + IFS=$libusb_save_IFS + + for dir in $dirs; do + if test -x "$dir/doxygen"; then + if test -n "" + then + evalstr="$dir/doxygen 2>&1 " + if eval $evalstr; then + libusb_cv_path="$dir/doxygen" + break + fi + else + libusb_cv_path="$dir/doxygen" + break + fi + fi + done + + eval "libusb_cv_path_$libusb_cache=$libusb_cv_path" + + +fi + + + eval "libusb_cv_path=\"`echo '$libusb_cv_path_'$libusb_cache`\"" + + fi + + if test -z "$libusb_cv_path" || test "$libusb_cv_path" = NONE; then + { $as_echo "$as_me:${as_lineno-20384}: result: not found" >&5 +$as_echo "not found" >&6; } + + else + { $as_echo "$as_me:${as_lineno-20388}: result: $libusb_cv_path" >&5 +$as_echo "$libusb_cv_path" >&6; } + DOXYGEN=$libusb_cv_path + + fi + + + +DOXYGEN_PROJECT_NAME="LIBUSB C++ API Reference" +DOXYGEN_PROJECT_NUMBER="Version $VERSION" + + + +LIBUSB_HAS_DOXYGEN=no +if test -n "$DOXYGEN" && test -x "$DOXYGEN"; then + LIBUSB_HAS_DOXYGEN=yes +fi + + + + + +if test "$build_docs" != "no" -a -z "$JADE"; then + { $as_echo "$as_me:${as_lineno-20411}: WARNING: Documentation build components not installed. sgml docs will not be built" >&5 +$as_echo "$as_me: WARNING: Documentation build components not installed. sgml docs will not be built" >&2;} + build_docs="no" +fi + + + +if test "$build_docs" != "no"; then + BUILD_DOCS_TRUE= + BUILD_DOCS_FALSE='#' +else + BUILD_DOCS_TRUE='#' + BUILD_DOCS_FALSE= +fi + + +ac_config_files="$ac_config_files Makefile doc/Makefile libusb.spec libusb-config libusb.pc tests/Makefile README INSTALL.libusb usb.h Doxyfile" + +ac_config_commands="$ac_config_commands default" + +cat >confcache <<\_ACEOF +# This file is a shell script that caches the results of configure +# tests run on this system so they can be shared between configure +# scripts and configure runs, see configure's option --config-cache. +# It is not useful on other systems. If it contains results you don't +# want to keep, you may remove or edit it. +# +# config.status only pays attention to the cache file if you give it +# the --recheck option to rerun configure. +# +# `ac_cv_env_foo' variables (set or unset) will be overridden when +# loading this file, other *unset* `ac_cv_foo' will be assigned the +# following values. + +_ACEOF + +# The following way of writing the cache mishandles newlines in values, +# but we know of no workaround that is simple, portable, and efficient. +# So, we kill variables containing newlines. +# Ultrix sh set writes to stderr and can't be redirected directly, +# and sets the high bit in the cache file unless we assign to the vars. +( + for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do + eval ac_val=\$$ac_var + case $ac_val in #( + *${as_nl}*) + case $ac_var in #( + *_cv_*) { $as_echo "$as_me:${as_lineno-20458}: WARNING: cache variable $ac_var contains a newline" >&5 +$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; + esac + case $ac_var in #( + _ | IFS | as_nl) ;; #( + BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( + *) { eval $ac_var=; unset $ac_var;} ;; + esac ;; + esac + done + + (set) 2>&1 | + case $as_nl`(ac_space=' '; set) 2>&1` in #( + *${as_nl}ac_space=\ *) + # `set' does not quote correctly, so add quotes: double-quote + # substitution turns \\\\ into \\, and sed turns \\ into \. + sed -n \ + "s/'/'\\\\''/g; + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" + ;; #( + *) + # `set' quotes correctly as required by POSIX, so do not add quotes. + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" + ;; + esac | + sort +) | + sed ' + /^ac_cv_env_/b end + t clear + :clear + s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ + t end + s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ + :end' >>confcache +if diff "$cache_file" confcache >/dev/null 2>&1; then :; else + if test -w "$cache_file"; then + test "x$cache_file" != "x/dev/null" && + { $as_echo "$as_me:${as_lineno-20496}: updating cache $cache_file" >&5 +$as_echo "$as_me: updating cache $cache_file" >&6;} + cat confcache >$cache_file + else + { $as_echo "$as_me:${as_lineno-20500}: not updating unwritable cache $cache_file" >&5 +$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} + fi +fi +rm -f confcache + +test "x$prefix" = xNONE && prefix=$ac_default_prefix +# Let make expand exec_prefix. +test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' + +DEFS=-DHAVE_CONFIG_H + +ac_libobjs= +ac_ltlibobjs= +for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue + # 1. Remove the extension, and $U if already installed. + ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' + ac_i=`$as_echo "$ac_i" | sed "$ac_script"` + # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR + # will be set to the directory where LIBOBJS objects are built. + as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" + as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' +done +LIBOBJS=$ac_libobjs + +LTLIBOBJS=$ac_ltlibobjs + + +if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then + as_fn_error "conditional \"AMDEP\" was never defined. +Usually this means the macro was only invoked conditionally." "20530" 5 +fi +if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then + as_fn_error "conditional \"am__fastdepCC\" was never defined. +Usually this means the macro was only invoked conditionally." "20534" 5 +fi +if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then + as_fn_error "conditional \"am__fastdepCXX\" was never defined. +Usually this means the macro was only invoked conditionally." "20538" 5 +fi +if test -z "${LINUX_API_TRUE}" && test -z "${LINUX_API_FALSE}"; then + as_fn_error "conditional \"LINUX_API\" was never defined. +Usually this means the macro was only invoked conditionally." "20542" 5 +fi +if test -z "${BSD_API_TRUE}" && test -z "${BSD_API_FALSE}"; then + as_fn_error "conditional \"BSD_API\" was never defined. +Usually this means the macro was only invoked conditionally." "20546" 5 +fi +if test -z "${DARWIN_API_TRUE}" && test -z "${DARWIN_API_FALSE}"; then + as_fn_error "conditional \"DARWIN_API\" was never defined. +Usually this means the macro was only invoked conditionally." "20550" 5 +fi +if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then + as_fn_error "conditional \"am__fastdepCC\" was never defined. +Usually this means the macro was only invoked conditionally." "20554" 5 +fi + +if test -z "${BUILD_DOCS_TRUE}" && test -z "${BUILD_DOCS_FALSE}"; then + as_fn_error "conditional \"BUILD_DOCS\" was never defined. +Usually this means the macro was only invoked conditionally." "20559" 5 +fi + +: ${CONFIG_STATUS=./config.status} +ac_write_fail=0 +ac_clean_files_save=$ac_clean_files +ac_clean_files="$ac_clean_files $CONFIG_STATUS" +{ $as_echo "$as_me:${as_lineno-20566}: creating $CONFIG_STATUS" >&5 +$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} +as_write_fail=0 +cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 +#! $SHELL +# Generated by $as_me. +# Run this file to recreate the current configuration. +# Compiler output produced by configure, useful for debugging +# configure, is in config.log if it exists. + +debug=false +ac_cs_recheck=false +ac_cs_silent=false + +SHELL=\${CONFIG_SHELL-$SHELL} +export SHELL +_ASEOF +cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 +## -------------------- ## +## M4sh Initialization. ## +## -------------------- ## + +# Be more Bourne compatible +DUALCASE=1; export DUALCASE # for MKS sh +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : + emulate sh + NULLCMD=: + # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which + # is contrary to our usage. Disable this feature. + alias -g '${1+"$@"}'='"$@"' + setopt NO_GLOB_SUBST +else + case `(set -o) 2>/dev/null` in #( + *posix*) : + set -o posix ;; #( + *) : + ;; +esac +fi + + +as_nl=' +' +export as_nl +# Printing a long string crashes Solaris 7 /usr/bin/printf. +as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo +# Prefer a ksh shell builtin over an external printf program on Solaris, +# but without wasting forks for bash or zsh. +if test -z "$BASH_VERSION$ZSH_VERSION" \ + && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then + as_echo='print -r --' + as_echo_n='print -rn --' +elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then + as_echo='printf %s\n' + as_echo_n='printf %s' +else + if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then + as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' + as_echo_n='/usr/ucb/echo -n' + else + as_echo_body='eval expr "X$1" : "X\\(.*\\)"' + as_echo_n_body='eval + arg=$1; + case $arg in #( + *"$as_nl"*) + expr "X$arg" : "X\\(.*\\)$as_nl"; + arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; + esac; + expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" + ' + export as_echo_n_body + as_echo_n='sh -c $as_echo_n_body as_echo' + fi + export as_echo_body + as_echo='sh -c $as_echo_body as_echo' +fi + +# The user is always right. +if test "${PATH_SEPARATOR+set}" != set; then + PATH_SEPARATOR=: + (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { + (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || + PATH_SEPARATOR=';' + } +fi + + +# IFS +# We need space, tab and new line, in precisely that order. Quoting is +# there to prevent editors from complaining about space-tab. +# (If _AS_PATH_WALK were called with IFS unset, it would disable word +# splitting by setting IFS to empty value.) +IFS=" "" $as_nl" + +# Find who we are. Look in the path if we contain no directory separator. +case $0 in #(( + *[\\/]* ) as_myself=$0 ;; + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break + done +IFS=$as_save_IFS + + ;; +esac +# We did not find ourselves, most probably we were run as `sh COMMAND' +# in which case we are not to be found in the path. +if test "x$as_myself" = x; then + as_myself=$0 +fi +if test ! -f "$as_myself"; then + $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 + exit 1 +fi + +# Unset variables that we do not need and which cause bugs (e.g. in +# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" +# suppresses any "Segmentation fault" message there. '((' could +# trigger a bug in pdksh 5.2.14. +for as_var in BASH_ENV ENV MAIL MAILPATH +do eval test x\${$as_var+set} = xset \ + && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : +done +PS1='$ ' +PS2='> ' +PS4='+ ' + +# NLS nuisances. +LC_ALL=C +export LC_ALL +LANGUAGE=C +export LANGUAGE + +# CDPATH. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH + + +# as_fn_error ERROR [LINENO LOG_FD] +# --------------------------------- +# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are +# provided, also output the error to LOG_FD, referencing LINENO. Then exit the +# script with status $?, using 1 if that was 0. +as_fn_error () +{ + as_status=$?; test $as_status -eq 0 && as_status=1 + if test "$3"; then + as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + $as_echo "$as_me:${as_lineno-20718}: error: $1" >&$3 + fi + $as_echo "$as_me: error: $1" >&2 + as_fn_exit $as_status +} # as_fn_error + + +# as_fn_set_status STATUS +# ----------------------- +# Set $? to STATUS, without forking. +as_fn_set_status () +{ + return $1 +} # as_fn_set_status + +# as_fn_exit STATUS +# ----------------- +# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. +as_fn_exit () +{ + set +e + as_fn_set_status $1 + exit $1 +} # as_fn_exit + +# as_fn_unset VAR +# --------------- +# Portably unset VAR. +as_fn_unset () +{ + { eval $1=; unset $1;} +} +as_unset=as_fn_unset +# as_fn_append VAR VALUE +# ---------------------- +# Append the text in VALUE to the end of the definition contained in VAR. Take +# advantage of any shell optimizations that allow amortized linear growth over +# repeated appends, instead of the typical quadratic growth present in naive +# implementations. +if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : + eval 'as_fn_append () + { + eval $1+=\$2 + }' +else + as_fn_append () + { + eval $1=\$$1\$2 + } +fi # as_fn_append + +# as_fn_arith ARG... +# ------------------ +# Perform arithmetic evaluation on the ARGs, and store the result in the +# global $as_val. Take advantage of shells that can avoid forks. The arguments +# must be portable across $(()) and expr. +if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : + eval 'as_fn_arith () + { + as_val=$(( $* )) + }' +else + as_fn_arith () + { + as_val=`expr "$@" || test $? -eq 1` + } +fi # as_fn_arith + + +if expr a : '\(a\)' >/dev/null 2>&1 && + test "X`expr 00001 : '.*\(...\)'`" = X001; then + as_expr=expr +else + as_expr=false +fi + +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then + as_basename=basename +else + as_basename=false +fi + +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then + as_dirname=dirname +else + as_dirname=false +fi + +as_me=`$as_basename -- "$0" || +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ + X"$0" : 'X\(//\)$' \| \ + X"$0" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X/"$0" | + sed '/^.*\/\([^/][^/]*\)\/*$/{ + s//\1/ + q + } + /^X\/\(\/\/\)$/{ + s//\1/ + q + } + /^X\/\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + +# Avoid depending upon Character Ranges. +as_cr_letters='abcdefghijklmnopqrstuvwxyz' +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' +as_cr_Letters=$as_cr_letters$as_cr_LETTERS +as_cr_digits='0123456789' +as_cr_alnum=$as_cr_Letters$as_cr_digits + +ECHO_C= ECHO_N= ECHO_T= +case `echo -n x` in #((((( +-n*) + case `echo 'xy\c'` in + *c*) ECHO_T=' ';; # ECHO_T is single tab character. + xy) ECHO_C='\c';; + *) echo `echo ksh88 bug on AIX 6.1` > /dev/null + ECHO_T=' ';; + esac;; +*) + ECHO_N='-n';; +esac + +rm -f conf$$ conf$$.exe conf$$.file +if test -d conf$$.dir; then + rm -f conf$$.dir/conf$$.file +else + rm -f conf$$.dir + mkdir conf$$.dir 2>/dev/null +fi +if (echo >conf$$.file) 2>/dev/null; then + if ln -s conf$$.file conf$$ 2>/dev/null; then + as_ln_s='ln -s' + # ... but there are two gotchas: + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. + # In both cases, we have to default to `cp -p'. + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || + as_ln_s='cp -p' + elif ln conf$$.file conf$$ 2>/dev/null; then + as_ln_s=ln + else + as_ln_s='cp -p' + fi +else + as_ln_s='cp -p' +fi +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file +rmdir conf$$.dir 2>/dev/null + + +# as_fn_mkdir_p +# ------------- +# Create "$as_dir" as a directory, including parents if necessary. +as_fn_mkdir_p () +{ + + case $as_dir in #( + -*) as_dir=./$as_dir;; + esac + test -d "$as_dir" || eval $as_mkdir_p || { + as_dirs= + while :; do + case $as_dir in #( + *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( + *) as_qdir=$as_dir;; + esac + as_dirs="'$as_qdir' $as_dirs" + as_dir=`$as_dirname -- "$as_dir" || +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$as_dir" : 'X\(//\)[^/]' \| \ + X"$as_dir" : 'X\(//\)$' \| \ + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X"$as_dir" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + test -d "$as_dir" && break + done + test -z "$as_dirs" || eval "mkdir $as_dirs" + } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" + + +} # as_fn_mkdir_p +if mkdir -p . 2>/dev/null; then + as_mkdir_p='mkdir -p "$as_dir"' +else + test -d ./-p && rmdir ./-p + as_mkdir_p=false +fi + +if test -x / >/dev/null 2>&1; then + as_test_x='test -x' +else + if ls -dL / >/dev/null 2>&1; then + as_ls_L_option=L + else + as_ls_L_option= + fi + as_test_x=' + eval sh -c '\'' + if test -d "$1"; then + test -d "$1/."; + else + case $1 in #( + -*)set "./$1";; + esac; + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( + ???[sx]*):;;*)false;;esac;fi + '\'' sh + ' +fi +as_executable_p=$as_test_x + +# Sed expression to map a string onto a valid CPP name. +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" + +# Sed expression to map a string onto a valid variable name. +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" + + +exec 6>&1 +## ----------------------------------- ## +## Main body of $CONFIG_STATUS script. ## +## ----------------------------------- ## +_ASEOF +test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 + +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +# Save the log message, to keep $0 and so on meaningful, and to +# report actual input values of CONFIG_FILES etc. instead of their +# values after options handling. +ac_log=" +This file was extended by libusb $as_me 0.1.12, which was +generated by GNU Autoconf 2.65. Invocation command line was + + CONFIG_FILES = $CONFIG_FILES + CONFIG_HEADERS = $CONFIG_HEADERS + CONFIG_LINKS = $CONFIG_LINKS + CONFIG_COMMANDS = $CONFIG_COMMANDS + $ $0 $@ + +on `(hostname || uname -n) 2>/dev/null | sed 1q` +" + +_ACEOF + +case $ac_config_files in *" +"*) set x $ac_config_files; shift; ac_config_files=$*;; +esac + +case $ac_config_headers in *" +"*) set x $ac_config_headers; shift; ac_config_headers=$*;; +esac + + +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +# Files that config.status was made for. +config_files="$ac_config_files" +config_headers="$ac_config_headers" +config_commands="$ac_config_commands" + +_ACEOF + +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +ac_cs_usage="\ +\`$as_me' instantiates files and other configuration actions +from templates according to the current configuration. Unless the files +and actions are specified as TAGs, all are instantiated by default. + +Usage: $0 [OPTION]... [TAG]... + + -h, --help print this help, then exit + -V, --version print version number and configuration settings, then exit + --config print configuration, then exit + -q, --quiet, --silent + do not print progress messages + -d, --debug don't remove temporary files + --recheck update $as_me by reconfiguring in the same conditions + --file=FILE[:TEMPLATE] + instantiate the configuration file FILE + --header=FILE[:TEMPLATE] + instantiate the configuration header FILE + +Configuration files: +$config_files + +Configuration headers: +$config_headers + +Configuration commands: +$config_commands + +Report bugs to the package provider." + +_ACEOF +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" +ac_cs_version="\\ +libusb config.status 0.1.12 +configured by $0, generated by GNU Autoconf 2.65, + with options \\"\$ac_cs_config\\" + +Copyright (C) 2009 Free Software Foundation, Inc. +This config.status script is free software; the Free Software Foundation +gives unlimited permission to copy, distribute and modify it." + +ac_pwd='$ac_pwd' +srcdir='$srcdir' +INSTALL='$INSTALL' +AWK='$AWK' +test -n "\$AWK" || AWK=awk +_ACEOF + +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +# The default lists apply if the user does not specify any file. +ac_need_defaults=: +while test $# != 0 +do + case $1 in + --*=*) + ac_option=`expr "X$1" : 'X\([^=]*\)='` + ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` + ac_shift=: + ;; + *) + ac_option=$1 + ac_optarg=$2 + ac_shift=shift + ;; + esac + + case $ac_option in + # Handling of the options. + -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) + ac_cs_recheck=: ;; + --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) + $as_echo "$ac_cs_version"; exit ;; + --config | --confi | --conf | --con | --co | --c ) + $as_echo "$ac_cs_config"; exit ;; + --debug | --debu | --deb | --de | --d | -d ) + debug=: ;; + --file | --fil | --fi | --f ) + $ac_shift + case $ac_optarg in + *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; + esac + as_fn_append CONFIG_FILES " '$ac_optarg'" + ac_need_defaults=false;; + --header | --heade | --head | --hea ) + $ac_shift + case $ac_optarg in + *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; + esac + as_fn_append CONFIG_HEADERS " '$ac_optarg'" + ac_need_defaults=false;; + --he | --h) + # Conflict between --help and --header + as_fn_error "ambiguous option: \`$1' +Try \`$0 --help' for more information.";; + --help | --hel | -h ) + $as_echo "$ac_cs_usage"; exit ;; + -q | -quiet | --quiet | --quie | --qui | --qu | --q \ + | -silent | --silent | --silen | --sile | --sil | --si | --s) + ac_cs_silent=: ;; + + # This is an error. + -*) as_fn_error "unrecognized option: \`$1' +Try \`$0 --help' for more information." ;; + + *) as_fn_append ac_config_targets " $1" + ac_need_defaults=false ;; + + esac + shift +done + +ac_configure_extra_args= + +if $ac_cs_silent; then + exec 6>/dev/null + ac_configure_extra_args="$ac_configure_extra_args --silent" +fi + +_ACEOF +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +if \$ac_cs_recheck; then + set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion + shift + \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 + CONFIG_SHELL='$SHELL' + export CONFIG_SHELL + exec "\$@" +fi + +_ACEOF +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +exec 5>>config.log +{ + echo + sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX +## Running $as_me. ## +_ASBOX + $as_echo "$ac_log" +} >&5 + +_ACEOF +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +# +# INIT-COMMANDS +# +AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" + + +_ACEOF + +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 + +# Handling of arguments. +for ac_config_target in $ac_config_targets +do + case $ac_config_target in + "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; + "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; + "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; + "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; + "libusb.spec") CONFIG_FILES="$CONFIG_FILES libusb.spec" ;; + "libusb-config") CONFIG_FILES="$CONFIG_FILES libusb-config" ;; + "libusb.pc") CONFIG_FILES="$CONFIG_FILES libusb.pc" ;; + "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;; + "README") CONFIG_FILES="$CONFIG_FILES README" ;; + "INSTALL.libusb") CONFIG_FILES="$CONFIG_FILES INSTALL.libusb" ;; + "usb.h") CONFIG_FILES="$CONFIG_FILES usb.h" ;; + "Doxyfile") CONFIG_FILES="$CONFIG_FILES Doxyfile" ;; + "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;; + + *) as_fn_error "invalid argument: \`$ac_config_target'" "21172" 5;; + esac +done + + +# If the user did not use the arguments to specify the items to instantiate, +# then the envvar interface is used. Set only those that are not. +# We use the long form for the default assignment because of an extremely +# bizarre bug on SunOS 4.1.3. +if $ac_need_defaults; then + test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files + test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers + test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands +fi + +# Have a temporary directory for convenience. Make it in the build tree +# simply because there is no reason against having it here, and in addition, +# creating and moving files from /tmp can sometimes cause problems. +# Hook for its removal unless debugging. +# Note that there is a small window in which the directory will not be cleaned: +# after its creation but before its name has been assigned to `$tmp'. +$debug || +{ + tmp= + trap 'exit_status=$? + { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status +' 0 + trap 'as_fn_exit 1' 1 2 13 15 +} +# Create a (secure) tmp directory for tmp files. + +{ + tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && + test -n "$tmp" && test -d "$tmp" +} || +{ + tmp=./conf$$-$RANDOM + (umask 077 && mkdir "$tmp") +} || as_fn_error "cannot create a temporary directory in ." "21210" 5 + +# Set up the scripts for CONFIG_FILES section. +# No need to generate them if there are no CONFIG_FILES. +# This happens for instance with `./config.status config.h'. +if test -n "$CONFIG_FILES"; then + + +ac_cr=`echo X | tr X '\015'` +# On cygwin, bash can eat \r inside `` if the user requested igncr. +# But we know of no other shell where ac_cr would be empty at this +# point, so we can use a bashism as a fallback. +if test "x$ac_cr" = x; then + eval ac_cr=\$\'\\r\' +fi +ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' /dev/null` +if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then + ac_cs_awk_cr='\r' +else + ac_cs_awk_cr=$ac_cr +fi + +echo 'BEGIN {' >"$tmp/subs1.awk" && +_ACEOF + + +{ + echo "cat >conf$$subs.awk <<_ACEOF" && + echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && + echo "_ACEOF" +} >conf$$subs.sh || + as_fn_error "could not make $CONFIG_STATUS" "21241" 5 +ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` +ac_delim='%!_!# ' +for ac_last_try in false false false false false :; do + . ./conf$$subs.sh || + as_fn_error "could not make $CONFIG_STATUS" "21246" 5 + + ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` + if test $ac_delim_n = $ac_delim_num; then + break + elif $ac_last_try; then + as_fn_error "could not make $CONFIG_STATUS" "21252" 5 + else + ac_delim="$ac_delim!$ac_delim _$ac_delim!! " + fi +done +rm -f conf$$subs.sh + +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +cat >>"\$tmp/subs1.awk" <<\\_ACAWK && +_ACEOF +sed -n ' +h +s/^/S["/; s/!.*/"]=/ +p +g +s/^[^!]*!// +:repl +t repl +s/'"$ac_delim"'$// +t delim +:nl +h +s/\(.\{148\}\)..*/\1/ +t more1 +s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ +p +n +b repl +:more1 +s/["\\]/\\&/g; s/^/"/; s/$/"\\/ +p +g +s/.\{148\}// +t nl +:delim +h +s/\(.\{148\}\)..*/\1/ +t more2 +s/["\\]/\\&/g; s/^/"/; s/$/"/ +p +b +:more2 +s/["\\]/\\&/g; s/^/"/; s/$/"\\/ +p +g +s/.\{148\}// +t delim +' >$CONFIG_STATUS || ac_write_fail=1 +rm -f conf$$subs.awk +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +_ACAWK +cat >>"\$tmp/subs1.awk" <<_ACAWK && + for (key in S) S_is_set[key] = 1 + FS = "" + +} +{ + line = $ 0 + nfields = split(line, field, "@") + substed = 0 + len = length(field[1]) + for (i = 2; i < nfields; i++) { + key = field[i] + keylen = length(key) + if (S_is_set[key]) { + value = S[key] + line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) + len += length(value) + length(field[++i]) + substed = 1 + } else + len += 1 + keylen + } + + print line +} + +_ACAWK +_ACEOF +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then + sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" +else + cat +fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ + || as_fn_error "could not setup config files machinery" "21341" 5 +_ACEOF + +# VPATH may cause trouble with some makes, so we remove $(srcdir), +# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and +# trailing colons and then remove the whole line if VPATH becomes empty +# (actually we leave an empty line to preserve line numbers). +if test "x$srcdir" = x.; then + ac_vpsub='/^[ ]*VPATH[ ]*=/{ +s/:*\$(srcdir):*/:/ +s/:*\${srcdir}:*/:/ +s/:*@srcdir@:*/:/ +s/^\([^=]*=[ ]*\):*/\1/ +s/:*$// +s/^[^=]*=[ ]*$// +}' +fi + +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +fi # test -n "$CONFIG_FILES" + +# Set up the scripts for CONFIG_HEADERS section. +# No need to generate them if there are no CONFIG_HEADERS. +# This happens for instance with `./config.status Makefile'. +if test -n "$CONFIG_HEADERS"; then +cat >"$tmp/defines.awk" <<\_ACAWK || +BEGIN { +_ACEOF + +# Transform confdefs.h into an awk script `defines.awk', embedded as +# here-document in config.status, that substitutes the proper values into +# config.h.in to produce config.h. + +# Create a delimiter string that does not exist in confdefs.h, to ease +# handling of long lines. +ac_delim='%!_!# ' +for ac_last_try in false false :; do + ac_t=`sed -n "/$ac_delim/p" confdefs.h` + if test -z "$ac_t"; then + break + elif $ac_last_try; then + as_fn_error "could not make $CONFIG_HEADERS" "21382" 5 + else + ac_delim="$ac_delim!$ac_delim _$ac_delim!! " + fi +done + +# For the awk script, D is an array of macro values keyed by name, +# likewise P contains macro parameters if any. Preserve backslash +# newline sequences. + +ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* +sed -n ' +s/.\{148\}/&'"$ac_delim"'/g +t rset +:rset +s/^[ ]*#[ ]*define[ ][ ]*/ / +t def +d +:def +s/\\$// +t bsnl +s/["\\]/\\&/g +s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ +D["\1"]=" \3"/p +s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p +d +:bsnl +s/["\\]/\\&/g +s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ +D["\1"]=" \3\\\\\\n"\\/p +t cont +s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p +t cont +d +:cont +n +s/.\{148\}/&'"$ac_delim"'/g +t clear +:clear +s/\\$// +t bsnlc +s/["\\]/\\&/g; s/^/"/; s/$/"/p +d +:bsnlc +s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p +b cont +' >$CONFIG_STATUS || ac_write_fail=1 + +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 + for (key in D) D_is_set[key] = 1 + FS = "" +} +/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { + line = \$ 0 + split(line, arg, " ") + if (arg[1] == "#") { + defundef = arg[2] + mac1 = arg[3] + } else { + defundef = substr(arg[1], 2) + mac1 = arg[2] + } + split(mac1, mac2, "(") #) + macro = mac2[1] + prefix = substr(line, 1, index(line, defundef) - 1) + if (D_is_set[macro]) { + # Preserve the white space surrounding the "#". + print prefix "define", macro P[macro] D[macro] + next + } else { + # Replace #undef with comments. This is necessary, for example, + # in the case of _POSIX_SOURCE, which is predefined and required + # on some systems where configure will not decide to define it. + if (defundef == "undef") { + print "/*", prefix defundef, macro, "*/" + next + } + } +} +{ print } +_ACAWK +_ACEOF +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 + as_fn_error "could not setup config headers machinery" "21467" 5 +fi # test -n "$CONFIG_HEADERS" + + +eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" +shift +for ac_tag +do + case $ac_tag in + :[FHLC]) ac_mode=$ac_tag; continue;; + esac + case $ac_mode$ac_tag in + :[FHL]*:*);; + :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "21480" 5;; + :[FH]-) ac_tag=-:-;; + :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; + esac + ac_save_IFS=$IFS + IFS=: + set x $ac_tag + IFS=$ac_save_IFS + shift + ac_file=$1 + shift + + case $ac_mode in + :L) ac_source=$1;; + :[FH]) + ac_file_inputs= + for ac_f + do + case $ac_f in + -) ac_f="$tmp/stdin";; + *) # Look for the file first in the build tree, then in the source tree + # (if the path is not absolute). The absolute path cannot be DOS-style, + # because $ac_f cannot contain `:'. + test -f "$ac_f" || + case $ac_f in + [\\/$]*) false;; + *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; + esac || + as_fn_error "cannot find input file: \`$ac_f'" "21508" 5;; + esac + case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac + as_fn_append ac_file_inputs " '$ac_f'" + done + + # Let's still pretend it is `configure' which instantiates (i.e., don't + # use $as_me), people would be surprised to read: + # /* config.h. Generated by config.status. */ + configure_input='Generated from '` + $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' + `' by configure.' + if test x"$ac_file" != x-; then + configure_input="$ac_file. $configure_input" + { $as_echo "$as_me:${as_lineno-21522}: creating $ac_file" >&5 +$as_echo "$as_me: creating $ac_file" >&6;} + fi + # Neutralize special characters interpreted by sed in replacement strings. + case $configure_input in #( + *\&* | *\|* | *\\* ) + ac_sed_conf_input=`$as_echo "$configure_input" | + sed 's/[\\\\&|]/\\\\&/g'`;; #( + *) ac_sed_conf_input=$configure_input;; + esac + + case $ac_tag in + *:-:* | *:-) cat >"$tmp/stdin" \ + || as_fn_error "could not create $ac_file" "21535" 5 ;; + esac + ;; + esac + + ac_dir=`$as_dirname -- "$ac_file" || +$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$ac_file" : 'X\(//\)[^/]' \| \ + X"$ac_file" : 'X\(//\)$' \| \ + X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X"$ac_file" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + as_dir="$ac_dir"; as_fn_mkdir_p + ac_builddir=. + +case "$ac_dir" in +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; +*) + ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` + # A ".." for each directory in $ac_dir_suffix. + ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` + case $ac_top_builddir_sub in + "") ac_top_builddir_sub=. ac_top_build_prefix= ;; + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; + esac ;; +esac +ac_abs_top_builddir=$ac_pwd +ac_abs_builddir=$ac_pwd$ac_dir_suffix +# for backward compatibility: +ac_top_builddir=$ac_top_build_prefix + +case $srcdir in + .) # We are building in place. + ac_srcdir=. + ac_top_srcdir=$ac_top_builddir_sub + ac_abs_top_srcdir=$ac_pwd ;; + [\\/]* | ?:[\\/]* ) # Absolute name. + ac_srcdir=$srcdir$ac_dir_suffix; + ac_top_srcdir=$srcdir + ac_abs_top_srcdir=$srcdir ;; + *) # Relative name. + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix + ac_top_srcdir=$ac_top_build_prefix$srcdir + ac_abs_top_srcdir=$ac_pwd/$srcdir ;; +esac +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix + + + case $ac_mode in + :F) + # + # CONFIG_FILE + # + + case $INSTALL in + [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; + *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; + esac +_ACEOF + +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +# If the template does not know about datarootdir, expand it. +# FIXME: This hack should be removed a few years after 2.60. +ac_datarootdir_hack=; ac_datarootdir_seen= +ac_sed_dataroot=' +/datarootdir/ { + p + q +} +/@datadir@/p +/@docdir@/p +/@infodir@/p +/@localedir@/p +/@mandir@/p' +case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in +*datarootdir*) ac_datarootdir_seen=yes;; +*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) + { $as_echo "$as_me:${as_lineno-21628}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 +$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} +_ACEOF +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 + ac_datarootdir_hack=' + s&@datadir@&$datadir&g + s&@docdir@&$docdir&g + s&@infodir@&$infodir&g + s&@localedir@&$localedir&g + s&@mandir@&$mandir&g + s&\\\${datarootdir}&$datarootdir&g' ;; +esac +_ACEOF + +# Neutralize VPATH when `$srcdir' = `.'. +# Shell code in configure.ac might set extrasub. +# FIXME: do we really want to maintain this feature? +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +ac_sed_extra="$ac_vpsub +$extrasub +_ACEOF +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +:t +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b +s|@configure_input@|$ac_sed_conf_input|;t t +s&@top_builddir@&$ac_top_builddir_sub&;t t +s&@top_build_prefix@&$ac_top_build_prefix&;t t +s&@srcdir@&$ac_srcdir&;t t +s&@abs_srcdir@&$ac_abs_srcdir&;t t +s&@top_srcdir@&$ac_top_srcdir&;t t +s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t +s&@builddir@&$ac_builddir&;t t +s&@abs_builddir@&$ac_abs_builddir&;t t +s&@abs_top_builddir@&$ac_abs_top_builddir&;t t +s&@INSTALL@&$ac_INSTALL&;t t +$ac_datarootdir_hack +" +eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ + || as_fn_error "could not create $ac_file" "21666" 5 + +test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && + { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && + { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && + { $as_echo "$as_me:${as_lineno-21671}: WARNING: $ac_file contains a reference to the variable \`datarootdir' +which seems to be undefined. Please make sure it is defined." >&5 +$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' +which seems to be undefined. Please make sure it is defined." >&2;} + + rm -f "$tmp/stdin" + case $ac_file in + -) cat "$tmp/out" && rm -f "$tmp/out";; + *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; + esac \ + || as_fn_error "could not create $ac_file" "21681" 5 + ;; + :H) + # + # CONFIG_HEADER + # + if test x"$ac_file" != x-; then + { + $as_echo "/* $configure_input */" \ + && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" + } >"$tmp/config.h" \ + || as_fn_error "could not create $ac_file" "21692" 5 + if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then + { $as_echo "$as_me:${as_lineno-21694}: $ac_file is unchanged" >&5 +$as_echo "$as_me: $ac_file is unchanged" >&6;} + else + rm -f "$ac_file" + mv "$tmp/config.h" "$ac_file" \ + || as_fn_error "could not create $ac_file" "21699" 5 + fi + else + $as_echo "/* $configure_input */" \ + && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ + || as_fn_error "could not create -" "21704" 5 + fi +# Compute "$ac_file"'s index in $config_headers. +_am_stamp_count=1 +for _am_header in $config_headers :; do + case $_am_header in + "$ac_file" | "$ac_file":* ) + break ;; + * ) + _am_stamp_count=`expr $_am_stamp_count + 1` ;; + esac +done +echo "timestamp for "$ac_file"" >`$as_dirname -- "$ac_file" || +$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$ac_file" : 'X\(//\)[^/]' \| \ + X"$ac_file" : 'X\(//\)$' \| \ + X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X"$ac_file" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'`/stamp-h$_am_stamp_count + ;; + + :C) { $as_echo "$as_me:${as_lineno-21741}: executing $ac_file commands" >&5 +$as_echo "$as_me: executing $ac_file commands" >&6;} + ;; + esac + + + case $ac_file$ac_mode in + "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do + # Strip MF so we end up with the name of the file. + mf=`echo "$mf" | sed -e 's/:.*$//'` + # Check whether this is an Automake generated Makefile or not. + # We used to match only the files named `Makefile.in', but + # some people rename them; so instead we look at the file content. + # Grep'ing the first line is not enough: some people post-process + # each Makefile.in and add a new line on top of each file to say so. + # So let's grep whole file. + if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then + dirpart=`$as_dirname -- "$mf" || +$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$mf" : 'X\(//\)[^/]' \| \ + X"$mf" : 'X\(//\)$' \| \ + X"$mf" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X"$mf" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + else + continue + fi + grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue + # Extract the definition of DEP_FILES from the Makefile without + # running `make'. + DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` + test -z "$DEPDIR" && continue + # When using ansi2knr, U may be empty or an underscore; expand it + U=`sed -n 's/^U = //p' < "$mf"` + test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR" + # We invoke sed twice because it is the simplest approach to + # changing $(DEPDIR) to its actual value in the expansion. + for file in `sed -n ' + /^DEP_FILES = .*\\\\$/ { + s/^DEP_FILES = // + :loop + s/\\\\$// + p + n + /\\\\$/ b loop + p + } + /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \ + sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do + # Make sure the directory exists. + test -f "$dirpart/$file" && continue + fdir=`$as_dirname -- "$file" || +$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$file" : 'X\(//\)[^/]' \| \ + X"$file" : 'X\(//\)$' \| \ + X"$file" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X"$file" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + as_dir=$dirpart/$fdir; as_fn_mkdir_p + # echo "creating $dirpart/$file" + echo '# dummy' > "$dirpart/$file" + done +done + ;; + "default":C) chmod +x libusb-config ;; + + esac +done # for ac_tag + + +as_fn_exit 0 +_ACEOF +ac_clean_files=$ac_clean_files_save + +test $ac_write_fail = 0 || + as_fn_error "write failure creating $CONFIG_STATUS" "21848" 5 + + +# configure is writing to config.log, and then calls config.status. +# config.status does its own redirection, appending to config.log. +# Unfortunately, on DOS this fails, as config.log is still kept open +# by configure, so config.status won't be able to write to it; its +# output is simply discarded. So we exec the FD to /dev/null, +# effectively closing config.log, so it can be properly (re)opened and +# appended to by config.status. When coming back to configure, we +# need to make the FD available again. +if test "$no_create" != yes; then + ac_cs_success=: + ac_config_status_args= + test "$silent" = yes && + ac_config_status_args="$ac_config_status_args --quiet" + exec 5>/dev/null + $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false + exec 5>>config.log + # Use ||, not &&, to avoid exiting from the if with $? = 1, which + # would make configure fail if this is the last instruction. + $ac_cs_success || as_fn_exit $? +fi +if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then + { $as_echo "$as_me:${as_lineno-21872}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 +$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} +fi + + diff --git a/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/darwin.c b/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/darwin.c new file mode 100644 index 000000000..f1b548a2d --- /dev/null +++ b/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/darwin.c @@ -0,0 +1,1209 @@ +/* + * Darwin/MacOS X Support + * + * (c) 2002-2005 Nathan Hjelm + * + * (04/17/2005): + * - Lots of minor fixes. + * - Endpoint table now made by claim_interface to fix a bug. + * - Merged Read/Write to make modifications easier. + * (03/25/2005): + * - Fixed a bug when using asynchronous callbacks within a multi-threaded application. + * (03/14/2005): + * - Added an endpoint table to speed up bulk transfers. + * 0.1.11 (02/22/2005): + * - Updated error checking in read/write routines to check completion codes. + * - Updated set_configuration so that the open interface is reclaimed before completion. + * - Fixed several typos. + * 0.1.8 (01/12/2004): + * - Fixed several memory leaks. + * - Readded 10.0 support + * - Added support for USB fuctions defined in 10.3 and above + * (01/02/2003): + * - Applied a patch by Philip Edelbrock that fixes a bug in usb_control_msg. + * (12/16/2003): + * - Even better error printing. + * - Devices that cannot be opened can have their interfaces opened. + * 0.1.6 (05/12/2002): + * - Fixed problem where libusb holds resources after program completion. + * - Mouse should no longer freeze up now. + * 0.1.2 (02/13/2002): + * - Bulk functions should work properly now. + * 0.1.1 (02/11/2002): + * - Fixed major bug (device and interface need to be released after use) + * 0.1.0 (01/06/2002): + * - Tested driver with gphoto (works great as long as Image Capture isn't running) + * 0.1d (01/04/2002): + * - Implimented clear_halt and resetep + * - Uploaded to CVS. + * 0.1b (01/04/2002): + * - Added usb_debug line to bulk read and write function. + * 0.1a (01/03/2002): + * - Driver mostly completed using the macosx driver I wrote for my rioutil software. + * + * Derived from Linux version by Richard Tobin. + * Also partly derived from BSD version. + * + * This library is covered by the LGPL, read LICENSE for details. + */ + +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + +#include +#include +#include + +/* standard includes for darwin/os10 (IOKit) */ +#include +#include +#include +#include + +#include "usbi.h" + +/* some defines */ +/* IOUSBInterfaceInferface */ +#if defined (kIOUSBInterfaceInterfaceID220) + +// #warning "libusb being compiled for 10.4 or later" +#define usb_interface_t IOUSBInterfaceInterface220 +#define InterfaceInterfaceID kIOUSBInterfaceInterfaceID220 +#define InterfaceVersion 220 + +#elif defined (kIOUSBInterfaceInterfaceID197) + +// #warning "libusb being compiled for 10.3 or later" +#define usb_interface_t IOUSBInterfaceInterface197 +#define InterfaceInterfaceID kIOUSBInterfaceInterfaceID197 +#define InterfaceVersion 197 + +#elif defined (kIOUSBInterfaceInterfaceID190) + +// #warning "libusb being compiled for 10.2 or later" +#define usb_interface_t IOUSBInterfaceInterface190 +#define InterfaceInterfaceID kIOUSBInterfaceInterfaceID190 +#define InterfaceVersion 190 + +#elif defined (kIOUSBInterfaceInterfaceID182) + +// #warning "libusb being compiled for 10.1 or later" +#define usb_interface_t IOUSBInterfaceInterface182 +#define InterfaceInterfaceID kIOUSBInterfaceInterfaceID182 +#define InterfaceVersion 182 + +#else + +/* No timeout functions available! Time to upgrade your os. */ +#warning "libusb being compiled without support for timeout bulk functions! 10.0 and up" +#define usb_interface_t IOUSBInterfaceInterface +#define InterfaceInterfaceID kIOUSBInterfaceInterfaceID +#define LIBUSB_NO_TIMEOUT_INTERFACE +#define InterfaceVersion 180 + +#endif + +/* IOUSBDeviceInterface */ +#if defined (kIOUSBDeviceInterfaceID197) + +#define usb_device_t IOUSBDeviceInterface197 +#define DeviceInterfaceID kIOUSBDeviceInterfaceID197 +#define DeviceVersion 197 + +#elif defined (kIOUSBDeviceInterfaceID187) + +#define usb_device_t IOUSBDeviceInterface187 +#define DeviceInterfaceID kIOUSBDeviceInterfaceID187 +#define DeviceVersion 187 + +#elif defined (kIOUSBDeviceInterfaceID182) + +#define usb_device_t IOUSBDeviceInterface182 +#define DeviceInterfaceID kIOUSBDeviceInterfaceID182 +#define DeviceVersion 182 + +#else + +#define usb_device_t IOUSBDeviceInterface +#define DeviceInterfaceID kIOUSBDeviceInterfaceID +#define LIBUSB_NO_TIMEOUT_DEVICE +#define LIBUSB_NO_SEIZE_DEVICE +#define DeviceVersion 180 + +#endif + +typedef IOReturn io_return_t; +typedef IOCFPlugInInterface *io_cf_plugin_ref_t; +typedef SInt32 s_int32_t; +typedef IOReturn (*rw_async_func_t)(void *self, UInt8 pipeRef, void *buf, UInt32 size, + IOAsyncCallback1 callback, void *refcon); +typedef IOReturn (*rw_async_to_func_t)(void *self, UInt8 pipeRef, void *buf, UInt32 size, + UInt32 noDataTimeout, UInt32 completionTimeout, + IOAsyncCallback1 callback, void *refcon); + +#if !defined(IO_OBJECT_NULL) +#define IO_OBJECT_NULL ((io_object_t)0) +#endif + +/* Darwin/OS X impl does not use fd field, instead it uses this */ +struct darwin_dev_handle { + usb_device_t **device; + usb_interface_t **interface; + int open; + + /* stored translation table for pipes to endpoints */ + int num_endpoints; + unsigned char *endpoint_addrs; +}; + +static CFMutableDictionaryRef matchingDict; +static IONotificationPortRef gNotifyPort; +static mach_port_t masterPort = MACH_PORT_NULL; + +static void darwin_cleanup (void) +{ + IONotificationPortDestroy(gNotifyPort); + mach_port_deallocate(mach_task_self(), masterPort); +} + +static char *darwin_error_str (int result) { + switch (result) { + case kIOReturnSuccess: + return "no error"; + case kIOReturnNotOpen: + return "device not opened for exclusive access"; + case kIOReturnNoDevice: + return "no connection to an IOService"; + case kIOUSBNoAsyncPortErr: + return "no async port has been opened for interface"; + case kIOReturnExclusiveAccess: + return "another process has device opened for exclusive access"; + case kIOUSBPipeStalled: + return "pipe is stalled"; + case kIOReturnError: + return "could not establish a connection to the Darwin kernel"; + case kIOUSBTransactionTimeout: + return "transaction timed out"; + case kIOReturnBadArgument: + return "invalid argument"; + case kIOReturnAborted: + return "transaction aborted"; + default: + return "unknown error"; + } +} + +/* not a valid errorno outside darwin.c */ +#define LUSBDARWINSTALL (ELAST+1) + +static int darwin_to_errno (int result) { + switch (result) { + case kIOReturnSuccess: + return 0; + case kIOReturnNotOpen: + return EBADF; + case kIOReturnNoDevice: + case kIOUSBNoAsyncPortErr: + return ENXIO; + case kIOReturnExclusiveAccess: + return EBUSY; + case kIOUSBPipeStalled: + return LUSBDARWINSTALL; + case kIOReturnBadArgument: + return EINVAL; + case kIOUSBTransactionTimeout: + return ETIMEDOUT; + case kIOReturnError: + default: + return 1; + } +} + +static int usb_setup_iterator (io_iterator_t *deviceIterator) +{ + int result; + + /* set up the matching dictionary for class IOUSBDevice and its subclasses. + It will be consumed by the IOServiceGetMatchingServices call */ + if ((matchingDict = IOServiceMatching(kIOUSBDeviceClassName)) == NULL) { + darwin_cleanup (); + + USB_ERROR_STR(-1, "libusb/darwin.c usb_setup_iterator: Could not create a matching dictionary.\n"); + } + + result = IOServiceGetMatchingServices(masterPort, matchingDict, deviceIterator); + matchingDict = NULL; + + if (result != kIOReturnSuccess) + USB_ERROR_STR (-darwin_to_errno (result), "libusb/darwin.c usb_setup_iterator: IOServiceGetMatchingServices: %s\n", + darwin_error_str(result)); + + return 0; +} + +static usb_device_t **usb_get_next_device (io_iterator_t deviceIterator, UInt32 *locationp) +{ + io_cf_plugin_ref_t *plugInInterface = NULL; + usb_device_t **device; + io_service_t usbDevice; + long result, score; + + if (!IOIteratorIsValid (deviceIterator) || !(usbDevice = IOIteratorNext(deviceIterator))) + return NULL; + + result = IOCreatePlugInInterfaceForService(usbDevice, kIOUSBDeviceUserClientTypeID, + kIOCFPlugInInterfaceID, &plugInInterface, + &score); + + result = IOObjectRelease(usbDevice); + if (result || !plugInInterface) + return NULL; + + (*plugInInterface)->QueryInterface(plugInInterface, CFUUIDGetUUIDBytes(DeviceInterfaceID), + (LPVOID)&device); + + (*plugInInterface)->Stop(plugInInterface); + IODestroyPlugInInterface (plugInInterface); + plugInInterface = NULL; + + (*(device))->GetLocationID(device, locationp); + + return device; +} + +int usb_os_open(usb_dev_handle *dev) +{ + struct darwin_dev_handle *device; + + io_return_t result; + io_iterator_t deviceIterator; + + usb_device_t **darwin_device; + + UInt32 location = *((UInt32 *)dev->device->dev); + UInt32 dlocation; + + if (!dev) + USB_ERROR(-ENXIO); + + if (masterPort == MACH_PORT_NULL) + USB_ERROR(-EINVAL); + + device = calloc(1, sizeof(struct darwin_dev_handle)); + if (!device) + USB_ERROR(-ENOMEM); + + if (usb_debug > 3) + fprintf(stderr, "usb_os_open: %04x:%04x\n", + dev->device->descriptor.idVendor, + dev->device->descriptor.idProduct); + + if ((result = usb_setup_iterator (&deviceIterator)) < 0) + return result; + + /* This port of libusb uses locations to keep track of devices. */ + while ((darwin_device = usb_get_next_device (deviceIterator, &dlocation)) != NULL) { + if (dlocation == location) + break; + + (*darwin_device)->Release(darwin_device); + } + + IOObjectRelease(deviceIterator); + device->device = darwin_device; + + if (device->device == NULL) + USB_ERROR_STR (-ENOENT, "usb_os_open: %s\n", "Device not found!"); + +#if !defined (LIBUSB_NO_SEIZE_DEVICE) + result = (*(device->device))->USBDeviceOpenSeize (device->device); +#else + /* No Seize in OS X 10.0 (Darwin 1.4) */ + result = (*(device->device))->USBDeviceOpen (device->device); +#endif + + if (result != kIOReturnSuccess) { + switch (result) { + case kIOReturnExclusiveAccess: + if (usb_debug > 0) + fprintf (stderr, "usb_os_open(USBDeviceOpenSeize): %s\n", darwin_error_str(result)); + break; + default: + (*(device->device))->Release (device->device); + USB_ERROR_STR(-darwin_to_errno (result), "usb_os_open(USBDeviceOpenSeize): %s", + darwin_error_str(result)); + } + + device->open = 0; + } else + device->open = 1; + + dev->impl_info = device; + dev->interface = -1; + dev->altsetting = -1; + + device->num_endpoints = 0; + device->endpoint_addrs = NULL; + + return 0; +} + +int usb_os_close(usb_dev_handle *dev) +{ + struct darwin_dev_handle *device; + io_return_t result; + + if (!dev) + USB_ERROR(-ENXIO); + + if ((device = dev->impl_info) == NULL) + USB_ERROR(-ENOENT); + + usb_release_interface(dev, dev->interface); + + if (usb_debug > 3) + fprintf(stderr, "usb_os_close: %04x:%04x\n", + dev->device->descriptor.idVendor, + dev->device->descriptor.idProduct); + + if (device->open == 1) + result = (*(device->device))->USBDeviceClose(device->device); + else + result = kIOReturnSuccess; + + /* device may not need to be released, but if it has to... */ + (*(device->device))->Release(device->device); + + if (result != kIOReturnSuccess) + USB_ERROR_STR(-darwin_to_errno(result), "usb_os_close(USBDeviceClose): %s", darwin_error_str(result)); + + free (device); + + return 0; +} + +static int get_endpoints (struct darwin_dev_handle *device) +{ + io_return_t ret; + + u_int8_t numep, direction, number; + u_int8_t dont_care1, dont_care3; + u_int16_t dont_care2; + + int i; + + if (device == NULL || device->interface == NULL) + return -EINVAL; + + if (usb_debug > 1) + fprintf(stderr, "libusb/darwin.c get_endpoints: building table of endpoints.\n"); + + /* retrieve the total number of endpoints on this interface */ + ret = (*(device->interface))->GetNumEndpoints(device->interface, &numep); + if ( ret ) { + if ( usb_debug > 1 ) + fprintf ( stderr, "get_endpoints: interface is %p\n", device->interface ); + + USB_ERROR_STR ( -ret, "get_endpoints: can't get number of endpoints for interface" ); + } + + free (device->endpoint_addrs); + device->endpoint_addrs = calloc (sizeof (unsigned char), numep); + + /* iterate through pipe references */ + for (i = 1 ; i <= numep ; i++) { + ret = (*(device->interface))->GetPipeProperties(device->interface, i, &direction, &number, + &dont_care1, &dont_care2, &dont_care3); + + if (ret != kIOReturnSuccess) { + fprintf (stderr, "get_endpoints: an error occurred getting pipe information on pipe %d\n", + i ); + USB_ERROR_STR(-darwin_to_errno(ret), "get_endpoints(GetPipeProperties): %s", darwin_error_str(ret)); + } + + if (usb_debug > 1) + fprintf (stderr, "get_endpoints: Pipe %i: DIR: %i number: %i\n", i, direction, number); + + device->endpoint_addrs[i - 1] = ((direction << 7 & USB_ENDPOINT_DIR_MASK) | + (number & USB_ENDPOINT_ADDRESS_MASK)); + } + + device->num_endpoints = numep; + + if (usb_debug > 1) + fprintf(stderr, "libusb/darwin.c get_endpoints: complete.\n"); + + return 0; +} + +static int claim_interface (usb_dev_handle *dev, int interface) +{ + io_iterator_t interface_iterator; + io_service_t usbInterface = IO_OBJECT_NULL; + io_return_t result; + io_cf_plugin_ref_t *plugInInterface = NULL; + + IOUSBFindInterfaceRequest request; + + struct darwin_dev_handle *device; + long score; + int current_interface; + + device = dev->impl_info; + + request.bInterfaceClass = kIOUSBFindInterfaceDontCare; + request.bInterfaceSubClass = kIOUSBFindInterfaceDontCare; + request.bInterfaceProtocol = kIOUSBFindInterfaceDontCare; + request.bAlternateSetting = kIOUSBFindInterfaceDontCare; + + result = (*(device->device))->CreateInterfaceIterator(device->device, &request, &interface_iterator); + if (result != kIOReturnSuccess) + USB_ERROR_STR (-darwin_to_errno(result), "claim_interface(CreateInterfaceIterator): %s", + darwin_error_str(result)); + + for ( current_interface=0 ; current_interface <= interface ; current_interface++ ) { + usbInterface = IOIteratorNext(interface_iterator); + if ( usb_debug > 3 ) + fprintf ( stderr, "Interface %d of device is 0x%08x\n", + current_interface, usbInterface ); + } + + current_interface--; + + /* the interface iterator is no longer needed, release it */ + IOObjectRelease(interface_iterator); + + if (!usbInterface) { + u_int8_t nConfig; /* Index of configuration to use */ + IOUSBConfigurationDescriptorPtr configDesc; /* to describe which configuration to select */ + /* Only a composite class device with no vendor-specific driver will + be configured. Otherwise, we need to do it ourselves, or there + will be no interfaces for the device. */ + + if ( usb_debug > 3 ) + fprintf ( stderr,"claim_interface: No interface found; selecting configuration\n" ); + + result = (*(device->device))->GetNumberOfConfigurations ( device->device, &nConfig ); + if (result != kIOReturnSuccess) + USB_ERROR_STR(-darwin_to_errno(result), "claim_interface(GetNumberOfConfigurations): %s", + darwin_error_str(result)); + + if (nConfig < 1) + USB_ERROR_STR(-ENXIO ,"claim_interface(GetNumberOfConfigurations): no configurations"); + else if ( nConfig > 1 && usb_debug > 0 ) + fprintf ( stderr, "claim_interface: device has more than one" + " configuration, using the first (warning)\n" ); + + if ( usb_debug > 3 ) + fprintf ( stderr, "claim_interface: device has %d configuration%s\n", + (int)nConfig, (nConfig>1?"s":"") ); + + /* Always use the first configuration */ + result = (*(device->device))->GetConfigurationDescriptorPtr ( (device->device), 0, &configDesc ); + if (result != kIOReturnSuccess) { + if (device->open == 1) { + (*(device->device))->USBDeviceClose ( (device->device) ); + (*(device->device))->Release ( (device->device) ); + } + + USB_ERROR_STR(-darwin_to_errno(result), "claim_interface(GetConfigurationDescriptorPtr): %s", + darwin_error_str(result)); + } else if ( usb_debug > 3 ) + fprintf ( stderr, "claim_interface: configuration value is %d\n", + configDesc->bConfigurationValue ); + + if (device->open == 1) { + result = (*(device->device))->SetConfiguration ( (device->device), configDesc->bConfigurationValue ); + + if (result != kIOReturnSuccess) { + (*(device->device))->USBDeviceClose ( (device->device) ); + (*(device->device))->Release ( (device->device) ); + + USB_ERROR_STR(-darwin_to_errno(result), "claim_interface(SetConfiguration): %s", + darwin_error_str(result)); + } + + dev->config = configDesc->bConfigurationValue; + } + + request.bInterfaceClass = kIOUSBFindInterfaceDontCare; + request.bInterfaceSubClass = kIOUSBFindInterfaceDontCare; + request.bInterfaceProtocol = kIOUSBFindInterfaceDontCare; + request.bAlternateSetting = kIOUSBFindInterfaceDontCare; + + /* Now go back and get the chosen interface */ + result = (*(device->device))->CreateInterfaceIterator(device->device, &request, &interface_iterator); + if (result != kIOReturnSuccess) + USB_ERROR_STR (-darwin_to_errno(result), "claim_interface(CreateInterfaceIterator): %s", + darwin_error_str(result)); + + for (current_interface = 0 ; current_interface <= interface ; current_interface++) { + usbInterface = IOIteratorNext(interface_iterator); + + if ( usb_debug > 3 ) + fprintf ( stderr, "claim_interface: Interface %d of device is 0x%08x\n", + current_interface, usbInterface ); + } + current_interface--; + + /* the interface iterator is no longer needed, release it */ + IOObjectRelease(interface_iterator); + + if (!usbInterface) + USB_ERROR_STR (-ENOENT, "claim_interface: interface iterator returned NULL"); + } + + result = IOCreatePlugInInterfaceForService(usbInterface, + kIOUSBInterfaceUserClientTypeID, + kIOCFPlugInInterfaceID, + &plugInInterface, &score); + /* No longer need the usbInterface object after getting the plug-in */ + result = IOObjectRelease(usbInterface); + if (result || !plugInInterface) + USB_ERROR(-ENOENT); + + /* Now create the device interface for the interface */ + result = (*plugInInterface)->QueryInterface(plugInInterface, + CFUUIDGetUUIDBytes(InterfaceInterfaceID), + (LPVOID) &device->interface); + + /* No longer need the intermediate plug-in */ + (*plugInInterface)->Stop(plugInInterface); + IODestroyPlugInInterface (plugInInterface); + + if (result != kIOReturnSuccess) + USB_ERROR_STR(-darwin_to_errno(result), "claim_interface(QueryInterface): %s", + darwin_error_str(result)); + + if (!device->interface) + USB_ERROR(-EACCES); + + if ( usb_debug > 3 ) + fprintf ( stderr, "claim_interface: Interface %d of device from QueryInterface is %p\n", + current_interface, device->interface); + + /* claim the interface */ + result = (*(device->interface))->USBInterfaceOpen(device->interface); + if (result) + USB_ERROR_STR(-darwin_to_errno(result), "claim_interface(USBInterfaceOpen): %s", + darwin_error_str(result)); + + result = get_endpoints (device); + + if (result) { + /* this should not happen */ + usb_release_interface (dev, interface); + USB_ERROR_STR ( result, "claim_interface: could not build endpoint table"); + } + + return 0; +} + +int usb_set_configuration (usb_dev_handle *dev, int configuration) +{ + struct darwin_dev_handle *device; + io_return_t result; + int interface; + + if ( usb_debug > 3 ) + fprintf ( stderr, "usb_set_configuration: called for config %x\n", configuration ); + + if (!dev) + USB_ERROR_STR ( -ENXIO, "usb_set_configuration: called with null device\n" ); + + if ((device = dev->impl_info) == NULL) + USB_ERROR_STR ( -ENOENT, "usb_set_configuration: device not properly initialized" ); + + /* Setting configuration will invalidate the interface, so we need + to reclaim it. First, dispose of existing interface, if any. */ + interface = dev->interface; + + if ( device->interface ) + usb_release_interface(dev, dev->interface); + + result = (*(device->device))->SetConfiguration(device->device, configuration); + + if (result) + USB_ERROR_STR(-darwin_to_errno(result), "usb_set_configuration(SetConfiguration): %s", + darwin_error_str(result)); + + /* Reclaim interface */ + if (interface != -1) + result = usb_claim_interface (dev, interface); + + dev->config = configuration; + + return result; +} + +int usb_claim_interface(usb_dev_handle *dev, int interface) +{ + struct darwin_dev_handle *device = dev->impl_info; + + io_return_t result; + + if ( usb_debug > 3 ) + fprintf ( stderr, "usb_claim_interface: called for interface %d\n", interface ); + + if (!device) + USB_ERROR_STR ( -ENOENT, "usb_claim_interface: device is NULL" ); + + if (!(device->device)) + USB_ERROR_STR ( -EINVAL, "usb_claim_interface: device->device is NULL" ); + + /* If we have already claimed an interface, release it */ + if ( device->interface ) + usb_release_interface(dev, dev->interface); + + result = claim_interface ( dev, interface ); + if ( result ) + USB_ERROR_STR ( result, "usb_claim_interface: couldn't claim interface" ); + + dev->interface = interface; + + /* interface is claimed and async IO is set up: return 0 */ + return 0; +} + +int usb_release_interface(usb_dev_handle *dev, int interface) +{ + struct darwin_dev_handle *device; + io_return_t result; + + if (!dev) + USB_ERROR(-ENXIO); + + if ((device = dev->impl_info) == NULL) + USB_ERROR(-ENOENT); + + /* interface is not open */ + if (!device->interface) + return 0; + + result = (*(device->interface))->USBInterfaceClose(device->interface); + + if (result != kIOReturnSuccess) + USB_ERROR_STR(-darwin_to_errno(result), "usb_release_interface(USBInterfaceClose): %s", + darwin_error_str(result)); + + result = (*(device->interface))->Release(device->interface); + + if (result != kIOReturnSuccess) + USB_ERROR_STR(-darwin_to_errno(result), "usb_release_interface(Release): %s", + darwin_error_str(result)); + + device->interface = NULL; + + free (device->endpoint_addrs); + + device->num_endpoints = 0; + device->endpoint_addrs = NULL; + + dev->interface = -1; + dev->altsetting = -1; + + return 0; +} + +int usb_set_altinterface(usb_dev_handle *dev, int alternate) +{ + struct darwin_dev_handle *device; + io_return_t result; + + if (!dev) + USB_ERROR(-ENXIO); + + if ((device = dev->impl_info) == NULL) + USB_ERROR(-ENOENT); + + /* interface is not open */ + if (!device->interface) + USB_ERROR_STR(-EACCES, "usb_set_altinterface: interface used without being claimed"); + + result = (*(device->interface))->SetAlternateInterface(device->interface, alternate); + + if (result) + USB_ERROR_STR(result, "usb_set_altinterface: could not set alternate interface"); + + dev->altsetting = alternate; + + result = get_endpoints (device); + if (result) { + /* this should not happen */ + USB_ERROR_STR ( result, "usb_set_altinterface: could not build endpoint table"); + } + + return 0; +} + +/* simple function that figures out what pipeRef is associated with an endpoint */ +static int ep_to_pipeRef (struct darwin_dev_handle *device, int ep) +{ + int i; + + if (usb_debug > 1) + fprintf(stderr, "libusb/darwin.c ep_to_pipeRef: Converting ep address to pipeRef.\n"); + + for (i = 0 ; i < device->num_endpoints ; i++) + if (device->endpoint_addrs[i] == ep) + return i + 1; + + /* No pipe found with the correct endpoint address */ + if (usb_debug > 1) + fprintf(stderr, "libusb/darwin.c ep_to_pipeRef: No pipeRef found with endpoint address 0x%02x.\n", ep); + + return -1; +} + +/* argument to handle multiple parameters to rw_completed */ +struct rw_complete_arg { + UInt32 io_size; + IOReturn result; + CFRunLoopRef cf_loop; +}; + +static void rw_completed(void *refcon, io_return_t result, void *io_size) +{ + struct rw_complete_arg *rw_arg = (struct rw_complete_arg *)refcon; + + if (usb_debug > 2) + fprintf(stderr, "io async operation completed: %s, size=%lu, result=0x%08x\n", darwin_error_str(result), + (UInt32)io_size, result); + + rw_arg->io_size = (UInt32)io_size; + rw_arg->result = result; + + CFRunLoopStop(rw_arg->cf_loop); +} + +static int usb_bulk_transfer (usb_dev_handle *dev, int ep, char *bytes, int size, int timeout, + rw_async_func_t rw_async, rw_async_to_func_t rw_async_to) +{ + struct darwin_dev_handle *device; + + io_return_t result = -1; + + CFRunLoopSourceRef cfSource; + int pipeRef; + + struct rw_complete_arg rw_arg; + + u_int8_t transferType; + + /* None of the values below are used in libusb for bulk transfers */ + u_int8_t direction, number, interval; + u_int16_t maxPacketSize; + + if (!dev) + USB_ERROR_STR ( -ENXIO, "usb_bulk_transfer: Called with NULL device" ); + + if ((device = dev->impl_info) == NULL) + USB_ERROR_STR ( -ENOENT, "usb_bulk_transfer: Device not open" ); + + /* interface is not open */ + if (!device->interface) + USB_ERROR_STR(-EACCES, "usb_bulk_transfer: Interface used before it was opened"); + + + /* Set up transfer */ + if ((pipeRef = ep_to_pipeRef(device, ep)) < 0) + USB_ERROR_STR ( -EINVAL, "usb_bulk_transfer: Invalid pipe reference" ); + + (*(device->interface))->GetPipeProperties (device->interface, pipeRef, &direction, &number, + &transferType, &maxPacketSize, &interval); + + (*(device->interface))->CreateInterfaceAsyncEventSource(device->interface, &cfSource); + CFRunLoopAddSource(CFRunLoopGetCurrent(), cfSource, kCFRunLoopDefaultMode); + + bzero((void *)&rw_arg, sizeof(struct rw_complete_arg)); + rw_arg.cf_loop = CFRunLoopGetCurrent(); + /* Transfer set up complete */ + + if (usb_debug > 0) + fprintf (stderr, "libusb/darwin.c usb_bulk_transfer: Transfering %i bytes of data on endpoint 0x%02x\n", + size, ep); + + /* Bulk transfer */ + if (transferType == kUSBInterrupt && usb_debug > 3) + fprintf (stderr, "libusb/darwin.c usb_bulk_transfer: USB pipe is an interrupt pipe. Timeouts will not be used.\n"); + + if ( transferType != kUSBInterrupt && rw_async_to != NULL) + + result = rw_async_to (device->interface, pipeRef, bytes, size, timeout, timeout, + (IOAsyncCallback1)rw_completed, (void *)&rw_arg); + else + result = rw_async (device->interface, pipeRef, bytes, size, (IOAsyncCallback1)rw_completed, + (void *)&rw_arg); + + if (result == kIOReturnSuccess) { + /* wait for write to complete */ + if (CFRunLoopRunInMode(kCFRunLoopDefaultMode, (timeout+999)/1000, true) == kCFRunLoopRunTimedOut) { + (*(device->interface))->AbortPipe(device->interface, pipeRef); + CFRunLoopRunInMode(kCFRunLoopDefaultMode, 0, true); /* Pick up aborted callback */ + if (usb_debug) + fprintf(stderr, "usb_bulk_read: input timed out\n"); + } + } + + CFRunLoopRemoveSource(CFRunLoopGetCurrent(), cfSource, kCFRunLoopDefaultMode); + + /* Check the return code of both the write and completion functions. */ + if (result != kIOReturnSuccess || (rw_arg.result != kIOReturnSuccess && + rw_arg.result != kIOReturnAborted) ) { + int error_code; + char *error_str; + + if (result == kIOReturnSuccess) { + error_code = darwin_to_errno (rw_arg.result); + error_str = darwin_error_str (rw_arg.result); + } else { + error_code = darwin_to_errno(result); + error_str = darwin_error_str (result); + } + + if (transferType != kUSBInterrupt && rw_async_to != NULL) + USB_ERROR_STR(-error_code, "usb_bulk_transfer (w/ Timeout): %s", error_str); + else + USB_ERROR_STR(-error_code, "usb_bulk_transfer (No Timeout): %s", error_str); + } + + return rw_arg.io_size; +} + +int usb_bulk_write(usb_dev_handle *dev, int ep, char *bytes, int size, int timeout) +{ + int result; + rw_async_to_func_t to_func = NULL; + struct darwin_dev_handle *device; + + if (dev == NULL || dev->impl_info == NULL) + return -EINVAL; + + device = dev->impl_info; + +#if !defined (LIBUSB_NO_TIMEOUT_INTERFACE) + to_func = (*(device->interface))->WritePipeAsyncTO; +#endif + + if ((result = usb_bulk_transfer (dev, ep, bytes, size, timeout, + (*(device->interface))->WritePipeAsync, to_func)) < 0) + USB_ERROR_STR (result, "usb_bulk_write: An error occured during write (see messages above)"); + + return result; +} + +int usb_bulk_read(usb_dev_handle *dev, int ep, char *bytes, int size, int timeout) +{ + int result; + rw_async_to_func_t to_func = NULL; + struct darwin_dev_handle *device; + + if (dev == NULL || dev->impl_info == NULL) + return -EINVAL; + + ep |= 0x80; + + device = dev->impl_info; + +#if !defined (LIBUSB_NO_TIMEOUT_INTERFACE) + to_func = (*(device->interface))->ReadPipeAsyncTO; +#endif + + if ((result = usb_bulk_transfer (dev, ep, bytes, size, timeout, + (*(device->interface))->ReadPipeAsync, to_func)) < 0) + USB_ERROR_STR (result, "usb_bulk_read: An error occured during read (see messages above)"); + + return result; +} + +/* interrupt endpoints seem to be treated just like any other endpoint under OSX/Darwin */ +int usb_interrupt_write(usb_dev_handle *dev, int ep, char *bytes, int size, + int timeout) +{ + return usb_bulk_write (dev, ep, bytes, size, timeout); +} + +int usb_interrupt_read(usb_dev_handle *dev, int ep, char *bytes, int size, + int timeout) +{ + return usb_bulk_read (dev, ep, bytes, size, timeout); +} + +int usb_control_msg(usb_dev_handle *dev, int requesttype, int request, + int value, int index, char *bytes, int size, int timeout) +{ + struct darwin_dev_handle *device = dev->impl_info; + + io_return_t result; + +#if !defined (LIBUSB_NO_TIMEOUT_DEVICE) + IOUSBDevRequestTO urequest; +#else + IOUSBDevRequest urequest; +#endif + + if (usb_debug >= 3) + fprintf(stderr, "usb_control_msg: %d %d %d %d %p %d %d\n", + requesttype, request, value, index, bytes, size, timeout); + + bzero(&urequest, sizeof(urequest)); + + urequest.bmRequestType = requesttype; + urequest.bRequest = request; + urequest.wValue = value; + urequest.wIndex = index; + urequest.wLength = size; + urequest.pData = bytes; +#if !defined (LIBUSB_NO_TIMEOUT_DEVICE) + urequest.completionTimeout = timeout; + urequest.noDataTimeout = timeout; + + result = (*(device->device))->DeviceRequestTO(device->device, &urequest); +#else + result = (*(device->device))->DeviceRequest(device->device, &urequest); +#endif + if (result != kIOReturnSuccess) + USB_ERROR_STR(-darwin_to_errno(result), "usb_control_msg(DeviceRequestTO): %s", darwin_error_str(result)); + + /* Bytes transfered is stored in the wLenDone field*/ + return urequest.wLenDone; +} + +int usb_os_find_busses(struct usb_bus **busses) +{ + struct usb_bus *fbus = NULL; + + io_iterator_t deviceIterator; + io_return_t result; + + usb_device_t **device; + + UInt32 location; + + char buf[20]; + int i = 1; + + /* Create a master port for communication with IOKit (this should + have been created if the user called usb_init() )*/ + if (masterPort == MACH_PORT_NULL) { + usb_init (); + + if (masterPort == MACH_PORT_NULL) + USB_ERROR(-ENOENT); + } + + if ((result = usb_setup_iterator (&deviceIterator)) < 0) + return result; + + while ((device = usb_get_next_device (deviceIterator, &location)) != NULL) { + struct usb_bus *bus; + + if (location & 0x00ffffff) + continue; + + bus = calloc(1, sizeof(struct usb_bus)); + if (bus == NULL) + USB_ERROR(-ENOMEM); + + sprintf(buf, "%03i", i++); + bus->location = location; + + strncpy(bus->dirname, buf, sizeof(bus->dirname) - 1); + bus->dirname[sizeof(bus->dirname) - 1] = 0; + + LIST_ADD(fbus, bus); + + if (usb_debug >= 2) + fprintf(stderr, "usb_os_find_busses: Found %s\n", bus->dirname); + + (*(device))->Release(device); + } + + IOObjectRelease(deviceIterator); + + *busses = fbus; + + return 0; +} + +int usb_os_find_devices(struct usb_bus *bus, struct usb_device **devices) +{ + struct usb_device *fdev = NULL; + + io_iterator_t deviceIterator; + io_return_t result; + + usb_device_t **device; + + u_int16_t address; + UInt32 location; + UInt32 bus_loc = bus->location; + + /* for use in retrieving device description */ + IOUSBDevRequest req; + + /* a master port should have been created by usb_os_init */ + if (masterPort == MACH_PORT_NULL) + USB_ERROR(-ENOENT); + + if ((result = usb_setup_iterator (&deviceIterator)) < 0) + return result; + + /* Set up request for device descriptor */ + req.bmRequestType = USBmakebmRequestType(kUSBIn, kUSBStandard, kUSBDevice); + req.bRequest = kUSBRqGetDescriptor; + req.wValue = kUSBDeviceDesc << 8; + req.wIndex = 0; + req.wLength = sizeof(IOUSBDeviceDescriptor); + + + while ((device = usb_get_next_device (deviceIterator, &location)) != NULL) { + unsigned char device_desc[DEVICE_DESC_LENGTH]; + + result = (*(device))->GetDeviceAddress(device, (USBDeviceAddress *)&address); + + if (usb_debug >= 2) + fprintf(stderr, "usb_os_find_devices: Found USB device at location 0x%08lx\n", location); + + /* first byte of location appears to be associated with the device's bus */ + if (location >> 24 == bus_loc >> 24) { + struct usb_device *dev; + + dev = calloc(1, sizeof(struct usb_device)); + if (dev == NULL) + USB_ERROR(-ENOMEM); + + dev->bus = bus; + + req.pData = device_desc; + result = (*(device))->DeviceRequest(device, &req); + + usb_parse_descriptor(device_desc, "bbwbbbbwwwbbbb", &dev->descriptor); + + sprintf(dev->filename, "%03i-%04x-%04x-%02x-%02x", address, + dev->descriptor.idVendor, dev->descriptor.idProduct, + dev->descriptor.bDeviceClass, dev->descriptor.bDeviceSubClass); + + dev->dev = (USBDeviceAddress *)malloc(4); + memcpy(dev->dev, &location, 4); + + LIST_ADD(fdev, dev); + + if (usb_debug >= 2) + fprintf(stderr, "usb_os_find_devices: Found %s on %s at location 0x%08lx\n", + dev->filename, bus->dirname, location); + } + + /* release the device now */ + (*(device))->Release(device); + } + + IOObjectRelease(deviceIterator); + + *devices = fdev; + + return 0; +} + +int usb_os_determine_children(struct usb_bus *bus) +{ + /* Nothing yet */ + return 0; +} + +void usb_os_init(void) +{ + if (masterPort == MACH_PORT_NULL) { + IOMasterPort(masterPort, &masterPort); + + gNotifyPort = IONotificationPortCreate(masterPort); + } +} + +void usb_os_cleanup (void) +{ + if (masterPort != MACH_PORT_NULL) + darwin_cleanup (); +} + +int usb_resetep(usb_dev_handle *dev, unsigned int ep) +{ + struct darwin_dev_handle *device; + + io_return_t result = -1; + + int pipeRef; + + if (!dev) + USB_ERROR(-ENXIO); + + if ((device = dev->impl_info) == NULL) + USB_ERROR(-ENOENT); + + /* interface is not open */ + if (!device->interface) + USB_ERROR_STR(-EACCES, "usb_resetep: interface used without being claimed"); + + if ((pipeRef = ep_to_pipeRef(device, ep)) == -1) + USB_ERROR(-EINVAL); + + result = (*(device->interface))->ResetPipe(device->interface, pipeRef); + + if (result != kIOReturnSuccess) + USB_ERROR_STR(-darwin_to_errno(result), "usb_resetep(ResetPipe): %s", darwin_error_str(result)); + + return 0; +} + +int usb_clear_halt(usb_dev_handle *dev, unsigned int ep) +{ + struct darwin_dev_handle *device; + + io_return_t result = -1; + + int pipeRef; + + if (!dev) + USB_ERROR(-ENXIO); + + if ((device = dev->impl_info) == NULL) + USB_ERROR(-ENOENT); + + /* interface is not open */ + if (!device->interface) + USB_ERROR_STR(-EACCES, "usb_clear_halt: interface used without being claimed"); + + if ((pipeRef = ep_to_pipeRef(device, ep)) == -1) + USB_ERROR(-EINVAL); + + result = (*(device->interface))->ClearPipeStall(device->interface, pipeRef); + + if (result != kIOReturnSuccess) + USB_ERROR_STR(-darwin_to_errno(result), "usb_clear_halt(ClearPipeStall): %s", darwin_error_str(result)); + + return 0; +} + +int usb_reset(usb_dev_handle *dev) +{ + struct darwin_dev_handle *device; + + io_return_t result; + + if (!dev) + USB_ERROR(-ENXIO); + + if ((device = dev->impl_info) == NULL) + USB_ERROR(-ENOENT); + + if (!device->device) + USB_ERROR_STR(-ENOENT, "usb_reset: no such device"); + + result = (*(device->device))->ResetDevice(device->device); + + if (result != kIOReturnSuccess) + USB_ERROR_STR(-darwin_to_errno(result), "usb_reset(ResetDevice): %s", darwin_error_str(result)); + + return 0; +} diff --git a/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/depcomp b/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/depcomp new file mode 100644 index 000000000..9e5522d04 --- /dev/null +++ b/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/depcomp @@ -0,0 +1,520 @@ +#! /bin/sh +# depcomp - compile a program generating dependencies as side-effects + +scriptversion=2003-11-08.23 + +# Copyright (C) 1999, 2000, 2003 Free Software Foundation, Inc. + +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. + +# 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. + +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA +# 02111-1307, USA. + +# As a special exception to the GNU General Public License, if you +# distribute this file as part of a program that contains a +# configuration script generated by Autoconf, you may include it under +# the same distribution terms that you use for the rest of that program. + +# Originally written by Alexandre Oliva . + +case $1 in + '') + echo "$0: No command. Try \`$0 --help' for more information." 1>&2 + exit 1; + ;; + -h | --h*) + cat <<\EOF +Usage: depcomp [--help] [--version] PROGRAM [ARGS] + +Run PROGRAMS ARGS to compile a file, generating dependencies +as side-effects. + +Environment variables: + depmode Dependency tracking mode. + source Source file read by `PROGRAMS ARGS'. + object Object file output by `PROGRAMS ARGS'. + depfile Dependency file to output. + tmpdepfile Temporary file to use when outputing dependencies. + libtool Whether libtool is used (yes/no). + +Report bugs to . +EOF + exit 0 + ;; + -v | --v*) + echo "depcomp $scriptversion" + exit 0 + ;; +esac + +if test -z "$depmode" || test -z "$source" || test -z "$object"; then + echo "depcomp: Variables source, object and depmode must be set" 1>&2 + exit 1 +fi +# `libtool' can also be set to `yes' or `no'. + +if test -z "$depfile"; then + base=`echo "$object" | sed -e 's,^.*/,,' -e 's,\.\([^.]*\)$,.P\1,'` + dir=`echo "$object" | sed 's,/.*$,/,'` + if test "$dir" = "$object"; then + dir= + fi + # FIXME: should be _deps on DOS. + depfile="$dir.deps/$base" +fi + +tmpdepfile=${tmpdepfile-`echo "$depfile" | sed 's/\.\([^.]*\)$/.T\1/'`} + +rm -f "$tmpdepfile" + +# Some modes work just like other modes, but use different flags. We +# parameterize here, but still list the modes in the big case below, +# to make depend.m4 easier to write. Note that we *cannot* use a case +# here, because this file can only contain one case statement. +if test "$depmode" = hp; then + # HP compiler uses -M and no extra arg. + gccflag=-M + depmode=gcc +fi + +if test "$depmode" = dashXmstdout; then + # This is just like dashmstdout with a different argument. + dashmflag=-xM + depmode=dashmstdout +fi + +case "$depmode" in +gcc3) +## gcc 3 implements dependency tracking that does exactly what +## we want. Yay! Note: for some reason libtool 1.4 doesn't like +## it if -MD -MP comes after the -MF stuff. Hmm. + "$@" -MT "$object" -MD -MP -MF "$tmpdepfile" + stat=$? + if test $stat -eq 0; then : + else + rm -f "$tmpdepfile" + exit $stat + fi + mv "$tmpdepfile" "$depfile" + ;; + +gcc) +## There are various ways to get dependency output from gcc. Here's +## why we pick this rather obscure method: +## - Don't want to use -MD because we'd like the dependencies to end +## up in a subdir. Having to rename by hand is ugly. +## (We might end up doing this anyway to support other compilers.) +## - The DEPENDENCIES_OUTPUT environment variable makes gcc act like +## -MM, not -M (despite what the docs say). +## - Using -M directly means running the compiler twice (even worse +## than renaming). + if test -z "$gccflag"; then + gccflag=-MD, + fi + "$@" -Wp,"$gccflag$tmpdepfile" + stat=$? + if test $stat -eq 0; then : + else + rm -f "$tmpdepfile" + exit $stat + fi + rm -f "$depfile" + echo "$object : \\" > "$depfile" + alpha=ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz +## The second -e expression handles DOS-style file names with drive letters. + sed -e 's/^[^:]*: / /' \ + -e 's/^['$alpha']:\/[^:]*: / /' < "$tmpdepfile" >> "$depfile" +## This next piece of magic avoids the `deleted header file' problem. +## The problem is that when a header file which appears in a .P file +## is deleted, the dependency causes make to die (because there is +## typically no way to rebuild the header). We avoid this by adding +## dummy dependencies for each header file. Too bad gcc doesn't do +## this for us directly. + tr ' ' ' +' < "$tmpdepfile" | +## Some versions of gcc put a space before the `:'. On the theory +## that the space means something, we add a space to the output as +## well. +## Some versions of the HPUX 10.20 sed can't process this invocation +## correctly. Breaking it into two sed invocations is a workaround. + sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile" + rm -f "$tmpdepfile" + ;; + +hp) + # This case exists only to let depend.m4 do its work. It works by + # looking at the text of this script. This case will never be run, + # since it is checked for above. + exit 1 + ;; + +sgi) + if test "$libtool" = yes; then + "$@" "-Wp,-MDupdate,$tmpdepfile" + else + "$@" -MDupdate "$tmpdepfile" + fi + stat=$? + if test $stat -eq 0; then : + else + rm -f "$tmpdepfile" + exit $stat + fi + rm -f "$depfile" + + if test -f "$tmpdepfile"; then # yes, the sourcefile depend on other files + echo "$object : \\" > "$depfile" + + # Clip off the initial element (the dependent). Don't try to be + # clever and replace this with sed code, as IRIX sed won't handle + # lines with more than a fixed number of characters (4096 in + # IRIX 6.2 sed, 8192 in IRIX 6.5). We also remove comment lines; + # the IRIX cc adds comments like `#:fec' to the end of the + # dependency line. + tr ' ' ' +' < "$tmpdepfile" \ + | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' | \ + tr ' +' ' ' >> $depfile + echo >> $depfile + + # The second pass generates a dummy entry for each header file. + tr ' ' ' +' < "$tmpdepfile" \ + | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \ + >> $depfile + else + # The sourcefile does not contain any dependencies, so just + # store a dummy comment line, to avoid errors with the Makefile + # "include basename.Plo" scheme. + echo "#dummy" > "$depfile" + fi + rm -f "$tmpdepfile" + ;; + +aix) + # The C for AIX Compiler uses -M and outputs the dependencies + # in a .u file. In older versions, this file always lives in the + # current directory. Also, the AIX compiler puts `$object:' at the + # start of each line; $object doesn't have directory information. + # Version 6 uses the directory in both cases. + stripped=`echo "$object" | sed 's/\(.*\)\..*$/\1/'` + tmpdepfile="$stripped.u" + if test "$libtool" = yes; then + "$@" -Wc,-M + else + "$@" -M + fi + stat=$? + + if test -f "$tmpdepfile"; then : + else + stripped=`echo "$stripped" | sed 's,^.*/,,'` + tmpdepfile="$stripped.u" + fi + + if test $stat -eq 0; then : + else + rm -f "$tmpdepfile" + exit $stat + fi + + if test -f "$tmpdepfile"; then + outname="$stripped.o" + # Each line is of the form `foo.o: dependent.h'. + # Do two passes, one to just change these to + # `$object: dependent.h' and one to simply `dependent.h:'. + sed -e "s,^$outname:,$object :," < "$tmpdepfile" > "$depfile" + sed -e "s,^$outname: \(.*\)$,\1:," < "$tmpdepfile" >> "$depfile" + else + # The sourcefile does not contain any dependencies, so just + # store a dummy comment line, to avoid errors with the Makefile + # "include basename.Plo" scheme. + echo "#dummy" > "$depfile" + fi + rm -f "$tmpdepfile" + ;; + +icc) + # Intel's C compiler understands `-MD -MF file'. However on + # icc -MD -MF foo.d -c -o sub/foo.o sub/foo.c + # ICC 7.0 will fill foo.d with something like + # foo.o: sub/foo.c + # foo.o: sub/foo.h + # which is wrong. We want: + # sub/foo.o: sub/foo.c + # sub/foo.o: sub/foo.h + # sub/foo.c: + # sub/foo.h: + # ICC 7.1 will output + # foo.o: sub/foo.c sub/foo.h + # and will wrap long lines using \ : + # foo.o: sub/foo.c ... \ + # sub/foo.h ... \ + # ... + + "$@" -MD -MF "$tmpdepfile" + stat=$? + if test $stat -eq 0; then : + else + rm -f "$tmpdepfile" + exit $stat + fi + rm -f "$depfile" + # Each line is of the form `foo.o: dependent.h', + # or `foo.o: dep1.h dep2.h \', or ` dep3.h dep4.h \'. + # Do two passes, one to just change these to + # `$object: dependent.h' and one to simply `dependent.h:'. + sed "s,^[^:]*:,$object :," < "$tmpdepfile" > "$depfile" + # Some versions of the HPUX 10.20 sed can't process this invocation + # correctly. Breaking it into two sed invocations is a workaround. + sed 's,^[^:]*: \(.*\)$,\1,;s/^\\$//;/^$/d;/:$/d' < "$tmpdepfile" | + sed -e 's/$/ :/' >> "$depfile" + rm -f "$tmpdepfile" + ;; + +tru64) + # The Tru64 compiler uses -MD to generate dependencies as a side + # effect. `cc -MD -o foo.o ...' puts the dependencies into `foo.o.d'. + # At least on Alpha/Redhat 6.1, Compaq CCC V6.2-504 seems to put + # dependencies in `foo.d' instead, so we check for that too. + # Subdirectories are respected. + dir=`echo "$object" | sed -e 's|/[^/]*$|/|'` + test "x$dir" = "x$object" && dir= + base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'` + + if test "$libtool" = yes; then + tmpdepfile1="$dir.libs/$base.lo.d" + tmpdepfile2="$dir.libs/$base.d" + "$@" -Wc,-MD + else + tmpdepfile1="$dir$base.o.d" + tmpdepfile2="$dir$base.d" + "$@" -MD + fi + + stat=$? + if test $stat -eq 0; then : + else + rm -f "$tmpdepfile1" "$tmpdepfile2" + exit $stat + fi + + if test -f "$tmpdepfile1"; then + tmpdepfile="$tmpdepfile1" + else + tmpdepfile="$tmpdepfile2" + fi + if test -f "$tmpdepfile"; then + sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile" + # That's a tab and a space in the []. + sed -e 's,^.*\.[a-z]*:[ ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile" + else + echo "#dummy" > "$depfile" + fi + rm -f "$tmpdepfile" + ;; + +#nosideeffect) + # This comment above is used by automake to tell side-effect + # dependency tracking mechanisms from slower ones. + +dashmstdout) + # Important note: in order to support this mode, a compiler *must* + # always write the preprocessed file to stdout, regardless of -o. + "$@" || exit $? + + # Remove the call to Libtool. + if test "$libtool" = yes; then + while test $1 != '--mode=compile'; do + shift + done + shift + fi + + # Remove `-o $object'. + IFS=" " + for arg + do + case $arg in + -o) + shift + ;; + $object) + shift + ;; + *) + set fnord "$@" "$arg" + shift # fnord + shift # $arg + ;; + esac + done + + test -z "$dashmflag" && dashmflag=-M + # Require at least two characters before searching for `:' + # in the target name. This is to cope with DOS-style filenames: + # a dependency such as `c:/foo/bar' could be seen as target `c' otherwise. + "$@" $dashmflag | + sed 's:^[ ]*[^: ][^:][^:]*\:[ ]*:'"$object"'\: :' > "$tmpdepfile" + rm -f "$depfile" + cat < "$tmpdepfile" > "$depfile" + tr ' ' ' +' < "$tmpdepfile" | \ +## Some versions of the HPUX 10.20 sed can't process this invocation +## correctly. Breaking it into two sed invocations is a workaround. + sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile" + rm -f "$tmpdepfile" + ;; + +dashXmstdout) + # This case only exists to satisfy depend.m4. It is never actually + # run, as this mode is specially recognized in the preamble. + exit 1 + ;; + +makedepend) + "$@" || exit $? + # Remove any Libtool call + if test "$libtool" = yes; then + while test $1 != '--mode=compile'; do + shift + done + shift + fi + # X makedepend + shift + cleared=no + for arg in "$@"; do + case $cleared in + no) + set ""; shift + cleared=yes ;; + esac + case "$arg" in + -D*|-I*) + set fnord "$@" "$arg"; shift ;; + # Strip any option that makedepend may not understand. Remove + # the object too, otherwise makedepend will parse it as a source file. + -*|$object) + ;; + *) + set fnord "$@" "$arg"; shift ;; + esac + done + obj_suffix="`echo $object | sed 's/^.*\././'`" + touch "$tmpdepfile" + ${MAKEDEPEND-makedepend} -o"$obj_suffix" -f"$tmpdepfile" "$@" + rm -f "$depfile" + cat < "$tmpdepfile" > "$depfile" + sed '1,2d' "$tmpdepfile" | tr ' ' ' +' | \ +## Some versions of the HPUX 10.20 sed can't process this invocation +## correctly. Breaking it into two sed invocations is a workaround. + sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile" + rm -f "$tmpdepfile" "$tmpdepfile".bak + ;; + +cpp) + # Important note: in order to support this mode, a compiler *must* + # always write the preprocessed file to stdout. + "$@" || exit $? + + # Remove the call to Libtool. + if test "$libtool" = yes; then + while test $1 != '--mode=compile'; do + shift + done + shift + fi + + # Remove `-o $object'. + IFS=" " + for arg + do + case $arg in + -o) + shift + ;; + $object) + shift + ;; + *) + set fnord "$@" "$arg" + shift # fnord + shift # $arg + ;; + esac + done + + "$@" -E | + sed -n '/^# [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' | + sed '$ s: \\$::' > "$tmpdepfile" + rm -f "$depfile" + echo "$object : \\" > "$depfile" + cat < "$tmpdepfile" >> "$depfile" + sed < "$tmpdepfile" '/^$/d;s/^ //;s/ \\$//;s/$/ :/' >> "$depfile" + rm -f "$tmpdepfile" + ;; + +msvisualcpp) + # Important note: in order to support this mode, a compiler *must* + # always write the preprocessed file to stdout, regardless of -o, + # because we must use -o when running libtool. + "$@" || exit $? + IFS=" " + for arg + do + case "$arg" in + "-Gm"|"/Gm"|"-Gi"|"/Gi"|"-ZI"|"/ZI") + set fnord "$@" + shift + shift + ;; + *) + set fnord "$@" "$arg" + shift + shift + ;; + esac + done + "$@" -E | + sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::echo "`cygpath -u \\"\1\\"`":p' | sort | uniq > "$tmpdepfile" + rm -f "$depfile" + echo "$object : \\" > "$depfile" + . "$tmpdepfile" | sed 's% %\\ %g' | sed -n '/^\(.*\)$/ s:: \1 \\:p' >> "$depfile" + echo " " >> "$depfile" + . "$tmpdepfile" | sed 's% %\\ %g' | sed -n '/^\(.*\)$/ s::\1\::p' >> "$depfile" + rm -f "$tmpdepfile" + ;; + +none) + exec "$@" + ;; + +*) + echo "Unknown depmode $depmode" 1>&2 + exit 1 + ;; +esac + +exit 0 + +# Local Variables: +# mode: shell-script +# sh-indentation: 2 +# eval: (add-hook 'write-file-hooks 'time-stamp) +# time-stamp-start: "scriptversion=" +# time-stamp-format: "%:y-%02m-%02d.%02H" +# time-stamp-end: "$" +# End: diff --git a/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/descriptors.c b/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/descriptors.c new file mode 100644 index 000000000..f5184e85f --- /dev/null +++ b/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/descriptors.c @@ -0,0 +1,520 @@ +/* + * Parses descriptors + * + * Copyright (c) 2001 Johannes Erdfelt + * + * This library is covered by the LGPL, read LICENSE for details. + */ + +#include +#include +#include +#include "usbi.h" + +int usb_get_descriptor_by_endpoint(usb_dev_handle *udev, int ep, + unsigned char type, unsigned char index, void *buf, int size) +{ + memset(buf, 0, size); + + return usb_control_msg(udev, ep | USB_ENDPOINT_IN, USB_REQ_GET_DESCRIPTOR, + (type << 8) + index, 0, buf, size, 1000); +} + +int usb_get_descriptor(usb_dev_handle *udev, unsigned char type, + unsigned char index, void *buf, int size) +{ + memset(buf, 0, size); + + return usb_control_msg(udev, USB_ENDPOINT_IN, USB_REQ_GET_DESCRIPTOR, + (type << 8) + index, 0, buf, size, 1000); +} + +int usb_parse_descriptor(unsigned char *source, char *description, void *dest) +{ + unsigned char *sp = source, *dp = dest; + uint16_t w; + uint32_t d; + char *cp; + + for (cp = description; *cp; cp++) { + switch (*cp) { + case 'b': /* 8-bit byte */ + *dp++ = *sp++; + break; + case 'w': /* 16-bit word, convert from little endian to CPU */ + w = (sp[1] << 8) | sp[0]; sp += 2; + dp += ((unsigned long)dp & 1); /* Align to word boundary */ + *((uint16_t *)dp) = w; dp += 2; + break; + case 'd': /* 32-bit dword, convert from little endian to CPU */ + d = (sp[3] << 24) | (sp[2] << 16) | (sp[1] << 8) | sp[0]; sp += 4; + dp += ((unsigned long)dp & 2); /* Align to dword boundary */ + *((uint32_t *)dp) = d; dp += 4; + break; + /* These two characters are undocumented and just a hack for Linux */ + case 'W': /* 16-bit word, keep CPU endianess */ + dp += ((unsigned long)dp & 1); /* Align to word boundary */ + memcpy(dp, sp, 2); sp += 2; dp += 2; + break; + case 'D': /* 32-bit dword, keep CPU endianess */ + dp += ((unsigned long)dp & 2); /* Align to dword boundary */ + memcpy(dp, sp, 4); sp += 4; dp += 4; + break; + } + } + + return sp - source; +} + +/* + * This code looks surprisingly similar to the code I wrote for the Linux + * kernel. It's not a coincidence :) + */ + +static int usb_parse_endpoint(struct usb_endpoint_descriptor *endpoint, unsigned char *buffer, int size) +{ + struct usb_descriptor_header header; + unsigned char *begin; + int parsed = 0, len, numskipped; + + usb_parse_descriptor(buffer, "bb", &header); + + /* Everything should be fine being passed into here, but we sanity */ + /* check JIC */ + if (header.bLength > size) { + if (usb_debug >= 1) + fprintf(stderr, "ran out of descriptors parsing\n"); + return -1; + } + + if (header.bDescriptorType != USB_DT_ENDPOINT) { + if (usb_debug >= 2) + fprintf(stderr, "unexpected descriptor 0x%X, expecting endpoint descriptor, type 0x%X\n", + header.bDescriptorType, USB_DT_ENDPOINT); + return parsed; + } + + if (header.bLength >= ENDPOINT_AUDIO_DESC_LENGTH) + usb_parse_descriptor(buffer, "bbbbwbbb", endpoint); + else if (header.bLength >= ENDPOINT_DESC_LENGTH) + usb_parse_descriptor(buffer, "bbbbwb", endpoint); + + buffer += header.bLength; + size -= header.bLength; + parsed += header.bLength; + + /* Skip over the rest of the Class Specific or Vendor Specific */ + /* descriptors */ + begin = buffer; + numskipped = 0; + while (size >= DESC_HEADER_LENGTH) { + usb_parse_descriptor(buffer, "bb", &header); + + if (header.bLength < 2) { + if (usb_debug >= 1) + fprintf(stderr, "invalid descriptor length of %d\n", header.bLength); + return -1; + } + + /* If we find another "proper" descriptor then we're done */ + if ((header.bDescriptorType == USB_DT_ENDPOINT) || + (header.bDescriptorType == USB_DT_INTERFACE) || + (header.bDescriptorType == USB_DT_CONFIG) || + (header.bDescriptorType == USB_DT_DEVICE)) + break; + + if (usb_debug >= 1) + fprintf(stderr, "skipping descriptor 0x%X\n", header.bDescriptorType); + numskipped++; + + buffer += header.bLength; + size -= header.bLength; + parsed += header.bLength; + } + + if (numskipped && usb_debug >= 2) + fprintf(stderr, "skipped %d class/vendor specific endpoint descriptors\n", numskipped); + + /* Copy any unknown descriptors into a storage area for drivers */ + /* to later parse */ + len = (int)(buffer - begin); + if (!len) { + endpoint->extra = NULL; + endpoint->extralen = 0; + return parsed; + } + + endpoint->extra = malloc(len); + if (!endpoint->extra) { + if (usb_debug >= 1) + fprintf(stderr, "couldn't allocate memory for endpoint extra descriptors\n"); + endpoint->extralen = 0; + return parsed; + } + + memcpy(endpoint->extra, begin, len); + endpoint->extralen = len; + + return parsed; +} + +static int usb_parse_interface(struct usb_interface *interface, + unsigned char *buffer, int size) +{ + int i, len, numskipped, retval, parsed = 0; + struct usb_descriptor_header header; + struct usb_interface_descriptor *ifp; + unsigned char *begin; + + interface->num_altsetting = 0; + + while (size >= INTERFACE_DESC_LENGTH) { + interface->altsetting = realloc(interface->altsetting, sizeof(struct usb_interface_descriptor) * (interface->num_altsetting + 1)); + if (!interface->altsetting) { + if (usb_debug >= 1) + fprintf(stderr, "couldn't malloc interface->altsetting\n"); + return -1; + } + + ifp = interface->altsetting + interface->num_altsetting; + interface->num_altsetting++; + + usb_parse_descriptor(buffer, "bbbbbbbbb", ifp); + + /* Skip over the interface */ + buffer += ifp->bLength; + parsed += ifp->bLength; + size -= ifp->bLength; + + begin = buffer; + numskipped = 0; + + /* Skip over any interface, class or vendor descriptors */ + while (size >= DESC_HEADER_LENGTH) { + usb_parse_descriptor(buffer, "bb", &header); + + if (header.bLength < 2) { + if (usb_debug >= 1) + fprintf(stderr, "invalid descriptor length of %d\n", header.bLength); + return -1; + } + + /* If we find another "proper" descriptor then we're done */ + if ((header.bDescriptorType == USB_DT_INTERFACE) || + (header.bDescriptorType == USB_DT_ENDPOINT) || + (header.bDescriptorType == USB_DT_CONFIG) || + (header.bDescriptorType == USB_DT_DEVICE)) + break; + + numskipped++; + + buffer += header.bLength; + parsed += header.bLength; + size -= header.bLength; + } + + if (numskipped && usb_debug >= 2) + fprintf(stderr, "skipped %d class/vendor specific interface descriptors\n", numskipped); + + /* Copy any unknown descriptors into a storage area for */ + /* drivers to later parse */ + len = (int)(buffer - begin); + if (!len) { + ifp->extra = NULL; + ifp->extralen = 0; + } else { + ifp->extra = malloc(len); + if (!ifp->extra) { + if (usb_debug >= 1) + fprintf(stderr, "couldn't allocate memory for interface extra descriptors\n"); + ifp->extralen = 0; + return -1; + } + memcpy(ifp->extra, begin, len); + ifp->extralen = len; + } + + /* Did we hit an unexpected descriptor? */ + usb_parse_descriptor(buffer, "bb", &header); + if ((size >= DESC_HEADER_LENGTH) && + ((header.bDescriptorType == USB_DT_CONFIG) || + (header.bDescriptorType == USB_DT_DEVICE))) + return parsed; + + if (ifp->bNumEndpoints > USB_MAXENDPOINTS) { + if (usb_debug >= 1) + fprintf(stderr, "too many endpoints\n"); + return -1; + } + + if (ifp->bNumEndpoints > 0) { + ifp->endpoint = (struct usb_endpoint_descriptor *) + malloc(ifp->bNumEndpoints * + sizeof(struct usb_endpoint_descriptor)); + if (!ifp->endpoint) { + if (usb_debug >= 1) + fprintf(stderr, "couldn't allocate memory for ifp->endpoint\n"); + return -1; + } + + memset(ifp->endpoint, 0, ifp->bNumEndpoints * + sizeof(struct usb_endpoint_descriptor)); + + for (i = 0; i < ifp->bNumEndpoints; i++) { + usb_parse_descriptor(buffer, "bb", &header); + + if (header.bLength > size) { + if (usb_debug >= 1) + fprintf(stderr, "ran out of descriptors parsing\n"); + return -1; + } + + retval = usb_parse_endpoint(ifp->endpoint + i, buffer, size); + if (retval < 0) + return retval; + + buffer += retval; + parsed += retval; + size -= retval; + } + } else + ifp->endpoint = NULL; + + /* We check to see if it's an alternate to this one */ + ifp = (struct usb_interface_descriptor *)buffer; + if (size < USB_DT_INTERFACE_SIZE || + ifp->bDescriptorType != USB_DT_INTERFACE || + !ifp->bAlternateSetting) + return parsed; + } + + return parsed; +} + +int usb_parse_configuration(struct usb_config_descriptor *config, + unsigned char *buffer) +{ + int i, retval, size; + struct usb_descriptor_header header; + + usb_parse_descriptor(buffer, "bbwbbbbb", config); + size = config->wTotalLength; + + if (config->bNumInterfaces > USB_MAXINTERFACES) { + if (usb_debug >= 1) + fprintf(stderr, "too many interfaces\n"); + return -1; + } + + config->interface = (struct usb_interface *) + malloc(config->bNumInterfaces * + sizeof(struct usb_interface)); + if (!config->interface) { + if (usb_debug >= 1) + fprintf(stderr, "out of memory\n"); + return -1; + } + + memset(config->interface, 0, config->bNumInterfaces * sizeof(struct usb_interface)); + + buffer += config->bLength; + size -= config->bLength; + + config->extra = NULL; + config->extralen = 0; + + for (i = 0; i < config->bNumInterfaces; i++) { + int numskipped, len; + unsigned char *begin; + + /* Skip over the rest of the Class Specific or Vendor */ + /* Specific descriptors */ + begin = buffer; + numskipped = 0; + while (size >= DESC_HEADER_LENGTH) { + usb_parse_descriptor(buffer, "bb", &header); + + if ((header.bLength > size) || (header.bLength < DESC_HEADER_LENGTH)) { + if (usb_debug >= 1) + fprintf(stderr, "invalid descriptor length of %d\n", header.bLength); + return -1; + } + + /* If we find another "proper" descriptor then we're done */ + if ((header.bDescriptorType == USB_DT_ENDPOINT) || + (header.bDescriptorType == USB_DT_INTERFACE) || + (header.bDescriptorType == USB_DT_CONFIG) || + (header.bDescriptorType == USB_DT_DEVICE)) + break; + + if (usb_debug >= 2) + fprintf(stderr, "skipping descriptor 0x%X\n", header.bDescriptorType); + numskipped++; + + buffer += header.bLength; + size -= header.bLength; + } + + if (numskipped && usb_debug >= 2) + fprintf(stderr, "skipped %d class/vendor specific endpoint descriptors\n", numskipped); + + /* Copy any unknown descriptors into a storage area for */ + /* drivers to later parse */ + len = (int)(buffer - begin); + if (len) { + /* FIXME: We should realloc and append here */ + if (!config->extralen) { + config->extra = malloc(len); + if (!config->extra) { + if (usb_debug >= 1) + fprintf(stderr, "couldn't allocate memory for config extra descriptors\n"); + config->extralen = 0; + return -1; + } + + memcpy(config->extra, begin, len); + config->extralen = len; + } + } + + retval = usb_parse_interface(config->interface + i, buffer, size); + if (retval < 0) + return retval; + + buffer += retval; + size -= retval; + } + + return size; +} + +void usb_destroy_configuration(struct usb_device *dev) +{ + int c, i, j, k; + + if (!dev->config) + return; + + for (c = 0; c < dev->descriptor.bNumConfigurations; c++) { + struct usb_config_descriptor *cf = &dev->config[c]; + + if (!cf->interface) + continue; + + for (i = 0; i < cf->bNumInterfaces; i++) { + struct usb_interface *ifp = &cf->interface[i]; + + if (!ifp->altsetting) + continue; + + for (j = 0; j < ifp->num_altsetting; j++) { + struct usb_interface_descriptor *as = &ifp->altsetting[j]; + + if (as->extra) + free(as->extra); + + if (!as->endpoint) + continue; + + for (k = 0; k < as->bNumEndpoints; k++) { + if (as->endpoint[k].extra) + free(as->endpoint[k].extra); + } + free(as->endpoint); + } + + free(ifp->altsetting); + } + + free(cf->interface); + } + + free(dev->config); +} + +void usb_fetch_and_parse_descriptors(usb_dev_handle *udev) +{ + struct usb_device *dev = udev->device; + int i; + + if (dev->descriptor.bNumConfigurations > USB_MAXCONFIG) { + if (usb_debug >= 1) + fprintf(stderr, "Too many configurations (%d > %d)\n", dev->descriptor.bNumConfigurations, USB_MAXCONFIG); + return; + } + + if (dev->descriptor.bNumConfigurations < 1) { + if (usb_debug >= 1) + fprintf(stderr, "Not enough configurations (%d < %d)\n", dev->descriptor.bNumConfigurations, 1); + return; + } + + dev->config = (struct usb_config_descriptor *)malloc(dev->descriptor.bNumConfigurations * sizeof(struct usb_config_descriptor)); + if (!dev->config) { + if (usb_debug >= 1) + fprintf(stderr, "Unable to allocate memory for config descriptor\n"); + return; + } + + memset(dev->config, 0, dev->descriptor.bNumConfigurations * + sizeof(struct usb_config_descriptor)); + + for (i = 0; i < dev->descriptor.bNumConfigurations; i++) { + unsigned char buffer[8], *bigbuffer; + struct usb_config_descriptor config; + int res; + + /* Get the first 8 bytes so we can figure out what the total length is */ + res = usb_get_descriptor(udev, USB_DT_CONFIG, i, buffer, 8); + if (res < 8) { + if (usb_debug >= 1) { + if (res < 0) + fprintf(stderr, "Unable to get descriptor (%d)\n", res); + else + fprintf(stderr, "Config descriptor too short (expected %d, got %d)\n", 8, res); + } + + goto err; + } + + usb_parse_descriptor(buffer, "bbw", &config); + + bigbuffer = malloc(config.wTotalLength); + if (!bigbuffer) { + if (usb_debug >= 1) + fprintf(stderr, "Unable to allocate memory for descriptors\n"); + goto err; + } + + res = usb_get_descriptor(udev, USB_DT_CONFIG, i, bigbuffer, config.wTotalLength); + if (res < config.wTotalLength) { + if (usb_debug >= 1) { + if (res < 0) + fprintf(stderr, "Unable to get descriptor (%d)\n", res); + else + fprintf(stderr, "Config descriptor too short (expected %d, got %d)\n", config.wTotalLength, res); + } + + free(bigbuffer); + goto err; + } + + res = usb_parse_configuration(&dev->config[i], bigbuffer); + if (usb_debug >= 2) { + if (res > 0) + fprintf(stderr, "Descriptor data still left\n"); + else if (res < 0) + fprintf(stderr, "Unable to parse descriptors\n"); + } + + free(bigbuffer); + } + + return; + +err: + free(dev->config); + + dev->config = NULL; +} + diff --git a/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/doc/Makefile b/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/doc/Makefile new file mode 100644 index 000000000..098dc2567 --- /dev/null +++ b/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/doc/Makefile @@ -0,0 +1,366 @@ +# Makefile.in generated by automake 1.8.3 from Makefile.am. +# doc/Makefile. Generated from Makefile.in by configure. + +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +# 2003, 2004 Free Software Foundation, Inc. +# This Makefile.in is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + + +srcdir = . +top_srcdir = .. + +pkgdatadir = $(datadir)/libusb +pkglibdir = $(libdir)/libusb +pkgincludedir = $(includedir)/libusb +top_builddir = .. +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd +INSTALL = /usr/bin/install -c +install_sh_DATA = $(install_sh) -c -m 644 +install_sh_PROGRAM = $(install_sh) -c +install_sh_SCRIPT = $(install_sh) -c +INSTALL_HEADER = $(INSTALL_DATA) +transform = $(program_transform_name) +NORMAL_INSTALL = : +PRE_INSTALL = : +POST_INSTALL = : +NORMAL_UNINSTALL = : +PRE_UNINSTALL = : +POST_UNINSTALL = : +host_triplet = mipsel-uclibc-linux-gnu26 +subdir = doc +DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \ + $(top_srcdir)/configure.in +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ + $(ACLOCAL_M4) +mkinstalldirs = $(mkdir_p) +CONFIG_HEADER = $(top_builddir)/config.h +CONFIG_CLEAN_FILES = +SOURCES = +DIST_SOURCES = +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +ACLOCAL = ${SHELL} /home/qingheng/BCM947186/driver/BCM43241-DHD/dhd/sources/src/usbdev/libusb/missing --run aclocal-1.8 +AMDEP_FALSE = # +AMDEP_TRUE = +AMTAR = ${SHELL} /home/qingheng/BCM947186/driver/BCM43241-DHD/dhd/sources/src/usbdev/libusb/missing --run tar +AR = ar +AUTOCONF = ${SHELL} /home/qingheng/BCM947186/driver/BCM43241-DHD/dhd/sources/src/usbdev/libusb/missing --run autoconf +AUTOHEADER = ${SHELL} /home/qingheng/BCM947186/driver/BCM43241-DHD/dhd/sources/src/usbdev/libusb/missing --run autoheader +AUTOMAKE = ${SHELL} /home/qingheng/BCM947186/driver/BCM43241-DHD/dhd/sources/src/usbdev/libusb/missing --run automake-1.8 +AWK = gawk +BIGENDIAN = 0 +BSD_API = 0 +BSD_API_FALSE = +BSD_API_TRUE = # +BUILD_DOCS_FALSE = +BUILD_DOCS_TRUE = # +CC = /home/qingheng/BCM947186/build_script/43241/../../platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/mipsel-uclibc-linux26-gcc +CCDEPMODE = depmode=gcc3 +CFLAGS = -g -O2 -g -Wall +CPP = /home/qingheng/BCM947186/build_script/43241/../../platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/mipsel-uclibc-linux26-gcc -E +CPPFLAGS = +CXX = /home/qingheng/BCM947186/build_script/43241/../../platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/mipsel-uclibc-linux26-g++ +CXXCPP = /home/qingheng/BCM947186/build_script/43241/../../platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/mipsel-uclibc-linux26-g++ -E +CXXDEPMODE = depmode=gcc3 +CXXFLAGS = -g -O2 +CYGPATH_W = echo +DARWIN_API = 0 +DARWIN_API_FALSE = +DARWIN_API_TRUE = # +DEFS = -DHAVE_CONFIG_H +DEPDIR = .deps +DOXYGEN = +DOXYGEN_PROJECT_NAME = LIBUSB C++ API Reference +DOXYGEN_PROJECT_NUMBER = Version 0.1.12 +ECHO = echo +ECHO_C = +ECHO_N = -n +ECHO_T = +EGREP = /bin/grep -E +EXEEXT = +F77 = +FFLAGS = +INSTALL_DATA = ${INSTALL} -m 644 +INSTALL_PROGRAM = ${INSTALL} +INSTALL_SCRIPT = ${INSTALL} +INSTALL_STRIP_PROGRAM = ${SHELL} $(install_sh) -c -s +JADE = +LDFLAGS = +LIBOBJS = +LIBS = +LIBTOOL = $(SHELL) $(top_builddir)/libtool +LIBUSB_BINARY_AGE = 8 +LIBUSB_HAS_DOXYGEN = no +LIBUSB_HAVE_DOT = NO +LIBUSB_INTERFACE_AGE = 4 +LIBUSB_MAJOR_VERSION = 0 +LIBUSB_MICRO_VERSION = 12 +LIBUSB_MINOR_VERSION = 1 +LIBUSB_VERSION = 0.1.12 +LINUX_API = 1 +LINUX_API_FALSE = # +LINUX_API_TRUE = +LN_S = ln -s +LTLIBOBJS = +LT_AGE = 4 +LT_CURRENT = 8 +LT_RELEASE = 0.1 +LT_REVISION = 4 +MAKEINFO = ${SHELL} /home/qingheng/BCM947186/driver/BCM43241-DHD/dhd/sources/src/usbdev/libusb/missing --run makeinfo +OBJEXT = o +OSLIBS = +PACKAGE = libusb +PACKAGE_BUGREPORT = +PACKAGE_NAME = libusb +PACKAGE_STRING = libusb 0.1.12 +PACKAGE_TARNAME = libusb +PACKAGE_VERSION = 0.1.12 +PATH_SEPARATOR = : +PKG_CONFIG = /usr/bin/pkg-config +RANLIB = ranlib +SET_MAKE = +SHELL = /bin/sh +STRIP = strip +VERSION = 0.1.12 +ac_ct_AR = @ac_ct_AR@ +ac_ct_CC = +ac_ct_CXX = +ac_ct_F77 = +ac_ct_RANLIB = @ac_ct_RANLIB@ +ac_ct_STRIP = @ac_ct_STRIP@ +am__fastdepCC_FALSE = # +am__fastdepCC_TRUE = +am__fastdepCXX_FALSE = # +am__fastdepCXX_TRUE = +am__include = include +am__leading_dot = . +am__quote = +bindir = ${exec_prefix}/bin +build = x86_64-unknown-linux-gnu +build_alias = +build_cpu = x86_64 +build_os = linux-gnu +build_vendor = unknown +datadir = ${prefix}/share +exec_prefix = ${prefix} +host = mipsel-uclibc-linux-gnu26 +host_alias = mipsel-uclibc-linux26 +host_cpu = mipsel +host_os = linux-gnu26 +host_vendor = uclibc +includedir = ${prefix}/include +infodir = ${prefix}/share/info +install_sh = /home/qingheng/BCM947186/driver/BCM43241-DHD/dhd/sources/src/usbdev/libusb/install-sh +libdir = ${exec_prefix}/lib +libexecdir = ${exec_prefix}/libexec +localstatedir = ${prefix}/var +mandir = ${prefix}/share/man +mkdir_p = mkdir -p -- . +oldincludedir = /usr/include +pkgconfigdir = ${exec_prefix}/lib/pkgconfig +prefix = /usr/local +program_transform_name = s,x,x, +sbindir = ${exec_prefix}/sbin +sharedstatedir = ${prefix}/com +sysconfdir = ${prefix}/etc +target_alias = +sgml_files = manual.sgml intro.sgml api.sgml functions.sgml examples.sgml + +# For when we have a man page :) +man_MANS = +EXTRA_DIST = manual.sgml api.sgml examples.sgml functions.sgml \ + intro.sgml website.dsl $(man_MANS) + + +# I grabbed this same hack from the VACM docs/Makfile.am +CLEANFILES = manual.dvi manual.aux manual.tex manual.log \ + manual.ps.gz; rm -rf html + +# Generating postscript takes forever on my laptop apparentely +MANUALS = + +#MANUALS = manual.ps.gz html/index.html +#MANUALS = html/index.html +all: all-am + +.SUFFIXES: +$(srcdir)/Makefile.in: $(am__configure_deps) # $(srcdir)/Makefile.am + @for dep in $?; do \ + case '$(am__configure_deps)' in \ + *$$dep*) \ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ + && exit 0; \ + exit 1;; \ + esac; \ + done; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu doc/Makefile'; \ + cd $(top_srcdir) && \ + $(AUTOMAKE) --gnu doc/Makefile +.PRECIOUS: Makefile +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ + *config.status*) \ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ + *) \ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ + esac; + +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh + +$(top_srcdir)/configure: $(am__configure_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(ACLOCAL_M4): $(am__aclocal_m4_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh + +mostlyclean-libtool: + -rm -f *.lo + +clean-libtool: + -rm -rf .libs _libs + +distclean-libtool: + -rm -f libtool +uninstall-info-am: +tags: TAGS +TAGS: + +ctags: CTAGS +CTAGS: + + +distdir: $(DISTFILES) + @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ + list='$(DISTFILES)'; for file in $$list; do \ + case $$file in \ + $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ + $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ + esac; \ + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ + if test "$$dir" != "$$file" && test "$$dir" != "."; then \ + dir="/$$dir"; \ + $(mkdir_p) "$(distdir)$$dir"; \ + else \ + dir=''; \ + fi; \ + if test -d $$d/$$file; then \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ + cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ + fi; \ + cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ + else \ + test -f $(distdir)/$$file \ + || cp -p $$d/$$file $(distdir)/$$file \ + || exit 1; \ + fi; \ + done +check-am: all-am +check: check-am +all-am: Makefile +installdirs: +install: install-am +install-exec: install-exec-am +install-data: install-data-am +uninstall: uninstall-am + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am + +installcheck: installcheck-am +install-strip: + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + `test -z '$(STRIP)' || \ + echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install +mostlyclean-generic: + +clean-generic: + -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) + +distclean-generic: + -rm -f $(CONFIG_CLEAN_FILES) + +maintainer-clean-generic: + @echo "This command is intended for maintainers to use" + @echo "it deletes files that may require special tools to rebuild." +clean: clean-am + +clean-am: clean-generic clean-libtool mostlyclean-am + +distclean: distclean-am + -rm -f Makefile +distclean-am: clean-am distclean-generic distclean-libtool + +dvi: dvi-am + +dvi-am: + +html: html-am + +info: info-am + +info-am: + +install-data-am: + +install-exec-am: + +install-info: install-info-am + +install-man: + +installcheck-am: + +maintainer-clean: maintainer-clean-am + -rm -f Makefile +maintainer-clean-am: distclean-am maintainer-clean-generic + +mostlyclean: mostlyclean-am + +mostlyclean-am: mostlyclean-generic mostlyclean-libtool + +pdf: pdf-am + +pdf-am: + +ps: ps-am + +ps-am: + +uninstall-am: uninstall-info-am + +.PHONY: all all-am check check-am clean clean-generic clean-libtool \ + distclean distclean-generic distclean-libtool distdir dvi \ + dvi-am html html-am info info-am install install-am \ + install-data install-data-am install-exec install-exec-am \ + install-info install-info-am install-man install-strip \ + installcheck installcheck-am installdirs maintainer-clean \ + maintainer-clean-generic mostlyclean mostlyclean-generic \ + mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am \ + uninstall-info-am + + +all: $(MANUALS) + +manual.ps.gz: $(sgml_files) website.dsl + -t ps -d $(srcdir)/website.dsl\#print $(srcdir)/manual.sgml + gzip manual.ps + +html/index.html: $(sgml_files) website.dsl + rm -rf html + mkdir html + -t sgml -d $(srcdir)/website.dsl\#html $(srcdir)/manual.sgml +# Tell versions [3.59,3.63) of GNU make to not export all variables. +# Otherwise a system limit (for SysV at least) may be exceeded. +.NOEXPORT: diff --git a/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/doc/Makefile.in b/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/doc/Makefile.in new file mode 100644 index 000000000..16da7d4f9 --- /dev/null +++ b/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/doc/Makefile.in @@ -0,0 +1,366 @@ +# Makefile.in generated by automake 1.8.3 from Makefile.am. +# @configure_input@ + +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +# 2003, 2004 Free Software Foundation, Inc. +# This Makefile.in is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + +@SET_MAKE@ +srcdir = @srcdir@ +top_srcdir = @top_srcdir@ +VPATH = @srcdir@ +pkgdatadir = $(datadir)/@PACKAGE@ +pkglibdir = $(libdir)/@PACKAGE@ +pkgincludedir = $(includedir)/@PACKAGE@ +top_builddir = .. +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd +INSTALL = @INSTALL@ +install_sh_DATA = $(install_sh) -c -m 644 +install_sh_PROGRAM = $(install_sh) -c +install_sh_SCRIPT = $(install_sh) -c +INSTALL_HEADER = $(INSTALL_DATA) +transform = $(program_transform_name) +NORMAL_INSTALL = : +PRE_INSTALL = : +POST_INSTALL = : +NORMAL_UNINSTALL = : +PRE_UNINSTALL = : +POST_UNINSTALL = : +host_triplet = @host@ +subdir = doc +DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \ + $(top_srcdir)/configure.in +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ + $(ACLOCAL_M4) +mkinstalldirs = $(mkdir_p) +CONFIG_HEADER = $(top_builddir)/config.h +CONFIG_CLEAN_FILES = +SOURCES = +DIST_SOURCES = +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +ACLOCAL = @ACLOCAL@ +AMDEP_FALSE = @AMDEP_FALSE@ +AMDEP_TRUE = @AMDEP_TRUE@ +AMTAR = @AMTAR@ +AR = @AR@ +AUTOCONF = @AUTOCONF@ +AUTOHEADER = @AUTOHEADER@ +AUTOMAKE = @AUTOMAKE@ +AWK = @AWK@ +BIGENDIAN = @BIGENDIAN@ +BSD_API = @BSD_API@ +BSD_API_FALSE = @BSD_API_FALSE@ +BSD_API_TRUE = @BSD_API_TRUE@ +BUILD_DOCS_FALSE = @BUILD_DOCS_FALSE@ +BUILD_DOCS_TRUE = @BUILD_DOCS_TRUE@ +CC = @CC@ +CCDEPMODE = @CCDEPMODE@ +CFLAGS = @CFLAGS@ +CPP = @CPP@ +CPPFLAGS = @CPPFLAGS@ +CXX = @CXX@ +CXXCPP = @CXXCPP@ +CXXDEPMODE = @CXXDEPMODE@ +CXXFLAGS = @CXXFLAGS@ +CYGPATH_W = @CYGPATH_W@ +DARWIN_API = @DARWIN_API@ +DARWIN_API_FALSE = @DARWIN_API_FALSE@ +DARWIN_API_TRUE = @DARWIN_API_TRUE@ +DEFS = @DEFS@ +DEPDIR = @DEPDIR@ +DOXYGEN = @DOXYGEN@ +DOXYGEN_PROJECT_NAME = @DOXYGEN_PROJECT_NAME@ +DOXYGEN_PROJECT_NUMBER = @DOXYGEN_PROJECT_NUMBER@ +ECHO = @ECHO@ +ECHO_C = @ECHO_C@ +ECHO_N = @ECHO_N@ +ECHO_T = @ECHO_T@ +EGREP = @EGREP@ +EXEEXT = @EXEEXT@ +F77 = @F77@ +FFLAGS = @FFLAGS@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ +JADE = @JADE@ +LDFLAGS = @LDFLAGS@ +LIBOBJS = @LIBOBJS@ +LIBS = @LIBS@ +LIBTOOL = @LIBTOOL@ +LIBUSB_BINARY_AGE = @LIBUSB_BINARY_AGE@ +LIBUSB_HAS_DOXYGEN = @LIBUSB_HAS_DOXYGEN@ +LIBUSB_HAVE_DOT = @LIBUSB_HAVE_DOT@ +LIBUSB_INTERFACE_AGE = @LIBUSB_INTERFACE_AGE@ +LIBUSB_MAJOR_VERSION = @LIBUSB_MAJOR_VERSION@ +LIBUSB_MICRO_VERSION = @LIBUSB_MICRO_VERSION@ +LIBUSB_MINOR_VERSION = @LIBUSB_MINOR_VERSION@ +LIBUSB_VERSION = @LIBUSB_VERSION@ +LINUX_API = @LINUX_API@ +LINUX_API_FALSE = @LINUX_API_FALSE@ +LINUX_API_TRUE = @LINUX_API_TRUE@ +LN_S = @LN_S@ +LTLIBOBJS = @LTLIBOBJS@ +LT_AGE = @LT_AGE@ +LT_CURRENT = @LT_CURRENT@ +LT_RELEASE = @LT_RELEASE@ +LT_REVISION = @LT_REVISION@ +MAKEINFO = @MAKEINFO@ +OBJEXT = @OBJEXT@ +OSLIBS = @OSLIBS@ +PACKAGE = @PACKAGE@ +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ +PACKAGE_NAME = @PACKAGE_NAME@ +PACKAGE_STRING = @PACKAGE_STRING@ +PACKAGE_TARNAME = @PACKAGE_TARNAME@ +PACKAGE_VERSION = @PACKAGE_VERSION@ +PATH_SEPARATOR = @PATH_SEPARATOR@ +PKG_CONFIG = @PKG_CONFIG@ +RANLIB = @RANLIB@ +SET_MAKE = @SET_MAKE@ +SHELL = @SHELL@ +STRIP = @STRIP@ +VERSION = @VERSION@ +ac_ct_AR = @ac_ct_AR@ +ac_ct_CC = @ac_ct_CC@ +ac_ct_CXX = @ac_ct_CXX@ +ac_ct_F77 = @ac_ct_F77@ +ac_ct_RANLIB = @ac_ct_RANLIB@ +ac_ct_STRIP = @ac_ct_STRIP@ +am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ +am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ +am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@ +am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@ +am__include = @am__include@ +am__leading_dot = @am__leading_dot@ +am__quote = @am__quote@ +bindir = @bindir@ +build = @build@ +build_alias = @build_alias@ +build_cpu = @build_cpu@ +build_os = @build_os@ +build_vendor = @build_vendor@ +datadir = @datadir@ +exec_prefix = @exec_prefix@ +host = @host@ +host_alias = @host_alias@ +host_cpu = @host_cpu@ +host_os = @host_os@ +host_vendor = @host_vendor@ +includedir = @includedir@ +infodir = @infodir@ +install_sh = @install_sh@ +libdir = @libdir@ +libexecdir = @libexecdir@ +localstatedir = @localstatedir@ +mandir = @mandir@ +mkdir_p = @mkdir_p@ +oldincludedir = @oldincludedir@ +pkgconfigdir = @pkgconfigdir@ +prefix = @prefix@ +program_transform_name = @program_transform_name@ +sbindir = @sbindir@ +sharedstatedir = @sharedstatedir@ +sysconfdir = @sysconfdir@ +target_alias = @target_alias@ +sgml_files = manual.sgml intro.sgml api.sgml functions.sgml examples.sgml + +# For when we have a man page :) +man_MANS = +EXTRA_DIST = manual.sgml api.sgml examples.sgml functions.sgml \ + intro.sgml website.dsl $(man_MANS) + + +# I grabbed this same hack from the VACM docs/Makfile.am +CLEANFILES = manual.dvi manual.aux manual.tex manual.log \ + manual.ps.gz; rm -rf html + +# Generating postscript takes forever on my laptop apparentely +@BUILD_DOCS_FALSE@MANUALS = + +#MANUALS = manual.ps.gz html/index.html +@BUILD_DOCS_TRUE@MANUALS = html/index.html +all: all-am + +.SUFFIXES: +$(srcdir)/Makefile.in: $(am__configure_deps) # $(srcdir)/Makefile.am + @for dep in $?; do \ + case '$(am__configure_deps)' in \ + *$$dep*) \ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ + && exit 0; \ + exit 1;; \ + esac; \ + done; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu doc/Makefile'; \ + cd $(top_srcdir) && \ + $(AUTOMAKE) --gnu doc/Makefile +.PRECIOUS: Makefile +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ + *config.status*) \ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ + *) \ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ + esac; + +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh + +$(top_srcdir)/configure: $(am__configure_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(ACLOCAL_M4): $(am__aclocal_m4_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh + +mostlyclean-libtool: + -rm -f *.lo + +clean-libtool: + -rm -rf .libs _libs + +distclean-libtool: + -rm -f libtool +uninstall-info-am: +tags: TAGS +TAGS: + +ctags: CTAGS +CTAGS: + + +distdir: $(DISTFILES) + @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ + list='$(DISTFILES)'; for file in $$list; do \ + case $$file in \ + $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ + $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ + esac; \ + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ + if test "$$dir" != "$$file" && test "$$dir" != "."; then \ + dir="/$$dir"; \ + $(mkdir_p) "$(distdir)$$dir"; \ + else \ + dir=''; \ + fi; \ + if test -d $$d/$$file; then \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ + cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ + fi; \ + cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ + else \ + test -f $(distdir)/$$file \ + || cp -p $$d/$$file $(distdir)/$$file \ + || exit 1; \ + fi; \ + done +check-am: all-am +check: check-am +all-am: Makefile +installdirs: +install: install-am +install-exec: install-exec-am +install-data: install-data-am +uninstall: uninstall-am + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am + +installcheck: installcheck-am +install-strip: + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + `test -z '$(STRIP)' || \ + echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install +mostlyclean-generic: + +clean-generic: + -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) + +distclean-generic: + -rm -f $(CONFIG_CLEAN_FILES) + +maintainer-clean-generic: + @echo "This command is intended for maintainers to use" + @echo "it deletes files that may require special tools to rebuild." +clean: clean-am + +clean-am: clean-generic clean-libtool mostlyclean-am + +distclean: distclean-am + -rm -f Makefile +distclean-am: clean-am distclean-generic distclean-libtool + +dvi: dvi-am + +dvi-am: + +html: html-am + +info: info-am + +info-am: + +install-data-am: + +install-exec-am: + +install-info: install-info-am + +install-man: + +installcheck-am: + +maintainer-clean: maintainer-clean-am + -rm -f Makefile +maintainer-clean-am: distclean-am maintainer-clean-generic + +mostlyclean: mostlyclean-am + +mostlyclean-am: mostlyclean-generic mostlyclean-libtool + +pdf: pdf-am + +pdf-am: + +ps: ps-am + +ps-am: + +uninstall-am: uninstall-info-am + +.PHONY: all all-am check check-am clean clean-generic clean-libtool \ + distclean distclean-generic distclean-libtool distdir dvi \ + dvi-am html html-am info info-am install install-am \ + install-data install-data-am install-exec install-exec-am \ + install-info install-info-am install-man install-strip \ + installcheck installcheck-am installdirs maintainer-clean \ + maintainer-clean-generic mostlyclean mostlyclean-generic \ + mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am \ + uninstall-info-am + + +all: $(MANUALS) + +manual.ps.gz: $(sgml_files) website.dsl + @JADE@ -t ps -d $(srcdir)/website.dsl\#print $(srcdir)/manual.sgml + gzip manual.ps + +html/index.html: $(sgml_files) website.dsl + rm -rf html + mkdir html + @JADE@ -t sgml -d $(srcdir)/website.dsl\#html $(srcdir)/manual.sgml +# Tell versions [3.59,3.63) of GNU make to not export all variables. +# Otherwise a system limit (for SysV at least) may be exceeded. +.NOEXPORT: diff --git a/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/error.c b/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/error.c new file mode 100644 index 000000000..f7d496d66 --- /dev/null +++ b/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/error.c @@ -0,0 +1,36 @@ +/* + * USB Error messages + * + * Copyright (c) 2000-2001 Johannes Erdfelt + * + * This library is covered by the LGPL, read LICENSE for details. + */ + +#include +#include + +#include "usb.h" +#include "error.h" + +char usb_error_str[1024] = ""; +int usb_error_errno = 0; +usb_error_type_t usb_error_type = USB_ERROR_TYPE_NONE; + +char *usb_strerror(void) +{ + switch (usb_error_type) { + case USB_ERROR_TYPE_NONE: + return "No error"; + case USB_ERROR_TYPE_STRING: + return usb_error_str; + case USB_ERROR_TYPE_ERRNO: + if (usb_error_errno > -USB_ERROR_BEGIN) + return strerror(usb_error_errno); + else + /* Any error we don't know falls under here */ + return "Unknown error"; + } + + return "Unknown error"; +} + diff --git a/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/error.h b/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/error.h new file mode 100644 index 000000000..698271cbd --- /dev/null +++ b/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/error.h @@ -0,0 +1,31 @@ +#ifndef _ERROR_H_ +#define _ERROR_H_ + +typedef enum { + USB_ERROR_TYPE_NONE = 0, + USB_ERROR_TYPE_STRING, + USB_ERROR_TYPE_ERRNO, +} usb_error_type_t; + +extern char usb_error_str[1024]; +extern int usb_error_errno; +extern usb_error_type_t usb_error_type; + +#define USB_ERROR(x) \ + do { \ + usb_error_type = USB_ERROR_TYPE_ERRNO; \ + usb_error_errno = x; \ + return x; \ + } while (0) + +#define USB_ERROR_STR(x, format, args...) \ + do { \ + usb_error_type = USB_ERROR_TYPE_STRING; \ + snprintf(usb_error_str, sizeof(usb_error_str) - 1, format, ## args); \ + if (usb_debug >= 2) \ + fprintf(stderr, "USB error: %s\n", usb_error_str); \ + return x; \ + } while (0) + +#endif /* _ERROR_H_ */ + diff --git a/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/install-sh b/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/install-sh new file mode 100644 index 000000000..77bc38144 --- /dev/null +++ b/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/install-sh @@ -0,0 +1,316 @@ +#!/bin/sh +# install - install a program, script, or datafile + +scriptversion=2004-02-15.20 + +# This originates from X11R5 (mit/util/scripts/install.sh), which was +# later released in X11R6 (xc/config/util/install.sh) with the +# following copyright and license. +# +# Copyright (C) 1994 X Consortium +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to +# deal in the Software without restriction, including without limitation the +# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or +# sell copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN +# AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC- +# TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +# +# Except as contained in this notice, the name of the X Consortium shall not +# be used in advertising or otherwise to promote the sale, use or other deal- +# ings in this Software without prior written authorization from the X Consor- +# tium. +# +# +# FSF changes to this file are in the public domain. +# +# Calling this script install-sh is preferred over install.sh, to prevent +# `make' implicit rules from creating a file called install from it +# when there is no Makefile. +# +# This script is compatible with the BSD install script, but was written +# from scratch. It can only install one file at a time, a restriction +# shared with many OS's install programs. + +# set DOITPROG to echo to test this script + +# Don't use :- since 4.3BSD and earlier shells don't like it. +doit="${DOITPROG-}" + +# put in absolute paths if you don't have them in your path; or use env. vars. + +mvprog="${MVPROG-mv}" +cpprog="${CPPROG-cp}" +chmodprog="${CHMODPROG-chmod}" +chownprog="${CHOWNPROG-chown}" +chgrpprog="${CHGRPPROG-chgrp}" +stripprog="${STRIPPROG-strip}" +rmprog="${RMPROG-rm}" +mkdirprog="${MKDIRPROG-mkdir}" + +transformbasename= +transform_arg= +instcmd="$mvprog" +chmodcmd="$chmodprog 0755" +chowncmd= +chgrpcmd= +stripcmd= +rmcmd="$rmprog -f" +mvcmd="$mvprog" +src= +dst= +dir_arg= + +usage="Usage: $0 [OPTION]... SRCFILE DSTFILE + or: $0 [OPTION]... SRCFILES... DIRECTORY + or: $0 -d DIRECTORIES... + +In the first form, install SRCFILE to DSTFILE, removing SRCFILE by default. +In the second, create the directory path DIR. + +Options: +-b=TRANSFORMBASENAME +-c copy source (using $cpprog) instead of moving (using $mvprog). +-d create directories instead of installing files. +-g GROUP $chgrp installed files to GROUP. +-m MODE $chmod installed files to MODE. +-o USER $chown installed files to USER. +-s strip installed files (using $stripprog). +-t=TRANSFORM +--help display this help and exit. +--version display version info and exit. + +Environment variables override the default commands: + CHGRPPROG CHMODPROG CHOWNPROG CPPROG MKDIRPROG MVPROG RMPROG STRIPPROG +" + +while test -n "$1"; do + case $1 in + -b=*) transformbasename=`echo $1 | sed 's/-b=//'` + shift + continue;; + + -c) instcmd=$cpprog + shift + continue;; + + -d) dir_arg=true + shift + continue;; + + -g) chgrpcmd="$chgrpprog $2" + shift + shift + continue;; + + --help) echo "$usage"; exit 0;; + + -m) chmodcmd="$chmodprog $2" + shift + shift + continue;; + + -o) chowncmd="$chownprog $2" + shift + shift + continue;; + + -s) stripcmd=$stripprog + shift + continue;; + + -t=*) transformarg=`echo $1 | sed 's/-t=//'` + shift + continue;; + + --version) echo "$0 $scriptversion"; exit 0;; + + *) # When -d is used, all remaining arguments are directories to create. + test -n "$dir_arg" && break + # Otherwise, the last argument is the destination. Remove it from $@. + for arg + do + if test -n "$dstarg"; then + # $@ is not empty: it contains at least $arg. + set fnord "$@" "$dstarg" + shift # fnord + fi + shift # arg + dstarg=$arg + done + break;; + esac +done + +if test -z "$1"; then + if test -z "$dir_arg"; then + echo "$0: no input file specified." >&2 + exit 1 + fi + # It's OK to call `install-sh -d' without argument. + # This can happen when creating conditional directories. + exit 0 +fi + +for src +do + # Protect names starting with `-'. + case $src in + -*) src=./$src ;; + esac + + if test -n "$dir_arg"; then + dst=$src + src= + + if test -d "$dst"; then + instcmd=: + chmodcmd= + else + instcmd=$mkdirprog + fi + else + # Waiting for this to be detected by the "$instcmd $src $dsttmp" command + # might cause directories to be created, which would be especially bad + # if $src (and thus $dsttmp) contains '*'. + if test ! -f "$src" && test ! -d "$src"; then + echo "$0: $src does not exist." >&2 + exit 1 + fi + + if test -z "$dstarg"; then + echo "$0: no destination specified." >&2 + exit 1 + fi + + dst=$dstarg + # Protect names starting with `-'. + case $dst in + -*) dst=./$dst ;; + esac + + # If destination is a directory, append the input filename; won't work + # if double slashes aren't ignored. + if test -d "$dst"; then + dst=$dst/`basename "$src"` + fi + fi + + # This sed command emulates the dirname command. + dstdir=`echo "$dst" | sed -e 's,[^/]*$,,;s,/$,,;s,^$,.,'` + + # Make sure that the destination directory exists. + + # Skip lots of stat calls in the usual case. + if test ! -d "$dstdir"; then + defaultIFS=' + ' + IFS="${IFS-$defaultIFS}" + + oIFS=$IFS + # Some sh's can't handle IFS=/ for some reason. + IFS='%' + set - `echo "$dstdir" | sed -e 's@/@%@g' -e 's@^%@/@'` + IFS=$oIFS + + pathcomp= + + while test $# -ne 0 ; do + pathcomp=$pathcomp$1 + shift + if test ! -d "$pathcomp"; then + $mkdirprog "$pathcomp" || lasterr=$? + # mkdir can fail with a `File exist' error in case several + # install-sh are creating the directory concurrently. This + # is OK. + test ! -d "$pathcomp" && { (exit ${lasterr-1}); exit; } + fi + pathcomp=$pathcomp/ + done + fi + + if test -n "$dir_arg"; then + $doit $instcmd "$dst" \ + && { test -z "$chowncmd" || $doit $chowncmd "$dst"; } \ + && { test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } \ + && { test -z "$stripcmd" || $doit $stripcmd "$dst"; } \ + && { test -z "$chmodcmd" || $doit $chmodcmd "$dst"; } + + else + # If we're going to rename the final executable, determine the name now. + if test -z "$transformarg"; then + dstfile=`basename "$dst"` + else + dstfile=`basename "$dst" $transformbasename \ + | sed $transformarg`$transformbasename + fi + + # don't allow the sed command to completely eliminate the filename. + test -z "$dstfile" && dstfile=`basename "$dst"` + + # Make a couple of temp file names in the proper directory. + dsttmp=$dstdir/_inst.$$_ + rmtmp=$dstdir/_rm.$$_ + + # Trap to clean up those temp files at exit. + trap 'status=$?; rm -f "$dsttmp" "$rmtmp" && exit $status' 0 + trap '(exit $?); exit' 1 2 13 15 + + # Move or copy the file name to the temp name + $doit $instcmd "$src" "$dsttmp" && + + # and set any options; do chmod last to preserve setuid bits. + # + # If any of these fail, we abort the whole thing. If we want to + # ignore errors from any of these, just make sure not to ignore + # errors from the above "$doit $instcmd $src $dsttmp" command. + # + { test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } \ + && { test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } \ + && { test -z "$stripcmd" || $doit $stripcmd "$dsttmp"; } \ + && { test -z "$chmodcmd" || $doit $chmodcmd "$dsttmp"; } && + + # Now remove or move aside any old file at destination location. We + # try this two ways since rm can't unlink itself on some systems and + # the destination file might be busy for other reasons. In this case, + # the final cleanup might fail but the new file should still install + # successfully. + { + if test -f "$dstdir/$dstfile"; then + $doit $rmcmd -f "$dstdir/$dstfile" 2>/dev/null \ + || $doit $mvcmd -f "$dstdir/$dstfile" "$rmtmp" 2>/dev/null \ + || { + echo "$0: cannot unlink or rename $dstdir/$dstfile" >&2 + (exit 1); exit + } + else + : + fi + } && + + # Now rename the file to the real destination. + $doit $mvcmd "$dsttmp" "$dstdir/$dstfile" + fi || { (exit 1); exit; } +done + +# The final little trick to "correctly" pass the exit status to the exit trap. +{ + (exit 0); exit +} + +# Local variables: +# eval: (add-hook 'write-file-hooks 'time-stamp) +# time-stamp-start: "scriptversion=" +# time-stamp-format: "%:y-%02m-%02d.%02H" +# time-stamp-end: "$" +# End: diff --git a/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/libtool b/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/libtool new file mode 100755 index 000000000..a3f0d0ec3 --- /dev/null +++ b/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/libtool @@ -0,0 +1,7064 @@ +#! /bin/sh + +# libtoolT - Provide generalized library-building support services. +# Generated automatically by (GNU libusb 0.1.12) +# NOTE: Changes made to this file will be lost: look at ltmain.sh. +# +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001 +# Free Software Foundation, Inc. +# +# This file is part of GNU Libtool: +# Originally by Gordon Matzigkeit , 1996 +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# 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. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +# +# As a special exception to the GNU General Public License, if you +# distribute this file as part of a program that contains a +# configuration script generated by Autoconf, you may include it under +# the same distribution terms that you use for the rest of that program. + +# A sed program that does not truncate output. +SED="/bin/sed" + +# Sed that helps us avoid accidentally triggering echo(1) options like -n. +Xsed="/bin/sed -e s/^X//" + +# The HP-UX ksh and POSIX shell print the target directory to stdout +# if CDPATH is set. +if test "X${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi + +# The names of the tagged configurations supported by this script. +available_tags=" CXX" + +# ### BEGIN LIBTOOL CONFIG + +# Libtool was configured on host qingheng-Precision-WorkStation-T3500: + +# Shell to use when invoking shell scripts. +SHELL="/bin/sh" + +# Whether or not to build shared libraries. +build_libtool_libs=yes + +# Whether or not to build static libraries. +build_old_libs=yes + +# Whether or not to add -lc for building shared libraries. +build_libtool_need_lc=no + +# Whether or not to disallow shared libs when runtime libs are static +allow_libtool_libs_with_static_runtimes=no + +# Whether or not to optimize for fast installation. +fast_install=yes + +# The host system. +host_alias=mipsel-uclibc-linux26 +host=mipsel-uclibc-linux-gnu26 + +# An echo program that does not interpret backslashes. +echo="echo" + +# The archiver. +AR="ar" +AR_FLAGS="cru" + +# A C compiler. +LTCC="/home/qingheng/BCM947186/build_script/43241/../../platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/mipsel-uclibc-linux26-gcc" + +# A language-specific compiler. +CC="/home/qingheng/BCM947186/build_script/43241/../../platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/mipsel-uclibc-linux26-gcc" + +# Is the compiler the GNU C compiler? +with_gcc=yes + +# An ERE matcher. +EGREP="/bin/grep -E" + +# The linker used to build libraries. +LD="/projects/hnd/tools/linux/hndtools-mipsel-linux-uclibc-4.2.3/usr/bin/mipsel-linux-uclibc-ld" + +# Whether we need hard or soft links. +LN_S="ln -s" + +# A BSD-compatible nm program. +NM="nm" + +# A symbol stripping program +STRIP="strip" + +# Used to examine libraries when file_magic_cmd begins "file" +MAGIC_CMD=file + +# Used on cygwin: DLL creation program. +DLLTOOL="dlltool" + +# Used on cygwin: object dumper. +OBJDUMP="objdump" + +# Used on cygwin: assembler. +AS="as" + +# The name of the directory that contains temporary libtool files. +objdir=.libs + +# How to create reloadable object files. +reload_flag=" -r" +reload_cmds="\$LD\$reload_flag -o \$output\$reload_objs" + +# How to pass a linker flag through the compiler. +wl="-Wl," + +# Object file suffix (normally "o"). +objext="o" + +# Old archive suffix (normally "a"). +libext="a" + +# Shared library suffix (normally ".so"). +shrext_cmds='.so' + +# Executable file suffix (normally ""). +exeext="" + +# Additional compiler flags for building library objects. +pic_flag=" -fPIC -DPIC" +pic_mode=default + +# What is the maximum length of a command? +max_cmd_len=32768 + +# Does compiler simultaneously support -c and -o options? +compiler_c_o="yes" + +# Must we lock files when doing compilation ? +need_locks="no" + +# Do we need the lib prefix for modules? +need_lib_prefix=no + +# Do we need a version for libraries? +need_version=no + +# Whether dlopen is supported. +dlopen_support=unknown + +# Whether dlopen of programs is supported. +dlopen_self=unknown + +# Whether dlopen of statically linked programs is supported. +dlopen_self_static=unknown + +# Compiler flag to prevent dynamic linking. +link_static_flag="-static" + +# Compiler flag to turn off builtin functions. +no_builtin_flag=" -fno-builtin" + +# Compiler flag to allow reflexive dlopens. +export_dynamic_flag_spec="\${wl}--export-dynamic" + +# Compiler flag to generate shared objects directly from archives. +whole_archive_flag_spec="\${wl}--whole-archive\$convenience \${wl}--no-whole-archive" + +# Compiler flag to generate thread-safe objects. +thread_safe_flag_spec="" + +# Library versioning type. +version_type=linux + +# Format of library name prefix. +libname_spec="lib\$name" + +# List of archive names. First name is the real one, the rest are links. +# The last name is the one that the linker finds with -lNAME. +library_names_spec="\${libname}\${release}\${shared_ext}\$versuffix \${libname}\${release}\${shared_ext}\$major \$libname\${shared_ext}" + +# The coded name of the library, if different from the real name. +soname_spec="\${libname}\${release}\${shared_ext}\$major" + +# Commands used to build and install an old-style archive. +RANLIB="ranlib" +old_archive_cmds="\$AR \$AR_FLAGS \$oldlib\$oldobjs\$old_deplibs~\$RANLIB \$oldlib" +old_postinstall_cmds="\$RANLIB \$oldlib~chmod 644 \$oldlib" +old_postuninstall_cmds="" + +# Create an old-style archive from a shared archive. +old_archive_from_new_cmds="" + +# Create a temporary old-style archive to link instead of a shared archive. +old_archive_from_expsyms_cmds="" + +# Commands used to build and install a shared archive. +archive_cmds="\$CC -shared \$libobjs \$deplibs \$compiler_flags \${wl}-soname \$wl\$soname -o \$lib" +archive_expsym_cmds="\$echo \\\"{ global:\\\" > \$output_objdir/\$libname.ver~ +cat \$export_symbols | sed -e \\\"s/\\\\(.*\\\\)/\\\\1;/\\\" >> \$output_objdir/\$libname.ver~ +\$echo \\\"local: *; };\\\" >> \$output_objdir/\$libname.ver~ + \$CC -shared \$libobjs \$deplibs \$compiler_flags \${wl}-soname \$wl\$soname \${wl}-version-script \${wl}\$output_objdir/\$libname.ver -o \$lib" +postinstall_cmds="" +postuninstall_cmds="" + +# Commands used to build a loadable module (assumed same as above if empty) +module_cmds="" +module_expsym_cmds="" + +# Commands to strip libraries. +old_striplib="strip --strip-debug" +striplib="strip --strip-unneeded" + +# Dependencies to place before the objects being linked to create a +# shared library. +predep_objects="" + +# Dependencies to place after the objects being linked to create a +# shared library. +postdep_objects="" + +# Dependencies to place before the objects being linked to create a +# shared library. +predeps="" + +# Dependencies to place after the objects being linked to create a +# shared library. +postdeps="" + +# The library search path used internally by the compiler when linking +# a shared library. +compiler_lib_search_path="" + +# Method to check whether dependent libraries are shared objects. +deplibs_check_method="pass_all" + +# Command to use when deplibs_check_method == file_magic. +file_magic_cmd="\$MAGIC_CMD" + +# Flag that allows shared libraries with undefined symbols to be built. +allow_undefined_flag="" + +# Flag that forces no undefined symbols. +no_undefined_flag="" + +# Commands used to finish a libtool library installation in a directory. +finish_cmds="PATH=\\\"\\\$PATH:/sbin\\\" ldconfig -n \$libdir" + +# Same as above, but a single script fragment to be evaled but not shown. +finish_eval="" + +# Take the output of nm and produce a listing of raw symbols and C names. +global_symbol_pipe="sed -n -e 's/^.*[ ]\\([ABCDGIRSTW][ABCDGIRSTW]*\\)[ ][ ]*\\(\\)\\([_A-Za-z][_A-Za-z0-9]*\\)\$/\\1 \\2\\3 \\3/p'" + +# Transform the output of nm in a proper C declaration +global_symbol_to_cdecl="sed -n -e 's/^. .* \\(.*\\)\$/extern int \\1;/p'" + +# Transform the output of nm in a C name address pair +global_symbol_to_c_name_address="sed -n -e 's/^: \\([^ ]*\\) \$/ {\\\"\\1\\\", (lt_ptr) 0},/p' -e 's/^[BCDEGRST] \\([^ ]*\\) \\([^ ]*\\)\$/ {\"\\2\", (lt_ptr) \\&\\2},/p'" + +# This is the shared library runtime path variable. +runpath_var=LD_RUN_PATH + +# This is the shared library path variable. +shlibpath_var=LD_LIBRARY_PATH + +# Is shlibpath searched before the hard-coded library search path? +shlibpath_overrides_runpath=no + +# How to hardcode a shared library path into an executable. +hardcode_action=immediate + +# Whether we should hardcode library paths into libraries. +hardcode_into_libs=yes + +# Flag to hardcode $libdir into a binary during linking. +# This must work even if $libdir does not exist. +hardcode_libdir_flag_spec="\${wl}--rpath \${wl}\$libdir" + +# If ld is used when linking, flag to hardcode $libdir into +# a binary during linking. This must work even if $libdir does +# not exist. +hardcode_libdir_flag_spec_ld="" + +# Whether we need a single -rpath flag with a separated argument. +hardcode_libdir_separator="" + +# Set to yes if using DIR/libNAME during linking hardcodes DIR into the +# resulting binary. +hardcode_direct=no + +# Set to yes if using the -LDIR flag during linking hardcodes DIR into the +# resulting binary. +hardcode_minus_L=no + +# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into +# the resulting binary. +hardcode_shlibpath_var=unsupported + +# Set to yes if building a shared library automatically hardcodes DIR into the library +# and all subsequent libraries and executables linked against it. +hardcode_automatic=no + +# Variables whose values should be saved in libtool wrapper scripts and +# restored at relink time. +variables_saved_for_relink="PATH LD_RUN_PATH GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" + +# Whether libtool must link a program against all its dependency libraries. +link_all_deplibs=unknown + +# Compile-time system search path for libraries +sys_lib_search_path_spec=" /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/ /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/ /projects/hnd/tools/linux/hndtools-mipsel-linux-uclibc-4.2.3/lib/gcc/mipsel-linux-uclibc/4.2.3/ /usr/lib/gcc/mipsel-linux-uclibc/4.2.3/ /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/lib/mipsel-linux-uclibc/4.2.3/ /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/lib/ /projects/hnd/tools/linux/hndtools-mipsel-linux-uclibc-4.2.3/lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/lib/mipsel-linux-uclibc/4.2.3/ /projects/hnd/tools/linux/hndtools-mipsel-linux-uclibc-4.2.3/lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/lib/" + +# Run-time system search path for libraries +sys_lib_dlsearch_path_spec="/lib /usr/lib include /etc/ld.so.conf.d/*.conf " + +# Fix the shell variable $srcfile for the compiler. +fix_srcfile_path="" + +# Set to yes if exported symbols are required. +always_export_symbols=no + +# The commands to list exported symbols. +export_symbols_cmds="\$NM \$libobjs \$convenience | \$global_symbol_pipe | \$SED 's/.* //' | sort | uniq > \$export_symbols" + +# The commands to extract the exported symbol list from a shared archive. +extract_expsyms_cmds="" + +# Symbols that should not be listed in the preloaded symbols. +exclude_expsyms="_GLOBAL_OFFSET_TABLE_" + +# Symbols that must always be exported. +include_expsyms="" + +# ### END LIBTOOL CONFIG + +# ltmain.sh - Provide generalized library-building support services. +# NOTE: Changing this file will not affect anything until you rerun configure. +# +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004 +# Free Software Foundation, Inc. +# Originally by Gordon Matzigkeit , 1996 +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# 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. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +# +# As a special exception to the GNU General Public License, if you +# distribute this file as part of a program that contains a +# configuration script generated by Autoconf, you may include it under +# the same distribution terms that you use for the rest of that program. + +basename="s,^.*/,,g" + +# Work around backward compatibility issue on IRIX 6.5. On IRIX 6.4+, sh +# is ksh but when the shell is invoked as "sh" and the current value of +# the _XPG environment variable is not equal to 1 (one), the special +# positional parameter $0, within a function call, is the name of the +# function. +progpath="$0" + +# RH: define SED for historic ltconfig's generated by Libtool 1.3 +[ -z "$SED" ] && SED=sed + +# The name of this program: +progname=`echo "$progpath" | $SED $basename` +modename="$progname" + +# Global variables: +EXIT_SUCCESS=0 +EXIT_FAILURE=1 + +PROGRAM=ltmain.sh +PACKAGE=libtool +VERSION=1.5.6 +TIMESTAMP=" (1.1220.2.95 2004/04/11 05:50:42)" + + +# Check that we have a working $echo. +if test "X$1" = X--no-reexec; then + # Discard the --no-reexec flag, and continue. + shift +elif test "X$1" = X--fallback-echo; then + # Avoid inline document here, it may be left over + : +elif test "X`($echo '\t') 2>/dev/null`" = 'X\t'; then + # Yippee, $echo works! + : +else + # Restart under the correct shell, and then maybe $echo will work. + exec $SHELL "$progpath" --no-reexec ${1+"$@"} +fi + +if test "X$1" = X--fallback-echo; then + # used as fallback echo + shift + cat <&2 + $echo "Fatal configuration error. See the $PACKAGE docs for more information." 1>&2 + exit $EXIT_FAILURE +fi + +# Global variables. +mode=$default_mode +nonopt= +prev= +prevopt= +run= +show="$echo" +show_help= +execute_dlfiles= +lo2o="s/\\.lo\$/.${objext}/" +o2lo="s/\\.${objext}\$/.lo/" + +##################################### +# Shell function definitions: +# This seems to be the best place for them + +# func_win32_libid arg +# return the library type of file 'arg' +# +# Need a lot of goo to handle *both* DLLs and import libs +# Has to be a shell function in order to 'eat' the argument +# that is supplied when $file_magic_command is called. +func_win32_libid () { + win32_libid_type="unknown" + win32_fileres=`file -L $1 2>/dev/null` + case $win32_fileres in + *ar\ archive\ import\ library*) # definitely import + win32_libid_type="x86 archive import" + ;; + *ar\ archive*) # could be an import, or static + if eval $OBJDUMP -f $1 | $SED -e '10q' 2>/dev/null | \ + $EGREP -e 'file format pe-i386(.*architecture: i386)?' >/dev/null ; then + win32_nmres=`eval $NM -f posix -A $1 | \ + sed -n -e '1,100{/ I /{x;/import/!{s/^/import/;h;p;};x;};}'` + if test "X$win32_nmres" = "Ximport" ; then + win32_libid_type="x86 archive import" + else + win32_libid_type="x86 archive static" + fi + fi + ;; + *DLL*) + win32_libid_type="x86 DLL" + ;; + *executable*) # but shell scripts are "executable" too... + case $win32_fileres in + *MS\ Windows\ PE\ Intel*) + win32_libid_type="x86 DLL" + ;; + esac + ;; + esac + $echo $win32_libid_type +} + + +# func_infer_tag arg +# Infer tagged configuration to use if any are available and +# if one wasn't chosen via the "--tag" command line option. +# Only attempt this if the compiler in the base compile +# command doesn't match the default compiler. +# arg is usually of the form 'gcc ...' +func_infer_tag () { + if test -n "$available_tags" && test -z "$tagname"; then + CC_quoted= + for arg in $CC; do + case $arg in + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") + arg="\"$arg\"" + ;; + esac + CC_quoted="$CC_quoted $arg" + done + case $@ in + # Blanks in the command may have been stripped by the calling shell, + # but not from the CC environment variable when configure was run. + " $CC "* | "$CC "* | " `$echo $CC` "* | "`$echo $CC` "* | " $CC_quoted"* | "$CC_quoted "* | " `$echo $CC_quoted` "* | "`$echo $CC_quoted` "*) ;; + # Blanks at the start of $base_compile will cause this to fail + # if we don't check for them as well. + *) + for z in $available_tags; do + if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $z$" < "$progpath" > /dev/null; then + # Evaluate the configuration. + eval "`${SED} -n -e '/^# ### BEGIN LIBTOOL TAG CONFIG: '$z'$/,/^# ### END LIBTOOL TAG CONFIG: '$z'$/p' < $progpath`" + CC_quoted= + for arg in $CC; do + # Double-quote args containing other shell metacharacters. + case $arg in + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") + arg="\"$arg\"" + ;; + esac + CC_quoted="$CC_quoted $arg" + done + case "$@ " in + " $CC "* | "$CC "* | " `$echo $CC` "* | "`$echo $CC` "* | " $CC_quoted"* | "$CC_quoted "* | " `$echo $CC_quoted` "* | "`$echo $CC_quoted` "*) + # The compiler in the base compile command matches + # the one in the tagged configuration. + # Assume this is the tagged configuration we want. + tagname=$z + break + ;; + esac + fi + done + # If $tagname still isn't set, then no tagged configuration + # was found and let the user know that the "--tag" command + # line option must be used. + if test -z "$tagname"; then + $echo "$modename: unable to infer tagged configuration" + $echo "$modename: specify a tag with \`--tag'" 1>&2 + exit $EXIT_FAILURE +# else +# $echo "$modename: using $tagname tagged configuration" + fi + ;; + esac + fi +} +# End of Shell function definitions +##################################### + +# Darwin sucks +eval std_shrext=\"$shrext_cmds\" + +# Parse our command line options once, thoroughly. +while test "$#" -gt 0 +do + arg="$1" + shift + + case $arg in + -*=*) optarg=`$echo "X$arg" | $Xsed -e 's/[-_a-zA-Z0-9]*=//'` ;; + *) optarg= ;; + esac + + # If the previous option needs an argument, assign it. + if test -n "$prev"; then + case $prev in + execute_dlfiles) + execute_dlfiles="$execute_dlfiles $arg" + ;; + tag) + tagname="$arg" + preserve_args="${preserve_args}=$arg" + + # Check whether tagname contains only valid characters + case $tagname in + *[!-_A-Za-z0-9,/]*) + $echo "$progname: invalid tag name: $tagname" 1>&2 + exit $EXIT_FAILURE + ;; + esac + + case $tagname in + CC) + # Don't test for the "default" C tag, as we know, it's there, but + # not specially marked. + ;; + *) + if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "$progpath" > /dev/null; then + taglist="$taglist $tagname" + # Evaluate the configuration. + eval "`${SED} -n -e '/^# ### BEGIN LIBTOOL TAG CONFIG: '$tagname'$/,/^# ### END LIBTOOL TAG CONFIG: '$tagname'$/p' < $progpath`" + else + $echo "$progname: ignoring unknown tag $tagname" 1>&2 + fi + ;; + esac + ;; + *) + eval "$prev=\$arg" + ;; + esac + + prev= + prevopt= + continue + fi + + # Have we seen a non-optional argument yet? + case $arg in + --help) + show_help=yes + ;; + + --version) + $echo "$PROGRAM (GNU $PACKAGE) $VERSION$TIMESTAMP" + $echo + $echo "Copyright (C) 2003 Free Software Foundation, Inc." + $echo "This is free software; see the source for copying conditions. There is NO" + $echo "warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." + exit $EXIT_SUCCESS + ;; + + --config) + ${SED} -e '1,/^# ### BEGIN LIBTOOL CONFIG/d' -e '/^# ### END LIBTOOL CONFIG/,$d' $progpath + # Now print the configurations for the tags. + for tagname in $taglist; do + ${SED} -n -e "/^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$/,/^# ### END LIBTOOL TAG CONFIG: $tagname$/p" < "$progpath" + done + exit $EXIT_SUCCESS + ;; + + --debug) + $echo "$progname: enabling shell trace mode" + set -x + preserve_args="$preserve_args $arg" + ;; + + --dry-run | -n) + run=: + ;; + + --features) + $echo "host: $host" + if test "$build_libtool_libs" = yes; then + $echo "enable shared libraries" + else + $echo "disable shared libraries" + fi + if test "$build_old_libs" = yes; then + $echo "enable static libraries" + else + $echo "disable static libraries" + fi + exit $EXIT_SUCCESS + ;; + + --finish) mode="finish" ;; + + --mode) prevopt="--mode" prev=mode ;; + --mode=*) mode="$optarg" ;; + + --preserve-dup-deps) duplicate_deps="yes" ;; + + --quiet | --silent) + show=: + preserve_args="$preserve_args $arg" + ;; + + --tag) prevopt="--tag" prev=tag ;; + --tag=*) + set tag "$optarg" ${1+"$@"} + shift + prev=tag + preserve_args="$preserve_args --tag" + ;; + + -dlopen) + prevopt="-dlopen" + prev=execute_dlfiles + ;; + + -*) + $echo "$modename: unrecognized option \`$arg'" 1>&2 + $echo "$help" 1>&2 + exit $EXIT_FAILURE + ;; + + *) + nonopt="$arg" + break + ;; + esac +done + +if test -n "$prevopt"; then + $echo "$modename: option \`$prevopt' requires an argument" 1>&2 + $echo "$help" 1>&2 + exit $EXIT_FAILURE +fi + +# If this variable is set in any of the actions, the command in it +# will be execed at the end. This prevents here-documents from being +# left over by shells. +exec_cmd= + +if test -z "$show_help"; then + + # Infer the operation mode. + if test -z "$mode"; then + $echo "*** Warning: inferring the mode of operation is deprecated." 1>&2 + $echo "*** Future versions of Libtool will require -mode=MODE be specified." 1>&2 + case $nonopt in + *cc | cc* | *++ | gcc* | *-gcc* | g++* | xlc*) + mode=link + for arg + do + case $arg in + -c) + mode=compile + break + ;; + esac + done + ;; + *db | *dbx | *strace | *truss) + mode=execute + ;; + *install*|cp|mv) + mode=install + ;; + *rm) + mode=uninstall + ;; + *) + # If we have no mode, but dlfiles were specified, then do execute mode. + test -n "$execute_dlfiles" && mode=execute + + # Just use the default operation mode. + if test -z "$mode"; then + if test -n "$nonopt"; then + $echo "$modename: warning: cannot infer operation mode from \`$nonopt'" 1>&2 + else + $echo "$modename: warning: cannot infer operation mode without MODE-ARGS" 1>&2 + fi + fi + ;; + esac + fi + + # Only execute mode is allowed to have -dlopen flags. + if test -n "$execute_dlfiles" && test "$mode" != execute; then + $echo "$modename: unrecognized option \`-dlopen'" 1>&2 + $echo "$help" 1>&2 + exit $EXIT_FAILURE + fi + + # Change the help message to a mode-specific one. + generic_help="$help" + help="Try \`$modename --help --mode=$mode' for more information." + + # These modes are in order of execution frequency so that they run quickly. + case $mode in + # libtool compile mode + compile) + modename="$modename: compile" + # Get the compilation command and the source file. + base_compile= + srcfile="$nonopt" # always keep a non-empty value in "srcfile" + suppress_opt=yes + suppress_output= + arg_mode=normal + libobj= + later= + + for arg + do + case "$arg_mode" in + arg ) + # do not "continue". Instead, add this to base_compile + lastarg="$arg" + arg_mode=normal + ;; + + target ) + libobj="$arg" + arg_mode=normal + continue + ;; + + normal ) + # Accept any command-line options. + case $arg in + -o) + if test -n "$libobj" ; then + $echo "$modename: you cannot specify \`-o' more than once" 1>&2 + exit $EXIT_FAILURE + fi + arg_mode=target + continue + ;; + + -static | -prefer-pic | -prefer-non-pic) + later="$later $arg" + continue + ;; + + -no-suppress) + suppress_opt=no + continue + ;; + + -Xcompiler) + arg_mode=arg # the next one goes into the "base_compile" arg list + continue # The current "srcfile" will either be retained or + ;; # replaced later. I would guess that would be a bug. + + -Wc,*) + args=`$echo "X$arg" | $Xsed -e "s/^-Wc,//"` + lastarg= + save_ifs="$IFS"; IFS=',' + for arg in $args; do + IFS="$save_ifs" + + # Double-quote args containing other shell metacharacters. + # Many Bourne shells cannot handle close brackets correctly + # in scan sets, so we specify it separately. + case $arg in + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") + arg="\"$arg\"" + ;; + esac + lastarg="$lastarg $arg" + done + IFS="$save_ifs" + lastarg=`$echo "X$lastarg" | $Xsed -e "s/^ //"` + + # Add the arguments to base_compile. + base_compile="$base_compile $lastarg" + continue + ;; + + * ) + # Accept the current argument as the source file. + # The previous "srcfile" becomes the current argument. + # + lastarg="$srcfile" + srcfile="$arg" + ;; + esac # case $arg + ;; + esac # case $arg_mode + + # Aesthetically quote the previous argument. + lastarg=`$echo "X$lastarg" | $Xsed -e "$sed_quote_subst"` + + case $lastarg in + # Double-quote args containing other shell metacharacters. + # Many Bourne shells cannot handle close brackets correctly + # in scan sets, so we specify it separately. + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") + lastarg="\"$lastarg\"" + ;; + esac + + base_compile="$base_compile $lastarg" + done # for arg + + case $arg_mode in + arg) + $echo "$modename: you must specify an argument for -Xcompile" + exit $EXIT_FAILURE + ;; + target) + $echo "$modename: you must specify a target with \`-o'" 1>&2 + exit $EXIT_FAILURE + ;; + *) + # Get the name of the library object. + [ -z "$libobj" ] && libobj=`$echo "X$srcfile" | $Xsed -e 's%^.*/%%'` + ;; + esac + + # Recognize several different file suffixes. + # If the user specifies -o file.o, it is replaced with file.lo + xform='[cCFSifmso]' + case $libobj in + *.ada) xform=ada ;; + *.adb) xform=adb ;; + *.ads) xform=ads ;; + *.asm) xform=asm ;; + *.c++) xform=c++ ;; + *.cc) xform=cc ;; + *.ii) xform=ii ;; + *.class) xform=class ;; + *.cpp) xform=cpp ;; + *.cxx) xform=cxx ;; + *.f90) xform=f90 ;; + *.for) xform=for ;; + *.java) xform=java ;; + esac + + libobj=`$echo "X$libobj" | $Xsed -e "s/\.$xform$/.lo/"` + + case $libobj in + *.lo) obj=`$echo "X$libobj" | $Xsed -e "$lo2o"` ;; + *) + $echo "$modename: cannot determine name of library object from \`$libobj'" 1>&2 + exit $EXIT_FAILURE + ;; + esac + + func_infer_tag $base_compile + + for arg in $later; do + case $arg in + -static) + build_old_libs=yes + continue + ;; + + -prefer-pic) + pic_mode=yes + continue + ;; + + -prefer-non-pic) + pic_mode=no + continue + ;; + esac + done + + objname=`$echo "X$obj" | $Xsed -e 's%^.*/%%'` + xdir=`$echo "X$obj" | $Xsed -e 's%/[^/]*$%%'` + if test "X$xdir" = "X$obj"; then + xdir= + else + xdir=$xdir/ + fi + lobj=${xdir}$objdir/$objname + + if test -z "$base_compile"; then + $echo "$modename: you must specify a compilation command" 1>&2 + $echo "$help" 1>&2 + exit $EXIT_FAILURE + fi + + # Delete any leftover library objects. + if test "$build_old_libs" = yes; then + removelist="$obj $lobj $libobj ${libobj}T" + else + removelist="$lobj $libobj ${libobj}T" + fi + + $run $rm $removelist + trap "$run $rm $removelist; exit $EXIT_FAILURE" 1 2 15 + + # On Cygwin there's no "real" PIC flag so we must build both object types + case $host_os in + cygwin* | mingw* | pw32* | os2*) + pic_mode=default + ;; + esac + if test "$pic_mode" = no && test "$deplibs_check_method" != pass_all; then + # non-PIC code in shared libraries is not supported + pic_mode=default + fi + + # Calculate the filename of the output object if compiler does + # not support -o with -c + if test "$compiler_c_o" = no; then + output_obj=`$echo "X$srcfile" | $Xsed -e 's%^.*/%%' -e 's%\.[^.]*$%%'`.${objext} + lockfile="$output_obj.lock" + removelist="$removelist $output_obj $lockfile" + trap "$run $rm $removelist; exit $EXIT_FAILURE" 1 2 15 + else + output_obj= + need_locks=no + lockfile= + fi + + # Lock this critical section if it is needed + # We use this script file to make the link, it avoids creating a new file + if test "$need_locks" = yes; then + until $run ln "$progpath" "$lockfile" 2>/dev/null; do + $show "Waiting for $lockfile to be removed" + sleep 2 + done + elif test "$need_locks" = warn; then + if test -f "$lockfile"; then + $echo "\ +*** ERROR, $lockfile exists and contains: +`cat $lockfile 2>/dev/null` + +This indicates that another process is trying to use the same +temporary object file, and libtool could not work around it because +your compiler does not support \`-c' and \`-o' together. If you +repeat this compilation, it may succeed, by chance, but you had better +avoid parallel builds (make -j) in this platform, or get a better +compiler." + + $run $rm $removelist + exit $EXIT_FAILURE + fi + $echo $srcfile > "$lockfile" + fi + + if test -n "$fix_srcfile_path"; then + eval srcfile=\"$fix_srcfile_path\" + fi + + $run $rm "$libobj" "${libobj}T" + + # Create a libtool object file (analogous to a ".la" file), + # but don't create it if we're doing a dry run. + test -z "$run" && cat > ${libobj}T </dev/null`" != "X$srcfile"; then + $echo "\ +*** ERROR, $lockfile contains: +`cat $lockfile 2>/dev/null` + +but it should contain: +$srcfile + +This indicates that another process is trying to use the same +temporary object file, and libtool could not work around it because +your compiler does not support \`-c' and \`-o' together. If you +repeat this compilation, it may succeed, by chance, but you had better +avoid parallel builds (make -j) in this platform, or get a better +compiler." + + $run $rm $removelist + exit $EXIT_FAILURE + fi + + # Just move the object if needed, then go on to compile the next one + if test -n "$output_obj" && test "X$output_obj" != "X$lobj"; then + $show "$mv $output_obj $lobj" + if $run $mv $output_obj $lobj; then : + else + error=$? + $run $rm $removelist + exit $error + fi + fi + + # Append the name of the PIC object to the libtool object file. + test -z "$run" && cat >> ${libobj}T <> ${libobj}T </dev/null`" != "X$srcfile"; then + $echo "\ +*** ERROR, $lockfile contains: +`cat $lockfile 2>/dev/null` + +but it should contain: +$srcfile + +This indicates that another process is trying to use the same +temporary object file, and libtool could not work around it because +your compiler does not support \`-c' and \`-o' together. If you +repeat this compilation, it may succeed, by chance, but you had better +avoid parallel builds (make -j) in this platform, or get a better +compiler." + + $run $rm $removelist + exit $EXIT_FAILURE + fi + + # Just move the object if needed + if test -n "$output_obj" && test "X$output_obj" != "X$obj"; then + $show "$mv $output_obj $obj" + if $run $mv $output_obj $obj; then : + else + error=$? + $run $rm $removelist + exit $error + fi + fi + + # Append the name of the non-PIC object the libtool object file. + # Only append if the libtool object file exists. + test -z "$run" && cat >> ${libobj}T <> ${libobj}T <&2 + fi + if test -n "$link_static_flag"; then + dlopen_self=$dlopen_self_static + fi + else + if test -z "$pic_flag" && test -n "$link_static_flag"; then + dlopen_self=$dlopen_self_static + fi + fi + build_libtool_libs=no + build_old_libs=yes + prefer_static_libs=yes + break + ;; + esac + done + + # See if our shared archives depend on static archives. + test -n "$old_archive_from_new_cmds" && build_old_libs=yes + + # Go through the arguments, transforming them on the way. + while test "$#" -gt 0; do + arg="$1" + shift + case $arg in + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") + qarg=\"`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`\" ### testsuite: skip nested quoting test + ;; + *) qarg=$arg ;; + esac + libtool_args="$libtool_args $qarg" + + # If the previous option needs an argument, assign it. + if test -n "$prev"; then + case $prev in + output) + compile_command="$compile_command @OUTPUT@" + finalize_command="$finalize_command @OUTPUT@" + ;; + esac + + case $prev in + dlfiles|dlprefiles) + if test "$preload" = no; then + # Add the symbol object into the linking commands. + compile_command="$compile_command @SYMFILE@" + finalize_command="$finalize_command @SYMFILE@" + preload=yes + fi + case $arg in + *.la | *.lo) ;; # We handle these cases below. + force) + if test "$dlself" = no; then + dlself=needless + export_dynamic=yes + fi + prev= + continue + ;; + self) + if test "$prev" = dlprefiles; then + dlself=yes + elif test "$prev" = dlfiles && test "$dlopen_self" != yes; then + dlself=yes + else + dlself=needless + export_dynamic=yes + fi + prev= + continue + ;; + *) + if test "$prev" = dlfiles; then + dlfiles="$dlfiles $arg" + else + dlprefiles="$dlprefiles $arg" + fi + prev= + continue + ;; + esac + ;; + expsyms) + export_symbols="$arg" + if test ! -f "$arg"; then + $echo "$modename: symbol file \`$arg' does not exist" + exit $EXIT_FAILURE + fi + prev= + continue + ;; + expsyms_regex) + export_symbols_regex="$arg" + prev= + continue + ;; + inst_prefix) + inst_prefix_dir="$arg" + prev= + continue + ;; + precious_regex) + precious_files_regex="$arg" + prev= + continue + ;; + release) + release="-$arg" + prev= + continue + ;; + objectlist) + if test -f "$arg"; then + save_arg=$arg + moreargs= + for fil in `cat $save_arg` + do +# moreargs="$moreargs $fil" + arg=$fil + # A libtool-controlled object. + + # Check to see that this really is a libtool object. + if (${SED} -e '2q' $arg | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then + pic_object= + non_pic_object= + + # Read the .lo file + # If there is no directory component, then add one. + case $arg in + */* | *\\*) . $arg ;; + *) . ./$arg ;; + esac + + if test -z "$pic_object" || \ + test -z "$non_pic_object" || + test "$pic_object" = none && \ + test "$non_pic_object" = none; then + $echo "$modename: cannot find name of object for \`$arg'" 1>&2 + exit $EXIT_FAILURE + fi + + # Extract subdirectory from the argument. + xdir=`$echo "X$arg" | $Xsed -e 's%/[^/]*$%%'` + if test "X$xdir" = "X$arg"; then + xdir= + else + xdir="$xdir/" + fi + + if test "$pic_object" != none; then + # Prepend the subdirectory the object is found in. + pic_object="$xdir$pic_object" + + if test "$prev" = dlfiles; then + if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; then + dlfiles="$dlfiles $pic_object" + prev= + continue + else + # If libtool objects are unsupported, then we need to preload. + prev=dlprefiles + fi + fi + + # CHECK ME: I think I busted this. -Ossama + if test "$prev" = dlprefiles; then + # Preload the old-style object. + dlprefiles="$dlprefiles $pic_object" + prev= + fi + + # A PIC object. + libobjs="$libobjs $pic_object" + arg="$pic_object" + fi + + # Non-PIC object. + if test "$non_pic_object" != none; then + # Prepend the subdirectory the object is found in. + non_pic_object="$xdir$non_pic_object" + + # A standard non-PIC object + non_pic_objects="$non_pic_objects $non_pic_object" + if test -z "$pic_object" || test "$pic_object" = none ; then + arg="$non_pic_object" + fi + fi + else + # Only an error if not doing a dry-run. + if test -z "$run"; then + $echo "$modename: \`$arg' is not a valid libtool object" 1>&2 + exit $EXIT_FAILURE + else + # Dry-run case. + + # Extract subdirectory from the argument. + xdir=`$echo "X$arg" | $Xsed -e 's%/[^/]*$%%'` + if test "X$xdir" = "X$arg"; then + xdir= + else + xdir="$xdir/" + fi + + pic_object=`$echo "X${xdir}${objdir}/${arg}" | $Xsed -e "$lo2o"` + non_pic_object=`$echo "X${xdir}${arg}" | $Xsed -e "$lo2o"` + libobjs="$libobjs $pic_object" + non_pic_objects="$non_pic_objects $non_pic_object" + fi + fi + done + else + $echo "$modename: link input file \`$save_arg' does not exist" + exit $EXIT_FAILURE + fi + arg=$save_arg + prev= + continue + ;; + rpath | xrpath) + # We need an absolute path. + case $arg in + [\\/]* | [A-Za-z]:[\\/]*) ;; + *) + $echo "$modename: only absolute run-paths are allowed" 1>&2 + exit $EXIT_FAILURE + ;; + esac + if test "$prev" = rpath; then + case "$rpath " in + *" $arg "*) ;; + *) rpath="$rpath $arg" ;; + esac + else + case "$xrpath " in + *" $arg "*) ;; + *) xrpath="$xrpath $arg" ;; + esac + fi + prev= + continue + ;; + xcompiler) + compiler_flags="$compiler_flags $qarg" + prev= + compile_command="$compile_command $qarg" + finalize_command="$finalize_command $qarg" + continue + ;; + xlinker) + linker_flags="$linker_flags $qarg" + compiler_flags="$compiler_flags $wl$qarg" + prev= + compile_command="$compile_command $wl$qarg" + finalize_command="$finalize_command $wl$qarg" + continue + ;; + xcclinker) + linker_flags="$linker_flags $qarg" + compiler_flags="$compiler_flags $qarg" + prev= + compile_command="$compile_command $qarg" + finalize_command="$finalize_command $qarg" + continue + ;; + shrext) + shrext_cmds="$arg" + prev= + continue + ;; + *) + eval "$prev=\"\$arg\"" + prev= + continue + ;; + esac + fi # test -n "$prev" + + prevarg="$arg" + + case $arg in + -all-static) + if test -n "$link_static_flag"; then + compile_command="$compile_command $link_static_flag" + finalize_command="$finalize_command $link_static_flag" + fi + continue + ;; + + -allow-undefined) + # FIXME: remove this flag sometime in the future. + $echo "$modename: \`-allow-undefined' is deprecated because it is the default" 1>&2 + continue + ;; + + -avoid-version) + avoid_version=yes + continue + ;; + + -dlopen) + prev=dlfiles + continue + ;; + + -dlpreopen) + prev=dlprefiles + continue + ;; + + -export-dynamic) + export_dynamic=yes + continue + ;; + + -export-symbols | -export-symbols-regex) + if test -n "$export_symbols" || test -n "$export_symbols_regex"; then + $echo "$modename: more than one -exported-symbols argument is not allowed" + exit $EXIT_FAILURE + fi + if test "X$arg" = "X-export-symbols"; then + prev=expsyms + else + prev=expsyms_regex + fi + continue + ;; + + -inst-prefix-dir) + prev=inst_prefix + continue + ;; + + # The native IRIX linker understands -LANG:*, -LIST:* and -LNO:* + # so, if we see these flags be careful not to treat them like -L + -L[A-Z][A-Z]*:*) + case $with_gcc/$host in + no/*-*-irix* | /*-*-irix*) + compile_command="$compile_command $arg" + finalize_command="$finalize_command $arg" + ;; + esac + continue + ;; + + -L*) + dir=`$echo "X$arg" | $Xsed -e 's/^-L//'` + # We need an absolute path. + case $dir in + [\\/]* | [A-Za-z]:[\\/]*) ;; + *) + absdir=`cd "$dir" && pwd` + if test -z "$absdir"; then + $echo "$modename: cannot determine absolute directory name of \`$dir'" 1>&2 + exit $EXIT_FAILURE + fi + dir="$absdir" + ;; + esac + case "$deplibs " in + *" -L$dir "*) ;; + *) + deplibs="$deplibs -L$dir" + lib_search_path="$lib_search_path $dir" + ;; + esac + case $host in + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*) + case :$dllsearchpath: in + *":$dir:"*) ;; + *) dllsearchpath="$dllsearchpath:$dir";; + esac + ;; + esac + continue + ;; + + -l*) + if test "X$arg" = "X-lc" || test "X$arg" = "X-lm"; then + case $host in + *-*-cygwin* | *-*-pw32* | *-*-beos*) + # These systems don't actually have a C or math library (as such) + continue + ;; + *-*-mingw* | *-*-os2*) + # These systems don't actually have a C library (as such) + test "X$arg" = "X-lc" && continue + ;; + *-*-openbsd* | *-*-freebsd*) + # Do not include libc due to us having libc/libc_r. + test "X$arg" = "X-lc" && continue + ;; + *-*-rhapsody* | *-*-darwin1.[012]) + # Rhapsody C and math libraries are in the System framework + deplibs="$deplibs -framework System" + continue + esac + elif test "X$arg" = "X-lc_r"; then + case $host in + *-*-openbsd* | *-*-freebsd*) + # Do not include libc_r directly, use -pthread flag. + continue + ;; + esac + fi + deplibs="$deplibs $arg" + continue + ;; + + -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe) + deplibs="$deplibs $arg" + continue + ;; + + -module) + module=yes + continue + ;; + + # gcc -m* arguments should be passed to the linker via $compiler_flags + # in order to pass architecture information to the linker + # (e.g. 32 vs 64-bit). This may also be accomplished via -Wl,-mfoo + # but this is not reliable with gcc because gcc may use -mfoo to + # select a different linker, different libraries, etc, while + # -Wl,-mfoo simply passes -mfoo to the linker. + -m*) + # Unknown arguments in both finalize_command and compile_command need + # to be aesthetically quoted because they are evaled later. + arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"` + case $arg in + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") + arg="\"$arg\"" + ;; + esac + compile_command="$compile_command $arg" + finalize_command="$finalize_command $arg" + if test "$with_gcc" = "yes" ; then + compiler_flags="$compiler_flags $arg" + fi + continue + ;; + + -shrext) + prev=shrext + continue + ;; + + -no-fast-install) + fast_install=no + continue + ;; + + -no-install) + case $host in + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*) + # The PATH hackery in wrapper scripts is required on Windows + # in order for the loader to find any dlls it needs. + $echo "$modename: warning: \`-no-install' is ignored for $host" 1>&2 + $echo "$modename: warning: assuming \`-no-fast-install' instead" 1>&2 + fast_install=no + ;; + *) no_install=yes ;; + esac + continue + ;; + + -no-undefined) + allow_undefined=no + continue + ;; + + -objectlist) + prev=objectlist + continue + ;; + + -o) prev=output ;; + + -precious-files-regex) + prev=precious_regex + continue + ;; + + -release) + prev=release + continue + ;; + + -rpath) + prev=rpath + continue + ;; + + -R) + prev=xrpath + continue + ;; + + -R*) + dir=`$echo "X$arg" | $Xsed -e 's/^-R//'` + # We need an absolute path. + case $dir in + [\\/]* | [A-Za-z]:[\\/]*) ;; + *) + $echo "$modename: only absolute run-paths are allowed" 1>&2 + exit $EXIT_FAILURE + ;; + esac + case "$xrpath " in + *" $dir "*) ;; + *) xrpath="$xrpath $dir" ;; + esac + continue + ;; + + -static) + # The effects of -static are defined in a previous loop. + # We used to do the same as -all-static on platforms that + # didn't have a PIC flag, but the assumption that the effects + # would be equivalent was wrong. It would break on at least + # Digital Unix and AIX. + continue + ;; + + -thread-safe) + thread_safe=yes + continue + ;; + + -version-info) + prev=vinfo + continue + ;; + -version-number) + prev=vinfo + vinfo_number=yes + continue + ;; + + -Wc,*) + args=`$echo "X$arg" | $Xsed -e "$sed_quote_subst" -e 's/^-Wc,//'` + arg= + save_ifs="$IFS"; IFS=',' + for flag in $args; do + IFS="$save_ifs" + case $flag in + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") + flag="\"$flag\"" + ;; + esac + arg="$arg $wl$flag" + compiler_flags="$compiler_flags $flag" + done + IFS="$save_ifs" + arg=`$echo "X$arg" | $Xsed -e "s/^ //"` + ;; + + -Wl,*) + args=`$echo "X$arg" | $Xsed -e "$sed_quote_subst" -e 's/^-Wl,//'` + arg= + save_ifs="$IFS"; IFS=',' + for flag in $args; do + IFS="$save_ifs" + case $flag in + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") + flag="\"$flag\"" + ;; + esac + arg="$arg $wl$flag" + compiler_flags="$compiler_flags $wl$flag" + linker_flags="$linker_flags $flag" + done + IFS="$save_ifs" + arg=`$echo "X$arg" | $Xsed -e "s/^ //"` + ;; + + -Xcompiler) + prev=xcompiler + continue + ;; + + -Xlinker) + prev=xlinker + continue + ;; + + -XCClinker) + prev=xcclinker + continue + ;; + + # Some other compiler flag. + -* | +*) + # Unknown arguments in both finalize_command and compile_command need + # to be aesthetically quoted because they are evaled later. + arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"` + case $arg in + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") + arg="\"$arg\"" + ;; + esac + ;; + + *.$objext) + # A standard object. + objs="$objs $arg" + ;; + + *.lo) + # A libtool-controlled object. + + # Check to see that this really is a libtool object. + if (${SED} -e '2q' $arg | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then + pic_object= + non_pic_object= + + # Read the .lo file + # If there is no directory component, then add one. + case $arg in + */* | *\\*) . $arg ;; + *) . ./$arg ;; + esac + + if test -z "$pic_object" || \ + test -z "$non_pic_object" || + test "$pic_object" = none && \ + test "$non_pic_object" = none; then + $echo "$modename: cannot find name of object for \`$arg'" 1>&2 + exit $EXIT_FAILURE + fi + + # Extract subdirectory from the argument. + xdir=`$echo "X$arg" | $Xsed -e 's%/[^/]*$%%'` + if test "X$xdir" = "X$arg"; then + xdir= + else + xdir="$xdir/" + fi + + if test "$pic_object" != none; then + # Prepend the subdirectory the object is found in. + pic_object="$xdir$pic_object" + + if test "$prev" = dlfiles; then + if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; then + dlfiles="$dlfiles $pic_object" + prev= + continue + else + # If libtool objects are unsupported, then we need to preload. + prev=dlprefiles + fi + fi + + # CHECK ME: I think I busted this. -Ossama + if test "$prev" = dlprefiles; then + # Preload the old-style object. + dlprefiles="$dlprefiles $pic_object" + prev= + fi + + # A PIC object. + libobjs="$libobjs $pic_object" + arg="$pic_object" + fi + + # Non-PIC object. + if test "$non_pic_object" != none; then + # Prepend the subdirectory the object is found in. + non_pic_object="$xdir$non_pic_object" + + # A standard non-PIC object + non_pic_objects="$non_pic_objects $non_pic_object" + if test -z "$pic_object" || test "$pic_object" = none ; then + arg="$non_pic_object" + fi + fi + else + # Only an error if not doing a dry-run. + if test -z "$run"; then + $echo "$modename: \`$arg' is not a valid libtool object" 1>&2 + exit $EXIT_FAILURE + else + # Dry-run case. + + # Extract subdirectory from the argument. + xdir=`$echo "X$arg" | $Xsed -e 's%/[^/]*$%%'` + if test "X$xdir" = "X$arg"; then + xdir= + else + xdir="$xdir/" + fi + + pic_object=`$echo "X${xdir}${objdir}/${arg}" | $Xsed -e "$lo2o"` + non_pic_object=`$echo "X${xdir}${arg}" | $Xsed -e "$lo2o"` + libobjs="$libobjs $pic_object" + non_pic_objects="$non_pic_objects $non_pic_object" + fi + fi + ;; + + *.$libext) + # An archive. + deplibs="$deplibs $arg" + old_deplibs="$old_deplibs $arg" + continue + ;; + + *.la) + # A libtool-controlled library. + + if test "$prev" = dlfiles; then + # This library was specified with -dlopen. + dlfiles="$dlfiles $arg" + prev= + elif test "$prev" = dlprefiles; then + # The library was specified with -dlpreopen. + dlprefiles="$dlprefiles $arg" + prev= + else + deplibs="$deplibs $arg" + fi + continue + ;; + + # Some other compiler argument. + *) + # Unknown arguments in both finalize_command and compile_command need + # to be aesthetically quoted because they are evaled later. + arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"` + case $arg in + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") + arg="\"$arg\"" + ;; + esac + ;; + esac # arg + + # Now actually substitute the argument into the commands. + if test -n "$arg"; then + compile_command="$compile_command $arg" + finalize_command="$finalize_command $arg" + fi + done # argument parsing loop + + if test -n "$prev"; then + $echo "$modename: the \`$prevarg' option requires an argument" 1>&2 + $echo "$help" 1>&2 + exit $EXIT_FAILURE + fi + + if test "$export_dynamic" = yes && test -n "$export_dynamic_flag_spec"; then + eval arg=\"$export_dynamic_flag_spec\" + compile_command="$compile_command $arg" + finalize_command="$finalize_command $arg" + fi + + oldlibs= + # calculate the name of the file, without its directory + outputname=`$echo "X$output" | $Xsed -e 's%^.*/%%'` + libobjs_save="$libobjs" + + if test -n "$shlibpath_var"; then + # get the directories listed in $shlibpath_var + eval shlib_search_path=\`\$echo \"X\${$shlibpath_var}\" \| \$Xsed -e \'s/:/ /g\'\` + else + shlib_search_path= + fi + eval sys_lib_search_path=\"$sys_lib_search_path_spec\" + eval sys_lib_dlsearch_path=\"$sys_lib_dlsearch_path_spec\" + + output_objdir=`$echo "X$output" | $Xsed -e 's%/[^/]*$%%'` + if test "X$output_objdir" = "X$output"; then + output_objdir="$objdir" + else + output_objdir="$output_objdir/$objdir" + fi + # Create the object directory. + if test ! -d "$output_objdir"; then + $show "$mkdir $output_objdir" + $run $mkdir $output_objdir + status=$? + if test "$status" -ne 0 && test ! -d "$output_objdir"; then + exit $status + fi + fi + + # Determine the type of output + case $output in + "") + $echo "$modename: you must specify an output file" 1>&2 + $echo "$help" 1>&2 + exit $EXIT_FAILURE + ;; + *.$libext) linkmode=oldlib ;; + *.lo | *.$objext) linkmode=obj ;; + *.la) linkmode=lib ;; + *) linkmode=prog ;; # Anything else should be a program. + esac + + case $host in + *cygwin* | *mingw* | *pw32*) + # don't eliminate duplications in $postdeps and $predeps + duplicate_compiler_generated_deps=yes + ;; + *) + duplicate_compiler_generated_deps=$duplicate_deps + ;; + esac + specialdeplibs= + + libs= + # Find all interdependent deplibs by searching for libraries + # that are linked more than once (e.g. -la -lb -la) + for deplib in $deplibs; do + if test "X$duplicate_deps" = "Xyes" ; then + case "$libs " in + *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;; + esac + fi + libs="$libs $deplib" + done + + if test "$linkmode" = lib; then + libs="$predeps $libs $compiler_lib_search_path $postdeps" + + # Compute libraries that are listed more than once in $predeps + # $postdeps and mark them as special (i.e., whose duplicates are + # not to be eliminated). + pre_post_deps= + if test "X$duplicate_compiler_generated_deps" = "Xyes" ; then + for pre_post_dep in $predeps $postdeps; do + case "$pre_post_deps " in + *" $pre_post_dep "*) specialdeplibs="$specialdeplibs $pre_post_deps" ;; + esac + pre_post_deps="$pre_post_deps $pre_post_dep" + done + fi + pre_post_deps= + fi + + deplibs= + newdependency_libs= + newlib_search_path= + need_relink=no # whether we're linking any uninstalled libtool libraries + notinst_deplibs= # not-installed libtool libraries + notinst_path= # paths that contain not-installed libtool libraries + case $linkmode in + lib) + passes="conv link" + for file in $dlfiles $dlprefiles; do + case $file in + *.la) ;; + *) + $echo "$modename: libraries can \`-dlopen' only libtool libraries: $file" 1>&2 + exit $EXIT_FAILURE + ;; + esac + done + ;; + prog) + compile_deplibs= + finalize_deplibs= + alldeplibs=no + newdlfiles= + newdlprefiles= + passes="conv scan dlopen dlpreopen link" + ;; + *) passes="conv" + ;; + esac + for pass in $passes; do + if test "$linkmode,$pass" = "lib,link" || + test "$linkmode,$pass" = "prog,scan"; then + libs="$deplibs" + deplibs= + fi + if test "$linkmode" = prog; then + case $pass in + dlopen) libs="$dlfiles" ;; + dlpreopen) libs="$dlprefiles" ;; + link) libs="$deplibs %DEPLIBS% $dependency_libs" ;; + esac + fi + if test "$pass" = dlopen; then + # Collect dlpreopened libraries + save_deplibs="$deplibs" + deplibs= + fi + for deplib in $libs; do + lib= + found=no + case $deplib in + -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe) + if test "$linkmode,$pass" = "prog,link"; then + compile_deplibs="$deplib $compile_deplibs" + finalize_deplibs="$deplib $finalize_deplibs" + else + deplibs="$deplib $deplibs" + fi + continue + ;; + -l*) + if test "$linkmode" != lib && test "$linkmode" != prog; then + $echo "$modename: warning: \`-l' is ignored for archives/objects" 1>&2 + continue + fi + if test "$pass" = conv; then + deplibs="$deplib $deplibs" + continue + fi + name=`$echo "X$deplib" | $Xsed -e 's/^-l//'` + for searchdir in $newlib_search_path $lib_search_path $sys_lib_search_path $shlib_search_path; do + for search_ext in .la $std_shrext .so .a; do + # Search the libtool library + lib="$searchdir/lib${name}${search_ext}" + if test -f "$lib"; then + if test "$search_ext" = ".la"; then + found=yes + else + found=no + fi + break 2 + fi + done + done + if test "$found" != yes; then + # deplib doesn't seem to be a libtool library + if test "$linkmode,$pass" = "prog,link"; then + compile_deplibs="$deplib $compile_deplibs" + finalize_deplibs="$deplib $finalize_deplibs" + else + deplibs="$deplib $deplibs" + test "$linkmode" = lib && newdependency_libs="$deplib $newdependency_libs" + fi + continue + else # deplib is a libtool library + # If $allow_libtool_libs_with_static_runtimes && $deplib is a stdlib, + # We need to do some special things here, and not later. + if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then + case " $predeps $postdeps " in + *" $deplib "*) + if (${SED} -e '2q' $lib | + grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then + library_names= + old_library= + case $lib in + */* | *\\*) . $lib ;; + *) . ./$lib ;; + esac + for l in $old_library $library_names; do + ll="$l" + done + if test "X$ll" = "X$old_library" ; then # only static version available + found=no + ladir=`$echo "X$lib" | $Xsed -e 's%/[^/]*$%%'` + test "X$ladir" = "X$lib" && ladir="." + lib=$ladir/$old_library + if test "$linkmode,$pass" = "prog,link"; then + compile_deplibs="$deplib $compile_deplibs" + finalize_deplibs="$deplib $finalize_deplibs" + else + deplibs="$deplib $deplibs" + test "$linkmode" = lib && newdependency_libs="$deplib $newdependency_libs" + fi + continue + fi + fi + ;; + *) ;; + esac + fi + fi + ;; # -l + -L*) + case $linkmode in + lib) + deplibs="$deplib $deplibs" + test "$pass" = conv && continue + newdependency_libs="$deplib $newdependency_libs" + newlib_search_path="$newlib_search_path "`$echo "X$deplib" | $Xsed -e 's/^-L//'` + ;; + prog) + if test "$pass" = conv; then + deplibs="$deplib $deplibs" + continue + fi + if test "$pass" = scan; then + deplibs="$deplib $deplibs" + else + compile_deplibs="$deplib $compile_deplibs" + finalize_deplibs="$deplib $finalize_deplibs" + fi + newlib_search_path="$newlib_search_path "`$echo "X$deplib" | $Xsed -e 's/^-L//'` + ;; + *) + $echo "$modename: warning: \`-L' is ignored for archives/objects" 1>&2 + ;; + esac # linkmode + continue + ;; # -L + -R*) + if test "$pass" = link; then + dir=`$echo "X$deplib" | $Xsed -e 's/^-R//'` + # Make sure the xrpath contains only unique directories. + case "$xrpath " in + *" $dir "*) ;; + *) xrpath="$xrpath $dir" ;; + esac + fi + deplibs="$deplib $deplibs" + continue + ;; + *.la) lib="$deplib" ;; + *.$libext) + if test "$pass" = conv; then + deplibs="$deplib $deplibs" + continue + fi + case $linkmode in + lib) + if test "$deplibs_check_method" != pass_all; then + $echo + $echo "*** Warning: Trying to link with static lib archive $deplib." + $echo "*** I have the capability to make that library automatically link in when" + $echo "*** you link to this library. But I can only do this if you have a" + $echo "*** shared version of the library, which you do not appear to have" + $echo "*** because the file extensions .$libext of this argument makes me believe" + $echo "*** that it is just a static archive that I should not used here." + else + $echo + $echo "*** Warning: Linking the shared library $output against the" + $echo "*** static library $deplib is not portable!" + deplibs="$deplib $deplibs" + fi + continue + ;; + prog) + if test "$pass" != link; then + deplibs="$deplib $deplibs" + else + compile_deplibs="$deplib $compile_deplibs" + finalize_deplibs="$deplib $finalize_deplibs" + fi + continue + ;; + esac # linkmode + ;; # *.$libext + *.lo | *.$objext) + if test "$pass" = conv; then + deplibs="$deplib $deplibs" + elif test "$linkmode" = prog; then + if test "$pass" = dlpreopen || test "$dlopen_support" != yes || test "$build_libtool_libs" = no; then + # If there is no dlopen support or we're linking statically, + # we need to preload. + newdlprefiles="$newdlprefiles $deplib" + compile_deplibs="$deplib $compile_deplibs" + finalize_deplibs="$deplib $finalize_deplibs" + else + newdlfiles="$newdlfiles $deplib" + fi + fi + continue + ;; + %DEPLIBS%) + alldeplibs=yes + continue + ;; + esac # case $deplib + if test "$found" = yes || test -f "$lib"; then : + else + $echo "$modename: cannot find the library \`$lib'" 1>&2 + exit $EXIT_FAILURE + fi + + # Check to see that this really is a libtool archive. + if (${SED} -e '2q' $lib | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then : + else + $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2 + exit $EXIT_FAILURE + fi + + ladir=`$echo "X$lib" | $Xsed -e 's%/[^/]*$%%'` + test "X$ladir" = "X$lib" && ladir="." + + dlname= + dlopen= + dlpreopen= + libdir= + library_names= + old_library= + # If the library was installed with an old release of libtool, + # it will not redefine variables installed, or shouldnotlink + installed=yes + shouldnotlink=no + + # Read the .la file + case $lib in + */* | *\\*) . $lib ;; + *) . ./$lib ;; + esac + + if test "$linkmode,$pass" = "lib,link" || + test "$linkmode,$pass" = "prog,scan" || + { test "$linkmode" != prog && test "$linkmode" != lib; }; then + test -n "$dlopen" && dlfiles="$dlfiles $dlopen" + test -n "$dlpreopen" && dlprefiles="$dlprefiles $dlpreopen" + fi + + if test "$pass" = conv; then + # Only check for convenience libraries + deplibs="$lib $deplibs" + if test -z "$libdir"; then + if test -z "$old_library"; then + $echo "$modename: cannot find name of link library for \`$lib'" 1>&2 + exit $EXIT_FAILURE + fi + # It is a libtool convenience library, so add in its objects. + convenience="$convenience $ladir/$objdir/$old_library" + old_convenience="$old_convenience $ladir/$objdir/$old_library" + tmp_libs= + for deplib in $dependency_libs; do + deplibs="$deplib $deplibs" + if test "X$duplicate_deps" = "Xyes" ; then + case "$tmp_libs " in + *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;; + esac + fi + tmp_libs="$tmp_libs $deplib" + done + elif test "$linkmode" != prog && test "$linkmode" != lib; then + $echo "$modename: \`$lib' is not a convenience library" 1>&2 + exit $EXIT_FAILURE + fi + continue + fi # $pass = conv + + + # Get the name of the library we link against. + linklib= + for l in $old_library $library_names; do + linklib="$l" + done + if test -z "$linklib"; then + $echo "$modename: cannot find name of link library for \`$lib'" 1>&2 + exit $EXIT_FAILURE + fi + + # This library was specified with -dlopen. + if test "$pass" = dlopen; then + if test -z "$libdir"; then + $echo "$modename: cannot -dlopen a convenience library: \`$lib'" 1>&2 + exit $EXIT_FAILURE + fi + if test -z "$dlname" || + test "$dlopen_support" != yes || + test "$build_libtool_libs" = no; then + # If there is no dlname, no dlopen support or we're linking + # statically, we need to preload. We also need to preload any + # dependent libraries so libltdl's deplib preloader doesn't + # bomb out in the load deplibs phase. + dlprefiles="$dlprefiles $lib $dependency_libs" + else + newdlfiles="$newdlfiles $lib" + fi + continue + fi # $pass = dlopen + + # We need an absolute path. + case $ladir in + [\\/]* | [A-Za-z]:[\\/]*) abs_ladir="$ladir" ;; + *) + abs_ladir=`cd "$ladir" && pwd` + if test -z "$abs_ladir"; then + $echo "$modename: warning: cannot determine absolute directory name of \`$ladir'" 1>&2 + $echo "$modename: passing it literally to the linker, although it might fail" 1>&2 + abs_ladir="$ladir" + fi + ;; + esac + laname=`$echo "X$lib" | $Xsed -e 's%^.*/%%'` + + # Find the relevant object directory and library name. + if test "X$installed" = Xyes; then + if test ! -f "$libdir/$linklib" && test -f "$abs_ladir/$linklib"; then + $echo "$modename: warning: library \`$lib' was moved." 1>&2 + dir="$ladir" + absdir="$abs_ladir" + libdir="$abs_ladir" + else + dir="$libdir" + absdir="$libdir" + fi + else + dir="$ladir/$objdir" + absdir="$abs_ladir/$objdir" + # Remove this search path later + notinst_path="$notinst_path $abs_ladir" + fi # $installed = yes + name=`$echo "X$laname" | $Xsed -e 's/\.la$//' -e 's/^lib//'` + + # This library was specified with -dlpreopen. + if test "$pass" = dlpreopen; then + if test -z "$libdir"; then + $echo "$modename: cannot -dlpreopen a convenience library: \`$lib'" 1>&2 + exit $EXIT_FAILURE + fi + # Prefer using a static library (so that no silly _DYNAMIC symbols + # are required to link). + if test -n "$old_library"; then + newdlprefiles="$newdlprefiles $dir/$old_library" + # Otherwise, use the dlname, so that lt_dlopen finds it. + elif test -n "$dlname"; then + newdlprefiles="$newdlprefiles $dir/$dlname" + else + newdlprefiles="$newdlprefiles $dir/$linklib" + fi + fi # $pass = dlpreopen + + if test -z "$libdir"; then + # Link the convenience library + if test "$linkmode" = lib; then + deplibs="$dir/$old_library $deplibs" + elif test "$linkmode,$pass" = "prog,link"; then + compile_deplibs="$dir/$old_library $compile_deplibs" + finalize_deplibs="$dir/$old_library $finalize_deplibs" + else + deplibs="$lib $deplibs" # used for prog,scan pass + fi + continue + fi + + + if test "$linkmode" = prog && test "$pass" != link; then + newlib_search_path="$newlib_search_path $ladir" + deplibs="$lib $deplibs" + + linkalldeplibs=no + if test "$link_all_deplibs" != no || test -z "$library_names" || + test "$build_libtool_libs" = no; then + linkalldeplibs=yes + fi + + tmp_libs= + for deplib in $dependency_libs; do + case $deplib in + -L*) newlib_search_path="$newlib_search_path "`$echo "X$deplib" | $Xsed -e 's/^-L//'`;; ### testsuite: skip nested quoting test + esac + # Need to link against all dependency_libs? + if test "$linkalldeplibs" = yes; then + deplibs="$deplib $deplibs" + else + # Need to hardcode shared library paths + # or/and link against static libraries + newdependency_libs="$deplib $newdependency_libs" + fi + if test "X$duplicate_deps" = "Xyes" ; then + case "$tmp_libs " in + *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;; + esac + fi + tmp_libs="$tmp_libs $deplib" + done # for deplib + continue + fi # $linkmode = prog... + + if test "$linkmode,$pass" = "prog,link"; then + if test -n "$library_names" && + { test "$prefer_static_libs" = no || test -z "$old_library"; }; then + # We need to hardcode the library path + if test -n "$shlibpath_var"; then + # Make sure the rpath contains only unique directories. + case "$temp_rpath " in + *" $dir "*) ;; + *" $absdir "*) ;; + *) temp_rpath="$temp_rpath $dir" ;; + esac + fi + + # Hardcode the library path. + # Skip directories that are in the system default run-time + # search path. + case " $sys_lib_dlsearch_path " in + *" $absdir "*) ;; + *) + case "$compile_rpath " in + *" $absdir "*) ;; + *) compile_rpath="$compile_rpath $absdir" + esac + ;; + esac + case " $sys_lib_dlsearch_path " in + *" $libdir "*) ;; + *) + case "$finalize_rpath " in + *" $libdir "*) ;; + *) finalize_rpath="$finalize_rpath $libdir" + esac + ;; + esac + fi # $linkmode,$pass = prog,link... + + if test "$alldeplibs" = yes && + { test "$deplibs_check_method" = pass_all || + { test "$build_libtool_libs" = yes && + test -n "$library_names"; }; }; then + # We only need to search for static libraries + continue + fi + fi + + link_static=no # Whether the deplib will be linked statically + if test -n "$library_names" && + { test "$prefer_static_libs" = no || test -z "$old_library"; }; then + if test "$installed" = no; then + notinst_deplibs="$notinst_deplibs $lib" + need_relink=yes + fi + # This is a shared library + + # Warn about portability, can't link against -module's on + # some systems (darwin) + if test "$shouldnotlink" = yes && test "$pass" = link ; then + $echo + if test "$linkmode" = prog; then + $echo "*** Warning: Linking the executable $output against the loadable module" + else + $echo "*** Warning: Linking the shared library $output against the loadable module" + fi + $echo "*** $linklib is not portable!" + fi + if test "$linkmode" = lib && + test "$hardcode_into_libs" = yes; then + # Hardcode the library path. + # Skip directories that are in the system default run-time + # search path. + case " $sys_lib_dlsearch_path " in + *" $absdir "*) ;; + *) + case "$compile_rpath " in + *" $absdir "*) ;; + *) compile_rpath="$compile_rpath $absdir" + esac + ;; + esac + case " $sys_lib_dlsearch_path " in + *" $libdir "*) ;; + *) + case "$finalize_rpath " in + *" $libdir "*) ;; + *) finalize_rpath="$finalize_rpath $libdir" + esac + ;; + esac + fi + + if test -n "$old_archive_from_expsyms_cmds"; then + # figure out the soname + set dummy $library_names + realname="$2" + shift; shift + libname=`eval \\$echo \"$libname_spec\"` + # use dlname if we got it. it's perfectly good, no? + if test -n "$dlname"; then + soname="$dlname" + elif test -n "$soname_spec"; then + # bleh windows + case $host in + *cygwin* | mingw*) + major=`expr $current - $age` + versuffix="-$major" + ;; + esac + eval soname=\"$soname_spec\" + else + soname="$realname" + fi + + # Make a new name for the extract_expsyms_cmds to use + soroot="$soname" + soname=`$echo $soroot | ${SED} -e 's/^.*\///'` + newlib="libimp-`$echo $soname | ${SED} 's/^lib//;s/\.dll$//'`.a" + + # If the library has no export list, then create one now + if test -f "$output_objdir/$soname-def"; then : + else + $show "extracting exported symbol list from \`$soname'" + save_ifs="$IFS"; IFS='~' + cmds=$extract_expsyms_cmds + for cmd in $cmds; do + IFS="$save_ifs" + eval cmd=\"$cmd\" + $show "$cmd" + $run eval "$cmd" || exit $? + done + IFS="$save_ifs" + fi + + # Create $newlib + if test -f "$output_objdir/$newlib"; then :; else + $show "generating import library for \`$soname'" + save_ifs="$IFS"; IFS='~' + cmds=$old_archive_from_expsyms_cmds + for cmd in $cmds; do + IFS="$save_ifs" + eval cmd=\"$cmd\" + $show "$cmd" + $run eval "$cmd" || exit $? + done + IFS="$save_ifs" + fi + # make sure the library variables are pointing to the new library + dir=$output_objdir + linklib=$newlib + fi # test -n "$old_archive_from_expsyms_cmds" + + if test "$linkmode" = prog || test "$mode" != relink; then + add_shlibpath= + add_dir= + add= + lib_linked=yes + case $hardcode_action in + immediate | unsupported) + if test "$hardcode_direct" = no; then + add="$dir/$linklib" + case $host in + *-*-sco3.2v5* ) add_dir="-L$dir" ;; + *-*-darwin* ) + # if the lib is a module then we can not link against + # it, someone is ignoring the new warnings I added + if /usr/bin/file -L $add 2> /dev/null | $EGREP "bundle" >/dev/null ; then + $echo "** Warning, lib $linklib is a module, not a shared library" + if test -z "$old_library" ; then + $echo + $echo "** And there doesn't seem to be a static archive available" + $echo "** The link will probably fail, sorry" + else + add="$dir/$old_library" + fi + fi + esac + elif test "$hardcode_minus_L" = no; then + case $host in + *-*-sunos*) add_shlibpath="$dir" ;; + esac + add_dir="-L$dir" + add="-l$name" + elif test "$hardcode_shlibpath_var" = no; then + add_shlibpath="$dir" + add="-l$name" + else + lib_linked=no + fi + ;; + relink) + if test "$hardcode_direct" = yes; then + add="$dir/$linklib" + elif test "$hardcode_minus_L" = yes; then + add_dir="-L$dir" + # Try looking first in the location we're being installed to. + if test -n "$inst_prefix_dir"; then + case "$libdir" in + [\\/]*) + add_dir="$add_dir -L$inst_prefix_dir$libdir" + ;; + esac + fi + add="-l$name" + elif test "$hardcode_shlibpath_var" = yes; then + add_shlibpath="$dir" + add="-l$name" + else + lib_linked=no + fi + ;; + *) lib_linked=no ;; + esac + + if test "$lib_linked" != yes; then + $echo "$modename: configuration error: unsupported hardcode properties" + exit $EXIT_FAILURE + fi + + if test -n "$add_shlibpath"; then + case :$compile_shlibpath: in + *":$add_shlibpath:"*) ;; + *) compile_shlibpath="$compile_shlibpath$add_shlibpath:" ;; + esac + fi + if test "$linkmode" = prog; then + test -n "$add_dir" && compile_deplibs="$add_dir $compile_deplibs" + test -n "$add" && compile_deplibs="$add $compile_deplibs" + else + test -n "$add_dir" && deplibs="$add_dir $deplibs" + test -n "$add" && deplibs="$add $deplibs" + if test "$hardcode_direct" != yes && \ + test "$hardcode_minus_L" != yes && \ + test "$hardcode_shlibpath_var" = yes; then + case :$finalize_shlibpath: in + *":$libdir:"*) ;; + *) finalize_shlibpath="$finalize_shlibpath$libdir:" ;; + esac + fi + fi + fi + + if test "$linkmode" = prog || test "$mode" = relink; then + add_shlibpath= + add_dir= + add= + # Finalize command for both is simple: just hardcode it. + if test "$hardcode_direct" = yes; then + add="$libdir/$linklib" + elif test "$hardcode_minus_L" = yes; then + add_dir="-L$libdir" + add="-l$name" + elif test "$hardcode_shlibpath_var" = yes; then + case :$finalize_shlibpath: in + *":$libdir:"*) ;; + *) finalize_shlibpath="$finalize_shlibpath$libdir:" ;; + esac + add="-l$name" + elif test "$hardcode_automatic" = yes; then + if test -n "$inst_prefix_dir" && + test -f "$inst_prefix_dir$libdir/$linklib" ; then + add="$inst_prefix_dir$libdir/$linklib" + else + add="$libdir/$linklib" + fi + else + # We cannot seem to hardcode it, guess we'll fake it. + add_dir="-L$libdir" + # Try looking first in the location we're being installed to. + if test -n "$inst_prefix_dir"; then + case "$libdir" in + [\\/]*) + add_dir="$add_dir -L$inst_prefix_dir$libdir" + ;; + esac + fi + add="-l$name" + fi + + if test "$linkmode" = prog; then + test -n "$add_dir" && finalize_deplibs="$add_dir $finalize_deplibs" + test -n "$add" && finalize_deplibs="$add $finalize_deplibs" + else + test -n "$add_dir" && deplibs="$add_dir $deplibs" + test -n "$add" && deplibs="$add $deplibs" + fi + fi + elif test "$linkmode" = prog; then + # Here we assume that one of hardcode_direct or hardcode_minus_L + # is not unsupported. This is valid on all known static and + # shared platforms. + if test "$hardcode_direct" != unsupported; then + test -n "$old_library" && linklib="$old_library" + compile_deplibs="$dir/$linklib $compile_deplibs" + finalize_deplibs="$dir/$linklib $finalize_deplibs" + else + compile_deplibs="-l$name -L$dir $compile_deplibs" + finalize_deplibs="-l$name -L$dir $finalize_deplibs" + fi + elif test "$build_libtool_libs" = yes; then + # Not a shared library + if test "$deplibs_check_method" != pass_all; then + # We're trying link a shared library against a static one + # but the system doesn't support it. + + # Just print a warning and add the library to dependency_libs so + # that the program can be linked against the static library. + $echo + $echo "*** Warning: This system can not link to static lib archive $lib." + $echo "*** I have the capability to make that library automatically link in when" + $echo "*** you link to this library. But I can only do this if you have a" + $echo "*** shared version of the library, which you do not appear to have." + if test "$module" = yes; then + $echo "*** But as you try to build a module library, libtool will still create " + $echo "*** a static module, that should work as long as the dlopening application" + $echo "*** is linked with the -dlopen flag to resolve symbols at runtime." + if test -z "$global_symbol_pipe"; then + $echo + $echo "*** However, this would only work if libtool was able to extract symbol" + $echo "*** lists from a program, using \`nm' or equivalent, but libtool could" + $echo "*** not find such a program. So, this module is probably useless." + $echo "*** \`nm' from GNU binutils and a full rebuild may help." + fi + if test "$build_old_libs" = no; then + build_libtool_libs=module + build_old_libs=yes + else + build_libtool_libs=no + fi + fi + else + convenience="$convenience $dir/$old_library" + old_convenience="$old_convenience $dir/$old_library" + deplibs="$dir/$old_library $deplibs" + link_static=yes + fi + fi # link shared/static library? + + if test "$linkmode" = lib; then + if test -n "$dependency_libs" && + { test "$hardcode_into_libs" != yes || + test "$build_old_libs" = yes || + test "$link_static" = yes; }; then + # Extract -R from dependency_libs + temp_deplibs= + for libdir in $dependency_libs; do + case $libdir in + -R*) temp_xrpath=`$echo "X$libdir" | $Xsed -e 's/^-R//'` + case " $xrpath " in + *" $temp_xrpath "*) ;; + *) xrpath="$xrpath $temp_xrpath";; + esac;; + *) temp_deplibs="$temp_deplibs $libdir";; + esac + done + dependency_libs="$temp_deplibs" + fi + + newlib_search_path="$newlib_search_path $absdir" + # Link against this library + test "$link_static" = no && newdependency_libs="$abs_ladir/$laname $newdependency_libs" + # ... and its dependency_libs + tmp_libs= + for deplib in $dependency_libs; do + newdependency_libs="$deplib $newdependency_libs" + if test "X$duplicate_deps" = "Xyes" ; then + case "$tmp_libs " in + *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;; + esac + fi + tmp_libs="$tmp_libs $deplib" + done + + if test "$link_all_deplibs" != no; then + # Add the search paths of all dependency libraries + for deplib in $dependency_libs; do + case $deplib in + -L*) path="$deplib" ;; + *.la) + dir=`$echo "X$deplib" | $Xsed -e 's%/[^/]*$%%'` + test "X$dir" = "X$deplib" && dir="." + # We need an absolute path. + case $dir in + [\\/]* | [A-Za-z]:[\\/]*) absdir="$dir" ;; + *) + absdir=`cd "$dir" && pwd` + if test -z "$absdir"; then + $echo "$modename: warning: cannot determine absolute directory name of \`$dir'" 1>&2 + absdir="$dir" + fi + ;; + esac + if grep "^installed=no" $deplib > /dev/null; then + path="$absdir/$objdir" + else + eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib` + if test -z "$libdir"; then + $echo "$modename: \`$deplib' is not a valid libtool archive" 1>&2 + exit $EXIT_FAILURE + fi + if test "$absdir" != "$libdir"; then + $echo "$modename: warning: \`$deplib' seems to be moved" 1>&2 + fi + path="$absdir" + fi + depdepl= + case $host in + *-*-darwin*) + # we do not want to link against static libs, + # but need to link against shared + eval deplibrary_names=`${SED} -n -e 's/^library_names=\(.*\)$/\1/p' $deplib` + if test -n "$deplibrary_names" ; then + for tmp in $deplibrary_names ; do + depdepl=$tmp + done + if test -f "$path/$depdepl" ; then + depdepl="$path/$depdepl" + fi + # do not add paths which are already there + case " $newlib_search_path " in + *" $path "*) ;; + *) newlib_search_path="$newlib_search_path $path";; + esac + fi + path="" + ;; + *) + path="-L$path" + ;; + esac + ;; + -l*) + case $host in + *-*-darwin*) + # Again, we only want to link against shared libraries + eval tmp_libs=`$echo "X$deplib" | $Xsed -e "s,^\-l,,"` + for tmp in $newlib_search_path ; do + if test -f "$tmp/lib$tmp_libs.dylib" ; then + eval depdepl="$tmp/lib$tmp_libs.dylib" + break + fi + done + path="" + ;; + *) continue ;; + esac + ;; + *) continue ;; + esac + case " $deplibs " in + *" $depdepl "*) ;; + *) deplibs="$depdepl $deplibs" ;; + esac + case " $deplibs " in + *" $path "*) ;; + *) deplibs="$deplibs $path" ;; + esac + done + fi # link_all_deplibs != no + fi # linkmode = lib + done # for deplib in $libs + dependency_libs="$newdependency_libs" + if test "$pass" = dlpreopen; then + # Link the dlpreopened libraries before other libraries + for deplib in $save_deplibs; do + deplibs="$deplib $deplibs" + done + fi + if test "$pass" != dlopen; then + if test "$pass" != conv; then + # Make sure lib_search_path contains only unique directories. + lib_search_path= + for dir in $newlib_search_path; do + case "$lib_search_path " in + *" $dir "*) ;; + *) lib_search_path="$lib_search_path $dir" ;; + esac + done + newlib_search_path= + fi + + if test "$linkmode,$pass" != "prog,link"; then + vars="deplibs" + else + vars="compile_deplibs finalize_deplibs" + fi + for var in $vars dependency_libs; do + # Add libraries to $var in reverse order + eval tmp_libs=\"\$$var\" + new_libs= + for deplib in $tmp_libs; do + # FIXME: Pedantically, this is the right thing to do, so + # that some nasty dependency loop isn't accidentally + # broken: + #new_libs="$deplib $new_libs" + # Pragmatically, this seems to cause very few problems in + # practice: + case $deplib in + -L*) new_libs="$deplib $new_libs" ;; + -R*) ;; + *) + # And here is the reason: when a library appears more + # than once as an explicit dependence of a library, or + # is implicitly linked in more than once by the + # compiler, it is considered special, and multiple + # occurrences thereof are not removed. Compare this + # with having the same library being listed as a + # dependency of multiple other libraries: in this case, + # we know (pedantically, we assume) the library does not + # need to be listed more than once, so we keep only the + # last copy. This is not always right, but it is rare + # enough that we require users that really mean to play + # such unportable linking tricks to link the library + # using -Wl,-lname, so that libtool does not consider it + # for duplicate removal. + case " $specialdeplibs " in + *" $deplib "*) new_libs="$deplib $new_libs" ;; + *) + case " $new_libs " in + *" $deplib "*) ;; + *) new_libs="$deplib $new_libs" ;; + esac + ;; + esac + ;; + esac + done + tmp_libs= + for deplib in $new_libs; do + case $deplib in + -L*) + case " $tmp_libs " in + *" $deplib "*) ;; + *) tmp_libs="$tmp_libs $deplib" ;; + esac + ;; + *) tmp_libs="$tmp_libs $deplib" ;; + esac + done + eval $var=\"$tmp_libs\" + done # for var + fi + # Last step: remove runtime libs from dependency_libs + # (they stay in deplibs) + tmp_libs= + for i in $dependency_libs ; do + case " $predeps $postdeps $compiler_lib_search_path " in + *" $i "*) + i="" + ;; + esac + if test -n "$i" ; then + tmp_libs="$tmp_libs $i" + fi + done + dependency_libs=$tmp_libs + done # for pass + if test "$linkmode" = prog; then + dlfiles="$newdlfiles" + dlprefiles="$newdlprefiles" + fi + + case $linkmode in + oldlib) + if test -n "$deplibs"; then + $echo "$modename: warning: \`-l' and \`-L' are ignored for archives" 1>&2 + fi + + if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then + $echo "$modename: warning: \`-dlopen' is ignored for archives" 1>&2 + fi + + if test -n "$rpath"; then + $echo "$modename: warning: \`-rpath' is ignored for archives" 1>&2 + fi + + if test -n "$xrpath"; then + $echo "$modename: warning: \`-R' is ignored for archives" 1>&2 + fi + + if test -n "$vinfo"; then + $echo "$modename: warning: \`-version-info/-version-number' is ignored for archives" 1>&2 + fi + + if test -n "$release"; then + $echo "$modename: warning: \`-release' is ignored for archives" 1>&2 + fi + + if test -n "$export_symbols" || test -n "$export_symbols_regex"; then + $echo "$modename: warning: \`-export-symbols' is ignored for archives" 1>&2 + fi + + # Now set the variables for building old libraries. + build_libtool_libs=no + oldlibs="$output" + objs="$objs$old_deplibs" + ;; + + lib) + # Make sure we only generate libraries of the form `libNAME.la'. + case $outputname in + lib*) + name=`$echo "X$outputname" | $Xsed -e 's/\.la$//' -e 's/^lib//'` + eval shared_ext=\"$shrext_cmds\" + eval libname=\"$libname_spec\" + ;; + *) + if test "$module" = no; then + $echo "$modename: libtool library \`$output' must begin with \`lib'" 1>&2 + $echo "$help" 1>&2 + exit $EXIT_FAILURE + fi + if test "$need_lib_prefix" != no; then + # Add the "lib" prefix for modules if required + name=`$echo "X$outputname" | $Xsed -e 's/\.la$//'` + eval shared_ext=\"$shrext_cmds\" + eval libname=\"$libname_spec\" + else + libname=`$echo "X$outputname" | $Xsed -e 's/\.la$//'` + fi + ;; + esac + + if test -n "$objs"; then + if test "$deplibs_check_method" != pass_all; then + $echo "$modename: cannot build libtool library \`$output' from non-libtool objects on this host:$objs" 2>&1 + exit $EXIT_FAILURE + else + $echo + $echo "*** Warning: Linking the shared library $output against the non-libtool" + $echo "*** objects $objs is not portable!" + libobjs="$libobjs $objs" + fi + fi + + if test "$dlself" != no; then + $echo "$modename: warning: \`-dlopen self' is ignored for libtool libraries" 1>&2 + fi + + set dummy $rpath + if test "$#" -gt 2; then + $echo "$modename: warning: ignoring multiple \`-rpath's for a libtool library" 1>&2 + fi + install_libdir="$2" + + oldlibs= + if test -z "$rpath"; then + if test "$build_libtool_libs" = yes; then + # Building a libtool convenience library. + # Some compilers have problems with a `.al' extension so + # convenience libraries should have the same extension an + # archive normally would. + oldlibs="$output_objdir/$libname.$libext $oldlibs" + build_libtool_libs=convenience + build_old_libs=yes + fi + + if test -n "$vinfo"; then + $echo "$modename: warning: \`-version-info/-version-number' is ignored for convenience libraries" 1>&2 + fi + + if test -n "$release"; then + $echo "$modename: warning: \`-release' is ignored for convenience libraries" 1>&2 + fi + else + + # Parse the version information argument. + save_ifs="$IFS"; IFS=':' + set dummy $vinfo 0 0 0 + IFS="$save_ifs" + + if test -n "$8"; then + $echo "$modename: too many parameters to \`-version-info'" 1>&2 + $echo "$help" 1>&2 + exit $EXIT_FAILURE + fi + + # convert absolute version numbers to libtool ages + # this retains compatibility with .la files and attempts + # to make the code below a bit more comprehensible + + case $vinfo_number in + yes) + number_major="$2" + number_minor="$3" + number_revision="$4" + # + # There are really only two kinds -- those that + # use the current revision as the major version + # and those that subtract age and use age as + # a minor version. But, then there is irix + # which has an extra 1 added just for fun + # + case $version_type in + darwin|linux|osf|windows) + current=`expr $number_major + $number_minor` + age="$number_minor" + revision="$number_revision" + ;; + freebsd-aout|freebsd-elf|sunos) + current="$number_major" + revision="$number_minor" + age="0" + ;; + irix|nonstopux) + current=`expr $number_major + $number_minor - 1` + age="$number_minor" + revision="$number_minor" + ;; + esac + ;; + no) + current="$2" + revision="$3" + age="$4" + ;; + esac + + # Check that each of the things are valid numbers. + case $current in + [0-9]*) ;; + *) + $echo "$modename: CURRENT \`$current' is not a nonnegative integer" 1>&2 + $echo "$modename: \`$vinfo' is not valid version information" 1>&2 + exit $EXIT_FAILURE + ;; + esac + + case $revision in + [0-9]*) ;; + *) + $echo "$modename: REVISION \`$revision' is not a nonnegative integer" 1>&2 + $echo "$modename: \`$vinfo' is not valid version information" 1>&2 + exit $EXIT_FAILURE + ;; + esac + + case $age in + [0-9]*) ;; + *) + $echo "$modename: AGE \`$age' is not a nonnegative integer" 1>&2 + $echo "$modename: \`$vinfo' is not valid version information" 1>&2 + exit $EXIT_FAILURE + ;; + esac + + if test "$age" -gt "$current"; then + $echo "$modename: AGE \`$age' is greater than the current interface number \`$current'" 1>&2 + $echo "$modename: \`$vinfo' is not valid version information" 1>&2 + exit $EXIT_FAILURE + fi + + # Calculate the version variables. + major= + versuffix= + verstring= + case $version_type in + none) ;; + + darwin) + # Like Linux, but with the current version available in + # verstring for coding it into the library header + major=.`expr $current - $age` + versuffix="$major.$age.$revision" + # Darwin ld doesn't like 0 for these options... + minor_current=`expr $current + 1` + verstring="-compatibility_version $minor_current -current_version $minor_current.$revision" + ;; + + freebsd-aout) + major=".$current" + versuffix=".$current.$revision"; + ;; + + freebsd-elf) + major=".$current" + versuffix=".$current"; + ;; + + irix | nonstopux) + major=`expr $current - $age + 1` + + case $version_type in + nonstopux) verstring_prefix=nonstopux ;; + *) verstring_prefix=sgi ;; + esac + verstring="$verstring_prefix$major.$revision" + + # Add in all the interfaces that we are compatible with. + loop=$revision + while test "$loop" -ne 0; do + iface=`expr $revision - $loop` + loop=`expr $loop - 1` + verstring="$verstring_prefix$major.$iface:$verstring" + done + + # Before this point, $major must not contain `.'. + major=.$major + versuffix="$major.$revision" + ;; + + linux) + major=.`expr $current - $age` + versuffix="$major.$age.$revision" + ;; + + osf) + major=.`expr $current - $age` + versuffix=".$current.$age.$revision" + verstring="$current.$age.$revision" + + # Add in all the interfaces that we are compatible with. + loop=$age + while test "$loop" -ne 0; do + iface=`expr $current - $loop` + loop=`expr $loop - 1` + verstring="$verstring:${iface}.0" + done + + # Make executables depend on our current version. + verstring="$verstring:${current}.0" + ;; + + sunos) + major=".$current" + versuffix=".$current.$revision" + ;; + + windows) + # Use '-' rather than '.', since we only want one + # extension on DOS 8.3 filesystems. + major=`expr $current - $age` + versuffix="-$major" + ;; + + *) + $echo "$modename: unknown library version type \`$version_type'" 1>&2 + $echo "Fatal configuration error. See the $PACKAGE docs for more information." 1>&2 + exit $EXIT_FAILURE + ;; + esac + + # Clear the version info if we defaulted, and they specified a release. + if test -z "$vinfo" && test -n "$release"; then + major= + case $version_type in + darwin) + # we can't check for "0.0" in archive_cmds due to quoting + # problems, so we reset it completely + verstring= + ;; + *) + verstring="0.0" + ;; + esac + if test "$need_version" = no; then + versuffix= + else + versuffix=".0.0" + fi + fi + + # Remove version info from name if versioning should be avoided + if test "$avoid_version" = yes && test "$need_version" = no; then + major= + versuffix= + verstring="" + fi + + # Check to see if the archive will have undefined symbols. + if test "$allow_undefined" = yes; then + if test "$allow_undefined_flag" = unsupported; then + $echo "$modename: warning: undefined symbols not allowed in $host shared libraries" 1>&2 + build_libtool_libs=no + build_old_libs=yes + fi + else + # Don't allow undefined symbols. + allow_undefined_flag="$no_undefined_flag" + fi + fi + + if test "$mode" != relink; then + # Remove our outputs, but don't remove object files since they + # may have been created when compiling PIC objects. + removelist= + tempremovelist=`$echo "$output_objdir/*"` + for p in $tempremovelist; do + case $p in + *.$objext) + ;; + $output_objdir/$outputname | $output_objdir/$libname.* | $output_objdir/${libname}${release}.*) + if test "X$precious_files_regex" != "X"; then + if echo $p | $EGREP -e "$precious_files_regex" >/dev/null 2>&1 + then + continue + fi + fi + removelist="$removelist $p" + ;; + *) ;; + esac + done + if test -n "$removelist"; then + $show "${rm}r $removelist" + $run ${rm}r $removelist + fi + fi + + # Now set the variables for building old libraries. + if test "$build_old_libs" = yes && test "$build_libtool_libs" != convenience ; then + oldlibs="$oldlibs $output_objdir/$libname.$libext" + + # Transform .lo files to .o files. + oldobjs="$objs "`$echo "X$libobjs" | $SP2NL | $Xsed -e '/\.'${libext}'$/d' -e "$lo2o" | $NL2SP` + fi + + # Eliminate all temporary directories. + for path in $notinst_path; do + lib_search_path=`$echo "$lib_search_path " | ${SED} -e 's% $path % %g'` + deplibs=`$echo "$deplibs " | ${SED} -e 's% -L$path % %g'` + dependency_libs=`$echo "$dependency_libs " | ${SED} -e 's% -L$path % %g'` + done + + if test -n "$xrpath"; then + # If the user specified any rpath flags, then add them. + temp_xrpath= + for libdir in $xrpath; do + temp_xrpath="$temp_xrpath -R$libdir" + case "$finalize_rpath " in + *" $libdir "*) ;; + *) finalize_rpath="$finalize_rpath $libdir" ;; + esac + done + if test "$hardcode_into_libs" != yes || test "$build_old_libs" = yes; then + dependency_libs="$temp_xrpath $dependency_libs" + fi + fi + + # Make sure dlfiles contains only unique files that won't be dlpreopened + old_dlfiles="$dlfiles" + dlfiles= + for lib in $old_dlfiles; do + case " $dlprefiles $dlfiles " in + *" $lib "*) ;; + *) dlfiles="$dlfiles $lib" ;; + esac + done + + # Make sure dlprefiles contains only unique files + old_dlprefiles="$dlprefiles" + dlprefiles= + for lib in $old_dlprefiles; do + case "$dlprefiles " in + *" $lib "*) ;; + *) dlprefiles="$dlprefiles $lib" ;; + esac + done + + if test "$build_libtool_libs" = yes; then + if test -n "$rpath"; then + case $host in + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-beos*) + # these systems don't actually have a c library (as such)! + ;; + *-*-rhapsody* | *-*-darwin1.[012]) + # Rhapsody C library is in the System framework + deplibs="$deplibs -framework System" + ;; + *-*-netbsd*) + # Don't link with libc until the a.out ld.so is fixed. + ;; + *-*-openbsd* | *-*-freebsd*) + # Do not include libc due to us having libc/libc_r. + test "X$arg" = "X-lc" && continue + ;; + *) + # Add libc to deplibs on all other systems if necessary. + if test "$build_libtool_need_lc" = "yes"; then + deplibs="$deplibs -lc" + fi + ;; + esac + fi + + # Transform deplibs into only deplibs that can be linked in shared. + name_save=$name + libname_save=$libname + release_save=$release + versuffix_save=$versuffix + major_save=$major + # I'm not sure if I'm treating the release correctly. I think + # release should show up in the -l (ie -lgmp5) so we don't want to + # add it in twice. Is that correct? + release="" + versuffix="" + major="" + newdeplibs= + droppeddeps=no + case $deplibs_check_method in + pass_all) + # Don't check for shared/static. Everything works. + # This might be a little naive. We might want to check + # whether the library exists or not. But this is on + # osf3 & osf4 and I'm not really sure... Just + # implementing what was already the behavior. + newdeplibs=$deplibs + ;; + test_compile) + # This code stresses the "libraries are programs" paradigm to its + # limits. Maybe even breaks it. We compile a program, linking it + # against the deplibs as a proxy for the library. Then we can check + # whether they linked in statically or dynamically with ldd. + $rm conftest.c + cat > conftest.c </dev/null` + for potent_lib in $potential_libs; do + # Follow soft links. + if ls -lLd "$potent_lib" 2>/dev/null \ + | grep " -> " >/dev/null; then + continue + fi + # The statement above tries to avoid entering an + # endless loop below, in case of cyclic links. + # We might still enter an endless loop, since a link + # loop can be closed while we follow links, + # but so what? + potlib="$potent_lib" + while test -h "$potlib" 2>/dev/null; do + potliblink=`ls -ld $potlib | ${SED} 's/.* -> //'` + case $potliblink in + [\\/]* | [A-Za-z]:[\\/]*) potlib="$potliblink";; + *) potlib=`$echo "X$potlib" | $Xsed -e 's,[^/]*$,,'`"$potliblink";; + esac + done + if eval $file_magic_cmd \"\$potlib\" 2>/dev/null \ + | ${SED} 10q \ + | $EGREP "$file_magic_regex" > /dev/null; then + newdeplibs="$newdeplibs $a_deplib" + a_deplib="" + break 2 + fi + done + done + fi + if test -n "$a_deplib" ; then + droppeddeps=yes + $echo + $echo "*** Warning: linker path does not have real file for library $a_deplib." + $echo "*** I have the capability to make that library automatically link in when" + $echo "*** you link to this library. But I can only do this if you have a" + $echo "*** shared version of the library, which you do not appear to have" + $echo "*** because I did check the linker path looking for a file starting" + if test -z "$potlib" ; then + $echo "*** with $libname but no candidates were found. (...for file magic test)" + else + $echo "*** with $libname and none of the candidates passed a file format test" + $echo "*** using a file magic. Last file checked: $potlib" + fi + fi + else + # Add a -L argument. + newdeplibs="$newdeplibs $a_deplib" + fi + done # Gone through all deplibs. + ;; + match_pattern*) + set dummy $deplibs_check_method + match_pattern_regex=`expr "$deplibs_check_method" : "$2 \(.*\)"` + for a_deplib in $deplibs; do + name="`expr $a_deplib : '-l\(.*\)'`" + # If $name is empty we are operating on a -L argument. + if test -n "$name" && test "$name" != "0"; then + if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then + case " $predeps $postdeps " in + *" $a_deplib "*) + newdeplibs="$newdeplibs $a_deplib" + a_deplib="" + ;; + esac + fi + if test -n "$a_deplib" ; then + libname=`eval \\$echo \"$libname_spec\"` + for i in $lib_search_path $sys_lib_search_path $shlib_search_path; do + potential_libs=`ls $i/$libname[.-]* 2>/dev/null` + for potent_lib in $potential_libs; do + potlib="$potent_lib" # see symlink-check above in file_magic test + if eval $echo \"$potent_lib\" 2>/dev/null \ + | ${SED} 10q \ + | $EGREP "$match_pattern_regex" > /dev/null; then + newdeplibs="$newdeplibs $a_deplib" + a_deplib="" + break 2 + fi + done + done + fi + if test -n "$a_deplib" ; then + droppeddeps=yes + $echo + $echo "*** Warning: linker path does not have real file for library $a_deplib." + $echo "*** I have the capability to make that library automatically link in when" + $echo "*** you link to this library. But I can only do this if you have a" + $echo "*** shared version of the library, which you do not appear to have" + $echo "*** because I did check the linker path looking for a file starting" + if test -z "$potlib" ; then + $echo "*** with $libname but no candidates were found. (...for regex pattern test)" + else + $echo "*** with $libname and none of the candidates passed a file format test" + $echo "*** using a regex pattern. Last file checked: $potlib" + fi + fi + else + # Add a -L argument. + newdeplibs="$newdeplibs $a_deplib" + fi + done # Gone through all deplibs. + ;; + none | unknown | *) + newdeplibs="" + tmp_deplibs=`$echo "X $deplibs" | $Xsed -e 's/ -lc$//' \ + -e 's/ -[LR][^ ]*//g'` + if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then + for i in $predeps $postdeps ; do + # can't use Xsed below, because $i might contain '/' + tmp_deplibs=`$echo "X $tmp_deplibs" | ${SED} -e "1s,^X,," -e "s,$i,,"` + done + fi + if $echo "X $tmp_deplibs" | $Xsed -e 's/[ ]//g' \ + | grep . >/dev/null; then + $echo + if test "X$deplibs_check_method" = "Xnone"; then + $echo "*** Warning: inter-library dependencies are not supported in this platform." + else + $echo "*** Warning: inter-library dependencies are not known to be supported." + fi + $echo "*** All declared inter-library dependencies are being dropped." + droppeddeps=yes + fi + ;; + esac + versuffix=$versuffix_save + major=$major_save + release=$release_save + libname=$libname_save + name=$name_save + + case $host in + *-*-rhapsody* | *-*-darwin1.[012]) + # On Rhapsody replace the C library is the System framework + newdeplibs=`$echo "X $newdeplibs" | $Xsed -e 's/ -lc / -framework System /'` + ;; + esac + + if test "$droppeddeps" = yes; then + if test "$module" = yes; then + $echo + $echo "*** Warning: libtool could not satisfy all declared inter-library" + $echo "*** dependencies of module $libname. Therefore, libtool will create" + $echo "*** a static module, that should work as long as the dlopening" + $echo "*** application is linked with the -dlopen flag." + if test -z "$global_symbol_pipe"; then + $echo + $echo "*** However, this would only work if libtool was able to extract symbol" + $echo "*** lists from a program, using \`nm' or equivalent, but libtool could" + $echo "*** not find such a program. So, this module is probably useless." + $echo "*** \`nm' from GNU binutils and a full rebuild may help." + fi + if test "$build_old_libs" = no; then + oldlibs="$output_objdir/$libname.$libext" + build_libtool_libs=module + build_old_libs=yes + else + build_libtool_libs=no + fi + else + $echo "*** The inter-library dependencies that have been dropped here will be" + $echo "*** automatically added whenever a program is linked with this library" + $echo "*** or is declared to -dlopen it." + + if test "$allow_undefined" = no; then + $echo + $echo "*** Since this library must not contain undefined symbols," + $echo "*** because either the platform does not support them or" + $echo "*** it was explicitly requested with -no-undefined," + $echo "*** libtool will only create a static version of it." + if test "$build_old_libs" = no; then + oldlibs="$output_objdir/$libname.$libext" + build_libtool_libs=module + build_old_libs=yes + else + build_libtool_libs=no + fi + fi + fi + fi + # Done checking deplibs! + deplibs=$newdeplibs + fi + + # All the library-specific variables (install_libdir is set above). + library_names= + old_library= + dlname= + + # Test again, we may have decided not to build it any more + if test "$build_libtool_libs" = yes; then + if test "$hardcode_into_libs" = yes; then + # Hardcode the library paths + hardcode_libdirs= + dep_rpath= + rpath="$finalize_rpath" + test "$mode" != relink && rpath="$compile_rpath$rpath" + for libdir in $rpath; do + if test -n "$hardcode_libdir_flag_spec"; then + if test -n "$hardcode_libdir_separator"; then + if test -z "$hardcode_libdirs"; then + hardcode_libdirs="$libdir" + else + # Just accumulate the unique libdirs. + case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in + *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*) + ;; + *) + hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir" + ;; + esac + fi + else + eval flag=\"$hardcode_libdir_flag_spec\" + dep_rpath="$dep_rpath $flag" + fi + elif test -n "$runpath_var"; then + case "$perm_rpath " in + *" $libdir "*) ;; + *) perm_rpath="$perm_rpath $libdir" ;; + esac + fi + done + # Substitute the hardcoded libdirs into the rpath. + if test -n "$hardcode_libdir_separator" && + test -n "$hardcode_libdirs"; then + libdir="$hardcode_libdirs" + if test -n "$hardcode_libdir_flag_spec_ld"; then + eval dep_rpath=\"$hardcode_libdir_flag_spec_ld\" + else + eval dep_rpath=\"$hardcode_libdir_flag_spec\" + fi + fi + if test -n "$runpath_var" && test -n "$perm_rpath"; then + # We should set the runpath_var. + rpath= + for dir in $perm_rpath; do + rpath="$rpath$dir:" + done + eval "$runpath_var='$rpath\$$runpath_var'; export $runpath_var" + fi + test -n "$dep_rpath" && deplibs="$dep_rpath $deplibs" + fi + + shlibpath="$finalize_shlibpath" + test "$mode" != relink && shlibpath="$compile_shlibpath$shlibpath" + if test -n "$shlibpath"; then + eval "$shlibpath_var='$shlibpath\$$shlibpath_var'; export $shlibpath_var" + fi + + # Get the real and link names of the library. + eval shared_ext=\"$shrext_cmds\" + eval library_names=\"$library_names_spec\" + set dummy $library_names + realname="$2" + shift; shift + + if test -n "$soname_spec"; then + eval soname=\"$soname_spec\" + else + soname="$realname" + fi + if test -z "$dlname"; then + dlname=$soname + fi + + lib="$output_objdir/$realname" + for link + do + linknames="$linknames $link" + done + + # Use standard objects if they are pic + test -z "$pic_flag" && libobjs=`$echo "X$libobjs" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP` + + # Prepare the list of exported symbols + if test -z "$export_symbols"; then + if test "$always_export_symbols" = yes || test -n "$export_symbols_regex"; then + $show "generating symbol list for \`$libname.la'" + export_symbols="$output_objdir/$libname.exp" + $run $rm $export_symbols + cmds=$export_symbols_cmds + save_ifs="$IFS"; IFS='~' + for cmd in $cmds; do + IFS="$save_ifs" + eval cmd=\"$cmd\" + if len=`expr "X$cmd" : ".*"` && + test "$len" -le "$max_cmd_len" || test "$max_cmd_len" -le -1; then + $show "$cmd" + $run eval "$cmd" || exit $? + skipped_export=false + else + # The command line is too long to execute in one step. + $show "using reloadable object file for export list..." + skipped_export=: + fi + done + IFS="$save_ifs" + if test -n "$export_symbols_regex"; then + $show "$EGREP -e \"$export_symbols_regex\" \"$export_symbols\" > \"${export_symbols}T\"" + $run eval '$EGREP -e "$export_symbols_regex" "$export_symbols" > "${export_symbols}T"' + $show "$mv \"${export_symbols}T\" \"$export_symbols\"" + $run eval '$mv "${export_symbols}T" "$export_symbols"' + fi + fi + fi + + if test -n "$export_symbols" && test -n "$include_expsyms"; then + $run eval '$echo "X$include_expsyms" | $SP2NL >> "$export_symbols"' + fi + + tmp_deplibs= + for test_deplib in $deplibs; do + case " $convenience " in + *" $test_deplib "*) ;; + *) + tmp_deplibs="$tmp_deplibs $test_deplib" + ;; + esac + done + deplibs="$tmp_deplibs" + + if test -n "$convenience"; then + if test -n "$whole_archive_flag_spec"; then + save_libobjs=$libobjs + eval libobjs=\"\$libobjs $whole_archive_flag_spec\" + else + gentop="$output_objdir/${outputname}x" + $show "${rm}r $gentop" + $run ${rm}r "$gentop" + $show "$mkdir $gentop" + $run $mkdir "$gentop" + status=$? + if test "$status" -ne 0 && test ! -d "$gentop"; then + exit $status + fi + generated="$generated $gentop" + + for xlib in $convenience; do + # Extract the objects. + case $xlib in + [\\/]* | [A-Za-z]:[\\/]*) xabs="$xlib" ;; + *) xabs=`pwd`"/$xlib" ;; + esac + xlib=`$echo "X$xlib" | $Xsed -e 's%^.*/%%'` + xdir="$gentop/$xlib" + + $show "${rm}r $xdir" + $run ${rm}r "$xdir" + $show "$mkdir $xdir" + $run $mkdir "$xdir" + status=$? + if test "$status" -ne 0 && test ! -d "$xdir"; then + exit $status + fi + # We will extract separately just the conflicting names and we will no + # longer touch any unique names. It is faster to leave these extract + # automatically by $AR in one run. + $show "(cd $xdir && $AR x $xabs)" + $run eval "(cd \$xdir && $AR x \$xabs)" || exit $? + if ($AR t "$xabs" | sort | sort -uc >/dev/null 2>&1); then + : + else + $echo "$modename: warning: object name conflicts; renaming object files" 1>&2 + $echo "$modename: warning: to ensure that they will not overwrite" 1>&2 + $AR t "$xabs" | sort | uniq -cd | while read -r count name + do + i=1 + while test "$i" -le "$count" + do + # Put our $i before any first dot (extension) + # Never overwrite any file + name_to="$name" + while test "X$name_to" = "X$name" || test -f "$xdir/$name_to" + do + name_to=`$echo "X$name_to" | $Xsed -e "s/\([^.]*\)/\1-$i/"` + done + $show "(cd $xdir && $AR xN $i $xabs '$name' && $mv '$name' '$name_to')" + $run eval "(cd \$xdir && $AR xN $i \$xabs '$name' && $mv '$name' '$name_to')" || exit $? + i=`expr $i + 1` + done + done + fi + + libobjs="$libobjs "`find $xdir -name \*.$objext -print -o -name \*.lo -print | $NL2SP` + done + fi + fi + + if test "$thread_safe" = yes && test -n "$thread_safe_flag_spec"; then + eval flag=\"$thread_safe_flag_spec\" + linker_flags="$linker_flags $flag" + fi + + # Make a backup of the uninstalled library when relinking + if test "$mode" = relink; then + $run eval '(cd $output_objdir && $rm ${realname}U && $mv $realname ${realname}U)' || exit $? + fi + + # Do each of the archive commands. + if test "$module" = yes && test -n "$module_cmds" ; then + if test -n "$export_symbols" && test -n "$module_expsym_cmds"; then + eval test_cmds=\"$module_expsym_cmds\" + cmds=$module_expsym_cmds + else + eval test_cmds=\"$module_cmds\" + cmds=$module_cmds + fi + else + if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then + eval test_cmds=\"$archive_expsym_cmds\" + cmds=$archive_expsym_cmds + else + eval test_cmds=\"$archive_cmds\" + cmds=$archive_cmds + fi + fi + + if test "X$skipped_export" != "X:" && len=`expr "X$test_cmds" : ".*"` && + test "$len" -le "$max_cmd_len" || test "$max_cmd_len" -le -1; then + : + else + # The command line is too long to link in one step, link piecewise. + $echo "creating reloadable object files..." + + # Save the value of $output and $libobjs because we want to + # use them later. If we have whole_archive_flag_spec, we + # want to use save_libobjs as it was before + # whole_archive_flag_spec was expanded, because we can't + # assume the linker understands whole_archive_flag_spec. + # This may have to be revisited, in case too many + # convenience libraries get linked in and end up exceeding + # the spec. + if test -z "$convenience" || test -z "$whole_archive_flag_spec"; then + save_libobjs=$libobjs + fi + save_output=$output + + # Clear the reloadable object creation command queue and + # initialize k to one. + test_cmds= + concat_cmds= + objlist= + delfiles= + last_robj= + k=1 + output=$output_objdir/$save_output-${k}.$objext + # Loop over the list of objects to be linked. + for obj in $save_libobjs + do + eval test_cmds=\"$reload_cmds $objlist $last_robj\" + if test "X$objlist" = X || + { len=`expr "X$test_cmds" : ".*"` && + test "$len" -le "$max_cmd_len"; }; then + objlist="$objlist $obj" + else + # The command $test_cmds is almost too long, add a + # command to the queue. + if test "$k" -eq 1 ; then + # The first file doesn't have a previous command to add. + eval concat_cmds=\"$reload_cmds $objlist $last_robj\" + else + # All subsequent reloadable object files will link in + # the last one created. + eval concat_cmds=\"\$concat_cmds~$reload_cmds $objlist $last_robj\" + fi + last_robj=$output_objdir/$save_output-${k}.$objext + k=`expr $k + 1` + output=$output_objdir/$save_output-${k}.$objext + objlist=$obj + len=1 + fi + done + # Handle the remaining objects by creating one last + # reloadable object file. All subsequent reloadable object + # files will link in the last one created. + test -z "$concat_cmds" || concat_cmds=$concat_cmds~ + eval concat_cmds=\"\${concat_cmds}$reload_cmds $objlist $last_robj\" + + if ${skipped_export-false}; then + $show "generating symbol list for \`$libname.la'" + export_symbols="$output_objdir/$libname.exp" + $run $rm $export_symbols + libobjs=$output + # Append the command to create the export file. + eval concat_cmds=\"\$concat_cmds~$export_symbols_cmds\" + fi + + # Set up a command to remove the reloadale object files + # after they are used. + i=0 + while test "$i" -lt "$k" + do + i=`expr $i + 1` + delfiles="$delfiles $output_objdir/$save_output-${i}.$objext" + done + + $echo "creating a temporary reloadable object file: $output" + + # Loop through the commands generated above and execute them. + save_ifs="$IFS"; IFS='~' + for cmd in $concat_cmds; do + IFS="$save_ifs" + $show "$cmd" + $run eval "$cmd" || exit $? + done + IFS="$save_ifs" + + libobjs=$output + # Restore the value of output. + output=$save_output + + if test -n "$convenience" && test -n "$whole_archive_flag_spec"; then + eval libobjs=\"\$libobjs $whole_archive_flag_spec\" + fi + # Expand the library linking commands again to reset the + # value of $libobjs for piecewise linking. + + # Do each of the archive commands. + if test "$module" = yes && test -n "$module_cmds" ; then + if test -n "$export_symbols" && test -n "$module_expsym_cmds"; then + cmds=$module_expsym_cmds + else + cmds=$module_cmds + fi + else + if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then + cmds=$archive_expsym_cmds + else + cmds=$archive_cmds + fi + fi + + # Append the command to remove the reloadable object files + # to the just-reset $cmds. + eval cmds=\"\$cmds~\$rm $delfiles\" + fi + save_ifs="$IFS"; IFS='~' + for cmd in $cmds; do + IFS="$save_ifs" + eval cmd=\"$cmd\" + $show "$cmd" + $run eval "$cmd" || exit $? + done + IFS="$save_ifs" + + # Restore the uninstalled library and exit + if test "$mode" = relink; then + $run eval '(cd $output_objdir && $rm ${realname}T && $mv $realname ${realname}T && $mv "$realname"U $realname)' || exit $? + exit $EXIT_SUCCESS + fi + + # Create links to the real library. + for linkname in $linknames; do + if test "$realname" != "$linkname"; then + $show "(cd $output_objdir && $rm $linkname && $LN_S $realname $linkname)" + $run eval '(cd $output_objdir && $rm $linkname && $LN_S $realname $linkname)' || exit $? + fi + done + + # If -module or -export-dynamic was specified, set the dlname. + if test "$module" = yes || test "$export_dynamic" = yes; then + # On all known operating systems, these are identical. + dlname="$soname" + fi + fi + ;; + + obj) + if test -n "$deplibs"; then + $echo "$modename: warning: \`-l' and \`-L' are ignored for objects" 1>&2 + fi + + if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then + $echo "$modename: warning: \`-dlopen' is ignored for objects" 1>&2 + fi + + if test -n "$rpath"; then + $echo "$modename: warning: \`-rpath' is ignored for objects" 1>&2 + fi + + if test -n "$xrpath"; then + $echo "$modename: warning: \`-R' is ignored for objects" 1>&2 + fi + + if test -n "$vinfo"; then + $echo "$modename: warning: \`-version-info' is ignored for objects" 1>&2 + fi + + if test -n "$release"; then + $echo "$modename: warning: \`-release' is ignored for objects" 1>&2 + fi + + case $output in + *.lo) + if test -n "$objs$old_deplibs"; then + $echo "$modename: cannot build library object \`$output' from non-libtool objects" 1>&2 + exit $EXIT_FAILURE + fi + libobj="$output" + obj=`$echo "X$output" | $Xsed -e "$lo2o"` + ;; + *) + libobj= + obj="$output" + ;; + esac + + # Delete the old objects. + $run $rm $obj $libobj + + # Objects from convenience libraries. This assumes + # single-version convenience libraries. Whenever we create + # different ones for PIC/non-PIC, this we'll have to duplicate + # the extraction. + reload_conv_objs= + gentop= + # reload_cmds runs $LD directly, so let us get rid of + # -Wl from whole_archive_flag_spec + wl= + + if test -n "$convenience"; then + if test -n "$whole_archive_flag_spec"; then + eval reload_conv_objs=\"\$reload_objs $whole_archive_flag_spec\" + else + gentop="$output_objdir/${obj}x" + $show "${rm}r $gentop" + $run ${rm}r "$gentop" + $show "$mkdir $gentop" + $run $mkdir "$gentop" + status=$? + if test "$status" -ne 0 && test ! -d "$gentop"; then + exit $status + fi + generated="$generated $gentop" + + for xlib in $convenience; do + # Extract the objects. + case $xlib in + [\\/]* | [A-Za-z]:[\\/]*) xabs="$xlib" ;; + *) xabs=`pwd`"/$xlib" ;; + esac + xlib=`$echo "X$xlib" | $Xsed -e 's%^.*/%%'` + xdir="$gentop/$xlib" + + $show "${rm}r $xdir" + $run ${rm}r "$xdir" + $show "$mkdir $xdir" + $run $mkdir "$xdir" + status=$? + if test "$status" -ne 0 && test ! -d "$xdir"; then + exit $status + fi + # We will extract separately just the conflicting names and we will no + # longer touch any unique names. It is faster to leave these extract + # automatically by $AR in one run. + $show "(cd $xdir && $AR x $xabs)" + $run eval "(cd \$xdir && $AR x \$xabs)" || exit $? + if ($AR t "$xabs" | sort | sort -uc >/dev/null 2>&1); then + : + else + $echo "$modename: warning: object name conflicts; renaming object files" 1>&2 + $echo "$modename: warning: to ensure that they will not overwrite" 1>&2 + $AR t "$xabs" | sort | uniq -cd | while read -r count name + do + i=1 + while test "$i" -le "$count" + do + # Put our $i before any first dot (extension) + # Never overwrite any file + name_to="$name" + while test "X$name_to" = "X$name" || test -f "$xdir/$name_to" + do + name_to=`$echo "X$name_to" | $Xsed -e "s/\([^.]*\)/\1-$i/"` + done + $show "(cd $xdir && $AR xN $i $xabs '$name' && $mv '$name' '$name_to')" + $run eval "(cd \$xdir && $AR xN $i \$xabs '$name' && $mv '$name' '$name_to')" || exit $? + i=`expr $i + 1` + done + done + fi + + reload_conv_objs="$reload_objs "`find $xdir -name \*.$objext -print -o -name \*.lo -print | $NL2SP` + done + fi + fi + + # Create the old-style object. + reload_objs="$objs$old_deplibs "`$echo "X$libobjs" | $SP2NL | $Xsed -e '/\.'${libext}$'/d' -e '/\.lib$/d' -e "$lo2o" | $NL2SP`" $reload_conv_objs" ### testsuite: skip nested quoting test + + output="$obj" + cmds=$reload_cmds + save_ifs="$IFS"; IFS='~' + for cmd in $cmds; do + IFS="$save_ifs" + eval cmd=\"$cmd\" + $show "$cmd" + $run eval "$cmd" || exit $? + done + IFS="$save_ifs" + + # Exit if we aren't doing a library object file. + if test -z "$libobj"; then + if test -n "$gentop"; then + $show "${rm}r $gentop" + $run ${rm}r $gentop + fi + + exit $EXIT_SUCCESS + fi + + if test "$build_libtool_libs" != yes; then + if test -n "$gentop"; then + $show "${rm}r $gentop" + $run ${rm}r $gentop + fi + + # Create an invalid libtool object if no PIC, so that we don't + # accidentally link it into a program. + # $show "echo timestamp > $libobj" + # $run eval "echo timestamp > $libobj" || exit $? + exit $EXIT_SUCCESS + fi + + if test -n "$pic_flag" || test "$pic_mode" != default; then + # Only do commands if we really have different PIC objects. + reload_objs="$libobjs $reload_conv_objs" + output="$libobj" + cmds=$reload_cmds + save_ifs="$IFS"; IFS='~' + for cmd in $cmds; do + IFS="$save_ifs" + eval cmd=\"$cmd\" + $show "$cmd" + $run eval "$cmd" || exit $? + done + IFS="$save_ifs" + fi + + if test -n "$gentop"; then + $show "${rm}r $gentop" + $run ${rm}r $gentop + fi + + exit $EXIT_SUCCESS + ;; + + prog) + case $host in + *cygwin*) output=`$echo $output | ${SED} -e 's,.exe$,,;s,$,.exe,'` ;; + esac + if test -n "$vinfo"; then + $echo "$modename: warning: \`-version-info' is ignored for programs" 1>&2 + fi + + if test -n "$release"; then + $echo "$modename: warning: \`-release' is ignored for programs" 1>&2 + fi + + if test "$preload" = yes; then + if test "$dlopen_support" = unknown && test "$dlopen_self" = unknown && + test "$dlopen_self_static" = unknown; then + $echo "$modename: warning: \`AC_LIBTOOL_DLOPEN' not used. Assuming no dlopen support." + fi + fi + + case $host in + *-*-rhapsody* | *-*-darwin1.[012]) + # On Rhapsody replace the C library is the System framework + compile_deplibs=`$echo "X $compile_deplibs" | $Xsed -e 's/ -lc / -framework System /'` + finalize_deplibs=`$echo "X $finalize_deplibs" | $Xsed -e 's/ -lc / -framework System /'` + ;; + esac + + case $host in + *darwin*) + # Don't allow lazy linking, it breaks C++ global constructors + if test "$tagname" = CXX ; then + compile_command="$compile_command ${wl}-bind_at_load" + finalize_command="$finalize_command ${wl}-bind_at_load" + fi + ;; + esac + + compile_command="$compile_command $compile_deplibs" + finalize_command="$finalize_command $finalize_deplibs" + + if test -n "$rpath$xrpath"; then + # If the user specified any rpath flags, then add them. + for libdir in $rpath $xrpath; do + # This is the magic to use -rpath. + case "$finalize_rpath " in + *" $libdir "*) ;; + *) finalize_rpath="$finalize_rpath $libdir" ;; + esac + done + fi + + # Now hardcode the library paths + rpath= + hardcode_libdirs= + for libdir in $compile_rpath $finalize_rpath; do + if test -n "$hardcode_libdir_flag_spec"; then + if test -n "$hardcode_libdir_separator"; then + if test -z "$hardcode_libdirs"; then + hardcode_libdirs="$libdir" + else + # Just accumulate the unique libdirs. + case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in + *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*) + ;; + *) + hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir" + ;; + esac + fi + else + eval flag=\"$hardcode_libdir_flag_spec\" + rpath="$rpath $flag" + fi + elif test -n "$runpath_var"; then + case "$perm_rpath " in + *" $libdir "*) ;; + *) perm_rpath="$perm_rpath $libdir" ;; + esac + fi + case $host in + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*) + case :$dllsearchpath: in + *":$libdir:"*) ;; + *) dllsearchpath="$dllsearchpath:$libdir";; + esac + ;; + esac + done + # Substitute the hardcoded libdirs into the rpath. + if test -n "$hardcode_libdir_separator" && + test -n "$hardcode_libdirs"; then + libdir="$hardcode_libdirs" + eval rpath=\" $hardcode_libdir_flag_spec\" + fi + compile_rpath="$rpath" + + rpath= + hardcode_libdirs= + for libdir in $finalize_rpath; do + if test -n "$hardcode_libdir_flag_spec"; then + if test -n "$hardcode_libdir_separator"; then + if test -z "$hardcode_libdirs"; then + hardcode_libdirs="$libdir" + else + # Just accumulate the unique libdirs. + case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in + *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*) + ;; + *) + hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir" + ;; + esac + fi + else + eval flag=\"$hardcode_libdir_flag_spec\" + rpath="$rpath $flag" + fi + elif test -n "$runpath_var"; then + case "$finalize_perm_rpath " in + *" $libdir "*) ;; + *) finalize_perm_rpath="$finalize_perm_rpath $libdir" ;; + esac + fi + done + # Substitute the hardcoded libdirs into the rpath. + if test -n "$hardcode_libdir_separator" && + test -n "$hardcode_libdirs"; then + libdir="$hardcode_libdirs" + eval rpath=\" $hardcode_libdir_flag_spec\" + fi + finalize_rpath="$rpath" + + if test -n "$libobjs" && test "$build_old_libs" = yes; then + # Transform all the library objects into standard objects. + compile_command=`$echo "X$compile_command" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP` + finalize_command=`$echo "X$finalize_command" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP` + fi + + dlsyms= + if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then + if test -n "$NM" && test -n "$global_symbol_pipe"; then + dlsyms="${outputname}S.c" + else + $echo "$modename: not configured to extract global symbols from dlpreopened files" 1>&2 + fi + fi + + if test -n "$dlsyms"; then + case $dlsyms in + "") ;; + *.c) + # Discover the nlist of each of the dlfiles. + nlist="$output_objdir/${outputname}.nm" + + $show "$rm $nlist ${nlist}S ${nlist}T" + $run $rm "$nlist" "${nlist}S" "${nlist}T" + + # Parse the name list into a source file. + $show "creating $output_objdir/$dlsyms" + + test -z "$run" && $echo > "$output_objdir/$dlsyms" "\ +/* $dlsyms - symbol resolution table for \`$outputname' dlsym emulation. */ +/* Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP */ + +#ifdef __cplusplus +extern \"C\" { +#endif + +/* Prevent the only kind of declaration conflicts we can make. */ +#define lt_preloaded_symbols some_other_symbol + +/* External symbol declarations for the compiler. */\ +" + + if test "$dlself" = yes; then + $show "generating symbol list for \`$output'" + + test -z "$run" && $echo ': @PROGRAM@ ' > "$nlist" + + # Add our own program objects to the symbol list. + progfiles=`$echo "X$objs$old_deplibs" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP` + for arg in $progfiles; do + $show "extracting global C symbols from \`$arg'" + $run eval "$NM $arg | $global_symbol_pipe >> '$nlist'" + done + + if test -n "$exclude_expsyms"; then + $run eval '$EGREP -v " ($exclude_expsyms)$" "$nlist" > "$nlist"T' + $run eval '$mv "$nlist"T "$nlist"' + fi + + if test -n "$export_symbols_regex"; then + $run eval '$EGREP -e "$export_symbols_regex" "$nlist" > "$nlist"T' + $run eval '$mv "$nlist"T "$nlist"' + fi + + # Prepare the list of exported symbols + if test -z "$export_symbols"; then + export_symbols="$output_objdir/$output.exp" + $run $rm $export_symbols + $run eval "${SED} -n -e '/^: @PROGRAM@$/d' -e 's/^.* \(.*\)$/\1/p' "'< "$nlist" > "$export_symbols"' + else + $run eval "${SED} -e 's/\([][.*^$]\)/\\\1/g' -e 's/^/ /' -e 's/$/$/'"' < "$export_symbols" > "$output_objdir/$output.exp"' + $run eval 'grep -f "$output_objdir/$output.exp" < "$nlist" > "$nlist"T' + $run eval 'mv "$nlist"T "$nlist"' + fi + fi + + for arg in $dlprefiles; do + $show "extracting global C symbols from \`$arg'" + name=`$echo "$arg" | ${SED} -e 's%^.*/%%'` + $run eval '$echo ": $name " >> "$nlist"' + $run eval "$NM $arg | $global_symbol_pipe >> '$nlist'" + done + + if test -z "$run"; then + # Make sure we have at least an empty file. + test -f "$nlist" || : > "$nlist" + + if test -n "$exclude_expsyms"; then + $EGREP -v " ($exclude_expsyms)$" "$nlist" > "$nlist"T + $mv "$nlist"T "$nlist" + fi + + # Try sorting and uniquifying the output. + if grep -v "^: " < "$nlist" | + if sort -k 3 /dev/null 2>&1; then + sort -k 3 + else + sort +2 + fi | + uniq > "$nlist"S; then + : + else + grep -v "^: " < "$nlist" > "$nlist"S + fi + + if test -f "$nlist"S; then + eval "$global_symbol_to_cdecl"' < "$nlist"S >> "$output_objdir/$dlsyms"' + else + $echo '/* NONE */' >> "$output_objdir/$dlsyms" + fi + + $echo >> "$output_objdir/$dlsyms" "\ + +#undef lt_preloaded_symbols + +#if defined (__STDC__) && __STDC__ +# define lt_ptr void * +#else +# define lt_ptr char * +# define const +#endif + +/* The mapping between symbol names and symbols. */ +const struct { + const char *name; + lt_ptr address; +} +lt_preloaded_symbols[] = +{\ +" + + eval "$global_symbol_to_c_name_address" < "$nlist" >> "$output_objdir/$dlsyms" + + $echo >> "$output_objdir/$dlsyms" "\ + {0, (lt_ptr) 0} +}; + +/* This works around a problem in FreeBSD linker */ +#ifdef FREEBSD_WORKAROUND +static const void *lt_preloaded_setup() { + return lt_preloaded_symbols; +} +#endif + +#ifdef __cplusplus +} +#endif\ +" + fi + + pic_flag_for_symtable= + case $host in + # compiling the symbol table file with pic_flag works around + # a FreeBSD bug that causes programs to crash when -lm is + # linked before any other PIC object. But we must not use + # pic_flag when linking with -static. The problem exists in + # FreeBSD 2.2.6 and is fixed in FreeBSD 3.1. + *-*-freebsd2*|*-*-freebsd3.0*|*-*-freebsdelf3.0*) + case "$compile_command " in + *" -static "*) ;; + *) pic_flag_for_symtable=" $pic_flag -DFREEBSD_WORKAROUND";; + esac;; + *-*-hpux*) + case "$compile_command " in + *" -static "*) ;; + *) pic_flag_for_symtable=" $pic_flag";; + esac + esac + + # Now compile the dynamic symbol file. + $show "(cd $output_objdir && $LTCC -c$no_builtin_flag$pic_flag_for_symtable \"$dlsyms\")" + $run eval '(cd $output_objdir && $LTCC -c$no_builtin_flag$pic_flag_for_symtable "$dlsyms")' || exit $? + + # Clean up the generated files. + $show "$rm $output_objdir/$dlsyms $nlist ${nlist}S ${nlist}T" + $run $rm "$output_objdir/$dlsyms" "$nlist" "${nlist}S" "${nlist}T" + + # Transform the symbol file into the correct name. + compile_command=`$echo "X$compile_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%"` + finalize_command=`$echo "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%"` + ;; + *) + $echo "$modename: unknown suffix for \`$dlsyms'" 1>&2 + exit $EXIT_FAILURE + ;; + esac + else + # We keep going just in case the user didn't refer to + # lt_preloaded_symbols. The linker will fail if global_symbol_pipe + # really was required. + + # Nullify the symbol file. + compile_command=`$echo "X$compile_command" | $Xsed -e "s% @SYMFILE@%%"` + finalize_command=`$echo "X$finalize_command" | $Xsed -e "s% @SYMFILE@%%"` + fi + + if test "$need_relink" = no || test "$build_libtool_libs" != yes; then + # Replace the output file specification. + compile_command=`$echo "X$compile_command" | $Xsed -e 's%@OUTPUT@%'"$output"'%g'` + link_command="$compile_command$compile_rpath" + + # We have no uninstalled library dependencies, so finalize right now. + $show "$link_command" + $run eval "$link_command" + status=$? + + # Delete the generated files. + if test -n "$dlsyms"; then + $show "$rm $output_objdir/${outputname}S.${objext}" + $run $rm "$output_objdir/${outputname}S.${objext}" + fi + + exit $status + fi + + if test -n "$shlibpath_var"; then + # We should set the shlibpath_var + rpath= + for dir in $temp_rpath; do + case $dir in + [\\/]* | [A-Za-z]:[\\/]*) + # Absolute path. + rpath="$rpath$dir:" + ;; + *) + # Relative path: add a thisdir entry. + rpath="$rpath\$thisdir/$dir:" + ;; + esac + done + temp_rpath="$rpath" + fi + + if test -n "$compile_shlibpath$finalize_shlibpath"; then + compile_command="$shlibpath_var=\"$compile_shlibpath$finalize_shlibpath\$$shlibpath_var\" $compile_command" + fi + if test -n "$finalize_shlibpath"; then + finalize_command="$shlibpath_var=\"$finalize_shlibpath\$$shlibpath_var\" $finalize_command" + fi + + compile_var= + finalize_var= + if test -n "$runpath_var"; then + if test -n "$perm_rpath"; then + # We should set the runpath_var. + rpath= + for dir in $perm_rpath; do + rpath="$rpath$dir:" + done + compile_var="$runpath_var=\"$rpath\$$runpath_var\" " + fi + if test -n "$finalize_perm_rpath"; then + # We should set the runpath_var. + rpath= + for dir in $finalize_perm_rpath; do + rpath="$rpath$dir:" + done + finalize_var="$runpath_var=\"$rpath\$$runpath_var\" " + fi + fi + + if test "$no_install" = yes; then + # We don't need to create a wrapper script. + link_command="$compile_var$compile_command$compile_rpath" + # Replace the output file specification. + link_command=`$echo "X$link_command" | $Xsed -e 's%@OUTPUT@%'"$output"'%g'` + # Delete the old output file. + $run $rm $output + # Link the executable and exit + $show "$link_command" + $run eval "$link_command" || exit $? + exit $EXIT_SUCCESS + fi + + if test "$hardcode_action" = relink; then + # Fast installation is not supported + link_command="$compile_var$compile_command$compile_rpath" + relink_command="$finalize_var$finalize_command$finalize_rpath" + + $echo "$modename: warning: this platform does not like uninstalled shared libraries" 1>&2 + $echo "$modename: \`$output' will be relinked during installation" 1>&2 + else + if test "$fast_install" != no; then + link_command="$finalize_var$compile_command$finalize_rpath" + if test "$fast_install" = yes; then + relink_command=`$echo "X$compile_var$compile_command$compile_rpath" | $Xsed -e 's%@OUTPUT@%\$progdir/\$file%g'` + else + # fast_install is set to needless + relink_command= + fi + else + link_command="$compile_var$compile_command$compile_rpath" + relink_command="$finalize_var$finalize_command$finalize_rpath" + fi + fi + + # Replace the output file specification. + link_command=`$echo "X$link_command" | $Xsed -e 's%@OUTPUT@%'"$output_objdir/$outputname"'%g'` + + # Delete the old output files. + $run $rm $output $output_objdir/$outputname $output_objdir/lt-$outputname + + $show "$link_command" + $run eval "$link_command" || exit $? + + # Now create the wrapper script. + $show "creating $output" + + # Quote the relink command for shipping. + if test -n "$relink_command"; then + # Preserve any variables that may affect compiler behavior + for var in $variables_saved_for_relink; do + if eval test -z \"\${$var+set}\"; then + relink_command="{ test -z \"\${$var+set}\" || unset $var || { $var=; export $var; }; }; $relink_command" + elif eval var_value=\$$var; test -z "$var_value"; then + relink_command="$var=; export $var; $relink_command" + else + var_value=`$echo "X$var_value" | $Xsed -e "$sed_quote_subst"` + relink_command="$var=\"$var_value\"; export $var; $relink_command" + fi + done + relink_command="(cd `pwd`; $relink_command)" + relink_command=`$echo "X$relink_command" | $Xsed -e "$sed_quote_subst"` + fi + + # Quote $echo for shipping. + if test "X$echo" = "X$SHELL $progpath --fallback-echo"; then + case $progpath in + [\\/]* | [A-Za-z]:[\\/]*) qecho="$SHELL $progpath --fallback-echo";; + *) qecho="$SHELL `pwd`/$progpath --fallback-echo";; + esac + qecho=`$echo "X$qecho" | $Xsed -e "$sed_quote_subst"` + else + qecho=`$echo "X$echo" | $Xsed -e "$sed_quote_subst"` + fi + + # Only actually do things if our run command is non-null. + if test -z "$run"; then + # win32 will think the script is a binary if it has + # a .exe suffix, so we strip it off here. + case $output in + *.exe) output=`$echo $output|${SED} 's,.exe$,,'` ;; + esac + # test for cygwin because mv fails w/o .exe extensions + case $host in + *cygwin*) + exeext=.exe + outputname=`$echo $outputname|${SED} 's,.exe$,,'` ;; + *) exeext= ;; + esac + case $host in + *cygwin* | *mingw* ) + cwrappersource=`$echo ${objdir}/lt-${output}.c` + cwrapper=`$echo ${output}.exe` + $rm $cwrappersource $cwrapper + trap "$rm $cwrappersource $cwrapper; exit $EXIT_FAILURE" 1 2 15 + + cat > $cwrappersource <> $cwrappersource<<"EOF" +#include +#include +#include +#include +#include +#include + +#if defined(PATH_MAX) +# define LT_PATHMAX PATH_MAX +#elif defined(MAXPATHLEN) +# define LT_PATHMAX MAXPATHLEN +#else +# define LT_PATHMAX 1024 +#endif + +#ifndef DIR_SEPARATOR +#define DIR_SEPARATOR '/' +#endif + +#if defined (_WIN32) || defined (__MSDOS__) || defined (__DJGPP__) || \ + defined (__OS2__) +#define HAVE_DOS_BASED_FILE_SYSTEM +#ifndef DIR_SEPARATOR_2 +#define DIR_SEPARATOR_2 '\\' +#endif +#endif + +#ifndef DIR_SEPARATOR_2 +# define IS_DIR_SEPARATOR(ch) ((ch) == DIR_SEPARATOR) +#else /* DIR_SEPARATOR_2 */ +# define IS_DIR_SEPARATOR(ch) \ + (((ch) == DIR_SEPARATOR) || ((ch) == DIR_SEPARATOR_2)) +#endif /* DIR_SEPARATOR_2 */ + +#define XMALLOC(type, num) ((type *) xmalloc ((num) * sizeof(type))) +#define XFREE(stale) do { \ + if (stale) { free ((void *) stale); stale = 0; } \ +} while (0) + +const char *program_name = NULL; + +void * xmalloc (size_t num); +char * xstrdup (const char *string); +char * basename (const char *name); +char * fnqualify(const char *path); +char * strendzap(char *str, const char *pat); +void lt_fatal (const char *message, ...); + +int +main (int argc, char *argv[]) +{ + char **newargz; + int i; + + program_name = (char *) xstrdup ((char *) basename (argv[0])); + newargz = XMALLOC(char *, argc+2); +EOF + + cat >> $cwrappersource <> $cwrappersource <<"EOF" + newargz[1] = fnqualify(argv[0]); + /* we know the script has the same name, without the .exe */ + /* so make sure newargz[1] doesn't end in .exe */ + strendzap(newargz[1],".exe"); + for (i = 1; i < argc; i++) + newargz[i+1] = xstrdup(argv[i]); + newargz[argc+1] = NULL; +EOF + + cat >> $cwrappersource <> $cwrappersource <<"EOF" +} + +void * +xmalloc (size_t num) +{ + void * p = (void *) malloc (num); + if (!p) + lt_fatal ("Memory exhausted"); + + return p; +} + +char * +xstrdup (const char *string) +{ + return string ? strcpy ((char *) xmalloc (strlen (string) + 1), string) : NULL +; +} + +char * +basename (const char *name) +{ + const char *base; + +#if defined (HAVE_DOS_BASED_FILE_SYSTEM) + /* Skip over the disk name in MSDOS pathnames. */ + if (isalpha (name[0]) && name[1] == ':') + name += 2; +#endif + + for (base = name; *name; name++) + if (IS_DIR_SEPARATOR (*name)) + base = name + 1; + return (char *) base; +} + +char * +fnqualify(const char *path) +{ + size_t size; + char *p; + char tmp[LT_PATHMAX + 1]; + + assert(path != NULL); + + /* Is it qualified already? */ +#if defined (HAVE_DOS_BASED_FILE_SYSTEM) + if (isalpha (path[0]) && path[1] == ':') + return xstrdup (path); +#endif + if (IS_DIR_SEPARATOR (path[0])) + return xstrdup (path); + + /* prepend the current directory */ + /* doesn't handle '~' */ + if (getcwd (tmp, LT_PATHMAX) == NULL) + lt_fatal ("getcwd failed"); + size = strlen(tmp) + 1 + strlen(path) + 1; /* +2 for '/' and '\0' */ + p = XMALLOC(char, size); + sprintf(p, "%s%c%s", tmp, DIR_SEPARATOR, path); + return p; +} + +char * +strendzap(char *str, const char *pat) +{ + size_t len, patlen; + + assert(str != NULL); + assert(pat != NULL); + + len = strlen(str); + patlen = strlen(pat); + + if (patlen <= len) + { + str += len - patlen; + if (strcmp(str, pat) == 0) + *str = '\0'; + } + return str; +} + +static void +lt_error_core (int exit_status, const char * mode, + const char * message, va_list ap) +{ + fprintf (stderr, "%s: %s: ", program_name, mode); + vfprintf (stderr, message, ap); + fprintf (stderr, ".\n"); + + if (exit_status >= 0) + exit (exit_status); +} + +void +lt_fatal (const char *message, ...) +{ + va_list ap; + va_start (ap, message); + lt_error_core (EXIT_FAILURE, "FATAL", message, ap); + va_end (ap); +} +EOF + # we should really use a build-platform specific compiler + # here, but OTOH, the wrappers (shell script and this C one) + # are only useful if you want to execute the "real" binary. + # Since the "real" binary is built for $host, then this + # wrapper might as well be built for $host, too. + $run $LTCC -s -o $cwrapper $cwrappersource + ;; + esac + $rm $output + trap "$rm $output; exit $EXIT_FAILURE" 1 2 15 + + $echo > $output "\ +#! $SHELL + +# $output - temporary wrapper script for $objdir/$outputname +# Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP +# +# The $output program cannot be directly executed until all the libtool +# libraries that it depends on are installed. +# +# This wrapper script should never be moved out of the build directory. +# If it is, it will not operate correctly. + +# Sed substitution that helps us do robust quoting. It backslashifies +# metacharacters that are still active within double-quoted strings. +Xsed='${SED} -e 1s/^X//' +sed_quote_subst='$sed_quote_subst' + +# The HP-UX ksh and POSIX shell print the target directory to stdout +# if CDPATH is set. +if test \"\${CDPATH+set}\" = set; then CDPATH=:; export CDPATH; fi + +relink_command=\"$relink_command\" + +# This environment variable determines our operation mode. +if test \"\$libtool_install_magic\" = \"$magic\"; then + # install mode needs the following variable: + notinst_deplibs='$notinst_deplibs' +else + # When we are sourced in execute mode, \$file and \$echo are already set. + if test \"\$libtool_execute_magic\" != \"$magic\"; then + echo=\"$qecho\" + file=\"\$0\" + # Make sure echo works. + if test \"X\$1\" = X--no-reexec; then + # Discard the --no-reexec flag, and continue. + shift + elif test \"X\`(\$echo '\t') 2>/dev/null\`\" = 'X\t'; then + # Yippee, \$echo works! + : + else + # Restart under the correct shell, and then maybe \$echo will work. + exec $SHELL \"\$0\" --no-reexec \${1+\"\$@\"} + fi + fi\ +" + $echo >> $output "\ + + # Find the directory that this script lives in. + thisdir=\`\$echo \"X\$file\" | \$Xsed -e 's%/[^/]*$%%'\` + test \"x\$thisdir\" = \"x\$file\" && thisdir=. + + # Follow symbolic links until we get to the real thisdir. + file=\`ls -ld \"\$file\" | ${SED} -n 's/.*-> //p'\` + while test -n \"\$file\"; do + destdir=\`\$echo \"X\$file\" | \$Xsed -e 's%/[^/]*\$%%'\` + + # If there was a directory component, then change thisdir. + if test \"x\$destdir\" != \"x\$file\"; then + case \"\$destdir\" in + [\\\\/]* | [A-Za-z]:[\\\\/]*) thisdir=\"\$destdir\" ;; + *) thisdir=\"\$thisdir/\$destdir\" ;; + esac + fi + + file=\`\$echo \"X\$file\" | \$Xsed -e 's%^.*/%%'\` + file=\`ls -ld \"\$thisdir/\$file\" | ${SED} -n 's/.*-> //p'\` + done + + # Try to get the absolute directory name. + absdir=\`cd \"\$thisdir\" && pwd\` + test -n \"\$absdir\" && thisdir=\"\$absdir\" +" + + if test "$fast_install" = yes; then + $echo >> $output "\ + program=lt-'$outputname'$exeext + progdir=\"\$thisdir/$objdir\" + + if test ! -f \"\$progdir/\$program\" || \\ + { file=\`ls -1dt \"\$progdir/\$program\" \"\$progdir/../\$program\" 2>/dev/null | ${SED} 1q\`; \\ + test \"X\$file\" != \"X\$progdir/\$program\"; }; then + + file=\"\$\$-\$program\" + + if test ! -d \"\$progdir\"; then + $mkdir \"\$progdir\" + else + $rm \"\$progdir/\$file\" + fi" + + $echo >> $output "\ + + # relink executable if necessary + if test -n \"\$relink_command\"; then + if relink_command_output=\`eval \$relink_command 2>&1\`; then : + else + $echo \"\$relink_command_output\" >&2 + $rm \"\$progdir/\$file\" + exit $EXIT_FAILURE + fi + fi + + $mv \"\$progdir/\$file\" \"\$progdir/\$program\" 2>/dev/null || + { $rm \"\$progdir/\$program\"; + $mv \"\$progdir/\$file\" \"\$progdir/\$program\"; } + $rm \"\$progdir/\$file\" + fi" + else + $echo >> $output "\ + program='$outputname' + progdir=\"\$thisdir/$objdir\" +" + fi + + $echo >> $output "\ + + if test -f \"\$progdir/\$program\"; then" + + # Export our shlibpath_var if we have one. + if test "$shlibpath_overrides_runpath" = yes && test -n "$shlibpath_var" && test -n "$temp_rpath"; then + $echo >> $output "\ + # Add our own library path to $shlibpath_var + $shlibpath_var=\"$temp_rpath\$$shlibpath_var\" + + # Some systems cannot cope with colon-terminated $shlibpath_var + # The second colon is a workaround for a bug in BeOS R4 sed + $shlibpath_var=\`\$echo \"X\$$shlibpath_var\" | \$Xsed -e 's/::*\$//'\` + + export $shlibpath_var +" + fi + + # fixup the dll searchpath if we need to. + if test -n "$dllsearchpath"; then + $echo >> $output "\ + # Add the dll search path components to the executable PATH + PATH=$dllsearchpath:\$PATH +" + fi + + $echo >> $output "\ + if test \"\$libtool_execute_magic\" != \"$magic\"; then + # Run the actual program with our arguments. +" + case $host in + # Backslashes separate directories on plain windows + *-*-mingw | *-*-os2*) + $echo >> $output "\ + exec \$progdir\\\\\$program \${1+\"\$@\"} +" + ;; + + *) + $echo >> $output "\ + exec \$progdir/\$program \${1+\"\$@\"} +" + ;; + esac + $echo >> $output "\ + \$echo \"\$0: cannot exec \$program \${1+\"\$@\"}\" + exit $EXIT_FAILURE + fi + else + # The program doesn't exist. + \$echo \"\$0: error: \$progdir/\$program does not exist\" 1>&2 + \$echo \"This script is just a wrapper for \$program.\" 1>&2 + $echo \"See the $PACKAGE documentation for more information.\" 1>&2 + exit $EXIT_FAILURE + fi +fi\ +" + chmod +x $output + fi + exit $EXIT_SUCCESS + ;; + esac + + # See if we need to build an old-fashioned archive. + for oldlib in $oldlibs; do + + if test "$build_libtool_libs" = convenience; then + oldobjs="$libobjs_save" + addlibs="$convenience" + build_libtool_libs=no + else + if test "$build_libtool_libs" = module; then + oldobjs="$libobjs_save" + build_libtool_libs=no + else + oldobjs="$old_deplibs $non_pic_objects" + fi + addlibs="$old_convenience" + fi + + if test -n "$addlibs"; then + gentop="$output_objdir/${outputname}x" + $show "${rm}r $gentop" + $run ${rm}r "$gentop" + $show "$mkdir $gentop" + $run $mkdir "$gentop" + status=$? + if test "$status" -ne 0 && test ! -d "$gentop"; then + exit $status + fi + generated="$generated $gentop" + + # Add in members from convenience archives. + for xlib in $addlibs; do + # Extract the objects. + case $xlib in + [\\/]* | [A-Za-z]:[\\/]*) xabs="$xlib" ;; + *) xabs=`pwd`"/$xlib" ;; + esac + xlib=`$echo "X$xlib" | $Xsed -e 's%^.*/%%'` + xdir="$gentop/$xlib" + + $show "${rm}r $xdir" + $run ${rm}r "$xdir" + $show "$mkdir $xdir" + $run $mkdir "$xdir" + status=$? + if test "$status" -ne 0 && test ! -d "$xdir"; then + exit $status + fi + # We will extract separately just the conflicting names and we will no + # longer touch any unique names. It is faster to leave these extract + # automatically by $AR in one run. + $show "(cd $xdir && $AR x $xabs)" + $run eval "(cd \$xdir && $AR x \$xabs)" || exit $? + if ($AR t "$xabs" | sort | sort -uc >/dev/null 2>&1); then + : + else + $echo "$modename: warning: object name conflicts; renaming object files" 1>&2 + $echo "$modename: warning: to ensure that they will not overwrite" 1>&2 + $AR t "$xabs" | sort | uniq -cd | while read -r count name + do + i=1 + while test "$i" -le "$count" + do + # Put our $i before any first dot (extension) + # Never overwrite any file + name_to="$name" + while test "X$name_to" = "X$name" || test -f "$xdir/$name_to" + do + name_to=`$echo "X$name_to" | $Xsed -e "s/\([^.]*\)/\1-$i/"` + done + $show "(cd $xdir && $AR xN $i $xabs '$name' && $mv '$name' '$name_to')" + $run eval "(cd \$xdir && $AR xN $i \$xabs '$name' && $mv '$name' '$name_to')" || exit $? + i=`expr $i + 1` + done + done + fi + + oldobjs="$oldobjs "`find $xdir -name \*.${objext} -print -o -name \*.lo -print | $NL2SP` + done + fi + + # Do each command in the archive commands. + if test -n "$old_archive_from_new_cmds" && test "$build_libtool_libs" = yes; then + cmds=$old_archive_from_new_cmds + else + eval cmds=\"$old_archive_cmds\" + + if len=`expr "X$cmds" : ".*"` && + test "$len" -le "$max_cmd_len" || test "$max_cmd_len" -le -1; then + cmds=$old_archive_cmds + else + # the command line is too long to link in one step, link in parts + $echo "using piecewise archive linking..." + save_RANLIB=$RANLIB + RANLIB=: + objlist= + concat_cmds= + save_oldobjs=$oldobjs + # GNU ar 2.10+ was changed to match POSIX; thus no paths are + # encoded into archives. This makes 'ar r' malfunction in + # this piecewise linking case whenever conflicting object + # names appear in distinct ar calls; check, warn and compensate. + if (for obj in $save_oldobjs + do + $echo "X$obj" | $Xsed -e 's%^.*/%%' + done | sort | sort -uc >/dev/null 2>&1); then + : + else + $echo "$modename: warning: object name conflicts; overriding AR_FLAGS to 'cq'" 1>&2 + $echo "$modename: warning: to ensure that POSIX-compatible ar will work" 1>&2 + AR_FLAGS=cq + fi + # Is there a better way of finding the last object in the list? + for obj in $save_oldobjs + do + last_oldobj=$obj + done + for obj in $save_oldobjs + do + oldobjs="$objlist $obj" + objlist="$objlist $obj" + eval test_cmds=\"$old_archive_cmds\" + if len=`expr "X$test_cmds" : ".*"` && + test "$len" -le "$max_cmd_len"; then + : + else + # the above command should be used before it gets too long + oldobjs=$objlist + if test "$obj" = "$last_oldobj" ; then + RANLIB=$save_RANLIB + fi + test -z "$concat_cmds" || concat_cmds=$concat_cmds~ + eval concat_cmds=\"\${concat_cmds}$old_archive_cmds\" + objlist= + fi + done + RANLIB=$save_RANLIB + oldobjs=$objlist + if test "X$oldobjs" = "X" ; then + eval cmds=\"\$concat_cmds\" + else + eval cmds=\"\$concat_cmds~\$old_archive_cmds\" + fi + fi + fi + save_ifs="$IFS"; IFS='~' + for cmd in $cmds; do + eval cmd=\"$cmd\" + IFS="$save_ifs" + $show "$cmd" + $run eval "$cmd" || exit $? + done + IFS="$save_ifs" + done + + if test -n "$generated"; then + $show "${rm}r$generated" + $run ${rm}r$generated + fi + + # Now create the libtool archive. + case $output in + *.la) + old_library= + test "$build_old_libs" = yes && old_library="$libname.$libext" + $show "creating $output" + + # Preserve any variables that may affect compiler behavior + for var in $variables_saved_for_relink; do + if eval test -z \"\${$var+set}\"; then + relink_command="{ test -z \"\${$var+set}\" || unset $var || { $var=; export $var; }; }; $relink_command" + elif eval var_value=\$$var; test -z "$var_value"; then + relink_command="$var=; export $var; $relink_command" + else + var_value=`$echo "X$var_value" | $Xsed -e "$sed_quote_subst"` + relink_command="$var=\"$var_value\"; export $var; $relink_command" + fi + done + # Quote the link command for shipping. + relink_command="(cd `pwd`; $SHELL $progpath $preserve_args --mode=relink $libtool_args @inst_prefix_dir@)" + relink_command=`$echo "X$relink_command" | $Xsed -e "$sed_quote_subst"` + if test "$hardcode_automatic" = yes ; then + relink_command= + fi + + + # Only create the output if not a dry run. + if test -z "$run"; then + for installed in no yes; do + if test "$installed" = yes; then + if test -z "$install_libdir"; then + break + fi + output="$output_objdir/$outputname"i + # Replace all uninstalled libtool libraries with the installed ones + newdependency_libs= + for deplib in $dependency_libs; do + case $deplib in + *.la) + name=`$echo "X$deplib" | $Xsed -e 's%^.*/%%'` + eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib` + if test -z "$libdir"; then + $echo "$modename: \`$deplib' is not a valid libtool archive" 1>&2 + exit $EXIT_FAILURE + fi + newdependency_libs="$newdependency_libs $libdir/$name" + ;; + *) newdependency_libs="$newdependency_libs $deplib" ;; + esac + done + dependency_libs="$newdependency_libs" + newdlfiles= + for lib in $dlfiles; do + name=`$echo "X$lib" | $Xsed -e 's%^.*/%%'` + eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $lib` + if test -z "$libdir"; then + $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2 + exit $EXIT_FAILURE + fi + newdlfiles="$newdlfiles $libdir/$name" + done + dlfiles="$newdlfiles" + newdlprefiles= + for lib in $dlprefiles; do + name=`$echo "X$lib" | $Xsed -e 's%^.*/%%'` + eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $lib` + if test -z "$libdir"; then + $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2 + exit $EXIT_FAILURE + fi + newdlprefiles="$newdlprefiles $libdir/$name" + done + dlprefiles="$newdlprefiles" + else + newdlfiles= + for lib in $dlfiles; do + case $lib in + [\\/]* | [A-Za-z]:[\\/]*) abs="$lib" ;; + *) abs=`pwd`"/$lib" ;; + esac + newdlfiles="$newdlfiles $abs" + done + dlfiles="$newdlfiles" + newdlprefiles= + for lib in $dlprefiles; do + case $lib in + [\\/]* | [A-Za-z]:[\\/]*) abs="$lib" ;; + *) abs=`pwd`"/$lib" ;; + esac + newdlprefiles="$newdlprefiles $abs" + done + dlprefiles="$newdlprefiles" + fi + $rm $output + # place dlname in correct position for cygwin + tdlname=$dlname + case $host,$output,$installed,$module,$dlname in + *cygwin*,*lai,yes,no,*.dll | *mingw*,*lai,yes,no,*.dll) tdlname=../bin/$dlname ;; + esac + $echo > $output "\ +# $outputname - a libtool library file +# Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP +# +# Please DO NOT delete this file! +# It is necessary for linking the library. + +# The name that we can dlopen(3). +dlname='$tdlname' + +# Names of this library. +library_names='$library_names' + +# The name of the static archive. +old_library='$old_library' + +# Libraries that this one depends upon. +dependency_libs='$dependency_libs' + +# Version information for $libname. +current=$current +age=$age +revision=$revision + +# Is this an already installed library? +installed=$installed + +# Should we warn about portability when linking against -modules? +shouldnotlink=$module + +# Files to dlopen/dlpreopen +dlopen='$dlfiles' +dlpreopen='$dlprefiles' + +# Directory that this library needs to be installed in: +libdir='$install_libdir'" + if test "$installed" = no && test "$need_relink" = yes; then + $echo >> $output "\ +relink_command=\"$relink_command\"" + fi + done + fi + + # Do a symbolic link so that the libtool archive can be found in + # LD_LIBRARY_PATH before the program is installed. + $show "(cd $output_objdir && $rm $outputname && $LN_S ../$outputname $outputname)" + $run eval '(cd $output_objdir && $rm $outputname && $LN_S ../$outputname $outputname)' || exit $? + ;; + esac + exit $EXIT_SUCCESS + ;; + + # libtool install mode + install) + modename="$modename: install" + + # There may be an optional sh(1) argument at the beginning of + # install_prog (especially on Windows NT). + if test "$nonopt" = "$SHELL" || test "$nonopt" = /bin/sh || + # Allow the use of GNU shtool's install command. + $echo "X$nonopt" | $Xsed | grep shtool > /dev/null; then + # Aesthetically quote it. + arg=`$echo "X$nonopt" | $Xsed -e "$sed_quote_subst"` + case $arg in + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*) + arg="\"$arg\"" + ;; + esac + install_prog="$arg " + arg="$1" + shift + else + install_prog= + arg="$nonopt" + fi + + # The real first argument should be the name of the installation program. + # Aesthetically quote it. + arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"` + case $arg in + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*) + arg="\"$arg\"" + ;; + esac + install_prog="$install_prog$arg" + + # We need to accept at least all the BSD install flags. + dest= + files= + opts= + prev= + install_type= + isdir=no + stripme= + for arg + do + if test -n "$dest"; then + files="$files $dest" + dest="$arg" + continue + fi + + case $arg in + -d) isdir=yes ;; + -f) prev="-f" ;; + -g) prev="-g" ;; + -m) prev="-m" ;; + -o) prev="-o" ;; + -s) + stripme=" -s" + continue + ;; + -*) ;; + + *) + # If the previous option needed an argument, then skip it. + if test -n "$prev"; then + prev= + else + dest="$arg" + continue + fi + ;; + esac + + # Aesthetically quote the argument. + arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"` + case $arg in + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*) + arg="\"$arg\"" + ;; + esac + install_prog="$install_prog $arg" + done + + if test -z "$install_prog"; then + $echo "$modename: you must specify an install program" 1>&2 + $echo "$help" 1>&2 + exit $EXIT_FAILURE + fi + + if test -n "$prev"; then + $echo "$modename: the \`$prev' option requires an argument" 1>&2 + $echo "$help" 1>&2 + exit $EXIT_FAILURE + fi + + if test -z "$files"; then + if test -z "$dest"; then + $echo "$modename: no file or destination specified" 1>&2 + else + $echo "$modename: you must specify a destination" 1>&2 + fi + $echo "$help" 1>&2 + exit $EXIT_FAILURE + fi + + # Strip any trailing slash from the destination. + dest=`$echo "X$dest" | $Xsed -e 's%/$%%'` + + # Check to see that the destination is a directory. + test -d "$dest" && isdir=yes + if test "$isdir" = yes; then + destdir="$dest" + destname= + else + destdir=`$echo "X$dest" | $Xsed -e 's%/[^/]*$%%'` + test "X$destdir" = "X$dest" && destdir=. + destname=`$echo "X$dest" | $Xsed -e 's%^.*/%%'` + + # Not a directory, so check to see that there is only one file specified. + set dummy $files + if test "$#" -gt 2; then + $echo "$modename: \`$dest' is not a directory" 1>&2 + $echo "$help" 1>&2 + exit $EXIT_FAILURE + fi + fi + case $destdir in + [\\/]* | [A-Za-z]:[\\/]*) ;; + *) + for file in $files; do + case $file in + *.lo) ;; + *) + $echo "$modename: \`$destdir' must be an absolute directory name" 1>&2 + $echo "$help" 1>&2 + exit $EXIT_FAILURE + ;; + esac + done + ;; + esac + + # This variable tells wrapper scripts just to set variables rather + # than running their programs. + libtool_install_magic="$magic" + + staticlibs= + future_libdirs= + current_libdirs= + for file in $files; do + + # Do each installation. + case $file in + *.$libext) + # Do the static libraries later. + staticlibs="$staticlibs $file" + ;; + + *.la) + # Check to see that this really is a libtool archive. + if (${SED} -e '2q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then : + else + $echo "$modename: \`$file' is not a valid libtool archive" 1>&2 + $echo "$help" 1>&2 + exit $EXIT_FAILURE + fi + + library_names= + old_library= + relink_command= + # If there is no directory component, then add one. + case $file in + */* | *\\*) . $file ;; + *) . ./$file ;; + esac + + # Add the libdir to current_libdirs if it is the destination. + if test "X$destdir" = "X$libdir"; then + case "$current_libdirs " in + *" $libdir "*) ;; + *) current_libdirs="$current_libdirs $libdir" ;; + esac + else + # Note the libdir as a future libdir. + case "$future_libdirs " in + *" $libdir "*) ;; + *) future_libdirs="$future_libdirs $libdir" ;; + esac + fi + + dir=`$echo "X$file" | $Xsed -e 's%/[^/]*$%%'`/ + test "X$dir" = "X$file/" && dir= + dir="$dir$objdir" + + if test -n "$relink_command"; then + # Determine the prefix the user has applied to our future dir. + inst_prefix_dir=`$echo "$destdir" | $SED "s%$libdir\$%%"` + + # Don't allow the user to place us outside of our expected + # location b/c this prevents finding dependent libraries that + # are installed to the same prefix. + # At present, this check doesn't affect windows .dll's that + # are installed into $libdir/../bin (currently, that works fine) + # but it's something to keep an eye on. + if test "$inst_prefix_dir" = "$destdir"; then + $echo "$modename: error: cannot install \`$file' to a directory not ending in $libdir" 1>&2 + exit $EXIT_FAILURE + fi + + if test -n "$inst_prefix_dir"; then + # Stick the inst_prefix_dir data into the link command. + relink_command=`$echo "$relink_command" | $SED "s%@inst_prefix_dir@%-inst-prefix-dir $inst_prefix_dir%"` + else + relink_command=`$echo "$relink_command" | $SED "s%@inst_prefix_dir@%%"` + fi + + $echo "$modename: warning: relinking \`$file'" 1>&2 + $show "$relink_command" + if $run eval "$relink_command"; then : + else + $echo "$modename: error: relink \`$file' with the above command before installing it" 1>&2 + exit $EXIT_FAILURE + fi + fi + + # See the names of the shared library. + set dummy $library_names + if test -n "$2"; then + realname="$2" + shift + shift + + srcname="$realname" + test -n "$relink_command" && srcname="$realname"T + + # Install the shared library and build the symlinks. + $show "$install_prog $dir/$srcname $destdir/$realname" + $run eval "$install_prog $dir/$srcname $destdir/$realname" || exit $? + if test -n "$stripme" && test -n "$striplib"; then + $show "$striplib $destdir/$realname" + $run eval "$striplib $destdir/$realname" || exit $? + fi + + if test "$#" -gt 0; then + # Delete the old symlinks, and create new ones. + for linkname + do + if test "$linkname" != "$realname"; then + $show "(cd $destdir && $rm $linkname && $LN_S $realname $linkname)" + $run eval "(cd $destdir && $rm $linkname && $LN_S $realname $linkname)" + fi + done + fi + + # Do each command in the postinstall commands. + lib="$destdir/$realname" + cmds=$postinstall_cmds + save_ifs="$IFS"; IFS='~' + for cmd in $cmds; do + IFS="$save_ifs" + eval cmd=\"$cmd\" + $show "$cmd" + $run eval "$cmd" || exit $? + done + IFS="$save_ifs" + fi + + # Install the pseudo-library for information purposes. + name=`$echo "X$file" | $Xsed -e 's%^.*/%%'` + instname="$dir/$name"i + $show "$install_prog $instname $destdir/$name" + $run eval "$install_prog $instname $destdir/$name" || exit $? + + # Maybe install the static library, too. + test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library" + ;; + + *.lo) + # Install (i.e. copy) a libtool object. + + # Figure out destination file name, if it wasn't already specified. + if test -n "$destname"; then + destfile="$destdir/$destname" + else + destfile=`$echo "X$file" | $Xsed -e 's%^.*/%%'` + destfile="$destdir/$destfile" + fi + + # Deduce the name of the destination old-style object file. + case $destfile in + *.lo) + staticdest=`$echo "X$destfile" | $Xsed -e "$lo2o"` + ;; + *.$objext) + staticdest="$destfile" + destfile= + ;; + *) + $echo "$modename: cannot copy a libtool object to \`$destfile'" 1>&2 + $echo "$help" 1>&2 + exit $EXIT_FAILURE + ;; + esac + + # Install the libtool object if requested. + if test -n "$destfile"; then + $show "$install_prog $file $destfile" + $run eval "$install_prog $file $destfile" || exit $? + fi + + # Install the old object if enabled. + if test "$build_old_libs" = yes; then + # Deduce the name of the old-style object file. + staticobj=`$echo "X$file" | $Xsed -e "$lo2o"` + + $show "$install_prog $staticobj $staticdest" + $run eval "$install_prog \$staticobj \$staticdest" || exit $? + fi + exit $EXIT_SUCCESS + ;; + + *) + # Figure out destination file name, if it wasn't already specified. + if test -n "$destname"; then + destfile="$destdir/$destname" + else + destfile=`$echo "X$file" | $Xsed -e 's%^.*/%%'` + destfile="$destdir/$destfile" + fi + + # If the file is missing, and there is a .exe on the end, strip it + # because it is most likely a libtool script we actually want to + # install + stripped_ext="" + case $file in + *.exe) + if test ! -f "$file"; then + file=`$echo $file|${SED} 's,.exe$,,'` + stripped_ext=".exe" + fi + ;; + esac + + # Do a test to see if this is really a libtool program. + case $host in + *cygwin*|*mingw*) + wrapper=`$echo $file | ${SED} -e 's,.exe$,,'` + ;; + *) + wrapper=$file + ;; + esac + if (${SED} -e '4q' $wrapper | grep "^# Generated by .*$PACKAGE")>/dev/null 2>&1; then + notinst_deplibs= + relink_command= + + # To insure that "foo" is sourced, and not "foo.exe", + # finese the cygwin/MSYS system by explicitly sourcing "foo." + # which disallows the automatic-append-.exe behavior. + case $build in + *cygwin* | *mingw*) wrapperdot=${wrapper}. ;; + *) wrapperdot=${wrapper} ;; + esac + # If there is no directory component, then add one. + case $file in + */* | *\\*) . ${wrapperdot} ;; + *) . ./${wrapperdot} ;; + esac + + # Check the variables that should have been set. + if test -z "$notinst_deplibs"; then + $echo "$modename: invalid libtool wrapper script \`$wrapper'" 1>&2 + exit $EXIT_FAILURE + fi + + finalize=yes + for lib in $notinst_deplibs; do + # Check to see that each library is installed. + libdir= + if test -f "$lib"; then + # If there is no directory component, then add one. + case $lib in + */* | *\\*) . $lib ;; + *) . ./$lib ;; + esac + fi + libfile="$libdir/"`$echo "X$lib" | $Xsed -e 's%^.*/%%g'` ### testsuite: skip nested quoting test + if test -n "$libdir" && test ! -f "$libfile"; then + $echo "$modename: warning: \`$lib' has not been installed in \`$libdir'" 1>&2 + finalize=no + fi + done + + relink_command= + # To insure that "foo" is sourced, and not "foo.exe", + # finese the cygwin/MSYS system by explicitly sourcing "foo." + # which disallows the automatic-append-.exe behavior. + case $build in + *cygwin* | *mingw*) wrapperdot=${wrapper}. ;; + *) wrapperdot=${wrapper} ;; + esac + # If there is no directory component, then add one. + case $file in + */* | *\\*) . ${wrapperdot} ;; + *) . ./${wrapperdot} ;; + esac + + outputname= + if test "$fast_install" = no && test -n "$relink_command"; then + if test "$finalize" = yes && test -z "$run"; then + tmpdir="/tmp" + test -n "$TMPDIR" && tmpdir="$TMPDIR" + tmpdir="$tmpdir/libtool-$$" + save_umask=`umask` + umask 0077 + if $mkdir "$tmpdir"; then + umask $save_umask + else + umask $save_umask + $echo "$modename: error: cannot create temporary directory \`$tmpdir'" 1>&2 + continue + fi + file=`$echo "X$file$stripped_ext" | $Xsed -e 's%^.*/%%'` + outputname="$tmpdir/$file" + # Replace the output file specification. + relink_command=`$echo "X$relink_command" | $Xsed -e 's%@OUTPUT@%'"$outputname"'%g'` + + $show "$relink_command" + if $run eval "$relink_command"; then : + else + $echo "$modename: error: relink \`$file' with the above command before installing it" 1>&2 + ${rm}r "$tmpdir" + continue + fi + file="$outputname" + else + $echo "$modename: warning: cannot relink \`$file'" 1>&2 + fi + else + # Install the binary that we compiled earlier. + file=`$echo "X$file$stripped_ext" | $Xsed -e "s%\([^/]*\)$%$objdir/\1%"` + fi + fi + + # remove .exe since cygwin /usr/bin/install will append another + # one anyways + case $install_prog,$host in + */usr/bin/install*,*cygwin*) + case $file:$destfile in + *.exe:*.exe) + # this is ok + ;; + *.exe:*) + destfile=$destfile.exe + ;; + *:*.exe) + destfile=`$echo $destfile | ${SED} -e 's,.exe$,,'` + ;; + esac + ;; + esac + $show "$install_prog$stripme $file $destfile" + $run eval "$install_prog\$stripme \$file \$destfile" || exit $? + test -n "$outputname" && ${rm}r "$tmpdir" + ;; + esac + done + + for file in $staticlibs; do + name=`$echo "X$file" | $Xsed -e 's%^.*/%%'` + + # Set up the ranlib parameters. + oldlib="$destdir/$name" + + $show "$install_prog $file $oldlib" + $run eval "$install_prog \$file \$oldlib" || exit $? + + if test -n "$stripme" && test -n "$old_striplib"; then + $show "$old_striplib $oldlib" + $run eval "$old_striplib $oldlib" || exit $? + fi + + # Do each command in the postinstall commands. + cmds=$old_postinstall_cmds + save_ifs="$IFS"; IFS='~' + for cmd in $cmds; do + IFS="$save_ifs" + eval cmd=\"$cmd\" + $show "$cmd" + $run eval "$cmd" || exit $? + done + IFS="$save_ifs" + done + + if test -n "$future_libdirs"; then + $echo "$modename: warning: remember to run \`$progname --finish$future_libdirs'" 1>&2 + fi + + if test -n "$current_libdirs"; then + # Maybe just do a dry run. + test -n "$run" && current_libdirs=" -n$current_libdirs" + exec_cmd='$SHELL $progpath $preserve_args --finish$current_libdirs' + else + exit $EXIT_SUCCESS + fi + ;; + + # libtool finish mode + finish) + modename="$modename: finish" + libdirs="$nonopt" + admincmds= + + if test -n "$finish_cmds$finish_eval" && test -n "$libdirs"; then + for dir + do + libdirs="$libdirs $dir" + done + + for libdir in $libdirs; do + if test -n "$finish_cmds"; then + # Do each command in the finish commands. + cmds=$finish_cmds + save_ifs="$IFS"; IFS='~' + for cmd in $cmds; do + IFS="$save_ifs" + eval cmd=\"$cmd\" + $show "$cmd" + $run eval "$cmd" || admincmds="$admincmds + $cmd" + done + IFS="$save_ifs" + fi + if test -n "$finish_eval"; then + # Do the single finish_eval. + eval cmds=\"$finish_eval\" + $run eval "$cmds" || admincmds="$admincmds + $cmds" + fi + done + fi + + # Exit here if they wanted silent mode. + test "$show" = : && exit $EXIT_SUCCESS + + $echo "----------------------------------------------------------------------" + $echo "Libraries have been installed in:" + for libdir in $libdirs; do + $echo " $libdir" + done + $echo + $echo "If you ever happen to want to link against installed libraries" + $echo "in a given directory, LIBDIR, you must either use libtool, and" + $echo "specify the full pathname of the library, or use the \`-LLIBDIR'" + $echo "flag during linking and do at least one of the following:" + if test -n "$shlibpath_var"; then + $echo " - add LIBDIR to the \`$shlibpath_var' environment variable" + $echo " during execution" + fi + if test -n "$runpath_var"; then + $echo " - add LIBDIR to the \`$runpath_var' environment variable" + $echo " during linking" + fi + if test -n "$hardcode_libdir_flag_spec"; then + libdir=LIBDIR + eval flag=\"$hardcode_libdir_flag_spec\" + + $echo " - use the \`$flag' linker flag" + fi + if test -n "$admincmds"; then + $echo " - have your system administrator run these commands:$admincmds" + fi + if test -f /etc/ld.so.conf; then + $echo " - have your system administrator add LIBDIR to \`/etc/ld.so.conf'" + fi + $echo + $echo "See any operating system documentation about shared libraries for" + $echo "more information, such as the ld(1) and ld.so(8) manual pages." + $echo "----------------------------------------------------------------------" + exit $EXIT_SUCCESS + ;; + + # libtool execute mode + execute) + modename="$modename: execute" + + # The first argument is the command name. + cmd="$nonopt" + if test -z "$cmd"; then + $echo "$modename: you must specify a COMMAND" 1>&2 + $echo "$help" + exit $EXIT_FAILURE + fi + + # Handle -dlopen flags immediately. + for file in $execute_dlfiles; do + if test ! -f "$file"; then + $echo "$modename: \`$file' is not a file" 1>&2 + $echo "$help" 1>&2 + exit $EXIT_FAILURE + fi + + dir= + case $file in + *.la) + # Check to see that this really is a libtool archive. + if (${SED} -e '2q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then : + else + $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2 + $echo "$help" 1>&2 + exit $EXIT_FAILURE + fi + + # Read the libtool library. + dlname= + library_names= + + # If there is no directory component, then add one. + case $file in + */* | *\\*) . $file ;; + *) . ./$file ;; + esac + + # Skip this library if it cannot be dlopened. + if test -z "$dlname"; then + # Warn if it was a shared library. + test -n "$library_names" && $echo "$modename: warning: \`$file' was not linked with \`-export-dynamic'" + continue + fi + + dir=`$echo "X$file" | $Xsed -e 's%/[^/]*$%%'` + test "X$dir" = "X$file" && dir=. + + if test -f "$dir/$objdir/$dlname"; then + dir="$dir/$objdir" + else + $echo "$modename: cannot find \`$dlname' in \`$dir' or \`$dir/$objdir'" 1>&2 + exit $EXIT_FAILURE + fi + ;; + + *.lo) + # Just add the directory containing the .lo file. + dir=`$echo "X$file" | $Xsed -e 's%/[^/]*$%%'` + test "X$dir" = "X$file" && dir=. + ;; + + *) + $echo "$modename: warning \`-dlopen' is ignored for non-libtool libraries and objects" 1>&2 + continue + ;; + esac + + # Get the absolute pathname. + absdir=`cd "$dir" && pwd` + test -n "$absdir" && dir="$absdir" + + # Now add the directory to shlibpath_var. + if eval "test -z \"\$$shlibpath_var\""; then + eval "$shlibpath_var=\"\$dir\"" + else + eval "$shlibpath_var=\"\$dir:\$$shlibpath_var\"" + fi + done + + # This variable tells wrapper scripts just to set shlibpath_var + # rather than running their programs. + libtool_execute_magic="$magic" + + # Check if any of the arguments is a wrapper script. + args= + for file + do + case $file in + -*) ;; + *) + # Do a test to see if this is really a libtool program. + if (${SED} -e '4q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then + # If there is no directory component, then add one. + case $file in + */* | *\\*) . $file ;; + *) . ./$file ;; + esac + + # Transform arg to wrapped name. + file="$progdir/$program" + fi + ;; + esac + # Quote arguments (to preserve shell metacharacters). + file=`$echo "X$file" | $Xsed -e "$sed_quote_subst"` + args="$args \"$file\"" + done + + if test -z "$run"; then + if test -n "$shlibpath_var"; then + # Export the shlibpath_var. + eval "export $shlibpath_var" + fi + + # Restore saved environment variables + if test "${save_LC_ALL+set}" = set; then + LC_ALL="$save_LC_ALL"; export LC_ALL + fi + if test "${save_LANG+set}" = set; then + LANG="$save_LANG"; export LANG + fi + + # Now prepare to actually exec the command. + exec_cmd="\$cmd$args" + else + # Display what would be done. + if test -n "$shlibpath_var"; then + eval "\$echo \"\$shlibpath_var=\$$shlibpath_var\"" + $echo "export $shlibpath_var" + fi + $echo "$cmd$args" + exit $EXIT_SUCCESS + fi + ;; + + # libtool clean and uninstall mode + clean | uninstall) + modename="$modename: $mode" + rm="$nonopt" + files= + rmforce= + exit_status=0 + + # This variable tells wrapper scripts just to set variables rather + # than running their programs. + libtool_install_magic="$magic" + + for arg + do + case $arg in + -f) rm="$rm $arg"; rmforce=yes ;; + -*) rm="$rm $arg" ;; + *) files="$files $arg" ;; + esac + done + + if test -z "$rm"; then + $echo "$modename: you must specify an RM program" 1>&2 + $echo "$help" 1>&2 + exit $EXIT_FAILURE + fi + + rmdirs= + + origobjdir="$objdir" + for file in $files; do + dir=`$echo "X$file" | $Xsed -e 's%/[^/]*$%%'` + if test "X$dir" = "X$file"; then + dir=. + objdir="$origobjdir" + else + objdir="$dir/$origobjdir" + fi + name=`$echo "X$file" | $Xsed -e 's%^.*/%%'` + test "$mode" = uninstall && objdir="$dir" + + # Remember objdir for removal later, being careful to avoid duplicates + if test "$mode" = clean; then + case " $rmdirs " in + *" $objdir "*) ;; + *) rmdirs="$rmdirs $objdir" ;; + esac + fi + + # Don't error if the file doesn't exist and rm -f was used. + if (test -L "$file") >/dev/null 2>&1 \ + || (test -h "$file") >/dev/null 2>&1 \ + || test -f "$file"; then + : + elif test -d "$file"; then + exit_status=1 + continue + elif test "$rmforce" = yes; then + continue + fi + + rmfiles="$file" + + case $name in + *.la) + # Possibly a libtool archive, so verify it. + if (${SED} -e '2q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then + . $dir/$name + + # Delete the libtool libraries and symlinks. + for n in $library_names; do + rmfiles="$rmfiles $objdir/$n" + done + test -n "$old_library" && rmfiles="$rmfiles $objdir/$old_library" + test "$mode" = clean && rmfiles="$rmfiles $objdir/$name $objdir/${name}i" + + if test "$mode" = uninstall; then + if test -n "$library_names"; then + # Do each command in the postuninstall commands. + cmds=$postuninstall_cmds + save_ifs="$IFS"; IFS='~' + for cmd in $cmds; do + IFS="$save_ifs" + eval cmd=\"$cmd\" + $show "$cmd" + $run eval "$cmd" + if test "$?" -ne 0 && test "$rmforce" != yes; then + exit_status=1 + fi + done + IFS="$save_ifs" + fi + + if test -n "$old_library"; then + # Do each command in the old_postuninstall commands. + cmds=$old_postuninstall_cmds + save_ifs="$IFS"; IFS='~' + for cmd in $cmds; do + IFS="$save_ifs" + eval cmd=\"$cmd\" + $show "$cmd" + $run eval "$cmd" + if test "$?" -ne 0 && test "$rmforce" != yes; then + exit_status=1 + fi + done + IFS="$save_ifs" + fi + # FIXME: should reinstall the best remaining shared library. + fi + fi + ;; + + *.lo) + # Possibly a libtool object, so verify it. + if (${SED} -e '2q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then + + # Read the .lo file + . $dir/$name + + # Add PIC object to the list of files to remove. + if test -n "$pic_object" \ + && test "$pic_object" != none; then + rmfiles="$rmfiles $dir/$pic_object" + fi + + # Add non-PIC object to the list of files to remove. + if test -n "$non_pic_object" \ + && test "$non_pic_object" != none; then + rmfiles="$rmfiles $dir/$non_pic_object" + fi + fi + ;; + + *) + if test "$mode" = clean ; then + noexename=$name + case $file in + *.exe) + file=`$echo $file|${SED} 's,.exe$,,'` + noexename=`$echo $name|${SED} 's,.exe$,,'` + # $file with .exe has already been added to rmfiles, + # add $file without .exe + rmfiles="$rmfiles $file" + ;; + esac + # Do a test to see if this is a libtool program. + if (${SED} -e '4q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then + relink_command= + . $dir/$noexename + + # note $name still contains .exe if it was in $file originally + # as does the version of $file that was added into $rmfiles + rmfiles="$rmfiles $objdir/$name $objdir/${name}S.${objext}" + if test "$fast_install" = yes && test -n "$relink_command"; then + rmfiles="$rmfiles $objdir/lt-$name" + fi + if test "X$noexename" != "X$name" ; then + rmfiles="$rmfiles $objdir/lt-${noexename}.c" + fi + fi + fi + ;; + esac + $show "$rm $rmfiles" + $run $rm $rmfiles || exit_status=1 + done + objdir="$origobjdir" + + # Try to remove the ${objdir}s in the directories where we deleted files + for dir in $rmdirs; do + if test -d "$dir"; then + $show "rmdir $dir" + $run rmdir $dir >/dev/null 2>&1 + fi + done + + exit $exit_status + ;; + + "") + $echo "$modename: you must specify a MODE" 1>&2 + $echo "$generic_help" 1>&2 + exit $EXIT_FAILURE + ;; + esac + + if test -z "$exec_cmd"; then + $echo "$modename: invalid operation mode \`$mode'" 1>&2 + $echo "$generic_help" 1>&2 + exit $EXIT_FAILURE + fi +fi # test -z "$show_help" + +if test -n "$exec_cmd"; then + eval exec $exec_cmd + exit $EXIT_FAILURE +fi + +# We need to display help for each of the modes. +case $mode in +"") $echo \ +"Usage: $modename [OPTION]... [MODE-ARG]... + +Provide generalized library-building support services. + + --config show all configuration variables + --debug enable verbose shell tracing +-n, --dry-run display commands without modifying any files + --features display basic configuration information and exit + --finish same as \`--mode=finish' + --help display this help message and exit + --mode=MODE use operation mode MODE [default=inferred from MODE-ARGS] + --quiet same as \`--silent' + --silent don't print informational messages + --tag=TAG use configuration variables from tag TAG + --version print version information + +MODE must be one of the following: + + clean remove files from the build directory + compile compile a source file into a libtool object + execute automatically set library path, then run a program + finish complete the installation of libtool libraries + install install libraries or executables + link create a library or an executable + uninstall remove libraries from an installed directory + +MODE-ARGS vary depending on the MODE. Try \`$modename --help --mode=MODE' for +a more detailed description of MODE. + +Report bugs to ." + exit $EXIT_SUCCESS + ;; + +clean) + $echo \ +"Usage: $modename [OPTION]... --mode=clean RM [RM-OPTION]... FILE... + +Remove files from the build directory. + +RM is the name of the program to use to delete files associated with each FILE +(typically \`/bin/rm'). RM-OPTIONS are options (such as \`-f') to be passed +to RM. + +If FILE is a libtool library, object or program, all the files associated +with it are deleted. Otherwise, only FILE itself is deleted using RM." + ;; + +compile) + $echo \ +"Usage: $modename [OPTION]... --mode=compile COMPILE-COMMAND... SOURCEFILE + +Compile a source file into a libtool library object. + +This mode accepts the following additional options: + + -o OUTPUT-FILE set the output file name to OUTPUT-FILE + -prefer-pic try to building PIC objects only + -prefer-non-pic try to building non-PIC objects only + -static always build a \`.o' file suitable for static linking + +COMPILE-COMMAND is a command to be used in creating a \`standard' object file +from the given SOURCEFILE. + +The output file name is determined by removing the directory component from +SOURCEFILE, then substituting the C source code suffix \`.c' with the +library object suffix, \`.lo'." + ;; + +execute) + $echo \ +"Usage: $modename [OPTION]... --mode=execute COMMAND [ARGS]... + +Automatically set library path, then run a program. + +This mode accepts the following additional options: + + -dlopen FILE add the directory containing FILE to the library path + +This mode sets the library path environment variable according to \`-dlopen' +flags. + +If any of the ARGS are libtool executable wrappers, then they are translated +into their corresponding uninstalled binary, and any of their required library +directories are added to the library path. + +Then, COMMAND is executed, with ARGS as arguments." + ;; + +finish) + $echo \ +"Usage: $modename [OPTION]... --mode=finish [LIBDIR]... + +Complete the installation of libtool libraries. + +Each LIBDIR is a directory that contains libtool libraries. + +The commands that this mode executes may require superuser privileges. Use +the \`--dry-run' option if you just want to see what would be executed." + ;; + +install) + $echo \ +"Usage: $modename [OPTION]... --mode=install INSTALL-COMMAND... + +Install executables or libraries. + +INSTALL-COMMAND is the installation command. The first component should be +either the \`install' or \`cp' program. + +The rest of the components are interpreted as arguments to that command (only +BSD-compatible install options are recognized)." + ;; + +link) + $echo \ +"Usage: $modename [OPTION]... --mode=link LINK-COMMAND... + +Link object files or libraries together to form another library, or to +create an executable program. + +LINK-COMMAND is a command using the C compiler that you would use to create +a program from several object files. + +The following components of LINK-COMMAND are treated specially: + + -all-static do not do any dynamic linking at all + -avoid-version do not add a version suffix if possible + -dlopen FILE \`-dlpreopen' FILE if it cannot be dlopened at runtime + -dlpreopen FILE link in FILE and add its symbols to lt_preloaded_symbols + -export-dynamic allow symbols from OUTPUT-FILE to be resolved with dlsym(3) + -export-symbols SYMFILE + try to export only the symbols listed in SYMFILE + -export-symbols-regex REGEX + try to export only the symbols matching REGEX + -LLIBDIR search LIBDIR for required installed libraries + -lNAME OUTPUT-FILE requires the installed library libNAME + -module build a library that can dlopened + -no-fast-install disable the fast-install mode + -no-install link a not-installable executable + -no-undefined declare that a library does not refer to external symbols + -o OUTPUT-FILE create OUTPUT-FILE from the specified objects + -objectlist FILE Use a list of object files found in FILE to specify objects + -precious-files-regex REGEX + don't remove output files matching REGEX + -release RELEASE specify package release information + -rpath LIBDIR the created library will eventually be installed in LIBDIR + -R[ ]LIBDIR add LIBDIR to the runtime path of programs and libraries + -static do not do any dynamic linking of libtool libraries + -version-info CURRENT[:REVISION[:AGE]] + specify library version info [each variable defaults to 0] + +All other options (arguments beginning with \`-') are ignored. + +Every other argument is treated as a filename. Files ending in \`.la' are +treated as uninstalled libtool libraries, other files are standard or library +object files. + +If the OUTPUT-FILE ends in \`.la', then a libtool library is created, +only library objects (\`.lo' files) may be specified, and \`-rpath' is +required, except when creating a convenience library. + +If OUTPUT-FILE ends in \`.a' or \`.lib', then a standard library is created +using \`ar' and \`ranlib', or on Windows using \`lib'. + +If OUTPUT-FILE ends in \`.lo' or \`.${objext}', then a reloadable object file +is created, otherwise an executable program is created." + ;; + +uninstall) + $echo \ +"Usage: $modename [OPTION]... --mode=uninstall RM [RM-OPTION]... FILE... + +Remove libraries from an installation directory. + +RM is the name of the program to use to delete files associated with each FILE +(typically \`/bin/rm'). RM-OPTIONS are options (such as \`-f') to be passed +to RM. + +If FILE is a libtool library, all the files associated with it are deleted. +Otherwise, only FILE itself is deleted using RM." + ;; + +*) + $echo "$modename: invalid operation mode \`$mode'" 1>&2 + $echo "$help" 1>&2 + exit $EXIT_FAILURE + ;; +esac + +$echo +$echo "Try \`$modename --help' for more information about other modes." + +exit $EXIT_SUCCESS + +# The TAGs below are defined such that we never get into a situation +# in which we disable both kinds of libraries. Given conflicting +# choices, we go for a static library, that is the most portable, +# since we can't tell whether shared libraries were disabled because +# the user asked for that or because the platform doesn't support +# them. This is particularly important on AIX, because we don't +# support having both static and shared libraries enabled at the same +# time on that platform, so we default to a shared-only configuration. +# If a disable-shared tag is given, we'll fallback to a static-only +# configuration. But we'll never go from static-only to shared-only. + +# ### BEGIN LIBTOOL TAG CONFIG: disable-shared +build_libtool_libs=no +build_old_libs=yes +# ### END LIBTOOL TAG CONFIG: disable-shared + +# ### BEGIN LIBTOOL TAG CONFIG: disable-static +build_old_libs=`case $build_libtool_libs in yes) $echo no;; *) $echo yes;; esac` +# ### END LIBTOOL TAG CONFIG: disable-static + +# Local Variables: +# mode:shell-script +# sh-indentation:2 +# End: +# ### BEGIN LIBTOOL TAG CONFIG: CXX + +# Libtool was configured on host qingheng-Precision-WorkStation-T3500: + +# Shell to use when invoking shell scripts. +SHELL="/bin/sh" + +# Whether or not to build shared libraries. +build_libtool_libs=yes + +# Whether or not to build static libraries. +build_old_libs=yes + +# Whether or not to add -lc for building shared libraries. +build_libtool_need_lc=no + +# Whether or not to disallow shared libs when runtime libs are static +allow_libtool_libs_with_static_runtimes=no + +# Whether or not to optimize for fast installation. +fast_install=yes + +# The host system. +host_alias=mipsel-uclibc-linux26 +host=mipsel-uclibc-linux-gnu26 + +# An echo program that does not interpret backslashes. +echo="echo" + +# The archiver. +AR="ar" +AR_FLAGS="cru" + +# A C compiler. +LTCC="/home/qingheng/BCM947186/build_script/43241/../../platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/mipsel-uclibc-linux26-gcc" + +# A language-specific compiler. +CC="/home/qingheng/BCM947186/build_script/43241/../../platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/mipsel-uclibc-linux26-g++" + +# Is the compiler the GNU C compiler? +with_gcc=yes + +# An ERE matcher. +EGREP="/bin/grep -E" + +# The linker used to build libraries. +LD="/projects/hnd/tools/linux/hndtools-mipsel-linux-uclibc-4.2.3/usr/bin/mipsel-linux-uclibc-ld" + +# Whether we need hard or soft links. +LN_S="ln -s" + +# A BSD-compatible nm program. +NM="nm" + +# A symbol stripping program +STRIP="strip" + +# Used to examine libraries when file_magic_cmd begins "file" +MAGIC_CMD=file + +# Used on cygwin: DLL creation program. +DLLTOOL="dlltool" + +# Used on cygwin: object dumper. +OBJDUMP="objdump" + +# Used on cygwin: assembler. +AS="as" + +# The name of the directory that contains temporary libtool files. +objdir=.libs + +# How to create reloadable object files. +reload_flag=" -r" +reload_cmds="\$LD\$reload_flag -o \$output\$reload_objs" + +# How to pass a linker flag through the compiler. +wl="-Wl," + +# Object file suffix (normally "o"). +objext="o" + +# Old archive suffix (normally "a"). +libext="a" + +# Shared library suffix (normally ".so"). +shrext_cmds='.so' + +# Executable file suffix (normally ""). +exeext="" + +# Additional compiler flags for building library objects. +pic_flag=" -fPIC -DPIC" +pic_mode=default + +# What is the maximum length of a command? +max_cmd_len=32768 + +# Does compiler simultaneously support -c and -o options? +compiler_c_o="yes" + +# Must we lock files when doing compilation ? +need_locks="no" + +# Do we need the lib prefix for modules? +need_lib_prefix=no + +# Do we need a version for libraries? +need_version=no + +# Whether dlopen is supported. +dlopen_support=unknown + +# Whether dlopen of programs is supported. +dlopen_self=unknown + +# Whether dlopen of statically linked programs is supported. +dlopen_self_static=unknown + +# Compiler flag to prevent dynamic linking. +link_static_flag="-static" + +# Compiler flag to turn off builtin functions. +no_builtin_flag=" -fno-builtin" + +# Compiler flag to allow reflexive dlopens. +export_dynamic_flag_spec="\${wl}--export-dynamic" + +# Compiler flag to generate shared objects directly from archives. +whole_archive_flag_spec="\${wl}--whole-archive\$convenience \${wl}--no-whole-archive" + +# Compiler flag to generate thread-safe objects. +thread_safe_flag_spec="" + +# Library versioning type. +version_type=linux + +# Format of library name prefix. +libname_spec="lib\$name" + +# List of archive names. First name is the real one, the rest are links. +# The last name is the one that the linker finds with -lNAME. +library_names_spec="\${libname}\${release}\${shared_ext}\$versuffix \${libname}\${release}\${shared_ext}\$major \$libname\${shared_ext}" + +# The coded name of the library, if different from the real name. +soname_spec="\${libname}\${release}\${shared_ext}\$major" + +# Commands used to build and install an old-style archive. +RANLIB="ranlib" +old_archive_cmds="\$AR \$AR_FLAGS \$oldlib\$oldobjs\$old_deplibs~\$RANLIB \$oldlib" +old_postinstall_cmds="\$RANLIB \$oldlib~chmod 644 \$oldlib" +old_postuninstall_cmds="" + +# Create an old-style archive from a shared archive. +old_archive_from_new_cmds="" + +# Create a temporary old-style archive to link instead of a shared archive. +old_archive_from_expsyms_cmds="" + +# Commands used to build and install a shared archive. +archive_cmds="\$CC -shared -nostdlib \$predep_objects \$libobjs \$deplibs \$postdep_objects \$compiler_flags \${wl}-soname \$wl\$soname -o \$lib" +archive_expsym_cmds="\$CC -shared -nostdlib \$predep_objects \$libobjs \$deplibs \$postdep_objects \$compiler_flags \${wl}-soname \$wl\$soname \${wl}-retain-symbols-file \$wl\$export_symbols -o \$lib" +postinstall_cmds="" +postuninstall_cmds="" + +# Commands used to build a loadable module (assumed same as above if empty) +module_cmds="" +module_expsym_cmds="" + +# Commands to strip libraries. +old_striplib="strip --strip-debug" +striplib="strip --strip-unneeded" + +# Dependencies to place before the objects being linked to create a +# shared library. +predep_objects="/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/lib/crti.o /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/crtbeginS.o" + +# Dependencies to place after the objects being linked to create a +# shared library. +postdep_objects="/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/crtendS.o /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/lib/crtn.o" + +# Dependencies to place before the objects being linked to create a +# shared library. +predeps="" + +# Dependencies to place after the objects being linked to create a +# shared library. +postdeps="-lstdc++ -lm -lgcc_s -lc -lgcc_s" + +# The library search path used internally by the compiler when linking +# a shared library. +compiler_lib_search_path="-L/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3 -L/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc -L/projects/hnd/tools/linux/hndtools-mipsel-linux-uclibc-4.2.3/lib/gcc/mipsel-linux-uclibc/4.2.3 -L/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/lib -L/projects/hnd/tools/linux/hndtools-mipsel-linux-uclibc-4.2.3/lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/lib" + +# Method to check whether dependent libraries are shared objects. +deplibs_check_method="pass_all" + +# Command to use when deplibs_check_method == file_magic. +file_magic_cmd="\$MAGIC_CMD" + +# Flag that allows shared libraries with undefined symbols to be built. +allow_undefined_flag="" + +# Flag that forces no undefined symbols. +no_undefined_flag="" + +# Commands used to finish a libtool library installation in a directory. +finish_cmds="PATH=\\\"\\\$PATH:/sbin\\\" ldconfig -n \$libdir" + +# Same as above, but a single script fragment to be evaled but not shown. +finish_eval="" + +# Take the output of nm and produce a listing of raw symbols and C names. +global_symbol_pipe="sed -n -e 's/^.*[ ]\\([ABCDGIRSTW][ABCDGIRSTW]*\\)[ ][ ]*\\(\\)\\([_A-Za-z][_A-Za-z0-9]*\\)\$/\\1 \\2\\3 \\3/p'" + +# Transform the output of nm in a proper C declaration +global_symbol_to_cdecl="sed -n -e 's/^. .* \\(.*\\)\$/extern int \\1;/p'" + +# Transform the output of nm in a C name address pair +global_symbol_to_c_name_address="sed -n -e 's/^: \\([^ ]*\\) \$/ {\\\"\\1\\\", (lt_ptr) 0},/p' -e 's/^[BCDEGRST] \\([^ ]*\\) \\([^ ]*\\)\$/ {\"\\2\", (lt_ptr) \\&\\2},/p'" + +# This is the shared library runtime path variable. +runpath_var=LD_RUN_PATH + +# This is the shared library path variable. +shlibpath_var=LD_LIBRARY_PATH + +# Is shlibpath searched before the hard-coded library search path? +shlibpath_overrides_runpath=no + +# How to hardcode a shared library path into an executable. +hardcode_action=immediate + +# Whether we should hardcode library paths into libraries. +hardcode_into_libs=yes + +# Flag to hardcode $libdir into a binary during linking. +# This must work even if $libdir does not exist. +hardcode_libdir_flag_spec="\${wl}--rpath \${wl}\$libdir" + +# If ld is used when linking, flag to hardcode $libdir into +# a binary during linking. This must work even if $libdir does +# not exist. +hardcode_libdir_flag_spec_ld="" + +# Whether we need a single -rpath flag with a separated argument. +hardcode_libdir_separator="" + +# Set to yes if using DIR/libNAME during linking hardcodes DIR into the +# resulting binary. +hardcode_direct=no + +# Set to yes if using the -LDIR flag during linking hardcodes DIR into the +# resulting binary. +hardcode_minus_L=no + +# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into +# the resulting binary. +hardcode_shlibpath_var= + +# Set to yes if building a shared library automatically hardcodes DIR into the library +# and all subsequent libraries and executables linked against it. +hardcode_automatic=no + +# Variables whose values should be saved in libtool wrapper scripts and +# restored at relink time. +variables_saved_for_relink="PATH LD_LIBRARY_PATH LD_RUN_PATH GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" + +# Whether libtool must link a program against all its dependency libraries. +link_all_deplibs=unknown + +# Compile-time system search path for libraries +sys_lib_search_path_spec=" /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/ /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/ /projects/hnd/tools/linux/hndtools-mipsel-linux-uclibc-4.2.3/lib/gcc/mipsel-linux-uclibc/4.2.3/ /usr/lib/gcc/mipsel-linux-uclibc/4.2.3/ /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/lib/mipsel-linux-uclibc/4.2.3/ /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/lib/ /projects/hnd/tools/linux/hndtools-mipsel-linux-uclibc-4.2.3/lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/lib/mipsel-linux-uclibc/4.2.3/ /projects/hnd/tools/linux/hndtools-mipsel-linux-uclibc-4.2.3/lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/lib/" + +# Run-time system search path for libraries +sys_lib_dlsearch_path_spec="/lib /usr/lib include /etc/ld.so.conf.d/*.conf " + +# Fix the shell variable $srcfile for the compiler. +fix_srcfile_path="" + +# Set to yes if exported symbols are required. +always_export_symbols=no + +# The commands to list exported symbols. +export_symbols_cmds="\$NM \$libobjs \$convenience | \$global_symbol_pipe | \$SED 's/.* //' | sort | uniq > \$export_symbols" + +# The commands to extract the exported symbol list from a shared archive. +extract_expsyms_cmds="" + +# Symbols that should not be listed in the preloaded symbols. +exclude_expsyms="" + +# Symbols that must always be exported. +include_expsyms="" + +# ### END LIBTOOL TAG CONFIG: CXX + diff --git a/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/libusb-config b/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/libusb-config new file mode 100755 index 000000000..b3a76c0a1 --- /dev/null +++ b/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/libusb-config @@ -0,0 +1,79 @@ +#!/bin/sh + +prefix=/usr/local +exec_prefix=${prefix} +exec_prefix_set=no + +usage() +{ + cat <&2 +fi + +while test $# -gt 0; do + case "$1" in + -*=*) optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;; + *) optarg= ;; + esac + + case $1 in + --prefix=*) + prefix=$optarg + if test $exec_prefix_set = no ; then + exec_prefix=$optarg + fi + ;; + --prefix) + echo_prefix=yes + ;; + --exec-prefix=*) + exec_prefix=$optarg + exec_prefix_set=yes + ;; + --exec-prefix) + echo_exec_prefix=yes + ;; + --version) + echo 0.1.12 + exit 0 + ;; + --cflags) + if test "${prefix}/include" != /usr/include ; then + includes="-I${prefix}/include" + fi + echo_cflags=yes + ;; + --libs) + echo_libs=yes + ;; + *) + usage 1 1>&2 + ;; + esac + shift +done + +if test "$echo_prefix" = "yes"; then + echo $prefix +fi +if test "$echo_exec_prefix" = "yes"; then + echo $exec_prefix +fi +if test "$echo_cflags" = "yes"; then + echo $includes +fi +if test "$echo_libs" = "yes"; then + echo -L${exec_prefix}/lib -lusb +fi diff --git a/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/libusb-config.in b/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/libusb-config.in new file mode 100644 index 000000000..12843f800 --- /dev/null +++ b/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/libusb-config.in @@ -0,0 +1,79 @@ +#!/bin/sh + +prefix=@prefix@ +exec_prefix=@exec_prefix@ +exec_prefix_set=no + +usage() +{ + cat <&2 +fi + +while test $# -gt 0; do + case "$1" in + -*=*) optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;; + *) optarg= ;; + esac + + case $1 in + --prefix=*) + prefix=$optarg + if test $exec_prefix_set = no ; then + exec_prefix=$optarg + fi + ;; + --prefix) + echo_prefix=yes + ;; + --exec-prefix=*) + exec_prefix=$optarg + exec_prefix_set=yes + ;; + --exec-prefix) + echo_exec_prefix=yes + ;; + --version) + echo @LIBUSB_VERSION@ + exit 0 + ;; + --cflags) + if test "@includedir@" != /usr/include ; then + includes="-I@includedir@" + fi + echo_cflags=yes + ;; + --libs) + echo_libs=yes + ;; + *) + usage 1 1>&2 + ;; + esac + shift +done + +if test "$echo_prefix" = "yes"; then + echo $prefix +fi +if test "$echo_exec_prefix" = "yes"; then + echo $exec_prefix +fi +if test "$echo_cflags" = "yes"; then + echo $includes +fi +if test "$echo_libs" = "yes"; then + echo -L@libdir@ -lusb @OSLIBS@ +fi diff --git a/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/libusb.pc b/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/libusb.pc new file mode 100644 index 000000000..641149f74 --- /dev/null +++ b/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/libusb.pc @@ -0,0 +1,11 @@ +prefix=/usr/local +exec_prefix=${prefix} +libdir=${exec_prefix}/lib +includedir=${prefix}/include + +Name: libusb +Description: USB access library +Version: 0.1.12 +Libs: -L${libdir} -lusb +Cflags: -I${includedir} + diff --git a/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/libusb.pc.in b/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/libusb.pc.in new file mode 100644 index 000000000..6f434f99a --- /dev/null +++ b/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/libusb.pc.in @@ -0,0 +1,11 @@ +prefix=@prefix@ +exec_prefix=@exec_prefix@ +libdir=@libdir@ +includedir=@includedir@ + +Name: libusb +Description: USB access library +Version: @VERSION@ +Libs: -L${libdir} -lusb +Cflags: -I${includedir} + diff --git a/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/libusb.spec b/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/libusb.spec new file mode 100644 index 000000000..008cd1a24 --- /dev/null +++ b/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/libusb.spec @@ -0,0 +1,65 @@ +# Note that this is NOT a relocatable package +%define ver 0.1.12 +%define RELEASE 1 +%define rel %{?CUSTOM_RELEASE} %{!?CUSTOM_RELEASE:%RELEASE} +%define prefix /usr + +Summary: Application access to USB devices +Name: libusb +Version: %ver +Release: %rel +License: LGPL +Group: Libraries +Source: ftp://ftp.libusb.sourceforge.net/pub/libusb/libusb-%{ver}.tar.gz +BuildRoot: /var/tmp/libusb-%{PACKAGE_VERSION}-root +URL: http://libusb.sourceforge.net + +%description +Provides a library for application access to USB devices. Development +libs and headers are in libusb-devel + +%package devel +Summary: Application USB device access library +Group: System Environment/Libraries + +%description devel +Static libraries and header files for the USB device access library + + +%changelog + +%prep +%setup + +%build +CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{prefix} +make + +%install +rm -rf $RPM_BUILD_ROOT + +make DESTDIR=$RPM_BUILD_ROOT install + +%clean +rm -rf $RPM_BUILD_ROOT + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + +%files +%defattr(-, root, root) + +%doc AUTHORS COPYING LICENSE NEWS README +%{prefix}/lib/libusb-0.1.so.* +%{prefix}/lib/libusbpp-0.1.so.* + +%files devel +%defattr(-, root, root) + +%{prefix}/lib/*.so +%{prefix}/lib/*a +%{prefix}/include/* +%{prefix}/bin/* +%{prefix}/lib/pkgconfig/libusb.pc + diff --git a/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/libusb.spec.in b/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/libusb.spec.in new file mode 100644 index 000000000..f04cf0a48 --- /dev/null +++ b/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/libusb.spec.in @@ -0,0 +1,65 @@ +# Note that this is NOT a relocatable package +%define ver @VERSION@ +%define RELEASE 1 +%define rel %{?CUSTOM_RELEASE} %{!?CUSTOM_RELEASE:%RELEASE} +%define prefix /usr + +Summary: Application access to USB devices +Name: libusb +Version: %ver +Release: %rel +License: LGPL +Group: Libraries +Source: ftp://ftp.libusb.sourceforge.net/pub/libusb/libusb-%{ver}.tar.gz +BuildRoot: /var/tmp/libusb-%{PACKAGE_VERSION}-root +URL: http://libusb.sourceforge.net + +%description +Provides a library for application access to USB devices. Development +libs and headers are in libusb-devel + +%package devel +Summary: Application USB device access library +Group: System Environment/Libraries + +%description devel +Static libraries and header files for the USB device access library + + +%changelog + +%prep +%setup + +%build +CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{prefix} +make + +%install +rm -rf $RPM_BUILD_ROOT + +make DESTDIR=$RPM_BUILD_ROOT install + +%clean +rm -rf $RPM_BUILD_ROOT + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + +%files +%defattr(-, root, root) + +%doc AUTHORS COPYING LICENSE NEWS README +%{prefix}/lib/libusb-0.1.so.* +%{prefix}/lib/libusbpp-0.1.so.* + +%files devel +%defattr(-, root, root) + +%{prefix}/lib/*.so +%{prefix}/lib/*a +%{prefix}/include/* +%{prefix}/bin/* +%{prefix}/lib/pkgconfig/libusb.pc + diff --git a/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/linux.c b/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/linux.c new file mode 100644 index 000000000..501925134 --- /dev/null +++ b/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/linux.c @@ -0,0 +1,733 @@ +/* + * Linux USB support + * + * Copyright (c) 2000-2003 Johannes Erdfelt + * + * This library is covered by the LGPL, read LICENSE for details. + */ + +#include /* getenv, etc */ +#include +#include +#include +#include +#include +#include +#include + +#include "linux.h" +#include "usbi.h" + +static char usb_path[PATH_MAX + 1] = ""; + +static int device_open(struct usb_device *dev) +{ + char filename[PATH_MAX + 1]; + int fd; + + snprintf(filename, sizeof(filename) - 1, "%s/%s/%s", + usb_path, dev->bus->dirname, dev->filename); + + fd = open(filename, O_RDWR); + if (fd < 0) { + fd = open(filename, O_RDONLY); + if (fd < 0) + USB_ERROR_STR(-errno, "failed to open %s: %s", + filename, strerror(errno)); + } + + return fd; +} + +int usb_os_open(usb_dev_handle *dev) +{ + dev->fd = device_open(dev->device); + + return 0; +} + +int usb_os_close(usb_dev_handle *dev) +{ + if (dev->fd < 0) + return 0; + + if (close(dev->fd) == -1) + /* Failing trying to close a file really isn't an error, so return 0 */ + USB_ERROR_STR(0, "tried to close device fd %d: %s", dev->fd, + strerror(errno)); + + return 0; +} + +int usb_set_configuration(usb_dev_handle *dev, int configuration) +{ + int ret; + + ret = ioctl(dev->fd, IOCTL_USB_SETCONFIG, &configuration); + if (ret < 0) + USB_ERROR_STR(-errno, "could not set config %d: %s", configuration, + strerror(errno)); + + dev->config = configuration; + + return 0; +} + +int usb_claim_interface(usb_dev_handle *dev, int interface) +{ + int ret; + + ret = ioctl(dev->fd, IOCTL_USB_CLAIMINTF, &interface); + if (ret < 0) { + if (errno == EBUSY && usb_debug > 0) + fprintf(stderr, "Check that you have permissions to write to %s/%s and, if you don't, that you set up hotplug (http://linux-hotplug.sourceforge.net/) correctly.\n", dev->bus->dirname, dev->device->filename); + + USB_ERROR_STR(-errno, "could not claim interface %d: %s", interface, + strerror(errno)); + } + + dev->interface = interface; + + return 0; +} + +int usb_release_interface(usb_dev_handle *dev, int interface) +{ + int ret; + + ret = ioctl(dev->fd, IOCTL_USB_RELEASEINTF, &interface); + if (ret < 0) + USB_ERROR_STR(-errno, "could not release intf %d: %s", interface, + strerror(errno)); + + dev->interface = -1; + + return 0; +} + +int usb_set_altinterface(usb_dev_handle *dev, int alternate) +{ + int ret; + struct usb_setinterface setintf; + + if (dev->interface < 0) + USB_ERROR(-EINVAL); + + setintf.interface = dev->interface; + setintf.altsetting = alternate; + + ret = ioctl(dev->fd, IOCTL_USB_SETINTF, &setintf); + if (ret < 0) + USB_ERROR_STR(-errno, "could not set alt intf %d/%d: %s", + dev->interface, alternate, strerror(errno)); + + dev->altsetting = alternate; + + return 0; +} + +/* + * Linux usbfs has a limit of one page size for synchronous bulk read/write. + * 4096 is the most portable maximum we can do for now. + * Linux usbfs has a limit of 16KB for the URB interface. We use this now + * to get better performance for USB 2.0 devices. + */ +#define MAX_READ_WRITE (16 * 1024) + +int usb_control_msg(usb_dev_handle *dev, int requesttype, int request, + int value, int index, char *bytes, int size, int timeout) +{ + struct usb_ctrltransfer ctrl; + int ret; + + ctrl.bRequestType = requesttype; + ctrl.bRequest = request; + ctrl.wValue = value; + ctrl.wIndex = index; + ctrl.wLength = size; + + ctrl.data = bytes; + ctrl.timeout = timeout; + + ret = ioctl(dev->fd, IOCTL_USB_CONTROL, &ctrl); + if (ret < 0) + USB_ERROR_STR(-errno, "error sending control message: %s", strerror(errno)); + + return ret; +} + +#define URB_USERCONTEXT_COOKIE ((void *)0x1) + +/* Reading and writing are the same except for the endpoint */ +static int usb_urb_transfer(usb_dev_handle *dev, int ep, int urbtype, + char *bytes, int size, int timeout) +{ + struct usb_urb urb; + int bytesdone = 0, requested; + struct timeval tv, tv_ref, tv_now; + struct usb_urb *context; + int ret, waiting; + + /* + * HACK: The use of urb.usercontext is a hack to get threaded applications + * sort of working again. Threaded support is still not recommended, but + * this should allow applications to work in the common cases. Basically, + * if we get the completion for an URB we're not waiting for, then we update + * the usercontext pointer to 1 for the other threads URB and it will see + * the change after it wakes up from the the timeout. Ugly, but it works. + */ + + /* + * Get actual time, and add the timeout value. The result is the absolute + * time where we have to quit waiting for an message. + */ + gettimeofday(&tv_ref, NULL); + tv_ref.tv_sec = tv_ref.tv_sec + timeout / 1000; + tv_ref.tv_usec = tv_ref.tv_usec + (timeout % 1000) * 1000; + + if (tv_ref.tv_usec > 1000000) { + tv_ref.tv_usec -= 1000000; + tv_ref.tv_sec++; + } + + do { + fd_set writefds; + + requested = size - bytesdone; + if (requested > MAX_READ_WRITE) + requested = MAX_READ_WRITE; + + urb.type = urbtype; + urb.endpoint = ep; + urb.flags = 0; + urb.buffer = bytes + bytesdone; + urb.buffer_length = requested; + urb.signr = 0; + urb.actual_length = 0; + urb.number_of_packets = 0; /* don't do isochronous yet */ + urb.usercontext = NULL; + + ret = ioctl(dev->fd, IOCTL_USB_SUBMITURB, &urb); + if (ret < 0) { + USB_ERROR_STR(-errno, "error submitting URB: %s", strerror(errno)); + return ret; + } + + FD_ZERO(&writefds); + FD_SET(dev->fd, &writefds); + +restart: + waiting = 1; + context = NULL; + while (!urb.usercontext && ((ret = ioctl(dev->fd, IOCTL_USB_REAPURBNDELAY, &context)) == -1) && waiting) { + tv.tv_sec = 0; + tv.tv_usec = 1000; // 1 msec + select(dev->fd + 1, NULL, &writefds, NULL, &tv); //sub second wait + + if (timeout) { + /* compare with actual time, as the select timeout is not that precise */ + gettimeofday(&tv_now, NULL); + + if ((tv_now.tv_sec > tv_ref.tv_sec) || + ((tv_now.tv_sec == tv_ref.tv_sec) && (tv_now.tv_usec >= tv_ref.tv_usec))) + waiting = 0; + } + } + + if (context && context != &urb) { + context->usercontext = URB_USERCONTEXT_COOKIE; + /* We need to restart since we got a successful URB, but not ours */ + goto restart; + } + + /* + * If there was an error, that wasn't EAGAIN (no completion), then + * something happened during the reaping and we should return that + * error now + */ + if (ret < 0 && !urb.usercontext && errno != EAGAIN) + USB_ERROR_STR(-errno, "error reaping URB: %s", strerror(errno)); + + bytesdone += urb.actual_length; + } while ((ret == 0 || urb.usercontext) && bytesdone < size && urb.actual_length == requested); + + /* If the URB didn't complete in success or error, then let's unlink it */ + if (ret < 0 && !urb.usercontext) { + int rc; + + if (!waiting) + rc = -ETIMEDOUT; + else + rc = urb.status; + + ret = ioctl(dev->fd, IOCTL_USB_DISCARDURB, &urb); + if (ret < 0 && errno != EINVAL && usb_debug >= 1) + fprintf(stderr, "error discarding URB: %s", strerror(errno)); + + /* + * When the URB is unlinked, it gets moved to the completed list and + * then we need to reap it or else the next time we call this function, + * we'll get the previous completion and exit early + */ + ioctl(dev->fd, IOCTL_USB_REAPURB, &context); + + return rc; + } + + return bytesdone; +} + +int usb_bulk_write(usb_dev_handle *dev, int ep, char *bytes, int size, + int timeout) +{ + /* Ensure the endpoint address is correct */ + return usb_urb_transfer(dev, ep, USB_URB_TYPE_BULK, bytes, size, + timeout); +} + +int usb_bulk_read(usb_dev_handle *dev, int ep, char *bytes, int size, + int timeout) +{ + /* Ensure the endpoint address is correct */ + ep |= USB_ENDPOINT_IN; + return usb_urb_transfer(dev, ep, USB_URB_TYPE_BULK, bytes, size, + timeout); +} + +/* + * FIXME: Packetize large buffers here. 2.4 HCDs (atleast, haven't checked + * 2.5 HCDs yet) don't handle multi-packet Interrupt transfers. So we need + * to lookup the endpoint packet size and packetize appropriately here. + */ +int usb_interrupt_write(usb_dev_handle *dev, int ep, char *bytes, int size, + int timeout) +{ + /* Ensure the endpoint address is correct */ + return usb_urb_transfer(dev, ep, USB_URB_TYPE_INTERRUPT, bytes, size, + timeout); +} + +int usb_interrupt_read(usb_dev_handle *dev, int ep, char *bytes, int size, + int timeout) +{ + /* Ensure the endpoint address is correct */ + ep |= USB_ENDPOINT_IN; + return usb_urb_transfer(dev, ep, USB_URB_TYPE_INTERRUPT, bytes, size, + timeout); +} + +int usb_os_find_busses(struct usb_bus **busses) +{ + struct usb_bus *fbus = NULL; + DIR *dir; + struct dirent *entry; + + dir = opendir(usb_path); + if (!dir) + USB_ERROR_STR(-errno, "couldn't opendir(%s): %s", usb_path, + strerror(errno)); + + while ((entry = readdir(dir)) != NULL) { + struct usb_bus *bus; + + /* Skip anything starting with a . */ + if (entry->d_name[0] == '.') + continue; + + if (!strchr("0123456789", entry->d_name[strlen(entry->d_name) - 1])) { + if (usb_debug >= 2) + fprintf(stderr, "usb_os_find_busses: Skipping non bus directory %s\n", + entry->d_name); + continue; + } + + bus = malloc(sizeof(*bus)); + if (!bus) + USB_ERROR(-ENOMEM); + + memset((void *)bus, 0, sizeof(*bus)); + + strncpy(bus->dirname, entry->d_name, sizeof(bus->dirname) - 1); + bus->dirname[sizeof(bus->dirname) - 1] = 0; + + LIST_ADD(fbus, bus); + + if (usb_debug >= 2) + fprintf(stderr, "usb_os_find_busses: Found %s\n", bus->dirname); + } + + closedir(dir); + + *busses = fbus; + + return 0; +} + +int usb_os_find_devices(struct usb_bus *bus, struct usb_device **devices) +{ + struct usb_device *fdev = NULL; + DIR *dir; + struct dirent *entry; + char dirpath[PATH_MAX + 1]; + + snprintf(dirpath, PATH_MAX, "%s/%s", usb_path, bus->dirname); + + dir = opendir(dirpath); + if (!dir) + USB_ERROR_STR(-errno, "couldn't opendir(%s): %s", dirpath, + strerror(errno)); + + while ((entry = readdir(dir)) != NULL) { + unsigned char device_desc[DEVICE_DESC_LENGTH]; + char filename[PATH_MAX + 1]; + struct usb_device *dev; + struct usb_connectinfo connectinfo; + int i, fd, ret; + + /* Skip anything starting with a . */ + if (entry->d_name[0] == '.') + continue; + + dev = malloc(sizeof(*dev)); + if (!dev) + USB_ERROR(-ENOMEM); + + memset((void *)dev, 0, sizeof(*dev)); + + dev->bus = bus; + + strncpy(dev->filename, entry->d_name, sizeof(dev->filename) - 1); + dev->filename[sizeof(dev->filename) - 1] = 0; + + snprintf(filename, sizeof(filename) - 1, "%s/%s", dirpath, entry->d_name); + fd = open(filename, O_RDWR); + if (fd < 0) { + fd = open(filename, O_RDONLY); + if (fd < 0) { + if (usb_debug >= 2) + fprintf(stderr, "usb_os_find_devices: Couldn't open %s\n", + filename); + + free(dev); + continue; + } + } + + /* Get the device number */ + ret = ioctl(fd, IOCTL_USB_CONNECTINFO, &connectinfo); + if (ret < 0) { + if (usb_debug) + fprintf(stderr, "usb_os_find_devices: couldn't get connect info\n"); + } else + dev->devnum = connectinfo.devnum; + + ret = read(fd, (void *)device_desc, DEVICE_DESC_LENGTH); + if (ret < 0) { + if (usb_debug) + fprintf(stderr, "usb_os_find_devices: Couldn't read descriptor\n"); + + free(dev); + + goto err; + } + + /* + * Linux kernel converts the words in this descriptor to CPU endian, so + * we use the undocumented W character for usb_parse_descriptor() that + * doesn't convert endianess when parsing the descriptor + */ + usb_parse_descriptor(device_desc, "bbWbbbbWWWbbbb", &dev->descriptor); + + LIST_ADD(fdev, dev); + + if (usb_debug >= 2) + fprintf(stderr, "usb_os_find_devices: Found %s on %s\n", + dev->filename, bus->dirname); + + /* Now try to fetch the rest of the descriptors */ + if (dev->descriptor.bNumConfigurations > USB_MAXCONFIG) + /* Silent since we'll try again later */ + goto err; + + if (dev->descriptor.bNumConfigurations < 1) + /* Silent since we'll try again later */ + goto err; + + dev->config = (struct usb_config_descriptor *)malloc(dev->descriptor.bNumConfigurations * sizeof(struct usb_config_descriptor)); + if (!dev->config) + /* Silent since we'll try again later */ + goto err; + + memset(dev->config, 0, dev->descriptor.bNumConfigurations * + sizeof(struct usb_config_descriptor)); + + for (i = 0; i < dev->descriptor.bNumConfigurations; i++) { + unsigned char buffer[8], *bigbuffer; + struct usb_config_descriptor config; + + /* Get the first 8 bytes so we can figure out what the total length is */ + ret = read(fd, (void *)buffer, 8); + if (ret < 8) { + if (usb_debug >= 1) { + if (ret < 0) + fprintf(stderr, "Unable to get descriptor (%d)\n", ret); + else + fprintf(stderr, "Config descriptor too short (expected %d, got %d)\n", 8, ret); + } + + goto err; + } + + usb_parse_descriptor(buffer, "bbw", &config); + + bigbuffer = malloc(config.wTotalLength); + if (!bigbuffer) { + if (usb_debug >= 1) + fprintf(stderr, "Unable to allocate memory for descriptors\n"); + goto err; + } + + /* Read the rest of the config descriptor */ + memcpy(bigbuffer, buffer, 8); + + ret = read(fd, (void *)(bigbuffer + 8), config.wTotalLength - 8); + if (ret < config.wTotalLength - 8) { + if (usb_debug >= 1) { + if (ret < 0) + fprintf(stderr, "Unable to get descriptor (%d)\n", ret); + else + fprintf(stderr, "Config descriptor too short (expected %d, got %d)\n", config.wTotalLength, ret); + } + + free(bigbuffer); + goto err; + } + + ret = usb_parse_configuration(&dev->config[i], bigbuffer); + if (usb_debug >= 2) { + if (ret > 0) + fprintf(stderr, "Descriptor data still left\n"); + else if (ret < 0) + fprintf(stderr, "Unable to parse descriptors\n"); + } + + free(bigbuffer); + } + +err: + close(fd); + } + + closedir(dir); + + *devices = fdev; + + return 0; +} + +int usb_os_determine_children(struct usb_bus *bus) +{ + struct usb_device *dev, *devices[256]; + struct usb_ioctl command; + int ret, i, i1; + + /* Create a list of devices first */ + memset(devices, 0, sizeof(devices)); + for (dev = bus->devices; dev; dev = dev->next) + if (dev->devnum) + devices[dev->devnum] = dev; + + /* Now fetch the children for each device */ + for (dev = bus->devices; dev; dev = dev->next) { + struct usb_hub_portinfo portinfo; + int fd; + + fd = device_open(dev); + if (fd < 0) + continue; + + /* Query the hub driver for the children of this device */ + if (dev->config && dev->config->interface && dev->config->interface->altsetting) + command.ifno = dev->config->interface->altsetting->bInterfaceNumber; + else + command.ifno = 0; + command.ioctl_code = IOCTL_USB_HUB_PORTINFO; + command.data = &portinfo; + ret = ioctl(fd, IOCTL_USB_IOCTL, &command); + if (ret < 0) { + /* errno == ENOSYS means the device probably wasn't a hub */ + if (errno != ENOSYS && usb_debug > 1) + fprintf(stderr, "error obtaining child information: %s\n", + strerror(errno)); + + close(fd); + continue; + } + + dev->num_children = 0; + for (i = 0; i < portinfo.numports; i++) + if (portinfo.port[i]) + dev->num_children++; + + /* Free any old children first */ + free(dev->children); + + dev->children = malloc(sizeof(struct usb_device *) * dev->num_children); + if (!dev->children) { + if (usb_debug > 1) + fprintf(stderr, "error allocating %zu bytes memory for dev->children\n", + sizeof(struct usb_device *) * dev->num_children); + + dev->num_children = 0; + close(fd); + continue; + } + + for (i = 0, i1 = 0; i < portinfo.numports; i++) { + if (!portinfo.port[i]) + continue; + + dev->children[i1++] = devices[portinfo.port[i]]; + + devices[portinfo.port[i]] = NULL; + } + + close(fd); + } + + /* + * There should be one device left in the devices list and that should be + * the root device + */ + for (i = 0; i < sizeof(devices) / sizeof(devices[0]); i++) { + if (devices[i]) + bus->root_dev = devices[i]; + } + + return 0; +} + +static int check_usb_vfs(const char *dirname) +{ + DIR *dir; + struct dirent *entry; + int found = 0; + + dir = opendir(dirname); + if (!dir) + return 0; + + while ((entry = readdir(dir)) != NULL) { + /* Skip anything starting with a . */ + if (entry->d_name[0] == '.') + continue; + + /* We assume if we find any files that it must be the right place */ + found = 1; + break; + } + + closedir(dir); + + return found; +} + +void usb_os_init(void) +{ + /* Find the path to the virtual filesystem */ + if (getenv("USB_DEVFS_PATH")) { + if (check_usb_vfs(getenv("USB_DEVFS_PATH"))) { + strncpy(usb_path, getenv("USB_DEVFS_PATH"), sizeof(usb_path) - 1); + usb_path[sizeof(usb_path) - 1] = 0; + } else if (usb_debug) + fprintf(stderr, "usb_os_init: couldn't find USB VFS in USB_DEVFS_PATH\n"); + } + + if (!usb_path[0]) { + if (check_usb_vfs("/dev/bus/usb")) { + strncpy(usb_path, "/dev/bus/usb", sizeof(usb_path) - 1); + usb_path[sizeof(usb_path) - 1] = 0; + } else if (check_usb_vfs("/proc/bus/usb")) { + strncpy(usb_path, "/proc/bus/usb", sizeof(usb_path) - 1); + usb_path[sizeof(usb_path) - 1] = 0; + } else + usb_path[0] = 0; /* No path, no USB support */ + } + + if (usb_debug) { + if (usb_path[0]) + fprintf(stderr, "usb_os_init: Found USB VFS at %s\n", usb_path); + else + fprintf(stderr, "usb_os_init: No USB VFS found, is it mounted?\n"); + } +} + +int usb_resetep(usb_dev_handle *dev, unsigned int ep) +{ + int ret; + + ret = ioctl(dev->fd, IOCTL_USB_RESETEP, &ep); + if (ret) + USB_ERROR_STR(-errno, "could not reset ep %d: %s", ep, + strerror(errno)); + + return 0; +} + +int usb_clear_halt(usb_dev_handle *dev, unsigned int ep) +{ + int ret; + + ret = ioctl(dev->fd, IOCTL_USB_CLEAR_HALT, &ep); + if (ret) + USB_ERROR_STR(-errno, "could not clear/halt ep %d: %s", ep, + strerror(errno)); + + return 0; +} + +int usb_reset(usb_dev_handle *dev) +{ + int ret; + + ret = ioctl(dev->fd, IOCTL_USB_RESET, NULL); + if (ret) + USB_ERROR_STR(-errno, "could not reset: %s", strerror(errno)); + + return 0; +} + +int usb_get_driver_np(usb_dev_handle *dev, int interface, char *name, + unsigned int namelen) +{ + struct usb_getdriver getdrv; + int ret; + + getdrv.interface = interface; + ret = ioctl(dev->fd, IOCTL_USB_GETDRIVER, &getdrv); + if (ret) + USB_ERROR_STR(-errno, "could not get bound driver: %s", strerror(errno)); + + strncpy(name, getdrv.driver, namelen - 1); + name[namelen - 1] = 0; + + return 0; +} + +int usb_detach_kernel_driver_np(usb_dev_handle *dev, int interface) +{ + struct usb_ioctl command; + int ret; + + command.ifno = interface; + command.ioctl_code = IOCTL_USB_DISCONNECT; + command.data = NULL; + + ret = ioctl(dev->fd, IOCTL_USB_IOCTL, &command); + if (ret) + USB_ERROR_STR(-errno, "could not detach kernel driver from interface %d: %s", + interface, strerror(errno)); + + return 0; +} + diff --git a/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/linux.h b/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/linux.h new file mode 100644 index 000000000..b03776441 --- /dev/null +++ b/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/linux.h @@ -0,0 +1,119 @@ +#ifndef __LINUX_H__ +#define __LINUX_H__ + +#include +#include +#include + +struct usb_ctrltransfer { + /* keep in sync with usbdevice_fs.h:usbdevfs_ctrltransfer */ + u_int8_t bRequestType; + u_int8_t bRequest; + u_int16_t wValue; + u_int16_t wIndex; + u_int16_t wLength; + + u_int32_t timeout; /* in milliseconds */ + + /* pointer to data */ + void *data; +}; + +struct usb_bulktransfer { + /* keep in sync with usbdevice_fs.h:usbdevfs_bulktransfer */ + unsigned int ep; + unsigned int len; + unsigned int timeout; /* in milliseconds */ + + /* pointer to data */ + void *data; +}; + +struct usb_setinterface { + /* keep in sync with usbdevice_fs.h:usbdevfs_setinterface */ + unsigned int interface; + unsigned int altsetting; +}; + +#define USB_MAXDRIVERNAME 255 + +struct usb_getdriver { + unsigned int interface; + char driver[USB_MAXDRIVERNAME + 1]; +}; + +#define USB_URB_DISABLE_SPD 1 +#define USB_URB_ISO_ASAP 2 +#define USB_URB_QUEUE_BULK 0x10 + +#define USB_URB_TYPE_ISO 0 +#define USB_URB_TYPE_INTERRUPT 1 +#define USB_URB_TYPE_CONTROL 2 +#define USB_URB_TYPE_BULK 3 + +struct usb_iso_packet_desc { + unsigned int length; + unsigned int actual_length; + unsigned int status; +}; + +struct usb_urb { + unsigned char type; + unsigned char endpoint; + int status; + unsigned int flags; + void *buffer; + int buffer_length; + int actual_length; + int start_frame; + int number_of_packets; + int error_count; + unsigned int signr; /* signal to be sent on error, -1 if none should be sent */ + void *usercontext; + struct usb_iso_packet_desc iso_frame_desc[0]; +}; + +struct usb_connectinfo { + unsigned int devnum; + unsigned char slow; +}; + +struct usb_ioctl { + int ifno; /* interface 0..N ; negative numbers reserved */ + int ioctl_code; /* MUST encode size + direction of data so the + * macros in give correct values */ + void *data; /* param buffer (in, or out) */ +}; + +struct usb_hub_portinfo { + unsigned char numports; + unsigned char port[127]; /* port to device num mapping */ +}; + +#define IOCTL_USB_CONTROL _IOWR('U', 0, struct usb_ctrltransfer) +#define IOCTL_USB_BULK _IOWR('U', 2, struct usb_bulktransfer) +#define IOCTL_USB_RESETEP _IOR('U', 3, unsigned int) +#define IOCTL_USB_SETINTF _IOR('U', 4, struct usb_setinterface) +#define IOCTL_USB_SETCONFIG _IOR('U', 5, unsigned int) +#define IOCTL_USB_GETDRIVER _IOW('U', 8, struct usb_getdriver) +#define IOCTL_USB_SUBMITURB _IOR('U', 10, struct usb_urb) +#define IOCTL_USB_DISCARDURB _IO('U', 11) +#define IOCTL_USB_REAPURB _IOW('U', 12, void *) +#define IOCTL_USB_REAPURBNDELAY _IOW('U', 13, void *) +#define IOCTL_USB_CLAIMINTF _IOR('U', 15, unsigned int) +#define IOCTL_USB_RELEASEINTF _IOR('U', 16, unsigned int) +#define IOCTL_USB_CONNECTINFO _IOW('U', 17, struct usb_connectinfo) +#define IOCTL_USB_IOCTL _IOWR('U', 18, struct usb_ioctl) +#define IOCTL_USB_HUB_PORTINFO _IOR('U', 19, struct usb_hub_portinfo) +#define IOCTL_USB_RESET _IO('U', 20) +#define IOCTL_USB_CLEAR_HALT _IOR('U', 21, unsigned int) +#define IOCTL_USB_DISCONNECT _IO('U', 22) +#define IOCTL_USB_CONNECT _IO('U', 23) + +/* + * IOCTL_USB_HUB_PORTINFO, IOCTL_USB_DISCONNECT and IOCTL_USB_CONNECT + * all work via IOCTL_USB_IOCTL + */ + +#endif + diff --git a/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/ltmain.sh b/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/ltmain.sh new file mode 100644 index 000000000..23f82e3b7 --- /dev/null +++ b/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/ltmain.sh @@ -0,0 +1,6425 @@ +# ltmain.sh - Provide generalized library-building support services. +# NOTE: Changing this file will not affect anything until you rerun configure. +# +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004 +# Free Software Foundation, Inc. +# Originally by Gordon Matzigkeit , 1996 +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# 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. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +# +# As a special exception to the GNU General Public License, if you +# distribute this file as part of a program that contains a +# configuration script generated by Autoconf, you may include it under +# the same distribution terms that you use for the rest of that program. + +basename="s,^.*/,,g" + +# Work around backward compatibility issue on IRIX 6.5. On IRIX 6.4+, sh +# is ksh but when the shell is invoked as "sh" and the current value of +# the _XPG environment variable is not equal to 1 (one), the special +# positional parameter $0, within a function call, is the name of the +# function. +progpath="$0" + +# RH: define SED for historic ltconfig's generated by Libtool 1.3 +[ -z "$SED" ] && SED=sed + +# The name of this program: +progname=`echo "$progpath" | $SED $basename` +modename="$progname" + +# Global variables: +EXIT_SUCCESS=0 +EXIT_FAILURE=1 + +PROGRAM=ltmain.sh +PACKAGE=libtool +VERSION=1.5.6 +TIMESTAMP=" (1.1220.2.95 2004/04/11 05:50:42)" + + +# Check that we have a working $echo. +if test "X$1" = X--no-reexec; then + # Discard the --no-reexec flag, and continue. + shift +elif test "X$1" = X--fallback-echo; then + # Avoid inline document here, it may be left over + : +elif test "X`($echo '\t') 2>/dev/null`" = 'X\t'; then + # Yippee, $echo works! + : +else + # Restart under the correct shell, and then maybe $echo will work. + exec $SHELL "$progpath" --no-reexec ${1+"$@"} +fi + +if test "X$1" = X--fallback-echo; then + # used as fallback echo + shift + cat <&2 + $echo "Fatal configuration error. See the $PACKAGE docs for more information." 1>&2 + exit $EXIT_FAILURE +fi + +# Global variables. +mode=$default_mode +nonopt= +prev= +prevopt= +run= +show="$echo" +show_help= +execute_dlfiles= +lo2o="s/\\.lo\$/.${objext}/" +o2lo="s/\\.${objext}\$/.lo/" + +##################################### +# Shell function definitions: +# This seems to be the best place for them + +# func_win32_libid arg +# return the library type of file 'arg' +# +# Need a lot of goo to handle *both* DLLs and import libs +# Has to be a shell function in order to 'eat' the argument +# that is supplied when $file_magic_command is called. +func_win32_libid () { + win32_libid_type="unknown" + win32_fileres=`file -L $1 2>/dev/null` + case $win32_fileres in + *ar\ archive\ import\ library*) # definitely import + win32_libid_type="x86 archive import" + ;; + *ar\ archive*) # could be an import, or static + if eval $OBJDUMP -f $1 | $SED -e '10q' 2>/dev/null | \ + $EGREP -e 'file format pe-i386(.*architecture: i386)?' >/dev/null ; then + win32_nmres=`eval $NM -f posix -A $1 | \ + sed -n -e '1,100{/ I /{x;/import/!{s/^/import/;h;p;};x;};}'` + if test "X$win32_nmres" = "Ximport" ; then + win32_libid_type="x86 archive import" + else + win32_libid_type="x86 archive static" + fi + fi + ;; + *DLL*) + win32_libid_type="x86 DLL" + ;; + *executable*) # but shell scripts are "executable" too... + case $win32_fileres in + *MS\ Windows\ PE\ Intel*) + win32_libid_type="x86 DLL" + ;; + esac + ;; + esac + $echo $win32_libid_type +} + + +# func_infer_tag arg +# Infer tagged configuration to use if any are available and +# if one wasn't chosen via the "--tag" command line option. +# Only attempt this if the compiler in the base compile +# command doesn't match the default compiler. +# arg is usually of the form 'gcc ...' +func_infer_tag () { + if test -n "$available_tags" && test -z "$tagname"; then + CC_quoted= + for arg in $CC; do + case $arg in + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") + arg="\"$arg\"" + ;; + esac + CC_quoted="$CC_quoted $arg" + done + case $@ in + # Blanks in the command may have been stripped by the calling shell, + # but not from the CC environment variable when configure was run. + " $CC "* | "$CC "* | " `$echo $CC` "* | "`$echo $CC` "* | " $CC_quoted"* | "$CC_quoted "* | " `$echo $CC_quoted` "* | "`$echo $CC_quoted` "*) ;; + # Blanks at the start of $base_compile will cause this to fail + # if we don't check for them as well. + *) + for z in $available_tags; do + if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $z$" < "$progpath" > /dev/null; then + # Evaluate the configuration. + eval "`${SED} -n -e '/^# ### BEGIN LIBTOOL TAG CONFIG: '$z'$/,/^# ### END LIBTOOL TAG CONFIG: '$z'$/p' < $progpath`" + CC_quoted= + for arg in $CC; do + # Double-quote args containing other shell metacharacters. + case $arg in + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") + arg="\"$arg\"" + ;; + esac + CC_quoted="$CC_quoted $arg" + done + case "$@ " in + " $CC "* | "$CC "* | " `$echo $CC` "* | "`$echo $CC` "* | " $CC_quoted"* | "$CC_quoted "* | " `$echo $CC_quoted` "* | "`$echo $CC_quoted` "*) + # The compiler in the base compile command matches + # the one in the tagged configuration. + # Assume this is the tagged configuration we want. + tagname=$z + break + ;; + esac + fi + done + # If $tagname still isn't set, then no tagged configuration + # was found and let the user know that the "--tag" command + # line option must be used. + if test -z "$tagname"; then + $echo "$modename: unable to infer tagged configuration" + $echo "$modename: specify a tag with \`--tag'" 1>&2 + exit $EXIT_FAILURE +# else +# $echo "$modename: using $tagname tagged configuration" + fi + ;; + esac + fi +} +# End of Shell function definitions +##################################### + +# Darwin sucks +eval std_shrext=\"$shrext_cmds\" + +# Parse our command line options once, thoroughly. +while test "$#" -gt 0 +do + arg="$1" + shift + + case $arg in + -*=*) optarg=`$echo "X$arg" | $Xsed -e 's/[-_a-zA-Z0-9]*=//'` ;; + *) optarg= ;; + esac + + # If the previous option needs an argument, assign it. + if test -n "$prev"; then + case $prev in + execute_dlfiles) + execute_dlfiles="$execute_dlfiles $arg" + ;; + tag) + tagname="$arg" + preserve_args="${preserve_args}=$arg" + + # Check whether tagname contains only valid characters + case $tagname in + *[!-_A-Za-z0-9,/]*) + $echo "$progname: invalid tag name: $tagname" 1>&2 + exit $EXIT_FAILURE + ;; + esac + + case $tagname in + CC) + # Don't test for the "default" C tag, as we know, it's there, but + # not specially marked. + ;; + *) + if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "$progpath" > /dev/null; then + taglist="$taglist $tagname" + # Evaluate the configuration. + eval "`${SED} -n -e '/^# ### BEGIN LIBTOOL TAG CONFIG: '$tagname'$/,/^# ### END LIBTOOL TAG CONFIG: '$tagname'$/p' < $progpath`" + else + $echo "$progname: ignoring unknown tag $tagname" 1>&2 + fi + ;; + esac + ;; + *) + eval "$prev=\$arg" + ;; + esac + + prev= + prevopt= + continue + fi + + # Have we seen a non-optional argument yet? + case $arg in + --help) + show_help=yes + ;; + + --version) + $echo "$PROGRAM (GNU $PACKAGE) $VERSION$TIMESTAMP" + $echo + $echo "Copyright (C) 2003 Free Software Foundation, Inc." + $echo "This is free software; see the source for copying conditions. There is NO" + $echo "warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." + exit $EXIT_SUCCESS + ;; + + --config) + ${SED} -e '1,/^# ### BEGIN LIBTOOL CONFIG/d' -e '/^# ### END LIBTOOL CONFIG/,$d' $progpath + # Now print the configurations for the tags. + for tagname in $taglist; do + ${SED} -n -e "/^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$/,/^# ### END LIBTOOL TAG CONFIG: $tagname$/p" < "$progpath" + done + exit $EXIT_SUCCESS + ;; + + --debug) + $echo "$progname: enabling shell trace mode" + set -x + preserve_args="$preserve_args $arg" + ;; + + --dry-run | -n) + run=: + ;; + + --features) + $echo "host: $host" + if test "$build_libtool_libs" = yes; then + $echo "enable shared libraries" + else + $echo "disable shared libraries" + fi + if test "$build_old_libs" = yes; then + $echo "enable static libraries" + else + $echo "disable static libraries" + fi + exit $EXIT_SUCCESS + ;; + + --finish) mode="finish" ;; + + --mode) prevopt="--mode" prev=mode ;; + --mode=*) mode="$optarg" ;; + + --preserve-dup-deps) duplicate_deps="yes" ;; + + --quiet | --silent) + show=: + preserve_args="$preserve_args $arg" + ;; + + --tag) prevopt="--tag" prev=tag ;; + --tag=*) + set tag "$optarg" ${1+"$@"} + shift + prev=tag + preserve_args="$preserve_args --tag" + ;; + + -dlopen) + prevopt="-dlopen" + prev=execute_dlfiles + ;; + + -*) + $echo "$modename: unrecognized option \`$arg'" 1>&2 + $echo "$help" 1>&2 + exit $EXIT_FAILURE + ;; + + *) + nonopt="$arg" + break + ;; + esac +done + +if test -n "$prevopt"; then + $echo "$modename: option \`$prevopt' requires an argument" 1>&2 + $echo "$help" 1>&2 + exit $EXIT_FAILURE +fi + +# If this variable is set in any of the actions, the command in it +# will be execed at the end. This prevents here-documents from being +# left over by shells. +exec_cmd= + +if test -z "$show_help"; then + + # Infer the operation mode. + if test -z "$mode"; then + $echo "*** Warning: inferring the mode of operation is deprecated." 1>&2 + $echo "*** Future versions of Libtool will require -mode=MODE be specified." 1>&2 + case $nonopt in + *cc | cc* | *++ | gcc* | *-gcc* | g++* | xlc*) + mode=link + for arg + do + case $arg in + -c) + mode=compile + break + ;; + esac + done + ;; + *db | *dbx | *strace | *truss) + mode=execute + ;; + *install*|cp|mv) + mode=install + ;; + *rm) + mode=uninstall + ;; + *) + # If we have no mode, but dlfiles were specified, then do execute mode. + test -n "$execute_dlfiles" && mode=execute + + # Just use the default operation mode. + if test -z "$mode"; then + if test -n "$nonopt"; then + $echo "$modename: warning: cannot infer operation mode from \`$nonopt'" 1>&2 + else + $echo "$modename: warning: cannot infer operation mode without MODE-ARGS" 1>&2 + fi + fi + ;; + esac + fi + + # Only execute mode is allowed to have -dlopen flags. + if test -n "$execute_dlfiles" && test "$mode" != execute; then + $echo "$modename: unrecognized option \`-dlopen'" 1>&2 + $echo "$help" 1>&2 + exit $EXIT_FAILURE + fi + + # Change the help message to a mode-specific one. + generic_help="$help" + help="Try \`$modename --help --mode=$mode' for more information." + + # These modes are in order of execution frequency so that they run quickly. + case $mode in + # libtool compile mode + compile) + modename="$modename: compile" + # Get the compilation command and the source file. + base_compile= + srcfile="$nonopt" # always keep a non-empty value in "srcfile" + suppress_opt=yes + suppress_output= + arg_mode=normal + libobj= + later= + + for arg + do + case "$arg_mode" in + arg ) + # do not "continue". Instead, add this to base_compile + lastarg="$arg" + arg_mode=normal + ;; + + target ) + libobj="$arg" + arg_mode=normal + continue + ;; + + normal ) + # Accept any command-line options. + case $arg in + -o) + if test -n "$libobj" ; then + $echo "$modename: you cannot specify \`-o' more than once" 1>&2 + exit $EXIT_FAILURE + fi + arg_mode=target + continue + ;; + + -static | -prefer-pic | -prefer-non-pic) + later="$later $arg" + continue + ;; + + -no-suppress) + suppress_opt=no + continue + ;; + + -Xcompiler) + arg_mode=arg # the next one goes into the "base_compile" arg list + continue # The current "srcfile" will either be retained or + ;; # replaced later. I would guess that would be a bug. + + -Wc,*) + args=`$echo "X$arg" | $Xsed -e "s/^-Wc,//"` + lastarg= + save_ifs="$IFS"; IFS=',' + for arg in $args; do + IFS="$save_ifs" + + # Double-quote args containing other shell metacharacters. + # Many Bourne shells cannot handle close brackets correctly + # in scan sets, so we specify it separately. + case $arg in + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") + arg="\"$arg\"" + ;; + esac + lastarg="$lastarg $arg" + done + IFS="$save_ifs" + lastarg=`$echo "X$lastarg" | $Xsed -e "s/^ //"` + + # Add the arguments to base_compile. + base_compile="$base_compile $lastarg" + continue + ;; + + * ) + # Accept the current argument as the source file. + # The previous "srcfile" becomes the current argument. + # + lastarg="$srcfile" + srcfile="$arg" + ;; + esac # case $arg + ;; + esac # case $arg_mode + + # Aesthetically quote the previous argument. + lastarg=`$echo "X$lastarg" | $Xsed -e "$sed_quote_subst"` + + case $lastarg in + # Double-quote args containing other shell metacharacters. + # Many Bourne shells cannot handle close brackets correctly + # in scan sets, so we specify it separately. + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") + lastarg="\"$lastarg\"" + ;; + esac + + base_compile="$base_compile $lastarg" + done # for arg + + case $arg_mode in + arg) + $echo "$modename: you must specify an argument for -Xcompile" + exit $EXIT_FAILURE + ;; + target) + $echo "$modename: you must specify a target with \`-o'" 1>&2 + exit $EXIT_FAILURE + ;; + *) + # Get the name of the library object. + [ -z "$libobj" ] && libobj=`$echo "X$srcfile" | $Xsed -e 's%^.*/%%'` + ;; + esac + + # Recognize several different file suffixes. + # If the user specifies -o file.o, it is replaced with file.lo + xform='[cCFSifmso]' + case $libobj in + *.ada) xform=ada ;; + *.adb) xform=adb ;; + *.ads) xform=ads ;; + *.asm) xform=asm ;; + *.c++) xform=c++ ;; + *.cc) xform=cc ;; + *.ii) xform=ii ;; + *.class) xform=class ;; + *.cpp) xform=cpp ;; + *.cxx) xform=cxx ;; + *.f90) xform=f90 ;; + *.for) xform=for ;; + *.java) xform=java ;; + esac + + libobj=`$echo "X$libobj" | $Xsed -e "s/\.$xform$/.lo/"` + + case $libobj in + *.lo) obj=`$echo "X$libobj" | $Xsed -e "$lo2o"` ;; + *) + $echo "$modename: cannot determine name of library object from \`$libobj'" 1>&2 + exit $EXIT_FAILURE + ;; + esac + + func_infer_tag $base_compile + + for arg in $later; do + case $arg in + -static) + build_old_libs=yes + continue + ;; + + -prefer-pic) + pic_mode=yes + continue + ;; + + -prefer-non-pic) + pic_mode=no + continue + ;; + esac + done + + objname=`$echo "X$obj" | $Xsed -e 's%^.*/%%'` + xdir=`$echo "X$obj" | $Xsed -e 's%/[^/]*$%%'` + if test "X$xdir" = "X$obj"; then + xdir= + else + xdir=$xdir/ + fi + lobj=${xdir}$objdir/$objname + + if test -z "$base_compile"; then + $echo "$modename: you must specify a compilation command" 1>&2 + $echo "$help" 1>&2 + exit $EXIT_FAILURE + fi + + # Delete any leftover library objects. + if test "$build_old_libs" = yes; then + removelist="$obj $lobj $libobj ${libobj}T" + else + removelist="$lobj $libobj ${libobj}T" + fi + + $run $rm $removelist + trap "$run $rm $removelist; exit $EXIT_FAILURE" 1 2 15 + + # On Cygwin there's no "real" PIC flag so we must build both object types + case $host_os in + cygwin* | mingw* | pw32* | os2*) + pic_mode=default + ;; + esac + if test "$pic_mode" = no && test "$deplibs_check_method" != pass_all; then + # non-PIC code in shared libraries is not supported + pic_mode=default + fi + + # Calculate the filename of the output object if compiler does + # not support -o with -c + if test "$compiler_c_o" = no; then + output_obj=`$echo "X$srcfile" | $Xsed -e 's%^.*/%%' -e 's%\.[^.]*$%%'`.${objext} + lockfile="$output_obj.lock" + removelist="$removelist $output_obj $lockfile" + trap "$run $rm $removelist; exit $EXIT_FAILURE" 1 2 15 + else + output_obj= + need_locks=no + lockfile= + fi + + # Lock this critical section if it is needed + # We use this script file to make the link, it avoids creating a new file + if test "$need_locks" = yes; then + until $run ln "$progpath" "$lockfile" 2>/dev/null; do + $show "Waiting for $lockfile to be removed" + sleep 2 + done + elif test "$need_locks" = warn; then + if test -f "$lockfile"; then + $echo "\ +*** ERROR, $lockfile exists and contains: +`cat $lockfile 2>/dev/null` + +This indicates that another process is trying to use the same +temporary object file, and libtool could not work around it because +your compiler does not support \`-c' and \`-o' together. If you +repeat this compilation, it may succeed, by chance, but you had better +avoid parallel builds (make -j) in this platform, or get a better +compiler." + + $run $rm $removelist + exit $EXIT_FAILURE + fi + $echo $srcfile > "$lockfile" + fi + + if test -n "$fix_srcfile_path"; then + eval srcfile=\"$fix_srcfile_path\" + fi + + $run $rm "$libobj" "${libobj}T" + + # Create a libtool object file (analogous to a ".la" file), + # but don't create it if we're doing a dry run. + test -z "$run" && cat > ${libobj}T </dev/null`" != "X$srcfile"; then + $echo "\ +*** ERROR, $lockfile contains: +`cat $lockfile 2>/dev/null` + +but it should contain: +$srcfile + +This indicates that another process is trying to use the same +temporary object file, and libtool could not work around it because +your compiler does not support \`-c' and \`-o' together. If you +repeat this compilation, it may succeed, by chance, but you had better +avoid parallel builds (make -j) in this platform, or get a better +compiler." + + $run $rm $removelist + exit $EXIT_FAILURE + fi + + # Just move the object if needed, then go on to compile the next one + if test -n "$output_obj" && test "X$output_obj" != "X$lobj"; then + $show "$mv $output_obj $lobj" + if $run $mv $output_obj $lobj; then : + else + error=$? + $run $rm $removelist + exit $error + fi + fi + + # Append the name of the PIC object to the libtool object file. + test -z "$run" && cat >> ${libobj}T <> ${libobj}T </dev/null`" != "X$srcfile"; then + $echo "\ +*** ERROR, $lockfile contains: +`cat $lockfile 2>/dev/null` + +but it should contain: +$srcfile + +This indicates that another process is trying to use the same +temporary object file, and libtool could not work around it because +your compiler does not support \`-c' and \`-o' together. If you +repeat this compilation, it may succeed, by chance, but you had better +avoid parallel builds (make -j) in this platform, or get a better +compiler." + + $run $rm $removelist + exit $EXIT_FAILURE + fi + + # Just move the object if needed + if test -n "$output_obj" && test "X$output_obj" != "X$obj"; then + $show "$mv $output_obj $obj" + if $run $mv $output_obj $obj; then : + else + error=$? + $run $rm $removelist + exit $error + fi + fi + + # Append the name of the non-PIC object the libtool object file. + # Only append if the libtool object file exists. + test -z "$run" && cat >> ${libobj}T <> ${libobj}T <&2 + fi + if test -n "$link_static_flag"; then + dlopen_self=$dlopen_self_static + fi + else + if test -z "$pic_flag" && test -n "$link_static_flag"; then + dlopen_self=$dlopen_self_static + fi + fi + build_libtool_libs=no + build_old_libs=yes + prefer_static_libs=yes + break + ;; + esac + done + + # See if our shared archives depend on static archives. + test -n "$old_archive_from_new_cmds" && build_old_libs=yes + + # Go through the arguments, transforming them on the way. + while test "$#" -gt 0; do + arg="$1" + shift + case $arg in + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") + qarg=\"`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`\" ### testsuite: skip nested quoting test + ;; + *) qarg=$arg ;; + esac + libtool_args="$libtool_args $qarg" + + # If the previous option needs an argument, assign it. + if test -n "$prev"; then + case $prev in + output) + compile_command="$compile_command @OUTPUT@" + finalize_command="$finalize_command @OUTPUT@" + ;; + esac + + case $prev in + dlfiles|dlprefiles) + if test "$preload" = no; then + # Add the symbol object into the linking commands. + compile_command="$compile_command @SYMFILE@" + finalize_command="$finalize_command @SYMFILE@" + preload=yes + fi + case $arg in + *.la | *.lo) ;; # We handle these cases below. + force) + if test "$dlself" = no; then + dlself=needless + export_dynamic=yes + fi + prev= + continue + ;; + self) + if test "$prev" = dlprefiles; then + dlself=yes + elif test "$prev" = dlfiles && test "$dlopen_self" != yes; then + dlself=yes + else + dlself=needless + export_dynamic=yes + fi + prev= + continue + ;; + *) + if test "$prev" = dlfiles; then + dlfiles="$dlfiles $arg" + else + dlprefiles="$dlprefiles $arg" + fi + prev= + continue + ;; + esac + ;; + expsyms) + export_symbols="$arg" + if test ! -f "$arg"; then + $echo "$modename: symbol file \`$arg' does not exist" + exit $EXIT_FAILURE + fi + prev= + continue + ;; + expsyms_regex) + export_symbols_regex="$arg" + prev= + continue + ;; + inst_prefix) + inst_prefix_dir="$arg" + prev= + continue + ;; + precious_regex) + precious_files_regex="$arg" + prev= + continue + ;; + release) + release="-$arg" + prev= + continue + ;; + objectlist) + if test -f "$arg"; then + save_arg=$arg + moreargs= + for fil in `cat $save_arg` + do +# moreargs="$moreargs $fil" + arg=$fil + # A libtool-controlled object. + + # Check to see that this really is a libtool object. + if (${SED} -e '2q' $arg | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then + pic_object= + non_pic_object= + + # Read the .lo file + # If there is no directory component, then add one. + case $arg in + */* | *\\*) . $arg ;; + *) . ./$arg ;; + esac + + if test -z "$pic_object" || \ + test -z "$non_pic_object" || + test "$pic_object" = none && \ + test "$non_pic_object" = none; then + $echo "$modename: cannot find name of object for \`$arg'" 1>&2 + exit $EXIT_FAILURE + fi + + # Extract subdirectory from the argument. + xdir=`$echo "X$arg" | $Xsed -e 's%/[^/]*$%%'` + if test "X$xdir" = "X$arg"; then + xdir= + else + xdir="$xdir/" + fi + + if test "$pic_object" != none; then + # Prepend the subdirectory the object is found in. + pic_object="$xdir$pic_object" + + if test "$prev" = dlfiles; then + if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; then + dlfiles="$dlfiles $pic_object" + prev= + continue + else + # If libtool objects are unsupported, then we need to preload. + prev=dlprefiles + fi + fi + + # CHECK ME: I think I busted this. -Ossama + if test "$prev" = dlprefiles; then + # Preload the old-style object. + dlprefiles="$dlprefiles $pic_object" + prev= + fi + + # A PIC object. + libobjs="$libobjs $pic_object" + arg="$pic_object" + fi + + # Non-PIC object. + if test "$non_pic_object" != none; then + # Prepend the subdirectory the object is found in. + non_pic_object="$xdir$non_pic_object" + + # A standard non-PIC object + non_pic_objects="$non_pic_objects $non_pic_object" + if test -z "$pic_object" || test "$pic_object" = none ; then + arg="$non_pic_object" + fi + fi + else + # Only an error if not doing a dry-run. + if test -z "$run"; then + $echo "$modename: \`$arg' is not a valid libtool object" 1>&2 + exit $EXIT_FAILURE + else + # Dry-run case. + + # Extract subdirectory from the argument. + xdir=`$echo "X$arg" | $Xsed -e 's%/[^/]*$%%'` + if test "X$xdir" = "X$arg"; then + xdir= + else + xdir="$xdir/" + fi + + pic_object=`$echo "X${xdir}${objdir}/${arg}" | $Xsed -e "$lo2o"` + non_pic_object=`$echo "X${xdir}${arg}" | $Xsed -e "$lo2o"` + libobjs="$libobjs $pic_object" + non_pic_objects="$non_pic_objects $non_pic_object" + fi + fi + done + else + $echo "$modename: link input file \`$save_arg' does not exist" + exit $EXIT_FAILURE + fi + arg=$save_arg + prev= + continue + ;; + rpath | xrpath) + # We need an absolute path. + case $arg in + [\\/]* | [A-Za-z]:[\\/]*) ;; + *) + $echo "$modename: only absolute run-paths are allowed" 1>&2 + exit $EXIT_FAILURE + ;; + esac + if test "$prev" = rpath; then + case "$rpath " in + *" $arg "*) ;; + *) rpath="$rpath $arg" ;; + esac + else + case "$xrpath " in + *" $arg "*) ;; + *) xrpath="$xrpath $arg" ;; + esac + fi + prev= + continue + ;; + xcompiler) + compiler_flags="$compiler_flags $qarg" + prev= + compile_command="$compile_command $qarg" + finalize_command="$finalize_command $qarg" + continue + ;; + xlinker) + linker_flags="$linker_flags $qarg" + compiler_flags="$compiler_flags $wl$qarg" + prev= + compile_command="$compile_command $wl$qarg" + finalize_command="$finalize_command $wl$qarg" + continue + ;; + xcclinker) + linker_flags="$linker_flags $qarg" + compiler_flags="$compiler_flags $qarg" + prev= + compile_command="$compile_command $qarg" + finalize_command="$finalize_command $qarg" + continue + ;; + shrext) + shrext_cmds="$arg" + prev= + continue + ;; + *) + eval "$prev=\"\$arg\"" + prev= + continue + ;; + esac + fi # test -n "$prev" + + prevarg="$arg" + + case $arg in + -all-static) + if test -n "$link_static_flag"; then + compile_command="$compile_command $link_static_flag" + finalize_command="$finalize_command $link_static_flag" + fi + continue + ;; + + -allow-undefined) + # FIXME: remove this flag sometime in the future. + $echo "$modename: \`-allow-undefined' is deprecated because it is the default" 1>&2 + continue + ;; + + -avoid-version) + avoid_version=yes + continue + ;; + + -dlopen) + prev=dlfiles + continue + ;; + + -dlpreopen) + prev=dlprefiles + continue + ;; + + -export-dynamic) + export_dynamic=yes + continue + ;; + + -export-symbols | -export-symbols-regex) + if test -n "$export_symbols" || test -n "$export_symbols_regex"; then + $echo "$modename: more than one -exported-symbols argument is not allowed" + exit $EXIT_FAILURE + fi + if test "X$arg" = "X-export-symbols"; then + prev=expsyms + else + prev=expsyms_regex + fi + continue + ;; + + -inst-prefix-dir) + prev=inst_prefix + continue + ;; + + # The native IRIX linker understands -LANG:*, -LIST:* and -LNO:* + # so, if we see these flags be careful not to treat them like -L + -L[A-Z][A-Z]*:*) + case $with_gcc/$host in + no/*-*-irix* | /*-*-irix*) + compile_command="$compile_command $arg" + finalize_command="$finalize_command $arg" + ;; + esac + continue + ;; + + -L*) + dir=`$echo "X$arg" | $Xsed -e 's/^-L//'` + # We need an absolute path. + case $dir in + [\\/]* | [A-Za-z]:[\\/]*) ;; + *) + absdir=`cd "$dir" && pwd` + if test -z "$absdir"; then + $echo "$modename: cannot determine absolute directory name of \`$dir'" 1>&2 + exit $EXIT_FAILURE + fi + dir="$absdir" + ;; + esac + case "$deplibs " in + *" -L$dir "*) ;; + *) + deplibs="$deplibs -L$dir" + lib_search_path="$lib_search_path $dir" + ;; + esac + case $host in + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*) + case :$dllsearchpath: in + *":$dir:"*) ;; + *) dllsearchpath="$dllsearchpath:$dir";; + esac + ;; + esac + continue + ;; + + -l*) + if test "X$arg" = "X-lc" || test "X$arg" = "X-lm"; then + case $host in + *-*-cygwin* | *-*-pw32* | *-*-beos*) + # These systems don't actually have a C or math library (as such) + continue + ;; + *-*-mingw* | *-*-os2*) + # These systems don't actually have a C library (as such) + test "X$arg" = "X-lc" && continue + ;; + *-*-openbsd* | *-*-freebsd*) + # Do not include libc due to us having libc/libc_r. + test "X$arg" = "X-lc" && continue + ;; + *-*-rhapsody* | *-*-darwin1.[012]) + # Rhapsody C and math libraries are in the System framework + deplibs="$deplibs -framework System" + continue + esac + elif test "X$arg" = "X-lc_r"; then + case $host in + *-*-openbsd* | *-*-freebsd*) + # Do not include libc_r directly, use -pthread flag. + continue + ;; + esac + fi + deplibs="$deplibs $arg" + continue + ;; + + -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe) + deplibs="$deplibs $arg" + continue + ;; + + -module) + module=yes + continue + ;; + + # gcc -m* arguments should be passed to the linker via $compiler_flags + # in order to pass architecture information to the linker + # (e.g. 32 vs 64-bit). This may also be accomplished via -Wl,-mfoo + # but this is not reliable with gcc because gcc may use -mfoo to + # select a different linker, different libraries, etc, while + # -Wl,-mfoo simply passes -mfoo to the linker. + -m*) + # Unknown arguments in both finalize_command and compile_command need + # to be aesthetically quoted because they are evaled later. + arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"` + case $arg in + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") + arg="\"$arg\"" + ;; + esac + compile_command="$compile_command $arg" + finalize_command="$finalize_command $arg" + if test "$with_gcc" = "yes" ; then + compiler_flags="$compiler_flags $arg" + fi + continue + ;; + + -shrext) + prev=shrext + continue + ;; + + -no-fast-install) + fast_install=no + continue + ;; + + -no-install) + case $host in + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*) + # The PATH hackery in wrapper scripts is required on Windows + # in order for the loader to find any dlls it needs. + $echo "$modename: warning: \`-no-install' is ignored for $host" 1>&2 + $echo "$modename: warning: assuming \`-no-fast-install' instead" 1>&2 + fast_install=no + ;; + *) no_install=yes ;; + esac + continue + ;; + + -no-undefined) + allow_undefined=no + continue + ;; + + -objectlist) + prev=objectlist + continue + ;; + + -o) prev=output ;; + + -precious-files-regex) + prev=precious_regex + continue + ;; + + -release) + prev=release + continue + ;; + + -rpath) + prev=rpath + continue + ;; + + -R) + prev=xrpath + continue + ;; + + -R*) + dir=`$echo "X$arg" | $Xsed -e 's/^-R//'` + # We need an absolute path. + case $dir in + [\\/]* | [A-Za-z]:[\\/]*) ;; + *) + $echo "$modename: only absolute run-paths are allowed" 1>&2 + exit $EXIT_FAILURE + ;; + esac + case "$xrpath " in + *" $dir "*) ;; + *) xrpath="$xrpath $dir" ;; + esac + continue + ;; + + -static) + # The effects of -static are defined in a previous loop. + # We used to do the same as -all-static on platforms that + # didn't have a PIC flag, but the assumption that the effects + # would be equivalent was wrong. It would break on at least + # Digital Unix and AIX. + continue + ;; + + -thread-safe) + thread_safe=yes + continue + ;; + + -version-info) + prev=vinfo + continue + ;; + -version-number) + prev=vinfo + vinfo_number=yes + continue + ;; + + -Wc,*) + args=`$echo "X$arg" | $Xsed -e "$sed_quote_subst" -e 's/^-Wc,//'` + arg= + save_ifs="$IFS"; IFS=',' + for flag in $args; do + IFS="$save_ifs" + case $flag in + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") + flag="\"$flag\"" + ;; + esac + arg="$arg $wl$flag" + compiler_flags="$compiler_flags $flag" + done + IFS="$save_ifs" + arg=`$echo "X$arg" | $Xsed -e "s/^ //"` + ;; + + -Wl,*) + args=`$echo "X$arg" | $Xsed -e "$sed_quote_subst" -e 's/^-Wl,//'` + arg= + save_ifs="$IFS"; IFS=',' + for flag in $args; do + IFS="$save_ifs" + case $flag in + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") + flag="\"$flag\"" + ;; + esac + arg="$arg $wl$flag" + compiler_flags="$compiler_flags $wl$flag" + linker_flags="$linker_flags $flag" + done + IFS="$save_ifs" + arg=`$echo "X$arg" | $Xsed -e "s/^ //"` + ;; + + -Xcompiler) + prev=xcompiler + continue + ;; + + -Xlinker) + prev=xlinker + continue + ;; + + -XCClinker) + prev=xcclinker + continue + ;; + + # Some other compiler flag. + -* | +*) + # Unknown arguments in both finalize_command and compile_command need + # to be aesthetically quoted because they are evaled later. + arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"` + case $arg in + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") + arg="\"$arg\"" + ;; + esac + ;; + + *.$objext) + # A standard object. + objs="$objs $arg" + ;; + + *.lo) + # A libtool-controlled object. + + # Check to see that this really is a libtool object. + if (${SED} -e '2q' $arg | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then + pic_object= + non_pic_object= + + # Read the .lo file + # If there is no directory component, then add one. + case $arg in + */* | *\\*) . $arg ;; + *) . ./$arg ;; + esac + + if test -z "$pic_object" || \ + test -z "$non_pic_object" || + test "$pic_object" = none && \ + test "$non_pic_object" = none; then + $echo "$modename: cannot find name of object for \`$arg'" 1>&2 + exit $EXIT_FAILURE + fi + + # Extract subdirectory from the argument. + xdir=`$echo "X$arg" | $Xsed -e 's%/[^/]*$%%'` + if test "X$xdir" = "X$arg"; then + xdir= + else + xdir="$xdir/" + fi + + if test "$pic_object" != none; then + # Prepend the subdirectory the object is found in. + pic_object="$xdir$pic_object" + + if test "$prev" = dlfiles; then + if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; then + dlfiles="$dlfiles $pic_object" + prev= + continue + else + # If libtool objects are unsupported, then we need to preload. + prev=dlprefiles + fi + fi + + # CHECK ME: I think I busted this. -Ossama + if test "$prev" = dlprefiles; then + # Preload the old-style object. + dlprefiles="$dlprefiles $pic_object" + prev= + fi + + # A PIC object. + libobjs="$libobjs $pic_object" + arg="$pic_object" + fi + + # Non-PIC object. + if test "$non_pic_object" != none; then + # Prepend the subdirectory the object is found in. + non_pic_object="$xdir$non_pic_object" + + # A standard non-PIC object + non_pic_objects="$non_pic_objects $non_pic_object" + if test -z "$pic_object" || test "$pic_object" = none ; then + arg="$non_pic_object" + fi + fi + else + # Only an error if not doing a dry-run. + if test -z "$run"; then + $echo "$modename: \`$arg' is not a valid libtool object" 1>&2 + exit $EXIT_FAILURE + else + # Dry-run case. + + # Extract subdirectory from the argument. + xdir=`$echo "X$arg" | $Xsed -e 's%/[^/]*$%%'` + if test "X$xdir" = "X$arg"; then + xdir= + else + xdir="$xdir/" + fi + + pic_object=`$echo "X${xdir}${objdir}/${arg}" | $Xsed -e "$lo2o"` + non_pic_object=`$echo "X${xdir}${arg}" | $Xsed -e "$lo2o"` + libobjs="$libobjs $pic_object" + non_pic_objects="$non_pic_objects $non_pic_object" + fi + fi + ;; + + *.$libext) + # An archive. + deplibs="$deplibs $arg" + old_deplibs="$old_deplibs $arg" + continue + ;; + + *.la) + # A libtool-controlled library. + + if test "$prev" = dlfiles; then + # This library was specified with -dlopen. + dlfiles="$dlfiles $arg" + prev= + elif test "$prev" = dlprefiles; then + # The library was specified with -dlpreopen. + dlprefiles="$dlprefiles $arg" + prev= + else + deplibs="$deplibs $arg" + fi + continue + ;; + + # Some other compiler argument. + *) + # Unknown arguments in both finalize_command and compile_command need + # to be aesthetically quoted because they are evaled later. + arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"` + case $arg in + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") + arg="\"$arg\"" + ;; + esac + ;; + esac # arg + + # Now actually substitute the argument into the commands. + if test -n "$arg"; then + compile_command="$compile_command $arg" + finalize_command="$finalize_command $arg" + fi + done # argument parsing loop + + if test -n "$prev"; then + $echo "$modename: the \`$prevarg' option requires an argument" 1>&2 + $echo "$help" 1>&2 + exit $EXIT_FAILURE + fi + + if test "$export_dynamic" = yes && test -n "$export_dynamic_flag_spec"; then + eval arg=\"$export_dynamic_flag_spec\" + compile_command="$compile_command $arg" + finalize_command="$finalize_command $arg" + fi + + oldlibs= + # calculate the name of the file, without its directory + outputname=`$echo "X$output" | $Xsed -e 's%^.*/%%'` + libobjs_save="$libobjs" + + if test -n "$shlibpath_var"; then + # get the directories listed in $shlibpath_var + eval shlib_search_path=\`\$echo \"X\${$shlibpath_var}\" \| \$Xsed -e \'s/:/ /g\'\` + else + shlib_search_path= + fi + eval sys_lib_search_path=\"$sys_lib_search_path_spec\" + eval sys_lib_dlsearch_path=\"$sys_lib_dlsearch_path_spec\" + + output_objdir=`$echo "X$output" | $Xsed -e 's%/[^/]*$%%'` + if test "X$output_objdir" = "X$output"; then + output_objdir="$objdir" + else + output_objdir="$output_objdir/$objdir" + fi + # Create the object directory. + if test ! -d "$output_objdir"; then + $show "$mkdir $output_objdir" + $run $mkdir $output_objdir + status=$? + if test "$status" -ne 0 && test ! -d "$output_objdir"; then + exit $status + fi + fi + + # Determine the type of output + case $output in + "") + $echo "$modename: you must specify an output file" 1>&2 + $echo "$help" 1>&2 + exit $EXIT_FAILURE + ;; + *.$libext) linkmode=oldlib ;; + *.lo | *.$objext) linkmode=obj ;; + *.la) linkmode=lib ;; + *) linkmode=prog ;; # Anything else should be a program. + esac + + case $host in + *cygwin* | *mingw* | *pw32*) + # don't eliminate duplications in $postdeps and $predeps + duplicate_compiler_generated_deps=yes + ;; + *) + duplicate_compiler_generated_deps=$duplicate_deps + ;; + esac + specialdeplibs= + + libs= + # Find all interdependent deplibs by searching for libraries + # that are linked more than once (e.g. -la -lb -la) + for deplib in $deplibs; do + if test "X$duplicate_deps" = "Xyes" ; then + case "$libs " in + *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;; + esac + fi + libs="$libs $deplib" + done + + if test "$linkmode" = lib; then + libs="$predeps $libs $compiler_lib_search_path $postdeps" + + # Compute libraries that are listed more than once in $predeps + # $postdeps and mark them as special (i.e., whose duplicates are + # not to be eliminated). + pre_post_deps= + if test "X$duplicate_compiler_generated_deps" = "Xyes" ; then + for pre_post_dep in $predeps $postdeps; do + case "$pre_post_deps " in + *" $pre_post_dep "*) specialdeplibs="$specialdeplibs $pre_post_deps" ;; + esac + pre_post_deps="$pre_post_deps $pre_post_dep" + done + fi + pre_post_deps= + fi + + deplibs= + newdependency_libs= + newlib_search_path= + need_relink=no # whether we're linking any uninstalled libtool libraries + notinst_deplibs= # not-installed libtool libraries + notinst_path= # paths that contain not-installed libtool libraries + case $linkmode in + lib) + passes="conv link" + for file in $dlfiles $dlprefiles; do + case $file in + *.la) ;; + *) + $echo "$modename: libraries can \`-dlopen' only libtool libraries: $file" 1>&2 + exit $EXIT_FAILURE + ;; + esac + done + ;; + prog) + compile_deplibs= + finalize_deplibs= + alldeplibs=no + newdlfiles= + newdlprefiles= + passes="conv scan dlopen dlpreopen link" + ;; + *) passes="conv" + ;; + esac + for pass in $passes; do + if test "$linkmode,$pass" = "lib,link" || + test "$linkmode,$pass" = "prog,scan"; then + libs="$deplibs" + deplibs= + fi + if test "$linkmode" = prog; then + case $pass in + dlopen) libs="$dlfiles" ;; + dlpreopen) libs="$dlprefiles" ;; + link) libs="$deplibs %DEPLIBS% $dependency_libs" ;; + esac + fi + if test "$pass" = dlopen; then + # Collect dlpreopened libraries + save_deplibs="$deplibs" + deplibs= + fi + for deplib in $libs; do + lib= + found=no + case $deplib in + -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe) + if test "$linkmode,$pass" = "prog,link"; then + compile_deplibs="$deplib $compile_deplibs" + finalize_deplibs="$deplib $finalize_deplibs" + else + deplibs="$deplib $deplibs" + fi + continue + ;; + -l*) + if test "$linkmode" != lib && test "$linkmode" != prog; then + $echo "$modename: warning: \`-l' is ignored for archives/objects" 1>&2 + continue + fi + if test "$pass" = conv; then + deplibs="$deplib $deplibs" + continue + fi + name=`$echo "X$deplib" | $Xsed -e 's/^-l//'` + for searchdir in $newlib_search_path $lib_search_path $sys_lib_search_path $shlib_search_path; do + for search_ext in .la $std_shrext .so .a; do + # Search the libtool library + lib="$searchdir/lib${name}${search_ext}" + if test -f "$lib"; then + if test "$search_ext" = ".la"; then + found=yes + else + found=no + fi + break 2 + fi + done + done + if test "$found" != yes; then + # deplib doesn't seem to be a libtool library + if test "$linkmode,$pass" = "prog,link"; then + compile_deplibs="$deplib $compile_deplibs" + finalize_deplibs="$deplib $finalize_deplibs" + else + deplibs="$deplib $deplibs" + test "$linkmode" = lib && newdependency_libs="$deplib $newdependency_libs" + fi + continue + else # deplib is a libtool library + # If $allow_libtool_libs_with_static_runtimes && $deplib is a stdlib, + # We need to do some special things here, and not later. + if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then + case " $predeps $postdeps " in + *" $deplib "*) + if (${SED} -e '2q' $lib | + grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then + library_names= + old_library= + case $lib in + */* | *\\*) . $lib ;; + *) . ./$lib ;; + esac + for l in $old_library $library_names; do + ll="$l" + done + if test "X$ll" = "X$old_library" ; then # only static version available + found=no + ladir=`$echo "X$lib" | $Xsed -e 's%/[^/]*$%%'` + test "X$ladir" = "X$lib" && ladir="." + lib=$ladir/$old_library + if test "$linkmode,$pass" = "prog,link"; then + compile_deplibs="$deplib $compile_deplibs" + finalize_deplibs="$deplib $finalize_deplibs" + else + deplibs="$deplib $deplibs" + test "$linkmode" = lib && newdependency_libs="$deplib $newdependency_libs" + fi + continue + fi + fi + ;; + *) ;; + esac + fi + fi + ;; # -l + -L*) + case $linkmode in + lib) + deplibs="$deplib $deplibs" + test "$pass" = conv && continue + newdependency_libs="$deplib $newdependency_libs" + newlib_search_path="$newlib_search_path "`$echo "X$deplib" | $Xsed -e 's/^-L//'` + ;; + prog) + if test "$pass" = conv; then + deplibs="$deplib $deplibs" + continue + fi + if test "$pass" = scan; then + deplibs="$deplib $deplibs" + else + compile_deplibs="$deplib $compile_deplibs" + finalize_deplibs="$deplib $finalize_deplibs" + fi + newlib_search_path="$newlib_search_path "`$echo "X$deplib" | $Xsed -e 's/^-L//'` + ;; + *) + $echo "$modename: warning: \`-L' is ignored for archives/objects" 1>&2 + ;; + esac # linkmode + continue + ;; # -L + -R*) + if test "$pass" = link; then + dir=`$echo "X$deplib" | $Xsed -e 's/^-R//'` + # Make sure the xrpath contains only unique directories. + case "$xrpath " in + *" $dir "*) ;; + *) xrpath="$xrpath $dir" ;; + esac + fi + deplibs="$deplib $deplibs" + continue + ;; + *.la) lib="$deplib" ;; + *.$libext) + if test "$pass" = conv; then + deplibs="$deplib $deplibs" + continue + fi + case $linkmode in + lib) + if test "$deplibs_check_method" != pass_all; then + $echo + $echo "*** Warning: Trying to link with static lib archive $deplib." + $echo "*** I have the capability to make that library automatically link in when" + $echo "*** you link to this library. But I can only do this if you have a" + $echo "*** shared version of the library, which you do not appear to have" + $echo "*** because the file extensions .$libext of this argument makes me believe" + $echo "*** that it is just a static archive that I should not used here." + else + $echo + $echo "*** Warning: Linking the shared library $output against the" + $echo "*** static library $deplib is not portable!" + deplibs="$deplib $deplibs" + fi + continue + ;; + prog) + if test "$pass" != link; then + deplibs="$deplib $deplibs" + else + compile_deplibs="$deplib $compile_deplibs" + finalize_deplibs="$deplib $finalize_deplibs" + fi + continue + ;; + esac # linkmode + ;; # *.$libext + *.lo | *.$objext) + if test "$pass" = conv; then + deplibs="$deplib $deplibs" + elif test "$linkmode" = prog; then + if test "$pass" = dlpreopen || test "$dlopen_support" != yes || test "$build_libtool_libs" = no; then + # If there is no dlopen support or we're linking statically, + # we need to preload. + newdlprefiles="$newdlprefiles $deplib" + compile_deplibs="$deplib $compile_deplibs" + finalize_deplibs="$deplib $finalize_deplibs" + else + newdlfiles="$newdlfiles $deplib" + fi + fi + continue + ;; + %DEPLIBS%) + alldeplibs=yes + continue + ;; + esac # case $deplib + if test "$found" = yes || test -f "$lib"; then : + else + $echo "$modename: cannot find the library \`$lib'" 1>&2 + exit $EXIT_FAILURE + fi + + # Check to see that this really is a libtool archive. + if (${SED} -e '2q' $lib | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then : + else + $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2 + exit $EXIT_FAILURE + fi + + ladir=`$echo "X$lib" | $Xsed -e 's%/[^/]*$%%'` + test "X$ladir" = "X$lib" && ladir="." + + dlname= + dlopen= + dlpreopen= + libdir= + library_names= + old_library= + # If the library was installed with an old release of libtool, + # it will not redefine variables installed, or shouldnotlink + installed=yes + shouldnotlink=no + + # Read the .la file + case $lib in + */* | *\\*) . $lib ;; + *) . ./$lib ;; + esac + + if test "$linkmode,$pass" = "lib,link" || + test "$linkmode,$pass" = "prog,scan" || + { test "$linkmode" != prog && test "$linkmode" != lib; }; then + test -n "$dlopen" && dlfiles="$dlfiles $dlopen" + test -n "$dlpreopen" && dlprefiles="$dlprefiles $dlpreopen" + fi + + if test "$pass" = conv; then + # Only check for convenience libraries + deplibs="$lib $deplibs" + if test -z "$libdir"; then + if test -z "$old_library"; then + $echo "$modename: cannot find name of link library for \`$lib'" 1>&2 + exit $EXIT_FAILURE + fi + # It is a libtool convenience library, so add in its objects. + convenience="$convenience $ladir/$objdir/$old_library" + old_convenience="$old_convenience $ladir/$objdir/$old_library" + tmp_libs= + for deplib in $dependency_libs; do + deplibs="$deplib $deplibs" + if test "X$duplicate_deps" = "Xyes" ; then + case "$tmp_libs " in + *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;; + esac + fi + tmp_libs="$tmp_libs $deplib" + done + elif test "$linkmode" != prog && test "$linkmode" != lib; then + $echo "$modename: \`$lib' is not a convenience library" 1>&2 + exit $EXIT_FAILURE + fi + continue + fi # $pass = conv + + + # Get the name of the library we link against. + linklib= + for l in $old_library $library_names; do + linklib="$l" + done + if test -z "$linklib"; then + $echo "$modename: cannot find name of link library for \`$lib'" 1>&2 + exit $EXIT_FAILURE + fi + + # This library was specified with -dlopen. + if test "$pass" = dlopen; then + if test -z "$libdir"; then + $echo "$modename: cannot -dlopen a convenience library: \`$lib'" 1>&2 + exit $EXIT_FAILURE + fi + if test -z "$dlname" || + test "$dlopen_support" != yes || + test "$build_libtool_libs" = no; then + # If there is no dlname, no dlopen support or we're linking + # statically, we need to preload. We also need to preload any + # dependent libraries so libltdl's deplib preloader doesn't + # bomb out in the load deplibs phase. + dlprefiles="$dlprefiles $lib $dependency_libs" + else + newdlfiles="$newdlfiles $lib" + fi + continue + fi # $pass = dlopen + + # We need an absolute path. + case $ladir in + [\\/]* | [A-Za-z]:[\\/]*) abs_ladir="$ladir" ;; + *) + abs_ladir=`cd "$ladir" && pwd` + if test -z "$abs_ladir"; then + $echo "$modename: warning: cannot determine absolute directory name of \`$ladir'" 1>&2 + $echo "$modename: passing it literally to the linker, although it might fail" 1>&2 + abs_ladir="$ladir" + fi + ;; + esac + laname=`$echo "X$lib" | $Xsed -e 's%^.*/%%'` + + # Find the relevant object directory and library name. + if test "X$installed" = Xyes; then + if test ! -f "$libdir/$linklib" && test -f "$abs_ladir/$linklib"; then + $echo "$modename: warning: library \`$lib' was moved." 1>&2 + dir="$ladir" + absdir="$abs_ladir" + libdir="$abs_ladir" + else + dir="$libdir" + absdir="$libdir" + fi + else + dir="$ladir/$objdir" + absdir="$abs_ladir/$objdir" + # Remove this search path later + notinst_path="$notinst_path $abs_ladir" + fi # $installed = yes + name=`$echo "X$laname" | $Xsed -e 's/\.la$//' -e 's/^lib//'` + + # This library was specified with -dlpreopen. + if test "$pass" = dlpreopen; then + if test -z "$libdir"; then + $echo "$modename: cannot -dlpreopen a convenience library: \`$lib'" 1>&2 + exit $EXIT_FAILURE + fi + # Prefer using a static library (so that no silly _DYNAMIC symbols + # are required to link). + if test -n "$old_library"; then + newdlprefiles="$newdlprefiles $dir/$old_library" + # Otherwise, use the dlname, so that lt_dlopen finds it. + elif test -n "$dlname"; then + newdlprefiles="$newdlprefiles $dir/$dlname" + else + newdlprefiles="$newdlprefiles $dir/$linklib" + fi + fi # $pass = dlpreopen + + if test -z "$libdir"; then + # Link the convenience library + if test "$linkmode" = lib; then + deplibs="$dir/$old_library $deplibs" + elif test "$linkmode,$pass" = "prog,link"; then + compile_deplibs="$dir/$old_library $compile_deplibs" + finalize_deplibs="$dir/$old_library $finalize_deplibs" + else + deplibs="$lib $deplibs" # used for prog,scan pass + fi + continue + fi + + + if test "$linkmode" = prog && test "$pass" != link; then + newlib_search_path="$newlib_search_path $ladir" + deplibs="$lib $deplibs" + + linkalldeplibs=no + if test "$link_all_deplibs" != no || test -z "$library_names" || + test "$build_libtool_libs" = no; then + linkalldeplibs=yes + fi + + tmp_libs= + for deplib in $dependency_libs; do + case $deplib in + -L*) newlib_search_path="$newlib_search_path "`$echo "X$deplib" | $Xsed -e 's/^-L//'`;; ### testsuite: skip nested quoting test + esac + # Need to link against all dependency_libs? + if test "$linkalldeplibs" = yes; then + deplibs="$deplib $deplibs" + else + # Need to hardcode shared library paths + # or/and link against static libraries + newdependency_libs="$deplib $newdependency_libs" + fi + if test "X$duplicate_deps" = "Xyes" ; then + case "$tmp_libs " in + *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;; + esac + fi + tmp_libs="$tmp_libs $deplib" + done # for deplib + continue + fi # $linkmode = prog... + + if test "$linkmode,$pass" = "prog,link"; then + if test -n "$library_names" && + { test "$prefer_static_libs" = no || test -z "$old_library"; }; then + # We need to hardcode the library path + if test -n "$shlibpath_var"; then + # Make sure the rpath contains only unique directories. + case "$temp_rpath " in + *" $dir "*) ;; + *" $absdir "*) ;; + *) temp_rpath="$temp_rpath $dir" ;; + esac + fi + + # Hardcode the library path. + # Skip directories that are in the system default run-time + # search path. + case " $sys_lib_dlsearch_path " in + *" $absdir "*) ;; + *) + case "$compile_rpath " in + *" $absdir "*) ;; + *) compile_rpath="$compile_rpath $absdir" + esac + ;; + esac + case " $sys_lib_dlsearch_path " in + *" $libdir "*) ;; + *) + case "$finalize_rpath " in + *" $libdir "*) ;; + *) finalize_rpath="$finalize_rpath $libdir" + esac + ;; + esac + fi # $linkmode,$pass = prog,link... + + if test "$alldeplibs" = yes && + { test "$deplibs_check_method" = pass_all || + { test "$build_libtool_libs" = yes && + test -n "$library_names"; }; }; then + # We only need to search for static libraries + continue + fi + fi + + link_static=no # Whether the deplib will be linked statically + if test -n "$library_names" && + { test "$prefer_static_libs" = no || test -z "$old_library"; }; then + if test "$installed" = no; then + notinst_deplibs="$notinst_deplibs $lib" + need_relink=yes + fi + # This is a shared library + + # Warn about portability, can't link against -module's on + # some systems (darwin) + if test "$shouldnotlink" = yes && test "$pass" = link ; then + $echo + if test "$linkmode" = prog; then + $echo "*** Warning: Linking the executable $output against the loadable module" + else + $echo "*** Warning: Linking the shared library $output against the loadable module" + fi + $echo "*** $linklib is not portable!" + fi + if test "$linkmode" = lib && + test "$hardcode_into_libs" = yes; then + # Hardcode the library path. + # Skip directories that are in the system default run-time + # search path. + case " $sys_lib_dlsearch_path " in + *" $absdir "*) ;; + *) + case "$compile_rpath " in + *" $absdir "*) ;; + *) compile_rpath="$compile_rpath $absdir" + esac + ;; + esac + case " $sys_lib_dlsearch_path " in + *" $libdir "*) ;; + *) + case "$finalize_rpath " in + *" $libdir "*) ;; + *) finalize_rpath="$finalize_rpath $libdir" + esac + ;; + esac + fi + + if test -n "$old_archive_from_expsyms_cmds"; then + # figure out the soname + set dummy $library_names + realname="$2" + shift; shift + libname=`eval \\$echo \"$libname_spec\"` + # use dlname if we got it. it's perfectly good, no? + if test -n "$dlname"; then + soname="$dlname" + elif test -n "$soname_spec"; then + # bleh windows + case $host in + *cygwin* | mingw*) + major=`expr $current - $age` + versuffix="-$major" + ;; + esac + eval soname=\"$soname_spec\" + else + soname="$realname" + fi + + # Make a new name for the extract_expsyms_cmds to use + soroot="$soname" + soname=`$echo $soroot | ${SED} -e 's/^.*\///'` + newlib="libimp-`$echo $soname | ${SED} 's/^lib//;s/\.dll$//'`.a" + + # If the library has no export list, then create one now + if test -f "$output_objdir/$soname-def"; then : + else + $show "extracting exported symbol list from \`$soname'" + save_ifs="$IFS"; IFS='~' + cmds=$extract_expsyms_cmds + for cmd in $cmds; do + IFS="$save_ifs" + eval cmd=\"$cmd\" + $show "$cmd" + $run eval "$cmd" || exit $? + done + IFS="$save_ifs" + fi + + # Create $newlib + if test -f "$output_objdir/$newlib"; then :; else + $show "generating import library for \`$soname'" + save_ifs="$IFS"; IFS='~' + cmds=$old_archive_from_expsyms_cmds + for cmd in $cmds; do + IFS="$save_ifs" + eval cmd=\"$cmd\" + $show "$cmd" + $run eval "$cmd" || exit $? + done + IFS="$save_ifs" + fi + # make sure the library variables are pointing to the new library + dir=$output_objdir + linklib=$newlib + fi # test -n "$old_archive_from_expsyms_cmds" + + if test "$linkmode" = prog || test "$mode" != relink; then + add_shlibpath= + add_dir= + add= + lib_linked=yes + case $hardcode_action in + immediate | unsupported) + if test "$hardcode_direct" = no; then + add="$dir/$linklib" + case $host in + *-*-sco3.2v5* ) add_dir="-L$dir" ;; + *-*-darwin* ) + # if the lib is a module then we can not link against + # it, someone is ignoring the new warnings I added + if /usr/bin/file -L $add 2> /dev/null | $EGREP "bundle" >/dev/null ; then + $echo "** Warning, lib $linklib is a module, not a shared library" + if test -z "$old_library" ; then + $echo + $echo "** And there doesn't seem to be a static archive available" + $echo "** The link will probably fail, sorry" + else + add="$dir/$old_library" + fi + fi + esac + elif test "$hardcode_minus_L" = no; then + case $host in + *-*-sunos*) add_shlibpath="$dir" ;; + esac + add_dir="-L$dir" + add="-l$name" + elif test "$hardcode_shlibpath_var" = no; then + add_shlibpath="$dir" + add="-l$name" + else + lib_linked=no + fi + ;; + relink) + if test "$hardcode_direct" = yes; then + add="$dir/$linklib" + elif test "$hardcode_minus_L" = yes; then + add_dir="-L$dir" + # Try looking first in the location we're being installed to. + if test -n "$inst_prefix_dir"; then + case "$libdir" in + [\\/]*) + add_dir="$add_dir -L$inst_prefix_dir$libdir" + ;; + esac + fi + add="-l$name" + elif test "$hardcode_shlibpath_var" = yes; then + add_shlibpath="$dir" + add="-l$name" + else + lib_linked=no + fi + ;; + *) lib_linked=no ;; + esac + + if test "$lib_linked" != yes; then + $echo "$modename: configuration error: unsupported hardcode properties" + exit $EXIT_FAILURE + fi + + if test -n "$add_shlibpath"; then + case :$compile_shlibpath: in + *":$add_shlibpath:"*) ;; + *) compile_shlibpath="$compile_shlibpath$add_shlibpath:" ;; + esac + fi + if test "$linkmode" = prog; then + test -n "$add_dir" && compile_deplibs="$add_dir $compile_deplibs" + test -n "$add" && compile_deplibs="$add $compile_deplibs" + else + test -n "$add_dir" && deplibs="$add_dir $deplibs" + test -n "$add" && deplibs="$add $deplibs" + if test "$hardcode_direct" != yes && \ + test "$hardcode_minus_L" != yes && \ + test "$hardcode_shlibpath_var" = yes; then + case :$finalize_shlibpath: in + *":$libdir:"*) ;; + *) finalize_shlibpath="$finalize_shlibpath$libdir:" ;; + esac + fi + fi + fi + + if test "$linkmode" = prog || test "$mode" = relink; then + add_shlibpath= + add_dir= + add= + # Finalize command for both is simple: just hardcode it. + if test "$hardcode_direct" = yes; then + add="$libdir/$linklib" + elif test "$hardcode_minus_L" = yes; then + add_dir="-L$libdir" + add="-l$name" + elif test "$hardcode_shlibpath_var" = yes; then + case :$finalize_shlibpath: in + *":$libdir:"*) ;; + *) finalize_shlibpath="$finalize_shlibpath$libdir:" ;; + esac + add="-l$name" + elif test "$hardcode_automatic" = yes; then + if test -n "$inst_prefix_dir" && + test -f "$inst_prefix_dir$libdir/$linklib" ; then + add="$inst_prefix_dir$libdir/$linklib" + else + add="$libdir/$linklib" + fi + else + # We cannot seem to hardcode it, guess we'll fake it. + add_dir="-L$libdir" + # Try looking first in the location we're being installed to. + if test -n "$inst_prefix_dir"; then + case "$libdir" in + [\\/]*) + add_dir="$add_dir -L$inst_prefix_dir$libdir" + ;; + esac + fi + add="-l$name" + fi + + if test "$linkmode" = prog; then + test -n "$add_dir" && finalize_deplibs="$add_dir $finalize_deplibs" + test -n "$add" && finalize_deplibs="$add $finalize_deplibs" + else + test -n "$add_dir" && deplibs="$add_dir $deplibs" + test -n "$add" && deplibs="$add $deplibs" + fi + fi + elif test "$linkmode" = prog; then + # Here we assume that one of hardcode_direct or hardcode_minus_L + # is not unsupported. This is valid on all known static and + # shared platforms. + if test "$hardcode_direct" != unsupported; then + test -n "$old_library" && linklib="$old_library" + compile_deplibs="$dir/$linklib $compile_deplibs" + finalize_deplibs="$dir/$linklib $finalize_deplibs" + else + compile_deplibs="-l$name -L$dir $compile_deplibs" + finalize_deplibs="-l$name -L$dir $finalize_deplibs" + fi + elif test "$build_libtool_libs" = yes; then + # Not a shared library + if test "$deplibs_check_method" != pass_all; then + # We're trying link a shared library against a static one + # but the system doesn't support it. + + # Just print a warning and add the library to dependency_libs so + # that the program can be linked against the static library. + $echo + $echo "*** Warning: This system can not link to static lib archive $lib." + $echo "*** I have the capability to make that library automatically link in when" + $echo "*** you link to this library. But I can only do this if you have a" + $echo "*** shared version of the library, which you do not appear to have." + if test "$module" = yes; then + $echo "*** But as you try to build a module library, libtool will still create " + $echo "*** a static module, that should work as long as the dlopening application" + $echo "*** is linked with the -dlopen flag to resolve symbols at runtime." + if test -z "$global_symbol_pipe"; then + $echo + $echo "*** However, this would only work if libtool was able to extract symbol" + $echo "*** lists from a program, using \`nm' or equivalent, but libtool could" + $echo "*** not find such a program. So, this module is probably useless." + $echo "*** \`nm' from GNU binutils and a full rebuild may help." + fi + if test "$build_old_libs" = no; then + build_libtool_libs=module + build_old_libs=yes + else + build_libtool_libs=no + fi + fi + else + convenience="$convenience $dir/$old_library" + old_convenience="$old_convenience $dir/$old_library" + deplibs="$dir/$old_library $deplibs" + link_static=yes + fi + fi # link shared/static library? + + if test "$linkmode" = lib; then + if test -n "$dependency_libs" && + { test "$hardcode_into_libs" != yes || + test "$build_old_libs" = yes || + test "$link_static" = yes; }; then + # Extract -R from dependency_libs + temp_deplibs= + for libdir in $dependency_libs; do + case $libdir in + -R*) temp_xrpath=`$echo "X$libdir" | $Xsed -e 's/^-R//'` + case " $xrpath " in + *" $temp_xrpath "*) ;; + *) xrpath="$xrpath $temp_xrpath";; + esac;; + *) temp_deplibs="$temp_deplibs $libdir";; + esac + done + dependency_libs="$temp_deplibs" + fi + + newlib_search_path="$newlib_search_path $absdir" + # Link against this library + test "$link_static" = no && newdependency_libs="$abs_ladir/$laname $newdependency_libs" + # ... and its dependency_libs + tmp_libs= + for deplib in $dependency_libs; do + newdependency_libs="$deplib $newdependency_libs" + if test "X$duplicate_deps" = "Xyes" ; then + case "$tmp_libs " in + *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;; + esac + fi + tmp_libs="$tmp_libs $deplib" + done + + if test "$link_all_deplibs" != no; then + # Add the search paths of all dependency libraries + for deplib in $dependency_libs; do + case $deplib in + -L*) path="$deplib" ;; + *.la) + dir=`$echo "X$deplib" | $Xsed -e 's%/[^/]*$%%'` + test "X$dir" = "X$deplib" && dir="." + # We need an absolute path. + case $dir in + [\\/]* | [A-Za-z]:[\\/]*) absdir="$dir" ;; + *) + absdir=`cd "$dir" && pwd` + if test -z "$absdir"; then + $echo "$modename: warning: cannot determine absolute directory name of \`$dir'" 1>&2 + absdir="$dir" + fi + ;; + esac + if grep "^installed=no" $deplib > /dev/null; then + path="$absdir/$objdir" + else + eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib` + if test -z "$libdir"; then + $echo "$modename: \`$deplib' is not a valid libtool archive" 1>&2 + exit $EXIT_FAILURE + fi + if test "$absdir" != "$libdir"; then + $echo "$modename: warning: \`$deplib' seems to be moved" 1>&2 + fi + path="$absdir" + fi + depdepl= + case $host in + *-*-darwin*) + # we do not want to link against static libs, + # but need to link against shared + eval deplibrary_names=`${SED} -n -e 's/^library_names=\(.*\)$/\1/p' $deplib` + if test -n "$deplibrary_names" ; then + for tmp in $deplibrary_names ; do + depdepl=$tmp + done + if test -f "$path/$depdepl" ; then + depdepl="$path/$depdepl" + fi + # do not add paths which are already there + case " $newlib_search_path " in + *" $path "*) ;; + *) newlib_search_path="$newlib_search_path $path";; + esac + fi + path="" + ;; + *) + path="-L$path" + ;; + esac + ;; + -l*) + case $host in + *-*-darwin*) + # Again, we only want to link against shared libraries + eval tmp_libs=`$echo "X$deplib" | $Xsed -e "s,^\-l,,"` + for tmp in $newlib_search_path ; do + if test -f "$tmp/lib$tmp_libs.dylib" ; then + eval depdepl="$tmp/lib$tmp_libs.dylib" + break + fi + done + path="" + ;; + *) continue ;; + esac + ;; + *) continue ;; + esac + case " $deplibs " in + *" $depdepl "*) ;; + *) deplibs="$depdepl $deplibs" ;; + esac + case " $deplibs " in + *" $path "*) ;; + *) deplibs="$deplibs $path" ;; + esac + done + fi # link_all_deplibs != no + fi # linkmode = lib + done # for deplib in $libs + dependency_libs="$newdependency_libs" + if test "$pass" = dlpreopen; then + # Link the dlpreopened libraries before other libraries + for deplib in $save_deplibs; do + deplibs="$deplib $deplibs" + done + fi + if test "$pass" != dlopen; then + if test "$pass" != conv; then + # Make sure lib_search_path contains only unique directories. + lib_search_path= + for dir in $newlib_search_path; do + case "$lib_search_path " in + *" $dir "*) ;; + *) lib_search_path="$lib_search_path $dir" ;; + esac + done + newlib_search_path= + fi + + if test "$linkmode,$pass" != "prog,link"; then + vars="deplibs" + else + vars="compile_deplibs finalize_deplibs" + fi + for var in $vars dependency_libs; do + # Add libraries to $var in reverse order + eval tmp_libs=\"\$$var\" + new_libs= + for deplib in $tmp_libs; do + # FIXME: Pedantically, this is the right thing to do, so + # that some nasty dependency loop isn't accidentally + # broken: + #new_libs="$deplib $new_libs" + # Pragmatically, this seems to cause very few problems in + # practice: + case $deplib in + -L*) new_libs="$deplib $new_libs" ;; + -R*) ;; + *) + # And here is the reason: when a library appears more + # than once as an explicit dependence of a library, or + # is implicitly linked in more than once by the + # compiler, it is considered special, and multiple + # occurrences thereof are not removed. Compare this + # with having the same library being listed as a + # dependency of multiple other libraries: in this case, + # we know (pedantically, we assume) the library does not + # need to be listed more than once, so we keep only the + # last copy. This is not always right, but it is rare + # enough that we require users that really mean to play + # such unportable linking tricks to link the library + # using -Wl,-lname, so that libtool does not consider it + # for duplicate removal. + case " $specialdeplibs " in + *" $deplib "*) new_libs="$deplib $new_libs" ;; + *) + case " $new_libs " in + *" $deplib "*) ;; + *) new_libs="$deplib $new_libs" ;; + esac + ;; + esac + ;; + esac + done + tmp_libs= + for deplib in $new_libs; do + case $deplib in + -L*) + case " $tmp_libs " in + *" $deplib "*) ;; + *) tmp_libs="$tmp_libs $deplib" ;; + esac + ;; + *) tmp_libs="$tmp_libs $deplib" ;; + esac + done + eval $var=\"$tmp_libs\" + done # for var + fi + # Last step: remove runtime libs from dependency_libs + # (they stay in deplibs) + tmp_libs= + for i in $dependency_libs ; do + case " $predeps $postdeps $compiler_lib_search_path " in + *" $i "*) + i="" + ;; + esac + if test -n "$i" ; then + tmp_libs="$tmp_libs $i" + fi + done + dependency_libs=$tmp_libs + done # for pass + if test "$linkmode" = prog; then + dlfiles="$newdlfiles" + dlprefiles="$newdlprefiles" + fi + + case $linkmode in + oldlib) + if test -n "$deplibs"; then + $echo "$modename: warning: \`-l' and \`-L' are ignored for archives" 1>&2 + fi + + if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then + $echo "$modename: warning: \`-dlopen' is ignored for archives" 1>&2 + fi + + if test -n "$rpath"; then + $echo "$modename: warning: \`-rpath' is ignored for archives" 1>&2 + fi + + if test -n "$xrpath"; then + $echo "$modename: warning: \`-R' is ignored for archives" 1>&2 + fi + + if test -n "$vinfo"; then + $echo "$modename: warning: \`-version-info/-version-number' is ignored for archives" 1>&2 + fi + + if test -n "$release"; then + $echo "$modename: warning: \`-release' is ignored for archives" 1>&2 + fi + + if test -n "$export_symbols" || test -n "$export_symbols_regex"; then + $echo "$modename: warning: \`-export-symbols' is ignored for archives" 1>&2 + fi + + # Now set the variables for building old libraries. + build_libtool_libs=no + oldlibs="$output" + objs="$objs$old_deplibs" + ;; + + lib) + # Make sure we only generate libraries of the form `libNAME.la'. + case $outputname in + lib*) + name=`$echo "X$outputname" | $Xsed -e 's/\.la$//' -e 's/^lib//'` + eval shared_ext=\"$shrext_cmds\" + eval libname=\"$libname_spec\" + ;; + *) + if test "$module" = no; then + $echo "$modename: libtool library \`$output' must begin with \`lib'" 1>&2 + $echo "$help" 1>&2 + exit $EXIT_FAILURE + fi + if test "$need_lib_prefix" != no; then + # Add the "lib" prefix for modules if required + name=`$echo "X$outputname" | $Xsed -e 's/\.la$//'` + eval shared_ext=\"$shrext_cmds\" + eval libname=\"$libname_spec\" + else + libname=`$echo "X$outputname" | $Xsed -e 's/\.la$//'` + fi + ;; + esac + + if test -n "$objs"; then + if test "$deplibs_check_method" != pass_all; then + $echo "$modename: cannot build libtool library \`$output' from non-libtool objects on this host:$objs" 2>&1 + exit $EXIT_FAILURE + else + $echo + $echo "*** Warning: Linking the shared library $output against the non-libtool" + $echo "*** objects $objs is not portable!" + libobjs="$libobjs $objs" + fi + fi + + if test "$dlself" != no; then + $echo "$modename: warning: \`-dlopen self' is ignored for libtool libraries" 1>&2 + fi + + set dummy $rpath + if test "$#" -gt 2; then + $echo "$modename: warning: ignoring multiple \`-rpath's for a libtool library" 1>&2 + fi + install_libdir="$2" + + oldlibs= + if test -z "$rpath"; then + if test "$build_libtool_libs" = yes; then + # Building a libtool convenience library. + # Some compilers have problems with a `.al' extension so + # convenience libraries should have the same extension an + # archive normally would. + oldlibs="$output_objdir/$libname.$libext $oldlibs" + build_libtool_libs=convenience + build_old_libs=yes + fi + + if test -n "$vinfo"; then + $echo "$modename: warning: \`-version-info/-version-number' is ignored for convenience libraries" 1>&2 + fi + + if test -n "$release"; then + $echo "$modename: warning: \`-release' is ignored for convenience libraries" 1>&2 + fi + else + + # Parse the version information argument. + save_ifs="$IFS"; IFS=':' + set dummy $vinfo 0 0 0 + IFS="$save_ifs" + + if test -n "$8"; then + $echo "$modename: too many parameters to \`-version-info'" 1>&2 + $echo "$help" 1>&2 + exit $EXIT_FAILURE + fi + + # convert absolute version numbers to libtool ages + # this retains compatibility with .la files and attempts + # to make the code below a bit more comprehensible + + case $vinfo_number in + yes) + number_major="$2" + number_minor="$3" + number_revision="$4" + # + # There are really only two kinds -- those that + # use the current revision as the major version + # and those that subtract age and use age as + # a minor version. But, then there is irix + # which has an extra 1 added just for fun + # + case $version_type in + darwin|linux|osf|windows) + current=`expr $number_major + $number_minor` + age="$number_minor" + revision="$number_revision" + ;; + freebsd-aout|freebsd-elf|sunos) + current="$number_major" + revision="$number_minor" + age="0" + ;; + irix|nonstopux) + current=`expr $number_major + $number_minor - 1` + age="$number_minor" + revision="$number_minor" + ;; + esac + ;; + no) + current="$2" + revision="$3" + age="$4" + ;; + esac + + # Check that each of the things are valid numbers. + case $current in + [0-9]*) ;; + *) + $echo "$modename: CURRENT \`$current' is not a nonnegative integer" 1>&2 + $echo "$modename: \`$vinfo' is not valid version information" 1>&2 + exit $EXIT_FAILURE + ;; + esac + + case $revision in + [0-9]*) ;; + *) + $echo "$modename: REVISION \`$revision' is not a nonnegative integer" 1>&2 + $echo "$modename: \`$vinfo' is not valid version information" 1>&2 + exit $EXIT_FAILURE + ;; + esac + + case $age in + [0-9]*) ;; + *) + $echo "$modename: AGE \`$age' is not a nonnegative integer" 1>&2 + $echo "$modename: \`$vinfo' is not valid version information" 1>&2 + exit $EXIT_FAILURE + ;; + esac + + if test "$age" -gt "$current"; then + $echo "$modename: AGE \`$age' is greater than the current interface number \`$current'" 1>&2 + $echo "$modename: \`$vinfo' is not valid version information" 1>&2 + exit $EXIT_FAILURE + fi + + # Calculate the version variables. + major= + versuffix= + verstring= + case $version_type in + none) ;; + + darwin) + # Like Linux, but with the current version available in + # verstring for coding it into the library header + major=.`expr $current - $age` + versuffix="$major.$age.$revision" + # Darwin ld doesn't like 0 for these options... + minor_current=`expr $current + 1` + verstring="-compatibility_version $minor_current -current_version $minor_current.$revision" + ;; + + freebsd-aout) + major=".$current" + versuffix=".$current.$revision"; + ;; + + freebsd-elf) + major=".$current" + versuffix=".$current"; + ;; + + irix | nonstopux) + major=`expr $current - $age + 1` + + case $version_type in + nonstopux) verstring_prefix=nonstopux ;; + *) verstring_prefix=sgi ;; + esac + verstring="$verstring_prefix$major.$revision" + + # Add in all the interfaces that we are compatible with. + loop=$revision + while test "$loop" -ne 0; do + iface=`expr $revision - $loop` + loop=`expr $loop - 1` + verstring="$verstring_prefix$major.$iface:$verstring" + done + + # Before this point, $major must not contain `.'. + major=.$major + versuffix="$major.$revision" + ;; + + linux) + major=.`expr $current - $age` + versuffix="$major.$age.$revision" + ;; + + osf) + major=.`expr $current - $age` + versuffix=".$current.$age.$revision" + verstring="$current.$age.$revision" + + # Add in all the interfaces that we are compatible with. + loop=$age + while test "$loop" -ne 0; do + iface=`expr $current - $loop` + loop=`expr $loop - 1` + verstring="$verstring:${iface}.0" + done + + # Make executables depend on our current version. + verstring="$verstring:${current}.0" + ;; + + sunos) + major=".$current" + versuffix=".$current.$revision" + ;; + + windows) + # Use '-' rather than '.', since we only want one + # extension on DOS 8.3 filesystems. + major=`expr $current - $age` + versuffix="-$major" + ;; + + *) + $echo "$modename: unknown library version type \`$version_type'" 1>&2 + $echo "Fatal configuration error. See the $PACKAGE docs for more information." 1>&2 + exit $EXIT_FAILURE + ;; + esac + + # Clear the version info if we defaulted, and they specified a release. + if test -z "$vinfo" && test -n "$release"; then + major= + case $version_type in + darwin) + # we can't check for "0.0" in archive_cmds due to quoting + # problems, so we reset it completely + verstring= + ;; + *) + verstring="0.0" + ;; + esac + if test "$need_version" = no; then + versuffix= + else + versuffix=".0.0" + fi + fi + + # Remove version info from name if versioning should be avoided + if test "$avoid_version" = yes && test "$need_version" = no; then + major= + versuffix= + verstring="" + fi + + # Check to see if the archive will have undefined symbols. + if test "$allow_undefined" = yes; then + if test "$allow_undefined_flag" = unsupported; then + $echo "$modename: warning: undefined symbols not allowed in $host shared libraries" 1>&2 + build_libtool_libs=no + build_old_libs=yes + fi + else + # Don't allow undefined symbols. + allow_undefined_flag="$no_undefined_flag" + fi + fi + + if test "$mode" != relink; then + # Remove our outputs, but don't remove object files since they + # may have been created when compiling PIC objects. + removelist= + tempremovelist=`$echo "$output_objdir/*"` + for p in $tempremovelist; do + case $p in + *.$objext) + ;; + $output_objdir/$outputname | $output_objdir/$libname.* | $output_objdir/${libname}${release}.*) + if test "X$precious_files_regex" != "X"; then + if echo $p | $EGREP -e "$precious_files_regex" >/dev/null 2>&1 + then + continue + fi + fi + removelist="$removelist $p" + ;; + *) ;; + esac + done + if test -n "$removelist"; then + $show "${rm}r $removelist" + $run ${rm}r $removelist + fi + fi + + # Now set the variables for building old libraries. + if test "$build_old_libs" = yes && test "$build_libtool_libs" != convenience ; then + oldlibs="$oldlibs $output_objdir/$libname.$libext" + + # Transform .lo files to .o files. + oldobjs="$objs "`$echo "X$libobjs" | $SP2NL | $Xsed -e '/\.'${libext}'$/d' -e "$lo2o" | $NL2SP` + fi + + # Eliminate all temporary directories. + for path in $notinst_path; do + lib_search_path=`$echo "$lib_search_path " | ${SED} -e 's% $path % %g'` + deplibs=`$echo "$deplibs " | ${SED} -e 's% -L$path % %g'` + dependency_libs=`$echo "$dependency_libs " | ${SED} -e 's% -L$path % %g'` + done + + if test -n "$xrpath"; then + # If the user specified any rpath flags, then add them. + temp_xrpath= + for libdir in $xrpath; do + temp_xrpath="$temp_xrpath -R$libdir" + case "$finalize_rpath " in + *" $libdir "*) ;; + *) finalize_rpath="$finalize_rpath $libdir" ;; + esac + done + if test "$hardcode_into_libs" != yes || test "$build_old_libs" = yes; then + dependency_libs="$temp_xrpath $dependency_libs" + fi + fi + + # Make sure dlfiles contains only unique files that won't be dlpreopened + old_dlfiles="$dlfiles" + dlfiles= + for lib in $old_dlfiles; do + case " $dlprefiles $dlfiles " in + *" $lib "*) ;; + *) dlfiles="$dlfiles $lib" ;; + esac + done + + # Make sure dlprefiles contains only unique files + old_dlprefiles="$dlprefiles" + dlprefiles= + for lib in $old_dlprefiles; do + case "$dlprefiles " in + *" $lib "*) ;; + *) dlprefiles="$dlprefiles $lib" ;; + esac + done + + if test "$build_libtool_libs" = yes; then + if test -n "$rpath"; then + case $host in + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-beos*) + # these systems don't actually have a c library (as such)! + ;; + *-*-rhapsody* | *-*-darwin1.[012]) + # Rhapsody C library is in the System framework + deplibs="$deplibs -framework System" + ;; + *-*-netbsd*) + # Don't link with libc until the a.out ld.so is fixed. + ;; + *-*-openbsd* | *-*-freebsd*) + # Do not include libc due to us having libc/libc_r. + test "X$arg" = "X-lc" && continue + ;; + *) + # Add libc to deplibs on all other systems if necessary. + if test "$build_libtool_need_lc" = "yes"; then + deplibs="$deplibs -lc" + fi + ;; + esac + fi + + # Transform deplibs into only deplibs that can be linked in shared. + name_save=$name + libname_save=$libname + release_save=$release + versuffix_save=$versuffix + major_save=$major + # I'm not sure if I'm treating the release correctly. I think + # release should show up in the -l (ie -lgmp5) so we don't want to + # add it in twice. Is that correct? + release="" + versuffix="" + major="" + newdeplibs= + droppeddeps=no + case $deplibs_check_method in + pass_all) + # Don't check for shared/static. Everything works. + # This might be a little naive. We might want to check + # whether the library exists or not. But this is on + # osf3 & osf4 and I'm not really sure... Just + # implementing what was already the behavior. + newdeplibs=$deplibs + ;; + test_compile) + # This code stresses the "libraries are programs" paradigm to its + # limits. Maybe even breaks it. We compile a program, linking it + # against the deplibs as a proxy for the library. Then we can check + # whether they linked in statically or dynamically with ldd. + $rm conftest.c + cat > conftest.c </dev/null` + for potent_lib in $potential_libs; do + # Follow soft links. + if ls -lLd "$potent_lib" 2>/dev/null \ + | grep " -> " >/dev/null; then + continue + fi + # The statement above tries to avoid entering an + # endless loop below, in case of cyclic links. + # We might still enter an endless loop, since a link + # loop can be closed while we follow links, + # but so what? + potlib="$potent_lib" + while test -h "$potlib" 2>/dev/null; do + potliblink=`ls -ld $potlib | ${SED} 's/.* -> //'` + case $potliblink in + [\\/]* | [A-Za-z]:[\\/]*) potlib="$potliblink";; + *) potlib=`$echo "X$potlib" | $Xsed -e 's,[^/]*$,,'`"$potliblink";; + esac + done + if eval $file_magic_cmd \"\$potlib\" 2>/dev/null \ + | ${SED} 10q \ + | $EGREP "$file_magic_regex" > /dev/null; then + newdeplibs="$newdeplibs $a_deplib" + a_deplib="" + break 2 + fi + done + done + fi + if test -n "$a_deplib" ; then + droppeddeps=yes + $echo + $echo "*** Warning: linker path does not have real file for library $a_deplib." + $echo "*** I have the capability to make that library automatically link in when" + $echo "*** you link to this library. But I can only do this if you have a" + $echo "*** shared version of the library, which you do not appear to have" + $echo "*** because I did check the linker path looking for a file starting" + if test -z "$potlib" ; then + $echo "*** with $libname but no candidates were found. (...for file magic test)" + else + $echo "*** with $libname and none of the candidates passed a file format test" + $echo "*** using a file magic. Last file checked: $potlib" + fi + fi + else + # Add a -L argument. + newdeplibs="$newdeplibs $a_deplib" + fi + done # Gone through all deplibs. + ;; + match_pattern*) + set dummy $deplibs_check_method + match_pattern_regex=`expr "$deplibs_check_method" : "$2 \(.*\)"` + for a_deplib in $deplibs; do + name="`expr $a_deplib : '-l\(.*\)'`" + # If $name is empty we are operating on a -L argument. + if test -n "$name" && test "$name" != "0"; then + if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then + case " $predeps $postdeps " in + *" $a_deplib "*) + newdeplibs="$newdeplibs $a_deplib" + a_deplib="" + ;; + esac + fi + if test -n "$a_deplib" ; then + libname=`eval \\$echo \"$libname_spec\"` + for i in $lib_search_path $sys_lib_search_path $shlib_search_path; do + potential_libs=`ls $i/$libname[.-]* 2>/dev/null` + for potent_lib in $potential_libs; do + potlib="$potent_lib" # see symlink-check above in file_magic test + if eval $echo \"$potent_lib\" 2>/dev/null \ + | ${SED} 10q \ + | $EGREP "$match_pattern_regex" > /dev/null; then + newdeplibs="$newdeplibs $a_deplib" + a_deplib="" + break 2 + fi + done + done + fi + if test -n "$a_deplib" ; then + droppeddeps=yes + $echo + $echo "*** Warning: linker path does not have real file for library $a_deplib." + $echo "*** I have the capability to make that library automatically link in when" + $echo "*** you link to this library. But I can only do this if you have a" + $echo "*** shared version of the library, which you do not appear to have" + $echo "*** because I did check the linker path looking for a file starting" + if test -z "$potlib" ; then + $echo "*** with $libname but no candidates were found. (...for regex pattern test)" + else + $echo "*** with $libname and none of the candidates passed a file format test" + $echo "*** using a regex pattern. Last file checked: $potlib" + fi + fi + else + # Add a -L argument. + newdeplibs="$newdeplibs $a_deplib" + fi + done # Gone through all deplibs. + ;; + none | unknown | *) + newdeplibs="" + tmp_deplibs=`$echo "X $deplibs" | $Xsed -e 's/ -lc$//' \ + -e 's/ -[LR][^ ]*//g'` + if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then + for i in $predeps $postdeps ; do + # can't use Xsed below, because $i might contain '/' + tmp_deplibs=`$echo "X $tmp_deplibs" | ${SED} -e "1s,^X,," -e "s,$i,,"` + done + fi + if $echo "X $tmp_deplibs" | $Xsed -e 's/[ ]//g' \ + | grep . >/dev/null; then + $echo + if test "X$deplibs_check_method" = "Xnone"; then + $echo "*** Warning: inter-library dependencies are not supported in this platform." + else + $echo "*** Warning: inter-library dependencies are not known to be supported." + fi + $echo "*** All declared inter-library dependencies are being dropped." + droppeddeps=yes + fi + ;; + esac + versuffix=$versuffix_save + major=$major_save + release=$release_save + libname=$libname_save + name=$name_save + + case $host in + *-*-rhapsody* | *-*-darwin1.[012]) + # On Rhapsody replace the C library is the System framework + newdeplibs=`$echo "X $newdeplibs" | $Xsed -e 's/ -lc / -framework System /'` + ;; + esac + + if test "$droppeddeps" = yes; then + if test "$module" = yes; then + $echo + $echo "*** Warning: libtool could not satisfy all declared inter-library" + $echo "*** dependencies of module $libname. Therefore, libtool will create" + $echo "*** a static module, that should work as long as the dlopening" + $echo "*** application is linked with the -dlopen flag." + if test -z "$global_symbol_pipe"; then + $echo + $echo "*** However, this would only work if libtool was able to extract symbol" + $echo "*** lists from a program, using \`nm' or equivalent, but libtool could" + $echo "*** not find such a program. So, this module is probably useless." + $echo "*** \`nm' from GNU binutils and a full rebuild may help." + fi + if test "$build_old_libs" = no; then + oldlibs="$output_objdir/$libname.$libext" + build_libtool_libs=module + build_old_libs=yes + else + build_libtool_libs=no + fi + else + $echo "*** The inter-library dependencies that have been dropped here will be" + $echo "*** automatically added whenever a program is linked with this library" + $echo "*** or is declared to -dlopen it." + + if test "$allow_undefined" = no; then + $echo + $echo "*** Since this library must not contain undefined symbols," + $echo "*** because either the platform does not support them or" + $echo "*** it was explicitly requested with -no-undefined," + $echo "*** libtool will only create a static version of it." + if test "$build_old_libs" = no; then + oldlibs="$output_objdir/$libname.$libext" + build_libtool_libs=module + build_old_libs=yes + else + build_libtool_libs=no + fi + fi + fi + fi + # Done checking deplibs! + deplibs=$newdeplibs + fi + + # All the library-specific variables (install_libdir is set above). + library_names= + old_library= + dlname= + + # Test again, we may have decided not to build it any more + if test "$build_libtool_libs" = yes; then + if test "$hardcode_into_libs" = yes; then + # Hardcode the library paths + hardcode_libdirs= + dep_rpath= + rpath="$finalize_rpath" + test "$mode" != relink && rpath="$compile_rpath$rpath" + for libdir in $rpath; do + if test -n "$hardcode_libdir_flag_spec"; then + if test -n "$hardcode_libdir_separator"; then + if test -z "$hardcode_libdirs"; then + hardcode_libdirs="$libdir" + else + # Just accumulate the unique libdirs. + case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in + *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*) + ;; + *) + hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir" + ;; + esac + fi + else + eval flag=\"$hardcode_libdir_flag_spec\" + dep_rpath="$dep_rpath $flag" + fi + elif test -n "$runpath_var"; then + case "$perm_rpath " in + *" $libdir "*) ;; + *) perm_rpath="$perm_rpath $libdir" ;; + esac + fi + done + # Substitute the hardcoded libdirs into the rpath. + if test -n "$hardcode_libdir_separator" && + test -n "$hardcode_libdirs"; then + libdir="$hardcode_libdirs" + if test -n "$hardcode_libdir_flag_spec_ld"; then + eval dep_rpath=\"$hardcode_libdir_flag_spec_ld\" + else + eval dep_rpath=\"$hardcode_libdir_flag_spec\" + fi + fi + if test -n "$runpath_var" && test -n "$perm_rpath"; then + # We should set the runpath_var. + rpath= + for dir in $perm_rpath; do + rpath="$rpath$dir:" + done + eval "$runpath_var='$rpath\$$runpath_var'; export $runpath_var" + fi + test -n "$dep_rpath" && deplibs="$dep_rpath $deplibs" + fi + + shlibpath="$finalize_shlibpath" + test "$mode" != relink && shlibpath="$compile_shlibpath$shlibpath" + if test -n "$shlibpath"; then + eval "$shlibpath_var='$shlibpath\$$shlibpath_var'; export $shlibpath_var" + fi + + # Get the real and link names of the library. + eval shared_ext=\"$shrext_cmds\" + eval library_names=\"$library_names_spec\" + set dummy $library_names + realname="$2" + shift; shift + + if test -n "$soname_spec"; then + eval soname=\"$soname_spec\" + else + soname="$realname" + fi + if test -z "$dlname"; then + dlname=$soname + fi + + lib="$output_objdir/$realname" + for link + do + linknames="$linknames $link" + done + + # Use standard objects if they are pic + test -z "$pic_flag" && libobjs=`$echo "X$libobjs" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP` + + # Prepare the list of exported symbols + if test -z "$export_symbols"; then + if test "$always_export_symbols" = yes || test -n "$export_symbols_regex"; then + $show "generating symbol list for \`$libname.la'" + export_symbols="$output_objdir/$libname.exp" + $run $rm $export_symbols + cmds=$export_symbols_cmds + save_ifs="$IFS"; IFS='~' + for cmd in $cmds; do + IFS="$save_ifs" + eval cmd=\"$cmd\" + if len=`expr "X$cmd" : ".*"` && + test "$len" -le "$max_cmd_len" || test "$max_cmd_len" -le -1; then + $show "$cmd" + $run eval "$cmd" || exit $? + skipped_export=false + else + # The command line is too long to execute in one step. + $show "using reloadable object file for export list..." + skipped_export=: + fi + done + IFS="$save_ifs" + if test -n "$export_symbols_regex"; then + $show "$EGREP -e \"$export_symbols_regex\" \"$export_symbols\" > \"${export_symbols}T\"" + $run eval '$EGREP -e "$export_symbols_regex" "$export_symbols" > "${export_symbols}T"' + $show "$mv \"${export_symbols}T\" \"$export_symbols\"" + $run eval '$mv "${export_symbols}T" "$export_symbols"' + fi + fi + fi + + if test -n "$export_symbols" && test -n "$include_expsyms"; then + $run eval '$echo "X$include_expsyms" | $SP2NL >> "$export_symbols"' + fi + + tmp_deplibs= + for test_deplib in $deplibs; do + case " $convenience " in + *" $test_deplib "*) ;; + *) + tmp_deplibs="$tmp_deplibs $test_deplib" + ;; + esac + done + deplibs="$tmp_deplibs" + + if test -n "$convenience"; then + if test -n "$whole_archive_flag_spec"; then + save_libobjs=$libobjs + eval libobjs=\"\$libobjs $whole_archive_flag_spec\" + else + gentop="$output_objdir/${outputname}x" + $show "${rm}r $gentop" + $run ${rm}r "$gentop" + $show "$mkdir $gentop" + $run $mkdir "$gentop" + status=$? + if test "$status" -ne 0 && test ! -d "$gentop"; then + exit $status + fi + generated="$generated $gentop" + + for xlib in $convenience; do + # Extract the objects. + case $xlib in + [\\/]* | [A-Za-z]:[\\/]*) xabs="$xlib" ;; + *) xabs=`pwd`"/$xlib" ;; + esac + xlib=`$echo "X$xlib" | $Xsed -e 's%^.*/%%'` + xdir="$gentop/$xlib" + + $show "${rm}r $xdir" + $run ${rm}r "$xdir" + $show "$mkdir $xdir" + $run $mkdir "$xdir" + status=$? + if test "$status" -ne 0 && test ! -d "$xdir"; then + exit $status + fi + # We will extract separately just the conflicting names and we will no + # longer touch any unique names. It is faster to leave these extract + # automatically by $AR in one run. + $show "(cd $xdir && $AR x $xabs)" + $run eval "(cd \$xdir && $AR x \$xabs)" || exit $? + if ($AR t "$xabs" | sort | sort -uc >/dev/null 2>&1); then + : + else + $echo "$modename: warning: object name conflicts; renaming object files" 1>&2 + $echo "$modename: warning: to ensure that they will not overwrite" 1>&2 + $AR t "$xabs" | sort | uniq -cd | while read -r count name + do + i=1 + while test "$i" -le "$count" + do + # Put our $i before any first dot (extension) + # Never overwrite any file + name_to="$name" + while test "X$name_to" = "X$name" || test -f "$xdir/$name_to" + do + name_to=`$echo "X$name_to" | $Xsed -e "s/\([^.]*\)/\1-$i/"` + done + $show "(cd $xdir && $AR xN $i $xabs '$name' && $mv '$name' '$name_to')" + $run eval "(cd \$xdir && $AR xN $i \$xabs '$name' && $mv '$name' '$name_to')" || exit $? + i=`expr $i + 1` + done + done + fi + + libobjs="$libobjs "`find $xdir -name \*.$objext -print -o -name \*.lo -print | $NL2SP` + done + fi + fi + + if test "$thread_safe" = yes && test -n "$thread_safe_flag_spec"; then + eval flag=\"$thread_safe_flag_spec\" + linker_flags="$linker_flags $flag" + fi + + # Make a backup of the uninstalled library when relinking + if test "$mode" = relink; then + $run eval '(cd $output_objdir && $rm ${realname}U && $mv $realname ${realname}U)' || exit $? + fi + + # Do each of the archive commands. + if test "$module" = yes && test -n "$module_cmds" ; then + if test -n "$export_symbols" && test -n "$module_expsym_cmds"; then + eval test_cmds=\"$module_expsym_cmds\" + cmds=$module_expsym_cmds + else + eval test_cmds=\"$module_cmds\" + cmds=$module_cmds + fi + else + if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then + eval test_cmds=\"$archive_expsym_cmds\" + cmds=$archive_expsym_cmds + else + eval test_cmds=\"$archive_cmds\" + cmds=$archive_cmds + fi + fi + + if test "X$skipped_export" != "X:" && len=`expr "X$test_cmds" : ".*"` && + test "$len" -le "$max_cmd_len" || test "$max_cmd_len" -le -1; then + : + else + # The command line is too long to link in one step, link piecewise. + $echo "creating reloadable object files..." + + # Save the value of $output and $libobjs because we want to + # use them later. If we have whole_archive_flag_spec, we + # want to use save_libobjs as it was before + # whole_archive_flag_spec was expanded, because we can't + # assume the linker understands whole_archive_flag_spec. + # This may have to be revisited, in case too many + # convenience libraries get linked in and end up exceeding + # the spec. + if test -z "$convenience" || test -z "$whole_archive_flag_spec"; then + save_libobjs=$libobjs + fi + save_output=$output + + # Clear the reloadable object creation command queue and + # initialize k to one. + test_cmds= + concat_cmds= + objlist= + delfiles= + last_robj= + k=1 + output=$output_objdir/$save_output-${k}.$objext + # Loop over the list of objects to be linked. + for obj in $save_libobjs + do + eval test_cmds=\"$reload_cmds $objlist $last_robj\" + if test "X$objlist" = X || + { len=`expr "X$test_cmds" : ".*"` && + test "$len" -le "$max_cmd_len"; }; then + objlist="$objlist $obj" + else + # The command $test_cmds is almost too long, add a + # command to the queue. + if test "$k" -eq 1 ; then + # The first file doesn't have a previous command to add. + eval concat_cmds=\"$reload_cmds $objlist $last_robj\" + else + # All subsequent reloadable object files will link in + # the last one created. + eval concat_cmds=\"\$concat_cmds~$reload_cmds $objlist $last_robj\" + fi + last_robj=$output_objdir/$save_output-${k}.$objext + k=`expr $k + 1` + output=$output_objdir/$save_output-${k}.$objext + objlist=$obj + len=1 + fi + done + # Handle the remaining objects by creating one last + # reloadable object file. All subsequent reloadable object + # files will link in the last one created. + test -z "$concat_cmds" || concat_cmds=$concat_cmds~ + eval concat_cmds=\"\${concat_cmds}$reload_cmds $objlist $last_robj\" + + if ${skipped_export-false}; then + $show "generating symbol list for \`$libname.la'" + export_symbols="$output_objdir/$libname.exp" + $run $rm $export_symbols + libobjs=$output + # Append the command to create the export file. + eval concat_cmds=\"\$concat_cmds~$export_symbols_cmds\" + fi + + # Set up a command to remove the reloadale object files + # after they are used. + i=0 + while test "$i" -lt "$k" + do + i=`expr $i + 1` + delfiles="$delfiles $output_objdir/$save_output-${i}.$objext" + done + + $echo "creating a temporary reloadable object file: $output" + + # Loop through the commands generated above and execute them. + save_ifs="$IFS"; IFS='~' + for cmd in $concat_cmds; do + IFS="$save_ifs" + $show "$cmd" + $run eval "$cmd" || exit $? + done + IFS="$save_ifs" + + libobjs=$output + # Restore the value of output. + output=$save_output + + if test -n "$convenience" && test -n "$whole_archive_flag_spec"; then + eval libobjs=\"\$libobjs $whole_archive_flag_spec\" + fi + # Expand the library linking commands again to reset the + # value of $libobjs for piecewise linking. + + # Do each of the archive commands. + if test "$module" = yes && test -n "$module_cmds" ; then + if test -n "$export_symbols" && test -n "$module_expsym_cmds"; then + cmds=$module_expsym_cmds + else + cmds=$module_cmds + fi + else + if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then + cmds=$archive_expsym_cmds + else + cmds=$archive_cmds + fi + fi + + # Append the command to remove the reloadable object files + # to the just-reset $cmds. + eval cmds=\"\$cmds~\$rm $delfiles\" + fi + save_ifs="$IFS"; IFS='~' + for cmd in $cmds; do + IFS="$save_ifs" + eval cmd=\"$cmd\" + $show "$cmd" + $run eval "$cmd" || exit $? + done + IFS="$save_ifs" + + # Restore the uninstalled library and exit + if test "$mode" = relink; then + $run eval '(cd $output_objdir && $rm ${realname}T && $mv $realname ${realname}T && $mv "$realname"U $realname)' || exit $? + exit $EXIT_SUCCESS + fi + + # Create links to the real library. + for linkname in $linknames; do + if test "$realname" != "$linkname"; then + $show "(cd $output_objdir && $rm $linkname && $LN_S $realname $linkname)" + $run eval '(cd $output_objdir && $rm $linkname && $LN_S $realname $linkname)' || exit $? + fi + done + + # If -module or -export-dynamic was specified, set the dlname. + if test "$module" = yes || test "$export_dynamic" = yes; then + # On all known operating systems, these are identical. + dlname="$soname" + fi + fi + ;; + + obj) + if test -n "$deplibs"; then + $echo "$modename: warning: \`-l' and \`-L' are ignored for objects" 1>&2 + fi + + if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then + $echo "$modename: warning: \`-dlopen' is ignored for objects" 1>&2 + fi + + if test -n "$rpath"; then + $echo "$modename: warning: \`-rpath' is ignored for objects" 1>&2 + fi + + if test -n "$xrpath"; then + $echo "$modename: warning: \`-R' is ignored for objects" 1>&2 + fi + + if test -n "$vinfo"; then + $echo "$modename: warning: \`-version-info' is ignored for objects" 1>&2 + fi + + if test -n "$release"; then + $echo "$modename: warning: \`-release' is ignored for objects" 1>&2 + fi + + case $output in + *.lo) + if test -n "$objs$old_deplibs"; then + $echo "$modename: cannot build library object \`$output' from non-libtool objects" 1>&2 + exit $EXIT_FAILURE + fi + libobj="$output" + obj=`$echo "X$output" | $Xsed -e "$lo2o"` + ;; + *) + libobj= + obj="$output" + ;; + esac + + # Delete the old objects. + $run $rm $obj $libobj + + # Objects from convenience libraries. This assumes + # single-version convenience libraries. Whenever we create + # different ones for PIC/non-PIC, this we'll have to duplicate + # the extraction. + reload_conv_objs= + gentop= + # reload_cmds runs $LD directly, so let us get rid of + # -Wl from whole_archive_flag_spec + wl= + + if test -n "$convenience"; then + if test -n "$whole_archive_flag_spec"; then + eval reload_conv_objs=\"\$reload_objs $whole_archive_flag_spec\" + else + gentop="$output_objdir/${obj}x" + $show "${rm}r $gentop" + $run ${rm}r "$gentop" + $show "$mkdir $gentop" + $run $mkdir "$gentop" + status=$? + if test "$status" -ne 0 && test ! -d "$gentop"; then + exit $status + fi + generated="$generated $gentop" + + for xlib in $convenience; do + # Extract the objects. + case $xlib in + [\\/]* | [A-Za-z]:[\\/]*) xabs="$xlib" ;; + *) xabs=`pwd`"/$xlib" ;; + esac + xlib=`$echo "X$xlib" | $Xsed -e 's%^.*/%%'` + xdir="$gentop/$xlib" + + $show "${rm}r $xdir" + $run ${rm}r "$xdir" + $show "$mkdir $xdir" + $run $mkdir "$xdir" + status=$? + if test "$status" -ne 0 && test ! -d "$xdir"; then + exit $status + fi + # We will extract separately just the conflicting names and we will no + # longer touch any unique names. It is faster to leave these extract + # automatically by $AR in one run. + $show "(cd $xdir && $AR x $xabs)" + $run eval "(cd \$xdir && $AR x \$xabs)" || exit $? + if ($AR t "$xabs" | sort | sort -uc >/dev/null 2>&1); then + : + else + $echo "$modename: warning: object name conflicts; renaming object files" 1>&2 + $echo "$modename: warning: to ensure that they will not overwrite" 1>&2 + $AR t "$xabs" | sort | uniq -cd | while read -r count name + do + i=1 + while test "$i" -le "$count" + do + # Put our $i before any first dot (extension) + # Never overwrite any file + name_to="$name" + while test "X$name_to" = "X$name" || test -f "$xdir/$name_to" + do + name_to=`$echo "X$name_to" | $Xsed -e "s/\([^.]*\)/\1-$i/"` + done + $show "(cd $xdir && $AR xN $i $xabs '$name' && $mv '$name' '$name_to')" + $run eval "(cd \$xdir && $AR xN $i \$xabs '$name' && $mv '$name' '$name_to')" || exit $? + i=`expr $i + 1` + done + done + fi + + reload_conv_objs="$reload_objs "`find $xdir -name \*.$objext -print -o -name \*.lo -print | $NL2SP` + done + fi + fi + + # Create the old-style object. + reload_objs="$objs$old_deplibs "`$echo "X$libobjs" | $SP2NL | $Xsed -e '/\.'${libext}$'/d' -e '/\.lib$/d' -e "$lo2o" | $NL2SP`" $reload_conv_objs" ### testsuite: skip nested quoting test + + output="$obj" + cmds=$reload_cmds + save_ifs="$IFS"; IFS='~' + for cmd in $cmds; do + IFS="$save_ifs" + eval cmd=\"$cmd\" + $show "$cmd" + $run eval "$cmd" || exit $? + done + IFS="$save_ifs" + + # Exit if we aren't doing a library object file. + if test -z "$libobj"; then + if test -n "$gentop"; then + $show "${rm}r $gentop" + $run ${rm}r $gentop + fi + + exit $EXIT_SUCCESS + fi + + if test "$build_libtool_libs" != yes; then + if test -n "$gentop"; then + $show "${rm}r $gentop" + $run ${rm}r $gentop + fi + + # Create an invalid libtool object if no PIC, so that we don't + # accidentally link it into a program. + # $show "echo timestamp > $libobj" + # $run eval "echo timestamp > $libobj" || exit $? + exit $EXIT_SUCCESS + fi + + if test -n "$pic_flag" || test "$pic_mode" != default; then + # Only do commands if we really have different PIC objects. + reload_objs="$libobjs $reload_conv_objs" + output="$libobj" + cmds=$reload_cmds + save_ifs="$IFS"; IFS='~' + for cmd in $cmds; do + IFS="$save_ifs" + eval cmd=\"$cmd\" + $show "$cmd" + $run eval "$cmd" || exit $? + done + IFS="$save_ifs" + fi + + if test -n "$gentop"; then + $show "${rm}r $gentop" + $run ${rm}r $gentop + fi + + exit $EXIT_SUCCESS + ;; + + prog) + case $host in + *cygwin*) output=`$echo $output | ${SED} -e 's,.exe$,,;s,$,.exe,'` ;; + esac + if test -n "$vinfo"; then + $echo "$modename: warning: \`-version-info' is ignored for programs" 1>&2 + fi + + if test -n "$release"; then + $echo "$modename: warning: \`-release' is ignored for programs" 1>&2 + fi + + if test "$preload" = yes; then + if test "$dlopen_support" = unknown && test "$dlopen_self" = unknown && + test "$dlopen_self_static" = unknown; then + $echo "$modename: warning: \`AC_LIBTOOL_DLOPEN' not used. Assuming no dlopen support." + fi + fi + + case $host in + *-*-rhapsody* | *-*-darwin1.[012]) + # On Rhapsody replace the C library is the System framework + compile_deplibs=`$echo "X $compile_deplibs" | $Xsed -e 's/ -lc / -framework System /'` + finalize_deplibs=`$echo "X $finalize_deplibs" | $Xsed -e 's/ -lc / -framework System /'` + ;; + esac + + case $host in + *darwin*) + # Don't allow lazy linking, it breaks C++ global constructors + if test "$tagname" = CXX ; then + compile_command="$compile_command ${wl}-bind_at_load" + finalize_command="$finalize_command ${wl}-bind_at_load" + fi + ;; + esac + + compile_command="$compile_command $compile_deplibs" + finalize_command="$finalize_command $finalize_deplibs" + + if test -n "$rpath$xrpath"; then + # If the user specified any rpath flags, then add them. + for libdir in $rpath $xrpath; do + # This is the magic to use -rpath. + case "$finalize_rpath " in + *" $libdir "*) ;; + *) finalize_rpath="$finalize_rpath $libdir" ;; + esac + done + fi + + # Now hardcode the library paths + rpath= + hardcode_libdirs= + for libdir in $compile_rpath $finalize_rpath; do + if test -n "$hardcode_libdir_flag_spec"; then + if test -n "$hardcode_libdir_separator"; then + if test -z "$hardcode_libdirs"; then + hardcode_libdirs="$libdir" + else + # Just accumulate the unique libdirs. + case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in + *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*) + ;; + *) + hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir" + ;; + esac + fi + else + eval flag=\"$hardcode_libdir_flag_spec\" + rpath="$rpath $flag" + fi + elif test -n "$runpath_var"; then + case "$perm_rpath " in + *" $libdir "*) ;; + *) perm_rpath="$perm_rpath $libdir" ;; + esac + fi + case $host in + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*) + case :$dllsearchpath: in + *":$libdir:"*) ;; + *) dllsearchpath="$dllsearchpath:$libdir";; + esac + ;; + esac + done + # Substitute the hardcoded libdirs into the rpath. + if test -n "$hardcode_libdir_separator" && + test -n "$hardcode_libdirs"; then + libdir="$hardcode_libdirs" + eval rpath=\" $hardcode_libdir_flag_spec\" + fi + compile_rpath="$rpath" + + rpath= + hardcode_libdirs= + for libdir in $finalize_rpath; do + if test -n "$hardcode_libdir_flag_spec"; then + if test -n "$hardcode_libdir_separator"; then + if test -z "$hardcode_libdirs"; then + hardcode_libdirs="$libdir" + else + # Just accumulate the unique libdirs. + case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in + *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*) + ;; + *) + hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir" + ;; + esac + fi + else + eval flag=\"$hardcode_libdir_flag_spec\" + rpath="$rpath $flag" + fi + elif test -n "$runpath_var"; then + case "$finalize_perm_rpath " in + *" $libdir "*) ;; + *) finalize_perm_rpath="$finalize_perm_rpath $libdir" ;; + esac + fi + done + # Substitute the hardcoded libdirs into the rpath. + if test -n "$hardcode_libdir_separator" && + test -n "$hardcode_libdirs"; then + libdir="$hardcode_libdirs" + eval rpath=\" $hardcode_libdir_flag_spec\" + fi + finalize_rpath="$rpath" + + if test -n "$libobjs" && test "$build_old_libs" = yes; then + # Transform all the library objects into standard objects. + compile_command=`$echo "X$compile_command" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP` + finalize_command=`$echo "X$finalize_command" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP` + fi + + dlsyms= + if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then + if test -n "$NM" && test -n "$global_symbol_pipe"; then + dlsyms="${outputname}S.c" + else + $echo "$modename: not configured to extract global symbols from dlpreopened files" 1>&2 + fi + fi + + if test -n "$dlsyms"; then + case $dlsyms in + "") ;; + *.c) + # Discover the nlist of each of the dlfiles. + nlist="$output_objdir/${outputname}.nm" + + $show "$rm $nlist ${nlist}S ${nlist}T" + $run $rm "$nlist" "${nlist}S" "${nlist}T" + + # Parse the name list into a source file. + $show "creating $output_objdir/$dlsyms" + + test -z "$run" && $echo > "$output_objdir/$dlsyms" "\ +/* $dlsyms - symbol resolution table for \`$outputname' dlsym emulation. */ +/* Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP */ + +#ifdef __cplusplus +extern \"C\" { +#endif + +/* Prevent the only kind of declaration conflicts we can make. */ +#define lt_preloaded_symbols some_other_symbol + +/* External symbol declarations for the compiler. */\ +" + + if test "$dlself" = yes; then + $show "generating symbol list for \`$output'" + + test -z "$run" && $echo ': @PROGRAM@ ' > "$nlist" + + # Add our own program objects to the symbol list. + progfiles=`$echo "X$objs$old_deplibs" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP` + for arg in $progfiles; do + $show "extracting global C symbols from \`$arg'" + $run eval "$NM $arg | $global_symbol_pipe >> '$nlist'" + done + + if test -n "$exclude_expsyms"; then + $run eval '$EGREP -v " ($exclude_expsyms)$" "$nlist" > "$nlist"T' + $run eval '$mv "$nlist"T "$nlist"' + fi + + if test -n "$export_symbols_regex"; then + $run eval '$EGREP -e "$export_symbols_regex" "$nlist" > "$nlist"T' + $run eval '$mv "$nlist"T "$nlist"' + fi + + # Prepare the list of exported symbols + if test -z "$export_symbols"; then + export_symbols="$output_objdir/$output.exp" + $run $rm $export_symbols + $run eval "${SED} -n -e '/^: @PROGRAM@$/d' -e 's/^.* \(.*\)$/\1/p' "'< "$nlist" > "$export_symbols"' + else + $run eval "${SED} -e 's/\([][.*^$]\)/\\\1/g' -e 's/^/ /' -e 's/$/$/'"' < "$export_symbols" > "$output_objdir/$output.exp"' + $run eval 'grep -f "$output_objdir/$output.exp" < "$nlist" > "$nlist"T' + $run eval 'mv "$nlist"T "$nlist"' + fi + fi + + for arg in $dlprefiles; do + $show "extracting global C symbols from \`$arg'" + name=`$echo "$arg" | ${SED} -e 's%^.*/%%'` + $run eval '$echo ": $name " >> "$nlist"' + $run eval "$NM $arg | $global_symbol_pipe >> '$nlist'" + done + + if test -z "$run"; then + # Make sure we have at least an empty file. + test -f "$nlist" || : > "$nlist" + + if test -n "$exclude_expsyms"; then + $EGREP -v " ($exclude_expsyms)$" "$nlist" > "$nlist"T + $mv "$nlist"T "$nlist" + fi + + # Try sorting and uniquifying the output. + if grep -v "^: " < "$nlist" | + if sort -k 3 /dev/null 2>&1; then + sort -k 3 + else + sort +2 + fi | + uniq > "$nlist"S; then + : + else + grep -v "^: " < "$nlist" > "$nlist"S + fi + + if test -f "$nlist"S; then + eval "$global_symbol_to_cdecl"' < "$nlist"S >> "$output_objdir/$dlsyms"' + else + $echo '/* NONE */' >> "$output_objdir/$dlsyms" + fi + + $echo >> "$output_objdir/$dlsyms" "\ + +#undef lt_preloaded_symbols + +#if defined (__STDC__) && __STDC__ +# define lt_ptr void * +#else +# define lt_ptr char * +# define const +#endif + +/* The mapping between symbol names and symbols. */ +const struct { + const char *name; + lt_ptr address; +} +lt_preloaded_symbols[] = +{\ +" + + eval "$global_symbol_to_c_name_address" < "$nlist" >> "$output_objdir/$dlsyms" + + $echo >> "$output_objdir/$dlsyms" "\ + {0, (lt_ptr) 0} +}; + +/* This works around a problem in FreeBSD linker */ +#ifdef FREEBSD_WORKAROUND +static const void *lt_preloaded_setup() { + return lt_preloaded_symbols; +} +#endif + +#ifdef __cplusplus +} +#endif\ +" + fi + + pic_flag_for_symtable= + case $host in + # compiling the symbol table file with pic_flag works around + # a FreeBSD bug that causes programs to crash when -lm is + # linked before any other PIC object. But we must not use + # pic_flag when linking with -static. The problem exists in + # FreeBSD 2.2.6 and is fixed in FreeBSD 3.1. + *-*-freebsd2*|*-*-freebsd3.0*|*-*-freebsdelf3.0*) + case "$compile_command " in + *" -static "*) ;; + *) pic_flag_for_symtable=" $pic_flag -DFREEBSD_WORKAROUND";; + esac;; + *-*-hpux*) + case "$compile_command " in + *" -static "*) ;; + *) pic_flag_for_symtable=" $pic_flag";; + esac + esac + + # Now compile the dynamic symbol file. + $show "(cd $output_objdir && $LTCC -c$no_builtin_flag$pic_flag_for_symtable \"$dlsyms\")" + $run eval '(cd $output_objdir && $LTCC -c$no_builtin_flag$pic_flag_for_symtable "$dlsyms")' || exit $? + + # Clean up the generated files. + $show "$rm $output_objdir/$dlsyms $nlist ${nlist}S ${nlist}T" + $run $rm "$output_objdir/$dlsyms" "$nlist" "${nlist}S" "${nlist}T" + + # Transform the symbol file into the correct name. + compile_command=`$echo "X$compile_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%"` + finalize_command=`$echo "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%"` + ;; + *) + $echo "$modename: unknown suffix for \`$dlsyms'" 1>&2 + exit $EXIT_FAILURE + ;; + esac + else + # We keep going just in case the user didn't refer to + # lt_preloaded_symbols. The linker will fail if global_symbol_pipe + # really was required. + + # Nullify the symbol file. + compile_command=`$echo "X$compile_command" | $Xsed -e "s% @SYMFILE@%%"` + finalize_command=`$echo "X$finalize_command" | $Xsed -e "s% @SYMFILE@%%"` + fi + + if test "$need_relink" = no || test "$build_libtool_libs" != yes; then + # Replace the output file specification. + compile_command=`$echo "X$compile_command" | $Xsed -e 's%@OUTPUT@%'"$output"'%g'` + link_command="$compile_command$compile_rpath" + + # We have no uninstalled library dependencies, so finalize right now. + $show "$link_command" + $run eval "$link_command" + status=$? + + # Delete the generated files. + if test -n "$dlsyms"; then + $show "$rm $output_objdir/${outputname}S.${objext}" + $run $rm "$output_objdir/${outputname}S.${objext}" + fi + + exit $status + fi + + if test -n "$shlibpath_var"; then + # We should set the shlibpath_var + rpath= + for dir in $temp_rpath; do + case $dir in + [\\/]* | [A-Za-z]:[\\/]*) + # Absolute path. + rpath="$rpath$dir:" + ;; + *) + # Relative path: add a thisdir entry. + rpath="$rpath\$thisdir/$dir:" + ;; + esac + done + temp_rpath="$rpath" + fi + + if test -n "$compile_shlibpath$finalize_shlibpath"; then + compile_command="$shlibpath_var=\"$compile_shlibpath$finalize_shlibpath\$$shlibpath_var\" $compile_command" + fi + if test -n "$finalize_shlibpath"; then + finalize_command="$shlibpath_var=\"$finalize_shlibpath\$$shlibpath_var\" $finalize_command" + fi + + compile_var= + finalize_var= + if test -n "$runpath_var"; then + if test -n "$perm_rpath"; then + # We should set the runpath_var. + rpath= + for dir in $perm_rpath; do + rpath="$rpath$dir:" + done + compile_var="$runpath_var=\"$rpath\$$runpath_var\" " + fi + if test -n "$finalize_perm_rpath"; then + # We should set the runpath_var. + rpath= + for dir in $finalize_perm_rpath; do + rpath="$rpath$dir:" + done + finalize_var="$runpath_var=\"$rpath\$$runpath_var\" " + fi + fi + + if test "$no_install" = yes; then + # We don't need to create a wrapper script. + link_command="$compile_var$compile_command$compile_rpath" + # Replace the output file specification. + link_command=`$echo "X$link_command" | $Xsed -e 's%@OUTPUT@%'"$output"'%g'` + # Delete the old output file. + $run $rm $output + # Link the executable and exit + $show "$link_command" + $run eval "$link_command" || exit $? + exit $EXIT_SUCCESS + fi + + if test "$hardcode_action" = relink; then + # Fast installation is not supported + link_command="$compile_var$compile_command$compile_rpath" + relink_command="$finalize_var$finalize_command$finalize_rpath" + + $echo "$modename: warning: this platform does not like uninstalled shared libraries" 1>&2 + $echo "$modename: \`$output' will be relinked during installation" 1>&2 + else + if test "$fast_install" != no; then + link_command="$finalize_var$compile_command$finalize_rpath" + if test "$fast_install" = yes; then + relink_command=`$echo "X$compile_var$compile_command$compile_rpath" | $Xsed -e 's%@OUTPUT@%\$progdir/\$file%g'` + else + # fast_install is set to needless + relink_command= + fi + else + link_command="$compile_var$compile_command$compile_rpath" + relink_command="$finalize_var$finalize_command$finalize_rpath" + fi + fi + + # Replace the output file specification. + link_command=`$echo "X$link_command" | $Xsed -e 's%@OUTPUT@%'"$output_objdir/$outputname"'%g'` + + # Delete the old output files. + $run $rm $output $output_objdir/$outputname $output_objdir/lt-$outputname + + $show "$link_command" + $run eval "$link_command" || exit $? + + # Now create the wrapper script. + $show "creating $output" + + # Quote the relink command for shipping. + if test -n "$relink_command"; then + # Preserve any variables that may affect compiler behavior + for var in $variables_saved_for_relink; do + if eval test -z \"\${$var+set}\"; then + relink_command="{ test -z \"\${$var+set}\" || unset $var || { $var=; export $var; }; }; $relink_command" + elif eval var_value=\$$var; test -z "$var_value"; then + relink_command="$var=; export $var; $relink_command" + else + var_value=`$echo "X$var_value" | $Xsed -e "$sed_quote_subst"` + relink_command="$var=\"$var_value\"; export $var; $relink_command" + fi + done + relink_command="(cd `pwd`; $relink_command)" + relink_command=`$echo "X$relink_command" | $Xsed -e "$sed_quote_subst"` + fi + + # Quote $echo for shipping. + if test "X$echo" = "X$SHELL $progpath --fallback-echo"; then + case $progpath in + [\\/]* | [A-Za-z]:[\\/]*) qecho="$SHELL $progpath --fallback-echo";; + *) qecho="$SHELL `pwd`/$progpath --fallback-echo";; + esac + qecho=`$echo "X$qecho" | $Xsed -e "$sed_quote_subst"` + else + qecho=`$echo "X$echo" | $Xsed -e "$sed_quote_subst"` + fi + + # Only actually do things if our run command is non-null. + if test -z "$run"; then + # win32 will think the script is a binary if it has + # a .exe suffix, so we strip it off here. + case $output in + *.exe) output=`$echo $output|${SED} 's,.exe$,,'` ;; + esac + # test for cygwin because mv fails w/o .exe extensions + case $host in + *cygwin*) + exeext=.exe + outputname=`$echo $outputname|${SED} 's,.exe$,,'` ;; + *) exeext= ;; + esac + case $host in + *cygwin* | *mingw* ) + cwrappersource=`$echo ${objdir}/lt-${output}.c` + cwrapper=`$echo ${output}.exe` + $rm $cwrappersource $cwrapper + trap "$rm $cwrappersource $cwrapper; exit $EXIT_FAILURE" 1 2 15 + + cat > $cwrappersource <> $cwrappersource<<"EOF" +#include +#include +#include +#include +#include +#include + +#if defined(PATH_MAX) +# define LT_PATHMAX PATH_MAX +#elif defined(MAXPATHLEN) +# define LT_PATHMAX MAXPATHLEN +#else +# define LT_PATHMAX 1024 +#endif + +#ifndef DIR_SEPARATOR +#define DIR_SEPARATOR '/' +#endif + +#if defined (_WIN32) || defined (__MSDOS__) || defined (__DJGPP__) || \ + defined (__OS2__) +#define HAVE_DOS_BASED_FILE_SYSTEM +#ifndef DIR_SEPARATOR_2 +#define DIR_SEPARATOR_2 '\\' +#endif +#endif + +#ifndef DIR_SEPARATOR_2 +# define IS_DIR_SEPARATOR(ch) ((ch) == DIR_SEPARATOR) +#else /* DIR_SEPARATOR_2 */ +# define IS_DIR_SEPARATOR(ch) \ + (((ch) == DIR_SEPARATOR) || ((ch) == DIR_SEPARATOR_2)) +#endif /* DIR_SEPARATOR_2 */ + +#define XMALLOC(type, num) ((type *) xmalloc ((num) * sizeof(type))) +#define XFREE(stale) do { \ + if (stale) { free ((void *) stale); stale = 0; } \ +} while (0) + +const char *program_name = NULL; + +void * xmalloc (size_t num); +char * xstrdup (const char *string); +char * basename (const char *name); +char * fnqualify(const char *path); +char * strendzap(char *str, const char *pat); +void lt_fatal (const char *message, ...); + +int +main (int argc, char *argv[]) +{ + char **newargz; + int i; + + program_name = (char *) xstrdup ((char *) basename (argv[0])); + newargz = XMALLOC(char *, argc+2); +EOF + + cat >> $cwrappersource <> $cwrappersource <<"EOF" + newargz[1] = fnqualify(argv[0]); + /* we know the script has the same name, without the .exe */ + /* so make sure newargz[1] doesn't end in .exe */ + strendzap(newargz[1],".exe"); + for (i = 1; i < argc; i++) + newargz[i+1] = xstrdup(argv[i]); + newargz[argc+1] = NULL; +EOF + + cat >> $cwrappersource <> $cwrappersource <<"EOF" +} + +void * +xmalloc (size_t num) +{ + void * p = (void *) malloc (num); + if (!p) + lt_fatal ("Memory exhausted"); + + return p; +} + +char * +xstrdup (const char *string) +{ + return string ? strcpy ((char *) xmalloc (strlen (string) + 1), string) : NULL +; +} + +char * +basename (const char *name) +{ + const char *base; + +#if defined (HAVE_DOS_BASED_FILE_SYSTEM) + /* Skip over the disk name in MSDOS pathnames. */ + if (isalpha (name[0]) && name[1] == ':') + name += 2; +#endif + + for (base = name; *name; name++) + if (IS_DIR_SEPARATOR (*name)) + base = name + 1; + return (char *) base; +} + +char * +fnqualify(const char *path) +{ + size_t size; + char *p; + char tmp[LT_PATHMAX + 1]; + + assert(path != NULL); + + /* Is it qualified already? */ +#if defined (HAVE_DOS_BASED_FILE_SYSTEM) + if (isalpha (path[0]) && path[1] == ':') + return xstrdup (path); +#endif + if (IS_DIR_SEPARATOR (path[0])) + return xstrdup (path); + + /* prepend the current directory */ + /* doesn't handle '~' */ + if (getcwd (tmp, LT_PATHMAX) == NULL) + lt_fatal ("getcwd failed"); + size = strlen(tmp) + 1 + strlen(path) + 1; /* +2 for '/' and '\0' */ + p = XMALLOC(char, size); + sprintf(p, "%s%c%s", tmp, DIR_SEPARATOR, path); + return p; +} + +char * +strendzap(char *str, const char *pat) +{ + size_t len, patlen; + + assert(str != NULL); + assert(pat != NULL); + + len = strlen(str); + patlen = strlen(pat); + + if (patlen <= len) + { + str += len - patlen; + if (strcmp(str, pat) == 0) + *str = '\0'; + } + return str; +} + +static void +lt_error_core (int exit_status, const char * mode, + const char * message, va_list ap) +{ + fprintf (stderr, "%s: %s: ", program_name, mode); + vfprintf (stderr, message, ap); + fprintf (stderr, ".\n"); + + if (exit_status >= 0) + exit (exit_status); +} + +void +lt_fatal (const char *message, ...) +{ + va_list ap; + va_start (ap, message); + lt_error_core (EXIT_FAILURE, "FATAL", message, ap); + va_end (ap); +} +EOF + # we should really use a build-platform specific compiler + # here, but OTOH, the wrappers (shell script and this C one) + # are only useful if you want to execute the "real" binary. + # Since the "real" binary is built for $host, then this + # wrapper might as well be built for $host, too. + $run $LTCC -s -o $cwrapper $cwrappersource + ;; + esac + $rm $output + trap "$rm $output; exit $EXIT_FAILURE" 1 2 15 + + $echo > $output "\ +#! $SHELL + +# $output - temporary wrapper script for $objdir/$outputname +# Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP +# +# The $output program cannot be directly executed until all the libtool +# libraries that it depends on are installed. +# +# This wrapper script should never be moved out of the build directory. +# If it is, it will not operate correctly. + +# Sed substitution that helps us do robust quoting. It backslashifies +# metacharacters that are still active within double-quoted strings. +Xsed='${SED} -e 1s/^X//' +sed_quote_subst='$sed_quote_subst' + +# The HP-UX ksh and POSIX shell print the target directory to stdout +# if CDPATH is set. +if test \"\${CDPATH+set}\" = set; then CDPATH=:; export CDPATH; fi + +relink_command=\"$relink_command\" + +# This environment variable determines our operation mode. +if test \"\$libtool_install_magic\" = \"$magic\"; then + # install mode needs the following variable: + notinst_deplibs='$notinst_deplibs' +else + # When we are sourced in execute mode, \$file and \$echo are already set. + if test \"\$libtool_execute_magic\" != \"$magic\"; then + echo=\"$qecho\" + file=\"\$0\" + # Make sure echo works. + if test \"X\$1\" = X--no-reexec; then + # Discard the --no-reexec flag, and continue. + shift + elif test \"X\`(\$echo '\t') 2>/dev/null\`\" = 'X\t'; then + # Yippee, \$echo works! + : + else + # Restart under the correct shell, and then maybe \$echo will work. + exec $SHELL \"\$0\" --no-reexec \${1+\"\$@\"} + fi + fi\ +" + $echo >> $output "\ + + # Find the directory that this script lives in. + thisdir=\`\$echo \"X\$file\" | \$Xsed -e 's%/[^/]*$%%'\` + test \"x\$thisdir\" = \"x\$file\" && thisdir=. + + # Follow symbolic links until we get to the real thisdir. + file=\`ls -ld \"\$file\" | ${SED} -n 's/.*-> //p'\` + while test -n \"\$file\"; do + destdir=\`\$echo \"X\$file\" | \$Xsed -e 's%/[^/]*\$%%'\` + + # If there was a directory component, then change thisdir. + if test \"x\$destdir\" != \"x\$file\"; then + case \"\$destdir\" in + [\\\\/]* | [A-Za-z]:[\\\\/]*) thisdir=\"\$destdir\" ;; + *) thisdir=\"\$thisdir/\$destdir\" ;; + esac + fi + + file=\`\$echo \"X\$file\" | \$Xsed -e 's%^.*/%%'\` + file=\`ls -ld \"\$thisdir/\$file\" | ${SED} -n 's/.*-> //p'\` + done + + # Try to get the absolute directory name. + absdir=\`cd \"\$thisdir\" && pwd\` + test -n \"\$absdir\" && thisdir=\"\$absdir\" +" + + if test "$fast_install" = yes; then + $echo >> $output "\ + program=lt-'$outputname'$exeext + progdir=\"\$thisdir/$objdir\" + + if test ! -f \"\$progdir/\$program\" || \\ + { file=\`ls -1dt \"\$progdir/\$program\" \"\$progdir/../\$program\" 2>/dev/null | ${SED} 1q\`; \\ + test \"X\$file\" != \"X\$progdir/\$program\"; }; then + + file=\"\$\$-\$program\" + + if test ! -d \"\$progdir\"; then + $mkdir \"\$progdir\" + else + $rm \"\$progdir/\$file\" + fi" + + $echo >> $output "\ + + # relink executable if necessary + if test -n \"\$relink_command\"; then + if relink_command_output=\`eval \$relink_command 2>&1\`; then : + else + $echo \"\$relink_command_output\" >&2 + $rm \"\$progdir/\$file\" + exit $EXIT_FAILURE + fi + fi + + $mv \"\$progdir/\$file\" \"\$progdir/\$program\" 2>/dev/null || + { $rm \"\$progdir/\$program\"; + $mv \"\$progdir/\$file\" \"\$progdir/\$program\"; } + $rm \"\$progdir/\$file\" + fi" + else + $echo >> $output "\ + program='$outputname' + progdir=\"\$thisdir/$objdir\" +" + fi + + $echo >> $output "\ + + if test -f \"\$progdir/\$program\"; then" + + # Export our shlibpath_var if we have one. + if test "$shlibpath_overrides_runpath" = yes && test -n "$shlibpath_var" && test -n "$temp_rpath"; then + $echo >> $output "\ + # Add our own library path to $shlibpath_var + $shlibpath_var=\"$temp_rpath\$$shlibpath_var\" + + # Some systems cannot cope with colon-terminated $shlibpath_var + # The second colon is a workaround for a bug in BeOS R4 sed + $shlibpath_var=\`\$echo \"X\$$shlibpath_var\" | \$Xsed -e 's/::*\$//'\` + + export $shlibpath_var +" + fi + + # fixup the dll searchpath if we need to. + if test -n "$dllsearchpath"; then + $echo >> $output "\ + # Add the dll search path components to the executable PATH + PATH=$dllsearchpath:\$PATH +" + fi + + $echo >> $output "\ + if test \"\$libtool_execute_magic\" != \"$magic\"; then + # Run the actual program with our arguments. +" + case $host in + # Backslashes separate directories on plain windows + *-*-mingw | *-*-os2*) + $echo >> $output "\ + exec \$progdir\\\\\$program \${1+\"\$@\"} +" + ;; + + *) + $echo >> $output "\ + exec \$progdir/\$program \${1+\"\$@\"} +" + ;; + esac + $echo >> $output "\ + \$echo \"\$0: cannot exec \$program \${1+\"\$@\"}\" + exit $EXIT_FAILURE + fi + else + # The program doesn't exist. + \$echo \"\$0: error: \$progdir/\$program does not exist\" 1>&2 + \$echo \"This script is just a wrapper for \$program.\" 1>&2 + $echo \"See the $PACKAGE documentation for more information.\" 1>&2 + exit $EXIT_FAILURE + fi +fi\ +" + chmod +x $output + fi + exit $EXIT_SUCCESS + ;; + esac + + # See if we need to build an old-fashioned archive. + for oldlib in $oldlibs; do + + if test "$build_libtool_libs" = convenience; then + oldobjs="$libobjs_save" + addlibs="$convenience" + build_libtool_libs=no + else + if test "$build_libtool_libs" = module; then + oldobjs="$libobjs_save" + build_libtool_libs=no + else + oldobjs="$old_deplibs $non_pic_objects" + fi + addlibs="$old_convenience" + fi + + if test -n "$addlibs"; then + gentop="$output_objdir/${outputname}x" + $show "${rm}r $gentop" + $run ${rm}r "$gentop" + $show "$mkdir $gentop" + $run $mkdir "$gentop" + status=$? + if test "$status" -ne 0 && test ! -d "$gentop"; then + exit $status + fi + generated="$generated $gentop" + + # Add in members from convenience archives. + for xlib in $addlibs; do + # Extract the objects. + case $xlib in + [\\/]* | [A-Za-z]:[\\/]*) xabs="$xlib" ;; + *) xabs=`pwd`"/$xlib" ;; + esac + xlib=`$echo "X$xlib" | $Xsed -e 's%^.*/%%'` + xdir="$gentop/$xlib" + + $show "${rm}r $xdir" + $run ${rm}r "$xdir" + $show "$mkdir $xdir" + $run $mkdir "$xdir" + status=$? + if test "$status" -ne 0 && test ! -d "$xdir"; then + exit $status + fi + # We will extract separately just the conflicting names and we will no + # longer touch any unique names. It is faster to leave these extract + # automatically by $AR in one run. + $show "(cd $xdir && $AR x $xabs)" + $run eval "(cd \$xdir && $AR x \$xabs)" || exit $? + if ($AR t "$xabs" | sort | sort -uc >/dev/null 2>&1); then + : + else + $echo "$modename: warning: object name conflicts; renaming object files" 1>&2 + $echo "$modename: warning: to ensure that they will not overwrite" 1>&2 + $AR t "$xabs" | sort | uniq -cd | while read -r count name + do + i=1 + while test "$i" -le "$count" + do + # Put our $i before any first dot (extension) + # Never overwrite any file + name_to="$name" + while test "X$name_to" = "X$name" || test -f "$xdir/$name_to" + do + name_to=`$echo "X$name_to" | $Xsed -e "s/\([^.]*\)/\1-$i/"` + done + $show "(cd $xdir && $AR xN $i $xabs '$name' && $mv '$name' '$name_to')" + $run eval "(cd \$xdir && $AR xN $i \$xabs '$name' && $mv '$name' '$name_to')" || exit $? + i=`expr $i + 1` + done + done + fi + + oldobjs="$oldobjs "`find $xdir -name \*.${objext} -print -o -name \*.lo -print | $NL2SP` + done + fi + + # Do each command in the archive commands. + if test -n "$old_archive_from_new_cmds" && test "$build_libtool_libs" = yes; then + cmds=$old_archive_from_new_cmds + else + eval cmds=\"$old_archive_cmds\" + + if len=`expr "X$cmds" : ".*"` && + test "$len" -le "$max_cmd_len" || test "$max_cmd_len" -le -1; then + cmds=$old_archive_cmds + else + # the command line is too long to link in one step, link in parts + $echo "using piecewise archive linking..." + save_RANLIB=$RANLIB + RANLIB=: + objlist= + concat_cmds= + save_oldobjs=$oldobjs + # GNU ar 2.10+ was changed to match POSIX; thus no paths are + # encoded into archives. This makes 'ar r' malfunction in + # this piecewise linking case whenever conflicting object + # names appear in distinct ar calls; check, warn and compensate. + if (for obj in $save_oldobjs + do + $echo "X$obj" | $Xsed -e 's%^.*/%%' + done | sort | sort -uc >/dev/null 2>&1); then + : + else + $echo "$modename: warning: object name conflicts; overriding AR_FLAGS to 'cq'" 1>&2 + $echo "$modename: warning: to ensure that POSIX-compatible ar will work" 1>&2 + AR_FLAGS=cq + fi + # Is there a better way of finding the last object in the list? + for obj in $save_oldobjs + do + last_oldobj=$obj + done + for obj in $save_oldobjs + do + oldobjs="$objlist $obj" + objlist="$objlist $obj" + eval test_cmds=\"$old_archive_cmds\" + if len=`expr "X$test_cmds" : ".*"` && + test "$len" -le "$max_cmd_len"; then + : + else + # the above command should be used before it gets too long + oldobjs=$objlist + if test "$obj" = "$last_oldobj" ; then + RANLIB=$save_RANLIB + fi + test -z "$concat_cmds" || concat_cmds=$concat_cmds~ + eval concat_cmds=\"\${concat_cmds}$old_archive_cmds\" + objlist= + fi + done + RANLIB=$save_RANLIB + oldobjs=$objlist + if test "X$oldobjs" = "X" ; then + eval cmds=\"\$concat_cmds\" + else + eval cmds=\"\$concat_cmds~\$old_archive_cmds\" + fi + fi + fi + save_ifs="$IFS"; IFS='~' + for cmd in $cmds; do + eval cmd=\"$cmd\" + IFS="$save_ifs" + $show "$cmd" + $run eval "$cmd" || exit $? + done + IFS="$save_ifs" + done + + if test -n "$generated"; then + $show "${rm}r$generated" + $run ${rm}r$generated + fi + + # Now create the libtool archive. + case $output in + *.la) + old_library= + test "$build_old_libs" = yes && old_library="$libname.$libext" + $show "creating $output" + + # Preserve any variables that may affect compiler behavior + for var in $variables_saved_for_relink; do + if eval test -z \"\${$var+set}\"; then + relink_command="{ test -z \"\${$var+set}\" || unset $var || { $var=; export $var; }; }; $relink_command" + elif eval var_value=\$$var; test -z "$var_value"; then + relink_command="$var=; export $var; $relink_command" + else + var_value=`$echo "X$var_value" | $Xsed -e "$sed_quote_subst"` + relink_command="$var=\"$var_value\"; export $var; $relink_command" + fi + done + # Quote the link command for shipping. + relink_command="(cd `pwd`; $SHELL $progpath $preserve_args --mode=relink $libtool_args @inst_prefix_dir@)" + relink_command=`$echo "X$relink_command" | $Xsed -e "$sed_quote_subst"` + if test "$hardcode_automatic" = yes ; then + relink_command= + fi + + + # Only create the output if not a dry run. + if test -z "$run"; then + for installed in no yes; do + if test "$installed" = yes; then + if test -z "$install_libdir"; then + break + fi + output="$output_objdir/$outputname"i + # Replace all uninstalled libtool libraries with the installed ones + newdependency_libs= + for deplib in $dependency_libs; do + case $deplib in + *.la) + name=`$echo "X$deplib" | $Xsed -e 's%^.*/%%'` + eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib` + if test -z "$libdir"; then + $echo "$modename: \`$deplib' is not a valid libtool archive" 1>&2 + exit $EXIT_FAILURE + fi + newdependency_libs="$newdependency_libs $libdir/$name" + ;; + *) newdependency_libs="$newdependency_libs $deplib" ;; + esac + done + dependency_libs="$newdependency_libs" + newdlfiles= + for lib in $dlfiles; do + name=`$echo "X$lib" | $Xsed -e 's%^.*/%%'` + eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $lib` + if test -z "$libdir"; then + $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2 + exit $EXIT_FAILURE + fi + newdlfiles="$newdlfiles $libdir/$name" + done + dlfiles="$newdlfiles" + newdlprefiles= + for lib in $dlprefiles; do + name=`$echo "X$lib" | $Xsed -e 's%^.*/%%'` + eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $lib` + if test -z "$libdir"; then + $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2 + exit $EXIT_FAILURE + fi + newdlprefiles="$newdlprefiles $libdir/$name" + done + dlprefiles="$newdlprefiles" + else + newdlfiles= + for lib in $dlfiles; do + case $lib in + [\\/]* | [A-Za-z]:[\\/]*) abs="$lib" ;; + *) abs=`pwd`"/$lib" ;; + esac + newdlfiles="$newdlfiles $abs" + done + dlfiles="$newdlfiles" + newdlprefiles= + for lib in $dlprefiles; do + case $lib in + [\\/]* | [A-Za-z]:[\\/]*) abs="$lib" ;; + *) abs=`pwd`"/$lib" ;; + esac + newdlprefiles="$newdlprefiles $abs" + done + dlprefiles="$newdlprefiles" + fi + $rm $output + # place dlname in correct position for cygwin + tdlname=$dlname + case $host,$output,$installed,$module,$dlname in + *cygwin*,*lai,yes,no,*.dll | *mingw*,*lai,yes,no,*.dll) tdlname=../bin/$dlname ;; + esac + $echo > $output "\ +# $outputname - a libtool library file +# Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP +# +# Please DO NOT delete this file! +# It is necessary for linking the library. + +# The name that we can dlopen(3). +dlname='$tdlname' + +# Names of this library. +library_names='$library_names' + +# The name of the static archive. +old_library='$old_library' + +# Libraries that this one depends upon. +dependency_libs='$dependency_libs' + +# Version information for $libname. +current=$current +age=$age +revision=$revision + +# Is this an already installed library? +installed=$installed + +# Should we warn about portability when linking against -modules? +shouldnotlink=$module + +# Files to dlopen/dlpreopen +dlopen='$dlfiles' +dlpreopen='$dlprefiles' + +# Directory that this library needs to be installed in: +libdir='$install_libdir'" + if test "$installed" = no && test "$need_relink" = yes; then + $echo >> $output "\ +relink_command=\"$relink_command\"" + fi + done + fi + + # Do a symbolic link so that the libtool archive can be found in + # LD_LIBRARY_PATH before the program is installed. + $show "(cd $output_objdir && $rm $outputname && $LN_S ../$outputname $outputname)" + $run eval '(cd $output_objdir && $rm $outputname && $LN_S ../$outputname $outputname)' || exit $? + ;; + esac + exit $EXIT_SUCCESS + ;; + + # libtool install mode + install) + modename="$modename: install" + + # There may be an optional sh(1) argument at the beginning of + # install_prog (especially on Windows NT). + if test "$nonopt" = "$SHELL" || test "$nonopt" = /bin/sh || + # Allow the use of GNU shtool's install command. + $echo "X$nonopt" | $Xsed | grep shtool > /dev/null; then + # Aesthetically quote it. + arg=`$echo "X$nonopt" | $Xsed -e "$sed_quote_subst"` + case $arg in + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*) + arg="\"$arg\"" + ;; + esac + install_prog="$arg " + arg="$1" + shift + else + install_prog= + arg="$nonopt" + fi + + # The real first argument should be the name of the installation program. + # Aesthetically quote it. + arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"` + case $arg in + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*) + arg="\"$arg\"" + ;; + esac + install_prog="$install_prog$arg" + + # We need to accept at least all the BSD install flags. + dest= + files= + opts= + prev= + install_type= + isdir=no + stripme= + for arg + do + if test -n "$dest"; then + files="$files $dest" + dest="$arg" + continue + fi + + case $arg in + -d) isdir=yes ;; + -f) prev="-f" ;; + -g) prev="-g" ;; + -m) prev="-m" ;; + -o) prev="-o" ;; + -s) + stripme=" -s" + continue + ;; + -*) ;; + + *) + # If the previous option needed an argument, then skip it. + if test -n "$prev"; then + prev= + else + dest="$arg" + continue + fi + ;; + esac + + # Aesthetically quote the argument. + arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"` + case $arg in + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*) + arg="\"$arg\"" + ;; + esac + install_prog="$install_prog $arg" + done + + if test -z "$install_prog"; then + $echo "$modename: you must specify an install program" 1>&2 + $echo "$help" 1>&2 + exit $EXIT_FAILURE + fi + + if test -n "$prev"; then + $echo "$modename: the \`$prev' option requires an argument" 1>&2 + $echo "$help" 1>&2 + exit $EXIT_FAILURE + fi + + if test -z "$files"; then + if test -z "$dest"; then + $echo "$modename: no file or destination specified" 1>&2 + else + $echo "$modename: you must specify a destination" 1>&2 + fi + $echo "$help" 1>&2 + exit $EXIT_FAILURE + fi + + # Strip any trailing slash from the destination. + dest=`$echo "X$dest" | $Xsed -e 's%/$%%'` + + # Check to see that the destination is a directory. + test -d "$dest" && isdir=yes + if test "$isdir" = yes; then + destdir="$dest" + destname= + else + destdir=`$echo "X$dest" | $Xsed -e 's%/[^/]*$%%'` + test "X$destdir" = "X$dest" && destdir=. + destname=`$echo "X$dest" | $Xsed -e 's%^.*/%%'` + + # Not a directory, so check to see that there is only one file specified. + set dummy $files + if test "$#" -gt 2; then + $echo "$modename: \`$dest' is not a directory" 1>&2 + $echo "$help" 1>&2 + exit $EXIT_FAILURE + fi + fi + case $destdir in + [\\/]* | [A-Za-z]:[\\/]*) ;; + *) + for file in $files; do + case $file in + *.lo) ;; + *) + $echo "$modename: \`$destdir' must be an absolute directory name" 1>&2 + $echo "$help" 1>&2 + exit $EXIT_FAILURE + ;; + esac + done + ;; + esac + + # This variable tells wrapper scripts just to set variables rather + # than running their programs. + libtool_install_magic="$magic" + + staticlibs= + future_libdirs= + current_libdirs= + for file in $files; do + + # Do each installation. + case $file in + *.$libext) + # Do the static libraries later. + staticlibs="$staticlibs $file" + ;; + + *.la) + # Check to see that this really is a libtool archive. + if (${SED} -e '2q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then : + else + $echo "$modename: \`$file' is not a valid libtool archive" 1>&2 + $echo "$help" 1>&2 + exit $EXIT_FAILURE + fi + + library_names= + old_library= + relink_command= + # If there is no directory component, then add one. + case $file in + */* | *\\*) . $file ;; + *) . ./$file ;; + esac + + # Add the libdir to current_libdirs if it is the destination. + if test "X$destdir" = "X$libdir"; then + case "$current_libdirs " in + *" $libdir "*) ;; + *) current_libdirs="$current_libdirs $libdir" ;; + esac + else + # Note the libdir as a future libdir. + case "$future_libdirs " in + *" $libdir "*) ;; + *) future_libdirs="$future_libdirs $libdir" ;; + esac + fi + + dir=`$echo "X$file" | $Xsed -e 's%/[^/]*$%%'`/ + test "X$dir" = "X$file/" && dir= + dir="$dir$objdir" + + if test -n "$relink_command"; then + # Determine the prefix the user has applied to our future dir. + inst_prefix_dir=`$echo "$destdir" | $SED "s%$libdir\$%%"` + + # Don't allow the user to place us outside of our expected + # location b/c this prevents finding dependent libraries that + # are installed to the same prefix. + # At present, this check doesn't affect windows .dll's that + # are installed into $libdir/../bin (currently, that works fine) + # but it's something to keep an eye on. + if test "$inst_prefix_dir" = "$destdir"; then + $echo "$modename: error: cannot install \`$file' to a directory not ending in $libdir" 1>&2 + exit $EXIT_FAILURE + fi + + if test -n "$inst_prefix_dir"; then + # Stick the inst_prefix_dir data into the link command. + relink_command=`$echo "$relink_command" | $SED "s%@inst_prefix_dir@%-inst-prefix-dir $inst_prefix_dir%"` + else + relink_command=`$echo "$relink_command" | $SED "s%@inst_prefix_dir@%%"` + fi + + $echo "$modename: warning: relinking \`$file'" 1>&2 + $show "$relink_command" + if $run eval "$relink_command"; then : + else + $echo "$modename: error: relink \`$file' with the above command before installing it" 1>&2 + exit $EXIT_FAILURE + fi + fi + + # See the names of the shared library. + set dummy $library_names + if test -n "$2"; then + realname="$2" + shift + shift + + srcname="$realname" + test -n "$relink_command" && srcname="$realname"T + + # Install the shared library and build the symlinks. + $show "$install_prog $dir/$srcname $destdir/$realname" + $run eval "$install_prog $dir/$srcname $destdir/$realname" || exit $? + if test -n "$stripme" && test -n "$striplib"; then + $show "$striplib $destdir/$realname" + $run eval "$striplib $destdir/$realname" || exit $? + fi + + if test "$#" -gt 0; then + # Delete the old symlinks, and create new ones. + for linkname + do + if test "$linkname" != "$realname"; then + $show "(cd $destdir && $rm $linkname && $LN_S $realname $linkname)" + $run eval "(cd $destdir && $rm $linkname && $LN_S $realname $linkname)" + fi + done + fi + + # Do each command in the postinstall commands. + lib="$destdir/$realname" + cmds=$postinstall_cmds + save_ifs="$IFS"; IFS='~' + for cmd in $cmds; do + IFS="$save_ifs" + eval cmd=\"$cmd\" + $show "$cmd" + $run eval "$cmd" || exit $? + done + IFS="$save_ifs" + fi + + # Install the pseudo-library for information purposes. + name=`$echo "X$file" | $Xsed -e 's%^.*/%%'` + instname="$dir/$name"i + $show "$install_prog $instname $destdir/$name" + $run eval "$install_prog $instname $destdir/$name" || exit $? + + # Maybe install the static library, too. + test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library" + ;; + + *.lo) + # Install (i.e. copy) a libtool object. + + # Figure out destination file name, if it wasn't already specified. + if test -n "$destname"; then + destfile="$destdir/$destname" + else + destfile=`$echo "X$file" | $Xsed -e 's%^.*/%%'` + destfile="$destdir/$destfile" + fi + + # Deduce the name of the destination old-style object file. + case $destfile in + *.lo) + staticdest=`$echo "X$destfile" | $Xsed -e "$lo2o"` + ;; + *.$objext) + staticdest="$destfile" + destfile= + ;; + *) + $echo "$modename: cannot copy a libtool object to \`$destfile'" 1>&2 + $echo "$help" 1>&2 + exit $EXIT_FAILURE + ;; + esac + + # Install the libtool object if requested. + if test -n "$destfile"; then + $show "$install_prog $file $destfile" + $run eval "$install_prog $file $destfile" || exit $? + fi + + # Install the old object if enabled. + if test "$build_old_libs" = yes; then + # Deduce the name of the old-style object file. + staticobj=`$echo "X$file" | $Xsed -e "$lo2o"` + + $show "$install_prog $staticobj $staticdest" + $run eval "$install_prog \$staticobj \$staticdest" || exit $? + fi + exit $EXIT_SUCCESS + ;; + + *) + # Figure out destination file name, if it wasn't already specified. + if test -n "$destname"; then + destfile="$destdir/$destname" + else + destfile=`$echo "X$file" | $Xsed -e 's%^.*/%%'` + destfile="$destdir/$destfile" + fi + + # If the file is missing, and there is a .exe on the end, strip it + # because it is most likely a libtool script we actually want to + # install + stripped_ext="" + case $file in + *.exe) + if test ! -f "$file"; then + file=`$echo $file|${SED} 's,.exe$,,'` + stripped_ext=".exe" + fi + ;; + esac + + # Do a test to see if this is really a libtool program. + case $host in + *cygwin*|*mingw*) + wrapper=`$echo $file | ${SED} -e 's,.exe$,,'` + ;; + *) + wrapper=$file + ;; + esac + if (${SED} -e '4q' $wrapper | grep "^# Generated by .*$PACKAGE")>/dev/null 2>&1; then + notinst_deplibs= + relink_command= + + # To insure that "foo" is sourced, and not "foo.exe", + # finese the cygwin/MSYS system by explicitly sourcing "foo." + # which disallows the automatic-append-.exe behavior. + case $build in + *cygwin* | *mingw*) wrapperdot=${wrapper}. ;; + *) wrapperdot=${wrapper} ;; + esac + # If there is no directory component, then add one. + case $file in + */* | *\\*) . ${wrapperdot} ;; + *) . ./${wrapperdot} ;; + esac + + # Check the variables that should have been set. + if test -z "$notinst_deplibs"; then + $echo "$modename: invalid libtool wrapper script \`$wrapper'" 1>&2 + exit $EXIT_FAILURE + fi + + finalize=yes + for lib in $notinst_deplibs; do + # Check to see that each library is installed. + libdir= + if test -f "$lib"; then + # If there is no directory component, then add one. + case $lib in + */* | *\\*) . $lib ;; + *) . ./$lib ;; + esac + fi + libfile="$libdir/"`$echo "X$lib" | $Xsed -e 's%^.*/%%g'` ### testsuite: skip nested quoting test + if test -n "$libdir" && test ! -f "$libfile"; then + $echo "$modename: warning: \`$lib' has not been installed in \`$libdir'" 1>&2 + finalize=no + fi + done + + relink_command= + # To insure that "foo" is sourced, and not "foo.exe", + # finese the cygwin/MSYS system by explicitly sourcing "foo." + # which disallows the automatic-append-.exe behavior. + case $build in + *cygwin* | *mingw*) wrapperdot=${wrapper}. ;; + *) wrapperdot=${wrapper} ;; + esac + # If there is no directory component, then add one. + case $file in + */* | *\\*) . ${wrapperdot} ;; + *) . ./${wrapperdot} ;; + esac + + outputname= + if test "$fast_install" = no && test -n "$relink_command"; then + if test "$finalize" = yes && test -z "$run"; then + tmpdir="/tmp" + test -n "$TMPDIR" && tmpdir="$TMPDIR" + tmpdir="$tmpdir/libtool-$$" + save_umask=`umask` + umask 0077 + if $mkdir "$tmpdir"; then + umask $save_umask + else + umask $save_umask + $echo "$modename: error: cannot create temporary directory \`$tmpdir'" 1>&2 + continue + fi + file=`$echo "X$file$stripped_ext" | $Xsed -e 's%^.*/%%'` + outputname="$tmpdir/$file" + # Replace the output file specification. + relink_command=`$echo "X$relink_command" | $Xsed -e 's%@OUTPUT@%'"$outputname"'%g'` + + $show "$relink_command" + if $run eval "$relink_command"; then : + else + $echo "$modename: error: relink \`$file' with the above command before installing it" 1>&2 + ${rm}r "$tmpdir" + continue + fi + file="$outputname" + else + $echo "$modename: warning: cannot relink \`$file'" 1>&2 + fi + else + # Install the binary that we compiled earlier. + file=`$echo "X$file$stripped_ext" | $Xsed -e "s%\([^/]*\)$%$objdir/\1%"` + fi + fi + + # remove .exe since cygwin /usr/bin/install will append another + # one anyways + case $install_prog,$host in + */usr/bin/install*,*cygwin*) + case $file:$destfile in + *.exe:*.exe) + # this is ok + ;; + *.exe:*) + destfile=$destfile.exe + ;; + *:*.exe) + destfile=`$echo $destfile | ${SED} -e 's,.exe$,,'` + ;; + esac + ;; + esac + $show "$install_prog$stripme $file $destfile" + $run eval "$install_prog\$stripme \$file \$destfile" || exit $? + test -n "$outputname" && ${rm}r "$tmpdir" + ;; + esac + done + + for file in $staticlibs; do + name=`$echo "X$file" | $Xsed -e 's%^.*/%%'` + + # Set up the ranlib parameters. + oldlib="$destdir/$name" + + $show "$install_prog $file $oldlib" + $run eval "$install_prog \$file \$oldlib" || exit $? + + if test -n "$stripme" && test -n "$old_striplib"; then + $show "$old_striplib $oldlib" + $run eval "$old_striplib $oldlib" || exit $? + fi + + # Do each command in the postinstall commands. + cmds=$old_postinstall_cmds + save_ifs="$IFS"; IFS='~' + for cmd in $cmds; do + IFS="$save_ifs" + eval cmd=\"$cmd\" + $show "$cmd" + $run eval "$cmd" || exit $? + done + IFS="$save_ifs" + done + + if test -n "$future_libdirs"; then + $echo "$modename: warning: remember to run \`$progname --finish$future_libdirs'" 1>&2 + fi + + if test -n "$current_libdirs"; then + # Maybe just do a dry run. + test -n "$run" && current_libdirs=" -n$current_libdirs" + exec_cmd='$SHELL $progpath $preserve_args --finish$current_libdirs' + else + exit $EXIT_SUCCESS + fi + ;; + + # libtool finish mode + finish) + modename="$modename: finish" + libdirs="$nonopt" + admincmds= + + if test -n "$finish_cmds$finish_eval" && test -n "$libdirs"; then + for dir + do + libdirs="$libdirs $dir" + done + + for libdir in $libdirs; do + if test -n "$finish_cmds"; then + # Do each command in the finish commands. + cmds=$finish_cmds + save_ifs="$IFS"; IFS='~' + for cmd in $cmds; do + IFS="$save_ifs" + eval cmd=\"$cmd\" + $show "$cmd" + $run eval "$cmd" || admincmds="$admincmds + $cmd" + done + IFS="$save_ifs" + fi + if test -n "$finish_eval"; then + # Do the single finish_eval. + eval cmds=\"$finish_eval\" + $run eval "$cmds" || admincmds="$admincmds + $cmds" + fi + done + fi + + # Exit here if they wanted silent mode. + test "$show" = : && exit $EXIT_SUCCESS + + $echo "----------------------------------------------------------------------" + $echo "Libraries have been installed in:" + for libdir in $libdirs; do + $echo " $libdir" + done + $echo + $echo "If you ever happen to want to link against installed libraries" + $echo "in a given directory, LIBDIR, you must either use libtool, and" + $echo "specify the full pathname of the library, or use the \`-LLIBDIR'" + $echo "flag during linking and do at least one of the following:" + if test -n "$shlibpath_var"; then + $echo " - add LIBDIR to the \`$shlibpath_var' environment variable" + $echo " during execution" + fi + if test -n "$runpath_var"; then + $echo " - add LIBDIR to the \`$runpath_var' environment variable" + $echo " during linking" + fi + if test -n "$hardcode_libdir_flag_spec"; then + libdir=LIBDIR + eval flag=\"$hardcode_libdir_flag_spec\" + + $echo " - use the \`$flag' linker flag" + fi + if test -n "$admincmds"; then + $echo " - have your system administrator run these commands:$admincmds" + fi + if test -f /etc/ld.so.conf; then + $echo " - have your system administrator add LIBDIR to \`/etc/ld.so.conf'" + fi + $echo + $echo "See any operating system documentation about shared libraries for" + $echo "more information, such as the ld(1) and ld.so(8) manual pages." + $echo "----------------------------------------------------------------------" + exit $EXIT_SUCCESS + ;; + + # libtool execute mode + execute) + modename="$modename: execute" + + # The first argument is the command name. + cmd="$nonopt" + if test -z "$cmd"; then + $echo "$modename: you must specify a COMMAND" 1>&2 + $echo "$help" + exit $EXIT_FAILURE + fi + + # Handle -dlopen flags immediately. + for file in $execute_dlfiles; do + if test ! -f "$file"; then + $echo "$modename: \`$file' is not a file" 1>&2 + $echo "$help" 1>&2 + exit $EXIT_FAILURE + fi + + dir= + case $file in + *.la) + # Check to see that this really is a libtool archive. + if (${SED} -e '2q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then : + else + $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2 + $echo "$help" 1>&2 + exit $EXIT_FAILURE + fi + + # Read the libtool library. + dlname= + library_names= + + # If there is no directory component, then add one. + case $file in + */* | *\\*) . $file ;; + *) . ./$file ;; + esac + + # Skip this library if it cannot be dlopened. + if test -z "$dlname"; then + # Warn if it was a shared library. + test -n "$library_names" && $echo "$modename: warning: \`$file' was not linked with \`-export-dynamic'" + continue + fi + + dir=`$echo "X$file" | $Xsed -e 's%/[^/]*$%%'` + test "X$dir" = "X$file" && dir=. + + if test -f "$dir/$objdir/$dlname"; then + dir="$dir/$objdir" + else + $echo "$modename: cannot find \`$dlname' in \`$dir' or \`$dir/$objdir'" 1>&2 + exit $EXIT_FAILURE + fi + ;; + + *.lo) + # Just add the directory containing the .lo file. + dir=`$echo "X$file" | $Xsed -e 's%/[^/]*$%%'` + test "X$dir" = "X$file" && dir=. + ;; + + *) + $echo "$modename: warning \`-dlopen' is ignored for non-libtool libraries and objects" 1>&2 + continue + ;; + esac + + # Get the absolute pathname. + absdir=`cd "$dir" && pwd` + test -n "$absdir" && dir="$absdir" + + # Now add the directory to shlibpath_var. + if eval "test -z \"\$$shlibpath_var\""; then + eval "$shlibpath_var=\"\$dir\"" + else + eval "$shlibpath_var=\"\$dir:\$$shlibpath_var\"" + fi + done + + # This variable tells wrapper scripts just to set shlibpath_var + # rather than running their programs. + libtool_execute_magic="$magic" + + # Check if any of the arguments is a wrapper script. + args= + for file + do + case $file in + -*) ;; + *) + # Do a test to see if this is really a libtool program. + if (${SED} -e '4q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then + # If there is no directory component, then add one. + case $file in + */* | *\\*) . $file ;; + *) . ./$file ;; + esac + + # Transform arg to wrapped name. + file="$progdir/$program" + fi + ;; + esac + # Quote arguments (to preserve shell metacharacters). + file=`$echo "X$file" | $Xsed -e "$sed_quote_subst"` + args="$args \"$file\"" + done + + if test -z "$run"; then + if test -n "$shlibpath_var"; then + # Export the shlibpath_var. + eval "export $shlibpath_var" + fi + + # Restore saved environment variables + if test "${save_LC_ALL+set}" = set; then + LC_ALL="$save_LC_ALL"; export LC_ALL + fi + if test "${save_LANG+set}" = set; then + LANG="$save_LANG"; export LANG + fi + + # Now prepare to actually exec the command. + exec_cmd="\$cmd$args" + else + # Display what would be done. + if test -n "$shlibpath_var"; then + eval "\$echo \"\$shlibpath_var=\$$shlibpath_var\"" + $echo "export $shlibpath_var" + fi + $echo "$cmd$args" + exit $EXIT_SUCCESS + fi + ;; + + # libtool clean and uninstall mode + clean | uninstall) + modename="$modename: $mode" + rm="$nonopt" + files= + rmforce= + exit_status=0 + + # This variable tells wrapper scripts just to set variables rather + # than running their programs. + libtool_install_magic="$magic" + + for arg + do + case $arg in + -f) rm="$rm $arg"; rmforce=yes ;; + -*) rm="$rm $arg" ;; + *) files="$files $arg" ;; + esac + done + + if test -z "$rm"; then + $echo "$modename: you must specify an RM program" 1>&2 + $echo "$help" 1>&2 + exit $EXIT_FAILURE + fi + + rmdirs= + + origobjdir="$objdir" + for file in $files; do + dir=`$echo "X$file" | $Xsed -e 's%/[^/]*$%%'` + if test "X$dir" = "X$file"; then + dir=. + objdir="$origobjdir" + else + objdir="$dir/$origobjdir" + fi + name=`$echo "X$file" | $Xsed -e 's%^.*/%%'` + test "$mode" = uninstall && objdir="$dir" + + # Remember objdir for removal later, being careful to avoid duplicates + if test "$mode" = clean; then + case " $rmdirs " in + *" $objdir "*) ;; + *) rmdirs="$rmdirs $objdir" ;; + esac + fi + + # Don't error if the file doesn't exist and rm -f was used. + if (test -L "$file") >/dev/null 2>&1 \ + || (test -h "$file") >/dev/null 2>&1 \ + || test -f "$file"; then + : + elif test -d "$file"; then + exit_status=1 + continue + elif test "$rmforce" = yes; then + continue + fi + + rmfiles="$file" + + case $name in + *.la) + # Possibly a libtool archive, so verify it. + if (${SED} -e '2q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then + . $dir/$name + + # Delete the libtool libraries and symlinks. + for n in $library_names; do + rmfiles="$rmfiles $objdir/$n" + done + test -n "$old_library" && rmfiles="$rmfiles $objdir/$old_library" + test "$mode" = clean && rmfiles="$rmfiles $objdir/$name $objdir/${name}i" + + if test "$mode" = uninstall; then + if test -n "$library_names"; then + # Do each command in the postuninstall commands. + cmds=$postuninstall_cmds + save_ifs="$IFS"; IFS='~' + for cmd in $cmds; do + IFS="$save_ifs" + eval cmd=\"$cmd\" + $show "$cmd" + $run eval "$cmd" + if test "$?" -ne 0 && test "$rmforce" != yes; then + exit_status=1 + fi + done + IFS="$save_ifs" + fi + + if test -n "$old_library"; then + # Do each command in the old_postuninstall commands. + cmds=$old_postuninstall_cmds + save_ifs="$IFS"; IFS='~' + for cmd in $cmds; do + IFS="$save_ifs" + eval cmd=\"$cmd\" + $show "$cmd" + $run eval "$cmd" + if test "$?" -ne 0 && test "$rmforce" != yes; then + exit_status=1 + fi + done + IFS="$save_ifs" + fi + # FIXME: should reinstall the best remaining shared library. + fi + fi + ;; + + *.lo) + # Possibly a libtool object, so verify it. + if (${SED} -e '2q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then + + # Read the .lo file + . $dir/$name + + # Add PIC object to the list of files to remove. + if test -n "$pic_object" \ + && test "$pic_object" != none; then + rmfiles="$rmfiles $dir/$pic_object" + fi + + # Add non-PIC object to the list of files to remove. + if test -n "$non_pic_object" \ + && test "$non_pic_object" != none; then + rmfiles="$rmfiles $dir/$non_pic_object" + fi + fi + ;; + + *) + if test "$mode" = clean ; then + noexename=$name + case $file in + *.exe) + file=`$echo $file|${SED} 's,.exe$,,'` + noexename=`$echo $name|${SED} 's,.exe$,,'` + # $file with .exe has already been added to rmfiles, + # add $file without .exe + rmfiles="$rmfiles $file" + ;; + esac + # Do a test to see if this is a libtool program. + if (${SED} -e '4q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then + relink_command= + . $dir/$noexename + + # note $name still contains .exe if it was in $file originally + # as does the version of $file that was added into $rmfiles + rmfiles="$rmfiles $objdir/$name $objdir/${name}S.${objext}" + if test "$fast_install" = yes && test -n "$relink_command"; then + rmfiles="$rmfiles $objdir/lt-$name" + fi + if test "X$noexename" != "X$name" ; then + rmfiles="$rmfiles $objdir/lt-${noexename}.c" + fi + fi + fi + ;; + esac + $show "$rm $rmfiles" + $run $rm $rmfiles || exit_status=1 + done + objdir="$origobjdir" + + # Try to remove the ${objdir}s in the directories where we deleted files + for dir in $rmdirs; do + if test -d "$dir"; then + $show "rmdir $dir" + $run rmdir $dir >/dev/null 2>&1 + fi + done + + exit $exit_status + ;; + + "") + $echo "$modename: you must specify a MODE" 1>&2 + $echo "$generic_help" 1>&2 + exit $EXIT_FAILURE + ;; + esac + + if test -z "$exec_cmd"; then + $echo "$modename: invalid operation mode \`$mode'" 1>&2 + $echo "$generic_help" 1>&2 + exit $EXIT_FAILURE + fi +fi # test -z "$show_help" + +if test -n "$exec_cmd"; then + eval exec $exec_cmd + exit $EXIT_FAILURE +fi + +# We need to display help for each of the modes. +case $mode in +"") $echo \ +"Usage: $modename [OPTION]... [MODE-ARG]... + +Provide generalized library-building support services. + + --config show all configuration variables + --debug enable verbose shell tracing +-n, --dry-run display commands without modifying any files + --features display basic configuration information and exit + --finish same as \`--mode=finish' + --help display this help message and exit + --mode=MODE use operation mode MODE [default=inferred from MODE-ARGS] + --quiet same as \`--silent' + --silent don't print informational messages + --tag=TAG use configuration variables from tag TAG + --version print version information + +MODE must be one of the following: + + clean remove files from the build directory + compile compile a source file into a libtool object + execute automatically set library path, then run a program + finish complete the installation of libtool libraries + install install libraries or executables + link create a library or an executable + uninstall remove libraries from an installed directory + +MODE-ARGS vary depending on the MODE. Try \`$modename --help --mode=MODE' for +a more detailed description of MODE. + +Report bugs to ." + exit $EXIT_SUCCESS + ;; + +clean) + $echo \ +"Usage: $modename [OPTION]... --mode=clean RM [RM-OPTION]... FILE... + +Remove files from the build directory. + +RM is the name of the program to use to delete files associated with each FILE +(typically \`/bin/rm'). RM-OPTIONS are options (such as \`-f') to be passed +to RM. + +If FILE is a libtool library, object or program, all the files associated +with it are deleted. Otherwise, only FILE itself is deleted using RM." + ;; + +compile) + $echo \ +"Usage: $modename [OPTION]... --mode=compile COMPILE-COMMAND... SOURCEFILE + +Compile a source file into a libtool library object. + +This mode accepts the following additional options: + + -o OUTPUT-FILE set the output file name to OUTPUT-FILE + -prefer-pic try to building PIC objects only + -prefer-non-pic try to building non-PIC objects only + -static always build a \`.o' file suitable for static linking + +COMPILE-COMMAND is a command to be used in creating a \`standard' object file +from the given SOURCEFILE. + +The output file name is determined by removing the directory component from +SOURCEFILE, then substituting the C source code suffix \`.c' with the +library object suffix, \`.lo'." + ;; + +execute) + $echo \ +"Usage: $modename [OPTION]... --mode=execute COMMAND [ARGS]... + +Automatically set library path, then run a program. + +This mode accepts the following additional options: + + -dlopen FILE add the directory containing FILE to the library path + +This mode sets the library path environment variable according to \`-dlopen' +flags. + +If any of the ARGS are libtool executable wrappers, then they are translated +into their corresponding uninstalled binary, and any of their required library +directories are added to the library path. + +Then, COMMAND is executed, with ARGS as arguments." + ;; + +finish) + $echo \ +"Usage: $modename [OPTION]... --mode=finish [LIBDIR]... + +Complete the installation of libtool libraries. + +Each LIBDIR is a directory that contains libtool libraries. + +The commands that this mode executes may require superuser privileges. Use +the \`--dry-run' option if you just want to see what would be executed." + ;; + +install) + $echo \ +"Usage: $modename [OPTION]... --mode=install INSTALL-COMMAND... + +Install executables or libraries. + +INSTALL-COMMAND is the installation command. The first component should be +either the \`install' or \`cp' program. + +The rest of the components are interpreted as arguments to that command (only +BSD-compatible install options are recognized)." + ;; + +link) + $echo \ +"Usage: $modename [OPTION]... --mode=link LINK-COMMAND... + +Link object files or libraries together to form another library, or to +create an executable program. + +LINK-COMMAND is a command using the C compiler that you would use to create +a program from several object files. + +The following components of LINK-COMMAND are treated specially: + + -all-static do not do any dynamic linking at all + -avoid-version do not add a version suffix if possible + -dlopen FILE \`-dlpreopen' FILE if it cannot be dlopened at runtime + -dlpreopen FILE link in FILE and add its symbols to lt_preloaded_symbols + -export-dynamic allow symbols from OUTPUT-FILE to be resolved with dlsym(3) + -export-symbols SYMFILE + try to export only the symbols listed in SYMFILE + -export-symbols-regex REGEX + try to export only the symbols matching REGEX + -LLIBDIR search LIBDIR for required installed libraries + -lNAME OUTPUT-FILE requires the installed library libNAME + -module build a library that can dlopened + -no-fast-install disable the fast-install mode + -no-install link a not-installable executable + -no-undefined declare that a library does not refer to external symbols + -o OUTPUT-FILE create OUTPUT-FILE from the specified objects + -objectlist FILE Use a list of object files found in FILE to specify objects + -precious-files-regex REGEX + don't remove output files matching REGEX + -release RELEASE specify package release information + -rpath LIBDIR the created library will eventually be installed in LIBDIR + -R[ ]LIBDIR add LIBDIR to the runtime path of programs and libraries + -static do not do any dynamic linking of libtool libraries + -version-info CURRENT[:REVISION[:AGE]] + specify library version info [each variable defaults to 0] + +All other options (arguments beginning with \`-') are ignored. + +Every other argument is treated as a filename. Files ending in \`.la' are +treated as uninstalled libtool libraries, other files are standard or library +object files. + +If the OUTPUT-FILE ends in \`.la', then a libtool library is created, +only library objects (\`.lo' files) may be specified, and \`-rpath' is +required, except when creating a convenience library. + +If OUTPUT-FILE ends in \`.a' or \`.lib', then a standard library is created +using \`ar' and \`ranlib', or on Windows using \`lib'. + +If OUTPUT-FILE ends in \`.lo' or \`.${objext}', then a reloadable object file +is created, otherwise an executable program is created." + ;; + +uninstall) + $echo \ +"Usage: $modename [OPTION]... --mode=uninstall RM [RM-OPTION]... FILE... + +Remove libraries from an installation directory. + +RM is the name of the program to use to delete files associated with each FILE +(typically \`/bin/rm'). RM-OPTIONS are options (such as \`-f') to be passed +to RM. + +If FILE is a libtool library, all the files associated with it are deleted. +Otherwise, only FILE itself is deleted using RM." + ;; + +*) + $echo "$modename: invalid operation mode \`$mode'" 1>&2 + $echo "$help" 1>&2 + exit $EXIT_FAILURE + ;; +esac + +$echo +$echo "Try \`$modename --help' for more information about other modes." + +exit $EXIT_SUCCESS + +# The TAGs below are defined such that we never get into a situation +# in which we disable both kinds of libraries. Given conflicting +# choices, we go for a static library, that is the most portable, +# since we can't tell whether shared libraries were disabled because +# the user asked for that or because the platform doesn't support +# them. This is particularly important on AIX, because we don't +# support having both static and shared libraries enabled at the same +# time on that platform, so we default to a shared-only configuration. +# If a disable-shared tag is given, we'll fallback to a static-only +# configuration. But we'll never go from static-only to shared-only. + +# ### BEGIN LIBTOOL TAG CONFIG: disable-shared +build_libtool_libs=no +build_old_libs=yes +# ### END LIBTOOL TAG CONFIG: disable-shared + +# ### BEGIN LIBTOOL TAG CONFIG: disable-static +build_old_libs=`case $build_libtool_libs in yes) $echo no;; *) $echo yes;; esac` +# ### END LIBTOOL TAG CONFIG: disable-static + +# Local Variables: +# mode:shell-script +# sh-indentation:2 +# End: diff --git a/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/missing b/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/missing new file mode 100644 index 000000000..e7ef83a1c --- /dev/null +++ b/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/missing @@ -0,0 +1,360 @@ +#! /bin/sh +# Common stub for a few missing GNU programs while installing. + +scriptversion=2003-09-02.23 + +# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003 +# Free Software Foundation, Inc. +# Originally by Fran,cois Pinard , 1996. + +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. + +# 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. + +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA +# 02111-1307, USA. + +# As a special exception to the GNU General Public License, if you +# distribute this file as part of a program that contains a +# configuration script generated by Autoconf, you may include it under +# the same distribution terms that you use for the rest of that program. + +if test $# -eq 0; then + echo 1>&2 "Try \`$0 --help' for more information" + exit 1 +fi + +run=: + +# In the cases where this matters, `missing' is being run in the +# srcdir already. +if test -f configure.ac; then + configure_ac=configure.ac +else + configure_ac=configure.in +fi + +msg="missing on your system" + +case "$1" in +--run) + # Try to run requested program, and just exit if it succeeds. + run= + shift + "$@" && exit 0 + # Exit code 63 means version mismatch. This often happens + # when the user try to use an ancient version of a tool on + # a file that requires a minimum version. In this case we + # we should proceed has if the program had been absent, or + # if --run hadn't been passed. + if test $? = 63; then + run=: + msg="probably too old" + fi + ;; +esac + +# If it does not exist, or fails to run (possibly an outdated version), +# try to emulate it. +case "$1" in + + -h|--h|--he|--hel|--help) + echo "\ +$0 [OPTION]... PROGRAM [ARGUMENT]... + +Handle \`PROGRAM [ARGUMENT]...' for when PROGRAM is missing, or return an +error status if there is no known handling for PROGRAM. + +Options: + -h, --help display this help and exit + -v, --version output version information and exit + --run try to run the given command, and emulate it if it fails + +Supported PROGRAM values: + aclocal touch file \`aclocal.m4' + autoconf touch file \`configure' + autoheader touch file \`config.h.in' + automake touch all \`Makefile.in' files + bison create \`y.tab.[ch]', if possible, from existing .[ch] + flex create \`lex.yy.c', if possible, from existing .c + help2man touch the output file + lex create \`lex.yy.c', if possible, from existing .c + makeinfo touch the output file + tar try tar, gnutar, gtar, then tar without non-portable flags + yacc create \`y.tab.[ch]', if possible, from existing .[ch] + +Send bug reports to ." + ;; + + -v|--v|--ve|--ver|--vers|--versi|--versio|--version) + echo "missing $scriptversion (GNU Automake)" + ;; + + -*) + echo 1>&2 "$0: Unknown \`$1' option" + echo 1>&2 "Try \`$0 --help' for more information" + exit 1 + ;; + + aclocal*) + if test -z "$run" && ($1 --version) > /dev/null 2>&1; then + # We have it, but it failed. + exit 1 + fi + + echo 1>&2 "\ +WARNING: \`$1' is $msg. You should only need it if + you modified \`acinclude.m4' or \`${configure_ac}'. You might want + to install the \`Automake' and \`Perl' packages. Grab them from + any GNU archive site." + touch aclocal.m4 + ;; + + autoconf) + if test -z "$run" && ($1 --version) > /dev/null 2>&1; then + # We have it, but it failed. + exit 1 + fi + + echo 1>&2 "\ +WARNING: \`$1' is $msg. You should only need it if + you modified \`${configure_ac}'. You might want to install the + \`Autoconf' and \`GNU m4' packages. Grab them from any GNU + archive site." + touch configure + ;; + + autoheader) + if test -z "$run" && ($1 --version) > /dev/null 2>&1; then + # We have it, but it failed. + exit 1 + fi + + echo 1>&2 "\ +WARNING: \`$1' is $msg. You should only need it if + you modified \`acconfig.h' or \`${configure_ac}'. You might want + to install the \`Autoconf' and \`GNU m4' packages. Grab them + from any GNU archive site." + files=`sed -n 's/^[ ]*A[CM]_CONFIG_HEADER(\([^)]*\)).*/\1/p' ${configure_ac}` + test -z "$files" && files="config.h" + touch_files= + for f in $files; do + case "$f" in + *:*) touch_files="$touch_files "`echo "$f" | + sed -e 's/^[^:]*://' -e 's/:.*//'`;; + *) touch_files="$touch_files $f.in";; + esac + done + touch $touch_files + ;; + + automake*) + if test -z "$run" && ($1 --version) > /dev/null 2>&1; then + # We have it, but it failed. + exit 1 + fi + + echo 1>&2 "\ +WARNING: \`$1' is $msg. You should only need it if + you modified \`Makefile.am', \`acinclude.m4' or \`${configure_ac}'. + You might want to install the \`Automake' and \`Perl' packages. + Grab them from any GNU archive site." + find . -type f -name Makefile.am -print | + sed 's/\.am$/.in/' | + while read f; do touch "$f"; done + ;; + + autom4te) + if test -z "$run" && ($1 --version) > /dev/null 2>&1; then + # We have it, but it failed. + exit 1 + fi + + echo 1>&2 "\ +WARNING: \`$1' is needed, but is $msg. + You might have modified some files without having the + proper tools for further handling them. + You can get \`$1' as part of \`Autoconf' from any GNU + archive site." + + file=`echo "$*" | sed -n 's/.*--output[ =]*\([^ ]*\).*/\1/p'` + test -z "$file" && file=`echo "$*" | sed -n 's/.*-o[ ]*\([^ ]*\).*/\1/p'` + if test -f "$file"; then + touch $file + else + test -z "$file" || exec >$file + echo "#! /bin/sh" + echo "# Created by GNU Automake missing as a replacement of" + echo "# $ $@" + echo "exit 0" + chmod +x $file + exit 1 + fi + ;; + + bison|yacc) + echo 1>&2 "\ +WARNING: \`$1' $msg. You should only need it if + you modified a \`.y' file. You may need the \`Bison' package + in order for those modifications to take effect. You can get + \`Bison' from any GNU archive site." + rm -f y.tab.c y.tab.h + if [ $# -ne 1 ]; then + eval LASTARG="\${$#}" + case "$LASTARG" in + *.y) + SRCFILE=`echo "$LASTARG" | sed 's/y$/c/'` + if [ -f "$SRCFILE" ]; then + cp "$SRCFILE" y.tab.c + fi + SRCFILE=`echo "$LASTARG" | sed 's/y$/h/'` + if [ -f "$SRCFILE" ]; then + cp "$SRCFILE" y.tab.h + fi + ;; + esac + fi + if [ ! -f y.tab.h ]; then + echo >y.tab.h + fi + if [ ! -f y.tab.c ]; then + echo 'main() { return 0; }' >y.tab.c + fi + ;; + + lex|flex) + echo 1>&2 "\ +WARNING: \`$1' is $msg. You should only need it if + you modified a \`.l' file. You may need the \`Flex' package + in order for those modifications to take effect. You can get + \`Flex' from any GNU archive site." + rm -f lex.yy.c + if [ $# -ne 1 ]; then + eval LASTARG="\${$#}" + case "$LASTARG" in + *.l) + SRCFILE=`echo "$LASTARG" | sed 's/l$/c/'` + if [ -f "$SRCFILE" ]; then + cp "$SRCFILE" lex.yy.c + fi + ;; + esac + fi + if [ ! -f lex.yy.c ]; then + echo 'main() { return 0; }' >lex.yy.c + fi + ;; + + help2man) + if test -z "$run" && ($1 --version) > /dev/null 2>&1; then + # We have it, but it failed. + exit 1 + fi + + echo 1>&2 "\ +WARNING: \`$1' is $msg. You should only need it if + you modified a dependency of a manual page. You may need the + \`Help2man' package in order for those modifications to take + effect. You can get \`Help2man' from any GNU archive site." + + file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'` + if test -z "$file"; then + file=`echo "$*" | sed -n 's/.*--output=\([^ ]*\).*/\1/p'` + fi + if [ -f "$file" ]; then + touch $file + else + test -z "$file" || exec >$file + echo ".ab help2man is required to generate this page" + exit 1 + fi + ;; + + makeinfo) + if test -z "$run" && (makeinfo --version) > /dev/null 2>&1; then + # We have makeinfo, but it failed. + exit 1 + fi + + echo 1>&2 "\ +WARNING: \`$1' is $msg. You should only need it if + you modified a \`.texi' or \`.texinfo' file, or any other file + indirectly affecting the aspect of the manual. The spurious + call might also be the consequence of using a buggy \`make' (AIX, + DU, IRIX). You might want to install the \`Texinfo' package or + the \`GNU make' package. Grab either from any GNU archive site." + file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'` + if test -z "$file"; then + file=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'` + file=`sed -n '/^@setfilename/ { s/.* \([^ ]*\) *$/\1/; p; q; }' $file` + fi + touch $file + ;; + + tar) + shift + if test -n "$run"; then + echo 1>&2 "ERROR: \`tar' requires --run" + exit 1 + fi + + # We have already tried tar in the generic part. + # Look for gnutar/gtar before invocation to avoid ugly error + # messages. + if (gnutar --version > /dev/null 2>&1); then + gnutar "$@" && exit 0 + fi + if (gtar --version > /dev/null 2>&1); then + gtar "$@" && exit 0 + fi + firstarg="$1" + if shift; then + case "$firstarg" in + *o*) + firstarg=`echo "$firstarg" | sed s/o//` + tar "$firstarg" "$@" && exit 0 + ;; + esac + case "$firstarg" in + *h*) + firstarg=`echo "$firstarg" | sed s/h//` + tar "$firstarg" "$@" && exit 0 + ;; + esac + fi + + echo 1>&2 "\ +WARNING: I can't seem to be able to run \`tar' with the given arguments. + You may want to install GNU tar or Free paxutils, or check the + command line arguments." + exit 1 + ;; + + *) + echo 1>&2 "\ +WARNING: \`$1' is needed, and is $msg. + You might have modified some files without having the + proper tools for further handling them. Check the \`README' file, + it often tells you about the needed prerequisites for installing + this package. You may also peek at any GNU archive site, in case + some other package would contain this missing \`$1' program." + exit 1 + ;; +esac + +exit 0 + +# Local variables: +# eval: (add-hook 'write-file-hooks 'time-stamp) +# time-stamp-start: "scriptversion=" +# time-stamp-format: "%:y-%02m-%02d.%02H" +# time-stamp-end: "$" +# End: diff --git a/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/stamp-h1 b/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/stamp-h1 new file mode 100644 index 000000000..4547fe1b5 --- /dev/null +++ b/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/stamp-h1 @@ -0,0 +1 @@ +timestamp for config.h diff --git a/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/tests/.deps/descriptor_test.Po b/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/tests/.deps/descriptor_test.Po new file mode 100644 index 000000000..3abc4396b --- /dev/null +++ b/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/tests/.deps/descriptor_test.Po @@ -0,0 +1,448 @@ +descriptor_test.o descriptor_test.o: descriptor_test.cpp \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/iostream \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/c++config.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/os_defines.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/features.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_config.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_arch_features.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/sys/cdefs.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/cpu_defines.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/ostream \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/ios \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/iosfwd \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/c++locale.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/clocale \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/locale.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/include/stddef.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_locale.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/cstring \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/cstddef \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/string.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/cstdio \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/stdio.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/types.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/wordsize.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/kernel_types.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/typesizes.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/pthreadtypes.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/sched.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_stdio.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_mutex.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/pthread.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/sched.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/time.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/time.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_clk_tck.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/signal.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/sigset.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/initspin.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/sigthread.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_pthread.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/include/stdarg.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/stdio_lim.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/cstdarg \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/c++io.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/gthr.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/gthr-default.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/unistd.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/posix_opt.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/environments.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/confname.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/getopt.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/cctype \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/ctype.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_touplow.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stringfwd.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/postypes.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/cwchar \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/ctime \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/stdint.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/functexcept.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/exception_defines.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/exception \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/char_traits.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_algobase.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/climits \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/include/limits.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/include/syslimits.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/limits.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/posix1_lim.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/local_lim.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/linux/limits.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_local_lim.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/posix2_lim.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/xopen_lim.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/cstdlib \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/stdlib.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/waitflags.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/waitstatus.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/endian.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/endian.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/sys/types.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/sys/select.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/select.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/sys/sysmacros.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/alloca.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_pair.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/cpp_type_traits.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/ext/type_traits.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/utility \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_relops.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_iterator_base_types.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_iterator_base_funcs.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/concept_check.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_iterator.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/debug/debug.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/localefwd.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/ios_base.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/ext/atomicity.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/atomic_word.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/locale_classes.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/string \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/memory \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/allocator.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/c++allocator.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/ext/new_allocator.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/new \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_construct.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_uninitialized.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_raw_storage_iter.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/limits \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/ostream_insert.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_function.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/basic_string.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/algorithm \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_algo.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_heap.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_tempbuf.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/basic_string.tcc \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/streambuf \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/streambuf.tcc \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/basic_ios.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/streambuf_iterator.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/locale_facets.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/cwctype \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/ctype_base.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/ctype_inline.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/codecvt.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/time_members.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/messages_members.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/basic_ios.tcc \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/ostream.tcc \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/locale \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/locale_facets.tcc \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/typeinfo \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/istream \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/istream.tcc \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/iomanip \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/functional \ + ../usbpp.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/list \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_list.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/list.tcc \ + ../usb.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/dirent.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/dirent.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/errno.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/errno.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/errno_values.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/sys/syscall.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/sysnum.h + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/iostream: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/c++config.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/os_defines.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/features.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_config.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_arch_features.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/sys/cdefs.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/cpu_defines.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/ostream: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/ios: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/iosfwd: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/c++locale.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/clocale: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/locale.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/include/stddef.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_locale.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/cstring: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/cstddef: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/string.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/cstdio: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/stdio.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/types.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/wordsize.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/kernel_types.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/typesizes.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/pthreadtypes.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/sched.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_stdio.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_mutex.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/pthread.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/sched.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/time.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/time.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_clk_tck.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/signal.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/sigset.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/initspin.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/sigthread.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_pthread.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/include/stdarg.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/stdio_lim.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/cstdarg: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/c++io.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/gthr.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/gthr-default.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/unistd.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/posix_opt.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/environments.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/confname.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/getopt.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/cctype: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/ctype.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_touplow.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stringfwd.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/postypes.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/cwchar: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/ctime: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/stdint.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/functexcept.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/exception_defines.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/exception: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/char_traits.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_algobase.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/climits: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/include/limits.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/include/syslimits.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/limits.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/posix1_lim.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/local_lim.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/linux/limits.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_local_lim.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/posix2_lim.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/xopen_lim.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/cstdlib: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/stdlib.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/waitflags.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/waitstatus.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/endian.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/endian.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/sys/types.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/sys/select.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/select.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/sys/sysmacros.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/alloca.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_pair.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/cpp_type_traits.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/ext/type_traits.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/utility: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_relops.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_iterator_base_types.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_iterator_base_funcs.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/concept_check.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_iterator.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/debug/debug.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/localefwd.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/ios_base.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/ext/atomicity.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/atomic_word.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/locale_classes.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/string: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/memory: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/allocator.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/c++allocator.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/ext/new_allocator.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/new: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_construct.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_uninitialized.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_raw_storage_iter.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/limits: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/ostream_insert.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_function.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/basic_string.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/algorithm: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_algo.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_heap.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_tempbuf.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/basic_string.tcc: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/streambuf: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/streambuf.tcc: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/basic_ios.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/streambuf_iterator.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/locale_facets.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/cwctype: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/ctype_base.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/ctype_inline.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/codecvt.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/time_members.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/messages_members.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/basic_ios.tcc: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/ostream.tcc: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/locale: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/locale_facets.tcc: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/typeinfo: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/istream: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/istream.tcc: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/iomanip: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/functional: + +../usbpp.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/list: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_list.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/list.tcc: + +../usb.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/dirent.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/dirent.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/errno.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/errno.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/errno_values.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/sys/syscall.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/sysnum.h: diff --git a/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/tests/.deps/driver_name.Po b/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/tests/.deps/driver_name.Po new file mode 100644 index 000000000..67d0c0ffa --- /dev/null +++ b/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/tests/.deps/driver_name.Po @@ -0,0 +1,448 @@ +driver_name.o driver_name.o: driver_name.cpp \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/iostream \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/c++config.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/os_defines.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/features.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_config.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_arch_features.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/sys/cdefs.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/cpu_defines.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/ostream \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/ios \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/iosfwd \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/c++locale.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/clocale \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/locale.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/include/stddef.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_locale.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/cstring \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/cstddef \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/string.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/cstdio \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/stdio.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/types.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/wordsize.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/kernel_types.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/typesizes.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/pthreadtypes.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/sched.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_stdio.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_mutex.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/pthread.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/sched.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/time.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/time.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_clk_tck.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/signal.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/sigset.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/initspin.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/sigthread.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_pthread.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/include/stdarg.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/stdio_lim.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/cstdarg \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/c++io.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/gthr.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/gthr-default.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/unistd.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/posix_opt.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/environments.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/confname.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/getopt.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/cctype \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/ctype.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_touplow.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stringfwd.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/postypes.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/cwchar \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/ctime \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/stdint.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/functexcept.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/exception_defines.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/exception \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/char_traits.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_algobase.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/climits \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/include/limits.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/include/syslimits.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/limits.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/posix1_lim.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/local_lim.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/linux/limits.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_local_lim.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/posix2_lim.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/xopen_lim.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/cstdlib \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/stdlib.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/waitflags.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/waitstatus.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/endian.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/endian.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/sys/types.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/sys/select.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/select.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/sys/sysmacros.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/alloca.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_pair.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/cpp_type_traits.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/ext/type_traits.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/utility \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_relops.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_iterator_base_types.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_iterator_base_funcs.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/concept_check.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_iterator.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/debug/debug.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/localefwd.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/ios_base.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/ext/atomicity.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/atomic_word.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/locale_classes.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/string \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/memory \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/allocator.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/c++allocator.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/ext/new_allocator.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/new \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_construct.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_uninitialized.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_raw_storage_iter.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/limits \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/ostream_insert.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_function.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/basic_string.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/algorithm \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_algo.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_heap.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_tempbuf.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/basic_string.tcc \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/streambuf \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/streambuf.tcc \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/basic_ios.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/streambuf_iterator.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/locale_facets.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/cwctype \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/ctype_base.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/ctype_inline.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/codecvt.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/time_members.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/messages_members.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/basic_ios.tcc \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/ostream.tcc \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/locale \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/locale_facets.tcc \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/typeinfo \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/istream \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/istream.tcc \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/iomanip \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/functional \ + ../usbpp.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/list \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_list.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/list.tcc \ + ../usb.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/dirent.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/dirent.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/errno.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/errno.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/errno_values.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/sys/syscall.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/sysnum.h + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/iostream: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/c++config.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/os_defines.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/features.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_config.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_arch_features.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/sys/cdefs.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/cpu_defines.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/ostream: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/ios: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/iosfwd: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/c++locale.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/clocale: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/locale.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/include/stddef.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_locale.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/cstring: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/cstddef: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/string.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/cstdio: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/stdio.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/types.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/wordsize.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/kernel_types.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/typesizes.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/pthreadtypes.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/sched.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_stdio.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_mutex.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/pthread.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/sched.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/time.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/time.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_clk_tck.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/signal.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/sigset.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/initspin.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/sigthread.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_pthread.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/include/stdarg.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/stdio_lim.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/cstdarg: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/c++io.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/gthr.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/gthr-default.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/unistd.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/posix_opt.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/environments.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/confname.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/getopt.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/cctype: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/ctype.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_touplow.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stringfwd.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/postypes.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/cwchar: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/ctime: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/stdint.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/functexcept.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/exception_defines.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/exception: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/char_traits.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_algobase.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/climits: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/include/limits.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/include/syslimits.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/limits.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/posix1_lim.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/local_lim.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/linux/limits.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_local_lim.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/posix2_lim.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/xopen_lim.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/cstdlib: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/stdlib.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/waitflags.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/waitstatus.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/endian.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/endian.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/sys/types.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/sys/select.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/select.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/sys/sysmacros.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/alloca.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_pair.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/cpp_type_traits.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/ext/type_traits.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/utility: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_relops.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_iterator_base_types.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_iterator_base_funcs.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/concept_check.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_iterator.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/debug/debug.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/localefwd.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/ios_base.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/ext/atomicity.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/atomic_word.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/locale_classes.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/string: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/memory: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/allocator.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/c++allocator.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/ext/new_allocator.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/new: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_construct.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_uninitialized.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_raw_storage_iter.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/limits: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/ostream_insert.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_function.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/basic_string.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/algorithm: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_algo.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_heap.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_tempbuf.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/basic_string.tcc: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/streambuf: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/streambuf.tcc: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/basic_ios.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/streambuf_iterator.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/locale_facets.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/cwctype: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/ctype_base.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/ctype_inline.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/codecvt.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/time_members.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/messages_members.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/basic_ios.tcc: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/ostream.tcc: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/locale: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/locale_facets.tcc: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/typeinfo: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/istream: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/istream.tcc: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/iomanip: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/functional: + +../usbpp.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/list: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_list.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/list.tcc: + +../usb.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/dirent.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/dirent.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/errno.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/errno.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/errno_values.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/sys/syscall.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/sysnum.h: diff --git a/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/tests/.deps/find_hubs.Po b/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/tests/.deps/find_hubs.Po new file mode 100644 index 000000000..4a83e817a --- /dev/null +++ b/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/tests/.deps/find_hubs.Po @@ -0,0 +1,448 @@ +find_hubs.o find_hubs.o: find_hubs.cpp \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/iostream \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/c++config.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/os_defines.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/features.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_config.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_arch_features.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/sys/cdefs.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/cpu_defines.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/ostream \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/ios \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/iosfwd \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/c++locale.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/clocale \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/locale.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/include/stddef.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_locale.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/cstring \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/cstddef \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/string.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/cstdio \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/stdio.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/types.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/wordsize.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/kernel_types.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/typesizes.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/pthreadtypes.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/sched.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_stdio.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_mutex.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/pthread.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/sched.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/time.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/time.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_clk_tck.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/signal.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/sigset.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/initspin.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/sigthread.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_pthread.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/include/stdarg.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/stdio_lim.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/cstdarg \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/c++io.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/gthr.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/gthr-default.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/unistd.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/posix_opt.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/environments.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/confname.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/getopt.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/cctype \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/ctype.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_touplow.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stringfwd.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/postypes.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/cwchar \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/ctime \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/stdint.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/functexcept.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/exception_defines.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/exception \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/char_traits.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_algobase.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/climits \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/include/limits.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/include/syslimits.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/limits.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/posix1_lim.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/local_lim.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/linux/limits.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_local_lim.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/posix2_lim.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/xopen_lim.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/cstdlib \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/stdlib.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/waitflags.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/waitstatus.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/endian.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/endian.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/sys/types.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/sys/select.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/select.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/sys/sysmacros.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/alloca.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_pair.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/cpp_type_traits.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/ext/type_traits.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/utility \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_relops.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_iterator_base_types.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_iterator_base_funcs.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/concept_check.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_iterator.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/debug/debug.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/localefwd.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/ios_base.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/ext/atomicity.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/atomic_word.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/locale_classes.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/string \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/memory \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/allocator.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/c++allocator.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/ext/new_allocator.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/new \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_construct.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_uninitialized.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_raw_storage_iter.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/limits \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/ostream_insert.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_function.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/basic_string.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/algorithm \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_algo.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_heap.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_tempbuf.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/basic_string.tcc \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/streambuf \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/streambuf.tcc \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/basic_ios.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/streambuf_iterator.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/locale_facets.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/cwctype \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/ctype_base.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/ctype_inline.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/codecvt.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/time_members.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/messages_members.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/basic_ios.tcc \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/ostream.tcc \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/locale \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/locale_facets.tcc \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/typeinfo \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/istream \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/istream.tcc \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/iomanip \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/functional \ + ../usbpp.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/list \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_list.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/list.tcc \ + ../usb.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/dirent.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/dirent.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/errno.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/errno.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/errno_values.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/sys/syscall.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/sysnum.h + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/iostream: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/c++config.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/os_defines.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/features.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_config.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_arch_features.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/sys/cdefs.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/cpu_defines.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/ostream: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/ios: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/iosfwd: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/c++locale.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/clocale: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/locale.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/include/stddef.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_locale.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/cstring: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/cstddef: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/string.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/cstdio: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/stdio.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/types.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/wordsize.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/kernel_types.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/typesizes.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/pthreadtypes.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/sched.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_stdio.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_mutex.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/pthread.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/sched.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/time.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/time.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_clk_tck.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/signal.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/sigset.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/initspin.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/sigthread.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_pthread.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/include/stdarg.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/stdio_lim.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/cstdarg: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/c++io.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/gthr.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/gthr-default.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/unistd.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/posix_opt.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/environments.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/confname.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/getopt.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/cctype: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/ctype.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_touplow.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stringfwd.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/postypes.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/cwchar: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/ctime: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/stdint.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/functexcept.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/exception_defines.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/exception: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/char_traits.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_algobase.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/climits: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/include/limits.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/include/syslimits.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/limits.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/posix1_lim.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/local_lim.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/linux/limits.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_local_lim.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/posix2_lim.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/xopen_lim.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/cstdlib: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/stdlib.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/waitflags.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/waitstatus.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/endian.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/endian.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/sys/types.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/sys/select.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/select.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/sys/sysmacros.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/alloca.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_pair.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/cpp_type_traits.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/ext/type_traits.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/utility: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_relops.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_iterator_base_types.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_iterator_base_funcs.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/concept_check.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_iterator.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/debug/debug.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/localefwd.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/ios_base.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/ext/atomicity.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/atomic_word.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/locale_classes.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/string: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/memory: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/allocator.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/c++allocator.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/ext/new_allocator.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/new: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_construct.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_uninitialized.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_raw_storage_iter.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/limits: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/ostream_insert.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_function.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/basic_string.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/algorithm: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_algo.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_heap.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_tempbuf.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/basic_string.tcc: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/streambuf: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/streambuf.tcc: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/basic_ios.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/streambuf_iterator.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/locale_facets.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/cwctype: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/ctype_base.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/ctype_inline.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/codecvt.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/time_members.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/messages_members.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/basic_ios.tcc: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/ostream.tcc: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/locale: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/locale_facets.tcc: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/typeinfo: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/istream: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/istream.tcc: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/iomanip: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/functional: + +../usbpp.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/list: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_list.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/list.tcc: + +../usb.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/dirent.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/dirent.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/errno.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/errno.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/errno_values.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/sys/syscall.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/sysnum.h: diff --git a/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/tests/.deps/find_mice.Po b/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/tests/.deps/find_mice.Po new file mode 100644 index 000000000..c869aa18e --- /dev/null +++ b/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/tests/.deps/find_mice.Po @@ -0,0 +1,448 @@ +find_mice.o find_mice.o: find_mice.cpp \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/iostream \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/c++config.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/os_defines.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/features.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_config.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_arch_features.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/sys/cdefs.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/cpu_defines.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/ostream \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/ios \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/iosfwd \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/c++locale.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/clocale \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/locale.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/include/stddef.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_locale.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/cstring \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/cstddef \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/string.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/cstdio \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/stdio.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/types.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/wordsize.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/kernel_types.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/typesizes.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/pthreadtypes.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/sched.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_stdio.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_mutex.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/pthread.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/sched.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/time.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/time.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_clk_tck.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/signal.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/sigset.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/initspin.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/sigthread.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_pthread.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/include/stdarg.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/stdio_lim.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/cstdarg \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/c++io.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/gthr.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/gthr-default.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/unistd.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/posix_opt.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/environments.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/confname.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/getopt.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/cctype \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/ctype.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_touplow.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stringfwd.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/postypes.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/cwchar \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/ctime \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/stdint.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/functexcept.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/exception_defines.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/exception \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/char_traits.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_algobase.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/climits \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/include/limits.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/include/syslimits.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/limits.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/posix1_lim.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/local_lim.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/linux/limits.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_local_lim.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/posix2_lim.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/xopen_lim.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/cstdlib \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/stdlib.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/waitflags.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/waitstatus.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/endian.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/endian.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/sys/types.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/sys/select.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/select.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/sys/sysmacros.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/alloca.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_pair.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/cpp_type_traits.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/ext/type_traits.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/utility \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_relops.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_iterator_base_types.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_iterator_base_funcs.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/concept_check.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_iterator.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/debug/debug.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/localefwd.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/ios_base.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/ext/atomicity.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/atomic_word.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/locale_classes.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/string \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/memory \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/allocator.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/c++allocator.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/ext/new_allocator.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/new \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_construct.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_uninitialized.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_raw_storage_iter.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/limits \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/ostream_insert.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_function.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/basic_string.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/algorithm \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_algo.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_heap.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_tempbuf.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/basic_string.tcc \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/streambuf \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/streambuf.tcc \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/basic_ios.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/streambuf_iterator.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/locale_facets.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/cwctype \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/ctype_base.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/ctype_inline.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/codecvt.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/time_members.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/messages_members.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/basic_ios.tcc \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/ostream.tcc \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/locale \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/locale_facets.tcc \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/typeinfo \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/istream \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/istream.tcc \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/iomanip \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/functional \ + ../usbpp.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/list \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_list.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/list.tcc \ + ../usb.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/dirent.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/dirent.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/errno.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/errno.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/errno_values.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/sys/syscall.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/sysnum.h + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/iostream: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/c++config.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/os_defines.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/features.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_config.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_arch_features.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/sys/cdefs.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/cpu_defines.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/ostream: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/ios: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/iosfwd: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/c++locale.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/clocale: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/locale.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/include/stddef.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_locale.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/cstring: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/cstddef: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/string.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/cstdio: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/stdio.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/types.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/wordsize.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/kernel_types.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/typesizes.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/pthreadtypes.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/sched.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_stdio.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_mutex.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/pthread.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/sched.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/time.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/time.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_clk_tck.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/signal.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/sigset.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/initspin.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/sigthread.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_pthread.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/include/stdarg.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/stdio_lim.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/cstdarg: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/c++io.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/gthr.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/gthr-default.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/unistd.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/posix_opt.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/environments.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/confname.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/getopt.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/cctype: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/ctype.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_touplow.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stringfwd.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/postypes.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/cwchar: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/ctime: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/stdint.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/functexcept.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/exception_defines.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/exception: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/char_traits.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_algobase.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/climits: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/include/limits.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/include/syslimits.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/limits.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/posix1_lim.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/local_lim.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/linux/limits.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_local_lim.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/posix2_lim.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/xopen_lim.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/cstdlib: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/stdlib.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/waitflags.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/waitstatus.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/endian.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/endian.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/sys/types.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/sys/select.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/select.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/sys/sysmacros.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/alloca.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_pair.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/cpp_type_traits.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/ext/type_traits.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/utility: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_relops.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_iterator_base_types.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_iterator_base_funcs.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/concept_check.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_iterator.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/debug/debug.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/localefwd.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/ios_base.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/ext/atomicity.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/atomic_word.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/locale_classes.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/string: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/memory: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/allocator.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/c++allocator.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/ext/new_allocator.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/new: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_construct.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_uninitialized.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_raw_storage_iter.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/limits: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/ostream_insert.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_function.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/basic_string.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/algorithm: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_algo.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_heap.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_tempbuf.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/basic_string.tcc: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/streambuf: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/streambuf.tcc: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/basic_ios.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/streambuf_iterator.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/locale_facets.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/cwctype: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/ctype_base.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/ctype_inline.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/codecvt.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/time_members.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/messages_members.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/basic_ios.tcc: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/ostream.tcc: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/locale: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/locale_facets.tcc: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/typeinfo: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/istream: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/istream.tcc: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/iomanip: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/functional: + +../usbpp.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/list: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_list.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/list.tcc: + +../usb.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/dirent.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/dirent.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/errno.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/errno.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/errno_values.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/sys/syscall.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/sysnum.h: diff --git a/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/tests/.deps/get_resolution.Po b/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/tests/.deps/get_resolution.Po new file mode 100644 index 000000000..1bc9ec5ba --- /dev/null +++ b/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/tests/.deps/get_resolution.Po @@ -0,0 +1,448 @@ +get_resolution.o get_resolution.o: get_resolution.cpp \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/iostream \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/c++config.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/os_defines.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/features.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_config.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_arch_features.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/sys/cdefs.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/cpu_defines.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/ostream \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/ios \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/iosfwd \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/c++locale.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/clocale \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/locale.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/include/stddef.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_locale.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/cstring \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/cstddef \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/string.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/cstdio \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/stdio.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/types.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/wordsize.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/kernel_types.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/typesizes.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/pthreadtypes.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/sched.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_stdio.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_mutex.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/pthread.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/sched.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/time.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/time.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_clk_tck.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/signal.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/sigset.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/initspin.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/sigthread.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_pthread.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/include/stdarg.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/stdio_lim.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/cstdarg \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/c++io.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/gthr.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/gthr-default.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/unistd.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/posix_opt.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/environments.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/confname.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/getopt.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/cctype \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/ctype.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_touplow.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stringfwd.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/postypes.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/cwchar \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/ctime \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/stdint.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/functexcept.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/exception_defines.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/exception \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/char_traits.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_algobase.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/climits \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/include/limits.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/include/syslimits.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/limits.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/posix1_lim.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/local_lim.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/linux/limits.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_local_lim.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/posix2_lim.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/xopen_lim.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/cstdlib \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/stdlib.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/waitflags.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/waitstatus.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/endian.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/endian.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/sys/types.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/sys/select.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/select.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/sys/sysmacros.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/alloca.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_pair.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/cpp_type_traits.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/ext/type_traits.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/utility \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_relops.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_iterator_base_types.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_iterator_base_funcs.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/concept_check.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_iterator.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/debug/debug.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/localefwd.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/ios_base.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/ext/atomicity.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/atomic_word.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/locale_classes.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/string \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/memory \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/allocator.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/c++allocator.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/ext/new_allocator.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/new \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_construct.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_uninitialized.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_raw_storage_iter.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/limits \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/ostream_insert.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_function.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/basic_string.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/algorithm \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_algo.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_heap.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_tempbuf.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/basic_string.tcc \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/streambuf \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/streambuf.tcc \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/basic_ios.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/streambuf_iterator.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/locale_facets.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/cwctype \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/ctype_base.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/ctype_inline.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/codecvt.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/time_members.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/messages_members.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/basic_ios.tcc \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/ostream.tcc \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/locale \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/locale_facets.tcc \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/typeinfo \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/istream \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/istream.tcc \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/iomanip \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/functional \ + ../usbpp.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/list \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_list.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/list.tcc \ + ../usb.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/dirent.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/dirent.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/errno.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/errno.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/errno_values.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/sys/syscall.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/sysnum.h + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/iostream: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/c++config.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/os_defines.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/features.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_config.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_arch_features.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/sys/cdefs.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/cpu_defines.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/ostream: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/ios: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/iosfwd: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/c++locale.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/clocale: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/locale.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/include/stddef.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_locale.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/cstring: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/cstddef: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/string.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/cstdio: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/stdio.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/types.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/wordsize.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/kernel_types.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/typesizes.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/pthreadtypes.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/sched.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_stdio.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_mutex.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/pthread.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/sched.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/time.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/time.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_clk_tck.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/signal.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/sigset.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/initspin.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/sigthread.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_pthread.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/include/stdarg.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/stdio_lim.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/cstdarg: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/c++io.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/gthr.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/gthr-default.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/unistd.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/posix_opt.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/environments.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/confname.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/getopt.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/cctype: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/ctype.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_touplow.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stringfwd.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/postypes.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/cwchar: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/ctime: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/stdint.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/functexcept.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/exception_defines.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/exception: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/char_traits.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_algobase.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/climits: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/include/limits.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/include/syslimits.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/limits.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/posix1_lim.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/local_lim.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/linux/limits.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_local_lim.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/posix2_lim.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/xopen_lim.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/cstdlib: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/stdlib.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/waitflags.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/waitstatus.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/endian.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/endian.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/sys/types.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/sys/select.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/select.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/sys/sysmacros.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/alloca.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_pair.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/cpp_type_traits.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/ext/type_traits.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/utility: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_relops.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_iterator_base_types.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_iterator_base_funcs.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/concept_check.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_iterator.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/debug/debug.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/localefwd.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/ios_base.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/ext/atomicity.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/atomic_word.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/locale_classes.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/string: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/memory: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/allocator.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/c++allocator.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/ext/new_allocator.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/new: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_construct.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_uninitialized.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_raw_storage_iter.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/limits: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/ostream_insert.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_function.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/basic_string.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/algorithm: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_algo.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_heap.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_tempbuf.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/basic_string.tcc: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/streambuf: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/streambuf.tcc: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/basic_ios.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/streambuf_iterator.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/locale_facets.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/cwctype: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/ctype_base.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/ctype_inline.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/codecvt.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/time_members.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/messages_members.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/basic_ios.tcc: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/ostream.tcc: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/locale: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/locale_facets.tcc: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/typeinfo: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/istream: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/istream.tcc: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/iomanip: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/functional: + +../usbpp.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/list: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_list.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/list.tcc: + +../usb.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/dirent.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/dirent.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/errno.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/errno.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/errno_values.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/sys/syscall.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/sysnum.h: diff --git a/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/tests/.deps/hub_strings.Po b/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/tests/.deps/hub_strings.Po new file mode 100644 index 000000000..5141dad93 --- /dev/null +++ b/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/tests/.deps/hub_strings.Po @@ -0,0 +1,448 @@ +hub_strings.o hub_strings.o: hub_strings.cpp \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/iostream \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/c++config.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/os_defines.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/features.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_config.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_arch_features.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/sys/cdefs.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/cpu_defines.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/ostream \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/ios \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/iosfwd \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/c++locale.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/clocale \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/locale.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/include/stddef.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_locale.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/cstring \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/cstddef \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/string.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/cstdio \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/stdio.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/types.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/wordsize.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/kernel_types.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/typesizes.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/pthreadtypes.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/sched.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_stdio.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_mutex.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/pthread.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/sched.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/time.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/time.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_clk_tck.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/signal.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/sigset.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/initspin.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/sigthread.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_pthread.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/include/stdarg.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/stdio_lim.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/cstdarg \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/c++io.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/gthr.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/gthr-default.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/unistd.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/posix_opt.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/environments.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/confname.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/getopt.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/cctype \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/ctype.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_touplow.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stringfwd.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/postypes.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/cwchar \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/ctime \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/stdint.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/functexcept.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/exception_defines.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/exception \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/char_traits.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_algobase.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/climits \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/include/limits.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/include/syslimits.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/limits.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/posix1_lim.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/local_lim.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/linux/limits.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_local_lim.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/posix2_lim.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/xopen_lim.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/cstdlib \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/stdlib.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/waitflags.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/waitstatus.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/endian.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/endian.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/sys/types.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/sys/select.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/select.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/sys/sysmacros.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/alloca.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_pair.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/cpp_type_traits.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/ext/type_traits.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/utility \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_relops.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_iterator_base_types.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_iterator_base_funcs.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/concept_check.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_iterator.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/debug/debug.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/localefwd.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/ios_base.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/ext/atomicity.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/atomic_word.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/locale_classes.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/string \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/memory \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/allocator.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/c++allocator.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/ext/new_allocator.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/new \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_construct.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_uninitialized.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_raw_storage_iter.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/limits \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/ostream_insert.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_function.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/basic_string.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/algorithm \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_algo.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_heap.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_tempbuf.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/basic_string.tcc \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/streambuf \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/streambuf.tcc \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/basic_ios.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/streambuf_iterator.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/locale_facets.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/cwctype \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/ctype_base.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/ctype_inline.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/codecvt.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/time_members.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/messages_members.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/basic_ios.tcc \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/ostream.tcc \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/locale \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/locale_facets.tcc \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/typeinfo \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/istream \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/istream.tcc \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/iomanip \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/functional \ + ../usbpp.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/list \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_list.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/list.tcc \ + ../usb.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/dirent.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/dirent.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/errno.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/errno.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/errno_values.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/sys/syscall.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/sysnum.h + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/iostream: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/c++config.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/os_defines.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/features.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_config.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_arch_features.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/sys/cdefs.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/cpu_defines.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/ostream: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/ios: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/iosfwd: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/c++locale.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/clocale: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/locale.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/include/stddef.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_locale.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/cstring: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/cstddef: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/string.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/cstdio: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/stdio.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/types.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/wordsize.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/kernel_types.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/typesizes.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/pthreadtypes.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/sched.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_stdio.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_mutex.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/pthread.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/sched.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/time.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/time.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_clk_tck.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/signal.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/sigset.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/initspin.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/sigthread.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_pthread.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/include/stdarg.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/stdio_lim.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/cstdarg: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/c++io.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/gthr.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/gthr-default.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/unistd.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/posix_opt.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/environments.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/confname.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/getopt.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/cctype: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/ctype.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_touplow.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stringfwd.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/postypes.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/cwchar: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/ctime: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/stdint.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/functexcept.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/exception_defines.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/exception: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/char_traits.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_algobase.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/climits: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/include/limits.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/include/syslimits.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/limits.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/posix1_lim.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/local_lim.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/linux/limits.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_local_lim.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/posix2_lim.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/xopen_lim.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/cstdlib: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/stdlib.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/waitflags.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/waitstatus.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/endian.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/endian.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/sys/types.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/sys/select.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/select.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/sys/sysmacros.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/alloca.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_pair.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/cpp_type_traits.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/ext/type_traits.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/utility: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_relops.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_iterator_base_types.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_iterator_base_funcs.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/concept_check.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_iterator.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/debug/debug.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/localefwd.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/ios_base.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/ext/atomicity.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/atomic_word.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/locale_classes.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/string: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/memory: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/allocator.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/c++allocator.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/ext/new_allocator.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/new: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_construct.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_uninitialized.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_raw_storage_iter.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/limits: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/ostream_insert.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_function.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/basic_string.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/algorithm: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_algo.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_heap.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_tempbuf.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/basic_string.tcc: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/streambuf: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/streambuf.tcc: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/basic_ios.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/streambuf_iterator.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/locale_facets.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/cwctype: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/ctype_base.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/ctype_inline.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/codecvt.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/time_members.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/messages_members.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/basic_ios.tcc: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/ostream.tcc: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/locale: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/locale_facets.tcc: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/typeinfo: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/istream: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/istream.tcc: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/iomanip: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/functional: + +../usbpp.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/list: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_list.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/list.tcc: + +../usb.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/dirent.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/dirent.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/errno.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/errno.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/errno_values.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/sys/syscall.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/sysnum.h: diff --git a/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/tests/.deps/id_test.Po b/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/tests/.deps/id_test.Po new file mode 100644 index 000000000..de2d9aba3 --- /dev/null +++ b/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/tests/.deps/id_test.Po @@ -0,0 +1,448 @@ +id_test.o id_test.o: id_test.cpp \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/iostream \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/c++config.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/os_defines.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/features.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_config.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_arch_features.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/sys/cdefs.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/cpu_defines.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/ostream \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/ios \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/iosfwd \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/c++locale.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/clocale \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/locale.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/include/stddef.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_locale.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/cstring \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/cstddef \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/string.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/cstdio \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/stdio.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/types.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/wordsize.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/kernel_types.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/typesizes.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/pthreadtypes.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/sched.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_stdio.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_mutex.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/pthread.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/sched.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/time.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/time.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_clk_tck.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/signal.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/sigset.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/initspin.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/sigthread.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_pthread.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/include/stdarg.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/stdio_lim.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/cstdarg \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/c++io.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/gthr.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/gthr-default.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/unistd.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/posix_opt.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/environments.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/confname.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/getopt.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/cctype \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/ctype.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_touplow.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stringfwd.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/postypes.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/cwchar \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/ctime \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/stdint.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/functexcept.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/exception_defines.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/exception \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/char_traits.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_algobase.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/climits \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/include/limits.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/include/syslimits.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/limits.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/posix1_lim.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/local_lim.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/linux/limits.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_local_lim.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/posix2_lim.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/xopen_lim.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/cstdlib \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/stdlib.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/waitflags.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/waitstatus.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/endian.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/endian.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/sys/types.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/sys/select.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/select.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/sys/sysmacros.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/alloca.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_pair.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/cpp_type_traits.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/ext/type_traits.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/utility \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_relops.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_iterator_base_types.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_iterator_base_funcs.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/concept_check.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_iterator.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/debug/debug.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/localefwd.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/ios_base.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/ext/atomicity.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/atomic_word.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/locale_classes.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/string \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/memory \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/allocator.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/c++allocator.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/ext/new_allocator.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/new \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_construct.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_uninitialized.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_raw_storage_iter.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/limits \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/ostream_insert.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_function.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/basic_string.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/algorithm \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_algo.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_heap.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_tempbuf.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/basic_string.tcc \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/streambuf \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/streambuf.tcc \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/basic_ios.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/streambuf_iterator.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/locale_facets.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/cwctype \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/ctype_base.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/ctype_inline.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/codecvt.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/time_members.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/messages_members.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/basic_ios.tcc \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/ostream.tcc \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/locale \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/locale_facets.tcc \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/typeinfo \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/istream \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/istream.tcc \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/iomanip \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/functional \ + ../usbpp.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/list \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_list.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/list.tcc \ + ../usb.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/dirent.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/dirent.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/errno.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/errno.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/errno_values.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/sys/syscall.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/sysnum.h + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/iostream: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/c++config.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/os_defines.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/features.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_config.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_arch_features.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/sys/cdefs.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/cpu_defines.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/ostream: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/ios: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/iosfwd: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/c++locale.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/clocale: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/locale.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/include/stddef.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_locale.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/cstring: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/cstddef: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/string.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/cstdio: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/stdio.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/types.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/wordsize.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/kernel_types.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/typesizes.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/pthreadtypes.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/sched.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_stdio.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_mutex.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/pthread.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/sched.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/time.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/time.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_clk_tck.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/signal.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/sigset.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/initspin.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/sigthread.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_pthread.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/include/stdarg.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/stdio_lim.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/cstdarg: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/c++io.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/gthr.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/gthr-default.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/unistd.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/posix_opt.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/environments.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/confname.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/getopt.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/cctype: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/ctype.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_touplow.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stringfwd.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/postypes.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/cwchar: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/ctime: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/stdint.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/functexcept.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/exception_defines.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/exception: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/char_traits.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_algobase.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/climits: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/include/limits.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/include/syslimits.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/limits.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/posix1_lim.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/local_lim.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/linux/limits.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_local_lim.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/posix2_lim.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/xopen_lim.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/cstdlib: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/stdlib.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/waitflags.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/waitstatus.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/endian.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/endian.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/sys/types.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/sys/select.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/select.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/sys/sysmacros.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/alloca.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_pair.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/cpp_type_traits.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/ext/type_traits.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/utility: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_relops.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_iterator_base_types.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_iterator_base_funcs.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/concept_check.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_iterator.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/debug/debug.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/localefwd.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/ios_base.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/ext/atomicity.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/atomic_word.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/locale_classes.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/string: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/memory: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/allocator.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/c++allocator.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/ext/new_allocator.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/new: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_construct.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_uninitialized.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_raw_storage_iter.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/limits: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/ostream_insert.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_function.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/basic_string.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/algorithm: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_algo.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_heap.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_tempbuf.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/basic_string.tcc: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/streambuf: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/streambuf.tcc: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/basic_ios.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/streambuf_iterator.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/locale_facets.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/cwctype: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/ctype_base.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/ctype_inline.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/codecvt.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/time_members.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/mipsel-linux-uclibc/bits/messages_members.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/basic_ios.tcc: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/ostream.tcc: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/locale: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/locale_facets.tcc: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/typeinfo: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/istream: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/istream.tcc: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/iomanip: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/functional: + +../usbpp.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/list: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/stl_list.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/include/c++/4.2.3/bits/list.tcc: + +../usb.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/dirent.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/dirent.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/errno.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/errno.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/errno_values.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/sys/syscall.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/sysnum.h: diff --git a/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/tests/.deps/testlibusb.Po b/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/tests/.deps/testlibusb.Po new file mode 100644 index 000000000..c9a7ac938 --- /dev/null +++ b/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/tests/.deps/testlibusb.Po @@ -0,0 +1,166 @@ +testlibusb.o testlibusb.o: testlibusb.c \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/stdio.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/features.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_config.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_arch_features.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/sys/cdefs.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/include/stddef.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/types.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/wordsize.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/kernel_types.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/typesizes.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/pthreadtypes.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/sched.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_stdio.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_mutex.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/pthread.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/sched.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/time.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/time.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_clk_tck.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/signal.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/sigset.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/initspin.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/sigthread.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_pthread.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/include/stdarg.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/stdio_lim.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/string.h \ + ../usb.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/unistd.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/posix_opt.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/confname.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/getopt.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/stdlib.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/sys/types.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/endian.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/endian.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/sys/select.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/select.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/sys/sysmacros.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/alloca.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/include/limits.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/include/syslimits.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/limits.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/posix1_lim.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/local_lim.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/linux/limits.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_local_lim.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/posix2_lim.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/dirent.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/dirent.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/errno.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/errno.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/errno_values.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/sys/syscall.h \ + /home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/sysnum.h + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/stdio.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/features.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_config.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_arch_features.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/sys/cdefs.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/include/stddef.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/types.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/wordsize.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/kernel_types.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/typesizes.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/pthreadtypes.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/sched.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_stdio.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_mutex.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/pthread.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/sched.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/time.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/time.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_clk_tck.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/signal.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/sigset.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/initspin.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/sigthread.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_pthread.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/include/stdarg.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/stdio_lim.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/string.h: + +../usb.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/unistd.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/posix_opt.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/confname.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/getopt.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/stdlib.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/sys/types.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/endian.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/endian.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/sys/select.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/select.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/sys/sysmacros.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/alloca.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/include/limits.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/include/syslimits.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/limits.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/posix1_lim.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/local_lim.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/linux/limits.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_local_lim.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/posix2_lim.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/dirent.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/dirent.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/errno.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/errno.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/errno_values.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/sys/syscall.h: + +/home/qingheng/BCM947186/platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/../lib/gcc/mipsel-linux-uclibc/4.2.3/../../../../mipsel-linux-uclibc/sys-include/bits/sysnum.h: diff --git a/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/tests/Makefile b/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/tests/Makefile new file mode 100644 index 000000000..3915ead57 --- /dev/null +++ b/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/tests/Makefile @@ -0,0 +1,640 @@ +# Makefile.in generated by automake 1.8.3 from Makefile.am. +# tests/Makefile. Generated from Makefile.in by configure. + +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +# 2003, 2004 Free Software Foundation, Inc. +# This Makefile.in is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + + + +SOURCES = $(descriptor_test_SOURCES) $(driver_name_SOURCES) $(find_hubs_SOURCES) $(find_mice_SOURCES) $(get_resolution_SOURCES) $(hub_strings_SOURCES) $(id_test_SOURCES) testlibusb.c + +srcdir = . +top_srcdir = .. + +pkgdatadir = $(datadir)/libusb +pkglibdir = $(libdir)/libusb +pkgincludedir = $(includedir)/libusb +top_builddir = .. +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd +INSTALL = /usr/bin/install -c +install_sh_DATA = $(install_sh) -c -m 644 +install_sh_PROGRAM = $(install_sh) -c +install_sh_SCRIPT = $(install_sh) -c +INSTALL_HEADER = $(INSTALL_DATA) +transform = $(program_transform_name) +NORMAL_INSTALL = : +PRE_INSTALL = : +POST_INSTALL = : +NORMAL_UNINSTALL = : +PRE_UNINSTALL = : +POST_UNINSTALL = : +host_triplet = mipsel-uclibc-linux-gnu26 +noinst_PROGRAMS = testlibusb$(EXEEXT) descriptor_test$(EXEEXT) \ + id_test$(EXEEXT) find_hubs$(EXEEXT) find_mice$(EXEEXT) \ + get_resolution$(EXEEXT) hub_strings$(EXEEXT) $(am__EXEEXT_1) +subdir = tests +DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \ + $(top_srcdir)/configure.in +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ + $(ACLOCAL_M4) +mkinstalldirs = $(mkdir_p) +CONFIG_HEADER = $(top_builddir)/config.h +CONFIG_CLEAN_FILES = +am__EXEEXT_1 = driver_name$(EXEEXT) +PROGRAMS = $(noinst_PROGRAMS) +am_descriptor_test_OBJECTS = descriptor_test.$(OBJEXT) +descriptor_test_OBJECTS = $(am_descriptor_test_OBJECTS) +descriptor_test_DEPENDENCIES = $(top_builddir)/libusbpp.la +am_driver_name_OBJECTS = driver_name.$(OBJEXT) +driver_name_OBJECTS = $(am_driver_name_OBJECTS) +driver_name_DEPENDENCIES = $(top_builddir)/libusbpp.la +am_find_hubs_OBJECTS = find_hubs.$(OBJEXT) +find_hubs_OBJECTS = $(am_find_hubs_OBJECTS) +find_hubs_DEPENDENCIES = $(top_builddir)/libusbpp.la +am_find_mice_OBJECTS = find_mice.$(OBJEXT) +find_mice_OBJECTS = $(am_find_mice_OBJECTS) +find_mice_DEPENDENCIES = $(top_builddir)/libusbpp.la +am_get_resolution_OBJECTS = get_resolution.$(OBJEXT) +get_resolution_OBJECTS = $(am_get_resolution_OBJECTS) +get_resolution_DEPENDENCIES = $(top_builddir)/libusbpp.la +am_hub_strings_OBJECTS = hub_strings.$(OBJEXT) +hub_strings_OBJECTS = $(am_hub_strings_OBJECTS) +hub_strings_DEPENDENCIES = $(top_builddir)/libusbpp.la +am_id_test_OBJECTS = id_test.$(OBJEXT) +id_test_OBJECTS = $(am_id_test_OBJECTS) +id_test_DEPENDENCIES = $(top_builddir)/libusbpp.la +testlibusb_SOURCES = testlibusb.c +testlibusb_OBJECTS = testlibusb.$(OBJEXT) +testlibusb_DEPENDENCIES = $(top_builddir)/libusb.la +DEFAULT_INCLUDES = +depcomp = $(SHELL) $(top_srcdir)/depcomp +am__depfiles_maybe = depfiles +DEP_FILES = ./$(DEPDIR)/descriptor_test.Po \ + ./$(DEPDIR)/driver_name.Po \ + ./$(DEPDIR)/find_hubs.Po ./$(DEPDIR)/find_mice.Po \ + ./$(DEPDIR)/get_resolution.Po \ + ./$(DEPDIR)/hub_strings.Po ./$(DEPDIR)/id_test.Po \ + ./$(DEPDIR)/testlibusb.Po +COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ + $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) +LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) \ + $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ + $(AM_CFLAGS) $(CFLAGS) +CCLD = $(CC) +LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ + $(AM_LDFLAGS) $(LDFLAGS) -o $@ +CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ + $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) +LTCXXCOMPILE = $(LIBTOOL) --mode=compile $(CXX) $(DEFS) \ + $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ + $(AM_CXXFLAGS) $(CXXFLAGS) +CXXLD = $(CXX) +CXXLINK = $(LIBTOOL) --mode=link $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) \ + $(AM_LDFLAGS) $(LDFLAGS) -o $@ +SOURCES = $(descriptor_test_SOURCES) $(driver_name_SOURCES) \ + $(find_hubs_SOURCES) $(find_mice_SOURCES) \ + $(get_resolution_SOURCES) $(hub_strings_SOURCES) \ + $(id_test_SOURCES) testlibusb.c +DIST_SOURCES = $(descriptor_test_SOURCES) $(driver_name_SOURCES) \ + $(find_hubs_SOURCES) $(find_mice_SOURCES) \ + $(get_resolution_SOURCES) $(hub_strings_SOURCES) \ + $(id_test_SOURCES) testlibusb.c +ETAGS = etags +CTAGS = ctags +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +ACLOCAL = ${SHELL} /home/qingheng/BCM947186/driver/BCM43241-DHD/dhd/sources/src/usbdev/libusb/missing --run aclocal-1.8 +AMDEP_FALSE = # +AMDEP_TRUE = +AMTAR = ${SHELL} /home/qingheng/BCM947186/driver/BCM43241-DHD/dhd/sources/src/usbdev/libusb/missing --run tar +AR = ar +AUTOCONF = ${SHELL} /home/qingheng/BCM947186/driver/BCM43241-DHD/dhd/sources/src/usbdev/libusb/missing --run autoconf +AUTOHEADER = ${SHELL} /home/qingheng/BCM947186/driver/BCM43241-DHD/dhd/sources/src/usbdev/libusb/missing --run autoheader +AUTOMAKE = ${SHELL} /home/qingheng/BCM947186/driver/BCM43241-DHD/dhd/sources/src/usbdev/libusb/missing --run automake-1.8 +AWK = gawk +BIGENDIAN = 0 +BSD_API = 0 +BSD_API_FALSE = +BSD_API_TRUE = # +BUILD_DOCS_FALSE = +BUILD_DOCS_TRUE = # +CC = /home/qingheng/BCM947186/build_script/43241/../../platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/mipsel-uclibc-linux26-gcc +CCDEPMODE = depmode=gcc3 +CFLAGS = -g -O2 -g -Wall +CPP = /home/qingheng/BCM947186/build_script/43241/../../platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/mipsel-uclibc-linux26-gcc -E +CPPFLAGS = +CXX = /home/qingheng/BCM947186/build_script/43241/../../platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/mipsel-uclibc-linux26-g++ +CXXCPP = /home/qingheng/BCM947186/build_script/43241/../../platform/BCM947186HSICH/toolchain/hndtools-mipsel-linux-uclibc-4.2.3/bin/mipsel-uclibc-linux26-g++ -E +CXXDEPMODE = depmode=gcc3 +CXXFLAGS = -g -O2 +CYGPATH_W = echo +DARWIN_API = 0 +DARWIN_API_FALSE = +DARWIN_API_TRUE = # +DEFS = -DHAVE_CONFIG_H +DEPDIR = .deps +DOXYGEN = +DOXYGEN_PROJECT_NAME = LIBUSB C++ API Reference +DOXYGEN_PROJECT_NUMBER = Version 0.1.12 +ECHO = echo +ECHO_C = +ECHO_N = -n +ECHO_T = +EGREP = /bin/grep -E +EXEEXT = +F77 = +FFLAGS = +INSTALL_DATA = ${INSTALL} -m 644 +INSTALL_PROGRAM = ${INSTALL} +INSTALL_SCRIPT = ${INSTALL} +INSTALL_STRIP_PROGRAM = ${SHELL} $(install_sh) -c -s +JADE = +LDFLAGS = +LIBOBJS = +LIBS = +LIBTOOL = $(SHELL) $(top_builddir)/libtool --tag CC +LIBUSB_BINARY_AGE = 8 +LIBUSB_HAS_DOXYGEN = no +LIBUSB_HAVE_DOT = NO +LIBUSB_INTERFACE_AGE = 4 +LIBUSB_MAJOR_VERSION = 0 +LIBUSB_MICRO_VERSION = 12 +LIBUSB_MINOR_VERSION = 1 +LIBUSB_VERSION = 0.1.12 +LINUX_API = 1 +LINUX_API_FALSE = # +LINUX_API_TRUE = +LN_S = ln -s +LTLIBOBJS = +LT_AGE = 4 +LT_CURRENT = 8 +LT_RELEASE = 0.1 +LT_REVISION = 4 +MAKEINFO = ${SHELL} /home/qingheng/BCM947186/driver/BCM43241-DHD/dhd/sources/src/usbdev/libusb/missing --run makeinfo +OBJEXT = o +OSLIBS = +PACKAGE = libusb +PACKAGE_BUGREPORT = +PACKAGE_NAME = libusb +PACKAGE_STRING = libusb 0.1.12 +PACKAGE_TARNAME = libusb +PACKAGE_VERSION = 0.1.12 +PATH_SEPARATOR = : +PKG_CONFIG = /usr/bin/pkg-config +RANLIB = ranlib +SET_MAKE = +SHELL = /bin/sh +STRIP = strip +VERSION = 0.1.12 +ac_ct_AR = @ac_ct_AR@ +ac_ct_CC = +ac_ct_CXX = +ac_ct_F77 = +ac_ct_RANLIB = @ac_ct_RANLIB@ +ac_ct_STRIP = @ac_ct_STRIP@ +am__fastdepCC_FALSE = # +am__fastdepCC_TRUE = +am__fastdepCXX_FALSE = # +am__fastdepCXX_TRUE = +am__include = include +am__leading_dot = . +am__quote = +bindir = ${exec_prefix}/bin +build = x86_64-unknown-linux-gnu +build_alias = +build_cpu = x86_64 +build_os = linux-gnu +build_vendor = unknown +datadir = ${prefix}/share +exec_prefix = ${prefix} +host = mipsel-uclibc-linux-gnu26 +host_alias = mipsel-uclibc-linux26 +host_cpu = mipsel +host_os = linux-gnu26 +host_vendor = uclibc +includedir = ${prefix}/include +infodir = ${prefix}/share/info +install_sh = /home/qingheng/BCM947186/driver/BCM43241-DHD/dhd/sources/src/usbdev/libusb/install-sh +libdir = ${exec_prefix}/lib +libexecdir = ${exec_prefix}/libexec +localstatedir = ${prefix}/var +mandir = ${prefix}/share/man +mkdir_p = mkdir -p -- . +oldincludedir = /usr/include +pkgconfigdir = ${exec_prefix}/lib/pkgconfig +prefix = /usr/local +program_transform_name = s,x,x, +sbindir = ${exec_prefix}/sbin +sharedstatedir = ${prefix}/com +sysconfdir = ${prefix}/etc +target_alias = +AM_CPPFLAGS = -I$(top_srcdir) -I$(top_builddir) $(all_includes) +OS_SPECIFIC = driver_name +OS_SPECIFIC_XFAIL = driver_name +testlibusb_LDADD = $(top_builddir)/libusb.la +descriptor_test_SOURCES = descriptor_test.cpp +descriptor_test_LDADD = $(top_builddir)/libusbpp.la +id_test_SOURCES = id_test.cpp +id_test_LDADD = $(top_builddir)/libusbpp.la +find_hubs_SOURCES = find_hubs.cpp +find_hubs_LDADD = $(top_builddir)/libusbpp.la +find_mice_SOURCES = find_mice.cpp +find_mice_LDADD = $(top_builddir)/libusbpp.la +get_resolution_SOURCES = get_resolution.cpp +get_resolution_LDADD = $(top_builddir)/libusbpp.la +hub_strings_SOURCES = hub_strings.cpp +hub_strings_LDADD = $(top_builddir)/libusbpp.la +driver_name_SOURCES = driver_name.cpp +driver_name_LDADD = $(top_builddir)/libusbpp.la +TESTS = testlibusb descriptor_test id_test find_hubs find_mice \ + get_resolution hub_strings $(OS_SPECIFIC) + +XFAIL_TESTS = get_resolution hub_strings $(OS_SPECIFIC_XFAIL) +all: all-am + +.SUFFIXES: +.SUFFIXES: .c .cpp .lo .o .obj +$(srcdir)/Makefile.in: $(am__configure_deps) # $(srcdir)/Makefile.am + @for dep in $?; do \ + case '$(am__configure_deps)' in \ + *$$dep*) \ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ + && exit 0; \ + exit 1;; \ + esac; \ + done; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu tests/Makefile'; \ + cd $(top_srcdir) && \ + $(AUTOMAKE) --gnu tests/Makefile +.PRECIOUS: Makefile +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ + *config.status*) \ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ + *) \ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ + esac; + +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh + +$(top_srcdir)/configure: $(am__configure_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(ACLOCAL_M4): $(am__aclocal_m4_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh + +clean-noinstPROGRAMS: + @list='$(noinst_PROGRAMS)'; for p in $$list; do \ + f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \ + echo " rm -f $$p $$f"; \ + rm -f $$p $$f ; \ + done +descriptor_test$(EXEEXT): $(descriptor_test_OBJECTS) $(descriptor_test_DEPENDENCIES) + @rm -f descriptor_test$(EXEEXT) + $(CXXLINK) $(descriptor_test_LDFLAGS) $(descriptor_test_OBJECTS) $(descriptor_test_LDADD) $(LIBS) +driver_name$(EXEEXT): $(driver_name_OBJECTS) $(driver_name_DEPENDENCIES) + @rm -f driver_name$(EXEEXT) + $(CXXLINK) $(driver_name_LDFLAGS) $(driver_name_OBJECTS) $(driver_name_LDADD) $(LIBS) +find_hubs$(EXEEXT): $(find_hubs_OBJECTS) $(find_hubs_DEPENDENCIES) + @rm -f find_hubs$(EXEEXT) + $(CXXLINK) $(find_hubs_LDFLAGS) $(find_hubs_OBJECTS) $(find_hubs_LDADD) $(LIBS) +find_mice$(EXEEXT): $(find_mice_OBJECTS) $(find_mice_DEPENDENCIES) + @rm -f find_mice$(EXEEXT) + $(CXXLINK) $(find_mice_LDFLAGS) $(find_mice_OBJECTS) $(find_mice_LDADD) $(LIBS) +get_resolution$(EXEEXT): $(get_resolution_OBJECTS) $(get_resolution_DEPENDENCIES) + @rm -f get_resolution$(EXEEXT) + $(CXXLINK) $(get_resolution_LDFLAGS) $(get_resolution_OBJECTS) $(get_resolution_LDADD) $(LIBS) +hub_strings$(EXEEXT): $(hub_strings_OBJECTS) $(hub_strings_DEPENDENCIES) + @rm -f hub_strings$(EXEEXT) + $(CXXLINK) $(hub_strings_LDFLAGS) $(hub_strings_OBJECTS) $(hub_strings_LDADD) $(LIBS) +id_test$(EXEEXT): $(id_test_OBJECTS) $(id_test_DEPENDENCIES) + @rm -f id_test$(EXEEXT) + $(CXXLINK) $(id_test_LDFLAGS) $(id_test_OBJECTS) $(id_test_LDADD) $(LIBS) +testlibusb$(EXEEXT): $(testlibusb_OBJECTS) $(testlibusb_DEPENDENCIES) + @rm -f testlibusb$(EXEEXT) + $(LINK) $(testlibusb_LDFLAGS) $(testlibusb_OBJECTS) $(testlibusb_LDADD) $(LIBS) + +mostlyclean-compile: + -rm -f *.$(OBJEXT) + +distclean-compile: + -rm -f *.tab.c + +include ./$(DEPDIR)/descriptor_test.Po +include ./$(DEPDIR)/driver_name.Po +include ./$(DEPDIR)/find_hubs.Po +include ./$(DEPDIR)/find_mice.Po +include ./$(DEPDIR)/get_resolution.Po +include ./$(DEPDIR)/hub_strings.Po +include ./$(DEPDIR)/id_test.Po +include ./$(DEPDIR)/testlibusb.Po + +.c.o: + if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \ + then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi +# source='$<' object='$@' libtool=no \ +# depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' \ +# $(CCDEPMODE) $(depcomp) \ +# $(COMPILE) -c -o $@ $< + +.c.obj: + if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \ + then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi +# source='$<' object='$@' libtool=no \ +# depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' \ +# $(CCDEPMODE) $(depcomp) \ +# $(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'` + +.c.lo: + if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \ + then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi +# source='$<' object='$@' libtool=yes \ +# depfile='$(DEPDIR)/$*.Plo' tmpdepfile='$(DEPDIR)/$*.TPlo' \ +# $(CCDEPMODE) $(depcomp) \ +# $(LTCOMPILE) -c -o $@ $< + +.cpp.o: + if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \ + then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi +# source='$<' object='$@' libtool=no \ +# depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' \ +# $(CXXDEPMODE) $(depcomp) \ +# $(CXXCOMPILE) -c -o $@ $< + +.cpp.obj: + if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \ + then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi +# source='$<' object='$@' libtool=no \ +# depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' \ +# $(CXXDEPMODE) $(depcomp) \ +# $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'` + +.cpp.lo: + if $(LTCXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \ + then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi +# source='$<' object='$@' libtool=yes \ +# depfile='$(DEPDIR)/$*.Plo' tmpdepfile='$(DEPDIR)/$*.TPlo' \ +# $(CXXDEPMODE) $(depcomp) \ +# $(LTCXXCOMPILE) -c -o $@ $< + +mostlyclean-libtool: + -rm -f *.lo + +clean-libtool: + -rm -rf .libs _libs + +distclean-libtool: + -rm -f libtool +uninstall-info-am: + +ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) ' { files[$$0] = 1; } \ + END { for (i in files) print i; }'`; \ + mkid -fID $$unique +tags: TAGS + +TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) + tags=; \ + here=`pwd`; \ + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) ' { files[$$0] = 1; } \ + END { for (i in files) print i; }'`; \ + test -z "$(ETAGS_ARGS)$$tags$$unique" \ + || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + $$tags $$unique +ctags: CTAGS +CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) + tags=; \ + here=`pwd`; \ + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) ' { files[$$0] = 1; } \ + END { for (i in files) print i; }'`; \ + test -z "$(CTAGS_ARGS)$$tags$$unique" \ + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ + $$tags $$unique + +GTAGS: + here=`$(am__cd) $(top_builddir) && pwd` \ + && cd $(top_srcdir) \ + && gtags -i $(GTAGS_ARGS) $$here + +distclean-tags: + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags + +check-TESTS: $(TESTS) + @failed=0; all=0; xfail=0; xpass=0; skip=0; \ + srcdir=$(srcdir); export srcdir; \ + list='$(TESTS)'; \ + if test -n "$$list"; then \ + for tst in $$list; do \ + if test -f ./$$tst; then dir=./; \ + elif test -f $$tst; then dir=; \ + else dir="$(srcdir)/"; fi; \ + if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \ + all=`expr $$all + 1`; \ + case " $(XFAIL_TESTS) " in \ + *" $$tst "*) \ + xpass=`expr $$xpass + 1`; \ + failed=`expr $$failed + 1`; \ + echo "XPASS: $$tst"; \ + ;; \ + *) \ + echo "PASS: $$tst"; \ + ;; \ + esac; \ + elif test $$? -ne 77; then \ + all=`expr $$all + 1`; \ + case " $(XFAIL_TESTS) " in \ + *" $$tst "*) \ + xfail=`expr $$xfail + 1`; \ + echo "XFAIL: $$tst"; \ + ;; \ + *) \ + failed=`expr $$failed + 1`; \ + echo "FAIL: $$tst"; \ + ;; \ + esac; \ + else \ + skip=`expr $$skip + 1`; \ + echo "SKIP: $$tst"; \ + fi; \ + done; \ + if test "$$failed" -eq 0; then \ + if test "$$xfail" -eq 0; then \ + banner="All $$all tests passed"; \ + else \ + banner="All $$all tests behaved as expected ($$xfail expected failures)"; \ + fi; \ + else \ + if test "$$xpass" -eq 0; then \ + banner="$$failed of $$all tests failed"; \ + else \ + banner="$$failed of $$all tests did not behave as expected ($$xpass unexpected passes)"; \ + fi; \ + fi; \ + dashes="$$banner"; \ + skipped=""; \ + if test "$$skip" -ne 0; then \ + skipped="($$skip tests were not run)"; \ + test `echo "$$skipped" | wc -c` -gt `echo "$$banner" | wc -c` && \ + dashes="$$skipped"; \ + fi; \ + report=""; \ + if test "$$failed" -ne 0 && test -n "$(PACKAGE_BUGREPORT)"; then \ + report="Please report to $(PACKAGE_BUGREPORT)"; \ + test `echo "$$report" | wc -c` -gt `echo "$$banner" | wc -c` && \ + dashes="$$report"; \ + fi; \ + dashes=`echo "$$dashes" | sed s/./=/g`; \ + echo "$$dashes"; \ + echo "$$banner"; \ + test -n "$$skipped" && echo "$$skipped"; \ + test -n "$$report" && echo "$$report"; \ + echo "$$dashes"; \ + test "$$failed" -eq 0; \ + else :; fi + +distdir: $(DISTFILES) + @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ + list='$(DISTFILES)'; for file in $$list; do \ + case $$file in \ + $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ + $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ + esac; \ + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ + if test "$$dir" != "$$file" && test "$$dir" != "."; then \ + dir="/$$dir"; \ + $(mkdir_p) "$(distdir)$$dir"; \ + else \ + dir=''; \ + fi; \ + if test -d $$d/$$file; then \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ + cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ + fi; \ + cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ + else \ + test -f $(distdir)/$$file \ + || cp -p $$d/$$file $(distdir)/$$file \ + || exit 1; \ + fi; \ + done +check-am: all-am + $(MAKE) $(AM_MAKEFLAGS) check-TESTS +check: check-am +all-am: Makefile $(PROGRAMS) +installdirs: +install: install-am +install-exec: install-exec-am +install-data: install-data-am +uninstall: uninstall-am + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am + +installcheck: installcheck-am +install-strip: + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + `test -z '$(STRIP)' || \ + echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install +mostlyclean-generic: + +clean-generic: + +distclean-generic: + -rm -f $(CONFIG_CLEAN_FILES) + +maintainer-clean-generic: + @echo "This command is intended for maintainers to use" + @echo "it deletes files that may require special tools to rebuild." +clean: clean-am + +clean-am: clean-generic clean-libtool clean-noinstPROGRAMS \ + mostlyclean-am + +distclean: distclean-am + -rm -rf ./$(DEPDIR) + -rm -f Makefile +distclean-am: clean-am distclean-compile distclean-generic \ + distclean-libtool distclean-tags + +dvi: dvi-am + +dvi-am: + +html: html-am + +info: info-am + +info-am: + +install-data-am: + +install-exec-am: + +install-info: install-info-am + +install-man: + +installcheck-am: + +maintainer-clean: maintainer-clean-am + -rm -rf ./$(DEPDIR) + -rm -f Makefile +maintainer-clean-am: distclean-am maintainer-clean-generic + +mostlyclean: mostlyclean-am + +mostlyclean-am: mostlyclean-compile mostlyclean-generic \ + mostlyclean-libtool + +pdf: pdf-am + +pdf-am: + +ps: ps-am + +ps-am: + +uninstall-am: uninstall-info-am + +.PHONY: CTAGS GTAGS all all-am check check-TESTS check-am clean \ + clean-generic clean-libtool clean-noinstPROGRAMS ctags \ + distclean distclean-compile distclean-generic \ + distclean-libtool distclean-tags distdir dvi dvi-am html \ + html-am info info-am install install-am install-data \ + install-data-am install-exec install-exec-am install-info \ + install-info-am install-man install-strip installcheck \ + installcheck-am installdirs maintainer-clean \ + maintainer-clean-generic mostlyclean mostlyclean-compile \ + mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ + tags uninstall uninstall-am uninstall-info-am + +# Tell versions [3.59,3.63) of GNU make to not export all variables. +# Otherwise a system limit (for SysV at least) may be exceeded. +.NOEXPORT: diff --git a/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/tests/Makefile.in b/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/tests/Makefile.in new file mode 100644 index 000000000..bf2e75364 --- /dev/null +++ b/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/tests/Makefile.in @@ -0,0 +1,640 @@ +# Makefile.in generated by automake 1.8.3 from Makefile.am. +# @configure_input@ + +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +# 2003, 2004 Free Software Foundation, Inc. +# This Makefile.in is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + +@SET_MAKE@ + +SOURCES = $(descriptor_test_SOURCES) $(driver_name_SOURCES) $(find_hubs_SOURCES) $(find_mice_SOURCES) $(get_resolution_SOURCES) $(hub_strings_SOURCES) $(id_test_SOURCES) testlibusb.c + +srcdir = @srcdir@ +top_srcdir = @top_srcdir@ +VPATH = @srcdir@ +pkgdatadir = $(datadir)/@PACKAGE@ +pkglibdir = $(libdir)/@PACKAGE@ +pkgincludedir = $(includedir)/@PACKAGE@ +top_builddir = .. +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd +INSTALL = @INSTALL@ +install_sh_DATA = $(install_sh) -c -m 644 +install_sh_PROGRAM = $(install_sh) -c +install_sh_SCRIPT = $(install_sh) -c +INSTALL_HEADER = $(INSTALL_DATA) +transform = $(program_transform_name) +NORMAL_INSTALL = : +PRE_INSTALL = : +POST_INSTALL = : +NORMAL_UNINSTALL = : +PRE_UNINSTALL = : +POST_UNINSTALL = : +host_triplet = @host@ +noinst_PROGRAMS = testlibusb$(EXEEXT) descriptor_test$(EXEEXT) \ + id_test$(EXEEXT) find_hubs$(EXEEXT) find_mice$(EXEEXT) \ + get_resolution$(EXEEXT) hub_strings$(EXEEXT) $(am__EXEEXT_1) +subdir = tests +DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \ + $(top_srcdir)/configure.in +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ + $(ACLOCAL_M4) +mkinstalldirs = $(mkdir_p) +CONFIG_HEADER = $(top_builddir)/config.h +CONFIG_CLEAN_FILES = +@LINUX_API_TRUE@am__EXEEXT_1 = driver_name$(EXEEXT) +PROGRAMS = $(noinst_PROGRAMS) +am_descriptor_test_OBJECTS = descriptor_test.$(OBJEXT) +descriptor_test_OBJECTS = $(am_descriptor_test_OBJECTS) +descriptor_test_DEPENDENCIES = $(top_builddir)/libusbpp.la +am_driver_name_OBJECTS = driver_name.$(OBJEXT) +driver_name_OBJECTS = $(am_driver_name_OBJECTS) +driver_name_DEPENDENCIES = $(top_builddir)/libusbpp.la +am_find_hubs_OBJECTS = find_hubs.$(OBJEXT) +find_hubs_OBJECTS = $(am_find_hubs_OBJECTS) +find_hubs_DEPENDENCIES = $(top_builddir)/libusbpp.la +am_find_mice_OBJECTS = find_mice.$(OBJEXT) +find_mice_OBJECTS = $(am_find_mice_OBJECTS) +find_mice_DEPENDENCIES = $(top_builddir)/libusbpp.la +am_get_resolution_OBJECTS = get_resolution.$(OBJEXT) +get_resolution_OBJECTS = $(am_get_resolution_OBJECTS) +get_resolution_DEPENDENCIES = $(top_builddir)/libusbpp.la +am_hub_strings_OBJECTS = hub_strings.$(OBJEXT) +hub_strings_OBJECTS = $(am_hub_strings_OBJECTS) +hub_strings_DEPENDENCIES = $(top_builddir)/libusbpp.la +am_id_test_OBJECTS = id_test.$(OBJEXT) +id_test_OBJECTS = $(am_id_test_OBJECTS) +id_test_DEPENDENCIES = $(top_builddir)/libusbpp.la +testlibusb_SOURCES = testlibusb.c +testlibusb_OBJECTS = testlibusb.$(OBJEXT) +testlibusb_DEPENDENCIES = $(top_builddir)/libusb.la +DEFAULT_INCLUDES = +depcomp = $(SHELL) $(top_srcdir)/depcomp +am__depfiles_maybe = depfiles +@AMDEP_TRUE@DEP_FILES = ./$(DEPDIR)/descriptor_test.Po \ +@AMDEP_TRUE@ ./$(DEPDIR)/driver_name.Po \ +@AMDEP_TRUE@ ./$(DEPDIR)/find_hubs.Po ./$(DEPDIR)/find_mice.Po \ +@AMDEP_TRUE@ ./$(DEPDIR)/get_resolution.Po \ +@AMDEP_TRUE@ ./$(DEPDIR)/hub_strings.Po ./$(DEPDIR)/id_test.Po \ +@AMDEP_TRUE@ ./$(DEPDIR)/testlibusb.Po +COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ + $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) +LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) \ + $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ + $(AM_CFLAGS) $(CFLAGS) +CCLD = $(CC) +LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ + $(AM_LDFLAGS) $(LDFLAGS) -o $@ +CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ + $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) +LTCXXCOMPILE = $(LIBTOOL) --mode=compile $(CXX) $(DEFS) \ + $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ + $(AM_CXXFLAGS) $(CXXFLAGS) +CXXLD = $(CXX) +CXXLINK = $(LIBTOOL) --mode=link $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) \ + $(AM_LDFLAGS) $(LDFLAGS) -o $@ +SOURCES = $(descriptor_test_SOURCES) $(driver_name_SOURCES) \ + $(find_hubs_SOURCES) $(find_mice_SOURCES) \ + $(get_resolution_SOURCES) $(hub_strings_SOURCES) \ + $(id_test_SOURCES) testlibusb.c +DIST_SOURCES = $(descriptor_test_SOURCES) $(driver_name_SOURCES) \ + $(find_hubs_SOURCES) $(find_mice_SOURCES) \ + $(get_resolution_SOURCES) $(hub_strings_SOURCES) \ + $(id_test_SOURCES) testlibusb.c +ETAGS = etags +CTAGS = ctags +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +ACLOCAL = @ACLOCAL@ +AMDEP_FALSE = @AMDEP_FALSE@ +AMDEP_TRUE = @AMDEP_TRUE@ +AMTAR = @AMTAR@ +AR = @AR@ +AUTOCONF = @AUTOCONF@ +AUTOHEADER = @AUTOHEADER@ +AUTOMAKE = @AUTOMAKE@ +AWK = @AWK@ +BIGENDIAN = @BIGENDIAN@ +BSD_API = @BSD_API@ +BSD_API_FALSE = @BSD_API_FALSE@ +BSD_API_TRUE = @BSD_API_TRUE@ +BUILD_DOCS_FALSE = @BUILD_DOCS_FALSE@ +BUILD_DOCS_TRUE = @BUILD_DOCS_TRUE@ +CC = @CC@ +CCDEPMODE = @CCDEPMODE@ +CFLAGS = @CFLAGS@ +CPP = @CPP@ +CPPFLAGS = @CPPFLAGS@ +CXX = @CXX@ +CXXCPP = @CXXCPP@ +CXXDEPMODE = @CXXDEPMODE@ +CXXFLAGS = @CXXFLAGS@ +CYGPATH_W = @CYGPATH_W@ +DARWIN_API = @DARWIN_API@ +DARWIN_API_FALSE = @DARWIN_API_FALSE@ +DARWIN_API_TRUE = @DARWIN_API_TRUE@ +DEFS = @DEFS@ +DEPDIR = @DEPDIR@ +DOXYGEN = @DOXYGEN@ +DOXYGEN_PROJECT_NAME = @DOXYGEN_PROJECT_NAME@ +DOXYGEN_PROJECT_NUMBER = @DOXYGEN_PROJECT_NUMBER@ +ECHO = @ECHO@ +ECHO_C = @ECHO_C@ +ECHO_N = @ECHO_N@ +ECHO_T = @ECHO_T@ +EGREP = @EGREP@ +EXEEXT = @EXEEXT@ +F77 = @F77@ +FFLAGS = @FFLAGS@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ +JADE = @JADE@ +LDFLAGS = @LDFLAGS@ +LIBOBJS = @LIBOBJS@ +LIBS = @LIBS@ +LIBTOOL = @LIBTOOL@ --tag CC +LIBUSB_BINARY_AGE = @LIBUSB_BINARY_AGE@ +LIBUSB_HAS_DOXYGEN = @LIBUSB_HAS_DOXYGEN@ +LIBUSB_HAVE_DOT = @LIBUSB_HAVE_DOT@ +LIBUSB_INTERFACE_AGE = @LIBUSB_INTERFACE_AGE@ +LIBUSB_MAJOR_VERSION = @LIBUSB_MAJOR_VERSION@ +LIBUSB_MICRO_VERSION = @LIBUSB_MICRO_VERSION@ +LIBUSB_MINOR_VERSION = @LIBUSB_MINOR_VERSION@ +LIBUSB_VERSION = @LIBUSB_VERSION@ +LINUX_API = @LINUX_API@ +LINUX_API_FALSE = @LINUX_API_FALSE@ +LINUX_API_TRUE = @LINUX_API_TRUE@ +LN_S = @LN_S@ +LTLIBOBJS = @LTLIBOBJS@ +LT_AGE = @LT_AGE@ +LT_CURRENT = @LT_CURRENT@ +LT_RELEASE = @LT_RELEASE@ +LT_REVISION = @LT_REVISION@ +MAKEINFO = @MAKEINFO@ +OBJEXT = @OBJEXT@ +OSLIBS = @OSLIBS@ +PACKAGE = @PACKAGE@ +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ +PACKAGE_NAME = @PACKAGE_NAME@ +PACKAGE_STRING = @PACKAGE_STRING@ +PACKAGE_TARNAME = @PACKAGE_TARNAME@ +PACKAGE_VERSION = @PACKAGE_VERSION@ +PATH_SEPARATOR = @PATH_SEPARATOR@ +PKG_CONFIG = @PKG_CONFIG@ +RANLIB = @RANLIB@ +SET_MAKE = @SET_MAKE@ +SHELL = @SHELL@ +STRIP = @STRIP@ +VERSION = @VERSION@ +ac_ct_AR = @ac_ct_AR@ +ac_ct_CC = @ac_ct_CC@ +ac_ct_CXX = @ac_ct_CXX@ +ac_ct_F77 = @ac_ct_F77@ +ac_ct_RANLIB = @ac_ct_RANLIB@ +ac_ct_STRIP = @ac_ct_STRIP@ +am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ +am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ +am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@ +am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@ +am__include = @am__include@ +am__leading_dot = @am__leading_dot@ +am__quote = @am__quote@ +bindir = @bindir@ +build = @build@ +build_alias = @build_alias@ +build_cpu = @build_cpu@ +build_os = @build_os@ +build_vendor = @build_vendor@ +datadir = @datadir@ +exec_prefix = @exec_prefix@ +host = @host@ +host_alias = @host_alias@ +host_cpu = @host_cpu@ +host_os = @host_os@ +host_vendor = @host_vendor@ +includedir = @includedir@ +infodir = @infodir@ +install_sh = @install_sh@ +libdir = @libdir@ +libexecdir = @libexecdir@ +localstatedir = @localstatedir@ +mandir = @mandir@ +mkdir_p = @mkdir_p@ +oldincludedir = @oldincludedir@ +pkgconfigdir = @pkgconfigdir@ +prefix = @prefix@ +program_transform_name = @program_transform_name@ +sbindir = @sbindir@ +sharedstatedir = @sharedstatedir@ +sysconfdir = @sysconfdir@ +target_alias = @target_alias@ +AM_CPPFLAGS = -I$(top_srcdir) -I$(top_builddir) $(all_includes) +@LINUX_API_TRUE@OS_SPECIFIC = driver_name +@LINUX_API_TRUE@OS_SPECIFIC_XFAIL = driver_name +testlibusb_LDADD = $(top_builddir)/libusb.la @OSLIBS@ +descriptor_test_SOURCES = descriptor_test.cpp +descriptor_test_LDADD = $(top_builddir)/libusbpp.la @OSLIBS@ +id_test_SOURCES = id_test.cpp +id_test_LDADD = $(top_builddir)/libusbpp.la @OSLIBS@ +find_hubs_SOURCES = find_hubs.cpp +find_hubs_LDADD = $(top_builddir)/libusbpp.la @OSLIBS@ +find_mice_SOURCES = find_mice.cpp +find_mice_LDADD = $(top_builddir)/libusbpp.la @OSLIBS@ +get_resolution_SOURCES = get_resolution.cpp +get_resolution_LDADD = $(top_builddir)/libusbpp.la @OSLIBS@ +hub_strings_SOURCES = hub_strings.cpp +hub_strings_LDADD = $(top_builddir)/libusbpp.la @OSLIBS@ +driver_name_SOURCES = driver_name.cpp +driver_name_LDADD = $(top_builddir)/libusbpp.la @OSLIBS@ +TESTS = testlibusb descriptor_test id_test find_hubs find_mice \ + get_resolution hub_strings $(OS_SPECIFIC) + +XFAIL_TESTS = get_resolution hub_strings $(OS_SPECIFIC_XFAIL) +all: all-am + +.SUFFIXES: +.SUFFIXES: .c .cpp .lo .o .obj +$(srcdir)/Makefile.in: $(am__configure_deps) # $(srcdir)/Makefile.am + @for dep in $?; do \ + case '$(am__configure_deps)' in \ + *$$dep*) \ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ + && exit 0; \ + exit 1;; \ + esac; \ + done; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu tests/Makefile'; \ + cd $(top_srcdir) && \ + $(AUTOMAKE) --gnu tests/Makefile +.PRECIOUS: Makefile +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ + *config.status*) \ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ + *) \ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ + esac; + +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh + +$(top_srcdir)/configure: $(am__configure_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(ACLOCAL_M4): $(am__aclocal_m4_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh + +clean-noinstPROGRAMS: + @list='$(noinst_PROGRAMS)'; for p in $$list; do \ + f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \ + echo " rm -f $$p $$f"; \ + rm -f $$p $$f ; \ + done +descriptor_test$(EXEEXT): $(descriptor_test_OBJECTS) $(descriptor_test_DEPENDENCIES) + @rm -f descriptor_test$(EXEEXT) + $(CXXLINK) $(descriptor_test_LDFLAGS) $(descriptor_test_OBJECTS) $(descriptor_test_LDADD) $(LIBS) +driver_name$(EXEEXT): $(driver_name_OBJECTS) $(driver_name_DEPENDENCIES) + @rm -f driver_name$(EXEEXT) + $(CXXLINK) $(driver_name_LDFLAGS) $(driver_name_OBJECTS) $(driver_name_LDADD) $(LIBS) +find_hubs$(EXEEXT): $(find_hubs_OBJECTS) $(find_hubs_DEPENDENCIES) + @rm -f find_hubs$(EXEEXT) + $(CXXLINK) $(find_hubs_LDFLAGS) $(find_hubs_OBJECTS) $(find_hubs_LDADD) $(LIBS) +find_mice$(EXEEXT): $(find_mice_OBJECTS) $(find_mice_DEPENDENCIES) + @rm -f find_mice$(EXEEXT) + $(CXXLINK) $(find_mice_LDFLAGS) $(find_mice_OBJECTS) $(find_mice_LDADD) $(LIBS) +get_resolution$(EXEEXT): $(get_resolution_OBJECTS) $(get_resolution_DEPENDENCIES) + @rm -f get_resolution$(EXEEXT) + $(CXXLINK) $(get_resolution_LDFLAGS) $(get_resolution_OBJECTS) $(get_resolution_LDADD) $(LIBS) +hub_strings$(EXEEXT): $(hub_strings_OBJECTS) $(hub_strings_DEPENDENCIES) + @rm -f hub_strings$(EXEEXT) + $(CXXLINK) $(hub_strings_LDFLAGS) $(hub_strings_OBJECTS) $(hub_strings_LDADD) $(LIBS) +id_test$(EXEEXT): $(id_test_OBJECTS) $(id_test_DEPENDENCIES) + @rm -f id_test$(EXEEXT) + $(CXXLINK) $(id_test_LDFLAGS) $(id_test_OBJECTS) $(id_test_LDADD) $(LIBS) +testlibusb$(EXEEXT): $(testlibusb_OBJECTS) $(testlibusb_DEPENDENCIES) + @rm -f testlibusb$(EXEEXT) + $(LINK) $(testlibusb_LDFLAGS) $(testlibusb_OBJECTS) $(testlibusb_LDADD) $(LIBS) + +mostlyclean-compile: + -rm -f *.$(OBJEXT) + +distclean-compile: + -rm -f *.tab.c + +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/descriptor_test.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/driver_name.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/find_hubs.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/find_mice.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/get_resolution.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hub_strings.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/id_test.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/testlibusb.Po@am__quote@ + +.c.o: +@am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \ +@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(COMPILE) -c -o $@ $< + +.c.obj: +@am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \ +@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'` + +.c.lo: +@am__fastdepCC_TRUE@ if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \ +@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/$*.Plo' tmpdepfile='$(DEPDIR)/$*.TPlo' @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $< + +.cpp.o: +@am__fastdepCXX_TRUE@ if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \ +@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ $< + +.cpp.obj: +@am__fastdepCXX_TRUE@ if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \ +@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'` + +.cpp.lo: +@am__fastdepCXX_TRUE@ if $(LTCXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \ +@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/$*.Plo' tmpdepfile='$(DEPDIR)/$*.TPlo' @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCXX_FALSE@ $(LTCXXCOMPILE) -c -o $@ $< + +mostlyclean-libtool: + -rm -f *.lo + +clean-libtool: + -rm -rf .libs _libs + +distclean-libtool: + -rm -f libtool +uninstall-info-am: + +ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) ' { files[$$0] = 1; } \ + END { for (i in files) print i; }'`; \ + mkid -fID $$unique +tags: TAGS + +TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) + tags=; \ + here=`pwd`; \ + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) ' { files[$$0] = 1; } \ + END { for (i in files) print i; }'`; \ + test -z "$(ETAGS_ARGS)$$tags$$unique" \ + || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + $$tags $$unique +ctags: CTAGS +CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) + tags=; \ + here=`pwd`; \ + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) ' { files[$$0] = 1; } \ + END { for (i in files) print i; }'`; \ + test -z "$(CTAGS_ARGS)$$tags$$unique" \ + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ + $$tags $$unique + +GTAGS: + here=`$(am__cd) $(top_builddir) && pwd` \ + && cd $(top_srcdir) \ + && gtags -i $(GTAGS_ARGS) $$here + +distclean-tags: + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags + +check-TESTS: $(TESTS) + @failed=0; all=0; xfail=0; xpass=0; skip=0; \ + srcdir=$(srcdir); export srcdir; \ + list='$(TESTS)'; \ + if test -n "$$list"; then \ + for tst in $$list; do \ + if test -f ./$$tst; then dir=./; \ + elif test -f $$tst; then dir=; \ + else dir="$(srcdir)/"; fi; \ + if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \ + all=`expr $$all + 1`; \ + case " $(XFAIL_TESTS) " in \ + *" $$tst "*) \ + xpass=`expr $$xpass + 1`; \ + failed=`expr $$failed + 1`; \ + echo "XPASS: $$tst"; \ + ;; \ + *) \ + echo "PASS: $$tst"; \ + ;; \ + esac; \ + elif test $$? -ne 77; then \ + all=`expr $$all + 1`; \ + case " $(XFAIL_TESTS) " in \ + *" $$tst "*) \ + xfail=`expr $$xfail + 1`; \ + echo "XFAIL: $$tst"; \ + ;; \ + *) \ + failed=`expr $$failed + 1`; \ + echo "FAIL: $$tst"; \ + ;; \ + esac; \ + else \ + skip=`expr $$skip + 1`; \ + echo "SKIP: $$tst"; \ + fi; \ + done; \ + if test "$$failed" -eq 0; then \ + if test "$$xfail" -eq 0; then \ + banner="All $$all tests passed"; \ + else \ + banner="All $$all tests behaved as expected ($$xfail expected failures)"; \ + fi; \ + else \ + if test "$$xpass" -eq 0; then \ + banner="$$failed of $$all tests failed"; \ + else \ + banner="$$failed of $$all tests did not behave as expected ($$xpass unexpected passes)"; \ + fi; \ + fi; \ + dashes="$$banner"; \ + skipped=""; \ + if test "$$skip" -ne 0; then \ + skipped="($$skip tests were not run)"; \ + test `echo "$$skipped" | wc -c` -gt `echo "$$banner" | wc -c` && \ + dashes="$$skipped"; \ + fi; \ + report=""; \ + if test "$$failed" -ne 0 && test -n "$(PACKAGE_BUGREPORT)"; then \ + report="Please report to $(PACKAGE_BUGREPORT)"; \ + test `echo "$$report" | wc -c` -gt `echo "$$banner" | wc -c` && \ + dashes="$$report"; \ + fi; \ + dashes=`echo "$$dashes" | sed s/./=/g`; \ + echo "$$dashes"; \ + echo "$$banner"; \ + test -n "$$skipped" && echo "$$skipped"; \ + test -n "$$report" && echo "$$report"; \ + echo "$$dashes"; \ + test "$$failed" -eq 0; \ + else :; fi + +distdir: $(DISTFILES) + @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ + list='$(DISTFILES)'; for file in $$list; do \ + case $$file in \ + $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ + $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ + esac; \ + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ + if test "$$dir" != "$$file" && test "$$dir" != "."; then \ + dir="/$$dir"; \ + $(mkdir_p) "$(distdir)$$dir"; \ + else \ + dir=''; \ + fi; \ + if test -d $$d/$$file; then \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ + cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ + fi; \ + cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ + else \ + test -f $(distdir)/$$file \ + || cp -p $$d/$$file $(distdir)/$$file \ + || exit 1; \ + fi; \ + done +check-am: all-am + $(MAKE) $(AM_MAKEFLAGS) check-TESTS +check: check-am +all-am: Makefile $(PROGRAMS) +installdirs: +install: install-am +install-exec: install-exec-am +install-data: install-data-am +uninstall: uninstall-am + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am + +installcheck: installcheck-am +install-strip: + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + `test -z '$(STRIP)' || \ + echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install +mostlyclean-generic: + +clean-generic: + +distclean-generic: + -rm -f $(CONFIG_CLEAN_FILES) + +maintainer-clean-generic: + @echo "This command is intended for maintainers to use" + @echo "it deletes files that may require special tools to rebuild." +clean: clean-am + +clean-am: clean-generic clean-libtool clean-noinstPROGRAMS \ + mostlyclean-am + +distclean: distclean-am + -rm -rf ./$(DEPDIR) + -rm -f Makefile +distclean-am: clean-am distclean-compile distclean-generic \ + distclean-libtool distclean-tags + +dvi: dvi-am + +dvi-am: + +html: html-am + +info: info-am + +info-am: + +install-data-am: + +install-exec-am: + +install-info: install-info-am + +install-man: + +installcheck-am: + +maintainer-clean: maintainer-clean-am + -rm -rf ./$(DEPDIR) + -rm -f Makefile +maintainer-clean-am: distclean-am maintainer-clean-generic + +mostlyclean: mostlyclean-am + +mostlyclean-am: mostlyclean-compile mostlyclean-generic \ + mostlyclean-libtool + +pdf: pdf-am + +pdf-am: + +ps: ps-am + +ps-am: + +uninstall-am: uninstall-info-am + +.PHONY: CTAGS GTAGS all all-am check check-TESTS check-am clean \ + clean-generic clean-libtool clean-noinstPROGRAMS ctags \ + distclean distclean-compile distclean-generic \ + distclean-libtool distclean-tags distdir dvi dvi-am html \ + html-am info info-am install install-am install-data \ + install-data-am install-exec install-exec-am install-info \ + install-info-am install-man install-strip installcheck \ + installcheck-am installdirs maintainer-clean \ + maintainer-clean-generic mostlyclean mostlyclean-compile \ + mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ + tags uninstall uninstall-am uninstall-info-am + +# Tell versions [3.59,3.63) of GNU make to not export all variables. +# Otherwise a system limit (for SysV at least) may be exceeded. +.NOEXPORT: diff --git a/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/tests/descriptor_test.cpp b/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/tests/descriptor_test.cpp new file mode 100644 index 000000000..bb1b23b8f --- /dev/null +++ b/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/tests/descriptor_test.cpp @@ -0,0 +1,82 @@ +// -*- C++;indent-tabs-mode: t; tab-width: 4; c-basic-offset: 4; -*- +/* + * descriptor_test.cpp + * + * Test suite program for C++ bindings + */ + +#include +#include +#include "usbpp.h" + +using namespace std; + +int main(void) +{ + + USB::Busses buslist; + + cout << "bus/device idVendor/idProduct" << endl; + + // buslist.init(); + + USB::Bus *bus; + list::const_iterator biter; + USB::Device *device; + list::const_iterator diter; + int i, j, k, l; + + for (biter = buslist.begin(); biter != buslist.end(); biter++) { + bus = *biter; + + for (diter = bus->begin(); diter != bus->end(); diter++) { + device = *diter; + + cout << bus->directoryName() << "/" + << device->fileName() << " " + << ios::uppercase << hex << setw(4) << setfill('0') + << device->idVendor() << "/" + << ios::uppercase << hex << setw(4) << setfill('0') + << device->idProduct() << endl; + if (device->Vendor() != "") { + cout << "- Manufacturer : " << device->Vendor() << endl; + } else { + cout << "- Unable to fetch manufacturer string" << endl; + } + if (device->Product() != "") { + cout << "- Product : " << device->Product() << endl; + } else { + cout << "- Unable to fetch product string" << endl; + } + if (device->SerialNumber() != "") { + cout << "- Serial Number: " << device->SerialNumber() << endl; + } + + USB::Configuration *this_Configuration; + this_Configuration = device->firstConfiguration(); + for (i=0; i < device->numConfigurations(); i++) { + this_Configuration->dumpDescriptor(); + USB::Interface *this_Interface; + this_Interface = this_Configuration->firstInterface(); + for (j=0; j < this_Configuration->numInterfaces(); j++) { + USB::AltSetting *this_AltSetting; + this_AltSetting = this_Interface->firstAltSetting(); + for (k=0; k < this_Interface->numAltSettings(); k++) { + this_AltSetting->dumpDescriptor(); + USB::Endpoint *this_Endpoint; + this_Endpoint = this_AltSetting->firstEndpoint(); + for (l=0; l < this_AltSetting->numEndpoints(); l++) { + this_Endpoint->dumpDescriptor(); + this_Endpoint = this_AltSetting->nextEndpoint(); + } + this_AltSetting = this_Interface->nextAltSetting(); + } + this_Interface = this_Configuration->nextInterface(); + } + this_Configuration = device->nextConfiguration(); + } + } + } + + return 0; +} diff --git a/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/tests/driver_name.cpp b/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/tests/driver_name.cpp new file mode 100644 index 000000000..7f7b42cb4 --- /dev/null +++ b/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/tests/driver_name.cpp @@ -0,0 +1,63 @@ +// -*- C++;indent-tabs-mode: t; tab-width: 4; c-basic-offset: 4; -*- +/* + * driver_name.cpp + * + * Test suite program for C++ bindings + */ + +#include +#include +#include + +using namespace std; + +int main(void) +{ + USB::Busses buslist; + + cout << "bus/device idVendor/idProduct" << endl; + + // buslist.init(); + + USB::Bus *bus; + list::const_iterator biter; + USB::Device *device; + list::const_iterator diter; + int i, j; + int retval; + string driver; + + for (biter = buslist.begin(); biter != buslist.end(); biter++) { + bus = *biter; + + for (diter = bus->begin(); diter != bus->end(); diter++) { + device = *diter; + + USB::Configuration *this_Configuration; + this_Configuration = device->firstConfiguration(); + for (i=0; i < device->numConfigurations(); i++) { + USB::Interface *this_Interface; + this_Interface = this_Configuration->firstInterface(); + for (j=0; j < this_Configuration->numInterfaces(); j++) { + retval = this_Interface->driverName(driver); + if (0 == retval) { + cout << bus->directoryName() << "/" + << device->fileName() << " " + << uppercase << hex << setw(4) << setfill('0') + << device->idVendor() << "/" + << uppercase << hex << setw(4) << setfill('0') + << device->idProduct() << " " + << "driver: " << driver << endl; + } else { + cout << "fetching driver string failed (" << retval << "): " << usb_strerror() << endl; + return EXIT_FAILURE; + } + this_Interface = this_Configuration->nextInterface(); + } + this_Configuration = device->nextConfiguration(); + } + } + } + + return 0; +} diff --git a/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/tests/find_hubs.cpp b/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/tests/find_hubs.cpp new file mode 100644 index 000000000..e05d486df --- /dev/null +++ b/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/tests/find_hubs.cpp @@ -0,0 +1,37 @@ +// -*- C++;indent-tabs-mode: t; tab-width: 4; c-basic-offset: 4; -*- +/* + * find_hubs.cpp + * + * Test suite program for C++ bindings + */ + +#include +#include +#include + +using namespace std; + +int main(void) +{ + + USB::Busses buslist; + USB::Device *device; + list hubList; + list::const_iterator iter; + + cout << "Class/SubClass/Protocol" << endl; + + hubList = buslist.match(0x9); + + for (iter = hubList.begin(); iter != hubList.end(); iter++) { + device = *iter; + cout << hex << setw(2) << setfill('0') + << int(device->devClass()) << " " + << hex << setw(2) << setfill('0') + << int(device->devSubClass()) << " " + << hex << setw(2) << setfill('0') + << int(device->devProtocol()) << endl; + } + + return 0; +} diff --git a/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/tests/find_mice.cpp b/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/tests/find_mice.cpp new file mode 100644 index 000000000..ce91b4d26 --- /dev/null +++ b/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/tests/find_mice.cpp @@ -0,0 +1,53 @@ +// -*- C++;indent-tabs-mode: t; tab-width: 4; c-basic-offset: 4; -*- +/* + * find_mice.cpp + * + * Test suite program for C++ bindings + */ + +#include +#include +#include + +#define VENDOR_LOGITECH 0x046D + +using namespace std; + +int main(void) +{ + + USB::Busses buslist; + USB::Device *device; + list miceFound; + list::const_iterator iter; + + cout << "idVendor/idProduct/bcdDevice" << endl; + + USB::DeviceIDList mouseList; + + mouseList.push_back(USB::DeviceID(VENDOR_LOGITECH, 0xC00E)); // Wheel Mouse Optical + mouseList.push_back(USB::DeviceID(VENDOR_LOGITECH, 0xC012)); // MouseMan Dual Optical + mouseList.push_back(USB::DeviceID(VENDOR_LOGITECH, 0xC00F)); // MouseMan Traveler + mouseList.push_back(USB::DeviceID(VENDOR_LOGITECH, 0xC024)); // MX300 Optical + mouseList.push_back(USB::DeviceID(VENDOR_LOGITECH, 0xC025)); // MX500 Optical + mouseList.push_back(USB::DeviceID(VENDOR_LOGITECH, 0xC503)); // Logitech Dual receiver + mouseList.push_back(USB::DeviceID(VENDOR_LOGITECH, 0xC506)); // MX700 Optical Mouse + mouseList.push_back(USB::DeviceID(VENDOR_LOGITECH, 0xC031)); // iFeel Mouse (silver) + + + miceFound = buslist.match(mouseList); + + for (iter = miceFound.begin(); iter != miceFound.end(); iter++) { + device = *iter; + + cout << hex << setw(4) << setfill('0') + << device->idVendor() << " / " + << hex << setw(4) << setfill('0') + << device->idProduct() << " / " + << hex << setw(4) << setfill('0') + << device->idRevision() << " " + << endl; + } + + return 0; +} diff --git a/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/tests/get_resolution.cpp b/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/tests/get_resolution.cpp new file mode 100644 index 000000000..ddf2d879d --- /dev/null +++ b/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/tests/get_resolution.cpp @@ -0,0 +1,71 @@ +// -*- C++;indent-tabs-mode: t; tab-width: 4; c-basic-offset: 4; -*- +/* + * get_resolution.cpp + * + * Note that this testcase fails if not run as root + * + * Test suite program for C++ bindings + */ + +#include +#include +#include + +#define VENDOR_LOGITECH 0x046D + +using namespace std; + +int main(void) +{ + USB::Busses buslist; + USB::Device *device; + list miceFound; + list::const_iterator iter; + unsigned char resolution[1]; + + resolution[0] = 'Z'; + + cout << "idVendor/idProduct/bcdDevice" << endl; + + USB::DeviceIDList mouseList; + + mouseList.push_back(USB::DeviceID(VENDOR_LOGITECH, 0xC00E)); // Wheel Mouse Optical + mouseList.push_back(USB::DeviceID(VENDOR_LOGITECH, 0xC012)); // MouseMan Dual Optical + mouseList.push_back(USB::DeviceID(VENDOR_LOGITECH, 0xC00F)); // MouseMan Traveler + mouseList.push_back(USB::DeviceID(VENDOR_LOGITECH, 0xC024)); // MX300 optical + mouseList.push_back(USB::DeviceID(VENDOR_LOGITECH, 0xC025)); // MX500 optical + mouseList.push_back(USB::DeviceID(VENDOR_LOGITECH, 0xC031)); // iFeel Mouse (silver) + + miceFound = buslist.match(mouseList); + + for (iter = miceFound.begin(); iter != miceFound.end(); iter++) { + device = *iter; + cout << hex << setw(4) << setfill('0') + << device->idVendor() << " / " + << hex << setw(4) << setfill('0') + << device->idProduct() << " / " + << hex << setw(4) << setfill('0') + << device->idRevision() << " " + << endl; + + if ( 0 > device->controlTransfer(USB_TYPE_VENDOR | USB_ENDPOINT_IN, + 0x01, + 0x000E, + 0x0000, + 0x0001, + resolution) ) { + cout << "control transfer test failed: " << usb_strerror() << endl; + return EXIT_FAILURE; + } + + if (3 == resolution[0]) { + cout << "Resolution is 400cpi" << endl; + } else if (4 == resolution[0]) { + cout << "Resolution is 800cpi" << endl; + } else { + cout << "Unexpected resolution result" << endl; + } + } + + return 0; +} diff --git a/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/tests/hub_strings.cpp b/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/tests/hub_strings.cpp new file mode 100644 index 000000000..1eaaa3b3c --- /dev/null +++ b/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/tests/hub_strings.cpp @@ -0,0 +1,83 @@ +// -*- C++;indent-tabs-mode: t; tab-width: 4; c-basic-offset: 4; -*- +/* + * hub_strings.cpp + * + * Test suite program for C++ bindings + */ + +#include +#include +#include +#include + +using namespace std; + +int main(void) +{ + USB::Busses buslist; + USB::Device *device; + list hubList; + list::const_iterator iter; + string manufString, prodString, serialString1, serialString2; + int retval; + + cout << "Class/SubClass/Protocol" << endl; + + hubList = buslist.match(0x9); + + for (iter = hubList.begin(); iter != hubList.end(); iter++) { + device = *iter; + + cout << hex << setw(2) << setfill('0') + << int(device->devClass()) << " " + << hex << setw(2) << setfill('0') + << int(device->devSubClass()) << " " + << hex << setw(2) << setfill('0') + << int(device->devProtocol()) << endl; + retval = device->string(manufString, 3); + if ( 0 < retval ) { + cout << "3: " << manufString << endl; + } else { + if (-EPIPE != retval) { // we ignore EPIPE, because some hubs don't have strings + cout << "fetching string 3 failed: " << usb_strerror() << endl; + return EXIT_FAILURE; + } + } + retval = device->string(prodString, 2); + if ( 0 < retval ) { + cout << "2: " << prodString << endl; + } else { + if (-EPIPE != retval) { // we ignore EPIPE, because some hubs don't have strings + cout << "fetching string 2 failed: " << usb_strerror() << endl; + return EXIT_FAILURE; + } + } + + retval = device->string(serialString1, 1); + if ( 0 < retval ) { + cout << "1a: " << serialString1 << endl; + } else { + if (-EPIPE != retval) { // we ignore EPIPE, because some hubs don't have strings + cout << "fetching string 1a failed: " << usb_strerror() << endl; + return EXIT_FAILURE; + } + } + + retval = device->string(serialString2, 1, 0x0409); + if ( 0 < retval ) { + cout << "1b: " << serialString2 << endl; + if (serialString2 != serialString1) { + cout << "String fetch with explicit language ID produced different result" << endl; + } + } else { + if (-EPIPE != retval) { // we ignore EPIPE, because some hubs don't have strings + cout << "fetching string 1b failed: " << usb_strerror() << endl; + return EXIT_FAILURE; + } + } + + cout << endl; + } + + return EXIT_SUCCESS; +} diff --git a/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/tests/id_test.cpp b/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/tests/id_test.cpp new file mode 100644 index 000000000..4b5c9fe74 --- /dev/null +++ b/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/tests/id_test.cpp @@ -0,0 +1,50 @@ +// -*- C++;indent-tabs-mode: t; tab-width: 4; c-basic-offset: 4; -*- +/* + * id_test.cpp + * + * Test suite program for C++ bindings + */ + +#include +#include +#include + +using namespace std; + +int main(void) +{ + + USB::Busses buslist; + + cout << "bus/device idVendor/idProduct/bcdDevice Class/SubClass/Protocol" << endl; + + USB::Bus *bus; + list::const_iterator biter; + USB::Device *device; + list::const_iterator diter; + + for (biter = buslist.begin(); biter != buslist.end(); biter++) { + bus = *biter; + + for (diter = bus->begin(); diter != bus->end(); diter++) { + device = *diter; + + cout << bus->directoryName() << "/" + << device->fileName() << " " + << hex << setw(4) << setfill('0') + << device->idVendor() << " / " + << hex << setw(4) << setfill('0') + << device->idProduct() << " / " + << hex << setw(4) << setfill('0') + << device->idRevision() << " " + << hex << setw(2) << setfill('0') + << int(device->devClass()) << " " + << hex << setw(2) << setfill('0') + << int(device->devSubClass()) << " " + << hex << setw(2) << setfill('0') + << int(device->devProtocol()) << endl; + } + } + + return 0; +} diff --git a/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/tests/testlibusb.c b/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/tests/testlibusb.c new file mode 100644 index 000000000..4ca0b59e8 --- /dev/null +++ b/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/tests/testlibusb.c @@ -0,0 +1,154 @@ +/* + * testlibusb.c + * + * Test suite program + */ + +#include +#include +#include + +int verbose = 0; + +void print_endpoint(struct usb_endpoint_descriptor *endpoint) +{ + printf(" bEndpointAddress: %02xh\n", endpoint->bEndpointAddress); + printf(" bmAttributes: %02xh\n", endpoint->bmAttributes); + printf(" wMaxPacketSize: %d\n", endpoint->wMaxPacketSize); + printf(" bInterval: %d\n", endpoint->bInterval); + printf(" bRefresh: %d\n", endpoint->bRefresh); + printf(" bSynchAddress: %d\n", endpoint->bSynchAddress); +} + +void print_altsetting(struct usb_interface_descriptor *interface) +{ + int i; + + printf(" bInterfaceNumber: %d\n", interface->bInterfaceNumber); + printf(" bAlternateSetting: %d\n", interface->bAlternateSetting); + printf(" bNumEndpoints: %d\n", interface->bNumEndpoints); + printf(" bInterfaceClass: %d\n", interface->bInterfaceClass); + printf(" bInterfaceSubClass: %d\n", interface->bInterfaceSubClass); + printf(" bInterfaceProtocol: %d\n", interface->bInterfaceProtocol); + printf(" iInterface: %d\n", interface->iInterface); + + for (i = 0; i < interface->bNumEndpoints; i++) + print_endpoint(&interface->endpoint[i]); +} + +void print_interface(struct usb_interface *interface) +{ + int i; + + for (i = 0; i < interface->num_altsetting; i++) + print_altsetting(&interface->altsetting[i]); +} + +void print_configuration(struct usb_config_descriptor *config) +{ + int i; + + printf(" wTotalLength: %d\n", config->wTotalLength); + printf(" bNumInterfaces: %d\n", config->bNumInterfaces); + printf(" bConfigurationValue: %d\n", config->bConfigurationValue); + printf(" iConfiguration: %d\n", config->iConfiguration); + printf(" bmAttributes: %02xh\n", config->bmAttributes); + printf(" MaxPower: %d\n", config->MaxPower); + + for (i = 0; i < config->bNumInterfaces; i++) + print_interface(&config->interface[i]); +} + +int print_device(struct usb_device *dev, int level) +{ + usb_dev_handle *udev; + char description[256]; + char string[256]; + int ret, i; + + udev = usb_open(dev); + if (udev) { + if (dev->descriptor.iManufacturer) { + ret = usb_get_string_simple(udev, dev->descriptor.iManufacturer, string, sizeof(string)); + if (ret > 0) + snprintf(description, sizeof(description), "%s - ", string); + else + snprintf(description, sizeof(description), "%04X - ", + dev->descriptor.idVendor); + } else + snprintf(description, sizeof(description), "%04X - ", + dev->descriptor.idVendor); + + if (dev->descriptor.iProduct) { + ret = usb_get_string_simple(udev, dev->descriptor.iProduct, string, sizeof(string)); + if (ret > 0) + snprintf(description + strlen(description), sizeof(description) - + strlen(description), "%s", string); + else + snprintf(description + strlen(description), sizeof(description) - + strlen(description), "%04X", dev->descriptor.idProduct); + } else + snprintf(description + strlen(description), sizeof(description) - + strlen(description), "%04X", dev->descriptor.idProduct); + + } else + snprintf(description, sizeof(description), "%04X - %04X", + dev->descriptor.idVendor, dev->descriptor.idProduct); + + printf("%.*sDev #%d: %s\n", level * 2, " ", dev->devnum, + description); + + if (udev && verbose) { + if (dev->descriptor.iSerialNumber) { + ret = usb_get_string_simple(udev, dev->descriptor.iSerialNumber, string, sizeof(string)); + if (ret > 0) + printf("%.*s - Serial Number: %s\n", level * 2, + " ", string); + } + } + + if (udev) + usb_close(udev); + + if (verbose) { + if (!dev->config) { + printf(" Couldn't retrieve descriptors\n"); + return 0; + } + + for (i = 0; i < dev->descriptor.bNumConfigurations; i++) + print_configuration(&dev->config[i]); + } else { + for (i = 0; i < dev->num_children; i++) + print_device(dev->children[i], level + 1); + } + + return 0; +} + +int main(int argc, char *argv[]) +{ + struct usb_bus *bus; + + if (argc > 1 && !strcmp(argv[1], "-v")) + verbose = 1; + + usb_init(); + + usb_find_busses(); + usb_find_devices(); + + for (bus = usb_busses; bus; bus = bus->next) { + if (bus->root_dev && !verbose) + print_device(bus->root_dev, 0); + else { + struct usb_device *dev; + + for (dev = bus->devices; dev; dev = dev->next) + print_device(dev, 0); + } + } + + return 0; +} + diff --git a/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/usb.c b/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/usb.c new file mode 100644 index 000000000..a82b26c4b --- /dev/null +++ b/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/usb.c @@ -0,0 +1,307 @@ +/* + * Main API entry point + * + * Copyright (c) 2000-2003 Johannes Erdfelt + * + * This library is covered by the LGPL, read LICENSE for details. + */ + +#include /* getenv */ +#include /* stderr */ +#include /* strcmp */ +#include + +#include "usbi.h" + +int usb_debug = 0; +struct usb_bus *usb_busses = NULL; + +int usb_find_busses(void) +{ + struct usb_bus *busses, *bus; + int ret, changes = 0; + + ret = usb_os_find_busses(&busses); + if (ret < 0) + return ret; + + /* + * Now walk through all of the busses we know about and compare against + * this new list. Any duplicates will be removed from the new list. + * If we don't find it in the new list, the bus was removed. Any + * busses still in the new list, are new to us. + */ + bus = usb_busses; + while (bus) { + int found = 0; + struct usb_bus *nbus, *tbus = bus->next; + + nbus = busses; + while (nbus) { + struct usb_bus *tnbus = nbus->next; + + if (!strcmp(bus->dirname, nbus->dirname)) { + /* Remove it from the new busses list */ + LIST_DEL(busses, nbus); + + usb_free_bus(nbus); + found = 1; + break; + } + + nbus = tnbus; + } + + if (!found) { + /* The bus was removed from the system */ + LIST_DEL(usb_busses, bus); + usb_free_bus(bus); + changes++; + } + + bus = tbus; + } + + /* + * Anything on the *busses list is new. So add them to usb_busses and + * process them like the new bus it is. + */ + bus = busses; + while (bus) { + struct usb_bus *tbus = bus->next; + + /* + * Remove it from the temporary list first and add it to the real + * usb_busses list. + */ + LIST_DEL(busses, bus); + + LIST_ADD(usb_busses, bus); + + changes++; + + bus = tbus; + } + + return changes; +} + +int usb_find_devices(void) +{ + struct usb_bus *bus; + int ret, changes = 0; + + for (bus = usb_busses; bus; bus = bus->next) { + struct usb_device *devices, *dev; + + /* Find all of the devices and put them into a temporary list */ + ret = usb_os_find_devices(bus, &devices); + if (ret < 0) + return ret; + + /* + * Now walk through all of the devices we know about and compare + * against this new list. Any duplicates will be removed from the new + * list. If we don't find it in the new list, the device was removed. + * Any devices still in the new list, are new to us. + */ + dev = bus->devices; + while (dev) { + int found = 0; + struct usb_device *ndev, *tdev = dev->next; + + ndev = devices; + while (ndev) { + struct usb_device *tndev = ndev->next; + + if (!strcmp(dev->filename, ndev->filename)) { + /* Remove it from the new devices list */ + LIST_DEL(devices, ndev); + + usb_free_dev(ndev); + found = 1; + break; + } + + ndev = tndev; + } + + if (!found) { + /* The device was removed from the system */ + LIST_DEL(bus->devices, dev); + usb_free_dev(dev); + changes++; + } + + dev = tdev; + } + + /* + * Anything on the *devices list is new. So add them to bus->devices and + * process them like the new device it is. + */ + dev = devices; + while (dev) { + struct usb_device *tdev = dev->next; + + /* + * Remove it from the temporary list first and add it to the real + * bus->devices list. + */ + LIST_DEL(devices, dev); + + LIST_ADD(bus->devices, dev); + + /* + * Some ports fetch the descriptors on scanning (like Linux) so we don't + * need to fetch them again. + */ + if (!dev->config) { + usb_dev_handle *udev; + + udev = usb_open(dev); + if (udev) { + usb_fetch_and_parse_descriptors(udev); + + usb_close(udev); + } + } + + changes++; + + dev = tdev; + } + + usb_os_determine_children(bus); + } + + return changes; +} + +void usb_set_debug(int level) +{ + if (usb_debug || level) + fprintf(stderr, "usb_set_debug: Setting debugging level to %d (%s)\n", + level, level ? "on" : "off"); + + usb_debug = level; +} + +void usb_init(void) +{ + if (getenv("USB_DEBUG")) + usb_set_debug(atoi(getenv("USB_DEBUG"))); + + usb_os_init(); +} + +usb_dev_handle *usb_open(struct usb_device *dev) +{ + usb_dev_handle *udev; + + udev = malloc(sizeof(*udev)); + if (!udev) + return NULL; + + udev->fd = -1; + udev->device = dev; + udev->bus = dev->bus; + udev->config = udev->interface = udev->altsetting = -1; + + if (usb_os_open(udev) < 0) { + free(udev); + return NULL; + } + + return udev; +} + +int usb_get_string(usb_dev_handle *dev, int index, int langid, char *buf, + size_t buflen) +{ + /* + * We can't use usb_get_descriptor() because it's lacking the index + * parameter. This will be fixed in libusb 1.0 + */ + return usb_control_msg(dev, USB_ENDPOINT_IN, USB_REQ_GET_DESCRIPTOR, + (USB_DT_STRING << 8) + index, langid, buf, buflen, 1000); +} + +int usb_get_string_simple(usb_dev_handle *dev, int index, char *buf, size_t buflen) +{ + char tbuf[255]; /* Some devices choke on size > 255 */ + int ret, langid, si, di; + + /* + * Asking for the zero'th index is special - it returns a string + * descriptor that contains all the language IDs supported by the + * device. Typically there aren't many - often only one. The + * language IDs are 16 bit numbers, and they start at the third byte + * in the descriptor. See USB 2.0 specification, section 9.6.7, for + * more information on this. */ + ret = usb_get_string(dev, 0, 0, tbuf, sizeof(tbuf)); + if (ret < 0) + return ret; + + if (ret < 4) + return -EIO; + + langid = tbuf[2] | (tbuf[3] << 8); + + ret = usb_get_string(dev, index, langid, tbuf, sizeof(tbuf)); + if (ret < 0) + return ret; + + if (tbuf[1] != USB_DT_STRING) + return -EIO; + + if (tbuf[0] > ret) + return -EFBIG; + + for (di = 0, si = 2; si < tbuf[0]; si += 2) { + if (di >= (buflen - 1)) + break; + + if (tbuf[si + 1]) /* high byte */ + buf[di++] = '?'; + else + buf[di++] = tbuf[si]; + } + + buf[di] = 0; + + return di; +} + +int usb_close(usb_dev_handle *dev) +{ + int ret; + + ret = usb_os_close(dev); + free(dev); + + return ret; +} + +struct usb_device *usb_device(usb_dev_handle *dev) +{ + return dev->device; +} + +void usb_free_dev(struct usb_device *dev) +{ + usb_destroy_configuration(dev); + free(dev->children); + free(dev); +} + +struct usb_bus *usb_get_busses(void) +{ + return usb_busses; +} + +void usb_free_bus(struct usb_bus *bus) +{ + free(bus); +} + diff --git a/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/usb.h b/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/usb.h new file mode 100644 index 000000000..ea3a7e965 --- /dev/null +++ b/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/usb.h @@ -0,0 +1,337 @@ +/* + * Prototypes, structure definitions and macros. + * + * Copyright (c) 2000-2003 Johannes Erdfelt + * + * This library is covered by the LGPL, read LICENSE for details. + * + * This file (and only this file) may alternatively be licensed under the + * BSD license as well, read LICENSE for details. + */ +#ifndef __USB_H__ +#define __USB_H__ + +#include +#include +#include + +#include + +/* + * USB spec information + * + * This is all stuff grabbed from various USB specs and is pretty much + * not subject to change + */ + +/* + * Device and/or Interface Class codes + */ +#define USB_CLASS_PER_INTERFACE 0 /* for DeviceClass */ +#define USB_CLASS_AUDIO 1 +#define USB_CLASS_COMM 2 +#define USB_CLASS_HID 3 +#define USB_CLASS_PRINTER 7 +#define USB_CLASS_PTP 6 +#define USB_CLASS_MASS_STORAGE 8 +#define USB_CLASS_HUB 9 +#define USB_CLASS_DATA 10 +#define USB_CLASS_VENDOR_SPEC 0xff + +/* + * Descriptor types + */ +#define USB_DT_DEVICE 0x01 +#define USB_DT_CONFIG 0x02 +#define USB_DT_STRING 0x03 +#define USB_DT_INTERFACE 0x04 +#define USB_DT_ENDPOINT 0x05 + +#define USB_DT_HID 0x21 +#define USB_DT_REPORT 0x22 +#define USB_DT_PHYSICAL 0x23 +#define USB_DT_HUB 0x29 + +/* + * Descriptor sizes per descriptor type + */ +#define USB_DT_DEVICE_SIZE 18 +#define USB_DT_CONFIG_SIZE 9 +#define USB_DT_INTERFACE_SIZE 9 +#define USB_DT_ENDPOINT_SIZE 7 +#define USB_DT_ENDPOINT_AUDIO_SIZE 9 /* Audio extension */ +#define USB_DT_HUB_NONVAR_SIZE 7 + +/* All standard descriptors have these 2 fields in common */ +struct usb_descriptor_header { + u_int8_t bLength; + u_int8_t bDescriptorType; +}; + +/* String descriptor */ +struct usb_string_descriptor { + u_int8_t bLength; + u_int8_t bDescriptorType; + u_int16_t wData[1]; +}; + +/* HID descriptor */ +struct usb_hid_descriptor { + u_int8_t bLength; + u_int8_t bDescriptorType; + u_int16_t bcdHID; + u_int8_t bCountryCode; + u_int8_t bNumDescriptors; + /* u_int8_t bReportDescriptorType; */ + /* u_int16_t wDescriptorLength; */ + /* ... */ +}; + +/* Endpoint descriptor */ +#define USB_MAXENDPOINTS 32 +struct usb_endpoint_descriptor { + u_int8_t bLength; + u_int8_t bDescriptorType; + u_int8_t bEndpointAddress; + u_int8_t bmAttributes; + u_int16_t wMaxPacketSize; + u_int8_t bInterval; + u_int8_t bRefresh; + u_int8_t bSynchAddress; + + unsigned char *extra; /* Extra descriptors */ + int extralen; +}; + +#define USB_ENDPOINT_ADDRESS_MASK 0x0f /* in bEndpointAddress */ +#define USB_ENDPOINT_DIR_MASK 0x80 + +#define USB_ENDPOINT_TYPE_MASK 0x03 /* in bmAttributes */ +#define USB_ENDPOINT_TYPE_CONTROL 0 +#define USB_ENDPOINT_TYPE_ISOCHRONOUS 1 +#define USB_ENDPOINT_TYPE_BULK 2 +#define USB_ENDPOINT_TYPE_INTERRUPT 3 + +/* Interface descriptor */ +#define USB_MAXINTERFACES 32 +struct usb_interface_descriptor { + u_int8_t bLength; + u_int8_t bDescriptorType; + u_int8_t bInterfaceNumber; + u_int8_t bAlternateSetting; + u_int8_t bNumEndpoints; + u_int8_t bInterfaceClass; + u_int8_t bInterfaceSubClass; + u_int8_t bInterfaceProtocol; + u_int8_t iInterface; + + struct usb_endpoint_descriptor *endpoint; + + unsigned char *extra; /* Extra descriptors */ + int extralen; +}; + +#define USB_MAXALTSETTING 128 /* Hard limit */ +struct usb_interface { + struct usb_interface_descriptor *altsetting; + + int num_altsetting; +}; + +/* Configuration descriptor information.. */ +#define USB_MAXCONFIG 8 +struct usb_config_descriptor { + u_int8_t bLength; + u_int8_t bDescriptorType; + u_int16_t wTotalLength; + u_int8_t bNumInterfaces; + u_int8_t bConfigurationValue; + u_int8_t iConfiguration; + u_int8_t bmAttributes; + u_int8_t MaxPower; + + struct usb_interface *interface; + + unsigned char *extra; /* Extra descriptors */ + int extralen; +}; + +/* Device descriptor */ +struct usb_device_descriptor { + u_int8_t bLength; + u_int8_t bDescriptorType; + u_int16_t bcdUSB; + u_int8_t bDeviceClass; + u_int8_t bDeviceSubClass; + u_int8_t bDeviceProtocol; + u_int8_t bMaxPacketSize0; + u_int16_t idVendor; + u_int16_t idProduct; + u_int16_t bcdDevice; + u_int8_t iManufacturer; + u_int8_t iProduct; + u_int8_t iSerialNumber; + u_int8_t bNumConfigurations; +}; + +struct usb_ctrl_setup { + u_int8_t bRequestType; + u_int8_t bRequest; + u_int16_t wValue; + u_int16_t wIndex; + u_int16_t wLength; +}; + +/* + * Standard requests + */ +#define USB_REQ_GET_STATUS 0x00 +#define USB_REQ_CLEAR_FEATURE 0x01 +/* 0x02 is reserved */ +#define USB_REQ_SET_FEATURE 0x03 +/* 0x04 is reserved */ +#define USB_REQ_SET_ADDRESS 0x05 +#define USB_REQ_GET_DESCRIPTOR 0x06 +#define USB_REQ_SET_DESCRIPTOR 0x07 +#define USB_REQ_GET_CONFIGURATION 0x08 +#define USB_REQ_SET_CONFIGURATION 0x09 +#define USB_REQ_GET_INTERFACE 0x0A +#define USB_REQ_SET_INTERFACE 0x0B +#define USB_REQ_SYNCH_FRAME 0x0C + +#define USB_TYPE_STANDARD (0x00 << 5) +#define USB_TYPE_CLASS (0x01 << 5) +#define USB_TYPE_VENDOR (0x02 << 5) +#define USB_TYPE_RESERVED (0x03 << 5) + +#define USB_RECIP_DEVICE 0x00 +#define USB_RECIP_INTERFACE 0x01 +#define USB_RECIP_ENDPOINT 0x02 +#define USB_RECIP_OTHER 0x03 + +/* + * Various libusb API related stuff + */ + +#define USB_ENDPOINT_IN 0x80 +#define USB_ENDPOINT_OUT 0x00 + +/* Error codes */ +#define USB_ERROR_BEGIN 500000 + +/* + * This is supposed to look weird. This file is generated from autoconf + * and I didn't want to make this too complicated. + */ +#if 0 +#define USB_LE16_TO_CPU(x) do { x = ((x & 0xff) << 8) | ((x & 0xff00) >> 8); } while(0) +#else +#define USB_LE16_TO_CPU(x) +#endif + +/* Data types */ +struct usb_device; +struct usb_bus; + +/* + * To maintain compatibility with applications already built with libusb, + * we must only add entries to the end of this structure. NEVER delete or + * move members and only change types if you really know what you're doing. + */ +struct usb_device { + struct usb_device *next, *prev; + + char filename[PATH_MAX + 1]; + + struct usb_bus *bus; + + struct usb_device_descriptor descriptor; + struct usb_config_descriptor *config; + + void *dev; /* Darwin support */ + + u_int8_t devnum; + + unsigned char num_children; + struct usb_device **children; +}; + +struct usb_bus { + struct usb_bus *next, *prev; + + char dirname[PATH_MAX + 1]; + + struct usb_device *devices; + u_int32_t location; + + struct usb_device *root_dev; +}; + +struct usb_dev_handle; +typedef struct usb_dev_handle usb_dev_handle; + +/* Variables */ +extern struct usb_bus *usb_busses; + +#ifdef __cplusplus +extern "C" { +#endif + +/* Function prototypes */ + +/* usb.c */ +usb_dev_handle *usb_open(struct usb_device *dev); +int usb_close(usb_dev_handle *dev); +int usb_get_string(usb_dev_handle *dev, int index, int langid, char *buf, + size_t buflen); +int usb_get_string_simple(usb_dev_handle *dev, int index, char *buf, + size_t buflen); + +/* descriptors.c */ +int usb_get_descriptor_by_endpoint(usb_dev_handle *udev, int ep, + unsigned char type, unsigned char index, void *buf, int size); +int usb_get_descriptor(usb_dev_handle *udev, unsigned char type, + unsigned char index, void *buf, int size); + +/* .c */ +int usb_bulk_write(usb_dev_handle *dev, int ep, char *bytes, int size, + int timeout); +int usb_bulk_read(usb_dev_handle *dev, int ep, char *bytes, int size, + int timeout); +int usb_interrupt_write(usb_dev_handle *dev, int ep, char *bytes, int size, + int timeout); +int usb_interrupt_read(usb_dev_handle *dev, int ep, char *bytes, int size, + int timeout); +int usb_control_msg(usb_dev_handle *dev, int requesttype, int request, + int value, int index, char *bytes, int size, int timeout); +int usb_set_configuration(usb_dev_handle *dev, int configuration); +int usb_claim_interface(usb_dev_handle *dev, int interface); +int usb_release_interface(usb_dev_handle *dev, int interface); +int usb_set_altinterface(usb_dev_handle *dev, int alternate); +int usb_resetep(usb_dev_handle *dev, unsigned int ep); +int usb_clear_halt(usb_dev_handle *dev, unsigned int ep); +int usb_reset(usb_dev_handle *dev); + +#if 1 +#define LIBUSB_HAS_GET_DRIVER_NP 1 +int usb_get_driver_np(usb_dev_handle *dev, int interface, char *name, + unsigned int namelen); +#define LIBUSB_HAS_DETACH_KERNEL_DRIVER_NP 1 +int usb_detach_kernel_driver_np(usb_dev_handle *dev, int interface); +#endif + +char *usb_strerror(void); + +void usb_init(void); +void usb_set_debug(int level); +int usb_find_busses(void); +int usb_find_devices(void); +struct usb_device *usb_device(usb_dev_handle *dev); +struct usb_bus *usb_get_busses(void); + +#ifdef __cplusplus +} +#endif + +#endif /* __USB_H__ */ + diff --git a/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/usb.h.in b/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/usb.h.in new file mode 100644 index 000000000..443c7c03e --- /dev/null +++ b/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/usb.h.in @@ -0,0 +1,337 @@ +/* + * Prototypes, structure definitions and macros. + * + * Copyright (c) 2000-2003 Johannes Erdfelt + * + * This library is covered by the LGPL, read LICENSE for details. + * + * This file (and only this file) may alternatively be licensed under the + * BSD license as well, read LICENSE for details. + */ +#ifndef __USB_H__ +#define __USB_H__ + +#include +#include +#include + +#include + +/* + * USB spec information + * + * This is all stuff grabbed from various USB specs and is pretty much + * not subject to change + */ + +/* + * Device and/or Interface Class codes + */ +#define USB_CLASS_PER_INTERFACE 0 /* for DeviceClass */ +#define USB_CLASS_AUDIO 1 +#define USB_CLASS_COMM 2 +#define USB_CLASS_HID 3 +#define USB_CLASS_PRINTER 7 +#define USB_CLASS_PTP 6 +#define USB_CLASS_MASS_STORAGE 8 +#define USB_CLASS_HUB 9 +#define USB_CLASS_DATA 10 +#define USB_CLASS_VENDOR_SPEC 0xff + +/* + * Descriptor types + */ +#define USB_DT_DEVICE 0x01 +#define USB_DT_CONFIG 0x02 +#define USB_DT_STRING 0x03 +#define USB_DT_INTERFACE 0x04 +#define USB_DT_ENDPOINT 0x05 + +#define USB_DT_HID 0x21 +#define USB_DT_REPORT 0x22 +#define USB_DT_PHYSICAL 0x23 +#define USB_DT_HUB 0x29 + +/* + * Descriptor sizes per descriptor type + */ +#define USB_DT_DEVICE_SIZE 18 +#define USB_DT_CONFIG_SIZE 9 +#define USB_DT_INTERFACE_SIZE 9 +#define USB_DT_ENDPOINT_SIZE 7 +#define USB_DT_ENDPOINT_AUDIO_SIZE 9 /* Audio extension */ +#define USB_DT_HUB_NONVAR_SIZE 7 + +/* All standard descriptors have these 2 fields in common */ +struct usb_descriptor_header { + u_int8_t bLength; + u_int8_t bDescriptorType; +}; + +/* String descriptor */ +struct usb_string_descriptor { + u_int8_t bLength; + u_int8_t bDescriptorType; + u_int16_t wData[1]; +}; + +/* HID descriptor */ +struct usb_hid_descriptor { + u_int8_t bLength; + u_int8_t bDescriptorType; + u_int16_t bcdHID; + u_int8_t bCountryCode; + u_int8_t bNumDescriptors; + /* u_int8_t bReportDescriptorType; */ + /* u_int16_t wDescriptorLength; */ + /* ... */ +}; + +/* Endpoint descriptor */ +#define USB_MAXENDPOINTS 32 +struct usb_endpoint_descriptor { + u_int8_t bLength; + u_int8_t bDescriptorType; + u_int8_t bEndpointAddress; + u_int8_t bmAttributes; + u_int16_t wMaxPacketSize; + u_int8_t bInterval; + u_int8_t bRefresh; + u_int8_t bSynchAddress; + + unsigned char *extra; /* Extra descriptors */ + int extralen; +}; + +#define USB_ENDPOINT_ADDRESS_MASK 0x0f /* in bEndpointAddress */ +#define USB_ENDPOINT_DIR_MASK 0x80 + +#define USB_ENDPOINT_TYPE_MASK 0x03 /* in bmAttributes */ +#define USB_ENDPOINT_TYPE_CONTROL 0 +#define USB_ENDPOINT_TYPE_ISOCHRONOUS 1 +#define USB_ENDPOINT_TYPE_BULK 2 +#define USB_ENDPOINT_TYPE_INTERRUPT 3 + +/* Interface descriptor */ +#define USB_MAXINTERFACES 32 +struct usb_interface_descriptor { + u_int8_t bLength; + u_int8_t bDescriptorType; + u_int8_t bInterfaceNumber; + u_int8_t bAlternateSetting; + u_int8_t bNumEndpoints; + u_int8_t bInterfaceClass; + u_int8_t bInterfaceSubClass; + u_int8_t bInterfaceProtocol; + u_int8_t iInterface; + + struct usb_endpoint_descriptor *endpoint; + + unsigned char *extra; /* Extra descriptors */ + int extralen; +}; + +#define USB_MAXALTSETTING 128 /* Hard limit */ +struct usb_interface { + struct usb_interface_descriptor *altsetting; + + int num_altsetting; +}; + +/* Configuration descriptor information.. */ +#define USB_MAXCONFIG 8 +struct usb_config_descriptor { + u_int8_t bLength; + u_int8_t bDescriptorType; + u_int16_t wTotalLength; + u_int8_t bNumInterfaces; + u_int8_t bConfigurationValue; + u_int8_t iConfiguration; + u_int8_t bmAttributes; + u_int8_t MaxPower; + + struct usb_interface *interface; + + unsigned char *extra; /* Extra descriptors */ + int extralen; +}; + +/* Device descriptor */ +struct usb_device_descriptor { + u_int8_t bLength; + u_int8_t bDescriptorType; + u_int16_t bcdUSB; + u_int8_t bDeviceClass; + u_int8_t bDeviceSubClass; + u_int8_t bDeviceProtocol; + u_int8_t bMaxPacketSize0; + u_int16_t idVendor; + u_int16_t idProduct; + u_int16_t bcdDevice; + u_int8_t iManufacturer; + u_int8_t iProduct; + u_int8_t iSerialNumber; + u_int8_t bNumConfigurations; +}; + +struct usb_ctrl_setup { + u_int8_t bRequestType; + u_int8_t bRequest; + u_int16_t wValue; + u_int16_t wIndex; + u_int16_t wLength; +}; + +/* + * Standard requests + */ +#define USB_REQ_GET_STATUS 0x00 +#define USB_REQ_CLEAR_FEATURE 0x01 +/* 0x02 is reserved */ +#define USB_REQ_SET_FEATURE 0x03 +/* 0x04 is reserved */ +#define USB_REQ_SET_ADDRESS 0x05 +#define USB_REQ_GET_DESCRIPTOR 0x06 +#define USB_REQ_SET_DESCRIPTOR 0x07 +#define USB_REQ_GET_CONFIGURATION 0x08 +#define USB_REQ_SET_CONFIGURATION 0x09 +#define USB_REQ_GET_INTERFACE 0x0A +#define USB_REQ_SET_INTERFACE 0x0B +#define USB_REQ_SYNCH_FRAME 0x0C + +#define USB_TYPE_STANDARD (0x00 << 5) +#define USB_TYPE_CLASS (0x01 << 5) +#define USB_TYPE_VENDOR (0x02 << 5) +#define USB_TYPE_RESERVED (0x03 << 5) + +#define USB_RECIP_DEVICE 0x00 +#define USB_RECIP_INTERFACE 0x01 +#define USB_RECIP_ENDPOINT 0x02 +#define USB_RECIP_OTHER 0x03 + +/* + * Various libusb API related stuff + */ + +#define USB_ENDPOINT_IN 0x80 +#define USB_ENDPOINT_OUT 0x00 + +/* Error codes */ +#define USB_ERROR_BEGIN 500000 + +/* + * This is supposed to look weird. This file is generated from autoconf + * and I didn't want to make this too complicated. + */ +#if @BIGENDIAN@ +#define USB_LE16_TO_CPU(x) do { x = ((x & 0xff) << 8) | ((x & 0xff00) >> 8); } while(0) +#else +#define USB_LE16_TO_CPU(x) +#endif + +/* Data types */ +struct usb_device; +struct usb_bus; + +/* + * To maintain compatibility with applications already built with libusb, + * we must only add entries to the end of this structure. NEVER delete or + * move members and only change types if you really know what you're doing. + */ +struct usb_device { + struct usb_device *next, *prev; + + char filename[PATH_MAX + 1]; + + struct usb_bus *bus; + + struct usb_device_descriptor descriptor; + struct usb_config_descriptor *config; + + void *dev; /* Darwin support */ + + u_int8_t devnum; + + unsigned char num_children; + struct usb_device **children; +}; + +struct usb_bus { + struct usb_bus *next, *prev; + + char dirname[PATH_MAX + 1]; + + struct usb_device *devices; + u_int32_t location; + + struct usb_device *root_dev; +}; + +struct usb_dev_handle; +typedef struct usb_dev_handle usb_dev_handle; + +/* Variables */ +extern struct usb_bus *usb_busses; + +#ifdef __cplusplus +extern "C" { +#endif + +/* Function prototypes */ + +/* usb.c */ +usb_dev_handle *usb_open(struct usb_device *dev); +int usb_close(usb_dev_handle *dev); +int usb_get_string(usb_dev_handle *dev, int index, int langid, char *buf, + size_t buflen); +int usb_get_string_simple(usb_dev_handle *dev, int index, char *buf, + size_t buflen); + +/* descriptors.c */ +int usb_get_descriptor_by_endpoint(usb_dev_handle *udev, int ep, + unsigned char type, unsigned char index, void *buf, int size); +int usb_get_descriptor(usb_dev_handle *udev, unsigned char type, + unsigned char index, void *buf, int size); + +/* .c */ +int usb_bulk_write(usb_dev_handle *dev, int ep, char *bytes, int size, + int timeout); +int usb_bulk_read(usb_dev_handle *dev, int ep, char *bytes, int size, + int timeout); +int usb_interrupt_write(usb_dev_handle *dev, int ep, char *bytes, int size, + int timeout); +int usb_interrupt_read(usb_dev_handle *dev, int ep, char *bytes, int size, + int timeout); +int usb_control_msg(usb_dev_handle *dev, int requesttype, int request, + int value, int index, char *bytes, int size, int timeout); +int usb_set_configuration(usb_dev_handle *dev, int configuration); +int usb_claim_interface(usb_dev_handle *dev, int interface); +int usb_release_interface(usb_dev_handle *dev, int interface); +int usb_set_altinterface(usb_dev_handle *dev, int alternate); +int usb_resetep(usb_dev_handle *dev, unsigned int ep); +int usb_clear_halt(usb_dev_handle *dev, unsigned int ep); +int usb_reset(usb_dev_handle *dev); + +#if @LINUX_API@ +#define LIBUSB_HAS_GET_DRIVER_NP 1 +int usb_get_driver_np(usb_dev_handle *dev, int interface, char *name, + unsigned int namelen); +#define LIBUSB_HAS_DETACH_KERNEL_DRIVER_NP 1 +int usb_detach_kernel_driver_np(usb_dev_handle *dev, int interface); +#endif + +char *usb_strerror(void); + +void usb_init(void); +void usb_set_debug(int level); +int usb_find_busses(void); +int usb_find_devices(void); +struct usb_device *usb_device(usb_dev_handle *dev); +struct usb_bus *usb_get_busses(void); + +#ifdef __cplusplus +} +#endif + +#endif /* __USB_H__ */ + diff --git a/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/usbi.h b/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/usbi.h new file mode 100644 index 000000000..c491db42f --- /dev/null +++ b/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/usbi.h @@ -0,0 +1,74 @@ +#ifndef _USBI_H_ +#define _USBI_H_ + +#include "usb.h" + +#include "error.h" + +extern int usb_debug; + +/* Some quick and generic macros for the simple kind of lists we use */ +#define LIST_ADD(begin, ent) \ + do { \ + if (begin) { \ + ent->next = begin; \ + ent->next->prev = ent; \ + } else \ + ent->next = NULL; \ + ent->prev = NULL; \ + begin = ent; \ + } while(0) + +#define LIST_DEL(begin, ent) \ + do { \ + if (ent->prev) \ + ent->prev->next = ent->next; \ + else \ + begin = ent->next; \ + if (ent->next) \ + ent->next->prev = ent->prev; \ + ent->prev = NULL; \ + ent->next = NULL; \ + } while (0) + +#define DESC_HEADER_LENGTH 2 +#define DEVICE_DESC_LENGTH 18 +#define CONFIG_DESC_LENGTH 9 +#define INTERFACE_DESC_LENGTH 9 +#define ENDPOINT_DESC_LENGTH 7 +#define ENDPOINT_AUDIO_DESC_LENGTH 9 + +struct usb_dev_handle { + int fd; + + struct usb_bus *bus; + struct usb_device *device; + + int config; + int interface; + int altsetting; + + /* Added by RMT so implementations can store other per-open-device data */ + void *impl_info; +}; + +/* descriptors.c */ +int usb_parse_descriptor(unsigned char *source, char *description, void *dest); +int usb_parse_configuration(struct usb_config_descriptor *config, + unsigned char *buffer); +void usb_fetch_and_parse_descriptors(usb_dev_handle *udev); +void usb_destroy_configuration(struct usb_device *dev); + +/* OS specific routines */ +int usb_os_find_busses(struct usb_bus **busses); +int usb_os_find_devices(struct usb_bus *bus, struct usb_device **devices); +int usb_os_determine_children(struct usb_bus *bus); +void usb_os_init(void); +int usb_os_open(usb_dev_handle *dev); +int usb_os_close(usb_dev_handle *dev); + +void usb_free_dev(struct usb_device *dev); +void usb_free_bus(struct usb_bus *bus); + +#endif /* _USBI_H_ */ + diff --git a/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/usbpp.cpp b/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/usbpp.cpp new file mode 100644 index 000000000..3bbd1b813 --- /dev/null +++ b/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/usbpp.cpp @@ -0,0 +1,581 @@ +// -*- C++;indent-tabs-mode: t; tab-width: 4; c-basic-offset: 4; -*- +/* + * USB C++ bindings + * + * Copyright (C) 2003 Brad Hards + * + * This library is covered by the LGPL, read LICENSE for details. + */ + +#include +#include +#include + +//remove after debugging +#include + +#include "usbpp.h" + +namespace USB { + Busses::Busses(void) + { + usb_init(); + rescan(); + } + + void Busses::rescan(void) + { + struct usb_bus *bus; + struct usb_device *dev; + Bus *this_Bus; + Device *this_Device; + Configuration *this_Configuration; + Interface *this_Interface; + AltSetting *this_AltSetting; + Endpoint *this_Endpoint; + int i, j, k, l; + + usb_find_busses(); + usb_find_devices(); + + for (bus = usb_get_busses(); bus; bus = bus->next) { + std::string dirName(bus->dirname); + + this_Bus = new Bus; + this_Bus->setDirectoryName(dirName); + push_back(this_Bus); + + for (dev = bus->devices; dev; dev = dev->next) { + std::string buf, fileName(dev->filename); + usb_dev_handle *dev_handle; + int ret; + + this_Device = new Device; + this_Device->setFileName(fileName); + this_Device->setDescriptor(dev->descriptor); + + dev_handle = usb_open(dev); + + if (dev_handle) { + this_Device->setDevHandle(dev_handle); + + if (dev->descriptor.iManufacturer) { + ret = this_Device->string(buf, dev->descriptor.iManufacturer); + if (ret > 0) + this_Device->setVendor(buf); + } + + if (dev->descriptor.iProduct) { + ret = this_Device->string(buf, dev->descriptor.iProduct); + if (ret > 0) + this_Device->setProduct(buf); + } + + if (dev->descriptor.iSerialNumber) { + ret = this_Device->string(buf, dev->descriptor.iSerialNumber); + if (ret > 0) + this_Device->setSerialNumber(buf); + } + } + + this_Bus->push_back(this_Device); + + for (i = 0; i < this_Device->numConfigurations(); i++) { + this_Configuration = new Configuration; + this_Configuration->setDescriptor(dev->config[i]); + this_Device->push_back(this_Configuration); + + for (j = 0; j < this_Configuration->numInterfaces(); j ++) { + this_Interface = new Interface; + this_Interface->setNumAltSettings(dev->config[i].interface[j].num_altsetting); + this_Interface->setParent(this_Device); + this_Interface->setInterfaceNumber(j); + this_Configuration->push_back(this_Interface); + + for (k = 0; k < this_Interface->numAltSettings(); k ++) { + this_AltSetting = new AltSetting; + this_AltSetting->setDescriptor(dev->config[i].interface[j].altsetting[k]); + this_Interface->push_back(this_AltSetting); + + for (l = 0; l < this_AltSetting->numEndpoints(); l++) { + this_Endpoint = new Endpoint; + this_Endpoint->setDescriptor(dev->config[i].interface[j].altsetting[k].endpoint[l]); + this_Endpoint->setParent(this_Device); + this_AltSetting->push_back(this_Endpoint); + } + } + } + } + } + } + } + + std::list Busses::match(u_int8_t class_code) + { + std::list match_list; + USB::Bus *bus; + std::list::const_iterator biter; + + for (biter = begin(); biter != end(); biter++) { + USB::Device *device; + std::list::const_iterator diter; + bus = *biter; + + for (diter = bus->begin(); diter != bus->end(); diter++) { + device = *diter; + if (device->devClass() == class_code) + match_list.push_back(device); + } + } + return match_list; + } + + std::list Busses::match(DeviceIDList devList) + { + std::list match_list; + USB::Bus *bus; + std::list::const_iterator biter; + + for (biter = begin(); biter != end(); biter++) { + USB::Device *device; + std::list::const_iterator diter; + + bus = *biter; + for (diter = bus->begin(); diter != bus->end(); diter++) { + DeviceIDList::iterator it; + + device = *diter; + + for (it = devList.begin(); it != devList.end(); it++) { + if (device->idVendor() == (*it).vendor() && + device->idProduct() == (*it).product()) + match_list.push_back(device); + } + } + } + return match_list; + } + + std::string Bus::directoryName(void) + { + return m_directoryName; + } + + void Bus::setDirectoryName(std::string directoryName) + { + m_directoryName = directoryName; + } + + Device::~Device(void) + { + usb_close(m_handle); + } + + std::string Device::fileName(void) + { + return m_fileName; + } + + int Device::string(std::string &buf, int index, u_int16_t langID) + { + int retval; + char tmpBuff[256]; + + if (0 == langID) { + /* we want the first lang ID available, so find out what it is */ + retval = usb_get_string(m_handle, 0, 0, tmpBuff, sizeof(tmpBuff)); + if (retval < 0) + return retval; + + if (retval < 4 || tmpBuff[1] != USB_DT_STRING) + return -EIO; + + langID = tmpBuff[2] | (tmpBuff[3] << 8); + } + + retval = usb_get_string(m_handle, index, langID, tmpBuff, sizeof(tmpBuff)); + + if (retval < 0) + return retval; + + if (tmpBuff[1] != USB_DT_STRING) + return -EIO; + + if (tmpBuff[0] > retval) + return -EFBIG; + + /* FIXME: Handle unicode? */ +#if 0 + if (retval > 0) { + std::string.setUnicode((unsigned char *)&tmpBuff[2], tmpBuff[0] / 2 - 1); + } +#endif + return retval; + } + + struct usb_dev_handle *Device::handle(void) + { + return m_handle; + } + +#ifdef USE_UNTESTED_LIBUSBPP_METHODS + int Device::reset(void) + { + return usb_reset(handle()); + } + + int Device::setConfiguration(int configurationNumber) + { + return usb_set_configuration(handle(), configurationNumber); + } +#endif /* USE_UNTESTED_LIBUSBPP_METHODS */ + + u_int16_t Device::idVendor(void) + { + return m_descriptor.idVendor; + } + + u_int16_t Device::idProduct(void) + { + return m_descriptor.idProduct; + } + + u_int16_t Device::idRevision(void) + { + return m_descriptor.bcdDevice; + } + + u_int8_t Device::devClass(void) + { + return m_descriptor.bDeviceClass; + } + + u_int8_t Device::devSubClass(void) + { + return m_descriptor.bDeviceSubClass; + } + + u_int8_t Device::devProtocol(void) + { + return m_descriptor.bDeviceProtocol; + } + + std::string Device::Vendor(void) + { + return m_Vendor; + } + + std::string Device::Product(void) + { + return m_Product; + } + + std::string Device::SerialNumber(void) + { + return m_SerialNumber; + } + + void Device::setVendor(std::string vendor) + { + m_Vendor = vendor; + } + + void Device::setDevHandle(struct usb_dev_handle *device) + { + m_handle = device; + } + + void Device::setProduct(std::string product) + { + m_Product = product; + } + + void Device::setSerialNumber(std::string serialnumber) + { + m_SerialNumber = serialnumber; + } + + u_int8_t Device::numConfigurations(void) + { + return m_descriptor.bNumConfigurations; + } + + void Device::setFileName(std::string fileName) + { + m_fileName = fileName; + } + + void Device::setDescriptor(struct usb_device_descriptor descriptor) + { + m_descriptor = descriptor; + } + + Configuration *Device::firstConfiguration(void) + { + iter = begin(); + return *iter++; + } + + Configuration *Device::nextConfiguration(void) + { + if (iter == end()) + return NULL; + + return *iter++; + } + + Configuration *Device::lastConfiguration(void) + { + return back(); + } + + int Device::controlTransfer(u_int8_t requestType, u_int8_t request, + u_int16_t value, u_int16_t index, u_int16_t length, + unsigned char *payload, int timeout) + { + return usb_control_msg(m_handle, requestType, request, value, index, (char *)payload, length, timeout); + } + + u_int8_t Configuration::numInterfaces(void) + { + return m_NumInterfaces; + } + + void Configuration::setDescriptor(struct usb_config_descriptor descriptor) + { + m_Length = descriptor.bLength; + m_DescriptorType = descriptor.bDescriptorType; + m_TotalLength = descriptor.wTotalLength; + m_NumInterfaces = descriptor.bNumInterfaces; + m_ConfigurationValue = descriptor.bConfigurationValue; + m_Configuration = descriptor.iConfiguration; + m_Attributes = descriptor.bmAttributes; + m_MaxPower = descriptor.MaxPower; + } + + void Configuration::dumpDescriptor(void) + { + printf(" wTotalLength: %d\n", m_TotalLength); + printf(" bNumInterfaces: %d\n", m_NumInterfaces); + printf(" bConfigurationValue: %d\n", m_ConfigurationValue); + printf(" iConfiguration: %d\n", m_Configuration); + printf(" bmAttributes: %02xh\n", m_Attributes); + printf(" MaxPower: %d\n", m_MaxPower); + } + + Interface *Configuration::firstInterface(void) + { + iter = begin(); + return *iter++; + } + + Interface *Configuration::nextInterface(void) + { + if (iter == end()) + return NULL; + + return *iter++; + } + + Interface *Configuration::lastInterface(void) + { + return back(); + } + +#ifdef LIBUSB_HAS_GET_DRIVER_NP + int Interface::driverName(std::string &driver) + { + int retval; + char tmpString[256]; + + retval = usb_get_driver_np(m_parent->handle(), m_interfaceNumber, tmpString, sizeof(tmpString)); + if (retval == 0) { + std::string buf(tmpString); + + driver = buf; + } + return retval; + } +#endif + +#ifdef USE_UNTESTED_LIBUSBPP_METHODS + int Interface::claim(void) + { + return usb_claim_interface(m_parent->handle(), m_interfaceNumber); + } + + int Interface::release(void) + { + return usb_claim_interface(m_parent->handle(), m_interfaceNumber); + } + + int Interface::setAltSetting(int altSettingNumber) + { + return usb_set_altinterface(m_parent->handle(), altSettingNumber); + } +#endif /* USE_UNTESTED_LIBUSBPP_METHODS */ + + u_int8_t Interface::numAltSettings(void) + { + return m_numAltSettings; + } + + void Interface::setNumAltSettings(u_int8_t num_altsetting) + { + m_numAltSettings = num_altsetting; + } + + void Interface::setInterfaceNumber(int interfaceNumber) + { + m_interfaceNumber = interfaceNumber; + } + + void Interface::setParent(Device *parent) + { + m_parent = parent; + } + + AltSetting *Interface::firstAltSetting(void) + { + iter = begin(); + return *iter++; + } + + AltSetting *Interface::nextAltSetting(void) + { + if (iter == end()) + return NULL; + + return *iter++; + } + + AltSetting *Interface::lastAltSetting(void) + { + return back(); + } + + void AltSetting::setDescriptor(struct usb_interface_descriptor descriptor) + { + m_Length = descriptor.bLength; + m_DescriptorType = descriptor.bDescriptorType; + m_InterfaceNumber = descriptor.bInterfaceNumber; + m_AlternateSetting = descriptor.bAlternateSetting; + m_NumEndpoints = descriptor.bNumEndpoints; + m_InterfaceClass = descriptor.bInterfaceClass; + m_InterfaceSubClass = descriptor.bInterfaceSubClass; + m_InterfaceProtocol = descriptor.bInterfaceProtocol; + m_Interface = descriptor.iInterface; + } + + void AltSetting::dumpDescriptor(void) + { + printf(" bInterfaceNumber: %d\n", m_InterfaceNumber); + printf(" bAlternateSetting: %d\n", m_AlternateSetting); + printf(" bNumEndpoints: %d\n", m_NumEndpoints); + printf(" bInterfaceClass: %d\n", m_InterfaceClass); + printf(" bInterfaceSubClass: %d\n", m_InterfaceSubClass); + printf(" bInterfaceProtocol: %d\n", m_InterfaceProtocol); + printf(" iInterface: %d\n", m_Interface); + } + + Endpoint *AltSetting::firstEndpoint(void) + { + iter = begin(); + return *iter++; + } + + Endpoint *AltSetting::nextEndpoint(void) + { + if (iter == end()) + return NULL; + + return *iter++; + } + + Endpoint *AltSetting::lastEndpoint(void) + { + return back(); + } + + u_int8_t AltSetting::numEndpoints(void) + { + return m_NumEndpoints; + } + + void Endpoint::setDescriptor(struct usb_endpoint_descriptor descriptor) + { + m_EndpointAddress = descriptor.bEndpointAddress; + m_Attributes = descriptor.bmAttributes; + m_MaxPacketSize = descriptor.wMaxPacketSize; + m_Interval = descriptor.bInterval; + m_Refresh = descriptor.bRefresh; + m_SynchAddress = descriptor.bSynchAddress; + } + + void Endpoint::setParent(Device *parent) + { + m_parent = parent; + } + +#ifdef USE_UNTESTED_LIBUSBPP_METHODS + int Endpoint::bulkWrite(unsigned char *message, int timeout) + { + return usb_bulk_write(m_parent->handle(), m_EndpointAddress, message.data(), + message.size(), timeout); + } + + int Endpoint::bulkRead(int length, unsigned char *message, int timeout) + { + char *buf; + int res; + + buf = (char *)malloc(length); + res = usb_bulk_read(m_parent->handle(), m_EndpointAddress, buf, length, timeout); + + if (res > 0) { + message.resize(length); + message.duplicate(buf, res); + } + + return res; + } + + int Endpoint::reset(void) + { + return usb_resetep(m_parent->handle(), m_EndpointAddress); + } + + int Endpoint::clearHalt(void) + { + return usb_clear_halt(m_parent->handle(), m_EndpointAddress); + } + +#endif /* USE_UNTESTED_LIBUSBPP_METHODS */ + + void Endpoint::dumpDescriptor(void) + { + printf(" bEndpointAddress: %02xh\n", m_EndpointAddress); + printf(" bmAttributes: %02xh\n", m_Attributes); + printf(" wMaxPacketSize: %d\n", m_MaxPacketSize); + printf(" bInterval: %d\n", m_Interval); + printf(" bRefresh: %d\n", m_Refresh); + printf(" bSynchAddress: %d\n", m_SynchAddress); + } + + DeviceID::DeviceID(u_int16_t vendor, u_int16_t product) + { + m_vendor = vendor; + m_product = product; + } + + u_int16_t DeviceID::vendor(void) + { + return m_vendor; + } + + u_int16_t DeviceID::product(void) + { + return m_product; + } +} + diff --git a/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/usbpp.h b/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/usbpp.h new file mode 100644 index 000000000..f2bc6f362 --- /dev/null +++ b/external/bcm-dhd/BCM43241-DHD-HSIC-1.136.1/dhd/sources/src/usbdev/libusb/usbpp.h @@ -0,0 +1,855 @@ +// -*- C++;indent-tabs-mode: t; tab-width: 4; c-basic-offset: 4; -*- +#ifndef __USBPP_HEADER__ +#define __USBPP_HEADER__ + +#include +#include + +#include + +/* + * The following usb.h function is not wrapped yet: + * char *usb_strerror(void); + */ + + +/** + * \brief Classes to access Universal Serial Bus devices + * + * The USB Namespace provides a number of classes to work + * with Universal Serial Bus (USB) devices attached to the + * system. + * + * \author Brad Hards + */ +namespace USB { + + class Device; + + /** + * \brief Class representing a device endpoint + * + * This class represents a device endpoint. You need this class to + * perform bulk reads and writes. + * + */ + class Endpoint { + /** + * Busses is a friend because it fills in the descriptor type + * information on initialisation and rescan. + */ + friend class Busses; + public: + Endpoint() {}; + +#ifdef USE_UNTESTED_LIBUSBPP_METHODS + /** + * \brief Bulk write + * + * This method performs a bulk transfer to the endpoint. + * + * \param message is the message to be sent. + * \param timeout is the USB transaction timeout in milliseconds + * + * \returns the number of bytes sent, or a negative value on + * failure + */ + int bulkWrite(QByteArray message, int timeout = 100); + + /** + * \brief Bulk read + * + * This method performs a bulk transfer from the endpoint. + * + * \param length is the maximum data transfer required. + * \param message is the message that was received. + * \param timeout is the USB transaction timeout in milliseconds + * + * \returns the number of bytes received, or a negative value on + * failure + */ + int bulkRead(int length, unsigned char *message, int timeout = 100); + + /** + * \brief Reset endpoint + * + * This method resets the endpoint. + */ + int reset(void); + + /** + * \brief Clear halt + * + * This method clears a halt (stall) on the endpoint. + */ + int clearHalt(void); + +#endif /* USE_UNTESTED_LIBUSBPP_METHODS */ + + /** + * \brief Endpoint descriptor information output + * + * This method dumps out the various characteristics + * of the endpoint to standard output. + * + * It is mostly useful for debugging. + */ + void dumpDescriptor(void); + + private: + void setDescriptor(struct usb_endpoint_descriptor); + void setParent(Device *parent); + u_int8_t m_Length; + u_int8_t m_DescriptorType; + u_int8_t m_EndpointAddress; + u_int8_t m_Attributes; + u_int16_t m_MaxPacketSize; + u_int8_t m_Interval; + u_int8_t m_Refresh; + u_int8_t m_SynchAddress; + Device *m_parent; + }; + + class AltSetting : public std::list { + /** + * Busses is a friend because it fills in the descriptor type + * information on initialisation and rescan. + */ + friend class Busses; + public: + AltSetting() {}; + u_int8_t numEndpoints(void); + + /** + * \brief AltSetting descriptor information output + * + * This method dumps out the various characteristics + * of the alternate setting to standard output. + * + * It is mostly useful for debugging. + */ + void dumpDescriptor(void); + + Endpoint *firstEndpoint(void); + Endpoint *nextEndpoint(void); + Endpoint *lastEndpoint(void); + + private: + std::list::const_iterator iter; + + void setDescriptor(struct usb_interface_descriptor); + /* we don't use a normal usb_interface_descriptor */ + /* because that would bring in the endpoint list */ + u_int8_t m_Length; + u_int8_t m_DescriptorType; + u_int8_t m_InterfaceNumber; + u_int8_t m_AlternateSetting; + u_int8_t m_NumEndpoints; + u_int8_t m_InterfaceClass; + u_int8_t m_InterfaceSubClass; + u_int8_t m_InterfaceProtocol; + u_int8_t m_Interface; + }; + + /** + * \brief Class representing an interface of a Device + * + * The Interface class represents a USB interface + * for a device attached to a Universal Serial Bus. + * + * Interfaces are the main element of the USB class + * structure. + * + * \author Brad Hards + */ + class Interface : public std::list { + /** + * Busses is a friend because it fills in the descriptor type + * information on initialisation and rescan. + */ + friend class Busses; + public: + Interface() {}; + +#ifdef LIBUSB_HAS_GET_DRIVER_NP + /** + * \brief get the current driver for an interface + * + * \param driver a string containing the name of the current + * driver for the interface. You can typically pass in an empty + * string for this. + * + * \return length of string, or 0 on error. + */ + int driverName(std::string &driver); +#endif + +#ifdef USE_UNTESTED_LIBUSBPP_METHODS + /** + * \brief Claim this interface + * + * This method claims the interface. You have to claim the + * interface before performing any operations on the interface (or + * on endpoints that are part of the interface). + * + * \return 0 on success or negative number on error. + */ + int claim(void); + + /** + * \brief Release this interface + * + * This method releases the interface. You should release the + * interface after all operations on it (and any lower level + * endpoints) are completed. + * + * \return 0 on success or negative number on error. + */ + int release(void); + + /** + * \brief Set interface alternate setting + * + * This method sets the interface to a particular AltSetting. + * + * \param altSettingNumber the AltSetting that the interface + * should be changed to. + * + * \return 0 on success, or a negative number in case of error. + */ + int setAltSetting(int altSettingNumber); +#endif /* USE_UNTESTED_LIBUSBPP_METHODS */ + + /** + * \brief Number of Alternative Settings that this interface has + * + * This is a simple accessor method that specifies the number + * alternative settings that this device interface has. + */ + u_int8_t numAltSettings(void); + + /** + * \brief First AltSetting for the Interface + * + * This method returns a pointer to the first AltSetting + * for the Interface. + * + * See nextAltSetting() for an example of how it might be + * used. + * + * \see nextAltSetting(), lastAltSetting(), numAltSettings() + */ + AltSetting *firstAltSetting(void); + + /** + * \brief Next AltSetting for the Interface + * + * This method returns a pointer to the next AltSetting + * for the Interface. + * + * If you want to iterate through each AltSetting on + * a device, you can use something like the following: + * \code + * USB::Configuration *this_Configuration; + * this_Configuration = device->firstConfiguration(); + * for (i=0; i < device->numConfigurations(); i++) { + * this_Configuration->dumpDescriptor(); + * USB::Interface *this_Interface; + * this_Interface = this_Configuration->firstInterface(); + * for (j=0; j < this_Configuration->numInterfaces(); j++) { + * USB::AltSetting *this_AltSetting; + * this_AltSetting = this_Interface->firstAltSetting(); + * for (k=0; k < this_Interface->numAltSettings(); k++) { + * // do something with this_AltSetting + * this_AltSetting = this_Interface->nextAltSetting(); + * } + * this_Interface = this_Configuration->nextInterface(); + * } + * this_Configuration = device->nextConfiguration(); + * } + * \endcode + * + * \see firstAltSetting(), lastAltSetting(), numAltSettings() + */ + AltSetting *nextAltSetting(void); + + /** + * \brief Last AltSetting for the Interface + * + * This method returns a pointer to the last AltSetting + * for the Interface. + * + * \see firstAltSetting(), nextAltSetting(), numAltSettings() + */ + + AltSetting *lastAltSetting(void); + + private: + std::list::const_iterator iter; + + void setNumAltSettings(u_int8_t); + void setParent(Device *parent); + u_int8_t m_numAltSettings; + Device *m_parent; + + /* index representing the interface, in this configuration */ + int m_interfaceNumber; + void setInterfaceNumber(int interfaceNumber); + }; + + /** + * \brief Class representing a configuration of a Device + * + * The Configuration class represents a single configuration + * of a device attached to a Universal Serial Bus. + * + * \author Brad Hards + */ + class Configuration : public std::list { + /** + * Busses is a friend because it fills in the descriptor type + * information on initialisation and rescan. + */ + friend class Busses; + public: + Configuration() {}; + + /** + * \brief Configuration descriptor information output + * + * This method dumps out the various characteristics + * of the configuration to standard output. + * + * It is mostly useful for debugging. + */ + void dumpDescriptor(void); + + /** + * \brief Number of Interfaces that this device has + * + * This is a simple accessor method that specifies the number + * Interfaces that this device configuration has. + */ + u_int8_t numInterfaces(void); + + /** + * \brief First Interface for the Configuration + * + * This method returns a pointer to the first Interface + * for the Configuration. + * + * See nextInterface() for an example of how it might be + * used. + * + * \see nextInterface(), lastInterface(), numInterfaces() + */ + Interface *firstInterface(void); + + /** + * \brief Next Interface for the Configuration + * + * This method returns a pointer to the next Interface + * for the Configuration. + * + * If you want to iterate through each Interface on + * a device, you can use something like the following: + * \code + * USB::Configuration *this_Configuration; + * this_Configuration = device->firstConfiguration(); + * for (i=0; i < device->numConfigurations(); i++) { + * this_Interface = this_Configuration->firstInterface(); + * for (j=0; j < this_Configuration->numInterfaces(); j++) { + * // do something with this_Interface + * this_Interface = this_Configuration->nextInterface(); + * } + * this_Configuration->nextConfiguration(); + * } + * \endcode + * + * \see firstInterface(), lastInterface(), numInterfaces() + */ + Interface *nextInterface(void); + + /** + * \brief Last Interface for the Configuration + * + * This method returns a pointer to the last Interface + * for the Configuration. + * + * \see firstInterface(), nextInterface(), numInterfaces() + */ + Interface *lastInterface(void); + + private: + std::list::const_iterator iter; + + void setDescriptor(struct usb_config_descriptor); + /* we don't use a normal usb_config_descriptor */ + /* because that would bring in the interface list */ + u_int8_t m_Length; + u_int8_t m_DescriptorType; + u_int16_t m_TotalLength; + u_int8_t m_NumInterfaces; + u_int8_t m_ConfigurationValue; + u_int8_t m_Configuration; + u_int8_t m_Attributes; + u_int8_t m_MaxPower; + }; + + /** + * \brief Class representing a Device on the Bus + * + * The Device class represents a single device + * attached to a Universal Serial Bus. + * + * \author Brad Hards + */ + class Device : public std::list { + /** + * Busses is a friend because it fills in the descriptor type + * information on initialisation and rescan. + */ + friend class Busses; + /** + * Interface is a friend because it needs the handle() function to + * perform claim(), release(). + */ + friend class Interface; + /** + * Endpoint is a friend because it needs the handle() function to + * perform reads, writes, and other transactions. + */ + friend class Endpoint; + + public: + Device() {}; + ~Device(); + + /** + * \brief OS representation of filename for this device + * + * libusb++ provides a uniform way of accessing USB + * devices irrespective of the underlying Operation System + * representation. If you want to map the libusb++ representation + * to the Operating System representation, you can do this + * with filename(). + * + * On Linux, the filename is usually something like 002, which + * represents the second device (usually the first real device, + * after the root hub pseudo-device) on the bus. + * + * \see Bus::directoryName() + */ + std::string fileName(void); + + /** + * \brief The vendor ID number, as provided by the device. + * + * This method returns a number containing the vendor + * (manufacturer) identification number. These are allocated + * by the USB Implementers Forum, and you can construct a + * lookup based on the number to get the manufacturer's name, + * even if the device does not contain a vendor string. + * + * \see Vendor() + */ + u_int16_t idVendor(void); + + /** + * \brief The product ID number, as provided by the device. + * + * This method returns a number containing the product + * identification number. These are allocated + * by the manufacturer, and should be different on each device. + * + * \see Product() + */ + u_int16_t idProduct(void); + + /** + * \brief The product's revision ID, as provided by the device. + * + * This method returns a number containing the product's revision. + * This revision level is nominally binary coded decimal, but + * hexadecimal revision levels are not uncommon. The binary coded + * decimal version nominally has a major version in the high byte, + * and a minor version in the low byte. + */ + u_int16_t idRevision(void); + + /** + * \brief The device's USB class, as provided by the device. + * + * This method returns a number containing the device's class. + * These are defined by the USB Implementer's Forum. + * + * A code of Zero is special (and common) - it means that the + * class is found in the Interface descriptor, rather than in the + * Device descriptor. + * + * A code of 0xFF is also special (and far too common) - it means + * that the manufacturer didn't conform to one of the defined + * class specifications, and chose to implement a vendor specified + * protocol. + * + */ + u_int8_t devClass(void); + + /** + * \brief The device's USB subclass, as provided by the device. + * + * This method returns a number containing the device's subclass. + * These subclasses are defined by the USB Implementer's Forum, + * and only have meaning in the context of a specified class. + */ + u_int8_t devSubClass(void); + + /** + * \brief The device's USB protocol, as provided by the device. + * + * This method returns a number containing the device's protocol. + * These protocols are defined by the USB Implementer's Forum, and + * only have meaning in the context of a specified class and + * subclass. + */ + u_int8_t devProtocol(void); + + + /** + * \brief The vendor name string, as provided by the device. + * + * This method returns a string containing the name of the + * device's vendor (manufacturer), as encoded into the device. + * + * Note that not all devices contain a vendor name, and also + * that under some operating systems you may not be able to + * read the vendor name without elevated privledges (typically + * root privledges). + * + * \see idVendor() + **/ + std::string Vendor(void); + + /** + * \brief The product name string, as provided by the device. + * + * This method returns a string containing the name of the + * device's product name, as encoded into the device. + * + * Note that not all devices contain a product name, and also + * that under some operating systems you may not be able to + * read the vendor name without elevated privledges (typically + * root privledges). + * + * \see idProduct() + **/ + std::string Product(void); + + /** + * \brief The serial number string, as provided by the device. + * + * This method returns a string containing a serial number for + * the device, as encoded into the device. + * + * Note that few devices contain a serial number string, and also + * that under some operating systems you may not be able to + * read the serial number without elevated privledges (typically + * root privledges). The USB specification requires that serial + * numbers are unique if they are provided, but adherence to this + * requirement by manufacturers is not universal. + **/ + std::string SerialNumber(void); + + /** + * \brief Number of Configurations that this device has + * + * This is a simple accessor method that specifies the number + * configurations that this device has. + */ + u_int8_t numConfigurations(void); + + /** + * \brief fetch an arbitrary string from the device + * + * \param string the string from the device. You can typically + * pass in an empty string for this. + * \param index the index of the string required + * \param lang the language ID to use. Defaults to using the + * first language ID. + * + * \return length of string, or 0 on error. + */ + int string(std::string &buf, int index, u_int16_t lang=0); + + /** + * \brief First Configuration for the Device + * + * This method returns a pointer to the first Configuration + * for the Device. + * + * See nextConfiguration() for an example of how it might be + * used. + */ + Configuration *firstConfiguration(void); + + /** + * \brief Next Configuration for the Device + * + * This method returns a pointer to the next Configuration + * for the Device. + * + * If you want to iterate through each Configuration on + * a device, you can use something like the following: + * \code + * USB::Configuration *this_Configuration; + * this_Configuration = device->firstConfiguration(); + * for (i=0; i < device->numConfigurations(); i++) { + * // do something with this_Configuration + * this_Configuration->nextConfiguration(); + * } + * \endcode + */ + Configuration *nextConfiguration(void); + + /** + * \brief Last Configuration for the Device + * + * This method returns a pointer to the last Configuration + * for the Device. + * + */ + Configuration *lastConfiguration(void); + + /** + * \brief USB control transfer + * + * This method performs a standard control transfer to the default + * endpoint. See the USB specification for more details on this. + * + * \param requestType corresponds to the bmRequestType field + * in the transfer + * \param request corresponds to the bRequest field in the + * transfer + * \param value corresponds to the wValue field in the transfer + * \param index corresponds to the wIndex field in the transfer + * \param length corresponds to the wLength field in the transfer + * \param payload corresponds to the data phase of a control + * transfer + * \param timeout is the timeout period for the control transfer, + * in milliseconds + * + * \return number of bytes sent or received, or a negative number + * in case of error. + */ + int controlTransfer(u_int8_t requestType, u_int8_t request, + u_int16_t value, u_int16_t index, u_int16_t length, + unsigned char *payload, + int timeout = 100); + +#ifdef USE_UNTESTED_LIBUSBPP_METHODS + /** + * \brief USB device reset + * + * This method performs a device reset - see USB Specification + * 9.1 for how this changes the device state to the Default state. + * + * \return 0 on success, or a negative number in case of error. + */ + int reset(void); + + /** + * \brief Set device configuration + * + * This method sets the device to a particular Configuration. + * + * \param configurationNumber the configuration that the device + * should be changed to. + * + * \return 0 on success, or a negative number in case of error. + */ + int setConfiguration(int configurationNumber); +#endif /* USE_UNTESTED_LIBUSBPP_METHODS */ + + private: + std::list::const_iterator iter; + + struct usb_dev_handle *handle(); + void setFileName(std::string); + void setDescriptor(struct usb_device_descriptor); + void setVendor(std::string); + void setProduct(std::string); + void setSerialNumber(std::string); + void setDevHandle(struct usb_dev_handle *); + std::string m_fileName; + std::string m_Vendor; + std::string m_Product; + std::string m_SerialNumber; + struct usb_device *m_dev; + struct usb_dev_handle *m_handle; + struct usb_device_descriptor m_descriptor; + }; + + /** + * \brief Class representing a single bus on the machine + * + * This class is essentially a list of Device class instances + */ + class Bus : public std::list { + /** + * Busses is a friend because it fills in the directory name + * information on initialisation and rescan. + */ + friend class Busses; + public: + Bus() {}; + /** + * \brief OS representation of directory name for this Bus + * + * libusb++ provides a uniform way of accessing USB + * busses irrespective of the underlying Operation System + * representation. If you want to map the libusb++ representation + * to the Operating System representation, you can do this + * with directory name(). + * + * On Linux, the directoryname is usually something like 003, which + * represents the third bus on the host. + * + * \see Directory::filename() + */ + std::string directoryName(void); + private: + std::list::const_iterator iter; + + void setDirectoryName(std::string); + std::string m_directoryName; + }; + + /** + * \brief A vendor/product ID pair + * + * DeviceID provides a list of (vendor, product) identification + * pairs. It is intended for use in a list of device numbers to + * search for, but there is no reason why it couldn't be used for a + * general purpose (vendor,product) tuple if you had some reason for + * this. + * + * The description for Busses::match() provides an example of how + * this class might be used. + * + * \see DeviceIDList, Busses::match() + */ + class DeviceID { + public: + DeviceID() {}; + /** + * \brief Standard constructor + * + * This constructor takes (vendor, product) tuple, which are + * stored away. + * + * \param vendor the 16 bit vendor number for the device + * \param product the 16 bit product number for the device + */ + DeviceID(u_int16_t vendor, u_int16_t product); + + /** + * \brief vendor number for the device + * + * This method returns the 16 bit vendor number. + */ + u_int16_t vendor(void); + + /** + * \brief product number for the device + * + * This method returns the 16 bit product number. + */ + u_int16_t product(void); + + private: + u_int16_t m_vendor; + u_int16_t m_product; + }; + + /** + * \brief A list of vendor/product pairs + * + * DeviceIDList provides a list of DeviceID classes, which is + * essentially a list of (vendor, product) identification pairs. + * + * \see DeviceID + */ + typedef std::list DeviceIDList; + + /** + * \brief Class representing all the busses on the machine + * + * This class is essentially a list of Bus class instances + */ + class Busses : public std::list { + public: + Busses(); + + /** + * \brief Update method + * + * This method can be called to rescan the various devices + * attached to the various busses. You should use it to + * update if things change. Unfortunately there is no + * way to automatically detect this change in a portable way, + * so worst case is that you need to call this using some + * kind of timer in the background. + */ + void rescan(void); + + /** + * \brief find all devices with matching device class designator + * + * This method searches every device on every bus, and returns a + * list of pointers to the devices that have a matching device + * class code + */ + std::list match(u_int8_t Class); + + /** + * \brief find all devices with matching device IDs + * + * This method searches every device on every bus, and returns a + * list of pointers to the devices that have a matching device + * ID. That is, if the (vendor, product) tuple of a device matches + * one of the tuples on the list, then the device will be added to + * the list of matches. + * + * An example of usage is shown below: + * \code + * USB::Busses buslist; + * USB::Device *device; + * std::list miceFound; + * USB::DeviceIDList mouseList; + * + * mouseList.append(USB::DeviceID(VENDOR_LOGITECH, 0xC00E)); // Wheel Mouse Optical + * mouseList.append(USB::DeviceID(VENDOR_LOGITECH, 0xC012)); // MouseMan Dual Optical + * mouseList.append(USB::DeviceID(VENDOR_LOGITECH, 0xC506)); // MX700 Optical Mouse + * + * miceFound = buslist.match(mouseList); + * + * for ( device = miceFound.first(); device; device = miceFound.next() ) { + * // do something with each mouse that matched + * } + * FIXME: This is incorrect now + * \endcode + */ + std::list match(DeviceIDList); + + private: + std::list::const_iterator iter; + }; + + class Error { + public: + private: + }; + +} +#endif /* __USBPP_HEADER__ */ + diff --git a/external/compat-wireless/drivers/net/wireless/ath/ath6kl/cfg80211.c b/external/compat-wireless/drivers/net/wireless/ath/ath6kl/cfg80211.c index 7d54600af..8860e36cd 100644 --- a/external/compat-wireless/drivers/net/wireless/ath/ath6kl/cfg80211.c +++ b/external/compat-wireless/drivers/net/wireless/ath/ath6kl/cfg80211.c @@ -31,8 +31,6 @@ #include "testmode.h" #include "wmiconfig.h" -int cfg80211_ap_start_failure_notify(struct net_device *dev); - #define RATETAB_ENT(_rate, _rateid, _flags) { \ .bitrate = (_rate), \ .flags = (_flags), \ @@ -2824,7 +2822,7 @@ int ath6kl_restore_htcap(struct ath6kl_vif *vif) htcap->cap_info = 0; htcap->ht_enable = wiphy->bands[band]->ht_cap.ht_supported; htcap->require_ht = 0; - htcap->ext_chan = 0; + htcap->ext_ch_mask = 0; ret = ath6kl_set_htcap(vif, band, wiphy->bands[band]->ht_cap.ht_supported); if (ret) @@ -3039,20 +3037,19 @@ u8 ath6kl_get_ht40_ext_ch_mask(struct cfg80211_ap_settings *info, { u8 is_sec_ch = 0; u8 mask_sec_ch = 0; - struct ieee80211_ht_operation *ht_op_ie = NULL; - const u8 *ie = cfg80211_find_ie(WLAN_EID_HT_OPERATION, - info->beacon.tail, info->beacon.tail_len); - if (!ie) + struct ieee80211_ht_operation *ht_op_ie = + (struct ieee80211_ht_operation *)(cfg80211_find_ie(WLAN_EID_HT_OPERATION, + info->beacon.tail, + info->beacon.tail_len) + 2); + if (!ht_op_ie || !ht_op_ie->ht_param) return mask_sec_ch; - ht_op_ie = (struct ieee80211_ht_operation *)(ie + 2); - if (ht_op_ie->ht_param & IEEE80211_HT_PARAM_CHA_SEC_ABOVE || ht_op_ie->ht_param & IEEE80211_HT_PARAM_CHA_SEC_BELOW) is_sec_ch = 1; if (!is_sec_ch && (cap_info & IEEE80211_HT_CAP_SUP_WIDTH_20_40)) - mask_sec_ch = IEEE80211_HT_CAP_EXT_CH_MASK; + mask_sec_ch = 1; else mask_sec_ch = 0; @@ -3139,37 +3136,6 @@ u32 ath6kl_get_chmask_for_acstype(struct ath6kl_vif *vif, u32 ch) { return chan_mask; } -static struct ath6kl *gAr; -static void ath6kl_ap_check_work(struct work_struct *work) -{ - struct ath6kl_vif *vif = ath6kl_vif_first(gAr); - int tx_power_check = -1; - int tx_power = -1; - int ap_status_abnormal = 0; - - if(!(test_bit(CONNECTED, &vif->flags) && netif_running(vif->ndev))){ - /* ap status abnormal */ - ath6kl_warn("ap running status abnormal.\n"); - ap_status_abnormal = 1; - } - - /* Check if tx power is ok */ - tx_power_check = ath6kl_cfg80211_get_txpower(gAr->wiphy, &tx_power); - ath6kl_info("tx power=%d dBm", tx_power); - if (!(tx_power_check == 0 && tx_power > 0)) { - /* tx power abnormal */ - ath6kl_warn("tx power[%d dBm] abnormal.\n", tx_power); - ap_status_abnormal = 1; - } - - if (ap_status_abnormal) { - ath6kl_warn("notify upper's to restart...\n"); - cfg80211_ap_start_failure_notify(vif->ndev); - } -} -static DECLARE_DELAYED_WORK(ap_check_work, ath6kl_ap_check_work); - - static int ath6kl_start_ap(struct wiphy *wiphy, struct net_device *dev, struct cfg80211_ap_settings *info) { @@ -3188,6 +3154,7 @@ static int ath6kl_start_ap(struct wiphy *wiphy, struct net_device *dev, struct ieee80211_channel *tmp_channel = NULL; u32 max_num_sta = 0; + ath6kl_dbg(ATH6KL_DBG_WLAN_CFG, "%s:\n", __func__); if (!ath6kl_cfg80211_ready(vif)) @@ -3197,7 +3164,8 @@ static int ath6kl_start_ap(struct wiphy *wiphy, struct net_device *dev, return -EOPNOTSUPP; list_for_each_entry(tmp_vif, &ar->vif_list, list) - if (tmp_vif->nw_type == AP_NETWORK) + if ((tmp_vif->nw_type == AP_NETWORK) && + test_bit(CONNECTED, &tmp_vif->flags)) max_num_sta += tmp_vif->max_num_sta; if (!info->max_num_sta || max_num_sta + info->max_num_sta > @@ -3507,9 +3475,8 @@ static int ath6kl_start_ap(struct wiphy *wiphy, struct net_device *dev, if(info->ht_cap_info) { htcap->cap_info = info->ht_cap_info; - htcap->ext_chan = ath6kl_get_ht40_ext_ch_mask(info, + htcap->ext_ch_mask = ath6kl_get_ht40_ext_ch_mask(info, htcap->cap_info); - htcap->ext_chan |= info->ht40_sec_choff; } else { if (band != IEEE80211_BAND_2GHZ) { htcap->cap_info = ath6kl_ap_a_htcap; @@ -3568,10 +3535,6 @@ static int ath6kl_start_ap(struct wiphy *wiphy, struct net_device *dev, if (!(cfg80211_find_ie(WLAN_EID_COUNTRY, info->beacon.tail, info->beacon.tail_len))) ath6kl_wmi_set_regdomain_cmd(ar->wmi, vif->fw_vif_idx, WMI_DISABLE_REGULATORY_CODE); - /* schedule a delay work to check the interface status */ - gAr = ar; - schedule_delayed_work(&ap_check_work, 5 * HZ); - return 0; } @@ -3599,13 +3562,6 @@ static int ath6kl_stop_ap(struct wiphy *wiphy, struct net_device *dev) if (vif->nw_type != AP_NETWORK) return -EOPNOTSUPP; - ath6kl_wmi_disconnect_cmd(ar->wmi, vif->fw_vif_idx); - clear_bit(CONNECTED, &vif->flags); - - vif->prwise_crypto = NONE_CRYPT; - vif->max_num_sta = 0; - vif->ap_hold_conn = 0; - list_for_each_entry(vif_tmp, &ar->vif_list, list) { if (vif_tmp->nw_type == AP_NETWORK) { if (vif_tmp->ap_hold_conn) { @@ -3623,6 +3579,15 @@ static int ath6kl_stop_ap(struct wiphy *wiphy, struct net_device *dev) } } + if (!test_bit(CONNECTED, &vif->flags)) + return -ENOTCONN; + + ath6kl_wmi_disconnect_cmd(ar->wmi, vif->fw_vif_idx); + clear_bit(CONNECTED, &vif->flags); + + vif->prwise_crypto = NONE_CRYPT; + vif->max_num_sta = 0; + /* Restore ht setting in firmware */ return ath6kl_restore_htcap(vif); } @@ -4055,22 +4020,6 @@ static int ath6kl_set_mac_acl(struct wiphy *wiphy, int i, err; static const u8 zero_mac[ETH_ALEN] = { 0 }; - /* Reset the acl list */ - err = ath6kl_wmi_set_acl_list(ar->wmi, vif->fw_vif_idx, 0, zero_mac, 0, - acl_info->acl_policy, - WMI_ACL_RESET_MAC_ADDR); - if (err) - return err; - - if (!acl_info->n_acl_entries) { - err = ath6kl_wmi_set_acl_policy(ar->wmi, vif->fw_vif_idx, - NL80211_ACL_POLICY_DISABLE); - if (err < 0) - return err; - return 0; - } - - memset(&(vif->ap_acl_list),0,sizeof(struct wmi_ap_acl_list)); #ifndef CONFIG_ACL_BLWL_MAC /* Set the acl policy */ err = ath6kl_wmi_set_acl_policy(ar->wmi, vif->fw_vif_idx, @@ -4078,6 +4027,11 @@ static int ath6kl_set_mac_acl(struct wiphy *wiphy, if (err < 0) return err; #endif + /* Reset the acl list */ + err = ath6kl_wmi_set_acl_list(ar->wmi, vif->fw_vif_idx, 0, zero_mac, 0, + acl_info->acl_policy, WMI_ACL_RESET_MAC_ADDR); + if (err) + return err; for (i = 0; i < acl_info->n_acl_entries; i++) { err = ath6kl_wmi_set_acl_list(ar->wmi, vif->fw_vif_idx, i, @@ -4087,13 +4041,6 @@ static int ath6kl_set_mac_acl(struct wiphy *wiphy, if (err) return err; } - err = ath6kl_wmi_set_acl_list(ar->wmi, vif->fw_vif_idx, 0, - acl_info->mac_addrs[0].addr, - acl_info->mac_addrs[0].wild, - acl_info->acl_policy, WMI_ACL_END_MAC_LIST); - if (err) - return err; - #ifdef CONFIG_ACL_BLWL_MAC /* @@ -4212,6 +4159,7 @@ void ath6kl_cfg80211_stop(struct ath6kl_vif *vif) ath6kl_lte_coex_update_wlan_data(vif, 0); clear_bit(CONNECTED, &vif->flags); clear_bit(CONNECT_PEND, &vif->flags); + vif->max_num_sta = 0; /* Stop netdev queues, needed during recovery */ netif_stop_queue(vif->ndev); netif_carrier_off(vif->ndev); diff --git a/external/compat-wireless/drivers/net/wireless/ath/ath6kl/core.c b/external/compat-wireless/drivers/net/wireless/ath/ath6kl/core.c index 4c5595174..665a5a376 100644 --- a/external/compat-wireless/drivers/net/wireless/ath/ath6kl/core.c +++ b/external/compat-wireless/drivers/net/wireless/ath/ath6kl/core.c @@ -32,12 +32,10 @@ unsigned int debug_mask; static unsigned int wow_mode; static unsigned int ath6kl_p2p; static unsigned int devmode = ATH6KL_DEFAULT_DEV_MODE; -unsigned int debug_quirks = ATH6KL_DEF_DEBUG_QUIRKS; +static unsigned int debug_quirks = ATH6KL_DEF_DEBUG_QUIRKS; static unsigned int mcc_adj_ch_spacing = ATH6KL_DEF_MCC_ADJ_CH_SPACING; static unsigned int heart_beat_poll; static unsigned int lte_margin = ATH6KL_DEF_LTE_MARGIN; -static unsigned int enable_ani = 0; -static unsigned int reg_hint = 1; module_param(debug_mask, uint, 0644); module_param(wow_mode, uint, 0644); @@ -47,20 +45,9 @@ module_param(devmode, uint, 0644); module_param(mcc_adj_ch_spacing, uint, 0644); module_param(heart_beat_poll, uint, 0644); module_param(lte_margin, uint, 0644); -module_param(enable_ani, uint, 0644); -module_param(reg_hint, uint, 0644); -EXPORT_SYMBOL(debug_quirks); struct ath6kl_fw_err_recovery *fw_recovery; -int cfg80211_ap_fw_error_notify(struct wiphy *wy); - -int ath6kl_use_regulatory_hint(void) -{ - return !!reg_hint; -} -EXPORT_SYMBOL(ath6kl_use_regulatory_hint); - void ath6kl_core_tx_complete(struct ath6kl *ar, struct sk_buff *skb) { ath6kl_htc_tx_complete(ar, skb); @@ -135,12 +122,8 @@ void ath6kl_recovery_work(struct work_struct *work) void ath6kl_recovery_err_notify(struct ath6kl *ar, enum ath6kl_fw_err reason) { - if (!ath6kl_debug_quirks_any(ar, ATH6KL_MODULE_FW_ERROR_RECOVERY)) { - ath6kl_info("Fw error detected, reason :: %d notify hostapd\n", - reason); - cfg80211_ap_fw_error_notify(ar->wiphy); + if (!ath6kl_debug_quirks_any(ar, ATH6KL_MODULE_FW_ERROR_RECOVERY)) return; - } if (!test_bit(WMI_READY, &ar->flag)) return; @@ -364,7 +347,6 @@ int ath6kl_core_init(struct ath6kl *ar, enum ath6kl_htc_type htc_type) ath6kl_cookie_init(ar); ar->mcc_adj_ch_spacing = mcc_adj_ch_spacing; - ar->enable_ani = enable_ani; ar->conf_flags = ATH6KL_CONF_IGNORE_ERP_BARKER | ATH6KL_CONF_ENABLE_11N | ATH6KL_CONF_ENABLE_TX_BURST; diff --git a/external/compat-wireless/drivers/net/wireless/ath/ath6kl/core.h b/external/compat-wireless/drivers/net/wireless/ath/ath6kl/core.h index fbc4b488c..3b89dda3c 100644 --- a/external/compat-wireless/drivers/net/wireless/ath/ath6kl/core.h +++ b/external/compat-wireless/drivers/net/wireless/ath/ath6kl/core.h @@ -58,36 +58,6 @@ #define ATH6KL_MCC_FLOWCTRL_NULL_CONNID (0xFF) #define ATH6KL_MCC_FLOWCTRL_RECYCLE_LIMIT (10) -#define BDATA_SELF_BIN_PATH "/misc/bdata_self.bin" -#define BDATA_SELF_BIN_PATH_FT_MODE "/lib/firmware/ath6k/AR6004/hw3.0/bdata_self.bin" - -#define CAL_DATA_PATH "/misc/calData" -#define CAL_DATA_PATH_FT_MODE "/lib/firmware/ath6k/AR6004/hw3.0/calData" -#define CAL_DATA_NUM 22 /* 2 chain: 3@2.4G, 8@5G */ -#define CAL_DATA_STR_LEN 4 /* pwr delt can't > 10 or < -10, so max len is 3, eg: -90 */ -#define CAL_DATA_MAX_INT 100 /* pwr delt can't > 10 or < -10 */ - -/* For 2.4G chain0 */ -#define OFFSE_REF_POWER_G_0_0 0x0198 -#define OFFSE_REF_POWER_G_0_3 0x01CE - -/* For 2.4G chain1 */ -#define OFFSE_REF_POWER_G_1_0 0x0270 -#define OFFSE_REF_POWER_G_1_3 0x02A6 - -/* For 5G chain0 */ -#define OFFSE_REF_POWER_A_0_0 0x06DC -#define OFFSE_REF_POWER_A_0_8 0x076C - -/* For 5G chain1 */ -#define OFFSE_REF_POWER_A_1_0 0x088C -#define OFFSE_REF_POWER_A_1_8 0x091C - -struct ath6kl_fw_board_self { - u8 *fw_board; - size_t fw_board_len; -}; - #define BDATA_CHECKSUM_OFFSET 4 #define BDATA_MAC_ADDR_OFFSET 8 @@ -678,7 +648,7 @@ struct ath6kl_htcap { u8 ampdu_factor; unsigned short cap_info; bool require_ht; - u8 ext_chan; + u8 ext_ch_mask; }; /* @@ -1051,7 +1021,6 @@ struct ath6kl { u16 pas_chdwell_time; u32 bootstrap_mode; u8 lte_margin; - bool enable_ani; }; @@ -1170,7 +1139,6 @@ static inline u32 ath6kl_get_hi_item_addr(struct ath6kl *ar, return addr; } -int ath6kl_use_regulatory_hint(void); int ath6kl_configure_target(struct ath6kl *ar); void ath6kl_detect_error(unsigned long ptr); void disconnect_timer_handler(unsigned long ptr); diff --git a/external/compat-wireless/drivers/net/wireless/ath/ath6kl/init.c b/external/compat-wireless/drivers/net/wireless/ath/ath6kl/init.c index c97385b53..c88b0567c 100644 --- a/external/compat-wireless/drivers/net/wireless/ath/ath6kl/init.c +++ b/external/compat-wireless/drivers/net/wireless/ath/ath6kl/init.c @@ -41,8 +41,6 @@ static u32 refclk_hz; module_param(ath6kl_wifi_mac, charp, 0000); module_param(refclk_hz, uint, 0644); -extern unsigned int debug_mask; - static const struct ath6kl_hw hw_list[] = { { .id = AR6003_HW_2_0_VERSION, @@ -875,271 +873,6 @@ static bool check_device_tree(struct ath6kl *ar) } #endif /* CONFIG_OF */ - -static int compose_bdata_self_bin(struct ath6kl *ar, const char *filename) -{ - int ret = 0; - struct ath6kl_fw_board_self board_self; - struct file *filp = (struct file *)-ENOENT; - - mm_segment_t oldfs; - oldfs = get_fs(); - set_fs(KERNEL_DS); - - filp = filp_open(filename, O_RDONLY, 0); - if (IS_ERR(filp) || (NULL == filp)) - { - ath6kl_err("File %s open failed! Ignore the composition!\n", filename); - - if (!IS_ERR(filp)) - filp_close(filp, NULL); - set_fs(oldfs); - - return -1; - } - - filp_close(filp, NULL); - set_fs(oldfs); - - memset(&board_self, 0, sizeof(struct ath6kl_fw_board_self)); - ret = ath6kl_get_fw(ar, filename, &board_self.fw_board, &board_self.fw_board_len); - - if (ret == 0) - { - ath6kl_info("Got self board file %s\n", filename); - - /* replace [2G_0_0, 2G_0_3) */ - memcpy(&ar->fw_board[OFFSE_REF_POWER_G_0_0], &board_self.fw_board[OFFSE_REF_POWER_G_0_0], - OFFSE_REF_POWER_G_0_3 - OFFSE_REF_POWER_G_0_0); - - /* replace [2G_1_0, 2G_1_3) */ - memcpy(&ar->fw_board[OFFSE_REF_POWER_G_1_0], &board_self.fw_board[OFFSE_REF_POWER_G_1_0], - OFFSE_REF_POWER_G_1_3 - OFFSE_REF_POWER_G_1_0); - - /* replace [5G_0_0, 5G_0_8) */ - memcpy(&ar->fw_board[OFFSE_REF_POWER_A_0_0], &board_self.fw_board[OFFSE_REF_POWER_A_0_0], - OFFSE_REF_POWER_A_0_8 - OFFSE_REF_POWER_A_0_0); - - /* replace [5G_1_0, 5G_1_8) */ - memcpy(&ar->fw_board[OFFSE_REF_POWER_A_1_0], &board_self.fw_board[OFFSE_REF_POWER_A_1_0], - OFFSE_REF_POWER_A_1_8 - OFFSE_REF_POWER_A_1_0); - - if (debug_mask & ATH6KL_DBG_BOOT) - { - ath6kl_info("refPower_G_0_0: %d, olpcGainDelta_t10_G_0_2: %d\n", - (char)ar->fw_board[OFFSE_REF_POWER_G_0_0], - (short)((ar->fw_board[OFFSE_REF_POWER_G_1_3 - 0xD] << 8) + ar->fw_board[OFFSE_REF_POWER_G_1_3 - 0xE])); - ath6kl_info("refPower_G_1_0: %d, olpcGainDelta_t10_G_1_2: %d\n", - (char)ar->fw_board[OFFSE_REF_POWER_G_1_0], - (short)((ar->fw_board[OFFSE_REF_POWER_G_1_3 - 0xD] << 8) + ar->fw_board[OFFSE_REF_POWER_G_1_3 - 0xE])); - ath6kl_info("refPower_A_0_0: %d, olpcGainDelta_t10_A_0_7: %d\n", - (char)ar->fw_board[OFFSE_REF_POWER_A_0_0], - (short)((ar->fw_board[OFFSE_REF_POWER_A_0_8 - 0xD] << 8) + ar->fw_board[OFFSE_REF_POWER_A_0_8 - 0xE])); - ath6kl_info("refPower_A_1_0: %d, olpcGainDelta_t10_A_1_7: %d\n", - (char)ar->fw_board[OFFSE_REF_POWER_A_1_0], - (short)((ar->fw_board[OFFSE_REF_POWER_A_1_8 - 0xD] << 8) + ar->fw_board[OFFSE_REF_POWER_A_1_8 - 0xE])); - } - } - else - { - ath6kl_err("Failed to get file %s: %d. Ignore the composition!\n", filename, ret); - } - - if (board_self.fw_board != NULL) - { - kfree(board_self.fw_board); - board_self.fw_board = NULL; - } - - return ret; -} - -static int read_cal_data(const char *filename, char cal_data[][CAL_DATA_STR_LEN]) -{ - int ret = 0; - int i = 0, j = 0; - char ch; - char *buf = NULL; - char *pos = NULL; - - struct file *filp = (struct file *)-ENOENT; - struct inode *inode = NULL; - loff_t fsize = 0; //保存文件大小的变量 - - mm_segment_t oldfs; - - oldfs = get_fs(); - set_fs(KERNEL_DS); - - filp = filp_open(filename, O_RDONLY, 0); - - if (IS_ERR(filp) || !filp->f_op) - { - ath6kl_err("File %s open failed! Ignore the composition!\n", filename); - ret = -ENOENT; - goto close_fs; - } - else - { - ath6kl_info("Got calibration data file %s!\n", filename); - } - - if (!filp->f_op->read) - { - ath6kl_err("Read callbacks not supported in %s\n", __func__); - ret = -ENOENT; - goto close_fs; - } - - inode = filp->f_dentry->d_inode; - fsize = inode->i_size; - - buf = (char *)kmalloc(fsize + 16, GFP_KERNEL); - if (buf == NULL) - { - ath6kl_err("Read buffer alloc fail in %s\n", __func__); - ret = -ENOENT; - goto close_fs; - } - - memset(buf, 0, sizeof(buf)); - vfs_read(filp, buf, fsize, &(filp->f_pos)); - - ath6kl_info("calibration data: ||%s||\n", buf); - - /* calData format: 0,1,2,3,4,5,6,7,8,9,-10,11,12,13,14,-15,16,17,18,19,20,21, - * index 0~3 is olpc delta for 2.4G chain 0 - * index 4~6 is olpc delta for 2.4G chain 1 - * index 7~13 is olpc delta for 5G chain 0 - * index 14~21 is olpc delta for 5G chain 1 - */ - pos = buf; - while((ch = *pos) != '\0') - { - if (ch != ',') - { - cal_data[i][j++] = ch; - } - else - { - i++; - j = 0; - } - - if (i == CAL_DATA_NUM) - { - break; - } - - if (j >= CAL_DATA_STR_LEN) - { - ath6kl_err("Calibration data has too much symbols(index: %d, ch: ||%c||)\n", i, ch); - ret = -ENOENT; - goto close_fs; - } - - pos++; - } - -close_fs: - if (buf != NULL) - { - kfree(buf); - buf = NULL; - } - - if (!IS_ERR(filp)) - filp_close(filp, NULL); - - set_fs(oldfs); - return ret; -} - -static int compose_calibration_data(struct ath6kl *ar, const char *filename) -{ - int ret = 0; - - u16 before_olpc_u = 0; - short before_olpc_s = 0; - short delta_olpc = 0; - short after_olpc = 0; - short ref_power = 0; - - unsigned char i = 0; - unsigned char index = 0; - int start_offset = 0; - int ref_power_offset = 0; - int olpc_offset = 0; - - char cal_data[CAL_DATA_NUM][CAL_DATA_STR_LEN]; - - memset(cal_data, 0, CAL_DATA_NUM * CAL_DATA_STR_LEN); - ret = read_cal_data(filename, cal_data); - if (ret < 0) - return -1; - - for(i = 0; i < CAL_DATA_NUM; i++) - { - delta_olpc = simple_strtol(cal_data[i], NULL, 10); - if (delta_olpc >= CAL_DATA_MAX_INT || delta_olpc <= -CAL_DATA_MAX_INT) - { - ath6kl_err("Calibration data in file %s is too much or too large!\n", filename); - return -1; - } - - if (i >=0 && i<= 2) - { - /* For 2.4G chain0 */ - start_offset = OFFSE_REF_POWER_G_0_0; - index = i; - } - else if (i >=3 && i<= 5) - { - /* For 2.4G chain1 */ - start_offset = OFFSE_REF_POWER_G_1_0; - index = i - 3; - } - else if (i >=6 && i<= 13) - { - /* For 5G chain0 */ - start_offset = OFFSE_REF_POWER_A_0_0; - index = i - 6; - - } - else if (i >=14 && i<= 21) - { - /* For 5G chain1 */ - start_offset = OFFSE_REF_POWER_A_1_0; - index = i - 14; - } - - ref_power_offset = start_offset + index * 0x12; - olpc_offset = ref_power_offset + 0x4; - - before_olpc_u = (ar->fw_board[olpc_offset + 1] << 8) + ar->fw_board[olpc_offset]; - - //olpc was got as an unsigned symbol, but accually it is a signed symbol, - // so it must be converted. - before_olpc_s = before_olpc_u; - after_olpc = before_olpc_s + delta_olpc; - ref_power = after_olpc / 5; - - ar->fw_board[ref_power_offset] = (ref_power & 0xff); - ar->fw_board[olpc_offset] = (after_olpc & 0xff); - ar->fw_board[olpc_offset + 1] = ((after_olpc >> 8) & 0xff); - - if (debug_mask & ATH6KL_DBG_BOOT) - { - ath6kl_info("i: %d, ref_power_offset: 0x%04x, olpc_offset: 0x%04x\n", - i, ref_power_offset, olpc_offset); - ath6kl_info("before_olpc: %d, delta_olpc: %d, after_olpc: %d, ref_power: %d\n", - before_olpc_s, delta_olpc, after_olpc, ref_power); - } - } - - return 0; -} - static int ath6kl_replace_with_module_param(struct ath6kl *ar, char *str_mac) { int i; @@ -1165,25 +898,6 @@ static int ath6kl_replace_with_module_param(struct ath6kl *ar, char *str_mac) /* replace the mac address with module parameter input */ memcpy(&ar->fw_board[BDATA_MAC_ADDR_OFFSET], macaddr, ETH_ALEN); - /* Compose files at specified path based on mode */ - if (ath6kl_debug_quirks(ar, ATH6KL_MODULE_TESTMODE_UTF)) { - ath6kl_info("Start composing files at factory mode.\n"); - if (compose_bdata_self_bin(ar, BDATA_SELF_BIN_PATH_FT_MODE) - || compose_calibration_data(ar, CAL_DATA_PATH_FT_MODE)) - { - ath6kl_warn("Failed to composing files from factory mode path, try normal mode path\n"); - compose_bdata_self_bin(ar, BDATA_SELF_BIN_PATH); - compose_calibration_data(ar, CAL_DATA_PATH); - } - } else { - ath6kl_info("Start composing files at normal mode.\n"); - /* [lixiangkui] compose bdata.bin and bdata_self.bin */ - compose_bdata_self_bin(ar, BDATA_SELF_BIN_PATH); - - /* [lixiangkui] compose calibration data */ - compose_calibration_data(ar, CAL_DATA_PATH); - } - p = (u16 *) ar->fw_board; /* calculate check sum */ @@ -2032,8 +1746,7 @@ static int ath6kl_init_upload(struct ath6kl *ar) return status; address = MBOX_BASE_ADDRESS + LOCAL_SCRATCH_ADDRESS; - if (!(ar->enable_ani)) - param = options | 0x20; + param = options | 0x20; status = ath6kl_bmi_reg_write(ar, address, param); if (status) return status; diff --git a/external/compat-wireless/drivers/net/wireless/ath/ath6kl/txrx.c b/external/compat-wireless/drivers/net/wireless/ath/ath6kl/txrx.c index 0ffee9f5b..292cf0e40 100644 --- a/external/compat-wireless/drivers/net/wireless/ath/ath6kl/txrx.c +++ b/external/compat-wireless/drivers/net/wireless/ath/ath6kl/txrx.c @@ -32,8 +32,6 @@ #define ATH6KL_TID_MASK 0xf #define ATH6KL_AID_SHIFT 4 -extern unsigned int debug_quirks; - static void ath6kl_mcc_event_ctrl_timer_handler(unsigned long ptr); /* Dont define if IPA conf. Manager is not present */ @@ -723,7 +721,7 @@ void ath6kl_disconnect_sysbam_pipes(struct ath6kl *ar) int status,i; /* If Rx SW path, then no need to create/delete sysbam pipe */ - if (!!(debug_quirks & ATH6KL_MODULE_BAM_RX_SW_PATH)) + if (ath6kl_debug_quirks(ar, ATH6KL_MODULE_BAM_RX_SW_PATH)) return; for (i = 0; i < MAX_SYSBAM_PIPE; i++) { @@ -742,7 +740,7 @@ int ath6kl_usb_create_sysbam_pipes(struct ath6kl *ar) int status,i; /* If Rx SW path, then no need to create/delete sysbam pipe */ - if (!!(debug_quirks & ATH6KL_MODULE_BAM_RX_SW_PATH)) + if (ath6kl_debug_quirks(ar, ATH6KL_MODULE_BAM_RX_SW_PATH)) return 0; /* The config is similar to the RX Bam pipe configuration */ @@ -923,13 +921,13 @@ void ath6kl_remove_filter_rule(enum ipa_ip_type ip_type, uint32_t hdl) void ath6kl_remove_ipa_exception_filters(struct ath6kl *ar) { /* In Rx SW path, no need to create/delete the exception filter */ - if (!!(debug_quirks & ATH6KL_MODULE_BAM_RX_SW_PATH)) + if (ath6kl_debug_quirks(ar, ATH6KL_MODULE_BAM_RX_SW_PATH)) return; /* Remove the filters */ ath6kl_remove_filter_rule(IPA_IP_v4, flt_hdl_ipv4); - if (!!(debug_quirks & ATH6KL_MODULE_IPA_WITH_IPV6)) + if (ath6kl_debug_quirks(ar, ATH6KL_MODULE_IPA_WITH_IPV6)) ath6kl_remove_filter_rule(IPA_IP_v6, flt_hdl_ipv6); } EXPORT_SYMBOL(ath6kl_remove_ipa_exception_filters); @@ -1030,10 +1028,8 @@ int ath6kl_send_msg_ipa(struct ath6kl_vif *vif, enum ipa_wlan_event type, "IPA-CM: AP mode Adding Partial hdr: %s, %pM\n", vif->ndev->name, vif->ndev->dev_addr); /* Add partial header with IPA for this interface */ - if (!(test_bit(CONNECTED, &vif->flags))) { - ath6kl_ipa_add_header_info(vif->ar, 1, vif->fw_vif_idx, - vif->ndev->name, vif->ndev->dev_addr); - } + ath6kl_ipa_add_header_info(vif->ar, 1, vif->fw_vif_idx, + vif->ndev->name, vif->ndev->dev_addr); break; case WLAN_AP_DISCONNECT: @@ -1520,15 +1516,6 @@ int ath6kl_data_tx(struct sk_buff *skb, struct net_device *dev) "%s: skb=0x%p, data=0x%p, len=0x%x\n", __func__, skb, skb->data, skb->len); - if(skb_cloned(skb)) { - skb = skb_unshare(skb, GFP_ATOMIC); - if(skb == NULL) { - ath6kl_dbg(ATH6KL_DBG_WLAN_TX, - "skb cannot be shared\n"); - goto fail_tx; - } - } - /* If target is not associated */ if (!test_bit(CONNECTED, &vif->flags) && !test_bit(TESTMODE_EPPING, &ar->flag)) @@ -3278,8 +3265,7 @@ void ath6kl_rx(struct htc_target *target, struct htc_packet *packet) datap = (struct ethhdr *) skb->data; - if (!((is_multicast_ether_addr(datap->h_dest)) && - (vif->nw_type == INFRA_NETWORK))) { + if (is_unicast_ether_addr(datap->h_dest)) { if (vif->nw_type == AP_NETWORK) { conn = ath6kl_find_sta(vif, datap->h_source, false); if (!conn) diff --git a/external/compat-wireless/drivers/net/wireless/ath/ath6kl/usb.c b/external/compat-wireless/drivers/net/wireless/ath/ath6kl/usb.c index c1fc0a7be..f3171a3c6 100644 --- a/external/compat-wireless/drivers/net/wireless/ath/ath6kl/usb.c +++ b/external/compat-wireless/drivers/net/wireless/ath/ath6kl/usb.c @@ -33,8 +33,6 @@ #define RX_URB_COUNT 32 #define ATH6KL_USB_RX_BUFFER_SIZE 1700 -extern unsigned int debug_quirks; - /* tx/rx pipes for usb */ enum ATH6KL_USB_PIPE_ID { ATH6KL_USB_PIPE_TX_CTRL = 0, @@ -278,13 +276,13 @@ static inline void *ath6kl_get_context(struct sk_buff *skb) #ifdef CONFIG_ATH6KL_BAM2BAM static void ath6kl_usb_bam_set_pipe_mask(struct ath6kl_usb *ar_usb) { - if (!(!!(debug_quirks & ATH6KL_MODULE_BAM2BAM))) + if (!ath6kl_debug_quirks(ar_usb->ar, ATH6KL_MODULE_BAM2BAM)) return; - if (!(!!(debug_quirks & ATH6KL_MODULE_BAM_RX_SW_PATH))) + if (!ath6kl_debug_quirks(ar_usb->ar, ATH6KL_MODULE_BAM_RX_SW_PATH)) ar_usb->bam_pipe_mask |= BIT(ATH6KL_USB_PIPE_RX_DATA2); - if (!(!!(debug_quirks & ATH6KL_MODULE_BAM_TX_SW_PATH))) { + if (!ath6kl_debug_quirks(ar_usb->ar, ATH6KL_MODULE_BAM_TX_SW_PATH)) { ar_usb->bam_pipe_mask |= BIT(ATH6KL_USB_PIPE_TX_DATA_LP); ar_usb->bam_pipe_mask |= BIT(ATH6KL_USB_PIPE_TX_DATA_MP); ar_usb->bam_pipe_mask |= BIT(ATH6KL_USB_PIPE_TX_DATA_HP); @@ -311,28 +309,6 @@ static void ath6kl_usb_bam_free_urb(struct urb *urb) usb_free_urb(urb); } -static void ath6kl_kill_bam_urbs(struct ath6kl_usb *ar_usb) -{ - int i; - struct ath6kl_usb_bam_pipe *bam_pipe; - - for (i = 0; i < ATH6KL_USB_PIPE_MAX; i++) { - - bam_pipe = &ar_usb->pipes[i].bam_pipe; - - /* If bam pipe not connected then dont kill dummy urbs attached - * to bam pipes */ - if (!bam_pipe->connected) - continue; - - /* kill the dummy urbs attached to bam pipe during error - * condition. If we are not clearing here, while unloading the - * driver usb will try to clear these urbs and the callback - * registered will be invalid at that time */ - usb_kill_urb(bam_pipe->urb); - } -} - /* Disconnects all the bam pipes Tx-4, Rx-1 */ static void ath6kl_disconnect_bam_pipes(struct ath6kl_usb *ar_usb) { @@ -349,7 +325,6 @@ static void ath6kl_disconnect_bam_pipes(struct ath6kl_usb *ar_usb) bam_pipe->connected = 0; usb_bam_disconnect_ipa(&bam_pipe->ipa_params); - ath6kl_usb_bam_free_urb(bam_pipe->urb); } } @@ -419,22 +394,12 @@ int ath6kl_usb_bam_activity_cb(void *priv) { struct ath6kl_usb_pipe *pipe = (struct ath6kl_usb_pipe *) priv; struct ath6kl_usb *ar_usb = pipe->ar_usb; - int autopm_state; ath6kl_dbg(ATH6KL_DBG_SUSPEND, "BAM Activity indication callback, pipe_num: %d\n", pipe->logical_pipe_num); - spin_lock_bh(&ar_usb->pm_lock); - - autopm_state = atomic_read(&ar_usb->autopm_state); - - if(autopm_state != ATH6KL_USB_AUTOPM_STATE_ON || - (atomic_read(&ar_usb->interface->pm_usage_cnt) == 0)) - usb_autopm_get_interface_async(ar_usb->interface); - - spin_unlock_bh(&ar_usb->pm_lock); - + usb_autopm_get_interface_async(ar_usb->interface); ar_usb->pm_stats.bam_activity++; return 0; @@ -444,22 +409,12 @@ int ath6kl_usb_bam_inactivity_cb(void *priv) { struct ath6kl_usb_pipe *pipe = (struct ath6kl_usb_pipe *) priv; struct ath6kl_usb *ar_usb = pipe->ar_usb; - int autopm_state; ath6kl_dbg(ATH6KL_DBG_SUSPEND, "BAM Inactivity indication callback, pipe_num: %d\n", pipe->logical_pipe_num); - spin_lock_bh(&ar_usb->pm_lock); - - autopm_state = atomic_read(&ar_usb->autopm_state); - - if(autopm_state == ATH6KL_USB_AUTOPM_STATE_ON && - (atomic_read(&ar_usb->interface->pm_usage_cnt)>0)) - usb_autopm_put_interface_async(ar_usb->interface); - - spin_unlock_bh(&ar_usb->pm_lock); - + usb_autopm_put_interface_async(ar_usb->interface); ar_usb->pm_stats.bam_inactivity++; return 0; @@ -706,7 +661,6 @@ static int ath6kl_usb_bam_resubmit_urbs(struct ath6kl_usb *ar_usb) struct ath6kl_usb_pipe *pipe; int usb_status = 0; int i; - int autopm_state; if (!ath6kl_debug_quirks(ar_usb->ar, ATH6KL_MODULE_BAM2BAM)) return 0; @@ -735,14 +689,7 @@ static int ath6kl_usb_bam_resubmit_urbs(struct ath6kl_usb *ar_usb) } #ifdef CONFIG_ATH6KL_AUTO_PM - spin_lock_bh(&ar_usb->pm_lock); - - autopm_state = atomic_read(&ar_usb->autopm_state); - - if(autopm_state != ATH6KL_USB_AUTOPM_STATE_ON) - usb_autopm_get_interface_async(ar_usb->interface); - - spin_unlock_bh(&ar_usb->pm_lock); + usb_autopm_get_interface_async(ar_usb->interface); #endif return 0; @@ -930,7 +877,7 @@ static int ath6kl_usb_setup_bampipe_resources(struct ath6kl_usb *ar_usb) int status = 0; struct ath6kl_usb_pipe *pipe; - if (!(!!(debug_quirks & ATH6KL_MODULE_BAM2BAM))) { + if (!ath6kl_debug_quirks(ar_usb->ar, ATH6KL_MODULE_BAM2BAM)) { ath6kl_dbg(ATH6KL_DBG_BAM2BAM, "BAM2BAM mode is not" " enabled!\n"); return 0; @@ -980,7 +927,6 @@ static int ath6kl_usb_setup_bampipe_resources(struct ath6kl_usb *ar_usb) return 0; cleanup_bam_pipe: - ath6kl_kill_bam_urbs(ar_usb); ath6kl_disconnect_bam_pipes(ar_usb); return status; @@ -1182,25 +1128,6 @@ static void ath6kl_usb_flush_all(struct ath6kl_usb *ar_usb) #endif } -static void ath6kl_usb_suspend_flush_all(struct ath6kl_usb *ar_usb) -{ - int i; - struct ath6kl_usb_pipe *pipe; - - for (i = 0; i < ATH6KL_USB_PIPE_MAX; i++) { - pipe = &ar_usb->pipes[i].ar_usb->pipes[i]; - if (!pipe->ar_usb) - continue; - flush_work(&pipe->tx_io_complete_work); - flush_work(&pipe->rx_io_complete_work); - usb_kill_anchored_urbs(&pipe->urb_submitted); - - } -#ifdef CONFIG_ATH6KL_AUTO_PM - flush_work(&ar_usb->pm_resume_work); -#endif -} - static void ath6kl_usb_start_recv_pipes(struct ath6kl_usb *ar_usb) { /* @@ -1440,7 +1367,6 @@ static void ath6kl_usb_destroy(struct ath6kl_usb *ar_usb) ath6kl_usb_flush_all(ar_usb); #ifdef CONFIG_ATH6KL_AUTO_PM - spin_lock_bh(&ar_usb->pm_lock); while (!list_empty(&ar_usb->pm_q)) { struct ath6kl_urb_context *urb_context; @@ -1450,7 +1376,6 @@ static void ath6kl_usb_destroy(struct ath6kl_usb *ar_usb) list_del(&urb_context->link); ath6kl_usb_cleanup_urb_context(urb_context); } - spin_unlock_bh(&ar_usb->pm_lock); #endif ath6kl_usb_cleanup_pipe_resources(ar_usb); @@ -1527,7 +1452,7 @@ static void ath6kl_usb_device_detached(struct usb_interface *interface) ath6kl_stop_txrx(ar_usb->ar); /* Delay to wait for target to reboot */ - mdelay(50); + mdelay(20); #ifdef CONFIG_ATH6KL_BAM2BAM if (ath6kl_debug_quirks(ar_usb->ar, ATH6KL_MODULE_BAM2BAM)) { @@ -2334,22 +2259,6 @@ static int ath6kl_usb_probe(struct usb_interface *interface, ret = -ENOMEM; goto err_usb_put; } - mdelay(500); -#ifdef CONFIG_ATH6KL_BAM2BAM - ath6kl_usb_bam_set_pipe_mask(ar_usb); -#endif - -#ifdef CONFIG_ATH6KL_BAM2BAM - ret = ath6kl_usb_setup_bampipe_resources(ar_usb); - - if (ret) { - ath6kl_err("Failed to init ath6kl bampipe: %d\n", ret); - ath6kl_remove_ipa_exception_filters(ar_usb->ar); - ath6kl_disconnect_sysbam_pipes(ar_usb->ar); - goto err_usb_destroy; - } - -#endif #ifdef CONFIG_ATH6KL_AUTO_PM spin_lock_init(&ar_usb->pm_lock); @@ -2373,6 +2282,9 @@ static int ath6kl_usb_probe(struct usb_interface *interface, ar->bmi.max_data_size = 252; ar_usb->ar = ar; +#ifdef CONFIG_ATH6KL_BAM2BAM + ath6kl_usb_bam_set_pipe_mask(ar_usb); +#endif ret = ath6kl_core_init(ar, ATH6KL_HTC_TYPE_PIPE); if (ret) { @@ -2380,6 +2292,18 @@ static int ath6kl_usb_probe(struct usb_interface *interface, goto err_core_free; } +#ifdef CONFIG_ATH6KL_BAM2BAM + ret = ath6kl_usb_setup_bampipe_resources(ar_usb); + + if (ret) { + ath6kl_err("Failed to init ath6kl bampipe: %d\n", ret); + ath6kl_remove_ipa_exception_filters(ar_usb->ar); + ath6kl_disconnect_sysbam_pipes(ar_usb->ar); + goto err_core_cleanup; + } + +#endif + #ifdef CONFIG_ATH6KL_AUTO_PM /* Enable Autsuspend (Delay 2sec) Note, Autosuspend is enabled only after ath6kl_core_create is done @@ -2393,13 +2317,14 @@ static int ath6kl_usb_probe(struct usb_interface *interface, return ret; -err_core_free: #ifdef CONFIG_ATH6KL_BAM2BAM - if ((!!(debug_quirks & ATH6KL_MODULE_BAM2BAM))) { - ath6kl_remove_ipa_exception_filters(ar_usb->ar); - ath6kl_disconnect_sysbam_pipes(ar_usb->ar); +err_core_cleanup: + if (ath6kl_debug_quirks(ar_usb->ar, ATH6KL_MODULE_BAM2BAM)) { + ath6kl_stop_txrx(ar_usb->ar); + ath6kl_core_cleanup(ar_usb->ar); } #endif +err_core_free: ath6kl_core_destroy(ar); err_usb_destroy: ath6kl_usb_destroy(ar_usb); @@ -2484,7 +2409,7 @@ end: return ret; } - ath6kl_usb_suspend_flush_all(ar_usb); + ath6kl_usb_flush_all(ar_usb); #ifdef CONFIG_ATH6KL_AUTO_PM atomic_set(&ar_usb->autopm_state, ATH6KL_USB_AUTOPM_STATE_SUSPENDED); diff --git a/external/compat-wireless/drivers/net/wireless/ath/ath6kl/wmi.c b/external/compat-wireless/drivers/net/wireless/ath/ath6kl/wmi.c index e95976a96..2757aed9b 100644 --- a/external/compat-wireless/drivers/net/wireless/ath/ath6kl/wmi.c +++ b/external/compat-wireless/drivers/net/wireless/ath/ath6kl/wmi.c @@ -873,7 +873,7 @@ static int ath6kl_wmi_connect_event_rx(struct wmi *wmi, u8 *datap, int len, ath6kl_connect_ap_mode_bss( vif, le16_to_cpu(ev->u.ap_bss.ch), sec_ch, phymode); - if (htcap->ext_chan & IEEE80211_HT_CAP_EXT_CH_MASK) { + if (htcap->ext_ch_mask) { memset(&rate, 0, sizeof(rate)); rate.fix_rate_mask[0] = ATH6KL_HT40_RATE_MASK; ath6kl_wmi_set_fixrates(vif->ar->wmi, @@ -1047,12 +1047,10 @@ static void ath6kl_wmi_regdomain_event(struct wmi *wmi, u8 *datap, int len) alpha2[0] = country->isoName[0]; alpha2[1] = country->isoName[1]; - if (ath6kl_use_regulatory_hint()) { - regulatory_hint(wmi->parent_dev->wiphy, alpha2); - ath6kl_dbg(ATH6KL_DBG_WMI, - "Country alpha2 being used: %c%c\n", - alpha2[0], alpha2[1]); - } + regulatory_hint(wmi->parent_dev->wiphy, alpha2); + + ath6kl_dbg(ATH6KL_DBG_WMI, "Country alpha2 being used: %c%c\n", + alpha2[0], alpha2[1]); } } @@ -3261,12 +3259,8 @@ int ath6kl_wmi_set_htcap_cmd(struct wmi *wmi, u8 if_idx, cmd->ht20_sgi = !!(htcap->cap_info & IEEE80211_HT_CAP_SGI_20); cmd->ht40_supported = !!(htcap->cap_info & IEEE80211_HT_CAP_SUP_WIDTH_20_40); - if (htcap->ext_chan & IEEE80211_HT_CAP_EXT_CH_MASK) + if (htcap->ext_ch_mask) cmd->ht40_supported |= IEEE80211_HT_CAP_EXT_CH_MASK; - if (htcap->ext_chan & IEEE80211_HT_SC_CH_ABOVE) - cmd->ht40_supported |= IEEE80211_HT_SC_CH_ABOVE; - else if (htcap->ext_chan & IEEE80211_HT_SC_CH_BELOW) - cmd->ht40_supported |= IEEE80211_HT_SC_CH_BELOW; cmd->ht40_sgi = !!(htcap->cap_info & IEEE80211_HT_CAP_SGI_40); cmd->intolerant_40mhz = @@ -4098,10 +4092,7 @@ int ath6kl_wmi_set_acl_policy(struct wmi *wmi, u8 if_idx, bool enable_acl) #ifdef CONFIG_ACL_BLWL_MAC cmd->policy = enable_acl ? WMI_ACL_BLWL_MAC : 0; #else - if (enable_acl == NL80211_ACL_POLICY_DISABLE) - cmd->policy = WMI_ACL_DISABLE; - else - cmd->policy = enable_acl ? WMI_ACL_DENY_MAC : WMI_ACL_ALLOW_MAC; + cmd->policy = enable_acl ? WMI_ACL_DENY_MAC : WMI_ACL_ALLOW_MAC; #endif ath6kl_dbg(ATH6KL_DBG_WMI, "Set acl policy=%d\n", cmd->policy); @@ -4204,20 +4195,17 @@ int ath6kl_wmi_set_acl_list(struct wmi *wmi, u8 if_idx, int index, cmd->action = WMI_ACL_RESET_LIST; else if (acl_action == WMI_ACL_DEL_MAC_ADDR) cmd->action = WMI_ACL_DEL_MAC_ADDR; - else if (acl_action == WMI_ACL_END_MAC_LIST) - cmd->action = WMI_ACL_END_MAC_LIST; else cmd->action = WMI_ACL_ADD_MAC_ADDR; - if (!((acl_action == WMI_ACL_RESET_MAC_ADDR) || - (acl_action == WMI_ACL_END_MAC_LIST))) { + if (acl_action != WMI_ACL_RESET_MAC_ADDR) { cmd->wildcard = wildcard; vif = ath6kl_get_vif_by_index(wmi->parent_dev, if_idx); if (!ath6kl_acl_add_del_mac(&(vif->ap_acl_list), cmd)) { - ath6kl_info("could not set acl mac: index:%d action:%d mac:%pM wild:%d acl_action:%d\n", + ath6kl_dbg(ATH6KL_DBG_WMI, "could not set acl mac: index:%d action:%d mac:%pM wild:%d acl_action:%d\n", cmd->index, cmd->action, cmd->mac, cmd->wildcard, acl_action); dev_kfree_skb(skb); - return 0; + return -2; } } #endif diff --git a/external/compat-wireless/drivers/net/wireless/ath/ath6kl/wmi.h b/external/compat-wireless/drivers/net/wireless/ath/ath6kl/wmi.h index d49a9f58d..010b8d194 100644 --- a/external/compat-wireless/drivers/net/wireless/ath/ath6kl/wmi.h +++ b/external/compat-wireless/drivers/net/wireless/ath/ath6kl/wmi.h @@ -2884,7 +2884,6 @@ struct wmi_ap_mode_stat { /* Special mac index to notify eol */ #define MAC_ACL_INDEX_EOL 0xff -#define WMI_ACL_DISABLE 0x0 #define WMI_ACL_ALLOW_MAC 0x1 #define WMI_ACL_DENY_MAC 0x2 #define WMI_ACL_BLWL_MAC 0x3 @@ -2893,7 +2892,6 @@ struct wmi_ap_mode_stat { #define WMI_ACL_RESET_MAC_ADDR 0 #define WMI_ACL_ADD_MAC_ADDR 1 #define WMI_ACL_DEL_MAC_ADDR 2 -#define WMI_ACL_END_MAC_LIST 3 enum wmi_mac_acl_action { WMI_ACL_ADD_WHITE_MAC_ADDR = 0x01, diff --git a/external/compat-wireless/include/linux/ieee80211.h b/external/compat-wireless/include/linux/ieee80211.h index 7e28ff27c..2487432e9 100644 --- a/external/compat-wireless/include/linux/ieee80211.h +++ b/external/compat-wireless/include/linux/ieee80211.h @@ -984,10 +984,6 @@ struct ieee80211_ht_cap { u8 antenna_selection_info; } __attribute__ ((packed)); -#define IEEE80211_HT_CAP_EXT_CH_MASK 0x02 -#define IEEE80211_HT_SC_CH_ABOVE 0x04 -#define IEEE80211_HT_SC_CH_BELOW 0x08 - /* 802.11n HT capabilities masks (for cap_info) */ #define IEEE80211_HT_CAP_LDPC_CODING 0x0001 #define IEEE80211_HT_CAP_SUP_WIDTH_20_40 0x0002 @@ -1005,6 +1001,7 @@ struct ieee80211_ht_cap { #define IEEE80211_HT_CAP_RESERVED 0x2000 #define IEEE80211_HT_CAP_40MHZ_INTOLERANT 0x4000 #define IEEE80211_HT_CAP_LSIG_TXOP_PROT 0x8000 +#define IEEE80211_HT_CAP_EXT_CH_MASK 0x0002 /* 802.11n HT extended capabilities masks (for extended_ht_cap_info) */ #define IEEE80211_HT_EXT_CAP_PCO 0x0001 diff --git a/external/compat-wireless/include/linux/nl80211.h b/external/compat-wireless/include/linux/nl80211.h index 180041158..59bea2e44 100644 --- a/external/compat-wireless/include/linux/nl80211.h +++ b/external/compat-wireless/include/linux/nl80211.h @@ -727,10 +727,6 @@ enum nl80211_commands { NL80211_CMD_SET_MAC_ACL, - NL80211_CMD_AP_START_FAILURE_NOTIFY, - - NL80211_CMD_AP_FW_ERROR_NOTIFY, - /* add new commands above here */ /* used to define NL80211_CMD_MAX below */ @@ -1548,8 +1544,6 @@ enum nl80211_attrs { NL80211_ATTR_REQUIRE_HT, NL80211_ATTR_ACS_CHAN_MASK, - - NL80211_ATTR_HT40_SEC_CHOFF, /* add attributes here, update the policy in nl80211.c */ __NL80211_ATTR_AFTER_LAST, @@ -3059,6 +3053,5 @@ enum nl80211_probe_resp_offload_support_attr { enum nl80211_acl_policy_attr { NL80211_ACL_POLICY_ACCEPT, NL80211_ACL_POLICY_DENY, - NL80211_ACL_POLICY_DISABLE, }; #endif /* __LINUX_NL80211_H */ diff --git a/external/compat-wireless/include/net/cfg80211.h b/external/compat-wireless/include/net/cfg80211.h index fcf681c72..093935a35 100644 --- a/external/compat-wireless/include/net/cfg80211.h +++ b/external/compat-wireless/include/net/cfg80211.h @@ -460,7 +460,6 @@ struct cfg80211_ap_settings { u32 acs_chan_mask; u32 max_num_sta; u8 require_ht; - u8 ht40_sec_choff; }; /** diff --git a/external/compat-wireless/net/wireless/ap.c b/external/compat-wireless/net/wireless/ap.c index a3e5cba22..fcc60d8db 100644 --- a/external/compat-wireless/net/wireless/ap.c +++ b/external/compat-wireless/net/wireless/ap.c @@ -1,6 +1,5 @@ #include #include -#include #include #include "nl80211.h" #include "core.h" @@ -45,52 +44,3 @@ int cfg80211_stop_ap(struct cfg80211_registered_device *rdev, return err; } - - - -/* - * AP Start Failure Notify timer - */ -static struct timer_list _asfn_timer; - -/* - * timer-function_ap-start-failure-notify - */ -static void _tf_asfn(unsigned long data) -{ - struct net_device *dev = (struct net_device *)data; - - struct wireless_dev *wdev = dev->ieee80211_ptr; - struct wiphy *wiphy = wdev->wiphy; - struct cfg80211_registered_device *rdev = wiphy_to_dev(wiphy); - - nl80211_ap_start_failure_notify(rdev, dev, GFP_KERNEL); -} - -int cfg80211_ap_start_failure_notify(struct net_device *dev) -{ - /* - * Set a timer to send msg of AP start failure - * so that upper layer app(QCMAP/Hostapd Agent) - * can get notified. - */ - init_timer(&_asfn_timer); - _asfn_timer.expires = jiffies + HZ * 5; - _asfn_timer.function = _tf_asfn; - _asfn_timer.data = (unsigned long)dev; - - add_timer(&_asfn_timer); - - return 0; -} -EXPORT_SYMBOL(cfg80211_ap_start_failure_notify); - - -int cfg80211_ap_fw_error_notify(struct wiphy *wy) -{ - struct cfg80211_registered_device *rdev = wiphy_to_dev(wy); - nl80211_ap_fw_error_notify(rdev, GFP_KERNEL); - - return 0; -} -EXPORT_SYMBOL(cfg80211_ap_fw_error_notify); diff --git a/external/compat-wireless/net/wireless/db.txt b/external/compat-wireless/net/wireless/db.txt index bbab1de68..35d716f5a 100644 --- a/external/compat-wireless/net/wireless/db.txt +++ b/external/compat-wireless/net/wireless/db.txt @@ -19,10 +19,7 @@ country AE: (5490 - 5710 @ 40), (N/A, 27), DFS country AL: - (2402 - 2482 @ 40), (N/A, 20) - (5170 - 5250 @ 20), (N/A, 20) - (5250 - 5330 @ 20), (N/A, 20), DFS - (5490 - 5710 @ 20), (N/A, 27), DFS + (2402 - 2482 @ 20), (N/A, 20) country AM: (2402 - 2482 @ 40), (N/A, 20) @@ -247,12 +244,6 @@ country ES: DFS-ETSI (5250 - 5330 @ 40), (N/A, 20), DFS (5490 - 5710 @ 40), (N/A, 27), DFS -country ET: DFS-ETSI - (2402 - 2482 @ 40), (N/A, 20) - (5170 - 5250 @ 40), (N/A, 20) - (5250 - 5330 @ 40), (N/A, 20), DFS - (5490 - 5710 @ 40), (N/A, 27), DFS - country FI: DFS-ETSI (2402 - 2482 @ 40), (N/A, 20) (5170 - 5250 @ 40), (N/A, 20) @@ -346,7 +337,6 @@ country HU: DFS-ETSI country ID: (2402 - 2482 @ 40), (N/A, 20) - (5735 - 5815 @ 20), (N/A, 23) country IE: DFS-ETSI (2402 - 2482 @ 40), (N/A, 20) @@ -417,19 +407,19 @@ country KH: (5490 - 5710 @ 40), (N/A, 27), DFS country KP: - (2402 - 2482 @ 20), (N/A, 20) - (5170 - 5330 @ 20), (3, 20) - (5160 - 5250 @ 20), (3, 20), DFS - (5490 - 5630 @ 20), (3, 30), DFS - (5735 - 5815 @ 20), (3, 30) - -country KR: (2402 - 2482 @ 40), (N/A, 20) - (5170 - 5250 @ 40), (3, 20) - (5250 - 5330 @ 40), (3, 20), DFS + (5170 - 5330 @ 40), (3, 20) + (5160 - 5250 @ 40), (3, 20), DFS (5490 - 5630 @ 40), (3, 30), DFS (5735 - 5815 @ 40), (3, 30) +country KR: + (2402 - 2482 @ 20), (N/A, 20) + (5170 - 5250 @ 20), (3, 20) + (5250 - 5330 @ 20), (3, 20), DFS + (5490 - 5630 @ 20), (3, 30), DFS + (5735 - 5815 @ 20), (3, 30) + country KW: (2402 - 2482 @ 40), (N/A, 20) (5170 - 5250 @ 40), (N/A, 20) @@ -491,8 +481,6 @@ country MC: DFS-ETSI country MA: (2402 - 2482 @ 40), (N/A, 20) - (5170 - 5250 @ 40), (N/A, 23) - (5735 - 5835 @ 40), (N/A, 23) country ME: DFS-ETSI (2402 - 2482 @ 40), (N/A, 20) @@ -520,12 +508,11 @@ country MT: DFS-ETSI country MY: (2402 - 2482 @ 40), (N/A, 20) - (5170 - 5250 @ 40), (N/A, 20) (5250 - 5330 @ 40), (N/A, 30), DFS (5735 - 5835 @ 40), (N/A, 30) country MX: - (2402 - 2482 @ 40), (3, 27) + (2402 - 2472 @ 40), (3, 27) (5170 - 5250 @ 40), (3, 17) (5250 - 5330 @ 40), (3, 23), DFS (5735 - 5835 @ 40), (3, 30) @@ -554,9 +541,9 @@ country NP: country NZ: (2402 - 2482 @ 40), (N/A, 30) - (5170 - 5250 @ 40), (3, 23) - (5250 - 5330 @ 40), (3, 23), DFS - (5735 - 5835 @ 40), (3, 30) + (5170 - 5250 @ 20), (3, 23) + (5250 - 5330 @ 20), (3, 23), DFS + (5735 - 5835 @ 20), (3, 30) country OM: (2402 - 2482 @ 40), (N/A, 20) @@ -573,8 +560,6 @@ country PA: country PE: (2402 - 2482 @ 40), (N/A, 20) - (5170 - 5250 @ 40), (3, 17) - (5250 - 5330 @ 40), (3, 23), DFS (5735 - 5835 @ 40), (N/A, 30) country PG: @@ -585,8 +570,6 @@ country PG: country PH: (2402 - 2482 @ 40), (N/A, 20) - (5170 - 5250 @ 40), (3, 17) - (5250 - 5330 @ 40), (3, 23), DFS (5735 - 5835 @ 40), (N/A, 30) country PK: @@ -635,10 +618,7 @@ country RS: DFS-ETSI country RU: (2402 - 2482 @ 40), (N/A, 20) - (5170 - 5250 @ 40), (N/A, 20) - (5250 - 5340 @ 40), (N/A, 20), DFS - (5650 - 5710 @ 40), (N/A, 20), DFS - (5735 - 5835 @ 40), (N/A, 30) + (5735 - 5835 @ 20), (N/A, 30) country RW: (2402 - 2482 @ 40), (N/A, 20) @@ -714,10 +694,6 @@ country TR: DFS-ETSI country UA: (2402 - 2482 @ 40), (N/A, 20) - (5170 - 5250 @ 40), (N/A, 20) - (5250 - 5330 @ 40), (N/A, 20), DFS - (5490 - 5670 @ 40), (N/A, 20), DFS - (5735 - 5835 @ 40), (N/A, 20) country UG: (2402 - 2478 @ 40), (N/A, 20) @@ -750,9 +726,7 @@ country UZ: country VE: (2402 - 2482 @ 40), (N/A, 20) - (5170 - 5250 @ 40), (3, 17) - (5250 - 5330 @ 40), (3, 20), DFS - (5490 - 5710 @ 40), (N/A, 23), DFS + (5735 - 5815 @ 40), (N/A, 23) country VN: (2402 - 2482 @ 40), (N/A, 20) @@ -771,7 +745,4 @@ country ZA: country ZW: (2402 - 2482 @ 40), (N/A, 20) - (5170 - 5250 @ 40), (N/A, 20) - (5250 - 5330 @ 40), (N/A, 20), DFS - (5490 - 5710 @ 40), (N/A, 27), DFS diff --git a/external/compat-wireless/net/wireless/nl80211.c b/external/compat-wireless/net/wireless/nl80211.c index a2ab89897..80838f18a 100644 --- a/external/compat-wireless/net/wireless/nl80211.c +++ b/external/compat-wireless/net/wireless/nl80211.c @@ -303,7 +303,6 @@ static const struct nla_policy nl80211_policy[NL80211_ATTR_MAX+1] = { [NL80211_ATTR_HT_2040_MODE] = { .type = NLA_U8 }, [NL80211_ATTR_MAX_NUM_STA] = { .type = NLA_U32 }, [NL80211_ATTR_ACS_CHAN_MASK] = { .type = NLA_U32 }, - [NL80211_ATTR_HT40_SEC_CHOFF] = { .type = NLA_U8 }, }; /* policy for the key attributes */ @@ -2325,7 +2324,9 @@ static int nl80211_set_mac_acl(struct sk_buff *skb, struct genl_info *info) if (!(rdev->wiphy.features & NL80211_FEATURE_MAC_ACL)) return -EOPNOTSUPP; - if (!info->attrs[NL80211_ATTR_ACL_POLICY]) + if (!info->attrs[NL80211_ATTR_ACL_POLICY] || + !info->attrs[NL80211_ATTR_MAC_ADDRS] || + !info->attrs[NL80211_ATTR_MAC_ADDRS_WILD]) return -EINVAL; n_mac_addrs = validate_acl_mac_addrs( @@ -2620,11 +2621,6 @@ static int nl80211_start_ap(struct sk_buff *skb, struct genl_info *info) params.ht_cap_info = nla_get_u16(info->attrs[NL80211_ATTR_HT_CAPABILITY]); } - if (info->attrs[NL80211_ATTR_HT40_SEC_CHOFF]) { - params.ht40_sec_choff = - nla_get_u8(info->attrs[NL80211_ATTR_HT40_SEC_CHOFF]); - } - if (info->attrs[NL80211_ATTR_MAC_ACL]) { if (!(rdev->wiphy.features & NL80211_FEATURE_MAC_ACL)) return -EOPNOTSUPP; @@ -8528,69 +8524,6 @@ void nl80211_ch_switch_notify(struct cfg80211_registered_device *rdev, nlmsg_free(msg); } - -void nl80211_ap_start_failure_notify(struct cfg80211_registered_device *rdev, - struct net_device *netdev, gfp_t gfp) -{ - struct sk_buff *msg; - void *hdr; - - msg = nlmsg_new(NLMSG_GOODSIZE, gfp); - if (!msg) - return; - - hdr = nl80211hdr_put(msg, 0, 0, 0, NL80211_CMD_AP_START_FAILURE_NOTIFY); - if (!hdr) { - nlmsg_free(msg); - return; - } - - if (nla_put_u32(msg, NL80211_ATTR_IFINDEX, netdev->ifindex)) - goto nla_put_failure; - - genlmsg_end(msg, hdr); - - genlmsg_multicast_netns(wiphy_net(&rdev->wiphy), msg, 0, - nl80211_mlme_mcgrp.id, gfp); - return; - - nla_put_failure: - genlmsg_cancel(msg, hdr); - nlmsg_free(msg); -} - - -void nl80211_ap_fw_error_notify(struct cfg80211_registered_device *rdev, - gfp_t gfp) -{ - struct sk_buff *msg; - void *hdr; - - msg = nlmsg_new(NLMSG_GOODSIZE, gfp); - if (!msg) - return; - - hdr = nl80211hdr_put(msg, 0, 0, 0, NL80211_CMD_AP_FW_ERROR_NOTIFY); - if (!hdr) { - nlmsg_free(msg); - return; - } - - if (nla_put_u32(msg, NL80211_ATTR_IFINDEX, rdev->wiphy_idx)) - goto nla_put_failure; - - genlmsg_end(msg, hdr); - - genlmsg_multicast_netns(wiphy_net(&rdev->wiphy), msg, 0, - nl80211_mlme_mcgrp.id, gfp); - return; - - nla_put_failure: - genlmsg_cancel(msg, hdr); - nlmsg_free(msg); -} - - void nl80211_send_cqm_pktloss_notify(struct cfg80211_registered_device *rdev, struct net_device *netdev, const u8 *peer, diff --git a/external/compat-wireless/net/wireless/nl80211.h b/external/compat-wireless/net/wireless/nl80211.h index 80ae4c0a1..01a1122c3 100644 --- a/external/compat-wireless/net/wireless/nl80211.h +++ b/external/compat-wireless/net/wireless/nl80211.h @@ -122,12 +122,6 @@ void nl80211_ch_switch_notify(struct cfg80211_registered_device *rdev, struct net_device *dev, int freq, enum nl80211_channel_type type, gfp_t gfp); -void nl80211_ap_start_failure_notify(struct cfg80211_registered_device *rdev, - struct net_device *netdev, gfp_t gfp); - -void nl80211_ap_fw_error_notify(struct cfg80211_registered_device *rdev, - gfp_t gfp); - bool nl80211_unexpected_frame(struct net_device *dev, const u8 *addr, gfp_t gfp); bool nl80211_unexpected_4addr_frame(struct net_device *dev, diff --git a/external/hostap/hostapd/Makefile b/external/hostap/hostapd/Makefile old mode 100755 new mode 100644 index ce6027b09..552fd21c2 --- a/external/hostap/hostapd/Makefile +++ b/external/hostap/hostapd/Makefile @@ -862,68 +862,18 @@ verify_config: fi install: all -ifndef CONFIG_TP_WLAN_MODULE_BCM mkdir -p $(DESTDIR)/usr/bin for i in $(ALL); do cp -f $$i $(DESTDIR)/usr/bin/$$i; done -endif mkdir -p $(DESTDIR)/etc ifdef CONFIG_DRIVER_AR6000 install -m 0644 config/ar6k-ap-all.conf $(DESTDIR)/etc/AR6003_hostapd.conf install -m 0644 config/ar6k-ap1-all.conf $(DESTDIR)/etc/AR6003_AP1_hostapd.conf endif - -ifdef CONFIG_TP_WLAN_MODULE_BCM - -ifdef CONFIG_WIRELESS_ACL_TYPE_BLACK - #[liyuan start] M7350 series enable acl deny list in default - install -m 0644 -d $(DESTDIR)/etc/config - install -m 0644 config/tp-bcm-ap-all-7350-series.conf $(DESTDIR)/etc/AR6004_hostapd.conf - install -m 0644 config/tp-bcm-ap-all-7350-series.deny $(DESTDIR)/etc/config/hostapd.deny - ln -s /etc/AR6004_hostapd.conf $(DESTDIR)/etc/hostapd.conf - - install -m 0644 -d $(DESTDIR)/etc/default_config - install -m 0644 config/tp-bcm-ap-all-7350-series.conf $(DESTDIR)/etc/default_config/AR6004_hostapd.conf - install -m 0644 config/tp-bcm-ap-all-7350-series.deny $(DESTDIR)/etc/default_config/hostapd.deny - #[liyuan end] -else - #[lixiangkui start] install wifi default config - install -m 0644 config/tp-bcm-ap-all.conf $(DESTDIR)/etc/AR6004_hostapd.conf - ln -s /etc/AR6004_hostapd.conf $(DESTDIR)/etc/hostapd.conf - - install -m 0644 -d $(DESTDIR)/etc/default_config - install -m 0644 config/tp-bcm-ap-all.conf $(DESTDIR)/etc/default_config/AR6004_hostapd.conf - #[lixiangkui end] -endif - -else - ifdef CONFIG_DRIVER_NL80211 -ifdef CONFIG_WIRELESS_ACL_TYPE_BLACK - #[liyuan start] M7350 series enable acl deny list in default - install -m 0644 -d $(DESTDIR)/etc/config - install -m 0644 config/tp-ath6kl-ap-all-7350-series.conf $(DESTDIR)/etc/AR6004_hostapd.conf - install -m 0644 config/tp-ath6kl-ap-all-7350-series.deny $(DESTDIR)/etc/config/hostapd.deny + install -m 0644 config/ath6kl-ap-all.conf $(DESTDIR)/etc/AR6004_hostapd.conf install -m 0644 config/ath6kl-ap1-all.conf $(DESTDIR)/etc/AR6004_AP1_hostapd.conf ln -s /etc/AR6004_hostapd.conf $(DESTDIR)/etc/hostapd.conf - - install -m 0644 -d $(DESTDIR)/etc/default_config - install -m 0644 config/tp-ath6kl-ap-all-7350-series.conf $(DESTDIR)/etc/default_config/AR6004_hostapd.conf - install -m 0644 config/tp-ath6kl-ap-all-7350-series.deny $(DESTDIR)/etc/default_config/hostapd.deny - #[liyuan end] -else - #[lixiangkui start] install wifi default config - #install -m 0644 config/ath6kl-ap-all.conf $(DESTDIR)/etc/AR6004_hostapd.conf - install -m 0644 config/tp-ath6kl-ap-all.conf $(DESTDIR)/etc/AR6004_hostapd.conf - install -m 0644 config/ath6kl-ap1-all.conf $(DESTDIR)/etc/AR6004_AP1_hostapd.conf - ln -s /etc/AR6004_hostapd.conf $(DESTDIR)/etc/hostapd.conf - - install -m 0644 -d $(DESTDIR)/etc/default_config - install -m 0644 config/tp-ath6kl-ap-all.conf $(DESTDIR)/etc/default_config/AR6004_hostapd.conf - #[lixiangkui end] -endif -endif - endif ../src/drivers/build.hostapd: diff --git a/external/hostap/hostapd/config/tp-ath6kl-ap-all-7350-series.conf b/external/hostap/hostapd/config/tp-ath6kl-ap-all-7350-series.conf deleted file mode 100644 index f9564864f..000000000 --- a/external/hostap/hostapd/config/tp-ath6kl-ap-all-7350-series.conf +++ /dev/null @@ -1,15 +0,0 @@ -interface=wlan0 -bridge=bridge0 -driver=nl80211 -ctrl_interface=/var/run/hostapd -wmode=2 -channel=0 -auto_chan_select=2 -auth_algs=1 -ignore_broadcast_ssid=0 -ieee80211n=1 -ht_capab=[HT40-][SHORT-GI-20][SHORT-GI-40] -require_ht=0 -max_num_sta=15 -macaddr_acl=3 -deny_mac_file=/etc/config/hostapd.deny diff --git a/external/hostap/hostapd/config/tp-ath6kl-ap-all.conf b/external/hostap/hostapd/config/tp-ath6kl-ap-all.conf deleted file mode 100644 index ec60fd246..000000000 --- a/external/hostap/hostapd/config/tp-ath6kl-ap-all.conf +++ /dev/null @@ -1,13 +0,0 @@ -interface=wlan0 -bridge=bridge0 -driver=nl80211 -ctrl_interface=/var/run/hostapd -wmode=2 -channel=0 -auto_chan_select=2 -auth_algs=1 -ignore_broadcast_ssid=0 -ieee80211n=1 -ht_capab=[HT40-][SHORT-GI-20][SHORT-GI-40] -require_ht=0 -max_num_sta=15 diff --git a/external/hostap/hostapd/config/tp-bcm-ap-all-7350-series.conf b/external/hostap/hostapd/config/tp-bcm-ap-all-7350-series.conf deleted file mode 100644 index 25bb50212..000000000 --- a/external/hostap/hostapd/config/tp-bcm-ap-all-7350-series.conf +++ /dev/null @@ -1,15 +0,0 @@ -interface=wlan0 -bridge=br0 -driver=nl80211 -ctrl_interface=/var/run/hostapd -wmode=2 -channel=0 -auto_chan_select=2 -auth_algs=1 -ignore_broadcast_ssid=0 -ieee80211n=1 -ht_capab=[HT40-][SHORT-GI-20][SHORT-GI-40] -require_ht=0 -max_num_sta=15 -macaddr_acl=3 -deny_mac_file=/etc/config/hostapd.deny diff --git a/external/hostap/hostapd/config/tp-bcm-ap-all-7350-series.deny b/external/hostap/hostapd/config/tp-bcm-ap-all-7350-series.deny deleted file mode 100644 index e69de29bb..000000000 diff --git a/external/hostap/hostapd/config/tp-bcm-ap-all.conf b/external/hostap/hostapd/config/tp-bcm-ap-all.conf deleted file mode 100644 index 7903c70ec..000000000 --- a/external/hostap/hostapd/config/tp-bcm-ap-all.conf +++ /dev/null @@ -1,13 +0,0 @@ -interface=wlan0 -bridge=br0 -driver=nl80211 -ctrl_interface=/var/run/hostapd -wmode=2 -channel=0 -auto_chan_select=2 -auth_algs=1 -ignore_broadcast_ssid=0 -ieee80211n=1 -ht_capab=[HT40-][SHORT-GI-20][SHORT-GI-40] -require_ht=0 -max_num_sta=15 diff --git a/external/hostap/hostapd/config_file.c b/external/hostap/hostapd/config_file.c index 8a33a225a..e81191363 100644 --- a/external/hostap/hostapd/config_file.c +++ b/external/hostap/hostapd/config_file.c @@ -115,7 +115,7 @@ static int hostapd_config_read_vlan_file(struct hostapd_bss_config *bss, } #endif /* CONFIG_NO_VLAN */ -int hostapd_config_read_maclist(const char *fname, +static int hostapd_config_read_maclist(const char *fname, struct mac_acl_entry **acl, int *num) { FILE *f; @@ -157,16 +157,6 @@ int hostapd_config_read_maclist(const char *fname, fclose(f); return -1; } - /* - * Ignore entire list if multicast address present - */ - if (addr[0] & 0x01) { - wpa_printf(MSG_INFO, "Multicast address %s present " - "in conf file, Entire list will be " - "ignored", buf); - fclose(f); - return -1; - } vlan_id = 0; pos = buf; @@ -190,10 +180,7 @@ int hostapd_config_read_maclist(const char *fname, (*acl)[*num].wildcard = wild; (*num)++; } - if (*num > MAX_ACL_MAC_ADDRS) - wpa_printf(MSG_INFO, "\n ACL list has (%d) more than allowed " - "mac-addresses, Limiting ACL list to max " - "entries:%d\n", *num, MAX_ACL_MAC_ADDRS); + fclose(f); return 0; @@ -1274,12 +1261,6 @@ static int hostapd_config_check_bss(struct hostapd_bss_config *bss, "allowed, disabling HT capabilites"); } - if (conf->ieee80211n && conf->ap_capab_wmode == AP_CAP_WMODE_11GONLY) { - bss->disable_11n = 1; - wpa_printf(MSG_ERROR, "HT (IEEE 802.11n) in 11gonly mode is not " - "allowed, disabling HT capabilites"); - } - if (conf->ieee80211n && bss->ssid.security_policy == SECURITY_STATIC_WEP) { bss->disable_11n = 1; @@ -1300,13 +1281,6 @@ static int hostapd_config_check_bss(struct hostapd_bss_config *bss, conf->ieee80211n = 0; conf->ht_capab = 0; } - - if ((conf->ht_capab & HT_CAP_INFO_SUPP_CHANNEL_WIDTH_SET) && - (conf->hw_mode == HOSTAPD_MODE_IEEE80211G) && - !conf->obss_scan_interval) { - conf->obss_scan_interval = - OVERLAPPING_BSS_TRIGGER_SCAN_INTERVAL; - } #endif /* CONFIG_IEEE80211N */ #ifdef CONFIG_WPS2 diff --git a/external/hostap/hostapd/ctrl_iface.c b/external/hostap/hostapd/ctrl_iface.c index 1147be4ab..9ccf673ac 100644 --- a/external/hostap/hostapd/ctrl_iface.c +++ b/external/hostap/hostapd/ctrl_iface.c @@ -831,41 +831,6 @@ static int hostapd_ctrl_iface_enable(struct hostapd_iface *iface) return 0; } -static int hostapd_ctrl_iface_update_acl(struct hostapd_data *hapd, - const char *params) -{ - if (os_strncmp(params, "accept ", 7) == 0) { - hapd->conf->macaddr_acl = ACCEPT_UNLESS_DENIED; - params += 7; - os_memset(&hapd->conf->accept_mac, 0, - sizeof(hapd->conf->accept_mac)); - hapd->conf->num_accept_mac = 0; - if (hostapd_config_read_maclist(params, &hapd->conf->accept_mac, - &hapd->conf->num_accept_mac)) { - wpa_printf(MSG_ERROR, - "read-acl(accept) %s failed", params); - return -1; - } - hapd->conf->num_deny_mac = 0; - } else if (os_strncmp(params, "deny ", 5) == 0) { - hapd->conf->macaddr_acl = DENY_UNLESS_ACCEPTED; - params += 5; - os_memset(&hapd->conf->deny_mac, 0, - sizeof(hapd->conf->deny_mac)); - hapd->conf->num_deny_mac = 0; - if (hostapd_config_read_maclist(params, &hapd->conf->deny_mac, - &hapd->conf->num_deny_mac)) { - wpa_printf(MSG_ERROR, - "read-acl(deny) %s failed", params); - return -1; - } - hapd->conf->num_accept_mac = 0; - } else { - return -1; - } - hostapd_set_acl(hapd); - return 0; -} static int hostapd_ctrl_iface_reload(struct hostapd_iface *iface) { @@ -978,9 +943,6 @@ static void hostapd_ctrl_iface_receive(int sock, void *eloop_ctx, } else if (os_strncmp(buf, "NEW_STA ", 8) == 0) { if (hostapd_ctrl_iface_new_sta(hapd, buf + 8)) reply_len = -1; - } else if (os_strncmp(buf, "UPDATE_ACL ", 11) == 0) { - if (hostapd_ctrl_iface_update_acl(hapd, buf + 11)) - reply_len = -1; } else if (os_strncmp(buf, "DEAUTHENTICATE ", 15) == 0) { if (hostapd_ctrl_iface_deauthenticate(hapd, buf + 15)) reply_len = -1; diff --git a/external/hostap/hostapd/hostapd_cli.c b/external/hostap/hostapd/hostapd_cli.c index fbe7fd272..d63abf447 100644 --- a/external/hostap/hostapd/hostapd_cli.c +++ b/external/hostap/hostapd/hostapd_cli.c @@ -89,7 +89,6 @@ static const char *commands_help = " level change debug level\n" " license show full hostapd_cli license\n" " vendorie [ie] set or clear vendor ie\n" -" update_acl update acl either to accept/deny from the given file\n" " quit exit hostapd_cli\n"; static struct wpa_ctrl *ctrl_conn; @@ -829,28 +828,6 @@ static int hostapd_cli_cmd_get(struct wpa_ctrl *ctrl, int argc, char *argv[]) return wpa_ctrl_command(ctrl, cmd); } -static int hostapd_cli_cmd_update_acl(struct wpa_ctrl *ctrl, int argc, - char *argv[]) -{ - char cmd[256]; - int res; - - if (argc != 2) { - printf("Too few arguments: hostapd_cli -iifname update_acl" - " \n"); - return -1; - } - res = os_snprintf(cmd, sizeof(cmd), "UPDATE_ACL %s %s", argv[0], - argv[1]); - if (res < 0 || (size_t) res >= sizeof(cmd) - 1) { - printf("Too long UPDATE_ACL command.\n"); - return -1; - } - - return wpa_ctrl_command(ctrl, cmd); -} - - static int hostapd_cli_cmd_setvendorie(struct wpa_ctrl *ctrl, int argc, char *argv[]) { char cmd[256]; @@ -918,7 +895,6 @@ static struct hostapd_cli_cmd hostapd_cli_commands[] = { { "set", hostapd_cli_cmd_set }, { "get", hostapd_cli_cmd_get }, { "vendorie", hostapd_cli_cmd_setvendorie }, - { "update_acl", hostapd_cli_cmd_update_acl }, { NULL, NULL } }; diff --git a/external/hostap/src/ap/ap_config.h b/external/hostap/src/ap/ap_config.h index 490176f0c..3bb76258a 100644 --- a/external/hostap/src/ap/ap_config.h +++ b/external/hostap/src/ap/ap_config.h @@ -16,7 +16,7 @@ #include "wps/wps.h" #define MAX_VLAN_ID 4094 -#define MAX_ACL_MAC_ADDRS 10 + typedef u8 macaddr[ETH_ALEN]; struct mac_acl_entry { diff --git a/external/hostap/src/ap/beacon.c b/external/hostap/src/ap/beacon.c index e676adf1f..bf11ba99f 100644 --- a/external/hostap/src/ap/beacon.c +++ b/external/hostap/src/ap/beacon.c @@ -715,18 +715,6 @@ void ieee802_11_set_beacon(struct hostapd_data *hapd) params.ht_opmode = -1; else params.ht_opmode = hapd->iface->ht_op_mode; - -#ifdef CONFIG_IEEE80211N - int sec_chan = hapd->iconf->secondary_channel ? - hapd->iconf->secondary_channel : hapd->secondary_ch ? - hapd->secondary_ch : 0; - - if (sec_chan == 1) /* if sec_chan 1 means, HT40+ */ - params.ht40_sec_choff = HOSTAPD_HT40_SEC_CH_ABOVE; - if (sec_chan == -1) /* if sec_chan -1 means, HT40- */ - params.ht40_sec_choff = HOSTAPD_HT40_SEC_CH_BELOW; -#endif /* CONFIG_IEEE80211N */ - #endif /* NEED_AP_MLME */ params.interworking = hapd->conf->interworking; if (hapd->conf->interworking && diff --git a/external/hostap/src/ap/drv_callbacks.c b/external/hostap/src/ap/drv_callbacks.c index e696c5eca..77e8974e5 100644 --- a/external/hostap/src/ap/drv_callbacks.c +++ b/external/hostap/src/ap/drv_callbacks.c @@ -29,9 +29,6 @@ #include "ap_config.h" #include "hw_features.h" -// [liyuan] (DIS)ASSOC event support for Open System Authentication -#include "common/wpa_ctrl.h" - int hostapd_notif_assoc(struct hostapd_data *hapd, const u8 *addr, const u8 *req_ies, size_t req_ies_len, int reassoc) { @@ -854,12 +851,6 @@ void wpa_supplicant_event(void *ctx, enum wpa_event_type event, #endif /* CONFIG_NO_STDOUT_DEBUG */ switch (event) { - case EVENT_AP_START_FAILURE: - wpa_msg(hapd->msg_ctx, MSG_INFO, "%s", AP_START_FAILURE); - break; - case EVENT_AP_FW_ERROR: - wpa_msg(hapd->msg_ctx, MSG_INFO, "%s", AP_FW_ERROR); - break; case EVENT_MICHAEL_MIC_FAILURE: michael_mic_failure(hapd, data->michael_mic_failure.src, 1); break; @@ -935,53 +926,10 @@ void wpa_supplicant_event(void *ctx, enum wpa_event_type event, data->assoc_info.req_ies, data->assoc_info.req_ies_len, data->assoc_info.reassoc); - - /* [liyuan start] - Send an assoc event that HA can - be aware of for Open System Authentication. - */ - if (data != NULL){ - if (hapd->conf->wpa == 0){ - /* TODO - If it is Shared Key, you need to do some bla bla here... - - if (hapd->conf->auth_alg == WLAN_AUTH_SHARED_KEY){ - bla bla - } - - */ - - wpa_msg(hapd->msg_ctx, MSG_INFO, "%s "MACSTR, - AP_STA_CONNECTED, MAC2STR(data->assoc_info.addr)); - } - } - /* [liyuan end] */ - break; case EVENT_DISASSOC: - if (data){ + if (data) hostapd_notif_disassoc(hapd, data->disassoc_info.addr); - - /* [liyuan start] - Send a disassoc event that HA can - be aware of for Open System Authentication. - */ - if (hapd->conf->wpa == 0){ - /* TODO - If it is Shared Key, you need to do some bla bla here... - - if (hapd->conf->auth_alg == WLAN_AUTH_SHARED_KEY){ - bla bla - } - - */ - - wpa_msg(hapd->msg_ctx, MSG_INFO, "%s "MACSTR, - AP_STA_DISCONNECTED, MAC2STR(data->disassoc_info.addr)); - } - /* [liyuan end] */ - - } break; case EVENT_DEAUTH: if (data) diff --git a/external/hostap/src/ap/hostapd.c b/external/hostap/src/ap/hostapd.c index 2765fed06..6ac38f1db 100644 --- a/external/hostap/src/ap/hostapd.c +++ b/external/hostap/src/ap/hostapd.c @@ -396,6 +396,12 @@ int hostapd_flush_old_stations(struct hostapd_data *hapd, u16 reason) if (hostapd_drv_none(hapd) || hapd->drv_priv == NULL) return 0; + wpa_dbg(hapd->msg_ctx, MSG_DEBUG, "Flushing old station entries"); + if (hostapd_flush(hapd)) { + wpa_msg(hapd->msg_ctx, MSG_WARNING, "Could not connect to " + "kernel driver"); + ret = -1; + } wpa_dbg(hapd->msg_ctx, MSG_DEBUG, "Deauthenticate all stations"); os_memset(addr, 0xff, ETH_ALEN); hostapd_drv_sta_deauth(hapd, addr, reason); @@ -849,17 +855,17 @@ static int hostapd_set_acl_list(struct hostapd_data *hapd, return err; } -void hostapd_set_acl(struct hostapd_data *hapd) +static void hostapd_set_acl(struct hostapd_data *hapd) { struct hostapd_config *conf = hapd->iconf; int err; u8 accept_acl; - if (hapd->conf->macaddr_acl <= DISABLE_MAC_ACL) - return; + if (!(conf->bss->num_accept_mac || conf->bss->num_deny_mac)) + return; - if (hapd->conf->macaddr_acl == ACCEPT_UNLESS_DENIED) { - accept_acl = 1; + if (conf->bss->num_accept_mac) { + accept_acl = 1; err = hostapd_set_acl_list(hapd, conf->bss->accept_mac, conf->bss->num_accept_mac, accept_acl); @@ -869,14 +875,14 @@ void hostapd_set_acl(struct hostapd_data *hapd) } } - if (hapd->conf->macaddr_acl == DENY_UNLESS_ACCEPTED) { - accept_acl = 0; - err = hostapd_set_acl_list(hapd, conf->bss->deny_mac, - conf->bss->num_deny_mac, accept_acl); - if (err) { - wpa_printf(MSG_DEBUG, "Failed to set deny acl"); - return; - } + if (conf->bss->num_deny_mac) { + accept_acl = 0; + err = hostapd_set_acl_list(hapd, conf->bss->deny_mac, + conf->bss->num_deny_mac, accept_acl); + if (err) { + wpa_printf(MSG_DEBUG, "Failed to set deny acl"); + return; + } } } diff --git a/external/hostap/src/ap/hostapd.h b/external/hostap/src/ap/hostapd.h index d62a80a7b..9a3f6799c 100644 --- a/external/hostap/src/ap/hostapd.h +++ b/external/hostap/src/ap/hostapd.h @@ -11,7 +11,6 @@ #include "common/defs.h" -#include "ap/ap_config.h" struct wpa_driver_ops; struct wpa_ctrl_dst; struct radius_server_data; @@ -307,9 +306,5 @@ int hostapd_probe_req_rx(struct hostapd_data *hapd, const u8 *sa, const u8 *da, int ssi_signal); void hostapd_event_ch_switch(struct hostapd_data *hapd, int freq, int ht, int offset); -int hostapd_config_read_maclist(const char *fname, - struct mac_acl_entry **acl, int *num); - -void hostapd_set_acl(struct hostapd_data *hapd); #endif /* HOSTAPD_H */ diff --git a/external/hostap/src/ap/ieee802_11_ht.c b/external/hostap/src/ap/ieee802_11_ht.c index f094e9814..ce9117540 100644 --- a/external/hostap/src/ap/ieee802_11_ht.c +++ b/external/hostap/src/ap/ieee802_11_ht.c @@ -308,8 +308,6 @@ static int is_40_allowed(struct hostapd_iface *iface, int channel) void ap_ht2040_timeout(void *eloop_data, void *user_data) { -//[lixiangkui 20150417] Fix Bug#74496, don't switch to 40MHz -#if 0 struct hostapd_data *hapd = eloop_data; wpa_printf(MSG_INFO, "Switching to 40MHz operation"); @@ -318,9 +316,7 @@ void ap_ht2040_timeout(void *eloop_data, void *user_data) HT_OPMODE_SWITCH_TO_40); hapd->ht_40 = TRUE; hapd->iconf->secondary_channel = hapd->secondary_ch; -#else - wpa_printf(MSG_INFO, "Don't switching to 40MHz!"); -#endif + } void hostapd_2040_coex_action(struct hostapd_data *hapd, const struct ieee80211_mgmt *mgmt, size_t len) diff --git a/external/hostap/src/ap/wpa_auth.c b/external/hostap/src/ap/wpa_auth.c index 8c907dec3..b8a2282b6 100644 --- a/external/hostap/src/ap/wpa_auth.c +++ b/external/hostap/src/ap/wpa_auth.c @@ -24,7 +24,6 @@ #include "pmksa_cache_auth.h" #include "wpa_auth_i.h" #include "wpa_auth_ie.h" -#include "common/wpa_ctrl.h" #define STATE_MACHINE_DATA struct wpa_state_machine #define STATE_MACHINE_DEBUG_PREFIX "WPA" @@ -1781,14 +1780,6 @@ SM_STATE(WPA_PTK, PTKCALCNEGOTIATING) if (!ok) { wpa_auth_logger(sm->wpa_auth, sm->addr, LOGGER_DEBUG, "invalid MIC in msg 2/4 of 4-Way Handshake"); - - /* [liyuan start] */ - if (sm->wpa_auth->cb.ctx != NULL) { - wpa_msg(sm->wpa_auth->cb.ctx, MSG_INFO, "%s "MACSTR, - WPA_AUTH_FAILURE, MAC2STR(sm->addr)); - } - /* [liyuan end] */ - return; } diff --git a/external/hostap/src/ap/wps_hostapd.c b/external/hostap/src/ap/wps_hostapd.c index 98c53ac03..a12cb96cb 100644 --- a/external/hostap/src/ap/wps_hostapd.c +++ b/external/hostap/src/ap/wps_hostapd.c @@ -672,13 +672,6 @@ static void hostapd_wps_event_cb(void *ctx, enum wps_event event, case WPS_EV_PBC_TIMEOUT: wpa_msg(hapd->msg_ctx, MSG_INFO, WPS_EVENT_TIMEOUT); break; - - /* [liyuan start] */ - case WPS_EV_PIN_TIMEOUT: - wpa_msg(hapd->msg_ctx, MSG_INFO, WPS_EVENT_TIMEOUT); - break; - /* [liyuan end] */ - case WPS_EV_ER_AP_ADD: break; case WPS_EV_ER_AP_REMOVE: diff --git a/external/hostap/src/common/ieee802_11_defs.h b/external/hostap/src/common/ieee802_11_defs.h index bfaa7d3c3..775bf6886 100644 --- a/external/hostap/src/common/ieee802_11_defs.h +++ b/external/hostap/src/common/ieee802_11_defs.h @@ -264,8 +264,6 @@ #endif #define HT_OPMODE_SWITCH_TO_20 1 #define HT_OPMODE_SWITCH_TO_40 2 -#define HOSTAPD_HT40_SEC_CH_ABOVE 0x04 -#define HOSTAPD_HT40_SEC_CH_BELOW 0x08 /* Action frame categories (IEEE 802.11-2007, 7.3.1.11, Table 7-24) */ #define WLAN_ACTION_SPECTRUM_MGMT 0 #define WLAN_ACTION_QOS 1 diff --git a/external/hostap/src/common/wpa_ctrl.c b/external/hostap/src/common/wpa_ctrl.c index cbe54b253..58cbe6a0d 100644 --- a/external/hostap/src/common/wpa_ctrl.c +++ b/external/hostap/src/common/wpa_ctrl.c @@ -508,27 +508,6 @@ int wpa_ctrl_recv(struct wpa_ctrl *ctrl, char *reply, size_t *reply_len) } -int wpa_ctrl_pending_block(struct wpa_ctrl *ctrl, void *tv) -{ - struct timeval *t = (struct timeval *)tv; - struct timeval _t; - - if (t == NULL) { - _t.tv_sec = 0; - _t.tv_usec = 0; - } else { - _t.tv_sec = t->tv_sec; - _t.tv_usec = t->tv_usec; - } - - fd_set rfds; - FD_ZERO(&rfds); - FD_SET(ctrl->s, &rfds); - select(ctrl->s + 1, &rfds, NULL, NULL, &_t); - return FD_ISSET(ctrl->s, &rfds); -} - - int wpa_ctrl_pending(struct wpa_ctrl *ctrl) { struct timeval tv; @@ -653,12 +632,6 @@ int wpa_ctrl_recv(struct wpa_ctrl *ctrl, char *reply, size_t *reply_len) } -int wpa_ctrl_pending_block(struct wpa_ctrl *ctrl, void *tv) -{ - return wpa_ctrl_pending(ctrl); -} - - int wpa_ctrl_pending(struct wpa_ctrl *ctrl) { DWORD left; diff --git a/external/hostap/src/common/wpa_ctrl.h b/external/hostap/src/common/wpa_ctrl.h index f6d3863e9..bb9b5587f 100644 --- a/external/hostap/src/common/wpa_ctrl.h +++ b/external/hostap/src/common/wpa_ctrl.h @@ -146,11 +146,6 @@ extern "C" { #define AP_STA_CONNECTED "AP-STA-CONNECTED " #define AP_STA_DISCONNECTED "AP-STA-DISCONNECTED " -/* [liyuan start] */ -#define WPA_AUTH_FAILURE "WPA-AUTH-FAILURE " -#define AP_START_FAILURE "AP-START-FAILURE" -#define AP_FW_ERROR "AP-FW-ERROR" -/* [liyuan end]*/ /* BSS command information masks */ @@ -282,27 +277,6 @@ int wpa_ctrl_recv(struct wpa_ctrl *ctrl, char *reply, size_t *reply_len); */ int wpa_ctrl_pending(struct wpa_ctrl *ctrl); -/** - * wpa_ctrl_pending_block - Check whether there are pending event messages - * @ctrl :Control interface data from wpa_ctrl_open() - * @tv: Time how long it would block the caller thread, must be pointer to - * struct timeval. If it is NULL, it returns immediately. - * - * Returns: 1 if there are pending messages, 0 if no, or -1 on error - * - * This function do nearly the same thing as wpa_ctrl_pending() does, except - * that wpa_ctrl_pending() check and return immediately while this one blocks - * caller thread until any one of the following occurs: - * 1: one message comes and available for receiving by wpa_ctrl_recv() - * 2: Block time specified by @tv expires - * - * On WINDOWS: - * The block behavior not implemented on WINDOWS named pipe, so that the - * @tv will be ignored, ie it won't block caller thread and returns - * immediately, totally the same as wpa_ctrl_pending(). - */ -int wpa_ctrl_pending_block(struct wpa_ctrl *ctrl, void *tv); - /** * wpa_ctrl_get_fd - Get file descriptor used by the control interface diff --git a/external/hostap/src/drivers/driver.h b/external/hostap/src/drivers/driver.h index 5ebbff6a0..0e4d317d6 100644 --- a/external/hostap/src/drivers/driver.h +++ b/external/hostap/src/drivers/driver.h @@ -773,7 +773,6 @@ struct wpa_driver_ap_params { u8 require_ht; u32 max_num_sta; u32 acs_chan_mask; - u8 ht40_sec_choff; }; /** @@ -3145,16 +3144,6 @@ enum wpa_event_type { * */ EVENT_CH_SWITCH, - /** - * EVENT_AP_START_FAILURE - AP start failure - */ - EVENT_AP_START_FAILURE, - - /** - * EVENT_AP_FW_ERROR - AP firmware error - */ - EVENT_AP_FW_ERROR, - /** * EVENT_WNM - Request WNM operation * diff --git a/external/hostap/src/drivers/driver_nl80211.c b/external/hostap/src/drivers/driver_nl80211.c index f50dfd5b5..d5dec20ae 100644 --- a/external/hostap/src/drivers/driver_nl80211.c +++ b/external/hostap/src/drivers/driver_nl80211.c @@ -2103,12 +2103,6 @@ static void do_process_drv_event(struct wpa_driver_nl80211_data *drv, } switch (cmd) { - case NL80211_CMD_AP_START_FAILURE_NOTIFY: - wpa_supplicant_event(drv->ctx, EVENT_AP_START_FAILURE, NULL); - break; - case NL80211_CMD_AP_FW_ERROR_NOTIFY: - wpa_supplicant_event(drv->ctx, EVENT_AP_FW_ERROR, NULL); - break; case NL80211_CMD_TRIGGER_SCAN: wpa_printf(MSG_DEBUG, "nl80211: Scan trigger"); break; @@ -5587,11 +5581,6 @@ static int wpa_driver_nl80211_set_ap(void *priv, ht_capabilities.ht_capabilities_info = params->ht_capab; NLA_PUT(msg, NL80211_ATTR_HT_CAPABILITY, sizeof(struct ieee80211_ht_capabilities), &ht_capabilities); - - if (params->ht40_sec_choff) { - NLA_PUT_U8(msg, NL80211_ATTR_HT40_SEC_CHOFF, - params->ht40_sec_choff); - } } switch (params->ap_capab_wmode) { diff --git a/external/hostap/src/drivers/nl80211_copy.h b/external/hostap/src/drivers/nl80211_copy.h index 27d8d3671..5f2aa616a 100644 --- a/external/hostap/src/drivers/nl80211_copy.h +++ b/external/hostap/src/drivers/nl80211_copy.h @@ -720,10 +720,6 @@ enum nl80211_commands { NL80211_CMD_SET_MAC_ACL, - NL80211_CMD_AP_START_FAILURE_NOTIFY, - - NL80211_CMD_AP_FW_ERROR_NOTIFY, - /* add new commands above here */ /* used to define NL80211_CMD_MAX below */ @@ -1550,8 +1546,6 @@ enum nl80211_attrs { NL80211_ATTR_REQUIRE_HT, NL80211_ATTR_ACS_CHAN_MASK, - - NL80211_ATTR_HT40_SEC_CHOFF, /* add attributes here, update the policy in nl80211.c */ __NL80211_ATTR_AFTER_LAST, diff --git a/external/hostap/src/wps/wps.h b/external/hostap/src/wps/wps.h index a91002576..c45b68cf1 100644 --- a/external/hostap/src/wps/wps.h +++ b/external/hostap/src/wps/wps.h @@ -428,13 +428,6 @@ enum wps_event { */ WPS_EV_PBC_TIMEOUT, - /* [liyuan start] Add a time out event for PIN method */ - /** - * WPS_EV_PIN_TIMEOUT - PIN time expired before protocol run start - */ - WPS_EV_PIN_TIMEOUT, - /* [liyuan end] */ - /** * WPS_EV_ER_AP_ADD - ER: AP added */ diff --git a/external/hostap/src/wps/wps_common.c b/external/hostap/src/wps/wps_common.c index 440d41cc2..5a8817f26 100644 --- a/external/hostap/src/wps/wps_common.c +++ b/external/hostap/src/wps/wps_common.c @@ -322,19 +322,6 @@ void wps_pbc_timeout_event(struct wps_context *wps) } -/* [liyuan start] - Issue a time out event for PIN method. - */ -void wps_pin_timeout_event(struct wps_context *wps) -{ - if (wps->event_cb == NULL) - return; - - wps->event_cb(wps->cb_ctx, WPS_EV_PIN_TIMEOUT, NULL); -} -/* [liyuan end] */ - - #ifdef CONFIG_WPS_OOB struct wpabuf * wps_get_oob_cred(struct wps_context *wps) diff --git a/external/hostap/src/wps/wps_registrar.c b/external/hostap/src/wps/wps_registrar.c index 425e98ddc..cf9dbf054 100644 --- a/external/hostap/src/wps/wps_registrar.c +++ b/external/hostap/src/wps/wps_registrar.c @@ -1025,11 +1025,6 @@ int wps_registrar_wps_cancel(struct wps_registrar *reg) wpa_printf(MSG_DEBUG, "WPS: PIN is set - cancelling it"); wps_registrar_pin_completed(reg); wps_registrar_invalidate_wildcard_pin(reg, NULL, 0); - - /* [liyuan start] */ - wps_pin_timeout_event(reg->wps); - /* [liyuan end] */ - return 1; } return 0; @@ -3271,10 +3266,6 @@ static void wps_registrar_set_selected_timeout(void *eloop_ctx, reg->selected_registrar = 0; reg->pbc = 0; wps_registrar_selected_registrar_changed(reg); - - /* [liyuan start] */ - wps_pin_timeout_event(reg->wps); - /* [liyuan end] */ } diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/am3517_mt_ventoux.dts b/kernel/arch/arm/boot/dts/lte_module-v1/am3517_mt_ventoux.dts deleted file mode 100755 index 5eb26d7d9..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/am3517_mt_ventoux.dts +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Copyright (C) 2011 Ilya Yanok, EmCraft Systems - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. - */ -/dts-v1/; - -/include/ "omap3.dtsi" - -/ { - model = "TeeJet Mt.Ventoux"; - compatible = "teejet,mt_ventoux", "ti,omap3"; - - memory { - device_type = "memory"; - reg = <0x80000000 0x10000000>; /* 256 MB */ - }; - - /* AM35xx doesn't have IVA */ - soc { - iva { - status = "disabled"; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/apq8026-mtp.dts b/kernel/arch/arm/boot/dts/lte_module-v1/apq8026-mtp.dts deleted file mode 100755 index e14a68568..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/apq8026-mtp.dts +++ /dev/null @@ -1,22 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - - -/dts-v1/; -/include/ "apq8026.dtsi" -/include/ "msm8226-mtp.dtsi" - -/ { - model = "Qualcomm APQ 8026 MTP"; - compatible = "qcom,apq8026-mtp", "qcom,apq8026", "qcom,mtp"; - qcom,msm-id = <199 8 0>; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/apq8026-xpm.dts b/kernel/arch/arm/boot/dts/lte_module-v1/apq8026-xpm.dts deleted file mode 100755 index 67152af2d..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/apq8026-xpm.dts +++ /dev/null @@ -1,22 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - - -/dts-v1/; -/include/ "apq8026.dtsi" -/include/ "msm8226-cdp.dtsi" - -/ { - model = "Qualcomm APQ 8026 XPM"; - compatible = "qcom,apq8026-xpm", "qcom,apq8026", "qcom,xpm"; - qcom,msm-id = <199 14 0>; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/apq8026.dtsi b/kernel/arch/arm/boot/dts/lte_module-v1/apq8026.dtsi deleted file mode 100755 index db6576a0d..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/apq8026.dtsi +++ /dev/null @@ -1,24 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/* - * Only 8026-specific property overrides should be placed inside this - * file. Device definitions should be placed inside the msm8226.dtsi - * file. - */ - -/include/ "msm8226.dtsi" - -/ { - model = "Qualcomm APQ 8026"; - compatible = "qcom,apq8026"; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/apq8074-dragonboard.dtsi b/kernel/arch/arm/boot/dts/lte_module-v1/apq8074-dragonboard.dtsi deleted file mode 100755 index 6b4d1d339..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/apq8074-dragonboard.dtsi +++ /dev/null @@ -1,654 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/include/ "dsi-panel-sharp-qhd-video.dtsi" -/include/ "msm8974-camera-sensor-dragonboard.dtsi" -/include/ "msm8974-leds.dtsi" - -&soc { - serial@f991e000 { - status = "ok"; - }; - - qcom,mdss_dsi_sharp_qhd_video { - status = "ok"; - }; - - qcom,hdmi_tx@fd922100 { - status = "ok"; - }; - - gpio_keys { - compatible = "gpio-keys"; - input-name = "gpio-keys"; - - vol_up { - label = "volume_up"; - gpios = <&pm8941_gpios 5 0x1>; - linux,input-type = <1>; - linux,code = <115>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - - general { - label = "general"; - gpios = <&pm8941_gpios 23 0x1>; - linux,input-type = <1>; - linux,code = <102>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - }; - - bt_ar3002 { - compatible = "qca,ar3002"; - qca,bt-reset-gpio = <&pm8941_gpios 34 0>; - }; - - hsic_hub { - compatible = "qcom,hsic-smsc-hub"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - smsc,reset-gpio = <&pm8941_gpios 8 0x00>; - - hsic_host: hsic@f9a00000 { - compatible = "qcom,hsic-host"; - reg = <0xf9a00000 0x400>; - #address-cells = <0>; - interrupt-parent = <&hsic_host>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 136 0 - 1 &intc 0 148 0 - 2 &msmgpio 144 0x8>; - interrupt-names = "core_irq", "async_irq", "wakeup"; - HSIC_VDDCX-supply = <&pm8841_s2>; - HSIC_GDSC-supply = <&gdsc_usb_hsic>; - hsic,strobe-gpio = <&msmgpio 144 0x00>; - hsic,data-gpio = <&msmgpio 145 0x00>; - hsic,ignore-cal-pad-config; - hsic,strobe-pad-offset = <0x2050>; - hsic,data-pad-offset = <0x2054>; - - qcom,msm-bus,name = "hsic"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,active-only = <0>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <85 512 0 0>, - <85 512 40000 160000>; - }; - }; - - i2c@f9923000 { - status = "ok"; - atmel_mxt_ts@4a { - compatible = "atmel,mxt-ts"; - reg = <0x4a>; - interrupt-parent = <&msmgpio>; - interrupts = <61 0x2>; - vdd_ana-supply = <&pm8941_l18>; - vcc_i2c-supply = <&pm8941_s3>; - atmel,reset-gpio = <&msmgpio 60 0x00>; - atmel,irq-gpio = <&msmgpio 61 0x00>; - atmel,panel-coords = <0 0 566 1067>; - atmel,display-coords = <0 0 540 960>; - atmel,i2c-pull-up; - atmel,cfg_1 { - atmel,family-id = <0x81>; - atmel,variant-id = <0x19>; - atmel,version = <0x10>; - atmel,build = <0xaa>; - atmel,config = [ - /* Object 38, Instance = 0 */ - 0F 02 00 17 04 0C 00 00 - /* Object 7, Instance = 0 */ - 30 FF 19 - /* Object 8, Instance = 0 */ - 1B 00 05 01 00 00 08 08 00 00 - /* Object 9, Instance = 0 */ - 83 00 00 13 0B 00 10 23 01 03 - 0A 0F 01 0B 04 05 28 0A 2B 04 - 36 02 00 00 00 00 8F 28 8F 50 - 12 0F 32 32 02 - /* Object 15, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 - /* Object 18, Instance = 0 */ - 00 00 - /* Object 19, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 - /* Object 23, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 - /* Object 25, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 - /* Object 40, Instance = 0 */ - 00 00 00 00 00 - /* Object 42, Instance = 0 */ - 00 00 00 00 00 00 00 00 - /* Object 46, Instance = 0 */ - 00 03 10 30 00 00 01 00 00 - /* Object 47, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - /* Object 48, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 - ]; - }; - }; - }; - - gen-vkeys { - compatible = "qcom,gen-vkeys"; - label = "atmel_mxt_ts"; - qcom,disp-maxx = <540>; - qcom,disp-maxy = <960>; - qcom,panel-maxx = <566>; - qcom,panel-maxy = <1067>; - qcom,key-codes = <158 139 102 217>; - }; - - sound { - qcom,model = "apq8074-taiko-db-snd-card"; - qcom,hdmi-audio-rx; - - qcom,audio-routing = - "RX_BIAS", "MCLK", - "LDO_H", "MCLK", - "AMIC1", "MIC BIAS1 External", - "MIC BIAS1 External", "Analog Mic4", - "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", - "AMIC5", "MIC BIAS1 External", - "MIC BIAS1 External", "Analog Mic6", - "AMIC6", "MIC BIAS1 External", - "MIC BIAS1 External", "Analog Mic7", - "DMIC1", "MIC BIAS3 External", - "MIC BIAS3 External", "Digital Mic1", - "DMIC2", "MIC BIAS3 External", - "MIC BIAS3 External", "Digital Mic2", - "DMIC3", "MIC BIAS4 External", - "MIC BIAS4 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"; - }; - - qcom,pronto@fb21b000 { - status = "disabled"; - }; - - qcom,iris-fm { - status = "disabled"; - }; - - qcom,wcnss-wlan@fb000000 { - status = "disabled"; - }; - - qcom,smd-wcnss { - status = "disabled"; - }; - - qcom,smsm-wcnss { - status = "disabled"; - }; -}; - -&mdss_fb0 { - qcom,memory-reservation-size = <0x1000000>; /* size 16MB */ -}; - -&sdcc3 { - qcom,sup-voltages = <2000 2000>; - status = "ok"; -}; - -&pm8941_l19 { - regulator-min-microvolt = <3300000>; - regulator-max-microvolt = <3300000>; - qcom,init-voltage = <3300000>; - regulator-always-on; -}; - -&pm8941_l10 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - regulator-always-on; -}; - -&uart7 { - status = "ok"; - qcom,tx-gpio = <&msmgpio 41 0x00>; - qcom,rx-gpio = <&msmgpio 42 0x00>; - qcom,cts-gpio = <&msmgpio 43 0x00>; - qcom,rfr-gpio = <&msmgpio 44 0x00>; -}; - -&usb_otg { - status = "ok"; - qcom,hsusb-otg-otg-control = <2>; - qcom,hsusb-otg-mode = <3>; - vbus_otg-supply = <&pm8941_mvs1>; - qcom,usb2-enable-hsphy2; - qcom,dp-manual-pullup; - - #address-cells = <0>; - interrupt-parent = <&usb_otg>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 134 0 - 1 &intc 0 140 0 - 2 &spmi_bus 0x0 0x0 0x9 0x0>; - interrupt-names = "core_irq", "async_irq", "pmic_id_irq"; -}; - -&usb3 { - qcom,charging-disabled; - vbus_dwc3-supply = <0>; - dwc3@f9200000 { - host-only-mode; - }; -}; - -&slim_msm { - taiko_codec { - qcom,cdc-micbias2-ext-cap; - qcom,cdc-micbias3-ext-cap; - }; -}; - -&pm8941_gpios { - gpio@c000 { /* GPIO 1 */ - qcom,mode = <0>; - qcom,pull = <0>; - qcom,vin-sel = <2>; - qcom,src-sel = <0>; - }; - - gpio@c100 { /* GPIO 2 */ - qcom,mode = <0>; - qcom,pull = <0>; - qcom,vin-sel = <2>; - qcom,src-sel = <0>; - }; - - gpio@c200 { /* GPIO 3 */ - }; - - gpio@c300 { /* GPIO 4 */ - }; - - gpio@c400 { /* GPIO 5 */ - qcom,mode = <0>; - qcom,pull = <0>; - qcom,vin-sel = <2>; - qcom,src-sel = <0>; - }; - - gpio@c500 { /* GPIO 6 */ - /* TUSB3_HUB-RESET */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,output-type = <0>; /* QPNP_PIN_OUT_BUF_CMOS */ - qcom,pull = <0>; /* QPNP_PIN_PULL_30 */ - qcom,vin-sel = <0>; /* QPNP_PIN_VIN0 VPH */ - qcom,out-strength = <2>; /* QPNP_PIN_OUT_STRENGTH_MED */ - qcom,src-sel = <0>; /* QPNP_PIN_SEL_FUNC_CONSTANT */ - qcom,invert = <1>; /* Keep it out of reset */ - qcom,master-en = <1>; - }; - - gpio@c600 { /* GPIO 7 */ - }; - - gpio@c700 { /* GPIO 8 */ - /* HSIC_HUB-RESET */ - qcom,mode = <1>; /* DIG_OUT */ - qcom,pull = <5>; /* PULL_NO */ - qcom,out-strength = <2>; /* STRENGTH_MED */ - qcom,master-en = <1>; - }; - - gpio@c800 { /* GPIO 9 */ - /* GbE_RST_N */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,output-type = <0>; /* QPNP_PIN_OUT_BUF_CMOS */ - qcom,pull = <0>; /* QPNP_PIN_PULL_30 */ - qcom,vin-sel = <0>; /* QPNP_PIN_VIN0 VPH */ - qcom,out-strength = <2>; /* QPNP_PIN_OUT_STRENGTH_MED */ - qcom,src-sel = <0>; /* QPNP_PIN_SEL_FUNC_CONSTANT */ - qcom,invert = <1>; /* Keep it out of reset */ - qcom,master-en = <1>; - }; - - gpio@c900 { /* GPIO 10 */ - /* SATA_RST_N */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,output-type = <0>; /* QPNP_PIN_OUT_BUF_CMOS */ - qcom,pull = <0>; /* QPNP_PIN_PULL_30 */ - qcom,vin-sel = <0>; /* QPNP_PIN_VIN0 VPH */ - qcom,out-strength = <2>; /* QPNP_PIN_OUT_STRENGTH_MED */ - qcom,src-sel = <0>; /* QPNP_PIN_SEL_FUNC_CONSTANT */ - qcom,invert = <1>; /* Keep it out of reset */ - qcom,master-en = <1>; - }; - - gpio@ca00 { /* GPIO 11 */ - }; - - gpio@cb00 { /* GPIO 12 */ - }; - - gpio@cc00 { /* GPIO 13 */ - }; - - gpio@cd00 { /* GPIO 14 */ - }; - - gpio@ce00 { /* GPIO 15 */ - qcom,mode = <1>; - qcom,output-type = <0>; - qcom,pull = <5>; - qcom,vin-sel = <2>; - qcom,out-strength = <3>; - qcom,src-sel = <2>; - qcom,master-en = <1>; - }; - - gpio@cf00 { /* GPIO 16 */ - }; - - gpio@d000 { /* GPIO 17 */ - }; - - gpio@d100 { /* GPIO 18 */ - }; - - gpio@d200 { /* GPIO 19 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,output-type = <0>; /* QPNP_PIN_OUT_BUF_CMOS */ - qcom,pull = <5>; /* QPNP_PIN_PULL_NO */ - qcom,vin-sel = <2>; /* QPNP_PIN_VIN2 */ - qcom,out-strength = <2>; /* QPNP_PIN_OUT_STRENGTH_MED */ - qcom,src-sel = <0>; /* QPNP_PIN_SEL_FUNC_CONSTANT */ - qcom,master-en = <1>; - }; - - gpio@d300 { /* GPIO 20 */ - }; - - gpio@d400 { /* GPIO 21 */ - }; - - gpio@d500 { /* GPIO 22 */ - }; - - gpio@d600 { /* GPIO 23 */ - }; - - gpio@d700 { /* GPIO 24 */ - }; - - gpio@d800 { /* GPIO 25 */ - }; - - gpio@d900 { /* GPIO 26 */ - }; - - gpio@da00 { /* GPIO 27 */ - }; - - gpio@db00 { /* GPIO 28 */ - }; - - gpio@dc00 { /* GPIO 29 */ - qcom,pull = <0>; /* set to default pull */ - qcom,master-en = <1>; - qcom,vin-sel = <2>; /* select 1.8 V source */ - }; - - gpio@dd00 { /* GPIO 30 */ - }; - - gpio@de00 { /* GPIO 31 */ - }; - - gpio@df00 { /* GPIO 32 */ - }; - - gpio@e000 { /* GPIO 33 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,output-type = <0>; /* QPNP_PIN_OUT_BUF_CMOS */ - qcom,pull = <5>; /* QPNP_PIN_PULL_NO */ - qcom,vin-sel = <2>; /* QPNP_PIN_VIN2 */ - qcom,out-strength = <2>; /* QPNP_PIN_OUT_STRENGTH_MED */ - qcom,src-sel = <0>; /* QPNP_PIN_SEL_FUNC_CONSTANT */ - qcom,invert = <1>; - qcom,master-en = <1>; - }; - - gpio@e100 { /* GPIO 34 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,output-type = <0>; /* QPNP_PIN_OUT_BUF_CMOS */ - qcom,pull = <5>; /* QPNP_PIN_PULL_NO */ - qcom,vin-sel = <2>; /* QPNP_PIN_VIN2 */ - qcom,out-strength = <2>; /* QPNP_PIN_OUT_STRENGTH_MED */ - qcom,src-sel = <0>; /* QPNP_PIN_SEL_FUNC_CONSTANT */ - qcom,invert = <0>; - qcom,master-en = <1>; - }; - - gpio@e200 { /* GPIO 35 */ - }; - - gpio@e300 { /* GPIO 36 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,output-type = <0>; /* QPNP_PIN_OUT_BUF_CMOS */ - qcom,pull = <5>; /* QPNP_PIN_PULL_NO */ - qcom,vin-sel = <2>; /* QPNP_PIN_VIN2 */ - qcom,out-strength = <3>; /* QPNP_PIN_OUT_STRENGTH_HIGH */ - qcom,src-sel = <3>; /* QPNP_PIN_SEL_FUNC_2 */ - qcom,master-en = <1>; - }; -}; - -&pm8941_mpps { - - mpp@a000 { /* MPP 1 */ - }; - - mpp@a100 { /* MPP 2 */ - }; - - mpp@a200 { /* MPP 3 */ - }; - - mpp@a300 { /* MPP 4 */ - }; - - mpp@a400 { /* MPP 5 */ - }; - - mpp@a500 { /* MPP 6 */ - }; - - mpp@a600 { /* MPP 7 */ - }; - - mpp@a700 { /* MPP 8 */ - }; -}; - -&pm8841_mpps { - - mpp@a000 { /* MPP 1 */ - }; - - mpp@a100 { /* MPP 2 */ - }; - - mpp@a200 { /* MPP 3*/ - }; - - mpp@a300 { /* MPP 4*/ - }; -}; - -&spi_epm { - epm-adc@0 { - compatible = "cy,epm-adc-cy8c5568lti-114"; - reg = <0>; - interrupt-parent = <&msmgpio>; - spi-max-frequency = <960000>; - qcom,channels = <31>; - qcom,gain = <50 50 50 50 50 100 50 50 50 50 - 50 50 50 50 100 50 50 50 50 100 - 50 50 50 100 50 50 50 1 1 1 - 1>; - qcom,rsense = <40 10 10 25 10 1000 75 25 10 25 - 33 500 200 10 500 100 33 200 25 100 - 75 500 50 200 5 5 3 1 1 1 - 1>; - qcom,channel-type = <0xf0000000>; - }; -}; - -&spmi_bus { - qcom,pm8941@1 { - qcom,leds@d000 { - qcom,rgb_2 { - status = "ok"; - qcom,default-state = "on"; - qcom,turn-off-delay-ms = <1000>; - }; - }; - - qcom,leds@d800 { - status = "okay"; - qcom,wled_0 { - label = "wled"; - linux,name = "wled:backlight"; - linux,default-trigger = "bkl-trigger"; - qcom,cs-out-en; - qcom,op-fdbck = <1>; - qcom,default-state = "on"; - qcom,max-current = <20>; - qcom,ctrl-delay-us = <0>; - qcom,boost-curr-lim = <3>; - qcom,cp-sel = <0>; - qcom,switch-freq = <2>; - qcom,ovp-val = <1>; - qcom,num-strings = <1>; - qcom,id = <0>; - }; - }; - }; -}; - -&pm8941_chg { - status = "ok"; - - qcom,charging-disabled; - - qcom,chgr@1000 { - status = "ok"; - }; - - qcom,buck@1100 { - status = "ok"; - }; - - qcom,usb-chgpth@1300 { - status = "ok"; - }; - - qcom,dc-chgpth@1400 { - status = "ok"; - }; - - qcom,boost@1500 { - status = "ok"; - }; - - qcom,chg-misc@1600 { - status = "ok"; - }; -}; - -&sdhc_1 { - vdd-supply = <&pm8941_l20>; - vdd-io-supply = <&pm8941_s3>; - - qcom,vdd-always-on; - qcom,vdd-lpm-sup; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <800 500000>; - - qcom,vdd-io-always-on; - qcom,vdd-io-voltage-level = <1800000 1800000>; - qcom,vdd-io-current-level = <250 154000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,nonremovable; - status = "ok"; -}; - -&sdhc_2 { - #address-cells = <0>; - interrupt-parent = <&sdhc_2>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 125 0 - 1 &intc 0 221 0 - 2 &msmgpio 62 0x3>; - interrupt-names = "hc_irq", "pwr_irq", "status_irq"; - cd-gpios = <&msmgpio 62 0x1>; - - vdd-supply = <&pm8941_l21>; - vdd-io-supply = <&pm8941_l13>; - - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <9000 800000>; - - qcom,vdd-io-voltage-level = <1800000 2950000>; - qcom,vdd-io-current-level = <6 22000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - status = "ok"; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/apq8074-v1.dtsi b/kernel/arch/arm/boot/dts/lte_module-v1/apq8074-v1.dtsi deleted file mode 100755 index c4e7b7c3c..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/apq8074-v1.dtsi +++ /dev/null @@ -1,48 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/* - * As a general rule, only version-specific property overrides should be placed - * inside this file. However, device definitions should be placed inside the - * msm8974.dtsi file. - */ - -/include/ "msm8974-v1.dtsi" - -&soc { - qcom,qseecom@a700000 { - compatible = "qcom,qseecom"; - reg = <0x0a700000 0x500000>; - reg-names = "secapp-region"; - qcom,disk-encrypt-pipe-pair = <2>; - qcom,hlos-ce-hw-instance = <1>; - qcom,qsee-ce-hw-instance = <0>; - qcom,msm-bus,name = "qseecom-noc"; - qcom,msm-bus,num-cases = <4>; - qcom,msm-bus,active-only = <0>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <55 512 0 0>, - <55 512 3936000 393600>, - <55 512 3936000 393600>, - <55 512 3936000 393600>; - }; -}; - -&memory_hole { - qcom,memblock-remove = <0x0a700000 0x5800000>; /* Address and size of the hole */ -}; - -&qseecom { - status = "disabled"; -}; - diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/apq8074-v2-dragonboard.dts b/kernel/arch/arm/boot/dts/lte_module-v1/apq8074-v2-dragonboard.dts deleted file mode 100755 index 5a6f5f3bf..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/apq8074-v2-dragonboard.dts +++ /dev/null @@ -1,22 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; - -/include/ "apq8074-v2.dtsi" -/include/ "apq8074-dragonboard.dtsi" - -/ { - model = "Qualcomm APQ 8074v2 DRAGONBOARD"; - compatible = "qcom,apq8074-dragonboard", "qcom,apq8074", "qcom,dragonboard"; - qcom,msm-id = <184 10 0x20000>; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/apq8074-v2-liquid.dts b/kernel/arch/arm/boot/dts/lte_module-v1/apq8074-v2-liquid.dts deleted file mode 100755 index 4ec1cdd17..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/apq8074-v2-liquid.dts +++ /dev/null @@ -1,34 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; - -/include/ "apq8074-v2.dtsi" -/include/ "msm8974-liquid.dtsi" - -/ { - model = "Qualcomm APQ 8074v2 LIQUID"; - compatible = "qcom,apq8074-liquid", "qcom,apq8074", "qcom,liquid"; - qcom,msm-id = <184 9 0x20000>; -}; - -&usb3 { - interrupt-parent = <&usb3>; - interrupts = <0 1>; - #interrupt-cells = <1>; - interrupt-map-mask = <0x0 0xffffffff>; - interrupt-map = <0x0 0 &intc 0 133 0 - 0x0 1 &spmi_bus 0x0 0x0 0x9 0x0>; - interrupt-names = "hs_phy_irq", "pmic_id_irq"; - - qcom,misc-ref = <&pm8941_misc>; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/apq8074-v2.dtsi b/kernel/arch/arm/boot/dts/lte_module-v1/apq8074-v2.dtsi deleted file mode 100755 index 76eb14b96..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/apq8074-v2.dtsi +++ /dev/null @@ -1,52 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/* - * As a general rule, only version-specific property overrides should be placed - * inside this file. However, device definitions should be placed inside the - * msm8974.dtsi file. - */ - -/include/ "msm8974-v2.dtsi" - -&soc { - qcom,qseecom@a700000 { - compatible = "qcom,qseecom"; - reg = <0x0a700000 0x500000>; - reg-names = "secapp-region"; - qcom,disk-encrypt-pipe-pair = <2>; - qcom,hlos-ce-hw-instance = <1>; - qcom,qsee-ce-hw-instance = <0>; - qcom,msm-bus,name = "qseecom-noc"; - qcom,msm-bus,num-cases = <4>; - qcom,msm-bus,active-only = <0>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <55 512 0 0>, - <55 512 3936000 393600>, - <55 512 3936000 393600>, - <55 512 3936000 393600>; - }; - - sound { - compatible = "qcom,apq8074-audio-taiko"; - }; -}; - -&memory_hole { - qcom,memblock-remove = <0x0a700000 0x5800000>; /* Address and size of the hole */ -}; - -&qseecom { - status = "disabled"; -}; - diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/apq8084-ion.dtsi b/kernel/arch/arm/boot/dts/lte_module-v1/apq8084-ion.dtsi deleted file mode 100755 index ea954b89c..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/apq8084-ion.dtsi +++ /dev/null @@ -1,31 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -&soc { - qcom,ion { - compatible = "qcom,msm-ion"; - #address-cells = <1>; - #size-cells = <0>; - - qcom,ion-heap@30 { /* SYSTEM HEAP */ - reg = <30>; - }; - - qcom,ion-heap@21 { /* SYSTEM CONTIG HEAP */ - reg = <21>; - }; - - qcom,ion-heap@25 { /* IOMMU HEAP */ - reg = <25>; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/apq8084-regulator.dtsi b/kernel/arch/arm/boot/dts/lte_module-v1/apq8084-regulator.dtsi deleted file mode 100755 index 998b46906..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/apq8084-regulator.dtsi +++ /dev/null @@ -1,377 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - - -/* QPNP controlled regulators: */ - -&spmi_bus { - qcom,pma8084@1 { - pma8084_s1: regulator@1400 { - regulator-min-microvolt = <1050000>; - regulator-max-microvolt = <1050000>; - qcom,enable-time = <500>; - qcom,pull-down-enable = <1>; - regulator-always-on; - qcom,system-load = <100000>; - status = "okay"; - }; - - /* PMA8084 S2 + S12 = 2 phase VDD_CX supply */ - pma8084_s2: regulator@1700 { - regulator-min-microvolt = <1050000>; - regulator-max-microvolt = <1050000>; - qcom,enable-time = <500>; - qcom,pull-down-enable = <1>; - regulator-always-on; - qcom,system-load = <100000>; - status = "okay"; - }; - - pma8084_s3: regulator@1a00 { - regulator-min-microvolt = <1300000>; - regulator-max-microvolt = <1300000>; - qcom,enable-time = <500>; - qcom,pull-down-enable = <1>; - regulator-always-on; - qcom,system-load = <100000>; - status = "okay"; - }; - - pma8084_s4: regulator@1d00 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,enable-time = <500>; - qcom,pull-down-enable = <1>; - regulator-always-on; - qcom,system-load = <100000>; - status = "okay"; - }; - - pma8084_s5: regulator@2000 { - regulator-min-microvolt = <2150000>; - regulator-max-microvolt = <2150000>; - qcom,enable-time = <500>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - /* PMA8084 S6 + S7 = 2 phase VDD_GFX supply */ - pma8084_s6: regulator@2300 { - regulator-min-microvolt = <815000>; - regulator-max-microvolt = <900000>; - qcom,enable-time = <500>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - /* PMA8084 S8 + S9 + S10 + S11 = 4 phase VDD_APC supply */ - pma8084_s8: regulator@2900 { - regulator-min-microvolt = <500000>; - regulator-max-microvolt = <1100000>; - qcom,enable-time = <500>; - qcom,pull-down-enable = <1>; - regulator-always-on; - qcom,system-load = <100000>; - status = "okay"; - }; - - /* Output of PMA8084 L1 and L11 is tied together. */ - pma8084_l1: regulator@4000 { - parent-supply = <&pma8084_s3>; - regulator-min-microvolt = <1225000>; - regulator-max-microvolt = <1225000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - regulator-always-on; - qcom,system-load = <10000>; - status = "okay"; - }; - - pma8084_l2: regulator@4100 { - parent-supply = <&pma8084_s3>; - regulator-min-microvolt = <1200000>; - regulator-max-microvolt = <1200000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l3: regulator@4200 { - parent-supply = <&pma8084_s3>; - regulator-min-microvolt = <1225000>; - regulator-max-microvolt = <1225000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l4: regulator@4300 { - parent-supply = <&pma8084_s3>; - regulator-min-microvolt = <1000000>; - regulator-max-microvolt = <1000000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l6: regulator@4500 { - parent-supply = <&pma8084_s5>; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l8: regulator@4700 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l9: regulator@4800 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l10: regulator@4900 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l12: regulator@4b00 { - parent-supply = <&pma8084_s5>; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l13: regulator@4c00 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <2950000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l14: regulator@4d00 { - parent-supply = <&pma8084_s5>; - regulator-min-microvolt = <1225000>; - regulator-max-microvolt = <1225000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l15: regulator@4e00 { - parent-supply = <&pma8084_s5>; - regulator-min-microvolt = <1200000>; - regulator-max-microvolt = <1200000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l16: regulator@4f00 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l17: regulator@5000 { - regulator-min-microvolt = <2800000>; - regulator-max-microvolt = <2800000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l18: regulator@5100 { - regulator-min-microvolt = <2850000>; - regulator-max-microvolt = <2850000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l19: regulator@5200 { - regulator-min-microvolt = <2950000>; - regulator-max-microvolt = <2950000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l20: regulator@5300 { - regulator-min-microvolt = <2950000>; - regulator-max-microvolt = <2950000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l21: regulator@5400 { - regulator-min-microvolt = <2950000>; - regulator-max-microvolt = <2950000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l22: regulator@5500 { - regulator-min-microvolt = <3000000>; - regulator-max-microvolt = <3000000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l23: regulator@5600 { - regulator-min-microvolt = <2700000>; - regulator-max-microvolt = <2700000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l24: regulator@5700 { - regulator-min-microvolt = <3075000>; - regulator-max-microvolt = <3075000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l25: regulator@5800 { - regulator-min-microvolt = <2100000>; - regulator-max-microvolt = <2100000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l26: regulator@5900 { - parent-supply = <&pma8084_s5>; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l27: regulator@5a00 { - parent-supply = <&pma8084_s3>; - regulator-min-microvolt = <1050000>; - regulator-max-microvolt = <1050000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_lvs1: regulator@8000 { - parent-supply = <&pma8084_s4>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_lvs2: regulator@8100 { - parent-supply = <&pma8084_s4>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_lvs3: regulator@8200 { - parent-supply = <&pma8084_s4>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_lvs4: regulator@8300 { - parent-supply = <&pma8084_s4>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_mvs1: regulator@8400 { - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - }; -}; - -&rpm_bus { - rpm-regulator-smpb1 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "smpb"; - qcom,resource-id = <1>; - qcom,regulator-type = <1>; - qcom,hpm-min-load = <100000>; - - pma8084_s1_ao: regulator-s1-ao { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8084_s1_ao"; - qcom,set = <1>; - regulator-min-microvolt = <675000>; - regulator-max-microvolt = <1050000>; - }; - }; - - rpm-regulator-smpb2 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "smpb"; - qcom,resource-id = <2>; - qcom,regulator-type = <1>; - qcom,hpm-min-load = <100000>; - - pma8084_s2_corner_ao: regulator-s2-corner-ao { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8084_s2_corner_ao"; - qcom,set = <1>; - regulator-min-microvolt = <1>; - regulator-max-microvolt = <7>; - qcom,use-voltage-corner; - }; - }; - - rpm-regulator-ldoa12 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <12>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - - pma8084_l12_ao: regulator-l12-ao { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8084_l12_ao"; - qcom,set = <1>; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/apq8084-sim.dts b/kernel/arch/arm/boot/dts/lte_module-v1/apq8084-sim.dts deleted file mode 100755 index e206d4dd0..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/apq8084-sim.dts +++ /dev/null @@ -1,173 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; - -/include/ "apq8084.dtsi" - -/ { - model = "Qualcomm APQ 8084 Simulator"; - compatible = "qcom,apq8084-sim", "qcom,apq8084", "qcom,sim"; - qcom,msm-id = <178 0 0>; - - aliases { - serial0 = &uart0; - }; -}; - -&soc { - uart0: serial@f991f000 { - status = "ok"; - }; -}; - -&sdcc1 { - qcom,vdd-always-on; - qcom,vdd-lpm-sup; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <800 500000>; - - qcom,vdd-io-always-on; - qcom,vdd-io-voltage-level = <1800000 1800000>; - qcom,vdd-io-current-level = <250 154000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 20000000 25000000 50000000 100000000 200000000>; - qcom,sup-voltages = <2950 2950>; - qcom,nonremovable; - qcom,bus-speed-mode = "HS200_1p8v", "DDR_1p8v"; - - status = "ok"; -}; - -&sdcc2 { - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <9000 800000>; - qcom,vdd-io-voltage-level = <1800000 2950000>; - qcom,vdd-io-current-level = <6 22000>; - qcom,vdd-io-lpm-sup; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 20000000 25000000 50000000 100000000 200000000>; - qcom,sup-voltages = <2950 2950>; - qcom,xpc; - qcom,bus-speed-mode = "SDR12", "SDR25", "SDR50", "DDR50", "SDR104"; - qcom,current-limit = <800>; - - status = "ok"; -}; - -&pma8084_gpios { - gpio@c000 { /* GPIO 1 */ - }; - - gpio@c100 { /* GPIO 2 */ - }; - - gpio@c200 { /* GPIO 3 */ - }; - - gpio@c300 { /* GPIO 4 */ - }; - - gpio@c400 { /* GPIO 5 */ - }; - - gpio@c500 { /* GPIO 6 */ - }; - - gpio@c600 { /* GPIO 7 */ - }; - - gpio@c700 { /* GPIO 8 */ - }; - - gpio@c800 { /* GPIO 9 */ - }; - - gpio@c900 { /* GPIO 10 */ - }; - - gpio@ca00 { /* GPIO 11 */ - }; - - gpio@cb00 { /* GPIO 12 */ - }; - - gpio@cc00 { /* GPIO 13 */ - }; - - gpio@cd00 { /* GPIO 14 */ - }; - - gpio@ce00 { /* GPIO 15 */ - }; - - gpio@cf00 { /* GPIO 16 */ - }; - - gpio@d000 { /* GPIO 17 */ - }; - - gpio@d100 { /* GPIO 18 */ - }; - - gpio@d200 { /* GPIO 19 */ - }; - - gpio@d300 { /* GPIO 20 */ - }; - - gpio@d400 { /* GPIO 21 */ - }; - - gpio@d500 { /* GPIO 22 */ - }; -}; - -&pma8084_mpps { - mpp@a000 { /* MPP 1 */ - }; - - mpp@a100 { /* MPP 2 */ - }; - - mpp@a200 { /* MPP 3 */ - }; - - mpp@a300 { /* MPP 4 */ - }; - - mpp@a400 { /* MPP 5 */ - }; - - mpp@a500 { /* MPP 6 */ - }; - - mpp@a600 { /* MPP 7 */ - }; - - mpp@a700 { /* MPP 8 */ - }; -}; - -&usb3 { - qcom,skip-charger-detection; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/apq8084-smp2p.dtsi b/kernel/arch/arm/boot/dts/lte_module-v1/apq8084-smp2p.dtsi deleted file mode 100755 index b1d21ffd7..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/apq8084-smp2p.dtsi +++ /dev/null @@ -1,82 +0,0 @@ -/* Copyright (c) 2013, 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. - */ -&soc { - qcom,smp2p-adsp { - compatible = "qcom,smp2p"; - reg = <0xf9011008 0x4>; - qcom,remote-pid = <2>; - qcom,irq-bitmask = <0x400>; - interrupts = <0 158 1>; - }; - - smp2pgpio_smp2p_7_in: qcom,smp2pgpio-smp2p-7-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <7>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_7_in { - compatible = "qcom,smp2pgpio_test_smp2p_7_in"; - gpios = <&smp2pgpio_smp2p_7_in 0 0>; - }; - - smp2pgpio_smp2p_7_out: qcom,smp2pgpio-smp2p-7-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <7>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_7_out { - compatible = "qcom,smp2pgpio_test_smp2p_7_out"; - gpios = <&smp2pgpio_smp2p_7_out 0 0>; - }; - - smp2pgpio_smp2p_2_in: qcom,smp2pgpio-smp2p-2-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <2>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_2_in { - compatible = "qcom,smp2pgpio_test_smp2p_2_in"; - gpios = <&smp2pgpio_smp2p_2_in 0 0>; - }; - - smp2pgpio_smp2p_2_out: qcom,smp2pgpio-smp2p-2-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <2>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_2_out { - compatible = "qcom,smp2pgpio_test_smp2p_2_out"; - gpios = <&smp2pgpio_smp2p_2_out 0 0>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/apq8084.dtsi b/kernel/arch/arm/boot/dts/lte_module-v1/apq8084.dtsi deleted file mode 100755 index b39f5690a..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/apq8084.dtsi +++ /dev/null @@ -1,276 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/include/ "skeleton64.dtsi" - -/ { - model = "Qualcomm APQ 8084"; - compatible = "qcom,apq8084"; - interrupt-parent = <&intc>; - soc: soc { }; -}; - -/include/ "apq8084-ion.dtsi" -/include/ "apq8084-smp2p.dtsi" - -&soc { - #address-cells = <1>; - #size-cells = <1>; - ranges = <0 0 0 0xffffffff>; - - intc: interrupt-controller@f9000000 { - compatible = "qcom,msm-qgic2"; - interrupt-controller; - #interrupt-cells = <3>; - reg = <0xF9000000 0x1000>, - <0xF9002000 0x1000>; - }; - - msmgpio: gpio@fd510000 { - compatible = "qcom,msm-gpio"; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - reg = <0xfd510000 0x4000>; - ngpio = <146>; - interrupts = <0 208 0>; - qcom,direct-connect-irqs = <8>; - }; - - timer { - compatible = "arm,armv7-timer"; - interrupts = <1 2 0 1 3 0>; - clock-frequency = <19200000>; - }; - - serial@f991f000 { - compatible = "qcom,msm-lsuart-v14"; - reg = <0xf991f000 0x1000>; - interrupts = <0 109 0>; - status = "disabled"; - }; - - qcom,cache_erp { - compatible = "qcom,cache_erp"; - interrupts = <1 9 0>, <0 2 0>; - interrupt-names = "l1_irq", "l2_irq"; - }; - - qcom,cache_dump { - compatible = "qcom,cache_dump"; - qcom,l1-dump-size = <0x100000>; - qcom,l2-dump-size = <0x500000>; - qcom,memory-reservation-type = "EBI1"; - qcom,memory-reservation-size = <0x600000>; /* 6M EBI1 buffer */ - }; - - rpm_bus: qcom,rpm-smd { - compatible = "qcom,rpm-smd"; - rpm-channel-name = "rpm_requests"; - rpm-channel-type = <15>; /* SMD_APPS_RPM */ - rpm-standalone; - }; - - qcom,msm-imem@fe805000 { - compatible = "qcom,msm-imem"; - reg = <0xfe805000 0x1000>; /* Address and size of IMEM */ - }; - - qcom,msm-rtb { - compatible = "qcom,msm-rtb"; - qcom,memory-reservation-type = "EBI1"; - qcom,memory-reservation-size = <0x100000>; /* 1M EBI1 buffer */ - }; - - sdcc1: qcom,sdcc@f9824000 { - cell-index = <1>; /* SDC1 eMMC slot */ - compatible = "qcom,msm-sdcc"; - reg = <0xf9824000 0x800>; - reg-names = "core_mem"; - interrupts = <0 123 0>; - interrupt-names = "core_irq"; - - qcom,bus-width = <8>; - status = "disabled"; - }; - - sdcc2: qcom,sdcc@f98a4000 { - cell-index = <2>; /* SDC2 SD card slot */ - compatible = "qcom,msm-sdcc"; - reg = <0xf98a4000 0x800>; - reg-names = "core_mem"; - interrupts = <0 125 0>; - interrupt-names = "core_irq"; - - - qcom,bus-width = <4>; - status = "disabled"; - }; - - qcom,sps@f9980000 { - compatible = "qcom,msm_sps"; - reg = <0xf9984000 0x15000>, - <0xf9999000 0xb000>; - interrupts = <0 94 0>; - qcom,pipe-attr-ee; - }; - - spmi_bus: qcom,spmi@fc4c0000 { - cell-index = <0>; - 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,not-wakeup; - qcom,pmic-arb-ee = <0>; - qcom,pmic-arb-channel = <0>; - #address-cells = <1>; - #size-cells = <0>; - interrupt-controller; - #interrupt-cells = <3>; - }; - - i2c_0: i2c@f9925000 { /* BLSP1 QUP3 */ - cell-index = <0>; - compatible = "qcom,i2c-qup"; - #address-cells = <1>; - #size-cells = <0>; - reg-names = "qup_phys_addr"; - reg = <0xf9925000 0x1000>; - interrupt-names = "qup_err_intr"; - interrupts = <0 97 0>; - qcom,i2c-bus-freq = <100000>; - qcom,i2c-src-freq = <50000000>; - qcom,sda-gpio = <&msmgpio 10 0>; - qcom,scl-gpio = <&msmgpio 11 0>; - }; - - usb3: qcom,ssusb@f9200000 { - compatible = "qcom,dwc-usb3-msm"; - reg = <0xf9200000 0xfc000>, - <0xfd4ab000 0x4>; - #address-cells = <1>; - #size-cells = <1>; - ranges; - interrupts = <0 133 0>; - interrupt-names = "hs_phy_irq"; - ssusb_vdd_dig-supply = <&pma8084_s1>; - SSUSB_1p8-supply = <&pma8084_l6>; - hsusb_vdd_dig-supply = <&pma8084_s1>; - HSUSB_1p8-supply = <&pma8084_l6>; - HSUSB_3p3-supply = <&pma8084_l24>; - qcom,dwc-usb3-msm-dbm-eps = <4>; - qcom,vdd-voltage-level = <0 900000 1050000>; - - dwc3@f9200000 { - compatible = "synopsys,dwc3"; - reg = <0xf9200000 0xfc000>; - interrupt-parent = <&intc>; - interrupts = <0 131 0>, <0 179 0>; - interrupt-names = "irq", "otg_irq"; - tx-fifo-resize; - }; - }; - - android_usb { - compatible = "qcom,android-usb"; - }; - - 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>; - - partition@0 { - reg = <0x0 0x180000>; - qcom,ocmem-part-name = "graphics"; - qcom,ocmem-part-min = <0x80000>; - }; - - partition@80000 { - reg = <0x180000 0x80000>; - qcom,ocmem-part-name = "lp_audio"; - qcom,ocmem-part-min = <0x80000>; - }; - - partition@100000 { - reg = <0x180000 0x80000>; - qcom,ocmem-part-name = "video"; - qcom,ocmem-part-min = <0x55000>; - }; - - }; - - memory_hole: qcom,msm-mem-hole { - compatible = "qcom,msm-mem-hole"; - qcom,memblock-remove = <0x0dc00000 0x2000000>; /* Address and Size of Hole */ - }; - - qcom,ipc-spinlock@fd484000 { - compatible = "qcom,ipc-spinlock-sfpb"; - reg = <0xfd484000 0x400>; - qcom,num-locks = <8>; - }; - - qcom,smem@fa00000 { - compatible = "qcom,smem"; - reg = <0xfa00000 0x200000>, - <0xf9011000 0x1000>, - <0xfc428000 0x4000>; - reg-names = "smem", "irq-reg-base", "aux-mem1"; - - qcom,smd-adsp { - compatible = "qcom,smd"; - qcom,smd-edge = <1>; - qcom,smd-irq-offset = <0x8>; - qcom,smd-irq-bitmask = <0x100>; - qcom,pil-string = "adsp"; - interrupts = <0 156 1>; - }; - - qcom,smsm-adsp { - compatible = "qcom,smsm"; - qcom,smsm-edge = <1>; - qcom,smsm-irq-offset = <0x8>; - qcom,smsm-irq-bitmask = <0x200>; - interrupts = <0 157 1>; - }; - - qcom,smd-rpm { - compatible = "qcom,smd"; - qcom,smd-edge = <15>; - qcom,smd-irq-offset = <0x8>; - qcom,smd-irq-bitmask = <0x1>; - interrupts = <0 168 1>; - qcom,irq-no-suspend; - }; - }; -}; - -/include/ "msm-pma8084.dtsi" -/include/ "apq8084-regulator.dtsi" diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/at91sam9g20.dtsi b/kernel/arch/arm/boot/dts/lte_module-v1/at91sam9g20.dtsi deleted file mode 100755 index 773ef4840..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/at91sam9g20.dtsi +++ /dev/null @@ -1,238 +0,0 @@ -/* - * at91sam9g20.dtsi - Device Tree Include file for AT91SAM9G20 family SoC - * - * Copyright (C) 2011 Atmel, - * 2011 Nicolas Ferre , - * 2011 Jean-Christophe PLAGNIOL-VILLARD - * - * Licensed under GPLv2 or later. - */ - -/include/ "skeleton.dtsi" - -/ { - model = "Atmel AT91SAM9G20 family SoC"; - compatible = "atmel,at91sam9g20"; - interrupt-parent = <&aic>; - - aliases { - serial0 = &dbgu; - serial1 = &usart0; - serial2 = &usart1; - serial3 = &usart2; - serial4 = &usart3; - serial5 = &usart4; - serial6 = &usart5; - gpio0 = &pioA; - gpio1 = &pioB; - gpio2 = &pioC; - tcb0 = &tcb0; - tcb1 = &tcb1; - }; - cpus { - cpu@0 { - compatible = "arm,arm926ejs"; - }; - }; - - memory { - reg = <0x20000000 0x08000000>; - }; - - ahb { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - - apb { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - - aic: interrupt-controller@fffff000 { - #interrupt-cells = <2>; - compatible = "atmel,at91rm9200-aic"; - interrupt-controller; - reg = <0xfffff000 0x200>; - }; - - ramc0: ramc@ffffea00 { - compatible = "atmel,at91sam9260-sdramc"; - reg = <0xffffea00 0x200>; - }; - - pmc: pmc@fffffc00 { - compatible = "atmel,at91rm9200-pmc"; - reg = <0xfffffc00 0x100>; - }; - - rstc@fffffd00 { - compatible = "atmel,at91sam9260-rstc"; - reg = <0xfffffd00 0x10>; - }; - - shdwc@fffffd10 { - compatible = "atmel,at91sam9260-shdwc"; - reg = <0xfffffd10 0x10>; - }; - - pit: timer@fffffd30 { - compatible = "atmel,at91sam9260-pit"; - reg = <0xfffffd30 0xf>; - interrupts = <1 4>; - }; - - tcb0: timer@fffa0000 { - compatible = "atmel,at91rm9200-tcb"; - reg = <0xfffa0000 0x100>; - interrupts = <17 4 18 4 19 4>; - }; - - tcb1: timer@fffdc000 { - compatible = "atmel,at91rm9200-tcb"; - reg = <0xfffdc000 0x100>; - interrupts = <26 4 27 4 28 4>; - }; - - pioA: gpio@fffff400 { - compatible = "atmel,at91rm9200-gpio"; - reg = <0xfffff400 0x100>; - interrupts = <2 4>; - #gpio-cells = <2>; - gpio-controller; - interrupt-controller; - }; - - pioB: gpio@fffff600 { - compatible = "atmel,at91rm9200-gpio"; - reg = <0xfffff600 0x100>; - interrupts = <3 4>; - #gpio-cells = <2>; - gpio-controller; - interrupt-controller; - }; - - pioC: gpio@fffff800 { - compatible = "atmel,at91rm9200-gpio"; - reg = <0xfffff800 0x100>; - interrupts = <4 4>; - #gpio-cells = <2>; - gpio-controller; - interrupt-controller; - }; - - dbgu: serial@fffff200 { - compatible = "atmel,at91sam9260-usart"; - reg = <0xfffff200 0x200>; - interrupts = <1 4>; - status = "disabled"; - }; - - usart0: serial@fffb0000 { - compatible = "atmel,at91sam9260-usart"; - reg = <0xfffb0000 0x200>; - interrupts = <6 4>; - atmel,use-dma-rx; - atmel,use-dma-tx; - status = "disabled"; - }; - - usart1: serial@fffb4000 { - compatible = "atmel,at91sam9260-usart"; - reg = <0xfffb4000 0x200>; - interrupts = <7 4>; - atmel,use-dma-rx; - atmel,use-dma-tx; - status = "disabled"; - }; - - usart2: serial@fffb8000 { - compatible = "atmel,at91sam9260-usart"; - reg = <0xfffb8000 0x200>; - interrupts = <8 4>; - atmel,use-dma-rx; - atmel,use-dma-tx; - status = "disabled"; - }; - - usart3: serial@fffd0000 { - compatible = "atmel,at91sam9260-usart"; - reg = <0xfffd0000 0x200>; - interrupts = <23 4>; - atmel,use-dma-rx; - atmel,use-dma-tx; - status = "disabled"; - }; - - usart4: serial@fffd4000 { - compatible = "atmel,at91sam9260-usart"; - reg = <0xfffd4000 0x200>; - interrupts = <24 4>; - atmel,use-dma-rx; - atmel,use-dma-tx; - status = "disabled"; - }; - - usart5: serial@fffd8000 { - compatible = "atmel,at91sam9260-usart"; - reg = <0xfffd8000 0x200>; - interrupts = <25 4>; - atmel,use-dma-rx; - atmel,use-dma-tx; - status = "disabled"; - }; - - macb0: ethernet@fffc4000 { - compatible = "cdns,at32ap7000-macb", "cdns,macb"; - reg = <0xfffc4000 0x100>; - interrupts = <21 4>; - status = "disabled"; - }; - - usb1: gadget@fffa4000 { - compatible = "atmel,at91rm9200-udc"; - reg = <0xfffa4000 0x4000>; - interrupts = <10 4>; - status = "disabled"; - }; - }; - - nand0: nand@40000000 { - compatible = "atmel,at91rm9200-nand"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0x40000000 0x10000000 - 0xffffe800 0x200 - >; - atmel,nand-addr-offset = <21>; - atmel,nand-cmd-offset = <22>; - gpios = <&pioC 13 0 - &pioC 14 0 - 0 - >; - status = "disabled"; - }; - - usb0: ohci@00500000 { - compatible = "atmel,at91rm9200-ohci", "usb-ohci"; - reg = <0x00500000 0x100000>; - interrupts = <20 4>; - status = "disabled"; - }; - }; - - i2c@0 { - compatible = "i2c-gpio"; - gpios = <&pioA 23 0 /* sda */ - &pioA 24 0 /* scl */ - >; - i2c-gpio,sda-open-drain; - i2c-gpio,scl-open-drain; - i2c-gpio,delay-us = <2>; /* ~100 kHz */ - #address-cells = <1>; - #size-cells = <0>; - status = "disabled"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/at91sam9g25ek.dts b/kernel/arch/arm/boot/dts/lte_module-v1/at91sam9g25ek.dts deleted file mode 100755 index 7829a4d0c..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/at91sam9g25ek.dts +++ /dev/null @@ -1,49 +0,0 @@ -/* - * at91sam9g25ek.dts - Device Tree file for AT91SAM9G25-EK board - * - * Copyright (C) 2012 Atmel, - * 2012 Nicolas Ferre - * - * Licensed under GPLv2 or later. - */ -/dts-v1/; -/include/ "at91sam9x5.dtsi" -/include/ "at91sam9x5cm.dtsi" - -/ { - model = "Atmel AT91SAM9G25-EK"; - compatible = "atmel,at91sam9g25ek", "atmel,at91sam9x5ek", "atmel,at91sam9x5", "atmel,at91sam9"; - - chosen { - bootargs = "128M console=ttyS0,115200 root=/dev/mtdblock1 rw rootfstype=ubifs ubi.mtd=1 root=ubi0:rootfs"; - }; - - ahb { - apb { - dbgu: serial@fffff200 { - status = "okay"; - }; - - usart0: serial@f801c000 { - status = "okay"; - }; - - macb0: ethernet@f802c000 { - phy-mode = "rmii"; - status = "okay"; - }; - }; - - usb0: ohci@00600000 { - status = "okay"; - num-ports = <2>; - atmel,vbus-gpio = <&pioD 19 1 - &pioD 20 1 - >; - }; - - usb1: ehci@00700000 { - status = "okay"; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/at91sam9g45.dtsi b/kernel/arch/arm/boot/dts/lte_module-v1/at91sam9g45.dtsi deleted file mode 100755 index c8042147e..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/at91sam9g45.dtsi +++ /dev/null @@ -1,247 +0,0 @@ -/* - * at91sam9g45.dtsi - Device Tree Include file for AT91SAM9G45 family SoC - * applies to AT91SAM9G45, AT91SAM9M10, - * AT91SAM9G46, AT91SAM9M11 SoC - * - * Copyright (C) 2011 Atmel, - * 2011 Nicolas Ferre - * - * Licensed under GPLv2 or later. - */ - -/include/ "skeleton.dtsi" - -/ { - model = "Atmel AT91SAM9G45 family SoC"; - compatible = "atmel,at91sam9g45"; - interrupt-parent = <&aic>; - - aliases { - serial0 = &dbgu; - serial1 = &usart0; - serial2 = &usart1; - serial3 = &usart2; - serial4 = &usart3; - gpio0 = &pioA; - gpio1 = &pioB; - gpio2 = &pioC; - gpio3 = &pioD; - gpio4 = &pioE; - tcb0 = &tcb0; - tcb1 = &tcb1; - }; - cpus { - cpu@0 { - compatible = "arm,arm926ejs"; - }; - }; - - memory { - reg = <0x70000000 0x10000000>; - }; - - ahb { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - - apb { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - - aic: interrupt-controller@fffff000 { - #interrupt-cells = <2>; - compatible = "atmel,at91rm9200-aic"; - interrupt-controller; - reg = <0xfffff000 0x200>; - }; - - ramc0: ramc@ffffe400 { - compatible = "atmel,at91sam9g45-ddramc"; - reg = <0xffffe400 0x200 - 0xffffe600 0x200>; - }; - - pmc: pmc@fffffc00 { - compatible = "atmel,at91rm9200-pmc"; - reg = <0xfffffc00 0x100>; - }; - - rstc@fffffd00 { - compatible = "atmel,at91sam9g45-rstc"; - reg = <0xfffffd00 0x10>; - }; - - pit: timer@fffffd30 { - compatible = "atmel,at91sam9260-pit"; - reg = <0xfffffd30 0xf>; - interrupts = <1 4>; - }; - - - shdwc@fffffd10 { - compatible = "atmel,at91sam9rl-shdwc"; - reg = <0xfffffd10 0x10>; - }; - - tcb0: timer@fff7c000 { - compatible = "atmel,at91rm9200-tcb"; - reg = <0xfff7c000 0x100>; - interrupts = <18 4>; - }; - - tcb1: timer@fffd4000 { - compatible = "atmel,at91rm9200-tcb"; - reg = <0xfffd4000 0x100>; - interrupts = <18 4>; - }; - - dma: dma-controller@ffffec00 { - compatible = "atmel,at91sam9g45-dma"; - reg = <0xffffec00 0x200>; - interrupts = <21 4>; - }; - - pioA: gpio@fffff200 { - compatible = "atmel,at91rm9200-gpio"; - reg = <0xfffff200 0x100>; - interrupts = <2 4>; - #gpio-cells = <2>; - gpio-controller; - interrupt-controller; - }; - - pioB: gpio@fffff400 { - compatible = "atmel,at91rm9200-gpio"; - reg = <0xfffff400 0x100>; - interrupts = <3 4>; - #gpio-cells = <2>; - gpio-controller; - interrupt-controller; - }; - - pioC: gpio@fffff600 { - compatible = "atmel,at91rm9200-gpio"; - reg = <0xfffff600 0x100>; - interrupts = <4 4>; - #gpio-cells = <2>; - gpio-controller; - interrupt-controller; - }; - - pioD: gpio@fffff800 { - compatible = "atmel,at91rm9200-gpio"; - reg = <0xfffff800 0x100>; - interrupts = <5 4>; - #gpio-cells = <2>; - gpio-controller; - interrupt-controller; - }; - - pioE: gpio@fffffa00 { - compatible = "atmel,at91rm9200-gpio"; - reg = <0xfffffa00 0x100>; - interrupts = <5 4>; - #gpio-cells = <2>; - gpio-controller; - interrupt-controller; - }; - - dbgu: serial@ffffee00 { - compatible = "atmel,at91sam9260-usart"; - reg = <0xffffee00 0x200>; - interrupts = <1 4>; - status = "disabled"; - }; - - usart0: serial@fff8c000 { - compatible = "atmel,at91sam9260-usart"; - reg = <0xfff8c000 0x200>; - interrupts = <7 4>; - atmel,use-dma-rx; - atmel,use-dma-tx; - status = "disabled"; - }; - - usart1: serial@fff90000 { - compatible = "atmel,at91sam9260-usart"; - reg = <0xfff90000 0x200>; - interrupts = <8 4>; - atmel,use-dma-rx; - atmel,use-dma-tx; - status = "disabled"; - }; - - usart2: serial@fff94000 { - compatible = "atmel,at91sam9260-usart"; - reg = <0xfff94000 0x200>; - interrupts = <9 4>; - atmel,use-dma-rx; - atmel,use-dma-tx; - status = "disabled"; - }; - - usart3: serial@fff98000 { - compatible = "atmel,at91sam9260-usart"; - reg = <0xfff98000 0x200>; - interrupts = <10 4>; - atmel,use-dma-rx; - atmel,use-dma-tx; - status = "disabled"; - }; - - macb0: ethernet@fffbc000 { - compatible = "cdns,at32ap7000-macb", "cdns,macb"; - reg = <0xfffbc000 0x100>; - interrupts = <25 4>; - status = "disabled"; - }; - }; - - nand0: nand@40000000 { - compatible = "atmel,at91rm9200-nand"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0x40000000 0x10000000 - 0xffffe200 0x200 - >; - atmel,nand-addr-offset = <21>; - atmel,nand-cmd-offset = <22>; - gpios = <&pioC 8 0 - &pioC 14 0 - 0 - >; - status = "disabled"; - }; - - usb0: ohci@00700000 { - compatible = "atmel,at91rm9200-ohci", "usb-ohci"; - reg = <0x00700000 0x100000>; - interrupts = <22 4>; - status = "disabled"; - }; - - usb1: ehci@00800000 { - compatible = "atmel,at91sam9g45-ehci", "usb-ehci"; - reg = <0x00800000 0x100000>; - interrupts = <22 4>; - status = "disabled"; - }; - }; - - i2c@0 { - compatible = "i2c-gpio"; - gpios = <&pioA 20 0 /* sda */ - &pioA 21 0 /* scl */ - >; - i2c-gpio,sda-open-drain; - i2c-gpio,scl-open-drain; - i2c-gpio,delay-us = <5>; /* ~100 kHz */ - #address-cells = <1>; - #size-cells = <0>; - status = "disabled"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/at91sam9m10g45ek.dts b/kernel/arch/arm/boot/dts/lte_module-v1/at91sam9m10g45ek.dts deleted file mode 100755 index a3633bd13..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/at91sam9m10g45ek.dts +++ /dev/null @@ -1,156 +0,0 @@ -/* - * at91sam9m10g45ek.dts - Device Tree file for AT91SAM9M10G45-EK board - * - * Copyright (C) 2011 Atmel, - * 2011 Nicolas Ferre - * - * Licensed under GPLv2 or later. - */ -/dts-v1/; -/include/ "at91sam9g45.dtsi" - -/ { - model = "Atmel AT91SAM9M10G45-EK"; - compatible = "atmel,at91sam9m10g45ek", "atmel,at91sam9g45", "atmel,at91sam9"; - - chosen { - bootargs = "mem=64M console=ttyS0,115200 root=/dev/mtdblock1 rw rootfstype=jffs2"; - }; - - memory { - reg = <0x70000000 0x4000000>; - }; - - clocks { - #address-cells = <1>; - #size-cells = <1>; - ranges; - - main_clock: clock@0 { - compatible = "atmel,osc", "fixed-clock"; - clock-frequency = <12000000>; - }; - }; - - ahb { - apb { - dbgu: serial@ffffee00 { - status = "okay"; - }; - - usart1: serial@fff90000 { - status = "okay"; - }; - - macb0: ethernet@fffbc000 { - phy-mode = "rmii"; - status = "okay"; - }; - }; - - nand0: nand@40000000 { - nand-bus-width = <8>; - nand-ecc-mode = "soft"; - nand-on-flash-bbt; - status = "okay"; - - boot@0 { - label = "bootstrap/uboot/kernel"; - reg = <0x0 0x400000>; - }; - - rootfs@400000 { - label = "rootfs"; - reg = <0x400000 0x3C00000>; - }; - - data@4000000 { - label = "data"; - reg = <0x4000000 0xC000000>; - }; - }; - - usb0: ohci@00700000 { - status = "okay"; - num-ports = <2>; - atmel,vbus-gpio = <&pioD 1 1 - &pioD 3 1>; - }; - - usb1: ehci@00800000 { - status = "okay"; - }; - }; - - leds { - compatible = "gpio-leds"; - - d8 { - label = "d8"; - gpios = <&pioD 30 0>; - linux,default-trigger = "heartbeat"; - }; - - d6 { - label = "d6"; - gpios = <&pioD 0 1>; - linux,default-trigger = "nand-disk"; - }; - - d7 { - label = "d7"; - gpios = <&pioD 31 1>; - linux,default-trigger = "mmc0"; - }; - }; - - gpio_keys { - compatible = "gpio-keys"; - #address-cells = <1>; - #size-cells = <0>; - - left_click { - label = "left_click"; - gpios = <&pioB 6 1>; - linux,code = <272>; - gpio-key,wakeup; - }; - - right_click { - label = "right_click"; - gpios = <&pioB 7 1>; - linux,code = <273>; - gpio-key,wakeup; - }; - - left { - label = "Joystick Left"; - gpios = <&pioB 14 1>; - linux,code = <105>; - }; - - right { - label = "Joystick Right"; - gpios = <&pioB 15 1>; - linux,code = <106>; - }; - - up { - label = "Joystick Up"; - gpios = <&pioB 16 1>; - linux,code = <103>; - }; - - down { - label = "Joystick Down"; - gpios = <&pioB 17 1>; - linux,code = <108>; - }; - - enter { - label = "Joystick Press"; - gpios = <&pioB 18 1>; - linux,code = <28>; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/at91sam9x5.dtsi b/kernel/arch/arm/boot/dts/lte_module-v1/at91sam9x5.dtsi deleted file mode 100755 index dd4ed7484..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/at91sam9x5.dtsi +++ /dev/null @@ -1,263 +0,0 @@ -/* - * at91sam9x5.dtsi - Device Tree Include file for AT91SAM9x5 family SoC - * applies to AT91SAM9G15, AT91SAM9G25, AT91SAM9G35, - * AT91SAM9X25, AT91SAM9X35 SoC - * - * Copyright (C) 2012 Atmel, - * 2012 Nicolas Ferre - * - * Licensed under GPLv2 or later. - */ - -/include/ "skeleton.dtsi" - -/ { - model = "Atmel AT91SAM9x5 family SoC"; - compatible = "atmel,at91sam9x5"; - interrupt-parent = <&aic>; - - aliases { - serial0 = &dbgu; - serial1 = &usart0; - serial2 = &usart1; - serial3 = &usart2; - gpio0 = &pioA; - gpio1 = &pioB; - gpio2 = &pioC; - gpio3 = &pioD; - tcb0 = &tcb0; - tcb1 = &tcb1; - }; - cpus { - cpu@0 { - compatible = "arm,arm926ejs"; - }; - }; - - memory { - reg = <0x20000000 0x10000000>; - }; - - ahb { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - - apb { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - - aic: interrupt-controller@fffff000 { - #interrupt-cells = <2>; - compatible = "atmel,at91rm9200-aic"; - interrupt-controller; - reg = <0xfffff000 0x200>; - }; - - ramc0: ramc@ffffe800 { - compatible = "atmel,at91sam9g45-ddramc"; - reg = <0xffffe800 0x200>; - }; - - pmc: pmc@fffffc00 { - compatible = "atmel,at91rm9200-pmc"; - reg = <0xfffffc00 0x100>; - }; - - rstc@fffffe00 { - compatible = "atmel,at91sam9g45-rstc"; - reg = <0xfffffe00 0x10>; - }; - - shdwc@fffffe10 { - compatible = "atmel,at91sam9x5-shdwc"; - reg = <0xfffffe10 0x10>; - }; - - pit: timer@fffffe30 { - compatible = "atmel,at91sam9260-pit"; - reg = <0xfffffe30 0xf>; - interrupts = <1 4>; - }; - - tcb0: timer@f8008000 { - compatible = "atmel,at91sam9x5-tcb"; - reg = <0xf8008000 0x100>; - interrupts = <17 4>; - }; - - tcb1: timer@f800c000 { - compatible = "atmel,at91sam9x5-tcb"; - reg = <0xf800c000 0x100>; - interrupts = <17 4>; - }; - - dma0: dma-controller@ffffec00 { - compatible = "atmel,at91sam9g45-dma"; - reg = <0xffffec00 0x200>; - interrupts = <20 4>; - }; - - dma1: dma-controller@ffffee00 { - compatible = "atmel,at91sam9g45-dma"; - reg = <0xffffee00 0x200>; - interrupts = <21 4>; - }; - - pioA: gpio@fffff400 { - compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio"; - reg = <0xfffff400 0x100>; - interrupts = <2 4>; - #gpio-cells = <2>; - gpio-controller; - interrupt-controller; - }; - - pioB: gpio@fffff600 { - compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio"; - reg = <0xfffff600 0x100>; - interrupts = <2 4>; - #gpio-cells = <2>; - gpio-controller; - interrupt-controller; - }; - - pioC: gpio@fffff800 { - compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio"; - reg = <0xfffff800 0x100>; - interrupts = <3 4>; - #gpio-cells = <2>; - gpio-controller; - interrupt-controller; - }; - - pioD: gpio@fffffa00 { - compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio"; - reg = <0xfffffa00 0x100>; - interrupts = <3 4>; - #gpio-cells = <2>; - gpio-controller; - interrupt-controller; - }; - - dbgu: serial@fffff200 { - compatible = "atmel,at91sam9260-usart"; - reg = <0xfffff200 0x200>; - interrupts = <1 4>; - status = "disabled"; - }; - - usart0: serial@f801c000 { - compatible = "atmel,at91sam9260-usart"; - reg = <0xf801c000 0x200>; - interrupts = <5 4>; - atmel,use-dma-rx; - atmel,use-dma-tx; - status = "disabled"; - }; - - usart1: serial@f8020000 { - compatible = "atmel,at91sam9260-usart"; - reg = <0xf8020000 0x200>; - interrupts = <6 4>; - atmel,use-dma-rx; - atmel,use-dma-tx; - status = "disabled"; - }; - - usart2: serial@f8024000 { - compatible = "atmel,at91sam9260-usart"; - reg = <0xf8024000 0x200>; - interrupts = <7 4>; - atmel,use-dma-rx; - atmel,use-dma-tx; - status = "disabled"; - }; - - macb0: ethernet@f802c000 { - compatible = "cdns,at32ap7000-macb", "cdns,macb"; - reg = <0xf802c000 0x100>; - interrupts = <24 4>; - status = "disabled"; - }; - - macb1: ethernet@f8030000 { - compatible = "cdns,at32ap7000-macb", "cdns,macb"; - reg = <0xf8030000 0x100>; - interrupts = <27 4>; - status = "disabled"; - }; - }; - - nand0: nand@40000000 { - compatible = "atmel,at91rm9200-nand"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0x40000000 0x10000000 - >; - atmel,nand-addr-offset = <21>; - atmel,nand-cmd-offset = <22>; - gpios = <&pioD 5 0 - &pioD 4 0 - 0 - >; - status = "disabled"; - }; - - usb0: ohci@00600000 { - compatible = "atmel,at91rm9200-ohci", "usb-ohci"; - reg = <0x00600000 0x100000>; - interrupts = <22 4>; - status = "disabled"; - }; - - usb1: ehci@00700000 { - compatible = "atmel,at91sam9g45-ehci", "usb-ehci"; - reg = <0x00700000 0x100000>; - interrupts = <22 4>; - status = "disabled"; - }; - }; - - i2c@0 { - compatible = "i2c-gpio"; - gpios = <&pioA 30 0 /* sda */ - &pioA 31 0 /* scl */ - >; - i2c-gpio,sda-open-drain; - i2c-gpio,scl-open-drain; - i2c-gpio,delay-us = <2>; /* ~100 kHz */ - #address-cells = <1>; - #size-cells = <0>; - status = "disabled"; - }; - - i2c@1 { - compatible = "i2c-gpio"; - gpios = <&pioC 0 0 /* sda */ - &pioC 1 0 /* scl */ - >; - i2c-gpio,sda-open-drain; - i2c-gpio,scl-open-drain; - i2c-gpio,delay-us = <2>; /* ~100 kHz */ - #address-cells = <1>; - #size-cells = <0>; - status = "disabled"; - }; - - i2c@2 { - compatible = "i2c-gpio"; - gpios = <&pioB 4 0 /* sda */ - &pioB 5 0 /* scl */ - >; - i2c-gpio,sda-open-drain; - i2c-gpio,scl-open-drain; - i2c-gpio,delay-us = <2>; /* ~100 kHz */ - #address-cells = <1>; - #size-cells = <0>; - status = "disabled"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/at91sam9x5cm.dtsi b/kernel/arch/arm/boot/dts/lte_module-v1/at91sam9x5cm.dtsi deleted file mode 100755 index 31e7be237..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/at91sam9x5cm.dtsi +++ /dev/null @@ -1,74 +0,0 @@ -/* - * at91sam9x5cm.dtsi - Device Tree Include file for AT91SAM9x5 CPU Module - * - * Copyright (C) 2012 Atmel, - * 2012 Nicolas Ferre - * - * Licensed under GPLv2 or later. - */ - -/ { - memory { - reg = <0x20000000 0x8000000>; - }; - - clocks { - #address-cells = <1>; - #size-cells = <1>; - ranges; - - main_clock: clock@0 { - compatible = "atmel,osc", "fixed-clock"; - clock-frequency = <12000000>; - }; - }; - - ahb { - nand0: nand@40000000 { - nand-bus-width = <8>; - nand-ecc-mode = "soft"; - nand-on-flash-bbt; - status = "okay"; - - at91bootstrap@0 { - label = "at91bootstrap"; - reg = <0x0 0x40000>; - }; - - uboot@40000 { - label = "u-boot"; - reg = <0x40000 0x80000>; - }; - - ubootenv@c0000 { - label = "U-Boot Env"; - reg = <0xc0000 0x140000>; - }; - - kernel@200000 { - label = "kernel"; - reg = <0x200000 0x600000>; - }; - - rootfs@800000 { - label = "rootfs"; - reg = <0x800000 0x1f800000>; - }; - }; - }; - - leds { - compatible = "gpio-leds"; - - pb18 { - label = "pb18"; - gpios = <&pioB 18 1>; - linux,default-trigger = "heartbeat"; - }; - - pd21 { - label = "pd21"; - gpios = <&pioD 21 0>; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/db8500.dtsi b/kernel/arch/arm/boot/dts/lte_module-v1/db8500.dtsi deleted file mode 100755 index 14bc30705..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/db8500.dtsi +++ /dev/null @@ -1,274 +0,0 @@ -/* - * Copyright 2012 Linaro Ltd - * - * The code contained herein is licensed under the GNU General Public - * License. You may obtain a copy of the GNU General Public License - * Version 2 or later at the following locations: - * - * http://www.opensource.org/licenses/gpl-license.html - * http://www.gnu.org/copyleft/gpl.html - */ - -/include/ "skeleton.dtsi" - -/ { - soc-u9500 { - #address-cells = <1>; - #size-cells = <1>; - compatible = "stericsson,db8500"; - interrupt-parent = <&intc>; - ranges; - - intc: interrupt-controller@a0411000 { - compatible = "arm,cortex-a9-gic"; - #interrupt-cells = <3>; - #address-cells = <1>; - interrupt-controller; - reg = <0xa0411000 0x1000>, - <0xa0410100 0x100>; - }; - - L2: l2-cache { - compatible = "arm,pl310-cache"; - reg = <0xa0412000 0x1000>; - interrupts = <0 13 4>; - cache-unified; - cache-level = <2>; - }; - - pmu { - compatible = "arm,cortex-a9-pmu"; - interrupts = <0 7 0x4>; - }; - - timer@a0410600 { - compatible = "arm,cortex-a9-twd-timer"; - reg = <0xa0410600 0x20>; - interrupts = <1 13 0x304>; - }; - - rtc@80154000 { - compatible = "stericsson,db8500-rtc"; - reg = <0x80154000 0x1000>; - interrupts = <0 18 0x4>; - }; - - gpio0: gpio@8012e000 { - compatible = "stericsson,db8500-gpio", - "stmicroelectronics,nomadik-gpio"; - reg = <0x8012e000 0x80>; - interrupts = <0 119 0x4>; - supports-sleepmode; - gpio-controller; - }; - - gpio1: gpio@8012e080 { - compatible = "stericsson,db8500-gpio", - "stmicroelectronics,nomadik-gpio"; - reg = <0x8012e080 0x80>; - interrupts = <0 120 0x4>; - supports-sleepmode; - gpio-controller; - }; - - gpio2: gpio@8000e000 { - compatible = "stericsson,db8500-gpio", - "stmicroelectronics,nomadik-gpio"; - reg = <0x8000e000 0x80>; - interrupts = <0 121 0x4>; - supports-sleepmode; - gpio-controller; - }; - - gpio3: gpio@8000e080 { - compatible = "stericsson,db8500-gpio", - "stmicroelectronics,nomadik-gpio"; - reg = <0x8000e080 0x80>; - interrupts = <0 122 0x4>; - supports-sleepmode; - gpio-controller; - }; - - gpio4: gpio@8000e100 { - compatible = "stericsson,db8500-gpio", - "stmicroelectronics,nomadik-gpio"; - reg = <0x8000e100 0x80>; - interrupts = <0 123 0x4>; - supports-sleepmode; - gpio-controller; - }; - - gpio5: gpio@8000e180 { - compatible = "stericsson,db8500-gpio", - "stmicroelectronics,nomadik-gpio"; - reg = <0x8000e180 0x80>; - interrupts = <0 124 0x4>; - supports-sleepmode; - gpio-controller; - }; - - gpio6: gpio@8011e000 { - compatible = "stericsson,db8500-gpio", - "stmicroelectronics,nomadik-gpio"; - reg = <0x8011e000 0x80>; - interrupts = <0 125 0x4>; - supports-sleepmode; - gpio-controller; - }; - - gpio7: gpio@8011e080 { - compatible = "stericsson,db8500-gpio", - "stmicroelectronics,nomadik-gpio"; - reg = <0x8011e080 0x80>; - interrupts = <0 126 0x4>; - supports-sleepmode; - gpio-controller; - }; - - gpio8: gpio@a03fe000 { - compatible = "stericsson,db8500-gpio", - "stmicroelectronics,nomadik-gpio"; - reg = <0xa03fe000 0x80>; - interrupts = <0 127 0x4>; - supports-sleepmode; - gpio-controller; - }; - - usb@a03e0000 { - compatible = "stericsson,db8500-musb", - "mentor,musb"; - reg = <0xa03e0000 0x10000>; - interrupts = <0 23 0x4>; - }; - - dma-controller@801C0000 { - compatible = "stericsson,db8500-dma40", - "stericsson,dma40"; - reg = <0x801C0000 0x1000 0x40010000 0x800>; - interrupts = <0 25 0x4>; - }; - - prcmu@80157000 { - compatible = "stericsson,db8500-prcmu"; - reg = <0x80157000 0x1000>; - interrupts = <46 47>; - #address-cells = <1>; - #size-cells = <0>; - - ab8500@5 { - compatible = "stericsson,ab8500"; - reg = <5>; /* mailbox 5 is i2c */ - interrupts = <0 40 0x4>; - }; - }; - - i2c@80004000 { - compatible = "stericsson,db8500-i2c", "stmicroelectronics,nomadik-i2c"; - reg = <0x80004000 0x1000>; - interrupts = <0 21 0x4>; - #address-cells = <1>; - #size-cells = <0>; - }; - - i2c@80122000 { - compatible = "stericsson,db8500-i2c", "stmicroelectronics,nomadik-i2c"; - reg = <0x80122000 0x1000>; - interrupts = <0 22 0x4>; - #address-cells = <1>; - #size-cells = <0>; - }; - - i2c@80128000 { - compatible = "stericsson,db8500-i2c", "stmicroelectronics,nomadik-i2c"; - reg = <0x80128000 0x1000>; - interrupts = <0 55 0x4>; - #address-cells = <1>; - #size-cells = <0>; - }; - - i2c@80110000 { - compatible = "stericsson,db8500-i2c", "stmicroelectronics,nomadik-i2c"; - reg = <0x80110000 0x1000>; - interrupts = <0 12 0x4>; - #address-cells = <1>; - #size-cells = <0>; - }; - - i2c@8012a000 { - compatible = "stericsson,db8500-i2c", "stmicroelectronics,nomadik-i2c"; - reg = <0x8012a000 0x1000>; - interrupts = <0 51 0x4>; - #address-cells = <1>; - #size-cells = <0>; - }; - - ssp@80002000 { - compatible = "arm,pl022", "arm,primecell"; - reg = <80002000 0x1000>; - interrupts = <0 14 0x4>; - #address-cells = <1>; - #size-cells = <0>; - status = "disabled"; - - // Add one of these for each child device - cs-gpios = <&gpio0 31 &gpio4 14 &gpio4 16 &gpio6 22 &gpio7 0>; - - }; - - uart@80120000 { - compatible = "arm,pl011", "arm,primecell"; - reg = <0x80120000 0x1000>; - interrupts = <0 11 0x4>; - status = "disabled"; - }; - uart@80121000 { - compatible = "arm,pl011", "arm,primecell"; - reg = <0x80121000 0x1000>; - interrupts = <0 19 0x4>; - status = "disabled"; - }; - uart@80007000 { - compatible = "arm,pl011", "arm,primecell"; - reg = <0x80007000 0x1000>; - interrupts = <0 26 0x4>; - status = "disabled"; - }; - - sdi@80126000 { - compatible = "arm,pl18x", "arm,primecell"; - reg = <0x80126000 0x1000>; - interrupts = <0 60 0x4>; - status = "disabled"; - }; - sdi@80118000 { - compatible = "arm,pl18x", "arm,primecell"; - reg = <0x80118000 0x1000>; - interrupts = <0 50 0x4>; - status = "disabled"; - }; - sdi@80005000 { - compatible = "arm,pl18x", "arm,primecell"; - reg = <0x80005000 0x1000>; - interrupts = <0 41 0x4>; - status = "disabled"; - }; - sdi@80119000 { - compatible = "arm,pl18x", "arm,primecell"; - reg = <0x80119000 0x1000>; - interrupts = <0 59 0x4>; - status = "disabled"; - }; - sdi@80114000 { - compatible = "arm,pl18x", "arm,primecell"; - reg = <0x80114000 0x1000>; - interrupts = <0 99 0x4>; - status = "disabled"; - }; - sdi@80008000 { - compatible = "arm,pl18x", "arm,primecell"; - reg = <0x80114000 0x1000>; - interrupts = <0 100 0x4>; - status = "disabled"; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/dsi-panel-nt35590-720p-cmd.dtsi b/kernel/arch/arm/boot/dts/lte_module-v1/dsi-panel-nt35590-720p-cmd.dtsi deleted file mode 100755 index 7942567cc..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/dsi-panel-nt35590-720p-cmd.dtsi +++ /dev/null @@ -1,530 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/ { - qcom,mdss_dsi_nt35590_720p_cmd { - compatible = "qcom,mdss-dsi-panel"; - label = "nt35590 720p command mode dsi panel"; - status = "disable"; - qcom,dsi-ctrl-phandle = <&mdss_dsi0>; - qcom,rst-gpio = <&msmgpio 25 0>; - qcom,te-gpio = <&msmgpio 24 0>; - qcom,mdss-pan-res = <720 1280>; - qcom,mdss-pan-bpp = <24>; - qcom,mdss-pan-dest = "display_1"; - qcom,mdss-pan-porch-values = <164 8 140 1 1 6>; - qcom,mdss-pan-underflow-clr = <0xff>; - qcom,mdss-pan-bl-ctrl = "bl_ctrl_wled"; - qcom,mdss-pan-bl-levels = <1 4095>; - qcom,mdss-pan-dsi-mode = <1>; - qcom,mdss-vsync-enable = <1>; - qcom,mdss-hw-vsync-mode = <1>; - qcom,mdss-pan-dsi-h-pulse-mode = <1>; - qcom,mdss-pan-dsi-h-power-stop = <0 0 0>; - qcom,mdss-pan-dsi-bllp-power-stop = <1 1>; - qcom,mdss-pan-dsi-traffic-mode = <2>; - qcom,mdss-pan-dsi-dst-format = <8>; - qcom,mdss-pan-insert-dcs-cmd = <1>; - qcom,mdss-pan-wr-mem-continue = <0x3c>; - qcom,mdss-pan-wr-mem-start = <0x2c>; - qcom,mdss-pan-te-sel = <1>; - qcom,mdss-pan-dsi-vc = <0>; - qcom,mdss-pan-dsi-rgb-swap = <0>; - qcom,mdss-pan-dsi-data-lanes = <1 1 1 1>; /* 4 lanes */ - qcom,mdss-pan-dsi-dlane-swap = <0>; - qcom,mdss-pan-dsi-t-clk = <0x2c 0x20>; - qcom,mdss-pan-dsi-stream = <0>; - qcom,mdss-pan-dsi-mdp-tr = <0x0>; - qcom,mdss-pan-dsi-dma-tr = <0x04>; - qcom,mdss-pan-dsi-frame-rate = <60>; - qcom,panel-phy-regulatorSettings = [07 09 03 00 /* Regualotor settings */ - 20 00 01]; - qcom,panel-phy-timingSettings = [7d 25 1d 00 37 33 - 22 27 1e 03 04 00]; - qcom,panel-phy-strengthCtrl = [ff 06]; - qcom,panel-phy-bistCtrl = [00 00 b1 ff /* BIST Ctrl settings */ - 00 00]; - qcom,panel-phy-laneConfig = [00 00 00 00 00 00 00 01 97 /* lane0 config */ - 00 00 00 00 05 00 00 01 97 /* lane1 config */ - 00 00 00 00 0a 00 00 01 97 /* lane2 config */ - 00 00 00 00 0f 00 00 01 97 /* lane3 config */ - 00 c0 00 00 00 00 00 01 bb]; /* Clk ln config */ - qcom,panel-on-cmds = [29 01 00 00 00 02 FF EE - 29 01 00 00 00 02 26 08 - 29 01 00 00 00 02 26 00 - 29 01 00 00 10 02 FF 00 - 29 01 00 00 00 02 BA 03 - 29 01 00 00 00 02 C2 08 - 29 01 00 00 00 02 FF 01 - 29 01 00 00 00 02 FB 01 - 29 01 00 00 00 02 00 4A - 29 01 00 00 00 02 01 33 - 29 01 00 00 00 02 02 53 - 29 01 00 00 00 02 03 55 - 29 01 00 00 00 02 04 55 - 29 01 00 00 00 02 05 33 - 29 01 00 00 00 02 06 22 - 29 01 00 00 00 02 08 56 - 29 01 00 00 00 02 09 8F - 29 01 00 00 00 02 36 73 - 29 01 00 00 00 02 0B 9F - 29 01 00 00 00 02 0C 9F - 29 01 00 00 00 02 0D 2F - 29 01 00 00 00 02 0E 24 - 29 01 00 00 00 02 11 83 - 29 01 00 00 00 02 12 03 - 29 01 00 00 00 02 71 2C - 29 01 00 00 00 02 6F 03 - 29 01 00 00 00 02 0F 0A - 29 01 00 00 00 02 FF 05 - 29 01 00 00 00 02 FB 01 - 29 01 00 00 00 02 01 00 - 29 01 00 00 00 02 02 8B - 29 01 00 00 00 02 03 82 - 29 01 00 00 00 02 04 82 - 29 01 00 00 00 02 05 30 - 29 01 00 00 00 02 06 33 - 29 01 00 00 00 02 07 01 - 29 01 00 00 00 02 08 00 - 29 01 00 00 00 02 09 46 - 29 01 00 00 00 02 0A 46 - 29 01 00 00 00 02 0D 0B - 29 01 00 00 00 02 0E 1D - 29 01 00 00 00 02 0F 08 - 29 01 00 00 00 02 10 53 - 29 01 00 00 00 02 11 00 - 29 01 00 00 00 02 12 00 - 29 01 00 00 00 02 14 01 - 29 01 00 00 00 02 15 00 - 29 01 00 00 00 02 16 05 - 29 01 00 00 00 02 17 00 - 29 01 00 00 00 02 19 7F - 29 01 00 00 00 02 1A FF - 29 01 00 00 00 02 1B 0F - 29 01 00 00 00 02 1C 00 - 29 01 00 00 00 02 1D 00 - 29 01 00 00 00 02 1E 00 - 29 01 00 00 00 02 1F 07 - 29 01 00 00 00 02 20 00 - 29 01 00 00 00 02 21 06 - 29 01 00 00 00 02 22 55 - 29 01 00 00 00 02 23 4D - 29 01 00 00 00 02 2D 02 - 29 01 00 00 00 02 28 01 - 29 01 00 00 00 02 2F 02 - 29 01 00 00 00 02 83 01 - 29 01 00 00 00 02 9E 58 - 29 01 00 00 00 02 9F 6A - 29 01 00 00 00 02 A0 01 - 29 01 00 00 00 02 A2 10 - 29 01 00 00 00 02 BB 0A - 29 01 00 00 00 02 BC 0A - 29 01 00 00 00 02 32 08 - 29 01 00 00 00 02 33 B8 - 29 01 00 00 00 02 36 01 - 29 01 00 00 00 02 37 00 - 29 01 00 00 00 02 43 00 - 29 01 00 00 00 02 4B 21 - 29 01 00 00 00 02 4C 03 - 29 01 00 00 00 02 50 21 - 29 01 00 00 00 02 51 03 - 29 01 00 00 00 02 58 21 - 29 01 00 00 00 02 59 03 - 29 01 00 00 00 02 5D 21 - 29 01 00 00 00 02 5E 03 - 29 01 00 00 00 02 6C 00 - 29 01 00 00 00 02 6D 00 - 29 01 00 00 00 02 FB 01 - 29 01 00 00 00 02 FF 01 - 29 01 00 00 00 02 FB 01 - 29 01 00 00 00 02 75 00 - 29 01 00 00 00 02 76 7D - 29 01 00 00 00 02 77 00 - 29 01 00 00 00 02 78 8A - 29 01 00 00 00 02 79 00 - 29 01 00 00 00 02 7A 9C - 29 01 00 00 00 02 7B 00 - 29 01 00 00 00 02 7C B1 - 29 01 00 00 00 02 7D 00 - 29 01 00 00 00 02 7E BF - 29 01 00 00 00 02 7F 00 - 29 01 00 00 00 02 80 CF - 29 01 00 00 00 02 81 00 - 29 01 00 00 00 02 82 DD - 29 01 00 00 00 02 83 00 - 29 01 00 00 00 02 84 E8 - 29 01 00 00 00 02 85 00 - 29 01 00 00 00 02 86 F2 - 29 01 00 00 00 02 87 01 - 29 01 00 00 00 02 88 1F - 29 01 00 00 00 02 89 01 - 29 01 00 00 00 02 8A 41 - 29 01 00 00 00 02 8B 01 - 29 01 00 00 00 02 8C 78 - 29 01 00 00 00 02 8D 01 - 29 01 00 00 00 02 8E A5 - 29 01 00 00 00 02 8F 01 - 29 01 00 00 00 02 90 EE - 29 01 00 00 00 02 91 02 - 29 01 00 00 00 02 92 29 - 29 01 00 00 00 02 93 02 - 29 01 00 00 00 02 94 2A - 29 01 00 00 00 02 95 02 - 29 01 00 00 00 02 96 5D - 29 01 00 00 00 02 97 02 - 29 01 00 00 00 02 98 93 - 29 01 00 00 00 02 99 02 - 29 01 00 00 00 02 9A B8 - 29 01 00 00 00 02 9B 02 - 29 01 00 00 00 02 9C E7 - 29 01 00 00 00 02 9D 03 - 29 01 00 00 00 02 9E 07 - 29 01 00 00 00 02 9F 03 - 29 01 00 00 00 02 A0 37 - 29 01 00 00 00 02 A2 03 - 29 01 00 00 00 02 A3 46 - 29 01 00 00 00 02 A4 03 - 29 01 00 00 00 02 A5 56 - 29 01 00 00 00 02 A6 03 - 29 01 00 00 00 02 A7 66 - 29 01 00 00 00 02 A9 03 - 29 01 00 00 00 02 AA 7A - 29 01 00 00 00 02 AB 03 - 29 01 00 00 00 02 AC 93 - 29 01 00 00 00 02 AD 03 - 29 01 00 00 00 02 AE A3 - 29 01 00 00 00 02 AF 03 - 29 01 00 00 00 02 B0 B4 - 29 01 00 00 00 02 B1 03 - 29 01 00 00 00 02 B2 CB - 29 01 00 00 00 02 B3 00 - 29 01 00 00 00 02 B4 7D - 29 01 00 00 00 02 B5 00 - 29 01 00 00 00 02 B6 8A - 29 01 00 00 00 02 B7 00 - 29 01 00 00 00 02 B8 9C - 29 01 00 00 00 02 B9 00 - 29 01 00 00 00 02 BA B1 - 29 01 00 00 00 02 BB 00 - 29 01 00 00 00 02 BC BF - 29 01 00 00 00 02 BD 00 - 29 01 00 00 00 02 BE CF - 29 01 00 00 00 02 BF 00 - 29 01 00 00 00 02 C0 DD - 29 01 00 00 00 02 C1 00 - 29 01 00 00 00 02 C2 E8 - 29 01 00 00 00 02 C3 00 - 29 01 00 00 00 02 C4 F2 - 29 01 00 00 00 02 C5 01 - 29 01 00 00 00 02 C6 1F - 29 01 00 00 00 02 C7 01 - 29 01 00 00 00 02 C8 41 - 29 01 00 00 00 02 C9 01 - 29 01 00 00 00 02 CA 78 - 29 01 00 00 00 02 CB 01 - 29 01 00 00 00 02 CC A5 - 29 01 00 00 00 02 CD 01 - 29 01 00 00 00 02 CE EE - 29 01 00 00 00 02 CF 02 - 29 01 00 00 00 02 D0 29 - 29 01 00 00 00 02 D1 02 - 29 01 00 00 00 02 D2 2A - 29 01 00 00 00 02 D3 02 - 29 01 00 00 00 02 D4 5D - 29 01 00 00 00 02 D5 02 - 29 01 00 00 00 02 D6 93 - 29 01 00 00 00 02 D7 02 - 29 01 00 00 00 02 D8 B8 - 29 01 00 00 00 02 D9 02 - 29 01 00 00 00 02 DA E7 - 29 01 00 00 00 02 DB 03 - 29 01 00 00 00 02 DC 07 - 29 01 00 00 00 02 DD 03 - 29 01 00 00 00 02 DE 37 - 29 01 00 00 00 02 DF 03 - 29 01 00 00 00 02 E0 46 - 29 01 00 00 00 02 E1 03 - 29 01 00 00 00 02 E2 56 - 29 01 00 00 00 02 E3 03 - 29 01 00 00 00 02 E4 66 - 29 01 00 00 00 02 E5 03 - 29 01 00 00 00 02 E6 7A - 29 01 00 00 00 02 E7 03 - 29 01 00 00 00 02 E8 93 - 29 01 00 00 00 02 E9 03 - 29 01 00 00 00 02 EA A3 - 29 01 00 00 00 02 EB 03 - 29 01 00 00 00 02 EC B4 - 29 01 00 00 00 02 ED 03 - 29 01 00 00 00 02 EE CB - 29 01 00 00 00 02 EF 00 - 29 01 00 00 00 02 F0 ED - 29 01 00 00 00 02 F1 00 - 29 01 00 00 00 02 F2 F3 - 29 01 00 00 00 02 F3 00 - 29 01 00 00 00 02 F4 FE - 29 01 00 00 00 02 F5 01 - 29 01 00 00 00 02 F6 09 - 29 01 00 00 00 02 F7 01 - 29 01 00 00 00 02 F8 13 - 29 01 00 00 00 02 F9 01 - 29 01 00 00 00 02 FA 1D - 29 01 00 00 00 02 FF 02 - 29 01 00 00 00 02 FB 01 - 29 01 00 00 00 02 00 01 - 29 01 00 00 00 02 01 26 - 29 01 00 00 00 02 02 01 - 29 01 00 00 00 02 03 2F - 29 01 00 00 00 02 04 01 - 29 01 00 00 00 02 05 37 - 29 01 00 00 00 02 06 01 - 29 01 00 00 00 02 07 56 - 29 01 00 00 00 02 08 01 - 29 01 00 00 00 02 09 70 - 29 01 00 00 00 02 0A 01 - 29 01 00 00 00 02 0B 9D - 29 01 00 00 00 02 0C 01 - 29 01 00 00 00 02 0D C2 - 29 01 00 00 00 02 0E 01 - 29 01 00 00 00 02 0F FF - 29 01 00 00 00 02 10 02 - 29 01 00 00 00 02 11 31 - 29 01 00 00 00 02 12 02 - 29 01 00 00 00 02 13 32 - 29 01 00 00 00 02 14 02 - 29 01 00 00 00 02 15 60 - 29 01 00 00 00 02 16 02 - 29 01 00 00 00 02 17 94 - 29 01 00 00 00 02 18 02 - 29 01 00 00 00 02 19 B5 - 29 01 00 00 00 02 1A 02 - 29 01 00 00 00 02 1B E3 - 29 01 00 00 00 02 1C 03 - 29 01 00 00 00 02 1D 03 - 29 01 00 00 00 02 1E 03 - 29 01 00 00 00 02 1F 2D - 29 01 00 00 00 02 20 03 - 29 01 00 00 00 02 21 3A - 29 01 00 00 00 02 22 03 - 29 01 00 00 00 02 23 48 - 29 01 00 00 00 02 24 03 - 29 01 00 00 00 02 25 57 - 29 01 00 00 00 02 26 03 - 29 01 00 00 00 02 27 68 - 29 01 00 00 00 02 28 03 - 29 01 00 00 00 02 29 7B - 29 01 00 00 00 02 2A 03 - 29 01 00 00 00 02 2B 90 - 29 01 00 00 00 02 2D 03 - 29 01 00 00 00 02 2F A0 - 29 01 00 00 00 02 30 03 - 29 01 00 00 00 02 31 CB - 29 01 00 00 00 02 32 00 - 29 01 00 00 00 02 33 ED - 29 01 00 00 00 02 34 00 - 29 01 00 00 00 02 35 F3 - 29 01 00 00 00 02 36 00 - 29 01 00 00 00 02 37 FE - 29 01 00 00 00 02 38 01 - 29 01 00 00 00 02 39 09 - 29 01 00 00 00 02 3A 01 - 29 01 00 00 00 02 3B 13 - 29 01 00 00 00 02 3D 01 - 29 01 00 00 00 02 3F 1D - 29 01 00 00 00 02 40 01 - 29 01 00 00 00 02 41 26 - 29 01 00 00 00 02 42 01 - 29 01 00 00 00 02 43 2F - 29 01 00 00 00 02 44 01 - 29 01 00 00 00 02 45 37 - 29 01 00 00 00 02 46 01 - 29 01 00 00 00 02 47 56 - 29 01 00 00 00 02 48 01 - 29 01 00 00 00 02 49 70 - 29 01 00 00 00 02 4A 01 - 29 01 00 00 00 02 4B 9D - 29 01 00 00 00 02 4C 01 - 29 01 00 00 00 02 4D C2 - 29 01 00 00 00 02 4E 01 - 29 01 00 00 00 02 4F FF - 29 01 00 00 00 02 50 02 - 29 01 00 00 00 02 51 31 - 29 01 00 00 00 02 52 02 - 29 01 00 00 00 02 53 32 - 29 01 00 00 00 02 54 02 - 29 01 00 00 00 02 55 60 - 29 01 00 00 00 02 56 02 - 29 01 00 00 00 02 58 94 - 29 01 00 00 00 02 59 02 - 29 01 00 00 00 02 5A B5 - 29 01 00 00 00 02 5B 02 - 29 01 00 00 00 02 5C E3 - 29 01 00 00 00 02 5D 03 - 29 01 00 00 00 02 5E 03 - 29 01 00 00 00 02 5F 03 - 29 01 00 00 00 02 60 2D - 29 01 00 00 00 02 61 03 - 29 01 00 00 00 02 62 3A - 29 01 00 00 00 02 63 03 - 29 01 00 00 00 02 64 48 - 29 01 00 00 00 02 65 03 - 29 01 00 00 00 02 66 57 - 29 01 00 00 00 02 67 03 - 29 01 00 00 00 02 68 68 - 29 01 00 00 00 02 69 03 - 29 01 00 00 00 02 6A 7B - 29 01 00 00 00 02 6B 03 - 29 01 00 00 00 02 6C 90 - 29 01 00 00 00 02 6D 03 - 29 01 00 00 00 02 6E A0 - 29 01 00 00 00 02 6F 03 - 29 01 00 00 00 02 70 CB - 29 01 00 00 00 02 71 00 - 29 01 00 00 00 02 72 19 - 29 01 00 00 00 02 73 00 - 29 01 00 00 00 02 74 36 - 29 01 00 00 00 02 75 00 - 29 01 00 00 00 02 76 55 - 29 01 00 00 00 02 77 00 - 29 01 00 00 00 02 78 70 - 29 01 00 00 00 02 79 00 - 29 01 00 00 00 02 7A 83 - 29 01 00 00 00 02 7B 00 - 29 01 00 00 00 02 7C 99 - 29 01 00 00 00 02 7D 00 - 29 01 00 00 00 02 7E A8 - 29 01 00 00 00 02 7F 00 - 29 01 00 00 00 02 80 B7 - 29 01 00 00 00 02 81 00 - 29 01 00 00 00 02 82 C5 - 29 01 00 00 00 02 83 00 - 29 01 00 00 00 02 84 F7 - 29 01 00 00 00 02 85 01 - 29 01 00 00 00 02 86 1E - 29 01 00 00 00 02 87 01 - 29 01 00 00 00 02 88 60 - 29 01 00 00 00 02 89 01 - 29 01 00 00 00 02 8A 95 - 29 01 00 00 00 02 8B 01 - 29 01 00 00 00 02 8C E1 - 29 01 00 00 00 02 8D 02 - 29 01 00 00 00 02 8E 20 - 29 01 00 00 00 02 8F 02 - 29 01 00 00 00 02 90 23 - 29 01 00 00 00 02 91 02 - 29 01 00 00 00 02 92 59 - 29 01 00 00 00 02 93 02 - 29 01 00 00 00 02 94 94 - 29 01 00 00 00 02 95 02 - 29 01 00 00 00 02 96 B4 - 29 01 00 00 00 02 97 02 - 29 01 00 00 00 02 98 E1 - 29 01 00 00 00 02 99 03 - 29 01 00 00 00 02 9A 01 - 29 01 00 00 00 02 9B 03 - 29 01 00 00 00 02 9C 28 - 29 01 00 00 00 02 9D 03 - 29 01 00 00 00 02 9E 30 - 29 01 00 00 00 02 9F 03 - 29 01 00 00 00 02 A0 37 - 29 01 00 00 00 02 A2 03 - 29 01 00 00 00 02 A3 3B - 29 01 00 00 00 02 A4 03 - 29 01 00 00 00 02 A5 40 - 29 01 00 00 00 02 A6 03 - 29 01 00 00 00 02 A7 50 - 29 01 00 00 00 02 A9 03 - 29 01 00 00 00 02 AA 6D - 29 01 00 00 00 02 AB 03 - 29 01 00 00 00 02 AC 80 - 29 01 00 00 00 02 AD 03 - 29 01 00 00 00 02 AE CB - 29 01 00 00 00 02 AF 00 - 29 01 00 00 00 02 B0 19 - 29 01 00 00 00 02 B1 00 - 29 01 00 00 00 02 B2 36 - 29 01 00 00 00 02 B3 00 - 29 01 00 00 00 02 B4 55 - 29 01 00 00 00 02 B5 00 - 29 01 00 00 00 02 B6 70 - 29 01 00 00 00 02 B7 00 - 29 01 00 00 00 02 B8 83 - 29 01 00 00 00 02 B9 00 - 29 01 00 00 00 02 BA 99 - 29 01 00 00 00 02 BB 00 - 29 01 00 00 00 02 BC A8 - 29 01 00 00 00 02 BD 00 - 29 01 00 00 00 02 BE B7 - 29 01 00 00 00 02 BF 00 - 29 01 00 00 00 02 C0 C5 - 29 01 00 00 00 02 C1 00 - 29 01 00 00 00 02 C2 F7 - 29 01 00 00 00 02 C3 01 - 29 01 00 00 00 02 C4 1E - 29 01 00 00 00 02 C5 01 - 29 01 00 00 00 02 C6 60 - 29 01 00 00 00 02 C7 01 - 29 01 00 00 00 02 C8 95 - 29 01 00 00 00 02 C9 01 - 29 01 00 00 00 02 CA E1 - 29 01 00 00 00 02 CB 02 - 29 01 00 00 00 02 CC 20 - 29 01 00 00 00 02 CD 02 - 29 01 00 00 00 02 CE 23 - 29 01 00 00 00 02 CF 02 - 29 01 00 00 00 02 D0 59 - 29 01 00 00 00 02 D1 02 - 29 01 00 00 00 02 D2 94 - 29 01 00 00 00 02 D3 02 - 29 01 00 00 00 02 D4 B4 - 29 01 00 00 00 02 D5 02 - 29 01 00 00 00 02 D6 E1 - 29 01 00 00 00 02 D7 03 - 29 01 00 00 00 02 D8 01 - 29 01 00 00 00 02 D9 03 - 29 01 00 00 00 02 DA 28 - 29 01 00 00 00 02 DB 03 - 29 01 00 00 00 02 DC 30 - 29 01 00 00 00 02 DD 03 - 29 01 00 00 00 02 DE 37 - 29 01 00 00 00 02 DF 03 - 29 01 00 00 00 02 E0 3B - 29 01 00 00 00 02 E1 03 - 29 01 00 00 00 02 E2 40 - 29 01 00 00 00 02 E3 03 - 29 01 00 00 00 02 E4 50 - 29 01 00 00 00 02 E5 03 - 29 01 00 00 00 02 E6 6D - 29 01 00 00 00 02 E7 03 - 29 01 00 00 00 02 E8 80 - 29 01 00 00 00 02 E9 03 - 29 01 00 00 00 02 EA CB - 29 01 00 00 00 02 FF 01 - 29 01 00 00 00 02 FB 01 - 29 01 00 00 00 02 FF 02 - 29 01 00 00 00 02 FB 01 - 29 01 00 00 00 02 FF 04 - 29 01 00 00 00 02 FB 01 - 29 01 00 00 00 02 FF 00 - 29 01 00 00 64 02 11 00 - 29 01 00 00 00 02 FF EE - 29 01 00 00 00 02 12 50 - 29 01 00 00 00 02 13 02 - 29 01 00 00 00 02 6A 60 - 29 01 00 00 00 02 FF 00 - 29 01 00 00 78 02 29 00]; - qcom,on-cmds-dsi-state = "DSI_LP_MODE"; - qcom,panel-off-cmds = [05 01 00 00 32 02 28 00 - 05 01 00 00 78 02 10 00]; - qcom,off-cmds-dsi-state = "DSI_HS_MODE"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/dsi-panel-nt35590-720p-video.dtsi b/kernel/arch/arm/boot/dts/lte_module-v1/dsi-panel-nt35590-720p-video.dtsi deleted file mode 100755 index 7bc748d59..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/dsi-panel-nt35590-720p-video.dtsi +++ /dev/null @@ -1,524 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -&soc { - qcom,mdss_dsi_nt35590_720p_video { - compatible = "qcom,mdss-dsi-panel"; - label = "nt35590 720p video mode dsi panel"; - status = "disable"; - qcom,dsi-ctrl-phandle = <&mdss_dsi0>; - qcom,rst-gpio = <&msmgpio 25 0>; - qcom,mdss-pan-res = <720 1280>; - qcom,mdss-pan-bpp = <24>; - qcom,mdss-pan-dest = "display_1"; - qcom,mdss-pan-porch-values = <164 8 140 1 1 6>; - qcom,mdss-pan-underflow-clr = <0xff>; - qcom,mdss-pan-bl-ctrl = "bl_ctrl_wled"; - qcom,mdss-pan-bl-levels = <1 4095>; - qcom,mdss-pan-dsi-mode = <0>; - qcom,mdss-pan-dsi-h-pulse-mode = <1>; - qcom,mdss-pan-dsi-h-power-stop = <0 0 0>; - qcom,mdss-pan-dsi-bllp-power-stop = <1 1>; - qcom,mdss-pan-dsi-traffic-mode = <2>; - qcom,mdss-pan-dsi-dst-format = <3>; - qcom,mdss-pan-dsi-vc = <0>; - qcom,mdss-pan-dsi-rgb-swap = <0>; - qcom,mdss-pan-dsi-data-lanes = <1 1 1 1>; /* 4 lanes */ - qcom,mdss-pan-dsi-dlane-swap = <0>; - qcom,mdss-pan-dsi-t-clk = <0x2c 0x20>; - qcom,mdss-pan-dsi-stream = <0>; - qcom,mdss-pan-dsi-mdp-tr = <0x0>; - qcom,mdss-pan-dsi-dma-tr = <0x04>; - qcom,mdss-pan-dsi-frame-rate = <60>; - qcom,panel-phy-regulatorSettings = [07 09 03 00 /* Regualotor settings */ - 20 00 01]; - qcom,panel-phy-timingSettings = [7d 25 1d 00 37 33 - 22 27 1e 03 04 00]; - qcom,panel-phy-strengthCtrl = [ff 06]; - qcom,panel-phy-bistCtrl = [00 00 b1 ff /* BIST Ctrl settings */ - 00 00]; - qcom,panel-phy-laneConfig = [00 00 00 00 00 00 00 01 97 /* lane0 config */ - 00 00 00 00 05 00 00 01 97 /* lane1 config */ - 00 00 00 00 0a 00 00 01 97 /* lane2 config */ - 00 00 00 00 0f 00 00 01 97 /* lane3 config */ - 00 c0 00 00 00 00 00 01 bb]; /* Clk ln config */ - qcom,panel-on-cmds = [29 01 00 00 00 00 02 FF EE - 29 01 00 00 00 00 02 26 08 - 29 01 00 00 00 00 02 26 00 - 29 01 00 00 10 00 02 FF 00 - 29 01 00 00 00 00 02 BA 03 - 29 01 00 00 00 00 02 C2 03 - 29 01 00 00 00 00 02 FF 01 - 29 01 00 00 00 00 02 FB 01 - 29 01 00 00 00 00 02 00 4A - 29 01 00 00 00 00 02 01 33 - 29 01 00 00 00 00 02 02 53 - 29 01 00 00 00 00 02 03 55 - 29 01 00 00 00 00 02 04 55 - 29 01 00 00 00 00 02 05 33 - 29 01 00 00 00 00 02 06 22 - 29 01 00 00 00 00 02 08 56 - 29 01 00 00 00 00 02 09 8F - 29 01 00 00 00 00 02 36 73 - 29 01 00 00 00 00 02 0B 9F - 29 01 00 00 00 00 02 0C 9F - 29 01 00 00 00 00 02 0D 2F - 29 01 00 00 00 00 02 0E 24 - 29 01 00 00 00 00 02 11 83 - 29 01 00 00 00 00 02 12 03 - 29 01 00 00 00 00 02 71 2C - 29 01 00 00 00 00 02 6F 03 - 29 01 00 00 00 00 02 0F 0A - 29 01 00 00 00 00 02 FF 05 - 29 01 00 00 00 00 02 FB 01 - 29 01 00 00 00 00 02 01 00 - 29 01 00 00 00 00 02 02 8B - 29 01 00 00 00 00 02 03 82 - 29 01 00 00 00 00 02 04 82 - 29 01 00 00 00 00 02 05 30 - 29 01 00 00 00 00 02 06 33 - 29 01 00 00 00 00 02 07 01 - 29 01 00 00 00 00 02 08 00 - 29 01 00 00 00 00 02 09 46 - 29 01 00 00 00 00 02 0A 46 - 29 01 00 00 00 00 02 0D 0B - 29 01 00 00 00 00 02 0E 1D - 29 01 00 00 00 00 02 0F 08 - 29 01 00 00 00 00 02 10 53 - 29 01 00 00 00 00 02 11 00 - 29 01 00 00 00 00 02 12 00 - 29 01 00 00 00 00 02 14 01 - 29 01 00 00 00 00 02 15 00 - 29 01 00 00 00 00 02 16 05 - 29 01 00 00 00 00 02 17 00 - 29 01 00 00 00 00 02 19 7F - 29 01 00 00 00 00 02 1A FF - 29 01 00 00 00 00 02 1B 0F - 29 01 00 00 00 00 02 1C 00 - 29 01 00 00 00 00 02 1D 00 - 29 01 00 00 00 00 02 1E 00 - 29 01 00 00 00 00 02 1F 07 - 29 01 00 00 00 00 02 20 00 - 29 01 00 00 00 00 02 21 06 - 29 01 00 00 00 00 02 22 55 - 29 01 00 00 00 00 02 23 4D - 29 01 00 00 00 00 02 2D 02 - 29 01 00 00 00 00 02 28 01 - 29 01 00 00 00 00 02 2F 02 - 29 01 00 00 00 00 02 83 01 - 29 01 00 00 00 00 02 9E 58 - 29 01 00 00 00 00 02 9F 6A - 29 01 00 00 00 00 02 A0 01 - 29 01 00 00 00 00 02 A2 10 - 29 01 00 00 00 00 02 BB 0A - 29 01 00 00 00 00 02 BC 0A - 29 01 00 00 00 00 02 32 08 - 29 01 00 00 00 00 02 33 B8 - 29 01 00 00 00 00 02 36 01 - 29 01 00 00 00 00 02 37 00 - 29 01 00 00 00 00 02 43 00 - 29 01 00 00 00 00 02 4B 21 - 29 01 00 00 00 00 02 4C 03 - 29 01 00 00 00 00 02 50 21 - 29 01 00 00 00 00 02 51 03 - 29 01 00 00 00 00 02 58 21 - 29 01 00 00 00 00 02 59 03 - 29 01 00 00 00 00 02 5D 21 - 29 01 00 00 00 00 02 5E 03 - 29 01 00 00 00 00 02 6C 00 - 29 01 00 00 00 00 02 6D 00 - 29 01 00 00 00 00 02 FB 01 - 29 01 00 00 00 00 02 FF 01 - 29 01 00 00 00 00 02 FB 01 - 29 01 00 00 00 00 02 75 00 - 29 01 00 00 00 00 02 76 7D - 29 01 00 00 00 00 02 77 00 - 29 01 00 00 00 00 02 78 8A - 29 01 00 00 00 00 02 79 00 - 29 01 00 00 00 00 02 7A 9C - 29 01 00 00 00 00 02 7B 00 - 29 01 00 00 00 00 02 7C B1 - 29 01 00 00 00 00 02 7D 00 - 29 01 00 00 00 00 02 7E BF - 29 01 00 00 00 00 02 7F 00 - 29 01 00 00 00 00 02 80 CF - 29 01 00 00 00 00 02 81 00 - 29 01 00 00 00 00 02 82 DD - 29 01 00 00 00 00 02 83 00 - 29 01 00 00 00 00 02 84 E8 - 29 01 00 00 00 00 02 85 00 - 29 01 00 00 00 00 02 86 F2 - 29 01 00 00 00 00 02 87 01 - 29 01 00 00 00 00 02 88 1F - 29 01 00 00 00 00 02 89 01 - 29 01 00 00 00 00 02 8A 41 - 29 01 00 00 00 00 02 8B 01 - 29 01 00 00 00 00 02 8C 78 - 29 01 00 00 00 00 02 8D 01 - 29 01 00 00 00 00 02 8E A5 - 29 01 00 00 00 00 02 8F 01 - 29 01 00 00 00 00 02 90 EE - 29 01 00 00 00 00 02 91 02 - 29 01 00 00 00 00 02 92 29 - 29 01 00 00 00 00 02 93 02 - 29 01 00 00 00 00 02 94 2A - 29 01 00 00 00 00 02 95 02 - 29 01 00 00 00 00 02 96 5D - 29 01 00 00 00 00 02 97 02 - 29 01 00 00 00 00 02 98 93 - 29 01 00 00 00 00 02 99 02 - 29 01 00 00 00 00 02 9A B8 - 29 01 00 00 00 00 02 9B 02 - 29 01 00 00 00 00 02 9C E7 - 29 01 00 00 00 00 02 9D 03 - 29 01 00 00 00 00 02 9E 07 - 29 01 00 00 00 00 02 9F 03 - 29 01 00 00 00 00 02 A0 37 - 29 01 00 00 00 00 02 A2 03 - 29 01 00 00 00 00 02 A3 46 - 29 01 00 00 00 00 02 A4 03 - 29 01 00 00 00 00 02 A5 56 - 29 01 00 00 00 00 02 A6 03 - 29 01 00 00 00 00 02 A7 66 - 29 01 00 00 00 00 02 A9 03 - 29 01 00 00 00 00 02 AA 7A - 29 01 00 00 00 00 02 AB 03 - 29 01 00 00 00 00 02 AC 93 - 29 01 00 00 00 00 02 AD 03 - 29 01 00 00 00 00 02 AE A3 - 29 01 00 00 00 00 02 AF 03 - 29 01 00 00 00 00 02 B0 B4 - 29 01 00 00 00 00 02 B1 03 - 29 01 00 00 00 00 02 B2 CB - 29 01 00 00 00 00 02 B3 00 - 29 01 00 00 00 00 02 B4 7D - 29 01 00 00 00 00 02 B5 00 - 29 01 00 00 00 00 02 B6 8A - 29 01 00 00 00 00 02 B7 00 - 29 01 00 00 00 00 02 B8 9C - 29 01 00 00 00 00 02 B9 00 - 29 01 00 00 00 00 02 BA B1 - 29 01 00 00 00 00 02 BB 00 - 29 01 00 00 00 00 02 BC BF - 29 01 00 00 00 00 02 BD 00 - 29 01 00 00 00 00 02 BE CF - 29 01 00 00 00 00 02 BF 00 - 29 01 00 00 00 00 02 C0 DD - 29 01 00 00 00 00 02 C1 00 - 29 01 00 00 00 00 02 C2 E8 - 29 01 00 00 00 00 02 C3 00 - 29 01 00 00 00 00 02 C4 F2 - 29 01 00 00 00 00 02 C5 01 - 29 01 00 00 00 00 02 C6 1F - 29 01 00 00 00 00 02 C7 01 - 29 01 00 00 00 00 02 C8 41 - 29 01 00 00 00 00 02 C9 01 - 29 01 00 00 00 00 02 CA 78 - 29 01 00 00 00 00 02 CB 01 - 29 01 00 00 00 00 02 CC A5 - 29 01 00 00 00 00 02 CD 01 - 29 01 00 00 00 00 02 CE EE - 29 01 00 00 00 00 02 CF 02 - 29 01 00 00 00 00 02 D0 29 - 29 01 00 00 00 00 02 D1 02 - 29 01 00 00 00 00 02 D2 2A - 29 01 00 00 00 00 02 D3 02 - 29 01 00 00 00 00 02 D4 5D - 29 01 00 00 00 00 02 D5 02 - 29 01 00 00 00 00 02 D6 93 - 29 01 00 00 00 00 02 D7 02 - 29 01 00 00 00 00 02 D8 B8 - 29 01 00 00 00 00 02 D9 02 - 29 01 00 00 00 00 02 DA E7 - 29 01 00 00 00 00 02 DB 03 - 29 01 00 00 00 00 02 DC 07 - 29 01 00 00 00 00 02 DD 03 - 29 01 00 00 00 00 02 DE 37 - 29 01 00 00 00 00 02 DF 03 - 29 01 00 00 00 00 02 E0 46 - 29 01 00 00 00 00 02 E1 03 - 29 01 00 00 00 00 02 E2 56 - 29 01 00 00 00 00 02 E3 03 - 29 01 00 00 00 00 02 E4 66 - 29 01 00 00 00 00 02 E5 03 - 29 01 00 00 00 00 02 E6 7A - 29 01 00 00 00 00 02 E7 03 - 29 01 00 00 00 00 02 E8 93 - 29 01 00 00 00 00 02 E9 03 - 29 01 00 00 00 00 02 EA A3 - 29 01 00 00 00 00 02 EB 03 - 29 01 00 00 00 00 02 EC B4 - 29 01 00 00 00 00 02 ED 03 - 29 01 00 00 00 00 02 EE CB - 29 01 00 00 00 00 02 EF 00 - 29 01 00 00 00 00 02 F0 ED - 29 01 00 00 00 00 02 F1 00 - 29 01 00 00 00 00 02 F2 F3 - 29 01 00 00 00 00 02 F3 00 - 29 01 00 00 00 00 02 F4 FE - 29 01 00 00 00 00 02 F5 01 - 29 01 00 00 00 00 02 F6 09 - 29 01 00 00 00 00 02 F7 01 - 29 01 00 00 00 00 02 F8 13 - 29 01 00 00 00 00 02 F9 01 - 29 01 00 00 00 00 02 FA 1D - 29 01 00 00 00 00 02 FF 02 - 29 01 00 00 00 00 02 FB 01 - 29 01 00 00 00 00 02 00 01 - 29 01 00 00 00 00 02 01 26 - 29 01 00 00 00 00 02 02 01 - 29 01 00 00 00 00 02 03 2F - 29 01 00 00 00 00 02 04 01 - 29 01 00 00 00 00 02 05 37 - 29 01 00 00 00 00 02 06 01 - 29 01 00 00 00 00 02 07 56 - 29 01 00 00 00 00 02 08 01 - 29 01 00 00 00 00 02 09 70 - 29 01 00 00 00 00 02 0A 01 - 29 01 00 00 00 00 02 0B 9D - 29 01 00 00 00 00 02 0C 01 - 29 01 00 00 00 00 02 0D C2 - 29 01 00 00 00 00 02 0E 01 - 29 01 00 00 00 00 02 0F FF - 29 01 00 00 00 00 02 10 02 - 29 01 00 00 00 00 02 11 31 - 29 01 00 00 00 00 02 12 02 - 29 01 00 00 00 00 02 13 32 - 29 01 00 00 00 00 02 14 02 - 29 01 00 00 00 00 02 15 60 - 29 01 00 00 00 00 02 16 02 - 29 01 00 00 00 00 02 17 94 - 29 01 00 00 00 00 02 18 02 - 29 01 00 00 00 00 02 19 B5 - 29 01 00 00 00 00 02 1A 02 - 29 01 00 00 00 00 02 1B E3 - 29 01 00 00 00 00 02 1C 03 - 29 01 00 00 00 00 02 1D 03 - 29 01 00 00 00 00 02 1E 03 - 29 01 00 00 00 00 02 1F 2D - 29 01 00 00 00 00 02 20 03 - 29 01 00 00 00 00 02 21 3A - 29 01 00 00 00 00 02 22 03 - 29 01 00 00 00 00 02 23 48 - 29 01 00 00 00 00 02 24 03 - 29 01 00 00 00 00 02 25 57 - 29 01 00 00 00 00 02 26 03 - 29 01 00 00 00 00 02 27 68 - 29 01 00 00 00 00 02 28 03 - 29 01 00 00 00 00 02 29 7B - 29 01 00 00 00 00 02 2A 03 - 29 01 00 00 00 00 02 2B 90 - 29 01 00 00 00 00 02 2D 03 - 29 01 00 00 00 00 02 2F A0 - 29 01 00 00 00 00 02 30 03 - 29 01 00 00 00 00 02 31 CB - 29 01 00 00 00 00 02 32 00 - 29 01 00 00 00 00 02 33 ED - 29 01 00 00 00 00 02 34 00 - 29 01 00 00 00 00 02 35 F3 - 29 01 00 00 00 00 02 36 00 - 29 01 00 00 00 00 02 37 FE - 29 01 00 00 00 00 02 38 01 - 29 01 00 00 00 00 02 39 09 - 29 01 00 00 00 00 02 3A 01 - 29 01 00 00 00 00 02 3B 13 - 29 01 00 00 00 00 02 3D 01 - 29 01 00 00 00 00 02 3F 1D - 29 01 00 00 00 00 02 40 01 - 29 01 00 00 00 00 02 41 26 - 29 01 00 00 00 00 02 42 01 - 29 01 00 00 00 00 02 43 2F - 29 01 00 00 00 00 02 44 01 - 29 01 00 00 00 00 02 45 37 - 29 01 00 00 00 00 02 46 01 - 29 01 00 00 00 00 02 47 56 - 29 01 00 00 00 00 02 48 01 - 29 01 00 00 00 00 02 49 70 - 29 01 00 00 00 00 02 4A 01 - 29 01 00 00 00 00 02 4B 9D - 29 01 00 00 00 00 02 4C 01 - 29 01 00 00 00 00 02 4D C2 - 29 01 00 00 00 00 02 4E 01 - 29 01 00 00 00 00 02 4F FF - 29 01 00 00 00 00 02 50 02 - 29 01 00 00 00 00 02 51 31 - 29 01 00 00 00 00 02 52 02 - 29 01 00 00 00 00 02 53 32 - 29 01 00 00 00 00 02 54 02 - 29 01 00 00 00 00 02 55 60 - 29 01 00 00 00 00 02 56 02 - 29 01 00 00 00 00 02 58 94 - 29 01 00 00 00 00 02 59 02 - 29 01 00 00 00 00 02 5A B5 - 29 01 00 00 00 00 02 5B 02 - 29 01 00 00 00 00 02 5C E3 - 29 01 00 00 00 00 02 5D 03 - 29 01 00 00 00 00 02 5E 03 - 29 01 00 00 00 00 02 5F 03 - 29 01 00 00 00 00 02 60 2D - 29 01 00 00 00 00 02 61 03 - 29 01 00 00 00 00 02 62 3A - 29 01 00 00 00 00 02 63 03 - 29 01 00 00 00 00 02 64 48 - 29 01 00 00 00 00 02 65 03 - 29 01 00 00 00 00 02 66 57 - 29 01 00 00 00 00 02 67 03 - 29 01 00 00 00 00 02 68 68 - 29 01 00 00 00 00 02 69 03 - 29 01 00 00 00 00 02 6A 7B - 29 01 00 00 00 00 02 6B 03 - 29 01 00 00 00 00 02 6C 90 - 29 01 00 00 00 00 02 6D 03 - 29 01 00 00 00 00 02 6E A0 - 29 01 00 00 00 00 02 6F 03 - 29 01 00 00 00 00 02 70 CB - 29 01 00 00 00 00 02 71 00 - 29 01 00 00 00 00 02 72 19 - 29 01 00 00 00 00 02 73 00 - 29 01 00 00 00 00 02 74 36 - 29 01 00 00 00 00 02 75 00 - 29 01 00 00 00 00 02 76 55 - 29 01 00 00 00 00 02 77 00 - 29 01 00 00 00 00 02 78 70 - 29 01 00 00 00 00 02 79 00 - 29 01 00 00 00 00 02 7A 83 - 29 01 00 00 00 00 02 7B 00 - 29 01 00 00 00 00 02 7C 99 - 29 01 00 00 00 00 02 7D 00 - 29 01 00 00 00 00 02 7E A8 - 29 01 00 00 00 00 02 7F 00 - 29 01 00 00 00 00 02 80 B7 - 29 01 00 00 00 00 02 81 00 - 29 01 00 00 00 00 02 82 C5 - 29 01 00 00 00 00 02 83 00 - 29 01 00 00 00 00 02 84 F7 - 29 01 00 00 00 00 02 85 01 - 29 01 00 00 00 00 02 86 1E - 29 01 00 00 00 00 02 87 01 - 29 01 00 00 00 00 02 88 60 - 29 01 00 00 00 00 02 89 01 - 29 01 00 00 00 00 02 8A 95 - 29 01 00 00 00 00 02 8B 01 - 29 01 00 00 00 00 02 8C E1 - 29 01 00 00 00 00 02 8D 02 - 29 01 00 00 00 00 02 8E 20 - 29 01 00 00 00 00 02 8F 02 - 29 01 00 00 00 00 02 90 23 - 29 01 00 00 00 00 02 91 02 - 29 01 00 00 00 00 02 92 59 - 29 01 00 00 00 00 02 93 02 - 29 01 00 00 00 00 02 94 94 - 29 01 00 00 00 00 02 95 02 - 29 01 00 00 00 00 02 96 B4 - 29 01 00 00 00 00 02 97 02 - 29 01 00 00 00 00 02 98 E1 - 29 01 00 00 00 00 02 99 03 - 29 01 00 00 00 00 02 9A 01 - 29 01 00 00 00 00 02 9B 03 - 29 01 00 00 00 00 02 9C 28 - 29 01 00 00 00 00 02 9D 03 - 29 01 00 00 00 00 02 9E 30 - 29 01 00 00 00 00 02 9F 03 - 29 01 00 00 00 00 02 A0 37 - 29 01 00 00 00 00 02 A2 03 - 29 01 00 00 00 00 02 A3 3B - 29 01 00 00 00 00 02 A4 03 - 29 01 00 00 00 00 02 A5 40 - 29 01 00 00 00 00 02 A6 03 - 29 01 00 00 00 00 02 A7 50 - 29 01 00 00 00 00 02 A9 03 - 29 01 00 00 00 00 02 AA 6D - 29 01 00 00 00 00 02 AB 03 - 29 01 00 00 00 00 02 AC 80 - 29 01 00 00 00 00 02 AD 03 - 29 01 00 00 00 00 02 AE CB - 29 01 00 00 00 00 02 AF 00 - 29 01 00 00 00 00 02 B0 19 - 29 01 00 00 00 00 02 B1 00 - 29 01 00 00 00 00 02 B2 36 - 29 01 00 00 00 00 02 B3 00 - 29 01 00 00 00 00 02 B4 55 - 29 01 00 00 00 00 02 B5 00 - 29 01 00 00 00 00 02 B6 70 - 29 01 00 00 00 00 02 B7 00 - 29 01 00 00 00 00 02 B8 83 - 29 01 00 00 00 00 02 B9 00 - 29 01 00 00 00 00 02 BA 99 - 29 01 00 00 00 00 02 BB 00 - 29 01 00 00 00 00 02 BC A8 - 29 01 00 00 00 00 02 BD 00 - 29 01 00 00 00 00 02 BE B7 - 29 01 00 00 00 00 02 BF 00 - 29 01 00 00 00 00 02 C0 C5 - 29 01 00 00 00 00 02 C1 00 - 29 01 00 00 00 00 02 C2 F7 - 29 01 00 00 00 00 02 C3 01 - 29 01 00 00 00 00 02 C4 1E - 29 01 00 00 00 00 02 C5 01 - 29 01 00 00 00 00 02 C6 60 - 29 01 00 00 00 00 02 C7 01 - 29 01 00 00 00 00 02 C8 95 - 29 01 00 00 00 00 02 C9 01 - 29 01 00 00 00 00 02 CA E1 - 29 01 00 00 00 00 02 CB 02 - 29 01 00 00 00 00 02 CC 20 - 29 01 00 00 00 00 02 CD 02 - 29 01 00 00 00 00 02 CE 23 - 29 01 00 00 00 00 02 CF 02 - 29 01 00 00 00 00 02 D0 59 - 29 01 00 00 00 00 02 D1 02 - 29 01 00 00 00 00 02 D2 94 - 29 01 00 00 00 00 02 D3 02 - 29 01 00 00 00 00 02 D4 B4 - 29 01 00 00 00 00 02 D5 02 - 29 01 00 00 00 00 02 D6 E1 - 29 01 00 00 00 00 02 D7 03 - 29 01 00 00 00 00 02 D8 01 - 29 01 00 00 00 00 02 D9 03 - 29 01 00 00 00 00 02 DA 28 - 29 01 00 00 00 00 02 DB 03 - 29 01 00 00 00 00 02 DC 30 - 29 01 00 00 00 00 02 DD 03 - 29 01 00 00 00 00 02 DE 37 - 29 01 00 00 00 00 02 DF 03 - 29 01 00 00 00 00 02 E0 3B - 29 01 00 00 00 00 02 E1 03 - 29 01 00 00 00 00 02 E2 40 - 29 01 00 00 00 00 02 E3 03 - 29 01 00 00 00 00 02 E4 50 - 29 01 00 00 00 00 02 E5 03 - 29 01 00 00 00 00 02 E6 6D - 29 01 00 00 00 00 02 E7 03 - 29 01 00 00 00 00 02 E8 80 - 29 01 00 00 00 00 02 E9 03 - 29 01 00 00 00 00 02 EA CB - 29 01 00 00 00 00 02 FF 01 - 29 01 00 00 00 00 02 FB 01 - 29 01 00 00 00 00 02 FF 02 - 29 01 00 00 00 00 02 FB 01 - 29 01 00 00 00 00 02 FF 04 - 29 01 00 00 00 00 02 FB 01 - 29 01 00 00 00 00 02 FF 00 - 29 01 00 00 64 00 02 11 00 - 29 01 00 00 00 00 02 FF EE - 29 01 00 00 00 00 02 12 50 - 29 01 00 00 00 00 02 13 02 - 29 01 00 00 00 00 02 6A 60 - 29 01 00 00 00 00 02 FF 00 - 29 01 00 00 78 00 02 29 00]; - - qcom,on-cmds-dsi-state = "DSI_LP_MODE"; - qcom,panel-off-cmds = [05 01 00 00 32 00 02 28 00 - 05 01 00 00 78 00 02 10 00]; - qcom,off-cmds-dsi-state = "DSI_HS_MODE"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/dsi-panel-orise-720p-video.dtsi b/kernel/arch/arm/boot/dts/lte_module-v1/dsi-panel-orise-720p-video.dtsi deleted file mode 100755 index 478541fb1..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/dsi-panel-orise-720p-video.dtsi +++ /dev/null @@ -1,60 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -&soc { - qcom,mdss_dsi_orise_720p_video { - compatible = "qcom,mdss-dsi-panel"; - label = "orise 720p video mode dsi panel"; - status = "disable"; - qcom,dsi-ctrl-phandle = <&mdss_dsi1>; - qcom,mdss-pan-res = <720 1280>; - qcom,mdss-pan-bpp = <24>; - qcom,mdss-pan-dest = "display_2"; - qcom,mdss-pan-porch-values = <32 12 144 3 4 9>; - qcom,mdss-pan-underflow-clr = <0xff>; - qcom,mdss-pan-bl-levels = <1 255>; - qcom,mdss-pan-dsi-mode = <0>; - qcom,mdss-pan-dsi-h-pulse-mode = <0>; - qcom,mdss-pan-dsi-h-power-stop = <0 0 0>; - qcom,mdss-pan-dsi-bllp-power-stop = <1 1>; - qcom,mdss-pan-dsi-traffic-mode = <1>; - qcom,mdss-pan-dsi-dst-format = <3>; - qcom,mdss-pan-dsi-vc = <0>; - qcom,mdss-pan-dsi-rgb-swap = <0>; - qcom,mdss-pan-dsi-data-lanes = <1 1 1 1>; - qcom,mdss-pan-dsi-dlane-swap = <0>; - qcom,mdss-pan-dsi-t-clk = <0x1b 0x04>; - qcom,mdss-pan-dsi-stream = <0>; - qcom,mdss-pan-dsi-mdp-tr = <0x0>; - qcom,mdss-pan-dsi-dma-tr = <0x04>; - qcom,mdss-pan-dsi-frame-rate = <60>; - qcom,panel-phy-regulatorSettings = [03 01 01 00 /* Regualotor settings */ - 20 00 01]; - qcom,panel-phy-timingSettings = [69 29 1f 00 55 55 - 19 2a 2a 03 04 00]; - qcom,panel-phy-strengthCtrl = [77 06]; - qcom,panel-phy-bistCtrl = [00 00 b1 ff /* BIST Ctrl settings */ - 00 00]; - qcom,panel-phy-laneConfig = [00 c2 45 00 00 00 00 01 75 /* lane0 config */ - 00 c2 45 00 00 00 00 01 75 /* lane1 config */ - 00 c2 45 00 00 00 00 01 75 /* lane2 config */ - 00 c2 45 00 00 00 00 01 75 /* lane3 config */ - 00 02 45 00 00 00 00 01 97]; /* Clk ln config */ - - qcom,panel-on-cmds = [05 01 00 00 78 00 02 11 00 - 05 01 00 00 78 00 02 29 00]; - qcom,on-cmds-dsi-state = "DSI_LP_MODE"; - qcom,panel-off-cmds = [05 01 00 00 32 00 02 28 00 - 05 01 00 00 78 00 02 10 00]; - qcom,off-cmds-dsi-state = "DSI_LP_MODE"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/dsi-panel-sharp-qhd-video.dtsi b/kernel/arch/arm/boot/dts/lte_module-v1/dsi-panel-sharp-qhd-video.dtsi deleted file mode 100755 index 45d396cdc..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/dsi-panel-sharp-qhd-video.dtsi +++ /dev/null @@ -1,67 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -&soc { - qcom,mdss_dsi_sharp_qhd_video { - compatible = "qcom,mdss-dsi-panel"; - label = "sharp QHD LS043T1LE01 video mode dsi panel"; - status = "disable"; - qcom,dsi-ctrl-phandle = <&mdss_dsi0>; - qcom,enable-gpio = <&msmgpio 58 0>; - qcom,rst-gpio = <&pm8941_gpios 19 0>; - qcom,mdss-pan-res = <540 960>; - qcom,mdss-pan-bpp = <24>; - qcom,mdss-pan-dest = "display_1"; - qcom,mdss-pan-porch-values = <80 32 48 15 10 3>; /* HBP, HPW, HFP, VBP, VPW, VFP */ - qcom,mdss-pan-underflow-clr = <0xff>; - qcom,mdss-pan-bl-ctrl = "bl_ctrl_wled"; - qcom,mdss-pan-bl-levels = <1 4095>; - qcom,mdss-pan-dsi-mode = <0>; - qcom,mdss-pan-dsi-h-pulse-mode = <1>; - qcom,mdss-pan-dsi-h-power-stop = <0 0 0>; - qcom,mdss-pan-dsi-bllp-power-stop = <1 1>; - qcom,mdss-pan-dsi-traffic-mode = <0>; - qcom,mdss-pan-dsi-dst-format = <3>; - qcom,mdss-pan-dsi-vc = <0>; - qcom,mdss-pan-dsi-rgb-swap = <2>; - qcom,mdss-pan-dsi-data-lanes = <1 1 0 0>; - qcom,mdss-pan-dsi-dlane-swap = <0>; - qcom,mdss-pan-dsi-t-clk = <0x1c 0x04>; - qcom,mdss-pan-dsi-stream = <0>; - qcom,mdss-pan-dsi-mdp-tr = <0x04>; - qcom,mdss-pan-dsi-dma-tr = <0x04>; - qcom,mdss-pan-frame-rate = <60>; - qcom,panel-phy-regulatorSettings = [07 09 03 00 /* Regulator settings */ - 20 00 01]; - qcom,panel-phy-timingSettings = [46 1d 20 00 39 3a - 21 21 32 03 04 00]; - qcom,panel-phy-strengthCtrl = [ff 06]; - qcom,panel-phy-bistCtrl = [00 00 b1 ff /* BIST Ctrl settings */ - 00 00]; - qcom,panel-phy-laneConfig = [00 00 00 00 00 00 00 01 97 /* lane0 config */ - 00 00 00 00 05 00 00 01 97 /* lane1 config */ - 00 00 00 00 0a 00 00 01 97 /* lane2 config */ - 00 00 00 00 0f 00 00 01 97 /* lane3 config */ - 00 c0 00 00 00 00 00 01 bb]; /* Clk ln config */ - qcom,panel-on-cmds = [05 01 00 00 32 00 02 01 00 /* sw reset */ - 05 01 00 00 0a 00 02 11 00 /* exit sleep */ - 15 01 00 00 0a 00 02 53 2c /* backlight on */ - 15 01 00 00 0a 00 02 51 ff /* brightness max */ - 05 01 00 00 0a 00 02 29 00 /* display on */ - 15 01 00 00 0a 00 02 ae 03 /* set num of lanes */ - 15 01 00 00 0a 00 02 3a 77 /* rgb_888 */]; - qcom,on-cmds-dsi-state = "DSI_LP_MODE"; - qcom,panel-off-cmds = [05 01 00 00 0a 00 02 28 00 /* display off */ - 05 01 00 00 78 00 02 10 00 /* enter sleep */]; - qcom,off-cmds-dsi-state = "DSI_HS_MODE"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/dsi-panel-sim-video.dtsi b/kernel/arch/arm/boot/dts/lte_module-v1/dsi-panel-sim-video.dtsi deleted file mode 100755 index 271e37316..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/dsi-panel-sim-video.dtsi +++ /dev/null @@ -1,46 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&soc { - - qcom,mdss_dsi_sim_video { - compatible = "qcom,mdss-dsi-panel"; - label = "simulator video mode dsi panel"; - status = "disable"; - qcom,dsi-ctrl-phandle = <&mdss_dsi0>; - qcom,mdss-pan-res = <640 480>; - qcom,mdss-pan-bpp = <24>; - qcom,mdss-pan-dest = "display_1"; - qcom,mdss-pan-porch-values = <6 2 6 6 2 6>; - qcom,mdss-pan-underflow-clr = <0xff>; - qcom,mdss-pan-bl-levels = <1 15>; - qcom,mdss-pan-dsi-mode = <0>; - qcom,mdss-pan-dsi-h-pulse-mode = <1>; - qcom,mdss-pan-dsi-h-power-stop = <1 1 1>; - qcom,mdss-pan-dsi-bllp-power-stop = <1 1>; - qcom,mdss-pan-dsi-traffic-mode = <0>; - qcom,mdss-pan-dsi-dst-format = <3>; - qcom,mdss-pan-dsi-vc = <0>; - qcom,mdss-pan-dsi-rgb-swap = <0>; - qcom,mdss-pan-dsi-data-lanes = <1 1 0 0>; - qcom,mdss-pan-dsi-dlane-swap = <0>; - qcom,mdss-pan-dsi-t-clk = <0x24 0x03>; - qcom,mdss-pan-dsi-stream = <0>; - qcom,mdss-pan-dsi-mdp-tr = <0x04>; - qcom,mdss-pan-dsi-dma-tr = <0x04>; - qcom,mdss-pan-dsi-frame-rate = <60>; - qcom,panel-on-cmds = [32 01 00 00 00 00 02 00 00]; - qcom,on-cmds-dsi-state = "DSI_LP_MODE"; - qcom,panel-off-cmds = [22 01 00 00 00 00 02 00 00]; - qcom,off-cmds-dsi-state = "DSI_LP_MODE"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/dsi-panel-toshiba-720p-video.dtsi b/kernel/arch/arm/boot/dts/lte_module-v1/dsi-panel-toshiba-720p-video.dtsi deleted file mode 100755 index 5c37cf8dc..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/dsi-panel-toshiba-720p-video.dtsi +++ /dev/null @@ -1,124 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&soc { - - qcom,mdss_dsi_toshiba_720p_video { - compatible = "qcom,mdss-dsi-panel"; - label = "toshiba 720p video mode dsi panel"; - status = "disable"; - qcom,dsi-ctrl-phandle = <&mdss_dsi0>; - qcom,enable-gpio = <&msmgpio 58 0>; - qcom,rst-gpio = <&pm8941_gpios 19 0>; - qcom,mdss-pan-res = <720 1280>; - qcom,mdss-pan-bpp = <24>; - qcom,mdss-pan-dest = "display_1"; - qcom,mdss-pan-porch-values = <32 12 144 3 4 9>; - qcom,mdss-pan-underflow-clr = <0xff>; - qcom,mdss-pan-bl-ctrl = "bl_ctrl_wled"; - qcom,mdss-pan-bl-levels = <1 4095>; - qcom,mdss-pan-dsi-mode = <0>; - qcom,mdss-pan-dsi-h-pulse-mode = <0>; - qcom,mdss-pan-dsi-h-power-stop = <0 0 0>; - qcom,mdss-pan-dsi-bllp-power-stop = <1 1>; - qcom,mdss-pan-dsi-traffic-mode = <1>; - qcom,mdss-pan-dsi-dst-format = <3>; - qcom,mdss-pan-dsi-vc = <0>; - qcom,mdss-pan-dsi-rgb-swap = <0>; - qcom,mdss-pan-dsi-data-lanes = <1 1 1 1>; - qcom,mdss-pan-dsi-dlane-swap = <0>; - qcom,mdss-pan-dsi-t-clk = <0x1b 0x04>; - qcom,mdss-pan-dsi-stream = <0>; - qcom,mdss-pan-dsi-mdp-tr = <0x0>; - qcom,mdss-pan-dsi-dma-tr = <0x04>; - qcom,mdss-pan-dsi-frame-rate = <60>; - qcom,panel-phy-regulatorSettings = [07 09 03 00 /* Regualotor settings */ - 20 00 01]; - qcom,panel-phy-timingSettings = [b0 23 1b 00 94 93 - 1e 25 15 03 04 00]; - qcom,panel-phy-strengthCtrl = [ff 06]; - qcom,panel-phy-bistCtrl = [00 00 b1 ff /* BIST Ctrl settings */ - 00 00]; - qcom,panel-phy-laneConfig = [00 00 00 00 00 00 00 01 97 /* lane0 config */ - 00 00 00 00 05 00 00 01 97 /* lane1 config */ - 00 00 00 00 0a 00 00 01 97 /* lane2 config */ - 00 00 00 00 0f 00 00 01 97 /* lane3 config */ - 00 c0 00 00 00 00 00 01 bb]; /* Clk ln config */ - - qcom,panel-on-cmds = [23 01 00 00 0a 00 02 b0 00 - 23 01 00 00 0a 00 02 b2 00 - 23 01 00 00 0a 00 02 b3 0c - 23 01 00 00 0a 00 02 b4 02 - 29 01 00 00 00 00 06 - c0 40 02 7f c8 08 - 29 01 00 00 00 00 10 - c1 00 a8 00 00 00 - 00 00 9d 08 27 00 - 00 00 00 00 - 29 01 00 00 00 00 06 - c2 00 00 09 00 00 - 23 01 00 00 0a 00 02 c3 04 - 29 01 00 00 00 00 04 - c4 4d 83 00 - 29 01 00 00 00 00 0b - c6 12 00 08 71 00 - 00 00 80 00 04 - 23 01 00 00 0a 00 02 c7 22 - 29 01 00 00 00 00 05 - c8 4c 0c 0c 0c - 29 01 00 00 00 00 0e - c9 00 40 00 16 32 - 2e 3a 43 3e 3c 45 - 79 3f - 29 01 00 00 00 00 0e - ca 00 46 1a 23 21 - 1c 25 31 2d 49 5f - 7f 3f - 29 01 00 00 00 00 0e - cb 00 4c 20 3a 42 - 40 47 4b 42 3e 46 - 7e 3f - 29 01 00 00 00 00 0e - cc 00 41 19 21 1d - 14 18 1f 1d 25 3f - 73 3f - 29 01 00 00 00 00 0e - cd 23 79 5a 5f 57 - 4c 51 51 45 3f 4b - 7f 3f - 29 01 00 00 00 00 0e - ce 00 40 14 20 1a - 0e 0e 13 08 00 05 - 46 1c - 29 01 00 00 00 00 04 - d0 6a 64 01 - 29 01 00 00 00 00 03 d1 77 d4 - 23 01 00 00 0a 00 02 d3 33 - 29 01 00 00 00 00 03 d5 0f 0f - 29 01 00 00 00 00 07 - d8 34 64 23 25 62 - 32 - 29 01 00 00 00 00 0c - de 10 7b 11 0a 00 - 00 00 00 00 00 00 - 29 01 00 00 00 00 09 - fd 04 55 53 00 70 - ff 10 73 - 23 01 00 00 0a 00 02 e2 00 - 05 01 00 00 78 00 02 11 00 - 05 01 00 00 32 00 02 29 00]; - qcom,on-cmds-dsi-state = "DSI_LP_MODE"; - qcom,panel-off-cmds = [05 01 00 00 32 00 02 28 00 - 05 01 00 00 78 00 02 10 00]; - qcom,off-cmds-dsi-state = "DSI_HS_MODE"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/dsi-v2-panel-hx8379a-wvga-video.dtsi b/kernel/arch/arm/boot/dts/lte_module-v1/dsi-v2-panel-hx8379a-wvga-video.dtsi deleted file mode 100755 index b9ed0506a..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/dsi-v2-panel-hx8379a-wvga-video.dtsi +++ /dev/null @@ -1,117 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/ { - qcom,dsi_v2_hx8379a_wvga_video { - compatible = "qcom,dsi-panel-v2"; - label = "HX8379A WVGA video mode dsi panel"; - qcom,dsi-ctrl-phandle = <&mdss_dsi0>; - qcom,rst-gpio = <&msmgpio 41 0>; - vdda-supply = <&pm8110_l19>; - vddio-supply=<&pm8110_l14>; - qcom,mdss-pan-res = <480 800>; - qcom,mdss-pan-bpp = <24>; - qcom,mdss-pan-dest = "display_1"; - qcom,mdss-pan-porch-values = <90 17 90 2 3 11>; - qcom,mdss-pan-underflow-clr = <0xff>; - qcom,mdss-pan-bl-levels = <1 255>; - qcom,mdss-pan-bl-ctrl = "bl_ctrl_wled"; - qcom,mdss-pan-dsi-mode = <0>; - qcom,mdss-pan-dsi-h-pulse-mode = <1>; - qcom,mdss-pan-dsi-h-power-stop = <0 0 0>; - qcom,mdss-pan-dsi-bllp-power-stop = <1 1>; - qcom,mdss-pan-dsi-traffic-mode = <2>; - qcom,mdss-pan-dsi-dst-format = <3>; - qcom,mdss-pan-dsi-vc = <0>; - qcom,mdss-pan-dsi-rgb-swap = <0>; - qcom,mdss-pan-dsi-data-lanes = <1 1 0 0>; - qcom,mdss-pan-dsi-dlane-swap = <1>; - qcom,mdss-pan-dsi-t-clk = <0x1b 0x04>; - qcom,mdss-pan-dsi-stream = <0>; - qcom,mdss-pan-dsi-mdp-tr = <0x0>;/*todo*/ - qcom,mdss-pan-dsi-dma-tr = <0x04>; - qcom,mdss-pan-dsi-frame-rate = <60>; - qcom,panel-phy-regulatorSettings =[09 08 05 00 20 03]; - qcom,panel-phy-timingSettings = [5D 12 0C 00 33 39 - 10 16 15 03 04 00]; - qcom,panel-phy-strengthCtrl = [ff 06]; - qcom,panel-phy-bistCtrl = [03 03 00 00 0f 00]; - qcom,panel-phy-laneConfig = - [80 45 00 00 01 66 /*lane0**/ - 80 45 00 00 01 66 /*lane1*/ - 80 45 00 00 01 66 /*lane2*/ - 80 45 00 00 01 66 /*lane3*/ - 40 67 00 00 01 88]; /*Clk*/ - - qcom,on-cmds-dsi-state = "DSI_LP_MODE"; - qcom,panel-on-cmds = [ - 29 01 00 00 01 04 - B9 FF 83 79 - 23 01 00 00 01 02 - BA 51 - 29 01 00 00 01 14 - B1 00 50 44 - EA 8D 08 11 - 0F 0F 24 2C - 9A 1A 42 0B - 6E F1 00 E6 - 29 01 00 00 01 0e - B2 00 00 3C - 08 04 19 22 - 00 FF 08 04 - 19 20 - 29 01 00 00 01 20 - B4 80 08 00 - 32 10 03 32 - 13 70 32 10 - 08 37 01 28 - 05 37 08 3C - 20 44 44 08 - 00 40 08 28 - 08 30 30 04 - 23 01 00 00 01 02 - cc 02 - 29 01 00 00 01 30 - D5 00 00 08 - 00 01 05 00 - 03 00 88 88 - 88 88 23 01 - 67 45 02 13 - 88 88 88 88 - 88 88 88 88 - 88 88 54 76 - 10 32 31 20 - 88 88 88 88 - 88 88 00 00 - 00 00 00 00 - 29 01 00 00 01 24 - E0 79 00 00 - 02 1C 1F 33 - 28 3E 07 0E - 0F 15 17 16 - 16 13 19 00 - 00 02 1C 1F - 33 28 3E 07 - 0E 0F 15 17 - 16 16 13 19 - 29 01 00 00 01 05 - B6 00 A6 00 A6 - 05 01 00 00 96 02 - 11 00 - 05 01 00 00 78 02 - 29 00 - ]; - qcom,panel-off-cmds = [05 01 00 00 32 02 28 00 - 05 01 00 00 78 02 10 00]; - qcom,off-cmds-dsi-state = "DSI_LP_MODE"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/dsi-v2-panel-truly-wvga-video.dtsi b/kernel/arch/arm/boot/dts/lte_module-v1/dsi-v2-panel-truly-wvga-video.dtsi deleted file mode 100755 index 891eac3ad..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/dsi-v2-panel-truly-wvga-video.dtsi +++ /dev/null @@ -1,120 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/ { - qcom,dsi_v2_truly_wvga_video { - compatible = "qcom,dsi-panel-v2"; - label = "Truly WVGA video mode dsi panel"; - qcom,dsi-ctrl-phandle = <&mdss_dsi0>; - qcom,rst-gpio = <&msmgpio 41 0>; - qcom,mode-selection-gpio = <&msmgpio 7 0>; - vdda-supply = <&pm8110_l19>; - vddio-supply=<&pm8110_l14>; - qcom,mdss-pan-res = <480 800>; - qcom,mdss-pan-bpp = <24>; - qcom,mdss-pan-dest = "display_1"; - qcom,mdss-pan-porch-values = <40 8 160 10 2 12>; - qcom,mdss-pan-underflow-clr = <0xff>; - qcom,mdss-pan-bl-levels = <1 255>; - qcom,mdss-pan-bl-ctrl = "bl_ctrl_wled"; - qcom,mdss-pan-dsi-mode = <0>; - qcom,mdss-pan-dsi-h-pulse-mode = <0>; - qcom,mdss-pan-dsi-h-power-stop = <0 0 0>; - qcom,mdss-pan-dsi-bllp-power-stop = <1 1>; - qcom,mdss-pan-dsi-traffic-mode = <1>; - qcom,mdss-pan-dsi-dst-format = <3>; - qcom,mdss-pan-dsi-vc = <0>; - qcom,mdss-pan-dsi-rgb-swap = <0>; - qcom,mdss-pan-dsi-data-lanes = <1 1 0 0>; - qcom,mdss-pan-dsi-dlane-swap = <0>; - qcom,mdss-pan-dsi-t-clk = <0x1b 0x04>; - qcom,mdss-pan-dsi-stream = <0>; - qcom,mdss-pan-dsi-mdp-tr = <0x0>;/*todo*/ - qcom,mdss-pan-dsi-dma-tr = <0x04>; - qcom,mdss-pan-dsi-frame-rate = <60>; - qcom,panel-phy-regulatorSettings =[09 08 05 00 20 03]; - qcom,panel-phy-timingSettings = [5D 12 0C 00 33 38 - 10 16 1E 03 04 00]; - qcom,panel-phy-strengthCtrl = [ff 06]; - qcom,panel-phy-bistCtrl = [03 03 00 00 0f 00]; - qcom,panel-phy-laneConfig = - [80 45 00 00 01 66 /*lane0**/ - 80 45 00 00 01 66 /*lane1*/ - 80 45 00 00 01 66 /*lane2*/ - 80 45 00 00 01 66 /*lane3*/ - 40 67 00 00 01 88]; /*Clk*/ - - qcom,on-cmds-dsi-state = "DSI_LP_MODE"; - qcom,panel-on-cmds = [ - 05 01 00 00 00 02 - 01 00 - 23 01 00 00 00 02 - b0 04 - 29 01 00 00 00 03 - b3 02 00 - 23 01 00 00 00 02 - bd 00 - 29 01 00 00 00 03 - c0 18 66 - 29 01 00 00 00 10 - c1 23 31 99 21 20 00 30 28 0c 0c - 00 00 00 21 01 - 29 01 00 00 00 07 - c2 10 06 06 01 03 00 - 29 01 00 00 00 19 - c8 04 10 18 20 2e 46 3c 28 1f 18 - 10 04 04 10 18 20 2e 46 3c 28 1f 18 10 04 - 29 01 00 00 00 19 - c9 04 10 18 20 2e 46 3c 28 1f 18 - 10 04 04 10 18 20 2e 46 3c 28 1f 18 10 04 - 29 01 00 00 00 19 - ca 04 10 18 20 2e 46 3c 28 1f 18 - 10 04 04 10 18 20 2e 46 3c 28 1f 18 10 04 - 29 01 00 00 00 11 - d0 29 03 ce a6 00 43 20 10 01 00 - 01 01 00 03 01 00 - 29 01 00 00 00 08 - d1 18 0C 23 03 75 02 50 - 23 01 00 00 00 02 - d3 11 - 29 01 00 00 00 03 - d5 2a 2a - 29 01 00 00 00 03 - de 01 41 - 23 01 00 00 00 02 - e6 51 - 23 01 00 00 00 02 - fa 03 - 23 01 00 00 64 02 - d6 28 - 39 01 00 00 00 05 - 2a 00 00 01 df - 39 01 00 00 00 05 - 2b 00 00 03 1f - 15 01 00 00 00 02 - 35 00 - 39 01 00 00 00 03 - 44 00 50 - 15 01 00 00 00 02 - 36 c1 - 15 01 00 00 00 02 - 3a 77 - 05 01 00 00 7D 02 - 11 00 - 05 01 00 00 14 02 - 29 00 - ]; - qcom,panel-off-cmds = [05 01 00 00 32 02 28 00 - 05 01 00 00 78 02 10 00]; - qcom,off-cmds-dsi-state = "DSI_LP_MODE"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/exynos4210-origen.dts b/kernel/arch/arm/boot/dts/lte_module-v1/exynos4210-origen.dts deleted file mode 100755 index b8c476384..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/exynos4210-origen.dts +++ /dev/null @@ -1,137 +0,0 @@ -/* - * Samsung's Exynos4210 based Origen board device tree source - * - * Copyright (c) 2010-2011 Samsung Electronics Co., Ltd. - * http://www.samsung.com - * Copyright (c) 2010-2011 Linaro Ltd. - * www.linaro.org - * - * Device tree source file for Insignal's Origen board which is based on - * Samsung's Exynos4210 SoC. - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. -*/ - -/dts-v1/; -/include/ "exynos4210.dtsi" - -/ { - model = "Insignal Origen evaluation board based on Exynos4210"; - compatible = "insignal,origen", "samsung,exynos4210"; - - memory { - reg = <0x40000000 0x40000000>; - }; - - chosen { - bootargs ="root=/dev/ram0 rw ramdisk=8192 initrd=0x41000000,8M console=ttySAC2,115200 init=/linuxrc"; - }; - - sdhci@12530000 { - samsung,sdhci-bus-width = <4>; - linux,mmc_cap_4_bit_data; - samsung,sdhci-cd-internal; - gpio-cd = <&gpk2 2 2 3 3>; - gpios = <&gpk2 0 2 0 3>, - <&gpk2 1 2 0 3>, - <&gpk2 3 2 3 3>, - <&gpk2 4 2 3 3>, - <&gpk2 5 2 3 3>, - <&gpk2 6 2 3 3>; - }; - - sdhci@12510000 { - samsung,sdhci-bus-width = <4>; - linux,mmc_cap_4_bit_data; - samsung,sdhci-cd-internal; - gpio-cd = <&gpk0 2 2 3 3>; - gpios = <&gpk0 0 2 0 3>, - <&gpk0 1 2 0 3>, - <&gpk0 3 2 3 3>, - <&gpk0 4 2 3 3>, - <&gpk0 5 2 3 3>, - <&gpk0 6 2 3 3>; - }; - - gpio_keys { - compatible = "gpio-keys"; - #address-cells = <1>; - #size-cells = <0>; - - up { - label = "Up"; - gpios = <&gpx2 0 0 0 2>; - linux,code = <103>; - }; - - down { - label = "Down"; - gpios = <&gpx2 1 0 0 2>; - linux,code = <108>; - }; - - back { - label = "Back"; - gpios = <&gpx1 7 0 0 2>; - linux,code = <158>; - }; - - home { - label = "Home"; - gpios = <&gpx1 6 0 0 2>; - linux,code = <102>; - }; - - menu { - label = "Menu"; - gpios = <&gpx1 5 0 0 2>; - linux,code = <139>; - }; - }; - - keypad@100A0000 { - status = "disabled"; - }; - - sdhci@12520000 { - status = "disabled"; - }; - - sdhci@12540000 { - status = "disabled"; - }; - - i2c@13860000 { - status = "disabled"; - }; - - i2c@13870000 { - status = "disabled"; - }; - - i2c@13880000 { - status = "disabled"; - }; - - i2c@13890000 { - status = "disabled"; - }; - - i2c@138A0000 { - status = "disabled"; - }; - - i2c@138B0000 { - status = "disabled"; - }; - - i2c@138C0000 { - status = "disabled"; - }; - - i2c@138D0000 { - status = "disabled"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/exynos4210-smdkv310.dts b/kernel/arch/arm/boot/dts/lte_module-v1/exynos4210-smdkv310.dts deleted file mode 100755 index 27afc8e53..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/exynos4210-smdkv310.dts +++ /dev/null @@ -1,182 +0,0 @@ -/* - * Samsung's Exynos4210 based SMDKV310 board device tree source - * - * Copyright (c) 2010-2011 Samsung Electronics Co., Ltd. - * http://www.samsung.com - * Copyright (c) 2010-2011 Linaro Ltd. - * www.linaro.org - * - * Device tree source file for Samsung's SMDKV310 board which is based on - * Samsung's Exynos4210 SoC. - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. -*/ - -/dts-v1/; -/include/ "exynos4210.dtsi" - -/ { - model = "Samsung smdkv310 evaluation board based on Exynos4210"; - compatible = "samsung,smdkv310", "samsung,exynos4210"; - - memory { - reg = <0x40000000 0x80000000>; - }; - - chosen { - bootargs = "root=/dev/ram0 rw ramdisk=8192 initrd=0x41000000,8M console=ttySAC1,115200 init=/linuxrc"; - }; - - sdhci@12530000 { - samsung,sdhci-bus-width = <4>; - linux,mmc_cap_4_bit_data; - samsung,sdhci-cd-internal; - gpio-cd = <&gpk2 2 2 3 3>; - gpios = <&gpk2 0 2 0 3>, - <&gpk2 1 2 0 3>, - <&gpk2 3 2 3 3>, - <&gpk2 4 2 3 3>, - <&gpk2 5 2 3 3>, - <&gpk2 6 2 3 3>; - }; - - keypad@100A0000 { - samsung,keypad-num-rows = <2>; - samsung,keypad-num-columns = <8>; - linux,keypad-no-autorepeat; - linux,keypad-wakeup; - - row-gpios = <&gpx2 0 3 3 0>, - <&gpx2 1 3 3 0>; - - col-gpios = <&gpx1 0 3 0 0>, - <&gpx1 1 3 0 0>, - <&gpx1 2 3 0 0>, - <&gpx1 3 3 0 0>, - <&gpx1 4 3 0 0>, - <&gpx1 5 3 0 0>, - <&gpx1 6 3 0 0>, - <&gpx1 7 3 0 0>; - - key_1 { - keypad,row = <0>; - keypad,column = <3>; - linux,code = <2>; - }; - - key_2 { - keypad,row = <0>; - keypad,column = <4>; - linux,code = <3>; - }; - - key_3 { - keypad,row = <0>; - keypad,column = <5>; - linux,code = <4>; - }; - - key_4 { - keypad,row = <0>; - keypad,column = <6>; - linux,code = <5>; - }; - - key_5 { - keypad,row = <0>; - keypad,column = <7>; - linux,code = <6>; - }; - - key_a { - keypad,row = <1>; - keypad,column = <3>; - linux,code = <30>; - }; - - key_b { - keypad,row = <1>; - keypad,column = <4>; - linux,code = <48>; - }; - - key_c { - keypad,row = <1>; - keypad,column = <5>; - linux,code = <46>; - }; - - key_d { - keypad,row = <1>; - keypad,column = <6>; - linux,code = <32>; - }; - - key_e { - keypad,row = <1>; - keypad,column = <7>; - linux,code = <18>; - }; - }; - - i2c@13860000 { - #address-cells = <1>; - #size-cells = <0>; - samsung,i2c-sda-delay = <100>; - samsung,i2c-max-bus-freq = <20000>; - gpios = <&gpd1 0 2 3 0>, - <&gpd1 1 2 3 0>; - - eeprom@50 { - compatible = "samsung,24ad0xd1"; - reg = <0x50>; - }; - - eeprom@52 { - compatible = "samsung,24ad0xd1"; - reg = <0x52>; - }; - }; - - sdhci@12510000 { - status = "disabled"; - }; - - sdhci@12520000 { - status = "disabled"; - }; - - sdhci@12540000 { - status = "disabled"; - }; - - i2c@13870000 { - status = "disabled"; - }; - - i2c@13880000 { - status = "disabled"; - }; - - i2c@13890000 { - status = "disabled"; - }; - - i2c@138A0000 { - status = "disabled"; - }; - - i2c@138B0000 { - status = "disabled"; - }; - - i2c@138C0000 { - status = "disabled"; - }; - - i2c@138D0000 { - status = "disabled"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/exynos4210.dtsi b/kernel/arch/arm/boot/dts/lte_module-v1/exynos4210.dtsi deleted file mode 100755 index a1dd2ee83..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/exynos4210.dtsi +++ /dev/null @@ -1,398 +0,0 @@ -/* - * Samsung's Exynos4210 SoC device tree source - * - * Copyright (c) 2010-2011 Samsung Electronics Co., Ltd. - * http://www.samsung.com - * Copyright (c) 2010-2011 Linaro Ltd. - * www.linaro.org - * - * Samsung's Exynos4210 SoC device nodes are listed in this file. Exynos4210 - * based board files can include this file and provide values for board specfic - * bindings. - * - * Note: This file does not include device nodes for all the controllers in - * Exynos4210 SoC. As device tree coverage for Exynos4210 increases, additional - * nodes can be added to this file. - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. -*/ - -/include/ "skeleton.dtsi" - -/ { - compatible = "samsung,exynos4210"; - interrupt-parent = <&gic>; - - gic:interrupt-controller@10490000 { - compatible = "arm,cortex-a9-gic"; - #interrupt-cells = <3>; - interrupt-controller; - cpu-offset = <0x8000>; - reg = <0x10490000 0x1000>, <0x10480000 0x100>; - }; - - watchdog@10060000 { - compatible = "samsung,s3c2410-wdt"; - reg = <0x10060000 0x100>; - interrupts = <0 43 0>; - }; - - rtc@10070000 { - compatible = "samsung,s3c6410-rtc"; - reg = <0x10070000 0x100>; - interrupts = <0 44 0>, <0 45 0>; - }; - - keypad@100A0000 { - compatible = "samsung,s5pv210-keypad"; - reg = <0x100A0000 0x100>; - interrupts = <0 109 0>; - }; - - sdhci@12510000 { - compatible = "samsung,exynos4210-sdhci"; - reg = <0x12510000 0x100>; - interrupts = <0 73 0>; - }; - - sdhci@12520000 { - compatible = "samsung,exynos4210-sdhci"; - reg = <0x12520000 0x100>; - interrupts = <0 74 0>; - }; - - sdhci@12530000 { - compatible = "samsung,exynos4210-sdhci"; - reg = <0x12530000 0x100>; - interrupts = <0 75 0>; - }; - - sdhci@12540000 { - compatible = "samsung,exynos4210-sdhci"; - reg = <0x12540000 0x100>; - interrupts = <0 76 0>; - }; - - serial@13800000 { - compatible = "samsung,exynos4210-uart"; - reg = <0x13800000 0x100>; - interrupts = <0 52 0>; - }; - - serial@13810000 { - compatible = "samsung,exynos4210-uart"; - reg = <0x13810000 0x100>; - interrupts = <0 53 0>; - }; - - serial@13820000 { - compatible = "samsung,exynos4210-uart"; - reg = <0x13820000 0x100>; - interrupts = <0 54 0>; - }; - - serial@13830000 { - compatible = "samsung,exynos4210-uart"; - reg = <0x13830000 0x100>; - interrupts = <0 55 0>; - }; - - i2c@13860000 { - compatible = "samsung,s3c2440-i2c"; - reg = <0x13860000 0x100>; - interrupts = <0 58 0>; - }; - - i2c@13870000 { - compatible = "samsung,s3c2440-i2c"; - reg = <0x13870000 0x100>; - interrupts = <0 59 0>; - }; - - i2c@13880000 { - compatible = "samsung,s3c2440-i2c"; - reg = <0x13880000 0x100>; - interrupts = <0 60 0>; - }; - - i2c@13890000 { - compatible = "samsung,s3c2440-i2c"; - reg = <0x13890000 0x100>; - interrupts = <0 61 0>; - }; - - i2c@138A0000 { - compatible = "samsung,s3c2440-i2c"; - reg = <0x138A0000 0x100>; - interrupts = <0 62 0>; - }; - - i2c@138B0000 { - compatible = "samsung,s3c2440-i2c"; - reg = <0x138B0000 0x100>; - interrupts = <0 63 0>; - }; - - i2c@138C0000 { - compatible = "samsung,s3c2440-i2c"; - reg = <0x138C0000 0x100>; - interrupts = <0 64 0>; - }; - - i2c@138D0000 { - compatible = "samsung,s3c2440-i2c"; - reg = <0x138D0000 0x100>; - interrupts = <0 65 0>; - }; - - amba { - #address-cells = <1>; - #size-cells = <1>; - compatible = "arm,amba-bus"; - interrupt-parent = <&gic>; - ranges; - - pdma0: pdma@12680000 { - compatible = "arm,pl330", "arm,primecell"; - reg = <0x12680000 0x1000>; - interrupts = <0 35 0>; - }; - - pdma1: pdma@12690000 { - compatible = "arm,pl330", "arm,primecell"; - reg = <0x12690000 0x1000>; - interrupts = <0 36 0>; - }; - }; - - gpio-controllers { - #address-cells = <1>; - #size-cells = <1>; - gpio-controller; - ranges; - - gpa0: gpio-controller@11400000 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400000 0x20>; - #gpio-cells = <4>; - }; - - gpa1: gpio-controller@11400020 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400020 0x20>; - #gpio-cells = <4>; - }; - - gpb: gpio-controller@11400040 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400040 0x20>; - #gpio-cells = <4>; - }; - - gpc0: gpio-controller@11400060 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400060 0x20>; - #gpio-cells = <4>; - }; - - gpc1: gpio-controller@11400080 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400080 0x20>; - #gpio-cells = <4>; - }; - - gpd0: gpio-controller@114000A0 { - compatible = "samsung,exynos4-gpio"; - reg = <0x114000A0 0x20>; - #gpio-cells = <4>; - }; - - gpd1: gpio-controller@114000C0 { - compatible = "samsung,exynos4-gpio"; - reg = <0x114000C0 0x20>; - #gpio-cells = <4>; - }; - - gpe0: gpio-controller@114000E0 { - compatible = "samsung,exynos4-gpio"; - reg = <0x114000E0 0x20>; - #gpio-cells = <4>; - }; - - gpe1: gpio-controller@11400100 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400100 0x20>; - #gpio-cells = <4>; - }; - - gpe2: gpio-controller@11400120 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400120 0x20>; - #gpio-cells = <4>; - }; - - gpe3: gpio-controller@11400140 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400140 0x20>; - #gpio-cells = <4>; - }; - - gpe4: gpio-controller@11400160 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400160 0x20>; - #gpio-cells = <4>; - }; - - gpf0: gpio-controller@11400180 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400180 0x20>; - #gpio-cells = <4>; - }; - - gpf1: gpio-controller@114001A0 { - compatible = "samsung,exynos4-gpio"; - reg = <0x114001A0 0x20>; - #gpio-cells = <4>; - }; - - gpf2: gpio-controller@114001C0 { - compatible = "samsung,exynos4-gpio"; - reg = <0x114001C0 0x20>; - #gpio-cells = <4>; - }; - - gpf3: gpio-controller@114001E0 { - compatible = "samsung,exynos4-gpio"; - reg = <0x114001E0 0x20>; - #gpio-cells = <4>; - }; - - gpj0: gpio-controller@11000000 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11000000 0x20>; - #gpio-cells = <4>; - }; - - gpj1: gpio-controller@11000020 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11000020 0x20>; - #gpio-cells = <4>; - }; - - gpk0: gpio-controller@11000040 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11000040 0x20>; - #gpio-cells = <4>; - }; - - gpk1: gpio-controller@11000060 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11000060 0x20>; - #gpio-cells = <4>; - }; - - gpk2: gpio-controller@11000080 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11000080 0x20>; - #gpio-cells = <4>; - }; - - gpk3: gpio-controller@110000A0 { - compatible = "samsung,exynos4-gpio"; - reg = <0x110000A0 0x20>; - #gpio-cells = <4>; - }; - - gpl0: gpio-controller@110000C0 { - compatible = "samsung,exynos4-gpio"; - reg = <0x110000C0 0x20>; - #gpio-cells = <4>; - }; - - gpl1: gpio-controller@110000E0 { - compatible = "samsung,exynos4-gpio"; - reg = <0x110000E0 0x20>; - #gpio-cells = <4>; - }; - - gpl2: gpio-controller@11000100 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11000100 0x20>; - #gpio-cells = <4>; - }; - - gpy0: gpio-controller@11000120 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11000120 0x20>; - #gpio-cells = <4>; - }; - - gpy1: gpio-controller@11000140 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11000140 0x20>; - #gpio-cells = <4>; - }; - - gpy2: gpio-controller@11000160 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11000160 0x20>; - #gpio-cells = <4>; - }; - - gpy3: gpio-controller@11000180 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11000180 0x20>; - #gpio-cells = <4>; - }; - - gpy4: gpio-controller@110001A0 { - compatible = "samsung,exynos4-gpio"; - reg = <0x110001A0 0x20>; - #gpio-cells = <4>; - }; - - gpy5: gpio-controller@110001C0 { - compatible = "samsung,exynos4-gpio"; - reg = <0x110001C0 0x20>; - #gpio-cells = <4>; - }; - - gpy6: gpio-controller@110001E0 { - compatible = "samsung,exynos4-gpio"; - reg = <0x110001E0 0x20>; - #gpio-cells = <4>; - }; - - gpx0: gpio-controller@11000C00 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11000C00 0x20>; - #gpio-cells = <4>; - }; - - gpx1: gpio-controller@11000C20 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11000C20 0x20>; - #gpio-cells = <4>; - }; - - gpx2: gpio-controller@11000C40 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11000C40 0x20>; - #gpio-cells = <4>; - }; - - gpx3: gpio-controller@11000C60 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11000C60 0x20>; - #gpio-cells = <4>; - }; - - gpz: gpio-controller@03860000 { - compatible = "samsung,exynos4-gpio"; - reg = <0x03860000 0x20>; - #gpio-cells = <4>; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/exynos5250-smdk5250.dts b/kernel/arch/arm/boot/dts/lte_module-v1/exynos5250-smdk5250.dts deleted file mode 100755 index 399d17b23..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/exynos5250-smdk5250.dts +++ /dev/null @@ -1,26 +0,0 @@ -/* - * SAMSUNG SMDK5250 board device tree source - * - * Copyright (c) 2012 Samsung Electronics Co., Ltd. - * http://www.samsung.com - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. -*/ - -/dts-v1/; -/include/ "exynos5250.dtsi" - -/ { - model = "SAMSUNG SMDK5250 board based on EXYNOS5250"; - compatible = "samsung,smdk5250", "samsung,exynos5250"; - - memory { - reg = <0x40000000 0x80000000>; - }; - - chosen { - bootargs = "root=/dev/ram0 rw ramdisk=8192 console=ttySAC1,115200"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/exynos5250.dtsi b/kernel/arch/arm/boot/dts/lte_module-v1/exynos5250.dtsi deleted file mode 100755 index dfc433599..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/exynos5250.dtsi +++ /dev/null @@ -1,413 +0,0 @@ -/* - * SAMSUNG EXYNOS5250 SoC device tree source - * - * Copyright (c) 2012 Samsung Electronics Co., Ltd. - * http://www.samsung.com - * - * SAMSUNG EXYNOS5250 SoC device nodes are listed in this file. - * EXYNOS5250 based board files can include this file and provide - * values for board specfic bindings. - * - * Note: This file does not include device nodes for all the controllers in - * EXYNOS5250 SoC. As device tree coverage for EXYNOS5250 increases, - * additional nodes can be added to this file. - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. -*/ - -/include/ "skeleton.dtsi" - -/ { - compatible = "samsung,exynos5250"; - interrupt-parent = <&gic>; - - gic:interrupt-controller@10490000 { - compatible = "arm,cortex-a9-gic"; - #interrupt-cells = <3>; - interrupt-controller; - reg = <0x10490000 0x1000>, <0x10480000 0x100>; - }; - - watchdog { - compatible = "samsung,s3c2410-wdt"; - reg = <0x101D0000 0x100>; - interrupts = <0 42 0>; - }; - - rtc { - compatible = "samsung,s3c6410-rtc"; - reg = <0x101E0000 0x100>; - interrupts = <0 43 0>, <0 44 0>; - }; - - sdhci@12200000 { - compatible = "samsung,exynos4210-sdhci"; - reg = <0x12200000 0x100>; - interrupts = <0 75 0>; - }; - - sdhci@12210000 { - compatible = "samsung,exynos4210-sdhci"; - reg = <0x12210000 0x100>; - interrupts = <0 76 0>; - }; - - sdhci@12220000 { - compatible = "samsung,exynos4210-sdhci"; - reg = <0x12220000 0x100>; - interrupts = <0 77 0>; - }; - - sdhci@12230000 { - compatible = "samsung,exynos4210-sdhci"; - reg = <0x12230000 0x100>; - interrupts = <0 78 0>; - }; - - serial@12C00000 { - compatible = "samsung,exynos4210-uart"; - reg = <0x12C00000 0x100>; - interrupts = <0 51 0>; - }; - - serial@12C10000 { - compatible = "samsung,exynos4210-uart"; - reg = <0x12C10000 0x100>; - interrupts = <0 52 0>; - }; - - serial@12C20000 { - compatible = "samsung,exynos4210-uart"; - reg = <0x12C20000 0x100>; - interrupts = <0 53 0>; - }; - - serial@12C30000 { - compatible = "samsung,exynos4210-uart"; - reg = <0x12C30000 0x100>; - interrupts = <0 54 0>; - }; - - i2c@12C60000 { - compatible = "samsung,s3c2440-i2c"; - reg = <0x12C60000 0x100>; - interrupts = <0 56 0>; - }; - - i2c@12C70000 { - compatible = "samsung,s3c2440-i2c"; - reg = <0x12C70000 0x100>; - interrupts = <0 57 0>; - }; - - i2c@12C80000 { - compatible = "samsung,s3c2440-i2c"; - reg = <0x12C80000 0x100>; - interrupts = <0 58 0>; - }; - - i2c@12C90000 { - compatible = "samsung,s3c2440-i2c"; - reg = <0x12C90000 0x100>; - interrupts = <0 59 0>; - }; - - i2c@12CA0000 { - compatible = "samsung,s3c2440-i2c"; - reg = <0x12CA0000 0x100>; - interrupts = <0 60 0>; - }; - - i2c@12CB0000 { - compatible = "samsung,s3c2440-i2c"; - reg = <0x12CB0000 0x100>; - interrupts = <0 61 0>; - }; - - i2c@12CC0000 { - compatible = "samsung,s3c2440-i2c"; - reg = <0x12CC0000 0x100>; - interrupts = <0 62 0>; - }; - - i2c@12CD0000 { - compatible = "samsung,s3c2440-i2c"; - reg = <0x12CD0000 0x100>; - interrupts = <0 63 0>; - }; - - amba { - #address-cells = <1>; - #size-cells = <1>; - compatible = "arm,amba-bus"; - interrupt-parent = <&gic>; - ranges; - - pdma0: pdma@121A0000 { - compatible = "arm,pl330", "arm,primecell"; - reg = <0x121A0000 0x1000>; - interrupts = <0 34 0>; - }; - - pdma1: pdma@121B0000 { - compatible = "arm,pl330", "arm,primecell"; - reg = <0x121B0000 0x1000>; - interrupts = <0 35 0>; - }; - - mdma0: pdma@10800000 { - compatible = "arm,pl330", "arm,primecell"; - reg = <0x10800000 0x1000>; - interrupts = <0 33 0>; - }; - - mdma1: pdma@11C10000 { - compatible = "arm,pl330", "arm,primecell"; - reg = <0x11C10000 0x1000>; - interrupts = <0 124 0>; - }; - }; - - gpio-controllers { - #address-cells = <1>; - #size-cells = <1>; - gpio-controller; - ranges; - - gpa0: gpio-controller@11400000 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400000 0x20>; - #gpio-cells = <4>; - }; - - gpa1: gpio-controller@11400020 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400020 0x20>; - #gpio-cells = <4>; - }; - - gpa2: gpio-controller@11400040 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400040 0x20>; - #gpio-cells = <4>; - }; - - gpb0: gpio-controller@11400060 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400060 0x20>; - #gpio-cells = <4>; - }; - - gpb1: gpio-controller@11400080 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400080 0x20>; - #gpio-cells = <4>; - }; - - gpb2: gpio-controller@114000A0 { - compatible = "samsung,exynos4-gpio"; - reg = <0x114000A0 0x20>; - #gpio-cells = <4>; - }; - - gpb3: gpio-controller@114000C0 { - compatible = "samsung,exynos4-gpio"; - reg = <0x114000C0 0x20>; - #gpio-cells = <4>; - }; - - gpc0: gpio-controller@114000E0 { - compatible = "samsung,exynos4-gpio"; - reg = <0x114000E0 0x20>; - #gpio-cells = <4>; - }; - - gpc1: gpio-controller@11400100 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400100 0x20>; - #gpio-cells = <4>; - }; - - gpc2: gpio-controller@11400120 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400120 0x20>; - #gpio-cells = <4>; - }; - - gpc3: gpio-controller@11400140 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400140 0x20>; - #gpio-cells = <4>; - }; - - gpd0: gpio-controller@11400160 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400160 0x20>; - #gpio-cells = <4>; - }; - - gpd1: gpio-controller@11400180 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400180 0x20>; - #gpio-cells = <4>; - }; - - gpy0: gpio-controller@114001A0 { - compatible = "samsung,exynos4-gpio"; - reg = <0x114001A0 0x20>; - #gpio-cells = <4>; - }; - - gpy1: gpio-controller@114001C0 { - compatible = "samsung,exynos4-gpio"; - reg = <0x114001C0 0x20>; - #gpio-cells = <4>; - }; - - gpy2: gpio-controller@114001E0 { - compatible = "samsung,exynos4-gpio"; - reg = <0x114001E0 0x20>; - #gpio-cells = <4>; - }; - - gpy3: gpio-controller@11400200 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400200 0x20>; - #gpio-cells = <4>; - }; - - gpy4: gpio-controller@11400220 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400220 0x20>; - #gpio-cells = <4>; - }; - - gpy5: gpio-controller@11400240 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400240 0x20>; - #gpio-cells = <4>; - }; - - gpy6: gpio-controller@11400260 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400260 0x20>; - #gpio-cells = <4>; - }; - - gpx0: gpio-controller@11400C00 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400C00 0x20>; - #gpio-cells = <4>; - }; - - gpx1: gpio-controller@11400C20 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400C20 0x20>; - #gpio-cells = <4>; - }; - - gpx2: gpio-controller@11400C40 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400C40 0x20>; - #gpio-cells = <4>; - }; - - gpx3: gpio-controller@11400C60 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400C60 0x20>; - #gpio-cells = <4>; - }; - - gpe0: gpio-controller@13400000 { - compatible = "samsung,exynos4-gpio"; - reg = <0x13400000 0x20>; - #gpio-cells = <4>; - }; - - gpe1: gpio-controller@13400020 { - compatible = "samsung,exynos4-gpio"; - reg = <0x13400020 0x20>; - #gpio-cells = <4>; - }; - - gpf0: gpio-controller@13400040 { - compatible = "samsung,exynos4-gpio"; - reg = <0x13400040 0x20>; - #gpio-cells = <4>; - }; - - gpf1: gpio-controller@13400060 { - compatible = "samsung,exynos4-gpio"; - reg = <0x13400060 0x20>; - #gpio-cells = <4>; - }; - - gpg0: gpio-controller@13400080 { - compatible = "samsung,exynos4-gpio"; - reg = <0x13400080 0x20>; - #gpio-cells = <4>; - }; - - gpg1: gpio-controller@134000A0 { - compatible = "samsung,exynos4-gpio"; - reg = <0x134000A0 0x20>; - #gpio-cells = <4>; - }; - - gpg2: gpio-controller@134000C0 { - compatible = "samsung,exynos4-gpio"; - reg = <0x134000C0 0x20>; - #gpio-cells = <4>; - }; - - gph0: gpio-controller@134000E0 { - compatible = "samsung,exynos4-gpio"; - reg = <0x134000E0 0x20>; - #gpio-cells = <4>; - }; - - gph1: gpio-controller@13400100 { - compatible = "samsung,exynos4-gpio"; - reg = <0x13400100 0x20>; - #gpio-cells = <4>; - }; - - gpv0: gpio-controller@10D10000 { - compatible = "samsung,exynos4-gpio"; - reg = <0x10D10000 0x20>; - #gpio-cells = <4>; - }; - - gpv1: gpio-controller@10D10020 { - compatible = "samsung,exynos4-gpio"; - reg = <0x10D10020 0x20>; - #gpio-cells = <4>; - }; - - gpv2: gpio-controller@10D10040 { - compatible = "samsung,exynos4-gpio"; - reg = <0x10D10040 0x20>; - #gpio-cells = <4>; - }; - - gpv3: gpio-controller@10D10060 { - compatible = "samsung,exynos4-gpio"; - reg = <0x10D10060 0x20>; - #gpio-cells = <4>; - }; - - gpv4: gpio-controller@10D10080 { - compatible = "samsung,exynos4-gpio"; - reg = <0x10D10080 0x20>; - #gpio-cells = <4>; - }; - - gpz: gpio-controller@03860000 { - compatible = "samsung,exynos4-gpio"; - reg = <0x03860000 0x20>; - #gpio-cells = <4>; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/fsm9900-rumi.dts b/kernel/arch/arm/boot/dts/lte_module-v1/fsm9900-rumi.dts deleted file mode 100755 index 2b380c7b3..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/fsm9900-rumi.dts +++ /dev/null @@ -1,31 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; - -/include/ "fsm9900.dtsi" - -/ { - model = "Qualcomm FSM9900 Rumi"; - compatible = "qcom,fsm9900-rumi", "qcom,fsm9900", "qcom-sim"; - qcom,msm-id = <188 0 0>; - - aliases { - serial0 = &uart0; - }; -}; - -&soc { - uart0: serial@f9960000 { - status = "ok"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/fsm9900-sim.dts b/kernel/arch/arm/boot/dts/lte_module-v1/fsm9900-sim.dts deleted file mode 100755 index 050929e60..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/fsm9900-sim.dts +++ /dev/null @@ -1,32 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; - -/include/ "fsm9900.dtsi" - -/ { - model = "Qualcomm FSM9900 Simulator"; - compatible = "qcom,fsm9900-sim", "qcom,fsm9900", "qcom-sim"; - qcom,msm-id = <188 0 0>; - - aliases { - serial0 = &uart0; - }; -}; - -&soc { - uart0: serial@f9960000 { - interrupts = <0 116 0>; - status = "ok"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/fsm9900.dtsi b/kernel/arch/arm/boot/dts/lte_module-v1/fsm9900.dtsi deleted file mode 100755 index 766db368d..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/fsm9900.dtsi +++ /dev/null @@ -1,94 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/include/ "skeleton64.dtsi" - -/ { - model = "Qualcomm FSM9900"; - compatible = "qcom,fsm9900"; - interrupt-parent = <&intc>; - soc: soc { }; -}; - -&soc { - #address-cells = <1>; - #size-cells = <1>; - ranges = <0 0 0 0xffffffff>; - - intc: interrupt-controller@f9000000 { - compatible = "qcom,msm-qgic2"; - interrupt-controller; - #interrupt-cells = <3>; - reg = <0xF9000000 0x1000>, - <0xF9002000 0x1000>; - }; - - msmgpio: gpio@fd510000 { - compatible = "qcom,msm-gpio"; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - reg = <0xfd510000 0x4000>; - ngpio = <142>; - interrupts = <0 208 0>; - qcom,direct-connect-irqs = <5>; - }; - - timer { - compatible = "arm,armv7-timer"; - interrupts = <1 2 0 1 3 0>; - clock-frequency = <19200000>; - }; - - serial@f9960000 { - compatible = "qcom,msm-lsuart-v14"; - reg = <0xf9960000 0x1000>; - interrupts = <0 104 0>; - status = "disabled"; - }; - - cpu-pmu { - compatible = "qcom,krait-pmu"; - qcom,irq-is-percpu; - interrupts = <1 7 0xf00>; - }; - - qcom,msm-imem@fe805000 { - compatible = "qcom,msm-imem"; - reg = <0xfe805000 0x1000>; /* Address and size of IMEM */ - }; - - qcom,cache_erp { - compatible = "qcom,cache_erp"; - interrupts = <1 9 0>, <0 2 0>; - interrupt-names = "l1_irq", "l2_irq"; - }; - - qcom,cache_dump { - compatible = "qcom,cache_dump"; - qcom,l1-dump-size = <0x100000>; - qcom,l2-dump-size = <0x500000>; - qcom,memory-reservation-type = "EBI1"; - qcom,memory-reservation-size = <0x600000>; /* 6M EBI1 buffer */ - }; - - qcom,ion { - compatible = "qcom,msm-ion"; - #address-cells = <1>; - #size-cells = <0>; - - qcom,ion-heap@30 { /* SYSTEM HEAP */ - reg = <30>; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/highbank.dts b/kernel/arch/arm/boot/dts/lte_module-v1/highbank.dts deleted file mode 100755 index 83e72294a..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/highbank.dts +++ /dev/null @@ -1,209 +0,0 @@ -/* - * Copyright 2011 Calxeda, Inc. - * - * This program is free software; you can redistribute it and/or modify it - * under the terms and conditions of the GNU General Public License, - * version 2, as published by the Free Software Foundation. - * - * This program is distributed in the hope 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. - * - * You should have received a copy of the GNU General Public License along with - * this program. If not, see . - */ - -/dts-v1/; - -/* First 4KB has pen for secondary cores. */ -/memreserve/ 0x00000000 0x0001000; - -/ { - model = "Calxeda Highbank"; - compatible = "calxeda,highbank"; - #address-cells = <1>; - #size-cells = <1>; - - cpus { - #address-cells = <1>; - #size-cells = <0>; - - cpu@0 { - compatible = "arm,cortex-a9"; - reg = <0>; - next-level-cache = <&L2>; - }; - - cpu@1 { - compatible = "arm,cortex-a9"; - reg = <1>; - next-level-cache = <&L2>; - }; - - cpu@2 { - compatible = "arm,cortex-a9"; - reg = <2>; - next-level-cache = <&L2>; - }; - - cpu@3 { - compatible = "arm,cortex-a9"; - reg = <3>; - next-level-cache = <&L2>; - }; - }; - - memory { - name = "memory"; - device_type = "memory"; - reg = <0x00000000 0xff900000>; - }; - - chosen { - bootargs = "console=ttyAMA0"; - }; - - soc { - #address-cells = <1>; - #size-cells = <1>; - compatible = "simple-bus"; - interrupt-parent = <&intc>; - ranges; - - timer@fff10600 { - compatible = "arm,cortex-a9-twd-timer"; - reg = <0xfff10600 0x20>; - interrupts = <1 13 0xf01>; - }; - - watchdog@fff10620 { - compatible = "arm,cortex-a9-twd-wdt"; - reg = <0xfff10620 0x20>; - interrupts = <1 14 0xf01>; - }; - - intc: interrupt-controller@fff11000 { - compatible = "arm,cortex-a9-gic"; - #interrupt-cells = <3>; - #size-cells = <0>; - #address-cells = <1>; - interrupt-controller; - reg = <0xfff11000 0x1000>, - <0xfff10100 0x100>; - }; - - L2: l2-cache { - compatible = "arm,pl310-cache"; - reg = <0xfff12000 0x1000>; - interrupts = <0 70 4>; - cache-unified; - cache-level = <2>; - }; - - pmu { - compatible = "arm,cortex-a9-pmu"; - interrupts = <0 76 4 0 75 4 0 74 4 0 73 4>; - }; - - sata@ffe08000 { - compatible = "calxeda,hb-ahci"; - reg = <0xffe08000 0x10000>; - interrupts = <0 83 4>; - }; - - sdhci@ffe0e000 { - compatible = "calxeda,hb-sdhci"; - reg = <0xffe0e000 0x1000>; - interrupts = <0 90 4>; - }; - - ipc@fff20000 { - compatible = "arm,pl320", "arm,primecell"; - reg = <0xfff20000 0x1000>; - interrupts = <0 7 4>; - }; - - gpioe: gpio@fff30000 { - #gpio-cells = <2>; - compatible = "arm,pl061", "arm,primecell"; - gpio-controller; - reg = <0xfff30000 0x1000>; - interrupts = <0 14 4>; - }; - - gpiof: gpio@fff31000 { - #gpio-cells = <2>; - compatible = "arm,pl061", "arm,primecell"; - gpio-controller; - reg = <0xfff31000 0x1000>; - interrupts = <0 15 4>; - }; - - gpiog: gpio@fff32000 { - #gpio-cells = <2>; - compatible = "arm,pl061", "arm,primecell"; - gpio-controller; - reg = <0xfff32000 0x1000>; - interrupts = <0 16 4>; - }; - - gpioh: gpio@fff33000 { - #gpio-cells = <2>; - compatible = "arm,pl061", "arm,primecell"; - gpio-controller; - reg = <0xfff33000 0x1000>; - interrupts = <0 17 4>; - }; - - timer { - compatible = "arm,sp804", "arm,primecell"; - reg = <0xfff34000 0x1000>; - interrupts = <0 18 4>; - }; - - rtc@fff35000 { - compatible = "arm,pl031", "arm,primecell"; - reg = <0xfff35000 0x1000>; - interrupts = <0 19 4>; - }; - - serial@fff36000 { - compatible = "arm,pl011", "arm,primecell"; - reg = <0xfff36000 0x1000>; - interrupts = <0 20 4>; - }; - - smic@fff3a000 { - compatible = "ipmi-smic"; - device_type = "ipmi"; - reg = <0xfff3a000 0x1000>; - interrupts = <0 24 4>; - reg-size = <4>; - reg-spacing = <4>; - }; - - sregs@fff3c000 { - compatible = "calxeda,hb-sregs"; - reg = <0xfff3c000 0x1000>; - }; - - dma@fff3d000 { - compatible = "arm,pl330", "arm,primecell"; - reg = <0xfff3d000 0x1000>; - interrupts = <0 92 4>; - }; - - ethernet@fff50000 { - compatible = "calxeda,hb-xgmac"; - reg = <0xfff50000 0x1000>; - interrupts = <0 77 4 0 78 4 0 79 4>; - }; - - ethernet@fff51000 { - compatible = "calxeda,hb-xgmac"; - reg = <0xfff51000 0x1000>; - interrupts = <0 80 4 0 81 4 0 82 4>; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/imx27-phytec-phycore.dts b/kernel/arch/arm/boot/dts/lte_module-v1/imx27-phytec-phycore.dts deleted file mode 100755 index a51a08fc2..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/imx27-phytec-phycore.dts +++ /dev/null @@ -1,76 +0,0 @@ -/* - * Copyright 2012 Sascha Hauer, Pengutronix - * - * The code contained herein is licensed under the GNU General Public - * License. You may obtain a copy of the GNU General Public License - * Version 2 or later at the following locations: - * - * http://www.opensource.org/licenses/gpl-license.html - * http://www.gnu.org/copyleft/gpl.html - */ - -/dts-v1/; -/include/ "imx27.dtsi" - -/ { - model = "Phytec pcm038"; - compatible = "phytec,imx27-pcm038", "fsl,imx27"; - - memory { - reg = <0x0 0x0>; - }; - - soc { - aipi@10000000 { /* aipi */ - - wdog@10002000 { - status = "okay"; - }; - - uart@1000a000 { - fsl,uart-has-rtscts; - status = "okay"; - }; - - uart@1000b000 { - fsl,uart-has-rtscts; - status = "okay"; - }; - - uart@1000c000 { - fsl,uart-has-rtscts; - status = "okay"; - }; - - fec@1002b000 { - status = "okay"; - }; - - i2c@1001d000 { - clock-frequency = <400000>; - status = "okay"; - at24@4c { - compatible = "at,24c32"; - pagesize = <32>; - reg = <0x52>; - }; - pcf8563@51 { - compatible = "nxp,pcf8563"; - reg = <0x51>; - }; - lm75@4a { - compatible = "national,lm75"; - reg = <0x4a>; - }; - }; - }; - }; - - nor_flash@c0000000 { - compatible = "cfi-flash"; - bank-width = <2>; - reg = <0xc0000000 0x02000000>; - #address-cells = <1>; - #size-cells = <1>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/imx27.dtsi b/kernel/arch/arm/boot/dts/lte_module-v1/imx27.dtsi deleted file mode 100755 index bc5e7d5dd..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/imx27.dtsi +++ /dev/null @@ -1,217 +0,0 @@ -/* - * Copyright 2012 Sascha Hauer, Pengutronix - * - * The code contained herein is licensed under the GNU General Public - * License. You may obtain a copy of the GNU General Public License - * Version 2 or later at the following locations: - * - * http://www.opensource.org/licenses/gpl-license.html - * http://www.gnu.org/copyleft/gpl.html - */ - -/include/ "skeleton.dtsi" - -/ { - aliases { - serial0 = &uart1; - serial1 = &uart2; - serial2 = &uart3; - serial3 = &uart4; - serial4 = &uart5; - serial5 = &uart6; - }; - - avic: avic-interrupt-controller@e0000000 { - compatible = "fsl,imx27-avic", "fsl,avic"; - interrupt-controller; - #interrupt-cells = <1>; - reg = <0x10040000 0x1000>; - }; - - clocks { - #address-cells = <1>; - #size-cells = <0>; - - osc26m { - compatible = "fsl,imx-osc26m", "fixed-clock"; - clock-frequency = <26000000>; - }; - }; - - soc { - #address-cells = <1>; - #size-cells = <1>; - compatible = "simple-bus"; - interrupt-parent = <&avic>; - ranges; - - aipi@10000000 { /* AIPI1 */ - compatible = "fsl,aipi-bus", "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0x10000000 0x10000000>; - ranges; - - wdog@10002000 { - compatible = "fsl,imx27-wdt", "fsl,imx21-wdt"; - reg = <0x10002000 0x4000>; - interrupts = <27>; - status = "disabled"; - }; - - uart1: uart@1000a000 { - compatible = "fsl,imx27-uart", "fsl,imx21-uart"; - reg = <0x1000a000 0x1000>; - interrupts = <20>; - status = "disabled"; - }; - - uart2: uart@1000b000 { - compatible = "fsl,imx27-uart", "fsl,imx21-uart"; - reg = <0x1000b000 0x1000>; - interrupts = <19>; - status = "disabled"; - }; - - uart3: uart@1000c000 { - compatible = "fsl,imx27-uart", "fsl,imx21-uart"; - reg = <0x1000c000 0x1000>; - interrupts = <18>; - status = "disabled"; - }; - - uart4: uart@1000d000 { - compatible = "fsl,imx27-uart", "fsl,imx21-uart"; - reg = <0x1000d000 0x1000>; - interrupts = <17>; - status = "disabled"; - }; - - cspi1: cspi@1000e000 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx27-cspi"; - reg = <0x1000e000 0x1000>; - interrupts = <16>; - status = "disabled"; - }; - - cspi2: cspi@1000f000 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx27-cspi"; - reg = <0x1000f000 0x1000>; - interrupts = <15>; - status = "disabled"; - }; - - i2c1: i2c@10012000 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx27-i2c", "fsl,imx1-i2c"; - reg = <0x10012000 0x1000>; - interrupts = <12>; - status = "disabled"; - }; - - gpio1: gpio@10015000 { - compatible = "fsl,imx27-gpio", "fsl,imx21-gpio"; - reg = <0x10015000 0x100>; - interrupts = <8>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - gpio2: gpio@10015100 { - compatible = "fsl,imx27-gpio", "fsl,imx21-gpio"; - reg = <0x10015100 0x100>; - interrupts = <8>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - gpio3: gpio@10015200 { - compatible = "fsl,imx27-gpio", "fsl,imx21-gpio"; - reg = <0x10015200 0x100>; - interrupts = <8>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - gpio4: gpio@10015300 { - compatible = "fsl,imx27-gpio", "fsl,imx21-gpio"; - reg = <0x10015300 0x100>; - interrupts = <8>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - gpio5: gpio@10015400 { - compatible = "fsl,imx27-gpio", "fsl,imx21-gpio"; - reg = <0x10015400 0x100>; - interrupts = <8>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - gpio6: gpio@10015500 { - compatible = "fsl,imx27-gpio", "fsl,imx21-gpio"; - reg = <0x10015500 0x100>; - interrupts = <8>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - cspi3: cspi@10017000 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx27-cspi"; - reg = <0x10017000 0x1000>; - interrupts = <6>; - status = "disabled"; - }; - - uart5: uart@1001b000 { - compatible = "fsl,imx27-uart", "fsl,imx21-uart"; - reg = <0x1001b000 0x1000>; - interrupts = <49>; - status = "disabled"; - }; - - uart6: uart@1001c000 { - compatible = "fsl,imx27-uart", "fsl,imx21-uart"; - reg = <0x1001c000 0x1000>; - interrupts = <48>; - status = "disabled"; - }; - - i2c2: i2c@1001d000 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx27-i2c", "fsl,imx1-i2c"; - reg = <0x1001d000 0x1000>; - interrupts = <1>; - status = "disabled"; - }; - - fec: fec@1002b000 { - compatible = "fsl,imx27-fec"; - reg = <0x1002b000 0x4000>; - interrupts = <50>; - status = "disabled"; - }; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/imx51-babbage.dts b/kernel/arch/arm/boot/dts/lte_module-v1/imx51-babbage.dts deleted file mode 100755 index 9949e6060..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/imx51-babbage.dts +++ /dev/null @@ -1,221 +0,0 @@ -/* - * Copyright 2011 Freescale Semiconductor, Inc. - * Copyright 2011 Linaro Ltd. - * - * The code contained herein is licensed under the GNU General Public - * License. You may obtain a copy of the GNU General Public License - * Version 2 or later at the following locations: - * - * http://www.opensource.org/licenses/gpl-license.html - * http://www.gnu.org/copyleft/gpl.html - */ - -/dts-v1/; -/include/ "imx51.dtsi" - -/ { - model = "Freescale i.MX51 Babbage Board"; - compatible = "fsl,imx51-babbage", "fsl,imx51"; - - chosen { - bootargs = "console=ttymxc0,115200 root=/dev/mmcblk0p3 rootwait"; - }; - - memory { - reg = <0x90000000 0x20000000>; - }; - - soc { - aips@70000000 { /* aips-1 */ - spba@70000000 { - esdhc@70004000 { /* ESDHC1 */ - fsl,cd-internal; - fsl,wp-internal; - status = "okay"; - }; - - esdhc@70008000 { /* ESDHC2 */ - cd-gpios = <&gpio1 6 0>; - wp-gpios = <&gpio1 5 0>; - status = "okay"; - }; - - uart3: uart@7000c000 { - fsl,uart-has-rtscts; - status = "okay"; - }; - - ecspi@70010000 { /* ECSPI1 */ - fsl,spi-num-chipselects = <2>; - cs-gpios = <&gpio4 24 0>, <&gpio4 25 0>; - status = "okay"; - - pmic: mc13892@0 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,mc13892"; - spi-max-frequency = <6000000>; - reg = <0>; - interrupt-parent = <&gpio1>; - interrupts = <8>; - - regulators { - sw1_reg: sw1 { - regulator-min-microvolt = <600000>; - regulator-max-microvolt = <1375000>; - regulator-boot-on; - regulator-always-on; - }; - - sw2_reg: sw2 { - regulator-min-microvolt = <900000>; - regulator-max-microvolt = <1850000>; - regulator-boot-on; - regulator-always-on; - }; - - sw3_reg: sw3 { - regulator-min-microvolt = <1100000>; - regulator-max-microvolt = <1850000>; - regulator-boot-on; - regulator-always-on; - }; - - sw4_reg: sw4 { - regulator-min-microvolt = <1100000>; - regulator-max-microvolt = <1850000>; - regulator-boot-on; - regulator-always-on; - }; - - vpll_reg: vpll { - regulator-min-microvolt = <1050000>; - regulator-max-microvolt = <1800000>; - regulator-boot-on; - regulator-always-on; - }; - - vdig_reg: vdig { - regulator-min-microvolt = <1650000>; - regulator-max-microvolt = <1650000>; - regulator-boot-on; - }; - - vsd_reg: vsd { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <3150000>; - }; - - vusb2_reg: vusb2 { - regulator-min-microvolt = <2400000>; - regulator-max-microvolt = <2775000>; - regulator-boot-on; - regulator-always-on; - }; - - vvideo_reg: vvideo { - regulator-min-microvolt = <2775000>; - regulator-max-microvolt = <2775000>; - }; - - vaudio_reg: vaudio { - regulator-min-microvolt = <2300000>; - regulator-max-microvolt = <3000000>; - }; - - vcam_reg: vcam { - regulator-min-microvolt = <2500000>; - regulator-max-microvolt = <3000000>; - }; - - vgen1_reg: vgen1 { - regulator-min-microvolt = <1200000>; - regulator-max-microvolt = <1200000>; - }; - - vgen2_reg: vgen2 { - regulator-min-microvolt = <1200000>; - regulator-max-microvolt = <3150000>; - regulator-always-on; - }; - - vgen3_reg: vgen3 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <2900000>; - regulator-always-on; - }; - }; - }; - - flash: at45db321d@1 { - #address-cells = <1>; - #size-cells = <1>; - compatible = "atmel,at45db321d", "atmel,at45", "atmel,dataflash"; - spi-max-frequency = <25000000>; - reg = <1>; - - partition@0 { - label = "U-Boot"; - reg = <0x0 0x40000>; - read-only; - }; - - partition@40000 { - label = "Kernel"; - reg = <0x40000 0x3c0000>; - }; - }; - }; - }; - - wdog@73f98000 { /* WDOG1 */ - status = "okay"; - }; - - iomuxc@73fa8000 { - compatible = "fsl,imx51-iomuxc-babbage"; - reg = <0x73fa8000 0x4000>; - }; - - uart1: uart@73fbc000 { - fsl,uart-has-rtscts; - status = "okay"; - }; - - uart2: uart@73fc0000 { - status = "okay"; - }; - }; - - aips@80000000 { /* aips-2 */ - sdma@83fb0000 { - fsl,sdma-ram-script-name = "imx/sdma/sdma-imx51.bin"; - }; - - i2c@83fc4000 { /* I2C2 */ - status = "okay"; - - codec: sgtl5000@0a { - compatible = "fsl,sgtl5000"; - reg = <0x0a>; - }; - }; - - fec@83fec000 { - phy-mode = "mii"; - status = "okay"; - }; - }; - }; - - gpio-keys { - compatible = "gpio-keys"; - - power { - label = "Power Button"; - gpios = <&gpio2 21 0>; - linux,code = <116>; /* KEY_POWER */ - gpio-key,wakeup; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/imx51.dtsi b/kernel/arch/arm/boot/dts/lte_module-v1/imx51.dtsi deleted file mode 100755 index 6663986fe..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/imx51.dtsi +++ /dev/null @@ -1,246 +0,0 @@ -/* - * Copyright 2011 Freescale Semiconductor, Inc. - * Copyright 2011 Linaro Ltd. - * - * The code contained herein is licensed under the GNU General Public - * License. You may obtain a copy of the GNU General Public License - * Version 2 or later at the following locations: - * - * http://www.opensource.org/licenses/gpl-license.html - * http://www.gnu.org/copyleft/gpl.html - */ - -/include/ "skeleton.dtsi" - -/ { - aliases { - serial0 = &uart1; - serial1 = &uart2; - serial2 = &uart3; - }; - - tzic: tz-interrupt-controller@e0000000 { - compatible = "fsl,imx51-tzic", "fsl,tzic"; - interrupt-controller; - #interrupt-cells = <1>; - reg = <0xe0000000 0x4000>; - }; - - clocks { - #address-cells = <1>; - #size-cells = <0>; - - ckil { - compatible = "fsl,imx-ckil", "fixed-clock"; - clock-frequency = <32768>; - }; - - ckih1 { - compatible = "fsl,imx-ckih1", "fixed-clock"; - clock-frequency = <22579200>; - }; - - ckih2 { - compatible = "fsl,imx-ckih2", "fixed-clock"; - clock-frequency = <0>; - }; - - osc { - compatible = "fsl,imx-osc", "fixed-clock"; - clock-frequency = <24000000>; - }; - }; - - soc { - #address-cells = <1>; - #size-cells = <1>; - compatible = "simple-bus"; - interrupt-parent = <&tzic>; - ranges; - - aips@70000000 { /* AIPS1 */ - compatible = "fsl,aips-bus", "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0x70000000 0x10000000>; - ranges; - - spba@70000000 { - compatible = "fsl,spba-bus", "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0x70000000 0x40000>; - ranges; - - esdhc@70004000 { /* ESDHC1 */ - compatible = "fsl,imx51-esdhc"; - reg = <0x70004000 0x4000>; - interrupts = <1>; - status = "disabled"; - }; - - esdhc@70008000 { /* ESDHC2 */ - compatible = "fsl,imx51-esdhc"; - reg = <0x70008000 0x4000>; - interrupts = <2>; - status = "disabled"; - }; - - uart3: uart@7000c000 { - compatible = "fsl,imx51-uart", "fsl,imx21-uart"; - reg = <0x7000c000 0x4000>; - interrupts = <33>; - status = "disabled"; - }; - - ecspi@70010000 { /* ECSPI1 */ - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx51-ecspi"; - reg = <0x70010000 0x4000>; - interrupts = <36>; - status = "disabled"; - }; - - esdhc@70020000 { /* ESDHC3 */ - compatible = "fsl,imx51-esdhc"; - reg = <0x70020000 0x4000>; - interrupts = <3>; - status = "disabled"; - }; - - esdhc@70024000 { /* ESDHC4 */ - compatible = "fsl,imx51-esdhc"; - reg = <0x70024000 0x4000>; - interrupts = <4>; - status = "disabled"; - }; - }; - - gpio1: gpio@73f84000 { - compatible = "fsl,imx51-gpio", "fsl,imx31-gpio"; - reg = <0x73f84000 0x4000>; - interrupts = <50 51>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - gpio2: gpio@73f88000 { - compatible = "fsl,imx51-gpio", "fsl,imx31-gpio"; - reg = <0x73f88000 0x4000>; - interrupts = <52 53>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - gpio3: gpio@73f8c000 { - compatible = "fsl,imx51-gpio", "fsl,imx31-gpio"; - reg = <0x73f8c000 0x4000>; - interrupts = <54 55>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - gpio4: gpio@73f90000 { - compatible = "fsl,imx51-gpio", "fsl,imx31-gpio"; - reg = <0x73f90000 0x4000>; - interrupts = <56 57>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - wdog@73f98000 { /* WDOG1 */ - compatible = "fsl,imx51-wdt", "fsl,imx21-wdt"; - reg = <0x73f98000 0x4000>; - interrupts = <58>; - status = "disabled"; - }; - - wdog@73f9c000 { /* WDOG2 */ - compatible = "fsl,imx51-wdt", "fsl,imx21-wdt"; - reg = <0x73f9c000 0x4000>; - interrupts = <59>; - status = "disabled"; - }; - - uart1: uart@73fbc000 { - compatible = "fsl,imx51-uart", "fsl,imx21-uart"; - reg = <0x73fbc000 0x4000>; - interrupts = <31>; - status = "disabled"; - }; - - uart2: uart@73fc0000 { - compatible = "fsl,imx51-uart", "fsl,imx21-uart"; - reg = <0x73fc0000 0x4000>; - interrupts = <32>; - status = "disabled"; - }; - }; - - aips@80000000 { /* AIPS2 */ - compatible = "fsl,aips-bus", "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0x80000000 0x10000000>; - ranges; - - ecspi@83fac000 { /* ECSPI2 */ - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx51-ecspi"; - reg = <0x83fac000 0x4000>; - interrupts = <37>; - status = "disabled"; - }; - - sdma@83fb0000 { - compatible = "fsl,imx51-sdma", "fsl,imx35-sdma"; - reg = <0x83fb0000 0x4000>; - interrupts = <6>; - }; - - cspi@83fc0000 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx51-cspi", "fsl,imx35-cspi"; - reg = <0x83fc0000 0x4000>; - interrupts = <38>; - status = "disabled"; - }; - - i2c@83fc4000 { /* I2C2 */ - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx51-i2c", "fsl,imx1-i2c"; - reg = <0x83fc4000 0x4000>; - interrupts = <63>; - status = "disabled"; - }; - - i2c@83fc8000 { /* I2C1 */ - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx51-i2c", "fsl,imx1-i2c"; - reg = <0x83fc8000 0x4000>; - interrupts = <62>; - status = "disabled"; - }; - - fec@83fec000 { - compatible = "fsl,imx51-fec", "fsl,imx27-fec"; - reg = <0x83fec000 0x4000>; - interrupts = <87>; - status = "disabled"; - }; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/imx53-ard.dts b/kernel/arch/arm/boot/dts/lte_module-v1/imx53-ard.dts deleted file mode 100755 index 2dccce46e..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/imx53-ard.dts +++ /dev/null @@ -1,113 +0,0 @@ -/* - * Copyright 2011 Freescale Semiconductor, Inc. - * Copyright 2011 Linaro Ltd. - * - * The code contained herein is licensed under the GNU General Public - * License. You may obtain a copy of the GNU General Public License - * Version 2 or later at the following locations: - * - * http://www.opensource.org/licenses/gpl-license.html - * http://www.gnu.org/copyleft/gpl.html - */ - -/dts-v1/; -/include/ "imx53.dtsi" - -/ { - model = "Freescale i.MX53 Automotive Reference Design Board"; - compatible = "fsl,imx53-ard", "fsl,imx53"; - - chosen { - bootargs = "console=ttymxc0,115200 root=/dev/mmcblk0p3 rootwait"; - }; - - memory { - reg = <0x70000000 0x40000000>; - }; - - soc { - aips@50000000 { /* AIPS1 */ - spba@50000000 { - esdhc@50004000 { /* ESDHC1 */ - cd-gpios = <&gpio1 1 0>; - wp-gpios = <&gpio1 9 0>; - status = "okay"; - }; - }; - - wdog@53f98000 { /* WDOG1 */ - status = "okay"; - }; - - iomuxc@53fa8000 { - compatible = "fsl,imx53-iomuxc-ard"; - reg = <0x53fa8000 0x4000>; - }; - - uart1: uart@53fbc000 { - status = "okay"; - }; - }; - - aips@60000000 { /* AIPS2 */ - sdma@63fb0000 { - fsl,sdma-ram-script-name = "imx/sdma/sdma-imx53.bin"; - }; - }; - }; - - eim-cs1@f4000000 { - #address-cells = <1>; - #size-cells = <1>; - compatible = "fsl,eim-bus", "simple-bus"; - reg = <0xf4000000 0x3ff0000>; - ranges; - - lan9220@f4000000 { - compatible = "smsc,lan9220", "smsc,lan9115"; - reg = <0xf4000000 0x2000000>; - phy-mode = "mii"; - interrupt-parent = <&gpio2>; - interrupts = <31>; - reg-io-width = <4>; - smsc,irq-push-pull; - }; - }; - - gpio-keys { - compatible = "gpio-keys"; - - home { - label = "Home"; - gpios = <&gpio5 10 0>; - linux,code = <102>; /* KEY_HOME */ - gpio-key,wakeup; - }; - - back { - label = "Back"; - gpios = <&gpio5 11 0>; - linux,code = <158>; /* KEY_BACK */ - gpio-key,wakeup; - }; - - program { - label = "Program"; - gpios = <&gpio5 12 0>; - linux,code = <362>; /* KEY_PROGRAM */ - gpio-key,wakeup; - }; - - volume-up { - label = "Volume Up"; - gpios = <&gpio5 13 0>; - linux,code = <115>; /* KEY_VOLUMEUP */ - }; - - volume-down { - label = "Volume Down"; - gpios = <&gpio4 0 0>; - linux,code = <114>; /* KEY_VOLUMEDOWN */ - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/imx53-evk.dts b/kernel/arch/arm/boot/dts/lte_module-v1/imx53-evk.dts deleted file mode 100755 index 5bac4aa48..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/imx53-evk.dts +++ /dev/null @@ -1,119 +0,0 @@ -/* - * Copyright 2011 Freescale Semiconductor, Inc. - * Copyright 2011 Linaro Ltd. - * - * The code contained herein is licensed under the GNU General Public - * License. You may obtain a copy of the GNU General Public License - * Version 2 or later at the following locations: - * - * http://www.opensource.org/licenses/gpl-license.html - * http://www.gnu.org/copyleft/gpl.html - */ - -/dts-v1/; -/include/ "imx53.dtsi" - -/ { - model = "Freescale i.MX53 Evaluation Kit"; - compatible = "fsl,imx53-evk", "fsl,imx53"; - - chosen { - bootargs = "console=ttymxc0,115200 root=/dev/mmcblk0p3 rootwait"; - }; - - memory { - reg = <0x70000000 0x80000000>; - }; - - soc { - aips@50000000 { /* AIPS1 */ - spba@50000000 { - esdhc@50004000 { /* ESDHC1 */ - cd-gpios = <&gpio3 13 0>; - wp-gpios = <&gpio3 14 0>; - status = "okay"; - }; - - ecspi@50010000 { /* ECSPI1 */ - fsl,spi-num-chipselects = <2>; - cs-gpios = <&gpio2 30 0>, <&gpio3 19 0>; - status = "okay"; - - flash: at45db321d@1 { - #address-cells = <1>; - #size-cells = <1>; - compatible = "atmel,at45db321d", "atmel,at45", "atmel,dataflash"; - spi-max-frequency = <25000000>; - reg = <1>; - - partition@0 { - label = "U-Boot"; - reg = <0x0 0x40000>; - read-only; - }; - - partition@40000 { - label = "Kernel"; - reg = <0x40000 0x3c0000>; - }; - }; - }; - - esdhc@50020000 { /* ESDHC3 */ - cd-gpios = <&gpio3 11 0>; - wp-gpios = <&gpio3 12 0>; - status = "okay"; - }; - }; - - wdog@53f98000 { /* WDOG1 */ - status = "okay"; - }; - - iomuxc@53fa8000 { - compatible = "fsl,imx53-iomuxc-evk"; - reg = <0x53fa8000 0x4000>; - }; - - uart1: uart@53fbc000 { - status = "okay"; - }; - }; - - aips@60000000 { /* AIPS2 */ - sdma@63fb0000 { - fsl,sdma-ram-script-name = "imx/sdma/sdma-imx53.bin"; - }; - - i2c@63fc4000 { /* I2C2 */ - status = "okay"; - - pmic: mc13892@08 { - compatible = "fsl,mc13892", "fsl,mc13xxx"; - reg = <0x08>; - }; - - codec: sgtl5000@0a { - compatible = "fsl,sgtl5000"; - reg = <0x0a>; - }; - }; - - fec@63fec000 { - phy-mode = "rmii"; - phy-reset-gpios = <&gpio7 6 0>; - status = "okay"; - }; - }; - }; - - leds { - compatible = "gpio-leds"; - - green { - label = "Heartbeat"; - gpios = <&gpio7 7 0>; - linux,default-trigger = "heartbeat"; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/imx53-qsb.dts b/kernel/arch/arm/boot/dts/lte_module-v1/imx53-qsb.dts deleted file mode 100755 index 5c57c8672..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/imx53-qsb.dts +++ /dev/null @@ -1,125 +0,0 @@ -/* - * Copyright 2011 Freescale Semiconductor, Inc. - * Copyright 2011 Linaro Ltd. - * - * The code contained herein is licensed under the GNU General Public - * License. You may obtain a copy of the GNU General Public License - * Version 2 or later at the following locations: - * - * http://www.opensource.org/licenses/gpl-license.html - * http://www.gnu.org/copyleft/gpl.html - */ - -/dts-v1/; -/include/ "imx53.dtsi" - -/ { - model = "Freescale i.MX53 Quick Start Board"; - compatible = "fsl,imx53-qsb", "fsl,imx53"; - - chosen { - bootargs = "console=ttymxc0,115200 root=/dev/mmcblk0p3 rootwait"; - }; - - memory { - reg = <0x70000000 0x40000000>; - }; - - soc { - aips@50000000 { /* AIPS1 */ - spba@50000000 { - esdhc@50004000 { /* ESDHC1 */ - cd-gpios = <&gpio3 13 0>; - status = "okay"; - }; - - esdhc@50020000 { /* ESDHC3 */ - cd-gpios = <&gpio3 11 0>; - wp-gpios = <&gpio3 12 0>; - status = "okay"; - }; - }; - - wdog@53f98000 { /* WDOG1 */ - status = "okay"; - }; - - iomuxc@53fa8000 { - compatible = "fsl,imx53-iomuxc-qsb"; - reg = <0x53fa8000 0x4000>; - }; - - uart1: uart@53fbc000 { - status = "okay"; - }; - }; - - aips@60000000 { /* AIPS2 */ - sdma@63fb0000 { - fsl,sdma-ram-script-name = "imx/sdma/sdma-imx53.bin"; - }; - - i2c@63fc4000 { /* I2C2 */ - status = "okay"; - - codec: sgtl5000@0a { - compatible = "fsl,sgtl5000"; - reg = <0x0a>; - }; - }; - - i2c@63fc8000 { /* I2C1 */ - status = "okay"; - - accelerometer: mma8450@1c { - compatible = "fsl,mma8450"; - reg = <0x1c>; - }; - - pmic: dialog@48 { - compatible = "dialog,da9053", "dialog,da9052"; - reg = <0x48>; - }; - }; - - fec@63fec000 { - phy-mode = "rmii"; - phy-reset-gpios = <&gpio7 6 0>; - status = "okay"; - }; - }; - }; - - gpio-keys { - compatible = "gpio-keys"; - - power { - label = "Power Button"; - gpios = <&gpio1 8 0>; - linux,code = <116>; /* KEY_POWER */ - gpio-key,wakeup; - }; - - volume-up { - label = "Volume Up"; - gpios = <&gpio2 14 0>; - linux,code = <115>; /* KEY_VOLUMEUP */ - }; - - volume-down { - label = "Volume Down"; - gpios = <&gpio2 15 0>; - linux,code = <114>; /* KEY_VOLUMEDOWN */ - }; - }; - - leds { - compatible = "gpio-leds"; - - user { - label = "Heartbeat"; - gpios = <&gpio7 7 0>; - linux,default-trigger = "heartbeat"; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/imx53-smd.dts b/kernel/arch/arm/boot/dts/lte_module-v1/imx53-smd.dts deleted file mode 100755 index c7ee86c2d..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/imx53-smd.dts +++ /dev/null @@ -1,168 +0,0 @@ -/* - * Copyright 2011 Freescale Semiconductor, Inc. - * Copyright 2011 Linaro Ltd. - * - * The code contained herein is licensed under the GNU General Public - * License. You may obtain a copy of the GNU General Public License - * Version 2 or later at the following locations: - * - * http://www.opensource.org/licenses/gpl-license.html - * http://www.gnu.org/copyleft/gpl.html - */ - -/dts-v1/; -/include/ "imx53.dtsi" - -/ { - model = "Freescale i.MX53 Smart Mobile Reference Design Board"; - compatible = "fsl,imx53-smd", "fsl,imx53"; - - chosen { - bootargs = "console=ttymxc0,115200 root=/dev/mmcblk0p3 rootwait"; - }; - - memory { - reg = <0x70000000 0x40000000>; - }; - - soc { - aips@50000000 { /* AIPS1 */ - spba@50000000 { - esdhc@50004000 { /* ESDHC1 */ - cd-gpios = <&gpio3 13 0>; - wp-gpios = <&gpio4 11 0>; - status = "okay"; - }; - - esdhc@50008000 { /* ESDHC2 */ - fsl,card-wired; - status = "okay"; - }; - - uart3: uart@5000c000 { - fsl,uart-has-rtscts; - status = "okay"; - }; - - ecspi@50010000 { /* ECSPI1 */ - fsl,spi-num-chipselects = <2>; - cs-gpios = <&gpio2 30 0>, <&gpio3 19 0>; - status = "okay"; - - zigbee: mc1323@0 { - compatible = "fsl,mc1323"; - spi-max-frequency = <8000000>; - reg = <0>; - }; - - flash: m25p32@1 { - #address-cells = <1>; - #size-cells = <1>; - compatible = "st,m25p32", "st,m25p"; - spi-max-frequency = <20000000>; - reg = <1>; - - partition@0 { - label = "U-Boot"; - reg = <0x0 0x40000>; - read-only; - }; - - partition@40000 { - label = "Kernel"; - reg = <0x40000 0x3c0000>; - }; - }; - }; - - esdhc@50020000 { /* ESDHC3 */ - fsl,card-wired; - status = "okay"; - }; - }; - - wdog@53f98000 { /* WDOG1 */ - status = "okay"; - }; - - iomuxc@53fa8000 { - compatible = "fsl,imx53-iomuxc-smd"; - reg = <0x53fa8000 0x4000>; - }; - - uart1: uart@53fbc000 { - status = "okay"; - }; - - uart2: uart@53fc0000 { - status = "okay"; - }; - }; - - aips@60000000 { /* AIPS2 */ - sdma@63fb0000 { - fsl,sdma-ram-script-name = "imx/sdma/sdma-imx53.bin"; - }; - - i2c@63fc4000 { /* I2C2 */ - status = "okay"; - - codec: sgtl5000@0a { - compatible = "fsl,sgtl5000"; - reg = <0x0a>; - }; - - magnetometer: mag3110@0e { - compatible = "fsl,mag3110"; - reg = <0x0e>; - }; - - touchkey: mpr121@5a { - compatible = "fsl,mpr121"; - reg = <0x5a>; - }; - }; - - i2c@63fc8000 { /* I2C1 */ - status = "okay"; - - accelerometer: mma8450@1c { - compatible = "fsl,mma8450"; - reg = <0x1c>; - }; - - camera: ov5642@3c { - compatible = "ovti,ov5642"; - reg = <0x3c>; - }; - - pmic: dialog@48 { - compatible = "dialog,da9053", "dialog,da9052"; - reg = <0x48>; - }; - }; - - fec@63fec000 { - phy-mode = "rmii"; - phy-reset-gpios = <&gpio7 6 0>; - status = "okay"; - }; - }; - }; - - gpio-keys { - compatible = "gpio-keys"; - - volume-up { - label = "Volume Up"; - gpios = <&gpio2 14 0>; - linux,code = <115>; /* KEY_VOLUMEUP */ - }; - - volume-down { - label = "Volume Down"; - gpios = <&gpio2 15 0>; - linux,code = <114>; /* KEY_VOLUMEDOWN */ - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/imx53.dtsi b/kernel/arch/arm/boot/dts/lte_module-v1/imx53.dtsi deleted file mode 100755 index 5dd91b942..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/imx53.dtsi +++ /dev/null @@ -1,301 +0,0 @@ -/* - * Copyright 2011 Freescale Semiconductor, Inc. - * Copyright 2011 Linaro Ltd. - * - * The code contained herein is licensed under the GNU General Public - * License. You may obtain a copy of the GNU General Public License - * Version 2 or later at the following locations: - * - * http://www.opensource.org/licenses/gpl-license.html - * http://www.gnu.org/copyleft/gpl.html - */ - -/include/ "skeleton.dtsi" - -/ { - aliases { - serial0 = &uart1; - serial1 = &uart2; - serial2 = &uart3; - serial3 = &uart4; - serial4 = &uart5; - }; - - tzic: tz-interrupt-controller@0fffc000 { - compatible = "fsl,imx53-tzic", "fsl,tzic"; - interrupt-controller; - #interrupt-cells = <1>; - reg = <0x0fffc000 0x4000>; - }; - - clocks { - #address-cells = <1>; - #size-cells = <0>; - - ckil { - compatible = "fsl,imx-ckil", "fixed-clock"; - clock-frequency = <32768>; - }; - - ckih1 { - compatible = "fsl,imx-ckih1", "fixed-clock"; - clock-frequency = <22579200>; - }; - - ckih2 { - compatible = "fsl,imx-ckih2", "fixed-clock"; - clock-frequency = <0>; - }; - - osc { - compatible = "fsl,imx-osc", "fixed-clock"; - clock-frequency = <24000000>; - }; - }; - - soc { - #address-cells = <1>; - #size-cells = <1>; - compatible = "simple-bus"; - interrupt-parent = <&tzic>; - ranges; - - aips@50000000 { /* AIPS1 */ - compatible = "fsl,aips-bus", "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0x50000000 0x10000000>; - ranges; - - spba@50000000 { - compatible = "fsl,spba-bus", "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0x50000000 0x40000>; - ranges; - - esdhc@50004000 { /* ESDHC1 */ - compatible = "fsl,imx53-esdhc"; - reg = <0x50004000 0x4000>; - interrupts = <1>; - status = "disabled"; - }; - - esdhc@50008000 { /* ESDHC2 */ - compatible = "fsl,imx53-esdhc"; - reg = <0x50008000 0x4000>; - interrupts = <2>; - status = "disabled"; - }; - - uart3: uart@5000c000 { - compatible = "fsl,imx53-uart", "fsl,imx21-uart"; - reg = <0x5000c000 0x4000>; - interrupts = <33>; - status = "disabled"; - }; - - ecspi@50010000 { /* ECSPI1 */ - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx53-ecspi", "fsl,imx51-ecspi"; - reg = <0x50010000 0x4000>; - interrupts = <36>; - status = "disabled"; - }; - - esdhc@50020000 { /* ESDHC3 */ - compatible = "fsl,imx53-esdhc"; - reg = <0x50020000 0x4000>; - interrupts = <3>; - status = "disabled"; - }; - - esdhc@50024000 { /* ESDHC4 */ - compatible = "fsl,imx53-esdhc"; - reg = <0x50024000 0x4000>; - interrupts = <4>; - status = "disabled"; - }; - }; - - gpio1: gpio@53f84000 { - compatible = "fsl,imx53-gpio", "fsl,imx31-gpio"; - reg = <0x53f84000 0x4000>; - interrupts = <50 51>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - gpio2: gpio@53f88000 { - compatible = "fsl,imx53-gpio", "fsl,imx31-gpio"; - reg = <0x53f88000 0x4000>; - interrupts = <52 53>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - gpio3: gpio@53f8c000 { - compatible = "fsl,imx53-gpio", "fsl,imx31-gpio"; - reg = <0x53f8c000 0x4000>; - interrupts = <54 55>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - gpio4: gpio@53f90000 { - compatible = "fsl,imx53-gpio", "fsl,imx31-gpio"; - reg = <0x53f90000 0x4000>; - interrupts = <56 57>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - wdog@53f98000 { /* WDOG1 */ - compatible = "fsl,imx53-wdt", "fsl,imx21-wdt"; - reg = <0x53f98000 0x4000>; - interrupts = <58>; - status = "disabled"; - }; - - wdog@53f9c000 { /* WDOG2 */ - compatible = "fsl,imx53-wdt", "fsl,imx21-wdt"; - reg = <0x53f9c000 0x4000>; - interrupts = <59>; - status = "disabled"; - }; - - uart1: uart@53fbc000 { - compatible = "fsl,imx53-uart", "fsl,imx21-uart"; - reg = <0x53fbc000 0x4000>; - interrupts = <31>; - status = "disabled"; - }; - - uart2: uart@53fc0000 { - compatible = "fsl,imx53-uart", "fsl,imx21-uart"; - reg = <0x53fc0000 0x4000>; - interrupts = <32>; - status = "disabled"; - }; - - gpio5: gpio@53fdc000 { - compatible = "fsl,imx53-gpio", "fsl,imx31-gpio"; - reg = <0x53fdc000 0x4000>; - interrupts = <103 104>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - gpio6: gpio@53fe0000 { - compatible = "fsl,imx53-gpio", "fsl,imx31-gpio"; - reg = <0x53fe0000 0x4000>; - interrupts = <105 106>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - gpio7: gpio@53fe4000 { - compatible = "fsl,imx53-gpio", "fsl,imx31-gpio"; - reg = <0x53fe4000 0x4000>; - interrupts = <107 108>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - i2c@53fec000 { /* I2C3 */ - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx53-i2c", "fsl,imx1-i2c"; - reg = <0x53fec000 0x4000>; - interrupts = <64>; - status = "disabled"; - }; - - uart4: uart@53ff0000 { - compatible = "fsl,imx53-uart", "fsl,imx21-uart"; - reg = <0x53ff0000 0x4000>; - interrupts = <13>; - status = "disabled"; - }; - }; - - aips@60000000 { /* AIPS2 */ - compatible = "fsl,aips-bus", "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0x60000000 0x10000000>; - ranges; - - uart5: uart@63f90000 { - compatible = "fsl,imx53-uart", "fsl,imx21-uart"; - reg = <0x63f90000 0x4000>; - interrupts = <86>; - status = "disabled"; - }; - - ecspi@63fac000 { /* ECSPI2 */ - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx53-ecspi", "fsl,imx51-ecspi"; - reg = <0x63fac000 0x4000>; - interrupts = <37>; - status = "disabled"; - }; - - sdma@63fb0000 { - compatible = "fsl,imx53-sdma", "fsl,imx35-sdma"; - reg = <0x63fb0000 0x4000>; - interrupts = <6>; - }; - - cspi@63fc0000 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx53-cspi", "fsl,imx35-cspi"; - reg = <0x63fc0000 0x4000>; - interrupts = <38>; - status = "disabled"; - }; - - i2c@63fc4000 { /* I2C2 */ - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx53-i2c", "fsl,imx1-i2c"; - reg = <0x63fc4000 0x4000>; - interrupts = <63>; - status = "disabled"; - }; - - i2c@63fc8000 { /* I2C1 */ - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx53-i2c", "fsl,imx1-i2c"; - reg = <0x63fc8000 0x4000>; - interrupts = <62>; - status = "disabled"; - }; - - fec@63fec000 { - compatible = "fsl,imx53-fec", "fsl,imx25-fec"; - reg = <0x63fec000 0x4000>; - interrupts = <87>; - status = "disabled"; - }; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/imx6q-arm2.dts b/kernel/arch/arm/boot/dts/lte_module-v1/imx6q-arm2.dts deleted file mode 100755 index ce1c8238c..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/imx6q-arm2.dts +++ /dev/null @@ -1,76 +0,0 @@ -/* - * Copyright 2011 Freescale Semiconductor, Inc. - * Copyright 2011 Linaro Ltd. - * - * The code contained herein is licensed under the GNU General Public - * License. You may obtain a copy of the GNU General Public License - * Version 2 or later at the following locations: - * - * http://www.opensource.org/licenses/gpl-license.html - * http://www.gnu.org/copyleft/gpl.html - */ - -/dts-v1/; -/include/ "imx6q.dtsi" - -/ { - model = "Freescale i.MX6 Quad Armadillo2 Board"; - compatible = "fsl,imx6q-arm2", "fsl,imx6q"; - - chosen { - bootargs = "console=ttymxc0,115200 root=/dev/mmcblk3p3 rootwait"; - }; - - memory { - reg = <0x10000000 0x80000000>; - }; - - soc { - aips-bus@02100000 { /* AIPS2 */ - enet@02188000 { - phy-mode = "rgmii"; - local-mac-address = [00 04 9F 01 1B 61]; - status = "okay"; - }; - - usdhc@02198000 { /* uSDHC3 */ - cd-gpios = <&gpio6 11 0>; - wp-gpios = <&gpio6 14 0>; - vmmc-supply = <®_3p3v>; - status = "okay"; - }; - - usdhc@0219c000 { /* uSDHC4 */ - fsl,card-wired; - vmmc-supply = <®_3p3v>; - status = "okay"; - }; - - uart4: uart@021f0000 { - status = "okay"; - }; - }; - }; - - regulators { - compatible = "simple-bus"; - - reg_3p3v: 3p3v { - compatible = "regulator-fixed"; - regulator-name = "3P3V"; - regulator-min-microvolt = <3300000>; - regulator-max-microvolt = <3300000>; - regulator-always-on; - }; - }; - - leds { - compatible = "gpio-leds"; - - debug-led { - label = "Heartbeat"; - gpios = <&gpio3 25 0>; - linux,default-trigger = "heartbeat"; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/imx6q-sabrelite.dts b/kernel/arch/arm/boot/dts/lte_module-v1/imx6q-sabrelite.dts deleted file mode 100755 index 4663a4e5a..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/imx6q-sabrelite.dts +++ /dev/null @@ -1,83 +0,0 @@ -/* - * Copyright 2011 Freescale Semiconductor, Inc. - * Copyright 2011 Linaro Ltd. - * - * The code contained herein is licensed under the GNU General Public - * License. You may obtain a copy of the GNU General Public License - * Version 2 or later at the following locations: - * - * http://www.opensource.org/licenses/gpl-license.html - * http://www.gnu.org/copyleft/gpl.html - */ - -/dts-v1/; -/include/ "imx6q.dtsi" - -/ { - model = "Freescale i.MX6 Quad SABRE Lite Board"; - compatible = "fsl,imx6q-sabrelite", "fsl,imx6q"; - - memory { - reg = <0x10000000 0x40000000>; - }; - - soc { - aips-bus@02100000 { /* AIPS2 */ - enet@02188000 { - phy-mode = "rgmii"; - phy-reset-gpios = <&gpio3 23 0>; - status = "okay"; - }; - - usdhc@02198000 { /* uSDHC3 */ - cd-gpios = <&gpio7 0 0>; - wp-gpios = <&gpio7 1 0>; - vmmc-supply = <®_3p3v>; - status = "okay"; - }; - - usdhc@0219c000 { /* uSDHC4 */ - cd-gpios = <&gpio2 6 0>; - wp-gpios = <&gpio2 7 0>; - vmmc-supply = <®_3p3v>; - status = "okay"; - }; - - uart2: uart@021e8000 { - status = "okay"; - }; - - i2c@021a0000 { /* I2C1 */ - status = "okay"; - clock-frequency = <100000>; - - codec: sgtl5000@0a { - compatible = "fsl,sgtl5000"; - reg = <0x0a>; - VDDA-supply = <®_2p5v>; - VDDIO-supply = <®_3p3v>; - }; - }; - }; - }; - - regulators { - compatible = "simple-bus"; - - reg_2p5v: 2p5v { - compatible = "regulator-fixed"; - regulator-name = "2P5V"; - regulator-min-microvolt = <2500000>; - regulator-max-microvolt = <2500000>; - regulator-always-on; - }; - - reg_3p3v: 3p3v { - compatible = "regulator-fixed"; - regulator-name = "3P3V"; - regulator-min-microvolt = <3300000>; - regulator-max-microvolt = <3300000>; - regulator-always-on; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/imx6q.dtsi b/kernel/arch/arm/boot/dts/lte_module-v1/imx6q.dtsi deleted file mode 100755 index 4905f51a1..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/imx6q.dtsi +++ /dev/null @@ -1,575 +0,0 @@ -/* - * Copyright 2011 Freescale Semiconductor, Inc. - * Copyright 2011 Linaro Ltd. - * - * The code contained herein is licensed under the GNU General Public - * License. You may obtain a copy of the GNU General Public License - * Version 2 or later at the following locations: - * - * http://www.opensource.org/licenses/gpl-license.html - * http://www.gnu.org/copyleft/gpl.html - */ - -/include/ "skeleton.dtsi" - -/ { - aliases { - serial0 = &uart1; - serial1 = &uart2; - serial2 = &uart3; - serial3 = &uart4; - serial4 = &uart5; - }; - - cpus { - #address-cells = <1>; - #size-cells = <0>; - - cpu@0 { - compatible = "arm,cortex-a9"; - reg = <0>; - next-level-cache = <&L2>; - }; - - cpu@1 { - compatible = "arm,cortex-a9"; - reg = <1>; - next-level-cache = <&L2>; - }; - - cpu@2 { - compatible = "arm,cortex-a9"; - reg = <2>; - next-level-cache = <&L2>; - }; - - cpu@3 { - compatible = "arm,cortex-a9"; - reg = <3>; - next-level-cache = <&L2>; - }; - }; - - intc: interrupt-controller@00a01000 { - compatible = "arm,cortex-a9-gic"; - #interrupt-cells = <3>; - #address-cells = <1>; - #size-cells = <1>; - interrupt-controller; - reg = <0x00a01000 0x1000>, - <0x00a00100 0x100>; - }; - - clocks { - #address-cells = <1>; - #size-cells = <0>; - - ckil { - compatible = "fsl,imx-ckil", "fixed-clock"; - clock-frequency = <32768>; - }; - - ckih1 { - compatible = "fsl,imx-ckih1", "fixed-clock"; - clock-frequency = <0>; - }; - - osc { - compatible = "fsl,imx-osc", "fixed-clock"; - clock-frequency = <24000000>; - }; - }; - - soc { - #address-cells = <1>; - #size-cells = <1>; - compatible = "simple-bus"; - interrupt-parent = <&intc>; - ranges; - - timer@00a00600 { - compatible = "arm,cortex-a9-twd-timer"; - reg = <0x00a00600 0x20>; - interrupts = <1 13 0xf01>; - }; - - L2: l2-cache@00a02000 { - compatible = "arm,pl310-cache"; - reg = <0x00a02000 0x1000>; - interrupts = <0 92 0x04>; - cache-unified; - cache-level = <2>; - }; - - aips-bus@02000000 { /* AIPS1 */ - compatible = "fsl,aips-bus", "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0x02000000 0x100000>; - ranges; - - spba-bus@02000000 { - compatible = "fsl,spba-bus", "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0x02000000 0x40000>; - ranges; - - spdif@02004000 { - reg = <0x02004000 0x4000>; - interrupts = <0 52 0x04>; - }; - - ecspi@02008000 { /* eCSPI1 */ - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx6q-ecspi", "fsl,imx51-ecspi"; - reg = <0x02008000 0x4000>; - interrupts = <0 31 0x04>; - status = "disabled"; - }; - - ecspi@0200c000 { /* eCSPI2 */ - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx6q-ecspi", "fsl,imx51-ecspi"; - reg = <0x0200c000 0x4000>; - interrupts = <0 32 0x04>; - status = "disabled"; - }; - - ecspi@02010000 { /* eCSPI3 */ - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx6q-ecspi", "fsl,imx51-ecspi"; - reg = <0x02010000 0x4000>; - interrupts = <0 33 0x04>; - status = "disabled"; - }; - - ecspi@02014000 { /* eCSPI4 */ - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx6q-ecspi", "fsl,imx51-ecspi"; - reg = <0x02014000 0x4000>; - interrupts = <0 34 0x04>; - status = "disabled"; - }; - - ecspi@02018000 { /* eCSPI5 */ - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx6q-ecspi", "fsl,imx51-ecspi"; - reg = <0x02018000 0x4000>; - interrupts = <0 35 0x04>; - status = "disabled"; - }; - - uart1: uart@02020000 { - compatible = "fsl,imx6q-uart", "fsl,imx21-uart"; - reg = <0x02020000 0x4000>; - interrupts = <0 26 0x04>; - status = "disabled"; - }; - - esai@02024000 { - reg = <0x02024000 0x4000>; - interrupts = <0 51 0x04>; - }; - - ssi@02028000 { /* SSI1 */ - reg = <0x02028000 0x4000>; - interrupts = <0 46 0x04>; - }; - - ssi@0202c000 { /* SSI2 */ - reg = <0x0202c000 0x4000>; - interrupts = <0 47 0x04>; - }; - - ssi@02030000 { /* SSI3 */ - reg = <0x02030000 0x4000>; - interrupts = <0 48 0x04>; - }; - - asrc@02034000 { - reg = <0x02034000 0x4000>; - interrupts = <0 50 0x04>; - }; - - spba@0203c000 { - reg = <0x0203c000 0x4000>; - }; - }; - - vpu@02040000 { - reg = <0x02040000 0x3c000>; - interrupts = <0 3 0x04 0 12 0x04>; - }; - - aipstz@0207c000 { /* AIPSTZ1 */ - reg = <0x0207c000 0x4000>; - }; - - pwm@02080000 { /* PWM1 */ - reg = <0x02080000 0x4000>; - interrupts = <0 83 0x04>; - }; - - pwm@02084000 { /* PWM2 */ - reg = <0x02084000 0x4000>; - interrupts = <0 84 0x04>; - }; - - pwm@02088000 { /* PWM3 */ - reg = <0x02088000 0x4000>; - interrupts = <0 85 0x04>; - }; - - pwm@0208c000 { /* PWM4 */ - reg = <0x0208c000 0x4000>; - interrupts = <0 86 0x04>; - }; - - flexcan@02090000 { /* CAN1 */ - reg = <0x02090000 0x4000>; - interrupts = <0 110 0x04>; - }; - - flexcan@02094000 { /* CAN2 */ - reg = <0x02094000 0x4000>; - interrupts = <0 111 0x04>; - }; - - gpt@02098000 { - compatible = "fsl,imx6q-gpt"; - reg = <0x02098000 0x4000>; - interrupts = <0 55 0x04>; - }; - - gpio1: gpio@0209c000 { - compatible = "fsl,imx6q-gpio", "fsl,imx31-gpio"; - reg = <0x0209c000 0x4000>; - interrupts = <0 66 0x04 0 67 0x04>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - gpio2: gpio@020a0000 { - compatible = "fsl,imx6q-gpio", "fsl,imx31-gpio"; - reg = <0x020a0000 0x4000>; - interrupts = <0 68 0x04 0 69 0x04>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - gpio3: gpio@020a4000 { - compatible = "fsl,imx6q-gpio", "fsl,imx31-gpio"; - reg = <0x020a4000 0x4000>; - interrupts = <0 70 0x04 0 71 0x04>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - gpio4: gpio@020a8000 { - compatible = "fsl,imx6q-gpio", "fsl,imx31-gpio"; - reg = <0x020a8000 0x4000>; - interrupts = <0 72 0x04 0 73 0x04>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - gpio5: gpio@020ac000 { - compatible = "fsl,imx6q-gpio", "fsl,imx31-gpio"; - reg = <0x020ac000 0x4000>; - interrupts = <0 74 0x04 0 75 0x04>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - gpio6: gpio@020b0000 { - compatible = "fsl,imx6q-gpio", "fsl,imx31-gpio"; - reg = <0x020b0000 0x4000>; - interrupts = <0 76 0x04 0 77 0x04>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - gpio7: gpio@020b4000 { - compatible = "fsl,imx6q-gpio", "fsl,imx31-gpio"; - reg = <0x020b4000 0x4000>; - interrupts = <0 78 0x04 0 79 0x04>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - kpp@020b8000 { - reg = <0x020b8000 0x4000>; - interrupts = <0 82 0x04>; - }; - - wdog@020bc000 { /* WDOG1 */ - compatible = "fsl,imx6q-wdt", "fsl,imx21-wdt"; - reg = <0x020bc000 0x4000>; - interrupts = <0 80 0x04>; - status = "disabled"; - }; - - wdog@020c0000 { /* WDOG2 */ - compatible = "fsl,imx6q-wdt", "fsl,imx21-wdt"; - reg = <0x020c0000 0x4000>; - interrupts = <0 81 0x04>; - status = "disabled"; - }; - - ccm@020c4000 { - compatible = "fsl,imx6q-ccm"; - reg = <0x020c4000 0x4000>; - interrupts = <0 87 0x04 0 88 0x04>; - }; - - anatop@020c8000 { - compatible = "fsl,imx6q-anatop"; - reg = <0x020c8000 0x1000>; - interrupts = <0 49 0x04 0 54 0x04 0 127 0x04>; - }; - - usbphy@020c9000 { /* USBPHY1 */ - reg = <0x020c9000 0x1000>; - interrupts = <0 44 0x04>; - }; - - usbphy@020ca000 { /* USBPHY2 */ - reg = <0x020ca000 0x1000>; - interrupts = <0 45 0x04>; - }; - - snvs@020cc000 { - reg = <0x020cc000 0x4000>; - interrupts = <0 19 0x04 0 20 0x04>; - }; - - epit@020d0000 { /* EPIT1 */ - reg = <0x020d0000 0x4000>; - interrupts = <0 56 0x04>; - }; - - epit@020d4000 { /* EPIT2 */ - reg = <0x020d4000 0x4000>; - interrupts = <0 57 0x04>; - }; - - src@020d8000 { - compatible = "fsl,imx6q-src"; - reg = <0x020d8000 0x4000>; - interrupts = <0 91 0x04 0 96 0x04>; - }; - - gpc@020dc000 { - compatible = "fsl,imx6q-gpc"; - reg = <0x020dc000 0x4000>; - interrupts = <0 89 0x04 0 90 0x04>; - }; - - iomuxc@020e0000 { - reg = <0x020e0000 0x4000>; - }; - - dcic@020e4000 { /* DCIC1 */ - reg = <0x020e4000 0x4000>; - interrupts = <0 124 0x04>; - }; - - dcic@020e8000 { /* DCIC2 */ - reg = <0x020e8000 0x4000>; - interrupts = <0 125 0x04>; - }; - - sdma@020ec000 { - compatible = "fsl,imx6q-sdma", "fsl,imx35-sdma"; - reg = <0x020ec000 0x4000>; - interrupts = <0 2 0x04>; - }; - }; - - aips-bus@02100000 { /* AIPS2 */ - compatible = "fsl,aips-bus", "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0x02100000 0x100000>; - ranges; - - caam@02100000 { - reg = <0x02100000 0x40000>; - interrupts = <0 105 0x04 0 106 0x04>; - }; - - aipstz@0217c000 { /* AIPSTZ2 */ - reg = <0x0217c000 0x4000>; - }; - - enet@02188000 { - compatible = "fsl,imx6q-fec"; - reg = <0x02188000 0x4000>; - interrupts = <0 118 0x04 0 119 0x04>; - status = "disabled"; - }; - - mlb@0218c000 { - reg = <0x0218c000 0x4000>; - interrupts = <0 53 0x04 0 117 0x04 0 126 0x04>; - }; - - usdhc@02190000 { /* uSDHC1 */ - compatible = "fsl,imx6q-usdhc"; - reg = <0x02190000 0x4000>; - interrupts = <0 22 0x04>; - status = "disabled"; - }; - - usdhc@02194000 { /* uSDHC2 */ - compatible = "fsl,imx6q-usdhc"; - reg = <0x02194000 0x4000>; - interrupts = <0 23 0x04>; - status = "disabled"; - }; - - usdhc@02198000 { /* uSDHC3 */ - compatible = "fsl,imx6q-usdhc"; - reg = <0x02198000 0x4000>; - interrupts = <0 24 0x04>; - status = "disabled"; - }; - - usdhc@0219c000 { /* uSDHC4 */ - compatible = "fsl,imx6q-usdhc"; - reg = <0x0219c000 0x4000>; - interrupts = <0 25 0x04>; - status = "disabled"; - }; - - i2c@021a0000 { /* I2C1 */ - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx6q-i2c", "fsl,imx1-i2c"; - reg = <0x021a0000 0x4000>; - interrupts = <0 36 0x04>; - status = "disabled"; - }; - - i2c@021a4000 { /* I2C2 */ - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx6q-i2c", "fsl,imx1-i2c"; - reg = <0x021a4000 0x4000>; - interrupts = <0 37 0x04>; - status = "disabled"; - }; - - i2c@021a8000 { /* I2C3 */ - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx6q-i2c", "fsl,imx1-i2c"; - reg = <0x021a8000 0x4000>; - interrupts = <0 38 0x04>; - status = "disabled"; - }; - - romcp@021ac000 { - reg = <0x021ac000 0x4000>; - }; - - mmdc@021b0000 { /* MMDC0 */ - compatible = "fsl,imx6q-mmdc"; - reg = <0x021b0000 0x4000>; - }; - - mmdc@021b4000 { /* MMDC1 */ - reg = <0x021b4000 0x4000>; - }; - - weim@021b8000 { - reg = <0x021b8000 0x4000>; - interrupts = <0 14 0x04>; - }; - - ocotp@021bc000 { - reg = <0x021bc000 0x4000>; - }; - - ocotp@021c0000 { - reg = <0x021c0000 0x4000>; - interrupts = <0 21 0x04>; - }; - - tzasc@021d0000 { /* TZASC1 */ - reg = <0x021d0000 0x4000>; - interrupts = <0 108 0x04>; - }; - - tzasc@021d4000 { /* TZASC2 */ - reg = <0x021d4000 0x4000>; - interrupts = <0 109 0x04>; - }; - - audmux@021d8000 { - reg = <0x021d8000 0x4000>; - }; - - mipi@021dc000 { /* MIPI-CSI */ - reg = <0x021dc000 0x4000>; - }; - - mipi@021e0000 { /* MIPI-DSI */ - reg = <0x021e0000 0x4000>; - }; - - vdoa@021e4000 { - reg = <0x021e4000 0x4000>; - interrupts = <0 18 0x04>; - }; - - uart2: uart@021e8000 { - compatible = "fsl,imx6q-uart", "fsl,imx21-uart"; - reg = <0x021e8000 0x4000>; - interrupts = <0 27 0x04>; - status = "disabled"; - }; - - uart3: uart@021ec000 { - compatible = "fsl,imx6q-uart", "fsl,imx21-uart"; - reg = <0x021ec000 0x4000>; - interrupts = <0 28 0x04>; - status = "disabled"; - }; - - uart4: uart@021f0000 { - compatible = "fsl,imx6q-uart", "fsl,imx21-uart"; - reg = <0x021f0000 0x4000>; - interrupts = <0 29 0x04>; - status = "disabled"; - }; - - uart5: uart@021f4000 { - compatible = "fsl,imx6q-uart", "fsl,imx21-uart"; - reg = <0x021f4000 0x4000>; - interrupts = <0 30 0x04>; - status = "disabled"; - }; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/kirkwood-dreamplug.dts b/kernel/arch/arm/boot/dts/lte_module-v1/kirkwood-dreamplug.dts deleted file mode 100755 index a5376b842..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/kirkwood-dreamplug.dts +++ /dev/null @@ -1,24 +0,0 @@ -/dts-v1/; - -/include/ "kirkwood.dtsi" - -/ { - model = "Globalscale Technologies Dreamplug"; - compatible = "globalscale,dreamplug-003-ds2001", "globalscale,dreamplug", "mrvl,kirkwood-88f6281", "mrvl,kirkwood"; - - memory { - device_type = "memory"; - reg = <0x00000000 0x20000000>; - }; - - chosen { - bootargs = "console=ttyS0,115200n8 earlyprintk"; - }; - - ocp@f1000000 { - serial@12000 { - clock-frequency = <200000000>; - status = "ok"; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/kirkwood.dtsi b/kernel/arch/arm/boot/dts/lte_module-v1/kirkwood.dtsi deleted file mode 100755 index 3474ef890..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/kirkwood.dtsi +++ /dev/null @@ -1,36 +0,0 @@ -/include/ "skeleton.dtsi" - -/ { - compatible = "mrvl,kirkwood"; - - ocp@f1000000 { - compatible = "simple-bus"; - ranges = <0 0xf1000000 0x1000000>; - #address-cells = <1>; - #size-cells = <1>; - - serial@12000 { - compatible = "ns16550a"; - reg = <0x12000 0x100>; - reg-shift = <2>; - interrupts = <33>; - /* set clock-frequency in board dts */ - status = "disabled"; - }; - - serial@12100 { - compatible = "ns16550a"; - reg = <0x12100 0x100>; - reg-shift = <2>; - interrupts = <34>; - /* set clock-frequency in board dts */ - status = "disabled"; - }; - - rtc@10300 { - compatible = "mrvl,kirkwood-rtc", "mrvl,orion-rtc"; - reg = <0x10300 0x20>; - interrupts = <53>; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/mpq8092-iommu.dtsi b/kernel/arch/arm/boot/dts/lte_module-v1/mpq8092-iommu.dtsi deleted file mode 100755 index 56369dce3..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/mpq8092-iommu.dtsi +++ /dev/null @@ -1,40 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/include/ "msm-iommu-v1.dtsi" - -&jpeg_iommu { - status = "ok"; - vdd-supply = <&gdsc_jpeg>; -}; - -&mdp_iommu { - status = "ok"; - vdd-supply = <&gdsc_mdss>; -}; - -&venus_iommu { - status = "ok"; - vdd-supply = <&gdsc_venus>; -}; - -&kgsl_iommu { - status = "ok"; - qcom,needs-alt-core-clk; - vdd-supply = <&gdsc_oxili_cx>; - qcom,alt-vdd-supply = <&gdsc_oxili_gx>; -}; - -&vfe_iommu { - status = "ok"; - vdd-supply = <&gdsc_vfe>; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/mpq8092-ion.dtsi b/kernel/arch/arm/boot/dts/lte_module-v1/mpq8092-ion.dtsi deleted file mode 100755 index f9f59850a..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/mpq8092-ion.dtsi +++ /dev/null @@ -1,33 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&soc { - qcom,ion { - compatible = "qcom,msm-ion"; - #address-cells = <1>; - #size-cells = <0>; - - qcom,ion-heap@30 { /* SYSTEM HEAP */ - reg = <30>; - }; - - qcom,ion-heap@21 { /* SYSTEM CONTIG HEAP */ - reg = <21>; - }; - - qcom,ion-heap@25 { /* IOMMU HEAP */ - reg = <25>; - }; - - }; -}; - diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/mpq8092-regulator.dtsi b/kernel/arch/arm/boot/dts/lte_module-v1/mpq8092-regulator.dtsi deleted file mode 100755 index 63896e922..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/mpq8092-regulator.dtsi +++ /dev/null @@ -1,324 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - - -/* QPNP controlled regulators: */ - -&spmi_bus { - - qcom,pma8084@1 { - pma8084_s1: regulator@1400 { - regulator-min-microvolt = <900000>; - regulator-max-microvolt = <900000>; - qcom,enable-time = <500>; - qcom,pull-down-enable = <1>; - qcom,system-load = <100000>; - status = "okay"; - }; - - pma8084_s3: regulator@1a00 { - regulator-min-microvolt = <1350000>; - regulator-max-microvolt = <1350000>; - qcom,enable-time = <500>; - qcom,pull-down-enable = <1>; - regulator-always-on; - qcom,system-load = <100000>; - status = "okay"; - }; - - pma8084_s4: regulator@1d00 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,enable-time = <500>; - qcom,pull-down-enable = <1>; - regulator-always-on; - qcom,system-load = <100000>; - status = "okay"; - }; - - pma8084_s5: regulator@2000 { - regulator-min-microvolt = <2150000>; - regulator-max-microvolt = <2150000>; - qcom,enable-time = <500>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_s6: regulator@2300 { - regulator-min-microvolt = <900000>; - regulator-max-microvolt = <900000>; - qcom,enable-time = <500>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_s8: regulator@2900 { - regulator-min-microvolt = <1050000>; - regulator-max-microvolt = <1050000>; - qcom,enable-time = <500>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_s12: regulator@3500 { - regulator-min-microvolt = <900000>; - regulator-max-microvolt = <900000>; - qcom,enable-time = <500>; - qcom,pull-down-enable = <1>; - regulator-always-on; - qcom,system-load = <100000>; - status = "okay"; - }; - - pma8084_l1: regulator@4000 { - parent-supply = <&pma8084_s3>; - regulator-min-microvolt = <1225000>; - regulator-max-microvolt = <1225000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - regulator-always-on; - qcom,system-load = <10000>; - status = "okay"; - }; - - pma8084_l2: regulator@4100 { - parent-supply = <&pma8084_s3>; - regulator-min-microvolt = <1000000>; - regulator-max-microvolt = <1000000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l3: regulator@4200 { - parent-supply = <&pma8084_s3>; - regulator-min-microvolt = <1200000>; - regulator-max-microvolt = <1200000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l4: regulator@4300 { - parent-supply = <&pma8084_s3>; - regulator-min-microvolt = <1300000>; - regulator-max-microvolt = <1300000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l6: regulator@4500 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l9: regulator@4800 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <2950000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l10: regulator@4900 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l11: regulator@4a00 { - parent-supply = <&pma8084_s3>; - regulator-min-microvolt = <1200000>; - regulator-max-microvolt = <1200000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l12: regulator@4b00 { - regulator-min-microvolt = <2500000>; - regulator-max-microvolt = <2500000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l13: regulator@4c00 { - regulator-min-microvolt = <2950000>; - regulator-max-microvolt = <2950000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - regulator-always-on; - status = "okay"; - }; - - pma8084_l14: regulator@4d00 { - regulator-min-microvolt = <950000>; - regulator-max-microvolt = <950000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l15: regulator@4e00 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l16: regulator@4f00 { - parent-supply = <&pma8084_s5>; - regulator-min-microvolt = <750000>; - regulator-max-microvolt = <750000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l17: regulator@5000 { - regulator-min-microvolt = <3150000>; - regulator-max-microvolt = <3150000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - qcom,system-load = <100000>; - status = "okay"; - }; - - pma8084_l18: regulator@5100 { - regulator-min-microvolt = <2850000>; - regulator-max-microvolt = <2850000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l19: regulator@5200 { - parent-supply = <&pma8084_s5>; - regulator-min-microvolt = <1500000>; - regulator-max-microvolt = <1500000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l20: regulator@5300 { - regulator-min-microvolt = <2950000>; - regulator-max-microvolt = <2950000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - regulator-always-on; - status = "okay"; - }; - - pma8084_l21: regulator@5400 { - regulator-min-microvolt = <2950000>; - regulator-max-microvolt = <2950000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - regulator-always-on; - status = "okay"; - }; - - pma8084_l22: regulator@5500 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - regulator-always-on; - status = "okay"; - }; - - pma8084_l23: regulator@5600 { - regulator-min-microvolt = <3000000>; - regulator-max-microvolt = <3000000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l24: regulator@5700 { - regulator-min-microvolt = <3075000>; - regulator-max-microvolt = <3075000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - regulator-always-on; - status = "okay"; - }; - - pma8084_l25: regulator@5800 { - parent-supply = <&pma8084_s5>; - regulator-min-microvolt = <2000000>; - regulator-max-microvolt = <2000000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - pma8084_l26: regulator@5900 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - pma8084_l27: regulator@5A00 { - parent-supply = <&pma8084_s3>; - regulator-min-microvolt = <1000000>; - regulator-max-microvolt = <1000000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_lvs1: regulator@8000 { - parent-supply = <&pma8084_s4>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_lvs2: regulator@8100 { - parent-supply = <&pma8084_s4>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_lvs3: regulator@8200 { - parent-supply = <&pma8084_s4>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_lvs4: regulator@8300 { - parent-supply = <&pma8084_s4>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_mvs1: regulator@8400 { - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - }; -}; - diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/mpq8092-rumi.dts b/kernel/arch/arm/boot/dts/lte_module-v1/mpq8092-rumi.dts deleted file mode 100755 index 1abaf5596..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/mpq8092-rumi.dts +++ /dev/null @@ -1,28 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; - -/include/ "mpq8092.dtsi" -/include/ "mpq8092-rumi.dtsi" - -/ { - model = "Qualcomm MPQ8092 RUMI"; - compatible = "qcom,mpq8092-rumi", "qcom,mpq8092", "qcom,rumi"; - qcom,msm-id = <146 16 0>; -}; - -&soc { - serial@f9922000 { - status = "ok"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/mpq8092-rumi.dtsi b/kernel/arch/arm/boot/dts/lte_module-v1/mpq8092-rumi.dtsi deleted file mode 100755 index 201699882..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/mpq8092-rumi.dtsi +++ /dev/null @@ -1,134 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -&soc { - timer { - clock-frequency = <5000000>; - }; - - timer@f9020000 { - clock-frequency = <5000000>; - }; - - usb@f9a55000 { - status = "disable"; - }; - - qcom,sdcc@f9824000 { - status = "disabled"; - qcom,clk-rates = <400000 19200000>; - }; - - qcom,sdcc@f98a4000 { - status = "disabled"; - qcom,clk-rates = <400000 19200000>; - }; - - qcom,sps@f998000 { - status = "disable"; - }; - - spi@f9924000 { - status = "disable"; - }; - - spi@f9923000 { - compatible = "qcom,spi-qup-v2"; - reg = <0xf9923000 0x1000>; - interrupts = <0 95 0>; - spi-max-frequency = <24000000>; - #address-cells = <1>; - #size-cells = <0>; - gpios = <&msmgpio 3 0>, /* CLK */ - <&msmgpio 1 0>, /* MISO */ - <&msmgpio 0 0>; /* MOSI */ - cs-gpios = <&msmgpio 9 0>; - - ethernet-switch@2 { - compatible = "simtec,ks8851"; - reg = <2>; - interrupt-parent = <&msmgpio>; - interrupts = <90 0>; - spi-max-frequency = <5000000>; - }; - }; - - i2c@f9966000 { - status = "disable"; - }; - - i2c@f9967000 { - status = "disable"; - cell-index = <0>; - compatible = "qcom,i2c-qup"; - reg = <0Xf9967000 0x1000>; - reg-names = "qup_phys_addr"; - interrupts = <0 105 0>; - interrupt-names = "qup_err_intr"; - qcom,i2c-bus-freq = <100000>; - qcom,i2c-src-freq = <19200000>; - gpios = <&msmgpio 83 0>,/* DAT */ - <&msmgpio 84 0>;/* CLK */ - }; - - slim@fe12f000 { - status = "disable"; - }; - - qcom,mdss_dsi@fd922800 { - status = "disable"; - }; - - qcom,spmi@fc4c0000 { - status = "disable"; - }; - - qcom,ssusb@F9200000 { - status = "disable"; - }; - - qcom,lpass@fe200000 { - status = "disable"; - }; - - qcom,pronto@fb21b000 { - status = "disable"; - }; - - qcom,mss@fc880000 { - status = "disable"; - }; - - qcom,kgsl-3d0@fdb00000 { - status = "disabled"; - }; -}; - -&gdsc_venus { - status = "disabled"; -}; - -&gdsc_jpeg { - status = "disabled"; -}; - -&gdsc_oxili_gx { - status = "disabled"; -}; - -&gdsc_oxili_cx { - status = "disabled"; -}; - -&gdsc_usb_hsic { - status = "disabled"; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/mpq8092-sim.dts b/kernel/arch/arm/boot/dts/lte_module-v1/mpq8092-sim.dts deleted file mode 100755 index 676ef3b17..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/mpq8092-sim.dts +++ /dev/null @@ -1,125 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/dts-v1/; - -/include/ "mpq8092.dtsi" - -/ { - model = "Qualcomm MPQ8092 Simulator"; - compatible = "qcom,mpq8092-sim", "qcom,mpq8092", "qcom,sim"; - qcom,msm-id = <126 16 0>; -}; - -&soc { - serial@f991f000 { - status = "ok"; - }; - - serial@f995e000 { - status = "ok"; - }; -}; - -&pma8084_gpios { - gpio@c000 { /* GPIO 1 */ - }; - - gpio@c100 { /* GPIO 2 */ - }; - - gpio@c200 { /* GPIO 3 */ - }; - - gpio@c300 { /* GPIO 4 */ - }; - - gpio@c400 { /* GPIO 5 */ - }; - - gpio@c500 { /* GPIO 6 */ - }; - - gpio@c600 { /* GPIO 7 */ - }; - - gpio@c700 { /* GPIO 8 */ - }; - - gpio@c800 { /* GPIO 9 */ - }; - - gpio@c900 { /* GPIO 10 */ - }; - - gpio@ca00 { /* GPIO 11 */ - }; - - gpio@cb00 { /* GPIO 12 */ - }; - - gpio@cc00 { /* GPIO 13 */ - }; - - gpio@cd00 { /* GPIO 14 */ - }; - - gpio@ce00 { /* GPIO 15 */ - }; - - gpio@cf00 { /* GPIO 16 */ - }; - - gpio@d000 { /* GPIO 17 */ - }; - - gpio@d100 { /* GPIO 18 */ - }; - - gpio@d200 { /* GPIO 19 */ - }; - - gpio@d300 { /* GPIO 20 */ - }; - - gpio@d400 { /* GPIO 21 */ - }; - - gpio@d500 { /* GPIO 22 */ - }; -}; - -&pma8084_mpps { - mpp@a000 { /* MPP 1 */ - }; - - mpp@a100 { /* MPP 2 */ - }; - - mpp@a200 { /* MPP 3 */ - }; - - mpp@a300 { /* MPP 4 */ - }; - - mpp@a400 { /* MPP5 */ - }; - - mpp@a500 { /* MPP 6 */ - }; - - mpp@a600 { /* MPP 7 */ - }; - - mpp@a700 { /* MPP 8 */ - }; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/mpq8092.dtsi b/kernel/arch/arm/boot/dts/lte_module-v1/mpq8092.dtsi deleted file mode 100755 index e8674a055..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/mpq8092.dtsi +++ /dev/null @@ -1,240 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/include/ "skeleton.dtsi" - -/ { - model = "Qualcomm MPQ8092"; - compatible = "qcom,mpq8092"; - interrupt-parent = <&intc>; - - soc: soc { }; -}; - -/include/ "mpq8092-iommu.dtsi" -/include/ "msm-gdsc.dtsi" -/include/ "mpq8092-ion.dtsi" - -&soc { - #address-cells = <1>; - #size-cells = <1>; - ranges; - - intc: interrupt-controller@f9000000 { - compatible = "qcom,msm-qgic2"; - interrupt-controller; - #interrupt-cells = <3>; - reg = <0xf9000000 0x1000>, - <0xf9002000 0x1000>; - }; - - msmgpio: gpio@fd510000 { - compatible = "qcom,msm-gpio"; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - reg = <0xfd510000 0x4000>; - ngpio = <146>; - interrupts = <0 208 0>; - qcom,direct-connect-irqs = <8>; - }; - - timer { - compatible = "arm,armv7-timer"; - interrupts = <1 2 0>, <1 3 0>; - clock-frequency = <19200000>; - }; - - 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 8 0x4>, - <0 7 0x4>; - reg = <0xf9021000 0x1000>, - <0xf9022000 0x1000>; - }; - - frame@f9023000 { - frame-number = <1>; - interrupts = <0 9 0x4>; - reg = <0xf9023000 0x1000>; - status = "disabled"; - }; - - frame@f9024000 { - frame-number = <2>; - interrupts = <0 10 0x4>; - reg = <0xf9024000 0x1000>; - status = "disabled"; - }; - - frame@f9025000 { - frame-number = <3>; - interrupts = <0 11 0x4>; - reg = <0xf9025000 0x1000>; - status = "disabled"; - }; - - frame@f9026000 { - frame-number = <4>; - interrupts = <0 12 0x4>; - reg = <0xf9026000 0x1000>; - status = "disabled"; - }; - - frame@f9027000 { - frame-number = <5>; - interrupts = <0 13 0x4>; - reg = <0xf9027000 0x1000>; - status = "disabled"; - }; - - frame@f9028000 { - frame-number = <6>; - interrupts = <0 14 0x4>; - reg = <0xf9028000 0x1000>; - status = "disabled"; - }; - }; - - serial@f991f000 { - compatible = "qcom,msm-lsuart-v14"; - reg = <0xf991f000 0x1000>; - interrupts = <0 109 0>; - status = "disabled"; - }; - - serial@f9922000 { - compatible = "qcom,msm-lsuart-v14"; - reg = <0xf9922000 0x1000>; - interrupts = <0 112 0>; - status = "disabled"; - }; - - serial@f995e000 { - compatible = "qcom,msm-lsuart-v14"; - reg = <0xf995e000 0x1000>; - interrupts = <0 114 0>; - status = "disabled"; - }; - - qcom,msm-imem@fe805000 { - compatible = "qcom,msm-imem"; - reg = <0xfe805000 0x1000>; /* Address and size of IMEM */ - }; - - spmi_bus: qcom,spmi@fc4c0000 { - cell-index = <0>; - 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,not-wakeup; - qcom,pmic-arb-ee = <0>; - qcom,pmic-arb-channel = <0>; - }; - - sdcc1: qcom,sdcc@f9824000 { - cell-index = <1>; /* SDC1 eMMC slot */ - compatible = "qcom,msm-sdcc"; - reg = <0xf9824000 0x800>; - reg-names = "core_mem"; - interrupts = <0 123 0>; - interrupt-names = "core_irq"; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - qcom,sup-voltages = <2950 2950>; - qcom,bus-width = <8>; - qcom,nonremovable; - qcom,bus-speed-mode = "HS200_1p8v", "DDR_1p8v"; - }; - - sdcc2: qcom,sdcc@f98a4000 { - cell-index = <2>; /* SDC2 SD card slot */ - compatible = "qcom,msm-sdcc"; - reg = <0xf98a4000 0x800>; - reg-names = "core_mem"; - interrupts = <0 125 0>; - interrupt-names = "core_irq"; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - qcom,sup-voltages = <2950 2950>; - qcom,bus-width = <4>; - qcom,xpc; - qcom,bus-speed-mode = "SDR12", "SDR25", "SDR50", "DDR50", "SDR104"; - qcom,current-limit = <800>; - }; - - sata: sata@fc580000 { - compatible = "qcom,msm-ahci"; - reg = <0xfc580000 0x17c>; - interrupts = <0 243 0>; - }; - - qcom,wdt@f9017000 { - compatible = "qcom,msm-watchdog"; - reg = <0xf9017000 0x1000>; - interrupts = <0 3 0>, <0 4 0>; - qcom,bark-time = <11000>; - qcom,pet-time = <10000>; - qcom,ipi-ping; - }; -}; - -&gdsc_venus { - status = "ok"; -}; - -&gdsc_mdss { - status = "ok"; -}; - -&gdsc_jpeg { - status = "ok"; -}; - -&gdsc_oxili_gx { - status = "ok"; -}; - -&gdsc_oxili_cx { - status = "ok"; -}; - -&gdsc_usb_hsic { - status = "ok"; -}; - -/include/ "msm-pma8084.dtsi" -/include/ "mpq8092-regulator.dtsi" diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/msm-gdsc.dtsi b/kernel/arch/arm/boot/dts/lte_module-v1/msm-gdsc.dtsi deleted file mode 100755 index 78234e858..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/msm-gdsc.dtsi +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Copyright (c) 2012-2013, 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. - */ - -&soc { - gdsc_venus: qcom,gdsc@fd8c1024 { - compatible = "qcom,gdsc"; - regulator-name = "gdsc_venus"; - reg = <0xfd8c1024 0x4>; - status = "disabled"; - }; - - gdsc_mdss: qcom,gdsc@fd8c2304 { - compatible = "qcom,gdsc"; - regulator-name = "gdsc_mdss"; - reg = <0xfd8c2304 0x4>; - status = "disabled"; - }; - - gdsc_jpeg: qcom,gdsc@fd8c35a4 { - compatible = "qcom,gdsc"; - regulator-name = "gdsc_jpeg"; - reg = <0xfd8c35a4 0x4>; - status = "disabled"; - }; - - gdsc_vfe: qcom,gdsc@fd8c36a4 { - compatible = "qcom,gdsc"; - regulator-name = "gdsc_vfe"; - reg = <0xfd8c36a4 0x4>; - status = "disabled"; - }; - - gdsc_oxili_gx: qcom,gdsc@fd8c4024 { - compatible = "qcom,gdsc"; - regulator-name = "gdsc_oxili_gx"; - reg = <0xfd8c4024 0x4>; - status = "disabled"; - }; - - gdsc_oxili_cx: qcom,gdsc@fd8c4034 { - compatible = "qcom,gdsc"; - regulator-name = "gdsc_oxili_cx"; - reg = <0xfd8c4034 0x4>; - status = "disabled"; - }; - - gdsc_usb_hsic: qcom,gdsc@fc400404 { - compatible = "qcom,gdsc"; - regulator-name = "gdsc_usb_hsic"; - reg = <0xfc400404 0x4>; - status = "disabled"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/msm-iommu-v0.dtsi b/kernel/arch/arm/boot/dts/lte_module-v1/msm-iommu-v0.dtsi deleted file mode 100755 index 2cfc5cf07..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/msm-iommu-v0.dtsi +++ /dev/null @@ -1,333 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&soc { - lpass_iommu: qcom,iommu@fd000000 { - compatible = "qcom,msm-smmu-v0"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - reg = <0xfd000000 0x10000>; - interrupts = <0 248 0>; - qcom,glb-offset = <0xF000>; - label = "lpass_iommu"; - qcom,iommu-pmu-ngroups = <1>; - qcom,iommu-pmu-ncounters = <4>; - qcom,iommu-pmu-event-classes = <0x08 - 0x09 - 0x10 - 0x12 - 0x80>; - qcom,msm-bus,name = "lpass_ebi"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,active-only; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <11 512 0 0>, - <11 512 0 1000>; - status = "disabled"; - - lpass_q6_fw: qcom,iommu-ctx@fd000000 { - compatible = "qcom,msm-smmu-v0-ctx"; - reg = <0xfd000000 0x1000>; - interrupts = <0 250 0>; - qcom,iommu-ctx-mids = <0 15>; - label = "q6_fw"; - }; - - lpass_audio_shared: qcom,iommu-ctx@fd001000 { - compatible = "qcom,msm-smmu-v0-ctx"; - reg = <0xfd001000 0x1000>; - interrupts = <0 250 0>; - qcom,iommu-ctx-mids = <1>; - label = "audio_shared"; - }; - - lpass_video_shared: qcom,iommu-ctx@fd002000 { - compatible = "qcom,msm-smmu-v0-ctx"; - reg = <0xfd002000 0x1000>; - interrupts = <0 250 0>; - qcom,iommu-ctx-mids = <2>; - label = "video_shared"; - }; - - lpass_q6_spare: qcom,iommu-ctx@fd003000 { - compatible = "qcom,msm-smmu-v0-ctx"; - reg = <0xfd003000 0x1000>; - interrupts = <0 250 0>; - qcom,iommu-ctx-mids = <3 4 5 6 7 8 9 10 11 12 13 14>; - label = "q6_spare"; - }; - }; - - copss_iommu: qcom,iommu@fd010000 { - compatible = "qcom,msm-smmu-v0"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - reg = <0xfd010000 0x10000>; - interrupts = <0 252 0>; - qcom,glb-offset = <0xF000>; - label = "copss_iommu"; - qcom,iommu-pmu-ngroups = <1>; - qcom,iommu-pmu-ncounters = <4>; - qcom,iommu-pmu-event-classes = <0x08 - 0x09 - 0x10 - 0x12 - 0x80>; - qcom,msm-bus,name = "copss_ebi"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,active-only; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <88 512 0 0>, - <88 512 0 1000>; - - status = "disabled"; - - qcom,iommu-ctx@fd010000 { - compatible = "qcom,msm-smmu-v0-ctx"; - reg = <0xfd010000 0x1000>; - interrupts = <0 254 0>; - qcom,iommu-ctx-mids = <0>; - label = "copss_0"; - }; - - qcom,iommu-ctx@fd011000 { - compatible = "qcom,msm-smmu-v0-ctx"; - reg = <0xfd011000 0x1000>; - interrupts = <0 254 0>; - qcom,iommu-ctx-mids = <1>; - label = "copss_1"; - }; - - qcom,iommu-ctx@fd012000 { - compatible = "qcom,msm-smmu-v0-ctx"; - reg = <0xfd012000 0x1000>; - interrupts = <0 254 0>; - qcom,iommu-ctx-mids = <2>; - label = "copss_2"; - }; - - qcom,iommu-ctx@fd013000 { - compatible = "qcom,msm-smmu-v0-ctx"; - reg = <0xfd013000 0x1000>; - interrupts = <0 254 0>; - qcom,iommu-ctx-mids = <3>; - label = "copss_3"; - }; - - qcom,iommu-ctx@fd014000 { - compatible = "qcom,msm-smmu-v0-ctx"; - reg = <0xfd014000 0x1000>; - interrupts = <0 254 0>; - qcom,iommu-ctx-mids = <4>; - label = "copss_4"; - }; - - qcom,iommu-ctx@fd015000 { - compatible = "qcom,msm-smmu-v0-ctx"; - reg = <0xfd015000 0x1000>; - interrupts = <0 254 0>; - qcom,iommu-ctx-mids = <5>; - label = "copss_5"; - }; - - qcom,iommu-ctx@fd016000 { - compatible = "qcom,msm-smmu-v0-ctx"; - reg = <0xfd016000 0x1000>; - interrupts = <0 254 0>; - qcom,iommu-ctx-mids = <6>; - label = "copss_6"; - }; - - qcom,iommu-ctx@fd017000 { - compatible = "qcom,msm-smmu-v0-ctx"; - reg = <0xfd017000 0x1000>; - interrupts = <0 254 0>; - qcom,iommu-ctx-mids = <7>; - label = "copss_7"; - }; - }; - - mdpe_iommu: qcom,iommu@fd860000 { - compatible = "qcom,msm-smmu-v0"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - reg = <0xfd860000 0x10000>; - interrupts = <0 245 0>; - qcom,glb-offset = <0xF000>; - label = "mdpe_iommu"; - qcom,iommu-pmu-ngroups = <1>; - qcom,iommu-pmu-ncounters = <4>; - qcom,iommu-pmu-event-classes = <0x08 - 0x09 - 0x10 - 0x12 - 0x80>; - qcom,msm-bus,name = "mdpe_ebi"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,active-only; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <92 512 0 0>, - <92 512 0 1000>; - status = "disabled"; - - qcom,iommu-ctx@fd860000 { - compatible = "qcom,msm-smmu-v0-ctx"; - reg = <0xfd860000 0x1000>; - interrupts = <0 247 0>; - qcom,iommu-ctx-mids = <0 1 3>; - label = "mdpe_0"; - }; - - qcom,iommu-ctx@fd861000 { - compatible = "qcom,msm-smmu-v0-ctx"; - reg = <0xfd861000 0x1000>; - interrupts = <0 247 0>; - qcom,iommu-ctx-mids = <2>; - label = "mdpe_1"; - }; - }; - - mdps_iommu: qcom,iommu@fd870000 { - compatible = "qcom,msm-smmu-v0"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - reg = <0xfd870000 0x10000>; - interrupts = <0 73 0>; - qcom,glb-offset = <0xF000>; - label = "mdps_iommu"; - qcom,iommu-pmu-ngroups = <1>; - qcom,iommu-pmu-ncounters = <4>; - qcom,iommu-pmu-event-classes = <0x08 - 0x09 - 0x10 - 0x12 - 0x80>; - qcom,msm-bus,name = "mdps_ebi"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,active-only; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <22 512 0 0>, - <22 512 0 1000>; - status = "disabled"; - - qcom,iommu-ctx@fd870000 { - compatible = "qcom,msm-smmu-v0-ctx"; - reg = <0xfd870000 0x1000>; - interrupts = <0 47 0>; - qcom,iommu-ctx-mids = <0>; - label = "mdps_0"; - }; - - qcom,iommu-ctx@fd871000 { - compatible = "qcom,msm-smmu-v0-ctx"; - reg = <0xfd871000 0x1000>; - interrupts = <0 47 0>; - qcom,iommu-ctx-mids = <1>; - label = "mdps_1"; - }; - }; - - gfx_iommu: qcom,iommu@fd880000 { - compatible = "qcom,msm-smmu-v0"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - reg = <0xfd880000 0x10000>; - interrupts = <0 38 0>; - qcom,glb-offset = <0xF000>; - qcom,needs-alt-core-clk; - label = "gfx_iommu"; - qcom,iommu-pmu-ngroups = <1>; - qcom,iommu-pmu-ncounters = <4>; - qcom,iommu-pmu-event-classes = <0x08 - 0x09 - 0x10 - 0x12 - 0x80>; - qcom,msm-bus,name = "gfx_ebi"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,active-only; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <26 512 0 0>, - <26 512 0 1000>; - status = "disabled"; - - qcom,iommu-ctx@fd880000 { - compatible = "qcom,msm-smmu-v0-ctx"; - reg = <0xfd880000 0x1000>; - interrupts = <0 241 0>; - qcom,iommu-ctx-mids = <0 1 2 3 4 5 6 7 8 9 10 11 12 13 - 14 15>; - label = "gfx3d_user"; - }; - - qcom,iommu-ctx@fd881000 { - compatible = "qcom,msm-smmu-v0-ctx"; - reg = <0xfd881000 0x1000>; - interrupts = <0 241 0>; - qcom,iommu-ctx-mids = <16 17 18 19 20 21 22 23 24 25 - 26 27 28 29 30 31>; - label = "gfx3d_priv"; - }; - - qcom,iommu-ctx@fd882000 { - compatible = "qcom,msm-smmu-v0-ctx"; - reg = <0xfd882000 0x1000>; - interrupts = <0 241 0>; - qcom,iommu-ctx-mids = <>; - label = "gfx3d_spare"; - }; - }; - - vfe_iommu: qcom,iommu@fd890000 { - compatible = "qcom,msm-smmu-v0"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - reg = <0xfd890000 0x10000>; - interrupts = <0 62 0>; - qcom,glb-offset = <0xF000>; - label = "vfe_iommu"; - qcom,iommu-pmu-ngroups = <1>; - qcom,iommu-pmu-ncounters = <4>; - qcom,iommu-pmu-event-classes = <0x08 - 0x09 - 0x10 - 0x12 - 0x80>; - qcom,msm-bus,name = "vfe_ebi"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,active-only; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <29 512 0 0>, - <29 512 0 1000>; - status = "disabled"; - - qcom,iommu-ctx@fd890000 { - compatible = "qcom,msm-smmu-v0-ctx"; - reg = <0xfd890000 0x1000>; - interrupts = <0 65 0>; - qcom,iommu-ctx-mids = <0 1 2 3 4 5 6 7 8 9>; - label = "vfe0"; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/msm-iommu-v1.dtsi b/kernel/arch/arm/boot/dts/lte_module-v1/msm-iommu-v1.dtsi deleted file mode 100755 index 44920778e..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/msm-iommu-v1.dtsi +++ /dev/null @@ -1,514 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&soc { - jpeg_iommu: qcom,iommu@fda64000 { - compatible = "qcom,msm-smmu-v1"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - reg = <0xfda64000 0x10000>; - reg-names = "iommu_base"; - interrupts = <0 67 0>; - qcom,needs-alt-core-clk; - label = "jpeg_iommu"; - status = "disabled"; - qcom,msm-bus,name = "jpeg_ebi"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,active-only; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <62 512 0 0>, - <62 512 0 1000>; - - qcom,iommu-pmu-ngroups = <1>; - qcom,iommu-pmu-ncounters = <8>; - qcom,iommu-pmu-event-classes = <0x00 - 0x01 - 0x08 - 0x09 - 0x0A - 0x10 - 0x11 - 0x12 - 0x80 - 0x81 - 0x82 - 0x83 - 0x90 - 0x91 - 0x92 - 0xb0 - 0xb1>; - - qcom,iommu-bfb-regs = <0x204c - 0x2050 - 0x2514 - 0x2540 - 0x256c - 0x2314 - 0x2394 - 0x2414 - 0x20ac - 0x215c - 0x220c - 0x2008 - 0x200c - 0x2010 - 0x2014>; - - qcom,iommu-bfb-data = <0x0000ffff - 0x0 - 0x4 - 0x4 - 0x0 - 0x0 - 0x10 - 0x50 - 0x0 - 0x10 - 0x20 - 0x0 - 0x0 - 0x0 - 0x0>; - - qcom,iommu-ctx@fda6c000 { - compatible = "qcom,msm-smmu-v1-ctx"; - reg = <0xfda6c000 0x1000>; - interrupts = <0 70 0>; - qcom,iommu-ctx-sids = <0>; - label = "jpeg_enc0"; - }; - - qcom,iommu-ctx@fda6d000 { - compatible = "qcom,msm-smmu-v1-ctx"; - reg = <0xfda6d000 0x1000>; - interrupts = <0 70 0>; - qcom,iommu-ctx-sids = <1>; - label = "jpeg_enc1"; - }; - - qcom,iommu-ctx@fda6e000 { - compatible = "qcom,msm-smmu-v1-ctx"; - reg = <0xfda6e000 0x1000>; - interrupts = <0 70 0>; - qcom,iommu-ctx-sids = <2>; - label = "jpeg_dec"; - }; - }; - - mdp_iommu: qcom,iommu@fd928000 { - compatible = "qcom,msm-smmu-v1"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - reg = <0xfd928000 0x10000>; - reg-names = "iommu_base"; - interrupts = <0 73 0>; - qcom,iommu-secure-id = <1>; - label = "mdp_iommu"; - qcom,msm-bus,name = "mdp_ebi"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,active-only; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <22 512 0 0>, - <22 512 0 1000>; - status = "disabled"; - - qcom,iommu-pmu-ngroups = <1>; - qcom,iommu-pmu-ncounters = <8>; - qcom,iommu-pmu-event-classes = <0x00 - 0x01 - 0x08 - 0x09 - 0x0A - 0x10 - 0x11 - 0x12 - 0x80 - 0x81 - 0x82 - 0x83 - 0x90 - 0x91 - 0x92 - 0xb0 - 0xb1>; - - qcom,iommu-bfb-regs = <0x204c - 0x2050 - 0x2514 - 0x2540 - 0x256c - 0x20ac - 0x215c - 0x220c - 0x2314 - 0x2394 - 0x2414 - 0x2008 - 0x200c - 0x2010 - 0x2014 - 0x2018 - 0x201c - 0x2020>; - - qcom,iommu-bfb-data = <0xffffffff - 0x0 - 0x00000004 - 0x00000010 - 0x00000000 - 0x00000000 - 0x00000034 - 0x00000044 - 0x0 - 0x34 - 0x74 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0>; - - qcom,iommu-ctx@fd930000 { - compatible = "qcom,msm-smmu-v1-ctx"; - reg = <0xfd930000 0x1000>; - interrupts = <0 47 0>; - qcom,iommu-ctx-sids = <0>; - label = "mdp_0"; - }; - - qcom,iommu-ctx@fd931000 { - compatible = "qcom,msm-smmu-v1-ctx"; - reg = <0xfd931000 0x1000>; - interrupts = <0 47 0>, <0 46 0>; - qcom,iommu-ctx-sids = <1>; - label = "mdp_1"; - qcom,secure-context; - }; - - qcom,iommu-ctx@fd932000 { - compatible = "qcom,msm-smmu-v1-ctx"; - reg = <0xfd932000 0x1000>; - interrupts = <0 47 0>, <0 46 0>; - qcom,iommu-ctx-sids = <>; - label = "mdp_2"; - qcom,secure-context; - }; - }; - - venus_iommu: qcom,iommu@fdc84000 { - compatible = "qcom,msm-smmu-v1"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - reg = <0xfdc84000 0x10000 - 0xfdce0004 0x4>; - reg-names = "iommu_base", "clk_base"; - interrupts = <0 45 0>; - qcom,iommu-secure-id = <0>; - qcom,needs-alt-core-clk; - label = "venus_iommu"; - qcom,msm-bus,name = "venus_ebi"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,active-only; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <63 512 0 0>, - <63 512 0 1000>; - status = "disabled"; - - qcom,iommu-pmu-ngroups = <1>; - qcom,iommu-pmu-ncounters = <8>; - qcom,iommu-pmu-event-classes = <0x00 - 0x01 - 0x08 - 0x09 - 0x0A - 0x10 - 0x11 - 0x12 - 0x80 - 0x81 - 0x82 - 0x83 - 0x90 - 0x91 - 0x92 - 0xb0 - 0xb1>; - - qcom,iommu-bfb-regs = <0x204c - 0x2050 - 0x2514 - 0x2540 - 0x256c - 0x20ac - 0x215c - 0x220c - 0x2314 - 0x2394 - 0x2414 - 0x2008 - 0x200c - 0x2010 - 0x2014 - 0x2018 - 0x201c - 0x2020 - 0x2024 - 0x2028 - 0x202c - 0x2030 - 0x2034 - 0x2038>; - - qcom,iommu-bfb-data = <0xffffffff - 0xffffffff - 0x00000004 - 0x00000008 - 0x00000000 - 0x00000000 - 0x00000094 - 0x000000b4 - 0x0 - 0x94 - 0x114 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0>; - - venus_ns: qcom,iommu-ctx@fdc8c000 { - compatible = "qcom,msm-smmu-v1-ctx"; - reg = <0xfdc8c000 0x1000>; - interrupts = <0 42 0>; - qcom,iommu-ctx-sids = <0 1 2 3 4 5>; - label = "venus_ns"; - }; - - venus_cp: qcom,iommu-ctx@fdc8d000 { - compatible = "qcom,msm-smmu-v1-ctx"; - reg = <0xfdc8d000 0x1000>; - interrupts = <0 42 0>, <0 43 0>; - qcom,iommu-ctx-sids = <0x80 0x81 0x82 0x83 0x84 0x85>; - label = "venus_cp"; - qcom,secure-context; - }; - - venus_fw: qcom,iommu-ctx@fdc8e000 { - compatible = "qcom,msm-smmu-v1-ctx"; - reg = <0xfdc8e000 0x1000>; - interrupts = <0 42 0>, <0 43 0>; - qcom,iommu-ctx-sids = <0xc0 0xc6>; - label = "venus_fw"; - qcom,secure-context; - }; - }; - - kgsl_iommu: qcom,iommu@fdb10000 { - compatible = "qcom,msm-smmu-v1"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - reg = <0xfdb10000 0x10000>; - reg-names = "iommu_base"; - interrupts = <0 38 0>; - label = "kgsl_iommu"; - qcom,msm-bus,name = "kgsl_ebi"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,active-only; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <26 512 0 0>, - <26 512 0 1000>; - status = "disabled"; - - qcom,iommu-pmu-ngroups = <1>; - qcom,iommu-pmu-ncounters = <8>; - qcom,iommu-pmu-event-classes = <0x00 - 0x01 - 0x08 - 0x09 - 0x0A - 0x10 - 0x11 - 0x12 - 0x80 - 0x81 - 0x82 - 0x83 - 0x90 - 0x91 - 0x92 - 0xb0 - 0xb1>; - - qcom,iommu-bfb-regs = <0x204c - 0x2050 - 0x2514 - 0x2540 - 0x256c - 0x20ac - 0x215c - 0x220c - 0x2314 - 0x2394 - 0x2414 - 0x2008>; - - qcom,iommu-bfb-data = <0x00000003 - 0x0 - 0x00000004 - 0x00000010 - 0x00000000 - 0x00000000 - 0x00000001 - 0x00000021 - 0x0 - 0x1 - 0x81 - 0x0>; - - qcom,iommu-ctx@fdb18000 { - compatible = "qcom,msm-smmu-v1-ctx"; - reg = <0xfdb18000 0x1000>; - interrupts = <0 241 0>; - qcom,iommu-ctx-sids = <0>; - label = "gfx3d_user"; - }; - - qcom,iommu-ctx@fdb19000 { - compatible = "qcom,msm-smmu-v1-ctx"; - reg = <0xfdb19000 0x1000>; - interrupts = <0 241 0>; - qcom,iommu-ctx-sids = <1>; - label = "gfx3d_priv"; - }; - }; - - vfe_iommu: qcom,iommu@fda44000 { - compatible = "qcom,msm-smmu-v1"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - reg = <0xfda44000 0x10000>; - reg-names = "iommu_base"; - interrupts = <0 62 0>; - qcom,needs-alt-core-clk; - label = "vfe_iommu"; - qcom,msm-bus,name = "vfe_ebi"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,active-only; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <29 512 0 0>, - <29 512 0 1000>; - status = "disabled"; - - qcom,iommu-pmu-ngroups = <1>; - qcom,iommu-pmu-ncounters = <8>; - qcom,iommu-pmu-event-classes = <0x00 - 0x01 - 0x08 - 0x09 - 0x0A - 0x10 - 0x11 - 0x12 - 0x80 - 0x81 - 0x82 - 0x83 - 0x90 - 0x91 - 0x92 - 0xb0 - 0xb1>; - - qcom,iommu-bfb-regs = <0x204c - 0x2050 - 0x2514 - 0x2540 - 0x256c - 0x2314 - 0x2394 - 0x2414 - 0x20ac - 0x215c - 0x220c - 0x2008 - 0x200c - 0x2010 - 0x2014 - 0x2018 - 0x201c - 0x2020>; - - qcom,iommu-bfb-data = <0xffffffff - 0x00000000 - 0x4 - 0x8 - 0x0 - 0x0 - 0x20 - 0x78 - 0x0 - 0x20 - 0x36 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0>; - - qcom,iommu-ctx@fda4c000 { - compatible = "qcom,msm-smmu-v1-ctx"; - reg = <0xfda4c000 0x1000>; - interrupts = <0 65 0>; - qcom,iommu-ctx-sids = <0>; - label = "vfe0"; - }; - - qcom,iommu-ctx@fda4d000 { - compatible = "qcom,msm-smmu-v1-ctx"; - reg = <0xfda4d000 0x1000>; - interrupts = <0 65 0>; - qcom,iommu-ctx-sids = <1>; - label = "vfe1"; - }; - - qcom,iommu-ctx@fda4e000 { - compatible = "qcom,msm-smmu-v1-ctx"; - reg = <0xfda4e000 0x1000>; - interrupts = <0 65 0>; - qcom,iommu-ctx-sids = <2>; - label = "cpp"; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/msm-pm8019-rpm-regulator.dtsi b/kernel/arch/arm/boot/dts/lte_module-v1/msm-pm8019-rpm-regulator.dtsi deleted file mode 100755 index c48f67dca..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/msm-pm8019-rpm-regulator.dtsi +++ /dev/null @@ -1,301 +0,0 @@ -/* Copyright (c) 2012, 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. - */ - -&rpm_bus { - rpm-regulator-smpa1 { - qcom,resource-name = "smpa"; - qcom,resource-id = <1>; - qcom,regulator-type = <1>; - qcom,hpm-min-load = <100000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-s1 { - regulator-name = "8019_s1"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-smpa2 { - qcom,resource-name = "smpa"; - qcom,resource-id = <2>; - qcom,regulator-type = <1>; - qcom,hpm-min-load = <100000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-s2 { - regulator-name = "8019_s2"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-smpa3 { - qcom,resource-name = "smpa"; - qcom,resource-id = <3>; - qcom,regulator-type = <1>; - qcom,hpm-min-load = <100000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-s3 { - regulator-name = "8019_s3"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-smpa4 { - qcom,resource-name = "smpa"; - qcom,resource-id = <4>; - qcom,regulator-type = <1>; - qcom,hpm-min-load = <100000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-s4 { - regulator-name = "8019_s4"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa1 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <1>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l1 { - regulator-name = "8019_l1"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa2 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <2>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <5000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l2 { - regulator-name = "8019_l2"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa3 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <3>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l3 { - regulator-name = "8019_l3"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa4 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <4>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <5000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l4 { - regulator-name = "8019_l4"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa5 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <5>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l5 { - regulator-name = "8019_l5"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa6 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <6>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l6 { - regulator-name = "8019_l6"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa7 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <7>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l7 { - regulator-name = "8019_l7"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa8 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <8>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l8 { - regulator-name = "8019_l8"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa9 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <9>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l9 { - regulator-name = "8019_l9"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa10 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <10>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l10 { - regulator-name = "8019_l10"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa11 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <11>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l11 { - regulator-name = "8019_l11"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa12 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <12>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l12 { - regulator-name = "8019_l12"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa13 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <13>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <5000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l13 { - regulator-name = "8019_l13"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa14 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <14>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <5000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l14 { - regulator-name = "8019_l14"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/msm-pm8019.dtsi b/kernel/arch/arm/boot/dts/lte_module-v1/msm-pm8019.dtsi deleted file mode 100755 index 6b5edf7ea..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/msm-pm8019.dtsi +++ /dev/null @@ -1,415 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&spmi_bus { - #address-cells = <1>; - #size-cells = <0>; - interrupt-controller; - #interrupt-cells = <3>; - - qcom,pm8019@0 { - spmi-slave-container; - reg = <0x0>; - #address-cells = <1>; - #size-cells = <1>; - - qcom,power_on@800 { - compatible = "qcom,qpnp-power-on"; - reg = <0x800 0x100>; - interrupts = <0x0 0x8 0x2>; - interrupt-names = "cblpwr"; - qcom,pon-dbc-delay = <15625>; - qcom,system-reset; - - qcom,pon_1 { - qcom,pon-type = <2>; - qcom,pull-up = <1>; - linux,code = <116>; - }; - }; - - clkdiv@5b00 { - reg = <0x5b00 0x100>; - compatible = "qcom,qpnp-clkdiv"; - qcom,cxo-freq = <19200000>; - }; - - clkdiv@5c00 { - reg = <0x5c00 0x100>; - compatible = "qcom,qpnp-clkdiv"; - qcom,cxo-freq = <19200000>; - }; - - clkdiv@5d00 { - reg = <0x5d00 0x100>; - compatible = "qcom,qpnp-clkdiv"; - qcom,cxo-freq = <19200000>; - }; - - rtc { - spmi-dev-container; - compatible = "qcom,qpnp-rtc"; - #address-cells = <1>; - #size-cells = <1>; - qcom,qpnp-rtc-write = <0>; - qcom,qpnp-rtc-alarm-pwrup = <0>; - - qcom,pm8019_rtc_rw@6000 { - reg = <0x6000 0x100>; - }; - - qcom,pm8019_rtc_alarm@6100 { - reg = <0x6100 0x100>; - interrupts = <0x0 0x61 0x1>; - }; - }; - - pm8019_gpios: gpios { - spmi-dev-container; - compatible = "qcom,qpnp-pin"; - gpio-controller; - #gpio-cells = <2>; - #address-cells = <1>; - #size-cells = <1>; - label = "pm8019-gpio"; - - gpio@c000 { - reg = <0xc000 0x100>; - qcom,pin-num = <1>; - }; - - gpio@c100 { - reg = <0xc100 0x100>; - qcom,pin-num = <2>; - }; - - gpio@c200 { - reg = <0xc200 0x100>; - qcom,pin-num = <3>; - }; - - gpio@c300 { - reg = <0xc300 0x100>; - qcom,pin-num = <4>; - }; - - gpio@c400 { - reg = <0xc400 0x100>; - qcom,pin-num = <5>; - }; - - gpio@c500 { - reg = <0xc500 0x100>; - qcom,pin-num = <6>; - }; - }; - - pm8019_mpps: mpps { - spmi-dev-container; - compatible = "qcom,qpnp-pin"; - gpio-controller; - #gpio-cells = <2>; - #address-cells = <1>; - #size-cells = <1>; - label = "pm8019-mpp"; - - mpp@a000 { - reg = <0xa000 0x100>; - qcom,pin-num = <1>; - }; - - mpp@a100 { - reg = <0xa100 0x100>; - qcom,pin-num = <2>; - }; - - mpp@a200 { - reg = <0xa200 0x100>; - qcom,pin-num = <3>; - }; - - mpp@a300 { - reg = <0xa300 0x100>; - qcom,pin-num = <4>; - }; - - mpp@a400 { - reg = <0xa400 0x100>; - qcom,pin-num = <5>; - }; - - mpp@a500 { - reg = <0xa500 0x100>; - qcom,pin-num = <6>; - }; - }; - - pm8019_vadc: vadc@3100 { - compatible = "qcom,qpnp-vadc"; - reg = <0x3100 0x100>; - #address-cells = <1>; - #size-cells = <0>; - interrupts = <0x0 0x31 0x0>; - interrupt-names = "eoc-int-en-set"; - qcom,adc-bit-resolution = <15>; - qcom,adc-vdd-reference = <1800>; - qcom,vadc-poll-eoc; - - chan@8 { - label = "die_temp"; - reg = <8>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <3>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@9 { - label = "ref_625mv"; - reg = <9>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@a { - label = "ref_1250v"; - reg = <0xa>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - }; - - pm8019_adc_tm: vadc@3400 { - compatible = "qcom,qpnp-adc-tm"; - reg = <0x3400 0x100>; - #address-cells = <1>; - #size-cells = <0>; - interrupts = <0x0 0x34 0x0>, - <0x0 0x34 0x3>, - <0x0 0x34 0x4>; - interrupt-names = "eoc-int-en-set", - "high-thr-en-set", - "low-thr-en-set"; - qcom,adc-bit-resolution = <15>; - qcom,adc-vdd-reference = <1800>; - }; - }; - - qcom,pm8019@1 { - spmi-slave-container; - reg = <0x1>; - #address-cells = <1>; - #size-cells = <1>; - - regulator@1400 { - regulator-name = "8019_s1"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x1400 0x300>; - status = "disabled"; - - qcom,ctl@1400 { - reg = <0x1400 0x100>; - }; - qcom,ps@1500 { - reg = <0x1500 0x100>; - }; - qcom,freq@1600 { - reg = <0x1600 0x100>; - }; - }; - - regulator@1700 { - regulator-name = "8019_s2"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x1700 0x300>; - status = "disabled"; - - qcom,ctl@1700 { - reg = <0x1700 0x100>; - }; - qcom,ps@1800 { - reg = <0x1800 0x100>; - }; - qcom,freq@1900 { - reg = <0x1900 0x100>; - }; - }; - - regulator@1a00 { - regulator-name = "8019_s3"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x1a00 0x300>; - status = "disabled"; - - qcom,ctl@1a00 { - reg = <0x1a00 0x100>; - }; - qcom,ps@1b00 { - reg = <0x1b00 0x100>; - }; - qcom,freq@1c00 { - reg = <0x1c00 0x100>; - }; - }; - - regulator@1d00 { - regulator-name = "8019_s4"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x1d00 0x300>; - status = "disabled"; - - qcom,ctl@1d00 { - reg = <0x1d00 0x100>; - }; - qcom,ps@1e00 { - reg = <0x1e00 0x100>; - }; - qcom,freq@1f00 { - reg = <0x1f00 0x100>; - }; - }; - - regulator@4000 { - regulator-name = "8019_l1"; - reg = <0x4000 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4100 { - regulator-name = "8019_l2"; - reg = <0x4100 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4200 { - regulator-name = "8019_l3"; - reg = <0x4200 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4300 { - regulator-name = "8019_l4"; - reg = <0x4300 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4400 { - regulator-name = "8019_l5"; - reg = <0x4400 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4500 { - regulator-name = "8019_l6"; - reg = <0x4500 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4600 { - regulator-name = "8019_l7"; - reg = <0x4600 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4700 { - regulator-name = "8019_l8"; - reg = <0x4700 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4800 { - regulator-name = "8019_l9"; - reg = <0x4800 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4900 { - regulator-name = "8019_l10"; - reg = <0x4900 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4a00 { - regulator-name = "8019_l11"; - reg = <0x4a00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4b00 { - regulator-name = "8019_l12"; - reg = <0x4b00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4c00 { - regulator-name = "8019_l13"; - reg = <0x4c00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4d00 { - regulator-name = "8019_l14"; - reg = <0x4d00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4e00 { - regulator-name = "8019_ldo_xo"; - reg = <0x4e00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4f00 { - regulator-name = "8019_ldo_rfclk"; - reg = <0x4f00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/msm-pm8110-rpm-regulator.dtsi b/kernel/arch/arm/boot/dts/lte_module-v1/msm-pm8110-rpm-regulator.dtsi deleted file mode 100755 index 0de72b0de..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/msm-pm8110-rpm-regulator.dtsi +++ /dev/null @@ -1,381 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -&rpm_bus { - rpm-regulator-smpa1 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "smpa"; - qcom,resource-id = <1>; - qcom,regulator-type = <1>; - qcom,hpm-min-load = <100000>; - status = "disabled"; - - regulator-s1 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_s1"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-smpa3 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "smpa"; - qcom,resource-id = <3>; - qcom,regulator-type = <1>; - qcom,hpm-min-load = <100000>; - status = "disabled"; - - regulator-s3 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_s3"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-smpa4 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "smpa"; - qcom,resource-id = <4>; - qcom,regulator-type = <1>; - qcom,hpm-min-load = <100000>; - status = "disabled"; - - regulator-s4 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_s4"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa1 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <1>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l1 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l1"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa2 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <2>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l2 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l2"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa3 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <3>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l3 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l3"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa4 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <4>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l4 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l4"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa5 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <5>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l5 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l5"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa6 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <6>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l6 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l6"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa7 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <7>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l7 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l7"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa8 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <8>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <5000>; - status = "disabled"; - - regulator-l8 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l8"; - qcom,set = <1>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa9 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <9>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l9 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l9"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa10 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <10>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l10 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l10"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa12 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <12>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l12 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l12"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa14 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <14>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l14 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l14"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa15 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <15>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l15 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l15"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa16 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <16>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l16 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l16"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa17 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <17>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l17 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l17"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa18 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <18>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l18 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l18"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa19 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <19>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l19 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l19"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa20 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <20>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <5000>; - status = "disabled"; - - regulator-l20 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l20"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa21 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <21>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l21 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l21"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa22 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <22>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l22 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l22"; - qcom,set = <3>; - status = "disabled"; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/msm-pm8110.dtsi b/kernel/arch/arm/boot/dts/lte_module-v1/msm-pm8110.dtsi deleted file mode 100755 index 1877f40d7..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/msm-pm8110.dtsi +++ /dev/null @@ -1,608 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&spmi_bus { - #address-cells = <1>; - #size-cells = <0>; - interrupt-controller; - #interrupt-cells = <3>; - - qcom,pm8110@0 { - spmi-slave-container; - reg = <0x0>; - #address-cells = <1>; - #size-cells = <1>; - - qcom,power-on@800 { - compatible = "qcom,qpnp-power-on"; - reg = <0x800 0x100>; - interrupts = <0x0 0x8 0x0>, - <0x0 0x8 0x1>, - <0x0 0x8 0x4>; - interrupt-names = "kpdpwr", "resin", "resin-bark"; - qcom,pon-dbc-delay = <15625>; - qcom,system-reset; - - qcom,pon_1 { - qcom,pon-type = <0>; - qcom,pull-up = <1>; - linux,code = <116>; - }; - - qcom,pon_2 { - qcom,pon-type = <1>; - qcom,pull-up = <1>; - linux,code = <114>; - }; - }; - - pm8110_chg: qcom,charger { - spmi-dev-container; - compatible = "qcom,qpnp-charger"; - #address-cells = <1>; - #size-cells = <1>; - status = "disabled"; - - qcom,vddmax-mv = <4200>; - qcom,vddsafe-mv = <4230>; - qcom,vinmin-mv = <4200>; - qcom,vbatdet-mv = <4100>; - qcom,ibatmax-ma = <1500>; - qcom,ibatterm-ma = <200>; - qcom,ibatsafe-ma = <1500>; - qcom,thermal-mitigation = <1500 700 600 325>; - qcom,vbatdet-delta-mv = <350>; - qcom,tchg-mins = <150>; - - qcom,chgr@1000 { - status = "disabled"; - reg = <0x1000 0x100>; - interrupts = <0x0 0x10 0x0>, - <0x0 0x10 0x1>, - <0x0 0x10 0x2>, - <0x0 0x10 0x3>, - <0x0 0x10 0x4>, - <0x0 0x10 0x5>, - <0x0 0x10 0x6>, - <0x0 0x10 0x7>; - - interrupt-names = "vbat-det-lo", - "vbat-det-hi", - "chgwdog", - "state-change", - "trkl-chg-on", - "fast-chg-on", - "chg-failed", - "chg-done"; - }; - - qcom,buck@1100 { - status = "disabled"; - reg = <0x1100 0x100>; - interrupts = <0x0 0x11 0x0>, - <0x0 0x11 0x1>, - <0x0 0x11 0x2>, - <0x0 0x11 0x3>, - <0x0 0x11 0x4>, - <0x0 0x11 0x5>, - <0x0 0x11 0x6>; - - interrupt-names = "vbat-ov", - "vreg-ov", - "overtemp", - "vchg-loop", - "ichg-loop", - "ibat-loop", - "vdd-loop"; - }; - - qcom,bat-if@1200 { - status = "disabled"; - reg = <0x1200 0x100>; - interrupts = <0x0 0x12 0x0>, - <0x0 0x12 0x1>, - <0x0 0x12 0x2>, - <0x0 0x12 0x3>, - <0x0 0x12 0x4>; - - interrupt-names = "batt-pres", - "bat-temp-ok", - "bat-fet-on", - "vcp-on", - "psi"; - }; - - qcom,usb-chgpth@1300 { - status = "disabled"; - reg = <0x1300 0x100>; - interrupts = <0 0x13 0x0>, - <0 0x13 0x1>, - <0x0 0x13 0x2>; - - interrupt-names = "coarse-det-usb", - "usbin-valid", - "chg-gone"; - }; - - qcom,chg-misc@1600 { - status = "disabled"; - reg = <0x1600 0x100>; - }; - }; - - pm8110_gpios: gpios { - spmi-dev-container; - compatible = "qcom,qpnp-pin"; - gpio-controller; - #gpio-cells = <2>; - #address-cells = <1>; - #size-cells = <1>; - label = "pm8110-gpio"; - - gpio@c000 { - reg = <0xc000 0x100>; - qcom,pin-num = <1>; - }; - - gpio@c100 { - reg = <0xc100 0x100>; - qcom,pin-num = <2>; - }; - - gpio@c200 { - reg = <0xc200 0x100>; - qcom,pin-num = <3>; - }; - - gpio@c300 { - reg = <0xc300 0x100>; - qcom,pin-num = <4>; - }; - }; - - pm8110_mpps: mpps { - spmi-dev-container; - compatible = "qcom,qpnp-pin"; - gpio-controller; - #gpio-cells = <2>; - #address-cells = <1>; - #size-cells = <1>; - label = "pm8110-mpp"; - - mpp@a000 { - reg = <0xa000 0x100>; - qcom,pin-num = <1>; - }; - - mpp@a100 { - reg = <0xa100 0x100>; - qcom,pin-num = <2>; - }; - - mpp@a200 { - reg = <0xa200 0x100>; - qcom,pin-num = <3>; - }; - - mpp@a300 { - reg = <0xa300 0x100>; - qcom,pin-num = <4>; - }; - }; - - pm8110_vadc: vadc@3100 { - compatible = "qcom,qpnp-vadc"; - reg = <0x3100 0x100>; - #address-cells = <1>; - #size-cells = <0>; - interrupts = <0x0 0x31 0x0>; - interrupt-names = "eoc-int-en-set"; - qcom,adc-bit-resolution = <15>; - qcom,adc-vdd-reference = <1800>; - - chan@8 { - label = "die_temp"; - reg = <8>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <3>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@9 { - label = "ref_625mv"; - reg = <9>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@a { - label = "ref_1250v"; - reg = <0xa>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - }; - - iadc@3600 { - compatible = "qcom,qpnp-iadc"; - reg = <0x3600 0x100>; - #address-cells = <1>; - #size-cells = <0>; - interrupts = <0x0 0x36 0x0>; - interrupt-names = "eoc-int-en-set"; - qcom,adc-bit-resolution = <16>; - qcom,adc-vdd-reference = <1800>; - - chan@0 { - label = "internal_rsense"; - reg = <0>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <1>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - }; - - pm8110_adc_tm: vadc@3400 { - compatible = "qcom,qpnp-adc-tm"; - reg = <0x3400 0x100>; - #address-cells = <1>; - #size-cells = <0>; - interrupts = <0x0 0x34 0x0>, - <0x0 0x34 0x3>, - <0x0 0x34 0x4>; - interrupt-names = "eoc-int-en-set", - "high-thr-en-set", - "low-thr-en-set"; - qcom,adc-bit-resolution = <15>; - qcom,adc-vdd-reference = <1800>; - }; - - qcom,temp-alarm@2400 { - compatible = "qcom,qpnp-temp-alarm"; - reg = <0x2400 0x100>; - interrupts = <0x0 0x24 0x0>; - label = "pm8110_tz"; - qcom,channel-num = <8>; - qcom,threshold-set = <0>; - }; - - pm8110_bms: qcom,bms { - spmi-dev-container; - compatible = "qcom,qpnp-bms"; - #address-cells = <1>; - #size-cells = <1>; - status = "disabled"; - - qcom,r-sense-uohm = <10000>; - qcom,v-cutoff-uv = <3400000>; - qcom,max-voltage-uv = <4200000>; - qcom,r-conn-mohm = <0>; - qcom,shutdown-soc-valid-limit = <20>; - qcom,adjust-soc-low-threshold = <15>; - qcom,ocv-voltage-high-threshold-uv = <3750000>; - qcom,ocv-voltage-low-threshold-uv = <3650000>; - qcom,low-soc-calculate-soc-threshold = <15>; - qcom,low-soc-calculate-soc-ms = <5000>; - qcom,calculate-soc-ms = <20000>; - qcom,chg-term-ua = <100000>; - qcom,batt-type = <0>; - qcom,low-voltage-threshold = <3420000>; - qcom,tm-temp-margin = <5000>; - qcom,low-ocv-correction-limit-uv = <100>; - qcom,high-ocv-correction-limit-uv = <50>; - qcom,hold-soc-est = <3>; - - qcom,bms-iadc@3800 { - reg = <0x3800 0x100>; - }; - - qcom,bms-bms@4000 { - reg = <0x4000 0x100>; - interrupts = <0x0 0x40 0x0>, - <0x0 0x40 0x1>, - <0x0 0x40 0x2>, - <0x0 0x40 0x3>, - <0x0 0x40 0x4>, - <0x0 0x40 0x5>, - <0x0 0x40 0x6>, - <0x0 0x40 0x7>; - - interrupt-names = "vsense_for_r", - "vsense_avg", - "sw_cc_thr", - "ocv_thr", - "charge_begin", - "good_ocv", - "ocv_for_r", - "cc_thr"; - }; - }; - - qcom,pm8110_rtc { - spmi-dev-container; - compatible = "qcom,qpnp-rtc"; - #address-cells = <1>; - #size-cells = <1>; - qcom,qpnp-rtc-write = <0>; - qcom,qpnp-rtc-alarm-pwrup = <0>; - - qcom,pm8110_rtc_rw@6000 { - reg = <0x6000 0x100>; - }; - - qcom,pm8110_rtc_alarm@6100 { - reg = <0x6100 0x100>; - interrupts = <0x0 0x61 0x1>; - }; - }; - - qcom,leds@a100 { - compatible = "qcom,leds-qpnp"; - reg = <0xa100 0x100>; - label = "mpp"; - }; - - qcom,leds@a200 { - compatible = "qcom,leds-qpnp"; - reg = <0xa200 0x100>; - label = "mpp"; - }; - }; - - qcom,pm8110@1 { - spmi-slave-container; - reg = <0x1>; - #address-cells = <1>; - #size-cells = <1>; - - regulator@1400 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_s1"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - reg = <0x1400 0x300>; - status = "disabled"; - - qcom,ctl@1400 { - reg = <0x1400 0x100>; - }; - qcom,ps@1500 { - reg = <0x1500 0x100>; - }; - qcom,freq@1600 { - reg = <0x1600 0x100>; - }; - }; - - regulator@1700 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_s2"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - reg = <0x1700 0x300>; - status = "disabled"; - - qcom,ctl@1700 { - reg = <0x1700 0x100>; - }; - qcom,ps@1800 { - reg = <0x1800 0x100>; - }; - qcom,freq@1900 { - reg = <0x1900 0x100>; - }; - }; - - regulator@1a00 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_s3"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - reg = <0x1a00 0x300>; - status = "disabled"; - - qcom,ctl@1a00 { - reg = <0x1a00 0x100>; - }; - qcom,ps@1b00 { - reg = <0x1b00 0x100>; - }; - qcom,freq@1c00 { - reg = <0x1c00 0x100>; - }; - }; - - regulator@1d00 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_s4"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - reg = <0x1d00 0x300>; - status = "disabled"; - - qcom,ctl@1d00 { - reg = <0x1d00 0x100>; - }; - qcom,ps@1e00 { - reg = <0x1e00 0x100>; - }; - qcom,freq@1f00 { - reg = <0x1f00 0x100>; - }; - }; - - regulator@4000 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_l1"; - reg = <0x4000 0x100>; - status = "disabled"; - }; - - regulator@4100 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_l2"; - reg = <0x4100 0x100>; - status = "disabled"; - }; - - regulator@4200 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_l3"; - reg = <0x4200 0x100>; - status = "disabled"; - }; - - regulator@4300 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_l4"; - reg = <0x4300 0x100>; - status = "disabled"; - }; - - regulator@4400 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_l5"; - reg = <0x4400 0x100>; - status = "disabled"; - }; - - regulator@4500 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_l6"; - reg = <0x4500 0x100>; - status = "disabled"; - }; - - regulator@4600 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_l7"; - reg = <0x4600 0x100>; - status = "disabled"; - }; - - regulator@4700 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_l8"; - reg = <0x4700 0x100>; - status = "disabled"; - }; - - regulator@4800 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_l9"; - reg = <0x4800 0x100>; - status = "disabled"; - }; - - regulator@4900 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_l10"; - reg = <0x4900 0x100>; - status = "disabled"; - }; - - regulator@4b00 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_l12"; - reg = <0x4b00 0x100>; - status = "disabled"; - }; - - regulator@4d00 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_l14"; - reg = <0x4d00 0x100>; - status = "disabled"; - }; - - regulator@4e00 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_l15"; - reg = <0x4e00 0x100>; - status = "disabled"; - }; - - regulator@4f00 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_l16"; - reg = <0x4f00 0x100>; - status = "disabled"; - }; - - regulator@5000 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_l17"; - reg = <0x5000 0x100>; - status = "disabled"; - }; - - regulator@5100 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_l18"; - reg = <0x5100 0x100>; - status = "disabled"; - }; - - regulator@5200 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_l19"; - reg = <0x5200 0x100>; - status = "disabled"; - }; - - regulator@5300 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_l20"; - reg = <0x5300 0x100>; - status = "disabled"; - }; - - regulator@5400 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_l21"; - reg = <0x5400 0x100>; - status = "disabled"; - }; - - regulator@5500 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_l22"; - reg = <0x5500 0x100>; - status = "disabled"; - }; - - qcom,vibrator@c000 { - compatible = "qcom,qpnp-vibrator"; - reg = <0xc000 0x100>; - label = "vibrator"; - status = "disabled"; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/msm-pm8226-rpm-regulator.dtsi b/kernel/arch/arm/boot/dts/lte_module-v1/msm-pm8226-rpm-regulator.dtsi deleted file mode 100755 index ded949489..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/msm-pm8226-rpm-regulator.dtsi +++ /dev/null @@ -1,492 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -&rpm_bus { - rpm-regulator-smpa1 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "smpa"; - qcom,resource-id = <1>; - qcom,regulator-type = <1>; - qcom,hpm-min-load = <100000>; - status = "disabled"; - - regulator-s1 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_s1"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-smpa3 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "smpa"; - qcom,resource-id = <3>; - qcom,regulator-type = <1>; - qcom,hpm-min-load = <100000>; - status = "disabled"; - - regulator-s3 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_s3"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-smpa4 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "smpa"; - qcom,resource-id = <4>; - qcom,regulator-type = <1>; - qcom,hpm-min-load = <100000>; - status = "disabled"; - - regulator-s4 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_s4"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-smpa5 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "smpa"; - qcom,resource-id = <5>; - qcom,regulator-type = <1>; - qcom,hpm-min-load = <100000>; - status = "disabled"; - - regulator-s5 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_s5"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa1 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <1>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l1 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l1"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa2 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <2>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l2 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l2"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa3 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <3>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l3 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l3"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa4 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <4>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l4 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l4"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa5 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <5>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l5 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l5"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa6 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <6>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l6 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l6"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa7 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <7>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l7 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l7"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa8 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <8>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <5000>; - status = "disabled"; - - regulator-l8 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l8"; - qcom,set = <1>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa9 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <9>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l9 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l9"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa10 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <10>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <5000>; - status = "disabled"; - - regulator-l10 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l10"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa12 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <12>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l12 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l12"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa14 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <14>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <5000>; - status = "disabled"; - - regulator-l14 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l14"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa15 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <15>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l15 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l15"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa16 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <16>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l16 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l16"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa17 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <17>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l17 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l17"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa18 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <18>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l18 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l18"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa19 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <19>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l19 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l19"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa20 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <20>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <5000>; - status = "disabled"; - - regulator-l20 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l20"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa21 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <21>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <5000>; - status = "disabled"; - - regulator-l21 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l21"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa22 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <22>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l22 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l22"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa23 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <23>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l23 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l23"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa24 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <24>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l24 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l24"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa26 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <26>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l26 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l26"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa27 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <27>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l27 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l27"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa28 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <28>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l28 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l28"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-vsa1 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "vsa"; - qcom,resource-id = <1>; - qcom,regulator-type = <2>; - status = "disabled"; - - regulator-lvs1 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_lvs1"; - qcom,set = <3>; - status = "disabled"; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/msm-pm8226.dtsi b/kernel/arch/arm/boot/dts/lte_module-v1/msm-pm8226.dtsi deleted file mode 100755 index d429f72b7..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/msm-pm8226.dtsi +++ /dev/null @@ -1,833 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&spmi_bus { - #address-cells = <1>; - #size-cells = <0>; - interrupt-controller; - #interrupt-cells = <3>; - - qcom,pm8226@0 { - spmi-slave-container; - reg = <0x0>; - #address-cells = <1>; - #size-cells = <1>; - - qcom,power-on@800 { - compatible = "qcom,qpnp-power-on"; - reg = <0x800 0x100>; - interrupts = <0x0 0x8 0x0>, - <0x0 0x8 0x1>, - <0x0 0x8 0x4>; - interrupt-names = "kpdpwr", "resin", "resin-bark"; - qcom,pon-dbc-delay = <15625>; - qcom,system-reset; - - qcom,pon_1 { - qcom,pon-type = <0>; - qcom,pull-up = <1>; - linux,code = <116>; - }; - - qcom,pon_2 { - qcom,pon-type = <1>; - qcom,support-reset = <1>; - qcom,pull-up = <1>; - qcom,s1-timer = <0>; - qcom,s2-timer = <2000>; - qcom,s2-type = <1>; - linux,code = <114>; - }; - }; - - pm8226_chg: qcom,charger { - spmi-dev-container; - compatible = "qcom,qpnp-charger"; - #address-cells = <1>; - #size-cells = <1>; - status = "disabled"; - - qcom,vddmax-mv = <4200>; - qcom,vddsafe-mv = <4230>; - qcom,vinmin-mv = <4200>; - qcom,vbatdet-delta-mv = <150>; - qcom,ibatmax-ma = <1500>; - qcom,ibatterm-ma = <100>; - qcom,ibatsafe-ma = <1500>; - qcom,thermal-mitigation = <1500 700 600 325>; - qcom,tchg-mins = <150>; - - qcom,chgr@1000 { - status = "disabled"; - reg = <0x1000 0x100>; - interrupts = <0x0 0x10 0x0>, - <0x0 0x10 0x1>, - <0x0 0x10 0x2>, - <0x0 0x10 0x3>, - <0x0 0x10 0x4>, - <0x0 0x10 0x5>, - <0x0 0x10 0x6>, - <0x0 0x10 0x7>; - - interrupt-names = "vbat-det-lo", - "vbat-det-hi", - "chgwdog", - "state-change", - "trkl-chg-on", - "fast-chg-on", - "chg-failed", - "chg-done"; - }; - - qcom,buck@1100 { - status = "disabled"; - reg = <0x1100 0x100>; - interrupts = <0x0 0x11 0x0>, - <0x0 0x11 0x1>, - <0x0 0x11 0x2>, - <0x0 0x11 0x3>, - <0x0 0x11 0x4>, - <0x0 0x11 0x5>, - <0x0 0x11 0x6>; - - interrupt-names = "vbat-ov", - "vreg-ov", - "overtemp", - "vchg-loop", - "ichg-loop", - "ibat-loop", - "vdd-loop"; - }; - - qcom,bat-if@1200 { - status = "disabled"; - reg = <0x1200 0x100>; - interrupts = <0x0 0x12 0x0>, - <0x0 0x12 0x1>, - <0x0 0x12 0x2>, - <0x0 0x12 0x3>, - <0x0 0x12 0x4>; - - interrupt-names = "batt-pres", - "bat-temp-ok", - "bat-fet-on", - "vcp-on", - "psi"; - - }; - - pm8226_chg_otg: qcom,usb-chgpth@1300 { - status = "disabled"; - reg = <0x1300 0x100>; - interrupts = <0 0x13 0x0>, - <0 0x13 0x1>, - <0x0 0x13 0x2>; - - interrupt-names = "coarse-det-usb", - "usbin-valid", - "chg-gone"; - }; - - pm8226_chg_boost: qcom,boost@1500 { - status = "disabled"; - reg = <0x1500 0x100>; - interrupts = <0x0 0x15 0x0>, - <0x0 0x15 0x1>; - - interrupt-names = "boost-pwr-ok", - "limit-error"; - }; - - qcom,chg-misc@1600 { - status = "disabled"; - reg = <0x1600 0x100>; - }; - }; - - pm8226_bms: qcom,bms { - spmi-dev-container; - compatible = "qcom,qpnp-bms"; - #address-cells = <1>; - #size-cells = <1>; - status = "disabled"; - - qcom,r-sense-uohm = <10000>; - qcom,v-cutoff-uv = <3400000>; - qcom,max-voltage-uv = <4200000>; - qcom,r-conn-mohm = <0>; - qcom,shutdown-soc-valid-limit = <20>; - qcom,adjust-soc-low-threshold = <15>; - qcom,ocv-voltage-high-threshold-uv = <3750000>; - qcom,ocv-voltage-low-threshold-uv = <3650000>; - qcom,low-soc-calculate-soc-threshold = <15>; - qcom,low-soc-calculate-soc-ms = <5000>; - qcom,calculate-soc-ms = <20000>; - qcom,chg-term-ua = <100000>; - qcom,batt-type = <0>; - qcom,tm-temp-margin = <5000>; - qcom,low-ocv-correction-limit-uv = <100>; - qcom,high-ocv-correction-limit-uv = <50>; - qcom,hold-soc-est = <3>; - qcom,low-voltage-threshold = <3420000>; - - qcom,bms-iadc@3800 { - reg = <0x3800 0x100>; - }; - - qcom,bms-bms@4000 { - reg = <0x4000 0x100>; - interrupts = <0x0 0x40 0x0>, - <0x0 0x40 0x1>, - <0x0 0x40 0x2>, - <0x0 0x40 0x3>, - <0x0 0x40 0x4>, - <0x0 0x40 0x5>, - <0x0 0x40 0x6>, - <0x0 0x40 0x7>; - - interrupt-names = "vsense_for_r", - "vsense_avg", - "sw_cc_thr", - "ocv_thr", - "charge_begin", - "good_ocv", - "ocv_for_r", - "cc_thr"; - }; - }; - - qcom,leds@a100 { - compatible = "qcom,leds-qpnp"; - reg = <0xa100 0x100>; - label = "mpp"; - }; - - qcom,leds@a300 { - compatible = "qcom,leds-qpnp"; - reg = <0xa300 0x100>; - label = "mpp"; - }; - - qcom,leds@a500 { - compatible = "qcom,leds-qpnp"; - reg = <0xa500 0x100>; - label = "mpp"; - }; - - pm8226_gpios: gpios { - spmi-dev-container; - compatible = "qcom,qpnp-pin"; - gpio-controller; - #gpio-cells = <2>; - #address-cells = <1>; - #size-cells = <1>; - label = "pm8226-gpio"; - - gpio@c000 { - reg = <0xc000 0x100>; - qcom,pin-num = <1>; - }; - - gpio@c100 { - reg = <0xc100 0x100>; - qcom,pin-num = <2>; - }; - - gpio@c200 { - reg = <0xc200 0x100>; - qcom,pin-num = <3>; - }; - - gpio@c300 { - reg = <0xc300 0x100>; - qcom,pin-num = <4>; - }; - - gpio@c400 { - reg = <0xc400 0x100>; - qcom,pin-num = <5>; - }; - - gpio@c500 { - reg = <0xc500 0x100>; - qcom,pin-num = <6>; - }; - - gpio@c600 { - reg = <0xc600 0x100>; - qcom,pin-num = <7>; - }; - - gpio@c700 { - reg = <0xc700 0x100>; - qcom,pin-num = <8>; - }; - }; - - pm8226_mpps: mpps { - spmi-dev-container; - compatible = "qcom,qpnp-pin"; - gpio-controller; - #gpio-cells = <2>; - #address-cells = <1>; - #size-cells = <1>; - label = "pm8226-mpp"; - - mpp@a000 { - reg = <0xa000 0x100>; - qcom,pin-num = <1>; - }; - - mpp@a100 { - reg = <0xa100 0x100>; - qcom,pin-num = <2>; - }; - - mpp@a200 { - reg = <0xa200 0x100>; - qcom,pin-num = <3>; - }; - - mpp@a300 { - reg = <0xa300 0x100>; - qcom,pin-num = <4>; - }; - - mpp@a400 { - reg = <0xa400 0x100>; - qcom,pin-num = <5>; - }; - - mpp@a500 { - reg = <0xa500 0x100>; - qcom,pin-num = <6>; - }; - - mpp@a600 { - reg = <0xa600 0x100>; - qcom,pin-num = <7>; - }; - - mpp@a700 { - reg = <0xa700 0x100>; - qcom,pin-num = <8>; - }; - }; - - pm8226_vadc: vadc@3100 { - compatible = "qcom,qpnp-vadc"; - reg = <0x3100 0x100>; - #address-cells = <1>; - #size-cells = <0>; - interrupts = <0x0 0x31 0x0>; - interrupt-names = "eoc-int-en-set"; - qcom,adc-bit-resolution = <15>; - qcom,adc-vdd-reference = <1800>; - - chan@8 { - label = "die_temp"; - reg = <8>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <3>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@9 { - label = "ref_625mv"; - reg = <9>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@a { - label = "ref_1250v"; - reg = <0xa>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@c { - label = "ref_buf_625mv"; - reg = <0xc>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - }; - - iadc@3600 { - compatible = "qcom,qpnp-iadc"; - reg = <0x3600 0x100>; - #address-cells = <1>; - #size-cells = <0>; - interrupts = <0x0 0x36 0x0>; - interrupt-names = "eoc-int-en-set"; - qcom,adc-bit-resolution = <16>; - qcom,adc-vdd-reference = <1800>; - - chan@0 { - label = "internal_rsense"; - reg = <0>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <1>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - }; - - pm8226_adc_tm: vadc@3400 { - compatible = "qcom,qpnp-adc-tm"; - reg = <0x3400 0x100>; - #address-cells = <1>; - #size-cells = <0>; - interrupts = <0x0 0x34 0x0>, - <0x0 0x34 0x3>, - <0x0 0x34 0x4>; - interrupt-names = "eoc-int-en-set", - "high-thr-en-set", - "low-thr-en-set"; - qcom,adc-bit-resolution = <15>; - qcom,adc-vdd-reference = <1800>; - }; - - qcom,temp-alarm@2400 { - compatible = "qcom,qpnp-temp-alarm"; - reg = <0x2400 0x100>; - interrupts = <0x0 0x24 0x0>; - label = "pm8226_tz"; - qcom,channel-num = <8>; - qcom,threshold-set = <0>; - }; - - qcom,pm8226_rtc { - spmi-dev-container; - compatible = "qcom,qpnp-rtc"; - #address-cells = <1>; - #size-cells = <1>; - qcom,qpnp-rtc-write = <0>; - qcom,qpnp-rtc-alarm-pwrup = <0>; - - qcom,pm8226_rtc_rw@6000 { - reg = <0x6000 0x100>; - }; - qcom,pm8226_rtc_alarm@6100 { - reg = <0x6100 0x100>; - interrupts = <0x0 0x61 0x1>; - }; - }; - }; - - qcom,pm8226@1 { - spmi-slave-container; - reg = <0x1>; - #address-cells = <1>; - #size-cells = <1>; - - regulator@1400 { - regulator-name = "8226_s1"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x1400 0x300>; - status = "disabled"; - - qcom,ctl@1400 { - reg = <0x1400 0x100>; - }; - qcom,ps@1500 { - reg = <0x1500 0x100>; - }; - qcom,freq@1600 { - reg = <0x1600 0x100>; - }; - }; - - regulator@1700 { - regulator-name = "8226_s2"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x1700 0x300>; - status = "disabled"; - - qcom,ctl@1700 { - reg = <0x1700 0x100>; - }; - qcom,ps@1800 { - reg = <0x1800 0x100>; - }; - qcom,freq@1900 { - reg = <0x1900 0x100>; - }; - }; - - regulator@1a00 { - regulator-name = "8226_s3"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x1a00 0x300>; - status = "disabled"; - - qcom,ctl@1a00 { - reg = <0x1a00 0x100>; - }; - qcom,ps@1b00 { - reg = <0x1b00 0x100>; - }; - qcom,freq@1c00 { - reg = <0x1c00 0x100>; - }; - }; - - regulator@1d00 { - regulator-name = "8226_s4"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x1d00 0x300>; - status = "disabled"; - - qcom,ctl@1d00 { - reg = <0x1d00 0x100>; - }; - qcom,ps@1e00 { - reg = <0x1e00 0x100>; - }; - qcom,freq@1f00 { - reg = <0x1f00 0x100>; - }; - }; - - regulator@2000 { - regulator-name = "8226_s5"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x2000 0x300>; - status = "disabled"; - - qcom,ctl@2000 { - reg = <0x2000 0x100>; - }; - qcom,ps@2100 { - reg = <0x2100 0x100>; - }; - qcom,freq@2200 { - reg = <0x2200 0x100>; - }; - }; - - regulator@4000 { - regulator-name = "8226_l1"; - reg = <0x4000 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4100 { - regulator-name = "8226_l2"; - reg = <0x4100 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4200 { - regulator-name = "8226_l3"; - reg = <0x4200 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4300 { - regulator-name = "8226_l4"; - reg = <0x4300 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4400 { - regulator-name = "8226_l5"; - reg = <0x4400 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4500 { - regulator-name = "8226_l6"; - reg = <0x4500 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4600 { - regulator-name = "8226_l7"; - reg = <0x4600 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4700 { - regulator-name = "8226_l8"; - reg = <0x4700 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4800 { - regulator-name = "8226_l9"; - reg = <0x4800 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4900 { - regulator-name = "8226_l10"; - reg = <0x4900 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4b00 { - regulator-name = "8226_l12"; - reg = <0x4b00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4d00 { - regulator-name = "8226_l14"; - reg = <0x4d00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4e00 { - regulator-name = "8226_l15"; - reg = <0x4e00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4f00 { - regulator-name = "8226_l16"; - reg = <0x4f00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5000 { - regulator-name = "8226_l17"; - reg = <0x5000 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5100 { - regulator-name = "8226_l18"; - reg = <0x5100 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5200 { - regulator-name = "8226_l19"; - reg = <0x5200 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5300 { - regulator-name = "8226_l20"; - reg = <0x5300 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5400 { - regulator-name = "8226_l21"; - reg = <0x5400 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5500 { - regulator-name = "8226_l22"; - reg = <0x5500 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5600 { - regulator-name = "8226_l23"; - reg = <0x5600 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5700 { - regulator-name = "8226_l24"; - reg = <0x5700 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5900 { - regulator-name = "8226_l26"; - reg = <0x5900 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5a00 { - regulator-name = "8226_l27"; - reg = <0x5a00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5b00 { - regulator-name = "8226_l28"; - reg = <0x5b00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - qcom,leds@d800 { - compatible = "qcom,leds-qpnp"; - reg = <0xd800 0x100>; - label = "wled"; - }; - - pwm@b100 { - compatible = "qcom,qpnp-pwm"; - reg = <0xb100 0x100>, - <0xb042 0x7e>; - reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base"; - qcom,channel-id = <0>; - }; - - pwm@b200 { - compatible = "qcom,qpnp-pwm"; - reg = <0xb200 0x100>, - <0xb042 0x7e>; - reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base"; - qcom,channel-id = <1>; - }; - - pwm@b300 { - compatible = "qcom,qpnp-pwm"; - reg = <0xb300 0x100>, - <0xb042 0x7e>; - reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base"; - qcom,channel-id = <2>; - }; - - pwm@b400 { - compatible = "qcom,qpnp-pwm"; - reg = <0xb400 0x100>, - <0xb042 0x7e>; - reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base"; - qcom,channel-id = <3>; - }; - - pwm@b500 { - compatible = "qcom,qpnp-pwm"; - reg = <0xb500 0x100>, - <0xb042 0x7e>; - reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base"; - qcom,channel-id = <4>; - }; - - pwm@b600 { - compatible = "qcom,qpnp-pwm"; - reg = <0xb600 0x100>, - <0xb042 0x7e>; - reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base"; - qcom,channel-id = <5>; - }; - - regulator@8000 { - regulator-name = "8226_lvs1"; - reg = <0x8000 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - qcom,vibrator@c000 { - compatible = "qcom,qpnp-vibrator"; - reg = <0xc000 0x100>; - label = "vibrator"; - status = "disabled"; - }; - - qcom,leds@d300 { - compatible = "qcom,leds-qpnp"; - status = "okay"; - reg = <0xd300 0x100>; - label = "flash"; - flash_boost-supply = <&pm8226_chg_boost>; - pm8226_flash0: qcom,flash_0 { - qcom,max-current = <1000>; - qcom,default-state = "off"; - qcom,headroom = <0>; - qcom,duration = <1280>; - qcom,clamp-curr = <200>; - qcom,startup-dly = <1>; - qcom,safety-timer; - label = "flash"; - linux,default-trigger = - "flash0_trigger"; - qcom,id = <1>; - linux,name = "led:flash_0"; - qcom,current = <625>; - }; - - pm8226_flash1: qcom,flash_1 { - qcom,max-current = <1000>; - qcom,default-state = "off"; - qcom,headroom = <0>; - qcom,duration = <1280>; - qcom,clamp-curr = <200>; - qcom,startup-dly = <1>; - qcom,safety-timer; - linux,default-trigger = - "flash1_trigger"; - label = "flash"; - qcom,id = <2>; - linux,name = "led:flash_1"; - qcom,current = <625>; - }; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/msm-pm8841.dtsi b/kernel/arch/arm/boot/dts/lte_module-v1/msm-pm8841.dtsi deleted file mode 100755 index a2d80ec05..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/msm-pm8841.dtsi +++ /dev/null @@ -1,242 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&spmi_bus { - #address-cells = <1>; - #size-cells = <0>; - interrupt-controller; - #interrupt-cells = <3>; - - qcom,pm8841@4 { - spmi-slave-container; - reg = <0x4>; - #address-cells = <1>; - #size-cells = <1>; - - qcom,qpnp-revid@100 { - compatible = "qcom,qpnp-revid"; - reg = <0x100 0x100>; - }; - - qcom,temp-alarm@2400 { - compatible = "qcom,qpnp-temp-alarm"; - reg = <0x2400 0x100>; - interrupts = <0x4 0x24 0x0>; - label = "pm8841_tz"; - qcom,threshold-set = <0>; - qcom,default-temp = <37000>; - }; - - pm8841_mpps: mpps { - spmi-dev-container; - compatible = "qcom,qpnp-pin"; - gpio-controller; - #gpio-cells = <2>; - #address-cells = <1>; - #size-cells = <1>; - label = "pm8841-mpp"; - - mpp@a000 { - reg = <0xa000 0x100>; - qcom,pin-num = <1>; - }; - - mpp@a100 { - reg = <0xa100 0x100>; - qcom,pin-num = <2>; - }; - - mpp@a200 { - reg = <0xa200 0x100>; - qcom,pin-num = <3>; - }; - - mpp@a300 { - reg = <0xa300 0x100>; - qcom,pin-num = <4>; - }; - }; - }; - - qcom,pm8841@5 { - spmi-slave-container; - reg = <0x5>; - #address-cells = <1>; - #size-cells = <1>; - - regulator@1400 { - regulator-name = "8841_s1"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x1400 0x300>; - status = "disabled"; - - qcom,ctl@1400 { - reg = <0x1400 0x100>; - }; - qcom,ps@1500 { - reg = <0x1500 0x100>; - }; - qcom,freq@1600 { - reg = <0x1600 0x100>; - }; - }; - - regulator@1700 { - regulator-name = "8841_s2"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x1700 0x300>; - status = "disabled"; - qcom,force-type = <0x1c 0x08>; - - qcom,ctl@1700 { - reg = <0x1700 0x100>; - }; - qcom,ps@1800 { - reg = <0x1800 0x100>; - }; - qcom,freq@1900 { - reg = <0x1900 0x100>; - }; - }; - - regulator@1a00 { - regulator-name = "8841_s3"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x1a00 0x300>; - status = "disabled"; - - qcom,ctl@1a00 { - reg = <0x1a00 0x100>; - }; - qcom,ps@1b00 { - reg = <0x1b00 0x100>; - }; - qcom,freq@1c00 { - reg = <0x1c00 0x100>; - }; - }; - - regulator@1d00 { - regulator-name = "8841_s4"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x1d00 0x300>; - status = "disabled"; - qcom,force-type = <0x1c 0x08>; - - qcom,ctl@1d00 { - reg = <0x1d00 0x100>; - }; - qcom,ps@1e00 { - reg = <0x1e00 0x100>; - }; - qcom,freq@1f00 { - reg = <0x1f00 0x100>; - }; - }; - - regulator@2000 { - regulator-name = "8841_s5"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x2000 0x300>; - status = "disabled"; - qcom,force-type = <0x1c 0x08>; - - qcom,ctl@0 { - reg = <0x2000 0x100>; - }; - qcom,ps@100 { - reg = <0x2100 0x100>; - }; - qcom,freq@200 { - reg = <0x2200 0x100>; - }; - }; - - regulator@2300 { - regulator-name = "8841_s6"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x2300 0x300>; - status = "disabled"; - qcom,force-type = <0x1c 0x08>; - - qcom,ctl@2300 { - reg = <0x2300 0x100>; - }; - qcom,ps@2400 { - reg = <0x2400 0x100>; - }; - qcom,freq@2500 { - reg = <0x2500 0x100>; - }; - }; - - regulator@2600 { - regulator-name = "8841_s7"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x2600 0x300>; - status = "disabled"; - qcom,force-type = <0x1c 0x08>; - - qcom,ctl@2600 { - reg = <0x2600 0x100>; - }; - qcom,ps@2700 { - reg = <0x2700 0x100>; - }; - qcom,freq@2800 { - reg = <0x2800 0x100>; - }; - }; - - regulator@2900 { - regulator-name = "8841_s8"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x2900 0x300>; - status = "disabled"; - qcom,force-type = <0x1c 0x08>; - - qcom,ctl@2900 { - reg = <0x2900 0x100>; - }; - qcom,ps@2a000 { - reg = <0x2a00 0x100>; - }; - qcom,freq@2b00 { - reg = <0x2b00 0x100>; - }; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/msm-pm8941.dtsi b/kernel/arch/arm/boot/dts/lte_module-v1/msm-pm8941.dtsi deleted file mode 100755 index b4e557e16..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/msm-pm8941.dtsi +++ /dev/null @@ -1,1384 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&spmi_bus { - #address-cells = <1>; - #size-cells = <0>; - interrupt-controller; - #interrupt-cells = <3>; - - qcom,pm8941@0 { - spmi-slave-container; - reg = <0x0>; - #address-cells = <1>; - #size-cells = <1>; - - pm8941_misc: qcom,misc@900 { - compatible = "qcom,qpnp-misc"; - reg = <0x900 0x100>; - }; - - qcom,revid@100 { - compatible = "qcom,qpnp-revid"; - reg = <0x100 0x100>; - }; - - qcom,temp-alarm@2400 { - compatible = "qcom,qpnp-temp-alarm"; - reg = <0x2400 0x100>; - interrupts = <0x0 0x24 0x0>; - label = "pm8941_tz"; - qcom,channel-num = <8>; - qcom,threshold-set = <0>; - }; - - qcom,power-on@800 { - compatible = "qcom,qpnp-power-on"; - reg = <0x800 0x100>; - interrupts = <0x0 0x8 0x0>, - <0x0 0x8 0x1>, - <0x0 0x8 0x4>; - interrupt-names = "kpdpwr", "resin", "resin-bark"; - qcom,pon-dbc-delay = <15625>; - qcom,system-reset; - - qcom,pon_1 { - qcom,pon-type = <0>; - qcom,pull-up = <1>; - linux,code = <116>; - }; - - qcom,pon_2 { - qcom,pon-type = <1>; - qcom,support-reset = <1>; - qcom,pull-up = <1>; - qcom,s1-timer = <0>; - qcom,s2-timer = <2000>; - qcom,s2-type = <1>; - linux,code = <114>; - }; - }; - - bif_ctrl: qcom,bsi@1b00 { - compatible = "qcom,qpnp-bsi"; - reg = <0x1b00 0x100>, - <0x1208 0x1>; - reg-names = "bsi-base", "batt-id-status"; - label = "pm8941-bsi"; - interrupts = <0x0 0x1b 0x0>, - <0x0 0x1b 0x1>, - <0x0 0x1b 0x2>, - <0x0 0x12 0x0>; - interrupt-names = "err", - "rx", - "tx", - "batt-present"; - qcom,channel-num = <0x31>; - qcom,pullup-ohms = <100000>; - qcom,vref-microvolts = <1800000>; - qcom,min-clock-period = <1000>; - qcom,max-clock-period = <160000>; - qcom,sample-rate = <4>; - }; - - pm8941_coincell: qcom,coincell@2800 { - compatible = "qcom,qpnp-coincell"; - reg = <0x2800 0x100>; - }; - - pm8941_bms: qcom,bms { - spmi-dev-container; - compatible = "qcom,qpnp-bms"; - #address-cells = <1>; - #size-cells = <1>; - status = "disabled"; - - qcom,r-sense-uohm = <10000>; - qcom,v-cutoff-uv = <3400000>; - qcom,max-voltage-uv = <4200000>; - qcom,r-conn-mohm = <0>; - qcom,shutdown-soc-valid-limit = <20>; - qcom,adjust-soc-low-threshold = <15>; - qcom,ocv-voltage-high-threshold-uv = <3750000>; - qcom,ocv-voltage-low-threshold-uv = <3650000>; - qcom,low-soc-calculate-soc-threshold = <15>; - qcom,low-soc-calculate-soc-ms = <5000>; - qcom,calculate-soc-ms = <20000>; - qcom,chg-term-ua = <100000>; - qcom,batt-type = <0>; - qcom,low-voltage-threshold = <3420000>; - qcom,tm-temp-margin = <5000>; - qcom,low-ocv-correction-limit-uv = <100>; - qcom,high-ocv-correction-limit-uv = <50>; - qcom,hold-soc-est = <3>; - - qcom,bms-iadc@3800 { - reg = <0x3800 0x100>; - }; - - qcom,bms-bms@4000 { - reg = <0x4000 0x100>; - interrupts = <0x0 0x40 0x0>, - <0x0 0x40 0x1>, - <0x0 0x40 0x2>, - <0x0 0x40 0x3>, - <0x0 0x40 0x4>, - <0x0 0x40 0x5>, - <0x0 0x40 0x6>, - <0x0 0x40 0x7>; - - interrupt-names = "vsense_for_r", - "vsense_avg", - "sw_cc_thr", - "ocv_thr", - "charge_begin", - "good_ocv", - "ocv_for_r", - "cc_thr"; - }; - }; - - clkdiv@5b00 { - reg = <0x5b00 0x100>; - compatible = "qcom,qpnp-clkdiv"; - qcom,cxo-freq = <19200000>; - }; - - clkdiv@5c00 { - reg = <0x5c00 0x100>; - compatible = "qcom,qpnp-clkdiv"; - qcom,cxo-freq = <19200000>; - }; - - clkdiv@5d00 { - reg = <0x5d00 0x1000>; - compatible = "qcom,qpnp-clkdiv"; - qcom,cxo-freq = <19200000>; - }; - - pm8941_chg: qcom,charger { - spmi-dev-container; - compatible = "qcom,qpnp-charger"; - #address-cells = <1>; - #size-cells = <1>; - status = "disabled"; - - qcom,vddmax-mv = <4200>; - qcom,vddsafe-mv = <4230>; - qcom,vinmin-mv = <4300>; - qcom,ibatmax-ma = <1500>; - qcom,ibatterm-ma = <100>; - qcom,ibatsafe-ma = <1500>; - qcom,thermal-mitigation = <1500 700 600 325>; - qcom,cool-bat-decidegc = <100>; - qcom,cool-bat-mv = <4100>; - qcom,ibatmax-warm-ma = <350>; - qcom,warm-bat-decidegc = <450>; - qcom,warm-bat-mv = <4100>; - qcom,ibatmax-cool-ma = <350>; - qcom,vbatdet-delta-mv = <100>; - qcom,tchg-mins = <150>; - - qcom,chgr@1000 { - status = "disabled"; - reg = <0x1000 0x100>; - interrupts = <0x0 0x10 0x0>, - <0x0 0x10 0x1>, - <0x0 0x10 0x2>, - <0x0 0x10 0x3>, - <0x0 0x10 0x4>, - <0x0 0x10 0x5>, - <0x0 0x10 0x6>, - <0x0 0x10 0x7>; - - interrupt-names = "vbat-det-lo", - "vbat-det-hi", - "chgwdog", - "state-change", - "trkl-chg-on", - "fast-chg-on", - "chg-failed", - "chg-done"; - }; - - qcom,buck@1100 { - status = "disabled"; - reg = <0x1100 0x100>; - interrupts = <0x0 0x11 0x0>, - <0x0 0x11 0x1>, - <0x0 0x11 0x2>, - <0x0 0x11 0x3>, - <0x0 0x11 0x4>, - <0x0 0x11 0x5>, - <0x0 0x11 0x6>; - - interrupt-names = "vbat-ov", - "vreg-ov", - "overtemp", - "vchg-loop", - "ichg-loop", - "ibat-loop", - "vdd-loop"; - }; - - qcom,bat-if@1200 { - status = "disabled"; - reg = <0x1200 0x100>; - interrupts = <0x0 0x12 0x0>, - <0x0 0x12 0x1>, - <0x0 0x12 0x2>, - <0x0 0x12 0x3>, - <0x0 0x12 0x4>; - - interrupt-names = "batt-pres", - "bat-temp-ok", - "bat-fet-on", - "vcp-on", - "psi"; - - }; - - pm8941_chg_otg: qcom,usb-chgpth@1300 { - status = "disabled"; - reg = <0x1300 0x100>; - interrupts = <0 0x13 0x0>, - <0 0x13 0x1>, - <0x0 0x13 0x2>; - - interrupt-names = "coarse-det-usb", - "usbin-valid", - "chg-gone"; - }; - - qcom,dc-chgpth@1400 { - status = "disabled"; - reg = <0x1400 0x100>; - interrupts = <0x0 0x14 0x0>, - <0x0 0x14 0x1>; - - interrupt-names = "coarse-det-dc", - "dcin-valid"; - }; - - pm8941_chg_boost: qcom,boost@1500 { - status = "disabled"; - reg = <0x1500 0x100>; - interrupts = <0x0 0x15 0x0>, - <0x0 0x15 0x1>; - - interrupt-names = "boost-pwr-ok", - "limit-error"; - }; - - qcom,chg-misc@1600 { - status = "disabled"; - reg = <0x1600 0x100>; - }; - }; - - pm8941_gpios: gpios { - spmi-dev-container; - compatible = "qcom,qpnp-pin"; - gpio-controller; - #gpio-cells = <2>; - #address-cells = <1>; - #size-cells = <1>; - label = "pm8941-gpio"; - - gpio@c000 { - reg = <0xc000 0x100>; - qcom,pin-num = <1>; - }; - - gpio@c100 { - reg = <0xc100 0x100>; - qcom,pin-num = <2>; - }; - - gpio@c200 { - reg = <0xc200 0x100>; - qcom,pin-num = <3>; - }; - - gpio@c300 { - reg = <0xc300 0x100>; - qcom,pin-num = <4>; - }; - - gpio@c400 { - reg = <0xc400 0x100>; - qcom,pin-num = <5>; - }; - - gpio@c500 { - reg = <0xc500 0x100>; - qcom,pin-num = <6>; - }; - - gpio@c600 { - reg = <0xc600 0x100>; - qcom,pin-num = <7>; - }; - - gpio@c700 { - reg = <0xc700 0x100>; - qcom,pin-num = <8>; - }; - - gpio@c800 { - reg = <0xc800 0x100>; - qcom,pin-num = <9>; - }; - - gpio@c900 { - reg = <0xc900 0x100>; - qcom,pin-num = <10>; - }; - - gpio@ca00 { - reg = <0xca00 0x100>; - qcom,pin-num = <11>; - }; - - gpio@cb00 { - reg = <0xcb00 0x100>; - qcom,pin-num = <12>; - }; - - gpio@cc00 { - reg = <0xcc00 0x100>; - qcom,pin-num = <13>; - }; - - gpio@cd00 { - reg = <0xcd00 0x100>; - qcom,pin-num = <14>; - }; - - gpio@ce00 { - reg = <0xce00 0x100>; - qcom,pin-num = <15>; - }; - - gpio@cf00 { - reg = <0xcf00 0x100>; - qcom,pin-num = <16>; - }; - - gpio@d000 { - reg = <0xd000 0x100>; - qcom,pin-num = <17>; - }; - - gpio@d100 { - reg = <0xd100 0x100>; - qcom,pin-num = <18>; - }; - - gpio@d200 { - reg = <0xd200 0x100>; - qcom,pin-num = <19>; - }; - - gpio@d300 { - reg = <0xd300 0x100>; - qcom,pin-num = <20>; - }; - - gpio@d400 { - reg = <0xd400 0x100>; - qcom,pin-num = <21>; - }; - - gpio@d500 { - reg = <0xd500 0x100>; - qcom,pin-num = <22>; - }; - - gpio@d600 { - reg = <0xd600 0x100>; - qcom,pin-num = <23>; - }; - - gpio@d700 { - reg = <0xd700 0x100>; - qcom,pin-num = <24>; - }; - - gpio@d800 { - reg = <0xd800 0x100>; - qcom,pin-num = <25>; - }; - - gpio@d900 { - reg = <0xd900 0x100>; - qcom,pin-num = <26>; - }; - - gpio@da00 { - reg = <0xda00 0x100>; - qcom,pin-num = <27>; - }; - - gpio@db00 { - reg = <0xdb00 0x100>; - qcom,pin-num = <28>; - }; - - gpio@dc00 { - reg = <0xdc00 0x100>; - qcom,pin-num = <29>; - }; - - gpio@dd00 { - reg = <0xdd00 0x100>; - qcom,pin-num = <30>; - }; - - gpio@de00 { - reg = <0xde00 0x100>; - qcom,pin-num = <31>; - }; - - gpio@df00 { - reg = <0xdf00 0x100>; - qcom,pin-num = <32>; - }; - - gpio@e000 { - reg = <0xe000 0x100>; - qcom,pin-num = <33>; - }; - - gpio@e100 { - reg = <0xe100 0x100>; - qcom,pin-num = <34>; - }; - - gpio@e200 { - reg = <0xe200 0x100>; - qcom,pin-num = <35>; - }; - - gpio@e300 { - reg = <0xe300 0x100>; - qcom,pin-num = <36>; - }; - }; - - pm8941_mpps: mpps { - spmi-dev-container; - compatible = "qcom,qpnp-pin"; - gpio-controller; - #gpio-cells = <2>; - #address-cells = <1>; - #size-cells = <1>; - label = "pm8941-mpp"; - - mpp@a000 { - reg = <0xa000 0x100>; - qcom,pin-num = <1>; - }; - - mpp@a100 { - reg = <0xa100 0x100>; - qcom,pin-num = <2>; - }; - - mpp@a200 { - reg = <0xa200 0x100>; - qcom,pin-num = <3>; - }; - - mpp@a300 { - reg = <0xa300 0x100>; - qcom,pin-num = <4>; - }; - - mpp@a400 { - reg = <0xa400 0x100>; - qcom,pin-num = <5>; - }; - - mpp@a500 { - reg = <0xa500 0x100>; - qcom,pin-num = <6>; - }; - - mpp@a600 { - reg = <0xa600 0x100>; - qcom,pin-num = <7>; - }; - - mpp@a700 { - reg = <0xa700 0x100>; - qcom,pin-num = <8>; - }; - }; - - qcom,pm8941_rtc { - spmi-dev-container; - compatible = "qcom,qpnp-rtc"; - #address-cells = <1>; - #size-cells = <1>; - qcom,qpnp-rtc-write = <0>; - qcom,qpnp-rtc-alarm-pwrup = <0>; - - qcom,pm8941_rtc_rw@6000 { - reg = <0x6000 0x100>; - }; - qcom,pm8941_rtc_alarm@6100 { - reg = <0x6100 0x100>; - interrupts = <0x0 0x61 0x1>; - }; - }; - - vadc@3100 { - compatible = "qcom,qpnp-vadc"; - reg = <0x3100 0x100>; - #address-cells = <1>; - #size-cells = <0>; - interrupts = <0x0 0x31 0x0>; - interrupt-names = "eoc-int-en-set"; - qcom,adc-bit-resolution = <15>; - qcom,adc-vdd-reference = <1800>; - - chan@0 { - label = "usb_in"; - reg = <0>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <4>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@1 { - label = "dc_in"; - reg = <1>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <4>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@2 { - label = "vchg_sns"; - reg = <2>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <3>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@3 { - label = "spare1_div3"; - reg = <3>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <1>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@4 { - label = "usb_id_mv"; - reg = <4>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <1>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@5 { - label = "vcoin"; - reg = <5>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <1>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@6 { - label = "vbat_sns"; - reg = <6>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <1>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@7 { - label = "vph_pwr"; - reg = <7>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <1>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@8 { - label = "die_temp"; - reg = <8>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <3>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@9 { - label = "ref_625mv"; - reg = <9>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@a { - label = "ref_1250v"; - reg = <0xa>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@30 { - label = "batt_therm"; - reg = <0x30>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <1>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@31 { - label = "batt_id"; - reg = <0x31>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@b2 { - label = "xo_therm_pu2"; - reg = <0xb2>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <4>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@b3 { - label = "msm_therm"; - reg = <0xb3>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@b4 { - label = "emmc_therm"; - reg = <0xb4>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@b5 { - label = "pa_therm0"; - reg = <0xb5>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@b7 { - label = "pa_therm1"; - reg = <0xb7>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@b8 { - label = "quiet_therm"; - reg = <0xb8>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@b9 { - label = "usb_id"; - reg = <0xb9>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@39 { - label = "usb_id_nopull"; - reg = <0x39>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - }; - - iadc@3600 { - compatible = "qcom,qpnp-iadc"; - reg = <0x3600 0x100>; - #address-cells = <1>; - #size-cells = <0>; - interrupts = <0x0 0x36 0x0>; - interrupt-names = "eoc-int-en-set"; - qcom,adc-bit-resolution = <16>; - qcom,adc-vdd-reference = <1800>; - - chan@0 { - label = "internal_rsense"; - reg = <0>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <1>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - }; - - qcom,vadc@3400 { - compatible = "qcom,qpnp-adc-tm"; - reg = <0x3400 0x100>; - #address-cells = <1>; - #size-cells = <0>; - interrupts = <0x0 0x34 0x0>, - <0x0 0x34 0x3>, - <0x0 0x34 0x4>; - interrupt-names = "eoc-int-en-set", - "high-thr-en-set", - "low-thr-en-set"; - qcom,adc-bit-resolution = <15>; - qcom,adc-vdd-reference = <1800>; - - /* Channel Node */ - chan@b9 { - label = "usb_id"; - reg = <0xb9>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <3>; - qcom,btm-channel-number = <0x48>; - }; - - chan@30 { - label = "batt_therm"; - reg = <0x30>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <1>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <3>; - qcom,btm-channel-number = <0x68>; - }; - - chan@8 { - label = "die_temp"; - reg = <8>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <3>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <3>; - qcom,btm-channel-number = <0x70>; - }; - - chan@6 { - label = "vbat_sns"; - reg = <6>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <1>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <3>; - qcom,btm-channel-number = <0x78>; - }; - - chan@b5 { - label = "pa_therm0"; - reg = <0xb5>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <3>; - qcom,btm-channel-number = <0x80>; - qcom,thermal-node; - }; - - chan@b7 { - label = "pa_therm1"; - reg = <0xb7>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <3>; - qcom,btm-channel-number = <0x88>; - qcom,thermal-node; - }; - - chan@b4 { - label = "emmc_therm"; - reg = <0xb4>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <3>; - qcom,btm-channel-number = <0x90>; - qcom,thermal-node; - }; - - chan@b3 { - label = "msm_therm"; - reg = <0xb3>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <3>; - qcom,btm-channel-number = <0x98>; - qcom,thermal-node; - }; - }; - }; - - qcom,pm8941@1 { - spmi-slave-container; - reg = <0x1>; - #address-cells = <1>; - #size-cells = <1>; - - regulator@1400 { - regulator-name = "8941_s1"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x1400 0x300>; - status = "disabled"; - - qcom,ctl@1400 { - reg = <0x1400 0x100>; - }; - qcom,ps@1500 { - reg = <0x1500 0x100>; - }; - qcom,freq@1600 { - reg = <0x1600 0x100>; - }; - }; - - regulator@1700 { - regulator-name = "8941_s2"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x1700 0x300>; - status = "disabled"; - - qcom,ctl@1700 { - reg = <0x1700 0x100>; - }; - qcom,ps@1800 { - reg = <0x1800 0x100>; - }; - qcom,freq@1900 { - reg = <0x1900 0x100>; - }; - }; - - regulator@1a00 { - regulator-name = "8941_s3"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x1a00 0x300>; - status = "disabled"; - - qcom,ctl@1a00 { - reg = <0x1a00 0x100>; - }; - qcom,ps@1b00 { - reg = <0x1b00 0x100>; - }; - qcom,freq@1c00 { - reg = <0x1c00 0x100>; - }; - }; - - regulator@a000 { - regulator-name = "8941_boost"; - reg = <0xa000 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4000 { - regulator-name = "8941_l1"; - reg = <0x4000 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4100 { - regulator-name = "8941_l2"; - reg = <0x4100 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4200 { - regulator-name = "8941_l3"; - reg = <0x4200 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4300 { - regulator-name = "8941_l4"; - reg = <0x4300 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4400 { - regulator-name = "8941_l5"; - reg = <0x4400 0x100>; - compatible = "qcom,qpnp-regulator"; - qcom,force-type = <0x04 0x10>; - status = "disabled"; - }; - - regulator@4500 { - regulator-name = "8941_l6"; - reg = <0x4500 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4600 { - regulator-name = "8941_l7"; - reg = <0x4600 0x100>; - compatible = "qcom,qpnp-regulator"; - qcom,force-type = <0x04 0x10>; - status = "disabled"; - }; - - regulator@4700 { - regulator-name = "8941_l8"; - reg = <0x4700 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4800 { - regulator-name = "8941_l9"; - reg = <0x4800 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4900 { - regulator-name = "8941_l10"; - reg = <0x4900 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4a00 { - regulator-name = "8941_l11"; - reg = <0x4a00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4b00 { - regulator-name = "8941_l12"; - reg = <0x4b00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4c00 { - regulator-name = "8941_l13"; - reg = <0x4c00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4d00 { - regulator-name = "8941_l14"; - reg = <0x4d00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4e00 { - regulator-name = "8941_l15"; - reg = <0x4e00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4f00 { - regulator-name = "8941_l16"; - reg = <0x4f00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5000 { - regulator-name = "8941_l17"; - reg = <0x5000 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5100 { - regulator-name = "8941_l18"; - reg = <0x5100 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5200 { - regulator-name = "8941_l19"; - reg = <0x5200 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5300 { - regulator-name = "8941_l20"; - reg = <0x5300 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5400 { - regulator-name = "8941_l21"; - reg = <0x5400 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5500 { - regulator-name = "8941_l22"; - reg = <0x5500 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5600 { - regulator-name = "8941_l23"; - reg = <0x5600 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5700 { - regulator-name = "8941_l24"; - reg = <0x5700 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@8000 { - regulator-name = "8941_lvs1"; - reg = <0x8000 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@8100 { - regulator-name = "8941_lvs2"; - reg = <0x8100 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@8200 { - regulator-name = "8941_lvs3"; - reg = <0x8200 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@8300 { - regulator-name = "8941_mvs1"; - reg = <0x8300 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@8400 { - regulator-name = "8941_mvs2"; - reg = <0x8400 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - qcom,vibrator@c000 { - compatible = "qcom,qpnp-vibrator"; - reg = <0xc000 0x100>; - label = "vibrator"; - status = "disabled"; - }; - - qcom,leds@d000 { - compatible = "qcom,leds-qpnp"; - reg = <0xd000 0x100>; - label = "rgb"; - }; - - qcom,leds@d100 { - compatible = "qcom,leds-qpnp"; - reg = <0xd100 0x100>; - label = "rgb"; - }; - - qcom,leds@d200 { - compatible = "qcom,leds-qpnp"; - reg = <0xd200 0x100>; - label = "rgb"; - }; - - qcom,leds@d300 { - compatible = "qcom,leds-qpnp"; - reg = <0xd300 0x100>; - label = "flash"; - flash_boost-supply = <&pm8941_chg_boost>; - }; - - qcom,leds@d400 { - compatible = "qcom,leds-qpnp"; - reg = <0xd400 0x100>; - label = "flash"; - }; - - qcom,leds@d500 { - compatible = "qcom,leds-qpnp"; - reg = <0xd500 0x100>; - label = "flash"; - }; - - qcom,leds@d600 { - compatible = "qcom,leds-qpnp"; - reg = <0xd600 0x100>; - label = "flash"; - }; - - qcom,leds@d700 { - compatible = "qcom,leds-qpnp"; - reg = <0xd700 0x100>; - label = "flash"; - }; - - qcom,leds@d800 { - compatible = "qcom,leds-qpnp"; - reg = <0xd800 0x100>; - label = "wled"; - }; - - qcom,leds@d900 { - compatible = "qcom,leds-qpnp"; - reg = <0xd900 0x100>; - label = "wled"; - }; - - qcom,leds@da00 { - compatible = "qcom,leds-qpnp"; - reg = <0xda00 0x100>; - label = "wled"; - }; - - qcom,leds@db00 { - compatible = "qcom,leds-qpnp"; - reg = <0xdb00 0x100>; - label = "wled"; - }; - - qcom,leds@dc00 { - compatible = "qcom,leds-qpnp"; - reg = <0xdc00 0x100>; - label = "wled"; - }; - - qcom,leds@dd00 { - compatible = "qcom,leds-qpnp"; - reg = <0xdd00 0x100>; - label = "wled"; - }; - - qcom,leds@de00 { - compatible = "qcom,leds-qpnp"; - reg = <0xde00 0x100>; - label = "wled"; - }; - - qcom,leds@df00 { - compatible = "qcom,leds-qpnp"; - reg = <0xdf00 0x100>; - label = "wled"; - }; - - qcom,leds@e000 { - compatible = "qcom,leds-qpnp"; - reg = <0xe000 0x100>; - label = "wled"; - }; - - qcom,leds@e100 { - compatible = "qcom,leds-qpnp"; - reg = <0xe100 0x100>; - label = "wled"; - }; - - pwm@b100 { - compatible = "qcom,qpnp-pwm"; - reg = <0xb100 0x100>, - <0xb042 0x7e>; - reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base"; - qcom,channel-id = <0>; - }; - - pwm@b200 { - compatible = "qcom,qpnp-pwm"; - reg = <0xb200 0x100>, - <0xb042 0x7e>; - reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base"; - qcom,channel-id = <1>; - }; - - pwm@b300 { - compatible = "qcom,qpnp-pwm"; - reg = <0xb300 0x100>, - <0xb042 0x7e>; - reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base"; - qcom,channel-id = <2>; - }; - - pwm@b400 { - compatible = "qcom,qpnp-pwm"; - reg = <0xb400 0x100>, - <0xb042 0x7e>; - reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base"; - qcom,channel-id = <3>; - }; - - pwm@b500 { - compatible = "qcom,qpnp-pwm"; - reg = <0xb500 0x100>, - <0xb042 0x7e>; - reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base"; - qcom,channel-id = <4>; - }; - - pwm@b600 { - compatible = "qcom,qpnp-pwm"; - reg = <0xb600 0x100>, - <0xb042 0x7e>; - reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base"; - qcom,channel-id = <5>; - }; - - pwm@b700 { - compatible = "qcom,qpnp-pwm"; - reg = <0xb700 0x100>, - <0xb042 0x7e>; - reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base"; - qcom,channel-id = <6>; - }; - - pwm@b800 { - compatible = "qcom,qpnp-pwm"; - reg = <0xb800 0x100>, - <0xb042 0x7e>; - reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base"; - qcom,channel-id = <7>; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/msm-pm8x41-rpm-regulator.dtsi b/kernel/arch/arm/boot/dts/lte_module-v1/msm-pm8x41-rpm-regulator.dtsi deleted file mode 100755 index 6e67dd85c..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/msm-pm8x41-rpm-regulator.dtsi +++ /dev/null @@ -1,585 +0,0 @@ -/* Copyright (c) 2012, 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. - */ - -&rpm_bus { - rpm-regulator-smpb1 { - qcom,resource-name = "smpb"; - qcom,resource-id = <1>; - qcom,regulator-type = <1>; - qcom,hpm-min-load = <100000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-s1 { - regulator-name = "8841_s1"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-smpb2 { - qcom,resource-name = "smpb"; - qcom,resource-id = <2>; - qcom,regulator-type = <1>; - qcom,hpm-min-load = <100000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-s2 { - regulator-name = "8841_s2"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-smpb3 { - qcom,resource-name = "smpb"; - qcom,resource-id = <3>; - qcom,regulator-type = <1>; - qcom,hpm-min-load = <100000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-s3 { - regulator-name = "8841_s3"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-smpb4 { - qcom,resource-name = "smpb"; - qcom,resource-id = <4>; - qcom,regulator-type = <1>; - qcom,hpm-min-load = <100000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-s4 { - regulator-name = "8841_s4"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-smpa1 { - qcom,resource-name = "smpa"; - qcom,resource-id = <1>; - qcom,regulator-type = <1>; - qcom,hpm-min-load = <100000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-s1 { - regulator-name = "8941_s1"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-smpa2 { - qcom,resource-name = "smpa"; - qcom,resource-id = <2>; - qcom,regulator-type = <1>; - qcom,hpm-min-load = <100000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-s2 { - regulator-name = "8941_s2"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-smpa3 { - qcom,resource-name = "smpa"; - qcom,resource-id = <3>; - qcom,regulator-type = <1>; - qcom,hpm-min-load = <100000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-s3 { - regulator-name = "8941_s3"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa1 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <1>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l1 { - regulator-name = "8941_l1"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa2 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <2>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l2 { - regulator-name = "8941_l2"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa3 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <3>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l3 { - regulator-name = "8941_l3"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa4 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <4>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l4 { - regulator-name = "8941_l4"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa5 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <5>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l5 { - regulator-name = "8941_l5"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa6 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <6>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l6 { - regulator-name = "8941_l6"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa7 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <7>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l7 { - regulator-name = "8941_l7"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa8 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <8>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l8 { - regulator-name = "8941_l8"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa9 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <9>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l9 { - regulator-name = "8941_l9"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa10 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <10>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l10 { - regulator-name = "8941_l10"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa11 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <11>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l11 { - regulator-name = "8941_l11"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa12 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <12>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l12 { - regulator-name = "8941_l12"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa13 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <13>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l13 { - regulator-name = "8941_l13"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa14 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <14>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l14 { - regulator-name = "8941_l14"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa15 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <15>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l15 { - regulator-name = "8941_l15"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa16 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <16>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l16 { - regulator-name = "8941_l16"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa17 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <17>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l17 { - regulator-name = "8941_l17"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa18 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <18>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l18 { - regulator-name = "8941_l18"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa19 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <19>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l19 { - regulator-name = "8941_l19"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa20 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <20>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l20 { - regulator-name = "8941_l20"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa21 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <21>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l21 { - regulator-name = "8941_l21"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa22 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <22>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l22 { - regulator-name = "8941_l22"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa23 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <23>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l23 { - regulator-name = "8941_l23"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa24 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <24>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l24 { - regulator-name = "8941_l24"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - /* TODO: find out correct resource names for LVS vs MVS */ - rpm-regulator-vsa1 { - qcom,resource-name = "vsa"; - qcom,resource-id = <1>; - qcom,regulator-type = <2>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-lvs1 { - regulator-name = "8941_lvs1"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-vsa2 { - qcom,resource-name = "vsa"; - qcom,resource-id = <2>; - qcom,regulator-type = <2>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-lvs2 { - regulator-name = "8941_lvs2"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-vsa3 { - qcom,resource-name = "vsa"; - qcom,resource-id = <3>; - qcom,regulator-type = <2>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-lvs3 { - regulator-name = "8941_lvs3"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-vsa4 { - qcom,resource-name = "vsa"; - qcom,resource-id = <4>; - qcom,regulator-type = <2>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-mvs1 { - regulator-name = "8941_mvs1"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-vsa5 { - qcom,resource-name = "vsa"; - qcom,resource-id = <5>; - qcom,regulator-type = <2>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-mvs2 { - regulator-name = "8941_mvs2"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/msm-pma8084.dtsi b/kernel/arch/arm/boot/dts/lte_module-v1/msm-pma8084.dtsi deleted file mode 100755 index 30525aac0..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/msm-pma8084.dtsi +++ /dev/null @@ -1,666 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&spmi_bus { - #address-cells = <1>; - #size-cells = <0>; - interrupt-controller; - #interrupt-cells = <3>; - - qcom,pma8084@0 { - spmi-slave-container; - reg = <0x0>; - #address-cells = <1>; - #size-cells = <1>; - - pma8084_gpios: gpios { - spmi-dev-container; - compatible = "qcom,qpnp-pin"; - gpio-controller; - #gpio-cells = <2>; - #address-cells = <1>; - #size-cells = <1>; - label = "pma8084-gpio"; - - gpio@c000 { - reg = <0xc000 0x100>; - qcom,pin-num = <1>; - }; - - gpio@c100 { - reg = <0xc100 0x100>; - qcom,pin-num = <2>; - }; - - gpio@c200 { - reg = <0xc200 0x100>; - qcom,pin-num = <3>; - }; - - gpio@c300 { - reg = <0xc300 0x100>; - qcom,pin-num = <4>; - }; - - gpio@c400 { - reg = <0xc400 0x100>; - qcom,pin-num = <5>; - }; - - gpio@c500 { - reg = <0xc500 0x100>; - qcom,pin-num = <6>; - }; - - gpio@c600 { - reg = <0xc600 0x100>; - qcom,pin-num = <7>; - }; - - gpio@c700 { - reg = <0xc700 0x100>; - qcom,pin-num = <8>; - }; - - gpio@c800 { - reg = <0xc800 0x100>; - qcom,pin-num = <9>; - }; - - gpio@c900 { - reg = <0xc900 0x100>; - qcom,pin-num = <10>; - }; - - gpio@ca00 { - reg = <0xca00 0x100>; - qcom,pin-num = <11>; - }; - - gpio@cb00 { - reg = <0xcb00 0x100>; - qcom,pin-num = <12>; - }; - - gpio@cc00 { - reg = <0xcc00 0x100>; - qcom,pin-num = <13>; - }; - - gpio@cd00 { - reg = <0xcd00 0x100>; - qcom,pin-num = <14>; - }; - - gpio@ce00 { - reg = <0xce00 0x100>; - qcom,pin-num = <15>; - }; - - gpio@cf00 { - reg = <0xcf00 0x100>; - qcom,pin-num = <16>; - }; - - gpio@d000 { - reg = <0xd000 0x100>; - qcom,pin-num = <17>; - }; - - gpio@d100 { - reg = <0xd100 0x100>; - qcom,pin-num = <18>; - }; - - gpio@d200 { - reg = <0xd200 0x100>; - qcom,pin-num = <19>; - }; - - gpio@d300 { - reg = <0xd300 0x100>; - qcom,pin-num = <20>; - }; - - gpio@d400 { - reg = <0xd400 0x100>; - qcom,pin-num = <21>; - }; - - gpio@d500 { - reg = <0xd500 0x100>; - qcom,pin-num = <22>; - }; - }; - - pma8084_mpps: mpps { - spmi-dev-container; - compatible = "qcom,qpnp-pin"; - gpio-controller; - #gpio-cells = <2>; - #address-cells = <1>; - #size-cells = <1>; - label = "pma8084-mpp"; - - mpp@a000 { - reg = <0xa000 0x100>; - qcom,pin-num = <1>; - }; - - mpp@a100 { - reg = <0xa100 0x100>; - qcom,pin-num = <2>; - }; - - mpp@a200 { - reg = <0xa200 0x100>; - qcom,pin-num = <3>; - }; - - mpp@a300 { - reg = <0xa300 0x100>; - qcom,pin-num = <4>; - }; - - mpp@a400 { - reg = <0xa400 0x100>; - qcom,pin-num = <5>; - }; - - mpp@a500 { - reg = <0xa500 0x100>; - qcom,pin-num = <6>; - }; - - mpp@a600 { - reg = <0xa600 0x100>; - qcom,pin-num = <7>; - }; - - mpp@a700 { - reg = <0xa700 0x100>; - qcom,pin-num = <8>; - }; - }; - }; - - qcom,pma8084@1 { - spmi-slave-container; - reg = <0x1>; - #address-cells = <1>; - #size-cells = <1>; - - regulator@1400 { - regulator-name = "8084_s1"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x1400 0x300>; - status = "disabled"; - - qcom,ctl@1400 { - reg = <0x1400 0x100>; - }; - qcom,ps@1500 { - reg = <0x1500 0x100>; - }; - qcom,freq@1600 { - reg = <0x1600 0x100>; - }; - }; - - regulator@1700 { - regulator-name = "8084_s2"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x1700 0x300>; - status = "disabled"; - - qcom,ctl@1700 { - reg = <0x1700 0x100>; - }; - qcom,ps@1800 { - reg = <0x1800 0x100>; - }; - qcom,freq@1900 { - reg = <0x1900 0x100>; - }; - }; - - regulator@1a00 { - regulator-name = "8084_s3"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x1a00 0x300>; - status = "disabled"; - - qcom,ctl@1a00 { - reg = <0x1a00 0x100>; - }; - qcom,ps@1b00 { - reg = <0x1b00 0x100>; - }; - qcom,freq@1c00 { - reg = <0x1c00 0x100>; - }; - }; - - regulator@1d00 { - regulator-name = "8084_s4"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x1d00 0x300>; - status = "disabled"; - - qcom,ctl@1d00 { - reg = <0x1d00 0x100>; - }; - qcom,ps@1e00 { - reg = <0x1e00 0x100>; - }; - qcom,freq@1f00 { - reg = <0x1f00 0x100>; - }; - }; - - regulator@2000 { - regulator-name = "8084_s5"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x2000 0x300>; - status = "disabled"; - - qcom,ctl@2000 { - reg = <0x2000 0x100>; - }; - qcom,ps@2100 { - reg = <0x2100 0x100>; - }; - qcom,freq@2200 { - reg = <0x2200 0x100>; - }; - }; - - regulator@2300 { - regulator-name = "8084_s6"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x2300 0x300>; - status = "disabled"; - - qcom,ctl@2300 { - reg = <0x2300 0x100>; - }; - qcom,ps@2400 { - reg = <0x2400 0x100>; - }; - qcom,freq@2500 { - reg = <0x2500 0x100>; - }; - }; - - regulator@2600 { - regulator-name = "8084_s7"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x2600 0x300>; - status = "disabled"; - - qcom,ctl@2600 { - reg = <0x2600 0x100>; - }; - qcom,ps@2700 { - reg = <0x2700 0x100>; - }; - qcom,freq@2800 { - reg = <0x2800 0x100>; - }; - }; - - regulator@2900 { - regulator-name = "8084_s8"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x2900 0x300>; - status = "disabled"; - - qcom,ctl@2900 { - reg = <0x2900 0x100>; - }; - qcom,ps@2a00 { - reg = <0x2a00 0x100>; - }; - qcom,freq@2b00 { - reg = <0x2b00 0x100>; - }; - }; - - regulator@2c00 { - regulator-name = "8084_s9"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x2c00 0x300>; - status = "disabled"; - - qcom,ctl@2c00 { - reg = <0x2c00 0x100>; - }; - qcom,ps@2d00 { - reg = <0x2d00 0x100>; - }; - qcom,freq@2e00 { - reg = <0x2e00 0x100>; - }; - }; - - regulator@2f00 { - regulator-name = "8084_s10"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x2f00 0x300>; - status = "disabled"; - - qcom,ctl@2f00 { - reg = <0x2f00 0x100>; - }; - qcom,ps@3000 { - reg = <0x3000 0x100>; - }; - qcom,freq@3100 { - reg = <0x3100 0x100>; - }; - }; - - regulator@3200 { - regulator-name = "8084_s11"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x3200 0x300>; - status = "disabled"; - - qcom,ctl@3200 { - reg = <0x3200 0x100>; - }; - qcom,ps@3300 { - reg = <0x3300 0x100>; - }; - qcom,freq@3400 { - reg = <0x3400 0x100>; - }; - }; - - regulator@3500 { - regulator-name = "8084_s12"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x3500 0x300>; - status = "disabled"; - - qcom,ctl@3500 { - reg = <0x3500 0x100>; - }; - qcom,ps@3600 { - reg = <0x3600 0x100>; - }; - qcom,freq@3700 { - reg = <0x3700 0x100>; - }; - }; - - regulator@4000 { - regulator-name = "8084_l1"; - reg = <0x4000 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4100 { - regulator-name = "8084_l2"; - reg = <0x4100 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4200 { - regulator-name = "8084_l3"; - reg = <0x4200 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4300 { - regulator-name = "8084_l4"; - reg = <0x4300 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4400 { - regulator-name = "8084_l5"; - reg = <0x4400 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4500 { - regulator-name = "8084_l6"; - reg = <0x4500 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4600 { - regulator-name = "8084_l7"; - reg = <0x4600 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4700 { - regulator-name = "8084_l8"; - reg = <0x4700 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4800 { - regulator-name = "8084_l9"; - reg = <0x4800 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4900 { - regulator-name = "8084_l10"; - reg = <0x4900 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4a00 { - regulator-name = "8084_l11"; - reg = <0x4a00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4b00 { - regulator-name = "8084_l12"; - reg = <0x4b00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4c00 { - regulator-name = "8084_l13"; - reg = <0x4c00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4d00 { - regulator-name = "8084_l14"; - reg = <0x4d00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4e00 { - regulator-name = "8084_l15"; - reg = <0x4e00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4f00 { - regulator-name = "8084_l16"; - reg = <0x4f00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5000 { - regulator-name = "8084_l17"; - reg = <0x5000 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5100 { - regulator-name = "8084_l18"; - reg = <0x5100 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5200 { - regulator-name = "8084_l19"; - reg = <0x5200 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5300 { - regulator-name = "8084_l20"; - reg = <0x5300 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5400 { - regulator-name = "8084_l21"; - reg = <0x5400 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5500 { - regulator-name = "8084_l22"; - reg = <0x5500 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5600 { - regulator-name = "8084_l23"; - reg = <0x5600 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5700 { - regulator-name = "8084_l24"; - reg = <0x5700 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5800 { - regulator-name = "8084_l25"; - reg = <0x5800 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5900 { - regulator-name = "8084_l26"; - reg = <0x5900 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5a00 { - regulator-name = "8084_l27"; - reg = <0x5a00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@8000 { - regulator-name = "8084_lvs1"; - reg = <0x8000 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@8100 { - regulator-name = "8084_lvs2"; - reg = <0x8100 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@8200 { - regulator-name = "8084_lvs3"; - reg = <0x8200 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@8300 { - regulator-name = "8084_lvs4"; - reg = <0x8300 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@8400 { - regulator-name = "8084_mvs1"; - reg = <0x8400 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/msm8226-bus.dtsi b/kernel/arch/arm/boot/dts/lte_module-v1/msm8226-bus.dtsi deleted file mode 100755 index d87aa3ea5..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/msm8226-bus.dtsi +++ /dev/null @@ -1,1128 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -&soc { - msm-mmss-noc@fc478000 { - compatible = "msm-bus-fabric"; - reg = <0xfc478000 0x00004000>; - cell-id = <2048>; - label = "msm_mmss_noc"; - qcom,fabclk-dual = "bus_clk"; - qcom,fabclk-active = "bus_a_clk"; - qcom,ntieredslaves = <0>; - qcom,qos-freq = <4800>; - qcom,hw-sel = "NoC"; - qcom,rpm-en; - - mas-gfx3d { - cell-id = <26>; - label = "mas-gfx3d"; - qcom,masterp = <2>; - qcom,tier = <2>; - qcom,hw-sel = "NoC"; - qcom,perm-mode = "Bypass"; - qcom,mode = "Bypass"; - qcom,ws = <10000>; - qcom,qport = <2>; - qcom,mas-hw-id = <6>; - }; - - mas-jpeg { - cell-id = <62>; - label = "mas-jpeg"; - qcom,masterp = <4>; - qcom,tier = <2>; - qcom,hw-sel = "NoC"; - qcom,perm-mode = "Bypass"; - qcom,mode = "Bypass"; - qcom,qport = <0>; - qcom,ws = <10000>; - qcom,mas-hw-id = <7>; - }; - - mas-mdp-port0 { - cell-id = <22>; - label = "mas-mdp-port0"; - qcom,masterp = <5>; - qcom,tier = <2>; - qcom,hw-sel = "NoC"; - qcom,perm-mode = "Bypass"; - qcom,mode = "Bypass"; - qcom,qport = <1>; - qcom,ws = <10000>; - qcom,mas-hw-id = <8>; - }; - - mas-video-p0 { - cell-id = <63>; - label = "mas-video-p0"; - qcom,masterp = <6>; - qcom,tier = <2>; - qcom,hw-sel = "NoC"; - qcom,perm-mode = "Bypass"; - qcom,mode = "Bypass"; - qcom,ws = <10000>; - qcom,qport = <4>; - qcom,mas-hw-id = <9>; - }; - - mas-vfe { - cell-id = <29>; - label = "mas-vfe"; - qcom,masterp = <16>; - qcom,tier = <2>; - qcom,hw-sel = "NoC"; - qcom,perm-mode = "Bypass"; - qcom,mode = "Bypass"; - qcom,ws = <10000>; - qcom,qport = <6>; - qcom,mas-hw-id = <11>; - }; - - fab-cnoc { - cell-id = <5120>; - label = "fab-cnoc"; - qcom,gateway; - qcom,masterp = <0 1>; - qcom,buswidth = <16>; - qcom,hw-sel = "RPM"; - qcom,mas-hw-id = <4>; - }; - - fab-bimc { - cell-id = <0>; - label = "fab-bimc"; - qcom,gateway; - qcom,slavep = <16>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <16>; - }; - - slv-camera-cfg { - cell-id = <589>; - label = "slv-camera-cfg"; - qcom,slavep = <0>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <3>; - }; - - slv-display-cfg { - cell-id = <590>; - label = "slv-display-cfg"; - qcom,slavep = <1>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <4>; - }; - - slv-ocmem-cfg { - cell-id = <591>; - label = "slv-ocmem-cfg"; - qcom,slavep = <2>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <5>; - }; - - slv-cpr-cfg { - cell-id = <592>; - label = "slv-cpr-cfg"; - qcom,slavep = <3>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <6>; - }; - - slv-cpr-xpu-cfg { - cell-id = <593>; - label = "slv-cpr-xpu-cfg"; - qcom,slavep = <4>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <7>; - }; - - slv-misc-cfg { - cell-id = <594>; - label = "slv-misc-cfg"; - qcom,slavep = <6>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <8>; - }; - - slv-misc-xpu-cfg { - cell-id = <595>; - label = "slv-misc-xpu-cfg"; - qcom,slavep = <7>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <9>; - }; - - slv-venus-cfg { - cell-id = <596>; - label = "slv-venus-cfg"; - qcom,slavep = <8>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <10>; - }; - - slv-gfx3d-cfg { - cell-id = <598>; - label = "slv-gfx3d-cfg"; - qcom,slavep = <9>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <11>; - }; - - slv-mmss-clk-cfg { - cell-id = <599>; - label = "slv-mmss-clk-cfg"; - qcom,slavep = <11>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <12>; - }; - - slv-mmss-clk-xpu-cfg { - cell-id = <600>; - label = "slv-mmss-clk-xpu-cfg"; - qcom,slavep = <12>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <13>; - }; - - slv-mnoc-mpu-cfg { - cell-id = <601>; - label = "slv-mnoc-mpu-cfg"; - qcom,slavep = <13>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <14>; - }; - - slv-onoc-mpu-cfg { - cell-id = <602>; - label = "slv-onoc-mpu-cfg"; - qcom,slavep = <14>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <15>; - }; - - slv-service-mnoc { - cell-id = <603>; - label = "slv-service-mnoc"; - qcom,slavep = <18>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <17>; - }; - - }; - - msm-sys-noc@fc460000 { - compatible = "msm-bus-fabric"; - reg = <0xfc460000 0x00004000>; - cell-id = <1024>; - label = "msm_sys_noc"; - qcom,fabclk-dual = "bus_clk"; - qcom,fabclk-active = "bus_a_clk"; - qcom,ntieredslaves = <0>; - qcom,qos-freq = <4800>; - qcom,hw-sel = "NoC"; - qcom,rpm-en; - - mas-lpass-ahb { - cell-id = <52>; - label = "mas-lpass-ahb"; - qcom,masterp = <0>; - qcom,tier = <2>; - qcom,qport = <0>; - qcom,mas-hw-id = <18>; - qcom,mode = "Fixed"; - qcom,prio-rd = <2>; - qcom,prio-wr = <2>; - }; - - mas-qdss-bam { - cell-id = <53>; - label = "mas-qdss-bam"; - qcom,masterp = <1>; - qcom,tier = <2>; - qcom,mode = "Fixed"; - qcom,qport = <1>; - qcom,mas-hw-id = <19>; - }; - - mas-snoc-cfg { - cell-id = <54>; - label = "mas-snoc-cfg"; - qcom,masterp = <2>; - qcom,tier = <2>; - qcom,mas-hw-id = <20>; - }; - - fab-bimc { - cell-id = <0>; - label= "fab-bimc"; - qcom,gateway; - qcom,slavep = <7>; - qcom,masterp = <3>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <21>; - qcom,slv-hw-id = <24>; - }; - - fab-cnoc { - cell-id = <5120>; - label = "fab-cnoc"; - qcom,gateway; - qcom,slavep = <8>; - qcom,masterp = <4>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <22>; - qcom,slv-hw-id = <25>; - }; - - fab-pnoc { - cell-id = <4096>; - label = "fab-pnoc"; - qcom,gateway; - qcom,slavep = <10>; - qcom,masterp = <10>; - qcom,buswidth = <8>; - qcom,qport = <8>; - qcom,mas-hw-id = <29>; - qcom,slv-hw-id = <28>; - qcom,mode = "Fixed"; - qcom,prio-rd = <2>; - qcom,prio-wr = <2>; - }; - - fab-ovnoc { - cell-id = <6144>; - label = "fab-ovnoc"; - qcom,gateway; - qcom,buswidth = <8>; - qcom,mas-hw-id = <53>; - qcom,slv-hw-id = <77>; - }; - - mas-crypto-core0 { - cell-id = <55>; - label = "mas-crypto-core0"; - qcom,masterp = <5>; - qcom,tier = <2>; - qcom,mode = "Fixed"; -/* qcom,qport = <2>;*/ - qcom,mas-hw-id = <23>; - qcom,hw-sel = "NoC"; - qcom,prio-rd = <1>; - qcom,prio-wr = <1>; - }; - - mas-lpass-proc { - cell-id = <11>; - label = "mas-lpass-proc"; - qcom,masterp = <6>; - qcom,tier = <2>; - qcom,qport = <4>; - qcom,mas-hw-id = <25>; - qcom,mode = "Fixed"; - qcom,prio-rd = <2>; - qcom,prio-wr = <2>; - }; - - mas-mss { - cell-id = <38>; - label = "mas-mss"; - qcom,masterp = <7>; - qcom,tier = <2>; - qcom,mas-hw-id = <26>; - }; - - mas-mss-nav { - cell-id = <57>; - label = "mas-mss-nav"; - qcom,masterp = <8>; - qcom,tier = <2>; - qcom,mas-hw-id = <27>; - }; - - mas-ocmem-dma { - cell-id = <58>; - label = "mas-ocmem-dma"; - qcom,masterp = <9>; - qcom,tier = <2>; - qcom,mode = "Fixed"; - qcom,qport = <7>; - qcom,mas-hw-id = <28>; - }; - - mas-wcss { - cell-id = <59>; - label = "mas-wcss"; - qcom,masterp = <11>; - qcom,tier = <2>; - qcom,mas-hw-id = <30>; - }; - - mas-qdss-etr { - cell-id = <60>; - label = "mas-qdss-etr"; - qcom,masterp = <12>; - qcom,tier = <2>; - qcom,qport = <10>; - qcom,mode = "Fixed"; - qcom,mas-hw-id = <31>; - }; - - slv-ampss { - cell-id = <520>; - label = "slv-ampss"; - qcom,slavep = <1>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <20>; - }; - - slv-lpass { - cell-id = <522>; - label = "slv-lpass"; - qcom,slavep = <2>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <21>; - }; - - slv-wcss { - cell-id = <584>; - label = "slv-wcss"; - qcom,slavep = <6>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <23>; - }; - - slv-ocimem { - cell-id = <585>; - label = "slv-ocimem"; - qcom,slavep = <9>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <26>; - }; - - slv-service-snoc { - cell-id = <587>; - label = "slv-service-snoc"; - qcom,slavep = <11>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <29>; - }; - - slv-qdss-stm { - cell-id = <588>; - label = "slv-qdss-stm"; - qcom,slavep = <12>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <30>; - }; - - }; - - msm-periph-noc@fc468000 { - compatible = "msm-bus-fabric"; - reg = <0xfc468000 0x00004000>; - cell-id = <4096>; - label = "msm_periph_noc"; - qcom,fabclk-dual = "bus_clk"; - qcom,fabclk-active = "bus_a_clk"; - qcom,ntieredslaves = <0>; - qcom,hw-sel = "NoC"; - qcom,rpm-en; - - mas-pnoc-cfg { - cell-id = <88>; - label = "mas-pnoc-cfg"; - qcom,masterp = <7>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <43>; - }; - - mas-sdcc-1 { - cell-id = <78>; - label = "mas-sdcc-1"; - qcom,masterp = <0>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <33>; - }; - - mas-sdcc-3 { - cell-id = <79>; - label = "mas-sdcc-3"; - qcom,masterp = <1>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <34>; - }; - - mas-sdcc-2 { - cell-id = <81>; - label = "mas-sdcc-2"; - qcom,masterp = <2>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <35>; - }; - - mas-bam-dma { - cell-id = <83>; - label = "mas-bam-dma"; - qcom,masterp = <3>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <38>; - }; - - mas-usb-hsic { - cell-id = <85>; - label = "mas-usb-hsic"; - qcom,masterp = <4>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <40>; - }; - - mas-blsp-1 { - cell-id = <86>; - label = "mas-blsp-1"; - qcom,masterp = <5>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <41>; - }; - - mas-usb-hs { - cell-id = <87>; - label = "mas-usb-hs"; - qcom,masterp = <6>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <42>; - }; - - fab-snoc { - cell-id = <1024>; - label = "fab-snoc"; - qcom,gateway; - qcom,slavep = <12>; - qcom,masterp = <8>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <45>; - qcom,mas-hw-id = <44>; - }; - - slv-sdcc-1 { - cell-id = <606>; - label = "slv-sdcc-1"; - qcom,slavep = <0>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <31>; - }; - - slv-sdcc-3 { - cell-id = <607>; - label = "slv-sdcc-3"; - qcom,slavep = <1>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <32>; - }; - - slv-sdcc-2 { - cell-id = <608>; - label = "slv-sdcc-2"; - qcom,slavep = <2>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <33>; - }; - - slv-bam-dma { - cell-id = <610>; - label = "slv-bam-dma"; - qcom,slavep = <3>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <36>; - }; - - slv-usb-hsic { - cell-id = <612>; - label = "slv-usb-hsic"; - qcom,slavep = <4>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <38>; - }; - - slv-blsp-1 { - cell-id = <613>; - label = "slv-blsp-1"; - qcom,slavep = <5>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <39>; - }; - - slv-usb-hs { - cell-id = <614>; - label = "slv-usb-hs"; - qcom,slavep = <6>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <40>; - }; - - slv-pdm { - cell-id = <615>; - label = "slv-pdm"; - qcom,slavep = <7>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <41>; - }; - - slv-periph-apu-cfg { - cell-id = <616>; - label = "slv-periph-apu-cfg"; - qcom,slavep = <8>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <42>; - }; - - slv-pnoc-mpu-cfg { - cell-id = <617>; - label = "slv-pnoc-mpu-cfg"; - qcom,slavep = <9>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <43>; - }; - - slv-prng { - cell-id = <618>; - label = "slv-prng"; - qcom,slavep = <10>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <44>; - }; - - slv-service-pnoc { - cell-id = <619>; - label = "slv-service-pnoc"; - qcom,slavep = <12>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <46>; - }; - - }; - - msm-config-noc@fc480000 { - compatible = "msm-bus-fabric"; - reg = <0xfc480000 0x00004000>; - cell-id = <5120>; - label = "msm_config_noc"; - qcom,fabclk-dual = "bus_clk"; - qcom,fabclk-active = "bus_a_clk"; - qcom,ntieredslaves = <0>; - qcom,hw-sel = "NoC"; - qcom,rpm-en; - - mas-rpm-inst { - cell-id = <72>; - label = "mas-rpm-inst"; - qcom,masterp = <0>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <45>; - }; - - mas-rpm-data { - cell-id = <73>; - label = "mas-rpm-data"; - qcom,masterp = <1>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <46>; - }; - - mas-rpm-sys { - cell-id = <74>; - label = "mas-rpm-sys"; - qcom,masterp = <2>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <47>; - }; - - mas-dehr { - cell-id = <75>; - label = "mas-dehr"; - qcom,masterp = <3>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <48>; - }; - - mas-qdss-dsp { - cell-id = <76>; - label = "mas-qdss-dap"; - qcom,masterp = <4>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <49>; - }; - - mas-spdm { - cell-id = <36>; - label = "mas-spdm"; - qcom,masterp = <5>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <50>; - }; - - mas-tic { - cell-id = <77>; - label = "mas-tic"; - qcom,masterp = <6>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <51>; - }; - - slv-clk-ctl { - cell-id = <620>; - label = "slv-clk-ctl"; - qcom,slavep = <1>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <47>; - }; - - slv-cnoc-mss { - cell-id = <621>; - label = "slv-cnoc-mss"; - qcom,slavep = <2>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <48>; - }; - - slv-security { - cell-id = <622>; - label = "slv-security"; - qcom,slavep = <3>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <49>; - }; - - slv-tcsr { - cell-id = <623>; - label = "slv-tcsr"; - qcom,slavep = <4>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <50>; - }; - - slv-tlmm { - cell-id = <624>; - label = "slv-tlmm"; - qcom,slavep = <5>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <51>; - }; - - slv-crypto-0-cfg { - cell-id = <625>; - label = "slv-crypto-0-cfg"; - qcom,slavep = <6>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <52>; - }; - - slv-imem-cfg { - cell-id = <627>; - label = "slv-imem-cfg"; - qcom,slavep = <7>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <54>; - }; - - slv-message-ram { - cell-id = <628>; - label = "slv-message-ram"; - qcom,slavep = <8>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <55>; - }; - - slv-bimc-cfg { - cell-id = <629>; - label = "slv-bimc-cfg"; - qcom,slavep = <9>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <56>; - }; - - slv-boot-rom { - cell-id = <630>; - label = "slv-boot-rom"; - qcom,slavep = <10>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <57>; - }; - - slv-pmic-arb { - cell-id = <632>; - label = "slv-pmic-arb"; - qcom,slavep = <12>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <59>; - }; - - slv-spdm-wrapper { - cell-id = <633>; - label = "slv-spdm-wrapper"; - qcom,slavep = <13>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <60>; - }; - - slv-dehr-cfg { - cell-id = <634>; - label = "slv-dehr-cfg"; - qcom,slavep = <14>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <61>; - }; - - slv-mpm { - cell-id = <536>; - label = "slv-mpm"; - qcom,slavep = <15>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <62>; - }; - - slv-qdss-cfg { - cell-id = <635>; - label = "slv-qdss-cfg"; - qcom,slavep = <16>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <63>; - }; - - slv-rbcpr-cfg { - cell-id = <636>; - label = "slv-rbcpr-cfg"; - qcom,slavep = <17>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <64>; - }; - - slv-rbcpr-qdss-apu-cfg { - cell-id = <637>; - label = "slv-rbcpr-qdss-apu-cfg"; - qcom,slavep = <18>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <65>; - }; - - fab-snoc { - cell-id = <1024>; - label = "fab-snoc"; - qcom,gateway; - qcom,slavep = <26>; - qcom,masterp = <7>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <52>; - qcom,slv-hw-id = <75>; - }; - - slv-cnoc-mnoc-mmss-cfg { - cell-id = <631>; - label = "slv-cnoc-mnoc-mmss-cfg"; - qcom,slavep = <11>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <58>; - }; - - slv-cnoc-mnoc-cfg { - cell-id = <640>; - label = "slv-cnoc-mnoc-cfg"; - qcom,slavep = <19>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <66>; - }; - - slv-pnoc-cfg { - cell-id = <641>; - label = "slv-pnoc-cfg"; - qcom,slavep = <21>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <69>; - }; - - slv-snoc-mpu-cfg { - cell-id = <638>; - label = "slv-snoc-mpu-cfg"; - qcom,slavep = <20>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <67>; - }; - - slv-snoc-cfg { - cell-id = <642>; - label = "slv-snoc-cfg"; - qcom,slavep = <22>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <70>; - }; - - slv-phy-apu-cfg { - cell-id = <644>; - label = "slv-phy-apu-cfg"; - qcom,slavep = <23>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <72>; - }; - - slv-ebi1-phy-cfg { - cell-id = <645>; - label = "slv-ebi1-phy-cfg"; - qcom,slavep = <24>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <73>; - }; - - slv-rpm { - cell-id = <534>; - label = "slv-rpm"; - qcom,slavep = <25>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <74>; - }; - - slv-service-cnoc { - cell-id = <646>; - label = "slv-service-cnoc"; - qcom,slavep = <27>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <76>; - }; - - }; - - msm-bimc@0xfc380000 { - compatible = "msm-bus-fabric"; - reg = <0xfc380000 0x0006A000>; - cell-id = <0>; - label = "msm_bimc"; - qcom,fabclk-dual = "mem_clk"; - qcom,fabclk-active = "mem_a_clk"; - qcom,ntieredslaves = <0>; - qcom,qos-freq = <4800>; - qcom,hw-sel = "BIMC"; - qcom,rpm-en; - - mas-ampss-m0 { - cell-id = <1>; - label = "mas-ampss-m0"; - qcom,masterp = <0>; - qcom,tier = <2>; - qcom,hw-sel = "BIMC"; - qcom,mode = "Fixed"; - qcom,qport = <0>; - qcom,ws = <10000>; - qcom,mas-hw-id = <0>; - qcom,prio-rd = <0>; - qcom,prio-wr = <0>; - }; - - mas-mss-proc { - cell-id = <65>; - label = "mas-mss-proc"; - qcom,masterp = <1>; - qcom,tier = <2>; - qcom,hw-sel = "RPM"; - qcom,mas-hw-id = <1>; - }; - - fab-mmss-noc { - cell-id = <2048>; - label = "fab_mmss_noc"; - qcom,gateway; - qcom,masterp = <2>; - qcom,qport = <2>; - qcom,buswidth = <8>; - qcom,ws = <10000>; - qcom,mas-hw-id = <2>; - qcom,hw-sel = "BIMC"; - qcom,mode = "Bypass"; - }; - - fab-snoc { - cell-id = <1024>; - label = "fab-snoc"; - qcom,gateway; - qcom,slavep = <2>; - qcom,masterp = <4>; - qcom,qport = <4>; - qcom,buswidth = <8>; - qcom,ws = <10000>; - qcom,mas-hw-id = <3>; - qcom,slv-hw-id = <2>; - qcom,mode = "Bypass"; - qcom,hw-sel = "RPM"; - }; - - slv-ebi-ch0 { - cell-id = <512>; - label = "slv-ebi-ch0"; - qcom,slavep = <0>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <0>; - qcom,mode = "Bypass"; - }; - - slv-ampss-l2 { - cell-id = <514>; - label = "slv-ampss-l2"; - qcom,slavep = <1>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <1>; - }; - }; - - msm-ocmem-vnoc@6144 { - compatible = "msm-bus-fabric"; - reg = <0x6144 0x2>; - cell-id = <6144>; - label = "msm-ocmem-vnoc"; - qcom,ntieredslaves = <0>; - qcom,hw-sel = "NoC"; - qcom,rpm-en; - qcom,virt; - - mas-v-ocmem-gfx3d { - cell-id = <89>; - label = "mas-v-ocmem-gfx3d"; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <55>; - }; - - slv-ocmem { - cell-id = <604>; - label = "slv-ocmem"; - qcom,slavep = <0 1>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,slv-hw-id = <18>; - qcom,slaveclk-dual = "ocmem_clk"; - qcom,slaveclk-active = "ocmem_a_clk"; - }; - - fab-snoc { - cell-id = <1024>; - label = "fab-snoc"; - qcom,gateway; - qcom,buswidth = <32>; - qcom,ws = <10000>; - qcom,mas-hw-id = <57>; - qcom,slv-hw-id = <80>; - }; - - fab-onoc { - cell-id = <3072>; - label = "fab-onoc"; - qcom,gateway; - qcom,buswidth = <16>; - qcom,ws = <10000>; - qcom,mas-hw-id = <56>; - qcom,slv-hw-id = <79>; - }; - - }; -}; - - diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/msm8226-camera-sensor-cdp.dtsi b/kernel/arch/arm/boot/dts/lte_module-v1/msm8226-camera-sensor-cdp.dtsi deleted file mode 100755 index 41d6b7e79..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/msm8226-camera-sensor-cdp.dtsi +++ /dev/null @@ -1,108 +0,0 @@ -/* - * Copyright (c) 2013, 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. - */ - -&soc { - - led_flash0: qcom,camera-led-flash { - cell-index = <0>; - compatible = "qcom,camera-led-flash"; - qcom,flash-type = <1>; - qcom,flash-source = <&pm8226_flash0 &pm8226_flash1>; - }; -}; - -&cci { - - actuator0: qcom,actuator@6e { - cell-index = <3>; - reg = <0x6c>; - compatible = "qcom,actuator"; - qcom,cci-master = <0>; - }; - - qcom,camera@6f { - compatible = "qcom,ov8825"; - reg = <0x6f>; - qcom,slave-id = <0x6c 0x300a 0x8825>; - qcom,csiphy-sd-index = <0>; - qcom,csid-sd-index = <0>; - qcom,actuator-src = <&actuator0>; - qcom,led-flash-src = <&led_flash0>; - qcom,mount-angle = <0>; - qcom,sensor-name = "ov8825"; - cam_vdig-supply = <&pm8226_l5>; - cam_vana-supply = <&pm8226_l19>; - cam_vio-supply = <&pm8226_lvs1>; - cam_vaf-supply = <&pm8226_l15>; - qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana", - "cam_vaf"; - qcom,cam-vreg-type = <0 1 0 0>; - qcom,cam-vreg-min-voltage = <1200000 0 2850000 2800000>; - qcom,cam-vreg-max-voltage = <1200000 0 2850000 2800000>; - qcom,cam-vreg-op-mode = <200000 0 80000 100000>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 26 0>, - <&msmgpio 37 0>, - <&msmgpio 36 0>; - qcom,gpio-reset = <1>; - qcom,gpio-standby = <2>; - qcom,gpio-req-tbl-num = <0 1 2>; - qcom,gpio-req-tbl-flags = <1 0 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1", - "CAM_STANDBY"; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x1f>; - qcom,sensor-position = <0>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - }; - - qcom,camera@6d { - compatible = "qcom,ov9724"; - reg = <0x6d>; - qcom,slave-id = <0x20 0x0 0x9724>; - qcom,csiphy-sd-index = <1>; - qcom,csid-sd-index = <1>; - qcom,mount-angle = <0>; - qcom,sensor-name = "ov9724"; - cam_vdig-supply = <&pm8226_l5>; - cam_vana-supply = <&pm8226_l19>; - cam_vio-supply = <&pm8226_lvs1>; - qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana"; - qcom,cam-vreg-type = <0 1 0>; - qcom,cam-vreg-min-voltage = <1200000 0 2850000>; - qcom,cam-vreg-max-voltage = <1200000 0 2850000>; - qcom,cam-vreg-op-mode = <200000 0 80000>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 26 0>, - <&msmgpio 28 0>, - <&msmgpio 35 0>; - qcom,gpio-reset = <1>; - qcom,gpio-standby = <2>; - qcom,gpio-req-tbl-num = <0 1 2>; - qcom,gpio-req-tbl-flags = <1 0 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET", - "CAM_STANDBY"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 4000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x3>; - qcom,sensor-position = <1>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - status = "ok"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/msm8226-camera-sensor-mtp.dtsi b/kernel/arch/arm/boot/dts/lte_module-v1/msm8226-camera-sensor-mtp.dtsi deleted file mode 100755 index 53860ac85..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/msm8226-camera-sensor-mtp.dtsi +++ /dev/null @@ -1,108 +0,0 @@ -/* - * Copyright (c) 2013, 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. - */ - -&soc { - - led_flash0: qcom,camera-led-flash { - cell-index = <0>; - compatible = "qcom,camera-led-flash"; - qcom,flash-type = <1>; - qcom,flash-source = <&pm8226_flash0 &pm8226_flash1>; - }; -}; - -&cci { - - actuator0: qcom,actuator@6e { - cell-index = <3>; - reg = <0x6c>; - compatible = "qcom,actuator"; - qcom,cci-master = <0>; - }; - - qcom,camera@6f { - compatible = "qcom,ov8825"; - reg = <0x6f>; - qcom,slave-id = <0x6c 0x300a 0x8825>; - qcom,csiphy-sd-index = <0>; - qcom,csid-sd-index = <0>; - qcom,actuator-src = <&actuator0>; - qcom,led-flash-src = <&led_flash0>; - qcom,mount-angle = <0>; - qcom,sensor-name = "ov8825"; - cam_vdig-supply = <&pm8226_l5>; - cam_vana-supply = <&pm8226_l19>; - cam_vio-supply = <&pm8226_lvs1>; - cam_vaf-supply = <&pm8226_l15>; - qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana", - "cam_vaf"; - qcom,cam-vreg-type = <0 1 0 0>; - qcom,cam-vreg-min-voltage = <1200000 0 2850000 2800000>; - qcom,cam-vreg-max-voltage = <1200000 0 2850000 2800000>; - qcom,cam-vreg-op-mode = <200000 0 80000 100000>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 26 0>, - <&msmgpio 37 0>, - <&msmgpio 35 0>; - qcom,gpio-reset = <1>; - qcom,gpio-standby = <2>; - qcom,gpio-req-tbl-num = <0 1 2>; - qcom,gpio-req-tbl-flags = <1 0 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1", - "CAM_STANDBY"; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x1f>; - qcom,sensor-position = <0>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - }; - - qcom,camera@6d { - compatible = "qcom,ov9724"; - reg = <0x6d>; - qcom,slave-id = <0x20 0x0 0x9724>; - qcom,csiphy-sd-index = <1>; - qcom,csid-sd-index = <1>; - qcom,mount-angle = <270>; - qcom,sensor-name = "ov9724"; - cam_vdig-supply = <&pm8226_l5>; - cam_vana-supply = <&pm8226_l19>; - cam_vio-supply = <&pm8226_lvs1>; - qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana"; - qcom,cam-vreg-type = <0 1 0>; - qcom,cam-vreg-min-voltage = <1200000 0 2850000>; - qcom,cam-vreg-max-voltage = <1200000 0 2850000>; - qcom,cam-vreg-op-mode = <200000 0 80000>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 26 0>, - <&msmgpio 28 0>, - <&msmgpio 36 0>; - qcom,gpio-reset = <1>; - qcom,gpio-standby = <2>; - qcom,gpio-req-tbl-num = <0 1 2>; - qcom,gpio-req-tbl-flags = <1 0 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET", - "CAM_STANDBY"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 4000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x3>; - qcom,sensor-position = <1>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - status = "ok"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/msm8226-camera-sensor-qrd.dtsi b/kernel/arch/arm/boot/dts/lte_module-v1/msm8226-camera-sensor-qrd.dtsi deleted file mode 100755 index 3935dbb78..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/msm8226-camera-sensor-qrd.dtsi +++ /dev/null @@ -1,108 +0,0 @@ -/* - * Copyright (c) 2013, 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. - */ - -&soc { - - led_flash0: qcom,camera-led-flash { - cell-index = <0>; - compatible = "qcom,camera-led-flash"; - qcom,flash-type = <1>; - qcom,flash-source = <&pm8226_flash0 &pm8226_flash1>; - }; -}; - -&cci { - - actuator0: qcom,actuator@6e { - cell-index = <3>; - reg = <0x6c>; - compatible = "qcom,actuator"; - qcom,cci-master = <0>; - }; - - qcom,camera@6f { - compatible = "qcom,ov8825"; - reg = <0x6f>; - qcom,slave-id = <0x6c 0x300a 0x8825>; - qcom,csiphy-sd-index = <0>; - qcom,csid-sd-index = <0>; - qcom,actuator-src = <&actuator0>; - qcom,led-flash-src = <&led_flash0>; - qcom,mount-angle = <270>; - qcom,sensor-name = "ov8825"; - cam_vdig-supply = <&pm8226_l5>; - cam_vana-supply = <&pm8226_l19>; - cam_vio-supply = <&pm8226_lvs1>; - cam_vaf-supply = <&pm8226_l15>; - qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana", - "cam_vaf"; - qcom,cam-vreg-type = <0 1 0 0>; - qcom,cam-vreg-min-voltage = <1200000 0 2850000 2800000>; - qcom,cam-vreg-max-voltage = <1200000 0 2850000 2800000>; - qcom,cam-vreg-op-mode = <200000 0 80000 100000>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 26 0>, - <&msmgpio 37 0>, - <&msmgpio 36 0>; - qcom,gpio-reset = <1>; - qcom,gpio-standby = <2>; - qcom,gpio-req-tbl-num = <0 1 2>; - qcom,gpio-req-tbl-flags = <1 0 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1", - "CAM_STANDBY"; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x1f>; - qcom,sensor-position = <0>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - }; - - qcom,camera@6d { - compatible = "qcom,ov9724"; - reg = <0x6d>; - qcom,slave-id = <0x20 0x0 0x9724>; - qcom,csiphy-sd-index = <1>; - qcom,csid-sd-index = <1>; - qcom,mount-angle = <270>; - qcom,sensor-name = "ov9724"; - cam_vdig-supply = <&pm8226_l5>; - cam_vana-supply = <&pm8226_l19>; - cam_vio-supply = <&pm8226_lvs1>; - qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana"; - qcom,cam-vreg-type = <0 1 0>; - qcom,cam-vreg-min-voltage = <1200000 0 2850000>; - qcom,cam-vreg-max-voltage = <1200000 0 2850000>; - qcom,cam-vreg-op-mode = <200000 0 80000>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 26 0>, - <&msmgpio 28 0>, - <&msmgpio 35 0>; - qcom,gpio-reset = <1>; - qcom,gpio-standby = <2>; - qcom,gpio-req-tbl-num = <0 1 2>; - qcom,gpio-req-tbl-flags = <1 0 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET", - "CAM_STANDBY"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 4000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x3>; - qcom,sensor-position = <1>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - status = "ok"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/msm8226-camera.dtsi b/kernel/arch/arm/boot/dts/lte_module-v1/msm8226-camera.dtsi deleted file mode 100755 index ec0092d43..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/msm8226-camera.dtsi +++ /dev/null @@ -1,139 +0,0 @@ -/* - * Copyright (c) 2012-2013, 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. - */ - -&soc { - qcom,msm-cam@fd8c0000 { - compatible = "qcom,msm-cam"; - reg = <0xfd8c0000 0x10000>; - reg-names = "msm-cam"; - }; - - qcom,csiphy@fda0ac00 { - cell-index = <0>; - compatible = "qcom,csiphy"; - reg = <0xfda0ac00 0x200>, - <0xfda00030 0x4>; - reg-names = "csiphy", "csiphy_clk_mux"; - interrupts = <0 78 0>; - interrupt-names = "csiphy"; - }; - - qcom,csiphy@fda0b000 { - cell-index = <1>; - compatible = "qcom,csiphy"; - reg = <0xfda0b000 0x200>, - <0xfda00038 0x4>; - reg-names = "csiphy", "csiphy_clk_mux"; - interrupts = <0 79 0>; - interrupt-names = "csiphy"; - }; - - qcom,csid@fda08000 { - cell-index = <0>; - compatible = "qcom,csid"; - reg = <0xfda08000 0x100>; - reg-names = "csid"; - interrupts = <0 51 0>; - interrupt-names = "csid"; - qcom,csi-vdd-voltage = <1200000>; - qcom,mipi-csi-vdd-supply = <&pm8226_l4>; - }; - - qcom,csid@fda08400 { - cell-index = <1>; - compatible = "qcom,csid"; - reg = <0xfda08400 0x100>; - reg-names = "csid"; - interrupts = <0 52 0>; - interrupt-names = "csid"; - qcom,csi-vdd-voltage = <1200000>; - qcom,mipi-csi-vdd-supply = <&pm8226_l4>; - }; - - qcom,ispif@fda0a000 { - cell-index = <0>; - compatible = "qcom,ispif"; - reg = <0xfda0a000 0x500>, - <0xfda00020 0x10>; - reg-names = "ispif", "csi_clk_mux"; - interrupts = <0 55 0>; - interrupt-names = "ispif"; - }; - - qcom,vfe@fda10000 { - cell-index = <0>; - compatible = "qcom,vfe40"; - reg = <0xfda10000 0x1000>, - <0xfda40000 0x200>; - reg-names = "vfe", "vfe_vbif"; - interrupts = <0 57 0>; - interrupt-names = "vfe"; - vdd-supply = <&gdsc_vfe>; - }; - - qcom,jpeg@fda1c000 { - cell-index = <0>; - compatible = "qcom,jpeg"; - reg = <0xfda1c000 0x400>; - reg-names = "jpeg"; - interrupts = <0 59 0>; - interrupt-names = "jpeg"; - vdd-supply = <&gdsc_jpeg>; - }; - - qcom,irqrouter@fda00000 { - cell-index = <0>; - compatible = "qcom,irqrouter"; - reg = <0xfda00000 0x100>; - reg-names = "irqrouter"; - }; - - qcom,cpp@fda04000 { - cell-index = <0>; - compatible = "qcom,cpp"; - reg = <0xfda04000 0x100>, - <0xfda40000 0x200>, - <0xfda18000 0x008>; - reg-names = "cpp", "cpp_vbif", "cpp_hw"; - interrupts = <0 49 0>; - interrupt-names = "cpp"; - vdd-supply = <&gdsc_vfe>; - }; - - cci: qcom,cci@fda0c000 { - cell-index = <0>; - compatible = "qcom,cci"; - reg = <0xfda0c000 0x1000>; - #address-cells = <1>; - #size-cells = <0>; - reg-names = "cci"; - interrupts = <0 50 0>; - interrupt-names = "cci"; - gpios = <&msmgpio 29 0>, - <&msmgpio 30 0>; - qcom,gpio-tbl-num = <0 1>; - qcom,gpio-tbl-flags = <1 1>; - qcom,gpio-tbl-label = "CCI_I2C_DATA0", - "CCI_I2C_CLK0"; - qcom,hw-thigh = <78>; - qcom,hw-tlow = <114>; - qcom,hw-tsu-sto = <28>; - qcom,hw-tsu-sta = <28>; - qcom,hw-thd-dat = <10>; - qcom,hw-thd-sta = <77>; - qcom,hw-tbuf = <118>; - qcom,hw-scl-stretch-en = <0>; - qcom,hw-trdhld = <6>; - qcom,hw-tsp = <1>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/msm8226-cdp.dtsi b/kernel/arch/arm/boot/dts/lte_module-v1/msm8226-cdp.dtsi deleted file mode 100755 index da9ad8c0a..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/msm8226-cdp.dtsi +++ /dev/null @@ -1,393 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/include/ "dsi-panel-nt35590-720p-video.dtsi" -/include/ "msm8226-camera-sensor-cdp.dtsi" - -&soc { - serial@f991f000 { - status = "ok"; - }; - - qcom,mdss_dsi_nt35590_720p_video { - status = "ok"; - }; - - i2c@f9927000 { /* BLSP1 QUP5 */ - synaptics@20 { - compatible = "synaptics,rmi4"; - reg = <0x20>; - interrupt-parent = <&msmgpio>; - interrupts = <17 0x2008>; - vdd-supply = <&pm8226_l19>; - vcc_i2c-supply = <&pm8226_lvs1>; - synaptics,reset-gpio = <&msmgpio 16 0x00>; - synaptics,irq-gpio = <&msmgpio 17 0x2008>; - synaptics,button-map = <139 102 158>; - synaptics,i2c-pull-up; - }; - }; - - gpio_keys { - compatible = "gpio-keys"; - input-name = "gpio-keys"; - - camera_focus { - label = "camera_focus"; - gpios = <&msmgpio 108 0x1>; - linux,input-type = <1>; - linux,code = <0x210>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - - camera_snapshot { - label = "camera_snapshot"; - gpios = <&msmgpio 107 0x1>; - linux,input-type = <1>; - linux,code = <0x2fe>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - - vol_up { - label = "volume_up"; - gpios = <&msmgpio 106 0x1>; - linux,input-type = <1>; - linux,code = <115>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - }; - - spi@f9923000 { - ethernet-switch@3 { - compatible = "micrel,ks8851"; - reg = <3>; - interrupt-parent = <&msmgpio>; - interrupts = <0 115 0>; - spi-max-frequency = <4800000>; - rst-gpio = <&msmgpio 114 0>; - vdd-io-supply = <&pm8226_lvs1>; - vdd-phy-supply = <&pm8226_lvs1>; - }; - }; - - sound { - qcom,audio-routing = - "RX_BIAS", "MCLK", - "LDO_H", "MCLK", - "SPK_OUT", "MCLK", - "SPK_OUT", "EXT_VDD_SPKR", - "AMIC1", "MIC BIAS1 Internal1", - "MIC BIAS1 Internal1", "Handset Mic", - "AMIC2", "MIC BIAS2 External", - "MIC BIAS2 External", "Headset Mic", - "AMIC4", "MIC BIAS2 External", - "MIC BIAS2 External", "ANCRight Headset Mic", - "AMIC5", "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"; - - qcom,cdc-mclk-gpios = <&pm8226_gpios 1 0>; - qcom,cdc-vdd-spkr-gpios = <&pm8226_gpios 2 0>; - qcom,headset-jack-type-NO; - }; -}; - -&sdcc1 { - vdd-supply = <&pm8226_l17>; - qcom,vdd-always-on; - qcom,vdd-lpm-sup; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <800 500000>; - - vdd-io-supply = <&pm8226_l6>; - qcom,vdd-io-always-on; - qcom,vdd-io-voltage-level = <1800000 1800000>; - qcom,vdd-io-current-level = <250 154000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - qcom,sup-voltages = <2950 2950>; - - qcom,bus-speed-mode = "HS200_1p8v", "DDR_1p8v"; - qcom,nonremovable; - - status = "disabled"; -}; - -&sdhc_1 { - vdd-supply = <&pm8226_l17>; - qcom,vdd-always-on; - qcom,vdd-lpm-sup; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <800 500000>; - - vdd-io-supply = <&pm8226_l6>; - qcom,vdd-io-always-on; - qcom,vdd-io-voltage-level = <1800000 1800000>; - qcom,vdd-io-current-level = <250 154000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - qcom,bus-speed-mode = "HS200_1p8v", "DDR_1p8v"; - qcom,nonremovable; - - status = "ok"; -}; - -&sdcc2 { - vdd-supply = <&pm8226_l18>; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <9000 800000>; - - vdd-io-supply = <&pm8226_l21>; - qcom,vdd-io-always-on; - qcom,vdd-io-lpm-sup; - qcom,vdd-io-voltage-level = <1800000 2950000>; - qcom,vdd-io-current-level = <6 22000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - qcom,sup-voltages = <2950 2950>; - - qcom,xpc; - qcom,bus-speed-mode = "SDR12", "SDR25", "SDR50", "DDR50", "SDR104"; - qcom,current-limit = <600>; - - #address-cells = <0>; - interrupt-parent = <&sdcc2>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 125 0 - 1 &intc 0 220 0 - 2 &msmgpio 38 0x3>; - interrupt-names = "core_irq", "bam_irq", "status_irq"; - cd-gpios = <&msmgpio 38 0x1>; - - status = "disabled"; -}; - -&sdhc_2 { - vdd-supply = <&pm8226_l18>; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <9000 800000>; - - vdd-io-supply = <&pm8226_l21>; - qcom,vdd-io-always-on; - qcom,vdd-io-lpm-sup; - qcom,vdd-io-voltage-level = <1800000 2950000>; - qcom,vdd-io-current-level = <6 22000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - - #address-cells = <0>; - interrupt-parent = <&sdhc_2>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 125 0 - 1 &intc 0 221 0 - 2 &msmgpio 38 0x3>; - interrupt-names = "hc_irq", "pwr_irq", "status_irq"; - cd-gpios = <&msmgpio 38 0x1>; - - status = "ok"; -}; - -&spmi_bus { - qcom,pm8226@0 { - qcom,leds@a100 { - status = "okay"; - qcom,led_mpp_2 { - label = "mpp"; - linux,name = "button-backlight"; - linux,default-trigger = "none"; - qcom,default-state = "off"; - qcom,max-current = <40>; - qcom,current-setting = <5>; - qcom,id = <6>; - qcom,mode = "manual"; - qcom,source-sel = <1>; - qcom,mode-ctrl = <0x60>; - }; - }; - - qcom,leds@a300 { - status = "okay"; - qcom,led_mpp_4 { - label = "mpp"; - linux,name = "green"; - linux,default-trigger = "none"; - qcom,default-state = "off"; - qcom,max-current = <40>; - qcom,current-setting = <5>; - qcom,id = <6>; - qcom,mode = "pwm"; - qcom,pwm-us = <1000>; - qcom,source-sel = <8>; - qcom,mode-ctrl = <0x60>; - qcom,pwm-channel = <0>; - qcom,start-idx = <1>; - qcom,duty-pcts = [00 00 00 00 64 - 64 00 00 00 00]; - qcom,use-blink; - }; - }; - - qcom,leds@a500 { - status = "okay"; - qcom,led_mpp_6 { - label = "mpp"; - linux,name = "red"; - linux,default-trigger = "none"; - qcom,default-state = "off"; - qcom,max-current = <40>; - qcom,current-setting = <5>; - qcom,id = <6>; - qcom,mode = "pwm"; - qcom,pwm-us = <1000>; - qcom,mode-ctrl = <0x60>; - qcom,source-sel = <10>; - qcom,pwm-channel = <5>; - qcom,start-idx = <1>; - qcom,duty-pcts = [00 00 00 00 64 - 64 00 00 00 00]; - qcom,use-blink; - }; - }; - }; - - qcom,pm8226@1 { - qcom,leds@d800 { - status = "okay"; - qcom,wled_0 { - label = "wled"; - linux,name = "wled:backlight"; - linux,default-trigger = "bkl-trigger"; - qcom,cs-out-en; - qcom,op-fdbck = <1>; - qcom,default-state = "on"; - qcom,max-current = <20>; - qcom,ctrl-delay-us = <0>; - qcom,boost-curr-lim = <3>; - qcom,cp-sel = <0>; - qcom,switch-freq = <2>; - qcom,ovp-val = <0>; - qcom,num-strings = <1>; - qcom,id = <0>; - }; - }; - }; -}; - -&pm8226_gpios { - gpio@c000 { /* GPIO 1 */ - /* XO_PMIC_CDC_MCLK enable for tapan codec */ - qcom,mode = <1>; /* Digital output */ - qcom,output-type = <0>; /* CMOS logic */ - qcom,pull = <5>; /* QPNP_PIN_PULL_NO*/ - qcom,vin-sel = <3>; /* QPNP_PIN_VIN3 */ - qcom,out-strength = <3>;/* QPNP_PIN_OUT_STRENGTH_HIGH */ - qcom,src-sel = <2>; /* QPNP_PIN_SEL_FUNC_1 */ - qcom,master-en = <1>; /* Enable GPIO */ - }; - - gpio@c100 { /* GPIO 2 */ - qcom,mode = <1>; - qcom,output-type = <0>; - qcom,pull = <5>; - qcom,vin-sel = <3>; - qcom,out-strength = <3>; - qcom,src-sel = <2>; - qcom,master-en = <1>; - }; - - gpio@c200 { /* GPIO 3 */ - }; - - gpio@c300 { /* GPIO 4 */ - }; - - gpio@c400 { /* GPIO 5 */ - }; - - gpio@c500 { /* GPIO 6 */ - }; - - gpio@c600 { /* GPIO 7 */ - }; - - gpio@c700 { /* GPIO 8 */ - }; -}; - -&pm8226_mpps { - mpp@a000 { /* MPP 1 */ - }; - - mpp@a100 { /* MPP 2 */ - }; - - mpp@a200 { /* MPP 3 */ - }; - - mpp@a300 { /* MPP 4 */ - }; - - mpp@a400 { /* MPP 5 */ - }; - - mpp@a500 { /* MPP 6 */ - }; - - mpp@a600 { /* MPP 7 */ - }; - - mpp@a700 { /* MPP 8 */ - }; -}; - -&pm8226_chg { - qcom,charging-disabled; - qcom,use-default-batt-values; -}; - -&usb_otg_sw { - status = "okay"; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/msm8226-coresight.dtsi b/kernel/arch/arm/boot/dts/lte_module-v1/msm8226-coresight.dtsi deleted file mode 100755 index e11c963c6..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/msm8226-coresight.dtsi +++ /dev/null @@ -1,377 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -&soc { - tmc_etr: tmc@fc322000 { - compatible = "arm,coresight-tmc"; - reg = <0xfc322000 0x1000>, - <0xfc37c000 0x3000>; - reg-names = "tmc-base", "bam-base"; - - qcom,memory-reservation-type = "EBI1"; - qcom,memory-reservation-size = <0x100000>; /* 1M EBI1 buffer */ - - coresight-id = <0>; - coresight-name = "coresight-tmc-etr"; - coresight-nr-inports = <1>; - coresight-ctis = <&cti0 &cti8>; - }; - - tpiu: tpiu@fc318000 { - compatible = "arm,coresight-tpiu"; - reg = <0xfc318000 0x1000>; - reg-names = "tpiu-base"; - - coresight-id = <1>; - coresight-name = "coresight-tpiu"; - coresight-nr-inports = <1>; - - vdd-supply = <&pm8226_l18>; - - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <9000 800000>; - }; - - replicator: replicator@fc31c000 { - compatible = "qcom,coresight-replicator"; - reg = <0xfc31c000 0x1000>; - reg-names = "replicator-base"; - - coresight-id = <2>; - coresight-name = "coresight-replicator"; - coresight-nr-inports = <1>; - coresight-outports = <0 1>; - coresight-child-list = <&tmc_etr &tpiu>; - coresight-child-ports = <0 0>; - }; - - tmc_etf: tmc@fc307000 { - compatible = "arm,coresight-tmc"; - reg = <0xfc307000 0x1000>; - reg-names = "tmc-base"; - - coresight-id = <3>; - coresight-name = "coresight-tmc-etf"; - coresight-nr-inports = <1>; - coresight-outports = <0>; - coresight-child-list = <&replicator>; - coresight-child-ports = <0>; - coresight-default-sink; - coresight-ctis = <&cti0 &cti8>; - }; - - funnel_merg: funnel@fc31b000 { - compatible = "arm,coresight-funnel"; - reg = <0xfc31b000 0x1000>; - reg-names = "funnel-base"; - - coresight-id = <4>; - coresight-name = "coresight-funnel-merg"; - coresight-nr-inports = <2>; - coresight-outports = <0>; - coresight-child-list = <&tmc_etf>; - coresight-child-ports = <0>; - }; - - funnel_in0: funnel@fc319000 { - compatible = "arm,coresight-funnel"; - reg = <0xfc319000 0x1000>; - reg-names = "funnel-base"; - - coresight-id = <5>; - coresight-name = "coresight-funnel-in0"; - coresight-nr-inports = <8>; - coresight-outports = <0>; - coresight-child-list = <&funnel_merg>; - coresight-child-ports = <0>; - }; - - funnel_in1: funnel@fc31a000 { - compatible = "arm,coresight-funnel"; - reg = <0xfc31a000 0x1000>; - reg-names = "funnel-base"; - - coresight-id = <6>; - coresight-name = "coresight-funnel-in1"; - coresight-nr-inports = <8>; - coresight-outports = <0>; - coresight-child-list = <&funnel_merg>; - coresight-child-ports = <1>; - }; - - funnel_a7ss: funnel@fc345000 { - compatible = "arm,coresight-funnel"; - reg = <0xfc345000 0x1000>; - reg-names = "funnel-base"; - - coresight-id = <7>; - coresight-name = "coresight-funnel-a7ss"; - coresight-nr-inports = <4>; - coresight-outports = <0>; - coresight-child-list = <&funnel_in1>; - coresight-child-ports = <5>; - }; - - funnel_mmss: funnel@fc364000 { - compatible = "arm,coresight-funnel"; - reg = <0xfc364000 0x1000>; - reg-names = "funnel-base"; - - - coresight-id = <8>; - coresight-name = "coresight-funnel-mmss"; - coresight-nr-inports = <8>; - coresight-outports = <0>; - coresight-child-list = <&funnel_in1>; - coresight-child-ports = <1>; - }; - - stm: stm@fc321000 { - compatible = "arm,coresight-stm"; - reg = <0xfc321000 0x1000>, - <0xfa280000 0x180000>; - reg-names = "stm-base", "stm-data-base"; - - coresight-id = <9>; - coresight-name = "coresight-stm"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_in1>; - coresight-child-ports = <7>; - }; - - etm0: etm@fc33c000 { - compatible = "arm,coresight-etm"; - reg = <0xfc33c000 0x1000>; - reg-names = "etm-base"; - - coresight-id = <10>; - coresight-name = "coresight-etm0"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_a7ss>; - coresight-child-ports = <0>; - - qcom,round-robin; - }; - - etm1: etm@fc33d000 { - compatible = "arm,coresight-etm"; - reg = <0xfc33d000 0x1000>; - reg-names = "etm-base"; - - coresight-id = <11>; - coresight-name = "coresight-etm1"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_a7ss>; - coresight-child-ports = <1>; - - qcom,round-robin; - }; - - etm2: etm@fc33e000 { - compatible = "arm,coresight-etm"; - reg = <0xfc33e000 0x1000>; - reg-names = "etm-base"; - - coresight-id = <12>; - coresight-name = "coresight-etm2"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_a7ss>; - coresight-child-ports = <2>; - - qcom,round-robin; - }; - - etm3: etm@fc33f000 { - compatible = "arm,coresight-etm"; - reg = <0xfc33f000 0x1000>; - reg-names = "etm-base"; - - coresight-id = <13>; - coresight-name = "coresight-etm3"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_a7ss>; - coresight-child-ports = <3>; - - qcom,round-robin; - }; - - csr: csr@fc302000 { - compatible = "qcom,coresight-csr"; - reg = <0xfc302000 0x1000>; - reg-names = "csr-base"; - - coresight-id = <14>; - coresight-name = "coresight-csr"; - coresight-nr-inports = <0>; - - qcom,blk-size = <1>; - }; - - cti0: cti@fc308000 { - compatible = "arm,coresight-cti"; - reg = <0xfc308000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <15>; - coresight-name = "coresight-cti0"; - coresight-nr-inports = <0>; - }; - - cti1: cti@fc309000 { - compatible = "arm,coresight-cti"; - reg = <0xfc309000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <16>; - coresight-name = "coresight-cti1"; - coresight-nr-inports = <0>; - }; - - cti2: cti@fc30a000 { - compatible = "arm,coresight-cti"; - reg = <0xfc30a000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <17>; - coresight-name = "coresight-cti2"; - coresight-nr-inports = <0>; - }; - - cti3: cti@fc30b000 { - compatible = "arm,coresight-cti"; - reg = <0xfc30b000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <18>; - coresight-name = "coresight-cti3"; - coresight-nr-inports = <0>; - }; - - cti4: cti@fc30c000 { - compatible = "arm,coresight-cti"; - reg = <0xfc30c000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <19>; - coresight-name = "coresight-cti4"; - coresight-nr-inports = <0>; - }; - - cti5: cti@fc30d000 { - compatible = "arm,coresight-cti"; - reg = <0xfc30d000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <20>; - coresight-name = "coresight-cti5"; - coresight-nr-inports = <0>; - }; - - cti6: cti@fc30e000 { - compatible = "arm,coresight-cti"; - reg = <0xfc30e000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <21>; - coresight-name = "coresight-cti6"; - coresight-nr-inports = <0>; - }; - - cti7: cti@fc30f000 { - compatible = "arm,coresight-cti"; - reg = <0xfc30f000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <22>; - coresight-name = "coresight-cti7"; - coresight-nr-inports = <0>; - }; - - cti8: cti@fc310000 { - compatible = "arm,coresight-cti"; - reg = <0xfc310000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <23>; - coresight-name = "coresight-cti8"; - coresight-nr-inports = <0>; - }; - - cti_l2: cti@fc340000 { - compatible = "arm,coresight-cti"; - reg = <0xfc340000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <24>; - coresight-name = "coresight-cti-l2"; - coresight-nr-inports = <0>; - }; - - cti_cpu0: cti@fc341000 { - compatible = "arm,coresight-cti"; - reg = <0xfc341000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <25>; - coresight-name = "coresight-cti-cpu0"; - coresight-nr-inports = <0>; - }; - - cti_cpu1: cti@fc342000 { - compatible = "arm,coresight-cti"; - reg = <0xfc342000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <26>; - coresight-name = "coresight-cti-cpu1"; - coresight-nr-inports = <0>; - }; - - cti_cpu2: cti@fc343000 { - compatible = "arm,coresight-cti"; - reg = <0xfc343000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <27>; - coresight-name = "coresight-cti-cpu2"; - coresight-nr-inports = <0>; - }; - - cti_cpu3: cti@fc344000 { - compatible = "arm,coresight-cti"; - reg = <0xfc344000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <28>; - coresight-name = "coresight-cti-cpu3"; - coresight-nr-inports = <0>; - }; - - hwevent: hwevent@fd828018 { - compatible = "qcom,coresight-hwevent"; - reg = <0xfd828018 0x80>, - <0xf9011080 0x80>, - <0xfd4ab160 0x80>; - reg-names = "mmss-mux", "apcs-mux", "ppss-mux"; - - coresight-id = <29>; - coresight-name = "coresight-hwevent"; - coresight-nr-inports = <0>; - - qcom,hwevent-clks = "core_mmss_clk"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/msm8226-fluid.dts b/kernel/arch/arm/boot/dts/lte_module-v1/msm8226-fluid.dts deleted file mode 100755 index c58b43b4b..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/msm8226-fluid.dts +++ /dev/null @@ -1,33 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; -/include/ "msm8226.dtsi" - -/ { - model = "Qualcomm MSM 8226 FLUID"; - compatible = "qcom,msm8226-fluid", "qcom,msm8226", "qcom,fluid"; - qcom,msm-id = <145 3 0>, - <158 3 0>, - <159 3 0>, - <198 3 0>; -}; - -&soc { - serial@f991f000 { - status = "disabled"; - }; -}; - -&pm8226_bms { - status = "ok"; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/msm8226-gpu.dtsi b/kernel/arch/arm/boot/dts/lte_module-v1/msm8226-gpu.dtsi deleted file mode 100755 index 590f73395..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/msm8226-gpu.dtsi +++ /dev/null @@ -1,161 +0,0 @@ -/* Copyright (c) 2013, 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. - */ -&soc { - msm_gpu: qcom,kgsl-3d0@fdb00000 { - label = "kgsl-3d0"; - compatible = "qcom,kgsl-3d0", "qcom,kgsl-3d"; - reg = <0xfdb00000 0x10000 - 0xfdb20000 0x10000>; - reg-names = "kgsl_3d0_reg_memory" , "kgsl_3d0_shader_memory"; - interrupts = <0 33 0>; - interrupt-names = "kgsl_3d0_irq"; - qcom,id = <0>; - - qcom,chipid = <0x03000510>; - - qcom,initial-pwrlevel = <1>; - - qcom,idle-timeout = <8>; // - qcom,strtstp-sleepwake; - qcom,clk-map = <0x00000016>; /* KGSL_CLK_CORE | KGSL_CLK_IFACE | KGSL_CLK_MEM_IFACE */ - - /* Bus Scale Settings */ - qcom,msm-bus,name = "grp3d"; - qcom,msm-bus,num-cases = <4>; - qcom,msm-bus,num-paths = <2>; - qcom,msm-bus,vectors-KBps = - <26 512 0 0>, <89 604 0 0>, - <26 512 0 1600000>, <89 604 0 3200000>, - <26 512 0 3200000>, <89 604 0 5120000>, - <26 512 0 4256000>, <89 604 0 6400000>; - - - /* GDSC oxili regulators */ - vddcx-supply = "\0"; - vdd-supply = <&gdsc_oxili_cx>; - - - /* IOMMU Data */ - iommu = <&kgsl_iommu>; - - /* Power levels */ - qcom,gpu-pwrlevels { - #address-cells = <1>; - #size-cells = <0>; - - compatible = "qcom,gpu-pwrlevels"; - - qcom,gpu-pwrlevel@0 { - reg = <0>; - qcom,gpu-freq = <450000000>; - qcom,bus-freq = <3>; - qcom,io-fraction = <0>; - }; - - qcom,gpu-pwrlevel@1 { - reg = <1>; - qcom,gpu-freq = <320000000>; - qcom,bus-freq = <2>; - qcom,io-fraction = <33>; - }; - - qcom,gpu-pwrlevel@2 { - reg = <2>; - qcom,gpu-freq = <200000000>; - qcom,bus-freq = <1>; - qcom,io-fraction = <100>; - }; - - qcom,gpu-pwrlevel@3 { - reg = <3>; - qcom,gpu-freq = <19000000>; - qcom,bus-freq = <0>; - qcom,io-fraction = <0>; - }; - }; - - qcom,dcvs-core-info { - #address-cells = <1>; - #size-cells = <0>; - - compatible = "qcom,dcvs-core-info"; - - qcom,num-cores = <1>; - qcom,sensors = <0>; - - qcom,core-core-type = <1>; - - qcom,algo-disable-pc-threshold = <0>; - qcom,algo-em-win-size-min-us = <100000>; - qcom,algo-em-win-size-max-us = <300000>; - qcom,algo-em-max-util-pct = <97>; - qcom,algo-group-id = <95>; - qcom,algo-max-freq-chg-time-us = <100000>; - qcom,algo-slack-mode-dynamic = <100000>; - qcom,algo-slack-weight-thresh-pct = <0>; - qcom,algo-slack-time-min-us = <39000>; - qcom,algo-slack-time-max-us = <39000>; - qcom,algo-ss-win-size-min-us = <1000000>; - qcom,algo-ss-win-size-max-us = <1000000>; - qcom,algo-ss-util-pct = <95>; - qcom,algo-ss-no-corr-below-freq = <0>; - - qcom,energy-active-coeff-a = <2492>; - qcom,energy-active-coeff-b = <0>; - qcom,energy-active-coeff-c = <0>; - qcom,energy-leakage-coeff-a = <11>; - qcom,energy-leakage-coeff-b = <157150>; - qcom,energy-leakage-coeff-c = <0>; - qcom,energy-leakage-coeff-d = <0>; - - qcom,power-current-temp = <25>; - qcom,power-num-freq = <4>; - - qcom,dcvs-freq@0 { - reg = <0>; - qcom,freq = <0>; - qcom,voltage = <0>; - qcom,is_trans_level = <0>; - qcom,active-energy-offset = <100>; - qcom,leakage-energy-offset = <0>; - }; - - qcom,dcvs-freq@1 { - reg = <1>; - qcom,freq = <0>; - qcom,voltage = <0>; - qcom,is_trans_level = <0>; - qcom,active-energy-offset = <100>; - qcom,leakage-energy-offset = <0>; - }; - - qcom,dcvs-freq@2 { - reg = <2>; - qcom,freq = <0>; - qcom,voltage = <0>; - qcom,is_trans_level = <0>; - qcom,active-energy-offset = <100>; - qcom,leakage-energy-offset = <0>; - }; - - qcom,dcvs-freq@3 { - reg = <3>; - qcom,freq = <0>; - qcom,voltage = <0>; - qcom,is_trans_level = <0>; - qcom,active-energy-offset = <844545>; - qcom,leakage-energy-offset = <0>; - }; - }; - - }; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/msm8226-iommu-domains.dtsi b/kernel/arch/arm/boot/dts/lte_module-v1/msm8226-iommu-domains.dtsi deleted file mode 100755 index 25fca2a54..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/msm8226-iommu-domains.dtsi +++ /dev/null @@ -1,31 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -&soc { - qcom,iommu-domains { - compatible = "qcom,iommu-domains"; - - venus_domain_ns: qcom,iommu-domain1 { - label = "venus_ns"; - qcom,iommu-contexts = <&venus_ns>; - qcom,virtual-addr-pool = <0x40000000 0x3f000000 - 0x7f000000 0x1000000>; - }; - - venus_domain_cp: qcom,iommu-domain2 { - label = "venus_cp"; - qcom,iommu-contexts = <&venus_cp>; - qcom,virtual-addr-pool = <0x1000000 0x3f000000>; - qcom,secure-domain; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/msm8226-iommu.dtsi b/kernel/arch/arm/boot/dts/lte_module-v1/msm8226-iommu.dtsi deleted file mode 100755 index ff3e0a59d..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/msm8226-iommu.dtsi +++ /dev/null @@ -1,237 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/include/ "msm-iommu-v1.dtsi" - -&jpeg_iommu { - status = "ok"; - vdd-supply = <&gdsc_jpeg>; - qcom,iommu-enable-halt; - - qcom,iommu-bfb-regs = <0x204c - 0x2050 - 0x2514 - 0x2540 - 0x256c - 0x2314 - 0x2394 - 0x2414 - 0x20ac - 0x215c - 0x220c - 0x2008 - 0x200c - 0x2010 - 0x2014>; - - qcom,iommu-bfb-data = <0x0000ffff - 0x00000000 - 0x4 - 0x4 - 0x0 - 0x0 - 0x10 - 0x50 - 0x0 - 0x10 - 0x20 - 0x0 - 0x0 - 0x0 - 0x0>; -}; - -&mdp_iommu { - status = "ok"; - vdd-supply = <&gdsc_mdss>; - qcom,iommu-enable-halt; - - qcom,iommu-bfb-regs = <0x204c - 0x2050 - 0x2514 - 0x2540 - 0x256c - 0x20ac - 0x215c - 0x220c - 0x2314 - 0x2394 - 0x2414 - 0x2008 - 0x200c - 0x2010 - 0x2014 - 0x2018 - 0x201c - 0x2020>; - - qcom,iommu-bfb-data = <0xffffffff - 0x00000000 - 0x00000004 - 0x00000010 - 0x00000000 - 0x00000000 - 0x00000013 - 0x00000017 - 0x0 - 0x13 - 0x23 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0>; -}; - -&venus_iommu { - status = "ok"; - vdd-supply = <&gdsc_venus>; - qcom,iommu-enable-halt; - - qcom,iommu-bfb-regs = <0x204c - 0x2050 - 0x2514 - 0x2540 - 0x256c - 0x20ac - 0x215c - 0x220c - 0x2314 - 0x2394 - 0x2414 - 0x2008 - 0x200c - 0x2010 - 0x2014 - 0x2018 - 0x201c - 0x2020 - 0x2024 - 0x2028 - 0x202c - 0x2030 - 0x2034 - 0x2038>; - - qcom,iommu-bfb-data = <0xffffffff - 0xffffffff - 0x00000004 - 0x00000008 - 0x00000000 - 0x00000000 - 0x00000094 - 0x000000b4 - 0x0 - 0x94 - 0x114 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0>; -}; - -&venus_ns { - qcom,iommu-ctx-sids = <0 1 2 3 4 5 7>; -}; - -&venus_cp { - qcom,iommu-ctx-sids = <0x80 0x81 0x82 0x83 0x84>; -}; - -&kgsl_iommu { - status = "ok"; - vdd-supply = <&gdsc_oxili_cx>; - qcom,alt-vdd-supply = <&gdsc_oxili_gx>; - qcom,iommu-enable-halt; - qcom,needs-alt-core-clk; - - qcom,iommu-bfb-regs = <0x204c - 0x2050 - 0x2514 - 0x2540 - 0x256c - 0x20ac - 0x215c - 0x220c - 0x2314 - 0x2394 - 0x2414 - 0x2008>; - - qcom,iommu-bfb-data = <0x00000003 - 0x0 - 0x00000004 - 0x00000010 - 0x00000000 - 0x00000000 - 0x00000001 - 0x00000011 - 0x0 - 0x1 - 0x41 - 0x0>; -}; - -&vfe_iommu { - status = "ok"; - vdd-supply = <&gdsc_vfe>; - qcom,iommu-enable-halt; - - qcom,iommu-bfb-regs = <0x204c - 0x2050 - 0x2514 - 0x2540 - 0x256c - 0x2314 - 0x2394 - 0x2414 - 0x20ac - 0x215c - 0x220c - 0x2008 - 0x200c - 0x2010 - 0x2014 - 0x2018 - 0x201c - 0x2020>; - - qcom,iommu-bfb-data = <0xffffffff - 0x00000000 - 0x4 - 0x8 - 0x0 - 0x0 - 0x1b - 0x5b - 0x0 - 0x1b - 0x2b - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0>; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/msm8226-ion.dtsi b/kernel/arch/arm/boot/dts/lte_module-v1/msm8226-ion.dtsi deleted file mode 100755 index dee64e538..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/msm8226-ion.dtsi +++ /dev/null @@ -1,66 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&soc { - qcom,ion { - compatible = "qcom,msm-ion"; - #address-cells = <1>; - #size-cells = <0>; - - qcom,ion-heap@30 { /* SYSTEM HEAP */ - reg = <30>; - }; - - qcom,ion-heap@21 { /* SYSTEM CONTIG HEAP */ - reg = <21>; - }; - - qcom,ion-heap@8 { /* CP_MM HEAP */ - compatible = "qcom,msm-ion-reserve"; - reg = <8>; - qcom,heap-align = <0x1000>; - linux,contiguous-region = <&secure_mem>; - }; - - qcom,ion-heap@25 { /* IOMMU HEAP */ - reg = <25>; - }; - - qcom,ion-heap@27 { /* QSECOM HEAP */ - compatible = "qcom,msm-ion-reserve"; - reg = <27>; - linux,contiguous-region = <&qsecom_mem>; - }; - - qcom,ion-heap@28 { /* AUDIO HEAP */ - compatible = "qcom,msm-ion-reserve"; - reg = <28>; - qcom,heap-align = <0x1000>; - qcom,memory-reservation-type = "EBI1"; /* reserve EBI memory */ - qcom,memory-reservation-size = <0x314000>; - }; - qcom,ion-heap@23 { /* OTHER PIL HEAP */ - compatible = "qcom,msm-ion-reserve"; - reg = <23>; - qcom,heap-align = <0x1000>; - qcom,memory-fixed = <0x06400000 0x2000000>; - }; - qcom,ion-heap@26 { /* MODEM PIL HEAP */ - compatible = "qcom,msm-ion-reserve"; - reg = <26>; - qcom,heap-align = <0x1000>; - qcom,memory-fixed = <0x08400000 0x4E00000>; - - }; - - }; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/msm8226-mdss.dtsi b/kernel/arch/arm/boot/dts/lte_module-v1/msm8226-mdss.dtsi deleted file mode 100755 index f58089709..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/msm8226-mdss.dtsi +++ /dev/null @@ -1,80 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -&soc { - qcom,mdss_mdp@fd900000 { - compatible = "qcom,mdss_mdp"; - reg = <0xfd900000 0x22100>, - <0xfd924000 0x1000>; - reg-names = "mdp_phys", "vbif_phys"; - interrupts = <0 72 0>; - vdd-supply = <&gdsc_mdss>; - - qcom,max-clk-rate = <200000000>; - qcom,mdss-pipe-vig-off = <0x00001200>; - qcom,mdss-pipe-rgb-off = <0x00001E00>; - qcom,mdss-pipe-dma-off = <0x00002A00>; - qcom,mdss-pipe-vig-fetch-id = <1>; - qcom,mdss-pipe-rgb-fetch-id = <7>; - qcom,mdss-pipe-dma-fetch-id = <4>; - qcom,mdss-smp-data = <7 4096>; - - qcom,mdss-ctl-off = <0x00000600 0x00000700>; - qcom,mdss-mixer-intf-off = <0x00003200>; - qcom,mdss-mixer-wb-off = <0x00003E00>; - qcom,mdss-dspp-off = <0x00004600>; - qcom,mdss-pingpong-off = <0x00021B00>; - qcom,mdss-wb-off = <0x00011100 0x00013100>; - qcom,mdss-intf-off = <0x00000000 0x00021300>; - qcom,mdss-rot-block-size = <64>; - - qcom,vbif-settings = <0x004 0x00000001>, - <0x0D8 0x00000707>, - <0x124 0x00000003>; - qcom,mdp-settings = <0x02E0 0x000000A9>, - <0x02E4 0x00000055>; - - mdss_fb0: qcom,mdss_fb_primary { - cell-index = <0>; - compatible = "qcom,mdss-fb"; - qcom,memory-reservation-type = "EBI1"; - qcom,memory-reservation-size = <0x800000>; - }; - - mdss_fb1: qcom,mdss_fb_wfd { - cell-index = <1>; - compatible = "qcom,mdss-fb"; - }; - }; - - mdss_dsi0: qcom,mdss_dsi@fd922800 { - compatible = "qcom,mdss-dsi-ctrl"; - label = "MDSS DSI CTRL->0"; - cell-index = <0>; - reg = <0xfd922800 0x600>; - vdd-supply = <&pm8226_l15>; - vddio-supply = <&pm8226_l8>; - vdda-supply = <&pm8226_l4>; - qcom,supply-names = "vdd", "vddio", "vdda"; - qcom,supply-min-voltage-level = <2800000 1800000 1200000>; - qcom,supply-max-voltage-level = <2800000 1800000 1200000>; - qcom,supply-peak-current = <150000 100000 100000>; - qcom,mdss-fb-map = <&mdss_fb0>; - }; - - qcom,mdss_wb_panel { - compatible = "qcom,mdss_wb"; - qcom,mdss_pan_res = <1280 720>; - qcom,mdss_pan_bpp = <24>; - qcom,mdss-fb-map = <&mdss_fb1>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/msm8226-mtp.dtsi b/kernel/arch/arm/boot/dts/lte_module-v1/msm8226-mtp.dtsi deleted file mode 100755 index bcd1c41d6..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/msm8226-mtp.dtsi +++ /dev/null @@ -1,445 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/include/ "dsi-panel-nt35590-720p-video.dtsi" -/include/ "msm8226-camera-sensor-mtp.dtsi" - -&soc { - serial@f991f000 { - status = "ok"; - }; - - qcom,mdss_dsi_nt35590_720p_video { - status = "ok"; - }; - - i2c@f9927000 { /* BLSP1 QUP5 */ - synaptics@20 { - compatible = "synaptics,rmi4"; - reg = <0x20>; - interrupt-parent = <&msmgpio>; - interrupts = <17 0x2008>; - vdd-supply = <&pm8226_l19>; - vcc_i2c-supply = <&pm8226_lvs1>; - synaptics,reset-gpio = <&msmgpio 16 0x00>; - synaptics,irq-gpio = <&msmgpio 17 0x2008>; - synaptics,button-map = <139 102 158>; - synaptics,i2c-pull-up; - }; - }; - - gpio_keys { - compatible = "gpio-keys"; - input-name = "gpio-keys"; - - camera_focus { - label = "camera_focus"; - gpios = <&msmgpio 108 0x1>; - linux,input-type = <1>; - linux,code = <0x210>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - - camera_snapshot { - label = "camera_snapshot"; - gpios = <&msmgpio 107 0x1>; - linux,input-type = <1>; - linux,code = <0x2fe>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - - vol_up { - label = "volume_up"; - gpios = <&msmgpio 106 0x1>; - linux,input-type = <1>; - linux,code = <115>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - }; - - spi@f9923000 { - ethernet-switch@3 { - compatible = "micrel,ks8851"; - reg = <3>; - interrupt-parent = <&msmgpio>; - interrupts = <0 115 0>; - spi-max-frequency = <4800000>; - rst-gpio = <&msmgpio 114 0>; - vdd-io-supply = <&pm8226_lvs1>; - vdd-phy-supply = <&pm8226_lvs1>; - }; - }; - - sound { - qcom,audio-routing = - "RX_BIAS", "MCLK", - "LDO_H", "MCLK", - "SPK_OUT", "MCLK", - "SPK_OUT", "EXT_VDD_SPKR", - "AMIC1", "MIC BIAS1 External", - "MIC BIAS1 External", "Handset Mic", - "AMIC2", "MIC BIAS2 External", - "MIC BIAS2 External", "Headset Mic", - "AMIC3", "MIC BIAS1 External", - "MIC BIAS1 External", "ANCRight Headset Mic", - "AMIC4", "MIC BIAS2 External", - "MIC BIAS2 External", "ANCLeft Headset Mic"; - - qcom,cdc-mclk-gpios = <&pm8226_gpios 1 0>; - qcom,cdc-vdd-spkr-gpios = <&pm8226_gpios 2 0>; - }; -}; - -&usb_otg { - #address-cells = <0>; - interrupt-parent = <&usb_otg>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 134 0 - 1 &intc 0 140 0 - 2 &spmi_bus 0x0 0x0 0x9 0x0>; - interrupt-names = "core_irq", "async_irq", "pmic_id_irq"; - - qcom,hsusb-otg-mode = <3>; - vbus_otg-supply = <&usb_otg_sw>; -}; - -&sdcc1 { - vdd-supply = <&pm8226_l17>; - qcom,vdd-always-on; - qcom,vdd-lpm-sup; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <800 500000>; - - vdd-io-supply = <&pm8226_l6>; - qcom,vdd-io-always-on; - qcom,vdd-io-voltage-level = <1800000 1800000>; - qcom,vdd-io-current-level = <250 154000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - qcom,sup-voltages = <2950 2950>; - - qcom,bus-speed-mode = "HS200_1p8v", "DDR_1p8v"; - qcom,nonremovable; - - status = "disabled"; -}; - -&sdhc_1 { - vdd-supply = <&pm8226_l17>; - qcom,vdd-always-on; - qcom,vdd-lpm-sup; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <800 500000>; - - vdd-io-supply = <&pm8226_l6>; - qcom,vdd-io-always-on; - qcom,vdd-io-voltage-level = <1800000 1800000>; - qcom,vdd-io-current-level = <250 154000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - qcom,bus-speed-mode = "HS200_1p8v", "DDR_1p8v"; - qcom,nonremovable; - - status = "ok"; -}; - -&sdcc2 { - vdd-supply = <&pm8226_l18>; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <9000 800000>; - - vdd-io-supply = <&pm8226_l21>; - qcom,vdd-io-always-on; - qcom,vdd-io-lpm-sup; - qcom,vdd-io-voltage-level = <1800000 2950000>; - qcom,vdd-io-current-level = <6 22000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - qcom,sup-voltages = <2950 2950>; - - qcom,xpc; - qcom,bus-speed-mode = "SDR12", "SDR25", "SDR50", "DDR50", "SDR104"; - qcom,current-limit = <600>; #address-cells = <0>; interrupt-parent = <&sdcc2>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 125 0 - 1 &intc 0 220 0 - 2 &msmgpio 38 0x3>; - interrupt-names = "core_irq", "bam_irq", "status_irq"; - cd-gpios = <&msmgpio 38 0x1>; - - status = "disabled"; -}; - -&sdhc_2 { - vdd-supply = <&pm8226_l18>; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <9000 800000>; - - vdd-io-supply = <&pm8226_l21>; - qcom,vdd-io-always-on; - qcom,vdd-io-lpm-sup; - qcom,vdd-io-voltage-level = <1800000 2950000>; - qcom,vdd-io-current-level = <6 22000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - - #address-cells = <0>; - interrupt-parent = <&sdhc_2>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 125 0 - 1 &intc 0 221 0 - 2 &msmgpio 38 0x3>; - interrupt-names = "hc_irq", "pwr_irq", "status_irq"; - cd-gpios = <&msmgpio 38 0x1>; - - status = "ok"; -}; - -&spmi_bus { - qcom,pm8226@0 { - qcom,leds@a100 { - status = "okay"; - qcom,led_mpp_2 { - label = "mpp"; - linux,name = "button-backlight"; - linux,default-trigger = "none"; - qcom,default-state = "off"; - qcom,max-current = <40>; - qcom,current-setting = <5>; - qcom,id = <6>; - qcom,mode = "manual"; - qcom,source-sel = <1>; - qcom,mode-ctrl = <0x60>; - }; - }; - - qcom,leds@a300 { - status = "okay"; - qcom,led_mpp_4 { - label = "mpp"; - linux,name = "green"; - linux,default-trigger = "none"; - qcom,default-state = "off"; - qcom,max-current = <40>; - qcom,current-setting = <5>; - qcom,id = <6>; - qcom,mode = "pwm"; - qcom,pwm-us = <1000>; - qcom,source-sel = <8>; - qcom,mode-ctrl = <0x60>; - qcom,pwm-channel = <0>; - qcom,start-idx = <1>; - qcom,duty-pcts = [00 00 00 00 64 - 64 00 00 00 00]; - qcom,use-blink; - }; - }; - - qcom,leds@a500 { - status = "okay"; - qcom,led_mpp_6 { - label = "mpp"; - linux,name = "red"; - linux,default-trigger = "none"; - qcom,default-state = "off"; - qcom,max-current = <40>; - qcom,current-setting = <5>; - qcom,id = <6>; - qcom,mode = "pwm"; - qcom,pwm-us = <1000>; - qcom,mode-ctrl = <0x60>; - qcom,source-sel = <10>; - qcom,pwm-channel = <5>; - qcom,start-idx = <1>; - qcom,duty-pcts = [00 00 00 00 64 - 64 00 00 00 00]; - qcom,use-blink; - }; - }; - }; - - qcom,pm8226@1 { - qcom,leds@d300 { - status = "okay"; - }; - - qcom,leds@d800 { - status = "okay"; - qcom,wled_0 { - label = "wled"; - linux,name = "wled:backlight"; - linux,default-trigger = "bkl-trigger"; - qcom,cs-out-en; - qcom,op-fdbck = <1>; - qcom,default-state = "on"; - qcom,max-current = <20>; - qcom,ctrl-delay-us = <0>; - qcom,boost-curr-lim = <3>; - qcom,cp-sel = <0>; - qcom,switch-freq = <2>; - qcom,ovp-val = <0>; - qcom,num-strings = <1>; - qcom,id = <0>; - }; - }; - }; -}; - -&pm8226_gpios { - gpio@c000 { /* GPIO 1 */ - /* XO_PMIC_CDC_MCLK enable for tapan codec */ - qcom,mode = <1>; /* Digital output */ - qcom,output-type = <0>; /* CMOS logic */ - qcom,pull = <5>; /* QPNP_PIN_PULL_NO*/ - qcom,vin-sel = <3>; /* QPNP_PIN_VIN3 */ - qcom,out-strength = <3>;/* QPNP_PIN_OUT_STRENGTH_HIGH */ - qcom,src-sel = <2>; /* QPNP_PIN_SEL_FUNC_1 */ - qcom,master-en = <1>; /* Enable GPIO */ - }; - - gpio@c100 { /* GPIO 2 */ - qcom,mode = <1>; - qcom,output-type = <0>; - qcom,pull = <5>; - qcom,vin-sel = <3>; - qcom,out-strength = <3>; - qcom,src-sel = <2>; - qcom,master-en = <1>; - }; - - gpio@c200 { /* GPIO 3 */ - }; - - gpio@c300 { /* GPIO 4 */ - }; - - gpio@c400 { /* GPIO 5 */ - }; - - gpio@c500 { /* GPIO 6 */ - }; - - gpio@c600 { /* GPIO 7 */ - }; - - gpio@c700 { /* GPIO 8 */ - }; -}; - -&pm8226_mpps { - mpp@a000 { /* MPP 1 */ - }; - - mpp@a100 { /* MPP 2 */ - }; - - mpp@a200 { /* MPP 3 */ - }; - - mpp@a300 { /* MPP 4 */ - }; - - mpp@a400 { /* MPP 5 */ - /* PA_THERM0 config */ - qcom,mode = <4>; /* AIN input */ - qcom,invert = <1>; /* Enable MPP */ - qcom,ain-route = <0>; /* AMUX 5 */ - qcom,master-en = <1>; - qcom,src-sel = <0>; /* Function constant */ - }; - - mpp@a500 { /* MPP 6 */ - }; - - mpp@a600 { /* MPP 7 */ - }; - - mpp@a700 { /* MPP 8 */ - /* PA_THERM1 config */ - qcom,mode = <4>; /* AIN input */ - qcom,invert = <1>; /* Enable MPP */ - qcom,ain-route = <3>; /* AMUX 8 */ - qcom,master-en = <1>; - qcom,src-sel = <0>; /* Function constant */ - }; -}; - -&pm8226_vadc { - chan@14 { - label = "pa_therm0"; - reg = <0x14>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@17 { - label = "pa_therm1"; - reg = <0x17>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; -}; - -&pm8226_bms { - status = "ok"; -}; - -&pm8226_chg { - qcom,charging-disabled; -}; - -&usb_otg_sw { - status = "okay"; -}; - -&slim_msm { - tapan_codec { - qcom,cdc-micbias1-ext-cap; - }; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/msm8226-pm.dtsi b/kernel/arch/arm/boot/dts/lte_module-v1/msm8226-pm.dtsi deleted file mode 100755 index 3240efb75..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/msm8226-pm.dtsi +++ /dev/null @@ -1,389 +0,0 @@ -/* Copyright (c) 2013 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. - */ - -/include/ "skeleton.dtsi" - -&soc { - qcom,spm@f9089000 { - compatible = "qcom,spm-v2"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xf9089000 0x1000>; - qcom,core-id = <0>; - qcom,saw2-ver-reg = <0xfd0>; - qcom,saw2-cfg = <0x01>; - qcom,saw2-spm-dly= <0x3c102800>; - qcom,saw2-spm-ctl = <0x0>; - qcom,saw2-spm-cmd-wfi = [60 03 60 0b 0f]; - qcom,saw2-spm-cmd-spc = [00 20 10 80 30 90 5b 60 03 60 3b 76 76 - 0b 94 5b 80 10 06 26 30 0f]; - qcom,saw2-spm-cmd-pc = [00 20 10 80 30 90 5b 60 07 60 3b 76 76 - 0b 94 5b 80 10 06 26 30 0f]; - }; - - qcom,spm@f9099000 { - compatible = "qcom,spm-v2"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xf9099000 0x1000>; - qcom,core-id = <1>; - qcom,saw2-ver-reg = <0xfd0>; - qcom,saw2-cfg = <0x01>; - qcom,saw2-spm-dly= <0x3c102800>; - qcom,saw2-spm-ctl = <0x0>; - qcom,saw2-spm-cmd-wfi = [60 03 60 0b 0f]; - qcom,saw2-spm-cmd-spc = [00 20 10 80 30 90 5b 60 03 60 3b 76 76 - 0b 94 5b 80 10 06 26 30 0f]; - qcom,saw2-spm-cmd-pc = [00 20 10 80 30 90 5b 60 07 60 3b 76 76 - 0b 94 5b 80 10 06 26 30 0f]; - }; - - qcom,spm@f90a9000 { - compatible = "qcom,spm-v2"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xf90a9000 0x1000>; - qcom,core-id = <2>; - qcom,saw2-ver-reg = <0xfd0>; - qcom,saw2-cfg = <0x01>; - qcom,saw2-spm-dly= <0x3c102800>; - qcom,saw2-spm-ctl = <0x0>; - qcom,saw2-spm-cmd-wfi = [60 03 60 0b 0f]; - qcom,saw2-spm-cmd-spc = [00 20 10 80 30 90 5b 60 03 60 3b 76 76 - 0b 94 5b 80 10 06 26 30 0f]; - qcom,saw2-spm-cmd-pc = [00 20 10 80 30 90 5b 60 07 60 3b 76 76 - 0b 94 5b 80 10 06 26 30 0f]; - }; - - qcom,spm@f90b9000 { - compatible = "qcom,spm-v2"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xf90b9000 0x1000>; - qcom,core-id = <3>; - qcom,saw2-ver-reg = <0xfd0>; - qcom,saw2-cfg = <0x01>; - qcom,saw2-spm-dly= <0x3c102800>; - qcom,saw2-spm-ctl = <0x0>; - qcom,saw2-spm-cmd-wfi = [60 03 60 0b 0f]; - qcom,saw2-spm-cmd-spc = [00 20 10 80 30 90 5b 60 03 60 3b 76 76 - 0b 94 5b 80 10 06 26 30 0f]; - qcom,saw2-spm-cmd-pc = [00 20 10 80 30 90 5b 60 07 60 3b 76 76 - 0b 94 5b 80 10 06 26 30 0f]; - }; - - qcom,spm@f9012000 { - compatible = "qcom,spm-v2"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xf9012000 0x1000>; - qcom,core-id = <0xffff>; /* L2/APCS SAW */ - qcom,saw2-ver-reg = <0xfd0>; - qcom,saw2-cfg = <0x14>; - qcom,saw2-spm-dly= <0x3c102800>; - qcom,saw2-spm-ctl = <0x0>; - qcom,saw2-pmic-data0 = <0x02030080>; - qcom,saw2-pmic-data1 = <0x00030000>; - qcom,vctl-timeout-us = <50>; - qcom,vctl-port = <0x0>; - qcom,phase-port = <0x1>; - qcom,pfm-port = <0x2>; - qcom,saw2-spm-cmd-ret = [00 03 00 7b 0f]; - qcom,saw2-spm-cmd-pc = [00 32 b0 10 e0 d0 6b c0 42 f0 - 11 07 01 b0 4e c0 d0 12 e0 6b 50 02 32 - 50 f0 7b 0f]; /*APCS_PMIC_OFF_L2RAM_OFF*/ - }; - - qcom,lpm-resources { - compatible = "qcom,lpm-resources"; - #address-cells = <1>; - #size-cells = <0>; - - qcom,lpm-resources@0 { - reg = <0x0>; - qcom,name = "vdd-dig"; - qcom,type = <0x61706d73>; /* "smpa" */ - qcom,id = <0x01>; - qcom,key = <0x6e726f63>; /* "corn" */ - qcom,init-value = <3>; /* SVS SOC */ - }; - - qcom,lpm-resources@1 { - reg = <0x1>; - qcom,name = "vdd-mem"; - qcom,type = <0x616F646C>; /* "ldoa" */ - qcom,id = <0x03>; - qcom,key = <0x6e726f63>; /* "corn" */ - qcom,init-value = <3>; /* SVS SOC */ - }; - - qcom,lpm-resources@2 { - reg = <0x2>; - qcom,name = "pxo"; - qcom,type = <0x306b6c63>; /* "clk0" */ - qcom,id = <0x00>; - qcom,key = <0x62616e45>; /* "Enab" */ - qcom,init-value = "xo_on"; - }; - - qcom,lpm-resources@3 { - reg = <0x3>; - qcom,name = "l2"; - qcom,local-resource-type; - qcom,init-value = "l2_cache_retention"; - }; - }; - - qcom,lpm-levels { - compatible = "qcom,lpm-levels"; - #address-cells = <1>; - #size-cells = <0>; - - qcom,lpm-level@0 { - reg = <0x0>; - qcom,mode = "wfi"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_active"; - qcom,vdd-mem-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <4>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <1>; - qcom,ss-power = <784>; - qcom,energy-overhead = <190000>; - qcom,time-overhead = <100>; - }; - - qcom,lpm-level@1 { - reg = <0x1>; - qcom,mode = "standalone_pc"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_active"; - qcom,vdd-mem-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <4>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <3000>; - qcom,ss-power = <725>; - qcom,energy-overhead = <99500>; - qcom,time-overhead = <3130>; - }; - - qcom,lpm-level@2 { - reg = <0x2>; - qcom,mode = "pc"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_retention"; - qcom,vdd-mem-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <4>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <8000>; - qcom,ss-power = <138>; - qcom,energy-overhead = <1208400>; - qcom,time-overhead = <9200>; - }; - - qcom,lpm-level@3 { - reg = <0x3>; - qcom,mode = "pc"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_pc"; - qcom,vdd-mem-upper-bound = <4>; /* NORMAL */ - qcom,vdd-mem-lower-bound = <3>; /* SVS SOC */ - qcom,vdd-dig-upper-bound = <4>; /* NORMAL */ - qcom,vdd-dig-lower-bound = <3>; /* SVS SOC */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <9000>; - qcom,ss-power = <110>; - qcom,energy-overhead = <1250300>; - qcom,time-overhead = <9500>; - }; - - qcom,lpm-level@4 { - reg = <0x4>; - qcom,mode = "pc"; - qcom,xo = "xo_off"; - qcom,l2 = "l2_cache_pc"; - qcom,vdd-mem-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <4>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,latency-us = <16300>; - qcom,ss-power = <63>; - qcom,energy-overhead = <2128000>; - qcom,time-overhead = <24200>; - }; - - qcom,lpm-level@5 { - reg = <0x5>; - qcom,mode = "pc"; - qcom,xo = "xo_off"; - qcom,l2 = "l2_cache_pc"; - qcom,vdd-mem-upper-bound = <4>; /* NORMAL */ - qcom,vdd-mem-lower-bound = <3>; /* SVS SOC */ - qcom,vdd-dig-upper-bound = <4>; /* NORMAL */ - qcom,vdd-dig-lower-bound = <3>; /* SVS SOC */ - qcom,latency-us = <24000>; - qcom,ss-power = <10>; - qcom,energy-overhead = <3202600>; - qcom,time-overhead = <33000>; - }; - - qcom,lpm-level@6 { - reg = <0x6>; - qcom,mode = "pc"; - qcom,xo = "xo_off"; - qcom,l2 = "l2_cache_pc"; - qcom,vdd-mem-upper-bound = <3>; /* SVS SOC */ - qcom,vdd-mem-lower-bound = <1>; /* RETENTION */ - qcom,vdd-dig-upper-bound = <3>; /* SVS SOC */ - qcom,vdd-dig-lower-bound = <1>; /* RETENTION */ - qcom,latency-us = <26000>; - qcom,ss-power = <2>; - qcom,energy-overhead = <4252000>; - qcom,time-overhead = <38000>; - }; - }; - - qcom,pm-boot { - compatible = "qcom,pm-boot"; - qcom,mode = "tz"; - }; - - qcom,mpm@fc4281d0 { - compatible = "qcom,mpm-v2"; - reg = <0xfc4281d0 0x1000>, /* MSM_RPM_MPM_BASE 4K */ - <0xf9011008 0x4>; /* MSM_APCS_GCC_BASE 4K */ - reg-names = "vmpm", "ipc"; - interrupts = <0 171 1>; - - qcom,ipc-bit-offset = <1>; - - qcom,gic-parent = <&intc>; - qcom,gic-map = <47 172>, /* usb2_hsic_async_wakeup_irq */ - <53 104>, /* mdss_irq */ - <62 222>, /* ee0_krait_hlos_spmi_periph_irq */ - <2 216>, /* tsens_upper_lower_int */ - <0xff 56>, /* q6_wdog_expired_irq */ - <0xff 57>, /* mss_to_apps_irq(0) */ - <0xff 58>, /* mss_to_apps_irq(1) */ - <0xff 59>, /* mss_to_apps_irq(2) */ - <0xff 60>, /* mss_to_apps_irq(3) */ - <0xff 61>, /* mss_a2_bam_irq */ - <0xff 173>, /* o_wcss_apss_smd_hi */ - <0xff 174>, /* o_wcss_apss_smd_med */ - <0xff 175>, /* o_wcss_apss_smd_low */ - <0xff 176>, /* o_wcss_apss_smsm_irq */ - <0xff 177>, /* o_wcss_apss_wlan_data_xfer_done */ - <0xff 178>, /* o_wcss_apss_wlan_rx_data_avail */ - <0xff 179>, /* o_wcss_apss_asic_intr - <0xff 181>, /* o_wcss_apss_wdog_bite_and_reset_rdy */ - <0xff 188>, /* lpass_irq_out_apcs(0) */ - <0xff 189>, /* lpass_irq_out_apcs(1) */ - <0xff 190>, /* lpass_irq_out_apcs(2) */ - <0xff 191>, /* lpass_irq_out_apcs(3) */ - <0xff 192>, /* lpass_irq_out_apcs(4) */ - <0xff 194>, /* lpass_irq_out_apcs[6] */ - <0xff 195>, /* lpass_irq_out_apcs[7] */ - <0xff 196>, /* lpass_irq_out_apcs[8] */ - <0xff 200>, /* rpm_ipc(4) */ - <0xff 201>, /* rpm_ipc(5) */ - <0xff 202>, /* rpm_ipc(6) */ - <0xff 203>, /* rpm_ipc(7) */ - <0xff 204>, /* rpm_ipc(24) */ - <0xff 205>, /* rpm_ipc(25) */ - <0xff 206>, /* rpm_ipc(26) */ - <0xff 207>, /* rpm_ipc(27) */ - <0xff 258>, /* rpm_ipc(28) */ - <0xff 259>, /* rpm_ipc(29) */ - <0xff 275>, /* rpm_ipc(30) */ - <0xff 276>, /* rpm_ipc(31) */ - <0xff 269>, /* rpm_wdog_expired_irq */ - <0xff 240>; /* summary_irq_kpss */ - - qcom,gpio-parent = <&msmgpio>; - qcom,gpio-map = <3 1>, - <4 4 >, - <5 5 >, - <6 9 >, - <7 13>, - <8 17>, - <9 21>, - <10 27>, - <11 29>, - <12 31>, - <13 33>, - <14 35>, - <15 37>, - <16 38>, - <17 39>, - <18 41>, - <19 46>, - <20 48>, - <21 49>, - <22 50>, - <23 51>, - <24 52>, - <25 54>, - <26 62>, - <27 63>, - <28 64>, - <29 65>, - <30 66>, - <31 67>, - <32 68>, - <33 69>, - <34 71>, - <35 72>, - <36 106>, - <37 107>, - <38 108>, - <39 109>, - <40 110>, - <54 111>, - <55 113>; - }; - - qcom,pm-8x60@fe805664 { - compatible = "qcom,pm-8x60"; - reg = <0xfe805664 0x40>; - qcom,pc-mode = "tz_l2_int"; - qcom,use-sync-timer; - qcom,pc-resets-timer; - }; - - qcom,rpm-log@fc19dc00 { - compatible = "qcom,rpm-log"; - reg = <0xfc19dc00 0x4000>; - qcom,rpm-addr-phys = <0xfc000000>; - qcom,offset-version = <4>; - qcom,offset-page-buffer-addr = <36>; - qcom,offset-log-len = <40>; - qcom,offset-log-len-mask = <44>; - qcom,offset-page-indices = <56>; - }; - - qcom,rpm-stats@fc19dba0 { - compatible = "qcom,rpm-stats"; - reg = <0xfc19dba0 0x1000>; - reg-names = "phys_addr_base"; - qcom,sleep-stats-version = <2>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/msm8226-qrd.dtsi b/kernel/arch/arm/boot/dts/lte_module-v1/msm8226-qrd.dtsi deleted file mode 100755 index fc9d9f9b9..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/msm8226-qrd.dtsi +++ /dev/null @@ -1,406 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/include/ "dsi-panel-nt35590-720p-video.dtsi" -/include/ "msm8226-camera-sensor-qrd.dtsi" - -&soc { - serial@f991f000 { - status = "ok"; - }; - - qcom,mdss_dsi_nt35590_720p_video { - status = "ok"; - }; - - i2c@f9927000 { /* BLSP1 QUP5 */ - synaptics@20 { - compatible = "synaptics,rmi4"; - reg = <0x20>; - interrupt-parent = <&msmgpio>; - interrupts = <17 0x2008>; - vdd-supply = <&pm8226_l19>; - vcc_i2c-supply = <&pm8226_lvs1>; - synaptics,reset-gpio = <&msmgpio 16 0x00>; - synaptics,irq-gpio = <&msmgpio 17 0x2008>; - synaptics,button-map = <139 102 158>; - synaptics,i2c-pull-up; - }; - }; - - gpio_keys { - compatible = "gpio-keys"; - input-name = "gpio-keys"; - - camera_focus { - label = "camera_focus"; - gpios = <&msmgpio 108 0x1>; - linux,input-type = <1>; - linux,code = <0x210>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - - camera_snapshot { - label = "camera_snapshot"; - gpios = <&msmgpio 107 0x1>; - linux,input-type = <1>; - linux,code = <0x2fe>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - - vol_up { - label = "volume_up"; - gpios = <&msmgpio 106 0x1>; - linux,input-type = <1>; - linux,code = <115>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - }; - - spi@f9923000 { - ethernet-switch@3 { - compatible = "micrel,ks8851"; - reg = <3>; - interrupt-parent = <&msmgpio>; - interrupts = <0 115 0>; - spi-max-frequency = <4800000>; - rst-gpio = <&msmgpio 114 0>; - vdd-io-supply = <&pm8226_lvs1>; - vdd-phy-supply = <&pm8226_lvs1>; - }; - }; - - sound { - qcom,audio-routing = - "RX_BIAS", "MCLK", - "LDO_H", "MCLK", - "SPK_OUT", "MCLK", - "SPK_OUT", "EXT_VDD_SPKR", - "AMIC1", "MIC BIAS1 External", - "MIC BIAS1 External", "Handset Mic", - "AMIC2", "MIC BIAS2 External", - "MIC BIAS2 External", "Headset Mic", - "AMIC3", "MIC BIAS1 External", - "MIC BIAS1 External", "ANCRight Headset Mic", - "AMIC4", "MIC BIAS2 External", - "MIC BIAS2 External", "ANCLeft Headset Mic"; - - qcom,cdc-mclk-gpios = <&pm8226_gpios 1 0>; - qcom,cdc-vdd-spkr-gpios = <&pm8226_gpios 2 0>; - qcom,cdc-us-euro-gpios = <&msmgpio 69 0>; - }; -}; - -&sdcc1 { - vdd-supply = <&pm8226_l17>; - qcom,vdd-always-on; - qcom,vdd-lpm-sup; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <800 500000>; - - vdd-io-supply = <&pm8226_l6>; - qcom,vdd-io-always-on; - qcom,vdd-io-voltage-level = <1800000 1800000>; - qcom,vdd-io-current-level = <250 154000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - qcom,sup-voltages = <2950 2950>; - - qcom,bus-speed-mode = "HS200_1p8v", "DDR_1p8v"; - qcom,nonremovable; - - status = "disabled"; -}; - -&sdhc_1 { - vdd-supply = <&pm8226_l17>; - qcom,vdd-always-on; - qcom,vdd-lpm-sup; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <800 500000>; - - vdd-io-supply = <&pm8226_l6>; - qcom,vdd-io-always-on; - qcom,vdd-io-voltage-level = <1800000 1800000>; - qcom,vdd-io-current-level = <250 154000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - qcom,bus-speed-mode = "HS200_1p8v", "DDR_1p8v"; - qcom,nonremovable; - - status = "ok"; -}; - -&sdcc2 { - vdd-supply = <&pm8226_l18>; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <9000 800000>; - - vdd-io-supply = <&pm8226_l21>; - qcom,vdd-io-always-on; - qcom,vdd-io-lpm-sup; - qcom,vdd-io-voltage-level = <1800000 2950000>; - qcom,vdd-io-current-level = <6 22000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - qcom,sup-voltages = <2950 2950>; - - qcom,xpc; - qcom,bus-speed-mode = "SDR12", "SDR25", "SDR50", "DDR50", "SDR104"; - qcom,current-limit = <600>; - - #address-cells = <0>; - interrupt-parent = <&sdcc2>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 125 0 - 1 &intc 0 220 0 - 2 &msmgpio 38 0x3>; - interrupt-names = "core_irq", "bam_irq", "status_irq"; - cd-gpios = <&msmgpio 38 0x1>; - - status = "disabled"; -}; - -&sdhc_2 { - vdd-supply = <&pm8226_l18>; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <9000 800000>; - - vdd-io-supply = <&pm8226_l21>; - qcom,vdd-io-always-on; - qcom,vdd-io-lpm-sup; - qcom,vdd-io-voltage-level = <1800000 2950000>; - qcom,vdd-io-current-level = <6 22000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - - #address-cells = <0>; - interrupt-parent = <&sdhc_2>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 125 0 - 1 &intc 0 221 0 - 2 &msmgpio 38 0x3>; - interrupt-names = "hc_irq", "pwr_irq", "status_irq"; - cd-gpios = <&msmgpio 38 0x1>; - - status = "ok"; -}; - -&spmi_bus { - qcom,pm8226@0 { - qcom,leds@a100 { - status = "okay"; - qcom,led_mpp_2 { - label = "mpp"; - linux,name = "button-backlight"; - linux,default-trigger = "none"; - qcom,default-state = "off"; - qcom,max-current = <40>; - qcom,current-setting = <5>; - qcom,id = <6>; - qcom,mode = "manual"; - qcom,source-sel = <1>; - qcom,mode-ctrl = <0x60>; - }; - }; - - qcom,leds@a300 { - status = "okay"; - qcom,led_mpp_4 { - label = "mpp"; - linux,name = "green"; - linux,default-trigger = "none"; - qcom,default-state = "off"; - qcom,max-current = <40>; - qcom,current-setting = <5>; - qcom,id = <6>; - qcom,mode = "pwm"; - qcom,pwm-us = <1000>; - qcom,source-sel = <8>; - qcom,mode-ctrl = <0x60>; - qcom,pwm-channel = <0>; - qcom,start-idx = <1>; - qcom,duty-pcts = [00 00 00 00 64 - 64 00 00 00 00]; - qcom,use-blink; - }; - }; - - qcom,leds@a500 { - status = "okay"; - qcom,led_mpp_6 { - label = "mpp"; - linux,name = "red"; - linux,default-trigger = "none"; - qcom,default-state = "off"; - qcom,max-current = <40>; - qcom,current-setting = <5>; - qcom,id = <6>; - qcom,mode = "pwm"; - qcom,pwm-us = <1000>; - qcom,mode-ctrl = <0x60>; - qcom,source-sel = <10>; - qcom,pwm-channel = <5>; - qcom,start-idx = <1>; - qcom,duty-pcts = [00 00 00 00 64 - 64 00 00 00 00]; - qcom,use-blink; - }; - }; - }; - - qcom,pm8226@1 { - qcom,leds@d300 { - status = "okay"; - }; - - qcom,leds@d800 { - status = "okay"; - qcom,wled_0 { - label = "wled"; - linux,name = "wled:backlight"; - linux,default-trigger = "bkl-trigger"; - qcom,cs-out-en; - qcom,op-fdbck = <1>; - qcom,default-state = "on"; - qcom,max-current = <20>; - qcom,ctrl-delay-us = <0>; - qcom,boost-curr-lim = <3>; - qcom,cp-sel = <0>; - qcom,switch-freq = <2>; - qcom,ovp-val = <0>; - qcom,num-strings = <1>; - qcom,id = <0>; - }; - }; - - qcom,vibrator@c000 { - status = "okay"; - qcom,vib-timeout-ms = <15000>; - qcom,vib-vtg-level-mV = <3100>; - }; - - }; -}; - -&pm8226_bms { - status = "okay"; - qcom,batt-type = <4>; - qcom,max-voltage-uv = <4350000>; -}; - -&pm8226_chg { - status = "okay"; - qcom,chg-vddmax-mv = <4350>; - qcom,chg-vddsafe-mv = <4350>; -}; - -&pm8226_gpios { - gpio@c000 { /* GPIO 1 */ - /* XO_PMIC_CDC_MCLK enable for tapan codec */ - qcom,mode = <1>; /* Digital output */ - qcom,output-type = <0>; /* CMOS logic */ - qcom,pull = <5>; /* QPNP_PIN_PULL_NO*/ - qcom,vin-sel = <3>; /* QPNP_PIN_VIN3 */ - qcom,out-strength = <3>;/* QPNP_PIN_OUT_STRENGTH_HIGH */ - qcom,src-sel = <2>; /* QPNP_PIN_SEL_FUNC_1 */ - qcom,master-en = <1>; /* Enable GPIO */ - }; - - gpio@c100 { /* GPIO 2 */ - qcom,mode = <1>; - qcom,output-type = <0>; - qcom,pull = <5>; - qcom,vin-sel = <3>; - qcom,out-strength = <3>; - qcom,src-sel = <2>; - qcom,master-en = <1>; - }; - - gpio@c200 { /* GPIO 3 */ - }; - - gpio@c300 { /* GPIO 4 */ - }; - - gpio@c400 { /* GPIO 5 */ - }; - - gpio@c500 { /* GPIO 6 */ - }; - - gpio@c600 { /* GPIO 7 */ - }; - - gpio@c700 { /* GPIO 8 */ - }; -}; - -&pm8226_mpps { - mpp@a000 { /* MPP 1 */ - }; - - mpp@a100 { /* MPP 2 */ - }; - - mpp@a200 { /* MPP 3 */ - }; - - mpp@a300 { /* MPP 4 */ - }; - - mpp@a400 { /* MPP 5 */ - }; - - mpp@a500 { /* MPP 6 */ - }; - - mpp@a600 { /* MPP 7 */ - }; - - mpp@a700 { /* MPP 8 */ - }; -}; - -&slim_msm { - tapan_codec { - qcom,cdc-micbias1-ext-cap; - }; - -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/msm8226-regulator.dtsi b/kernel/arch/arm/boot/dts/lte_module-v1/msm8226-regulator.dtsi deleted file mode 100755 index 3254d17c8..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/msm8226-regulator.dtsi +++ /dev/null @@ -1,460 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/* SPM controlled regulators: */ - -&spmi_bus { - qcom,pm8226@1 { - pm8226_s2: spm-regulator@1700 { - compatible = "qcom,spm-regulator"; - regulator-name = "8226_s2"; - reg = <0x1700 0x100>; - regulator-min-microvolt = <900000>; - regulator-max-microvolt = <1275000>; - }; - }; -}; - -/* CPR controlled regulator */ - -&soc { - apc_vreg_corner: regulator@f9018000 { - status = "okay"; - compatible = "qcom,cpr-regulator"; - reg = <0xf9018000 0x1000>, <0xf9011064 4>, <0xfc4b80b0 8>, - <0xfc4bc450 16>; - reg-names = "rbcpr", "rbcpr_clk", "pvs_efuse", "cpr_efuse"; - interrupts = <0 15 0>; - regulator-name = "apc_corner"; - regulator-min-microvolt = <1>; - regulator-max-microvolt = <3>; - qcom,num-efuse-bits = <5>; - qcom,pvs-bin-process = <0 0 0 0 0 1 1 1 1 1 2 2 2 2 2 2 - 2 2 2 2 3 3 3 3 3 3 3 3 0 0 0 0>; - qcom,pvs-corner-ceiling-slow = <1155000 1160000 1275000>; - qcom,pvs-corner-ceiling-nom = <975000 1075000 1200000>; - qcom,pvs-corner-ceiling-fast = <900000 1000000 1140000>; - vdd-apc-supply = <&pm8226_s2>; - - vdd-mx-supply = <&pm8226_l3_ao>; - qcom,vdd-mx-vmax = <1350000>; - qcom,vdd-mx-vmin-method = <1>; - - qcom,cpr-ref-clk = <19200>; - qcom,cpr-timer-delay = <5000>; - qcom,cpr-timer-cons-up = <1>; - qcom,cpr-timer-cons-down = <2>; - qcom,cpr-irq-line = <0>; - qcom,cpr-step-quotient = <15>; - qcom,cpr-up-threshold = <1>; - qcom,cpr-down-threshold = <2>; - qcom,cpr-idle-clocks = <5>; - qcom,cpr-gcnt-time = <1>; - qcom,vdd-apc-step-up-limit = <1>; - qcom,vdd-apc-step-down-limit = <1>; - qcom,cpr-apc-volt-step = <5000>; - }; -}; - -/* RPM controlled regulators: */ - -&rpm_bus { - rpm-regulator-smpa1 { - status = "okay"; - pm8226_s1: regulator-s1 { - regulator-min-microvolt = <500000>; - regulator-max-microvolt = <1275000>; - status = "okay"; - }; - pm8226_s1_corner: regulator-s1-corner { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_s1_corner"; - qcom,set = <3>; - regulator-min-microvolt = <1>; - regulator-max-microvolt = <7>; - qcom,use-voltage-corner; - qcom,consumer-supplies = "vdd_dig", ""; - }; - pm8226_s1_corner_ao: regulator-s1-corner-ao { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_s1_corner_ao"; - qcom,set = <1>; - regulator-min-microvolt = <1>; - regulator-max-microvolt = <7>; - qcom,use-voltage-corner; - qcom,consumer-supplies = "vdd_sr2_dig", ""; - }; - }; - - rpm-regulator-smpa3 { - status = "okay"; - pm8226_s3: regulator-s3 { - regulator-min-microvolt = <1200000>; - regulator-max-microvolt = <1300000>; - qcom,init-voltage = <1200000>; - status = "okay"; - }; - }; - - rpm-regulator-smpa4 { - status = "okay"; - pm8226_s4: regulator-s4 { - regulator-min-microvolt = <2100000>; - regulator-max-microvolt = <2100000>; - qcom,init-voltage = <2100000>; - status = "okay"; - }; - }; - - rpm-regulator-smpa5 { - status = "okay"; - pm8226_s5: regulator-s5 { - regulator-min-microvolt = <1150000>; - regulator-max-microvolt = <1150000>; - qcom,init-voltage = <1150000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa1 { - status = "okay"; - pm8226_l1: regulator-l1 { - regulator-name = "8226_l1"; - regulator-min-microvolt = <1225000>; - regulator-max-microvolt = <1225000>; - qcom,init-voltage = <1225000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa2 { - status = "okay"; - pm8226_l2: regulator-l2 { - regulator-min-microvolt = <1200000>; - regulator-max-microvolt = <1200000>; - qcom,init-voltage = <1200000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa3 { - status = "okay"; - pm8226_l3: regulator-l3 { - regulator-name = "8226_l3"; - regulator-min-microvolt = <750000>; - regulator-max-microvolt = <1275000>; - status = "okay"; - }; - pm8226_l3_ao: regulator-3-ao { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l3_ao"; - qcom,set = <1>; - regulator-min-microvolt = <750000>; - regulator-max-microvolt = <1275000>; - status = "okay"; - }; - pm8226_l3_so: regulator-l3-so { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l3_so"; - qcom,set = <2>; - regulator-min-microvolt = <750000>; - regulator-max-microvolt = <1275000>; - qcom,init-voltage = <750000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa4 { - status = "okay"; - pm8226_l4: regulator-l4 { - regulator-name = "8226_l4"; - regulator-min-microvolt = <1200000>; - regulator-max-microvolt = <1200000>; - qcom,init-voltage = <1200000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa5 { - status = "okay"; - pm8226_l5: regulator-l5 { - regulator-name = "8226_l5"; - regulator-min-microvolt = <1200000>; - regulator-max-microvolt = <1200000>; - qcom,init-voltage = <1200000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa6 { - status = "okay"; - pm8226_l6: regulator-l6 { - regulator-name = "8226_l6"; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa7 { - status = "okay"; - pm8226_l7: regulator-l7 { - regulator-name = "8226_l7"; - regulator-min-microvolt = <1850000>; - regulator-max-microvolt = <1850000>; - qcom,init-voltage = <1850000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa8 { - status = "okay"; - pm8226_l8: regulator-l8 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - status = "okay"; - }; - - pm8226_l8_ao: regulator-l8-ao { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l8_ao"; - qcom,set = <1>; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - qcom,consumer-supplies = "vdd_sr2_pll", ""; - }; - - pm8226_l8_so: regulator-l8-so { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l8_so"; - qcom,set = <2>; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - qcom,init-enable = <0>; - }; - }; - - rpm-regulator-ldoa9 { - status = "okay"; - pm8226_l9: regulator-l9 { - regulator-name = "8226_l9"; - regulator-min-microvolt = <2050000>; - regulator-max-microvolt = <2050000>; - qcom,init-voltage = <2050000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa10 { - status = "okay"; - pm8226_l10: regulator-l10 { - regulator-name = "8226_l10"; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa12 { - status = "okay"; - pm8226_l12: regulator-l12 { - regulator-name = "8226_l12"; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa14 { - status = "okay"; - pm8226_l14: regulator-l14 { - regulator-name = "8226_l14"; - regulator-min-microvolt = <2750000>; - regulator-max-microvolt = <2750000>; - qcom,init-voltage = <2750000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa15 { - status = "okay"; - pm8226_l15: regulator-l15 { - regulator-name = "8226_l15"; - regulator-min-microvolt = <2800000>; - regulator-max-microvolt = <2800000>; - qcom,init-voltage = <2800000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa16 { - status = "okay"; - pm8226_l16: regulator-l16 { - regulator-name = "8226_l16"; - regulator-min-microvolt = <3000000>; - regulator-max-microvolt = <3300000>; - qcom,init-voltage = <3300000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa17 { - status = "okay"; - pm8226_l17: regulator-l17 { - regulator-min-microvolt = <2950000>; - regulator-max-microvolt = <2950000>; - qcom,init-voltage = <2950000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa18 { - status = "okay"; - pm8226_l18: regulator-l18 { - regulator-name = "8226_l18"; - regulator-min-microvolt = <2950000>; - regulator-max-microvolt = <2950000>; - qcom,init-voltage = <2950000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa19 { - status = "okay"; - pm8226_l19: regulator-l19 { - regulator-name = "8226_l19"; - regulator-min-microvolt = <2850000>; - regulator-max-microvolt = <2850000>; - qcom,init-voltage = <2850000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa20 { - status = "okay"; - pm8226_l20: regulator-l20 { - regulator-name = "8226_l20"; - regulator-min-microvolt = <3075000>; - regulator-max-microvolt = <3075000>; - qcom,init-voltage = <3075000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa21 { - status = "okay"; - pm8226_l21: regulator-l21 { - regulator-name = "8226_l21"; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <2950000>; - qcom,init-voltage = <2950000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa22 { - status = "okay"; - pm8226_l22: regulator-l22 { - regulator-name = "8226_l22"; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <2950000>; - qcom,init-voltage = <2950000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa23 { - status = "okay"; - pm8226_l23: regulator-l23 { - regulator-name = "8226_l23"; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <2950000>; - qcom,init-voltage = <2950000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa24 { - status = "okay"; - pm8226_l24: regulator-l24 { - regulator-name = "8226_l24"; - regulator-min-microvolt = <1300000>; - regulator-max-microvolt = <1300000>; - qcom,init-voltage = <1300000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa26 { - status = "okay"; - pm8226_l26: regulator-l26 { - regulator-name = "8226_l26"; - regulator-min-microvolt = <1225000>; - regulator-max-microvolt = <1225000>; - qcom,init-voltage = <1225000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa27 { - status = "okay"; - pm8226_l27: regulator-l27 { - regulator-name = "8226_l27"; - regulator-min-microvolt = <2050000>; - regulator-max-microvolt = <2050000>; - qcom,init-voltage = <2050000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa28 { - status = "okay"; - pm8226_l28: regulator-l28 { - regulator-name = "8226_l28"; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <2950000>; - qcom,init-voltage = <2950000>; - status = "okay"; - }; - }; - - rpm-regulator-vsa1 { - status = "okay"; - pm8226_lvs1: regulator-lvs1 { - status = "okay"; - }; - }; -}; - -&pm8226_chg_boost { - regulator-min-microvolt = <5000000>; - regulator-max-microvolt = <5000000>; - regulator-name = "8226_smbbp_boost"; -}; - -&soc { - usb_otg_sw: regulator-ncp380 { - compatible = "regulator-fixed"; - regulator-name = "usb_otg_sw"; - gpio = <&msmgpio 67 0>; - parent-supply = <&pm8226_chg_boost>; - startup-delay-us = <4000>; - enable-active-high; - status = "disabled"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/msm8226-sim.dts b/kernel/arch/arm/boot/dts/lte_module-v1/msm8226-sim.dts deleted file mode 100755 index 240564632..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/msm8226-sim.dts +++ /dev/null @@ -1,135 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/dts-v1/; -/include/ "msm8226.dtsi" -/include/ "msm8226-camera.dtsi" - -/ { - model = "Qualcomm MSM 8226 Simulator"; - compatible = "qcom,msm8226-sim", "qcom,msm8226", "qcom,sim"; - qcom,msm-id = <145 16 0>, - <158 16 0>, - <159 16 0>, - <198 16 0>; -}; - -&soc { - serial@f991f000 { - status = "ok"; - }; -}; - -&sdcc1 { - qcom,vdd-always-on; - qcom,vdd-lpm-sup; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <800 500000>; - - qcom,vdd-io-always-on; - qcom,vdd-io-voltage-level = <1800000 1800000>; - qcom,vdd-io-current-level = <250 154000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - vdd-supply = <&pm8226_l17>; - vdd-io-supply = <&pm8226_l6>; - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - qcom,sup-voltages = <2950 2950>; - - qcom,bus-speed-mode = "HS200_1p8v", "DDR_1p8v"; - qcom,nonremovable; - status = "ok"; -}; - -&sdcc2 { - vdd-supply = <&pm8226_l18>; - vdd-io-supply = <&pm8226_l21>; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <9000 800000>; - - qcom,vdd-io-always-on; - qcom,vdd-io-lpm-sup; - qcom,vdd-io-voltage-level = <1800000 2950000>; - qcom,vdd-io-current-level = <6 22000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - qcom,sup-voltages = <2950 2950>; - - qcom,xpc; - qcom,bus-speed-mode = "SDR12", "SDR25", "SDR50", "DDR50", "SDR104"; - qcom,current-limit = <800>; - - status = "ok"; -}; - -&pm8226_gpios { - gpio@c000 { /* GPIO 1 */ - }; - - gpio@c100 { /* GPIO 2 */ - }; - - gpio@c200 { /* GPIO 3 */ - }; - - gpio@c300 { /* GPIO 4 */ - }; - - gpio@c400 { /* GPIO 5 */ - }; - - gpio@c500 { /* GPIO 6 */ - }; - - gpio@c600 { /* GPIO 7 */ - }; - - gpio@c700 { /* GPIO 8 */ - }; -}; - -&pm8226_mpps { - mpp@a000 { /* MPP 1 */ - }; - - mpp@a100 { /* MPP 2 */ - }; - - mpp@a200 { /* MPP 3 */ - }; - - mpp@a300 { /* MPP 4 */ - }; - - mpp@a400 { /* MPP 5 */ - }; - - mpp@a500 { /* MPP 6 */ - }; - - mpp@a600 { /* MPP 7 */ - }; - - mpp@a700 { /* MPP 8 */ - }; -}; - - diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/msm8226-smp2p.dtsi b/kernel/arch/arm/boot/dts/lte_module-v1/msm8226-smp2p.dtsi deleted file mode 100755 index 3921a686a..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/msm8226-smp2p.dtsi +++ /dev/null @@ -1,225 +0,0 @@ -/* Copyright (c) 2013, 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. - */ -&soc { - qcom,smp2p-modem { - compatible = "qcom,smp2p"; - reg = <0xf9011008 0x4>; - qcom,remote-pid = <1>; - qcom,irq-bitmask = <0x4000>; - interrupts = <0 27 1>; - }; - - qcom,smp2p-adsp { - compatible = "qcom,smp2p"; - reg = <0xf9011008 0x4>; - qcom,remote-pid = <2>; - qcom,irq-bitmask = <0x400>; - interrupts = <0 158 1>; - }; - - qcom,smp2p-wcnss { - compatible = "qcom,smp2p"; - reg = <0xf9011008 0x4>; - qcom,remote-pid = <4>; - qcom,irq-bitmask = <0x40000>; - interrupts = <0 143 1>; - }; - - smp2pgpio_smp2p_7_in: qcom,smp2pgpio-smp2p-7-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <7>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_7_in { - compatible = "qcom,smp2pgpio_test_smp2p_7_in"; - gpios = <&smp2pgpio_smp2p_7_in 0 0>; - }; - - smp2pgpio_smp2p_7_out: qcom,smp2pgpio-smp2p-7-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <7>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_7_out { - compatible = "qcom,smp2pgpio_test_smp2p_7_out"; - gpios = <&smp2pgpio_smp2p_7_out 0 0>; - }; - - smp2pgpio_smp2p_1_in: qcom,smp2pgpio-smp2p-1-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <1>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_1_in { - compatible = "qcom,smp2pgpio_test_smp2p_1_in"; - gpios = <&smp2pgpio_smp2p_1_in 0 0>; - }; - - smp2pgpio_smp2p_1_out: qcom,smp2pgpio-smp2p-1-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <1>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_1_out { - compatible = "qcom,smp2pgpio_test_smp2p_1_out"; - gpios = <&smp2pgpio_smp2p_1_out 0 0>; - }; - - smp2pgpio_ssr_smp2p_1_in: qcom,smp2pgpio-ssr-smp2p-1-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "slave-kernel"; - qcom,remote-pid = <1>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - smp2pgpio_ssr_smp2p_1_out: qcom,smp2pgpio-ssr-smp2p-1-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "master-kernel"; - qcom,remote-pid = <1>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - smp2pgpio_smp2p_2_in: qcom,smp2pgpio-smp2p-2-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <2>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_2_in { - compatible = "qcom,smp2pgpio_test_smp2p_2_in"; - gpios = <&smp2pgpio_smp2p_2_in 0 0>; - }; - - smp2pgpio_smp2p_2_out: qcom,smp2pgpio-smp2p-2-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <2>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_2_out { - compatible = "qcom,smp2pgpio_test_smp2p_2_out"; - gpios = <&smp2pgpio_smp2p_2_out 0 0>; - }; - - /* SMP2P SSR Driver for inbound entry from lpass. */ - smp2pgpio_ssr_smp2p_2_in: qcom,smp2pgpio-ssr-smp2p-2-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "slave-kernel"; - qcom,remote-pid = <2>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - /* SMP2P SSR Driver for outbound entry to lpass */ - smp2pgpio_ssr_smp2p_2_out: qcom,smp2pgpio-ssr-smp2p-2-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "master-kernel"; - qcom,remote-pid = <2>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - smp2pgpio_smp2p_4_in: qcom,smp2pgpio-smp2p-4-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <4>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_4_in { - compatible = "qcom,smp2pgpio_test_smp2p_4_in"; - gpios = <&smp2pgpio_smp2p_4_in 0 0>; - }; - - smp2pgpio_smp2p_4_out: qcom,smp2pgpio-smp2p-4-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <4>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - smp2pgpio_ssr_smp2p_4_in: qcom,smp2pgpio-ssr-smp2p-4-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "slave-kernel"; - qcom,remote-pid = <4>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - smp2pgpio_ssr_smp2p_4_out: qcom,smp2pgpio-ssr-smp2p-4-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "master-kernel"; - qcom,remote-pid = <4>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_4_out { - compatible = "qcom,smp2pgpio_test_smp2p_4_out"; - gpios = <&smp2pgpio_smp2p_4_out 0 0>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/msm8226-v1-cdp.dts b/kernel/arch/arm/boot/dts/lte_module-v1/msm8226-v1-cdp.dts deleted file mode 100755 index 9c49840d9..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/msm8226-v1-cdp.dts +++ /dev/null @@ -1,25 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; -/include/ "msm8226-v1.dtsi" -/include/ "msm8226-cdp.dtsi" - -/ { - model = "Qualcomm MSM 8226 CDP"; - compatible = "qcom,msm8226-cdp", "qcom,msm8226", "qcom,cdp"; - qcom,msm-id = <145 1 0>, - <158 1 0>, - <159 1 0>, - <198 1 0>, - <205 1 0>; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/msm8226-v1-mtp.dts b/kernel/arch/arm/boot/dts/lte_module-v1/msm8226-v1-mtp.dts deleted file mode 100755 index b1d46b1c4..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/msm8226-v1-mtp.dts +++ /dev/null @@ -1,25 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; -/include/ "msm8226-v1.dtsi" -/include/ "msm8226-mtp.dtsi" - -/ { - model = "Qualcomm MSM 8226 MTP"; - compatible = "qcom,msm8226-mtp", "qcom,msm8226", "qcom,mtp"; - qcom,msm-id = <145 8 0>, - <158 8 0>, - <159 8 0>, - <198 8 0>, - <205 8 0>; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/msm8226-v1-qrd.dts b/kernel/arch/arm/boot/dts/lte_module-v1/msm8226-v1-qrd.dts deleted file mode 100755 index d2aabac0c..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/msm8226-v1-qrd.dts +++ /dev/null @@ -1,25 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; -/include/ "msm8226-v1.dtsi" -/include/ "msm8226-qrd.dtsi" - -/ { - model = "Qualcomm MSM 8226 QRD"; - compatible = "qcom,msm8226-qrd", "qcom,msm8226", "qcom,qrd"; - qcom,msm-id = <145 11 0>, - <158 11 0>, - <159 11 0>, - <198 11 0>, - <205 11 0>; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/msm8226-v1.dtsi b/kernel/arch/arm/boot/dts/lte_module-v1/msm8226-v1.dtsi deleted file mode 100755 index d471bece9..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/msm8226-v1.dtsi +++ /dev/null @@ -1,19 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/* - * As a general rule, only version-specific property overrides should be placed - * inside this file. However, device definitions should be placed inside the - * msm8226.dtsi file. - */ - -/include/ "msm8226.dtsi" diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/msm8226-v2-cdp.dts b/kernel/arch/arm/boot/dts/lte_module-v1/msm8226-v2-cdp.dts deleted file mode 100755 index 2b18491d9..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/msm8226-v2-cdp.dts +++ /dev/null @@ -1,25 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; -/include/ "msm8226-v2.dtsi" -/include/ "msm8226-cdp.dtsi" - -/ { - model = "Qualcomm MSM 8226v2 CDP"; - compatible = "qcom,msm8226-cdp", "qcom,msm8226", "qcom,cdp"; - qcom,msm-id = <145 1 0x20000>, - <158 1 0x20000>, - <159 1 0x20000>, - <198 1 0x20000>, - <205 1 0x20000>; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/msm8226-v2-mtp.dts b/kernel/arch/arm/boot/dts/lte_module-v1/msm8226-v2-mtp.dts deleted file mode 100755 index f15dd4cb9..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/msm8226-v2-mtp.dts +++ /dev/null @@ -1,25 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; -/include/ "msm8226-v2.dtsi" -/include/ "msm8226-mtp.dtsi" - -/ { - model = "Qualcomm MSM 8226v2 MTP"; - compatible = "qcom,msm8226-mtp", "qcom,msm8226", "qcom,mtp"; - qcom,msm-id = <145 8 0x20000>, - <158 8 0x20000>, - <159 8 0x20000>, - <198 8 0x20000>, - <205 8 0x20000>; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/msm8226-v2-qrd.dts b/kernel/arch/arm/boot/dts/lte_module-v1/msm8226-v2-qrd.dts deleted file mode 100755 index 1a89d7894..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/msm8226-v2-qrd.dts +++ /dev/null @@ -1,25 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; -/include/ "msm8226-v2.dtsi" -/include/ "msm8226-qrd.dtsi" - -/ { - model = "Qualcomm MSM 8226v2 QRD"; - compatible = "qcom,msm8226-qrd", "qcom,msm8226", "qcom,qrd"; - qcom,msm-id = <145 11 0x20000>, - <158 11 0x20000>, - <159 11 0x20000>, - <198 11 0x20000>, - <205 11 0x20000>; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/msm8226-v2.dtsi b/kernel/arch/arm/boot/dts/lte_module-v1/msm8226-v2.dtsi deleted file mode 100755 index d471bece9..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/msm8226-v2.dtsi +++ /dev/null @@ -1,19 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/* - * As a general rule, only version-specific property overrides should be placed - * inside this file. However, device definitions should be placed inside the - * msm8226.dtsi file. - */ - -/include/ "msm8226.dtsi" diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/msm8226.dtsi b/kernel/arch/arm/boot/dts/lte_module-v1/msm8226.dtsi deleted file mode 100755 index 7c981043c..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/msm8226.dtsi +++ /dev/null @@ -1,1248 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/include/ "skeleton.dtsi" - -/ { - model = "Qualcomm MSM 8226"; - compatible = "qcom,msm8226"; - interrupt-parent = <&intc>; - - aliases { - spi0 = &spi_0; - sdhc1 = &sdhc_1; /* SDC1 eMMC slot */ - sdhc2 = &sdhc_2; /* SDC2 SD card slot */ - }; - - memory { - secure_mem: secure_region { - linux,contiguous-region; - reg = <0 0x6D00000>; - label = "secure_mem"; - }; - - qsecom_mem: qsecom_region { - linux,contiguous-region; - reg = <0 0x780000>; - label = "qsecom_mem"; - }; - }; - - soc: soc { }; -}; - -/include/ "msm8226-ion.dtsi" -/include/ "msm8226-camera.dtsi" -/include/ "msm-gdsc.dtsi" -/include/ "msm8226-iommu.dtsi" -/include/ "msm8226-pm.dtsi" -/include/ "msm8226-smp2p.dtsi" -/include/ "msm8226-gpu.dtsi" -/include/ "msm8226-bus.dtsi" -/include/ "msm8226-mdss.dtsi" -/include/ "msm8226-coresight.dtsi" -/include/ "msm8226-iommu-domains.dtsi" - -&soc { - #address-cells = <1>; - #size-cells = <1>; - ranges; - - intc: interrupt-controller@f9000000 { - compatible = "qcom,msm-qgic2"; - interrupt-controller; - #interrupt-cells = <3>; - reg = <0xF9000000 0x1000>, - <0xF9002000 0x1000>; - }; - - msmgpio: gpio@fd510000 { - compatible = "qcom,msm-gpio"; - interrupt-controller; - #interrupt-cells = <2>; - reg = <0xfd510000 0x4000>; - gpio-controller; - #gpio-cells = <2>; - ngpio = <117>; - interrupts = <0 208 0>; - qcom,direct-connect-irqs = <8>; - }; - - qcom,mpm2-sleep-counter@fc4a3000 { - compatible = "qcom,mpm2-sleep-counter"; - reg = <0xfc4a3000 0x1000>; - clock-frequency = <32768>; - }; - - timer { - compatible = "arm,armv7-timer"; - interrupts = <1 2 0 1 3 0>; - clock-frequency = <19200000>; - }; - - 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 8 0x4>, - <0 7 0x4>; - reg = <0xf9021000 0x1000>, - <0xf9022000 0x1000>; - }; - - frame@f9023000 { - frame-number = <1>; - interrupts = <0 9 0x4>; - reg = <0xf9023000 0x1000>; - status = "disabled"; - }; - - frame@f9024000 { - frame-number = <2>; - interrupts = <0 10 0x4>; - reg = <0xf9024000 0x1000>; - status = "disabled"; - }; - - frame@f9025000 { - frame-number = <3>; - interrupts = <0 11 0x4>; - reg = <0xf9025000 0x1000>; - status = "disabled"; - }; - - frame@f9026000 { - frame-number = <4>; - interrupts = <0 12 0x4>; - reg = <0xf9026000 0x1000>; - status = "disabled"; - }; - - frame@f9027000 { - frame-number = <5>; - interrupts = <0 13 0x4>; - reg = <0xf9027000 0x1000>; - status = "disabled"; - }; - - frame@f9028000 { - frame-number = <6>; - interrupts = <0 14 0x4>; - reg = <0xf9028000 0x1000>; - status = "disabled"; - }; - }; - - qcom,vidc@fdc00000 { - compatible = "qcom,msm-vidc"; - reg = <0xfdc00000 0xff000>; - interrupts = <0 44 0>; - qcom,load-freq-tbl = <352800 160000000>, - <244800 133330000>, - <108000 66700000>; - qcom,hfi = "venus"; - qcom,bus-ports = <1>; - qcom,reg-presets = <0xE0024 0x0>, - <0x80124 0x3>, - <0xE0020 0x5555556>, - <0x800B0 0x10101001>, - <0x800B4 0x00101010>, - <0x800C0 0x1010100f>, - <0x800C4 0x00101010>, - <0x800D0 0x00000010>, - <0x800D4 0x00000010>, - <0x800D8 0x00000707>; - qcom,enc-ddr-ab-ib = <0 0>, - <129000 142000>, - <384000 422000>, - <866000 953000>; - qcom,dec-ddr-ab-ib = <0 0>, - <103000 134000>, - <268000 348000>, - <505000 657000>; - qcom,iommu-groups = <&venus_domain_ns &venus_domain_cp>; - qcom,iommu-group-buffer-types = <0xfff 0x1ff>; - qcom,buffer-type-tz-usage-table = <0x1 0x1>, - <0x1fe 0x2>; - qcom,max-hw-load = <352800>; /* 720p @ 30 + 1080p @ 30 */ - }; - - qcom,wfd { - compatible = "qcom,msm-wfd"; - }; - - serial@f991f000 { - compatible = "qcom,msm-lsuart-v14"; - reg = <0xf991f000 0x1000>; - interrupts = <0 109 0>; - status = "disabled"; - }; - - serial@f995e000 { - compatible = "qcom,msm-lsuart-v14"; - reg = <0xf995e000 0x1000>; - interrupts = <0 114 0>; - status = "disabled"; - }; - - qcom,msm-imem@fe805000 { - compatible = "qcom,msm-imem"; - reg = <0xfe805000 0x1000>; /* Address and size of IMEM */ - }; - - qcom,sps@f9984000 { - compatible = "qcom,msm_sps"; - reg = <0xf9984000 0x15000>, - <0xf9999000 0xb000>; - interrupts = <0 94 0>; - }; - - qcom,usbbam@f9a44000 { - compatible = "qcom,usb-bam-msm"; - reg = <0xf9a44000 0x11000>; - reg-names = "hsusb"; - interrupts = <0 135 0>; - interrupt-names = "hsusb"; - qcom,usb-bam-num-pipes = <16>; - qcom,usb-bam-fifo-baseaddr = <0xfe803000>; - qcom,ignore-core-reset-ack; - qcom,disable-clk-gating; - - qcom,pipe0 { - label = "hsusb-qdss-in-0"; - qcom,usb-bam-mem-type = <3>; - qcom,bam-type = <1>; - 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 = <0xf9a44000>; - qcom,dst-bam-pipe-index = <2>; - qcom,data-fifo-offset = <0x0>; - qcom,data-fifo-size = <0x600>; - qcom,descriptor-fifo-offset = <0x600>; - qcom,descriptor-fifo-size = <0x200>; - }; - }; - - usb_otg: usb@f9a55000 { - compatible = "qcom,hsusb-otg"; - reg = <0xf9a55000 0x400>; - interrupts = <0 134 0>, <0 140 0>; - interrupt-names = "core_irq", "async_irq"; - hsusb_vdd_dig-supply = <&pm8226_s1_corner>; - HSUSB_1p8-supply = <&pm8226_l10>; - HSUSB_3p3-supply = <&pm8226_l20>; - qcom,vdd-voltage-level = <1 5 7>; - - qcom,hsusb-otg-phy-init-seq = - <0x44 0x80 0x68 0x81 0x24 0x82 0x13 0x83 0xffffffff>; - qcom,hsusb-otg-phy-type = <2>; - qcom,hsusb-otg-mode = <1>; - qcom,hsusb-otg-otg-control = <2>; - qcom,hsusb-otg-disable-reset; - qcom,dp-manual-pullup; - - qcom,msm-bus,name = "usb"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <87 512 0 0>, - <87 512 60000 960000>; - }; - - android_usb@fe8050c8 { - compatible = "qcom,android-usb"; - reg = <0xfe8050c8 0xc8>; - qcom,android-usb-cdrom; - qcom,android-usb-swfi-latency = <1>; - }; - - wcd9xxx_intc: wcd9xxx-irq { - compatible = "qcom,wcd9xxx-irq"; - interrupt-controller; - #interrupt-cells = <1>; - interrupt-parent = <&msmgpio>; - interrupts = <68 0>; - interrupt-names = "cdc-int"; - }; - - slim_msm: slim@fe12f000 { - cell-index = <1>; - compatible = "qcom,slim-ngd"; - reg = <0xfe12f000 0x35000>, - <0xfe104000 0x20000>; - reg-names = "slimbus_physical", "slimbus_bam_physical"; - interrupts = <0 163 0>, <0 164 0>; - interrupt-names = "slimbus_irq", "slimbus_bam_irq"; - - tapan_codec { - compatible = "qcom,tapan-slim-pgd"; - elemental-addr = [00 01 E0 00 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>; - qcom,cdc-reset-gpio = <&msmgpio 72 0>; - - cdc-vdd-buck-supply = <&pm8226_s4>; - qcom,cdc-vdd-buck-voltage = <2100000 2100000>; - qcom,cdc-vdd-buck-current = <650000>; - - cdc-vdd-h-supply = <&pm8226_l6>; - qcom,cdc-vdd-h-voltage = <1800000 1800000>; - qcom,cdc-vdd-h-current = <25000>; - - cdc-vdd-px-supply = <&pm8226_l6>; - qcom,cdc-vdd-px-voltage = <1800000 1800000>; - qcom,cdc-vdd-px-current = <25000>; - - cdc-vdd-a-1p2v-supply = <&pm8226_l4>; - qcom,cdc-vdd-a-1p2v-voltage = <1200000 1200000>; - qcom,cdc-vdd-a-1p2v-current = <10000>; - - cdc-vdd-cx-supply = <&pm8226_l4>; - qcom,cdc-vdd-cx-voltage = <1200000 1200000>; - qcom,cdc-vdd-cx-current = <10000>; - - qcom,cdc-static-supplies = "cdc-vdd-buck", - "cdc-vdd-h", - "cdc-vdd-px", - "cdc-vdd-a-1p2v", - "cdc-vdd-cx"; - - qcom,cdc-micbias-ldoh-v = <0x3>; - qcom,cdc-micbias-cfilt1-mv = <1800>; - qcom,cdc-micbias-cfilt2-mv = <2700>; - 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-mclk-clk-rate = <9600000>; - qcom,cdc-slim-ifd = "tapan-slim-ifd"; - qcom,cdc-slim-ifd-elemental-addr = [00 00 E0 00 17 02]; - }; - }; - - qcom,msm-adsp-loader { - compatible = "qcom,adsp-loader"; - qcom,adsp-state = <0>; - }; - - sound { - compatible = "qcom,msm8226-audio-tapan"; - qcom,model = "msm8226-tapan-snd-card"; - qcom,tapan-mclk-clk-freq = <9600000>; - qcom,prim-auxpcm-gpio-clk = <&msmgpio 63 0>; - qcom,prim-auxpcm-gpio-sync = <&msmgpio 64 0>; - qcom,prim-auxpcm-gpio-din = <&msmgpio 65 0>; - qcom,prim-auxpcm-gpio-dout = <&msmgpio 66 0>; - qcom,prim-auxpcm-gpio-set = "prim-gpio-prim"; - }; - - qcom,msm-pcm { - compatible = "qcom,msm-pcm-dsp"; - qcom,msm-pcm-dsp-id = <0>; - }; - - qcom,msm-pcm-routing { - compatible = "qcom,msm-pcm-routing"; - }; - - qcom,msm-pcm-low-latency { - compatible = "qcom,msm-pcm-dsp"; - qcom,msm-pcm-dsp-id = <1>; - qcom,msm-pcm-low-latency; - }; - - qcom,msm-pcm-lpa { - compatible = "qcom,msm-pcm-lpa"; - }; - - qcom,msm-compr-dsp { - compatible = "qcom,msm-compr-dsp"; - }; - - qcom,msm-voip-dsp { - compatible = "qcom,msm-voip-dsp"; - }; - - qcom,msm-pcm-voice { - compatible = "qcom,msm-pcm-voice"; - }; - - qcom,msm-stub-codec { - compatible = "qcom,msm-stub-codec"; - }; - - qcom,msm-dai-fe { - compatible = "qcom,msm-dai-fe"; - }; - - qcom,msm-pcm-afe { - compatible = "qcom,msm-pcm-afe"; - }; - - qcom,msm-dai-q6-hdmi { - compatible = "qcom,msm-dai-q6-hdmi"; - qcom,msm-dai-q6-dev-id = <8>; - }; - - qcom,msm-dai-q6 { - compatible = "qcom,msm-dai-q6"; - qcom,msm-dai-q6-sb-0-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <16384>; - }; - - qcom,msm-dai-q6-sb-0-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <16385>; - }; - - qcom,msm-dai-q6-sb-1-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <16386>; - }; - - qcom,msm-dai-q6-sb-1-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <16387>; - }; - - qcom,msm-dai-q6-sb-3-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <16390>; - }; - - qcom,msm-dai-q6-sb-3-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <16391>; - }; - - qcom,msm-dai-q6-sb-4-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <16392>; - }; - - qcom,msm-dai-q6-sb-4-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <16393>; - }; - - qcom,msm-dai-q6-bt-sco-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <12288>; - }; - - qcom,msm-dai-q6-bt-sco-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <12289>; - }; - - qcom,msm-dai-q6-int-fm-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <12292>; - }; - - qcom,msm-dai-q6-int-fm-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <12293>; - }; - - qcom,msm-dai-q6-be-afe-pcm-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <224>; - }; - - qcom,msm-dai-q6-be-afe-pcm-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <225>; - }; - - qcom,msm-dai-q6-afe-proxy-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <241>; - }; - - qcom,msm-dai-q6-afe-proxy-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <240>; - }; - - qcom,msm-dai-q6-incall-record-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <32771>; - }; - - qcom,msm-dai-q6-incall-record-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <32772>; - }; - - qcom,msm-dai-q6-incall-music-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <32773>; - }; - }; - - qcom,msm-pcm-hostless { - compatible = "qcom,msm-pcm-hostless"; - }; - - qcom,msm-auxpcm { - compatible = "qcom,msm-auxpcm-resource"; - qcom,msm-cpudai-auxpcm-clk = "pcm_clk"; - 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-slot = <1>, <1>; - qcom,msm-cpudai-auxpcm-data = <0>, <0>; - qcom,msm-cpudai-auxpcm-pcm-clk-rate = <2048000>, <2048000>; - - qcom,msm-prim-auxpcm-rx { - qcom,msm-auxpcm-dev-id = <4106>; - compatible = "qcom,msm-auxpcm-dev"; - }; - - qcom,msm-prim-auxpcm-tx { - qcom,msm-auxpcm-dev-id = <4107>; - compatible = "qcom,msm-auxpcm-dev"; - }; - }; - - qcom,wcnss-wlan@fb000000 { - compatible = "qcom,wcnss_wlan"; - reg = <0xfb000000 0x280000>, - <0xf9011008 0x04>; - reg-names = "wcnss_mmio", "wcnss_fiq"; - interrupts = <0 145 0 0 146 0>; - interrupt-names = "wcnss_wlantx_irq", "wcnss_wlanrx_irq"; - - qcom,pronto-vddmx-supply = <&pm8226_l3>; - qcom,pronto-vddcx-supply = <&pm8226_s1>; - qcom,pronto-vddpx-supply = <&pm8226_l6>; - qcom,iris-vddxo-supply = <&pm8226_l10>; - qcom,iris-vddrfa-supply = <&pm8226_l24>; - qcom,iris-vddpa-supply = <&pm8226_l16>; - qcom,iris-vdddig-supply = <&pm8226_l24>; - - gpios = <&msmgpio 40 0>, <&msmgpio 41 0>, <&msmgpio 42 0>, <&msmgpio 43 0>, <&msmgpio 44 0>; - qcom,has-pronto-hw; - qcom,has-autodetect-xo; - }; - - qcom,msm-adsp-sensors { - compatible = "qcom,msm-adsp-sensors"; - qcom,src-id = <11>; - qcom,dst-id = <604>; - qcom,ab = <32505856>; - qcom,ib = <32505856>; - }; - - qcom,wdt@f9017000 { - compatible = "qcom,msm-watchdog"; - reg = <0xf9017000 0x1000>; - interrupts = <0 3 0>, <0 4 0>; - qcom,bark-time = <11000>; - qcom,pet-time = <10000>; - qcom,ipi-ping; - }; - - qcom,smem@fa00000 { - compatible = "qcom,smem"; - reg = <0xfa00000 0x100000>, - <0xf9011000 0x1000>, - <0xfc428000 0x4000>; - reg-names = "smem", "irq-reg-base", "aux-mem1"; - - qcom,smd-modem { - compatible = "qcom,smd"; - qcom,smd-edge = <0>; - qcom,smd-irq-offset = <0x8>; - qcom,smd-irq-bitmask = <0x1000>; - qcom,pil-string = "modem"; - interrupts = <0 25 1>; - }; - - qcom,smsm-modem { - compatible = "qcom,smsm"; - qcom,smsm-edge = <0>; - qcom,smsm-irq-offset = <0x8>; - qcom,smsm-irq-bitmask = <0x2000>; - interrupts = <0 26 1>; - }; - - qcom,smd-adsp { - compatible = "qcom,smd"; - qcom,smd-edge = <1>; - qcom,smd-irq-offset = <0x8>; - qcom,smd-irq-bitmask = <0x100>; - qcom,pil-string = "adsp"; - interrupts = <0 156 1>; - }; - - qcom,smsm-adsp { - compatible = "qcom,smsm"; - qcom,smsm-edge = <1>; - qcom,smsm-irq-offset = <0x8>; - qcom,smsm-irq-bitmask = <0x200>; - interrupts = <0 157 1>; - }; - - qcom,smd-wcnss { - compatible = "qcom,smd"; - qcom,smd-edge = <6>; - qcom,smd-irq-offset = <0x8>; - qcom,smd-irq-bitmask = <0x20000>; - qcom,pil-string = "wcnss"; - interrupts = <0 142 1>; - }; - - qcom,smsm-wcnss { - compatible = "qcom,smsm"; - qcom,smsm-edge = <6>; - qcom,smsm-irq-offset = <0x8>; - qcom,smsm-irq-bitmask = <0x80000>; - interrupts = <0 144 1>; - }; - - qcom,smd-rpm { - compatible = "qcom,smd"; - qcom,smd-edge = <15>; - qcom,smd-irq-offset = <0x8>; - qcom,smd-irq-bitmask = <0x1>; - interrupts = <0 168 1>; - qcom,irq-no-suspend; - }; - }; - - rpm_bus: qcom,rpm-smd { - compatible = "qcom,rpm-smd"; - rpm-channel-name = "rpm_requests"; - rpm-channel-type = <15>; /* SMD_APPS_RPM */ - }; - - qcom,bcl { - compatible = "qcom,bcl"; - }; - - sdcc1: qcom,sdcc@f9824000 { - cell-index = <1>; /* SDC1 eMMC slot */ - compatible = "qcom,msm-sdcc"; - - reg = <0xf9824000 0x800>, - <0xf9824800 0x100>, - <0xf9804000 0x7000>; - reg-names = "core_mem", "dml_mem", "bam_mem"; - interrupts = <0 123 0>, <0 137 0>; - interrupt-names = "core_irq", "bam_irq"; - - qcom,bus-width = <8>; - status = "disabled"; - }; - - sdhc_1: sdhci@f9824900 { - compatible = "qcom,sdhci-msm"; - reg = <0xf9824900 0x11c>, <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>; - status = "disabled"; - }; - - sdcc2: qcom,sdcc@f98a4000 { - cell-index = <2>; /* SDC2 SD card slot */ - compatible = "qcom,msm-sdcc"; - - reg = <0xf98a4000 0x800>, - <0xf98a4800 0x100>, - <0xf9884000 0x7000>; - reg-names = "core_mem", "dml_mem", "bam_mem"; - interrupts = <0 125 0>, <0 220 0>; - interrupt-names = "core_irq", "bam_irq"; - - qcom,bus-width = <4>; - 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"; - - qcom,bus-width = <4>; - status = "disabled"; - }; - - spmi_bus: qcom,spmi@fc4c0000 { - cell-index = <0>; - 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-ee = <0>; - qcom,pmic-arb-channel = <0>; - }; - - i2c@f9926000 { /* BLSP-1 QUP-4 */ - cell-index = <0>; - compatible = "qcom,i2c-qup"; - reg = <0xf9926000 0x1000>; - #address-cells = <1>; - #size-cells = <0>; - reg-names = "qup_phys_addr"; - interrupts = <0 98 0>; - interrupt-names = "qup_err_intr"; - qcom,i2c-bus-freq = <100000>; - }; - - i2c@f9927000 { /* BLSP1 QUP5 */ - cell-index = <5>; - compatible = "qcom,i2c-qup"; - #address-cells = <1>; - #size-cells = <0>; - reg-names = "qup_phys_addr"; - reg = <0xf9927000 0x1000>; - interrupt-names = "qup_err_intr"; - interrupts = <0 99 0>; - qcom,i2c-bus-freq = <384000>; - qcom,i2c-src-freq = <19200000>; - }; - - qcom,acpuclk@f9011050 { - compatible = "qcom,acpuclk-a7"; - reg = <0xf9011050 0x8>; - reg-names = "rcg_base"; - a7_cpu-supply = <&apc_vreg_corner>; - }; - - qcom,ocmem@fdd00000 { - compatible = "qcom,msm-ocmem"; - reg = <0xfdd00000 0x2000>, - <0xfdd02000 0x2000>, - <0xfe039000 0x400>, - <0xfec00000 0x20000>; - 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 = <0x1>; - qcom,ocmem-num-macros = <0x2>; - qcom,resource-type = <0x706d636f>; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0x0 0xfec00000 0x20000>; - - partition@0 { - reg = <0x0 0x20000>; - qcom,ocmem-part-name = "graphics"; - qcom,ocmem-part-min = <0x20000>; - }; - }; - - qcom,venus@fdce0000 { - compatible = "qcom,pil-venus"; - reg = <0xfdce0000 0x4000>, - <0xfdc80000 0x400>; - reg-names = "wrapper_base", "vbif_base"; - vdd-supply = <&gdsc_venus>; - - qcom,firmware-name = "venus"; - }; - - qcom,pronto@fb21b000 { - compatible = "qcom,pil-pronto"; - reg = <0xfb21b000 0x3000>, - <0xfc401700 0x4>, - <0xfd485300 0xc>; - reg-names = "pmu_base", "clk_base", "halt_base"; - interrupts = <0 149 1>; - vdd_pronto_pll-supply = <&pm8226_l8>; - - qcom,firmware-name = "wcnss"; - - /* GPIO inputs from wcnss */ - qcom,gpio-err-fatal = <&smp2pgpio_ssr_smp2p_4_in 0 0>; - qcom,gpio-err-ready = <&smp2pgpio_ssr_smp2p_4_in 1 0>; - qcom,gpio-proxy-unvote = <&smp2pgpio_ssr_smp2p_4_in 2 0>; - - /* GPIO output to wcnss */ - qcom,gpio-force-stop = <&smp2pgpio_ssr_smp2p_4_out 0 0>; - }; - - qcom,iris-fm { - compatible = "qcom,iris_fm"; - }; - - qcom,lpass@fe200000 { - compatible = "qcom,pil-q6v5-lpass"; - reg = <0xfe200000 0x00100>, - <0xfd485100 0x00010>, - <0xfc4016c0 0x00004>; - reg-names = "qdsp6_base", "halt_base", "restart_reg"; - vdd_cx-supply = <&pm8226_s1_corner>; - interrupts = <0 162 1>; - - 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>; - - /* GPIO output to lpass */ - qcom,gpio-force-stop = <&smp2pgpio_ssr_smp2p_2_out 0 0>; - }; - - qcom,mss@fc880000 { - compatible = "qcom,pil-q6v5-mss"; - reg = <0xfc880000 0x100>, - <0xfd485000 0x400>, - <0xfc820000 0x020>, - <0xfc401680 0x004>, - <0xfd485194 0x4>; - reg-names = "qdsp6_base", "halt_base", "rmb_base", - "restart_reg", "cxrail_bhs_reg"; - - interrupts = <0 24 1>; - vdd_cx-supply = <&pm8226_s1_corner>; - vdd_mx-supply = <&pm8226_l3>; - vdd_pll-supply = <&pm8226_l8>; - qcom,vdd_pll = <1800000>; - - qcom,is-loadable; - qcom,firmware-name = "mba"; - qcom,pil-self-auth; - - /* 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>; - }; - - qcom,msm-mem-hole { - compatible = "qcom,msm-mem-hole"; - qcom,memblock-remove = <0x6400000 0x9b00000>; /* Address and Size of Hole */ - }; - - tsens: tsens@fc4a8000 { - compatible = "qcom,msm-tsens"; - reg = <0xfc4a8000 0x2000>, - <0xfc4b8000 0x1000>; - reg-names = "tsens_physical", "tsens_eeprom_physical"; - interrupts = <0 184 0>; - qcom,sensors = <4>; - qcom,slope = <2901 2846 3038 2955>; - qcom,calib-mode = "fuse_map2"; - }; - - qcom,msm-thermal { - compatible = "qcom,msm-thermal"; - qcom,sensor-id = <0>; - qcom,poll-ms = <250>; - qcom,limit-temp = <60>; - qcom,temp-hysteresis = <10>; - qcom,freq-step = <2>; - qcom,freq-control-mask = <0xf>; - }; - - spi_0: 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 0xF000>; - interrupt-names = "spi_irq", "spi_bam_irq"; - interrupts = <0 95 0>, <0 238 0>; - spi-max-frequency = <19200000>; - - gpios = <&msmgpio 3 0>, /* CLK */ - <&msmgpio 1 0>, /* MISO */ - <&msmgpio 0 0>; /* MOSI */ - cs-gpios = <&msmgpio 22 0>; - - qcom,infinite-mode = <0>; - qcom,use-bam; - qcom,ver-reg-exists; - qcom,bam-consumer-pipe-index = <12>; - qcom,bam-producer-pipe-index = <13>; - }; - - qcom,bam_dmux@fc834000 { - compatible = "qcom,bam_dmux"; - reg = <0xfc834000 0x7000>; - interrupts = <0 29 1>; - }; - - qcom,msm-rtb { - compatible = "qcom,msm-rtb"; - qcom,memory-reservation-type = "EBI1"; - qcom,memory-reservation-size = <0x100000>; /* 1M EBI1 buffer */ - }; - - qcom,msm-rng@f9bff000 { - compatible = "qcom,msm-rng"; - reg = <0xf9bff000 0x200>; - qcom,msm-rng-iface-clk; - }; - - qcom,tz-log@fe805720 { - compatible = "qcom,tz-log"; - reg = <0x0fe805720 0x1000>; - }; - - jtag_mm0: jtagmm@fc33c000 { - compatible = "qcom,jtag-mm"; - reg = <0xfc33c000 0x1000>, - <0xfc330000 0x1000>; - reg-names = "etm-base","debug-base"; - }; - - jtag_mm1: jtagmm@fc33d000 { - compatible = "qcom,jtag-mm"; - reg = <0xfc33d000 0x1000>, - <0xfc332000 0x1000>; - reg-names = "etm-base","debug-base"; - }; - - jtag_mm2: jtagmm@fc33e000 { - compatible = "qcom,jtag-mm"; - reg = <0xfc33e000 0x1000>, - <0xfc334000 0x1000>; - reg-names = "etm-base","debug-base"; - }; - - jtag_mm3: jtagmm@fc33f000 { - compatible = "qcom,jtag-mm"; - reg = <0xfc33f000 0x1000>, - <0xfc336000 0x1000>; - reg-names = "etm-base","debug-base"; - }; - - qcom,ipc-spinlock@fd484000 { - compatible = "qcom,ipc-spinlock-sfpb"; - reg = <0xfd484000 0x400>; - qcom,num-locks = <8>; - }; - - qcom,qseecom@d980000 { - compatible = "qcom,qseecom"; - reg = <0xd980000 0x256000>; - reg-names = "secapp-region"; - qcom,disk-encrypt-pipe-pair = <2>; - qcom,hlos-ce-hw-instance = <0>; - qcom,qsee-ce-hw-instance = <0>; - qcom,msm-bus,name = "qseecom-noc"; - qcom,msm-bus,num-cases = <4>; - qcom,msm-bus,active-only = <0>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <55 512 0 0>, - <55 512 3936000 393600>, - <55 512 3936000 393600>, - <55 512 3936000 393600>; - }; - - qcom,qcrypto@fd404000 { - compatible = "qcom,qcrypto"; - reg = <0xfd400000 0x20000>, - <0xfd404000 0x8000>; - reg-names = "crypto-base","crypto-bam-base"; - interrupts = <0 207 0>; - qcom,bam-pipe-pair = <2>; - qcom,ce-hw-instance = <0>; - qcom,ce-hw-shared; - qcom,msm-bus,name = "qcrypto-noc"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,active-only = <0>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <55 512 0 0>, - <55 512 3936000 393600>; - }; - - qcom,qcedev@fd400000 { - compatible = "qcom,qcedev"; - reg = <0xfd400000 0x20000>, - <0xfd404000 0x8000>; - reg-names = "crypto-base","crypto-bam-base"; - interrupts = <0 207 0>; - qcom,bam-pipe-pair = <1>; - qcom,ce-hw-instance = <0>; - qcom,ce-hw-shared; - qcom,msm-bus,name = "qcedev-noc"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,active-only = <0>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <55 512 0 0>, - <55 512 3936000 393600>; - }; - - cpu-pmu { - compatible = "arm,cortex-a7-pmu"; - qcom,irq-is-percpu; - interrupts = <1 7 0xf00>; - }; -}; - -&gdsc_venus { - qcom,clock-names = "core_clk"; - status = "ok"; -}; - -&gdsc_mdss { - qcom,clock-names = "core_clk", "lut_clk"; - status = "ok"; -}; - -&gdsc_jpeg { - qcom,clock-names = "core_clk"; - status = "ok"; -}; - -&gdsc_vfe { - qcom,clock-names = "core_clk", "csi_clk", "cpp_clk"; - status = "ok"; -}; - -&gdsc_oxili_cx { - qcom,clock-names = "core_clk"; - status = "ok"; -}; - -&gdsc_usb_hsic { - status = "ok"; -}; - -/include/ "msm-pm8226-rpm-regulator.dtsi" -/include/ "msm-pm8226.dtsi" -/include/ "msm8226-regulator.dtsi" - -&pm8226_vadc { - chan@0 { - label = "usb_in"; - reg = <0>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <4>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@2 { - label = "vchg_sns"; - reg = <2>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <3>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@5 { - label = "vcoin"; - reg = <5>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <1>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@6 { - label = "vbat_sns"; - reg = <6>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <1>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@7 { - label = "vph_pwr"; - reg = <7>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <1>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@30 { - label = "batt_therm"; - reg = <0x30>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <1>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@31 { - label = "batt_id"; - reg = <0x31>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@b2 { - label = "xo_therm_pu2"; - reg = <0xb2>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <4>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@39 { - label = "usb_id_nopull"; - reg = <0x39>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; -}; - -&pm8226_adc_tm { - /* Channel Node */ - chan@30 { - label = "batt_therm"; - reg = <0x30>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <1>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <3>; - qcom,btm-channel-number = <0x48>; - }; - - chan@8 { - label = "die_temp"; - reg = <8>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <3>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <3>; - qcom,btm-channel-number = <0x68>; - }; - - chan@6 { - label = "vbat_sns"; - reg = <6>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <1>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <3>; - qcom,btm-channel-number = <0x70>; - }; - - chan@14 { - label = "pa_therm0"; - reg = <0x14>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - qcom,btm-channel-number = <0x78>; - qcom,thermal-node; - }; - - chan@17 { - label = "pa_therm1"; - reg = <0x17>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - qcom,btm-channel-number = <0x80>; - qcom,thermal-node; - }; -}; - -&pm8226_chg { - status = "ok"; - - qcom,chgr@1000 { - status = "ok"; - }; - - qcom,buck@1100 { - status = "ok"; - }; - - qcom,bat-if@1200 { - status = "ok"; - }; - - qcom,usb-chgpth@1300 { - status = "ok"; - }; - - qcom,boost@1500 { - status = "ok"; - }; - - qcom,chg-misc@1600 { - status = "ok"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/msm8610-bus.dtsi b/kernel/arch/arm/boot/dts/lte_module-v1/msm8610-bus.dtsi deleted file mode 100755 index d9bb6ab20..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/msm8610-bus.dtsi +++ /dev/null @@ -1,1014 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -&soc { - msm-mmss-noc@fc478000 { - compatible = "msm-bus-fabric"; - reg = <0xfc478000 0x00004000>; - cell-id = <2048>; - label = "msm_mmss_noc"; - qcom,fabclk-dual = "bus_clk"; - qcom,fabclk-active = "bus_a_clk"; - qcom,ntieredslaves = <0>; - qcom,qos-freq = <4800>; - qcom,hw-sel = "NoC"; - qcom,rpm-en; - - coresight-id = <52>; - coresight-name = "coresight-mnoc"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_in0>; - coresight-child-ports = <5>; - - mas-mdp-port0 { - cell-id = <22>; - label = "mas-mdp-port0"; - qcom,masterp = <2>; - qcom,tier = <2>; - qcom,hw-sel = "NoC"; - qcom,perm-mode = "Fixed"; - qcom,mode = "Fixed"; - qcom,qport = <0>; - qcom,ws = <10000>; - qcom,mas-hw-id = <8>; - qcom,prio1 = <2>; - qcom,prio0 = <2>; - }; - - mas-vfe { - cell-id = <29>; - label = "mas-vfe"; - qcom,masterp = <3>; - qcom,tier = <2>; - qcom,hw-sel = "NoC"; - qcom,perm-mode = "Bypass"; - qcom,mode = "Bypass"; - qcom,ws = <10000>; - qcom,qport = <2>; - qcom,mas-hw-id = <11>; - qcom,prio1 = <2>; - qcom,prio0 = <2>; - }; - - mas-mdpe { - cell-id = <92>; - label = "mas-mdpe"; - qcom,masterp = <4>; - qcom,tier = <2>; - qcom,hw-sel = "NoC"; - qcom,perm-mode = "Fixed"; - qcom,mode = "Fixed"; - qcom,ws = <10000>; - qcom,qport = <7>; - qcom,mas-hw-id = <11>; - qcom,prio1 = <2>; - qcom,prio0 = <2>; - }; - - fab-bimc { - cell-id = <0>; - label = "fab-bimc"; - qcom,gateway; - qcom,slavep = <16>; - qcom,buswidth = <8>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <16>; - }; - - slv-camera-cfg { - cell-id = <589>; - label = "slv-camera-cfg"; - qcom,slavep = <0>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <3>; - }; - - slv-display-cfg { - cell-id = <590>; - label = "slv-display-cfg"; - qcom,slavep = <1>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <4>; - }; - - slv-cpr-cfg { - cell-id = <592>; - label = "slv-cpr-cfg"; - qcom,slavep = <3>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <6>; - }; - - slv-cpr-xpu-cfg { - cell-id = <593>; - label = "slv-cpr-xpu-cfg"; - qcom,slavep = <4>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <7>; - }; - - slv-misc-cfg { - cell-id = <594>; - label = "slv-misc-cfg"; - qcom,slavep = <6>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <8>; - }; - - slv-misc-xpu-cfg { - cell-id = <595>; - label = "slv-misc-xpu-cfg"; - qcom,slavep = <7>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <9>; - }; - - slv-gfx3d-cfg { - cell-id = <598>; - label = "slv-gfx3d-cfg"; - qcom,slavep = <9>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <11>; - }; - - slv-mmss-clk-cfg { - cell-id = <599>; - label = "slv-mmss-clk-cfg"; - qcom,slavep = <11>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <12>; - }; - - slv-mmss-clk-xpu-cfg { - cell-id = <600>; - label = "slv-mmss-clk-xpu-cfg"; - qcom,slavep = <12>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <13>; - }; - - slv-mnoc-mpu-cfg { - cell-id = <601>; - label = "slv-mnoc-mpu-cfg"; - qcom,slavep = <13>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <14>; - }; - - slv-onoc-mpu-cfg { - cell-id = <602>; - label = "slv-onoc-mpu-cfg"; - qcom,slavep = <14>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <15>; - }; - - slv-service-mnoc { - cell-id = <603>; - label = "slv-service-mnoc"; - qcom,slavep = <18>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <17>; - }; - - slv-dsi-cfg { - cell-id = <649>; - label = "slv-dsi-cfg"; - qcom,slavep = <19>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <19>; - }; - }; - - msm-sys-noc@fc460000 { - compatible = "msm-bus-fabric"; - reg = <0xfc460000 0x00004000>; - cell-id = <1024>; - label = "msm_sys_noc"; - qcom,fabclk-dual = "bus_clk"; - qcom,fabclk-active = "bus_a_clk"; - qcom,ntieredslaves = <0>; - qcom,qos-freq = <4800>; - qcom,hw-sel = "NoC"; - qcom,rpm-en; - - coresight-id = <50>; - coresight-name = "coresight-snoc"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_in0>; - coresight-child-ports = <3>; - - mas-lpass-ahb { - cell-id = <52>; - label = "mas-lpass-ahb"; - qcom,masterp = <0>; - qcom,tier = <2>; - qcom,mas-hw-id = <18>; - }; - - mas-qdss-bam { - cell-id = <53>; - label = "mas-qdss-bam"; - qcom,masterp = <1>; - qcom,tier = <2>; - qcom,mas-hw-id = <19>; - }; - - mas-snoc-cfg { - cell-id = <54>; - label = "mas-snoc-cfg"; - qcom,masterp = <2>; - qcom,tier = <2>; - qcom,mas-hw-id = <20>; - }; - - fab-bimc { - cell-id = <0>; - label= "fab-bimc"; - qcom,gateway; - qcom,slavep = <7>; - qcom,masterp = <3>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <21>; - qcom,slv-hw-id = <24>; - }; - - fab-cnoc { - cell-id = <5120>; - label = "fab-cnoc"; - qcom,gateway; - qcom,slavep = <8>; - qcom,masterp = <4>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <22>; - qcom,slv-hw-id = <25>; - }; - - fab-pnoc { - cell-id = <4096>; - label = "fab-pnoc"; - qcom,gateway; - qcom,slavep = <10>; - qcom,masterp = <10>; - qcom,buswidth = <8>; - qcom,qport = <8>; - qcom,mas-hw-id = <29>; - qcom,slv-hw-id = <28>; - qcom,mode = "Fixed"; - qcom,prio0 = <2>; - qcom,prio1 = <2>; - }; - - fab-ovnoc { - cell-id = <6144>; - label = "fab-ovnoc"; - qcom,gateway; - qcom,buswidth = <8>; - qcom,mas-hw-id = <53>; - qcom,slv-hw-id = <77>; - }; - - mas-crypto-core0 { - cell-id = <55>; - label = "mas-crypto-core0"; - qcom,masterp = <5>; - qcom,tier = <2>; - qcom,mas-hw-id = <23>; - qcom,hw-sel = "NoC"; - qcom,prio0 = <1>; - qcom,prio1 = <1>; - }; - - mas-mss { - cell-id = <38>; - label = "mas-mss"; - qcom,masterp = <7>; - qcom,tier = <2>; - qcom,mas-hw-id = <26>; - }; - - mas-mss-nav { - cell-id = <57>; - label = "mas-mss-nav"; - qcom,masterp = <8>; - qcom,tier = <2>; - qcom,mas-hw-id = <27>; - }; - - mas-ocmem-dma { - cell-id = <58>; - label = "mas-ocmem-dma"; - qcom,masterp = <9>; - qcom,tier = <2>; - qcom,mode = "Fixed"; - qcom,qport = <7>; - qcom,mas-hw-id = <28>; - }; - - mas-wcss { - cell-id = <59>; - label = "mas-wcss"; - qcom,masterp = <11>; - qcom,tier = <2>; - qcom,mas-hw-id = <30>; - }; - - mas-qdss-etr { - cell-id = <60>; - label = "mas-qdss-etr"; - qcom,masterp = <12>; - qcom,tier = <2>; - qcom,qport = <10>; - qcom,mode = "Fixed"; - qcom,mas-hw-id = <31>; - }; - - slv-ocmem { - cell-id = <604>; - label = "slv-gmem"; - qcom,slavep = <15>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <18>; - }; - - slv-ampss { - cell-id = <520>; - label = "slv-ampss"; - qcom,slavep = <1>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <20>; - }; - - slv-lpass { - cell-id = <522>; - label = "slv-lpass"; - qcom,slavep = <2>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <21>; - }; - - slv-wcss { - cell-id = <584>; - label = "slv-wcss"; - qcom,slavep = <6>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <23>; - }; - - slv-ocimem { - cell-id = <585>; - label = "slv-ocimem"; - qcom,slavep = <10>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <26>; - }; - - slv-service-snoc { - cell-id = <587>; - label = "slv-service-snoc"; - qcom,slavep = <11>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <29>; - }; - - slv-qdss-stm { - cell-id = <588>; - label = "slv-qdss-stm"; - qcom,slavep = <12>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <30>; - }; - - }; - - msm-periph-noc@fc468000 { - compatible = "msm-bus-fabric"; - reg = <0xfc468000 0x00004000>; - cell-id = <4096>; - label = "msm_periph_noc"; - qcom,fabclk-dual = "bus_clk"; - qcom,fabclk-active = "bus_a_clk"; - qcom,ntieredslaves = <0>; - qcom,hw-sel = "NoC"; - qcom,rpm-en; - - coresight-id = <54>; - coresight-name = "coresight-pnoc"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_in0>; - coresight-child-ports = <6>; - - mas-pnoc-cfg { - cell-id = <88>; - label = "mas-pnoc-cfg"; - qcom,masterp = <7>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <43>; - }; - - mas-sdcc-1 { - cell-id = <78>; - label = "mas-sdcc-1"; - qcom,masterp = <0>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <33>; - }; - - mas-sdcc-2 { - cell-id = <81>; - label = "mas-sdcc-2"; - qcom,masterp = <2>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <35>; - }; - - mas-blsp-1 { - cell-id = <86>; - label = "mas-blsp-1"; - qcom,masterp = <5>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <41>; - }; - - mas-usb-hs { - cell-id = <87>; - label = "mas-usb-hs"; - qcom,masterp = <6>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <42>; - }; - - fab-snoc { - cell-id = <1024>; - label = "fab-snoc"; - qcom,gateway; - qcom,slavep = <12>; - qcom,masterp = <8>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <45>; - qcom,mas-hw-id = <44>; - }; - - slv-sdcc-1 { - cell-id = <606>; - label = "slv-sdcc-1"; - qcom,slavep = <0>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <31>; - }; - - slv-sdcc-2 { - cell-id = <608>; - label = "slv-sdcc-2"; - qcom,slavep = <2>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <33>; - }; - - slv-blsp-1 { - cell-id = <613>; - label = "slv-blsp-1"; - qcom,slavep = <5>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <39>; - }; - - slv-usb-hs { - cell-id = <614>; - label = "slv-usb-hs"; - qcom,slavep = <6>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <40>; - }; - - slv-pdm { - cell-id = <615>; - label = "slv-pdm"; - qcom,slavep = <7>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <41>; - }; - - slv-periph-apu-cfg { - cell-id = <616>; - label = "slv-periph-apu-cfg"; - qcom,slavep = <8>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <42>; - }; - - slv-pnoc-mpu-cfg { - cell-id = <617>; - label = "slv-pnoc-mpu-cfg"; - qcom,slavep = <9>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <43>; - }; - - slv-prng { - cell-id = <618>; - label = "slv-prng"; - qcom,slavep = <10>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <44>; - }; - - slv-service-pnoc { - cell-id = <619>; - label = "slv-service-pnoc"; - qcom,slavep = <12>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <46>; - }; - - }; - - msm-config-noc@fc480000 { - compatible = "msm-bus-fabric"; - reg = <0xfc480000 0x00004000>; - cell-id = <5120>; - label = "msm_config_noc"; - qcom,fabclk-dual = "bus_clk"; - qcom,fabclk-active = "bus_a_clk"; - qcom,ntieredslaves = <0>; - qcom,hw-sel = "NoC"; - qcom,rpm-en; - - mas-rpm-inst { - cell-id = <72>; - label = "mas-rpm-inst"; - qcom,masterp = <0>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <45>; - }; - - mas-rpm-data { - cell-id = <73>; - label = "mas-rpm-data"; - qcom,masterp = <1>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <46>; - }; - - mas-rpm-sys { - cell-id = <74>; - label = "mas-rpm-sys"; - qcom,masterp = <2>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <47>; - }; - - mas-dehr { - cell-id = <75>; - label = "mas-dehr"; - qcom,masterp = <3>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <48>; - }; - - mas-qdss-dsp { - cell-id = <76>; - label = "mas-qdss-dap"; - qcom,masterp = <4>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <49>; - }; - - mas-spdm { - cell-id = <36>; - label = "mas-spdm"; - qcom,masterp = <5>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <50>; - }; - - mas-tic { - cell-id = <77>; - label = "mas-tic"; - qcom,masterp = <6>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <51>; - }; - - slv-clk-ctl { - cell-id = <620>; - label = "slv-clk-ctl"; - qcom,slavep = <1>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <47>; - }; - - slv-cnoc-mss { - cell-id = <621>; - label = "slv-cnoc-mss"; - qcom,slavep = <2>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <48>; - }; - - slv-security { - cell-id = <622>; - label = "slv-security"; - qcom,slavep = <3>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <49>; - }; - - slv-tcsr { - cell-id = <623>; - label = "slv-tcsr"; - qcom,slavep = <4>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <50>; - }; - - slv-tlmm { - cell-id = <624>; - label = "slv-tlmm"; - qcom,slavep = <5>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <51>; - }; - - slv-crypto-0-cfg { - cell-id = <625>; - label = "slv-crypto-0-cfg"; - qcom,slavep = <6>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <52>; - }; - - slv-imem-cfg { - cell-id = <627>; - label = "slv-imem-cfg"; - qcom,slavep = <7>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <54>; - }; - - slv-message-ram { - cell-id = <628>; - label = "slv-message-ram"; - qcom,slavep = <8>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <55>; - }; - - slv-bimc-cfg { - cell-id = <629>; - label = "slv-bimc-cfg"; - qcom,slavep = <9>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <56>; - }; - - slv-boot-rom { - cell-id = <630>; - label = "slv-boot-rom"; - qcom,slavep = <10>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <57>; - }; - - slv-pmic-arb { - cell-id = <632>; - label = "slv-pmic-arb"; - qcom,slavep = <12>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <59>; - }; - - slv-spdm-wrapper { - cell-id = <633>; - label = "slv-spdm-wrapper"; - qcom,slavep = <13>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <60>; - }; - - slv-dehr-cfg { - cell-id = <634>; - label = "slv-dehr-cfg"; - qcom,slavep = <14>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <61>; - }; - - slv-mpm { - cell-id = <536>; - label = "slv-mpm"; - qcom,slavep = <15>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <62>; - }; - - slv-qdss-cfg { - cell-id = <635>; - label = "slv-qdss-cfg"; - qcom,slavep = <16>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <63>; - }; - - slv-rbcpr-cfg { - cell-id = <636>; - label = "slv-rbcpr-cfg"; - qcom,slavep = <17>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <64>; - }; - - slv-rbcpr-qdss-apu-cfg { - cell-id = <637>; - label = "slv-rbcpr-qdss-apu-cfg"; - qcom,slavep = <18>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <65>; - }; - - fab-snoc { - cell-id = <1024>; - label = "fab-snoc"; - qcom,gateway; - qcom,slavep = <26>; - qcom,masterp = <7>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <52>; - qcom,slv-hw-id = <75>; - }; - - slv-cnoc-mnoc-mmss-cfg { - cell-id = <631>; - label = "slv-cnoc-mnoc-mmss-cfg"; - qcom,slavep = <11>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <58>; - }; - - slv-cnoc-mnoc-cfg { - cell-id = <640>; - label = "slv-cnoc-mnoc-cfg"; - qcom,slavep = <19>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <66>; - }; - - slv-pnoc-cfg { - cell-id = <641>; - label = "slv-pnoc-cfg"; - qcom,slavep = <21>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <69>; - }; - - slv-snoc-mpu-cfg { - cell-id = <638>; - label = "slv-snoc-mpu-cfg"; - qcom,slavep = <20>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <67>; - }; - - slv-snoc-cfg { - cell-id = <642>; - label = "slv-snoc-cfg"; - qcom,slavep = <22>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <70>; - }; - - slv-phy-apu-cfg { - cell-id = <644>; - label = "slv-phy-apu-cfg"; - qcom,slavep = <23>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <72>; - }; - - slv-ebi1-phy-cfg { - cell-id = <645>; - label = "slv-ebi1-phy-cfg"; - qcom,slavep = <24>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <73>; - }; - - slv-rpm { - cell-id = <534>; - label = "slv-rpm"; - qcom,slavep = <25>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <74>; - }; - - slv-service-cnoc { - cell-id = <646>; - label = "slv-service-cnoc"; - qcom,slavep = <27>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <76>; - }; - - }; - - msm-bimc@0xfc380000 { - compatible = "msm-bus-fabric"; - reg = <0xfc380000 0x0006A000>; - cell-id = <0>; - label = "msm_bimc"; - qcom,fabclk-dual = "mem_clk"; - qcom,fabclk-active = "mem_a_clk"; - qcom,ntieredslaves = <0>; - qcom,qos-freq = <4800>; - qcom,hw-sel = "BIMC"; - qcom,rpm-en; - - coresight-id = <55>; - coresight-name = "coresight-bimc"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_in1>; - coresight-child-ports = <3>; - - mas-ampss-m0 { - cell-id = <1>; - label = "mas-ampss-m0"; - qcom,masterp = <0>; - qcom,tier = <2>; - qcom,hw-sel = "BIMC"; - qcom,mode = "Fixed"; - qcom,qport = <0>; - qcom,ws = <10000>; - qcom,mas-hw-id = <0>; - qcom,prio-rd = <1>; - qcom,prio-wr = <1>; - qcom,prio-lvl = <1>; - }; - - mas-mss-proc { - cell-id = <65>; - label = "mas-mss-proc"; - qcom,masterp = <3>; - qcom,tier = <2>; - qcom,hw-sel = "RPM"; - qcom,mas-hw-id = <1>; - }; - - fab-mmss-noc { - cell-id = <2048>; - label = "fab_mmss_noc"; - qcom,masterp = <1>; - qcom,qport = <1>; - qcom,buswidth = <8>; - qcom,ws = <10000>; - qcom,mas-hw-id = <2>; - qcom,hw-sel = "BIMC"; - qcom,mode = "Bypass"; - }; - - fab-snoc { - cell-id = <1024>; - label = "fab-snoc"; - qcom,gateway; - qcom,slavep = <2>; - qcom,masterp = <2>; - qcom,qport = <2>; - qcom,buswidth = <8>; - qcom,ws = <10000>; - qcom,mas-hw-id = <3>; - qcom,slv-hw-id = <2>; - }; - - mas-lpass-proc { - cell-id = <11>; - label = "mas-lpass-proc"; - qcom,masterp = <4>; - qcom,tier = <2>; - qcom,qport = <4>; - qcom,mas-hw-id = <25>; - qcom,mode = "Fixed"; - qcom,prio0 = <1>; - qcom,prio1 = <1>; - }; - - mas-gfx3d { - cell-id = <26>; - label = "mas-gfx3d"; - qcom,masterp = <5>; - qcom,tier = <2>; - qcom,hw-sel = "BIMC"; - qcom,perm-mode = "Fixed"; - qcom,mode = "Fixed"; - qcom,ws = <10000>; - qcom,qport = <5>; - qcom,mas-hw-id = <6>; - }; - - - slv-ebi-ch0 { - cell-id = <512>; - label = "slv-ebi-ch0"; - qcom,slavep = <0>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <0>; - }; - }; - -}; - - diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/msm8610-camera-sensor-cdp-mtp.dtsi b/kernel/arch/arm/boot/dts/lte_module-v1/msm8610-camera-sensor-cdp-mtp.dtsi deleted file mode 100755 index d05726006..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/msm8610-camera-sensor-cdp-mtp.dtsi +++ /dev/null @@ -1,116 +0,0 @@ -/* - * Copyright (c) 2013, 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. - */ - -&i2c { - - led_flash0: qcom,led-flash@60 { - cell-index = <0>; - reg = <0x60>; - qcom,slave-id = <0x60 0x00 0x0011>; - compatible = "qcom,led-flash"; - qcom,flash-name = "adp1600"; - qcom,flash-type = <1>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 18 0>, - <&msmgpio 19 0>; - qcom,gpio-flash-en = <0>; - qcom,gpio-flash-now = <1>; - qcom,gpio-req-tbl-num = <0 1>; - qcom,gpio-req-tbl-flags = <0 0>; - qcom,gpio-req-tbl-label = "FLASH_EN", - "FLASH_NOW"; - }; - - actuator0: qcom,actuator@6e { - cell-index = <3>; - reg = <0x6c>; - compatible = "qcom,actuator"; - qcom,cci-master = <0>; - }; - - qcom,camera@6f { - compatible = "qcom,ov8825"; - reg = <0x6f>; - qcom,slave-id = <0x6c 0x300a 0x8825>; - qcom,csiphy-sd-index = <0>; - qcom,csid-sd-index = <0>; - qcom,actuator-src = <&actuator0>; - qcom,led-flash-src = <&led_flash0>; - qcom,mount-angle = <90>; - qcom,sensor-name = "ov8825"; - cam_vdig-supply = <&pm8110_l2>; - cam_vana-supply = <&pm8110_l19>; - cam_vio-supply = <&pm8110_l14>; - cam_vaf-supply = <&pm8110_l16>; - qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana", - "cam_vaf"; - qcom,cam-vreg-type = <0 0 0 0>; - qcom,cam-vreg-min-voltage = <1200000 1800000 2850000 3000000>; - qcom,cam-vreg-max-voltage = <1200000 1800000 2850000 3000000>; - qcom,cam-vreg-op-mode = <200000 8000 80000 100000>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 13 0>, - <&msmgpio 21 0>, - <&msmgpio 20 0>; - qcom,gpio-reset = <1>; - qcom,gpio-standby = <2>; - qcom,gpio-req-tbl-num = <0 1 2>; - qcom,gpio-req-tbl-flags = <1 0 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1", - "CAM_STANDBY"; - qcom,csi-lane-assign = <0xe4>; - qcom,csi-lane-mask = <0x3>; - qcom,sensor-position = <0>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - }; - - qcom,camera@6d { - compatible = "qcom,ov9724"; - reg = <0x6d>; - qcom,slave-id = <0x20 0x0 0x9724>; - qcom,csiphy-sd-index = <1>; - qcom,csid-sd-index = <0>; - qcom,mount-angle = <90>; - qcom,sensor-name = "ov9724"; - cam_vdig-supply = <&pm8110_l4>; - cam_vana-supply = <&pm8110_l19>; - cam_vio-supply = <&pm8110_l14>; - qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana"; - qcom,cam-vreg-type = <0 1 0>; - qcom,cam-vreg-min-voltage = <1200000 0 2850000>; - qcom,cam-vreg-max-voltage = <1200000 0 2850000>; - qcom,cam-vreg-op-mode = <200000 0 80000>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 14 0>, - <&msmgpio 15 0>, - <&msmgpio 8 0>; - qcom,gpio-reset = <1>; - qcom,gpio-standby = <2>; - qcom,gpio-req-tbl-num = <0 1 2>; - qcom,gpio-req-tbl-flags = <1 0 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET", - "CAM_STANDBY"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 4000>; - qcom,csi-lane-assign = <0xe4>; - qcom,csi-lane-mask = <0x1>; - qcom,sensor-position = <1>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - status = "ok"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/msm8610-camera.dtsi b/kernel/arch/arm/boot/dts/lte_module-v1/msm8610-camera.dtsi deleted file mode 100755 index b1c94dd24..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/msm8610-camera.dtsi +++ /dev/null @@ -1,80 +0,0 @@ -/* - * Copyright (c) 2013, 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. - */ - -&soc{ - qcom,msm-cam@fd8c0000 { - compatible = "qcom,msm-cam"; - reg = <0xfd8C0000 0x10000>; - reg-names = "msm-cam"; - }; - - qcom,csiphy@fda00c00 { - cell-index = <0>; - compatible = "qcom,csiphy"; - reg = <0xfda00c00 0x1f4>; - reg-names = "csiphy"; - interrupts = <0 78 0>; - interrupt-names = "csiphy"; - }; - - qcom,csiphy@fda01000 { - cell-index = <1>; - compatible = "qcom,csiphy"; - reg = <0xfda01000 0x1f4>; - reg-names = "csiphy"; - interrupts = <0 79 0>; - interrupt-names = "csiphy"; - }; - - qcom,csid@fda00000 { - cell-index = <0>; - compatible = "qcom,csid"; - reg = <0xfda00000 0x100>; - reg-names = "csid"; - interrupts = <0 50 0>; - interrupt-names = "csid"; - qcom,csi-vdd-voltage = <1200000>; - qcom,mipi-csi-vdd-supply = <&pm8110_l4>; - }; - - qcom,csid@fda00400 { - cell-index = <1>; - compatible = "qcom,csid"; - reg = <0xfda00400 0x100>; - reg-names = "csid"; - interrupts = <0 51 0>; - interrupt-names = "csid"; - qcom,csi-vdd-voltage = <1200000>; - qcom,mipi-csi-vdd-supply = <&pm8110_l4>; - }; - - qcom,ispif@fda00800 { - cell-index = <0>; - compatible = "qcom,ispif"; - reg = <0xfda00800 0x200>; - reg-names = "ispif"; - interrupts = <0 52 0>; - interrupt-names = "ispif"; - }; - - qcom,vfe@fde00000 { - cell-index = <0>; - compatible = "qcom,vfe32"; - reg = <0xfde00000 0x800>; - reg-names = "vfe", "vfe_vbif"; - interrupts = <0 49 0>; - interrupt-names = "vfe"; - vdd-supply = <&gdsc_vfe>; - }; - -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/msm8610-cdp.dts b/kernel/arch/arm/boot/dts/lte_module-v1/msm8610-cdp.dts deleted file mode 100755 index bbdc2b8df..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/msm8610-cdp.dts +++ /dev/null @@ -1,396 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; - -/include/ "msm8610.dtsi" -/include/ "dsi-v2-panel-truly-wvga-video.dtsi" -/include/ "msm8610-camera-sensor-cdp-mtp.dtsi" - -/ { - model = "Qualcomm MSM 8610 CDP"; - compatible = "qcom,msm8610-cdp", "qcom,msm8610", "qcom,cdp"; - qcom,msm-id = <147 1 0>, <165 1 0>, <161 1 0>, <162 1 0>, - <163 1 0>, <164 1 0>, <166 1 0>; -}; - -&soc { - serial@f991e000 { - status = "ok"; - }; - - i2c@f9923000{ - atmel_mxt_ts@4a { - compatible = "atmel,mxt-ts"; - reg = <0x4a>; - interrupt-parent = <&msmgpio>; - interrupts = <1 0x2>; - vdd_ana-supply = <&pm8110_l19>; - vcc_i2c-supply = <&pm8110_l14>; - atmel,reset-gpio = <&msmgpio 0 0x00>; - atmel,irq-gpio = <&msmgpio 1 0x00>; - atmel,panel-coords = <0 0 508 880>; - atmel,display-coords = <0 0 480 800>; - atmel,i2c-pull-up; - atmel,no-force-update; - atmel,cfg_1 { - atmel,family-id = <0x81>; - atmel,variant-id = <0x15>; - atmel,version = <0x11>; - atmel,build = <0xaa>; - atmel,config = [ - /* Object 6, Instance = 0 */ - 00 00 00 00 00 00 - /* Object 38, Instance = 0 */ - 1D 01 00 0C 04 0D 00 00 - /* Object 7, Instance = 0 */ - 20 08 32 - /* Object 8, Instance = 0 */ - 19 00 14 14 FF 00 FF 00 00 00 - /* Object 9, Instance = 0 */ - 83 00 00 13 0B 00 20 32 01 03 - 00 32 05 30 0A 05 0A 00 70 03 - FC 01 00 36 2F 2C 00 00 40 00 - 00 0A 00 00 02 - /* Object 18, Instance = 0 */ - 00 00 - /* Object 19, Instance = 0 */ - 00 00 00 00 00 00 - /* Object 25, Instance = 0 */ - 03 00 18 79 A8 61 - /* Object 58, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 - /* Object 42, Instance = 0 */ - 00 00 00 00 00 00 00 00 - /* Object 46, Instance = 0 */ - 04 03 08 10 00 00 00 00 00 - /* Object 47, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - /* Object 48, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 - /* Object 55, Instance = 0 */ - 00 00 00 00 - ]; - }; - }; - }; - - gen-vkeys { - compatible = "qcom,gen-vkeys"; - label = "atmel_mxt_ts"; - qcom,disp-maxx = <480>; - qcom,disp-maxy = <800>; - qcom,panel-maxx = <508>; - qcom,panel-maxy = <880>; - qcom,key-codes = <158 102 139>; - qcom,y-offset = <35>; - }; - - gpio_keys { - compatible = "gpio-keys"; - input-name = "gpio-keys"; - - camera_snapshot { - label = "camera_snapshot"; - gpios = <&msmgpio 73 0x1>; - linux,input-type = <1>; - linux,code = <0x2fe>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - - camera_focus { - label = "camera_focus"; - gpios = <&msmgpio 74 0x1>; - linux,input-type = <1>; - linux,code = <0x210>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - - vol_up { - label = "volume_up"; - gpios = <&msmgpio 72 0x1>; - linux,input-type = <1>; - linux,code = <115>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - }; - - sound { - qcom,audio-routing = - "RX_BIAS", "MCLK", - "INT_LDO_H", "MCLK", - "MIC BIAS External", "Handset Mic", - "MIC BIAS Internal2", "Headset Mic", - "AMIC1", "MIC BIAS External", - "AMIC2", "MIC BIAS Internal2"; - }; -}; - -&i2c_cdc { - msm8x10_wcd_codec@0d{ - compatible = "qcom,msm8x10-wcd-i2c"; - reg = <0x0d>; - cdc-vdda-cp-supply = <&pm8110_s4>; - qcom,cdc-vdda-cp-voltage = <2150000 2150000>; - qcom,cdc-vdda-cp-current = <650000>; - - cdc-vdda-h-supply = <&pm8110_l6>; - qcom,cdc-vdda-h-voltage = <1800000 1800000>; - qcom,cdc-vdda-h-current = <250000>; - - cdc-vdd-px-supply = <&pm8110_l6>; - qcom,cdc-vdd-px-voltage = <1800000 1800000>; - qcom,cdc-vdd-px-current = <10000>; - - cdc-vdd-1p2v-supply = <&pm8110_l4>; - qcom,cdc-vdd-1p2v-voltage = <1200000 1200000>; - qcom,cdc-vdd-1p2v-current = <5000>; - - cdc-vdd-mic-bias-supply = <&pm8110_l20>; - qcom,cdc-vdd-mic-bias-voltage = <3075000 3075000>; - qcom,cdc-vdd-mic-bias-current = <25000>; - - qcom,cdc-micbias-cfilt-sel = <0x0>; - qcom,cdc-micbias-cfilt-mv = <1800000>; - qcom,cdc-mclk-clk-rate = <12288000>; - }; - - msm8x10_wcd_codec@77{ - compatible = "qcom,msm8x10-wcd-i2c"; - reg = <0x77>; - }; - - msm8x10_wcd_codec@66{ - compatible = "qcom,msm8x10-wcd-i2c"; - reg = <0x66>; - }; - - msm8x10_wcd_codec@55{ - compatible = "qcom,msm8x10-wcd-i2c"; - reg = <0x55>; - }; -}; - -&spmi_bus { - qcom,pm8110@0 { - qcom,leds@a100 { - status = "okay"; - qcom,led_mpp_2 { - label = "mpp"; - linux,name = "button-backlight"; - linux-default-trigger = "hr-trigger"; - qcom,default-state = "off"; - qcom,max-current = <40>; - qcom,id = <6>; - qcom,source-sel = <1>; - qcom,mode-ctrl = <0x60>; - qcom,mode = "manual"; - }; - }; - - qcom,leds@a200 { - status = "okay"; - qcom,led_mpp_3 { - label = "mpp"; - linux,name = "wled-backlight"; - linux,default-trigger = "bkl-trigger"; - qcom,default-state = "on"; - qcom,max-current = <40>; - qcom,id = <6>; - qcom,source-sel = <1>; - qcom,mode-ctrl = <0x10>; - qcom,mode = "manual"; - }; - }; - }; -}; - -&spmi_bus { - qcom,pm8110@1 { - qcom,vibrator@c000 { - status = "okay"; - qcom,vib-timeout-ms = <15000>; - qcom,vib-vtg-level-mV = <3100>; - }; - }; -}; - -&sdhc_1 { - vdd-supply = <&pm8110_l17>; - qcom,vdd-always-on; - qcom,vdd-lpm-sup; - qcom,vdd-voltage-level = <2900000 2900000>; - qcom,vdd-current-level = <200 400000>; - - vdd-io-supply = <&pm8110_l6>; - qcom,vdd-io-always-on; - qcom,vdd-io-lpm-sup; - qcom,vdd-io-voltage-level = <1800000 1800000>; - qcom,vdd-io-current-level = <200 60000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - qcom,bus-speed-mode = "HS200_1p8v", "DDR_1p8v"; - qcom,nonremovable; - - status = "ok"; -}; - -&sdhc_2 { - vdd-supply = <&pm8110_l18>; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <15000 400000>; - - vdd-io-supply = <&pm8110_l21>; - qcom,vdd-io-voltage-level = <1800000 2950000>; - qcom,vdd-io-current-level = <200 50000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - - #address-cells = <0>; - interrupt-parent = <&sdhc_2>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 125 0 - 1 &intc 0 221 0 - 2 &msmgpio 42 0x3>; - interrupt-names = "hc_irq", "pwr_irq", "status_irq"; - cd-gpios = <&msmgpio 42 0x1>; - - status = "ok"; -}; - -&pm8110_chg { - status = "ok"; - qcom,charging-disabled; - qcom,use-default-batt-values; - - qcom,chgr@1000 { - status = "ok"; - }; - - qcom,buck@1100 { - status = "ok"; - }; - - qcom,usb-chgpth@1300 { - status = "ok"; - }; - - qcom,chg-misc@1600 { - status = "ok"; - }; -}; - -&pm8110_gpios { - gpio@c000 { /* GPIO 1 */ - }; - - gpio@c100 { /* GPIO 2 */ - }; - - gpio@c200 { /* GPIO 3 */ - }; - - gpio@c300 { /* GPIO 4 */ - }; -}; - -&pm8110_mpps { - mpp@a000 { /* MPP 1 */ - }; - - mpp@a100 { /* MPP 2 */ - status = "disabled"; - }; - - mpp@a200 { /* MPP 3 */ - status = "disabled"; - }; - - mpp@a300 { /* MPP 4 */ - /* PA_THERM config */ - qcom,mode = <4>; /* AIN input */ - qcom,invert = <1>; /* Enable MPP */ - qcom,ain-route = <3>; /* AMUX 8 */ - qcom,master-en = <1>; - qcom,src-sel = <0>; /* Function constant */ - }; -}; - -/* CoreSight */ -&tpiu { - qcom,seta-gpios = <&msmgpio 4 0>, - <&msmgpio 5 0>, - <&msmgpio 6 0>, - <&msmgpio 7 0>, - <&msmgpio 22 0>, - <&msmgpio 23 0>, - <&msmgpio 24 0>, - <&msmgpio 25 0>, - <&msmgpio 26 0>, - <&msmgpio 27 0>, - <&msmgpio 28 0>, - <&msmgpio 29 0>, - <&msmgpio 30 0>, - <&msmgpio 31 0>, - <&msmgpio 94 0>, - <&msmgpio 95 0>, - <&msmgpio 96 0>, - <&msmgpio 97 0>; - qcom,seta-gpios-func = <9 9 8 11 2 2 2 2 2 2 3 2 3 3 4 4 4 4>; - qcom,seta-gpios-drv = <7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7>; - qcom,seta-gpios-pull = <0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0>; - qcom,seta-gpios-dir = <2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2>; - - qcom,setb-gpios = <&msmgpio 8 0>, - <&msmgpio 10 0>, - <&msmgpio 11 0>, - <&msmgpio 13 0>, - <&msmgpio 14 0>, - <&msmgpio 15 0>, - <&msmgpio 16 0>, - <&msmgpio 17 0>, - <&msmgpio 18 0>, - <&msmgpio 19 0>, - <&msmgpio 20 0>, - <&msmgpio 21 0>, - <&msmgpio 42 0>, - <&msmgpio 80 0>, - <&msmgpio 81 0>, - <&msmgpio 82 0>, - <&msmgpio 83 0>, - <&msmgpio 84 0>; - qcom,setb-gpios-func = <10 8 8 6 9 9 9 9 9 9 9 9 5 7 7 8 8 8>; - qcom,setb-gpios-drv = <7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7>; - qcom,setb-gpios-pull = <0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0>; - qcom,setb-gpios-dir = <2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2>; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/msm8610-coresight.dtsi b/kernel/arch/arm/boot/dts/lte_module-v1/msm8610-coresight.dtsi deleted file mode 100755 index 516522eb0..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/msm8610-coresight.dtsi +++ /dev/null @@ -1,357 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -&soc { - tmc_etr: tmc@fc326000 { - compatible = "arm,coresight-tmc"; - reg = <0xfc326000 0x1000>, - <0xfc37c000 0x3000>; - reg-names = "tmc-base", "bam-base"; - - qcom,memory-reservation-type = "EBI1"; - qcom,memory-reservation-size = <0x100000>; /* 1M EBI1 buffer */ - - coresight-id = <0>; - coresight-name = "coresight-tmc-etr"; - coresight-nr-inports = <1>; - coresight-ctis = <&cti0 &cti8>; - }; - - tpiu: tpiu@fc320000 { - compatible = "arm,coresight-tpiu"; - reg = <0xfc320000 0x1000>; - reg-names = "tpiu-base"; - - coresight-id = <1>; - coresight-name = "coresight-tpiu"; - coresight-nr-inports = <1>; - - vdd-supply = <&pm8110_l18>; - - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <15000 400000>; - }; - - replicator: replicator@fc324000 { - compatible = "qcom,coresight-replicator"; - reg = <0xfc324000 0x1000>; - reg-names = "replicator-base"; - - coresight-id = <2>; - coresight-name = "coresight-replicator"; - coresight-nr-inports = <1>; - coresight-outports = <0 1>; - coresight-child-list = <&tmc_etr &tpiu>; - coresight-child-ports = <0 0>; - }; - - tmc_etf: tmc@fc325000 { - compatible = "arm,coresight-tmc"; - reg = <0xfc325000 0x1000>; - reg-names = "tmc-base"; - - coresight-id = <3>; - coresight-name = "coresight-tmc-etf"; - coresight-nr-inports = <1>; - coresight-outports = <0>; - coresight-child-list = <&replicator>; - coresight-child-ports = <0>; - coresight-default-sink; - coresight-ctis = <&cti0 &cti8>; - }; - - funnel_merg: funnel@fc323000 { - compatible = "arm,coresight-funnel"; - reg = <0xfc323000 0x1000>; - reg-names = "funnel-base"; - - coresight-id = <4>; - coresight-name = "coresight-funnel-merg"; - coresight-nr-inports = <2>; - coresight-outports = <0>; - coresight-child-list = <&tmc_etf>; - coresight-child-ports = <0>; - }; - - funnel_in0: funnel@fc321000 { - compatible = "arm,coresight-funnel"; - reg = <0xfc321000 0x1000>; - reg-names = "funnel-base"; - - coresight-id = <5>; - coresight-name = "coresight-funnel-in0"; - coresight-nr-inports = <8>; - coresight-outports = <0>; - coresight-child-list = <&funnel_merg>; - coresight-child-ports = <0>; - }; - - funnel_in1: funnel@fc322000 { - compatible = "arm,coresight-funnel"; - reg = <0xfc322000 0x1000>; - reg-names = "funnel-base"; - - coresight-id = <6>; - coresight-name = "coresight-funnel-in1"; - coresight-nr-inports = <8>; - coresight-outports = <0>; - coresight-child-list = <&funnel_merg>; - coresight-child-ports = <1>; - }; - - funnel_a7ss: funnel@fc355000 { - compatible = "arm,coresight-funnel"; - reg = <0xfc355000 0x1000>; - reg-names = "funnel-base"; - - coresight-id = <7>; - coresight-name = "coresight-funnel-a7ss"; - coresight-nr-inports = <4>; - coresight-outports = <0>; - coresight-child-list = <&funnel_in1>; - coresight-child-ports = <6>; - }; - - stm: stm@fc302000 { - compatible = "arm,coresight-stm"; - reg = <0xfc302000 0x1000>, - <0xfa280000 0x180000>; - reg-names = "stm-base", "stm-data-base"; - - coresight-id = <8>; - coresight-name = "coresight-stm"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_in0>; - coresight-child-ports = <7>; - }; - - etm0: etm@fc34c000 { - compatible = "arm,coresight-etm"; - reg = <0xfc34c000 0x1000>; - reg-names = "etm-base"; - - coresight-id = <9>; - coresight-name = "coresight-etm0"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_a7ss>; - coresight-child-ports = <0>; - - qcom,pc-save; - qcom,round-robin; - }; - - etm1: etm@fc34d000 { - compatible = "arm,coresight-etm"; - reg = <0xfc34d000 0x1000>; - reg-names = "etm-base"; - - coresight-id = <10>; - coresight-name = "coresight-etm1"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_a7ss>; - coresight-child-ports = <1>; - - qcom,pc-save; - qcom,round-robin; - }; - - etm2: etm@fc34e000 { - compatible = "arm,coresight-etm"; - reg = <0xfc34e000 0x1000>; - reg-names = "etm-base"; - - coresight-id = <11>; - coresight-name = "coresight-etm2"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_a7ss>; - coresight-child-ports = <2>; - - qcom,pc-save; - qcom,round-robin; - }; - - etm3: etm@fc34f000 { - compatible = "arm,coresight-etm"; - reg = <0xfc34f000 0x1000>; - reg-names = "etm-base"; - - coresight-id = <12>; - coresight-name = "coresight-etm3"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_a7ss>; - coresight-child-ports = <3>; - - qcom,pc-save; - qcom,round-robin; - }; - - csr: csr@fc301000 { - compatible = "qcom,coresight-csr"; - reg = <0xfc301000 0x1000>; - reg-names = "csr-base"; - - coresight-id = <13>; - coresight-name = "coresight-csr"; - coresight-nr-inports = <0>; - - qcom,blk-size = <1>; - }; - - cti0: cti@fc310000 { - compatible = "arm,coresight-cti"; - reg = <0xfc310000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <14>; - coresight-name = "coresight-cti0"; - coresight-nr-inports = <0>; - }; - - cti1: cti@fc311000 { - compatible = "arm,coresight-cti"; - reg = <0xfc311000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <15>; - coresight-name = "coresight-cti1"; - coresight-nr-inports = <0>; - }; - - cti2: cti@fc312000 { - compatible = "arm,coresight-cti"; - reg = <0xfc312000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <16>; - coresight-name = "coresight-cti2"; - coresight-nr-inports = <0>; - }; - - cti3: cti@fc313000 { - compatible = "arm,coresight-cti"; - reg = <0xfc313000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <17>; - coresight-name = "coresight-cti3"; - coresight-nr-inports = <0>; - }; - - cti4: cti@fc314000 { - compatible = "arm,coresight-cti"; - reg = <0xfc314000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <18>; - coresight-name = "coresight-cti4"; - coresight-nr-inports = <0>; - }; - - cti5: cti@fc315000 { - compatible = "arm,coresight-cti"; - reg = <0xfc315000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <19>; - coresight-name = "coresight-cti5"; - coresight-nr-inports = <0>; - }; - - cti6: cti@fc316000 { - compatible = "arm,coresight-cti"; - reg = <0xfc316000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <20>; - coresight-name = "coresight-cti6"; - coresight-nr-inports = <0>; - }; - - cti7: cti@fc317000 { - compatible = "arm,coresight-cti"; - reg = <0xfc317000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <21>; - coresight-name = "coresight-cti7"; - coresight-nr-inports = <0>; - }; - - cti8: cti@fc318000 { - compatible = "arm,coresight-cti"; - reg = <0xfc318000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <22>; - coresight-name = "coresight-cti8"; - coresight-nr-inports = <0>; - }; - - cti_cpu0: cti@fc351000 { - compatible = "arm,coresight-cti"; - reg = <0xfc351000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <23>; - coresight-name = "coresight-cti-cpu0"; - coresight-nr-inports = <0>; - }; - - cti_cpu1: cti@fc352000 { - compatible = "arm,coresight-cti"; - reg = <0xfc352000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <24>; - coresight-name = "coresight-cti-cpu1"; - coresight-nr-inports = <0>; - }; - - cti_cpu2: cti@fc353000 { - compatible = "arm,coresight-cti"; - reg = <0xfc353000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <25>; - coresight-name = "coresight-cti-cpu2"; - coresight-nr-inports = <0>; - }; - - cti_cpu3: cti@fc354000 { - compatible = "arm,coresight-cti"; - reg = <0xfc354000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <26>; - coresight-name = "coresight-cti-cpu3"; - coresight-nr-inports = <0>; - }; - - hwevent: hwevent@fd820018 { - compatible = "qcom,coresight-hwevent"; - reg = <0xfd820018 0x80>, - <0xf9011080 0x80>, - <0xfd4ab160 0x80>; - reg-names = "mmss-mux", "apcs-mux", "ppss-mux"; - - coresight-id = <27>; - coresight-name = "coresight-hwevent"; - coresight-nr-inports = <0>; - - qcom,hwevent-clks = "core_mmss_clk"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/msm8610-gpu.dtsi b/kernel/arch/arm/boot/dts/lte_module-v1/msm8610-gpu.dtsi deleted file mode 100755 index 7e3ee0dcb..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/msm8610-gpu.dtsi +++ /dev/null @@ -1,167 +0,0 @@ -/* Copyright (c) 2013, 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. - */ -&soc { - msm_gpu: qcom,kgsl-3d0@fdc00000 { - label = "kgsl-3d0"; - compatible = "qcom,kgsl-3d0", "qcom,kgsl-3d"; - reg = <0xfdc00000 0x10000 - 0xfdc10000 0x10000>; - reg-names = "kgsl_3d0_reg_memory", "kgsl_3d0_shader_memory"; - interrupts = <0 33 0>; - interrupt-names = "kgsl_3d0_irq"; - qcom,id = <0>; - - qcom,chipid = <0x03000520>; - - qcom,initial-pwrlevel = <1>; - - qcom,idle-timeout = <8>; /* */ - qcom,strtstp-sleepwake; - qcom,clk-map = <0x000005E>; /* KGSL_CLK_CORE | - KGSL_CLK_IFACE | KGSL_CLK_MEM | KGSL_CLK_MEM_IFACE | - KGSL_CLK_ALT_MEM_IFACE */ - - /* Bus Scale Settings */ - qcom,msm-bus,name = "grp3d"; - qcom,msm-bus,num-cases = <4>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <26 512 0 0>, - <26 512 0 800000>, - <26 512 0 1600000>, - <26 512 0 2128000>; - - /* GDSC oxili regulators */ - vdd-supply = <&gdsc_oxili_cx>; - - /* IOMMU Data */ - iommu = <&gfx_iommu>; - - /* Power levels */ - qcom,gpu-pwrlevels { - #address-cells = <1>; - #size-cells = <0>; - - compatible = "qcom,gpu-pwrlevels"; - - qcom,gpu-pwrlevel@0 { - reg = <0>; - qcom,gpu-freq = <400000000>; - qcom,bus-freq = <3>; - qcom,io-fraction = <0>; - }; - - qcom,gpu-pwrlevel@1 { - reg = <1>; - qcom,gpu-freq = <300000000>; - qcom,bus-freq = <2>; - qcom,io-fraction = <33>; - }; - - qcom,gpu-pwrlevel@2 { - reg = <2>; - qcom,gpu-freq = <200000000>; - qcom,bus-freq = <2>; - qcom,io-fraction = <33>; - }; - - qcom,gpu-pwrlevel@3 { - reg = <3>; - qcom,gpu-freq = <150000000>; - qcom,bus-freq = <1>; - qcom,io-fraction = <100>; - }; - - qcom,gpu-pwrlevel@4 { - reg = <4>; - qcom,gpu-freq = <27000000>; - qcom,bus-freq = <0>; - qcom,io-fraction = <0>; - }; - }; - - /* DVCS Info */ - qcom,dcvs-core-info { - #address-cells = <1>; - #size-cells = <0>; - - compatible = "qcom,dcvs-core-info"; - - qcom,num-cores = <1>; - qcom,sensors = <0>; - - qcom,core-core-type = <1>; - - qcom,algo-disable-pc-threshold = <0>; - qcom,algo-em-win-size-min-us = <100000>; - qcom,algo-em-win-size-max-us = <300000>; - qcom,algo-em-max-util-pct = <97>; - qcom,algo-group-id = <95>; - qcom,algo-max-freq-chg-time-us = <100000>; - qcom,algo-slack-mode-dynamic = <100000>; - qcom,algo-slack-weight-thresh-pct = <0>; - qcom,algo-slack-time-min-us = <39000>; - qcom,algo-slack-time-max-us = <39000>; - qcom,algo-ss-win-size-min-us = <1000000>; - qcom,algo-ss-win-size-max-us = <1000000>; - qcom,algo-ss-util-pct = <95>; - qcom,algo-ss-no-corr-below-freq = <0>; - - qcom,energy-active-coeff-a = <2492>; - qcom,energy-active-coeff-b = <0>; - qcom,energy-active-coeff-c = <0>; - qcom,energy-leakage-coeff-a = <11>; - qcom,energy-leakage-coeff-b = <157150>; - qcom,energy-leakage-coeff-c = <0>; - qcom,energy-leakage-coeff-d = <0>; - - qcom,power-current-temp = <25>; - qcom,power-num-freq = <4>; - - qcom,dcvs-freq@0 { - reg = <0>; - qcom,freq = <0>; - qcom,voltage = <0>; - qcom,is_trans_level = <0>; - qcom,active-energy-offset = <100>; - qcom,leakage-energy-offset = <0>; - }; - - qcom,dcvs-freq@1 { - reg = <1>; - qcom,freq = <0>; - qcom,voltage = <0>; - qcom,is_trans_level = <0>; - qcom,active-energy-offset = <100>; - qcom,leakage-energy-offset = <0>; - }; - - qcom,dcvs-freq@2 { - reg = <2>; - qcom,freq = <0>; - qcom,voltage = <0>; - qcom,is_trans_level = <0>; - qcom,active-energy-offset = <100>; - qcom,leakage-energy-offset = <0>; - }; - - qcom,dcvs-freq@3 { - reg = <3>; - qcom,freq = <0>; - qcom,voltage = <0>; - qcom,is_trans_level = <0>; - qcom,active-energy-offset = <844545>; - qcom,leakage-energy-offset = <0>; - }; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/msm8610-iommu-domains.dtsi b/kernel/arch/arm/boot/dts/lte_module-v1/msm8610-iommu-domains.dtsi deleted file mode 100755 index 6f438972d..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/msm8610-iommu-domains.dtsi +++ /dev/null @@ -1,36 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&soc { - qcom,iommu-domains { - compatible = "qcom,iommu-domains"; - - qcom,iommu-domain1 { - label = "lpass_secure"; - qcom,iommu-contexts = <&lpass_q6_fw>; - qcom,virtual-addr-pool = <0x00000000 0x0FFFFFFF - 0xF0000000 0x0FFFFFFF>; - }; - - qcom,iommu-domain2 { - label = "lpass_audio"; - qcom,iommu-contexts = <&lpass_audio_shared>; - qcom,virtual-addr-pool = <0x10000000 0x0FFFFFFF>; - }; - - q6_domain_ns:qcom,iommu-domain3 { - label = "lpass_video"; - qcom,iommu-contexts = <&lpass_video_shared>; - qcom,virtual-addr-pool = <0x20000000 0x0FFFFFFF>; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/msm8610-ion.dtsi b/kernel/arch/arm/boot/dts/lte_module-v1/msm8610-ion.dtsi deleted file mode 100755 index 456b60ced..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/msm8610-ion.dtsi +++ /dev/null @@ -1,38 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&soc { - qcom,ion { - compatible = "qcom,msm-ion"; - #address-cells = <1>; - #size-cells = <0>; - - qcom,ion-heap@30 { /* SYSTEM HEAP */ - reg = <30>; - }; - - qcom,ion-heap@21 { /* SYSTEM CONTIG HEAP */ - reg = <21>; - }; - - qcom,ion-heap@25 { /* IOMMU HEAP */ - reg = <25>; - }; - - qcom,ion-heap@27 { /* QSECOM HEAP */ - compatible = "qcom,msm-ion-reserve"; - reg = <27>; - linux,contiguous-region = <&qsecom_mem>; - }; - }; -}; - diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/msm8610-mdss.dtsi b/kernel/arch/arm/boot/dts/lte_module-v1/msm8610-mdss.dtsi deleted file mode 100755 index af0e3e4e3..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/msm8610-mdss.dtsi +++ /dev/null @@ -1,37 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&soc { - qcom,mdss_mdp@fd900000 { - compatible = "qcom,mdss_mdp3"; - reg = <0xfd900000 0x100000>; - reg-names = "mdp_phys"; - interrupts = <0 72 0>; - - mdss_fb0: qcom,mdss_fb_primary { - cell-index = <0>; - compatible = "qcom,mdss-fb"; - qcom,memory-reservation-type = "EBI1"; - qcom,memory-reservation-size = <0x300000>; - }; - }; - - mdss_dsi0: qcom,mdss_dsi@fdd00000 { - compatible = "qcom,msm-dsi-v2"; - label = "MDSS DSI CTRL->0"; - cell-index = <0>; - reg = <0xfdd00000 0x100000>; - interrupts = <0 30 0>; - vdda-supply = <&pm8110_l4>; - qcom,mdss-fb-map = <&mdss_fb0>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/msm8610-mtp.dts b/kernel/arch/arm/boot/dts/lte_module-v1/msm8610-mtp.dts deleted file mode 100755 index 9406a0911..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/msm8610-mtp.dts +++ /dev/null @@ -1,354 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; - -/include/ "msm8610.dtsi" -/include/ "dsi-v2-panel-truly-wvga-video.dtsi" -/include/ "msm8610-camera-sensor-cdp-mtp.dtsi" - -/ { - model = "Qualcomm MSM 8610 MTP"; - compatible = "qcom,msm8610-mtp", "qcom,msm8610", "qcom,mtp"; - qcom,msm-id = <147 8 0>, <165 8 0>, <161 8 0>, <162 8 0>, - <163 8 0>, <164 8 0>, <166 8 0>; -}; - -&soc { - serial@f991e000 { - status = "ok"; - }; - - i2c@f9923000{ - atmel_mxt_ts@4a { - compatible = "atmel,mxt-ts"; - reg = <0x4a>; - interrupt-parent = <&msmgpio>; - interrupts = <1 0x2>; - vdd_ana-supply = <&pm8110_l19>; - vcc_i2c-supply = <&pm8110_l14>; - atmel,reset-gpio = <&msmgpio 0 0x00>; - atmel,irq-gpio = <&msmgpio 1 0x00>; - atmel,panel-coords = <0 0 508 880>; - atmel,display-coords = <0 0 480 800>; - atmel,i2c-pull-up; - atmel,no-force-update; - atmel,cfg_1 { - atmel,family-id = <0x81>; - atmel,variant-id = <0x15>; - atmel,version = <0x11>; - atmel,build = <0xaa>; - atmel,config = [ - /* Object 6, Instance = 0 */ - 00 00 00 00 00 00 - /* Object 38, Instance = 0 */ - 1D 01 00 0C 04 0D 00 00 - /* Object 7, Instance = 0 */ - 20 08 32 - /* Object 8, Instance = 0 */ - 19 00 14 14 FF 00 FF 00 00 00 - /* Object 9, Instance = 0 */ - 83 00 00 13 0B 00 20 32 01 03 - 00 32 05 30 0A 05 0A 00 70 03 - FC 01 00 36 2F 2C 00 00 40 00 - 00 0A 00 00 02 - /* Object 18, Instance = 0 */ - 00 00 - /* Object 19, Instance = 0 */ - 00 00 00 00 00 00 - /* Object 25, Instance = 0 */ - 03 00 18 79 A8 61 - /* Object 58, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 - /* Object 42, Instance = 0 */ - 00 00 00 00 00 00 00 00 - /* Object 46, Instance = 0 */ - 04 03 08 10 00 00 00 00 00 - /* Object 47, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - /* Object 48, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 - /* Object 55, Instance = 0 */ - 00 00 00 00 - ]; - }; - }; - }; - - gen-vkeys { - compatible = "qcom,gen-vkeys"; - label = "atmel_mxt_ts"; - qcom,disp-maxx = <480>; - qcom,disp-maxy = <800>; - qcom,panel-maxx = <508>; - qcom,panel-maxy = <880>; - qcom,key-codes = <158 102 139>; - qcom,y-offset = <35>; - }; - - gpio_keys { - compatible = "gpio-keys"; - input-name = "gpio-keys"; - - camera_snapshot { - label = "camera_snapshot"; - gpios = <&msmgpio 73 0x1>; - linux,input-type = <1>; - linux,code = <0x2fe>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - - camera_focus { - label = "camera_focus"; - gpios = <&msmgpio 74 0x1>; - linux,input-type = <1>; - linux,code = <0x210>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - - vol_up { - label = "volume_up"; - gpios = <&msmgpio 72 0x1>; - linux,input-type = <1>; - linux,code = <115>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - }; - - sound { - qcom,audio-routing = - "RX_BIAS", "MCLK", - "INT_LDO_H", "MCLK", - "MIC BIAS External", "Handset Mic", - "MIC BIAS Internal2", "Headset Mic", - "AMIC1", "MIC BIAS External", - "AMIC2", "MIC BIAS Internal2"; - }; -}; - -&i2c_cdc { - msm8x10_wcd_codec@0d{ - compatible = "qcom,msm8x10-wcd-i2c"; - reg = <0x0d>; - cdc-vdda-cp-supply = <&pm8110_s4>; - qcom,cdc-vdda-cp-voltage = <2150000 2150000>; - qcom,cdc-vdda-cp-current = <650000>; - - cdc-vdda-h-supply = <&pm8110_l6>; - qcom,cdc-vdda-h-voltage = <1800000 1800000>; - qcom,cdc-vdda-h-current = <250000>; - - cdc-vdd-px-supply = <&pm8110_l6>; - qcom,cdc-vdd-px-voltage = <1800000 1800000>; - qcom,cdc-vdd-px-current = <10000>; - - cdc-vdd-1p2v-supply = <&pm8110_l4>; - qcom,cdc-vdd-1p2v-voltage = <1200000 1200000>; - qcom,cdc-vdd-1p2v-current = <5000>; - - cdc-vdd-mic-bias-supply = <&pm8110_l20>; - qcom,cdc-vdd-mic-bias-voltage = <3075000 3075000>; - qcom,cdc-vdd-mic-bias-current = <25000>; - - qcom,cdc-micbias-cfilt-sel = <0x0>; - qcom,cdc-micbias-cfilt-mv = <1800000>; - qcom,cdc-mclk-clk-rate = <12288000>; - }; - - msm8x10_wcd_codec@77{ - compatible = "qcom,msm8x10-wcd-i2c"; - reg = <0x77>; - }; - - msm8x10_wcd_codec@66{ - compatible = "qcom,msm8x10-wcd-i2c"; - reg = <0x66>; - }; - - msm8x10_wcd_codec@55{ - compatible = "qcom,msm8x10-wcd-i2c"; - reg = <0x55>; - }; -}; - -&spmi_bus { - qcom,pm8110@0 { - qcom,leds@a100 { - status = "okay"; - qcom,led_mpp_2 { - label = "mpp"; - linux,name = "button-backlight"; - linux-default-trigger = "hr-trigger"; - qcom,default-state = "off"; - qcom,max-current = <40>; - qcom,id = <6>; - qcom,source-sel = <1>; - qcom,mode-ctrl = <0x60>; - qcom,mode = "manual"; - }; - }; - - qcom,leds@a200 { - status = "okay"; - qcom,led_mpp_3 { - label = "mpp"; - linux,name = "wled-backlight"; - linux,default-trigger = "bkl-trigger"; - qcom,default-state = "on"; - qcom,max-current = <40>; - qcom,id = <6>; - qcom,source-sel = <1>; - qcom,mode-ctrl = <0x10>; - qcom,mode = "manual"; - }; - }; - }; -}; - -&spmi_bus { - qcom,pm8110@1 { - qcom,vibrator@c000 { - status = "okay"; - qcom,vib-timeout-ms = <15000>; - qcom,vib-vtg-level-mV = <3100>; - }; - }; -}; - -&sdhc_1 { - vdd-supply = <&pm8110_l17>; - qcom,vdd-always-on; - qcom,vdd-lpm-sup; - qcom,vdd-voltage-level = <2900000 2900000>; - qcom,vdd-current-level = <200 400000>; - - vdd-io-supply = <&pm8110_l6>; - qcom,vdd-io-always-on; - qcom,vdd-io-lpm-sup; - qcom,vdd-io-voltage-level = <1800000 1800000>; - qcom,vdd-io-current-level = <200 60000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - qcom,bus-speed-mode = "HS200_1p8v", "DDR_1p8v"; - qcom,nonremovable; - - status = "ok"; -}; - -&sdhc_2 { - vdd-supply = <&pm8110_l18>; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <15000 400000>; - - vdd-io-supply = <&pm8110_l21>; - qcom,vdd-io-voltage-level = <1800000 2950000>; - qcom,vdd-io-current-level = <200 50000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - - #address-cells = <0>; - interrupt-parent = <&sdhc_2>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 125 0 - 1 &intc 0 221 0 - 2 &msmgpio 42 0x3>; - interrupt-names = "hc_irq", "pwr_irq", "status_irq"; - cd-gpios = <&msmgpio 42 0x1>; - - status = "ok"; -}; - -&pm8110_chg { - status = "ok"; - qcom,charging-disabled; - - qcom,chgr@1000 { - status = "ok"; - }; - - qcom,buck@1100 { - status = "ok"; - }; - - qcom,bat-if@1200 { - status = "ok"; - }; - - qcom,usb-chgpth@1300 { - status = "ok"; - }; - - qcom,chg-misc@1600 { - status = "ok"; - }; -}; - -&pm8110_gpios { - gpio@c000 { /* GPIO 1 */ - }; - - gpio@c100 { /* GPIO 2 */ - }; - - gpio@c200 { /* GPIO 3 */ - }; - - gpio@c300 { /* GPIO 4 */ - }; -}; - -&pm8110_mpps { - mpp@a000 { /* MPP 1 */ - }; - - mpp@a100 { /* MPP 2 */ - status = "disabled"; - }; - - mpp@a200 { /* MPP 3 */ - status = "disabled"; - }; - - mpp@a300 { /* MPP 4 */ - /* PA_THERM config */ - qcom,mode = <4>; /* AIN input */ - qcom,invert = <1>; /* Enable MPP */ - qcom,ain-route = <3>; /* AMUX 8 */ - qcom,master-en = <1>; - qcom,src-sel = <0>; /* Function constant */ - }; -}; - -&pm8110_bms { - status = "ok"; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/msm8610-pm.dtsi b/kernel/arch/arm/boot/dts/lte_module-v1/msm8610-pm.dtsi deleted file mode 100755 index 938b2aa2a..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/msm8610-pm.dtsi +++ /dev/null @@ -1,391 +0,0 @@ -/* Copyright (c) 2013 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. - */ - -/include/ "skeleton.dtsi" - -&soc { - qcom,spm@f9089000 { - compatible = "qcom,spm-v2"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xf9089000 0x1000>; - qcom,core-id = <0>; - qcom,saw2-ver-reg = <0xfd0>; - qcom,saw2-cfg = <0x01>; - qcom,saw2-spm-dly= <0x3c102800>; - qcom,saw2-spm-ctl = <0x0>; - qcom,saw2-spm-cmd-wfi = [60 03 60 0b 0f]; - qcom,saw2-spm-cmd-spc = [00 20 10 80 30 90 5b 60 03 60 3b 76 76 - 0b 94 5b 80 10 06 26 30 0f]; - qcom,saw2-spm-cmd-pc = [00 20 10 80 30 90 5b 60 07 60 3b 76 76 - 0b 94 5b 80 10 06 26 30 0f]; - }; - - qcom,spm@f9099000 { - compatible = "qcom,spm-v2"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xf9099000 0x1000>; - qcom,core-id = <1>; - qcom,saw2-ver-reg = <0xfd0>; - qcom,saw2-cfg = <0x01>; - qcom,saw2-spm-dly= <0x3c102800>; - qcom,saw2-spm-ctl = <0x0>; - qcom,saw2-spm-cmd-wfi = [60 03 60 0b 0f]; - qcom,saw2-spm-cmd-spc = [00 20 10 80 30 90 5b 60 03 60 3b 76 76 - 0b 94 5b 80 10 06 26 30 0f]; - qcom,saw2-spm-cmd-pc = [00 20 10 80 30 90 5b 60 07 60 3b 76 76 - 0b 94 5b 80 10 06 26 30 0f]; - }; - - qcom,spm@f90a9000 { - compatible = "qcom,spm-v2"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xf90a9000 0x1000>; - qcom,core-id = <2>; - qcom,saw2-ver-reg = <0xfd0>; - qcom,saw2-cfg = <0x01>; - qcom,saw2-spm-dly= <0x3c102800>; - qcom,saw2-spm-ctl = <0x0>; - qcom,saw2-spm-cmd-wfi = [60 03 60 0b 0f]; - qcom,saw2-spm-cmd-spc = [00 20 10 80 30 90 5b 60 03 60 3b 76 76 - 0b 94 5b 80 10 06 26 30 0f]; - qcom,saw2-spm-cmd-pc = [00 20 10 80 30 90 5b 60 07 60 3b 76 76 - 0b 94 5b 80 10 06 26 30 0f]; - }; - - qcom,spm@f90b9000 { - compatible = "qcom,spm-v2"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xf90b9000 0x1000>; - qcom,core-id = <3>; - qcom,saw2-ver-reg = <0xfd0>; - qcom,saw2-cfg = <0x01>; - qcom,saw2-spm-dly= <0x3c102800>; - qcom,saw2-spm-ctl = <0x0>; - qcom,saw2-spm-cmd-wfi = [60 03 60 0b 0f]; - qcom,saw2-spm-cmd-spc = [00 20 10 80 30 90 5b 60 03 60 3b 76 76 - 0b 94 5b 80 10 06 26 30 0f]; - qcom,saw2-spm-cmd-pc = [00 20 10 80 30 90 5b 60 07 60 3b 76 76 - 0b 94 5b 80 10 06 26 30 0f]; - }; - - qcom,spm@f9012000 { - compatible = "qcom,spm-v2"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xf9012000 0x1000>; - qcom,core-id = <0xffff>; /* L2/APCS SAW */ - qcom,saw2-ver-reg = <0xfd0>; - qcom,saw2-cfg = <0x14>; - qcom,saw2-spm-dly= <0x3c102800>; - qcom,saw2-spm-ctl = <0x0>; - qcom,saw2-pmic-data0 = <0x02030080>; - qcom,saw2-pmic-data1 = <0x00030000>; - qcom,vctl-timeout-us = <50>; - qcom,vctl-port = <0x0>; - qcom,phase-port = <0x1>; - qcom,pfm-port = <0x2>; - qcom,saw2-spm-cmd-ret = [00 03 00 7b 0f]; - qcom,saw2-spm-cmd-pc = [00 32 b0 10 e0 d0 6b c0 42 f0 - 11 07 01 b0 4e c0 d0 12 e0 6b 50 02 32 - 50 f0 7b 0f]; /*APCS_PMIC_OFF_L2RAM_OFF*/ - }; - - qcom,lpm-resources { - compatible = "qcom,lpm-resources"; - #address-cells = <1>; - #size-cells = <0>; - - qcom,lpm-resources@0 { - reg = <0x0>; - qcom,name = "vdd-dig"; - qcom,type = <0x61706d73>; /* "smpa" */ - qcom,id = <0x01>; - qcom,key = <0x6e726f63>; /* "corn" */ - qcom,init-value = <3>; /* SVS SOC */ - }; - - qcom,lpm-resources@1 { - reg = <0x1>; - qcom,name = "vdd-mem"; - qcom,type = <0x616F646C>; /* "ldoa" */ - qcom,id = <0x03>; - qcom,key = <0x6e726f63>; /* "corn" */ - qcom,init-value = <3>; /* SVS SOC */ - }; - - qcom,lpm-resources@2 { - reg = <0x2>; - qcom,name = "pxo"; - qcom,type = <0x306b6c63>; /* "clk0" */ - qcom,id = <0x00>; - qcom,key = <0x62616e45>; /* "Enab" */ - qcom,init-value = "xo_on"; - }; - - qcom,lpm-resources@3 { - reg = <0x3>; - qcom,name = "l2"; - qcom,local-resource-type; - qcom,init-value = "l2_cache_retention"; - }; - }; - - qcom,lpm-levels { - compatible = "qcom,lpm-levels"; - #address-cells = <1>; - #size-cells = <0>; - - qcom,lpm-level@0 { - reg = <0x0>; - qcom,mode = "wfi"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_active"; - qcom,vdd-mem-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <4>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <1>; - qcom,ss-power = <784>; - qcom,energy-overhead = <190000>; - qcom,time-overhead = <100>; - }; - - qcom,lpm-level@1 { - reg = <0x1>; - qcom,mode = "standalone_pc"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_active"; - qcom,vdd-mem-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <4>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <3000>; - qcom,ss-power = <725>; - qcom,energy-overhead = <99500>; - qcom,time-overhead = <3130>; - }; - - qcom,lpm-level@2 { - reg = <0x2>; - qcom,mode = "pc"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_retention"; - qcom,vdd-mem-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <4>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <8000>; - qcom,ss-power = <138>; - qcom,energy-overhead = <1208400>; - qcom,time-overhead = <9200>; - }; - - qcom,lpm-level@3 { - reg = <0x3>; - qcom,mode = "pc"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_pc"; - qcom,vdd-mem-upper-bound = <4>; /* NORMAL */ - qcom,vdd-mem-lower-bound = <3>; /* SVS SOC */ - qcom,vdd-dig-upper-bound = <4>; /* NORMAL */ - qcom,vdd-dig-lower-bound = <3>; /* SVS SOC */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <9000>; - qcom,ss-power = <110>; - qcom,energy-overhead = <1250300>; - qcom,time-overhead = <9500>; - }; - - qcom,lpm-level@4 { - reg = <0x4>; - qcom,mode = "pc"; - qcom,xo = "xo_off"; - qcom,l2 = "l2_cache_pc"; - qcom,vdd-mem-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <4>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,latency-us = <16300>; - qcom,ss-power = <63>; - qcom,energy-overhead = <2128000>; - qcom,time-overhead = <24200>; - }; - - qcom,lpm-level@5 { - reg = <0x5>; - qcom,mode = "pc"; - qcom,xo = "xo_off"; - qcom,l2 = "l2_cache_pc"; - qcom,vdd-mem-upper-bound = <4>; /* NORMAL */ - qcom,vdd-mem-lower-bound = <3>; /* SVS SOC */ - qcom,vdd-dig-upper-bound = <4>; /* NORMAL */ - qcom,vdd-dig-lower-bound = <3>; /* SVS SOC */ - qcom,latency-us = <24000>; - qcom,ss-power = <10>; - qcom,energy-overhead = <3202600>; - qcom,time-overhead = <33000>; - }; - - qcom,lpm-level@6 { - reg = <0x6>; - qcom,mode = "pc"; - qcom,xo = "xo_off"; - qcom,l2 = "l2_cache_pc"; - qcom,vdd-mem-upper-bound = <3>; /* SVS SOC */ - qcom,vdd-mem-lower-bound = <1>; /* RETENTION */ - qcom,vdd-dig-upper-bound = <3>; /* SVS SOC */ - qcom,vdd-dig-lower-bound = <1>; /* RETENTION */ - qcom,latency-us = <26000>; - qcom,ss-power = <2>; - qcom,energy-overhead = <4252000>; - qcom,time-overhead = <38000>; - }; - }; - - qcom,pm-boot { - compatible = "qcom,pm-boot"; - qcom,mode = "tz"; - }; - - qcom,mpm@fc4281d0 { - compatible = "qcom,mpm-v2"; - reg = <0xfc4281d0 0x1000>, /* MSM_RPM_MPM_BASE 4K */ - <0xf9011008 0x4>; /* MSM_APCS_GCC_BASE 4K */ - reg-names = "vmpm", "ipc"; - interrupts = <0 171 1>; - - qcom,ipc-bit-offset = <1>; - - qcom,gic-parent = <&intc>; - qcom,gic-map = <47 172>, /* usb2_hsic_async_wakeup_irq */ - <53 104>, /* mdss_irq */ - <62 222>, /* ee0_krait_hlos_spmi_periph_irq */ - <2 216>, /* tsens_upper_lower_int */ - <0xff 56>, /* q6_wdog_expired_irq */ - <0xff 57>, /* mss_to_apps_irq(0) */ - <0xff 58>, /* mss_to_apps_irq(1) */ - <0xff 59>, /* mss_to_apps_irq(2) */ - <0xff 60>, /* mss_to_apps_irq(3) */ - <0xff 61>, /* mss_a2_bam_irq */ - <0xff 173>, /* o_wcss_apss_smd_hi */ - <0xff 174>, /* o_wcss_apss_smd_med */ - <0xff 175>, /* o_wcss_apss_smd_low */ - <0xff 176>, /* o_wcss_apss_smsm_irq */ - <0xff 177>, /* o_wcss_apss_wlan_data_xfer_done */ - <0xff 178>, /* o_wcss_apss_wlan_rx_data_avail */ - <0xff 179>, /* o_wcss_apss_asic_intr - <0xff 181>, /* o_wcss_apss_wdog_bite_and_reset_rdy */ - <0xff 161>, /* lpass_irq_out_spare[4] / - <0xff 162>, /* lpass_irq_out_spare[5]*/ - <0xff 234>, /* lpass_irq_out_spare[6]*/ - <0xff 235>, /* lpass_irq_out_spare[7]*/ - <0xff 188>, /* lpass_irq_out_apcs(0) */ - <0xff 189>, /* lpass_irq_out_apcs(1) */ - <0xff 190>, /* lpass_irq_out_apcs(2) */ - <0xff 191>, /* lpass_irq_out_apcs(3) */ - <0xff 192>, /* lpass_irq_out_apcs(4) */ - <0xff 194>, /* lpass_irq_out_apcs(6) */ - <0xff 200>, /* rpm_ipc(4) */ - <0xff 201>, /* rpm_ipc(5) */ - <0xff 202>, /* rpm_ipc(6) */ - <0xff 203>, /* rpm_ipc(7) */ - <0xff 204>, /* rpm_ipc(24) */ - <0xff 205>, /* rpm_ipc(25) */ - <0xff 206>, /* rpm_ipc(26) */ - <0xff 207>, /* rpm_ipc(27) */ - <0xff 258>, /* rpm_ipc(28) */ - <0xff 259>, /* rpm_ipc(29) */ - <0xff 275>, /* rpm_ipc(30) */ - <0xff 276>, /* rpm_ipc(31) */ - <0xff 269>, /* rpm_wdog_expired_irq */ - <0xff 240>; /* summary_irq_kpss */ - - qcom,gpio-parent = <&msmgpio>; - qcom,gpio-map = <3 1>, - <4 4 >, - <5 5 >, - <6 9 >, - <7 13>, - <8 17>, - <9 21>, - <10 27>, - <11 29>, - <12 31>, - <13 33>, - <14 35>, - <15 37>, - <16 38>, - <17 39>, - <18 41>, - <19 46>, - <20 48>, - <21 49>, - <22 50>, - <23 51>, - <24 52>, - <25 54>, - <26 62>, - <27 63>, - <28 64>, - <29 65>, - <30 66>, - <31 67>, - <32 68>, - <33 69>, - <34 71>, - <35 72>, - <36 106>, - <37 107>, - <38 108>, - <39 109>, - <40 110>, - <54 111>, - <55 113>; - }; - - qcom,pm-8x60@fe805664 { - compatible = "qcom,pm-8x60"; - reg = <0xfe805664 0x40>; - qcom,pc-mode = "tz_l2_int"; - qcom,use-sync-timer; - qcom,pc-resets-timer; - }; - - qcom,rpm-log@fc19dc00 { - compatible = "qcom,rpm-log"; - reg = <0xfc19dc00 0x4000>; - qcom,rpm-addr-phys = <0xfc000000>; - qcom,offset-version = <4>; - qcom,offset-page-buffer-addr = <36>; - qcom,offset-log-len = <40>; - qcom,offset-log-len-mask = <44>; - qcom,offset-page-indices = <56>; - }; - - qcom,rpm-stats@fc19dba0 { - compatible = "qcom,rpm-stats"; - reg = <0xfc19dba0 0x1000>; - reg-names = "phys_addr_base"; - qcom,sleep-stats-version = <2>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/msm8610-qrd.dts b/kernel/arch/arm/boot/dts/lte_module-v1/msm8610-qrd.dts deleted file mode 100755 index 5f9365a2a..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/msm8610-qrd.dts +++ /dev/null @@ -1,267 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; - -/include/ "msm8610.dtsi" -/include/ "dsi-v2-panel-hx8379a-wvga-video.dtsi" - -/ { - model = "Qualcomm MSM 8610 QRD"; - compatible = "qcom,msm8610-qrd", "qcom,msm8610", "qcom,qrd"; - qcom,msm-id = <147 11 0>, <165 11 0>, <161 11 0>, <162 11 0>, - <163 11 0>, <164 11 0>, <166 11 0>; -}; - -&soc { - i2c@f9923000{ - focaltech@38{ - compatible = "focaltech,5x06"; - reg = <0x38>; - interrupt-parent = <&msmgpio>; - interrupts = <1 0x2>; - vdd-supply = <&pm8110_l19>; - vcc_i2c-supply = <&pm8110_l14>; - focaltech,family-id = <0x06>; - focaltech,reset-gpio = <&msmgpio 0 0x00>; - focaltech,irq-gpio = <&msmgpio 1 0x00>; - focaltech,display-coords = <0 0 480 800>; - focaltech,panel-coords = <0 0 480 800>; - focaltech,button-map= <139 102 158>; - focaltech,no-force-update; - focaltech,i2c-pull-up; - }; - }; - - gen-vkeys { - compatible = "qcom,gen-vkeys"; - label = "ft5x06_ts"; - qcom,disp-maxx = <480>; - qcom,disp-maxy = <800>; - qcom,panel-maxx = <481>; - qcom,panel-maxy = <940>; - qcom,key-codes = <139 0 102 158 0 0 0>; - qcom,y-offset = <0>; - }; - serial@f991e000 { - status = "ok"; - }; - - gpio_keys { - compatible = "gpio-keys"; - input-name = "gpio-keys"; - - camera_snapshot { - label = "camera_snapshot"; - gpios = <&msmgpio 73 0x1>; - linux,input-type = <1>; - linux,code = <0x2fe>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - - camera_focus { - label = "camera_focus"; - gpios = <&msmgpio 74 0x1>; - linux,input-type = <1>; - linux,code = <0x210>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - - vol_up { - label = "volume_up"; - gpios = <&msmgpio 72 0x1>; - linux,input-type = <1>; - linux,code = <115>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - }; - - i2c@f9927000 { - msm8x10_wcd_codec@0d{ - compatible = "qcom,msm8x10-wcd-i2c"; - reg = <0x0d>; - cdc-vdda-cp-supply = <&pm8110_s4>; - qcom,cdc-vdda-cp-voltage = <2150000 2150000>; - qcom,cdc-vdda-cp-current = <650000>; - - cdc-vdda-h-supply = <&pm8110_l6>; - qcom,cdc-vdda-h-voltage = <1800000 1800000>; - qcom,cdc-vdda-h-current = <250000>; - - cdc-vdd-px-supply = <&pm8110_l6>; - qcom,cdc-vdd-px-voltage = <1800000 1800000>; - qcom,cdc-vdd-px-current = <10000>; - - cdc-vdd-1p2v-supply = <&pm8110_l4>; - qcom,cdc-vdd-1p2v-voltage = <1200000 1200000>; - qcom,cdc-vdd-1p2v-current = <5000>; - - cdc-vdd-mic-bias-supply = <&pm8110_l20>; - qcom,cdc-vdd-mic-bias-voltage = <3075000 3075000>; - qcom,cdc-vdd-mic-bias-current = <25000>; - - qcom,cdc-micbias-cfilt-sel = <0x0>; - qcom,cdc-micbias-cfilt-mv = <1800000>; - qcom,cdc-mclk-clk-rate = <12288000>; - }; - - msm8x10_wcd_codec@77{ - compatible = "qcom,msm8x10-wcd-i2c"; - reg = <0x77>; - }; - - msm8x10_wcd_codec@66{ - compatible = "qcom,msm8x10-wcd-i2c"; - reg = <0x66>; - }; - - msm8x10_wcd_codec@55{ - compatible = "qcom,msm8x10-wcd-i2c"; - reg = <0x55>; - }; - }; - - sound { - qcom,audio-routing = - "RX_BIAS", "MCLK", - "INT_LDO_H", "MCLK", - "MIC BIAS Internal1", "Handset Mic", - "MIC BIAS Internal2", "Headset Mic", - "AMIC1", "MIC BIAS Internal1", - "AMIC2", "MIC BIAS Internal2"; - }; -}; - -&spmi_bus { - qcom,pm8110@0 { - qcom,leds@a100 { - status = "okay"; - qcom,led_mpp_2 { - label = "mpp"; - linux,name = "wled-homerow"; - linux-default-trigger = "hr-trigger"; - qcom,default-state = "off"; - qcom,max-current = <40>; - qcom,id = <6>; - qcom,source-sel = <1>; - qcom,mode-ctrl = <0x61>; - }; - }; - - qcom,leds@a200 { - status = "okay"; - qcom,led_mpp_3 { - label = "mpp"; - linux,name = "wled-backlight"; - linux,default-trigger = "bkl-trigger"; - qcom,default-state = "on"; - qcom,max-current = <40>; - qcom,id = <6>; - qcom,source-sel = <1>; - qcom,mode-ctrl = <0x10>; - }; - }; - }; -}; - -&spmi_bus { - qcom,pm8110@1 { - qcom,vibrator@c000 { - status = "okay"; - qcom,vib-timeout-ms = <15000>; - qcom,vib-vtg-level-mV = <3100>; - }; - }; -}; - -&sdhc_1 { - vdd-supply = <&pm8110_l17>; - qcom,vdd-always-on; - qcom,vdd-lpm-sup; - qcom,vdd-voltage-level = <2900000 2900000>; - qcom,vdd-current-level = <200 400000>; - - vdd-io-supply = <&pm8110_l6>; - qcom,vdd-io-always-on; - qcom,vdd-io-voltage-level = <1800000 1800000>; - qcom,vdd-io-current-level = <200 60000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - qcom,bus-speed-mode = "HS200_1p8v", "DDR_1p8v"; - qcom,nonremovable; - - status = "ok"; -}; - -&sdhc_2 { - vdd-supply = <&pm8110_l18>; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <15000 400000>; - - vdd-io-supply = <&pm8110_l21>; - qcom,vdd-io-always-on; - qcom,vdd-io-lpm-sup; - qcom,vdd-io-voltage-level = <1800000 2950000>; - qcom,vdd-io-current-level = <200 50000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - - #address-cells = <0>; - interrupt-parent = <&sdhc_2>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 125 0 - 1 &intc 0 221 0 - 2 &msmgpio 42 0x3>; - interrupt-names = "hc_irq", "pwr_irq", "status_irq"; - cd-gpios = <&msmgpio 42 0x1>; - - status = "ok"; -}; - -&pm8110_chg { - status = "ok"; - - qcom,chgr@1000 { - status = "ok"; - }; - - qcom,buck@1100 { - status = "ok"; - }; - - qcom,bat-if@1200 { - status = "ok"; - }; - - qcom,usb-chgpth@1300 { - status = "ok"; - }; - - qcom,chg-misc@1600 { - status = "ok"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/msm8610-regulator.dtsi b/kernel/arch/arm/boot/dts/lte_module-v1/msm8610-regulator.dtsi deleted file mode 100755 index 09520c537..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/msm8610-regulator.dtsi +++ /dev/null @@ -1,358 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/* SPM controlled regulators */ - -&spmi_bus { - qcom,pm8110@1 { - pm8110_s2: spm-regulator@1700 { - compatible = "qcom,spm-regulator"; - regulator-name = "8110_s2"; - reg = <0x1700 0x100>; - regulator-min-microvolt = <900000>; - regulator-max-microvolt = <1350000>; - }; - }; -}; - -/* CPR controlled regulator */ - -&soc { - apc_vreg_corner: regulator@f9018000 { - status = "okay"; - compatible = "qcom,cpr-regulator"; - reg = <0xf9018000 0x1000>, <0xf9011064 4>, <0xfc4b80b0 8>, - <0xfc4bc450 16>; - reg-names = "rbcpr", "rbcpr_clk", "pvs_efuse", "cpr_efuse"; - interrupts = <0 15 0>; - regulator-name = "apc_corner"; - regulator-min-microvolt = <1>; - regulator-max-microvolt = <3>; - qcom,num-efuse-bits = <5>; - qcom,pvs-bin-process = <0 0 0 0 0 1 1 1 1 1 2 2 2 2 2 2 - 2 2 2 2 3 3 3 3 3 3 3 3 0 0 0 0>; - qcom,pvs-corner-ceiling-slow = <1150000 1150000 1275000>; - qcom,pvs-corner-ceiling-nom = <975000 1075000 1200000>; - qcom,pvs-corner-ceiling-fast = <900000 1000000 1140000>; - vdd-apc-supply = <&pm8110_s2>; - - vdd-mx-supply = <&pm8110_l3_ao>; - qcom,vdd-mx-vmax = <1350000>; - qcom,vdd-mx-vmin-method = <1>; - - qcom,cpr-ref-clk = <19200>; - qcom,cpr-timer-delay = <5000>; - qcom,cpr-timer-cons-up = <1>; - qcom,cpr-timer-cons-down = <2>; - qcom,cpr-irq-line = <0>; - qcom,cpr-step-quotient = <15>; - qcom,cpr-up-threshold = <1>; - qcom,cpr-down-threshold = <2>; - qcom,cpr-idle-clocks = <5>; - qcom,cpr-gcnt-time = <1>; - qcom,vdd-apc-step-up-limit = <1>; - qcom,vdd-apc-step-down-limit = <1>; - qcom,cpr-apc-volt-step = <5000>; - }; -}; - -/* RPM controlled regulators: */ - -&rpm_bus { - - rpm-regulator-smpa1 { - status = "okay"; - pm8110_s1: regulator-s1 { - status = "okay"; - regulator-min-microvolt = <500000>; - regulator-max-microvolt = <1275000>; - }; - - pm8110_s1_corner: regulator-s1-corner { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_s1_corner"; - qcom,set = <3>; - regulator-min-microvolt = <1>; - regulator-max-microvolt = <7>; - qcom,use-voltage-corner; - qcom,consumer-supplies = "vdd_dig", ""; - }; - - pm8110_s1_corner_ao: regulator-s1-corner-ao { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_s1_corner_ao"; - qcom,set = <1>; - regulator-min-microvolt = <1>; - regulator-max-microvolt = <7>; - qcom,use-voltage-corner; - qcom,consumer-supplies = "vdd_sr2_dig", ""; - }; - }; - - rpm-regulator-smpa3 { - status = "okay"; - pm8110_s3: regulator-s3 { - regulator-min-microvolt = <1200000>; - regulator-max-microvolt = <1350000>; - qcom,init-voltage = <1200000>; - status = "okay"; - }; - }; - - rpm-regulator-smpa4 { - status = "okay"; - pm8110_s4: regulator-s4 { - regulator-min-microvolt = <2150000>; - regulator-max-microvolt = <2150000>; - qcom,init-voltage = <2150000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa1 { - status = "okay"; - pm8110_l1: regulator-l1 { - regulator-min-microvolt = <1225000>; - regulator-max-microvolt = <1225000>; - qcom,init-voltage = <1225000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa2 { - status = "okay"; - pm8110_l2: regulator-l2 { - regulator-min-microvolt = <1200000>; - regulator-max-microvolt = <1200000>; - qcom,init-voltage = <1200000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa3 { - status = "okay"; - pm8110_l3: regulator-l3 { - regulator-min-microvolt = <750000>; - regulator-max-microvolt = <1275000>; - status = "okay"; - }; - - pm8110_l3_ao: regulator-l3-ao { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l3_ao"; - qcom,set = <1>; - regulator-min-microvolt = <750000>; - regulator-max-microvolt = <1275000>; - status = "okay"; - }; - - pm8110_l3_so: regulator-l3-so { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l3_so"; - qcom,set = <2>; - regulator-min-microvolt = <750000>; - regulator-max-microvolt = <1275000>; - qcom,init-voltage = <750000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa4 { - status = "okay"; - pm8110_l4: regulator-l4 { - regulator-min-microvolt = <1200000>; - regulator-max-microvolt = <1200000>; - qcom,init-voltage = <1200000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa5 { - status = "okay"; - pm8110_l5: regulator-l5 { - regulator-min-microvolt = <1300000>; - regulator-max-microvolt = <1300000>; - qcom,init-voltage = <1300000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa6 { - status = "okay"; - pm8110_l6: regulator-l6 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa7 { - status = "okay"; - pm8110_l7: regulator-l7 { - regulator-min-microvolt = <2050000>; - regulator-max-microvolt = <2050000>; - qcom,init-voltage = <2050000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa8 { - status = "okay"; - pm8110_l8: regulator-l8 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa9 { - status = "okay"; - pm8110_l9: regulator-l9 { - regulator-min-microvolt = <2050000>; - regulator-max-microvolt = <2050000>; - qcom,init-voltage = <2050000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa10 { - status = "okay"; - pm8110_l10: regulator-l10 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - status = "okay"; - }; - - pm8110_l10_ao: regulator-l10-ao { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l10_ao"; - qcom,set = <1>; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - qcom,consumer-supplies = "vdd_sr2_pll", ""; - }; - - pm8110_l10_so: regulator-l10-so { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l10_so"; - qcom,set = <2>; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - qcom,init-enable = <0>; - }; - }; - - rpm-regulator-ldoa12 { - status = "okay"; - pm8110_l12: regulator-l12 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <3300000>; - qcom,init-voltage = <3300000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa14 { - status = "okay"; - pm8110_l14: regulator-l14 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa15 { - status = "okay"; - pm8110_l15: regulator-l15 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <3300000>; - qcom,init-voltage = <3300000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa16 { - status = "okay"; - pm8110_l16: regulator-l16 { - regulator-min-microvolt = <3000000>; - regulator-max-microvolt = <3000000>; - qcom,init-voltage = <3000000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa17 { - status = "okay"; - pm8110_l17: regulator-l17 { - regulator-min-microvolt = <2900000>; - regulator-max-microvolt = <2900000>; - qcom,init-voltage = <2900000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa18 { - status = "okay"; - pm8110_l18: regulator-l18 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <2950000>; - qcom,init-voltage = <2950000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa19 { - status = "okay"; - pm8110_l19: regulator-l19 { - regulator-min-microvolt = <2850000>; - regulator-max-microvolt = <2850000>; - qcom,init-voltage = <2850000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa20 { - status = "okay"; - pm8110_l20: regulator-l20 { - regulator-min-microvolt = <3075000>; - regulator-max-microvolt = <3075000>; - qcom,init-voltage = <3075000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa21 { - status = "okay"; - pm8110_l21: regulator-l21 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <2950000>; - qcom,init-voltage = <2950000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa22 { - status = "okay"; - pm8110_l22: regulator-l22 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <3300000>; - qcom,init-voltage = <3300000>; - status = "okay"; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/msm8610-rumi.dts b/kernel/arch/arm/boot/dts/lte_module-v1/msm8610-rumi.dts deleted file mode 100755 index 7f0648541..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/msm8610-rumi.dts +++ /dev/null @@ -1,31 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/dts-v1/; - -/include/ "msm8610.dtsi" - -/ { - model = "Qualcomm MSM 8610 Rumi"; - compatible = "qcom,msm8610-rumi", "qcom,msm8610", "qcom,rumi"; - qcom,msm-id = <147 15 0>; -}; - -&soc { - serial@f991f000 { - status = "ok"; - }; -}; - -&gfx_iommu { - status = "disabled"; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/msm8610-sim.dts b/kernel/arch/arm/boot/dts/lte_module-v1/msm8610-sim.dts deleted file mode 100755 index 7c57fe667..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/msm8610-sim.dts +++ /dev/null @@ -1,72 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/dts-v1/; - -/include/ "msm8610.dtsi" - -/ { - model = "Qualcomm MSM 8610 Simulator"; - compatible = "qcom,msm8610-sim", "qcom,msm8610", "qcom,sim"; - qcom,msm-id = <147 16 0>; -}; - -&soc { - serial@f991f000 { - status = "ok"; - }; -}; - -&i2c_cdc { - msm8x10_wcd_codec@0d{ - compatible = "qcom,msm8x10-wcd-i2c"; - reg = <0x0d>; - cdc-vdda-cp-supply = <&pm8110_s4>; - qcom,cdc-vdda-cp-voltage = <2150000 2150000>; - qcom,cdc-vdda-cp-current = <650000>; - - cdc-vdda-h-supply = <&pm8110_l6>; - qcom,cdc-vdda-h-voltage = <1800000 1800000>; - qcom,cdc-vdda-h-current = <250000>; - - cdc-vdd-px-supply = <&pm8110_l6>; - qcom,cdc-vdd-px-voltage = <1800000 1800000>; - qcom,cdc-vdd-px-current = <10000>; - - cdc-vdd-1p2v-supply = <&pm8110_l4>; - qcom,cdc-vdd-1p2v-voltage = <1200000 1200000>; - qcom,cdc-vdd-1p2v-current = <5000>; - - cdc-vdd-mic-bias-supply = <&pm8110_l20>; - qcom,cdc-vdd-mic-bias-voltage = <3075000 3075000>; - qcom,cdc-vdd-mic-bias-current = <25000>; - - qcom,cdc-micbias-cfilt-sel = <0x0>; - qcom,cdc-micbias-cfilt-mv = <1800000>; - qcom,cdc-mclk-clk-rate = <12288000>; - }; - - msm8x10_wcd_codec@77{ - compatible = "qcom,msm8x10-wcd-i2c"; - reg = <0x77>; - }; - - msm8x10_wcd_codec@66{ - compatible = "qcom,msm8x10-wcd-i2c"; - reg = <0x66>; - }; - - msm8x10_wcd_codec@55{ - compatible = "qcom,msm8x10-wcd-i2c"; - reg = <0x55>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/msm8610-smp2p.dtsi b/kernel/arch/arm/boot/dts/lte_module-v1/msm8610-smp2p.dtsi deleted file mode 100755 index 3921a686a..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/msm8610-smp2p.dtsi +++ /dev/null @@ -1,225 +0,0 @@ -/* Copyright (c) 2013, 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. - */ -&soc { - qcom,smp2p-modem { - compatible = "qcom,smp2p"; - reg = <0xf9011008 0x4>; - qcom,remote-pid = <1>; - qcom,irq-bitmask = <0x4000>; - interrupts = <0 27 1>; - }; - - qcom,smp2p-adsp { - compatible = "qcom,smp2p"; - reg = <0xf9011008 0x4>; - qcom,remote-pid = <2>; - qcom,irq-bitmask = <0x400>; - interrupts = <0 158 1>; - }; - - qcom,smp2p-wcnss { - compatible = "qcom,smp2p"; - reg = <0xf9011008 0x4>; - qcom,remote-pid = <4>; - qcom,irq-bitmask = <0x40000>; - interrupts = <0 143 1>; - }; - - smp2pgpio_smp2p_7_in: qcom,smp2pgpio-smp2p-7-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <7>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_7_in { - compatible = "qcom,smp2pgpio_test_smp2p_7_in"; - gpios = <&smp2pgpio_smp2p_7_in 0 0>; - }; - - smp2pgpio_smp2p_7_out: qcom,smp2pgpio-smp2p-7-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <7>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_7_out { - compatible = "qcom,smp2pgpio_test_smp2p_7_out"; - gpios = <&smp2pgpio_smp2p_7_out 0 0>; - }; - - smp2pgpio_smp2p_1_in: qcom,smp2pgpio-smp2p-1-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <1>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_1_in { - compatible = "qcom,smp2pgpio_test_smp2p_1_in"; - gpios = <&smp2pgpio_smp2p_1_in 0 0>; - }; - - smp2pgpio_smp2p_1_out: qcom,smp2pgpio-smp2p-1-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <1>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_1_out { - compatible = "qcom,smp2pgpio_test_smp2p_1_out"; - gpios = <&smp2pgpio_smp2p_1_out 0 0>; - }; - - smp2pgpio_ssr_smp2p_1_in: qcom,smp2pgpio-ssr-smp2p-1-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "slave-kernel"; - qcom,remote-pid = <1>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - smp2pgpio_ssr_smp2p_1_out: qcom,smp2pgpio-ssr-smp2p-1-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "master-kernel"; - qcom,remote-pid = <1>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - smp2pgpio_smp2p_2_in: qcom,smp2pgpio-smp2p-2-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <2>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_2_in { - compatible = "qcom,smp2pgpio_test_smp2p_2_in"; - gpios = <&smp2pgpio_smp2p_2_in 0 0>; - }; - - smp2pgpio_smp2p_2_out: qcom,smp2pgpio-smp2p-2-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <2>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_2_out { - compatible = "qcom,smp2pgpio_test_smp2p_2_out"; - gpios = <&smp2pgpio_smp2p_2_out 0 0>; - }; - - /* SMP2P SSR Driver for inbound entry from lpass. */ - smp2pgpio_ssr_smp2p_2_in: qcom,smp2pgpio-ssr-smp2p-2-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "slave-kernel"; - qcom,remote-pid = <2>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - /* SMP2P SSR Driver for outbound entry to lpass */ - smp2pgpio_ssr_smp2p_2_out: qcom,smp2pgpio-ssr-smp2p-2-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "master-kernel"; - qcom,remote-pid = <2>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - smp2pgpio_smp2p_4_in: qcom,smp2pgpio-smp2p-4-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <4>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_4_in { - compatible = "qcom,smp2pgpio_test_smp2p_4_in"; - gpios = <&smp2pgpio_smp2p_4_in 0 0>; - }; - - smp2pgpio_smp2p_4_out: qcom,smp2pgpio-smp2p-4-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <4>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - smp2pgpio_ssr_smp2p_4_in: qcom,smp2pgpio-ssr-smp2p-4-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "slave-kernel"; - qcom,remote-pid = <4>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - smp2pgpio_ssr_smp2p_4_out: qcom,smp2pgpio-ssr-smp2p-4-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "master-kernel"; - qcom,remote-pid = <4>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_4_out { - compatible = "qcom,smp2pgpio_test_smp2p_4_out"; - gpios = <&smp2pgpio_smp2p_4_out 0 0>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/msm8610.dtsi b/kernel/arch/arm/boot/dts/lte_module-v1/msm8610.dtsi deleted file mode 100755 index a62df58d9..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/msm8610.dtsi +++ /dev/null @@ -1,1075 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/include/ "skeleton.dtsi" - -/ { - model = "Qualcomm MSM 8610"; - compatible = "qcom,msm8610"; - interrupt-parent = <&intc>; - - memory { - qsecom_mem: qsecom_region { - linux,contiguous-region; - reg = <0 0x100000>; - label = "qsecom_mem"; - }; - }; - - aliases { - sdhc1 = &sdhc_1; /* SDC1 eMMC slot */ - sdhc2 = &sdhc_2; /* SDC2 SD card slot */ - spi4 = &spi_4; - }; - - soc: soc { }; -}; - -/include/ "msm8610-camera.dtsi" -/include/ "msm-iommu-v0.dtsi" -/include/ "msm8610-ion.dtsi" -/include/ "msm8610-gpu.dtsi" -/include/ "msm-gdsc.dtsi" -/include/ "msm8610-coresight.dtsi" -/include/ "msm8610-pm.dtsi" -/include/ "msm8610-smp2p.dtsi" -/include/ "msm8610-bus.dtsi" -/include/ "msm8610-mdss.dtsi" - -&soc { - #address-cells = <1>; - #size-cells = <1>; - ranges; - - intc: interrupt-controller@f9000000 { - compatible = "qcom,msm-qgic2"; - interrupt-controller; - #interrupt-cells = <3>; - reg = <0xf9000000 0x1000>, - <0xf9002000 0x1000>; - }; - - msmgpio: gpio@fd510000 { - compatible = "qcom,msm-gpio"; - interrupt-controller; - #interrupt-cells = <2>; - reg = <0xfd510000 0x4000>; - gpio-controller; - #gpio-cells = <2>; - ngpio = <102>; - interrupts = <0 208 0>; - qcom,direct-connect-irqs = <8>; - }; - - qcom,mpm2-sleep-counter@fc4a3000 { - compatible = "qcom,mpm2-sleep-counter"; - reg = <0xfc4a3000 0x1000>; - clock-frequency = <32768>; - }; - - timer { - compatible = "arm,armv7-timer"; - interrupts = <1 2 0 1 3 0>; - clock-frequency = <19200000>; - }; - - 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 8 0x4>, - <0 7 0x4>; - reg = <0xf9021000 0x1000>, - <0xf9022000 0x1000>; - }; - - frame@f9023000 { - frame-number = <1>; - interrupts = <0 9 0x4>; - reg = <0xf9023000 0x1000>; - status = "disabled"; - }; - - frame@f9024000 { - frame-number = <2>; - interrupts = <0 10 0x4>; - reg = <0xf9024000 0x1000>; - status = "disabled"; - }; - - frame@f9025000 { - frame-number = <3>; - interrupts = <0 11 0x4>; - reg = <0xf9025000 0x1000>; - status = "disabled"; - }; - - frame@f9026000 { - frame-number = <4>; - interrupts = <0 12 0x4>; - reg = <0xf9026000 0x1000>; - status = "disabled"; - }; - - frame@f9027000 { - frame-number = <5>; - interrupts = <0 13 0x4>; - reg = <0xf9027000 0x1000>; - status = "disabled"; - }; - - frame@f9028000 { - frame-number = <6>; - interrupts = <0 14 0x4>; - reg = <0xf9028000 0x1000>; - status = "disabled"; - }; - }; - - qcom,msm-adsp-loader { - compatible = "qcom,adsp-loader"; - qcom,adsp-state = <0>; - }; - - qcom,msm-audio-ion { - compatible = "qcom,msm-audio-ion"; - qcom,smmu-enabled; - }; - - qcom,msm-imem@fe805000 { - compatible = "qcom,msm-imem"; - reg = <0xfe805000 0x1000>; /* Address and size of IMEM */ - }; - - serial@f991f000 { - compatible = "qcom,msm-lsuart-v14"; - reg = <0xf991f000 0x1000>; - interrupts = <0 109 0>; - status = "disabled"; - }; - - serial@f991e000 { - compatible = "qcom,msm-lsuart-v14"; - reg = <0xf991e000 0x1000>; - interrupts = <0 108 0>; - status = "disabled"; - }; - - qcom,vidc@fdc00000 { - compatible = "qcom,msm-vidc"; - qcom,vidc-ns-map = <0x40000000 0x40000000>; - qcom,iommu-groups = <&q6_domain_ns>; - qcom,iommu-group-buffer-types = <0xfff>; - qcom,buffer-type-tz-usage-map = <0x1 0x1>, - <0x1fe 0x2>; - qcom,hfi = "q6"; - qcom,max-hw-load = <108000>; /* 720p @ 30 * 1 */ - }; - - qcom,usbbam@f9a44000 { - compatible = "qcom,usb-bam-msm"; - reg = <0xf9a44000 0x11000>; - reg-names = "hsusb"; - interrupts = <0 135 0>; - interrupt-names = "hsusb"; - qcom,usb-bam-num-pipes = <16>; - qcom,usb-bam-fifo-baseaddr = <0xfe803000>; - qcom,ignore-core-reset-ack; - qcom,disable-clk-gating; - - qcom,pipe0 { - label = "hsusb-qdss-in-0"; - qcom,usb-bam-mem-type = <3>; - qcom,bam-type = <1>; - 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 = <0xf9a44000>; - qcom,dst-bam-pipe-index = <2>; - qcom,data-fifo-offset = <0x0>; - qcom,data-fifo-size = <0x600>; - qcom,descriptor-fifo-offset = <0x600>; - qcom,descriptor-fifo-size = <0x200>; - }; - }; - - usb@f9a55000 { - compatible = "qcom,hsusb-otg"; - reg = <0xf9a55000 0x400>; - interrupts = <0 134 0>, <0 140 0>; - interrupt-names = "core_irq", "async_irq"; - HSUSB_VDDCX-supply = <&pm8110_s1>; - HSUSB_1p8-supply = <&pm8110_l10>; - HSUSB_3p3-supply = <&pm8110_l20>; - - qcom,hsusb-otg-phy-type = <2>; - qcom,hsusb-otg-mode = <1>; - qcom,hsusb-otg-otg-control = <2>; - qcom,hsusb-otg-disable-reset; - qcom,dp-manual-pullup; - - qcom,msm-bus,name = "usb2"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,active-only = <0>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <87 512 0 0>, - <87 512 60000 960000>; - }; - - android_usb@fe8050c8 { - compatible = "qcom,android-usb"; - reg = <0xfe8050c8 0xc8>; - }; - - sdcc1: qcom,sdcc@f9824000 { - cell-index = <1>; /* SDC1 eMMC slot */ - compatible = "qcom,msm-sdcc"; - reg = <0xf9824000 0x800>, - <0xf9824800 0x100>, - <0xf9804000 0x7000>; - reg-names = "core_mem", "dml_mem", "bam_mem"; - interrupts = <0 123 0>, <0 137 0>; - interrupt-names = "core_irq", "bam_irq"; - - vdd-supply = <&pm8110_l17>; - qcom,vdd-always-on; - qcom,vdd-lpm-sup; - qcom,vdd-voltage-level = <2900000 2900000>; - qcom,vdd-current-level = <9000 400000>; - - vdd-io-supply = <&pm8110_l6>; - qcom,vdd-io-always-on; - qcom,vdd-io-lpm-sup; - qcom,vdd-io-voltage-level = <1800000 1800000>; - qcom,vdd-io-current-level = <9000 60000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - qcom,sup-voltages = <2900 2900>; - qcom,bus-width = <8>; - qcom,nonremovable; - qcom,bus-speed-mode = "HS200_1p8v", "DDR_1p8v"; - - status = "disabled"; - }; - - sdcc2: qcom,sdcc@f98a4000 { - cell-index = <2>; /* SDC2 SD card slot */ - compatible = "qcom,msm-sdcc"; - reg = <0xf98a4000 0x800>, - <0xf98a4800 0x100>, - <0xf9884000 0x7000>; - reg-names = "core_mem", "dml_mem", "bam_mem"; - interrupts = <0 125 0>, <0 220 0>; - interrupt-names = "core_irq", "bam_irq"; - - vdd-supply = <&pm8110_l18>; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <9000 400000>; - - vdd-io-supply = <&pm8110_l21>; - qcom,vdd-io-voltage-level = <1800000 2950000>; - qcom,vdd-io-current-level = <9000 50000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - qcom,sup-voltages = <2950 2950>; - qcom,bus-width = <4>; - qcom,xpc; - qcom,bus-speed-mode = "SDR12", "SDR25", "SDR50", "DDR50", "SDR104"; - qcom,current-limit = <800>; - - status = "disabled"; - }; - - sdhc_1: sdhci@f9824900 { - compatible = "qcom,sdhci-msm"; - reg = <0xf9824900 0x11c>, <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>; - 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"; - - qcom,bus-width = <4>; - status = "disabled"; - }; - - qcom,sps { - compatible = "qcom,msm_sps"; - qcom,device-type = <3>; - }; - - qcom,smem@d900000 { - compatible = "qcom,smem"; - reg = <0xd900000 0x100000>, - <0xf9011000 0x1000>, - <0xfc428000 0x4000>; - reg-names = "smem", "irq-reg-base", "aux-mem1"; - - qcom,smd-modem { - compatible = "qcom,smd"; - qcom,smd-edge = <0>; - qcom,smd-irq-offset = <0x8>; - qcom,smd-irq-bitmask = <0x1000>; - qcom,pil-string = "modem"; - interrupts = <0 25 1>; - }; - - qcom,smsm-modem { - compatible = "qcom,smsm"; - qcom,smsm-edge = <0>; - qcom,smsm-irq-offset = <0x8>; - qcom,smsm-irq-bitmask = <0x2000>; - interrupts = <0 26 1>; - }; - - qcom,smd-adsp { - compatible = "qcom,smd"; - qcom,smd-edge = <1>; - qcom,smd-irq-offset = <0x8>; - qcom,smd-irq-bitmask = <0x100>; - qcom,pil-string = "adsp"; - interrupts = <0 156 1>; - }; - - qcom,smsm-adsp { - compatible = "qcom,smsm"; - qcom,smsm-edge = <1>; - qcom,smsm-irq-offset = <0x8>; - qcom,smsm-irq-bitmask = <0x200>; - interrupts = <0 157 1>; - }; - - qcom,smd-wcnss { - compatible = "qcom,smd"; - qcom,smd-edge = <6>; - qcom,smd-irq-offset = <0x8>; - qcom,smd-irq-bitmask = <0x20000>; - qcom,pil-string = "wcnss"; - interrupts = <0 142 1>; - }; - - qcom,smsm-wcnss { - compatible = "qcom,smsm"; - qcom,smsm-edge = <6>; - qcom,smsm-irq-offset = <0x8>; - qcom,smsm-irq-bitmask = <0x80000>; - interrupts = <0 144 1>; - }; - - qcom,smd-rpm { - compatible = "qcom,smd"; - qcom,smd-edge = <15>; - qcom,smd-irq-offset = <0x8>; - qcom,smd-irq-bitmask = <0x1>; - interrupts = <0 168 1>; - qcom,irq-no-suspend; - }; - }; - - rpm_bus: qcom,rpm-smd { - compatible = "qcom,rpm-smd"; - rpm-channel-name = "rpm_requests"; - rpm-channel-type = <15>; /* SMD_APPS_RPM */ - rpm-standalone; - }; - - qcom,bcl { - compatible = "qcom,bcl"; - }; - - qcom,msm-mem-hole { - compatible = "qcom,msm-mem-hole"; - qcom,memblock-remove = <0x07B00000 0x6400000>; /* Address and Size of Hole */ - }; - - qcom,wdt@f9017000 { - compatible = "qcom,msm-watchdog"; - reg = <0xf9017000 0x1000>; - interrupts = <0 3 0>, <0 4 0>; - qcom,bark-time = <11000>; - qcom,pet-time = <10000>; - qcom,ipi-ping; - }; - - qcom,acpuclk@f9011050 { - compatible = "qcom,acpuclk-a7"; - reg = <0xf9011050 0x8>; - reg-names = "rcg_base"; - a7_cpu-supply = <&apc_vreg_corner>; - }; - - spmi_bus: qcom,spmi@fc4c0000 { - cell-index = <0>; - 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-ee = <0>; - qcom,pmic-arb-channel = <0>; - }; - - i2c@f9923000 { /* BLSP-1 QUP-1 */ - cell-index = <1>; - compatible = "qcom,i2c-qup"; - #address-cells = <1>; - #size-cells = <0>; - reg-names = "qup_phys_addr"; - reg = <0xf9923000 0x1000>; - interrupt-names = "qup_err_intr"; - interrupts = <0 95 0>; - qcom,i2c-bus-freq = <100000>; - qcom,i2c-src-freq = <19200000>; - qcom,sda-gpio = <&msmgpio 2 0>; - qcom,scl-gpio = <&msmgpio 3 0>; - }; - - i2c_cdc: i2c@f9927000 { /* BLSP1 QUP5 */ - cell-index = <5>; - compatible = "qcom,i2c-qup"; - #address-cells = <1>; - #size-cells = <0>; - reg-names = "qup_phys_addr"; - reg = <0xf9927000 0x1000>; - interrupt-names = "qup_err_intr"; - interrupts = <0 99 0>; - qcom,i2c-bus-freq = <100000>; - }; - - i2c: i2c@f9928000 { /* BLSP1 QUP6 */ - cell-index = <6>; - compatible = "qcom,i2c-qup"; - #address-cells = <1>; - #size-cells = <0>; - reg-names = "qup_phys_addr"; - reg = <0xf9928000 0x1000>; - interrupt-names = "qup_err_intr"; - interrupts = <0 100 0>; - qcom,i2c-bus-freq = <100000>; - qcom,i2c-src-freq = <19200000>; - qcom,sda-gpio = <&msmgpio 16 0>; - qcom,scl-gpio = <&msmgpio 17 0>; - }; - - i2c@f9925000 { /* BLSP-1 QUP-3 */ - cell-index = <0>; - compatible = "qcom,i2c-qup"; - #address-cells = <1>; - #size-cells = <0>; - reg-names = "qup_phys_addr"; - reg = <0xf9925000 0x1000>; - interrupt-names = "qup_err_intr"; - interrupts = <0 97 0>; - qcom,i2c-bus-freq = <100000>; - }; - - spi_4: spi@f9926000 { /* BLSP1 QUP4 */ - compatible = "qcom,spi-qup-v2"; - #address-cells = <1>; - #size-cells = <0>; - reg-names = "spi_physical", "spi_bam_physical"; - reg = <0xf9926000 0x1000>, - <0xf9904000 0x15000>; - interrupt-names = "spi_irq", "spi_bam_irq"; - interrupts = <0 98 0>, <0 238 0>; - spi-max-frequency = <50000000>; - - gpios = <&msmgpio 89 0>, /* CLK */ - <&msmgpio 87 0>, /* MISO */ - <&msmgpio 86 0>; /* MOSI */ - cs-gpios = <&msmgpio 88 0>; - - qcom,infinite-mode = <0>; - qcom,use-bam; - qcom,ver-reg-exists; - qcom,bam-consumer-pipe-index = <18>; - qcom,bam-producer-pipe-index = <19>; - }; - - qcom,pronto@fb21b000 { - compatible = "qcom,pil-pronto"; - reg = <0xfb21b000 0x3000>, - <0xfc401700 0x4>, - <0xfd485300 0xc>; - reg-names = "pmu_base", "clk_base", "halt_base"; - interrupts = <0 149 1>; - vdd_pronto_pll-supply = <&pm8110_l10>; - - qcom,firmware-name = "wcnss"; - - /* GPIO inputs from wcnss */ - qcom,gpio-err-fatal = <&smp2pgpio_ssr_smp2p_4_in 0 0>; - qcom,gpio-err-ready = <&smp2pgpio_ssr_smp2p_4_in 1 0>; - qcom,gpio-proxy-unvote = <&smp2pgpio_ssr_smp2p_4_in 2 0>; - - /* GPIO output to wcnss */ - qcom,gpio-force-stop = <&smp2pgpio_ssr_smp2p_4_out 0 0>; - }; - - qcom,iris-fm { - compatible = "qcom,iris_fm"; - }; - - sound { - compatible = "qcom,msm8x10-audio-codec"; - qcom,model = "msm8x10-snd-card"; - }; - - qcom,msm-pcm { - compatible = "qcom,msm-pcm-dsp"; - qcom,msm-pcm-dsp-id = <0>; - }; - - qcom,msm-pcm-low-latency { - compatible = "qcom,msm-pcm-dsp"; - qcom,msm-pcm-dsp-id = <1>; - qcom,msm-pcm-low-latency; - }; - - qcom,msm-pcm-routing { - compatible = "qcom,msm-pcm-routing"; - }; - - qcom,msm-pcm-lpa { - compatible = "qcom,msm-pcm-lpa"; - }; - - qcom,msm-compr-dsp { - compatible = "qcom,msm-compr-dsp"; - }; - - qcom,msm-voip-dsp { - compatible = "qcom,msm-voip-dsp"; - }; - - qcom,msm-pcm-voice { - compatible = "qcom,msm-pcm-voice"; - }; - - qcom,msm-stub-codec { - compatible = "qcom,msm-stub-codec"; - }; - - qcom,msm-dai-fe { - compatible = "qcom,msm-dai-fe"; - }; - - qcom,msm-pcm-afe { - compatible = "qcom,msm-pcm-afe"; - }; - - qcom,msm-dai-mi2s { - compatible = "qcom,msm-dai-mi2s"; - qcom,msm-dai-q6-mi2s-prim { - compatible = "qcom,msm-dai-q6-mi2s"; - qcom,msm-dai-q6-mi2s-dev-id = <0>; - qcom,msm-mi2s-rx-lines = <0>; - qcom,msm-mi2s-tx-lines = <3>; - }; - - qcom,msm-dai-q6-mi2s-sec { - compatible = "qcom,msm-dai-q6-mi2s"; - qcom,msm-dai-q6-mi2s-dev-id = <1>; - qcom,msm-mi2s-rx-lines = <3>; - qcom,msm-mi2s-tx-lines = <0>; - }; - }; - - qcom,msm-dai-q6 { - compatible = "qcom,msm-dai-q6"; - qcom,msm-dai-q6-bt-sco-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <12288>; - }; - - qcom,msm-dai-q6-bt-sco-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <12289>; - }; - - qcom,msm-dai-q6-int-fm-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <12292>; - }; - - qcom,msm-dai-q6-int-fm-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <12293>; - }; - - qcom,msm-dai-q6-be-afe-pcm-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <224>; - }; - - qcom,msm-dai-q6-be-afe-pcm-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <225>; - }; - - qcom,msm-dai-q6-afe-proxy-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <241>; - }; - - qcom,msm-dai-q6-afe-proxy-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <240>; - }; - - qcom,msm-dai-q6-incall-record-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <32771>; - }; - - qcom,msm-dai-q6-incall-record-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <32772>; - }; - - qcom,msm-dai-q6-incall-music-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <32773>; - }; - }; - - qcom,msm-pcm-hostless { - compatible = "qcom,msm-pcm-hostless"; - }; - - qcom,wcnss-wlan@fb000000 { - compatible = "qcom,wcnss_wlan"; - reg = <0xfb000000 0x280000>, - <0xf9011008 0x04>; - reg-names = "wcnss_mmio", "wcnss_fiq"; - interrupts = <0 145 0>, <0 146 0>; - interrupt-names = "wcnss_wlantx_irq", "wcnss_wlanrx_irq"; - - qcom,pronto-vddmx-supply = <&pm8110_l3>; - qcom,pronto-vddcx-supply = <&pm8110_s1>; - qcom,pronto-vddpx-supply = <&pm8110_l6>; - qcom,iris-vddxo-supply = <&pm8110_l10>; - qcom,iris-vddrfa-supply = <&pm8110_l5>; - qcom,iris-vddpa-supply = <&pm8110_l16>; - qcom,iris-vdddig-supply = <&pm8110_l5>; - - gpios = <&msmgpio 23 0>, <&msmgpio 24 0>, <&msmgpio 25 0>, <&msmgpio 26 0>, <&msmgpio 27 0>; - qcom,has-pronto-hw; - qcom,wlan-rx-buff-count = <256>; - }; - - qcom,mss@fc880000 { - compatible = "qcom,pil-q6v5-mss"; - reg = <0xfc880000 0x100>, - <0xfd485000 0x400>, - <0xfc820000 0x020>, - <0xfc401680 0x004>, - <0xfd485194 0x4>; - reg-names = "qdsp6_base", "halt_base", "rmb_base", - "restart_reg", "cxrail_bhs_reg"; - - interrupts = <0 24 1>; - vdd_cx-supply = <&pm8110_s1_corner>; - vdd_mx-supply = <&pm8110_l3>; - vdd_pll-supply = <&pm8110_l10>; - qcom,vdd_pll = <1800000>; - qcom,is-loadable; - qcom,firmware-name = "mba"; - qcom,pil-self-auth; - - /* 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>; - }; - - qcom,lpass@fe200000 { - compatible = "qcom,pil-q6v5-lpass"; - reg = <0xfe200000 0x00100>, - <0xfd485100 0x00010>, - <0xfc4016c0 0x00004>; - reg-names = "qdsp6_base", "halt_base", "restart_reg"; - interrupts = <0 162 1>; - vdd_cx-supply = <&pm8110_s1_corner>; - 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>; - - /* GPIO output to lpass */ - qcom,gpio-force-stop = <&smp2pgpio_ssr_smp2p_2_out 0 0>; - }; - - tsens: tsens@fc4a8000 { - compatible = "qcom,msm-tsens"; - reg = <0xfc4a8000 0x2000>, - <0xfc4b8000 0x1000>; - reg-names = "tsens_physical", "tsens_eeprom_physical"; - interrupts = <0 184 0>; - qcom,sensors = <2>; - qcom,slope = <2901 2846>; - qcom,calib-mode = "fuse_map3"; - qcom,sensor-id = <0 5>; - }; - - qcom,msm-thermal { - compatible = "qcom,msm-thermal"; - qcom,sensor-id = <5>; - qcom,poll-ms = <250>; - qcom,limit-temp = <60>; - qcom,temp-hysteresis = <10>; - qcom,freq-step = <2>; - qcom,freq-control-mask = <0xf>; - }; - - qcom,ipc-spinlock@fd484000 { - compatible = "qcom,ipc-spinlock-sfpb"; - reg = <0xfd484000 0x400>; - qcom,num-locks = <8>; - }; - - qcom,bam_dmux@fc834000 { - compatible = "qcom,bam_dmux"; - reg = <0xfc834000 0x7000>; - interrupts = <0 29 1>; - }; - - qcom,qseecom@7B00000 { - compatible = "qcom,qseecom"; - reg = <0x7B00000 0x500000>; - reg-names = "secapp-region"; - qcom,disk-encrypt-pipe-pair = <2>; - qcom,hlos-ce-hw-instance = <0>; - qcom,qsee-ce-hw-instance = <0>; - qcom,msm-bus,name = "qseecom-noc"; - qcom,msm-bus,num-cases = <4>; - qcom,msm-bus,active-only = <0>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <55 512 0 0>, - <55 512 3936000 393600>, - <55 512 3936000 393600>, - <55 512 3936000 393600>; - }; - - qcom,msm-rng@f9bff000 { - compatible = "qcom,msm-rng"; - reg = <0xf9bff000 0x200>; - qcom,msm-rng-iface-clk; - }; - - qcom,msm-rtb { - compatible = "qcom,msm-rtb"; - qcom,memory-reservation-type = "EBI1"; - qcom,memory-reservation-size = <0x100000>; /* 1M EBI1 buffer */ - }; - - jtag_mm0: jtagmm@fc34c000 { - compatible = "qcom,jtag-mm"; - reg = <0xfc34c000 0x1000>, - <0xfc340000 0x1000>; - reg-names = "etm-base","debug-base"; - }; - - jtag_mm1: jtagmm@fc34d000 { - compatible = "qcom,jtag-mm"; - reg = <0xfc34d000 0x1000>, - <0xfc342000 0x1000>; - reg-names = "etm-base","debug-base"; - }; - - jtag_mm2: jtagmm@fc34e000 { - compatible = "qcom,jtag-mm"; - reg = <0xfc34e000 0x1000>, - <0xfc344000 0x1000>; - reg-names = "etm-base","debug-base"; - }; - - jtag_mm3: jtagmm@fc34f000 { - compatible = "qcom,jtag-mm"; - reg = <0xfc34f000 0x1000>, - <0xfc346000 0x1000>; - reg-names = "etm-base","debug-base"; - }; - - qcom,tz-log@fe805720 { - compatible = "qcom,tz-log"; - reg = <0x0fe805720 0x1000>; - }; - - qcom,qcrypto@fd404000 { - compatible = "qcom,qcrypto"; - reg = <0xfd400000 0x20000>, - <0xfd404000 0x8000>; - reg-names = "crypto-base","crypto-bam-base"; - interrupts = <0 207 0>; - qcom,bam-pipe-pair = <2>; - qcom,ce-hw-instance = <1>; - qcom,ce-hw-shared; - qcom,msm-bus,name = "qcrypto-noc"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,active-only = <0>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <55 512 0 0>, - <55 512 393600 3936000>; - }; - - qcom,qcedev@fd400000 { - compatible = "qcom,qcedev"; - reg = <0xfd400000 0x20000>, - <0xfd404000 0x8000>; - reg-names = "crypto-base","crypto-bam-base"; - interrupts = <0 207 0>; - qcom,bam-pipe-pair = <1>; - qcom,ce-hw-instance = <1>; - qcom,ce-hw-shared; - qcom,msm-bus,name = "qcedev-noc"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,active-only = <0>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <55 512 0 0>, - <55 512 393600 3936000>; - }; - -}; - -&gdsc_vfe { - status = "ok"; -}; - -&gdsc_oxili_cx { - status = "ok"; -}; - -&lpass_iommu { - status = "ok"; -}; - -&copss_iommu { - status = "ok"; -}; - -&mdpe_iommu { - status = "ok"; -}; - -&mdps_iommu { - status = "ok"; -}; - -&gfx_iommu { - status = "ok"; -}; - -&vfe_iommu { - status = "ok"; -}; - -/include/ "msm8610-iommu-domains.dtsi" - -/include/ "msm-pm8110-rpm-regulator.dtsi" -/include/ "msm-pm8110.dtsi" -/include/ "msm8610-regulator.dtsi" - -&pm8110_vadc { - chan@0 { - label = "usb_in"; - reg = <0>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <4>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@2 { - label = "vchg_sns"; - reg = <2>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <2>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@5 { - label = "vcoin"; - reg = <5>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <1>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@6 { - label = "vbat_sns"; - reg = <6>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <1>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@7 { - label = "vph_pwr"; - reg = <7>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <1>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@30 { - label = "batt_therm"; - reg = <0x30>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <1>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@31 { - label = "batt_id"; - reg = <0x31>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@b2 { - label = "xo_therm_pu2"; - reg = <0xb2>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <4>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@13 { - label = "pa_therm0"; - reg = <0x13>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; -}; - -&pm8110_adc_tm { - /* Channel Node */ - chan@30 { - label = "batt_therm"; - reg = <0x30>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <1>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <3>; - qcom,btm-channel-number = <0x48>; - }; - - chan@8 { - label = "die_temp"; - reg = <8>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <3>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <3>; - qcom,btm-channel-number = <0x68>; - }; - - chan@6 { - label = "vbat_sns"; - reg = <6>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <1>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <3>; - qcom,btm-channel-number = <0x70>; - }; - - chan@13 { - label = "pa_therm0"; - reg = <0x13>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - qcom,btm-channel-number = <0x78>; - qcom,thermal-node; - }; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/msm8660-surf.dts b/kernel/arch/arm/boot/dts/lte_module-v1/msm8660-surf.dts deleted file mode 100755 index 4518fc4a3..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/msm8660-surf.dts +++ /dev/null @@ -1,24 +0,0 @@ -/dts-v1/; - -/include/ "skeleton.dtsi" - -/ { - model = "Qualcomm MSM8660 SURF"; - compatible = "qcom,msm8660-surf", "qcom,msm8660", "qcom,surf"; - interrupt-parent = <&intc>; - - intc: interrupt-controller@02080000 { - compatible = "qcom,msm-8660-qgic"; - interrupt-controller; - #interrupt-cells = <3>; - reg = < 0x02080000 0x1000 >, - < 0x02081000 0x1000 >; - }; - - serial@19c400000 { - compatible = "qcom,msm-hsuart", "qcom,msm-uart"; - reg = <0x19c40000 0x1000>, - <0x19c00000 0x1000>; - interrupts = <0 195 0x0>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/msm8926-cdp.dts b/kernel/arch/arm/boot/dts/lte_module-v1/msm8926-cdp.dts deleted file mode 100755 index 7a91d40ee..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/msm8926-cdp.dts +++ /dev/null @@ -1,22 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - - -/dts-v1/; -/include/ "msm8926.dtsi" -/include/ "msm8226-cdp.dtsi" - -/ { - model = "Qualcomm MSM 8926 CDP"; - compatible = "qcom,msm8926-cdp", "qcom,msm8926", "qcom,cdp"; - qcom,msm-id = <200 1 0>; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/msm8926-mtp.dts b/kernel/arch/arm/boot/dts/lte_module-v1/msm8926-mtp.dts deleted file mode 100755 index fea925d62..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/msm8926-mtp.dts +++ /dev/null @@ -1,22 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - - -/dts-v1/; -/include/ "msm8926.dtsi" -/include/ "msm8226-mtp.dtsi" - -/ { - model = "Qualcomm MSM 8926 MTP"; - compatible = "qcom,msm8926-mtp", "qcom,msm8926", "qcom,mtp"; - qcom,msm-id = <200 8 0>; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/msm8926-qrd.dts b/kernel/arch/arm/boot/dts/lte_module-v1/msm8926-qrd.dts deleted file mode 100755 index e056b7e87..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/msm8926-qrd.dts +++ /dev/null @@ -1,21 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; -/include/ "msm8926.dtsi" -/include/ "msm8226-qrd.dtsi" - -/ { - model = "Qualcomm MSM 8926 QRD"; - compatible = "qcom,msm8926-qrd", "qcom,msm8926", "qcom,qrd"; - qcom,msm-id = <200 11 0>; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/msm8926.dtsi b/kernel/arch/arm/boot/dts/lte_module-v1/msm8926.dtsi deleted file mode 100755 index 6f3f59251..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/msm8926.dtsi +++ /dev/null @@ -1,30 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/* - * Only 8926-specific property overrides should be placed inside this - * file. Device definitions should be placed inside the msm8226.dtsi - * file. - */ - -/include/ "msm8226.dtsi" - -/ { - model = "Qualcomm MSM 8926"; - compatible = "qcom,msm8926"; -}; - -&soc { - qcom,mss@fc880000 { - vdd_mss-supply = <&pm8226_s5>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/msm8974-bus.dtsi b/kernel/arch/arm/boot/dts/lte_module-v1/msm8974-bus.dtsi deleted file mode 100755 index 609a1b302..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/msm8974-bus.dtsi +++ /dev/null @@ -1,1411 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -&soc { - msm-mmss-noc@fc478000 { - compatible = "msm-bus-fabric"; - reg = <0xfc478000 0x00004000>; - cell-id = <2048>; - label = "msm_mmss_noc"; - qcom,fabclk-dual = "bus_clk"; - qcom,fabclk-active = "bus_a_clk"; - qcom,ntieredslaves = <0>; - qcom,qos-freq = <4800>; - qcom,hw-sel = "NoC"; - qcom,rpm-en; - - coresight-id = <52>; - coresight-name = "coresight-mnoc"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_in0>; - coresight-child-ports = <5>; - - mas-gfx3d { - cell-id = <26>; - label = "mas-gfx3d"; - qcom,masterp = <2 3>; - qcom,tier = <2>; - qcom,hw-sel = "NoC"; - qcom,perm-mode = "Bypass"; - qcom,mode = "Bypass"; - qcom,ws = <10000>; - qcom,qport = <2 3>; - qcom,mas-hw-id = <6>; - }; - - mas-jpeg { - cell-id = <62>; - label = "mas-jpeg"; - qcom,masterp = <4>; - qcom,tier = <2>; - qcom,hw-sel = "NoC"; - qcom,perm-mode = "Bypass"; - qcom,mode = "Bypass"; - qcom,qport = <0>; - qcom,ws = <10000>; - qcom,mas-hw-id = <7>; - }; - - mas-mdp-port0 { - cell-id = <22>; - label = "mas-mdp-port0"; - qcom,masterp = <5>; - qcom,tier = <2>; - qcom,hw-sel = "NoC"; - qcom,perm-mode = "Bypass"; - qcom,mode = "Bypass"; - qcom,qport = <1>; - qcom,ws = <10000>; - qcom,mas-hw-id = <8>; - }; - - mas-video-p0 { - cell-id = <63>; - label = "mas-video-p0"; - qcom,masterp = <6 7>; - qcom,tier = <2>; - qcom,hw-sel = "NoC"; - qcom,perm-mode = "Bypass"; - qcom,mode = "Bypass"; - qcom,ws = <10000>; - qcom,qport = <4 5>; - qcom,mas-hw-id = <9>; - }; - - mas-vfe { - cell-id = <29>; - label = "mas-vfe"; - qcom,masterp = <16>; - qcom,tier = <2>; - qcom,hw-sel = "NoC"; - qcom,perm-mode = "Bypass"; - qcom,mode = "Bypass"; - qcom,ws = <10000>; - qcom,qport = <6>; - qcom,mas-hw-id = <11>; - }; - - fab-cnoc { - cell-id = <5120>; - label = "fab-cnoc"; - qcom,gateway; - qcom,masterp = <0 1>; - qcom,buswidth = <16>; - qcom,hw-sel = "RPM"; - qcom,mas-hw-id = <4>; - }; - - fab-bimc { - cell-id = <0>; - label = "fab-bimc"; - qcom,gateway; - qcom,slavep = <16 17>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <16>; - }; - - slv-camera-cfg { - cell-id = <589>; - label = "slv-camera-cfg"; - qcom,slavep = <0>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <3>; - }; - - slv-display-cfg { - cell-id = <590>; - label = "slv-display-cfg"; - qcom,slavep = <1>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <4>; - }; - - slv-ocmem-cfg { - cell-id = <591>; - label = "slv-ocmem-cfg"; - qcom,slavep = <2>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <5>; - }; - - slv-cpr-cfg { - cell-id = <592>; - label = "slv-cpr-cfg"; - qcom,slavep = <3>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <6>; - }; - - slv-cpr-xpu-cfg { - cell-id = <593>; - label = "slv-cpr-xpu-cfg"; - qcom,slavep = <4>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <7>; - }; - - slv-misc-cfg { - cell-id = <594>; - label = "slv-misc-cfg"; - qcom,slavep = <6>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <8>; - }; - - slv-misc-xpu-cfg { - cell-id = <595>; - label = "slv-misc-xpu-cfg"; - qcom,slavep = <7>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <9>; - }; - - slv-venus-cfg { - cell-id = <596>; - label = "slv-venus-cfg"; - qcom,slavep = <8>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <10>; - }; - - slv-gfx3d-cfg { - cell-id = <598>; - label = "slv-gfx3d-cfg"; - qcom,slavep = <9>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <11>; - }; - - slv-mmss-clk-cfg { - cell-id = <599>; - label = "slv-mmss-clk-cfg"; - qcom,slavep = <11>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <12>; - }; - - slv-mmss-clk-xpu-cfg { - cell-id = <600>; - label = "slv-mmss-clk-xpu-cfg"; - qcom,slavep = <12>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <13>; - }; - - slv-mnoc-mpu-cfg { - cell-id = <601>; - label = "slv-mnoc-mpu-cfg"; - qcom,slavep = <13>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <14>; - }; - - slv-onoc-mpu-cfg { - cell-id = <602>; - label = "slv-onoc-mpu-cfg"; - qcom,slavep = <14>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <15>; - }; - - slv-service-mnoc { - cell-id = <603>; - label = "slv-service-mnoc"; - qcom,slavep = <18>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <17>; - }; - - }; - - msm-sys-noc@fc460000 { - compatible = "msm-bus-fabric"; - reg = <0xfc460000 0x00004000>; - cell-id = <1024>; - label = "msm_sys_noc"; - qcom,fabclk-dual = "bus_clk"; - qcom,fabclk-active = "bus_a_clk"; - qcom,ntieredslaves = <0>; - qcom,qos-freq = <4800>; - qcom,hw-sel = "NoC"; - qcom,rpm-en; - - coresight-id = <50>; - coresight-name = "coresight-snoc"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_in0>; - coresight-child-ports = <3>; - - msm-lpass-ahb { - cell-id = <52>; - label = "mas-lpass-ahb"; - qcom,masterp = <0>; - qcom,tier = <2>; - qcom,qport = <0>; - qcom,mas-hw-id = <18>; - qcom,mode = "Fixed"; - qcom,prio1 = <2>; - qcom,prio0 = <2>; - }; - - mas-qdss-bam { - cell-id = <53>; - label = "mas-qdss-bam"; - qcom,masterp = <1>; - qcom,tier = <2>; - qcom,mode = "Fixed"; - qcom,qport = <1>; - qcom,mas-hw-id = <19>; - qcom,prio1 = <1>; - qcom,prio0 = <1>; - qcom,hw-sel = "NoC"; - }; - - mas-snoc-cfg { - cell-id = <54>; - label = "mas-snoc-cfg"; - qcom,masterp = <2>; - qcom,tier = <2>; - qcom,mas-hw-id = <20>; - }; - - fab-bimc { - cell-id = <0>; - label= "fab-bimc"; - qcom,gateway; - qcom,slavep = <7 8>; - qcom,masterp = <3>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <21>; - qcom,slv-hw-id = <24>; - }; - - fab-cnoc { - cell-id = <5120>; - label = "fab-cnoc"; - qcom,gateway; - qcom,slavep = <9>; - qcom,masterp = <4>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <22>; - qcom,slv-hw-id = <25>; - }; - - fab-pnoc { - cell-id = <4096>; - label = "fab-pnoc"; - qcom,gateway; - qcom,slavep = <12>; - qcom,masterp = <11>; - qcom,buswidth = <8>; - qcom,qport = <8>; - qcom,mas-hw-id = <29>; - qcom,slv-hw-id = <28>; - qcom,mode = "Fixed"; - qcom,prio1 = <2>; - qcom,prio0 = <2>; - }; - - fab-ovnoc { - cell-id = <6144>; - label = "fab-ovnoc"; - qcom,gateway; - qcom,buswidth = <8>; - qcom,mas-hw-id = <53>; - qcom,slv-hw-id = <77>; - }; - - mas-crypto-core0 { - cell-id = <55>; - label = "mas-crypto-core0"; - qcom,masterp = <5>; - qcom,tier = <2>; - qcom,mode = "Fixed"; - qcom,qport = <2>; - qcom,mas-hw-id = <23>; - qcom,hw-sel = "NoC"; - qcom,prio1 = <1>; - qcom,prio0 = <1>; - }; - - mas-crypto-core1 { - cell-id = <56>; - label = "mas-crypto-core1"; - qcom,masterp = <6>; - qcom,tier = <2>; - qcom,mode = "Fixed"; - qcom,qport = <3>; - qcom,mas-hw-id = <24>; - qcom,hw-sel = "NoC"; - qcom,prio1 = <1>; - qcom,prio0 = <1>; - }; - - mas-lpass-proc { - cell-id = <11>; - label = "mas-lpass-proc"; - qcom,masterp = <7>; - qcom,tier = <2>; - qcom,qport = <4>; - qcom,mas-hw-id = <25>; - qcom,mode = "Fixed"; - qcom,prio1 = <2>; - qcom,prio0 = <2>; - }; - - mas-mss { - cell-id = <38>; - label = "mas-mss"; - qcom,masterp = <8>; - qcom,tier = <2>; - qcom,mas-hw-id = <26>; - }; - - mas-mss-nav { - cell-id = <57>; - label = "mas-mss-nav"; - qcom,masterp = <9>; - qcom,tier = <2>; - qcom,mas-hw-id = <27>; - }; - - mas-ocmem-dma { - cell-id = <58>; - label = "mas-ocmem-dma"; - qcom,masterp = <10>; - qcom,tier = <2>; - qcom,mode = "Fixed"; - qcom,qport = <7>; - qcom,mas-hw-id = <28>; - }; - - mas-wcss { - cell-id = <59>; - label = "mas-wcss"; - qcom,masterp = <12>; - qcom,tier = <2>; - qcom,mas-hw-id = <30>; - }; - - mas-qdss-etr { - cell-id = <60>; - label = "mas-qdss-etr"; - qcom,masterp = <13>; - qcom,tier = <2>; - qcom,qport = <10>; - qcom,mode = "Fixed"; - qcom,mas-hw-id = <31>; - qcom,prio1 = <1>; - qcom,prio0 = <1>; - qcom,hw-sel = "NoC"; - }; - - mas-usb3 { - cell-id = <61>; - label = "mas-usb3"; - qcom,masterp = <14>; - qcom,tier = <2>; - qcom,mode = "Fixed"; - qcom,qport = <11>; - qcom,mas-hw-id = <32>; - qcom,prio1 = <1>; - qcom,prio0 = <1>; - qcom,hw-sel = "NoC"; - qcom,iface-clk-node = "msm_usb3"; - }; - - slv-ampss { - cell-id = <520>; - label = "slv-ampss"; - qcom,slavep = <1>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <20>; - }; - - slv-lpass { - cell-id = <522>; - label = "slv-lpass"; - qcom,slavep = <2>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <21>; - }; - - slv-usb3 { - cell-id = <583>; - label = "slv-usb3"; - qcom,slavep = <4>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <22>; - }; - - slv-wcss { - cell-id = <584>; - label = "slv-wcss"; - qcom,slavep = <6>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <23>; - }; - - slv-ocimem { - cell-id = <585>; - label = "slv-ocimem"; - qcom,slavep = <10>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <26>; - }; - - slv-snoc-ocmem { - cell-id = <586>; - label = "slv-snoc-ocmem"; - qcom,slavep = <11>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <27>; - }; - - slv-service-snoc { - cell-id = <587>; - label = "slv-service-snoc"; - qcom,slavep = <13>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <29>; - }; - - slv-qdss-stm { - cell-id = <588>; - label = "slv-qdss-stm"; - qcom,slavep = <14>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <30>; - }; - - }; - - msm-periph-noc@fc468000 { - compatible = "msm-bus-fabric"; - reg = <0xfc468000 0x00004000>; - cell-id = <4096>; - label = "msm_periph_noc"; - qcom,fabclk-dual = "bus_clk"; - qcom,fabclk-active = "bus_a_clk"; - qcom,ntieredslaves = <0>; - qcom,hw-sel = "NoC"; - qcom,rpm-en; - - coresight-id = <54>; - coresight-name = "coresight-pnoc"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_in0>; - coresight-child-ports = <6>; - - mas-pnoc-cfg { - cell-id = <88>; - label = "mas-pnoc-cfg"; - qcom,masterp = <10>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <43>; - }; - - mas-sdcc-1 { - cell-id = <78>; - label = "mas-sdcc-1"; - qcom,masterp = <0>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <33>; - }; - - mas-sdcc-3 { - cell-id = <79>; - label = "mas-sdcc-3"; - qcom,masterp = <1>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <34>; - }; - - mas-sdcc-4 { - cell-id = <80>; - label = "mas-sdcc-4"; - qcom,masterp = <3>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <36>; - }; - - mas-sdcc-2 { - cell-id = <81>; - label = "mas-sdcc-2"; - qcom,masterp = <2>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <35>; - }; - - mas-tsif { - cell-id = <82>; - label = "mas-tsif"; - qcom,masterp = <4>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <37>; - }; - - mas-bam-dma { - cell-id = <83>; - label = "mas-bam-dma"; - qcom,masterp = <5>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <38>; - }; - - mas-blsp-2 { - cell-id = <84>; - label = "mas-blsp-2"; - qcom,masterp = <6>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <39>; - }; - - mas-usb-hsic { - cell-id = <85>; - label = "mas-usb-hsic"; - qcom,masterp = <7>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <40>; - }; - - mas-blsp-1 { - cell-id = <86>; - label = "mas-blsp-1"; - qcom,masterp = <8>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <41>; - }; - - mas-usb-hs { - cell-id = <87>; - label = "mas-usb-hs"; - qcom,masterp = <9>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <42>; - }; - - fab-snoc { - cell-id = <1024>; - label = "fab-snoc"; - qcom,gateway; - qcom,slavep = <14>; - qcom,masterp = <11>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <45>; - qcom,mas-hw-id = <44>; - }; - - slv-sdcc-1 { - cell-id = <606>; - label = "slv-sdcc-1"; - qcom,slavep = <0>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <31>; - }; - - slv-sdcc-3 { - cell-id = <607>; - label = "slv-sdcc-3"; - qcom,slavep = <1>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <32>; - }; - - slv-sdcc-2 { - cell-id = <608>; - label = "slv-sdcc-2"; - qcom,slavep = <2>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <33>; - }; - - slv-sdcc-4 { - cell-id = <609>; - label = "slv-sdcc-4"; - qcom,slavep = <3>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <34>; - }; - - slv-tsif { - cell-id = <575>; - label = "slv-tsif"; - qcom,slavep = <4>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <35>; - }; - - slv-bam-dma { - cell-id = <610>; - label = "slv-bam-dma"; - qcom,slavep = <5>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <36>; - }; - - slv-blsp-2 { - cell-id = <611>; - label = "slv-blsp-2"; - qcom,slavep = <6>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <37>; - }; - - slv-usb-hsic { - cell-id = <612>; - label = "slv-usb-hsic"; - qcom,slavep = <7>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <38>; - }; - - slv-blsp-1 { - cell-id = <613>; - label = "slv-blsp-1"; - qcom,slavep = <8>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <39>; - }; - - slv-usb-hs { - cell-id = <614>; - label = "slv-usb-hs"; - qcom,slavep = <9>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <40>; - }; - - slv-pdm { - cell-id = <615>; - label = "slv-pdm"; - qcom,slavep = <10>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <41>; - }; - - slv-periph-apu-cfg { - cell-id = <616>; - label = "slv-periph-apu-cfg"; - qcom,slavep = <11>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <42>; - }; - - slv-pnoc-mpu-cfg { - cell-id = <617>; - label = "slv-pnoc-mpu-cfg"; - qcom,slavep = <12>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <43>; - }; - - slv-prng { - cell-id = <618>; - label = "slv-prng"; - qcom,slavep = <13>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <44>; - }; - - slv-service-pnoc { - cell-id = <619>; - label = "slv-service-pnoc"; - qcom,slavep = <15>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <46>; - }; - - }; - - msm-config-noc@fc480000 { - compatible = "msm-bus-fabric"; - reg = <0xfc480000 0x00004000>; - cell-id = <5120>; - label = "msm_config_noc"; - qcom,fabclk-dual = "bus_clk"; - qcom,fabclk-active = "bus_a_clk"; - qcom,ntieredslaves = <0>; - qcom,hw-sel = "NoC"; - qcom,rpm-en; - - mas-rpm-inst { - cell-id = <72>; - label = "mas-rpm-inst"; - qcom,masterp = <0>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <45>; - }; - - mas-rpm-data { - cell-id = <73>; - label = "mas-rpm-data"; - qcom,masterp = <1>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <46>; - }; - - mas-rpm-sys { - cell-id = <74>; - label = "mas-rpm-sys"; - qcom,masterp = <2>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <47>; - }; - - mas-dehr { - cell-id = <75>; - label = "mas-dehr"; - qcom,masterp = <3>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <48>; - }; - - mas-qdss-dsp { - cell-id = <76>; - label = "mas-qdss-dap"; - qcom,masterp = <4>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <49>; - }; - - mas-spdm { - cell-id = <36>; - label = "mas-spdm"; - qcom,masterp = <5>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <50>; - }; - - mas-tic { - cell-id = <77>; - label = "mas-tic"; - qcom,masterp = <6>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <51>; - }; - - slv-clk-ctl { - cell-id = <620>; - label = "slv-clk-ctl"; - qcom,slavep = <1>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <47>; - }; - - slv-cnoc-mss { - cell-id = <621>; - label = "slv-cnoc-mss"; - qcom,slavep = <2>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <48>; - }; - - slv-security { - cell-id = <622>; - label = "slv-security"; - qcom,slavep = <3>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <49>; - }; - - slv-tcsr { - cell-id = <623>; - label = "slv-tcsr"; - qcom,slavep = <4>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <50>; - }; - - slv-tlmm { - cell-id = <624>; - label = "slv-tlmm"; - qcom,slavep = <5>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <51>; - }; - - slv-crypto-0-cfg { - cell-id = <625>; - label = "slv-crypto-0-cfg"; - qcom,slavep = <6>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <52>; - }; - - slv-crypto-1-cfg { - cell-id = <626>; - label = "slv-crypto-1-cfg"; - qcom,slavep = <7>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <53>; - }; - - slv-imem-cfg { - cell-id = <627>; - label = "slv-imem-cfg"; - qcom,slavep = <8>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <54>; - }; - - slv-message-ram { - cell-id = <628>; - label = "slv-message-ram"; - qcom,slavep = <9>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <55>; - }; - - slv-bimc-cfg { - cell-id = <629>; - label = "slv-bimc-cfg"; - qcom,slavep = <10>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <56>; - }; - - slv-boot-rom { - cell-id = <630>; - label = "slv-boot-rom"; - qcom,slavep = <11>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <57>; - }; - - slv-pmic-arb { - cell-id = <632>; - label = "slv-pmic-arb"; - qcom,slavep = <13>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <59>; - }; - - slv-spdm-wrapper { - cell-id = <633>; - label = "slv-spdm-wrapper"; - qcom,slavep = <14>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <60>; - }; - - slv-dehr-cfg { - cell-id = <634>; - label = "slv-dehr-cfg"; - qcom,slavep = <15>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <61>; - }; - - slv-mpm { - cell-id = <536>; - label = "slv-mpm"; - qcom,slavep = <16>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <62>; - }; - - slv-qdss-cfg { - cell-id = <635>; - label = "slv-qdss-cfg"; - qcom,slavep = <17>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <63>; - }; - - slv-rbcpr-cfg { - cell-id = <636>; - label = "slv-rbcpr-cfg"; - qcom,slavep = <18>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <64>; - }; - - slv-rbcpr-qdss-apu-cfg { - cell-id = <637>; - label = "slv-rbcpr-qdss-apu-cfg"; - qcom,slavep = <19>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <65>; - }; - - fab-snoc { - cell-id = <1024>; - label = "fab-snoc"; - qcom,gateway; - qcom,slavep = <29>; - qcom,masterp = <7>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <52>; - qcom,slv-hw-id = <75>; - }; - - slv-cnoc-onoc-cfg { - cell-id = <639>; - label = "slv-cnoc-onoc-cfg"; - qcom,slavep = <22>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <68>; - }; - - slv-cnoc-mnoc-mmss-cfg { - cell-id = <631>; - label = "slv-cnoc-mnoc-mmss-cfg"; - qcom,slavep = <12>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <58>; - }; - - slv-cnoc-mnoc-cfg { - cell-id = <640>; - label = "slv-cnoc-mnoc-cfg"; - qcom,slavep = <20>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <66>; - }; - - slv-pnoc-cfg { - cell-id = <641>; - label = "slv-pnoc-cfg"; - qcom,slavep = <23>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <69>; - }; - - slv-snoc-mpu-cfg { - cell-id = <638>; - label = "slv-snoc-mpu-cfg"; - qcom,slavep = <21>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <67>; - }; - - slv-snoc-cfg { - cell-id = <642>; - label = "slv-snoc-cfg"; - qcom,slavep = <24>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <70>; - }; - - slv-ebi1-dll-cfg { - cell-id = <643>; - label = "slv-ebi1-dll-cfg"; - qcom,slavep = <25>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <71>; - }; - - slv-phy-apu-cfg { - cell-id = <644>; - label = "slv-phy-apu-cfg"; - qcom,slavep = <26>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <72>; - }; - - slv-ebi1-phy-cfg { - cell-id = <645>; - label = "slv-ebi1-phy-cfg"; - qcom,slavep = <27>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <73>; - }; - - slv-rpm { - cell-id = <534>; - label = "slv-rpm"; - qcom,slavep = <28>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <74>; - }; - - slv-service-cnoc { - cell-id = <646>; - label = "slv-service-cnoc"; - qcom,slavep = <30>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <76>; - }; - - }; - - msm-bimc@0xfc380000 { - compatible = "msm-bus-fabric"; - reg = <0xfc380000 0x0006A000>; - cell-id = <0>; - label = "msm_bimc"; - qcom,fabclk-dual = "mem_clk"; - qcom,fabclk-active = "mem_a_clk"; - qcom,ntieredslaves = <0>; - qcom,qos-freq = <19200>; - qcom,hw-sel = "BIMC"; - qcom,rpm-en; - - coresight-id = <55>; - coresight-name = "coresight-bimc"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_in1>; - coresight-child-ports = <3>; - - mas-ampss-m0 { - cell-id = <1>; - label = "mas-ampss-m0"; - qcom,masterp = <0>; - qcom,tier = <2>; - qcom,hw-sel = "BIMC"; - qcom,mode = "Limiter"; - qcom,qport = <0>; - qcom,ws = <10000>; - qcom,mas-hw-id = <0>; - qcom,prio-rd = <0>; - qcom,prio-wr = <0>; - qcom,mode-thresh = "Fixed"; - qcom,thresh = <2000000>; - qcom,dual-conf; - qcom,bimc,bw = <300000>; - qcom,bimc,gp = <5>; - qcom,bimc,thmp = <50>; - }; - - mas-ampss-m1 { - cell-id = <2>; - label = "mas-ampss-m1"; - qcom,masterp = <1>; - qcom,tier = <2>; - qcom,hw-sel = "BIMC"; - qcom,mode = "Limiter"; - qcom,qport = <1>; - qcom,ws = <10000>; - qcom,mas-hw-id = <0>; - qcom,prio-rd = <0>; - qcom,prio-wr = <0>; - qcom,mode-thresh = "Fixed"; - qcom,thresh = <2000000>; - qcom,dual-conf; - qcom,bimc,bw = <300000>; - qcom,bimc,gp = <5>; - qcom,bimc,thmp = <50>; - }; - - mas-mss-proc { - cell-id = <65>; - label = "mas-mss-proc"; - qcom,masterp = <2>; - qcom,tier = <2>; - qcom,hw-sel = "RPM"; - qcom,mas-hw-id = <1>; - }; - - fab-mmss-noc { - cell-id = <2048>; - label = "fab_mmss_noc"; - qcom,gateway; - qcom,masterp = <3 4>; - qcom,qport = <3 4>; - qcom,buswidth = <8>; - qcom,ws = <10000>; - qcom,mas-hw-id = <2>; - qcom,hw-sel = "BIMC"; - qcom,mode = "Bypass"; - }; - - fab-snoc { - cell-id = <1024>; - label = "fab-snoc"; - qcom,gateway; - qcom,slavep = <3>; - qcom,masterp = <5 6>; - qcom,qport = <5 6>; - qcom,buswidth = <8>; - qcom,ws = <10000>; - qcom,mas-hw-id = <3>; - qcom,slv-hw-id = <2>; - qcom,mode = "Bypass"; - qcom,hw-sel = "RPM"; - }; - - slv-ebi-ch0 { - cell-id = <512>; - label = "slv-ebi-ch0"; - qcom,slavep = <0 1>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <0>; - qcom,mode = "Bypass"; - }; - - slv-ampss-l2 { - cell-id = <514>; - label = "slv-ampss-l2"; - qcom,slavep = <2>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <1>; - }; - }; - - msm-ocmem-vnoc@6144 { - compatible = "msm-bus-fabric"; - reg = <0x6144 0x2>; - cell-id = <6144>; - label = "msm-ocmem-vnoc"; - qcom,ntieredslaves = <0>; - qcom,hw-sel = "NoC"; - qcom,rpm-en; - qcom,virt; - - mas-v-ocmem-gfx3d { - cell-id = <89>; - label = "mas-v-ocmem-gfx3d"; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <55>; - }; - - slv-ocmem { - cell-id = <604>; - label = "slv-ocmem"; - qcom,slavep = <0 1>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,slv-hw-id = <18>; - qcom,slaveclk-dual = "ocmem_clk"; - qcom,slaveclk-active = "ocmem_a_clk"; - }; - - fab-snoc { - cell-id = <1024>; - label = "fab-snoc"; - qcom,gateway; - qcom,buswidth = <8>; - qcom,ws = <10000>; - qcom,mas-hw-id = <57>; - qcom,slv-hw-id = <80>; - }; - - fab-onoc { - cell-id = <3072>; - label = "fab-onoc"; - qcom,gateway; - qcom,buswidth = <16>; - qcom,ws = <10000>; - qcom,mas-hw-id = <56>; - qcom,slv-hw-id = <79>; - }; - - }; - - msm-ocmem-noc@fc470000 { - compatible = "msm-bus-fabric"; - reg = <0xfc470000 0x00004000>; - cell-id = <3072>; - label = "msm_ocmem_noc"; - qcom,fabclk-dual = "bus_clk"; - qcom,fabclk-active = "bus_a_clk"; - qcom,ntieredslaves = <0>; - qcom,qos-freq = <4800>; - qcom,hw-sel = "NoC"; - qcom,rpm-en; - - coresight-id = <51>; - coresight-name = "coresight-onoc"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_in0>; - coresight-child-ports = <4>; - - fab-ocmem-vnoc { - cell-id = <6144>; - label = "fab-ocmem-vnoc"; - qcom,gateway; - qcom,buswidth = <16>; - qcom,mas-hw-id = <54>; - qcom,slv-hw-id = <78>; - }; - - mas-jpeg-ocmem { - cell-id = <66>; - label = "mas-jpeg-ocmem"; - qcom,masterp = <1>; - qcom,tier = <2>; - qcom,perm-mode = "Fixed"; - qcom,mode = "Fixed"; - qcom,qport = <0>; - qcom,mas-hw-id = <13>; - qcom,hw-sel = "NoC"; - }; - - mas-mdp-ocmem { - cell-id = <67>; - label = "mas-mdp-ocmem"; - qcom,masterp = <2>; - qcom,tier = <2>; - qcom,perm-mode = "Fixed"; - qcom,mode = "Fixed"; - qcom,mas-hw-id = <14>; - qcom,hw-sel = "NoC"; - }; - - mas-video-ocmem { - cell-id = <68>; - label = "mas-video-ocmem"; - qcom,masterp = <3 4>; - qcom,tier = <2>; - qcom,perm-mode = "Fixed"; - qcom,mode = "Fixed"; - qcom,qport = <2 3>; - qcom,mas-hw-id = <15>; - qcom,hw-sel = "NoC"; - }; - - mas-vfe-ocmem { - cell-id = <70>; - label = "mas-vfe-ocmem"; - qcom,masterp = <5>; - qcom,tier = <2>; - qcom,perm-mode = "Fixed"; - qcom,mode = "Fixed"; - qcom,qport = <4>; - qcom,mas-hw-id = <17>; - qcom,hw-sel = "NoC"; - qcom,prio-rd = <1>; - qcom,prio-wr = <1>; - }; - - mas-cnoc-onoc-cfg { - cell-id = <71>; - label = "mas-cnoc-onoc-cfg"; - qcom,masterp = <0>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,mas-hw-id = <12>; - qcom,hw-sel = "NoC"; - }; - - slv-service-onoc { - cell-id = <605>; - label = "slv-service-onoc"; - qcom,slavep = <2>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,slv-hw-id = <19>; - }; - }; -}; - - diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/msm8974-camera-sensor-cdp.dtsi b/kernel/arch/arm/boot/dts/lte_module-v1/msm8974-camera-sensor-cdp.dtsi deleted file mode 100755 index 4a9820dab..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/msm8974-camera-sensor-cdp.dtsi +++ /dev/null @@ -1,189 +0,0 @@ -/* - * Copyright (c) 2012-2013, 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. - */ - -&cci { - - actuator0: qcom,actuator@18 { - cell-index = <0>; - reg = <0x18 0x0>; - compatible = "qcom,actuator"; - qcom,cci-master = <0>; - }; - - actuator1: qcom,actuator@36 { - cell-index = <1>; - reg = <0x36>; - compatible = "qcom,actuator"; - qcom,cci-master = <0>; - }; - - qcom,camera@6e { - compatible = "qcom,s5k3l1yx"; - reg = <0x6e 0x0>; - qcom,slave-id = <0x6e 0x0 0x3121>; - qcom,csiphy-sd-index = <0>; - qcom,csid-sd-index = <0>; - qcom,actuator-src = <&actuator0>; - qcom,mount-angle = <90>; - qcom,sensor-name = "s5k3l1yx"; - qcom,vdd-cx-supply = <&pm8841_s2>; - qcom,vdd-cx-name = "qcom,vdd-cx"; - cam_vdig-supply = <&pm8941_l3>; - cam_vana-supply = <&pm8941_l17>; - cam_vio-supply = <&pm8941_lvs3>; - cam_vaf-supply = <&pm8941_l23>; - qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana", - "cam_vaf"; - qcom,cam-vreg-type = <0 1 0 0>; - qcom,cam-vreg-min-voltage = <1225000 0 2850000 3000000>; - qcom,cam-vreg-max-voltage = <1225000 0 2850000 3000000>; - qcom,cam-vreg-op-mode = <105000 0 80000 100000>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 15 0>, - <&msmgpio 90 0>, - <&msmgpio 89 0>; - qcom,gpio-reset = <1>; - qcom,gpio-standby = <2>; - qcom,gpio-req-tbl-num = <0 1 2>; - qcom,gpio-req-tbl-flags = <1 0 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1", - "CAM_STANDBY"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 30000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x1F>; - qcom,sensor-position = <0>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - status = "ok"; - }; - - qcom,camera@20 { - compatible = "qcom,imx135"; - reg = <0x20>; - qcom,slave-id = <0x20 0x0016 0x0135>; - qcom,csiphy-sd-index = <0>; - qcom,csid-sd-index = <0>; - qcom,mount-angle = <90>; - qcom,sensor-name = "imx135"; - qcom,actuator-src = <&actuator1>; - qcom,vdd-cx-supply = <&pm8841_s2>; - qcom,vdd-cx-name = "qcom,vdd-cx"; - cam_vdig-supply = <&pm8941_l3>; - cam_vana-supply = <&pm8941_l17>; - cam_vio-supply = <&pm8941_lvs3>; - cam_vaf-supply = <&pm8941_l23>; - qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana", - "cam_vaf"; - qcom,cam-vreg-type = <0 1 0 0>; - qcom,cam-vreg-min-voltage = <1225000 0 2850000 3000000>; - qcom,cam-vreg-max-voltage = <1225000 0 2850000 3000000>; - qcom,cam-vreg-op-mode = <105000 0 80000 100000>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 15 0>, - <&msmgpio 90 0>, - <&msmgpio 89 0>; - qcom,gpio-reset = <1>; - qcom,gpio-standby = <2>; - qcom,gpio-req-tbl-num = <0 1 2>; - qcom,gpio-req-tbl-flags = <1 0 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1", - "CAM_STANDBY"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 30000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x1F>; - qcom,sensor-position = <0>; - qcom,sensor-mode = <0>; - qcom,sensor-type = <0>; - qcom,cci-master = <0>; - status = "ok"; - }; - - qcom,camera@6c { - compatible = "qcom,ov2720"; - reg = <0x6c 0x0>; - qcom,slave-id = <0x6c 0x300A 0x2720>; - qcom,csiphy-sd-index = <2>; - qcom,csid-sd-index = <2>; - qcom,mount-angle = <90>; - qcom,sensor-name = "ov2720"; - qcom,vdd-cx-supply = <&pm8841_s2>; - qcom,vdd-cx-name = "qcom,vdd-cx"; - cam_vdig-supply = <&pm8941_l3>; - cam_vana-supply = <&pm8941_l17>; - cam_vio-supply = <&pm8941_lvs3>; - qcom,cam-vreg-name = "cam_vdig", "cam_vana", "cam_vio"; - qcom,cam-vreg-type = <0 0 1>; - qcom,cam-vreg-min-voltage = <1225000 2850000 0>; - qcom,cam-vreg-max-voltage = <1225000 2850000 0>; - qcom,cam-vreg-op-mode = <105000 80000 0>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 17 0>, - <&msmgpio 18 0>; - qcom,gpio-reset = <1>; - qcom,gpio-req-tbl-num = <0 1>; - qcom,gpio-req-tbl-flags = <1 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 4000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x7>; - qcom,sensor-position = <1>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - status = "ok"; - }; - - qcom,camera@90 { - compatible = "qcom,mt9m114"; - reg = <0x90 0x0>; - qcom,slave-id = <0x90 0x0 0x2481>; - qcom,csiphy-sd-index = <1>; - qcom,csid-sd-index = <0>; - qcom,mount-angle = <0>; - qcom,sensor-name = "mt9m114"; - qcom,vdd-cx-supply = <&pm8841_s2>; - qcom,vdd-cx-name = "qcom,vdd-cx"; - cam_vdig-supply = <&pm8941_l3>; - cam_vana-supply = <&pm8941_l17>; - cam_vio-supply = <&pm8941_lvs3>; - qcom,cam-vreg-name = "cam_vdig", "cam_vana", "cam_vio"; - qcom,cam-vreg-type = <0 0 1>; - qcom,cam-vreg-min-voltage = <1225000 2850000 0>; - qcom,cam-vreg-max-voltage = <1225000 2850000 0>; - qcom,cam-vreg-op-mode = <105000 80000 0>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 16 0>, - <&msmgpio 92 0>; - qcom,gpio-reset = <1>; - qcom,gpio-req-tbl-num = <0 1>; - qcom,gpio-req-tbl-flags = <1 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 4000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x3>; - qcom,sensor-position = <1>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/msm8974-camera-sensor-dragonboard.dtsi b/kernel/arch/arm/boot/dts/lte_module-v1/msm8974-camera-sensor-dragonboard.dtsi deleted file mode 100755 index e84a47d62..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/msm8974-camera-sensor-dragonboard.dtsi +++ /dev/null @@ -1,174 +0,0 @@ -/* - * Copyright (c) 2012-2013, 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. - */ - -&cci { - - actuator0: qcom,actuator@18 { - cell-index = <0>; - reg = <0x18 0x0>; - compatible = "qcom,actuator"; - qcom,cci-master = <0>; - }; - - actuator1: qcom,actuator@36 { - cell-index = <1>; - reg = <0x36>; - compatible = "qcom,actuator"; - qcom,cci-master = <0>; - }; - - qcom,camera@6e { - compatible = "qcom,s5k3l1yx"; - reg = <0x6e 0x0>; - qcom,slave-id = <0x6e 0x0 0x3121>; - qcom,csiphy-sd-index = <0>; - qcom,csid-sd-index = <0>; - qcom,mount-angle = <0>; - qcom,actuator-src = <&actuator0>; - qcom,sensor-name = "s5k3l1yx"; - cam_vdig-supply = <&pm8941_l3>; - cam_vana-supply = <&pm8941_l17>; - cam_vio-supply = <&pm8941_lvs3>; - cam_vaf-supply = <&pm8941_l23>; - qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana", - "cam_vaf"; - qcom,cam-vreg-type = <0 1 0 0>; - qcom,cam-vreg-min-voltage = <1225000 0 2850000 3000000>; - qcom,cam-vreg-max-voltage = <1225000 0 2850000 3000000>; - qcom,cam-vreg-op-mode = <105000 0 80000 100000>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 15 0>, - <&msmgpio 90 0>; - qcom,gpio-reset = <1>; - qcom,gpio-req-tbl-num = <0 1>; - qcom,gpio-req-tbl-flags = <1 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 30000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x1F>; - qcom,sensor-position = <0>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - status = "ok"; - }; - - qcom,camera@20 { - compatible = "qcom,imx135"; - reg = <0x20>; - qcom,slave-id = <0x20 0x0016 0x0135>; - qcom,csiphy-sd-index = <0>; - qcom,csid-sd-index = <0>; - qcom,mount-angle = <0>; - qcom,sensor-name = "imx135"; - qcom,actuator-src = <&actuator1>; - cam_vdig-supply = <&pm8941_l3>; - cam_vana-supply = <&pm8941_l17>; - cam_vio-supply = <&pm8941_lvs3>; - cam_vaf-supply = <&pm8941_l23>; - qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana", - "cam_vaf"; - qcom,cam-vreg-type = <0 1 0 0>; - qcom,cam-vreg-min-voltage = <1225000 0 2850000 3000000>; - qcom,cam-vreg-max-voltage = <1225000 0 2850000 3000000>; - qcom,cam-vreg-op-mode = <105000 0 80000 100000>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 15 0>, - <&msmgpio 90 0>; - qcom,gpio-reset = <1>; - qcom,gpio-req-tbl-num = <0 1>; - qcom,gpio-req-tbl-flags = <1 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 30000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x1F>; - qcom,sensor-position = <0>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - status = "ok"; - }; - - qcom,camera@6c { - compatible = "qcom,ov2720"; - reg = <0x6c 0x0>; - qcom,slave-id = <0x6c 0x300A 0x2720>; - qcom,csiphy-sd-index = <2>; - qcom,csid-sd-index = <0>; - qcom,mount-angle = <180>; - qcom,sensor-name = "ov2720"; - cam_vdig-supply = <&pm8941_l3>; - cam_vana-supply = <&pm8941_l17>; - cam_vio-supply = <&pm8941_lvs3>; - qcom,cam-vreg-name = "cam_vdig", "cam_vana", "cam_vio"; - qcom,cam-vreg-type = <0 0 1>; - qcom,cam-vreg-min-voltage = <1225000 2850000 0>; - qcom,cam-vreg-max-voltage = <1225000 2850000 0>; - qcom,cam-vreg-op-mode = <105000 80000 0>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 17 0>, - <&msmgpio 18 0>; - qcom,gpio-reset = <1>; - qcom,gpio-req-tbl-num = <0 1>; - qcom,gpio-req-tbl-flags = <1 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 4000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x7>; - qcom,sensor-position = <1>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - status = "ok"; - }; - - qcom,camera@90 { - compatible = "qcom,mt9m114"; - reg = <0x90 0x0>; - qcom,slave-id = <0x90 0x0 0x2481>; - qcom,csiphy-sd-index = <1>; - qcom,csid-sd-index = <0>; - qcom,mount-angle = <0>; - qcom,sensor-name = "mt9m114"; - cam_vdig-supply = <&pm8941_l3>; - cam_vana-supply = <&pm8941_l17>; - cam_vio-supply = <&pm8941_lvs3>; - qcom,cam-vreg-name = "cam_vdig", "cam_vana", "cam_vio"; - qcom,cam-vreg-type = <0 0 1>; - qcom,cam-vreg-min-voltage = <1225000 2850000 0>; - qcom,cam-vreg-max-voltage = <1225000 2850000 0>; - qcom,cam-vreg-op-mode = <105000 80000 0>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 16 0>, - <&msmgpio 94 0>; - qcom,gpio-reset = <1>; - qcom,gpio-req-tbl-num = <0 1>; - qcom,gpio-req-tbl-flags = <1 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 4000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x3>; - qcom,sensor-position = <1>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/msm8974-camera-sensor-fluid.dtsi b/kernel/arch/arm/boot/dts/lte_module-v1/msm8974-camera-sensor-fluid.dtsi deleted file mode 100755 index f61b83a45..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/msm8974-camera-sensor-fluid.dtsi +++ /dev/null @@ -1,190 +0,0 @@ -/* - * Copyright (c) 2012-2013, 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. - */ - -&cci { - - actuator0: qcom,actuator@18 { - cell-index = <0>; - reg = <0x18>; - compatible = "qcom,actuator"; - qcom,cci-master = <0>; - }; - - actuator1: qcom,actuator@36 { - cell-index = <1>; - reg = <0x36>; - compatible = "qcom,actuator"; - qcom,cci-master = <0>; - }; - - qcom,camera@6e { - compatible = "qcom,s5k3l1yx"; - reg = <0x6e>; - qcom,slave-id = <0x6e 0x0 0x3121>; - qcom,csiphy-sd-index = <0>; - qcom,csid-sd-index = <0>; - qcom,actuator-src = <&actuator0>; - qcom,led-flash-src = <&led_flash0>; - qcom,mount-angle = <270>; - qcom,sensor-name = "s5k3l1yx"; - qcom,vdd-cx-supply = <&pm8841_s2>; - qcom,vdd-cx-name = "qcom,vdd-cx"; - cam_vdig-supply = <&pm8941_l3>; - cam_vana-supply = <&pm8941_l17>; - cam_vio-supply = <&pm8941_lvs3>; - cam_vaf-supply = <&pm8941_l23>; - qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana", - "cam_vaf"; - qcom,cam-vreg-type = <0 1 0 0>; - qcom,cam-vreg-min-voltage = <1225000 0 2850000 3000000>; - qcom,cam-vreg-max-voltage = <1225000 0 2850000 3000000>; - qcom,cam-vreg-op-mode = <105000 0 80000 100000>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 15 0>, - <&msmgpio 90 0>, - <&msmgpio 89 0>; - qcom,gpio-reset = <1>; - qcom,gpio-standby = <2>; - qcom,gpio-req-tbl-num = <0 1 2>; - qcom,gpio-req-tbl-flags = <1 0 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1", - "CAM_STANDBY"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 30000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x1F>; - qcom,sensor-position = <0>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - status = "ok"; - }; - - qcom,camera@20 { - compatible = "qcom,imx135"; - reg = <0x20>; - qcom,slave-id = <0x20 0x0016 0x0135>; - qcom,csiphy-sd-index = <0>; - qcom,csid-sd-index = <0>; - qcom,mount-angle = <270>; - qcom,sensor-name = "imx135"; - qcom,actuator-src = <&actuator1>; - qcom,vdd-cx-supply = <&pm8841_s2>; - qcom,vdd-cx-name = "qcom,vdd-cx"; - cam_vdig-supply = <&pm8941_l3>; - cam_vana-supply = <&pm8941_l17>; - cam_vio-supply = <&pm8941_lvs3>; - cam_vaf-supply = <&pm8941_l23>; - qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana", - "cam_vaf"; - qcom,cam-vreg-type = <0 1 0 0>; - qcom,cam-vreg-min-voltage = <1225000 0 2850000 3000000>; - qcom,cam-vreg-max-voltage = <1225000 0 2850000 3000000>; - qcom,cam-vreg-op-mode = <105000 0 80000 100000>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 15 0>, - <&msmgpio 90 0>, - <&msmgpio 89 0>; - qcom,gpio-reset = <1>; - qcom,gpio-standby = <2>; - qcom,gpio-req-tbl-num = <0 1 2>; - qcom,gpio-req-tbl-flags = <1 0 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1", - "CAM_STANDBY"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 30000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x1F>; - qcom,sensor-position = <0>; - qcom,sensor-mode = <0>; - qcom,sensor-type = <0>; - qcom,cci-master = <0>; - status = "ok"; - }; - - qcom,camera@6c { - compatible = "qcom,ov2720"; - reg = <0x6c>; - qcom,slave-id = <0x6c 0x300A 0x2720>; - qcom,csiphy-sd-index = <2>; - qcom,csid-sd-index = <2>; - qcom,mount-angle = <90>; - qcom,sensor-name = "ov2720"; - qcom,vdd-cx-supply = <&pm8841_s2>; - qcom,vdd-cx-name = "qcom,vdd-cx"; - cam_vdig-supply = <&pm8941_l3>; - cam_vana-supply = <&pm8941_l17>; - cam_vio-supply = <&pm8941_lvs3>; - qcom,cam-vreg-name = "cam_vdig", "cam_vana", "cam_vio"; - qcom,cam-vreg-type = <0 0 1>; - qcom,cam-vreg-min-voltage = <1225000 2850000 0>; - qcom,cam-vreg-max-voltage = <1225000 2850000 0>; - qcom,cam-vreg-op-mode = <105000 80000 0>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 17 0>, - <&msmgpio 18 0>; - qcom,gpio-reset = <1>; - qcom,gpio-req-tbl-num = <0 1>; - qcom,gpio-req-tbl-flags = <1 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 4000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x7>; - qcom,sensor-position = <1>; - qcom,sensor-mode = <1>; - qcom,cci-master = <1>; - status = "ok"; - }; - - qcom,camera@90 { - compatible = "qcom,mt9m114"; - reg = <0x90>; - qcom,slave-id = <0x90 0x0 0x2481>; - qcom,csiphy-sd-index = <1>; - qcom,csid-sd-index = <0>; - qcom,mount-angle = <0>; - qcom,sensor-name = "mt9m114"; - qcom,vdd-cx-supply = <&pm8841_s2>; - qcom,vdd-cx-name = "qcom,vdd-cx"; - cam_vdig-supply = <&pm8941_l3>; - cam_vana-supply = <&pm8941_l17>; - cam_vio-supply = <&pm8941_lvs3>; - qcom,cam-vreg-name = "cam_vdig", "cam_vana", "cam_vio"; - qcom,cam-vreg-type = <0 0 1>; - qcom,cam-vreg-min-voltage = <1225000 2850000 0>; - qcom,cam-vreg-max-voltage = <1225000 2850000 0>; - qcom,cam-vreg-op-mode = <105000 80000 0>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 16 0>, - <&msmgpio 92 0>; - qcom,gpio-reset = <1>; - qcom,gpio-req-tbl-num = <0 1>; - qcom,gpio-req-tbl-flags = <1 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 4000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x3>; - qcom,sensor-position = <1>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/msm8974-camera-sensor-liquid.dtsi b/kernel/arch/arm/boot/dts/lte_module-v1/msm8974-camera-sensor-liquid.dtsi deleted file mode 100755 index cf968d208..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/msm8974-camera-sensor-liquid.dtsi +++ /dev/null @@ -1,190 +0,0 @@ - -/* - * Copyright (c) 2012-2013, 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. - */ - -&cci { - - actuator0: qcom,actuator@18 { - cell-index = <0>; - reg = <0x18>; - compatible = "qcom,actuator"; - qcom,cci-master = <0>; - }; - - actuator1: qcom,actuator@36 { - cell-index = <1>; - reg = <0x36>; - compatible = "qcom,actuator"; - qcom,cci-master = <0>; - }; - - qcom,camera@6e { - compatible = "qcom,s5k3l1yx"; - reg = <0x6e>; - qcom,slave-id = <0x6e 0x0 0x3121>; - qcom,csiphy-sd-index = <0>; - qcom,csid-sd-index = <0>; - qcom,mount-angle = <0>; - qcom,actuator-src = <&actuator0>; - qcom,sensor-name = "s5k3l1yx"; - qcom,vdd-cx-supply = <&pm8841_s2>; - qcom,vdd-cx-name = "qcom,vdd-cx"; - cam_vdig-supply = <&pm8941_l3>; - cam_vana-supply = <&pm8941_l17>; - cam_vio-supply = <&pm8941_lvs2>; - cam_vaf-supply = <&pm8941_l23>; - qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana", - "cam_vaf"; - qcom,cam-vreg-type = <0 1 0 0>; - qcom,cam-vreg-min-voltage = <1225000 0 2850000 3000000>; - qcom,cam-vreg-max-voltage = <1225000 0 2850000 3000000>; - qcom,cam-vreg-op-mode = <105000 0 80000 100000>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 15 0>, - <&msmgpio 90 0>, - <&msmgpio 89 0>; - qcom,gpio-reset = <1>; - qcom,gpio-standby = <2>; - qcom,gpio-req-tbl-num = <0 1 2>; - qcom,gpio-req-tbl-flags = <1 0 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1", - "CAM_STANDBY"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 30000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x1F>; - qcom,sensor-position = <0>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - status = "ok"; - }; - - qcom,camera@20 { - compatible = "qcom,imx135"; - reg = <0x20>; - qcom,slave-id = <0x20 0x0016 0x0135>; - qcom,csiphy-sd-index = <0>; - qcom,csid-sd-index = <0>; - qcom,mount-angle = <0>; - qcom,sensor-name = "imx135"; - qcom,vdd-cx-supply = <&pm8841_s2>; - qcom,vdd-cx-name = "qcom,vdd-cx"; - qcom,actuator-src = <&actuator1>; - cam_vdig-supply = <&pm8941_l3>; - cam_vana-supply = <&pm8941_l17>; - cam_vio-supply = <&pm8941_lvs2>; - cam_vaf-supply = <&pm8941_l23>; - qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana", - "cam_vaf"; - qcom,cam-vreg-type = <0 1 0 0>; - qcom,cam-vreg-min-voltage = <1225000 0 2850000 3000000>; - qcom,cam-vreg-max-voltage = <1225000 0 2850000 3000000>; - qcom,cam-vreg-op-mode = <105000 0 80000 100000>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 15 0>, - <&msmgpio 90 0>, - <&msmgpio 89 0>; - qcom,gpio-reset = <1>; - qcom,gpio-standby = <2>; - qcom,gpio-req-tbl-num = <0 1 2>; - qcom,gpio-req-tbl-flags = <1 0 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1", - "CAM_STANDBY"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 30000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x1F>; - qcom,sensor-position = <0>; - qcom,sensor-mode = <0>; - qcom,sensor-type = <0>; - qcom,cci-master = <0>; - status = "ok"; - }; - - qcom,camera@6c { - compatible = "qcom,ov2720"; - reg = <0x6c>; - qcom,slave-id = <0x6c 0x300A 0x2720>; - qcom,csiphy-sd-index = <2>; - qcom,csid-sd-index = <0>; - qcom,mount-angle = <180>; - qcom,sensor-name = "ov2720"; - qcom,vdd-cx-supply = <&pm8841_s2>; - qcom,vdd-cx-name = "qcom,vdd-cx"; - cam_vdig-supply = <&pm8941_l3>; - cam_vana-supply = <&pm8941_l17>; - cam_vio-supply = <&pm8941_lvs2>; - qcom,cam-vreg-name = "cam_vdig", "cam_vana", "cam_vio"; - qcom,cam-vreg-type = <0 0 1>; - qcom,cam-vreg-min-voltage = <1225000 2850000 0>; - qcom,cam-vreg-max-voltage = <1225000 2850000 0>; - qcom,cam-vreg-op-mode = <105000 80000 0>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 17 0>, - <&msmgpio 18 0>; - qcom,gpio-reset = <1>; - qcom,gpio-req-tbl-num = <0 1>; - qcom,gpio-req-tbl-flags = <1 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 4000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x7>; - qcom,sensor-position = <1>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - status = "ok"; - }; - - qcom,camera@90 { - compatible = "qcom,mt9m114"; - reg = <0x90>; - qcom,slave-id = <0x90 0x0 0x2481>; - qcom,csiphy-sd-index = <1>; - qcom,csid-sd-index = <0>; - qcom,mount-angle = <0>; - qcom,vdd-cx-supply = <&pm8841_s2>; - qcom,vdd-cx-name = "qcom,vdd-cx"; - qcom,sensor-name = "mt9m114"; - cam_vdig-supply = <&pm8941_l3>; - cam_vana-supply = <&pm8941_l17>; - cam_vio-supply = <&pm8941_lvs2>; - qcom,cam-vreg-name = "cam_vdig", "cam_vana", "cam_vio"; - qcom,cam-vreg-type = <0 0 1>; - qcom,cam-vreg-min-voltage = <1225000 2850000 0>; - qcom,cam-vreg-max-voltage = <1225000 2850000 0>; - qcom,cam-vreg-op-mode = <105000 80000 0>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 16 0>, - <&msmgpio 92 0>; - qcom,gpio-reset = <1>; - qcom,gpio-req-tbl-num = <0 1>; - qcom,gpio-req-tbl-flags = <1 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 4000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x3>; - qcom,sensor-position = <1>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/msm8974-camera-sensor-mtp.dtsi b/kernel/arch/arm/boot/dts/lte_module-v1/msm8974-camera-sensor-mtp.dtsi deleted file mode 100755 index 6ad62137c..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/msm8974-camera-sensor-mtp.dtsi +++ /dev/null @@ -1,191 +0,0 @@ -/* - * Copyright (c) 2012-2013, 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. - */ - -&cci { - - actuator0: qcom,actuator@18 { - cell-index = <0>; - reg = <0x18>; - compatible = "qcom,actuator"; - qcom,cci-master = <0>; - }; - - actuator1: qcom,actuator@36 { - cell-index = <1>; - reg = <0x36>; - compatible = "qcom,actuator"; - qcom,cci-master = <0>; - }; - - qcom,camera@6e { - compatible = "qcom,s5k3l1yx"; - reg = <0x6e>; - qcom,slave-id = <0x6e 0x0 0x3121>; - qcom,csiphy-sd-index = <0>; - qcom,csid-sd-index = <0>; - qcom,actuator-src = <&actuator0>; - qcom,led-flash-src = <&led_flash0>; - qcom,mount-angle = <90>; - qcom,sensor-name = "s5k3l1yx"; - qcom,vdd-cx-supply = <&pm8841_s2>; - qcom,vdd-cx-name = "qcom,vdd-cx"; - cam_vdig-supply = <&pm8941_l3>; - cam_vana-supply = <&pm8941_l17>; - cam_vio-supply = <&pm8941_lvs3>; - cam_vaf-supply = <&pm8941_l23>; - qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana", - "cam_vaf"; - qcom,cam-vreg-type = <0 1 0 0>; - qcom,cam-vreg-min-voltage = <1225000 0 2850000 3000000>; - qcom,cam-vreg-max-voltage = <1225000 0 2850000 3000000>; - qcom,cam-vreg-op-mode = <105000 0 80000 100000>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 15 0>, - <&msmgpio 90 0>, - <&msmgpio 89 0>; - qcom,gpio-reset = <1>; - qcom,gpio-standby = <2>; - qcom,gpio-req-tbl-num = <0 1 2>; - qcom,gpio-req-tbl-flags = <1 0 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1", - "CAM_STANDBY"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 30000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x1F>; - qcom,sensor-position = <0>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - status = "ok"; - }; - - qcom,camera@20 { - compatible = "qcom,imx135"; - reg = <0x20>; - qcom,slave-id = <0x20 0x0016 0x0135>; - qcom,csiphy-sd-index = <0>; - qcom,csid-sd-index = <0>; - qcom,mount-angle = <90>; - qcom,sensor-name = "imx135"; - qcom,vdd-cx-supply = <&pm8841_s2>; - qcom,vdd-cx-name = "qcom,vdd-cx"; - qcom,actuator-src = <&actuator1>; - cam_vdig-supply = <&pm8941_l3>; - cam_vana-supply = <&pm8941_l17>; - cam_vio-supply = <&pm8941_lvs3>; - cam_vaf-supply = <&pm8941_l23>; - qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana", - "cam_vaf"; - qcom,cam-vreg-type = <0 1 0 0>; - qcom,cam-vreg-min-voltage = <1225000 0 2850000 3000000>; - qcom,cam-vreg-max-voltage = <1225000 0 2850000 3000000>; - qcom,cam-vreg-op-mode = <105000 0 80000 100000>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 15 0>, - <&msmgpio 90 0>, - <&msmgpio 89 0>; - qcom,gpio-reset = <1>; - qcom,gpio-standby = <2>; - qcom,gpio-req-tbl-num = <0 1 2>; - qcom,gpio-req-tbl-flags = <1 0 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1", - "CAM_STANDBY"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 30000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x1F>; - qcom,sensor-position = <0>; - qcom,sensor-mode = <0>; - qcom,sensor-type = <0>; - qcom,cci-master = <0>; - status = "ok"; - }; - - - qcom,camera@6c { - compatible = "qcom,ov2720"; - reg = <0x6c>; - qcom,slave-id = <0x6c 0x300A 0x2720>; - qcom,csiphy-sd-index = <2>; - qcom,csid-sd-index = <2>; - qcom,mount-angle = <90>; - qcom,sensor-name = "ov2720"; - qcom,vdd-cx-supply = <&pm8841_s2>; - qcom,vdd-cx-name = "qcom,vdd-cx"; - cam_vdig-supply = <&pm8941_l3>; - cam_vana-supply = <&pm8941_l17>; - cam_vio-supply = <&pm8941_lvs3>; - qcom,cam-vreg-name = "cam_vdig", "cam_vana", "cam_vio"; - qcom,cam-vreg-type = <0 0 1>; - qcom,cam-vreg-min-voltage = <1225000 2850000 0>; - qcom,cam-vreg-max-voltage = <1225000 2850000 0>; - qcom,cam-vreg-op-mode = <105000 80000 0>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 17 0>, - <&msmgpio 18 0>; - qcom,gpio-reset = <1>; - qcom,gpio-req-tbl-num = <0 1>; - qcom,gpio-req-tbl-flags = <1 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 4000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x7>; - qcom,sensor-position = <1>; - qcom,sensor-mode = <1>; - qcom,cci-master = <1>; - status = "ok"; - }; - - qcom,camera@90 { - compatible = "qcom,mt9m114"; - reg = <0x90>; - qcom,slave-id = <0x90 0x0 0x2481>; - qcom,csiphy-sd-index = <1>; - qcom,csid-sd-index = <0>; - qcom,mount-angle = <0>; - qcom,sensor-name = "mt9m114"; - qcom,vdd-cx-supply = <&pm8841_s2>; - qcom,vdd-cx-name = "qcom,vdd-cx"; - cam_vdig-supply = <&pm8941_l3>; - cam_vana-supply = <&pm8941_l17>; - cam_vio-supply = <&pm8941_lvs3>; - qcom,cam-vreg-name = "cam_vdig", "cam_vana", "cam_vio"; - qcom,cam-vreg-type = <0 0 1>; - qcom,cam-vreg-min-voltage = <1225000 2850000 0>; - qcom,cam-vreg-max-voltage = <1225000 2850000 0>; - qcom,cam-vreg-op-mode = <105000 80000 0>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 16 0>, - <&msmgpio 92 0>; - qcom,gpio-reset = <1>; - qcom,gpio-req-tbl-num = <0 1>; - qcom,gpio-req-tbl-flags = <1 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 4000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x3>; - qcom,sensor-position = <1>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/msm8974-camera.dtsi b/kernel/arch/arm/boot/dts/lte_module-v1/msm8974-camera.dtsi deleted file mode 100755 index 786e9e381..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/msm8974-camera.dtsi +++ /dev/null @@ -1,215 +0,0 @@ -/* - * Copyright (c) 2012-2013, 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. - */ - -/include/ "skeleton.dtsi" - -&soc { - qcom,msm-cam@fd8C0000 { - compatible = "qcom,msm-cam"; - reg = <0xfd8C0000 0x10000>; - reg-names = "msm-cam"; - }; - - qcom,csiphy@fda0ac00 { - cell-index = <0>; - compatible = "qcom,csiphy"; - reg = <0xfda0ac00 0x200>, - <0xfda00030 0x4>; - reg-names = "csiphy", "csiphy_clk_mux"; - interrupts = <0 78 0>; - interrupt-names = "csiphy"; - }; - - qcom,csiphy@fda0b000 { - cell-index = <1>; - compatible = "qcom,csiphy"; - reg = <0xfda0b000 0x200>, - <0xfda00038 0x4>; - reg-names = "csiphy", "csiphy_clk_mux"; - interrupts = <0 79 0>; - interrupt-names = "csiphy"; - }; - - qcom,csiphy@fda0b400 { - cell-index = <2>; - compatible = "qcom,csiphy"; - reg = <0xfda0b400 0x200>, - <0xfda00040 0x4>; - reg-names = "csiphy", "csiphy_clk_mux"; - interrupts = <0 80 0>; - interrupt-names = "csiphy"; - }; - - qcom,csid@fda08000 { - cell-index = <0>; - compatible = "qcom,csid"; - reg = <0xfda08000 0x100>; - reg-names = "csid"; - interrupts = <0 51 0>; - interrupt-names = "csid"; - qcom,csi-vdd-voltage = <1800000>; - qcom,mipi-csi-vdd-supply = <&pm8941_l12>; - }; - - qcom,csid@fda08400 { - cell-index = <1>; - compatible = "qcom,csid"; - reg = <0xfda08400 0x100>; - reg-names = "csid"; - interrupts = <0 52 0>; - interrupt-names = "csid"; - qcom,csi-vdd-voltage = <1800000>; - qcom,mipi-csi-vdd-supply = <&pm8941_l12>; - }; - - qcom,csid@fda08800 { - cell-index = <2>; - compatible = "qcom,csid"; - reg = <0xfda08800 0x100>; - reg-names = "csid"; - interrupts = <0 53 0>; - interrupt-names = "csid"; - qcom,csi-vdd-voltage = <1800000>; - qcom,mipi-csi-vdd-supply = <&pm8941_l12>; - }; - - qcom,csid@fda08C00 { - cell-index = <3>; - compatible = "qcom,csid"; - reg = <0xfda08C00 0x100>; - reg-names = "csid"; - interrupts = <0 54 0>; - interrupt-names = "csid"; - qcom,csi-vdd-voltage = <1800000>; - qcom,mipi-csi-vdd-supply = <&pm8941_l12>; - }; - - qcom,ispif@fda0A000 { - cell-index = <0>; - compatible = "qcom,ispif"; - reg = <0xfda0A000 0x500>, - <0xfda00020 0x10>; - reg-names = "ispif", "csi_clk_mux"; - interrupts = <0 55 0>; - interrupt-names = "ispif"; - }; - - qcom,vfe@fda10000 { - cell-index = <0>; - compatible = "qcom,vfe40"; - reg = <0xfda10000 0x1000>, - <0xfda40000 0x200>; - reg-names = "vfe", "vfe_vbif"; - interrupts = <0 57 0>; - interrupt-names = "vfe"; - vdd-supply = <&gdsc_vfe>; - }; - - qcom,vfe@fda14000 { - cell-index = <1>; - compatible = "qcom,vfe40"; - reg = <0xfda14000 0x1000>, - <0xfda40000 0x200>; - reg-names = "vfe", "vfe_vbif"; - interrupts = <0 58 0>; - interrupt-names = "vfe"; - vdd-supply = <&gdsc_vfe>; - }; - - qcom,jpeg@fda1c000 { - cell-index = <0>; - compatible = "qcom,jpeg"; - reg = <0xfda1c000 0x400>; - reg-names = "jpeg"; - interrupts = <0 59 0>; - interrupt-names = "jpeg"; - vdd-supply = <&gdsc_jpeg>; - }; - - qcom,jpeg@fda20000 { - cell-index = <1>; - compatible = "qcom,jpeg"; - reg = <0xfda20000 0x400>; - reg-names = "jpeg"; - interrupts = <0 60 0>; - interrupt-names = "jpeg"; - vdd-supply = <&gdsc_jpeg>; - }; - - qcom,jpeg@fda24000 { - cell-index = <2>; - compatible = "qcom,jpeg"; - reg = <0xfda24000 0x400>; - reg-names = "jpeg"; - interrupts = <0 61 0>; - interrupt-names = "jpeg"; - vdd-supply = <&gdsc_jpeg>; - }; - - qcom,irqrouter@fda00000 { - cell-index = <0>; - compatible = "qcom,irqrouter"; - reg = <0xfda00000 0x100>; - reg-names = "irqrouter"; - }; - - qcom,cpp@fda04000 { - cell-index = <0>; - compatible = "qcom,cpp"; - reg = <0xfda04000 0x100>, - <0xfda40000 0x200>, - <0xfda18000 0x008>; - reg-names = "cpp", "cpp_vbif", "cpp_hw"; - interrupts = <0 49 0>; - interrupt-names = "cpp"; - vdd-supply = <&gdsc_vfe>; - }; - - led_flash0: qcom,camera-led-flash { - cell-index = <0>; - compatible = "qcom,camera-led-flash"; - qcom,flash-type = <1>; - qcom,flash-source = <&pm8941_flash0 &pm8941_flash1>; - }; - - cci: qcom,cci@fda0C000 { - cell-index = <0>; - compatible = "qcom,cci"; - reg = <0xfda0C000 0x1000>; - #address-cells = <1>; - #size-cells = <0>; - reg-names = "cci"; - interrupts = <0 50 0>; - interrupt-names = "cci"; - gpios = <&msmgpio 19 0>, - <&msmgpio 20 0>, - <&msmgpio 21 0>, - <&msmgpio 22 0>; - qcom,gpio-tbl-num = <0 1 2 3>; - qcom,gpio-tbl-flags = <1 1 1 1>; - qcom,gpio-tbl-label = "CCI_I2C_DATA0", - "CCI_I2C_CLK0", - "CCI_I2C_DATA1", - "CCI_I2C_CLK1"; - qcom,hw-thigh = <78>; - qcom,hw-tlow = <114>; - qcom,hw-tsu-sto = <28>; - qcom,hw-tsu-sta = <28>; - qcom,hw-thd-dat = <10>; - qcom,hw-thd-sta = <77>; - qcom,hw-tbuf = <118>; - qcom,hw-scl-stretch-en = <0>; - qcom,hw-trdhld = <6>; - qcom,hw-tsp = <1>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/msm8974-cdp.dtsi b/kernel/arch/arm/boot/dts/lte_module-v1/msm8974-cdp.dtsi deleted file mode 100755 index 2a60df4f4..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/msm8974-cdp.dtsi +++ /dev/null @@ -1,729 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/include/ "dsi-panel-toshiba-720p-video.dtsi" -/include/ "dsi-panel-orise-720p-video.dtsi" -/include/ "msm8974-leds.dtsi" -/include/ "msm8974-camera-sensor-cdp.dtsi" - -&soc { - serial@f991e000 { - status = "ok"; - }; - - qcom,mdss_dsi_toshiba_720p_video { - status = "ok"; - qcom,cont-splash-enabled; - }; - - qcom,mdss_dsi_orise_720p_video { - status = "disable"; - }; - - qcom,hdmi_tx@fd922100 { - status = "ok"; - }; - - i2c@f9924000 { - atmel_mxt_ts@4a { - compatible = "atmel,mxt-ts"; - reg = <0x4a>; - interrupt-parent = <&msmgpio>; - interrupts = <61 0x2>; - vdd_ana-supply = <&pm8941_l18>; - vcc_i2c-supply = <&pm8941_lvs1>; - atmel,reset-gpio = <&msmgpio 60 0x00>; - atmel,irq-gpio = <&msmgpio 61 0x00>; - atmel,panel-coords = <0 0 760 1424>; - atmel,display-coords = <0 0 720 1280>; - atmel,i2c-pull-up; - atmel,no-force-update; - atmel,cfg_1 { - atmel,family-id = <0x82>; - atmel,variant-id = <0x19>; - atmel,version = <0x10>; - atmel,build = <0xaa>; - atmel,config = [ - /* Object 6, Instance = 0 */ - 00 00 00 00 00 00 - /* Object 38, Instance = 0 */ - 15 01 00 03 0A 0C 00 00 - /* Object 7, Instance = 0 */ - 20 08 32 03 - /* Object 8, Instance = 0 */ - 0F 00 0A 0A 00 00 0A 0A 00 00 - /* Object 9, Instance = 0 */ - 83 00 00 18 0E 00 70 46 02 01 - 00 0A 03 31 04 05 0A 0A 90 05 - F8 02 05 F1 F1 0F 00 00 08 2D - 12 06 00 00 00 01 - /* Object 15, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 - /* Object 18, Instance = 0 */ - 00 00 - /* Object 19, Instance = 0 */ - 00 00 00 00 00 00 - /* Object 23, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 - /* Object 25, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 - /* Object 40, Instance = 0 */ - 00 00 00 00 00 - /* Object 42, Instance = 0 */ - 33 1E 19 10 80 00 00 00 FF 00 - /* Object 46, Instance = 0 */ - 00 00 10 10 00 00 03 00 00 01 - /* Object 47, Instance = 0 */ - 08 0A 28 0A 02 0A 00 8C 00 20 - 00 00 00 - /* Object 55, Instance = 0 */ - 00 00 00 00 00 00 - /* Object 56, Instance = 0 */ - 00 00 00 18 05 05 05 05 05 05 - 05 05 05 05 05 05 05 05 05 05 - 05 05 05 05 05 05 05 05 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 - /* Object 57, Instance = 0 */ - 00 00 00 - /* Object 61, Instance = 0 */ - 00 00 00 00 00 - /* Object 62, Instance = 0 */ - 01 2A 00 16 00 00 00 00 0B 01 - 02 03 04 08 00 00 08 10 18 05 - 00 0A 05 05 50 14 19 34 1A 7F - 00 00 00 00 00 00 00 00 00 30 - 05 02 00 01 00 05 00 00 00 00 - 00 00 00 00 - ]; - }; - }; - }; - - gen-vkeys { - compatible = "qcom,gen-vkeys"; - label = "atmel_mxt_ts"; - qcom,disp-maxx = <720>; - qcom,disp-maxy = <1280>; - qcom,panel-maxx = <760>; - qcom,panel-maxy = <1424>; - qcom,key-codes = <158 139 102 217>; - }; - - i2c@f9967000 { - isa1200@48 { - status = "okay"; - reg = <0x48>; - vcc_i2c-supply = <&pm8941_s3>; - compatible = "imagis,isa1200"; - label = "vibrator"; - imagis,chip-en; - imagis,smart-en; - imagis,need-pwm-clk; - imagis,ext-clk-en; - imagis,hap-en-gpio = <&msmgpio 86 0x00>; - imagis,max-timeout = <15000>; - imagis,pwm-div = <256>; - imagis,mode-ctrl = <2>; - imagis,regulator { - regulator-name = "vcc_i2c"; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - regulator-max-microamp = <9360>; - }; - }; - }; - - gpio_keys { - compatible = "gpio-keys"; - input-name = "gpio-keys"; - - camera_snapshot { - label = "camera_snapshot"; - gpios = <&pm8941_gpios 3 0x1>; - linux,input-type = <1>; - linux,code = <0x2fe>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - - camera_focus { - label = "camera_focus"; - gpios = <&pm8941_gpios 4 0x1>; - linux,input-type = <1>; - linux,code = <0x210>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - - vol_up { - label = "volume_up"; - gpios = <&pm8941_gpios 5 0x1>; - linux,input-type = <1>; - linux,code = <115>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - }; - - spi@f9923000 { - ethernet-switch@2 { - compatible = "micrel,ks8851"; - reg = <2>; - interrupt-parent = <&msmgpio>; - interrupts = <94 0>; - spi-max-frequency = <4800000>; - rst-gpio = <&pm8941_mpps 6 0>; - vdd-io-supply = <&spi_eth_vreg>; - vdd-phy-supply = <&spi_eth_vreg>; - }; - }; - - sound { - qcom,model = "msm8974-taiko-cdp-snd-card"; - qcom,hdmi-audio-rx; - qcom,us-euro-gpios = <&pm8941_gpios 20 0>; - qcom,cdc-micbias2-headset-only; - }; - - usb2_otg_sw: regulator-tpd4s214 { - compatible = "regulator-fixed"; - regulator-name = "usb2_otg_sw"; - gpio = <&pm8941_gpios 18 0>; - parent-supply = <&pm8941_boost>; - startup-delay-us = <17000>; - enable-active-high; - }; - - hsic_host: hsic@f9a00000 { - compatible = "qcom,hsic-host"; - reg = <0xf9a00000 0x400>; - #address-cells = <0>; - interrupt-parent = <&hsic_host>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 136 0 - 1 &intc 0 148 0 - 2 &msmgpio 144 0x8>; - interrupt-names = "core_irq", "async_irq", "wakeup"; - HSIC_VDDCX-supply = <&pm8841_s2>; - HSIC_GDSC-supply = <&gdsc_usb_hsic>; - hsic,strobe-gpio = <&msmgpio 144 0x00>; - hsic,data-gpio = <&msmgpio 145 0x00>; - hsic,resume-gpio = <&msmgpio 80 0x00>; - hsic,ignore-cal-pad-config; - hsic,strobe-pad-offset = <0x2050>; - hsic,data-pad-offset = <0x2054>; - - qcom,msm-bus,name = "hsic"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <85 512 0 0>, - <85 512 40000 160000>; - }; - - wlan0: qca,wlan { - compatible = "qca,ar6004-hsic"; - qcom,msm-bus,name = "wlan"; - qcom,msm-bus,num-cases = <5>; - qcom,msm-bus,active-only = <0>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <85 512 0 0>, - <85 512 40000 160000>, - <85 512 40000 320000>, - <85 512 40000 480000>, - <85 512 40000 800000>; - }; -}; - -&spmi_bus { - qcom,pm8941@1 { - qcom,leds@d800 { - status = "okay"; - qcom,wled_0 { - label = "wled"; - linux,name = "wled:backlight"; - linux,default-trigger = "bkl-trigger"; - qcom,cs-out-en; - qcom,op-fdbck = <1>; - qcom,default-state = "on"; - qcom,max-current = <25>; - qcom,ctrl-delay-us = <0>; - qcom,boost-curr-lim = <3>; - qcom,cp-sel = <0>; - qcom,switch-freq = <2>; - qcom,ovp-val = <2>; - qcom,num-strings = <1>; - qcom,id = <0>; - }; - }; - - qcom,leds@d900 { - status = "disabled"; - }; - - qcom,leds@da00 { - status = "disabled"; - }; - - qcom,leds@db00 { - status = "disabled"; - }; - - qcom,leds@dc00 { - status = "disabled"; - }; - - qcom,leds@dd00 { - status = "disabled"; - }; - - qcom,leds@de00 { - status = "disabled"; - }; - - qcom,leds@df00 { - status = "disabled"; - }; - - qcom,leds@e000 { - status = "disabled"; - }; - - qcom,leds@e100 { - status = "disabled"; - }; - }; -}; - -&sdcc1 { - status = "disabled"; -}; - -&sdcc2 { - #address-cells = <0>; - interrupt-parent = <&sdcc2>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 125 0 - 1 &intc 0 220 0 - 2 &msmgpio 62 0x3>; - interrupt-names = "core_irq", "bam_irq", "status_irq"; - cd-gpios = <&msmgpio 62 0x1>; - wp-gpios = <&pm8941_gpios 29 0x1>; - status = "disabled"; -}; - -&sdhc_1 { - vdd-supply = <&pm8941_l20>; - vdd-io-supply = <&pm8941_s3>; - - qcom,vdd-always-on; - qcom,vdd-lpm-sup; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <800 500000>; - - qcom,vdd-io-always-on; - qcom,vdd-io-voltage-level = <1800000 1800000>; - qcom,vdd-io-current-level = <250 154000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,nonremovable; - status = "ok"; -}; - -&sdhc_2 { - #address-cells = <0>; - interrupt-parent = <&sdhc_2>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 125 0 - 1 &intc 0 221 0 - 2 &msmgpio 62 0x3>; - interrupt-names = "hc_irq", "pwr_irq", "status_irq"; - cd-gpios = <&msmgpio 62 0x1>; - - vdd-supply = <&pm8941_l21>; - vdd-io-supply = <&pm8941_l13>; - - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <9000 800000>; - - qcom,vdd-io-voltage-level = <1800000 2950000>; - qcom,vdd-io-current-level = <6 22000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - status = "ok"; -}; - -/* Drive strength recommendations for clock line from hardware team is 10 mA. - * But since the driver has been been using the below values from the start - * without any problems, continue to use those. - */ -&sdcc1 { - qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */ -}; - -&sdcc2 { - qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */ -}; - -&sdhc_1 { - qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */ -}; - -&sdhc_2 { - qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */ -}; - -&uart7 { - status = "ok"; - qcom,tx-gpio = <&msmgpio 41 0x00>; - qcom,rx-gpio = <&msmgpio 42 0x00>; - qcom,cts-gpio = <&msmgpio 43 0x00>; - qcom,rfr-gpio = <&msmgpio 44 0x00>; -}; - -&usb3 { - qcom,otg-capability; -}; - -&pm8941_chg { - status = "ok"; - - qcom,chgr@1000 { - status = "ok"; - }; - - qcom,buck@1100 { - status = "ok"; - }; - - qcom,usb-chgpth@1300 { - status = "ok"; - }; - - qcom,dc-chgpth@1400 { - status = "ok"; - }; - - qcom,boost@1500 { - status = "ok"; - }; - - qcom,chg-misc@1600 { - status = "ok"; - }; -}; - -&pm8941_gpios { - gpio@c000 { /* GPIO 1 */ - }; - - gpio@c100 { /* GPIO 2 */ - }; - - gpio@c200 { /* GPIO 3 */ - qcom,mode = <0>; - qcom,pull = <0>; - qcom,vin-sel = <2>; - qcom,src-sel = <0>; - }; - - gpio@c300 { /* GPIO 4 */ - qcom,mode = <0>; - qcom,pull = <0>; - qcom,vin-sel = <2>; - qcom,src-sel = <0>; - }; - - gpio@c400 { /* GPIO 5 */ - qcom,mode = <0>; - qcom,pull = <0>; - qcom,vin-sel = <2>; - qcom,src-sel = <0>; - }; - - gpio@c500 { /* GPIO 6 */ - }; - - gpio@c600 { /* GPIO 7 */ - }; - - gpio@c700 { /* GPIO 8 */ - }; - - gpio@c800 { /* GPIO 9 */ - }; - - gpio@c900 { /* GPIO 10 */ - }; - - gpio@ca00 { /* GPIO 11 */ - }; - - gpio@cb00 { /* GPIO 12 */ - }; - - gpio@cc00 { /* GPIO 13 */ - }; - - gpio@cd00 { /* GPIO 14 */ - }; - - gpio@ce00 { /* GPIO 15 */ - qcom,mode = <1>; - qcom,output-type = <0>; - qcom,pull = <5>; - qcom,vin-sel = <2>; - qcom,out-strength = <1>; - qcom,src-sel = <2>; - qcom,master-en = <1>; - }; - - gpio@cf00 { /* GPIO 16 */ - qcom,mode = <1>; - qcom,output-type = <0>; - qcom,pull = <2>; - qcom,vin-sel = <2>; - qcom,out-strength = <2>; - qcom,src-sel = <2>; - qcom,master-en = <1>; - }; - - gpio@d000 { /* GPIO 17 */ - }; - - gpio@d100 { /* GPIO 18 */ - /* usb2_otg_sw regulator enable */ - qcom,mode = <1>; /* Digital output */ - qcom,output-type = <0>; /* CMOS logic */ - qcom,invert = <0>; /* Output low initially */ - qcom,vin-sel = <2>; /* PM8941 S3 = 1.8 V */ - qcom,src-sel = <0>; /* Constant */ - qcom,out-strength = <2>; /* Medium drive strength */ - qcom,master-en = <1>; /* Enable GPIO */ - }; - - gpio@d200 { /* GPIO 19 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,output-type = <0>; /* QPNP_PIN_OUT_BUF_CMOS */ - qcom,pull = <5>; /* QPNP_PIN_PULL_NO */ - qcom,vin-sel = <2>; /* QPNP_PIN_VIN2 */ - qcom,out-strength = <2>; /* QPNP_PIN_OUT_STRENGTH_MED */ - qcom,src-sel = <0>; /* QPNP_PIN_SEL_FUNC_CONSTANT */ - qcom,master-en = <1>; - }; - - gpio@d300 { /* GPIO 20 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,output-type = <0>; /* QPNP_PIN_OUT_BUF_CMOS */ - qcom,invert = <0>; /* Output low initially */ - qcom,pull = <5>; /* QPNP_PIN_PULL_NO */ - qcom,vin-sel = <2>; /* QPNP_PIN_VIN2 */ - qcom,out-strength = <2>; /* QPNP_PIN_OUT_STRENGTH_MED */ - qcom,src-sel = <0>; /* QPNP_PIN_SEL_FUNC_CONSTANT */ - qcom,master-en = <1>; - }; - - gpio@d400 { /* GPIO 21 */ - }; - - gpio@d500 { /* GPIO 22 */ - }; - - gpio@d600 { /* GPIO 23 */ - }; - - gpio@d700 { /* GPIO 24 */ - }; - - gpio@d800 { /* GPIO 25 */ - }; - - gpio@d900 { /* GPIO 26 */ - }; - - gpio@da00 { /* GPIO 27 */ - }; - - gpio@db00 { /* GPIO 28 */ - }; - - gpio@dc00 { /* GPIO 29 */ - qcom,pull = <0>; /* set to default pull */ - qcom,master-en = <1>; - qcom,vin-sel = <2>; /* select 1.8 V source */ - }; - - gpio@dd00 { /* GPIO 30 */ - }; - - gpio@de00 { /* GPIO 31 */ - }; - - gpio@df00 { /* GPIO 32 */ - }; - - gpio@e000 { /* GPIO 33 */ - }; - - gpio@e100 { /* GPIO 34 */ - }; - - gpio@e200 { /* GPIO 35 */ - }; - - gpio@e300 { /* GPIO 36 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,output-type = <0>; /* QPNP_PIN_OUT_BUF_CMOS */ - qcom,pull = <5>; /* QPNP_PIN_PULL_NO */ - qcom,vin-sel = <2>; /* QPNP_PIN_VIN2 */ - qcom,out-strength = <3>; /* QPNP_PIN_OUT_STRENGTH_HIGH */ - qcom,src-sel = <3>; /* QPNP_PIN_SEL_FUNC_2 */ - qcom,master-en = <1>; - }; -}; - -&pm8941_mpps { - - mpp@a000 { /* MPP 1 */ - status = "disabled"; - }; - - mpp@a100 { /* MPP 2 */ - }; - - mpp@a200 { /* MPP 3 */ - }; - - mpp@a300 { /* MPP 4 */ - }; - - mpp@a400 { /* MPP 5 */ - /* SPI_ETH config */ - qcom,mode = <1>; /* DIG_OUT */ - qcom,output-type = <0>; /* CMOS */ - qcom,vin-sel = <2>; /* PM8941_S3 1.8V > 1.6V */ - qcom,src-sel = <0>; /* CONSTANT */ - qcom,master-en = <1>; /* ENABLE MPP */ - }; - - mpp@a500 { /* MPP 6 */ - /* SPI_ETH_RST config */ - qcom,mode = <1>; /* DIG_OUT */ - qcom,output-type = <0>; /* CMOS */ - qcom,vin-sel = <2>; /* PM8941_S3 1.8V > 1.6V */ - qcom,src-sel = <0>; /* CONSTANT */ - qcom,master-en = <1>; /* ENABLE MPP */ - }; - - mpp@a600 { /* MPP 7 */ - }; - - mpp@a700 { /* MPP 8 */ - }; -}; - -&pm8841_mpps { - - mpp@a000 { /* MPP 1 */ - }; - - mpp@a100 { /* MPP 2 */ - }; - - mpp@a200 { /* MPP 3 */ - }; - - mpp@a300 { /* MPP 4 */ - }; -}; - -/* CoreSight */ -&tpiu { - qcom,seta-gpios = <&msmgpio 31 0>, - <&msmgpio 32 0>, - <&msmgpio 33 0>, - <&msmgpio 34 0>, - <&msmgpio 35 0>, - <&msmgpio 36 0>, - <&msmgpio 37 0>, - <&msmgpio 38 0>, - <&msmgpio 39 0>, - <&msmgpio 40 0>, - <&msmgpio 41 0>, - <&msmgpio 42 0>, - <&msmgpio 43 0>, - <&msmgpio 44 0>, - <&msmgpio 45 0>, - <&msmgpio 46 0>, - <&msmgpio 47 0>, - <&msmgpio 48 0>; - qcom,seta-gpios-func = <4 4 4 3 4 4 4 3 4 3 5 5 5 5 4 4 5 5>; - qcom,seta-gpios-drv = <7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7>; - qcom,seta-gpios-pull = <0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0>; - qcom,seta-gpios-dir = <2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2>; - - qcom,setb-gpios = <&msmgpio 15 0>, - <&msmgpio 16 0>, - <&msmgpio 17 0>, - <&msmgpio 18 0>, - <&msmgpio 19 0>, - <&msmgpio 20 0>, - <&msmgpio 21 0>, - <&msmgpio 22 0>, - <&msmgpio 23 0>, - <&msmgpio 24 0>, - <&msmgpio 25 0>, - <&msmgpio 26 0>, - <&msmgpio 27 0>, - <&msmgpio 28 0>, - <&msmgpio 89 0>, - <&msmgpio 90 0>, - <&msmgpio 91 0>, - <&msmgpio 92 0>; - qcom,setb-gpios-func = <2 2 2 2 5 5 5 5 6 6 6 7 7 5 2 3 3 3>; - qcom,setb-gpios-drv = <7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7>; - qcom,setb-gpios-pull = <0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0>; - qcom,setb-gpios-dir = <2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2>; -}; - -&slim_msm { - taiko_codec { - qcom,cdc-micbias1-ext-cap; - qcom,cdc-micbias3-ext-cap; - qcom,cdc-micbias4-ext-cap; - - /* If boot isn't available, vph_pwr_vreg can be used instead */ - cdc-vdd-spkdrv-supply = <&pm8941_boost>; - qcom,cdc-vdd-spkdrv-voltage = <5000000 5000000>; - qcom,cdc-vdd-spkdrv-current = <1250000>; - - qcom,cdc-on-demand-supplies = "cdc-vdd-spkdrv"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/msm8974-clock.dtsi b/kernel/arch/arm/boot/dts/lte_module-v1/msm8974-clock.dtsi deleted file mode 100755 index bed5d70be..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/msm8974-clock.dtsi +++ /dev/null @@ -1,27 +0,0 @@ -/* Copyright (c) 2012, 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. - */ - -&spmi_bus { - - qcom,pm8941@0 { - - pm8941_clkdiv1: clkdiv@5b00 { - qcom,cxo-div = <2>; - }; - - pm8941_clkdiv2: clkdiv@5c00 { - }; - - pm8941_clkdiv3: clkdiv@5d00 { - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/msm8974-coresight.dtsi b/kernel/arch/arm/boot/dts/lte_module-v1/msm8974-coresight.dtsi deleted file mode 100755 index 1610f1f43..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/msm8974-coresight.dtsi +++ /dev/null @@ -1,381 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&soc { - tmc_etr: tmc@fc322000 { - compatible = "arm,coresight-tmc"; - reg = <0xfc322000 0x1000>, - <0xfc37c000 0x3000>; - reg-names = "tmc-base", "bam-base"; - - qcom,memory-reservation-type = "EBI1"; - qcom,memory-reservation-size = <0x100000>; /* 1M EBI1 buffer */ - - coresight-id = <0>; - coresight-name = "coresight-tmc-etr"; - coresight-nr-inports = <1>; - coresight-ctis = <&cti0 &cti8>; - }; - - tpiu: tpiu@fc318000 { - compatible = "arm,coresight-tpiu"; - reg = <0xfc318000 0x1000>; - reg-names = "tpiu-base"; - - coresight-id = <1>; - coresight-name = "coresight-tpiu"; - coresight-nr-inports = <1>; - - vdd-supply = <&pm8941_l21>; - - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <9000 800000>; - }; - - replicator: replicator@fc31c000 { - compatible = "qcom,coresight-replicator"; - reg = <0xfc31c000 0x1000>; - reg-names = "replicator-base"; - - coresight-id = <2>; - coresight-name = "coresight-replicator"; - coresight-nr-inports = <1>; - coresight-outports = <0 1>; - coresight-child-list = <&tmc_etr &tpiu>; - coresight-child-ports = <0 0>; - }; - - tmc_etf: tmc@fc307000 { - compatible = "arm,coresight-tmc"; - reg = <0xfc307000 0x1000>; - reg-names = "tmc-base"; - - coresight-id = <3>; - coresight-name = "coresight-tmc-etf"; - coresight-nr-inports = <1>; - coresight-outports = <0>; - coresight-child-list = <&replicator>; - coresight-child-ports = <0>; - coresight-default-sink; - coresight-ctis = <&cti0 &cti8>; - }; - - funnel_merg: funnel@fc31b000 { - compatible = "arm,coresight-funnel"; - reg = <0xfc31b000 0x1000>; - reg-names = "funnel-base"; - - coresight-id = <4>; - coresight-name = "coresight-funnel-merg"; - coresight-nr-inports = <2>; - coresight-outports = <0>; - coresight-child-list = <&tmc_etf>; - coresight-child-ports = <0>; - }; - - funnel_in0: funnel@fc319000 { - compatible = "arm,coresight-funnel"; - reg = <0xfc319000 0x1000>; - reg-names = "funnel-base"; - - coresight-id = <5>; - coresight-name = "coresight-funnel-in0"; - coresight-nr-inports = <8>; - coresight-outports = <0>; - coresight-child-list = <&funnel_merg>; - coresight-child-ports = <0>; - }; - - funnel_in1: funnel@fc31a000 { - compatible = "arm,coresight-funnel"; - reg = <0xfc31a000 0x1000>; - reg-names = "funnel-base"; - - coresight-id = <6>; - coresight-name = "coresight-funnel-in1"; - coresight-nr-inports = <8>; - coresight-outports = <0>; - coresight-child-list = <&funnel_merg>; - coresight-child-ports = <1>; - }; - - funnel_kpss: funnel@fc345000 { - compatible = "arm,coresight-funnel"; - reg = <0xfc345000 0x1000>; - reg-names = "funnel-base"; - - coresight-id = <7>; - coresight-name = "coresight-funnel-kpss"; - coresight-nr-inports = <4>; - coresight-outports = <0>; - coresight-child-list = <&funnel_in1>; - coresight-child-ports = <5>; - }; - - funnel_mmss: funnel@fc364000 { - compatible = "arm,coresight-funnel"; - reg = <0xfc364000 0x1000>; - reg-names = "funnel-base"; - - - coresight-id = <8>; - coresight-name = "coresight-funnel-mmss"; - coresight-nr-inports = <8>; - coresight-outports = <0>; - coresight-child-list = <&funnel_in1>; - coresight-child-ports = <1>; - }; - - stm: stm@fc321000 { - compatible = "arm,coresight-stm"; - reg = <0xfc321000 0x1000>, - <0xfa280000 0x180000>; - reg-names = "stm-base", "stm-data-base"; - - coresight-id = <9>; - coresight-name = "coresight-stm"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_in1>; - coresight-child-ports = <7>; - }; - - etm0: etm@fc33c000 { - compatible = "arm,coresight-etm"; - reg = <0xfc33c000 0x1000>; - reg-names = "etm-base"; - - coresight-id = <10>; - coresight-name = "coresight-etm0"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_kpss>; - coresight-child-ports = <0>; - - qcom,pc-save; - qcom,round-robin; - }; - - etm1: etm@fc33d000 { - compatible = "arm,coresight-etm"; - reg = <0xfc33d000 0x1000>; - reg-names = "etm-base"; - - coresight-id = <11>; - coresight-name = "coresight-etm1"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_kpss>; - coresight-child-ports = <1>; - - qcom,pc-save; - qcom,round-robin; - }; - - etm2: etm@fc33e000 { - compatible = "arm,coresight-etm"; - reg = <0xfc33e000 0x1000>; - reg-names = "etm-base"; - - coresight-id = <12>; - coresight-name = "coresight-etm2"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_kpss>; - coresight-child-ports = <2>; - - qcom,pc-save; - qcom,round-robin; - }; - - etm3: etm@fc33f000 { - compatible = "arm,coresight-etm"; - reg = <0xfc33f000 0x1000>; - reg-names = "etm-base"; - - coresight-id = <13>; - coresight-name = "coresight-etm3"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_kpss>; - coresight-child-ports = <3>; - - qcom,pc-save; - qcom,round-robin; - }; - - csr: csr@fc302000 { - compatible = "qcom,coresight-csr"; - reg = <0xfc302000 0x1000>; - reg-names = "csr-base"; - - coresight-id = <14>; - coresight-name = "coresight-csr"; - coresight-nr-inports = <0>; - - qcom,blk-size = <3>; - }; - - cti0: cti@fc308000 { - compatible = "arm,coresight-cti"; - reg = <0xfc308000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <15>; - coresight-name = "coresight-cti0"; - coresight-nr-inports = <0>; - }; - - cti1: cti@fc309000 { - compatible = "arm,coresight-cti"; - reg = <0xfc309000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <16>; - coresight-name = "coresight-cti1"; - coresight-nr-inports = <0>; - }; - - cti2: cti@fc30a000 { - compatible = "arm,coresight-cti"; - reg = <0xfc30a000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <17>; - coresight-name = "coresight-cti2"; - coresight-nr-inports = <0>; - }; - - cti3: cti@fc30b000 { - compatible = "arm,coresight-cti"; - reg = <0xfc30b000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <18>; - coresight-name = "coresight-cti3"; - coresight-nr-inports = <0>; - }; - - cti4: cti@fc30c000 { - compatible = "arm,coresight-cti"; - reg = <0xfc30c000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <19>; - coresight-name = "coresight-cti4"; - coresight-nr-inports = <0>; - }; - - cti5: cti@fc30d000 { - compatible = "arm,coresight-cti"; - reg = <0xfc30d000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <20>; - coresight-name = "coresight-cti5"; - coresight-nr-inports = <0>; - }; - - cti6: cti@fc30e000 { - compatible = "arm,coresight-cti"; - reg = <0xfc30e000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <21>; - coresight-name = "coresight-cti6"; - coresight-nr-inports = <0>; - }; - - cti7: cti@fc30f000 { - compatible = "arm,coresight-cti"; - reg = <0xfc30f000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <22>; - coresight-name = "coresight-cti7"; - coresight-nr-inports = <0>; - }; - - cti8: cti@fc310000 { - compatible = "arm,coresight-cti"; - reg = <0xfc310000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <23>; - coresight-name = "coresight-cti8"; - coresight-nr-inports = <0>; - }; - - cti_l2: cti@fc340000 { - compatible = "arm,coresight-cti"; - reg = <0xfc340000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <24>; - coresight-name = "coresight-cti-l2"; - coresight-nr-inports = <0>; - }; - - cti_cpu0: cti@fc341000 { - compatible = "arm,coresight-cti"; - reg = <0xfc341000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <25>; - coresight-name = "coresight-cti-cpu0"; - coresight-nr-inports = <0>; - }; - - cti_cpu1: cti@fc342000 { - compatible = "arm,coresight-cti"; - reg = <0xfc342000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <26>; - coresight-name = "coresight-cti-cpu1"; - coresight-nr-inports = <0>; - }; - - cti_cpu2: cti@fc343000 { - compatible = "arm,coresight-cti"; - reg = <0xfc343000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <27>; - coresight-name = "coresight-cti-cpu2"; - coresight-nr-inports = <0>; - }; - - cti_cpu3: cti@fc344000 { - compatible = "arm,coresight-cti"; - reg = <0xfc344000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <28>; - coresight-name = "coresight-cti-cpu3"; - coresight-nr-inports = <0>; - }; - - hwevent: hwevent@fdf30018 { - compatible = "qcom,coresight-hwevent"; - reg = <0xfdf30018 0x80>, - <0xf9011080 0x80>, - <0xfd4ab160 0x80>; - reg-names = "mmss-mux", "apcs-mux", "ppss-mux"; - - coresight-id = <29>; - coresight-name = "coresight-hwevent"; - coresight-nr-inports = <0>; - - qcom,hwevent-clks = "core_mmss_clk"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/msm8974-fluid.dtsi b/kernel/arch/arm/boot/dts/lte_module-v1/msm8974-fluid.dtsi deleted file mode 100755 index a822af5fa..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/msm8974-fluid.dtsi +++ /dev/null @@ -1,667 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/include/ "dsi-panel-toshiba-720p-video.dtsi" -/include/ "msm8974-camera-sensor-fluid.dtsi" -/include/ "msm8974-leds.dtsi" - -&soc { - serial@f991e000 { - status = "ok"; - }; - - qcom,mdss_dsi_toshiba_720p_video { - status = "ok"; - qcom,cont-splash-enabled; - }; - - qcom,hdmi_tx@fd922100 { - status = "ok"; - }; - - i2c@f9924000 { - atmel_mxt_ts@4a { - compatible = "atmel,mxt-ts"; - reg = <0x4a>; - interrupt-parent = <&msmgpio>; - interrupts = <61 0x2>; - vdd_ana-supply = <&pm8941_l18>; - vcc_i2c-supply = <&pm8941_lvs1>; - atmel,reset-gpio = <&msmgpio 60 0x00>; - atmel,irq-gpio = <&msmgpio 61 0x00>; - atmel,panel-coords = <0 0 760 1424>; - atmel,display-coords = <0 0 720 1280>; - atmel,i2c-pull-up; - atmel,no-force-update; - atmel,cfg_1 { - atmel,family-id = <0x82>; - atmel,variant-id = <0x19>; - atmel,version = <0x10>; - atmel,build = <0xaa>; - atmel,config = [ - /* Object 6, Instance = 0 */ - 00 00 00 00 00 00 - /* Object 38, Instance = 0 */ - 15 01 00 03 0A 0C 00 00 - /* Object 7, Instance = 0 */ - 20 08 32 03 - /* Object 8, Instance = 0 */ - 0F 00 0A 0A 00 00 0A 0A 00 00 - /* Object 9, Instance = 0 */ - 83 00 00 18 0E 00 70 46 02 01 - 00 0A 03 31 04 05 0A 0A 90 05 - F8 02 05 F1 F1 0F 00 00 08 2D - 12 06 00 00 00 01 - /* Object 15, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 - /* Object 18, Instance = 0 */ - 00 00 - /* Object 19, Instance = 0 */ - 00 00 00 00 00 00 - /* Object 23, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 - /* Object 25, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 - /* Object 40, Instance = 0 */ - 00 00 00 00 00 - /* Object 42, Instance = 0 */ - 33 1E 19 10 80 00 00 00 FF 00 - /* Object 46, Instance = 0 */ - 00 00 10 10 00 00 03 00 00 01 - /* Object 47, Instance = 0 */ - 08 0A 28 0A 02 0A 00 8C 00 20 - 00 00 00 - /* Object 55, Instance = 0 */ - 00 00 00 00 00 00 - /* Object 56, Instance = 0 */ - 00 00 00 18 05 05 05 05 05 05 - 05 05 05 05 05 05 05 05 05 05 - 05 05 05 05 05 05 05 05 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 - /* Object 57, Instance = 0 */ - 00 00 00 - /* Object 61, Instance = 0 */ - 00 00 00 00 00 - /* Object 62, Instance = 0 */ - 01 2A 00 16 00 00 00 00 0B 01 - 02 03 04 08 00 00 08 10 18 05 - 00 0A 05 05 50 14 19 34 1A 7F - 00 00 00 00 00 00 00 00 00 30 - 05 02 00 01 00 05 00 00 00 00 - 00 00 00 00 - ]; - }; - }; - }; - - i2c@f9967000 { - sii8334@72 { - compatible = "qcom,mhl-sii8334"; - reg = <0x72>; - interrupt-parent = <&msmgpio>; - interrupts = <82 0x8>; - mhl-intr-gpio = <&msmgpio 82 0>; - mhl-pwr-gpio = <&msmgpio 12 0>; - mhl-rst-gpio = <&pm8941_mpps 8 0>; - avcc_18-supply = <&pm8941_l24>; - avcc_12-supply = <&pm8941_l2>; - smps3a-supply = <&pm8941_s3>; - vdda-supply = <&pm8941_l12>; - qcom,hdmi-tx-map = <&mdss_hdmi_tx>; - }; - - isa1200@48 { - status = "okay"; - reg = <0x48>; - vcc_i2c-supply = <&pm8941_s3>; - compatible = "imagis,isa1200"; - label = "vibrator"; - imagis,chip-en; - imagis,need-pwm-clk; - imagis,ext-clk-en; - imagis,hap-en-gpio = <&msmgpio 86 0x00>; - imagis,max-timeout = <15000>; - imagis,pwm-div = <256>; - imagis,mode-ctrl = <2>; - imagis,regulator { - regulator-name = "vcc_i2c"; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - regulator-max-microamp = <9360>; - }; - }; - }; - - gen-vkeys { - compatible = "qcom,gen-vkeys"; - label = "atmel_mxt_ts"; - qcom,disp-maxx = <720>; - qcom,disp-maxy = <1280>; - qcom,panel-maxx = <760>; - qcom,panel-maxy = <1424>; - qcom,key-codes = <158 139 102 217>; - }; - - gpio_keys { - compatible = "gpio-keys"; - input-name = "gpio-keys"; - - camera_snapshot { - label = "camera_snapshot"; - gpios = <&pm8941_gpios 3 0x1>; - linux,input-type = <1>; - linux,code = <0x2fe>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - - camera_focus { - label = "camera_focus"; - gpios = <&pm8941_gpios 4 0x1>; - linux,input-type = <1>; - linux,code = <0x210>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - - vol_up { - label = "volume_up"; - gpios = <&pm8941_gpios 5 0x1>; - linux,input-type = <1>; - linux,code = <115>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - }; - - spi@f9923000 { - ethernet-switch@2 { - compatible = "micrel,ks8851"; - reg = <2>; - interrupt-parent = <&msmgpio>; - interrupts = <94 0>; - spi-max-frequency = <4800000>; - rst-gpio = <&pm8941_mpps 6 0>; - vdd-io-supply = <&spi_eth_vreg>; - vdd-phy-supply = <&spi_eth_vreg>; - }; - }; - - sound { - qcom,model = "msm8974-taiko-fluid-snd-card"; - qcom,audio-routing = - "RX_BIAS", "MCLK", - "LDO_H", "MCLK", - "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", - "Lineout_1 amp", "LINEOUT1", - "Lineout_3 amp", "LINEOUT3"; - - qcom,hdmi-audio-rx; - qcom,ext-ult-lo-amp-gpio = <&pm8941_gpios 6 0>; - qcom,cdc-micbias2-headset-only; - }; -}; - -&slim_msm { - taiko_codec { - qcom,cdc-micbias1-ext-cap; - qcom,cdc-micbias2-ext-cap; - qcom,cdc-micbias3-ext-cap; - qcom,cdc-micbias4-ext-cap; - - /* If boot isn't available, vph_pwr_vreg can be used instead */ - cdc-vdd-spkdrv-supply = <&pm8941_boost>; - qcom,cdc-vdd-spkdrv-voltage = <5000000 5000000>; - qcom,cdc-vdd-spkdrv-current = <1250000>; - - qcom,cdc-on-demand-supplies = "cdc-vdd-spkdrv"; - }; -}; - -&spmi_bus { - qcom,pm8941@1 { - qcom,leds@d800 { - status = "okay"; - qcom,wled_0 { - label = "wled"; - linux,name = "wled:backlight"; - linux,default-trigger = "bkl-trigger"; - qcom,cs-out-en; - qcom,op-fdbck = <1>; - qcom,default-state = "on"; - qcom,max-current = <25>; - qcom,ctrl-delay-us = <0>; - qcom,boost-curr-lim = <3>; - qcom,cp-sel = <0>; - qcom,switch-freq = <2>; - qcom,ovp-val = <2>; - qcom,num-strings = <1>; - qcom,id = <0>; - }; - }; - - qcom,leds@d900 { - status = "disabled"; - }; - - qcom,leds@da00 { - status = "disabled"; - }; - - qcom,leds@db00 { - status = "disabled"; - }; - - qcom,leds@dc00 { - status = "disabled"; - }; - - qcom,leds@dd00 { - status = "disabled"; - }; - - qcom,leds@de00 { - status = "disabled"; - }; - - qcom,leds@df00 { - status = "disabled"; - }; - - qcom,leds@e000 { - status = "disabled"; - }; - - qcom,leds@e100 { - status = "disabled"; - }; - }; -}; - -&sdcc1 { - status = "disabled"; -}; - -&sdcc2 { - #address-cells = <0>; - interrupt-parent = <&sdcc2>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 125 0 - 1 &intc 0 220 0 - 2 &msmgpio 62 0x3>; - interrupt-names = "core_irq", "bam_irq", "status_irq"; - cd-gpios = <&msmgpio 62 0x1>; - status = "disabled"; -}; - -&sdhc_1 { - vdd-supply = <&pm8941_l20>; - vdd-io-supply = <&pm8941_s3>; - - qcom,vdd-always-on; - qcom,vdd-lpm-sup; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <800 500000>; - - qcom,vdd-io-always-on; - qcom,vdd-io-voltage-level = <1800000 1800000>; - qcom,vdd-io-current-level = <250 154000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,nonremovable; - status = "ok"; -}; - -&sdhc_2 { - #address-cells = <0>; - interrupt-parent = <&sdhc_2>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 125 0 - 1 &intc 0 221 0 - 2 &msmgpio 62 0x3>; - interrupt-names = "hc_irq", "pwr_irq", "status_irq"; - cd-gpios = <&msmgpio 62 0x1>; - - vdd-supply = <&pm8941_l21>; - vdd-io-supply = <&pm8941_l13>; - - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <9000 800000>; - - qcom,vdd-io-voltage-level = <1800000 2950000>; - qcom,vdd-io-current-level = <6 22000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - status = "ok"; -}; - -/* Drive strength recommendations for clock line from hardware team is 10 mA. - * But since the driver has been been using the below values from the start - * without any problems, continue to use those. - */ -&sdcc1 { - qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */ -}; - -&sdcc2 { - qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */ -}; - -&sdhc_1 { - qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */ -}; - -&sdhc_2 { - qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */ -}; - -&usb3 { - qcom,otg-capability; -}; - -&pm8941_bms { - status = "ok"; -}; - -&pm8941_chg { - status = "ok"; - qcom,charging-disabled; - - qcom,chgr@1000 { - status = "ok"; - }; - - qcom,buck@1100 { - status = "ok"; - }; - - qcom,bat-if@1200 { - status = "ok"; - }; - - qcom,usb-chgpth@1300 { - status = "ok"; - }; - - qcom,dc-chgpth@1400 { - status = "ok"; - }; - - qcom,boost@1500 { - status = "ok"; - }; - - qcom,chg-misc@1600 { - status = "ok"; - }; -}; - -&pm8941_gpios { - gpio@c000 { /* GPIO 1 */ - }; - - gpio@c100 { /* GPIO 2 */ - }; - - gpio@c200 { /* GPIO 3 */ - qcom,mode = <0>; - qcom,pull = <0>; - qcom,vin-sel = <2>; - qcom,src-sel = <0>; - }; - - gpio@c300 { /* GPIO 4 */ - qcom,mode = <0>; - qcom,pull = <0>; - qcom,vin-sel = <2>; - qcom,src-sel = <0>; - }; - - gpio@c400 { /* GPIO 5 */ - qcom,mode = <0>; - qcom,pull = <0>; - qcom,vin-sel = <2>; - qcom,src-sel = <0>; - }; - - gpio@c500 { /* GPIO 6 */ - }; - - gpio@c600 { /* GPIO 7 */ - }; - - gpio@c700 { /* GPIO 8 */ - }; - - gpio@c800 { /* GPIO 9 */ - }; - - gpio@c900 { /* GPIO 10 */ - }; - - gpio@ca00 { /* GPIO 11 */ - }; - - gpio@cb00 { /* GPIO 12 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,output-type = <0>; /* QPNP_PIN_OUT_BUF_CMOS */ - qcom,pull = <5>; /* QPNP_PIN_PULL_NO */ - qcom,vin-sel = <2>; /* QPNP_PIN_VIN2 */ - qcom,out-strength = <2>; /* QPNP_PIN_OUT_STRENGTH_MED */ - qcom,src-sel = <0>; /* QPNP_PIN_SEL_FUNC_CONSTANT */ - qcom,master-en = <1>; - }; - - gpio@cc00 { /* GPIO 13 */ - }; - - gpio@cd00 { /* GPIO 14 */ - }; - - gpio@ce00 { /* GPIO 15 */ - qcom,mode = <1>; - qcom,output-type = <0>; - qcom,pull = <5>; - qcom,vin-sel = <2>; - qcom,out-strength = <1>; - qcom,src-sel = <2>; - qcom,master-en = <1>; - }; - - gpio@cf00 { /* GPIO 16 */ - qcom,mode = <1>; - qcom,output-type = <0>; - qcom,pull = <5>; - qcom,vin-sel = <2>; - qcom,out-strength = <3>; - qcom,src-sel = <2>; - qcom,master-en = <1>; - }; - - gpio@d000 { /* GPIO 17 */ - }; - - gpio@d100 { /* GPIO 18 */ - }; - - gpio@d200 { /* GPIO 19 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,output-type = <0>; /* QPNP_PIN_OUT_BUF_CMOS */ - qcom,pull = <5>; /* QPNP_PIN_PULL_NO */ - qcom,vin-sel = <2>; /* QPNP_PIN_VIN2 */ - qcom,out-strength = <2>; /* QPNP_PIN_OUT_STRENGTH_MED */ - qcom,src-sel = <0>; /* QPNP_PIN_SEL_FUNC_CONSTANT */ - qcom,master-en = <1>; - }; - - gpio@d300 { /* GPIO 20 */ - }; - - gpio@d400 { /* GPIO 21 */ - }; - - gpio@d500 { /* GPIO 22 */ - }; - - gpio@d600 { /* GPIO 23 */ - }; - - gpio@d700 { /* GPIO 24 */ - }; - - gpio@d800 { /* GPIO 25 */ - }; - - gpio@d900 { /* GPIO 26 */ - }; - - gpio@da00 { /* GPIO 27 */ - }; - - gpio@db00 { /* GPIO 28 */ - }; - - gpio@dc00 { /* GPIO 29 */ - qcom,pull = <0>; /* set to default pull */ - qcom,master-en = <1>; - qcom,vin-sel = <2>; /* select 1.8 V source */ - }; - - gpio@dd00 { /* GPIO 30 */ - }; - - gpio@de00 { /* GPIO 31 */ - }; - - gpio@df00 { /* GPIO 32 */ - }; - - gpio@e000 { /* GPIO 33 */ - }; - - gpio@e100 { /* GPIO 34 */ - }; - - gpio@e200 { /* GPIO 35 */ - }; - - gpio@e300 { /* GPIO 36 */ - }; -}; - -&pm8941_mpps { - - mpp@a000 { /* MPP 1 */ - status = "disabled"; - }; - - mpp@a100 { /* MPP 2 */ - }; - - mpp@a200 { /* MPP 3 */ - }; - - mpp@a300 { /* MPP 4 */ - }; - - mpp@a400 { /* MPP 5 */ - }; - - mpp@a500 { /* MPP 6 */ - /* SPI_ETH_RST config */ - qcom,mode = <1>; /* DIG_OUT */ - qcom,output-type = <0>; /* CMOS */ - qcom,vin-sel = <2>; /* PM8941_S3 1.8V > 1.6V */ - qcom,src-sel = <0>; /* CONSTANT */ - qcom,master-en = <1>; /* ENABLE MPP */ - }; - - mpp@a600 { /* MPP 7 */ - }; - - mpp@a700 { /* MPP 8 */ - qcom,mode = <1>; /* DIG_OUT */ - qcom,output-type = <0>; /* CMOS */ - qcom,pull = <0>; - qcom,vin-sel = <2>; /* PM8941_S3 1.8V > 1.6V */ - qcom,src-sel = <0>; /* CONSTANT */ - qcom,master-en = <1>; /* ENABLE MPP */ - }; -}; - -&pm8841_mpps { - - mpp@a000 { /* MPP 1 */ - }; - - mpp@a100 { /* MPP 2 */ - }; - - mpp@a200 { /* MPP 3 */ - }; - - mpp@a300 { /* MPP 4 */ - }; -}; - -&spi_epm { - epm-adc@0 { - compatible = "cy,epm-adc-cy8c5568lti-114"; - reg = <0>; - interrupt-parent = <&msmgpio>; - spi-max-frequency = <960000>; - qcom,channels = <31>; - qcom,gain = <100 100 100 50 100 100 1 100 1 50 - 1 100 1 100 50 50 50 50 50 50 - 100 50 100 50 50 50 50 50 50 50 - 50>; - qcom,rsense = <2 2 2 200 20 2 1 2 1 30 - 1 10 1 30 50 30 500 30 100 30 - 100 500 20 200 1000 20 1000 1000 70 200 - 50>; - qcom,channel-type = <0x1540>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/msm8974-gpu.dtsi b/kernel/arch/arm/boot/dts/lte_module-v1/msm8974-gpu.dtsi deleted file mode 100755 index 06b9c187b..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/msm8974-gpu.dtsi +++ /dev/null @@ -1,185 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ -&soc { - msm_gpu: qcom,kgsl-3d0@fdb00000 { - label = "kgsl-3d0"; - compatible = "qcom,kgsl-3d0", "qcom,kgsl-3d"; - reg = <0xfdb00000 0x10000 - 0xfdb20000 0x10000>; - reg-names = "kgsl_3d0_reg_memory" , "kgsl_3d0_shader_memory"; - interrupts = <0 33 0>; - interrupt-names = "kgsl_3d0_irq"; - qcom,id = <0>; - - qcom,chipid = <0x03030000>; - - qcom,initial-pwrlevel = <2>; - qcom,step-pwrlevel = <2>; - - qcom,idle-timeout = <8>; // - qcom,strtstp-sleepwake; - qcom,clk-map = <0x0000006>; //KGSL_CLK_CORE | KGSL_CLK_IFACE - - /* Bus Scale Settings */ - qcom,msm-bus,name = "grp3d"; - qcom,msm-bus,num-cases = <6>; - qcom,msm-bus,num-paths = <2>; - qcom,msm-bus,vectors-KBps = - <26 512 0 0>, <89 604 0 0>, - <26 512 0 2200000>, <89 604 0 3000000>, - <26 512 0 4000000>, <89 604 0 3000000>, - <26 512 0 4000000>, <89 604 0 4500000>, - <26 512 0 6400000>, <89 604 0 4500000>, - <26 512 0 6400000>, <89 604 0 7600000>; - - /* GDSC oxili regulators */ - vddcx-supply = <&gdsc_oxili_cx>; - vdd-supply = <&gdsc_oxili_gx>; - - /* Power levels */ - - /* IOMMU Data */ - iommu = <&kgsl_iommu>; - - /* Trace bus */ - coresight-id = <67>; - coresight-name = "coresight-gfx"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_mmss>; - coresight-child-ports = <7>; - - qcom,gpu-pwrlevels { - #address-cells = <1>; - #size-cells = <0>; - - compatible = "qcom,gpu-pwrlevels"; - - qcom,gpu-pwrlevel@0 { - reg = <0>; - qcom,gpu-freq = <450000000>; - qcom,bus-freq = <5>; - qcom,io-fraction = <33>; - }; - - qcom,gpu-pwrlevel@1 { - reg = <1>; - qcom,gpu-freq = <320000000>; - qcom,bus-freq = <4>; - qcom,io-fraction = <66>; - }; - - qcom,gpu-pwrlevel@2 { - reg = <2>; - qcom,gpu-freq = <320000000>; - qcom,bus-freq = <3>; - qcom,io-fraction = <66>; - }; - - qcom,gpu-pwrlevel@3 { - reg = <3>; - qcom,gpu-freq = <200000000>; - qcom,bus-freq = <2>; - qcom,io-fraction = <100>; - }; - - qcom,gpu-pwrlevel@4 { - reg = <4>; - qcom,gpu-freq = <200000000>; - qcom,bus-freq = <1>; - qcom,io-fraction = <100>; - }; - - qcom,gpu-pwrlevel@5 { - reg = <5>; - qcom,gpu-freq = <27000000>; - qcom,bus-freq = <0>; - qcom,io-fraction = <0>; - }; - }; - - qcom,dcvs-core-info { - #address-cells = <1>; - #size-cells = <0>; - - compatible = "qcom,dcvs-core-info"; - - qcom,num-cores = <1>; - qcom,sensors = <0>; - - qcom,core-core-type = <1>; - - qcom,algo-disable-pc-threshold = <0>; - qcom,algo-em-win-size-min-us = <100000>; - qcom,algo-em-win-size-max-us = <300000>; - qcom,algo-em-max-util-pct = <97>; - qcom,algo-group-id = <95>; - qcom,algo-max-freq-chg-time-us = <100000>; - qcom,algo-slack-mode-dynamic = <100000>; - qcom,algo-slack-weight-thresh-pct = <0>; - qcom,algo-slack-time-min-us = <39000>; - qcom,algo-slack-time-max-us = <39000>; - qcom,algo-ss-win-size-min-us = <1000000>; - qcom,algo-ss-win-size-max-us = <1000000>; - qcom,algo-ss-util-pct = <95>; - qcom,algo-ss-no-corr-below-freq = <0>; - - qcom,energy-active-coeff-a = <2492>; - qcom,energy-active-coeff-b = <0>; - qcom,energy-active-coeff-c = <0>; - qcom,energy-leakage-coeff-a = <11>; - qcom,energy-leakage-coeff-b = <157150>; - qcom,energy-leakage-coeff-c = <0>; - qcom,energy-leakage-coeff-d = <0>; - - qcom,power-current-temp = <25>; - qcom,power-num-freq = <4>; - - qcom,dcvs-freq@0 { - reg = <0>; - qcom,freq = <0>; - qcom,voltage = <0>; - qcom,is_trans_level = <0>; - qcom,active-energy-offset = <100>; - qcom,leakage-energy-offset = <0>; - }; - - qcom,dcvs-freq@1 { - reg = <1>; - qcom,freq = <0>; - qcom,voltage = <0>; - qcom,is_trans_level = <0>; - qcom,active-energy-offset = <100>; - qcom,leakage-energy-offset = <0>; - }; - - qcom,dcvs-freq@2 { - reg = <2>; - qcom,freq = <0>; - qcom,voltage = <0>; - qcom,is_trans_level = <0>; - qcom,active-energy-offset = <100>; - qcom,leakage-energy-offset = <0>; - }; - - qcom,dcvs-freq@3 { - reg = <3>; - qcom,freq = <0>; - qcom,voltage = <0>; - qcom,is_trans_level = <0>; - qcom,active-energy-offset = <844545>; - qcom,leakage-energy-offset = <0>; - }; - }; - - }; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/msm8974-ion.dtsi b/kernel/arch/arm/boot/dts/lte_module-v1/msm8974-ion.dtsi deleted file mode 100755 index 63f6d59c2..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/msm8974-ion.dtsi +++ /dev/null @@ -1,59 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&soc { - qcom,ion { - compatible = "qcom,msm-ion"; - #address-cells = <1>; - #size-cells = <0>; - - qcom,ion-heap@30 { /* SYSTEM HEAP */ - reg = <30>; - }; - - qcom,ion-heap@21 { /* SYSTEM CONTIG HEAP */ - reg = <21>; - }; - - qcom,ion-heap@8 { /* CP_MM HEAP */ - compatible = "qcom,msm-ion-reserve"; - reg = <8>; - qcom,heap-align = <0x1000>; - linux,contiguous-region = <&secure_mem>; - }; - - qcom,ion-heap@22 { /* adsp heap */ - compatible = "qcom,msm-ion-reserve"; - reg = <22>; - qcom,heap-align = <0x1000>; - linux,contiguous-region = <&adsp_mem>; - }; - - qcom,ion-heap@25 { /* IOMMU HEAP */ - reg = <25>; - }; - - qcom,ion-heap@27 { /* QSECOM HEAP */ - compatible = "qcom,msm-ion-reserve"; - reg = <27>; - linux,contiguous-region = <&qsecom_mem>; - }; - - qcom,ion-heap@28 { /* AUDIO HEAP */ - compatible = "qcom,msm-ion-reserve"; - reg = <28>; - qcom,heap-align = <0x1000>; - qcom,memory-reservation-type = "EBI1"; /* reserve EBI memory */ - qcom,memory-reservation-size = <0x614000>; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/msm8974-leds.dtsi b/kernel/arch/arm/boot/dts/lte_module-v1/msm8974-leds.dtsi deleted file mode 100755 index 5e91f4597..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/msm8974-leds.dtsi +++ /dev/null @@ -1,129 +0,0 @@ -/* - * Copyright (c) 2012-2013, 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. - */ - -&spmi_bus { - qcom,pm8941@1 { - qcom,leds@d000 { - status = "okay"; - qcom,rgb_0 { - label = "rgb"; - linux,name = "led:rgb_red"; - qcom,mode = "pwm"; - qcom,pwm-channel = <6>; - qcom,pwm-us = <1000>; - qcom,max-current = <12>; - qcom,default-state = "off"; - qcom,id = <3>; - linux,default-trigger = - "battery-charging"; - }; - - qcom,rgb_1 { - label = "rgb"; - linux,name = "led:rgb_green"; - qcom,mode = "pwm"; - qcom,pwm-channel = <5>; - qcom,pwm-us = <1000>; - qcom,max-current = <12>; - qcom,default-state = "off"; - qcom,id = <4>; - linux,default-trigger = "battery-full"; - }; - - qcom,rgb_2 { - label = "rgb"; - linux,name = "led:rgb_blue"; - qcom,mode = "pwm"; - qcom,pwm-channel = <4>; - qcom,pwm-us = <1000>; - qcom,max-current = <12>; - qcom,id = <5>; - status = "disabled"; - }; - }; - - qcom,leds@d100 { - status = "disabled"; - }; - - qcom,leds@d200 { - status = "disabled"; - }; - - qcom,leds@d300 { - status = "okay"; - pm8941_flash0: qcom,flash_0 { - qcom,max-current = <1000>; - qcom,default-state = "off"; - qcom,headroom = <3>; - qcom,duration = <1280>; - qcom,clamp-curr = <200>; - qcom,startup-dly = <3>; - qcom,safety-timer; - label = "flash"; - linux,default-trigger = - "flash0_trigger"; - qcom,id = <1>; - linux,name = "led:flash_0"; - qcom,current = <625>; - }; - - pm8941_flash1: qcom,flash_1 { - qcom,max-current = <1000>; - qcom,default-state = "off"; - qcom,headroom = <3>; - qcom,duration = <1280>; - qcom,clamp-curr = <200>; - qcom,startup-dly = <3>; - qcom,safety-timer; - linux,default-trigger = - "flash1_trigger"; - label = "flash"; - qcom,id = <2>; - linux,name = "led:flash_1"; - qcom,current = <625>; - }; - - pm8941_torch: qcom,flash_torch { - qcom,max-current = <200>; - qcom,default-state = "off"; - qcom,headroom = <0>; - qcom,startup-dly = <1>; - linux,default-trigger = - "torch_trigger"; - label = "flash"; - qcom,id = <2>; - linux,name = "led:flash_torch"; - qcom,current = <200>; - qcom,torch-enable; - }; - }; - - qcom,leds@d400 { - status = "disabled"; - }; - - qcom,leds@d500 { - status = "disabled"; - }; - - qcom,leds@d600 { - status = "disabled"; - }; - - qcom,leds@d700 { - status = "disabled"; - }; - }; -}; - diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/msm8974-liquid.dtsi b/kernel/arch/arm/boot/dts/lte_module-v1/msm8974-liquid.dtsi deleted file mode 100755 index 2dc52b6be..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/msm8974-liquid.dtsi +++ /dev/null @@ -1,893 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/include/ "msm8974-leds.dtsi" -/include/ "msm8974-camera-sensor-liquid.dtsi" - -&soc { - serial@f991e000 { - status = "ok"; - }; - - qcom,mdss_edp@fd923400 { - status = "ok"; - }; - - i2c@f9967000 { - battery@b { - compatible = "ti,bq28400-battery"; - reg = <0xb>; - ti,temp-cold = <2>; /* degree celsius */ - ti,temp-hot = <43>; /* degree celsius */ - }; - - charger@2b { - compatible = "summit,smb350-charger"; - reg = <0x2b>; /* 0x56/0x57 */ - summit,stat-gpio = <&pm8941_gpios 30 0x00>; - summit,chg-en-n-gpio = <&pm8941_gpios 10 0x00>; - summit,chg-susp-n-gpio = <&pm8941_gpios 13 0x00>; - summit,chg-current-ma = <1600>; - summit,term-current-ma = <300>; - }; - }; - - gpio_keys { - compatible = "gpio-keys"; - input-name = "gpio-keys"; - - home { - label = "home"; - gpios = <&pm8941_gpios 1 0x1>; - linux,input-type = <1>; - linux,code = <102>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - - vol_down { - label = "volume_down"; - gpios = <&pm8941_gpios 2 0x1>; - linux,input-type = <1>; - linux,code = <114>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - - vol_up { - label = "volume_up"; - gpios = <&pm8941_gpios 5 0x1>; - linux,input-type = <1>; - linux,code = <115>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - }; - - qcom,hdmi_tx@fd922100 { - status = "ok"; - - qcom,hdmi-tx-mux-sel = <&pm8841_mpps 3 0>; - qcom,hdmi-tx-mux-en = <&pm8841_mpps 4 0>; - }; - - drv2667_vreg: drv2667_vdd_vreg { - compatible = "regulator-fixed"; - regulator-name = "vdd_drv2667"; - }; - - i2c@f9967000 { - ti-drv2667@59 { - compatible = "ti,drv2667"; - reg = <0x59>; - vdd-supply = <&drv2667_vreg>; - vdd-i2c-supply = <&pm8941_s3>; - ti,label = "vibrator"; - ti,gain = <2>; - ti,idle-timeout-ms = <20>; - ti,max-runtime-ms = <15000>; - ti,mode = <2>; - ti,wav-seq = [ - /* wave form id */ - 01 - /* header size, start and stop bytes */ - 05 80 06 00 09 - /* repeat, amp, freq, duration, envelope */ - 01 ff 19 02 00]; - }; - }; - - i2c@f9924000 { - atmel_mxt_ts@4a { - compatible = "atmel,mxt-ts"; - reg = <0x4a>; - interrupt-parent = <&msmgpio>; - interrupts = <61 0x2>; - vdd_ana-supply = <&pm8941_l22>; - vcc_i2c-supply = <&pm8941_s3>; - atmel,reset-gpio = <&msmgpio 60 0x00>; - atmel,irq-gpio = <&msmgpio 61 0x00>; - atmel,panel-coords = <0 0 1080 1920>; - atmel,display-coords = <0 0 1080 1920>; - atmel,i2c-pull-up; - atmel,no-force-update; - atmel,cfg_1 { - atmel,family-id = <0xa2>; - atmel,variant-id = <0x00>; - atmel,version = <0x11>; - atmel,build = <0xaa>; - atmel,config = [ - /* Object 6, Instance = 0 */ - 00 00 00 00 00 00 - /* Object 38, Instance = 0 */ - 16 00 00 14 09 0C 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 - /* Object 7, Instance = 0 */ - FF FF 0A 03 - /* Object 8, Instance = 0 */ - 5F 00 14 14 00 00 00 01 00 00 - /* Object 9, Instance = 0 */ - 8F 00 00 20 34 00 87 3C 08 03 - 00 05 03 80 0A 14 14 0A 80 07 - 38 04 00 00 00 00 00 00 00 00 - 0F 0F 2E 33 02 00 - /* Object 15, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 - /* Object 18, Instance = 0 */ - 04 00 - /* Object 24, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 - /* Object 25, Instance = 0 */ - 00 00 54 6F F0 55 00 00 00 00 - 00 00 00 00 00 - /* Object 27, Instance = 0 */ - 00 00 00 00 00 00 00 - /* Object 40, Instance = 0 */ - 00 14 14 14 14 - /* Object 42, Instance = 0 */ - 20 14 00 00 00 14 11 00 03 00 - /* Object 43, Instance = 0 */ - 09 00 01 01 91 00 80 00 00 00 - 00 00 - /* Object 46, Instance = 0 */ - 00 00 10 10 00 00 01 00 00 0F - 0A - /* Object 47, Instance = 0 */ - 00 14 23 02 05 1E 01 78 03 10 - 00 00 0C 00 00 00 00 00 00 00 - 00 00 - /* Object 55, Instance = 0 */ - 00 00 00 00 00 00 00 - /* Object 56, Instance = 0 */ - 02 00 01 30 13 14 14 14 15 15 - 15 15 15 15 15 16 16 16 16 16 - 16 16 16 16 16 15 14 14 14 14 - 15 14 14 14 14 13 00 00 01 02 - 05 05 00 00 00 00 00 00 00 00 - 00 - /* Object 57, Instance = 0 */ - 00 00 00 - /* Object 61, Instance = 0 */ - 00 00 00 00 00 - /* Object 62, Instance = 0 */ - 00 01 03 01 00 00 00 00 00 0A - 0F 14 19 23 05 00 0A 05 05 69 - 23 23 34 11 64 06 06 04 40 00 - 00 00 00 00 69 4B 02 00 00 80 - 0A 14 14 18 18 10 10 80 00 80 - 00 00 0F 02 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 - /* Object 63, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 00 - ]; - }; - atmel,cfg_2 { - atmel,family-id = <0xa2>; - atmel,variant-id = <0x00>; - atmel,version = <0x11>; - atmel,build = <0xaa>; - atmel,config = [ - /* Object 6, Instance = 0 */ - 00 00 00 00 00 00 - /* Object 38, Instance = 0 */ - 19 03 00 1E 05 0D 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 - /* Object 7, Instance = 0 */ - 20 08 32 C3 - /* Object 8, Instance = 0 */ - 41 00 14 14 00 00 00 01 00 00 - /* Object 9, Instance = 0 */ - 8F 00 00 20 34 00 87 4B 02 03 - 00 05 03 41 0A 14 14 0A 80 07 - 38 04 00 00 03 03 08 28 02 3C - 0F 0F 2E 33 01 00 - /* Object 15, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 - /* Object 18, Instance = 0 */ - 04 00 - /* Object 24, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 - /* Object 25, Instance = 0 */ - 00 00 54 6F F0 55 00 00 00 00 - 00 00 00 00 00 - /* Object 27, Instance = 0 */ - 00 00 00 00 00 00 00 - /* Object 40, Instance = 0 */ - 00 14 14 14 14 - /* Object 42, Instance = 0 */ - 23 32 14 14 80 00 0A 00 05 05 - /* Object 43, Instance = 0 */ - 08 00 01 01 91 00 80 00 00 00 - 00 00 - /* Object 46, Instance = 0 */ - 00 00 18 18 00 00 01 00 00 0F - 0A - /* Object 47, Instance = 0 */ - 00 14 28 02 05 28 01 78 03 10 - 00 00 0C 00 00 00 00 00 00 00 - 00 00 - /* Object 55, Instance = 0 */ - 00 00 00 00 00 00 00 - /* Object 56, Instance = 0 */ - 01 00 00 30 13 14 14 14 15 15 - 15 15 15 15 15 16 16 16 16 16 - 16 16 16 16 16 15 14 14 14 14 - 15 14 14 14 14 13 03 20 03 01 - 0A 04 00 00 00 00 00 00 00 00 - 1A - /* Object 57, Instance = 0 */ - 00 00 00 - /* Object 61, Instance = 0 */ - 00 00 00 00 00 - /* Object 62, Instance = 0 */ - 00 03 00 07 02 00 00 00 00 00 - 0F 17 23 2D 05 00 05 03 03 69 - 14 14 34 11 64 06 06 04 40 00 - 00 00 00 00 69 3C 02 04 01 00 - 0A 14 14 03 03 03 03 00 00 00 - 00 64 1E 01 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 - /* Object 63, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 00 - /* Object 65, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 - /* Object 66, Instance = 0 */ - 00 00 00 00 00 - ]; - }; - }; - }; - - ext_5v: regulator-smb210 { - compatible = "regulator-fixed"; - regulator-name = "ext_5v"; - gpio = <&pm8941_mpps 2 0>; - startup-delay-us = <12000>; - enable-active-high; - }; - - ath_chip_pwd_l: ath_chip_reset { - compatible = "regulator-fixed"; - regulator-name = "ath_chip_pwd_l"; - gpio = <&pm8941_gpios 33 0>; - enable-active-high; - }; - - bt_ar3002 { - compatible = "qca,ar3002"; - qca,bt-reset-gpio = <&pm8941_gpios 34 0>; - qca,bt-chip-pwd-supply = <&ath_chip_pwd_l>; - qca,bt-vdd-io-supply = <&pm8941_s3>; - qca,bt-vdd-pa-supply = <&pm8941_l19>; - }; - - bt_ar3002_sleep { - compatible = "qca,ar3002_bluesleep"; - host-wake-gpio = <&msmgpio 79 0>; - ext-wake-gpio = <&msmgpio 51 0>; - interrupt-parent = <&msmgpio>; - interrupts = <79 2>; - interrupt-names = "host_wake"; - }; - - sound { - qcom,model = "msm8974-taiko-liquid-snd-card"; - - qcom,audio-routing = - "RX_BIAS", "MCLK", - "LDO_H", "MCLK", - "Lineout_1 amp", "LINEOUT1", - "Lineout_3 amp", "LINEOUT3", - "Lineout_2 amp", "LINEOUT2", - "Lineout_4 amp", "LINEOUT4", - "SPK_ultrasound amp", "SPK_OUT", - "AMIC1", "MIC BIAS4 External", - "MIC BIAS4 External", "Analog Mic4", - "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", - "AMIC5", "MIC BIAS1 External", - "MIC BIAS1 External", "Analog Mic6", - "AMIC6", "MIC BIAS1 External", - "MIC BIAS1 External", "Analog Mic7", - "DMIC1", "MIC BIAS3 External", - "MIC BIAS3 External", "Digital Mic1", - "DMIC2", "MIC BIAS3 External", - "MIC BIAS3 External", "Digital Mic2", - "DMIC3", "MIC BIAS2 External", - "MIC BIAS2 External", "Digital Mic3", - "DMIC4", "MIC BIAS3 External", - "MIC BIAS3 External", "Digital Mic4", - "DMIC5", "MIC BIAS2 External", - "MIC BIAS2 External", "Digital Mic5", - "DMIC6", "MIC BIAS2 External", - "MIC BIAS2 External", "Digital Mic6"; - - qcom,ext-spk-amp-supply = <&ext_5v>; - qcom,ext-spk-amp-gpio = <&pm8841_mpps 1 0>; - qcom,dock-plug-det-irq = <&pm8841_mpps 2 0>; - qcom,ext-ult-spk-amp-gpio = <&pm8941_gpios 6 0>; - qcom,hdmi-audio-rx; - - qcom,prim-auxpcm-gpio-clk = <&msmgpio 74 0>; - qcom,prim-auxpcm-gpio-sync = <&msmgpio 75 0>; - qcom,prim-auxpcm-gpio-din = <&msmgpio 76 0>; - qcom,prim-auxpcm-gpio-dout = <&msmgpio 77 0>; - qcom,prim-auxpcm-gpio-set = "prim-gpio-tert"; - }; - - hsic_hub { - compatible = "qcom,hsic-smsc-hub"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - smsc,reset-gpio = <&pm8941_gpios 8 0x00>; - smsc,refclk-gpio = <&pm8941_gpios 16 0x00>; - smsc,int-gpio = <&msmgpio 50 0x00>; - hub_int-supply = <&pm8941_l10>; - hub_vbus-supply = <&ext_5v>; - - hsic_host: hsic@f9a00000 { - compatible = "qcom,hsic-host"; - reg = <0xf9a00000 0x400>; - #address-cells = <0>; - interrupt-parent = <&hsic_host>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 136 0 - 1 &intc 0 148 0 - 2 &msmgpio 144 0x8>; - interrupt-names = "core_irq", "async_irq", "wakeup"; - HSIC_VDDCX-supply = <&pm8841_s2>; - HSIC_GDSC-supply = <&gdsc_usb_hsic>; - hsic,strobe-gpio = <&msmgpio 144 0x00>; - hsic,data-gpio = <&msmgpio 145 0x00>; - hsic,ignore-cal-pad-config; - hsic,strobe-pad-offset = <0x2050>; - hsic,data-pad-offset = <0x2054>; - - qcom,msm-bus,name = "hsic"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <85 512 0 0>, - <85 512 40000 160000>; - }; - }; - - wlan0: qca,wlan { - compatible = "qca,ar6004-hsic"; - qcom,msm-bus,name = "wlan"; - qca,wifi-chip-pwd-supply = <&ath_chip_pwd_l>; - qca,wifi-vddpa-supply = <&pm8941_l19>; - qca,wifi-vddio-supply = <&pm8941_l10>; - qcom,msm-bus,num-cases = <5>; - qcom,msm-bus,active-only = <0>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <85 512 0 0>, - <85 512 40000 160000>, - <85 512 40000 320000>, - <85 512 40000 480000>, - <85 512 40000 800000>; - }; - - wlan_sdio:qca,wlan_sdio { - compatible = "qca,ar6004-sdio"; - qcom,msm-bus,name = "wlan_sdio"; - qca,wifi-chip-pwd-supply = <&ath_chip_pwd_l>; - }; -}; - -&mdss_fb0 { - qcom,memory-reservation-size = <0x1000000>; /* size 16MB */ -}; - -&uart7 { - status = "ok"; - qcom,tx-gpio = <&msmgpio 41 0x00>; - qcom,rx-gpio = <&msmgpio 42 0x00>; - qcom,cts-gpio = <&msmgpio 43 0x00>; - qcom,rfr-gpio = <&msmgpio 44 0x00>; -}; - -&usb3 { - qcom,otg-capability; -}; - -&pm8941_mvs2 { - parent-supply = <&ext_5v>; -}; - -&pm8941_gpios { - gpio@c000 { /* GPIO 1 */ - qcom,mode = <0>; - qcom,pull = <0>; - qcom,vin-sel = <2>; - qcom,src-sel = <0>; - }; - - gpio@c100 { /* GPIO 2 */ - qcom,mode = <0>; - qcom,pull = <0>; - qcom,vin-sel = <2>; - qcom,src-sel = <0>; - }; - - gpio@c200 { /* GPIO 3 */ - }; - - gpio@c300 { /* GPIO 4 */ - }; - - gpio@c400 { /* GPIO 5 */ - qcom,mode = <0>; - qcom,pull = <0>; - qcom,vin-sel = <2>; - qcom,src-sel = <0>; - }; - - gpio@c500 { /* GPIO 6 */ - /* ULTRASOUND_EN_1 PA AB enable */ - qcom,mode = <1>; /* DIG_OUT */ - qcom,output-type = <0>; /* CMOS */ - qcom,pull = <4>; /* PULL_DOWN */ - qcom,vin-sel = <0>; /* VPH */ - qcom,out-strength = <2>; /* STRENGTH_MED */ - qcom,src-sel = <0>; /* CONSTANT */ - qcom,master-en = <1>; - }; - - gpio@c600 { /* GPIO 7 */ - }; - - gpio@c700 { /* GPIO 8 */ - /* HSIC_HUB-RESET */ - qcom,mode = <1>; /* DIG_OUT */ - qcom,pull = <5>; /* PULL_NO */ - qcom,out-strength = <2>; /* STRENGTH_MED */ - qcom,master-en = <1>; - }; - - gpio@c800 { /* GPIO 9 */ - }; - - gpio@c900 { /* GPIO 10 */ - /* SMB350-CHG-EN-N */ - qcom,mode = <1>; /* DIG_OUT */ - qcom,output-type = <0>; /* CMOS */ - qcom,pull = <5>; /* PULL_NO */ - qcom,vin-sel = <0>; /* VPH */ - qcom,out-strength = <2>; /* STRENGTH_MED */ - qcom,src-sel = <0>; /* CONSTANT */ - qcom,master-en = <1>; - }; - - gpio@ca00 { /* GPIO 11 */ - }; - - gpio@cb00 { /* GPIO 12 */ - }; - - gpio@cc00 { /* GPIO 13 */ - /* SMB350-CHG-SUSP-N */ - qcom,mode = <1>; /* DIG_OUT */ - qcom,output-type = <0>; /* CMOS */ - qcom,pull = <5>; /* PULL_NO */ - qcom,vin-sel = <0>; /* VPH */ - qcom,out-strength = <2>; /* STRENGTH_MED */ - qcom,src-sel = <0>; /* CONSTANT */ - qcom,master-en = <1>; - }; - - gpio@cd00 { /* GPIO 14 */ - }; - - gpio@ce00 { /* GPIO 15 */ - qcom,mode = <1>; - qcom,output-type = <0>; - qcom,pull = <5>; - qcom,vin-sel = <2>; - qcom,out-strength = <1>; - qcom,src-sel = <2>; - qcom,master-en = <1>; - }; - - gpio@cf00 { /* GPIO 16 */ - /* HSIC_HUB-INT_N */ - qcom,mode = <1>; - qcom,output-type = <0>; - qcom,pull = <5>; - qcom,vin-sel = <2>; - qcom,out-strength = <3>; - qcom,src-sel = <2>; - qcom,master-en = <1>; - }; - - gpio@d000 { /* GPIO 17 */ - }; - - gpio@d100 { /* GPIO 18 */ - }; - - gpio@d200 { /* GPIO 19 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,output-type = <0>; /* QPNP_PIN_OUT_BUF_CMOS */ - qcom,pull = <5>; /* QPNP_PIN_PULL_NO */ - qcom,vin-sel = <2>; /* QPNP_PIN_VIN2 */ - qcom,out-strength = <2>; /* QPNP_PIN_OUT_STRENGTH_MED */ - qcom,src-sel = <0>; /* QPNP_PIN_SEL_FUNC_CONSTANT */ - qcom,master-en = <1>; - }; - - gpio@d300 { /* GPIO 20 */ - }; - - gpio@d400 { /* GPIO 21 */ - }; - - gpio@d500 { /* GPIO 22 */ - }; - - gpio@d600 { /* GPIO 23 */ - }; - - gpio@d700 { /* GPIO 24 */ - }; - - gpio@d800 { /* GPIO 25 */ - }; - - gpio@d900 { /* GPIO 26 */ - }; - - gpio@da00 { /* GPIO 27 */ - }; - - gpio@db00 { /* GPIO 28 */ - }; - - gpio@dc00 { /* GPIO 29 */ - qcom,pull = <0>; /* set to default pull */ - qcom,master-en = <1>; - qcom,vin-sel = <2>; /* select 1.8 V source */ - }; - - gpio@dd00 { /* GPIO 30 */ - /* SMB350-STAT */ - qcom,mode = <0>; /* DIG_IN */ - qcom,pull = <5>; /* PULL_NO */ - qcom,vin-sel = <2>; /* S3 1.8V */ - qcom,src-sel = <0>; /* CONSTANT */ - qcom,master-en = <1>; - }; - - gpio@de00 { /* GPIO 31 */ - }; - - gpio@df00 { /* GPIO 32 */ - }; - - gpio@e000 { /* GPIO 33 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,output-type = <0>; /* QPNP_PIN_OUT_BUF_CMOS */ - qcom,pull = <5>; /* QPNP_PIN_PULL_NO */ - qcom,vin-sel = <2>; /* QPNP_PIN_VIN2 */ - qcom,out-strength = <2>; /* QPNP_PIN_OUT_STRENGTH_MED */ - qcom,src-sel = <0>; /* QPNP_PIN_SEL_FUNC_CONSTANT */ - qcom,invert = <1>; - qcom,master-en = <1>; - }; - - gpio@e100 { /* GPIO 34 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,output-type = <0>; /* QPNP_PIN_OUT_BUF_CMOS */ - qcom,pull = <5>; /* QPNP_PIN_PULL_NO */ - qcom,vin-sel = <2>; /* QPNP_PIN_VIN2 */ - qcom,out-strength = <2>; /* QPNP_PIN_OUT_STRENGTH_MED */ - qcom,src-sel = <0>; /* QPNP_PIN_SEL_FUNC_CONSTANT */ - qcom,invert = <0>; - qcom,master-en = <1>; - }; - - gpio@e200 { /* GPIO 35 */ - }; - - gpio@e300 { /* GPIO 36 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,output-type = <0>; /* QPNP_PIN_OUT_BUF_CMOS */ - qcom,pull = <5>; /* QPNP_PIN_PULL_NO */ - qcom,vin-sel = <2>; /* QPNP_PIN_VIN2 */ - qcom,out-strength = <3>; /* QPNP_PIN_OUT_STRENGTH_HIGH */ - qcom,src-sel = <3>; /* QPNP_PIN_SEL_FUNC_2 */ - qcom,master-en = <1>; - }; -}; - -&pm8941_mpps { - - mpp@a000 { /* MPP 1 */ - status = "disabled"; - }; - - mpp@a100 { /* MPP 2 */ - /* ext_5v regulator enable */ - qcom,mode = <1>; /* Digital output */ - qcom,invert = <0>; /* Output low initially */ - qcom,vin-sel = <2>; /* PM8941 S3 = 1.8 V */ - qcom,src-sel = <0>; /* Constant */ - qcom,master-en = <1>; /* Enable MPP */ - }; - - mpp@a200 { /* MPP 3 */ - }; - - mpp@a300 { /* MPP 4 */ - }; - - mpp@a400 { /* MPP 5 */ - /* SPI_ETH config */ - qcom,mode = <1>; /* DIG_OUT */ - qcom,output-type = <0>; /* CMOS */ - qcom,vin-sel = <2>; /* PM8941_S3 1.8V > 1.6V */ - qcom,src-sel = <0>; /* CONSTANT */ - qcom,master-en = <1>; /* ENABLE MPP */ - }; - - mpp@a500 { /* MPP 6 */ - /* SPI_ETH_RST config */ - qcom,mode = <1>; /* DIG_OUT */ - qcom,output-type = <0>; /* CMOS */ - qcom,vin-sel = <2>; /* PM8941_S3 1.8V > 1.6V */ - qcom,src-sel = <0>; /* CONSTANT */ - qcom,master-en = <1>; /* ENABLE MPP */ - }; - - mpp@a600 { /* MPP 7 */ - }; - - mpp@a700 { /* MPP 8 */ - }; -}; - -&pm8841_mpps { - - mpp@a000 { /* MPP 1 */ - /* CLASS_D_EN speakers PA */ - qcom,mode = <1>; /* DIG_OUT */ - qcom,output-type = <0>; /* PNP_PIN_OUT_BUF_CMOS */ - qcom,vin-sel = <2>; /* S3A 1.8v */ - qcom,src-select = <0>; /* CONSTANT */ - qcom,master-en = <1>; /* ENABLE MPP */ - }; - - mpp@a100 { /* MPP 2 */ - /* DOCK_PLUG_DET speakers+docking detect irq*/ - qcom,mode = <0>; /* DIG_IN */ - qcom,vin-sel = <2>; /* S3A 1.8v */ - qcom,src-sel = <0>; /* CONSTANT */ - qcom,master-en = <1>; /* ENABLE MPP */ - }; - - mpp@a200 { /* HDMI_MUX_SEL MPP 3*/ - status = "ok"; - qcom,mode = <1>; /* DIG_OUT */ - qcom,output-type = <0>; /* CMOS */ - qcom,vin-sel = <2>; /* PM8841_S3A 1.8V */ - qcom,src-sel = <0>; /* CONSTANT */ - qcom,master-en = <1>; /* ENABLE MPP */ - }; - - mpp@a300 { /* HDMI_MUX_EN MPP 4*/ - status = "ok"; - qcom,mode = <1>; /* DIG_OUT */ - qcom,output-type = <0>; /* CMOS */ - qcom,vin-sel = <0>; /* PM8841_VPH 3.4V */ - qcom,src-sel = <0>; /* CONSTANT */ - qcom,master-en = <1>; /* ENABLE MPP */ - }; -}; - -&vph_pwr_vreg { - status = "ok"; -}; - -&slim_msm { - taiko_codec { - qcom,cdc-micbias1-ext-cap; - qcom,cdc-micbias2-ext-cap; - qcom,cdc-micbias3-ext-cap; - qcom,cdc-micbias4-ext-cap; - - /* - * Liquid has external spkrdrv supply. Give a dummy supply to - * make codec driver's happy. - */ - cdc-vdd-spkdrv-supply = <&vph_pwr_vreg>; - qcom,cdc-vdd-spkdrv-voltage = <0 0>; - qcom,cdc-vdd-spkdrv-current = <0>; - - qcom,cdc-on-demand-supplies = "cdc-vdd-spkdrv"; - }; -}; - -&spi_epm { - epm-adc@0 { - compatible = "cy,epm-adc-cy8c5568lti-114"; - reg = <0>; - interrupt-parent = <&msmgpio>; - spi-max-frequency = <960000>; - qcom,channels = <31>; - qcom,gain = <50 50 50 50 50 100 50 50 50 50 - 50 50 50 50 100 50 50 50 50 100 - 50 50 50 100 50 50 50 1 1 1 - 1>; - qcom,rsense = <40 10 10 25 10 1000 75 25 10 25 - 33 500 200 10 500 100 33 200 25 100 - 75 500 50 200 5 5 3 1 1 1 - 1>; - qcom,channel-type = <0xf0000000>; - }; -}; - -&spmi_bus { - qcom,pm8941@1 { - qcom,leds@d000 { - qcom,rgb_2 { - status = "ok"; - qcom,default-state = "on"; - qcom,turn-off-delay-ms = <1000>; - }; - }; - }; -}; - -&pm8941_chg { - status = "ok"; - otg-parent-supply = <&ext_5v>; - - qcom,charging-disabled; - - qcom,chgr@1000 { - status = "ok"; - }; - - qcom,buck@1100 { - status = "ok"; - }; - - qcom,usb-chgpth@1300 { - status = "ok"; - }; - - qcom,dc-chgpth@1400 { - status = "ok"; - }; - - qcom,boost@1500 { - status = "ok"; - }; - - qcom,chg-misc@1600 { - status = "ok"; - }; -}; - -&sdcc1 { - status = "disabled"; -}; - -&sdcc2 { - status = "disabled"; -}; - -&sdhc_1 { - vdd-supply = <&pm8941_l20>; - vdd-io-supply = <&pm8941_s3>; - - qcom,vdd-always-on; - qcom,vdd-lpm-sup; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <800 500000>; - - qcom,vdd-io-always-on; - qcom,vdd-io-voltage-level = <1800000 1800000>; - qcom,vdd-io-current-level = <250 154000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,nonremovable; - status = "ok"; -}; - -&sdhc_2 { - vdd-supply = <&pm8941_l21>; - vdd-io-supply = <&pm8941_l13>; - - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <9000 800000>; - - qcom,vdd-io-voltage-level = <1800000 2950000>; - qcom,vdd-io-current-level = <6 22000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - status = "ok"; -}; - -/* Drive strength recommendations for clock line from hardware team is 10 mA. - * But since the driver has been been using the below values from the start - * without any problems, continue to use those. - */ -&sdcc1 { - qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */ -}; - -&sdcc2 { - qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */ -}; - -&sdhc_1 { - qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */ -}; - -&sdhc_2 { - qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */ -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/msm8974-mdss.dtsi b/kernel/arch/arm/boot/dts/lte_module-v1/msm8974-mdss.dtsi deleted file mode 100755 index 6b8d600ed..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/msm8974-mdss.dtsi +++ /dev/null @@ -1,148 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&soc { - mdss_mdp: qcom,mdss_mdp@fd900000 { - compatible = "qcom,mdss_mdp"; - reg = <0xfd900000 0x22100>, - <0xfd924000 0x1000>; - reg-names = "mdp_phys", "vbif_phys"; - interrupts = <0 72 0>; - vdd-supply = <&gdsc_mdss>; - - qcom,max-clk-rate = <320000000>; - qcom,mdss-pipe-vig-off = <0x00001200 0x00001600 - 0x00001A00>; - qcom,mdss-pipe-rgb-off = <0x00001E00 0x00002200 - 0x00002600>; - qcom,mdss-pipe-dma-off = <0x00002A00 0x00002E00>; - qcom,mdss-pipe-vig-fetch-id = <1 4 7>; - qcom,mdss-pipe-rgb-fetch-id = <16 17 18>; - qcom,mdss-pipe-dma-fetch-id = <10 13>; - qcom,mdss-smp-data = <22 4096>; - - qcom,mdss-ctl-off = <0x00000600 0x00000700 0x00000800 - 0x00000900 0x0000A00>; - qcom,mdss-mixer-intf-off = <0x00003200 0x00003600 - 0x00003A00>; - qcom,mdss-mixer-wb-off = <0x00003E00 0x00004200>; - qcom,mdss-dspp-off = <0x00004600 0x00004A00 0x00004E00>; - qcom,mdss-wb-off = <0x00011100 0x00013100 0x00015100 - 0x00017100 0x00019100>; - qcom,mdss-intf-off = <0x00021100 0x00021300 - 0x00021500 0x00021700>; - - qcom,vbif-settings = <0x0004 0x00000001>, - <0x00D8 0x00000707>, - <0x00F0 0x00000030>, - <0x0124 0x00000001>, - <0x0178 0x00000FFF>, - <0x017C 0x0FFF0FFF>, - <0x0160 0x22222222>, - <0x0164 0x00002222>; - qcom,mdp-settings = <0x02E0 0x000000E9>, - <0x02E4 0x00000055>, - <0x03AC 0xC0000CCC>, - <0x03B4 0xC0000CCC>, - <0x03BC 0x00CCCCCC>, - <0x04A8 0x0CCCC0C0>, - <0x04B0 0xCCCCC0C0>, - <0x04B8 0xCCCCC000>; - - mdss_fb0: qcom,mdss_fb_primary { - cell-index = <0>; - compatible = "qcom,mdss-fb"; - qcom,memory-reservation-type = "EBI1"; - qcom,memory-reservation-size = <0x800000>; - }; - - mdss_fb1: qcom,mdss_fb_external { - cell-index = <1>; - compatible = "qcom,mdss-fb"; - }; - - mdss_fb2: qcom,mdss_fb_wfd { - cell-index = <2>; - compatible = "qcom,mdss-fb"; - }; - }; - - mdss_dsi0: qcom,mdss_dsi@fd922800 { - compatible = "qcom,mdss-dsi-ctrl"; - label = "MDSS DSI CTRL->0"; - cell-index = <0>; - reg = <0xfd922800 0x600>; - vdd-supply = <&pm8941_l22>; - vddio-supply = <&pm8941_l12>; - vdda-supply = <&pm8941_l2>; - qcom,mdss-fb-map = <&mdss_fb0>; - }; - - mdss_dsi1: qcom,mdss_dsi@fd922e00 { - compatible = "qcom,mdss-dsi-ctrl"; - label = "MDSS DSI CTRL->1"; - cell-index = <1>; - reg = <0xfd922e00 0x600>; - vdd-supply = <&pm8941_l22>; - vddio-supply = <&pm8941_l12>; - vdda-supply = <&pm8941_l2>; - qcom,mdss-fb-map = <&mdss_fb0>; - }; - - mdss_hdmi_tx: qcom,hdmi_tx@fd922100 { - cell-index = <0>; - compatible = "qcom,hdmi-tx"; - reg = <0xfd922100 0x35C>, - <0xfd922500 0x7C>, - <0xfc4b8000 0x60F0>; - reg-names = "core_physical", "phy_physical", "qfprom_physical"; - - hpd-gdsc-supply = <&gdsc_mdss>; - hpd-5v-supply = <&pm8941_mvs2>; - core-vdda-supply = <&pm8941_l12>; - core-vcc-supply = <&pm8941_s3>; - qcom,hdmi-tx-supply-names = "hpd-gdsc", "hpd-5v", "core-vdda", "core-vcc"; - qcom,hdmi-tx-min-voltage-level = <0 0 1800000 1800000>; - qcom,hdmi-tx-max-voltage-level = <0 0 1800000 1800000>; - qcom,hdmi-tx-peak-current = <0 0 1800000 0>; - - qcom,hdmi-tx-cec = <&msmgpio 31 0>; - qcom,hdmi-tx-ddc-clk = <&msmgpio 32 0>; - qcom,hdmi-tx-ddc-data = <&msmgpio 33 0>; - qcom,hdmi-tx-hpd = <&msmgpio 34 0>; - qcom,mdss-fb-map = <&mdss_fb1>; - qcom,msm-hdmi-audio-rx { - compatible = "qcom,msm-hdmi-audio-codec-rx"; - }; - }; - - qcom,mdss_wb_panel { - compatible = "qcom,mdss_wb"; - qcom,mdss_pan_res = <1920 1080>; - qcom,mdss_pan_bpp = <24>; - qcom,mdss-fb-map = <&mdss_fb2>; - }; - - mdss_edp: qcom,mdss_edp@fd923400 { - compatible = "qcom,mdss-edp"; - reg = <0xfd923400 0x700>, - <0xfd8c2000 0x1000>; - reg-names = "edp_base", "mmss_cc_base"; - vdda-supply = <&pm8941_l12>; - gpio-panel-en = <&msmgpio 58 0>; - gpio-panel-pwm = <&pm8941_gpios 36 0>; - qcom,panel-lpg-channel = <7>; /* LPG Channel 8 */ - qcom,panel-pwm-period = <53>; - status = "disable"; - qcom,mdss-fb-map = <&mdss_fb0>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/msm8974-mtp.dtsi b/kernel/arch/arm/boot/dts/lte_module-v1/msm8974-mtp.dtsi deleted file mode 100755 index e798fc0f9..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/msm8974-mtp.dtsi +++ /dev/null @@ -1,705 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/include/ "dsi-panel-toshiba-720p-video.dtsi" -/include/ "msm8974-camera-sensor-mtp.dtsi" -/include/ "msm8974-leds.dtsi" - -&soc { - serial@f991e000 { - status = "ok"; - }; - - qcom,mdss_dsi_toshiba_720p_video { - status = "ok"; - qcom,cont-splash-enabled; - }; - - qcom,hdmi_tx@fd922100 { - status = "disabled"; - }; - - i2c@f9924000 { - atmel_mxt_ts@4a { - compatible = "atmel,mxt-ts"; - reg = <0x4a>; - interrupt-parent = <&msmgpio>; - interrupts = <61 0x2>; - vdd_ana-supply = <&pm8941_l18>; - vcc_i2c-supply = <&pm8941_lvs1>; - atmel,reset-gpio = <&msmgpio 60 0x00>; - atmel,irq-gpio = <&msmgpio 61 0x00>; - atmel,panel-coords = <0 0 760 1424>; - atmel,display-coords = <0 0 720 1280>; - atmel,i2c-pull-up; - atmel,no-force-update; - atmel,cfg_1 { - atmel,family-id = <0x82>; - atmel,variant-id = <0x19>; - atmel,version = <0x10>; - atmel,build = <0xaa>; - atmel,config = [ - /* Object 6, Instance = 0 */ - 00 00 00 00 00 00 - /* Object 38, Instance = 0 */ - 15 01 00 03 0A 0C 00 00 - /* Object 7, Instance = 0 */ - 20 08 32 03 - /* Object 8, Instance = 0 */ - 0F 00 0A 0A 00 00 0A 0A 00 00 - /* Object 9, Instance = 0 */ - 83 00 00 18 0E 00 70 46 02 01 - 00 0A 03 31 04 05 0A 0A 90 05 - F8 02 05 F1 F1 0F 00 00 08 2D - 12 06 00 00 00 01 - /* Object 15, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 - /* Object 18, Instance = 0 */ - 00 00 - /* Object 19, Instance = 0 */ - 00 00 00 00 00 00 - /* Object 23, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 - /* Object 25, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 - /* Object 40, Instance = 0 */ - 00 00 00 00 00 - /* Object 42, Instance = 0 */ - 33 1E 19 10 80 00 00 00 FF 00 - /* Object 46, Instance = 0 */ - 00 00 10 10 00 00 03 00 00 01 - /* Object 47, Instance = 0 */ - 08 0A 28 0A 02 0A 00 8C 00 20 - 00 00 00 - /* Object 55, Instance = 0 */ - 00 00 00 00 00 00 - /* Object 56, Instance = 0 */ - 00 00 00 18 05 05 05 05 05 05 - 05 05 05 05 05 05 05 05 05 05 - 05 05 05 05 05 05 05 05 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 - /* Object 57, Instance = 0 */ - 00 00 00 - /* Object 61, Instance = 0 */ - 00 00 00 00 00 - /* Object 62, Instance = 0 */ - 01 2A 00 16 00 00 00 00 0B 01 - 02 03 04 08 00 00 08 10 18 05 - 00 0A 05 05 50 14 19 34 1A 7F - 00 00 00 00 00 00 00 00 00 30 - 05 02 00 01 00 05 00 00 00 00 - 00 00 00 00 - ]; - }; - }; - }; - - gen-vkeys { - compatible = "qcom,gen-vkeys"; - label = "atmel_mxt_ts"; - qcom,disp-maxx = <720>; - qcom,disp-maxy = <1280>; - qcom,panel-maxx = <760>; - qcom,panel-maxy = <1424>; - qcom,key-codes = <158 139 102 217>; - }; - - i2c@f9967000 { - isa1200@48 { - status = "okay"; - reg = <0x48>; - vcc_i2c-supply = <&pm8941_s3>; - compatible = "imagis,isa1200"; - label = "vibrator"; - imagis,chip-en; - imagis,need-pwm-clk; - imagis,ext-clk-en; - imagis,hap-en-gpio = <&msmgpio 86 0x00>; - imagis,max-timeout = <15000>; - imagis,pwm-div = <256>; - imagis,mode-ctrl = <2>; - imagis,regulator { - regulator-name = "vcc_i2c"; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - regulator-max-microamp = <9360>; - }; - }; - }; - - gpio_keys { - compatible = "gpio-keys"; - input-name = "gpio-keys"; - - camera_snapshot { - label = "camera_snapshot"; - gpios = <&pm8941_gpios 3 0x1>; - linux,input-type = <1>; - linux,code = <0x2fe>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - - camera_focus { - label = "camera_focus"; - gpios = <&pm8941_gpios 4 0x1>; - linux,input-type = <1>; - linux,code = <0x210>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - - vol_up { - label = "volume_up"; - gpios = <&pm8941_gpios 5 0x1>; - linux,input-type = <1>; - linux,code = <115>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - }; - - spi@f9923000 { - ethernet-switch@2 { - compatible = "micrel,ks8851"; - reg = <2>; - interrupt-parent = <&msmgpio>; - interrupts = <94 0>; - spi-max-frequency = <4800000>; - rst-gpio = <&pm8941_mpps 6 0>; - vdd-io-supply = <&spi_eth_vreg>; - vdd-phy-supply = <&spi_eth_vreg>; - }; - }; - - sound { - qcom,model = "msm8974-taiko-mtp-snd-card"; - qcom,cdc-micbias2-headset-only; - }; -}; - -&spmi_bus { - qcom,pm8941@1 { - qcom,leds@d800 { - status = "okay"; - qcom,wled_0 { - label = "wled"; - linux,name = "wled:backlight"; - linux,default-trigger = "bkl-trigger"; - qcom,cs-out-en; - qcom,op-fdbck = <1>; - qcom,default-state = "on"; - qcom,max-current = <25>; - qcom,ctrl-delay-us = <0>; - qcom,boost-curr-lim = <3>; - qcom,cp-sel = <0>; - qcom,switch-freq = <2>; - qcom,ovp-val = <2>; - qcom,num-strings = <1>; - qcom,id = <0>; - }; - }; - - qcom,leds@d900 { - status = "disabled"; - }; - - qcom,leds@da00 { - status = "disabled"; - }; - - qcom,leds@db00 { - status = "disabled"; - }; - - qcom,leds@dc00 { - status = "disabled"; - }; - - qcom,leds@dd00 { - status = "disabled"; - }; - - qcom,leds@de00 { - status = "disabled"; - }; - - qcom,leds@df00 { - status = "disabled"; - }; - - qcom,leds@e000 { - status = "disabled"; - }; - - qcom,leds@e100 { - status = "disabled"; - }; - }; -}; - -&sdcc1 { - status = "disabled"; -}; - -&sdcc2 { - #address-cells = <0>; - interrupt-parent = <&sdcc2>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 125 0 - 1 &intc 0 220 0 - 2 &msmgpio 62 0x3>; - interrupt-names = "core_irq", "bam_irq", "status_irq"; - cd-gpios = <&msmgpio 62 0x1>; - status = "disabled"; -}; - -&sdhc_1 { - vdd-supply = <&pm8941_l20>; - vdd-io-supply = <&pm8941_s3>; - - qcom,vdd-always-on; - qcom,vdd-lpm-sup; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <800 500000>; - - qcom,vdd-io-always-on; - qcom,vdd-io-voltage-level = <1800000 1800000>; - qcom,vdd-io-current-level = <250 154000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,nonremovable; - status = "ok"; -}; - -&sdhc_2 { - #address-cells = <0>; - interrupt-parent = <&sdhc_2>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 125 0 - 1 &intc 0 221 0 - 2 &msmgpio 62 0x3>; - interrupt-names = "hc_irq", "pwr_irq", "status_irq"; - cd-gpios = <&msmgpio 62 0x1>; - - vdd-supply = <&pm8941_l21>; - vdd-io-supply = <&pm8941_l13>; - - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <9000 800000>; - - qcom,vdd-io-voltage-level = <1800000 2950000>; - qcom,vdd-io-current-level = <6 22000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - status = "ok"; -}; - -/* Drive strength recommendations for clock line from hardware team is 10 mA. - * But since the driver has been been using the below values from the start - * without any problems, continue to use those. - */ -&sdcc1 { - qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */ -}; - -&sdcc2 { - qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */ -}; - -&sdhc_1 { - qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */ -}; - -&sdhc_2 { - qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */ -}; - -&usb_otg { - qcom,hsusb-otg-otg-control = <2>; -}; - -&uart7 { - status = "ok"; -}; - -&usb3 { - qcom,otg-capability; -}; - -&pm8941_bms { - status = "ok"; -}; - -&pm8941_chg { - status = "ok"; - qcom,charging-disabled; - - qcom,chgr@1000 { - status = "ok"; - }; - - qcom,buck@1100 { - status = "ok"; - }; - - qcom,bat-if@1200 { - status = "ok"; - }; - - qcom,usb-chgpth@1300 { - status = "ok"; - }; - - qcom,dc-chgpth@1400 { - status = "ok"; - }; - - qcom,boost@1500 { - status = "ok"; - }; - - qcom,chg-misc@1600 { - status = "ok"; - }; -}; - -&pm8941_gpios { - gpio@c000 { /* GPIO 1 */ - qcom,mode = <0>; /* QPNP_PIN_MODE_DIG_IN */ - qcom,pull = <0>; /* QPNP_PIN_PULL_UP_30 */ - qcom,master-en = <1>; - }; - - gpio@c100 { /* GPIO 2 */ - qcom,mode = <0>; /* QPNP_PIN_MODE_DIG_IN */ - qcom,pull = <0>; /* QPNP_PIN_PULL_UP_30 */ - qcom,master-en = <1>; - }; - - gpio@c200 { /* GPIO 3 */ - qcom,mode = <0>; /* QPNP_PIN_MODE_DIG_IN */ - qcom,pull = <0>; /* QPNP_PIN_PULL_UP_30 */ - qcom,vin-sel = <2>; - qcom,src-sel = <0>; /* QPNP_PIN_SEL_FUNC_CONSTANT */ - qcom,master-en = <1>; - }; - - gpio@c300 { /* GPIO 4 */ - qcom,mode = <0>; /* QPNP_PIN_MODE_DIG_IN */ - qcom,pull = <0>; /* QPNP_PIN_PULL_UP_30 */ - qcom,vin-sel = <2>; /* QPNP_PIN_VIN2 */ - qcom,src-sel = <0>; /* QPNP_PIN_SEL_FUNC_CONSTANT */ - qcom,master-en = <1>; - }; - - gpio@c400 { /* GPIO 5 */ - qcom,mode = <0>; /* QPNP_PIN_MODE_DIG_IN */ - qcom,pull = <0>; /* QPNP_PIN_PULL_UP_30 */ - qcom,vin-sel = <2>; /* QPNP_PIN_VIN2 */ - qcom,src-sel = <0>; /* QPNP_PIN_SEL_FUNC_CONSTANT */ - qcom,master-en = <1>; - }; - - gpio@c500 { /* GPIO 6 */ - qcom,mode = <0>; /* QPNP_PIN_MODE_DIG_IN */ - qcom,pull = <0>; /* QPNP_PIN_PULL_UP_30 */ - qcom,master-en = <1>; - }; - - gpio@c600 { /* GPIO 7 */ - qcom,mode = <0>; /* QPNP_PIN_MODE_DIG_IN */ - qcom,pull = <0>; /* QPNP_PIN_PULL_UP_30 */ - qcom,master-en = <1>; - }; - - gpio@c700 { /* GPIO 8 */ - qcom,mode = <0>; /* QPNP_PIN_MODE_DIG_IN */ - qcom,pull = <0>; /* QPNP_PIN_PULL_UP_30 */ - qcom,master-en = <1>; - }; - - gpio@c800 { /* GPIO 9 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */ - qcom,src-sel = <2>; /* QPNP_PIN_SEL_FUNC_1 */ - qcom,master-en = <1>; - }; - - gpio@c900 { /* GPIO 10 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */ - qcom,src-sel = <2>; /* QPNP_PIN_SEL_FUNC_1 */ - qcom,master-en = <1>; - }; - - gpio@ca00 { /* GPIO 11 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */ - qcom,src-sel = <2>; /* QPNP_PIN_SEL_FUNC_1 */ - qcom,master-en = <1>; - }; - - gpio@cb00 { /* GPIO 12 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */ - qcom,src-sel = <2>; /* QPNP_PIN_SEL_FUNC_1 */ - qcom,master-en = <1>; - }; - - gpio@cc00 { /* GPIO 13 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */ - qcom,src-sel = <2>; /* QPNP_PIN_SEL_FUNC_1 */ - qcom,master-en = <1>; - }; - - gpio@cd00 { /* GPIO 14 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */ - qcom,src-sel = <2>; /* QPNP_PIN_SEL_FUNC_1 */ - qcom,master-en = <1>; - }; - - gpio@ce00 { /* GPIO 15 */ - qcom,mode = <1>; - qcom,output-type = <0>; - qcom,pull = <5>; - qcom,vin-sel = <2>; - qcom,out-strength = <1>; - qcom,src-sel = <2>; - qcom,master-en = <1>; - }; - - gpio@cf00 { /* GPIO 16 */ - qcom,mode = <1>; - qcom,output-type = <0>; - qcom,pull = <5>; - qcom,vin-sel = <2>; - qcom,out-strength = <3>; - qcom,src-sel = <3>; /* QPNP_PIN_SEL_FUNC_2 */ - qcom,master-en = <1>; - }; - - gpio@d000 { /* GPIO 17 */ - }; - - gpio@d100 { /* GPIO 18 */ - }; - - gpio@d200 { /* GPIO 19 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,output-type = <0>; /* QPNP_PIN_OUT_BUF_CMOS */ - qcom,pull = <5>; /* QPNP_PIN_PULL_NO */ - qcom,vin-sel = <2>; /* QPNP_PIN_VIN2 */ - qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */ - qcom,src-sel = <0>; /* QPNP_PIN_SEL_FUNC_CONSTANT */ - qcom,master-en = <1>; - }; - - gpio@d300 { /* GPIO 20 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */ - qcom,src-sel = <2>; /* QPNP_PIN_SEL_FUNC_1 */ - qcom,master-en = <1>; - }; - - gpio@d400 { /* GPIO 21 */ - }; - - gpio@d500 { /* GPIO 22 */ - qcom,mode = <0>; /* QPNP_PIN_MODE_DIG_IN */ - qcom,pull = <4>; /* QPNP_PIN_PULL_DN */ - qcom,master-en = <1>; - }; - - gpio@d600 { /* GPIO 23 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */ - qcom,src-sel = <2>; /* QPNP_PIN_SEL_FUNC_1 */ - qcom,master-en = <1>; - }; - - gpio@d700 { /* GPIO 24 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */ - qcom,src-sel = <2>; /* QPNP_PIN_SEL_FUNC_1 */ - qcom,master-en = <1>; - }; - - gpio@d800 { /* GPIO 25 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */ - qcom,src-sel = <2>; /* QPNP_PIN_SEL_FUNC_1 */ - qcom,master-en = <1>; - }; - - gpio@d900 { /* GPIO 26 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */ - qcom,src-sel = <2>; /* QPNP_PIN_SEL_FUNC_1 */ - qcom,master-en = <1>; - }; - - gpio@da00 { /* GPIO 27 */ - qcom,mode = <0>; /* QPNP_PIN_MODE_DIG_IN */ - qcom,pull = <4>; /* QPNP_PIN_PULL_DN */ - qcom,master-en = <1>; - }; - - gpio@db00 { /* GPIO 28 */ - }; - - gpio@dc00 { /* GPIO 29 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */ - qcom,src-sel = <2>; /* QPNP_PIN_SEL_FUNC_1 */ - qcom,master-en = <1>; - }; - - gpio@dd00 { /* GPIO 30 */ - qcom,mode = <0>; /* QPNP_PIN_MODE_DIG_IN */ - qcom,pull = <4>; /* QPNP_PIN_PULL_DN */ - qcom,master-en = <1>; - }; - - gpio@de00 { /* GPIO 31 */ - }; - - gpio@df00 { /* GPIO 32 */ - qcom,mode = <0>; /* QPNP_PIN_MODE_DIG_IN */ - qcom,pull = <4>; /* QPNP_PIN_PULL_DN */ - qcom,master-en = <1>; - }; - - gpio@e000 { /* GPIO 33 */ - qcom,mode = <0>; /* QPNP_PIN_MODE_DIG_IN */ - qcom,pull = <4>; /* QPNP_PIN_PULL_DN */ - qcom,master-en = <1>; - }; - - gpio@e100 { /* GPIO 34 */ - qcom,mode = <0>; /* QPNP_PIN_MODE_DIG_IN */ - qcom,pull = <4>; /* QPNP_PIN_PULL_DN */ - qcom,master-en = <1>; - }; - - gpio@e200 { /* GPIO 35 */ - qcom,mode = <0>; /* QPNP_PIN_MODE_DIG_IN */ - qcom,pull = <4>; /* QPNP_PIN_PULL_DN */ - qcom,master-en = <1>; - }; - - gpio@e300 { /* GPIO 36 */ - }; -}; - -&pm8941_mpps { - - mpp@a000 { /* MPP 1 */ - status = "disabled"; - }; - - mpp@a100 { /* MPP 2 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */ - qcom,master-en = <1>; - }; - - mpp@a200 { /* MPP 3 */ - }; - - mpp@a300 { /* MPP 4 */ - }; - - mpp@a400 { /* MPP 5 */ - }; - - mpp@a500 { /* MPP 6 */ - /* SPI_ETH_RST config */ - qcom,mode = <1>; /* DIG_OUT */ - qcom,output-type = <0>; /* CMOS */ - qcom,vin-sel = <2>; /* PM8941_S3 1.8V > 1.6V */ - qcom,src-sel = <0>; /* CONSTANT */ - qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */ - qcom,master-en = <1>; /* ENABLE MPP */ - }; - - mpp@a600 { /* MPP 7 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */ - qcom,master-en = <1>; - }; - - mpp@a700 { /* MPP 8 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */ - qcom,master-en = <1>; - }; -}; - -&pm8841_mpps { - - mpp@a000 { /* MPP 1 */ - }; - - mpp@a100 { /* MPP 2 */ - }; - - mpp@a200 { /* MPP 3 */ - }; - - mpp@a300 { /* MPP 4 */ - }; -}; - -&slim_msm { - taiko_codec { - qcom,cdc-micbias1-ext-cap; - qcom,cdc-micbias2-ext-cap; - qcom,cdc-micbias4-ext-cap; - }; -}; - -&spi_epm { - epm-adc@0 { - compatible = "cy,epm-adc-cy8c5568lti-114"; - reg = <0>; - interrupt-parent = <&msmgpio>; - spi-max-frequency = <960000>; - qcom,channels = <31>; - qcom,gain = <100 100 100 50 100 100 1 100 1 50 - 1 100 1 100 50 50 50 50 50 50 - 100 50 100 50 50 50 50 50 50 50 - 50>; - qcom,rsense = <2 2 2 200 20 2 1 2 1 30 - 1 10 1 30 50 30 500 30 100 30 - 100 500 20 200 1000 20 1000 1000 70 200 - 50>; - qcom,channel-type = <0x1540>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/msm8974-regulator.dtsi b/kernel/arch/arm/boot/dts/lte_module-v1/msm8974-regulator.dtsi deleted file mode 100755 index 2114686eb..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/msm8974-regulator.dtsi +++ /dev/null @@ -1,568 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - - -/* QPNP controlled regulators: */ - -&spmi_bus { - - qcom,pm8941@1 { - - pm8941_boost: regulator@a000 { - regulator-min-microvolt = <5000000>; - regulator-max-microvolt = <5000000>; - qcom,enable-time = <500>; - status = "okay"; - }; - - pm8941_mvs1: regulator@8300 { - parent-supply = <&pm8941_chg_otg>; - qcom,enable-time = <1000>; - qcom,pull-down-enable = <1>; - interrupts = <0x1 0x83 0x2>; - interrupt-names = "ocp"; - qcom,ocp-enable = <1>; - qcom,ocp-max-retries = <10>; - qcom,ocp-retry-delay = <30>; - qcom,soft-start-enable = <1>; - qcom,vs-soft-start-strength = <0>; - qcom,hpm-enable = <1>; - qcom,auto-mode-enable = <0>; - status = "okay"; - }; - - pm8941_mvs2: regulator@8400 { - parent-supply = <&pm8941_boost>; - qcom,enable-time = <1000>; - qcom,pull-down-enable = <1>; - interrupts = <0x1 0x84 0x2>; - interrupt-names = "ocp"; - qcom,ocp-enable = <1>; - qcom,ocp-max-retries = <10>; - qcom,ocp-retry-delay = <30>; - qcom,soft-start-enable = <1>; - qcom,vs-soft-start-strength = <0>; - qcom,hpm-enable = <1>; - qcom,auto-mode-enable = <0>; - status = "okay"; - }; - }; -}; - -/* RPM controlled regulators: */ - -&rpm_bus { - rpm-regulator-smpb1 { - status = "okay"; - pm8841_s1: regulator-s1 { - regulator-min-microvolt = <675000>; - regulator-max-microvolt = <1050000>; - status = "okay"; - }; - pm8841_s1_ao: regulator-s1-ao { - regulator-name = "8841_s1_ao"; - qcom,set = <1>; - regulator-min-microvolt = <675000>; - regulator-max-microvolt = <1050000>; - status = "okay"; - compatible = "qcom,rpm-regulator-smd"; - }; - pm8841_s1_so: regulator-s1-so { - regulator-name = "8841_s1_so"; - qcom,set = <2>; - regulator-min-microvolt = <675000>; - regulator-max-microvolt = <1050000>; - qcom,init-voltage = <675000>; - status = "okay"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-smpb2 { - status = "okay"; - pm8841_s2: regulator-s2 { - regulator-min-microvolt = <500000>; - regulator-max-microvolt = <1050000>; - status = "okay"; - }; - pm8841_s2_corner: regulator-s2-corner { - regulator-name = "8841_s2_corner"; - qcom,set = <3>; - regulator-min-microvolt = <1>; - regulator-max-microvolt = <7>; - qcom,use-voltage-corner; - compatible = "qcom,rpm-regulator-smd"; - qcom,consumer-supplies = "vdd_dig", ""; - }; - pm8841_s2_corner_ao: regulator-s2-corner-ao { - regulator-name = "8841_s2_corner_ao"; - qcom,set = <1>; - regulator-min-microvolt = <1>; - regulator-max-microvolt = <7>; - qcom,use-voltage-corner; - compatible = "qcom,rpm-regulator-smd"; - }; - pm8841_s2_floor_corner: regulator-s2-floor-corner { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8841_s2_floor_corner"; - qcom,set = <3>; - regulator-min-microvolt = <1>; - regulator-max-microvolt = <7>; - qcom,use-voltage-floor-corner; - qcom,always-send-voltage; - }; - }; - - rpm-regulator-smpb3 { - status = "okay"; - pm8841_s3: regulator-s3 { - regulator-min-microvolt = <1050000>; - regulator-max-microvolt = <1050000>; - qcom,init-voltage = <1050000>; - status = "okay"; - }; - }; - - rpm-regulator-smpb4 { - status = "okay"; - pm8841_s4: regulator-s4 { - regulator-min-microvolt = <815000>; - regulator-max-microvolt = <900000>; - status = "okay"; - }; - pm8841_s4_corner: regulator-s4-corner { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8841_s4_corner"; - qcom,set = <3>; - qcom,use-voltage-corner; - regulator-min-microvolt = <1>; - regulator-max-microvolt = <7>; - qcom,init-voltage-corner = <3>; /* SVS SOC */ - }; - pm8841_s4_floor_corner: regulator-s4-floor-corner { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8841_s4_floor_corner"; - qcom,set = <3>; - regulator-min-microvolt = <1>; - regulator-max-microvolt = <7>; - qcom,use-voltage-floor-corner; - qcom,always-send-voltage; - }; - }; - - rpm-regulator-smpa1 { - status = "okay"; - pm8941_s1: regulator-s1 { - regulator-min-microvolt = <1300000>; - regulator-max-microvolt = <1300000>; - qcom,init-voltage = <1300000>; - status = "okay"; - }; - }; - - rpm-regulator-smpa2 { - status = "okay"; - pm8941_s2: regulator-s2 { - regulator-min-microvolt = <2150000>; - regulator-max-microvolt = <2150000>; - qcom,init-voltage = <2150000>; - status = "okay"; - }; - }; - - rpm-regulator-smpa3 { - status = "okay"; - pm8941_s3: regulator-s3 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa1 { - status = "okay"; - pm8941_l1: regulator-l1 { - regulator-min-microvolt = <1225000>; - regulator-max-microvolt = <1225000>; - qcom,init-voltage = <1225000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa2 { - status = "okay"; - pm8941_l2: regulator-l2 { - regulator-min-microvolt = <1200000>; - regulator-max-microvolt = <1200000>; - qcom,init-voltage = <1200000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa3 { - status = "okay"; - pm8941_l3: regulator-l3 { - regulator-min-microvolt = <1225000>; - regulator-max-microvolt = <1225000>; - qcom,init-voltage = <1225000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa4 { - status = "okay"; - pm8941_l4: regulator-l4 { - regulator-min-microvolt = <1225000>; - regulator-max-microvolt = <1225000>; - qcom,init-voltage = <1225000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa5 { - status = "okay"; - pm8941_l5: regulator-l5 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa6 { - status = "okay"; - pm8941_l6: regulator-l6 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa7 { - status = "okay"; - pm8941_l7: regulator-l7 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa8 { - status = "okay"; - pm8941_l8: regulator-l8 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa9 { - status = "okay"; - pm8941_l9: regulator-l9 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <2950000>; - qcom,init-voltage = <2950000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa10 { - status = "okay"; - pm8941_l10: regulator-l10 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <2950000>; - qcom,init-voltage = <2950000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa11 { - status = "okay"; - pm8941_l11: regulator-l11 { - regulator-min-microvolt = <1300000>; - regulator-max-microvolt = <1300000>; - qcom,init-voltage = <1300000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa12 { - status = "okay"; - pm8941_l12: regulator-l12 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - status = "okay"; - }; - pm8941_l12_ao: regulator-l12-ao { - regulator-name = "8941_l12_ao"; - qcom,set = <1>; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - status = "okay"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa13 { - status = "okay"; - pm8941_l13: regulator-l13 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <2950000>; - qcom,init-voltage = <2950000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa14 { - status = "okay"; - pm8941_l14: regulator-l14 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa15 { - status = "okay"; - pm8941_l15: regulator-l15 { - regulator-min-microvolt = <2050000>; - regulator-max-microvolt = <2050000>; - qcom,init-voltage = <2050000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa16 { - status = "okay"; - pm8941_l16: regulator-l16 { - regulator-min-microvolt = <2700000>; - regulator-max-microvolt = <2700000>; - qcom,init-voltage = <2700000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa17 { - status = "okay"; - pm8941_l17: regulator-l17 { - regulator-min-microvolt = <2850000>; - regulator-max-microvolt = <2850000>; - qcom,init-voltage = <2850000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa18 { - status = "okay"; - pm8941_l18: regulator-l18 { - regulator-min-microvolt = <2850000>; - regulator-max-microvolt = <2850000>; - qcom,init-voltage = <2850000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa19 { - status = "okay"; - pm8941_l19: regulator-l19 { - regulator-min-microvolt = <2900000>; - regulator-max-microvolt = <2900000>; - qcom,init-voltage = <2900000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa20 { - status = "okay"; - pm8941_l20: regulator-l20 { - regulator-min-microvolt = <2950000>; - regulator-max-microvolt = <2950000>; - qcom,init-voltage = <2950000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa21 { - status = "okay"; - pm8941_l21: regulator-l21 { - regulator-min-microvolt = <2950000>; - regulator-max-microvolt = <2950000>; - qcom,init-voltage = <2950000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa22 { - status = "okay"; - pm8941_l22: regulator-l22 { - regulator-min-microvolt = <3000000>; - regulator-max-microvolt = <3000000>; - qcom,init-voltage = <3000000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa23 { - status = "okay"; - pm8941_l23: regulator-l23 { - regulator-min-microvolt = <3000000>; - regulator-max-microvolt = <3000000>; - qcom,init-voltage = <3000000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa24 { - status = "okay"; - pm8941_l24: regulator-l24 { - regulator-min-microvolt = <3075000>; - regulator-max-microvolt = <3075000>; - qcom,init-voltage = <3075000>; - status = "okay"; - }; - }; - - rpm-regulator-vsa1 { - status = "okay"; - pm8941_lvs1: regulator-lvs1 { - status = "okay"; - }; - }; - - rpm-regulator-vsa2 { - status = "okay"; - pm8941_lvs2: regulator-lvs2 { - status = "okay"; - }; - }; - - rpm-regulator-vsa3 { - status = "okay"; - pm8941_lvs3: regulator-lvs3 { - status = "okay"; - }; - }; -}; - -&soc { - krait_pdn: krait-pdn@f9011000 { - reg = <0xf9011000 0x1000>, - <0xfc4b80b0 8>; - reg-names = "apcs_gcc", "phase-scaling-efuse"; - compatible = "qcom,krait-pdn"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - qcom,pfm-threshold = <73>; - - krait0_vreg: regulator@f9088000 { - compatible = "qcom,krait-regulator"; - regulator-name = "krait0"; - reg = <0xf9088000 0x1000>, /* APCS_ALIAS0_KPSS_ACS */ - <0xf908a800 0x1000>; /* APCS_ALIAS0_KPSS_MDD */ - reg-names = "acs", "mdd"; - regulator-min-microvolt = <500000>; - regulator-max-microvolt = <1100000>; - qcom,headroom-voltage = <150000>; - qcom,retention-voltage = <675000>; - qcom,ldo-default-voltage = <750000>; - qcom,ldo-threshold-voltage = <850000>; - qcom,ldo-delta-voltage = <50000>; - qcom,cpu-num = <0>; - }; - - krait1_vreg: regulator@f9098000 { - compatible = "qcom,krait-regulator"; - regulator-name = "krait1"; - reg = <0xf9098000 0x1000>, /* APCS_ALIAS1_KPSS_ACS */ - <0xf909a800 0x1000>; /* APCS_ALIAS1_KPSS_MDD */ - reg-names = "acs", "mdd"; - regulator-min-microvolt = <500000>; - regulator-max-microvolt = <1100000>; - qcom,headroom-voltage = <150000>; - qcom,retention-voltage = <675000>; - qcom,ldo-default-voltage = <750000>; - qcom,ldo-threshold-voltage = <850000>; - qcom,ldo-delta-voltage = <50000>; - qcom,cpu-num = <1>; - }; - - krait2_vreg: regulator@f90a8000 { - compatible = "qcom,krait-regulator"; - regulator-name = "krait2"; - reg = <0xf90a8000 0x1000>, /* APCS_ALIAS2_KPSS_ACS */ - <0xf90aa800 0x1000>; /* APCS_ALIAS2_KPSS_MDD */ - reg-names = "acs", "mdd"; - regulator-min-microvolt = <500000>; - regulator-max-microvolt = <1100000>; - qcom,headroom-voltage = <150000>; - qcom,retention-voltage = <675000>; - qcom,ldo-default-voltage = <750000>; - qcom,ldo-threshold-voltage = <850000>; - qcom,ldo-delta-voltage = <50000>; - qcom,cpu-num = <2>; - }; - - krait3_vreg: regulator@f90b8000 { - compatible = "qcom,krait-regulator"; - regulator-name = "krait3"; - reg = <0xf90b8000 0x1000>, /* APCS_ALIAS3_KPSS_ACS */ - <0xf90ba800 0x1000>; /* APCS_ALIAS3_KPSS_MDD */ - reg-names = "acs", "mdd"; - regulator-min-microvolt = <500000>; - regulator-max-microvolt = <1100000>; - qcom,headroom-voltage = <150000>; - qcom,retention-voltage = <675000>; - qcom,ldo-default-voltage = <750000>; - qcom,ldo-threshold-voltage = <850000>; - qcom,ldo-delta-voltage = <50000>; - qcom,cpu-num = <3>; - }; - }; - - spi_eth_vreg: spi_eth_phy_vreg { - compatible = "regulator-fixed"; - regulator-name = "ethernet_phy"; - gpio = <&pm8941_mpps 5 0>; - enable-active-high; - }; - - /* - * vph_pwr_vreg represents the unregulated battery voltage supply - * VPH_PWR that is present whenever the device is powered on. - */ - vph_pwr_vreg: vph_pwr_vreg { - compatible = "regulator-fixed"; - status = "disabled"; - regulator-name = "vph_pwr"; - regulator-always-on; - }; -}; - -&pm8941_chg { - otg-parent-supply = <&pm8941_boost>; -}; - -&pm8941_chg_boost { - regulator-min-microvolt = <5000000>; - regulator-max-microvolt = <5000000>; - regulator-name = "8941_smbb_boost"; -}; - -&pm8941_chg_otg { - regulator-name = "8941_smbb_otg"; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/msm8974-rumi.dtsi b/kernel/arch/arm/boot/dts/lte_module-v1/msm8974-rumi.dtsi deleted file mode 100755 index c01a4e509..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/msm8974-rumi.dtsi +++ /dev/null @@ -1,146 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/include/ "msm8974-leds.dtsi" -/include/ "msm8974-camera-sensor-cdp.dtsi" - -&soc { - timer { - clock-frequency = <5000000>; - }; - - serial@f995e000 { - status = "ok"; - }; - - usb@f9a55000 { - status = "disable"; - }; - - qcom,sdcc@f9824000 { - qcom,clk-rates = <400000 19200000>; - }; - - qcom,sdcc@f98a4000 { - qcom,clk-rates = <400000 19200000>; - }; - - qcom,sps@f998000 { - status = "disable"; - }; - - spi@f9924000 { - status = "disable"; - }; - - spi@f9923000 { - compatible = "qcom,spi-qup-v2"; - reg = <0xf9923000 0x1000>; - interrupts = <0 95 0>; - spi-max-frequency = <24000000>; - #address-cells = <1>; - #size-cells = <0>; - gpios = <&msmgpio 3 0>, /* CLK */ - <&msmgpio 1 0>, /* MISO */ - <&msmgpio 0 0>; /* MOSI */ - cs-gpios = <&msmgpio 9 0>; - - ethernet-switch@2 { - compatible = "simtec,ks8851"; - reg = <2>; - interrupt-parent = <&msmgpio>; - interrupts = <90 0>; - spi-max-frequency = <5000000>; - }; - }; - - i2c@f9966000 { - status = "disable"; - }; - - i2c@f9967000 { - cell-index = <0>; - compatible = "qcom,i2c-qup"; - reg = <0Xf9967000 0x1000>; - reg-names = "qup_phys_addr"; - interrupts = <0 105 0>; - interrupt-names = "qup_err_intr"; - qcom,i2c-bus-freq = <100000>; - qcom,i2c-src-freq = <19200000>; - gpios = <&msmgpio 83 0>, /* DAT */ - <&msmgpio 84 0>; /* CLK */ - }; - - slim@fe12f000 { - status = "disable"; - }; - - qcom,mdss_dsi@fd922800 { - status = "disable"; - }; - - qcom,spmi@fc4c0000 { - status = "disable"; - }; - - qcom,ssusb@F9200000 { - status = "disable"; - }; - - qcom,lpass@fe200000 { - status = "disable"; - }; - - qcom,pronto@fb21b000 { - status = "disable"; - }; - - qcom,mss@fc880000 { - status = "disable"; - }; - - qcom,kgsl-3d0@fdb00000 { - status = "disabled"; - }; -}; - -&gdsc_venus { - status = "disabled"; -}; - -&gdsc_mdss { - status = "disabled"; -}; - -&gdsc_jpeg { - status = "disabled"; -}; - -&gdsc_vfe { - status = "disabled"; -}; - -&gdsc_oxili_gx { - status = "disabled"; -}; - -&gdsc_oxili_cx { - status = "disabled"; -}; - -&gdsc_usb_hsic { - status = "disabled"; -}; - -&rpm_bus { - rpm-standalone; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/msm8974-sim.dtsi b/kernel/arch/arm/boot/dts/lte_module-v1/msm8974-sim.dtsi deleted file mode 100755 index 24b8d18be..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/msm8974-sim.dtsi +++ /dev/null @@ -1,93 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/include/ "dsi-panel-sim-video.dtsi" -/include/ "msm8974-leds.dtsi" -/include/ "msm8974-camera-sensor-cdp.dtsi" - -&soc { - qcom,mdss_dsi@fd922800 { - qcom,mdss_dsi_sim_video { - status = "ok"; - }; - }; - - serial@f991f000 { - status = "ok"; - }; - - serial@f995e000 { - status = "ok"; - }; -}; - -&jpeg_iommu { - qcom,iommu-ctx@fda6c000 { - interrupts = <0 69 0>; - }; - - qcom,iommu-ctx@fda6d000 { - interrupts = <0 70 0>; - }; - - qcom,iommu-ctx@fda6e000 { - interrupts = <0 71 0>; - }; -}; - -&mdp_iommu { - qcom,iommu-ctx@fd930000 { - interrupts = <0 46 0>; - }; - - qcom,iommu-ctx@fd931000 { - interrupts = <0 47 0>; - }; -}; - -&venus_iommu { - qcom,iommu-ctx@fdc8c000 { - interrupts = <0 43 0>; - }; - - qcom,iommu-ctx@fdc8d000 { - interrupts = <0 42 0>; - }; - - qcom,iommu-ctx@fdc8e000 { - interrupts = <0 41 0>; - }; -}; - -&kgsl_iommu { - qcom,iommu-ctx@fdb18000 { - interrupts = <0 240 0>; - }; - - qcom,iommu-ctx@fdb19000 { - interrupts = <0 241 0>; - }; -}; - -&vfe_iommu { - qcom,iommu-ctx@fda4c000 { - interrupts = <0 64 0>; - }; - - qcom,iommu-ctx@fda4d000 { - interrupts = <0 65 0>; - }; - - qcom,iommu-ctx@fda4e000 { - interrupts = <0 66 0>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/msm8974-smp2p.dtsi b/kernel/arch/arm/boot/dts/lte_module-v1/msm8974-smp2p.dtsi deleted file mode 100755 index 3921a686a..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/msm8974-smp2p.dtsi +++ /dev/null @@ -1,225 +0,0 @@ -/* Copyright (c) 2013, 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. - */ -&soc { - qcom,smp2p-modem { - compatible = "qcom,smp2p"; - reg = <0xf9011008 0x4>; - qcom,remote-pid = <1>; - qcom,irq-bitmask = <0x4000>; - interrupts = <0 27 1>; - }; - - qcom,smp2p-adsp { - compatible = "qcom,smp2p"; - reg = <0xf9011008 0x4>; - qcom,remote-pid = <2>; - qcom,irq-bitmask = <0x400>; - interrupts = <0 158 1>; - }; - - qcom,smp2p-wcnss { - compatible = "qcom,smp2p"; - reg = <0xf9011008 0x4>; - qcom,remote-pid = <4>; - qcom,irq-bitmask = <0x40000>; - interrupts = <0 143 1>; - }; - - smp2pgpio_smp2p_7_in: qcom,smp2pgpio-smp2p-7-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <7>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_7_in { - compatible = "qcom,smp2pgpio_test_smp2p_7_in"; - gpios = <&smp2pgpio_smp2p_7_in 0 0>; - }; - - smp2pgpio_smp2p_7_out: qcom,smp2pgpio-smp2p-7-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <7>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_7_out { - compatible = "qcom,smp2pgpio_test_smp2p_7_out"; - gpios = <&smp2pgpio_smp2p_7_out 0 0>; - }; - - smp2pgpio_smp2p_1_in: qcom,smp2pgpio-smp2p-1-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <1>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_1_in { - compatible = "qcom,smp2pgpio_test_smp2p_1_in"; - gpios = <&smp2pgpio_smp2p_1_in 0 0>; - }; - - smp2pgpio_smp2p_1_out: qcom,smp2pgpio-smp2p-1-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <1>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_1_out { - compatible = "qcom,smp2pgpio_test_smp2p_1_out"; - gpios = <&smp2pgpio_smp2p_1_out 0 0>; - }; - - smp2pgpio_ssr_smp2p_1_in: qcom,smp2pgpio-ssr-smp2p-1-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "slave-kernel"; - qcom,remote-pid = <1>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - smp2pgpio_ssr_smp2p_1_out: qcom,smp2pgpio-ssr-smp2p-1-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "master-kernel"; - qcom,remote-pid = <1>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - smp2pgpio_smp2p_2_in: qcom,smp2pgpio-smp2p-2-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <2>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_2_in { - compatible = "qcom,smp2pgpio_test_smp2p_2_in"; - gpios = <&smp2pgpio_smp2p_2_in 0 0>; - }; - - smp2pgpio_smp2p_2_out: qcom,smp2pgpio-smp2p-2-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <2>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_2_out { - compatible = "qcom,smp2pgpio_test_smp2p_2_out"; - gpios = <&smp2pgpio_smp2p_2_out 0 0>; - }; - - /* SMP2P SSR Driver for inbound entry from lpass. */ - smp2pgpio_ssr_smp2p_2_in: qcom,smp2pgpio-ssr-smp2p-2-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "slave-kernel"; - qcom,remote-pid = <2>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - /* SMP2P SSR Driver for outbound entry to lpass */ - smp2pgpio_ssr_smp2p_2_out: qcom,smp2pgpio-ssr-smp2p-2-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "master-kernel"; - qcom,remote-pid = <2>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - smp2pgpio_smp2p_4_in: qcom,smp2pgpio-smp2p-4-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <4>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_4_in { - compatible = "qcom,smp2pgpio_test_smp2p_4_in"; - gpios = <&smp2pgpio_smp2p_4_in 0 0>; - }; - - smp2pgpio_smp2p_4_out: qcom,smp2pgpio-smp2p-4-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <4>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - smp2pgpio_ssr_smp2p_4_in: qcom,smp2pgpio-ssr-smp2p-4-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "slave-kernel"; - qcom,remote-pid = <4>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - smp2pgpio_ssr_smp2p_4_out: qcom,smp2pgpio-ssr-smp2p-4-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "master-kernel"; - qcom,remote-pid = <4>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_4_out { - compatible = "qcom,smp2pgpio_test_smp2p_4_out"; - gpios = <&smp2pgpio_smp2p_4_out 0 0>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/msm8974-v1-cdp.dts b/kernel/arch/arm/boot/dts/lte_module-v1/msm8974-v1-cdp.dts deleted file mode 100755 index c3fd98d2b..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/msm8974-v1-cdp.dts +++ /dev/null @@ -1,33 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/dts-v1/; - -/include/ "msm8974-v1.dtsi" -/include/ "msm8974-cdp.dtsi" - -/ { - model = "Qualcomm MSM 8974 CDP"; - compatible = "qcom,msm8974-cdp", "qcom,msm8974", "qcom,cdp"; - qcom,msm-id = <126 1 0>, - <185 1 0>, - <186 1 0>; -}; - -&ehci { - status = "ok"; - vbus-supply = <&usb2_otg_sw>; -}; - -&hsic_host { - qcom,phy-sof-workaround; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/msm8974-v1-fluid.dts b/kernel/arch/arm/boot/dts/lte_module-v1/msm8974-v1-fluid.dts deleted file mode 100755 index 2b96ecbd2..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/msm8974-v1-fluid.dts +++ /dev/null @@ -1,33 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/dts-v1/; - -/include/ "msm8974-v1.dtsi" -/include/ "msm8974-fluid.dtsi" - -/ { - model = "Qualcomm MSM 8974 FLUID"; - compatible = "qcom,msm8974-fluid", "qcom,msm8974", "qcom,fluid"; - qcom,msm-id = <126 3 0>, - <185 3 0>, - <186 3 0>; - -}; - -&pm8941_chg { - qcom,charging-disabled; -}; - -&sdcc1 { - qcom,bus-width = <4>; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/msm8974-v1-iommu-domains.dtsi b/kernel/arch/arm/boot/dts/lte_module-v1/msm8974-v1-iommu-domains.dtsi deleted file mode 100755 index 25fca2a54..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/msm8974-v1-iommu-domains.dtsi +++ /dev/null @@ -1,31 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -&soc { - qcom,iommu-domains { - compatible = "qcom,iommu-domains"; - - venus_domain_ns: qcom,iommu-domain1 { - label = "venus_ns"; - qcom,iommu-contexts = <&venus_ns>; - qcom,virtual-addr-pool = <0x40000000 0x3f000000 - 0x7f000000 0x1000000>; - }; - - venus_domain_cp: qcom,iommu-domain2 { - label = "venus_cp"; - qcom,iommu-contexts = <&venus_cp>; - qcom,virtual-addr-pool = <0x1000000 0x3f000000>; - qcom,secure-domain; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/msm8974-v1-iommu.dtsi b/kernel/arch/arm/boot/dts/lte_module-v1/msm8974-v1-iommu.dtsi deleted file mode 100755 index 56369dce3..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/msm8974-v1-iommu.dtsi +++ /dev/null @@ -1,40 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/include/ "msm-iommu-v1.dtsi" - -&jpeg_iommu { - status = "ok"; - vdd-supply = <&gdsc_jpeg>; -}; - -&mdp_iommu { - status = "ok"; - vdd-supply = <&gdsc_mdss>; -}; - -&venus_iommu { - status = "ok"; - vdd-supply = <&gdsc_venus>; -}; - -&kgsl_iommu { - status = "ok"; - qcom,needs-alt-core-clk; - vdd-supply = <&gdsc_oxili_cx>; - qcom,alt-vdd-supply = <&gdsc_oxili_gx>; -}; - -&vfe_iommu { - status = "ok"; - vdd-supply = <&gdsc_vfe>; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/msm8974-v1-liquid.dts b/kernel/arch/arm/boot/dts/lte_module-v1/msm8974-v1-liquid.dts deleted file mode 100755 index 29d6150ba..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/msm8974-v1-liquid.dts +++ /dev/null @@ -1,24 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/dts-v1/; - -/include/ "msm8974-v1.dtsi" -/include/ "msm8974-liquid.dtsi" - -/ { - model = "Qualcomm MSM 8974 LIQUID"; - compatible = "qcom,msm8974-liquid", "qcom,msm8974", "qcom,liquid"; - qcom,msm-id = <126 9 0>, - <185 9 0>, - <186 9 0>; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/msm8974-v1-mtp.dts b/kernel/arch/arm/boot/dts/lte_module-v1/msm8974-v1-mtp.dts deleted file mode 100755 index 8cbcca05a..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/msm8974-v1-mtp.dts +++ /dev/null @@ -1,28 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/dts-v1/; - -/include/ "msm8974-v1.dtsi" -/include/ "msm8974-mtp.dtsi" - -/ { - model = "Qualcomm MSM 8974 MTP"; - compatible = "qcom,msm8974-mtp", "qcom,msm8974", "qcom,mtp"; - qcom,msm-id = <126 8 0>, - <185 8 0>, - <186 8 0>; -}; - -&pm8941_chg { - qcom,charging-disabled; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/msm8974-v1-pm.dtsi b/kernel/arch/arm/boot/dts/lte_module-v1/msm8974-v1-pm.dtsi deleted file mode 100755 index 56a819ecc..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/msm8974-v1-pm.dtsi +++ /dev/null @@ -1,456 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/include/ "skeleton.dtsi" - -&soc { - qcom,spm@f9089000 { - compatible = "qcom,spm-v2"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xf9089000 0x1000>; - qcom,core-id = <0>; - qcom,saw2-ver-reg = <0xfd0>; - qcom,saw2-cfg = <0x01>; - qcom,saw2-avs-ctl = <0>; - qcom,saw2-avs-hysteresis = <0>; - qcom,saw2-avs-limit = <0>; - qcom,saw2-avs-dly= <0>; - qcom,saw2-spm-dly= <0x20000400>; - qcom,saw2-spm-ctl = <0x1>; - qcom,saw2-spm-cmd-wfi = [03 0b 0f]; - qcom,saw2-spm-cmd-ret = [42 1b 00 d0 c0 a0 90 03 d0 98 a2 c0 - 0b 00 42 1b 0f]; - qcom,saw2-spm-cmd-spc = [00 20 80 10 90 a0 b0 03 3b 98 a2 b0 82 - 10 0b 30 06 26 30 0f]; - qcom,saw2-spm-cmd-pc = [00 20 80 10 90 a0 b0 07 3b 98 a2 b0 82 - 10 0b 30 06 26 30 0f]; - }; - - qcom,spm@f9099000 { - compatible = "qcom,spm-v2"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xf9099000 0x1000>; - qcom,core-id = <1>; - qcom,saw2-ver-reg = <0xfd0>; - qcom,saw2-cfg = <0x01>; - qcom,saw2-avs-ctl = <0>; - qcom,saw2-avs-hysteresis = <0>; - qcom,saw2-avs-limit = <0>; - qcom,saw2-avs-dly= <0>; - qcom,saw2-spm-dly= <0x20000400>; - qcom,saw2-spm-ctl = <0x1>; - qcom,saw2-spm-cmd-wfi = [03 0b 0f]; - qcom,saw2-spm-cmd-ret = [42 1b 00 d0 c0 a0 90 03 d0 98 a2 c0 - 0b 00 42 1b 0f]; - qcom,saw2-spm-cmd-spc = [00 20 80 10 90 a0 b0 03 3b 98 a2 b0 82 - 10 0b 30 06 26 30 0f]; - qcom,saw2-spm-cmd-pc = [00 20 80 10 90 a0 b0 07 3b 98 a2 b0 82 - 10 0b 30 06 26 30 0f]; - }; - - qcom,spm@f90a9000 { - compatible = "qcom,spm-v2"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xf90a9000 0x1000>; - qcom,core-id = <2>; - qcom,saw2-ver-reg = <0xfd0>; - qcom,saw2-cfg = <0x01>; - qcom,saw2-avs-ctl = <0>; - qcom,saw2-avs-hysteresis = <0>; - qcom,saw2-avs-limit = <0>; - qcom,saw2-avs-dly= <0>; - qcom,saw2-spm-dly= <0x20000400>; - qcom,saw2-spm-ctl = <0x1>; - qcom,saw2-spm-cmd-wfi = [03 0b 0f]; - qcom,saw2-spm-cmd-ret = [42 1b 00 d0 c0 a0 90 03 d0 98 a2 c0 - 0b 00 42 1b 0f]; - qcom,saw2-spm-cmd-spc = [00 20 80 10 90 a0 b0 03 3b 98 a2 b0 82 - 10 0b 30 06 26 30 0f]; - qcom,saw2-spm-cmd-pc = [00 20 80 10 90 a0 b0 07 3b 98 a2 b0 82 - 10 0b 30 06 26 30 0f]; - }; - - qcom,spm@f90b9000 { - compatible = "qcom,spm-v2"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xf90b9000 0x1000>; - qcom,core-id = <3>; - qcom,saw2-ver-reg = <0xfd0>; - qcom,saw2-cfg = <0x01>; - qcom,saw2-avs-ctl = <0>; - qcom,saw2-avs-hysteresis = <0>; - qcom,saw2-avs-limit = <0>; - qcom,saw2-avs-dly= <0>; - qcom,saw2-spm-dly= <0x20000400>; - qcom,saw2-spm-ctl = <0x1>; - qcom,saw2-spm-cmd-wfi = [03 0b 0f]; - qcom,saw2-spm-cmd-ret = [42 1b 00 d0 c0 a0 90 03 d0 98 a2 c0 - 0b 00 42 1b 0f]; - qcom,saw2-spm-cmd-spc = [00 20 80 10 90 a0 b0 03 3b 98 a2 b0 82 - 10 0b 30 06 26 30 0f]; - qcom,saw2-spm-cmd-pc = [00 20 80 10 90 a0 b0 07 3b 98 a2 b0 82 - 10 0b 30 06 26 30 0f]; - }; - - qcom,spm@f9012000 { - compatible = "qcom,spm-v2"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xf9012000 0x1000>; - qcom,core-id = <0xffff>; /* L2/APCS SAW */ - qcom,saw2-ver-reg = <0xfd0>; - qcom,saw2-cfg = <0x14>; - qcom,saw2-avs-ctl = <0>; - qcom,saw2-avs-hysteresis = <0>; - qcom,saw2-avs-limit = <0>; - qcom,saw2-avs-dly= <0>; - qcom,saw2-spm-dly= <0x20000400>; - qcom,saw2-spm-ctl = <0x1>; - qcom,saw2-pmic-data0 = <0x02030080>; - qcom,saw2-pmic-data1 = <0x00030000>; - qcom,vctl-timeout-us = <50>; - qcom,vctl-port = <0x0>; - qcom,phase-port = <0x1>; - qcom,pfm-port = <0x2>; - qcom,saw2-spm-cmd-ret = [1f 00 20 03 22 00 0f]; - qcom,saw2-spm-cmd-gdhs = [00 20 32 42 07 44 22 50 02 32 50 0f]; - qcom,saw2-spm-cmd-pc = [00 10 32 b0 11 42 07 01 b0 12 44 - 50 02 32 50 0f]; - }; - - qcom,lpm-resources { - compatible = "qcom,lpm-resources"; - #address-cells = <1>; - #size-cells = <0>; - - qcom,lpm-resources@0 { - reg = <0x0>; - qcom,name = "vdd-dig"; - qcom,type = <0x62706d73>; /* "smpb" */ - qcom,id = <0x02>; - qcom,key = <0x6e726f63>; /* "corn" */ - qcom,init-value = <6>; /* Super Turbo */ - }; - - qcom,lpm-resources@1 { - reg = <0x1>; - qcom,name = "vdd-mem"; - qcom,type = <0x62706d73>; /* "smpb" */ - qcom,id = <0x01>; - qcom,key = <0x7675>; /* "uv" */ - qcom,init-value = <1050000>; /* Super Turbo */ - }; - - qcom,lpm-resources@2 { - reg = <0x2>; - qcom,name = "pxo"; - qcom,type = <0x306b6c63>; /* "clk0" */ - qcom,id = <0x00>; - qcom,key = <0x62616e45>; /* "Enab" */ - qcom,init-value = "xo_on"; - }; - - qcom,lpm-resources@3 { - reg = <0x3>; - qcom,name = "l2"; - qcom,local-resource-type; - qcom,init-value = "l2_cache_retention"; - }; - }; - - qcom,lpm-levels { - compatible = "qcom,lpm-levels"; - #address-cells = <1>; - #size-cells = <0>; - - qcom,use-qtimer; - - qcom,lpm-level@0 { - reg = <0x0>; - qcom,mode = "wfi"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_active"; - qcom,vdd-mem-upper-bound = <1050000>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <950000>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <1>; - qcom,ss-power = <784>; - qcom,energy-overhead = <190000>; - qcom,time-overhead = <100>; - }; - - qcom,lpm-level@1 { - reg = <0x1>; - qcom,mode = "retention"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_active"; - qcom,vdd-mem-upper-bound = <1050000>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <950000>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <75>; - qcom,ss-power = <735>; - qcom,energy-overhead = <77341>; - qcom,time-overhead = <105>; - }; - - - qcom,lpm-level@2 { - reg = <0x2>; - qcom,mode = "standalone_pc"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_active"; - qcom,vdd-mem-upper-bound = <1050000>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <950000>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <95>; - qcom,ss-power = <725>; - qcom,energy-overhead = <99500>; - qcom,time-overhead = <130>; - }; - - qcom,lpm-level@3 { - reg = <0x3>; - qcom,mode = "pc"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_gdhs"; - qcom,vdd-mem-upper-bound = <1050000>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <950000>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <2000>; - qcom,ss-power = <138>; - qcom,energy-overhead = <1208400>; - qcom,time-overhead = <3200>; - }; - - qcom,lpm-level@4 { - reg = <0x4>; - qcom,mode = "pc"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_pc"; - qcom,vdd-mem-upper-bound = <1050000>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <950000>; /* SVS SOC */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <3>; /* SVS SOC */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <3000>; - qcom,ss-power = <110>; - qcom,energy-overhead = <1250300>; - qcom,time-overhead = <3500>; - }; - - qcom,lpm-level@5 { - reg = <0x5>; - qcom,mode = "pc"; - qcom,xo = "xo_off"; - qcom,l2 = "l2_cache_gdhs"; - qcom,vdd-mem-upper-bound = <1050000>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <950000>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,latency-us = <3000>; - qcom,ss-power = <68>; - qcom,energy-overhead = <1350200>; - qcom,time-overhead = <4000>; - }; - - qcom,lpm-level@6 { - reg = <0x6>; - qcom,mode = "pc"; - qcom,xo = "xo_off"; - qcom,l2 = "l2_cache_pc"; - qcom,vdd-mem-upper-bound = <1050000>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <950000>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,latency-us = <10300>; - qcom,ss-power = <63>; - qcom,energy-overhead = <2128000>; - qcom,time-overhead = <18200>; - }; - - qcom,lpm-level@7 { - reg = <0x7>; - qcom,mode= "pc"; - qcom,xo = "xo_off"; - qcom,l2 = "l2_cache_pc"; - qcom,vdd-mem-upper-bound = <950000>; /* NORMAL */ - qcom,vdd-mem-lower-bound = <950000>; /* SVS SOC */ - qcom,vdd-dig-upper-bound = <4>; /* NORMAL */ - qcom,vdd-dig-lower-bound = <3>; /* SVS SOC */ - qcom,latency-us = <18000>; - qcom,ss-power = <10>; - qcom,energy-overhead = <3202600>; - qcom,time-overhead = <27000>; - }; - - qcom,lpm-level@8 { - reg = <0x8>; - qcom,mode= "pc"; - qcom,xo = "xo_off"; - qcom,l2 = "l2_cache_pc"; - qcom,vdd-mem-upper-bound = <950000>; /* SVS SOC */ - qcom,vdd-mem-lower-bound = <675000>; /* RETENTION */ - qcom,vdd-dig-upper-bound = <3>; /* SVS SOC */ - qcom,vdd-dig-lower-bound = <1>; /* RETENTION */ - qcom,latency-us = <20000>; - qcom,ss-power = <2>; - qcom,energy-overhead = <4252000>; - qcom,time-overhead = <32000>; - }; - }; - - qcom,pm-boot { - compatible = "qcom,pm-boot"; - qcom,mode = "tz"; - }; - - qcom,mpm@fc4281d0 { - compatible = "qcom,mpm-v2"; - reg = <0xfc4281d0 0x1000>, /* MSM_RPM_MPM_BASE 4K */ - <0xf9011008 0x4>; /* MSM_APCS_GCC_BASE 4K */ - reg-names = "vmpm", "ipc"; - interrupts = <0 171 1>; - - qcom,ipc-bit-offset = <1>; - - qcom,gic-parent = <&intc>; - qcom,gic-map = <2 216>, /* tsens_upper_lower_int */ - <47 165>, /* usb30_hs_phy_irq */ - <50 172>, /* usb1_hs_async_wakeup_irq */ - <53 104>, /* mdss_irq */ - <62 222>, /* ee0_krait_hlos_spmi_periph_irq */ - <0xff 57>, /* mss_to_apps_irq(0) */ - <0xff 58>, /* mss_to_apps_irq(1) */ - <0xff 59>, /* mss_to_apps_irq(2) */ - <0xff 60>, /* mss_to_apps_irq(3) */ - <0xff 173>, /* o_wcss_apss_smd_hi */ - <0xff 174>, /* o_wcss_apss_smd_med */ - <0xff 175>, /* o_wcss_apss_smd_low */ - <0xff 176>, /* o_wcss_apss_smsm_irq */ - <0xff 177>, /* o_wcss_apss_wlan_data_xfer_done */ - <0xff 178>, /* o_wcss_apss_wlan_rx_data_avail */ - <0xff 179>, /* o_wcss_apss_asic_intr - - <0xff 188>, /* lpass_irq_out_apcs(0) */ - <0xff 189>, /* lpass_irq_out_apcs(1) */ - <0xff 190>, /* lpass_irq_out_apcs(2) */ - <0xff 191>, /* lpass_irq_out_apcs(3) */ - <0xff 192>, /* lpass_irq_out_apcs(4) */ - <0xff 193>, /* lpass_irq_out_apcs(5) */ - <0xff 194>, /* lpass_irq_out_apcs(6) */ - <0xff 195>, /* lpass_irq_out_apcs(7) */ - <0xff 196>, /* lpass_irq_out_apcs(8) */ - <0xff 197>, /* lpass_irq_out_apcs(9) */ - <0xff 200>, /* rpm_ipc(4) */ - <0xff 201>, /* rpm_ipc(5) */ - <0xff 202>, /* rpm_ipc(6) */ - <0xff 203>, /* rpm_ipc(7) */ - <0xff 204>, /* rpm_ipc(24) */ - <0xff 205>, /* rpm_ipc(25) */ - <0xff 206>, /* rpm_ipc(26) */ - <0xff 207>, /* rpm_ipc(27) */ - <0xff 240>; /* summary_irq_kpss */ - - qcom,gpio-parent = <&msmgpio>; - qcom,gpio-map = <3 102>, - <4 1 >, - <5 5 >, - <6 9 >, - <7 18>, - <8 20>, - <9 24>, - <10 27>, - <11 28>, - <12 34>, - <13 35>, - <14 37>, - <15 42>, - <16 44>, - <17 46>, - <18 50>, - <19 54>, - <20 59>, - <21 61>, - <22 62>, - <23 64>, - <24 65>, - <25 66>, - <26 67>, - <27 68>, - <28 71>, - <29 72>, - <30 73>, - <31 74>, - <32 75>, - <33 77>, - <34 79>, - <35 80>, - <36 82>, - <37 86>, - <38 92>, - <39 93>, - <40 95>, - <41 144>; - }; - - qcom,pm-8x60@fe805664 { - compatible = "qcom,pm-8x60"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - reg = <0xfe805664 0x40>; - qcom,pc-mode = "tz_l2_int"; - qcom,use-sync-timer; - }; - - qcom,cpu-sleep-status@f9088008 { - compatible = "qcom,cpu-sleep-status"; - reg = <0xf9088008 0x4>; - qcom,cpu-alias-addr = <0x10000>; - qcom,sleep-status-mask= <0x80000>; - }; - - qcom,rpm-log@fc19dc00 { - compatible = "qcom,rpm-log"; - reg = <0xfc19dc00 0x4000>; - qcom,rpm-addr-phys = <0xfc000000>; - qcom,offset-version = <4>; - qcom,offset-page-buffer-addr = <36>; - qcom,offset-log-len = <40>; - qcom,offset-log-len-mask = <44>; - qcom,offset-page-indices = <56>; - }; - - qcom,rpm-stats@fc19dba0 { - compatible = "qcom,rpm-stats"; - reg = <0xfc19dba0 0x1000>; - reg-names = "phys_addr_base"; - qcom,sleep-stats-version = <2>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/msm8974-v1-rumi.dts b/kernel/arch/arm/boot/dts/lte_module-v1/msm8974-v1-rumi.dts deleted file mode 100755 index 85aab17b1..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/msm8974-v1-rumi.dts +++ /dev/null @@ -1,24 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/dts-v1/; - -/include/ "msm8974-v1.dtsi" -/include/ "msm8974-rumi.dtsi" - -/ { - model = "Qualcomm MSM 8974 RUMI"; - compatible = "qcom,msm8974-rumi", "qcom,msm8974", "qcom,rumi"; - qcom,msm-id = <126 15 0>, - <185 15 0>, - <186 15 0>; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/msm8974-v1-sim.dts b/kernel/arch/arm/boot/dts/lte_module-v1/msm8974-v1-sim.dts deleted file mode 100755 index fc9858de7..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/msm8974-v1-sim.dts +++ /dev/null @@ -1,24 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/dts-v1/; - -/include/ "msm8974-v1.dtsi" -/include/ "msm8974-sim.dtsi" - -/ { - model = "Qualcomm MSM 8974 Simulator"; - compatible = "qcom,msm8974-sim", "qcom,msm8974", "qcom,sim"; - qcom,msm-id = <126 16 0>, - <185 16 0>, - <186 16 0>; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/msm8974-v1.dtsi b/kernel/arch/arm/boot/dts/lte_module-v1/msm8974-v1.dtsi deleted file mode 100755 index caec2dc1b..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/msm8974-v1.dtsi +++ /dev/null @@ -1,134 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/* - * As a general rule, only version-specific property overrides should be placed - * inside this file. However, device definitions should be placed inside the - * msm8974.dtsi file. - */ - -/include/ "msm8974.dtsi" -/include/ "msm8974-v1-iommu.dtsi" -/include/ "msm8974-v1-iommu-domains.dtsi" -/include/ "msm8974-v1-pm.dtsi" - -&soc { - android_usb@fc42b0c8 { - compatible = "qcom,android-usb"; - reg = <0xfc42b0c8 0xc8>; - qcom,android-usb-swfi-latency = <1>; - }; - - qcom,msm-imem@fc42b000 { - compatible = "qcom,msm-imem"; - reg = <0xfc42b000 0x1000>; /* Address and size of IMEM */ - }; -}; - -&tsens { - qcom,calibration-less-mode; -}; - -/* I2C clock frequency overrides */ -&i2c_0 { - qcom,i2c-src-freq = <19200000>; -}; - -&i2c_2 { - qcom,i2c-src-freq = <19200000>; -}; - -/* CoreSight */ -&tmc_etr { - qcom,reset-flush-race; -}; - -&stm { - qcom,write-64bit; -}; - -&mdss_mdp { - qcom,mdss-pingpong-off = <0x00021B00 0x00021C00 0x00021D00>; -}; - -&msm_vidc { - qcom,vidc-cp-map = <0x1000000 0x3f000000>; - qcom,vidc-ns-map = <0x40000000 0x40000000>; - qcom,load-freq-tbl = <979200 410000000>, - <783360 410000000>, - <489600 266670000>, - <244800 133330000>; - qcom,reg-presets = <0x80004 0x1>, - <0x80178 0x00001FFF>, - <0x8017c 0x1FFF1FFF>, - <0x800b0 0x10101001>, - <0x800b4 0x10101010>, - <0x800b8 0x10101010>, - <0x800bc 0x00000010>, - <0x800c0 0x1010100f>, - <0x800c4 0x10101010>, - <0x800c8 0x10101010>, - <0x800cc 0x00000010>, - <0x800d0 0x00001010>, - <0x800d4 0x00001010>, - <0x800f0 0x00000030>, - <0x800d8 0x00000707>, - <0x800dc 0x00000707>, - <0x80124 0x00000001>, - <0xE0020 0x5555556>, - <0xE0024 0x0>; - qcom,bus-ports = <1>; - qcom,enc-ocmem-ab-ib = <0 0>, - <138200 1222000>, - <414700 1222000>, - <940000 2444000>, - <1880000 2444000>, - <3008000 3910400>, - <3760000 4888000>; - qcom,dec-ocmem-ab-ib = <0 0>, - <176900 1556640>, - <456200 1556640>, - <864800 1556640>, - <1729600 3113280>, - <2767360 4981248>, - <3459200 6226560>; - qcom,enc-ddr-ab-ib = <0 0>, - <60000 664950>, - <181000 664950>, - <403000 664950>, - <806000 1329900>, - <1289600 2127840>, - <161200 6400000>; - qcom,dec-ddr-ab-ib = <0 0>, - <110000 909000>, - <268000 909000>, - <505000 909000>, - <1010000 1818000>, - <1616000 2908800>, - <2020000 6400000>; - qcom,iommu-groups = <&venus_domain_ns &venus_domain_cp>; - qcom,iommu-group-buffer-types = <0xfff 0x1ff>; - qcom,buffer-type-tz-usage-table = <0x1 0x1>, - <0x1fe 0x2>; -}; - -&sfpb_spinlock { - status = "disable"; -}; - -&ldrex_spinlock { - status = "ok"; -}; - -&usb_otg { - qcom,hsusb-otg-pnoc-errata-fix; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/msm8974-v2-cdp.dts b/kernel/arch/arm/boot/dts/lte_module-v1/msm8974-v2-cdp.dts deleted file mode 100755 index 85d478b73..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/msm8974-v2-cdp.dts +++ /dev/null @@ -1,36 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; - -/include/ "msm8974-v2.dtsi" -/include/ "msm8974-cdp.dtsi" - -/ { - model = "Qualcomm MSM 8974v2 CDP"; - compatible = "qcom,msm8974-cdp", "qcom,msm8974", "qcom,cdp"; - qcom,msm-id = <126 1 0x20000>, - <185 1 0x20000>, - <186 1 0x20000>; -}; - -&usb3 { - interrupt-parent = <&usb3>; - interrupts = <0 1>; - #interrupt-cells = <1>; - interrupt-map-mask = <0x0 0xffffffff>; - interrupt-map = <0x0 0 &intc 0 133 0 - 0x0 1 &spmi_bus 0x0 0x0 0x9 0x0>; - interrupt-names = "hs_phy_irq", "pmic_id_irq"; - - qcom,misc-ref = <&pm8941_misc>; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/msm8974-v2-fluid.dts b/kernel/arch/arm/boot/dts/lte_module-v1/msm8974-v2-fluid.dts deleted file mode 100755 index d83d13048..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/msm8974-v2-fluid.dts +++ /dev/null @@ -1,36 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; - -/include/ "msm8974-v2.dtsi" -/include/ "msm8974-fluid.dtsi" - -/ { - model = "Qualcomm MSM 8974v2 FLUID"; - compatible = "qcom,msm8974-fluid", "qcom,msm8974", "qcom,fluid"; - qcom,msm-id = <126 3 0x20000>, - <185 3 0x20000>, - <186 3 0x20000>; -}; - -&usb3 { - interrupt-parent = <&usb3>; - interrupts = <0 1>; - #interrupt-cells = <1>; - interrupt-map-mask = <0x0 0xffffffff>; - interrupt-map = <0x0 0 &intc 0 133 0 - 0x0 1 &spmi_bus 0x0 0x0 0x9 0x0>; - interrupt-names = "hs_phy_irq", "pmic_id_irq"; - - qcom,misc-ref = <&pm8941_misc>; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/msm8974-v2-iommu-domains.dtsi b/kernel/arch/arm/boot/dts/lte_module-v1/msm8974-v2-iommu-domains.dtsi deleted file mode 100755 index 01c94d0ec..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/msm8974-v2-iommu-domains.dtsi +++ /dev/null @@ -1,45 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -&soc { - qcom,iommu-domains { - compatible = "qcom,iommu-domains"; - - venus_domain_ns: qcom,iommu-domain1 { - label = "venus_ns"; - qcom,iommu-contexts = <&venus_ns>; - qcom,virtual-addr-pool = <0x5dc00000 0x7f000000 - 0xdcc00000 0x1000000>; - }; - - venus_domain_sec_bitstream: qcom,iommu-domain2 { - label = "venus_sec_bitstream"; - qcom,iommu-contexts = <&venus_sec_bitstream>; - qcom,virtual-addr-pool = <0x4b000000 0x12c00000>; - qcom,secure-domain; - }; - - venus_domain_sec_pixel: qcom,iommu-domain3 { - label = "venus_sec_pixel"; - qcom,iommu-contexts = <&venus_sec_pixel>; - qcom,virtual-addr-pool = <0x25800000 0x25800000>; - qcom,secure-domain; - }; - - venus_domain_sec_non_pixel: qcom,iommu-domain4 { - label = "venus_sec_non_pixel"; - qcom,iommu-contexts = <&venus_sec_non_pixel>; - qcom,virtual-addr-pool = <0x1000000 0x24800000>; - qcom,secure-domain; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/msm8974-v2-iommu.dtsi b/kernel/arch/arm/boot/dts/lte_module-v1/msm8974-v2-iommu.dtsi deleted file mode 100755 index 03f7e807e..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/msm8974-v2-iommu.dtsi +++ /dev/null @@ -1,256 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/include/ "msm-iommu-v1.dtsi" - -&venus_iommu { - status = "ok"; - vdd-supply = <&gdsc_venus>; - qcom,iommu-enable-halt; - - qcom,iommu-bfb-regs = <0x204c - 0x2050 - 0x2514 - 0x2540 - 0x256c - 0x20ac - 0x215c - 0x220c - 0x2314 - 0x2394 - 0x2414 - 0x2008 - 0x200c - 0x2010 - 0x2014 - 0x2018 - 0x201c - 0x2020 - 0x2024 - 0x2028 - 0x202c - 0x2030 - 0x2034 - 0x2038>; - - qcom,iommu-bfb-data = <0xFFFFFFFF - 0xFFFFFFFF - 0x00000004 - 0x00000008 - 0x00000000 - 0x00013205 - 0x00004000 - 0x00014020 - 0x0 - 0x94 - 0x114 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0>; - - venus_ns: qcom,iommu-ctx@fdc8c000 { - qcom,iommu-ctx-sids = <0 1 2 3 4 5 7>; - }; - - venus_sec_bitstream: qcom,iommu-ctx@fdc8d000 { - qcom,iommu-ctx-sids = <0x80 0x81 0x82 0x83 0x84>; - label = "venus_sec_bitstream"; - }; - - venus_sec_pixel: qcom,iommu-ctx@fdc8f000 { - compatible = "qcom,msm-smmu-v1-ctx"; - reg = <0xfdc8f000 0x1000>; - interrupts = <0 42 0>, <0 43 0>; - qcom,iommu-ctx-sids = <0x85>; - label = "venus_sec_pixel"; - qcom,secure-context; - }; - - venus_sec_non_pixel: qcom,iommu-ctx@fdc90000 { - compatible = "qcom,msm-smmu-v1-ctx"; - reg = <0xfdc90000 0x1000>; - interrupts = <0 42 0>, <0 43 0>; - qcom,iommu-ctx-sids = <0x87 0xA0>; - label = "venus_sec_non_pixel"; - qcom,secure-context; - }; -}; - -&jpeg_iommu { - status = "ok"; - vdd-supply = <&gdsc_jpeg>; - qcom,iommu-enable-halt; - - qcom,iommu-bfb-regs = <0x204c - 0x2050 - 0x2514 - 0x2540 - 0x256c - 0x2314 - 0x2394 - 0x2414 - 0x20ac - 0x215c - 0x220c - 0x2008 - 0x200c - 0x2010 - 0x2014>; - - qcom,iommu-bfb-data = <0x3FFF - 0x00000000 - 0x4 - 0x4 - 0x0 - 0x0 - 0x10 - 0x50 - 0x0 - 0x00002804 - 0x00009614 - 0x0 - 0x0 - 0x0 - 0x0>; -}; - -&mdp_iommu { - status = "ok"; - vdd-supply = <&gdsc_mdss>; - qcom,iommu-enable-halt; - - qcom,iommu-bfb-regs = <0x204c - 0x2050 - 0x2514 - 0x2540 - 0x256c - 0x20ac - 0x215c - 0x220c - 0x2314 - 0x2394 - 0x2414 - 0x2008 - 0x200c - 0x2010 - 0x2014 - 0x2018 - 0x201c - 0x2020>; - - qcom,iommu-bfb-data = <0xFFFFF - 0x00000000 - 0x00000004 - 0x00000010 - 0x00000000 - 0x00006800 - 0x00006221 - 0x00016231 - 0x0 - 0x34 - 0x74 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0>; -}; - -&kgsl_iommu { - status = "ok"; - vdd-supply = <&gdsc_oxili_cx>; - qcom,alt-vdd-supply = <&gdsc_oxili_gx>; - qcom,iommu-enable-halt; - qcom,needs-alt-core-clk; - - qcom,iommu-bfb-regs = <0x204c - 0x2050 - 0x2514 - 0x2540 - 0x256c - 0x20ac - 0x215c - 0x220c - 0x2314 - 0x2394 - 0x2414 - 0x2008>; - - qcom,iommu-bfb-data = <0x00000003 - 0x0 - 0x00000004 - 0x00000010 - 0x00000000 - 0x00000000 - 0x00000000 - 0x00000020 - 0x0 - 0x1 - 0x81 - 0x0>; -}; - -&vfe_iommu { - status = "ok"; - vdd-supply = <&gdsc_vfe>; - qcom,iommu-enable-halt; - - qcom,iommu-bfb-regs = <0x204c - 0x2050 - 0x2514 - 0x2540 - 0x256c - 0x2314 - 0x2394 - 0x2414 - 0x20ac - 0x215c - 0x220c - 0x2008 - 0x200c - 0x2010 - 0x2014 - 0x2018 - 0x201c - 0x2020>; - - qcom,iommu-bfb-data = <0xffffffff - 0x00000000 - 0x4 - 0x8 - 0x0 - 0x0 - 0x20 - 0x78 - 0x0 - 0x00003c08 - 0x0000b41e - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0>; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/msm8974-v2-liquid.dts b/kernel/arch/arm/boot/dts/lte_module-v1/msm8974-v2-liquid.dts deleted file mode 100755 index 53983dc1c..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/msm8974-v2-liquid.dts +++ /dev/null @@ -1,36 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; - -/include/ "msm8974-v2.dtsi" -/include/ "msm8974-liquid.dtsi" - -/ { - model = "Qualcomm MSM 8974v2 LIQUID"; - compatible = "qcom,msm8974-liquid", "qcom,msm8974", "qcom,liquid"; - qcom,msm-id = <126 9 0x20000>, - <185 9 0x20000>, - <186 9 0x20000>; -}; - -&usb3 { - interrupt-parent = <&usb3>; - interrupts = <0 1>; - #interrupt-cells = <1>; - interrupt-map-mask = <0x0 0xffffffff>; - interrupt-map = <0x0 0 &intc 0 133 0 - 0x0 1 &spmi_bus 0x0 0x0 0x9 0x0>; - interrupt-names = "hs_phy_irq", "pmic_id_irq"; - - qcom,misc-ref = <&pm8941_misc>; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/msm8974-v2-mtp.dts b/kernel/arch/arm/boot/dts/lte_module-v1/msm8974-v2-mtp.dts deleted file mode 100755 index 792a78cbd..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/msm8974-v2-mtp.dts +++ /dev/null @@ -1,40 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; - -/include/ "msm8974-v2.dtsi" -/include/ "msm8974-mtp.dtsi" - -/ { - model = "Qualcomm MSM 8974v2 MTP"; - compatible = "qcom,msm8974-mtp", "qcom,msm8974", "qcom,mtp"; - qcom,msm-id = <126 8 0x20000>, - <185 8 0x20000>, - <186 8 0x20000>; -}; - -&usb3 { - interrupt-parent = <&usb3>; - interrupts = <0 1>; - #interrupt-cells = <1>; - interrupt-map-mask = <0x0 0xffffffff>; - interrupt-map = <0x0 0 &intc 0 133 0 - 0x0 1 &spmi_bus 0x0 0x0 0x9 0x0>; - interrupt-names = "hs_phy_irq", "pmic_id_irq"; - - qcom,misc-ref = <&pm8941_misc>; -}; - -&pm8941_chg { - qcom,bpd-detection = "bpd_thm"; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/msm8974-v2-pm.dtsi b/kernel/arch/arm/boot/dts/lte_module-v1/msm8974-v2-pm.dtsi deleted file mode 100755 index 8a46724ae..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/msm8974-v2-pm.dtsi +++ /dev/null @@ -1,452 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/include/ "skeleton.dtsi" - -&soc { - qcom,spm@f9089000 { - compatible = "qcom,spm-v2"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xf9089000 0x1000>; - qcom,core-id = <0>; - qcom,saw2-ver-reg = <0xfd0>; - qcom,saw2-cfg = <0x01>; - qcom,saw2-avs-ctl = <0>; - qcom,saw2-avs-hysteresis = <0>; - qcom,saw2-avs-limit = <0>; - qcom,saw2-avs-dly= <0>; - qcom,saw2-spm-dly= <0x3C102800>; - qcom,saw2-spm-ctl = <0x1>; - qcom,saw2-spm-cmd-wfi = [03 0b 0f]; - qcom,saw2-spm-cmd-ret = [42 1b 00 d0 c0 a0 90 03 d0 98 a2 c0 - 0b 00 42 1b 0f]; - qcom,saw2-spm-cmd-spc = [00 20 80 10 90 a0 b0 03 3b 98 a2 b0 82 - 10 0b 30 06 26 30 0f]; - qcom,saw2-spm-cmd-pc = [00 20 80 10 90 a0 b0 07 3b 98 a2 b0 82 - 10 0b 30 06 26 30 0f]; - }; - - qcom,spm@f9099000 { - compatible = "qcom,spm-v2"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xf9099000 0x1000>; - qcom,core-id = <1>; - qcom,saw2-ver-reg = <0xfd0>; - qcom,saw2-cfg = <0x01>; - qcom,saw2-avs-ctl = <0>; - qcom,saw2-avs-hysteresis = <0>; - qcom,saw2-avs-limit = <0>; - qcom,saw2-avs-dly= <0>; - qcom,saw2-spm-dly= <0x3C102800>; - qcom,saw2-spm-ctl = <0x1>; - qcom,saw2-spm-cmd-wfi = [03 0b 0f]; - qcom,saw2-spm-cmd-ret = [42 1b 00 d0 c0 a0 90 03 d0 98 a2 c0 - 0b 00 42 1b 0f]; - qcom,saw2-spm-cmd-spc = [00 20 80 10 90 a0 b0 03 3b 98 a2 b0 82 - 10 0b 30 06 26 30 0f]; - qcom,saw2-spm-cmd-pc = [00 20 80 10 90 a0 b0 07 3b 98 a2 b0 82 - 10 0b 30 06 26 30 0f]; - }; - - qcom,spm@f90a9000 { - compatible = "qcom,spm-v2"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xf90a9000 0x1000>; - qcom,core-id = <2>; - qcom,saw2-ver-reg = <0xfd0>; - qcom,saw2-cfg = <0x01>; - qcom,saw2-avs-ctl = <0>; - qcom,saw2-avs-hysteresis = <0>; - qcom,saw2-avs-limit = <0>; - qcom,saw2-avs-dly= <0>; - qcom,saw2-spm-dly= <0x3C102800>; - qcom,saw2-spm-ctl = <0x1>; - qcom,saw2-spm-cmd-wfi = [03 0b 0f]; - qcom,saw2-spm-cmd-ret = [42 1b 00 d0 c0 a0 90 03 d0 98 a2 c0 - 0b 00 42 1b 0f]; - qcom,saw2-spm-cmd-spc = [00 20 80 10 90 a0 b0 03 3b 98 a2 b0 82 - 10 0b 30 06 26 30 0f]; - qcom,saw2-spm-cmd-pc = [00 20 80 10 90 a0 b0 07 3b 98 a2 b0 82 - 10 0b 30 06 26 30 0f]; - }; - - qcom,spm@f90b9000 { - compatible = "qcom,spm-v2"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xf90b9000 0x1000>; - qcom,core-id = <3>; - qcom,saw2-ver-reg = <0xfd0>; - qcom,saw2-cfg = <0x01>; - qcom,saw2-avs-ctl = <0>; - qcom,saw2-avs-hysteresis = <0>; - qcom,saw2-avs-limit = <0>; - qcom,saw2-avs-dly= <0>; - qcom,saw2-spm-dly= <0x3C102800>; - qcom,saw2-spm-ctl = <0x1>; - qcom,saw2-spm-cmd-wfi = [03 0b 0f]; - qcom,saw2-spm-cmd-ret = [42 1b 00 d0 c0 a0 90 03 d0 98 a2 c0 - 0b 00 42 1b 0f]; - qcom,saw2-spm-cmd-spc = [00 20 80 10 90 a0 b0 03 3b 98 a2 b0 82 - 10 0b 30 06 26 30 0f]; - qcom,saw2-spm-cmd-pc = [00 20 80 10 90 a0 b0 07 3b 98 a2 b0 82 - 10 0b 30 06 26 30 0f]; - }; - - qcom,spm@f9012000 { - compatible = "qcom,spm-v2"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xf9012000 0x1000>; - qcom,core-id = <0xffff>; /* L2/APCS SAW */ - qcom,saw2-ver-reg = <0xfd0>; - qcom,saw2-cfg = <0x14>; - qcom,saw2-avs-ctl = <0>; - qcom,saw2-avs-hysteresis = <0>; - qcom,saw2-avs-limit = <0>; - qcom,saw2-avs-dly= <0>; - qcom,saw2-spm-dly= <0x3C102800>; - qcom,saw2-spm-ctl = <0x1>; - qcom,saw2-pmic-data0 = <0x02030080>; - qcom,saw2-pmic-data1 = <0x00030000>; - qcom,vctl-timeout-us = <50>; - qcom,vctl-port = <0x0>; - qcom,phase-port = <0x1>; - qcom,pfm-port = <0x2>; - qcom,saw2-spm-cmd-ret = [1f 00 03 00 0f]; - qcom,saw2-spm-cmd-gdhs = [00 32 42 07 44 50 02 32 50 0f]; - qcom,saw2-spm-cmd-pc = [00 32 b0 11 42 07 01 b0 44 - 50 02 32 50 0f]; - }; - - qcom,lpm-resources { - compatible = "qcom,lpm-resources"; - #address-cells = <1>; - #size-cells = <0>; - - qcom,lpm-resources@0 { - reg = <0x0>; - qcom,name = "vdd-dig"; - qcom,type = <0x62706d73>; /* "smpb" */ - qcom,id = <0x02>; - qcom,key = <0x6e726f63>; /* "corn" */ - qcom,init-value = <6>; /* Super Turbo */ - }; - - qcom,lpm-resources@1 { - reg = <0x1>; - qcom,name = "vdd-mem"; - qcom,type = <0x62706d73>; /* "smpb" */ - qcom,id = <0x01>; - qcom,key = <0x7675>; /* "uv" */ - qcom,init-value = <1050000>; /* Super Turbo */ - }; - - qcom,lpm-resources@2 { - reg = <0x2>; - qcom,name = "pxo"; - qcom,type = <0x306b6c63>; /* "clk0" */ - qcom,id = <0x00>; - qcom,key = <0x62616e45>; /* "Enab" */ - qcom,init-value = "xo_on"; - }; - - qcom,lpm-resources@3 { - reg = <0x3>; - qcom,name = "l2"; - qcom,local-resource-type; - qcom,init-value = "l2_cache_retention"; - }; - }; - - qcom,lpm-levels { - compatible = "qcom,lpm-levels"; - #address-cells = <1>; - #size-cells = <0>; - - qcom,use-qtimer; - - qcom,lpm-level@0 { - reg = <0x0>; - qcom,mode = "wfi"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_active"; - qcom,vdd-mem-upper-bound = <1050000>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <950000>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <1>; - qcom,ss-power = <715>; - qcom,energy-overhead = <17700>; - qcom,time-overhead = <2>; - }; - - qcom,lpm-level@1 { - reg = <0x1>; - qcom,mode = "retention"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_active"; - qcom,vdd-mem-upper-bound = <1050000>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <950000>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <35>; - qcom,ss-power = <542>; - qcom,energy-overhead = <34920>; - qcom,time-overhead = <40>; - }; - - - qcom,lpm-level@2 { - reg = <0x2>; - qcom,mode = "standalone_pc"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_active"; - qcom,vdd-mem-upper-bound = <1050000>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <950000>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <300>; - qcom,ss-power = <476>; - qcom,energy-overhead = <225300>; - qcom,time-overhead = <350>; - }; - - qcom,lpm-level@3 { - reg = <0x3>; - qcom,mode = "pc"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_gdhs"; - qcom,vdd-mem-upper-bound = <1050000>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <950000>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <2817>; - qcom,ss-power = <163>; - qcom,energy-overhead = <1577736>; - qcom,time-overhead = <5067>; - }; - - qcom,lpm-level@4 { - reg = <0x4>; - qcom,mode = "pc"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_pc"; - qcom,vdd-mem-upper-bound = <1050000>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <950000>; /* SVS SOC */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <3>; /* SVS SOC */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <3922>; - qcom,ss-power = <83>; - qcom,energy-overhead = <2274420>; - qcom,time-overhead = <6605>; - }; - - qcom,lpm-level@5 { - reg = <0x5>; - qcom,mode = "pc"; - qcom,xo = "xo_off"; - qcom,l2 = "l2_cache_pc"; - qcom,vdd-mem-upper-bound = <1050000>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <950000>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,latency-us = <4922>; - qcom,ss-power = <68>; - qcom,energy-overhead = <2568180>; - qcom,time-overhead = <8812>; - }; - - qcom,lpm-level@6 { - reg = <0x6>; - qcom,mode= "pc"; - qcom,xo = "xo_off"; - qcom,l2 = "l2_cache_pc"; - qcom,vdd-mem-upper-bound = <950000>; /* NORMAL */ - qcom,vdd-mem-lower-bound = <950000>; /* SVS SOC */ - qcom,vdd-dig-upper-bound = <4>; /* NORMAL */ - qcom,vdd-dig-lower-bound = <3>; /* SVS SOC */ - qcom,latency-us = <5890>; - qcom,ss-power = <60>; - qcom,energy-overhead = <2675900>; - qcom,time-overhead = <10140>; - }; - - qcom,lpm-level@7 { - reg = <0x7>; - qcom,mode= "pc"; - qcom,xo = "xo_off"; - qcom,l2 = "l2_cache_pc"; - qcom,vdd-mem-upper-bound = <950000>; /* SVS SOC */ - qcom,vdd-mem-lower-bound = <675000>; /* RETENTION */ - qcom,vdd-dig-upper-bound = <3>; /* SVS SOC */ - qcom,vdd-dig-lower-bound = <1>; /* RETENTION */ - qcom,latency-us = <8500>; - qcom,ss-power = <18>; - qcom,energy-overhead = <3286600>; - qcom,time-overhead = <15760>; - }; - }; - - qcom,pm-boot { - compatible = "qcom,pm-boot"; - qcom,mode = "tz"; - }; - - qcom,mpm@fc4281d0 { - compatible = "qcom,mpm-v2"; - reg = <0xfc4281d0 0x1000>, /* MSM_RPM_MPM_BASE 4K */ - <0xf9011008 0x4>; /* MSM_APCS_GCC_BASE 4K */ - reg-names = "vmpm", "ipc"; - interrupts = <0 171 1>; - - qcom,ipc-bit-offset = <1>; - - qcom,gic-parent = <&intc>; - qcom,gic-map = <2 216>, /* tsens_upper_lower_int */ - <47 165>, /* usb30_hs_phy_irq */ - <50 172>, /* usb1_hs_async_wakeup_irq */ - <53 104>, /* mdss_irq */ - <62 222>, /* ee0_krait_hlos_spmi_periph_irq */ - <0xff 57>, /* mss_to_apps_irq(0) */ - <0xff 58>, /* mss_to_apps_irq(1) */ - <0xff 59>, /* mss_to_apps_irq(2) */ - <0xff 60>, /* mss_to_apps_irq(3) */ - <0xff 173>, /* o_wcss_apss_smd_hi */ - <0xff 174>, /* o_wcss_apss_smd_med */ - <0xff 175>, /* o_wcss_apss_smd_low */ - <0xff 176>, /* o_wcss_apss_smsm_irq */ - <0xff 177>, /* o_wcss_apss_wlan_data_xfer_done */ - <0xff 178>, /* o_wcss_apss_wlan_rx_data_avail */ - <0xff 179>, /* o_wcss_apss_asic_intr - - <0xff 188>, /* lpass_irq_out_apcs(0) */ - <0xff 189>, /* lpass_irq_out_apcs(1) */ - <0xff 190>, /* lpass_irq_out_apcs(2) */ - <0xff 191>, /* lpass_irq_out_apcs(3) */ - <0xff 192>, /* lpass_irq_out_apcs(4) */ - <0xff 193>, /* lpass_irq_out_apcs(5) */ - <0xff 194>, /* lpass_irq_out_apcs(6) */ - <0xff 195>, /* lpass_irq_out_apcs(7) */ - <0xff 196>, /* lpass_irq_out_apcs(8) */ - <0xff 197>, /* lpass_irq_out_apcs(9) */ - <0xff 200>, /* rpm_ipc(4) */ - <0xff 201>, /* rpm_ipc(5) */ - <0xff 202>, /* rpm_ipc(6) */ - <0xff 203>, /* rpm_ipc(7) */ - <0xff 204>, /* rpm_ipc(24) */ - <0xff 205>, /* rpm_ipc(25) */ - <0xff 206>, /* rpm_ipc(26) */ - <0xff 207>, /* rpm_ipc(27) */ - <0xff 240>; /* summary_irq_kpss */ - - qcom,gpio-parent = <&msmgpio>; - qcom,gpio-map = <3 102>, - <4 1 >, - <5 5 >, - <6 9 >, - <7 18>, - <8 20>, - <9 24>, - <10 27>, - <11 28>, - <12 34>, - <13 35>, - <14 37>, - <15 42>, - <16 44>, - <17 46>, - <18 50>, - <19 54>, - <20 59>, - <21 61>, - <22 62>, - <23 64>, - <24 65>, - <25 66>, - <26 67>, - <27 68>, - <28 71>, - <29 72>, - <30 73>, - <31 74>, - <32 75>, - <33 77>, - <34 79>, - <35 80>, - <36 82>, - <37 86>, - <38 92>, - <39 93>, - <40 95>, - <41 144>; - }; - - qcom,pm-8x60@fe805664 { - compatible = "qcom,pm-8x60"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - reg = <0xfe805664 0x40>; - qcom,pc-mode = "tz_l2_int"; - qcom,use-sync-timer; - - qcom,pm-snoc-client { - compatible = "qcom,pm-snoc-client"; - qcom,msm-bus,name = "ocimem_snoc"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,active-only; - qcom,msm-bus,vectors-KBps = - <54 585 0 0>, - <54 585 0 800000>; - }; - }; - - qcom,cpu-sleep-status@f9088008{ - compatible = "qcom,cpu-sleep-status"; - reg = <0xf9088008 0x100>; - qcom,cpu-alias-addr = <0x10000>; - qcom,sleep-status-mask= <0x80000>; - }; - - qcom,rpm-log@fc19dc00 { - compatible = "qcom,rpm-log"; - reg = <0xfc19dc00 0x4000>; - qcom,rpm-addr-phys = <0xfc000000>; - qcom,offset-version = <4>; - qcom,offset-page-buffer-addr = <36>; - qcom,offset-log-len = <40>; - qcom,offset-log-len-mask = <44>; - qcom,offset-page-indices = <56>; - }; - - qcom,rpm-stats@fc19dba0 { - compatible = "qcom,rpm-stats"; - reg = <0xfc19dba0 0x1000>; - reg-names = "phys_addr_base"; - qcom,sleep-stats-version = <2>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/msm8974-v2.dtsi b/kernel/arch/arm/boot/dts/lte_module-v1/msm8974-v2.dtsi deleted file mode 100755 index 96e78ac28..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/msm8974-v2.dtsi +++ /dev/null @@ -1,138 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/* - * As a general rule, only version-specific property overrides should be placed - * inside this file. However, device definitions should be placed inside the - * msm8974.dtsi file. - */ - -/include/ "msm8974.dtsi" -/include/ "msm8974-v2-iommu.dtsi" -/include/ "msm8974-v2-iommu-domains.dtsi" -/include/ "msm8974-v2-pm.dtsi" - -&soc { - android_usb@fe8050c8 { - compatible = "qcom,android-usb"; - reg = <0xfe8050c8 0xc8>; - qcom,android-usb-swfi-latency = <1>; - }; - - qcom,msm-imem@fe805000 { - compatible = "qcom,msm-imem"; - reg = <0xfe805000 0x1000>; /* Address and size of IMEM */ - }; -}; - -/* GPU overrides */ -&msm_gpu { - /* Updated chip ID */ - qcom,chipid = <0x03030001>; - - /* Updated bus bandwidth requirements */ - qcom,msm-bus,vectors-KBps = - /* Off */ - <26 512 0 0>, <89 604 0 0>, - /* SVS */ - <26 512 0 2400000>, <89 604 0 3000000>, - /* Nominal / SVS */ - <26 512 0 4656000>, <89 604 0 3000000>, - /* Nominal */ - <26 512 0 4656000>, <89 604 0 5120000>, - /* Turbo / Nominal */ - <26 512 0 7464000>, <89 604 0 5120000>, - /* Turbo */ - <26 512 0 7464000>, <89 604 0 6400000>; -}; - -&mdss_mdp { - qcom,vbif-settings = <0x0004 0x00000001>; - - qcom,mdss-wb-off = <0x00011100 0x00011500 - 0x00011900 0x00011D00 0x00012100>; - qcom,mdss-intf-off = <0x00012500 0x00012700 - 0x00012900 0x00012b00>; - qcom,mdss-pingpong-off = <0x00012D00 0x00012E00 0x00012F00>; - qcom,mdss-has-bwc; - qcom,mdss-has-decimation; - qcom,mdss-ad-off = <0x0013100 0x00013300>; -}; - -&mdss_hdmi_tx { - reg = <0xfd922100 0x370>, - <0xfd922500 0x7C>, - <0xfc4b8000 0x60F0>; - reg-names = "core_physical", "phy_physical", "qfprom_physical"; -}; - -&msm_vidc { - qcom,vidc-ns-map = <0x40000000 0x40000000>; - qcom,load-freq-tbl = <979200 465000000>, - <783360 465000000>, - <489600 266670000>, - <244800 133330000>; - qcom,reg-presets = <0x80004 0x1>, - <0x80070 0x11FFF>, - <0x80074 0xA4>, - <0x800A8 0x1FFF>, - <0x80124 0x3>, - <0xE0020 0x5555556>, - <0xE0024 0x0>; - qcom,bus-ports = <1>; - qcom,enc-ocmem-ab-ib = <0 0>, - <138000 1034000>, - <414000 1034000>, - <940000 1034000>, - <1880000 2068000>, - <3008000 3309000>, - <3760000 4136000>, - <4468000 2457000>; - qcom,dec-ocmem-ab-ib = <0 0>, - <176000 519000>, - <456000 519000>, - <864000 519000>, - <1728000 1038000>, - <2766000 1661000>, - <3456000 2076000>, - <3662000 2198000>; - qcom,enc-ddr-ab-ib = <0 0>, - <120000 302000>, - <364000 302000>, - <804000 302000>, - <1608000 604000>, - <2576000 967000>, - <4680000 1404000>, - <49880000 1496000>; - qcom,dec-ddr-ab-ib = <0 0>, - <208000 303000>, - <536000 303000>, - <1012000 303000>, - <2024000 606000>, - <3240000 970000>, - <4048000 1212000>, - <4264000 1279000>; - qcom,iommu-groups = <&venus_domain_ns &venus_domain_sec_bitstream - &venus_domain_sec_pixel &venus_domain_sec_non_pixel>; - qcom,iommu-group-buffer-types = <0xfff 0x91 0x42 0x120>; - qcom,buffer-type-tz-usage-table = <0x91 0x1>, - <0x42 0x2>, - <0x120 0x3>; -}; - -&krait_pdn { - qcom,use-phase-switching; -}; - -&tspp { - vdd_cx-supply = <&pm8841_s2_corner>; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/msm8974.dtsi b/kernel/arch/arm/boot/dts/lte_module-v1/msm8974.dtsi deleted file mode 100755 index 6f164912e..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/msm8974.dtsi +++ /dev/null @@ -1,1745 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/include/ "skeleton.dtsi" - -/ { - model = "Qualcomm MSM 8974"; - compatible = "qcom,msm8974"; - interrupt-parent = <&intc>; - - aliases { - spi0 = &spi_0; - spi7 = &spi_7; - sdhc1 = &sdhc_1; /* SDC1 eMMC slot */ - sdhc2 = &sdhc_2; /* SDC2 SD card slot */ - sdhc3 = &sdhc_3; /* SDC3 SDIO slot */ - sdhc4 = &sdhc_4; /* SDC4 SDIO slot */ - - /* smdtty devices */ - smd1 = &smdtty_apps_fm; - smd2 = &smdtty_apps_riva_bt_acl; - smd3 = &smdtty_apps_riva_bt_cmd; - smd4 = &smdtty_mbalbridge; - smd5 = &smdtty_apps_riva_ant_cmd; - smd6 = &smdtty_apps_riva_ant_data; - smd7 = &smdtty_data1; - smd11 = &smdtty_data11; - smd21 = &smdtty_data21; - smd27 = &smdtty_gps_nmea; - smd36 = &smdtty_loopback; - }; - - cpus { - #size-cells = <0>; - #address-cells = <1>; - - CPU0: cpu@0 { - device_type = "cpu"; - compatible = "qcom,krait"; - reg = <0x0>; - }; - - CPU1: cpu@1 { - device_type = "cpu"; - compatible = "qcom,krait"; - reg = <0x1>; - }; - - CPU2: cpu@2 { - device_type = "cpu"; - compatible = "qcom,krait"; - reg = <0x2>; - }; - - CPU3: cpu@3 { - device_type = "cpu"; - compatible = "qcom,krait"; - reg = <0x3>; - }; - }; - - memory { - secure_mem: secure_region { - linux,contiguous-region; - reg = <0 0xFC00000>; - label = "secure_mem"; - }; - - adsp_mem: adsp_region { - linux,contiguous-region; - reg = <0 0x2F00000>; - label = "adsp_mem"; - }; - - qsecom_mem: qsecom_region { - linux,contiguous-region; - reg = <0 0x1100000>; - label = "qseecom_mem"; - }; - - }; - - soc: soc { }; -}; - -/include/ "msm8974-camera.dtsi" -/include/ "msm8974-coresight.dtsi" -/include/ "msm-gdsc.dtsi" -/include/ "msm8974-ion.dtsi" -/include/ "msm8974-gpu.dtsi" -/include/ "msm8974-mdss.dtsi" -/include/ "msm8974-smp2p.dtsi" -/include/ "msm8974-bus.dtsi" - -&soc { - #address-cells = <1>; - #size-cells = <1>; - ranges; - - intc: interrupt-controller@F9000000 { - compatible = "qcom,msm-qgic2"; - interrupt-controller; - #interrupt-cells = <3>; - reg = <0xF9000000 0x1000>, - <0xF9002000 0x1000>; - }; - - msmgpio: gpio@fd510000 { - compatible = "qcom,msm-gpio"; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - reg = <0xfd510000 0x4000>; - ngpio = <146>; - interrupts = <0 208 0>; - qcom,direct-connect-irqs = <8>; - }; - - wcd9xxx_intc: wcd9xxx-irq { - compatible = "qcom,wcd9xxx-irq"; - interrupt-controller; - #interrupt-cells = <1>; - interrupt-parent = <&msmgpio>; - interrupts = <72 0>; - interrupt-names = "cdc-int"; - }; - - timer { - compatible = "arm,armv7-timer"; - interrupts = <1 2 0 1 3 0>; - clock-frequency = <19200000>; - }; - - 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 8 0x4>, - <0 7 0x4>; - reg = <0xf9021000 0x1000>, - <0xf9022000 0x1000>; - }; - - frame@f9023000 { - frame-number = <1>; - interrupts = <0 9 0x4>; - reg = <0xf9023000 0x1000>; - status = "disabled"; - }; - - frame@f9024000 { - frame-number = <2>; - interrupts = <0 10 0x4>; - reg = <0xf9024000 0x1000>; - status = "disabled"; - }; - - frame@f9025000 { - frame-number = <3>; - interrupts = <0 11 0x4>; - reg = <0xf9025000 0x1000>; - status = "disabled"; - }; - - frame@f9026000 { - frame-number = <4>; - interrupts = <0 12 0x4>; - reg = <0xf9026000 0x1000>; - status = "disabled"; - }; - - frame@f9027000 { - frame-number = <5>; - interrupts = <0 13 0x4>; - reg = <0xf9027000 0x1000>; - status = "disabled"; - }; - - frame@f9028000 { - frame-number = <6>; - interrupts = <0 14 0x4>; - reg = <0xf9028000 0x1000>; - status = "disabled"; - }; - }; - - - qcom,mpm2-sleep-counter@fc4a3000 { - compatible = "qcom,mpm2-sleep-counter"; - reg = <0xfc4a3000 0x1000>; - clock-frequency = <32768>; - }; - - msm_vidc: qcom,vidc@fdc00000 { - compatible = "qcom,msm-vidc"; - reg = <0xfdc00000 0xff000>; - interrupts = <0 44 0>; - qcom,hfi = "venus"; - qcom,has-ocmem; - qcom,max-hw-load = <1224450>; /* 4k @ 30 + 1080p @ 30*/ - }; - - qcom,vidc { - compatible = "qcom,msm-vidc"; - qcom,hfi = "q6"; - qcom,max-hw-load = <108000>; /* 720p @ 30 */ - }; - - qcom,wfd { - compatible = "qcom,msm-wfd"; - }; - - serial@f991f000 { - compatible = "qcom,msm-lsuart-v14"; - reg = <0xf991f000 0x1000>; - interrupts = <0 109 0>; - status = "disabled"; - }; - - serial@f995e000 { - compatible = "qcom,msm-lsuart-v14"; - reg = <0xf995e000 0x1000>; - interrupts = <0 114 0>; - status = "disabled"; - }; - - serial@f991e000 { - compatible = "qcom,msm-lsuart-v14"; - reg = <0xf991e000 0x1000>; - interrupts = <0 108 0>; - status = "disabled"; - - qcom,msm-bus,name = "serial_uart2"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <86 512 0 0>, - <86 512 500 800>; - }; - - usb_otg: usb@f9a55000 { - compatible = "qcom,hsusb-otg"; - status = "disabled"; - - reg = <0xf9a55000 0x400>; - interrupts = <0 134 0 0 140 0>; - interrupt-names = "core_irq", "async_irq"; - HSUSB_VDDCX-supply = <&pm8841_s2_corner>; - HSUSB_1p8-supply = <&pm8941_l6>; - HSUSB_3p3-supply = <&pm8941_l24>; - qcom,vdd-voltage-level = <1 5 7>; - - 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>; - qcom,hsusb-otg-disable-reset; - - qcom,msm-bus,name = "usb2"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <87 512 0 0>, - <87 512 60000 960000>; - }; - - sdcc1: qcom,sdcc@f9824000 { - cell-index = <1>; /* SDC1 eMMC slot */ - compatible = "qcom,msm-sdcc"; - reg = <0xf9824000 0x800>, - <0xf9824800 0x100>, - <0xf9804000 0x7000>; - reg-names = "core_mem", "dml_mem", "bam_mem"; - interrupts = <0 123 0>, <0 137 0>; - interrupt-names = "core_irq", "bam_irq"; - vdd-supply = <&pm8941_l20>; - vdd-io-supply = <&pm8941_s3>; - - qcom,vdd-always-on; - qcom,vdd-lpm-sup; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <800 500000>; - - qcom,vdd-io-always-on; - qcom,vdd-io-voltage-level = <1800000 1800000>; - qcom,vdd-io-current-level = <250 154000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 20000000 25000000 50000000 100000000 200000000>; - qcom,sup-voltages = <2950 2950>; - qcom,bus-width = <8>; - qcom,nonremovable; - qcom,bus-speed-mode = "HS200_1p8v", "DDR_1p8v"; - - qcom,msm-bus,name = "sdcc1"; - qcom,msm-bus,num-cases = <8>; - 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 800000 1600000>, /* 200 MB/s */ - <78 512 2048000 4096000>; /* Max. bandwidth */ - qcom,bus-bw-vectors-bps = <0 400000 20000000 25000000 50000000 100000000 200000000 4294967295>; - qcom,dat1-mpm-int = <42>; - status = "disable"; - }; - - sdcc2: qcom,sdcc@f98a4000 { - cell-index = <2>; /* SDC2 SD card slot */ - compatible = "qcom,msm-sdcc"; - reg = <0xf98a4000 0x800>, - <0xf98a4800 0x100>, - <0xf9884000 0x7000>; - reg-names = "core_mem", "dml_mem", "bam_mem"; - interrupts = <0 125 0>, <0 220 0>; - interrupt-names = "core_irq", "bam_irq"; - vdd-supply = <&pm8941_l21>; - vdd-io-supply = <&pm8941_l13>; - - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <9000 800000>; - - qcom,vdd-io-voltage-level = <1800000 2950000>; - qcom,vdd-io-current-level = <6 22000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 20000000 25000000 50000000 100000000 200000000>; - qcom,sup-voltages = <2950 2950>; - qcom,bus-width = <4>; - qcom,xpc; - qcom,bus-speed-mode = "SDR12", "SDR25", "SDR50", "DDR50", "SDR104"; - qcom,current-limit = <800>; - - qcom,msm-bus,name = "sdcc2"; - 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 1600000>, /* 200 MB/s */ - <81 512 2048000 4096000>; /* Max. bandwidth */ - qcom,bus-bw-vectors-bps = <0 400000 20000000 25000000 50000000 100000000 200000000 4294967295>; - qcom,dat1-mpm-int = <44>; - status = "disable"; - }; - - sdcc3: qcom,sdcc@f9864000 { - cell-index = <3>; /* SDC3 SDIO slot */ - compatible = "qcom,msm-sdcc"; - reg = <0xf9864000 0x800>, - <0xf9864800 0x100>, - <0xf9844000 0x7000>; - reg-names = "core_mem", "dml_mem", "bam_mem"; - #address-cells = <0>; - interrupt-parent = <&sdcc3>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 127 0 - 1 &intc 0 223 0 - 2 &msmgpio 37 0x8>; - interrupt-names = "core_irq", "bam_irq", "sdiowakeup_irq"; - - gpios = <&msmgpio 40 0>, /* CLK */ - <&msmgpio 39 0>, /* CMD */ - <&msmgpio 38 0>, /* DATA0 */ - <&msmgpio 37 0>, /* DATA1 */ - <&msmgpio 36 0>, /* DATA2 */ - <&msmgpio 35 0>; /* DATA3 */ - qcom,gpio-names = "CLK", "CMD", "DAT0", "DAT1", "DAT2", "DAT3"; - - qcom,clk-rates = <400000 20000000 25000000 50000000 100000000>; - qcom,sup-voltages = <1800 1800>; - qcom,bus-width = <4>; - qcom,bus-speed-mode = "SDR12", "SDR25", "SDR50", "DDR50"; - - qcom,msm-bus,name = "sdcc3"; - 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 1600000>, /* 200 MB/s */ - <79 512 2048000 4096000>; /* Max. bandwidth */ - qcom,bus-bw-vectors-bps = <0 400000 20000000 25000000 50000000 100000000 200000000 4294967295>; - status = "disable"; - }; - - sdcc4: qcom,sdcc@f98e4000 { - cell-index = <4>; /* SDC4 SDIO slot */ - compatible = "qcom,msm-sdcc"; - reg = <0xf98e4000 0x800>, - <0xf98e4800 0x100>, - <0xf98c4000 0x7000>; - reg-names = "core_mem", "dml_mem", "bam_mem"; - #address-cells = <0>; - interrupt-parent = <&sdcc4>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 129 0 - 1 &intc 0 226 0 - 2 &msmgpio 95 0x8>; - interrupt-names = "core_irq", "bam_irq", "sdiowakeup_irq"; - - gpios = <&msmgpio 93 0>, /* CLK */ - <&msmgpio 91 0>, /* CMD */ - <&msmgpio 96 0>, /* DATA0 */ - <&msmgpio 95 0>, /* DATA1 */ - <&msmgpio 94 0>, /* DATA2 */ - <&msmgpio 92 0>; /* DATA3 */ - qcom,gpio-names = "CLK", "CMD", "DAT0", "DAT1", "DAT2", "DAT3"; - - qcom,clk-rates = <400000 20000000 25000000 50000000 100000000>; - qcom,sup-voltages = <1800 1800>; - qcom,bus-width = <4>; - qcom,bus-speed-mode = "SDR12", "SDR25", "SDR50", "DDR50"; - - qcom,msm-bus,name = "sdcc4"; - qcom,msm-bus,num-cases = <8>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = <80 512 0 0>, /* No vote */ - <80 512 1600 3200>, /* 400 KB/s*/ - <80 512 80000 160000>, /* 20 MB/s */ - <80 512 100000 200000>, /* 25 MB/s */ - <80 512 200000 400000>, /* 50 MB/s */ - <80 512 400000 800000>, /* 100 MB/s */ - <80 512 800000 1600000>, /* 200 MB/s */ - <80 512 2048000 4096000>; /* Max. bandwidth */ - qcom,bus-bw-vectors-bps = <0 400000 20000000 25000000 50000000 100000000 200000000 4294967295>; - status = "disable"; - }; - - sdhc_1: sdhci@f9824900 { - qcom,bus-width = <8>; - compatible = "qcom,sdhci-msm"; - reg = <0xf9824900 0x11c>, <0xf9824000 0x800>; - reg-names = "hc_mem", "core_mem"; - interrupts = <0 123 0>, <0 138 0>; - interrupt-names = "hc_irq", "pwr_irq"; - qcom,clk-rates = <400000 20000000 25000000 50000000 100000000 200000000>; - qcom,bus-speed-mode = "HS200_1p8v", "DDR_1p8v"; - qcom,cpu-dma-latency-us = <200>; - - qcom,msm-bus,name = "sdhc1"; - qcom,msm-bus,num-cases = <8>; - 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 800000 1600000>, /* 200 MB/s */ - <78 512 2048000 4096000>; /* Max. bandwidth */ - qcom,bus-bw-vectors-bps = <0 400000 20000000 25000000 50000000 100000000 200000000 4294967295>; - status = "disable"; - }; - - 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"; - - qcom,clk-rates = <400000 20000000 25000000 50000000 100000000 200000000>; - qcom,bus-width = <4>; - qcom,cpu-dma-latency-us = <200>; - - 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 1600000>, /* 200 MB/s */ - <81 512 2048000 4096000>; /* Max. bandwidth */ - qcom,bus-bw-vectors-bps = <0 400000 20000000 25000000 50000000 100000000 200000000 4294967295>; - status = "disable"; - }; - - 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"; - gpios = <&msmgpio 40 0>, /* CLK */ - <&msmgpio 39 0>, /* CMD */ - <&msmgpio 38 0>, /* DATA0 */ - <&msmgpio 37 0>, /* DATA1 */ - <&msmgpio 36 0>, /* DATA2 */ - <&msmgpio 35 0>; /* DATA3 */ - qcom,gpio-names = "CLK", "CMD", "DAT0", "DAT1", "DAT2", "DAT3"; - - qcom,clk-rates = <400000 20000000 25000000 50000000 100000000>; - qcom,bus-width = <4>; - qcom,cpu-dma-latency-us = <200>; - - 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 1600000>, /* 200 MB/s */ - <79 512 2048000 4096000>; /* Max. bandwidth */ - qcom,bus-bw-vectors-bps = <0 400000 20000000 25000000 50000000 100000000 200000000 4294967295>; - status = "disable"; - }; - - sdhc_4: sdhci@f98e4900 { - compatible = "qcom,sdhci-msm"; - reg = <0xf98e4900 0x11c>, <0xf98e4000 0x800>; - reg-names = "hc_mem", "core_mem"; - interrupts = <0 129 0>, <0 227 0>; - interrupt-names = "hc_irq", "pwr_irq"; - gpios = <&msmgpio 93 0>, /* CLK */ - <&msmgpio 91 0>, /* CMD */ - <&msmgpio 96 0>, /* DATA0 */ - <&msmgpio 95 0>, /* DATA1 */ - <&msmgpio 94 0>, /* DATA2 */ - <&msmgpio 92 0>; /* DATA3 */ - qcom,gpio-names = "CLK", "CMD", "DAT0", "DAT1", "DAT2", "DAT3"; - - qcom,clk-rates = <400000 20000000 25000000 50000000 100000000>; - qcom,bus-width = <4>; - qcom,cpu-dma-latency-us = <200>; - - qcom,msm-bus,name = "sdhc4"; - qcom,msm-bus,num-cases = <8>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = <80 512 0 0>, /* No vote */ - <80 512 1600 3200>, /* 400 KB/s*/ - <80 512 80000 160000>, /* 20 MB/s */ - <80 512 100000 200000>, /* 25 MB/s */ - <80 512 200000 400000>, /* 50 MB/s */ - <80 512 400000 800000>, /* 100 MB/s */ - <80 512 800000 1600000>, /* 200 MB/s */ - <80 512 2048000 4096000>; /* Max. bandwidth */ - qcom,bus-bw-vectors-bps = <0 400000 20000000 25000000 50000000 100000000 200000000 4294967295>; - status = "disable"; - }; - - qcom,sps@f9980000 { - compatible = "qcom,msm_sps"; - reg = <0xf9984000 0x15000>, - <0xf9999000 0xb000>; - interrupts = <0 94 0>; - - qcom,bam-dma-res-pipes = <6>; - }; - - spi_7: spi_epm: spi@f9966000 { - compatible = "qcom,spi-qup-v2"; - reg = <0xf9966000 0x1000>; - interrupts = <0 104 0>; - spi-max-frequency = <19200000>; - #address-cells = <1>; - #size-cells = <0>; - gpios = <&msmgpio 56 0>, /* CLK */ - <&msmgpio 54 0>, /* MISO */ - <&msmgpio 53 0>; /* MOSI */ - cs-gpios = <&msmgpio 55 0>; - qcom,master-id = <84>; - }; - - tspp: msm_tspp@f99d8000 { - compatible = "qcom,msm_tspp"; - cell-index = <0>; - reg = <0xf99d8000 0x1000>, /* MSM_TSIF0_PHYS */ - <0xf99d9000 0x1000>, /* MSM_TSIF1_PHYS */ - <0xf99da000 0x1000>, /* MSM_TSPP_PHYS */ - <0xf99c4000 0x14000>; /* MSM_TSPP_BAM_PHYS */ - reg-names = "MSM_TSIF0_PHYS", - "MSM_TSIF1_PHYS", - "MSM_TSPP_PHYS", - "MSM_TSPP_BAM_PHYS"; - interrupts = <0 153 0>, /* TSIF_TSPP_IRQ */ - <0 151 0>, /* TSIF0_IRQ */ - <0 152 0>, /* TSIF1_IRQ */ - <0 154 0>; /* TSIF_BAM_IRQ */ - interrupt-names = "TSIF_TSPP_IRQ", - "TSIF0_IRQ", - "TSIF1_IRQ", - "TSIF_BAM_IRQ"; - qcom,tsif-pclk = "iface_clk"; - qcom,tsif-ref-clk = "ref_clk"; - gpios = <&msmgpio 89 0>, /* TSIF0 CLK */ - <&msmgpio 90 0>, /* TSIF0 EN */ - <&msmgpio 91 0>, /* TSIF0 DATA */ - <&msmgpio 92 0>, /* TSIF0 SYNC */ - <&msmgpio 93 0>, /* TSIF1 CLK */ - <&msmgpio 94 0>, /* TSIF1 EN */ - <&msmgpio 95 0>, /* TSIF1 DATA */ - <&msmgpio 96 0>; /* TSIF1 SYNC */ - qcom,gpio-names = "tsif_clk", - "tsif_en", - "tsif_data", - "tsif_sync", - "tsif_clk", - "tsif_en", - "tsif_data", - "tsif_sync"; - qcom,gpios-func = <1>; - - qcom,msm-bus,name = "tsif"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,active-only = <0>; - 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 */ - }; - - slim_msm: slim@fe12f000 { - cell-index = <1>; - compatible = "qcom,slim-ngd"; - reg = <0xfe12f000 0x35000>, - <0xfe104000 0x20000>; - reg-names = "slimbus_physical", "slimbus_bam_physical"; - interrupts = <0 163 0 0 164 0>; - interrupt-names = "slimbus_irq", "slimbus_bam_irq"; - - taiko_codec { - compatible = "qcom,taiko-slim-pgd"; - elemental-addr = [00 01 A0 00 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>; - - qcom,cdc-reset-gpio = <&msmgpio 63 0>; - - cdc-vdd-buck-supply = <&pm8941_s2>; - qcom,cdc-vdd-buck-voltage = <2150000 2150000>; - qcom,cdc-vdd-buck-current = <650000>; - - cdc-vdd-tx-h-supply = <&pm8941_s3>; - qcom,cdc-vdd-tx-h-voltage = <1800000 1800000>; - qcom,cdc-vdd-tx-h-current = <25000>; - - cdc-vdd-rx-h-supply = <&pm8941_s3>; - qcom,cdc-vdd-rx-h-voltage = <1800000 1800000>; - qcom,cdc-vdd-rx-h-current = <25000>; - - cdc-vddpx-1-supply = <&pm8941_s3>; - qcom,cdc-vddpx-1-voltage = <1800000 1800000>; - qcom,cdc-vddpx-1-current = <10000>; - - cdc-vdd-a-1p2v-supply = <&pm8941_l1>; - qcom,cdc-vdd-a-1p2v-voltage = <1225000 1225000>; - qcom,cdc-vdd-a-1p2v-current = <10000>; - - cdc-vddcx-1-supply = <&pm8941_l1>; - qcom,cdc-vddcx-1-voltage = <1225000 1225000>; - qcom,cdc-vddcx-1-current = <10000>; - - cdc-vddcx-2-supply = <&pm8941_l1>; - qcom,cdc-vddcx-2-voltage = <1225000 1225000>; - qcom,cdc-vddcx-2-current = <10000>; - - 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>; - qcom,cdc-micbias-cfilt2-mv = <2700>; - 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 = "taiko-slim-ifd"; - qcom,cdc-slim-ifd-elemental-addr = [00 00 A0 00 17 02]; - qcom,cdc-dmic-sample-rate = <4800000>; - }; - }; - - sound { - compatible = "qcom,msm8974-audio-taiko"; - qcom,model = "msm8974-taiko-snd-card"; - - qcom,audio-routing = - "RX_BIAS", "MCLK", - "LDO_H", "MCLK", - "AIF4 MAD", "MCLK", - "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"; - - qcom,cdc-mclk-gpios = <&pm8941_gpios 15 0>; - qcom,taiko-mclk-clk-freq = <9600000>; - qcom,prim-auxpcm-gpio-clk = <&msmgpio 65 0>; - qcom,prim-auxpcm-gpio-sync = <&msmgpio 66 0>; - qcom,prim-auxpcm-gpio-din = <&msmgpio 67 0>; - qcom,prim-auxpcm-gpio-dout = <&msmgpio 68 0>; - qcom,prim-auxpcm-gpio-set = "prim-gpio-prim"; - qcom,sec-auxpcm-gpio-clk = <&msmgpio 79 0>; - qcom,sec-auxpcm-gpio-sync = <&msmgpio 80 0>; - qcom,sec-auxpcm-gpio-din = <&msmgpio 81 0>; - qcom,sec-auxpcm-gpio-dout = <&msmgpio 82 0>; - }; - - spmi_bus: qcom,spmi@fc4c0000 { - cell-index = <0>; - 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-ee = <0>; - qcom,pmic-arb-channel = <0>; - }; - - i2c_0: i2c@f9967000 { /* BLSP#11 */ - cell-index = <0>; - compatible = "qcom,i2c-qup"; - reg = <0Xf9967000 0x1000>; - #address-cells = <1>; - #size-cells = <0>; - reg-names = "qup_phys_addr"; - interrupts = <0 105 0>; - interrupt-names = "qup_err_intr"; - qcom,i2c-bus-freq = <100000>; - qcom,i2c-src-freq = <50000000>; - qcom,master-id = <84>; - }; - - i2c_1: i2c@f9923000 { - cell-index = <1>; - compatible = "qcom,i2c-qup"; - reg = <0xf9923000 0x1000>; - #address-cells = <1>; - #size-cells = <0>; - reg-names = "qup_phys_addr"; - interrupts = <0 95 0>; - interrupt-names = "qup_err_intr"; - qcom,i2c-bus-freq = <100000>; - qcom,i2c-src-freq = <19200000>; - qcom,scl-gpio = <&msmgpio 3 0>; - qcom,sda-gpio = <&msmgpio 2 0>; - qcom,master-id = <86>; - status = "disabled"; - }; - - i2c_2: i2c@f9924000 { - cell-index = <2>; - compatible = "qcom,i2c-qup"; - reg = <0xf9924000 0x1000>; - #address-cells = <1>; - #size-cells = <0>; - reg-names = "qup_phys_addr"; - interrupts = <0 96 0>; - interrupt-names = "qup_err_intr"; - qcom,i2c-bus-freq = <100000>; - qcom,i2c-src-freq = <50000000>; - qcom,master-id = <86>; - }; - - spi_0: spi@f9923000 { - compatible = "qcom,spi-qup-v2"; - reg = <0xf9923000 0x1000>; - interrupts = <0 95 0>; - spi-max-frequency = <19200000>; - #address-cells = <1>; - #size-cells = <0>; - gpios = <&msmgpio 3 0>, /* CLK */ - <&msmgpio 1 0>, /* MISO */ - <&msmgpio 0 0>; /* MOSI */ - cs-gpios = <&msmgpio 9 0>; - qcom,master-id = <86>; - }; - - qcom,acpuclk@f9000000 { - compatible = "qcom,acpuclk-8974"; - krait0-supply = <&krait0_vreg>; - krait1-supply = <&krait1_vreg>; - krait2-supply = <&krait2_vreg>; - krait3-supply = <&krait3_vreg>; - krait0_mem-supply = <&pm8841_s1_ao>; - krait1_mem-supply = <&pm8841_s1_ao>; - krait2_mem-supply = <&pm8841_s1_ao>; - krait3_mem-supply = <&pm8841_s1_ao>; - krait0_dig-supply = <&pm8841_s2_corner_ao>; - krait1_dig-supply = <&pm8841_s2_corner_ao>; - krait2_dig-supply = <&pm8841_s2_corner_ao>; - krait3_dig-supply = <&pm8841_s2_corner_ao>; - krait0_hfpll-supply = <&pm8941_l12_ao>; - krait1_hfpll-supply = <&pm8941_l12_ao>; - krait2_hfpll-supply = <&pm8941_l12_ao>; - krait3_hfpll-supply = <&pm8941_l12_ao>; - l2_hfpll-supply = <&pm8941_l12_ao>; - }; - - usb3: qcom,ssusb@f9200000 { - compatible = "qcom,dwc-usb3-msm"; - reg = <0xf9200000 0xfc000>, - <0xfd4ab000 0x4>; - #address-cells = <1>; - #size-cells = <1>; - ranges; - interrupts = <0 133 0>; - interrupt-names = "hs_phy_irq"; - ssusb_vdd_dig-supply = <&pm8841_s2_corner>; - SSUSB_1p8-supply = <&pm8941_l6>; - hsusb_vdd_dig-supply = <&pm8841_s2_corner>; - HSUSB_1p8-supply = <&pm8941_l6>; - HSUSB_3p3-supply = <&pm8941_l24>; - vbus_dwc3-supply = <&pm8941_mvs1>; - qcom,dwc-usb3-msm-dbm-eps = <4>; - qcom,vdd-voltage-level = <1 5 7>; - qcom,dwc-hsphy-init = <0x00D195A4>; - - 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>; - dwc3@f9200000 { - compatible = "synopsys,dwc3"; - reg = <0xf9200000 0xfc000>; - interrupt-parent = <&intc>; - interrupts = <0 131 0>, <0 179 0>; - interrupt-names = "irq", "otg_irq"; - tx-fifo-resize; - }; - }; - - ehci: qcom,ehci-host@f9a55000 { - compatible = "qcom,ehci-host"; - status = "disabled"; - reg = <0xf9a55000 0x400>; - interrupts = <0 134 0>, <0 140 0>; - interrupt-names = "core_irq", "async_irq"; - HSUSB_VDDCX-supply = <&pm8841_s2>; - HSUSB_1p8-supply = <&pm8941_l6>; - HSUSB_3p3-supply = <&pm8941_l24>; - qcom,usb2-enable-hsphy2; - qcom,usb2-power-budget = <500>; - }; - - gdsc_oxili_gx: qcom,gdsc@fd8c4024 { - parent-supply = <&pm8841_s4_corner>; - }; - - qcom,lpass@fe200000 { - compatible = "qcom,pil-q6v5-lpass"; - reg = <0xfe200000 0x00100>, - <0xfd485100 0x00010>, - <0xfc4016c0 0x00004>; - reg-names = "qdsp6_base", "halt_base", "restart_reg"; - vdd_cx-supply = <&pm8841_s2_corner>; - interrupts = <0 162 1>; - - 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>; - - /* GPIO output to lpass */ - qcom,gpio-force-stop = <&smp2pgpio_ssr_smp2p_2_out 0 0>; - }; - - qcom,msm-adsp-loader { - compatible = "qcom,adsp-loader"; - qcom,adsp-state = <0>; - }; - - qcom,msm-audio-ion { - compatible = "qcom,msm-audio-ion"; - }; - - qcom,msm-pcm { - compatible = "qcom,msm-pcm-dsp"; - qcom,msm-pcm-dsp-id = <0>; - }; - - qcom,msm-pcm-low-latency { - compatible = "qcom,msm-pcm-dsp"; - qcom,msm-pcm-dsp-id = <1>; - qcom,msm-pcm-low-latency; - }; - - qcom,msm-pcm-routing { - compatible = "qcom,msm-pcm-routing"; - }; - - qcom,msm-pcm-lpa { - compatible = "qcom,msm-pcm-lpa"; - }; - - qcom,msm-compr-dsp { - compatible = "qcom,msm-compr-dsp"; - }; - - qcom,msm-voip-dsp { - compatible = "qcom,msm-voip-dsp"; - }; - - qcom,msm-pcm-voice { - compatible = "qcom,msm-pcm-voice"; - }; - - qcom,msm-stub-codec { - compatible = "qcom,msm-stub-codec"; - }; - - qcom,msm-dai-fe { - compatible = "qcom,msm-dai-fe"; - }; - - qcom,msm-pcm-afe { - compatible = "qcom,msm-pcm-afe"; - }; - - qcom,msm-dai-q6-hdmi { - compatible = "qcom,msm-dai-q6-hdmi"; - qcom,msm-dai-q6-dev-id = <8>; - }; - - qcom,msm-lsm-client { - compatible = "qcom,msm-lsm-client"; - }; - - qcom,msm-dai-q6 { - compatible = "qcom,msm-dai-q6"; - qcom,msm-dai-q6-sb-0-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <16384>; - }; - - qcom,msm-dai-q6-sb-0-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <16385>; - }; - - qcom,msm-dai-q6-sb-1-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <16386>; - }; - - qcom,msm-dai-q6-sb-1-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <16387>; - }; - - qcom,msm-dai-q6-sb-2-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <16388>; - }; - - qcom,msm-dai-q6-sb-2-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <16389>; - }; - - qcom,msm-dai-q6-sb-3-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <16390>; - }; - - qcom,msm-dai-q6-sb-3-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <16391>; - }; - - qcom,msm-dai-q6-sb-4-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <16392>; - }; - - qcom,msm-dai-q6-sb-4-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <16393>; - }; - - qcom,msm-dai-q6-sb-5-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <16395>; - }; - - qcom,msm-dai-q6-bt-sco-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <12288>; - }; - - qcom,msm-dai-q6-bt-sco-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <12289>; - }; - - qcom,msm-dai-q6-int-fm-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <12292>; - }; - - qcom,msm-dai-q6-int-fm-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <12293>; - }; - - qcom,msm-dai-q6-be-afe-pcm-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <224>; - }; - - qcom,msm-dai-q6-be-afe-pcm-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <225>; - }; - - qcom,msm-dai-q6-afe-proxy-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <241>; - }; - - qcom,msm-dai-q6-afe-proxy-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <240>; - }; - - qcom,msm-dai-q6-incall-record-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <32771>; - }; - - qcom,msm-dai-q6-incall-record-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <32772>; - }; - - qcom,msm-dai-q6-incall-music-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <32773>; - }; - }; - - qcom,msm-auxpcm { - compatible = "qcom,msm-auxpcm-resource"; - qcom,msm-cpudai-auxpcm-clk = "pcm_clk"; - 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-slot = <1>, <1>; - qcom,msm-cpudai-auxpcm-data = <0>, <0>; - qcom,msm-cpudai-auxpcm-pcm-clk-rate = <2048000>, <2048000>; - - qcom,msm-prim-auxpcm-rx { - qcom,msm-auxpcm-dev-id = <4106>; - compatible = "qcom,msm-auxpcm-dev"; - }; - - qcom,msm-prim-auxpcm-tx { - qcom,msm-auxpcm-dev-id = <4107>; - compatible = "qcom,msm-auxpcm-dev"; - }; - - qcom,msm-sec-auxpcm-rx { - qcom,msm-auxpcm-dev-id = <4108>; - compatible = "qcom,msm-auxpcm-dev"; - }; - - qcom,msm-sec-auxpcm-tx { - qcom,msm-auxpcm-dev-id = <4109>; - compatible = "qcom,msm-auxpcm-dev"; - }; - }; - - qcom,msm-dai-mi2s { - compatible = "qcom,msm-dai-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>; - }; - }; - - qcom,msm-pcm-hostless { - compatible = "qcom,msm-pcm-hostless"; - }; - - qcom,msm-ocmem-audio { - compatible = "qcom,msm-ocmem-audio"; - qcom,msm-bus,name = "audio-ocmem"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <11 604 0 0>, - <11 604 32506 32506>; - }; - - qcom,msm-adsp-sensors { - compatible = "qcom,msm-adsp-sensors"; - qcom,src-id = <11>; - qcom,dst-id = <604>; - qcom,ab = <32505856>; - qcom,ib = <32505856>; - }; - - qcom,mss@fc880000 { - compatible = "qcom,pil-q6v5-mss"; - reg = <0xfc880000 0x100>, - <0xfd485000 0x400>, - <0xfc820000 0x020>, - <0xfc401680 0x004>; - reg-names = "qdsp6_base", "halt_base", "rmb_base", - "restart_reg"; - - interrupts = <0 24 1>; - vdd_mss-supply = <&pm8841_s3>; - vdd_cx-supply = <&pm8841_s2_corner>; - vdd_mx-supply = <&pm8841_s1>; - vdd_pll-supply = <&pm8941_l12>; - qcom,vdd_pll = <1800000>; - qcom,firmware-name = "mba"; - qcom,pil-self-auth; - - /* 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>; - }; - - qcom,pronto@fb21b000 { - compatible = "qcom,pil-pronto"; - reg = <0xfb21b000 0x3000>, - <0xfc401700 0x4>, - <0xfd485300 0xc>; - reg-names = "pmu_base", "clk_base", "halt_base"; - interrupts = <0 149 1>; - vdd_pronto_pll-supply = <&pm8941_l12>; - - qcom,firmware-name = "wcnss"; - - /* GPIO inputs from wcnss */ - qcom,gpio-err-fatal = <&smp2pgpio_ssr_smp2p_4_in 0 0>; - qcom,gpio-err-ready = <&smp2pgpio_ssr_smp2p_4_in 1 0>; - qcom,gpio-proxy-unvote = <&smp2pgpio_ssr_smp2p_4_in 2 0>; - - /* GPIO output to wcnss */ - qcom,gpio-force-stop = <&smp2pgpio_ssr_smp2p_4_out 0 0>; - }; - - qcom,iris-fm { - compatible = "qcom,iris_fm"; - }; - - qcom,wcnss-wlan@fb000000 { - compatible = "qcom,wcnss_wlan"; - reg = <0xfb000000 0x280000>, - <0xf9011008 0x04>; - reg-names = "wcnss_mmio", "wcnss_fiq"; - interrupts = <0 145 0 0 146 0>; - interrupt-names = "wcnss_wlantx_irq", "wcnss_wlanrx_irq"; - - qcom,pronto-vddmx-supply = <&pm8841_s1>; - qcom,pronto-vddcx-supply = <&pm8841_s2>; - qcom,pronto-vddpx-supply = <&pm8941_s3>; - qcom,iris-vddxo-supply = <&pm8941_l6>; - qcom,iris-vddrfa-supply = <&pm8941_l11>; - qcom,iris-vddpa-supply = <&pm8941_l19>; - qcom,iris-vdddig-supply = <&pm8941_l3>; - - gpios = <&msmgpio 36 0>, <&msmgpio 37 0>, <&msmgpio 38 0>, <&msmgpio 39 0>, <&msmgpio 40 0>; - qcom,has-48mhz-xo; - qcom,has-pronto-hw; - }; - - qcom,ocmem@fdd00000 { - compatible = "qcom,msm-ocmem"; - reg = <0xfdd00000 0x2000>, - <0xfdd02000 0x2000>, - <0xfe039000 0x400>, - <0xfec00000 0x180000>; - 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 = <0x3>; - qcom,ocmem-num-macros = <0x18>; - qcom,resource-type = <0x706d636f>; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0x0 0xfec00000 0x180000>; - - partition@0 { - reg = <0x0 0x100000>; - qcom,ocmem-part-name = "graphics"; - qcom,ocmem-part-min = <0x80000>; - }; - - partition@80000 { - reg = <0x100000 0x80000>; - qcom,ocmem-part-name = "lp_audio"; - qcom,ocmem-part-min = <0x80000>; - }; - - partition@100000 { - reg = <0x100000 0x80000>; - qcom,ocmem-part-name = "video"; - qcom,ocmem-part-min = <0x55000>; - }; - - }; - - 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>; - }; - - qseecom: qcom,qseecom@7f00000 { - compatible = "qcom,qseecom"; - reg = <0x7f00000 0x500000>; - reg-names = "secapp-region"; - qcom,disk-encrypt-pipe-pair = <2>; - qcom,hlos-ce-hw-instance = <1>; - 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,msm-bus,vectors-KBps = - <55 512 0 0>, - <55 512 3936000 393600>, - <55 512 3936000 393600>, - <55 512 3936000 393600>; - }; - - qcom,wdt@f9017000 { - compatible = "qcom,msm-watchdog"; - reg = <0xf9017000 0x1000>; - interrupts = <0 3 0>, <0 4 0>; - qcom,bark-time = <11000>; - qcom,pet-time = <10000>; - qcom,ipi-ping; - }; - - qcom,tz-log@fe805720 { - compatible = "qcom,tz-log"; - reg = <0xfe805720 0x1000>; - }; - - qcom,venus@fdce0000 { - compatible = "qcom,pil-venus"; - reg = <0xfdce0000 0x4000>, - <0xfdc80000 0x400>; - reg-names = "wrapper_base", "vbif_base"; - vdd-supply = <&gdsc_venus>; - - qcom,firmware-name = "venus"; - }; - - qcom,cache_erp@f9012000 { - reg = <0xf9012000 0x80>, - <0xf9089000 0x80>, - <0xf9099000 0x80>, - <0xf90a9000 0x80>, - <0xf90b9000 0x80>, - <0xf9088000 0x40>, - <0xf9098000 0x40>, - <0xf90a8000 0x40>, - <0xf90b8000 0x40>; - - reg-names = "l2_saw", - "krait0_saw", - "krait1_saw", - "krait2_saw", - "krait3_saw", - "krait0_acs", - "krait1_acs", - "krait2_acs", - "krait3_acs"; - - compatible = "qcom,cache_erp"; - interrupts = <1 9 0>, <0 2 0>; - interrupt-names = "l1_irq", "l2_irq"; - }; - - qcom,cache_dump { - compatible = "qcom,cache_dump"; - qcom,l1-dump-size = <0x100000>; - qcom,l2-dump-size = <0x500000>; - qcom,memory-reservation-type = "EBI1"; - qcom,memory-reservation-size = <0x600000>; /* 6M EBI1 buffer */ - }; - - tsens: tsens@fc4a8000 { - compatible = "qcom,msm-tsens"; - reg = <0xfc4a8000 0x2000>, - <0xfc4b8000 0x1000>; - reg-names = "tsens_physical", "tsens_eeprom_physical"; - interrupts = <0 184 0>; - qcom,sensors = <11>; - qcom,slope = <3200 3200 3200 3200 3200 3200 3200 3200 3200 - 3200 3200>; - qcom,calib-mode = "fuse_map1"; - }; - - qcom,msm-rtb { - compatible = "qcom,msm-rtb"; - qcom,memory-reservation-type = "EBI1"; - qcom,memory-reservation-size = <0x100000>; /* 1M EBI1 buffer */ - }; - - qcom,msm-contig-mem { - compatible = "qcom,msm-contig-mem"; - qcom,memory-reservation-type = "EBI1"; - qcom,memory-reservation-size = <0x280000>; /* 2.5M EBI1 buffer */ - }; - - qcom,qcedev@fd440000 { - compatible = "qcom,qcedev"; - reg = <0xfd440000 0x20000>, - <0xfd444000 0x8000>; - reg-names = "crypto-base","crypto-bam-base"; - interrupts = <0 236 0>; - qcom,bam-pipe-pair = <1>; - qcom,ce-hw-instance = <1>; - qcom,msm-bus,name = "qcedev-noc"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <56 512 0 0>, - <56 512 3936000 393600>; - }; - - qcom,qcrypto@fd444000 { - compatible = "qcom,qcrypto"; - reg = <0xfd440000 0x20000>, - <0xfd444000 0x8000>; - reg-names = "crypto-base","crypto-bam-base"; - interrupts = <0 236 0>; - qcom,bam-pipe-pair = <2>; - qcom,ce-hw-instance = <1>; - qcom,msm-bus,name = "qcrypto-noc"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <56 512 0 0>, - <56 512 3936000 393600>; - }; - - qcom,usbbam@f9304000 { - compatible = "qcom,usb-bam-msm"; - reg = <0xf9304000 0x5000>, - <0xf9a44000 0x11000>, - <0xf92f880c 0x4>; - reg-names = "ssusb", "hsusb", "qscratch_ram1_reg"; - interrupts = <0 132 0 0 135 0>; - interrupt-names = "ssusb", "hsusb"; - qcom,usb-bam-num-pipes = <16>; - qcom,usb-bam-fifo-baseaddr = <0xf9200000>; - qcom,ignore-core-reset-ack; - qcom,disable-clk-gating; - - qcom,pipe0 { - 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; - }; - - qcom,pipe1 { - label = "hsusb-qdss-in-0"; - qcom,usb-bam-mem-type = <1>; - qcom,bam-type = <1>; - 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 = <0xf9a44000>; - qcom,dst-bam-pipe-index = <2>; - qcom,data-fifo-offset = <0xf4000>; - qcom,data-fifo-size = <0x1000>; - qcom,descriptor-fifo-offset = <0xf5000>; - qcom,descriptor-fifo-size = <0x400>; - }; - }; - - qcom,msm-thermal { - compatible = "qcom,msm-thermal"; - qcom,sensor-id = <5>; - qcom,poll-ms = <250>; - qcom,limit-temp = <60>; - qcom,temp-hysteresis = <10>; - qcom,freq-step = <2>; - qcom,freq-control-mask = <0xf>; - qcom,core-limit-temp = <80>; - qcom,core-temp-hysteresis = <10>; - qcom,core-control-mask = <0xe>; - qcom,vdd-restriction-temp = <5>; - qcom,vdd-restriction-temp-hysteresis = <10>; - qcom,pmic-sw-mode-temp = <85>; - qcom,pmic-sw-mode-temp-hysteresis = <75>; - qcom,pmic-sw-mode-regs = "vdd_dig"; - vdd_dig-supply = <&pm8841_s2_floor_corner>; - vdd_gfx-supply = <&pm8841_s4_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 */ - }; - - qcom,vdd-apps-rstr{ - qcom,vdd-rstr-reg = "vdd_apps"; - qcom,levels = <1881600 1958400 2265600>; - qcom,freq-req; - }; - }; - - qcom,bam_dmux@fc834000 { - compatible = "qcom,bam_dmux"; - reg = <0xfc834000 0x7000>; - interrupts = <0 29 1>; - qcom,rx-ring-size = <64>; - }; - - memory_hole: qcom,msm-mem-hole { - compatible = "qcom,msm-mem-hole"; - qcom,memblock-remove = <0x7f00000 0x8000000>; /* Address and Size of Hole */ - }; - - uart7: uart@f995d000 { /*BLSP #2, UART #7 */ - compatible = "qcom,msm-hsuart-v14"; - status = "disabled"; - reg = <0xf995d000 0x1000>, - <0xf9944000 0x19000>; - reg-names = "core_mem", "bam_mem"; - interrupts = <0 113 0>, <0 239 0>; - interrupt-names = "core_irq", "bam_irq"; - - qcom,bam-tx-ep-pipe-index = <0>; - qcom,bam-rx-ep-pipe-index = <1>; - qcom,msm-bus,name = "uart7"; - 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,smem@fa00000 { - compatible = "qcom,smem"; - reg = <0xfa00000 0x200000>, - <0xf9011000 0x1000>, - <0xfc428000 0x4000>; - reg-names = "smem", "irq-reg-base", "aux-mem1"; - - qcom,smd-modem { - compatible = "qcom,smd"; - qcom,smd-edge = <0>; - qcom,smd-irq-offset = <0x8>; - qcom,smd-irq-bitmask = <0x1000>; - qcom,pil-string = "modem"; - interrupts = <0 25 1>; - }; - - qcom,smsm-modem { - compatible = "qcom,smsm"; - qcom,smsm-edge = <0>; - qcom,smsm-irq-offset = <0x8>; - qcom,smsm-irq-bitmask = <0x2000>; - interrupts = <0 26 1>; - }; - - qcom,smd-adsp { - compatible = "qcom,smd"; - qcom,smd-edge = <1>; - qcom,smd-irq-offset = <0x8>; - qcom,smd-irq-bitmask = <0x100>; - qcom,pil-string = "adsp"; - interrupts = <0 156 1>; - }; - - qcom,smsm-adsp { - compatible = "qcom,smsm"; - qcom,smsm-edge = <1>; - qcom,smsm-irq-offset = <0x8>; - qcom,smsm-irq-bitmask = <0x200>; - interrupts = <0 157 1>; - }; - - qcom,smd-wcnss { - compatible = "qcom,smd"; - qcom,smd-edge = <6>; - qcom,smd-irq-offset = <0x8>; - qcom,smd-irq-bitmask = <0x20000>; - qcom,pil-string = "wcnss"; - interrupts = <0 142 1>; - }; - - qcom,smsm-wcnss { - compatible = "qcom,smsm"; - qcom,smsm-edge = <6>; - qcom,smsm-irq-offset = <0x8>; - qcom,smsm-irq-bitmask = <0x80000>; - interrupts = <0 144 1>; - }; - - qcom,smd-rpm { - compatible = "qcom,smd"; - qcom,smd-edge = <15>; - qcom,smd-irq-offset = <0x8>; - qcom,smd-irq-bitmask = <0x1>; - interrupts = <0 168 1>; - qcom,irq-no-suspend; - }; - }; - - qcom,bcl { - compatible = "qcom,bcl"; - }; - - qcom,ssm { - compatible = "qcom,ssm"; - qcom,channel-name = "SSM_RTR"; - }; - - sfpb_spinlock: qcom,ipc-spinlock@fd484000 { - compatible = "qcom,ipc-spinlock-sfpb"; - reg = <0xfd484000 0x400>; - qcom,num-locks = <8>; - }; - - ldrex_spinlock: qcom,ipc-spinlock@fa00000 { - compatible = "qcom,ipc-spinlock-ldrex"; - reg = <0xfa00000 0x200000>; - status = "disable"; - }; - - cpu-pmu { - compatible = "qcom,krait-pmu"; - qcom,irq-is-percpu; - interrupts = <1 7 0xf00>; - }; - - l2-pmu { - compatible = "qcom,l2-pmu"; - interrupts = <0 1 0>; - }; - - qcom,smdtty { - compatible = "qcom,smdtty"; - - smdtty_apps_fm: qcom,smdtty-apps-fm { - qcom,smdtty-remote = "wcnss"; - qcom,smdtty-port-name = "APPS_FM"; - }; - - smdtty_apps_riva_bt_acl: smdtty-apps-riva-bt-acl { - qcom,smdtty-remote = "wcnss"; - qcom,smdtty-port-name = "APPS_RIVA_BT_ACL"; - }; - - smdtty_apps_riva_bt_cmd: qcom,smdtty-apps-riva-bt-cmd { - qcom,smdtty-remote = "wcnss"; - qcom,smdtty-port-name = "APPS_RIVA_BT_CMD"; - }; - - smdtty_mbalbridge: qcom,smdtty-mbalbridge { - qcom,smdtty-remote = "modem"; - qcom,smdtty-port-name = "MBALBRIDGE"; - }; - - smdtty_apps_riva_ant_cmd: smdtty-apps-riva-ant-cmd { - qcom,smdtty-remote = "wcnss"; - qcom,smdtty-port-name = "APPS_RIVA_ANT_CMD"; - }; - - smdtty_apps_riva_ant_data: smdtty-apps-riva-ant-data { - qcom,smdtty-remote = "wcnss"; - qcom,smdtty-port-name = "APPS_RIVA_ANT_DATA"; - }; - - smdtty_data1: qcom,smdtty-data1 { - qcom,smdtty-remote = "modem"; - qcom,smdtty-port-name = "DATA1"; - }; - - smdtty_data11: qcom,smdtty-data11 { - qcom,smdtty-remote = "modem"; - qcom,smdtty-port-name = "DATA11"; - }; - - smdtty_data21: qcom,smdtty-data21 { - qcom,smdtty-remote = "modem"; - qcom,smdtty-port-name = "DATA21"; - }; - - smdtty_gps_nmea: smdtty-gpsnmea { - qcom,smdtty-remote = "modem"; - qcom,smdtty-port-name = "GPSNMEA"; - }; - - smdtty_loopback: smdtty-loopback { - qcom,smdtty-remote = "modem"; - qcom,smdtty-port-name = "LOOPBACK"; - qcom,smdtty-dev-name = "LOOPBACK_TTY"; - }; - }; -}; - -&gdsc_venus { - qcom,clock-names = "core_clk"; - qcom,skip-logic-collapse; - status = "ok"; -}; - -&gdsc_mdss { - qcom,clock-names = "core_clk", "lut_clk"; - qcom,retain-periph; - status = "ok"; -}; - -&gdsc_jpeg { - qcom,clock-names = "core0_clk", "core1_clk", "core2_clk"; - status = "ok"; -}; - -&gdsc_vfe { - qcom,clock-names = "core0_clk", "core1_clk", "csi0_clk", "csi1_clk", - "cpp_clk"; - status = "ok"; -}; - -&gdsc_oxili_gx { - qcom,clock-names = "core_clk"; - qcom,retain-mem; - qcom,retain-periph; - status = "ok"; -}; - -&gdsc_oxili_cx { - status = "ok"; -}; - -&gdsc_usb_hsic { - status = "ok"; -}; - -/include/ "msm-pm8x41-rpm-regulator.dtsi" -/include/ "msm-pm8841.dtsi" -/include/ "msm-pm8941.dtsi" -/include/ "msm8974-regulator.dtsi" -/include/ "msm8974-clock.dtsi" diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/msm9625-cdp.dtsi b/kernel/arch/arm/boot/dts/lte_module-v1/msm9625-cdp.dtsi deleted file mode 100755 index 6ddb50b82..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/msm9625-cdp.dtsi +++ /dev/null @@ -1,100 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/include/ "msm9625-display.dtsi" -/include/ "qpic-panel-ili-qvga.dtsi" - -&soc { - i2c@f9925000 { - charger@57 { - compatible = "summit,smb137c"; - reg = <0x57>; - summit,chg-current-ma = <1500>; - summit,term-current-ma = <50>; - summit,pre-chg-current-ma = <100>; - summit,float-voltage-mv = <4200>; - summit,thresh-voltage-mv = <3000>; - summit,recharge-thresh-mv = <75>; - summit,system-voltage-mv = <4250>; - summit,charging-timeout = <382>; - summit,pre-charge-timeout = <48>; - summit,therm-current-ua = <10>; - summit,temperature-min = <4>; /* 0 C */ - summit,temperature-max = <3>; /* 45 C */ - }; - }; - - wlan0: qca,wlan { - cell-index = <0>; - compatible = "qca,ar6004-hsic"; - qca,chip-pwd-l-gpios = <&msmgpio 62 0>; - qca,pm-enable-gpios = <&pm8019_gpios 3 0x0>; - qca,vdd-io-supply = <&pm8019_l11>; - }; - - qca,wlan_ar6003 { - cell-index = <0>; - compatible = "qca,ar6003-sdio"; - qca,chip-pwd-l-gpios = <&msmgpio 62 0>; - qca,pm-enable-gpios = <&pm8019_gpios 3 0x0>; - qca,vdd-io-supply = <&pm8019_l11>; - }; -}; - -/* PM8019 GPIO and MPP configuration */ -&pm8019_gpios { - gpio@c000 { /* GPIO 1 */ - }; - - gpio@c100 { /* GPIO 2 */ - }; - - gpio@c200 { /* GPIO 3 */ - }; - - gpio@c300 { /* GPIO 4 */ - /* ext_2p95v regulator enable config */ - qcom,mode = <1>; /* Digital output */ - qcom,output-type = <0>; /* CMOS */ - qcom,invert = <0>; /* Output low */ - qcom,out-strength = <1>; /* Low */ - qcom,vin-sel = <2>; /* PM8019 L11 - 1.8V */ - qcom,src-sel = <0>; /* Constant */ - qcom,master-en = <1>; /* Enable GPIO */ - }; - - gpio@c400 { /* GPIO 5 */ - }; - - gpio@c500 { /* GPIO 6 */ - }; -}; - -&pm8019_mpps { - mpp@a000 { /* MPP 1 */ - }; - - mpp@a100 { /* MPP 2 */ - }; - - mpp@a200 { /* MPP 3 */ - }; - - mpp@a300 { /* MPP 4 */ - }; - - mpp@a400 { /* MPP 5 */ - }; - - mpp@a500 { /* MPP 6 */ - }; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/msm9625-coresight.dtsi b/kernel/arch/arm/boot/dts/lte_module-v1/msm9625-coresight.dtsi deleted file mode 100755 index 3c00ae8c2..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/msm9625-coresight.dtsi +++ /dev/null @@ -1,259 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&soc { - tmc_etr: tmc@fc322000 { - compatible = "arm,coresight-tmc"; - reg = <0xfc322000 0x1000>, - <0xfc37c000 0x3000>; - reg-names = "tmc-base", "bam-base"; - - qcom,memory-reservation-type = "EBI1"; - qcom,memory-reservation-size = <0x20000>; /* 128K EBI1 buffer */ - - coresight-id = <0>; - coresight-name = "coresight-tmc-etr"; - coresight-nr-inports = <1>; - coresight-ctis = <&cti0 &cti8>; - }; - - tpiu: tpiu@fc318000 { - compatible = "arm,coresight-tpiu"; - reg = <0xfc318000 0x1000>; - reg-names = "tpiu-base"; - - coresight-id = <1>; - coresight-name = "coresight-tpiu"; - coresight-nr-inports = <1>; - - vdd-supply = <&ext_2p95v>; - }; - - replicator: replicator@fc31c000 { - compatible = "qcom,coresight-replicator"; - reg = <0xfc31c000 0x1000>; - reg-names = "replicator-base"; - - coresight-id = <2>; - coresight-name = "coresight-replicator"; - coresight-nr-inports = <1>; - coresight-outports = <0 1>; - coresight-child-list = <&tmc_etr &tpiu>; - coresight-child-ports = <0 0>; - }; - - tmc_etf: tmc@fc307000 { - compatible = "arm,coresight-tmc"; - reg = <0xfc307000 0x1000>; - reg-names = "tmc-base"; - - coresight-id = <3>; - coresight-name = "coresight-tmc-etf"; - coresight-nr-inports = <1>; - coresight-outports = <0>; - coresight-child-list = <&replicator>; - coresight-child-ports = <0>; - coresight-default-sink; - coresight-ctis = <&cti0 &cti8>; - }; - - funnel_merg: funnel@fc31b000 { - compatible = "arm,coresight-funnel"; - reg = <0xfc31b000 0x1000>; - reg-names = "funnel-base"; - - coresight-id = <4>; - coresight-name = "coresight-funnel-merg"; - coresight-nr-inports = <2>; - coresight-outports = <0>; - coresight-child-list = <&tmc_etf>; - coresight-child-ports = <0>; - }; - - funnel_in0: funnel@fc319000 { - compatible = "arm,coresight-funnel"; - reg = <0xfc319000 0x1000>; - reg-names = "funnel-base"; - - coresight-id = <5>; - coresight-name = "coresight-funnel-in0"; - coresight-nr-inports = <8>; - coresight-outports = <0>; - coresight-child-list = <&funnel_merg>; - coresight-child-ports = <0>; - }; - - funnel_in1: funnel@fc31a000 { - compatible = "arm,coresight-funnel"; - reg = <0xfc31a000 0x1000>; - reg-names = "funnel-base"; - - coresight-id = <6>; - coresight-name = "coresight-funnel-in1"; - coresight-nr-inports = <8>; - coresight-outports = <0>; - coresight-child-list = <&funnel_merg>; - coresight-child-ports = <1>; - }; - - stm: stm@fc321000 { - compatible = "arm,coresight-stm"; - reg = <0xfc321000 0x1000>, - <0xfa280000 0x180000>; - reg-names = "stm-base", "stm-data-base"; - - coresight-id = <7>; - coresight-name = "coresight-stm"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_in1>; - coresight-child-ports = <7>; - }; - - etm0: etm@fc332000 { - compatible = "arm,coresight-etm"; - reg = <0xfc332000 0x1000>; - reg-names = "etm-base"; - - coresight-id = <8>; - coresight-name = "coresight-etm0"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_in0>; - coresight-child-ports = <4>; - - qcom,round-robin; - }; - - csr: csr@fc302000 { - compatible = "qcom,coresight-csr"; - reg = <0xfc302000 0x1000>; - reg-names = "csr-base"; - - coresight-id = <9>; - coresight-name = "coresight-csr"; - coresight-nr-inports = <0>; - - qcom,blk-size = <1>; - }; - - cti0: cti@fc308000 { - compatible = "arm,coresight-cti"; - reg = <0xfc308000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <10>; - coresight-name = "coresight-cti0"; - coresight-nr-inports = <0>; - }; - - cti1: cti@fc309000 { - compatible = "arm,coresight-cti"; - reg = <0xfc309000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <11>; - coresight-name = "coresight-cti1"; - coresight-nr-inports = <0>; - }; - - cti2: cti@fc30a000 { - compatible = "arm,coresight-cti"; - reg = <0xfc30a000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <12>; - coresight-name = "coresight-cti2"; - coresight-nr-inports = <0>; - }; - - cti3: cti@fc30b000 { - compatible = "arm,coresight-cti"; - reg = <0xfc30b000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <13>; - coresight-name = "coresight-cti3"; - coresight-nr-inports = <0>; - }; - - cti4: cti@fc30c000 { - compatible = "arm,coresight-cti"; - reg = <0xfc30c000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <14>; - coresight-name = "coresight-cti4"; - coresight-nr-inports = <0>; - }; - - cti5: cti@fc30d000 { - compatible = "arm,coresight-cti"; - reg = <0xfc30d000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <15>; - coresight-name = "coresight-cti5"; - coresight-nr-inports = <0>; - }; - - cti6: cti@fc30e000 { - compatible = "arm,coresight-cti"; - reg = <0xfc30e000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <16>; - coresight-name = "coresight-cti6"; - coresight-nr-inports = <0>; - }; - - cti7: cti@fc30f000 { - compatible = "arm,coresight-cti"; - reg = <0xfc30f000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <17>; - coresight-name = "coresight-cti7"; - coresight-nr-inports = <0>; - }; - - cti8: cti@fc310000 { - compatible = "arm,coresight-cti"; - reg = <0xfc310000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <18>; - coresight-name = "coresight-cti8"; - coresight-nr-inports = <0>; - }; - - cti_cpu: cti@fc333000 { - compatible = "arm,coresight-cti"; - reg = <0xfc333000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <19>; - coresight-name = "coresight-cti-cpu"; - coresight-nr-inports = <0>; - }; - - hwevent: hwevent@f9011038 { - compatible = "qcom,coresight-hwevent"; - reg = <0xf9011038 0x8>, - <0xfd4ab160 0x80>; - reg-names = "apcs-mux", "ppss-mux"; - - coresight-id = <20>; - coresight-name = "coresight-hwevent"; - coresight-nr-inports = <0>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/msm9625-display.dtsi b/kernel/arch/arm/boot/dts/lte_module-v1/msm9625-display.dtsi deleted file mode 100755 index 287a63aef..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/msm9625-display.dtsi +++ /dev/null @@ -1,20 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -&soc { - qcom,msm_qpic@f9ac0000 { - compatible = "qcom,mdss_qpic"; - reg = <0xf9ac0000 0x24000>; - reg-names = "qpic_base"; - interrupts = <0 251 0>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/msm9625-ion.dtsi b/kernel/arch/arm/boot/dts/lte_module-v1/msm9625-ion.dtsi deleted file mode 100755 index 6f9bb535d..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/msm9625-ion.dtsi +++ /dev/null @@ -1,35 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&soc { - qcom,ion { - compatible = "qcom,msm-ion"; - #address-cells = <1>; - #size-cells = <0>; - - qcom,ion-heap@30 { /* SYSTEM HEAP */ - reg = <30>; - }; - - qcom,ion-heap@25 { /* IOMMU HEAP */ - reg = <25>; - }; - - qcom,ion-heap@28 { /* AUDIO HEAP */ - compatible = "qcom,msm-ion-reserve"; - reg = <28>; - qcom,heap-align = <0x1000>; - qcom,memory-reservation-type = "EBI1"; /* reserve EBI memory */ - qcom,memory-reservation-size = <0xE9000>; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/msm9625-mtp.dtsi b/kernel/arch/arm/boot/dts/lte_module-v1/msm9625-mtp.dtsi deleted file mode 100755 index 1e5cc6846..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/msm9625-mtp.dtsi +++ /dev/null @@ -1,142 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&soc { - i2c@f9925000 { - }; - - wlan0: qca,wlan { - cell-index = <0>; - compatible = "qca,ar6004-hsic"; - qca,chip-pwd-l-gpios = <&msmgpio 62 0>; - qca,pm-enable-gpios = <&pm8019_gpios 3 0x0>; - qca,vdd-io-supply = <&pm8019_l11>; - }; - - qca,wlan_ar6003 { - cell-index = <0>; - compatible = "qca,ar6003-sdio"; - qca,chip-pwd-l-gpios = <&msmgpio 62 0>; - qca,pm-enable-gpios = <&pm8019_gpios 3 0x0>; - qca,vdd-io-supply = <&pm8019_l11>; - }; - - mp2617 { - cell-index = <0>; - compatible = "mps,mp2617"; - mps,chg-current-ma = <1000>; - mps,chg-vbat-div = <3>; /* Divided by 3 before input */ - mps,chg-en-gpio = <&msmgpio 13 0>; /* refer to board-9625-gpiomux.c */ - mps,chg-ok-gpio = <&msmgpio 71 0>; - mps,chg-m0-gpio = <&msmgpio 12 0>; - mps,chg-m1-gpio = <&msmgpio 17 0>; - }; - - leds { - compatible = "gpio-leds"; - sig0{ - label = "signal0_led"; - gpios = <&msmgpio 7 0>; - linux,default-trigger = "none"; - default-state = "off"; - }; - - sig1{ - label = "signal1_led"; - gpios = <&msmgpio 6 0>; - linux,default-trigger = "none"; - default-state = "off"; - }; - - sig2{ - label = "signal2_led"; - gpios = <&msmgpio 5 0>; - linux,default-trigger = "none"; - default-state = "off"; - }; - - sig3{ - label = "signal3_led"; - gpios = <&msmgpio 4 0>; - linux,default-trigger = "none"; - default-state = "off"; - }; - }; -}; - -/* PM8019 GPIO and MPP configuration */ -&pm8019_gpios { - gpio@c000 { /* GPIO 1 */ - }; - - gpio@c100 { /* GPIO 2 */ - }; - - gpio@c200 { /* GPIO 3 */ - }; - - gpio@c300 { /* GPIO 4 */ - /* ext_2p95v regulator enable config */ - qcom,mode = <1>; /* Digital output */ - qcom,output-type = <0>; /* CMOS */ - qcom,invert = <0>; /* Output low */ - qcom,out-strength = <1>; /* Low */ - qcom,vin-sel = <2>; /* PM8019 L11 - 1.8V */ - qcom,src-sel = <0>; /* Constant */ - qcom,master-en = <1>; /* Enable GPIO */ - }; - - gpio@c400 { /* GPIO 5 */ - }; - - gpio@c500 { /* GPIO 6 */ - }; -}; - -&pm8019_mpps { - mpp@a000 { /* MPP 1 */ - }; - - /* [linyunfeng] Detect battery voltage */ - mpp@a100 { /* MPP 2 */ - /* channel 17 */ - qcom,mode = <4>; - qcom,ain-route = <1>; /* AMUX 6 */ - qcom,master-en = <1>; - qcom,src-sel = <0>; /* Function constant */ - qcom,invert = <1>; - }; - - mpp@a200 { /* MPP 3 */ - }; - - mpp@a300 { /* MPP 4 */ - /* VADC channel 19 */ - qcom,mode = <4>; - qcom,ain-route = <3>; /* AMUX 8 */ - qcom,master-en = <1>; - qcom,src-sel = <0>; /* Function constant */ - qcom,invert = <1>; - }; - - mpp@a400 { /* MPP 5 */ - }; - - mpp@a500 { /* MPP 6 */ - /* channel 21 */ - qcom,mode = <4>; - qcom,ain-route = <1>; /* AMUX 6 */ - qcom,master-en = <1>; - qcom,src-sel = <0>; /* Function constant */ - qcom,invert = <1>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/msm9625-pm.dtsi b/kernel/arch/arm/boot/dts/lte_module-v1/msm9625-pm.dtsi deleted file mode 100755 index 673b64053..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/msm9625-pm.dtsi +++ /dev/null @@ -1,299 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/include/ "skeleton.dtsi" - -&soc { - qcom,spm@f9009000 { - compatible = "qcom,spm-v2"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xf9009000 0x1000>; - qcom,core-id = <0>; - qcom,saw2-ver-reg = <0xfd0>; - qcom,saw2-cfg = <0x101>; - qcom,saw2-spm-dly= <0>; - qcom,saw2-spm-ctl = <0x1>; - qcom,saw2-spm-cmd-wfi = [04 03 04 0f]; - qcom,saw2-spm-cmd-spc = [34 04 44 14 24 54 03 54 44 14 04 24 - 3e 0f]; - qcom,saw2-spm-cmd-pc = [34 04 44 14 24 54 07 54 44 14 04 24 - 3e 0f]; - }; - - qcom,lpm-resources { - compatible = "qcom,lpm-resources"; - #address-cells = <1>; - #size-cells = <0>; - - qcom,lpm-resources@0 { - reg = <0x0>; - qcom,name = "vdd-dig"; - qcom,type = <0x616F646C>; /* "ldoa" */ - qcom,id = <0x0A>; - qcom,key = <0x6e726f63>; /* "corn" */ - qcom,init-value = <5>; /* Super Turbo */ - }; - - qcom,lpm-resources@1 { - reg = <0x1>; - qcom,name = "vdd-mem"; - qcom,type = <0x616F646C>; /* "ldoa" */ - qcom,id = <0x0C>; - qcom,key = <0x7675>; /* "uv" */ - qcom,init-value = <1050000>; /* Super Turbo */ - }; - - qcom,lpm-resources@2 { - reg = <0x2>; - qcom,name = "pxo"; - qcom,type = <0x306b6c63>; /* "clk0" */ - qcom,id = <0x00>; - qcom,key = <0x62616e45>; /* "Enab" */ - qcom,init-value = "xo_on"; - }; - }; - - qcom,lpm-levels { - compatible = "qcom,lpm-levels"; - #address-cells = <1>; - #size-cells = <0>; - - qcom,use-qtimer; - - qcom,lpm-level@0 { - reg = <0x0>; - qcom,mode = "wfi"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_active"; - qcom,vdd-mem-upper-bound = <1050000>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <950000>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <100>; - qcom,ss-power = <8000>; - qcom,energy-overhead = <100000>; - qcom,time-overhead = <1>; - }; - - qcom,lpm-level@1 { - reg = <0x1>; - qcom,mode = "standalone_pc"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_active"; - qcom,vdd-mem-upper-bound = <1050000>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <950000>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <2000>; - qcom,ss-power = <5000>; - qcom,energy-overhead = <60100000>; - qcom,time-overhead = <3000>; - }; - - qcom,lpm-level@2 { - reg = <0x2>; - qcom,mode = "pc"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_gdhs"; - qcom,vdd-mem-upper-bound = <1050000>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <950000>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <3500>; - qcom,ss-power = <5000>; - qcom,energy-overhead = <60350000>; - qcom,time-overhead = <6300>; - }; - - qcom,lpm-level@3 { - reg = <0x3>; - qcom,mode = "pc"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_pc"; - qcom,vdd-mem-upper-bound = <1050000>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <950000>; /* SVS SOC */ - qcom,vdd-dig-upper-bound = <4>; /* NORMAL */ - qcom,vdd-dig-lower-bound = <3>; /* SVS SOC */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <4500>; - qcom,ss-power = <5000>; - qcom,energy-overhead = <60350000>; - qcom,time-overhead = <7300>; - }; - - qcom,lpm-level@4 { - reg = <0x4>; - qcom,mode = "pc"; - qcom,xo = "xo_off"; - qcom,l2 = "l2_cache_pc"; - qcom,vdd-mem-upper-bound = <1050000>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <950000>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,irqs-detectable; - qcom,latency-us = <6800>; - qcom,ss-power = <2000>; - qcom,energy-overhead = <71850000>; - qcom,time-overhead = <13300>; - }; - - qcom,lpm-level@5 { - reg = <0x5>; - qcom,mode = "pc"; - qcom,xo = "xo_off"; - qcom,l2 = "l2_cache_pc"; - qcom,vdd-mem-upper-bound = <1050000>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <950000>; /* SVS SOC */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <3>; /* SVS SOC */ - qcom,irqs-detectable; - qcom,latency-us = <8000>; - qcom,ss-power = <1800>; - qcom,energy-overhead = <71950000>; - qcom,time-overhead = <15300>; - }; - - qcom,lpm-level@6 { - reg = <0x6>; - qcom,mode = "pc"; - qcom,xo = "xo_off"; - qcom,l2 = "l2_cache_pc"; - qcom,vdd-mem-upper-bound = <950000>; /* SVS SOC */ - qcom,vdd-mem-lower-bound = <675000>; /* RETENTION */ - qcom,vdd-dig-upper-bound = <3>; /* SVS SOC */ - qcom,vdd-dig-lower-bound = <1>; /* RETENTION */ - qcom,latency-us = <9800>; - qcom,ss-power = <0>; - qcom,energy-overhead = <76350000>; - qcom,time-overhead = <28300>; - }; - }; - - qcom,pm-boot { - compatible = "qcom,pm-boot"; - qcom,mode = "tz"; - }; - - qcom,mpm@fc4281d0 { - compatible = "qcom,mpm-v2"; - reg = <0xfc4281d0 0x1000>, /* MSM_RPM_MPM_BASE 4K */ - <0xf9011008 0x4>; /* MSM_APCS_GCC_BASE 4K */ - reg-names = "vmpm", "ipc"; - interrupts = <0 171 1>; - - qcom,ipc-bit-offset = <1>; - - qcom,gic-parent = <&intc>; - qcom,gic-map = <2 216>, /* tsens_upper_lower_int */ - <47 172>, /* usb2_hsic_async_wakeup_irq */ - <41 180>, /* usb_async_wakeup_irq */ - <62 222>, /* ee0_krait_hlos_spmi_periph_irq */ - <0xff 57>, /* mss_to_apps_irq(0) */ - <0xff 58>, /* mss_to_apps_irq(1) */ - <0xff 59>, /* mss_to_apps_irq(2) */ - <0xff 60>, /* mss_to_apps_irq(3) */ - <0xff 173>, /* o_wcss_apss_smd_hi */ - <0xff 174>, /* o_wcss_apss_smd_med */ - <0xff 175>, /* o_wcss_apss_smd_lo */ - <0xff 176>, /* o_wcss_apss_smsm_irq */ - <0xff 177>, /* o_wcss_apss_wlan_data_xfer_done */ - <0xff 178>, /* o_wcss_apss_wlan_rx_data_avail */ - <0xff 179>, /* o_wcss_apss_asic_intr */ - <0xff 188>, /* q6ss_irq_out(4) */ - <0xff 189>, /* q6ss_irq_out(5) */ - <0xff 190>, /* q6ss_irq_out(6) */ - <0xff 191>, /* q6ss_irq_out(7) */ - <0xff 192>, /* audio_out0_irq */ - <0xff 193>, /* midi_arm_irq */ - <0xff 194>, /* q6ss_wdog_exp_irq */ - <0xff 195>, /* slimbus_core_ee1_irq */ - <0xff 196>, /* bam_irq(1) */ - <0xff 197>, /* qdss_irq_out(7) */ - <0xff 200>, /* rpm_ipc(4) */ - <0xff 201>, /* rpm_ipc(5) */ - <0xff 202>, /* rpm_ipc(6) */ - <0xff 203>, /* rpm_ipc(7) */ - <0xff 204>, /* rpm_ipc(24) */ - <0xff 205>, /* rpm_ipc(25) */ - <0xff 206>, /* rpm_ipc(26) */ - <0xff 207>, /* rpm_ipc(27) */ - <0xff 240>; /* summary_irq_kpss */ - - qcom,gpio-parent = <&msmgpio>; - qcom,gpio-map = <4 0>, - <5 1>, - <6 2>, - <7 3>, - <8 4>, - <9 5>, - <10 6>, - <11 7>, - <12 8>, - <13 9>, - <14 10>, - <15 11>, - <16 12>, - <17 13>, - <18 14>, - <19 15>, - <20 16>, - <21 17>, - <22 18>, - <23 19>, - <24 20>, - <25 21>, - <26 24>, - <27 25>, - <28 51>, - <29 61>, - <30 62>, - <31 63>, - <32 64>, - <33 65>, - <34 66>, - <35 67>, - <36 69>, - <37 71>; - }; - - qcom,pm-8x60 { - compatible = "qcom,pm-8x60"; - qcom,pc-mode = "tz_l2_ext"; - qcom,use-sync-timer; - }; - - qcom,rpm-log@fc19dc00 { - compatible = "qcom,rpm-log"; - reg = <0xfc19dc00 0x4000>; - qcom,rpm-addr-phys = <0xfc000000>; - qcom,offset-version = <4>; - qcom,offset-page-buffer-addr = <36>; - qcom,offset-log-len = <40>; - qcom,offset-log-len-mask = <44>; - qcom,offset-page-indices = <56>; - }; - - qcom,rpm-stats@fc19dba0 { - compatible = "qcom,rpm-stats"; - reg = <0xfc19dba0 0x1000>; - reg-names = "phys_addr_base"; - qcom,sleep-stats-version = <2>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/msm9625-regulator.dtsi b/kernel/arch/arm/boot/dts/lte_module-v1/msm9625-regulator.dtsi deleted file mode 100755 index eb56d1c6a..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/msm9625-regulator.dtsi +++ /dev/null @@ -1,284 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&rpm_bus { - rpm-regulator-smpa1 { - status = "okay"; - pm8019_s1: regulator-s1 { - regulator-min-microvolt = <800000>; - regulator-max-microvolt = <1050000>; - qcom,init-voltage = <1050000>; - status = "okay"; - }; - }; - - rpm-regulator-smpa2 { - status = "okay"; - pm8019_s2: regulator-s2 { - regulator-min-microvolt = <1250000>; - regulator-max-microvolt = <1250000>; - qcom,init-voltage = <1250000>; - qcom,init-current = <100>; - qcom,system-load = <100000>; - regulator-always-on; - status = "okay"; - }; - }; - - rpm-regulator-smpa3 { - status = "okay"; - pm8019_s3: regulator-s3 { - regulator-min-microvolt = <1000000>; - regulator-max-microvolt = <1100000>; - qcom,init-voltage = <1100000>; - qcom,init-current = <100>; - qcom,system-load = <100000>; - regulator-always-on; - status = "okay"; - }; - pm8019_s3_ao: regulator-s3-ao { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8019_s3_ao"; - qcom,set = <1>; - regulator-min-microvolt = <1000000>; - regulator-max-microvolt = <1100000>; - status = "okay"; - }; - }; - - rpm-regulator-smpa4 { - status = "okay"; - pm8019_s4: regulator-s4 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <2075000>; - qcom,init-voltage = <2075000>; - qcom,init-current = <100>; - qcom,system-load = <100000>; - regulator-always-on; - status = "okay"; - }; - }; - - rpm-regulator-ldoa1 { - status = "okay"; - pm8019_l1: regulator-l1 { - parent-supply = <&pm8019_s2>; - regulator-min-microvolt = <1225000>; - regulator-max-microvolt = <1225000>; - qcom,init-voltage = <1225000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa2 { - status = "okay"; - pm8019_l2: regulator-l2 { - parent-supply = <&pm8019_s4>; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa3 { - status = "okay"; - pm8019_l3: regulator-l3 { - parent-supply = <&pm8019_s4>; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa4 { - status = "okay"; - pm8019_l4: regulator-l4 { - regulator-min-microvolt = <3075000>; - regulator-max-microvolt = <3075000>; - qcom,init-voltage = <3075000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa5 { - status = "okay"; - pm8019_l5: regulator-l5 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <2850000>; - qcom,init-voltage = <1800000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa6 { - status = "okay"; - pm8019_l6: regulator-l6 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <2850000>; - qcom,init-voltage = <1800000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa7 { - status = "okay"; - pm8019_l7: regulator-l7 { - parent-supply = <&pm8019_s4>; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa8 { - status = "okay"; - pm8019_l8: regulator-l8 { - parent-supply = <&pm8019_s4>; - regulator-min-microvolt = <2050000>; - regulator-max-microvolt = <2050000>; - qcom,init-voltage = <2050000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa9 { - status = "okay"; - pm8019_l9: regulator-l9 { - parent-supply = <&pm8019_s2>; - regulator-min-microvolt = <1200000>; - regulator-max-microvolt = <1200000>; - qcom,init-voltage = <1200000>; - qcom,init-current = <10>; - qcom,system-load = <10000>; - regulator-always-on; - status = "okay"; - }; - }; - - rpm-regulator-ldoa10 { - status = "okay"; - pm8019_l10: regulator-l10 { - parent-supply = <&pm8019_s3>; - regulator-min-microvolt = <500000>; - regulator-max-microvolt = <1050000>; - status = "okay"; - }; - pm8019_l10_corner: regulator-l10-corner { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8019_l10_corner"; - qcom,set = <3>; - regulator-min-microvolt = <1>; - regulator-max-microvolt = <7>; - qcom,use-voltage-corner; - status = "okay"; - qcom,consumer-supplies = "vdd_dig", ""; - }; - pm8019_l10_corner_ao: regulator-l10-corner-ao { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8019_l10_corner_ao"; - qcom,set = <1>; - regulator-min-microvolt = <1>; - regulator-max-microvolt = <7>; - qcom,use-voltage-corner; - status = "okay"; - }; - pm8019_l10_floor_corner: regulator-l10-floor-corner { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8019_l10_floor_corner"; - qcom,set = <3>; - regulator-min-microvolt = <1>; - regulator-max-microvolt = <7>; - qcom,use-voltage-floor-corner; - qcom,always-send-voltage; - }; - }; - - rpm-regulator-ldoa11 { - status = "okay"; - pm8019_l11: regulator-l11 { - parent-supply = <&pm8019_s4>; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - qcom,init-current = <10>; - qcom,system-load = <10000>; - regulator-always-on; - status = "okay"; - }; - }; - - rpm-regulator-ldoa12 { - status = "okay"; - pm8019_l12: regulator-l12 { - parent-supply = <&pm8019_s3>; - regulator-min-microvolt = <675000>; - regulator-max-microvolt = <1050000>; - status = "okay"; - }; - pm8019_l12_ao: regulator-l12-ao { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8019_l12_ao"; - qcom,set = <1>; - parent-supply = <&pm8019_s3_ao>; - regulator-min-microvolt = <675000>; - regulator-max-microvolt = <1050000>; - status = "okay"; - }; - pm8019_l12_so: regulator-l12-so { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8019_l12_so"; - qcom,set = <2>; - parent-supply = <&pm8019_s3>; - regulator-min-microvolt = <675000>; - regulator-max-microvolt = <1050000>; - qcom,init-voltage = <675000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa13 { - status = "okay"; - pm8019_l13: regulator-l13 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <2950000>; - qcom,init-voltage = <2950000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa14 { - status = "okay"; - pm8019_l14: regulator-l14 { - regulator-min-microvolt = <2700000>; - regulator-max-microvolt = <2700000>; - qcom,init-voltage = <2700000>; - status = "okay"; - }; - }; -}; - -&soc { - ext_2p95v: regulator-isl80101 { - compatible = "regulator-fixed"; - regulator-name = "ext_2p95v"; - gpio = <&pm8019_gpios 4 0>; - enable-active-high; - }; - - usb_vbus: regulator-usb-vbus { - compatible = "regulator-fixed"; - regulator-name = "usb_vbus"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/msm9625-smp2p.dtsi b/kernel/arch/arm/boot/dts/lte_module-v1/msm9625-smp2p.dtsi deleted file mode 100755 index f8ad351a4..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/msm9625-smp2p.dtsi +++ /dev/null @@ -1,142 +0,0 @@ -/* Copyright (c) 2013, 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. - */ -&soc { - qcom,smp2p-modem { - compatible = "qcom,smp2p"; - reg = <0xf9011008 0x4>; - qcom,remote-pid = <1>; - qcom,irq-bitmask = <0x4000>; - interrupts = <0 27 1>; - }; - - qcom,smp2p-adsp { - compatible = "qcom,smp2p"; - reg = <0xf9011008 0x4>; - qcom,remote-pid = <2>; - qcom,irq-bitmask = <0x400>; - interrupts = <0 158 1>; - }; - - smp2pgpio_smp2p_7_in: qcom,smp2pgpio-smp2p-7-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <7>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_7_in { - compatible = "qcom,smp2pgpio_test_smp2p_7_in"; - gpios = <&smp2pgpio_smp2p_7_in 0 0>; - }; - - smp2pgpio_smp2p_7_out: qcom,smp2pgpio-smp2p-7-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <7>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_7_out { - compatible = "qcom,smp2pgpio_test_smp2p_7_out"; - gpios = <&smp2pgpio_smp2p_7_out 0 0>; - }; - - smp2pgpio_smp2p_1_in: qcom,smp2pgpio-smp2p-1-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <1>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_1_in { - compatible = "qcom,smp2pgpio_test_smp2p_1_in"; - gpios = <&smp2pgpio_smp2p_1_in 0 0>; - }; - - smp2pgpio_smp2p_1_out: qcom,smp2pgpio-smp2p-1-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <1>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_1_out { - compatible = "qcom,smp2pgpio_test_smp2p_1_out"; - gpios = <&smp2pgpio_smp2p_1_out 0 0>; - }; - - smp2pgpio_ssr_smp2p_1_in: qcom,smp2pgpio-ssr-smp2p-1-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "slave-kernel"; - qcom,remote-pid = <1>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - smp2pgpio_ssr_smp2p_1_out: qcom,smp2pgpio-ssr-smp2p-1-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "master-kernel"; - qcom,remote-pid = <1>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - smp2pgpio_smp2p_2_in: qcom,smp2pgpio-smp2p-2-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <2>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_2_in { - compatible = "qcom,smp2pgpio_test_smp2p_2_in"; - gpios = <&smp2pgpio_smp2p_2_in 0 0>; - }; - - smp2pgpio_smp2p_2_out: qcom,smp2pgpio-smp2p-2-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <2>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_2_out { - compatible = "qcom,smp2pgpio_test_smp2p_2_out"; - gpios = <&smp2pgpio_smp2p_2_out 0 0>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/msm9625-v1-cdp.dts b/kernel/arch/arm/boot/dts/lte_module-v1/msm9625-v1-cdp.dts deleted file mode 100755 index d7537eb35..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/msm9625-v1-cdp.dts +++ /dev/null @@ -1,24 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/dts-v1/; - -/include/ "msm9625-v1.dtsi" -/include/ "msm9625-cdp.dtsi" - -/ { - model = "Qualcomm MSM 9625V1 CDP"; - compatible = "qcom,msm9625-cdp", "qcom,msm9625", "qcom,cdp"; - qcom,msm-id = <134 1 0>, <152 1 0>, <149 1 0>, <150 1 0>, - <151 1 0>, <148 1 0>, <173 1 0>, <174 1 0>, - <175 1 0>; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/msm9625-v1-mtp.dts b/kernel/arch/arm/boot/dts/lte_module-v1/msm9625-v1-mtp.dts deleted file mode 100755 index a70ec1aa7..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/msm9625-v1-mtp.dts +++ /dev/null @@ -1,24 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/dts-v1/; - -/include/ "msm9625-v1.dtsi" -/include/ "msm9625-mtp.dtsi" - -/ { - model = "Qualcomm MSM 9625V1 MTP"; - compatible = "qcom,msm9625-mtp", "qcom,msm9625", "qcom,mtp"; - qcom,msm-id = <134 7 0>, <152 7 0>, <149 7 0>, <150 7 0>, - <151 7 0>, <148 7 0>, <173 7 0>, <174 7 0>, - <175 7 0>; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/msm9625-v1-rumi.dts b/kernel/arch/arm/boot/dts/lte_module-v1/msm9625-v1-rumi.dts deleted file mode 100755 index ef0068143..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/msm9625-v1-rumi.dts +++ /dev/null @@ -1,26 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/dts-v1/; - -/include/ "msm9625-v1.dtsi" - -/ { - model = "Qualcomm MSM 9625V1 RUMI"; - compatible = "qcom,msm9625-rumi", "qcom,msm9625", "qcom,rumi"; - qcom,msm-id = <134 15 0>; - - chosen{ - bootargs = "root=/dev/ram rw init=/init console=ttyHSL0,115200n8 initrd=0x00000000,0x00000000 mem=29M@0x00200000 mem=10M@0x07600000"; - - }; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/msm9625-v1.dtsi b/kernel/arch/arm/boot/dts/lte_module-v1/msm9625-v1.dtsi deleted file mode 100755 index b238ba549..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/msm9625-v1.dtsi +++ /dev/null @@ -1,67 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/* - * As a general rule, only version-specific property overrides should be placed - * inside this file. However, device definitions should be placed inside the - * msm9625.dtsi file. - */ - -/include/ "msm9625.dtsi" - -&soc { - qcom,msm-imem@fc42a800 { - compatible = "qcom,msm-imem"; - reg = <0xfc42a800 0x1000>; /* Address and size of IMEM */ - }; - - android_usb@fc42a8c8 { - compatible = "qcom,android-usb"; - reg = <0xfc42a8c8 0xc8>; - qcom,android-usb-swfi-latency = <100>; - }; - - qcom,bam_dmux@fc834000 { - compatible = "qcom,bam_dmux"; - reg = <0xfc834000 0x7000>; - interrupts = <0 29 1>; - }; -}; - -&hsic_host { - qcom,disable-park-mode; -}; - -&ipa_hw { - qcom,ipa-hw-ver = <1>; /* IPA h-w revision */ -}; - -/* CoreSight */ -&tmc_etr { - qcom,reset-flush-race; -}; - -&stm { - qcom,write-64bit; -}; - -&sfpb_spinlock { - status = "disable"; -}; - -&ldrex_spinlock { - status = "ok"; -}; - -&hsic_host { - qcom,phy-sof-workaround; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/msm9625-v2-cdp.dts b/kernel/arch/arm/boot/dts/lte_module-v1/msm9625-v2-cdp.dts deleted file mode 100755 index 9fbe5ec8a..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/msm9625-v2-cdp.dts +++ /dev/null @@ -1,24 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; - -/include/ "msm9625-v2.dtsi" -/include/ "msm9625-cdp.dtsi" - -/ { - model = "Qualcomm MSM 9625V2 CDP"; - compatible = "qcom,msm9625-cdp", "qcom,msm9625", "qcom,cdp"; - qcom,msm-id = <134 1 0x20000>, <152 1 0x20000>, <149 1 0x20000>, - <150 1 0x20000>, <151 1 0x20000>, <148 1 0x20000>, - <173 1 0x20000>, <174 1 0x20000>, <175 1 0x20000>; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/msm9625-v2-mtp.dts b/kernel/arch/arm/boot/dts/lte_module-v1/msm9625-v2-mtp.dts deleted file mode 100755 index 27d00664a..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/msm9625-v2-mtp.dts +++ /dev/null @@ -1,122 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; - -/include/ "msm9625-v2.dtsi" -/include/ "msm9625-mtp.dtsi" - -/ { - model = "Qualcomm MSM 9625V2 MTP"; - compatible = "qcom,msm9625-mtp", "qcom,msm9625", "qcom,mtp"; - qcom,msm-id = <134 7 0x20000>, <152 7 0x20000>, <149 7 0x20000>, - <150 7 0x20000>, <151 7 0x20000>, <148 7 0x20000>, - <173 7 0x20000>, <174 7 0x20000>, <175 7 0x20000>; -}; - -&soc { - i2c@f9925000 { - charger@57 { - compatible = "summit,smb137c"; - reg = <0x57>; - summit,chg-current-ma = <1500>; - summit,term-current-ma = <50>; - summit,pre-chg-current-ma = <100>; - summit,float-voltage-mv = <4200>; - summit,thresh-voltage-mv = <3000>; - summit,recharge-thresh-mv = <75>; - summit,system-voltage-mv = <4250>; - summit,charging-timeout = <382>; - summit,pre-charge-timeout = <48>; - summit,therm-current-ua = <10>; - summit,temperature-min = <4>; /* 0 C */ - summit,temperature-max = <3>; /* 45 C */ - }; - }; - - wlan0: qca,wlan { - cell-index = <0>; - compatible = "qca,ar6004-hsic"; - qca,chip-pwd-l-gpios = <&msmgpio 62 0>; - qca,pm-enable-gpios = <&pm8019_gpios 3 0x0>; - qca,vdd-io-supply = <&pm8019_l11>; - }; - - qca,wlan_ar6003 { - cell-index = <0>; - compatible = "qca,ar6003-sdio"; - qca,chip-pwd-l-gpios = <&msmgpio 62 0>; - qca,pm-enable-gpios = <&pm8019_gpios 3 0x0>; - qca,vdd-io-supply = <&pm8019_l11>; - }; -}; - -/* PM8019 GPIO and MPP configuration */ -&pm8019_gpios { - gpio@c000 { /* GPIO 1 */ - }; - - gpio@c100 { /* GPIO 2 */ - }; - - gpio@c200 { /* GPIO 3 */ - }; - - gpio@c300 { /* GPIO 4 */ - /* ext_2p95v regulator enable config */ - qcom,mode = <1>; /* Digital output */ - qcom,output-type = <0>; /* CMOS */ - qcom,invert = <0>; /* Output low */ - qcom,out-strength = <1>; /* Low */ - qcom,vin-sel = <2>; /* PM8019 L11 - 1.8V */ - qcom,src-sel = <0>; /* Constant */ - qcom,master-en = <1>; /* Enable GPIO */ - }; - - gpio@c400 { /* GPIO 5 */ - }; - - gpio@c500 { /* GPIO 6 */ - }; -}; - -&pm8019_mpps { - mpp@a000 { /* MPP 1 */ - }; - - mpp@a100 { /* MPP 2 */ - }; - - mpp@a200 { /* MPP 3 */ - }; - - mpp@a300 { /* MPP 4 */ - /* VADC channel 19 */ - qcom,mode = <4>; - qcom,ain-route = <3>; /* AMUX 8 */ - qcom,master-en = <1>; - qcom,src-sel = <0>; /* Function constant */ - qcom,invert = <1>; - }; - - mpp@a400 { /* MPP 5 */ - }; - - mpp@a500 { /* MPP 6 */ - /* channel 21 */ - qcom,mode = <4>; - qcom,ain-route = <1>; /* AMUX 6 */ - qcom,master-en = <1>; - qcom,src-sel = <0>; /* Function constant */ - qcom,invert = <1>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/msm9625-v2.1-cdp.dts b/kernel/arch/arm/boot/dts/lte_module-v1/msm9625-v2.1-cdp.dts deleted file mode 100755 index b64359381..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/msm9625-v2.1-cdp.dts +++ /dev/null @@ -1,24 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; - -/include/ "msm9625-v2.1.dtsi" -/include/ "msm9625-cdp.dtsi" - -/ { - model = "Qualcomm MSM 9625V2.1 CDP"; - compatible = "qcom,msm9625-cdp", "qcom,msm9625", "qcom,cdp"; - qcom,msm-id = <134 1 0x20001>, <152 1 0x20001>, <149 1 0x20001>, - <150 1 0x20001>, <151 1 0x20001>, <148 1 0x20001>, - <173 1 0x20001>, <174 1 0x20001>, <175 1 0x20001>; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/msm9625-v2.1-mtp.dts b/kernel/arch/arm/boot/dts/lte_module-v1/msm9625-v2.1-mtp.dts deleted file mode 100755 index 8bbcc0d55..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/msm9625-v2.1-mtp.dts +++ /dev/null @@ -1,24 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; - -/include/ "msm9625-v2.1.dtsi" -/include/ "msm9625-mtp.dtsi" - -/ { - model = "Qualcomm MSM 9625V2.1 MTP"; - compatible = "qcom,msm9625-mtp", "qcom,msm9625", "qcom,mtp"; - qcom,msm-id = <134 7 0x20001>, <152 7 0x20001>, <149 7 0x20001>, - <150 7 0x20001>, <151 7 0x20001>, <148 7 0x20001>, - <173 7 0x20001>, <174 7 0x20001>, <175 7 0x20001>; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/msm9625-v2.1.dtsi b/kernel/arch/arm/boot/dts/lte_module-v1/msm9625-v2.1.dtsi deleted file mode 100755 index 5720700e3..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/msm9625-v2.1.dtsi +++ /dev/null @@ -1,40 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/* - * As a general rule, only version-specific property overrides should be placed - * inside this file. However, device definitions should be placed inside the - * msm9625.dtsi file. - */ - -/include/ "msm9625.dtsi" - -&soc { - qcom,msm-imem@fe807800 { - compatible = "qcom,msm-imem"; - reg = <0xfe807800 0x1000>; /* Address and size of IMEM */ - }; - - android_usb@fe8078c8 { - compatible = "qcom,android-usb"; - reg = <0xfe8078c8 0xc8>; - qcom,android-usb-swfi-latency = <100>; - }; -}; - -&ipa_hw { - qcom,ipa-hw-ver = <2>; /* IPA h-w revision */ -}; - -&hsusb_otg { - qcom,hsusb-l1-supported; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/msm9625-v2.dtsi b/kernel/arch/arm/boot/dts/lte_module-v1/msm9625-v2.dtsi deleted file mode 100755 index 3eda3f896..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/msm9625-v2.dtsi +++ /dev/null @@ -1,54 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/* - * As a general rule, only version-specific property overrides should be placed - * inside this file. However, device definitions should be placed inside the - * msm9625.dtsi file. - */ - -/include/ "msm9625.dtsi" - -&soc { - qcom,msm-imem@fe807800 { - compatible = "qcom,msm-imem"; - reg = <0xfe807800 0x1000>; /* Address and size of IMEM */ - }; - - android_usb@fe8078c8 { - compatible = "qcom,android-usb"; - reg = <0xfe8078c8 0xc8>; - qcom,android-usb-swfi-latency = <100>; - }; -}; - -&ipa_hw { - qcom,ipa-hw-ver = <2>; /* IPA h-w revision */ -}; - -&hsic_host { - qcom,disable-park-mode; - qcom,phy-susp-sof-workaround; - qcom,phy-reset-sof-workaround; -}; - -&sfpb_spinlock { - status = "disable"; -}; - -&ldrex_spinlock { - status = "ok"; -}; - -&hsusb_otg { - qcom,hsusb-l1-supported; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/msm9625.dtsi b/kernel/arch/arm/boot/dts/lte_module-v1/msm9625.dtsi deleted file mode 100755 index a6e9c2451..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/msm9625.dtsi +++ /dev/null @@ -1,856 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/include/ "skeleton.dtsi" - -/ { - model = "Qualcomm MSM 9625"; - compatible = "qcom,msm9625"; - interrupt-parent = <&intc>; - - soc: soc { }; -}; - -/include/ "msm9625-ion.dtsi" -/include/ "msm9625-pm.dtsi" -/include/ "msm9625-coresight.dtsi" -/include/ "msm9625-smp2p.dtsi" - -&soc { - #address-cells = <1>; - #size-cells = <1>; - ranges; - - intc: interrupt-controller@F9000000 { - compatible = "qcom,msm-qgic2"; - interrupt-controller; - #interrupt-cells = <3>; - reg = <0xF9000000 0x1000>, - <0xF9002000 0x1000>; - }; - - l2: cache-controller@f9040000 { - compatible = "arm,pl310-cache"; - reg = <0xf9040000 0x1000>; - cache-unified; - cache-level = <2>; - }; - - msmgpio: gpio@fd510000 { - compatible = "qcom,msm-gpio"; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - reg = <0xfd510000 0x4000>; - ngpio = <76>; - interrupts = <0 208 0>; - qcom,direct-connect-irqs = <8>; - }; - - 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 7 0x4>, - <0 6 0x4>; - reg = <0xf9021000 0x1000>, - <0xf9022000 0x1000>; - }; - - frame@f9023000 { - frame-number = <1>; - interrupts = <0 8 0x4>; - reg = <0xf9023000 0x1000>; - status = "disabled"; - }; - - frame@f9024000 { - frame-number = <2>; - interrupts = <0 9 0x4>; - reg = <0xf9024000 0x1000>; - status = "disabled"; - }; - - frame@f9025000 { - frame-number = <3>; - interrupts = <0 10 0x4>; - reg = <0xf9025000 0x1000>; - status = "disabled"; - }; - - frame@f9026000 { - frame-number = <4>; - interrupts = <0 11 0x4>; - reg = <0xf9026000 0x1000>; - status = "disabled"; - }; - - frame@f9027000 { - frame-number = <5>; - interrupts = <0 12 0x4>; - reg = <0xf9027000 0x1000>; - status = "disabled"; - }; - - frame@f9028000 { - frame-number = <6>; - interrupts = <0 13 0x4>; - reg = <0xf9028000 0x1000>; - status = "disabled"; - }; - - frame@f9029000 { - frame-number = <7>; - interrupts = <0 14 0x4>; - reg = <0xf9029000 0x1000>; - status = "disabled"; - }; - }; - - qcom,sps@f9980000 { - compatible = "qcom,msm_sps"; - reg = <0xf9984000 0x15000>, - <0xf9999000 0xb000>, - <0xfe803000 0x4800>; - interrupts = <0 94 0>; - qcom,device-type = <2>; - }; - - serial@f991f000 { - compatible = "qcom,msm-lsuart-v14"; - reg = <0xf991f000 0x1000>; - interrupts = <0 109 0>; - qcom,msm-bus,name = "blsp1_uart3"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <86 512 0 0>, - <86 512 500 800>; - }; - - hsusb_otg: usb@f9a55000 { - compatible = "qcom,hsusb-otg"; - reg = <0xf9a55000 0x400>; - interrupts = <0 134 0 0 140 0>; - interrupt-names = "core_irq", "async_irq"; - HSUSB_VDDCX-supply = <&pm8019_l12>; - HSUSB_1p8-supply = <&pm8019_l2>; - HSUSB_3p3-supply = <&pm8019_l4>; - vbus_otg-supply = <&usb_vbus>; - - qcom,hsusb-otg-phy-type = <2>; - qcom,hsusb-otg-mode = <1>; - qcom,hsusb-otg-otg-control = <1>; - qcom,hsusb-otg-disable-reset; - qcom,hsusb-otg-delay-lpm-hndshk-on-disconnect; - qcom,hsusb-otg-delay-lpm; - qcom,hsusb-otg-mpm-dpsehv-int = <49>; - - qcom,msm-bus,name = "usb2"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <87 512 0 0>, - <87 512 40000 640000>; - qcom,hsusb-log2-itc = <4>; - }; - - hsic_host: hsic@f9a15000 { - compatible = "qcom,hsic-host"; - reg = <0xf9a15000 0x400>; - interrupts = <0 136 0>, <0 148 0>; - interrupt-names = "core_irq", "async_irq"; - HSIC_VDDCX-supply = <&pm8019_l12>; - HSIC_GDSC-supply = <&gdsc_usb_hsic>; - - qcom,msm-bus,name = "hsic"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <85 512 0 0>, - <85 512 40000 640000>; - qcom,pool-64-bit-align; - qcom,enable-hbm; - hsic,consider-ipa-handshake; - qcom,ahb-async-bridge-bypass; - hsic,disable-cerr; - qcom,disable-internal-clk-gating; - }; - - qcom,usbbam@f9a44000 { - compatible = "qcom,usb-bam-msm"; - reg = <0xf9a44000 0x11000>, - <0xf9a04000 0x11000>; - reg-names = "hsusb", "hsic"; - interrupts = <0 135 0 0 255 0>; - interrupt-names = "hsusb", "hsic"; - qcom,usb-bam-num-pipes = <16>; - qcom,ignore-core-reset-ack; - qcom,disable-clk-gating; - - qcom,pipe0 { - label = "hsusb-ipa-out-0"; - qcom,usb-bam-mem-type = <2>; - qcom,bam-type = <1>; - qcom,dir = <0>; - qcom,pipe-num = <0>; - qcom,peer-bam = <2>; - qcom,src-bam-physical-address = <0xf9a44000>; - qcom,src-bam-pipe-index = <1>; - qcom,data-fifo-size = <0x8000>; - qcom,descriptor-fifo-size = <0x2000>; - qcom,reset-bam-on-connect; - }; - qcom,pipe1 { - label = "hsusb-ipa-in-0"; - qcom,usb-bam-mem-type = <2>; - qcom,bam-type = <1>; - qcom,dir = <1>; - qcom,pipe-num = <0>; - qcom,peer-bam = <2>; - qcom,dst-bam-physical-address = <0xf9a44000>; - qcom,dst-bam-pipe-index = <0>; - qcom,data-fifo-size = <0x8000>; - qcom,descriptor-fifo-size = <0x2000>; - qcom,reset-bam-on-connect; - }; - qcom,pipe2 { - label = "hsusb-qdss-in-0"; - qcom,usb-bam-mem-type = <0>; - qcom,bam-type = <1>; - 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 = <0xf9a44000>; - qcom,dst-bam-pipe-index = <2>; - qcom,data-fifo-offset = <0x4100>; - qcom,data-fifo-size = <0x700>; - qcom,descriptor-fifo-offset = <0x4000>; - qcom,descriptor-fifo-size = <0x100>; - }; - qcom,pipe3 { - label = "hsic-ipa-in-0"; - qcom,usb-bam-mem-type = <2>; - qcom,bam-type = <2>; - qcom,dir = <1>; - qcom,pipe-num = <0>; - qcom,peer-bam = <2>; - qcom,dst-bam-physical-address = <0xf9a04000>; - qcom,dst-bam-pipe-index = <3>; - qcom,data-fifo-size = <0xF800>; - qcom,descriptor-fifo-size = <0x3A58>; - qcom,reset-bam-on-connect; - }; - qcom,pipe4 { - label = "hsic-ipa-in-1"; - qcom,bam-type = <2>; - qcom,dir = <1>; - qcom,pipe-num = <1>; - qcom,peer-bam = <2>; - qcom,usb-bam-mem-type = <2>; - qcom,dst-bam-physical-address = <0xf9a04000>; - qcom,dst-bam-pipe-index = <4>; - qcom,data-fifo-size = <0xF800>; - qcom,descriptor-fifo-size = <0x3A58>; - qcom,reset-bam-on-connect; - }; - qcom,pipe5 { - label = "hsic-ipa-in-2"; - qcom,usb-bam-mem-type = <2>; - qcom,bam-type = <2>; - qcom,dir = <1>; - qcom,pipe-num = <2>; - qcom,peer-bam = <2>; - qcom,dst-bam-physical-address = <0xf9a04000>; - qcom,dst-bam-pipe-index = <5>; - qcom,data-fifo-size = <0xF800>; - qcom,descriptor-fifo-size = <0x3A58>; - qcom,reset-bam-on-connect; - }; - qcom,pipe6 { - label = "hsic-ipa-in-3"; - qcom,usb-bam-mem-type = <2>; - qcom,bam-type = <2>; - qcom,dir = <1>; - qcom,pipe-num = <3>; - qcom,peer-bam = <2>; - qcom,dst-bam-physical-address = <0xf9a04000>; - qcom,dst-bam-pipe-index = <6>; - qcom,data-fifo-size = <0xF800>; - qcom,descriptor-fifo-size = <0x3A58>; - qcom,reset-bam-on-connect; - }; - qcom,pipe7 { - label = "hsic-ipa-out-0"; - qcom,usb-bam-mem-type = <2>; - qcom,bam-type = <2>; - qcom,dir = <0>; - qcom,pipe-num = <0>; - qcom,peer-bam = <2>; - qcom,src-bam-physical-address = <0xf9a04000>; - qcom,src-bam-pipe-index = <7>; - qcom,data-fifo-size = <0xDFE>; - qcom,descriptor-fifo-size = <0xB30>; - qcom,reset-bam-on-connect; - }; - - qcom,pipe8 { - label = "hsusb-ipa-out-1"; - qcom,usb-bam-mem-type = <2>; - qcom,bam-type = <1>; - qcom,dir = <0>; - qcom,pipe-num = <1>; - qcom,peer-bam = <2>; - qcom,src-bam-physical-address = <0xf9a44000>; - qcom,src-bam-pipe-index = <5>; - qcom,data-fifo-size = <0x8000>; - qcom,descriptor-fifo-size = <0x2000>; - qcom,reset-bam-on-connect; - }; - - qcom,pipe9 { - label = "hsusb-ipa-in-1"; - qcom,usb-bam-mem-type = <2>; - qcom,bam-type = <1>; - qcom,dir = <1>; - qcom,pipe-num = <1>; - qcom,peer-bam = <2>; - qcom,dst-bam-physical-address = <0xf9a44000>; - qcom,dst-bam-pipe-index = <4>; - qcom,data-fifo-size = <0x8000>; - qcom,descriptor-fifo-size = <0x2000>; - qcom,reset-bam-on-connect; - }; - - qcom,pipe10 { - label = "hsusb-ipa-out-2"; - qcom,usb-bam-mem-type = <2>; - qcom,bam-type = <1>; - qcom,dir = <0>; - qcom,pipe-num = <2>; - qcom,peer-bam = <2>; - qcom,src-bam-physical-address = <0xf9a44000>; - qcom,src-bam-pipe-index = <7>; - qcom,data-fifo-size = <0x8000>; - qcom,descriptor-fifo-size = <0x2000>; - qcom,reset-bam-on-connect; - }; - - qcom,pipe11 { - label = "hsusb-ipa-in-2"; - qcom,usb-bam-mem-type = <2>; - qcom,bam-type = <1>; - qcom,dir = <1>; - qcom,pipe-num = <2>; - qcom,peer-bam = <2>; - qcom,dst-bam-physical-address = <0xf9a44000>; - qcom,dst-bam-pipe-index = <6>; - qcom,data-fifo-size = <0x8000>; - qcom,descriptor-fifo-size = <0x2000>; - qcom,reset-bam-on-connect; - }; - - qcom,pipe12 { - label = "hsusb-ipa-out-3"; - qcom,usb-bam-mem-type = <2>; - qcom,bam-type = <1>; - qcom,dir = <0>; - qcom,pipe-num = <3>; - qcom,peer-bam = <2>; - qcom,src-bam-physical-address = <0xf9a44000>; - qcom,src-bam-pipe-index = <8>; - qcom,data-fifo-size = <0x8000>; - qcom,descriptor-fifo-size = <0x2000>; - qcom,reset-bam-on-connect; - }; - - qcom,pipe13 { - label = "hsusb-ipa-in-3"; - qcom,usb-bam-mem-type = <2>; - qcom,bam-type = <1>; - qcom,dir = <1>; - qcom,pipe-num = <3>; - qcom,peer-bam = <2>; - qcom,dst-bam-physical-address = <0xf9a44000>; - qcom,dst-bam-pipe-index = <9>; - qcom,data-fifo-size = <0x8000>; - qcom,descriptor-fifo-size = <0x2000>; - qcom,reset-bam-on-connect; - }; - }; - - qcom,nand@f9ac0000 { - compatible = "qcom,msm-nand"; - reg = <0xf9ac0000 0x1000>, - <0xf9ac4000 0x8000>; - reg-names = "nand_phys", - "bam_phys"; - interrupts = <0 247 0>; - interrupt-names = "bam_irq"; - }; - - qcom,wdt@f9017000 { - compatible = "qcom,msm-watchdog"; - reg = <0xf9017000 0x1000>; - interrupts = <1 2 0>, <1 1 0>; - qcom,bark-time = <11000>; - qcom,pet-time = <10000>; - }; - - rpm_bus: qcom,rpm-smd { - compatible = "qcom,rpm-smd"; - rpm-channel-name = "rpm_requests"; - rpm-channel-type = <15>; /* SMD_APPS_RPM */ - }; - - spmi_bus: qcom,spmi@fc4c0000 { - cell-index = <0>; - 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-ee = <0>; - qcom,pmic-arb-channel = <0>; - }; - - sdcc2: qcom,sdcc@f98a4000 { - cell-index = <2>; /* SDC2 SD card slot */ - compatible = "qcom,msm-sdcc"; - reg = <0xf98a4000 0x800>, - <0xf98a4800 0x100>, - <0xf9884000 0x7000>; - reg-names = "core_mem", "dml_mem", "bam_mem"; - - vdd-supply = <&ext_2p95v>; - - vdd-io-supply = <&pm8019_l13>; - qcom,vdd-io-always-on; - qcom,vdd-io-lpm-sup; - qcom,vdd-io-voltage-level = <1800000 2950000>; - qcom,vdd-io-current-level = <6 22000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; - qcom,pad-pull-off = <0x0 0x3 0x3>; - qcom,pad-drv-on = <0x4 0x4 0x4>; - qcom,pad-drv-off = <0x0 0x0 0x0>; - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - qcom,sup-voltages = <2950 2950>; - qcom,bus-width = <4>; - qcom,xpc; - qcom,bus-speed-mode = "SDR12", "SDR25", "SDR50", "DDR50", "SDR104"; - qcom,current-limit = <800>; - - interrupt-parent = <&sdcc2>; - #address-cells = <0>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 125 0 - 1 &intc 0 220 0 - 2 &msmgpio 66 0x3>; - interrupt-names = "core_irq", "bam_irq", "status_irq"; - }; - - ipa_hw: qcom,ipa@fd4c0000 { - compatible = "qcom,ipa"; - reg = <0xfd4c0000 0x26000>, - <0xfd4c4000 0x14818>, - <0xfc834000 0x7000>; - reg-names = "ipa-base", "bam-base", "a2-bam-base"; - interrupts = <0 252 0>, - <0 253 0>, - <0 29 1>; - interrupt-names = "ipa-irq", "bam-irq", "a2-bam-irq"; - - qcom,pipe1 { - label = "a2-to-ipa"; - qcom,src-bam-physical-address = <0xfc834000>; - qcom,ipa-bam-mem-type = <0>; - qcom,src-bam-pipe-index = <1>; - qcom,dst-bam-physical-address = <0xfd4c0000>; - qcom,dst-bam-pipe-index = <6>; - qcom,data-fifo-offset = <0x1000>; - qcom,data-fifo-size = <0xd00>; - qcom,descriptor-fifo-offset = <0x1d00>; - qcom,descriptor-fifo-size = <0x300>; - }; - - qcom,pipe2 { - label = "ipa-to-a2"; - qcom,src-bam-physical-address = <0xfd4c0000>; - qcom,ipa-bam-mem-type = <0>; - qcom,src-bam-pipe-index = <7>; - qcom,dst-bam-physical-address = <0xfc834000>; - qcom,dst-bam-pipe-index = <0>; - qcom,data-fifo-offset = <0x00>; - qcom,data-fifo-size = <0xd00>; - qcom,descriptor-fifo-offset = <0xd00>; - qcom,descriptor-fifo-size = <0x300>; - }; - }; - - qcom,acpuclk@f9010000 { - compatible = "qcom,acpuclk-9625"; - reg = <0xf9010008 0x10>, - <0xf9008004 0x4>; - reg-names = "rcg_base", "pwr_base"; - a5_cpu-supply = <&pm8019_l10_corner_ao>; - a5_mem-supply = <&pm8019_l12_ao>; - }; - - gdsc_usb_hsic: qcom,gdsc@fc400404 { - compatible = "qcom,gdsc"; - reg = <0xfc400404 0x4>; - regulator-name = "gdsc_usb_hsic"; - }; - - tsens@fc4a8000 { - compatible = "qcom,msm-tsens"; - reg = <0xfc4a8000 0x2000>, - <0xfc4b8000 0x1000>; - reg-names = "tsens_physical", "tsens_eeprom_physical"; - interrupts = <0 184 0>; - qcom,sensors = <5>; - qcom,slope = <3200 3200 3200 3200 3200>; - qcom,calib-mode = "fuse_map1"; - }; - - qcom,msm-thermal { - compatible = "qcom,msm-thermal"; - qcom,sensor-id = <0>; - qcom,poll-ms = <250>; - qcom,limit-temp = <60>; - qcom,temp-hysteresis = <10>; - qcom,freq-step = <2>; - qcom,freq-control-mask = <0x0>; - qcom,vdd-restriction-temp = <5>; - qcom,vdd-restriction-temp-hysteresis = <10>; - vdd-dig-supply = <&pm8019_l10_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,msm-rng@f9bff000 { - compatible = "qcom,msm-rng"; - reg = <0xf9bff000 0x200>; - qcom,msm-rng-iface-clk; - }; - - i2c@f9925000 { - cell-index = <3>; - compatible = "qcom,i2c-qup"; - reg = <0xf9925000 0x1000>; - #address-cells = <1>; - #size-cells = <0>; - reg-names = "qup_phys_addr"; - interrupts = <0 97 0>; - interrupt-names = "qup_err_intr"; - qcom,i2c-bus-freq = <400000>; - qcom,i2c-src-freq = <19200000>; - }; - - qcom,mss { - compatible = "qcom,pil-q6v5-mss"; - interrupts = <0 24 1>; - qcom,is-not-loadable; - - /* 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>; - }; - - qcom,smem@0 { - compatible = "qcom,smem"; - reg = <0x0 0x100000>, - <0xf9011000 0x1000>, - <0xfc428000 0x4000>; - reg-names = "smem", "irq-reg-base", "aux-mem1"; - - qcom,smd-modem { - compatible = "qcom,smd"; - qcom,smd-edge = <0>; - qcom,smd-irq-offset = <0x8>; - qcom,smd-irq-bitmask = <0x1000>; - qcom,pil-string = "modem"; - interrupts = <0 25 1>; - }; - - qcom,smsm-modem { - compatible = "qcom,smsm"; - qcom,smsm-edge = <0>; - qcom,smsm-irq-offset = <0x8>; - qcom,smsm-irq-bitmask = <0x2000>; - interrupts = <0 26 1>; - }; - - qcom,smd-adsp { - compatible = "qcom,smd"; - qcom,smd-edge = <1>; - qcom,smd-irq-offset = <0x8>; - qcom,smd-irq-bitmask = <0x100>; - qcom,pil-string = "adsp"; - interrupts = <0 156 1>; - }; - - qcom,smsm-adsp { - compatible = "qcom,smsm"; - qcom,smsm-edge = <1>; - qcom,smsm-irq-offset = <0x8>; - qcom,smsm-irq-bitmask = <0x200>; - interrupts = <0 157 1>; - }; - - qcom,smd-rpm { - compatible = "qcom,smd"; - qcom,smd-edge = <15>; - qcom,smd-irq-offset = <0x8>; - qcom,smd-irq-bitmask = <0x1>; - interrupts = <0 168 1>; - qcom,irq-no-suspend; - }; - }; - - qcom,qcedev@fd400000 { - compatible = "qcom,qcedev"; - reg = <0xfd400000 0x20000>, - <0xfd404000 0x8000>; - reg-names = "crypto-base","crypto-bam-base"; - interrupts = <0 207 0>; - qcom,bam-pipe-pair = <1>; - }; - - qcom,qcrypto@fd440000 { - compatible = "qcom,qcrypto"; - reg = <0xfd400000 0x20000>, - <0xfd404000 0x8000>; - reg-names = "crypto-base","crypto-bam-base"; - interrupts = <0 207 0>; - qcom,bam-pipe-pair = <2>; - }; - - jtag_mm: jtagmm@fc332000 { - compatible = "qcom,jtag-mm"; - reg = <0xfc332000 0x1000>, - <0xfc330000 0x1000>; - reg-names = "etm-base","debug-base"; - }; - - qcom,msm-rtb { - compatible = "qcom,msm-rtb"; - qcom,memory-reservation-type = "EBI1"; - qcom,memory-reservation-size = <0x1000>; /* 4K EBI1 buffer */ - }; - - qcom,msm-mem-hole { - compatible = "qcom,msm-mem-hole"; - qcom,memblock-remove = <0x1c00000 0x4c00000>; /* Address and Size of Hole */ - }; - - sfpb_spinlock: qcom,ipc-spinlock@fd484000 { - compatible = "qcom,ipc-spinlock-sfpb"; - reg = <0xfd484000 0x400>; - qcom,num-locks = <8>; - }; - - ldrex_spinlock: qcom,ipc-spinlock@fa00000 { - compatible = "qcom,ipc-spinlock-ldrex"; - reg = <0xfa00000 0x200000>; - status = "disable"; - }; - - cpu-pmu { - compatible = "arm,cortex-a5-pmu"; - qcom,irq-is-percpu; - interrupts = <1 7 0x00>; - }; - - l2-pmu { - compatible = "qcom,l2-pmu"; - interrupts = <0 1 0>; - }; - - /* [houjihai start] gpio keys */ - gpio-keys { - compatible = "gpio-keys"; - autorepeat; - input-name = "gpio-keys"; - key-up { - label = "WPS"; - linux,code = <103>; - gpios = <&msmgpio 14 1>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - key-back { - label = "RESET"; - linux,code = <158>; - gpios = <&msmgpio 15 1>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - }; - /* [houjihai end] */ - -}; - -/include/ "msm-pm8019-rpm-regulator.dtsi" -/include/ "msm-pm8019.dtsi" -/include/ "msm9625-regulator.dtsi" - -&pm8019_vadc { - chan@31 { - label = "batt_id_therm"; - reg = <0x31>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - /* [linyunfeng] Detect battery voltage */ - chan@11 { - label = "vbat"; - reg = <0x11>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@33 { - label = "pa_therm0"; - reg = <0x33>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@34 { - label = "pa_therm1"; - reg = <0x34>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@32 { - label = "xo_therm"; - reg = <0x32>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <4>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@3c { - label = "xo_therm_amux"; - reg = <0x3c>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <4>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@13 { - label = "case_therm"; - reg = <0x13>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@15 { - label = "ambient_therm"; - reg = <0x15>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; -}; - -&pm8019_adc_tm { - /* Channel Node */ - chan@33 { - label = "pa_therm0"; - reg = <0x33>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - qcom,btm-channel-number = <0x48>; - qcom,thermal-node; - }; - - chan@34 { - label = "pa_therm1"; - reg = <0x34>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - qcom,btm-channel-number = <0x68>; - qcom,thermal-node; - }; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/msmkrypton-sim.dts b/kernel/arch/arm/boot/dts/lte_module-v1/msmkrypton-sim.dts deleted file mode 100755 index 1872a36b9..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/msmkrypton-sim.dts +++ /dev/null @@ -1,25 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; - -/include/ "msmkrypton.dtsi" - -/ { - model = "Qualcomm MSM KRYPTON SIM"; - compatible = "qcom,msmkrypton-sim", "qcom,msmkrypton", "qcom,sim"; - qcom,msm-id = <187 16 0>; -}; - -&uartdm3{ - status = "ok"; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/msmkrypton.dtsi b/kernel/arch/arm/boot/dts/lte_module-v1/msmkrypton.dtsi deleted file mode 100755 index 4b032d86d..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/msmkrypton.dtsi +++ /dev/null @@ -1,120 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/include/ "skeleton.dtsi" - -/ { - model = "Qualcomm MSM KRYPTON"; - compatible = "qcom,msmkrypton"; - interrupt-parent = <&intc>; - - soc: soc { }; -}; - -&soc { - #address-cells = <1>; - #size-cells = <1>; - ranges; - - intc: interrupt-controller@f9000000 { - compatible = "qcom,msm-qgic2"; - interrupt-controller; - #interrupt-cells = <3>; - reg = <0xf9000000 0x1000>, - <0xf9002000 0x1000>; - }; - - msmgpio: gpio@fd510000 { - compatible = "qcom,msm-gpio"; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - reg = <0xfd510000 0x4000>; - ngpio = <89>; - interrupts = <0 208 0>; - qcom,direct-connect-irqs = <8>; - }; - - 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 7 0x4>, - <0 6 0x4>; - reg = <0xf9021000 0x1000>, - <0xf9022000 0x1000>; - }; - - frame@f9023000 { - frame-number = <1>; - interrupts = <0 8 0x4>; - reg = <0xf9023000 0x1000>; - status = "disabled"; - }; - - frame@f9024000 { - frame-number = <2>; - interrupts = <0 9 0x4>; - reg = <0xf9024000 0x1000>; - status = "disabled"; - }; - - frame@f9025000 { - frame-number = <3>; - interrupts = <0 10 0x4>; - reg = <0xf9025000 0x1000>; - status = "disabled"; - }; - - frame@f9026000 { - frame-number = <4>; - interrupts = <0 11 0x4>; - reg = <0xf9026000 0x1000>; - status = "disabled"; - }; - - frame@f9027000 { - frame-number = <5>; - interrupts = <0 12 0x4>; - reg = <0xf9027000 0x1000>; - status = "disabled"; - }; - - frame@f9028000 { - frame-number = <6>; - interrupts = <0 13 0x4>; - reg = <0xf9028000 0x1000>; - status = "disabled"; - }; - - frame@f9029000 { - frame-number = <7>; - interrupts = <0 14 0x4>; - reg = <0xf9029000 0x1000>; - status = "disabled"; - }; - }; - - uartdm3: serial@f991f000 { - compatible = "qcom,msm-lsuart-v14"; - reg = <0xf991f000 0x1000>; - interrupts = <0 109 0>; - status = "disabled"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/msmsamarium-ion.dtsi b/kernel/arch/arm/boot/dts/lte_module-v1/msmsamarium-ion.dtsi deleted file mode 100755 index ea954b89c..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/msmsamarium-ion.dtsi +++ /dev/null @@ -1,31 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -&soc { - qcom,ion { - compatible = "qcom,msm-ion"; - #address-cells = <1>; - #size-cells = <0>; - - qcom,ion-heap@30 { /* SYSTEM HEAP */ - reg = <30>; - }; - - qcom,ion-heap@21 { /* SYSTEM CONTIG HEAP */ - reg = <21>; - }; - - qcom,ion-heap@25 { /* IOMMU HEAP */ - reg = <25>; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/msmsamarium-rumi.dts b/kernel/arch/arm/boot/dts/lte_module-v1/msmsamarium-rumi.dts deleted file mode 100755 index 9a679a4fd..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/msmsamarium-rumi.dts +++ /dev/null @@ -1,25 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; - -/include/ "msmsamarium.dtsi" - -/ { - model = "Qualcomm MSM SAMARIUM RUMI"; - compatible = "qcom,msmsamarium-rumi", "qcom,msmsamarium", "qcom,rumi"; - qcom,msm-id = <195 0 0>; -}; - -&uartblsp0dm2{ - status = "ok"; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/msmsamarium-sim.dts b/kernel/arch/arm/boot/dts/lte_module-v1/msmsamarium-sim.dts deleted file mode 100755 index 4acffae18..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/msmsamarium-sim.dts +++ /dev/null @@ -1,55 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; - -/include/ "msmsamarium.dtsi" - -/ { - model = "Qualcomm MSM SAMARIUM SIM"; - compatible = "qcom,msmsamarium-sim", "qcom,msmsamarium", "qcom,sim"; - qcom,msm-id = <195 0 0>; -}; - -&uartblsp0dm2{ - status = "ok"; -}; - -&sdcc1 { - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - qcom,sup-voltages = <2950 2950>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,bus-speed-mode = "HS200_1p8v", "DDR_1p8v"; - qcom,nonremovable; - status = "ok"; -}; - -&sdcc2 { - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - qcom,sup-voltages = <2950 2950>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,xpc; - qcom,bus-speed-mode = "SDR12", "SDR25", "SDR50", "DDR50", "SDR104"; - qcom,current-limit = <800>; - - status = "ok"; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/msmsamarium.dtsi b/kernel/arch/arm/boot/dts/lte_module-v1/msmsamarium.dtsi deleted file mode 100755 index 81699b689..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/msmsamarium.dtsi +++ /dev/null @@ -1,90 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/include/ "skeleton.dtsi" - -/ { - model = "Qualcomm MSM SAMARIUM"; - compatible = "qcom,msmsamarium"; - interrupt-parent = <&intc>; - soc: soc { }; -}; - -/include/ "msmsamarium-ion.dtsi" - -&soc { - #address-cells = <1>; - #size-cells = <1>; - ranges; - - intc: interrupt-controller@f9000000 { - compatible = "qcom,msm-qgic2"; - interrupt-controller; - #interrupt-cells = <3>; - reg = <0xf9000000 0x1000>, - <0xf9002000 0x1000>; - }; - - msmgpio: gpio@fd510000 { - compatible = "qcom,msm-gpio"; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - reg = <0xfd510000 0x4000>; - ngpio = <145>; - interrupts = <0 208 0>; - qcom,direct-connect-irqs = <8>; - }; - - timer { - compatible = "arm,armv7-timer"; - interrupts = <1 2 0 1 3 0>; - clock-frequency = <19200000>; - }; - - uartblsp0dm2: serial@f991f000 { - compatible = "qcom,msm-lsuart-v14"; - reg = <0xf991f000 0x1000>; - interrupts = <0 109 0>; - status = "disabled"; - }; - - qcom,msm-imem@fe805000 { - compatible = "qcom,msm-imem"; - reg = <0xfe805000 0x1000>; /* Address and size of IMEM */ - }; - - sdcc1: qcom,sdcc@f9824000 { - cell-index = <1>; /* SDC1 eMMC slot */ - compatible = "qcom,msm-sdcc"; - reg = <0xf9824000 0x800>; - reg-names = "core_mem"; - interrupts = <0 123 0>; - interrupt-names = "core_irq"; - - qcom,bus-width = <8>; - status = "disabled"; - }; - - sdcc2: qcom,sdcc@f98a4000 { - cell-index = <2>; /* SDC2 SD card slot */ - compatible = "qcom,msm-sdcc"; - reg = <0xf98a4000 0x800>; - reg-names = "core_mem"; - interrupts = <0 125 0>; - interrupt-names = "core_irq"; - - qcom,bus-width = <4>; - status = "disabled"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/omap2.dtsi b/kernel/arch/arm/boot/dts/lte_module-v1/omap2.dtsi deleted file mode 100755 index f2ab4ea7c..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/omap2.dtsi +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Device Tree Source for OMAP2 SoC - * - * Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/ - * - * This file is licensed under the terms of the GNU General Public License - * version 2. This program is licensed "as is" without any warranty of any - * kind, whether express or implied. - */ - -/include/ "skeleton.dtsi" - -/ { - compatible = "ti,omap2430", "ti,omap2420", "ti,omap2"; - - aliases { - serial0 = &uart1; - serial1 = &uart2; - serial2 = &uart3; - }; - - cpus { - cpu@0 { - compatible = "arm,arm1136jf-s"; - }; - }; - - soc { - compatible = "ti,omap-infra"; - mpu { - compatible = "ti,omap2-mpu"; - ti,hwmods = "mpu"; - }; - }; - - ocp { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - ti,hwmods = "l3_main"; - - intc: interrupt-controller@1 { - compatible = "ti,omap2-intc"; - interrupt-controller; - #interrupt-cells = <1>; - }; - - uart1: serial@4806a000 { - compatible = "ti,omap2-uart"; - ti,hwmods = "uart1"; - clock-frequency = <48000000>; - }; - - uart2: serial@4806c000 { - compatible = "ti,omap2-uart"; - ti,hwmods = "uart2"; - clock-frequency = <48000000>; - }; - - uart3: serial@4806e000 { - compatible = "ti,omap2-uart"; - ti,hwmods = "uart3"; - clock-frequency = <48000000>; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/omap3-beagle.dts b/kernel/arch/arm/boot/dts/lte_module-v1/omap3-beagle.dts deleted file mode 100755 index 9f72cd4cf..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/omap3-beagle.dts +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/ - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. - */ -/dts-v1/; - -/include/ "omap3.dtsi" - -/ { - model = "TI OMAP3 BeagleBoard"; - compatible = "ti,omap3-beagle", "ti,omap3"; - - memory { - device_type = "memory"; - reg = <0x80000000 0x20000000>; /* 512 MB */ - }; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/omap3-evm.dts b/kernel/arch/arm/boot/dts/lte_module-v1/omap3-evm.dts deleted file mode 100755 index 2eee16ec5..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/omap3-evm.dts +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/ - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. - */ -/dts-v1/; - -/include/ "omap3.dtsi" - -/ { - model = "TI OMAP3 EVM (OMAP3530, AM/DM37x)"; - compatible = "ti,omap3-evm", "ti,omap3"; - - memory { - device_type = "memory"; - reg = <0x80000000 0x10000000>; /* 256 MB */ - }; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/omap3.dtsi b/kernel/arch/arm/boot/dts/lte_module-v1/omap3.dtsi deleted file mode 100755 index c6121357c..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/omap3.dtsi +++ /dev/null @@ -1,117 +0,0 @@ -/* - * Device Tree Source for OMAP3 SoC - * - * Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/ - * - * This file is licensed under the terms of the GNU General Public License - * version 2. This program is licensed "as is" without any warranty of any - * kind, whether express or implied. - */ - -/include/ "skeleton.dtsi" - -/ { - compatible = "ti,omap3430", "ti,omap3"; - - aliases { - serial0 = &uart1; - serial1 = &uart2; - serial2 = &uart3; - serial3 = &uart4; - }; - - cpus { - cpu@0 { - compatible = "arm,cortex-a8"; - }; - }; - - /* - * The soc node represents the soc top level view. It is uses for IPs - * that are not memory mapped in the MPU view or for the MPU itself. - */ - soc { - compatible = "ti,omap-infra"; - mpu { - compatible = "ti,omap3-mpu"; - ti,hwmods = "mpu"; - }; - - iva { - compatible = "ti,iva2.2"; - ti,hwmods = "iva"; - - dsp { - compatible = "ti,omap3-c64"; - }; - }; - }; - - /* - * XXX: Use a flat representation of the OMAP3 interconnect. - * The real OMAP interconnect network is quite complex. - * Since that will not bring real advantage to represent that in DT for - * the moment, just use a fake OCP bus entry to represent the whole bus - * hierarchy. - */ - ocp { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - ti,hwmods = "l3_main"; - - intc: interrupt-controller@48200000 { - compatible = "ti,omap2-intc"; - interrupt-controller; - #interrupt-cells = <1>; - ti,intc-size = <96>; - reg = <0x48200000 0x1000>; - }; - - uart1: serial@4806a000 { - compatible = "ti,omap3-uart"; - ti,hwmods = "uart1"; - clock-frequency = <48000000>; - }; - - uart2: serial@4806c000 { - compatible = "ti,omap3-uart"; - ti,hwmods = "uart2"; - clock-frequency = <48000000>; - }; - - uart3: serial@49020000 { - compatible = "ti,omap3-uart"; - ti,hwmods = "uart3"; - clock-frequency = <48000000>; - }; - - uart4: serial@49042000 { - compatible = "ti,omap3-uart"; - ti,hwmods = "uart4"; - clock-frequency = <48000000>; - }; - - i2c1: i2c@48070000 { - compatible = "ti,omap3-i2c"; - #address-cells = <1>; - #size-cells = <0>; - ti,hwmods = "i2c1"; - }; - - i2c2: i2c@48072000 { - compatible = "ti,omap3-i2c"; - #address-cells = <1>; - #size-cells = <0>; - ti,hwmods = "i2c2"; - }; - - i2c3: i2c@48060000 { - compatible = "ti,omap3-i2c"; - #address-cells = <1>; - #size-cells = <0>; - ti,hwmods = "i2c3"; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/omap4-panda.dts b/kernel/arch/arm/boot/dts/lte_module-v1/omap4-panda.dts deleted file mode 100755 index 9755ad591..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/omap4-panda.dts +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/ - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. - */ -/dts-v1/; - -/include/ "omap4.dtsi" - -/ { - model = "TI OMAP4 PandaBoard"; - compatible = "ti,omap4-panda", "ti,omap4430", "ti,omap4"; - - memory { - device_type = "memory"; - reg = <0x80000000 0x40000000>; /* 1 GB */ - }; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/omap4-sdp.dts b/kernel/arch/arm/boot/dts/lte_module-v1/omap4-sdp.dts deleted file mode 100755 index 63c6b2b2b..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/omap4-sdp.dts +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/ - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. - */ -/dts-v1/; - -/include/ "omap4.dtsi" - -/ { - model = "TI OMAP4 SDP board"; - compatible = "ti,omap4-sdp", "ti,omap4430", "ti,omap4"; - - memory { - device_type = "memory"; - reg = <0x80000000 0x40000000>; /* 1 GB */ - }; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/omap4.dtsi b/kernel/arch/arm/boot/dts/lte_module-v1/omap4.dtsi deleted file mode 100755 index 3d35559e7..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/omap4.dtsi +++ /dev/null @@ -1,159 +0,0 @@ -/* - * Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/ - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. - */ - -/* - * Carveout for multimedia usecases - * It should be the last 48MB of the first 512MB memory part - * In theory, it should not even exist. That zone should be reserved - * dynamically during the .reserve callback. - */ -/memreserve/ 0x9d000000 0x03000000; - -/include/ "skeleton.dtsi" - -/ { - compatible = "ti,omap4430", "ti,omap4"; - interrupt-parent = <&gic>; - - aliases { - serial0 = &uart1; - serial1 = &uart2; - serial2 = &uart3; - serial3 = &uart4; - }; - - cpus { - cpu@0 { - compatible = "arm,cortex-a9"; - }; - cpu@1 { - compatible = "arm,cortex-a9"; - }; - }; - - /* - * The soc node represents the soc top level view. It is uses for IPs - * that are not memory mapped in the MPU view or for the MPU itself. - */ - soc { - compatible = "ti,omap-infra"; - mpu { - compatible = "ti,omap4-mpu"; - ti,hwmods = "mpu"; - }; - - dsp { - compatible = "ti,omap3-c64"; - ti,hwmods = "dsp"; - }; - - iva { - compatible = "ti,ivahd"; - ti,hwmods = "iva"; - }; - }; - - /* - * XXX: Use a flat representation of the OMAP4 interconnect. - * The real OMAP interconnect network is quite complex. - * - * MPU -+-- MPU_PRIVATE - GIC, L2 - * | - * +----------------+----------+ - * | | | - * + +- EMIF - DDR | - * | | | - * | + +--------+ - * | | | - * | +- L4_ABE - AESS, MCBSP, TIMERs... - * | | - * +- L3_MAIN --+- L4_CORE - IPs... - * | - * +- L4_PER - IPs... - * | - * +- L4_CFG -+- L4_WKUP - IPs... - * | | - * | +- IPs... - * +- IPU ----+ - * | | - * +- DSP ----+ - * | | - * +- DSS ----+ - * - * Since that will not bring real advantage to represent that in DT for - * the moment, just use a fake OCP bus entry to represent the whole bus - * hierarchy. - */ - ocp { - compatible = "ti,omap4-l3-noc", "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - ti,hwmods = "l3_main_1", "l3_main_2", "l3_main_3"; - - gic: interrupt-controller@48241000 { - compatible = "arm,cortex-a9-gic"; - interrupt-controller; - #interrupt-cells = <3>; - reg = <0x48241000 0x1000>, - <0x48240100 0x0100>; - }; - - uart1: serial@4806a000 { - compatible = "ti,omap4-uart"; - ti,hwmods = "uart1"; - clock-frequency = <48000000>; - }; - - uart2: serial@4806c000 { - compatible = "ti,omap4-uart"; - ti,hwmods = "uart2"; - clock-frequency = <48000000>; - }; - - uart3: serial@48020000 { - compatible = "ti,omap4-uart"; - ti,hwmods = "uart3"; - clock-frequency = <48000000>; - }; - - uart4: serial@4806e000 { - compatible = "ti,omap4-uart"; - ti,hwmods = "uart4"; - clock-frequency = <48000000>; - }; - - i2c1: i2c@48070000 { - compatible = "ti,omap4-i2c"; - #address-cells = <1>; - #size-cells = <0>; - ti,hwmods = "i2c1"; - }; - - i2c2: i2c@48072000 { - compatible = "ti,omap4-i2c"; - #address-cells = <1>; - #size-cells = <0>; - ti,hwmods = "i2c2"; - }; - - i2c3: i2c@48060000 { - compatible = "ti,omap4-i2c"; - #address-cells = <1>; - #size-cells = <0>; - ti,hwmods = "i2c3"; - }; - - i2c4: i2c@48350000 { - compatible = "ti,omap4-i2c"; - #address-cells = <1>; - #size-cells = <0>; - ti,hwmods = "i2c4"; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/picoxcell-pc3x2.dtsi b/kernel/arch/arm/boot/dts/lte_module-v1/picoxcell-pc3x2.dtsi deleted file mode 100755 index f0a8c2068..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/picoxcell-pc3x2.dtsi +++ /dev/null @@ -1,249 +0,0 @@ -/* - * Copyright (C) 2011 Picochip, Jamie Iles - * - * This software is licensed under the terms of the GNU General Public - * License version 2, as published by the Free Software Foundation, and - * may be copied, distributed, and modified under those terms. - * - * 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. - */ -/include/ "skeleton.dtsi" -/ { - model = "Picochip picoXcell PC3X2"; - compatible = "picochip,pc3x2"; - #address-cells = <1>; - #size-cells = <1>; - - cpus { - #address-cells = <1>; - #size-cells = <0>; - - cpu@0 { - compatible = "arm,1176jz-s"; - clock-frequency = <400000000>; - reg = <0>; - d-cache-line-size = <32>; - d-cache-size = <32768>; - i-cache-line-size = <32>; - i-cache-size = <32768>; - }; - }; - - clocks { - #address-cells = <1>; - #size-cells = <1>; - ranges; - - pclk: clock@0 { - compatible = "fixed-clock"; - clock-outputs = "bus", "pclk"; - clock-frequency = <200000000>; - ref-clock = <&ref_clk>, "ref"; - }; - }; - - paxi { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0 0x80000000 0x400000>; - - emac: gem@30000 { - compatible = "cadence,gem"; - reg = <0x30000 0x10000>; - interrupts = <31>; - }; - - dmac1: dmac@40000 { - compatible = "snps,dw-dmac"; - reg = <0x40000 0x10000>; - interrupts = <25>; - }; - - dmac2: dmac@50000 { - compatible = "snps,dw-dmac"; - reg = <0x50000 0x10000>; - interrupts = <26>; - }; - - vic0: interrupt-controller@60000 { - compatible = "arm,pl192-vic"; - interrupt-controller; - reg = <0x60000 0x1000>; - #interrupt-cells = <1>; - }; - - vic1: interrupt-controller@64000 { - compatible = "arm,pl192-vic"; - interrupt-controller; - reg = <0x64000 0x1000>; - #interrupt-cells = <1>; - }; - - fuse: picoxcell-fuse@80000 { - compatible = "picoxcell,fuse-pc3x2"; - reg = <0x80000 0x10000>; - }; - - ssi: picoxcell-spi@90000 { - compatible = "picoxcell,spi"; - reg = <0x90000 0x10000>; - interrupt-parent = <&vic0>; - interrupts = <10>; - }; - - ipsec: spacc@100000 { - compatible = "picochip,spacc-ipsec"; - reg = <0x100000 0x10000>; - interrupt-parent = <&vic0>; - interrupts = <24>; - ref-clock = <&pclk>, "ref"; - }; - - srtp: spacc@140000 { - compatible = "picochip,spacc-srtp"; - reg = <0x140000 0x10000>; - interrupt-parent = <&vic0>; - interrupts = <23>; - }; - - l2_engine: spacc@180000 { - compatible = "picochip,spacc-l2"; - reg = <0x180000 0x10000>; - interrupt-parent = <&vic0>; - interrupts = <22>; - ref-clock = <&pclk>, "ref"; - }; - - apb { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0 0x200000 0x80000>; - - rtc0: rtc@00000 { - compatible = "picochip,pc3x2-rtc"; - clock-freq = <200000000>; - reg = <0x00000 0xf>; - interrupt-parent = <&vic1>; - interrupts = <8>; - }; - - timer0: timer@10000 { - compatible = "picochip,pc3x2-timer"; - interrupt-parent = <&vic0>; - interrupts = <4>; - clock-freq = <200000000>; - reg = <0x10000 0x14>; - }; - - timer1: timer@10014 { - compatible = "picochip,pc3x2-timer"; - interrupt-parent = <&vic0>; - interrupts = <5>; - clock-freq = <200000000>; - reg = <0x10014 0x14>; - }; - - timer2: timer@10028 { - compatible = "picochip,pc3x2-timer"; - interrupt-parent = <&vic0>; - interrupts = <6>; - clock-freq = <200000000>; - reg = <0x10028 0x14>; - }; - - timer3: timer@1003c { - compatible = "picochip,pc3x2-timer"; - interrupt-parent = <&vic0>; - interrupts = <7>; - clock-freq = <200000000>; - reg = <0x1003c 0x14>; - }; - - gpio: gpio@20000 { - compatible = "snps,dw-apb-gpio"; - reg = <0x20000 0x1000>; - #address-cells = <1>; - #size-cells = <0>; - reg-io-width = <4>; - - banka: gpio-controller@0 { - compatible = "snps,dw-apb-gpio-bank"; - gpio-controller; - #gpio-cells = <2>; - gpio-generic,nr-gpio = <8>; - - regoffset-dat = <0x50>; - regoffset-set = <0x00>; - regoffset-dirout = <0x04>; - }; - - bankb: gpio-controller@1 { - compatible = "snps,dw-apb-gpio-bank"; - gpio-controller; - #gpio-cells = <2>; - gpio-generic,nr-gpio = <8>; - - regoffset-dat = <0x54>; - regoffset-set = <0x0c>; - regoffset-dirout = <0x10>; - }; - }; - - uart0: uart@30000 { - compatible = "snps,dw-apb-uart"; - reg = <0x30000 0x1000>; - interrupt-parent = <&vic1>; - interrupts = <10>; - clock-frequency = <3686400>; - reg-shift = <2>; - reg-io-width = <4>; - }; - - uart1: uart@40000 { - compatible = "snps,dw-apb-uart"; - reg = <0x40000 0x1000>; - interrupt-parent = <&vic1>; - interrupts = <9>; - clock-frequency = <3686400>; - reg-shift = <2>; - reg-io-width = <4>; - }; - - wdog: watchdog@50000 { - compatible = "snps,dw-apb-wdg"; - reg = <0x50000 0x10000>; - interrupt-parent = <&vic0>; - interrupts = <11>; - bus-clock = <&pclk>, "bus"; - }; - }; - }; - - rwid-axi { - #address-cells = <1>; - #size-cells = <1>; - compatible = "simple-bus"; - ranges; - - ebi@50000000 { - compatible = "simple-bus"; - #address-cells = <2>; - #size-cells = <1>; - ranges = <0 0 0x40000000 0x08000000 - 1 0 0x48000000 0x08000000 - 2 0 0x50000000 0x08000000 - 3 0 0x58000000 0x08000000>; - }; - - axi2pico@c0000000 { - compatible = "picochip,axi2pico-pc3x2"; - reg = <0xc0000000 0x10000>; - interrupts = <13 14 15 16 17 18 19 20 21>; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/picoxcell-pc3x3.dtsi b/kernel/arch/arm/boot/dts/lte_module-v1/picoxcell-pc3x3.dtsi deleted file mode 100755 index daa962d19..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/picoxcell-pc3x3.dtsi +++ /dev/null @@ -1,365 +0,0 @@ -/* - * Copyright (C) 2011 Picochip, Jamie Iles - * - * This software is licensed under the terms of the GNU General Public - * License version 2, as published by the Free Software Foundation, and - * may be copied, distributed, and modified under those terms. - * - * 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. - */ -/include/ "skeleton.dtsi" -/ { - model = "Picochip picoXcell PC3X3"; - compatible = "picochip,pc3x3"; - #address-cells = <1>; - #size-cells = <1>; - - cpus { - #address-cells = <1>; - #size-cells = <0>; - - cpu@0 { - compatible = "arm,1176jz-s"; - cpu-clock = <&arm_clk>, "cpu"; - reg = <0>; - d-cache-line-size = <32>; - d-cache-size = <32768>; - i-cache-line-size = <32>; - i-cache-size = <32768>; - }; - }; - - clocks { - #address-cells = <1>; - #size-cells = <1>; - ranges; - - clkgate: clkgate@800a0048 { - #address-cells = <1>; - #size-cells = <0>; - reg = <0x800a0048 4>; - compatible = "picochip,pc3x3-clk-gate"; - - tzprot_clk: clock@0 { - compatible = "picochip,pc3x3-gated-clk"; - clock-outputs = "bus"; - picochip,clk-disable-bit = <0>; - clock-frequency = <200000000>; - ref-clock = <&ref_clk>, "ref"; - }; - - spi_clk: clock@1 { - compatible = "picochip,pc3x3-gated-clk"; - clock-outputs = "bus"; - picochip,clk-disable-bit = <1>; - clock-frequency = <200000000>; - ref-clock = <&ref_clk>, "ref"; - }; - - dmac0_clk: clock@2 { - compatible = "picochip,pc3x3-gated-clk"; - clock-outputs = "bus"; - picochip,clk-disable-bit = <2>; - clock-frequency = <200000000>; - ref-clock = <&ref_clk>, "ref"; - }; - - dmac1_clk: clock@3 { - compatible = "picochip,pc3x3-gated-clk"; - clock-outputs = "bus"; - picochip,clk-disable-bit = <3>; - clock-frequency = <200000000>; - ref-clock = <&ref_clk>, "ref"; - }; - - ebi_clk: clock@4 { - compatible = "picochip,pc3x3-gated-clk"; - clock-outputs = "bus"; - picochip,clk-disable-bit = <4>; - clock-frequency = <200000000>; - ref-clock = <&ref_clk>, "ref"; - }; - - ipsec_clk: clock@5 { - compatible = "picochip,pc3x3-gated-clk"; - clock-outputs = "bus"; - picochip,clk-disable-bit = <5>; - clock-frequency = <200000000>; - ref-clock = <&ref_clk>, "ref"; - }; - - l2_clk: clock@6 { - compatible = "picochip,pc3x3-gated-clk"; - clock-outputs = "bus"; - picochip,clk-disable-bit = <6>; - clock-frequency = <200000000>; - ref-clock = <&ref_clk>, "ref"; - }; - - trng_clk: clock@7 { - compatible = "picochip,pc3x3-gated-clk"; - clock-outputs = "bus"; - picochip,clk-disable-bit = <7>; - clock-frequency = <200000000>; - ref-clock = <&ref_clk>, "ref"; - }; - - fuse_clk: clock@8 { - compatible = "picochip,pc3x3-gated-clk"; - clock-outputs = "bus"; - picochip,clk-disable-bit = <8>; - clock-frequency = <200000000>; - ref-clock = <&ref_clk>, "ref"; - }; - - otp_clk: clock@9 { - compatible = "picochip,pc3x3-gated-clk"; - clock-outputs = "bus"; - picochip,clk-disable-bit = <9>; - clock-frequency = <200000000>; - ref-clock = <&ref_clk>, "ref"; - }; - }; - - arm_clk: clock@11 { - compatible = "picochip,pc3x3-pll"; - reg = <0x800a0050 0x8>; - picochip,min-freq = <140000000>; - picochip,max-freq = <700000000>; - ref-clock = <&ref_clk>, "ref"; - clock-outputs = "cpu"; - }; - - pclk: clock@12 { - compatible = "fixed-clock"; - clock-outputs = "bus", "pclk"; - clock-frequency = <200000000>; - ref-clock = <&ref_clk>, "ref"; - }; - }; - - paxi { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0 0x80000000 0x400000>; - - emac: gem@30000 { - compatible = "cadence,gem"; - reg = <0x30000 0x10000>; - interrupt-parent = <&vic0>; - interrupts = <31>; - }; - - dmac1: dmac@40000 { - compatible = "snps,dw-dmac"; - reg = <0x40000 0x10000>; - interrupt-parent = <&vic0>; - interrupts = <25>; - }; - - dmac2: dmac@50000 { - compatible = "snps,dw-dmac"; - reg = <0x50000 0x10000>; - interrupt-parent = <&vic0>; - interrupts = <26>; - }; - - vic0: interrupt-controller@60000 { - compatible = "arm,pl192-vic"; - interrupt-controller; - reg = <0x60000 0x1000>; - #interrupt-cells = <1>; - }; - - vic1: interrupt-controller@64000 { - compatible = "arm,pl192-vic"; - interrupt-controller; - reg = <0x64000 0x1000>; - #interrupt-cells = <1>; - }; - - fuse: picoxcell-fuse@80000 { - compatible = "picoxcell,fuse-pc3x3"; - reg = <0x80000 0x10000>; - }; - - ssi: picoxcell-spi@90000 { - compatible = "picoxcell,spi"; - reg = <0x90000 0x10000>; - interrupt-parent = <&vic0>; - interrupts = <10>; - }; - - ipsec: spacc@100000 { - compatible = "picochip,spacc-ipsec"; - reg = <0x100000 0x10000>; - interrupt-parent = <&vic0>; - interrupts = <24>; - ref-clock = <&ipsec_clk>, "ref"; - }; - - srtp: spacc@140000 { - compatible = "picochip,spacc-srtp"; - reg = <0x140000 0x10000>; - interrupt-parent = <&vic0>; - interrupts = <23>; - }; - - l2_engine: spacc@180000 { - compatible = "picochip,spacc-l2"; - reg = <0x180000 0x10000>; - interrupt-parent = <&vic0>; - interrupts = <22>; - ref-clock = <&l2_clk>, "ref"; - }; - - apb { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0 0x200000 0x80000>; - - rtc0: rtc@00000 { - compatible = "picochip,pc3x2-rtc"; - clock-freq = <200000000>; - reg = <0x00000 0xf>; - interrupt-parent = <&vic0>; - interrupts = <8>; - }; - - timer0: timer@10000 { - compatible = "picochip,pc3x2-timer"; - interrupt-parent = <&vic0>; - interrupts = <4>; - clock-freq = <200000000>; - reg = <0x10000 0x14>; - }; - - timer1: timer@10014 { - compatible = "picochip,pc3x2-timer"; - interrupt-parent = <&vic0>; - interrupts = <5>; - clock-freq = <200000000>; - reg = <0x10014 0x14>; - }; - - gpio: gpio@20000 { - compatible = "snps,dw-apb-gpio"; - reg = <0x20000 0x1000>; - #address-cells = <1>; - #size-cells = <0>; - reg-io-width = <4>; - - banka: gpio-controller@0 { - compatible = "snps,dw-apb-gpio-bank"; - gpio-controller; - #gpio-cells = <2>; - gpio-generic,nr-gpio = <8>; - - regoffset-dat = <0x50>; - regoffset-set = <0x00>; - regoffset-dirout = <0x04>; - }; - - bankb: gpio-controller@1 { - compatible = "snps,dw-apb-gpio-bank"; - gpio-controller; - #gpio-cells = <2>; - gpio-generic,nr-gpio = <16>; - - regoffset-dat = <0x54>; - regoffset-set = <0x0c>; - regoffset-dirout = <0x10>; - }; - - bankd: gpio-controller@2 { - compatible = "snps,dw-apb-gpio-bank"; - gpio-controller; - #gpio-cells = <2>; - gpio-generic,nr-gpio = <30>; - - regoffset-dat = <0x5c>; - regoffset-set = <0x24>; - regoffset-dirout = <0x28>; - }; - }; - - uart0: uart@30000 { - compatible = "snps,dw-apb-uart"; - reg = <0x30000 0x1000>; - interrupt-parent = <&vic1>; - interrupts = <10>; - clock-frequency = <3686400>; - reg-shift = <2>; - reg-io-width = <4>; - }; - - uart1: uart@40000 { - compatible = "snps,dw-apb-uart"; - reg = <0x40000 0x1000>; - interrupt-parent = <&vic1>; - interrupts = <9>; - clock-frequency = <3686400>; - reg-shift = <2>; - reg-io-width = <4>; - }; - - wdog: watchdog@50000 { - compatible = "snps,dw-apb-wdg"; - reg = <0x50000 0x10000>; - interrupt-parent = <&vic0>; - interrupts = <11>; - bus-clock = <&pclk>, "bus"; - }; - - timer2: timer@60000 { - compatible = "picochip,pc3x2-timer"; - interrupt-parent = <&vic0>; - interrupts = <6>; - clock-freq = <200000000>; - reg = <0x60000 0x14>; - }; - - timer3: timer@60014 { - compatible = "picochip,pc3x2-timer"; - interrupt-parent = <&vic0>; - interrupts = <7>; - clock-freq = <200000000>; - reg = <0x60014 0x14>; - }; - }; - }; - - rwid-axi { - #address-cells = <1>; - #size-cells = <1>; - compatible = "simple-bus"; - ranges; - - ebi@50000000 { - compatible = "simple-bus"; - #address-cells = <2>; - #size-cells = <1>; - ranges = <0 0 0x40000000 0x08000000 - 1 0 0x48000000 0x08000000 - 2 0 0x50000000 0x08000000 - 3 0 0x58000000 0x08000000>; - }; - - axi2pico@c0000000 { - compatible = "picochip,axi2pico-pc3x3"; - reg = <0xc0000000 0x10000>; - interrupt-parent = <&vic0>; - interrupts = <13 14 15 16 17 18 19 20 21>; - }; - - otp@ffff8000 { - compatible = "picochip,otp-pc3x3"; - reg = <0xffff8000 0x8000>; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/picoxcell-pc7302-pc3x2.dts b/kernel/arch/arm/boot/dts/lte_module-v1/picoxcell-pc7302-pc3x2.dts deleted file mode 100755 index 1297414dd..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/picoxcell-pc7302-pc3x2.dts +++ /dev/null @@ -1,86 +0,0 @@ -/* - * Copyright (C) 2011 Picochip, Jamie Iles - * - * This software is licensed under the terms of the GNU General Public - * License version 2, as published by the Free Software Foundation, and - * may be copied, distributed, and modified under those terms. - * - * 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. - */ - -/dts-v1/; -/include/ "picoxcell-pc3x2.dtsi" -/ { - model = "Picochip PC7302 (PC3X2)"; - compatible = "picochip,pc7302-pc3x2", "picochip,pc3x2"; - - memory { - device_type = "memory"; - reg = <0x0 0x08000000>; - }; - - chosen { - linux,stdout-path = &uart0; - }; - - clocks { - ref_clk: clock@1 { - compatible = "fixed-clock"; - clock-outputs = "ref"; - clock-frequency = <20000000>; - }; - }; - - rwid-axi { - ebi@50000000 { - nand: gpio-nand@2,0 { - compatible = "gpio-control-nand"; - #address-cells = <1>; - #size-cells = <1>; - reg = <2 0x0000 0x1000>; - bus-clock = <&pclk>, "bus"; - gpio-control-nand,io-sync-reg = - <0x00000000 0x80220000>; - - gpios = <&banka 1 0 /* rdy */ - &banka 2 0 /* nce */ - &banka 3 0 /* ale */ - &banka 4 0 /* cle */ - 0 /* nwp */>; - - boot@100000 { - label = "Boot"; - reg = <0x100000 0x80000>; - }; - - redundant-boot@200000 { - label = "Redundant Boot"; - reg = <0x200000 0x80000>; - }; - - boot-env@300000 { - label = "Boot Evironment"; - reg = <0x300000 0x20000>; - }; - - redundant-boot-env@320000 { - label = "Redundant Boot Environment"; - reg = <0x300000 0x20000>; - }; - - kernel@380000 { - label = "Kernel"; - reg = <0x380000 0x800000>; - }; - - fs@b80000 { - label = "File System"; - reg = <0xb80000 0xf480000>; - }; - }; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/picoxcell-pc7302-pc3x3.dts b/kernel/arch/arm/boot/dts/lte_module-v1/picoxcell-pc7302-pc3x3.dts deleted file mode 100755 index 9e317a4f4..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/picoxcell-pc7302-pc3x3.dts +++ /dev/null @@ -1,92 +0,0 @@ -/* - * Copyright (C) 2011 Picochip, Jamie Iles - * - * This software is licensed under the terms of the GNU General Public - * License version 2, as published by the Free Software Foundation, and - * may be copied, distributed, and modified under those terms. - * - * 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. - */ - -/dts-v1/; -/include/ "picoxcell-pc3x3.dtsi" -/ { - model = "Picochip PC7302 (PC3X3)"; - compatible = "picochip,pc7302-pc3x3", "picochip,pc3x3"; - - memory { - device_type = "memory"; - reg = <0x0 0x08000000>; - }; - - chosen { - linux,stdout-path = &uart0; - }; - - clocks { - ref_clk: clock@10 { - compatible = "fixed-clock"; - clock-outputs = "ref"; - clock-frequency = <20000000>; - }; - - clkgate: clkgate@800a0048 { - clock@4 { - picochip,clk-no-disable; - }; - }; - }; - - rwid-axi { - ebi@50000000 { - nand: gpio-nand@2,0 { - compatible = "gpio-control-nand"; - #address-cells = <1>; - #size-cells = <1>; - reg = <2 0x0000 0x1000>; - bus-clock = <&ebi_clk>, "bus"; - gpio-control-nand,io-sync-reg = - <0x00000000 0x80220000>; - - gpios = <&banka 1 0 /* rdy */ - &banka 2 0 /* nce */ - &banka 3 0 /* ale */ - &banka 4 0 /* cle */ - 0 /* nwp */>; - - boot@100000 { - label = "Boot"; - reg = <0x100000 0x80000>; - }; - - redundant-boot@200000 { - label = "Redundant Boot"; - reg = <0x200000 0x80000>; - }; - - boot-env@300000 { - label = "Boot Evironment"; - reg = <0x300000 0x20000>; - }; - - redundant-boot-env@320000 { - label = "Redundant Boot Environment"; - reg = <0x300000 0x20000>; - }; - - kernel@380000 { - label = "Kernel"; - reg = <0x380000 0x800000>; - }; - - fs@b80000 { - label = "File System"; - reg = <0xb80000 0xf480000>; - }; - }; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/prima2-cb.dts b/kernel/arch/arm/boot/dts/lte_module-v1/prima2-cb.dts deleted file mode 100755 index 34ae3a64b..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/prima2-cb.dts +++ /dev/null @@ -1,424 +0,0 @@ -/dts-v1/; -/ { - model = "SiRF Prima2 eVB"; - compatible = "sirf,prima2-cb", "sirf,prima2"; - #address-cells = <1>; - #size-cells = <1>; - interrupt-parent = <&intc>; - - memory { - reg = <0x00000000 0x20000000>; - }; - - chosen { - bootargs = "mem=512M real_root=/dev/mmcblk0p2 console=ttyS0 panel=1 bootsplash=true bpp=16 androidboot.console=ttyS1"; - linux,stdout-path = &uart1; - }; - - cpus { - #address-cells = <1>; - #size-cells = <0>; - - cpu@0 { - reg = <0x0>; - d-cache-line-size = <32>; - i-cache-line-size = <32>; - d-cache-size = <32768>; - i-cache-size = <32768>; - /* from bootloader */ - timebase-frequency = <0>; - bus-frequency = <0>; - clock-frequency = <0>; - }; - }; - - axi { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0x40000000 0x40000000 0x80000000>; - - l2-cache-controller@80040000 { - compatible = "arm,pl310-cache", "sirf,prima2-pl310-cache"; - reg = <0x80040000 0x1000>; - interrupts = <59>; - arm,tag-latency = <1 1 1>; - arm,data-latency = <1 1 1>; - arm,filter-ranges = <0 0x40000000>; - }; - - intc: interrupt-controller@80020000 { - #interrupt-cells = <1>; - interrupt-controller; - compatible = "sirf,prima2-intc"; - reg = <0x80020000 0x1000>; - }; - - sys-iobg { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0x88000000 0x88000000 0x40000>; - - clock-controller@88000000 { - compatible = "sirf,prima2-clkc"; - reg = <0x88000000 0x1000>; - interrupts = <3>; - }; - - reset-controller@88010000 { - compatible = "sirf,prima2-rstc"; - reg = <0x88010000 0x1000>; - }; - - rsc-controller@88020000 { - compatible = "sirf,prima2-rsc"; - reg = <0x88020000 0x1000>; - }; - }; - - mem-iobg { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0x90000000 0x90000000 0x10000>; - - memory-controller@90000000 { - compatible = "sirf,prima2-memc"; - reg = <0x90000000 0x10000>; - interrupts = <27>; - }; - }; - - disp-iobg { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0x90010000 0x90010000 0x30000>; - - display@90010000 { - compatible = "sirf,prima2-lcd"; - reg = <0x90010000 0x20000>; - interrupts = <30>; - }; - - vpp@90020000 { - compatible = "sirf,prima2-vpp"; - reg = <0x90020000 0x10000>; - interrupts = <31>; - }; - }; - - graphics-iobg { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0x98000000 0x98000000 0x8000000>; - - graphics@98000000 { - compatible = "powervr,sgx531"; - reg = <0x98000000 0x8000000>; - interrupts = <6>; - }; - }; - - multimedia-iobg { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0xa0000000 0xa0000000 0x8000000>; - - multimedia@a0000000 { - compatible = "sirf,prima2-video-codec"; - reg = <0xa0000000 0x8000000>; - interrupts = <5>; - }; - }; - - dsp-iobg { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0xa8000000 0xa8000000 0x2000000>; - - dspif@a8000000 { - compatible = "sirf,prima2-dspif"; - reg = <0xa8000000 0x10000>; - interrupts = <9>; - }; - - gps@a8010000 { - compatible = "sirf,prima2-gps"; - reg = <0xa8010000 0x10000>; - interrupts = <7>; - }; - - dsp@a9000000 { - compatible = "sirf,prima2-dsp"; - reg = <0xa9000000 0x1000000>; - interrupts = <8>; - }; - }; - - peri-iobg { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0xb0000000 0xb0000000 0x180000>; - - timer@b0020000 { - compatible = "sirf,prima2-tick"; - reg = <0xb0020000 0x1000>; - interrupts = <0>; - }; - - nand@b0030000 { - compatible = "sirf,prima2-nand"; - reg = <0xb0030000 0x10000>; - interrupts = <41>; - }; - - audio@b0040000 { - compatible = "sirf,prima2-audio"; - reg = <0xb0040000 0x10000>; - interrupts = <35>; - }; - - uart0: uart@b0050000 { - cell-index = <0>; - compatible = "sirf,prima2-uart"; - reg = <0xb0050000 0x10000>; - interrupts = <17>; - }; - - uart1: uart@b0060000 { - cell-index = <1>; - compatible = "sirf,prima2-uart"; - reg = <0xb0060000 0x10000>; - interrupts = <18>; - }; - - uart2: uart@b0070000 { - cell-index = <2>; - compatible = "sirf,prima2-uart"; - reg = <0xb0070000 0x10000>; - interrupts = <19>; - }; - - usp0: usp@b0080000 { - cell-index = <0>; - compatible = "sirf,prima2-usp"; - reg = <0xb0080000 0x10000>; - interrupts = <20>; - }; - - usp1: usp@b0090000 { - cell-index = <1>; - compatible = "sirf,prima2-usp"; - reg = <0xb0090000 0x10000>; - interrupts = <21>; - }; - - usp2: usp@b00a0000 { - cell-index = <2>; - compatible = "sirf,prima2-usp"; - reg = <0xb00a0000 0x10000>; - interrupts = <22>; - }; - - dmac0: dma-controller@b00b0000 { - cell-index = <0>; - compatible = "sirf,prima2-dmac"; - reg = <0xb00b0000 0x10000>; - interrupts = <12>; - }; - - dmac1: dma-controller@b0160000 { - cell-index = <1>; - compatible = "sirf,prima2-dmac"; - reg = <0xb0160000 0x10000>; - interrupts = <13>; - }; - - vip@b00C0000 { - compatible = "sirf,prima2-vip"; - reg = <0xb00C0000 0x10000>; - }; - - spi0: spi@b00d0000 { - cell-index = <0>; - compatible = "sirf,prima2-spi"; - reg = <0xb00d0000 0x10000>; - interrupts = <15>; - }; - - spi1: spi@b0170000 { - cell-index = <1>; - compatible = "sirf,prima2-spi"; - reg = <0xb0170000 0x10000>; - interrupts = <16>; - }; - - i2c0: i2c@b00e0000 { - cell-index = <0>; - compatible = "sirf,prima2-i2c"; - reg = <0xb00e0000 0x10000>; - interrupts = <24>; - }; - - i2c1: i2c@b00f0000 { - cell-index = <1>; - compatible = "sirf,prima2-i2c"; - reg = <0xb00f0000 0x10000>; - interrupts = <25>; - }; - - tsc@b0110000 { - compatible = "sirf,prima2-tsc"; - reg = <0xb0110000 0x10000>; - interrupts = <33>; - }; - - gpio: gpio-controller@b0120000 { - #gpio-cells = <2>; - #interrupt-cells = <2>; - compatible = "sirf,prima2-gpio-pinmux"; - reg = <0xb0120000 0x10000>; - gpio-controller; - interrupt-controller; - }; - - pwm@b0130000 { - compatible = "sirf,prima2-pwm"; - reg = <0xb0130000 0x10000>; - }; - - efusesys@b0140000 { - compatible = "sirf,prima2-efuse"; - reg = <0xb0140000 0x10000>; - }; - - pulsec@b0150000 { - compatible = "sirf,prima2-pulsec"; - reg = <0xb0150000 0x10000>; - interrupts = <48>; - }; - - pci-iobg { - compatible = "sirf,prima2-pciiobg", "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0x56000000 0x56000000 0x1b00000>; - - sd0: sdhci@56000000 { - cell-index = <0>; - compatible = "sirf,prima2-sdhc"; - reg = <0x56000000 0x100000>; - interrupts = <38>; - }; - - sd1: sdhci@56100000 { - cell-index = <1>; - compatible = "sirf,prima2-sdhc"; - reg = <0x56100000 0x100000>; - interrupts = <38>; - }; - - sd2: sdhci@56200000 { - cell-index = <2>; - compatible = "sirf,prima2-sdhc"; - reg = <0x56200000 0x100000>; - interrupts = <23>; - }; - - sd3: sdhci@56300000 { - cell-index = <3>; - compatible = "sirf,prima2-sdhc"; - reg = <0x56300000 0x100000>; - interrupts = <23>; - }; - - sd4: sdhci@56400000 { - cell-index = <4>; - compatible = "sirf,prima2-sdhc"; - reg = <0x56400000 0x100000>; - interrupts = <39>; - }; - - sd5: sdhci@56500000 { - cell-index = <5>; - compatible = "sirf,prima2-sdhc"; - reg = <0x56500000 0x100000>; - interrupts = <39>; - }; - - pci-copy@57900000 { - compatible = "sirf,prima2-pcicp"; - reg = <0x57900000 0x100000>; - interrupts = <40>; - }; - - rom-interface@57a00000 { - compatible = "sirf,prima2-romif"; - reg = <0x57a00000 0x100000>; - }; - }; - }; - - rtc-iobg { - compatible = "sirf,prima2-rtciobg", "sirf-prima2-rtciobg-bus"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0x80030000 0x10000>; - - gpsrtc@1000 { - compatible = "sirf,prima2-gpsrtc"; - reg = <0x1000 0x1000>; - interrupts = <55 56 57>; - }; - - sysrtc@2000 { - compatible = "sirf,prima2-sysrtc"; - reg = <0x2000 0x1000>; - interrupts = <52 53 54>; - }; - - pwrc@3000 { - compatible = "sirf,prima2-pwrc"; - reg = <0x3000 0x1000>; - interrupts = <32>; - }; - }; - - uus-iobg { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0xb8000000 0xb8000000 0x40000>; - - usb0: usb@b00e0000 { - compatible = "chipidea,ci13611a-prima2"; - reg = <0xb8000000 0x10000>; - interrupts = <10>; - }; - - usb1: usb@b00f0000 { - compatible = "chipidea,ci13611a-prima2"; - reg = <0xb8010000 0x10000>; - interrupts = <11>; - }; - - sata@b00f0000 { - compatible = "synopsys,dwc-ahsata"; - reg = <0xb8020000 0x10000>; - interrupts = <37>; - }; - - security@b00f0000 { - compatible = "sirf,prima2-security"; - reg = <0xb8030000 0x10000>; - interrupts = <42>; - }; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/pxa168-aspenite.dts b/kernel/arch/arm/boot/dts/lte_module-v1/pxa168-aspenite.dts deleted file mode 100755 index e762facb3..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/pxa168-aspenite.dts +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright (C) 2012 Marvell Technology Group Ltd. - * Author: Haojian Zhuang - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * publishhed by the Free Software Foundation. - */ - -/dts-v1/; -/include/ "pxa168.dtsi" - -/ { - model = "Marvell PXA168 Aspenite Development Board"; - compatible = "mrvl,pxa168-aspenite", "mrvl,pxa168"; - - chosen { - bootargs = "console=ttyS0,115200 root=/dev/nfs nfsroot=192.168.1.100:/nfsroot/ ip=192.168.1.101:192.168.1.100::255.255.255.0::eth0:on"; - }; - - memory { - reg = <0x00000000 0x04000000>; - }; - - soc { - apb@d4000000 { - uart1: uart@d4017000 { - status = "okay"; - }; - twsi1: i2c@d4011000 { - status = "okay"; - }; - rtc: rtc@d4010000 { - status = "okay"; - }; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/pxa168.dtsi b/kernel/arch/arm/boot/dts/lte_module-v1/pxa168.dtsi deleted file mode 100755 index d32d5128f..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/pxa168.dtsi +++ /dev/null @@ -1,98 +0,0 @@ -/* - * Copyright (C) 2012 Marvell Technology Group Ltd. - * Author: Haojian Zhuang - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * publishhed by the Free Software Foundation. - */ - -/include/ "skeleton.dtsi" - -/ { - aliases { - serial0 = &uart1; - serial1 = &uart2; - serial2 = &uart3; - i2c0 = &twsi1; - i2c1 = &twsi2; - }; - - intc: intc-interrupt-controller@d4282000 { - compatible = "mrvl,mmp-intc", "mrvl,intc"; - interrupt-controller; - #interrupt-cells = <1>; - reg = <0xd4282000 0x1000>; - }; - - soc { - #address-cells = <1>; - #size-cells = <1>; - compatible = "simple-bus"; - interrupt-parent = <&intc>; - ranges; - - apb@d4000000 { /* APB */ - compatible = "mrvl,apb-bus", "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xd4000000 0x00200000>; - ranges; - - uart1: uart@d4017000 { - compatible = "mrvl,mmp-uart", "mrvl,pxa-uart"; - reg = <0xd4017000 0x1000>; - interrupts = <27>; - status = "disabled"; - }; - - uart2: uart@d4018000 { - compatible = "mrvl,mmp-uart", "mrvl,pxa-uart"; - reg = <0xd4018000 0x1000>; - interrupts = <28>; - status = "disabled"; - }; - - uart3: uart@d4026000 { - compatible = "mrvl,mmp-uart", "mrvl,pxa-uart"; - reg = <0xd4026000 0x1000>; - interrupts = <29>; - status = "disabled"; - }; - - gpio: gpio@d4019000 { - compatible = "mrvl,mmp-gpio", "mrvl,pxa-gpio"; - reg = <0xd4019000 0x1000>; - interrupts = <49>; - interrupt-names = "gpio_mux"; - gpio-controller; - #gpio-cells = <1>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - twsi1: i2c@d4011000 { - compatible = "mrvl,mmp-twsi", "mrvl,pxa-i2c"; - reg = <0xd4011000 0x1000>; - interrupts = <7>; - mrvl,i2c-fast-mode; - status = "disabled"; - }; - - twsi2: i2c@d4025000 { - compatible = "mrvl,mmp-twsi", "mrvl,pxa-i2c"; - reg = <0xd4025000 0x1000>; - interrupts = <58>; - status = "disabled"; - }; - - rtc: rtc@d4010000 { - compatible = "mrvl,mmp-rtc"; - reg = <0xd4010000 0x1000>; - interrupts = <5 6>; - interrupt-names = "rtc 1Hz", "rtc alarm"; - status = "disabled"; - }; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/qpic-panel-ili-qvga.dtsi b/kernel/arch/arm/boot/dts/lte_module-v1/qpic-panel-ili-qvga.dtsi deleted file mode 100755 index 089f1125d..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/qpic-panel-ili-qvga.dtsi +++ /dev/null @@ -1,27 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -&soc { - qcom,mdss_lcdc_ili9341_qvga { - compatible = "qcom,mdss-qpic-panel"; - label = "ili qvga lcdc panel"; - vdd-supply = <&pm8019_l11>; - avdd-supply = <&pm8019_l14>; - qcom,cs-gpio = <&msmgpio 21 0>; - qcom,te-gpio = <&msmgpio 22 0>; - qcom,rst-gpio = <&msmgpio 23 0>; - qcom,ad8-gpio = <&msmgpio 20 0>; - qcom,mdss-pan-res = <240 320>; - qcom,mdss-pan-bpp = <18>; - qcom,refresh_rate = <60>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/skeleton.dtsi b/kernel/arch/arm/boot/dts/lte_module-v1/skeleton.dtsi deleted file mode 100755 index f9988cd78..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/skeleton.dtsi +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Skeleton device tree; the bare minimum needed to boot; just include and - * add a compatible value. The bootloader will typically populate the memory - * node. - */ - -/ { - #address-cells = <1>; - #size-cells = <1>; - chosen { }; - aliases { }; - memory { - #address-cells = <1>; - #size-cells = <1>; - device_type = "memory"; - reg = <0 0>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/skeleton64.dtsi b/kernel/arch/arm/boot/dts/lte_module-v1/skeleton64.dtsi deleted file mode 100755 index 5bf6a82f0..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/skeleton64.dtsi +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Skeleton device tree; the bare minimum needed to boot; just include and - * add a compatible value. The bootloader will typically populate the memory - * node. - */ - -/ { - #address-cells = <2>; - #size-cells = <2>; - chosen { }; - aliases { }; - memory { - #address-cells = <2>; - #size-cells = <2>; - device_type = "memory"; - reg = <0 0 0 0>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/snowball.dts b/kernel/arch/arm/boot/dts/lte_module-v1/snowball.dts deleted file mode 100755 index 359c6d679..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/snowball.dts +++ /dev/null @@ -1,139 +0,0 @@ -/* - * Copyright 2011 ST-Ericsson AB - * - * The code contained herein is licensed under the GNU General Public - * License. You may obtain a copy of the GNU General Public License - * Version 2 or later at the following locations: - * - * http://www.opensource.org/licenses/gpl-license.html - * http://www.gnu.org/copyleft/gpl.html - */ - -/dts-v1/; -/include/ "db8500.dtsi" - -/ { - model = "Calao Systems Snowball platform with device tree"; - compatible = "calaosystems,snowball-a9500"; - - memory { - reg = <0x00000000 0x20000000>; - }; - - gpio_keys { - compatible = "gpio-keys"; - #address-cells = <1>; - #size-cells = <0>; - - button@1 { - debounce_interval = <50>; - wakeup = <1>; - linux,code = <2>; - label = "userpb"; - gpios = <&gpio1 0>; - }; - button@2 { - debounce_interval = <50>; - wakeup = <1>; - linux,code = <3>; - label = "userpb"; - gpios = <&gpio4 23>; - }; - button@3 { - debounce_interval = <50>; - wakeup = <1>; - linux,code = <4>; - label = "userpb"; - gpios = <&gpio4 23>; - }; - button@4 { - debounce_interval = <50>; - wakeup = <1>; - linux,code = <5>; - label = "userpb"; - gpios = <&gpio5 1>; - }; - button@5 { - debounce_interval = <50>; - wakeup = <1>; - linux,code = <6>; - label = "userpb"; - gpios = <&gpio5 2>; - }; - }; - - leds { - compatible = "gpio-leds"; - used-led { - label = "user_led"; - gpios = <&gpio4 14>; - }; - }; - - soc-u9500 { - - external-bus@50000000 { - compatible = "simple-bus"; - reg = <0x50000000 0x10000000>; - #address-cells = <1>; - #size-cells = <1>; - ranges; - - ethernet@50000000 { - compatible = "smsc,9111"; - reg = <0x50000000 0x10000>; - interrupts = <12>; - interrupt-parent = <&gpio4>; - }; - }; - - sdi@80126000 { - status = "enabled"; - cd-gpios = <&gpio6 26>; - }; - - sdi@80114000 { - status = "enabled"; - }; - - uart@80120000 { - status = "okay"; - }; - - uart@80121000 { - status = "okay"; - }; - - uart@80007000 { - status = "okay"; - }; - - i2c@80004000 { - tc3589x@42 { - //compatible = "tc3589x"; - reg = <0x42>; - interrupts = <25>; - interrupt-parent = <&gpio6>; - }; - tps61052@33 { - //compatible = "tps61052"; - reg = <0x33>; - }; - }; - - i2c@80128000 { - lp5521@0x33 { - // compatible = "lp5521"; - reg = <0x33>; - }; - lp5521@0x34 { - // compatible = "lp5521"; - reg = <0x34>; - }; - bh1780@0x29 { - // compatible = "rohm,bh1780gli"; - reg = <0x33>; - }; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/spear600-evb.dts b/kernel/arch/arm/boot/dts/lte_module-v1/spear600-evb.dts deleted file mode 100755 index 636292e18..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/spear600-evb.dts +++ /dev/null @@ -1,47 +0,0 @@ -/* - * Copyright 2012 Stefan Roese - * - * The code contained herein is licensed under the GNU General Public - * License. You may obtain a copy of the GNU General Public License - * Version 2 or later at the following locations: - * - * http://www.opensource.org/licenses/gpl-license.html - * http://www.gnu.org/copyleft/gpl.html - */ - -/dts-v1/; -/include/ "spear600.dtsi" - -/ { - model = "ST SPEAr600 Evaluation Board"; - compatible = "st,spear600-evb", "st,spear600"; - #address-cells = <1>; - #size-cells = <1>; - - memory { - device_type = "memory"; - reg = <0 0x10000000>; - }; - - ahb { - gmac: ethernet@e0800000 { - phy-mode = "gmii"; - status = "okay"; - }; - - apb { - serial@d0000000 { - status = "okay"; - }; - - serial@d0080000 { - status = "okay"; - }; - - i2c@d0200000 { - clock-frequency = <400000>; - status = "okay"; - }; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/spear600.dtsi b/kernel/arch/arm/boot/dts/lte_module-v1/spear600.dtsi deleted file mode 100755 index ebe0885a2..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/spear600.dtsi +++ /dev/null @@ -1,174 +0,0 @@ -/* - * Copyright 2012 Stefan Roese - * - * The code contained herein is licensed under the GNU General Public - * License. You may obtain a copy of the GNU General Public License - * Version 2 or later at the following locations: - * - * http://www.opensource.org/licenses/gpl-license.html - * http://www.gnu.org/copyleft/gpl.html - */ - -/include/ "skeleton.dtsi" - -/ { - compatible = "st,spear600"; - - cpus { - cpu@0 { - compatible = "arm,arm926ejs"; - }; - }; - - memory { - device_type = "memory"; - reg = <0 0x40000000>; - }; - - ahb { - #address-cells = <1>; - #size-cells = <1>; - compatible = "simple-bus"; - ranges = <0xd0000000 0xd0000000 0x30000000>; - - vic0: interrupt-controller@f1100000 { - compatible = "arm,pl190-vic"; - interrupt-controller; - reg = <0xf1100000 0x1000>; - #interrupt-cells = <1>; - }; - - vic1: interrupt-controller@f1000000 { - compatible = "arm,pl190-vic"; - interrupt-controller; - reg = <0xf1000000 0x1000>; - #interrupt-cells = <1>; - }; - - gmac: ethernet@e0800000 { - compatible = "st,spear600-gmac"; - reg = <0xe0800000 0x8000>; - interrupt-parent = <&vic1>; - interrupts = <24 23>; - interrupt-names = "macirq", "eth_wake_irq"; - status = "disabled"; - }; - - fsmc: flash@d1800000 { - compatible = "st,spear600-fsmc-nand"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xd1800000 0x1000 /* FSMC Register */ - 0xd2000000 0x4000>; /* NAND Base */ - reg-names = "fsmc_regs", "nand_data"; - st,ale-off = <0x20000>; - st,cle-off = <0x10000>; - status = "disabled"; - }; - - smi: flash@fc000000 { - compatible = "st,spear600-smi"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xfc000000 0x1000>; - interrupt-parent = <&vic1>; - interrupts = <12>; - status = "disabled"; - }; - - ehci@e1800000 { - compatible = "st,spear600-ehci", "usb-ehci"; - reg = <0xe1800000 0x1000>; - interrupt-parent = <&vic1>; - interrupts = <27>; - status = "disabled"; - }; - - ehci@e2000000 { - compatible = "st,spear600-ehci", "usb-ehci"; - reg = <0xe2000000 0x1000>; - interrupt-parent = <&vic1>; - interrupts = <29>; - status = "disabled"; - }; - - ohci@e1900000 { - compatible = "st,spear600-ohci", "usb-ohci"; - reg = <0xe1900000 0x1000>; - interrupt-parent = <&vic1>; - interrupts = <26>; - status = "disabled"; - }; - - ohci@e2100000 { - compatible = "st,spear600-ohci", "usb-ohci"; - reg = <0xe2100000 0x1000>; - interrupt-parent = <&vic1>; - interrupts = <28>; - status = "disabled"; - }; - - apb { - #address-cells = <1>; - #size-cells = <1>; - compatible = "simple-bus"; - ranges = <0xd0000000 0xd0000000 0x30000000>; - - serial@d0000000 { - compatible = "arm,pl011", "arm,primecell"; - reg = <0xd0000000 0x1000>; - interrupt-parent = <&vic0>; - interrupts = <24>; - status = "disabled"; - }; - - serial@d0080000 { - compatible = "arm,pl011", "arm,primecell"; - reg = <0xd0080000 0x1000>; - interrupt-parent = <&vic0>; - interrupts = <25>; - status = "disabled"; - }; - - /* local/cpu GPIO */ - gpio0: gpio@f0100000 { - #gpio-cells = <2>; - compatible = "arm,pl061", "arm,primecell"; - gpio-controller; - reg = <0xf0100000 0x1000>; - interrupt-parent = <&vic0>; - interrupts = <18>; - }; - - /* basic GPIO */ - gpio1: gpio@fc980000 { - #gpio-cells = <2>; - compatible = "arm,pl061", "arm,primecell"; - gpio-controller; - reg = <0xfc980000 0x1000>; - interrupt-parent = <&vic1>; - interrupts = <19>; - }; - - /* appl GPIO */ - gpio2: gpio@d8100000 { - #gpio-cells = <2>; - compatible = "arm,pl061", "arm,primecell"; - gpio-controller; - reg = <0xd8100000 0x1000>; - interrupt-parent = <&vic1>; - interrupts = <4>; - }; - - i2c@d0200000 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "snps,designware-i2c"; - reg = <0xd0200000 0x1000>; - interrupt-parent = <&vic0>; - interrupts = <28>; - status = "disabled"; - }; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/tegra-cardhu.dts b/kernel/arch/arm/boot/dts/lte_module-v1/tegra-cardhu.dts deleted file mode 100755 index ac3fb7558..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/tegra-cardhu.dts +++ /dev/null @@ -1,70 +0,0 @@ -/dts-v1/; - -/include/ "tegra30.dtsi" - -/ { - model = "NVIDIA Tegra30 Cardhu evaluation board"; - compatible = "nvidia,cardhu", "nvidia,tegra30"; - - memory { - reg = < 0x80000000 0x40000000 >; - }; - - serial@70006000 { - clock-frequency = < 408000000 >; - }; - - serial@70006040 { - status = "disable"; - }; - - serial@70006200 { - status = "disable"; - }; - - serial@70006300 { - status = "disable"; - }; - - serial@70006400 { - status = "disable"; - }; - - i2c@7000c000 { - clock-frequency = <100000>; - }; - - i2c@7000c400 { - clock-frequency = <100000>; - }; - - i2c@7000c500 { - clock-frequency = <100000>; - }; - - i2c@7000c700 { - clock-frequency = <100000>; - }; - - i2c@7000d000 { - clock-frequency = <100000>; - }; - - sdhci@78000000 { - cd-gpios = <&gpio 69 0>; /* gpio PI5 */ - wp-gpios = <&gpio 155 0>; /* gpio PT3 */ - power-gpios = <&gpio 31 0>; /* gpio PD7 */ - }; - - sdhci@78000200 { - status = "disable"; - }; - - sdhci@78000400 { - status = "disable"; - }; - - sdhci@78000400 { - support-8bit; - }; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/tegra-harmony.dts b/kernel/arch/arm/boot/dts/lte_module-v1/tegra-harmony.dts deleted file mode 100755 index 6e8447dc0..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/tegra-harmony.dts +++ /dev/null @@ -1,115 +0,0 @@ -/dts-v1/; - -/include/ "tegra20.dtsi" - -/ { - model = "NVIDIA Tegra2 Harmony evaluation board"; - compatible = "nvidia,harmony", "nvidia,tegra20"; - - memory@0 { - reg = < 0x00000000 0x40000000 >; - }; - - pmc@7000f400 { - nvidia,invert-interrupt; - }; - - i2c@7000c000 { - clock-frequency = <400000>; - - wm8903: wm8903@1a { - compatible = "wlf,wm8903"; - reg = <0x1a>; - interrupt-parent = <&gpio>; - interrupts = < 187 0x04 >; - - gpio-controller; - #gpio-cells = <2>; - - micdet-cfg = <0>; - micdet-delay = <100>; - gpio-cfg = < 0xffffffff 0xffffffff 0 0xffffffff 0xffffffff >; - }; - }; - - i2c@7000c400 { - clock-frequency = <400000>; - }; - - i2c@7000c500 { - clock-frequency = <400000>; - }; - - i2c@7000d000 { - clock-frequency = <400000>; - }; - - i2s@70002a00 { - status = "disable"; - }; - - sound { - compatible = "nvidia,tegra-audio-wm8903-harmony", - "nvidia,tegra-audio-wm8903"; - nvidia,model = "NVIDIA Tegra Harmony"; - - nvidia,audio-routing = - "Headphone Jack", "HPOUTR", - "Headphone Jack", "HPOUTL", - "Int Spk", "ROP", - "Int Spk", "RON", - "Int Spk", "LOP", - "Int Spk", "LON", - "Mic Jack", "MICBIAS", - "IN1L", "Mic Jack"; - - nvidia,i2s-controller = <&tegra_i2s1>; - nvidia,audio-codec = <&wm8903>; - - nvidia,spkr-en-gpios = <&wm8903 2 0>; - nvidia,hp-det-gpios = <&gpio 178 0>; /* gpio PW2 */ - nvidia,int-mic-en-gpios = <&gpio 184 0>; /*gpio PX0 */ - nvidia,ext-mic-en-gpios = <&gpio 185 0>; /* gpio PX1 */ - }; - - serial@70006000 { - status = "disable"; - }; - - serial@70006040 { - status = "disable"; - }; - - serial@70006200 { - status = "disable"; - }; - - serial@70006300 { - clock-frequency = < 216000000 >; - }; - - serial@70006400 { - status = "disable"; - }; - - sdhci@c8000000 { - status = "disable"; - }; - - sdhci@c8000200 { - cd-gpios = <&gpio 69 0>; /* gpio PI5 */ - wp-gpios = <&gpio 57 0>; /* gpio PH1 */ - power-gpios = <&gpio 155 0>; /* gpio PT3 */ - }; - - sdhci@c8000400 { - status = "disable"; - }; - - sdhci@c8000600 { - cd-gpios = <&gpio 58 0>; /* gpio PH2 */ - wp-gpios = <&gpio 59 0>; /* gpio PH3 */ - power-gpios = <&gpio 70 0>; /* gpio PI6 */ - support-8bit; - }; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/tegra-paz00.dts b/kernel/arch/arm/boot/dts/lte_module-v1/tegra-paz00.dts deleted file mode 100755 index 6c02abb46..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/tegra-paz00.dts +++ /dev/null @@ -1,134 +0,0 @@ -/dts-v1/; - -/include/ "tegra20.dtsi" - -/ { - model = "Toshiba AC100 / Dynabook AZ"; - compatible = "compal,paz00", "nvidia,tegra20"; - - memory@0 { - reg = <0x00000000 0x20000000>; - }; - - i2c@7000c000 { - clock-frequency = <400000>; - - alc5632: alc5632@1e { - compatible = "realtek,alc5632"; - reg = <0x1e>; - gpio-controller; - #gpio-cells = <2>; - }; - }; - - i2c@7000c400 { - clock-frequency = <400000>; - }; - - i2c@7000c500 { - status = "disable"; - }; - - nvec@7000c500 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "nvidia,nvec"; - reg = <0x7000C500 0x100>; - interrupts = <0 92 0x04>; - clock-frequency = <80000>; - request-gpios = <&gpio 170 0>; - slave-addr = <138>; - }; - - i2c@7000d000 { - clock-frequency = <400000>; - - adt7461@4c { - compatible = "adi,adt7461"; - reg = <0x4c>; - }; - }; - - i2s@70002a00 { - status = "disable"; - }; - - sound { - compatible = "nvidia,tegra-audio-alc5632-paz00", - "nvidia,tegra-audio-alc5632"; - - nvidia,model = "Compal PAZ00"; - - nvidia,audio-routing = - "Int Spk", "SPKOUT", - "Int Spk", "SPKOUTN", - "Headset Mic", "MICBIAS1", - "MIC1", "Headset Mic", - "Headset Stereophone", "HPR", - "Headset Stereophone", "HPL", - "DMICDAT", "Digital Mic"; - - nvidia,audio-codec = <&alc5632>; - nvidia,i2s-controller = <&tegra_i2s1>; - nvidia,hp-det-gpios = <&gpio 178 0>; /* gpio PW2 */ - }; - - serial@70006000 { - clock-frequency = <216000000>; - }; - - serial@70006040 { - status = "disable"; - }; - - serial@70006200 { - clock-frequency = <216000000>; - }; - - serial@70006300 { - status = "disable"; - }; - - serial@70006400 { - status = "disable"; - }; - - sdhci@c8000000 { - cd-gpios = <&gpio 173 0>; /* gpio PV5 */ - wp-gpios = <&gpio 57 0>; /* gpio PH1 */ - power-gpios = <&gpio 169 0>; /* gpio PV1 */ - }; - - sdhci@c8000200 { - status = "disable"; - }; - - sdhci@c8000400 { - status = "disable"; - }; - - sdhci@c8000600 { - support-8bit; - }; - - gpio-keys { - compatible = "gpio-keys"; - - power { - label = "Power"; - gpios = <&gpio 79 1>; /* gpio PJ7, active low */ - linux,code = <116>; /* KEY_POWER */ - gpio-key,wakeup; - }; - }; - - gpio-leds { - compatible = "gpio-leds"; - - wifi { - label = "wifi-led"; - gpios = <&gpio 24 0>; - linux,default-trigger = "rfkill0"; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/tegra-seaboard.dts b/kernel/arch/arm/boot/dts/lte_module-v1/tegra-seaboard.dts deleted file mode 100755 index dbf1c5a17..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/tegra-seaboard.dts +++ /dev/null @@ -1,175 +0,0 @@ -/dts-v1/; - -/include/ "tegra20.dtsi" - -/ { - model = "NVIDIA Seaboard"; - compatible = "nvidia,seaboard", "nvidia,tegra20"; - - memory { - device_type = "memory"; - reg = < 0x00000000 0x40000000 >; - }; - - i2c@7000c000 { - clock-frequency = <400000>; - - wm8903: wm8903@1a { - compatible = "wlf,wm8903"; - reg = <0x1a>; - interrupt-parent = <&gpio>; - interrupts = < 187 0x04 >; - - gpio-controller; - #gpio-cells = <2>; - - micdet-cfg = <0>; - micdet-delay = <100>; - gpio-cfg = < 0xffffffff 0xffffffff 0 0xffffffff 0xffffffff >; - }; - }; - - i2c@7000c400 { - clock-frequency = <400000>; - }; - - i2c@7000c500 { - clock-frequency = <400000>; - }; - - i2c@7000d000 { - clock-frequency = <400000>; - - adt7461@4c { - compatible = "adt7461"; - reg = <0x4c>; - }; - }; - - i2s@70002a00 { - status = "disable"; - }; - - sound { - compatible = "nvidia,tegra-audio-wm8903-seaboard", - "nvidia,tegra-audio-wm8903"; - nvidia,model = "NVIDIA Tegra Seaboard"; - - nvidia,audio-routing = - "Headphone Jack", "HPOUTR", - "Headphone Jack", "HPOUTL", - "Int Spk", "ROP", - "Int Spk", "RON", - "Int Spk", "LOP", - "Int Spk", "LON", - "Mic Jack", "MICBIAS", - "IN1R", "Mic Jack"; - - nvidia,i2s-controller = <&tegra_i2s1>; - nvidia,audio-codec = <&wm8903>; - - nvidia,spkr-en-gpios = <&wm8903 2 0>; - nvidia,hp-det-gpios = <&gpio 185 0>; /* gpio PX1 */ - }; - - serial@70006000 { - status = "disable"; - }; - - serial@70006040 { - status = "disable"; - }; - - serial@70006200 { - status = "disable"; - }; - - serial@70006300 { - clock-frequency = < 216000000 >; - }; - - serial@70006400 { - status = "disable"; - }; - - sdhci@c8000000 { - status = "disable"; - }; - - sdhci@c8000200 { - status = "disable"; - }; - - sdhci@c8000400 { - cd-gpios = <&gpio 69 0>; /* gpio PI5 */ - wp-gpios = <&gpio 57 0>; /* gpio PH1 */ - power-gpios = <&gpio 70 0>; /* gpio PI6 */ - }; - - sdhci@c8000600 { - support-8bit; - }; - - usb@c5000000 { - nvidia,vbus-gpio = <&gpio 24 0>; /* PD0 */ - dr_mode = "otg"; - }; - - gpio-keys { - compatible = "gpio-keys"; - - power { - label = "Power"; - gpios = <&gpio 170 1>; /* gpio PV2, active low */ - linux,code = <116>; /* KEY_POWER */ - gpio-key,wakeup; - }; - - lid { - label = "Lid"; - gpios = <&gpio 23 0>; /* gpio PC7 */ - linux,input-type = <5>; /* EV_SW */ - linux,code = <0>; /* SW_LID */ - debounce-interval = <1>; - gpio-key,wakeup; - }; - }; - - emc@7000f400 { - emc-table@190000 { - reg = < 190000 >; - compatible = "nvidia,tegra20-emc-table"; - clock-frequency = < 190000 >; - nvidia,emc-registers = < 0x0000000c 0x00000026 - 0x00000009 0x00000003 0x00000004 0x00000004 - 0x00000002 0x0000000c 0x00000003 0x00000003 - 0x00000002 0x00000001 0x00000004 0x00000005 - 0x00000004 0x00000009 0x0000000d 0x0000059f - 0x00000000 0x00000003 0x00000003 0x00000003 - 0x00000003 0x00000001 0x0000000b 0x000000c8 - 0x00000003 0x00000007 0x00000004 0x0000000f - 0x00000002 0x00000000 0x00000000 0x00000002 - 0x00000000 0x00000000 0x00000083 0xa06204ae - 0x007dc010 0x00000000 0x00000000 0x00000000 - 0x00000000 0x00000000 0x00000000 0x00000000 >; - }; - - emc-table@380000 { - reg = < 380000 >; - compatible = "nvidia,tegra20-emc-table"; - clock-frequency = < 380000 >; - nvidia,emc-registers = < 0x00000017 0x0000004b - 0x00000012 0x00000006 0x00000004 0x00000005 - 0x00000003 0x0000000c 0x00000006 0x00000006 - 0x00000003 0x00000001 0x00000004 0x00000005 - 0x00000004 0x00000009 0x0000000d 0x00000b5f - 0x00000000 0x00000003 0x00000003 0x00000006 - 0x00000006 0x00000001 0x00000011 0x000000c8 - 0x00000003 0x0000000e 0x00000007 0x0000000f - 0x00000002 0x00000000 0x00000000 0x00000002 - 0x00000000 0x00000000 0x00000083 0xe044048b - 0x007d8010 0x00000000 0x00000000 0x00000000 - 0x00000000 0x00000000 0x00000000 0x00000000 >; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/tegra-trimslice.dts b/kernel/arch/arm/boot/dts/lte_module-v1/tegra-trimslice.dts deleted file mode 100755 index 252476867..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/tegra-trimslice.dts +++ /dev/null @@ -1,77 +0,0 @@ -/dts-v1/; - -/include/ "tegra20.dtsi" - -/ { - model = "Compulab TrimSlice board"; - compatible = "compulab,trimslice", "nvidia,tegra20"; - - memory@0 { - reg = < 0x00000000 0x40000000 >; - }; - - i2c@7000c000 { - clock-frequency = <400000>; - }; - - i2c@7000c400 { - clock-frequency = <400000>; - }; - - i2c@7000c500 { - clock-frequency = <400000>; - }; - - i2c@7000d000 { - status = "disable"; - }; - - i2s@70002800 { - status = "disable"; - }; - - i2s@70002a00 { - status = "disable"; - }; - - das@70000c00 { - status = "disable"; - }; - - serial@70006000 { - clock-frequency = < 216000000 >; - }; - - serial@70006040 { - status = "disable"; - }; - - serial@70006200 { - status = "disable"; - }; - - serial@70006300 { - status = "disable"; - }; - - serial@70006400 { - status = "disable"; - }; - - sdhci@c8000000 { - status = "disable"; - }; - - sdhci@c8000200 { - status = "disable"; - }; - - sdhci@c8000400 { - status = "disable"; - }; - - sdhci@c8000600 { - cd-gpios = <&gpio 121 0>; - wp-gpios = <&gpio 122 0>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/tegra-ventana.dts b/kernel/arch/arm/boot/dts/lte_module-v1/tegra-ventana.dts deleted file mode 100755 index 2dcff8728..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/tegra-ventana.dts +++ /dev/null @@ -1,108 +0,0 @@ -/dts-v1/; - -/include/ "tegra20.dtsi" - -/ { - model = "NVIDIA Tegra2 Ventana evaluation board"; - compatible = "nvidia,ventana", "nvidia,tegra20"; - - memory { - reg = < 0x00000000 0x40000000 >; - }; - - i2c@7000c000 { - clock-frequency = <400000>; - - wm8903: wm8903@1a { - compatible = "wlf,wm8903"; - reg = <0x1a>; - interrupt-parent = <&gpio>; - interrupts = < 187 0x04 >; - - gpio-controller; - #gpio-cells = <2>; - - micdet-cfg = <0>; - micdet-delay = <100>; - gpio-cfg = < 0xffffffff 0xffffffff 0 0xffffffff 0xffffffff >; - }; - }; - - i2c@7000c400 { - clock-frequency = <400000>; - }; - - i2c@7000c500 { - clock-frequency = <400000>; - }; - - i2c@7000d000 { - clock-frequency = <400000>; - }; - - i2s@70002a00 { - status = "disable"; - }; - - sound { - compatible = "nvidia,tegra-audio-wm8903-ventana", - "nvidia,tegra-audio-wm8903"; - nvidia,model = "NVIDIA Tegra Ventana"; - - nvidia,audio-routing = - "Headphone Jack", "HPOUTR", - "Headphone Jack", "HPOUTL", - "Int Spk", "ROP", - "Int Spk", "RON", - "Int Spk", "LOP", - "Int Spk", "LON", - "Mic Jack", "MICBIAS", - "IN1L", "Mic Jack"; - - nvidia,i2s-controller = <&tegra_i2s1>; - nvidia,audio-codec = <&wm8903>; - - nvidia,spkr-en-gpios = <&wm8903 2 0>; - nvidia,hp-det-gpios = <&gpio 178 0>; /* gpio PW2 */ - nvidia,int-mic-en-gpios = <&gpio 184 0>; /*gpio PX0 */ - nvidia,ext-mic-en-gpios = <&gpio 185 0>; /* gpio PX1 */ - }; - - serial@70006000 { - status = "disable"; - }; - - serial@70006040 { - status = "disable"; - }; - - serial@70006200 { - status = "disable"; - }; - - serial@70006300 { - clock-frequency = < 216000000 >; - }; - - serial@70006400 { - status = "disable"; - }; - - sdhci@c8000000 { - status = "disable"; - }; - - sdhci@c8000200 { - status = "disable"; - }; - - sdhci@c8000400 { - cd-gpios = <&gpio 69 0>; /* gpio PI5 */ - wp-gpios = <&gpio 57 0>; /* gpio PH1 */ - power-gpios = <&gpio 70 0>; /* gpio PI6 */ - }; - - sdhci@c8000600 { - support-8bit; - }; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/tegra20.dtsi b/kernel/arch/arm/boot/dts/lte_module-v1/tegra20.dtsi deleted file mode 100755 index 108e894a8..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/tegra20.dtsi +++ /dev/null @@ -1,210 +0,0 @@ -/include/ "skeleton.dtsi" - -/ { - compatible = "nvidia,tegra20"; - interrupt-parent = <&intc>; - - pmc@7000f400 { - compatible = "nvidia,tegra20-pmc"; - reg = <0x7000e400 0x400>; - }; - - intc: interrupt-controller@50041000 { - compatible = "arm,cortex-a9-gic"; - interrupt-controller; - #interrupt-cells = <3>; - reg = < 0x50041000 0x1000 >, - < 0x50040100 0x0100 >; - }; - - pmu { - compatible = "arm,cortex-a9-pmu"; - interrupts = <0 56 0x04 - 0 57 0x04>; - }; - - apbdma: dma@6000a000 { - compatible = "nvidia,tegra20-apbdma"; - reg = <0x6000a000 0x1200>; - interrupts = < 0 104 0x04 - 0 105 0x04 - 0 106 0x04 - 0 107 0x04 - 0 108 0x04 - 0 109 0x04 - 0 110 0x04 - 0 111 0x04 - 0 112 0x04 - 0 113 0x04 - 0 114 0x04 - 0 115 0x04 - 0 116 0x04 - 0 117 0x04 - 0 118 0x04 - 0 119 0x04 >; - }; - - i2c@7000c000 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "nvidia,tegra20-i2c"; - reg = <0x7000C000 0x100>; - interrupts = < 0 38 0x04 >; - }; - - i2c@7000c400 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "nvidia,tegra20-i2c"; - reg = <0x7000C400 0x100>; - interrupts = < 0 84 0x04 >; - }; - - i2c@7000c500 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "nvidia,tegra20-i2c"; - reg = <0x7000C500 0x100>; - interrupts = < 0 92 0x04 >; - }; - - i2c@7000d000 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "nvidia,tegra20-i2c-dvc"; - reg = <0x7000D000 0x200>; - interrupts = < 0 53 0x04 >; - }; - - tegra_i2s1: i2s@70002800 { - compatible = "nvidia,tegra20-i2s"; - reg = <0x70002800 0x200>; - interrupts = < 0 13 0x04 >; - nvidia,dma-request-selector = < &apbdma 2 >; - }; - - tegra_i2s2: i2s@70002a00 { - compatible = "nvidia,tegra20-i2s"; - reg = <0x70002a00 0x200>; - interrupts = < 0 3 0x04 >; - nvidia,dma-request-selector = < &apbdma 1 >; - }; - - das@70000c00 { - compatible = "nvidia,tegra20-das"; - reg = <0x70000c00 0x80>; - }; - - gpio: gpio@6000d000 { - compatible = "nvidia,tegra20-gpio"; - reg = < 0x6000d000 0x1000 >; - interrupts = < 0 32 0x04 - 0 33 0x04 - 0 34 0x04 - 0 35 0x04 - 0 55 0x04 - 0 87 0x04 - 0 89 0x04 >; - #gpio-cells = <2>; - gpio-controller; - #interrupt-cells = <2>; - interrupt-controller; - }; - - pinmux: pinmux@70000000 { - compatible = "nvidia,tegra20-pinmux"; - reg = < 0x70000014 0x10 /* Tri-state registers */ - 0x70000080 0x20 /* Mux registers */ - 0x700000a0 0x14 /* Pull-up/down registers */ - 0x70000868 0xa8 >; /* Pad control registers */ - }; - - serial@70006000 { - compatible = "nvidia,tegra20-uart"; - reg = <0x70006000 0x40>; - reg-shift = <2>; - interrupts = < 0 36 0x04 >; - }; - - serial@70006040 { - compatible = "nvidia,tegra20-uart"; - reg = <0x70006040 0x40>; - reg-shift = <2>; - interrupts = < 0 37 0x04 >; - }; - - serial@70006200 { - compatible = "nvidia,tegra20-uart"; - reg = <0x70006200 0x100>; - reg-shift = <2>; - interrupts = < 0 46 0x04 >; - }; - - serial@70006300 { - compatible = "nvidia,tegra20-uart"; - reg = <0x70006300 0x100>; - reg-shift = <2>; - interrupts = < 0 90 0x04 >; - }; - - serial@70006400 { - compatible = "nvidia,tegra20-uart"; - reg = <0x70006400 0x100>; - reg-shift = <2>; - interrupts = < 0 91 0x04 >; - }; - - emc@7000f400 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "nvidia,tegra20-emc"; - reg = <0x7000f400 0x200>; - }; - - sdhci@c8000000 { - compatible = "nvidia,tegra20-sdhci"; - reg = <0xc8000000 0x200>; - interrupts = < 0 14 0x04 >; - }; - - sdhci@c8000200 { - compatible = "nvidia,tegra20-sdhci"; - reg = <0xc8000200 0x200>; - interrupts = < 0 15 0x04 >; - }; - - sdhci@c8000400 { - compatible = "nvidia,tegra20-sdhci"; - reg = <0xc8000400 0x200>; - interrupts = < 0 19 0x04 >; - }; - - sdhci@c8000600 { - compatible = "nvidia,tegra20-sdhci"; - reg = <0xc8000600 0x200>; - interrupts = < 0 31 0x04 >; - }; - - usb@c5000000 { - compatible = "nvidia,tegra20-ehci", "usb-ehci"; - reg = <0xc5000000 0x4000>; - interrupts = < 0 20 0x04 >; - phy_type = "utmi"; - nvidia,has-legacy-mode; - }; - - usb@c5004000 { - compatible = "nvidia,tegra20-ehci", "usb-ehci"; - reg = <0xc5004000 0x4000>; - interrupts = < 0 21 0x04 >; - phy_type = "ulpi"; - }; - - usb@c5008000 { - compatible = "nvidia,tegra20-ehci", "usb-ehci"; - reg = <0xc5008000 0x4000>; - interrupts = < 0 97 0x04 >; - phy_type = "utmi"; - }; -}; - diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/tegra30.dtsi b/kernel/arch/arm/boot/dts/lte_module-v1/tegra30.dtsi deleted file mode 100755 index 62a7b39f1..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/tegra30.dtsi +++ /dev/null @@ -1,186 +0,0 @@ -/include/ "skeleton.dtsi" - -/ { - compatible = "nvidia,tegra30"; - interrupt-parent = <&intc>; - - pmc@7000f400 { - compatible = "nvidia,tegra20-pmc", "nvidia,tegra30-pmc"; - reg = <0x7000e400 0x400>; - }; - - intc: interrupt-controller@50041000 { - compatible = "arm,cortex-a9-gic"; - interrupt-controller; - #interrupt-cells = <3>; - reg = < 0x50041000 0x1000 >, - < 0x50040100 0x0100 >; - }; - - pmu { - compatible = "arm,cortex-a9-pmu"; - interrupts = <0 144 0x04 - 0 145 0x04 - 0 146 0x04 - 0 147 0x04>; - }; - - apbdma: dma@6000a000 { - compatible = "nvidia,tegra30-apbdma", "nvidia,tegra20-apbdma"; - reg = <0x6000a000 0x1400>; - interrupts = < 0 104 0x04 - 0 105 0x04 - 0 106 0x04 - 0 107 0x04 - 0 108 0x04 - 0 109 0x04 - 0 110 0x04 - 0 111 0x04 - 0 112 0x04 - 0 113 0x04 - 0 114 0x04 - 0 115 0x04 - 0 116 0x04 - 0 117 0x04 - 0 118 0x04 - 0 119 0x04 - 0 128 0x04 - 0 129 0x04 - 0 130 0x04 - 0 131 0x04 - 0 132 0x04 - 0 133 0x04 - 0 134 0x04 - 0 135 0x04 - 0 136 0x04 - 0 137 0x04 - 0 138 0x04 - 0 139 0x04 - 0 140 0x04 - 0 141 0x04 - 0 142 0x04 - 0 143 0x04 >; - }; - - i2c@7000c000 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "nvidia,tegra30-i2c", "nvidia,tegra20-i2c"; - reg = <0x7000C000 0x100>; - interrupts = < 0 38 0x04 >; - }; - - i2c@7000c400 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "nvidia,tegra30-i2c", "nvidia,tegra20-i2c"; - reg = <0x7000C400 0x100>; - interrupts = < 0 84 0x04 >; - }; - - i2c@7000c500 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "nvidia,tegra30-i2c", "nvidia,tegra20-i2c"; - reg = <0x7000C500 0x100>; - interrupts = < 0 92 0x04 >; - }; - - i2c@7000c700 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "nvidia,tegra30-i2c", "nvidia,tegra20-i2c"; - reg = <0x7000c700 0x100>; - interrupts = < 0 120 0x04 >; - }; - - i2c@7000d000 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "nvidia,tegra30-i2c", "nvidia,tegra20-i2c"; - reg = <0x7000D000 0x100>; - interrupts = < 0 53 0x04 >; - }; - - gpio: gpio@6000d000 { - compatible = "nvidia,tegra30-gpio", "nvidia,tegra20-gpio"; - reg = < 0x6000d000 0x1000 >; - interrupts = < 0 32 0x04 - 0 33 0x04 - 0 34 0x04 - 0 35 0x04 - 0 55 0x04 - 0 87 0x04 - 0 89 0x04 - 0 125 0x04 >; - #gpio-cells = <2>; - gpio-controller; - #interrupt-cells = <2>; - interrupt-controller; - }; - - serial@70006000 { - compatible = "nvidia,tegra30-uart", "nvidia,tegra20-uart"; - reg = <0x70006000 0x40>; - reg-shift = <2>; - interrupts = < 0 36 0x04 >; - }; - - serial@70006040 { - compatible = "nvidia,tegra30-uart", "nvidia,tegra20-uart"; - reg = <0x70006040 0x40>; - reg-shift = <2>; - interrupts = < 0 37 0x04 >; - }; - - serial@70006200 { - compatible = "nvidia,tegra30-uart", "nvidia,tegra20-uart"; - reg = <0x70006200 0x100>; - reg-shift = <2>; - interrupts = < 0 46 0x04 >; - }; - - serial@70006300 { - compatible = "nvidia,tegra30-uart", "nvidia,tegra20-uart"; - reg = <0x70006300 0x100>; - reg-shift = <2>; - interrupts = < 0 90 0x04 >; - }; - - serial@70006400 { - compatible = "nvidia,tegra30-uart", "nvidia,tegra20-uart"; - reg = <0x70006400 0x100>; - reg-shift = <2>; - interrupts = < 0 91 0x04 >; - }; - - sdhci@78000000 { - compatible = "nvidia,tegra30-sdhci", "nvidia,tegra20-sdhci"; - reg = <0x78000000 0x200>; - interrupts = < 0 14 0x04 >; - }; - - sdhci@78000200 { - compatible = "nvidia,tegra30-sdhci", "nvidia,tegra20-sdhci"; - reg = <0x78000200 0x200>; - interrupts = < 0 15 0x04 >; - }; - - sdhci@78000400 { - compatible = "nvidia,tegra30-sdhci", "nvidia,tegra20-sdhci"; - reg = <0x78000400 0x200>; - interrupts = < 0 19 0x04 >; - }; - - sdhci@78000600 { - compatible = "nvidia,tegra30-sdhci", "nvidia,tegra20-sdhci"; - reg = <0x78000600 0x200>; - interrupts = < 0 31 0x04 >; - }; - - pinmux: pinmux@70000000 { - compatible = "nvidia,tegra30-pinmux"; - reg = < 0x70000868 0xd0 /* Pad control registers */ - 0x70003000 0x3e0 >; /* Mux registers */ - }; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/testcases/tests-phandle.dtsi b/kernel/arch/arm/boot/dts/lte_module-v1/testcases/tests-phandle.dtsi deleted file mode 100755 index 0007d3cd7..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/testcases/tests-phandle.dtsi +++ /dev/null @@ -1,39 +0,0 @@ - -/ { - testcase-data { - phandle-tests { - provider0: provider0 { - #phandle-cells = <0>; - }; - - provider1: provider1 { - #phandle-cells = <1>; - }; - - provider2: provider2 { - #phandle-cells = <2>; - }; - - provider3: provider3 { - #phandle-cells = <3>; - }; - - consumer-a { - phandle-list = <&provider1 1>, - <&provider2 2 0>, - <0>, - <&provider3 4 4 3>, - <&provider2 5 100>, - <&provider0>, - <&provider1 7>; - phandle-list-names = "first", "second", "third"; - - phandle-list-bad-phandle = <12345678 0 0>; - phandle-list-bad-args = <&provider2 1 0>, - <&provider3 0>; - empty-property; - unterminated-string = [40 41 42 43]; - }; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/testcases/tests.dtsi b/kernel/arch/arm/boot/dts/lte_module-v1/testcases/tests.dtsi deleted file mode 100755 index a7c506762..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/testcases/tests.dtsi +++ /dev/null @@ -1 +0,0 @@ -/include/ "tests-phandle.dtsi" diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/usb_a9g20-dab-mmx.dtsi b/kernel/arch/arm/boot/dts/lte_module-v1/usb_a9g20-dab-mmx.dtsi deleted file mode 100755 index ad3eca17c..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/usb_a9g20-dab-mmx.dtsi +++ /dev/null @@ -1,96 +0,0 @@ -/* - * calao-dab-mmx.dtsi - Device Tree Include file for Calao DAB-MMX Daughter Board - * - * Copyright (C) 2011 Jean-Christophe PLAGNIOL-VILLARD - * - * Licensed under GPLv2. - */ - -/ { - ahb { - apb { - usart1: serial@fffb4000 { - status = "okay"; - }; - - usart3: serial@fffd0000 { - status = "okay"; - }; - }; - }; - - i2c-gpio@0 { - status = "okay"; - }; - - leds { - compatible = "gpio-leds"; - - user_led1 { - label = "user_led1"; - gpios = <&pioB 20 1>; - }; - -/* -* led already used by mother board but active as high -* user_led2 { -* label = "user_led2"; -* gpios = <&pioB 21 1>; -* }; -*/ - user_led3 { - label = "user_led3"; - gpios = <&pioB 22 1>; - }; - - user_led4 { - label = "user_led4"; - gpios = <&pioB 23 1>; - }; - - red { - label = "red"; - gpios = <&pioB 24 1>; - }; - - orange { - label = "orange"; - gpios = <&pioB 30 1>; - }; - - green { - label = "green"; - gpios = <&pioB 31 1>; - }; - }; - - gpio_keys { - compatible = "gpio-keys"; - #address-cells = <1>; - #size-cells = <0>; - - user_pb1 { - label = "user_pb1"; - gpios = <&pioB 25 1>; - linux,code = <0x100>; - }; - - user_pb2 { - label = "user_pb2"; - gpios = <&pioB 13 1>; - linux,code = <0x101>; - }; - - user_pb3 { - label = "user_pb3"; - gpios = <&pioA 26 1>; - linux,code = <0x102>; - }; - - user_pb4 { - label = "user_pb4"; - gpios = <&pioC 9 1>; - linux,code = <0x103>; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/usb_a9g20.dts b/kernel/arch/arm/boot/dts/lte_module-v1/usb_a9g20.dts deleted file mode 100755 index 7c2399c53..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/usb_a9g20.dts +++ /dev/null @@ -1,130 +0,0 @@ -/* - * usb_a9g20.dts - Device Tree file for Caloa USB A9G20 board - * - * Copyright (C) 2011 Jean-Christophe PLAGNIOL-VILLARD - * - * Licensed under GPLv2 or later. - */ -/dts-v1/; -/include/ "at91sam9g20.dtsi" - -/ { - model = "Calao USB A9G20"; - compatible = "calao,usb-a9g20", "atmel,at91sam9g20", "atmel,at91sam9"; - - chosen { - bootargs = "mem=64M console=ttyS0,115200 root=/dev/mtdblock5 rw rootfstype=ubifs"; - }; - - memory { - reg = <0x20000000 0x4000000>; - }; - - clocks { - #address-cells = <1>; - #size-cells = <1>; - ranges; - - main_clock: clock@0 { - compatible = "atmel,osc", "fixed-clock"; - clock-frequency = <12000000>; - }; - }; - - ahb { - apb { - dbgu: serial@fffff200 { - status = "okay"; - }; - - macb0: ethernet@fffc4000 { - phy-mode = "rmii"; - status = "okay"; - }; - - usb1: gadget@fffa4000 { - atmel,vbus-gpio = <&pioC 5 0>; - status = "okay"; - }; - }; - - nand0: nand@40000000 { - nand-bus-width = <8>; - nand-ecc-mode = "soft"; - nand-on-flash-bbt; - status = "okay"; - - at91bootstrap@0 { - label = "at91bootstrap"; - reg = <0x0 0x20000>; - }; - - barebox@20000 { - label = "barebox"; - reg = <0x20000 0x40000>; - }; - - bareboxenv@60000 { - label = "bareboxenv"; - reg = <0x60000 0x20000>; - }; - - bareboxenv2@80000 { - label = "bareboxenv2"; - reg = <0x80000 0x20000>; - }; - - kernel@a0000 { - label = "kernel"; - reg = <0xa0000 0x400000>; - }; - - rootfs@4a0000 { - label = "rootfs"; - reg = <0x4a0000 0x7800000>; - }; - - data@7ca0000 { - label = "data"; - reg = <0x7ca0000 0x8360000>; - }; - }; - - usb0: ohci@00500000 { - num-ports = <2>; - status = "okay"; - }; - }; - - leds { - compatible = "gpio-leds"; - - user_led { - label = "user_led"; - gpios = <&pioB 21 1>; - linux,default-trigger = "heartbeat"; - }; - }; - - gpio_keys { - compatible = "gpio-keys"; - #address-cells = <1>; - #size-cells = <0>; - - user_pb { - label = "user_pb"; - gpios = <&pioB 10 1>; - linux,code = <28>; - gpio-key,wakeup; - }; - }; - - i2c@0 { - status = "okay"; - - rv3029c2@56 { - compatible = "rv3029c2"; - reg = <0x56>; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/versatile-ab.dts b/kernel/arch/arm/boot/dts/lte_module-v1/versatile-ab.dts deleted file mode 100755 index e2fe3195c..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/versatile-ab.dts +++ /dev/null @@ -1,192 +0,0 @@ -/dts-v1/; -/include/ "skeleton.dtsi" - -/ { - model = "ARM Versatile AB"; - compatible = "arm,versatile-ab"; - #address-cells = <1>; - #size-cells = <1>; - interrupt-parent = <&vic>; - - aliases { - serial0 = &uart0; - serial1 = &uart1; - serial2 = &uart2; - i2c0 = &i2c0; - }; - - memory { - reg = <0x0 0x08000000>; - }; - - flash@34000000 { - compatible = "arm,versatile-flash"; - reg = <0x34000000 0x4000000>; - bank-width = <4>; - }; - - i2c0: i2c@10002000 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "arm,versatile-i2c"; - reg = <0x10002000 0x1000>; - - rtc@68 { - compatible = "dallas,ds1338"; - reg = <0x68>; - }; - }; - - net@10010000 { - compatible = "smsc,lan91c111"; - reg = <0x10010000 0x10000>; - interrupts = <25>; - }; - - lcd@10008000 { - compatible = "arm,versatile-lcd"; - reg = <0x10008000 0x1000>; - }; - - amba { - compatible = "arm,amba-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - - vic: intc@10140000 { - compatible = "arm,versatile-vic"; - interrupt-controller; - #interrupt-cells = <1>; - reg = <0x10140000 0x1000>; - }; - - sic: intc@10003000 { - compatible = "arm,versatile-sic"; - interrupt-controller; - #interrupt-cells = <1>; - reg = <0x10003000 0x1000>; - interrupt-parent = <&vic>; - interrupts = <31>; /* Cascaded to vic */ - }; - - dma@10130000 { - compatible = "arm,pl081", "arm,primecell"; - reg = <0x10130000 0x1000>; - interrupts = <17>; - }; - - uart0: uart@101f1000 { - compatible = "arm,pl011", "arm,primecell"; - reg = <0x101f1000 0x1000>; - interrupts = <12>; - }; - - uart1: uart@101f2000 { - compatible = "arm,pl011", "arm,primecell"; - reg = <0x101f2000 0x1000>; - interrupts = <13>; - }; - - uart2: uart@101f3000 { - compatible = "arm,pl011", "arm,primecell"; - reg = <0x101f3000 0x1000>; - interrupts = <14>; - }; - - smc@10100000 { - compatible = "arm,primecell"; - reg = <0x10100000 0x1000>; - }; - - mpmc@10110000 { - compatible = "arm,primecell"; - reg = <0x10110000 0x1000>; - }; - - display@10120000 { - compatible = "arm,pl110", "arm,primecell"; - reg = <0x10120000 0x1000>; - interrupts = <16>; - }; - - sctl@101e0000 { - compatible = "arm,primecell"; - reg = <0x101e0000 0x1000>; - }; - - watchdog@101e1000 { - compatible = "arm,primecell"; - reg = <0x101e1000 0x1000>; - interrupts = <0>; - }; - - gpio0: gpio@101e4000 { - compatible = "arm,pl061", "arm,primecell"; - reg = <0x101e4000 0x1000>; - gpio-controller; - interrupts = <6>; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - gpio1: gpio@101e5000 { - compatible = "arm,pl061", "arm,primecell"; - reg = <0x101e5000 0x1000>; - interrupts = <7>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - rtc@101e8000 { - compatible = "arm,pl030", "arm,primecell"; - reg = <0x101e8000 0x1000>; - interrupts = <10>; - }; - - sci@101f0000 { - compatible = "arm,primecell"; - reg = <0x101f0000 0x1000>; - interrupts = <15>; - }; - - ssp@101f4000 { - compatible = "arm,pl022", "arm,primecell"; - reg = <0x101f4000 0x1000>; - interrupts = <11>; - }; - - fpga { - compatible = "arm,versatile-fpga", "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0 0x10000000 0x10000>; - - aaci@4000 { - compatible = "arm,primecell"; - reg = <0x4000 0x1000>; - interrupts = <24>; - }; - mmc@5000 { - compatible = "arm,primecell"; - reg = < 0x5000 0x1000>; - interrupts = <22 34>; - }; - kmi@6000 { - compatible = "arm,pl050", "arm,primecell"; - reg = <0x6000 0x1000>; - interrupt-parent = <&sic>; - interrupts = <3>; - }; - kmi@7000 { - compatible = "arm,pl050", "arm,primecell"; - reg = <0x7000 0x1000>; - interrupt-parent = <&sic>; - interrupts = <4>; - }; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/versatile-pb.dts b/kernel/arch/arm/boot/dts/lte_module-v1/versatile-pb.dts deleted file mode 100755 index 7e8175269..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/versatile-pb.dts +++ /dev/null @@ -1,50 +0,0 @@ -/include/ "versatile-ab.dts" - -/ { - model = "ARM Versatile PB"; - compatible = "arm,versatile-pb"; - - amba { - gpio2: gpio@101e6000 { - compatible = "arm,pl061", "arm,primecell"; - reg = <0x101e6000 0x1000>; - interrupts = <8>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - gpio3: gpio@101e7000 { - compatible = "arm,pl061", "arm,primecell"; - reg = <0x101e7000 0x1000>; - interrupts = <9>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - fpga { - uart@9000 { - compatible = "arm,pl011", "arm,primecell"; - reg = <0x9000 0x1000>; - interrupt-parent = <&sic>; - interrupts = <6>; - }; - sci@a000 { - compatible = "arm,primecell"; - reg = <0xa000 0x1000>; - interrupt-parent = <&sic>; - interrupts = <5>; - }; - mmc@b000 { - compatible = "arm,primecell"; - reg = <0xb000 0x1000>; - interrupts = <23 34>; - }; - }; - }; -}; - -/include/ "testcases/tests.dtsi" diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/vexpress-v2m-rs1.dtsi b/kernel/arch/arm/boot/dts/lte_module-v1/vexpress-v2m-rs1.dtsi deleted file mode 100755 index 16076e2d0..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/vexpress-v2m-rs1.dtsi +++ /dev/null @@ -1,201 +0,0 @@ -/* - * ARM Ltd. Versatile Express - * - * Motherboard Express uATX - * V2M-P1 - * - * HBI-0190D - * - * RS1 memory map ("ARM Cortex-A Series memory map" in the board's - * Technical Reference Manual) - * - * WARNING! The hardware described in this file is independent from the - * original variant (vexpress-v2m.dtsi), but there is a strong - * correspondence between the two configurations. - * - * TAKE CARE WHEN MAINTAINING THIS FILE TO PROPAGATE ANY RELEVANT - * CHANGES TO vexpress-v2m.dtsi! - */ - -/ { - aliases { - arm,v2m_timer = &v2m_timer01; - }; - - motherboard { - compatible = "simple-bus"; - arm,v2m-memory-map = "rs1"; - #address-cells = <2>; /* SMB chipselect number and offset */ - #size-cells = <1>; - #interrupt-cells = <1>; - - flash@0,00000000 { - compatible = "arm,vexpress-flash", "cfi-flash"; - reg = <0 0x00000000 0x04000000>, - <4 0x00000000 0x04000000>; - bank-width = <4>; - }; - - psram@1,00000000 { - compatible = "arm,vexpress-psram", "mtd-ram"; - reg = <1 0x00000000 0x02000000>; - bank-width = <4>; - }; - - vram@2,00000000 { - compatible = "arm,vexpress-vram"; - reg = <2 0x00000000 0x00800000>; - }; - - ethernet@2,02000000 { - compatible = "smsc,lan9118", "smsc,lan9115"; - reg = <2 0x02000000 0x10000>; - interrupts = <15>; - phy-mode = "mii"; - reg-io-width = <4>; - smsc,irq-active-high; - smsc,irq-push-pull; - }; - - usb@2,03000000 { - compatible = "nxp,usb-isp1761"; - reg = <2 0x03000000 0x20000>; - interrupts = <16>; - port1-otg; - }; - - iofpga@3,00000000 { - compatible = "arm,amba-bus", "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0 3 0 0x200000>; - - sysreg@010000 { - compatible = "arm,vexpress-sysreg"; - reg = <0x010000 0x1000>; - }; - - sysctl@020000 { - compatible = "arm,sp810", "arm,primecell"; - reg = <0x020000 0x1000>; - }; - - /* PCI-E I2C bus */ - v2m_i2c_pcie: i2c@030000 { - compatible = "arm,versatile-i2c"; - reg = <0x030000 0x1000>; - - #address-cells = <1>; - #size-cells = <0>; - - pcie-switch@60 { - compatible = "idt,89hpes32h8"; - reg = <0x60>; - }; - }; - - aaci@040000 { - compatible = "arm,pl041", "arm,primecell"; - reg = <0x040000 0x1000>; - interrupts = <11>; - }; - - mmci@050000 { - compatible = "arm,pl180", "arm,primecell"; - reg = <0x050000 0x1000>; - interrupts = <9 10>; - }; - - kmi@060000 { - compatible = "arm,pl050", "arm,primecell"; - reg = <0x060000 0x1000>; - interrupts = <12>; - }; - - kmi@070000 { - compatible = "arm,pl050", "arm,primecell"; - reg = <0x070000 0x1000>; - interrupts = <13>; - }; - - v2m_serial0: uart@090000 { - compatible = "arm,pl011", "arm,primecell"; - reg = <0x090000 0x1000>; - interrupts = <5>; - }; - - v2m_serial1: uart@0a0000 { - compatible = "arm,pl011", "arm,primecell"; - reg = <0x0a0000 0x1000>; - interrupts = <6>; - }; - - v2m_serial2: uart@0b0000 { - compatible = "arm,pl011", "arm,primecell"; - reg = <0x0b0000 0x1000>; - interrupts = <7>; - }; - - v2m_serial3: uart@0c0000 { - compatible = "arm,pl011", "arm,primecell"; - reg = <0x0c0000 0x1000>; - interrupts = <8>; - }; - - wdt@0f0000 { - compatible = "arm,sp805", "arm,primecell"; - reg = <0x0f0000 0x1000>; - interrupts = <0>; - }; - - v2m_timer01: timer@110000 { - compatible = "arm,sp804", "arm,primecell"; - reg = <0x110000 0x1000>; - interrupts = <2>; - }; - - v2m_timer23: timer@120000 { - compatible = "arm,sp804", "arm,primecell"; - reg = <0x120000 0x1000>; - }; - - /* DVI I2C bus */ - v2m_i2c_dvi: i2c@160000 { - compatible = "arm,versatile-i2c"; - reg = <0x160000 0x1000>; - - #address-cells = <1>; - #size-cells = <0>; - - dvi-transmitter@39 { - compatible = "sil,sii9022-tpi", "sil,sii9022"; - reg = <0x39>; - }; - - dvi-transmitter@60 { - compatible = "sil,sii9022-cpi", "sil,sii9022"; - reg = <0x60>; - }; - }; - - rtc@170000 { - compatible = "arm,pl031", "arm,primecell"; - reg = <0x170000 0x1000>; - interrupts = <4>; - }; - - compact-flash@1a0000 { - compatible = "arm,vexpress-cf", "ata-generic"; - reg = <0x1a0000 0x100 - 0x1a0100 0xf00>; - reg-shift = <2>; - }; - - clcd@1f0000 { - compatible = "arm,pl111", "arm,primecell"; - reg = <0x1f0000 0x1000>; - interrupts = <14>; - }; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/vexpress-v2m.dtsi b/kernel/arch/arm/boot/dts/lte_module-v1/vexpress-v2m.dtsi deleted file mode 100755 index a6c9c7c82..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/vexpress-v2m.dtsi +++ /dev/null @@ -1,200 +0,0 @@ -/* - * ARM Ltd. Versatile Express - * - * Motherboard Express uATX - * V2M-P1 - * - * HBI-0190D - * - * Original memory map ("Legacy memory map" in the board's - * Technical Reference Manual) - * - * WARNING! The hardware described in this file is independent from the - * RS1 variant (vexpress-v2m-rs1.dtsi), but there is a strong - * correspondence between the two configurations. - * - * TAKE CARE WHEN MAINTAINING THIS FILE TO PROPAGATE ANY RELEVANT - * CHANGES TO vexpress-v2m-rs1.dtsi! - */ - -/ { - aliases { - arm,v2m_timer = &v2m_timer01; - }; - - motherboard { - compatible = "simple-bus"; - #address-cells = <2>; /* SMB chipselect number and offset */ - #size-cells = <1>; - #interrupt-cells = <1>; - - flash@0,00000000 { - compatible = "arm,vexpress-flash", "cfi-flash"; - reg = <0 0x00000000 0x04000000>, - <1 0x00000000 0x04000000>; - bank-width = <4>; - }; - - psram@2,00000000 { - compatible = "arm,vexpress-psram", "mtd-ram"; - reg = <2 0x00000000 0x02000000>; - bank-width = <4>; - }; - - vram@3,00000000 { - compatible = "arm,vexpress-vram"; - reg = <3 0x00000000 0x00800000>; - }; - - ethernet@3,02000000 { - compatible = "smsc,lan9118", "smsc,lan9115"; - reg = <3 0x02000000 0x10000>; - interrupts = <15>; - phy-mode = "mii"; - reg-io-width = <4>; - smsc,irq-active-high; - smsc,irq-push-pull; - }; - - usb@3,03000000 { - compatible = "nxp,usb-isp1761"; - reg = <3 0x03000000 0x20000>; - interrupts = <16>; - port1-otg; - }; - - iofpga@7,00000000 { - compatible = "arm,amba-bus", "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0 7 0 0x20000>; - - sysreg@00000 { - compatible = "arm,vexpress-sysreg"; - reg = <0x00000 0x1000>; - }; - - sysctl@01000 { - compatible = "arm,sp810", "arm,primecell"; - reg = <0x01000 0x1000>; - }; - - /* PCI-E I2C bus */ - v2m_i2c_pcie: i2c@02000 { - compatible = "arm,versatile-i2c"; - reg = <0x02000 0x1000>; - - #address-cells = <1>; - #size-cells = <0>; - - pcie-switch@60 { - compatible = "idt,89hpes32h8"; - reg = <0x60>; - }; - }; - - aaci@04000 { - compatible = "arm,pl041", "arm,primecell"; - reg = <0x04000 0x1000>; - interrupts = <11>; - }; - - mmci@05000 { - compatible = "arm,pl180", "arm,primecell"; - reg = <0x05000 0x1000>; - interrupts = <9 10>; - }; - - kmi@06000 { - compatible = "arm,pl050", "arm,primecell"; - reg = <0x06000 0x1000>; - interrupts = <12>; - }; - - kmi@07000 { - compatible = "arm,pl050", "arm,primecell"; - reg = <0x07000 0x1000>; - interrupts = <13>; - }; - - v2m_serial0: uart@09000 { - compatible = "arm,pl011", "arm,primecell"; - reg = <0x09000 0x1000>; - interrupts = <5>; - }; - - v2m_serial1: uart@0a000 { - compatible = "arm,pl011", "arm,primecell"; - reg = <0x0a000 0x1000>; - interrupts = <6>; - }; - - v2m_serial2: uart@0b000 { - compatible = "arm,pl011", "arm,primecell"; - reg = <0x0b000 0x1000>; - interrupts = <7>; - }; - - v2m_serial3: uart@0c000 { - compatible = "arm,pl011", "arm,primecell"; - reg = <0x0c000 0x1000>; - interrupts = <8>; - }; - - wdt@0f000 { - compatible = "arm,sp805", "arm,primecell"; - reg = <0x0f000 0x1000>; - interrupts = <0>; - }; - - v2m_timer01: timer@11000 { - compatible = "arm,sp804", "arm,primecell"; - reg = <0x11000 0x1000>; - interrupts = <2>; - }; - - v2m_timer23: timer@12000 { - compatible = "arm,sp804", "arm,primecell"; - reg = <0x12000 0x1000>; - }; - - /* DVI I2C bus */ - v2m_i2c_dvi: i2c@16000 { - compatible = "arm,versatile-i2c"; - reg = <0x16000 0x1000>; - - #address-cells = <1>; - #size-cells = <0>; - - dvi-transmitter@39 { - compatible = "sil,sii9022-tpi", "sil,sii9022"; - reg = <0x39>; - }; - - dvi-transmitter@60 { - compatible = "sil,sii9022-cpi", "sil,sii9022"; - reg = <0x60>; - }; - }; - - rtc@17000 { - compatible = "arm,pl031", "arm,primecell"; - reg = <0x17000 0x1000>; - interrupts = <4>; - }; - - compact-flash@1a000 { - compatible = "arm,vexpress-cf", "ata-generic"; - reg = <0x1a000 0x100 - 0x1a100 0xf00>; - reg-shift = <2>; - }; - - clcd@1f000 { - compatible = "arm,pl111", "arm,primecell"; - reg = <0x1f000 0x1000>; - interrupts = <14>; - }; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/vexpress-v2p-ca15-tc1.dts b/kernel/arch/arm/boot/dts/lte_module-v1/vexpress-v2p-ca15-tc1.dts deleted file mode 100755 index 941b161ab..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/vexpress-v2p-ca15-tc1.dts +++ /dev/null @@ -1,157 +0,0 @@ -/* - * ARM Ltd. Versatile Express - * - * CoreTile Express A15x2 (version with Test Chip 1) - * Cortex-A15 MPCore (V2P-CA15) - * - * HBI-0237A - */ - -/dts-v1/; - -/ { - model = "V2P-CA15"; - arm,hbi = <0x237>; - compatible = "arm,vexpress,v2p-ca15,tc1", "arm,vexpress,v2p-ca15", "arm,vexpress"; - interrupt-parent = <&gic>; - #address-cells = <1>; - #size-cells = <1>; - - chosen { }; - - aliases { - serial0 = &v2m_serial0; - serial1 = &v2m_serial1; - serial2 = &v2m_serial2; - serial3 = &v2m_serial3; - i2c0 = &v2m_i2c_dvi; - i2c1 = &v2m_i2c_pcie; - }; - - cpus { - #address-cells = <1>; - #size-cells = <0>; - - cpu@0 { - device_type = "cpu"; - compatible = "arm,cortex-a15"; - reg = <0>; - }; - - cpu@1 { - device_type = "cpu"; - compatible = "arm,cortex-a15"; - reg = <1>; - }; - }; - - memory@80000000 { - device_type = "memory"; - reg = <0x80000000 0x40000000>; - }; - - hdlcd@2b000000 { - compatible = "arm,hdlcd"; - reg = <0x2b000000 0x1000>; - interrupts = <0 85 4>; - }; - - memory-controller@2b0a0000 { - compatible = "arm,pl341", "arm,primecell"; - reg = <0x2b0a0000 0x1000>; - }; - - wdt@2b060000 { - compatible = "arm,sp805", "arm,primecell"; - reg = <0x2b060000 0x1000>; - interrupts = <98>; - }; - - gic: interrupt-controller@2c001000 { - compatible = "arm,cortex-a15-gic", "arm,cortex-a9-gic"; - #interrupt-cells = <3>; - #address-cells = <0>; - interrupt-controller; - reg = <0x2c001000 0x1000>, - <0x2c002000 0x100>; - }; - - memory-controller@7ffd0000 { - compatible = "arm,pl354", "arm,primecell"; - reg = <0x7ffd0000 0x1000>; - interrupts = <0 86 4>, - <0 87 4>; - }; - - dma@7ffb0000 { - compatible = "arm,pl330", "arm,primecell"; - reg = <0x7ffb0000 0x1000>; - interrupts = <0 92 4>, - <0 88 4>, - <0 89 4>, - <0 90 4>, - <0 91 4>; - }; - - pmu { - compatible = "arm,cortex-a15-pmu", "arm,cortex-a9-pmu"; - interrupts = <0 68 4>, - <0 69 4>; - }; - - motherboard { - ranges = <0 0 0x08000000 0x04000000>, - <1 0 0x14000000 0x04000000>, - <2 0 0x18000000 0x04000000>, - <3 0 0x1c000000 0x04000000>, - <4 0 0x0c000000 0x04000000>, - <5 0 0x10000000 0x04000000>; - - interrupt-map-mask = <0 0 63>; - interrupt-map = <0 0 0 &gic 0 0 4>, - <0 0 1 &gic 0 1 4>, - <0 0 2 &gic 0 2 4>, - <0 0 3 &gic 0 3 4>, - <0 0 4 &gic 0 4 4>, - <0 0 5 &gic 0 5 4>, - <0 0 6 &gic 0 6 4>, - <0 0 7 &gic 0 7 4>, - <0 0 8 &gic 0 8 4>, - <0 0 9 &gic 0 9 4>, - <0 0 10 &gic 0 10 4>, - <0 0 11 &gic 0 11 4>, - <0 0 12 &gic 0 12 4>, - <0 0 13 &gic 0 13 4>, - <0 0 14 &gic 0 14 4>, - <0 0 15 &gic 0 15 4>, - <0 0 16 &gic 0 16 4>, - <0 0 17 &gic 0 17 4>, - <0 0 18 &gic 0 18 4>, - <0 0 19 &gic 0 19 4>, - <0 0 20 &gic 0 20 4>, - <0 0 21 &gic 0 21 4>, - <0 0 22 &gic 0 22 4>, - <0 0 23 &gic 0 23 4>, - <0 0 24 &gic 0 24 4>, - <0 0 25 &gic 0 25 4>, - <0 0 26 &gic 0 26 4>, - <0 0 27 &gic 0 27 4>, - <0 0 28 &gic 0 28 4>, - <0 0 29 &gic 0 29 4>, - <0 0 30 &gic 0 30 4>, - <0 0 31 &gic 0 31 4>, - <0 0 32 &gic 0 32 4>, - <0 0 33 &gic 0 33 4>, - <0 0 34 &gic 0 34 4>, - <0 0 35 &gic 0 35 4>, - <0 0 36 &gic 0 36 4>, - <0 0 37 &gic 0 37 4>, - <0 0 38 &gic 0 38 4>, - <0 0 39 &gic 0 39 4>, - <0 0 40 &gic 0 40 4>, - <0 0 41 &gic 0 41 4>, - <0 0 42 &gic 0 42 4>; - }; -}; - -/include/ "vexpress-v2m-rs1.dtsi" diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/vexpress-v2p-ca5s.dts b/kernel/arch/arm/boot/dts/lte_module-v1/vexpress-v2p-ca5s.dts deleted file mode 100755 index 6905e66d4..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/vexpress-v2p-ca5s.dts +++ /dev/null @@ -1,162 +0,0 @@ -/* - * ARM Ltd. Versatile Express - * - * CoreTile Express A5x2 - * Cortex-A5 MPCore (V2P-CA5s) - * - * HBI-0225B - */ - -/dts-v1/; - -/ { - model = "V2P-CA5s"; - arm,hbi = <0x225>; - compatible = "arm,vexpress,v2p-ca5s", "arm,vexpress"; - interrupt-parent = <&gic>; - #address-cells = <1>; - #size-cells = <1>; - - chosen { }; - - aliases { - serial0 = &v2m_serial0; - serial1 = &v2m_serial1; - serial2 = &v2m_serial2; - serial3 = &v2m_serial3; - i2c0 = &v2m_i2c_dvi; - i2c1 = &v2m_i2c_pcie; - }; - - cpus { - #address-cells = <1>; - #size-cells = <0>; - - cpu@0 { - device_type = "cpu"; - compatible = "arm,cortex-a5"; - reg = <0>; - next-level-cache = <&L2>; - }; - - cpu@1 { - device_type = "cpu"; - compatible = "arm,cortex-a5"; - reg = <1>; - next-level-cache = <&L2>; - }; - }; - - memory@80000000 { - device_type = "memory"; - reg = <0x80000000 0x40000000>; - }; - - hdlcd@2a110000 { - compatible = "arm,hdlcd"; - reg = <0x2a110000 0x1000>; - interrupts = <0 85 4>; - }; - - memory-controller@2a150000 { - compatible = "arm,pl341", "arm,primecell"; - reg = <0x2a150000 0x1000>; - }; - - memory-controller@2a190000 { - compatible = "arm,pl354", "arm,primecell"; - reg = <0x2a190000 0x1000>; - interrupts = <0 86 4>, - <0 87 4>; - }; - - scu@2c000000 { - compatible = "arm,cortex-a5-scu"; - reg = <0x2c000000 0x58>; - }; - - timer@2c000600 { - compatible = "arm,cortex-a5-twd-timer"; - reg = <0x2c000600 0x38>; - interrupts = <1 2 0x304>, - <1 3 0x304>; - }; - - gic: interrupt-controller@2c001000 { - compatible = "arm,corex-a5-gic", "arm,cortex-a9-gic"; - #interrupt-cells = <3>; - #address-cells = <0>; - interrupt-controller; - reg = <0x2c001000 0x1000>, - <0x2c000100 0x100>; - }; - - L2: cache-controller@2c0f0000 { - compatible = "arm,pl310-cache"; - reg = <0x2c0f0000 0x1000>; - interrupts = <0 84 4>; - cache-level = <2>; - }; - - pmu { - compatible = "arm,cortex-a5-pmu", "arm,cortex-a9-pmu"; - interrupts = <0 68 4>, - <0 69 4>; - }; - - motherboard { - ranges = <0 0 0x08000000 0x04000000>, - <1 0 0x14000000 0x04000000>, - <2 0 0x18000000 0x04000000>, - <3 0 0x1c000000 0x04000000>, - <4 0 0x0c000000 0x04000000>, - <5 0 0x10000000 0x04000000>; - - interrupt-map-mask = <0 0 63>; - interrupt-map = <0 0 0 &gic 0 0 4>, - <0 0 1 &gic 0 1 4>, - <0 0 2 &gic 0 2 4>, - <0 0 3 &gic 0 3 4>, - <0 0 4 &gic 0 4 4>, - <0 0 5 &gic 0 5 4>, - <0 0 6 &gic 0 6 4>, - <0 0 7 &gic 0 7 4>, - <0 0 8 &gic 0 8 4>, - <0 0 9 &gic 0 9 4>, - <0 0 10 &gic 0 10 4>, - <0 0 11 &gic 0 11 4>, - <0 0 12 &gic 0 12 4>, - <0 0 13 &gic 0 13 4>, - <0 0 14 &gic 0 14 4>, - <0 0 15 &gic 0 15 4>, - <0 0 16 &gic 0 16 4>, - <0 0 17 &gic 0 17 4>, - <0 0 18 &gic 0 18 4>, - <0 0 19 &gic 0 19 4>, - <0 0 20 &gic 0 20 4>, - <0 0 21 &gic 0 21 4>, - <0 0 22 &gic 0 22 4>, - <0 0 23 &gic 0 23 4>, - <0 0 24 &gic 0 24 4>, - <0 0 25 &gic 0 25 4>, - <0 0 26 &gic 0 26 4>, - <0 0 27 &gic 0 27 4>, - <0 0 28 &gic 0 28 4>, - <0 0 29 &gic 0 29 4>, - <0 0 30 &gic 0 30 4>, - <0 0 31 &gic 0 31 4>, - <0 0 32 &gic 0 32 4>, - <0 0 33 &gic 0 33 4>, - <0 0 34 &gic 0 34 4>, - <0 0 35 &gic 0 35 4>, - <0 0 36 &gic 0 36 4>, - <0 0 37 &gic 0 37 4>, - <0 0 38 &gic 0 38 4>, - <0 0 39 &gic 0 39 4>, - <0 0 40 &gic 0 40 4>, - <0 0 41 &gic 0 41 4>, - <0 0 42 &gic 0 42 4>; - }; -}; - -/include/ "vexpress-v2m-rs1.dtsi" diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/vexpress-v2p-ca9.dts b/kernel/arch/arm/boot/dts/lte_module-v1/vexpress-v2p-ca9.dts deleted file mode 100755 index da778693b..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/vexpress-v2p-ca9.dts +++ /dev/null @@ -1,192 +0,0 @@ -/* - * ARM Ltd. Versatile Express - * - * CoreTile Express A9x4 - * Cortex-A9 MPCore (V2P-CA9) - * - * HBI-0191B - */ - -/dts-v1/; - -/ { - model = "V2P-CA9"; - arm,hbi = <0x191>; - compatible = "arm,vexpress,v2p-ca9", "arm,vexpress"; - interrupt-parent = <&gic>; - #address-cells = <1>; - #size-cells = <1>; - - chosen { }; - - aliases { - serial0 = &v2m_serial0; - serial1 = &v2m_serial1; - serial2 = &v2m_serial2; - serial3 = &v2m_serial3; - i2c0 = &v2m_i2c_dvi; - i2c1 = &v2m_i2c_pcie; - }; - - cpus { - #address-cells = <1>; - #size-cells = <0>; - - cpu@0 { - device_type = "cpu"; - compatible = "arm,cortex-a9"; - reg = <0>; - next-level-cache = <&L2>; - }; - - cpu@1 { - device_type = "cpu"; - compatible = "arm,cortex-a9"; - reg = <1>; - next-level-cache = <&L2>; - }; - - cpu@2 { - device_type = "cpu"; - compatible = "arm,cortex-a9"; - reg = <2>; - next-level-cache = <&L2>; - }; - - cpu@3 { - device_type = "cpu"; - compatible = "arm,cortex-a9"; - reg = <3>; - next-level-cache = <&L2>; - }; - }; - - memory@60000000 { - device_type = "memory"; - reg = <0x60000000 0x40000000>; - }; - - clcd@10020000 { - compatible = "arm,pl111", "arm,primecell"; - reg = <0x10020000 0x1000>; - interrupts = <0 44 4>; - }; - - memory-controller@100e0000 { - compatible = "arm,pl341", "arm,primecell"; - reg = <0x100e0000 0x1000>; - }; - - memory-controller@100e1000 { - compatible = "arm,pl354", "arm,primecell"; - reg = <0x100e1000 0x1000>; - interrupts = <0 45 4>, - <0 46 4>; - }; - - timer@100e4000 { - compatible = "arm,sp804", "arm,primecell"; - reg = <0x100e4000 0x1000>; - interrupts = <0 48 4>, - <0 49 4>; - }; - - watchdog@100e5000 { - compatible = "arm,sp805", "arm,primecell"; - reg = <0x100e5000 0x1000>; - interrupts = <0 51 4>; - }; - - scu@1e000000 { - compatible = "arm,cortex-a9-scu"; - reg = <0x1e000000 0x58>; - }; - - timer@1e000600 { - compatible = "arm,cortex-a9-twd-timer"; - reg = <0x1e000600 0x20>; - interrupts = <1 2 0xf04>, - <1 3 0xf04>; - }; - - gic: interrupt-controller@1e001000 { - compatible = "arm,cortex-a9-gic"; - #interrupt-cells = <3>; - #address-cells = <0>; - interrupt-controller; - reg = <0x1e001000 0x1000>, - <0x1e000100 0x100>; - }; - - L2: cache-controller@1e00a000 { - compatible = "arm,pl310-cache"; - reg = <0x1e00a000 0x1000>; - interrupts = <0 43 4>; - cache-level = <2>; - arm,data-latency = <1 1 1>; - arm,tag-latency = <1 1 1>; - }; - - pmu { - compatible = "arm,cortex-a9-pmu"; - interrupts = <0 60 4>, - <0 61 4>, - <0 62 4>, - <0 63 4>; - }; - - motherboard { - ranges = <0 0 0x40000000 0x04000000>, - <1 0 0x44000000 0x04000000>, - <2 0 0x48000000 0x04000000>, - <3 0 0x4c000000 0x04000000>, - <7 0 0x10000000 0x00020000>; - - interrupt-map-mask = <0 0 63>; - interrupt-map = <0 0 0 &gic 0 0 4>, - <0 0 1 &gic 0 1 4>, - <0 0 2 &gic 0 2 4>, - <0 0 3 &gic 0 3 4>, - <0 0 4 &gic 0 4 4>, - <0 0 5 &gic 0 5 4>, - <0 0 6 &gic 0 6 4>, - <0 0 7 &gic 0 7 4>, - <0 0 8 &gic 0 8 4>, - <0 0 9 &gic 0 9 4>, - <0 0 10 &gic 0 10 4>, - <0 0 11 &gic 0 11 4>, - <0 0 12 &gic 0 12 4>, - <0 0 13 &gic 0 13 4>, - <0 0 14 &gic 0 14 4>, - <0 0 15 &gic 0 15 4>, - <0 0 16 &gic 0 16 4>, - <0 0 17 &gic 0 17 4>, - <0 0 18 &gic 0 18 4>, - <0 0 19 &gic 0 19 4>, - <0 0 20 &gic 0 20 4>, - <0 0 21 &gic 0 21 4>, - <0 0 22 &gic 0 22 4>, - <0 0 23 &gic 0 23 4>, - <0 0 24 &gic 0 24 4>, - <0 0 25 &gic 0 25 4>, - <0 0 26 &gic 0 26 4>, - <0 0 27 &gic 0 27 4>, - <0 0 28 &gic 0 28 4>, - <0 0 29 &gic 0 29 4>, - <0 0 30 &gic 0 30 4>, - <0 0 31 &gic 0 31 4>, - <0 0 32 &gic 0 32 4>, - <0 0 33 &gic 0 33 4>, - <0 0 34 &gic 0 34 4>, - <0 0 35 &gic 0 35 4>, - <0 0 36 &gic 0 36 4>, - <0 0 37 &gic 0 37 4>, - <0 0 38 &gic 0 38 4>, - <0 0 39 &gic 0 39 4>, - <0 0 40 &gic 0 40 4>, - <0 0 41 &gic 0 41 4>, - <0 0 42 &gic 0 42 4>; - }; -}; - -/include/ "vexpress-v2m.dtsi" diff --git a/kernel/arch/arm/boot/dts/lte_module-v1/zynq-ep107.dts b/kernel/arch/arm/boot/dts/lte_module-v1/zynq-ep107.dts deleted file mode 100755 index 37ca192fb..000000000 --- a/kernel/arch/arm/boot/dts/lte_module-v1/zynq-ep107.dts +++ /dev/null @@ -1,52 +0,0 @@ -/* - * Copyright (C) 2011 Xilinx - * - * This software is licensed under the terms of the GNU General Public - * License version 2, as published by the Free Software Foundation, and - * may be copied, distributed, and modified under those terms. - * - * 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. - */ - -/dts-v1/; -/ { - model = "Xilinx Zynq EP107"; - compatible = "xlnx,zynq-ep107"; - #address-cells = <1>; - #size-cells = <1>; - interrupt-parent = <&intc>; - - memory { - device_type = "memory"; - reg = <0x0 0x10000000>; - }; - - chosen { - bootargs = "console=ttyPS0,9600 root=/dev/ram rw initrd=0x800000,8M earlyprintk"; - linux,stdout-path = &uart0; - }; - - amba { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - - intc: interrupt-controller@f8f01000 { - interrupt-controller; - compatible = "arm,gic"; - reg = <0xF8F01000 0x1000>; - #interrupt-cells = <2>; - }; - - uart0: uart@e0000000 { - compatible = "xlnx,xuartps"; - reg = <0xE0000000 0x1000>; - interrupts = <59 0>; - clock = <50000000>; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/am3517_mt_ventoux.dts b/kernel/arch/arm/boot/dts/m7300-un-v1/am3517_mt_ventoux.dts deleted file mode 100755 index 5eb26d7d9..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/am3517_mt_ventoux.dts +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Copyright (C) 2011 Ilya Yanok, EmCraft Systems - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. - */ -/dts-v1/; - -/include/ "omap3.dtsi" - -/ { - model = "TeeJet Mt.Ventoux"; - compatible = "teejet,mt_ventoux", "ti,omap3"; - - memory { - device_type = "memory"; - reg = <0x80000000 0x10000000>; /* 256 MB */ - }; - - /* AM35xx doesn't have IVA */ - soc { - iva { - status = "disabled"; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/apq8026-mtp.dts b/kernel/arch/arm/boot/dts/m7300-un-v1/apq8026-mtp.dts deleted file mode 100755 index e14a68568..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/apq8026-mtp.dts +++ /dev/null @@ -1,22 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - - -/dts-v1/; -/include/ "apq8026.dtsi" -/include/ "msm8226-mtp.dtsi" - -/ { - model = "Qualcomm APQ 8026 MTP"; - compatible = "qcom,apq8026-mtp", "qcom,apq8026", "qcom,mtp"; - qcom,msm-id = <199 8 0>; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/apq8026-xpm.dts b/kernel/arch/arm/boot/dts/m7300-un-v1/apq8026-xpm.dts deleted file mode 100755 index 67152af2d..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/apq8026-xpm.dts +++ /dev/null @@ -1,22 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - - -/dts-v1/; -/include/ "apq8026.dtsi" -/include/ "msm8226-cdp.dtsi" - -/ { - model = "Qualcomm APQ 8026 XPM"; - compatible = "qcom,apq8026-xpm", "qcom,apq8026", "qcom,xpm"; - qcom,msm-id = <199 14 0>; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/apq8026.dtsi b/kernel/arch/arm/boot/dts/m7300-un-v1/apq8026.dtsi deleted file mode 100755 index db6576a0d..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/apq8026.dtsi +++ /dev/null @@ -1,24 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/* - * Only 8026-specific property overrides should be placed inside this - * file. Device definitions should be placed inside the msm8226.dtsi - * file. - */ - -/include/ "msm8226.dtsi" - -/ { - model = "Qualcomm APQ 8026"; - compatible = "qcom,apq8026"; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/apq8074-dragonboard.dtsi b/kernel/arch/arm/boot/dts/m7300-un-v1/apq8074-dragonboard.dtsi deleted file mode 100755 index 6b4d1d339..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/apq8074-dragonboard.dtsi +++ /dev/null @@ -1,654 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/include/ "dsi-panel-sharp-qhd-video.dtsi" -/include/ "msm8974-camera-sensor-dragonboard.dtsi" -/include/ "msm8974-leds.dtsi" - -&soc { - serial@f991e000 { - status = "ok"; - }; - - qcom,mdss_dsi_sharp_qhd_video { - status = "ok"; - }; - - qcom,hdmi_tx@fd922100 { - status = "ok"; - }; - - gpio_keys { - compatible = "gpio-keys"; - input-name = "gpio-keys"; - - vol_up { - label = "volume_up"; - gpios = <&pm8941_gpios 5 0x1>; - linux,input-type = <1>; - linux,code = <115>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - - general { - label = "general"; - gpios = <&pm8941_gpios 23 0x1>; - linux,input-type = <1>; - linux,code = <102>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - }; - - bt_ar3002 { - compatible = "qca,ar3002"; - qca,bt-reset-gpio = <&pm8941_gpios 34 0>; - }; - - hsic_hub { - compatible = "qcom,hsic-smsc-hub"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - smsc,reset-gpio = <&pm8941_gpios 8 0x00>; - - hsic_host: hsic@f9a00000 { - compatible = "qcom,hsic-host"; - reg = <0xf9a00000 0x400>; - #address-cells = <0>; - interrupt-parent = <&hsic_host>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 136 0 - 1 &intc 0 148 0 - 2 &msmgpio 144 0x8>; - interrupt-names = "core_irq", "async_irq", "wakeup"; - HSIC_VDDCX-supply = <&pm8841_s2>; - HSIC_GDSC-supply = <&gdsc_usb_hsic>; - hsic,strobe-gpio = <&msmgpio 144 0x00>; - hsic,data-gpio = <&msmgpio 145 0x00>; - hsic,ignore-cal-pad-config; - hsic,strobe-pad-offset = <0x2050>; - hsic,data-pad-offset = <0x2054>; - - qcom,msm-bus,name = "hsic"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,active-only = <0>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <85 512 0 0>, - <85 512 40000 160000>; - }; - }; - - i2c@f9923000 { - status = "ok"; - atmel_mxt_ts@4a { - compatible = "atmel,mxt-ts"; - reg = <0x4a>; - interrupt-parent = <&msmgpio>; - interrupts = <61 0x2>; - vdd_ana-supply = <&pm8941_l18>; - vcc_i2c-supply = <&pm8941_s3>; - atmel,reset-gpio = <&msmgpio 60 0x00>; - atmel,irq-gpio = <&msmgpio 61 0x00>; - atmel,panel-coords = <0 0 566 1067>; - atmel,display-coords = <0 0 540 960>; - atmel,i2c-pull-up; - atmel,cfg_1 { - atmel,family-id = <0x81>; - atmel,variant-id = <0x19>; - atmel,version = <0x10>; - atmel,build = <0xaa>; - atmel,config = [ - /* Object 38, Instance = 0 */ - 0F 02 00 17 04 0C 00 00 - /* Object 7, Instance = 0 */ - 30 FF 19 - /* Object 8, Instance = 0 */ - 1B 00 05 01 00 00 08 08 00 00 - /* Object 9, Instance = 0 */ - 83 00 00 13 0B 00 10 23 01 03 - 0A 0F 01 0B 04 05 28 0A 2B 04 - 36 02 00 00 00 00 8F 28 8F 50 - 12 0F 32 32 02 - /* Object 15, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 - /* Object 18, Instance = 0 */ - 00 00 - /* Object 19, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 - /* Object 23, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 - /* Object 25, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 - /* Object 40, Instance = 0 */ - 00 00 00 00 00 - /* Object 42, Instance = 0 */ - 00 00 00 00 00 00 00 00 - /* Object 46, Instance = 0 */ - 00 03 10 30 00 00 01 00 00 - /* Object 47, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - /* Object 48, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 - ]; - }; - }; - }; - - gen-vkeys { - compatible = "qcom,gen-vkeys"; - label = "atmel_mxt_ts"; - qcom,disp-maxx = <540>; - qcom,disp-maxy = <960>; - qcom,panel-maxx = <566>; - qcom,panel-maxy = <1067>; - qcom,key-codes = <158 139 102 217>; - }; - - sound { - qcom,model = "apq8074-taiko-db-snd-card"; - qcom,hdmi-audio-rx; - - qcom,audio-routing = - "RX_BIAS", "MCLK", - "LDO_H", "MCLK", - "AMIC1", "MIC BIAS1 External", - "MIC BIAS1 External", "Analog Mic4", - "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", - "AMIC5", "MIC BIAS1 External", - "MIC BIAS1 External", "Analog Mic6", - "AMIC6", "MIC BIAS1 External", - "MIC BIAS1 External", "Analog Mic7", - "DMIC1", "MIC BIAS3 External", - "MIC BIAS3 External", "Digital Mic1", - "DMIC2", "MIC BIAS3 External", - "MIC BIAS3 External", "Digital Mic2", - "DMIC3", "MIC BIAS4 External", - "MIC BIAS4 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"; - }; - - qcom,pronto@fb21b000 { - status = "disabled"; - }; - - qcom,iris-fm { - status = "disabled"; - }; - - qcom,wcnss-wlan@fb000000 { - status = "disabled"; - }; - - qcom,smd-wcnss { - status = "disabled"; - }; - - qcom,smsm-wcnss { - status = "disabled"; - }; -}; - -&mdss_fb0 { - qcom,memory-reservation-size = <0x1000000>; /* size 16MB */ -}; - -&sdcc3 { - qcom,sup-voltages = <2000 2000>; - status = "ok"; -}; - -&pm8941_l19 { - regulator-min-microvolt = <3300000>; - regulator-max-microvolt = <3300000>; - qcom,init-voltage = <3300000>; - regulator-always-on; -}; - -&pm8941_l10 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - regulator-always-on; -}; - -&uart7 { - status = "ok"; - qcom,tx-gpio = <&msmgpio 41 0x00>; - qcom,rx-gpio = <&msmgpio 42 0x00>; - qcom,cts-gpio = <&msmgpio 43 0x00>; - qcom,rfr-gpio = <&msmgpio 44 0x00>; -}; - -&usb_otg { - status = "ok"; - qcom,hsusb-otg-otg-control = <2>; - qcom,hsusb-otg-mode = <3>; - vbus_otg-supply = <&pm8941_mvs1>; - qcom,usb2-enable-hsphy2; - qcom,dp-manual-pullup; - - #address-cells = <0>; - interrupt-parent = <&usb_otg>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 134 0 - 1 &intc 0 140 0 - 2 &spmi_bus 0x0 0x0 0x9 0x0>; - interrupt-names = "core_irq", "async_irq", "pmic_id_irq"; -}; - -&usb3 { - qcom,charging-disabled; - vbus_dwc3-supply = <0>; - dwc3@f9200000 { - host-only-mode; - }; -}; - -&slim_msm { - taiko_codec { - qcom,cdc-micbias2-ext-cap; - qcom,cdc-micbias3-ext-cap; - }; -}; - -&pm8941_gpios { - gpio@c000 { /* GPIO 1 */ - qcom,mode = <0>; - qcom,pull = <0>; - qcom,vin-sel = <2>; - qcom,src-sel = <0>; - }; - - gpio@c100 { /* GPIO 2 */ - qcom,mode = <0>; - qcom,pull = <0>; - qcom,vin-sel = <2>; - qcom,src-sel = <0>; - }; - - gpio@c200 { /* GPIO 3 */ - }; - - gpio@c300 { /* GPIO 4 */ - }; - - gpio@c400 { /* GPIO 5 */ - qcom,mode = <0>; - qcom,pull = <0>; - qcom,vin-sel = <2>; - qcom,src-sel = <0>; - }; - - gpio@c500 { /* GPIO 6 */ - /* TUSB3_HUB-RESET */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,output-type = <0>; /* QPNP_PIN_OUT_BUF_CMOS */ - qcom,pull = <0>; /* QPNP_PIN_PULL_30 */ - qcom,vin-sel = <0>; /* QPNP_PIN_VIN0 VPH */ - qcom,out-strength = <2>; /* QPNP_PIN_OUT_STRENGTH_MED */ - qcom,src-sel = <0>; /* QPNP_PIN_SEL_FUNC_CONSTANT */ - qcom,invert = <1>; /* Keep it out of reset */ - qcom,master-en = <1>; - }; - - gpio@c600 { /* GPIO 7 */ - }; - - gpio@c700 { /* GPIO 8 */ - /* HSIC_HUB-RESET */ - qcom,mode = <1>; /* DIG_OUT */ - qcom,pull = <5>; /* PULL_NO */ - qcom,out-strength = <2>; /* STRENGTH_MED */ - qcom,master-en = <1>; - }; - - gpio@c800 { /* GPIO 9 */ - /* GbE_RST_N */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,output-type = <0>; /* QPNP_PIN_OUT_BUF_CMOS */ - qcom,pull = <0>; /* QPNP_PIN_PULL_30 */ - qcom,vin-sel = <0>; /* QPNP_PIN_VIN0 VPH */ - qcom,out-strength = <2>; /* QPNP_PIN_OUT_STRENGTH_MED */ - qcom,src-sel = <0>; /* QPNP_PIN_SEL_FUNC_CONSTANT */ - qcom,invert = <1>; /* Keep it out of reset */ - qcom,master-en = <1>; - }; - - gpio@c900 { /* GPIO 10 */ - /* SATA_RST_N */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,output-type = <0>; /* QPNP_PIN_OUT_BUF_CMOS */ - qcom,pull = <0>; /* QPNP_PIN_PULL_30 */ - qcom,vin-sel = <0>; /* QPNP_PIN_VIN0 VPH */ - qcom,out-strength = <2>; /* QPNP_PIN_OUT_STRENGTH_MED */ - qcom,src-sel = <0>; /* QPNP_PIN_SEL_FUNC_CONSTANT */ - qcom,invert = <1>; /* Keep it out of reset */ - qcom,master-en = <1>; - }; - - gpio@ca00 { /* GPIO 11 */ - }; - - gpio@cb00 { /* GPIO 12 */ - }; - - gpio@cc00 { /* GPIO 13 */ - }; - - gpio@cd00 { /* GPIO 14 */ - }; - - gpio@ce00 { /* GPIO 15 */ - qcom,mode = <1>; - qcom,output-type = <0>; - qcom,pull = <5>; - qcom,vin-sel = <2>; - qcom,out-strength = <3>; - qcom,src-sel = <2>; - qcom,master-en = <1>; - }; - - gpio@cf00 { /* GPIO 16 */ - }; - - gpio@d000 { /* GPIO 17 */ - }; - - gpio@d100 { /* GPIO 18 */ - }; - - gpio@d200 { /* GPIO 19 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,output-type = <0>; /* QPNP_PIN_OUT_BUF_CMOS */ - qcom,pull = <5>; /* QPNP_PIN_PULL_NO */ - qcom,vin-sel = <2>; /* QPNP_PIN_VIN2 */ - qcom,out-strength = <2>; /* QPNP_PIN_OUT_STRENGTH_MED */ - qcom,src-sel = <0>; /* QPNP_PIN_SEL_FUNC_CONSTANT */ - qcom,master-en = <1>; - }; - - gpio@d300 { /* GPIO 20 */ - }; - - gpio@d400 { /* GPIO 21 */ - }; - - gpio@d500 { /* GPIO 22 */ - }; - - gpio@d600 { /* GPIO 23 */ - }; - - gpio@d700 { /* GPIO 24 */ - }; - - gpio@d800 { /* GPIO 25 */ - }; - - gpio@d900 { /* GPIO 26 */ - }; - - gpio@da00 { /* GPIO 27 */ - }; - - gpio@db00 { /* GPIO 28 */ - }; - - gpio@dc00 { /* GPIO 29 */ - qcom,pull = <0>; /* set to default pull */ - qcom,master-en = <1>; - qcom,vin-sel = <2>; /* select 1.8 V source */ - }; - - gpio@dd00 { /* GPIO 30 */ - }; - - gpio@de00 { /* GPIO 31 */ - }; - - gpio@df00 { /* GPIO 32 */ - }; - - gpio@e000 { /* GPIO 33 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,output-type = <0>; /* QPNP_PIN_OUT_BUF_CMOS */ - qcom,pull = <5>; /* QPNP_PIN_PULL_NO */ - qcom,vin-sel = <2>; /* QPNP_PIN_VIN2 */ - qcom,out-strength = <2>; /* QPNP_PIN_OUT_STRENGTH_MED */ - qcom,src-sel = <0>; /* QPNP_PIN_SEL_FUNC_CONSTANT */ - qcom,invert = <1>; - qcom,master-en = <1>; - }; - - gpio@e100 { /* GPIO 34 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,output-type = <0>; /* QPNP_PIN_OUT_BUF_CMOS */ - qcom,pull = <5>; /* QPNP_PIN_PULL_NO */ - qcom,vin-sel = <2>; /* QPNP_PIN_VIN2 */ - qcom,out-strength = <2>; /* QPNP_PIN_OUT_STRENGTH_MED */ - qcom,src-sel = <0>; /* QPNP_PIN_SEL_FUNC_CONSTANT */ - qcom,invert = <0>; - qcom,master-en = <1>; - }; - - gpio@e200 { /* GPIO 35 */ - }; - - gpio@e300 { /* GPIO 36 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,output-type = <0>; /* QPNP_PIN_OUT_BUF_CMOS */ - qcom,pull = <5>; /* QPNP_PIN_PULL_NO */ - qcom,vin-sel = <2>; /* QPNP_PIN_VIN2 */ - qcom,out-strength = <3>; /* QPNP_PIN_OUT_STRENGTH_HIGH */ - qcom,src-sel = <3>; /* QPNP_PIN_SEL_FUNC_2 */ - qcom,master-en = <1>; - }; -}; - -&pm8941_mpps { - - mpp@a000 { /* MPP 1 */ - }; - - mpp@a100 { /* MPP 2 */ - }; - - mpp@a200 { /* MPP 3 */ - }; - - mpp@a300 { /* MPP 4 */ - }; - - mpp@a400 { /* MPP 5 */ - }; - - mpp@a500 { /* MPP 6 */ - }; - - mpp@a600 { /* MPP 7 */ - }; - - mpp@a700 { /* MPP 8 */ - }; -}; - -&pm8841_mpps { - - mpp@a000 { /* MPP 1 */ - }; - - mpp@a100 { /* MPP 2 */ - }; - - mpp@a200 { /* MPP 3*/ - }; - - mpp@a300 { /* MPP 4*/ - }; -}; - -&spi_epm { - epm-adc@0 { - compatible = "cy,epm-adc-cy8c5568lti-114"; - reg = <0>; - interrupt-parent = <&msmgpio>; - spi-max-frequency = <960000>; - qcom,channels = <31>; - qcom,gain = <50 50 50 50 50 100 50 50 50 50 - 50 50 50 50 100 50 50 50 50 100 - 50 50 50 100 50 50 50 1 1 1 - 1>; - qcom,rsense = <40 10 10 25 10 1000 75 25 10 25 - 33 500 200 10 500 100 33 200 25 100 - 75 500 50 200 5 5 3 1 1 1 - 1>; - qcom,channel-type = <0xf0000000>; - }; -}; - -&spmi_bus { - qcom,pm8941@1 { - qcom,leds@d000 { - qcom,rgb_2 { - status = "ok"; - qcom,default-state = "on"; - qcom,turn-off-delay-ms = <1000>; - }; - }; - - qcom,leds@d800 { - status = "okay"; - qcom,wled_0 { - label = "wled"; - linux,name = "wled:backlight"; - linux,default-trigger = "bkl-trigger"; - qcom,cs-out-en; - qcom,op-fdbck = <1>; - qcom,default-state = "on"; - qcom,max-current = <20>; - qcom,ctrl-delay-us = <0>; - qcom,boost-curr-lim = <3>; - qcom,cp-sel = <0>; - qcom,switch-freq = <2>; - qcom,ovp-val = <1>; - qcom,num-strings = <1>; - qcom,id = <0>; - }; - }; - }; -}; - -&pm8941_chg { - status = "ok"; - - qcom,charging-disabled; - - qcom,chgr@1000 { - status = "ok"; - }; - - qcom,buck@1100 { - status = "ok"; - }; - - qcom,usb-chgpth@1300 { - status = "ok"; - }; - - qcom,dc-chgpth@1400 { - status = "ok"; - }; - - qcom,boost@1500 { - status = "ok"; - }; - - qcom,chg-misc@1600 { - status = "ok"; - }; -}; - -&sdhc_1 { - vdd-supply = <&pm8941_l20>; - vdd-io-supply = <&pm8941_s3>; - - qcom,vdd-always-on; - qcom,vdd-lpm-sup; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <800 500000>; - - qcom,vdd-io-always-on; - qcom,vdd-io-voltage-level = <1800000 1800000>; - qcom,vdd-io-current-level = <250 154000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,nonremovable; - status = "ok"; -}; - -&sdhc_2 { - #address-cells = <0>; - interrupt-parent = <&sdhc_2>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 125 0 - 1 &intc 0 221 0 - 2 &msmgpio 62 0x3>; - interrupt-names = "hc_irq", "pwr_irq", "status_irq"; - cd-gpios = <&msmgpio 62 0x1>; - - vdd-supply = <&pm8941_l21>; - vdd-io-supply = <&pm8941_l13>; - - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <9000 800000>; - - qcom,vdd-io-voltage-level = <1800000 2950000>; - qcom,vdd-io-current-level = <6 22000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - status = "ok"; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/apq8074-v1.dtsi b/kernel/arch/arm/boot/dts/m7300-un-v1/apq8074-v1.dtsi deleted file mode 100755 index c4e7b7c3c..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/apq8074-v1.dtsi +++ /dev/null @@ -1,48 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/* - * As a general rule, only version-specific property overrides should be placed - * inside this file. However, device definitions should be placed inside the - * msm8974.dtsi file. - */ - -/include/ "msm8974-v1.dtsi" - -&soc { - qcom,qseecom@a700000 { - compatible = "qcom,qseecom"; - reg = <0x0a700000 0x500000>; - reg-names = "secapp-region"; - qcom,disk-encrypt-pipe-pair = <2>; - qcom,hlos-ce-hw-instance = <1>; - qcom,qsee-ce-hw-instance = <0>; - qcom,msm-bus,name = "qseecom-noc"; - qcom,msm-bus,num-cases = <4>; - qcom,msm-bus,active-only = <0>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <55 512 0 0>, - <55 512 3936000 393600>, - <55 512 3936000 393600>, - <55 512 3936000 393600>; - }; -}; - -&memory_hole { - qcom,memblock-remove = <0x0a700000 0x5800000>; /* Address and size of the hole */ -}; - -&qseecom { - status = "disabled"; -}; - diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/apq8074-v2-dragonboard.dts b/kernel/arch/arm/boot/dts/m7300-un-v1/apq8074-v2-dragonboard.dts deleted file mode 100755 index 5a6f5f3bf..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/apq8074-v2-dragonboard.dts +++ /dev/null @@ -1,22 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; - -/include/ "apq8074-v2.dtsi" -/include/ "apq8074-dragonboard.dtsi" - -/ { - model = "Qualcomm APQ 8074v2 DRAGONBOARD"; - compatible = "qcom,apq8074-dragonboard", "qcom,apq8074", "qcom,dragonboard"; - qcom,msm-id = <184 10 0x20000>; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/apq8074-v2-liquid.dts b/kernel/arch/arm/boot/dts/m7300-un-v1/apq8074-v2-liquid.dts deleted file mode 100755 index 4ec1cdd17..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/apq8074-v2-liquid.dts +++ /dev/null @@ -1,34 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; - -/include/ "apq8074-v2.dtsi" -/include/ "msm8974-liquid.dtsi" - -/ { - model = "Qualcomm APQ 8074v2 LIQUID"; - compatible = "qcom,apq8074-liquid", "qcom,apq8074", "qcom,liquid"; - qcom,msm-id = <184 9 0x20000>; -}; - -&usb3 { - interrupt-parent = <&usb3>; - interrupts = <0 1>; - #interrupt-cells = <1>; - interrupt-map-mask = <0x0 0xffffffff>; - interrupt-map = <0x0 0 &intc 0 133 0 - 0x0 1 &spmi_bus 0x0 0x0 0x9 0x0>; - interrupt-names = "hs_phy_irq", "pmic_id_irq"; - - qcom,misc-ref = <&pm8941_misc>; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/apq8074-v2.dtsi b/kernel/arch/arm/boot/dts/m7300-un-v1/apq8074-v2.dtsi deleted file mode 100755 index 76eb14b96..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/apq8074-v2.dtsi +++ /dev/null @@ -1,52 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/* - * As a general rule, only version-specific property overrides should be placed - * inside this file. However, device definitions should be placed inside the - * msm8974.dtsi file. - */ - -/include/ "msm8974-v2.dtsi" - -&soc { - qcom,qseecom@a700000 { - compatible = "qcom,qseecom"; - reg = <0x0a700000 0x500000>; - reg-names = "secapp-region"; - qcom,disk-encrypt-pipe-pair = <2>; - qcom,hlos-ce-hw-instance = <1>; - qcom,qsee-ce-hw-instance = <0>; - qcom,msm-bus,name = "qseecom-noc"; - qcom,msm-bus,num-cases = <4>; - qcom,msm-bus,active-only = <0>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <55 512 0 0>, - <55 512 3936000 393600>, - <55 512 3936000 393600>, - <55 512 3936000 393600>; - }; - - sound { - compatible = "qcom,apq8074-audio-taiko"; - }; -}; - -&memory_hole { - qcom,memblock-remove = <0x0a700000 0x5800000>; /* Address and size of the hole */ -}; - -&qseecom { - status = "disabled"; -}; - diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/apq8084-ion.dtsi b/kernel/arch/arm/boot/dts/m7300-un-v1/apq8084-ion.dtsi deleted file mode 100755 index ea954b89c..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/apq8084-ion.dtsi +++ /dev/null @@ -1,31 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -&soc { - qcom,ion { - compatible = "qcom,msm-ion"; - #address-cells = <1>; - #size-cells = <0>; - - qcom,ion-heap@30 { /* SYSTEM HEAP */ - reg = <30>; - }; - - qcom,ion-heap@21 { /* SYSTEM CONTIG HEAP */ - reg = <21>; - }; - - qcom,ion-heap@25 { /* IOMMU HEAP */ - reg = <25>; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/apq8084-regulator.dtsi b/kernel/arch/arm/boot/dts/m7300-un-v1/apq8084-regulator.dtsi deleted file mode 100755 index 998b46906..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/apq8084-regulator.dtsi +++ /dev/null @@ -1,377 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - - -/* QPNP controlled regulators: */ - -&spmi_bus { - qcom,pma8084@1 { - pma8084_s1: regulator@1400 { - regulator-min-microvolt = <1050000>; - regulator-max-microvolt = <1050000>; - qcom,enable-time = <500>; - qcom,pull-down-enable = <1>; - regulator-always-on; - qcom,system-load = <100000>; - status = "okay"; - }; - - /* PMA8084 S2 + S12 = 2 phase VDD_CX supply */ - pma8084_s2: regulator@1700 { - regulator-min-microvolt = <1050000>; - regulator-max-microvolt = <1050000>; - qcom,enable-time = <500>; - qcom,pull-down-enable = <1>; - regulator-always-on; - qcom,system-load = <100000>; - status = "okay"; - }; - - pma8084_s3: regulator@1a00 { - regulator-min-microvolt = <1300000>; - regulator-max-microvolt = <1300000>; - qcom,enable-time = <500>; - qcom,pull-down-enable = <1>; - regulator-always-on; - qcom,system-load = <100000>; - status = "okay"; - }; - - pma8084_s4: regulator@1d00 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,enable-time = <500>; - qcom,pull-down-enable = <1>; - regulator-always-on; - qcom,system-load = <100000>; - status = "okay"; - }; - - pma8084_s5: regulator@2000 { - regulator-min-microvolt = <2150000>; - regulator-max-microvolt = <2150000>; - qcom,enable-time = <500>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - /* PMA8084 S6 + S7 = 2 phase VDD_GFX supply */ - pma8084_s6: regulator@2300 { - regulator-min-microvolt = <815000>; - regulator-max-microvolt = <900000>; - qcom,enable-time = <500>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - /* PMA8084 S8 + S9 + S10 + S11 = 4 phase VDD_APC supply */ - pma8084_s8: regulator@2900 { - regulator-min-microvolt = <500000>; - regulator-max-microvolt = <1100000>; - qcom,enable-time = <500>; - qcom,pull-down-enable = <1>; - regulator-always-on; - qcom,system-load = <100000>; - status = "okay"; - }; - - /* Output of PMA8084 L1 and L11 is tied together. */ - pma8084_l1: regulator@4000 { - parent-supply = <&pma8084_s3>; - regulator-min-microvolt = <1225000>; - regulator-max-microvolt = <1225000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - regulator-always-on; - qcom,system-load = <10000>; - status = "okay"; - }; - - pma8084_l2: regulator@4100 { - parent-supply = <&pma8084_s3>; - regulator-min-microvolt = <1200000>; - regulator-max-microvolt = <1200000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l3: regulator@4200 { - parent-supply = <&pma8084_s3>; - regulator-min-microvolt = <1225000>; - regulator-max-microvolt = <1225000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l4: regulator@4300 { - parent-supply = <&pma8084_s3>; - regulator-min-microvolt = <1000000>; - regulator-max-microvolt = <1000000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l6: regulator@4500 { - parent-supply = <&pma8084_s5>; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l8: regulator@4700 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l9: regulator@4800 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l10: regulator@4900 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l12: regulator@4b00 { - parent-supply = <&pma8084_s5>; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l13: regulator@4c00 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <2950000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l14: regulator@4d00 { - parent-supply = <&pma8084_s5>; - regulator-min-microvolt = <1225000>; - regulator-max-microvolt = <1225000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l15: regulator@4e00 { - parent-supply = <&pma8084_s5>; - regulator-min-microvolt = <1200000>; - regulator-max-microvolt = <1200000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l16: regulator@4f00 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l17: regulator@5000 { - regulator-min-microvolt = <2800000>; - regulator-max-microvolt = <2800000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l18: regulator@5100 { - regulator-min-microvolt = <2850000>; - regulator-max-microvolt = <2850000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l19: regulator@5200 { - regulator-min-microvolt = <2950000>; - regulator-max-microvolt = <2950000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l20: regulator@5300 { - regulator-min-microvolt = <2950000>; - regulator-max-microvolt = <2950000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l21: regulator@5400 { - regulator-min-microvolt = <2950000>; - regulator-max-microvolt = <2950000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l22: regulator@5500 { - regulator-min-microvolt = <3000000>; - regulator-max-microvolt = <3000000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l23: regulator@5600 { - regulator-min-microvolt = <2700000>; - regulator-max-microvolt = <2700000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l24: regulator@5700 { - regulator-min-microvolt = <3075000>; - regulator-max-microvolt = <3075000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l25: regulator@5800 { - regulator-min-microvolt = <2100000>; - regulator-max-microvolt = <2100000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l26: regulator@5900 { - parent-supply = <&pma8084_s5>; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l27: regulator@5a00 { - parent-supply = <&pma8084_s3>; - regulator-min-microvolt = <1050000>; - regulator-max-microvolt = <1050000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_lvs1: regulator@8000 { - parent-supply = <&pma8084_s4>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_lvs2: regulator@8100 { - parent-supply = <&pma8084_s4>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_lvs3: regulator@8200 { - parent-supply = <&pma8084_s4>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_lvs4: regulator@8300 { - parent-supply = <&pma8084_s4>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_mvs1: regulator@8400 { - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - }; -}; - -&rpm_bus { - rpm-regulator-smpb1 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "smpb"; - qcom,resource-id = <1>; - qcom,regulator-type = <1>; - qcom,hpm-min-load = <100000>; - - pma8084_s1_ao: regulator-s1-ao { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8084_s1_ao"; - qcom,set = <1>; - regulator-min-microvolt = <675000>; - regulator-max-microvolt = <1050000>; - }; - }; - - rpm-regulator-smpb2 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "smpb"; - qcom,resource-id = <2>; - qcom,regulator-type = <1>; - qcom,hpm-min-load = <100000>; - - pma8084_s2_corner_ao: regulator-s2-corner-ao { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8084_s2_corner_ao"; - qcom,set = <1>; - regulator-min-microvolt = <1>; - regulator-max-microvolt = <7>; - qcom,use-voltage-corner; - }; - }; - - rpm-regulator-ldoa12 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <12>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - - pma8084_l12_ao: regulator-l12-ao { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8084_l12_ao"; - qcom,set = <1>; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/apq8084-sim.dts b/kernel/arch/arm/boot/dts/m7300-un-v1/apq8084-sim.dts deleted file mode 100755 index e206d4dd0..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/apq8084-sim.dts +++ /dev/null @@ -1,173 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; - -/include/ "apq8084.dtsi" - -/ { - model = "Qualcomm APQ 8084 Simulator"; - compatible = "qcom,apq8084-sim", "qcom,apq8084", "qcom,sim"; - qcom,msm-id = <178 0 0>; - - aliases { - serial0 = &uart0; - }; -}; - -&soc { - uart0: serial@f991f000 { - status = "ok"; - }; -}; - -&sdcc1 { - qcom,vdd-always-on; - qcom,vdd-lpm-sup; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <800 500000>; - - qcom,vdd-io-always-on; - qcom,vdd-io-voltage-level = <1800000 1800000>; - qcom,vdd-io-current-level = <250 154000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 20000000 25000000 50000000 100000000 200000000>; - qcom,sup-voltages = <2950 2950>; - qcom,nonremovable; - qcom,bus-speed-mode = "HS200_1p8v", "DDR_1p8v"; - - status = "ok"; -}; - -&sdcc2 { - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <9000 800000>; - qcom,vdd-io-voltage-level = <1800000 2950000>; - qcom,vdd-io-current-level = <6 22000>; - qcom,vdd-io-lpm-sup; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 20000000 25000000 50000000 100000000 200000000>; - qcom,sup-voltages = <2950 2950>; - qcom,xpc; - qcom,bus-speed-mode = "SDR12", "SDR25", "SDR50", "DDR50", "SDR104"; - qcom,current-limit = <800>; - - status = "ok"; -}; - -&pma8084_gpios { - gpio@c000 { /* GPIO 1 */ - }; - - gpio@c100 { /* GPIO 2 */ - }; - - gpio@c200 { /* GPIO 3 */ - }; - - gpio@c300 { /* GPIO 4 */ - }; - - gpio@c400 { /* GPIO 5 */ - }; - - gpio@c500 { /* GPIO 6 */ - }; - - gpio@c600 { /* GPIO 7 */ - }; - - gpio@c700 { /* GPIO 8 */ - }; - - gpio@c800 { /* GPIO 9 */ - }; - - gpio@c900 { /* GPIO 10 */ - }; - - gpio@ca00 { /* GPIO 11 */ - }; - - gpio@cb00 { /* GPIO 12 */ - }; - - gpio@cc00 { /* GPIO 13 */ - }; - - gpio@cd00 { /* GPIO 14 */ - }; - - gpio@ce00 { /* GPIO 15 */ - }; - - gpio@cf00 { /* GPIO 16 */ - }; - - gpio@d000 { /* GPIO 17 */ - }; - - gpio@d100 { /* GPIO 18 */ - }; - - gpio@d200 { /* GPIO 19 */ - }; - - gpio@d300 { /* GPIO 20 */ - }; - - gpio@d400 { /* GPIO 21 */ - }; - - gpio@d500 { /* GPIO 22 */ - }; -}; - -&pma8084_mpps { - mpp@a000 { /* MPP 1 */ - }; - - mpp@a100 { /* MPP 2 */ - }; - - mpp@a200 { /* MPP 3 */ - }; - - mpp@a300 { /* MPP 4 */ - }; - - mpp@a400 { /* MPP 5 */ - }; - - mpp@a500 { /* MPP 6 */ - }; - - mpp@a600 { /* MPP 7 */ - }; - - mpp@a700 { /* MPP 8 */ - }; -}; - -&usb3 { - qcom,skip-charger-detection; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/apq8084-smp2p.dtsi b/kernel/arch/arm/boot/dts/m7300-un-v1/apq8084-smp2p.dtsi deleted file mode 100755 index b1d21ffd7..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/apq8084-smp2p.dtsi +++ /dev/null @@ -1,82 +0,0 @@ -/* Copyright (c) 2013, 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. - */ -&soc { - qcom,smp2p-adsp { - compatible = "qcom,smp2p"; - reg = <0xf9011008 0x4>; - qcom,remote-pid = <2>; - qcom,irq-bitmask = <0x400>; - interrupts = <0 158 1>; - }; - - smp2pgpio_smp2p_7_in: qcom,smp2pgpio-smp2p-7-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <7>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_7_in { - compatible = "qcom,smp2pgpio_test_smp2p_7_in"; - gpios = <&smp2pgpio_smp2p_7_in 0 0>; - }; - - smp2pgpio_smp2p_7_out: qcom,smp2pgpio-smp2p-7-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <7>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_7_out { - compatible = "qcom,smp2pgpio_test_smp2p_7_out"; - gpios = <&smp2pgpio_smp2p_7_out 0 0>; - }; - - smp2pgpio_smp2p_2_in: qcom,smp2pgpio-smp2p-2-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <2>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_2_in { - compatible = "qcom,smp2pgpio_test_smp2p_2_in"; - gpios = <&smp2pgpio_smp2p_2_in 0 0>; - }; - - smp2pgpio_smp2p_2_out: qcom,smp2pgpio-smp2p-2-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <2>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_2_out { - compatible = "qcom,smp2pgpio_test_smp2p_2_out"; - gpios = <&smp2pgpio_smp2p_2_out 0 0>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/apq8084.dtsi b/kernel/arch/arm/boot/dts/m7300-un-v1/apq8084.dtsi deleted file mode 100755 index b39f5690a..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/apq8084.dtsi +++ /dev/null @@ -1,276 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/include/ "skeleton64.dtsi" - -/ { - model = "Qualcomm APQ 8084"; - compatible = "qcom,apq8084"; - interrupt-parent = <&intc>; - soc: soc { }; -}; - -/include/ "apq8084-ion.dtsi" -/include/ "apq8084-smp2p.dtsi" - -&soc { - #address-cells = <1>; - #size-cells = <1>; - ranges = <0 0 0 0xffffffff>; - - intc: interrupt-controller@f9000000 { - compatible = "qcom,msm-qgic2"; - interrupt-controller; - #interrupt-cells = <3>; - reg = <0xF9000000 0x1000>, - <0xF9002000 0x1000>; - }; - - msmgpio: gpio@fd510000 { - compatible = "qcom,msm-gpio"; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - reg = <0xfd510000 0x4000>; - ngpio = <146>; - interrupts = <0 208 0>; - qcom,direct-connect-irqs = <8>; - }; - - timer { - compatible = "arm,armv7-timer"; - interrupts = <1 2 0 1 3 0>; - clock-frequency = <19200000>; - }; - - serial@f991f000 { - compatible = "qcom,msm-lsuart-v14"; - reg = <0xf991f000 0x1000>; - interrupts = <0 109 0>; - status = "disabled"; - }; - - qcom,cache_erp { - compatible = "qcom,cache_erp"; - interrupts = <1 9 0>, <0 2 0>; - interrupt-names = "l1_irq", "l2_irq"; - }; - - qcom,cache_dump { - compatible = "qcom,cache_dump"; - qcom,l1-dump-size = <0x100000>; - qcom,l2-dump-size = <0x500000>; - qcom,memory-reservation-type = "EBI1"; - qcom,memory-reservation-size = <0x600000>; /* 6M EBI1 buffer */ - }; - - rpm_bus: qcom,rpm-smd { - compatible = "qcom,rpm-smd"; - rpm-channel-name = "rpm_requests"; - rpm-channel-type = <15>; /* SMD_APPS_RPM */ - rpm-standalone; - }; - - qcom,msm-imem@fe805000 { - compatible = "qcom,msm-imem"; - reg = <0xfe805000 0x1000>; /* Address and size of IMEM */ - }; - - qcom,msm-rtb { - compatible = "qcom,msm-rtb"; - qcom,memory-reservation-type = "EBI1"; - qcom,memory-reservation-size = <0x100000>; /* 1M EBI1 buffer */ - }; - - sdcc1: qcom,sdcc@f9824000 { - cell-index = <1>; /* SDC1 eMMC slot */ - compatible = "qcom,msm-sdcc"; - reg = <0xf9824000 0x800>; - reg-names = "core_mem"; - interrupts = <0 123 0>; - interrupt-names = "core_irq"; - - qcom,bus-width = <8>; - status = "disabled"; - }; - - sdcc2: qcom,sdcc@f98a4000 { - cell-index = <2>; /* SDC2 SD card slot */ - compatible = "qcom,msm-sdcc"; - reg = <0xf98a4000 0x800>; - reg-names = "core_mem"; - interrupts = <0 125 0>; - interrupt-names = "core_irq"; - - - qcom,bus-width = <4>; - status = "disabled"; - }; - - qcom,sps@f9980000 { - compatible = "qcom,msm_sps"; - reg = <0xf9984000 0x15000>, - <0xf9999000 0xb000>; - interrupts = <0 94 0>; - qcom,pipe-attr-ee; - }; - - spmi_bus: qcom,spmi@fc4c0000 { - cell-index = <0>; - 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,not-wakeup; - qcom,pmic-arb-ee = <0>; - qcom,pmic-arb-channel = <0>; - #address-cells = <1>; - #size-cells = <0>; - interrupt-controller; - #interrupt-cells = <3>; - }; - - i2c_0: i2c@f9925000 { /* BLSP1 QUP3 */ - cell-index = <0>; - compatible = "qcom,i2c-qup"; - #address-cells = <1>; - #size-cells = <0>; - reg-names = "qup_phys_addr"; - reg = <0xf9925000 0x1000>; - interrupt-names = "qup_err_intr"; - interrupts = <0 97 0>; - qcom,i2c-bus-freq = <100000>; - qcom,i2c-src-freq = <50000000>; - qcom,sda-gpio = <&msmgpio 10 0>; - qcom,scl-gpio = <&msmgpio 11 0>; - }; - - usb3: qcom,ssusb@f9200000 { - compatible = "qcom,dwc-usb3-msm"; - reg = <0xf9200000 0xfc000>, - <0xfd4ab000 0x4>; - #address-cells = <1>; - #size-cells = <1>; - ranges; - interrupts = <0 133 0>; - interrupt-names = "hs_phy_irq"; - ssusb_vdd_dig-supply = <&pma8084_s1>; - SSUSB_1p8-supply = <&pma8084_l6>; - hsusb_vdd_dig-supply = <&pma8084_s1>; - HSUSB_1p8-supply = <&pma8084_l6>; - HSUSB_3p3-supply = <&pma8084_l24>; - qcom,dwc-usb3-msm-dbm-eps = <4>; - qcom,vdd-voltage-level = <0 900000 1050000>; - - dwc3@f9200000 { - compatible = "synopsys,dwc3"; - reg = <0xf9200000 0xfc000>; - interrupt-parent = <&intc>; - interrupts = <0 131 0>, <0 179 0>; - interrupt-names = "irq", "otg_irq"; - tx-fifo-resize; - }; - }; - - android_usb { - compatible = "qcom,android-usb"; - }; - - 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>; - - partition@0 { - reg = <0x0 0x180000>; - qcom,ocmem-part-name = "graphics"; - qcom,ocmem-part-min = <0x80000>; - }; - - partition@80000 { - reg = <0x180000 0x80000>; - qcom,ocmem-part-name = "lp_audio"; - qcom,ocmem-part-min = <0x80000>; - }; - - partition@100000 { - reg = <0x180000 0x80000>; - qcom,ocmem-part-name = "video"; - qcom,ocmem-part-min = <0x55000>; - }; - - }; - - memory_hole: qcom,msm-mem-hole { - compatible = "qcom,msm-mem-hole"; - qcom,memblock-remove = <0x0dc00000 0x2000000>; /* Address and Size of Hole */ - }; - - qcom,ipc-spinlock@fd484000 { - compatible = "qcom,ipc-spinlock-sfpb"; - reg = <0xfd484000 0x400>; - qcom,num-locks = <8>; - }; - - qcom,smem@fa00000 { - compatible = "qcom,smem"; - reg = <0xfa00000 0x200000>, - <0xf9011000 0x1000>, - <0xfc428000 0x4000>; - reg-names = "smem", "irq-reg-base", "aux-mem1"; - - qcom,smd-adsp { - compatible = "qcom,smd"; - qcom,smd-edge = <1>; - qcom,smd-irq-offset = <0x8>; - qcom,smd-irq-bitmask = <0x100>; - qcom,pil-string = "adsp"; - interrupts = <0 156 1>; - }; - - qcom,smsm-adsp { - compatible = "qcom,smsm"; - qcom,smsm-edge = <1>; - qcom,smsm-irq-offset = <0x8>; - qcom,smsm-irq-bitmask = <0x200>; - interrupts = <0 157 1>; - }; - - qcom,smd-rpm { - compatible = "qcom,smd"; - qcom,smd-edge = <15>; - qcom,smd-irq-offset = <0x8>; - qcom,smd-irq-bitmask = <0x1>; - interrupts = <0 168 1>; - qcom,irq-no-suspend; - }; - }; -}; - -/include/ "msm-pma8084.dtsi" -/include/ "apq8084-regulator.dtsi" diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/at91sam9g20.dtsi b/kernel/arch/arm/boot/dts/m7300-un-v1/at91sam9g20.dtsi deleted file mode 100755 index 773ef4840..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/at91sam9g20.dtsi +++ /dev/null @@ -1,238 +0,0 @@ -/* - * at91sam9g20.dtsi - Device Tree Include file for AT91SAM9G20 family SoC - * - * Copyright (C) 2011 Atmel, - * 2011 Nicolas Ferre , - * 2011 Jean-Christophe PLAGNIOL-VILLARD - * - * Licensed under GPLv2 or later. - */ - -/include/ "skeleton.dtsi" - -/ { - model = "Atmel AT91SAM9G20 family SoC"; - compatible = "atmel,at91sam9g20"; - interrupt-parent = <&aic>; - - aliases { - serial0 = &dbgu; - serial1 = &usart0; - serial2 = &usart1; - serial3 = &usart2; - serial4 = &usart3; - serial5 = &usart4; - serial6 = &usart5; - gpio0 = &pioA; - gpio1 = &pioB; - gpio2 = &pioC; - tcb0 = &tcb0; - tcb1 = &tcb1; - }; - cpus { - cpu@0 { - compatible = "arm,arm926ejs"; - }; - }; - - memory { - reg = <0x20000000 0x08000000>; - }; - - ahb { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - - apb { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - - aic: interrupt-controller@fffff000 { - #interrupt-cells = <2>; - compatible = "atmel,at91rm9200-aic"; - interrupt-controller; - reg = <0xfffff000 0x200>; - }; - - ramc0: ramc@ffffea00 { - compatible = "atmel,at91sam9260-sdramc"; - reg = <0xffffea00 0x200>; - }; - - pmc: pmc@fffffc00 { - compatible = "atmel,at91rm9200-pmc"; - reg = <0xfffffc00 0x100>; - }; - - rstc@fffffd00 { - compatible = "atmel,at91sam9260-rstc"; - reg = <0xfffffd00 0x10>; - }; - - shdwc@fffffd10 { - compatible = "atmel,at91sam9260-shdwc"; - reg = <0xfffffd10 0x10>; - }; - - pit: timer@fffffd30 { - compatible = "atmel,at91sam9260-pit"; - reg = <0xfffffd30 0xf>; - interrupts = <1 4>; - }; - - tcb0: timer@fffa0000 { - compatible = "atmel,at91rm9200-tcb"; - reg = <0xfffa0000 0x100>; - interrupts = <17 4 18 4 19 4>; - }; - - tcb1: timer@fffdc000 { - compatible = "atmel,at91rm9200-tcb"; - reg = <0xfffdc000 0x100>; - interrupts = <26 4 27 4 28 4>; - }; - - pioA: gpio@fffff400 { - compatible = "atmel,at91rm9200-gpio"; - reg = <0xfffff400 0x100>; - interrupts = <2 4>; - #gpio-cells = <2>; - gpio-controller; - interrupt-controller; - }; - - pioB: gpio@fffff600 { - compatible = "atmel,at91rm9200-gpio"; - reg = <0xfffff600 0x100>; - interrupts = <3 4>; - #gpio-cells = <2>; - gpio-controller; - interrupt-controller; - }; - - pioC: gpio@fffff800 { - compatible = "atmel,at91rm9200-gpio"; - reg = <0xfffff800 0x100>; - interrupts = <4 4>; - #gpio-cells = <2>; - gpio-controller; - interrupt-controller; - }; - - dbgu: serial@fffff200 { - compatible = "atmel,at91sam9260-usart"; - reg = <0xfffff200 0x200>; - interrupts = <1 4>; - status = "disabled"; - }; - - usart0: serial@fffb0000 { - compatible = "atmel,at91sam9260-usart"; - reg = <0xfffb0000 0x200>; - interrupts = <6 4>; - atmel,use-dma-rx; - atmel,use-dma-tx; - status = "disabled"; - }; - - usart1: serial@fffb4000 { - compatible = "atmel,at91sam9260-usart"; - reg = <0xfffb4000 0x200>; - interrupts = <7 4>; - atmel,use-dma-rx; - atmel,use-dma-tx; - status = "disabled"; - }; - - usart2: serial@fffb8000 { - compatible = "atmel,at91sam9260-usart"; - reg = <0xfffb8000 0x200>; - interrupts = <8 4>; - atmel,use-dma-rx; - atmel,use-dma-tx; - status = "disabled"; - }; - - usart3: serial@fffd0000 { - compatible = "atmel,at91sam9260-usart"; - reg = <0xfffd0000 0x200>; - interrupts = <23 4>; - atmel,use-dma-rx; - atmel,use-dma-tx; - status = "disabled"; - }; - - usart4: serial@fffd4000 { - compatible = "atmel,at91sam9260-usart"; - reg = <0xfffd4000 0x200>; - interrupts = <24 4>; - atmel,use-dma-rx; - atmel,use-dma-tx; - status = "disabled"; - }; - - usart5: serial@fffd8000 { - compatible = "atmel,at91sam9260-usart"; - reg = <0xfffd8000 0x200>; - interrupts = <25 4>; - atmel,use-dma-rx; - atmel,use-dma-tx; - status = "disabled"; - }; - - macb0: ethernet@fffc4000 { - compatible = "cdns,at32ap7000-macb", "cdns,macb"; - reg = <0xfffc4000 0x100>; - interrupts = <21 4>; - status = "disabled"; - }; - - usb1: gadget@fffa4000 { - compatible = "atmel,at91rm9200-udc"; - reg = <0xfffa4000 0x4000>; - interrupts = <10 4>; - status = "disabled"; - }; - }; - - nand0: nand@40000000 { - compatible = "atmel,at91rm9200-nand"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0x40000000 0x10000000 - 0xffffe800 0x200 - >; - atmel,nand-addr-offset = <21>; - atmel,nand-cmd-offset = <22>; - gpios = <&pioC 13 0 - &pioC 14 0 - 0 - >; - status = "disabled"; - }; - - usb0: ohci@00500000 { - compatible = "atmel,at91rm9200-ohci", "usb-ohci"; - reg = <0x00500000 0x100000>; - interrupts = <20 4>; - status = "disabled"; - }; - }; - - i2c@0 { - compatible = "i2c-gpio"; - gpios = <&pioA 23 0 /* sda */ - &pioA 24 0 /* scl */ - >; - i2c-gpio,sda-open-drain; - i2c-gpio,scl-open-drain; - i2c-gpio,delay-us = <2>; /* ~100 kHz */ - #address-cells = <1>; - #size-cells = <0>; - status = "disabled"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/at91sam9g25ek.dts b/kernel/arch/arm/boot/dts/m7300-un-v1/at91sam9g25ek.dts deleted file mode 100755 index 7829a4d0c..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/at91sam9g25ek.dts +++ /dev/null @@ -1,49 +0,0 @@ -/* - * at91sam9g25ek.dts - Device Tree file for AT91SAM9G25-EK board - * - * Copyright (C) 2012 Atmel, - * 2012 Nicolas Ferre - * - * Licensed under GPLv2 or later. - */ -/dts-v1/; -/include/ "at91sam9x5.dtsi" -/include/ "at91sam9x5cm.dtsi" - -/ { - model = "Atmel AT91SAM9G25-EK"; - compatible = "atmel,at91sam9g25ek", "atmel,at91sam9x5ek", "atmel,at91sam9x5", "atmel,at91sam9"; - - chosen { - bootargs = "128M console=ttyS0,115200 root=/dev/mtdblock1 rw rootfstype=ubifs ubi.mtd=1 root=ubi0:rootfs"; - }; - - ahb { - apb { - dbgu: serial@fffff200 { - status = "okay"; - }; - - usart0: serial@f801c000 { - status = "okay"; - }; - - macb0: ethernet@f802c000 { - phy-mode = "rmii"; - status = "okay"; - }; - }; - - usb0: ohci@00600000 { - status = "okay"; - num-ports = <2>; - atmel,vbus-gpio = <&pioD 19 1 - &pioD 20 1 - >; - }; - - usb1: ehci@00700000 { - status = "okay"; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/at91sam9g45.dtsi b/kernel/arch/arm/boot/dts/m7300-un-v1/at91sam9g45.dtsi deleted file mode 100755 index c8042147e..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/at91sam9g45.dtsi +++ /dev/null @@ -1,247 +0,0 @@ -/* - * at91sam9g45.dtsi - Device Tree Include file for AT91SAM9G45 family SoC - * applies to AT91SAM9G45, AT91SAM9M10, - * AT91SAM9G46, AT91SAM9M11 SoC - * - * Copyright (C) 2011 Atmel, - * 2011 Nicolas Ferre - * - * Licensed under GPLv2 or later. - */ - -/include/ "skeleton.dtsi" - -/ { - model = "Atmel AT91SAM9G45 family SoC"; - compatible = "atmel,at91sam9g45"; - interrupt-parent = <&aic>; - - aliases { - serial0 = &dbgu; - serial1 = &usart0; - serial2 = &usart1; - serial3 = &usart2; - serial4 = &usart3; - gpio0 = &pioA; - gpio1 = &pioB; - gpio2 = &pioC; - gpio3 = &pioD; - gpio4 = &pioE; - tcb0 = &tcb0; - tcb1 = &tcb1; - }; - cpus { - cpu@0 { - compatible = "arm,arm926ejs"; - }; - }; - - memory { - reg = <0x70000000 0x10000000>; - }; - - ahb { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - - apb { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - - aic: interrupt-controller@fffff000 { - #interrupt-cells = <2>; - compatible = "atmel,at91rm9200-aic"; - interrupt-controller; - reg = <0xfffff000 0x200>; - }; - - ramc0: ramc@ffffe400 { - compatible = "atmel,at91sam9g45-ddramc"; - reg = <0xffffe400 0x200 - 0xffffe600 0x200>; - }; - - pmc: pmc@fffffc00 { - compatible = "atmel,at91rm9200-pmc"; - reg = <0xfffffc00 0x100>; - }; - - rstc@fffffd00 { - compatible = "atmel,at91sam9g45-rstc"; - reg = <0xfffffd00 0x10>; - }; - - pit: timer@fffffd30 { - compatible = "atmel,at91sam9260-pit"; - reg = <0xfffffd30 0xf>; - interrupts = <1 4>; - }; - - - shdwc@fffffd10 { - compatible = "atmel,at91sam9rl-shdwc"; - reg = <0xfffffd10 0x10>; - }; - - tcb0: timer@fff7c000 { - compatible = "atmel,at91rm9200-tcb"; - reg = <0xfff7c000 0x100>; - interrupts = <18 4>; - }; - - tcb1: timer@fffd4000 { - compatible = "atmel,at91rm9200-tcb"; - reg = <0xfffd4000 0x100>; - interrupts = <18 4>; - }; - - dma: dma-controller@ffffec00 { - compatible = "atmel,at91sam9g45-dma"; - reg = <0xffffec00 0x200>; - interrupts = <21 4>; - }; - - pioA: gpio@fffff200 { - compatible = "atmel,at91rm9200-gpio"; - reg = <0xfffff200 0x100>; - interrupts = <2 4>; - #gpio-cells = <2>; - gpio-controller; - interrupt-controller; - }; - - pioB: gpio@fffff400 { - compatible = "atmel,at91rm9200-gpio"; - reg = <0xfffff400 0x100>; - interrupts = <3 4>; - #gpio-cells = <2>; - gpio-controller; - interrupt-controller; - }; - - pioC: gpio@fffff600 { - compatible = "atmel,at91rm9200-gpio"; - reg = <0xfffff600 0x100>; - interrupts = <4 4>; - #gpio-cells = <2>; - gpio-controller; - interrupt-controller; - }; - - pioD: gpio@fffff800 { - compatible = "atmel,at91rm9200-gpio"; - reg = <0xfffff800 0x100>; - interrupts = <5 4>; - #gpio-cells = <2>; - gpio-controller; - interrupt-controller; - }; - - pioE: gpio@fffffa00 { - compatible = "atmel,at91rm9200-gpio"; - reg = <0xfffffa00 0x100>; - interrupts = <5 4>; - #gpio-cells = <2>; - gpio-controller; - interrupt-controller; - }; - - dbgu: serial@ffffee00 { - compatible = "atmel,at91sam9260-usart"; - reg = <0xffffee00 0x200>; - interrupts = <1 4>; - status = "disabled"; - }; - - usart0: serial@fff8c000 { - compatible = "atmel,at91sam9260-usart"; - reg = <0xfff8c000 0x200>; - interrupts = <7 4>; - atmel,use-dma-rx; - atmel,use-dma-tx; - status = "disabled"; - }; - - usart1: serial@fff90000 { - compatible = "atmel,at91sam9260-usart"; - reg = <0xfff90000 0x200>; - interrupts = <8 4>; - atmel,use-dma-rx; - atmel,use-dma-tx; - status = "disabled"; - }; - - usart2: serial@fff94000 { - compatible = "atmel,at91sam9260-usart"; - reg = <0xfff94000 0x200>; - interrupts = <9 4>; - atmel,use-dma-rx; - atmel,use-dma-tx; - status = "disabled"; - }; - - usart3: serial@fff98000 { - compatible = "atmel,at91sam9260-usart"; - reg = <0xfff98000 0x200>; - interrupts = <10 4>; - atmel,use-dma-rx; - atmel,use-dma-tx; - status = "disabled"; - }; - - macb0: ethernet@fffbc000 { - compatible = "cdns,at32ap7000-macb", "cdns,macb"; - reg = <0xfffbc000 0x100>; - interrupts = <25 4>; - status = "disabled"; - }; - }; - - nand0: nand@40000000 { - compatible = "atmel,at91rm9200-nand"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0x40000000 0x10000000 - 0xffffe200 0x200 - >; - atmel,nand-addr-offset = <21>; - atmel,nand-cmd-offset = <22>; - gpios = <&pioC 8 0 - &pioC 14 0 - 0 - >; - status = "disabled"; - }; - - usb0: ohci@00700000 { - compatible = "atmel,at91rm9200-ohci", "usb-ohci"; - reg = <0x00700000 0x100000>; - interrupts = <22 4>; - status = "disabled"; - }; - - usb1: ehci@00800000 { - compatible = "atmel,at91sam9g45-ehci", "usb-ehci"; - reg = <0x00800000 0x100000>; - interrupts = <22 4>; - status = "disabled"; - }; - }; - - i2c@0 { - compatible = "i2c-gpio"; - gpios = <&pioA 20 0 /* sda */ - &pioA 21 0 /* scl */ - >; - i2c-gpio,sda-open-drain; - i2c-gpio,scl-open-drain; - i2c-gpio,delay-us = <5>; /* ~100 kHz */ - #address-cells = <1>; - #size-cells = <0>; - status = "disabled"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/at91sam9m10g45ek.dts b/kernel/arch/arm/boot/dts/m7300-un-v1/at91sam9m10g45ek.dts deleted file mode 100755 index a3633bd13..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/at91sam9m10g45ek.dts +++ /dev/null @@ -1,156 +0,0 @@ -/* - * at91sam9m10g45ek.dts - Device Tree file for AT91SAM9M10G45-EK board - * - * Copyright (C) 2011 Atmel, - * 2011 Nicolas Ferre - * - * Licensed under GPLv2 or later. - */ -/dts-v1/; -/include/ "at91sam9g45.dtsi" - -/ { - model = "Atmel AT91SAM9M10G45-EK"; - compatible = "atmel,at91sam9m10g45ek", "atmel,at91sam9g45", "atmel,at91sam9"; - - chosen { - bootargs = "mem=64M console=ttyS0,115200 root=/dev/mtdblock1 rw rootfstype=jffs2"; - }; - - memory { - reg = <0x70000000 0x4000000>; - }; - - clocks { - #address-cells = <1>; - #size-cells = <1>; - ranges; - - main_clock: clock@0 { - compatible = "atmel,osc", "fixed-clock"; - clock-frequency = <12000000>; - }; - }; - - ahb { - apb { - dbgu: serial@ffffee00 { - status = "okay"; - }; - - usart1: serial@fff90000 { - status = "okay"; - }; - - macb0: ethernet@fffbc000 { - phy-mode = "rmii"; - status = "okay"; - }; - }; - - nand0: nand@40000000 { - nand-bus-width = <8>; - nand-ecc-mode = "soft"; - nand-on-flash-bbt; - status = "okay"; - - boot@0 { - label = "bootstrap/uboot/kernel"; - reg = <0x0 0x400000>; - }; - - rootfs@400000 { - label = "rootfs"; - reg = <0x400000 0x3C00000>; - }; - - data@4000000 { - label = "data"; - reg = <0x4000000 0xC000000>; - }; - }; - - usb0: ohci@00700000 { - status = "okay"; - num-ports = <2>; - atmel,vbus-gpio = <&pioD 1 1 - &pioD 3 1>; - }; - - usb1: ehci@00800000 { - status = "okay"; - }; - }; - - leds { - compatible = "gpio-leds"; - - d8 { - label = "d8"; - gpios = <&pioD 30 0>; - linux,default-trigger = "heartbeat"; - }; - - d6 { - label = "d6"; - gpios = <&pioD 0 1>; - linux,default-trigger = "nand-disk"; - }; - - d7 { - label = "d7"; - gpios = <&pioD 31 1>; - linux,default-trigger = "mmc0"; - }; - }; - - gpio_keys { - compatible = "gpio-keys"; - #address-cells = <1>; - #size-cells = <0>; - - left_click { - label = "left_click"; - gpios = <&pioB 6 1>; - linux,code = <272>; - gpio-key,wakeup; - }; - - right_click { - label = "right_click"; - gpios = <&pioB 7 1>; - linux,code = <273>; - gpio-key,wakeup; - }; - - left { - label = "Joystick Left"; - gpios = <&pioB 14 1>; - linux,code = <105>; - }; - - right { - label = "Joystick Right"; - gpios = <&pioB 15 1>; - linux,code = <106>; - }; - - up { - label = "Joystick Up"; - gpios = <&pioB 16 1>; - linux,code = <103>; - }; - - down { - label = "Joystick Down"; - gpios = <&pioB 17 1>; - linux,code = <108>; - }; - - enter { - label = "Joystick Press"; - gpios = <&pioB 18 1>; - linux,code = <28>; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/at91sam9x5.dtsi b/kernel/arch/arm/boot/dts/m7300-un-v1/at91sam9x5.dtsi deleted file mode 100755 index dd4ed7484..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/at91sam9x5.dtsi +++ /dev/null @@ -1,263 +0,0 @@ -/* - * at91sam9x5.dtsi - Device Tree Include file for AT91SAM9x5 family SoC - * applies to AT91SAM9G15, AT91SAM9G25, AT91SAM9G35, - * AT91SAM9X25, AT91SAM9X35 SoC - * - * Copyright (C) 2012 Atmel, - * 2012 Nicolas Ferre - * - * Licensed under GPLv2 or later. - */ - -/include/ "skeleton.dtsi" - -/ { - model = "Atmel AT91SAM9x5 family SoC"; - compatible = "atmel,at91sam9x5"; - interrupt-parent = <&aic>; - - aliases { - serial0 = &dbgu; - serial1 = &usart0; - serial2 = &usart1; - serial3 = &usart2; - gpio0 = &pioA; - gpio1 = &pioB; - gpio2 = &pioC; - gpio3 = &pioD; - tcb0 = &tcb0; - tcb1 = &tcb1; - }; - cpus { - cpu@0 { - compatible = "arm,arm926ejs"; - }; - }; - - memory { - reg = <0x20000000 0x10000000>; - }; - - ahb { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - - apb { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - - aic: interrupt-controller@fffff000 { - #interrupt-cells = <2>; - compatible = "atmel,at91rm9200-aic"; - interrupt-controller; - reg = <0xfffff000 0x200>; - }; - - ramc0: ramc@ffffe800 { - compatible = "atmel,at91sam9g45-ddramc"; - reg = <0xffffe800 0x200>; - }; - - pmc: pmc@fffffc00 { - compatible = "atmel,at91rm9200-pmc"; - reg = <0xfffffc00 0x100>; - }; - - rstc@fffffe00 { - compatible = "atmel,at91sam9g45-rstc"; - reg = <0xfffffe00 0x10>; - }; - - shdwc@fffffe10 { - compatible = "atmel,at91sam9x5-shdwc"; - reg = <0xfffffe10 0x10>; - }; - - pit: timer@fffffe30 { - compatible = "atmel,at91sam9260-pit"; - reg = <0xfffffe30 0xf>; - interrupts = <1 4>; - }; - - tcb0: timer@f8008000 { - compatible = "atmel,at91sam9x5-tcb"; - reg = <0xf8008000 0x100>; - interrupts = <17 4>; - }; - - tcb1: timer@f800c000 { - compatible = "atmel,at91sam9x5-tcb"; - reg = <0xf800c000 0x100>; - interrupts = <17 4>; - }; - - dma0: dma-controller@ffffec00 { - compatible = "atmel,at91sam9g45-dma"; - reg = <0xffffec00 0x200>; - interrupts = <20 4>; - }; - - dma1: dma-controller@ffffee00 { - compatible = "atmel,at91sam9g45-dma"; - reg = <0xffffee00 0x200>; - interrupts = <21 4>; - }; - - pioA: gpio@fffff400 { - compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio"; - reg = <0xfffff400 0x100>; - interrupts = <2 4>; - #gpio-cells = <2>; - gpio-controller; - interrupt-controller; - }; - - pioB: gpio@fffff600 { - compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio"; - reg = <0xfffff600 0x100>; - interrupts = <2 4>; - #gpio-cells = <2>; - gpio-controller; - interrupt-controller; - }; - - pioC: gpio@fffff800 { - compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio"; - reg = <0xfffff800 0x100>; - interrupts = <3 4>; - #gpio-cells = <2>; - gpio-controller; - interrupt-controller; - }; - - pioD: gpio@fffffa00 { - compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio"; - reg = <0xfffffa00 0x100>; - interrupts = <3 4>; - #gpio-cells = <2>; - gpio-controller; - interrupt-controller; - }; - - dbgu: serial@fffff200 { - compatible = "atmel,at91sam9260-usart"; - reg = <0xfffff200 0x200>; - interrupts = <1 4>; - status = "disabled"; - }; - - usart0: serial@f801c000 { - compatible = "atmel,at91sam9260-usart"; - reg = <0xf801c000 0x200>; - interrupts = <5 4>; - atmel,use-dma-rx; - atmel,use-dma-tx; - status = "disabled"; - }; - - usart1: serial@f8020000 { - compatible = "atmel,at91sam9260-usart"; - reg = <0xf8020000 0x200>; - interrupts = <6 4>; - atmel,use-dma-rx; - atmel,use-dma-tx; - status = "disabled"; - }; - - usart2: serial@f8024000 { - compatible = "atmel,at91sam9260-usart"; - reg = <0xf8024000 0x200>; - interrupts = <7 4>; - atmel,use-dma-rx; - atmel,use-dma-tx; - status = "disabled"; - }; - - macb0: ethernet@f802c000 { - compatible = "cdns,at32ap7000-macb", "cdns,macb"; - reg = <0xf802c000 0x100>; - interrupts = <24 4>; - status = "disabled"; - }; - - macb1: ethernet@f8030000 { - compatible = "cdns,at32ap7000-macb", "cdns,macb"; - reg = <0xf8030000 0x100>; - interrupts = <27 4>; - status = "disabled"; - }; - }; - - nand0: nand@40000000 { - compatible = "atmel,at91rm9200-nand"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0x40000000 0x10000000 - >; - atmel,nand-addr-offset = <21>; - atmel,nand-cmd-offset = <22>; - gpios = <&pioD 5 0 - &pioD 4 0 - 0 - >; - status = "disabled"; - }; - - usb0: ohci@00600000 { - compatible = "atmel,at91rm9200-ohci", "usb-ohci"; - reg = <0x00600000 0x100000>; - interrupts = <22 4>; - status = "disabled"; - }; - - usb1: ehci@00700000 { - compatible = "atmel,at91sam9g45-ehci", "usb-ehci"; - reg = <0x00700000 0x100000>; - interrupts = <22 4>; - status = "disabled"; - }; - }; - - i2c@0 { - compatible = "i2c-gpio"; - gpios = <&pioA 30 0 /* sda */ - &pioA 31 0 /* scl */ - >; - i2c-gpio,sda-open-drain; - i2c-gpio,scl-open-drain; - i2c-gpio,delay-us = <2>; /* ~100 kHz */ - #address-cells = <1>; - #size-cells = <0>; - status = "disabled"; - }; - - i2c@1 { - compatible = "i2c-gpio"; - gpios = <&pioC 0 0 /* sda */ - &pioC 1 0 /* scl */ - >; - i2c-gpio,sda-open-drain; - i2c-gpio,scl-open-drain; - i2c-gpio,delay-us = <2>; /* ~100 kHz */ - #address-cells = <1>; - #size-cells = <0>; - status = "disabled"; - }; - - i2c@2 { - compatible = "i2c-gpio"; - gpios = <&pioB 4 0 /* sda */ - &pioB 5 0 /* scl */ - >; - i2c-gpio,sda-open-drain; - i2c-gpio,scl-open-drain; - i2c-gpio,delay-us = <2>; /* ~100 kHz */ - #address-cells = <1>; - #size-cells = <0>; - status = "disabled"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/at91sam9x5cm.dtsi b/kernel/arch/arm/boot/dts/m7300-un-v1/at91sam9x5cm.dtsi deleted file mode 100755 index 31e7be237..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/at91sam9x5cm.dtsi +++ /dev/null @@ -1,74 +0,0 @@ -/* - * at91sam9x5cm.dtsi - Device Tree Include file for AT91SAM9x5 CPU Module - * - * Copyright (C) 2012 Atmel, - * 2012 Nicolas Ferre - * - * Licensed under GPLv2 or later. - */ - -/ { - memory { - reg = <0x20000000 0x8000000>; - }; - - clocks { - #address-cells = <1>; - #size-cells = <1>; - ranges; - - main_clock: clock@0 { - compatible = "atmel,osc", "fixed-clock"; - clock-frequency = <12000000>; - }; - }; - - ahb { - nand0: nand@40000000 { - nand-bus-width = <8>; - nand-ecc-mode = "soft"; - nand-on-flash-bbt; - status = "okay"; - - at91bootstrap@0 { - label = "at91bootstrap"; - reg = <0x0 0x40000>; - }; - - uboot@40000 { - label = "u-boot"; - reg = <0x40000 0x80000>; - }; - - ubootenv@c0000 { - label = "U-Boot Env"; - reg = <0xc0000 0x140000>; - }; - - kernel@200000 { - label = "kernel"; - reg = <0x200000 0x600000>; - }; - - rootfs@800000 { - label = "rootfs"; - reg = <0x800000 0x1f800000>; - }; - }; - }; - - leds { - compatible = "gpio-leds"; - - pb18 { - label = "pb18"; - gpios = <&pioB 18 1>; - linux,default-trigger = "heartbeat"; - }; - - pd21 { - label = "pd21"; - gpios = <&pioD 21 0>; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/db8500.dtsi b/kernel/arch/arm/boot/dts/m7300-un-v1/db8500.dtsi deleted file mode 100755 index 14bc30705..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/db8500.dtsi +++ /dev/null @@ -1,274 +0,0 @@ -/* - * Copyright 2012 Linaro Ltd - * - * The code contained herein is licensed under the GNU General Public - * License. You may obtain a copy of the GNU General Public License - * Version 2 or later at the following locations: - * - * http://www.opensource.org/licenses/gpl-license.html - * http://www.gnu.org/copyleft/gpl.html - */ - -/include/ "skeleton.dtsi" - -/ { - soc-u9500 { - #address-cells = <1>; - #size-cells = <1>; - compatible = "stericsson,db8500"; - interrupt-parent = <&intc>; - ranges; - - intc: interrupt-controller@a0411000 { - compatible = "arm,cortex-a9-gic"; - #interrupt-cells = <3>; - #address-cells = <1>; - interrupt-controller; - reg = <0xa0411000 0x1000>, - <0xa0410100 0x100>; - }; - - L2: l2-cache { - compatible = "arm,pl310-cache"; - reg = <0xa0412000 0x1000>; - interrupts = <0 13 4>; - cache-unified; - cache-level = <2>; - }; - - pmu { - compatible = "arm,cortex-a9-pmu"; - interrupts = <0 7 0x4>; - }; - - timer@a0410600 { - compatible = "arm,cortex-a9-twd-timer"; - reg = <0xa0410600 0x20>; - interrupts = <1 13 0x304>; - }; - - rtc@80154000 { - compatible = "stericsson,db8500-rtc"; - reg = <0x80154000 0x1000>; - interrupts = <0 18 0x4>; - }; - - gpio0: gpio@8012e000 { - compatible = "stericsson,db8500-gpio", - "stmicroelectronics,nomadik-gpio"; - reg = <0x8012e000 0x80>; - interrupts = <0 119 0x4>; - supports-sleepmode; - gpio-controller; - }; - - gpio1: gpio@8012e080 { - compatible = "stericsson,db8500-gpio", - "stmicroelectronics,nomadik-gpio"; - reg = <0x8012e080 0x80>; - interrupts = <0 120 0x4>; - supports-sleepmode; - gpio-controller; - }; - - gpio2: gpio@8000e000 { - compatible = "stericsson,db8500-gpio", - "stmicroelectronics,nomadik-gpio"; - reg = <0x8000e000 0x80>; - interrupts = <0 121 0x4>; - supports-sleepmode; - gpio-controller; - }; - - gpio3: gpio@8000e080 { - compatible = "stericsson,db8500-gpio", - "stmicroelectronics,nomadik-gpio"; - reg = <0x8000e080 0x80>; - interrupts = <0 122 0x4>; - supports-sleepmode; - gpio-controller; - }; - - gpio4: gpio@8000e100 { - compatible = "stericsson,db8500-gpio", - "stmicroelectronics,nomadik-gpio"; - reg = <0x8000e100 0x80>; - interrupts = <0 123 0x4>; - supports-sleepmode; - gpio-controller; - }; - - gpio5: gpio@8000e180 { - compatible = "stericsson,db8500-gpio", - "stmicroelectronics,nomadik-gpio"; - reg = <0x8000e180 0x80>; - interrupts = <0 124 0x4>; - supports-sleepmode; - gpio-controller; - }; - - gpio6: gpio@8011e000 { - compatible = "stericsson,db8500-gpio", - "stmicroelectronics,nomadik-gpio"; - reg = <0x8011e000 0x80>; - interrupts = <0 125 0x4>; - supports-sleepmode; - gpio-controller; - }; - - gpio7: gpio@8011e080 { - compatible = "stericsson,db8500-gpio", - "stmicroelectronics,nomadik-gpio"; - reg = <0x8011e080 0x80>; - interrupts = <0 126 0x4>; - supports-sleepmode; - gpio-controller; - }; - - gpio8: gpio@a03fe000 { - compatible = "stericsson,db8500-gpio", - "stmicroelectronics,nomadik-gpio"; - reg = <0xa03fe000 0x80>; - interrupts = <0 127 0x4>; - supports-sleepmode; - gpio-controller; - }; - - usb@a03e0000 { - compatible = "stericsson,db8500-musb", - "mentor,musb"; - reg = <0xa03e0000 0x10000>; - interrupts = <0 23 0x4>; - }; - - dma-controller@801C0000 { - compatible = "stericsson,db8500-dma40", - "stericsson,dma40"; - reg = <0x801C0000 0x1000 0x40010000 0x800>; - interrupts = <0 25 0x4>; - }; - - prcmu@80157000 { - compatible = "stericsson,db8500-prcmu"; - reg = <0x80157000 0x1000>; - interrupts = <46 47>; - #address-cells = <1>; - #size-cells = <0>; - - ab8500@5 { - compatible = "stericsson,ab8500"; - reg = <5>; /* mailbox 5 is i2c */ - interrupts = <0 40 0x4>; - }; - }; - - i2c@80004000 { - compatible = "stericsson,db8500-i2c", "stmicroelectronics,nomadik-i2c"; - reg = <0x80004000 0x1000>; - interrupts = <0 21 0x4>; - #address-cells = <1>; - #size-cells = <0>; - }; - - i2c@80122000 { - compatible = "stericsson,db8500-i2c", "stmicroelectronics,nomadik-i2c"; - reg = <0x80122000 0x1000>; - interrupts = <0 22 0x4>; - #address-cells = <1>; - #size-cells = <0>; - }; - - i2c@80128000 { - compatible = "stericsson,db8500-i2c", "stmicroelectronics,nomadik-i2c"; - reg = <0x80128000 0x1000>; - interrupts = <0 55 0x4>; - #address-cells = <1>; - #size-cells = <0>; - }; - - i2c@80110000 { - compatible = "stericsson,db8500-i2c", "stmicroelectronics,nomadik-i2c"; - reg = <0x80110000 0x1000>; - interrupts = <0 12 0x4>; - #address-cells = <1>; - #size-cells = <0>; - }; - - i2c@8012a000 { - compatible = "stericsson,db8500-i2c", "stmicroelectronics,nomadik-i2c"; - reg = <0x8012a000 0x1000>; - interrupts = <0 51 0x4>; - #address-cells = <1>; - #size-cells = <0>; - }; - - ssp@80002000 { - compatible = "arm,pl022", "arm,primecell"; - reg = <80002000 0x1000>; - interrupts = <0 14 0x4>; - #address-cells = <1>; - #size-cells = <0>; - status = "disabled"; - - // Add one of these for each child device - cs-gpios = <&gpio0 31 &gpio4 14 &gpio4 16 &gpio6 22 &gpio7 0>; - - }; - - uart@80120000 { - compatible = "arm,pl011", "arm,primecell"; - reg = <0x80120000 0x1000>; - interrupts = <0 11 0x4>; - status = "disabled"; - }; - uart@80121000 { - compatible = "arm,pl011", "arm,primecell"; - reg = <0x80121000 0x1000>; - interrupts = <0 19 0x4>; - status = "disabled"; - }; - uart@80007000 { - compatible = "arm,pl011", "arm,primecell"; - reg = <0x80007000 0x1000>; - interrupts = <0 26 0x4>; - status = "disabled"; - }; - - sdi@80126000 { - compatible = "arm,pl18x", "arm,primecell"; - reg = <0x80126000 0x1000>; - interrupts = <0 60 0x4>; - status = "disabled"; - }; - sdi@80118000 { - compatible = "arm,pl18x", "arm,primecell"; - reg = <0x80118000 0x1000>; - interrupts = <0 50 0x4>; - status = "disabled"; - }; - sdi@80005000 { - compatible = "arm,pl18x", "arm,primecell"; - reg = <0x80005000 0x1000>; - interrupts = <0 41 0x4>; - status = "disabled"; - }; - sdi@80119000 { - compatible = "arm,pl18x", "arm,primecell"; - reg = <0x80119000 0x1000>; - interrupts = <0 59 0x4>; - status = "disabled"; - }; - sdi@80114000 { - compatible = "arm,pl18x", "arm,primecell"; - reg = <0x80114000 0x1000>; - interrupts = <0 99 0x4>; - status = "disabled"; - }; - sdi@80008000 { - compatible = "arm,pl18x", "arm,primecell"; - reg = <0x80114000 0x1000>; - interrupts = <0 100 0x4>; - status = "disabled"; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/dsi-panel-nt35590-720p-cmd.dtsi b/kernel/arch/arm/boot/dts/m7300-un-v1/dsi-panel-nt35590-720p-cmd.dtsi deleted file mode 100755 index 7942567cc..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/dsi-panel-nt35590-720p-cmd.dtsi +++ /dev/null @@ -1,530 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/ { - qcom,mdss_dsi_nt35590_720p_cmd { - compatible = "qcom,mdss-dsi-panel"; - label = "nt35590 720p command mode dsi panel"; - status = "disable"; - qcom,dsi-ctrl-phandle = <&mdss_dsi0>; - qcom,rst-gpio = <&msmgpio 25 0>; - qcom,te-gpio = <&msmgpio 24 0>; - qcom,mdss-pan-res = <720 1280>; - qcom,mdss-pan-bpp = <24>; - qcom,mdss-pan-dest = "display_1"; - qcom,mdss-pan-porch-values = <164 8 140 1 1 6>; - qcom,mdss-pan-underflow-clr = <0xff>; - qcom,mdss-pan-bl-ctrl = "bl_ctrl_wled"; - qcom,mdss-pan-bl-levels = <1 4095>; - qcom,mdss-pan-dsi-mode = <1>; - qcom,mdss-vsync-enable = <1>; - qcom,mdss-hw-vsync-mode = <1>; - qcom,mdss-pan-dsi-h-pulse-mode = <1>; - qcom,mdss-pan-dsi-h-power-stop = <0 0 0>; - qcom,mdss-pan-dsi-bllp-power-stop = <1 1>; - qcom,mdss-pan-dsi-traffic-mode = <2>; - qcom,mdss-pan-dsi-dst-format = <8>; - qcom,mdss-pan-insert-dcs-cmd = <1>; - qcom,mdss-pan-wr-mem-continue = <0x3c>; - qcom,mdss-pan-wr-mem-start = <0x2c>; - qcom,mdss-pan-te-sel = <1>; - qcom,mdss-pan-dsi-vc = <0>; - qcom,mdss-pan-dsi-rgb-swap = <0>; - qcom,mdss-pan-dsi-data-lanes = <1 1 1 1>; /* 4 lanes */ - qcom,mdss-pan-dsi-dlane-swap = <0>; - qcom,mdss-pan-dsi-t-clk = <0x2c 0x20>; - qcom,mdss-pan-dsi-stream = <0>; - qcom,mdss-pan-dsi-mdp-tr = <0x0>; - qcom,mdss-pan-dsi-dma-tr = <0x04>; - qcom,mdss-pan-dsi-frame-rate = <60>; - qcom,panel-phy-regulatorSettings = [07 09 03 00 /* Regualotor settings */ - 20 00 01]; - qcom,panel-phy-timingSettings = [7d 25 1d 00 37 33 - 22 27 1e 03 04 00]; - qcom,panel-phy-strengthCtrl = [ff 06]; - qcom,panel-phy-bistCtrl = [00 00 b1 ff /* BIST Ctrl settings */ - 00 00]; - qcom,panel-phy-laneConfig = [00 00 00 00 00 00 00 01 97 /* lane0 config */ - 00 00 00 00 05 00 00 01 97 /* lane1 config */ - 00 00 00 00 0a 00 00 01 97 /* lane2 config */ - 00 00 00 00 0f 00 00 01 97 /* lane3 config */ - 00 c0 00 00 00 00 00 01 bb]; /* Clk ln config */ - qcom,panel-on-cmds = [29 01 00 00 00 02 FF EE - 29 01 00 00 00 02 26 08 - 29 01 00 00 00 02 26 00 - 29 01 00 00 10 02 FF 00 - 29 01 00 00 00 02 BA 03 - 29 01 00 00 00 02 C2 08 - 29 01 00 00 00 02 FF 01 - 29 01 00 00 00 02 FB 01 - 29 01 00 00 00 02 00 4A - 29 01 00 00 00 02 01 33 - 29 01 00 00 00 02 02 53 - 29 01 00 00 00 02 03 55 - 29 01 00 00 00 02 04 55 - 29 01 00 00 00 02 05 33 - 29 01 00 00 00 02 06 22 - 29 01 00 00 00 02 08 56 - 29 01 00 00 00 02 09 8F - 29 01 00 00 00 02 36 73 - 29 01 00 00 00 02 0B 9F - 29 01 00 00 00 02 0C 9F - 29 01 00 00 00 02 0D 2F - 29 01 00 00 00 02 0E 24 - 29 01 00 00 00 02 11 83 - 29 01 00 00 00 02 12 03 - 29 01 00 00 00 02 71 2C - 29 01 00 00 00 02 6F 03 - 29 01 00 00 00 02 0F 0A - 29 01 00 00 00 02 FF 05 - 29 01 00 00 00 02 FB 01 - 29 01 00 00 00 02 01 00 - 29 01 00 00 00 02 02 8B - 29 01 00 00 00 02 03 82 - 29 01 00 00 00 02 04 82 - 29 01 00 00 00 02 05 30 - 29 01 00 00 00 02 06 33 - 29 01 00 00 00 02 07 01 - 29 01 00 00 00 02 08 00 - 29 01 00 00 00 02 09 46 - 29 01 00 00 00 02 0A 46 - 29 01 00 00 00 02 0D 0B - 29 01 00 00 00 02 0E 1D - 29 01 00 00 00 02 0F 08 - 29 01 00 00 00 02 10 53 - 29 01 00 00 00 02 11 00 - 29 01 00 00 00 02 12 00 - 29 01 00 00 00 02 14 01 - 29 01 00 00 00 02 15 00 - 29 01 00 00 00 02 16 05 - 29 01 00 00 00 02 17 00 - 29 01 00 00 00 02 19 7F - 29 01 00 00 00 02 1A FF - 29 01 00 00 00 02 1B 0F - 29 01 00 00 00 02 1C 00 - 29 01 00 00 00 02 1D 00 - 29 01 00 00 00 02 1E 00 - 29 01 00 00 00 02 1F 07 - 29 01 00 00 00 02 20 00 - 29 01 00 00 00 02 21 06 - 29 01 00 00 00 02 22 55 - 29 01 00 00 00 02 23 4D - 29 01 00 00 00 02 2D 02 - 29 01 00 00 00 02 28 01 - 29 01 00 00 00 02 2F 02 - 29 01 00 00 00 02 83 01 - 29 01 00 00 00 02 9E 58 - 29 01 00 00 00 02 9F 6A - 29 01 00 00 00 02 A0 01 - 29 01 00 00 00 02 A2 10 - 29 01 00 00 00 02 BB 0A - 29 01 00 00 00 02 BC 0A - 29 01 00 00 00 02 32 08 - 29 01 00 00 00 02 33 B8 - 29 01 00 00 00 02 36 01 - 29 01 00 00 00 02 37 00 - 29 01 00 00 00 02 43 00 - 29 01 00 00 00 02 4B 21 - 29 01 00 00 00 02 4C 03 - 29 01 00 00 00 02 50 21 - 29 01 00 00 00 02 51 03 - 29 01 00 00 00 02 58 21 - 29 01 00 00 00 02 59 03 - 29 01 00 00 00 02 5D 21 - 29 01 00 00 00 02 5E 03 - 29 01 00 00 00 02 6C 00 - 29 01 00 00 00 02 6D 00 - 29 01 00 00 00 02 FB 01 - 29 01 00 00 00 02 FF 01 - 29 01 00 00 00 02 FB 01 - 29 01 00 00 00 02 75 00 - 29 01 00 00 00 02 76 7D - 29 01 00 00 00 02 77 00 - 29 01 00 00 00 02 78 8A - 29 01 00 00 00 02 79 00 - 29 01 00 00 00 02 7A 9C - 29 01 00 00 00 02 7B 00 - 29 01 00 00 00 02 7C B1 - 29 01 00 00 00 02 7D 00 - 29 01 00 00 00 02 7E BF - 29 01 00 00 00 02 7F 00 - 29 01 00 00 00 02 80 CF - 29 01 00 00 00 02 81 00 - 29 01 00 00 00 02 82 DD - 29 01 00 00 00 02 83 00 - 29 01 00 00 00 02 84 E8 - 29 01 00 00 00 02 85 00 - 29 01 00 00 00 02 86 F2 - 29 01 00 00 00 02 87 01 - 29 01 00 00 00 02 88 1F - 29 01 00 00 00 02 89 01 - 29 01 00 00 00 02 8A 41 - 29 01 00 00 00 02 8B 01 - 29 01 00 00 00 02 8C 78 - 29 01 00 00 00 02 8D 01 - 29 01 00 00 00 02 8E A5 - 29 01 00 00 00 02 8F 01 - 29 01 00 00 00 02 90 EE - 29 01 00 00 00 02 91 02 - 29 01 00 00 00 02 92 29 - 29 01 00 00 00 02 93 02 - 29 01 00 00 00 02 94 2A - 29 01 00 00 00 02 95 02 - 29 01 00 00 00 02 96 5D - 29 01 00 00 00 02 97 02 - 29 01 00 00 00 02 98 93 - 29 01 00 00 00 02 99 02 - 29 01 00 00 00 02 9A B8 - 29 01 00 00 00 02 9B 02 - 29 01 00 00 00 02 9C E7 - 29 01 00 00 00 02 9D 03 - 29 01 00 00 00 02 9E 07 - 29 01 00 00 00 02 9F 03 - 29 01 00 00 00 02 A0 37 - 29 01 00 00 00 02 A2 03 - 29 01 00 00 00 02 A3 46 - 29 01 00 00 00 02 A4 03 - 29 01 00 00 00 02 A5 56 - 29 01 00 00 00 02 A6 03 - 29 01 00 00 00 02 A7 66 - 29 01 00 00 00 02 A9 03 - 29 01 00 00 00 02 AA 7A - 29 01 00 00 00 02 AB 03 - 29 01 00 00 00 02 AC 93 - 29 01 00 00 00 02 AD 03 - 29 01 00 00 00 02 AE A3 - 29 01 00 00 00 02 AF 03 - 29 01 00 00 00 02 B0 B4 - 29 01 00 00 00 02 B1 03 - 29 01 00 00 00 02 B2 CB - 29 01 00 00 00 02 B3 00 - 29 01 00 00 00 02 B4 7D - 29 01 00 00 00 02 B5 00 - 29 01 00 00 00 02 B6 8A - 29 01 00 00 00 02 B7 00 - 29 01 00 00 00 02 B8 9C - 29 01 00 00 00 02 B9 00 - 29 01 00 00 00 02 BA B1 - 29 01 00 00 00 02 BB 00 - 29 01 00 00 00 02 BC BF - 29 01 00 00 00 02 BD 00 - 29 01 00 00 00 02 BE CF - 29 01 00 00 00 02 BF 00 - 29 01 00 00 00 02 C0 DD - 29 01 00 00 00 02 C1 00 - 29 01 00 00 00 02 C2 E8 - 29 01 00 00 00 02 C3 00 - 29 01 00 00 00 02 C4 F2 - 29 01 00 00 00 02 C5 01 - 29 01 00 00 00 02 C6 1F - 29 01 00 00 00 02 C7 01 - 29 01 00 00 00 02 C8 41 - 29 01 00 00 00 02 C9 01 - 29 01 00 00 00 02 CA 78 - 29 01 00 00 00 02 CB 01 - 29 01 00 00 00 02 CC A5 - 29 01 00 00 00 02 CD 01 - 29 01 00 00 00 02 CE EE - 29 01 00 00 00 02 CF 02 - 29 01 00 00 00 02 D0 29 - 29 01 00 00 00 02 D1 02 - 29 01 00 00 00 02 D2 2A - 29 01 00 00 00 02 D3 02 - 29 01 00 00 00 02 D4 5D - 29 01 00 00 00 02 D5 02 - 29 01 00 00 00 02 D6 93 - 29 01 00 00 00 02 D7 02 - 29 01 00 00 00 02 D8 B8 - 29 01 00 00 00 02 D9 02 - 29 01 00 00 00 02 DA E7 - 29 01 00 00 00 02 DB 03 - 29 01 00 00 00 02 DC 07 - 29 01 00 00 00 02 DD 03 - 29 01 00 00 00 02 DE 37 - 29 01 00 00 00 02 DF 03 - 29 01 00 00 00 02 E0 46 - 29 01 00 00 00 02 E1 03 - 29 01 00 00 00 02 E2 56 - 29 01 00 00 00 02 E3 03 - 29 01 00 00 00 02 E4 66 - 29 01 00 00 00 02 E5 03 - 29 01 00 00 00 02 E6 7A - 29 01 00 00 00 02 E7 03 - 29 01 00 00 00 02 E8 93 - 29 01 00 00 00 02 E9 03 - 29 01 00 00 00 02 EA A3 - 29 01 00 00 00 02 EB 03 - 29 01 00 00 00 02 EC B4 - 29 01 00 00 00 02 ED 03 - 29 01 00 00 00 02 EE CB - 29 01 00 00 00 02 EF 00 - 29 01 00 00 00 02 F0 ED - 29 01 00 00 00 02 F1 00 - 29 01 00 00 00 02 F2 F3 - 29 01 00 00 00 02 F3 00 - 29 01 00 00 00 02 F4 FE - 29 01 00 00 00 02 F5 01 - 29 01 00 00 00 02 F6 09 - 29 01 00 00 00 02 F7 01 - 29 01 00 00 00 02 F8 13 - 29 01 00 00 00 02 F9 01 - 29 01 00 00 00 02 FA 1D - 29 01 00 00 00 02 FF 02 - 29 01 00 00 00 02 FB 01 - 29 01 00 00 00 02 00 01 - 29 01 00 00 00 02 01 26 - 29 01 00 00 00 02 02 01 - 29 01 00 00 00 02 03 2F - 29 01 00 00 00 02 04 01 - 29 01 00 00 00 02 05 37 - 29 01 00 00 00 02 06 01 - 29 01 00 00 00 02 07 56 - 29 01 00 00 00 02 08 01 - 29 01 00 00 00 02 09 70 - 29 01 00 00 00 02 0A 01 - 29 01 00 00 00 02 0B 9D - 29 01 00 00 00 02 0C 01 - 29 01 00 00 00 02 0D C2 - 29 01 00 00 00 02 0E 01 - 29 01 00 00 00 02 0F FF - 29 01 00 00 00 02 10 02 - 29 01 00 00 00 02 11 31 - 29 01 00 00 00 02 12 02 - 29 01 00 00 00 02 13 32 - 29 01 00 00 00 02 14 02 - 29 01 00 00 00 02 15 60 - 29 01 00 00 00 02 16 02 - 29 01 00 00 00 02 17 94 - 29 01 00 00 00 02 18 02 - 29 01 00 00 00 02 19 B5 - 29 01 00 00 00 02 1A 02 - 29 01 00 00 00 02 1B E3 - 29 01 00 00 00 02 1C 03 - 29 01 00 00 00 02 1D 03 - 29 01 00 00 00 02 1E 03 - 29 01 00 00 00 02 1F 2D - 29 01 00 00 00 02 20 03 - 29 01 00 00 00 02 21 3A - 29 01 00 00 00 02 22 03 - 29 01 00 00 00 02 23 48 - 29 01 00 00 00 02 24 03 - 29 01 00 00 00 02 25 57 - 29 01 00 00 00 02 26 03 - 29 01 00 00 00 02 27 68 - 29 01 00 00 00 02 28 03 - 29 01 00 00 00 02 29 7B - 29 01 00 00 00 02 2A 03 - 29 01 00 00 00 02 2B 90 - 29 01 00 00 00 02 2D 03 - 29 01 00 00 00 02 2F A0 - 29 01 00 00 00 02 30 03 - 29 01 00 00 00 02 31 CB - 29 01 00 00 00 02 32 00 - 29 01 00 00 00 02 33 ED - 29 01 00 00 00 02 34 00 - 29 01 00 00 00 02 35 F3 - 29 01 00 00 00 02 36 00 - 29 01 00 00 00 02 37 FE - 29 01 00 00 00 02 38 01 - 29 01 00 00 00 02 39 09 - 29 01 00 00 00 02 3A 01 - 29 01 00 00 00 02 3B 13 - 29 01 00 00 00 02 3D 01 - 29 01 00 00 00 02 3F 1D - 29 01 00 00 00 02 40 01 - 29 01 00 00 00 02 41 26 - 29 01 00 00 00 02 42 01 - 29 01 00 00 00 02 43 2F - 29 01 00 00 00 02 44 01 - 29 01 00 00 00 02 45 37 - 29 01 00 00 00 02 46 01 - 29 01 00 00 00 02 47 56 - 29 01 00 00 00 02 48 01 - 29 01 00 00 00 02 49 70 - 29 01 00 00 00 02 4A 01 - 29 01 00 00 00 02 4B 9D - 29 01 00 00 00 02 4C 01 - 29 01 00 00 00 02 4D C2 - 29 01 00 00 00 02 4E 01 - 29 01 00 00 00 02 4F FF - 29 01 00 00 00 02 50 02 - 29 01 00 00 00 02 51 31 - 29 01 00 00 00 02 52 02 - 29 01 00 00 00 02 53 32 - 29 01 00 00 00 02 54 02 - 29 01 00 00 00 02 55 60 - 29 01 00 00 00 02 56 02 - 29 01 00 00 00 02 58 94 - 29 01 00 00 00 02 59 02 - 29 01 00 00 00 02 5A B5 - 29 01 00 00 00 02 5B 02 - 29 01 00 00 00 02 5C E3 - 29 01 00 00 00 02 5D 03 - 29 01 00 00 00 02 5E 03 - 29 01 00 00 00 02 5F 03 - 29 01 00 00 00 02 60 2D - 29 01 00 00 00 02 61 03 - 29 01 00 00 00 02 62 3A - 29 01 00 00 00 02 63 03 - 29 01 00 00 00 02 64 48 - 29 01 00 00 00 02 65 03 - 29 01 00 00 00 02 66 57 - 29 01 00 00 00 02 67 03 - 29 01 00 00 00 02 68 68 - 29 01 00 00 00 02 69 03 - 29 01 00 00 00 02 6A 7B - 29 01 00 00 00 02 6B 03 - 29 01 00 00 00 02 6C 90 - 29 01 00 00 00 02 6D 03 - 29 01 00 00 00 02 6E A0 - 29 01 00 00 00 02 6F 03 - 29 01 00 00 00 02 70 CB - 29 01 00 00 00 02 71 00 - 29 01 00 00 00 02 72 19 - 29 01 00 00 00 02 73 00 - 29 01 00 00 00 02 74 36 - 29 01 00 00 00 02 75 00 - 29 01 00 00 00 02 76 55 - 29 01 00 00 00 02 77 00 - 29 01 00 00 00 02 78 70 - 29 01 00 00 00 02 79 00 - 29 01 00 00 00 02 7A 83 - 29 01 00 00 00 02 7B 00 - 29 01 00 00 00 02 7C 99 - 29 01 00 00 00 02 7D 00 - 29 01 00 00 00 02 7E A8 - 29 01 00 00 00 02 7F 00 - 29 01 00 00 00 02 80 B7 - 29 01 00 00 00 02 81 00 - 29 01 00 00 00 02 82 C5 - 29 01 00 00 00 02 83 00 - 29 01 00 00 00 02 84 F7 - 29 01 00 00 00 02 85 01 - 29 01 00 00 00 02 86 1E - 29 01 00 00 00 02 87 01 - 29 01 00 00 00 02 88 60 - 29 01 00 00 00 02 89 01 - 29 01 00 00 00 02 8A 95 - 29 01 00 00 00 02 8B 01 - 29 01 00 00 00 02 8C E1 - 29 01 00 00 00 02 8D 02 - 29 01 00 00 00 02 8E 20 - 29 01 00 00 00 02 8F 02 - 29 01 00 00 00 02 90 23 - 29 01 00 00 00 02 91 02 - 29 01 00 00 00 02 92 59 - 29 01 00 00 00 02 93 02 - 29 01 00 00 00 02 94 94 - 29 01 00 00 00 02 95 02 - 29 01 00 00 00 02 96 B4 - 29 01 00 00 00 02 97 02 - 29 01 00 00 00 02 98 E1 - 29 01 00 00 00 02 99 03 - 29 01 00 00 00 02 9A 01 - 29 01 00 00 00 02 9B 03 - 29 01 00 00 00 02 9C 28 - 29 01 00 00 00 02 9D 03 - 29 01 00 00 00 02 9E 30 - 29 01 00 00 00 02 9F 03 - 29 01 00 00 00 02 A0 37 - 29 01 00 00 00 02 A2 03 - 29 01 00 00 00 02 A3 3B - 29 01 00 00 00 02 A4 03 - 29 01 00 00 00 02 A5 40 - 29 01 00 00 00 02 A6 03 - 29 01 00 00 00 02 A7 50 - 29 01 00 00 00 02 A9 03 - 29 01 00 00 00 02 AA 6D - 29 01 00 00 00 02 AB 03 - 29 01 00 00 00 02 AC 80 - 29 01 00 00 00 02 AD 03 - 29 01 00 00 00 02 AE CB - 29 01 00 00 00 02 AF 00 - 29 01 00 00 00 02 B0 19 - 29 01 00 00 00 02 B1 00 - 29 01 00 00 00 02 B2 36 - 29 01 00 00 00 02 B3 00 - 29 01 00 00 00 02 B4 55 - 29 01 00 00 00 02 B5 00 - 29 01 00 00 00 02 B6 70 - 29 01 00 00 00 02 B7 00 - 29 01 00 00 00 02 B8 83 - 29 01 00 00 00 02 B9 00 - 29 01 00 00 00 02 BA 99 - 29 01 00 00 00 02 BB 00 - 29 01 00 00 00 02 BC A8 - 29 01 00 00 00 02 BD 00 - 29 01 00 00 00 02 BE B7 - 29 01 00 00 00 02 BF 00 - 29 01 00 00 00 02 C0 C5 - 29 01 00 00 00 02 C1 00 - 29 01 00 00 00 02 C2 F7 - 29 01 00 00 00 02 C3 01 - 29 01 00 00 00 02 C4 1E - 29 01 00 00 00 02 C5 01 - 29 01 00 00 00 02 C6 60 - 29 01 00 00 00 02 C7 01 - 29 01 00 00 00 02 C8 95 - 29 01 00 00 00 02 C9 01 - 29 01 00 00 00 02 CA E1 - 29 01 00 00 00 02 CB 02 - 29 01 00 00 00 02 CC 20 - 29 01 00 00 00 02 CD 02 - 29 01 00 00 00 02 CE 23 - 29 01 00 00 00 02 CF 02 - 29 01 00 00 00 02 D0 59 - 29 01 00 00 00 02 D1 02 - 29 01 00 00 00 02 D2 94 - 29 01 00 00 00 02 D3 02 - 29 01 00 00 00 02 D4 B4 - 29 01 00 00 00 02 D5 02 - 29 01 00 00 00 02 D6 E1 - 29 01 00 00 00 02 D7 03 - 29 01 00 00 00 02 D8 01 - 29 01 00 00 00 02 D9 03 - 29 01 00 00 00 02 DA 28 - 29 01 00 00 00 02 DB 03 - 29 01 00 00 00 02 DC 30 - 29 01 00 00 00 02 DD 03 - 29 01 00 00 00 02 DE 37 - 29 01 00 00 00 02 DF 03 - 29 01 00 00 00 02 E0 3B - 29 01 00 00 00 02 E1 03 - 29 01 00 00 00 02 E2 40 - 29 01 00 00 00 02 E3 03 - 29 01 00 00 00 02 E4 50 - 29 01 00 00 00 02 E5 03 - 29 01 00 00 00 02 E6 6D - 29 01 00 00 00 02 E7 03 - 29 01 00 00 00 02 E8 80 - 29 01 00 00 00 02 E9 03 - 29 01 00 00 00 02 EA CB - 29 01 00 00 00 02 FF 01 - 29 01 00 00 00 02 FB 01 - 29 01 00 00 00 02 FF 02 - 29 01 00 00 00 02 FB 01 - 29 01 00 00 00 02 FF 04 - 29 01 00 00 00 02 FB 01 - 29 01 00 00 00 02 FF 00 - 29 01 00 00 64 02 11 00 - 29 01 00 00 00 02 FF EE - 29 01 00 00 00 02 12 50 - 29 01 00 00 00 02 13 02 - 29 01 00 00 00 02 6A 60 - 29 01 00 00 00 02 FF 00 - 29 01 00 00 78 02 29 00]; - qcom,on-cmds-dsi-state = "DSI_LP_MODE"; - qcom,panel-off-cmds = [05 01 00 00 32 02 28 00 - 05 01 00 00 78 02 10 00]; - qcom,off-cmds-dsi-state = "DSI_HS_MODE"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/dsi-panel-nt35590-720p-video.dtsi b/kernel/arch/arm/boot/dts/m7300-un-v1/dsi-panel-nt35590-720p-video.dtsi deleted file mode 100755 index 7bc748d59..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/dsi-panel-nt35590-720p-video.dtsi +++ /dev/null @@ -1,524 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -&soc { - qcom,mdss_dsi_nt35590_720p_video { - compatible = "qcom,mdss-dsi-panel"; - label = "nt35590 720p video mode dsi panel"; - status = "disable"; - qcom,dsi-ctrl-phandle = <&mdss_dsi0>; - qcom,rst-gpio = <&msmgpio 25 0>; - qcom,mdss-pan-res = <720 1280>; - qcom,mdss-pan-bpp = <24>; - qcom,mdss-pan-dest = "display_1"; - qcom,mdss-pan-porch-values = <164 8 140 1 1 6>; - qcom,mdss-pan-underflow-clr = <0xff>; - qcom,mdss-pan-bl-ctrl = "bl_ctrl_wled"; - qcom,mdss-pan-bl-levels = <1 4095>; - qcom,mdss-pan-dsi-mode = <0>; - qcom,mdss-pan-dsi-h-pulse-mode = <1>; - qcom,mdss-pan-dsi-h-power-stop = <0 0 0>; - qcom,mdss-pan-dsi-bllp-power-stop = <1 1>; - qcom,mdss-pan-dsi-traffic-mode = <2>; - qcom,mdss-pan-dsi-dst-format = <3>; - qcom,mdss-pan-dsi-vc = <0>; - qcom,mdss-pan-dsi-rgb-swap = <0>; - qcom,mdss-pan-dsi-data-lanes = <1 1 1 1>; /* 4 lanes */ - qcom,mdss-pan-dsi-dlane-swap = <0>; - qcom,mdss-pan-dsi-t-clk = <0x2c 0x20>; - qcom,mdss-pan-dsi-stream = <0>; - qcom,mdss-pan-dsi-mdp-tr = <0x0>; - qcom,mdss-pan-dsi-dma-tr = <0x04>; - qcom,mdss-pan-dsi-frame-rate = <60>; - qcom,panel-phy-regulatorSettings = [07 09 03 00 /* Regualotor settings */ - 20 00 01]; - qcom,panel-phy-timingSettings = [7d 25 1d 00 37 33 - 22 27 1e 03 04 00]; - qcom,panel-phy-strengthCtrl = [ff 06]; - qcom,panel-phy-bistCtrl = [00 00 b1 ff /* BIST Ctrl settings */ - 00 00]; - qcom,panel-phy-laneConfig = [00 00 00 00 00 00 00 01 97 /* lane0 config */ - 00 00 00 00 05 00 00 01 97 /* lane1 config */ - 00 00 00 00 0a 00 00 01 97 /* lane2 config */ - 00 00 00 00 0f 00 00 01 97 /* lane3 config */ - 00 c0 00 00 00 00 00 01 bb]; /* Clk ln config */ - qcom,panel-on-cmds = [29 01 00 00 00 00 02 FF EE - 29 01 00 00 00 00 02 26 08 - 29 01 00 00 00 00 02 26 00 - 29 01 00 00 10 00 02 FF 00 - 29 01 00 00 00 00 02 BA 03 - 29 01 00 00 00 00 02 C2 03 - 29 01 00 00 00 00 02 FF 01 - 29 01 00 00 00 00 02 FB 01 - 29 01 00 00 00 00 02 00 4A - 29 01 00 00 00 00 02 01 33 - 29 01 00 00 00 00 02 02 53 - 29 01 00 00 00 00 02 03 55 - 29 01 00 00 00 00 02 04 55 - 29 01 00 00 00 00 02 05 33 - 29 01 00 00 00 00 02 06 22 - 29 01 00 00 00 00 02 08 56 - 29 01 00 00 00 00 02 09 8F - 29 01 00 00 00 00 02 36 73 - 29 01 00 00 00 00 02 0B 9F - 29 01 00 00 00 00 02 0C 9F - 29 01 00 00 00 00 02 0D 2F - 29 01 00 00 00 00 02 0E 24 - 29 01 00 00 00 00 02 11 83 - 29 01 00 00 00 00 02 12 03 - 29 01 00 00 00 00 02 71 2C - 29 01 00 00 00 00 02 6F 03 - 29 01 00 00 00 00 02 0F 0A - 29 01 00 00 00 00 02 FF 05 - 29 01 00 00 00 00 02 FB 01 - 29 01 00 00 00 00 02 01 00 - 29 01 00 00 00 00 02 02 8B - 29 01 00 00 00 00 02 03 82 - 29 01 00 00 00 00 02 04 82 - 29 01 00 00 00 00 02 05 30 - 29 01 00 00 00 00 02 06 33 - 29 01 00 00 00 00 02 07 01 - 29 01 00 00 00 00 02 08 00 - 29 01 00 00 00 00 02 09 46 - 29 01 00 00 00 00 02 0A 46 - 29 01 00 00 00 00 02 0D 0B - 29 01 00 00 00 00 02 0E 1D - 29 01 00 00 00 00 02 0F 08 - 29 01 00 00 00 00 02 10 53 - 29 01 00 00 00 00 02 11 00 - 29 01 00 00 00 00 02 12 00 - 29 01 00 00 00 00 02 14 01 - 29 01 00 00 00 00 02 15 00 - 29 01 00 00 00 00 02 16 05 - 29 01 00 00 00 00 02 17 00 - 29 01 00 00 00 00 02 19 7F - 29 01 00 00 00 00 02 1A FF - 29 01 00 00 00 00 02 1B 0F - 29 01 00 00 00 00 02 1C 00 - 29 01 00 00 00 00 02 1D 00 - 29 01 00 00 00 00 02 1E 00 - 29 01 00 00 00 00 02 1F 07 - 29 01 00 00 00 00 02 20 00 - 29 01 00 00 00 00 02 21 06 - 29 01 00 00 00 00 02 22 55 - 29 01 00 00 00 00 02 23 4D - 29 01 00 00 00 00 02 2D 02 - 29 01 00 00 00 00 02 28 01 - 29 01 00 00 00 00 02 2F 02 - 29 01 00 00 00 00 02 83 01 - 29 01 00 00 00 00 02 9E 58 - 29 01 00 00 00 00 02 9F 6A - 29 01 00 00 00 00 02 A0 01 - 29 01 00 00 00 00 02 A2 10 - 29 01 00 00 00 00 02 BB 0A - 29 01 00 00 00 00 02 BC 0A - 29 01 00 00 00 00 02 32 08 - 29 01 00 00 00 00 02 33 B8 - 29 01 00 00 00 00 02 36 01 - 29 01 00 00 00 00 02 37 00 - 29 01 00 00 00 00 02 43 00 - 29 01 00 00 00 00 02 4B 21 - 29 01 00 00 00 00 02 4C 03 - 29 01 00 00 00 00 02 50 21 - 29 01 00 00 00 00 02 51 03 - 29 01 00 00 00 00 02 58 21 - 29 01 00 00 00 00 02 59 03 - 29 01 00 00 00 00 02 5D 21 - 29 01 00 00 00 00 02 5E 03 - 29 01 00 00 00 00 02 6C 00 - 29 01 00 00 00 00 02 6D 00 - 29 01 00 00 00 00 02 FB 01 - 29 01 00 00 00 00 02 FF 01 - 29 01 00 00 00 00 02 FB 01 - 29 01 00 00 00 00 02 75 00 - 29 01 00 00 00 00 02 76 7D - 29 01 00 00 00 00 02 77 00 - 29 01 00 00 00 00 02 78 8A - 29 01 00 00 00 00 02 79 00 - 29 01 00 00 00 00 02 7A 9C - 29 01 00 00 00 00 02 7B 00 - 29 01 00 00 00 00 02 7C B1 - 29 01 00 00 00 00 02 7D 00 - 29 01 00 00 00 00 02 7E BF - 29 01 00 00 00 00 02 7F 00 - 29 01 00 00 00 00 02 80 CF - 29 01 00 00 00 00 02 81 00 - 29 01 00 00 00 00 02 82 DD - 29 01 00 00 00 00 02 83 00 - 29 01 00 00 00 00 02 84 E8 - 29 01 00 00 00 00 02 85 00 - 29 01 00 00 00 00 02 86 F2 - 29 01 00 00 00 00 02 87 01 - 29 01 00 00 00 00 02 88 1F - 29 01 00 00 00 00 02 89 01 - 29 01 00 00 00 00 02 8A 41 - 29 01 00 00 00 00 02 8B 01 - 29 01 00 00 00 00 02 8C 78 - 29 01 00 00 00 00 02 8D 01 - 29 01 00 00 00 00 02 8E A5 - 29 01 00 00 00 00 02 8F 01 - 29 01 00 00 00 00 02 90 EE - 29 01 00 00 00 00 02 91 02 - 29 01 00 00 00 00 02 92 29 - 29 01 00 00 00 00 02 93 02 - 29 01 00 00 00 00 02 94 2A - 29 01 00 00 00 00 02 95 02 - 29 01 00 00 00 00 02 96 5D - 29 01 00 00 00 00 02 97 02 - 29 01 00 00 00 00 02 98 93 - 29 01 00 00 00 00 02 99 02 - 29 01 00 00 00 00 02 9A B8 - 29 01 00 00 00 00 02 9B 02 - 29 01 00 00 00 00 02 9C E7 - 29 01 00 00 00 00 02 9D 03 - 29 01 00 00 00 00 02 9E 07 - 29 01 00 00 00 00 02 9F 03 - 29 01 00 00 00 00 02 A0 37 - 29 01 00 00 00 00 02 A2 03 - 29 01 00 00 00 00 02 A3 46 - 29 01 00 00 00 00 02 A4 03 - 29 01 00 00 00 00 02 A5 56 - 29 01 00 00 00 00 02 A6 03 - 29 01 00 00 00 00 02 A7 66 - 29 01 00 00 00 00 02 A9 03 - 29 01 00 00 00 00 02 AA 7A - 29 01 00 00 00 00 02 AB 03 - 29 01 00 00 00 00 02 AC 93 - 29 01 00 00 00 00 02 AD 03 - 29 01 00 00 00 00 02 AE A3 - 29 01 00 00 00 00 02 AF 03 - 29 01 00 00 00 00 02 B0 B4 - 29 01 00 00 00 00 02 B1 03 - 29 01 00 00 00 00 02 B2 CB - 29 01 00 00 00 00 02 B3 00 - 29 01 00 00 00 00 02 B4 7D - 29 01 00 00 00 00 02 B5 00 - 29 01 00 00 00 00 02 B6 8A - 29 01 00 00 00 00 02 B7 00 - 29 01 00 00 00 00 02 B8 9C - 29 01 00 00 00 00 02 B9 00 - 29 01 00 00 00 00 02 BA B1 - 29 01 00 00 00 00 02 BB 00 - 29 01 00 00 00 00 02 BC BF - 29 01 00 00 00 00 02 BD 00 - 29 01 00 00 00 00 02 BE CF - 29 01 00 00 00 00 02 BF 00 - 29 01 00 00 00 00 02 C0 DD - 29 01 00 00 00 00 02 C1 00 - 29 01 00 00 00 00 02 C2 E8 - 29 01 00 00 00 00 02 C3 00 - 29 01 00 00 00 00 02 C4 F2 - 29 01 00 00 00 00 02 C5 01 - 29 01 00 00 00 00 02 C6 1F - 29 01 00 00 00 00 02 C7 01 - 29 01 00 00 00 00 02 C8 41 - 29 01 00 00 00 00 02 C9 01 - 29 01 00 00 00 00 02 CA 78 - 29 01 00 00 00 00 02 CB 01 - 29 01 00 00 00 00 02 CC A5 - 29 01 00 00 00 00 02 CD 01 - 29 01 00 00 00 00 02 CE EE - 29 01 00 00 00 00 02 CF 02 - 29 01 00 00 00 00 02 D0 29 - 29 01 00 00 00 00 02 D1 02 - 29 01 00 00 00 00 02 D2 2A - 29 01 00 00 00 00 02 D3 02 - 29 01 00 00 00 00 02 D4 5D - 29 01 00 00 00 00 02 D5 02 - 29 01 00 00 00 00 02 D6 93 - 29 01 00 00 00 00 02 D7 02 - 29 01 00 00 00 00 02 D8 B8 - 29 01 00 00 00 00 02 D9 02 - 29 01 00 00 00 00 02 DA E7 - 29 01 00 00 00 00 02 DB 03 - 29 01 00 00 00 00 02 DC 07 - 29 01 00 00 00 00 02 DD 03 - 29 01 00 00 00 00 02 DE 37 - 29 01 00 00 00 00 02 DF 03 - 29 01 00 00 00 00 02 E0 46 - 29 01 00 00 00 00 02 E1 03 - 29 01 00 00 00 00 02 E2 56 - 29 01 00 00 00 00 02 E3 03 - 29 01 00 00 00 00 02 E4 66 - 29 01 00 00 00 00 02 E5 03 - 29 01 00 00 00 00 02 E6 7A - 29 01 00 00 00 00 02 E7 03 - 29 01 00 00 00 00 02 E8 93 - 29 01 00 00 00 00 02 E9 03 - 29 01 00 00 00 00 02 EA A3 - 29 01 00 00 00 00 02 EB 03 - 29 01 00 00 00 00 02 EC B4 - 29 01 00 00 00 00 02 ED 03 - 29 01 00 00 00 00 02 EE CB - 29 01 00 00 00 00 02 EF 00 - 29 01 00 00 00 00 02 F0 ED - 29 01 00 00 00 00 02 F1 00 - 29 01 00 00 00 00 02 F2 F3 - 29 01 00 00 00 00 02 F3 00 - 29 01 00 00 00 00 02 F4 FE - 29 01 00 00 00 00 02 F5 01 - 29 01 00 00 00 00 02 F6 09 - 29 01 00 00 00 00 02 F7 01 - 29 01 00 00 00 00 02 F8 13 - 29 01 00 00 00 00 02 F9 01 - 29 01 00 00 00 00 02 FA 1D - 29 01 00 00 00 00 02 FF 02 - 29 01 00 00 00 00 02 FB 01 - 29 01 00 00 00 00 02 00 01 - 29 01 00 00 00 00 02 01 26 - 29 01 00 00 00 00 02 02 01 - 29 01 00 00 00 00 02 03 2F - 29 01 00 00 00 00 02 04 01 - 29 01 00 00 00 00 02 05 37 - 29 01 00 00 00 00 02 06 01 - 29 01 00 00 00 00 02 07 56 - 29 01 00 00 00 00 02 08 01 - 29 01 00 00 00 00 02 09 70 - 29 01 00 00 00 00 02 0A 01 - 29 01 00 00 00 00 02 0B 9D - 29 01 00 00 00 00 02 0C 01 - 29 01 00 00 00 00 02 0D C2 - 29 01 00 00 00 00 02 0E 01 - 29 01 00 00 00 00 02 0F FF - 29 01 00 00 00 00 02 10 02 - 29 01 00 00 00 00 02 11 31 - 29 01 00 00 00 00 02 12 02 - 29 01 00 00 00 00 02 13 32 - 29 01 00 00 00 00 02 14 02 - 29 01 00 00 00 00 02 15 60 - 29 01 00 00 00 00 02 16 02 - 29 01 00 00 00 00 02 17 94 - 29 01 00 00 00 00 02 18 02 - 29 01 00 00 00 00 02 19 B5 - 29 01 00 00 00 00 02 1A 02 - 29 01 00 00 00 00 02 1B E3 - 29 01 00 00 00 00 02 1C 03 - 29 01 00 00 00 00 02 1D 03 - 29 01 00 00 00 00 02 1E 03 - 29 01 00 00 00 00 02 1F 2D - 29 01 00 00 00 00 02 20 03 - 29 01 00 00 00 00 02 21 3A - 29 01 00 00 00 00 02 22 03 - 29 01 00 00 00 00 02 23 48 - 29 01 00 00 00 00 02 24 03 - 29 01 00 00 00 00 02 25 57 - 29 01 00 00 00 00 02 26 03 - 29 01 00 00 00 00 02 27 68 - 29 01 00 00 00 00 02 28 03 - 29 01 00 00 00 00 02 29 7B - 29 01 00 00 00 00 02 2A 03 - 29 01 00 00 00 00 02 2B 90 - 29 01 00 00 00 00 02 2D 03 - 29 01 00 00 00 00 02 2F A0 - 29 01 00 00 00 00 02 30 03 - 29 01 00 00 00 00 02 31 CB - 29 01 00 00 00 00 02 32 00 - 29 01 00 00 00 00 02 33 ED - 29 01 00 00 00 00 02 34 00 - 29 01 00 00 00 00 02 35 F3 - 29 01 00 00 00 00 02 36 00 - 29 01 00 00 00 00 02 37 FE - 29 01 00 00 00 00 02 38 01 - 29 01 00 00 00 00 02 39 09 - 29 01 00 00 00 00 02 3A 01 - 29 01 00 00 00 00 02 3B 13 - 29 01 00 00 00 00 02 3D 01 - 29 01 00 00 00 00 02 3F 1D - 29 01 00 00 00 00 02 40 01 - 29 01 00 00 00 00 02 41 26 - 29 01 00 00 00 00 02 42 01 - 29 01 00 00 00 00 02 43 2F - 29 01 00 00 00 00 02 44 01 - 29 01 00 00 00 00 02 45 37 - 29 01 00 00 00 00 02 46 01 - 29 01 00 00 00 00 02 47 56 - 29 01 00 00 00 00 02 48 01 - 29 01 00 00 00 00 02 49 70 - 29 01 00 00 00 00 02 4A 01 - 29 01 00 00 00 00 02 4B 9D - 29 01 00 00 00 00 02 4C 01 - 29 01 00 00 00 00 02 4D C2 - 29 01 00 00 00 00 02 4E 01 - 29 01 00 00 00 00 02 4F FF - 29 01 00 00 00 00 02 50 02 - 29 01 00 00 00 00 02 51 31 - 29 01 00 00 00 00 02 52 02 - 29 01 00 00 00 00 02 53 32 - 29 01 00 00 00 00 02 54 02 - 29 01 00 00 00 00 02 55 60 - 29 01 00 00 00 00 02 56 02 - 29 01 00 00 00 00 02 58 94 - 29 01 00 00 00 00 02 59 02 - 29 01 00 00 00 00 02 5A B5 - 29 01 00 00 00 00 02 5B 02 - 29 01 00 00 00 00 02 5C E3 - 29 01 00 00 00 00 02 5D 03 - 29 01 00 00 00 00 02 5E 03 - 29 01 00 00 00 00 02 5F 03 - 29 01 00 00 00 00 02 60 2D - 29 01 00 00 00 00 02 61 03 - 29 01 00 00 00 00 02 62 3A - 29 01 00 00 00 00 02 63 03 - 29 01 00 00 00 00 02 64 48 - 29 01 00 00 00 00 02 65 03 - 29 01 00 00 00 00 02 66 57 - 29 01 00 00 00 00 02 67 03 - 29 01 00 00 00 00 02 68 68 - 29 01 00 00 00 00 02 69 03 - 29 01 00 00 00 00 02 6A 7B - 29 01 00 00 00 00 02 6B 03 - 29 01 00 00 00 00 02 6C 90 - 29 01 00 00 00 00 02 6D 03 - 29 01 00 00 00 00 02 6E A0 - 29 01 00 00 00 00 02 6F 03 - 29 01 00 00 00 00 02 70 CB - 29 01 00 00 00 00 02 71 00 - 29 01 00 00 00 00 02 72 19 - 29 01 00 00 00 00 02 73 00 - 29 01 00 00 00 00 02 74 36 - 29 01 00 00 00 00 02 75 00 - 29 01 00 00 00 00 02 76 55 - 29 01 00 00 00 00 02 77 00 - 29 01 00 00 00 00 02 78 70 - 29 01 00 00 00 00 02 79 00 - 29 01 00 00 00 00 02 7A 83 - 29 01 00 00 00 00 02 7B 00 - 29 01 00 00 00 00 02 7C 99 - 29 01 00 00 00 00 02 7D 00 - 29 01 00 00 00 00 02 7E A8 - 29 01 00 00 00 00 02 7F 00 - 29 01 00 00 00 00 02 80 B7 - 29 01 00 00 00 00 02 81 00 - 29 01 00 00 00 00 02 82 C5 - 29 01 00 00 00 00 02 83 00 - 29 01 00 00 00 00 02 84 F7 - 29 01 00 00 00 00 02 85 01 - 29 01 00 00 00 00 02 86 1E - 29 01 00 00 00 00 02 87 01 - 29 01 00 00 00 00 02 88 60 - 29 01 00 00 00 00 02 89 01 - 29 01 00 00 00 00 02 8A 95 - 29 01 00 00 00 00 02 8B 01 - 29 01 00 00 00 00 02 8C E1 - 29 01 00 00 00 00 02 8D 02 - 29 01 00 00 00 00 02 8E 20 - 29 01 00 00 00 00 02 8F 02 - 29 01 00 00 00 00 02 90 23 - 29 01 00 00 00 00 02 91 02 - 29 01 00 00 00 00 02 92 59 - 29 01 00 00 00 00 02 93 02 - 29 01 00 00 00 00 02 94 94 - 29 01 00 00 00 00 02 95 02 - 29 01 00 00 00 00 02 96 B4 - 29 01 00 00 00 00 02 97 02 - 29 01 00 00 00 00 02 98 E1 - 29 01 00 00 00 00 02 99 03 - 29 01 00 00 00 00 02 9A 01 - 29 01 00 00 00 00 02 9B 03 - 29 01 00 00 00 00 02 9C 28 - 29 01 00 00 00 00 02 9D 03 - 29 01 00 00 00 00 02 9E 30 - 29 01 00 00 00 00 02 9F 03 - 29 01 00 00 00 00 02 A0 37 - 29 01 00 00 00 00 02 A2 03 - 29 01 00 00 00 00 02 A3 3B - 29 01 00 00 00 00 02 A4 03 - 29 01 00 00 00 00 02 A5 40 - 29 01 00 00 00 00 02 A6 03 - 29 01 00 00 00 00 02 A7 50 - 29 01 00 00 00 00 02 A9 03 - 29 01 00 00 00 00 02 AA 6D - 29 01 00 00 00 00 02 AB 03 - 29 01 00 00 00 00 02 AC 80 - 29 01 00 00 00 00 02 AD 03 - 29 01 00 00 00 00 02 AE CB - 29 01 00 00 00 00 02 AF 00 - 29 01 00 00 00 00 02 B0 19 - 29 01 00 00 00 00 02 B1 00 - 29 01 00 00 00 00 02 B2 36 - 29 01 00 00 00 00 02 B3 00 - 29 01 00 00 00 00 02 B4 55 - 29 01 00 00 00 00 02 B5 00 - 29 01 00 00 00 00 02 B6 70 - 29 01 00 00 00 00 02 B7 00 - 29 01 00 00 00 00 02 B8 83 - 29 01 00 00 00 00 02 B9 00 - 29 01 00 00 00 00 02 BA 99 - 29 01 00 00 00 00 02 BB 00 - 29 01 00 00 00 00 02 BC A8 - 29 01 00 00 00 00 02 BD 00 - 29 01 00 00 00 00 02 BE B7 - 29 01 00 00 00 00 02 BF 00 - 29 01 00 00 00 00 02 C0 C5 - 29 01 00 00 00 00 02 C1 00 - 29 01 00 00 00 00 02 C2 F7 - 29 01 00 00 00 00 02 C3 01 - 29 01 00 00 00 00 02 C4 1E - 29 01 00 00 00 00 02 C5 01 - 29 01 00 00 00 00 02 C6 60 - 29 01 00 00 00 00 02 C7 01 - 29 01 00 00 00 00 02 C8 95 - 29 01 00 00 00 00 02 C9 01 - 29 01 00 00 00 00 02 CA E1 - 29 01 00 00 00 00 02 CB 02 - 29 01 00 00 00 00 02 CC 20 - 29 01 00 00 00 00 02 CD 02 - 29 01 00 00 00 00 02 CE 23 - 29 01 00 00 00 00 02 CF 02 - 29 01 00 00 00 00 02 D0 59 - 29 01 00 00 00 00 02 D1 02 - 29 01 00 00 00 00 02 D2 94 - 29 01 00 00 00 00 02 D3 02 - 29 01 00 00 00 00 02 D4 B4 - 29 01 00 00 00 00 02 D5 02 - 29 01 00 00 00 00 02 D6 E1 - 29 01 00 00 00 00 02 D7 03 - 29 01 00 00 00 00 02 D8 01 - 29 01 00 00 00 00 02 D9 03 - 29 01 00 00 00 00 02 DA 28 - 29 01 00 00 00 00 02 DB 03 - 29 01 00 00 00 00 02 DC 30 - 29 01 00 00 00 00 02 DD 03 - 29 01 00 00 00 00 02 DE 37 - 29 01 00 00 00 00 02 DF 03 - 29 01 00 00 00 00 02 E0 3B - 29 01 00 00 00 00 02 E1 03 - 29 01 00 00 00 00 02 E2 40 - 29 01 00 00 00 00 02 E3 03 - 29 01 00 00 00 00 02 E4 50 - 29 01 00 00 00 00 02 E5 03 - 29 01 00 00 00 00 02 E6 6D - 29 01 00 00 00 00 02 E7 03 - 29 01 00 00 00 00 02 E8 80 - 29 01 00 00 00 00 02 E9 03 - 29 01 00 00 00 00 02 EA CB - 29 01 00 00 00 00 02 FF 01 - 29 01 00 00 00 00 02 FB 01 - 29 01 00 00 00 00 02 FF 02 - 29 01 00 00 00 00 02 FB 01 - 29 01 00 00 00 00 02 FF 04 - 29 01 00 00 00 00 02 FB 01 - 29 01 00 00 00 00 02 FF 00 - 29 01 00 00 64 00 02 11 00 - 29 01 00 00 00 00 02 FF EE - 29 01 00 00 00 00 02 12 50 - 29 01 00 00 00 00 02 13 02 - 29 01 00 00 00 00 02 6A 60 - 29 01 00 00 00 00 02 FF 00 - 29 01 00 00 78 00 02 29 00]; - - qcom,on-cmds-dsi-state = "DSI_LP_MODE"; - qcom,panel-off-cmds = [05 01 00 00 32 00 02 28 00 - 05 01 00 00 78 00 02 10 00]; - qcom,off-cmds-dsi-state = "DSI_HS_MODE"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/dsi-panel-orise-720p-video.dtsi b/kernel/arch/arm/boot/dts/m7300-un-v1/dsi-panel-orise-720p-video.dtsi deleted file mode 100755 index 478541fb1..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/dsi-panel-orise-720p-video.dtsi +++ /dev/null @@ -1,60 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -&soc { - qcom,mdss_dsi_orise_720p_video { - compatible = "qcom,mdss-dsi-panel"; - label = "orise 720p video mode dsi panel"; - status = "disable"; - qcom,dsi-ctrl-phandle = <&mdss_dsi1>; - qcom,mdss-pan-res = <720 1280>; - qcom,mdss-pan-bpp = <24>; - qcom,mdss-pan-dest = "display_2"; - qcom,mdss-pan-porch-values = <32 12 144 3 4 9>; - qcom,mdss-pan-underflow-clr = <0xff>; - qcom,mdss-pan-bl-levels = <1 255>; - qcom,mdss-pan-dsi-mode = <0>; - qcom,mdss-pan-dsi-h-pulse-mode = <0>; - qcom,mdss-pan-dsi-h-power-stop = <0 0 0>; - qcom,mdss-pan-dsi-bllp-power-stop = <1 1>; - qcom,mdss-pan-dsi-traffic-mode = <1>; - qcom,mdss-pan-dsi-dst-format = <3>; - qcom,mdss-pan-dsi-vc = <0>; - qcom,mdss-pan-dsi-rgb-swap = <0>; - qcom,mdss-pan-dsi-data-lanes = <1 1 1 1>; - qcom,mdss-pan-dsi-dlane-swap = <0>; - qcom,mdss-pan-dsi-t-clk = <0x1b 0x04>; - qcom,mdss-pan-dsi-stream = <0>; - qcom,mdss-pan-dsi-mdp-tr = <0x0>; - qcom,mdss-pan-dsi-dma-tr = <0x04>; - qcom,mdss-pan-dsi-frame-rate = <60>; - qcom,panel-phy-regulatorSettings = [03 01 01 00 /* Regualotor settings */ - 20 00 01]; - qcom,panel-phy-timingSettings = [69 29 1f 00 55 55 - 19 2a 2a 03 04 00]; - qcom,panel-phy-strengthCtrl = [77 06]; - qcom,panel-phy-bistCtrl = [00 00 b1 ff /* BIST Ctrl settings */ - 00 00]; - qcom,panel-phy-laneConfig = [00 c2 45 00 00 00 00 01 75 /* lane0 config */ - 00 c2 45 00 00 00 00 01 75 /* lane1 config */ - 00 c2 45 00 00 00 00 01 75 /* lane2 config */ - 00 c2 45 00 00 00 00 01 75 /* lane3 config */ - 00 02 45 00 00 00 00 01 97]; /* Clk ln config */ - - qcom,panel-on-cmds = [05 01 00 00 78 00 02 11 00 - 05 01 00 00 78 00 02 29 00]; - qcom,on-cmds-dsi-state = "DSI_LP_MODE"; - qcom,panel-off-cmds = [05 01 00 00 32 00 02 28 00 - 05 01 00 00 78 00 02 10 00]; - qcom,off-cmds-dsi-state = "DSI_LP_MODE"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/dsi-panel-sharp-qhd-video.dtsi b/kernel/arch/arm/boot/dts/m7300-un-v1/dsi-panel-sharp-qhd-video.dtsi deleted file mode 100755 index 45d396cdc..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/dsi-panel-sharp-qhd-video.dtsi +++ /dev/null @@ -1,67 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -&soc { - qcom,mdss_dsi_sharp_qhd_video { - compatible = "qcom,mdss-dsi-panel"; - label = "sharp QHD LS043T1LE01 video mode dsi panel"; - status = "disable"; - qcom,dsi-ctrl-phandle = <&mdss_dsi0>; - qcom,enable-gpio = <&msmgpio 58 0>; - qcom,rst-gpio = <&pm8941_gpios 19 0>; - qcom,mdss-pan-res = <540 960>; - qcom,mdss-pan-bpp = <24>; - qcom,mdss-pan-dest = "display_1"; - qcom,mdss-pan-porch-values = <80 32 48 15 10 3>; /* HBP, HPW, HFP, VBP, VPW, VFP */ - qcom,mdss-pan-underflow-clr = <0xff>; - qcom,mdss-pan-bl-ctrl = "bl_ctrl_wled"; - qcom,mdss-pan-bl-levels = <1 4095>; - qcom,mdss-pan-dsi-mode = <0>; - qcom,mdss-pan-dsi-h-pulse-mode = <1>; - qcom,mdss-pan-dsi-h-power-stop = <0 0 0>; - qcom,mdss-pan-dsi-bllp-power-stop = <1 1>; - qcom,mdss-pan-dsi-traffic-mode = <0>; - qcom,mdss-pan-dsi-dst-format = <3>; - qcom,mdss-pan-dsi-vc = <0>; - qcom,mdss-pan-dsi-rgb-swap = <2>; - qcom,mdss-pan-dsi-data-lanes = <1 1 0 0>; - qcom,mdss-pan-dsi-dlane-swap = <0>; - qcom,mdss-pan-dsi-t-clk = <0x1c 0x04>; - qcom,mdss-pan-dsi-stream = <0>; - qcom,mdss-pan-dsi-mdp-tr = <0x04>; - qcom,mdss-pan-dsi-dma-tr = <0x04>; - qcom,mdss-pan-frame-rate = <60>; - qcom,panel-phy-regulatorSettings = [07 09 03 00 /* Regulator settings */ - 20 00 01]; - qcom,panel-phy-timingSettings = [46 1d 20 00 39 3a - 21 21 32 03 04 00]; - qcom,panel-phy-strengthCtrl = [ff 06]; - qcom,panel-phy-bistCtrl = [00 00 b1 ff /* BIST Ctrl settings */ - 00 00]; - qcom,panel-phy-laneConfig = [00 00 00 00 00 00 00 01 97 /* lane0 config */ - 00 00 00 00 05 00 00 01 97 /* lane1 config */ - 00 00 00 00 0a 00 00 01 97 /* lane2 config */ - 00 00 00 00 0f 00 00 01 97 /* lane3 config */ - 00 c0 00 00 00 00 00 01 bb]; /* Clk ln config */ - qcom,panel-on-cmds = [05 01 00 00 32 00 02 01 00 /* sw reset */ - 05 01 00 00 0a 00 02 11 00 /* exit sleep */ - 15 01 00 00 0a 00 02 53 2c /* backlight on */ - 15 01 00 00 0a 00 02 51 ff /* brightness max */ - 05 01 00 00 0a 00 02 29 00 /* display on */ - 15 01 00 00 0a 00 02 ae 03 /* set num of lanes */ - 15 01 00 00 0a 00 02 3a 77 /* rgb_888 */]; - qcom,on-cmds-dsi-state = "DSI_LP_MODE"; - qcom,panel-off-cmds = [05 01 00 00 0a 00 02 28 00 /* display off */ - 05 01 00 00 78 00 02 10 00 /* enter sleep */]; - qcom,off-cmds-dsi-state = "DSI_HS_MODE"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/dsi-panel-sim-video.dtsi b/kernel/arch/arm/boot/dts/m7300-un-v1/dsi-panel-sim-video.dtsi deleted file mode 100755 index 271e37316..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/dsi-panel-sim-video.dtsi +++ /dev/null @@ -1,46 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&soc { - - qcom,mdss_dsi_sim_video { - compatible = "qcom,mdss-dsi-panel"; - label = "simulator video mode dsi panel"; - status = "disable"; - qcom,dsi-ctrl-phandle = <&mdss_dsi0>; - qcom,mdss-pan-res = <640 480>; - qcom,mdss-pan-bpp = <24>; - qcom,mdss-pan-dest = "display_1"; - qcom,mdss-pan-porch-values = <6 2 6 6 2 6>; - qcom,mdss-pan-underflow-clr = <0xff>; - qcom,mdss-pan-bl-levels = <1 15>; - qcom,mdss-pan-dsi-mode = <0>; - qcom,mdss-pan-dsi-h-pulse-mode = <1>; - qcom,mdss-pan-dsi-h-power-stop = <1 1 1>; - qcom,mdss-pan-dsi-bllp-power-stop = <1 1>; - qcom,mdss-pan-dsi-traffic-mode = <0>; - qcom,mdss-pan-dsi-dst-format = <3>; - qcom,mdss-pan-dsi-vc = <0>; - qcom,mdss-pan-dsi-rgb-swap = <0>; - qcom,mdss-pan-dsi-data-lanes = <1 1 0 0>; - qcom,mdss-pan-dsi-dlane-swap = <0>; - qcom,mdss-pan-dsi-t-clk = <0x24 0x03>; - qcom,mdss-pan-dsi-stream = <0>; - qcom,mdss-pan-dsi-mdp-tr = <0x04>; - qcom,mdss-pan-dsi-dma-tr = <0x04>; - qcom,mdss-pan-dsi-frame-rate = <60>; - qcom,panel-on-cmds = [32 01 00 00 00 00 02 00 00]; - qcom,on-cmds-dsi-state = "DSI_LP_MODE"; - qcom,panel-off-cmds = [22 01 00 00 00 00 02 00 00]; - qcom,off-cmds-dsi-state = "DSI_LP_MODE"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/dsi-panel-toshiba-720p-video.dtsi b/kernel/arch/arm/boot/dts/m7300-un-v1/dsi-panel-toshiba-720p-video.dtsi deleted file mode 100755 index 5c37cf8dc..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/dsi-panel-toshiba-720p-video.dtsi +++ /dev/null @@ -1,124 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&soc { - - qcom,mdss_dsi_toshiba_720p_video { - compatible = "qcom,mdss-dsi-panel"; - label = "toshiba 720p video mode dsi panel"; - status = "disable"; - qcom,dsi-ctrl-phandle = <&mdss_dsi0>; - qcom,enable-gpio = <&msmgpio 58 0>; - qcom,rst-gpio = <&pm8941_gpios 19 0>; - qcom,mdss-pan-res = <720 1280>; - qcom,mdss-pan-bpp = <24>; - qcom,mdss-pan-dest = "display_1"; - qcom,mdss-pan-porch-values = <32 12 144 3 4 9>; - qcom,mdss-pan-underflow-clr = <0xff>; - qcom,mdss-pan-bl-ctrl = "bl_ctrl_wled"; - qcom,mdss-pan-bl-levels = <1 4095>; - qcom,mdss-pan-dsi-mode = <0>; - qcom,mdss-pan-dsi-h-pulse-mode = <0>; - qcom,mdss-pan-dsi-h-power-stop = <0 0 0>; - qcom,mdss-pan-dsi-bllp-power-stop = <1 1>; - qcom,mdss-pan-dsi-traffic-mode = <1>; - qcom,mdss-pan-dsi-dst-format = <3>; - qcom,mdss-pan-dsi-vc = <0>; - qcom,mdss-pan-dsi-rgb-swap = <0>; - qcom,mdss-pan-dsi-data-lanes = <1 1 1 1>; - qcom,mdss-pan-dsi-dlane-swap = <0>; - qcom,mdss-pan-dsi-t-clk = <0x1b 0x04>; - qcom,mdss-pan-dsi-stream = <0>; - qcom,mdss-pan-dsi-mdp-tr = <0x0>; - qcom,mdss-pan-dsi-dma-tr = <0x04>; - qcom,mdss-pan-dsi-frame-rate = <60>; - qcom,panel-phy-regulatorSettings = [07 09 03 00 /* Regualotor settings */ - 20 00 01]; - qcom,panel-phy-timingSettings = [b0 23 1b 00 94 93 - 1e 25 15 03 04 00]; - qcom,panel-phy-strengthCtrl = [ff 06]; - qcom,panel-phy-bistCtrl = [00 00 b1 ff /* BIST Ctrl settings */ - 00 00]; - qcom,panel-phy-laneConfig = [00 00 00 00 00 00 00 01 97 /* lane0 config */ - 00 00 00 00 05 00 00 01 97 /* lane1 config */ - 00 00 00 00 0a 00 00 01 97 /* lane2 config */ - 00 00 00 00 0f 00 00 01 97 /* lane3 config */ - 00 c0 00 00 00 00 00 01 bb]; /* Clk ln config */ - - qcom,panel-on-cmds = [23 01 00 00 0a 00 02 b0 00 - 23 01 00 00 0a 00 02 b2 00 - 23 01 00 00 0a 00 02 b3 0c - 23 01 00 00 0a 00 02 b4 02 - 29 01 00 00 00 00 06 - c0 40 02 7f c8 08 - 29 01 00 00 00 00 10 - c1 00 a8 00 00 00 - 00 00 9d 08 27 00 - 00 00 00 00 - 29 01 00 00 00 00 06 - c2 00 00 09 00 00 - 23 01 00 00 0a 00 02 c3 04 - 29 01 00 00 00 00 04 - c4 4d 83 00 - 29 01 00 00 00 00 0b - c6 12 00 08 71 00 - 00 00 80 00 04 - 23 01 00 00 0a 00 02 c7 22 - 29 01 00 00 00 00 05 - c8 4c 0c 0c 0c - 29 01 00 00 00 00 0e - c9 00 40 00 16 32 - 2e 3a 43 3e 3c 45 - 79 3f - 29 01 00 00 00 00 0e - ca 00 46 1a 23 21 - 1c 25 31 2d 49 5f - 7f 3f - 29 01 00 00 00 00 0e - cb 00 4c 20 3a 42 - 40 47 4b 42 3e 46 - 7e 3f - 29 01 00 00 00 00 0e - cc 00 41 19 21 1d - 14 18 1f 1d 25 3f - 73 3f - 29 01 00 00 00 00 0e - cd 23 79 5a 5f 57 - 4c 51 51 45 3f 4b - 7f 3f - 29 01 00 00 00 00 0e - ce 00 40 14 20 1a - 0e 0e 13 08 00 05 - 46 1c - 29 01 00 00 00 00 04 - d0 6a 64 01 - 29 01 00 00 00 00 03 d1 77 d4 - 23 01 00 00 0a 00 02 d3 33 - 29 01 00 00 00 00 03 d5 0f 0f - 29 01 00 00 00 00 07 - d8 34 64 23 25 62 - 32 - 29 01 00 00 00 00 0c - de 10 7b 11 0a 00 - 00 00 00 00 00 00 - 29 01 00 00 00 00 09 - fd 04 55 53 00 70 - ff 10 73 - 23 01 00 00 0a 00 02 e2 00 - 05 01 00 00 78 00 02 11 00 - 05 01 00 00 32 00 02 29 00]; - qcom,on-cmds-dsi-state = "DSI_LP_MODE"; - qcom,panel-off-cmds = [05 01 00 00 32 00 02 28 00 - 05 01 00 00 78 00 02 10 00]; - qcom,off-cmds-dsi-state = "DSI_HS_MODE"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/dsi-v2-panel-hx8379a-wvga-video.dtsi b/kernel/arch/arm/boot/dts/m7300-un-v1/dsi-v2-panel-hx8379a-wvga-video.dtsi deleted file mode 100755 index b9ed0506a..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/dsi-v2-panel-hx8379a-wvga-video.dtsi +++ /dev/null @@ -1,117 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/ { - qcom,dsi_v2_hx8379a_wvga_video { - compatible = "qcom,dsi-panel-v2"; - label = "HX8379A WVGA video mode dsi panel"; - qcom,dsi-ctrl-phandle = <&mdss_dsi0>; - qcom,rst-gpio = <&msmgpio 41 0>; - vdda-supply = <&pm8110_l19>; - vddio-supply=<&pm8110_l14>; - qcom,mdss-pan-res = <480 800>; - qcom,mdss-pan-bpp = <24>; - qcom,mdss-pan-dest = "display_1"; - qcom,mdss-pan-porch-values = <90 17 90 2 3 11>; - qcom,mdss-pan-underflow-clr = <0xff>; - qcom,mdss-pan-bl-levels = <1 255>; - qcom,mdss-pan-bl-ctrl = "bl_ctrl_wled"; - qcom,mdss-pan-dsi-mode = <0>; - qcom,mdss-pan-dsi-h-pulse-mode = <1>; - qcom,mdss-pan-dsi-h-power-stop = <0 0 0>; - qcom,mdss-pan-dsi-bllp-power-stop = <1 1>; - qcom,mdss-pan-dsi-traffic-mode = <2>; - qcom,mdss-pan-dsi-dst-format = <3>; - qcom,mdss-pan-dsi-vc = <0>; - qcom,mdss-pan-dsi-rgb-swap = <0>; - qcom,mdss-pan-dsi-data-lanes = <1 1 0 0>; - qcom,mdss-pan-dsi-dlane-swap = <1>; - qcom,mdss-pan-dsi-t-clk = <0x1b 0x04>; - qcom,mdss-pan-dsi-stream = <0>; - qcom,mdss-pan-dsi-mdp-tr = <0x0>;/*todo*/ - qcom,mdss-pan-dsi-dma-tr = <0x04>; - qcom,mdss-pan-dsi-frame-rate = <60>; - qcom,panel-phy-regulatorSettings =[09 08 05 00 20 03]; - qcom,panel-phy-timingSettings = [5D 12 0C 00 33 39 - 10 16 15 03 04 00]; - qcom,panel-phy-strengthCtrl = [ff 06]; - qcom,panel-phy-bistCtrl = [03 03 00 00 0f 00]; - qcom,panel-phy-laneConfig = - [80 45 00 00 01 66 /*lane0**/ - 80 45 00 00 01 66 /*lane1*/ - 80 45 00 00 01 66 /*lane2*/ - 80 45 00 00 01 66 /*lane3*/ - 40 67 00 00 01 88]; /*Clk*/ - - qcom,on-cmds-dsi-state = "DSI_LP_MODE"; - qcom,panel-on-cmds = [ - 29 01 00 00 01 04 - B9 FF 83 79 - 23 01 00 00 01 02 - BA 51 - 29 01 00 00 01 14 - B1 00 50 44 - EA 8D 08 11 - 0F 0F 24 2C - 9A 1A 42 0B - 6E F1 00 E6 - 29 01 00 00 01 0e - B2 00 00 3C - 08 04 19 22 - 00 FF 08 04 - 19 20 - 29 01 00 00 01 20 - B4 80 08 00 - 32 10 03 32 - 13 70 32 10 - 08 37 01 28 - 05 37 08 3C - 20 44 44 08 - 00 40 08 28 - 08 30 30 04 - 23 01 00 00 01 02 - cc 02 - 29 01 00 00 01 30 - D5 00 00 08 - 00 01 05 00 - 03 00 88 88 - 88 88 23 01 - 67 45 02 13 - 88 88 88 88 - 88 88 88 88 - 88 88 54 76 - 10 32 31 20 - 88 88 88 88 - 88 88 00 00 - 00 00 00 00 - 29 01 00 00 01 24 - E0 79 00 00 - 02 1C 1F 33 - 28 3E 07 0E - 0F 15 17 16 - 16 13 19 00 - 00 02 1C 1F - 33 28 3E 07 - 0E 0F 15 17 - 16 16 13 19 - 29 01 00 00 01 05 - B6 00 A6 00 A6 - 05 01 00 00 96 02 - 11 00 - 05 01 00 00 78 02 - 29 00 - ]; - qcom,panel-off-cmds = [05 01 00 00 32 02 28 00 - 05 01 00 00 78 02 10 00]; - qcom,off-cmds-dsi-state = "DSI_LP_MODE"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/dsi-v2-panel-truly-wvga-video.dtsi b/kernel/arch/arm/boot/dts/m7300-un-v1/dsi-v2-panel-truly-wvga-video.dtsi deleted file mode 100755 index 891eac3ad..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/dsi-v2-panel-truly-wvga-video.dtsi +++ /dev/null @@ -1,120 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/ { - qcom,dsi_v2_truly_wvga_video { - compatible = "qcom,dsi-panel-v2"; - label = "Truly WVGA video mode dsi panel"; - qcom,dsi-ctrl-phandle = <&mdss_dsi0>; - qcom,rst-gpio = <&msmgpio 41 0>; - qcom,mode-selection-gpio = <&msmgpio 7 0>; - vdda-supply = <&pm8110_l19>; - vddio-supply=<&pm8110_l14>; - qcom,mdss-pan-res = <480 800>; - qcom,mdss-pan-bpp = <24>; - qcom,mdss-pan-dest = "display_1"; - qcom,mdss-pan-porch-values = <40 8 160 10 2 12>; - qcom,mdss-pan-underflow-clr = <0xff>; - qcom,mdss-pan-bl-levels = <1 255>; - qcom,mdss-pan-bl-ctrl = "bl_ctrl_wled"; - qcom,mdss-pan-dsi-mode = <0>; - qcom,mdss-pan-dsi-h-pulse-mode = <0>; - qcom,mdss-pan-dsi-h-power-stop = <0 0 0>; - qcom,mdss-pan-dsi-bllp-power-stop = <1 1>; - qcom,mdss-pan-dsi-traffic-mode = <1>; - qcom,mdss-pan-dsi-dst-format = <3>; - qcom,mdss-pan-dsi-vc = <0>; - qcom,mdss-pan-dsi-rgb-swap = <0>; - qcom,mdss-pan-dsi-data-lanes = <1 1 0 0>; - qcom,mdss-pan-dsi-dlane-swap = <0>; - qcom,mdss-pan-dsi-t-clk = <0x1b 0x04>; - qcom,mdss-pan-dsi-stream = <0>; - qcom,mdss-pan-dsi-mdp-tr = <0x0>;/*todo*/ - qcom,mdss-pan-dsi-dma-tr = <0x04>; - qcom,mdss-pan-dsi-frame-rate = <60>; - qcom,panel-phy-regulatorSettings =[09 08 05 00 20 03]; - qcom,panel-phy-timingSettings = [5D 12 0C 00 33 38 - 10 16 1E 03 04 00]; - qcom,panel-phy-strengthCtrl = [ff 06]; - qcom,panel-phy-bistCtrl = [03 03 00 00 0f 00]; - qcom,panel-phy-laneConfig = - [80 45 00 00 01 66 /*lane0**/ - 80 45 00 00 01 66 /*lane1*/ - 80 45 00 00 01 66 /*lane2*/ - 80 45 00 00 01 66 /*lane3*/ - 40 67 00 00 01 88]; /*Clk*/ - - qcom,on-cmds-dsi-state = "DSI_LP_MODE"; - qcom,panel-on-cmds = [ - 05 01 00 00 00 02 - 01 00 - 23 01 00 00 00 02 - b0 04 - 29 01 00 00 00 03 - b3 02 00 - 23 01 00 00 00 02 - bd 00 - 29 01 00 00 00 03 - c0 18 66 - 29 01 00 00 00 10 - c1 23 31 99 21 20 00 30 28 0c 0c - 00 00 00 21 01 - 29 01 00 00 00 07 - c2 10 06 06 01 03 00 - 29 01 00 00 00 19 - c8 04 10 18 20 2e 46 3c 28 1f 18 - 10 04 04 10 18 20 2e 46 3c 28 1f 18 10 04 - 29 01 00 00 00 19 - c9 04 10 18 20 2e 46 3c 28 1f 18 - 10 04 04 10 18 20 2e 46 3c 28 1f 18 10 04 - 29 01 00 00 00 19 - ca 04 10 18 20 2e 46 3c 28 1f 18 - 10 04 04 10 18 20 2e 46 3c 28 1f 18 10 04 - 29 01 00 00 00 11 - d0 29 03 ce a6 00 43 20 10 01 00 - 01 01 00 03 01 00 - 29 01 00 00 00 08 - d1 18 0C 23 03 75 02 50 - 23 01 00 00 00 02 - d3 11 - 29 01 00 00 00 03 - d5 2a 2a - 29 01 00 00 00 03 - de 01 41 - 23 01 00 00 00 02 - e6 51 - 23 01 00 00 00 02 - fa 03 - 23 01 00 00 64 02 - d6 28 - 39 01 00 00 00 05 - 2a 00 00 01 df - 39 01 00 00 00 05 - 2b 00 00 03 1f - 15 01 00 00 00 02 - 35 00 - 39 01 00 00 00 03 - 44 00 50 - 15 01 00 00 00 02 - 36 c1 - 15 01 00 00 00 02 - 3a 77 - 05 01 00 00 7D 02 - 11 00 - 05 01 00 00 14 02 - 29 00 - ]; - qcom,panel-off-cmds = [05 01 00 00 32 02 28 00 - 05 01 00 00 78 02 10 00]; - qcom,off-cmds-dsi-state = "DSI_LP_MODE"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/exynos4210-origen.dts b/kernel/arch/arm/boot/dts/m7300-un-v1/exynos4210-origen.dts deleted file mode 100755 index b8c476384..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/exynos4210-origen.dts +++ /dev/null @@ -1,137 +0,0 @@ -/* - * Samsung's Exynos4210 based Origen board device tree source - * - * Copyright (c) 2010-2011 Samsung Electronics Co., Ltd. - * http://www.samsung.com - * Copyright (c) 2010-2011 Linaro Ltd. - * www.linaro.org - * - * Device tree source file for Insignal's Origen board which is based on - * Samsung's Exynos4210 SoC. - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. -*/ - -/dts-v1/; -/include/ "exynos4210.dtsi" - -/ { - model = "Insignal Origen evaluation board based on Exynos4210"; - compatible = "insignal,origen", "samsung,exynos4210"; - - memory { - reg = <0x40000000 0x40000000>; - }; - - chosen { - bootargs ="root=/dev/ram0 rw ramdisk=8192 initrd=0x41000000,8M console=ttySAC2,115200 init=/linuxrc"; - }; - - sdhci@12530000 { - samsung,sdhci-bus-width = <4>; - linux,mmc_cap_4_bit_data; - samsung,sdhci-cd-internal; - gpio-cd = <&gpk2 2 2 3 3>; - gpios = <&gpk2 0 2 0 3>, - <&gpk2 1 2 0 3>, - <&gpk2 3 2 3 3>, - <&gpk2 4 2 3 3>, - <&gpk2 5 2 3 3>, - <&gpk2 6 2 3 3>; - }; - - sdhci@12510000 { - samsung,sdhci-bus-width = <4>; - linux,mmc_cap_4_bit_data; - samsung,sdhci-cd-internal; - gpio-cd = <&gpk0 2 2 3 3>; - gpios = <&gpk0 0 2 0 3>, - <&gpk0 1 2 0 3>, - <&gpk0 3 2 3 3>, - <&gpk0 4 2 3 3>, - <&gpk0 5 2 3 3>, - <&gpk0 6 2 3 3>; - }; - - gpio_keys { - compatible = "gpio-keys"; - #address-cells = <1>; - #size-cells = <0>; - - up { - label = "Up"; - gpios = <&gpx2 0 0 0 2>; - linux,code = <103>; - }; - - down { - label = "Down"; - gpios = <&gpx2 1 0 0 2>; - linux,code = <108>; - }; - - back { - label = "Back"; - gpios = <&gpx1 7 0 0 2>; - linux,code = <158>; - }; - - home { - label = "Home"; - gpios = <&gpx1 6 0 0 2>; - linux,code = <102>; - }; - - menu { - label = "Menu"; - gpios = <&gpx1 5 0 0 2>; - linux,code = <139>; - }; - }; - - keypad@100A0000 { - status = "disabled"; - }; - - sdhci@12520000 { - status = "disabled"; - }; - - sdhci@12540000 { - status = "disabled"; - }; - - i2c@13860000 { - status = "disabled"; - }; - - i2c@13870000 { - status = "disabled"; - }; - - i2c@13880000 { - status = "disabled"; - }; - - i2c@13890000 { - status = "disabled"; - }; - - i2c@138A0000 { - status = "disabled"; - }; - - i2c@138B0000 { - status = "disabled"; - }; - - i2c@138C0000 { - status = "disabled"; - }; - - i2c@138D0000 { - status = "disabled"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/exynos4210-smdkv310.dts b/kernel/arch/arm/boot/dts/m7300-un-v1/exynos4210-smdkv310.dts deleted file mode 100755 index 27afc8e53..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/exynos4210-smdkv310.dts +++ /dev/null @@ -1,182 +0,0 @@ -/* - * Samsung's Exynos4210 based SMDKV310 board device tree source - * - * Copyright (c) 2010-2011 Samsung Electronics Co., Ltd. - * http://www.samsung.com - * Copyright (c) 2010-2011 Linaro Ltd. - * www.linaro.org - * - * Device tree source file for Samsung's SMDKV310 board which is based on - * Samsung's Exynos4210 SoC. - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. -*/ - -/dts-v1/; -/include/ "exynos4210.dtsi" - -/ { - model = "Samsung smdkv310 evaluation board based on Exynos4210"; - compatible = "samsung,smdkv310", "samsung,exynos4210"; - - memory { - reg = <0x40000000 0x80000000>; - }; - - chosen { - bootargs = "root=/dev/ram0 rw ramdisk=8192 initrd=0x41000000,8M console=ttySAC1,115200 init=/linuxrc"; - }; - - sdhci@12530000 { - samsung,sdhci-bus-width = <4>; - linux,mmc_cap_4_bit_data; - samsung,sdhci-cd-internal; - gpio-cd = <&gpk2 2 2 3 3>; - gpios = <&gpk2 0 2 0 3>, - <&gpk2 1 2 0 3>, - <&gpk2 3 2 3 3>, - <&gpk2 4 2 3 3>, - <&gpk2 5 2 3 3>, - <&gpk2 6 2 3 3>; - }; - - keypad@100A0000 { - samsung,keypad-num-rows = <2>; - samsung,keypad-num-columns = <8>; - linux,keypad-no-autorepeat; - linux,keypad-wakeup; - - row-gpios = <&gpx2 0 3 3 0>, - <&gpx2 1 3 3 0>; - - col-gpios = <&gpx1 0 3 0 0>, - <&gpx1 1 3 0 0>, - <&gpx1 2 3 0 0>, - <&gpx1 3 3 0 0>, - <&gpx1 4 3 0 0>, - <&gpx1 5 3 0 0>, - <&gpx1 6 3 0 0>, - <&gpx1 7 3 0 0>; - - key_1 { - keypad,row = <0>; - keypad,column = <3>; - linux,code = <2>; - }; - - key_2 { - keypad,row = <0>; - keypad,column = <4>; - linux,code = <3>; - }; - - key_3 { - keypad,row = <0>; - keypad,column = <5>; - linux,code = <4>; - }; - - key_4 { - keypad,row = <0>; - keypad,column = <6>; - linux,code = <5>; - }; - - key_5 { - keypad,row = <0>; - keypad,column = <7>; - linux,code = <6>; - }; - - key_a { - keypad,row = <1>; - keypad,column = <3>; - linux,code = <30>; - }; - - key_b { - keypad,row = <1>; - keypad,column = <4>; - linux,code = <48>; - }; - - key_c { - keypad,row = <1>; - keypad,column = <5>; - linux,code = <46>; - }; - - key_d { - keypad,row = <1>; - keypad,column = <6>; - linux,code = <32>; - }; - - key_e { - keypad,row = <1>; - keypad,column = <7>; - linux,code = <18>; - }; - }; - - i2c@13860000 { - #address-cells = <1>; - #size-cells = <0>; - samsung,i2c-sda-delay = <100>; - samsung,i2c-max-bus-freq = <20000>; - gpios = <&gpd1 0 2 3 0>, - <&gpd1 1 2 3 0>; - - eeprom@50 { - compatible = "samsung,24ad0xd1"; - reg = <0x50>; - }; - - eeprom@52 { - compatible = "samsung,24ad0xd1"; - reg = <0x52>; - }; - }; - - sdhci@12510000 { - status = "disabled"; - }; - - sdhci@12520000 { - status = "disabled"; - }; - - sdhci@12540000 { - status = "disabled"; - }; - - i2c@13870000 { - status = "disabled"; - }; - - i2c@13880000 { - status = "disabled"; - }; - - i2c@13890000 { - status = "disabled"; - }; - - i2c@138A0000 { - status = "disabled"; - }; - - i2c@138B0000 { - status = "disabled"; - }; - - i2c@138C0000 { - status = "disabled"; - }; - - i2c@138D0000 { - status = "disabled"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/exynos4210.dtsi b/kernel/arch/arm/boot/dts/m7300-un-v1/exynos4210.dtsi deleted file mode 100755 index a1dd2ee83..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/exynos4210.dtsi +++ /dev/null @@ -1,398 +0,0 @@ -/* - * Samsung's Exynos4210 SoC device tree source - * - * Copyright (c) 2010-2011 Samsung Electronics Co., Ltd. - * http://www.samsung.com - * Copyright (c) 2010-2011 Linaro Ltd. - * www.linaro.org - * - * Samsung's Exynos4210 SoC device nodes are listed in this file. Exynos4210 - * based board files can include this file and provide values for board specfic - * bindings. - * - * Note: This file does not include device nodes for all the controllers in - * Exynos4210 SoC. As device tree coverage for Exynos4210 increases, additional - * nodes can be added to this file. - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. -*/ - -/include/ "skeleton.dtsi" - -/ { - compatible = "samsung,exynos4210"; - interrupt-parent = <&gic>; - - gic:interrupt-controller@10490000 { - compatible = "arm,cortex-a9-gic"; - #interrupt-cells = <3>; - interrupt-controller; - cpu-offset = <0x8000>; - reg = <0x10490000 0x1000>, <0x10480000 0x100>; - }; - - watchdog@10060000 { - compatible = "samsung,s3c2410-wdt"; - reg = <0x10060000 0x100>; - interrupts = <0 43 0>; - }; - - rtc@10070000 { - compatible = "samsung,s3c6410-rtc"; - reg = <0x10070000 0x100>; - interrupts = <0 44 0>, <0 45 0>; - }; - - keypad@100A0000 { - compatible = "samsung,s5pv210-keypad"; - reg = <0x100A0000 0x100>; - interrupts = <0 109 0>; - }; - - sdhci@12510000 { - compatible = "samsung,exynos4210-sdhci"; - reg = <0x12510000 0x100>; - interrupts = <0 73 0>; - }; - - sdhci@12520000 { - compatible = "samsung,exynos4210-sdhci"; - reg = <0x12520000 0x100>; - interrupts = <0 74 0>; - }; - - sdhci@12530000 { - compatible = "samsung,exynos4210-sdhci"; - reg = <0x12530000 0x100>; - interrupts = <0 75 0>; - }; - - sdhci@12540000 { - compatible = "samsung,exynos4210-sdhci"; - reg = <0x12540000 0x100>; - interrupts = <0 76 0>; - }; - - serial@13800000 { - compatible = "samsung,exynos4210-uart"; - reg = <0x13800000 0x100>; - interrupts = <0 52 0>; - }; - - serial@13810000 { - compatible = "samsung,exynos4210-uart"; - reg = <0x13810000 0x100>; - interrupts = <0 53 0>; - }; - - serial@13820000 { - compatible = "samsung,exynos4210-uart"; - reg = <0x13820000 0x100>; - interrupts = <0 54 0>; - }; - - serial@13830000 { - compatible = "samsung,exynos4210-uart"; - reg = <0x13830000 0x100>; - interrupts = <0 55 0>; - }; - - i2c@13860000 { - compatible = "samsung,s3c2440-i2c"; - reg = <0x13860000 0x100>; - interrupts = <0 58 0>; - }; - - i2c@13870000 { - compatible = "samsung,s3c2440-i2c"; - reg = <0x13870000 0x100>; - interrupts = <0 59 0>; - }; - - i2c@13880000 { - compatible = "samsung,s3c2440-i2c"; - reg = <0x13880000 0x100>; - interrupts = <0 60 0>; - }; - - i2c@13890000 { - compatible = "samsung,s3c2440-i2c"; - reg = <0x13890000 0x100>; - interrupts = <0 61 0>; - }; - - i2c@138A0000 { - compatible = "samsung,s3c2440-i2c"; - reg = <0x138A0000 0x100>; - interrupts = <0 62 0>; - }; - - i2c@138B0000 { - compatible = "samsung,s3c2440-i2c"; - reg = <0x138B0000 0x100>; - interrupts = <0 63 0>; - }; - - i2c@138C0000 { - compatible = "samsung,s3c2440-i2c"; - reg = <0x138C0000 0x100>; - interrupts = <0 64 0>; - }; - - i2c@138D0000 { - compatible = "samsung,s3c2440-i2c"; - reg = <0x138D0000 0x100>; - interrupts = <0 65 0>; - }; - - amba { - #address-cells = <1>; - #size-cells = <1>; - compatible = "arm,amba-bus"; - interrupt-parent = <&gic>; - ranges; - - pdma0: pdma@12680000 { - compatible = "arm,pl330", "arm,primecell"; - reg = <0x12680000 0x1000>; - interrupts = <0 35 0>; - }; - - pdma1: pdma@12690000 { - compatible = "arm,pl330", "arm,primecell"; - reg = <0x12690000 0x1000>; - interrupts = <0 36 0>; - }; - }; - - gpio-controllers { - #address-cells = <1>; - #size-cells = <1>; - gpio-controller; - ranges; - - gpa0: gpio-controller@11400000 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400000 0x20>; - #gpio-cells = <4>; - }; - - gpa1: gpio-controller@11400020 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400020 0x20>; - #gpio-cells = <4>; - }; - - gpb: gpio-controller@11400040 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400040 0x20>; - #gpio-cells = <4>; - }; - - gpc0: gpio-controller@11400060 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400060 0x20>; - #gpio-cells = <4>; - }; - - gpc1: gpio-controller@11400080 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400080 0x20>; - #gpio-cells = <4>; - }; - - gpd0: gpio-controller@114000A0 { - compatible = "samsung,exynos4-gpio"; - reg = <0x114000A0 0x20>; - #gpio-cells = <4>; - }; - - gpd1: gpio-controller@114000C0 { - compatible = "samsung,exynos4-gpio"; - reg = <0x114000C0 0x20>; - #gpio-cells = <4>; - }; - - gpe0: gpio-controller@114000E0 { - compatible = "samsung,exynos4-gpio"; - reg = <0x114000E0 0x20>; - #gpio-cells = <4>; - }; - - gpe1: gpio-controller@11400100 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400100 0x20>; - #gpio-cells = <4>; - }; - - gpe2: gpio-controller@11400120 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400120 0x20>; - #gpio-cells = <4>; - }; - - gpe3: gpio-controller@11400140 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400140 0x20>; - #gpio-cells = <4>; - }; - - gpe4: gpio-controller@11400160 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400160 0x20>; - #gpio-cells = <4>; - }; - - gpf0: gpio-controller@11400180 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400180 0x20>; - #gpio-cells = <4>; - }; - - gpf1: gpio-controller@114001A0 { - compatible = "samsung,exynos4-gpio"; - reg = <0x114001A0 0x20>; - #gpio-cells = <4>; - }; - - gpf2: gpio-controller@114001C0 { - compatible = "samsung,exynos4-gpio"; - reg = <0x114001C0 0x20>; - #gpio-cells = <4>; - }; - - gpf3: gpio-controller@114001E0 { - compatible = "samsung,exynos4-gpio"; - reg = <0x114001E0 0x20>; - #gpio-cells = <4>; - }; - - gpj0: gpio-controller@11000000 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11000000 0x20>; - #gpio-cells = <4>; - }; - - gpj1: gpio-controller@11000020 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11000020 0x20>; - #gpio-cells = <4>; - }; - - gpk0: gpio-controller@11000040 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11000040 0x20>; - #gpio-cells = <4>; - }; - - gpk1: gpio-controller@11000060 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11000060 0x20>; - #gpio-cells = <4>; - }; - - gpk2: gpio-controller@11000080 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11000080 0x20>; - #gpio-cells = <4>; - }; - - gpk3: gpio-controller@110000A0 { - compatible = "samsung,exynos4-gpio"; - reg = <0x110000A0 0x20>; - #gpio-cells = <4>; - }; - - gpl0: gpio-controller@110000C0 { - compatible = "samsung,exynos4-gpio"; - reg = <0x110000C0 0x20>; - #gpio-cells = <4>; - }; - - gpl1: gpio-controller@110000E0 { - compatible = "samsung,exynos4-gpio"; - reg = <0x110000E0 0x20>; - #gpio-cells = <4>; - }; - - gpl2: gpio-controller@11000100 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11000100 0x20>; - #gpio-cells = <4>; - }; - - gpy0: gpio-controller@11000120 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11000120 0x20>; - #gpio-cells = <4>; - }; - - gpy1: gpio-controller@11000140 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11000140 0x20>; - #gpio-cells = <4>; - }; - - gpy2: gpio-controller@11000160 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11000160 0x20>; - #gpio-cells = <4>; - }; - - gpy3: gpio-controller@11000180 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11000180 0x20>; - #gpio-cells = <4>; - }; - - gpy4: gpio-controller@110001A0 { - compatible = "samsung,exynos4-gpio"; - reg = <0x110001A0 0x20>; - #gpio-cells = <4>; - }; - - gpy5: gpio-controller@110001C0 { - compatible = "samsung,exynos4-gpio"; - reg = <0x110001C0 0x20>; - #gpio-cells = <4>; - }; - - gpy6: gpio-controller@110001E0 { - compatible = "samsung,exynos4-gpio"; - reg = <0x110001E0 0x20>; - #gpio-cells = <4>; - }; - - gpx0: gpio-controller@11000C00 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11000C00 0x20>; - #gpio-cells = <4>; - }; - - gpx1: gpio-controller@11000C20 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11000C20 0x20>; - #gpio-cells = <4>; - }; - - gpx2: gpio-controller@11000C40 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11000C40 0x20>; - #gpio-cells = <4>; - }; - - gpx3: gpio-controller@11000C60 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11000C60 0x20>; - #gpio-cells = <4>; - }; - - gpz: gpio-controller@03860000 { - compatible = "samsung,exynos4-gpio"; - reg = <0x03860000 0x20>; - #gpio-cells = <4>; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/exynos5250-smdk5250.dts b/kernel/arch/arm/boot/dts/m7300-un-v1/exynos5250-smdk5250.dts deleted file mode 100755 index 399d17b23..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/exynos5250-smdk5250.dts +++ /dev/null @@ -1,26 +0,0 @@ -/* - * SAMSUNG SMDK5250 board device tree source - * - * Copyright (c) 2012 Samsung Electronics Co., Ltd. - * http://www.samsung.com - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. -*/ - -/dts-v1/; -/include/ "exynos5250.dtsi" - -/ { - model = "SAMSUNG SMDK5250 board based on EXYNOS5250"; - compatible = "samsung,smdk5250", "samsung,exynos5250"; - - memory { - reg = <0x40000000 0x80000000>; - }; - - chosen { - bootargs = "root=/dev/ram0 rw ramdisk=8192 console=ttySAC1,115200"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/exynos5250.dtsi b/kernel/arch/arm/boot/dts/m7300-un-v1/exynos5250.dtsi deleted file mode 100755 index dfc433599..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/exynos5250.dtsi +++ /dev/null @@ -1,413 +0,0 @@ -/* - * SAMSUNG EXYNOS5250 SoC device tree source - * - * Copyright (c) 2012 Samsung Electronics Co., Ltd. - * http://www.samsung.com - * - * SAMSUNG EXYNOS5250 SoC device nodes are listed in this file. - * EXYNOS5250 based board files can include this file and provide - * values for board specfic bindings. - * - * Note: This file does not include device nodes for all the controllers in - * EXYNOS5250 SoC. As device tree coverage for EXYNOS5250 increases, - * additional nodes can be added to this file. - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. -*/ - -/include/ "skeleton.dtsi" - -/ { - compatible = "samsung,exynos5250"; - interrupt-parent = <&gic>; - - gic:interrupt-controller@10490000 { - compatible = "arm,cortex-a9-gic"; - #interrupt-cells = <3>; - interrupt-controller; - reg = <0x10490000 0x1000>, <0x10480000 0x100>; - }; - - watchdog { - compatible = "samsung,s3c2410-wdt"; - reg = <0x101D0000 0x100>; - interrupts = <0 42 0>; - }; - - rtc { - compatible = "samsung,s3c6410-rtc"; - reg = <0x101E0000 0x100>; - interrupts = <0 43 0>, <0 44 0>; - }; - - sdhci@12200000 { - compatible = "samsung,exynos4210-sdhci"; - reg = <0x12200000 0x100>; - interrupts = <0 75 0>; - }; - - sdhci@12210000 { - compatible = "samsung,exynos4210-sdhci"; - reg = <0x12210000 0x100>; - interrupts = <0 76 0>; - }; - - sdhci@12220000 { - compatible = "samsung,exynos4210-sdhci"; - reg = <0x12220000 0x100>; - interrupts = <0 77 0>; - }; - - sdhci@12230000 { - compatible = "samsung,exynos4210-sdhci"; - reg = <0x12230000 0x100>; - interrupts = <0 78 0>; - }; - - serial@12C00000 { - compatible = "samsung,exynos4210-uart"; - reg = <0x12C00000 0x100>; - interrupts = <0 51 0>; - }; - - serial@12C10000 { - compatible = "samsung,exynos4210-uart"; - reg = <0x12C10000 0x100>; - interrupts = <0 52 0>; - }; - - serial@12C20000 { - compatible = "samsung,exynos4210-uart"; - reg = <0x12C20000 0x100>; - interrupts = <0 53 0>; - }; - - serial@12C30000 { - compatible = "samsung,exynos4210-uart"; - reg = <0x12C30000 0x100>; - interrupts = <0 54 0>; - }; - - i2c@12C60000 { - compatible = "samsung,s3c2440-i2c"; - reg = <0x12C60000 0x100>; - interrupts = <0 56 0>; - }; - - i2c@12C70000 { - compatible = "samsung,s3c2440-i2c"; - reg = <0x12C70000 0x100>; - interrupts = <0 57 0>; - }; - - i2c@12C80000 { - compatible = "samsung,s3c2440-i2c"; - reg = <0x12C80000 0x100>; - interrupts = <0 58 0>; - }; - - i2c@12C90000 { - compatible = "samsung,s3c2440-i2c"; - reg = <0x12C90000 0x100>; - interrupts = <0 59 0>; - }; - - i2c@12CA0000 { - compatible = "samsung,s3c2440-i2c"; - reg = <0x12CA0000 0x100>; - interrupts = <0 60 0>; - }; - - i2c@12CB0000 { - compatible = "samsung,s3c2440-i2c"; - reg = <0x12CB0000 0x100>; - interrupts = <0 61 0>; - }; - - i2c@12CC0000 { - compatible = "samsung,s3c2440-i2c"; - reg = <0x12CC0000 0x100>; - interrupts = <0 62 0>; - }; - - i2c@12CD0000 { - compatible = "samsung,s3c2440-i2c"; - reg = <0x12CD0000 0x100>; - interrupts = <0 63 0>; - }; - - amba { - #address-cells = <1>; - #size-cells = <1>; - compatible = "arm,amba-bus"; - interrupt-parent = <&gic>; - ranges; - - pdma0: pdma@121A0000 { - compatible = "arm,pl330", "arm,primecell"; - reg = <0x121A0000 0x1000>; - interrupts = <0 34 0>; - }; - - pdma1: pdma@121B0000 { - compatible = "arm,pl330", "arm,primecell"; - reg = <0x121B0000 0x1000>; - interrupts = <0 35 0>; - }; - - mdma0: pdma@10800000 { - compatible = "arm,pl330", "arm,primecell"; - reg = <0x10800000 0x1000>; - interrupts = <0 33 0>; - }; - - mdma1: pdma@11C10000 { - compatible = "arm,pl330", "arm,primecell"; - reg = <0x11C10000 0x1000>; - interrupts = <0 124 0>; - }; - }; - - gpio-controllers { - #address-cells = <1>; - #size-cells = <1>; - gpio-controller; - ranges; - - gpa0: gpio-controller@11400000 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400000 0x20>; - #gpio-cells = <4>; - }; - - gpa1: gpio-controller@11400020 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400020 0x20>; - #gpio-cells = <4>; - }; - - gpa2: gpio-controller@11400040 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400040 0x20>; - #gpio-cells = <4>; - }; - - gpb0: gpio-controller@11400060 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400060 0x20>; - #gpio-cells = <4>; - }; - - gpb1: gpio-controller@11400080 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400080 0x20>; - #gpio-cells = <4>; - }; - - gpb2: gpio-controller@114000A0 { - compatible = "samsung,exynos4-gpio"; - reg = <0x114000A0 0x20>; - #gpio-cells = <4>; - }; - - gpb3: gpio-controller@114000C0 { - compatible = "samsung,exynos4-gpio"; - reg = <0x114000C0 0x20>; - #gpio-cells = <4>; - }; - - gpc0: gpio-controller@114000E0 { - compatible = "samsung,exynos4-gpio"; - reg = <0x114000E0 0x20>; - #gpio-cells = <4>; - }; - - gpc1: gpio-controller@11400100 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400100 0x20>; - #gpio-cells = <4>; - }; - - gpc2: gpio-controller@11400120 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400120 0x20>; - #gpio-cells = <4>; - }; - - gpc3: gpio-controller@11400140 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400140 0x20>; - #gpio-cells = <4>; - }; - - gpd0: gpio-controller@11400160 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400160 0x20>; - #gpio-cells = <4>; - }; - - gpd1: gpio-controller@11400180 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400180 0x20>; - #gpio-cells = <4>; - }; - - gpy0: gpio-controller@114001A0 { - compatible = "samsung,exynos4-gpio"; - reg = <0x114001A0 0x20>; - #gpio-cells = <4>; - }; - - gpy1: gpio-controller@114001C0 { - compatible = "samsung,exynos4-gpio"; - reg = <0x114001C0 0x20>; - #gpio-cells = <4>; - }; - - gpy2: gpio-controller@114001E0 { - compatible = "samsung,exynos4-gpio"; - reg = <0x114001E0 0x20>; - #gpio-cells = <4>; - }; - - gpy3: gpio-controller@11400200 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400200 0x20>; - #gpio-cells = <4>; - }; - - gpy4: gpio-controller@11400220 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400220 0x20>; - #gpio-cells = <4>; - }; - - gpy5: gpio-controller@11400240 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400240 0x20>; - #gpio-cells = <4>; - }; - - gpy6: gpio-controller@11400260 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400260 0x20>; - #gpio-cells = <4>; - }; - - gpx0: gpio-controller@11400C00 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400C00 0x20>; - #gpio-cells = <4>; - }; - - gpx1: gpio-controller@11400C20 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400C20 0x20>; - #gpio-cells = <4>; - }; - - gpx2: gpio-controller@11400C40 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400C40 0x20>; - #gpio-cells = <4>; - }; - - gpx3: gpio-controller@11400C60 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400C60 0x20>; - #gpio-cells = <4>; - }; - - gpe0: gpio-controller@13400000 { - compatible = "samsung,exynos4-gpio"; - reg = <0x13400000 0x20>; - #gpio-cells = <4>; - }; - - gpe1: gpio-controller@13400020 { - compatible = "samsung,exynos4-gpio"; - reg = <0x13400020 0x20>; - #gpio-cells = <4>; - }; - - gpf0: gpio-controller@13400040 { - compatible = "samsung,exynos4-gpio"; - reg = <0x13400040 0x20>; - #gpio-cells = <4>; - }; - - gpf1: gpio-controller@13400060 { - compatible = "samsung,exynos4-gpio"; - reg = <0x13400060 0x20>; - #gpio-cells = <4>; - }; - - gpg0: gpio-controller@13400080 { - compatible = "samsung,exynos4-gpio"; - reg = <0x13400080 0x20>; - #gpio-cells = <4>; - }; - - gpg1: gpio-controller@134000A0 { - compatible = "samsung,exynos4-gpio"; - reg = <0x134000A0 0x20>; - #gpio-cells = <4>; - }; - - gpg2: gpio-controller@134000C0 { - compatible = "samsung,exynos4-gpio"; - reg = <0x134000C0 0x20>; - #gpio-cells = <4>; - }; - - gph0: gpio-controller@134000E0 { - compatible = "samsung,exynos4-gpio"; - reg = <0x134000E0 0x20>; - #gpio-cells = <4>; - }; - - gph1: gpio-controller@13400100 { - compatible = "samsung,exynos4-gpio"; - reg = <0x13400100 0x20>; - #gpio-cells = <4>; - }; - - gpv0: gpio-controller@10D10000 { - compatible = "samsung,exynos4-gpio"; - reg = <0x10D10000 0x20>; - #gpio-cells = <4>; - }; - - gpv1: gpio-controller@10D10020 { - compatible = "samsung,exynos4-gpio"; - reg = <0x10D10020 0x20>; - #gpio-cells = <4>; - }; - - gpv2: gpio-controller@10D10040 { - compatible = "samsung,exynos4-gpio"; - reg = <0x10D10040 0x20>; - #gpio-cells = <4>; - }; - - gpv3: gpio-controller@10D10060 { - compatible = "samsung,exynos4-gpio"; - reg = <0x10D10060 0x20>; - #gpio-cells = <4>; - }; - - gpv4: gpio-controller@10D10080 { - compatible = "samsung,exynos4-gpio"; - reg = <0x10D10080 0x20>; - #gpio-cells = <4>; - }; - - gpz: gpio-controller@03860000 { - compatible = "samsung,exynos4-gpio"; - reg = <0x03860000 0x20>; - #gpio-cells = <4>; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/fsm9900-rumi.dts b/kernel/arch/arm/boot/dts/m7300-un-v1/fsm9900-rumi.dts deleted file mode 100755 index 2b380c7b3..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/fsm9900-rumi.dts +++ /dev/null @@ -1,31 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; - -/include/ "fsm9900.dtsi" - -/ { - model = "Qualcomm FSM9900 Rumi"; - compatible = "qcom,fsm9900-rumi", "qcom,fsm9900", "qcom-sim"; - qcom,msm-id = <188 0 0>; - - aliases { - serial0 = &uart0; - }; -}; - -&soc { - uart0: serial@f9960000 { - status = "ok"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/fsm9900-sim.dts b/kernel/arch/arm/boot/dts/m7300-un-v1/fsm9900-sim.dts deleted file mode 100755 index 050929e60..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/fsm9900-sim.dts +++ /dev/null @@ -1,32 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; - -/include/ "fsm9900.dtsi" - -/ { - model = "Qualcomm FSM9900 Simulator"; - compatible = "qcom,fsm9900-sim", "qcom,fsm9900", "qcom-sim"; - qcom,msm-id = <188 0 0>; - - aliases { - serial0 = &uart0; - }; -}; - -&soc { - uart0: serial@f9960000 { - interrupts = <0 116 0>; - status = "ok"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/fsm9900.dtsi b/kernel/arch/arm/boot/dts/m7300-un-v1/fsm9900.dtsi deleted file mode 100755 index 766db368d..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/fsm9900.dtsi +++ /dev/null @@ -1,94 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/include/ "skeleton64.dtsi" - -/ { - model = "Qualcomm FSM9900"; - compatible = "qcom,fsm9900"; - interrupt-parent = <&intc>; - soc: soc { }; -}; - -&soc { - #address-cells = <1>; - #size-cells = <1>; - ranges = <0 0 0 0xffffffff>; - - intc: interrupt-controller@f9000000 { - compatible = "qcom,msm-qgic2"; - interrupt-controller; - #interrupt-cells = <3>; - reg = <0xF9000000 0x1000>, - <0xF9002000 0x1000>; - }; - - msmgpio: gpio@fd510000 { - compatible = "qcom,msm-gpio"; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - reg = <0xfd510000 0x4000>; - ngpio = <142>; - interrupts = <0 208 0>; - qcom,direct-connect-irqs = <5>; - }; - - timer { - compatible = "arm,armv7-timer"; - interrupts = <1 2 0 1 3 0>; - clock-frequency = <19200000>; - }; - - serial@f9960000 { - compatible = "qcom,msm-lsuart-v14"; - reg = <0xf9960000 0x1000>; - interrupts = <0 104 0>; - status = "disabled"; - }; - - cpu-pmu { - compatible = "qcom,krait-pmu"; - qcom,irq-is-percpu; - interrupts = <1 7 0xf00>; - }; - - qcom,msm-imem@fe805000 { - compatible = "qcom,msm-imem"; - reg = <0xfe805000 0x1000>; /* Address and size of IMEM */ - }; - - qcom,cache_erp { - compatible = "qcom,cache_erp"; - interrupts = <1 9 0>, <0 2 0>; - interrupt-names = "l1_irq", "l2_irq"; - }; - - qcom,cache_dump { - compatible = "qcom,cache_dump"; - qcom,l1-dump-size = <0x100000>; - qcom,l2-dump-size = <0x500000>; - qcom,memory-reservation-type = "EBI1"; - qcom,memory-reservation-size = <0x600000>; /* 6M EBI1 buffer */ - }; - - qcom,ion { - compatible = "qcom,msm-ion"; - #address-cells = <1>; - #size-cells = <0>; - - qcom,ion-heap@30 { /* SYSTEM HEAP */ - reg = <30>; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/highbank.dts b/kernel/arch/arm/boot/dts/m7300-un-v1/highbank.dts deleted file mode 100755 index 83e72294a..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/highbank.dts +++ /dev/null @@ -1,209 +0,0 @@ -/* - * Copyright 2011 Calxeda, Inc. - * - * This program is free software; you can redistribute it and/or modify it - * under the terms and conditions of the GNU General Public License, - * version 2, as published by the Free Software Foundation. - * - * This program is distributed in the hope 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. - * - * You should have received a copy of the GNU General Public License along with - * this program. If not, see . - */ - -/dts-v1/; - -/* First 4KB has pen for secondary cores. */ -/memreserve/ 0x00000000 0x0001000; - -/ { - model = "Calxeda Highbank"; - compatible = "calxeda,highbank"; - #address-cells = <1>; - #size-cells = <1>; - - cpus { - #address-cells = <1>; - #size-cells = <0>; - - cpu@0 { - compatible = "arm,cortex-a9"; - reg = <0>; - next-level-cache = <&L2>; - }; - - cpu@1 { - compatible = "arm,cortex-a9"; - reg = <1>; - next-level-cache = <&L2>; - }; - - cpu@2 { - compatible = "arm,cortex-a9"; - reg = <2>; - next-level-cache = <&L2>; - }; - - cpu@3 { - compatible = "arm,cortex-a9"; - reg = <3>; - next-level-cache = <&L2>; - }; - }; - - memory { - name = "memory"; - device_type = "memory"; - reg = <0x00000000 0xff900000>; - }; - - chosen { - bootargs = "console=ttyAMA0"; - }; - - soc { - #address-cells = <1>; - #size-cells = <1>; - compatible = "simple-bus"; - interrupt-parent = <&intc>; - ranges; - - timer@fff10600 { - compatible = "arm,cortex-a9-twd-timer"; - reg = <0xfff10600 0x20>; - interrupts = <1 13 0xf01>; - }; - - watchdog@fff10620 { - compatible = "arm,cortex-a9-twd-wdt"; - reg = <0xfff10620 0x20>; - interrupts = <1 14 0xf01>; - }; - - intc: interrupt-controller@fff11000 { - compatible = "arm,cortex-a9-gic"; - #interrupt-cells = <3>; - #size-cells = <0>; - #address-cells = <1>; - interrupt-controller; - reg = <0xfff11000 0x1000>, - <0xfff10100 0x100>; - }; - - L2: l2-cache { - compatible = "arm,pl310-cache"; - reg = <0xfff12000 0x1000>; - interrupts = <0 70 4>; - cache-unified; - cache-level = <2>; - }; - - pmu { - compatible = "arm,cortex-a9-pmu"; - interrupts = <0 76 4 0 75 4 0 74 4 0 73 4>; - }; - - sata@ffe08000 { - compatible = "calxeda,hb-ahci"; - reg = <0xffe08000 0x10000>; - interrupts = <0 83 4>; - }; - - sdhci@ffe0e000 { - compatible = "calxeda,hb-sdhci"; - reg = <0xffe0e000 0x1000>; - interrupts = <0 90 4>; - }; - - ipc@fff20000 { - compatible = "arm,pl320", "arm,primecell"; - reg = <0xfff20000 0x1000>; - interrupts = <0 7 4>; - }; - - gpioe: gpio@fff30000 { - #gpio-cells = <2>; - compatible = "arm,pl061", "arm,primecell"; - gpio-controller; - reg = <0xfff30000 0x1000>; - interrupts = <0 14 4>; - }; - - gpiof: gpio@fff31000 { - #gpio-cells = <2>; - compatible = "arm,pl061", "arm,primecell"; - gpio-controller; - reg = <0xfff31000 0x1000>; - interrupts = <0 15 4>; - }; - - gpiog: gpio@fff32000 { - #gpio-cells = <2>; - compatible = "arm,pl061", "arm,primecell"; - gpio-controller; - reg = <0xfff32000 0x1000>; - interrupts = <0 16 4>; - }; - - gpioh: gpio@fff33000 { - #gpio-cells = <2>; - compatible = "arm,pl061", "arm,primecell"; - gpio-controller; - reg = <0xfff33000 0x1000>; - interrupts = <0 17 4>; - }; - - timer { - compatible = "arm,sp804", "arm,primecell"; - reg = <0xfff34000 0x1000>; - interrupts = <0 18 4>; - }; - - rtc@fff35000 { - compatible = "arm,pl031", "arm,primecell"; - reg = <0xfff35000 0x1000>; - interrupts = <0 19 4>; - }; - - serial@fff36000 { - compatible = "arm,pl011", "arm,primecell"; - reg = <0xfff36000 0x1000>; - interrupts = <0 20 4>; - }; - - smic@fff3a000 { - compatible = "ipmi-smic"; - device_type = "ipmi"; - reg = <0xfff3a000 0x1000>; - interrupts = <0 24 4>; - reg-size = <4>; - reg-spacing = <4>; - }; - - sregs@fff3c000 { - compatible = "calxeda,hb-sregs"; - reg = <0xfff3c000 0x1000>; - }; - - dma@fff3d000 { - compatible = "arm,pl330", "arm,primecell"; - reg = <0xfff3d000 0x1000>; - interrupts = <0 92 4>; - }; - - ethernet@fff50000 { - compatible = "calxeda,hb-xgmac"; - reg = <0xfff50000 0x1000>; - interrupts = <0 77 4 0 78 4 0 79 4>; - }; - - ethernet@fff51000 { - compatible = "calxeda,hb-xgmac"; - reg = <0xfff51000 0x1000>; - interrupts = <0 80 4 0 81 4 0 82 4>; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/imx27-phytec-phycore.dts b/kernel/arch/arm/boot/dts/m7300-un-v1/imx27-phytec-phycore.dts deleted file mode 100755 index a51a08fc2..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/imx27-phytec-phycore.dts +++ /dev/null @@ -1,76 +0,0 @@ -/* - * Copyright 2012 Sascha Hauer, Pengutronix - * - * The code contained herein is licensed under the GNU General Public - * License. You may obtain a copy of the GNU General Public License - * Version 2 or later at the following locations: - * - * http://www.opensource.org/licenses/gpl-license.html - * http://www.gnu.org/copyleft/gpl.html - */ - -/dts-v1/; -/include/ "imx27.dtsi" - -/ { - model = "Phytec pcm038"; - compatible = "phytec,imx27-pcm038", "fsl,imx27"; - - memory { - reg = <0x0 0x0>; - }; - - soc { - aipi@10000000 { /* aipi */ - - wdog@10002000 { - status = "okay"; - }; - - uart@1000a000 { - fsl,uart-has-rtscts; - status = "okay"; - }; - - uart@1000b000 { - fsl,uart-has-rtscts; - status = "okay"; - }; - - uart@1000c000 { - fsl,uart-has-rtscts; - status = "okay"; - }; - - fec@1002b000 { - status = "okay"; - }; - - i2c@1001d000 { - clock-frequency = <400000>; - status = "okay"; - at24@4c { - compatible = "at,24c32"; - pagesize = <32>; - reg = <0x52>; - }; - pcf8563@51 { - compatible = "nxp,pcf8563"; - reg = <0x51>; - }; - lm75@4a { - compatible = "national,lm75"; - reg = <0x4a>; - }; - }; - }; - }; - - nor_flash@c0000000 { - compatible = "cfi-flash"; - bank-width = <2>; - reg = <0xc0000000 0x02000000>; - #address-cells = <1>; - #size-cells = <1>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/imx27.dtsi b/kernel/arch/arm/boot/dts/m7300-un-v1/imx27.dtsi deleted file mode 100755 index bc5e7d5dd..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/imx27.dtsi +++ /dev/null @@ -1,217 +0,0 @@ -/* - * Copyright 2012 Sascha Hauer, Pengutronix - * - * The code contained herein is licensed under the GNU General Public - * License. You may obtain a copy of the GNU General Public License - * Version 2 or later at the following locations: - * - * http://www.opensource.org/licenses/gpl-license.html - * http://www.gnu.org/copyleft/gpl.html - */ - -/include/ "skeleton.dtsi" - -/ { - aliases { - serial0 = &uart1; - serial1 = &uart2; - serial2 = &uart3; - serial3 = &uart4; - serial4 = &uart5; - serial5 = &uart6; - }; - - avic: avic-interrupt-controller@e0000000 { - compatible = "fsl,imx27-avic", "fsl,avic"; - interrupt-controller; - #interrupt-cells = <1>; - reg = <0x10040000 0x1000>; - }; - - clocks { - #address-cells = <1>; - #size-cells = <0>; - - osc26m { - compatible = "fsl,imx-osc26m", "fixed-clock"; - clock-frequency = <26000000>; - }; - }; - - soc { - #address-cells = <1>; - #size-cells = <1>; - compatible = "simple-bus"; - interrupt-parent = <&avic>; - ranges; - - aipi@10000000 { /* AIPI1 */ - compatible = "fsl,aipi-bus", "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0x10000000 0x10000000>; - ranges; - - wdog@10002000 { - compatible = "fsl,imx27-wdt", "fsl,imx21-wdt"; - reg = <0x10002000 0x4000>; - interrupts = <27>; - status = "disabled"; - }; - - uart1: uart@1000a000 { - compatible = "fsl,imx27-uart", "fsl,imx21-uart"; - reg = <0x1000a000 0x1000>; - interrupts = <20>; - status = "disabled"; - }; - - uart2: uart@1000b000 { - compatible = "fsl,imx27-uart", "fsl,imx21-uart"; - reg = <0x1000b000 0x1000>; - interrupts = <19>; - status = "disabled"; - }; - - uart3: uart@1000c000 { - compatible = "fsl,imx27-uart", "fsl,imx21-uart"; - reg = <0x1000c000 0x1000>; - interrupts = <18>; - status = "disabled"; - }; - - uart4: uart@1000d000 { - compatible = "fsl,imx27-uart", "fsl,imx21-uart"; - reg = <0x1000d000 0x1000>; - interrupts = <17>; - status = "disabled"; - }; - - cspi1: cspi@1000e000 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx27-cspi"; - reg = <0x1000e000 0x1000>; - interrupts = <16>; - status = "disabled"; - }; - - cspi2: cspi@1000f000 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx27-cspi"; - reg = <0x1000f000 0x1000>; - interrupts = <15>; - status = "disabled"; - }; - - i2c1: i2c@10012000 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx27-i2c", "fsl,imx1-i2c"; - reg = <0x10012000 0x1000>; - interrupts = <12>; - status = "disabled"; - }; - - gpio1: gpio@10015000 { - compatible = "fsl,imx27-gpio", "fsl,imx21-gpio"; - reg = <0x10015000 0x100>; - interrupts = <8>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - gpio2: gpio@10015100 { - compatible = "fsl,imx27-gpio", "fsl,imx21-gpio"; - reg = <0x10015100 0x100>; - interrupts = <8>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - gpio3: gpio@10015200 { - compatible = "fsl,imx27-gpio", "fsl,imx21-gpio"; - reg = <0x10015200 0x100>; - interrupts = <8>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - gpio4: gpio@10015300 { - compatible = "fsl,imx27-gpio", "fsl,imx21-gpio"; - reg = <0x10015300 0x100>; - interrupts = <8>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - gpio5: gpio@10015400 { - compatible = "fsl,imx27-gpio", "fsl,imx21-gpio"; - reg = <0x10015400 0x100>; - interrupts = <8>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - gpio6: gpio@10015500 { - compatible = "fsl,imx27-gpio", "fsl,imx21-gpio"; - reg = <0x10015500 0x100>; - interrupts = <8>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - cspi3: cspi@10017000 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx27-cspi"; - reg = <0x10017000 0x1000>; - interrupts = <6>; - status = "disabled"; - }; - - uart5: uart@1001b000 { - compatible = "fsl,imx27-uart", "fsl,imx21-uart"; - reg = <0x1001b000 0x1000>; - interrupts = <49>; - status = "disabled"; - }; - - uart6: uart@1001c000 { - compatible = "fsl,imx27-uart", "fsl,imx21-uart"; - reg = <0x1001c000 0x1000>; - interrupts = <48>; - status = "disabled"; - }; - - i2c2: i2c@1001d000 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx27-i2c", "fsl,imx1-i2c"; - reg = <0x1001d000 0x1000>; - interrupts = <1>; - status = "disabled"; - }; - - fec: fec@1002b000 { - compatible = "fsl,imx27-fec"; - reg = <0x1002b000 0x4000>; - interrupts = <50>; - status = "disabled"; - }; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/imx51-babbage.dts b/kernel/arch/arm/boot/dts/m7300-un-v1/imx51-babbage.dts deleted file mode 100755 index 9949e6060..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/imx51-babbage.dts +++ /dev/null @@ -1,221 +0,0 @@ -/* - * Copyright 2011 Freescale Semiconductor, Inc. - * Copyright 2011 Linaro Ltd. - * - * The code contained herein is licensed under the GNU General Public - * License. You may obtain a copy of the GNU General Public License - * Version 2 or later at the following locations: - * - * http://www.opensource.org/licenses/gpl-license.html - * http://www.gnu.org/copyleft/gpl.html - */ - -/dts-v1/; -/include/ "imx51.dtsi" - -/ { - model = "Freescale i.MX51 Babbage Board"; - compatible = "fsl,imx51-babbage", "fsl,imx51"; - - chosen { - bootargs = "console=ttymxc0,115200 root=/dev/mmcblk0p3 rootwait"; - }; - - memory { - reg = <0x90000000 0x20000000>; - }; - - soc { - aips@70000000 { /* aips-1 */ - spba@70000000 { - esdhc@70004000 { /* ESDHC1 */ - fsl,cd-internal; - fsl,wp-internal; - status = "okay"; - }; - - esdhc@70008000 { /* ESDHC2 */ - cd-gpios = <&gpio1 6 0>; - wp-gpios = <&gpio1 5 0>; - status = "okay"; - }; - - uart3: uart@7000c000 { - fsl,uart-has-rtscts; - status = "okay"; - }; - - ecspi@70010000 { /* ECSPI1 */ - fsl,spi-num-chipselects = <2>; - cs-gpios = <&gpio4 24 0>, <&gpio4 25 0>; - status = "okay"; - - pmic: mc13892@0 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,mc13892"; - spi-max-frequency = <6000000>; - reg = <0>; - interrupt-parent = <&gpio1>; - interrupts = <8>; - - regulators { - sw1_reg: sw1 { - regulator-min-microvolt = <600000>; - regulator-max-microvolt = <1375000>; - regulator-boot-on; - regulator-always-on; - }; - - sw2_reg: sw2 { - regulator-min-microvolt = <900000>; - regulator-max-microvolt = <1850000>; - regulator-boot-on; - regulator-always-on; - }; - - sw3_reg: sw3 { - regulator-min-microvolt = <1100000>; - regulator-max-microvolt = <1850000>; - regulator-boot-on; - regulator-always-on; - }; - - sw4_reg: sw4 { - regulator-min-microvolt = <1100000>; - regulator-max-microvolt = <1850000>; - regulator-boot-on; - regulator-always-on; - }; - - vpll_reg: vpll { - regulator-min-microvolt = <1050000>; - regulator-max-microvolt = <1800000>; - regulator-boot-on; - regulator-always-on; - }; - - vdig_reg: vdig { - regulator-min-microvolt = <1650000>; - regulator-max-microvolt = <1650000>; - regulator-boot-on; - }; - - vsd_reg: vsd { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <3150000>; - }; - - vusb2_reg: vusb2 { - regulator-min-microvolt = <2400000>; - regulator-max-microvolt = <2775000>; - regulator-boot-on; - regulator-always-on; - }; - - vvideo_reg: vvideo { - regulator-min-microvolt = <2775000>; - regulator-max-microvolt = <2775000>; - }; - - vaudio_reg: vaudio { - regulator-min-microvolt = <2300000>; - regulator-max-microvolt = <3000000>; - }; - - vcam_reg: vcam { - regulator-min-microvolt = <2500000>; - regulator-max-microvolt = <3000000>; - }; - - vgen1_reg: vgen1 { - regulator-min-microvolt = <1200000>; - regulator-max-microvolt = <1200000>; - }; - - vgen2_reg: vgen2 { - regulator-min-microvolt = <1200000>; - regulator-max-microvolt = <3150000>; - regulator-always-on; - }; - - vgen3_reg: vgen3 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <2900000>; - regulator-always-on; - }; - }; - }; - - flash: at45db321d@1 { - #address-cells = <1>; - #size-cells = <1>; - compatible = "atmel,at45db321d", "atmel,at45", "atmel,dataflash"; - spi-max-frequency = <25000000>; - reg = <1>; - - partition@0 { - label = "U-Boot"; - reg = <0x0 0x40000>; - read-only; - }; - - partition@40000 { - label = "Kernel"; - reg = <0x40000 0x3c0000>; - }; - }; - }; - }; - - wdog@73f98000 { /* WDOG1 */ - status = "okay"; - }; - - iomuxc@73fa8000 { - compatible = "fsl,imx51-iomuxc-babbage"; - reg = <0x73fa8000 0x4000>; - }; - - uart1: uart@73fbc000 { - fsl,uart-has-rtscts; - status = "okay"; - }; - - uart2: uart@73fc0000 { - status = "okay"; - }; - }; - - aips@80000000 { /* aips-2 */ - sdma@83fb0000 { - fsl,sdma-ram-script-name = "imx/sdma/sdma-imx51.bin"; - }; - - i2c@83fc4000 { /* I2C2 */ - status = "okay"; - - codec: sgtl5000@0a { - compatible = "fsl,sgtl5000"; - reg = <0x0a>; - }; - }; - - fec@83fec000 { - phy-mode = "mii"; - status = "okay"; - }; - }; - }; - - gpio-keys { - compatible = "gpio-keys"; - - power { - label = "Power Button"; - gpios = <&gpio2 21 0>; - linux,code = <116>; /* KEY_POWER */ - gpio-key,wakeup; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/imx51.dtsi b/kernel/arch/arm/boot/dts/m7300-un-v1/imx51.dtsi deleted file mode 100755 index 6663986fe..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/imx51.dtsi +++ /dev/null @@ -1,246 +0,0 @@ -/* - * Copyright 2011 Freescale Semiconductor, Inc. - * Copyright 2011 Linaro Ltd. - * - * The code contained herein is licensed under the GNU General Public - * License. You may obtain a copy of the GNU General Public License - * Version 2 or later at the following locations: - * - * http://www.opensource.org/licenses/gpl-license.html - * http://www.gnu.org/copyleft/gpl.html - */ - -/include/ "skeleton.dtsi" - -/ { - aliases { - serial0 = &uart1; - serial1 = &uart2; - serial2 = &uart3; - }; - - tzic: tz-interrupt-controller@e0000000 { - compatible = "fsl,imx51-tzic", "fsl,tzic"; - interrupt-controller; - #interrupt-cells = <1>; - reg = <0xe0000000 0x4000>; - }; - - clocks { - #address-cells = <1>; - #size-cells = <0>; - - ckil { - compatible = "fsl,imx-ckil", "fixed-clock"; - clock-frequency = <32768>; - }; - - ckih1 { - compatible = "fsl,imx-ckih1", "fixed-clock"; - clock-frequency = <22579200>; - }; - - ckih2 { - compatible = "fsl,imx-ckih2", "fixed-clock"; - clock-frequency = <0>; - }; - - osc { - compatible = "fsl,imx-osc", "fixed-clock"; - clock-frequency = <24000000>; - }; - }; - - soc { - #address-cells = <1>; - #size-cells = <1>; - compatible = "simple-bus"; - interrupt-parent = <&tzic>; - ranges; - - aips@70000000 { /* AIPS1 */ - compatible = "fsl,aips-bus", "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0x70000000 0x10000000>; - ranges; - - spba@70000000 { - compatible = "fsl,spba-bus", "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0x70000000 0x40000>; - ranges; - - esdhc@70004000 { /* ESDHC1 */ - compatible = "fsl,imx51-esdhc"; - reg = <0x70004000 0x4000>; - interrupts = <1>; - status = "disabled"; - }; - - esdhc@70008000 { /* ESDHC2 */ - compatible = "fsl,imx51-esdhc"; - reg = <0x70008000 0x4000>; - interrupts = <2>; - status = "disabled"; - }; - - uart3: uart@7000c000 { - compatible = "fsl,imx51-uart", "fsl,imx21-uart"; - reg = <0x7000c000 0x4000>; - interrupts = <33>; - status = "disabled"; - }; - - ecspi@70010000 { /* ECSPI1 */ - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx51-ecspi"; - reg = <0x70010000 0x4000>; - interrupts = <36>; - status = "disabled"; - }; - - esdhc@70020000 { /* ESDHC3 */ - compatible = "fsl,imx51-esdhc"; - reg = <0x70020000 0x4000>; - interrupts = <3>; - status = "disabled"; - }; - - esdhc@70024000 { /* ESDHC4 */ - compatible = "fsl,imx51-esdhc"; - reg = <0x70024000 0x4000>; - interrupts = <4>; - status = "disabled"; - }; - }; - - gpio1: gpio@73f84000 { - compatible = "fsl,imx51-gpio", "fsl,imx31-gpio"; - reg = <0x73f84000 0x4000>; - interrupts = <50 51>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - gpio2: gpio@73f88000 { - compatible = "fsl,imx51-gpio", "fsl,imx31-gpio"; - reg = <0x73f88000 0x4000>; - interrupts = <52 53>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - gpio3: gpio@73f8c000 { - compatible = "fsl,imx51-gpio", "fsl,imx31-gpio"; - reg = <0x73f8c000 0x4000>; - interrupts = <54 55>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - gpio4: gpio@73f90000 { - compatible = "fsl,imx51-gpio", "fsl,imx31-gpio"; - reg = <0x73f90000 0x4000>; - interrupts = <56 57>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - wdog@73f98000 { /* WDOG1 */ - compatible = "fsl,imx51-wdt", "fsl,imx21-wdt"; - reg = <0x73f98000 0x4000>; - interrupts = <58>; - status = "disabled"; - }; - - wdog@73f9c000 { /* WDOG2 */ - compatible = "fsl,imx51-wdt", "fsl,imx21-wdt"; - reg = <0x73f9c000 0x4000>; - interrupts = <59>; - status = "disabled"; - }; - - uart1: uart@73fbc000 { - compatible = "fsl,imx51-uart", "fsl,imx21-uart"; - reg = <0x73fbc000 0x4000>; - interrupts = <31>; - status = "disabled"; - }; - - uart2: uart@73fc0000 { - compatible = "fsl,imx51-uart", "fsl,imx21-uart"; - reg = <0x73fc0000 0x4000>; - interrupts = <32>; - status = "disabled"; - }; - }; - - aips@80000000 { /* AIPS2 */ - compatible = "fsl,aips-bus", "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0x80000000 0x10000000>; - ranges; - - ecspi@83fac000 { /* ECSPI2 */ - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx51-ecspi"; - reg = <0x83fac000 0x4000>; - interrupts = <37>; - status = "disabled"; - }; - - sdma@83fb0000 { - compatible = "fsl,imx51-sdma", "fsl,imx35-sdma"; - reg = <0x83fb0000 0x4000>; - interrupts = <6>; - }; - - cspi@83fc0000 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx51-cspi", "fsl,imx35-cspi"; - reg = <0x83fc0000 0x4000>; - interrupts = <38>; - status = "disabled"; - }; - - i2c@83fc4000 { /* I2C2 */ - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx51-i2c", "fsl,imx1-i2c"; - reg = <0x83fc4000 0x4000>; - interrupts = <63>; - status = "disabled"; - }; - - i2c@83fc8000 { /* I2C1 */ - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx51-i2c", "fsl,imx1-i2c"; - reg = <0x83fc8000 0x4000>; - interrupts = <62>; - status = "disabled"; - }; - - fec@83fec000 { - compatible = "fsl,imx51-fec", "fsl,imx27-fec"; - reg = <0x83fec000 0x4000>; - interrupts = <87>; - status = "disabled"; - }; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/imx53-ard.dts b/kernel/arch/arm/boot/dts/m7300-un-v1/imx53-ard.dts deleted file mode 100755 index 2dccce46e..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/imx53-ard.dts +++ /dev/null @@ -1,113 +0,0 @@ -/* - * Copyright 2011 Freescale Semiconductor, Inc. - * Copyright 2011 Linaro Ltd. - * - * The code contained herein is licensed under the GNU General Public - * License. You may obtain a copy of the GNU General Public License - * Version 2 or later at the following locations: - * - * http://www.opensource.org/licenses/gpl-license.html - * http://www.gnu.org/copyleft/gpl.html - */ - -/dts-v1/; -/include/ "imx53.dtsi" - -/ { - model = "Freescale i.MX53 Automotive Reference Design Board"; - compatible = "fsl,imx53-ard", "fsl,imx53"; - - chosen { - bootargs = "console=ttymxc0,115200 root=/dev/mmcblk0p3 rootwait"; - }; - - memory { - reg = <0x70000000 0x40000000>; - }; - - soc { - aips@50000000 { /* AIPS1 */ - spba@50000000 { - esdhc@50004000 { /* ESDHC1 */ - cd-gpios = <&gpio1 1 0>; - wp-gpios = <&gpio1 9 0>; - status = "okay"; - }; - }; - - wdog@53f98000 { /* WDOG1 */ - status = "okay"; - }; - - iomuxc@53fa8000 { - compatible = "fsl,imx53-iomuxc-ard"; - reg = <0x53fa8000 0x4000>; - }; - - uart1: uart@53fbc000 { - status = "okay"; - }; - }; - - aips@60000000 { /* AIPS2 */ - sdma@63fb0000 { - fsl,sdma-ram-script-name = "imx/sdma/sdma-imx53.bin"; - }; - }; - }; - - eim-cs1@f4000000 { - #address-cells = <1>; - #size-cells = <1>; - compatible = "fsl,eim-bus", "simple-bus"; - reg = <0xf4000000 0x3ff0000>; - ranges; - - lan9220@f4000000 { - compatible = "smsc,lan9220", "smsc,lan9115"; - reg = <0xf4000000 0x2000000>; - phy-mode = "mii"; - interrupt-parent = <&gpio2>; - interrupts = <31>; - reg-io-width = <4>; - smsc,irq-push-pull; - }; - }; - - gpio-keys { - compatible = "gpio-keys"; - - home { - label = "Home"; - gpios = <&gpio5 10 0>; - linux,code = <102>; /* KEY_HOME */ - gpio-key,wakeup; - }; - - back { - label = "Back"; - gpios = <&gpio5 11 0>; - linux,code = <158>; /* KEY_BACK */ - gpio-key,wakeup; - }; - - program { - label = "Program"; - gpios = <&gpio5 12 0>; - linux,code = <362>; /* KEY_PROGRAM */ - gpio-key,wakeup; - }; - - volume-up { - label = "Volume Up"; - gpios = <&gpio5 13 0>; - linux,code = <115>; /* KEY_VOLUMEUP */ - }; - - volume-down { - label = "Volume Down"; - gpios = <&gpio4 0 0>; - linux,code = <114>; /* KEY_VOLUMEDOWN */ - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/imx53-evk.dts b/kernel/arch/arm/boot/dts/m7300-un-v1/imx53-evk.dts deleted file mode 100755 index 5bac4aa48..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/imx53-evk.dts +++ /dev/null @@ -1,119 +0,0 @@ -/* - * Copyright 2011 Freescale Semiconductor, Inc. - * Copyright 2011 Linaro Ltd. - * - * The code contained herein is licensed under the GNU General Public - * License. You may obtain a copy of the GNU General Public License - * Version 2 or later at the following locations: - * - * http://www.opensource.org/licenses/gpl-license.html - * http://www.gnu.org/copyleft/gpl.html - */ - -/dts-v1/; -/include/ "imx53.dtsi" - -/ { - model = "Freescale i.MX53 Evaluation Kit"; - compatible = "fsl,imx53-evk", "fsl,imx53"; - - chosen { - bootargs = "console=ttymxc0,115200 root=/dev/mmcblk0p3 rootwait"; - }; - - memory { - reg = <0x70000000 0x80000000>; - }; - - soc { - aips@50000000 { /* AIPS1 */ - spba@50000000 { - esdhc@50004000 { /* ESDHC1 */ - cd-gpios = <&gpio3 13 0>; - wp-gpios = <&gpio3 14 0>; - status = "okay"; - }; - - ecspi@50010000 { /* ECSPI1 */ - fsl,spi-num-chipselects = <2>; - cs-gpios = <&gpio2 30 0>, <&gpio3 19 0>; - status = "okay"; - - flash: at45db321d@1 { - #address-cells = <1>; - #size-cells = <1>; - compatible = "atmel,at45db321d", "atmel,at45", "atmel,dataflash"; - spi-max-frequency = <25000000>; - reg = <1>; - - partition@0 { - label = "U-Boot"; - reg = <0x0 0x40000>; - read-only; - }; - - partition@40000 { - label = "Kernel"; - reg = <0x40000 0x3c0000>; - }; - }; - }; - - esdhc@50020000 { /* ESDHC3 */ - cd-gpios = <&gpio3 11 0>; - wp-gpios = <&gpio3 12 0>; - status = "okay"; - }; - }; - - wdog@53f98000 { /* WDOG1 */ - status = "okay"; - }; - - iomuxc@53fa8000 { - compatible = "fsl,imx53-iomuxc-evk"; - reg = <0x53fa8000 0x4000>; - }; - - uart1: uart@53fbc000 { - status = "okay"; - }; - }; - - aips@60000000 { /* AIPS2 */ - sdma@63fb0000 { - fsl,sdma-ram-script-name = "imx/sdma/sdma-imx53.bin"; - }; - - i2c@63fc4000 { /* I2C2 */ - status = "okay"; - - pmic: mc13892@08 { - compatible = "fsl,mc13892", "fsl,mc13xxx"; - reg = <0x08>; - }; - - codec: sgtl5000@0a { - compatible = "fsl,sgtl5000"; - reg = <0x0a>; - }; - }; - - fec@63fec000 { - phy-mode = "rmii"; - phy-reset-gpios = <&gpio7 6 0>; - status = "okay"; - }; - }; - }; - - leds { - compatible = "gpio-leds"; - - green { - label = "Heartbeat"; - gpios = <&gpio7 7 0>; - linux,default-trigger = "heartbeat"; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/imx53-qsb.dts b/kernel/arch/arm/boot/dts/m7300-un-v1/imx53-qsb.dts deleted file mode 100755 index 5c57c8672..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/imx53-qsb.dts +++ /dev/null @@ -1,125 +0,0 @@ -/* - * Copyright 2011 Freescale Semiconductor, Inc. - * Copyright 2011 Linaro Ltd. - * - * The code contained herein is licensed under the GNU General Public - * License. You may obtain a copy of the GNU General Public License - * Version 2 or later at the following locations: - * - * http://www.opensource.org/licenses/gpl-license.html - * http://www.gnu.org/copyleft/gpl.html - */ - -/dts-v1/; -/include/ "imx53.dtsi" - -/ { - model = "Freescale i.MX53 Quick Start Board"; - compatible = "fsl,imx53-qsb", "fsl,imx53"; - - chosen { - bootargs = "console=ttymxc0,115200 root=/dev/mmcblk0p3 rootwait"; - }; - - memory { - reg = <0x70000000 0x40000000>; - }; - - soc { - aips@50000000 { /* AIPS1 */ - spba@50000000 { - esdhc@50004000 { /* ESDHC1 */ - cd-gpios = <&gpio3 13 0>; - status = "okay"; - }; - - esdhc@50020000 { /* ESDHC3 */ - cd-gpios = <&gpio3 11 0>; - wp-gpios = <&gpio3 12 0>; - status = "okay"; - }; - }; - - wdog@53f98000 { /* WDOG1 */ - status = "okay"; - }; - - iomuxc@53fa8000 { - compatible = "fsl,imx53-iomuxc-qsb"; - reg = <0x53fa8000 0x4000>; - }; - - uart1: uart@53fbc000 { - status = "okay"; - }; - }; - - aips@60000000 { /* AIPS2 */ - sdma@63fb0000 { - fsl,sdma-ram-script-name = "imx/sdma/sdma-imx53.bin"; - }; - - i2c@63fc4000 { /* I2C2 */ - status = "okay"; - - codec: sgtl5000@0a { - compatible = "fsl,sgtl5000"; - reg = <0x0a>; - }; - }; - - i2c@63fc8000 { /* I2C1 */ - status = "okay"; - - accelerometer: mma8450@1c { - compatible = "fsl,mma8450"; - reg = <0x1c>; - }; - - pmic: dialog@48 { - compatible = "dialog,da9053", "dialog,da9052"; - reg = <0x48>; - }; - }; - - fec@63fec000 { - phy-mode = "rmii"; - phy-reset-gpios = <&gpio7 6 0>; - status = "okay"; - }; - }; - }; - - gpio-keys { - compatible = "gpio-keys"; - - power { - label = "Power Button"; - gpios = <&gpio1 8 0>; - linux,code = <116>; /* KEY_POWER */ - gpio-key,wakeup; - }; - - volume-up { - label = "Volume Up"; - gpios = <&gpio2 14 0>; - linux,code = <115>; /* KEY_VOLUMEUP */ - }; - - volume-down { - label = "Volume Down"; - gpios = <&gpio2 15 0>; - linux,code = <114>; /* KEY_VOLUMEDOWN */ - }; - }; - - leds { - compatible = "gpio-leds"; - - user { - label = "Heartbeat"; - gpios = <&gpio7 7 0>; - linux,default-trigger = "heartbeat"; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/imx53-smd.dts b/kernel/arch/arm/boot/dts/m7300-un-v1/imx53-smd.dts deleted file mode 100755 index c7ee86c2d..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/imx53-smd.dts +++ /dev/null @@ -1,168 +0,0 @@ -/* - * Copyright 2011 Freescale Semiconductor, Inc. - * Copyright 2011 Linaro Ltd. - * - * The code contained herein is licensed under the GNU General Public - * License. You may obtain a copy of the GNU General Public License - * Version 2 or later at the following locations: - * - * http://www.opensource.org/licenses/gpl-license.html - * http://www.gnu.org/copyleft/gpl.html - */ - -/dts-v1/; -/include/ "imx53.dtsi" - -/ { - model = "Freescale i.MX53 Smart Mobile Reference Design Board"; - compatible = "fsl,imx53-smd", "fsl,imx53"; - - chosen { - bootargs = "console=ttymxc0,115200 root=/dev/mmcblk0p3 rootwait"; - }; - - memory { - reg = <0x70000000 0x40000000>; - }; - - soc { - aips@50000000 { /* AIPS1 */ - spba@50000000 { - esdhc@50004000 { /* ESDHC1 */ - cd-gpios = <&gpio3 13 0>; - wp-gpios = <&gpio4 11 0>; - status = "okay"; - }; - - esdhc@50008000 { /* ESDHC2 */ - fsl,card-wired; - status = "okay"; - }; - - uart3: uart@5000c000 { - fsl,uart-has-rtscts; - status = "okay"; - }; - - ecspi@50010000 { /* ECSPI1 */ - fsl,spi-num-chipselects = <2>; - cs-gpios = <&gpio2 30 0>, <&gpio3 19 0>; - status = "okay"; - - zigbee: mc1323@0 { - compatible = "fsl,mc1323"; - spi-max-frequency = <8000000>; - reg = <0>; - }; - - flash: m25p32@1 { - #address-cells = <1>; - #size-cells = <1>; - compatible = "st,m25p32", "st,m25p"; - spi-max-frequency = <20000000>; - reg = <1>; - - partition@0 { - label = "U-Boot"; - reg = <0x0 0x40000>; - read-only; - }; - - partition@40000 { - label = "Kernel"; - reg = <0x40000 0x3c0000>; - }; - }; - }; - - esdhc@50020000 { /* ESDHC3 */ - fsl,card-wired; - status = "okay"; - }; - }; - - wdog@53f98000 { /* WDOG1 */ - status = "okay"; - }; - - iomuxc@53fa8000 { - compatible = "fsl,imx53-iomuxc-smd"; - reg = <0x53fa8000 0x4000>; - }; - - uart1: uart@53fbc000 { - status = "okay"; - }; - - uart2: uart@53fc0000 { - status = "okay"; - }; - }; - - aips@60000000 { /* AIPS2 */ - sdma@63fb0000 { - fsl,sdma-ram-script-name = "imx/sdma/sdma-imx53.bin"; - }; - - i2c@63fc4000 { /* I2C2 */ - status = "okay"; - - codec: sgtl5000@0a { - compatible = "fsl,sgtl5000"; - reg = <0x0a>; - }; - - magnetometer: mag3110@0e { - compatible = "fsl,mag3110"; - reg = <0x0e>; - }; - - touchkey: mpr121@5a { - compatible = "fsl,mpr121"; - reg = <0x5a>; - }; - }; - - i2c@63fc8000 { /* I2C1 */ - status = "okay"; - - accelerometer: mma8450@1c { - compatible = "fsl,mma8450"; - reg = <0x1c>; - }; - - camera: ov5642@3c { - compatible = "ovti,ov5642"; - reg = <0x3c>; - }; - - pmic: dialog@48 { - compatible = "dialog,da9053", "dialog,da9052"; - reg = <0x48>; - }; - }; - - fec@63fec000 { - phy-mode = "rmii"; - phy-reset-gpios = <&gpio7 6 0>; - status = "okay"; - }; - }; - }; - - gpio-keys { - compatible = "gpio-keys"; - - volume-up { - label = "Volume Up"; - gpios = <&gpio2 14 0>; - linux,code = <115>; /* KEY_VOLUMEUP */ - }; - - volume-down { - label = "Volume Down"; - gpios = <&gpio2 15 0>; - linux,code = <114>; /* KEY_VOLUMEDOWN */ - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/imx53.dtsi b/kernel/arch/arm/boot/dts/m7300-un-v1/imx53.dtsi deleted file mode 100755 index 5dd91b942..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/imx53.dtsi +++ /dev/null @@ -1,301 +0,0 @@ -/* - * Copyright 2011 Freescale Semiconductor, Inc. - * Copyright 2011 Linaro Ltd. - * - * The code contained herein is licensed under the GNU General Public - * License. You may obtain a copy of the GNU General Public License - * Version 2 or later at the following locations: - * - * http://www.opensource.org/licenses/gpl-license.html - * http://www.gnu.org/copyleft/gpl.html - */ - -/include/ "skeleton.dtsi" - -/ { - aliases { - serial0 = &uart1; - serial1 = &uart2; - serial2 = &uart3; - serial3 = &uart4; - serial4 = &uart5; - }; - - tzic: tz-interrupt-controller@0fffc000 { - compatible = "fsl,imx53-tzic", "fsl,tzic"; - interrupt-controller; - #interrupt-cells = <1>; - reg = <0x0fffc000 0x4000>; - }; - - clocks { - #address-cells = <1>; - #size-cells = <0>; - - ckil { - compatible = "fsl,imx-ckil", "fixed-clock"; - clock-frequency = <32768>; - }; - - ckih1 { - compatible = "fsl,imx-ckih1", "fixed-clock"; - clock-frequency = <22579200>; - }; - - ckih2 { - compatible = "fsl,imx-ckih2", "fixed-clock"; - clock-frequency = <0>; - }; - - osc { - compatible = "fsl,imx-osc", "fixed-clock"; - clock-frequency = <24000000>; - }; - }; - - soc { - #address-cells = <1>; - #size-cells = <1>; - compatible = "simple-bus"; - interrupt-parent = <&tzic>; - ranges; - - aips@50000000 { /* AIPS1 */ - compatible = "fsl,aips-bus", "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0x50000000 0x10000000>; - ranges; - - spba@50000000 { - compatible = "fsl,spba-bus", "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0x50000000 0x40000>; - ranges; - - esdhc@50004000 { /* ESDHC1 */ - compatible = "fsl,imx53-esdhc"; - reg = <0x50004000 0x4000>; - interrupts = <1>; - status = "disabled"; - }; - - esdhc@50008000 { /* ESDHC2 */ - compatible = "fsl,imx53-esdhc"; - reg = <0x50008000 0x4000>; - interrupts = <2>; - status = "disabled"; - }; - - uart3: uart@5000c000 { - compatible = "fsl,imx53-uart", "fsl,imx21-uart"; - reg = <0x5000c000 0x4000>; - interrupts = <33>; - status = "disabled"; - }; - - ecspi@50010000 { /* ECSPI1 */ - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx53-ecspi", "fsl,imx51-ecspi"; - reg = <0x50010000 0x4000>; - interrupts = <36>; - status = "disabled"; - }; - - esdhc@50020000 { /* ESDHC3 */ - compatible = "fsl,imx53-esdhc"; - reg = <0x50020000 0x4000>; - interrupts = <3>; - status = "disabled"; - }; - - esdhc@50024000 { /* ESDHC4 */ - compatible = "fsl,imx53-esdhc"; - reg = <0x50024000 0x4000>; - interrupts = <4>; - status = "disabled"; - }; - }; - - gpio1: gpio@53f84000 { - compatible = "fsl,imx53-gpio", "fsl,imx31-gpio"; - reg = <0x53f84000 0x4000>; - interrupts = <50 51>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - gpio2: gpio@53f88000 { - compatible = "fsl,imx53-gpio", "fsl,imx31-gpio"; - reg = <0x53f88000 0x4000>; - interrupts = <52 53>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - gpio3: gpio@53f8c000 { - compatible = "fsl,imx53-gpio", "fsl,imx31-gpio"; - reg = <0x53f8c000 0x4000>; - interrupts = <54 55>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - gpio4: gpio@53f90000 { - compatible = "fsl,imx53-gpio", "fsl,imx31-gpio"; - reg = <0x53f90000 0x4000>; - interrupts = <56 57>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - wdog@53f98000 { /* WDOG1 */ - compatible = "fsl,imx53-wdt", "fsl,imx21-wdt"; - reg = <0x53f98000 0x4000>; - interrupts = <58>; - status = "disabled"; - }; - - wdog@53f9c000 { /* WDOG2 */ - compatible = "fsl,imx53-wdt", "fsl,imx21-wdt"; - reg = <0x53f9c000 0x4000>; - interrupts = <59>; - status = "disabled"; - }; - - uart1: uart@53fbc000 { - compatible = "fsl,imx53-uart", "fsl,imx21-uart"; - reg = <0x53fbc000 0x4000>; - interrupts = <31>; - status = "disabled"; - }; - - uart2: uart@53fc0000 { - compatible = "fsl,imx53-uart", "fsl,imx21-uart"; - reg = <0x53fc0000 0x4000>; - interrupts = <32>; - status = "disabled"; - }; - - gpio5: gpio@53fdc000 { - compatible = "fsl,imx53-gpio", "fsl,imx31-gpio"; - reg = <0x53fdc000 0x4000>; - interrupts = <103 104>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - gpio6: gpio@53fe0000 { - compatible = "fsl,imx53-gpio", "fsl,imx31-gpio"; - reg = <0x53fe0000 0x4000>; - interrupts = <105 106>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - gpio7: gpio@53fe4000 { - compatible = "fsl,imx53-gpio", "fsl,imx31-gpio"; - reg = <0x53fe4000 0x4000>; - interrupts = <107 108>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - i2c@53fec000 { /* I2C3 */ - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx53-i2c", "fsl,imx1-i2c"; - reg = <0x53fec000 0x4000>; - interrupts = <64>; - status = "disabled"; - }; - - uart4: uart@53ff0000 { - compatible = "fsl,imx53-uart", "fsl,imx21-uart"; - reg = <0x53ff0000 0x4000>; - interrupts = <13>; - status = "disabled"; - }; - }; - - aips@60000000 { /* AIPS2 */ - compatible = "fsl,aips-bus", "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0x60000000 0x10000000>; - ranges; - - uart5: uart@63f90000 { - compatible = "fsl,imx53-uart", "fsl,imx21-uart"; - reg = <0x63f90000 0x4000>; - interrupts = <86>; - status = "disabled"; - }; - - ecspi@63fac000 { /* ECSPI2 */ - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx53-ecspi", "fsl,imx51-ecspi"; - reg = <0x63fac000 0x4000>; - interrupts = <37>; - status = "disabled"; - }; - - sdma@63fb0000 { - compatible = "fsl,imx53-sdma", "fsl,imx35-sdma"; - reg = <0x63fb0000 0x4000>; - interrupts = <6>; - }; - - cspi@63fc0000 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx53-cspi", "fsl,imx35-cspi"; - reg = <0x63fc0000 0x4000>; - interrupts = <38>; - status = "disabled"; - }; - - i2c@63fc4000 { /* I2C2 */ - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx53-i2c", "fsl,imx1-i2c"; - reg = <0x63fc4000 0x4000>; - interrupts = <63>; - status = "disabled"; - }; - - i2c@63fc8000 { /* I2C1 */ - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx53-i2c", "fsl,imx1-i2c"; - reg = <0x63fc8000 0x4000>; - interrupts = <62>; - status = "disabled"; - }; - - fec@63fec000 { - compatible = "fsl,imx53-fec", "fsl,imx25-fec"; - reg = <0x63fec000 0x4000>; - interrupts = <87>; - status = "disabled"; - }; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/imx6q-arm2.dts b/kernel/arch/arm/boot/dts/m7300-un-v1/imx6q-arm2.dts deleted file mode 100755 index ce1c8238c..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/imx6q-arm2.dts +++ /dev/null @@ -1,76 +0,0 @@ -/* - * Copyright 2011 Freescale Semiconductor, Inc. - * Copyright 2011 Linaro Ltd. - * - * The code contained herein is licensed under the GNU General Public - * License. You may obtain a copy of the GNU General Public License - * Version 2 or later at the following locations: - * - * http://www.opensource.org/licenses/gpl-license.html - * http://www.gnu.org/copyleft/gpl.html - */ - -/dts-v1/; -/include/ "imx6q.dtsi" - -/ { - model = "Freescale i.MX6 Quad Armadillo2 Board"; - compatible = "fsl,imx6q-arm2", "fsl,imx6q"; - - chosen { - bootargs = "console=ttymxc0,115200 root=/dev/mmcblk3p3 rootwait"; - }; - - memory { - reg = <0x10000000 0x80000000>; - }; - - soc { - aips-bus@02100000 { /* AIPS2 */ - enet@02188000 { - phy-mode = "rgmii"; - local-mac-address = [00 04 9F 01 1B 61]; - status = "okay"; - }; - - usdhc@02198000 { /* uSDHC3 */ - cd-gpios = <&gpio6 11 0>; - wp-gpios = <&gpio6 14 0>; - vmmc-supply = <®_3p3v>; - status = "okay"; - }; - - usdhc@0219c000 { /* uSDHC4 */ - fsl,card-wired; - vmmc-supply = <®_3p3v>; - status = "okay"; - }; - - uart4: uart@021f0000 { - status = "okay"; - }; - }; - }; - - regulators { - compatible = "simple-bus"; - - reg_3p3v: 3p3v { - compatible = "regulator-fixed"; - regulator-name = "3P3V"; - regulator-min-microvolt = <3300000>; - regulator-max-microvolt = <3300000>; - regulator-always-on; - }; - }; - - leds { - compatible = "gpio-leds"; - - debug-led { - label = "Heartbeat"; - gpios = <&gpio3 25 0>; - linux,default-trigger = "heartbeat"; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/imx6q-sabrelite.dts b/kernel/arch/arm/boot/dts/m7300-un-v1/imx6q-sabrelite.dts deleted file mode 100755 index 4663a4e5a..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/imx6q-sabrelite.dts +++ /dev/null @@ -1,83 +0,0 @@ -/* - * Copyright 2011 Freescale Semiconductor, Inc. - * Copyright 2011 Linaro Ltd. - * - * The code contained herein is licensed under the GNU General Public - * License. You may obtain a copy of the GNU General Public License - * Version 2 or later at the following locations: - * - * http://www.opensource.org/licenses/gpl-license.html - * http://www.gnu.org/copyleft/gpl.html - */ - -/dts-v1/; -/include/ "imx6q.dtsi" - -/ { - model = "Freescale i.MX6 Quad SABRE Lite Board"; - compatible = "fsl,imx6q-sabrelite", "fsl,imx6q"; - - memory { - reg = <0x10000000 0x40000000>; - }; - - soc { - aips-bus@02100000 { /* AIPS2 */ - enet@02188000 { - phy-mode = "rgmii"; - phy-reset-gpios = <&gpio3 23 0>; - status = "okay"; - }; - - usdhc@02198000 { /* uSDHC3 */ - cd-gpios = <&gpio7 0 0>; - wp-gpios = <&gpio7 1 0>; - vmmc-supply = <®_3p3v>; - status = "okay"; - }; - - usdhc@0219c000 { /* uSDHC4 */ - cd-gpios = <&gpio2 6 0>; - wp-gpios = <&gpio2 7 0>; - vmmc-supply = <®_3p3v>; - status = "okay"; - }; - - uart2: uart@021e8000 { - status = "okay"; - }; - - i2c@021a0000 { /* I2C1 */ - status = "okay"; - clock-frequency = <100000>; - - codec: sgtl5000@0a { - compatible = "fsl,sgtl5000"; - reg = <0x0a>; - VDDA-supply = <®_2p5v>; - VDDIO-supply = <®_3p3v>; - }; - }; - }; - }; - - regulators { - compatible = "simple-bus"; - - reg_2p5v: 2p5v { - compatible = "regulator-fixed"; - regulator-name = "2P5V"; - regulator-min-microvolt = <2500000>; - regulator-max-microvolt = <2500000>; - regulator-always-on; - }; - - reg_3p3v: 3p3v { - compatible = "regulator-fixed"; - regulator-name = "3P3V"; - regulator-min-microvolt = <3300000>; - regulator-max-microvolt = <3300000>; - regulator-always-on; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/imx6q.dtsi b/kernel/arch/arm/boot/dts/m7300-un-v1/imx6q.dtsi deleted file mode 100755 index 4905f51a1..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/imx6q.dtsi +++ /dev/null @@ -1,575 +0,0 @@ -/* - * Copyright 2011 Freescale Semiconductor, Inc. - * Copyright 2011 Linaro Ltd. - * - * The code contained herein is licensed under the GNU General Public - * License. You may obtain a copy of the GNU General Public License - * Version 2 or later at the following locations: - * - * http://www.opensource.org/licenses/gpl-license.html - * http://www.gnu.org/copyleft/gpl.html - */ - -/include/ "skeleton.dtsi" - -/ { - aliases { - serial0 = &uart1; - serial1 = &uart2; - serial2 = &uart3; - serial3 = &uart4; - serial4 = &uart5; - }; - - cpus { - #address-cells = <1>; - #size-cells = <0>; - - cpu@0 { - compatible = "arm,cortex-a9"; - reg = <0>; - next-level-cache = <&L2>; - }; - - cpu@1 { - compatible = "arm,cortex-a9"; - reg = <1>; - next-level-cache = <&L2>; - }; - - cpu@2 { - compatible = "arm,cortex-a9"; - reg = <2>; - next-level-cache = <&L2>; - }; - - cpu@3 { - compatible = "arm,cortex-a9"; - reg = <3>; - next-level-cache = <&L2>; - }; - }; - - intc: interrupt-controller@00a01000 { - compatible = "arm,cortex-a9-gic"; - #interrupt-cells = <3>; - #address-cells = <1>; - #size-cells = <1>; - interrupt-controller; - reg = <0x00a01000 0x1000>, - <0x00a00100 0x100>; - }; - - clocks { - #address-cells = <1>; - #size-cells = <0>; - - ckil { - compatible = "fsl,imx-ckil", "fixed-clock"; - clock-frequency = <32768>; - }; - - ckih1 { - compatible = "fsl,imx-ckih1", "fixed-clock"; - clock-frequency = <0>; - }; - - osc { - compatible = "fsl,imx-osc", "fixed-clock"; - clock-frequency = <24000000>; - }; - }; - - soc { - #address-cells = <1>; - #size-cells = <1>; - compatible = "simple-bus"; - interrupt-parent = <&intc>; - ranges; - - timer@00a00600 { - compatible = "arm,cortex-a9-twd-timer"; - reg = <0x00a00600 0x20>; - interrupts = <1 13 0xf01>; - }; - - L2: l2-cache@00a02000 { - compatible = "arm,pl310-cache"; - reg = <0x00a02000 0x1000>; - interrupts = <0 92 0x04>; - cache-unified; - cache-level = <2>; - }; - - aips-bus@02000000 { /* AIPS1 */ - compatible = "fsl,aips-bus", "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0x02000000 0x100000>; - ranges; - - spba-bus@02000000 { - compatible = "fsl,spba-bus", "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0x02000000 0x40000>; - ranges; - - spdif@02004000 { - reg = <0x02004000 0x4000>; - interrupts = <0 52 0x04>; - }; - - ecspi@02008000 { /* eCSPI1 */ - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx6q-ecspi", "fsl,imx51-ecspi"; - reg = <0x02008000 0x4000>; - interrupts = <0 31 0x04>; - status = "disabled"; - }; - - ecspi@0200c000 { /* eCSPI2 */ - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx6q-ecspi", "fsl,imx51-ecspi"; - reg = <0x0200c000 0x4000>; - interrupts = <0 32 0x04>; - status = "disabled"; - }; - - ecspi@02010000 { /* eCSPI3 */ - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx6q-ecspi", "fsl,imx51-ecspi"; - reg = <0x02010000 0x4000>; - interrupts = <0 33 0x04>; - status = "disabled"; - }; - - ecspi@02014000 { /* eCSPI4 */ - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx6q-ecspi", "fsl,imx51-ecspi"; - reg = <0x02014000 0x4000>; - interrupts = <0 34 0x04>; - status = "disabled"; - }; - - ecspi@02018000 { /* eCSPI5 */ - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx6q-ecspi", "fsl,imx51-ecspi"; - reg = <0x02018000 0x4000>; - interrupts = <0 35 0x04>; - status = "disabled"; - }; - - uart1: uart@02020000 { - compatible = "fsl,imx6q-uart", "fsl,imx21-uart"; - reg = <0x02020000 0x4000>; - interrupts = <0 26 0x04>; - status = "disabled"; - }; - - esai@02024000 { - reg = <0x02024000 0x4000>; - interrupts = <0 51 0x04>; - }; - - ssi@02028000 { /* SSI1 */ - reg = <0x02028000 0x4000>; - interrupts = <0 46 0x04>; - }; - - ssi@0202c000 { /* SSI2 */ - reg = <0x0202c000 0x4000>; - interrupts = <0 47 0x04>; - }; - - ssi@02030000 { /* SSI3 */ - reg = <0x02030000 0x4000>; - interrupts = <0 48 0x04>; - }; - - asrc@02034000 { - reg = <0x02034000 0x4000>; - interrupts = <0 50 0x04>; - }; - - spba@0203c000 { - reg = <0x0203c000 0x4000>; - }; - }; - - vpu@02040000 { - reg = <0x02040000 0x3c000>; - interrupts = <0 3 0x04 0 12 0x04>; - }; - - aipstz@0207c000 { /* AIPSTZ1 */ - reg = <0x0207c000 0x4000>; - }; - - pwm@02080000 { /* PWM1 */ - reg = <0x02080000 0x4000>; - interrupts = <0 83 0x04>; - }; - - pwm@02084000 { /* PWM2 */ - reg = <0x02084000 0x4000>; - interrupts = <0 84 0x04>; - }; - - pwm@02088000 { /* PWM3 */ - reg = <0x02088000 0x4000>; - interrupts = <0 85 0x04>; - }; - - pwm@0208c000 { /* PWM4 */ - reg = <0x0208c000 0x4000>; - interrupts = <0 86 0x04>; - }; - - flexcan@02090000 { /* CAN1 */ - reg = <0x02090000 0x4000>; - interrupts = <0 110 0x04>; - }; - - flexcan@02094000 { /* CAN2 */ - reg = <0x02094000 0x4000>; - interrupts = <0 111 0x04>; - }; - - gpt@02098000 { - compatible = "fsl,imx6q-gpt"; - reg = <0x02098000 0x4000>; - interrupts = <0 55 0x04>; - }; - - gpio1: gpio@0209c000 { - compatible = "fsl,imx6q-gpio", "fsl,imx31-gpio"; - reg = <0x0209c000 0x4000>; - interrupts = <0 66 0x04 0 67 0x04>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - gpio2: gpio@020a0000 { - compatible = "fsl,imx6q-gpio", "fsl,imx31-gpio"; - reg = <0x020a0000 0x4000>; - interrupts = <0 68 0x04 0 69 0x04>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - gpio3: gpio@020a4000 { - compatible = "fsl,imx6q-gpio", "fsl,imx31-gpio"; - reg = <0x020a4000 0x4000>; - interrupts = <0 70 0x04 0 71 0x04>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - gpio4: gpio@020a8000 { - compatible = "fsl,imx6q-gpio", "fsl,imx31-gpio"; - reg = <0x020a8000 0x4000>; - interrupts = <0 72 0x04 0 73 0x04>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - gpio5: gpio@020ac000 { - compatible = "fsl,imx6q-gpio", "fsl,imx31-gpio"; - reg = <0x020ac000 0x4000>; - interrupts = <0 74 0x04 0 75 0x04>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - gpio6: gpio@020b0000 { - compatible = "fsl,imx6q-gpio", "fsl,imx31-gpio"; - reg = <0x020b0000 0x4000>; - interrupts = <0 76 0x04 0 77 0x04>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - gpio7: gpio@020b4000 { - compatible = "fsl,imx6q-gpio", "fsl,imx31-gpio"; - reg = <0x020b4000 0x4000>; - interrupts = <0 78 0x04 0 79 0x04>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - kpp@020b8000 { - reg = <0x020b8000 0x4000>; - interrupts = <0 82 0x04>; - }; - - wdog@020bc000 { /* WDOG1 */ - compatible = "fsl,imx6q-wdt", "fsl,imx21-wdt"; - reg = <0x020bc000 0x4000>; - interrupts = <0 80 0x04>; - status = "disabled"; - }; - - wdog@020c0000 { /* WDOG2 */ - compatible = "fsl,imx6q-wdt", "fsl,imx21-wdt"; - reg = <0x020c0000 0x4000>; - interrupts = <0 81 0x04>; - status = "disabled"; - }; - - ccm@020c4000 { - compatible = "fsl,imx6q-ccm"; - reg = <0x020c4000 0x4000>; - interrupts = <0 87 0x04 0 88 0x04>; - }; - - anatop@020c8000 { - compatible = "fsl,imx6q-anatop"; - reg = <0x020c8000 0x1000>; - interrupts = <0 49 0x04 0 54 0x04 0 127 0x04>; - }; - - usbphy@020c9000 { /* USBPHY1 */ - reg = <0x020c9000 0x1000>; - interrupts = <0 44 0x04>; - }; - - usbphy@020ca000 { /* USBPHY2 */ - reg = <0x020ca000 0x1000>; - interrupts = <0 45 0x04>; - }; - - snvs@020cc000 { - reg = <0x020cc000 0x4000>; - interrupts = <0 19 0x04 0 20 0x04>; - }; - - epit@020d0000 { /* EPIT1 */ - reg = <0x020d0000 0x4000>; - interrupts = <0 56 0x04>; - }; - - epit@020d4000 { /* EPIT2 */ - reg = <0x020d4000 0x4000>; - interrupts = <0 57 0x04>; - }; - - src@020d8000 { - compatible = "fsl,imx6q-src"; - reg = <0x020d8000 0x4000>; - interrupts = <0 91 0x04 0 96 0x04>; - }; - - gpc@020dc000 { - compatible = "fsl,imx6q-gpc"; - reg = <0x020dc000 0x4000>; - interrupts = <0 89 0x04 0 90 0x04>; - }; - - iomuxc@020e0000 { - reg = <0x020e0000 0x4000>; - }; - - dcic@020e4000 { /* DCIC1 */ - reg = <0x020e4000 0x4000>; - interrupts = <0 124 0x04>; - }; - - dcic@020e8000 { /* DCIC2 */ - reg = <0x020e8000 0x4000>; - interrupts = <0 125 0x04>; - }; - - sdma@020ec000 { - compatible = "fsl,imx6q-sdma", "fsl,imx35-sdma"; - reg = <0x020ec000 0x4000>; - interrupts = <0 2 0x04>; - }; - }; - - aips-bus@02100000 { /* AIPS2 */ - compatible = "fsl,aips-bus", "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0x02100000 0x100000>; - ranges; - - caam@02100000 { - reg = <0x02100000 0x40000>; - interrupts = <0 105 0x04 0 106 0x04>; - }; - - aipstz@0217c000 { /* AIPSTZ2 */ - reg = <0x0217c000 0x4000>; - }; - - enet@02188000 { - compatible = "fsl,imx6q-fec"; - reg = <0x02188000 0x4000>; - interrupts = <0 118 0x04 0 119 0x04>; - status = "disabled"; - }; - - mlb@0218c000 { - reg = <0x0218c000 0x4000>; - interrupts = <0 53 0x04 0 117 0x04 0 126 0x04>; - }; - - usdhc@02190000 { /* uSDHC1 */ - compatible = "fsl,imx6q-usdhc"; - reg = <0x02190000 0x4000>; - interrupts = <0 22 0x04>; - status = "disabled"; - }; - - usdhc@02194000 { /* uSDHC2 */ - compatible = "fsl,imx6q-usdhc"; - reg = <0x02194000 0x4000>; - interrupts = <0 23 0x04>; - status = "disabled"; - }; - - usdhc@02198000 { /* uSDHC3 */ - compatible = "fsl,imx6q-usdhc"; - reg = <0x02198000 0x4000>; - interrupts = <0 24 0x04>; - status = "disabled"; - }; - - usdhc@0219c000 { /* uSDHC4 */ - compatible = "fsl,imx6q-usdhc"; - reg = <0x0219c000 0x4000>; - interrupts = <0 25 0x04>; - status = "disabled"; - }; - - i2c@021a0000 { /* I2C1 */ - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx6q-i2c", "fsl,imx1-i2c"; - reg = <0x021a0000 0x4000>; - interrupts = <0 36 0x04>; - status = "disabled"; - }; - - i2c@021a4000 { /* I2C2 */ - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx6q-i2c", "fsl,imx1-i2c"; - reg = <0x021a4000 0x4000>; - interrupts = <0 37 0x04>; - status = "disabled"; - }; - - i2c@021a8000 { /* I2C3 */ - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx6q-i2c", "fsl,imx1-i2c"; - reg = <0x021a8000 0x4000>; - interrupts = <0 38 0x04>; - status = "disabled"; - }; - - romcp@021ac000 { - reg = <0x021ac000 0x4000>; - }; - - mmdc@021b0000 { /* MMDC0 */ - compatible = "fsl,imx6q-mmdc"; - reg = <0x021b0000 0x4000>; - }; - - mmdc@021b4000 { /* MMDC1 */ - reg = <0x021b4000 0x4000>; - }; - - weim@021b8000 { - reg = <0x021b8000 0x4000>; - interrupts = <0 14 0x04>; - }; - - ocotp@021bc000 { - reg = <0x021bc000 0x4000>; - }; - - ocotp@021c0000 { - reg = <0x021c0000 0x4000>; - interrupts = <0 21 0x04>; - }; - - tzasc@021d0000 { /* TZASC1 */ - reg = <0x021d0000 0x4000>; - interrupts = <0 108 0x04>; - }; - - tzasc@021d4000 { /* TZASC2 */ - reg = <0x021d4000 0x4000>; - interrupts = <0 109 0x04>; - }; - - audmux@021d8000 { - reg = <0x021d8000 0x4000>; - }; - - mipi@021dc000 { /* MIPI-CSI */ - reg = <0x021dc000 0x4000>; - }; - - mipi@021e0000 { /* MIPI-DSI */ - reg = <0x021e0000 0x4000>; - }; - - vdoa@021e4000 { - reg = <0x021e4000 0x4000>; - interrupts = <0 18 0x04>; - }; - - uart2: uart@021e8000 { - compatible = "fsl,imx6q-uart", "fsl,imx21-uart"; - reg = <0x021e8000 0x4000>; - interrupts = <0 27 0x04>; - status = "disabled"; - }; - - uart3: uart@021ec000 { - compatible = "fsl,imx6q-uart", "fsl,imx21-uart"; - reg = <0x021ec000 0x4000>; - interrupts = <0 28 0x04>; - status = "disabled"; - }; - - uart4: uart@021f0000 { - compatible = "fsl,imx6q-uart", "fsl,imx21-uart"; - reg = <0x021f0000 0x4000>; - interrupts = <0 29 0x04>; - status = "disabled"; - }; - - uart5: uart@021f4000 { - compatible = "fsl,imx6q-uart", "fsl,imx21-uart"; - reg = <0x021f4000 0x4000>; - interrupts = <0 30 0x04>; - status = "disabled"; - }; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/kirkwood-dreamplug.dts b/kernel/arch/arm/boot/dts/m7300-un-v1/kirkwood-dreamplug.dts deleted file mode 100755 index a5376b842..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/kirkwood-dreamplug.dts +++ /dev/null @@ -1,24 +0,0 @@ -/dts-v1/; - -/include/ "kirkwood.dtsi" - -/ { - model = "Globalscale Technologies Dreamplug"; - compatible = "globalscale,dreamplug-003-ds2001", "globalscale,dreamplug", "mrvl,kirkwood-88f6281", "mrvl,kirkwood"; - - memory { - device_type = "memory"; - reg = <0x00000000 0x20000000>; - }; - - chosen { - bootargs = "console=ttyS0,115200n8 earlyprintk"; - }; - - ocp@f1000000 { - serial@12000 { - clock-frequency = <200000000>; - status = "ok"; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/kirkwood.dtsi b/kernel/arch/arm/boot/dts/m7300-un-v1/kirkwood.dtsi deleted file mode 100755 index 3474ef890..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/kirkwood.dtsi +++ /dev/null @@ -1,36 +0,0 @@ -/include/ "skeleton.dtsi" - -/ { - compatible = "mrvl,kirkwood"; - - ocp@f1000000 { - compatible = "simple-bus"; - ranges = <0 0xf1000000 0x1000000>; - #address-cells = <1>; - #size-cells = <1>; - - serial@12000 { - compatible = "ns16550a"; - reg = <0x12000 0x100>; - reg-shift = <2>; - interrupts = <33>; - /* set clock-frequency in board dts */ - status = "disabled"; - }; - - serial@12100 { - compatible = "ns16550a"; - reg = <0x12100 0x100>; - reg-shift = <2>; - interrupts = <34>; - /* set clock-frequency in board dts */ - status = "disabled"; - }; - - rtc@10300 { - compatible = "mrvl,kirkwood-rtc", "mrvl,orion-rtc"; - reg = <0x10300 0x20>; - interrupts = <53>; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/mpq8092-iommu.dtsi b/kernel/arch/arm/boot/dts/m7300-un-v1/mpq8092-iommu.dtsi deleted file mode 100755 index 56369dce3..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/mpq8092-iommu.dtsi +++ /dev/null @@ -1,40 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/include/ "msm-iommu-v1.dtsi" - -&jpeg_iommu { - status = "ok"; - vdd-supply = <&gdsc_jpeg>; -}; - -&mdp_iommu { - status = "ok"; - vdd-supply = <&gdsc_mdss>; -}; - -&venus_iommu { - status = "ok"; - vdd-supply = <&gdsc_venus>; -}; - -&kgsl_iommu { - status = "ok"; - qcom,needs-alt-core-clk; - vdd-supply = <&gdsc_oxili_cx>; - qcom,alt-vdd-supply = <&gdsc_oxili_gx>; -}; - -&vfe_iommu { - status = "ok"; - vdd-supply = <&gdsc_vfe>; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/mpq8092-ion.dtsi b/kernel/arch/arm/boot/dts/m7300-un-v1/mpq8092-ion.dtsi deleted file mode 100755 index f9f59850a..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/mpq8092-ion.dtsi +++ /dev/null @@ -1,33 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&soc { - qcom,ion { - compatible = "qcom,msm-ion"; - #address-cells = <1>; - #size-cells = <0>; - - qcom,ion-heap@30 { /* SYSTEM HEAP */ - reg = <30>; - }; - - qcom,ion-heap@21 { /* SYSTEM CONTIG HEAP */ - reg = <21>; - }; - - qcom,ion-heap@25 { /* IOMMU HEAP */ - reg = <25>; - }; - - }; -}; - diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/mpq8092-regulator.dtsi b/kernel/arch/arm/boot/dts/m7300-un-v1/mpq8092-regulator.dtsi deleted file mode 100755 index 63896e922..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/mpq8092-regulator.dtsi +++ /dev/null @@ -1,324 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - - -/* QPNP controlled regulators: */ - -&spmi_bus { - - qcom,pma8084@1 { - pma8084_s1: regulator@1400 { - regulator-min-microvolt = <900000>; - regulator-max-microvolt = <900000>; - qcom,enable-time = <500>; - qcom,pull-down-enable = <1>; - qcom,system-load = <100000>; - status = "okay"; - }; - - pma8084_s3: regulator@1a00 { - regulator-min-microvolt = <1350000>; - regulator-max-microvolt = <1350000>; - qcom,enable-time = <500>; - qcom,pull-down-enable = <1>; - regulator-always-on; - qcom,system-load = <100000>; - status = "okay"; - }; - - pma8084_s4: regulator@1d00 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,enable-time = <500>; - qcom,pull-down-enable = <1>; - regulator-always-on; - qcom,system-load = <100000>; - status = "okay"; - }; - - pma8084_s5: regulator@2000 { - regulator-min-microvolt = <2150000>; - regulator-max-microvolt = <2150000>; - qcom,enable-time = <500>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_s6: regulator@2300 { - regulator-min-microvolt = <900000>; - regulator-max-microvolt = <900000>; - qcom,enable-time = <500>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_s8: regulator@2900 { - regulator-min-microvolt = <1050000>; - regulator-max-microvolt = <1050000>; - qcom,enable-time = <500>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_s12: regulator@3500 { - regulator-min-microvolt = <900000>; - regulator-max-microvolt = <900000>; - qcom,enable-time = <500>; - qcom,pull-down-enable = <1>; - regulator-always-on; - qcom,system-load = <100000>; - status = "okay"; - }; - - pma8084_l1: regulator@4000 { - parent-supply = <&pma8084_s3>; - regulator-min-microvolt = <1225000>; - regulator-max-microvolt = <1225000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - regulator-always-on; - qcom,system-load = <10000>; - status = "okay"; - }; - - pma8084_l2: regulator@4100 { - parent-supply = <&pma8084_s3>; - regulator-min-microvolt = <1000000>; - regulator-max-microvolt = <1000000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l3: regulator@4200 { - parent-supply = <&pma8084_s3>; - regulator-min-microvolt = <1200000>; - regulator-max-microvolt = <1200000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l4: regulator@4300 { - parent-supply = <&pma8084_s3>; - regulator-min-microvolt = <1300000>; - regulator-max-microvolt = <1300000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l6: regulator@4500 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l9: regulator@4800 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <2950000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l10: regulator@4900 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l11: regulator@4a00 { - parent-supply = <&pma8084_s3>; - regulator-min-microvolt = <1200000>; - regulator-max-microvolt = <1200000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l12: regulator@4b00 { - regulator-min-microvolt = <2500000>; - regulator-max-microvolt = <2500000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l13: regulator@4c00 { - regulator-min-microvolt = <2950000>; - regulator-max-microvolt = <2950000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - regulator-always-on; - status = "okay"; - }; - - pma8084_l14: regulator@4d00 { - regulator-min-microvolt = <950000>; - regulator-max-microvolt = <950000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l15: regulator@4e00 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l16: regulator@4f00 { - parent-supply = <&pma8084_s5>; - regulator-min-microvolt = <750000>; - regulator-max-microvolt = <750000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l17: regulator@5000 { - regulator-min-microvolt = <3150000>; - regulator-max-microvolt = <3150000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - qcom,system-load = <100000>; - status = "okay"; - }; - - pma8084_l18: regulator@5100 { - regulator-min-microvolt = <2850000>; - regulator-max-microvolt = <2850000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l19: regulator@5200 { - parent-supply = <&pma8084_s5>; - regulator-min-microvolt = <1500000>; - regulator-max-microvolt = <1500000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l20: regulator@5300 { - regulator-min-microvolt = <2950000>; - regulator-max-microvolt = <2950000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - regulator-always-on; - status = "okay"; - }; - - pma8084_l21: regulator@5400 { - regulator-min-microvolt = <2950000>; - regulator-max-microvolt = <2950000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - regulator-always-on; - status = "okay"; - }; - - pma8084_l22: regulator@5500 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - regulator-always-on; - status = "okay"; - }; - - pma8084_l23: regulator@5600 { - regulator-min-microvolt = <3000000>; - regulator-max-microvolt = <3000000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l24: regulator@5700 { - regulator-min-microvolt = <3075000>; - regulator-max-microvolt = <3075000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - regulator-always-on; - status = "okay"; - }; - - pma8084_l25: regulator@5800 { - parent-supply = <&pma8084_s5>; - regulator-min-microvolt = <2000000>; - regulator-max-microvolt = <2000000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - pma8084_l26: regulator@5900 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - pma8084_l27: regulator@5A00 { - parent-supply = <&pma8084_s3>; - regulator-min-microvolt = <1000000>; - regulator-max-microvolt = <1000000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_lvs1: regulator@8000 { - parent-supply = <&pma8084_s4>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_lvs2: regulator@8100 { - parent-supply = <&pma8084_s4>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_lvs3: regulator@8200 { - parent-supply = <&pma8084_s4>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_lvs4: regulator@8300 { - parent-supply = <&pma8084_s4>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_mvs1: regulator@8400 { - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - }; -}; - diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/mpq8092-rumi.dts b/kernel/arch/arm/boot/dts/m7300-un-v1/mpq8092-rumi.dts deleted file mode 100755 index 1abaf5596..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/mpq8092-rumi.dts +++ /dev/null @@ -1,28 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; - -/include/ "mpq8092.dtsi" -/include/ "mpq8092-rumi.dtsi" - -/ { - model = "Qualcomm MPQ8092 RUMI"; - compatible = "qcom,mpq8092-rumi", "qcom,mpq8092", "qcom,rumi"; - qcom,msm-id = <146 16 0>; -}; - -&soc { - serial@f9922000 { - status = "ok"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/mpq8092-rumi.dtsi b/kernel/arch/arm/boot/dts/m7300-un-v1/mpq8092-rumi.dtsi deleted file mode 100755 index 201699882..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/mpq8092-rumi.dtsi +++ /dev/null @@ -1,134 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -&soc { - timer { - clock-frequency = <5000000>; - }; - - timer@f9020000 { - clock-frequency = <5000000>; - }; - - usb@f9a55000 { - status = "disable"; - }; - - qcom,sdcc@f9824000 { - status = "disabled"; - qcom,clk-rates = <400000 19200000>; - }; - - qcom,sdcc@f98a4000 { - status = "disabled"; - qcom,clk-rates = <400000 19200000>; - }; - - qcom,sps@f998000 { - status = "disable"; - }; - - spi@f9924000 { - status = "disable"; - }; - - spi@f9923000 { - compatible = "qcom,spi-qup-v2"; - reg = <0xf9923000 0x1000>; - interrupts = <0 95 0>; - spi-max-frequency = <24000000>; - #address-cells = <1>; - #size-cells = <0>; - gpios = <&msmgpio 3 0>, /* CLK */ - <&msmgpio 1 0>, /* MISO */ - <&msmgpio 0 0>; /* MOSI */ - cs-gpios = <&msmgpio 9 0>; - - ethernet-switch@2 { - compatible = "simtec,ks8851"; - reg = <2>; - interrupt-parent = <&msmgpio>; - interrupts = <90 0>; - spi-max-frequency = <5000000>; - }; - }; - - i2c@f9966000 { - status = "disable"; - }; - - i2c@f9967000 { - status = "disable"; - cell-index = <0>; - compatible = "qcom,i2c-qup"; - reg = <0Xf9967000 0x1000>; - reg-names = "qup_phys_addr"; - interrupts = <0 105 0>; - interrupt-names = "qup_err_intr"; - qcom,i2c-bus-freq = <100000>; - qcom,i2c-src-freq = <19200000>; - gpios = <&msmgpio 83 0>,/* DAT */ - <&msmgpio 84 0>;/* CLK */ - }; - - slim@fe12f000 { - status = "disable"; - }; - - qcom,mdss_dsi@fd922800 { - status = "disable"; - }; - - qcom,spmi@fc4c0000 { - status = "disable"; - }; - - qcom,ssusb@F9200000 { - status = "disable"; - }; - - qcom,lpass@fe200000 { - status = "disable"; - }; - - qcom,pronto@fb21b000 { - status = "disable"; - }; - - qcom,mss@fc880000 { - status = "disable"; - }; - - qcom,kgsl-3d0@fdb00000 { - status = "disabled"; - }; -}; - -&gdsc_venus { - status = "disabled"; -}; - -&gdsc_jpeg { - status = "disabled"; -}; - -&gdsc_oxili_gx { - status = "disabled"; -}; - -&gdsc_oxili_cx { - status = "disabled"; -}; - -&gdsc_usb_hsic { - status = "disabled"; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/mpq8092-sim.dts b/kernel/arch/arm/boot/dts/m7300-un-v1/mpq8092-sim.dts deleted file mode 100755 index 676ef3b17..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/mpq8092-sim.dts +++ /dev/null @@ -1,125 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/dts-v1/; - -/include/ "mpq8092.dtsi" - -/ { - model = "Qualcomm MPQ8092 Simulator"; - compatible = "qcom,mpq8092-sim", "qcom,mpq8092", "qcom,sim"; - qcom,msm-id = <126 16 0>; -}; - -&soc { - serial@f991f000 { - status = "ok"; - }; - - serial@f995e000 { - status = "ok"; - }; -}; - -&pma8084_gpios { - gpio@c000 { /* GPIO 1 */ - }; - - gpio@c100 { /* GPIO 2 */ - }; - - gpio@c200 { /* GPIO 3 */ - }; - - gpio@c300 { /* GPIO 4 */ - }; - - gpio@c400 { /* GPIO 5 */ - }; - - gpio@c500 { /* GPIO 6 */ - }; - - gpio@c600 { /* GPIO 7 */ - }; - - gpio@c700 { /* GPIO 8 */ - }; - - gpio@c800 { /* GPIO 9 */ - }; - - gpio@c900 { /* GPIO 10 */ - }; - - gpio@ca00 { /* GPIO 11 */ - }; - - gpio@cb00 { /* GPIO 12 */ - }; - - gpio@cc00 { /* GPIO 13 */ - }; - - gpio@cd00 { /* GPIO 14 */ - }; - - gpio@ce00 { /* GPIO 15 */ - }; - - gpio@cf00 { /* GPIO 16 */ - }; - - gpio@d000 { /* GPIO 17 */ - }; - - gpio@d100 { /* GPIO 18 */ - }; - - gpio@d200 { /* GPIO 19 */ - }; - - gpio@d300 { /* GPIO 20 */ - }; - - gpio@d400 { /* GPIO 21 */ - }; - - gpio@d500 { /* GPIO 22 */ - }; -}; - -&pma8084_mpps { - mpp@a000 { /* MPP 1 */ - }; - - mpp@a100 { /* MPP 2 */ - }; - - mpp@a200 { /* MPP 3 */ - }; - - mpp@a300 { /* MPP 4 */ - }; - - mpp@a400 { /* MPP5 */ - }; - - mpp@a500 { /* MPP 6 */ - }; - - mpp@a600 { /* MPP 7 */ - }; - - mpp@a700 { /* MPP 8 */ - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/mpq8092.dtsi b/kernel/arch/arm/boot/dts/m7300-un-v1/mpq8092.dtsi deleted file mode 100755 index e8674a055..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/mpq8092.dtsi +++ /dev/null @@ -1,240 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/include/ "skeleton.dtsi" - -/ { - model = "Qualcomm MPQ8092"; - compatible = "qcom,mpq8092"; - interrupt-parent = <&intc>; - - soc: soc { }; -}; - -/include/ "mpq8092-iommu.dtsi" -/include/ "msm-gdsc.dtsi" -/include/ "mpq8092-ion.dtsi" - -&soc { - #address-cells = <1>; - #size-cells = <1>; - ranges; - - intc: interrupt-controller@f9000000 { - compatible = "qcom,msm-qgic2"; - interrupt-controller; - #interrupt-cells = <3>; - reg = <0xf9000000 0x1000>, - <0xf9002000 0x1000>; - }; - - msmgpio: gpio@fd510000 { - compatible = "qcom,msm-gpio"; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - reg = <0xfd510000 0x4000>; - ngpio = <146>; - interrupts = <0 208 0>; - qcom,direct-connect-irqs = <8>; - }; - - timer { - compatible = "arm,armv7-timer"; - interrupts = <1 2 0>, <1 3 0>; - clock-frequency = <19200000>; - }; - - 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 8 0x4>, - <0 7 0x4>; - reg = <0xf9021000 0x1000>, - <0xf9022000 0x1000>; - }; - - frame@f9023000 { - frame-number = <1>; - interrupts = <0 9 0x4>; - reg = <0xf9023000 0x1000>; - status = "disabled"; - }; - - frame@f9024000 { - frame-number = <2>; - interrupts = <0 10 0x4>; - reg = <0xf9024000 0x1000>; - status = "disabled"; - }; - - frame@f9025000 { - frame-number = <3>; - interrupts = <0 11 0x4>; - reg = <0xf9025000 0x1000>; - status = "disabled"; - }; - - frame@f9026000 { - frame-number = <4>; - interrupts = <0 12 0x4>; - reg = <0xf9026000 0x1000>; - status = "disabled"; - }; - - frame@f9027000 { - frame-number = <5>; - interrupts = <0 13 0x4>; - reg = <0xf9027000 0x1000>; - status = "disabled"; - }; - - frame@f9028000 { - frame-number = <6>; - interrupts = <0 14 0x4>; - reg = <0xf9028000 0x1000>; - status = "disabled"; - }; - }; - - serial@f991f000 { - compatible = "qcom,msm-lsuart-v14"; - reg = <0xf991f000 0x1000>; - interrupts = <0 109 0>; - status = "disabled"; - }; - - serial@f9922000 { - compatible = "qcom,msm-lsuart-v14"; - reg = <0xf9922000 0x1000>; - interrupts = <0 112 0>; - status = "disabled"; - }; - - serial@f995e000 { - compatible = "qcom,msm-lsuart-v14"; - reg = <0xf995e000 0x1000>; - interrupts = <0 114 0>; - status = "disabled"; - }; - - qcom,msm-imem@fe805000 { - compatible = "qcom,msm-imem"; - reg = <0xfe805000 0x1000>; /* Address and size of IMEM */ - }; - - spmi_bus: qcom,spmi@fc4c0000 { - cell-index = <0>; - 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,not-wakeup; - qcom,pmic-arb-ee = <0>; - qcom,pmic-arb-channel = <0>; - }; - - sdcc1: qcom,sdcc@f9824000 { - cell-index = <1>; /* SDC1 eMMC slot */ - compatible = "qcom,msm-sdcc"; - reg = <0xf9824000 0x800>; - reg-names = "core_mem"; - interrupts = <0 123 0>; - interrupt-names = "core_irq"; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - qcom,sup-voltages = <2950 2950>; - qcom,bus-width = <8>; - qcom,nonremovable; - qcom,bus-speed-mode = "HS200_1p8v", "DDR_1p8v"; - }; - - sdcc2: qcom,sdcc@f98a4000 { - cell-index = <2>; /* SDC2 SD card slot */ - compatible = "qcom,msm-sdcc"; - reg = <0xf98a4000 0x800>; - reg-names = "core_mem"; - interrupts = <0 125 0>; - interrupt-names = "core_irq"; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - qcom,sup-voltages = <2950 2950>; - qcom,bus-width = <4>; - qcom,xpc; - qcom,bus-speed-mode = "SDR12", "SDR25", "SDR50", "DDR50", "SDR104"; - qcom,current-limit = <800>; - }; - - sata: sata@fc580000 { - compatible = "qcom,msm-ahci"; - reg = <0xfc580000 0x17c>; - interrupts = <0 243 0>; - }; - - qcom,wdt@f9017000 { - compatible = "qcom,msm-watchdog"; - reg = <0xf9017000 0x1000>; - interrupts = <0 3 0>, <0 4 0>; - qcom,bark-time = <11000>; - qcom,pet-time = <10000>; - qcom,ipi-ping; - }; -}; - -&gdsc_venus { - status = "ok"; -}; - -&gdsc_mdss { - status = "ok"; -}; - -&gdsc_jpeg { - status = "ok"; -}; - -&gdsc_oxili_gx { - status = "ok"; -}; - -&gdsc_oxili_cx { - status = "ok"; -}; - -&gdsc_usb_hsic { - status = "ok"; -}; - -/include/ "msm-pma8084.dtsi" -/include/ "mpq8092-regulator.dtsi" diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/msm-gdsc.dtsi b/kernel/arch/arm/boot/dts/m7300-un-v1/msm-gdsc.dtsi deleted file mode 100755 index 78234e858..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/msm-gdsc.dtsi +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Copyright (c) 2012-2013, 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. - */ - -&soc { - gdsc_venus: qcom,gdsc@fd8c1024 { - compatible = "qcom,gdsc"; - regulator-name = "gdsc_venus"; - reg = <0xfd8c1024 0x4>; - status = "disabled"; - }; - - gdsc_mdss: qcom,gdsc@fd8c2304 { - compatible = "qcom,gdsc"; - regulator-name = "gdsc_mdss"; - reg = <0xfd8c2304 0x4>; - status = "disabled"; - }; - - gdsc_jpeg: qcom,gdsc@fd8c35a4 { - compatible = "qcom,gdsc"; - regulator-name = "gdsc_jpeg"; - reg = <0xfd8c35a4 0x4>; - status = "disabled"; - }; - - gdsc_vfe: qcom,gdsc@fd8c36a4 { - compatible = "qcom,gdsc"; - regulator-name = "gdsc_vfe"; - reg = <0xfd8c36a4 0x4>; - status = "disabled"; - }; - - gdsc_oxili_gx: qcom,gdsc@fd8c4024 { - compatible = "qcom,gdsc"; - regulator-name = "gdsc_oxili_gx"; - reg = <0xfd8c4024 0x4>; - status = "disabled"; - }; - - gdsc_oxili_cx: qcom,gdsc@fd8c4034 { - compatible = "qcom,gdsc"; - regulator-name = "gdsc_oxili_cx"; - reg = <0xfd8c4034 0x4>; - status = "disabled"; - }; - - gdsc_usb_hsic: qcom,gdsc@fc400404 { - compatible = "qcom,gdsc"; - regulator-name = "gdsc_usb_hsic"; - reg = <0xfc400404 0x4>; - status = "disabled"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/msm-iommu-v0.dtsi b/kernel/arch/arm/boot/dts/m7300-un-v1/msm-iommu-v0.dtsi deleted file mode 100755 index 2cfc5cf07..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/msm-iommu-v0.dtsi +++ /dev/null @@ -1,333 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&soc { - lpass_iommu: qcom,iommu@fd000000 { - compatible = "qcom,msm-smmu-v0"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - reg = <0xfd000000 0x10000>; - interrupts = <0 248 0>; - qcom,glb-offset = <0xF000>; - label = "lpass_iommu"; - qcom,iommu-pmu-ngroups = <1>; - qcom,iommu-pmu-ncounters = <4>; - qcom,iommu-pmu-event-classes = <0x08 - 0x09 - 0x10 - 0x12 - 0x80>; - qcom,msm-bus,name = "lpass_ebi"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,active-only; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <11 512 0 0>, - <11 512 0 1000>; - status = "disabled"; - - lpass_q6_fw: qcom,iommu-ctx@fd000000 { - compatible = "qcom,msm-smmu-v0-ctx"; - reg = <0xfd000000 0x1000>; - interrupts = <0 250 0>; - qcom,iommu-ctx-mids = <0 15>; - label = "q6_fw"; - }; - - lpass_audio_shared: qcom,iommu-ctx@fd001000 { - compatible = "qcom,msm-smmu-v0-ctx"; - reg = <0xfd001000 0x1000>; - interrupts = <0 250 0>; - qcom,iommu-ctx-mids = <1>; - label = "audio_shared"; - }; - - lpass_video_shared: qcom,iommu-ctx@fd002000 { - compatible = "qcom,msm-smmu-v0-ctx"; - reg = <0xfd002000 0x1000>; - interrupts = <0 250 0>; - qcom,iommu-ctx-mids = <2>; - label = "video_shared"; - }; - - lpass_q6_spare: qcom,iommu-ctx@fd003000 { - compatible = "qcom,msm-smmu-v0-ctx"; - reg = <0xfd003000 0x1000>; - interrupts = <0 250 0>; - qcom,iommu-ctx-mids = <3 4 5 6 7 8 9 10 11 12 13 14>; - label = "q6_spare"; - }; - }; - - copss_iommu: qcom,iommu@fd010000 { - compatible = "qcom,msm-smmu-v0"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - reg = <0xfd010000 0x10000>; - interrupts = <0 252 0>; - qcom,glb-offset = <0xF000>; - label = "copss_iommu"; - qcom,iommu-pmu-ngroups = <1>; - qcom,iommu-pmu-ncounters = <4>; - qcom,iommu-pmu-event-classes = <0x08 - 0x09 - 0x10 - 0x12 - 0x80>; - qcom,msm-bus,name = "copss_ebi"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,active-only; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <88 512 0 0>, - <88 512 0 1000>; - - status = "disabled"; - - qcom,iommu-ctx@fd010000 { - compatible = "qcom,msm-smmu-v0-ctx"; - reg = <0xfd010000 0x1000>; - interrupts = <0 254 0>; - qcom,iommu-ctx-mids = <0>; - label = "copss_0"; - }; - - qcom,iommu-ctx@fd011000 { - compatible = "qcom,msm-smmu-v0-ctx"; - reg = <0xfd011000 0x1000>; - interrupts = <0 254 0>; - qcom,iommu-ctx-mids = <1>; - label = "copss_1"; - }; - - qcom,iommu-ctx@fd012000 { - compatible = "qcom,msm-smmu-v0-ctx"; - reg = <0xfd012000 0x1000>; - interrupts = <0 254 0>; - qcom,iommu-ctx-mids = <2>; - label = "copss_2"; - }; - - qcom,iommu-ctx@fd013000 { - compatible = "qcom,msm-smmu-v0-ctx"; - reg = <0xfd013000 0x1000>; - interrupts = <0 254 0>; - qcom,iommu-ctx-mids = <3>; - label = "copss_3"; - }; - - qcom,iommu-ctx@fd014000 { - compatible = "qcom,msm-smmu-v0-ctx"; - reg = <0xfd014000 0x1000>; - interrupts = <0 254 0>; - qcom,iommu-ctx-mids = <4>; - label = "copss_4"; - }; - - qcom,iommu-ctx@fd015000 { - compatible = "qcom,msm-smmu-v0-ctx"; - reg = <0xfd015000 0x1000>; - interrupts = <0 254 0>; - qcom,iommu-ctx-mids = <5>; - label = "copss_5"; - }; - - qcom,iommu-ctx@fd016000 { - compatible = "qcom,msm-smmu-v0-ctx"; - reg = <0xfd016000 0x1000>; - interrupts = <0 254 0>; - qcom,iommu-ctx-mids = <6>; - label = "copss_6"; - }; - - qcom,iommu-ctx@fd017000 { - compatible = "qcom,msm-smmu-v0-ctx"; - reg = <0xfd017000 0x1000>; - interrupts = <0 254 0>; - qcom,iommu-ctx-mids = <7>; - label = "copss_7"; - }; - }; - - mdpe_iommu: qcom,iommu@fd860000 { - compatible = "qcom,msm-smmu-v0"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - reg = <0xfd860000 0x10000>; - interrupts = <0 245 0>; - qcom,glb-offset = <0xF000>; - label = "mdpe_iommu"; - qcom,iommu-pmu-ngroups = <1>; - qcom,iommu-pmu-ncounters = <4>; - qcom,iommu-pmu-event-classes = <0x08 - 0x09 - 0x10 - 0x12 - 0x80>; - qcom,msm-bus,name = "mdpe_ebi"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,active-only; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <92 512 0 0>, - <92 512 0 1000>; - status = "disabled"; - - qcom,iommu-ctx@fd860000 { - compatible = "qcom,msm-smmu-v0-ctx"; - reg = <0xfd860000 0x1000>; - interrupts = <0 247 0>; - qcom,iommu-ctx-mids = <0 1 3>; - label = "mdpe_0"; - }; - - qcom,iommu-ctx@fd861000 { - compatible = "qcom,msm-smmu-v0-ctx"; - reg = <0xfd861000 0x1000>; - interrupts = <0 247 0>; - qcom,iommu-ctx-mids = <2>; - label = "mdpe_1"; - }; - }; - - mdps_iommu: qcom,iommu@fd870000 { - compatible = "qcom,msm-smmu-v0"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - reg = <0xfd870000 0x10000>; - interrupts = <0 73 0>; - qcom,glb-offset = <0xF000>; - label = "mdps_iommu"; - qcom,iommu-pmu-ngroups = <1>; - qcom,iommu-pmu-ncounters = <4>; - qcom,iommu-pmu-event-classes = <0x08 - 0x09 - 0x10 - 0x12 - 0x80>; - qcom,msm-bus,name = "mdps_ebi"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,active-only; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <22 512 0 0>, - <22 512 0 1000>; - status = "disabled"; - - qcom,iommu-ctx@fd870000 { - compatible = "qcom,msm-smmu-v0-ctx"; - reg = <0xfd870000 0x1000>; - interrupts = <0 47 0>; - qcom,iommu-ctx-mids = <0>; - label = "mdps_0"; - }; - - qcom,iommu-ctx@fd871000 { - compatible = "qcom,msm-smmu-v0-ctx"; - reg = <0xfd871000 0x1000>; - interrupts = <0 47 0>; - qcom,iommu-ctx-mids = <1>; - label = "mdps_1"; - }; - }; - - gfx_iommu: qcom,iommu@fd880000 { - compatible = "qcom,msm-smmu-v0"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - reg = <0xfd880000 0x10000>; - interrupts = <0 38 0>; - qcom,glb-offset = <0xF000>; - qcom,needs-alt-core-clk; - label = "gfx_iommu"; - qcom,iommu-pmu-ngroups = <1>; - qcom,iommu-pmu-ncounters = <4>; - qcom,iommu-pmu-event-classes = <0x08 - 0x09 - 0x10 - 0x12 - 0x80>; - qcom,msm-bus,name = "gfx_ebi"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,active-only; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <26 512 0 0>, - <26 512 0 1000>; - status = "disabled"; - - qcom,iommu-ctx@fd880000 { - compatible = "qcom,msm-smmu-v0-ctx"; - reg = <0xfd880000 0x1000>; - interrupts = <0 241 0>; - qcom,iommu-ctx-mids = <0 1 2 3 4 5 6 7 8 9 10 11 12 13 - 14 15>; - label = "gfx3d_user"; - }; - - qcom,iommu-ctx@fd881000 { - compatible = "qcom,msm-smmu-v0-ctx"; - reg = <0xfd881000 0x1000>; - interrupts = <0 241 0>; - qcom,iommu-ctx-mids = <16 17 18 19 20 21 22 23 24 25 - 26 27 28 29 30 31>; - label = "gfx3d_priv"; - }; - - qcom,iommu-ctx@fd882000 { - compatible = "qcom,msm-smmu-v0-ctx"; - reg = <0xfd882000 0x1000>; - interrupts = <0 241 0>; - qcom,iommu-ctx-mids = <>; - label = "gfx3d_spare"; - }; - }; - - vfe_iommu: qcom,iommu@fd890000 { - compatible = "qcom,msm-smmu-v0"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - reg = <0xfd890000 0x10000>; - interrupts = <0 62 0>; - qcom,glb-offset = <0xF000>; - label = "vfe_iommu"; - qcom,iommu-pmu-ngroups = <1>; - qcom,iommu-pmu-ncounters = <4>; - qcom,iommu-pmu-event-classes = <0x08 - 0x09 - 0x10 - 0x12 - 0x80>; - qcom,msm-bus,name = "vfe_ebi"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,active-only; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <29 512 0 0>, - <29 512 0 1000>; - status = "disabled"; - - qcom,iommu-ctx@fd890000 { - compatible = "qcom,msm-smmu-v0-ctx"; - reg = <0xfd890000 0x1000>; - interrupts = <0 65 0>; - qcom,iommu-ctx-mids = <0 1 2 3 4 5 6 7 8 9>; - label = "vfe0"; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/msm-iommu-v1.dtsi b/kernel/arch/arm/boot/dts/m7300-un-v1/msm-iommu-v1.dtsi deleted file mode 100755 index 44920778e..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/msm-iommu-v1.dtsi +++ /dev/null @@ -1,514 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&soc { - jpeg_iommu: qcom,iommu@fda64000 { - compatible = "qcom,msm-smmu-v1"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - reg = <0xfda64000 0x10000>; - reg-names = "iommu_base"; - interrupts = <0 67 0>; - qcom,needs-alt-core-clk; - label = "jpeg_iommu"; - status = "disabled"; - qcom,msm-bus,name = "jpeg_ebi"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,active-only; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <62 512 0 0>, - <62 512 0 1000>; - - qcom,iommu-pmu-ngroups = <1>; - qcom,iommu-pmu-ncounters = <8>; - qcom,iommu-pmu-event-classes = <0x00 - 0x01 - 0x08 - 0x09 - 0x0A - 0x10 - 0x11 - 0x12 - 0x80 - 0x81 - 0x82 - 0x83 - 0x90 - 0x91 - 0x92 - 0xb0 - 0xb1>; - - qcom,iommu-bfb-regs = <0x204c - 0x2050 - 0x2514 - 0x2540 - 0x256c - 0x2314 - 0x2394 - 0x2414 - 0x20ac - 0x215c - 0x220c - 0x2008 - 0x200c - 0x2010 - 0x2014>; - - qcom,iommu-bfb-data = <0x0000ffff - 0x0 - 0x4 - 0x4 - 0x0 - 0x0 - 0x10 - 0x50 - 0x0 - 0x10 - 0x20 - 0x0 - 0x0 - 0x0 - 0x0>; - - qcom,iommu-ctx@fda6c000 { - compatible = "qcom,msm-smmu-v1-ctx"; - reg = <0xfda6c000 0x1000>; - interrupts = <0 70 0>; - qcom,iommu-ctx-sids = <0>; - label = "jpeg_enc0"; - }; - - qcom,iommu-ctx@fda6d000 { - compatible = "qcom,msm-smmu-v1-ctx"; - reg = <0xfda6d000 0x1000>; - interrupts = <0 70 0>; - qcom,iommu-ctx-sids = <1>; - label = "jpeg_enc1"; - }; - - qcom,iommu-ctx@fda6e000 { - compatible = "qcom,msm-smmu-v1-ctx"; - reg = <0xfda6e000 0x1000>; - interrupts = <0 70 0>; - qcom,iommu-ctx-sids = <2>; - label = "jpeg_dec"; - }; - }; - - mdp_iommu: qcom,iommu@fd928000 { - compatible = "qcom,msm-smmu-v1"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - reg = <0xfd928000 0x10000>; - reg-names = "iommu_base"; - interrupts = <0 73 0>; - qcom,iommu-secure-id = <1>; - label = "mdp_iommu"; - qcom,msm-bus,name = "mdp_ebi"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,active-only; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <22 512 0 0>, - <22 512 0 1000>; - status = "disabled"; - - qcom,iommu-pmu-ngroups = <1>; - qcom,iommu-pmu-ncounters = <8>; - qcom,iommu-pmu-event-classes = <0x00 - 0x01 - 0x08 - 0x09 - 0x0A - 0x10 - 0x11 - 0x12 - 0x80 - 0x81 - 0x82 - 0x83 - 0x90 - 0x91 - 0x92 - 0xb0 - 0xb1>; - - qcom,iommu-bfb-regs = <0x204c - 0x2050 - 0x2514 - 0x2540 - 0x256c - 0x20ac - 0x215c - 0x220c - 0x2314 - 0x2394 - 0x2414 - 0x2008 - 0x200c - 0x2010 - 0x2014 - 0x2018 - 0x201c - 0x2020>; - - qcom,iommu-bfb-data = <0xffffffff - 0x0 - 0x00000004 - 0x00000010 - 0x00000000 - 0x00000000 - 0x00000034 - 0x00000044 - 0x0 - 0x34 - 0x74 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0>; - - qcom,iommu-ctx@fd930000 { - compatible = "qcom,msm-smmu-v1-ctx"; - reg = <0xfd930000 0x1000>; - interrupts = <0 47 0>; - qcom,iommu-ctx-sids = <0>; - label = "mdp_0"; - }; - - qcom,iommu-ctx@fd931000 { - compatible = "qcom,msm-smmu-v1-ctx"; - reg = <0xfd931000 0x1000>; - interrupts = <0 47 0>, <0 46 0>; - qcom,iommu-ctx-sids = <1>; - label = "mdp_1"; - qcom,secure-context; - }; - - qcom,iommu-ctx@fd932000 { - compatible = "qcom,msm-smmu-v1-ctx"; - reg = <0xfd932000 0x1000>; - interrupts = <0 47 0>, <0 46 0>; - qcom,iommu-ctx-sids = <>; - label = "mdp_2"; - qcom,secure-context; - }; - }; - - venus_iommu: qcom,iommu@fdc84000 { - compatible = "qcom,msm-smmu-v1"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - reg = <0xfdc84000 0x10000 - 0xfdce0004 0x4>; - reg-names = "iommu_base", "clk_base"; - interrupts = <0 45 0>; - qcom,iommu-secure-id = <0>; - qcom,needs-alt-core-clk; - label = "venus_iommu"; - qcom,msm-bus,name = "venus_ebi"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,active-only; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <63 512 0 0>, - <63 512 0 1000>; - status = "disabled"; - - qcom,iommu-pmu-ngroups = <1>; - qcom,iommu-pmu-ncounters = <8>; - qcom,iommu-pmu-event-classes = <0x00 - 0x01 - 0x08 - 0x09 - 0x0A - 0x10 - 0x11 - 0x12 - 0x80 - 0x81 - 0x82 - 0x83 - 0x90 - 0x91 - 0x92 - 0xb0 - 0xb1>; - - qcom,iommu-bfb-regs = <0x204c - 0x2050 - 0x2514 - 0x2540 - 0x256c - 0x20ac - 0x215c - 0x220c - 0x2314 - 0x2394 - 0x2414 - 0x2008 - 0x200c - 0x2010 - 0x2014 - 0x2018 - 0x201c - 0x2020 - 0x2024 - 0x2028 - 0x202c - 0x2030 - 0x2034 - 0x2038>; - - qcom,iommu-bfb-data = <0xffffffff - 0xffffffff - 0x00000004 - 0x00000008 - 0x00000000 - 0x00000000 - 0x00000094 - 0x000000b4 - 0x0 - 0x94 - 0x114 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0>; - - venus_ns: qcom,iommu-ctx@fdc8c000 { - compatible = "qcom,msm-smmu-v1-ctx"; - reg = <0xfdc8c000 0x1000>; - interrupts = <0 42 0>; - qcom,iommu-ctx-sids = <0 1 2 3 4 5>; - label = "venus_ns"; - }; - - venus_cp: qcom,iommu-ctx@fdc8d000 { - compatible = "qcom,msm-smmu-v1-ctx"; - reg = <0xfdc8d000 0x1000>; - interrupts = <0 42 0>, <0 43 0>; - qcom,iommu-ctx-sids = <0x80 0x81 0x82 0x83 0x84 0x85>; - label = "venus_cp"; - qcom,secure-context; - }; - - venus_fw: qcom,iommu-ctx@fdc8e000 { - compatible = "qcom,msm-smmu-v1-ctx"; - reg = <0xfdc8e000 0x1000>; - interrupts = <0 42 0>, <0 43 0>; - qcom,iommu-ctx-sids = <0xc0 0xc6>; - label = "venus_fw"; - qcom,secure-context; - }; - }; - - kgsl_iommu: qcom,iommu@fdb10000 { - compatible = "qcom,msm-smmu-v1"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - reg = <0xfdb10000 0x10000>; - reg-names = "iommu_base"; - interrupts = <0 38 0>; - label = "kgsl_iommu"; - qcom,msm-bus,name = "kgsl_ebi"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,active-only; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <26 512 0 0>, - <26 512 0 1000>; - status = "disabled"; - - qcom,iommu-pmu-ngroups = <1>; - qcom,iommu-pmu-ncounters = <8>; - qcom,iommu-pmu-event-classes = <0x00 - 0x01 - 0x08 - 0x09 - 0x0A - 0x10 - 0x11 - 0x12 - 0x80 - 0x81 - 0x82 - 0x83 - 0x90 - 0x91 - 0x92 - 0xb0 - 0xb1>; - - qcom,iommu-bfb-regs = <0x204c - 0x2050 - 0x2514 - 0x2540 - 0x256c - 0x20ac - 0x215c - 0x220c - 0x2314 - 0x2394 - 0x2414 - 0x2008>; - - qcom,iommu-bfb-data = <0x00000003 - 0x0 - 0x00000004 - 0x00000010 - 0x00000000 - 0x00000000 - 0x00000001 - 0x00000021 - 0x0 - 0x1 - 0x81 - 0x0>; - - qcom,iommu-ctx@fdb18000 { - compatible = "qcom,msm-smmu-v1-ctx"; - reg = <0xfdb18000 0x1000>; - interrupts = <0 241 0>; - qcom,iommu-ctx-sids = <0>; - label = "gfx3d_user"; - }; - - qcom,iommu-ctx@fdb19000 { - compatible = "qcom,msm-smmu-v1-ctx"; - reg = <0xfdb19000 0x1000>; - interrupts = <0 241 0>; - qcom,iommu-ctx-sids = <1>; - label = "gfx3d_priv"; - }; - }; - - vfe_iommu: qcom,iommu@fda44000 { - compatible = "qcom,msm-smmu-v1"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - reg = <0xfda44000 0x10000>; - reg-names = "iommu_base"; - interrupts = <0 62 0>; - qcom,needs-alt-core-clk; - label = "vfe_iommu"; - qcom,msm-bus,name = "vfe_ebi"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,active-only; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <29 512 0 0>, - <29 512 0 1000>; - status = "disabled"; - - qcom,iommu-pmu-ngroups = <1>; - qcom,iommu-pmu-ncounters = <8>; - qcom,iommu-pmu-event-classes = <0x00 - 0x01 - 0x08 - 0x09 - 0x0A - 0x10 - 0x11 - 0x12 - 0x80 - 0x81 - 0x82 - 0x83 - 0x90 - 0x91 - 0x92 - 0xb0 - 0xb1>; - - qcom,iommu-bfb-regs = <0x204c - 0x2050 - 0x2514 - 0x2540 - 0x256c - 0x2314 - 0x2394 - 0x2414 - 0x20ac - 0x215c - 0x220c - 0x2008 - 0x200c - 0x2010 - 0x2014 - 0x2018 - 0x201c - 0x2020>; - - qcom,iommu-bfb-data = <0xffffffff - 0x00000000 - 0x4 - 0x8 - 0x0 - 0x0 - 0x20 - 0x78 - 0x0 - 0x20 - 0x36 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0>; - - qcom,iommu-ctx@fda4c000 { - compatible = "qcom,msm-smmu-v1-ctx"; - reg = <0xfda4c000 0x1000>; - interrupts = <0 65 0>; - qcom,iommu-ctx-sids = <0>; - label = "vfe0"; - }; - - qcom,iommu-ctx@fda4d000 { - compatible = "qcom,msm-smmu-v1-ctx"; - reg = <0xfda4d000 0x1000>; - interrupts = <0 65 0>; - qcom,iommu-ctx-sids = <1>; - label = "vfe1"; - }; - - qcom,iommu-ctx@fda4e000 { - compatible = "qcom,msm-smmu-v1-ctx"; - reg = <0xfda4e000 0x1000>; - interrupts = <0 65 0>; - qcom,iommu-ctx-sids = <2>; - label = "cpp"; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/msm-pm8019-rpm-regulator.dtsi b/kernel/arch/arm/boot/dts/m7300-un-v1/msm-pm8019-rpm-regulator.dtsi deleted file mode 100755 index c48f67dca..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/msm-pm8019-rpm-regulator.dtsi +++ /dev/null @@ -1,301 +0,0 @@ -/* Copyright (c) 2012, 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. - */ - -&rpm_bus { - rpm-regulator-smpa1 { - qcom,resource-name = "smpa"; - qcom,resource-id = <1>; - qcom,regulator-type = <1>; - qcom,hpm-min-load = <100000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-s1 { - regulator-name = "8019_s1"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-smpa2 { - qcom,resource-name = "smpa"; - qcom,resource-id = <2>; - qcom,regulator-type = <1>; - qcom,hpm-min-load = <100000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-s2 { - regulator-name = "8019_s2"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-smpa3 { - qcom,resource-name = "smpa"; - qcom,resource-id = <3>; - qcom,regulator-type = <1>; - qcom,hpm-min-load = <100000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-s3 { - regulator-name = "8019_s3"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-smpa4 { - qcom,resource-name = "smpa"; - qcom,resource-id = <4>; - qcom,regulator-type = <1>; - qcom,hpm-min-load = <100000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-s4 { - regulator-name = "8019_s4"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa1 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <1>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l1 { - regulator-name = "8019_l1"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa2 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <2>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <5000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l2 { - regulator-name = "8019_l2"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa3 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <3>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l3 { - regulator-name = "8019_l3"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa4 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <4>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <5000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l4 { - regulator-name = "8019_l4"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa5 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <5>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l5 { - regulator-name = "8019_l5"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa6 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <6>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l6 { - regulator-name = "8019_l6"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa7 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <7>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l7 { - regulator-name = "8019_l7"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa8 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <8>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l8 { - regulator-name = "8019_l8"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa9 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <9>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l9 { - regulator-name = "8019_l9"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa10 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <10>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l10 { - regulator-name = "8019_l10"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa11 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <11>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l11 { - regulator-name = "8019_l11"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa12 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <12>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l12 { - regulator-name = "8019_l12"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa13 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <13>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <5000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l13 { - regulator-name = "8019_l13"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa14 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <14>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <5000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l14 { - regulator-name = "8019_l14"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/msm-pm8019.dtsi b/kernel/arch/arm/boot/dts/m7300-un-v1/msm-pm8019.dtsi deleted file mode 100755 index 6b5edf7ea..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/msm-pm8019.dtsi +++ /dev/null @@ -1,415 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&spmi_bus { - #address-cells = <1>; - #size-cells = <0>; - interrupt-controller; - #interrupt-cells = <3>; - - qcom,pm8019@0 { - spmi-slave-container; - reg = <0x0>; - #address-cells = <1>; - #size-cells = <1>; - - qcom,power_on@800 { - compatible = "qcom,qpnp-power-on"; - reg = <0x800 0x100>; - interrupts = <0x0 0x8 0x2>; - interrupt-names = "cblpwr"; - qcom,pon-dbc-delay = <15625>; - qcom,system-reset; - - qcom,pon_1 { - qcom,pon-type = <2>; - qcom,pull-up = <1>; - linux,code = <116>; - }; - }; - - clkdiv@5b00 { - reg = <0x5b00 0x100>; - compatible = "qcom,qpnp-clkdiv"; - qcom,cxo-freq = <19200000>; - }; - - clkdiv@5c00 { - reg = <0x5c00 0x100>; - compatible = "qcom,qpnp-clkdiv"; - qcom,cxo-freq = <19200000>; - }; - - clkdiv@5d00 { - reg = <0x5d00 0x100>; - compatible = "qcom,qpnp-clkdiv"; - qcom,cxo-freq = <19200000>; - }; - - rtc { - spmi-dev-container; - compatible = "qcom,qpnp-rtc"; - #address-cells = <1>; - #size-cells = <1>; - qcom,qpnp-rtc-write = <0>; - qcom,qpnp-rtc-alarm-pwrup = <0>; - - qcom,pm8019_rtc_rw@6000 { - reg = <0x6000 0x100>; - }; - - qcom,pm8019_rtc_alarm@6100 { - reg = <0x6100 0x100>; - interrupts = <0x0 0x61 0x1>; - }; - }; - - pm8019_gpios: gpios { - spmi-dev-container; - compatible = "qcom,qpnp-pin"; - gpio-controller; - #gpio-cells = <2>; - #address-cells = <1>; - #size-cells = <1>; - label = "pm8019-gpio"; - - gpio@c000 { - reg = <0xc000 0x100>; - qcom,pin-num = <1>; - }; - - gpio@c100 { - reg = <0xc100 0x100>; - qcom,pin-num = <2>; - }; - - gpio@c200 { - reg = <0xc200 0x100>; - qcom,pin-num = <3>; - }; - - gpio@c300 { - reg = <0xc300 0x100>; - qcom,pin-num = <4>; - }; - - gpio@c400 { - reg = <0xc400 0x100>; - qcom,pin-num = <5>; - }; - - gpio@c500 { - reg = <0xc500 0x100>; - qcom,pin-num = <6>; - }; - }; - - pm8019_mpps: mpps { - spmi-dev-container; - compatible = "qcom,qpnp-pin"; - gpio-controller; - #gpio-cells = <2>; - #address-cells = <1>; - #size-cells = <1>; - label = "pm8019-mpp"; - - mpp@a000 { - reg = <0xa000 0x100>; - qcom,pin-num = <1>; - }; - - mpp@a100 { - reg = <0xa100 0x100>; - qcom,pin-num = <2>; - }; - - mpp@a200 { - reg = <0xa200 0x100>; - qcom,pin-num = <3>; - }; - - mpp@a300 { - reg = <0xa300 0x100>; - qcom,pin-num = <4>; - }; - - mpp@a400 { - reg = <0xa400 0x100>; - qcom,pin-num = <5>; - }; - - mpp@a500 { - reg = <0xa500 0x100>; - qcom,pin-num = <6>; - }; - }; - - pm8019_vadc: vadc@3100 { - compatible = "qcom,qpnp-vadc"; - reg = <0x3100 0x100>; - #address-cells = <1>; - #size-cells = <0>; - interrupts = <0x0 0x31 0x0>; - interrupt-names = "eoc-int-en-set"; - qcom,adc-bit-resolution = <15>; - qcom,adc-vdd-reference = <1800>; - qcom,vadc-poll-eoc; - - chan@8 { - label = "die_temp"; - reg = <8>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <3>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@9 { - label = "ref_625mv"; - reg = <9>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@a { - label = "ref_1250v"; - reg = <0xa>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - }; - - pm8019_adc_tm: vadc@3400 { - compatible = "qcom,qpnp-adc-tm"; - reg = <0x3400 0x100>; - #address-cells = <1>; - #size-cells = <0>; - interrupts = <0x0 0x34 0x0>, - <0x0 0x34 0x3>, - <0x0 0x34 0x4>; - interrupt-names = "eoc-int-en-set", - "high-thr-en-set", - "low-thr-en-set"; - qcom,adc-bit-resolution = <15>; - qcom,adc-vdd-reference = <1800>; - }; - }; - - qcom,pm8019@1 { - spmi-slave-container; - reg = <0x1>; - #address-cells = <1>; - #size-cells = <1>; - - regulator@1400 { - regulator-name = "8019_s1"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x1400 0x300>; - status = "disabled"; - - qcom,ctl@1400 { - reg = <0x1400 0x100>; - }; - qcom,ps@1500 { - reg = <0x1500 0x100>; - }; - qcom,freq@1600 { - reg = <0x1600 0x100>; - }; - }; - - regulator@1700 { - regulator-name = "8019_s2"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x1700 0x300>; - status = "disabled"; - - qcom,ctl@1700 { - reg = <0x1700 0x100>; - }; - qcom,ps@1800 { - reg = <0x1800 0x100>; - }; - qcom,freq@1900 { - reg = <0x1900 0x100>; - }; - }; - - regulator@1a00 { - regulator-name = "8019_s3"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x1a00 0x300>; - status = "disabled"; - - qcom,ctl@1a00 { - reg = <0x1a00 0x100>; - }; - qcom,ps@1b00 { - reg = <0x1b00 0x100>; - }; - qcom,freq@1c00 { - reg = <0x1c00 0x100>; - }; - }; - - regulator@1d00 { - regulator-name = "8019_s4"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x1d00 0x300>; - status = "disabled"; - - qcom,ctl@1d00 { - reg = <0x1d00 0x100>; - }; - qcom,ps@1e00 { - reg = <0x1e00 0x100>; - }; - qcom,freq@1f00 { - reg = <0x1f00 0x100>; - }; - }; - - regulator@4000 { - regulator-name = "8019_l1"; - reg = <0x4000 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4100 { - regulator-name = "8019_l2"; - reg = <0x4100 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4200 { - regulator-name = "8019_l3"; - reg = <0x4200 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4300 { - regulator-name = "8019_l4"; - reg = <0x4300 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4400 { - regulator-name = "8019_l5"; - reg = <0x4400 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4500 { - regulator-name = "8019_l6"; - reg = <0x4500 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4600 { - regulator-name = "8019_l7"; - reg = <0x4600 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4700 { - regulator-name = "8019_l8"; - reg = <0x4700 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4800 { - regulator-name = "8019_l9"; - reg = <0x4800 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4900 { - regulator-name = "8019_l10"; - reg = <0x4900 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4a00 { - regulator-name = "8019_l11"; - reg = <0x4a00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4b00 { - regulator-name = "8019_l12"; - reg = <0x4b00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4c00 { - regulator-name = "8019_l13"; - reg = <0x4c00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4d00 { - regulator-name = "8019_l14"; - reg = <0x4d00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4e00 { - regulator-name = "8019_ldo_xo"; - reg = <0x4e00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4f00 { - regulator-name = "8019_ldo_rfclk"; - reg = <0x4f00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/msm-pm8110-rpm-regulator.dtsi b/kernel/arch/arm/boot/dts/m7300-un-v1/msm-pm8110-rpm-regulator.dtsi deleted file mode 100755 index 0de72b0de..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/msm-pm8110-rpm-regulator.dtsi +++ /dev/null @@ -1,381 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -&rpm_bus { - rpm-regulator-smpa1 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "smpa"; - qcom,resource-id = <1>; - qcom,regulator-type = <1>; - qcom,hpm-min-load = <100000>; - status = "disabled"; - - regulator-s1 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_s1"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-smpa3 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "smpa"; - qcom,resource-id = <3>; - qcom,regulator-type = <1>; - qcom,hpm-min-load = <100000>; - status = "disabled"; - - regulator-s3 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_s3"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-smpa4 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "smpa"; - qcom,resource-id = <4>; - qcom,regulator-type = <1>; - qcom,hpm-min-load = <100000>; - status = "disabled"; - - regulator-s4 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_s4"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa1 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <1>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l1 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l1"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa2 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <2>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l2 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l2"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa3 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <3>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l3 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l3"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa4 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <4>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l4 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l4"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa5 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <5>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l5 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l5"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa6 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <6>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l6 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l6"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa7 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <7>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l7 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l7"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa8 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <8>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <5000>; - status = "disabled"; - - regulator-l8 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l8"; - qcom,set = <1>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa9 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <9>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l9 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l9"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa10 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <10>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l10 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l10"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa12 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <12>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l12 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l12"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa14 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <14>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l14 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l14"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa15 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <15>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l15 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l15"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa16 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <16>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l16 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l16"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa17 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <17>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l17 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l17"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa18 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <18>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l18 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l18"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa19 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <19>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l19 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l19"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa20 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <20>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <5000>; - status = "disabled"; - - regulator-l20 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l20"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa21 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <21>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l21 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l21"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa22 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <22>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l22 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l22"; - qcom,set = <3>; - status = "disabled"; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/msm-pm8110.dtsi b/kernel/arch/arm/boot/dts/m7300-un-v1/msm-pm8110.dtsi deleted file mode 100755 index 1877f40d7..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/msm-pm8110.dtsi +++ /dev/null @@ -1,608 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&spmi_bus { - #address-cells = <1>; - #size-cells = <0>; - interrupt-controller; - #interrupt-cells = <3>; - - qcom,pm8110@0 { - spmi-slave-container; - reg = <0x0>; - #address-cells = <1>; - #size-cells = <1>; - - qcom,power-on@800 { - compatible = "qcom,qpnp-power-on"; - reg = <0x800 0x100>; - interrupts = <0x0 0x8 0x0>, - <0x0 0x8 0x1>, - <0x0 0x8 0x4>; - interrupt-names = "kpdpwr", "resin", "resin-bark"; - qcom,pon-dbc-delay = <15625>; - qcom,system-reset; - - qcom,pon_1 { - qcom,pon-type = <0>; - qcom,pull-up = <1>; - linux,code = <116>; - }; - - qcom,pon_2 { - qcom,pon-type = <1>; - qcom,pull-up = <1>; - linux,code = <114>; - }; - }; - - pm8110_chg: qcom,charger { - spmi-dev-container; - compatible = "qcom,qpnp-charger"; - #address-cells = <1>; - #size-cells = <1>; - status = "disabled"; - - qcom,vddmax-mv = <4200>; - qcom,vddsafe-mv = <4230>; - qcom,vinmin-mv = <4200>; - qcom,vbatdet-mv = <4100>; - qcom,ibatmax-ma = <1500>; - qcom,ibatterm-ma = <200>; - qcom,ibatsafe-ma = <1500>; - qcom,thermal-mitigation = <1500 700 600 325>; - qcom,vbatdet-delta-mv = <350>; - qcom,tchg-mins = <150>; - - qcom,chgr@1000 { - status = "disabled"; - reg = <0x1000 0x100>; - interrupts = <0x0 0x10 0x0>, - <0x0 0x10 0x1>, - <0x0 0x10 0x2>, - <0x0 0x10 0x3>, - <0x0 0x10 0x4>, - <0x0 0x10 0x5>, - <0x0 0x10 0x6>, - <0x0 0x10 0x7>; - - interrupt-names = "vbat-det-lo", - "vbat-det-hi", - "chgwdog", - "state-change", - "trkl-chg-on", - "fast-chg-on", - "chg-failed", - "chg-done"; - }; - - qcom,buck@1100 { - status = "disabled"; - reg = <0x1100 0x100>; - interrupts = <0x0 0x11 0x0>, - <0x0 0x11 0x1>, - <0x0 0x11 0x2>, - <0x0 0x11 0x3>, - <0x0 0x11 0x4>, - <0x0 0x11 0x5>, - <0x0 0x11 0x6>; - - interrupt-names = "vbat-ov", - "vreg-ov", - "overtemp", - "vchg-loop", - "ichg-loop", - "ibat-loop", - "vdd-loop"; - }; - - qcom,bat-if@1200 { - status = "disabled"; - reg = <0x1200 0x100>; - interrupts = <0x0 0x12 0x0>, - <0x0 0x12 0x1>, - <0x0 0x12 0x2>, - <0x0 0x12 0x3>, - <0x0 0x12 0x4>; - - interrupt-names = "batt-pres", - "bat-temp-ok", - "bat-fet-on", - "vcp-on", - "psi"; - }; - - qcom,usb-chgpth@1300 { - status = "disabled"; - reg = <0x1300 0x100>; - interrupts = <0 0x13 0x0>, - <0 0x13 0x1>, - <0x0 0x13 0x2>; - - interrupt-names = "coarse-det-usb", - "usbin-valid", - "chg-gone"; - }; - - qcom,chg-misc@1600 { - status = "disabled"; - reg = <0x1600 0x100>; - }; - }; - - pm8110_gpios: gpios { - spmi-dev-container; - compatible = "qcom,qpnp-pin"; - gpio-controller; - #gpio-cells = <2>; - #address-cells = <1>; - #size-cells = <1>; - label = "pm8110-gpio"; - - gpio@c000 { - reg = <0xc000 0x100>; - qcom,pin-num = <1>; - }; - - gpio@c100 { - reg = <0xc100 0x100>; - qcom,pin-num = <2>; - }; - - gpio@c200 { - reg = <0xc200 0x100>; - qcom,pin-num = <3>; - }; - - gpio@c300 { - reg = <0xc300 0x100>; - qcom,pin-num = <4>; - }; - }; - - pm8110_mpps: mpps { - spmi-dev-container; - compatible = "qcom,qpnp-pin"; - gpio-controller; - #gpio-cells = <2>; - #address-cells = <1>; - #size-cells = <1>; - label = "pm8110-mpp"; - - mpp@a000 { - reg = <0xa000 0x100>; - qcom,pin-num = <1>; - }; - - mpp@a100 { - reg = <0xa100 0x100>; - qcom,pin-num = <2>; - }; - - mpp@a200 { - reg = <0xa200 0x100>; - qcom,pin-num = <3>; - }; - - mpp@a300 { - reg = <0xa300 0x100>; - qcom,pin-num = <4>; - }; - }; - - pm8110_vadc: vadc@3100 { - compatible = "qcom,qpnp-vadc"; - reg = <0x3100 0x100>; - #address-cells = <1>; - #size-cells = <0>; - interrupts = <0x0 0x31 0x0>; - interrupt-names = "eoc-int-en-set"; - qcom,adc-bit-resolution = <15>; - qcom,adc-vdd-reference = <1800>; - - chan@8 { - label = "die_temp"; - reg = <8>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <3>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@9 { - label = "ref_625mv"; - reg = <9>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@a { - label = "ref_1250v"; - reg = <0xa>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - }; - - iadc@3600 { - compatible = "qcom,qpnp-iadc"; - reg = <0x3600 0x100>; - #address-cells = <1>; - #size-cells = <0>; - interrupts = <0x0 0x36 0x0>; - interrupt-names = "eoc-int-en-set"; - qcom,adc-bit-resolution = <16>; - qcom,adc-vdd-reference = <1800>; - - chan@0 { - label = "internal_rsense"; - reg = <0>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <1>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - }; - - pm8110_adc_tm: vadc@3400 { - compatible = "qcom,qpnp-adc-tm"; - reg = <0x3400 0x100>; - #address-cells = <1>; - #size-cells = <0>; - interrupts = <0x0 0x34 0x0>, - <0x0 0x34 0x3>, - <0x0 0x34 0x4>; - interrupt-names = "eoc-int-en-set", - "high-thr-en-set", - "low-thr-en-set"; - qcom,adc-bit-resolution = <15>; - qcom,adc-vdd-reference = <1800>; - }; - - qcom,temp-alarm@2400 { - compatible = "qcom,qpnp-temp-alarm"; - reg = <0x2400 0x100>; - interrupts = <0x0 0x24 0x0>; - label = "pm8110_tz"; - qcom,channel-num = <8>; - qcom,threshold-set = <0>; - }; - - pm8110_bms: qcom,bms { - spmi-dev-container; - compatible = "qcom,qpnp-bms"; - #address-cells = <1>; - #size-cells = <1>; - status = "disabled"; - - qcom,r-sense-uohm = <10000>; - qcom,v-cutoff-uv = <3400000>; - qcom,max-voltage-uv = <4200000>; - qcom,r-conn-mohm = <0>; - qcom,shutdown-soc-valid-limit = <20>; - qcom,adjust-soc-low-threshold = <15>; - qcom,ocv-voltage-high-threshold-uv = <3750000>; - qcom,ocv-voltage-low-threshold-uv = <3650000>; - qcom,low-soc-calculate-soc-threshold = <15>; - qcom,low-soc-calculate-soc-ms = <5000>; - qcom,calculate-soc-ms = <20000>; - qcom,chg-term-ua = <100000>; - qcom,batt-type = <0>; - qcom,low-voltage-threshold = <3420000>; - qcom,tm-temp-margin = <5000>; - qcom,low-ocv-correction-limit-uv = <100>; - qcom,high-ocv-correction-limit-uv = <50>; - qcom,hold-soc-est = <3>; - - qcom,bms-iadc@3800 { - reg = <0x3800 0x100>; - }; - - qcom,bms-bms@4000 { - reg = <0x4000 0x100>; - interrupts = <0x0 0x40 0x0>, - <0x0 0x40 0x1>, - <0x0 0x40 0x2>, - <0x0 0x40 0x3>, - <0x0 0x40 0x4>, - <0x0 0x40 0x5>, - <0x0 0x40 0x6>, - <0x0 0x40 0x7>; - - interrupt-names = "vsense_for_r", - "vsense_avg", - "sw_cc_thr", - "ocv_thr", - "charge_begin", - "good_ocv", - "ocv_for_r", - "cc_thr"; - }; - }; - - qcom,pm8110_rtc { - spmi-dev-container; - compatible = "qcom,qpnp-rtc"; - #address-cells = <1>; - #size-cells = <1>; - qcom,qpnp-rtc-write = <0>; - qcom,qpnp-rtc-alarm-pwrup = <0>; - - qcom,pm8110_rtc_rw@6000 { - reg = <0x6000 0x100>; - }; - - qcom,pm8110_rtc_alarm@6100 { - reg = <0x6100 0x100>; - interrupts = <0x0 0x61 0x1>; - }; - }; - - qcom,leds@a100 { - compatible = "qcom,leds-qpnp"; - reg = <0xa100 0x100>; - label = "mpp"; - }; - - qcom,leds@a200 { - compatible = "qcom,leds-qpnp"; - reg = <0xa200 0x100>; - label = "mpp"; - }; - }; - - qcom,pm8110@1 { - spmi-slave-container; - reg = <0x1>; - #address-cells = <1>; - #size-cells = <1>; - - regulator@1400 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_s1"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - reg = <0x1400 0x300>; - status = "disabled"; - - qcom,ctl@1400 { - reg = <0x1400 0x100>; - }; - qcom,ps@1500 { - reg = <0x1500 0x100>; - }; - qcom,freq@1600 { - reg = <0x1600 0x100>; - }; - }; - - regulator@1700 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_s2"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - reg = <0x1700 0x300>; - status = "disabled"; - - qcom,ctl@1700 { - reg = <0x1700 0x100>; - }; - qcom,ps@1800 { - reg = <0x1800 0x100>; - }; - qcom,freq@1900 { - reg = <0x1900 0x100>; - }; - }; - - regulator@1a00 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_s3"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - reg = <0x1a00 0x300>; - status = "disabled"; - - qcom,ctl@1a00 { - reg = <0x1a00 0x100>; - }; - qcom,ps@1b00 { - reg = <0x1b00 0x100>; - }; - qcom,freq@1c00 { - reg = <0x1c00 0x100>; - }; - }; - - regulator@1d00 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_s4"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - reg = <0x1d00 0x300>; - status = "disabled"; - - qcom,ctl@1d00 { - reg = <0x1d00 0x100>; - }; - qcom,ps@1e00 { - reg = <0x1e00 0x100>; - }; - qcom,freq@1f00 { - reg = <0x1f00 0x100>; - }; - }; - - regulator@4000 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_l1"; - reg = <0x4000 0x100>; - status = "disabled"; - }; - - regulator@4100 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_l2"; - reg = <0x4100 0x100>; - status = "disabled"; - }; - - regulator@4200 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_l3"; - reg = <0x4200 0x100>; - status = "disabled"; - }; - - regulator@4300 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_l4"; - reg = <0x4300 0x100>; - status = "disabled"; - }; - - regulator@4400 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_l5"; - reg = <0x4400 0x100>; - status = "disabled"; - }; - - regulator@4500 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_l6"; - reg = <0x4500 0x100>; - status = "disabled"; - }; - - regulator@4600 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_l7"; - reg = <0x4600 0x100>; - status = "disabled"; - }; - - regulator@4700 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_l8"; - reg = <0x4700 0x100>; - status = "disabled"; - }; - - regulator@4800 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_l9"; - reg = <0x4800 0x100>; - status = "disabled"; - }; - - regulator@4900 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_l10"; - reg = <0x4900 0x100>; - status = "disabled"; - }; - - regulator@4b00 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_l12"; - reg = <0x4b00 0x100>; - status = "disabled"; - }; - - regulator@4d00 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_l14"; - reg = <0x4d00 0x100>; - status = "disabled"; - }; - - regulator@4e00 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_l15"; - reg = <0x4e00 0x100>; - status = "disabled"; - }; - - regulator@4f00 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_l16"; - reg = <0x4f00 0x100>; - status = "disabled"; - }; - - regulator@5000 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_l17"; - reg = <0x5000 0x100>; - status = "disabled"; - }; - - regulator@5100 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_l18"; - reg = <0x5100 0x100>; - status = "disabled"; - }; - - regulator@5200 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_l19"; - reg = <0x5200 0x100>; - status = "disabled"; - }; - - regulator@5300 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_l20"; - reg = <0x5300 0x100>; - status = "disabled"; - }; - - regulator@5400 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_l21"; - reg = <0x5400 0x100>; - status = "disabled"; - }; - - regulator@5500 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_l22"; - reg = <0x5500 0x100>; - status = "disabled"; - }; - - qcom,vibrator@c000 { - compatible = "qcom,qpnp-vibrator"; - reg = <0xc000 0x100>; - label = "vibrator"; - status = "disabled"; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/msm-pm8226-rpm-regulator.dtsi b/kernel/arch/arm/boot/dts/m7300-un-v1/msm-pm8226-rpm-regulator.dtsi deleted file mode 100755 index ded949489..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/msm-pm8226-rpm-regulator.dtsi +++ /dev/null @@ -1,492 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -&rpm_bus { - rpm-regulator-smpa1 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "smpa"; - qcom,resource-id = <1>; - qcom,regulator-type = <1>; - qcom,hpm-min-load = <100000>; - status = "disabled"; - - regulator-s1 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_s1"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-smpa3 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "smpa"; - qcom,resource-id = <3>; - qcom,regulator-type = <1>; - qcom,hpm-min-load = <100000>; - status = "disabled"; - - regulator-s3 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_s3"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-smpa4 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "smpa"; - qcom,resource-id = <4>; - qcom,regulator-type = <1>; - qcom,hpm-min-load = <100000>; - status = "disabled"; - - regulator-s4 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_s4"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-smpa5 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "smpa"; - qcom,resource-id = <5>; - qcom,regulator-type = <1>; - qcom,hpm-min-load = <100000>; - status = "disabled"; - - regulator-s5 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_s5"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa1 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <1>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l1 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l1"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa2 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <2>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l2 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l2"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa3 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <3>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l3 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l3"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa4 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <4>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l4 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l4"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa5 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <5>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l5 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l5"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa6 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <6>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l6 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l6"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa7 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <7>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l7 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l7"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa8 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <8>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <5000>; - status = "disabled"; - - regulator-l8 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l8"; - qcom,set = <1>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa9 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <9>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l9 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l9"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa10 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <10>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <5000>; - status = "disabled"; - - regulator-l10 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l10"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa12 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <12>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l12 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l12"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa14 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <14>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <5000>; - status = "disabled"; - - regulator-l14 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l14"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa15 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <15>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l15 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l15"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa16 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <16>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l16 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l16"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa17 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <17>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l17 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l17"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa18 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <18>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l18 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l18"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa19 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <19>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l19 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l19"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa20 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <20>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <5000>; - status = "disabled"; - - regulator-l20 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l20"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa21 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <21>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <5000>; - status = "disabled"; - - regulator-l21 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l21"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa22 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <22>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l22 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l22"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa23 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <23>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l23 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l23"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa24 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <24>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l24 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l24"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa26 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <26>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l26 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l26"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa27 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <27>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l27 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l27"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa28 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <28>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l28 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l28"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-vsa1 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "vsa"; - qcom,resource-id = <1>; - qcom,regulator-type = <2>; - status = "disabled"; - - regulator-lvs1 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_lvs1"; - qcom,set = <3>; - status = "disabled"; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/msm-pm8226.dtsi b/kernel/arch/arm/boot/dts/m7300-un-v1/msm-pm8226.dtsi deleted file mode 100755 index d429f72b7..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/msm-pm8226.dtsi +++ /dev/null @@ -1,833 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&spmi_bus { - #address-cells = <1>; - #size-cells = <0>; - interrupt-controller; - #interrupt-cells = <3>; - - qcom,pm8226@0 { - spmi-slave-container; - reg = <0x0>; - #address-cells = <1>; - #size-cells = <1>; - - qcom,power-on@800 { - compatible = "qcom,qpnp-power-on"; - reg = <0x800 0x100>; - interrupts = <0x0 0x8 0x0>, - <0x0 0x8 0x1>, - <0x0 0x8 0x4>; - interrupt-names = "kpdpwr", "resin", "resin-bark"; - qcom,pon-dbc-delay = <15625>; - qcom,system-reset; - - qcom,pon_1 { - qcom,pon-type = <0>; - qcom,pull-up = <1>; - linux,code = <116>; - }; - - qcom,pon_2 { - qcom,pon-type = <1>; - qcom,support-reset = <1>; - qcom,pull-up = <1>; - qcom,s1-timer = <0>; - qcom,s2-timer = <2000>; - qcom,s2-type = <1>; - linux,code = <114>; - }; - }; - - pm8226_chg: qcom,charger { - spmi-dev-container; - compatible = "qcom,qpnp-charger"; - #address-cells = <1>; - #size-cells = <1>; - status = "disabled"; - - qcom,vddmax-mv = <4200>; - qcom,vddsafe-mv = <4230>; - qcom,vinmin-mv = <4200>; - qcom,vbatdet-delta-mv = <150>; - qcom,ibatmax-ma = <1500>; - qcom,ibatterm-ma = <100>; - qcom,ibatsafe-ma = <1500>; - qcom,thermal-mitigation = <1500 700 600 325>; - qcom,tchg-mins = <150>; - - qcom,chgr@1000 { - status = "disabled"; - reg = <0x1000 0x100>; - interrupts = <0x0 0x10 0x0>, - <0x0 0x10 0x1>, - <0x0 0x10 0x2>, - <0x0 0x10 0x3>, - <0x0 0x10 0x4>, - <0x0 0x10 0x5>, - <0x0 0x10 0x6>, - <0x0 0x10 0x7>; - - interrupt-names = "vbat-det-lo", - "vbat-det-hi", - "chgwdog", - "state-change", - "trkl-chg-on", - "fast-chg-on", - "chg-failed", - "chg-done"; - }; - - qcom,buck@1100 { - status = "disabled"; - reg = <0x1100 0x100>; - interrupts = <0x0 0x11 0x0>, - <0x0 0x11 0x1>, - <0x0 0x11 0x2>, - <0x0 0x11 0x3>, - <0x0 0x11 0x4>, - <0x0 0x11 0x5>, - <0x0 0x11 0x6>; - - interrupt-names = "vbat-ov", - "vreg-ov", - "overtemp", - "vchg-loop", - "ichg-loop", - "ibat-loop", - "vdd-loop"; - }; - - qcom,bat-if@1200 { - status = "disabled"; - reg = <0x1200 0x100>; - interrupts = <0x0 0x12 0x0>, - <0x0 0x12 0x1>, - <0x0 0x12 0x2>, - <0x0 0x12 0x3>, - <0x0 0x12 0x4>; - - interrupt-names = "batt-pres", - "bat-temp-ok", - "bat-fet-on", - "vcp-on", - "psi"; - - }; - - pm8226_chg_otg: qcom,usb-chgpth@1300 { - status = "disabled"; - reg = <0x1300 0x100>; - interrupts = <0 0x13 0x0>, - <0 0x13 0x1>, - <0x0 0x13 0x2>; - - interrupt-names = "coarse-det-usb", - "usbin-valid", - "chg-gone"; - }; - - pm8226_chg_boost: qcom,boost@1500 { - status = "disabled"; - reg = <0x1500 0x100>; - interrupts = <0x0 0x15 0x0>, - <0x0 0x15 0x1>; - - interrupt-names = "boost-pwr-ok", - "limit-error"; - }; - - qcom,chg-misc@1600 { - status = "disabled"; - reg = <0x1600 0x100>; - }; - }; - - pm8226_bms: qcom,bms { - spmi-dev-container; - compatible = "qcom,qpnp-bms"; - #address-cells = <1>; - #size-cells = <1>; - status = "disabled"; - - qcom,r-sense-uohm = <10000>; - qcom,v-cutoff-uv = <3400000>; - qcom,max-voltage-uv = <4200000>; - qcom,r-conn-mohm = <0>; - qcom,shutdown-soc-valid-limit = <20>; - qcom,adjust-soc-low-threshold = <15>; - qcom,ocv-voltage-high-threshold-uv = <3750000>; - qcom,ocv-voltage-low-threshold-uv = <3650000>; - qcom,low-soc-calculate-soc-threshold = <15>; - qcom,low-soc-calculate-soc-ms = <5000>; - qcom,calculate-soc-ms = <20000>; - qcom,chg-term-ua = <100000>; - qcom,batt-type = <0>; - qcom,tm-temp-margin = <5000>; - qcom,low-ocv-correction-limit-uv = <100>; - qcom,high-ocv-correction-limit-uv = <50>; - qcom,hold-soc-est = <3>; - qcom,low-voltage-threshold = <3420000>; - - qcom,bms-iadc@3800 { - reg = <0x3800 0x100>; - }; - - qcom,bms-bms@4000 { - reg = <0x4000 0x100>; - interrupts = <0x0 0x40 0x0>, - <0x0 0x40 0x1>, - <0x0 0x40 0x2>, - <0x0 0x40 0x3>, - <0x0 0x40 0x4>, - <0x0 0x40 0x5>, - <0x0 0x40 0x6>, - <0x0 0x40 0x7>; - - interrupt-names = "vsense_for_r", - "vsense_avg", - "sw_cc_thr", - "ocv_thr", - "charge_begin", - "good_ocv", - "ocv_for_r", - "cc_thr"; - }; - }; - - qcom,leds@a100 { - compatible = "qcom,leds-qpnp"; - reg = <0xa100 0x100>; - label = "mpp"; - }; - - qcom,leds@a300 { - compatible = "qcom,leds-qpnp"; - reg = <0xa300 0x100>; - label = "mpp"; - }; - - qcom,leds@a500 { - compatible = "qcom,leds-qpnp"; - reg = <0xa500 0x100>; - label = "mpp"; - }; - - pm8226_gpios: gpios { - spmi-dev-container; - compatible = "qcom,qpnp-pin"; - gpio-controller; - #gpio-cells = <2>; - #address-cells = <1>; - #size-cells = <1>; - label = "pm8226-gpio"; - - gpio@c000 { - reg = <0xc000 0x100>; - qcom,pin-num = <1>; - }; - - gpio@c100 { - reg = <0xc100 0x100>; - qcom,pin-num = <2>; - }; - - gpio@c200 { - reg = <0xc200 0x100>; - qcom,pin-num = <3>; - }; - - gpio@c300 { - reg = <0xc300 0x100>; - qcom,pin-num = <4>; - }; - - gpio@c400 { - reg = <0xc400 0x100>; - qcom,pin-num = <5>; - }; - - gpio@c500 { - reg = <0xc500 0x100>; - qcom,pin-num = <6>; - }; - - gpio@c600 { - reg = <0xc600 0x100>; - qcom,pin-num = <7>; - }; - - gpio@c700 { - reg = <0xc700 0x100>; - qcom,pin-num = <8>; - }; - }; - - pm8226_mpps: mpps { - spmi-dev-container; - compatible = "qcom,qpnp-pin"; - gpio-controller; - #gpio-cells = <2>; - #address-cells = <1>; - #size-cells = <1>; - label = "pm8226-mpp"; - - mpp@a000 { - reg = <0xa000 0x100>; - qcom,pin-num = <1>; - }; - - mpp@a100 { - reg = <0xa100 0x100>; - qcom,pin-num = <2>; - }; - - mpp@a200 { - reg = <0xa200 0x100>; - qcom,pin-num = <3>; - }; - - mpp@a300 { - reg = <0xa300 0x100>; - qcom,pin-num = <4>; - }; - - mpp@a400 { - reg = <0xa400 0x100>; - qcom,pin-num = <5>; - }; - - mpp@a500 { - reg = <0xa500 0x100>; - qcom,pin-num = <6>; - }; - - mpp@a600 { - reg = <0xa600 0x100>; - qcom,pin-num = <7>; - }; - - mpp@a700 { - reg = <0xa700 0x100>; - qcom,pin-num = <8>; - }; - }; - - pm8226_vadc: vadc@3100 { - compatible = "qcom,qpnp-vadc"; - reg = <0x3100 0x100>; - #address-cells = <1>; - #size-cells = <0>; - interrupts = <0x0 0x31 0x0>; - interrupt-names = "eoc-int-en-set"; - qcom,adc-bit-resolution = <15>; - qcom,adc-vdd-reference = <1800>; - - chan@8 { - label = "die_temp"; - reg = <8>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <3>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@9 { - label = "ref_625mv"; - reg = <9>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@a { - label = "ref_1250v"; - reg = <0xa>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@c { - label = "ref_buf_625mv"; - reg = <0xc>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - }; - - iadc@3600 { - compatible = "qcom,qpnp-iadc"; - reg = <0x3600 0x100>; - #address-cells = <1>; - #size-cells = <0>; - interrupts = <0x0 0x36 0x0>; - interrupt-names = "eoc-int-en-set"; - qcom,adc-bit-resolution = <16>; - qcom,adc-vdd-reference = <1800>; - - chan@0 { - label = "internal_rsense"; - reg = <0>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <1>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - }; - - pm8226_adc_tm: vadc@3400 { - compatible = "qcom,qpnp-adc-tm"; - reg = <0x3400 0x100>; - #address-cells = <1>; - #size-cells = <0>; - interrupts = <0x0 0x34 0x0>, - <0x0 0x34 0x3>, - <0x0 0x34 0x4>; - interrupt-names = "eoc-int-en-set", - "high-thr-en-set", - "low-thr-en-set"; - qcom,adc-bit-resolution = <15>; - qcom,adc-vdd-reference = <1800>; - }; - - qcom,temp-alarm@2400 { - compatible = "qcom,qpnp-temp-alarm"; - reg = <0x2400 0x100>; - interrupts = <0x0 0x24 0x0>; - label = "pm8226_tz"; - qcom,channel-num = <8>; - qcom,threshold-set = <0>; - }; - - qcom,pm8226_rtc { - spmi-dev-container; - compatible = "qcom,qpnp-rtc"; - #address-cells = <1>; - #size-cells = <1>; - qcom,qpnp-rtc-write = <0>; - qcom,qpnp-rtc-alarm-pwrup = <0>; - - qcom,pm8226_rtc_rw@6000 { - reg = <0x6000 0x100>; - }; - qcom,pm8226_rtc_alarm@6100 { - reg = <0x6100 0x100>; - interrupts = <0x0 0x61 0x1>; - }; - }; - }; - - qcom,pm8226@1 { - spmi-slave-container; - reg = <0x1>; - #address-cells = <1>; - #size-cells = <1>; - - regulator@1400 { - regulator-name = "8226_s1"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x1400 0x300>; - status = "disabled"; - - qcom,ctl@1400 { - reg = <0x1400 0x100>; - }; - qcom,ps@1500 { - reg = <0x1500 0x100>; - }; - qcom,freq@1600 { - reg = <0x1600 0x100>; - }; - }; - - regulator@1700 { - regulator-name = "8226_s2"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x1700 0x300>; - status = "disabled"; - - qcom,ctl@1700 { - reg = <0x1700 0x100>; - }; - qcom,ps@1800 { - reg = <0x1800 0x100>; - }; - qcom,freq@1900 { - reg = <0x1900 0x100>; - }; - }; - - regulator@1a00 { - regulator-name = "8226_s3"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x1a00 0x300>; - status = "disabled"; - - qcom,ctl@1a00 { - reg = <0x1a00 0x100>; - }; - qcom,ps@1b00 { - reg = <0x1b00 0x100>; - }; - qcom,freq@1c00 { - reg = <0x1c00 0x100>; - }; - }; - - regulator@1d00 { - regulator-name = "8226_s4"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x1d00 0x300>; - status = "disabled"; - - qcom,ctl@1d00 { - reg = <0x1d00 0x100>; - }; - qcom,ps@1e00 { - reg = <0x1e00 0x100>; - }; - qcom,freq@1f00 { - reg = <0x1f00 0x100>; - }; - }; - - regulator@2000 { - regulator-name = "8226_s5"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x2000 0x300>; - status = "disabled"; - - qcom,ctl@2000 { - reg = <0x2000 0x100>; - }; - qcom,ps@2100 { - reg = <0x2100 0x100>; - }; - qcom,freq@2200 { - reg = <0x2200 0x100>; - }; - }; - - regulator@4000 { - regulator-name = "8226_l1"; - reg = <0x4000 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4100 { - regulator-name = "8226_l2"; - reg = <0x4100 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4200 { - regulator-name = "8226_l3"; - reg = <0x4200 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4300 { - regulator-name = "8226_l4"; - reg = <0x4300 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4400 { - regulator-name = "8226_l5"; - reg = <0x4400 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4500 { - regulator-name = "8226_l6"; - reg = <0x4500 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4600 { - regulator-name = "8226_l7"; - reg = <0x4600 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4700 { - regulator-name = "8226_l8"; - reg = <0x4700 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4800 { - regulator-name = "8226_l9"; - reg = <0x4800 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4900 { - regulator-name = "8226_l10"; - reg = <0x4900 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4b00 { - regulator-name = "8226_l12"; - reg = <0x4b00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4d00 { - regulator-name = "8226_l14"; - reg = <0x4d00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4e00 { - regulator-name = "8226_l15"; - reg = <0x4e00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4f00 { - regulator-name = "8226_l16"; - reg = <0x4f00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5000 { - regulator-name = "8226_l17"; - reg = <0x5000 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5100 { - regulator-name = "8226_l18"; - reg = <0x5100 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5200 { - regulator-name = "8226_l19"; - reg = <0x5200 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5300 { - regulator-name = "8226_l20"; - reg = <0x5300 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5400 { - regulator-name = "8226_l21"; - reg = <0x5400 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5500 { - regulator-name = "8226_l22"; - reg = <0x5500 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5600 { - regulator-name = "8226_l23"; - reg = <0x5600 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5700 { - regulator-name = "8226_l24"; - reg = <0x5700 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5900 { - regulator-name = "8226_l26"; - reg = <0x5900 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5a00 { - regulator-name = "8226_l27"; - reg = <0x5a00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5b00 { - regulator-name = "8226_l28"; - reg = <0x5b00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - qcom,leds@d800 { - compatible = "qcom,leds-qpnp"; - reg = <0xd800 0x100>; - label = "wled"; - }; - - pwm@b100 { - compatible = "qcom,qpnp-pwm"; - reg = <0xb100 0x100>, - <0xb042 0x7e>; - reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base"; - qcom,channel-id = <0>; - }; - - pwm@b200 { - compatible = "qcom,qpnp-pwm"; - reg = <0xb200 0x100>, - <0xb042 0x7e>; - reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base"; - qcom,channel-id = <1>; - }; - - pwm@b300 { - compatible = "qcom,qpnp-pwm"; - reg = <0xb300 0x100>, - <0xb042 0x7e>; - reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base"; - qcom,channel-id = <2>; - }; - - pwm@b400 { - compatible = "qcom,qpnp-pwm"; - reg = <0xb400 0x100>, - <0xb042 0x7e>; - reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base"; - qcom,channel-id = <3>; - }; - - pwm@b500 { - compatible = "qcom,qpnp-pwm"; - reg = <0xb500 0x100>, - <0xb042 0x7e>; - reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base"; - qcom,channel-id = <4>; - }; - - pwm@b600 { - compatible = "qcom,qpnp-pwm"; - reg = <0xb600 0x100>, - <0xb042 0x7e>; - reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base"; - qcom,channel-id = <5>; - }; - - regulator@8000 { - regulator-name = "8226_lvs1"; - reg = <0x8000 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - qcom,vibrator@c000 { - compatible = "qcom,qpnp-vibrator"; - reg = <0xc000 0x100>; - label = "vibrator"; - status = "disabled"; - }; - - qcom,leds@d300 { - compatible = "qcom,leds-qpnp"; - status = "okay"; - reg = <0xd300 0x100>; - label = "flash"; - flash_boost-supply = <&pm8226_chg_boost>; - pm8226_flash0: qcom,flash_0 { - qcom,max-current = <1000>; - qcom,default-state = "off"; - qcom,headroom = <0>; - qcom,duration = <1280>; - qcom,clamp-curr = <200>; - qcom,startup-dly = <1>; - qcom,safety-timer; - label = "flash"; - linux,default-trigger = - "flash0_trigger"; - qcom,id = <1>; - linux,name = "led:flash_0"; - qcom,current = <625>; - }; - - pm8226_flash1: qcom,flash_1 { - qcom,max-current = <1000>; - qcom,default-state = "off"; - qcom,headroom = <0>; - qcom,duration = <1280>; - qcom,clamp-curr = <200>; - qcom,startup-dly = <1>; - qcom,safety-timer; - linux,default-trigger = - "flash1_trigger"; - label = "flash"; - qcom,id = <2>; - linux,name = "led:flash_1"; - qcom,current = <625>; - }; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/msm-pm8841.dtsi b/kernel/arch/arm/boot/dts/m7300-un-v1/msm-pm8841.dtsi deleted file mode 100755 index a2d80ec05..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/msm-pm8841.dtsi +++ /dev/null @@ -1,242 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&spmi_bus { - #address-cells = <1>; - #size-cells = <0>; - interrupt-controller; - #interrupt-cells = <3>; - - qcom,pm8841@4 { - spmi-slave-container; - reg = <0x4>; - #address-cells = <1>; - #size-cells = <1>; - - qcom,qpnp-revid@100 { - compatible = "qcom,qpnp-revid"; - reg = <0x100 0x100>; - }; - - qcom,temp-alarm@2400 { - compatible = "qcom,qpnp-temp-alarm"; - reg = <0x2400 0x100>; - interrupts = <0x4 0x24 0x0>; - label = "pm8841_tz"; - qcom,threshold-set = <0>; - qcom,default-temp = <37000>; - }; - - pm8841_mpps: mpps { - spmi-dev-container; - compatible = "qcom,qpnp-pin"; - gpio-controller; - #gpio-cells = <2>; - #address-cells = <1>; - #size-cells = <1>; - label = "pm8841-mpp"; - - mpp@a000 { - reg = <0xa000 0x100>; - qcom,pin-num = <1>; - }; - - mpp@a100 { - reg = <0xa100 0x100>; - qcom,pin-num = <2>; - }; - - mpp@a200 { - reg = <0xa200 0x100>; - qcom,pin-num = <3>; - }; - - mpp@a300 { - reg = <0xa300 0x100>; - qcom,pin-num = <4>; - }; - }; - }; - - qcom,pm8841@5 { - spmi-slave-container; - reg = <0x5>; - #address-cells = <1>; - #size-cells = <1>; - - regulator@1400 { - regulator-name = "8841_s1"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x1400 0x300>; - status = "disabled"; - - qcom,ctl@1400 { - reg = <0x1400 0x100>; - }; - qcom,ps@1500 { - reg = <0x1500 0x100>; - }; - qcom,freq@1600 { - reg = <0x1600 0x100>; - }; - }; - - regulator@1700 { - regulator-name = "8841_s2"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x1700 0x300>; - status = "disabled"; - qcom,force-type = <0x1c 0x08>; - - qcom,ctl@1700 { - reg = <0x1700 0x100>; - }; - qcom,ps@1800 { - reg = <0x1800 0x100>; - }; - qcom,freq@1900 { - reg = <0x1900 0x100>; - }; - }; - - regulator@1a00 { - regulator-name = "8841_s3"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x1a00 0x300>; - status = "disabled"; - - qcom,ctl@1a00 { - reg = <0x1a00 0x100>; - }; - qcom,ps@1b00 { - reg = <0x1b00 0x100>; - }; - qcom,freq@1c00 { - reg = <0x1c00 0x100>; - }; - }; - - regulator@1d00 { - regulator-name = "8841_s4"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x1d00 0x300>; - status = "disabled"; - qcom,force-type = <0x1c 0x08>; - - qcom,ctl@1d00 { - reg = <0x1d00 0x100>; - }; - qcom,ps@1e00 { - reg = <0x1e00 0x100>; - }; - qcom,freq@1f00 { - reg = <0x1f00 0x100>; - }; - }; - - regulator@2000 { - regulator-name = "8841_s5"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x2000 0x300>; - status = "disabled"; - qcom,force-type = <0x1c 0x08>; - - qcom,ctl@0 { - reg = <0x2000 0x100>; - }; - qcom,ps@100 { - reg = <0x2100 0x100>; - }; - qcom,freq@200 { - reg = <0x2200 0x100>; - }; - }; - - regulator@2300 { - regulator-name = "8841_s6"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x2300 0x300>; - status = "disabled"; - qcom,force-type = <0x1c 0x08>; - - qcom,ctl@2300 { - reg = <0x2300 0x100>; - }; - qcom,ps@2400 { - reg = <0x2400 0x100>; - }; - qcom,freq@2500 { - reg = <0x2500 0x100>; - }; - }; - - regulator@2600 { - regulator-name = "8841_s7"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x2600 0x300>; - status = "disabled"; - qcom,force-type = <0x1c 0x08>; - - qcom,ctl@2600 { - reg = <0x2600 0x100>; - }; - qcom,ps@2700 { - reg = <0x2700 0x100>; - }; - qcom,freq@2800 { - reg = <0x2800 0x100>; - }; - }; - - regulator@2900 { - regulator-name = "8841_s8"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x2900 0x300>; - status = "disabled"; - qcom,force-type = <0x1c 0x08>; - - qcom,ctl@2900 { - reg = <0x2900 0x100>; - }; - qcom,ps@2a000 { - reg = <0x2a00 0x100>; - }; - qcom,freq@2b00 { - reg = <0x2b00 0x100>; - }; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/msm-pm8941.dtsi b/kernel/arch/arm/boot/dts/m7300-un-v1/msm-pm8941.dtsi deleted file mode 100755 index b4e557e16..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/msm-pm8941.dtsi +++ /dev/null @@ -1,1384 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&spmi_bus { - #address-cells = <1>; - #size-cells = <0>; - interrupt-controller; - #interrupt-cells = <3>; - - qcom,pm8941@0 { - spmi-slave-container; - reg = <0x0>; - #address-cells = <1>; - #size-cells = <1>; - - pm8941_misc: qcom,misc@900 { - compatible = "qcom,qpnp-misc"; - reg = <0x900 0x100>; - }; - - qcom,revid@100 { - compatible = "qcom,qpnp-revid"; - reg = <0x100 0x100>; - }; - - qcom,temp-alarm@2400 { - compatible = "qcom,qpnp-temp-alarm"; - reg = <0x2400 0x100>; - interrupts = <0x0 0x24 0x0>; - label = "pm8941_tz"; - qcom,channel-num = <8>; - qcom,threshold-set = <0>; - }; - - qcom,power-on@800 { - compatible = "qcom,qpnp-power-on"; - reg = <0x800 0x100>; - interrupts = <0x0 0x8 0x0>, - <0x0 0x8 0x1>, - <0x0 0x8 0x4>; - interrupt-names = "kpdpwr", "resin", "resin-bark"; - qcom,pon-dbc-delay = <15625>; - qcom,system-reset; - - qcom,pon_1 { - qcom,pon-type = <0>; - qcom,pull-up = <1>; - linux,code = <116>; - }; - - qcom,pon_2 { - qcom,pon-type = <1>; - qcom,support-reset = <1>; - qcom,pull-up = <1>; - qcom,s1-timer = <0>; - qcom,s2-timer = <2000>; - qcom,s2-type = <1>; - linux,code = <114>; - }; - }; - - bif_ctrl: qcom,bsi@1b00 { - compatible = "qcom,qpnp-bsi"; - reg = <0x1b00 0x100>, - <0x1208 0x1>; - reg-names = "bsi-base", "batt-id-status"; - label = "pm8941-bsi"; - interrupts = <0x0 0x1b 0x0>, - <0x0 0x1b 0x1>, - <0x0 0x1b 0x2>, - <0x0 0x12 0x0>; - interrupt-names = "err", - "rx", - "tx", - "batt-present"; - qcom,channel-num = <0x31>; - qcom,pullup-ohms = <100000>; - qcom,vref-microvolts = <1800000>; - qcom,min-clock-period = <1000>; - qcom,max-clock-period = <160000>; - qcom,sample-rate = <4>; - }; - - pm8941_coincell: qcom,coincell@2800 { - compatible = "qcom,qpnp-coincell"; - reg = <0x2800 0x100>; - }; - - pm8941_bms: qcom,bms { - spmi-dev-container; - compatible = "qcom,qpnp-bms"; - #address-cells = <1>; - #size-cells = <1>; - status = "disabled"; - - qcom,r-sense-uohm = <10000>; - qcom,v-cutoff-uv = <3400000>; - qcom,max-voltage-uv = <4200000>; - qcom,r-conn-mohm = <0>; - qcom,shutdown-soc-valid-limit = <20>; - qcom,adjust-soc-low-threshold = <15>; - qcom,ocv-voltage-high-threshold-uv = <3750000>; - qcom,ocv-voltage-low-threshold-uv = <3650000>; - qcom,low-soc-calculate-soc-threshold = <15>; - qcom,low-soc-calculate-soc-ms = <5000>; - qcom,calculate-soc-ms = <20000>; - qcom,chg-term-ua = <100000>; - qcom,batt-type = <0>; - qcom,low-voltage-threshold = <3420000>; - qcom,tm-temp-margin = <5000>; - qcom,low-ocv-correction-limit-uv = <100>; - qcom,high-ocv-correction-limit-uv = <50>; - qcom,hold-soc-est = <3>; - - qcom,bms-iadc@3800 { - reg = <0x3800 0x100>; - }; - - qcom,bms-bms@4000 { - reg = <0x4000 0x100>; - interrupts = <0x0 0x40 0x0>, - <0x0 0x40 0x1>, - <0x0 0x40 0x2>, - <0x0 0x40 0x3>, - <0x0 0x40 0x4>, - <0x0 0x40 0x5>, - <0x0 0x40 0x6>, - <0x0 0x40 0x7>; - - interrupt-names = "vsense_for_r", - "vsense_avg", - "sw_cc_thr", - "ocv_thr", - "charge_begin", - "good_ocv", - "ocv_for_r", - "cc_thr"; - }; - }; - - clkdiv@5b00 { - reg = <0x5b00 0x100>; - compatible = "qcom,qpnp-clkdiv"; - qcom,cxo-freq = <19200000>; - }; - - clkdiv@5c00 { - reg = <0x5c00 0x100>; - compatible = "qcom,qpnp-clkdiv"; - qcom,cxo-freq = <19200000>; - }; - - clkdiv@5d00 { - reg = <0x5d00 0x1000>; - compatible = "qcom,qpnp-clkdiv"; - qcom,cxo-freq = <19200000>; - }; - - pm8941_chg: qcom,charger { - spmi-dev-container; - compatible = "qcom,qpnp-charger"; - #address-cells = <1>; - #size-cells = <1>; - status = "disabled"; - - qcom,vddmax-mv = <4200>; - qcom,vddsafe-mv = <4230>; - qcom,vinmin-mv = <4300>; - qcom,ibatmax-ma = <1500>; - qcom,ibatterm-ma = <100>; - qcom,ibatsafe-ma = <1500>; - qcom,thermal-mitigation = <1500 700 600 325>; - qcom,cool-bat-decidegc = <100>; - qcom,cool-bat-mv = <4100>; - qcom,ibatmax-warm-ma = <350>; - qcom,warm-bat-decidegc = <450>; - qcom,warm-bat-mv = <4100>; - qcom,ibatmax-cool-ma = <350>; - qcom,vbatdet-delta-mv = <100>; - qcom,tchg-mins = <150>; - - qcom,chgr@1000 { - status = "disabled"; - reg = <0x1000 0x100>; - interrupts = <0x0 0x10 0x0>, - <0x0 0x10 0x1>, - <0x0 0x10 0x2>, - <0x0 0x10 0x3>, - <0x0 0x10 0x4>, - <0x0 0x10 0x5>, - <0x0 0x10 0x6>, - <0x0 0x10 0x7>; - - interrupt-names = "vbat-det-lo", - "vbat-det-hi", - "chgwdog", - "state-change", - "trkl-chg-on", - "fast-chg-on", - "chg-failed", - "chg-done"; - }; - - qcom,buck@1100 { - status = "disabled"; - reg = <0x1100 0x100>; - interrupts = <0x0 0x11 0x0>, - <0x0 0x11 0x1>, - <0x0 0x11 0x2>, - <0x0 0x11 0x3>, - <0x0 0x11 0x4>, - <0x0 0x11 0x5>, - <0x0 0x11 0x6>; - - interrupt-names = "vbat-ov", - "vreg-ov", - "overtemp", - "vchg-loop", - "ichg-loop", - "ibat-loop", - "vdd-loop"; - }; - - qcom,bat-if@1200 { - status = "disabled"; - reg = <0x1200 0x100>; - interrupts = <0x0 0x12 0x0>, - <0x0 0x12 0x1>, - <0x0 0x12 0x2>, - <0x0 0x12 0x3>, - <0x0 0x12 0x4>; - - interrupt-names = "batt-pres", - "bat-temp-ok", - "bat-fet-on", - "vcp-on", - "psi"; - - }; - - pm8941_chg_otg: qcom,usb-chgpth@1300 { - status = "disabled"; - reg = <0x1300 0x100>; - interrupts = <0 0x13 0x0>, - <0 0x13 0x1>, - <0x0 0x13 0x2>; - - interrupt-names = "coarse-det-usb", - "usbin-valid", - "chg-gone"; - }; - - qcom,dc-chgpth@1400 { - status = "disabled"; - reg = <0x1400 0x100>; - interrupts = <0x0 0x14 0x0>, - <0x0 0x14 0x1>; - - interrupt-names = "coarse-det-dc", - "dcin-valid"; - }; - - pm8941_chg_boost: qcom,boost@1500 { - status = "disabled"; - reg = <0x1500 0x100>; - interrupts = <0x0 0x15 0x0>, - <0x0 0x15 0x1>; - - interrupt-names = "boost-pwr-ok", - "limit-error"; - }; - - qcom,chg-misc@1600 { - status = "disabled"; - reg = <0x1600 0x100>; - }; - }; - - pm8941_gpios: gpios { - spmi-dev-container; - compatible = "qcom,qpnp-pin"; - gpio-controller; - #gpio-cells = <2>; - #address-cells = <1>; - #size-cells = <1>; - label = "pm8941-gpio"; - - gpio@c000 { - reg = <0xc000 0x100>; - qcom,pin-num = <1>; - }; - - gpio@c100 { - reg = <0xc100 0x100>; - qcom,pin-num = <2>; - }; - - gpio@c200 { - reg = <0xc200 0x100>; - qcom,pin-num = <3>; - }; - - gpio@c300 { - reg = <0xc300 0x100>; - qcom,pin-num = <4>; - }; - - gpio@c400 { - reg = <0xc400 0x100>; - qcom,pin-num = <5>; - }; - - gpio@c500 { - reg = <0xc500 0x100>; - qcom,pin-num = <6>; - }; - - gpio@c600 { - reg = <0xc600 0x100>; - qcom,pin-num = <7>; - }; - - gpio@c700 { - reg = <0xc700 0x100>; - qcom,pin-num = <8>; - }; - - gpio@c800 { - reg = <0xc800 0x100>; - qcom,pin-num = <9>; - }; - - gpio@c900 { - reg = <0xc900 0x100>; - qcom,pin-num = <10>; - }; - - gpio@ca00 { - reg = <0xca00 0x100>; - qcom,pin-num = <11>; - }; - - gpio@cb00 { - reg = <0xcb00 0x100>; - qcom,pin-num = <12>; - }; - - gpio@cc00 { - reg = <0xcc00 0x100>; - qcom,pin-num = <13>; - }; - - gpio@cd00 { - reg = <0xcd00 0x100>; - qcom,pin-num = <14>; - }; - - gpio@ce00 { - reg = <0xce00 0x100>; - qcom,pin-num = <15>; - }; - - gpio@cf00 { - reg = <0xcf00 0x100>; - qcom,pin-num = <16>; - }; - - gpio@d000 { - reg = <0xd000 0x100>; - qcom,pin-num = <17>; - }; - - gpio@d100 { - reg = <0xd100 0x100>; - qcom,pin-num = <18>; - }; - - gpio@d200 { - reg = <0xd200 0x100>; - qcom,pin-num = <19>; - }; - - gpio@d300 { - reg = <0xd300 0x100>; - qcom,pin-num = <20>; - }; - - gpio@d400 { - reg = <0xd400 0x100>; - qcom,pin-num = <21>; - }; - - gpio@d500 { - reg = <0xd500 0x100>; - qcom,pin-num = <22>; - }; - - gpio@d600 { - reg = <0xd600 0x100>; - qcom,pin-num = <23>; - }; - - gpio@d700 { - reg = <0xd700 0x100>; - qcom,pin-num = <24>; - }; - - gpio@d800 { - reg = <0xd800 0x100>; - qcom,pin-num = <25>; - }; - - gpio@d900 { - reg = <0xd900 0x100>; - qcom,pin-num = <26>; - }; - - gpio@da00 { - reg = <0xda00 0x100>; - qcom,pin-num = <27>; - }; - - gpio@db00 { - reg = <0xdb00 0x100>; - qcom,pin-num = <28>; - }; - - gpio@dc00 { - reg = <0xdc00 0x100>; - qcom,pin-num = <29>; - }; - - gpio@dd00 { - reg = <0xdd00 0x100>; - qcom,pin-num = <30>; - }; - - gpio@de00 { - reg = <0xde00 0x100>; - qcom,pin-num = <31>; - }; - - gpio@df00 { - reg = <0xdf00 0x100>; - qcom,pin-num = <32>; - }; - - gpio@e000 { - reg = <0xe000 0x100>; - qcom,pin-num = <33>; - }; - - gpio@e100 { - reg = <0xe100 0x100>; - qcom,pin-num = <34>; - }; - - gpio@e200 { - reg = <0xe200 0x100>; - qcom,pin-num = <35>; - }; - - gpio@e300 { - reg = <0xe300 0x100>; - qcom,pin-num = <36>; - }; - }; - - pm8941_mpps: mpps { - spmi-dev-container; - compatible = "qcom,qpnp-pin"; - gpio-controller; - #gpio-cells = <2>; - #address-cells = <1>; - #size-cells = <1>; - label = "pm8941-mpp"; - - mpp@a000 { - reg = <0xa000 0x100>; - qcom,pin-num = <1>; - }; - - mpp@a100 { - reg = <0xa100 0x100>; - qcom,pin-num = <2>; - }; - - mpp@a200 { - reg = <0xa200 0x100>; - qcom,pin-num = <3>; - }; - - mpp@a300 { - reg = <0xa300 0x100>; - qcom,pin-num = <4>; - }; - - mpp@a400 { - reg = <0xa400 0x100>; - qcom,pin-num = <5>; - }; - - mpp@a500 { - reg = <0xa500 0x100>; - qcom,pin-num = <6>; - }; - - mpp@a600 { - reg = <0xa600 0x100>; - qcom,pin-num = <7>; - }; - - mpp@a700 { - reg = <0xa700 0x100>; - qcom,pin-num = <8>; - }; - }; - - qcom,pm8941_rtc { - spmi-dev-container; - compatible = "qcom,qpnp-rtc"; - #address-cells = <1>; - #size-cells = <1>; - qcom,qpnp-rtc-write = <0>; - qcom,qpnp-rtc-alarm-pwrup = <0>; - - qcom,pm8941_rtc_rw@6000 { - reg = <0x6000 0x100>; - }; - qcom,pm8941_rtc_alarm@6100 { - reg = <0x6100 0x100>; - interrupts = <0x0 0x61 0x1>; - }; - }; - - vadc@3100 { - compatible = "qcom,qpnp-vadc"; - reg = <0x3100 0x100>; - #address-cells = <1>; - #size-cells = <0>; - interrupts = <0x0 0x31 0x0>; - interrupt-names = "eoc-int-en-set"; - qcom,adc-bit-resolution = <15>; - qcom,adc-vdd-reference = <1800>; - - chan@0 { - label = "usb_in"; - reg = <0>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <4>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@1 { - label = "dc_in"; - reg = <1>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <4>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@2 { - label = "vchg_sns"; - reg = <2>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <3>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@3 { - label = "spare1_div3"; - reg = <3>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <1>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@4 { - label = "usb_id_mv"; - reg = <4>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <1>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@5 { - label = "vcoin"; - reg = <5>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <1>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@6 { - label = "vbat_sns"; - reg = <6>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <1>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@7 { - label = "vph_pwr"; - reg = <7>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <1>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@8 { - label = "die_temp"; - reg = <8>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <3>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@9 { - label = "ref_625mv"; - reg = <9>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@a { - label = "ref_1250v"; - reg = <0xa>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@30 { - label = "batt_therm"; - reg = <0x30>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <1>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@31 { - label = "batt_id"; - reg = <0x31>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@b2 { - label = "xo_therm_pu2"; - reg = <0xb2>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <4>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@b3 { - label = "msm_therm"; - reg = <0xb3>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@b4 { - label = "emmc_therm"; - reg = <0xb4>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@b5 { - label = "pa_therm0"; - reg = <0xb5>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@b7 { - label = "pa_therm1"; - reg = <0xb7>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@b8 { - label = "quiet_therm"; - reg = <0xb8>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@b9 { - label = "usb_id"; - reg = <0xb9>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@39 { - label = "usb_id_nopull"; - reg = <0x39>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - }; - - iadc@3600 { - compatible = "qcom,qpnp-iadc"; - reg = <0x3600 0x100>; - #address-cells = <1>; - #size-cells = <0>; - interrupts = <0x0 0x36 0x0>; - interrupt-names = "eoc-int-en-set"; - qcom,adc-bit-resolution = <16>; - qcom,adc-vdd-reference = <1800>; - - chan@0 { - label = "internal_rsense"; - reg = <0>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <1>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - }; - - qcom,vadc@3400 { - compatible = "qcom,qpnp-adc-tm"; - reg = <0x3400 0x100>; - #address-cells = <1>; - #size-cells = <0>; - interrupts = <0x0 0x34 0x0>, - <0x0 0x34 0x3>, - <0x0 0x34 0x4>; - interrupt-names = "eoc-int-en-set", - "high-thr-en-set", - "low-thr-en-set"; - qcom,adc-bit-resolution = <15>; - qcom,adc-vdd-reference = <1800>; - - /* Channel Node */ - chan@b9 { - label = "usb_id"; - reg = <0xb9>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <3>; - qcom,btm-channel-number = <0x48>; - }; - - chan@30 { - label = "batt_therm"; - reg = <0x30>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <1>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <3>; - qcom,btm-channel-number = <0x68>; - }; - - chan@8 { - label = "die_temp"; - reg = <8>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <3>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <3>; - qcom,btm-channel-number = <0x70>; - }; - - chan@6 { - label = "vbat_sns"; - reg = <6>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <1>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <3>; - qcom,btm-channel-number = <0x78>; - }; - - chan@b5 { - label = "pa_therm0"; - reg = <0xb5>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <3>; - qcom,btm-channel-number = <0x80>; - qcom,thermal-node; - }; - - chan@b7 { - label = "pa_therm1"; - reg = <0xb7>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <3>; - qcom,btm-channel-number = <0x88>; - qcom,thermal-node; - }; - - chan@b4 { - label = "emmc_therm"; - reg = <0xb4>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <3>; - qcom,btm-channel-number = <0x90>; - qcom,thermal-node; - }; - - chan@b3 { - label = "msm_therm"; - reg = <0xb3>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <3>; - qcom,btm-channel-number = <0x98>; - qcom,thermal-node; - }; - }; - }; - - qcom,pm8941@1 { - spmi-slave-container; - reg = <0x1>; - #address-cells = <1>; - #size-cells = <1>; - - regulator@1400 { - regulator-name = "8941_s1"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x1400 0x300>; - status = "disabled"; - - qcom,ctl@1400 { - reg = <0x1400 0x100>; - }; - qcom,ps@1500 { - reg = <0x1500 0x100>; - }; - qcom,freq@1600 { - reg = <0x1600 0x100>; - }; - }; - - regulator@1700 { - regulator-name = "8941_s2"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x1700 0x300>; - status = "disabled"; - - qcom,ctl@1700 { - reg = <0x1700 0x100>; - }; - qcom,ps@1800 { - reg = <0x1800 0x100>; - }; - qcom,freq@1900 { - reg = <0x1900 0x100>; - }; - }; - - regulator@1a00 { - regulator-name = "8941_s3"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x1a00 0x300>; - status = "disabled"; - - qcom,ctl@1a00 { - reg = <0x1a00 0x100>; - }; - qcom,ps@1b00 { - reg = <0x1b00 0x100>; - }; - qcom,freq@1c00 { - reg = <0x1c00 0x100>; - }; - }; - - regulator@a000 { - regulator-name = "8941_boost"; - reg = <0xa000 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4000 { - regulator-name = "8941_l1"; - reg = <0x4000 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4100 { - regulator-name = "8941_l2"; - reg = <0x4100 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4200 { - regulator-name = "8941_l3"; - reg = <0x4200 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4300 { - regulator-name = "8941_l4"; - reg = <0x4300 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4400 { - regulator-name = "8941_l5"; - reg = <0x4400 0x100>; - compatible = "qcom,qpnp-regulator"; - qcom,force-type = <0x04 0x10>; - status = "disabled"; - }; - - regulator@4500 { - regulator-name = "8941_l6"; - reg = <0x4500 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4600 { - regulator-name = "8941_l7"; - reg = <0x4600 0x100>; - compatible = "qcom,qpnp-regulator"; - qcom,force-type = <0x04 0x10>; - status = "disabled"; - }; - - regulator@4700 { - regulator-name = "8941_l8"; - reg = <0x4700 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4800 { - regulator-name = "8941_l9"; - reg = <0x4800 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4900 { - regulator-name = "8941_l10"; - reg = <0x4900 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4a00 { - regulator-name = "8941_l11"; - reg = <0x4a00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4b00 { - regulator-name = "8941_l12"; - reg = <0x4b00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4c00 { - regulator-name = "8941_l13"; - reg = <0x4c00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4d00 { - regulator-name = "8941_l14"; - reg = <0x4d00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4e00 { - regulator-name = "8941_l15"; - reg = <0x4e00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4f00 { - regulator-name = "8941_l16"; - reg = <0x4f00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5000 { - regulator-name = "8941_l17"; - reg = <0x5000 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5100 { - regulator-name = "8941_l18"; - reg = <0x5100 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5200 { - regulator-name = "8941_l19"; - reg = <0x5200 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5300 { - regulator-name = "8941_l20"; - reg = <0x5300 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5400 { - regulator-name = "8941_l21"; - reg = <0x5400 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5500 { - regulator-name = "8941_l22"; - reg = <0x5500 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5600 { - regulator-name = "8941_l23"; - reg = <0x5600 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5700 { - regulator-name = "8941_l24"; - reg = <0x5700 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@8000 { - regulator-name = "8941_lvs1"; - reg = <0x8000 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@8100 { - regulator-name = "8941_lvs2"; - reg = <0x8100 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@8200 { - regulator-name = "8941_lvs3"; - reg = <0x8200 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@8300 { - regulator-name = "8941_mvs1"; - reg = <0x8300 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@8400 { - regulator-name = "8941_mvs2"; - reg = <0x8400 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - qcom,vibrator@c000 { - compatible = "qcom,qpnp-vibrator"; - reg = <0xc000 0x100>; - label = "vibrator"; - status = "disabled"; - }; - - qcom,leds@d000 { - compatible = "qcom,leds-qpnp"; - reg = <0xd000 0x100>; - label = "rgb"; - }; - - qcom,leds@d100 { - compatible = "qcom,leds-qpnp"; - reg = <0xd100 0x100>; - label = "rgb"; - }; - - qcom,leds@d200 { - compatible = "qcom,leds-qpnp"; - reg = <0xd200 0x100>; - label = "rgb"; - }; - - qcom,leds@d300 { - compatible = "qcom,leds-qpnp"; - reg = <0xd300 0x100>; - label = "flash"; - flash_boost-supply = <&pm8941_chg_boost>; - }; - - qcom,leds@d400 { - compatible = "qcom,leds-qpnp"; - reg = <0xd400 0x100>; - label = "flash"; - }; - - qcom,leds@d500 { - compatible = "qcom,leds-qpnp"; - reg = <0xd500 0x100>; - label = "flash"; - }; - - qcom,leds@d600 { - compatible = "qcom,leds-qpnp"; - reg = <0xd600 0x100>; - label = "flash"; - }; - - qcom,leds@d700 { - compatible = "qcom,leds-qpnp"; - reg = <0xd700 0x100>; - label = "flash"; - }; - - qcom,leds@d800 { - compatible = "qcom,leds-qpnp"; - reg = <0xd800 0x100>; - label = "wled"; - }; - - qcom,leds@d900 { - compatible = "qcom,leds-qpnp"; - reg = <0xd900 0x100>; - label = "wled"; - }; - - qcom,leds@da00 { - compatible = "qcom,leds-qpnp"; - reg = <0xda00 0x100>; - label = "wled"; - }; - - qcom,leds@db00 { - compatible = "qcom,leds-qpnp"; - reg = <0xdb00 0x100>; - label = "wled"; - }; - - qcom,leds@dc00 { - compatible = "qcom,leds-qpnp"; - reg = <0xdc00 0x100>; - label = "wled"; - }; - - qcom,leds@dd00 { - compatible = "qcom,leds-qpnp"; - reg = <0xdd00 0x100>; - label = "wled"; - }; - - qcom,leds@de00 { - compatible = "qcom,leds-qpnp"; - reg = <0xde00 0x100>; - label = "wled"; - }; - - qcom,leds@df00 { - compatible = "qcom,leds-qpnp"; - reg = <0xdf00 0x100>; - label = "wled"; - }; - - qcom,leds@e000 { - compatible = "qcom,leds-qpnp"; - reg = <0xe000 0x100>; - label = "wled"; - }; - - qcom,leds@e100 { - compatible = "qcom,leds-qpnp"; - reg = <0xe100 0x100>; - label = "wled"; - }; - - pwm@b100 { - compatible = "qcom,qpnp-pwm"; - reg = <0xb100 0x100>, - <0xb042 0x7e>; - reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base"; - qcom,channel-id = <0>; - }; - - pwm@b200 { - compatible = "qcom,qpnp-pwm"; - reg = <0xb200 0x100>, - <0xb042 0x7e>; - reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base"; - qcom,channel-id = <1>; - }; - - pwm@b300 { - compatible = "qcom,qpnp-pwm"; - reg = <0xb300 0x100>, - <0xb042 0x7e>; - reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base"; - qcom,channel-id = <2>; - }; - - pwm@b400 { - compatible = "qcom,qpnp-pwm"; - reg = <0xb400 0x100>, - <0xb042 0x7e>; - reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base"; - qcom,channel-id = <3>; - }; - - pwm@b500 { - compatible = "qcom,qpnp-pwm"; - reg = <0xb500 0x100>, - <0xb042 0x7e>; - reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base"; - qcom,channel-id = <4>; - }; - - pwm@b600 { - compatible = "qcom,qpnp-pwm"; - reg = <0xb600 0x100>, - <0xb042 0x7e>; - reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base"; - qcom,channel-id = <5>; - }; - - pwm@b700 { - compatible = "qcom,qpnp-pwm"; - reg = <0xb700 0x100>, - <0xb042 0x7e>; - reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base"; - qcom,channel-id = <6>; - }; - - pwm@b800 { - compatible = "qcom,qpnp-pwm"; - reg = <0xb800 0x100>, - <0xb042 0x7e>; - reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base"; - qcom,channel-id = <7>; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/msm-pm8x41-rpm-regulator.dtsi b/kernel/arch/arm/boot/dts/m7300-un-v1/msm-pm8x41-rpm-regulator.dtsi deleted file mode 100755 index 6e67dd85c..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/msm-pm8x41-rpm-regulator.dtsi +++ /dev/null @@ -1,585 +0,0 @@ -/* Copyright (c) 2012, 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. - */ - -&rpm_bus { - rpm-regulator-smpb1 { - qcom,resource-name = "smpb"; - qcom,resource-id = <1>; - qcom,regulator-type = <1>; - qcom,hpm-min-load = <100000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-s1 { - regulator-name = "8841_s1"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-smpb2 { - qcom,resource-name = "smpb"; - qcom,resource-id = <2>; - qcom,regulator-type = <1>; - qcom,hpm-min-load = <100000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-s2 { - regulator-name = "8841_s2"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-smpb3 { - qcom,resource-name = "smpb"; - qcom,resource-id = <3>; - qcom,regulator-type = <1>; - qcom,hpm-min-load = <100000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-s3 { - regulator-name = "8841_s3"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-smpb4 { - qcom,resource-name = "smpb"; - qcom,resource-id = <4>; - qcom,regulator-type = <1>; - qcom,hpm-min-load = <100000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-s4 { - regulator-name = "8841_s4"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-smpa1 { - qcom,resource-name = "smpa"; - qcom,resource-id = <1>; - qcom,regulator-type = <1>; - qcom,hpm-min-load = <100000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-s1 { - regulator-name = "8941_s1"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-smpa2 { - qcom,resource-name = "smpa"; - qcom,resource-id = <2>; - qcom,regulator-type = <1>; - qcom,hpm-min-load = <100000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-s2 { - regulator-name = "8941_s2"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-smpa3 { - qcom,resource-name = "smpa"; - qcom,resource-id = <3>; - qcom,regulator-type = <1>; - qcom,hpm-min-load = <100000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-s3 { - regulator-name = "8941_s3"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa1 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <1>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l1 { - regulator-name = "8941_l1"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa2 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <2>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l2 { - regulator-name = "8941_l2"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa3 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <3>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l3 { - regulator-name = "8941_l3"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa4 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <4>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l4 { - regulator-name = "8941_l4"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa5 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <5>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l5 { - regulator-name = "8941_l5"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa6 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <6>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l6 { - regulator-name = "8941_l6"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa7 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <7>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l7 { - regulator-name = "8941_l7"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa8 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <8>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l8 { - regulator-name = "8941_l8"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa9 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <9>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l9 { - regulator-name = "8941_l9"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa10 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <10>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l10 { - regulator-name = "8941_l10"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa11 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <11>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l11 { - regulator-name = "8941_l11"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa12 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <12>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l12 { - regulator-name = "8941_l12"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa13 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <13>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l13 { - regulator-name = "8941_l13"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa14 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <14>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l14 { - regulator-name = "8941_l14"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa15 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <15>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l15 { - regulator-name = "8941_l15"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa16 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <16>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l16 { - regulator-name = "8941_l16"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa17 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <17>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l17 { - regulator-name = "8941_l17"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa18 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <18>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l18 { - regulator-name = "8941_l18"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa19 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <19>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l19 { - regulator-name = "8941_l19"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa20 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <20>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l20 { - regulator-name = "8941_l20"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa21 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <21>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l21 { - regulator-name = "8941_l21"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa22 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <22>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l22 { - regulator-name = "8941_l22"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa23 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <23>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l23 { - regulator-name = "8941_l23"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa24 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <24>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l24 { - regulator-name = "8941_l24"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - /* TODO: find out correct resource names for LVS vs MVS */ - rpm-regulator-vsa1 { - qcom,resource-name = "vsa"; - qcom,resource-id = <1>; - qcom,regulator-type = <2>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-lvs1 { - regulator-name = "8941_lvs1"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-vsa2 { - qcom,resource-name = "vsa"; - qcom,resource-id = <2>; - qcom,regulator-type = <2>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-lvs2 { - regulator-name = "8941_lvs2"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-vsa3 { - qcom,resource-name = "vsa"; - qcom,resource-id = <3>; - qcom,regulator-type = <2>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-lvs3 { - regulator-name = "8941_lvs3"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-vsa4 { - qcom,resource-name = "vsa"; - qcom,resource-id = <4>; - qcom,regulator-type = <2>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-mvs1 { - regulator-name = "8941_mvs1"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-vsa5 { - qcom,resource-name = "vsa"; - qcom,resource-id = <5>; - qcom,regulator-type = <2>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-mvs2 { - regulator-name = "8941_mvs2"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/msm-pma8084.dtsi b/kernel/arch/arm/boot/dts/m7300-un-v1/msm-pma8084.dtsi deleted file mode 100755 index 30525aac0..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/msm-pma8084.dtsi +++ /dev/null @@ -1,666 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&spmi_bus { - #address-cells = <1>; - #size-cells = <0>; - interrupt-controller; - #interrupt-cells = <3>; - - qcom,pma8084@0 { - spmi-slave-container; - reg = <0x0>; - #address-cells = <1>; - #size-cells = <1>; - - pma8084_gpios: gpios { - spmi-dev-container; - compatible = "qcom,qpnp-pin"; - gpio-controller; - #gpio-cells = <2>; - #address-cells = <1>; - #size-cells = <1>; - label = "pma8084-gpio"; - - gpio@c000 { - reg = <0xc000 0x100>; - qcom,pin-num = <1>; - }; - - gpio@c100 { - reg = <0xc100 0x100>; - qcom,pin-num = <2>; - }; - - gpio@c200 { - reg = <0xc200 0x100>; - qcom,pin-num = <3>; - }; - - gpio@c300 { - reg = <0xc300 0x100>; - qcom,pin-num = <4>; - }; - - gpio@c400 { - reg = <0xc400 0x100>; - qcom,pin-num = <5>; - }; - - gpio@c500 { - reg = <0xc500 0x100>; - qcom,pin-num = <6>; - }; - - gpio@c600 { - reg = <0xc600 0x100>; - qcom,pin-num = <7>; - }; - - gpio@c700 { - reg = <0xc700 0x100>; - qcom,pin-num = <8>; - }; - - gpio@c800 { - reg = <0xc800 0x100>; - qcom,pin-num = <9>; - }; - - gpio@c900 { - reg = <0xc900 0x100>; - qcom,pin-num = <10>; - }; - - gpio@ca00 { - reg = <0xca00 0x100>; - qcom,pin-num = <11>; - }; - - gpio@cb00 { - reg = <0xcb00 0x100>; - qcom,pin-num = <12>; - }; - - gpio@cc00 { - reg = <0xcc00 0x100>; - qcom,pin-num = <13>; - }; - - gpio@cd00 { - reg = <0xcd00 0x100>; - qcom,pin-num = <14>; - }; - - gpio@ce00 { - reg = <0xce00 0x100>; - qcom,pin-num = <15>; - }; - - gpio@cf00 { - reg = <0xcf00 0x100>; - qcom,pin-num = <16>; - }; - - gpio@d000 { - reg = <0xd000 0x100>; - qcom,pin-num = <17>; - }; - - gpio@d100 { - reg = <0xd100 0x100>; - qcom,pin-num = <18>; - }; - - gpio@d200 { - reg = <0xd200 0x100>; - qcom,pin-num = <19>; - }; - - gpio@d300 { - reg = <0xd300 0x100>; - qcom,pin-num = <20>; - }; - - gpio@d400 { - reg = <0xd400 0x100>; - qcom,pin-num = <21>; - }; - - gpio@d500 { - reg = <0xd500 0x100>; - qcom,pin-num = <22>; - }; - }; - - pma8084_mpps: mpps { - spmi-dev-container; - compatible = "qcom,qpnp-pin"; - gpio-controller; - #gpio-cells = <2>; - #address-cells = <1>; - #size-cells = <1>; - label = "pma8084-mpp"; - - mpp@a000 { - reg = <0xa000 0x100>; - qcom,pin-num = <1>; - }; - - mpp@a100 { - reg = <0xa100 0x100>; - qcom,pin-num = <2>; - }; - - mpp@a200 { - reg = <0xa200 0x100>; - qcom,pin-num = <3>; - }; - - mpp@a300 { - reg = <0xa300 0x100>; - qcom,pin-num = <4>; - }; - - mpp@a400 { - reg = <0xa400 0x100>; - qcom,pin-num = <5>; - }; - - mpp@a500 { - reg = <0xa500 0x100>; - qcom,pin-num = <6>; - }; - - mpp@a600 { - reg = <0xa600 0x100>; - qcom,pin-num = <7>; - }; - - mpp@a700 { - reg = <0xa700 0x100>; - qcom,pin-num = <8>; - }; - }; - }; - - qcom,pma8084@1 { - spmi-slave-container; - reg = <0x1>; - #address-cells = <1>; - #size-cells = <1>; - - regulator@1400 { - regulator-name = "8084_s1"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x1400 0x300>; - status = "disabled"; - - qcom,ctl@1400 { - reg = <0x1400 0x100>; - }; - qcom,ps@1500 { - reg = <0x1500 0x100>; - }; - qcom,freq@1600 { - reg = <0x1600 0x100>; - }; - }; - - regulator@1700 { - regulator-name = "8084_s2"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x1700 0x300>; - status = "disabled"; - - qcom,ctl@1700 { - reg = <0x1700 0x100>; - }; - qcom,ps@1800 { - reg = <0x1800 0x100>; - }; - qcom,freq@1900 { - reg = <0x1900 0x100>; - }; - }; - - regulator@1a00 { - regulator-name = "8084_s3"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x1a00 0x300>; - status = "disabled"; - - qcom,ctl@1a00 { - reg = <0x1a00 0x100>; - }; - qcom,ps@1b00 { - reg = <0x1b00 0x100>; - }; - qcom,freq@1c00 { - reg = <0x1c00 0x100>; - }; - }; - - regulator@1d00 { - regulator-name = "8084_s4"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x1d00 0x300>; - status = "disabled"; - - qcom,ctl@1d00 { - reg = <0x1d00 0x100>; - }; - qcom,ps@1e00 { - reg = <0x1e00 0x100>; - }; - qcom,freq@1f00 { - reg = <0x1f00 0x100>; - }; - }; - - regulator@2000 { - regulator-name = "8084_s5"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x2000 0x300>; - status = "disabled"; - - qcom,ctl@2000 { - reg = <0x2000 0x100>; - }; - qcom,ps@2100 { - reg = <0x2100 0x100>; - }; - qcom,freq@2200 { - reg = <0x2200 0x100>; - }; - }; - - regulator@2300 { - regulator-name = "8084_s6"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x2300 0x300>; - status = "disabled"; - - qcom,ctl@2300 { - reg = <0x2300 0x100>; - }; - qcom,ps@2400 { - reg = <0x2400 0x100>; - }; - qcom,freq@2500 { - reg = <0x2500 0x100>; - }; - }; - - regulator@2600 { - regulator-name = "8084_s7"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x2600 0x300>; - status = "disabled"; - - qcom,ctl@2600 { - reg = <0x2600 0x100>; - }; - qcom,ps@2700 { - reg = <0x2700 0x100>; - }; - qcom,freq@2800 { - reg = <0x2800 0x100>; - }; - }; - - regulator@2900 { - regulator-name = "8084_s8"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x2900 0x300>; - status = "disabled"; - - qcom,ctl@2900 { - reg = <0x2900 0x100>; - }; - qcom,ps@2a00 { - reg = <0x2a00 0x100>; - }; - qcom,freq@2b00 { - reg = <0x2b00 0x100>; - }; - }; - - regulator@2c00 { - regulator-name = "8084_s9"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x2c00 0x300>; - status = "disabled"; - - qcom,ctl@2c00 { - reg = <0x2c00 0x100>; - }; - qcom,ps@2d00 { - reg = <0x2d00 0x100>; - }; - qcom,freq@2e00 { - reg = <0x2e00 0x100>; - }; - }; - - regulator@2f00 { - regulator-name = "8084_s10"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x2f00 0x300>; - status = "disabled"; - - qcom,ctl@2f00 { - reg = <0x2f00 0x100>; - }; - qcom,ps@3000 { - reg = <0x3000 0x100>; - }; - qcom,freq@3100 { - reg = <0x3100 0x100>; - }; - }; - - regulator@3200 { - regulator-name = "8084_s11"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x3200 0x300>; - status = "disabled"; - - qcom,ctl@3200 { - reg = <0x3200 0x100>; - }; - qcom,ps@3300 { - reg = <0x3300 0x100>; - }; - qcom,freq@3400 { - reg = <0x3400 0x100>; - }; - }; - - regulator@3500 { - regulator-name = "8084_s12"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x3500 0x300>; - status = "disabled"; - - qcom,ctl@3500 { - reg = <0x3500 0x100>; - }; - qcom,ps@3600 { - reg = <0x3600 0x100>; - }; - qcom,freq@3700 { - reg = <0x3700 0x100>; - }; - }; - - regulator@4000 { - regulator-name = "8084_l1"; - reg = <0x4000 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4100 { - regulator-name = "8084_l2"; - reg = <0x4100 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4200 { - regulator-name = "8084_l3"; - reg = <0x4200 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4300 { - regulator-name = "8084_l4"; - reg = <0x4300 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4400 { - regulator-name = "8084_l5"; - reg = <0x4400 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4500 { - regulator-name = "8084_l6"; - reg = <0x4500 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4600 { - regulator-name = "8084_l7"; - reg = <0x4600 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4700 { - regulator-name = "8084_l8"; - reg = <0x4700 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4800 { - regulator-name = "8084_l9"; - reg = <0x4800 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4900 { - regulator-name = "8084_l10"; - reg = <0x4900 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4a00 { - regulator-name = "8084_l11"; - reg = <0x4a00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4b00 { - regulator-name = "8084_l12"; - reg = <0x4b00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4c00 { - regulator-name = "8084_l13"; - reg = <0x4c00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4d00 { - regulator-name = "8084_l14"; - reg = <0x4d00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4e00 { - regulator-name = "8084_l15"; - reg = <0x4e00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4f00 { - regulator-name = "8084_l16"; - reg = <0x4f00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5000 { - regulator-name = "8084_l17"; - reg = <0x5000 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5100 { - regulator-name = "8084_l18"; - reg = <0x5100 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5200 { - regulator-name = "8084_l19"; - reg = <0x5200 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5300 { - regulator-name = "8084_l20"; - reg = <0x5300 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5400 { - regulator-name = "8084_l21"; - reg = <0x5400 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5500 { - regulator-name = "8084_l22"; - reg = <0x5500 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5600 { - regulator-name = "8084_l23"; - reg = <0x5600 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5700 { - regulator-name = "8084_l24"; - reg = <0x5700 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5800 { - regulator-name = "8084_l25"; - reg = <0x5800 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5900 { - regulator-name = "8084_l26"; - reg = <0x5900 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5a00 { - regulator-name = "8084_l27"; - reg = <0x5a00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@8000 { - regulator-name = "8084_lvs1"; - reg = <0x8000 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@8100 { - regulator-name = "8084_lvs2"; - reg = <0x8100 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@8200 { - regulator-name = "8084_lvs3"; - reg = <0x8200 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@8300 { - regulator-name = "8084_lvs4"; - reg = <0x8300 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@8400 { - regulator-name = "8084_mvs1"; - reg = <0x8400 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8226-bus.dtsi b/kernel/arch/arm/boot/dts/m7300-un-v1/msm8226-bus.dtsi deleted file mode 100755 index d87aa3ea5..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8226-bus.dtsi +++ /dev/null @@ -1,1128 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -&soc { - msm-mmss-noc@fc478000 { - compatible = "msm-bus-fabric"; - reg = <0xfc478000 0x00004000>; - cell-id = <2048>; - label = "msm_mmss_noc"; - qcom,fabclk-dual = "bus_clk"; - qcom,fabclk-active = "bus_a_clk"; - qcom,ntieredslaves = <0>; - qcom,qos-freq = <4800>; - qcom,hw-sel = "NoC"; - qcom,rpm-en; - - mas-gfx3d { - cell-id = <26>; - label = "mas-gfx3d"; - qcom,masterp = <2>; - qcom,tier = <2>; - qcom,hw-sel = "NoC"; - qcom,perm-mode = "Bypass"; - qcom,mode = "Bypass"; - qcom,ws = <10000>; - qcom,qport = <2>; - qcom,mas-hw-id = <6>; - }; - - mas-jpeg { - cell-id = <62>; - label = "mas-jpeg"; - qcom,masterp = <4>; - qcom,tier = <2>; - qcom,hw-sel = "NoC"; - qcom,perm-mode = "Bypass"; - qcom,mode = "Bypass"; - qcom,qport = <0>; - qcom,ws = <10000>; - qcom,mas-hw-id = <7>; - }; - - mas-mdp-port0 { - cell-id = <22>; - label = "mas-mdp-port0"; - qcom,masterp = <5>; - qcom,tier = <2>; - qcom,hw-sel = "NoC"; - qcom,perm-mode = "Bypass"; - qcom,mode = "Bypass"; - qcom,qport = <1>; - qcom,ws = <10000>; - qcom,mas-hw-id = <8>; - }; - - mas-video-p0 { - cell-id = <63>; - label = "mas-video-p0"; - qcom,masterp = <6>; - qcom,tier = <2>; - qcom,hw-sel = "NoC"; - qcom,perm-mode = "Bypass"; - qcom,mode = "Bypass"; - qcom,ws = <10000>; - qcom,qport = <4>; - qcom,mas-hw-id = <9>; - }; - - mas-vfe { - cell-id = <29>; - label = "mas-vfe"; - qcom,masterp = <16>; - qcom,tier = <2>; - qcom,hw-sel = "NoC"; - qcom,perm-mode = "Bypass"; - qcom,mode = "Bypass"; - qcom,ws = <10000>; - qcom,qport = <6>; - qcom,mas-hw-id = <11>; - }; - - fab-cnoc { - cell-id = <5120>; - label = "fab-cnoc"; - qcom,gateway; - qcom,masterp = <0 1>; - qcom,buswidth = <16>; - qcom,hw-sel = "RPM"; - qcom,mas-hw-id = <4>; - }; - - fab-bimc { - cell-id = <0>; - label = "fab-bimc"; - qcom,gateway; - qcom,slavep = <16>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <16>; - }; - - slv-camera-cfg { - cell-id = <589>; - label = "slv-camera-cfg"; - qcom,slavep = <0>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <3>; - }; - - slv-display-cfg { - cell-id = <590>; - label = "slv-display-cfg"; - qcom,slavep = <1>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <4>; - }; - - slv-ocmem-cfg { - cell-id = <591>; - label = "slv-ocmem-cfg"; - qcom,slavep = <2>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <5>; - }; - - slv-cpr-cfg { - cell-id = <592>; - label = "slv-cpr-cfg"; - qcom,slavep = <3>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <6>; - }; - - slv-cpr-xpu-cfg { - cell-id = <593>; - label = "slv-cpr-xpu-cfg"; - qcom,slavep = <4>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <7>; - }; - - slv-misc-cfg { - cell-id = <594>; - label = "slv-misc-cfg"; - qcom,slavep = <6>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <8>; - }; - - slv-misc-xpu-cfg { - cell-id = <595>; - label = "slv-misc-xpu-cfg"; - qcom,slavep = <7>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <9>; - }; - - slv-venus-cfg { - cell-id = <596>; - label = "slv-venus-cfg"; - qcom,slavep = <8>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <10>; - }; - - slv-gfx3d-cfg { - cell-id = <598>; - label = "slv-gfx3d-cfg"; - qcom,slavep = <9>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <11>; - }; - - slv-mmss-clk-cfg { - cell-id = <599>; - label = "slv-mmss-clk-cfg"; - qcom,slavep = <11>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <12>; - }; - - slv-mmss-clk-xpu-cfg { - cell-id = <600>; - label = "slv-mmss-clk-xpu-cfg"; - qcom,slavep = <12>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <13>; - }; - - slv-mnoc-mpu-cfg { - cell-id = <601>; - label = "slv-mnoc-mpu-cfg"; - qcom,slavep = <13>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <14>; - }; - - slv-onoc-mpu-cfg { - cell-id = <602>; - label = "slv-onoc-mpu-cfg"; - qcom,slavep = <14>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <15>; - }; - - slv-service-mnoc { - cell-id = <603>; - label = "slv-service-mnoc"; - qcom,slavep = <18>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <17>; - }; - - }; - - msm-sys-noc@fc460000 { - compatible = "msm-bus-fabric"; - reg = <0xfc460000 0x00004000>; - cell-id = <1024>; - label = "msm_sys_noc"; - qcom,fabclk-dual = "bus_clk"; - qcom,fabclk-active = "bus_a_clk"; - qcom,ntieredslaves = <0>; - qcom,qos-freq = <4800>; - qcom,hw-sel = "NoC"; - qcom,rpm-en; - - mas-lpass-ahb { - cell-id = <52>; - label = "mas-lpass-ahb"; - qcom,masterp = <0>; - qcom,tier = <2>; - qcom,qport = <0>; - qcom,mas-hw-id = <18>; - qcom,mode = "Fixed"; - qcom,prio-rd = <2>; - qcom,prio-wr = <2>; - }; - - mas-qdss-bam { - cell-id = <53>; - label = "mas-qdss-bam"; - qcom,masterp = <1>; - qcom,tier = <2>; - qcom,mode = "Fixed"; - qcom,qport = <1>; - qcom,mas-hw-id = <19>; - }; - - mas-snoc-cfg { - cell-id = <54>; - label = "mas-snoc-cfg"; - qcom,masterp = <2>; - qcom,tier = <2>; - qcom,mas-hw-id = <20>; - }; - - fab-bimc { - cell-id = <0>; - label= "fab-bimc"; - qcom,gateway; - qcom,slavep = <7>; - qcom,masterp = <3>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <21>; - qcom,slv-hw-id = <24>; - }; - - fab-cnoc { - cell-id = <5120>; - label = "fab-cnoc"; - qcom,gateway; - qcom,slavep = <8>; - qcom,masterp = <4>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <22>; - qcom,slv-hw-id = <25>; - }; - - fab-pnoc { - cell-id = <4096>; - label = "fab-pnoc"; - qcom,gateway; - qcom,slavep = <10>; - qcom,masterp = <10>; - qcom,buswidth = <8>; - qcom,qport = <8>; - qcom,mas-hw-id = <29>; - qcom,slv-hw-id = <28>; - qcom,mode = "Fixed"; - qcom,prio-rd = <2>; - qcom,prio-wr = <2>; - }; - - fab-ovnoc { - cell-id = <6144>; - label = "fab-ovnoc"; - qcom,gateway; - qcom,buswidth = <8>; - qcom,mas-hw-id = <53>; - qcom,slv-hw-id = <77>; - }; - - mas-crypto-core0 { - cell-id = <55>; - label = "mas-crypto-core0"; - qcom,masterp = <5>; - qcom,tier = <2>; - qcom,mode = "Fixed"; -/* qcom,qport = <2>;*/ - qcom,mas-hw-id = <23>; - qcom,hw-sel = "NoC"; - qcom,prio-rd = <1>; - qcom,prio-wr = <1>; - }; - - mas-lpass-proc { - cell-id = <11>; - label = "mas-lpass-proc"; - qcom,masterp = <6>; - qcom,tier = <2>; - qcom,qport = <4>; - qcom,mas-hw-id = <25>; - qcom,mode = "Fixed"; - qcom,prio-rd = <2>; - qcom,prio-wr = <2>; - }; - - mas-mss { - cell-id = <38>; - label = "mas-mss"; - qcom,masterp = <7>; - qcom,tier = <2>; - qcom,mas-hw-id = <26>; - }; - - mas-mss-nav { - cell-id = <57>; - label = "mas-mss-nav"; - qcom,masterp = <8>; - qcom,tier = <2>; - qcom,mas-hw-id = <27>; - }; - - mas-ocmem-dma { - cell-id = <58>; - label = "mas-ocmem-dma"; - qcom,masterp = <9>; - qcom,tier = <2>; - qcom,mode = "Fixed"; - qcom,qport = <7>; - qcom,mas-hw-id = <28>; - }; - - mas-wcss { - cell-id = <59>; - label = "mas-wcss"; - qcom,masterp = <11>; - qcom,tier = <2>; - qcom,mas-hw-id = <30>; - }; - - mas-qdss-etr { - cell-id = <60>; - label = "mas-qdss-etr"; - qcom,masterp = <12>; - qcom,tier = <2>; - qcom,qport = <10>; - qcom,mode = "Fixed"; - qcom,mas-hw-id = <31>; - }; - - slv-ampss { - cell-id = <520>; - label = "slv-ampss"; - qcom,slavep = <1>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <20>; - }; - - slv-lpass { - cell-id = <522>; - label = "slv-lpass"; - qcom,slavep = <2>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <21>; - }; - - slv-wcss { - cell-id = <584>; - label = "slv-wcss"; - qcom,slavep = <6>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <23>; - }; - - slv-ocimem { - cell-id = <585>; - label = "slv-ocimem"; - qcom,slavep = <9>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <26>; - }; - - slv-service-snoc { - cell-id = <587>; - label = "slv-service-snoc"; - qcom,slavep = <11>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <29>; - }; - - slv-qdss-stm { - cell-id = <588>; - label = "slv-qdss-stm"; - qcom,slavep = <12>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <30>; - }; - - }; - - msm-periph-noc@fc468000 { - compatible = "msm-bus-fabric"; - reg = <0xfc468000 0x00004000>; - cell-id = <4096>; - label = "msm_periph_noc"; - qcom,fabclk-dual = "bus_clk"; - qcom,fabclk-active = "bus_a_clk"; - qcom,ntieredslaves = <0>; - qcom,hw-sel = "NoC"; - qcom,rpm-en; - - mas-pnoc-cfg { - cell-id = <88>; - label = "mas-pnoc-cfg"; - qcom,masterp = <7>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <43>; - }; - - mas-sdcc-1 { - cell-id = <78>; - label = "mas-sdcc-1"; - qcom,masterp = <0>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <33>; - }; - - mas-sdcc-3 { - cell-id = <79>; - label = "mas-sdcc-3"; - qcom,masterp = <1>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <34>; - }; - - mas-sdcc-2 { - cell-id = <81>; - label = "mas-sdcc-2"; - qcom,masterp = <2>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <35>; - }; - - mas-bam-dma { - cell-id = <83>; - label = "mas-bam-dma"; - qcom,masterp = <3>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <38>; - }; - - mas-usb-hsic { - cell-id = <85>; - label = "mas-usb-hsic"; - qcom,masterp = <4>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <40>; - }; - - mas-blsp-1 { - cell-id = <86>; - label = "mas-blsp-1"; - qcom,masterp = <5>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <41>; - }; - - mas-usb-hs { - cell-id = <87>; - label = "mas-usb-hs"; - qcom,masterp = <6>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <42>; - }; - - fab-snoc { - cell-id = <1024>; - label = "fab-snoc"; - qcom,gateway; - qcom,slavep = <12>; - qcom,masterp = <8>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <45>; - qcom,mas-hw-id = <44>; - }; - - slv-sdcc-1 { - cell-id = <606>; - label = "slv-sdcc-1"; - qcom,slavep = <0>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <31>; - }; - - slv-sdcc-3 { - cell-id = <607>; - label = "slv-sdcc-3"; - qcom,slavep = <1>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <32>; - }; - - slv-sdcc-2 { - cell-id = <608>; - label = "slv-sdcc-2"; - qcom,slavep = <2>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <33>; - }; - - slv-bam-dma { - cell-id = <610>; - label = "slv-bam-dma"; - qcom,slavep = <3>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <36>; - }; - - slv-usb-hsic { - cell-id = <612>; - label = "slv-usb-hsic"; - qcom,slavep = <4>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <38>; - }; - - slv-blsp-1 { - cell-id = <613>; - label = "slv-blsp-1"; - qcom,slavep = <5>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <39>; - }; - - slv-usb-hs { - cell-id = <614>; - label = "slv-usb-hs"; - qcom,slavep = <6>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <40>; - }; - - slv-pdm { - cell-id = <615>; - label = "slv-pdm"; - qcom,slavep = <7>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <41>; - }; - - slv-periph-apu-cfg { - cell-id = <616>; - label = "slv-periph-apu-cfg"; - qcom,slavep = <8>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <42>; - }; - - slv-pnoc-mpu-cfg { - cell-id = <617>; - label = "slv-pnoc-mpu-cfg"; - qcom,slavep = <9>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <43>; - }; - - slv-prng { - cell-id = <618>; - label = "slv-prng"; - qcom,slavep = <10>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <44>; - }; - - slv-service-pnoc { - cell-id = <619>; - label = "slv-service-pnoc"; - qcom,slavep = <12>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <46>; - }; - - }; - - msm-config-noc@fc480000 { - compatible = "msm-bus-fabric"; - reg = <0xfc480000 0x00004000>; - cell-id = <5120>; - label = "msm_config_noc"; - qcom,fabclk-dual = "bus_clk"; - qcom,fabclk-active = "bus_a_clk"; - qcom,ntieredslaves = <0>; - qcom,hw-sel = "NoC"; - qcom,rpm-en; - - mas-rpm-inst { - cell-id = <72>; - label = "mas-rpm-inst"; - qcom,masterp = <0>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <45>; - }; - - mas-rpm-data { - cell-id = <73>; - label = "mas-rpm-data"; - qcom,masterp = <1>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <46>; - }; - - mas-rpm-sys { - cell-id = <74>; - label = "mas-rpm-sys"; - qcom,masterp = <2>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <47>; - }; - - mas-dehr { - cell-id = <75>; - label = "mas-dehr"; - qcom,masterp = <3>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <48>; - }; - - mas-qdss-dsp { - cell-id = <76>; - label = "mas-qdss-dap"; - qcom,masterp = <4>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <49>; - }; - - mas-spdm { - cell-id = <36>; - label = "mas-spdm"; - qcom,masterp = <5>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <50>; - }; - - mas-tic { - cell-id = <77>; - label = "mas-tic"; - qcom,masterp = <6>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <51>; - }; - - slv-clk-ctl { - cell-id = <620>; - label = "slv-clk-ctl"; - qcom,slavep = <1>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <47>; - }; - - slv-cnoc-mss { - cell-id = <621>; - label = "slv-cnoc-mss"; - qcom,slavep = <2>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <48>; - }; - - slv-security { - cell-id = <622>; - label = "slv-security"; - qcom,slavep = <3>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <49>; - }; - - slv-tcsr { - cell-id = <623>; - label = "slv-tcsr"; - qcom,slavep = <4>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <50>; - }; - - slv-tlmm { - cell-id = <624>; - label = "slv-tlmm"; - qcom,slavep = <5>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <51>; - }; - - slv-crypto-0-cfg { - cell-id = <625>; - label = "slv-crypto-0-cfg"; - qcom,slavep = <6>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <52>; - }; - - slv-imem-cfg { - cell-id = <627>; - label = "slv-imem-cfg"; - qcom,slavep = <7>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <54>; - }; - - slv-message-ram { - cell-id = <628>; - label = "slv-message-ram"; - qcom,slavep = <8>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <55>; - }; - - slv-bimc-cfg { - cell-id = <629>; - label = "slv-bimc-cfg"; - qcom,slavep = <9>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <56>; - }; - - slv-boot-rom { - cell-id = <630>; - label = "slv-boot-rom"; - qcom,slavep = <10>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <57>; - }; - - slv-pmic-arb { - cell-id = <632>; - label = "slv-pmic-arb"; - qcom,slavep = <12>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <59>; - }; - - slv-spdm-wrapper { - cell-id = <633>; - label = "slv-spdm-wrapper"; - qcom,slavep = <13>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <60>; - }; - - slv-dehr-cfg { - cell-id = <634>; - label = "slv-dehr-cfg"; - qcom,slavep = <14>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <61>; - }; - - slv-mpm { - cell-id = <536>; - label = "slv-mpm"; - qcom,slavep = <15>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <62>; - }; - - slv-qdss-cfg { - cell-id = <635>; - label = "slv-qdss-cfg"; - qcom,slavep = <16>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <63>; - }; - - slv-rbcpr-cfg { - cell-id = <636>; - label = "slv-rbcpr-cfg"; - qcom,slavep = <17>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <64>; - }; - - slv-rbcpr-qdss-apu-cfg { - cell-id = <637>; - label = "slv-rbcpr-qdss-apu-cfg"; - qcom,slavep = <18>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <65>; - }; - - fab-snoc { - cell-id = <1024>; - label = "fab-snoc"; - qcom,gateway; - qcom,slavep = <26>; - qcom,masterp = <7>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <52>; - qcom,slv-hw-id = <75>; - }; - - slv-cnoc-mnoc-mmss-cfg { - cell-id = <631>; - label = "slv-cnoc-mnoc-mmss-cfg"; - qcom,slavep = <11>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <58>; - }; - - slv-cnoc-mnoc-cfg { - cell-id = <640>; - label = "slv-cnoc-mnoc-cfg"; - qcom,slavep = <19>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <66>; - }; - - slv-pnoc-cfg { - cell-id = <641>; - label = "slv-pnoc-cfg"; - qcom,slavep = <21>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <69>; - }; - - slv-snoc-mpu-cfg { - cell-id = <638>; - label = "slv-snoc-mpu-cfg"; - qcom,slavep = <20>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <67>; - }; - - slv-snoc-cfg { - cell-id = <642>; - label = "slv-snoc-cfg"; - qcom,slavep = <22>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <70>; - }; - - slv-phy-apu-cfg { - cell-id = <644>; - label = "slv-phy-apu-cfg"; - qcom,slavep = <23>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <72>; - }; - - slv-ebi1-phy-cfg { - cell-id = <645>; - label = "slv-ebi1-phy-cfg"; - qcom,slavep = <24>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <73>; - }; - - slv-rpm { - cell-id = <534>; - label = "slv-rpm"; - qcom,slavep = <25>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <74>; - }; - - slv-service-cnoc { - cell-id = <646>; - label = "slv-service-cnoc"; - qcom,slavep = <27>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <76>; - }; - - }; - - msm-bimc@0xfc380000 { - compatible = "msm-bus-fabric"; - reg = <0xfc380000 0x0006A000>; - cell-id = <0>; - label = "msm_bimc"; - qcom,fabclk-dual = "mem_clk"; - qcom,fabclk-active = "mem_a_clk"; - qcom,ntieredslaves = <0>; - qcom,qos-freq = <4800>; - qcom,hw-sel = "BIMC"; - qcom,rpm-en; - - mas-ampss-m0 { - cell-id = <1>; - label = "mas-ampss-m0"; - qcom,masterp = <0>; - qcom,tier = <2>; - qcom,hw-sel = "BIMC"; - qcom,mode = "Fixed"; - qcom,qport = <0>; - qcom,ws = <10000>; - qcom,mas-hw-id = <0>; - qcom,prio-rd = <0>; - qcom,prio-wr = <0>; - }; - - mas-mss-proc { - cell-id = <65>; - label = "mas-mss-proc"; - qcom,masterp = <1>; - qcom,tier = <2>; - qcom,hw-sel = "RPM"; - qcom,mas-hw-id = <1>; - }; - - fab-mmss-noc { - cell-id = <2048>; - label = "fab_mmss_noc"; - qcom,gateway; - qcom,masterp = <2>; - qcom,qport = <2>; - qcom,buswidth = <8>; - qcom,ws = <10000>; - qcom,mas-hw-id = <2>; - qcom,hw-sel = "BIMC"; - qcom,mode = "Bypass"; - }; - - fab-snoc { - cell-id = <1024>; - label = "fab-snoc"; - qcom,gateway; - qcom,slavep = <2>; - qcom,masterp = <4>; - qcom,qport = <4>; - qcom,buswidth = <8>; - qcom,ws = <10000>; - qcom,mas-hw-id = <3>; - qcom,slv-hw-id = <2>; - qcom,mode = "Bypass"; - qcom,hw-sel = "RPM"; - }; - - slv-ebi-ch0 { - cell-id = <512>; - label = "slv-ebi-ch0"; - qcom,slavep = <0>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <0>; - qcom,mode = "Bypass"; - }; - - slv-ampss-l2 { - cell-id = <514>; - label = "slv-ampss-l2"; - qcom,slavep = <1>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <1>; - }; - }; - - msm-ocmem-vnoc@6144 { - compatible = "msm-bus-fabric"; - reg = <0x6144 0x2>; - cell-id = <6144>; - label = "msm-ocmem-vnoc"; - qcom,ntieredslaves = <0>; - qcom,hw-sel = "NoC"; - qcom,rpm-en; - qcom,virt; - - mas-v-ocmem-gfx3d { - cell-id = <89>; - label = "mas-v-ocmem-gfx3d"; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <55>; - }; - - slv-ocmem { - cell-id = <604>; - label = "slv-ocmem"; - qcom,slavep = <0 1>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,slv-hw-id = <18>; - qcom,slaveclk-dual = "ocmem_clk"; - qcom,slaveclk-active = "ocmem_a_clk"; - }; - - fab-snoc { - cell-id = <1024>; - label = "fab-snoc"; - qcom,gateway; - qcom,buswidth = <32>; - qcom,ws = <10000>; - qcom,mas-hw-id = <57>; - qcom,slv-hw-id = <80>; - }; - - fab-onoc { - cell-id = <3072>; - label = "fab-onoc"; - qcom,gateway; - qcom,buswidth = <16>; - qcom,ws = <10000>; - qcom,mas-hw-id = <56>; - qcom,slv-hw-id = <79>; - }; - - }; -}; - - diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8226-camera-sensor-cdp.dtsi b/kernel/arch/arm/boot/dts/m7300-un-v1/msm8226-camera-sensor-cdp.dtsi deleted file mode 100755 index 41d6b7e79..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8226-camera-sensor-cdp.dtsi +++ /dev/null @@ -1,108 +0,0 @@ -/* - * Copyright (c) 2013, 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. - */ - -&soc { - - led_flash0: qcom,camera-led-flash { - cell-index = <0>; - compatible = "qcom,camera-led-flash"; - qcom,flash-type = <1>; - qcom,flash-source = <&pm8226_flash0 &pm8226_flash1>; - }; -}; - -&cci { - - actuator0: qcom,actuator@6e { - cell-index = <3>; - reg = <0x6c>; - compatible = "qcom,actuator"; - qcom,cci-master = <0>; - }; - - qcom,camera@6f { - compatible = "qcom,ov8825"; - reg = <0x6f>; - qcom,slave-id = <0x6c 0x300a 0x8825>; - qcom,csiphy-sd-index = <0>; - qcom,csid-sd-index = <0>; - qcom,actuator-src = <&actuator0>; - qcom,led-flash-src = <&led_flash0>; - qcom,mount-angle = <0>; - qcom,sensor-name = "ov8825"; - cam_vdig-supply = <&pm8226_l5>; - cam_vana-supply = <&pm8226_l19>; - cam_vio-supply = <&pm8226_lvs1>; - cam_vaf-supply = <&pm8226_l15>; - qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana", - "cam_vaf"; - qcom,cam-vreg-type = <0 1 0 0>; - qcom,cam-vreg-min-voltage = <1200000 0 2850000 2800000>; - qcom,cam-vreg-max-voltage = <1200000 0 2850000 2800000>; - qcom,cam-vreg-op-mode = <200000 0 80000 100000>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 26 0>, - <&msmgpio 37 0>, - <&msmgpio 36 0>; - qcom,gpio-reset = <1>; - qcom,gpio-standby = <2>; - qcom,gpio-req-tbl-num = <0 1 2>; - qcom,gpio-req-tbl-flags = <1 0 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1", - "CAM_STANDBY"; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x1f>; - qcom,sensor-position = <0>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - }; - - qcom,camera@6d { - compatible = "qcom,ov9724"; - reg = <0x6d>; - qcom,slave-id = <0x20 0x0 0x9724>; - qcom,csiphy-sd-index = <1>; - qcom,csid-sd-index = <1>; - qcom,mount-angle = <0>; - qcom,sensor-name = "ov9724"; - cam_vdig-supply = <&pm8226_l5>; - cam_vana-supply = <&pm8226_l19>; - cam_vio-supply = <&pm8226_lvs1>; - qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana"; - qcom,cam-vreg-type = <0 1 0>; - qcom,cam-vreg-min-voltage = <1200000 0 2850000>; - qcom,cam-vreg-max-voltage = <1200000 0 2850000>; - qcom,cam-vreg-op-mode = <200000 0 80000>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 26 0>, - <&msmgpio 28 0>, - <&msmgpio 35 0>; - qcom,gpio-reset = <1>; - qcom,gpio-standby = <2>; - qcom,gpio-req-tbl-num = <0 1 2>; - qcom,gpio-req-tbl-flags = <1 0 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET", - "CAM_STANDBY"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 4000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x3>; - qcom,sensor-position = <1>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - status = "ok"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8226-camera-sensor-mtp.dtsi b/kernel/arch/arm/boot/dts/m7300-un-v1/msm8226-camera-sensor-mtp.dtsi deleted file mode 100755 index 53860ac85..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8226-camera-sensor-mtp.dtsi +++ /dev/null @@ -1,108 +0,0 @@ -/* - * Copyright (c) 2013, 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. - */ - -&soc { - - led_flash0: qcom,camera-led-flash { - cell-index = <0>; - compatible = "qcom,camera-led-flash"; - qcom,flash-type = <1>; - qcom,flash-source = <&pm8226_flash0 &pm8226_flash1>; - }; -}; - -&cci { - - actuator0: qcom,actuator@6e { - cell-index = <3>; - reg = <0x6c>; - compatible = "qcom,actuator"; - qcom,cci-master = <0>; - }; - - qcom,camera@6f { - compatible = "qcom,ov8825"; - reg = <0x6f>; - qcom,slave-id = <0x6c 0x300a 0x8825>; - qcom,csiphy-sd-index = <0>; - qcom,csid-sd-index = <0>; - qcom,actuator-src = <&actuator0>; - qcom,led-flash-src = <&led_flash0>; - qcom,mount-angle = <0>; - qcom,sensor-name = "ov8825"; - cam_vdig-supply = <&pm8226_l5>; - cam_vana-supply = <&pm8226_l19>; - cam_vio-supply = <&pm8226_lvs1>; - cam_vaf-supply = <&pm8226_l15>; - qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana", - "cam_vaf"; - qcom,cam-vreg-type = <0 1 0 0>; - qcom,cam-vreg-min-voltage = <1200000 0 2850000 2800000>; - qcom,cam-vreg-max-voltage = <1200000 0 2850000 2800000>; - qcom,cam-vreg-op-mode = <200000 0 80000 100000>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 26 0>, - <&msmgpio 37 0>, - <&msmgpio 35 0>; - qcom,gpio-reset = <1>; - qcom,gpio-standby = <2>; - qcom,gpio-req-tbl-num = <0 1 2>; - qcom,gpio-req-tbl-flags = <1 0 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1", - "CAM_STANDBY"; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x1f>; - qcom,sensor-position = <0>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - }; - - qcom,camera@6d { - compatible = "qcom,ov9724"; - reg = <0x6d>; - qcom,slave-id = <0x20 0x0 0x9724>; - qcom,csiphy-sd-index = <1>; - qcom,csid-sd-index = <1>; - qcom,mount-angle = <270>; - qcom,sensor-name = "ov9724"; - cam_vdig-supply = <&pm8226_l5>; - cam_vana-supply = <&pm8226_l19>; - cam_vio-supply = <&pm8226_lvs1>; - qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana"; - qcom,cam-vreg-type = <0 1 0>; - qcom,cam-vreg-min-voltage = <1200000 0 2850000>; - qcom,cam-vreg-max-voltage = <1200000 0 2850000>; - qcom,cam-vreg-op-mode = <200000 0 80000>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 26 0>, - <&msmgpio 28 0>, - <&msmgpio 36 0>; - qcom,gpio-reset = <1>; - qcom,gpio-standby = <2>; - qcom,gpio-req-tbl-num = <0 1 2>; - qcom,gpio-req-tbl-flags = <1 0 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET", - "CAM_STANDBY"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 4000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x3>; - qcom,sensor-position = <1>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - status = "ok"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8226-camera-sensor-qrd.dtsi b/kernel/arch/arm/boot/dts/m7300-un-v1/msm8226-camera-sensor-qrd.dtsi deleted file mode 100755 index 3935dbb78..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8226-camera-sensor-qrd.dtsi +++ /dev/null @@ -1,108 +0,0 @@ -/* - * Copyright (c) 2013, 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. - */ - -&soc { - - led_flash0: qcom,camera-led-flash { - cell-index = <0>; - compatible = "qcom,camera-led-flash"; - qcom,flash-type = <1>; - qcom,flash-source = <&pm8226_flash0 &pm8226_flash1>; - }; -}; - -&cci { - - actuator0: qcom,actuator@6e { - cell-index = <3>; - reg = <0x6c>; - compatible = "qcom,actuator"; - qcom,cci-master = <0>; - }; - - qcom,camera@6f { - compatible = "qcom,ov8825"; - reg = <0x6f>; - qcom,slave-id = <0x6c 0x300a 0x8825>; - qcom,csiphy-sd-index = <0>; - qcom,csid-sd-index = <0>; - qcom,actuator-src = <&actuator0>; - qcom,led-flash-src = <&led_flash0>; - qcom,mount-angle = <270>; - qcom,sensor-name = "ov8825"; - cam_vdig-supply = <&pm8226_l5>; - cam_vana-supply = <&pm8226_l19>; - cam_vio-supply = <&pm8226_lvs1>; - cam_vaf-supply = <&pm8226_l15>; - qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana", - "cam_vaf"; - qcom,cam-vreg-type = <0 1 0 0>; - qcom,cam-vreg-min-voltage = <1200000 0 2850000 2800000>; - qcom,cam-vreg-max-voltage = <1200000 0 2850000 2800000>; - qcom,cam-vreg-op-mode = <200000 0 80000 100000>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 26 0>, - <&msmgpio 37 0>, - <&msmgpio 36 0>; - qcom,gpio-reset = <1>; - qcom,gpio-standby = <2>; - qcom,gpio-req-tbl-num = <0 1 2>; - qcom,gpio-req-tbl-flags = <1 0 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1", - "CAM_STANDBY"; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x1f>; - qcom,sensor-position = <0>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - }; - - qcom,camera@6d { - compatible = "qcom,ov9724"; - reg = <0x6d>; - qcom,slave-id = <0x20 0x0 0x9724>; - qcom,csiphy-sd-index = <1>; - qcom,csid-sd-index = <1>; - qcom,mount-angle = <270>; - qcom,sensor-name = "ov9724"; - cam_vdig-supply = <&pm8226_l5>; - cam_vana-supply = <&pm8226_l19>; - cam_vio-supply = <&pm8226_lvs1>; - qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana"; - qcom,cam-vreg-type = <0 1 0>; - qcom,cam-vreg-min-voltage = <1200000 0 2850000>; - qcom,cam-vreg-max-voltage = <1200000 0 2850000>; - qcom,cam-vreg-op-mode = <200000 0 80000>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 26 0>, - <&msmgpio 28 0>, - <&msmgpio 35 0>; - qcom,gpio-reset = <1>; - qcom,gpio-standby = <2>; - qcom,gpio-req-tbl-num = <0 1 2>; - qcom,gpio-req-tbl-flags = <1 0 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET", - "CAM_STANDBY"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 4000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x3>; - qcom,sensor-position = <1>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - status = "ok"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8226-camera.dtsi b/kernel/arch/arm/boot/dts/m7300-un-v1/msm8226-camera.dtsi deleted file mode 100755 index ec0092d43..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8226-camera.dtsi +++ /dev/null @@ -1,139 +0,0 @@ -/* - * Copyright (c) 2012-2013, 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. - */ - -&soc { - qcom,msm-cam@fd8c0000 { - compatible = "qcom,msm-cam"; - reg = <0xfd8c0000 0x10000>; - reg-names = "msm-cam"; - }; - - qcom,csiphy@fda0ac00 { - cell-index = <0>; - compatible = "qcom,csiphy"; - reg = <0xfda0ac00 0x200>, - <0xfda00030 0x4>; - reg-names = "csiphy", "csiphy_clk_mux"; - interrupts = <0 78 0>; - interrupt-names = "csiphy"; - }; - - qcom,csiphy@fda0b000 { - cell-index = <1>; - compatible = "qcom,csiphy"; - reg = <0xfda0b000 0x200>, - <0xfda00038 0x4>; - reg-names = "csiphy", "csiphy_clk_mux"; - interrupts = <0 79 0>; - interrupt-names = "csiphy"; - }; - - qcom,csid@fda08000 { - cell-index = <0>; - compatible = "qcom,csid"; - reg = <0xfda08000 0x100>; - reg-names = "csid"; - interrupts = <0 51 0>; - interrupt-names = "csid"; - qcom,csi-vdd-voltage = <1200000>; - qcom,mipi-csi-vdd-supply = <&pm8226_l4>; - }; - - qcom,csid@fda08400 { - cell-index = <1>; - compatible = "qcom,csid"; - reg = <0xfda08400 0x100>; - reg-names = "csid"; - interrupts = <0 52 0>; - interrupt-names = "csid"; - qcom,csi-vdd-voltage = <1200000>; - qcom,mipi-csi-vdd-supply = <&pm8226_l4>; - }; - - qcom,ispif@fda0a000 { - cell-index = <0>; - compatible = "qcom,ispif"; - reg = <0xfda0a000 0x500>, - <0xfda00020 0x10>; - reg-names = "ispif", "csi_clk_mux"; - interrupts = <0 55 0>; - interrupt-names = "ispif"; - }; - - qcom,vfe@fda10000 { - cell-index = <0>; - compatible = "qcom,vfe40"; - reg = <0xfda10000 0x1000>, - <0xfda40000 0x200>; - reg-names = "vfe", "vfe_vbif"; - interrupts = <0 57 0>; - interrupt-names = "vfe"; - vdd-supply = <&gdsc_vfe>; - }; - - qcom,jpeg@fda1c000 { - cell-index = <0>; - compatible = "qcom,jpeg"; - reg = <0xfda1c000 0x400>; - reg-names = "jpeg"; - interrupts = <0 59 0>; - interrupt-names = "jpeg"; - vdd-supply = <&gdsc_jpeg>; - }; - - qcom,irqrouter@fda00000 { - cell-index = <0>; - compatible = "qcom,irqrouter"; - reg = <0xfda00000 0x100>; - reg-names = "irqrouter"; - }; - - qcom,cpp@fda04000 { - cell-index = <0>; - compatible = "qcom,cpp"; - reg = <0xfda04000 0x100>, - <0xfda40000 0x200>, - <0xfda18000 0x008>; - reg-names = "cpp", "cpp_vbif", "cpp_hw"; - interrupts = <0 49 0>; - interrupt-names = "cpp"; - vdd-supply = <&gdsc_vfe>; - }; - - cci: qcom,cci@fda0c000 { - cell-index = <0>; - compatible = "qcom,cci"; - reg = <0xfda0c000 0x1000>; - #address-cells = <1>; - #size-cells = <0>; - reg-names = "cci"; - interrupts = <0 50 0>; - interrupt-names = "cci"; - gpios = <&msmgpio 29 0>, - <&msmgpio 30 0>; - qcom,gpio-tbl-num = <0 1>; - qcom,gpio-tbl-flags = <1 1>; - qcom,gpio-tbl-label = "CCI_I2C_DATA0", - "CCI_I2C_CLK0"; - qcom,hw-thigh = <78>; - qcom,hw-tlow = <114>; - qcom,hw-tsu-sto = <28>; - qcom,hw-tsu-sta = <28>; - qcom,hw-thd-dat = <10>; - qcom,hw-thd-sta = <77>; - qcom,hw-tbuf = <118>; - qcom,hw-scl-stretch-en = <0>; - qcom,hw-trdhld = <6>; - qcom,hw-tsp = <1>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8226-cdp.dtsi b/kernel/arch/arm/boot/dts/m7300-un-v1/msm8226-cdp.dtsi deleted file mode 100755 index da9ad8c0a..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8226-cdp.dtsi +++ /dev/null @@ -1,393 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/include/ "dsi-panel-nt35590-720p-video.dtsi" -/include/ "msm8226-camera-sensor-cdp.dtsi" - -&soc { - serial@f991f000 { - status = "ok"; - }; - - qcom,mdss_dsi_nt35590_720p_video { - status = "ok"; - }; - - i2c@f9927000 { /* BLSP1 QUP5 */ - synaptics@20 { - compatible = "synaptics,rmi4"; - reg = <0x20>; - interrupt-parent = <&msmgpio>; - interrupts = <17 0x2008>; - vdd-supply = <&pm8226_l19>; - vcc_i2c-supply = <&pm8226_lvs1>; - synaptics,reset-gpio = <&msmgpio 16 0x00>; - synaptics,irq-gpio = <&msmgpio 17 0x2008>; - synaptics,button-map = <139 102 158>; - synaptics,i2c-pull-up; - }; - }; - - gpio_keys { - compatible = "gpio-keys"; - input-name = "gpio-keys"; - - camera_focus { - label = "camera_focus"; - gpios = <&msmgpio 108 0x1>; - linux,input-type = <1>; - linux,code = <0x210>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - - camera_snapshot { - label = "camera_snapshot"; - gpios = <&msmgpio 107 0x1>; - linux,input-type = <1>; - linux,code = <0x2fe>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - - vol_up { - label = "volume_up"; - gpios = <&msmgpio 106 0x1>; - linux,input-type = <1>; - linux,code = <115>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - }; - - spi@f9923000 { - ethernet-switch@3 { - compatible = "micrel,ks8851"; - reg = <3>; - interrupt-parent = <&msmgpio>; - interrupts = <0 115 0>; - spi-max-frequency = <4800000>; - rst-gpio = <&msmgpio 114 0>; - vdd-io-supply = <&pm8226_lvs1>; - vdd-phy-supply = <&pm8226_lvs1>; - }; - }; - - sound { - qcom,audio-routing = - "RX_BIAS", "MCLK", - "LDO_H", "MCLK", - "SPK_OUT", "MCLK", - "SPK_OUT", "EXT_VDD_SPKR", - "AMIC1", "MIC BIAS1 Internal1", - "MIC BIAS1 Internal1", "Handset Mic", - "AMIC2", "MIC BIAS2 External", - "MIC BIAS2 External", "Headset Mic", - "AMIC4", "MIC BIAS2 External", - "MIC BIAS2 External", "ANCRight Headset Mic", - "AMIC5", "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"; - - qcom,cdc-mclk-gpios = <&pm8226_gpios 1 0>; - qcom,cdc-vdd-spkr-gpios = <&pm8226_gpios 2 0>; - qcom,headset-jack-type-NO; - }; -}; - -&sdcc1 { - vdd-supply = <&pm8226_l17>; - qcom,vdd-always-on; - qcom,vdd-lpm-sup; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <800 500000>; - - vdd-io-supply = <&pm8226_l6>; - qcom,vdd-io-always-on; - qcom,vdd-io-voltage-level = <1800000 1800000>; - qcom,vdd-io-current-level = <250 154000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - qcom,sup-voltages = <2950 2950>; - - qcom,bus-speed-mode = "HS200_1p8v", "DDR_1p8v"; - qcom,nonremovable; - - status = "disabled"; -}; - -&sdhc_1 { - vdd-supply = <&pm8226_l17>; - qcom,vdd-always-on; - qcom,vdd-lpm-sup; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <800 500000>; - - vdd-io-supply = <&pm8226_l6>; - qcom,vdd-io-always-on; - qcom,vdd-io-voltage-level = <1800000 1800000>; - qcom,vdd-io-current-level = <250 154000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - qcom,bus-speed-mode = "HS200_1p8v", "DDR_1p8v"; - qcom,nonremovable; - - status = "ok"; -}; - -&sdcc2 { - vdd-supply = <&pm8226_l18>; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <9000 800000>; - - vdd-io-supply = <&pm8226_l21>; - qcom,vdd-io-always-on; - qcom,vdd-io-lpm-sup; - qcom,vdd-io-voltage-level = <1800000 2950000>; - qcom,vdd-io-current-level = <6 22000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - qcom,sup-voltages = <2950 2950>; - - qcom,xpc; - qcom,bus-speed-mode = "SDR12", "SDR25", "SDR50", "DDR50", "SDR104"; - qcom,current-limit = <600>; - - #address-cells = <0>; - interrupt-parent = <&sdcc2>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 125 0 - 1 &intc 0 220 0 - 2 &msmgpio 38 0x3>; - interrupt-names = "core_irq", "bam_irq", "status_irq"; - cd-gpios = <&msmgpio 38 0x1>; - - status = "disabled"; -}; - -&sdhc_2 { - vdd-supply = <&pm8226_l18>; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <9000 800000>; - - vdd-io-supply = <&pm8226_l21>; - qcom,vdd-io-always-on; - qcom,vdd-io-lpm-sup; - qcom,vdd-io-voltage-level = <1800000 2950000>; - qcom,vdd-io-current-level = <6 22000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - - #address-cells = <0>; - interrupt-parent = <&sdhc_2>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 125 0 - 1 &intc 0 221 0 - 2 &msmgpio 38 0x3>; - interrupt-names = "hc_irq", "pwr_irq", "status_irq"; - cd-gpios = <&msmgpio 38 0x1>; - - status = "ok"; -}; - -&spmi_bus { - qcom,pm8226@0 { - qcom,leds@a100 { - status = "okay"; - qcom,led_mpp_2 { - label = "mpp"; - linux,name = "button-backlight"; - linux,default-trigger = "none"; - qcom,default-state = "off"; - qcom,max-current = <40>; - qcom,current-setting = <5>; - qcom,id = <6>; - qcom,mode = "manual"; - qcom,source-sel = <1>; - qcom,mode-ctrl = <0x60>; - }; - }; - - qcom,leds@a300 { - status = "okay"; - qcom,led_mpp_4 { - label = "mpp"; - linux,name = "green"; - linux,default-trigger = "none"; - qcom,default-state = "off"; - qcom,max-current = <40>; - qcom,current-setting = <5>; - qcom,id = <6>; - qcom,mode = "pwm"; - qcom,pwm-us = <1000>; - qcom,source-sel = <8>; - qcom,mode-ctrl = <0x60>; - qcom,pwm-channel = <0>; - qcom,start-idx = <1>; - qcom,duty-pcts = [00 00 00 00 64 - 64 00 00 00 00]; - qcom,use-blink; - }; - }; - - qcom,leds@a500 { - status = "okay"; - qcom,led_mpp_6 { - label = "mpp"; - linux,name = "red"; - linux,default-trigger = "none"; - qcom,default-state = "off"; - qcom,max-current = <40>; - qcom,current-setting = <5>; - qcom,id = <6>; - qcom,mode = "pwm"; - qcom,pwm-us = <1000>; - qcom,mode-ctrl = <0x60>; - qcom,source-sel = <10>; - qcom,pwm-channel = <5>; - qcom,start-idx = <1>; - qcom,duty-pcts = [00 00 00 00 64 - 64 00 00 00 00]; - qcom,use-blink; - }; - }; - }; - - qcom,pm8226@1 { - qcom,leds@d800 { - status = "okay"; - qcom,wled_0 { - label = "wled"; - linux,name = "wled:backlight"; - linux,default-trigger = "bkl-trigger"; - qcom,cs-out-en; - qcom,op-fdbck = <1>; - qcom,default-state = "on"; - qcom,max-current = <20>; - qcom,ctrl-delay-us = <0>; - qcom,boost-curr-lim = <3>; - qcom,cp-sel = <0>; - qcom,switch-freq = <2>; - qcom,ovp-val = <0>; - qcom,num-strings = <1>; - qcom,id = <0>; - }; - }; - }; -}; - -&pm8226_gpios { - gpio@c000 { /* GPIO 1 */ - /* XO_PMIC_CDC_MCLK enable for tapan codec */ - qcom,mode = <1>; /* Digital output */ - qcom,output-type = <0>; /* CMOS logic */ - qcom,pull = <5>; /* QPNP_PIN_PULL_NO*/ - qcom,vin-sel = <3>; /* QPNP_PIN_VIN3 */ - qcom,out-strength = <3>;/* QPNP_PIN_OUT_STRENGTH_HIGH */ - qcom,src-sel = <2>; /* QPNP_PIN_SEL_FUNC_1 */ - qcom,master-en = <1>; /* Enable GPIO */ - }; - - gpio@c100 { /* GPIO 2 */ - qcom,mode = <1>; - qcom,output-type = <0>; - qcom,pull = <5>; - qcom,vin-sel = <3>; - qcom,out-strength = <3>; - qcom,src-sel = <2>; - qcom,master-en = <1>; - }; - - gpio@c200 { /* GPIO 3 */ - }; - - gpio@c300 { /* GPIO 4 */ - }; - - gpio@c400 { /* GPIO 5 */ - }; - - gpio@c500 { /* GPIO 6 */ - }; - - gpio@c600 { /* GPIO 7 */ - }; - - gpio@c700 { /* GPIO 8 */ - }; -}; - -&pm8226_mpps { - mpp@a000 { /* MPP 1 */ - }; - - mpp@a100 { /* MPP 2 */ - }; - - mpp@a200 { /* MPP 3 */ - }; - - mpp@a300 { /* MPP 4 */ - }; - - mpp@a400 { /* MPP 5 */ - }; - - mpp@a500 { /* MPP 6 */ - }; - - mpp@a600 { /* MPP 7 */ - }; - - mpp@a700 { /* MPP 8 */ - }; -}; - -&pm8226_chg { - qcom,charging-disabled; - qcom,use-default-batt-values; -}; - -&usb_otg_sw { - status = "okay"; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8226-coresight.dtsi b/kernel/arch/arm/boot/dts/m7300-un-v1/msm8226-coresight.dtsi deleted file mode 100755 index e11c963c6..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8226-coresight.dtsi +++ /dev/null @@ -1,377 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -&soc { - tmc_etr: tmc@fc322000 { - compatible = "arm,coresight-tmc"; - reg = <0xfc322000 0x1000>, - <0xfc37c000 0x3000>; - reg-names = "tmc-base", "bam-base"; - - qcom,memory-reservation-type = "EBI1"; - qcom,memory-reservation-size = <0x100000>; /* 1M EBI1 buffer */ - - coresight-id = <0>; - coresight-name = "coresight-tmc-etr"; - coresight-nr-inports = <1>; - coresight-ctis = <&cti0 &cti8>; - }; - - tpiu: tpiu@fc318000 { - compatible = "arm,coresight-tpiu"; - reg = <0xfc318000 0x1000>; - reg-names = "tpiu-base"; - - coresight-id = <1>; - coresight-name = "coresight-tpiu"; - coresight-nr-inports = <1>; - - vdd-supply = <&pm8226_l18>; - - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <9000 800000>; - }; - - replicator: replicator@fc31c000 { - compatible = "qcom,coresight-replicator"; - reg = <0xfc31c000 0x1000>; - reg-names = "replicator-base"; - - coresight-id = <2>; - coresight-name = "coresight-replicator"; - coresight-nr-inports = <1>; - coresight-outports = <0 1>; - coresight-child-list = <&tmc_etr &tpiu>; - coresight-child-ports = <0 0>; - }; - - tmc_etf: tmc@fc307000 { - compatible = "arm,coresight-tmc"; - reg = <0xfc307000 0x1000>; - reg-names = "tmc-base"; - - coresight-id = <3>; - coresight-name = "coresight-tmc-etf"; - coresight-nr-inports = <1>; - coresight-outports = <0>; - coresight-child-list = <&replicator>; - coresight-child-ports = <0>; - coresight-default-sink; - coresight-ctis = <&cti0 &cti8>; - }; - - funnel_merg: funnel@fc31b000 { - compatible = "arm,coresight-funnel"; - reg = <0xfc31b000 0x1000>; - reg-names = "funnel-base"; - - coresight-id = <4>; - coresight-name = "coresight-funnel-merg"; - coresight-nr-inports = <2>; - coresight-outports = <0>; - coresight-child-list = <&tmc_etf>; - coresight-child-ports = <0>; - }; - - funnel_in0: funnel@fc319000 { - compatible = "arm,coresight-funnel"; - reg = <0xfc319000 0x1000>; - reg-names = "funnel-base"; - - coresight-id = <5>; - coresight-name = "coresight-funnel-in0"; - coresight-nr-inports = <8>; - coresight-outports = <0>; - coresight-child-list = <&funnel_merg>; - coresight-child-ports = <0>; - }; - - funnel_in1: funnel@fc31a000 { - compatible = "arm,coresight-funnel"; - reg = <0xfc31a000 0x1000>; - reg-names = "funnel-base"; - - coresight-id = <6>; - coresight-name = "coresight-funnel-in1"; - coresight-nr-inports = <8>; - coresight-outports = <0>; - coresight-child-list = <&funnel_merg>; - coresight-child-ports = <1>; - }; - - funnel_a7ss: funnel@fc345000 { - compatible = "arm,coresight-funnel"; - reg = <0xfc345000 0x1000>; - reg-names = "funnel-base"; - - coresight-id = <7>; - coresight-name = "coresight-funnel-a7ss"; - coresight-nr-inports = <4>; - coresight-outports = <0>; - coresight-child-list = <&funnel_in1>; - coresight-child-ports = <5>; - }; - - funnel_mmss: funnel@fc364000 { - compatible = "arm,coresight-funnel"; - reg = <0xfc364000 0x1000>; - reg-names = "funnel-base"; - - - coresight-id = <8>; - coresight-name = "coresight-funnel-mmss"; - coresight-nr-inports = <8>; - coresight-outports = <0>; - coresight-child-list = <&funnel_in1>; - coresight-child-ports = <1>; - }; - - stm: stm@fc321000 { - compatible = "arm,coresight-stm"; - reg = <0xfc321000 0x1000>, - <0xfa280000 0x180000>; - reg-names = "stm-base", "stm-data-base"; - - coresight-id = <9>; - coresight-name = "coresight-stm"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_in1>; - coresight-child-ports = <7>; - }; - - etm0: etm@fc33c000 { - compatible = "arm,coresight-etm"; - reg = <0xfc33c000 0x1000>; - reg-names = "etm-base"; - - coresight-id = <10>; - coresight-name = "coresight-etm0"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_a7ss>; - coresight-child-ports = <0>; - - qcom,round-robin; - }; - - etm1: etm@fc33d000 { - compatible = "arm,coresight-etm"; - reg = <0xfc33d000 0x1000>; - reg-names = "etm-base"; - - coresight-id = <11>; - coresight-name = "coresight-etm1"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_a7ss>; - coresight-child-ports = <1>; - - qcom,round-robin; - }; - - etm2: etm@fc33e000 { - compatible = "arm,coresight-etm"; - reg = <0xfc33e000 0x1000>; - reg-names = "etm-base"; - - coresight-id = <12>; - coresight-name = "coresight-etm2"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_a7ss>; - coresight-child-ports = <2>; - - qcom,round-robin; - }; - - etm3: etm@fc33f000 { - compatible = "arm,coresight-etm"; - reg = <0xfc33f000 0x1000>; - reg-names = "etm-base"; - - coresight-id = <13>; - coresight-name = "coresight-etm3"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_a7ss>; - coresight-child-ports = <3>; - - qcom,round-robin; - }; - - csr: csr@fc302000 { - compatible = "qcom,coresight-csr"; - reg = <0xfc302000 0x1000>; - reg-names = "csr-base"; - - coresight-id = <14>; - coresight-name = "coresight-csr"; - coresight-nr-inports = <0>; - - qcom,blk-size = <1>; - }; - - cti0: cti@fc308000 { - compatible = "arm,coresight-cti"; - reg = <0xfc308000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <15>; - coresight-name = "coresight-cti0"; - coresight-nr-inports = <0>; - }; - - cti1: cti@fc309000 { - compatible = "arm,coresight-cti"; - reg = <0xfc309000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <16>; - coresight-name = "coresight-cti1"; - coresight-nr-inports = <0>; - }; - - cti2: cti@fc30a000 { - compatible = "arm,coresight-cti"; - reg = <0xfc30a000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <17>; - coresight-name = "coresight-cti2"; - coresight-nr-inports = <0>; - }; - - cti3: cti@fc30b000 { - compatible = "arm,coresight-cti"; - reg = <0xfc30b000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <18>; - coresight-name = "coresight-cti3"; - coresight-nr-inports = <0>; - }; - - cti4: cti@fc30c000 { - compatible = "arm,coresight-cti"; - reg = <0xfc30c000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <19>; - coresight-name = "coresight-cti4"; - coresight-nr-inports = <0>; - }; - - cti5: cti@fc30d000 { - compatible = "arm,coresight-cti"; - reg = <0xfc30d000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <20>; - coresight-name = "coresight-cti5"; - coresight-nr-inports = <0>; - }; - - cti6: cti@fc30e000 { - compatible = "arm,coresight-cti"; - reg = <0xfc30e000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <21>; - coresight-name = "coresight-cti6"; - coresight-nr-inports = <0>; - }; - - cti7: cti@fc30f000 { - compatible = "arm,coresight-cti"; - reg = <0xfc30f000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <22>; - coresight-name = "coresight-cti7"; - coresight-nr-inports = <0>; - }; - - cti8: cti@fc310000 { - compatible = "arm,coresight-cti"; - reg = <0xfc310000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <23>; - coresight-name = "coresight-cti8"; - coresight-nr-inports = <0>; - }; - - cti_l2: cti@fc340000 { - compatible = "arm,coresight-cti"; - reg = <0xfc340000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <24>; - coresight-name = "coresight-cti-l2"; - coresight-nr-inports = <0>; - }; - - cti_cpu0: cti@fc341000 { - compatible = "arm,coresight-cti"; - reg = <0xfc341000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <25>; - coresight-name = "coresight-cti-cpu0"; - coresight-nr-inports = <0>; - }; - - cti_cpu1: cti@fc342000 { - compatible = "arm,coresight-cti"; - reg = <0xfc342000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <26>; - coresight-name = "coresight-cti-cpu1"; - coresight-nr-inports = <0>; - }; - - cti_cpu2: cti@fc343000 { - compatible = "arm,coresight-cti"; - reg = <0xfc343000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <27>; - coresight-name = "coresight-cti-cpu2"; - coresight-nr-inports = <0>; - }; - - cti_cpu3: cti@fc344000 { - compatible = "arm,coresight-cti"; - reg = <0xfc344000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <28>; - coresight-name = "coresight-cti-cpu3"; - coresight-nr-inports = <0>; - }; - - hwevent: hwevent@fd828018 { - compatible = "qcom,coresight-hwevent"; - reg = <0xfd828018 0x80>, - <0xf9011080 0x80>, - <0xfd4ab160 0x80>; - reg-names = "mmss-mux", "apcs-mux", "ppss-mux"; - - coresight-id = <29>; - coresight-name = "coresight-hwevent"; - coresight-nr-inports = <0>; - - qcom,hwevent-clks = "core_mmss_clk"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8226-fluid.dts b/kernel/arch/arm/boot/dts/m7300-un-v1/msm8226-fluid.dts deleted file mode 100755 index c58b43b4b..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8226-fluid.dts +++ /dev/null @@ -1,33 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; -/include/ "msm8226.dtsi" - -/ { - model = "Qualcomm MSM 8226 FLUID"; - compatible = "qcom,msm8226-fluid", "qcom,msm8226", "qcom,fluid"; - qcom,msm-id = <145 3 0>, - <158 3 0>, - <159 3 0>, - <198 3 0>; -}; - -&soc { - serial@f991f000 { - status = "disabled"; - }; -}; - -&pm8226_bms { - status = "ok"; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8226-gpu.dtsi b/kernel/arch/arm/boot/dts/m7300-un-v1/msm8226-gpu.dtsi deleted file mode 100755 index 590f73395..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8226-gpu.dtsi +++ /dev/null @@ -1,161 +0,0 @@ -/* Copyright (c) 2013, 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. - */ -&soc { - msm_gpu: qcom,kgsl-3d0@fdb00000 { - label = "kgsl-3d0"; - compatible = "qcom,kgsl-3d0", "qcom,kgsl-3d"; - reg = <0xfdb00000 0x10000 - 0xfdb20000 0x10000>; - reg-names = "kgsl_3d0_reg_memory" , "kgsl_3d0_shader_memory"; - interrupts = <0 33 0>; - interrupt-names = "kgsl_3d0_irq"; - qcom,id = <0>; - - qcom,chipid = <0x03000510>; - - qcom,initial-pwrlevel = <1>; - - qcom,idle-timeout = <8>; // - qcom,strtstp-sleepwake; - qcom,clk-map = <0x00000016>; /* KGSL_CLK_CORE | KGSL_CLK_IFACE | KGSL_CLK_MEM_IFACE */ - - /* Bus Scale Settings */ - qcom,msm-bus,name = "grp3d"; - qcom,msm-bus,num-cases = <4>; - qcom,msm-bus,num-paths = <2>; - qcom,msm-bus,vectors-KBps = - <26 512 0 0>, <89 604 0 0>, - <26 512 0 1600000>, <89 604 0 3200000>, - <26 512 0 3200000>, <89 604 0 5120000>, - <26 512 0 4256000>, <89 604 0 6400000>; - - - /* GDSC oxili regulators */ - vddcx-supply = "\0"; - vdd-supply = <&gdsc_oxili_cx>; - - - /* IOMMU Data */ - iommu = <&kgsl_iommu>; - - /* Power levels */ - qcom,gpu-pwrlevels { - #address-cells = <1>; - #size-cells = <0>; - - compatible = "qcom,gpu-pwrlevels"; - - qcom,gpu-pwrlevel@0 { - reg = <0>; - qcom,gpu-freq = <450000000>; - qcom,bus-freq = <3>; - qcom,io-fraction = <0>; - }; - - qcom,gpu-pwrlevel@1 { - reg = <1>; - qcom,gpu-freq = <320000000>; - qcom,bus-freq = <2>; - qcom,io-fraction = <33>; - }; - - qcom,gpu-pwrlevel@2 { - reg = <2>; - qcom,gpu-freq = <200000000>; - qcom,bus-freq = <1>; - qcom,io-fraction = <100>; - }; - - qcom,gpu-pwrlevel@3 { - reg = <3>; - qcom,gpu-freq = <19000000>; - qcom,bus-freq = <0>; - qcom,io-fraction = <0>; - }; - }; - - qcom,dcvs-core-info { - #address-cells = <1>; - #size-cells = <0>; - - compatible = "qcom,dcvs-core-info"; - - qcom,num-cores = <1>; - qcom,sensors = <0>; - - qcom,core-core-type = <1>; - - qcom,algo-disable-pc-threshold = <0>; - qcom,algo-em-win-size-min-us = <100000>; - qcom,algo-em-win-size-max-us = <300000>; - qcom,algo-em-max-util-pct = <97>; - qcom,algo-group-id = <95>; - qcom,algo-max-freq-chg-time-us = <100000>; - qcom,algo-slack-mode-dynamic = <100000>; - qcom,algo-slack-weight-thresh-pct = <0>; - qcom,algo-slack-time-min-us = <39000>; - qcom,algo-slack-time-max-us = <39000>; - qcom,algo-ss-win-size-min-us = <1000000>; - qcom,algo-ss-win-size-max-us = <1000000>; - qcom,algo-ss-util-pct = <95>; - qcom,algo-ss-no-corr-below-freq = <0>; - - qcom,energy-active-coeff-a = <2492>; - qcom,energy-active-coeff-b = <0>; - qcom,energy-active-coeff-c = <0>; - qcom,energy-leakage-coeff-a = <11>; - qcom,energy-leakage-coeff-b = <157150>; - qcom,energy-leakage-coeff-c = <0>; - qcom,energy-leakage-coeff-d = <0>; - - qcom,power-current-temp = <25>; - qcom,power-num-freq = <4>; - - qcom,dcvs-freq@0 { - reg = <0>; - qcom,freq = <0>; - qcom,voltage = <0>; - qcom,is_trans_level = <0>; - qcom,active-energy-offset = <100>; - qcom,leakage-energy-offset = <0>; - }; - - qcom,dcvs-freq@1 { - reg = <1>; - qcom,freq = <0>; - qcom,voltage = <0>; - qcom,is_trans_level = <0>; - qcom,active-energy-offset = <100>; - qcom,leakage-energy-offset = <0>; - }; - - qcom,dcvs-freq@2 { - reg = <2>; - qcom,freq = <0>; - qcom,voltage = <0>; - qcom,is_trans_level = <0>; - qcom,active-energy-offset = <100>; - qcom,leakage-energy-offset = <0>; - }; - - qcom,dcvs-freq@3 { - reg = <3>; - qcom,freq = <0>; - qcom,voltage = <0>; - qcom,is_trans_level = <0>; - qcom,active-energy-offset = <844545>; - qcom,leakage-energy-offset = <0>; - }; - }; - - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8226-iommu-domains.dtsi b/kernel/arch/arm/boot/dts/m7300-un-v1/msm8226-iommu-domains.dtsi deleted file mode 100755 index 25fca2a54..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8226-iommu-domains.dtsi +++ /dev/null @@ -1,31 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -&soc { - qcom,iommu-domains { - compatible = "qcom,iommu-domains"; - - venus_domain_ns: qcom,iommu-domain1 { - label = "venus_ns"; - qcom,iommu-contexts = <&venus_ns>; - qcom,virtual-addr-pool = <0x40000000 0x3f000000 - 0x7f000000 0x1000000>; - }; - - venus_domain_cp: qcom,iommu-domain2 { - label = "venus_cp"; - qcom,iommu-contexts = <&venus_cp>; - qcom,virtual-addr-pool = <0x1000000 0x3f000000>; - qcom,secure-domain; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8226-iommu.dtsi b/kernel/arch/arm/boot/dts/m7300-un-v1/msm8226-iommu.dtsi deleted file mode 100755 index ff3e0a59d..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8226-iommu.dtsi +++ /dev/null @@ -1,237 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/include/ "msm-iommu-v1.dtsi" - -&jpeg_iommu { - status = "ok"; - vdd-supply = <&gdsc_jpeg>; - qcom,iommu-enable-halt; - - qcom,iommu-bfb-regs = <0x204c - 0x2050 - 0x2514 - 0x2540 - 0x256c - 0x2314 - 0x2394 - 0x2414 - 0x20ac - 0x215c - 0x220c - 0x2008 - 0x200c - 0x2010 - 0x2014>; - - qcom,iommu-bfb-data = <0x0000ffff - 0x00000000 - 0x4 - 0x4 - 0x0 - 0x0 - 0x10 - 0x50 - 0x0 - 0x10 - 0x20 - 0x0 - 0x0 - 0x0 - 0x0>; -}; - -&mdp_iommu { - status = "ok"; - vdd-supply = <&gdsc_mdss>; - qcom,iommu-enable-halt; - - qcom,iommu-bfb-regs = <0x204c - 0x2050 - 0x2514 - 0x2540 - 0x256c - 0x20ac - 0x215c - 0x220c - 0x2314 - 0x2394 - 0x2414 - 0x2008 - 0x200c - 0x2010 - 0x2014 - 0x2018 - 0x201c - 0x2020>; - - qcom,iommu-bfb-data = <0xffffffff - 0x00000000 - 0x00000004 - 0x00000010 - 0x00000000 - 0x00000000 - 0x00000013 - 0x00000017 - 0x0 - 0x13 - 0x23 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0>; -}; - -&venus_iommu { - status = "ok"; - vdd-supply = <&gdsc_venus>; - qcom,iommu-enable-halt; - - qcom,iommu-bfb-regs = <0x204c - 0x2050 - 0x2514 - 0x2540 - 0x256c - 0x20ac - 0x215c - 0x220c - 0x2314 - 0x2394 - 0x2414 - 0x2008 - 0x200c - 0x2010 - 0x2014 - 0x2018 - 0x201c - 0x2020 - 0x2024 - 0x2028 - 0x202c - 0x2030 - 0x2034 - 0x2038>; - - qcom,iommu-bfb-data = <0xffffffff - 0xffffffff - 0x00000004 - 0x00000008 - 0x00000000 - 0x00000000 - 0x00000094 - 0x000000b4 - 0x0 - 0x94 - 0x114 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0>; -}; - -&venus_ns { - qcom,iommu-ctx-sids = <0 1 2 3 4 5 7>; -}; - -&venus_cp { - qcom,iommu-ctx-sids = <0x80 0x81 0x82 0x83 0x84>; -}; - -&kgsl_iommu { - status = "ok"; - vdd-supply = <&gdsc_oxili_cx>; - qcom,alt-vdd-supply = <&gdsc_oxili_gx>; - qcom,iommu-enable-halt; - qcom,needs-alt-core-clk; - - qcom,iommu-bfb-regs = <0x204c - 0x2050 - 0x2514 - 0x2540 - 0x256c - 0x20ac - 0x215c - 0x220c - 0x2314 - 0x2394 - 0x2414 - 0x2008>; - - qcom,iommu-bfb-data = <0x00000003 - 0x0 - 0x00000004 - 0x00000010 - 0x00000000 - 0x00000000 - 0x00000001 - 0x00000011 - 0x0 - 0x1 - 0x41 - 0x0>; -}; - -&vfe_iommu { - status = "ok"; - vdd-supply = <&gdsc_vfe>; - qcom,iommu-enable-halt; - - qcom,iommu-bfb-regs = <0x204c - 0x2050 - 0x2514 - 0x2540 - 0x256c - 0x2314 - 0x2394 - 0x2414 - 0x20ac - 0x215c - 0x220c - 0x2008 - 0x200c - 0x2010 - 0x2014 - 0x2018 - 0x201c - 0x2020>; - - qcom,iommu-bfb-data = <0xffffffff - 0x00000000 - 0x4 - 0x8 - 0x0 - 0x0 - 0x1b - 0x5b - 0x0 - 0x1b - 0x2b - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0>; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8226-ion.dtsi b/kernel/arch/arm/boot/dts/m7300-un-v1/msm8226-ion.dtsi deleted file mode 100755 index dee64e538..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8226-ion.dtsi +++ /dev/null @@ -1,66 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&soc { - qcom,ion { - compatible = "qcom,msm-ion"; - #address-cells = <1>; - #size-cells = <0>; - - qcom,ion-heap@30 { /* SYSTEM HEAP */ - reg = <30>; - }; - - qcom,ion-heap@21 { /* SYSTEM CONTIG HEAP */ - reg = <21>; - }; - - qcom,ion-heap@8 { /* CP_MM HEAP */ - compatible = "qcom,msm-ion-reserve"; - reg = <8>; - qcom,heap-align = <0x1000>; - linux,contiguous-region = <&secure_mem>; - }; - - qcom,ion-heap@25 { /* IOMMU HEAP */ - reg = <25>; - }; - - qcom,ion-heap@27 { /* QSECOM HEAP */ - compatible = "qcom,msm-ion-reserve"; - reg = <27>; - linux,contiguous-region = <&qsecom_mem>; - }; - - qcom,ion-heap@28 { /* AUDIO HEAP */ - compatible = "qcom,msm-ion-reserve"; - reg = <28>; - qcom,heap-align = <0x1000>; - qcom,memory-reservation-type = "EBI1"; /* reserve EBI memory */ - qcom,memory-reservation-size = <0x314000>; - }; - qcom,ion-heap@23 { /* OTHER PIL HEAP */ - compatible = "qcom,msm-ion-reserve"; - reg = <23>; - qcom,heap-align = <0x1000>; - qcom,memory-fixed = <0x06400000 0x2000000>; - }; - qcom,ion-heap@26 { /* MODEM PIL HEAP */ - compatible = "qcom,msm-ion-reserve"; - reg = <26>; - qcom,heap-align = <0x1000>; - qcom,memory-fixed = <0x08400000 0x4E00000>; - - }; - - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8226-mdss.dtsi b/kernel/arch/arm/boot/dts/m7300-un-v1/msm8226-mdss.dtsi deleted file mode 100755 index f58089709..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8226-mdss.dtsi +++ /dev/null @@ -1,80 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -&soc { - qcom,mdss_mdp@fd900000 { - compatible = "qcom,mdss_mdp"; - reg = <0xfd900000 0x22100>, - <0xfd924000 0x1000>; - reg-names = "mdp_phys", "vbif_phys"; - interrupts = <0 72 0>; - vdd-supply = <&gdsc_mdss>; - - qcom,max-clk-rate = <200000000>; - qcom,mdss-pipe-vig-off = <0x00001200>; - qcom,mdss-pipe-rgb-off = <0x00001E00>; - qcom,mdss-pipe-dma-off = <0x00002A00>; - qcom,mdss-pipe-vig-fetch-id = <1>; - qcom,mdss-pipe-rgb-fetch-id = <7>; - qcom,mdss-pipe-dma-fetch-id = <4>; - qcom,mdss-smp-data = <7 4096>; - - qcom,mdss-ctl-off = <0x00000600 0x00000700>; - qcom,mdss-mixer-intf-off = <0x00003200>; - qcom,mdss-mixer-wb-off = <0x00003E00>; - qcom,mdss-dspp-off = <0x00004600>; - qcom,mdss-pingpong-off = <0x00021B00>; - qcom,mdss-wb-off = <0x00011100 0x00013100>; - qcom,mdss-intf-off = <0x00000000 0x00021300>; - qcom,mdss-rot-block-size = <64>; - - qcom,vbif-settings = <0x004 0x00000001>, - <0x0D8 0x00000707>, - <0x124 0x00000003>; - qcom,mdp-settings = <0x02E0 0x000000A9>, - <0x02E4 0x00000055>; - - mdss_fb0: qcom,mdss_fb_primary { - cell-index = <0>; - compatible = "qcom,mdss-fb"; - qcom,memory-reservation-type = "EBI1"; - qcom,memory-reservation-size = <0x800000>; - }; - - mdss_fb1: qcom,mdss_fb_wfd { - cell-index = <1>; - compatible = "qcom,mdss-fb"; - }; - }; - - mdss_dsi0: qcom,mdss_dsi@fd922800 { - compatible = "qcom,mdss-dsi-ctrl"; - label = "MDSS DSI CTRL->0"; - cell-index = <0>; - reg = <0xfd922800 0x600>; - vdd-supply = <&pm8226_l15>; - vddio-supply = <&pm8226_l8>; - vdda-supply = <&pm8226_l4>; - qcom,supply-names = "vdd", "vddio", "vdda"; - qcom,supply-min-voltage-level = <2800000 1800000 1200000>; - qcom,supply-max-voltage-level = <2800000 1800000 1200000>; - qcom,supply-peak-current = <150000 100000 100000>; - qcom,mdss-fb-map = <&mdss_fb0>; - }; - - qcom,mdss_wb_panel { - compatible = "qcom,mdss_wb"; - qcom,mdss_pan_res = <1280 720>; - qcom,mdss_pan_bpp = <24>; - qcom,mdss-fb-map = <&mdss_fb1>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8226-mtp.dtsi b/kernel/arch/arm/boot/dts/m7300-un-v1/msm8226-mtp.dtsi deleted file mode 100755 index bcd1c41d6..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8226-mtp.dtsi +++ /dev/null @@ -1,445 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/include/ "dsi-panel-nt35590-720p-video.dtsi" -/include/ "msm8226-camera-sensor-mtp.dtsi" - -&soc { - serial@f991f000 { - status = "ok"; - }; - - qcom,mdss_dsi_nt35590_720p_video { - status = "ok"; - }; - - i2c@f9927000 { /* BLSP1 QUP5 */ - synaptics@20 { - compatible = "synaptics,rmi4"; - reg = <0x20>; - interrupt-parent = <&msmgpio>; - interrupts = <17 0x2008>; - vdd-supply = <&pm8226_l19>; - vcc_i2c-supply = <&pm8226_lvs1>; - synaptics,reset-gpio = <&msmgpio 16 0x00>; - synaptics,irq-gpio = <&msmgpio 17 0x2008>; - synaptics,button-map = <139 102 158>; - synaptics,i2c-pull-up; - }; - }; - - gpio_keys { - compatible = "gpio-keys"; - input-name = "gpio-keys"; - - camera_focus { - label = "camera_focus"; - gpios = <&msmgpio 108 0x1>; - linux,input-type = <1>; - linux,code = <0x210>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - - camera_snapshot { - label = "camera_snapshot"; - gpios = <&msmgpio 107 0x1>; - linux,input-type = <1>; - linux,code = <0x2fe>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - - vol_up { - label = "volume_up"; - gpios = <&msmgpio 106 0x1>; - linux,input-type = <1>; - linux,code = <115>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - }; - - spi@f9923000 { - ethernet-switch@3 { - compatible = "micrel,ks8851"; - reg = <3>; - interrupt-parent = <&msmgpio>; - interrupts = <0 115 0>; - spi-max-frequency = <4800000>; - rst-gpio = <&msmgpio 114 0>; - vdd-io-supply = <&pm8226_lvs1>; - vdd-phy-supply = <&pm8226_lvs1>; - }; - }; - - sound { - qcom,audio-routing = - "RX_BIAS", "MCLK", - "LDO_H", "MCLK", - "SPK_OUT", "MCLK", - "SPK_OUT", "EXT_VDD_SPKR", - "AMIC1", "MIC BIAS1 External", - "MIC BIAS1 External", "Handset Mic", - "AMIC2", "MIC BIAS2 External", - "MIC BIAS2 External", "Headset Mic", - "AMIC3", "MIC BIAS1 External", - "MIC BIAS1 External", "ANCRight Headset Mic", - "AMIC4", "MIC BIAS2 External", - "MIC BIAS2 External", "ANCLeft Headset Mic"; - - qcom,cdc-mclk-gpios = <&pm8226_gpios 1 0>; - qcom,cdc-vdd-spkr-gpios = <&pm8226_gpios 2 0>; - }; -}; - -&usb_otg { - #address-cells = <0>; - interrupt-parent = <&usb_otg>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 134 0 - 1 &intc 0 140 0 - 2 &spmi_bus 0x0 0x0 0x9 0x0>; - interrupt-names = "core_irq", "async_irq", "pmic_id_irq"; - - qcom,hsusb-otg-mode = <3>; - vbus_otg-supply = <&usb_otg_sw>; -}; - -&sdcc1 { - vdd-supply = <&pm8226_l17>; - qcom,vdd-always-on; - qcom,vdd-lpm-sup; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <800 500000>; - - vdd-io-supply = <&pm8226_l6>; - qcom,vdd-io-always-on; - qcom,vdd-io-voltage-level = <1800000 1800000>; - qcom,vdd-io-current-level = <250 154000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - qcom,sup-voltages = <2950 2950>; - - qcom,bus-speed-mode = "HS200_1p8v", "DDR_1p8v"; - qcom,nonremovable; - - status = "disabled"; -}; - -&sdhc_1 { - vdd-supply = <&pm8226_l17>; - qcom,vdd-always-on; - qcom,vdd-lpm-sup; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <800 500000>; - - vdd-io-supply = <&pm8226_l6>; - qcom,vdd-io-always-on; - qcom,vdd-io-voltage-level = <1800000 1800000>; - qcom,vdd-io-current-level = <250 154000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - qcom,bus-speed-mode = "HS200_1p8v", "DDR_1p8v"; - qcom,nonremovable; - - status = "ok"; -}; - -&sdcc2 { - vdd-supply = <&pm8226_l18>; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <9000 800000>; - - vdd-io-supply = <&pm8226_l21>; - qcom,vdd-io-always-on; - qcom,vdd-io-lpm-sup; - qcom,vdd-io-voltage-level = <1800000 2950000>; - qcom,vdd-io-current-level = <6 22000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - qcom,sup-voltages = <2950 2950>; - - qcom,xpc; - qcom,bus-speed-mode = "SDR12", "SDR25", "SDR50", "DDR50", "SDR104"; - qcom,current-limit = <600>; #address-cells = <0>; interrupt-parent = <&sdcc2>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 125 0 - 1 &intc 0 220 0 - 2 &msmgpio 38 0x3>; - interrupt-names = "core_irq", "bam_irq", "status_irq"; - cd-gpios = <&msmgpio 38 0x1>; - - status = "disabled"; -}; - -&sdhc_2 { - vdd-supply = <&pm8226_l18>; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <9000 800000>; - - vdd-io-supply = <&pm8226_l21>; - qcom,vdd-io-always-on; - qcom,vdd-io-lpm-sup; - qcom,vdd-io-voltage-level = <1800000 2950000>; - qcom,vdd-io-current-level = <6 22000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - - #address-cells = <0>; - interrupt-parent = <&sdhc_2>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 125 0 - 1 &intc 0 221 0 - 2 &msmgpio 38 0x3>; - interrupt-names = "hc_irq", "pwr_irq", "status_irq"; - cd-gpios = <&msmgpio 38 0x1>; - - status = "ok"; -}; - -&spmi_bus { - qcom,pm8226@0 { - qcom,leds@a100 { - status = "okay"; - qcom,led_mpp_2 { - label = "mpp"; - linux,name = "button-backlight"; - linux,default-trigger = "none"; - qcom,default-state = "off"; - qcom,max-current = <40>; - qcom,current-setting = <5>; - qcom,id = <6>; - qcom,mode = "manual"; - qcom,source-sel = <1>; - qcom,mode-ctrl = <0x60>; - }; - }; - - qcom,leds@a300 { - status = "okay"; - qcom,led_mpp_4 { - label = "mpp"; - linux,name = "green"; - linux,default-trigger = "none"; - qcom,default-state = "off"; - qcom,max-current = <40>; - qcom,current-setting = <5>; - qcom,id = <6>; - qcom,mode = "pwm"; - qcom,pwm-us = <1000>; - qcom,source-sel = <8>; - qcom,mode-ctrl = <0x60>; - qcom,pwm-channel = <0>; - qcom,start-idx = <1>; - qcom,duty-pcts = [00 00 00 00 64 - 64 00 00 00 00]; - qcom,use-blink; - }; - }; - - qcom,leds@a500 { - status = "okay"; - qcom,led_mpp_6 { - label = "mpp"; - linux,name = "red"; - linux,default-trigger = "none"; - qcom,default-state = "off"; - qcom,max-current = <40>; - qcom,current-setting = <5>; - qcom,id = <6>; - qcom,mode = "pwm"; - qcom,pwm-us = <1000>; - qcom,mode-ctrl = <0x60>; - qcom,source-sel = <10>; - qcom,pwm-channel = <5>; - qcom,start-idx = <1>; - qcom,duty-pcts = [00 00 00 00 64 - 64 00 00 00 00]; - qcom,use-blink; - }; - }; - }; - - qcom,pm8226@1 { - qcom,leds@d300 { - status = "okay"; - }; - - qcom,leds@d800 { - status = "okay"; - qcom,wled_0 { - label = "wled"; - linux,name = "wled:backlight"; - linux,default-trigger = "bkl-trigger"; - qcom,cs-out-en; - qcom,op-fdbck = <1>; - qcom,default-state = "on"; - qcom,max-current = <20>; - qcom,ctrl-delay-us = <0>; - qcom,boost-curr-lim = <3>; - qcom,cp-sel = <0>; - qcom,switch-freq = <2>; - qcom,ovp-val = <0>; - qcom,num-strings = <1>; - qcom,id = <0>; - }; - }; - }; -}; - -&pm8226_gpios { - gpio@c000 { /* GPIO 1 */ - /* XO_PMIC_CDC_MCLK enable for tapan codec */ - qcom,mode = <1>; /* Digital output */ - qcom,output-type = <0>; /* CMOS logic */ - qcom,pull = <5>; /* QPNP_PIN_PULL_NO*/ - qcom,vin-sel = <3>; /* QPNP_PIN_VIN3 */ - qcom,out-strength = <3>;/* QPNP_PIN_OUT_STRENGTH_HIGH */ - qcom,src-sel = <2>; /* QPNP_PIN_SEL_FUNC_1 */ - qcom,master-en = <1>; /* Enable GPIO */ - }; - - gpio@c100 { /* GPIO 2 */ - qcom,mode = <1>; - qcom,output-type = <0>; - qcom,pull = <5>; - qcom,vin-sel = <3>; - qcom,out-strength = <3>; - qcom,src-sel = <2>; - qcom,master-en = <1>; - }; - - gpio@c200 { /* GPIO 3 */ - }; - - gpio@c300 { /* GPIO 4 */ - }; - - gpio@c400 { /* GPIO 5 */ - }; - - gpio@c500 { /* GPIO 6 */ - }; - - gpio@c600 { /* GPIO 7 */ - }; - - gpio@c700 { /* GPIO 8 */ - }; -}; - -&pm8226_mpps { - mpp@a000 { /* MPP 1 */ - }; - - mpp@a100 { /* MPP 2 */ - }; - - mpp@a200 { /* MPP 3 */ - }; - - mpp@a300 { /* MPP 4 */ - }; - - mpp@a400 { /* MPP 5 */ - /* PA_THERM0 config */ - qcom,mode = <4>; /* AIN input */ - qcom,invert = <1>; /* Enable MPP */ - qcom,ain-route = <0>; /* AMUX 5 */ - qcom,master-en = <1>; - qcom,src-sel = <0>; /* Function constant */ - }; - - mpp@a500 { /* MPP 6 */ - }; - - mpp@a600 { /* MPP 7 */ - }; - - mpp@a700 { /* MPP 8 */ - /* PA_THERM1 config */ - qcom,mode = <4>; /* AIN input */ - qcom,invert = <1>; /* Enable MPP */ - qcom,ain-route = <3>; /* AMUX 8 */ - qcom,master-en = <1>; - qcom,src-sel = <0>; /* Function constant */ - }; -}; - -&pm8226_vadc { - chan@14 { - label = "pa_therm0"; - reg = <0x14>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@17 { - label = "pa_therm1"; - reg = <0x17>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; -}; - -&pm8226_bms { - status = "ok"; -}; - -&pm8226_chg { - qcom,charging-disabled; -}; - -&usb_otg_sw { - status = "okay"; -}; - -&slim_msm { - tapan_codec { - qcom,cdc-micbias1-ext-cap; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8226-pm.dtsi b/kernel/arch/arm/boot/dts/m7300-un-v1/msm8226-pm.dtsi deleted file mode 100755 index 3240efb75..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8226-pm.dtsi +++ /dev/null @@ -1,389 +0,0 @@ -/* Copyright (c) 2013 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. - */ - -/include/ "skeleton.dtsi" - -&soc { - qcom,spm@f9089000 { - compatible = "qcom,spm-v2"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xf9089000 0x1000>; - qcom,core-id = <0>; - qcom,saw2-ver-reg = <0xfd0>; - qcom,saw2-cfg = <0x01>; - qcom,saw2-spm-dly= <0x3c102800>; - qcom,saw2-spm-ctl = <0x0>; - qcom,saw2-spm-cmd-wfi = [60 03 60 0b 0f]; - qcom,saw2-spm-cmd-spc = [00 20 10 80 30 90 5b 60 03 60 3b 76 76 - 0b 94 5b 80 10 06 26 30 0f]; - qcom,saw2-spm-cmd-pc = [00 20 10 80 30 90 5b 60 07 60 3b 76 76 - 0b 94 5b 80 10 06 26 30 0f]; - }; - - qcom,spm@f9099000 { - compatible = "qcom,spm-v2"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xf9099000 0x1000>; - qcom,core-id = <1>; - qcom,saw2-ver-reg = <0xfd0>; - qcom,saw2-cfg = <0x01>; - qcom,saw2-spm-dly= <0x3c102800>; - qcom,saw2-spm-ctl = <0x0>; - qcom,saw2-spm-cmd-wfi = [60 03 60 0b 0f]; - qcom,saw2-spm-cmd-spc = [00 20 10 80 30 90 5b 60 03 60 3b 76 76 - 0b 94 5b 80 10 06 26 30 0f]; - qcom,saw2-spm-cmd-pc = [00 20 10 80 30 90 5b 60 07 60 3b 76 76 - 0b 94 5b 80 10 06 26 30 0f]; - }; - - qcom,spm@f90a9000 { - compatible = "qcom,spm-v2"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xf90a9000 0x1000>; - qcom,core-id = <2>; - qcom,saw2-ver-reg = <0xfd0>; - qcom,saw2-cfg = <0x01>; - qcom,saw2-spm-dly= <0x3c102800>; - qcom,saw2-spm-ctl = <0x0>; - qcom,saw2-spm-cmd-wfi = [60 03 60 0b 0f]; - qcom,saw2-spm-cmd-spc = [00 20 10 80 30 90 5b 60 03 60 3b 76 76 - 0b 94 5b 80 10 06 26 30 0f]; - qcom,saw2-spm-cmd-pc = [00 20 10 80 30 90 5b 60 07 60 3b 76 76 - 0b 94 5b 80 10 06 26 30 0f]; - }; - - qcom,spm@f90b9000 { - compatible = "qcom,spm-v2"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xf90b9000 0x1000>; - qcom,core-id = <3>; - qcom,saw2-ver-reg = <0xfd0>; - qcom,saw2-cfg = <0x01>; - qcom,saw2-spm-dly= <0x3c102800>; - qcom,saw2-spm-ctl = <0x0>; - qcom,saw2-spm-cmd-wfi = [60 03 60 0b 0f]; - qcom,saw2-spm-cmd-spc = [00 20 10 80 30 90 5b 60 03 60 3b 76 76 - 0b 94 5b 80 10 06 26 30 0f]; - qcom,saw2-spm-cmd-pc = [00 20 10 80 30 90 5b 60 07 60 3b 76 76 - 0b 94 5b 80 10 06 26 30 0f]; - }; - - qcom,spm@f9012000 { - compatible = "qcom,spm-v2"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xf9012000 0x1000>; - qcom,core-id = <0xffff>; /* L2/APCS SAW */ - qcom,saw2-ver-reg = <0xfd0>; - qcom,saw2-cfg = <0x14>; - qcom,saw2-spm-dly= <0x3c102800>; - qcom,saw2-spm-ctl = <0x0>; - qcom,saw2-pmic-data0 = <0x02030080>; - qcom,saw2-pmic-data1 = <0x00030000>; - qcom,vctl-timeout-us = <50>; - qcom,vctl-port = <0x0>; - qcom,phase-port = <0x1>; - qcom,pfm-port = <0x2>; - qcom,saw2-spm-cmd-ret = [00 03 00 7b 0f]; - qcom,saw2-spm-cmd-pc = [00 32 b0 10 e0 d0 6b c0 42 f0 - 11 07 01 b0 4e c0 d0 12 e0 6b 50 02 32 - 50 f0 7b 0f]; /*APCS_PMIC_OFF_L2RAM_OFF*/ - }; - - qcom,lpm-resources { - compatible = "qcom,lpm-resources"; - #address-cells = <1>; - #size-cells = <0>; - - qcom,lpm-resources@0 { - reg = <0x0>; - qcom,name = "vdd-dig"; - qcom,type = <0x61706d73>; /* "smpa" */ - qcom,id = <0x01>; - qcom,key = <0x6e726f63>; /* "corn" */ - qcom,init-value = <3>; /* SVS SOC */ - }; - - qcom,lpm-resources@1 { - reg = <0x1>; - qcom,name = "vdd-mem"; - qcom,type = <0x616F646C>; /* "ldoa" */ - qcom,id = <0x03>; - qcom,key = <0x6e726f63>; /* "corn" */ - qcom,init-value = <3>; /* SVS SOC */ - }; - - qcom,lpm-resources@2 { - reg = <0x2>; - qcom,name = "pxo"; - qcom,type = <0x306b6c63>; /* "clk0" */ - qcom,id = <0x00>; - qcom,key = <0x62616e45>; /* "Enab" */ - qcom,init-value = "xo_on"; - }; - - qcom,lpm-resources@3 { - reg = <0x3>; - qcom,name = "l2"; - qcom,local-resource-type; - qcom,init-value = "l2_cache_retention"; - }; - }; - - qcom,lpm-levels { - compatible = "qcom,lpm-levels"; - #address-cells = <1>; - #size-cells = <0>; - - qcom,lpm-level@0 { - reg = <0x0>; - qcom,mode = "wfi"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_active"; - qcom,vdd-mem-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <4>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <1>; - qcom,ss-power = <784>; - qcom,energy-overhead = <190000>; - qcom,time-overhead = <100>; - }; - - qcom,lpm-level@1 { - reg = <0x1>; - qcom,mode = "standalone_pc"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_active"; - qcom,vdd-mem-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <4>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <3000>; - qcom,ss-power = <725>; - qcom,energy-overhead = <99500>; - qcom,time-overhead = <3130>; - }; - - qcom,lpm-level@2 { - reg = <0x2>; - qcom,mode = "pc"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_retention"; - qcom,vdd-mem-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <4>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <8000>; - qcom,ss-power = <138>; - qcom,energy-overhead = <1208400>; - qcom,time-overhead = <9200>; - }; - - qcom,lpm-level@3 { - reg = <0x3>; - qcom,mode = "pc"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_pc"; - qcom,vdd-mem-upper-bound = <4>; /* NORMAL */ - qcom,vdd-mem-lower-bound = <3>; /* SVS SOC */ - qcom,vdd-dig-upper-bound = <4>; /* NORMAL */ - qcom,vdd-dig-lower-bound = <3>; /* SVS SOC */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <9000>; - qcom,ss-power = <110>; - qcom,energy-overhead = <1250300>; - qcom,time-overhead = <9500>; - }; - - qcom,lpm-level@4 { - reg = <0x4>; - qcom,mode = "pc"; - qcom,xo = "xo_off"; - qcom,l2 = "l2_cache_pc"; - qcom,vdd-mem-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <4>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,latency-us = <16300>; - qcom,ss-power = <63>; - qcom,energy-overhead = <2128000>; - qcom,time-overhead = <24200>; - }; - - qcom,lpm-level@5 { - reg = <0x5>; - qcom,mode = "pc"; - qcom,xo = "xo_off"; - qcom,l2 = "l2_cache_pc"; - qcom,vdd-mem-upper-bound = <4>; /* NORMAL */ - qcom,vdd-mem-lower-bound = <3>; /* SVS SOC */ - qcom,vdd-dig-upper-bound = <4>; /* NORMAL */ - qcom,vdd-dig-lower-bound = <3>; /* SVS SOC */ - qcom,latency-us = <24000>; - qcom,ss-power = <10>; - qcom,energy-overhead = <3202600>; - qcom,time-overhead = <33000>; - }; - - qcom,lpm-level@6 { - reg = <0x6>; - qcom,mode = "pc"; - qcom,xo = "xo_off"; - qcom,l2 = "l2_cache_pc"; - qcom,vdd-mem-upper-bound = <3>; /* SVS SOC */ - qcom,vdd-mem-lower-bound = <1>; /* RETENTION */ - qcom,vdd-dig-upper-bound = <3>; /* SVS SOC */ - qcom,vdd-dig-lower-bound = <1>; /* RETENTION */ - qcom,latency-us = <26000>; - qcom,ss-power = <2>; - qcom,energy-overhead = <4252000>; - qcom,time-overhead = <38000>; - }; - }; - - qcom,pm-boot { - compatible = "qcom,pm-boot"; - qcom,mode = "tz"; - }; - - qcom,mpm@fc4281d0 { - compatible = "qcom,mpm-v2"; - reg = <0xfc4281d0 0x1000>, /* MSM_RPM_MPM_BASE 4K */ - <0xf9011008 0x4>; /* MSM_APCS_GCC_BASE 4K */ - reg-names = "vmpm", "ipc"; - interrupts = <0 171 1>; - - qcom,ipc-bit-offset = <1>; - - qcom,gic-parent = <&intc>; - qcom,gic-map = <47 172>, /* usb2_hsic_async_wakeup_irq */ - <53 104>, /* mdss_irq */ - <62 222>, /* ee0_krait_hlos_spmi_periph_irq */ - <2 216>, /* tsens_upper_lower_int */ - <0xff 56>, /* q6_wdog_expired_irq */ - <0xff 57>, /* mss_to_apps_irq(0) */ - <0xff 58>, /* mss_to_apps_irq(1) */ - <0xff 59>, /* mss_to_apps_irq(2) */ - <0xff 60>, /* mss_to_apps_irq(3) */ - <0xff 61>, /* mss_a2_bam_irq */ - <0xff 173>, /* o_wcss_apss_smd_hi */ - <0xff 174>, /* o_wcss_apss_smd_med */ - <0xff 175>, /* o_wcss_apss_smd_low */ - <0xff 176>, /* o_wcss_apss_smsm_irq */ - <0xff 177>, /* o_wcss_apss_wlan_data_xfer_done */ - <0xff 178>, /* o_wcss_apss_wlan_rx_data_avail */ - <0xff 179>, /* o_wcss_apss_asic_intr - <0xff 181>, /* o_wcss_apss_wdog_bite_and_reset_rdy */ - <0xff 188>, /* lpass_irq_out_apcs(0) */ - <0xff 189>, /* lpass_irq_out_apcs(1) */ - <0xff 190>, /* lpass_irq_out_apcs(2) */ - <0xff 191>, /* lpass_irq_out_apcs(3) */ - <0xff 192>, /* lpass_irq_out_apcs(4) */ - <0xff 194>, /* lpass_irq_out_apcs[6] */ - <0xff 195>, /* lpass_irq_out_apcs[7] */ - <0xff 196>, /* lpass_irq_out_apcs[8] */ - <0xff 200>, /* rpm_ipc(4) */ - <0xff 201>, /* rpm_ipc(5) */ - <0xff 202>, /* rpm_ipc(6) */ - <0xff 203>, /* rpm_ipc(7) */ - <0xff 204>, /* rpm_ipc(24) */ - <0xff 205>, /* rpm_ipc(25) */ - <0xff 206>, /* rpm_ipc(26) */ - <0xff 207>, /* rpm_ipc(27) */ - <0xff 258>, /* rpm_ipc(28) */ - <0xff 259>, /* rpm_ipc(29) */ - <0xff 275>, /* rpm_ipc(30) */ - <0xff 276>, /* rpm_ipc(31) */ - <0xff 269>, /* rpm_wdog_expired_irq */ - <0xff 240>; /* summary_irq_kpss */ - - qcom,gpio-parent = <&msmgpio>; - qcom,gpio-map = <3 1>, - <4 4 >, - <5 5 >, - <6 9 >, - <7 13>, - <8 17>, - <9 21>, - <10 27>, - <11 29>, - <12 31>, - <13 33>, - <14 35>, - <15 37>, - <16 38>, - <17 39>, - <18 41>, - <19 46>, - <20 48>, - <21 49>, - <22 50>, - <23 51>, - <24 52>, - <25 54>, - <26 62>, - <27 63>, - <28 64>, - <29 65>, - <30 66>, - <31 67>, - <32 68>, - <33 69>, - <34 71>, - <35 72>, - <36 106>, - <37 107>, - <38 108>, - <39 109>, - <40 110>, - <54 111>, - <55 113>; - }; - - qcom,pm-8x60@fe805664 { - compatible = "qcom,pm-8x60"; - reg = <0xfe805664 0x40>; - qcom,pc-mode = "tz_l2_int"; - qcom,use-sync-timer; - qcom,pc-resets-timer; - }; - - qcom,rpm-log@fc19dc00 { - compatible = "qcom,rpm-log"; - reg = <0xfc19dc00 0x4000>; - qcom,rpm-addr-phys = <0xfc000000>; - qcom,offset-version = <4>; - qcom,offset-page-buffer-addr = <36>; - qcom,offset-log-len = <40>; - qcom,offset-log-len-mask = <44>; - qcom,offset-page-indices = <56>; - }; - - qcom,rpm-stats@fc19dba0 { - compatible = "qcom,rpm-stats"; - reg = <0xfc19dba0 0x1000>; - reg-names = "phys_addr_base"; - qcom,sleep-stats-version = <2>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8226-qrd.dtsi b/kernel/arch/arm/boot/dts/m7300-un-v1/msm8226-qrd.dtsi deleted file mode 100755 index fc9d9f9b9..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8226-qrd.dtsi +++ /dev/null @@ -1,406 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/include/ "dsi-panel-nt35590-720p-video.dtsi" -/include/ "msm8226-camera-sensor-qrd.dtsi" - -&soc { - serial@f991f000 { - status = "ok"; - }; - - qcom,mdss_dsi_nt35590_720p_video { - status = "ok"; - }; - - i2c@f9927000 { /* BLSP1 QUP5 */ - synaptics@20 { - compatible = "synaptics,rmi4"; - reg = <0x20>; - interrupt-parent = <&msmgpio>; - interrupts = <17 0x2008>; - vdd-supply = <&pm8226_l19>; - vcc_i2c-supply = <&pm8226_lvs1>; - synaptics,reset-gpio = <&msmgpio 16 0x00>; - synaptics,irq-gpio = <&msmgpio 17 0x2008>; - synaptics,button-map = <139 102 158>; - synaptics,i2c-pull-up; - }; - }; - - gpio_keys { - compatible = "gpio-keys"; - input-name = "gpio-keys"; - - camera_focus { - label = "camera_focus"; - gpios = <&msmgpio 108 0x1>; - linux,input-type = <1>; - linux,code = <0x210>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - - camera_snapshot { - label = "camera_snapshot"; - gpios = <&msmgpio 107 0x1>; - linux,input-type = <1>; - linux,code = <0x2fe>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - - vol_up { - label = "volume_up"; - gpios = <&msmgpio 106 0x1>; - linux,input-type = <1>; - linux,code = <115>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - }; - - spi@f9923000 { - ethernet-switch@3 { - compatible = "micrel,ks8851"; - reg = <3>; - interrupt-parent = <&msmgpio>; - interrupts = <0 115 0>; - spi-max-frequency = <4800000>; - rst-gpio = <&msmgpio 114 0>; - vdd-io-supply = <&pm8226_lvs1>; - vdd-phy-supply = <&pm8226_lvs1>; - }; - }; - - sound { - qcom,audio-routing = - "RX_BIAS", "MCLK", - "LDO_H", "MCLK", - "SPK_OUT", "MCLK", - "SPK_OUT", "EXT_VDD_SPKR", - "AMIC1", "MIC BIAS1 External", - "MIC BIAS1 External", "Handset Mic", - "AMIC2", "MIC BIAS2 External", - "MIC BIAS2 External", "Headset Mic", - "AMIC3", "MIC BIAS1 External", - "MIC BIAS1 External", "ANCRight Headset Mic", - "AMIC4", "MIC BIAS2 External", - "MIC BIAS2 External", "ANCLeft Headset Mic"; - - qcom,cdc-mclk-gpios = <&pm8226_gpios 1 0>; - qcom,cdc-vdd-spkr-gpios = <&pm8226_gpios 2 0>; - qcom,cdc-us-euro-gpios = <&msmgpio 69 0>; - }; -}; - -&sdcc1 { - vdd-supply = <&pm8226_l17>; - qcom,vdd-always-on; - qcom,vdd-lpm-sup; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <800 500000>; - - vdd-io-supply = <&pm8226_l6>; - qcom,vdd-io-always-on; - qcom,vdd-io-voltage-level = <1800000 1800000>; - qcom,vdd-io-current-level = <250 154000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - qcom,sup-voltages = <2950 2950>; - - qcom,bus-speed-mode = "HS200_1p8v", "DDR_1p8v"; - qcom,nonremovable; - - status = "disabled"; -}; - -&sdhc_1 { - vdd-supply = <&pm8226_l17>; - qcom,vdd-always-on; - qcom,vdd-lpm-sup; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <800 500000>; - - vdd-io-supply = <&pm8226_l6>; - qcom,vdd-io-always-on; - qcom,vdd-io-voltage-level = <1800000 1800000>; - qcom,vdd-io-current-level = <250 154000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - qcom,bus-speed-mode = "HS200_1p8v", "DDR_1p8v"; - qcom,nonremovable; - - status = "ok"; -}; - -&sdcc2 { - vdd-supply = <&pm8226_l18>; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <9000 800000>; - - vdd-io-supply = <&pm8226_l21>; - qcom,vdd-io-always-on; - qcom,vdd-io-lpm-sup; - qcom,vdd-io-voltage-level = <1800000 2950000>; - qcom,vdd-io-current-level = <6 22000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - qcom,sup-voltages = <2950 2950>; - - qcom,xpc; - qcom,bus-speed-mode = "SDR12", "SDR25", "SDR50", "DDR50", "SDR104"; - qcom,current-limit = <600>; - - #address-cells = <0>; - interrupt-parent = <&sdcc2>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 125 0 - 1 &intc 0 220 0 - 2 &msmgpio 38 0x3>; - interrupt-names = "core_irq", "bam_irq", "status_irq"; - cd-gpios = <&msmgpio 38 0x1>; - - status = "disabled"; -}; - -&sdhc_2 { - vdd-supply = <&pm8226_l18>; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <9000 800000>; - - vdd-io-supply = <&pm8226_l21>; - qcom,vdd-io-always-on; - qcom,vdd-io-lpm-sup; - qcom,vdd-io-voltage-level = <1800000 2950000>; - qcom,vdd-io-current-level = <6 22000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - - #address-cells = <0>; - interrupt-parent = <&sdhc_2>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 125 0 - 1 &intc 0 221 0 - 2 &msmgpio 38 0x3>; - interrupt-names = "hc_irq", "pwr_irq", "status_irq"; - cd-gpios = <&msmgpio 38 0x1>; - - status = "ok"; -}; - -&spmi_bus { - qcom,pm8226@0 { - qcom,leds@a100 { - status = "okay"; - qcom,led_mpp_2 { - label = "mpp"; - linux,name = "button-backlight"; - linux,default-trigger = "none"; - qcom,default-state = "off"; - qcom,max-current = <40>; - qcom,current-setting = <5>; - qcom,id = <6>; - qcom,mode = "manual"; - qcom,source-sel = <1>; - qcom,mode-ctrl = <0x60>; - }; - }; - - qcom,leds@a300 { - status = "okay"; - qcom,led_mpp_4 { - label = "mpp"; - linux,name = "green"; - linux,default-trigger = "none"; - qcom,default-state = "off"; - qcom,max-current = <40>; - qcom,current-setting = <5>; - qcom,id = <6>; - qcom,mode = "pwm"; - qcom,pwm-us = <1000>; - qcom,source-sel = <8>; - qcom,mode-ctrl = <0x60>; - qcom,pwm-channel = <0>; - qcom,start-idx = <1>; - qcom,duty-pcts = [00 00 00 00 64 - 64 00 00 00 00]; - qcom,use-blink; - }; - }; - - qcom,leds@a500 { - status = "okay"; - qcom,led_mpp_6 { - label = "mpp"; - linux,name = "red"; - linux,default-trigger = "none"; - qcom,default-state = "off"; - qcom,max-current = <40>; - qcom,current-setting = <5>; - qcom,id = <6>; - qcom,mode = "pwm"; - qcom,pwm-us = <1000>; - qcom,mode-ctrl = <0x60>; - qcom,source-sel = <10>; - qcom,pwm-channel = <5>; - qcom,start-idx = <1>; - qcom,duty-pcts = [00 00 00 00 64 - 64 00 00 00 00]; - qcom,use-blink; - }; - }; - }; - - qcom,pm8226@1 { - qcom,leds@d300 { - status = "okay"; - }; - - qcom,leds@d800 { - status = "okay"; - qcom,wled_0 { - label = "wled"; - linux,name = "wled:backlight"; - linux,default-trigger = "bkl-trigger"; - qcom,cs-out-en; - qcom,op-fdbck = <1>; - qcom,default-state = "on"; - qcom,max-current = <20>; - qcom,ctrl-delay-us = <0>; - qcom,boost-curr-lim = <3>; - qcom,cp-sel = <0>; - qcom,switch-freq = <2>; - qcom,ovp-val = <0>; - qcom,num-strings = <1>; - qcom,id = <0>; - }; - }; - - qcom,vibrator@c000 { - status = "okay"; - qcom,vib-timeout-ms = <15000>; - qcom,vib-vtg-level-mV = <3100>; - }; - - }; -}; - -&pm8226_bms { - status = "okay"; - qcom,batt-type = <4>; - qcom,max-voltage-uv = <4350000>; -}; - -&pm8226_chg { - status = "okay"; - qcom,chg-vddmax-mv = <4350>; - qcom,chg-vddsafe-mv = <4350>; -}; - -&pm8226_gpios { - gpio@c000 { /* GPIO 1 */ - /* XO_PMIC_CDC_MCLK enable for tapan codec */ - qcom,mode = <1>; /* Digital output */ - qcom,output-type = <0>; /* CMOS logic */ - qcom,pull = <5>; /* QPNP_PIN_PULL_NO*/ - qcom,vin-sel = <3>; /* QPNP_PIN_VIN3 */ - qcom,out-strength = <3>;/* QPNP_PIN_OUT_STRENGTH_HIGH */ - qcom,src-sel = <2>; /* QPNP_PIN_SEL_FUNC_1 */ - qcom,master-en = <1>; /* Enable GPIO */ - }; - - gpio@c100 { /* GPIO 2 */ - qcom,mode = <1>; - qcom,output-type = <0>; - qcom,pull = <5>; - qcom,vin-sel = <3>; - qcom,out-strength = <3>; - qcom,src-sel = <2>; - qcom,master-en = <1>; - }; - - gpio@c200 { /* GPIO 3 */ - }; - - gpio@c300 { /* GPIO 4 */ - }; - - gpio@c400 { /* GPIO 5 */ - }; - - gpio@c500 { /* GPIO 6 */ - }; - - gpio@c600 { /* GPIO 7 */ - }; - - gpio@c700 { /* GPIO 8 */ - }; -}; - -&pm8226_mpps { - mpp@a000 { /* MPP 1 */ - }; - - mpp@a100 { /* MPP 2 */ - }; - - mpp@a200 { /* MPP 3 */ - }; - - mpp@a300 { /* MPP 4 */ - }; - - mpp@a400 { /* MPP 5 */ - }; - - mpp@a500 { /* MPP 6 */ - }; - - mpp@a600 { /* MPP 7 */ - }; - - mpp@a700 { /* MPP 8 */ - }; -}; - -&slim_msm { - tapan_codec { - qcom,cdc-micbias1-ext-cap; - }; - -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8226-regulator.dtsi b/kernel/arch/arm/boot/dts/m7300-un-v1/msm8226-regulator.dtsi deleted file mode 100755 index 3254d17c8..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8226-regulator.dtsi +++ /dev/null @@ -1,460 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/* SPM controlled regulators: */ - -&spmi_bus { - qcom,pm8226@1 { - pm8226_s2: spm-regulator@1700 { - compatible = "qcom,spm-regulator"; - regulator-name = "8226_s2"; - reg = <0x1700 0x100>; - regulator-min-microvolt = <900000>; - regulator-max-microvolt = <1275000>; - }; - }; -}; - -/* CPR controlled regulator */ - -&soc { - apc_vreg_corner: regulator@f9018000 { - status = "okay"; - compatible = "qcom,cpr-regulator"; - reg = <0xf9018000 0x1000>, <0xf9011064 4>, <0xfc4b80b0 8>, - <0xfc4bc450 16>; - reg-names = "rbcpr", "rbcpr_clk", "pvs_efuse", "cpr_efuse"; - interrupts = <0 15 0>; - regulator-name = "apc_corner"; - regulator-min-microvolt = <1>; - regulator-max-microvolt = <3>; - qcom,num-efuse-bits = <5>; - qcom,pvs-bin-process = <0 0 0 0 0 1 1 1 1 1 2 2 2 2 2 2 - 2 2 2 2 3 3 3 3 3 3 3 3 0 0 0 0>; - qcom,pvs-corner-ceiling-slow = <1155000 1160000 1275000>; - qcom,pvs-corner-ceiling-nom = <975000 1075000 1200000>; - qcom,pvs-corner-ceiling-fast = <900000 1000000 1140000>; - vdd-apc-supply = <&pm8226_s2>; - - vdd-mx-supply = <&pm8226_l3_ao>; - qcom,vdd-mx-vmax = <1350000>; - qcom,vdd-mx-vmin-method = <1>; - - qcom,cpr-ref-clk = <19200>; - qcom,cpr-timer-delay = <5000>; - qcom,cpr-timer-cons-up = <1>; - qcom,cpr-timer-cons-down = <2>; - qcom,cpr-irq-line = <0>; - qcom,cpr-step-quotient = <15>; - qcom,cpr-up-threshold = <1>; - qcom,cpr-down-threshold = <2>; - qcom,cpr-idle-clocks = <5>; - qcom,cpr-gcnt-time = <1>; - qcom,vdd-apc-step-up-limit = <1>; - qcom,vdd-apc-step-down-limit = <1>; - qcom,cpr-apc-volt-step = <5000>; - }; -}; - -/* RPM controlled regulators: */ - -&rpm_bus { - rpm-regulator-smpa1 { - status = "okay"; - pm8226_s1: regulator-s1 { - regulator-min-microvolt = <500000>; - regulator-max-microvolt = <1275000>; - status = "okay"; - }; - pm8226_s1_corner: regulator-s1-corner { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_s1_corner"; - qcom,set = <3>; - regulator-min-microvolt = <1>; - regulator-max-microvolt = <7>; - qcom,use-voltage-corner; - qcom,consumer-supplies = "vdd_dig", ""; - }; - pm8226_s1_corner_ao: regulator-s1-corner-ao { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_s1_corner_ao"; - qcom,set = <1>; - regulator-min-microvolt = <1>; - regulator-max-microvolt = <7>; - qcom,use-voltage-corner; - qcom,consumer-supplies = "vdd_sr2_dig", ""; - }; - }; - - rpm-regulator-smpa3 { - status = "okay"; - pm8226_s3: regulator-s3 { - regulator-min-microvolt = <1200000>; - regulator-max-microvolt = <1300000>; - qcom,init-voltage = <1200000>; - status = "okay"; - }; - }; - - rpm-regulator-smpa4 { - status = "okay"; - pm8226_s4: regulator-s4 { - regulator-min-microvolt = <2100000>; - regulator-max-microvolt = <2100000>; - qcom,init-voltage = <2100000>; - status = "okay"; - }; - }; - - rpm-regulator-smpa5 { - status = "okay"; - pm8226_s5: regulator-s5 { - regulator-min-microvolt = <1150000>; - regulator-max-microvolt = <1150000>; - qcom,init-voltage = <1150000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa1 { - status = "okay"; - pm8226_l1: regulator-l1 { - regulator-name = "8226_l1"; - regulator-min-microvolt = <1225000>; - regulator-max-microvolt = <1225000>; - qcom,init-voltage = <1225000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa2 { - status = "okay"; - pm8226_l2: regulator-l2 { - regulator-min-microvolt = <1200000>; - regulator-max-microvolt = <1200000>; - qcom,init-voltage = <1200000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa3 { - status = "okay"; - pm8226_l3: regulator-l3 { - regulator-name = "8226_l3"; - regulator-min-microvolt = <750000>; - regulator-max-microvolt = <1275000>; - status = "okay"; - }; - pm8226_l3_ao: regulator-3-ao { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l3_ao"; - qcom,set = <1>; - regulator-min-microvolt = <750000>; - regulator-max-microvolt = <1275000>; - status = "okay"; - }; - pm8226_l3_so: regulator-l3-so { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l3_so"; - qcom,set = <2>; - regulator-min-microvolt = <750000>; - regulator-max-microvolt = <1275000>; - qcom,init-voltage = <750000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa4 { - status = "okay"; - pm8226_l4: regulator-l4 { - regulator-name = "8226_l4"; - regulator-min-microvolt = <1200000>; - regulator-max-microvolt = <1200000>; - qcom,init-voltage = <1200000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa5 { - status = "okay"; - pm8226_l5: regulator-l5 { - regulator-name = "8226_l5"; - regulator-min-microvolt = <1200000>; - regulator-max-microvolt = <1200000>; - qcom,init-voltage = <1200000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa6 { - status = "okay"; - pm8226_l6: regulator-l6 { - regulator-name = "8226_l6"; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa7 { - status = "okay"; - pm8226_l7: regulator-l7 { - regulator-name = "8226_l7"; - regulator-min-microvolt = <1850000>; - regulator-max-microvolt = <1850000>; - qcom,init-voltage = <1850000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa8 { - status = "okay"; - pm8226_l8: regulator-l8 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - status = "okay"; - }; - - pm8226_l8_ao: regulator-l8-ao { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l8_ao"; - qcom,set = <1>; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - qcom,consumer-supplies = "vdd_sr2_pll", ""; - }; - - pm8226_l8_so: regulator-l8-so { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l8_so"; - qcom,set = <2>; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - qcom,init-enable = <0>; - }; - }; - - rpm-regulator-ldoa9 { - status = "okay"; - pm8226_l9: regulator-l9 { - regulator-name = "8226_l9"; - regulator-min-microvolt = <2050000>; - regulator-max-microvolt = <2050000>; - qcom,init-voltage = <2050000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa10 { - status = "okay"; - pm8226_l10: regulator-l10 { - regulator-name = "8226_l10"; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa12 { - status = "okay"; - pm8226_l12: regulator-l12 { - regulator-name = "8226_l12"; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa14 { - status = "okay"; - pm8226_l14: regulator-l14 { - regulator-name = "8226_l14"; - regulator-min-microvolt = <2750000>; - regulator-max-microvolt = <2750000>; - qcom,init-voltage = <2750000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa15 { - status = "okay"; - pm8226_l15: regulator-l15 { - regulator-name = "8226_l15"; - regulator-min-microvolt = <2800000>; - regulator-max-microvolt = <2800000>; - qcom,init-voltage = <2800000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa16 { - status = "okay"; - pm8226_l16: regulator-l16 { - regulator-name = "8226_l16"; - regulator-min-microvolt = <3000000>; - regulator-max-microvolt = <3300000>; - qcom,init-voltage = <3300000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa17 { - status = "okay"; - pm8226_l17: regulator-l17 { - regulator-min-microvolt = <2950000>; - regulator-max-microvolt = <2950000>; - qcom,init-voltage = <2950000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa18 { - status = "okay"; - pm8226_l18: regulator-l18 { - regulator-name = "8226_l18"; - regulator-min-microvolt = <2950000>; - regulator-max-microvolt = <2950000>; - qcom,init-voltage = <2950000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa19 { - status = "okay"; - pm8226_l19: regulator-l19 { - regulator-name = "8226_l19"; - regulator-min-microvolt = <2850000>; - regulator-max-microvolt = <2850000>; - qcom,init-voltage = <2850000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa20 { - status = "okay"; - pm8226_l20: regulator-l20 { - regulator-name = "8226_l20"; - regulator-min-microvolt = <3075000>; - regulator-max-microvolt = <3075000>; - qcom,init-voltage = <3075000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa21 { - status = "okay"; - pm8226_l21: regulator-l21 { - regulator-name = "8226_l21"; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <2950000>; - qcom,init-voltage = <2950000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa22 { - status = "okay"; - pm8226_l22: regulator-l22 { - regulator-name = "8226_l22"; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <2950000>; - qcom,init-voltage = <2950000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa23 { - status = "okay"; - pm8226_l23: regulator-l23 { - regulator-name = "8226_l23"; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <2950000>; - qcom,init-voltage = <2950000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa24 { - status = "okay"; - pm8226_l24: regulator-l24 { - regulator-name = "8226_l24"; - regulator-min-microvolt = <1300000>; - regulator-max-microvolt = <1300000>; - qcom,init-voltage = <1300000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa26 { - status = "okay"; - pm8226_l26: regulator-l26 { - regulator-name = "8226_l26"; - regulator-min-microvolt = <1225000>; - regulator-max-microvolt = <1225000>; - qcom,init-voltage = <1225000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa27 { - status = "okay"; - pm8226_l27: regulator-l27 { - regulator-name = "8226_l27"; - regulator-min-microvolt = <2050000>; - regulator-max-microvolt = <2050000>; - qcom,init-voltage = <2050000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa28 { - status = "okay"; - pm8226_l28: regulator-l28 { - regulator-name = "8226_l28"; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <2950000>; - qcom,init-voltage = <2950000>; - status = "okay"; - }; - }; - - rpm-regulator-vsa1 { - status = "okay"; - pm8226_lvs1: regulator-lvs1 { - status = "okay"; - }; - }; -}; - -&pm8226_chg_boost { - regulator-min-microvolt = <5000000>; - regulator-max-microvolt = <5000000>; - regulator-name = "8226_smbbp_boost"; -}; - -&soc { - usb_otg_sw: regulator-ncp380 { - compatible = "regulator-fixed"; - regulator-name = "usb_otg_sw"; - gpio = <&msmgpio 67 0>; - parent-supply = <&pm8226_chg_boost>; - startup-delay-us = <4000>; - enable-active-high; - status = "disabled"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8226-sim.dts b/kernel/arch/arm/boot/dts/m7300-un-v1/msm8226-sim.dts deleted file mode 100755 index 240564632..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8226-sim.dts +++ /dev/null @@ -1,135 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/dts-v1/; -/include/ "msm8226.dtsi" -/include/ "msm8226-camera.dtsi" - -/ { - model = "Qualcomm MSM 8226 Simulator"; - compatible = "qcom,msm8226-sim", "qcom,msm8226", "qcom,sim"; - qcom,msm-id = <145 16 0>, - <158 16 0>, - <159 16 0>, - <198 16 0>; -}; - -&soc { - serial@f991f000 { - status = "ok"; - }; -}; - -&sdcc1 { - qcom,vdd-always-on; - qcom,vdd-lpm-sup; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <800 500000>; - - qcom,vdd-io-always-on; - qcom,vdd-io-voltage-level = <1800000 1800000>; - qcom,vdd-io-current-level = <250 154000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - vdd-supply = <&pm8226_l17>; - vdd-io-supply = <&pm8226_l6>; - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - qcom,sup-voltages = <2950 2950>; - - qcom,bus-speed-mode = "HS200_1p8v", "DDR_1p8v"; - qcom,nonremovable; - status = "ok"; -}; - -&sdcc2 { - vdd-supply = <&pm8226_l18>; - vdd-io-supply = <&pm8226_l21>; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <9000 800000>; - - qcom,vdd-io-always-on; - qcom,vdd-io-lpm-sup; - qcom,vdd-io-voltage-level = <1800000 2950000>; - qcom,vdd-io-current-level = <6 22000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - qcom,sup-voltages = <2950 2950>; - - qcom,xpc; - qcom,bus-speed-mode = "SDR12", "SDR25", "SDR50", "DDR50", "SDR104"; - qcom,current-limit = <800>; - - status = "ok"; -}; - -&pm8226_gpios { - gpio@c000 { /* GPIO 1 */ - }; - - gpio@c100 { /* GPIO 2 */ - }; - - gpio@c200 { /* GPIO 3 */ - }; - - gpio@c300 { /* GPIO 4 */ - }; - - gpio@c400 { /* GPIO 5 */ - }; - - gpio@c500 { /* GPIO 6 */ - }; - - gpio@c600 { /* GPIO 7 */ - }; - - gpio@c700 { /* GPIO 8 */ - }; -}; - -&pm8226_mpps { - mpp@a000 { /* MPP 1 */ - }; - - mpp@a100 { /* MPP 2 */ - }; - - mpp@a200 { /* MPP 3 */ - }; - - mpp@a300 { /* MPP 4 */ - }; - - mpp@a400 { /* MPP 5 */ - }; - - mpp@a500 { /* MPP 6 */ - }; - - mpp@a600 { /* MPP 7 */ - }; - - mpp@a700 { /* MPP 8 */ - }; -}; - - diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8226-smp2p.dtsi b/kernel/arch/arm/boot/dts/m7300-un-v1/msm8226-smp2p.dtsi deleted file mode 100755 index 3921a686a..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8226-smp2p.dtsi +++ /dev/null @@ -1,225 +0,0 @@ -/* Copyright (c) 2013, 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. - */ -&soc { - qcom,smp2p-modem { - compatible = "qcom,smp2p"; - reg = <0xf9011008 0x4>; - qcom,remote-pid = <1>; - qcom,irq-bitmask = <0x4000>; - interrupts = <0 27 1>; - }; - - qcom,smp2p-adsp { - compatible = "qcom,smp2p"; - reg = <0xf9011008 0x4>; - qcom,remote-pid = <2>; - qcom,irq-bitmask = <0x400>; - interrupts = <0 158 1>; - }; - - qcom,smp2p-wcnss { - compatible = "qcom,smp2p"; - reg = <0xf9011008 0x4>; - qcom,remote-pid = <4>; - qcom,irq-bitmask = <0x40000>; - interrupts = <0 143 1>; - }; - - smp2pgpio_smp2p_7_in: qcom,smp2pgpio-smp2p-7-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <7>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_7_in { - compatible = "qcom,smp2pgpio_test_smp2p_7_in"; - gpios = <&smp2pgpio_smp2p_7_in 0 0>; - }; - - smp2pgpio_smp2p_7_out: qcom,smp2pgpio-smp2p-7-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <7>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_7_out { - compatible = "qcom,smp2pgpio_test_smp2p_7_out"; - gpios = <&smp2pgpio_smp2p_7_out 0 0>; - }; - - smp2pgpio_smp2p_1_in: qcom,smp2pgpio-smp2p-1-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <1>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_1_in { - compatible = "qcom,smp2pgpio_test_smp2p_1_in"; - gpios = <&smp2pgpio_smp2p_1_in 0 0>; - }; - - smp2pgpio_smp2p_1_out: qcom,smp2pgpio-smp2p-1-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <1>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_1_out { - compatible = "qcom,smp2pgpio_test_smp2p_1_out"; - gpios = <&smp2pgpio_smp2p_1_out 0 0>; - }; - - smp2pgpio_ssr_smp2p_1_in: qcom,smp2pgpio-ssr-smp2p-1-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "slave-kernel"; - qcom,remote-pid = <1>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - smp2pgpio_ssr_smp2p_1_out: qcom,smp2pgpio-ssr-smp2p-1-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "master-kernel"; - qcom,remote-pid = <1>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - smp2pgpio_smp2p_2_in: qcom,smp2pgpio-smp2p-2-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <2>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_2_in { - compatible = "qcom,smp2pgpio_test_smp2p_2_in"; - gpios = <&smp2pgpio_smp2p_2_in 0 0>; - }; - - smp2pgpio_smp2p_2_out: qcom,smp2pgpio-smp2p-2-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <2>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_2_out { - compatible = "qcom,smp2pgpio_test_smp2p_2_out"; - gpios = <&smp2pgpio_smp2p_2_out 0 0>; - }; - - /* SMP2P SSR Driver for inbound entry from lpass. */ - smp2pgpio_ssr_smp2p_2_in: qcom,smp2pgpio-ssr-smp2p-2-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "slave-kernel"; - qcom,remote-pid = <2>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - /* SMP2P SSR Driver for outbound entry to lpass */ - smp2pgpio_ssr_smp2p_2_out: qcom,smp2pgpio-ssr-smp2p-2-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "master-kernel"; - qcom,remote-pid = <2>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - smp2pgpio_smp2p_4_in: qcom,smp2pgpio-smp2p-4-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <4>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_4_in { - compatible = "qcom,smp2pgpio_test_smp2p_4_in"; - gpios = <&smp2pgpio_smp2p_4_in 0 0>; - }; - - smp2pgpio_smp2p_4_out: qcom,smp2pgpio-smp2p-4-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <4>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - smp2pgpio_ssr_smp2p_4_in: qcom,smp2pgpio-ssr-smp2p-4-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "slave-kernel"; - qcom,remote-pid = <4>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - smp2pgpio_ssr_smp2p_4_out: qcom,smp2pgpio-ssr-smp2p-4-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "master-kernel"; - qcom,remote-pid = <4>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_4_out { - compatible = "qcom,smp2pgpio_test_smp2p_4_out"; - gpios = <&smp2pgpio_smp2p_4_out 0 0>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8226-v1-cdp.dts b/kernel/arch/arm/boot/dts/m7300-un-v1/msm8226-v1-cdp.dts deleted file mode 100755 index 9c49840d9..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8226-v1-cdp.dts +++ /dev/null @@ -1,25 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; -/include/ "msm8226-v1.dtsi" -/include/ "msm8226-cdp.dtsi" - -/ { - model = "Qualcomm MSM 8226 CDP"; - compatible = "qcom,msm8226-cdp", "qcom,msm8226", "qcom,cdp"; - qcom,msm-id = <145 1 0>, - <158 1 0>, - <159 1 0>, - <198 1 0>, - <205 1 0>; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8226-v1-mtp.dts b/kernel/arch/arm/boot/dts/m7300-un-v1/msm8226-v1-mtp.dts deleted file mode 100755 index b1d46b1c4..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8226-v1-mtp.dts +++ /dev/null @@ -1,25 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; -/include/ "msm8226-v1.dtsi" -/include/ "msm8226-mtp.dtsi" - -/ { - model = "Qualcomm MSM 8226 MTP"; - compatible = "qcom,msm8226-mtp", "qcom,msm8226", "qcom,mtp"; - qcom,msm-id = <145 8 0>, - <158 8 0>, - <159 8 0>, - <198 8 0>, - <205 8 0>; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8226-v1-qrd.dts b/kernel/arch/arm/boot/dts/m7300-un-v1/msm8226-v1-qrd.dts deleted file mode 100755 index d2aabac0c..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8226-v1-qrd.dts +++ /dev/null @@ -1,25 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; -/include/ "msm8226-v1.dtsi" -/include/ "msm8226-qrd.dtsi" - -/ { - model = "Qualcomm MSM 8226 QRD"; - compatible = "qcom,msm8226-qrd", "qcom,msm8226", "qcom,qrd"; - qcom,msm-id = <145 11 0>, - <158 11 0>, - <159 11 0>, - <198 11 0>, - <205 11 0>; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8226-v1.dtsi b/kernel/arch/arm/boot/dts/m7300-un-v1/msm8226-v1.dtsi deleted file mode 100755 index d471bece9..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8226-v1.dtsi +++ /dev/null @@ -1,19 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/* - * As a general rule, only version-specific property overrides should be placed - * inside this file. However, device definitions should be placed inside the - * msm8226.dtsi file. - */ - -/include/ "msm8226.dtsi" diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8226-v2-cdp.dts b/kernel/arch/arm/boot/dts/m7300-un-v1/msm8226-v2-cdp.dts deleted file mode 100755 index 2b18491d9..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8226-v2-cdp.dts +++ /dev/null @@ -1,25 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; -/include/ "msm8226-v2.dtsi" -/include/ "msm8226-cdp.dtsi" - -/ { - model = "Qualcomm MSM 8226v2 CDP"; - compatible = "qcom,msm8226-cdp", "qcom,msm8226", "qcom,cdp"; - qcom,msm-id = <145 1 0x20000>, - <158 1 0x20000>, - <159 1 0x20000>, - <198 1 0x20000>, - <205 1 0x20000>; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8226-v2-mtp.dts b/kernel/arch/arm/boot/dts/m7300-un-v1/msm8226-v2-mtp.dts deleted file mode 100755 index f15dd4cb9..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8226-v2-mtp.dts +++ /dev/null @@ -1,25 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; -/include/ "msm8226-v2.dtsi" -/include/ "msm8226-mtp.dtsi" - -/ { - model = "Qualcomm MSM 8226v2 MTP"; - compatible = "qcom,msm8226-mtp", "qcom,msm8226", "qcom,mtp"; - qcom,msm-id = <145 8 0x20000>, - <158 8 0x20000>, - <159 8 0x20000>, - <198 8 0x20000>, - <205 8 0x20000>; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8226-v2-qrd.dts b/kernel/arch/arm/boot/dts/m7300-un-v1/msm8226-v2-qrd.dts deleted file mode 100755 index 1a89d7894..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8226-v2-qrd.dts +++ /dev/null @@ -1,25 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; -/include/ "msm8226-v2.dtsi" -/include/ "msm8226-qrd.dtsi" - -/ { - model = "Qualcomm MSM 8226v2 QRD"; - compatible = "qcom,msm8226-qrd", "qcom,msm8226", "qcom,qrd"; - qcom,msm-id = <145 11 0x20000>, - <158 11 0x20000>, - <159 11 0x20000>, - <198 11 0x20000>, - <205 11 0x20000>; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8226-v2.dtsi b/kernel/arch/arm/boot/dts/m7300-un-v1/msm8226-v2.dtsi deleted file mode 100755 index d471bece9..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8226-v2.dtsi +++ /dev/null @@ -1,19 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/* - * As a general rule, only version-specific property overrides should be placed - * inside this file. However, device definitions should be placed inside the - * msm8226.dtsi file. - */ - -/include/ "msm8226.dtsi" diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8226.dtsi b/kernel/arch/arm/boot/dts/m7300-un-v1/msm8226.dtsi deleted file mode 100755 index 7c981043c..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8226.dtsi +++ /dev/null @@ -1,1248 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/include/ "skeleton.dtsi" - -/ { - model = "Qualcomm MSM 8226"; - compatible = "qcom,msm8226"; - interrupt-parent = <&intc>; - - aliases { - spi0 = &spi_0; - sdhc1 = &sdhc_1; /* SDC1 eMMC slot */ - sdhc2 = &sdhc_2; /* SDC2 SD card slot */ - }; - - memory { - secure_mem: secure_region { - linux,contiguous-region; - reg = <0 0x6D00000>; - label = "secure_mem"; - }; - - qsecom_mem: qsecom_region { - linux,contiguous-region; - reg = <0 0x780000>; - label = "qsecom_mem"; - }; - }; - - soc: soc { }; -}; - -/include/ "msm8226-ion.dtsi" -/include/ "msm8226-camera.dtsi" -/include/ "msm-gdsc.dtsi" -/include/ "msm8226-iommu.dtsi" -/include/ "msm8226-pm.dtsi" -/include/ "msm8226-smp2p.dtsi" -/include/ "msm8226-gpu.dtsi" -/include/ "msm8226-bus.dtsi" -/include/ "msm8226-mdss.dtsi" -/include/ "msm8226-coresight.dtsi" -/include/ "msm8226-iommu-domains.dtsi" - -&soc { - #address-cells = <1>; - #size-cells = <1>; - ranges; - - intc: interrupt-controller@f9000000 { - compatible = "qcom,msm-qgic2"; - interrupt-controller; - #interrupt-cells = <3>; - reg = <0xF9000000 0x1000>, - <0xF9002000 0x1000>; - }; - - msmgpio: gpio@fd510000 { - compatible = "qcom,msm-gpio"; - interrupt-controller; - #interrupt-cells = <2>; - reg = <0xfd510000 0x4000>; - gpio-controller; - #gpio-cells = <2>; - ngpio = <117>; - interrupts = <0 208 0>; - qcom,direct-connect-irqs = <8>; - }; - - qcom,mpm2-sleep-counter@fc4a3000 { - compatible = "qcom,mpm2-sleep-counter"; - reg = <0xfc4a3000 0x1000>; - clock-frequency = <32768>; - }; - - timer { - compatible = "arm,armv7-timer"; - interrupts = <1 2 0 1 3 0>; - clock-frequency = <19200000>; - }; - - 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 8 0x4>, - <0 7 0x4>; - reg = <0xf9021000 0x1000>, - <0xf9022000 0x1000>; - }; - - frame@f9023000 { - frame-number = <1>; - interrupts = <0 9 0x4>; - reg = <0xf9023000 0x1000>; - status = "disabled"; - }; - - frame@f9024000 { - frame-number = <2>; - interrupts = <0 10 0x4>; - reg = <0xf9024000 0x1000>; - status = "disabled"; - }; - - frame@f9025000 { - frame-number = <3>; - interrupts = <0 11 0x4>; - reg = <0xf9025000 0x1000>; - status = "disabled"; - }; - - frame@f9026000 { - frame-number = <4>; - interrupts = <0 12 0x4>; - reg = <0xf9026000 0x1000>; - status = "disabled"; - }; - - frame@f9027000 { - frame-number = <5>; - interrupts = <0 13 0x4>; - reg = <0xf9027000 0x1000>; - status = "disabled"; - }; - - frame@f9028000 { - frame-number = <6>; - interrupts = <0 14 0x4>; - reg = <0xf9028000 0x1000>; - status = "disabled"; - }; - }; - - qcom,vidc@fdc00000 { - compatible = "qcom,msm-vidc"; - reg = <0xfdc00000 0xff000>; - interrupts = <0 44 0>; - qcom,load-freq-tbl = <352800 160000000>, - <244800 133330000>, - <108000 66700000>; - qcom,hfi = "venus"; - qcom,bus-ports = <1>; - qcom,reg-presets = <0xE0024 0x0>, - <0x80124 0x3>, - <0xE0020 0x5555556>, - <0x800B0 0x10101001>, - <0x800B4 0x00101010>, - <0x800C0 0x1010100f>, - <0x800C4 0x00101010>, - <0x800D0 0x00000010>, - <0x800D4 0x00000010>, - <0x800D8 0x00000707>; - qcom,enc-ddr-ab-ib = <0 0>, - <129000 142000>, - <384000 422000>, - <866000 953000>; - qcom,dec-ddr-ab-ib = <0 0>, - <103000 134000>, - <268000 348000>, - <505000 657000>; - qcom,iommu-groups = <&venus_domain_ns &venus_domain_cp>; - qcom,iommu-group-buffer-types = <0xfff 0x1ff>; - qcom,buffer-type-tz-usage-table = <0x1 0x1>, - <0x1fe 0x2>; - qcom,max-hw-load = <352800>; /* 720p @ 30 + 1080p @ 30 */ - }; - - qcom,wfd { - compatible = "qcom,msm-wfd"; - }; - - serial@f991f000 { - compatible = "qcom,msm-lsuart-v14"; - reg = <0xf991f000 0x1000>; - interrupts = <0 109 0>; - status = "disabled"; - }; - - serial@f995e000 { - compatible = "qcom,msm-lsuart-v14"; - reg = <0xf995e000 0x1000>; - interrupts = <0 114 0>; - status = "disabled"; - }; - - qcom,msm-imem@fe805000 { - compatible = "qcom,msm-imem"; - reg = <0xfe805000 0x1000>; /* Address and size of IMEM */ - }; - - qcom,sps@f9984000 { - compatible = "qcom,msm_sps"; - reg = <0xf9984000 0x15000>, - <0xf9999000 0xb000>; - interrupts = <0 94 0>; - }; - - qcom,usbbam@f9a44000 { - compatible = "qcom,usb-bam-msm"; - reg = <0xf9a44000 0x11000>; - reg-names = "hsusb"; - interrupts = <0 135 0>; - interrupt-names = "hsusb"; - qcom,usb-bam-num-pipes = <16>; - qcom,usb-bam-fifo-baseaddr = <0xfe803000>; - qcom,ignore-core-reset-ack; - qcom,disable-clk-gating; - - qcom,pipe0 { - label = "hsusb-qdss-in-0"; - qcom,usb-bam-mem-type = <3>; - qcom,bam-type = <1>; - 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 = <0xf9a44000>; - qcom,dst-bam-pipe-index = <2>; - qcom,data-fifo-offset = <0x0>; - qcom,data-fifo-size = <0x600>; - qcom,descriptor-fifo-offset = <0x600>; - qcom,descriptor-fifo-size = <0x200>; - }; - }; - - usb_otg: usb@f9a55000 { - compatible = "qcom,hsusb-otg"; - reg = <0xf9a55000 0x400>; - interrupts = <0 134 0>, <0 140 0>; - interrupt-names = "core_irq", "async_irq"; - hsusb_vdd_dig-supply = <&pm8226_s1_corner>; - HSUSB_1p8-supply = <&pm8226_l10>; - HSUSB_3p3-supply = <&pm8226_l20>; - qcom,vdd-voltage-level = <1 5 7>; - - qcom,hsusb-otg-phy-init-seq = - <0x44 0x80 0x68 0x81 0x24 0x82 0x13 0x83 0xffffffff>; - qcom,hsusb-otg-phy-type = <2>; - qcom,hsusb-otg-mode = <1>; - qcom,hsusb-otg-otg-control = <2>; - qcom,hsusb-otg-disable-reset; - qcom,dp-manual-pullup; - - qcom,msm-bus,name = "usb"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <87 512 0 0>, - <87 512 60000 960000>; - }; - - android_usb@fe8050c8 { - compatible = "qcom,android-usb"; - reg = <0xfe8050c8 0xc8>; - qcom,android-usb-cdrom; - qcom,android-usb-swfi-latency = <1>; - }; - - wcd9xxx_intc: wcd9xxx-irq { - compatible = "qcom,wcd9xxx-irq"; - interrupt-controller; - #interrupt-cells = <1>; - interrupt-parent = <&msmgpio>; - interrupts = <68 0>; - interrupt-names = "cdc-int"; - }; - - slim_msm: slim@fe12f000 { - cell-index = <1>; - compatible = "qcom,slim-ngd"; - reg = <0xfe12f000 0x35000>, - <0xfe104000 0x20000>; - reg-names = "slimbus_physical", "slimbus_bam_physical"; - interrupts = <0 163 0>, <0 164 0>; - interrupt-names = "slimbus_irq", "slimbus_bam_irq"; - - tapan_codec { - compatible = "qcom,tapan-slim-pgd"; - elemental-addr = [00 01 E0 00 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>; - qcom,cdc-reset-gpio = <&msmgpio 72 0>; - - cdc-vdd-buck-supply = <&pm8226_s4>; - qcom,cdc-vdd-buck-voltage = <2100000 2100000>; - qcom,cdc-vdd-buck-current = <650000>; - - cdc-vdd-h-supply = <&pm8226_l6>; - qcom,cdc-vdd-h-voltage = <1800000 1800000>; - qcom,cdc-vdd-h-current = <25000>; - - cdc-vdd-px-supply = <&pm8226_l6>; - qcom,cdc-vdd-px-voltage = <1800000 1800000>; - qcom,cdc-vdd-px-current = <25000>; - - cdc-vdd-a-1p2v-supply = <&pm8226_l4>; - qcom,cdc-vdd-a-1p2v-voltage = <1200000 1200000>; - qcom,cdc-vdd-a-1p2v-current = <10000>; - - cdc-vdd-cx-supply = <&pm8226_l4>; - qcom,cdc-vdd-cx-voltage = <1200000 1200000>; - qcom,cdc-vdd-cx-current = <10000>; - - qcom,cdc-static-supplies = "cdc-vdd-buck", - "cdc-vdd-h", - "cdc-vdd-px", - "cdc-vdd-a-1p2v", - "cdc-vdd-cx"; - - qcom,cdc-micbias-ldoh-v = <0x3>; - qcom,cdc-micbias-cfilt1-mv = <1800>; - qcom,cdc-micbias-cfilt2-mv = <2700>; - 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-mclk-clk-rate = <9600000>; - qcom,cdc-slim-ifd = "tapan-slim-ifd"; - qcom,cdc-slim-ifd-elemental-addr = [00 00 E0 00 17 02]; - }; - }; - - qcom,msm-adsp-loader { - compatible = "qcom,adsp-loader"; - qcom,adsp-state = <0>; - }; - - sound { - compatible = "qcom,msm8226-audio-tapan"; - qcom,model = "msm8226-tapan-snd-card"; - qcom,tapan-mclk-clk-freq = <9600000>; - qcom,prim-auxpcm-gpio-clk = <&msmgpio 63 0>; - qcom,prim-auxpcm-gpio-sync = <&msmgpio 64 0>; - qcom,prim-auxpcm-gpio-din = <&msmgpio 65 0>; - qcom,prim-auxpcm-gpio-dout = <&msmgpio 66 0>; - qcom,prim-auxpcm-gpio-set = "prim-gpio-prim"; - }; - - qcom,msm-pcm { - compatible = "qcom,msm-pcm-dsp"; - qcom,msm-pcm-dsp-id = <0>; - }; - - qcom,msm-pcm-routing { - compatible = "qcom,msm-pcm-routing"; - }; - - qcom,msm-pcm-low-latency { - compatible = "qcom,msm-pcm-dsp"; - qcom,msm-pcm-dsp-id = <1>; - qcom,msm-pcm-low-latency; - }; - - qcom,msm-pcm-lpa { - compatible = "qcom,msm-pcm-lpa"; - }; - - qcom,msm-compr-dsp { - compatible = "qcom,msm-compr-dsp"; - }; - - qcom,msm-voip-dsp { - compatible = "qcom,msm-voip-dsp"; - }; - - qcom,msm-pcm-voice { - compatible = "qcom,msm-pcm-voice"; - }; - - qcom,msm-stub-codec { - compatible = "qcom,msm-stub-codec"; - }; - - qcom,msm-dai-fe { - compatible = "qcom,msm-dai-fe"; - }; - - qcom,msm-pcm-afe { - compatible = "qcom,msm-pcm-afe"; - }; - - qcom,msm-dai-q6-hdmi { - compatible = "qcom,msm-dai-q6-hdmi"; - qcom,msm-dai-q6-dev-id = <8>; - }; - - qcom,msm-dai-q6 { - compatible = "qcom,msm-dai-q6"; - qcom,msm-dai-q6-sb-0-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <16384>; - }; - - qcom,msm-dai-q6-sb-0-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <16385>; - }; - - qcom,msm-dai-q6-sb-1-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <16386>; - }; - - qcom,msm-dai-q6-sb-1-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <16387>; - }; - - qcom,msm-dai-q6-sb-3-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <16390>; - }; - - qcom,msm-dai-q6-sb-3-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <16391>; - }; - - qcom,msm-dai-q6-sb-4-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <16392>; - }; - - qcom,msm-dai-q6-sb-4-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <16393>; - }; - - qcom,msm-dai-q6-bt-sco-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <12288>; - }; - - qcom,msm-dai-q6-bt-sco-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <12289>; - }; - - qcom,msm-dai-q6-int-fm-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <12292>; - }; - - qcom,msm-dai-q6-int-fm-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <12293>; - }; - - qcom,msm-dai-q6-be-afe-pcm-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <224>; - }; - - qcom,msm-dai-q6-be-afe-pcm-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <225>; - }; - - qcom,msm-dai-q6-afe-proxy-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <241>; - }; - - qcom,msm-dai-q6-afe-proxy-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <240>; - }; - - qcom,msm-dai-q6-incall-record-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <32771>; - }; - - qcom,msm-dai-q6-incall-record-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <32772>; - }; - - qcom,msm-dai-q6-incall-music-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <32773>; - }; - }; - - qcom,msm-pcm-hostless { - compatible = "qcom,msm-pcm-hostless"; - }; - - qcom,msm-auxpcm { - compatible = "qcom,msm-auxpcm-resource"; - qcom,msm-cpudai-auxpcm-clk = "pcm_clk"; - 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-slot = <1>, <1>; - qcom,msm-cpudai-auxpcm-data = <0>, <0>; - qcom,msm-cpudai-auxpcm-pcm-clk-rate = <2048000>, <2048000>; - - qcom,msm-prim-auxpcm-rx { - qcom,msm-auxpcm-dev-id = <4106>; - compatible = "qcom,msm-auxpcm-dev"; - }; - - qcom,msm-prim-auxpcm-tx { - qcom,msm-auxpcm-dev-id = <4107>; - compatible = "qcom,msm-auxpcm-dev"; - }; - }; - - qcom,wcnss-wlan@fb000000 { - compatible = "qcom,wcnss_wlan"; - reg = <0xfb000000 0x280000>, - <0xf9011008 0x04>; - reg-names = "wcnss_mmio", "wcnss_fiq"; - interrupts = <0 145 0 0 146 0>; - interrupt-names = "wcnss_wlantx_irq", "wcnss_wlanrx_irq"; - - qcom,pronto-vddmx-supply = <&pm8226_l3>; - qcom,pronto-vddcx-supply = <&pm8226_s1>; - qcom,pronto-vddpx-supply = <&pm8226_l6>; - qcom,iris-vddxo-supply = <&pm8226_l10>; - qcom,iris-vddrfa-supply = <&pm8226_l24>; - qcom,iris-vddpa-supply = <&pm8226_l16>; - qcom,iris-vdddig-supply = <&pm8226_l24>; - - gpios = <&msmgpio 40 0>, <&msmgpio 41 0>, <&msmgpio 42 0>, <&msmgpio 43 0>, <&msmgpio 44 0>; - qcom,has-pronto-hw; - qcom,has-autodetect-xo; - }; - - qcom,msm-adsp-sensors { - compatible = "qcom,msm-adsp-sensors"; - qcom,src-id = <11>; - qcom,dst-id = <604>; - qcom,ab = <32505856>; - qcom,ib = <32505856>; - }; - - qcom,wdt@f9017000 { - compatible = "qcom,msm-watchdog"; - reg = <0xf9017000 0x1000>; - interrupts = <0 3 0>, <0 4 0>; - qcom,bark-time = <11000>; - qcom,pet-time = <10000>; - qcom,ipi-ping; - }; - - qcom,smem@fa00000 { - compatible = "qcom,smem"; - reg = <0xfa00000 0x100000>, - <0xf9011000 0x1000>, - <0xfc428000 0x4000>; - reg-names = "smem", "irq-reg-base", "aux-mem1"; - - qcom,smd-modem { - compatible = "qcom,smd"; - qcom,smd-edge = <0>; - qcom,smd-irq-offset = <0x8>; - qcom,smd-irq-bitmask = <0x1000>; - qcom,pil-string = "modem"; - interrupts = <0 25 1>; - }; - - qcom,smsm-modem { - compatible = "qcom,smsm"; - qcom,smsm-edge = <0>; - qcom,smsm-irq-offset = <0x8>; - qcom,smsm-irq-bitmask = <0x2000>; - interrupts = <0 26 1>; - }; - - qcom,smd-adsp { - compatible = "qcom,smd"; - qcom,smd-edge = <1>; - qcom,smd-irq-offset = <0x8>; - qcom,smd-irq-bitmask = <0x100>; - qcom,pil-string = "adsp"; - interrupts = <0 156 1>; - }; - - qcom,smsm-adsp { - compatible = "qcom,smsm"; - qcom,smsm-edge = <1>; - qcom,smsm-irq-offset = <0x8>; - qcom,smsm-irq-bitmask = <0x200>; - interrupts = <0 157 1>; - }; - - qcom,smd-wcnss { - compatible = "qcom,smd"; - qcom,smd-edge = <6>; - qcom,smd-irq-offset = <0x8>; - qcom,smd-irq-bitmask = <0x20000>; - qcom,pil-string = "wcnss"; - interrupts = <0 142 1>; - }; - - qcom,smsm-wcnss { - compatible = "qcom,smsm"; - qcom,smsm-edge = <6>; - qcom,smsm-irq-offset = <0x8>; - qcom,smsm-irq-bitmask = <0x80000>; - interrupts = <0 144 1>; - }; - - qcom,smd-rpm { - compatible = "qcom,smd"; - qcom,smd-edge = <15>; - qcom,smd-irq-offset = <0x8>; - qcom,smd-irq-bitmask = <0x1>; - interrupts = <0 168 1>; - qcom,irq-no-suspend; - }; - }; - - rpm_bus: qcom,rpm-smd { - compatible = "qcom,rpm-smd"; - rpm-channel-name = "rpm_requests"; - rpm-channel-type = <15>; /* SMD_APPS_RPM */ - }; - - qcom,bcl { - compatible = "qcom,bcl"; - }; - - sdcc1: qcom,sdcc@f9824000 { - cell-index = <1>; /* SDC1 eMMC slot */ - compatible = "qcom,msm-sdcc"; - - reg = <0xf9824000 0x800>, - <0xf9824800 0x100>, - <0xf9804000 0x7000>; - reg-names = "core_mem", "dml_mem", "bam_mem"; - interrupts = <0 123 0>, <0 137 0>; - interrupt-names = "core_irq", "bam_irq"; - - qcom,bus-width = <8>; - status = "disabled"; - }; - - sdhc_1: sdhci@f9824900 { - compatible = "qcom,sdhci-msm"; - reg = <0xf9824900 0x11c>, <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>; - status = "disabled"; - }; - - sdcc2: qcom,sdcc@f98a4000 { - cell-index = <2>; /* SDC2 SD card slot */ - compatible = "qcom,msm-sdcc"; - - reg = <0xf98a4000 0x800>, - <0xf98a4800 0x100>, - <0xf9884000 0x7000>; - reg-names = "core_mem", "dml_mem", "bam_mem"; - interrupts = <0 125 0>, <0 220 0>; - interrupt-names = "core_irq", "bam_irq"; - - qcom,bus-width = <4>; - 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"; - - qcom,bus-width = <4>; - status = "disabled"; - }; - - spmi_bus: qcom,spmi@fc4c0000 { - cell-index = <0>; - 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-ee = <0>; - qcom,pmic-arb-channel = <0>; - }; - - i2c@f9926000 { /* BLSP-1 QUP-4 */ - cell-index = <0>; - compatible = "qcom,i2c-qup"; - reg = <0xf9926000 0x1000>; - #address-cells = <1>; - #size-cells = <0>; - reg-names = "qup_phys_addr"; - interrupts = <0 98 0>; - interrupt-names = "qup_err_intr"; - qcom,i2c-bus-freq = <100000>; - }; - - i2c@f9927000 { /* BLSP1 QUP5 */ - cell-index = <5>; - compatible = "qcom,i2c-qup"; - #address-cells = <1>; - #size-cells = <0>; - reg-names = "qup_phys_addr"; - reg = <0xf9927000 0x1000>; - interrupt-names = "qup_err_intr"; - interrupts = <0 99 0>; - qcom,i2c-bus-freq = <384000>; - qcom,i2c-src-freq = <19200000>; - }; - - qcom,acpuclk@f9011050 { - compatible = "qcom,acpuclk-a7"; - reg = <0xf9011050 0x8>; - reg-names = "rcg_base"; - a7_cpu-supply = <&apc_vreg_corner>; - }; - - qcom,ocmem@fdd00000 { - compatible = "qcom,msm-ocmem"; - reg = <0xfdd00000 0x2000>, - <0xfdd02000 0x2000>, - <0xfe039000 0x400>, - <0xfec00000 0x20000>; - 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 = <0x1>; - qcom,ocmem-num-macros = <0x2>; - qcom,resource-type = <0x706d636f>; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0x0 0xfec00000 0x20000>; - - partition@0 { - reg = <0x0 0x20000>; - qcom,ocmem-part-name = "graphics"; - qcom,ocmem-part-min = <0x20000>; - }; - }; - - qcom,venus@fdce0000 { - compatible = "qcom,pil-venus"; - reg = <0xfdce0000 0x4000>, - <0xfdc80000 0x400>; - reg-names = "wrapper_base", "vbif_base"; - vdd-supply = <&gdsc_venus>; - - qcom,firmware-name = "venus"; - }; - - qcom,pronto@fb21b000 { - compatible = "qcom,pil-pronto"; - reg = <0xfb21b000 0x3000>, - <0xfc401700 0x4>, - <0xfd485300 0xc>; - reg-names = "pmu_base", "clk_base", "halt_base"; - interrupts = <0 149 1>; - vdd_pronto_pll-supply = <&pm8226_l8>; - - qcom,firmware-name = "wcnss"; - - /* GPIO inputs from wcnss */ - qcom,gpio-err-fatal = <&smp2pgpio_ssr_smp2p_4_in 0 0>; - qcom,gpio-err-ready = <&smp2pgpio_ssr_smp2p_4_in 1 0>; - qcom,gpio-proxy-unvote = <&smp2pgpio_ssr_smp2p_4_in 2 0>; - - /* GPIO output to wcnss */ - qcom,gpio-force-stop = <&smp2pgpio_ssr_smp2p_4_out 0 0>; - }; - - qcom,iris-fm { - compatible = "qcom,iris_fm"; - }; - - qcom,lpass@fe200000 { - compatible = "qcom,pil-q6v5-lpass"; - reg = <0xfe200000 0x00100>, - <0xfd485100 0x00010>, - <0xfc4016c0 0x00004>; - reg-names = "qdsp6_base", "halt_base", "restart_reg"; - vdd_cx-supply = <&pm8226_s1_corner>; - interrupts = <0 162 1>; - - 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>; - - /* GPIO output to lpass */ - qcom,gpio-force-stop = <&smp2pgpio_ssr_smp2p_2_out 0 0>; - }; - - qcom,mss@fc880000 { - compatible = "qcom,pil-q6v5-mss"; - reg = <0xfc880000 0x100>, - <0xfd485000 0x400>, - <0xfc820000 0x020>, - <0xfc401680 0x004>, - <0xfd485194 0x4>; - reg-names = "qdsp6_base", "halt_base", "rmb_base", - "restart_reg", "cxrail_bhs_reg"; - - interrupts = <0 24 1>; - vdd_cx-supply = <&pm8226_s1_corner>; - vdd_mx-supply = <&pm8226_l3>; - vdd_pll-supply = <&pm8226_l8>; - qcom,vdd_pll = <1800000>; - - qcom,is-loadable; - qcom,firmware-name = "mba"; - qcom,pil-self-auth; - - /* 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>; - }; - - qcom,msm-mem-hole { - compatible = "qcom,msm-mem-hole"; - qcom,memblock-remove = <0x6400000 0x9b00000>; /* Address and Size of Hole */ - }; - - tsens: tsens@fc4a8000 { - compatible = "qcom,msm-tsens"; - reg = <0xfc4a8000 0x2000>, - <0xfc4b8000 0x1000>; - reg-names = "tsens_physical", "tsens_eeprom_physical"; - interrupts = <0 184 0>; - qcom,sensors = <4>; - qcom,slope = <2901 2846 3038 2955>; - qcom,calib-mode = "fuse_map2"; - }; - - qcom,msm-thermal { - compatible = "qcom,msm-thermal"; - qcom,sensor-id = <0>; - qcom,poll-ms = <250>; - qcom,limit-temp = <60>; - qcom,temp-hysteresis = <10>; - qcom,freq-step = <2>; - qcom,freq-control-mask = <0xf>; - }; - - spi_0: 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 0xF000>; - interrupt-names = "spi_irq", "spi_bam_irq"; - interrupts = <0 95 0>, <0 238 0>; - spi-max-frequency = <19200000>; - - gpios = <&msmgpio 3 0>, /* CLK */ - <&msmgpio 1 0>, /* MISO */ - <&msmgpio 0 0>; /* MOSI */ - cs-gpios = <&msmgpio 22 0>; - - qcom,infinite-mode = <0>; - qcom,use-bam; - qcom,ver-reg-exists; - qcom,bam-consumer-pipe-index = <12>; - qcom,bam-producer-pipe-index = <13>; - }; - - qcom,bam_dmux@fc834000 { - compatible = "qcom,bam_dmux"; - reg = <0xfc834000 0x7000>; - interrupts = <0 29 1>; - }; - - qcom,msm-rtb { - compatible = "qcom,msm-rtb"; - qcom,memory-reservation-type = "EBI1"; - qcom,memory-reservation-size = <0x100000>; /* 1M EBI1 buffer */ - }; - - qcom,msm-rng@f9bff000 { - compatible = "qcom,msm-rng"; - reg = <0xf9bff000 0x200>; - qcom,msm-rng-iface-clk; - }; - - qcom,tz-log@fe805720 { - compatible = "qcom,tz-log"; - reg = <0x0fe805720 0x1000>; - }; - - jtag_mm0: jtagmm@fc33c000 { - compatible = "qcom,jtag-mm"; - reg = <0xfc33c000 0x1000>, - <0xfc330000 0x1000>; - reg-names = "etm-base","debug-base"; - }; - - jtag_mm1: jtagmm@fc33d000 { - compatible = "qcom,jtag-mm"; - reg = <0xfc33d000 0x1000>, - <0xfc332000 0x1000>; - reg-names = "etm-base","debug-base"; - }; - - jtag_mm2: jtagmm@fc33e000 { - compatible = "qcom,jtag-mm"; - reg = <0xfc33e000 0x1000>, - <0xfc334000 0x1000>; - reg-names = "etm-base","debug-base"; - }; - - jtag_mm3: jtagmm@fc33f000 { - compatible = "qcom,jtag-mm"; - reg = <0xfc33f000 0x1000>, - <0xfc336000 0x1000>; - reg-names = "etm-base","debug-base"; - }; - - qcom,ipc-spinlock@fd484000 { - compatible = "qcom,ipc-spinlock-sfpb"; - reg = <0xfd484000 0x400>; - qcom,num-locks = <8>; - }; - - qcom,qseecom@d980000 { - compatible = "qcom,qseecom"; - reg = <0xd980000 0x256000>; - reg-names = "secapp-region"; - qcom,disk-encrypt-pipe-pair = <2>; - qcom,hlos-ce-hw-instance = <0>; - qcom,qsee-ce-hw-instance = <0>; - qcom,msm-bus,name = "qseecom-noc"; - qcom,msm-bus,num-cases = <4>; - qcom,msm-bus,active-only = <0>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <55 512 0 0>, - <55 512 3936000 393600>, - <55 512 3936000 393600>, - <55 512 3936000 393600>; - }; - - qcom,qcrypto@fd404000 { - compatible = "qcom,qcrypto"; - reg = <0xfd400000 0x20000>, - <0xfd404000 0x8000>; - reg-names = "crypto-base","crypto-bam-base"; - interrupts = <0 207 0>; - qcom,bam-pipe-pair = <2>; - qcom,ce-hw-instance = <0>; - qcom,ce-hw-shared; - qcom,msm-bus,name = "qcrypto-noc"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,active-only = <0>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <55 512 0 0>, - <55 512 3936000 393600>; - }; - - qcom,qcedev@fd400000 { - compatible = "qcom,qcedev"; - reg = <0xfd400000 0x20000>, - <0xfd404000 0x8000>; - reg-names = "crypto-base","crypto-bam-base"; - interrupts = <0 207 0>; - qcom,bam-pipe-pair = <1>; - qcom,ce-hw-instance = <0>; - qcom,ce-hw-shared; - qcom,msm-bus,name = "qcedev-noc"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,active-only = <0>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <55 512 0 0>, - <55 512 3936000 393600>; - }; - - cpu-pmu { - compatible = "arm,cortex-a7-pmu"; - qcom,irq-is-percpu; - interrupts = <1 7 0xf00>; - }; -}; - -&gdsc_venus { - qcom,clock-names = "core_clk"; - status = "ok"; -}; - -&gdsc_mdss { - qcom,clock-names = "core_clk", "lut_clk"; - status = "ok"; -}; - -&gdsc_jpeg { - qcom,clock-names = "core_clk"; - status = "ok"; -}; - -&gdsc_vfe { - qcom,clock-names = "core_clk", "csi_clk", "cpp_clk"; - status = "ok"; -}; - -&gdsc_oxili_cx { - qcom,clock-names = "core_clk"; - status = "ok"; -}; - -&gdsc_usb_hsic { - status = "ok"; -}; - -/include/ "msm-pm8226-rpm-regulator.dtsi" -/include/ "msm-pm8226.dtsi" -/include/ "msm8226-regulator.dtsi" - -&pm8226_vadc { - chan@0 { - label = "usb_in"; - reg = <0>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <4>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@2 { - label = "vchg_sns"; - reg = <2>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <3>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@5 { - label = "vcoin"; - reg = <5>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <1>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@6 { - label = "vbat_sns"; - reg = <6>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <1>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@7 { - label = "vph_pwr"; - reg = <7>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <1>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@30 { - label = "batt_therm"; - reg = <0x30>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <1>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@31 { - label = "batt_id"; - reg = <0x31>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@b2 { - label = "xo_therm_pu2"; - reg = <0xb2>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <4>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@39 { - label = "usb_id_nopull"; - reg = <0x39>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; -}; - -&pm8226_adc_tm { - /* Channel Node */ - chan@30 { - label = "batt_therm"; - reg = <0x30>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <1>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <3>; - qcom,btm-channel-number = <0x48>; - }; - - chan@8 { - label = "die_temp"; - reg = <8>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <3>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <3>; - qcom,btm-channel-number = <0x68>; - }; - - chan@6 { - label = "vbat_sns"; - reg = <6>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <1>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <3>; - qcom,btm-channel-number = <0x70>; - }; - - chan@14 { - label = "pa_therm0"; - reg = <0x14>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - qcom,btm-channel-number = <0x78>; - qcom,thermal-node; - }; - - chan@17 { - label = "pa_therm1"; - reg = <0x17>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - qcom,btm-channel-number = <0x80>; - qcom,thermal-node; - }; -}; - -&pm8226_chg { - status = "ok"; - - qcom,chgr@1000 { - status = "ok"; - }; - - qcom,buck@1100 { - status = "ok"; - }; - - qcom,bat-if@1200 { - status = "ok"; - }; - - qcom,usb-chgpth@1300 { - status = "ok"; - }; - - qcom,boost@1500 { - status = "ok"; - }; - - qcom,chg-misc@1600 { - status = "ok"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8610-bus.dtsi b/kernel/arch/arm/boot/dts/m7300-un-v1/msm8610-bus.dtsi deleted file mode 100755 index d9bb6ab20..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8610-bus.dtsi +++ /dev/null @@ -1,1014 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -&soc { - msm-mmss-noc@fc478000 { - compatible = "msm-bus-fabric"; - reg = <0xfc478000 0x00004000>; - cell-id = <2048>; - label = "msm_mmss_noc"; - qcom,fabclk-dual = "bus_clk"; - qcom,fabclk-active = "bus_a_clk"; - qcom,ntieredslaves = <0>; - qcom,qos-freq = <4800>; - qcom,hw-sel = "NoC"; - qcom,rpm-en; - - coresight-id = <52>; - coresight-name = "coresight-mnoc"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_in0>; - coresight-child-ports = <5>; - - mas-mdp-port0 { - cell-id = <22>; - label = "mas-mdp-port0"; - qcom,masterp = <2>; - qcom,tier = <2>; - qcom,hw-sel = "NoC"; - qcom,perm-mode = "Fixed"; - qcom,mode = "Fixed"; - qcom,qport = <0>; - qcom,ws = <10000>; - qcom,mas-hw-id = <8>; - qcom,prio1 = <2>; - qcom,prio0 = <2>; - }; - - mas-vfe { - cell-id = <29>; - label = "mas-vfe"; - qcom,masterp = <3>; - qcom,tier = <2>; - qcom,hw-sel = "NoC"; - qcom,perm-mode = "Bypass"; - qcom,mode = "Bypass"; - qcom,ws = <10000>; - qcom,qport = <2>; - qcom,mas-hw-id = <11>; - qcom,prio1 = <2>; - qcom,prio0 = <2>; - }; - - mas-mdpe { - cell-id = <92>; - label = "mas-mdpe"; - qcom,masterp = <4>; - qcom,tier = <2>; - qcom,hw-sel = "NoC"; - qcom,perm-mode = "Fixed"; - qcom,mode = "Fixed"; - qcom,ws = <10000>; - qcom,qport = <7>; - qcom,mas-hw-id = <11>; - qcom,prio1 = <2>; - qcom,prio0 = <2>; - }; - - fab-bimc { - cell-id = <0>; - label = "fab-bimc"; - qcom,gateway; - qcom,slavep = <16>; - qcom,buswidth = <8>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <16>; - }; - - slv-camera-cfg { - cell-id = <589>; - label = "slv-camera-cfg"; - qcom,slavep = <0>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <3>; - }; - - slv-display-cfg { - cell-id = <590>; - label = "slv-display-cfg"; - qcom,slavep = <1>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <4>; - }; - - slv-cpr-cfg { - cell-id = <592>; - label = "slv-cpr-cfg"; - qcom,slavep = <3>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <6>; - }; - - slv-cpr-xpu-cfg { - cell-id = <593>; - label = "slv-cpr-xpu-cfg"; - qcom,slavep = <4>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <7>; - }; - - slv-misc-cfg { - cell-id = <594>; - label = "slv-misc-cfg"; - qcom,slavep = <6>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <8>; - }; - - slv-misc-xpu-cfg { - cell-id = <595>; - label = "slv-misc-xpu-cfg"; - qcom,slavep = <7>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <9>; - }; - - slv-gfx3d-cfg { - cell-id = <598>; - label = "slv-gfx3d-cfg"; - qcom,slavep = <9>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <11>; - }; - - slv-mmss-clk-cfg { - cell-id = <599>; - label = "slv-mmss-clk-cfg"; - qcom,slavep = <11>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <12>; - }; - - slv-mmss-clk-xpu-cfg { - cell-id = <600>; - label = "slv-mmss-clk-xpu-cfg"; - qcom,slavep = <12>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <13>; - }; - - slv-mnoc-mpu-cfg { - cell-id = <601>; - label = "slv-mnoc-mpu-cfg"; - qcom,slavep = <13>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <14>; - }; - - slv-onoc-mpu-cfg { - cell-id = <602>; - label = "slv-onoc-mpu-cfg"; - qcom,slavep = <14>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <15>; - }; - - slv-service-mnoc { - cell-id = <603>; - label = "slv-service-mnoc"; - qcom,slavep = <18>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <17>; - }; - - slv-dsi-cfg { - cell-id = <649>; - label = "slv-dsi-cfg"; - qcom,slavep = <19>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <19>; - }; - }; - - msm-sys-noc@fc460000 { - compatible = "msm-bus-fabric"; - reg = <0xfc460000 0x00004000>; - cell-id = <1024>; - label = "msm_sys_noc"; - qcom,fabclk-dual = "bus_clk"; - qcom,fabclk-active = "bus_a_clk"; - qcom,ntieredslaves = <0>; - qcom,qos-freq = <4800>; - qcom,hw-sel = "NoC"; - qcom,rpm-en; - - coresight-id = <50>; - coresight-name = "coresight-snoc"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_in0>; - coresight-child-ports = <3>; - - mas-lpass-ahb { - cell-id = <52>; - label = "mas-lpass-ahb"; - qcom,masterp = <0>; - qcom,tier = <2>; - qcom,mas-hw-id = <18>; - }; - - mas-qdss-bam { - cell-id = <53>; - label = "mas-qdss-bam"; - qcom,masterp = <1>; - qcom,tier = <2>; - qcom,mas-hw-id = <19>; - }; - - mas-snoc-cfg { - cell-id = <54>; - label = "mas-snoc-cfg"; - qcom,masterp = <2>; - qcom,tier = <2>; - qcom,mas-hw-id = <20>; - }; - - fab-bimc { - cell-id = <0>; - label= "fab-bimc"; - qcom,gateway; - qcom,slavep = <7>; - qcom,masterp = <3>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <21>; - qcom,slv-hw-id = <24>; - }; - - fab-cnoc { - cell-id = <5120>; - label = "fab-cnoc"; - qcom,gateway; - qcom,slavep = <8>; - qcom,masterp = <4>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <22>; - qcom,slv-hw-id = <25>; - }; - - fab-pnoc { - cell-id = <4096>; - label = "fab-pnoc"; - qcom,gateway; - qcom,slavep = <10>; - qcom,masterp = <10>; - qcom,buswidth = <8>; - qcom,qport = <8>; - qcom,mas-hw-id = <29>; - qcom,slv-hw-id = <28>; - qcom,mode = "Fixed"; - qcom,prio0 = <2>; - qcom,prio1 = <2>; - }; - - fab-ovnoc { - cell-id = <6144>; - label = "fab-ovnoc"; - qcom,gateway; - qcom,buswidth = <8>; - qcom,mas-hw-id = <53>; - qcom,slv-hw-id = <77>; - }; - - mas-crypto-core0 { - cell-id = <55>; - label = "mas-crypto-core0"; - qcom,masterp = <5>; - qcom,tier = <2>; - qcom,mas-hw-id = <23>; - qcom,hw-sel = "NoC"; - qcom,prio0 = <1>; - qcom,prio1 = <1>; - }; - - mas-mss { - cell-id = <38>; - label = "mas-mss"; - qcom,masterp = <7>; - qcom,tier = <2>; - qcom,mas-hw-id = <26>; - }; - - mas-mss-nav { - cell-id = <57>; - label = "mas-mss-nav"; - qcom,masterp = <8>; - qcom,tier = <2>; - qcom,mas-hw-id = <27>; - }; - - mas-ocmem-dma { - cell-id = <58>; - label = "mas-ocmem-dma"; - qcom,masterp = <9>; - qcom,tier = <2>; - qcom,mode = "Fixed"; - qcom,qport = <7>; - qcom,mas-hw-id = <28>; - }; - - mas-wcss { - cell-id = <59>; - label = "mas-wcss"; - qcom,masterp = <11>; - qcom,tier = <2>; - qcom,mas-hw-id = <30>; - }; - - mas-qdss-etr { - cell-id = <60>; - label = "mas-qdss-etr"; - qcom,masterp = <12>; - qcom,tier = <2>; - qcom,qport = <10>; - qcom,mode = "Fixed"; - qcom,mas-hw-id = <31>; - }; - - slv-ocmem { - cell-id = <604>; - label = "slv-gmem"; - qcom,slavep = <15>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <18>; - }; - - slv-ampss { - cell-id = <520>; - label = "slv-ampss"; - qcom,slavep = <1>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <20>; - }; - - slv-lpass { - cell-id = <522>; - label = "slv-lpass"; - qcom,slavep = <2>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <21>; - }; - - slv-wcss { - cell-id = <584>; - label = "slv-wcss"; - qcom,slavep = <6>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <23>; - }; - - slv-ocimem { - cell-id = <585>; - label = "slv-ocimem"; - qcom,slavep = <10>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <26>; - }; - - slv-service-snoc { - cell-id = <587>; - label = "slv-service-snoc"; - qcom,slavep = <11>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <29>; - }; - - slv-qdss-stm { - cell-id = <588>; - label = "slv-qdss-stm"; - qcom,slavep = <12>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <30>; - }; - - }; - - msm-periph-noc@fc468000 { - compatible = "msm-bus-fabric"; - reg = <0xfc468000 0x00004000>; - cell-id = <4096>; - label = "msm_periph_noc"; - qcom,fabclk-dual = "bus_clk"; - qcom,fabclk-active = "bus_a_clk"; - qcom,ntieredslaves = <0>; - qcom,hw-sel = "NoC"; - qcom,rpm-en; - - coresight-id = <54>; - coresight-name = "coresight-pnoc"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_in0>; - coresight-child-ports = <6>; - - mas-pnoc-cfg { - cell-id = <88>; - label = "mas-pnoc-cfg"; - qcom,masterp = <7>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <43>; - }; - - mas-sdcc-1 { - cell-id = <78>; - label = "mas-sdcc-1"; - qcom,masterp = <0>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <33>; - }; - - mas-sdcc-2 { - cell-id = <81>; - label = "mas-sdcc-2"; - qcom,masterp = <2>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <35>; - }; - - mas-blsp-1 { - cell-id = <86>; - label = "mas-blsp-1"; - qcom,masterp = <5>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <41>; - }; - - mas-usb-hs { - cell-id = <87>; - label = "mas-usb-hs"; - qcom,masterp = <6>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <42>; - }; - - fab-snoc { - cell-id = <1024>; - label = "fab-snoc"; - qcom,gateway; - qcom,slavep = <12>; - qcom,masterp = <8>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <45>; - qcom,mas-hw-id = <44>; - }; - - slv-sdcc-1 { - cell-id = <606>; - label = "slv-sdcc-1"; - qcom,slavep = <0>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <31>; - }; - - slv-sdcc-2 { - cell-id = <608>; - label = "slv-sdcc-2"; - qcom,slavep = <2>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <33>; - }; - - slv-blsp-1 { - cell-id = <613>; - label = "slv-blsp-1"; - qcom,slavep = <5>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <39>; - }; - - slv-usb-hs { - cell-id = <614>; - label = "slv-usb-hs"; - qcom,slavep = <6>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <40>; - }; - - slv-pdm { - cell-id = <615>; - label = "slv-pdm"; - qcom,slavep = <7>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <41>; - }; - - slv-periph-apu-cfg { - cell-id = <616>; - label = "slv-periph-apu-cfg"; - qcom,slavep = <8>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <42>; - }; - - slv-pnoc-mpu-cfg { - cell-id = <617>; - label = "slv-pnoc-mpu-cfg"; - qcom,slavep = <9>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <43>; - }; - - slv-prng { - cell-id = <618>; - label = "slv-prng"; - qcom,slavep = <10>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <44>; - }; - - slv-service-pnoc { - cell-id = <619>; - label = "slv-service-pnoc"; - qcom,slavep = <12>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <46>; - }; - - }; - - msm-config-noc@fc480000 { - compatible = "msm-bus-fabric"; - reg = <0xfc480000 0x00004000>; - cell-id = <5120>; - label = "msm_config_noc"; - qcom,fabclk-dual = "bus_clk"; - qcom,fabclk-active = "bus_a_clk"; - qcom,ntieredslaves = <0>; - qcom,hw-sel = "NoC"; - qcom,rpm-en; - - mas-rpm-inst { - cell-id = <72>; - label = "mas-rpm-inst"; - qcom,masterp = <0>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <45>; - }; - - mas-rpm-data { - cell-id = <73>; - label = "mas-rpm-data"; - qcom,masterp = <1>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <46>; - }; - - mas-rpm-sys { - cell-id = <74>; - label = "mas-rpm-sys"; - qcom,masterp = <2>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <47>; - }; - - mas-dehr { - cell-id = <75>; - label = "mas-dehr"; - qcom,masterp = <3>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <48>; - }; - - mas-qdss-dsp { - cell-id = <76>; - label = "mas-qdss-dap"; - qcom,masterp = <4>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <49>; - }; - - mas-spdm { - cell-id = <36>; - label = "mas-spdm"; - qcom,masterp = <5>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <50>; - }; - - mas-tic { - cell-id = <77>; - label = "mas-tic"; - qcom,masterp = <6>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <51>; - }; - - slv-clk-ctl { - cell-id = <620>; - label = "slv-clk-ctl"; - qcom,slavep = <1>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <47>; - }; - - slv-cnoc-mss { - cell-id = <621>; - label = "slv-cnoc-mss"; - qcom,slavep = <2>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <48>; - }; - - slv-security { - cell-id = <622>; - label = "slv-security"; - qcom,slavep = <3>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <49>; - }; - - slv-tcsr { - cell-id = <623>; - label = "slv-tcsr"; - qcom,slavep = <4>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <50>; - }; - - slv-tlmm { - cell-id = <624>; - label = "slv-tlmm"; - qcom,slavep = <5>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <51>; - }; - - slv-crypto-0-cfg { - cell-id = <625>; - label = "slv-crypto-0-cfg"; - qcom,slavep = <6>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <52>; - }; - - slv-imem-cfg { - cell-id = <627>; - label = "slv-imem-cfg"; - qcom,slavep = <7>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <54>; - }; - - slv-message-ram { - cell-id = <628>; - label = "slv-message-ram"; - qcom,slavep = <8>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <55>; - }; - - slv-bimc-cfg { - cell-id = <629>; - label = "slv-bimc-cfg"; - qcom,slavep = <9>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <56>; - }; - - slv-boot-rom { - cell-id = <630>; - label = "slv-boot-rom"; - qcom,slavep = <10>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <57>; - }; - - slv-pmic-arb { - cell-id = <632>; - label = "slv-pmic-arb"; - qcom,slavep = <12>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <59>; - }; - - slv-spdm-wrapper { - cell-id = <633>; - label = "slv-spdm-wrapper"; - qcom,slavep = <13>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <60>; - }; - - slv-dehr-cfg { - cell-id = <634>; - label = "slv-dehr-cfg"; - qcom,slavep = <14>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <61>; - }; - - slv-mpm { - cell-id = <536>; - label = "slv-mpm"; - qcom,slavep = <15>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <62>; - }; - - slv-qdss-cfg { - cell-id = <635>; - label = "slv-qdss-cfg"; - qcom,slavep = <16>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <63>; - }; - - slv-rbcpr-cfg { - cell-id = <636>; - label = "slv-rbcpr-cfg"; - qcom,slavep = <17>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <64>; - }; - - slv-rbcpr-qdss-apu-cfg { - cell-id = <637>; - label = "slv-rbcpr-qdss-apu-cfg"; - qcom,slavep = <18>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <65>; - }; - - fab-snoc { - cell-id = <1024>; - label = "fab-snoc"; - qcom,gateway; - qcom,slavep = <26>; - qcom,masterp = <7>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <52>; - qcom,slv-hw-id = <75>; - }; - - slv-cnoc-mnoc-mmss-cfg { - cell-id = <631>; - label = "slv-cnoc-mnoc-mmss-cfg"; - qcom,slavep = <11>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <58>; - }; - - slv-cnoc-mnoc-cfg { - cell-id = <640>; - label = "slv-cnoc-mnoc-cfg"; - qcom,slavep = <19>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <66>; - }; - - slv-pnoc-cfg { - cell-id = <641>; - label = "slv-pnoc-cfg"; - qcom,slavep = <21>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <69>; - }; - - slv-snoc-mpu-cfg { - cell-id = <638>; - label = "slv-snoc-mpu-cfg"; - qcom,slavep = <20>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <67>; - }; - - slv-snoc-cfg { - cell-id = <642>; - label = "slv-snoc-cfg"; - qcom,slavep = <22>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <70>; - }; - - slv-phy-apu-cfg { - cell-id = <644>; - label = "slv-phy-apu-cfg"; - qcom,slavep = <23>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <72>; - }; - - slv-ebi1-phy-cfg { - cell-id = <645>; - label = "slv-ebi1-phy-cfg"; - qcom,slavep = <24>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <73>; - }; - - slv-rpm { - cell-id = <534>; - label = "slv-rpm"; - qcom,slavep = <25>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <74>; - }; - - slv-service-cnoc { - cell-id = <646>; - label = "slv-service-cnoc"; - qcom,slavep = <27>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <76>; - }; - - }; - - msm-bimc@0xfc380000 { - compatible = "msm-bus-fabric"; - reg = <0xfc380000 0x0006A000>; - cell-id = <0>; - label = "msm_bimc"; - qcom,fabclk-dual = "mem_clk"; - qcom,fabclk-active = "mem_a_clk"; - qcom,ntieredslaves = <0>; - qcom,qos-freq = <4800>; - qcom,hw-sel = "BIMC"; - qcom,rpm-en; - - coresight-id = <55>; - coresight-name = "coresight-bimc"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_in1>; - coresight-child-ports = <3>; - - mas-ampss-m0 { - cell-id = <1>; - label = "mas-ampss-m0"; - qcom,masterp = <0>; - qcom,tier = <2>; - qcom,hw-sel = "BIMC"; - qcom,mode = "Fixed"; - qcom,qport = <0>; - qcom,ws = <10000>; - qcom,mas-hw-id = <0>; - qcom,prio-rd = <1>; - qcom,prio-wr = <1>; - qcom,prio-lvl = <1>; - }; - - mas-mss-proc { - cell-id = <65>; - label = "mas-mss-proc"; - qcom,masterp = <3>; - qcom,tier = <2>; - qcom,hw-sel = "RPM"; - qcom,mas-hw-id = <1>; - }; - - fab-mmss-noc { - cell-id = <2048>; - label = "fab_mmss_noc"; - qcom,masterp = <1>; - qcom,qport = <1>; - qcom,buswidth = <8>; - qcom,ws = <10000>; - qcom,mas-hw-id = <2>; - qcom,hw-sel = "BIMC"; - qcom,mode = "Bypass"; - }; - - fab-snoc { - cell-id = <1024>; - label = "fab-snoc"; - qcom,gateway; - qcom,slavep = <2>; - qcom,masterp = <2>; - qcom,qport = <2>; - qcom,buswidth = <8>; - qcom,ws = <10000>; - qcom,mas-hw-id = <3>; - qcom,slv-hw-id = <2>; - }; - - mas-lpass-proc { - cell-id = <11>; - label = "mas-lpass-proc"; - qcom,masterp = <4>; - qcom,tier = <2>; - qcom,qport = <4>; - qcom,mas-hw-id = <25>; - qcom,mode = "Fixed"; - qcom,prio0 = <1>; - qcom,prio1 = <1>; - }; - - mas-gfx3d { - cell-id = <26>; - label = "mas-gfx3d"; - qcom,masterp = <5>; - qcom,tier = <2>; - qcom,hw-sel = "BIMC"; - qcom,perm-mode = "Fixed"; - qcom,mode = "Fixed"; - qcom,ws = <10000>; - qcom,qport = <5>; - qcom,mas-hw-id = <6>; - }; - - - slv-ebi-ch0 { - cell-id = <512>; - label = "slv-ebi-ch0"; - qcom,slavep = <0>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <0>; - }; - }; - -}; - - diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8610-camera-sensor-cdp-mtp.dtsi b/kernel/arch/arm/boot/dts/m7300-un-v1/msm8610-camera-sensor-cdp-mtp.dtsi deleted file mode 100755 index d05726006..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8610-camera-sensor-cdp-mtp.dtsi +++ /dev/null @@ -1,116 +0,0 @@ -/* - * Copyright (c) 2013, 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. - */ - -&i2c { - - led_flash0: qcom,led-flash@60 { - cell-index = <0>; - reg = <0x60>; - qcom,slave-id = <0x60 0x00 0x0011>; - compatible = "qcom,led-flash"; - qcom,flash-name = "adp1600"; - qcom,flash-type = <1>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 18 0>, - <&msmgpio 19 0>; - qcom,gpio-flash-en = <0>; - qcom,gpio-flash-now = <1>; - qcom,gpio-req-tbl-num = <0 1>; - qcom,gpio-req-tbl-flags = <0 0>; - qcom,gpio-req-tbl-label = "FLASH_EN", - "FLASH_NOW"; - }; - - actuator0: qcom,actuator@6e { - cell-index = <3>; - reg = <0x6c>; - compatible = "qcom,actuator"; - qcom,cci-master = <0>; - }; - - qcom,camera@6f { - compatible = "qcom,ov8825"; - reg = <0x6f>; - qcom,slave-id = <0x6c 0x300a 0x8825>; - qcom,csiphy-sd-index = <0>; - qcom,csid-sd-index = <0>; - qcom,actuator-src = <&actuator0>; - qcom,led-flash-src = <&led_flash0>; - qcom,mount-angle = <90>; - qcom,sensor-name = "ov8825"; - cam_vdig-supply = <&pm8110_l2>; - cam_vana-supply = <&pm8110_l19>; - cam_vio-supply = <&pm8110_l14>; - cam_vaf-supply = <&pm8110_l16>; - qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana", - "cam_vaf"; - qcom,cam-vreg-type = <0 0 0 0>; - qcom,cam-vreg-min-voltage = <1200000 1800000 2850000 3000000>; - qcom,cam-vreg-max-voltage = <1200000 1800000 2850000 3000000>; - qcom,cam-vreg-op-mode = <200000 8000 80000 100000>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 13 0>, - <&msmgpio 21 0>, - <&msmgpio 20 0>; - qcom,gpio-reset = <1>; - qcom,gpio-standby = <2>; - qcom,gpio-req-tbl-num = <0 1 2>; - qcom,gpio-req-tbl-flags = <1 0 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1", - "CAM_STANDBY"; - qcom,csi-lane-assign = <0xe4>; - qcom,csi-lane-mask = <0x3>; - qcom,sensor-position = <0>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - }; - - qcom,camera@6d { - compatible = "qcom,ov9724"; - reg = <0x6d>; - qcom,slave-id = <0x20 0x0 0x9724>; - qcom,csiphy-sd-index = <1>; - qcom,csid-sd-index = <0>; - qcom,mount-angle = <90>; - qcom,sensor-name = "ov9724"; - cam_vdig-supply = <&pm8110_l4>; - cam_vana-supply = <&pm8110_l19>; - cam_vio-supply = <&pm8110_l14>; - qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana"; - qcom,cam-vreg-type = <0 1 0>; - qcom,cam-vreg-min-voltage = <1200000 0 2850000>; - qcom,cam-vreg-max-voltage = <1200000 0 2850000>; - qcom,cam-vreg-op-mode = <200000 0 80000>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 14 0>, - <&msmgpio 15 0>, - <&msmgpio 8 0>; - qcom,gpio-reset = <1>; - qcom,gpio-standby = <2>; - qcom,gpio-req-tbl-num = <0 1 2>; - qcom,gpio-req-tbl-flags = <1 0 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET", - "CAM_STANDBY"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 4000>; - qcom,csi-lane-assign = <0xe4>; - qcom,csi-lane-mask = <0x1>; - qcom,sensor-position = <1>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - status = "ok"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8610-camera.dtsi b/kernel/arch/arm/boot/dts/m7300-un-v1/msm8610-camera.dtsi deleted file mode 100755 index b1c94dd24..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8610-camera.dtsi +++ /dev/null @@ -1,80 +0,0 @@ -/* - * Copyright (c) 2013, 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. - */ - -&soc{ - qcom,msm-cam@fd8c0000 { - compatible = "qcom,msm-cam"; - reg = <0xfd8C0000 0x10000>; - reg-names = "msm-cam"; - }; - - qcom,csiphy@fda00c00 { - cell-index = <0>; - compatible = "qcom,csiphy"; - reg = <0xfda00c00 0x1f4>; - reg-names = "csiphy"; - interrupts = <0 78 0>; - interrupt-names = "csiphy"; - }; - - qcom,csiphy@fda01000 { - cell-index = <1>; - compatible = "qcom,csiphy"; - reg = <0xfda01000 0x1f4>; - reg-names = "csiphy"; - interrupts = <0 79 0>; - interrupt-names = "csiphy"; - }; - - qcom,csid@fda00000 { - cell-index = <0>; - compatible = "qcom,csid"; - reg = <0xfda00000 0x100>; - reg-names = "csid"; - interrupts = <0 50 0>; - interrupt-names = "csid"; - qcom,csi-vdd-voltage = <1200000>; - qcom,mipi-csi-vdd-supply = <&pm8110_l4>; - }; - - qcom,csid@fda00400 { - cell-index = <1>; - compatible = "qcom,csid"; - reg = <0xfda00400 0x100>; - reg-names = "csid"; - interrupts = <0 51 0>; - interrupt-names = "csid"; - qcom,csi-vdd-voltage = <1200000>; - qcom,mipi-csi-vdd-supply = <&pm8110_l4>; - }; - - qcom,ispif@fda00800 { - cell-index = <0>; - compatible = "qcom,ispif"; - reg = <0xfda00800 0x200>; - reg-names = "ispif"; - interrupts = <0 52 0>; - interrupt-names = "ispif"; - }; - - qcom,vfe@fde00000 { - cell-index = <0>; - compatible = "qcom,vfe32"; - reg = <0xfde00000 0x800>; - reg-names = "vfe", "vfe_vbif"; - interrupts = <0 49 0>; - interrupt-names = "vfe"; - vdd-supply = <&gdsc_vfe>; - }; - -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8610-cdp.dts b/kernel/arch/arm/boot/dts/m7300-un-v1/msm8610-cdp.dts deleted file mode 100755 index bbdc2b8df..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8610-cdp.dts +++ /dev/null @@ -1,396 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; - -/include/ "msm8610.dtsi" -/include/ "dsi-v2-panel-truly-wvga-video.dtsi" -/include/ "msm8610-camera-sensor-cdp-mtp.dtsi" - -/ { - model = "Qualcomm MSM 8610 CDP"; - compatible = "qcom,msm8610-cdp", "qcom,msm8610", "qcom,cdp"; - qcom,msm-id = <147 1 0>, <165 1 0>, <161 1 0>, <162 1 0>, - <163 1 0>, <164 1 0>, <166 1 0>; -}; - -&soc { - serial@f991e000 { - status = "ok"; - }; - - i2c@f9923000{ - atmel_mxt_ts@4a { - compatible = "atmel,mxt-ts"; - reg = <0x4a>; - interrupt-parent = <&msmgpio>; - interrupts = <1 0x2>; - vdd_ana-supply = <&pm8110_l19>; - vcc_i2c-supply = <&pm8110_l14>; - atmel,reset-gpio = <&msmgpio 0 0x00>; - atmel,irq-gpio = <&msmgpio 1 0x00>; - atmel,panel-coords = <0 0 508 880>; - atmel,display-coords = <0 0 480 800>; - atmel,i2c-pull-up; - atmel,no-force-update; - atmel,cfg_1 { - atmel,family-id = <0x81>; - atmel,variant-id = <0x15>; - atmel,version = <0x11>; - atmel,build = <0xaa>; - atmel,config = [ - /* Object 6, Instance = 0 */ - 00 00 00 00 00 00 - /* Object 38, Instance = 0 */ - 1D 01 00 0C 04 0D 00 00 - /* Object 7, Instance = 0 */ - 20 08 32 - /* Object 8, Instance = 0 */ - 19 00 14 14 FF 00 FF 00 00 00 - /* Object 9, Instance = 0 */ - 83 00 00 13 0B 00 20 32 01 03 - 00 32 05 30 0A 05 0A 00 70 03 - FC 01 00 36 2F 2C 00 00 40 00 - 00 0A 00 00 02 - /* Object 18, Instance = 0 */ - 00 00 - /* Object 19, Instance = 0 */ - 00 00 00 00 00 00 - /* Object 25, Instance = 0 */ - 03 00 18 79 A8 61 - /* Object 58, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 - /* Object 42, Instance = 0 */ - 00 00 00 00 00 00 00 00 - /* Object 46, Instance = 0 */ - 04 03 08 10 00 00 00 00 00 - /* Object 47, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - /* Object 48, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 - /* Object 55, Instance = 0 */ - 00 00 00 00 - ]; - }; - }; - }; - - gen-vkeys { - compatible = "qcom,gen-vkeys"; - label = "atmel_mxt_ts"; - qcom,disp-maxx = <480>; - qcom,disp-maxy = <800>; - qcom,panel-maxx = <508>; - qcom,panel-maxy = <880>; - qcom,key-codes = <158 102 139>; - qcom,y-offset = <35>; - }; - - gpio_keys { - compatible = "gpio-keys"; - input-name = "gpio-keys"; - - camera_snapshot { - label = "camera_snapshot"; - gpios = <&msmgpio 73 0x1>; - linux,input-type = <1>; - linux,code = <0x2fe>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - - camera_focus { - label = "camera_focus"; - gpios = <&msmgpio 74 0x1>; - linux,input-type = <1>; - linux,code = <0x210>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - - vol_up { - label = "volume_up"; - gpios = <&msmgpio 72 0x1>; - linux,input-type = <1>; - linux,code = <115>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - }; - - sound { - qcom,audio-routing = - "RX_BIAS", "MCLK", - "INT_LDO_H", "MCLK", - "MIC BIAS External", "Handset Mic", - "MIC BIAS Internal2", "Headset Mic", - "AMIC1", "MIC BIAS External", - "AMIC2", "MIC BIAS Internal2"; - }; -}; - -&i2c_cdc { - msm8x10_wcd_codec@0d{ - compatible = "qcom,msm8x10-wcd-i2c"; - reg = <0x0d>; - cdc-vdda-cp-supply = <&pm8110_s4>; - qcom,cdc-vdda-cp-voltage = <2150000 2150000>; - qcom,cdc-vdda-cp-current = <650000>; - - cdc-vdda-h-supply = <&pm8110_l6>; - qcom,cdc-vdda-h-voltage = <1800000 1800000>; - qcom,cdc-vdda-h-current = <250000>; - - cdc-vdd-px-supply = <&pm8110_l6>; - qcom,cdc-vdd-px-voltage = <1800000 1800000>; - qcom,cdc-vdd-px-current = <10000>; - - cdc-vdd-1p2v-supply = <&pm8110_l4>; - qcom,cdc-vdd-1p2v-voltage = <1200000 1200000>; - qcom,cdc-vdd-1p2v-current = <5000>; - - cdc-vdd-mic-bias-supply = <&pm8110_l20>; - qcom,cdc-vdd-mic-bias-voltage = <3075000 3075000>; - qcom,cdc-vdd-mic-bias-current = <25000>; - - qcom,cdc-micbias-cfilt-sel = <0x0>; - qcom,cdc-micbias-cfilt-mv = <1800000>; - qcom,cdc-mclk-clk-rate = <12288000>; - }; - - msm8x10_wcd_codec@77{ - compatible = "qcom,msm8x10-wcd-i2c"; - reg = <0x77>; - }; - - msm8x10_wcd_codec@66{ - compatible = "qcom,msm8x10-wcd-i2c"; - reg = <0x66>; - }; - - msm8x10_wcd_codec@55{ - compatible = "qcom,msm8x10-wcd-i2c"; - reg = <0x55>; - }; -}; - -&spmi_bus { - qcom,pm8110@0 { - qcom,leds@a100 { - status = "okay"; - qcom,led_mpp_2 { - label = "mpp"; - linux,name = "button-backlight"; - linux-default-trigger = "hr-trigger"; - qcom,default-state = "off"; - qcom,max-current = <40>; - qcom,id = <6>; - qcom,source-sel = <1>; - qcom,mode-ctrl = <0x60>; - qcom,mode = "manual"; - }; - }; - - qcom,leds@a200 { - status = "okay"; - qcom,led_mpp_3 { - label = "mpp"; - linux,name = "wled-backlight"; - linux,default-trigger = "bkl-trigger"; - qcom,default-state = "on"; - qcom,max-current = <40>; - qcom,id = <6>; - qcom,source-sel = <1>; - qcom,mode-ctrl = <0x10>; - qcom,mode = "manual"; - }; - }; - }; -}; - -&spmi_bus { - qcom,pm8110@1 { - qcom,vibrator@c000 { - status = "okay"; - qcom,vib-timeout-ms = <15000>; - qcom,vib-vtg-level-mV = <3100>; - }; - }; -}; - -&sdhc_1 { - vdd-supply = <&pm8110_l17>; - qcom,vdd-always-on; - qcom,vdd-lpm-sup; - qcom,vdd-voltage-level = <2900000 2900000>; - qcom,vdd-current-level = <200 400000>; - - vdd-io-supply = <&pm8110_l6>; - qcom,vdd-io-always-on; - qcom,vdd-io-lpm-sup; - qcom,vdd-io-voltage-level = <1800000 1800000>; - qcom,vdd-io-current-level = <200 60000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - qcom,bus-speed-mode = "HS200_1p8v", "DDR_1p8v"; - qcom,nonremovable; - - status = "ok"; -}; - -&sdhc_2 { - vdd-supply = <&pm8110_l18>; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <15000 400000>; - - vdd-io-supply = <&pm8110_l21>; - qcom,vdd-io-voltage-level = <1800000 2950000>; - qcom,vdd-io-current-level = <200 50000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - - #address-cells = <0>; - interrupt-parent = <&sdhc_2>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 125 0 - 1 &intc 0 221 0 - 2 &msmgpio 42 0x3>; - interrupt-names = "hc_irq", "pwr_irq", "status_irq"; - cd-gpios = <&msmgpio 42 0x1>; - - status = "ok"; -}; - -&pm8110_chg { - status = "ok"; - qcom,charging-disabled; - qcom,use-default-batt-values; - - qcom,chgr@1000 { - status = "ok"; - }; - - qcom,buck@1100 { - status = "ok"; - }; - - qcom,usb-chgpth@1300 { - status = "ok"; - }; - - qcom,chg-misc@1600 { - status = "ok"; - }; -}; - -&pm8110_gpios { - gpio@c000 { /* GPIO 1 */ - }; - - gpio@c100 { /* GPIO 2 */ - }; - - gpio@c200 { /* GPIO 3 */ - }; - - gpio@c300 { /* GPIO 4 */ - }; -}; - -&pm8110_mpps { - mpp@a000 { /* MPP 1 */ - }; - - mpp@a100 { /* MPP 2 */ - status = "disabled"; - }; - - mpp@a200 { /* MPP 3 */ - status = "disabled"; - }; - - mpp@a300 { /* MPP 4 */ - /* PA_THERM config */ - qcom,mode = <4>; /* AIN input */ - qcom,invert = <1>; /* Enable MPP */ - qcom,ain-route = <3>; /* AMUX 8 */ - qcom,master-en = <1>; - qcom,src-sel = <0>; /* Function constant */ - }; -}; - -/* CoreSight */ -&tpiu { - qcom,seta-gpios = <&msmgpio 4 0>, - <&msmgpio 5 0>, - <&msmgpio 6 0>, - <&msmgpio 7 0>, - <&msmgpio 22 0>, - <&msmgpio 23 0>, - <&msmgpio 24 0>, - <&msmgpio 25 0>, - <&msmgpio 26 0>, - <&msmgpio 27 0>, - <&msmgpio 28 0>, - <&msmgpio 29 0>, - <&msmgpio 30 0>, - <&msmgpio 31 0>, - <&msmgpio 94 0>, - <&msmgpio 95 0>, - <&msmgpio 96 0>, - <&msmgpio 97 0>; - qcom,seta-gpios-func = <9 9 8 11 2 2 2 2 2 2 3 2 3 3 4 4 4 4>; - qcom,seta-gpios-drv = <7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7>; - qcom,seta-gpios-pull = <0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0>; - qcom,seta-gpios-dir = <2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2>; - - qcom,setb-gpios = <&msmgpio 8 0>, - <&msmgpio 10 0>, - <&msmgpio 11 0>, - <&msmgpio 13 0>, - <&msmgpio 14 0>, - <&msmgpio 15 0>, - <&msmgpio 16 0>, - <&msmgpio 17 0>, - <&msmgpio 18 0>, - <&msmgpio 19 0>, - <&msmgpio 20 0>, - <&msmgpio 21 0>, - <&msmgpio 42 0>, - <&msmgpio 80 0>, - <&msmgpio 81 0>, - <&msmgpio 82 0>, - <&msmgpio 83 0>, - <&msmgpio 84 0>; - qcom,setb-gpios-func = <10 8 8 6 9 9 9 9 9 9 9 9 5 7 7 8 8 8>; - qcom,setb-gpios-drv = <7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7>; - qcom,setb-gpios-pull = <0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0>; - qcom,setb-gpios-dir = <2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2>; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8610-coresight.dtsi b/kernel/arch/arm/boot/dts/m7300-un-v1/msm8610-coresight.dtsi deleted file mode 100755 index 516522eb0..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8610-coresight.dtsi +++ /dev/null @@ -1,357 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -&soc { - tmc_etr: tmc@fc326000 { - compatible = "arm,coresight-tmc"; - reg = <0xfc326000 0x1000>, - <0xfc37c000 0x3000>; - reg-names = "tmc-base", "bam-base"; - - qcom,memory-reservation-type = "EBI1"; - qcom,memory-reservation-size = <0x100000>; /* 1M EBI1 buffer */ - - coresight-id = <0>; - coresight-name = "coresight-tmc-etr"; - coresight-nr-inports = <1>; - coresight-ctis = <&cti0 &cti8>; - }; - - tpiu: tpiu@fc320000 { - compatible = "arm,coresight-tpiu"; - reg = <0xfc320000 0x1000>; - reg-names = "tpiu-base"; - - coresight-id = <1>; - coresight-name = "coresight-tpiu"; - coresight-nr-inports = <1>; - - vdd-supply = <&pm8110_l18>; - - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <15000 400000>; - }; - - replicator: replicator@fc324000 { - compatible = "qcom,coresight-replicator"; - reg = <0xfc324000 0x1000>; - reg-names = "replicator-base"; - - coresight-id = <2>; - coresight-name = "coresight-replicator"; - coresight-nr-inports = <1>; - coresight-outports = <0 1>; - coresight-child-list = <&tmc_etr &tpiu>; - coresight-child-ports = <0 0>; - }; - - tmc_etf: tmc@fc325000 { - compatible = "arm,coresight-tmc"; - reg = <0xfc325000 0x1000>; - reg-names = "tmc-base"; - - coresight-id = <3>; - coresight-name = "coresight-tmc-etf"; - coresight-nr-inports = <1>; - coresight-outports = <0>; - coresight-child-list = <&replicator>; - coresight-child-ports = <0>; - coresight-default-sink; - coresight-ctis = <&cti0 &cti8>; - }; - - funnel_merg: funnel@fc323000 { - compatible = "arm,coresight-funnel"; - reg = <0xfc323000 0x1000>; - reg-names = "funnel-base"; - - coresight-id = <4>; - coresight-name = "coresight-funnel-merg"; - coresight-nr-inports = <2>; - coresight-outports = <0>; - coresight-child-list = <&tmc_etf>; - coresight-child-ports = <0>; - }; - - funnel_in0: funnel@fc321000 { - compatible = "arm,coresight-funnel"; - reg = <0xfc321000 0x1000>; - reg-names = "funnel-base"; - - coresight-id = <5>; - coresight-name = "coresight-funnel-in0"; - coresight-nr-inports = <8>; - coresight-outports = <0>; - coresight-child-list = <&funnel_merg>; - coresight-child-ports = <0>; - }; - - funnel_in1: funnel@fc322000 { - compatible = "arm,coresight-funnel"; - reg = <0xfc322000 0x1000>; - reg-names = "funnel-base"; - - coresight-id = <6>; - coresight-name = "coresight-funnel-in1"; - coresight-nr-inports = <8>; - coresight-outports = <0>; - coresight-child-list = <&funnel_merg>; - coresight-child-ports = <1>; - }; - - funnel_a7ss: funnel@fc355000 { - compatible = "arm,coresight-funnel"; - reg = <0xfc355000 0x1000>; - reg-names = "funnel-base"; - - coresight-id = <7>; - coresight-name = "coresight-funnel-a7ss"; - coresight-nr-inports = <4>; - coresight-outports = <0>; - coresight-child-list = <&funnel_in1>; - coresight-child-ports = <6>; - }; - - stm: stm@fc302000 { - compatible = "arm,coresight-stm"; - reg = <0xfc302000 0x1000>, - <0xfa280000 0x180000>; - reg-names = "stm-base", "stm-data-base"; - - coresight-id = <8>; - coresight-name = "coresight-stm"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_in0>; - coresight-child-ports = <7>; - }; - - etm0: etm@fc34c000 { - compatible = "arm,coresight-etm"; - reg = <0xfc34c000 0x1000>; - reg-names = "etm-base"; - - coresight-id = <9>; - coresight-name = "coresight-etm0"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_a7ss>; - coresight-child-ports = <0>; - - qcom,pc-save; - qcom,round-robin; - }; - - etm1: etm@fc34d000 { - compatible = "arm,coresight-etm"; - reg = <0xfc34d000 0x1000>; - reg-names = "etm-base"; - - coresight-id = <10>; - coresight-name = "coresight-etm1"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_a7ss>; - coresight-child-ports = <1>; - - qcom,pc-save; - qcom,round-robin; - }; - - etm2: etm@fc34e000 { - compatible = "arm,coresight-etm"; - reg = <0xfc34e000 0x1000>; - reg-names = "etm-base"; - - coresight-id = <11>; - coresight-name = "coresight-etm2"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_a7ss>; - coresight-child-ports = <2>; - - qcom,pc-save; - qcom,round-robin; - }; - - etm3: etm@fc34f000 { - compatible = "arm,coresight-etm"; - reg = <0xfc34f000 0x1000>; - reg-names = "etm-base"; - - coresight-id = <12>; - coresight-name = "coresight-etm3"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_a7ss>; - coresight-child-ports = <3>; - - qcom,pc-save; - qcom,round-robin; - }; - - csr: csr@fc301000 { - compatible = "qcom,coresight-csr"; - reg = <0xfc301000 0x1000>; - reg-names = "csr-base"; - - coresight-id = <13>; - coresight-name = "coresight-csr"; - coresight-nr-inports = <0>; - - qcom,blk-size = <1>; - }; - - cti0: cti@fc310000 { - compatible = "arm,coresight-cti"; - reg = <0xfc310000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <14>; - coresight-name = "coresight-cti0"; - coresight-nr-inports = <0>; - }; - - cti1: cti@fc311000 { - compatible = "arm,coresight-cti"; - reg = <0xfc311000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <15>; - coresight-name = "coresight-cti1"; - coresight-nr-inports = <0>; - }; - - cti2: cti@fc312000 { - compatible = "arm,coresight-cti"; - reg = <0xfc312000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <16>; - coresight-name = "coresight-cti2"; - coresight-nr-inports = <0>; - }; - - cti3: cti@fc313000 { - compatible = "arm,coresight-cti"; - reg = <0xfc313000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <17>; - coresight-name = "coresight-cti3"; - coresight-nr-inports = <0>; - }; - - cti4: cti@fc314000 { - compatible = "arm,coresight-cti"; - reg = <0xfc314000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <18>; - coresight-name = "coresight-cti4"; - coresight-nr-inports = <0>; - }; - - cti5: cti@fc315000 { - compatible = "arm,coresight-cti"; - reg = <0xfc315000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <19>; - coresight-name = "coresight-cti5"; - coresight-nr-inports = <0>; - }; - - cti6: cti@fc316000 { - compatible = "arm,coresight-cti"; - reg = <0xfc316000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <20>; - coresight-name = "coresight-cti6"; - coresight-nr-inports = <0>; - }; - - cti7: cti@fc317000 { - compatible = "arm,coresight-cti"; - reg = <0xfc317000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <21>; - coresight-name = "coresight-cti7"; - coresight-nr-inports = <0>; - }; - - cti8: cti@fc318000 { - compatible = "arm,coresight-cti"; - reg = <0xfc318000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <22>; - coresight-name = "coresight-cti8"; - coresight-nr-inports = <0>; - }; - - cti_cpu0: cti@fc351000 { - compatible = "arm,coresight-cti"; - reg = <0xfc351000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <23>; - coresight-name = "coresight-cti-cpu0"; - coresight-nr-inports = <0>; - }; - - cti_cpu1: cti@fc352000 { - compatible = "arm,coresight-cti"; - reg = <0xfc352000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <24>; - coresight-name = "coresight-cti-cpu1"; - coresight-nr-inports = <0>; - }; - - cti_cpu2: cti@fc353000 { - compatible = "arm,coresight-cti"; - reg = <0xfc353000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <25>; - coresight-name = "coresight-cti-cpu2"; - coresight-nr-inports = <0>; - }; - - cti_cpu3: cti@fc354000 { - compatible = "arm,coresight-cti"; - reg = <0xfc354000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <26>; - coresight-name = "coresight-cti-cpu3"; - coresight-nr-inports = <0>; - }; - - hwevent: hwevent@fd820018 { - compatible = "qcom,coresight-hwevent"; - reg = <0xfd820018 0x80>, - <0xf9011080 0x80>, - <0xfd4ab160 0x80>; - reg-names = "mmss-mux", "apcs-mux", "ppss-mux"; - - coresight-id = <27>; - coresight-name = "coresight-hwevent"; - coresight-nr-inports = <0>; - - qcom,hwevent-clks = "core_mmss_clk"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8610-gpu.dtsi b/kernel/arch/arm/boot/dts/m7300-un-v1/msm8610-gpu.dtsi deleted file mode 100755 index 7e3ee0dcb..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8610-gpu.dtsi +++ /dev/null @@ -1,167 +0,0 @@ -/* Copyright (c) 2013, 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. - */ -&soc { - msm_gpu: qcom,kgsl-3d0@fdc00000 { - label = "kgsl-3d0"; - compatible = "qcom,kgsl-3d0", "qcom,kgsl-3d"; - reg = <0xfdc00000 0x10000 - 0xfdc10000 0x10000>; - reg-names = "kgsl_3d0_reg_memory", "kgsl_3d0_shader_memory"; - interrupts = <0 33 0>; - interrupt-names = "kgsl_3d0_irq"; - qcom,id = <0>; - - qcom,chipid = <0x03000520>; - - qcom,initial-pwrlevel = <1>; - - qcom,idle-timeout = <8>; /* */ - qcom,strtstp-sleepwake; - qcom,clk-map = <0x000005E>; /* KGSL_CLK_CORE | - KGSL_CLK_IFACE | KGSL_CLK_MEM | KGSL_CLK_MEM_IFACE | - KGSL_CLK_ALT_MEM_IFACE */ - - /* Bus Scale Settings */ - qcom,msm-bus,name = "grp3d"; - qcom,msm-bus,num-cases = <4>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <26 512 0 0>, - <26 512 0 800000>, - <26 512 0 1600000>, - <26 512 0 2128000>; - - /* GDSC oxili regulators */ - vdd-supply = <&gdsc_oxili_cx>; - - /* IOMMU Data */ - iommu = <&gfx_iommu>; - - /* Power levels */ - qcom,gpu-pwrlevels { - #address-cells = <1>; - #size-cells = <0>; - - compatible = "qcom,gpu-pwrlevels"; - - qcom,gpu-pwrlevel@0 { - reg = <0>; - qcom,gpu-freq = <400000000>; - qcom,bus-freq = <3>; - qcom,io-fraction = <0>; - }; - - qcom,gpu-pwrlevel@1 { - reg = <1>; - qcom,gpu-freq = <300000000>; - qcom,bus-freq = <2>; - qcom,io-fraction = <33>; - }; - - qcom,gpu-pwrlevel@2 { - reg = <2>; - qcom,gpu-freq = <200000000>; - qcom,bus-freq = <2>; - qcom,io-fraction = <33>; - }; - - qcom,gpu-pwrlevel@3 { - reg = <3>; - qcom,gpu-freq = <150000000>; - qcom,bus-freq = <1>; - qcom,io-fraction = <100>; - }; - - qcom,gpu-pwrlevel@4 { - reg = <4>; - qcom,gpu-freq = <27000000>; - qcom,bus-freq = <0>; - qcom,io-fraction = <0>; - }; - }; - - /* DVCS Info */ - qcom,dcvs-core-info { - #address-cells = <1>; - #size-cells = <0>; - - compatible = "qcom,dcvs-core-info"; - - qcom,num-cores = <1>; - qcom,sensors = <0>; - - qcom,core-core-type = <1>; - - qcom,algo-disable-pc-threshold = <0>; - qcom,algo-em-win-size-min-us = <100000>; - qcom,algo-em-win-size-max-us = <300000>; - qcom,algo-em-max-util-pct = <97>; - qcom,algo-group-id = <95>; - qcom,algo-max-freq-chg-time-us = <100000>; - qcom,algo-slack-mode-dynamic = <100000>; - qcom,algo-slack-weight-thresh-pct = <0>; - qcom,algo-slack-time-min-us = <39000>; - qcom,algo-slack-time-max-us = <39000>; - qcom,algo-ss-win-size-min-us = <1000000>; - qcom,algo-ss-win-size-max-us = <1000000>; - qcom,algo-ss-util-pct = <95>; - qcom,algo-ss-no-corr-below-freq = <0>; - - qcom,energy-active-coeff-a = <2492>; - qcom,energy-active-coeff-b = <0>; - qcom,energy-active-coeff-c = <0>; - qcom,energy-leakage-coeff-a = <11>; - qcom,energy-leakage-coeff-b = <157150>; - qcom,energy-leakage-coeff-c = <0>; - qcom,energy-leakage-coeff-d = <0>; - - qcom,power-current-temp = <25>; - qcom,power-num-freq = <4>; - - qcom,dcvs-freq@0 { - reg = <0>; - qcom,freq = <0>; - qcom,voltage = <0>; - qcom,is_trans_level = <0>; - qcom,active-energy-offset = <100>; - qcom,leakage-energy-offset = <0>; - }; - - qcom,dcvs-freq@1 { - reg = <1>; - qcom,freq = <0>; - qcom,voltage = <0>; - qcom,is_trans_level = <0>; - qcom,active-energy-offset = <100>; - qcom,leakage-energy-offset = <0>; - }; - - qcom,dcvs-freq@2 { - reg = <2>; - qcom,freq = <0>; - qcom,voltage = <0>; - qcom,is_trans_level = <0>; - qcom,active-energy-offset = <100>; - qcom,leakage-energy-offset = <0>; - }; - - qcom,dcvs-freq@3 { - reg = <3>; - qcom,freq = <0>; - qcom,voltage = <0>; - qcom,is_trans_level = <0>; - qcom,active-energy-offset = <844545>; - qcom,leakage-energy-offset = <0>; - }; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8610-iommu-domains.dtsi b/kernel/arch/arm/boot/dts/m7300-un-v1/msm8610-iommu-domains.dtsi deleted file mode 100755 index 6f438972d..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8610-iommu-domains.dtsi +++ /dev/null @@ -1,36 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&soc { - qcom,iommu-domains { - compatible = "qcom,iommu-domains"; - - qcom,iommu-domain1 { - label = "lpass_secure"; - qcom,iommu-contexts = <&lpass_q6_fw>; - qcom,virtual-addr-pool = <0x00000000 0x0FFFFFFF - 0xF0000000 0x0FFFFFFF>; - }; - - qcom,iommu-domain2 { - label = "lpass_audio"; - qcom,iommu-contexts = <&lpass_audio_shared>; - qcom,virtual-addr-pool = <0x10000000 0x0FFFFFFF>; - }; - - q6_domain_ns:qcom,iommu-domain3 { - label = "lpass_video"; - qcom,iommu-contexts = <&lpass_video_shared>; - qcom,virtual-addr-pool = <0x20000000 0x0FFFFFFF>; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8610-ion.dtsi b/kernel/arch/arm/boot/dts/m7300-un-v1/msm8610-ion.dtsi deleted file mode 100755 index 456b60ced..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8610-ion.dtsi +++ /dev/null @@ -1,38 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&soc { - qcom,ion { - compatible = "qcom,msm-ion"; - #address-cells = <1>; - #size-cells = <0>; - - qcom,ion-heap@30 { /* SYSTEM HEAP */ - reg = <30>; - }; - - qcom,ion-heap@21 { /* SYSTEM CONTIG HEAP */ - reg = <21>; - }; - - qcom,ion-heap@25 { /* IOMMU HEAP */ - reg = <25>; - }; - - qcom,ion-heap@27 { /* QSECOM HEAP */ - compatible = "qcom,msm-ion-reserve"; - reg = <27>; - linux,contiguous-region = <&qsecom_mem>; - }; - }; -}; - diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8610-mdss.dtsi b/kernel/arch/arm/boot/dts/m7300-un-v1/msm8610-mdss.dtsi deleted file mode 100755 index af0e3e4e3..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8610-mdss.dtsi +++ /dev/null @@ -1,37 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&soc { - qcom,mdss_mdp@fd900000 { - compatible = "qcom,mdss_mdp3"; - reg = <0xfd900000 0x100000>; - reg-names = "mdp_phys"; - interrupts = <0 72 0>; - - mdss_fb0: qcom,mdss_fb_primary { - cell-index = <0>; - compatible = "qcom,mdss-fb"; - qcom,memory-reservation-type = "EBI1"; - qcom,memory-reservation-size = <0x300000>; - }; - }; - - mdss_dsi0: qcom,mdss_dsi@fdd00000 { - compatible = "qcom,msm-dsi-v2"; - label = "MDSS DSI CTRL->0"; - cell-index = <0>; - reg = <0xfdd00000 0x100000>; - interrupts = <0 30 0>; - vdda-supply = <&pm8110_l4>; - qcom,mdss-fb-map = <&mdss_fb0>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8610-mtp.dts b/kernel/arch/arm/boot/dts/m7300-un-v1/msm8610-mtp.dts deleted file mode 100755 index 9406a0911..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8610-mtp.dts +++ /dev/null @@ -1,354 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; - -/include/ "msm8610.dtsi" -/include/ "dsi-v2-panel-truly-wvga-video.dtsi" -/include/ "msm8610-camera-sensor-cdp-mtp.dtsi" - -/ { - model = "Qualcomm MSM 8610 MTP"; - compatible = "qcom,msm8610-mtp", "qcom,msm8610", "qcom,mtp"; - qcom,msm-id = <147 8 0>, <165 8 0>, <161 8 0>, <162 8 0>, - <163 8 0>, <164 8 0>, <166 8 0>; -}; - -&soc { - serial@f991e000 { - status = "ok"; - }; - - i2c@f9923000{ - atmel_mxt_ts@4a { - compatible = "atmel,mxt-ts"; - reg = <0x4a>; - interrupt-parent = <&msmgpio>; - interrupts = <1 0x2>; - vdd_ana-supply = <&pm8110_l19>; - vcc_i2c-supply = <&pm8110_l14>; - atmel,reset-gpio = <&msmgpio 0 0x00>; - atmel,irq-gpio = <&msmgpio 1 0x00>; - atmel,panel-coords = <0 0 508 880>; - atmel,display-coords = <0 0 480 800>; - atmel,i2c-pull-up; - atmel,no-force-update; - atmel,cfg_1 { - atmel,family-id = <0x81>; - atmel,variant-id = <0x15>; - atmel,version = <0x11>; - atmel,build = <0xaa>; - atmel,config = [ - /* Object 6, Instance = 0 */ - 00 00 00 00 00 00 - /* Object 38, Instance = 0 */ - 1D 01 00 0C 04 0D 00 00 - /* Object 7, Instance = 0 */ - 20 08 32 - /* Object 8, Instance = 0 */ - 19 00 14 14 FF 00 FF 00 00 00 - /* Object 9, Instance = 0 */ - 83 00 00 13 0B 00 20 32 01 03 - 00 32 05 30 0A 05 0A 00 70 03 - FC 01 00 36 2F 2C 00 00 40 00 - 00 0A 00 00 02 - /* Object 18, Instance = 0 */ - 00 00 - /* Object 19, Instance = 0 */ - 00 00 00 00 00 00 - /* Object 25, Instance = 0 */ - 03 00 18 79 A8 61 - /* Object 58, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 - /* Object 42, Instance = 0 */ - 00 00 00 00 00 00 00 00 - /* Object 46, Instance = 0 */ - 04 03 08 10 00 00 00 00 00 - /* Object 47, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - /* Object 48, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 - /* Object 55, Instance = 0 */ - 00 00 00 00 - ]; - }; - }; - }; - - gen-vkeys { - compatible = "qcom,gen-vkeys"; - label = "atmel_mxt_ts"; - qcom,disp-maxx = <480>; - qcom,disp-maxy = <800>; - qcom,panel-maxx = <508>; - qcom,panel-maxy = <880>; - qcom,key-codes = <158 102 139>; - qcom,y-offset = <35>; - }; - - gpio_keys { - compatible = "gpio-keys"; - input-name = "gpio-keys"; - - camera_snapshot { - label = "camera_snapshot"; - gpios = <&msmgpio 73 0x1>; - linux,input-type = <1>; - linux,code = <0x2fe>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - - camera_focus { - label = "camera_focus"; - gpios = <&msmgpio 74 0x1>; - linux,input-type = <1>; - linux,code = <0x210>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - - vol_up { - label = "volume_up"; - gpios = <&msmgpio 72 0x1>; - linux,input-type = <1>; - linux,code = <115>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - }; - - sound { - qcom,audio-routing = - "RX_BIAS", "MCLK", - "INT_LDO_H", "MCLK", - "MIC BIAS External", "Handset Mic", - "MIC BIAS Internal2", "Headset Mic", - "AMIC1", "MIC BIAS External", - "AMIC2", "MIC BIAS Internal2"; - }; -}; - -&i2c_cdc { - msm8x10_wcd_codec@0d{ - compatible = "qcom,msm8x10-wcd-i2c"; - reg = <0x0d>; - cdc-vdda-cp-supply = <&pm8110_s4>; - qcom,cdc-vdda-cp-voltage = <2150000 2150000>; - qcom,cdc-vdda-cp-current = <650000>; - - cdc-vdda-h-supply = <&pm8110_l6>; - qcom,cdc-vdda-h-voltage = <1800000 1800000>; - qcom,cdc-vdda-h-current = <250000>; - - cdc-vdd-px-supply = <&pm8110_l6>; - qcom,cdc-vdd-px-voltage = <1800000 1800000>; - qcom,cdc-vdd-px-current = <10000>; - - cdc-vdd-1p2v-supply = <&pm8110_l4>; - qcom,cdc-vdd-1p2v-voltage = <1200000 1200000>; - qcom,cdc-vdd-1p2v-current = <5000>; - - cdc-vdd-mic-bias-supply = <&pm8110_l20>; - qcom,cdc-vdd-mic-bias-voltage = <3075000 3075000>; - qcom,cdc-vdd-mic-bias-current = <25000>; - - qcom,cdc-micbias-cfilt-sel = <0x0>; - qcom,cdc-micbias-cfilt-mv = <1800000>; - qcom,cdc-mclk-clk-rate = <12288000>; - }; - - msm8x10_wcd_codec@77{ - compatible = "qcom,msm8x10-wcd-i2c"; - reg = <0x77>; - }; - - msm8x10_wcd_codec@66{ - compatible = "qcom,msm8x10-wcd-i2c"; - reg = <0x66>; - }; - - msm8x10_wcd_codec@55{ - compatible = "qcom,msm8x10-wcd-i2c"; - reg = <0x55>; - }; -}; - -&spmi_bus { - qcom,pm8110@0 { - qcom,leds@a100 { - status = "okay"; - qcom,led_mpp_2 { - label = "mpp"; - linux,name = "button-backlight"; - linux-default-trigger = "hr-trigger"; - qcom,default-state = "off"; - qcom,max-current = <40>; - qcom,id = <6>; - qcom,source-sel = <1>; - qcom,mode-ctrl = <0x60>; - qcom,mode = "manual"; - }; - }; - - qcom,leds@a200 { - status = "okay"; - qcom,led_mpp_3 { - label = "mpp"; - linux,name = "wled-backlight"; - linux,default-trigger = "bkl-trigger"; - qcom,default-state = "on"; - qcom,max-current = <40>; - qcom,id = <6>; - qcom,source-sel = <1>; - qcom,mode-ctrl = <0x10>; - qcom,mode = "manual"; - }; - }; - }; -}; - -&spmi_bus { - qcom,pm8110@1 { - qcom,vibrator@c000 { - status = "okay"; - qcom,vib-timeout-ms = <15000>; - qcom,vib-vtg-level-mV = <3100>; - }; - }; -}; - -&sdhc_1 { - vdd-supply = <&pm8110_l17>; - qcom,vdd-always-on; - qcom,vdd-lpm-sup; - qcom,vdd-voltage-level = <2900000 2900000>; - qcom,vdd-current-level = <200 400000>; - - vdd-io-supply = <&pm8110_l6>; - qcom,vdd-io-always-on; - qcom,vdd-io-lpm-sup; - qcom,vdd-io-voltage-level = <1800000 1800000>; - qcom,vdd-io-current-level = <200 60000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - qcom,bus-speed-mode = "HS200_1p8v", "DDR_1p8v"; - qcom,nonremovable; - - status = "ok"; -}; - -&sdhc_2 { - vdd-supply = <&pm8110_l18>; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <15000 400000>; - - vdd-io-supply = <&pm8110_l21>; - qcom,vdd-io-voltage-level = <1800000 2950000>; - qcom,vdd-io-current-level = <200 50000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - - #address-cells = <0>; - interrupt-parent = <&sdhc_2>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 125 0 - 1 &intc 0 221 0 - 2 &msmgpio 42 0x3>; - interrupt-names = "hc_irq", "pwr_irq", "status_irq"; - cd-gpios = <&msmgpio 42 0x1>; - - status = "ok"; -}; - -&pm8110_chg { - status = "ok"; - qcom,charging-disabled; - - qcom,chgr@1000 { - status = "ok"; - }; - - qcom,buck@1100 { - status = "ok"; - }; - - qcom,bat-if@1200 { - status = "ok"; - }; - - qcom,usb-chgpth@1300 { - status = "ok"; - }; - - qcom,chg-misc@1600 { - status = "ok"; - }; -}; - -&pm8110_gpios { - gpio@c000 { /* GPIO 1 */ - }; - - gpio@c100 { /* GPIO 2 */ - }; - - gpio@c200 { /* GPIO 3 */ - }; - - gpio@c300 { /* GPIO 4 */ - }; -}; - -&pm8110_mpps { - mpp@a000 { /* MPP 1 */ - }; - - mpp@a100 { /* MPP 2 */ - status = "disabled"; - }; - - mpp@a200 { /* MPP 3 */ - status = "disabled"; - }; - - mpp@a300 { /* MPP 4 */ - /* PA_THERM config */ - qcom,mode = <4>; /* AIN input */ - qcom,invert = <1>; /* Enable MPP */ - qcom,ain-route = <3>; /* AMUX 8 */ - qcom,master-en = <1>; - qcom,src-sel = <0>; /* Function constant */ - }; -}; - -&pm8110_bms { - status = "ok"; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8610-pm.dtsi b/kernel/arch/arm/boot/dts/m7300-un-v1/msm8610-pm.dtsi deleted file mode 100755 index 938b2aa2a..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8610-pm.dtsi +++ /dev/null @@ -1,391 +0,0 @@ -/* Copyright (c) 2013 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. - */ - -/include/ "skeleton.dtsi" - -&soc { - qcom,spm@f9089000 { - compatible = "qcom,spm-v2"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xf9089000 0x1000>; - qcom,core-id = <0>; - qcom,saw2-ver-reg = <0xfd0>; - qcom,saw2-cfg = <0x01>; - qcom,saw2-spm-dly= <0x3c102800>; - qcom,saw2-spm-ctl = <0x0>; - qcom,saw2-spm-cmd-wfi = [60 03 60 0b 0f]; - qcom,saw2-spm-cmd-spc = [00 20 10 80 30 90 5b 60 03 60 3b 76 76 - 0b 94 5b 80 10 06 26 30 0f]; - qcom,saw2-spm-cmd-pc = [00 20 10 80 30 90 5b 60 07 60 3b 76 76 - 0b 94 5b 80 10 06 26 30 0f]; - }; - - qcom,spm@f9099000 { - compatible = "qcom,spm-v2"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xf9099000 0x1000>; - qcom,core-id = <1>; - qcom,saw2-ver-reg = <0xfd0>; - qcom,saw2-cfg = <0x01>; - qcom,saw2-spm-dly= <0x3c102800>; - qcom,saw2-spm-ctl = <0x0>; - qcom,saw2-spm-cmd-wfi = [60 03 60 0b 0f]; - qcom,saw2-spm-cmd-spc = [00 20 10 80 30 90 5b 60 03 60 3b 76 76 - 0b 94 5b 80 10 06 26 30 0f]; - qcom,saw2-spm-cmd-pc = [00 20 10 80 30 90 5b 60 07 60 3b 76 76 - 0b 94 5b 80 10 06 26 30 0f]; - }; - - qcom,spm@f90a9000 { - compatible = "qcom,spm-v2"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xf90a9000 0x1000>; - qcom,core-id = <2>; - qcom,saw2-ver-reg = <0xfd0>; - qcom,saw2-cfg = <0x01>; - qcom,saw2-spm-dly= <0x3c102800>; - qcom,saw2-spm-ctl = <0x0>; - qcom,saw2-spm-cmd-wfi = [60 03 60 0b 0f]; - qcom,saw2-spm-cmd-spc = [00 20 10 80 30 90 5b 60 03 60 3b 76 76 - 0b 94 5b 80 10 06 26 30 0f]; - qcom,saw2-spm-cmd-pc = [00 20 10 80 30 90 5b 60 07 60 3b 76 76 - 0b 94 5b 80 10 06 26 30 0f]; - }; - - qcom,spm@f90b9000 { - compatible = "qcom,spm-v2"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xf90b9000 0x1000>; - qcom,core-id = <3>; - qcom,saw2-ver-reg = <0xfd0>; - qcom,saw2-cfg = <0x01>; - qcom,saw2-spm-dly= <0x3c102800>; - qcom,saw2-spm-ctl = <0x0>; - qcom,saw2-spm-cmd-wfi = [60 03 60 0b 0f]; - qcom,saw2-spm-cmd-spc = [00 20 10 80 30 90 5b 60 03 60 3b 76 76 - 0b 94 5b 80 10 06 26 30 0f]; - qcom,saw2-spm-cmd-pc = [00 20 10 80 30 90 5b 60 07 60 3b 76 76 - 0b 94 5b 80 10 06 26 30 0f]; - }; - - qcom,spm@f9012000 { - compatible = "qcom,spm-v2"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xf9012000 0x1000>; - qcom,core-id = <0xffff>; /* L2/APCS SAW */ - qcom,saw2-ver-reg = <0xfd0>; - qcom,saw2-cfg = <0x14>; - qcom,saw2-spm-dly= <0x3c102800>; - qcom,saw2-spm-ctl = <0x0>; - qcom,saw2-pmic-data0 = <0x02030080>; - qcom,saw2-pmic-data1 = <0x00030000>; - qcom,vctl-timeout-us = <50>; - qcom,vctl-port = <0x0>; - qcom,phase-port = <0x1>; - qcom,pfm-port = <0x2>; - qcom,saw2-spm-cmd-ret = [00 03 00 7b 0f]; - qcom,saw2-spm-cmd-pc = [00 32 b0 10 e0 d0 6b c0 42 f0 - 11 07 01 b0 4e c0 d0 12 e0 6b 50 02 32 - 50 f0 7b 0f]; /*APCS_PMIC_OFF_L2RAM_OFF*/ - }; - - qcom,lpm-resources { - compatible = "qcom,lpm-resources"; - #address-cells = <1>; - #size-cells = <0>; - - qcom,lpm-resources@0 { - reg = <0x0>; - qcom,name = "vdd-dig"; - qcom,type = <0x61706d73>; /* "smpa" */ - qcom,id = <0x01>; - qcom,key = <0x6e726f63>; /* "corn" */ - qcom,init-value = <3>; /* SVS SOC */ - }; - - qcom,lpm-resources@1 { - reg = <0x1>; - qcom,name = "vdd-mem"; - qcom,type = <0x616F646C>; /* "ldoa" */ - qcom,id = <0x03>; - qcom,key = <0x6e726f63>; /* "corn" */ - qcom,init-value = <3>; /* SVS SOC */ - }; - - qcom,lpm-resources@2 { - reg = <0x2>; - qcom,name = "pxo"; - qcom,type = <0x306b6c63>; /* "clk0" */ - qcom,id = <0x00>; - qcom,key = <0x62616e45>; /* "Enab" */ - qcom,init-value = "xo_on"; - }; - - qcom,lpm-resources@3 { - reg = <0x3>; - qcom,name = "l2"; - qcom,local-resource-type; - qcom,init-value = "l2_cache_retention"; - }; - }; - - qcom,lpm-levels { - compatible = "qcom,lpm-levels"; - #address-cells = <1>; - #size-cells = <0>; - - qcom,lpm-level@0 { - reg = <0x0>; - qcom,mode = "wfi"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_active"; - qcom,vdd-mem-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <4>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <1>; - qcom,ss-power = <784>; - qcom,energy-overhead = <190000>; - qcom,time-overhead = <100>; - }; - - qcom,lpm-level@1 { - reg = <0x1>; - qcom,mode = "standalone_pc"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_active"; - qcom,vdd-mem-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <4>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <3000>; - qcom,ss-power = <725>; - qcom,energy-overhead = <99500>; - qcom,time-overhead = <3130>; - }; - - qcom,lpm-level@2 { - reg = <0x2>; - qcom,mode = "pc"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_retention"; - qcom,vdd-mem-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <4>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <8000>; - qcom,ss-power = <138>; - qcom,energy-overhead = <1208400>; - qcom,time-overhead = <9200>; - }; - - qcom,lpm-level@3 { - reg = <0x3>; - qcom,mode = "pc"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_pc"; - qcom,vdd-mem-upper-bound = <4>; /* NORMAL */ - qcom,vdd-mem-lower-bound = <3>; /* SVS SOC */ - qcom,vdd-dig-upper-bound = <4>; /* NORMAL */ - qcom,vdd-dig-lower-bound = <3>; /* SVS SOC */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <9000>; - qcom,ss-power = <110>; - qcom,energy-overhead = <1250300>; - qcom,time-overhead = <9500>; - }; - - qcom,lpm-level@4 { - reg = <0x4>; - qcom,mode = "pc"; - qcom,xo = "xo_off"; - qcom,l2 = "l2_cache_pc"; - qcom,vdd-mem-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <4>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,latency-us = <16300>; - qcom,ss-power = <63>; - qcom,energy-overhead = <2128000>; - qcom,time-overhead = <24200>; - }; - - qcom,lpm-level@5 { - reg = <0x5>; - qcom,mode = "pc"; - qcom,xo = "xo_off"; - qcom,l2 = "l2_cache_pc"; - qcom,vdd-mem-upper-bound = <4>; /* NORMAL */ - qcom,vdd-mem-lower-bound = <3>; /* SVS SOC */ - qcom,vdd-dig-upper-bound = <4>; /* NORMAL */ - qcom,vdd-dig-lower-bound = <3>; /* SVS SOC */ - qcom,latency-us = <24000>; - qcom,ss-power = <10>; - qcom,energy-overhead = <3202600>; - qcom,time-overhead = <33000>; - }; - - qcom,lpm-level@6 { - reg = <0x6>; - qcom,mode = "pc"; - qcom,xo = "xo_off"; - qcom,l2 = "l2_cache_pc"; - qcom,vdd-mem-upper-bound = <3>; /* SVS SOC */ - qcom,vdd-mem-lower-bound = <1>; /* RETENTION */ - qcom,vdd-dig-upper-bound = <3>; /* SVS SOC */ - qcom,vdd-dig-lower-bound = <1>; /* RETENTION */ - qcom,latency-us = <26000>; - qcom,ss-power = <2>; - qcom,energy-overhead = <4252000>; - qcom,time-overhead = <38000>; - }; - }; - - qcom,pm-boot { - compatible = "qcom,pm-boot"; - qcom,mode = "tz"; - }; - - qcom,mpm@fc4281d0 { - compatible = "qcom,mpm-v2"; - reg = <0xfc4281d0 0x1000>, /* MSM_RPM_MPM_BASE 4K */ - <0xf9011008 0x4>; /* MSM_APCS_GCC_BASE 4K */ - reg-names = "vmpm", "ipc"; - interrupts = <0 171 1>; - - qcom,ipc-bit-offset = <1>; - - qcom,gic-parent = <&intc>; - qcom,gic-map = <47 172>, /* usb2_hsic_async_wakeup_irq */ - <53 104>, /* mdss_irq */ - <62 222>, /* ee0_krait_hlos_spmi_periph_irq */ - <2 216>, /* tsens_upper_lower_int */ - <0xff 56>, /* q6_wdog_expired_irq */ - <0xff 57>, /* mss_to_apps_irq(0) */ - <0xff 58>, /* mss_to_apps_irq(1) */ - <0xff 59>, /* mss_to_apps_irq(2) */ - <0xff 60>, /* mss_to_apps_irq(3) */ - <0xff 61>, /* mss_a2_bam_irq */ - <0xff 173>, /* o_wcss_apss_smd_hi */ - <0xff 174>, /* o_wcss_apss_smd_med */ - <0xff 175>, /* o_wcss_apss_smd_low */ - <0xff 176>, /* o_wcss_apss_smsm_irq */ - <0xff 177>, /* o_wcss_apss_wlan_data_xfer_done */ - <0xff 178>, /* o_wcss_apss_wlan_rx_data_avail */ - <0xff 179>, /* o_wcss_apss_asic_intr - <0xff 181>, /* o_wcss_apss_wdog_bite_and_reset_rdy */ - <0xff 161>, /* lpass_irq_out_spare[4] / - <0xff 162>, /* lpass_irq_out_spare[5]*/ - <0xff 234>, /* lpass_irq_out_spare[6]*/ - <0xff 235>, /* lpass_irq_out_spare[7]*/ - <0xff 188>, /* lpass_irq_out_apcs(0) */ - <0xff 189>, /* lpass_irq_out_apcs(1) */ - <0xff 190>, /* lpass_irq_out_apcs(2) */ - <0xff 191>, /* lpass_irq_out_apcs(3) */ - <0xff 192>, /* lpass_irq_out_apcs(4) */ - <0xff 194>, /* lpass_irq_out_apcs(6) */ - <0xff 200>, /* rpm_ipc(4) */ - <0xff 201>, /* rpm_ipc(5) */ - <0xff 202>, /* rpm_ipc(6) */ - <0xff 203>, /* rpm_ipc(7) */ - <0xff 204>, /* rpm_ipc(24) */ - <0xff 205>, /* rpm_ipc(25) */ - <0xff 206>, /* rpm_ipc(26) */ - <0xff 207>, /* rpm_ipc(27) */ - <0xff 258>, /* rpm_ipc(28) */ - <0xff 259>, /* rpm_ipc(29) */ - <0xff 275>, /* rpm_ipc(30) */ - <0xff 276>, /* rpm_ipc(31) */ - <0xff 269>, /* rpm_wdog_expired_irq */ - <0xff 240>; /* summary_irq_kpss */ - - qcom,gpio-parent = <&msmgpio>; - qcom,gpio-map = <3 1>, - <4 4 >, - <5 5 >, - <6 9 >, - <7 13>, - <8 17>, - <9 21>, - <10 27>, - <11 29>, - <12 31>, - <13 33>, - <14 35>, - <15 37>, - <16 38>, - <17 39>, - <18 41>, - <19 46>, - <20 48>, - <21 49>, - <22 50>, - <23 51>, - <24 52>, - <25 54>, - <26 62>, - <27 63>, - <28 64>, - <29 65>, - <30 66>, - <31 67>, - <32 68>, - <33 69>, - <34 71>, - <35 72>, - <36 106>, - <37 107>, - <38 108>, - <39 109>, - <40 110>, - <54 111>, - <55 113>; - }; - - qcom,pm-8x60@fe805664 { - compatible = "qcom,pm-8x60"; - reg = <0xfe805664 0x40>; - qcom,pc-mode = "tz_l2_int"; - qcom,use-sync-timer; - qcom,pc-resets-timer; - }; - - qcom,rpm-log@fc19dc00 { - compatible = "qcom,rpm-log"; - reg = <0xfc19dc00 0x4000>; - qcom,rpm-addr-phys = <0xfc000000>; - qcom,offset-version = <4>; - qcom,offset-page-buffer-addr = <36>; - qcom,offset-log-len = <40>; - qcom,offset-log-len-mask = <44>; - qcom,offset-page-indices = <56>; - }; - - qcom,rpm-stats@fc19dba0 { - compatible = "qcom,rpm-stats"; - reg = <0xfc19dba0 0x1000>; - reg-names = "phys_addr_base"; - qcom,sleep-stats-version = <2>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8610-qrd.dts b/kernel/arch/arm/boot/dts/m7300-un-v1/msm8610-qrd.dts deleted file mode 100755 index 5f9365a2a..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8610-qrd.dts +++ /dev/null @@ -1,267 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; - -/include/ "msm8610.dtsi" -/include/ "dsi-v2-panel-hx8379a-wvga-video.dtsi" - -/ { - model = "Qualcomm MSM 8610 QRD"; - compatible = "qcom,msm8610-qrd", "qcom,msm8610", "qcom,qrd"; - qcom,msm-id = <147 11 0>, <165 11 0>, <161 11 0>, <162 11 0>, - <163 11 0>, <164 11 0>, <166 11 0>; -}; - -&soc { - i2c@f9923000{ - focaltech@38{ - compatible = "focaltech,5x06"; - reg = <0x38>; - interrupt-parent = <&msmgpio>; - interrupts = <1 0x2>; - vdd-supply = <&pm8110_l19>; - vcc_i2c-supply = <&pm8110_l14>; - focaltech,family-id = <0x06>; - focaltech,reset-gpio = <&msmgpio 0 0x00>; - focaltech,irq-gpio = <&msmgpio 1 0x00>; - focaltech,display-coords = <0 0 480 800>; - focaltech,panel-coords = <0 0 480 800>; - focaltech,button-map= <139 102 158>; - focaltech,no-force-update; - focaltech,i2c-pull-up; - }; - }; - - gen-vkeys { - compatible = "qcom,gen-vkeys"; - label = "ft5x06_ts"; - qcom,disp-maxx = <480>; - qcom,disp-maxy = <800>; - qcom,panel-maxx = <481>; - qcom,panel-maxy = <940>; - qcom,key-codes = <139 0 102 158 0 0 0>; - qcom,y-offset = <0>; - }; - serial@f991e000 { - status = "ok"; - }; - - gpio_keys { - compatible = "gpio-keys"; - input-name = "gpio-keys"; - - camera_snapshot { - label = "camera_snapshot"; - gpios = <&msmgpio 73 0x1>; - linux,input-type = <1>; - linux,code = <0x2fe>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - - camera_focus { - label = "camera_focus"; - gpios = <&msmgpio 74 0x1>; - linux,input-type = <1>; - linux,code = <0x210>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - - vol_up { - label = "volume_up"; - gpios = <&msmgpio 72 0x1>; - linux,input-type = <1>; - linux,code = <115>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - }; - - i2c@f9927000 { - msm8x10_wcd_codec@0d{ - compatible = "qcom,msm8x10-wcd-i2c"; - reg = <0x0d>; - cdc-vdda-cp-supply = <&pm8110_s4>; - qcom,cdc-vdda-cp-voltage = <2150000 2150000>; - qcom,cdc-vdda-cp-current = <650000>; - - cdc-vdda-h-supply = <&pm8110_l6>; - qcom,cdc-vdda-h-voltage = <1800000 1800000>; - qcom,cdc-vdda-h-current = <250000>; - - cdc-vdd-px-supply = <&pm8110_l6>; - qcom,cdc-vdd-px-voltage = <1800000 1800000>; - qcom,cdc-vdd-px-current = <10000>; - - cdc-vdd-1p2v-supply = <&pm8110_l4>; - qcom,cdc-vdd-1p2v-voltage = <1200000 1200000>; - qcom,cdc-vdd-1p2v-current = <5000>; - - cdc-vdd-mic-bias-supply = <&pm8110_l20>; - qcom,cdc-vdd-mic-bias-voltage = <3075000 3075000>; - qcom,cdc-vdd-mic-bias-current = <25000>; - - qcom,cdc-micbias-cfilt-sel = <0x0>; - qcom,cdc-micbias-cfilt-mv = <1800000>; - qcom,cdc-mclk-clk-rate = <12288000>; - }; - - msm8x10_wcd_codec@77{ - compatible = "qcom,msm8x10-wcd-i2c"; - reg = <0x77>; - }; - - msm8x10_wcd_codec@66{ - compatible = "qcom,msm8x10-wcd-i2c"; - reg = <0x66>; - }; - - msm8x10_wcd_codec@55{ - compatible = "qcom,msm8x10-wcd-i2c"; - reg = <0x55>; - }; - }; - - sound { - qcom,audio-routing = - "RX_BIAS", "MCLK", - "INT_LDO_H", "MCLK", - "MIC BIAS Internal1", "Handset Mic", - "MIC BIAS Internal2", "Headset Mic", - "AMIC1", "MIC BIAS Internal1", - "AMIC2", "MIC BIAS Internal2"; - }; -}; - -&spmi_bus { - qcom,pm8110@0 { - qcom,leds@a100 { - status = "okay"; - qcom,led_mpp_2 { - label = "mpp"; - linux,name = "wled-homerow"; - linux-default-trigger = "hr-trigger"; - qcom,default-state = "off"; - qcom,max-current = <40>; - qcom,id = <6>; - qcom,source-sel = <1>; - qcom,mode-ctrl = <0x61>; - }; - }; - - qcom,leds@a200 { - status = "okay"; - qcom,led_mpp_3 { - label = "mpp"; - linux,name = "wled-backlight"; - linux,default-trigger = "bkl-trigger"; - qcom,default-state = "on"; - qcom,max-current = <40>; - qcom,id = <6>; - qcom,source-sel = <1>; - qcom,mode-ctrl = <0x10>; - }; - }; - }; -}; - -&spmi_bus { - qcom,pm8110@1 { - qcom,vibrator@c000 { - status = "okay"; - qcom,vib-timeout-ms = <15000>; - qcom,vib-vtg-level-mV = <3100>; - }; - }; -}; - -&sdhc_1 { - vdd-supply = <&pm8110_l17>; - qcom,vdd-always-on; - qcom,vdd-lpm-sup; - qcom,vdd-voltage-level = <2900000 2900000>; - qcom,vdd-current-level = <200 400000>; - - vdd-io-supply = <&pm8110_l6>; - qcom,vdd-io-always-on; - qcom,vdd-io-voltage-level = <1800000 1800000>; - qcom,vdd-io-current-level = <200 60000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - qcom,bus-speed-mode = "HS200_1p8v", "DDR_1p8v"; - qcom,nonremovable; - - status = "ok"; -}; - -&sdhc_2 { - vdd-supply = <&pm8110_l18>; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <15000 400000>; - - vdd-io-supply = <&pm8110_l21>; - qcom,vdd-io-always-on; - qcom,vdd-io-lpm-sup; - qcom,vdd-io-voltage-level = <1800000 2950000>; - qcom,vdd-io-current-level = <200 50000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - - #address-cells = <0>; - interrupt-parent = <&sdhc_2>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 125 0 - 1 &intc 0 221 0 - 2 &msmgpio 42 0x3>; - interrupt-names = "hc_irq", "pwr_irq", "status_irq"; - cd-gpios = <&msmgpio 42 0x1>; - - status = "ok"; -}; - -&pm8110_chg { - status = "ok"; - - qcom,chgr@1000 { - status = "ok"; - }; - - qcom,buck@1100 { - status = "ok"; - }; - - qcom,bat-if@1200 { - status = "ok"; - }; - - qcom,usb-chgpth@1300 { - status = "ok"; - }; - - qcom,chg-misc@1600 { - status = "ok"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8610-regulator.dtsi b/kernel/arch/arm/boot/dts/m7300-un-v1/msm8610-regulator.dtsi deleted file mode 100755 index 09520c537..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8610-regulator.dtsi +++ /dev/null @@ -1,358 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/* SPM controlled regulators */ - -&spmi_bus { - qcom,pm8110@1 { - pm8110_s2: spm-regulator@1700 { - compatible = "qcom,spm-regulator"; - regulator-name = "8110_s2"; - reg = <0x1700 0x100>; - regulator-min-microvolt = <900000>; - regulator-max-microvolt = <1350000>; - }; - }; -}; - -/* CPR controlled regulator */ - -&soc { - apc_vreg_corner: regulator@f9018000 { - status = "okay"; - compatible = "qcom,cpr-regulator"; - reg = <0xf9018000 0x1000>, <0xf9011064 4>, <0xfc4b80b0 8>, - <0xfc4bc450 16>; - reg-names = "rbcpr", "rbcpr_clk", "pvs_efuse", "cpr_efuse"; - interrupts = <0 15 0>; - regulator-name = "apc_corner"; - regulator-min-microvolt = <1>; - regulator-max-microvolt = <3>; - qcom,num-efuse-bits = <5>; - qcom,pvs-bin-process = <0 0 0 0 0 1 1 1 1 1 2 2 2 2 2 2 - 2 2 2 2 3 3 3 3 3 3 3 3 0 0 0 0>; - qcom,pvs-corner-ceiling-slow = <1150000 1150000 1275000>; - qcom,pvs-corner-ceiling-nom = <975000 1075000 1200000>; - qcom,pvs-corner-ceiling-fast = <900000 1000000 1140000>; - vdd-apc-supply = <&pm8110_s2>; - - vdd-mx-supply = <&pm8110_l3_ao>; - qcom,vdd-mx-vmax = <1350000>; - qcom,vdd-mx-vmin-method = <1>; - - qcom,cpr-ref-clk = <19200>; - qcom,cpr-timer-delay = <5000>; - qcom,cpr-timer-cons-up = <1>; - qcom,cpr-timer-cons-down = <2>; - qcom,cpr-irq-line = <0>; - qcom,cpr-step-quotient = <15>; - qcom,cpr-up-threshold = <1>; - qcom,cpr-down-threshold = <2>; - qcom,cpr-idle-clocks = <5>; - qcom,cpr-gcnt-time = <1>; - qcom,vdd-apc-step-up-limit = <1>; - qcom,vdd-apc-step-down-limit = <1>; - qcom,cpr-apc-volt-step = <5000>; - }; -}; - -/* RPM controlled regulators: */ - -&rpm_bus { - - rpm-regulator-smpa1 { - status = "okay"; - pm8110_s1: regulator-s1 { - status = "okay"; - regulator-min-microvolt = <500000>; - regulator-max-microvolt = <1275000>; - }; - - pm8110_s1_corner: regulator-s1-corner { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_s1_corner"; - qcom,set = <3>; - regulator-min-microvolt = <1>; - regulator-max-microvolt = <7>; - qcom,use-voltage-corner; - qcom,consumer-supplies = "vdd_dig", ""; - }; - - pm8110_s1_corner_ao: regulator-s1-corner-ao { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_s1_corner_ao"; - qcom,set = <1>; - regulator-min-microvolt = <1>; - regulator-max-microvolt = <7>; - qcom,use-voltage-corner; - qcom,consumer-supplies = "vdd_sr2_dig", ""; - }; - }; - - rpm-regulator-smpa3 { - status = "okay"; - pm8110_s3: regulator-s3 { - regulator-min-microvolt = <1200000>; - regulator-max-microvolt = <1350000>; - qcom,init-voltage = <1200000>; - status = "okay"; - }; - }; - - rpm-regulator-smpa4 { - status = "okay"; - pm8110_s4: regulator-s4 { - regulator-min-microvolt = <2150000>; - regulator-max-microvolt = <2150000>; - qcom,init-voltage = <2150000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa1 { - status = "okay"; - pm8110_l1: regulator-l1 { - regulator-min-microvolt = <1225000>; - regulator-max-microvolt = <1225000>; - qcom,init-voltage = <1225000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa2 { - status = "okay"; - pm8110_l2: regulator-l2 { - regulator-min-microvolt = <1200000>; - regulator-max-microvolt = <1200000>; - qcom,init-voltage = <1200000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa3 { - status = "okay"; - pm8110_l3: regulator-l3 { - regulator-min-microvolt = <750000>; - regulator-max-microvolt = <1275000>; - status = "okay"; - }; - - pm8110_l3_ao: regulator-l3-ao { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l3_ao"; - qcom,set = <1>; - regulator-min-microvolt = <750000>; - regulator-max-microvolt = <1275000>; - status = "okay"; - }; - - pm8110_l3_so: regulator-l3-so { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l3_so"; - qcom,set = <2>; - regulator-min-microvolt = <750000>; - regulator-max-microvolt = <1275000>; - qcom,init-voltage = <750000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa4 { - status = "okay"; - pm8110_l4: regulator-l4 { - regulator-min-microvolt = <1200000>; - regulator-max-microvolt = <1200000>; - qcom,init-voltage = <1200000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa5 { - status = "okay"; - pm8110_l5: regulator-l5 { - regulator-min-microvolt = <1300000>; - regulator-max-microvolt = <1300000>; - qcom,init-voltage = <1300000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa6 { - status = "okay"; - pm8110_l6: regulator-l6 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa7 { - status = "okay"; - pm8110_l7: regulator-l7 { - regulator-min-microvolt = <2050000>; - regulator-max-microvolt = <2050000>; - qcom,init-voltage = <2050000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa8 { - status = "okay"; - pm8110_l8: regulator-l8 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa9 { - status = "okay"; - pm8110_l9: regulator-l9 { - regulator-min-microvolt = <2050000>; - regulator-max-microvolt = <2050000>; - qcom,init-voltage = <2050000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa10 { - status = "okay"; - pm8110_l10: regulator-l10 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - status = "okay"; - }; - - pm8110_l10_ao: regulator-l10-ao { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l10_ao"; - qcom,set = <1>; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - qcom,consumer-supplies = "vdd_sr2_pll", ""; - }; - - pm8110_l10_so: regulator-l10-so { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l10_so"; - qcom,set = <2>; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - qcom,init-enable = <0>; - }; - }; - - rpm-regulator-ldoa12 { - status = "okay"; - pm8110_l12: regulator-l12 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <3300000>; - qcom,init-voltage = <3300000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa14 { - status = "okay"; - pm8110_l14: regulator-l14 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa15 { - status = "okay"; - pm8110_l15: regulator-l15 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <3300000>; - qcom,init-voltage = <3300000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa16 { - status = "okay"; - pm8110_l16: regulator-l16 { - regulator-min-microvolt = <3000000>; - regulator-max-microvolt = <3000000>; - qcom,init-voltage = <3000000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa17 { - status = "okay"; - pm8110_l17: regulator-l17 { - regulator-min-microvolt = <2900000>; - regulator-max-microvolt = <2900000>; - qcom,init-voltage = <2900000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa18 { - status = "okay"; - pm8110_l18: regulator-l18 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <2950000>; - qcom,init-voltage = <2950000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa19 { - status = "okay"; - pm8110_l19: regulator-l19 { - regulator-min-microvolt = <2850000>; - regulator-max-microvolt = <2850000>; - qcom,init-voltage = <2850000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa20 { - status = "okay"; - pm8110_l20: regulator-l20 { - regulator-min-microvolt = <3075000>; - regulator-max-microvolt = <3075000>; - qcom,init-voltage = <3075000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa21 { - status = "okay"; - pm8110_l21: regulator-l21 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <2950000>; - qcom,init-voltage = <2950000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa22 { - status = "okay"; - pm8110_l22: regulator-l22 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <3300000>; - qcom,init-voltage = <3300000>; - status = "okay"; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8610-rumi.dts b/kernel/arch/arm/boot/dts/m7300-un-v1/msm8610-rumi.dts deleted file mode 100755 index 7f0648541..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8610-rumi.dts +++ /dev/null @@ -1,31 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/dts-v1/; - -/include/ "msm8610.dtsi" - -/ { - model = "Qualcomm MSM 8610 Rumi"; - compatible = "qcom,msm8610-rumi", "qcom,msm8610", "qcom,rumi"; - qcom,msm-id = <147 15 0>; -}; - -&soc { - serial@f991f000 { - status = "ok"; - }; -}; - -&gfx_iommu { - status = "disabled"; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8610-sim.dts b/kernel/arch/arm/boot/dts/m7300-un-v1/msm8610-sim.dts deleted file mode 100755 index 7c57fe667..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8610-sim.dts +++ /dev/null @@ -1,72 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/dts-v1/; - -/include/ "msm8610.dtsi" - -/ { - model = "Qualcomm MSM 8610 Simulator"; - compatible = "qcom,msm8610-sim", "qcom,msm8610", "qcom,sim"; - qcom,msm-id = <147 16 0>; -}; - -&soc { - serial@f991f000 { - status = "ok"; - }; -}; - -&i2c_cdc { - msm8x10_wcd_codec@0d{ - compatible = "qcom,msm8x10-wcd-i2c"; - reg = <0x0d>; - cdc-vdda-cp-supply = <&pm8110_s4>; - qcom,cdc-vdda-cp-voltage = <2150000 2150000>; - qcom,cdc-vdda-cp-current = <650000>; - - cdc-vdda-h-supply = <&pm8110_l6>; - qcom,cdc-vdda-h-voltage = <1800000 1800000>; - qcom,cdc-vdda-h-current = <250000>; - - cdc-vdd-px-supply = <&pm8110_l6>; - qcom,cdc-vdd-px-voltage = <1800000 1800000>; - qcom,cdc-vdd-px-current = <10000>; - - cdc-vdd-1p2v-supply = <&pm8110_l4>; - qcom,cdc-vdd-1p2v-voltage = <1200000 1200000>; - qcom,cdc-vdd-1p2v-current = <5000>; - - cdc-vdd-mic-bias-supply = <&pm8110_l20>; - qcom,cdc-vdd-mic-bias-voltage = <3075000 3075000>; - qcom,cdc-vdd-mic-bias-current = <25000>; - - qcom,cdc-micbias-cfilt-sel = <0x0>; - qcom,cdc-micbias-cfilt-mv = <1800000>; - qcom,cdc-mclk-clk-rate = <12288000>; - }; - - msm8x10_wcd_codec@77{ - compatible = "qcom,msm8x10-wcd-i2c"; - reg = <0x77>; - }; - - msm8x10_wcd_codec@66{ - compatible = "qcom,msm8x10-wcd-i2c"; - reg = <0x66>; - }; - - msm8x10_wcd_codec@55{ - compatible = "qcom,msm8x10-wcd-i2c"; - reg = <0x55>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8610-smp2p.dtsi b/kernel/arch/arm/boot/dts/m7300-un-v1/msm8610-smp2p.dtsi deleted file mode 100755 index 3921a686a..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8610-smp2p.dtsi +++ /dev/null @@ -1,225 +0,0 @@ -/* Copyright (c) 2013, 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. - */ -&soc { - qcom,smp2p-modem { - compatible = "qcom,smp2p"; - reg = <0xf9011008 0x4>; - qcom,remote-pid = <1>; - qcom,irq-bitmask = <0x4000>; - interrupts = <0 27 1>; - }; - - qcom,smp2p-adsp { - compatible = "qcom,smp2p"; - reg = <0xf9011008 0x4>; - qcom,remote-pid = <2>; - qcom,irq-bitmask = <0x400>; - interrupts = <0 158 1>; - }; - - qcom,smp2p-wcnss { - compatible = "qcom,smp2p"; - reg = <0xf9011008 0x4>; - qcom,remote-pid = <4>; - qcom,irq-bitmask = <0x40000>; - interrupts = <0 143 1>; - }; - - smp2pgpio_smp2p_7_in: qcom,smp2pgpio-smp2p-7-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <7>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_7_in { - compatible = "qcom,smp2pgpio_test_smp2p_7_in"; - gpios = <&smp2pgpio_smp2p_7_in 0 0>; - }; - - smp2pgpio_smp2p_7_out: qcom,smp2pgpio-smp2p-7-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <7>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_7_out { - compatible = "qcom,smp2pgpio_test_smp2p_7_out"; - gpios = <&smp2pgpio_smp2p_7_out 0 0>; - }; - - smp2pgpio_smp2p_1_in: qcom,smp2pgpio-smp2p-1-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <1>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_1_in { - compatible = "qcom,smp2pgpio_test_smp2p_1_in"; - gpios = <&smp2pgpio_smp2p_1_in 0 0>; - }; - - smp2pgpio_smp2p_1_out: qcom,smp2pgpio-smp2p-1-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <1>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_1_out { - compatible = "qcom,smp2pgpio_test_smp2p_1_out"; - gpios = <&smp2pgpio_smp2p_1_out 0 0>; - }; - - smp2pgpio_ssr_smp2p_1_in: qcom,smp2pgpio-ssr-smp2p-1-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "slave-kernel"; - qcom,remote-pid = <1>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - smp2pgpio_ssr_smp2p_1_out: qcom,smp2pgpio-ssr-smp2p-1-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "master-kernel"; - qcom,remote-pid = <1>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - smp2pgpio_smp2p_2_in: qcom,smp2pgpio-smp2p-2-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <2>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_2_in { - compatible = "qcom,smp2pgpio_test_smp2p_2_in"; - gpios = <&smp2pgpio_smp2p_2_in 0 0>; - }; - - smp2pgpio_smp2p_2_out: qcom,smp2pgpio-smp2p-2-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <2>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_2_out { - compatible = "qcom,smp2pgpio_test_smp2p_2_out"; - gpios = <&smp2pgpio_smp2p_2_out 0 0>; - }; - - /* SMP2P SSR Driver for inbound entry from lpass. */ - smp2pgpio_ssr_smp2p_2_in: qcom,smp2pgpio-ssr-smp2p-2-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "slave-kernel"; - qcom,remote-pid = <2>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - /* SMP2P SSR Driver for outbound entry to lpass */ - smp2pgpio_ssr_smp2p_2_out: qcom,smp2pgpio-ssr-smp2p-2-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "master-kernel"; - qcom,remote-pid = <2>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - smp2pgpio_smp2p_4_in: qcom,smp2pgpio-smp2p-4-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <4>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_4_in { - compatible = "qcom,smp2pgpio_test_smp2p_4_in"; - gpios = <&smp2pgpio_smp2p_4_in 0 0>; - }; - - smp2pgpio_smp2p_4_out: qcom,smp2pgpio-smp2p-4-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <4>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - smp2pgpio_ssr_smp2p_4_in: qcom,smp2pgpio-ssr-smp2p-4-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "slave-kernel"; - qcom,remote-pid = <4>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - smp2pgpio_ssr_smp2p_4_out: qcom,smp2pgpio-ssr-smp2p-4-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "master-kernel"; - qcom,remote-pid = <4>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_4_out { - compatible = "qcom,smp2pgpio_test_smp2p_4_out"; - gpios = <&smp2pgpio_smp2p_4_out 0 0>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8610.dtsi b/kernel/arch/arm/boot/dts/m7300-un-v1/msm8610.dtsi deleted file mode 100755 index a62df58d9..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8610.dtsi +++ /dev/null @@ -1,1075 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/include/ "skeleton.dtsi" - -/ { - model = "Qualcomm MSM 8610"; - compatible = "qcom,msm8610"; - interrupt-parent = <&intc>; - - memory { - qsecom_mem: qsecom_region { - linux,contiguous-region; - reg = <0 0x100000>; - label = "qsecom_mem"; - }; - }; - - aliases { - sdhc1 = &sdhc_1; /* SDC1 eMMC slot */ - sdhc2 = &sdhc_2; /* SDC2 SD card slot */ - spi4 = &spi_4; - }; - - soc: soc { }; -}; - -/include/ "msm8610-camera.dtsi" -/include/ "msm-iommu-v0.dtsi" -/include/ "msm8610-ion.dtsi" -/include/ "msm8610-gpu.dtsi" -/include/ "msm-gdsc.dtsi" -/include/ "msm8610-coresight.dtsi" -/include/ "msm8610-pm.dtsi" -/include/ "msm8610-smp2p.dtsi" -/include/ "msm8610-bus.dtsi" -/include/ "msm8610-mdss.dtsi" - -&soc { - #address-cells = <1>; - #size-cells = <1>; - ranges; - - intc: interrupt-controller@f9000000 { - compatible = "qcom,msm-qgic2"; - interrupt-controller; - #interrupt-cells = <3>; - reg = <0xf9000000 0x1000>, - <0xf9002000 0x1000>; - }; - - msmgpio: gpio@fd510000 { - compatible = "qcom,msm-gpio"; - interrupt-controller; - #interrupt-cells = <2>; - reg = <0xfd510000 0x4000>; - gpio-controller; - #gpio-cells = <2>; - ngpio = <102>; - interrupts = <0 208 0>; - qcom,direct-connect-irqs = <8>; - }; - - qcom,mpm2-sleep-counter@fc4a3000 { - compatible = "qcom,mpm2-sleep-counter"; - reg = <0xfc4a3000 0x1000>; - clock-frequency = <32768>; - }; - - timer { - compatible = "arm,armv7-timer"; - interrupts = <1 2 0 1 3 0>; - clock-frequency = <19200000>; - }; - - 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 8 0x4>, - <0 7 0x4>; - reg = <0xf9021000 0x1000>, - <0xf9022000 0x1000>; - }; - - frame@f9023000 { - frame-number = <1>; - interrupts = <0 9 0x4>; - reg = <0xf9023000 0x1000>; - status = "disabled"; - }; - - frame@f9024000 { - frame-number = <2>; - interrupts = <0 10 0x4>; - reg = <0xf9024000 0x1000>; - status = "disabled"; - }; - - frame@f9025000 { - frame-number = <3>; - interrupts = <0 11 0x4>; - reg = <0xf9025000 0x1000>; - status = "disabled"; - }; - - frame@f9026000 { - frame-number = <4>; - interrupts = <0 12 0x4>; - reg = <0xf9026000 0x1000>; - status = "disabled"; - }; - - frame@f9027000 { - frame-number = <5>; - interrupts = <0 13 0x4>; - reg = <0xf9027000 0x1000>; - status = "disabled"; - }; - - frame@f9028000 { - frame-number = <6>; - interrupts = <0 14 0x4>; - reg = <0xf9028000 0x1000>; - status = "disabled"; - }; - }; - - qcom,msm-adsp-loader { - compatible = "qcom,adsp-loader"; - qcom,adsp-state = <0>; - }; - - qcom,msm-audio-ion { - compatible = "qcom,msm-audio-ion"; - qcom,smmu-enabled; - }; - - qcom,msm-imem@fe805000 { - compatible = "qcom,msm-imem"; - reg = <0xfe805000 0x1000>; /* Address and size of IMEM */ - }; - - serial@f991f000 { - compatible = "qcom,msm-lsuart-v14"; - reg = <0xf991f000 0x1000>; - interrupts = <0 109 0>; - status = "disabled"; - }; - - serial@f991e000 { - compatible = "qcom,msm-lsuart-v14"; - reg = <0xf991e000 0x1000>; - interrupts = <0 108 0>; - status = "disabled"; - }; - - qcom,vidc@fdc00000 { - compatible = "qcom,msm-vidc"; - qcom,vidc-ns-map = <0x40000000 0x40000000>; - qcom,iommu-groups = <&q6_domain_ns>; - qcom,iommu-group-buffer-types = <0xfff>; - qcom,buffer-type-tz-usage-map = <0x1 0x1>, - <0x1fe 0x2>; - qcom,hfi = "q6"; - qcom,max-hw-load = <108000>; /* 720p @ 30 * 1 */ - }; - - qcom,usbbam@f9a44000 { - compatible = "qcom,usb-bam-msm"; - reg = <0xf9a44000 0x11000>; - reg-names = "hsusb"; - interrupts = <0 135 0>; - interrupt-names = "hsusb"; - qcom,usb-bam-num-pipes = <16>; - qcom,usb-bam-fifo-baseaddr = <0xfe803000>; - qcom,ignore-core-reset-ack; - qcom,disable-clk-gating; - - qcom,pipe0 { - label = "hsusb-qdss-in-0"; - qcom,usb-bam-mem-type = <3>; - qcom,bam-type = <1>; - 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 = <0xf9a44000>; - qcom,dst-bam-pipe-index = <2>; - qcom,data-fifo-offset = <0x0>; - qcom,data-fifo-size = <0x600>; - qcom,descriptor-fifo-offset = <0x600>; - qcom,descriptor-fifo-size = <0x200>; - }; - }; - - usb@f9a55000 { - compatible = "qcom,hsusb-otg"; - reg = <0xf9a55000 0x400>; - interrupts = <0 134 0>, <0 140 0>; - interrupt-names = "core_irq", "async_irq"; - HSUSB_VDDCX-supply = <&pm8110_s1>; - HSUSB_1p8-supply = <&pm8110_l10>; - HSUSB_3p3-supply = <&pm8110_l20>; - - qcom,hsusb-otg-phy-type = <2>; - qcom,hsusb-otg-mode = <1>; - qcom,hsusb-otg-otg-control = <2>; - qcom,hsusb-otg-disable-reset; - qcom,dp-manual-pullup; - - qcom,msm-bus,name = "usb2"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,active-only = <0>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <87 512 0 0>, - <87 512 60000 960000>; - }; - - android_usb@fe8050c8 { - compatible = "qcom,android-usb"; - reg = <0xfe8050c8 0xc8>; - }; - - sdcc1: qcom,sdcc@f9824000 { - cell-index = <1>; /* SDC1 eMMC slot */ - compatible = "qcom,msm-sdcc"; - reg = <0xf9824000 0x800>, - <0xf9824800 0x100>, - <0xf9804000 0x7000>; - reg-names = "core_mem", "dml_mem", "bam_mem"; - interrupts = <0 123 0>, <0 137 0>; - interrupt-names = "core_irq", "bam_irq"; - - vdd-supply = <&pm8110_l17>; - qcom,vdd-always-on; - qcom,vdd-lpm-sup; - qcom,vdd-voltage-level = <2900000 2900000>; - qcom,vdd-current-level = <9000 400000>; - - vdd-io-supply = <&pm8110_l6>; - qcom,vdd-io-always-on; - qcom,vdd-io-lpm-sup; - qcom,vdd-io-voltage-level = <1800000 1800000>; - qcom,vdd-io-current-level = <9000 60000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - qcom,sup-voltages = <2900 2900>; - qcom,bus-width = <8>; - qcom,nonremovable; - qcom,bus-speed-mode = "HS200_1p8v", "DDR_1p8v"; - - status = "disabled"; - }; - - sdcc2: qcom,sdcc@f98a4000 { - cell-index = <2>; /* SDC2 SD card slot */ - compatible = "qcom,msm-sdcc"; - reg = <0xf98a4000 0x800>, - <0xf98a4800 0x100>, - <0xf9884000 0x7000>; - reg-names = "core_mem", "dml_mem", "bam_mem"; - interrupts = <0 125 0>, <0 220 0>; - interrupt-names = "core_irq", "bam_irq"; - - vdd-supply = <&pm8110_l18>; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <9000 400000>; - - vdd-io-supply = <&pm8110_l21>; - qcom,vdd-io-voltage-level = <1800000 2950000>; - qcom,vdd-io-current-level = <9000 50000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - qcom,sup-voltages = <2950 2950>; - qcom,bus-width = <4>; - qcom,xpc; - qcom,bus-speed-mode = "SDR12", "SDR25", "SDR50", "DDR50", "SDR104"; - qcom,current-limit = <800>; - - status = "disabled"; - }; - - sdhc_1: sdhci@f9824900 { - compatible = "qcom,sdhci-msm"; - reg = <0xf9824900 0x11c>, <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>; - 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"; - - qcom,bus-width = <4>; - status = "disabled"; - }; - - qcom,sps { - compatible = "qcom,msm_sps"; - qcom,device-type = <3>; - }; - - qcom,smem@d900000 { - compatible = "qcom,smem"; - reg = <0xd900000 0x100000>, - <0xf9011000 0x1000>, - <0xfc428000 0x4000>; - reg-names = "smem", "irq-reg-base", "aux-mem1"; - - qcom,smd-modem { - compatible = "qcom,smd"; - qcom,smd-edge = <0>; - qcom,smd-irq-offset = <0x8>; - qcom,smd-irq-bitmask = <0x1000>; - qcom,pil-string = "modem"; - interrupts = <0 25 1>; - }; - - qcom,smsm-modem { - compatible = "qcom,smsm"; - qcom,smsm-edge = <0>; - qcom,smsm-irq-offset = <0x8>; - qcom,smsm-irq-bitmask = <0x2000>; - interrupts = <0 26 1>; - }; - - qcom,smd-adsp { - compatible = "qcom,smd"; - qcom,smd-edge = <1>; - qcom,smd-irq-offset = <0x8>; - qcom,smd-irq-bitmask = <0x100>; - qcom,pil-string = "adsp"; - interrupts = <0 156 1>; - }; - - qcom,smsm-adsp { - compatible = "qcom,smsm"; - qcom,smsm-edge = <1>; - qcom,smsm-irq-offset = <0x8>; - qcom,smsm-irq-bitmask = <0x200>; - interrupts = <0 157 1>; - }; - - qcom,smd-wcnss { - compatible = "qcom,smd"; - qcom,smd-edge = <6>; - qcom,smd-irq-offset = <0x8>; - qcom,smd-irq-bitmask = <0x20000>; - qcom,pil-string = "wcnss"; - interrupts = <0 142 1>; - }; - - qcom,smsm-wcnss { - compatible = "qcom,smsm"; - qcom,smsm-edge = <6>; - qcom,smsm-irq-offset = <0x8>; - qcom,smsm-irq-bitmask = <0x80000>; - interrupts = <0 144 1>; - }; - - qcom,smd-rpm { - compatible = "qcom,smd"; - qcom,smd-edge = <15>; - qcom,smd-irq-offset = <0x8>; - qcom,smd-irq-bitmask = <0x1>; - interrupts = <0 168 1>; - qcom,irq-no-suspend; - }; - }; - - rpm_bus: qcom,rpm-smd { - compatible = "qcom,rpm-smd"; - rpm-channel-name = "rpm_requests"; - rpm-channel-type = <15>; /* SMD_APPS_RPM */ - rpm-standalone; - }; - - qcom,bcl { - compatible = "qcom,bcl"; - }; - - qcom,msm-mem-hole { - compatible = "qcom,msm-mem-hole"; - qcom,memblock-remove = <0x07B00000 0x6400000>; /* Address and Size of Hole */ - }; - - qcom,wdt@f9017000 { - compatible = "qcom,msm-watchdog"; - reg = <0xf9017000 0x1000>; - interrupts = <0 3 0>, <0 4 0>; - qcom,bark-time = <11000>; - qcom,pet-time = <10000>; - qcom,ipi-ping; - }; - - qcom,acpuclk@f9011050 { - compatible = "qcom,acpuclk-a7"; - reg = <0xf9011050 0x8>; - reg-names = "rcg_base"; - a7_cpu-supply = <&apc_vreg_corner>; - }; - - spmi_bus: qcom,spmi@fc4c0000 { - cell-index = <0>; - 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-ee = <0>; - qcom,pmic-arb-channel = <0>; - }; - - i2c@f9923000 { /* BLSP-1 QUP-1 */ - cell-index = <1>; - compatible = "qcom,i2c-qup"; - #address-cells = <1>; - #size-cells = <0>; - reg-names = "qup_phys_addr"; - reg = <0xf9923000 0x1000>; - interrupt-names = "qup_err_intr"; - interrupts = <0 95 0>; - qcom,i2c-bus-freq = <100000>; - qcom,i2c-src-freq = <19200000>; - qcom,sda-gpio = <&msmgpio 2 0>; - qcom,scl-gpio = <&msmgpio 3 0>; - }; - - i2c_cdc: i2c@f9927000 { /* BLSP1 QUP5 */ - cell-index = <5>; - compatible = "qcom,i2c-qup"; - #address-cells = <1>; - #size-cells = <0>; - reg-names = "qup_phys_addr"; - reg = <0xf9927000 0x1000>; - interrupt-names = "qup_err_intr"; - interrupts = <0 99 0>; - qcom,i2c-bus-freq = <100000>; - }; - - i2c: i2c@f9928000 { /* BLSP1 QUP6 */ - cell-index = <6>; - compatible = "qcom,i2c-qup"; - #address-cells = <1>; - #size-cells = <0>; - reg-names = "qup_phys_addr"; - reg = <0xf9928000 0x1000>; - interrupt-names = "qup_err_intr"; - interrupts = <0 100 0>; - qcom,i2c-bus-freq = <100000>; - qcom,i2c-src-freq = <19200000>; - qcom,sda-gpio = <&msmgpio 16 0>; - qcom,scl-gpio = <&msmgpio 17 0>; - }; - - i2c@f9925000 { /* BLSP-1 QUP-3 */ - cell-index = <0>; - compatible = "qcom,i2c-qup"; - #address-cells = <1>; - #size-cells = <0>; - reg-names = "qup_phys_addr"; - reg = <0xf9925000 0x1000>; - interrupt-names = "qup_err_intr"; - interrupts = <0 97 0>; - qcom,i2c-bus-freq = <100000>; - }; - - spi_4: spi@f9926000 { /* BLSP1 QUP4 */ - compatible = "qcom,spi-qup-v2"; - #address-cells = <1>; - #size-cells = <0>; - reg-names = "spi_physical", "spi_bam_physical"; - reg = <0xf9926000 0x1000>, - <0xf9904000 0x15000>; - interrupt-names = "spi_irq", "spi_bam_irq"; - interrupts = <0 98 0>, <0 238 0>; - spi-max-frequency = <50000000>; - - gpios = <&msmgpio 89 0>, /* CLK */ - <&msmgpio 87 0>, /* MISO */ - <&msmgpio 86 0>; /* MOSI */ - cs-gpios = <&msmgpio 88 0>; - - qcom,infinite-mode = <0>; - qcom,use-bam; - qcom,ver-reg-exists; - qcom,bam-consumer-pipe-index = <18>; - qcom,bam-producer-pipe-index = <19>; - }; - - qcom,pronto@fb21b000 { - compatible = "qcom,pil-pronto"; - reg = <0xfb21b000 0x3000>, - <0xfc401700 0x4>, - <0xfd485300 0xc>; - reg-names = "pmu_base", "clk_base", "halt_base"; - interrupts = <0 149 1>; - vdd_pronto_pll-supply = <&pm8110_l10>; - - qcom,firmware-name = "wcnss"; - - /* GPIO inputs from wcnss */ - qcom,gpio-err-fatal = <&smp2pgpio_ssr_smp2p_4_in 0 0>; - qcom,gpio-err-ready = <&smp2pgpio_ssr_smp2p_4_in 1 0>; - qcom,gpio-proxy-unvote = <&smp2pgpio_ssr_smp2p_4_in 2 0>; - - /* GPIO output to wcnss */ - qcom,gpio-force-stop = <&smp2pgpio_ssr_smp2p_4_out 0 0>; - }; - - qcom,iris-fm { - compatible = "qcom,iris_fm"; - }; - - sound { - compatible = "qcom,msm8x10-audio-codec"; - qcom,model = "msm8x10-snd-card"; - }; - - qcom,msm-pcm { - compatible = "qcom,msm-pcm-dsp"; - qcom,msm-pcm-dsp-id = <0>; - }; - - qcom,msm-pcm-low-latency { - compatible = "qcom,msm-pcm-dsp"; - qcom,msm-pcm-dsp-id = <1>; - qcom,msm-pcm-low-latency; - }; - - qcom,msm-pcm-routing { - compatible = "qcom,msm-pcm-routing"; - }; - - qcom,msm-pcm-lpa { - compatible = "qcom,msm-pcm-lpa"; - }; - - qcom,msm-compr-dsp { - compatible = "qcom,msm-compr-dsp"; - }; - - qcom,msm-voip-dsp { - compatible = "qcom,msm-voip-dsp"; - }; - - qcom,msm-pcm-voice { - compatible = "qcom,msm-pcm-voice"; - }; - - qcom,msm-stub-codec { - compatible = "qcom,msm-stub-codec"; - }; - - qcom,msm-dai-fe { - compatible = "qcom,msm-dai-fe"; - }; - - qcom,msm-pcm-afe { - compatible = "qcom,msm-pcm-afe"; - }; - - qcom,msm-dai-mi2s { - compatible = "qcom,msm-dai-mi2s"; - qcom,msm-dai-q6-mi2s-prim { - compatible = "qcom,msm-dai-q6-mi2s"; - qcom,msm-dai-q6-mi2s-dev-id = <0>; - qcom,msm-mi2s-rx-lines = <0>; - qcom,msm-mi2s-tx-lines = <3>; - }; - - qcom,msm-dai-q6-mi2s-sec { - compatible = "qcom,msm-dai-q6-mi2s"; - qcom,msm-dai-q6-mi2s-dev-id = <1>; - qcom,msm-mi2s-rx-lines = <3>; - qcom,msm-mi2s-tx-lines = <0>; - }; - }; - - qcom,msm-dai-q6 { - compatible = "qcom,msm-dai-q6"; - qcom,msm-dai-q6-bt-sco-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <12288>; - }; - - qcom,msm-dai-q6-bt-sco-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <12289>; - }; - - qcom,msm-dai-q6-int-fm-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <12292>; - }; - - qcom,msm-dai-q6-int-fm-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <12293>; - }; - - qcom,msm-dai-q6-be-afe-pcm-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <224>; - }; - - qcom,msm-dai-q6-be-afe-pcm-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <225>; - }; - - qcom,msm-dai-q6-afe-proxy-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <241>; - }; - - qcom,msm-dai-q6-afe-proxy-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <240>; - }; - - qcom,msm-dai-q6-incall-record-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <32771>; - }; - - qcom,msm-dai-q6-incall-record-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <32772>; - }; - - qcom,msm-dai-q6-incall-music-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <32773>; - }; - }; - - qcom,msm-pcm-hostless { - compatible = "qcom,msm-pcm-hostless"; - }; - - qcom,wcnss-wlan@fb000000 { - compatible = "qcom,wcnss_wlan"; - reg = <0xfb000000 0x280000>, - <0xf9011008 0x04>; - reg-names = "wcnss_mmio", "wcnss_fiq"; - interrupts = <0 145 0>, <0 146 0>; - interrupt-names = "wcnss_wlantx_irq", "wcnss_wlanrx_irq"; - - qcom,pronto-vddmx-supply = <&pm8110_l3>; - qcom,pronto-vddcx-supply = <&pm8110_s1>; - qcom,pronto-vddpx-supply = <&pm8110_l6>; - qcom,iris-vddxo-supply = <&pm8110_l10>; - qcom,iris-vddrfa-supply = <&pm8110_l5>; - qcom,iris-vddpa-supply = <&pm8110_l16>; - qcom,iris-vdddig-supply = <&pm8110_l5>; - - gpios = <&msmgpio 23 0>, <&msmgpio 24 0>, <&msmgpio 25 0>, <&msmgpio 26 0>, <&msmgpio 27 0>; - qcom,has-pronto-hw; - qcom,wlan-rx-buff-count = <256>; - }; - - qcom,mss@fc880000 { - compatible = "qcom,pil-q6v5-mss"; - reg = <0xfc880000 0x100>, - <0xfd485000 0x400>, - <0xfc820000 0x020>, - <0xfc401680 0x004>, - <0xfd485194 0x4>; - reg-names = "qdsp6_base", "halt_base", "rmb_base", - "restart_reg", "cxrail_bhs_reg"; - - interrupts = <0 24 1>; - vdd_cx-supply = <&pm8110_s1_corner>; - vdd_mx-supply = <&pm8110_l3>; - vdd_pll-supply = <&pm8110_l10>; - qcom,vdd_pll = <1800000>; - qcom,is-loadable; - qcom,firmware-name = "mba"; - qcom,pil-self-auth; - - /* 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>; - }; - - qcom,lpass@fe200000 { - compatible = "qcom,pil-q6v5-lpass"; - reg = <0xfe200000 0x00100>, - <0xfd485100 0x00010>, - <0xfc4016c0 0x00004>; - reg-names = "qdsp6_base", "halt_base", "restart_reg"; - interrupts = <0 162 1>; - vdd_cx-supply = <&pm8110_s1_corner>; - 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>; - - /* GPIO output to lpass */ - qcom,gpio-force-stop = <&smp2pgpio_ssr_smp2p_2_out 0 0>; - }; - - tsens: tsens@fc4a8000 { - compatible = "qcom,msm-tsens"; - reg = <0xfc4a8000 0x2000>, - <0xfc4b8000 0x1000>; - reg-names = "tsens_physical", "tsens_eeprom_physical"; - interrupts = <0 184 0>; - qcom,sensors = <2>; - qcom,slope = <2901 2846>; - qcom,calib-mode = "fuse_map3"; - qcom,sensor-id = <0 5>; - }; - - qcom,msm-thermal { - compatible = "qcom,msm-thermal"; - qcom,sensor-id = <5>; - qcom,poll-ms = <250>; - qcom,limit-temp = <60>; - qcom,temp-hysteresis = <10>; - qcom,freq-step = <2>; - qcom,freq-control-mask = <0xf>; - }; - - qcom,ipc-spinlock@fd484000 { - compatible = "qcom,ipc-spinlock-sfpb"; - reg = <0xfd484000 0x400>; - qcom,num-locks = <8>; - }; - - qcom,bam_dmux@fc834000 { - compatible = "qcom,bam_dmux"; - reg = <0xfc834000 0x7000>; - interrupts = <0 29 1>; - }; - - qcom,qseecom@7B00000 { - compatible = "qcom,qseecom"; - reg = <0x7B00000 0x500000>; - reg-names = "secapp-region"; - qcom,disk-encrypt-pipe-pair = <2>; - qcom,hlos-ce-hw-instance = <0>; - qcom,qsee-ce-hw-instance = <0>; - qcom,msm-bus,name = "qseecom-noc"; - qcom,msm-bus,num-cases = <4>; - qcom,msm-bus,active-only = <0>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <55 512 0 0>, - <55 512 3936000 393600>, - <55 512 3936000 393600>, - <55 512 3936000 393600>; - }; - - qcom,msm-rng@f9bff000 { - compatible = "qcom,msm-rng"; - reg = <0xf9bff000 0x200>; - qcom,msm-rng-iface-clk; - }; - - qcom,msm-rtb { - compatible = "qcom,msm-rtb"; - qcom,memory-reservation-type = "EBI1"; - qcom,memory-reservation-size = <0x100000>; /* 1M EBI1 buffer */ - }; - - jtag_mm0: jtagmm@fc34c000 { - compatible = "qcom,jtag-mm"; - reg = <0xfc34c000 0x1000>, - <0xfc340000 0x1000>; - reg-names = "etm-base","debug-base"; - }; - - jtag_mm1: jtagmm@fc34d000 { - compatible = "qcom,jtag-mm"; - reg = <0xfc34d000 0x1000>, - <0xfc342000 0x1000>; - reg-names = "etm-base","debug-base"; - }; - - jtag_mm2: jtagmm@fc34e000 { - compatible = "qcom,jtag-mm"; - reg = <0xfc34e000 0x1000>, - <0xfc344000 0x1000>; - reg-names = "etm-base","debug-base"; - }; - - jtag_mm3: jtagmm@fc34f000 { - compatible = "qcom,jtag-mm"; - reg = <0xfc34f000 0x1000>, - <0xfc346000 0x1000>; - reg-names = "etm-base","debug-base"; - }; - - qcom,tz-log@fe805720 { - compatible = "qcom,tz-log"; - reg = <0x0fe805720 0x1000>; - }; - - qcom,qcrypto@fd404000 { - compatible = "qcom,qcrypto"; - reg = <0xfd400000 0x20000>, - <0xfd404000 0x8000>; - reg-names = "crypto-base","crypto-bam-base"; - interrupts = <0 207 0>; - qcom,bam-pipe-pair = <2>; - qcom,ce-hw-instance = <1>; - qcom,ce-hw-shared; - qcom,msm-bus,name = "qcrypto-noc"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,active-only = <0>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <55 512 0 0>, - <55 512 393600 3936000>; - }; - - qcom,qcedev@fd400000 { - compatible = "qcom,qcedev"; - reg = <0xfd400000 0x20000>, - <0xfd404000 0x8000>; - reg-names = "crypto-base","crypto-bam-base"; - interrupts = <0 207 0>; - qcom,bam-pipe-pair = <1>; - qcom,ce-hw-instance = <1>; - qcom,ce-hw-shared; - qcom,msm-bus,name = "qcedev-noc"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,active-only = <0>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <55 512 0 0>, - <55 512 393600 3936000>; - }; - -}; - -&gdsc_vfe { - status = "ok"; -}; - -&gdsc_oxili_cx { - status = "ok"; -}; - -&lpass_iommu { - status = "ok"; -}; - -&copss_iommu { - status = "ok"; -}; - -&mdpe_iommu { - status = "ok"; -}; - -&mdps_iommu { - status = "ok"; -}; - -&gfx_iommu { - status = "ok"; -}; - -&vfe_iommu { - status = "ok"; -}; - -/include/ "msm8610-iommu-domains.dtsi" - -/include/ "msm-pm8110-rpm-regulator.dtsi" -/include/ "msm-pm8110.dtsi" -/include/ "msm8610-regulator.dtsi" - -&pm8110_vadc { - chan@0 { - label = "usb_in"; - reg = <0>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <4>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@2 { - label = "vchg_sns"; - reg = <2>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <2>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@5 { - label = "vcoin"; - reg = <5>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <1>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@6 { - label = "vbat_sns"; - reg = <6>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <1>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@7 { - label = "vph_pwr"; - reg = <7>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <1>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@30 { - label = "batt_therm"; - reg = <0x30>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <1>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@31 { - label = "batt_id"; - reg = <0x31>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@b2 { - label = "xo_therm_pu2"; - reg = <0xb2>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <4>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@13 { - label = "pa_therm0"; - reg = <0x13>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; -}; - -&pm8110_adc_tm { - /* Channel Node */ - chan@30 { - label = "batt_therm"; - reg = <0x30>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <1>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <3>; - qcom,btm-channel-number = <0x48>; - }; - - chan@8 { - label = "die_temp"; - reg = <8>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <3>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <3>; - qcom,btm-channel-number = <0x68>; - }; - - chan@6 { - label = "vbat_sns"; - reg = <6>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <1>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <3>; - qcom,btm-channel-number = <0x70>; - }; - - chan@13 { - label = "pa_therm0"; - reg = <0x13>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - qcom,btm-channel-number = <0x78>; - qcom,thermal-node; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8660-surf.dts b/kernel/arch/arm/boot/dts/m7300-un-v1/msm8660-surf.dts deleted file mode 100755 index 4518fc4a3..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8660-surf.dts +++ /dev/null @@ -1,24 +0,0 @@ -/dts-v1/; - -/include/ "skeleton.dtsi" - -/ { - model = "Qualcomm MSM8660 SURF"; - compatible = "qcom,msm8660-surf", "qcom,msm8660", "qcom,surf"; - interrupt-parent = <&intc>; - - intc: interrupt-controller@02080000 { - compatible = "qcom,msm-8660-qgic"; - interrupt-controller; - #interrupt-cells = <3>; - reg = < 0x02080000 0x1000 >, - < 0x02081000 0x1000 >; - }; - - serial@19c400000 { - compatible = "qcom,msm-hsuart", "qcom,msm-uart"; - reg = <0x19c40000 0x1000>, - <0x19c00000 0x1000>; - interrupts = <0 195 0x0>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8926-cdp.dts b/kernel/arch/arm/boot/dts/m7300-un-v1/msm8926-cdp.dts deleted file mode 100755 index 7a91d40ee..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8926-cdp.dts +++ /dev/null @@ -1,22 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - - -/dts-v1/; -/include/ "msm8926.dtsi" -/include/ "msm8226-cdp.dtsi" - -/ { - model = "Qualcomm MSM 8926 CDP"; - compatible = "qcom,msm8926-cdp", "qcom,msm8926", "qcom,cdp"; - qcom,msm-id = <200 1 0>; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8926-mtp.dts b/kernel/arch/arm/boot/dts/m7300-un-v1/msm8926-mtp.dts deleted file mode 100755 index fea925d62..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8926-mtp.dts +++ /dev/null @@ -1,22 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - - -/dts-v1/; -/include/ "msm8926.dtsi" -/include/ "msm8226-mtp.dtsi" - -/ { - model = "Qualcomm MSM 8926 MTP"; - compatible = "qcom,msm8926-mtp", "qcom,msm8926", "qcom,mtp"; - qcom,msm-id = <200 8 0>; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8926-qrd.dts b/kernel/arch/arm/boot/dts/m7300-un-v1/msm8926-qrd.dts deleted file mode 100755 index e056b7e87..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8926-qrd.dts +++ /dev/null @@ -1,21 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; -/include/ "msm8926.dtsi" -/include/ "msm8226-qrd.dtsi" - -/ { - model = "Qualcomm MSM 8926 QRD"; - compatible = "qcom,msm8926-qrd", "qcom,msm8926", "qcom,qrd"; - qcom,msm-id = <200 11 0>; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8926.dtsi b/kernel/arch/arm/boot/dts/m7300-un-v1/msm8926.dtsi deleted file mode 100755 index 6f3f59251..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8926.dtsi +++ /dev/null @@ -1,30 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/* - * Only 8926-specific property overrides should be placed inside this - * file. Device definitions should be placed inside the msm8226.dtsi - * file. - */ - -/include/ "msm8226.dtsi" - -/ { - model = "Qualcomm MSM 8926"; - compatible = "qcom,msm8926"; -}; - -&soc { - qcom,mss@fc880000 { - vdd_mss-supply = <&pm8226_s5>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8974-bus.dtsi b/kernel/arch/arm/boot/dts/m7300-un-v1/msm8974-bus.dtsi deleted file mode 100755 index 609a1b302..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8974-bus.dtsi +++ /dev/null @@ -1,1411 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -&soc { - msm-mmss-noc@fc478000 { - compatible = "msm-bus-fabric"; - reg = <0xfc478000 0x00004000>; - cell-id = <2048>; - label = "msm_mmss_noc"; - qcom,fabclk-dual = "bus_clk"; - qcom,fabclk-active = "bus_a_clk"; - qcom,ntieredslaves = <0>; - qcom,qos-freq = <4800>; - qcom,hw-sel = "NoC"; - qcom,rpm-en; - - coresight-id = <52>; - coresight-name = "coresight-mnoc"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_in0>; - coresight-child-ports = <5>; - - mas-gfx3d { - cell-id = <26>; - label = "mas-gfx3d"; - qcom,masterp = <2 3>; - qcom,tier = <2>; - qcom,hw-sel = "NoC"; - qcom,perm-mode = "Bypass"; - qcom,mode = "Bypass"; - qcom,ws = <10000>; - qcom,qport = <2 3>; - qcom,mas-hw-id = <6>; - }; - - mas-jpeg { - cell-id = <62>; - label = "mas-jpeg"; - qcom,masterp = <4>; - qcom,tier = <2>; - qcom,hw-sel = "NoC"; - qcom,perm-mode = "Bypass"; - qcom,mode = "Bypass"; - qcom,qport = <0>; - qcom,ws = <10000>; - qcom,mas-hw-id = <7>; - }; - - mas-mdp-port0 { - cell-id = <22>; - label = "mas-mdp-port0"; - qcom,masterp = <5>; - qcom,tier = <2>; - qcom,hw-sel = "NoC"; - qcom,perm-mode = "Bypass"; - qcom,mode = "Bypass"; - qcom,qport = <1>; - qcom,ws = <10000>; - qcom,mas-hw-id = <8>; - }; - - mas-video-p0 { - cell-id = <63>; - label = "mas-video-p0"; - qcom,masterp = <6 7>; - qcom,tier = <2>; - qcom,hw-sel = "NoC"; - qcom,perm-mode = "Bypass"; - qcom,mode = "Bypass"; - qcom,ws = <10000>; - qcom,qport = <4 5>; - qcom,mas-hw-id = <9>; - }; - - mas-vfe { - cell-id = <29>; - label = "mas-vfe"; - qcom,masterp = <16>; - qcom,tier = <2>; - qcom,hw-sel = "NoC"; - qcom,perm-mode = "Bypass"; - qcom,mode = "Bypass"; - qcom,ws = <10000>; - qcom,qport = <6>; - qcom,mas-hw-id = <11>; - }; - - fab-cnoc { - cell-id = <5120>; - label = "fab-cnoc"; - qcom,gateway; - qcom,masterp = <0 1>; - qcom,buswidth = <16>; - qcom,hw-sel = "RPM"; - qcom,mas-hw-id = <4>; - }; - - fab-bimc { - cell-id = <0>; - label = "fab-bimc"; - qcom,gateway; - qcom,slavep = <16 17>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <16>; - }; - - slv-camera-cfg { - cell-id = <589>; - label = "slv-camera-cfg"; - qcom,slavep = <0>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <3>; - }; - - slv-display-cfg { - cell-id = <590>; - label = "slv-display-cfg"; - qcom,slavep = <1>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <4>; - }; - - slv-ocmem-cfg { - cell-id = <591>; - label = "slv-ocmem-cfg"; - qcom,slavep = <2>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <5>; - }; - - slv-cpr-cfg { - cell-id = <592>; - label = "slv-cpr-cfg"; - qcom,slavep = <3>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <6>; - }; - - slv-cpr-xpu-cfg { - cell-id = <593>; - label = "slv-cpr-xpu-cfg"; - qcom,slavep = <4>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <7>; - }; - - slv-misc-cfg { - cell-id = <594>; - label = "slv-misc-cfg"; - qcom,slavep = <6>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <8>; - }; - - slv-misc-xpu-cfg { - cell-id = <595>; - label = "slv-misc-xpu-cfg"; - qcom,slavep = <7>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <9>; - }; - - slv-venus-cfg { - cell-id = <596>; - label = "slv-venus-cfg"; - qcom,slavep = <8>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <10>; - }; - - slv-gfx3d-cfg { - cell-id = <598>; - label = "slv-gfx3d-cfg"; - qcom,slavep = <9>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <11>; - }; - - slv-mmss-clk-cfg { - cell-id = <599>; - label = "slv-mmss-clk-cfg"; - qcom,slavep = <11>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <12>; - }; - - slv-mmss-clk-xpu-cfg { - cell-id = <600>; - label = "slv-mmss-clk-xpu-cfg"; - qcom,slavep = <12>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <13>; - }; - - slv-mnoc-mpu-cfg { - cell-id = <601>; - label = "slv-mnoc-mpu-cfg"; - qcom,slavep = <13>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <14>; - }; - - slv-onoc-mpu-cfg { - cell-id = <602>; - label = "slv-onoc-mpu-cfg"; - qcom,slavep = <14>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <15>; - }; - - slv-service-mnoc { - cell-id = <603>; - label = "slv-service-mnoc"; - qcom,slavep = <18>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <17>; - }; - - }; - - msm-sys-noc@fc460000 { - compatible = "msm-bus-fabric"; - reg = <0xfc460000 0x00004000>; - cell-id = <1024>; - label = "msm_sys_noc"; - qcom,fabclk-dual = "bus_clk"; - qcom,fabclk-active = "bus_a_clk"; - qcom,ntieredslaves = <0>; - qcom,qos-freq = <4800>; - qcom,hw-sel = "NoC"; - qcom,rpm-en; - - coresight-id = <50>; - coresight-name = "coresight-snoc"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_in0>; - coresight-child-ports = <3>; - - msm-lpass-ahb { - cell-id = <52>; - label = "mas-lpass-ahb"; - qcom,masterp = <0>; - qcom,tier = <2>; - qcom,qport = <0>; - qcom,mas-hw-id = <18>; - qcom,mode = "Fixed"; - qcom,prio1 = <2>; - qcom,prio0 = <2>; - }; - - mas-qdss-bam { - cell-id = <53>; - label = "mas-qdss-bam"; - qcom,masterp = <1>; - qcom,tier = <2>; - qcom,mode = "Fixed"; - qcom,qport = <1>; - qcom,mas-hw-id = <19>; - qcom,prio1 = <1>; - qcom,prio0 = <1>; - qcom,hw-sel = "NoC"; - }; - - mas-snoc-cfg { - cell-id = <54>; - label = "mas-snoc-cfg"; - qcom,masterp = <2>; - qcom,tier = <2>; - qcom,mas-hw-id = <20>; - }; - - fab-bimc { - cell-id = <0>; - label= "fab-bimc"; - qcom,gateway; - qcom,slavep = <7 8>; - qcom,masterp = <3>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <21>; - qcom,slv-hw-id = <24>; - }; - - fab-cnoc { - cell-id = <5120>; - label = "fab-cnoc"; - qcom,gateway; - qcom,slavep = <9>; - qcom,masterp = <4>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <22>; - qcom,slv-hw-id = <25>; - }; - - fab-pnoc { - cell-id = <4096>; - label = "fab-pnoc"; - qcom,gateway; - qcom,slavep = <12>; - qcom,masterp = <11>; - qcom,buswidth = <8>; - qcom,qport = <8>; - qcom,mas-hw-id = <29>; - qcom,slv-hw-id = <28>; - qcom,mode = "Fixed"; - qcom,prio1 = <2>; - qcom,prio0 = <2>; - }; - - fab-ovnoc { - cell-id = <6144>; - label = "fab-ovnoc"; - qcom,gateway; - qcom,buswidth = <8>; - qcom,mas-hw-id = <53>; - qcom,slv-hw-id = <77>; - }; - - mas-crypto-core0 { - cell-id = <55>; - label = "mas-crypto-core0"; - qcom,masterp = <5>; - qcom,tier = <2>; - qcom,mode = "Fixed"; - qcom,qport = <2>; - qcom,mas-hw-id = <23>; - qcom,hw-sel = "NoC"; - qcom,prio1 = <1>; - qcom,prio0 = <1>; - }; - - mas-crypto-core1 { - cell-id = <56>; - label = "mas-crypto-core1"; - qcom,masterp = <6>; - qcom,tier = <2>; - qcom,mode = "Fixed"; - qcom,qport = <3>; - qcom,mas-hw-id = <24>; - qcom,hw-sel = "NoC"; - qcom,prio1 = <1>; - qcom,prio0 = <1>; - }; - - mas-lpass-proc { - cell-id = <11>; - label = "mas-lpass-proc"; - qcom,masterp = <7>; - qcom,tier = <2>; - qcom,qport = <4>; - qcom,mas-hw-id = <25>; - qcom,mode = "Fixed"; - qcom,prio1 = <2>; - qcom,prio0 = <2>; - }; - - mas-mss { - cell-id = <38>; - label = "mas-mss"; - qcom,masterp = <8>; - qcom,tier = <2>; - qcom,mas-hw-id = <26>; - }; - - mas-mss-nav { - cell-id = <57>; - label = "mas-mss-nav"; - qcom,masterp = <9>; - qcom,tier = <2>; - qcom,mas-hw-id = <27>; - }; - - mas-ocmem-dma { - cell-id = <58>; - label = "mas-ocmem-dma"; - qcom,masterp = <10>; - qcom,tier = <2>; - qcom,mode = "Fixed"; - qcom,qport = <7>; - qcom,mas-hw-id = <28>; - }; - - mas-wcss { - cell-id = <59>; - label = "mas-wcss"; - qcom,masterp = <12>; - qcom,tier = <2>; - qcom,mas-hw-id = <30>; - }; - - mas-qdss-etr { - cell-id = <60>; - label = "mas-qdss-etr"; - qcom,masterp = <13>; - qcom,tier = <2>; - qcom,qport = <10>; - qcom,mode = "Fixed"; - qcom,mas-hw-id = <31>; - qcom,prio1 = <1>; - qcom,prio0 = <1>; - qcom,hw-sel = "NoC"; - }; - - mas-usb3 { - cell-id = <61>; - label = "mas-usb3"; - qcom,masterp = <14>; - qcom,tier = <2>; - qcom,mode = "Fixed"; - qcom,qport = <11>; - qcom,mas-hw-id = <32>; - qcom,prio1 = <1>; - qcom,prio0 = <1>; - qcom,hw-sel = "NoC"; - qcom,iface-clk-node = "msm_usb3"; - }; - - slv-ampss { - cell-id = <520>; - label = "slv-ampss"; - qcom,slavep = <1>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <20>; - }; - - slv-lpass { - cell-id = <522>; - label = "slv-lpass"; - qcom,slavep = <2>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <21>; - }; - - slv-usb3 { - cell-id = <583>; - label = "slv-usb3"; - qcom,slavep = <4>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <22>; - }; - - slv-wcss { - cell-id = <584>; - label = "slv-wcss"; - qcom,slavep = <6>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <23>; - }; - - slv-ocimem { - cell-id = <585>; - label = "slv-ocimem"; - qcom,slavep = <10>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <26>; - }; - - slv-snoc-ocmem { - cell-id = <586>; - label = "slv-snoc-ocmem"; - qcom,slavep = <11>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <27>; - }; - - slv-service-snoc { - cell-id = <587>; - label = "slv-service-snoc"; - qcom,slavep = <13>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <29>; - }; - - slv-qdss-stm { - cell-id = <588>; - label = "slv-qdss-stm"; - qcom,slavep = <14>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <30>; - }; - - }; - - msm-periph-noc@fc468000 { - compatible = "msm-bus-fabric"; - reg = <0xfc468000 0x00004000>; - cell-id = <4096>; - label = "msm_periph_noc"; - qcom,fabclk-dual = "bus_clk"; - qcom,fabclk-active = "bus_a_clk"; - qcom,ntieredslaves = <0>; - qcom,hw-sel = "NoC"; - qcom,rpm-en; - - coresight-id = <54>; - coresight-name = "coresight-pnoc"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_in0>; - coresight-child-ports = <6>; - - mas-pnoc-cfg { - cell-id = <88>; - label = "mas-pnoc-cfg"; - qcom,masterp = <10>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <43>; - }; - - mas-sdcc-1 { - cell-id = <78>; - label = "mas-sdcc-1"; - qcom,masterp = <0>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <33>; - }; - - mas-sdcc-3 { - cell-id = <79>; - label = "mas-sdcc-3"; - qcom,masterp = <1>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <34>; - }; - - mas-sdcc-4 { - cell-id = <80>; - label = "mas-sdcc-4"; - qcom,masterp = <3>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <36>; - }; - - mas-sdcc-2 { - cell-id = <81>; - label = "mas-sdcc-2"; - qcom,masterp = <2>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <35>; - }; - - mas-tsif { - cell-id = <82>; - label = "mas-tsif"; - qcom,masterp = <4>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <37>; - }; - - mas-bam-dma { - cell-id = <83>; - label = "mas-bam-dma"; - qcom,masterp = <5>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <38>; - }; - - mas-blsp-2 { - cell-id = <84>; - label = "mas-blsp-2"; - qcom,masterp = <6>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <39>; - }; - - mas-usb-hsic { - cell-id = <85>; - label = "mas-usb-hsic"; - qcom,masterp = <7>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <40>; - }; - - mas-blsp-1 { - cell-id = <86>; - label = "mas-blsp-1"; - qcom,masterp = <8>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <41>; - }; - - mas-usb-hs { - cell-id = <87>; - label = "mas-usb-hs"; - qcom,masterp = <9>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <42>; - }; - - fab-snoc { - cell-id = <1024>; - label = "fab-snoc"; - qcom,gateway; - qcom,slavep = <14>; - qcom,masterp = <11>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <45>; - qcom,mas-hw-id = <44>; - }; - - slv-sdcc-1 { - cell-id = <606>; - label = "slv-sdcc-1"; - qcom,slavep = <0>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <31>; - }; - - slv-sdcc-3 { - cell-id = <607>; - label = "slv-sdcc-3"; - qcom,slavep = <1>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <32>; - }; - - slv-sdcc-2 { - cell-id = <608>; - label = "slv-sdcc-2"; - qcom,slavep = <2>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <33>; - }; - - slv-sdcc-4 { - cell-id = <609>; - label = "slv-sdcc-4"; - qcom,slavep = <3>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <34>; - }; - - slv-tsif { - cell-id = <575>; - label = "slv-tsif"; - qcom,slavep = <4>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <35>; - }; - - slv-bam-dma { - cell-id = <610>; - label = "slv-bam-dma"; - qcom,slavep = <5>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <36>; - }; - - slv-blsp-2 { - cell-id = <611>; - label = "slv-blsp-2"; - qcom,slavep = <6>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <37>; - }; - - slv-usb-hsic { - cell-id = <612>; - label = "slv-usb-hsic"; - qcom,slavep = <7>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <38>; - }; - - slv-blsp-1 { - cell-id = <613>; - label = "slv-blsp-1"; - qcom,slavep = <8>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <39>; - }; - - slv-usb-hs { - cell-id = <614>; - label = "slv-usb-hs"; - qcom,slavep = <9>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <40>; - }; - - slv-pdm { - cell-id = <615>; - label = "slv-pdm"; - qcom,slavep = <10>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <41>; - }; - - slv-periph-apu-cfg { - cell-id = <616>; - label = "slv-periph-apu-cfg"; - qcom,slavep = <11>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <42>; - }; - - slv-pnoc-mpu-cfg { - cell-id = <617>; - label = "slv-pnoc-mpu-cfg"; - qcom,slavep = <12>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <43>; - }; - - slv-prng { - cell-id = <618>; - label = "slv-prng"; - qcom,slavep = <13>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <44>; - }; - - slv-service-pnoc { - cell-id = <619>; - label = "slv-service-pnoc"; - qcom,slavep = <15>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <46>; - }; - - }; - - msm-config-noc@fc480000 { - compatible = "msm-bus-fabric"; - reg = <0xfc480000 0x00004000>; - cell-id = <5120>; - label = "msm_config_noc"; - qcom,fabclk-dual = "bus_clk"; - qcom,fabclk-active = "bus_a_clk"; - qcom,ntieredslaves = <0>; - qcom,hw-sel = "NoC"; - qcom,rpm-en; - - mas-rpm-inst { - cell-id = <72>; - label = "mas-rpm-inst"; - qcom,masterp = <0>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <45>; - }; - - mas-rpm-data { - cell-id = <73>; - label = "mas-rpm-data"; - qcom,masterp = <1>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <46>; - }; - - mas-rpm-sys { - cell-id = <74>; - label = "mas-rpm-sys"; - qcom,masterp = <2>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <47>; - }; - - mas-dehr { - cell-id = <75>; - label = "mas-dehr"; - qcom,masterp = <3>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <48>; - }; - - mas-qdss-dsp { - cell-id = <76>; - label = "mas-qdss-dap"; - qcom,masterp = <4>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <49>; - }; - - mas-spdm { - cell-id = <36>; - label = "mas-spdm"; - qcom,masterp = <5>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <50>; - }; - - mas-tic { - cell-id = <77>; - label = "mas-tic"; - qcom,masterp = <6>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <51>; - }; - - slv-clk-ctl { - cell-id = <620>; - label = "slv-clk-ctl"; - qcom,slavep = <1>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <47>; - }; - - slv-cnoc-mss { - cell-id = <621>; - label = "slv-cnoc-mss"; - qcom,slavep = <2>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <48>; - }; - - slv-security { - cell-id = <622>; - label = "slv-security"; - qcom,slavep = <3>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <49>; - }; - - slv-tcsr { - cell-id = <623>; - label = "slv-tcsr"; - qcom,slavep = <4>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <50>; - }; - - slv-tlmm { - cell-id = <624>; - label = "slv-tlmm"; - qcom,slavep = <5>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <51>; - }; - - slv-crypto-0-cfg { - cell-id = <625>; - label = "slv-crypto-0-cfg"; - qcom,slavep = <6>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <52>; - }; - - slv-crypto-1-cfg { - cell-id = <626>; - label = "slv-crypto-1-cfg"; - qcom,slavep = <7>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <53>; - }; - - slv-imem-cfg { - cell-id = <627>; - label = "slv-imem-cfg"; - qcom,slavep = <8>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <54>; - }; - - slv-message-ram { - cell-id = <628>; - label = "slv-message-ram"; - qcom,slavep = <9>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <55>; - }; - - slv-bimc-cfg { - cell-id = <629>; - label = "slv-bimc-cfg"; - qcom,slavep = <10>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <56>; - }; - - slv-boot-rom { - cell-id = <630>; - label = "slv-boot-rom"; - qcom,slavep = <11>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <57>; - }; - - slv-pmic-arb { - cell-id = <632>; - label = "slv-pmic-arb"; - qcom,slavep = <13>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <59>; - }; - - slv-spdm-wrapper { - cell-id = <633>; - label = "slv-spdm-wrapper"; - qcom,slavep = <14>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <60>; - }; - - slv-dehr-cfg { - cell-id = <634>; - label = "slv-dehr-cfg"; - qcom,slavep = <15>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <61>; - }; - - slv-mpm { - cell-id = <536>; - label = "slv-mpm"; - qcom,slavep = <16>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <62>; - }; - - slv-qdss-cfg { - cell-id = <635>; - label = "slv-qdss-cfg"; - qcom,slavep = <17>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <63>; - }; - - slv-rbcpr-cfg { - cell-id = <636>; - label = "slv-rbcpr-cfg"; - qcom,slavep = <18>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <64>; - }; - - slv-rbcpr-qdss-apu-cfg { - cell-id = <637>; - label = "slv-rbcpr-qdss-apu-cfg"; - qcom,slavep = <19>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <65>; - }; - - fab-snoc { - cell-id = <1024>; - label = "fab-snoc"; - qcom,gateway; - qcom,slavep = <29>; - qcom,masterp = <7>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <52>; - qcom,slv-hw-id = <75>; - }; - - slv-cnoc-onoc-cfg { - cell-id = <639>; - label = "slv-cnoc-onoc-cfg"; - qcom,slavep = <22>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <68>; - }; - - slv-cnoc-mnoc-mmss-cfg { - cell-id = <631>; - label = "slv-cnoc-mnoc-mmss-cfg"; - qcom,slavep = <12>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <58>; - }; - - slv-cnoc-mnoc-cfg { - cell-id = <640>; - label = "slv-cnoc-mnoc-cfg"; - qcom,slavep = <20>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <66>; - }; - - slv-pnoc-cfg { - cell-id = <641>; - label = "slv-pnoc-cfg"; - qcom,slavep = <23>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <69>; - }; - - slv-snoc-mpu-cfg { - cell-id = <638>; - label = "slv-snoc-mpu-cfg"; - qcom,slavep = <21>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <67>; - }; - - slv-snoc-cfg { - cell-id = <642>; - label = "slv-snoc-cfg"; - qcom,slavep = <24>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <70>; - }; - - slv-ebi1-dll-cfg { - cell-id = <643>; - label = "slv-ebi1-dll-cfg"; - qcom,slavep = <25>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <71>; - }; - - slv-phy-apu-cfg { - cell-id = <644>; - label = "slv-phy-apu-cfg"; - qcom,slavep = <26>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <72>; - }; - - slv-ebi1-phy-cfg { - cell-id = <645>; - label = "slv-ebi1-phy-cfg"; - qcom,slavep = <27>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <73>; - }; - - slv-rpm { - cell-id = <534>; - label = "slv-rpm"; - qcom,slavep = <28>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <74>; - }; - - slv-service-cnoc { - cell-id = <646>; - label = "slv-service-cnoc"; - qcom,slavep = <30>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <76>; - }; - - }; - - msm-bimc@0xfc380000 { - compatible = "msm-bus-fabric"; - reg = <0xfc380000 0x0006A000>; - cell-id = <0>; - label = "msm_bimc"; - qcom,fabclk-dual = "mem_clk"; - qcom,fabclk-active = "mem_a_clk"; - qcom,ntieredslaves = <0>; - qcom,qos-freq = <19200>; - qcom,hw-sel = "BIMC"; - qcom,rpm-en; - - coresight-id = <55>; - coresight-name = "coresight-bimc"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_in1>; - coresight-child-ports = <3>; - - mas-ampss-m0 { - cell-id = <1>; - label = "mas-ampss-m0"; - qcom,masterp = <0>; - qcom,tier = <2>; - qcom,hw-sel = "BIMC"; - qcom,mode = "Limiter"; - qcom,qport = <0>; - qcom,ws = <10000>; - qcom,mas-hw-id = <0>; - qcom,prio-rd = <0>; - qcom,prio-wr = <0>; - qcom,mode-thresh = "Fixed"; - qcom,thresh = <2000000>; - qcom,dual-conf; - qcom,bimc,bw = <300000>; - qcom,bimc,gp = <5>; - qcom,bimc,thmp = <50>; - }; - - mas-ampss-m1 { - cell-id = <2>; - label = "mas-ampss-m1"; - qcom,masterp = <1>; - qcom,tier = <2>; - qcom,hw-sel = "BIMC"; - qcom,mode = "Limiter"; - qcom,qport = <1>; - qcom,ws = <10000>; - qcom,mas-hw-id = <0>; - qcom,prio-rd = <0>; - qcom,prio-wr = <0>; - qcom,mode-thresh = "Fixed"; - qcom,thresh = <2000000>; - qcom,dual-conf; - qcom,bimc,bw = <300000>; - qcom,bimc,gp = <5>; - qcom,bimc,thmp = <50>; - }; - - mas-mss-proc { - cell-id = <65>; - label = "mas-mss-proc"; - qcom,masterp = <2>; - qcom,tier = <2>; - qcom,hw-sel = "RPM"; - qcom,mas-hw-id = <1>; - }; - - fab-mmss-noc { - cell-id = <2048>; - label = "fab_mmss_noc"; - qcom,gateway; - qcom,masterp = <3 4>; - qcom,qport = <3 4>; - qcom,buswidth = <8>; - qcom,ws = <10000>; - qcom,mas-hw-id = <2>; - qcom,hw-sel = "BIMC"; - qcom,mode = "Bypass"; - }; - - fab-snoc { - cell-id = <1024>; - label = "fab-snoc"; - qcom,gateway; - qcom,slavep = <3>; - qcom,masterp = <5 6>; - qcom,qport = <5 6>; - qcom,buswidth = <8>; - qcom,ws = <10000>; - qcom,mas-hw-id = <3>; - qcom,slv-hw-id = <2>; - qcom,mode = "Bypass"; - qcom,hw-sel = "RPM"; - }; - - slv-ebi-ch0 { - cell-id = <512>; - label = "slv-ebi-ch0"; - qcom,slavep = <0 1>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <0>; - qcom,mode = "Bypass"; - }; - - slv-ampss-l2 { - cell-id = <514>; - label = "slv-ampss-l2"; - qcom,slavep = <2>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <1>; - }; - }; - - msm-ocmem-vnoc@6144 { - compatible = "msm-bus-fabric"; - reg = <0x6144 0x2>; - cell-id = <6144>; - label = "msm-ocmem-vnoc"; - qcom,ntieredslaves = <0>; - qcom,hw-sel = "NoC"; - qcom,rpm-en; - qcom,virt; - - mas-v-ocmem-gfx3d { - cell-id = <89>; - label = "mas-v-ocmem-gfx3d"; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <55>; - }; - - slv-ocmem { - cell-id = <604>; - label = "slv-ocmem"; - qcom,slavep = <0 1>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,slv-hw-id = <18>; - qcom,slaveclk-dual = "ocmem_clk"; - qcom,slaveclk-active = "ocmem_a_clk"; - }; - - fab-snoc { - cell-id = <1024>; - label = "fab-snoc"; - qcom,gateway; - qcom,buswidth = <8>; - qcom,ws = <10000>; - qcom,mas-hw-id = <57>; - qcom,slv-hw-id = <80>; - }; - - fab-onoc { - cell-id = <3072>; - label = "fab-onoc"; - qcom,gateway; - qcom,buswidth = <16>; - qcom,ws = <10000>; - qcom,mas-hw-id = <56>; - qcom,slv-hw-id = <79>; - }; - - }; - - msm-ocmem-noc@fc470000 { - compatible = "msm-bus-fabric"; - reg = <0xfc470000 0x00004000>; - cell-id = <3072>; - label = "msm_ocmem_noc"; - qcom,fabclk-dual = "bus_clk"; - qcom,fabclk-active = "bus_a_clk"; - qcom,ntieredslaves = <0>; - qcom,qos-freq = <4800>; - qcom,hw-sel = "NoC"; - qcom,rpm-en; - - coresight-id = <51>; - coresight-name = "coresight-onoc"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_in0>; - coresight-child-ports = <4>; - - fab-ocmem-vnoc { - cell-id = <6144>; - label = "fab-ocmem-vnoc"; - qcom,gateway; - qcom,buswidth = <16>; - qcom,mas-hw-id = <54>; - qcom,slv-hw-id = <78>; - }; - - mas-jpeg-ocmem { - cell-id = <66>; - label = "mas-jpeg-ocmem"; - qcom,masterp = <1>; - qcom,tier = <2>; - qcom,perm-mode = "Fixed"; - qcom,mode = "Fixed"; - qcom,qport = <0>; - qcom,mas-hw-id = <13>; - qcom,hw-sel = "NoC"; - }; - - mas-mdp-ocmem { - cell-id = <67>; - label = "mas-mdp-ocmem"; - qcom,masterp = <2>; - qcom,tier = <2>; - qcom,perm-mode = "Fixed"; - qcom,mode = "Fixed"; - qcom,mas-hw-id = <14>; - qcom,hw-sel = "NoC"; - }; - - mas-video-ocmem { - cell-id = <68>; - label = "mas-video-ocmem"; - qcom,masterp = <3 4>; - qcom,tier = <2>; - qcom,perm-mode = "Fixed"; - qcom,mode = "Fixed"; - qcom,qport = <2 3>; - qcom,mas-hw-id = <15>; - qcom,hw-sel = "NoC"; - }; - - mas-vfe-ocmem { - cell-id = <70>; - label = "mas-vfe-ocmem"; - qcom,masterp = <5>; - qcom,tier = <2>; - qcom,perm-mode = "Fixed"; - qcom,mode = "Fixed"; - qcom,qport = <4>; - qcom,mas-hw-id = <17>; - qcom,hw-sel = "NoC"; - qcom,prio-rd = <1>; - qcom,prio-wr = <1>; - }; - - mas-cnoc-onoc-cfg { - cell-id = <71>; - label = "mas-cnoc-onoc-cfg"; - qcom,masterp = <0>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,mas-hw-id = <12>; - qcom,hw-sel = "NoC"; - }; - - slv-service-onoc { - cell-id = <605>; - label = "slv-service-onoc"; - qcom,slavep = <2>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,slv-hw-id = <19>; - }; - }; -}; - - diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8974-camera-sensor-cdp.dtsi b/kernel/arch/arm/boot/dts/m7300-un-v1/msm8974-camera-sensor-cdp.dtsi deleted file mode 100755 index 4a9820dab..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8974-camera-sensor-cdp.dtsi +++ /dev/null @@ -1,189 +0,0 @@ -/* - * Copyright (c) 2012-2013, 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. - */ - -&cci { - - actuator0: qcom,actuator@18 { - cell-index = <0>; - reg = <0x18 0x0>; - compatible = "qcom,actuator"; - qcom,cci-master = <0>; - }; - - actuator1: qcom,actuator@36 { - cell-index = <1>; - reg = <0x36>; - compatible = "qcom,actuator"; - qcom,cci-master = <0>; - }; - - qcom,camera@6e { - compatible = "qcom,s5k3l1yx"; - reg = <0x6e 0x0>; - qcom,slave-id = <0x6e 0x0 0x3121>; - qcom,csiphy-sd-index = <0>; - qcom,csid-sd-index = <0>; - qcom,actuator-src = <&actuator0>; - qcom,mount-angle = <90>; - qcom,sensor-name = "s5k3l1yx"; - qcom,vdd-cx-supply = <&pm8841_s2>; - qcom,vdd-cx-name = "qcom,vdd-cx"; - cam_vdig-supply = <&pm8941_l3>; - cam_vana-supply = <&pm8941_l17>; - cam_vio-supply = <&pm8941_lvs3>; - cam_vaf-supply = <&pm8941_l23>; - qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana", - "cam_vaf"; - qcom,cam-vreg-type = <0 1 0 0>; - qcom,cam-vreg-min-voltage = <1225000 0 2850000 3000000>; - qcom,cam-vreg-max-voltage = <1225000 0 2850000 3000000>; - qcom,cam-vreg-op-mode = <105000 0 80000 100000>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 15 0>, - <&msmgpio 90 0>, - <&msmgpio 89 0>; - qcom,gpio-reset = <1>; - qcom,gpio-standby = <2>; - qcom,gpio-req-tbl-num = <0 1 2>; - qcom,gpio-req-tbl-flags = <1 0 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1", - "CAM_STANDBY"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 30000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x1F>; - qcom,sensor-position = <0>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - status = "ok"; - }; - - qcom,camera@20 { - compatible = "qcom,imx135"; - reg = <0x20>; - qcom,slave-id = <0x20 0x0016 0x0135>; - qcom,csiphy-sd-index = <0>; - qcom,csid-sd-index = <0>; - qcom,mount-angle = <90>; - qcom,sensor-name = "imx135"; - qcom,actuator-src = <&actuator1>; - qcom,vdd-cx-supply = <&pm8841_s2>; - qcom,vdd-cx-name = "qcom,vdd-cx"; - cam_vdig-supply = <&pm8941_l3>; - cam_vana-supply = <&pm8941_l17>; - cam_vio-supply = <&pm8941_lvs3>; - cam_vaf-supply = <&pm8941_l23>; - qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana", - "cam_vaf"; - qcom,cam-vreg-type = <0 1 0 0>; - qcom,cam-vreg-min-voltage = <1225000 0 2850000 3000000>; - qcom,cam-vreg-max-voltage = <1225000 0 2850000 3000000>; - qcom,cam-vreg-op-mode = <105000 0 80000 100000>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 15 0>, - <&msmgpio 90 0>, - <&msmgpio 89 0>; - qcom,gpio-reset = <1>; - qcom,gpio-standby = <2>; - qcom,gpio-req-tbl-num = <0 1 2>; - qcom,gpio-req-tbl-flags = <1 0 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1", - "CAM_STANDBY"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 30000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x1F>; - qcom,sensor-position = <0>; - qcom,sensor-mode = <0>; - qcom,sensor-type = <0>; - qcom,cci-master = <0>; - status = "ok"; - }; - - qcom,camera@6c { - compatible = "qcom,ov2720"; - reg = <0x6c 0x0>; - qcom,slave-id = <0x6c 0x300A 0x2720>; - qcom,csiphy-sd-index = <2>; - qcom,csid-sd-index = <2>; - qcom,mount-angle = <90>; - qcom,sensor-name = "ov2720"; - qcom,vdd-cx-supply = <&pm8841_s2>; - qcom,vdd-cx-name = "qcom,vdd-cx"; - cam_vdig-supply = <&pm8941_l3>; - cam_vana-supply = <&pm8941_l17>; - cam_vio-supply = <&pm8941_lvs3>; - qcom,cam-vreg-name = "cam_vdig", "cam_vana", "cam_vio"; - qcom,cam-vreg-type = <0 0 1>; - qcom,cam-vreg-min-voltage = <1225000 2850000 0>; - qcom,cam-vreg-max-voltage = <1225000 2850000 0>; - qcom,cam-vreg-op-mode = <105000 80000 0>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 17 0>, - <&msmgpio 18 0>; - qcom,gpio-reset = <1>; - qcom,gpio-req-tbl-num = <0 1>; - qcom,gpio-req-tbl-flags = <1 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 4000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x7>; - qcom,sensor-position = <1>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - status = "ok"; - }; - - qcom,camera@90 { - compatible = "qcom,mt9m114"; - reg = <0x90 0x0>; - qcom,slave-id = <0x90 0x0 0x2481>; - qcom,csiphy-sd-index = <1>; - qcom,csid-sd-index = <0>; - qcom,mount-angle = <0>; - qcom,sensor-name = "mt9m114"; - qcom,vdd-cx-supply = <&pm8841_s2>; - qcom,vdd-cx-name = "qcom,vdd-cx"; - cam_vdig-supply = <&pm8941_l3>; - cam_vana-supply = <&pm8941_l17>; - cam_vio-supply = <&pm8941_lvs3>; - qcom,cam-vreg-name = "cam_vdig", "cam_vana", "cam_vio"; - qcom,cam-vreg-type = <0 0 1>; - qcom,cam-vreg-min-voltage = <1225000 2850000 0>; - qcom,cam-vreg-max-voltage = <1225000 2850000 0>; - qcom,cam-vreg-op-mode = <105000 80000 0>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 16 0>, - <&msmgpio 92 0>; - qcom,gpio-reset = <1>; - qcom,gpio-req-tbl-num = <0 1>; - qcom,gpio-req-tbl-flags = <1 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 4000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x3>; - qcom,sensor-position = <1>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8974-camera-sensor-dragonboard.dtsi b/kernel/arch/arm/boot/dts/m7300-un-v1/msm8974-camera-sensor-dragonboard.dtsi deleted file mode 100755 index e84a47d62..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8974-camera-sensor-dragonboard.dtsi +++ /dev/null @@ -1,174 +0,0 @@ -/* - * Copyright (c) 2012-2013, 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. - */ - -&cci { - - actuator0: qcom,actuator@18 { - cell-index = <0>; - reg = <0x18 0x0>; - compatible = "qcom,actuator"; - qcom,cci-master = <0>; - }; - - actuator1: qcom,actuator@36 { - cell-index = <1>; - reg = <0x36>; - compatible = "qcom,actuator"; - qcom,cci-master = <0>; - }; - - qcom,camera@6e { - compatible = "qcom,s5k3l1yx"; - reg = <0x6e 0x0>; - qcom,slave-id = <0x6e 0x0 0x3121>; - qcom,csiphy-sd-index = <0>; - qcom,csid-sd-index = <0>; - qcom,mount-angle = <0>; - qcom,actuator-src = <&actuator0>; - qcom,sensor-name = "s5k3l1yx"; - cam_vdig-supply = <&pm8941_l3>; - cam_vana-supply = <&pm8941_l17>; - cam_vio-supply = <&pm8941_lvs3>; - cam_vaf-supply = <&pm8941_l23>; - qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana", - "cam_vaf"; - qcom,cam-vreg-type = <0 1 0 0>; - qcom,cam-vreg-min-voltage = <1225000 0 2850000 3000000>; - qcom,cam-vreg-max-voltage = <1225000 0 2850000 3000000>; - qcom,cam-vreg-op-mode = <105000 0 80000 100000>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 15 0>, - <&msmgpio 90 0>; - qcom,gpio-reset = <1>; - qcom,gpio-req-tbl-num = <0 1>; - qcom,gpio-req-tbl-flags = <1 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 30000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x1F>; - qcom,sensor-position = <0>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - status = "ok"; - }; - - qcom,camera@20 { - compatible = "qcom,imx135"; - reg = <0x20>; - qcom,slave-id = <0x20 0x0016 0x0135>; - qcom,csiphy-sd-index = <0>; - qcom,csid-sd-index = <0>; - qcom,mount-angle = <0>; - qcom,sensor-name = "imx135"; - qcom,actuator-src = <&actuator1>; - cam_vdig-supply = <&pm8941_l3>; - cam_vana-supply = <&pm8941_l17>; - cam_vio-supply = <&pm8941_lvs3>; - cam_vaf-supply = <&pm8941_l23>; - qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana", - "cam_vaf"; - qcom,cam-vreg-type = <0 1 0 0>; - qcom,cam-vreg-min-voltage = <1225000 0 2850000 3000000>; - qcom,cam-vreg-max-voltage = <1225000 0 2850000 3000000>; - qcom,cam-vreg-op-mode = <105000 0 80000 100000>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 15 0>, - <&msmgpio 90 0>; - qcom,gpio-reset = <1>; - qcom,gpio-req-tbl-num = <0 1>; - qcom,gpio-req-tbl-flags = <1 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 30000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x1F>; - qcom,sensor-position = <0>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - status = "ok"; - }; - - qcom,camera@6c { - compatible = "qcom,ov2720"; - reg = <0x6c 0x0>; - qcom,slave-id = <0x6c 0x300A 0x2720>; - qcom,csiphy-sd-index = <2>; - qcom,csid-sd-index = <0>; - qcom,mount-angle = <180>; - qcom,sensor-name = "ov2720"; - cam_vdig-supply = <&pm8941_l3>; - cam_vana-supply = <&pm8941_l17>; - cam_vio-supply = <&pm8941_lvs3>; - qcom,cam-vreg-name = "cam_vdig", "cam_vana", "cam_vio"; - qcom,cam-vreg-type = <0 0 1>; - qcom,cam-vreg-min-voltage = <1225000 2850000 0>; - qcom,cam-vreg-max-voltage = <1225000 2850000 0>; - qcom,cam-vreg-op-mode = <105000 80000 0>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 17 0>, - <&msmgpio 18 0>; - qcom,gpio-reset = <1>; - qcom,gpio-req-tbl-num = <0 1>; - qcom,gpio-req-tbl-flags = <1 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 4000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x7>; - qcom,sensor-position = <1>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - status = "ok"; - }; - - qcom,camera@90 { - compatible = "qcom,mt9m114"; - reg = <0x90 0x0>; - qcom,slave-id = <0x90 0x0 0x2481>; - qcom,csiphy-sd-index = <1>; - qcom,csid-sd-index = <0>; - qcom,mount-angle = <0>; - qcom,sensor-name = "mt9m114"; - cam_vdig-supply = <&pm8941_l3>; - cam_vana-supply = <&pm8941_l17>; - cam_vio-supply = <&pm8941_lvs3>; - qcom,cam-vreg-name = "cam_vdig", "cam_vana", "cam_vio"; - qcom,cam-vreg-type = <0 0 1>; - qcom,cam-vreg-min-voltage = <1225000 2850000 0>; - qcom,cam-vreg-max-voltage = <1225000 2850000 0>; - qcom,cam-vreg-op-mode = <105000 80000 0>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 16 0>, - <&msmgpio 94 0>; - qcom,gpio-reset = <1>; - qcom,gpio-req-tbl-num = <0 1>; - qcom,gpio-req-tbl-flags = <1 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 4000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x3>; - qcom,sensor-position = <1>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8974-camera-sensor-fluid.dtsi b/kernel/arch/arm/boot/dts/m7300-un-v1/msm8974-camera-sensor-fluid.dtsi deleted file mode 100755 index f61b83a45..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8974-camera-sensor-fluid.dtsi +++ /dev/null @@ -1,190 +0,0 @@ -/* - * Copyright (c) 2012-2013, 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. - */ - -&cci { - - actuator0: qcom,actuator@18 { - cell-index = <0>; - reg = <0x18>; - compatible = "qcom,actuator"; - qcom,cci-master = <0>; - }; - - actuator1: qcom,actuator@36 { - cell-index = <1>; - reg = <0x36>; - compatible = "qcom,actuator"; - qcom,cci-master = <0>; - }; - - qcom,camera@6e { - compatible = "qcom,s5k3l1yx"; - reg = <0x6e>; - qcom,slave-id = <0x6e 0x0 0x3121>; - qcom,csiphy-sd-index = <0>; - qcom,csid-sd-index = <0>; - qcom,actuator-src = <&actuator0>; - qcom,led-flash-src = <&led_flash0>; - qcom,mount-angle = <270>; - qcom,sensor-name = "s5k3l1yx"; - qcom,vdd-cx-supply = <&pm8841_s2>; - qcom,vdd-cx-name = "qcom,vdd-cx"; - cam_vdig-supply = <&pm8941_l3>; - cam_vana-supply = <&pm8941_l17>; - cam_vio-supply = <&pm8941_lvs3>; - cam_vaf-supply = <&pm8941_l23>; - qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana", - "cam_vaf"; - qcom,cam-vreg-type = <0 1 0 0>; - qcom,cam-vreg-min-voltage = <1225000 0 2850000 3000000>; - qcom,cam-vreg-max-voltage = <1225000 0 2850000 3000000>; - qcom,cam-vreg-op-mode = <105000 0 80000 100000>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 15 0>, - <&msmgpio 90 0>, - <&msmgpio 89 0>; - qcom,gpio-reset = <1>; - qcom,gpio-standby = <2>; - qcom,gpio-req-tbl-num = <0 1 2>; - qcom,gpio-req-tbl-flags = <1 0 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1", - "CAM_STANDBY"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 30000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x1F>; - qcom,sensor-position = <0>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - status = "ok"; - }; - - qcom,camera@20 { - compatible = "qcom,imx135"; - reg = <0x20>; - qcom,slave-id = <0x20 0x0016 0x0135>; - qcom,csiphy-sd-index = <0>; - qcom,csid-sd-index = <0>; - qcom,mount-angle = <270>; - qcom,sensor-name = "imx135"; - qcom,actuator-src = <&actuator1>; - qcom,vdd-cx-supply = <&pm8841_s2>; - qcom,vdd-cx-name = "qcom,vdd-cx"; - cam_vdig-supply = <&pm8941_l3>; - cam_vana-supply = <&pm8941_l17>; - cam_vio-supply = <&pm8941_lvs3>; - cam_vaf-supply = <&pm8941_l23>; - qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana", - "cam_vaf"; - qcom,cam-vreg-type = <0 1 0 0>; - qcom,cam-vreg-min-voltage = <1225000 0 2850000 3000000>; - qcom,cam-vreg-max-voltage = <1225000 0 2850000 3000000>; - qcom,cam-vreg-op-mode = <105000 0 80000 100000>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 15 0>, - <&msmgpio 90 0>, - <&msmgpio 89 0>; - qcom,gpio-reset = <1>; - qcom,gpio-standby = <2>; - qcom,gpio-req-tbl-num = <0 1 2>; - qcom,gpio-req-tbl-flags = <1 0 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1", - "CAM_STANDBY"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 30000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x1F>; - qcom,sensor-position = <0>; - qcom,sensor-mode = <0>; - qcom,sensor-type = <0>; - qcom,cci-master = <0>; - status = "ok"; - }; - - qcom,camera@6c { - compatible = "qcom,ov2720"; - reg = <0x6c>; - qcom,slave-id = <0x6c 0x300A 0x2720>; - qcom,csiphy-sd-index = <2>; - qcom,csid-sd-index = <2>; - qcom,mount-angle = <90>; - qcom,sensor-name = "ov2720"; - qcom,vdd-cx-supply = <&pm8841_s2>; - qcom,vdd-cx-name = "qcom,vdd-cx"; - cam_vdig-supply = <&pm8941_l3>; - cam_vana-supply = <&pm8941_l17>; - cam_vio-supply = <&pm8941_lvs3>; - qcom,cam-vreg-name = "cam_vdig", "cam_vana", "cam_vio"; - qcom,cam-vreg-type = <0 0 1>; - qcom,cam-vreg-min-voltage = <1225000 2850000 0>; - qcom,cam-vreg-max-voltage = <1225000 2850000 0>; - qcom,cam-vreg-op-mode = <105000 80000 0>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 17 0>, - <&msmgpio 18 0>; - qcom,gpio-reset = <1>; - qcom,gpio-req-tbl-num = <0 1>; - qcom,gpio-req-tbl-flags = <1 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 4000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x7>; - qcom,sensor-position = <1>; - qcom,sensor-mode = <1>; - qcom,cci-master = <1>; - status = "ok"; - }; - - qcom,camera@90 { - compatible = "qcom,mt9m114"; - reg = <0x90>; - qcom,slave-id = <0x90 0x0 0x2481>; - qcom,csiphy-sd-index = <1>; - qcom,csid-sd-index = <0>; - qcom,mount-angle = <0>; - qcom,sensor-name = "mt9m114"; - qcom,vdd-cx-supply = <&pm8841_s2>; - qcom,vdd-cx-name = "qcom,vdd-cx"; - cam_vdig-supply = <&pm8941_l3>; - cam_vana-supply = <&pm8941_l17>; - cam_vio-supply = <&pm8941_lvs3>; - qcom,cam-vreg-name = "cam_vdig", "cam_vana", "cam_vio"; - qcom,cam-vreg-type = <0 0 1>; - qcom,cam-vreg-min-voltage = <1225000 2850000 0>; - qcom,cam-vreg-max-voltage = <1225000 2850000 0>; - qcom,cam-vreg-op-mode = <105000 80000 0>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 16 0>, - <&msmgpio 92 0>; - qcom,gpio-reset = <1>; - qcom,gpio-req-tbl-num = <0 1>; - qcom,gpio-req-tbl-flags = <1 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 4000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x3>; - qcom,sensor-position = <1>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8974-camera-sensor-liquid.dtsi b/kernel/arch/arm/boot/dts/m7300-un-v1/msm8974-camera-sensor-liquid.dtsi deleted file mode 100755 index cf968d208..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8974-camera-sensor-liquid.dtsi +++ /dev/null @@ -1,190 +0,0 @@ - -/* - * Copyright (c) 2012-2013, 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. - */ - -&cci { - - actuator0: qcom,actuator@18 { - cell-index = <0>; - reg = <0x18>; - compatible = "qcom,actuator"; - qcom,cci-master = <0>; - }; - - actuator1: qcom,actuator@36 { - cell-index = <1>; - reg = <0x36>; - compatible = "qcom,actuator"; - qcom,cci-master = <0>; - }; - - qcom,camera@6e { - compatible = "qcom,s5k3l1yx"; - reg = <0x6e>; - qcom,slave-id = <0x6e 0x0 0x3121>; - qcom,csiphy-sd-index = <0>; - qcom,csid-sd-index = <0>; - qcom,mount-angle = <0>; - qcom,actuator-src = <&actuator0>; - qcom,sensor-name = "s5k3l1yx"; - qcom,vdd-cx-supply = <&pm8841_s2>; - qcom,vdd-cx-name = "qcom,vdd-cx"; - cam_vdig-supply = <&pm8941_l3>; - cam_vana-supply = <&pm8941_l17>; - cam_vio-supply = <&pm8941_lvs2>; - cam_vaf-supply = <&pm8941_l23>; - qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana", - "cam_vaf"; - qcom,cam-vreg-type = <0 1 0 0>; - qcom,cam-vreg-min-voltage = <1225000 0 2850000 3000000>; - qcom,cam-vreg-max-voltage = <1225000 0 2850000 3000000>; - qcom,cam-vreg-op-mode = <105000 0 80000 100000>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 15 0>, - <&msmgpio 90 0>, - <&msmgpio 89 0>; - qcom,gpio-reset = <1>; - qcom,gpio-standby = <2>; - qcom,gpio-req-tbl-num = <0 1 2>; - qcom,gpio-req-tbl-flags = <1 0 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1", - "CAM_STANDBY"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 30000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x1F>; - qcom,sensor-position = <0>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - status = "ok"; - }; - - qcom,camera@20 { - compatible = "qcom,imx135"; - reg = <0x20>; - qcom,slave-id = <0x20 0x0016 0x0135>; - qcom,csiphy-sd-index = <0>; - qcom,csid-sd-index = <0>; - qcom,mount-angle = <0>; - qcom,sensor-name = "imx135"; - qcom,vdd-cx-supply = <&pm8841_s2>; - qcom,vdd-cx-name = "qcom,vdd-cx"; - qcom,actuator-src = <&actuator1>; - cam_vdig-supply = <&pm8941_l3>; - cam_vana-supply = <&pm8941_l17>; - cam_vio-supply = <&pm8941_lvs2>; - cam_vaf-supply = <&pm8941_l23>; - qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana", - "cam_vaf"; - qcom,cam-vreg-type = <0 1 0 0>; - qcom,cam-vreg-min-voltage = <1225000 0 2850000 3000000>; - qcom,cam-vreg-max-voltage = <1225000 0 2850000 3000000>; - qcom,cam-vreg-op-mode = <105000 0 80000 100000>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 15 0>, - <&msmgpio 90 0>, - <&msmgpio 89 0>; - qcom,gpio-reset = <1>; - qcom,gpio-standby = <2>; - qcom,gpio-req-tbl-num = <0 1 2>; - qcom,gpio-req-tbl-flags = <1 0 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1", - "CAM_STANDBY"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 30000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x1F>; - qcom,sensor-position = <0>; - qcom,sensor-mode = <0>; - qcom,sensor-type = <0>; - qcom,cci-master = <0>; - status = "ok"; - }; - - qcom,camera@6c { - compatible = "qcom,ov2720"; - reg = <0x6c>; - qcom,slave-id = <0x6c 0x300A 0x2720>; - qcom,csiphy-sd-index = <2>; - qcom,csid-sd-index = <0>; - qcom,mount-angle = <180>; - qcom,sensor-name = "ov2720"; - qcom,vdd-cx-supply = <&pm8841_s2>; - qcom,vdd-cx-name = "qcom,vdd-cx"; - cam_vdig-supply = <&pm8941_l3>; - cam_vana-supply = <&pm8941_l17>; - cam_vio-supply = <&pm8941_lvs2>; - qcom,cam-vreg-name = "cam_vdig", "cam_vana", "cam_vio"; - qcom,cam-vreg-type = <0 0 1>; - qcom,cam-vreg-min-voltage = <1225000 2850000 0>; - qcom,cam-vreg-max-voltage = <1225000 2850000 0>; - qcom,cam-vreg-op-mode = <105000 80000 0>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 17 0>, - <&msmgpio 18 0>; - qcom,gpio-reset = <1>; - qcom,gpio-req-tbl-num = <0 1>; - qcom,gpio-req-tbl-flags = <1 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 4000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x7>; - qcom,sensor-position = <1>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - status = "ok"; - }; - - qcom,camera@90 { - compatible = "qcom,mt9m114"; - reg = <0x90>; - qcom,slave-id = <0x90 0x0 0x2481>; - qcom,csiphy-sd-index = <1>; - qcom,csid-sd-index = <0>; - qcom,mount-angle = <0>; - qcom,vdd-cx-supply = <&pm8841_s2>; - qcom,vdd-cx-name = "qcom,vdd-cx"; - qcom,sensor-name = "mt9m114"; - cam_vdig-supply = <&pm8941_l3>; - cam_vana-supply = <&pm8941_l17>; - cam_vio-supply = <&pm8941_lvs2>; - qcom,cam-vreg-name = "cam_vdig", "cam_vana", "cam_vio"; - qcom,cam-vreg-type = <0 0 1>; - qcom,cam-vreg-min-voltage = <1225000 2850000 0>; - qcom,cam-vreg-max-voltage = <1225000 2850000 0>; - qcom,cam-vreg-op-mode = <105000 80000 0>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 16 0>, - <&msmgpio 92 0>; - qcom,gpio-reset = <1>; - qcom,gpio-req-tbl-num = <0 1>; - qcom,gpio-req-tbl-flags = <1 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 4000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x3>; - qcom,sensor-position = <1>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8974-camera-sensor-mtp.dtsi b/kernel/arch/arm/boot/dts/m7300-un-v1/msm8974-camera-sensor-mtp.dtsi deleted file mode 100755 index 6ad62137c..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8974-camera-sensor-mtp.dtsi +++ /dev/null @@ -1,191 +0,0 @@ -/* - * Copyright (c) 2012-2013, 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. - */ - -&cci { - - actuator0: qcom,actuator@18 { - cell-index = <0>; - reg = <0x18>; - compatible = "qcom,actuator"; - qcom,cci-master = <0>; - }; - - actuator1: qcom,actuator@36 { - cell-index = <1>; - reg = <0x36>; - compatible = "qcom,actuator"; - qcom,cci-master = <0>; - }; - - qcom,camera@6e { - compatible = "qcom,s5k3l1yx"; - reg = <0x6e>; - qcom,slave-id = <0x6e 0x0 0x3121>; - qcom,csiphy-sd-index = <0>; - qcom,csid-sd-index = <0>; - qcom,actuator-src = <&actuator0>; - qcom,led-flash-src = <&led_flash0>; - qcom,mount-angle = <90>; - qcom,sensor-name = "s5k3l1yx"; - qcom,vdd-cx-supply = <&pm8841_s2>; - qcom,vdd-cx-name = "qcom,vdd-cx"; - cam_vdig-supply = <&pm8941_l3>; - cam_vana-supply = <&pm8941_l17>; - cam_vio-supply = <&pm8941_lvs3>; - cam_vaf-supply = <&pm8941_l23>; - qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana", - "cam_vaf"; - qcom,cam-vreg-type = <0 1 0 0>; - qcom,cam-vreg-min-voltage = <1225000 0 2850000 3000000>; - qcom,cam-vreg-max-voltage = <1225000 0 2850000 3000000>; - qcom,cam-vreg-op-mode = <105000 0 80000 100000>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 15 0>, - <&msmgpio 90 0>, - <&msmgpio 89 0>; - qcom,gpio-reset = <1>; - qcom,gpio-standby = <2>; - qcom,gpio-req-tbl-num = <0 1 2>; - qcom,gpio-req-tbl-flags = <1 0 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1", - "CAM_STANDBY"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 30000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x1F>; - qcom,sensor-position = <0>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - status = "ok"; - }; - - qcom,camera@20 { - compatible = "qcom,imx135"; - reg = <0x20>; - qcom,slave-id = <0x20 0x0016 0x0135>; - qcom,csiphy-sd-index = <0>; - qcom,csid-sd-index = <0>; - qcom,mount-angle = <90>; - qcom,sensor-name = "imx135"; - qcom,vdd-cx-supply = <&pm8841_s2>; - qcom,vdd-cx-name = "qcom,vdd-cx"; - qcom,actuator-src = <&actuator1>; - cam_vdig-supply = <&pm8941_l3>; - cam_vana-supply = <&pm8941_l17>; - cam_vio-supply = <&pm8941_lvs3>; - cam_vaf-supply = <&pm8941_l23>; - qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana", - "cam_vaf"; - qcom,cam-vreg-type = <0 1 0 0>; - qcom,cam-vreg-min-voltage = <1225000 0 2850000 3000000>; - qcom,cam-vreg-max-voltage = <1225000 0 2850000 3000000>; - qcom,cam-vreg-op-mode = <105000 0 80000 100000>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 15 0>, - <&msmgpio 90 0>, - <&msmgpio 89 0>; - qcom,gpio-reset = <1>; - qcom,gpio-standby = <2>; - qcom,gpio-req-tbl-num = <0 1 2>; - qcom,gpio-req-tbl-flags = <1 0 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1", - "CAM_STANDBY"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 30000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x1F>; - qcom,sensor-position = <0>; - qcom,sensor-mode = <0>; - qcom,sensor-type = <0>; - qcom,cci-master = <0>; - status = "ok"; - }; - - - qcom,camera@6c { - compatible = "qcom,ov2720"; - reg = <0x6c>; - qcom,slave-id = <0x6c 0x300A 0x2720>; - qcom,csiphy-sd-index = <2>; - qcom,csid-sd-index = <2>; - qcom,mount-angle = <90>; - qcom,sensor-name = "ov2720"; - qcom,vdd-cx-supply = <&pm8841_s2>; - qcom,vdd-cx-name = "qcom,vdd-cx"; - cam_vdig-supply = <&pm8941_l3>; - cam_vana-supply = <&pm8941_l17>; - cam_vio-supply = <&pm8941_lvs3>; - qcom,cam-vreg-name = "cam_vdig", "cam_vana", "cam_vio"; - qcom,cam-vreg-type = <0 0 1>; - qcom,cam-vreg-min-voltage = <1225000 2850000 0>; - qcom,cam-vreg-max-voltage = <1225000 2850000 0>; - qcom,cam-vreg-op-mode = <105000 80000 0>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 17 0>, - <&msmgpio 18 0>; - qcom,gpio-reset = <1>; - qcom,gpio-req-tbl-num = <0 1>; - qcom,gpio-req-tbl-flags = <1 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 4000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x7>; - qcom,sensor-position = <1>; - qcom,sensor-mode = <1>; - qcom,cci-master = <1>; - status = "ok"; - }; - - qcom,camera@90 { - compatible = "qcom,mt9m114"; - reg = <0x90>; - qcom,slave-id = <0x90 0x0 0x2481>; - qcom,csiphy-sd-index = <1>; - qcom,csid-sd-index = <0>; - qcom,mount-angle = <0>; - qcom,sensor-name = "mt9m114"; - qcom,vdd-cx-supply = <&pm8841_s2>; - qcom,vdd-cx-name = "qcom,vdd-cx"; - cam_vdig-supply = <&pm8941_l3>; - cam_vana-supply = <&pm8941_l17>; - cam_vio-supply = <&pm8941_lvs3>; - qcom,cam-vreg-name = "cam_vdig", "cam_vana", "cam_vio"; - qcom,cam-vreg-type = <0 0 1>; - qcom,cam-vreg-min-voltage = <1225000 2850000 0>; - qcom,cam-vreg-max-voltage = <1225000 2850000 0>; - qcom,cam-vreg-op-mode = <105000 80000 0>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 16 0>, - <&msmgpio 92 0>; - qcom,gpio-reset = <1>; - qcom,gpio-req-tbl-num = <0 1>; - qcom,gpio-req-tbl-flags = <1 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 4000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x3>; - qcom,sensor-position = <1>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8974-camera.dtsi b/kernel/arch/arm/boot/dts/m7300-un-v1/msm8974-camera.dtsi deleted file mode 100755 index 786e9e381..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8974-camera.dtsi +++ /dev/null @@ -1,215 +0,0 @@ -/* - * Copyright (c) 2012-2013, 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. - */ - -/include/ "skeleton.dtsi" - -&soc { - qcom,msm-cam@fd8C0000 { - compatible = "qcom,msm-cam"; - reg = <0xfd8C0000 0x10000>; - reg-names = "msm-cam"; - }; - - qcom,csiphy@fda0ac00 { - cell-index = <0>; - compatible = "qcom,csiphy"; - reg = <0xfda0ac00 0x200>, - <0xfda00030 0x4>; - reg-names = "csiphy", "csiphy_clk_mux"; - interrupts = <0 78 0>; - interrupt-names = "csiphy"; - }; - - qcom,csiphy@fda0b000 { - cell-index = <1>; - compatible = "qcom,csiphy"; - reg = <0xfda0b000 0x200>, - <0xfda00038 0x4>; - reg-names = "csiphy", "csiphy_clk_mux"; - interrupts = <0 79 0>; - interrupt-names = "csiphy"; - }; - - qcom,csiphy@fda0b400 { - cell-index = <2>; - compatible = "qcom,csiphy"; - reg = <0xfda0b400 0x200>, - <0xfda00040 0x4>; - reg-names = "csiphy", "csiphy_clk_mux"; - interrupts = <0 80 0>; - interrupt-names = "csiphy"; - }; - - qcom,csid@fda08000 { - cell-index = <0>; - compatible = "qcom,csid"; - reg = <0xfda08000 0x100>; - reg-names = "csid"; - interrupts = <0 51 0>; - interrupt-names = "csid"; - qcom,csi-vdd-voltage = <1800000>; - qcom,mipi-csi-vdd-supply = <&pm8941_l12>; - }; - - qcom,csid@fda08400 { - cell-index = <1>; - compatible = "qcom,csid"; - reg = <0xfda08400 0x100>; - reg-names = "csid"; - interrupts = <0 52 0>; - interrupt-names = "csid"; - qcom,csi-vdd-voltage = <1800000>; - qcom,mipi-csi-vdd-supply = <&pm8941_l12>; - }; - - qcom,csid@fda08800 { - cell-index = <2>; - compatible = "qcom,csid"; - reg = <0xfda08800 0x100>; - reg-names = "csid"; - interrupts = <0 53 0>; - interrupt-names = "csid"; - qcom,csi-vdd-voltage = <1800000>; - qcom,mipi-csi-vdd-supply = <&pm8941_l12>; - }; - - qcom,csid@fda08C00 { - cell-index = <3>; - compatible = "qcom,csid"; - reg = <0xfda08C00 0x100>; - reg-names = "csid"; - interrupts = <0 54 0>; - interrupt-names = "csid"; - qcom,csi-vdd-voltage = <1800000>; - qcom,mipi-csi-vdd-supply = <&pm8941_l12>; - }; - - qcom,ispif@fda0A000 { - cell-index = <0>; - compatible = "qcom,ispif"; - reg = <0xfda0A000 0x500>, - <0xfda00020 0x10>; - reg-names = "ispif", "csi_clk_mux"; - interrupts = <0 55 0>; - interrupt-names = "ispif"; - }; - - qcom,vfe@fda10000 { - cell-index = <0>; - compatible = "qcom,vfe40"; - reg = <0xfda10000 0x1000>, - <0xfda40000 0x200>; - reg-names = "vfe", "vfe_vbif"; - interrupts = <0 57 0>; - interrupt-names = "vfe"; - vdd-supply = <&gdsc_vfe>; - }; - - qcom,vfe@fda14000 { - cell-index = <1>; - compatible = "qcom,vfe40"; - reg = <0xfda14000 0x1000>, - <0xfda40000 0x200>; - reg-names = "vfe", "vfe_vbif"; - interrupts = <0 58 0>; - interrupt-names = "vfe"; - vdd-supply = <&gdsc_vfe>; - }; - - qcom,jpeg@fda1c000 { - cell-index = <0>; - compatible = "qcom,jpeg"; - reg = <0xfda1c000 0x400>; - reg-names = "jpeg"; - interrupts = <0 59 0>; - interrupt-names = "jpeg"; - vdd-supply = <&gdsc_jpeg>; - }; - - qcom,jpeg@fda20000 { - cell-index = <1>; - compatible = "qcom,jpeg"; - reg = <0xfda20000 0x400>; - reg-names = "jpeg"; - interrupts = <0 60 0>; - interrupt-names = "jpeg"; - vdd-supply = <&gdsc_jpeg>; - }; - - qcom,jpeg@fda24000 { - cell-index = <2>; - compatible = "qcom,jpeg"; - reg = <0xfda24000 0x400>; - reg-names = "jpeg"; - interrupts = <0 61 0>; - interrupt-names = "jpeg"; - vdd-supply = <&gdsc_jpeg>; - }; - - qcom,irqrouter@fda00000 { - cell-index = <0>; - compatible = "qcom,irqrouter"; - reg = <0xfda00000 0x100>; - reg-names = "irqrouter"; - }; - - qcom,cpp@fda04000 { - cell-index = <0>; - compatible = "qcom,cpp"; - reg = <0xfda04000 0x100>, - <0xfda40000 0x200>, - <0xfda18000 0x008>; - reg-names = "cpp", "cpp_vbif", "cpp_hw"; - interrupts = <0 49 0>; - interrupt-names = "cpp"; - vdd-supply = <&gdsc_vfe>; - }; - - led_flash0: qcom,camera-led-flash { - cell-index = <0>; - compatible = "qcom,camera-led-flash"; - qcom,flash-type = <1>; - qcom,flash-source = <&pm8941_flash0 &pm8941_flash1>; - }; - - cci: qcom,cci@fda0C000 { - cell-index = <0>; - compatible = "qcom,cci"; - reg = <0xfda0C000 0x1000>; - #address-cells = <1>; - #size-cells = <0>; - reg-names = "cci"; - interrupts = <0 50 0>; - interrupt-names = "cci"; - gpios = <&msmgpio 19 0>, - <&msmgpio 20 0>, - <&msmgpio 21 0>, - <&msmgpio 22 0>; - qcom,gpio-tbl-num = <0 1 2 3>; - qcom,gpio-tbl-flags = <1 1 1 1>; - qcom,gpio-tbl-label = "CCI_I2C_DATA0", - "CCI_I2C_CLK0", - "CCI_I2C_DATA1", - "CCI_I2C_CLK1"; - qcom,hw-thigh = <78>; - qcom,hw-tlow = <114>; - qcom,hw-tsu-sto = <28>; - qcom,hw-tsu-sta = <28>; - qcom,hw-thd-dat = <10>; - qcom,hw-thd-sta = <77>; - qcom,hw-tbuf = <118>; - qcom,hw-scl-stretch-en = <0>; - qcom,hw-trdhld = <6>; - qcom,hw-tsp = <1>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8974-cdp.dtsi b/kernel/arch/arm/boot/dts/m7300-un-v1/msm8974-cdp.dtsi deleted file mode 100755 index 2a60df4f4..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8974-cdp.dtsi +++ /dev/null @@ -1,729 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/include/ "dsi-panel-toshiba-720p-video.dtsi" -/include/ "dsi-panel-orise-720p-video.dtsi" -/include/ "msm8974-leds.dtsi" -/include/ "msm8974-camera-sensor-cdp.dtsi" - -&soc { - serial@f991e000 { - status = "ok"; - }; - - qcom,mdss_dsi_toshiba_720p_video { - status = "ok"; - qcom,cont-splash-enabled; - }; - - qcom,mdss_dsi_orise_720p_video { - status = "disable"; - }; - - qcom,hdmi_tx@fd922100 { - status = "ok"; - }; - - i2c@f9924000 { - atmel_mxt_ts@4a { - compatible = "atmel,mxt-ts"; - reg = <0x4a>; - interrupt-parent = <&msmgpio>; - interrupts = <61 0x2>; - vdd_ana-supply = <&pm8941_l18>; - vcc_i2c-supply = <&pm8941_lvs1>; - atmel,reset-gpio = <&msmgpio 60 0x00>; - atmel,irq-gpio = <&msmgpio 61 0x00>; - atmel,panel-coords = <0 0 760 1424>; - atmel,display-coords = <0 0 720 1280>; - atmel,i2c-pull-up; - atmel,no-force-update; - atmel,cfg_1 { - atmel,family-id = <0x82>; - atmel,variant-id = <0x19>; - atmel,version = <0x10>; - atmel,build = <0xaa>; - atmel,config = [ - /* Object 6, Instance = 0 */ - 00 00 00 00 00 00 - /* Object 38, Instance = 0 */ - 15 01 00 03 0A 0C 00 00 - /* Object 7, Instance = 0 */ - 20 08 32 03 - /* Object 8, Instance = 0 */ - 0F 00 0A 0A 00 00 0A 0A 00 00 - /* Object 9, Instance = 0 */ - 83 00 00 18 0E 00 70 46 02 01 - 00 0A 03 31 04 05 0A 0A 90 05 - F8 02 05 F1 F1 0F 00 00 08 2D - 12 06 00 00 00 01 - /* Object 15, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 - /* Object 18, Instance = 0 */ - 00 00 - /* Object 19, Instance = 0 */ - 00 00 00 00 00 00 - /* Object 23, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 - /* Object 25, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 - /* Object 40, Instance = 0 */ - 00 00 00 00 00 - /* Object 42, Instance = 0 */ - 33 1E 19 10 80 00 00 00 FF 00 - /* Object 46, Instance = 0 */ - 00 00 10 10 00 00 03 00 00 01 - /* Object 47, Instance = 0 */ - 08 0A 28 0A 02 0A 00 8C 00 20 - 00 00 00 - /* Object 55, Instance = 0 */ - 00 00 00 00 00 00 - /* Object 56, Instance = 0 */ - 00 00 00 18 05 05 05 05 05 05 - 05 05 05 05 05 05 05 05 05 05 - 05 05 05 05 05 05 05 05 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 - /* Object 57, Instance = 0 */ - 00 00 00 - /* Object 61, Instance = 0 */ - 00 00 00 00 00 - /* Object 62, Instance = 0 */ - 01 2A 00 16 00 00 00 00 0B 01 - 02 03 04 08 00 00 08 10 18 05 - 00 0A 05 05 50 14 19 34 1A 7F - 00 00 00 00 00 00 00 00 00 30 - 05 02 00 01 00 05 00 00 00 00 - 00 00 00 00 - ]; - }; - }; - }; - - gen-vkeys { - compatible = "qcom,gen-vkeys"; - label = "atmel_mxt_ts"; - qcom,disp-maxx = <720>; - qcom,disp-maxy = <1280>; - qcom,panel-maxx = <760>; - qcom,panel-maxy = <1424>; - qcom,key-codes = <158 139 102 217>; - }; - - i2c@f9967000 { - isa1200@48 { - status = "okay"; - reg = <0x48>; - vcc_i2c-supply = <&pm8941_s3>; - compatible = "imagis,isa1200"; - label = "vibrator"; - imagis,chip-en; - imagis,smart-en; - imagis,need-pwm-clk; - imagis,ext-clk-en; - imagis,hap-en-gpio = <&msmgpio 86 0x00>; - imagis,max-timeout = <15000>; - imagis,pwm-div = <256>; - imagis,mode-ctrl = <2>; - imagis,regulator { - regulator-name = "vcc_i2c"; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - regulator-max-microamp = <9360>; - }; - }; - }; - - gpio_keys { - compatible = "gpio-keys"; - input-name = "gpio-keys"; - - camera_snapshot { - label = "camera_snapshot"; - gpios = <&pm8941_gpios 3 0x1>; - linux,input-type = <1>; - linux,code = <0x2fe>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - - camera_focus { - label = "camera_focus"; - gpios = <&pm8941_gpios 4 0x1>; - linux,input-type = <1>; - linux,code = <0x210>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - - vol_up { - label = "volume_up"; - gpios = <&pm8941_gpios 5 0x1>; - linux,input-type = <1>; - linux,code = <115>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - }; - - spi@f9923000 { - ethernet-switch@2 { - compatible = "micrel,ks8851"; - reg = <2>; - interrupt-parent = <&msmgpio>; - interrupts = <94 0>; - spi-max-frequency = <4800000>; - rst-gpio = <&pm8941_mpps 6 0>; - vdd-io-supply = <&spi_eth_vreg>; - vdd-phy-supply = <&spi_eth_vreg>; - }; - }; - - sound { - qcom,model = "msm8974-taiko-cdp-snd-card"; - qcom,hdmi-audio-rx; - qcom,us-euro-gpios = <&pm8941_gpios 20 0>; - qcom,cdc-micbias2-headset-only; - }; - - usb2_otg_sw: regulator-tpd4s214 { - compatible = "regulator-fixed"; - regulator-name = "usb2_otg_sw"; - gpio = <&pm8941_gpios 18 0>; - parent-supply = <&pm8941_boost>; - startup-delay-us = <17000>; - enable-active-high; - }; - - hsic_host: hsic@f9a00000 { - compatible = "qcom,hsic-host"; - reg = <0xf9a00000 0x400>; - #address-cells = <0>; - interrupt-parent = <&hsic_host>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 136 0 - 1 &intc 0 148 0 - 2 &msmgpio 144 0x8>; - interrupt-names = "core_irq", "async_irq", "wakeup"; - HSIC_VDDCX-supply = <&pm8841_s2>; - HSIC_GDSC-supply = <&gdsc_usb_hsic>; - hsic,strobe-gpio = <&msmgpio 144 0x00>; - hsic,data-gpio = <&msmgpio 145 0x00>; - hsic,resume-gpio = <&msmgpio 80 0x00>; - hsic,ignore-cal-pad-config; - hsic,strobe-pad-offset = <0x2050>; - hsic,data-pad-offset = <0x2054>; - - qcom,msm-bus,name = "hsic"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <85 512 0 0>, - <85 512 40000 160000>; - }; - - wlan0: qca,wlan { - compatible = "qca,ar6004-hsic"; - qcom,msm-bus,name = "wlan"; - qcom,msm-bus,num-cases = <5>; - qcom,msm-bus,active-only = <0>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <85 512 0 0>, - <85 512 40000 160000>, - <85 512 40000 320000>, - <85 512 40000 480000>, - <85 512 40000 800000>; - }; -}; - -&spmi_bus { - qcom,pm8941@1 { - qcom,leds@d800 { - status = "okay"; - qcom,wled_0 { - label = "wled"; - linux,name = "wled:backlight"; - linux,default-trigger = "bkl-trigger"; - qcom,cs-out-en; - qcom,op-fdbck = <1>; - qcom,default-state = "on"; - qcom,max-current = <25>; - qcom,ctrl-delay-us = <0>; - qcom,boost-curr-lim = <3>; - qcom,cp-sel = <0>; - qcom,switch-freq = <2>; - qcom,ovp-val = <2>; - qcom,num-strings = <1>; - qcom,id = <0>; - }; - }; - - qcom,leds@d900 { - status = "disabled"; - }; - - qcom,leds@da00 { - status = "disabled"; - }; - - qcom,leds@db00 { - status = "disabled"; - }; - - qcom,leds@dc00 { - status = "disabled"; - }; - - qcom,leds@dd00 { - status = "disabled"; - }; - - qcom,leds@de00 { - status = "disabled"; - }; - - qcom,leds@df00 { - status = "disabled"; - }; - - qcom,leds@e000 { - status = "disabled"; - }; - - qcom,leds@e100 { - status = "disabled"; - }; - }; -}; - -&sdcc1 { - status = "disabled"; -}; - -&sdcc2 { - #address-cells = <0>; - interrupt-parent = <&sdcc2>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 125 0 - 1 &intc 0 220 0 - 2 &msmgpio 62 0x3>; - interrupt-names = "core_irq", "bam_irq", "status_irq"; - cd-gpios = <&msmgpio 62 0x1>; - wp-gpios = <&pm8941_gpios 29 0x1>; - status = "disabled"; -}; - -&sdhc_1 { - vdd-supply = <&pm8941_l20>; - vdd-io-supply = <&pm8941_s3>; - - qcom,vdd-always-on; - qcom,vdd-lpm-sup; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <800 500000>; - - qcom,vdd-io-always-on; - qcom,vdd-io-voltage-level = <1800000 1800000>; - qcom,vdd-io-current-level = <250 154000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,nonremovable; - status = "ok"; -}; - -&sdhc_2 { - #address-cells = <0>; - interrupt-parent = <&sdhc_2>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 125 0 - 1 &intc 0 221 0 - 2 &msmgpio 62 0x3>; - interrupt-names = "hc_irq", "pwr_irq", "status_irq"; - cd-gpios = <&msmgpio 62 0x1>; - - vdd-supply = <&pm8941_l21>; - vdd-io-supply = <&pm8941_l13>; - - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <9000 800000>; - - qcom,vdd-io-voltage-level = <1800000 2950000>; - qcom,vdd-io-current-level = <6 22000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - status = "ok"; -}; - -/* Drive strength recommendations for clock line from hardware team is 10 mA. - * But since the driver has been been using the below values from the start - * without any problems, continue to use those. - */ -&sdcc1 { - qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */ -}; - -&sdcc2 { - qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */ -}; - -&sdhc_1 { - qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */ -}; - -&sdhc_2 { - qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */ -}; - -&uart7 { - status = "ok"; - qcom,tx-gpio = <&msmgpio 41 0x00>; - qcom,rx-gpio = <&msmgpio 42 0x00>; - qcom,cts-gpio = <&msmgpio 43 0x00>; - qcom,rfr-gpio = <&msmgpio 44 0x00>; -}; - -&usb3 { - qcom,otg-capability; -}; - -&pm8941_chg { - status = "ok"; - - qcom,chgr@1000 { - status = "ok"; - }; - - qcom,buck@1100 { - status = "ok"; - }; - - qcom,usb-chgpth@1300 { - status = "ok"; - }; - - qcom,dc-chgpth@1400 { - status = "ok"; - }; - - qcom,boost@1500 { - status = "ok"; - }; - - qcom,chg-misc@1600 { - status = "ok"; - }; -}; - -&pm8941_gpios { - gpio@c000 { /* GPIO 1 */ - }; - - gpio@c100 { /* GPIO 2 */ - }; - - gpio@c200 { /* GPIO 3 */ - qcom,mode = <0>; - qcom,pull = <0>; - qcom,vin-sel = <2>; - qcom,src-sel = <0>; - }; - - gpio@c300 { /* GPIO 4 */ - qcom,mode = <0>; - qcom,pull = <0>; - qcom,vin-sel = <2>; - qcom,src-sel = <0>; - }; - - gpio@c400 { /* GPIO 5 */ - qcom,mode = <0>; - qcom,pull = <0>; - qcom,vin-sel = <2>; - qcom,src-sel = <0>; - }; - - gpio@c500 { /* GPIO 6 */ - }; - - gpio@c600 { /* GPIO 7 */ - }; - - gpio@c700 { /* GPIO 8 */ - }; - - gpio@c800 { /* GPIO 9 */ - }; - - gpio@c900 { /* GPIO 10 */ - }; - - gpio@ca00 { /* GPIO 11 */ - }; - - gpio@cb00 { /* GPIO 12 */ - }; - - gpio@cc00 { /* GPIO 13 */ - }; - - gpio@cd00 { /* GPIO 14 */ - }; - - gpio@ce00 { /* GPIO 15 */ - qcom,mode = <1>; - qcom,output-type = <0>; - qcom,pull = <5>; - qcom,vin-sel = <2>; - qcom,out-strength = <1>; - qcom,src-sel = <2>; - qcom,master-en = <1>; - }; - - gpio@cf00 { /* GPIO 16 */ - qcom,mode = <1>; - qcom,output-type = <0>; - qcom,pull = <2>; - qcom,vin-sel = <2>; - qcom,out-strength = <2>; - qcom,src-sel = <2>; - qcom,master-en = <1>; - }; - - gpio@d000 { /* GPIO 17 */ - }; - - gpio@d100 { /* GPIO 18 */ - /* usb2_otg_sw regulator enable */ - qcom,mode = <1>; /* Digital output */ - qcom,output-type = <0>; /* CMOS logic */ - qcom,invert = <0>; /* Output low initially */ - qcom,vin-sel = <2>; /* PM8941 S3 = 1.8 V */ - qcom,src-sel = <0>; /* Constant */ - qcom,out-strength = <2>; /* Medium drive strength */ - qcom,master-en = <1>; /* Enable GPIO */ - }; - - gpio@d200 { /* GPIO 19 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,output-type = <0>; /* QPNP_PIN_OUT_BUF_CMOS */ - qcom,pull = <5>; /* QPNP_PIN_PULL_NO */ - qcom,vin-sel = <2>; /* QPNP_PIN_VIN2 */ - qcom,out-strength = <2>; /* QPNP_PIN_OUT_STRENGTH_MED */ - qcom,src-sel = <0>; /* QPNP_PIN_SEL_FUNC_CONSTANT */ - qcom,master-en = <1>; - }; - - gpio@d300 { /* GPIO 20 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,output-type = <0>; /* QPNP_PIN_OUT_BUF_CMOS */ - qcom,invert = <0>; /* Output low initially */ - qcom,pull = <5>; /* QPNP_PIN_PULL_NO */ - qcom,vin-sel = <2>; /* QPNP_PIN_VIN2 */ - qcom,out-strength = <2>; /* QPNP_PIN_OUT_STRENGTH_MED */ - qcom,src-sel = <0>; /* QPNP_PIN_SEL_FUNC_CONSTANT */ - qcom,master-en = <1>; - }; - - gpio@d400 { /* GPIO 21 */ - }; - - gpio@d500 { /* GPIO 22 */ - }; - - gpio@d600 { /* GPIO 23 */ - }; - - gpio@d700 { /* GPIO 24 */ - }; - - gpio@d800 { /* GPIO 25 */ - }; - - gpio@d900 { /* GPIO 26 */ - }; - - gpio@da00 { /* GPIO 27 */ - }; - - gpio@db00 { /* GPIO 28 */ - }; - - gpio@dc00 { /* GPIO 29 */ - qcom,pull = <0>; /* set to default pull */ - qcom,master-en = <1>; - qcom,vin-sel = <2>; /* select 1.8 V source */ - }; - - gpio@dd00 { /* GPIO 30 */ - }; - - gpio@de00 { /* GPIO 31 */ - }; - - gpio@df00 { /* GPIO 32 */ - }; - - gpio@e000 { /* GPIO 33 */ - }; - - gpio@e100 { /* GPIO 34 */ - }; - - gpio@e200 { /* GPIO 35 */ - }; - - gpio@e300 { /* GPIO 36 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,output-type = <0>; /* QPNP_PIN_OUT_BUF_CMOS */ - qcom,pull = <5>; /* QPNP_PIN_PULL_NO */ - qcom,vin-sel = <2>; /* QPNP_PIN_VIN2 */ - qcom,out-strength = <3>; /* QPNP_PIN_OUT_STRENGTH_HIGH */ - qcom,src-sel = <3>; /* QPNP_PIN_SEL_FUNC_2 */ - qcom,master-en = <1>; - }; -}; - -&pm8941_mpps { - - mpp@a000 { /* MPP 1 */ - status = "disabled"; - }; - - mpp@a100 { /* MPP 2 */ - }; - - mpp@a200 { /* MPP 3 */ - }; - - mpp@a300 { /* MPP 4 */ - }; - - mpp@a400 { /* MPP 5 */ - /* SPI_ETH config */ - qcom,mode = <1>; /* DIG_OUT */ - qcom,output-type = <0>; /* CMOS */ - qcom,vin-sel = <2>; /* PM8941_S3 1.8V > 1.6V */ - qcom,src-sel = <0>; /* CONSTANT */ - qcom,master-en = <1>; /* ENABLE MPP */ - }; - - mpp@a500 { /* MPP 6 */ - /* SPI_ETH_RST config */ - qcom,mode = <1>; /* DIG_OUT */ - qcom,output-type = <0>; /* CMOS */ - qcom,vin-sel = <2>; /* PM8941_S3 1.8V > 1.6V */ - qcom,src-sel = <0>; /* CONSTANT */ - qcom,master-en = <1>; /* ENABLE MPP */ - }; - - mpp@a600 { /* MPP 7 */ - }; - - mpp@a700 { /* MPP 8 */ - }; -}; - -&pm8841_mpps { - - mpp@a000 { /* MPP 1 */ - }; - - mpp@a100 { /* MPP 2 */ - }; - - mpp@a200 { /* MPP 3 */ - }; - - mpp@a300 { /* MPP 4 */ - }; -}; - -/* CoreSight */ -&tpiu { - qcom,seta-gpios = <&msmgpio 31 0>, - <&msmgpio 32 0>, - <&msmgpio 33 0>, - <&msmgpio 34 0>, - <&msmgpio 35 0>, - <&msmgpio 36 0>, - <&msmgpio 37 0>, - <&msmgpio 38 0>, - <&msmgpio 39 0>, - <&msmgpio 40 0>, - <&msmgpio 41 0>, - <&msmgpio 42 0>, - <&msmgpio 43 0>, - <&msmgpio 44 0>, - <&msmgpio 45 0>, - <&msmgpio 46 0>, - <&msmgpio 47 0>, - <&msmgpio 48 0>; - qcom,seta-gpios-func = <4 4 4 3 4 4 4 3 4 3 5 5 5 5 4 4 5 5>; - qcom,seta-gpios-drv = <7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7>; - qcom,seta-gpios-pull = <0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0>; - qcom,seta-gpios-dir = <2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2>; - - qcom,setb-gpios = <&msmgpio 15 0>, - <&msmgpio 16 0>, - <&msmgpio 17 0>, - <&msmgpio 18 0>, - <&msmgpio 19 0>, - <&msmgpio 20 0>, - <&msmgpio 21 0>, - <&msmgpio 22 0>, - <&msmgpio 23 0>, - <&msmgpio 24 0>, - <&msmgpio 25 0>, - <&msmgpio 26 0>, - <&msmgpio 27 0>, - <&msmgpio 28 0>, - <&msmgpio 89 0>, - <&msmgpio 90 0>, - <&msmgpio 91 0>, - <&msmgpio 92 0>; - qcom,setb-gpios-func = <2 2 2 2 5 5 5 5 6 6 6 7 7 5 2 3 3 3>; - qcom,setb-gpios-drv = <7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7>; - qcom,setb-gpios-pull = <0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0>; - qcom,setb-gpios-dir = <2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2>; -}; - -&slim_msm { - taiko_codec { - qcom,cdc-micbias1-ext-cap; - qcom,cdc-micbias3-ext-cap; - qcom,cdc-micbias4-ext-cap; - - /* If boot isn't available, vph_pwr_vreg can be used instead */ - cdc-vdd-spkdrv-supply = <&pm8941_boost>; - qcom,cdc-vdd-spkdrv-voltage = <5000000 5000000>; - qcom,cdc-vdd-spkdrv-current = <1250000>; - - qcom,cdc-on-demand-supplies = "cdc-vdd-spkdrv"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8974-clock.dtsi b/kernel/arch/arm/boot/dts/m7300-un-v1/msm8974-clock.dtsi deleted file mode 100755 index bed5d70be..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8974-clock.dtsi +++ /dev/null @@ -1,27 +0,0 @@ -/* Copyright (c) 2012, 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. - */ - -&spmi_bus { - - qcom,pm8941@0 { - - pm8941_clkdiv1: clkdiv@5b00 { - qcom,cxo-div = <2>; - }; - - pm8941_clkdiv2: clkdiv@5c00 { - }; - - pm8941_clkdiv3: clkdiv@5d00 { - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8974-coresight.dtsi b/kernel/arch/arm/boot/dts/m7300-un-v1/msm8974-coresight.dtsi deleted file mode 100755 index 1610f1f43..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8974-coresight.dtsi +++ /dev/null @@ -1,381 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&soc { - tmc_etr: tmc@fc322000 { - compatible = "arm,coresight-tmc"; - reg = <0xfc322000 0x1000>, - <0xfc37c000 0x3000>; - reg-names = "tmc-base", "bam-base"; - - qcom,memory-reservation-type = "EBI1"; - qcom,memory-reservation-size = <0x100000>; /* 1M EBI1 buffer */ - - coresight-id = <0>; - coresight-name = "coresight-tmc-etr"; - coresight-nr-inports = <1>; - coresight-ctis = <&cti0 &cti8>; - }; - - tpiu: tpiu@fc318000 { - compatible = "arm,coresight-tpiu"; - reg = <0xfc318000 0x1000>; - reg-names = "tpiu-base"; - - coresight-id = <1>; - coresight-name = "coresight-tpiu"; - coresight-nr-inports = <1>; - - vdd-supply = <&pm8941_l21>; - - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <9000 800000>; - }; - - replicator: replicator@fc31c000 { - compatible = "qcom,coresight-replicator"; - reg = <0xfc31c000 0x1000>; - reg-names = "replicator-base"; - - coresight-id = <2>; - coresight-name = "coresight-replicator"; - coresight-nr-inports = <1>; - coresight-outports = <0 1>; - coresight-child-list = <&tmc_etr &tpiu>; - coresight-child-ports = <0 0>; - }; - - tmc_etf: tmc@fc307000 { - compatible = "arm,coresight-tmc"; - reg = <0xfc307000 0x1000>; - reg-names = "tmc-base"; - - coresight-id = <3>; - coresight-name = "coresight-tmc-etf"; - coresight-nr-inports = <1>; - coresight-outports = <0>; - coresight-child-list = <&replicator>; - coresight-child-ports = <0>; - coresight-default-sink; - coresight-ctis = <&cti0 &cti8>; - }; - - funnel_merg: funnel@fc31b000 { - compatible = "arm,coresight-funnel"; - reg = <0xfc31b000 0x1000>; - reg-names = "funnel-base"; - - coresight-id = <4>; - coresight-name = "coresight-funnel-merg"; - coresight-nr-inports = <2>; - coresight-outports = <0>; - coresight-child-list = <&tmc_etf>; - coresight-child-ports = <0>; - }; - - funnel_in0: funnel@fc319000 { - compatible = "arm,coresight-funnel"; - reg = <0xfc319000 0x1000>; - reg-names = "funnel-base"; - - coresight-id = <5>; - coresight-name = "coresight-funnel-in0"; - coresight-nr-inports = <8>; - coresight-outports = <0>; - coresight-child-list = <&funnel_merg>; - coresight-child-ports = <0>; - }; - - funnel_in1: funnel@fc31a000 { - compatible = "arm,coresight-funnel"; - reg = <0xfc31a000 0x1000>; - reg-names = "funnel-base"; - - coresight-id = <6>; - coresight-name = "coresight-funnel-in1"; - coresight-nr-inports = <8>; - coresight-outports = <0>; - coresight-child-list = <&funnel_merg>; - coresight-child-ports = <1>; - }; - - funnel_kpss: funnel@fc345000 { - compatible = "arm,coresight-funnel"; - reg = <0xfc345000 0x1000>; - reg-names = "funnel-base"; - - coresight-id = <7>; - coresight-name = "coresight-funnel-kpss"; - coresight-nr-inports = <4>; - coresight-outports = <0>; - coresight-child-list = <&funnel_in1>; - coresight-child-ports = <5>; - }; - - funnel_mmss: funnel@fc364000 { - compatible = "arm,coresight-funnel"; - reg = <0xfc364000 0x1000>; - reg-names = "funnel-base"; - - - coresight-id = <8>; - coresight-name = "coresight-funnel-mmss"; - coresight-nr-inports = <8>; - coresight-outports = <0>; - coresight-child-list = <&funnel_in1>; - coresight-child-ports = <1>; - }; - - stm: stm@fc321000 { - compatible = "arm,coresight-stm"; - reg = <0xfc321000 0x1000>, - <0xfa280000 0x180000>; - reg-names = "stm-base", "stm-data-base"; - - coresight-id = <9>; - coresight-name = "coresight-stm"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_in1>; - coresight-child-ports = <7>; - }; - - etm0: etm@fc33c000 { - compatible = "arm,coresight-etm"; - reg = <0xfc33c000 0x1000>; - reg-names = "etm-base"; - - coresight-id = <10>; - coresight-name = "coresight-etm0"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_kpss>; - coresight-child-ports = <0>; - - qcom,pc-save; - qcom,round-robin; - }; - - etm1: etm@fc33d000 { - compatible = "arm,coresight-etm"; - reg = <0xfc33d000 0x1000>; - reg-names = "etm-base"; - - coresight-id = <11>; - coresight-name = "coresight-etm1"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_kpss>; - coresight-child-ports = <1>; - - qcom,pc-save; - qcom,round-robin; - }; - - etm2: etm@fc33e000 { - compatible = "arm,coresight-etm"; - reg = <0xfc33e000 0x1000>; - reg-names = "etm-base"; - - coresight-id = <12>; - coresight-name = "coresight-etm2"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_kpss>; - coresight-child-ports = <2>; - - qcom,pc-save; - qcom,round-robin; - }; - - etm3: etm@fc33f000 { - compatible = "arm,coresight-etm"; - reg = <0xfc33f000 0x1000>; - reg-names = "etm-base"; - - coresight-id = <13>; - coresight-name = "coresight-etm3"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_kpss>; - coresight-child-ports = <3>; - - qcom,pc-save; - qcom,round-robin; - }; - - csr: csr@fc302000 { - compatible = "qcom,coresight-csr"; - reg = <0xfc302000 0x1000>; - reg-names = "csr-base"; - - coresight-id = <14>; - coresight-name = "coresight-csr"; - coresight-nr-inports = <0>; - - qcom,blk-size = <3>; - }; - - cti0: cti@fc308000 { - compatible = "arm,coresight-cti"; - reg = <0xfc308000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <15>; - coresight-name = "coresight-cti0"; - coresight-nr-inports = <0>; - }; - - cti1: cti@fc309000 { - compatible = "arm,coresight-cti"; - reg = <0xfc309000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <16>; - coresight-name = "coresight-cti1"; - coresight-nr-inports = <0>; - }; - - cti2: cti@fc30a000 { - compatible = "arm,coresight-cti"; - reg = <0xfc30a000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <17>; - coresight-name = "coresight-cti2"; - coresight-nr-inports = <0>; - }; - - cti3: cti@fc30b000 { - compatible = "arm,coresight-cti"; - reg = <0xfc30b000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <18>; - coresight-name = "coresight-cti3"; - coresight-nr-inports = <0>; - }; - - cti4: cti@fc30c000 { - compatible = "arm,coresight-cti"; - reg = <0xfc30c000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <19>; - coresight-name = "coresight-cti4"; - coresight-nr-inports = <0>; - }; - - cti5: cti@fc30d000 { - compatible = "arm,coresight-cti"; - reg = <0xfc30d000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <20>; - coresight-name = "coresight-cti5"; - coresight-nr-inports = <0>; - }; - - cti6: cti@fc30e000 { - compatible = "arm,coresight-cti"; - reg = <0xfc30e000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <21>; - coresight-name = "coresight-cti6"; - coresight-nr-inports = <0>; - }; - - cti7: cti@fc30f000 { - compatible = "arm,coresight-cti"; - reg = <0xfc30f000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <22>; - coresight-name = "coresight-cti7"; - coresight-nr-inports = <0>; - }; - - cti8: cti@fc310000 { - compatible = "arm,coresight-cti"; - reg = <0xfc310000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <23>; - coresight-name = "coresight-cti8"; - coresight-nr-inports = <0>; - }; - - cti_l2: cti@fc340000 { - compatible = "arm,coresight-cti"; - reg = <0xfc340000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <24>; - coresight-name = "coresight-cti-l2"; - coresight-nr-inports = <0>; - }; - - cti_cpu0: cti@fc341000 { - compatible = "arm,coresight-cti"; - reg = <0xfc341000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <25>; - coresight-name = "coresight-cti-cpu0"; - coresight-nr-inports = <0>; - }; - - cti_cpu1: cti@fc342000 { - compatible = "arm,coresight-cti"; - reg = <0xfc342000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <26>; - coresight-name = "coresight-cti-cpu1"; - coresight-nr-inports = <0>; - }; - - cti_cpu2: cti@fc343000 { - compatible = "arm,coresight-cti"; - reg = <0xfc343000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <27>; - coresight-name = "coresight-cti-cpu2"; - coresight-nr-inports = <0>; - }; - - cti_cpu3: cti@fc344000 { - compatible = "arm,coresight-cti"; - reg = <0xfc344000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <28>; - coresight-name = "coresight-cti-cpu3"; - coresight-nr-inports = <0>; - }; - - hwevent: hwevent@fdf30018 { - compatible = "qcom,coresight-hwevent"; - reg = <0xfdf30018 0x80>, - <0xf9011080 0x80>, - <0xfd4ab160 0x80>; - reg-names = "mmss-mux", "apcs-mux", "ppss-mux"; - - coresight-id = <29>; - coresight-name = "coresight-hwevent"; - coresight-nr-inports = <0>; - - qcom,hwevent-clks = "core_mmss_clk"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8974-fluid.dtsi b/kernel/arch/arm/boot/dts/m7300-un-v1/msm8974-fluid.dtsi deleted file mode 100755 index a822af5fa..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8974-fluid.dtsi +++ /dev/null @@ -1,667 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/include/ "dsi-panel-toshiba-720p-video.dtsi" -/include/ "msm8974-camera-sensor-fluid.dtsi" -/include/ "msm8974-leds.dtsi" - -&soc { - serial@f991e000 { - status = "ok"; - }; - - qcom,mdss_dsi_toshiba_720p_video { - status = "ok"; - qcom,cont-splash-enabled; - }; - - qcom,hdmi_tx@fd922100 { - status = "ok"; - }; - - i2c@f9924000 { - atmel_mxt_ts@4a { - compatible = "atmel,mxt-ts"; - reg = <0x4a>; - interrupt-parent = <&msmgpio>; - interrupts = <61 0x2>; - vdd_ana-supply = <&pm8941_l18>; - vcc_i2c-supply = <&pm8941_lvs1>; - atmel,reset-gpio = <&msmgpio 60 0x00>; - atmel,irq-gpio = <&msmgpio 61 0x00>; - atmel,panel-coords = <0 0 760 1424>; - atmel,display-coords = <0 0 720 1280>; - atmel,i2c-pull-up; - atmel,no-force-update; - atmel,cfg_1 { - atmel,family-id = <0x82>; - atmel,variant-id = <0x19>; - atmel,version = <0x10>; - atmel,build = <0xaa>; - atmel,config = [ - /* Object 6, Instance = 0 */ - 00 00 00 00 00 00 - /* Object 38, Instance = 0 */ - 15 01 00 03 0A 0C 00 00 - /* Object 7, Instance = 0 */ - 20 08 32 03 - /* Object 8, Instance = 0 */ - 0F 00 0A 0A 00 00 0A 0A 00 00 - /* Object 9, Instance = 0 */ - 83 00 00 18 0E 00 70 46 02 01 - 00 0A 03 31 04 05 0A 0A 90 05 - F8 02 05 F1 F1 0F 00 00 08 2D - 12 06 00 00 00 01 - /* Object 15, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 - /* Object 18, Instance = 0 */ - 00 00 - /* Object 19, Instance = 0 */ - 00 00 00 00 00 00 - /* Object 23, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 - /* Object 25, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 - /* Object 40, Instance = 0 */ - 00 00 00 00 00 - /* Object 42, Instance = 0 */ - 33 1E 19 10 80 00 00 00 FF 00 - /* Object 46, Instance = 0 */ - 00 00 10 10 00 00 03 00 00 01 - /* Object 47, Instance = 0 */ - 08 0A 28 0A 02 0A 00 8C 00 20 - 00 00 00 - /* Object 55, Instance = 0 */ - 00 00 00 00 00 00 - /* Object 56, Instance = 0 */ - 00 00 00 18 05 05 05 05 05 05 - 05 05 05 05 05 05 05 05 05 05 - 05 05 05 05 05 05 05 05 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 - /* Object 57, Instance = 0 */ - 00 00 00 - /* Object 61, Instance = 0 */ - 00 00 00 00 00 - /* Object 62, Instance = 0 */ - 01 2A 00 16 00 00 00 00 0B 01 - 02 03 04 08 00 00 08 10 18 05 - 00 0A 05 05 50 14 19 34 1A 7F - 00 00 00 00 00 00 00 00 00 30 - 05 02 00 01 00 05 00 00 00 00 - 00 00 00 00 - ]; - }; - }; - }; - - i2c@f9967000 { - sii8334@72 { - compatible = "qcom,mhl-sii8334"; - reg = <0x72>; - interrupt-parent = <&msmgpio>; - interrupts = <82 0x8>; - mhl-intr-gpio = <&msmgpio 82 0>; - mhl-pwr-gpio = <&msmgpio 12 0>; - mhl-rst-gpio = <&pm8941_mpps 8 0>; - avcc_18-supply = <&pm8941_l24>; - avcc_12-supply = <&pm8941_l2>; - smps3a-supply = <&pm8941_s3>; - vdda-supply = <&pm8941_l12>; - qcom,hdmi-tx-map = <&mdss_hdmi_tx>; - }; - - isa1200@48 { - status = "okay"; - reg = <0x48>; - vcc_i2c-supply = <&pm8941_s3>; - compatible = "imagis,isa1200"; - label = "vibrator"; - imagis,chip-en; - imagis,need-pwm-clk; - imagis,ext-clk-en; - imagis,hap-en-gpio = <&msmgpio 86 0x00>; - imagis,max-timeout = <15000>; - imagis,pwm-div = <256>; - imagis,mode-ctrl = <2>; - imagis,regulator { - regulator-name = "vcc_i2c"; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - regulator-max-microamp = <9360>; - }; - }; - }; - - gen-vkeys { - compatible = "qcom,gen-vkeys"; - label = "atmel_mxt_ts"; - qcom,disp-maxx = <720>; - qcom,disp-maxy = <1280>; - qcom,panel-maxx = <760>; - qcom,panel-maxy = <1424>; - qcom,key-codes = <158 139 102 217>; - }; - - gpio_keys { - compatible = "gpio-keys"; - input-name = "gpio-keys"; - - camera_snapshot { - label = "camera_snapshot"; - gpios = <&pm8941_gpios 3 0x1>; - linux,input-type = <1>; - linux,code = <0x2fe>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - - camera_focus { - label = "camera_focus"; - gpios = <&pm8941_gpios 4 0x1>; - linux,input-type = <1>; - linux,code = <0x210>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - - vol_up { - label = "volume_up"; - gpios = <&pm8941_gpios 5 0x1>; - linux,input-type = <1>; - linux,code = <115>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - }; - - spi@f9923000 { - ethernet-switch@2 { - compatible = "micrel,ks8851"; - reg = <2>; - interrupt-parent = <&msmgpio>; - interrupts = <94 0>; - spi-max-frequency = <4800000>; - rst-gpio = <&pm8941_mpps 6 0>; - vdd-io-supply = <&spi_eth_vreg>; - vdd-phy-supply = <&spi_eth_vreg>; - }; - }; - - sound { - qcom,model = "msm8974-taiko-fluid-snd-card"; - qcom,audio-routing = - "RX_BIAS", "MCLK", - "LDO_H", "MCLK", - "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", - "Lineout_1 amp", "LINEOUT1", - "Lineout_3 amp", "LINEOUT3"; - - qcom,hdmi-audio-rx; - qcom,ext-ult-lo-amp-gpio = <&pm8941_gpios 6 0>; - qcom,cdc-micbias2-headset-only; - }; -}; - -&slim_msm { - taiko_codec { - qcom,cdc-micbias1-ext-cap; - qcom,cdc-micbias2-ext-cap; - qcom,cdc-micbias3-ext-cap; - qcom,cdc-micbias4-ext-cap; - - /* If boot isn't available, vph_pwr_vreg can be used instead */ - cdc-vdd-spkdrv-supply = <&pm8941_boost>; - qcom,cdc-vdd-spkdrv-voltage = <5000000 5000000>; - qcom,cdc-vdd-spkdrv-current = <1250000>; - - qcom,cdc-on-demand-supplies = "cdc-vdd-spkdrv"; - }; -}; - -&spmi_bus { - qcom,pm8941@1 { - qcom,leds@d800 { - status = "okay"; - qcom,wled_0 { - label = "wled"; - linux,name = "wled:backlight"; - linux,default-trigger = "bkl-trigger"; - qcom,cs-out-en; - qcom,op-fdbck = <1>; - qcom,default-state = "on"; - qcom,max-current = <25>; - qcom,ctrl-delay-us = <0>; - qcom,boost-curr-lim = <3>; - qcom,cp-sel = <0>; - qcom,switch-freq = <2>; - qcom,ovp-val = <2>; - qcom,num-strings = <1>; - qcom,id = <0>; - }; - }; - - qcom,leds@d900 { - status = "disabled"; - }; - - qcom,leds@da00 { - status = "disabled"; - }; - - qcom,leds@db00 { - status = "disabled"; - }; - - qcom,leds@dc00 { - status = "disabled"; - }; - - qcom,leds@dd00 { - status = "disabled"; - }; - - qcom,leds@de00 { - status = "disabled"; - }; - - qcom,leds@df00 { - status = "disabled"; - }; - - qcom,leds@e000 { - status = "disabled"; - }; - - qcom,leds@e100 { - status = "disabled"; - }; - }; -}; - -&sdcc1 { - status = "disabled"; -}; - -&sdcc2 { - #address-cells = <0>; - interrupt-parent = <&sdcc2>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 125 0 - 1 &intc 0 220 0 - 2 &msmgpio 62 0x3>; - interrupt-names = "core_irq", "bam_irq", "status_irq"; - cd-gpios = <&msmgpio 62 0x1>; - status = "disabled"; -}; - -&sdhc_1 { - vdd-supply = <&pm8941_l20>; - vdd-io-supply = <&pm8941_s3>; - - qcom,vdd-always-on; - qcom,vdd-lpm-sup; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <800 500000>; - - qcom,vdd-io-always-on; - qcom,vdd-io-voltage-level = <1800000 1800000>; - qcom,vdd-io-current-level = <250 154000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,nonremovable; - status = "ok"; -}; - -&sdhc_2 { - #address-cells = <0>; - interrupt-parent = <&sdhc_2>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 125 0 - 1 &intc 0 221 0 - 2 &msmgpio 62 0x3>; - interrupt-names = "hc_irq", "pwr_irq", "status_irq"; - cd-gpios = <&msmgpio 62 0x1>; - - vdd-supply = <&pm8941_l21>; - vdd-io-supply = <&pm8941_l13>; - - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <9000 800000>; - - qcom,vdd-io-voltage-level = <1800000 2950000>; - qcom,vdd-io-current-level = <6 22000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - status = "ok"; -}; - -/* Drive strength recommendations for clock line from hardware team is 10 mA. - * But since the driver has been been using the below values from the start - * without any problems, continue to use those. - */ -&sdcc1 { - qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */ -}; - -&sdcc2 { - qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */ -}; - -&sdhc_1 { - qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */ -}; - -&sdhc_2 { - qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */ -}; - -&usb3 { - qcom,otg-capability; -}; - -&pm8941_bms { - status = "ok"; -}; - -&pm8941_chg { - status = "ok"; - qcom,charging-disabled; - - qcom,chgr@1000 { - status = "ok"; - }; - - qcom,buck@1100 { - status = "ok"; - }; - - qcom,bat-if@1200 { - status = "ok"; - }; - - qcom,usb-chgpth@1300 { - status = "ok"; - }; - - qcom,dc-chgpth@1400 { - status = "ok"; - }; - - qcom,boost@1500 { - status = "ok"; - }; - - qcom,chg-misc@1600 { - status = "ok"; - }; -}; - -&pm8941_gpios { - gpio@c000 { /* GPIO 1 */ - }; - - gpio@c100 { /* GPIO 2 */ - }; - - gpio@c200 { /* GPIO 3 */ - qcom,mode = <0>; - qcom,pull = <0>; - qcom,vin-sel = <2>; - qcom,src-sel = <0>; - }; - - gpio@c300 { /* GPIO 4 */ - qcom,mode = <0>; - qcom,pull = <0>; - qcom,vin-sel = <2>; - qcom,src-sel = <0>; - }; - - gpio@c400 { /* GPIO 5 */ - qcom,mode = <0>; - qcom,pull = <0>; - qcom,vin-sel = <2>; - qcom,src-sel = <0>; - }; - - gpio@c500 { /* GPIO 6 */ - }; - - gpio@c600 { /* GPIO 7 */ - }; - - gpio@c700 { /* GPIO 8 */ - }; - - gpio@c800 { /* GPIO 9 */ - }; - - gpio@c900 { /* GPIO 10 */ - }; - - gpio@ca00 { /* GPIO 11 */ - }; - - gpio@cb00 { /* GPIO 12 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,output-type = <0>; /* QPNP_PIN_OUT_BUF_CMOS */ - qcom,pull = <5>; /* QPNP_PIN_PULL_NO */ - qcom,vin-sel = <2>; /* QPNP_PIN_VIN2 */ - qcom,out-strength = <2>; /* QPNP_PIN_OUT_STRENGTH_MED */ - qcom,src-sel = <0>; /* QPNP_PIN_SEL_FUNC_CONSTANT */ - qcom,master-en = <1>; - }; - - gpio@cc00 { /* GPIO 13 */ - }; - - gpio@cd00 { /* GPIO 14 */ - }; - - gpio@ce00 { /* GPIO 15 */ - qcom,mode = <1>; - qcom,output-type = <0>; - qcom,pull = <5>; - qcom,vin-sel = <2>; - qcom,out-strength = <1>; - qcom,src-sel = <2>; - qcom,master-en = <1>; - }; - - gpio@cf00 { /* GPIO 16 */ - qcom,mode = <1>; - qcom,output-type = <0>; - qcom,pull = <5>; - qcom,vin-sel = <2>; - qcom,out-strength = <3>; - qcom,src-sel = <2>; - qcom,master-en = <1>; - }; - - gpio@d000 { /* GPIO 17 */ - }; - - gpio@d100 { /* GPIO 18 */ - }; - - gpio@d200 { /* GPIO 19 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,output-type = <0>; /* QPNP_PIN_OUT_BUF_CMOS */ - qcom,pull = <5>; /* QPNP_PIN_PULL_NO */ - qcom,vin-sel = <2>; /* QPNP_PIN_VIN2 */ - qcom,out-strength = <2>; /* QPNP_PIN_OUT_STRENGTH_MED */ - qcom,src-sel = <0>; /* QPNP_PIN_SEL_FUNC_CONSTANT */ - qcom,master-en = <1>; - }; - - gpio@d300 { /* GPIO 20 */ - }; - - gpio@d400 { /* GPIO 21 */ - }; - - gpio@d500 { /* GPIO 22 */ - }; - - gpio@d600 { /* GPIO 23 */ - }; - - gpio@d700 { /* GPIO 24 */ - }; - - gpio@d800 { /* GPIO 25 */ - }; - - gpio@d900 { /* GPIO 26 */ - }; - - gpio@da00 { /* GPIO 27 */ - }; - - gpio@db00 { /* GPIO 28 */ - }; - - gpio@dc00 { /* GPIO 29 */ - qcom,pull = <0>; /* set to default pull */ - qcom,master-en = <1>; - qcom,vin-sel = <2>; /* select 1.8 V source */ - }; - - gpio@dd00 { /* GPIO 30 */ - }; - - gpio@de00 { /* GPIO 31 */ - }; - - gpio@df00 { /* GPIO 32 */ - }; - - gpio@e000 { /* GPIO 33 */ - }; - - gpio@e100 { /* GPIO 34 */ - }; - - gpio@e200 { /* GPIO 35 */ - }; - - gpio@e300 { /* GPIO 36 */ - }; -}; - -&pm8941_mpps { - - mpp@a000 { /* MPP 1 */ - status = "disabled"; - }; - - mpp@a100 { /* MPP 2 */ - }; - - mpp@a200 { /* MPP 3 */ - }; - - mpp@a300 { /* MPP 4 */ - }; - - mpp@a400 { /* MPP 5 */ - }; - - mpp@a500 { /* MPP 6 */ - /* SPI_ETH_RST config */ - qcom,mode = <1>; /* DIG_OUT */ - qcom,output-type = <0>; /* CMOS */ - qcom,vin-sel = <2>; /* PM8941_S3 1.8V > 1.6V */ - qcom,src-sel = <0>; /* CONSTANT */ - qcom,master-en = <1>; /* ENABLE MPP */ - }; - - mpp@a600 { /* MPP 7 */ - }; - - mpp@a700 { /* MPP 8 */ - qcom,mode = <1>; /* DIG_OUT */ - qcom,output-type = <0>; /* CMOS */ - qcom,pull = <0>; - qcom,vin-sel = <2>; /* PM8941_S3 1.8V > 1.6V */ - qcom,src-sel = <0>; /* CONSTANT */ - qcom,master-en = <1>; /* ENABLE MPP */ - }; -}; - -&pm8841_mpps { - - mpp@a000 { /* MPP 1 */ - }; - - mpp@a100 { /* MPP 2 */ - }; - - mpp@a200 { /* MPP 3 */ - }; - - mpp@a300 { /* MPP 4 */ - }; -}; - -&spi_epm { - epm-adc@0 { - compatible = "cy,epm-adc-cy8c5568lti-114"; - reg = <0>; - interrupt-parent = <&msmgpio>; - spi-max-frequency = <960000>; - qcom,channels = <31>; - qcom,gain = <100 100 100 50 100 100 1 100 1 50 - 1 100 1 100 50 50 50 50 50 50 - 100 50 100 50 50 50 50 50 50 50 - 50>; - qcom,rsense = <2 2 2 200 20 2 1 2 1 30 - 1 10 1 30 50 30 500 30 100 30 - 100 500 20 200 1000 20 1000 1000 70 200 - 50>; - qcom,channel-type = <0x1540>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8974-gpu.dtsi b/kernel/arch/arm/boot/dts/m7300-un-v1/msm8974-gpu.dtsi deleted file mode 100755 index 06b9c187b..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8974-gpu.dtsi +++ /dev/null @@ -1,185 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ -&soc { - msm_gpu: qcom,kgsl-3d0@fdb00000 { - label = "kgsl-3d0"; - compatible = "qcom,kgsl-3d0", "qcom,kgsl-3d"; - reg = <0xfdb00000 0x10000 - 0xfdb20000 0x10000>; - reg-names = "kgsl_3d0_reg_memory" , "kgsl_3d0_shader_memory"; - interrupts = <0 33 0>; - interrupt-names = "kgsl_3d0_irq"; - qcom,id = <0>; - - qcom,chipid = <0x03030000>; - - qcom,initial-pwrlevel = <2>; - qcom,step-pwrlevel = <2>; - - qcom,idle-timeout = <8>; // - qcom,strtstp-sleepwake; - qcom,clk-map = <0x0000006>; //KGSL_CLK_CORE | KGSL_CLK_IFACE - - /* Bus Scale Settings */ - qcom,msm-bus,name = "grp3d"; - qcom,msm-bus,num-cases = <6>; - qcom,msm-bus,num-paths = <2>; - qcom,msm-bus,vectors-KBps = - <26 512 0 0>, <89 604 0 0>, - <26 512 0 2200000>, <89 604 0 3000000>, - <26 512 0 4000000>, <89 604 0 3000000>, - <26 512 0 4000000>, <89 604 0 4500000>, - <26 512 0 6400000>, <89 604 0 4500000>, - <26 512 0 6400000>, <89 604 0 7600000>; - - /* GDSC oxili regulators */ - vddcx-supply = <&gdsc_oxili_cx>; - vdd-supply = <&gdsc_oxili_gx>; - - /* Power levels */ - - /* IOMMU Data */ - iommu = <&kgsl_iommu>; - - /* Trace bus */ - coresight-id = <67>; - coresight-name = "coresight-gfx"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_mmss>; - coresight-child-ports = <7>; - - qcom,gpu-pwrlevels { - #address-cells = <1>; - #size-cells = <0>; - - compatible = "qcom,gpu-pwrlevels"; - - qcom,gpu-pwrlevel@0 { - reg = <0>; - qcom,gpu-freq = <450000000>; - qcom,bus-freq = <5>; - qcom,io-fraction = <33>; - }; - - qcom,gpu-pwrlevel@1 { - reg = <1>; - qcom,gpu-freq = <320000000>; - qcom,bus-freq = <4>; - qcom,io-fraction = <66>; - }; - - qcom,gpu-pwrlevel@2 { - reg = <2>; - qcom,gpu-freq = <320000000>; - qcom,bus-freq = <3>; - qcom,io-fraction = <66>; - }; - - qcom,gpu-pwrlevel@3 { - reg = <3>; - qcom,gpu-freq = <200000000>; - qcom,bus-freq = <2>; - qcom,io-fraction = <100>; - }; - - qcom,gpu-pwrlevel@4 { - reg = <4>; - qcom,gpu-freq = <200000000>; - qcom,bus-freq = <1>; - qcom,io-fraction = <100>; - }; - - qcom,gpu-pwrlevel@5 { - reg = <5>; - qcom,gpu-freq = <27000000>; - qcom,bus-freq = <0>; - qcom,io-fraction = <0>; - }; - }; - - qcom,dcvs-core-info { - #address-cells = <1>; - #size-cells = <0>; - - compatible = "qcom,dcvs-core-info"; - - qcom,num-cores = <1>; - qcom,sensors = <0>; - - qcom,core-core-type = <1>; - - qcom,algo-disable-pc-threshold = <0>; - qcom,algo-em-win-size-min-us = <100000>; - qcom,algo-em-win-size-max-us = <300000>; - qcom,algo-em-max-util-pct = <97>; - qcom,algo-group-id = <95>; - qcom,algo-max-freq-chg-time-us = <100000>; - qcom,algo-slack-mode-dynamic = <100000>; - qcom,algo-slack-weight-thresh-pct = <0>; - qcom,algo-slack-time-min-us = <39000>; - qcom,algo-slack-time-max-us = <39000>; - qcom,algo-ss-win-size-min-us = <1000000>; - qcom,algo-ss-win-size-max-us = <1000000>; - qcom,algo-ss-util-pct = <95>; - qcom,algo-ss-no-corr-below-freq = <0>; - - qcom,energy-active-coeff-a = <2492>; - qcom,energy-active-coeff-b = <0>; - qcom,energy-active-coeff-c = <0>; - qcom,energy-leakage-coeff-a = <11>; - qcom,energy-leakage-coeff-b = <157150>; - qcom,energy-leakage-coeff-c = <0>; - qcom,energy-leakage-coeff-d = <0>; - - qcom,power-current-temp = <25>; - qcom,power-num-freq = <4>; - - qcom,dcvs-freq@0 { - reg = <0>; - qcom,freq = <0>; - qcom,voltage = <0>; - qcom,is_trans_level = <0>; - qcom,active-energy-offset = <100>; - qcom,leakage-energy-offset = <0>; - }; - - qcom,dcvs-freq@1 { - reg = <1>; - qcom,freq = <0>; - qcom,voltage = <0>; - qcom,is_trans_level = <0>; - qcom,active-energy-offset = <100>; - qcom,leakage-energy-offset = <0>; - }; - - qcom,dcvs-freq@2 { - reg = <2>; - qcom,freq = <0>; - qcom,voltage = <0>; - qcom,is_trans_level = <0>; - qcom,active-energy-offset = <100>; - qcom,leakage-energy-offset = <0>; - }; - - qcom,dcvs-freq@3 { - reg = <3>; - qcom,freq = <0>; - qcom,voltage = <0>; - qcom,is_trans_level = <0>; - qcom,active-energy-offset = <844545>; - qcom,leakage-energy-offset = <0>; - }; - }; - - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8974-ion.dtsi b/kernel/arch/arm/boot/dts/m7300-un-v1/msm8974-ion.dtsi deleted file mode 100755 index 63f6d59c2..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8974-ion.dtsi +++ /dev/null @@ -1,59 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&soc { - qcom,ion { - compatible = "qcom,msm-ion"; - #address-cells = <1>; - #size-cells = <0>; - - qcom,ion-heap@30 { /* SYSTEM HEAP */ - reg = <30>; - }; - - qcom,ion-heap@21 { /* SYSTEM CONTIG HEAP */ - reg = <21>; - }; - - qcom,ion-heap@8 { /* CP_MM HEAP */ - compatible = "qcom,msm-ion-reserve"; - reg = <8>; - qcom,heap-align = <0x1000>; - linux,contiguous-region = <&secure_mem>; - }; - - qcom,ion-heap@22 { /* adsp heap */ - compatible = "qcom,msm-ion-reserve"; - reg = <22>; - qcom,heap-align = <0x1000>; - linux,contiguous-region = <&adsp_mem>; - }; - - qcom,ion-heap@25 { /* IOMMU HEAP */ - reg = <25>; - }; - - qcom,ion-heap@27 { /* QSECOM HEAP */ - compatible = "qcom,msm-ion-reserve"; - reg = <27>; - linux,contiguous-region = <&qsecom_mem>; - }; - - qcom,ion-heap@28 { /* AUDIO HEAP */ - compatible = "qcom,msm-ion-reserve"; - reg = <28>; - qcom,heap-align = <0x1000>; - qcom,memory-reservation-type = "EBI1"; /* reserve EBI memory */ - qcom,memory-reservation-size = <0x614000>; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8974-leds.dtsi b/kernel/arch/arm/boot/dts/m7300-un-v1/msm8974-leds.dtsi deleted file mode 100755 index 5e91f4597..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8974-leds.dtsi +++ /dev/null @@ -1,129 +0,0 @@ -/* - * Copyright (c) 2012-2013, 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. - */ - -&spmi_bus { - qcom,pm8941@1 { - qcom,leds@d000 { - status = "okay"; - qcom,rgb_0 { - label = "rgb"; - linux,name = "led:rgb_red"; - qcom,mode = "pwm"; - qcom,pwm-channel = <6>; - qcom,pwm-us = <1000>; - qcom,max-current = <12>; - qcom,default-state = "off"; - qcom,id = <3>; - linux,default-trigger = - "battery-charging"; - }; - - qcom,rgb_1 { - label = "rgb"; - linux,name = "led:rgb_green"; - qcom,mode = "pwm"; - qcom,pwm-channel = <5>; - qcom,pwm-us = <1000>; - qcom,max-current = <12>; - qcom,default-state = "off"; - qcom,id = <4>; - linux,default-trigger = "battery-full"; - }; - - qcom,rgb_2 { - label = "rgb"; - linux,name = "led:rgb_blue"; - qcom,mode = "pwm"; - qcom,pwm-channel = <4>; - qcom,pwm-us = <1000>; - qcom,max-current = <12>; - qcom,id = <5>; - status = "disabled"; - }; - }; - - qcom,leds@d100 { - status = "disabled"; - }; - - qcom,leds@d200 { - status = "disabled"; - }; - - qcom,leds@d300 { - status = "okay"; - pm8941_flash0: qcom,flash_0 { - qcom,max-current = <1000>; - qcom,default-state = "off"; - qcom,headroom = <3>; - qcom,duration = <1280>; - qcom,clamp-curr = <200>; - qcom,startup-dly = <3>; - qcom,safety-timer; - label = "flash"; - linux,default-trigger = - "flash0_trigger"; - qcom,id = <1>; - linux,name = "led:flash_0"; - qcom,current = <625>; - }; - - pm8941_flash1: qcom,flash_1 { - qcom,max-current = <1000>; - qcom,default-state = "off"; - qcom,headroom = <3>; - qcom,duration = <1280>; - qcom,clamp-curr = <200>; - qcom,startup-dly = <3>; - qcom,safety-timer; - linux,default-trigger = - "flash1_trigger"; - label = "flash"; - qcom,id = <2>; - linux,name = "led:flash_1"; - qcom,current = <625>; - }; - - pm8941_torch: qcom,flash_torch { - qcom,max-current = <200>; - qcom,default-state = "off"; - qcom,headroom = <0>; - qcom,startup-dly = <1>; - linux,default-trigger = - "torch_trigger"; - label = "flash"; - qcom,id = <2>; - linux,name = "led:flash_torch"; - qcom,current = <200>; - qcom,torch-enable; - }; - }; - - qcom,leds@d400 { - status = "disabled"; - }; - - qcom,leds@d500 { - status = "disabled"; - }; - - qcom,leds@d600 { - status = "disabled"; - }; - - qcom,leds@d700 { - status = "disabled"; - }; - }; -}; - diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8974-liquid.dtsi b/kernel/arch/arm/boot/dts/m7300-un-v1/msm8974-liquid.dtsi deleted file mode 100755 index 2dc52b6be..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8974-liquid.dtsi +++ /dev/null @@ -1,893 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/include/ "msm8974-leds.dtsi" -/include/ "msm8974-camera-sensor-liquid.dtsi" - -&soc { - serial@f991e000 { - status = "ok"; - }; - - qcom,mdss_edp@fd923400 { - status = "ok"; - }; - - i2c@f9967000 { - battery@b { - compatible = "ti,bq28400-battery"; - reg = <0xb>; - ti,temp-cold = <2>; /* degree celsius */ - ti,temp-hot = <43>; /* degree celsius */ - }; - - charger@2b { - compatible = "summit,smb350-charger"; - reg = <0x2b>; /* 0x56/0x57 */ - summit,stat-gpio = <&pm8941_gpios 30 0x00>; - summit,chg-en-n-gpio = <&pm8941_gpios 10 0x00>; - summit,chg-susp-n-gpio = <&pm8941_gpios 13 0x00>; - summit,chg-current-ma = <1600>; - summit,term-current-ma = <300>; - }; - }; - - gpio_keys { - compatible = "gpio-keys"; - input-name = "gpio-keys"; - - home { - label = "home"; - gpios = <&pm8941_gpios 1 0x1>; - linux,input-type = <1>; - linux,code = <102>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - - vol_down { - label = "volume_down"; - gpios = <&pm8941_gpios 2 0x1>; - linux,input-type = <1>; - linux,code = <114>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - - vol_up { - label = "volume_up"; - gpios = <&pm8941_gpios 5 0x1>; - linux,input-type = <1>; - linux,code = <115>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - }; - - qcom,hdmi_tx@fd922100 { - status = "ok"; - - qcom,hdmi-tx-mux-sel = <&pm8841_mpps 3 0>; - qcom,hdmi-tx-mux-en = <&pm8841_mpps 4 0>; - }; - - drv2667_vreg: drv2667_vdd_vreg { - compatible = "regulator-fixed"; - regulator-name = "vdd_drv2667"; - }; - - i2c@f9967000 { - ti-drv2667@59 { - compatible = "ti,drv2667"; - reg = <0x59>; - vdd-supply = <&drv2667_vreg>; - vdd-i2c-supply = <&pm8941_s3>; - ti,label = "vibrator"; - ti,gain = <2>; - ti,idle-timeout-ms = <20>; - ti,max-runtime-ms = <15000>; - ti,mode = <2>; - ti,wav-seq = [ - /* wave form id */ - 01 - /* header size, start and stop bytes */ - 05 80 06 00 09 - /* repeat, amp, freq, duration, envelope */ - 01 ff 19 02 00]; - }; - }; - - i2c@f9924000 { - atmel_mxt_ts@4a { - compatible = "atmel,mxt-ts"; - reg = <0x4a>; - interrupt-parent = <&msmgpio>; - interrupts = <61 0x2>; - vdd_ana-supply = <&pm8941_l22>; - vcc_i2c-supply = <&pm8941_s3>; - atmel,reset-gpio = <&msmgpio 60 0x00>; - atmel,irq-gpio = <&msmgpio 61 0x00>; - atmel,panel-coords = <0 0 1080 1920>; - atmel,display-coords = <0 0 1080 1920>; - atmel,i2c-pull-up; - atmel,no-force-update; - atmel,cfg_1 { - atmel,family-id = <0xa2>; - atmel,variant-id = <0x00>; - atmel,version = <0x11>; - atmel,build = <0xaa>; - atmel,config = [ - /* Object 6, Instance = 0 */ - 00 00 00 00 00 00 - /* Object 38, Instance = 0 */ - 16 00 00 14 09 0C 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 - /* Object 7, Instance = 0 */ - FF FF 0A 03 - /* Object 8, Instance = 0 */ - 5F 00 14 14 00 00 00 01 00 00 - /* Object 9, Instance = 0 */ - 8F 00 00 20 34 00 87 3C 08 03 - 00 05 03 80 0A 14 14 0A 80 07 - 38 04 00 00 00 00 00 00 00 00 - 0F 0F 2E 33 02 00 - /* Object 15, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 - /* Object 18, Instance = 0 */ - 04 00 - /* Object 24, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 - /* Object 25, Instance = 0 */ - 00 00 54 6F F0 55 00 00 00 00 - 00 00 00 00 00 - /* Object 27, Instance = 0 */ - 00 00 00 00 00 00 00 - /* Object 40, Instance = 0 */ - 00 14 14 14 14 - /* Object 42, Instance = 0 */ - 20 14 00 00 00 14 11 00 03 00 - /* Object 43, Instance = 0 */ - 09 00 01 01 91 00 80 00 00 00 - 00 00 - /* Object 46, Instance = 0 */ - 00 00 10 10 00 00 01 00 00 0F - 0A - /* Object 47, Instance = 0 */ - 00 14 23 02 05 1E 01 78 03 10 - 00 00 0C 00 00 00 00 00 00 00 - 00 00 - /* Object 55, Instance = 0 */ - 00 00 00 00 00 00 00 - /* Object 56, Instance = 0 */ - 02 00 01 30 13 14 14 14 15 15 - 15 15 15 15 15 16 16 16 16 16 - 16 16 16 16 16 15 14 14 14 14 - 15 14 14 14 14 13 00 00 01 02 - 05 05 00 00 00 00 00 00 00 00 - 00 - /* Object 57, Instance = 0 */ - 00 00 00 - /* Object 61, Instance = 0 */ - 00 00 00 00 00 - /* Object 62, Instance = 0 */ - 00 01 03 01 00 00 00 00 00 0A - 0F 14 19 23 05 00 0A 05 05 69 - 23 23 34 11 64 06 06 04 40 00 - 00 00 00 00 69 4B 02 00 00 80 - 0A 14 14 18 18 10 10 80 00 80 - 00 00 0F 02 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 - /* Object 63, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 00 - ]; - }; - atmel,cfg_2 { - atmel,family-id = <0xa2>; - atmel,variant-id = <0x00>; - atmel,version = <0x11>; - atmel,build = <0xaa>; - atmel,config = [ - /* Object 6, Instance = 0 */ - 00 00 00 00 00 00 - /* Object 38, Instance = 0 */ - 19 03 00 1E 05 0D 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 - /* Object 7, Instance = 0 */ - 20 08 32 C3 - /* Object 8, Instance = 0 */ - 41 00 14 14 00 00 00 01 00 00 - /* Object 9, Instance = 0 */ - 8F 00 00 20 34 00 87 4B 02 03 - 00 05 03 41 0A 14 14 0A 80 07 - 38 04 00 00 03 03 08 28 02 3C - 0F 0F 2E 33 01 00 - /* Object 15, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 - /* Object 18, Instance = 0 */ - 04 00 - /* Object 24, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 - /* Object 25, Instance = 0 */ - 00 00 54 6F F0 55 00 00 00 00 - 00 00 00 00 00 - /* Object 27, Instance = 0 */ - 00 00 00 00 00 00 00 - /* Object 40, Instance = 0 */ - 00 14 14 14 14 - /* Object 42, Instance = 0 */ - 23 32 14 14 80 00 0A 00 05 05 - /* Object 43, Instance = 0 */ - 08 00 01 01 91 00 80 00 00 00 - 00 00 - /* Object 46, Instance = 0 */ - 00 00 18 18 00 00 01 00 00 0F - 0A - /* Object 47, Instance = 0 */ - 00 14 28 02 05 28 01 78 03 10 - 00 00 0C 00 00 00 00 00 00 00 - 00 00 - /* Object 55, Instance = 0 */ - 00 00 00 00 00 00 00 - /* Object 56, Instance = 0 */ - 01 00 00 30 13 14 14 14 15 15 - 15 15 15 15 15 16 16 16 16 16 - 16 16 16 16 16 15 14 14 14 14 - 15 14 14 14 14 13 03 20 03 01 - 0A 04 00 00 00 00 00 00 00 00 - 1A - /* Object 57, Instance = 0 */ - 00 00 00 - /* Object 61, Instance = 0 */ - 00 00 00 00 00 - /* Object 62, Instance = 0 */ - 00 03 00 07 02 00 00 00 00 00 - 0F 17 23 2D 05 00 05 03 03 69 - 14 14 34 11 64 06 06 04 40 00 - 00 00 00 00 69 3C 02 04 01 00 - 0A 14 14 03 03 03 03 00 00 00 - 00 64 1E 01 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 - /* Object 63, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 00 - /* Object 65, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 - /* Object 66, Instance = 0 */ - 00 00 00 00 00 - ]; - }; - }; - }; - - ext_5v: regulator-smb210 { - compatible = "regulator-fixed"; - regulator-name = "ext_5v"; - gpio = <&pm8941_mpps 2 0>; - startup-delay-us = <12000>; - enable-active-high; - }; - - ath_chip_pwd_l: ath_chip_reset { - compatible = "regulator-fixed"; - regulator-name = "ath_chip_pwd_l"; - gpio = <&pm8941_gpios 33 0>; - enable-active-high; - }; - - bt_ar3002 { - compatible = "qca,ar3002"; - qca,bt-reset-gpio = <&pm8941_gpios 34 0>; - qca,bt-chip-pwd-supply = <&ath_chip_pwd_l>; - qca,bt-vdd-io-supply = <&pm8941_s3>; - qca,bt-vdd-pa-supply = <&pm8941_l19>; - }; - - bt_ar3002_sleep { - compatible = "qca,ar3002_bluesleep"; - host-wake-gpio = <&msmgpio 79 0>; - ext-wake-gpio = <&msmgpio 51 0>; - interrupt-parent = <&msmgpio>; - interrupts = <79 2>; - interrupt-names = "host_wake"; - }; - - sound { - qcom,model = "msm8974-taiko-liquid-snd-card"; - - qcom,audio-routing = - "RX_BIAS", "MCLK", - "LDO_H", "MCLK", - "Lineout_1 amp", "LINEOUT1", - "Lineout_3 amp", "LINEOUT3", - "Lineout_2 amp", "LINEOUT2", - "Lineout_4 amp", "LINEOUT4", - "SPK_ultrasound amp", "SPK_OUT", - "AMIC1", "MIC BIAS4 External", - "MIC BIAS4 External", "Analog Mic4", - "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", - "AMIC5", "MIC BIAS1 External", - "MIC BIAS1 External", "Analog Mic6", - "AMIC6", "MIC BIAS1 External", - "MIC BIAS1 External", "Analog Mic7", - "DMIC1", "MIC BIAS3 External", - "MIC BIAS3 External", "Digital Mic1", - "DMIC2", "MIC BIAS3 External", - "MIC BIAS3 External", "Digital Mic2", - "DMIC3", "MIC BIAS2 External", - "MIC BIAS2 External", "Digital Mic3", - "DMIC4", "MIC BIAS3 External", - "MIC BIAS3 External", "Digital Mic4", - "DMIC5", "MIC BIAS2 External", - "MIC BIAS2 External", "Digital Mic5", - "DMIC6", "MIC BIAS2 External", - "MIC BIAS2 External", "Digital Mic6"; - - qcom,ext-spk-amp-supply = <&ext_5v>; - qcom,ext-spk-amp-gpio = <&pm8841_mpps 1 0>; - qcom,dock-plug-det-irq = <&pm8841_mpps 2 0>; - qcom,ext-ult-spk-amp-gpio = <&pm8941_gpios 6 0>; - qcom,hdmi-audio-rx; - - qcom,prim-auxpcm-gpio-clk = <&msmgpio 74 0>; - qcom,prim-auxpcm-gpio-sync = <&msmgpio 75 0>; - qcom,prim-auxpcm-gpio-din = <&msmgpio 76 0>; - qcom,prim-auxpcm-gpio-dout = <&msmgpio 77 0>; - qcom,prim-auxpcm-gpio-set = "prim-gpio-tert"; - }; - - hsic_hub { - compatible = "qcom,hsic-smsc-hub"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - smsc,reset-gpio = <&pm8941_gpios 8 0x00>; - smsc,refclk-gpio = <&pm8941_gpios 16 0x00>; - smsc,int-gpio = <&msmgpio 50 0x00>; - hub_int-supply = <&pm8941_l10>; - hub_vbus-supply = <&ext_5v>; - - hsic_host: hsic@f9a00000 { - compatible = "qcom,hsic-host"; - reg = <0xf9a00000 0x400>; - #address-cells = <0>; - interrupt-parent = <&hsic_host>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 136 0 - 1 &intc 0 148 0 - 2 &msmgpio 144 0x8>; - interrupt-names = "core_irq", "async_irq", "wakeup"; - HSIC_VDDCX-supply = <&pm8841_s2>; - HSIC_GDSC-supply = <&gdsc_usb_hsic>; - hsic,strobe-gpio = <&msmgpio 144 0x00>; - hsic,data-gpio = <&msmgpio 145 0x00>; - hsic,ignore-cal-pad-config; - hsic,strobe-pad-offset = <0x2050>; - hsic,data-pad-offset = <0x2054>; - - qcom,msm-bus,name = "hsic"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <85 512 0 0>, - <85 512 40000 160000>; - }; - }; - - wlan0: qca,wlan { - compatible = "qca,ar6004-hsic"; - qcom,msm-bus,name = "wlan"; - qca,wifi-chip-pwd-supply = <&ath_chip_pwd_l>; - qca,wifi-vddpa-supply = <&pm8941_l19>; - qca,wifi-vddio-supply = <&pm8941_l10>; - qcom,msm-bus,num-cases = <5>; - qcom,msm-bus,active-only = <0>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <85 512 0 0>, - <85 512 40000 160000>, - <85 512 40000 320000>, - <85 512 40000 480000>, - <85 512 40000 800000>; - }; - - wlan_sdio:qca,wlan_sdio { - compatible = "qca,ar6004-sdio"; - qcom,msm-bus,name = "wlan_sdio"; - qca,wifi-chip-pwd-supply = <&ath_chip_pwd_l>; - }; -}; - -&mdss_fb0 { - qcom,memory-reservation-size = <0x1000000>; /* size 16MB */ -}; - -&uart7 { - status = "ok"; - qcom,tx-gpio = <&msmgpio 41 0x00>; - qcom,rx-gpio = <&msmgpio 42 0x00>; - qcom,cts-gpio = <&msmgpio 43 0x00>; - qcom,rfr-gpio = <&msmgpio 44 0x00>; -}; - -&usb3 { - qcom,otg-capability; -}; - -&pm8941_mvs2 { - parent-supply = <&ext_5v>; -}; - -&pm8941_gpios { - gpio@c000 { /* GPIO 1 */ - qcom,mode = <0>; - qcom,pull = <0>; - qcom,vin-sel = <2>; - qcom,src-sel = <0>; - }; - - gpio@c100 { /* GPIO 2 */ - qcom,mode = <0>; - qcom,pull = <0>; - qcom,vin-sel = <2>; - qcom,src-sel = <0>; - }; - - gpio@c200 { /* GPIO 3 */ - }; - - gpio@c300 { /* GPIO 4 */ - }; - - gpio@c400 { /* GPIO 5 */ - qcom,mode = <0>; - qcom,pull = <0>; - qcom,vin-sel = <2>; - qcom,src-sel = <0>; - }; - - gpio@c500 { /* GPIO 6 */ - /* ULTRASOUND_EN_1 PA AB enable */ - qcom,mode = <1>; /* DIG_OUT */ - qcom,output-type = <0>; /* CMOS */ - qcom,pull = <4>; /* PULL_DOWN */ - qcom,vin-sel = <0>; /* VPH */ - qcom,out-strength = <2>; /* STRENGTH_MED */ - qcom,src-sel = <0>; /* CONSTANT */ - qcom,master-en = <1>; - }; - - gpio@c600 { /* GPIO 7 */ - }; - - gpio@c700 { /* GPIO 8 */ - /* HSIC_HUB-RESET */ - qcom,mode = <1>; /* DIG_OUT */ - qcom,pull = <5>; /* PULL_NO */ - qcom,out-strength = <2>; /* STRENGTH_MED */ - qcom,master-en = <1>; - }; - - gpio@c800 { /* GPIO 9 */ - }; - - gpio@c900 { /* GPIO 10 */ - /* SMB350-CHG-EN-N */ - qcom,mode = <1>; /* DIG_OUT */ - qcom,output-type = <0>; /* CMOS */ - qcom,pull = <5>; /* PULL_NO */ - qcom,vin-sel = <0>; /* VPH */ - qcom,out-strength = <2>; /* STRENGTH_MED */ - qcom,src-sel = <0>; /* CONSTANT */ - qcom,master-en = <1>; - }; - - gpio@ca00 { /* GPIO 11 */ - }; - - gpio@cb00 { /* GPIO 12 */ - }; - - gpio@cc00 { /* GPIO 13 */ - /* SMB350-CHG-SUSP-N */ - qcom,mode = <1>; /* DIG_OUT */ - qcom,output-type = <0>; /* CMOS */ - qcom,pull = <5>; /* PULL_NO */ - qcom,vin-sel = <0>; /* VPH */ - qcom,out-strength = <2>; /* STRENGTH_MED */ - qcom,src-sel = <0>; /* CONSTANT */ - qcom,master-en = <1>; - }; - - gpio@cd00 { /* GPIO 14 */ - }; - - gpio@ce00 { /* GPIO 15 */ - qcom,mode = <1>; - qcom,output-type = <0>; - qcom,pull = <5>; - qcom,vin-sel = <2>; - qcom,out-strength = <1>; - qcom,src-sel = <2>; - qcom,master-en = <1>; - }; - - gpio@cf00 { /* GPIO 16 */ - /* HSIC_HUB-INT_N */ - qcom,mode = <1>; - qcom,output-type = <0>; - qcom,pull = <5>; - qcom,vin-sel = <2>; - qcom,out-strength = <3>; - qcom,src-sel = <2>; - qcom,master-en = <1>; - }; - - gpio@d000 { /* GPIO 17 */ - }; - - gpio@d100 { /* GPIO 18 */ - }; - - gpio@d200 { /* GPIO 19 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,output-type = <0>; /* QPNP_PIN_OUT_BUF_CMOS */ - qcom,pull = <5>; /* QPNP_PIN_PULL_NO */ - qcom,vin-sel = <2>; /* QPNP_PIN_VIN2 */ - qcom,out-strength = <2>; /* QPNP_PIN_OUT_STRENGTH_MED */ - qcom,src-sel = <0>; /* QPNP_PIN_SEL_FUNC_CONSTANT */ - qcom,master-en = <1>; - }; - - gpio@d300 { /* GPIO 20 */ - }; - - gpio@d400 { /* GPIO 21 */ - }; - - gpio@d500 { /* GPIO 22 */ - }; - - gpio@d600 { /* GPIO 23 */ - }; - - gpio@d700 { /* GPIO 24 */ - }; - - gpio@d800 { /* GPIO 25 */ - }; - - gpio@d900 { /* GPIO 26 */ - }; - - gpio@da00 { /* GPIO 27 */ - }; - - gpio@db00 { /* GPIO 28 */ - }; - - gpio@dc00 { /* GPIO 29 */ - qcom,pull = <0>; /* set to default pull */ - qcom,master-en = <1>; - qcom,vin-sel = <2>; /* select 1.8 V source */ - }; - - gpio@dd00 { /* GPIO 30 */ - /* SMB350-STAT */ - qcom,mode = <0>; /* DIG_IN */ - qcom,pull = <5>; /* PULL_NO */ - qcom,vin-sel = <2>; /* S3 1.8V */ - qcom,src-sel = <0>; /* CONSTANT */ - qcom,master-en = <1>; - }; - - gpio@de00 { /* GPIO 31 */ - }; - - gpio@df00 { /* GPIO 32 */ - }; - - gpio@e000 { /* GPIO 33 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,output-type = <0>; /* QPNP_PIN_OUT_BUF_CMOS */ - qcom,pull = <5>; /* QPNP_PIN_PULL_NO */ - qcom,vin-sel = <2>; /* QPNP_PIN_VIN2 */ - qcom,out-strength = <2>; /* QPNP_PIN_OUT_STRENGTH_MED */ - qcom,src-sel = <0>; /* QPNP_PIN_SEL_FUNC_CONSTANT */ - qcom,invert = <1>; - qcom,master-en = <1>; - }; - - gpio@e100 { /* GPIO 34 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,output-type = <0>; /* QPNP_PIN_OUT_BUF_CMOS */ - qcom,pull = <5>; /* QPNP_PIN_PULL_NO */ - qcom,vin-sel = <2>; /* QPNP_PIN_VIN2 */ - qcom,out-strength = <2>; /* QPNP_PIN_OUT_STRENGTH_MED */ - qcom,src-sel = <0>; /* QPNP_PIN_SEL_FUNC_CONSTANT */ - qcom,invert = <0>; - qcom,master-en = <1>; - }; - - gpio@e200 { /* GPIO 35 */ - }; - - gpio@e300 { /* GPIO 36 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,output-type = <0>; /* QPNP_PIN_OUT_BUF_CMOS */ - qcom,pull = <5>; /* QPNP_PIN_PULL_NO */ - qcom,vin-sel = <2>; /* QPNP_PIN_VIN2 */ - qcom,out-strength = <3>; /* QPNP_PIN_OUT_STRENGTH_HIGH */ - qcom,src-sel = <3>; /* QPNP_PIN_SEL_FUNC_2 */ - qcom,master-en = <1>; - }; -}; - -&pm8941_mpps { - - mpp@a000 { /* MPP 1 */ - status = "disabled"; - }; - - mpp@a100 { /* MPP 2 */ - /* ext_5v regulator enable */ - qcom,mode = <1>; /* Digital output */ - qcom,invert = <0>; /* Output low initially */ - qcom,vin-sel = <2>; /* PM8941 S3 = 1.8 V */ - qcom,src-sel = <0>; /* Constant */ - qcom,master-en = <1>; /* Enable MPP */ - }; - - mpp@a200 { /* MPP 3 */ - }; - - mpp@a300 { /* MPP 4 */ - }; - - mpp@a400 { /* MPP 5 */ - /* SPI_ETH config */ - qcom,mode = <1>; /* DIG_OUT */ - qcom,output-type = <0>; /* CMOS */ - qcom,vin-sel = <2>; /* PM8941_S3 1.8V > 1.6V */ - qcom,src-sel = <0>; /* CONSTANT */ - qcom,master-en = <1>; /* ENABLE MPP */ - }; - - mpp@a500 { /* MPP 6 */ - /* SPI_ETH_RST config */ - qcom,mode = <1>; /* DIG_OUT */ - qcom,output-type = <0>; /* CMOS */ - qcom,vin-sel = <2>; /* PM8941_S3 1.8V > 1.6V */ - qcom,src-sel = <0>; /* CONSTANT */ - qcom,master-en = <1>; /* ENABLE MPP */ - }; - - mpp@a600 { /* MPP 7 */ - }; - - mpp@a700 { /* MPP 8 */ - }; -}; - -&pm8841_mpps { - - mpp@a000 { /* MPP 1 */ - /* CLASS_D_EN speakers PA */ - qcom,mode = <1>; /* DIG_OUT */ - qcom,output-type = <0>; /* PNP_PIN_OUT_BUF_CMOS */ - qcom,vin-sel = <2>; /* S3A 1.8v */ - qcom,src-select = <0>; /* CONSTANT */ - qcom,master-en = <1>; /* ENABLE MPP */ - }; - - mpp@a100 { /* MPP 2 */ - /* DOCK_PLUG_DET speakers+docking detect irq*/ - qcom,mode = <0>; /* DIG_IN */ - qcom,vin-sel = <2>; /* S3A 1.8v */ - qcom,src-sel = <0>; /* CONSTANT */ - qcom,master-en = <1>; /* ENABLE MPP */ - }; - - mpp@a200 { /* HDMI_MUX_SEL MPP 3*/ - status = "ok"; - qcom,mode = <1>; /* DIG_OUT */ - qcom,output-type = <0>; /* CMOS */ - qcom,vin-sel = <2>; /* PM8841_S3A 1.8V */ - qcom,src-sel = <0>; /* CONSTANT */ - qcom,master-en = <1>; /* ENABLE MPP */ - }; - - mpp@a300 { /* HDMI_MUX_EN MPP 4*/ - status = "ok"; - qcom,mode = <1>; /* DIG_OUT */ - qcom,output-type = <0>; /* CMOS */ - qcom,vin-sel = <0>; /* PM8841_VPH 3.4V */ - qcom,src-sel = <0>; /* CONSTANT */ - qcom,master-en = <1>; /* ENABLE MPP */ - }; -}; - -&vph_pwr_vreg { - status = "ok"; -}; - -&slim_msm { - taiko_codec { - qcom,cdc-micbias1-ext-cap; - qcom,cdc-micbias2-ext-cap; - qcom,cdc-micbias3-ext-cap; - qcom,cdc-micbias4-ext-cap; - - /* - * Liquid has external spkrdrv supply. Give a dummy supply to - * make codec driver's happy. - */ - cdc-vdd-spkdrv-supply = <&vph_pwr_vreg>; - qcom,cdc-vdd-spkdrv-voltage = <0 0>; - qcom,cdc-vdd-spkdrv-current = <0>; - - qcom,cdc-on-demand-supplies = "cdc-vdd-spkdrv"; - }; -}; - -&spi_epm { - epm-adc@0 { - compatible = "cy,epm-adc-cy8c5568lti-114"; - reg = <0>; - interrupt-parent = <&msmgpio>; - spi-max-frequency = <960000>; - qcom,channels = <31>; - qcom,gain = <50 50 50 50 50 100 50 50 50 50 - 50 50 50 50 100 50 50 50 50 100 - 50 50 50 100 50 50 50 1 1 1 - 1>; - qcom,rsense = <40 10 10 25 10 1000 75 25 10 25 - 33 500 200 10 500 100 33 200 25 100 - 75 500 50 200 5 5 3 1 1 1 - 1>; - qcom,channel-type = <0xf0000000>; - }; -}; - -&spmi_bus { - qcom,pm8941@1 { - qcom,leds@d000 { - qcom,rgb_2 { - status = "ok"; - qcom,default-state = "on"; - qcom,turn-off-delay-ms = <1000>; - }; - }; - }; -}; - -&pm8941_chg { - status = "ok"; - otg-parent-supply = <&ext_5v>; - - qcom,charging-disabled; - - qcom,chgr@1000 { - status = "ok"; - }; - - qcom,buck@1100 { - status = "ok"; - }; - - qcom,usb-chgpth@1300 { - status = "ok"; - }; - - qcom,dc-chgpth@1400 { - status = "ok"; - }; - - qcom,boost@1500 { - status = "ok"; - }; - - qcom,chg-misc@1600 { - status = "ok"; - }; -}; - -&sdcc1 { - status = "disabled"; -}; - -&sdcc2 { - status = "disabled"; -}; - -&sdhc_1 { - vdd-supply = <&pm8941_l20>; - vdd-io-supply = <&pm8941_s3>; - - qcom,vdd-always-on; - qcom,vdd-lpm-sup; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <800 500000>; - - qcom,vdd-io-always-on; - qcom,vdd-io-voltage-level = <1800000 1800000>; - qcom,vdd-io-current-level = <250 154000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,nonremovable; - status = "ok"; -}; - -&sdhc_2 { - vdd-supply = <&pm8941_l21>; - vdd-io-supply = <&pm8941_l13>; - - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <9000 800000>; - - qcom,vdd-io-voltage-level = <1800000 2950000>; - qcom,vdd-io-current-level = <6 22000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - status = "ok"; -}; - -/* Drive strength recommendations for clock line from hardware team is 10 mA. - * But since the driver has been been using the below values from the start - * without any problems, continue to use those. - */ -&sdcc1 { - qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */ -}; - -&sdcc2 { - qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */ -}; - -&sdhc_1 { - qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */ -}; - -&sdhc_2 { - qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */ -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8974-mdss.dtsi b/kernel/arch/arm/boot/dts/m7300-un-v1/msm8974-mdss.dtsi deleted file mode 100755 index 6b8d600ed..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8974-mdss.dtsi +++ /dev/null @@ -1,148 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&soc { - mdss_mdp: qcom,mdss_mdp@fd900000 { - compatible = "qcom,mdss_mdp"; - reg = <0xfd900000 0x22100>, - <0xfd924000 0x1000>; - reg-names = "mdp_phys", "vbif_phys"; - interrupts = <0 72 0>; - vdd-supply = <&gdsc_mdss>; - - qcom,max-clk-rate = <320000000>; - qcom,mdss-pipe-vig-off = <0x00001200 0x00001600 - 0x00001A00>; - qcom,mdss-pipe-rgb-off = <0x00001E00 0x00002200 - 0x00002600>; - qcom,mdss-pipe-dma-off = <0x00002A00 0x00002E00>; - qcom,mdss-pipe-vig-fetch-id = <1 4 7>; - qcom,mdss-pipe-rgb-fetch-id = <16 17 18>; - qcom,mdss-pipe-dma-fetch-id = <10 13>; - qcom,mdss-smp-data = <22 4096>; - - qcom,mdss-ctl-off = <0x00000600 0x00000700 0x00000800 - 0x00000900 0x0000A00>; - qcom,mdss-mixer-intf-off = <0x00003200 0x00003600 - 0x00003A00>; - qcom,mdss-mixer-wb-off = <0x00003E00 0x00004200>; - qcom,mdss-dspp-off = <0x00004600 0x00004A00 0x00004E00>; - qcom,mdss-wb-off = <0x00011100 0x00013100 0x00015100 - 0x00017100 0x00019100>; - qcom,mdss-intf-off = <0x00021100 0x00021300 - 0x00021500 0x00021700>; - - qcom,vbif-settings = <0x0004 0x00000001>, - <0x00D8 0x00000707>, - <0x00F0 0x00000030>, - <0x0124 0x00000001>, - <0x0178 0x00000FFF>, - <0x017C 0x0FFF0FFF>, - <0x0160 0x22222222>, - <0x0164 0x00002222>; - qcom,mdp-settings = <0x02E0 0x000000E9>, - <0x02E4 0x00000055>, - <0x03AC 0xC0000CCC>, - <0x03B4 0xC0000CCC>, - <0x03BC 0x00CCCCCC>, - <0x04A8 0x0CCCC0C0>, - <0x04B0 0xCCCCC0C0>, - <0x04B8 0xCCCCC000>; - - mdss_fb0: qcom,mdss_fb_primary { - cell-index = <0>; - compatible = "qcom,mdss-fb"; - qcom,memory-reservation-type = "EBI1"; - qcom,memory-reservation-size = <0x800000>; - }; - - mdss_fb1: qcom,mdss_fb_external { - cell-index = <1>; - compatible = "qcom,mdss-fb"; - }; - - mdss_fb2: qcom,mdss_fb_wfd { - cell-index = <2>; - compatible = "qcom,mdss-fb"; - }; - }; - - mdss_dsi0: qcom,mdss_dsi@fd922800 { - compatible = "qcom,mdss-dsi-ctrl"; - label = "MDSS DSI CTRL->0"; - cell-index = <0>; - reg = <0xfd922800 0x600>; - vdd-supply = <&pm8941_l22>; - vddio-supply = <&pm8941_l12>; - vdda-supply = <&pm8941_l2>; - qcom,mdss-fb-map = <&mdss_fb0>; - }; - - mdss_dsi1: qcom,mdss_dsi@fd922e00 { - compatible = "qcom,mdss-dsi-ctrl"; - label = "MDSS DSI CTRL->1"; - cell-index = <1>; - reg = <0xfd922e00 0x600>; - vdd-supply = <&pm8941_l22>; - vddio-supply = <&pm8941_l12>; - vdda-supply = <&pm8941_l2>; - qcom,mdss-fb-map = <&mdss_fb0>; - }; - - mdss_hdmi_tx: qcom,hdmi_tx@fd922100 { - cell-index = <0>; - compatible = "qcom,hdmi-tx"; - reg = <0xfd922100 0x35C>, - <0xfd922500 0x7C>, - <0xfc4b8000 0x60F0>; - reg-names = "core_physical", "phy_physical", "qfprom_physical"; - - hpd-gdsc-supply = <&gdsc_mdss>; - hpd-5v-supply = <&pm8941_mvs2>; - core-vdda-supply = <&pm8941_l12>; - core-vcc-supply = <&pm8941_s3>; - qcom,hdmi-tx-supply-names = "hpd-gdsc", "hpd-5v", "core-vdda", "core-vcc"; - qcom,hdmi-tx-min-voltage-level = <0 0 1800000 1800000>; - qcom,hdmi-tx-max-voltage-level = <0 0 1800000 1800000>; - qcom,hdmi-tx-peak-current = <0 0 1800000 0>; - - qcom,hdmi-tx-cec = <&msmgpio 31 0>; - qcom,hdmi-tx-ddc-clk = <&msmgpio 32 0>; - qcom,hdmi-tx-ddc-data = <&msmgpio 33 0>; - qcom,hdmi-tx-hpd = <&msmgpio 34 0>; - qcom,mdss-fb-map = <&mdss_fb1>; - qcom,msm-hdmi-audio-rx { - compatible = "qcom,msm-hdmi-audio-codec-rx"; - }; - }; - - qcom,mdss_wb_panel { - compatible = "qcom,mdss_wb"; - qcom,mdss_pan_res = <1920 1080>; - qcom,mdss_pan_bpp = <24>; - qcom,mdss-fb-map = <&mdss_fb2>; - }; - - mdss_edp: qcom,mdss_edp@fd923400 { - compatible = "qcom,mdss-edp"; - reg = <0xfd923400 0x700>, - <0xfd8c2000 0x1000>; - reg-names = "edp_base", "mmss_cc_base"; - vdda-supply = <&pm8941_l12>; - gpio-panel-en = <&msmgpio 58 0>; - gpio-panel-pwm = <&pm8941_gpios 36 0>; - qcom,panel-lpg-channel = <7>; /* LPG Channel 8 */ - qcom,panel-pwm-period = <53>; - status = "disable"; - qcom,mdss-fb-map = <&mdss_fb0>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8974-mtp.dtsi b/kernel/arch/arm/boot/dts/m7300-un-v1/msm8974-mtp.dtsi deleted file mode 100755 index e798fc0f9..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8974-mtp.dtsi +++ /dev/null @@ -1,705 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/include/ "dsi-panel-toshiba-720p-video.dtsi" -/include/ "msm8974-camera-sensor-mtp.dtsi" -/include/ "msm8974-leds.dtsi" - -&soc { - serial@f991e000 { - status = "ok"; - }; - - qcom,mdss_dsi_toshiba_720p_video { - status = "ok"; - qcom,cont-splash-enabled; - }; - - qcom,hdmi_tx@fd922100 { - status = "disabled"; - }; - - i2c@f9924000 { - atmel_mxt_ts@4a { - compatible = "atmel,mxt-ts"; - reg = <0x4a>; - interrupt-parent = <&msmgpio>; - interrupts = <61 0x2>; - vdd_ana-supply = <&pm8941_l18>; - vcc_i2c-supply = <&pm8941_lvs1>; - atmel,reset-gpio = <&msmgpio 60 0x00>; - atmel,irq-gpio = <&msmgpio 61 0x00>; - atmel,panel-coords = <0 0 760 1424>; - atmel,display-coords = <0 0 720 1280>; - atmel,i2c-pull-up; - atmel,no-force-update; - atmel,cfg_1 { - atmel,family-id = <0x82>; - atmel,variant-id = <0x19>; - atmel,version = <0x10>; - atmel,build = <0xaa>; - atmel,config = [ - /* Object 6, Instance = 0 */ - 00 00 00 00 00 00 - /* Object 38, Instance = 0 */ - 15 01 00 03 0A 0C 00 00 - /* Object 7, Instance = 0 */ - 20 08 32 03 - /* Object 8, Instance = 0 */ - 0F 00 0A 0A 00 00 0A 0A 00 00 - /* Object 9, Instance = 0 */ - 83 00 00 18 0E 00 70 46 02 01 - 00 0A 03 31 04 05 0A 0A 90 05 - F8 02 05 F1 F1 0F 00 00 08 2D - 12 06 00 00 00 01 - /* Object 15, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 - /* Object 18, Instance = 0 */ - 00 00 - /* Object 19, Instance = 0 */ - 00 00 00 00 00 00 - /* Object 23, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 - /* Object 25, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 - /* Object 40, Instance = 0 */ - 00 00 00 00 00 - /* Object 42, Instance = 0 */ - 33 1E 19 10 80 00 00 00 FF 00 - /* Object 46, Instance = 0 */ - 00 00 10 10 00 00 03 00 00 01 - /* Object 47, Instance = 0 */ - 08 0A 28 0A 02 0A 00 8C 00 20 - 00 00 00 - /* Object 55, Instance = 0 */ - 00 00 00 00 00 00 - /* Object 56, Instance = 0 */ - 00 00 00 18 05 05 05 05 05 05 - 05 05 05 05 05 05 05 05 05 05 - 05 05 05 05 05 05 05 05 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 - /* Object 57, Instance = 0 */ - 00 00 00 - /* Object 61, Instance = 0 */ - 00 00 00 00 00 - /* Object 62, Instance = 0 */ - 01 2A 00 16 00 00 00 00 0B 01 - 02 03 04 08 00 00 08 10 18 05 - 00 0A 05 05 50 14 19 34 1A 7F - 00 00 00 00 00 00 00 00 00 30 - 05 02 00 01 00 05 00 00 00 00 - 00 00 00 00 - ]; - }; - }; - }; - - gen-vkeys { - compatible = "qcom,gen-vkeys"; - label = "atmel_mxt_ts"; - qcom,disp-maxx = <720>; - qcom,disp-maxy = <1280>; - qcom,panel-maxx = <760>; - qcom,panel-maxy = <1424>; - qcom,key-codes = <158 139 102 217>; - }; - - i2c@f9967000 { - isa1200@48 { - status = "okay"; - reg = <0x48>; - vcc_i2c-supply = <&pm8941_s3>; - compatible = "imagis,isa1200"; - label = "vibrator"; - imagis,chip-en; - imagis,need-pwm-clk; - imagis,ext-clk-en; - imagis,hap-en-gpio = <&msmgpio 86 0x00>; - imagis,max-timeout = <15000>; - imagis,pwm-div = <256>; - imagis,mode-ctrl = <2>; - imagis,regulator { - regulator-name = "vcc_i2c"; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - regulator-max-microamp = <9360>; - }; - }; - }; - - gpio_keys { - compatible = "gpio-keys"; - input-name = "gpio-keys"; - - camera_snapshot { - label = "camera_snapshot"; - gpios = <&pm8941_gpios 3 0x1>; - linux,input-type = <1>; - linux,code = <0x2fe>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - - camera_focus { - label = "camera_focus"; - gpios = <&pm8941_gpios 4 0x1>; - linux,input-type = <1>; - linux,code = <0x210>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - - vol_up { - label = "volume_up"; - gpios = <&pm8941_gpios 5 0x1>; - linux,input-type = <1>; - linux,code = <115>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - }; - - spi@f9923000 { - ethernet-switch@2 { - compatible = "micrel,ks8851"; - reg = <2>; - interrupt-parent = <&msmgpio>; - interrupts = <94 0>; - spi-max-frequency = <4800000>; - rst-gpio = <&pm8941_mpps 6 0>; - vdd-io-supply = <&spi_eth_vreg>; - vdd-phy-supply = <&spi_eth_vreg>; - }; - }; - - sound { - qcom,model = "msm8974-taiko-mtp-snd-card"; - qcom,cdc-micbias2-headset-only; - }; -}; - -&spmi_bus { - qcom,pm8941@1 { - qcom,leds@d800 { - status = "okay"; - qcom,wled_0 { - label = "wled"; - linux,name = "wled:backlight"; - linux,default-trigger = "bkl-trigger"; - qcom,cs-out-en; - qcom,op-fdbck = <1>; - qcom,default-state = "on"; - qcom,max-current = <25>; - qcom,ctrl-delay-us = <0>; - qcom,boost-curr-lim = <3>; - qcom,cp-sel = <0>; - qcom,switch-freq = <2>; - qcom,ovp-val = <2>; - qcom,num-strings = <1>; - qcom,id = <0>; - }; - }; - - qcom,leds@d900 { - status = "disabled"; - }; - - qcom,leds@da00 { - status = "disabled"; - }; - - qcom,leds@db00 { - status = "disabled"; - }; - - qcom,leds@dc00 { - status = "disabled"; - }; - - qcom,leds@dd00 { - status = "disabled"; - }; - - qcom,leds@de00 { - status = "disabled"; - }; - - qcom,leds@df00 { - status = "disabled"; - }; - - qcom,leds@e000 { - status = "disabled"; - }; - - qcom,leds@e100 { - status = "disabled"; - }; - }; -}; - -&sdcc1 { - status = "disabled"; -}; - -&sdcc2 { - #address-cells = <0>; - interrupt-parent = <&sdcc2>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 125 0 - 1 &intc 0 220 0 - 2 &msmgpio 62 0x3>; - interrupt-names = "core_irq", "bam_irq", "status_irq"; - cd-gpios = <&msmgpio 62 0x1>; - status = "disabled"; -}; - -&sdhc_1 { - vdd-supply = <&pm8941_l20>; - vdd-io-supply = <&pm8941_s3>; - - qcom,vdd-always-on; - qcom,vdd-lpm-sup; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <800 500000>; - - qcom,vdd-io-always-on; - qcom,vdd-io-voltage-level = <1800000 1800000>; - qcom,vdd-io-current-level = <250 154000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,nonremovable; - status = "ok"; -}; - -&sdhc_2 { - #address-cells = <0>; - interrupt-parent = <&sdhc_2>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 125 0 - 1 &intc 0 221 0 - 2 &msmgpio 62 0x3>; - interrupt-names = "hc_irq", "pwr_irq", "status_irq"; - cd-gpios = <&msmgpio 62 0x1>; - - vdd-supply = <&pm8941_l21>; - vdd-io-supply = <&pm8941_l13>; - - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <9000 800000>; - - qcom,vdd-io-voltage-level = <1800000 2950000>; - qcom,vdd-io-current-level = <6 22000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - status = "ok"; -}; - -/* Drive strength recommendations for clock line from hardware team is 10 mA. - * But since the driver has been been using the below values from the start - * without any problems, continue to use those. - */ -&sdcc1 { - qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */ -}; - -&sdcc2 { - qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */ -}; - -&sdhc_1 { - qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */ -}; - -&sdhc_2 { - qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */ -}; - -&usb_otg { - qcom,hsusb-otg-otg-control = <2>; -}; - -&uart7 { - status = "ok"; -}; - -&usb3 { - qcom,otg-capability; -}; - -&pm8941_bms { - status = "ok"; -}; - -&pm8941_chg { - status = "ok"; - qcom,charging-disabled; - - qcom,chgr@1000 { - status = "ok"; - }; - - qcom,buck@1100 { - status = "ok"; - }; - - qcom,bat-if@1200 { - status = "ok"; - }; - - qcom,usb-chgpth@1300 { - status = "ok"; - }; - - qcom,dc-chgpth@1400 { - status = "ok"; - }; - - qcom,boost@1500 { - status = "ok"; - }; - - qcom,chg-misc@1600 { - status = "ok"; - }; -}; - -&pm8941_gpios { - gpio@c000 { /* GPIO 1 */ - qcom,mode = <0>; /* QPNP_PIN_MODE_DIG_IN */ - qcom,pull = <0>; /* QPNP_PIN_PULL_UP_30 */ - qcom,master-en = <1>; - }; - - gpio@c100 { /* GPIO 2 */ - qcom,mode = <0>; /* QPNP_PIN_MODE_DIG_IN */ - qcom,pull = <0>; /* QPNP_PIN_PULL_UP_30 */ - qcom,master-en = <1>; - }; - - gpio@c200 { /* GPIO 3 */ - qcom,mode = <0>; /* QPNP_PIN_MODE_DIG_IN */ - qcom,pull = <0>; /* QPNP_PIN_PULL_UP_30 */ - qcom,vin-sel = <2>; - qcom,src-sel = <0>; /* QPNP_PIN_SEL_FUNC_CONSTANT */ - qcom,master-en = <1>; - }; - - gpio@c300 { /* GPIO 4 */ - qcom,mode = <0>; /* QPNP_PIN_MODE_DIG_IN */ - qcom,pull = <0>; /* QPNP_PIN_PULL_UP_30 */ - qcom,vin-sel = <2>; /* QPNP_PIN_VIN2 */ - qcom,src-sel = <0>; /* QPNP_PIN_SEL_FUNC_CONSTANT */ - qcom,master-en = <1>; - }; - - gpio@c400 { /* GPIO 5 */ - qcom,mode = <0>; /* QPNP_PIN_MODE_DIG_IN */ - qcom,pull = <0>; /* QPNP_PIN_PULL_UP_30 */ - qcom,vin-sel = <2>; /* QPNP_PIN_VIN2 */ - qcom,src-sel = <0>; /* QPNP_PIN_SEL_FUNC_CONSTANT */ - qcom,master-en = <1>; - }; - - gpio@c500 { /* GPIO 6 */ - qcom,mode = <0>; /* QPNP_PIN_MODE_DIG_IN */ - qcom,pull = <0>; /* QPNP_PIN_PULL_UP_30 */ - qcom,master-en = <1>; - }; - - gpio@c600 { /* GPIO 7 */ - qcom,mode = <0>; /* QPNP_PIN_MODE_DIG_IN */ - qcom,pull = <0>; /* QPNP_PIN_PULL_UP_30 */ - qcom,master-en = <1>; - }; - - gpio@c700 { /* GPIO 8 */ - qcom,mode = <0>; /* QPNP_PIN_MODE_DIG_IN */ - qcom,pull = <0>; /* QPNP_PIN_PULL_UP_30 */ - qcom,master-en = <1>; - }; - - gpio@c800 { /* GPIO 9 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */ - qcom,src-sel = <2>; /* QPNP_PIN_SEL_FUNC_1 */ - qcom,master-en = <1>; - }; - - gpio@c900 { /* GPIO 10 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */ - qcom,src-sel = <2>; /* QPNP_PIN_SEL_FUNC_1 */ - qcom,master-en = <1>; - }; - - gpio@ca00 { /* GPIO 11 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */ - qcom,src-sel = <2>; /* QPNP_PIN_SEL_FUNC_1 */ - qcom,master-en = <1>; - }; - - gpio@cb00 { /* GPIO 12 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */ - qcom,src-sel = <2>; /* QPNP_PIN_SEL_FUNC_1 */ - qcom,master-en = <1>; - }; - - gpio@cc00 { /* GPIO 13 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */ - qcom,src-sel = <2>; /* QPNP_PIN_SEL_FUNC_1 */ - qcom,master-en = <1>; - }; - - gpio@cd00 { /* GPIO 14 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */ - qcom,src-sel = <2>; /* QPNP_PIN_SEL_FUNC_1 */ - qcom,master-en = <1>; - }; - - gpio@ce00 { /* GPIO 15 */ - qcom,mode = <1>; - qcom,output-type = <0>; - qcom,pull = <5>; - qcom,vin-sel = <2>; - qcom,out-strength = <1>; - qcom,src-sel = <2>; - qcom,master-en = <1>; - }; - - gpio@cf00 { /* GPIO 16 */ - qcom,mode = <1>; - qcom,output-type = <0>; - qcom,pull = <5>; - qcom,vin-sel = <2>; - qcom,out-strength = <3>; - qcom,src-sel = <3>; /* QPNP_PIN_SEL_FUNC_2 */ - qcom,master-en = <1>; - }; - - gpio@d000 { /* GPIO 17 */ - }; - - gpio@d100 { /* GPIO 18 */ - }; - - gpio@d200 { /* GPIO 19 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,output-type = <0>; /* QPNP_PIN_OUT_BUF_CMOS */ - qcom,pull = <5>; /* QPNP_PIN_PULL_NO */ - qcom,vin-sel = <2>; /* QPNP_PIN_VIN2 */ - qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */ - qcom,src-sel = <0>; /* QPNP_PIN_SEL_FUNC_CONSTANT */ - qcom,master-en = <1>; - }; - - gpio@d300 { /* GPIO 20 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */ - qcom,src-sel = <2>; /* QPNP_PIN_SEL_FUNC_1 */ - qcom,master-en = <1>; - }; - - gpio@d400 { /* GPIO 21 */ - }; - - gpio@d500 { /* GPIO 22 */ - qcom,mode = <0>; /* QPNP_PIN_MODE_DIG_IN */ - qcom,pull = <4>; /* QPNP_PIN_PULL_DN */ - qcom,master-en = <1>; - }; - - gpio@d600 { /* GPIO 23 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */ - qcom,src-sel = <2>; /* QPNP_PIN_SEL_FUNC_1 */ - qcom,master-en = <1>; - }; - - gpio@d700 { /* GPIO 24 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */ - qcom,src-sel = <2>; /* QPNP_PIN_SEL_FUNC_1 */ - qcom,master-en = <1>; - }; - - gpio@d800 { /* GPIO 25 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */ - qcom,src-sel = <2>; /* QPNP_PIN_SEL_FUNC_1 */ - qcom,master-en = <1>; - }; - - gpio@d900 { /* GPIO 26 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */ - qcom,src-sel = <2>; /* QPNP_PIN_SEL_FUNC_1 */ - qcom,master-en = <1>; - }; - - gpio@da00 { /* GPIO 27 */ - qcom,mode = <0>; /* QPNP_PIN_MODE_DIG_IN */ - qcom,pull = <4>; /* QPNP_PIN_PULL_DN */ - qcom,master-en = <1>; - }; - - gpio@db00 { /* GPIO 28 */ - }; - - gpio@dc00 { /* GPIO 29 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */ - qcom,src-sel = <2>; /* QPNP_PIN_SEL_FUNC_1 */ - qcom,master-en = <1>; - }; - - gpio@dd00 { /* GPIO 30 */ - qcom,mode = <0>; /* QPNP_PIN_MODE_DIG_IN */ - qcom,pull = <4>; /* QPNP_PIN_PULL_DN */ - qcom,master-en = <1>; - }; - - gpio@de00 { /* GPIO 31 */ - }; - - gpio@df00 { /* GPIO 32 */ - qcom,mode = <0>; /* QPNP_PIN_MODE_DIG_IN */ - qcom,pull = <4>; /* QPNP_PIN_PULL_DN */ - qcom,master-en = <1>; - }; - - gpio@e000 { /* GPIO 33 */ - qcom,mode = <0>; /* QPNP_PIN_MODE_DIG_IN */ - qcom,pull = <4>; /* QPNP_PIN_PULL_DN */ - qcom,master-en = <1>; - }; - - gpio@e100 { /* GPIO 34 */ - qcom,mode = <0>; /* QPNP_PIN_MODE_DIG_IN */ - qcom,pull = <4>; /* QPNP_PIN_PULL_DN */ - qcom,master-en = <1>; - }; - - gpio@e200 { /* GPIO 35 */ - qcom,mode = <0>; /* QPNP_PIN_MODE_DIG_IN */ - qcom,pull = <4>; /* QPNP_PIN_PULL_DN */ - qcom,master-en = <1>; - }; - - gpio@e300 { /* GPIO 36 */ - }; -}; - -&pm8941_mpps { - - mpp@a000 { /* MPP 1 */ - status = "disabled"; - }; - - mpp@a100 { /* MPP 2 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */ - qcom,master-en = <1>; - }; - - mpp@a200 { /* MPP 3 */ - }; - - mpp@a300 { /* MPP 4 */ - }; - - mpp@a400 { /* MPP 5 */ - }; - - mpp@a500 { /* MPP 6 */ - /* SPI_ETH_RST config */ - qcom,mode = <1>; /* DIG_OUT */ - qcom,output-type = <0>; /* CMOS */ - qcom,vin-sel = <2>; /* PM8941_S3 1.8V > 1.6V */ - qcom,src-sel = <0>; /* CONSTANT */ - qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */ - qcom,master-en = <1>; /* ENABLE MPP */ - }; - - mpp@a600 { /* MPP 7 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */ - qcom,master-en = <1>; - }; - - mpp@a700 { /* MPP 8 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */ - qcom,master-en = <1>; - }; -}; - -&pm8841_mpps { - - mpp@a000 { /* MPP 1 */ - }; - - mpp@a100 { /* MPP 2 */ - }; - - mpp@a200 { /* MPP 3 */ - }; - - mpp@a300 { /* MPP 4 */ - }; -}; - -&slim_msm { - taiko_codec { - qcom,cdc-micbias1-ext-cap; - qcom,cdc-micbias2-ext-cap; - qcom,cdc-micbias4-ext-cap; - }; -}; - -&spi_epm { - epm-adc@0 { - compatible = "cy,epm-adc-cy8c5568lti-114"; - reg = <0>; - interrupt-parent = <&msmgpio>; - spi-max-frequency = <960000>; - qcom,channels = <31>; - qcom,gain = <100 100 100 50 100 100 1 100 1 50 - 1 100 1 100 50 50 50 50 50 50 - 100 50 100 50 50 50 50 50 50 50 - 50>; - qcom,rsense = <2 2 2 200 20 2 1 2 1 30 - 1 10 1 30 50 30 500 30 100 30 - 100 500 20 200 1000 20 1000 1000 70 200 - 50>; - qcom,channel-type = <0x1540>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8974-regulator.dtsi b/kernel/arch/arm/boot/dts/m7300-un-v1/msm8974-regulator.dtsi deleted file mode 100755 index 2114686eb..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8974-regulator.dtsi +++ /dev/null @@ -1,568 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - - -/* QPNP controlled regulators: */ - -&spmi_bus { - - qcom,pm8941@1 { - - pm8941_boost: regulator@a000 { - regulator-min-microvolt = <5000000>; - regulator-max-microvolt = <5000000>; - qcom,enable-time = <500>; - status = "okay"; - }; - - pm8941_mvs1: regulator@8300 { - parent-supply = <&pm8941_chg_otg>; - qcom,enable-time = <1000>; - qcom,pull-down-enable = <1>; - interrupts = <0x1 0x83 0x2>; - interrupt-names = "ocp"; - qcom,ocp-enable = <1>; - qcom,ocp-max-retries = <10>; - qcom,ocp-retry-delay = <30>; - qcom,soft-start-enable = <1>; - qcom,vs-soft-start-strength = <0>; - qcom,hpm-enable = <1>; - qcom,auto-mode-enable = <0>; - status = "okay"; - }; - - pm8941_mvs2: regulator@8400 { - parent-supply = <&pm8941_boost>; - qcom,enable-time = <1000>; - qcom,pull-down-enable = <1>; - interrupts = <0x1 0x84 0x2>; - interrupt-names = "ocp"; - qcom,ocp-enable = <1>; - qcom,ocp-max-retries = <10>; - qcom,ocp-retry-delay = <30>; - qcom,soft-start-enable = <1>; - qcom,vs-soft-start-strength = <0>; - qcom,hpm-enable = <1>; - qcom,auto-mode-enable = <0>; - status = "okay"; - }; - }; -}; - -/* RPM controlled regulators: */ - -&rpm_bus { - rpm-regulator-smpb1 { - status = "okay"; - pm8841_s1: regulator-s1 { - regulator-min-microvolt = <675000>; - regulator-max-microvolt = <1050000>; - status = "okay"; - }; - pm8841_s1_ao: regulator-s1-ao { - regulator-name = "8841_s1_ao"; - qcom,set = <1>; - regulator-min-microvolt = <675000>; - regulator-max-microvolt = <1050000>; - status = "okay"; - compatible = "qcom,rpm-regulator-smd"; - }; - pm8841_s1_so: regulator-s1-so { - regulator-name = "8841_s1_so"; - qcom,set = <2>; - regulator-min-microvolt = <675000>; - regulator-max-microvolt = <1050000>; - qcom,init-voltage = <675000>; - status = "okay"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-smpb2 { - status = "okay"; - pm8841_s2: regulator-s2 { - regulator-min-microvolt = <500000>; - regulator-max-microvolt = <1050000>; - status = "okay"; - }; - pm8841_s2_corner: regulator-s2-corner { - regulator-name = "8841_s2_corner"; - qcom,set = <3>; - regulator-min-microvolt = <1>; - regulator-max-microvolt = <7>; - qcom,use-voltage-corner; - compatible = "qcom,rpm-regulator-smd"; - qcom,consumer-supplies = "vdd_dig", ""; - }; - pm8841_s2_corner_ao: regulator-s2-corner-ao { - regulator-name = "8841_s2_corner_ao"; - qcom,set = <1>; - regulator-min-microvolt = <1>; - regulator-max-microvolt = <7>; - qcom,use-voltage-corner; - compatible = "qcom,rpm-regulator-smd"; - }; - pm8841_s2_floor_corner: regulator-s2-floor-corner { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8841_s2_floor_corner"; - qcom,set = <3>; - regulator-min-microvolt = <1>; - regulator-max-microvolt = <7>; - qcom,use-voltage-floor-corner; - qcom,always-send-voltage; - }; - }; - - rpm-regulator-smpb3 { - status = "okay"; - pm8841_s3: regulator-s3 { - regulator-min-microvolt = <1050000>; - regulator-max-microvolt = <1050000>; - qcom,init-voltage = <1050000>; - status = "okay"; - }; - }; - - rpm-regulator-smpb4 { - status = "okay"; - pm8841_s4: regulator-s4 { - regulator-min-microvolt = <815000>; - regulator-max-microvolt = <900000>; - status = "okay"; - }; - pm8841_s4_corner: regulator-s4-corner { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8841_s4_corner"; - qcom,set = <3>; - qcom,use-voltage-corner; - regulator-min-microvolt = <1>; - regulator-max-microvolt = <7>; - qcom,init-voltage-corner = <3>; /* SVS SOC */ - }; - pm8841_s4_floor_corner: regulator-s4-floor-corner { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8841_s4_floor_corner"; - qcom,set = <3>; - regulator-min-microvolt = <1>; - regulator-max-microvolt = <7>; - qcom,use-voltage-floor-corner; - qcom,always-send-voltage; - }; - }; - - rpm-regulator-smpa1 { - status = "okay"; - pm8941_s1: regulator-s1 { - regulator-min-microvolt = <1300000>; - regulator-max-microvolt = <1300000>; - qcom,init-voltage = <1300000>; - status = "okay"; - }; - }; - - rpm-regulator-smpa2 { - status = "okay"; - pm8941_s2: regulator-s2 { - regulator-min-microvolt = <2150000>; - regulator-max-microvolt = <2150000>; - qcom,init-voltage = <2150000>; - status = "okay"; - }; - }; - - rpm-regulator-smpa3 { - status = "okay"; - pm8941_s3: regulator-s3 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa1 { - status = "okay"; - pm8941_l1: regulator-l1 { - regulator-min-microvolt = <1225000>; - regulator-max-microvolt = <1225000>; - qcom,init-voltage = <1225000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa2 { - status = "okay"; - pm8941_l2: regulator-l2 { - regulator-min-microvolt = <1200000>; - regulator-max-microvolt = <1200000>; - qcom,init-voltage = <1200000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa3 { - status = "okay"; - pm8941_l3: regulator-l3 { - regulator-min-microvolt = <1225000>; - regulator-max-microvolt = <1225000>; - qcom,init-voltage = <1225000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa4 { - status = "okay"; - pm8941_l4: regulator-l4 { - regulator-min-microvolt = <1225000>; - regulator-max-microvolt = <1225000>; - qcom,init-voltage = <1225000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa5 { - status = "okay"; - pm8941_l5: regulator-l5 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa6 { - status = "okay"; - pm8941_l6: regulator-l6 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa7 { - status = "okay"; - pm8941_l7: regulator-l7 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa8 { - status = "okay"; - pm8941_l8: regulator-l8 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa9 { - status = "okay"; - pm8941_l9: regulator-l9 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <2950000>; - qcom,init-voltage = <2950000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa10 { - status = "okay"; - pm8941_l10: regulator-l10 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <2950000>; - qcom,init-voltage = <2950000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa11 { - status = "okay"; - pm8941_l11: regulator-l11 { - regulator-min-microvolt = <1300000>; - regulator-max-microvolt = <1300000>; - qcom,init-voltage = <1300000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa12 { - status = "okay"; - pm8941_l12: regulator-l12 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - status = "okay"; - }; - pm8941_l12_ao: regulator-l12-ao { - regulator-name = "8941_l12_ao"; - qcom,set = <1>; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - status = "okay"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa13 { - status = "okay"; - pm8941_l13: regulator-l13 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <2950000>; - qcom,init-voltage = <2950000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa14 { - status = "okay"; - pm8941_l14: regulator-l14 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa15 { - status = "okay"; - pm8941_l15: regulator-l15 { - regulator-min-microvolt = <2050000>; - regulator-max-microvolt = <2050000>; - qcom,init-voltage = <2050000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa16 { - status = "okay"; - pm8941_l16: regulator-l16 { - regulator-min-microvolt = <2700000>; - regulator-max-microvolt = <2700000>; - qcom,init-voltage = <2700000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa17 { - status = "okay"; - pm8941_l17: regulator-l17 { - regulator-min-microvolt = <2850000>; - regulator-max-microvolt = <2850000>; - qcom,init-voltage = <2850000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa18 { - status = "okay"; - pm8941_l18: regulator-l18 { - regulator-min-microvolt = <2850000>; - regulator-max-microvolt = <2850000>; - qcom,init-voltage = <2850000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa19 { - status = "okay"; - pm8941_l19: regulator-l19 { - regulator-min-microvolt = <2900000>; - regulator-max-microvolt = <2900000>; - qcom,init-voltage = <2900000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa20 { - status = "okay"; - pm8941_l20: regulator-l20 { - regulator-min-microvolt = <2950000>; - regulator-max-microvolt = <2950000>; - qcom,init-voltage = <2950000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa21 { - status = "okay"; - pm8941_l21: regulator-l21 { - regulator-min-microvolt = <2950000>; - regulator-max-microvolt = <2950000>; - qcom,init-voltage = <2950000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa22 { - status = "okay"; - pm8941_l22: regulator-l22 { - regulator-min-microvolt = <3000000>; - regulator-max-microvolt = <3000000>; - qcom,init-voltage = <3000000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa23 { - status = "okay"; - pm8941_l23: regulator-l23 { - regulator-min-microvolt = <3000000>; - regulator-max-microvolt = <3000000>; - qcom,init-voltage = <3000000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa24 { - status = "okay"; - pm8941_l24: regulator-l24 { - regulator-min-microvolt = <3075000>; - regulator-max-microvolt = <3075000>; - qcom,init-voltage = <3075000>; - status = "okay"; - }; - }; - - rpm-regulator-vsa1 { - status = "okay"; - pm8941_lvs1: regulator-lvs1 { - status = "okay"; - }; - }; - - rpm-regulator-vsa2 { - status = "okay"; - pm8941_lvs2: regulator-lvs2 { - status = "okay"; - }; - }; - - rpm-regulator-vsa3 { - status = "okay"; - pm8941_lvs3: regulator-lvs3 { - status = "okay"; - }; - }; -}; - -&soc { - krait_pdn: krait-pdn@f9011000 { - reg = <0xf9011000 0x1000>, - <0xfc4b80b0 8>; - reg-names = "apcs_gcc", "phase-scaling-efuse"; - compatible = "qcom,krait-pdn"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - qcom,pfm-threshold = <73>; - - krait0_vreg: regulator@f9088000 { - compatible = "qcom,krait-regulator"; - regulator-name = "krait0"; - reg = <0xf9088000 0x1000>, /* APCS_ALIAS0_KPSS_ACS */ - <0xf908a800 0x1000>; /* APCS_ALIAS0_KPSS_MDD */ - reg-names = "acs", "mdd"; - regulator-min-microvolt = <500000>; - regulator-max-microvolt = <1100000>; - qcom,headroom-voltage = <150000>; - qcom,retention-voltage = <675000>; - qcom,ldo-default-voltage = <750000>; - qcom,ldo-threshold-voltage = <850000>; - qcom,ldo-delta-voltage = <50000>; - qcom,cpu-num = <0>; - }; - - krait1_vreg: regulator@f9098000 { - compatible = "qcom,krait-regulator"; - regulator-name = "krait1"; - reg = <0xf9098000 0x1000>, /* APCS_ALIAS1_KPSS_ACS */ - <0xf909a800 0x1000>; /* APCS_ALIAS1_KPSS_MDD */ - reg-names = "acs", "mdd"; - regulator-min-microvolt = <500000>; - regulator-max-microvolt = <1100000>; - qcom,headroom-voltage = <150000>; - qcom,retention-voltage = <675000>; - qcom,ldo-default-voltage = <750000>; - qcom,ldo-threshold-voltage = <850000>; - qcom,ldo-delta-voltage = <50000>; - qcom,cpu-num = <1>; - }; - - krait2_vreg: regulator@f90a8000 { - compatible = "qcom,krait-regulator"; - regulator-name = "krait2"; - reg = <0xf90a8000 0x1000>, /* APCS_ALIAS2_KPSS_ACS */ - <0xf90aa800 0x1000>; /* APCS_ALIAS2_KPSS_MDD */ - reg-names = "acs", "mdd"; - regulator-min-microvolt = <500000>; - regulator-max-microvolt = <1100000>; - qcom,headroom-voltage = <150000>; - qcom,retention-voltage = <675000>; - qcom,ldo-default-voltage = <750000>; - qcom,ldo-threshold-voltage = <850000>; - qcom,ldo-delta-voltage = <50000>; - qcom,cpu-num = <2>; - }; - - krait3_vreg: regulator@f90b8000 { - compatible = "qcom,krait-regulator"; - regulator-name = "krait3"; - reg = <0xf90b8000 0x1000>, /* APCS_ALIAS3_KPSS_ACS */ - <0xf90ba800 0x1000>; /* APCS_ALIAS3_KPSS_MDD */ - reg-names = "acs", "mdd"; - regulator-min-microvolt = <500000>; - regulator-max-microvolt = <1100000>; - qcom,headroom-voltage = <150000>; - qcom,retention-voltage = <675000>; - qcom,ldo-default-voltage = <750000>; - qcom,ldo-threshold-voltage = <850000>; - qcom,ldo-delta-voltage = <50000>; - qcom,cpu-num = <3>; - }; - }; - - spi_eth_vreg: spi_eth_phy_vreg { - compatible = "regulator-fixed"; - regulator-name = "ethernet_phy"; - gpio = <&pm8941_mpps 5 0>; - enable-active-high; - }; - - /* - * vph_pwr_vreg represents the unregulated battery voltage supply - * VPH_PWR that is present whenever the device is powered on. - */ - vph_pwr_vreg: vph_pwr_vreg { - compatible = "regulator-fixed"; - status = "disabled"; - regulator-name = "vph_pwr"; - regulator-always-on; - }; -}; - -&pm8941_chg { - otg-parent-supply = <&pm8941_boost>; -}; - -&pm8941_chg_boost { - regulator-min-microvolt = <5000000>; - regulator-max-microvolt = <5000000>; - regulator-name = "8941_smbb_boost"; -}; - -&pm8941_chg_otg { - regulator-name = "8941_smbb_otg"; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8974-rumi.dtsi b/kernel/arch/arm/boot/dts/m7300-un-v1/msm8974-rumi.dtsi deleted file mode 100755 index c01a4e509..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8974-rumi.dtsi +++ /dev/null @@ -1,146 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/include/ "msm8974-leds.dtsi" -/include/ "msm8974-camera-sensor-cdp.dtsi" - -&soc { - timer { - clock-frequency = <5000000>; - }; - - serial@f995e000 { - status = "ok"; - }; - - usb@f9a55000 { - status = "disable"; - }; - - qcom,sdcc@f9824000 { - qcom,clk-rates = <400000 19200000>; - }; - - qcom,sdcc@f98a4000 { - qcom,clk-rates = <400000 19200000>; - }; - - qcom,sps@f998000 { - status = "disable"; - }; - - spi@f9924000 { - status = "disable"; - }; - - spi@f9923000 { - compatible = "qcom,spi-qup-v2"; - reg = <0xf9923000 0x1000>; - interrupts = <0 95 0>; - spi-max-frequency = <24000000>; - #address-cells = <1>; - #size-cells = <0>; - gpios = <&msmgpio 3 0>, /* CLK */ - <&msmgpio 1 0>, /* MISO */ - <&msmgpio 0 0>; /* MOSI */ - cs-gpios = <&msmgpio 9 0>; - - ethernet-switch@2 { - compatible = "simtec,ks8851"; - reg = <2>; - interrupt-parent = <&msmgpio>; - interrupts = <90 0>; - spi-max-frequency = <5000000>; - }; - }; - - i2c@f9966000 { - status = "disable"; - }; - - i2c@f9967000 { - cell-index = <0>; - compatible = "qcom,i2c-qup"; - reg = <0Xf9967000 0x1000>; - reg-names = "qup_phys_addr"; - interrupts = <0 105 0>; - interrupt-names = "qup_err_intr"; - qcom,i2c-bus-freq = <100000>; - qcom,i2c-src-freq = <19200000>; - gpios = <&msmgpio 83 0>, /* DAT */ - <&msmgpio 84 0>; /* CLK */ - }; - - slim@fe12f000 { - status = "disable"; - }; - - qcom,mdss_dsi@fd922800 { - status = "disable"; - }; - - qcom,spmi@fc4c0000 { - status = "disable"; - }; - - qcom,ssusb@F9200000 { - status = "disable"; - }; - - qcom,lpass@fe200000 { - status = "disable"; - }; - - qcom,pronto@fb21b000 { - status = "disable"; - }; - - qcom,mss@fc880000 { - status = "disable"; - }; - - qcom,kgsl-3d0@fdb00000 { - status = "disabled"; - }; -}; - -&gdsc_venus { - status = "disabled"; -}; - -&gdsc_mdss { - status = "disabled"; -}; - -&gdsc_jpeg { - status = "disabled"; -}; - -&gdsc_vfe { - status = "disabled"; -}; - -&gdsc_oxili_gx { - status = "disabled"; -}; - -&gdsc_oxili_cx { - status = "disabled"; -}; - -&gdsc_usb_hsic { - status = "disabled"; -}; - -&rpm_bus { - rpm-standalone; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8974-sim.dtsi b/kernel/arch/arm/boot/dts/m7300-un-v1/msm8974-sim.dtsi deleted file mode 100755 index 24b8d18be..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8974-sim.dtsi +++ /dev/null @@ -1,93 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/include/ "dsi-panel-sim-video.dtsi" -/include/ "msm8974-leds.dtsi" -/include/ "msm8974-camera-sensor-cdp.dtsi" - -&soc { - qcom,mdss_dsi@fd922800 { - qcom,mdss_dsi_sim_video { - status = "ok"; - }; - }; - - serial@f991f000 { - status = "ok"; - }; - - serial@f995e000 { - status = "ok"; - }; -}; - -&jpeg_iommu { - qcom,iommu-ctx@fda6c000 { - interrupts = <0 69 0>; - }; - - qcom,iommu-ctx@fda6d000 { - interrupts = <0 70 0>; - }; - - qcom,iommu-ctx@fda6e000 { - interrupts = <0 71 0>; - }; -}; - -&mdp_iommu { - qcom,iommu-ctx@fd930000 { - interrupts = <0 46 0>; - }; - - qcom,iommu-ctx@fd931000 { - interrupts = <0 47 0>; - }; -}; - -&venus_iommu { - qcom,iommu-ctx@fdc8c000 { - interrupts = <0 43 0>; - }; - - qcom,iommu-ctx@fdc8d000 { - interrupts = <0 42 0>; - }; - - qcom,iommu-ctx@fdc8e000 { - interrupts = <0 41 0>; - }; -}; - -&kgsl_iommu { - qcom,iommu-ctx@fdb18000 { - interrupts = <0 240 0>; - }; - - qcom,iommu-ctx@fdb19000 { - interrupts = <0 241 0>; - }; -}; - -&vfe_iommu { - qcom,iommu-ctx@fda4c000 { - interrupts = <0 64 0>; - }; - - qcom,iommu-ctx@fda4d000 { - interrupts = <0 65 0>; - }; - - qcom,iommu-ctx@fda4e000 { - interrupts = <0 66 0>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8974-smp2p.dtsi b/kernel/arch/arm/boot/dts/m7300-un-v1/msm8974-smp2p.dtsi deleted file mode 100755 index 3921a686a..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8974-smp2p.dtsi +++ /dev/null @@ -1,225 +0,0 @@ -/* Copyright (c) 2013, 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. - */ -&soc { - qcom,smp2p-modem { - compatible = "qcom,smp2p"; - reg = <0xf9011008 0x4>; - qcom,remote-pid = <1>; - qcom,irq-bitmask = <0x4000>; - interrupts = <0 27 1>; - }; - - qcom,smp2p-adsp { - compatible = "qcom,smp2p"; - reg = <0xf9011008 0x4>; - qcom,remote-pid = <2>; - qcom,irq-bitmask = <0x400>; - interrupts = <0 158 1>; - }; - - qcom,smp2p-wcnss { - compatible = "qcom,smp2p"; - reg = <0xf9011008 0x4>; - qcom,remote-pid = <4>; - qcom,irq-bitmask = <0x40000>; - interrupts = <0 143 1>; - }; - - smp2pgpio_smp2p_7_in: qcom,smp2pgpio-smp2p-7-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <7>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_7_in { - compatible = "qcom,smp2pgpio_test_smp2p_7_in"; - gpios = <&smp2pgpio_smp2p_7_in 0 0>; - }; - - smp2pgpio_smp2p_7_out: qcom,smp2pgpio-smp2p-7-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <7>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_7_out { - compatible = "qcom,smp2pgpio_test_smp2p_7_out"; - gpios = <&smp2pgpio_smp2p_7_out 0 0>; - }; - - smp2pgpio_smp2p_1_in: qcom,smp2pgpio-smp2p-1-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <1>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_1_in { - compatible = "qcom,smp2pgpio_test_smp2p_1_in"; - gpios = <&smp2pgpio_smp2p_1_in 0 0>; - }; - - smp2pgpio_smp2p_1_out: qcom,smp2pgpio-smp2p-1-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <1>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_1_out { - compatible = "qcom,smp2pgpio_test_smp2p_1_out"; - gpios = <&smp2pgpio_smp2p_1_out 0 0>; - }; - - smp2pgpio_ssr_smp2p_1_in: qcom,smp2pgpio-ssr-smp2p-1-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "slave-kernel"; - qcom,remote-pid = <1>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - smp2pgpio_ssr_smp2p_1_out: qcom,smp2pgpio-ssr-smp2p-1-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "master-kernel"; - qcom,remote-pid = <1>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - smp2pgpio_smp2p_2_in: qcom,smp2pgpio-smp2p-2-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <2>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_2_in { - compatible = "qcom,smp2pgpio_test_smp2p_2_in"; - gpios = <&smp2pgpio_smp2p_2_in 0 0>; - }; - - smp2pgpio_smp2p_2_out: qcom,smp2pgpio-smp2p-2-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <2>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_2_out { - compatible = "qcom,smp2pgpio_test_smp2p_2_out"; - gpios = <&smp2pgpio_smp2p_2_out 0 0>; - }; - - /* SMP2P SSR Driver for inbound entry from lpass. */ - smp2pgpio_ssr_smp2p_2_in: qcom,smp2pgpio-ssr-smp2p-2-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "slave-kernel"; - qcom,remote-pid = <2>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - /* SMP2P SSR Driver for outbound entry to lpass */ - smp2pgpio_ssr_smp2p_2_out: qcom,smp2pgpio-ssr-smp2p-2-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "master-kernel"; - qcom,remote-pid = <2>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - smp2pgpio_smp2p_4_in: qcom,smp2pgpio-smp2p-4-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <4>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_4_in { - compatible = "qcom,smp2pgpio_test_smp2p_4_in"; - gpios = <&smp2pgpio_smp2p_4_in 0 0>; - }; - - smp2pgpio_smp2p_4_out: qcom,smp2pgpio-smp2p-4-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <4>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - smp2pgpio_ssr_smp2p_4_in: qcom,smp2pgpio-ssr-smp2p-4-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "slave-kernel"; - qcom,remote-pid = <4>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - smp2pgpio_ssr_smp2p_4_out: qcom,smp2pgpio-ssr-smp2p-4-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "master-kernel"; - qcom,remote-pid = <4>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_4_out { - compatible = "qcom,smp2pgpio_test_smp2p_4_out"; - gpios = <&smp2pgpio_smp2p_4_out 0 0>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8974-v1-cdp.dts b/kernel/arch/arm/boot/dts/m7300-un-v1/msm8974-v1-cdp.dts deleted file mode 100755 index c3fd98d2b..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8974-v1-cdp.dts +++ /dev/null @@ -1,33 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/dts-v1/; - -/include/ "msm8974-v1.dtsi" -/include/ "msm8974-cdp.dtsi" - -/ { - model = "Qualcomm MSM 8974 CDP"; - compatible = "qcom,msm8974-cdp", "qcom,msm8974", "qcom,cdp"; - qcom,msm-id = <126 1 0>, - <185 1 0>, - <186 1 0>; -}; - -&ehci { - status = "ok"; - vbus-supply = <&usb2_otg_sw>; -}; - -&hsic_host { - qcom,phy-sof-workaround; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8974-v1-fluid.dts b/kernel/arch/arm/boot/dts/m7300-un-v1/msm8974-v1-fluid.dts deleted file mode 100755 index 2b96ecbd2..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8974-v1-fluid.dts +++ /dev/null @@ -1,33 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/dts-v1/; - -/include/ "msm8974-v1.dtsi" -/include/ "msm8974-fluid.dtsi" - -/ { - model = "Qualcomm MSM 8974 FLUID"; - compatible = "qcom,msm8974-fluid", "qcom,msm8974", "qcom,fluid"; - qcom,msm-id = <126 3 0>, - <185 3 0>, - <186 3 0>; - -}; - -&pm8941_chg { - qcom,charging-disabled; -}; - -&sdcc1 { - qcom,bus-width = <4>; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8974-v1-iommu-domains.dtsi b/kernel/arch/arm/boot/dts/m7300-un-v1/msm8974-v1-iommu-domains.dtsi deleted file mode 100755 index 25fca2a54..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8974-v1-iommu-domains.dtsi +++ /dev/null @@ -1,31 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -&soc { - qcom,iommu-domains { - compatible = "qcom,iommu-domains"; - - venus_domain_ns: qcom,iommu-domain1 { - label = "venus_ns"; - qcom,iommu-contexts = <&venus_ns>; - qcom,virtual-addr-pool = <0x40000000 0x3f000000 - 0x7f000000 0x1000000>; - }; - - venus_domain_cp: qcom,iommu-domain2 { - label = "venus_cp"; - qcom,iommu-contexts = <&venus_cp>; - qcom,virtual-addr-pool = <0x1000000 0x3f000000>; - qcom,secure-domain; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8974-v1-iommu.dtsi b/kernel/arch/arm/boot/dts/m7300-un-v1/msm8974-v1-iommu.dtsi deleted file mode 100755 index 56369dce3..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8974-v1-iommu.dtsi +++ /dev/null @@ -1,40 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/include/ "msm-iommu-v1.dtsi" - -&jpeg_iommu { - status = "ok"; - vdd-supply = <&gdsc_jpeg>; -}; - -&mdp_iommu { - status = "ok"; - vdd-supply = <&gdsc_mdss>; -}; - -&venus_iommu { - status = "ok"; - vdd-supply = <&gdsc_venus>; -}; - -&kgsl_iommu { - status = "ok"; - qcom,needs-alt-core-clk; - vdd-supply = <&gdsc_oxili_cx>; - qcom,alt-vdd-supply = <&gdsc_oxili_gx>; -}; - -&vfe_iommu { - status = "ok"; - vdd-supply = <&gdsc_vfe>; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8974-v1-liquid.dts b/kernel/arch/arm/boot/dts/m7300-un-v1/msm8974-v1-liquid.dts deleted file mode 100755 index 29d6150ba..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8974-v1-liquid.dts +++ /dev/null @@ -1,24 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/dts-v1/; - -/include/ "msm8974-v1.dtsi" -/include/ "msm8974-liquid.dtsi" - -/ { - model = "Qualcomm MSM 8974 LIQUID"; - compatible = "qcom,msm8974-liquid", "qcom,msm8974", "qcom,liquid"; - qcom,msm-id = <126 9 0>, - <185 9 0>, - <186 9 0>; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8974-v1-mtp.dts b/kernel/arch/arm/boot/dts/m7300-un-v1/msm8974-v1-mtp.dts deleted file mode 100755 index 8cbcca05a..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8974-v1-mtp.dts +++ /dev/null @@ -1,28 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/dts-v1/; - -/include/ "msm8974-v1.dtsi" -/include/ "msm8974-mtp.dtsi" - -/ { - model = "Qualcomm MSM 8974 MTP"; - compatible = "qcom,msm8974-mtp", "qcom,msm8974", "qcom,mtp"; - qcom,msm-id = <126 8 0>, - <185 8 0>, - <186 8 0>; -}; - -&pm8941_chg { - qcom,charging-disabled; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8974-v1-pm.dtsi b/kernel/arch/arm/boot/dts/m7300-un-v1/msm8974-v1-pm.dtsi deleted file mode 100755 index 56a819ecc..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8974-v1-pm.dtsi +++ /dev/null @@ -1,456 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/include/ "skeleton.dtsi" - -&soc { - qcom,spm@f9089000 { - compatible = "qcom,spm-v2"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xf9089000 0x1000>; - qcom,core-id = <0>; - qcom,saw2-ver-reg = <0xfd0>; - qcom,saw2-cfg = <0x01>; - qcom,saw2-avs-ctl = <0>; - qcom,saw2-avs-hysteresis = <0>; - qcom,saw2-avs-limit = <0>; - qcom,saw2-avs-dly= <0>; - qcom,saw2-spm-dly= <0x20000400>; - qcom,saw2-spm-ctl = <0x1>; - qcom,saw2-spm-cmd-wfi = [03 0b 0f]; - qcom,saw2-spm-cmd-ret = [42 1b 00 d0 c0 a0 90 03 d0 98 a2 c0 - 0b 00 42 1b 0f]; - qcom,saw2-spm-cmd-spc = [00 20 80 10 90 a0 b0 03 3b 98 a2 b0 82 - 10 0b 30 06 26 30 0f]; - qcom,saw2-spm-cmd-pc = [00 20 80 10 90 a0 b0 07 3b 98 a2 b0 82 - 10 0b 30 06 26 30 0f]; - }; - - qcom,spm@f9099000 { - compatible = "qcom,spm-v2"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xf9099000 0x1000>; - qcom,core-id = <1>; - qcom,saw2-ver-reg = <0xfd0>; - qcom,saw2-cfg = <0x01>; - qcom,saw2-avs-ctl = <0>; - qcom,saw2-avs-hysteresis = <0>; - qcom,saw2-avs-limit = <0>; - qcom,saw2-avs-dly= <0>; - qcom,saw2-spm-dly= <0x20000400>; - qcom,saw2-spm-ctl = <0x1>; - qcom,saw2-spm-cmd-wfi = [03 0b 0f]; - qcom,saw2-spm-cmd-ret = [42 1b 00 d0 c0 a0 90 03 d0 98 a2 c0 - 0b 00 42 1b 0f]; - qcom,saw2-spm-cmd-spc = [00 20 80 10 90 a0 b0 03 3b 98 a2 b0 82 - 10 0b 30 06 26 30 0f]; - qcom,saw2-spm-cmd-pc = [00 20 80 10 90 a0 b0 07 3b 98 a2 b0 82 - 10 0b 30 06 26 30 0f]; - }; - - qcom,spm@f90a9000 { - compatible = "qcom,spm-v2"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xf90a9000 0x1000>; - qcom,core-id = <2>; - qcom,saw2-ver-reg = <0xfd0>; - qcom,saw2-cfg = <0x01>; - qcom,saw2-avs-ctl = <0>; - qcom,saw2-avs-hysteresis = <0>; - qcom,saw2-avs-limit = <0>; - qcom,saw2-avs-dly= <0>; - qcom,saw2-spm-dly= <0x20000400>; - qcom,saw2-spm-ctl = <0x1>; - qcom,saw2-spm-cmd-wfi = [03 0b 0f]; - qcom,saw2-spm-cmd-ret = [42 1b 00 d0 c0 a0 90 03 d0 98 a2 c0 - 0b 00 42 1b 0f]; - qcom,saw2-spm-cmd-spc = [00 20 80 10 90 a0 b0 03 3b 98 a2 b0 82 - 10 0b 30 06 26 30 0f]; - qcom,saw2-spm-cmd-pc = [00 20 80 10 90 a0 b0 07 3b 98 a2 b0 82 - 10 0b 30 06 26 30 0f]; - }; - - qcom,spm@f90b9000 { - compatible = "qcom,spm-v2"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xf90b9000 0x1000>; - qcom,core-id = <3>; - qcom,saw2-ver-reg = <0xfd0>; - qcom,saw2-cfg = <0x01>; - qcom,saw2-avs-ctl = <0>; - qcom,saw2-avs-hysteresis = <0>; - qcom,saw2-avs-limit = <0>; - qcom,saw2-avs-dly= <0>; - qcom,saw2-spm-dly= <0x20000400>; - qcom,saw2-spm-ctl = <0x1>; - qcom,saw2-spm-cmd-wfi = [03 0b 0f]; - qcom,saw2-spm-cmd-ret = [42 1b 00 d0 c0 a0 90 03 d0 98 a2 c0 - 0b 00 42 1b 0f]; - qcom,saw2-spm-cmd-spc = [00 20 80 10 90 a0 b0 03 3b 98 a2 b0 82 - 10 0b 30 06 26 30 0f]; - qcom,saw2-spm-cmd-pc = [00 20 80 10 90 a0 b0 07 3b 98 a2 b0 82 - 10 0b 30 06 26 30 0f]; - }; - - qcom,spm@f9012000 { - compatible = "qcom,spm-v2"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xf9012000 0x1000>; - qcom,core-id = <0xffff>; /* L2/APCS SAW */ - qcom,saw2-ver-reg = <0xfd0>; - qcom,saw2-cfg = <0x14>; - qcom,saw2-avs-ctl = <0>; - qcom,saw2-avs-hysteresis = <0>; - qcom,saw2-avs-limit = <0>; - qcom,saw2-avs-dly= <0>; - qcom,saw2-spm-dly= <0x20000400>; - qcom,saw2-spm-ctl = <0x1>; - qcom,saw2-pmic-data0 = <0x02030080>; - qcom,saw2-pmic-data1 = <0x00030000>; - qcom,vctl-timeout-us = <50>; - qcom,vctl-port = <0x0>; - qcom,phase-port = <0x1>; - qcom,pfm-port = <0x2>; - qcom,saw2-spm-cmd-ret = [1f 00 20 03 22 00 0f]; - qcom,saw2-spm-cmd-gdhs = [00 20 32 42 07 44 22 50 02 32 50 0f]; - qcom,saw2-spm-cmd-pc = [00 10 32 b0 11 42 07 01 b0 12 44 - 50 02 32 50 0f]; - }; - - qcom,lpm-resources { - compatible = "qcom,lpm-resources"; - #address-cells = <1>; - #size-cells = <0>; - - qcom,lpm-resources@0 { - reg = <0x0>; - qcom,name = "vdd-dig"; - qcom,type = <0x62706d73>; /* "smpb" */ - qcom,id = <0x02>; - qcom,key = <0x6e726f63>; /* "corn" */ - qcom,init-value = <6>; /* Super Turbo */ - }; - - qcom,lpm-resources@1 { - reg = <0x1>; - qcom,name = "vdd-mem"; - qcom,type = <0x62706d73>; /* "smpb" */ - qcom,id = <0x01>; - qcom,key = <0x7675>; /* "uv" */ - qcom,init-value = <1050000>; /* Super Turbo */ - }; - - qcom,lpm-resources@2 { - reg = <0x2>; - qcom,name = "pxo"; - qcom,type = <0x306b6c63>; /* "clk0" */ - qcom,id = <0x00>; - qcom,key = <0x62616e45>; /* "Enab" */ - qcom,init-value = "xo_on"; - }; - - qcom,lpm-resources@3 { - reg = <0x3>; - qcom,name = "l2"; - qcom,local-resource-type; - qcom,init-value = "l2_cache_retention"; - }; - }; - - qcom,lpm-levels { - compatible = "qcom,lpm-levels"; - #address-cells = <1>; - #size-cells = <0>; - - qcom,use-qtimer; - - qcom,lpm-level@0 { - reg = <0x0>; - qcom,mode = "wfi"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_active"; - qcom,vdd-mem-upper-bound = <1050000>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <950000>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <1>; - qcom,ss-power = <784>; - qcom,energy-overhead = <190000>; - qcom,time-overhead = <100>; - }; - - qcom,lpm-level@1 { - reg = <0x1>; - qcom,mode = "retention"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_active"; - qcom,vdd-mem-upper-bound = <1050000>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <950000>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <75>; - qcom,ss-power = <735>; - qcom,energy-overhead = <77341>; - qcom,time-overhead = <105>; - }; - - - qcom,lpm-level@2 { - reg = <0x2>; - qcom,mode = "standalone_pc"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_active"; - qcom,vdd-mem-upper-bound = <1050000>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <950000>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <95>; - qcom,ss-power = <725>; - qcom,energy-overhead = <99500>; - qcom,time-overhead = <130>; - }; - - qcom,lpm-level@3 { - reg = <0x3>; - qcom,mode = "pc"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_gdhs"; - qcom,vdd-mem-upper-bound = <1050000>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <950000>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <2000>; - qcom,ss-power = <138>; - qcom,energy-overhead = <1208400>; - qcom,time-overhead = <3200>; - }; - - qcom,lpm-level@4 { - reg = <0x4>; - qcom,mode = "pc"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_pc"; - qcom,vdd-mem-upper-bound = <1050000>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <950000>; /* SVS SOC */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <3>; /* SVS SOC */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <3000>; - qcom,ss-power = <110>; - qcom,energy-overhead = <1250300>; - qcom,time-overhead = <3500>; - }; - - qcom,lpm-level@5 { - reg = <0x5>; - qcom,mode = "pc"; - qcom,xo = "xo_off"; - qcom,l2 = "l2_cache_gdhs"; - qcom,vdd-mem-upper-bound = <1050000>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <950000>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,latency-us = <3000>; - qcom,ss-power = <68>; - qcom,energy-overhead = <1350200>; - qcom,time-overhead = <4000>; - }; - - qcom,lpm-level@6 { - reg = <0x6>; - qcom,mode = "pc"; - qcom,xo = "xo_off"; - qcom,l2 = "l2_cache_pc"; - qcom,vdd-mem-upper-bound = <1050000>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <950000>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,latency-us = <10300>; - qcom,ss-power = <63>; - qcom,energy-overhead = <2128000>; - qcom,time-overhead = <18200>; - }; - - qcom,lpm-level@7 { - reg = <0x7>; - qcom,mode= "pc"; - qcom,xo = "xo_off"; - qcom,l2 = "l2_cache_pc"; - qcom,vdd-mem-upper-bound = <950000>; /* NORMAL */ - qcom,vdd-mem-lower-bound = <950000>; /* SVS SOC */ - qcom,vdd-dig-upper-bound = <4>; /* NORMAL */ - qcom,vdd-dig-lower-bound = <3>; /* SVS SOC */ - qcom,latency-us = <18000>; - qcom,ss-power = <10>; - qcom,energy-overhead = <3202600>; - qcom,time-overhead = <27000>; - }; - - qcom,lpm-level@8 { - reg = <0x8>; - qcom,mode= "pc"; - qcom,xo = "xo_off"; - qcom,l2 = "l2_cache_pc"; - qcom,vdd-mem-upper-bound = <950000>; /* SVS SOC */ - qcom,vdd-mem-lower-bound = <675000>; /* RETENTION */ - qcom,vdd-dig-upper-bound = <3>; /* SVS SOC */ - qcom,vdd-dig-lower-bound = <1>; /* RETENTION */ - qcom,latency-us = <20000>; - qcom,ss-power = <2>; - qcom,energy-overhead = <4252000>; - qcom,time-overhead = <32000>; - }; - }; - - qcom,pm-boot { - compatible = "qcom,pm-boot"; - qcom,mode = "tz"; - }; - - qcom,mpm@fc4281d0 { - compatible = "qcom,mpm-v2"; - reg = <0xfc4281d0 0x1000>, /* MSM_RPM_MPM_BASE 4K */ - <0xf9011008 0x4>; /* MSM_APCS_GCC_BASE 4K */ - reg-names = "vmpm", "ipc"; - interrupts = <0 171 1>; - - qcom,ipc-bit-offset = <1>; - - qcom,gic-parent = <&intc>; - qcom,gic-map = <2 216>, /* tsens_upper_lower_int */ - <47 165>, /* usb30_hs_phy_irq */ - <50 172>, /* usb1_hs_async_wakeup_irq */ - <53 104>, /* mdss_irq */ - <62 222>, /* ee0_krait_hlos_spmi_periph_irq */ - <0xff 57>, /* mss_to_apps_irq(0) */ - <0xff 58>, /* mss_to_apps_irq(1) */ - <0xff 59>, /* mss_to_apps_irq(2) */ - <0xff 60>, /* mss_to_apps_irq(3) */ - <0xff 173>, /* o_wcss_apss_smd_hi */ - <0xff 174>, /* o_wcss_apss_smd_med */ - <0xff 175>, /* o_wcss_apss_smd_low */ - <0xff 176>, /* o_wcss_apss_smsm_irq */ - <0xff 177>, /* o_wcss_apss_wlan_data_xfer_done */ - <0xff 178>, /* o_wcss_apss_wlan_rx_data_avail */ - <0xff 179>, /* o_wcss_apss_asic_intr - - <0xff 188>, /* lpass_irq_out_apcs(0) */ - <0xff 189>, /* lpass_irq_out_apcs(1) */ - <0xff 190>, /* lpass_irq_out_apcs(2) */ - <0xff 191>, /* lpass_irq_out_apcs(3) */ - <0xff 192>, /* lpass_irq_out_apcs(4) */ - <0xff 193>, /* lpass_irq_out_apcs(5) */ - <0xff 194>, /* lpass_irq_out_apcs(6) */ - <0xff 195>, /* lpass_irq_out_apcs(7) */ - <0xff 196>, /* lpass_irq_out_apcs(8) */ - <0xff 197>, /* lpass_irq_out_apcs(9) */ - <0xff 200>, /* rpm_ipc(4) */ - <0xff 201>, /* rpm_ipc(5) */ - <0xff 202>, /* rpm_ipc(6) */ - <0xff 203>, /* rpm_ipc(7) */ - <0xff 204>, /* rpm_ipc(24) */ - <0xff 205>, /* rpm_ipc(25) */ - <0xff 206>, /* rpm_ipc(26) */ - <0xff 207>, /* rpm_ipc(27) */ - <0xff 240>; /* summary_irq_kpss */ - - qcom,gpio-parent = <&msmgpio>; - qcom,gpio-map = <3 102>, - <4 1 >, - <5 5 >, - <6 9 >, - <7 18>, - <8 20>, - <9 24>, - <10 27>, - <11 28>, - <12 34>, - <13 35>, - <14 37>, - <15 42>, - <16 44>, - <17 46>, - <18 50>, - <19 54>, - <20 59>, - <21 61>, - <22 62>, - <23 64>, - <24 65>, - <25 66>, - <26 67>, - <27 68>, - <28 71>, - <29 72>, - <30 73>, - <31 74>, - <32 75>, - <33 77>, - <34 79>, - <35 80>, - <36 82>, - <37 86>, - <38 92>, - <39 93>, - <40 95>, - <41 144>; - }; - - qcom,pm-8x60@fe805664 { - compatible = "qcom,pm-8x60"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - reg = <0xfe805664 0x40>; - qcom,pc-mode = "tz_l2_int"; - qcom,use-sync-timer; - }; - - qcom,cpu-sleep-status@f9088008 { - compatible = "qcom,cpu-sleep-status"; - reg = <0xf9088008 0x4>; - qcom,cpu-alias-addr = <0x10000>; - qcom,sleep-status-mask= <0x80000>; - }; - - qcom,rpm-log@fc19dc00 { - compatible = "qcom,rpm-log"; - reg = <0xfc19dc00 0x4000>; - qcom,rpm-addr-phys = <0xfc000000>; - qcom,offset-version = <4>; - qcom,offset-page-buffer-addr = <36>; - qcom,offset-log-len = <40>; - qcom,offset-log-len-mask = <44>; - qcom,offset-page-indices = <56>; - }; - - qcom,rpm-stats@fc19dba0 { - compatible = "qcom,rpm-stats"; - reg = <0xfc19dba0 0x1000>; - reg-names = "phys_addr_base"; - qcom,sleep-stats-version = <2>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8974-v1-rumi.dts b/kernel/arch/arm/boot/dts/m7300-un-v1/msm8974-v1-rumi.dts deleted file mode 100755 index 85aab17b1..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8974-v1-rumi.dts +++ /dev/null @@ -1,24 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/dts-v1/; - -/include/ "msm8974-v1.dtsi" -/include/ "msm8974-rumi.dtsi" - -/ { - model = "Qualcomm MSM 8974 RUMI"; - compatible = "qcom,msm8974-rumi", "qcom,msm8974", "qcom,rumi"; - qcom,msm-id = <126 15 0>, - <185 15 0>, - <186 15 0>; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8974-v1-sim.dts b/kernel/arch/arm/boot/dts/m7300-un-v1/msm8974-v1-sim.dts deleted file mode 100755 index fc9858de7..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8974-v1-sim.dts +++ /dev/null @@ -1,24 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/dts-v1/; - -/include/ "msm8974-v1.dtsi" -/include/ "msm8974-sim.dtsi" - -/ { - model = "Qualcomm MSM 8974 Simulator"; - compatible = "qcom,msm8974-sim", "qcom,msm8974", "qcom,sim"; - qcom,msm-id = <126 16 0>, - <185 16 0>, - <186 16 0>; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8974-v1.dtsi b/kernel/arch/arm/boot/dts/m7300-un-v1/msm8974-v1.dtsi deleted file mode 100755 index caec2dc1b..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8974-v1.dtsi +++ /dev/null @@ -1,134 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/* - * As a general rule, only version-specific property overrides should be placed - * inside this file. However, device definitions should be placed inside the - * msm8974.dtsi file. - */ - -/include/ "msm8974.dtsi" -/include/ "msm8974-v1-iommu.dtsi" -/include/ "msm8974-v1-iommu-domains.dtsi" -/include/ "msm8974-v1-pm.dtsi" - -&soc { - android_usb@fc42b0c8 { - compatible = "qcom,android-usb"; - reg = <0xfc42b0c8 0xc8>; - qcom,android-usb-swfi-latency = <1>; - }; - - qcom,msm-imem@fc42b000 { - compatible = "qcom,msm-imem"; - reg = <0xfc42b000 0x1000>; /* Address and size of IMEM */ - }; -}; - -&tsens { - qcom,calibration-less-mode; -}; - -/* I2C clock frequency overrides */ -&i2c_0 { - qcom,i2c-src-freq = <19200000>; -}; - -&i2c_2 { - qcom,i2c-src-freq = <19200000>; -}; - -/* CoreSight */ -&tmc_etr { - qcom,reset-flush-race; -}; - -&stm { - qcom,write-64bit; -}; - -&mdss_mdp { - qcom,mdss-pingpong-off = <0x00021B00 0x00021C00 0x00021D00>; -}; - -&msm_vidc { - qcom,vidc-cp-map = <0x1000000 0x3f000000>; - qcom,vidc-ns-map = <0x40000000 0x40000000>; - qcom,load-freq-tbl = <979200 410000000>, - <783360 410000000>, - <489600 266670000>, - <244800 133330000>; - qcom,reg-presets = <0x80004 0x1>, - <0x80178 0x00001FFF>, - <0x8017c 0x1FFF1FFF>, - <0x800b0 0x10101001>, - <0x800b4 0x10101010>, - <0x800b8 0x10101010>, - <0x800bc 0x00000010>, - <0x800c0 0x1010100f>, - <0x800c4 0x10101010>, - <0x800c8 0x10101010>, - <0x800cc 0x00000010>, - <0x800d0 0x00001010>, - <0x800d4 0x00001010>, - <0x800f0 0x00000030>, - <0x800d8 0x00000707>, - <0x800dc 0x00000707>, - <0x80124 0x00000001>, - <0xE0020 0x5555556>, - <0xE0024 0x0>; - qcom,bus-ports = <1>; - qcom,enc-ocmem-ab-ib = <0 0>, - <138200 1222000>, - <414700 1222000>, - <940000 2444000>, - <1880000 2444000>, - <3008000 3910400>, - <3760000 4888000>; - qcom,dec-ocmem-ab-ib = <0 0>, - <176900 1556640>, - <456200 1556640>, - <864800 1556640>, - <1729600 3113280>, - <2767360 4981248>, - <3459200 6226560>; - qcom,enc-ddr-ab-ib = <0 0>, - <60000 664950>, - <181000 664950>, - <403000 664950>, - <806000 1329900>, - <1289600 2127840>, - <161200 6400000>; - qcom,dec-ddr-ab-ib = <0 0>, - <110000 909000>, - <268000 909000>, - <505000 909000>, - <1010000 1818000>, - <1616000 2908800>, - <2020000 6400000>; - qcom,iommu-groups = <&venus_domain_ns &venus_domain_cp>; - qcom,iommu-group-buffer-types = <0xfff 0x1ff>; - qcom,buffer-type-tz-usage-table = <0x1 0x1>, - <0x1fe 0x2>; -}; - -&sfpb_spinlock { - status = "disable"; -}; - -&ldrex_spinlock { - status = "ok"; -}; - -&usb_otg { - qcom,hsusb-otg-pnoc-errata-fix; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8974-v2-cdp.dts b/kernel/arch/arm/boot/dts/m7300-un-v1/msm8974-v2-cdp.dts deleted file mode 100755 index 85d478b73..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8974-v2-cdp.dts +++ /dev/null @@ -1,36 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; - -/include/ "msm8974-v2.dtsi" -/include/ "msm8974-cdp.dtsi" - -/ { - model = "Qualcomm MSM 8974v2 CDP"; - compatible = "qcom,msm8974-cdp", "qcom,msm8974", "qcom,cdp"; - qcom,msm-id = <126 1 0x20000>, - <185 1 0x20000>, - <186 1 0x20000>; -}; - -&usb3 { - interrupt-parent = <&usb3>; - interrupts = <0 1>; - #interrupt-cells = <1>; - interrupt-map-mask = <0x0 0xffffffff>; - interrupt-map = <0x0 0 &intc 0 133 0 - 0x0 1 &spmi_bus 0x0 0x0 0x9 0x0>; - interrupt-names = "hs_phy_irq", "pmic_id_irq"; - - qcom,misc-ref = <&pm8941_misc>; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8974-v2-fluid.dts b/kernel/arch/arm/boot/dts/m7300-un-v1/msm8974-v2-fluid.dts deleted file mode 100755 index d83d13048..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8974-v2-fluid.dts +++ /dev/null @@ -1,36 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; - -/include/ "msm8974-v2.dtsi" -/include/ "msm8974-fluid.dtsi" - -/ { - model = "Qualcomm MSM 8974v2 FLUID"; - compatible = "qcom,msm8974-fluid", "qcom,msm8974", "qcom,fluid"; - qcom,msm-id = <126 3 0x20000>, - <185 3 0x20000>, - <186 3 0x20000>; -}; - -&usb3 { - interrupt-parent = <&usb3>; - interrupts = <0 1>; - #interrupt-cells = <1>; - interrupt-map-mask = <0x0 0xffffffff>; - interrupt-map = <0x0 0 &intc 0 133 0 - 0x0 1 &spmi_bus 0x0 0x0 0x9 0x0>; - interrupt-names = "hs_phy_irq", "pmic_id_irq"; - - qcom,misc-ref = <&pm8941_misc>; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8974-v2-iommu-domains.dtsi b/kernel/arch/arm/boot/dts/m7300-un-v1/msm8974-v2-iommu-domains.dtsi deleted file mode 100755 index 01c94d0ec..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8974-v2-iommu-domains.dtsi +++ /dev/null @@ -1,45 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -&soc { - qcom,iommu-domains { - compatible = "qcom,iommu-domains"; - - venus_domain_ns: qcom,iommu-domain1 { - label = "venus_ns"; - qcom,iommu-contexts = <&venus_ns>; - qcom,virtual-addr-pool = <0x5dc00000 0x7f000000 - 0xdcc00000 0x1000000>; - }; - - venus_domain_sec_bitstream: qcom,iommu-domain2 { - label = "venus_sec_bitstream"; - qcom,iommu-contexts = <&venus_sec_bitstream>; - qcom,virtual-addr-pool = <0x4b000000 0x12c00000>; - qcom,secure-domain; - }; - - venus_domain_sec_pixel: qcom,iommu-domain3 { - label = "venus_sec_pixel"; - qcom,iommu-contexts = <&venus_sec_pixel>; - qcom,virtual-addr-pool = <0x25800000 0x25800000>; - qcom,secure-domain; - }; - - venus_domain_sec_non_pixel: qcom,iommu-domain4 { - label = "venus_sec_non_pixel"; - qcom,iommu-contexts = <&venus_sec_non_pixel>; - qcom,virtual-addr-pool = <0x1000000 0x24800000>; - qcom,secure-domain; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8974-v2-iommu.dtsi b/kernel/arch/arm/boot/dts/m7300-un-v1/msm8974-v2-iommu.dtsi deleted file mode 100755 index 03f7e807e..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8974-v2-iommu.dtsi +++ /dev/null @@ -1,256 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/include/ "msm-iommu-v1.dtsi" - -&venus_iommu { - status = "ok"; - vdd-supply = <&gdsc_venus>; - qcom,iommu-enable-halt; - - qcom,iommu-bfb-regs = <0x204c - 0x2050 - 0x2514 - 0x2540 - 0x256c - 0x20ac - 0x215c - 0x220c - 0x2314 - 0x2394 - 0x2414 - 0x2008 - 0x200c - 0x2010 - 0x2014 - 0x2018 - 0x201c - 0x2020 - 0x2024 - 0x2028 - 0x202c - 0x2030 - 0x2034 - 0x2038>; - - qcom,iommu-bfb-data = <0xFFFFFFFF - 0xFFFFFFFF - 0x00000004 - 0x00000008 - 0x00000000 - 0x00013205 - 0x00004000 - 0x00014020 - 0x0 - 0x94 - 0x114 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0>; - - venus_ns: qcom,iommu-ctx@fdc8c000 { - qcom,iommu-ctx-sids = <0 1 2 3 4 5 7>; - }; - - venus_sec_bitstream: qcom,iommu-ctx@fdc8d000 { - qcom,iommu-ctx-sids = <0x80 0x81 0x82 0x83 0x84>; - label = "venus_sec_bitstream"; - }; - - venus_sec_pixel: qcom,iommu-ctx@fdc8f000 { - compatible = "qcom,msm-smmu-v1-ctx"; - reg = <0xfdc8f000 0x1000>; - interrupts = <0 42 0>, <0 43 0>; - qcom,iommu-ctx-sids = <0x85>; - label = "venus_sec_pixel"; - qcom,secure-context; - }; - - venus_sec_non_pixel: qcom,iommu-ctx@fdc90000 { - compatible = "qcom,msm-smmu-v1-ctx"; - reg = <0xfdc90000 0x1000>; - interrupts = <0 42 0>, <0 43 0>; - qcom,iommu-ctx-sids = <0x87 0xA0>; - label = "venus_sec_non_pixel"; - qcom,secure-context; - }; -}; - -&jpeg_iommu { - status = "ok"; - vdd-supply = <&gdsc_jpeg>; - qcom,iommu-enable-halt; - - qcom,iommu-bfb-regs = <0x204c - 0x2050 - 0x2514 - 0x2540 - 0x256c - 0x2314 - 0x2394 - 0x2414 - 0x20ac - 0x215c - 0x220c - 0x2008 - 0x200c - 0x2010 - 0x2014>; - - qcom,iommu-bfb-data = <0x3FFF - 0x00000000 - 0x4 - 0x4 - 0x0 - 0x0 - 0x10 - 0x50 - 0x0 - 0x00002804 - 0x00009614 - 0x0 - 0x0 - 0x0 - 0x0>; -}; - -&mdp_iommu { - status = "ok"; - vdd-supply = <&gdsc_mdss>; - qcom,iommu-enable-halt; - - qcom,iommu-bfb-regs = <0x204c - 0x2050 - 0x2514 - 0x2540 - 0x256c - 0x20ac - 0x215c - 0x220c - 0x2314 - 0x2394 - 0x2414 - 0x2008 - 0x200c - 0x2010 - 0x2014 - 0x2018 - 0x201c - 0x2020>; - - qcom,iommu-bfb-data = <0xFFFFF - 0x00000000 - 0x00000004 - 0x00000010 - 0x00000000 - 0x00006800 - 0x00006221 - 0x00016231 - 0x0 - 0x34 - 0x74 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0>; -}; - -&kgsl_iommu { - status = "ok"; - vdd-supply = <&gdsc_oxili_cx>; - qcom,alt-vdd-supply = <&gdsc_oxili_gx>; - qcom,iommu-enable-halt; - qcom,needs-alt-core-clk; - - qcom,iommu-bfb-regs = <0x204c - 0x2050 - 0x2514 - 0x2540 - 0x256c - 0x20ac - 0x215c - 0x220c - 0x2314 - 0x2394 - 0x2414 - 0x2008>; - - qcom,iommu-bfb-data = <0x00000003 - 0x0 - 0x00000004 - 0x00000010 - 0x00000000 - 0x00000000 - 0x00000000 - 0x00000020 - 0x0 - 0x1 - 0x81 - 0x0>; -}; - -&vfe_iommu { - status = "ok"; - vdd-supply = <&gdsc_vfe>; - qcom,iommu-enable-halt; - - qcom,iommu-bfb-regs = <0x204c - 0x2050 - 0x2514 - 0x2540 - 0x256c - 0x2314 - 0x2394 - 0x2414 - 0x20ac - 0x215c - 0x220c - 0x2008 - 0x200c - 0x2010 - 0x2014 - 0x2018 - 0x201c - 0x2020>; - - qcom,iommu-bfb-data = <0xffffffff - 0x00000000 - 0x4 - 0x8 - 0x0 - 0x0 - 0x20 - 0x78 - 0x0 - 0x00003c08 - 0x0000b41e - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0>; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8974-v2-liquid.dts b/kernel/arch/arm/boot/dts/m7300-un-v1/msm8974-v2-liquid.dts deleted file mode 100755 index 53983dc1c..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8974-v2-liquid.dts +++ /dev/null @@ -1,36 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; - -/include/ "msm8974-v2.dtsi" -/include/ "msm8974-liquid.dtsi" - -/ { - model = "Qualcomm MSM 8974v2 LIQUID"; - compatible = "qcom,msm8974-liquid", "qcom,msm8974", "qcom,liquid"; - qcom,msm-id = <126 9 0x20000>, - <185 9 0x20000>, - <186 9 0x20000>; -}; - -&usb3 { - interrupt-parent = <&usb3>; - interrupts = <0 1>; - #interrupt-cells = <1>; - interrupt-map-mask = <0x0 0xffffffff>; - interrupt-map = <0x0 0 &intc 0 133 0 - 0x0 1 &spmi_bus 0x0 0x0 0x9 0x0>; - interrupt-names = "hs_phy_irq", "pmic_id_irq"; - - qcom,misc-ref = <&pm8941_misc>; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8974-v2-mtp.dts b/kernel/arch/arm/boot/dts/m7300-un-v1/msm8974-v2-mtp.dts deleted file mode 100755 index 792a78cbd..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8974-v2-mtp.dts +++ /dev/null @@ -1,40 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; - -/include/ "msm8974-v2.dtsi" -/include/ "msm8974-mtp.dtsi" - -/ { - model = "Qualcomm MSM 8974v2 MTP"; - compatible = "qcom,msm8974-mtp", "qcom,msm8974", "qcom,mtp"; - qcom,msm-id = <126 8 0x20000>, - <185 8 0x20000>, - <186 8 0x20000>; -}; - -&usb3 { - interrupt-parent = <&usb3>; - interrupts = <0 1>; - #interrupt-cells = <1>; - interrupt-map-mask = <0x0 0xffffffff>; - interrupt-map = <0x0 0 &intc 0 133 0 - 0x0 1 &spmi_bus 0x0 0x0 0x9 0x0>; - interrupt-names = "hs_phy_irq", "pmic_id_irq"; - - qcom,misc-ref = <&pm8941_misc>; -}; - -&pm8941_chg { - qcom,bpd-detection = "bpd_thm"; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8974-v2-pm.dtsi b/kernel/arch/arm/boot/dts/m7300-un-v1/msm8974-v2-pm.dtsi deleted file mode 100755 index 8a46724ae..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8974-v2-pm.dtsi +++ /dev/null @@ -1,452 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/include/ "skeleton.dtsi" - -&soc { - qcom,spm@f9089000 { - compatible = "qcom,spm-v2"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xf9089000 0x1000>; - qcom,core-id = <0>; - qcom,saw2-ver-reg = <0xfd0>; - qcom,saw2-cfg = <0x01>; - qcom,saw2-avs-ctl = <0>; - qcom,saw2-avs-hysteresis = <0>; - qcom,saw2-avs-limit = <0>; - qcom,saw2-avs-dly= <0>; - qcom,saw2-spm-dly= <0x3C102800>; - qcom,saw2-spm-ctl = <0x1>; - qcom,saw2-spm-cmd-wfi = [03 0b 0f]; - qcom,saw2-spm-cmd-ret = [42 1b 00 d0 c0 a0 90 03 d0 98 a2 c0 - 0b 00 42 1b 0f]; - qcom,saw2-spm-cmd-spc = [00 20 80 10 90 a0 b0 03 3b 98 a2 b0 82 - 10 0b 30 06 26 30 0f]; - qcom,saw2-spm-cmd-pc = [00 20 80 10 90 a0 b0 07 3b 98 a2 b0 82 - 10 0b 30 06 26 30 0f]; - }; - - qcom,spm@f9099000 { - compatible = "qcom,spm-v2"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xf9099000 0x1000>; - qcom,core-id = <1>; - qcom,saw2-ver-reg = <0xfd0>; - qcom,saw2-cfg = <0x01>; - qcom,saw2-avs-ctl = <0>; - qcom,saw2-avs-hysteresis = <0>; - qcom,saw2-avs-limit = <0>; - qcom,saw2-avs-dly= <0>; - qcom,saw2-spm-dly= <0x3C102800>; - qcom,saw2-spm-ctl = <0x1>; - qcom,saw2-spm-cmd-wfi = [03 0b 0f]; - qcom,saw2-spm-cmd-ret = [42 1b 00 d0 c0 a0 90 03 d0 98 a2 c0 - 0b 00 42 1b 0f]; - qcom,saw2-spm-cmd-spc = [00 20 80 10 90 a0 b0 03 3b 98 a2 b0 82 - 10 0b 30 06 26 30 0f]; - qcom,saw2-spm-cmd-pc = [00 20 80 10 90 a0 b0 07 3b 98 a2 b0 82 - 10 0b 30 06 26 30 0f]; - }; - - qcom,spm@f90a9000 { - compatible = "qcom,spm-v2"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xf90a9000 0x1000>; - qcom,core-id = <2>; - qcom,saw2-ver-reg = <0xfd0>; - qcom,saw2-cfg = <0x01>; - qcom,saw2-avs-ctl = <0>; - qcom,saw2-avs-hysteresis = <0>; - qcom,saw2-avs-limit = <0>; - qcom,saw2-avs-dly= <0>; - qcom,saw2-spm-dly= <0x3C102800>; - qcom,saw2-spm-ctl = <0x1>; - qcom,saw2-spm-cmd-wfi = [03 0b 0f]; - qcom,saw2-spm-cmd-ret = [42 1b 00 d0 c0 a0 90 03 d0 98 a2 c0 - 0b 00 42 1b 0f]; - qcom,saw2-spm-cmd-spc = [00 20 80 10 90 a0 b0 03 3b 98 a2 b0 82 - 10 0b 30 06 26 30 0f]; - qcom,saw2-spm-cmd-pc = [00 20 80 10 90 a0 b0 07 3b 98 a2 b0 82 - 10 0b 30 06 26 30 0f]; - }; - - qcom,spm@f90b9000 { - compatible = "qcom,spm-v2"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xf90b9000 0x1000>; - qcom,core-id = <3>; - qcom,saw2-ver-reg = <0xfd0>; - qcom,saw2-cfg = <0x01>; - qcom,saw2-avs-ctl = <0>; - qcom,saw2-avs-hysteresis = <0>; - qcom,saw2-avs-limit = <0>; - qcom,saw2-avs-dly= <0>; - qcom,saw2-spm-dly= <0x3C102800>; - qcom,saw2-spm-ctl = <0x1>; - qcom,saw2-spm-cmd-wfi = [03 0b 0f]; - qcom,saw2-spm-cmd-ret = [42 1b 00 d0 c0 a0 90 03 d0 98 a2 c0 - 0b 00 42 1b 0f]; - qcom,saw2-spm-cmd-spc = [00 20 80 10 90 a0 b0 03 3b 98 a2 b0 82 - 10 0b 30 06 26 30 0f]; - qcom,saw2-spm-cmd-pc = [00 20 80 10 90 a0 b0 07 3b 98 a2 b0 82 - 10 0b 30 06 26 30 0f]; - }; - - qcom,spm@f9012000 { - compatible = "qcom,spm-v2"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xf9012000 0x1000>; - qcom,core-id = <0xffff>; /* L2/APCS SAW */ - qcom,saw2-ver-reg = <0xfd0>; - qcom,saw2-cfg = <0x14>; - qcom,saw2-avs-ctl = <0>; - qcom,saw2-avs-hysteresis = <0>; - qcom,saw2-avs-limit = <0>; - qcom,saw2-avs-dly= <0>; - qcom,saw2-spm-dly= <0x3C102800>; - qcom,saw2-spm-ctl = <0x1>; - qcom,saw2-pmic-data0 = <0x02030080>; - qcom,saw2-pmic-data1 = <0x00030000>; - qcom,vctl-timeout-us = <50>; - qcom,vctl-port = <0x0>; - qcom,phase-port = <0x1>; - qcom,pfm-port = <0x2>; - qcom,saw2-spm-cmd-ret = [1f 00 03 00 0f]; - qcom,saw2-spm-cmd-gdhs = [00 32 42 07 44 50 02 32 50 0f]; - qcom,saw2-spm-cmd-pc = [00 32 b0 11 42 07 01 b0 44 - 50 02 32 50 0f]; - }; - - qcom,lpm-resources { - compatible = "qcom,lpm-resources"; - #address-cells = <1>; - #size-cells = <0>; - - qcom,lpm-resources@0 { - reg = <0x0>; - qcom,name = "vdd-dig"; - qcom,type = <0x62706d73>; /* "smpb" */ - qcom,id = <0x02>; - qcom,key = <0x6e726f63>; /* "corn" */ - qcom,init-value = <6>; /* Super Turbo */ - }; - - qcom,lpm-resources@1 { - reg = <0x1>; - qcom,name = "vdd-mem"; - qcom,type = <0x62706d73>; /* "smpb" */ - qcom,id = <0x01>; - qcom,key = <0x7675>; /* "uv" */ - qcom,init-value = <1050000>; /* Super Turbo */ - }; - - qcom,lpm-resources@2 { - reg = <0x2>; - qcom,name = "pxo"; - qcom,type = <0x306b6c63>; /* "clk0" */ - qcom,id = <0x00>; - qcom,key = <0x62616e45>; /* "Enab" */ - qcom,init-value = "xo_on"; - }; - - qcom,lpm-resources@3 { - reg = <0x3>; - qcom,name = "l2"; - qcom,local-resource-type; - qcom,init-value = "l2_cache_retention"; - }; - }; - - qcom,lpm-levels { - compatible = "qcom,lpm-levels"; - #address-cells = <1>; - #size-cells = <0>; - - qcom,use-qtimer; - - qcom,lpm-level@0 { - reg = <0x0>; - qcom,mode = "wfi"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_active"; - qcom,vdd-mem-upper-bound = <1050000>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <950000>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <1>; - qcom,ss-power = <715>; - qcom,energy-overhead = <17700>; - qcom,time-overhead = <2>; - }; - - qcom,lpm-level@1 { - reg = <0x1>; - qcom,mode = "retention"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_active"; - qcom,vdd-mem-upper-bound = <1050000>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <950000>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <35>; - qcom,ss-power = <542>; - qcom,energy-overhead = <34920>; - qcom,time-overhead = <40>; - }; - - - qcom,lpm-level@2 { - reg = <0x2>; - qcom,mode = "standalone_pc"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_active"; - qcom,vdd-mem-upper-bound = <1050000>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <950000>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <300>; - qcom,ss-power = <476>; - qcom,energy-overhead = <225300>; - qcom,time-overhead = <350>; - }; - - qcom,lpm-level@3 { - reg = <0x3>; - qcom,mode = "pc"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_gdhs"; - qcom,vdd-mem-upper-bound = <1050000>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <950000>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <2817>; - qcom,ss-power = <163>; - qcom,energy-overhead = <1577736>; - qcom,time-overhead = <5067>; - }; - - qcom,lpm-level@4 { - reg = <0x4>; - qcom,mode = "pc"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_pc"; - qcom,vdd-mem-upper-bound = <1050000>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <950000>; /* SVS SOC */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <3>; /* SVS SOC */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <3922>; - qcom,ss-power = <83>; - qcom,energy-overhead = <2274420>; - qcom,time-overhead = <6605>; - }; - - qcom,lpm-level@5 { - reg = <0x5>; - qcom,mode = "pc"; - qcom,xo = "xo_off"; - qcom,l2 = "l2_cache_pc"; - qcom,vdd-mem-upper-bound = <1050000>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <950000>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,latency-us = <4922>; - qcom,ss-power = <68>; - qcom,energy-overhead = <2568180>; - qcom,time-overhead = <8812>; - }; - - qcom,lpm-level@6 { - reg = <0x6>; - qcom,mode= "pc"; - qcom,xo = "xo_off"; - qcom,l2 = "l2_cache_pc"; - qcom,vdd-mem-upper-bound = <950000>; /* NORMAL */ - qcom,vdd-mem-lower-bound = <950000>; /* SVS SOC */ - qcom,vdd-dig-upper-bound = <4>; /* NORMAL */ - qcom,vdd-dig-lower-bound = <3>; /* SVS SOC */ - qcom,latency-us = <5890>; - qcom,ss-power = <60>; - qcom,energy-overhead = <2675900>; - qcom,time-overhead = <10140>; - }; - - qcom,lpm-level@7 { - reg = <0x7>; - qcom,mode= "pc"; - qcom,xo = "xo_off"; - qcom,l2 = "l2_cache_pc"; - qcom,vdd-mem-upper-bound = <950000>; /* SVS SOC */ - qcom,vdd-mem-lower-bound = <675000>; /* RETENTION */ - qcom,vdd-dig-upper-bound = <3>; /* SVS SOC */ - qcom,vdd-dig-lower-bound = <1>; /* RETENTION */ - qcom,latency-us = <8500>; - qcom,ss-power = <18>; - qcom,energy-overhead = <3286600>; - qcom,time-overhead = <15760>; - }; - }; - - qcom,pm-boot { - compatible = "qcom,pm-boot"; - qcom,mode = "tz"; - }; - - qcom,mpm@fc4281d0 { - compatible = "qcom,mpm-v2"; - reg = <0xfc4281d0 0x1000>, /* MSM_RPM_MPM_BASE 4K */ - <0xf9011008 0x4>; /* MSM_APCS_GCC_BASE 4K */ - reg-names = "vmpm", "ipc"; - interrupts = <0 171 1>; - - qcom,ipc-bit-offset = <1>; - - qcom,gic-parent = <&intc>; - qcom,gic-map = <2 216>, /* tsens_upper_lower_int */ - <47 165>, /* usb30_hs_phy_irq */ - <50 172>, /* usb1_hs_async_wakeup_irq */ - <53 104>, /* mdss_irq */ - <62 222>, /* ee0_krait_hlos_spmi_periph_irq */ - <0xff 57>, /* mss_to_apps_irq(0) */ - <0xff 58>, /* mss_to_apps_irq(1) */ - <0xff 59>, /* mss_to_apps_irq(2) */ - <0xff 60>, /* mss_to_apps_irq(3) */ - <0xff 173>, /* o_wcss_apss_smd_hi */ - <0xff 174>, /* o_wcss_apss_smd_med */ - <0xff 175>, /* o_wcss_apss_smd_low */ - <0xff 176>, /* o_wcss_apss_smsm_irq */ - <0xff 177>, /* o_wcss_apss_wlan_data_xfer_done */ - <0xff 178>, /* o_wcss_apss_wlan_rx_data_avail */ - <0xff 179>, /* o_wcss_apss_asic_intr - - <0xff 188>, /* lpass_irq_out_apcs(0) */ - <0xff 189>, /* lpass_irq_out_apcs(1) */ - <0xff 190>, /* lpass_irq_out_apcs(2) */ - <0xff 191>, /* lpass_irq_out_apcs(3) */ - <0xff 192>, /* lpass_irq_out_apcs(4) */ - <0xff 193>, /* lpass_irq_out_apcs(5) */ - <0xff 194>, /* lpass_irq_out_apcs(6) */ - <0xff 195>, /* lpass_irq_out_apcs(7) */ - <0xff 196>, /* lpass_irq_out_apcs(8) */ - <0xff 197>, /* lpass_irq_out_apcs(9) */ - <0xff 200>, /* rpm_ipc(4) */ - <0xff 201>, /* rpm_ipc(5) */ - <0xff 202>, /* rpm_ipc(6) */ - <0xff 203>, /* rpm_ipc(7) */ - <0xff 204>, /* rpm_ipc(24) */ - <0xff 205>, /* rpm_ipc(25) */ - <0xff 206>, /* rpm_ipc(26) */ - <0xff 207>, /* rpm_ipc(27) */ - <0xff 240>; /* summary_irq_kpss */ - - qcom,gpio-parent = <&msmgpio>; - qcom,gpio-map = <3 102>, - <4 1 >, - <5 5 >, - <6 9 >, - <7 18>, - <8 20>, - <9 24>, - <10 27>, - <11 28>, - <12 34>, - <13 35>, - <14 37>, - <15 42>, - <16 44>, - <17 46>, - <18 50>, - <19 54>, - <20 59>, - <21 61>, - <22 62>, - <23 64>, - <24 65>, - <25 66>, - <26 67>, - <27 68>, - <28 71>, - <29 72>, - <30 73>, - <31 74>, - <32 75>, - <33 77>, - <34 79>, - <35 80>, - <36 82>, - <37 86>, - <38 92>, - <39 93>, - <40 95>, - <41 144>; - }; - - qcom,pm-8x60@fe805664 { - compatible = "qcom,pm-8x60"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - reg = <0xfe805664 0x40>; - qcom,pc-mode = "tz_l2_int"; - qcom,use-sync-timer; - - qcom,pm-snoc-client { - compatible = "qcom,pm-snoc-client"; - qcom,msm-bus,name = "ocimem_snoc"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,active-only; - qcom,msm-bus,vectors-KBps = - <54 585 0 0>, - <54 585 0 800000>; - }; - }; - - qcom,cpu-sleep-status@f9088008{ - compatible = "qcom,cpu-sleep-status"; - reg = <0xf9088008 0x100>; - qcom,cpu-alias-addr = <0x10000>; - qcom,sleep-status-mask= <0x80000>; - }; - - qcom,rpm-log@fc19dc00 { - compatible = "qcom,rpm-log"; - reg = <0xfc19dc00 0x4000>; - qcom,rpm-addr-phys = <0xfc000000>; - qcom,offset-version = <4>; - qcom,offset-page-buffer-addr = <36>; - qcom,offset-log-len = <40>; - qcom,offset-log-len-mask = <44>; - qcom,offset-page-indices = <56>; - }; - - qcom,rpm-stats@fc19dba0 { - compatible = "qcom,rpm-stats"; - reg = <0xfc19dba0 0x1000>; - reg-names = "phys_addr_base"; - qcom,sleep-stats-version = <2>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8974-v2.dtsi b/kernel/arch/arm/boot/dts/m7300-un-v1/msm8974-v2.dtsi deleted file mode 100755 index 96e78ac28..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8974-v2.dtsi +++ /dev/null @@ -1,138 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/* - * As a general rule, only version-specific property overrides should be placed - * inside this file. However, device definitions should be placed inside the - * msm8974.dtsi file. - */ - -/include/ "msm8974.dtsi" -/include/ "msm8974-v2-iommu.dtsi" -/include/ "msm8974-v2-iommu-domains.dtsi" -/include/ "msm8974-v2-pm.dtsi" - -&soc { - android_usb@fe8050c8 { - compatible = "qcom,android-usb"; - reg = <0xfe8050c8 0xc8>; - qcom,android-usb-swfi-latency = <1>; - }; - - qcom,msm-imem@fe805000 { - compatible = "qcom,msm-imem"; - reg = <0xfe805000 0x1000>; /* Address and size of IMEM */ - }; -}; - -/* GPU overrides */ -&msm_gpu { - /* Updated chip ID */ - qcom,chipid = <0x03030001>; - - /* Updated bus bandwidth requirements */ - qcom,msm-bus,vectors-KBps = - /* Off */ - <26 512 0 0>, <89 604 0 0>, - /* SVS */ - <26 512 0 2400000>, <89 604 0 3000000>, - /* Nominal / SVS */ - <26 512 0 4656000>, <89 604 0 3000000>, - /* Nominal */ - <26 512 0 4656000>, <89 604 0 5120000>, - /* Turbo / Nominal */ - <26 512 0 7464000>, <89 604 0 5120000>, - /* Turbo */ - <26 512 0 7464000>, <89 604 0 6400000>; -}; - -&mdss_mdp { - qcom,vbif-settings = <0x0004 0x00000001>; - - qcom,mdss-wb-off = <0x00011100 0x00011500 - 0x00011900 0x00011D00 0x00012100>; - qcom,mdss-intf-off = <0x00012500 0x00012700 - 0x00012900 0x00012b00>; - qcom,mdss-pingpong-off = <0x00012D00 0x00012E00 0x00012F00>; - qcom,mdss-has-bwc; - qcom,mdss-has-decimation; - qcom,mdss-ad-off = <0x0013100 0x00013300>; -}; - -&mdss_hdmi_tx { - reg = <0xfd922100 0x370>, - <0xfd922500 0x7C>, - <0xfc4b8000 0x60F0>; - reg-names = "core_physical", "phy_physical", "qfprom_physical"; -}; - -&msm_vidc { - qcom,vidc-ns-map = <0x40000000 0x40000000>; - qcom,load-freq-tbl = <979200 465000000>, - <783360 465000000>, - <489600 266670000>, - <244800 133330000>; - qcom,reg-presets = <0x80004 0x1>, - <0x80070 0x11FFF>, - <0x80074 0xA4>, - <0x800A8 0x1FFF>, - <0x80124 0x3>, - <0xE0020 0x5555556>, - <0xE0024 0x0>; - qcom,bus-ports = <1>; - qcom,enc-ocmem-ab-ib = <0 0>, - <138000 1034000>, - <414000 1034000>, - <940000 1034000>, - <1880000 2068000>, - <3008000 3309000>, - <3760000 4136000>, - <4468000 2457000>; - qcom,dec-ocmem-ab-ib = <0 0>, - <176000 519000>, - <456000 519000>, - <864000 519000>, - <1728000 1038000>, - <2766000 1661000>, - <3456000 2076000>, - <3662000 2198000>; - qcom,enc-ddr-ab-ib = <0 0>, - <120000 302000>, - <364000 302000>, - <804000 302000>, - <1608000 604000>, - <2576000 967000>, - <4680000 1404000>, - <49880000 1496000>; - qcom,dec-ddr-ab-ib = <0 0>, - <208000 303000>, - <536000 303000>, - <1012000 303000>, - <2024000 606000>, - <3240000 970000>, - <4048000 1212000>, - <4264000 1279000>; - qcom,iommu-groups = <&venus_domain_ns &venus_domain_sec_bitstream - &venus_domain_sec_pixel &venus_domain_sec_non_pixel>; - qcom,iommu-group-buffer-types = <0xfff 0x91 0x42 0x120>; - qcom,buffer-type-tz-usage-table = <0x91 0x1>, - <0x42 0x2>, - <0x120 0x3>; -}; - -&krait_pdn { - qcom,use-phase-switching; -}; - -&tspp { - vdd_cx-supply = <&pm8841_s2_corner>; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8974.dtsi b/kernel/arch/arm/boot/dts/m7300-un-v1/msm8974.dtsi deleted file mode 100755 index 6f164912e..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/msm8974.dtsi +++ /dev/null @@ -1,1745 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/include/ "skeleton.dtsi" - -/ { - model = "Qualcomm MSM 8974"; - compatible = "qcom,msm8974"; - interrupt-parent = <&intc>; - - aliases { - spi0 = &spi_0; - spi7 = &spi_7; - sdhc1 = &sdhc_1; /* SDC1 eMMC slot */ - sdhc2 = &sdhc_2; /* SDC2 SD card slot */ - sdhc3 = &sdhc_3; /* SDC3 SDIO slot */ - sdhc4 = &sdhc_4; /* SDC4 SDIO slot */ - - /* smdtty devices */ - smd1 = &smdtty_apps_fm; - smd2 = &smdtty_apps_riva_bt_acl; - smd3 = &smdtty_apps_riva_bt_cmd; - smd4 = &smdtty_mbalbridge; - smd5 = &smdtty_apps_riva_ant_cmd; - smd6 = &smdtty_apps_riva_ant_data; - smd7 = &smdtty_data1; - smd11 = &smdtty_data11; - smd21 = &smdtty_data21; - smd27 = &smdtty_gps_nmea; - smd36 = &smdtty_loopback; - }; - - cpus { - #size-cells = <0>; - #address-cells = <1>; - - CPU0: cpu@0 { - device_type = "cpu"; - compatible = "qcom,krait"; - reg = <0x0>; - }; - - CPU1: cpu@1 { - device_type = "cpu"; - compatible = "qcom,krait"; - reg = <0x1>; - }; - - CPU2: cpu@2 { - device_type = "cpu"; - compatible = "qcom,krait"; - reg = <0x2>; - }; - - CPU3: cpu@3 { - device_type = "cpu"; - compatible = "qcom,krait"; - reg = <0x3>; - }; - }; - - memory { - secure_mem: secure_region { - linux,contiguous-region; - reg = <0 0xFC00000>; - label = "secure_mem"; - }; - - adsp_mem: adsp_region { - linux,contiguous-region; - reg = <0 0x2F00000>; - label = "adsp_mem"; - }; - - qsecom_mem: qsecom_region { - linux,contiguous-region; - reg = <0 0x1100000>; - label = "qseecom_mem"; - }; - - }; - - soc: soc { }; -}; - -/include/ "msm8974-camera.dtsi" -/include/ "msm8974-coresight.dtsi" -/include/ "msm-gdsc.dtsi" -/include/ "msm8974-ion.dtsi" -/include/ "msm8974-gpu.dtsi" -/include/ "msm8974-mdss.dtsi" -/include/ "msm8974-smp2p.dtsi" -/include/ "msm8974-bus.dtsi" - -&soc { - #address-cells = <1>; - #size-cells = <1>; - ranges; - - intc: interrupt-controller@F9000000 { - compatible = "qcom,msm-qgic2"; - interrupt-controller; - #interrupt-cells = <3>; - reg = <0xF9000000 0x1000>, - <0xF9002000 0x1000>; - }; - - msmgpio: gpio@fd510000 { - compatible = "qcom,msm-gpio"; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - reg = <0xfd510000 0x4000>; - ngpio = <146>; - interrupts = <0 208 0>; - qcom,direct-connect-irqs = <8>; - }; - - wcd9xxx_intc: wcd9xxx-irq { - compatible = "qcom,wcd9xxx-irq"; - interrupt-controller; - #interrupt-cells = <1>; - interrupt-parent = <&msmgpio>; - interrupts = <72 0>; - interrupt-names = "cdc-int"; - }; - - timer { - compatible = "arm,armv7-timer"; - interrupts = <1 2 0 1 3 0>; - clock-frequency = <19200000>; - }; - - 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 8 0x4>, - <0 7 0x4>; - reg = <0xf9021000 0x1000>, - <0xf9022000 0x1000>; - }; - - frame@f9023000 { - frame-number = <1>; - interrupts = <0 9 0x4>; - reg = <0xf9023000 0x1000>; - status = "disabled"; - }; - - frame@f9024000 { - frame-number = <2>; - interrupts = <0 10 0x4>; - reg = <0xf9024000 0x1000>; - status = "disabled"; - }; - - frame@f9025000 { - frame-number = <3>; - interrupts = <0 11 0x4>; - reg = <0xf9025000 0x1000>; - status = "disabled"; - }; - - frame@f9026000 { - frame-number = <4>; - interrupts = <0 12 0x4>; - reg = <0xf9026000 0x1000>; - status = "disabled"; - }; - - frame@f9027000 { - frame-number = <5>; - interrupts = <0 13 0x4>; - reg = <0xf9027000 0x1000>; - status = "disabled"; - }; - - frame@f9028000 { - frame-number = <6>; - interrupts = <0 14 0x4>; - reg = <0xf9028000 0x1000>; - status = "disabled"; - }; - }; - - - qcom,mpm2-sleep-counter@fc4a3000 { - compatible = "qcom,mpm2-sleep-counter"; - reg = <0xfc4a3000 0x1000>; - clock-frequency = <32768>; - }; - - msm_vidc: qcom,vidc@fdc00000 { - compatible = "qcom,msm-vidc"; - reg = <0xfdc00000 0xff000>; - interrupts = <0 44 0>; - qcom,hfi = "venus"; - qcom,has-ocmem; - qcom,max-hw-load = <1224450>; /* 4k @ 30 + 1080p @ 30*/ - }; - - qcom,vidc { - compatible = "qcom,msm-vidc"; - qcom,hfi = "q6"; - qcom,max-hw-load = <108000>; /* 720p @ 30 */ - }; - - qcom,wfd { - compatible = "qcom,msm-wfd"; - }; - - serial@f991f000 { - compatible = "qcom,msm-lsuart-v14"; - reg = <0xf991f000 0x1000>; - interrupts = <0 109 0>; - status = "disabled"; - }; - - serial@f995e000 { - compatible = "qcom,msm-lsuart-v14"; - reg = <0xf995e000 0x1000>; - interrupts = <0 114 0>; - status = "disabled"; - }; - - serial@f991e000 { - compatible = "qcom,msm-lsuart-v14"; - reg = <0xf991e000 0x1000>; - interrupts = <0 108 0>; - status = "disabled"; - - qcom,msm-bus,name = "serial_uart2"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <86 512 0 0>, - <86 512 500 800>; - }; - - usb_otg: usb@f9a55000 { - compatible = "qcom,hsusb-otg"; - status = "disabled"; - - reg = <0xf9a55000 0x400>; - interrupts = <0 134 0 0 140 0>; - interrupt-names = "core_irq", "async_irq"; - HSUSB_VDDCX-supply = <&pm8841_s2_corner>; - HSUSB_1p8-supply = <&pm8941_l6>; - HSUSB_3p3-supply = <&pm8941_l24>; - qcom,vdd-voltage-level = <1 5 7>; - - 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>; - qcom,hsusb-otg-disable-reset; - - qcom,msm-bus,name = "usb2"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <87 512 0 0>, - <87 512 60000 960000>; - }; - - sdcc1: qcom,sdcc@f9824000 { - cell-index = <1>; /* SDC1 eMMC slot */ - compatible = "qcom,msm-sdcc"; - reg = <0xf9824000 0x800>, - <0xf9824800 0x100>, - <0xf9804000 0x7000>; - reg-names = "core_mem", "dml_mem", "bam_mem"; - interrupts = <0 123 0>, <0 137 0>; - interrupt-names = "core_irq", "bam_irq"; - vdd-supply = <&pm8941_l20>; - vdd-io-supply = <&pm8941_s3>; - - qcom,vdd-always-on; - qcom,vdd-lpm-sup; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <800 500000>; - - qcom,vdd-io-always-on; - qcom,vdd-io-voltage-level = <1800000 1800000>; - qcom,vdd-io-current-level = <250 154000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 20000000 25000000 50000000 100000000 200000000>; - qcom,sup-voltages = <2950 2950>; - qcom,bus-width = <8>; - qcom,nonremovable; - qcom,bus-speed-mode = "HS200_1p8v", "DDR_1p8v"; - - qcom,msm-bus,name = "sdcc1"; - qcom,msm-bus,num-cases = <8>; - 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 800000 1600000>, /* 200 MB/s */ - <78 512 2048000 4096000>; /* Max. bandwidth */ - qcom,bus-bw-vectors-bps = <0 400000 20000000 25000000 50000000 100000000 200000000 4294967295>; - qcom,dat1-mpm-int = <42>; - status = "disable"; - }; - - sdcc2: qcom,sdcc@f98a4000 { - cell-index = <2>; /* SDC2 SD card slot */ - compatible = "qcom,msm-sdcc"; - reg = <0xf98a4000 0x800>, - <0xf98a4800 0x100>, - <0xf9884000 0x7000>; - reg-names = "core_mem", "dml_mem", "bam_mem"; - interrupts = <0 125 0>, <0 220 0>; - interrupt-names = "core_irq", "bam_irq"; - vdd-supply = <&pm8941_l21>; - vdd-io-supply = <&pm8941_l13>; - - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <9000 800000>; - - qcom,vdd-io-voltage-level = <1800000 2950000>; - qcom,vdd-io-current-level = <6 22000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 20000000 25000000 50000000 100000000 200000000>; - qcom,sup-voltages = <2950 2950>; - qcom,bus-width = <4>; - qcom,xpc; - qcom,bus-speed-mode = "SDR12", "SDR25", "SDR50", "DDR50", "SDR104"; - qcom,current-limit = <800>; - - qcom,msm-bus,name = "sdcc2"; - 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 1600000>, /* 200 MB/s */ - <81 512 2048000 4096000>; /* Max. bandwidth */ - qcom,bus-bw-vectors-bps = <0 400000 20000000 25000000 50000000 100000000 200000000 4294967295>; - qcom,dat1-mpm-int = <44>; - status = "disable"; - }; - - sdcc3: qcom,sdcc@f9864000 { - cell-index = <3>; /* SDC3 SDIO slot */ - compatible = "qcom,msm-sdcc"; - reg = <0xf9864000 0x800>, - <0xf9864800 0x100>, - <0xf9844000 0x7000>; - reg-names = "core_mem", "dml_mem", "bam_mem"; - #address-cells = <0>; - interrupt-parent = <&sdcc3>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 127 0 - 1 &intc 0 223 0 - 2 &msmgpio 37 0x8>; - interrupt-names = "core_irq", "bam_irq", "sdiowakeup_irq"; - - gpios = <&msmgpio 40 0>, /* CLK */ - <&msmgpio 39 0>, /* CMD */ - <&msmgpio 38 0>, /* DATA0 */ - <&msmgpio 37 0>, /* DATA1 */ - <&msmgpio 36 0>, /* DATA2 */ - <&msmgpio 35 0>; /* DATA3 */ - qcom,gpio-names = "CLK", "CMD", "DAT0", "DAT1", "DAT2", "DAT3"; - - qcom,clk-rates = <400000 20000000 25000000 50000000 100000000>; - qcom,sup-voltages = <1800 1800>; - qcom,bus-width = <4>; - qcom,bus-speed-mode = "SDR12", "SDR25", "SDR50", "DDR50"; - - qcom,msm-bus,name = "sdcc3"; - 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 1600000>, /* 200 MB/s */ - <79 512 2048000 4096000>; /* Max. bandwidth */ - qcom,bus-bw-vectors-bps = <0 400000 20000000 25000000 50000000 100000000 200000000 4294967295>; - status = "disable"; - }; - - sdcc4: qcom,sdcc@f98e4000 { - cell-index = <4>; /* SDC4 SDIO slot */ - compatible = "qcom,msm-sdcc"; - reg = <0xf98e4000 0x800>, - <0xf98e4800 0x100>, - <0xf98c4000 0x7000>; - reg-names = "core_mem", "dml_mem", "bam_mem"; - #address-cells = <0>; - interrupt-parent = <&sdcc4>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 129 0 - 1 &intc 0 226 0 - 2 &msmgpio 95 0x8>; - interrupt-names = "core_irq", "bam_irq", "sdiowakeup_irq"; - - gpios = <&msmgpio 93 0>, /* CLK */ - <&msmgpio 91 0>, /* CMD */ - <&msmgpio 96 0>, /* DATA0 */ - <&msmgpio 95 0>, /* DATA1 */ - <&msmgpio 94 0>, /* DATA2 */ - <&msmgpio 92 0>; /* DATA3 */ - qcom,gpio-names = "CLK", "CMD", "DAT0", "DAT1", "DAT2", "DAT3"; - - qcom,clk-rates = <400000 20000000 25000000 50000000 100000000>; - qcom,sup-voltages = <1800 1800>; - qcom,bus-width = <4>; - qcom,bus-speed-mode = "SDR12", "SDR25", "SDR50", "DDR50"; - - qcom,msm-bus,name = "sdcc4"; - qcom,msm-bus,num-cases = <8>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = <80 512 0 0>, /* No vote */ - <80 512 1600 3200>, /* 400 KB/s*/ - <80 512 80000 160000>, /* 20 MB/s */ - <80 512 100000 200000>, /* 25 MB/s */ - <80 512 200000 400000>, /* 50 MB/s */ - <80 512 400000 800000>, /* 100 MB/s */ - <80 512 800000 1600000>, /* 200 MB/s */ - <80 512 2048000 4096000>; /* Max. bandwidth */ - qcom,bus-bw-vectors-bps = <0 400000 20000000 25000000 50000000 100000000 200000000 4294967295>; - status = "disable"; - }; - - sdhc_1: sdhci@f9824900 { - qcom,bus-width = <8>; - compatible = "qcom,sdhci-msm"; - reg = <0xf9824900 0x11c>, <0xf9824000 0x800>; - reg-names = "hc_mem", "core_mem"; - interrupts = <0 123 0>, <0 138 0>; - interrupt-names = "hc_irq", "pwr_irq"; - qcom,clk-rates = <400000 20000000 25000000 50000000 100000000 200000000>; - qcom,bus-speed-mode = "HS200_1p8v", "DDR_1p8v"; - qcom,cpu-dma-latency-us = <200>; - - qcom,msm-bus,name = "sdhc1"; - qcom,msm-bus,num-cases = <8>; - 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 800000 1600000>, /* 200 MB/s */ - <78 512 2048000 4096000>; /* Max. bandwidth */ - qcom,bus-bw-vectors-bps = <0 400000 20000000 25000000 50000000 100000000 200000000 4294967295>; - status = "disable"; - }; - - 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"; - - qcom,clk-rates = <400000 20000000 25000000 50000000 100000000 200000000>; - qcom,bus-width = <4>; - qcom,cpu-dma-latency-us = <200>; - - 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 1600000>, /* 200 MB/s */ - <81 512 2048000 4096000>; /* Max. bandwidth */ - qcom,bus-bw-vectors-bps = <0 400000 20000000 25000000 50000000 100000000 200000000 4294967295>; - status = "disable"; - }; - - 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"; - gpios = <&msmgpio 40 0>, /* CLK */ - <&msmgpio 39 0>, /* CMD */ - <&msmgpio 38 0>, /* DATA0 */ - <&msmgpio 37 0>, /* DATA1 */ - <&msmgpio 36 0>, /* DATA2 */ - <&msmgpio 35 0>; /* DATA3 */ - qcom,gpio-names = "CLK", "CMD", "DAT0", "DAT1", "DAT2", "DAT3"; - - qcom,clk-rates = <400000 20000000 25000000 50000000 100000000>; - qcom,bus-width = <4>; - qcom,cpu-dma-latency-us = <200>; - - 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 1600000>, /* 200 MB/s */ - <79 512 2048000 4096000>; /* Max. bandwidth */ - qcom,bus-bw-vectors-bps = <0 400000 20000000 25000000 50000000 100000000 200000000 4294967295>; - status = "disable"; - }; - - sdhc_4: sdhci@f98e4900 { - compatible = "qcom,sdhci-msm"; - reg = <0xf98e4900 0x11c>, <0xf98e4000 0x800>; - reg-names = "hc_mem", "core_mem"; - interrupts = <0 129 0>, <0 227 0>; - interrupt-names = "hc_irq", "pwr_irq"; - gpios = <&msmgpio 93 0>, /* CLK */ - <&msmgpio 91 0>, /* CMD */ - <&msmgpio 96 0>, /* DATA0 */ - <&msmgpio 95 0>, /* DATA1 */ - <&msmgpio 94 0>, /* DATA2 */ - <&msmgpio 92 0>; /* DATA3 */ - qcom,gpio-names = "CLK", "CMD", "DAT0", "DAT1", "DAT2", "DAT3"; - - qcom,clk-rates = <400000 20000000 25000000 50000000 100000000>; - qcom,bus-width = <4>; - qcom,cpu-dma-latency-us = <200>; - - qcom,msm-bus,name = "sdhc4"; - qcom,msm-bus,num-cases = <8>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = <80 512 0 0>, /* No vote */ - <80 512 1600 3200>, /* 400 KB/s*/ - <80 512 80000 160000>, /* 20 MB/s */ - <80 512 100000 200000>, /* 25 MB/s */ - <80 512 200000 400000>, /* 50 MB/s */ - <80 512 400000 800000>, /* 100 MB/s */ - <80 512 800000 1600000>, /* 200 MB/s */ - <80 512 2048000 4096000>; /* Max. bandwidth */ - qcom,bus-bw-vectors-bps = <0 400000 20000000 25000000 50000000 100000000 200000000 4294967295>; - status = "disable"; - }; - - qcom,sps@f9980000 { - compatible = "qcom,msm_sps"; - reg = <0xf9984000 0x15000>, - <0xf9999000 0xb000>; - interrupts = <0 94 0>; - - qcom,bam-dma-res-pipes = <6>; - }; - - spi_7: spi_epm: spi@f9966000 { - compatible = "qcom,spi-qup-v2"; - reg = <0xf9966000 0x1000>; - interrupts = <0 104 0>; - spi-max-frequency = <19200000>; - #address-cells = <1>; - #size-cells = <0>; - gpios = <&msmgpio 56 0>, /* CLK */ - <&msmgpio 54 0>, /* MISO */ - <&msmgpio 53 0>; /* MOSI */ - cs-gpios = <&msmgpio 55 0>; - qcom,master-id = <84>; - }; - - tspp: msm_tspp@f99d8000 { - compatible = "qcom,msm_tspp"; - cell-index = <0>; - reg = <0xf99d8000 0x1000>, /* MSM_TSIF0_PHYS */ - <0xf99d9000 0x1000>, /* MSM_TSIF1_PHYS */ - <0xf99da000 0x1000>, /* MSM_TSPP_PHYS */ - <0xf99c4000 0x14000>; /* MSM_TSPP_BAM_PHYS */ - reg-names = "MSM_TSIF0_PHYS", - "MSM_TSIF1_PHYS", - "MSM_TSPP_PHYS", - "MSM_TSPP_BAM_PHYS"; - interrupts = <0 153 0>, /* TSIF_TSPP_IRQ */ - <0 151 0>, /* TSIF0_IRQ */ - <0 152 0>, /* TSIF1_IRQ */ - <0 154 0>; /* TSIF_BAM_IRQ */ - interrupt-names = "TSIF_TSPP_IRQ", - "TSIF0_IRQ", - "TSIF1_IRQ", - "TSIF_BAM_IRQ"; - qcom,tsif-pclk = "iface_clk"; - qcom,tsif-ref-clk = "ref_clk"; - gpios = <&msmgpio 89 0>, /* TSIF0 CLK */ - <&msmgpio 90 0>, /* TSIF0 EN */ - <&msmgpio 91 0>, /* TSIF0 DATA */ - <&msmgpio 92 0>, /* TSIF0 SYNC */ - <&msmgpio 93 0>, /* TSIF1 CLK */ - <&msmgpio 94 0>, /* TSIF1 EN */ - <&msmgpio 95 0>, /* TSIF1 DATA */ - <&msmgpio 96 0>; /* TSIF1 SYNC */ - qcom,gpio-names = "tsif_clk", - "tsif_en", - "tsif_data", - "tsif_sync", - "tsif_clk", - "tsif_en", - "tsif_data", - "tsif_sync"; - qcom,gpios-func = <1>; - - qcom,msm-bus,name = "tsif"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,active-only = <0>; - 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 */ - }; - - slim_msm: slim@fe12f000 { - cell-index = <1>; - compatible = "qcom,slim-ngd"; - reg = <0xfe12f000 0x35000>, - <0xfe104000 0x20000>; - reg-names = "slimbus_physical", "slimbus_bam_physical"; - interrupts = <0 163 0 0 164 0>; - interrupt-names = "slimbus_irq", "slimbus_bam_irq"; - - taiko_codec { - compatible = "qcom,taiko-slim-pgd"; - elemental-addr = [00 01 A0 00 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>; - - qcom,cdc-reset-gpio = <&msmgpio 63 0>; - - cdc-vdd-buck-supply = <&pm8941_s2>; - qcom,cdc-vdd-buck-voltage = <2150000 2150000>; - qcom,cdc-vdd-buck-current = <650000>; - - cdc-vdd-tx-h-supply = <&pm8941_s3>; - qcom,cdc-vdd-tx-h-voltage = <1800000 1800000>; - qcom,cdc-vdd-tx-h-current = <25000>; - - cdc-vdd-rx-h-supply = <&pm8941_s3>; - qcom,cdc-vdd-rx-h-voltage = <1800000 1800000>; - qcom,cdc-vdd-rx-h-current = <25000>; - - cdc-vddpx-1-supply = <&pm8941_s3>; - qcom,cdc-vddpx-1-voltage = <1800000 1800000>; - qcom,cdc-vddpx-1-current = <10000>; - - cdc-vdd-a-1p2v-supply = <&pm8941_l1>; - qcom,cdc-vdd-a-1p2v-voltage = <1225000 1225000>; - qcom,cdc-vdd-a-1p2v-current = <10000>; - - cdc-vddcx-1-supply = <&pm8941_l1>; - qcom,cdc-vddcx-1-voltage = <1225000 1225000>; - qcom,cdc-vddcx-1-current = <10000>; - - cdc-vddcx-2-supply = <&pm8941_l1>; - qcom,cdc-vddcx-2-voltage = <1225000 1225000>; - qcom,cdc-vddcx-2-current = <10000>; - - 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>; - qcom,cdc-micbias-cfilt2-mv = <2700>; - 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 = "taiko-slim-ifd"; - qcom,cdc-slim-ifd-elemental-addr = [00 00 A0 00 17 02]; - qcom,cdc-dmic-sample-rate = <4800000>; - }; - }; - - sound { - compatible = "qcom,msm8974-audio-taiko"; - qcom,model = "msm8974-taiko-snd-card"; - - qcom,audio-routing = - "RX_BIAS", "MCLK", - "LDO_H", "MCLK", - "AIF4 MAD", "MCLK", - "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"; - - qcom,cdc-mclk-gpios = <&pm8941_gpios 15 0>; - qcom,taiko-mclk-clk-freq = <9600000>; - qcom,prim-auxpcm-gpio-clk = <&msmgpio 65 0>; - qcom,prim-auxpcm-gpio-sync = <&msmgpio 66 0>; - qcom,prim-auxpcm-gpio-din = <&msmgpio 67 0>; - qcom,prim-auxpcm-gpio-dout = <&msmgpio 68 0>; - qcom,prim-auxpcm-gpio-set = "prim-gpio-prim"; - qcom,sec-auxpcm-gpio-clk = <&msmgpio 79 0>; - qcom,sec-auxpcm-gpio-sync = <&msmgpio 80 0>; - qcom,sec-auxpcm-gpio-din = <&msmgpio 81 0>; - qcom,sec-auxpcm-gpio-dout = <&msmgpio 82 0>; - }; - - spmi_bus: qcom,spmi@fc4c0000 { - cell-index = <0>; - 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-ee = <0>; - qcom,pmic-arb-channel = <0>; - }; - - i2c_0: i2c@f9967000 { /* BLSP#11 */ - cell-index = <0>; - compatible = "qcom,i2c-qup"; - reg = <0Xf9967000 0x1000>; - #address-cells = <1>; - #size-cells = <0>; - reg-names = "qup_phys_addr"; - interrupts = <0 105 0>; - interrupt-names = "qup_err_intr"; - qcom,i2c-bus-freq = <100000>; - qcom,i2c-src-freq = <50000000>; - qcom,master-id = <84>; - }; - - i2c_1: i2c@f9923000 { - cell-index = <1>; - compatible = "qcom,i2c-qup"; - reg = <0xf9923000 0x1000>; - #address-cells = <1>; - #size-cells = <0>; - reg-names = "qup_phys_addr"; - interrupts = <0 95 0>; - interrupt-names = "qup_err_intr"; - qcom,i2c-bus-freq = <100000>; - qcom,i2c-src-freq = <19200000>; - qcom,scl-gpio = <&msmgpio 3 0>; - qcom,sda-gpio = <&msmgpio 2 0>; - qcom,master-id = <86>; - status = "disabled"; - }; - - i2c_2: i2c@f9924000 { - cell-index = <2>; - compatible = "qcom,i2c-qup"; - reg = <0xf9924000 0x1000>; - #address-cells = <1>; - #size-cells = <0>; - reg-names = "qup_phys_addr"; - interrupts = <0 96 0>; - interrupt-names = "qup_err_intr"; - qcom,i2c-bus-freq = <100000>; - qcom,i2c-src-freq = <50000000>; - qcom,master-id = <86>; - }; - - spi_0: spi@f9923000 { - compatible = "qcom,spi-qup-v2"; - reg = <0xf9923000 0x1000>; - interrupts = <0 95 0>; - spi-max-frequency = <19200000>; - #address-cells = <1>; - #size-cells = <0>; - gpios = <&msmgpio 3 0>, /* CLK */ - <&msmgpio 1 0>, /* MISO */ - <&msmgpio 0 0>; /* MOSI */ - cs-gpios = <&msmgpio 9 0>; - qcom,master-id = <86>; - }; - - qcom,acpuclk@f9000000 { - compatible = "qcom,acpuclk-8974"; - krait0-supply = <&krait0_vreg>; - krait1-supply = <&krait1_vreg>; - krait2-supply = <&krait2_vreg>; - krait3-supply = <&krait3_vreg>; - krait0_mem-supply = <&pm8841_s1_ao>; - krait1_mem-supply = <&pm8841_s1_ao>; - krait2_mem-supply = <&pm8841_s1_ao>; - krait3_mem-supply = <&pm8841_s1_ao>; - krait0_dig-supply = <&pm8841_s2_corner_ao>; - krait1_dig-supply = <&pm8841_s2_corner_ao>; - krait2_dig-supply = <&pm8841_s2_corner_ao>; - krait3_dig-supply = <&pm8841_s2_corner_ao>; - krait0_hfpll-supply = <&pm8941_l12_ao>; - krait1_hfpll-supply = <&pm8941_l12_ao>; - krait2_hfpll-supply = <&pm8941_l12_ao>; - krait3_hfpll-supply = <&pm8941_l12_ao>; - l2_hfpll-supply = <&pm8941_l12_ao>; - }; - - usb3: qcom,ssusb@f9200000 { - compatible = "qcom,dwc-usb3-msm"; - reg = <0xf9200000 0xfc000>, - <0xfd4ab000 0x4>; - #address-cells = <1>; - #size-cells = <1>; - ranges; - interrupts = <0 133 0>; - interrupt-names = "hs_phy_irq"; - ssusb_vdd_dig-supply = <&pm8841_s2_corner>; - SSUSB_1p8-supply = <&pm8941_l6>; - hsusb_vdd_dig-supply = <&pm8841_s2_corner>; - HSUSB_1p8-supply = <&pm8941_l6>; - HSUSB_3p3-supply = <&pm8941_l24>; - vbus_dwc3-supply = <&pm8941_mvs1>; - qcom,dwc-usb3-msm-dbm-eps = <4>; - qcom,vdd-voltage-level = <1 5 7>; - qcom,dwc-hsphy-init = <0x00D195A4>; - - 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>; - dwc3@f9200000 { - compatible = "synopsys,dwc3"; - reg = <0xf9200000 0xfc000>; - interrupt-parent = <&intc>; - interrupts = <0 131 0>, <0 179 0>; - interrupt-names = "irq", "otg_irq"; - tx-fifo-resize; - }; - }; - - ehci: qcom,ehci-host@f9a55000 { - compatible = "qcom,ehci-host"; - status = "disabled"; - reg = <0xf9a55000 0x400>; - interrupts = <0 134 0>, <0 140 0>; - interrupt-names = "core_irq", "async_irq"; - HSUSB_VDDCX-supply = <&pm8841_s2>; - HSUSB_1p8-supply = <&pm8941_l6>; - HSUSB_3p3-supply = <&pm8941_l24>; - qcom,usb2-enable-hsphy2; - qcom,usb2-power-budget = <500>; - }; - - gdsc_oxili_gx: qcom,gdsc@fd8c4024 { - parent-supply = <&pm8841_s4_corner>; - }; - - qcom,lpass@fe200000 { - compatible = "qcom,pil-q6v5-lpass"; - reg = <0xfe200000 0x00100>, - <0xfd485100 0x00010>, - <0xfc4016c0 0x00004>; - reg-names = "qdsp6_base", "halt_base", "restart_reg"; - vdd_cx-supply = <&pm8841_s2_corner>; - interrupts = <0 162 1>; - - 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>; - - /* GPIO output to lpass */ - qcom,gpio-force-stop = <&smp2pgpio_ssr_smp2p_2_out 0 0>; - }; - - qcom,msm-adsp-loader { - compatible = "qcom,adsp-loader"; - qcom,adsp-state = <0>; - }; - - qcom,msm-audio-ion { - compatible = "qcom,msm-audio-ion"; - }; - - qcom,msm-pcm { - compatible = "qcom,msm-pcm-dsp"; - qcom,msm-pcm-dsp-id = <0>; - }; - - qcom,msm-pcm-low-latency { - compatible = "qcom,msm-pcm-dsp"; - qcom,msm-pcm-dsp-id = <1>; - qcom,msm-pcm-low-latency; - }; - - qcom,msm-pcm-routing { - compatible = "qcom,msm-pcm-routing"; - }; - - qcom,msm-pcm-lpa { - compatible = "qcom,msm-pcm-lpa"; - }; - - qcom,msm-compr-dsp { - compatible = "qcom,msm-compr-dsp"; - }; - - qcom,msm-voip-dsp { - compatible = "qcom,msm-voip-dsp"; - }; - - qcom,msm-pcm-voice { - compatible = "qcom,msm-pcm-voice"; - }; - - qcom,msm-stub-codec { - compatible = "qcom,msm-stub-codec"; - }; - - qcom,msm-dai-fe { - compatible = "qcom,msm-dai-fe"; - }; - - qcom,msm-pcm-afe { - compatible = "qcom,msm-pcm-afe"; - }; - - qcom,msm-dai-q6-hdmi { - compatible = "qcom,msm-dai-q6-hdmi"; - qcom,msm-dai-q6-dev-id = <8>; - }; - - qcom,msm-lsm-client { - compatible = "qcom,msm-lsm-client"; - }; - - qcom,msm-dai-q6 { - compatible = "qcom,msm-dai-q6"; - qcom,msm-dai-q6-sb-0-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <16384>; - }; - - qcom,msm-dai-q6-sb-0-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <16385>; - }; - - qcom,msm-dai-q6-sb-1-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <16386>; - }; - - qcom,msm-dai-q6-sb-1-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <16387>; - }; - - qcom,msm-dai-q6-sb-2-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <16388>; - }; - - qcom,msm-dai-q6-sb-2-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <16389>; - }; - - qcom,msm-dai-q6-sb-3-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <16390>; - }; - - qcom,msm-dai-q6-sb-3-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <16391>; - }; - - qcom,msm-dai-q6-sb-4-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <16392>; - }; - - qcom,msm-dai-q6-sb-4-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <16393>; - }; - - qcom,msm-dai-q6-sb-5-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <16395>; - }; - - qcom,msm-dai-q6-bt-sco-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <12288>; - }; - - qcom,msm-dai-q6-bt-sco-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <12289>; - }; - - qcom,msm-dai-q6-int-fm-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <12292>; - }; - - qcom,msm-dai-q6-int-fm-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <12293>; - }; - - qcom,msm-dai-q6-be-afe-pcm-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <224>; - }; - - qcom,msm-dai-q6-be-afe-pcm-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <225>; - }; - - qcom,msm-dai-q6-afe-proxy-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <241>; - }; - - qcom,msm-dai-q6-afe-proxy-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <240>; - }; - - qcom,msm-dai-q6-incall-record-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <32771>; - }; - - qcom,msm-dai-q6-incall-record-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <32772>; - }; - - qcom,msm-dai-q6-incall-music-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <32773>; - }; - }; - - qcom,msm-auxpcm { - compatible = "qcom,msm-auxpcm-resource"; - qcom,msm-cpudai-auxpcm-clk = "pcm_clk"; - 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-slot = <1>, <1>; - qcom,msm-cpudai-auxpcm-data = <0>, <0>; - qcom,msm-cpudai-auxpcm-pcm-clk-rate = <2048000>, <2048000>; - - qcom,msm-prim-auxpcm-rx { - qcom,msm-auxpcm-dev-id = <4106>; - compatible = "qcom,msm-auxpcm-dev"; - }; - - qcom,msm-prim-auxpcm-tx { - qcom,msm-auxpcm-dev-id = <4107>; - compatible = "qcom,msm-auxpcm-dev"; - }; - - qcom,msm-sec-auxpcm-rx { - qcom,msm-auxpcm-dev-id = <4108>; - compatible = "qcom,msm-auxpcm-dev"; - }; - - qcom,msm-sec-auxpcm-tx { - qcom,msm-auxpcm-dev-id = <4109>; - compatible = "qcom,msm-auxpcm-dev"; - }; - }; - - qcom,msm-dai-mi2s { - compatible = "qcom,msm-dai-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>; - }; - }; - - qcom,msm-pcm-hostless { - compatible = "qcom,msm-pcm-hostless"; - }; - - qcom,msm-ocmem-audio { - compatible = "qcom,msm-ocmem-audio"; - qcom,msm-bus,name = "audio-ocmem"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <11 604 0 0>, - <11 604 32506 32506>; - }; - - qcom,msm-adsp-sensors { - compatible = "qcom,msm-adsp-sensors"; - qcom,src-id = <11>; - qcom,dst-id = <604>; - qcom,ab = <32505856>; - qcom,ib = <32505856>; - }; - - qcom,mss@fc880000 { - compatible = "qcom,pil-q6v5-mss"; - reg = <0xfc880000 0x100>, - <0xfd485000 0x400>, - <0xfc820000 0x020>, - <0xfc401680 0x004>; - reg-names = "qdsp6_base", "halt_base", "rmb_base", - "restart_reg"; - - interrupts = <0 24 1>; - vdd_mss-supply = <&pm8841_s3>; - vdd_cx-supply = <&pm8841_s2_corner>; - vdd_mx-supply = <&pm8841_s1>; - vdd_pll-supply = <&pm8941_l12>; - qcom,vdd_pll = <1800000>; - qcom,firmware-name = "mba"; - qcom,pil-self-auth; - - /* 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>; - }; - - qcom,pronto@fb21b000 { - compatible = "qcom,pil-pronto"; - reg = <0xfb21b000 0x3000>, - <0xfc401700 0x4>, - <0xfd485300 0xc>; - reg-names = "pmu_base", "clk_base", "halt_base"; - interrupts = <0 149 1>; - vdd_pronto_pll-supply = <&pm8941_l12>; - - qcom,firmware-name = "wcnss"; - - /* GPIO inputs from wcnss */ - qcom,gpio-err-fatal = <&smp2pgpio_ssr_smp2p_4_in 0 0>; - qcom,gpio-err-ready = <&smp2pgpio_ssr_smp2p_4_in 1 0>; - qcom,gpio-proxy-unvote = <&smp2pgpio_ssr_smp2p_4_in 2 0>; - - /* GPIO output to wcnss */ - qcom,gpio-force-stop = <&smp2pgpio_ssr_smp2p_4_out 0 0>; - }; - - qcom,iris-fm { - compatible = "qcom,iris_fm"; - }; - - qcom,wcnss-wlan@fb000000 { - compatible = "qcom,wcnss_wlan"; - reg = <0xfb000000 0x280000>, - <0xf9011008 0x04>; - reg-names = "wcnss_mmio", "wcnss_fiq"; - interrupts = <0 145 0 0 146 0>; - interrupt-names = "wcnss_wlantx_irq", "wcnss_wlanrx_irq"; - - qcom,pronto-vddmx-supply = <&pm8841_s1>; - qcom,pronto-vddcx-supply = <&pm8841_s2>; - qcom,pronto-vddpx-supply = <&pm8941_s3>; - qcom,iris-vddxo-supply = <&pm8941_l6>; - qcom,iris-vddrfa-supply = <&pm8941_l11>; - qcom,iris-vddpa-supply = <&pm8941_l19>; - qcom,iris-vdddig-supply = <&pm8941_l3>; - - gpios = <&msmgpio 36 0>, <&msmgpio 37 0>, <&msmgpio 38 0>, <&msmgpio 39 0>, <&msmgpio 40 0>; - qcom,has-48mhz-xo; - qcom,has-pronto-hw; - }; - - qcom,ocmem@fdd00000 { - compatible = "qcom,msm-ocmem"; - reg = <0xfdd00000 0x2000>, - <0xfdd02000 0x2000>, - <0xfe039000 0x400>, - <0xfec00000 0x180000>; - 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 = <0x3>; - qcom,ocmem-num-macros = <0x18>; - qcom,resource-type = <0x706d636f>; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0x0 0xfec00000 0x180000>; - - partition@0 { - reg = <0x0 0x100000>; - qcom,ocmem-part-name = "graphics"; - qcom,ocmem-part-min = <0x80000>; - }; - - partition@80000 { - reg = <0x100000 0x80000>; - qcom,ocmem-part-name = "lp_audio"; - qcom,ocmem-part-min = <0x80000>; - }; - - partition@100000 { - reg = <0x100000 0x80000>; - qcom,ocmem-part-name = "video"; - qcom,ocmem-part-min = <0x55000>; - }; - - }; - - 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>; - }; - - qseecom: qcom,qseecom@7f00000 { - compatible = "qcom,qseecom"; - reg = <0x7f00000 0x500000>; - reg-names = "secapp-region"; - qcom,disk-encrypt-pipe-pair = <2>; - qcom,hlos-ce-hw-instance = <1>; - 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,msm-bus,vectors-KBps = - <55 512 0 0>, - <55 512 3936000 393600>, - <55 512 3936000 393600>, - <55 512 3936000 393600>; - }; - - qcom,wdt@f9017000 { - compatible = "qcom,msm-watchdog"; - reg = <0xf9017000 0x1000>; - interrupts = <0 3 0>, <0 4 0>; - qcom,bark-time = <11000>; - qcom,pet-time = <10000>; - qcom,ipi-ping; - }; - - qcom,tz-log@fe805720 { - compatible = "qcom,tz-log"; - reg = <0xfe805720 0x1000>; - }; - - qcom,venus@fdce0000 { - compatible = "qcom,pil-venus"; - reg = <0xfdce0000 0x4000>, - <0xfdc80000 0x400>; - reg-names = "wrapper_base", "vbif_base"; - vdd-supply = <&gdsc_venus>; - - qcom,firmware-name = "venus"; - }; - - qcom,cache_erp@f9012000 { - reg = <0xf9012000 0x80>, - <0xf9089000 0x80>, - <0xf9099000 0x80>, - <0xf90a9000 0x80>, - <0xf90b9000 0x80>, - <0xf9088000 0x40>, - <0xf9098000 0x40>, - <0xf90a8000 0x40>, - <0xf90b8000 0x40>; - - reg-names = "l2_saw", - "krait0_saw", - "krait1_saw", - "krait2_saw", - "krait3_saw", - "krait0_acs", - "krait1_acs", - "krait2_acs", - "krait3_acs"; - - compatible = "qcom,cache_erp"; - interrupts = <1 9 0>, <0 2 0>; - interrupt-names = "l1_irq", "l2_irq"; - }; - - qcom,cache_dump { - compatible = "qcom,cache_dump"; - qcom,l1-dump-size = <0x100000>; - qcom,l2-dump-size = <0x500000>; - qcom,memory-reservation-type = "EBI1"; - qcom,memory-reservation-size = <0x600000>; /* 6M EBI1 buffer */ - }; - - tsens: tsens@fc4a8000 { - compatible = "qcom,msm-tsens"; - reg = <0xfc4a8000 0x2000>, - <0xfc4b8000 0x1000>; - reg-names = "tsens_physical", "tsens_eeprom_physical"; - interrupts = <0 184 0>; - qcom,sensors = <11>; - qcom,slope = <3200 3200 3200 3200 3200 3200 3200 3200 3200 - 3200 3200>; - qcom,calib-mode = "fuse_map1"; - }; - - qcom,msm-rtb { - compatible = "qcom,msm-rtb"; - qcom,memory-reservation-type = "EBI1"; - qcom,memory-reservation-size = <0x100000>; /* 1M EBI1 buffer */ - }; - - qcom,msm-contig-mem { - compatible = "qcom,msm-contig-mem"; - qcom,memory-reservation-type = "EBI1"; - qcom,memory-reservation-size = <0x280000>; /* 2.5M EBI1 buffer */ - }; - - qcom,qcedev@fd440000 { - compatible = "qcom,qcedev"; - reg = <0xfd440000 0x20000>, - <0xfd444000 0x8000>; - reg-names = "crypto-base","crypto-bam-base"; - interrupts = <0 236 0>; - qcom,bam-pipe-pair = <1>; - qcom,ce-hw-instance = <1>; - qcom,msm-bus,name = "qcedev-noc"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <56 512 0 0>, - <56 512 3936000 393600>; - }; - - qcom,qcrypto@fd444000 { - compatible = "qcom,qcrypto"; - reg = <0xfd440000 0x20000>, - <0xfd444000 0x8000>; - reg-names = "crypto-base","crypto-bam-base"; - interrupts = <0 236 0>; - qcom,bam-pipe-pair = <2>; - qcom,ce-hw-instance = <1>; - qcom,msm-bus,name = "qcrypto-noc"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <56 512 0 0>, - <56 512 3936000 393600>; - }; - - qcom,usbbam@f9304000 { - compatible = "qcom,usb-bam-msm"; - reg = <0xf9304000 0x5000>, - <0xf9a44000 0x11000>, - <0xf92f880c 0x4>; - reg-names = "ssusb", "hsusb", "qscratch_ram1_reg"; - interrupts = <0 132 0 0 135 0>; - interrupt-names = "ssusb", "hsusb"; - qcom,usb-bam-num-pipes = <16>; - qcom,usb-bam-fifo-baseaddr = <0xf9200000>; - qcom,ignore-core-reset-ack; - qcom,disable-clk-gating; - - qcom,pipe0 { - 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; - }; - - qcom,pipe1 { - label = "hsusb-qdss-in-0"; - qcom,usb-bam-mem-type = <1>; - qcom,bam-type = <1>; - 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 = <0xf9a44000>; - qcom,dst-bam-pipe-index = <2>; - qcom,data-fifo-offset = <0xf4000>; - qcom,data-fifo-size = <0x1000>; - qcom,descriptor-fifo-offset = <0xf5000>; - qcom,descriptor-fifo-size = <0x400>; - }; - }; - - qcom,msm-thermal { - compatible = "qcom,msm-thermal"; - qcom,sensor-id = <5>; - qcom,poll-ms = <250>; - qcom,limit-temp = <60>; - qcom,temp-hysteresis = <10>; - qcom,freq-step = <2>; - qcom,freq-control-mask = <0xf>; - qcom,core-limit-temp = <80>; - qcom,core-temp-hysteresis = <10>; - qcom,core-control-mask = <0xe>; - qcom,vdd-restriction-temp = <5>; - qcom,vdd-restriction-temp-hysteresis = <10>; - qcom,pmic-sw-mode-temp = <85>; - qcom,pmic-sw-mode-temp-hysteresis = <75>; - qcom,pmic-sw-mode-regs = "vdd_dig"; - vdd_dig-supply = <&pm8841_s2_floor_corner>; - vdd_gfx-supply = <&pm8841_s4_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 */ - }; - - qcom,vdd-apps-rstr{ - qcom,vdd-rstr-reg = "vdd_apps"; - qcom,levels = <1881600 1958400 2265600>; - qcom,freq-req; - }; - }; - - qcom,bam_dmux@fc834000 { - compatible = "qcom,bam_dmux"; - reg = <0xfc834000 0x7000>; - interrupts = <0 29 1>; - qcom,rx-ring-size = <64>; - }; - - memory_hole: qcom,msm-mem-hole { - compatible = "qcom,msm-mem-hole"; - qcom,memblock-remove = <0x7f00000 0x8000000>; /* Address and Size of Hole */ - }; - - uart7: uart@f995d000 { /*BLSP #2, UART #7 */ - compatible = "qcom,msm-hsuart-v14"; - status = "disabled"; - reg = <0xf995d000 0x1000>, - <0xf9944000 0x19000>; - reg-names = "core_mem", "bam_mem"; - interrupts = <0 113 0>, <0 239 0>; - interrupt-names = "core_irq", "bam_irq"; - - qcom,bam-tx-ep-pipe-index = <0>; - qcom,bam-rx-ep-pipe-index = <1>; - qcom,msm-bus,name = "uart7"; - 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,smem@fa00000 { - compatible = "qcom,smem"; - reg = <0xfa00000 0x200000>, - <0xf9011000 0x1000>, - <0xfc428000 0x4000>; - reg-names = "smem", "irq-reg-base", "aux-mem1"; - - qcom,smd-modem { - compatible = "qcom,smd"; - qcom,smd-edge = <0>; - qcom,smd-irq-offset = <0x8>; - qcom,smd-irq-bitmask = <0x1000>; - qcom,pil-string = "modem"; - interrupts = <0 25 1>; - }; - - qcom,smsm-modem { - compatible = "qcom,smsm"; - qcom,smsm-edge = <0>; - qcom,smsm-irq-offset = <0x8>; - qcom,smsm-irq-bitmask = <0x2000>; - interrupts = <0 26 1>; - }; - - qcom,smd-adsp { - compatible = "qcom,smd"; - qcom,smd-edge = <1>; - qcom,smd-irq-offset = <0x8>; - qcom,smd-irq-bitmask = <0x100>; - qcom,pil-string = "adsp"; - interrupts = <0 156 1>; - }; - - qcom,smsm-adsp { - compatible = "qcom,smsm"; - qcom,smsm-edge = <1>; - qcom,smsm-irq-offset = <0x8>; - qcom,smsm-irq-bitmask = <0x200>; - interrupts = <0 157 1>; - }; - - qcom,smd-wcnss { - compatible = "qcom,smd"; - qcom,smd-edge = <6>; - qcom,smd-irq-offset = <0x8>; - qcom,smd-irq-bitmask = <0x20000>; - qcom,pil-string = "wcnss"; - interrupts = <0 142 1>; - }; - - qcom,smsm-wcnss { - compatible = "qcom,smsm"; - qcom,smsm-edge = <6>; - qcom,smsm-irq-offset = <0x8>; - qcom,smsm-irq-bitmask = <0x80000>; - interrupts = <0 144 1>; - }; - - qcom,smd-rpm { - compatible = "qcom,smd"; - qcom,smd-edge = <15>; - qcom,smd-irq-offset = <0x8>; - qcom,smd-irq-bitmask = <0x1>; - interrupts = <0 168 1>; - qcom,irq-no-suspend; - }; - }; - - qcom,bcl { - compatible = "qcom,bcl"; - }; - - qcom,ssm { - compatible = "qcom,ssm"; - qcom,channel-name = "SSM_RTR"; - }; - - sfpb_spinlock: qcom,ipc-spinlock@fd484000 { - compatible = "qcom,ipc-spinlock-sfpb"; - reg = <0xfd484000 0x400>; - qcom,num-locks = <8>; - }; - - ldrex_spinlock: qcom,ipc-spinlock@fa00000 { - compatible = "qcom,ipc-spinlock-ldrex"; - reg = <0xfa00000 0x200000>; - status = "disable"; - }; - - cpu-pmu { - compatible = "qcom,krait-pmu"; - qcom,irq-is-percpu; - interrupts = <1 7 0xf00>; - }; - - l2-pmu { - compatible = "qcom,l2-pmu"; - interrupts = <0 1 0>; - }; - - qcom,smdtty { - compatible = "qcom,smdtty"; - - smdtty_apps_fm: qcom,smdtty-apps-fm { - qcom,smdtty-remote = "wcnss"; - qcom,smdtty-port-name = "APPS_FM"; - }; - - smdtty_apps_riva_bt_acl: smdtty-apps-riva-bt-acl { - qcom,smdtty-remote = "wcnss"; - qcom,smdtty-port-name = "APPS_RIVA_BT_ACL"; - }; - - smdtty_apps_riva_bt_cmd: qcom,smdtty-apps-riva-bt-cmd { - qcom,smdtty-remote = "wcnss"; - qcom,smdtty-port-name = "APPS_RIVA_BT_CMD"; - }; - - smdtty_mbalbridge: qcom,smdtty-mbalbridge { - qcom,smdtty-remote = "modem"; - qcom,smdtty-port-name = "MBALBRIDGE"; - }; - - smdtty_apps_riva_ant_cmd: smdtty-apps-riva-ant-cmd { - qcom,smdtty-remote = "wcnss"; - qcom,smdtty-port-name = "APPS_RIVA_ANT_CMD"; - }; - - smdtty_apps_riva_ant_data: smdtty-apps-riva-ant-data { - qcom,smdtty-remote = "wcnss"; - qcom,smdtty-port-name = "APPS_RIVA_ANT_DATA"; - }; - - smdtty_data1: qcom,smdtty-data1 { - qcom,smdtty-remote = "modem"; - qcom,smdtty-port-name = "DATA1"; - }; - - smdtty_data11: qcom,smdtty-data11 { - qcom,smdtty-remote = "modem"; - qcom,smdtty-port-name = "DATA11"; - }; - - smdtty_data21: qcom,smdtty-data21 { - qcom,smdtty-remote = "modem"; - qcom,smdtty-port-name = "DATA21"; - }; - - smdtty_gps_nmea: smdtty-gpsnmea { - qcom,smdtty-remote = "modem"; - qcom,smdtty-port-name = "GPSNMEA"; - }; - - smdtty_loopback: smdtty-loopback { - qcom,smdtty-remote = "modem"; - qcom,smdtty-port-name = "LOOPBACK"; - qcom,smdtty-dev-name = "LOOPBACK_TTY"; - }; - }; -}; - -&gdsc_venus { - qcom,clock-names = "core_clk"; - qcom,skip-logic-collapse; - status = "ok"; -}; - -&gdsc_mdss { - qcom,clock-names = "core_clk", "lut_clk"; - qcom,retain-periph; - status = "ok"; -}; - -&gdsc_jpeg { - qcom,clock-names = "core0_clk", "core1_clk", "core2_clk"; - status = "ok"; -}; - -&gdsc_vfe { - qcom,clock-names = "core0_clk", "core1_clk", "csi0_clk", "csi1_clk", - "cpp_clk"; - status = "ok"; -}; - -&gdsc_oxili_gx { - qcom,clock-names = "core_clk"; - qcom,retain-mem; - qcom,retain-periph; - status = "ok"; -}; - -&gdsc_oxili_cx { - status = "ok"; -}; - -&gdsc_usb_hsic { - status = "ok"; -}; - -/include/ "msm-pm8x41-rpm-regulator.dtsi" -/include/ "msm-pm8841.dtsi" -/include/ "msm-pm8941.dtsi" -/include/ "msm8974-regulator.dtsi" -/include/ "msm8974-clock.dtsi" diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/msm9625-cdp.dtsi b/kernel/arch/arm/boot/dts/m7300-un-v1/msm9625-cdp.dtsi deleted file mode 100755 index 6ddb50b82..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/msm9625-cdp.dtsi +++ /dev/null @@ -1,100 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/include/ "msm9625-display.dtsi" -/include/ "qpic-panel-ili-qvga.dtsi" - -&soc { - i2c@f9925000 { - charger@57 { - compatible = "summit,smb137c"; - reg = <0x57>; - summit,chg-current-ma = <1500>; - summit,term-current-ma = <50>; - summit,pre-chg-current-ma = <100>; - summit,float-voltage-mv = <4200>; - summit,thresh-voltage-mv = <3000>; - summit,recharge-thresh-mv = <75>; - summit,system-voltage-mv = <4250>; - summit,charging-timeout = <382>; - summit,pre-charge-timeout = <48>; - summit,therm-current-ua = <10>; - summit,temperature-min = <4>; /* 0 C */ - summit,temperature-max = <3>; /* 45 C */ - }; - }; - - wlan0: qca,wlan { - cell-index = <0>; - compatible = "qca,ar6004-hsic"; - qca,chip-pwd-l-gpios = <&msmgpio 62 0>; - qca,pm-enable-gpios = <&pm8019_gpios 3 0x0>; - qca,vdd-io-supply = <&pm8019_l11>; - }; - - qca,wlan_ar6003 { - cell-index = <0>; - compatible = "qca,ar6003-sdio"; - qca,chip-pwd-l-gpios = <&msmgpio 62 0>; - qca,pm-enable-gpios = <&pm8019_gpios 3 0x0>; - qca,vdd-io-supply = <&pm8019_l11>; - }; -}; - -/* PM8019 GPIO and MPP configuration */ -&pm8019_gpios { - gpio@c000 { /* GPIO 1 */ - }; - - gpio@c100 { /* GPIO 2 */ - }; - - gpio@c200 { /* GPIO 3 */ - }; - - gpio@c300 { /* GPIO 4 */ - /* ext_2p95v regulator enable config */ - qcom,mode = <1>; /* Digital output */ - qcom,output-type = <0>; /* CMOS */ - qcom,invert = <0>; /* Output low */ - qcom,out-strength = <1>; /* Low */ - qcom,vin-sel = <2>; /* PM8019 L11 - 1.8V */ - qcom,src-sel = <0>; /* Constant */ - qcom,master-en = <1>; /* Enable GPIO */ - }; - - gpio@c400 { /* GPIO 5 */ - }; - - gpio@c500 { /* GPIO 6 */ - }; -}; - -&pm8019_mpps { - mpp@a000 { /* MPP 1 */ - }; - - mpp@a100 { /* MPP 2 */ - }; - - mpp@a200 { /* MPP 3 */ - }; - - mpp@a300 { /* MPP 4 */ - }; - - mpp@a400 { /* MPP 5 */ - }; - - mpp@a500 { /* MPP 6 */ - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/msm9625-coresight.dtsi b/kernel/arch/arm/boot/dts/m7300-un-v1/msm9625-coresight.dtsi deleted file mode 100755 index 3c00ae8c2..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/msm9625-coresight.dtsi +++ /dev/null @@ -1,259 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&soc { - tmc_etr: tmc@fc322000 { - compatible = "arm,coresight-tmc"; - reg = <0xfc322000 0x1000>, - <0xfc37c000 0x3000>; - reg-names = "tmc-base", "bam-base"; - - qcom,memory-reservation-type = "EBI1"; - qcom,memory-reservation-size = <0x20000>; /* 128K EBI1 buffer */ - - coresight-id = <0>; - coresight-name = "coresight-tmc-etr"; - coresight-nr-inports = <1>; - coresight-ctis = <&cti0 &cti8>; - }; - - tpiu: tpiu@fc318000 { - compatible = "arm,coresight-tpiu"; - reg = <0xfc318000 0x1000>; - reg-names = "tpiu-base"; - - coresight-id = <1>; - coresight-name = "coresight-tpiu"; - coresight-nr-inports = <1>; - - vdd-supply = <&ext_2p95v>; - }; - - replicator: replicator@fc31c000 { - compatible = "qcom,coresight-replicator"; - reg = <0xfc31c000 0x1000>; - reg-names = "replicator-base"; - - coresight-id = <2>; - coresight-name = "coresight-replicator"; - coresight-nr-inports = <1>; - coresight-outports = <0 1>; - coresight-child-list = <&tmc_etr &tpiu>; - coresight-child-ports = <0 0>; - }; - - tmc_etf: tmc@fc307000 { - compatible = "arm,coresight-tmc"; - reg = <0xfc307000 0x1000>; - reg-names = "tmc-base"; - - coresight-id = <3>; - coresight-name = "coresight-tmc-etf"; - coresight-nr-inports = <1>; - coresight-outports = <0>; - coresight-child-list = <&replicator>; - coresight-child-ports = <0>; - coresight-default-sink; - coresight-ctis = <&cti0 &cti8>; - }; - - funnel_merg: funnel@fc31b000 { - compatible = "arm,coresight-funnel"; - reg = <0xfc31b000 0x1000>; - reg-names = "funnel-base"; - - coresight-id = <4>; - coresight-name = "coresight-funnel-merg"; - coresight-nr-inports = <2>; - coresight-outports = <0>; - coresight-child-list = <&tmc_etf>; - coresight-child-ports = <0>; - }; - - funnel_in0: funnel@fc319000 { - compatible = "arm,coresight-funnel"; - reg = <0xfc319000 0x1000>; - reg-names = "funnel-base"; - - coresight-id = <5>; - coresight-name = "coresight-funnel-in0"; - coresight-nr-inports = <8>; - coresight-outports = <0>; - coresight-child-list = <&funnel_merg>; - coresight-child-ports = <0>; - }; - - funnel_in1: funnel@fc31a000 { - compatible = "arm,coresight-funnel"; - reg = <0xfc31a000 0x1000>; - reg-names = "funnel-base"; - - coresight-id = <6>; - coresight-name = "coresight-funnel-in1"; - coresight-nr-inports = <8>; - coresight-outports = <0>; - coresight-child-list = <&funnel_merg>; - coresight-child-ports = <1>; - }; - - stm: stm@fc321000 { - compatible = "arm,coresight-stm"; - reg = <0xfc321000 0x1000>, - <0xfa280000 0x180000>; - reg-names = "stm-base", "stm-data-base"; - - coresight-id = <7>; - coresight-name = "coresight-stm"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_in1>; - coresight-child-ports = <7>; - }; - - etm0: etm@fc332000 { - compatible = "arm,coresight-etm"; - reg = <0xfc332000 0x1000>; - reg-names = "etm-base"; - - coresight-id = <8>; - coresight-name = "coresight-etm0"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_in0>; - coresight-child-ports = <4>; - - qcom,round-robin; - }; - - csr: csr@fc302000 { - compatible = "qcom,coresight-csr"; - reg = <0xfc302000 0x1000>; - reg-names = "csr-base"; - - coresight-id = <9>; - coresight-name = "coresight-csr"; - coresight-nr-inports = <0>; - - qcom,blk-size = <1>; - }; - - cti0: cti@fc308000 { - compatible = "arm,coresight-cti"; - reg = <0xfc308000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <10>; - coresight-name = "coresight-cti0"; - coresight-nr-inports = <0>; - }; - - cti1: cti@fc309000 { - compatible = "arm,coresight-cti"; - reg = <0xfc309000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <11>; - coresight-name = "coresight-cti1"; - coresight-nr-inports = <0>; - }; - - cti2: cti@fc30a000 { - compatible = "arm,coresight-cti"; - reg = <0xfc30a000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <12>; - coresight-name = "coresight-cti2"; - coresight-nr-inports = <0>; - }; - - cti3: cti@fc30b000 { - compatible = "arm,coresight-cti"; - reg = <0xfc30b000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <13>; - coresight-name = "coresight-cti3"; - coresight-nr-inports = <0>; - }; - - cti4: cti@fc30c000 { - compatible = "arm,coresight-cti"; - reg = <0xfc30c000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <14>; - coresight-name = "coresight-cti4"; - coresight-nr-inports = <0>; - }; - - cti5: cti@fc30d000 { - compatible = "arm,coresight-cti"; - reg = <0xfc30d000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <15>; - coresight-name = "coresight-cti5"; - coresight-nr-inports = <0>; - }; - - cti6: cti@fc30e000 { - compatible = "arm,coresight-cti"; - reg = <0xfc30e000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <16>; - coresight-name = "coresight-cti6"; - coresight-nr-inports = <0>; - }; - - cti7: cti@fc30f000 { - compatible = "arm,coresight-cti"; - reg = <0xfc30f000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <17>; - coresight-name = "coresight-cti7"; - coresight-nr-inports = <0>; - }; - - cti8: cti@fc310000 { - compatible = "arm,coresight-cti"; - reg = <0xfc310000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <18>; - coresight-name = "coresight-cti8"; - coresight-nr-inports = <0>; - }; - - cti_cpu: cti@fc333000 { - compatible = "arm,coresight-cti"; - reg = <0xfc333000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <19>; - coresight-name = "coresight-cti-cpu"; - coresight-nr-inports = <0>; - }; - - hwevent: hwevent@f9011038 { - compatible = "qcom,coresight-hwevent"; - reg = <0xf9011038 0x8>, - <0xfd4ab160 0x80>; - reg-names = "apcs-mux", "ppss-mux"; - - coresight-id = <20>; - coresight-name = "coresight-hwevent"; - coresight-nr-inports = <0>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/msm9625-display.dtsi b/kernel/arch/arm/boot/dts/m7300-un-v1/msm9625-display.dtsi deleted file mode 100755 index 287a63aef..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/msm9625-display.dtsi +++ /dev/null @@ -1,20 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -&soc { - qcom,msm_qpic@f9ac0000 { - compatible = "qcom,mdss_qpic"; - reg = <0xf9ac0000 0x24000>; - reg-names = "qpic_base"; - interrupts = <0 251 0>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/msm9625-ion.dtsi b/kernel/arch/arm/boot/dts/m7300-un-v1/msm9625-ion.dtsi deleted file mode 100755 index 6f9bb535d..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/msm9625-ion.dtsi +++ /dev/null @@ -1,35 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&soc { - qcom,ion { - compatible = "qcom,msm-ion"; - #address-cells = <1>; - #size-cells = <0>; - - qcom,ion-heap@30 { /* SYSTEM HEAP */ - reg = <30>; - }; - - qcom,ion-heap@25 { /* IOMMU HEAP */ - reg = <25>; - }; - - qcom,ion-heap@28 { /* AUDIO HEAP */ - compatible = "qcom,msm-ion-reserve"; - reg = <28>; - qcom,heap-align = <0x1000>; - qcom,memory-reservation-type = "EBI1"; /* reserve EBI memory */ - qcom,memory-reservation-size = <0xE9000>; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/msm9625-mtp.dtsi b/kernel/arch/arm/boot/dts/m7300-un-v1/msm9625-mtp.dtsi deleted file mode 100755 index b2908c42b..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/msm9625-mtp.dtsi +++ /dev/null @@ -1,111 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&soc { - i2c@f9925000 { - }; - - wlan0: qca,wlan { - cell-index = <0>; - compatible = "qca,ar6004-hsic"; - qca,chip-pwd-l-gpios = <&msmgpio 62 0>; - qca,pm-enable-gpios = <&pm8019_gpios 3 0x0>; - qca,vdd-io-supply = <&pm8019_l11>; - }; - - qca,wlan_ar6003 { - cell-index = <0>; - compatible = "qca,ar6003-sdio"; - qca,chip-pwd-l-gpios = <&msmgpio 62 0>; - qca,pm-enable-gpios = <&pm8019_gpios 3 0x0>; - qca,vdd-io-supply = <&pm8019_l11>; - }; - - mp2617 { - cell-index = <0>; - compatible = "mps,mp2617"; - mps,chg-current-ma = <1000>; - mps,chg-vbat-div = <3>; /* Divided by 3 before input */ - mps,chg-en-gpio = <&msmgpio 13 0>; /* refer to board-9625-gpiomux.c */ - mps,chg-ok-gpio = <&msmgpio 71 0>; - mps,chg-m0-gpio = <&msmgpio 12 0>; - mps,chg-m1-gpio = <&msmgpio 17 0>; - }; -}; - -/* PM8019 GPIO and MPP configuration */ -&pm8019_gpios { - gpio@c000 { /* GPIO 1 */ - }; - - gpio@c100 { /* GPIO 2 */ - }; - - gpio@c200 { /* GPIO 3 */ - }; - - gpio@c300 { /* GPIO 4 */ - /* ext_2p95v regulator enable config */ - qcom,mode = <1>; /* Digital output */ - qcom,output-type = <0>; /* CMOS */ - qcom,invert = <0>; /* Output low */ - qcom,out-strength = <1>; /* Low */ - qcom,vin-sel = <2>; /* PM8019 L11 - 1.8V */ - qcom,src-sel = <0>; /* Constant */ - qcom,master-en = <1>; /* Enable GPIO */ - }; - - gpio@c400 { /* GPIO 5 */ - }; - - gpio@c500 { /* GPIO 6 */ - }; -}; - -&pm8019_mpps { - mpp@a000 { /* MPP 1 */ - }; - - /* [linyunfeng] Detect battery voltage */ - mpp@a100 { /* MPP 2 */ - /* channel 17 */ - qcom,mode = <4>; - qcom,ain-route = <1>; /* AMUX 6 */ - qcom,master-en = <1>; - qcom,src-sel = <0>; /* Function constant */ - qcom,invert = <1>; - }; - - mpp@a200 { /* MPP 3 */ - }; - - mpp@a300 { /* MPP 4 */ - /* VADC channel 19 */ - qcom,mode = <4>; - qcom,ain-route = <3>; /* AMUX 8 */ - qcom,master-en = <1>; - qcom,src-sel = <0>; /* Function constant */ - qcom,invert = <1>; - }; - - mpp@a400 { /* MPP 5 */ - }; - - mpp@a500 { /* MPP 6 */ - /* channel 21 */ - qcom,mode = <4>; - qcom,ain-route = <1>; /* AMUX 6 */ - qcom,master-en = <1>; - qcom,src-sel = <0>; /* Function constant */ - qcom,invert = <1>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/msm9625-pm.dtsi b/kernel/arch/arm/boot/dts/m7300-un-v1/msm9625-pm.dtsi deleted file mode 100755 index 673b64053..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/msm9625-pm.dtsi +++ /dev/null @@ -1,299 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/include/ "skeleton.dtsi" - -&soc { - qcom,spm@f9009000 { - compatible = "qcom,spm-v2"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xf9009000 0x1000>; - qcom,core-id = <0>; - qcom,saw2-ver-reg = <0xfd0>; - qcom,saw2-cfg = <0x101>; - qcom,saw2-spm-dly= <0>; - qcom,saw2-spm-ctl = <0x1>; - qcom,saw2-spm-cmd-wfi = [04 03 04 0f]; - qcom,saw2-spm-cmd-spc = [34 04 44 14 24 54 03 54 44 14 04 24 - 3e 0f]; - qcom,saw2-spm-cmd-pc = [34 04 44 14 24 54 07 54 44 14 04 24 - 3e 0f]; - }; - - qcom,lpm-resources { - compatible = "qcom,lpm-resources"; - #address-cells = <1>; - #size-cells = <0>; - - qcom,lpm-resources@0 { - reg = <0x0>; - qcom,name = "vdd-dig"; - qcom,type = <0x616F646C>; /* "ldoa" */ - qcom,id = <0x0A>; - qcom,key = <0x6e726f63>; /* "corn" */ - qcom,init-value = <5>; /* Super Turbo */ - }; - - qcom,lpm-resources@1 { - reg = <0x1>; - qcom,name = "vdd-mem"; - qcom,type = <0x616F646C>; /* "ldoa" */ - qcom,id = <0x0C>; - qcom,key = <0x7675>; /* "uv" */ - qcom,init-value = <1050000>; /* Super Turbo */ - }; - - qcom,lpm-resources@2 { - reg = <0x2>; - qcom,name = "pxo"; - qcom,type = <0x306b6c63>; /* "clk0" */ - qcom,id = <0x00>; - qcom,key = <0x62616e45>; /* "Enab" */ - qcom,init-value = "xo_on"; - }; - }; - - qcom,lpm-levels { - compatible = "qcom,lpm-levels"; - #address-cells = <1>; - #size-cells = <0>; - - qcom,use-qtimer; - - qcom,lpm-level@0 { - reg = <0x0>; - qcom,mode = "wfi"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_active"; - qcom,vdd-mem-upper-bound = <1050000>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <950000>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <100>; - qcom,ss-power = <8000>; - qcom,energy-overhead = <100000>; - qcom,time-overhead = <1>; - }; - - qcom,lpm-level@1 { - reg = <0x1>; - qcom,mode = "standalone_pc"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_active"; - qcom,vdd-mem-upper-bound = <1050000>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <950000>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <2000>; - qcom,ss-power = <5000>; - qcom,energy-overhead = <60100000>; - qcom,time-overhead = <3000>; - }; - - qcom,lpm-level@2 { - reg = <0x2>; - qcom,mode = "pc"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_gdhs"; - qcom,vdd-mem-upper-bound = <1050000>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <950000>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <3500>; - qcom,ss-power = <5000>; - qcom,energy-overhead = <60350000>; - qcom,time-overhead = <6300>; - }; - - qcom,lpm-level@3 { - reg = <0x3>; - qcom,mode = "pc"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_pc"; - qcom,vdd-mem-upper-bound = <1050000>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <950000>; /* SVS SOC */ - qcom,vdd-dig-upper-bound = <4>; /* NORMAL */ - qcom,vdd-dig-lower-bound = <3>; /* SVS SOC */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <4500>; - qcom,ss-power = <5000>; - qcom,energy-overhead = <60350000>; - qcom,time-overhead = <7300>; - }; - - qcom,lpm-level@4 { - reg = <0x4>; - qcom,mode = "pc"; - qcom,xo = "xo_off"; - qcom,l2 = "l2_cache_pc"; - qcom,vdd-mem-upper-bound = <1050000>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <950000>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,irqs-detectable; - qcom,latency-us = <6800>; - qcom,ss-power = <2000>; - qcom,energy-overhead = <71850000>; - qcom,time-overhead = <13300>; - }; - - qcom,lpm-level@5 { - reg = <0x5>; - qcom,mode = "pc"; - qcom,xo = "xo_off"; - qcom,l2 = "l2_cache_pc"; - qcom,vdd-mem-upper-bound = <1050000>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <950000>; /* SVS SOC */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <3>; /* SVS SOC */ - qcom,irqs-detectable; - qcom,latency-us = <8000>; - qcom,ss-power = <1800>; - qcom,energy-overhead = <71950000>; - qcom,time-overhead = <15300>; - }; - - qcom,lpm-level@6 { - reg = <0x6>; - qcom,mode = "pc"; - qcom,xo = "xo_off"; - qcom,l2 = "l2_cache_pc"; - qcom,vdd-mem-upper-bound = <950000>; /* SVS SOC */ - qcom,vdd-mem-lower-bound = <675000>; /* RETENTION */ - qcom,vdd-dig-upper-bound = <3>; /* SVS SOC */ - qcom,vdd-dig-lower-bound = <1>; /* RETENTION */ - qcom,latency-us = <9800>; - qcom,ss-power = <0>; - qcom,energy-overhead = <76350000>; - qcom,time-overhead = <28300>; - }; - }; - - qcom,pm-boot { - compatible = "qcom,pm-boot"; - qcom,mode = "tz"; - }; - - qcom,mpm@fc4281d0 { - compatible = "qcom,mpm-v2"; - reg = <0xfc4281d0 0x1000>, /* MSM_RPM_MPM_BASE 4K */ - <0xf9011008 0x4>; /* MSM_APCS_GCC_BASE 4K */ - reg-names = "vmpm", "ipc"; - interrupts = <0 171 1>; - - qcom,ipc-bit-offset = <1>; - - qcom,gic-parent = <&intc>; - qcom,gic-map = <2 216>, /* tsens_upper_lower_int */ - <47 172>, /* usb2_hsic_async_wakeup_irq */ - <41 180>, /* usb_async_wakeup_irq */ - <62 222>, /* ee0_krait_hlos_spmi_periph_irq */ - <0xff 57>, /* mss_to_apps_irq(0) */ - <0xff 58>, /* mss_to_apps_irq(1) */ - <0xff 59>, /* mss_to_apps_irq(2) */ - <0xff 60>, /* mss_to_apps_irq(3) */ - <0xff 173>, /* o_wcss_apss_smd_hi */ - <0xff 174>, /* o_wcss_apss_smd_med */ - <0xff 175>, /* o_wcss_apss_smd_lo */ - <0xff 176>, /* o_wcss_apss_smsm_irq */ - <0xff 177>, /* o_wcss_apss_wlan_data_xfer_done */ - <0xff 178>, /* o_wcss_apss_wlan_rx_data_avail */ - <0xff 179>, /* o_wcss_apss_asic_intr */ - <0xff 188>, /* q6ss_irq_out(4) */ - <0xff 189>, /* q6ss_irq_out(5) */ - <0xff 190>, /* q6ss_irq_out(6) */ - <0xff 191>, /* q6ss_irq_out(7) */ - <0xff 192>, /* audio_out0_irq */ - <0xff 193>, /* midi_arm_irq */ - <0xff 194>, /* q6ss_wdog_exp_irq */ - <0xff 195>, /* slimbus_core_ee1_irq */ - <0xff 196>, /* bam_irq(1) */ - <0xff 197>, /* qdss_irq_out(7) */ - <0xff 200>, /* rpm_ipc(4) */ - <0xff 201>, /* rpm_ipc(5) */ - <0xff 202>, /* rpm_ipc(6) */ - <0xff 203>, /* rpm_ipc(7) */ - <0xff 204>, /* rpm_ipc(24) */ - <0xff 205>, /* rpm_ipc(25) */ - <0xff 206>, /* rpm_ipc(26) */ - <0xff 207>, /* rpm_ipc(27) */ - <0xff 240>; /* summary_irq_kpss */ - - qcom,gpio-parent = <&msmgpio>; - qcom,gpio-map = <4 0>, - <5 1>, - <6 2>, - <7 3>, - <8 4>, - <9 5>, - <10 6>, - <11 7>, - <12 8>, - <13 9>, - <14 10>, - <15 11>, - <16 12>, - <17 13>, - <18 14>, - <19 15>, - <20 16>, - <21 17>, - <22 18>, - <23 19>, - <24 20>, - <25 21>, - <26 24>, - <27 25>, - <28 51>, - <29 61>, - <30 62>, - <31 63>, - <32 64>, - <33 65>, - <34 66>, - <35 67>, - <36 69>, - <37 71>; - }; - - qcom,pm-8x60 { - compatible = "qcom,pm-8x60"; - qcom,pc-mode = "tz_l2_ext"; - qcom,use-sync-timer; - }; - - qcom,rpm-log@fc19dc00 { - compatible = "qcom,rpm-log"; - reg = <0xfc19dc00 0x4000>; - qcom,rpm-addr-phys = <0xfc000000>; - qcom,offset-version = <4>; - qcom,offset-page-buffer-addr = <36>; - qcom,offset-log-len = <40>; - qcom,offset-log-len-mask = <44>; - qcom,offset-page-indices = <56>; - }; - - qcom,rpm-stats@fc19dba0 { - compatible = "qcom,rpm-stats"; - reg = <0xfc19dba0 0x1000>; - reg-names = "phys_addr_base"; - qcom,sleep-stats-version = <2>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/msm9625-regulator.dtsi b/kernel/arch/arm/boot/dts/m7300-un-v1/msm9625-regulator.dtsi deleted file mode 100755 index eb56d1c6a..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/msm9625-regulator.dtsi +++ /dev/null @@ -1,284 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&rpm_bus { - rpm-regulator-smpa1 { - status = "okay"; - pm8019_s1: regulator-s1 { - regulator-min-microvolt = <800000>; - regulator-max-microvolt = <1050000>; - qcom,init-voltage = <1050000>; - status = "okay"; - }; - }; - - rpm-regulator-smpa2 { - status = "okay"; - pm8019_s2: regulator-s2 { - regulator-min-microvolt = <1250000>; - regulator-max-microvolt = <1250000>; - qcom,init-voltage = <1250000>; - qcom,init-current = <100>; - qcom,system-load = <100000>; - regulator-always-on; - status = "okay"; - }; - }; - - rpm-regulator-smpa3 { - status = "okay"; - pm8019_s3: regulator-s3 { - regulator-min-microvolt = <1000000>; - regulator-max-microvolt = <1100000>; - qcom,init-voltage = <1100000>; - qcom,init-current = <100>; - qcom,system-load = <100000>; - regulator-always-on; - status = "okay"; - }; - pm8019_s3_ao: regulator-s3-ao { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8019_s3_ao"; - qcom,set = <1>; - regulator-min-microvolt = <1000000>; - regulator-max-microvolt = <1100000>; - status = "okay"; - }; - }; - - rpm-regulator-smpa4 { - status = "okay"; - pm8019_s4: regulator-s4 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <2075000>; - qcom,init-voltage = <2075000>; - qcom,init-current = <100>; - qcom,system-load = <100000>; - regulator-always-on; - status = "okay"; - }; - }; - - rpm-regulator-ldoa1 { - status = "okay"; - pm8019_l1: regulator-l1 { - parent-supply = <&pm8019_s2>; - regulator-min-microvolt = <1225000>; - regulator-max-microvolt = <1225000>; - qcom,init-voltage = <1225000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa2 { - status = "okay"; - pm8019_l2: regulator-l2 { - parent-supply = <&pm8019_s4>; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa3 { - status = "okay"; - pm8019_l3: regulator-l3 { - parent-supply = <&pm8019_s4>; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa4 { - status = "okay"; - pm8019_l4: regulator-l4 { - regulator-min-microvolt = <3075000>; - regulator-max-microvolt = <3075000>; - qcom,init-voltage = <3075000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa5 { - status = "okay"; - pm8019_l5: regulator-l5 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <2850000>; - qcom,init-voltage = <1800000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa6 { - status = "okay"; - pm8019_l6: regulator-l6 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <2850000>; - qcom,init-voltage = <1800000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa7 { - status = "okay"; - pm8019_l7: regulator-l7 { - parent-supply = <&pm8019_s4>; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa8 { - status = "okay"; - pm8019_l8: regulator-l8 { - parent-supply = <&pm8019_s4>; - regulator-min-microvolt = <2050000>; - regulator-max-microvolt = <2050000>; - qcom,init-voltage = <2050000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa9 { - status = "okay"; - pm8019_l9: regulator-l9 { - parent-supply = <&pm8019_s2>; - regulator-min-microvolt = <1200000>; - regulator-max-microvolt = <1200000>; - qcom,init-voltage = <1200000>; - qcom,init-current = <10>; - qcom,system-load = <10000>; - regulator-always-on; - status = "okay"; - }; - }; - - rpm-regulator-ldoa10 { - status = "okay"; - pm8019_l10: regulator-l10 { - parent-supply = <&pm8019_s3>; - regulator-min-microvolt = <500000>; - regulator-max-microvolt = <1050000>; - status = "okay"; - }; - pm8019_l10_corner: regulator-l10-corner { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8019_l10_corner"; - qcom,set = <3>; - regulator-min-microvolt = <1>; - regulator-max-microvolt = <7>; - qcom,use-voltage-corner; - status = "okay"; - qcom,consumer-supplies = "vdd_dig", ""; - }; - pm8019_l10_corner_ao: regulator-l10-corner-ao { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8019_l10_corner_ao"; - qcom,set = <1>; - regulator-min-microvolt = <1>; - regulator-max-microvolt = <7>; - qcom,use-voltage-corner; - status = "okay"; - }; - pm8019_l10_floor_corner: regulator-l10-floor-corner { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8019_l10_floor_corner"; - qcom,set = <3>; - regulator-min-microvolt = <1>; - regulator-max-microvolt = <7>; - qcom,use-voltage-floor-corner; - qcom,always-send-voltage; - }; - }; - - rpm-regulator-ldoa11 { - status = "okay"; - pm8019_l11: regulator-l11 { - parent-supply = <&pm8019_s4>; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - qcom,init-current = <10>; - qcom,system-load = <10000>; - regulator-always-on; - status = "okay"; - }; - }; - - rpm-regulator-ldoa12 { - status = "okay"; - pm8019_l12: regulator-l12 { - parent-supply = <&pm8019_s3>; - regulator-min-microvolt = <675000>; - regulator-max-microvolt = <1050000>; - status = "okay"; - }; - pm8019_l12_ao: regulator-l12-ao { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8019_l12_ao"; - qcom,set = <1>; - parent-supply = <&pm8019_s3_ao>; - regulator-min-microvolt = <675000>; - regulator-max-microvolt = <1050000>; - status = "okay"; - }; - pm8019_l12_so: regulator-l12-so { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8019_l12_so"; - qcom,set = <2>; - parent-supply = <&pm8019_s3>; - regulator-min-microvolt = <675000>; - regulator-max-microvolt = <1050000>; - qcom,init-voltage = <675000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa13 { - status = "okay"; - pm8019_l13: regulator-l13 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <2950000>; - qcom,init-voltage = <2950000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa14 { - status = "okay"; - pm8019_l14: regulator-l14 { - regulator-min-microvolt = <2700000>; - regulator-max-microvolt = <2700000>; - qcom,init-voltage = <2700000>; - status = "okay"; - }; - }; -}; - -&soc { - ext_2p95v: regulator-isl80101 { - compatible = "regulator-fixed"; - regulator-name = "ext_2p95v"; - gpio = <&pm8019_gpios 4 0>; - enable-active-high; - }; - - usb_vbus: regulator-usb-vbus { - compatible = "regulator-fixed"; - regulator-name = "usb_vbus"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/msm9625-smp2p.dtsi b/kernel/arch/arm/boot/dts/m7300-un-v1/msm9625-smp2p.dtsi deleted file mode 100755 index f8ad351a4..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/msm9625-smp2p.dtsi +++ /dev/null @@ -1,142 +0,0 @@ -/* Copyright (c) 2013, 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. - */ -&soc { - qcom,smp2p-modem { - compatible = "qcom,smp2p"; - reg = <0xf9011008 0x4>; - qcom,remote-pid = <1>; - qcom,irq-bitmask = <0x4000>; - interrupts = <0 27 1>; - }; - - qcom,smp2p-adsp { - compatible = "qcom,smp2p"; - reg = <0xf9011008 0x4>; - qcom,remote-pid = <2>; - qcom,irq-bitmask = <0x400>; - interrupts = <0 158 1>; - }; - - smp2pgpio_smp2p_7_in: qcom,smp2pgpio-smp2p-7-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <7>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_7_in { - compatible = "qcom,smp2pgpio_test_smp2p_7_in"; - gpios = <&smp2pgpio_smp2p_7_in 0 0>; - }; - - smp2pgpio_smp2p_7_out: qcom,smp2pgpio-smp2p-7-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <7>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_7_out { - compatible = "qcom,smp2pgpio_test_smp2p_7_out"; - gpios = <&smp2pgpio_smp2p_7_out 0 0>; - }; - - smp2pgpio_smp2p_1_in: qcom,smp2pgpio-smp2p-1-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <1>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_1_in { - compatible = "qcom,smp2pgpio_test_smp2p_1_in"; - gpios = <&smp2pgpio_smp2p_1_in 0 0>; - }; - - smp2pgpio_smp2p_1_out: qcom,smp2pgpio-smp2p-1-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <1>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_1_out { - compatible = "qcom,smp2pgpio_test_smp2p_1_out"; - gpios = <&smp2pgpio_smp2p_1_out 0 0>; - }; - - smp2pgpio_ssr_smp2p_1_in: qcom,smp2pgpio-ssr-smp2p-1-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "slave-kernel"; - qcom,remote-pid = <1>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - smp2pgpio_ssr_smp2p_1_out: qcom,smp2pgpio-ssr-smp2p-1-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "master-kernel"; - qcom,remote-pid = <1>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - smp2pgpio_smp2p_2_in: qcom,smp2pgpio-smp2p-2-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <2>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_2_in { - compatible = "qcom,smp2pgpio_test_smp2p_2_in"; - gpios = <&smp2pgpio_smp2p_2_in 0 0>; - }; - - smp2pgpio_smp2p_2_out: qcom,smp2pgpio-smp2p-2-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <2>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_2_out { - compatible = "qcom,smp2pgpio_test_smp2p_2_out"; - gpios = <&smp2pgpio_smp2p_2_out 0 0>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/msm9625-v1-cdp.dts b/kernel/arch/arm/boot/dts/m7300-un-v1/msm9625-v1-cdp.dts deleted file mode 100755 index d7537eb35..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/msm9625-v1-cdp.dts +++ /dev/null @@ -1,24 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/dts-v1/; - -/include/ "msm9625-v1.dtsi" -/include/ "msm9625-cdp.dtsi" - -/ { - model = "Qualcomm MSM 9625V1 CDP"; - compatible = "qcom,msm9625-cdp", "qcom,msm9625", "qcom,cdp"; - qcom,msm-id = <134 1 0>, <152 1 0>, <149 1 0>, <150 1 0>, - <151 1 0>, <148 1 0>, <173 1 0>, <174 1 0>, - <175 1 0>; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/msm9625-v1-mtp.dts b/kernel/arch/arm/boot/dts/m7300-un-v1/msm9625-v1-mtp.dts deleted file mode 100755 index a70ec1aa7..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/msm9625-v1-mtp.dts +++ /dev/null @@ -1,24 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/dts-v1/; - -/include/ "msm9625-v1.dtsi" -/include/ "msm9625-mtp.dtsi" - -/ { - model = "Qualcomm MSM 9625V1 MTP"; - compatible = "qcom,msm9625-mtp", "qcom,msm9625", "qcom,mtp"; - qcom,msm-id = <134 7 0>, <152 7 0>, <149 7 0>, <150 7 0>, - <151 7 0>, <148 7 0>, <173 7 0>, <174 7 0>, - <175 7 0>; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/msm9625-v1-rumi.dts b/kernel/arch/arm/boot/dts/m7300-un-v1/msm9625-v1-rumi.dts deleted file mode 100755 index ef0068143..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/msm9625-v1-rumi.dts +++ /dev/null @@ -1,26 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/dts-v1/; - -/include/ "msm9625-v1.dtsi" - -/ { - model = "Qualcomm MSM 9625V1 RUMI"; - compatible = "qcom,msm9625-rumi", "qcom,msm9625", "qcom,rumi"; - qcom,msm-id = <134 15 0>; - - chosen{ - bootargs = "root=/dev/ram rw init=/init console=ttyHSL0,115200n8 initrd=0x00000000,0x00000000 mem=29M@0x00200000 mem=10M@0x07600000"; - - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/msm9625-v1.dtsi b/kernel/arch/arm/boot/dts/m7300-un-v1/msm9625-v1.dtsi deleted file mode 100755 index b238ba549..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/msm9625-v1.dtsi +++ /dev/null @@ -1,67 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/* - * As a general rule, only version-specific property overrides should be placed - * inside this file. However, device definitions should be placed inside the - * msm9625.dtsi file. - */ - -/include/ "msm9625.dtsi" - -&soc { - qcom,msm-imem@fc42a800 { - compatible = "qcom,msm-imem"; - reg = <0xfc42a800 0x1000>; /* Address and size of IMEM */ - }; - - android_usb@fc42a8c8 { - compatible = "qcom,android-usb"; - reg = <0xfc42a8c8 0xc8>; - qcom,android-usb-swfi-latency = <100>; - }; - - qcom,bam_dmux@fc834000 { - compatible = "qcom,bam_dmux"; - reg = <0xfc834000 0x7000>; - interrupts = <0 29 1>; - }; -}; - -&hsic_host { - qcom,disable-park-mode; -}; - -&ipa_hw { - qcom,ipa-hw-ver = <1>; /* IPA h-w revision */ -}; - -/* CoreSight */ -&tmc_etr { - qcom,reset-flush-race; -}; - -&stm { - qcom,write-64bit; -}; - -&sfpb_spinlock { - status = "disable"; -}; - -&ldrex_spinlock { - status = "ok"; -}; - -&hsic_host { - qcom,phy-sof-workaround; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/msm9625-v2-cdp.dts b/kernel/arch/arm/boot/dts/m7300-un-v1/msm9625-v2-cdp.dts deleted file mode 100755 index 9fbe5ec8a..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/msm9625-v2-cdp.dts +++ /dev/null @@ -1,24 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; - -/include/ "msm9625-v2.dtsi" -/include/ "msm9625-cdp.dtsi" - -/ { - model = "Qualcomm MSM 9625V2 CDP"; - compatible = "qcom,msm9625-cdp", "qcom,msm9625", "qcom,cdp"; - qcom,msm-id = <134 1 0x20000>, <152 1 0x20000>, <149 1 0x20000>, - <150 1 0x20000>, <151 1 0x20000>, <148 1 0x20000>, - <173 1 0x20000>, <174 1 0x20000>, <175 1 0x20000>; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/msm9625-v2-mtp.dts b/kernel/arch/arm/boot/dts/m7300-un-v1/msm9625-v2-mtp.dts deleted file mode 100755 index 27d00664a..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/msm9625-v2-mtp.dts +++ /dev/null @@ -1,122 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; - -/include/ "msm9625-v2.dtsi" -/include/ "msm9625-mtp.dtsi" - -/ { - model = "Qualcomm MSM 9625V2 MTP"; - compatible = "qcom,msm9625-mtp", "qcom,msm9625", "qcom,mtp"; - qcom,msm-id = <134 7 0x20000>, <152 7 0x20000>, <149 7 0x20000>, - <150 7 0x20000>, <151 7 0x20000>, <148 7 0x20000>, - <173 7 0x20000>, <174 7 0x20000>, <175 7 0x20000>; -}; - -&soc { - i2c@f9925000 { - charger@57 { - compatible = "summit,smb137c"; - reg = <0x57>; - summit,chg-current-ma = <1500>; - summit,term-current-ma = <50>; - summit,pre-chg-current-ma = <100>; - summit,float-voltage-mv = <4200>; - summit,thresh-voltage-mv = <3000>; - summit,recharge-thresh-mv = <75>; - summit,system-voltage-mv = <4250>; - summit,charging-timeout = <382>; - summit,pre-charge-timeout = <48>; - summit,therm-current-ua = <10>; - summit,temperature-min = <4>; /* 0 C */ - summit,temperature-max = <3>; /* 45 C */ - }; - }; - - wlan0: qca,wlan { - cell-index = <0>; - compatible = "qca,ar6004-hsic"; - qca,chip-pwd-l-gpios = <&msmgpio 62 0>; - qca,pm-enable-gpios = <&pm8019_gpios 3 0x0>; - qca,vdd-io-supply = <&pm8019_l11>; - }; - - qca,wlan_ar6003 { - cell-index = <0>; - compatible = "qca,ar6003-sdio"; - qca,chip-pwd-l-gpios = <&msmgpio 62 0>; - qca,pm-enable-gpios = <&pm8019_gpios 3 0x0>; - qca,vdd-io-supply = <&pm8019_l11>; - }; -}; - -/* PM8019 GPIO and MPP configuration */ -&pm8019_gpios { - gpio@c000 { /* GPIO 1 */ - }; - - gpio@c100 { /* GPIO 2 */ - }; - - gpio@c200 { /* GPIO 3 */ - }; - - gpio@c300 { /* GPIO 4 */ - /* ext_2p95v regulator enable config */ - qcom,mode = <1>; /* Digital output */ - qcom,output-type = <0>; /* CMOS */ - qcom,invert = <0>; /* Output low */ - qcom,out-strength = <1>; /* Low */ - qcom,vin-sel = <2>; /* PM8019 L11 - 1.8V */ - qcom,src-sel = <0>; /* Constant */ - qcom,master-en = <1>; /* Enable GPIO */ - }; - - gpio@c400 { /* GPIO 5 */ - }; - - gpio@c500 { /* GPIO 6 */ - }; -}; - -&pm8019_mpps { - mpp@a000 { /* MPP 1 */ - }; - - mpp@a100 { /* MPP 2 */ - }; - - mpp@a200 { /* MPP 3 */ - }; - - mpp@a300 { /* MPP 4 */ - /* VADC channel 19 */ - qcom,mode = <4>; - qcom,ain-route = <3>; /* AMUX 8 */ - qcom,master-en = <1>; - qcom,src-sel = <0>; /* Function constant */ - qcom,invert = <1>; - }; - - mpp@a400 { /* MPP 5 */ - }; - - mpp@a500 { /* MPP 6 */ - /* channel 21 */ - qcom,mode = <4>; - qcom,ain-route = <1>; /* AMUX 6 */ - qcom,master-en = <1>; - qcom,src-sel = <0>; /* Function constant */ - qcom,invert = <1>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/msm9625-v2.1-cdp.dts b/kernel/arch/arm/boot/dts/m7300-un-v1/msm9625-v2.1-cdp.dts deleted file mode 100755 index b64359381..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/msm9625-v2.1-cdp.dts +++ /dev/null @@ -1,24 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; - -/include/ "msm9625-v2.1.dtsi" -/include/ "msm9625-cdp.dtsi" - -/ { - model = "Qualcomm MSM 9625V2.1 CDP"; - compatible = "qcom,msm9625-cdp", "qcom,msm9625", "qcom,cdp"; - qcom,msm-id = <134 1 0x20001>, <152 1 0x20001>, <149 1 0x20001>, - <150 1 0x20001>, <151 1 0x20001>, <148 1 0x20001>, - <173 1 0x20001>, <174 1 0x20001>, <175 1 0x20001>; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/msm9625-v2.1-mtp.dts b/kernel/arch/arm/boot/dts/m7300-un-v1/msm9625-v2.1-mtp.dts deleted file mode 100755 index 8bbcc0d55..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/msm9625-v2.1-mtp.dts +++ /dev/null @@ -1,24 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; - -/include/ "msm9625-v2.1.dtsi" -/include/ "msm9625-mtp.dtsi" - -/ { - model = "Qualcomm MSM 9625V2.1 MTP"; - compatible = "qcom,msm9625-mtp", "qcom,msm9625", "qcom,mtp"; - qcom,msm-id = <134 7 0x20001>, <152 7 0x20001>, <149 7 0x20001>, - <150 7 0x20001>, <151 7 0x20001>, <148 7 0x20001>, - <173 7 0x20001>, <174 7 0x20001>, <175 7 0x20001>; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/msm9625-v2.1.dtsi b/kernel/arch/arm/boot/dts/m7300-un-v1/msm9625-v2.1.dtsi deleted file mode 100755 index 5720700e3..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/msm9625-v2.1.dtsi +++ /dev/null @@ -1,40 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/* - * As a general rule, only version-specific property overrides should be placed - * inside this file. However, device definitions should be placed inside the - * msm9625.dtsi file. - */ - -/include/ "msm9625.dtsi" - -&soc { - qcom,msm-imem@fe807800 { - compatible = "qcom,msm-imem"; - reg = <0xfe807800 0x1000>; /* Address and size of IMEM */ - }; - - android_usb@fe8078c8 { - compatible = "qcom,android-usb"; - reg = <0xfe8078c8 0xc8>; - qcom,android-usb-swfi-latency = <100>; - }; -}; - -&ipa_hw { - qcom,ipa-hw-ver = <2>; /* IPA h-w revision */ -}; - -&hsusb_otg { - qcom,hsusb-l1-supported; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/msm9625-v2.dtsi b/kernel/arch/arm/boot/dts/m7300-un-v1/msm9625-v2.dtsi deleted file mode 100755 index 3eda3f896..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/msm9625-v2.dtsi +++ /dev/null @@ -1,54 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/* - * As a general rule, only version-specific property overrides should be placed - * inside this file. However, device definitions should be placed inside the - * msm9625.dtsi file. - */ - -/include/ "msm9625.dtsi" - -&soc { - qcom,msm-imem@fe807800 { - compatible = "qcom,msm-imem"; - reg = <0xfe807800 0x1000>; /* Address and size of IMEM */ - }; - - android_usb@fe8078c8 { - compatible = "qcom,android-usb"; - reg = <0xfe8078c8 0xc8>; - qcom,android-usb-swfi-latency = <100>; - }; -}; - -&ipa_hw { - qcom,ipa-hw-ver = <2>; /* IPA h-w revision */ -}; - -&hsic_host { - qcom,disable-park-mode; - qcom,phy-susp-sof-workaround; - qcom,phy-reset-sof-workaround; -}; - -&sfpb_spinlock { - status = "disable"; -}; - -&ldrex_spinlock { - status = "ok"; -}; - -&hsusb_otg { - qcom,hsusb-l1-supported; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/msm9625.dtsi b/kernel/arch/arm/boot/dts/m7300-un-v1/msm9625.dtsi deleted file mode 100755 index 71601239b..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/msm9625.dtsi +++ /dev/null @@ -1,875 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/include/ "skeleton.dtsi" - -/ { - model = "Qualcomm MSM 9625"; - compatible = "qcom,msm9625"; - interrupt-parent = <&intc>; - - aliases { - spi0 = &spi_0; - }; - - soc: soc { }; -}; - -/include/ "msm9625-ion.dtsi" -/include/ "msm9625-pm.dtsi" -/include/ "msm9625-coresight.dtsi" -/include/ "msm9625-smp2p.dtsi" - -&soc { - #address-cells = <1>; - #size-cells = <1>; - ranges; - - intc: interrupt-controller@F9000000 { - compatible = "qcom,msm-qgic2"; - interrupt-controller; - #interrupt-cells = <3>; - reg = <0xF9000000 0x1000>, - <0xF9002000 0x1000>; - }; - - l2: cache-controller@f9040000 { - compatible = "arm,pl310-cache"; - reg = <0xf9040000 0x1000>; - cache-unified; - cache-level = <2>; - }; - - msmgpio: gpio@fd510000 { - compatible = "qcom,msm-gpio"; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - reg = <0xfd510000 0x4000>; - ngpio = <76>; - interrupts = <0 208 0>; - qcom,direct-connect-irqs = <8>; - }; - - 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 7 0x4>, - <0 6 0x4>; - reg = <0xf9021000 0x1000>, - <0xf9022000 0x1000>; - }; - - frame@f9023000 { - frame-number = <1>; - interrupts = <0 8 0x4>; - reg = <0xf9023000 0x1000>; - status = "disabled"; - }; - - frame@f9024000 { - frame-number = <2>; - interrupts = <0 9 0x4>; - reg = <0xf9024000 0x1000>; - status = "disabled"; - }; - - frame@f9025000 { - frame-number = <3>; - interrupts = <0 10 0x4>; - reg = <0xf9025000 0x1000>; - status = "disabled"; - }; - - frame@f9026000 { - frame-number = <4>; - interrupts = <0 11 0x4>; - reg = <0xf9026000 0x1000>; - status = "disabled"; - }; - - frame@f9027000 { - frame-number = <5>; - interrupts = <0 12 0x4>; - reg = <0xf9027000 0x1000>; - status = "disabled"; - }; - - frame@f9028000 { - frame-number = <6>; - interrupts = <0 13 0x4>; - reg = <0xf9028000 0x1000>; - status = "disabled"; - }; - - frame@f9029000 { - frame-number = <7>; - interrupts = <0 14 0x4>; - reg = <0xf9029000 0x1000>; - status = "disabled"; - }; - }; - - qcom,sps@f9980000 { - compatible = "qcom,msm_sps"; - reg = <0xf9984000 0x15000>, - <0xf9999000 0xb000>, - <0xfe803000 0x4800>; - interrupts = <0 94 0>; - qcom,device-type = <2>; - }; - - serial@f991f000 { - compatible = "qcom,msm-lsuart-v14"; - reg = <0xf991f000 0x1000>; - interrupts = <0 109 0>; - qcom,msm-bus,name = "blsp1_uart3"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <86 512 0 0>, - <86 512 500 800>; - }; - - hsusb_otg: usb@f9a55000 { - compatible = "qcom,hsusb-otg"; - reg = <0xf9a55000 0x400>; - interrupts = <0 134 0 0 140 0>; - interrupt-names = "core_irq", "async_irq"; - HSUSB_VDDCX-supply = <&pm8019_l12>; - HSUSB_1p8-supply = <&pm8019_l2>; - HSUSB_3p3-supply = <&pm8019_l4>; - vbus_otg-supply = <&usb_vbus>; - - qcom,hsusb-otg-phy-type = <2>; - qcom,hsusb-otg-mode = <1>; - qcom,hsusb-otg-otg-control = <1>; - qcom,hsusb-otg-disable-reset; - qcom,hsusb-otg-delay-lpm-hndshk-on-disconnect; - qcom,hsusb-otg-delay-lpm; - qcom,hsusb-otg-mpm-dpsehv-int = <49>; - - qcom,msm-bus,name = "usb2"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <87 512 0 0>, - <87 512 40000 640000>; - qcom,hsusb-log2-itc = <4>; - }; - - hsic_host: hsic@f9a15000 { - compatible = "qcom,hsic-host"; - reg = <0xf9a15000 0x400>; - interrupts = <0 136 0>, <0 148 0>; - interrupt-names = "core_irq", "async_irq"; - HSIC_VDDCX-supply = <&pm8019_l12>; - HSIC_GDSC-supply = <&gdsc_usb_hsic>; - - qcom,msm-bus,name = "hsic"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <85 512 0 0>, - <85 512 40000 640000>; - qcom,pool-64-bit-align; - qcom,enable-hbm; - hsic,consider-ipa-handshake; - qcom,ahb-async-bridge-bypass; - hsic,disable-cerr; - qcom,disable-internal-clk-gating; - }; - - qcom,usbbam@f9a44000 { - compatible = "qcom,usb-bam-msm"; - reg = <0xf9a44000 0x11000>, - <0xf9a04000 0x11000>; - reg-names = "hsusb", "hsic"; - interrupts = <0 135 0 0 255 0>; - interrupt-names = "hsusb", "hsic"; - qcom,usb-bam-num-pipes = <16>; - qcom,ignore-core-reset-ack; - qcom,disable-clk-gating; - - qcom,pipe0 { - label = "hsusb-ipa-out-0"; - qcom,usb-bam-mem-type = <2>; - qcom,bam-type = <1>; - qcom,dir = <0>; - qcom,pipe-num = <0>; - qcom,peer-bam = <2>; - qcom,src-bam-physical-address = <0xf9a44000>; - qcom,src-bam-pipe-index = <1>; - qcom,data-fifo-size = <0x8000>; - qcom,descriptor-fifo-size = <0x2000>; - qcom,reset-bam-on-connect; - }; - qcom,pipe1 { - label = "hsusb-ipa-in-0"; - qcom,usb-bam-mem-type = <2>; - qcom,bam-type = <1>; - qcom,dir = <1>; - qcom,pipe-num = <0>; - qcom,peer-bam = <2>; - qcom,dst-bam-physical-address = <0xf9a44000>; - qcom,dst-bam-pipe-index = <0>; - qcom,data-fifo-size = <0x8000>; - qcom,descriptor-fifo-size = <0x2000>; - qcom,reset-bam-on-connect; - }; - qcom,pipe2 { - label = "hsusb-qdss-in-0"; - qcom,usb-bam-mem-type = <0>; - qcom,bam-type = <1>; - 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 = <0xf9a44000>; - qcom,dst-bam-pipe-index = <2>; - qcom,data-fifo-offset = <0x4100>; - qcom,data-fifo-size = <0x700>; - qcom,descriptor-fifo-offset = <0x4000>; - qcom,descriptor-fifo-size = <0x100>; - }; - qcom,pipe3 { - label = "hsic-ipa-in-0"; - qcom,usb-bam-mem-type = <2>; - qcom,bam-type = <2>; - qcom,dir = <1>; - qcom,pipe-num = <0>; - qcom,peer-bam = <2>; - qcom,dst-bam-physical-address = <0xf9a04000>; - qcom,dst-bam-pipe-index = <3>; - qcom,data-fifo-size = <0xF800>; - qcom,descriptor-fifo-size = <0x3A58>; - qcom,reset-bam-on-connect; - }; - qcom,pipe4 { - label = "hsic-ipa-in-1"; - qcom,bam-type = <2>; - qcom,dir = <1>; - qcom,pipe-num = <1>; - qcom,peer-bam = <2>; - qcom,usb-bam-mem-type = <2>; - qcom,dst-bam-physical-address = <0xf9a04000>; - qcom,dst-bam-pipe-index = <4>; - qcom,data-fifo-size = <0xF800>; - qcom,descriptor-fifo-size = <0x3A58>; - qcom,reset-bam-on-connect; - }; - qcom,pipe5 { - label = "hsic-ipa-in-2"; - qcom,usb-bam-mem-type = <2>; - qcom,bam-type = <2>; - qcom,dir = <1>; - qcom,pipe-num = <2>; - qcom,peer-bam = <2>; - qcom,dst-bam-physical-address = <0xf9a04000>; - qcom,dst-bam-pipe-index = <5>; - qcom,data-fifo-size = <0xF800>; - qcom,descriptor-fifo-size = <0x3A58>; - qcom,reset-bam-on-connect; - }; - qcom,pipe6 { - label = "hsic-ipa-in-3"; - qcom,usb-bam-mem-type = <2>; - qcom,bam-type = <2>; - qcom,dir = <1>; - qcom,pipe-num = <3>; - qcom,peer-bam = <2>; - qcom,dst-bam-physical-address = <0xf9a04000>; - qcom,dst-bam-pipe-index = <6>; - qcom,data-fifo-size = <0xF800>; - qcom,descriptor-fifo-size = <0x3A58>; - qcom,reset-bam-on-connect; - }; - qcom,pipe7 { - label = "hsic-ipa-out-0"; - qcom,usb-bam-mem-type = <2>; - qcom,bam-type = <2>; - qcom,dir = <0>; - qcom,pipe-num = <0>; - qcom,peer-bam = <2>; - qcom,src-bam-physical-address = <0xf9a04000>; - qcom,src-bam-pipe-index = <7>; - qcom,data-fifo-size = <0xDFE>; - qcom,descriptor-fifo-size = <0xB30>; - qcom,reset-bam-on-connect; - }; - - qcom,pipe8 { - label = "hsusb-ipa-out-1"; - qcom,usb-bam-mem-type = <2>; - qcom,bam-type = <1>; - qcom,dir = <0>; - qcom,pipe-num = <1>; - qcom,peer-bam = <2>; - qcom,src-bam-physical-address = <0xf9a44000>; - qcom,src-bam-pipe-index = <5>; - qcom,data-fifo-size = <0x8000>; - qcom,descriptor-fifo-size = <0x2000>; - qcom,reset-bam-on-connect; - }; - - qcom,pipe9 { - label = "hsusb-ipa-in-1"; - qcom,usb-bam-mem-type = <2>; - qcom,bam-type = <1>; - qcom,dir = <1>; - qcom,pipe-num = <1>; - qcom,peer-bam = <2>; - qcom,dst-bam-physical-address = <0xf9a44000>; - qcom,dst-bam-pipe-index = <4>; - qcom,data-fifo-size = <0x8000>; - qcom,descriptor-fifo-size = <0x2000>; - qcom,reset-bam-on-connect; - }; - - qcom,pipe10 { - label = "hsusb-ipa-out-2"; - qcom,usb-bam-mem-type = <2>; - qcom,bam-type = <1>; - qcom,dir = <0>; - qcom,pipe-num = <2>; - qcom,peer-bam = <2>; - qcom,src-bam-physical-address = <0xf9a44000>; - qcom,src-bam-pipe-index = <7>; - qcom,data-fifo-size = <0x8000>; - qcom,descriptor-fifo-size = <0x2000>; - qcom,reset-bam-on-connect; - }; - - qcom,pipe11 { - label = "hsusb-ipa-in-2"; - qcom,usb-bam-mem-type = <2>; - qcom,bam-type = <1>; - qcom,dir = <1>; - qcom,pipe-num = <2>; - qcom,peer-bam = <2>; - qcom,dst-bam-physical-address = <0xf9a44000>; - qcom,dst-bam-pipe-index = <6>; - qcom,data-fifo-size = <0x8000>; - qcom,descriptor-fifo-size = <0x2000>; - qcom,reset-bam-on-connect; - }; - - qcom,pipe12 { - label = "hsusb-ipa-out-3"; - qcom,usb-bam-mem-type = <2>; - qcom,bam-type = <1>; - qcom,dir = <0>; - qcom,pipe-num = <3>; - qcom,peer-bam = <2>; - qcom,src-bam-physical-address = <0xf9a44000>; - qcom,src-bam-pipe-index = <8>; - qcom,data-fifo-size = <0x8000>; - qcom,descriptor-fifo-size = <0x2000>; - qcom,reset-bam-on-connect; - }; - - qcom,pipe13 { - label = "hsusb-ipa-in-3"; - qcom,usb-bam-mem-type = <2>; - qcom,bam-type = <1>; - qcom,dir = <1>; - qcom,pipe-num = <3>; - qcom,peer-bam = <2>; - qcom,dst-bam-physical-address = <0xf9a44000>; - qcom,dst-bam-pipe-index = <9>; - qcom,data-fifo-size = <0x8000>; - qcom,descriptor-fifo-size = <0x2000>; - qcom,reset-bam-on-connect; - }; - }; - - qcom,nand@f9ac0000 { - compatible = "qcom,msm-nand"; - reg = <0xf9ac0000 0x1000>, - <0xf9ac4000 0x8000>; - reg-names = "nand_phys", - "bam_phys"; - interrupts = <0 247 0>; - interrupt-names = "bam_irq"; - }; - - spi_0: spi@f9924000 { - compatible = "qcom,spi-qup-v2"; - reg = <0xf9924000 0x1000>; - interrupts = <0 96 0>; - spi-max-frequency = <25000000>; - #address-cells = <1>; - #size-cells = <0>; - gpios = <&msmgpio 7 0>, /* CLK */ - <&msmgpio 5 0>, /* MISO */ - <&msmgpio 4 0>; /* MOSI */ - - cs-gpios = <&msmgpio 6 0>; - - }; - - qcom,wdt@f9017000 { - compatible = "qcom,msm-watchdog"; - reg = <0xf9017000 0x1000>; - interrupts = <1 2 0>, <1 1 0>; - qcom,bark-time = <11000>; - qcom,pet-time = <10000>; - }; - - rpm_bus: qcom,rpm-smd { - compatible = "qcom,rpm-smd"; - rpm-channel-name = "rpm_requests"; - rpm-channel-type = <15>; /* SMD_APPS_RPM */ - }; - - spmi_bus: qcom,spmi@fc4c0000 { - cell-index = <0>; - 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-ee = <0>; - qcom,pmic-arb-channel = <0>; - }; - - sdcc2: qcom,sdcc@f98a4000 { - cell-index = <2>; /* SDC2 SD card slot */ - compatible = "qcom,msm-sdcc"; - reg = <0xf98a4000 0x800>, - <0xf98a4800 0x100>, - <0xf9884000 0x7000>; - reg-names = "core_mem", "dml_mem", "bam_mem"; - - vdd-supply = <&ext_2p95v>; - - vdd-io-supply = <&pm8019_l13>; - qcom,vdd-io-always-on; - qcom,vdd-io-lpm-sup; - qcom,vdd-io-voltage-level = <1800000 2950000>; - qcom,vdd-io-current-level = <6 22000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; - qcom,pad-pull-off = <0x0 0x3 0x3>; - qcom,pad-drv-on = <0x4 0x4 0x4>; - qcom,pad-drv-off = <0x0 0x0 0x0>; - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - qcom,sup-voltages = <2950 2950>; - qcom,bus-width = <4>; - qcom,xpc; - qcom,bus-speed-mode = "SDR12", "SDR25", "SDR50", "DDR50", "SDR104"; - qcom,current-limit = <800>; - - interrupt-parent = <&sdcc2>; - #address-cells = <0>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 125 0 - 1 &intc 0 220 0 - 2 &msmgpio 66 0x3>; - interrupt-names = "core_irq", "bam_irq", "status_irq"; - }; - - ipa_hw: qcom,ipa@fd4c0000 { - compatible = "qcom,ipa"; - reg = <0xfd4c0000 0x26000>, - <0xfd4c4000 0x14818>, - <0xfc834000 0x7000>; - reg-names = "ipa-base", "bam-base", "a2-bam-base"; - interrupts = <0 252 0>, - <0 253 0>, - <0 29 1>; - interrupt-names = "ipa-irq", "bam-irq", "a2-bam-irq"; - - qcom,pipe1 { - label = "a2-to-ipa"; - qcom,src-bam-physical-address = <0xfc834000>; - qcom,ipa-bam-mem-type = <0>; - qcom,src-bam-pipe-index = <1>; - qcom,dst-bam-physical-address = <0xfd4c0000>; - qcom,dst-bam-pipe-index = <6>; - qcom,data-fifo-offset = <0x1000>; - qcom,data-fifo-size = <0xd00>; - qcom,descriptor-fifo-offset = <0x1d00>; - qcom,descriptor-fifo-size = <0x300>; - }; - - qcom,pipe2 { - label = "ipa-to-a2"; - qcom,src-bam-physical-address = <0xfd4c0000>; - qcom,ipa-bam-mem-type = <0>; - qcom,src-bam-pipe-index = <7>; - qcom,dst-bam-physical-address = <0xfc834000>; - qcom,dst-bam-pipe-index = <0>; - qcom,data-fifo-offset = <0x00>; - qcom,data-fifo-size = <0xd00>; - qcom,descriptor-fifo-offset = <0xd00>; - qcom,descriptor-fifo-size = <0x300>; - }; - }; - - qcom,acpuclk@f9010000 { - compatible = "qcom,acpuclk-9625"; - reg = <0xf9010008 0x10>, - <0xf9008004 0x4>; - reg-names = "rcg_base", "pwr_base"; - a5_cpu-supply = <&pm8019_l10_corner_ao>; - a5_mem-supply = <&pm8019_l12_ao>; - }; - - gdsc_usb_hsic: qcom,gdsc@fc400404 { - compatible = "qcom,gdsc"; - reg = <0xfc400404 0x4>; - regulator-name = "gdsc_usb_hsic"; - }; - - tsens@fc4a8000 { - compatible = "qcom,msm-tsens"; - reg = <0xfc4a8000 0x2000>, - <0xfc4b8000 0x1000>; - reg-names = "tsens_physical", "tsens_eeprom_physical"; - interrupts = <0 184 0>; - qcom,sensors = <5>; - qcom,slope = <3200 3200 3200 3200 3200>; - qcom,calib-mode = "fuse_map1"; - }; - - qcom,msm-thermal { - compatible = "qcom,msm-thermal"; - qcom,sensor-id = <0>; - qcom,poll-ms = <250>; - qcom,limit-temp = <60>; - qcom,temp-hysteresis = <10>; - qcom,freq-step = <2>; - qcom,freq-control-mask = <0x0>; - qcom,vdd-restriction-temp = <5>; - qcom,vdd-restriction-temp-hysteresis = <10>; - vdd-dig-supply = <&pm8019_l10_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,msm-rng@f9bff000 { - compatible = "qcom,msm-rng"; - reg = <0xf9bff000 0x200>; - qcom,msm-rng-iface-clk; - }; - - i2c@f9925000 { - cell-index = <3>; - compatible = "qcom,i2c-qup"; - reg = <0xf9925000 0x1000>; - #address-cells = <1>; - #size-cells = <0>; - reg-names = "qup_phys_addr"; - interrupts = <0 97 0>; - interrupt-names = "qup_err_intr"; - qcom,i2c-bus-freq = <400000>; - qcom,i2c-src-freq = <19200000>; - }; - - qcom,mss { - compatible = "qcom,pil-q6v5-mss"; - interrupts = <0 24 1>; - qcom,is-not-loadable; - - /* 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>; - }; - - qcom,smem@0 { - compatible = "qcom,smem"; - reg = <0x0 0x100000>, - <0xf9011000 0x1000>, - <0xfc428000 0x4000>; - reg-names = "smem", "irq-reg-base", "aux-mem1"; - - qcom,smd-modem { - compatible = "qcom,smd"; - qcom,smd-edge = <0>; - qcom,smd-irq-offset = <0x8>; - qcom,smd-irq-bitmask = <0x1000>; - qcom,pil-string = "modem"; - interrupts = <0 25 1>; - }; - - qcom,smsm-modem { - compatible = "qcom,smsm"; - qcom,smsm-edge = <0>; - qcom,smsm-irq-offset = <0x8>; - qcom,smsm-irq-bitmask = <0x2000>; - interrupts = <0 26 1>; - }; - - qcom,smd-adsp { - compatible = "qcom,smd"; - qcom,smd-edge = <1>; - qcom,smd-irq-offset = <0x8>; - qcom,smd-irq-bitmask = <0x100>; - qcom,pil-string = "adsp"; - interrupts = <0 156 1>; - }; - - qcom,smsm-adsp { - compatible = "qcom,smsm"; - qcom,smsm-edge = <1>; - qcom,smsm-irq-offset = <0x8>; - qcom,smsm-irq-bitmask = <0x200>; - interrupts = <0 157 1>; - }; - - qcom,smd-rpm { - compatible = "qcom,smd"; - qcom,smd-edge = <15>; - qcom,smd-irq-offset = <0x8>; - qcom,smd-irq-bitmask = <0x1>; - interrupts = <0 168 1>; - qcom,irq-no-suspend; - }; - }; - - qcom,qcedev@fd400000 { - compatible = "qcom,qcedev"; - reg = <0xfd400000 0x20000>, - <0xfd404000 0x8000>; - reg-names = "crypto-base","crypto-bam-base"; - interrupts = <0 207 0>; - qcom,bam-pipe-pair = <1>; - }; - - qcom,qcrypto@fd440000 { - compatible = "qcom,qcrypto"; - reg = <0xfd400000 0x20000>, - <0xfd404000 0x8000>; - reg-names = "crypto-base","crypto-bam-base"; - interrupts = <0 207 0>; - qcom,bam-pipe-pair = <2>; - }; - - jtag_mm: jtagmm@fc332000 { - compatible = "qcom,jtag-mm"; - reg = <0xfc332000 0x1000>, - <0xfc330000 0x1000>; - reg-names = "etm-base","debug-base"; - }; - - qcom,msm-rtb { - compatible = "qcom,msm-rtb"; - qcom,memory-reservation-type = "EBI1"; - qcom,memory-reservation-size = <0x1000>; /* 4K EBI1 buffer */ - }; - - qcom,msm-mem-hole { - compatible = "qcom,msm-mem-hole"; - qcom,memblock-remove = <0x1c00000 0x4c00000>; /* Address and Size of Hole */ - }; - - sfpb_spinlock: qcom,ipc-spinlock@fd484000 { - compatible = "qcom,ipc-spinlock-sfpb"; - reg = <0xfd484000 0x400>; - qcom,num-locks = <8>; - }; - - ldrex_spinlock: qcom,ipc-spinlock@fa00000 { - compatible = "qcom,ipc-spinlock-ldrex"; - reg = <0xfa00000 0x200000>; - status = "disable"; - }; - - cpu-pmu { - compatible = "arm,cortex-a5-pmu"; - qcom,irq-is-percpu; - interrupts = <1 7 0x00>; - }; - - l2-pmu { - compatible = "qcom,l2-pmu"; - interrupts = <0 1 0>; - }; - - /* [houjihai start] gpio keys */ - gpio-keys { - compatible = "gpio-keys"; - autorepeat; - input-name = "gpio-keys"; - key-up { - label = "WPS"; - linux,code = <103>; - gpios = <&msmgpio 14 1>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - key-back { - label = "RESET"; - linux,code = <158>; - gpios = <&msmgpio 15 1>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - }; - /* [houjihai end] */ - -}; - -/include/ "msm-pm8019-rpm-regulator.dtsi" -/include/ "msm-pm8019.dtsi" -/include/ "msm9625-regulator.dtsi" - -&pm8019_vadc { - chan@31 { - label = "batt_id_therm"; - reg = <0x31>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - /* [linyunfeng] Detect battery voltage */ - chan@11 { - label = "vbat"; - reg = <0x11>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@33 { - label = "pa_therm0"; - reg = <0x33>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@34 { - label = "pa_therm1"; - reg = <0x34>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@32 { - label = "xo_therm"; - reg = <0x32>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <4>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@3c { - label = "xo_therm_amux"; - reg = <0x3c>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <4>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@13 { - label = "case_therm"; - reg = <0x13>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@15 { - label = "ambient_therm"; - reg = <0x15>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; -}; - -&pm8019_adc_tm { - /* Channel Node */ - chan@33 { - label = "pa_therm0"; - reg = <0x33>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - qcom,btm-channel-number = <0x48>; - qcom,thermal-node; - }; - - chan@34 { - label = "pa_therm1"; - reg = <0x34>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - qcom,btm-channel-number = <0x68>; - qcom,thermal-node; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/msmkrypton-sim.dts b/kernel/arch/arm/boot/dts/m7300-un-v1/msmkrypton-sim.dts deleted file mode 100755 index 1872a36b9..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/msmkrypton-sim.dts +++ /dev/null @@ -1,25 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; - -/include/ "msmkrypton.dtsi" - -/ { - model = "Qualcomm MSM KRYPTON SIM"; - compatible = "qcom,msmkrypton-sim", "qcom,msmkrypton", "qcom,sim"; - qcom,msm-id = <187 16 0>; -}; - -&uartdm3{ - status = "ok"; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/msmkrypton.dtsi b/kernel/arch/arm/boot/dts/m7300-un-v1/msmkrypton.dtsi deleted file mode 100755 index 4b032d86d..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/msmkrypton.dtsi +++ /dev/null @@ -1,120 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/include/ "skeleton.dtsi" - -/ { - model = "Qualcomm MSM KRYPTON"; - compatible = "qcom,msmkrypton"; - interrupt-parent = <&intc>; - - soc: soc { }; -}; - -&soc { - #address-cells = <1>; - #size-cells = <1>; - ranges; - - intc: interrupt-controller@f9000000 { - compatible = "qcom,msm-qgic2"; - interrupt-controller; - #interrupt-cells = <3>; - reg = <0xf9000000 0x1000>, - <0xf9002000 0x1000>; - }; - - msmgpio: gpio@fd510000 { - compatible = "qcom,msm-gpio"; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - reg = <0xfd510000 0x4000>; - ngpio = <89>; - interrupts = <0 208 0>; - qcom,direct-connect-irqs = <8>; - }; - - 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 7 0x4>, - <0 6 0x4>; - reg = <0xf9021000 0x1000>, - <0xf9022000 0x1000>; - }; - - frame@f9023000 { - frame-number = <1>; - interrupts = <0 8 0x4>; - reg = <0xf9023000 0x1000>; - status = "disabled"; - }; - - frame@f9024000 { - frame-number = <2>; - interrupts = <0 9 0x4>; - reg = <0xf9024000 0x1000>; - status = "disabled"; - }; - - frame@f9025000 { - frame-number = <3>; - interrupts = <0 10 0x4>; - reg = <0xf9025000 0x1000>; - status = "disabled"; - }; - - frame@f9026000 { - frame-number = <4>; - interrupts = <0 11 0x4>; - reg = <0xf9026000 0x1000>; - status = "disabled"; - }; - - frame@f9027000 { - frame-number = <5>; - interrupts = <0 12 0x4>; - reg = <0xf9027000 0x1000>; - status = "disabled"; - }; - - frame@f9028000 { - frame-number = <6>; - interrupts = <0 13 0x4>; - reg = <0xf9028000 0x1000>; - status = "disabled"; - }; - - frame@f9029000 { - frame-number = <7>; - interrupts = <0 14 0x4>; - reg = <0xf9029000 0x1000>; - status = "disabled"; - }; - }; - - uartdm3: serial@f991f000 { - compatible = "qcom,msm-lsuart-v14"; - reg = <0xf991f000 0x1000>; - interrupts = <0 109 0>; - status = "disabled"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/msmsamarium-ion.dtsi b/kernel/arch/arm/boot/dts/m7300-un-v1/msmsamarium-ion.dtsi deleted file mode 100755 index ea954b89c..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/msmsamarium-ion.dtsi +++ /dev/null @@ -1,31 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -&soc { - qcom,ion { - compatible = "qcom,msm-ion"; - #address-cells = <1>; - #size-cells = <0>; - - qcom,ion-heap@30 { /* SYSTEM HEAP */ - reg = <30>; - }; - - qcom,ion-heap@21 { /* SYSTEM CONTIG HEAP */ - reg = <21>; - }; - - qcom,ion-heap@25 { /* IOMMU HEAP */ - reg = <25>; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/msmsamarium-rumi.dts b/kernel/arch/arm/boot/dts/m7300-un-v1/msmsamarium-rumi.dts deleted file mode 100755 index 9a679a4fd..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/msmsamarium-rumi.dts +++ /dev/null @@ -1,25 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; - -/include/ "msmsamarium.dtsi" - -/ { - model = "Qualcomm MSM SAMARIUM RUMI"; - compatible = "qcom,msmsamarium-rumi", "qcom,msmsamarium", "qcom,rumi"; - qcom,msm-id = <195 0 0>; -}; - -&uartblsp0dm2{ - status = "ok"; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/msmsamarium-sim.dts b/kernel/arch/arm/boot/dts/m7300-un-v1/msmsamarium-sim.dts deleted file mode 100755 index 4acffae18..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/msmsamarium-sim.dts +++ /dev/null @@ -1,55 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; - -/include/ "msmsamarium.dtsi" - -/ { - model = "Qualcomm MSM SAMARIUM SIM"; - compatible = "qcom,msmsamarium-sim", "qcom,msmsamarium", "qcom,sim"; - qcom,msm-id = <195 0 0>; -}; - -&uartblsp0dm2{ - status = "ok"; -}; - -&sdcc1 { - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - qcom,sup-voltages = <2950 2950>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,bus-speed-mode = "HS200_1p8v", "DDR_1p8v"; - qcom,nonremovable; - status = "ok"; -}; - -&sdcc2 { - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - qcom,sup-voltages = <2950 2950>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,xpc; - qcom,bus-speed-mode = "SDR12", "SDR25", "SDR50", "DDR50", "SDR104"; - qcom,current-limit = <800>; - - status = "ok"; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/msmsamarium.dtsi b/kernel/arch/arm/boot/dts/m7300-un-v1/msmsamarium.dtsi deleted file mode 100755 index 81699b689..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/msmsamarium.dtsi +++ /dev/null @@ -1,90 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/include/ "skeleton.dtsi" - -/ { - model = "Qualcomm MSM SAMARIUM"; - compatible = "qcom,msmsamarium"; - interrupt-parent = <&intc>; - soc: soc { }; -}; - -/include/ "msmsamarium-ion.dtsi" - -&soc { - #address-cells = <1>; - #size-cells = <1>; - ranges; - - intc: interrupt-controller@f9000000 { - compatible = "qcom,msm-qgic2"; - interrupt-controller; - #interrupt-cells = <3>; - reg = <0xf9000000 0x1000>, - <0xf9002000 0x1000>; - }; - - msmgpio: gpio@fd510000 { - compatible = "qcom,msm-gpio"; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - reg = <0xfd510000 0x4000>; - ngpio = <145>; - interrupts = <0 208 0>; - qcom,direct-connect-irqs = <8>; - }; - - timer { - compatible = "arm,armv7-timer"; - interrupts = <1 2 0 1 3 0>; - clock-frequency = <19200000>; - }; - - uartblsp0dm2: serial@f991f000 { - compatible = "qcom,msm-lsuart-v14"; - reg = <0xf991f000 0x1000>; - interrupts = <0 109 0>; - status = "disabled"; - }; - - qcom,msm-imem@fe805000 { - compatible = "qcom,msm-imem"; - reg = <0xfe805000 0x1000>; /* Address and size of IMEM */ - }; - - sdcc1: qcom,sdcc@f9824000 { - cell-index = <1>; /* SDC1 eMMC slot */ - compatible = "qcom,msm-sdcc"; - reg = <0xf9824000 0x800>; - reg-names = "core_mem"; - interrupts = <0 123 0>; - interrupt-names = "core_irq"; - - qcom,bus-width = <8>; - status = "disabled"; - }; - - sdcc2: qcom,sdcc@f98a4000 { - cell-index = <2>; /* SDC2 SD card slot */ - compatible = "qcom,msm-sdcc"; - reg = <0xf98a4000 0x800>; - reg-names = "core_mem"; - interrupts = <0 125 0>; - interrupt-names = "core_irq"; - - qcom,bus-width = <4>; - status = "disabled"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/omap2.dtsi b/kernel/arch/arm/boot/dts/m7300-un-v1/omap2.dtsi deleted file mode 100755 index f2ab4ea7c..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/omap2.dtsi +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Device Tree Source for OMAP2 SoC - * - * Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/ - * - * This file is licensed under the terms of the GNU General Public License - * version 2. This program is licensed "as is" without any warranty of any - * kind, whether express or implied. - */ - -/include/ "skeleton.dtsi" - -/ { - compatible = "ti,omap2430", "ti,omap2420", "ti,omap2"; - - aliases { - serial0 = &uart1; - serial1 = &uart2; - serial2 = &uart3; - }; - - cpus { - cpu@0 { - compatible = "arm,arm1136jf-s"; - }; - }; - - soc { - compatible = "ti,omap-infra"; - mpu { - compatible = "ti,omap2-mpu"; - ti,hwmods = "mpu"; - }; - }; - - ocp { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - ti,hwmods = "l3_main"; - - intc: interrupt-controller@1 { - compatible = "ti,omap2-intc"; - interrupt-controller; - #interrupt-cells = <1>; - }; - - uart1: serial@4806a000 { - compatible = "ti,omap2-uart"; - ti,hwmods = "uart1"; - clock-frequency = <48000000>; - }; - - uart2: serial@4806c000 { - compatible = "ti,omap2-uart"; - ti,hwmods = "uart2"; - clock-frequency = <48000000>; - }; - - uart3: serial@4806e000 { - compatible = "ti,omap2-uart"; - ti,hwmods = "uart3"; - clock-frequency = <48000000>; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/omap3-beagle.dts b/kernel/arch/arm/boot/dts/m7300-un-v1/omap3-beagle.dts deleted file mode 100755 index 9f72cd4cf..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/omap3-beagle.dts +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/ - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. - */ -/dts-v1/; - -/include/ "omap3.dtsi" - -/ { - model = "TI OMAP3 BeagleBoard"; - compatible = "ti,omap3-beagle", "ti,omap3"; - - memory { - device_type = "memory"; - reg = <0x80000000 0x20000000>; /* 512 MB */ - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/omap3-evm.dts b/kernel/arch/arm/boot/dts/m7300-un-v1/omap3-evm.dts deleted file mode 100755 index 2eee16ec5..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/omap3-evm.dts +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/ - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. - */ -/dts-v1/; - -/include/ "omap3.dtsi" - -/ { - model = "TI OMAP3 EVM (OMAP3530, AM/DM37x)"; - compatible = "ti,omap3-evm", "ti,omap3"; - - memory { - device_type = "memory"; - reg = <0x80000000 0x10000000>; /* 256 MB */ - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/omap3.dtsi b/kernel/arch/arm/boot/dts/m7300-un-v1/omap3.dtsi deleted file mode 100755 index c6121357c..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/omap3.dtsi +++ /dev/null @@ -1,117 +0,0 @@ -/* - * Device Tree Source for OMAP3 SoC - * - * Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/ - * - * This file is licensed under the terms of the GNU General Public License - * version 2. This program is licensed "as is" without any warranty of any - * kind, whether express or implied. - */ - -/include/ "skeleton.dtsi" - -/ { - compatible = "ti,omap3430", "ti,omap3"; - - aliases { - serial0 = &uart1; - serial1 = &uart2; - serial2 = &uart3; - serial3 = &uart4; - }; - - cpus { - cpu@0 { - compatible = "arm,cortex-a8"; - }; - }; - - /* - * The soc node represents the soc top level view. It is uses for IPs - * that are not memory mapped in the MPU view or for the MPU itself. - */ - soc { - compatible = "ti,omap-infra"; - mpu { - compatible = "ti,omap3-mpu"; - ti,hwmods = "mpu"; - }; - - iva { - compatible = "ti,iva2.2"; - ti,hwmods = "iva"; - - dsp { - compatible = "ti,omap3-c64"; - }; - }; - }; - - /* - * XXX: Use a flat representation of the OMAP3 interconnect. - * The real OMAP interconnect network is quite complex. - * Since that will not bring real advantage to represent that in DT for - * the moment, just use a fake OCP bus entry to represent the whole bus - * hierarchy. - */ - ocp { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - ti,hwmods = "l3_main"; - - intc: interrupt-controller@48200000 { - compatible = "ti,omap2-intc"; - interrupt-controller; - #interrupt-cells = <1>; - ti,intc-size = <96>; - reg = <0x48200000 0x1000>; - }; - - uart1: serial@4806a000 { - compatible = "ti,omap3-uart"; - ti,hwmods = "uart1"; - clock-frequency = <48000000>; - }; - - uart2: serial@4806c000 { - compatible = "ti,omap3-uart"; - ti,hwmods = "uart2"; - clock-frequency = <48000000>; - }; - - uart3: serial@49020000 { - compatible = "ti,omap3-uart"; - ti,hwmods = "uart3"; - clock-frequency = <48000000>; - }; - - uart4: serial@49042000 { - compatible = "ti,omap3-uart"; - ti,hwmods = "uart4"; - clock-frequency = <48000000>; - }; - - i2c1: i2c@48070000 { - compatible = "ti,omap3-i2c"; - #address-cells = <1>; - #size-cells = <0>; - ti,hwmods = "i2c1"; - }; - - i2c2: i2c@48072000 { - compatible = "ti,omap3-i2c"; - #address-cells = <1>; - #size-cells = <0>; - ti,hwmods = "i2c2"; - }; - - i2c3: i2c@48060000 { - compatible = "ti,omap3-i2c"; - #address-cells = <1>; - #size-cells = <0>; - ti,hwmods = "i2c3"; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/omap4-panda.dts b/kernel/arch/arm/boot/dts/m7300-un-v1/omap4-panda.dts deleted file mode 100755 index 9755ad591..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/omap4-panda.dts +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/ - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. - */ -/dts-v1/; - -/include/ "omap4.dtsi" - -/ { - model = "TI OMAP4 PandaBoard"; - compatible = "ti,omap4-panda", "ti,omap4430", "ti,omap4"; - - memory { - device_type = "memory"; - reg = <0x80000000 0x40000000>; /* 1 GB */ - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/omap4-sdp.dts b/kernel/arch/arm/boot/dts/m7300-un-v1/omap4-sdp.dts deleted file mode 100755 index 63c6b2b2b..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/omap4-sdp.dts +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/ - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. - */ -/dts-v1/; - -/include/ "omap4.dtsi" - -/ { - model = "TI OMAP4 SDP board"; - compatible = "ti,omap4-sdp", "ti,omap4430", "ti,omap4"; - - memory { - device_type = "memory"; - reg = <0x80000000 0x40000000>; /* 1 GB */ - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/omap4.dtsi b/kernel/arch/arm/boot/dts/m7300-un-v1/omap4.dtsi deleted file mode 100755 index 3d35559e7..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/omap4.dtsi +++ /dev/null @@ -1,159 +0,0 @@ -/* - * Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/ - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. - */ - -/* - * Carveout for multimedia usecases - * It should be the last 48MB of the first 512MB memory part - * In theory, it should not even exist. That zone should be reserved - * dynamically during the .reserve callback. - */ -/memreserve/ 0x9d000000 0x03000000; - -/include/ "skeleton.dtsi" - -/ { - compatible = "ti,omap4430", "ti,omap4"; - interrupt-parent = <&gic>; - - aliases { - serial0 = &uart1; - serial1 = &uart2; - serial2 = &uart3; - serial3 = &uart4; - }; - - cpus { - cpu@0 { - compatible = "arm,cortex-a9"; - }; - cpu@1 { - compatible = "arm,cortex-a9"; - }; - }; - - /* - * The soc node represents the soc top level view. It is uses for IPs - * that are not memory mapped in the MPU view or for the MPU itself. - */ - soc { - compatible = "ti,omap-infra"; - mpu { - compatible = "ti,omap4-mpu"; - ti,hwmods = "mpu"; - }; - - dsp { - compatible = "ti,omap3-c64"; - ti,hwmods = "dsp"; - }; - - iva { - compatible = "ti,ivahd"; - ti,hwmods = "iva"; - }; - }; - - /* - * XXX: Use a flat representation of the OMAP4 interconnect. - * The real OMAP interconnect network is quite complex. - * - * MPU -+-- MPU_PRIVATE - GIC, L2 - * | - * +----------------+----------+ - * | | | - * + +- EMIF - DDR | - * | | | - * | + +--------+ - * | | | - * | +- L4_ABE - AESS, MCBSP, TIMERs... - * | | - * +- L3_MAIN --+- L4_CORE - IPs... - * | - * +- L4_PER - IPs... - * | - * +- L4_CFG -+- L4_WKUP - IPs... - * | | - * | +- IPs... - * +- IPU ----+ - * | | - * +- DSP ----+ - * | | - * +- DSS ----+ - * - * Since that will not bring real advantage to represent that in DT for - * the moment, just use a fake OCP bus entry to represent the whole bus - * hierarchy. - */ - ocp { - compatible = "ti,omap4-l3-noc", "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - ti,hwmods = "l3_main_1", "l3_main_2", "l3_main_3"; - - gic: interrupt-controller@48241000 { - compatible = "arm,cortex-a9-gic"; - interrupt-controller; - #interrupt-cells = <3>; - reg = <0x48241000 0x1000>, - <0x48240100 0x0100>; - }; - - uart1: serial@4806a000 { - compatible = "ti,omap4-uart"; - ti,hwmods = "uart1"; - clock-frequency = <48000000>; - }; - - uart2: serial@4806c000 { - compatible = "ti,omap4-uart"; - ti,hwmods = "uart2"; - clock-frequency = <48000000>; - }; - - uart3: serial@48020000 { - compatible = "ti,omap4-uart"; - ti,hwmods = "uart3"; - clock-frequency = <48000000>; - }; - - uart4: serial@4806e000 { - compatible = "ti,omap4-uart"; - ti,hwmods = "uart4"; - clock-frequency = <48000000>; - }; - - i2c1: i2c@48070000 { - compatible = "ti,omap4-i2c"; - #address-cells = <1>; - #size-cells = <0>; - ti,hwmods = "i2c1"; - }; - - i2c2: i2c@48072000 { - compatible = "ti,omap4-i2c"; - #address-cells = <1>; - #size-cells = <0>; - ti,hwmods = "i2c2"; - }; - - i2c3: i2c@48060000 { - compatible = "ti,omap4-i2c"; - #address-cells = <1>; - #size-cells = <0>; - ti,hwmods = "i2c3"; - }; - - i2c4: i2c@48350000 { - compatible = "ti,omap4-i2c"; - #address-cells = <1>; - #size-cells = <0>; - ti,hwmods = "i2c4"; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/picoxcell-pc3x2.dtsi b/kernel/arch/arm/boot/dts/m7300-un-v1/picoxcell-pc3x2.dtsi deleted file mode 100755 index f0a8c2068..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/picoxcell-pc3x2.dtsi +++ /dev/null @@ -1,249 +0,0 @@ -/* - * Copyright (C) 2011 Picochip, Jamie Iles - * - * This software is licensed under the terms of the GNU General Public - * License version 2, as published by the Free Software Foundation, and - * may be copied, distributed, and modified under those terms. - * - * 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. - */ -/include/ "skeleton.dtsi" -/ { - model = "Picochip picoXcell PC3X2"; - compatible = "picochip,pc3x2"; - #address-cells = <1>; - #size-cells = <1>; - - cpus { - #address-cells = <1>; - #size-cells = <0>; - - cpu@0 { - compatible = "arm,1176jz-s"; - clock-frequency = <400000000>; - reg = <0>; - d-cache-line-size = <32>; - d-cache-size = <32768>; - i-cache-line-size = <32>; - i-cache-size = <32768>; - }; - }; - - clocks { - #address-cells = <1>; - #size-cells = <1>; - ranges; - - pclk: clock@0 { - compatible = "fixed-clock"; - clock-outputs = "bus", "pclk"; - clock-frequency = <200000000>; - ref-clock = <&ref_clk>, "ref"; - }; - }; - - paxi { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0 0x80000000 0x400000>; - - emac: gem@30000 { - compatible = "cadence,gem"; - reg = <0x30000 0x10000>; - interrupts = <31>; - }; - - dmac1: dmac@40000 { - compatible = "snps,dw-dmac"; - reg = <0x40000 0x10000>; - interrupts = <25>; - }; - - dmac2: dmac@50000 { - compatible = "snps,dw-dmac"; - reg = <0x50000 0x10000>; - interrupts = <26>; - }; - - vic0: interrupt-controller@60000 { - compatible = "arm,pl192-vic"; - interrupt-controller; - reg = <0x60000 0x1000>; - #interrupt-cells = <1>; - }; - - vic1: interrupt-controller@64000 { - compatible = "arm,pl192-vic"; - interrupt-controller; - reg = <0x64000 0x1000>; - #interrupt-cells = <1>; - }; - - fuse: picoxcell-fuse@80000 { - compatible = "picoxcell,fuse-pc3x2"; - reg = <0x80000 0x10000>; - }; - - ssi: picoxcell-spi@90000 { - compatible = "picoxcell,spi"; - reg = <0x90000 0x10000>; - interrupt-parent = <&vic0>; - interrupts = <10>; - }; - - ipsec: spacc@100000 { - compatible = "picochip,spacc-ipsec"; - reg = <0x100000 0x10000>; - interrupt-parent = <&vic0>; - interrupts = <24>; - ref-clock = <&pclk>, "ref"; - }; - - srtp: spacc@140000 { - compatible = "picochip,spacc-srtp"; - reg = <0x140000 0x10000>; - interrupt-parent = <&vic0>; - interrupts = <23>; - }; - - l2_engine: spacc@180000 { - compatible = "picochip,spacc-l2"; - reg = <0x180000 0x10000>; - interrupt-parent = <&vic0>; - interrupts = <22>; - ref-clock = <&pclk>, "ref"; - }; - - apb { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0 0x200000 0x80000>; - - rtc0: rtc@00000 { - compatible = "picochip,pc3x2-rtc"; - clock-freq = <200000000>; - reg = <0x00000 0xf>; - interrupt-parent = <&vic1>; - interrupts = <8>; - }; - - timer0: timer@10000 { - compatible = "picochip,pc3x2-timer"; - interrupt-parent = <&vic0>; - interrupts = <4>; - clock-freq = <200000000>; - reg = <0x10000 0x14>; - }; - - timer1: timer@10014 { - compatible = "picochip,pc3x2-timer"; - interrupt-parent = <&vic0>; - interrupts = <5>; - clock-freq = <200000000>; - reg = <0x10014 0x14>; - }; - - timer2: timer@10028 { - compatible = "picochip,pc3x2-timer"; - interrupt-parent = <&vic0>; - interrupts = <6>; - clock-freq = <200000000>; - reg = <0x10028 0x14>; - }; - - timer3: timer@1003c { - compatible = "picochip,pc3x2-timer"; - interrupt-parent = <&vic0>; - interrupts = <7>; - clock-freq = <200000000>; - reg = <0x1003c 0x14>; - }; - - gpio: gpio@20000 { - compatible = "snps,dw-apb-gpio"; - reg = <0x20000 0x1000>; - #address-cells = <1>; - #size-cells = <0>; - reg-io-width = <4>; - - banka: gpio-controller@0 { - compatible = "snps,dw-apb-gpio-bank"; - gpio-controller; - #gpio-cells = <2>; - gpio-generic,nr-gpio = <8>; - - regoffset-dat = <0x50>; - regoffset-set = <0x00>; - regoffset-dirout = <0x04>; - }; - - bankb: gpio-controller@1 { - compatible = "snps,dw-apb-gpio-bank"; - gpio-controller; - #gpio-cells = <2>; - gpio-generic,nr-gpio = <8>; - - regoffset-dat = <0x54>; - regoffset-set = <0x0c>; - regoffset-dirout = <0x10>; - }; - }; - - uart0: uart@30000 { - compatible = "snps,dw-apb-uart"; - reg = <0x30000 0x1000>; - interrupt-parent = <&vic1>; - interrupts = <10>; - clock-frequency = <3686400>; - reg-shift = <2>; - reg-io-width = <4>; - }; - - uart1: uart@40000 { - compatible = "snps,dw-apb-uart"; - reg = <0x40000 0x1000>; - interrupt-parent = <&vic1>; - interrupts = <9>; - clock-frequency = <3686400>; - reg-shift = <2>; - reg-io-width = <4>; - }; - - wdog: watchdog@50000 { - compatible = "snps,dw-apb-wdg"; - reg = <0x50000 0x10000>; - interrupt-parent = <&vic0>; - interrupts = <11>; - bus-clock = <&pclk>, "bus"; - }; - }; - }; - - rwid-axi { - #address-cells = <1>; - #size-cells = <1>; - compatible = "simple-bus"; - ranges; - - ebi@50000000 { - compatible = "simple-bus"; - #address-cells = <2>; - #size-cells = <1>; - ranges = <0 0 0x40000000 0x08000000 - 1 0 0x48000000 0x08000000 - 2 0 0x50000000 0x08000000 - 3 0 0x58000000 0x08000000>; - }; - - axi2pico@c0000000 { - compatible = "picochip,axi2pico-pc3x2"; - reg = <0xc0000000 0x10000>; - interrupts = <13 14 15 16 17 18 19 20 21>; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/picoxcell-pc3x3.dtsi b/kernel/arch/arm/boot/dts/m7300-un-v1/picoxcell-pc3x3.dtsi deleted file mode 100755 index daa962d19..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/picoxcell-pc3x3.dtsi +++ /dev/null @@ -1,365 +0,0 @@ -/* - * Copyright (C) 2011 Picochip, Jamie Iles - * - * This software is licensed under the terms of the GNU General Public - * License version 2, as published by the Free Software Foundation, and - * may be copied, distributed, and modified under those terms. - * - * 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. - */ -/include/ "skeleton.dtsi" -/ { - model = "Picochip picoXcell PC3X3"; - compatible = "picochip,pc3x3"; - #address-cells = <1>; - #size-cells = <1>; - - cpus { - #address-cells = <1>; - #size-cells = <0>; - - cpu@0 { - compatible = "arm,1176jz-s"; - cpu-clock = <&arm_clk>, "cpu"; - reg = <0>; - d-cache-line-size = <32>; - d-cache-size = <32768>; - i-cache-line-size = <32>; - i-cache-size = <32768>; - }; - }; - - clocks { - #address-cells = <1>; - #size-cells = <1>; - ranges; - - clkgate: clkgate@800a0048 { - #address-cells = <1>; - #size-cells = <0>; - reg = <0x800a0048 4>; - compatible = "picochip,pc3x3-clk-gate"; - - tzprot_clk: clock@0 { - compatible = "picochip,pc3x3-gated-clk"; - clock-outputs = "bus"; - picochip,clk-disable-bit = <0>; - clock-frequency = <200000000>; - ref-clock = <&ref_clk>, "ref"; - }; - - spi_clk: clock@1 { - compatible = "picochip,pc3x3-gated-clk"; - clock-outputs = "bus"; - picochip,clk-disable-bit = <1>; - clock-frequency = <200000000>; - ref-clock = <&ref_clk>, "ref"; - }; - - dmac0_clk: clock@2 { - compatible = "picochip,pc3x3-gated-clk"; - clock-outputs = "bus"; - picochip,clk-disable-bit = <2>; - clock-frequency = <200000000>; - ref-clock = <&ref_clk>, "ref"; - }; - - dmac1_clk: clock@3 { - compatible = "picochip,pc3x3-gated-clk"; - clock-outputs = "bus"; - picochip,clk-disable-bit = <3>; - clock-frequency = <200000000>; - ref-clock = <&ref_clk>, "ref"; - }; - - ebi_clk: clock@4 { - compatible = "picochip,pc3x3-gated-clk"; - clock-outputs = "bus"; - picochip,clk-disable-bit = <4>; - clock-frequency = <200000000>; - ref-clock = <&ref_clk>, "ref"; - }; - - ipsec_clk: clock@5 { - compatible = "picochip,pc3x3-gated-clk"; - clock-outputs = "bus"; - picochip,clk-disable-bit = <5>; - clock-frequency = <200000000>; - ref-clock = <&ref_clk>, "ref"; - }; - - l2_clk: clock@6 { - compatible = "picochip,pc3x3-gated-clk"; - clock-outputs = "bus"; - picochip,clk-disable-bit = <6>; - clock-frequency = <200000000>; - ref-clock = <&ref_clk>, "ref"; - }; - - trng_clk: clock@7 { - compatible = "picochip,pc3x3-gated-clk"; - clock-outputs = "bus"; - picochip,clk-disable-bit = <7>; - clock-frequency = <200000000>; - ref-clock = <&ref_clk>, "ref"; - }; - - fuse_clk: clock@8 { - compatible = "picochip,pc3x3-gated-clk"; - clock-outputs = "bus"; - picochip,clk-disable-bit = <8>; - clock-frequency = <200000000>; - ref-clock = <&ref_clk>, "ref"; - }; - - otp_clk: clock@9 { - compatible = "picochip,pc3x3-gated-clk"; - clock-outputs = "bus"; - picochip,clk-disable-bit = <9>; - clock-frequency = <200000000>; - ref-clock = <&ref_clk>, "ref"; - }; - }; - - arm_clk: clock@11 { - compatible = "picochip,pc3x3-pll"; - reg = <0x800a0050 0x8>; - picochip,min-freq = <140000000>; - picochip,max-freq = <700000000>; - ref-clock = <&ref_clk>, "ref"; - clock-outputs = "cpu"; - }; - - pclk: clock@12 { - compatible = "fixed-clock"; - clock-outputs = "bus", "pclk"; - clock-frequency = <200000000>; - ref-clock = <&ref_clk>, "ref"; - }; - }; - - paxi { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0 0x80000000 0x400000>; - - emac: gem@30000 { - compatible = "cadence,gem"; - reg = <0x30000 0x10000>; - interrupt-parent = <&vic0>; - interrupts = <31>; - }; - - dmac1: dmac@40000 { - compatible = "snps,dw-dmac"; - reg = <0x40000 0x10000>; - interrupt-parent = <&vic0>; - interrupts = <25>; - }; - - dmac2: dmac@50000 { - compatible = "snps,dw-dmac"; - reg = <0x50000 0x10000>; - interrupt-parent = <&vic0>; - interrupts = <26>; - }; - - vic0: interrupt-controller@60000 { - compatible = "arm,pl192-vic"; - interrupt-controller; - reg = <0x60000 0x1000>; - #interrupt-cells = <1>; - }; - - vic1: interrupt-controller@64000 { - compatible = "arm,pl192-vic"; - interrupt-controller; - reg = <0x64000 0x1000>; - #interrupt-cells = <1>; - }; - - fuse: picoxcell-fuse@80000 { - compatible = "picoxcell,fuse-pc3x3"; - reg = <0x80000 0x10000>; - }; - - ssi: picoxcell-spi@90000 { - compatible = "picoxcell,spi"; - reg = <0x90000 0x10000>; - interrupt-parent = <&vic0>; - interrupts = <10>; - }; - - ipsec: spacc@100000 { - compatible = "picochip,spacc-ipsec"; - reg = <0x100000 0x10000>; - interrupt-parent = <&vic0>; - interrupts = <24>; - ref-clock = <&ipsec_clk>, "ref"; - }; - - srtp: spacc@140000 { - compatible = "picochip,spacc-srtp"; - reg = <0x140000 0x10000>; - interrupt-parent = <&vic0>; - interrupts = <23>; - }; - - l2_engine: spacc@180000 { - compatible = "picochip,spacc-l2"; - reg = <0x180000 0x10000>; - interrupt-parent = <&vic0>; - interrupts = <22>; - ref-clock = <&l2_clk>, "ref"; - }; - - apb { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0 0x200000 0x80000>; - - rtc0: rtc@00000 { - compatible = "picochip,pc3x2-rtc"; - clock-freq = <200000000>; - reg = <0x00000 0xf>; - interrupt-parent = <&vic0>; - interrupts = <8>; - }; - - timer0: timer@10000 { - compatible = "picochip,pc3x2-timer"; - interrupt-parent = <&vic0>; - interrupts = <4>; - clock-freq = <200000000>; - reg = <0x10000 0x14>; - }; - - timer1: timer@10014 { - compatible = "picochip,pc3x2-timer"; - interrupt-parent = <&vic0>; - interrupts = <5>; - clock-freq = <200000000>; - reg = <0x10014 0x14>; - }; - - gpio: gpio@20000 { - compatible = "snps,dw-apb-gpio"; - reg = <0x20000 0x1000>; - #address-cells = <1>; - #size-cells = <0>; - reg-io-width = <4>; - - banka: gpio-controller@0 { - compatible = "snps,dw-apb-gpio-bank"; - gpio-controller; - #gpio-cells = <2>; - gpio-generic,nr-gpio = <8>; - - regoffset-dat = <0x50>; - regoffset-set = <0x00>; - regoffset-dirout = <0x04>; - }; - - bankb: gpio-controller@1 { - compatible = "snps,dw-apb-gpio-bank"; - gpio-controller; - #gpio-cells = <2>; - gpio-generic,nr-gpio = <16>; - - regoffset-dat = <0x54>; - regoffset-set = <0x0c>; - regoffset-dirout = <0x10>; - }; - - bankd: gpio-controller@2 { - compatible = "snps,dw-apb-gpio-bank"; - gpio-controller; - #gpio-cells = <2>; - gpio-generic,nr-gpio = <30>; - - regoffset-dat = <0x5c>; - regoffset-set = <0x24>; - regoffset-dirout = <0x28>; - }; - }; - - uart0: uart@30000 { - compatible = "snps,dw-apb-uart"; - reg = <0x30000 0x1000>; - interrupt-parent = <&vic1>; - interrupts = <10>; - clock-frequency = <3686400>; - reg-shift = <2>; - reg-io-width = <4>; - }; - - uart1: uart@40000 { - compatible = "snps,dw-apb-uart"; - reg = <0x40000 0x1000>; - interrupt-parent = <&vic1>; - interrupts = <9>; - clock-frequency = <3686400>; - reg-shift = <2>; - reg-io-width = <4>; - }; - - wdog: watchdog@50000 { - compatible = "snps,dw-apb-wdg"; - reg = <0x50000 0x10000>; - interrupt-parent = <&vic0>; - interrupts = <11>; - bus-clock = <&pclk>, "bus"; - }; - - timer2: timer@60000 { - compatible = "picochip,pc3x2-timer"; - interrupt-parent = <&vic0>; - interrupts = <6>; - clock-freq = <200000000>; - reg = <0x60000 0x14>; - }; - - timer3: timer@60014 { - compatible = "picochip,pc3x2-timer"; - interrupt-parent = <&vic0>; - interrupts = <7>; - clock-freq = <200000000>; - reg = <0x60014 0x14>; - }; - }; - }; - - rwid-axi { - #address-cells = <1>; - #size-cells = <1>; - compatible = "simple-bus"; - ranges; - - ebi@50000000 { - compatible = "simple-bus"; - #address-cells = <2>; - #size-cells = <1>; - ranges = <0 0 0x40000000 0x08000000 - 1 0 0x48000000 0x08000000 - 2 0 0x50000000 0x08000000 - 3 0 0x58000000 0x08000000>; - }; - - axi2pico@c0000000 { - compatible = "picochip,axi2pico-pc3x3"; - reg = <0xc0000000 0x10000>; - interrupt-parent = <&vic0>; - interrupts = <13 14 15 16 17 18 19 20 21>; - }; - - otp@ffff8000 { - compatible = "picochip,otp-pc3x3"; - reg = <0xffff8000 0x8000>; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/picoxcell-pc7302-pc3x2.dts b/kernel/arch/arm/boot/dts/m7300-un-v1/picoxcell-pc7302-pc3x2.dts deleted file mode 100755 index 1297414dd..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/picoxcell-pc7302-pc3x2.dts +++ /dev/null @@ -1,86 +0,0 @@ -/* - * Copyright (C) 2011 Picochip, Jamie Iles - * - * This software is licensed under the terms of the GNU General Public - * License version 2, as published by the Free Software Foundation, and - * may be copied, distributed, and modified under those terms. - * - * 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. - */ - -/dts-v1/; -/include/ "picoxcell-pc3x2.dtsi" -/ { - model = "Picochip PC7302 (PC3X2)"; - compatible = "picochip,pc7302-pc3x2", "picochip,pc3x2"; - - memory { - device_type = "memory"; - reg = <0x0 0x08000000>; - }; - - chosen { - linux,stdout-path = &uart0; - }; - - clocks { - ref_clk: clock@1 { - compatible = "fixed-clock"; - clock-outputs = "ref"; - clock-frequency = <20000000>; - }; - }; - - rwid-axi { - ebi@50000000 { - nand: gpio-nand@2,0 { - compatible = "gpio-control-nand"; - #address-cells = <1>; - #size-cells = <1>; - reg = <2 0x0000 0x1000>; - bus-clock = <&pclk>, "bus"; - gpio-control-nand,io-sync-reg = - <0x00000000 0x80220000>; - - gpios = <&banka 1 0 /* rdy */ - &banka 2 0 /* nce */ - &banka 3 0 /* ale */ - &banka 4 0 /* cle */ - 0 /* nwp */>; - - boot@100000 { - label = "Boot"; - reg = <0x100000 0x80000>; - }; - - redundant-boot@200000 { - label = "Redundant Boot"; - reg = <0x200000 0x80000>; - }; - - boot-env@300000 { - label = "Boot Evironment"; - reg = <0x300000 0x20000>; - }; - - redundant-boot-env@320000 { - label = "Redundant Boot Environment"; - reg = <0x300000 0x20000>; - }; - - kernel@380000 { - label = "Kernel"; - reg = <0x380000 0x800000>; - }; - - fs@b80000 { - label = "File System"; - reg = <0xb80000 0xf480000>; - }; - }; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/picoxcell-pc7302-pc3x3.dts b/kernel/arch/arm/boot/dts/m7300-un-v1/picoxcell-pc7302-pc3x3.dts deleted file mode 100755 index 9e317a4f4..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/picoxcell-pc7302-pc3x3.dts +++ /dev/null @@ -1,92 +0,0 @@ -/* - * Copyright (C) 2011 Picochip, Jamie Iles - * - * This software is licensed under the terms of the GNU General Public - * License version 2, as published by the Free Software Foundation, and - * may be copied, distributed, and modified under those terms. - * - * 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. - */ - -/dts-v1/; -/include/ "picoxcell-pc3x3.dtsi" -/ { - model = "Picochip PC7302 (PC3X3)"; - compatible = "picochip,pc7302-pc3x3", "picochip,pc3x3"; - - memory { - device_type = "memory"; - reg = <0x0 0x08000000>; - }; - - chosen { - linux,stdout-path = &uart0; - }; - - clocks { - ref_clk: clock@10 { - compatible = "fixed-clock"; - clock-outputs = "ref"; - clock-frequency = <20000000>; - }; - - clkgate: clkgate@800a0048 { - clock@4 { - picochip,clk-no-disable; - }; - }; - }; - - rwid-axi { - ebi@50000000 { - nand: gpio-nand@2,0 { - compatible = "gpio-control-nand"; - #address-cells = <1>; - #size-cells = <1>; - reg = <2 0x0000 0x1000>; - bus-clock = <&ebi_clk>, "bus"; - gpio-control-nand,io-sync-reg = - <0x00000000 0x80220000>; - - gpios = <&banka 1 0 /* rdy */ - &banka 2 0 /* nce */ - &banka 3 0 /* ale */ - &banka 4 0 /* cle */ - 0 /* nwp */>; - - boot@100000 { - label = "Boot"; - reg = <0x100000 0x80000>; - }; - - redundant-boot@200000 { - label = "Redundant Boot"; - reg = <0x200000 0x80000>; - }; - - boot-env@300000 { - label = "Boot Evironment"; - reg = <0x300000 0x20000>; - }; - - redundant-boot-env@320000 { - label = "Redundant Boot Environment"; - reg = <0x300000 0x20000>; - }; - - kernel@380000 { - label = "Kernel"; - reg = <0x380000 0x800000>; - }; - - fs@b80000 { - label = "File System"; - reg = <0xb80000 0xf480000>; - }; - }; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/prima2-cb.dts b/kernel/arch/arm/boot/dts/m7300-un-v1/prima2-cb.dts deleted file mode 100755 index 34ae3a64b..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/prima2-cb.dts +++ /dev/null @@ -1,424 +0,0 @@ -/dts-v1/; -/ { - model = "SiRF Prima2 eVB"; - compatible = "sirf,prima2-cb", "sirf,prima2"; - #address-cells = <1>; - #size-cells = <1>; - interrupt-parent = <&intc>; - - memory { - reg = <0x00000000 0x20000000>; - }; - - chosen { - bootargs = "mem=512M real_root=/dev/mmcblk0p2 console=ttyS0 panel=1 bootsplash=true bpp=16 androidboot.console=ttyS1"; - linux,stdout-path = &uart1; - }; - - cpus { - #address-cells = <1>; - #size-cells = <0>; - - cpu@0 { - reg = <0x0>; - d-cache-line-size = <32>; - i-cache-line-size = <32>; - d-cache-size = <32768>; - i-cache-size = <32768>; - /* from bootloader */ - timebase-frequency = <0>; - bus-frequency = <0>; - clock-frequency = <0>; - }; - }; - - axi { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0x40000000 0x40000000 0x80000000>; - - l2-cache-controller@80040000 { - compatible = "arm,pl310-cache", "sirf,prima2-pl310-cache"; - reg = <0x80040000 0x1000>; - interrupts = <59>; - arm,tag-latency = <1 1 1>; - arm,data-latency = <1 1 1>; - arm,filter-ranges = <0 0x40000000>; - }; - - intc: interrupt-controller@80020000 { - #interrupt-cells = <1>; - interrupt-controller; - compatible = "sirf,prima2-intc"; - reg = <0x80020000 0x1000>; - }; - - sys-iobg { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0x88000000 0x88000000 0x40000>; - - clock-controller@88000000 { - compatible = "sirf,prima2-clkc"; - reg = <0x88000000 0x1000>; - interrupts = <3>; - }; - - reset-controller@88010000 { - compatible = "sirf,prima2-rstc"; - reg = <0x88010000 0x1000>; - }; - - rsc-controller@88020000 { - compatible = "sirf,prima2-rsc"; - reg = <0x88020000 0x1000>; - }; - }; - - mem-iobg { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0x90000000 0x90000000 0x10000>; - - memory-controller@90000000 { - compatible = "sirf,prima2-memc"; - reg = <0x90000000 0x10000>; - interrupts = <27>; - }; - }; - - disp-iobg { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0x90010000 0x90010000 0x30000>; - - display@90010000 { - compatible = "sirf,prima2-lcd"; - reg = <0x90010000 0x20000>; - interrupts = <30>; - }; - - vpp@90020000 { - compatible = "sirf,prima2-vpp"; - reg = <0x90020000 0x10000>; - interrupts = <31>; - }; - }; - - graphics-iobg { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0x98000000 0x98000000 0x8000000>; - - graphics@98000000 { - compatible = "powervr,sgx531"; - reg = <0x98000000 0x8000000>; - interrupts = <6>; - }; - }; - - multimedia-iobg { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0xa0000000 0xa0000000 0x8000000>; - - multimedia@a0000000 { - compatible = "sirf,prima2-video-codec"; - reg = <0xa0000000 0x8000000>; - interrupts = <5>; - }; - }; - - dsp-iobg { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0xa8000000 0xa8000000 0x2000000>; - - dspif@a8000000 { - compatible = "sirf,prima2-dspif"; - reg = <0xa8000000 0x10000>; - interrupts = <9>; - }; - - gps@a8010000 { - compatible = "sirf,prima2-gps"; - reg = <0xa8010000 0x10000>; - interrupts = <7>; - }; - - dsp@a9000000 { - compatible = "sirf,prima2-dsp"; - reg = <0xa9000000 0x1000000>; - interrupts = <8>; - }; - }; - - peri-iobg { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0xb0000000 0xb0000000 0x180000>; - - timer@b0020000 { - compatible = "sirf,prima2-tick"; - reg = <0xb0020000 0x1000>; - interrupts = <0>; - }; - - nand@b0030000 { - compatible = "sirf,prima2-nand"; - reg = <0xb0030000 0x10000>; - interrupts = <41>; - }; - - audio@b0040000 { - compatible = "sirf,prima2-audio"; - reg = <0xb0040000 0x10000>; - interrupts = <35>; - }; - - uart0: uart@b0050000 { - cell-index = <0>; - compatible = "sirf,prima2-uart"; - reg = <0xb0050000 0x10000>; - interrupts = <17>; - }; - - uart1: uart@b0060000 { - cell-index = <1>; - compatible = "sirf,prima2-uart"; - reg = <0xb0060000 0x10000>; - interrupts = <18>; - }; - - uart2: uart@b0070000 { - cell-index = <2>; - compatible = "sirf,prima2-uart"; - reg = <0xb0070000 0x10000>; - interrupts = <19>; - }; - - usp0: usp@b0080000 { - cell-index = <0>; - compatible = "sirf,prima2-usp"; - reg = <0xb0080000 0x10000>; - interrupts = <20>; - }; - - usp1: usp@b0090000 { - cell-index = <1>; - compatible = "sirf,prima2-usp"; - reg = <0xb0090000 0x10000>; - interrupts = <21>; - }; - - usp2: usp@b00a0000 { - cell-index = <2>; - compatible = "sirf,prima2-usp"; - reg = <0xb00a0000 0x10000>; - interrupts = <22>; - }; - - dmac0: dma-controller@b00b0000 { - cell-index = <0>; - compatible = "sirf,prima2-dmac"; - reg = <0xb00b0000 0x10000>; - interrupts = <12>; - }; - - dmac1: dma-controller@b0160000 { - cell-index = <1>; - compatible = "sirf,prima2-dmac"; - reg = <0xb0160000 0x10000>; - interrupts = <13>; - }; - - vip@b00C0000 { - compatible = "sirf,prima2-vip"; - reg = <0xb00C0000 0x10000>; - }; - - spi0: spi@b00d0000 { - cell-index = <0>; - compatible = "sirf,prima2-spi"; - reg = <0xb00d0000 0x10000>; - interrupts = <15>; - }; - - spi1: spi@b0170000 { - cell-index = <1>; - compatible = "sirf,prima2-spi"; - reg = <0xb0170000 0x10000>; - interrupts = <16>; - }; - - i2c0: i2c@b00e0000 { - cell-index = <0>; - compatible = "sirf,prima2-i2c"; - reg = <0xb00e0000 0x10000>; - interrupts = <24>; - }; - - i2c1: i2c@b00f0000 { - cell-index = <1>; - compatible = "sirf,prima2-i2c"; - reg = <0xb00f0000 0x10000>; - interrupts = <25>; - }; - - tsc@b0110000 { - compatible = "sirf,prima2-tsc"; - reg = <0xb0110000 0x10000>; - interrupts = <33>; - }; - - gpio: gpio-controller@b0120000 { - #gpio-cells = <2>; - #interrupt-cells = <2>; - compatible = "sirf,prima2-gpio-pinmux"; - reg = <0xb0120000 0x10000>; - gpio-controller; - interrupt-controller; - }; - - pwm@b0130000 { - compatible = "sirf,prima2-pwm"; - reg = <0xb0130000 0x10000>; - }; - - efusesys@b0140000 { - compatible = "sirf,prima2-efuse"; - reg = <0xb0140000 0x10000>; - }; - - pulsec@b0150000 { - compatible = "sirf,prima2-pulsec"; - reg = <0xb0150000 0x10000>; - interrupts = <48>; - }; - - pci-iobg { - compatible = "sirf,prima2-pciiobg", "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0x56000000 0x56000000 0x1b00000>; - - sd0: sdhci@56000000 { - cell-index = <0>; - compatible = "sirf,prima2-sdhc"; - reg = <0x56000000 0x100000>; - interrupts = <38>; - }; - - sd1: sdhci@56100000 { - cell-index = <1>; - compatible = "sirf,prima2-sdhc"; - reg = <0x56100000 0x100000>; - interrupts = <38>; - }; - - sd2: sdhci@56200000 { - cell-index = <2>; - compatible = "sirf,prima2-sdhc"; - reg = <0x56200000 0x100000>; - interrupts = <23>; - }; - - sd3: sdhci@56300000 { - cell-index = <3>; - compatible = "sirf,prima2-sdhc"; - reg = <0x56300000 0x100000>; - interrupts = <23>; - }; - - sd4: sdhci@56400000 { - cell-index = <4>; - compatible = "sirf,prima2-sdhc"; - reg = <0x56400000 0x100000>; - interrupts = <39>; - }; - - sd5: sdhci@56500000 { - cell-index = <5>; - compatible = "sirf,prima2-sdhc"; - reg = <0x56500000 0x100000>; - interrupts = <39>; - }; - - pci-copy@57900000 { - compatible = "sirf,prima2-pcicp"; - reg = <0x57900000 0x100000>; - interrupts = <40>; - }; - - rom-interface@57a00000 { - compatible = "sirf,prima2-romif"; - reg = <0x57a00000 0x100000>; - }; - }; - }; - - rtc-iobg { - compatible = "sirf,prima2-rtciobg", "sirf-prima2-rtciobg-bus"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0x80030000 0x10000>; - - gpsrtc@1000 { - compatible = "sirf,prima2-gpsrtc"; - reg = <0x1000 0x1000>; - interrupts = <55 56 57>; - }; - - sysrtc@2000 { - compatible = "sirf,prima2-sysrtc"; - reg = <0x2000 0x1000>; - interrupts = <52 53 54>; - }; - - pwrc@3000 { - compatible = "sirf,prima2-pwrc"; - reg = <0x3000 0x1000>; - interrupts = <32>; - }; - }; - - uus-iobg { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0xb8000000 0xb8000000 0x40000>; - - usb0: usb@b00e0000 { - compatible = "chipidea,ci13611a-prima2"; - reg = <0xb8000000 0x10000>; - interrupts = <10>; - }; - - usb1: usb@b00f0000 { - compatible = "chipidea,ci13611a-prima2"; - reg = <0xb8010000 0x10000>; - interrupts = <11>; - }; - - sata@b00f0000 { - compatible = "synopsys,dwc-ahsata"; - reg = <0xb8020000 0x10000>; - interrupts = <37>; - }; - - security@b00f0000 { - compatible = "sirf,prima2-security"; - reg = <0xb8030000 0x10000>; - interrupts = <42>; - }; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/pxa168-aspenite.dts b/kernel/arch/arm/boot/dts/m7300-un-v1/pxa168-aspenite.dts deleted file mode 100755 index e762facb3..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/pxa168-aspenite.dts +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright (C) 2012 Marvell Technology Group Ltd. - * Author: Haojian Zhuang - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * publishhed by the Free Software Foundation. - */ - -/dts-v1/; -/include/ "pxa168.dtsi" - -/ { - model = "Marvell PXA168 Aspenite Development Board"; - compatible = "mrvl,pxa168-aspenite", "mrvl,pxa168"; - - chosen { - bootargs = "console=ttyS0,115200 root=/dev/nfs nfsroot=192.168.1.100:/nfsroot/ ip=192.168.1.101:192.168.1.100::255.255.255.0::eth0:on"; - }; - - memory { - reg = <0x00000000 0x04000000>; - }; - - soc { - apb@d4000000 { - uart1: uart@d4017000 { - status = "okay"; - }; - twsi1: i2c@d4011000 { - status = "okay"; - }; - rtc: rtc@d4010000 { - status = "okay"; - }; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/pxa168.dtsi b/kernel/arch/arm/boot/dts/m7300-un-v1/pxa168.dtsi deleted file mode 100755 index d32d5128f..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/pxa168.dtsi +++ /dev/null @@ -1,98 +0,0 @@ -/* - * Copyright (C) 2012 Marvell Technology Group Ltd. - * Author: Haojian Zhuang - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * publishhed by the Free Software Foundation. - */ - -/include/ "skeleton.dtsi" - -/ { - aliases { - serial0 = &uart1; - serial1 = &uart2; - serial2 = &uart3; - i2c0 = &twsi1; - i2c1 = &twsi2; - }; - - intc: intc-interrupt-controller@d4282000 { - compatible = "mrvl,mmp-intc", "mrvl,intc"; - interrupt-controller; - #interrupt-cells = <1>; - reg = <0xd4282000 0x1000>; - }; - - soc { - #address-cells = <1>; - #size-cells = <1>; - compatible = "simple-bus"; - interrupt-parent = <&intc>; - ranges; - - apb@d4000000 { /* APB */ - compatible = "mrvl,apb-bus", "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xd4000000 0x00200000>; - ranges; - - uart1: uart@d4017000 { - compatible = "mrvl,mmp-uart", "mrvl,pxa-uart"; - reg = <0xd4017000 0x1000>; - interrupts = <27>; - status = "disabled"; - }; - - uart2: uart@d4018000 { - compatible = "mrvl,mmp-uart", "mrvl,pxa-uart"; - reg = <0xd4018000 0x1000>; - interrupts = <28>; - status = "disabled"; - }; - - uart3: uart@d4026000 { - compatible = "mrvl,mmp-uart", "mrvl,pxa-uart"; - reg = <0xd4026000 0x1000>; - interrupts = <29>; - status = "disabled"; - }; - - gpio: gpio@d4019000 { - compatible = "mrvl,mmp-gpio", "mrvl,pxa-gpio"; - reg = <0xd4019000 0x1000>; - interrupts = <49>; - interrupt-names = "gpio_mux"; - gpio-controller; - #gpio-cells = <1>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - twsi1: i2c@d4011000 { - compatible = "mrvl,mmp-twsi", "mrvl,pxa-i2c"; - reg = <0xd4011000 0x1000>; - interrupts = <7>; - mrvl,i2c-fast-mode; - status = "disabled"; - }; - - twsi2: i2c@d4025000 { - compatible = "mrvl,mmp-twsi", "mrvl,pxa-i2c"; - reg = <0xd4025000 0x1000>; - interrupts = <58>; - status = "disabled"; - }; - - rtc: rtc@d4010000 { - compatible = "mrvl,mmp-rtc"; - reg = <0xd4010000 0x1000>; - interrupts = <5 6>; - interrupt-names = "rtc 1Hz", "rtc alarm"; - status = "disabled"; - }; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/qpic-panel-ili-qvga.dtsi b/kernel/arch/arm/boot/dts/m7300-un-v1/qpic-panel-ili-qvga.dtsi deleted file mode 100755 index 089f1125d..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/qpic-panel-ili-qvga.dtsi +++ /dev/null @@ -1,27 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -&soc { - qcom,mdss_lcdc_ili9341_qvga { - compatible = "qcom,mdss-qpic-panel"; - label = "ili qvga lcdc panel"; - vdd-supply = <&pm8019_l11>; - avdd-supply = <&pm8019_l14>; - qcom,cs-gpio = <&msmgpio 21 0>; - qcom,te-gpio = <&msmgpio 22 0>; - qcom,rst-gpio = <&msmgpio 23 0>; - qcom,ad8-gpio = <&msmgpio 20 0>; - qcom,mdss-pan-res = <240 320>; - qcom,mdss-pan-bpp = <18>; - qcom,refresh_rate = <60>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/skeleton.dtsi b/kernel/arch/arm/boot/dts/m7300-un-v1/skeleton.dtsi deleted file mode 100755 index f9988cd78..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/skeleton.dtsi +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Skeleton device tree; the bare minimum needed to boot; just include and - * add a compatible value. The bootloader will typically populate the memory - * node. - */ - -/ { - #address-cells = <1>; - #size-cells = <1>; - chosen { }; - aliases { }; - memory { - #address-cells = <1>; - #size-cells = <1>; - device_type = "memory"; - reg = <0 0>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/skeleton64.dtsi b/kernel/arch/arm/boot/dts/m7300-un-v1/skeleton64.dtsi deleted file mode 100755 index 5bf6a82f0..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/skeleton64.dtsi +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Skeleton device tree; the bare minimum needed to boot; just include and - * add a compatible value. The bootloader will typically populate the memory - * node. - */ - -/ { - #address-cells = <2>; - #size-cells = <2>; - chosen { }; - aliases { }; - memory { - #address-cells = <2>; - #size-cells = <2>; - device_type = "memory"; - reg = <0 0 0 0>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/snowball.dts b/kernel/arch/arm/boot/dts/m7300-un-v1/snowball.dts deleted file mode 100755 index 359c6d679..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/snowball.dts +++ /dev/null @@ -1,139 +0,0 @@ -/* - * Copyright 2011 ST-Ericsson AB - * - * The code contained herein is licensed under the GNU General Public - * License. You may obtain a copy of the GNU General Public License - * Version 2 or later at the following locations: - * - * http://www.opensource.org/licenses/gpl-license.html - * http://www.gnu.org/copyleft/gpl.html - */ - -/dts-v1/; -/include/ "db8500.dtsi" - -/ { - model = "Calao Systems Snowball platform with device tree"; - compatible = "calaosystems,snowball-a9500"; - - memory { - reg = <0x00000000 0x20000000>; - }; - - gpio_keys { - compatible = "gpio-keys"; - #address-cells = <1>; - #size-cells = <0>; - - button@1 { - debounce_interval = <50>; - wakeup = <1>; - linux,code = <2>; - label = "userpb"; - gpios = <&gpio1 0>; - }; - button@2 { - debounce_interval = <50>; - wakeup = <1>; - linux,code = <3>; - label = "userpb"; - gpios = <&gpio4 23>; - }; - button@3 { - debounce_interval = <50>; - wakeup = <1>; - linux,code = <4>; - label = "userpb"; - gpios = <&gpio4 23>; - }; - button@4 { - debounce_interval = <50>; - wakeup = <1>; - linux,code = <5>; - label = "userpb"; - gpios = <&gpio5 1>; - }; - button@5 { - debounce_interval = <50>; - wakeup = <1>; - linux,code = <6>; - label = "userpb"; - gpios = <&gpio5 2>; - }; - }; - - leds { - compatible = "gpio-leds"; - used-led { - label = "user_led"; - gpios = <&gpio4 14>; - }; - }; - - soc-u9500 { - - external-bus@50000000 { - compatible = "simple-bus"; - reg = <0x50000000 0x10000000>; - #address-cells = <1>; - #size-cells = <1>; - ranges; - - ethernet@50000000 { - compatible = "smsc,9111"; - reg = <0x50000000 0x10000>; - interrupts = <12>; - interrupt-parent = <&gpio4>; - }; - }; - - sdi@80126000 { - status = "enabled"; - cd-gpios = <&gpio6 26>; - }; - - sdi@80114000 { - status = "enabled"; - }; - - uart@80120000 { - status = "okay"; - }; - - uart@80121000 { - status = "okay"; - }; - - uart@80007000 { - status = "okay"; - }; - - i2c@80004000 { - tc3589x@42 { - //compatible = "tc3589x"; - reg = <0x42>; - interrupts = <25>; - interrupt-parent = <&gpio6>; - }; - tps61052@33 { - //compatible = "tps61052"; - reg = <0x33>; - }; - }; - - i2c@80128000 { - lp5521@0x33 { - // compatible = "lp5521"; - reg = <0x33>; - }; - lp5521@0x34 { - // compatible = "lp5521"; - reg = <0x34>; - }; - bh1780@0x29 { - // compatible = "rohm,bh1780gli"; - reg = <0x33>; - }; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/spear600-evb.dts b/kernel/arch/arm/boot/dts/m7300-un-v1/spear600-evb.dts deleted file mode 100755 index 636292e18..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/spear600-evb.dts +++ /dev/null @@ -1,47 +0,0 @@ -/* - * Copyright 2012 Stefan Roese - * - * The code contained herein is licensed under the GNU General Public - * License. You may obtain a copy of the GNU General Public License - * Version 2 or later at the following locations: - * - * http://www.opensource.org/licenses/gpl-license.html - * http://www.gnu.org/copyleft/gpl.html - */ - -/dts-v1/; -/include/ "spear600.dtsi" - -/ { - model = "ST SPEAr600 Evaluation Board"; - compatible = "st,spear600-evb", "st,spear600"; - #address-cells = <1>; - #size-cells = <1>; - - memory { - device_type = "memory"; - reg = <0 0x10000000>; - }; - - ahb { - gmac: ethernet@e0800000 { - phy-mode = "gmii"; - status = "okay"; - }; - - apb { - serial@d0000000 { - status = "okay"; - }; - - serial@d0080000 { - status = "okay"; - }; - - i2c@d0200000 { - clock-frequency = <400000>; - status = "okay"; - }; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/spear600.dtsi b/kernel/arch/arm/boot/dts/m7300-un-v1/spear600.dtsi deleted file mode 100755 index ebe0885a2..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/spear600.dtsi +++ /dev/null @@ -1,174 +0,0 @@ -/* - * Copyright 2012 Stefan Roese - * - * The code contained herein is licensed under the GNU General Public - * License. You may obtain a copy of the GNU General Public License - * Version 2 or later at the following locations: - * - * http://www.opensource.org/licenses/gpl-license.html - * http://www.gnu.org/copyleft/gpl.html - */ - -/include/ "skeleton.dtsi" - -/ { - compatible = "st,spear600"; - - cpus { - cpu@0 { - compatible = "arm,arm926ejs"; - }; - }; - - memory { - device_type = "memory"; - reg = <0 0x40000000>; - }; - - ahb { - #address-cells = <1>; - #size-cells = <1>; - compatible = "simple-bus"; - ranges = <0xd0000000 0xd0000000 0x30000000>; - - vic0: interrupt-controller@f1100000 { - compatible = "arm,pl190-vic"; - interrupt-controller; - reg = <0xf1100000 0x1000>; - #interrupt-cells = <1>; - }; - - vic1: interrupt-controller@f1000000 { - compatible = "arm,pl190-vic"; - interrupt-controller; - reg = <0xf1000000 0x1000>; - #interrupt-cells = <1>; - }; - - gmac: ethernet@e0800000 { - compatible = "st,spear600-gmac"; - reg = <0xe0800000 0x8000>; - interrupt-parent = <&vic1>; - interrupts = <24 23>; - interrupt-names = "macirq", "eth_wake_irq"; - status = "disabled"; - }; - - fsmc: flash@d1800000 { - compatible = "st,spear600-fsmc-nand"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xd1800000 0x1000 /* FSMC Register */ - 0xd2000000 0x4000>; /* NAND Base */ - reg-names = "fsmc_regs", "nand_data"; - st,ale-off = <0x20000>; - st,cle-off = <0x10000>; - status = "disabled"; - }; - - smi: flash@fc000000 { - compatible = "st,spear600-smi"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xfc000000 0x1000>; - interrupt-parent = <&vic1>; - interrupts = <12>; - status = "disabled"; - }; - - ehci@e1800000 { - compatible = "st,spear600-ehci", "usb-ehci"; - reg = <0xe1800000 0x1000>; - interrupt-parent = <&vic1>; - interrupts = <27>; - status = "disabled"; - }; - - ehci@e2000000 { - compatible = "st,spear600-ehci", "usb-ehci"; - reg = <0xe2000000 0x1000>; - interrupt-parent = <&vic1>; - interrupts = <29>; - status = "disabled"; - }; - - ohci@e1900000 { - compatible = "st,spear600-ohci", "usb-ohci"; - reg = <0xe1900000 0x1000>; - interrupt-parent = <&vic1>; - interrupts = <26>; - status = "disabled"; - }; - - ohci@e2100000 { - compatible = "st,spear600-ohci", "usb-ohci"; - reg = <0xe2100000 0x1000>; - interrupt-parent = <&vic1>; - interrupts = <28>; - status = "disabled"; - }; - - apb { - #address-cells = <1>; - #size-cells = <1>; - compatible = "simple-bus"; - ranges = <0xd0000000 0xd0000000 0x30000000>; - - serial@d0000000 { - compatible = "arm,pl011", "arm,primecell"; - reg = <0xd0000000 0x1000>; - interrupt-parent = <&vic0>; - interrupts = <24>; - status = "disabled"; - }; - - serial@d0080000 { - compatible = "arm,pl011", "arm,primecell"; - reg = <0xd0080000 0x1000>; - interrupt-parent = <&vic0>; - interrupts = <25>; - status = "disabled"; - }; - - /* local/cpu GPIO */ - gpio0: gpio@f0100000 { - #gpio-cells = <2>; - compatible = "arm,pl061", "arm,primecell"; - gpio-controller; - reg = <0xf0100000 0x1000>; - interrupt-parent = <&vic0>; - interrupts = <18>; - }; - - /* basic GPIO */ - gpio1: gpio@fc980000 { - #gpio-cells = <2>; - compatible = "arm,pl061", "arm,primecell"; - gpio-controller; - reg = <0xfc980000 0x1000>; - interrupt-parent = <&vic1>; - interrupts = <19>; - }; - - /* appl GPIO */ - gpio2: gpio@d8100000 { - #gpio-cells = <2>; - compatible = "arm,pl061", "arm,primecell"; - gpio-controller; - reg = <0xd8100000 0x1000>; - interrupt-parent = <&vic1>; - interrupts = <4>; - }; - - i2c@d0200000 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "snps,designware-i2c"; - reg = <0xd0200000 0x1000>; - interrupt-parent = <&vic0>; - interrupts = <28>; - status = "disabled"; - }; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/tegra-cardhu.dts b/kernel/arch/arm/boot/dts/m7300-un-v1/tegra-cardhu.dts deleted file mode 100755 index ac3fb7558..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/tegra-cardhu.dts +++ /dev/null @@ -1,70 +0,0 @@ -/dts-v1/; - -/include/ "tegra30.dtsi" - -/ { - model = "NVIDIA Tegra30 Cardhu evaluation board"; - compatible = "nvidia,cardhu", "nvidia,tegra30"; - - memory { - reg = < 0x80000000 0x40000000 >; - }; - - serial@70006000 { - clock-frequency = < 408000000 >; - }; - - serial@70006040 { - status = "disable"; - }; - - serial@70006200 { - status = "disable"; - }; - - serial@70006300 { - status = "disable"; - }; - - serial@70006400 { - status = "disable"; - }; - - i2c@7000c000 { - clock-frequency = <100000>; - }; - - i2c@7000c400 { - clock-frequency = <100000>; - }; - - i2c@7000c500 { - clock-frequency = <100000>; - }; - - i2c@7000c700 { - clock-frequency = <100000>; - }; - - i2c@7000d000 { - clock-frequency = <100000>; - }; - - sdhci@78000000 { - cd-gpios = <&gpio 69 0>; /* gpio PI5 */ - wp-gpios = <&gpio 155 0>; /* gpio PT3 */ - power-gpios = <&gpio 31 0>; /* gpio PD7 */ - }; - - sdhci@78000200 { - status = "disable"; - }; - - sdhci@78000400 { - status = "disable"; - }; - - sdhci@78000400 { - support-8bit; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/tegra-harmony.dts b/kernel/arch/arm/boot/dts/m7300-un-v1/tegra-harmony.dts deleted file mode 100755 index 6e8447dc0..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/tegra-harmony.dts +++ /dev/null @@ -1,115 +0,0 @@ -/dts-v1/; - -/include/ "tegra20.dtsi" - -/ { - model = "NVIDIA Tegra2 Harmony evaluation board"; - compatible = "nvidia,harmony", "nvidia,tegra20"; - - memory@0 { - reg = < 0x00000000 0x40000000 >; - }; - - pmc@7000f400 { - nvidia,invert-interrupt; - }; - - i2c@7000c000 { - clock-frequency = <400000>; - - wm8903: wm8903@1a { - compatible = "wlf,wm8903"; - reg = <0x1a>; - interrupt-parent = <&gpio>; - interrupts = < 187 0x04 >; - - gpio-controller; - #gpio-cells = <2>; - - micdet-cfg = <0>; - micdet-delay = <100>; - gpio-cfg = < 0xffffffff 0xffffffff 0 0xffffffff 0xffffffff >; - }; - }; - - i2c@7000c400 { - clock-frequency = <400000>; - }; - - i2c@7000c500 { - clock-frequency = <400000>; - }; - - i2c@7000d000 { - clock-frequency = <400000>; - }; - - i2s@70002a00 { - status = "disable"; - }; - - sound { - compatible = "nvidia,tegra-audio-wm8903-harmony", - "nvidia,tegra-audio-wm8903"; - nvidia,model = "NVIDIA Tegra Harmony"; - - nvidia,audio-routing = - "Headphone Jack", "HPOUTR", - "Headphone Jack", "HPOUTL", - "Int Spk", "ROP", - "Int Spk", "RON", - "Int Spk", "LOP", - "Int Spk", "LON", - "Mic Jack", "MICBIAS", - "IN1L", "Mic Jack"; - - nvidia,i2s-controller = <&tegra_i2s1>; - nvidia,audio-codec = <&wm8903>; - - nvidia,spkr-en-gpios = <&wm8903 2 0>; - nvidia,hp-det-gpios = <&gpio 178 0>; /* gpio PW2 */ - nvidia,int-mic-en-gpios = <&gpio 184 0>; /*gpio PX0 */ - nvidia,ext-mic-en-gpios = <&gpio 185 0>; /* gpio PX1 */ - }; - - serial@70006000 { - status = "disable"; - }; - - serial@70006040 { - status = "disable"; - }; - - serial@70006200 { - status = "disable"; - }; - - serial@70006300 { - clock-frequency = < 216000000 >; - }; - - serial@70006400 { - status = "disable"; - }; - - sdhci@c8000000 { - status = "disable"; - }; - - sdhci@c8000200 { - cd-gpios = <&gpio 69 0>; /* gpio PI5 */ - wp-gpios = <&gpio 57 0>; /* gpio PH1 */ - power-gpios = <&gpio 155 0>; /* gpio PT3 */ - }; - - sdhci@c8000400 { - status = "disable"; - }; - - sdhci@c8000600 { - cd-gpios = <&gpio 58 0>; /* gpio PH2 */ - wp-gpios = <&gpio 59 0>; /* gpio PH3 */ - power-gpios = <&gpio 70 0>; /* gpio PI6 */ - support-8bit; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/tegra-paz00.dts b/kernel/arch/arm/boot/dts/m7300-un-v1/tegra-paz00.dts deleted file mode 100755 index 6c02abb46..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/tegra-paz00.dts +++ /dev/null @@ -1,134 +0,0 @@ -/dts-v1/; - -/include/ "tegra20.dtsi" - -/ { - model = "Toshiba AC100 / Dynabook AZ"; - compatible = "compal,paz00", "nvidia,tegra20"; - - memory@0 { - reg = <0x00000000 0x20000000>; - }; - - i2c@7000c000 { - clock-frequency = <400000>; - - alc5632: alc5632@1e { - compatible = "realtek,alc5632"; - reg = <0x1e>; - gpio-controller; - #gpio-cells = <2>; - }; - }; - - i2c@7000c400 { - clock-frequency = <400000>; - }; - - i2c@7000c500 { - status = "disable"; - }; - - nvec@7000c500 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "nvidia,nvec"; - reg = <0x7000C500 0x100>; - interrupts = <0 92 0x04>; - clock-frequency = <80000>; - request-gpios = <&gpio 170 0>; - slave-addr = <138>; - }; - - i2c@7000d000 { - clock-frequency = <400000>; - - adt7461@4c { - compatible = "adi,adt7461"; - reg = <0x4c>; - }; - }; - - i2s@70002a00 { - status = "disable"; - }; - - sound { - compatible = "nvidia,tegra-audio-alc5632-paz00", - "nvidia,tegra-audio-alc5632"; - - nvidia,model = "Compal PAZ00"; - - nvidia,audio-routing = - "Int Spk", "SPKOUT", - "Int Spk", "SPKOUTN", - "Headset Mic", "MICBIAS1", - "MIC1", "Headset Mic", - "Headset Stereophone", "HPR", - "Headset Stereophone", "HPL", - "DMICDAT", "Digital Mic"; - - nvidia,audio-codec = <&alc5632>; - nvidia,i2s-controller = <&tegra_i2s1>; - nvidia,hp-det-gpios = <&gpio 178 0>; /* gpio PW2 */ - }; - - serial@70006000 { - clock-frequency = <216000000>; - }; - - serial@70006040 { - status = "disable"; - }; - - serial@70006200 { - clock-frequency = <216000000>; - }; - - serial@70006300 { - status = "disable"; - }; - - serial@70006400 { - status = "disable"; - }; - - sdhci@c8000000 { - cd-gpios = <&gpio 173 0>; /* gpio PV5 */ - wp-gpios = <&gpio 57 0>; /* gpio PH1 */ - power-gpios = <&gpio 169 0>; /* gpio PV1 */ - }; - - sdhci@c8000200 { - status = "disable"; - }; - - sdhci@c8000400 { - status = "disable"; - }; - - sdhci@c8000600 { - support-8bit; - }; - - gpio-keys { - compatible = "gpio-keys"; - - power { - label = "Power"; - gpios = <&gpio 79 1>; /* gpio PJ7, active low */ - linux,code = <116>; /* KEY_POWER */ - gpio-key,wakeup; - }; - }; - - gpio-leds { - compatible = "gpio-leds"; - - wifi { - label = "wifi-led"; - gpios = <&gpio 24 0>; - linux,default-trigger = "rfkill0"; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/tegra-seaboard.dts b/kernel/arch/arm/boot/dts/m7300-un-v1/tegra-seaboard.dts deleted file mode 100755 index dbf1c5a17..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/tegra-seaboard.dts +++ /dev/null @@ -1,175 +0,0 @@ -/dts-v1/; - -/include/ "tegra20.dtsi" - -/ { - model = "NVIDIA Seaboard"; - compatible = "nvidia,seaboard", "nvidia,tegra20"; - - memory { - device_type = "memory"; - reg = < 0x00000000 0x40000000 >; - }; - - i2c@7000c000 { - clock-frequency = <400000>; - - wm8903: wm8903@1a { - compatible = "wlf,wm8903"; - reg = <0x1a>; - interrupt-parent = <&gpio>; - interrupts = < 187 0x04 >; - - gpio-controller; - #gpio-cells = <2>; - - micdet-cfg = <0>; - micdet-delay = <100>; - gpio-cfg = < 0xffffffff 0xffffffff 0 0xffffffff 0xffffffff >; - }; - }; - - i2c@7000c400 { - clock-frequency = <400000>; - }; - - i2c@7000c500 { - clock-frequency = <400000>; - }; - - i2c@7000d000 { - clock-frequency = <400000>; - - adt7461@4c { - compatible = "adt7461"; - reg = <0x4c>; - }; - }; - - i2s@70002a00 { - status = "disable"; - }; - - sound { - compatible = "nvidia,tegra-audio-wm8903-seaboard", - "nvidia,tegra-audio-wm8903"; - nvidia,model = "NVIDIA Tegra Seaboard"; - - nvidia,audio-routing = - "Headphone Jack", "HPOUTR", - "Headphone Jack", "HPOUTL", - "Int Spk", "ROP", - "Int Spk", "RON", - "Int Spk", "LOP", - "Int Spk", "LON", - "Mic Jack", "MICBIAS", - "IN1R", "Mic Jack"; - - nvidia,i2s-controller = <&tegra_i2s1>; - nvidia,audio-codec = <&wm8903>; - - nvidia,spkr-en-gpios = <&wm8903 2 0>; - nvidia,hp-det-gpios = <&gpio 185 0>; /* gpio PX1 */ - }; - - serial@70006000 { - status = "disable"; - }; - - serial@70006040 { - status = "disable"; - }; - - serial@70006200 { - status = "disable"; - }; - - serial@70006300 { - clock-frequency = < 216000000 >; - }; - - serial@70006400 { - status = "disable"; - }; - - sdhci@c8000000 { - status = "disable"; - }; - - sdhci@c8000200 { - status = "disable"; - }; - - sdhci@c8000400 { - cd-gpios = <&gpio 69 0>; /* gpio PI5 */ - wp-gpios = <&gpio 57 0>; /* gpio PH1 */ - power-gpios = <&gpio 70 0>; /* gpio PI6 */ - }; - - sdhci@c8000600 { - support-8bit; - }; - - usb@c5000000 { - nvidia,vbus-gpio = <&gpio 24 0>; /* PD0 */ - dr_mode = "otg"; - }; - - gpio-keys { - compatible = "gpio-keys"; - - power { - label = "Power"; - gpios = <&gpio 170 1>; /* gpio PV2, active low */ - linux,code = <116>; /* KEY_POWER */ - gpio-key,wakeup; - }; - - lid { - label = "Lid"; - gpios = <&gpio 23 0>; /* gpio PC7 */ - linux,input-type = <5>; /* EV_SW */ - linux,code = <0>; /* SW_LID */ - debounce-interval = <1>; - gpio-key,wakeup; - }; - }; - - emc@7000f400 { - emc-table@190000 { - reg = < 190000 >; - compatible = "nvidia,tegra20-emc-table"; - clock-frequency = < 190000 >; - nvidia,emc-registers = < 0x0000000c 0x00000026 - 0x00000009 0x00000003 0x00000004 0x00000004 - 0x00000002 0x0000000c 0x00000003 0x00000003 - 0x00000002 0x00000001 0x00000004 0x00000005 - 0x00000004 0x00000009 0x0000000d 0x0000059f - 0x00000000 0x00000003 0x00000003 0x00000003 - 0x00000003 0x00000001 0x0000000b 0x000000c8 - 0x00000003 0x00000007 0x00000004 0x0000000f - 0x00000002 0x00000000 0x00000000 0x00000002 - 0x00000000 0x00000000 0x00000083 0xa06204ae - 0x007dc010 0x00000000 0x00000000 0x00000000 - 0x00000000 0x00000000 0x00000000 0x00000000 >; - }; - - emc-table@380000 { - reg = < 380000 >; - compatible = "nvidia,tegra20-emc-table"; - clock-frequency = < 380000 >; - nvidia,emc-registers = < 0x00000017 0x0000004b - 0x00000012 0x00000006 0x00000004 0x00000005 - 0x00000003 0x0000000c 0x00000006 0x00000006 - 0x00000003 0x00000001 0x00000004 0x00000005 - 0x00000004 0x00000009 0x0000000d 0x00000b5f - 0x00000000 0x00000003 0x00000003 0x00000006 - 0x00000006 0x00000001 0x00000011 0x000000c8 - 0x00000003 0x0000000e 0x00000007 0x0000000f - 0x00000002 0x00000000 0x00000000 0x00000002 - 0x00000000 0x00000000 0x00000083 0xe044048b - 0x007d8010 0x00000000 0x00000000 0x00000000 - 0x00000000 0x00000000 0x00000000 0x00000000 >; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/tegra-trimslice.dts b/kernel/arch/arm/boot/dts/m7300-un-v1/tegra-trimslice.dts deleted file mode 100755 index 252476867..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/tegra-trimslice.dts +++ /dev/null @@ -1,77 +0,0 @@ -/dts-v1/; - -/include/ "tegra20.dtsi" - -/ { - model = "Compulab TrimSlice board"; - compatible = "compulab,trimslice", "nvidia,tegra20"; - - memory@0 { - reg = < 0x00000000 0x40000000 >; - }; - - i2c@7000c000 { - clock-frequency = <400000>; - }; - - i2c@7000c400 { - clock-frequency = <400000>; - }; - - i2c@7000c500 { - clock-frequency = <400000>; - }; - - i2c@7000d000 { - status = "disable"; - }; - - i2s@70002800 { - status = "disable"; - }; - - i2s@70002a00 { - status = "disable"; - }; - - das@70000c00 { - status = "disable"; - }; - - serial@70006000 { - clock-frequency = < 216000000 >; - }; - - serial@70006040 { - status = "disable"; - }; - - serial@70006200 { - status = "disable"; - }; - - serial@70006300 { - status = "disable"; - }; - - serial@70006400 { - status = "disable"; - }; - - sdhci@c8000000 { - status = "disable"; - }; - - sdhci@c8000200 { - status = "disable"; - }; - - sdhci@c8000400 { - status = "disable"; - }; - - sdhci@c8000600 { - cd-gpios = <&gpio 121 0>; - wp-gpios = <&gpio 122 0>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/tegra-ventana.dts b/kernel/arch/arm/boot/dts/m7300-un-v1/tegra-ventana.dts deleted file mode 100755 index 2dcff8728..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/tegra-ventana.dts +++ /dev/null @@ -1,108 +0,0 @@ -/dts-v1/; - -/include/ "tegra20.dtsi" - -/ { - model = "NVIDIA Tegra2 Ventana evaluation board"; - compatible = "nvidia,ventana", "nvidia,tegra20"; - - memory { - reg = < 0x00000000 0x40000000 >; - }; - - i2c@7000c000 { - clock-frequency = <400000>; - - wm8903: wm8903@1a { - compatible = "wlf,wm8903"; - reg = <0x1a>; - interrupt-parent = <&gpio>; - interrupts = < 187 0x04 >; - - gpio-controller; - #gpio-cells = <2>; - - micdet-cfg = <0>; - micdet-delay = <100>; - gpio-cfg = < 0xffffffff 0xffffffff 0 0xffffffff 0xffffffff >; - }; - }; - - i2c@7000c400 { - clock-frequency = <400000>; - }; - - i2c@7000c500 { - clock-frequency = <400000>; - }; - - i2c@7000d000 { - clock-frequency = <400000>; - }; - - i2s@70002a00 { - status = "disable"; - }; - - sound { - compatible = "nvidia,tegra-audio-wm8903-ventana", - "nvidia,tegra-audio-wm8903"; - nvidia,model = "NVIDIA Tegra Ventana"; - - nvidia,audio-routing = - "Headphone Jack", "HPOUTR", - "Headphone Jack", "HPOUTL", - "Int Spk", "ROP", - "Int Spk", "RON", - "Int Spk", "LOP", - "Int Spk", "LON", - "Mic Jack", "MICBIAS", - "IN1L", "Mic Jack"; - - nvidia,i2s-controller = <&tegra_i2s1>; - nvidia,audio-codec = <&wm8903>; - - nvidia,spkr-en-gpios = <&wm8903 2 0>; - nvidia,hp-det-gpios = <&gpio 178 0>; /* gpio PW2 */ - nvidia,int-mic-en-gpios = <&gpio 184 0>; /*gpio PX0 */ - nvidia,ext-mic-en-gpios = <&gpio 185 0>; /* gpio PX1 */ - }; - - serial@70006000 { - status = "disable"; - }; - - serial@70006040 { - status = "disable"; - }; - - serial@70006200 { - status = "disable"; - }; - - serial@70006300 { - clock-frequency = < 216000000 >; - }; - - serial@70006400 { - status = "disable"; - }; - - sdhci@c8000000 { - status = "disable"; - }; - - sdhci@c8000200 { - status = "disable"; - }; - - sdhci@c8000400 { - cd-gpios = <&gpio 69 0>; /* gpio PI5 */ - wp-gpios = <&gpio 57 0>; /* gpio PH1 */ - power-gpios = <&gpio 70 0>; /* gpio PI6 */ - }; - - sdhci@c8000600 { - support-8bit; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/tegra20.dtsi b/kernel/arch/arm/boot/dts/m7300-un-v1/tegra20.dtsi deleted file mode 100755 index 108e894a8..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/tegra20.dtsi +++ /dev/null @@ -1,210 +0,0 @@ -/include/ "skeleton.dtsi" - -/ { - compatible = "nvidia,tegra20"; - interrupt-parent = <&intc>; - - pmc@7000f400 { - compatible = "nvidia,tegra20-pmc"; - reg = <0x7000e400 0x400>; - }; - - intc: interrupt-controller@50041000 { - compatible = "arm,cortex-a9-gic"; - interrupt-controller; - #interrupt-cells = <3>; - reg = < 0x50041000 0x1000 >, - < 0x50040100 0x0100 >; - }; - - pmu { - compatible = "arm,cortex-a9-pmu"; - interrupts = <0 56 0x04 - 0 57 0x04>; - }; - - apbdma: dma@6000a000 { - compatible = "nvidia,tegra20-apbdma"; - reg = <0x6000a000 0x1200>; - interrupts = < 0 104 0x04 - 0 105 0x04 - 0 106 0x04 - 0 107 0x04 - 0 108 0x04 - 0 109 0x04 - 0 110 0x04 - 0 111 0x04 - 0 112 0x04 - 0 113 0x04 - 0 114 0x04 - 0 115 0x04 - 0 116 0x04 - 0 117 0x04 - 0 118 0x04 - 0 119 0x04 >; - }; - - i2c@7000c000 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "nvidia,tegra20-i2c"; - reg = <0x7000C000 0x100>; - interrupts = < 0 38 0x04 >; - }; - - i2c@7000c400 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "nvidia,tegra20-i2c"; - reg = <0x7000C400 0x100>; - interrupts = < 0 84 0x04 >; - }; - - i2c@7000c500 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "nvidia,tegra20-i2c"; - reg = <0x7000C500 0x100>; - interrupts = < 0 92 0x04 >; - }; - - i2c@7000d000 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "nvidia,tegra20-i2c-dvc"; - reg = <0x7000D000 0x200>; - interrupts = < 0 53 0x04 >; - }; - - tegra_i2s1: i2s@70002800 { - compatible = "nvidia,tegra20-i2s"; - reg = <0x70002800 0x200>; - interrupts = < 0 13 0x04 >; - nvidia,dma-request-selector = < &apbdma 2 >; - }; - - tegra_i2s2: i2s@70002a00 { - compatible = "nvidia,tegra20-i2s"; - reg = <0x70002a00 0x200>; - interrupts = < 0 3 0x04 >; - nvidia,dma-request-selector = < &apbdma 1 >; - }; - - das@70000c00 { - compatible = "nvidia,tegra20-das"; - reg = <0x70000c00 0x80>; - }; - - gpio: gpio@6000d000 { - compatible = "nvidia,tegra20-gpio"; - reg = < 0x6000d000 0x1000 >; - interrupts = < 0 32 0x04 - 0 33 0x04 - 0 34 0x04 - 0 35 0x04 - 0 55 0x04 - 0 87 0x04 - 0 89 0x04 >; - #gpio-cells = <2>; - gpio-controller; - #interrupt-cells = <2>; - interrupt-controller; - }; - - pinmux: pinmux@70000000 { - compatible = "nvidia,tegra20-pinmux"; - reg = < 0x70000014 0x10 /* Tri-state registers */ - 0x70000080 0x20 /* Mux registers */ - 0x700000a0 0x14 /* Pull-up/down registers */ - 0x70000868 0xa8 >; /* Pad control registers */ - }; - - serial@70006000 { - compatible = "nvidia,tegra20-uart"; - reg = <0x70006000 0x40>; - reg-shift = <2>; - interrupts = < 0 36 0x04 >; - }; - - serial@70006040 { - compatible = "nvidia,tegra20-uart"; - reg = <0x70006040 0x40>; - reg-shift = <2>; - interrupts = < 0 37 0x04 >; - }; - - serial@70006200 { - compatible = "nvidia,tegra20-uart"; - reg = <0x70006200 0x100>; - reg-shift = <2>; - interrupts = < 0 46 0x04 >; - }; - - serial@70006300 { - compatible = "nvidia,tegra20-uart"; - reg = <0x70006300 0x100>; - reg-shift = <2>; - interrupts = < 0 90 0x04 >; - }; - - serial@70006400 { - compatible = "nvidia,tegra20-uart"; - reg = <0x70006400 0x100>; - reg-shift = <2>; - interrupts = < 0 91 0x04 >; - }; - - emc@7000f400 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "nvidia,tegra20-emc"; - reg = <0x7000f400 0x200>; - }; - - sdhci@c8000000 { - compatible = "nvidia,tegra20-sdhci"; - reg = <0xc8000000 0x200>; - interrupts = < 0 14 0x04 >; - }; - - sdhci@c8000200 { - compatible = "nvidia,tegra20-sdhci"; - reg = <0xc8000200 0x200>; - interrupts = < 0 15 0x04 >; - }; - - sdhci@c8000400 { - compatible = "nvidia,tegra20-sdhci"; - reg = <0xc8000400 0x200>; - interrupts = < 0 19 0x04 >; - }; - - sdhci@c8000600 { - compatible = "nvidia,tegra20-sdhci"; - reg = <0xc8000600 0x200>; - interrupts = < 0 31 0x04 >; - }; - - usb@c5000000 { - compatible = "nvidia,tegra20-ehci", "usb-ehci"; - reg = <0xc5000000 0x4000>; - interrupts = < 0 20 0x04 >; - phy_type = "utmi"; - nvidia,has-legacy-mode; - }; - - usb@c5004000 { - compatible = "nvidia,tegra20-ehci", "usb-ehci"; - reg = <0xc5004000 0x4000>; - interrupts = < 0 21 0x04 >; - phy_type = "ulpi"; - }; - - usb@c5008000 { - compatible = "nvidia,tegra20-ehci", "usb-ehci"; - reg = <0xc5008000 0x4000>; - interrupts = < 0 97 0x04 >; - phy_type = "utmi"; - }; -}; - diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/tegra30.dtsi b/kernel/arch/arm/boot/dts/m7300-un-v1/tegra30.dtsi deleted file mode 100755 index 62a7b39f1..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/tegra30.dtsi +++ /dev/null @@ -1,186 +0,0 @@ -/include/ "skeleton.dtsi" - -/ { - compatible = "nvidia,tegra30"; - interrupt-parent = <&intc>; - - pmc@7000f400 { - compatible = "nvidia,tegra20-pmc", "nvidia,tegra30-pmc"; - reg = <0x7000e400 0x400>; - }; - - intc: interrupt-controller@50041000 { - compatible = "arm,cortex-a9-gic"; - interrupt-controller; - #interrupt-cells = <3>; - reg = < 0x50041000 0x1000 >, - < 0x50040100 0x0100 >; - }; - - pmu { - compatible = "arm,cortex-a9-pmu"; - interrupts = <0 144 0x04 - 0 145 0x04 - 0 146 0x04 - 0 147 0x04>; - }; - - apbdma: dma@6000a000 { - compatible = "nvidia,tegra30-apbdma", "nvidia,tegra20-apbdma"; - reg = <0x6000a000 0x1400>; - interrupts = < 0 104 0x04 - 0 105 0x04 - 0 106 0x04 - 0 107 0x04 - 0 108 0x04 - 0 109 0x04 - 0 110 0x04 - 0 111 0x04 - 0 112 0x04 - 0 113 0x04 - 0 114 0x04 - 0 115 0x04 - 0 116 0x04 - 0 117 0x04 - 0 118 0x04 - 0 119 0x04 - 0 128 0x04 - 0 129 0x04 - 0 130 0x04 - 0 131 0x04 - 0 132 0x04 - 0 133 0x04 - 0 134 0x04 - 0 135 0x04 - 0 136 0x04 - 0 137 0x04 - 0 138 0x04 - 0 139 0x04 - 0 140 0x04 - 0 141 0x04 - 0 142 0x04 - 0 143 0x04 >; - }; - - i2c@7000c000 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "nvidia,tegra30-i2c", "nvidia,tegra20-i2c"; - reg = <0x7000C000 0x100>; - interrupts = < 0 38 0x04 >; - }; - - i2c@7000c400 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "nvidia,tegra30-i2c", "nvidia,tegra20-i2c"; - reg = <0x7000C400 0x100>; - interrupts = < 0 84 0x04 >; - }; - - i2c@7000c500 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "nvidia,tegra30-i2c", "nvidia,tegra20-i2c"; - reg = <0x7000C500 0x100>; - interrupts = < 0 92 0x04 >; - }; - - i2c@7000c700 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "nvidia,tegra30-i2c", "nvidia,tegra20-i2c"; - reg = <0x7000c700 0x100>; - interrupts = < 0 120 0x04 >; - }; - - i2c@7000d000 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "nvidia,tegra30-i2c", "nvidia,tegra20-i2c"; - reg = <0x7000D000 0x100>; - interrupts = < 0 53 0x04 >; - }; - - gpio: gpio@6000d000 { - compatible = "nvidia,tegra30-gpio", "nvidia,tegra20-gpio"; - reg = < 0x6000d000 0x1000 >; - interrupts = < 0 32 0x04 - 0 33 0x04 - 0 34 0x04 - 0 35 0x04 - 0 55 0x04 - 0 87 0x04 - 0 89 0x04 - 0 125 0x04 >; - #gpio-cells = <2>; - gpio-controller; - #interrupt-cells = <2>; - interrupt-controller; - }; - - serial@70006000 { - compatible = "nvidia,tegra30-uart", "nvidia,tegra20-uart"; - reg = <0x70006000 0x40>; - reg-shift = <2>; - interrupts = < 0 36 0x04 >; - }; - - serial@70006040 { - compatible = "nvidia,tegra30-uart", "nvidia,tegra20-uart"; - reg = <0x70006040 0x40>; - reg-shift = <2>; - interrupts = < 0 37 0x04 >; - }; - - serial@70006200 { - compatible = "nvidia,tegra30-uart", "nvidia,tegra20-uart"; - reg = <0x70006200 0x100>; - reg-shift = <2>; - interrupts = < 0 46 0x04 >; - }; - - serial@70006300 { - compatible = "nvidia,tegra30-uart", "nvidia,tegra20-uart"; - reg = <0x70006300 0x100>; - reg-shift = <2>; - interrupts = < 0 90 0x04 >; - }; - - serial@70006400 { - compatible = "nvidia,tegra30-uart", "nvidia,tegra20-uart"; - reg = <0x70006400 0x100>; - reg-shift = <2>; - interrupts = < 0 91 0x04 >; - }; - - sdhci@78000000 { - compatible = "nvidia,tegra30-sdhci", "nvidia,tegra20-sdhci"; - reg = <0x78000000 0x200>; - interrupts = < 0 14 0x04 >; - }; - - sdhci@78000200 { - compatible = "nvidia,tegra30-sdhci", "nvidia,tegra20-sdhci"; - reg = <0x78000200 0x200>; - interrupts = < 0 15 0x04 >; - }; - - sdhci@78000400 { - compatible = "nvidia,tegra30-sdhci", "nvidia,tegra20-sdhci"; - reg = <0x78000400 0x200>; - interrupts = < 0 19 0x04 >; - }; - - sdhci@78000600 { - compatible = "nvidia,tegra30-sdhci", "nvidia,tegra20-sdhci"; - reg = <0x78000600 0x200>; - interrupts = < 0 31 0x04 >; - }; - - pinmux: pinmux@70000000 { - compatible = "nvidia,tegra30-pinmux"; - reg = < 0x70000868 0xd0 /* Pad control registers */ - 0x70003000 0x3e0 >; /* Mux registers */ - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/testcases/tests-phandle.dtsi b/kernel/arch/arm/boot/dts/m7300-un-v1/testcases/tests-phandle.dtsi deleted file mode 100755 index 0007d3cd7..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/testcases/tests-phandle.dtsi +++ /dev/null @@ -1,39 +0,0 @@ - -/ { - testcase-data { - phandle-tests { - provider0: provider0 { - #phandle-cells = <0>; - }; - - provider1: provider1 { - #phandle-cells = <1>; - }; - - provider2: provider2 { - #phandle-cells = <2>; - }; - - provider3: provider3 { - #phandle-cells = <3>; - }; - - consumer-a { - phandle-list = <&provider1 1>, - <&provider2 2 0>, - <0>, - <&provider3 4 4 3>, - <&provider2 5 100>, - <&provider0>, - <&provider1 7>; - phandle-list-names = "first", "second", "third"; - - phandle-list-bad-phandle = <12345678 0 0>; - phandle-list-bad-args = <&provider2 1 0>, - <&provider3 0>; - empty-property; - unterminated-string = [40 41 42 43]; - }; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/testcases/tests.dtsi b/kernel/arch/arm/boot/dts/m7300-un-v1/testcases/tests.dtsi deleted file mode 100755 index a7c506762..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/testcases/tests.dtsi +++ /dev/null @@ -1 +0,0 @@ -/include/ "tests-phandle.dtsi" diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/usb_a9g20-dab-mmx.dtsi b/kernel/arch/arm/boot/dts/m7300-un-v1/usb_a9g20-dab-mmx.dtsi deleted file mode 100755 index ad3eca17c..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/usb_a9g20-dab-mmx.dtsi +++ /dev/null @@ -1,96 +0,0 @@ -/* - * calao-dab-mmx.dtsi - Device Tree Include file for Calao DAB-MMX Daughter Board - * - * Copyright (C) 2011 Jean-Christophe PLAGNIOL-VILLARD - * - * Licensed under GPLv2. - */ - -/ { - ahb { - apb { - usart1: serial@fffb4000 { - status = "okay"; - }; - - usart3: serial@fffd0000 { - status = "okay"; - }; - }; - }; - - i2c-gpio@0 { - status = "okay"; - }; - - leds { - compatible = "gpio-leds"; - - user_led1 { - label = "user_led1"; - gpios = <&pioB 20 1>; - }; - -/* -* led already used by mother board but active as high -* user_led2 { -* label = "user_led2"; -* gpios = <&pioB 21 1>; -* }; -*/ - user_led3 { - label = "user_led3"; - gpios = <&pioB 22 1>; - }; - - user_led4 { - label = "user_led4"; - gpios = <&pioB 23 1>; - }; - - red { - label = "red"; - gpios = <&pioB 24 1>; - }; - - orange { - label = "orange"; - gpios = <&pioB 30 1>; - }; - - green { - label = "green"; - gpios = <&pioB 31 1>; - }; - }; - - gpio_keys { - compatible = "gpio-keys"; - #address-cells = <1>; - #size-cells = <0>; - - user_pb1 { - label = "user_pb1"; - gpios = <&pioB 25 1>; - linux,code = <0x100>; - }; - - user_pb2 { - label = "user_pb2"; - gpios = <&pioB 13 1>; - linux,code = <0x101>; - }; - - user_pb3 { - label = "user_pb3"; - gpios = <&pioA 26 1>; - linux,code = <0x102>; - }; - - user_pb4 { - label = "user_pb4"; - gpios = <&pioC 9 1>; - linux,code = <0x103>; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/usb_a9g20.dts b/kernel/arch/arm/boot/dts/m7300-un-v1/usb_a9g20.dts deleted file mode 100755 index 7c2399c53..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/usb_a9g20.dts +++ /dev/null @@ -1,130 +0,0 @@ -/* - * usb_a9g20.dts - Device Tree file for Caloa USB A9G20 board - * - * Copyright (C) 2011 Jean-Christophe PLAGNIOL-VILLARD - * - * Licensed under GPLv2 or later. - */ -/dts-v1/; -/include/ "at91sam9g20.dtsi" - -/ { - model = "Calao USB A9G20"; - compatible = "calao,usb-a9g20", "atmel,at91sam9g20", "atmel,at91sam9"; - - chosen { - bootargs = "mem=64M console=ttyS0,115200 root=/dev/mtdblock5 rw rootfstype=ubifs"; - }; - - memory { - reg = <0x20000000 0x4000000>; - }; - - clocks { - #address-cells = <1>; - #size-cells = <1>; - ranges; - - main_clock: clock@0 { - compatible = "atmel,osc", "fixed-clock"; - clock-frequency = <12000000>; - }; - }; - - ahb { - apb { - dbgu: serial@fffff200 { - status = "okay"; - }; - - macb0: ethernet@fffc4000 { - phy-mode = "rmii"; - status = "okay"; - }; - - usb1: gadget@fffa4000 { - atmel,vbus-gpio = <&pioC 5 0>; - status = "okay"; - }; - }; - - nand0: nand@40000000 { - nand-bus-width = <8>; - nand-ecc-mode = "soft"; - nand-on-flash-bbt; - status = "okay"; - - at91bootstrap@0 { - label = "at91bootstrap"; - reg = <0x0 0x20000>; - }; - - barebox@20000 { - label = "barebox"; - reg = <0x20000 0x40000>; - }; - - bareboxenv@60000 { - label = "bareboxenv"; - reg = <0x60000 0x20000>; - }; - - bareboxenv2@80000 { - label = "bareboxenv2"; - reg = <0x80000 0x20000>; - }; - - kernel@a0000 { - label = "kernel"; - reg = <0xa0000 0x400000>; - }; - - rootfs@4a0000 { - label = "rootfs"; - reg = <0x4a0000 0x7800000>; - }; - - data@7ca0000 { - label = "data"; - reg = <0x7ca0000 0x8360000>; - }; - }; - - usb0: ohci@00500000 { - num-ports = <2>; - status = "okay"; - }; - }; - - leds { - compatible = "gpio-leds"; - - user_led { - label = "user_led"; - gpios = <&pioB 21 1>; - linux,default-trigger = "heartbeat"; - }; - }; - - gpio_keys { - compatible = "gpio-keys"; - #address-cells = <1>; - #size-cells = <0>; - - user_pb { - label = "user_pb"; - gpios = <&pioB 10 1>; - linux,code = <28>; - gpio-key,wakeup; - }; - }; - - i2c@0 { - status = "okay"; - - rv3029c2@56 { - compatible = "rv3029c2"; - reg = <0x56>; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/versatile-ab.dts b/kernel/arch/arm/boot/dts/m7300-un-v1/versatile-ab.dts deleted file mode 100755 index e2fe3195c..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/versatile-ab.dts +++ /dev/null @@ -1,192 +0,0 @@ -/dts-v1/; -/include/ "skeleton.dtsi" - -/ { - model = "ARM Versatile AB"; - compatible = "arm,versatile-ab"; - #address-cells = <1>; - #size-cells = <1>; - interrupt-parent = <&vic>; - - aliases { - serial0 = &uart0; - serial1 = &uart1; - serial2 = &uart2; - i2c0 = &i2c0; - }; - - memory { - reg = <0x0 0x08000000>; - }; - - flash@34000000 { - compatible = "arm,versatile-flash"; - reg = <0x34000000 0x4000000>; - bank-width = <4>; - }; - - i2c0: i2c@10002000 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "arm,versatile-i2c"; - reg = <0x10002000 0x1000>; - - rtc@68 { - compatible = "dallas,ds1338"; - reg = <0x68>; - }; - }; - - net@10010000 { - compatible = "smsc,lan91c111"; - reg = <0x10010000 0x10000>; - interrupts = <25>; - }; - - lcd@10008000 { - compatible = "arm,versatile-lcd"; - reg = <0x10008000 0x1000>; - }; - - amba { - compatible = "arm,amba-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - - vic: intc@10140000 { - compatible = "arm,versatile-vic"; - interrupt-controller; - #interrupt-cells = <1>; - reg = <0x10140000 0x1000>; - }; - - sic: intc@10003000 { - compatible = "arm,versatile-sic"; - interrupt-controller; - #interrupt-cells = <1>; - reg = <0x10003000 0x1000>; - interrupt-parent = <&vic>; - interrupts = <31>; /* Cascaded to vic */ - }; - - dma@10130000 { - compatible = "arm,pl081", "arm,primecell"; - reg = <0x10130000 0x1000>; - interrupts = <17>; - }; - - uart0: uart@101f1000 { - compatible = "arm,pl011", "arm,primecell"; - reg = <0x101f1000 0x1000>; - interrupts = <12>; - }; - - uart1: uart@101f2000 { - compatible = "arm,pl011", "arm,primecell"; - reg = <0x101f2000 0x1000>; - interrupts = <13>; - }; - - uart2: uart@101f3000 { - compatible = "arm,pl011", "arm,primecell"; - reg = <0x101f3000 0x1000>; - interrupts = <14>; - }; - - smc@10100000 { - compatible = "arm,primecell"; - reg = <0x10100000 0x1000>; - }; - - mpmc@10110000 { - compatible = "arm,primecell"; - reg = <0x10110000 0x1000>; - }; - - display@10120000 { - compatible = "arm,pl110", "arm,primecell"; - reg = <0x10120000 0x1000>; - interrupts = <16>; - }; - - sctl@101e0000 { - compatible = "arm,primecell"; - reg = <0x101e0000 0x1000>; - }; - - watchdog@101e1000 { - compatible = "arm,primecell"; - reg = <0x101e1000 0x1000>; - interrupts = <0>; - }; - - gpio0: gpio@101e4000 { - compatible = "arm,pl061", "arm,primecell"; - reg = <0x101e4000 0x1000>; - gpio-controller; - interrupts = <6>; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - gpio1: gpio@101e5000 { - compatible = "arm,pl061", "arm,primecell"; - reg = <0x101e5000 0x1000>; - interrupts = <7>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - rtc@101e8000 { - compatible = "arm,pl030", "arm,primecell"; - reg = <0x101e8000 0x1000>; - interrupts = <10>; - }; - - sci@101f0000 { - compatible = "arm,primecell"; - reg = <0x101f0000 0x1000>; - interrupts = <15>; - }; - - ssp@101f4000 { - compatible = "arm,pl022", "arm,primecell"; - reg = <0x101f4000 0x1000>; - interrupts = <11>; - }; - - fpga { - compatible = "arm,versatile-fpga", "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0 0x10000000 0x10000>; - - aaci@4000 { - compatible = "arm,primecell"; - reg = <0x4000 0x1000>; - interrupts = <24>; - }; - mmc@5000 { - compatible = "arm,primecell"; - reg = < 0x5000 0x1000>; - interrupts = <22 34>; - }; - kmi@6000 { - compatible = "arm,pl050", "arm,primecell"; - reg = <0x6000 0x1000>; - interrupt-parent = <&sic>; - interrupts = <3>; - }; - kmi@7000 { - compatible = "arm,pl050", "arm,primecell"; - reg = <0x7000 0x1000>; - interrupt-parent = <&sic>; - interrupts = <4>; - }; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/versatile-pb.dts b/kernel/arch/arm/boot/dts/m7300-un-v1/versatile-pb.dts deleted file mode 100755 index 7e8175269..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/versatile-pb.dts +++ /dev/null @@ -1,50 +0,0 @@ -/include/ "versatile-ab.dts" - -/ { - model = "ARM Versatile PB"; - compatible = "arm,versatile-pb"; - - amba { - gpio2: gpio@101e6000 { - compatible = "arm,pl061", "arm,primecell"; - reg = <0x101e6000 0x1000>; - interrupts = <8>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - gpio3: gpio@101e7000 { - compatible = "arm,pl061", "arm,primecell"; - reg = <0x101e7000 0x1000>; - interrupts = <9>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - fpga { - uart@9000 { - compatible = "arm,pl011", "arm,primecell"; - reg = <0x9000 0x1000>; - interrupt-parent = <&sic>; - interrupts = <6>; - }; - sci@a000 { - compatible = "arm,primecell"; - reg = <0xa000 0x1000>; - interrupt-parent = <&sic>; - interrupts = <5>; - }; - mmc@b000 { - compatible = "arm,primecell"; - reg = <0xb000 0x1000>; - interrupts = <23 34>; - }; - }; - }; -}; - -/include/ "testcases/tests.dtsi" diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/vexpress-v2m-rs1.dtsi b/kernel/arch/arm/boot/dts/m7300-un-v1/vexpress-v2m-rs1.dtsi deleted file mode 100755 index 16076e2d0..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/vexpress-v2m-rs1.dtsi +++ /dev/null @@ -1,201 +0,0 @@ -/* - * ARM Ltd. Versatile Express - * - * Motherboard Express uATX - * V2M-P1 - * - * HBI-0190D - * - * RS1 memory map ("ARM Cortex-A Series memory map" in the board's - * Technical Reference Manual) - * - * WARNING! The hardware described in this file is independent from the - * original variant (vexpress-v2m.dtsi), but there is a strong - * correspondence between the two configurations. - * - * TAKE CARE WHEN MAINTAINING THIS FILE TO PROPAGATE ANY RELEVANT - * CHANGES TO vexpress-v2m.dtsi! - */ - -/ { - aliases { - arm,v2m_timer = &v2m_timer01; - }; - - motherboard { - compatible = "simple-bus"; - arm,v2m-memory-map = "rs1"; - #address-cells = <2>; /* SMB chipselect number and offset */ - #size-cells = <1>; - #interrupt-cells = <1>; - - flash@0,00000000 { - compatible = "arm,vexpress-flash", "cfi-flash"; - reg = <0 0x00000000 0x04000000>, - <4 0x00000000 0x04000000>; - bank-width = <4>; - }; - - psram@1,00000000 { - compatible = "arm,vexpress-psram", "mtd-ram"; - reg = <1 0x00000000 0x02000000>; - bank-width = <4>; - }; - - vram@2,00000000 { - compatible = "arm,vexpress-vram"; - reg = <2 0x00000000 0x00800000>; - }; - - ethernet@2,02000000 { - compatible = "smsc,lan9118", "smsc,lan9115"; - reg = <2 0x02000000 0x10000>; - interrupts = <15>; - phy-mode = "mii"; - reg-io-width = <4>; - smsc,irq-active-high; - smsc,irq-push-pull; - }; - - usb@2,03000000 { - compatible = "nxp,usb-isp1761"; - reg = <2 0x03000000 0x20000>; - interrupts = <16>; - port1-otg; - }; - - iofpga@3,00000000 { - compatible = "arm,amba-bus", "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0 3 0 0x200000>; - - sysreg@010000 { - compatible = "arm,vexpress-sysreg"; - reg = <0x010000 0x1000>; - }; - - sysctl@020000 { - compatible = "arm,sp810", "arm,primecell"; - reg = <0x020000 0x1000>; - }; - - /* PCI-E I2C bus */ - v2m_i2c_pcie: i2c@030000 { - compatible = "arm,versatile-i2c"; - reg = <0x030000 0x1000>; - - #address-cells = <1>; - #size-cells = <0>; - - pcie-switch@60 { - compatible = "idt,89hpes32h8"; - reg = <0x60>; - }; - }; - - aaci@040000 { - compatible = "arm,pl041", "arm,primecell"; - reg = <0x040000 0x1000>; - interrupts = <11>; - }; - - mmci@050000 { - compatible = "arm,pl180", "arm,primecell"; - reg = <0x050000 0x1000>; - interrupts = <9 10>; - }; - - kmi@060000 { - compatible = "arm,pl050", "arm,primecell"; - reg = <0x060000 0x1000>; - interrupts = <12>; - }; - - kmi@070000 { - compatible = "arm,pl050", "arm,primecell"; - reg = <0x070000 0x1000>; - interrupts = <13>; - }; - - v2m_serial0: uart@090000 { - compatible = "arm,pl011", "arm,primecell"; - reg = <0x090000 0x1000>; - interrupts = <5>; - }; - - v2m_serial1: uart@0a0000 { - compatible = "arm,pl011", "arm,primecell"; - reg = <0x0a0000 0x1000>; - interrupts = <6>; - }; - - v2m_serial2: uart@0b0000 { - compatible = "arm,pl011", "arm,primecell"; - reg = <0x0b0000 0x1000>; - interrupts = <7>; - }; - - v2m_serial3: uart@0c0000 { - compatible = "arm,pl011", "arm,primecell"; - reg = <0x0c0000 0x1000>; - interrupts = <8>; - }; - - wdt@0f0000 { - compatible = "arm,sp805", "arm,primecell"; - reg = <0x0f0000 0x1000>; - interrupts = <0>; - }; - - v2m_timer01: timer@110000 { - compatible = "arm,sp804", "arm,primecell"; - reg = <0x110000 0x1000>; - interrupts = <2>; - }; - - v2m_timer23: timer@120000 { - compatible = "arm,sp804", "arm,primecell"; - reg = <0x120000 0x1000>; - }; - - /* DVI I2C bus */ - v2m_i2c_dvi: i2c@160000 { - compatible = "arm,versatile-i2c"; - reg = <0x160000 0x1000>; - - #address-cells = <1>; - #size-cells = <0>; - - dvi-transmitter@39 { - compatible = "sil,sii9022-tpi", "sil,sii9022"; - reg = <0x39>; - }; - - dvi-transmitter@60 { - compatible = "sil,sii9022-cpi", "sil,sii9022"; - reg = <0x60>; - }; - }; - - rtc@170000 { - compatible = "arm,pl031", "arm,primecell"; - reg = <0x170000 0x1000>; - interrupts = <4>; - }; - - compact-flash@1a0000 { - compatible = "arm,vexpress-cf", "ata-generic"; - reg = <0x1a0000 0x100 - 0x1a0100 0xf00>; - reg-shift = <2>; - }; - - clcd@1f0000 { - compatible = "arm,pl111", "arm,primecell"; - reg = <0x1f0000 0x1000>; - interrupts = <14>; - }; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/vexpress-v2m.dtsi b/kernel/arch/arm/boot/dts/m7300-un-v1/vexpress-v2m.dtsi deleted file mode 100755 index a6c9c7c82..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/vexpress-v2m.dtsi +++ /dev/null @@ -1,200 +0,0 @@ -/* - * ARM Ltd. Versatile Express - * - * Motherboard Express uATX - * V2M-P1 - * - * HBI-0190D - * - * Original memory map ("Legacy memory map" in the board's - * Technical Reference Manual) - * - * WARNING! The hardware described in this file is independent from the - * RS1 variant (vexpress-v2m-rs1.dtsi), but there is a strong - * correspondence between the two configurations. - * - * TAKE CARE WHEN MAINTAINING THIS FILE TO PROPAGATE ANY RELEVANT - * CHANGES TO vexpress-v2m-rs1.dtsi! - */ - -/ { - aliases { - arm,v2m_timer = &v2m_timer01; - }; - - motherboard { - compatible = "simple-bus"; - #address-cells = <2>; /* SMB chipselect number and offset */ - #size-cells = <1>; - #interrupt-cells = <1>; - - flash@0,00000000 { - compatible = "arm,vexpress-flash", "cfi-flash"; - reg = <0 0x00000000 0x04000000>, - <1 0x00000000 0x04000000>; - bank-width = <4>; - }; - - psram@2,00000000 { - compatible = "arm,vexpress-psram", "mtd-ram"; - reg = <2 0x00000000 0x02000000>; - bank-width = <4>; - }; - - vram@3,00000000 { - compatible = "arm,vexpress-vram"; - reg = <3 0x00000000 0x00800000>; - }; - - ethernet@3,02000000 { - compatible = "smsc,lan9118", "smsc,lan9115"; - reg = <3 0x02000000 0x10000>; - interrupts = <15>; - phy-mode = "mii"; - reg-io-width = <4>; - smsc,irq-active-high; - smsc,irq-push-pull; - }; - - usb@3,03000000 { - compatible = "nxp,usb-isp1761"; - reg = <3 0x03000000 0x20000>; - interrupts = <16>; - port1-otg; - }; - - iofpga@7,00000000 { - compatible = "arm,amba-bus", "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0 7 0 0x20000>; - - sysreg@00000 { - compatible = "arm,vexpress-sysreg"; - reg = <0x00000 0x1000>; - }; - - sysctl@01000 { - compatible = "arm,sp810", "arm,primecell"; - reg = <0x01000 0x1000>; - }; - - /* PCI-E I2C bus */ - v2m_i2c_pcie: i2c@02000 { - compatible = "arm,versatile-i2c"; - reg = <0x02000 0x1000>; - - #address-cells = <1>; - #size-cells = <0>; - - pcie-switch@60 { - compatible = "idt,89hpes32h8"; - reg = <0x60>; - }; - }; - - aaci@04000 { - compatible = "arm,pl041", "arm,primecell"; - reg = <0x04000 0x1000>; - interrupts = <11>; - }; - - mmci@05000 { - compatible = "arm,pl180", "arm,primecell"; - reg = <0x05000 0x1000>; - interrupts = <9 10>; - }; - - kmi@06000 { - compatible = "arm,pl050", "arm,primecell"; - reg = <0x06000 0x1000>; - interrupts = <12>; - }; - - kmi@07000 { - compatible = "arm,pl050", "arm,primecell"; - reg = <0x07000 0x1000>; - interrupts = <13>; - }; - - v2m_serial0: uart@09000 { - compatible = "arm,pl011", "arm,primecell"; - reg = <0x09000 0x1000>; - interrupts = <5>; - }; - - v2m_serial1: uart@0a000 { - compatible = "arm,pl011", "arm,primecell"; - reg = <0x0a000 0x1000>; - interrupts = <6>; - }; - - v2m_serial2: uart@0b000 { - compatible = "arm,pl011", "arm,primecell"; - reg = <0x0b000 0x1000>; - interrupts = <7>; - }; - - v2m_serial3: uart@0c000 { - compatible = "arm,pl011", "arm,primecell"; - reg = <0x0c000 0x1000>; - interrupts = <8>; - }; - - wdt@0f000 { - compatible = "arm,sp805", "arm,primecell"; - reg = <0x0f000 0x1000>; - interrupts = <0>; - }; - - v2m_timer01: timer@11000 { - compatible = "arm,sp804", "arm,primecell"; - reg = <0x11000 0x1000>; - interrupts = <2>; - }; - - v2m_timer23: timer@12000 { - compatible = "arm,sp804", "arm,primecell"; - reg = <0x12000 0x1000>; - }; - - /* DVI I2C bus */ - v2m_i2c_dvi: i2c@16000 { - compatible = "arm,versatile-i2c"; - reg = <0x16000 0x1000>; - - #address-cells = <1>; - #size-cells = <0>; - - dvi-transmitter@39 { - compatible = "sil,sii9022-tpi", "sil,sii9022"; - reg = <0x39>; - }; - - dvi-transmitter@60 { - compatible = "sil,sii9022-cpi", "sil,sii9022"; - reg = <0x60>; - }; - }; - - rtc@17000 { - compatible = "arm,pl031", "arm,primecell"; - reg = <0x17000 0x1000>; - interrupts = <4>; - }; - - compact-flash@1a000 { - compatible = "arm,vexpress-cf", "ata-generic"; - reg = <0x1a000 0x100 - 0x1a100 0xf00>; - reg-shift = <2>; - }; - - clcd@1f000 { - compatible = "arm,pl111", "arm,primecell"; - reg = <0x1f000 0x1000>; - interrupts = <14>; - }; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/vexpress-v2p-ca15-tc1.dts b/kernel/arch/arm/boot/dts/m7300-un-v1/vexpress-v2p-ca15-tc1.dts deleted file mode 100755 index 941b161ab..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/vexpress-v2p-ca15-tc1.dts +++ /dev/null @@ -1,157 +0,0 @@ -/* - * ARM Ltd. Versatile Express - * - * CoreTile Express A15x2 (version with Test Chip 1) - * Cortex-A15 MPCore (V2P-CA15) - * - * HBI-0237A - */ - -/dts-v1/; - -/ { - model = "V2P-CA15"; - arm,hbi = <0x237>; - compatible = "arm,vexpress,v2p-ca15,tc1", "arm,vexpress,v2p-ca15", "arm,vexpress"; - interrupt-parent = <&gic>; - #address-cells = <1>; - #size-cells = <1>; - - chosen { }; - - aliases { - serial0 = &v2m_serial0; - serial1 = &v2m_serial1; - serial2 = &v2m_serial2; - serial3 = &v2m_serial3; - i2c0 = &v2m_i2c_dvi; - i2c1 = &v2m_i2c_pcie; - }; - - cpus { - #address-cells = <1>; - #size-cells = <0>; - - cpu@0 { - device_type = "cpu"; - compatible = "arm,cortex-a15"; - reg = <0>; - }; - - cpu@1 { - device_type = "cpu"; - compatible = "arm,cortex-a15"; - reg = <1>; - }; - }; - - memory@80000000 { - device_type = "memory"; - reg = <0x80000000 0x40000000>; - }; - - hdlcd@2b000000 { - compatible = "arm,hdlcd"; - reg = <0x2b000000 0x1000>; - interrupts = <0 85 4>; - }; - - memory-controller@2b0a0000 { - compatible = "arm,pl341", "arm,primecell"; - reg = <0x2b0a0000 0x1000>; - }; - - wdt@2b060000 { - compatible = "arm,sp805", "arm,primecell"; - reg = <0x2b060000 0x1000>; - interrupts = <98>; - }; - - gic: interrupt-controller@2c001000 { - compatible = "arm,cortex-a15-gic", "arm,cortex-a9-gic"; - #interrupt-cells = <3>; - #address-cells = <0>; - interrupt-controller; - reg = <0x2c001000 0x1000>, - <0x2c002000 0x100>; - }; - - memory-controller@7ffd0000 { - compatible = "arm,pl354", "arm,primecell"; - reg = <0x7ffd0000 0x1000>; - interrupts = <0 86 4>, - <0 87 4>; - }; - - dma@7ffb0000 { - compatible = "arm,pl330", "arm,primecell"; - reg = <0x7ffb0000 0x1000>; - interrupts = <0 92 4>, - <0 88 4>, - <0 89 4>, - <0 90 4>, - <0 91 4>; - }; - - pmu { - compatible = "arm,cortex-a15-pmu", "arm,cortex-a9-pmu"; - interrupts = <0 68 4>, - <0 69 4>; - }; - - motherboard { - ranges = <0 0 0x08000000 0x04000000>, - <1 0 0x14000000 0x04000000>, - <2 0 0x18000000 0x04000000>, - <3 0 0x1c000000 0x04000000>, - <4 0 0x0c000000 0x04000000>, - <5 0 0x10000000 0x04000000>; - - interrupt-map-mask = <0 0 63>; - interrupt-map = <0 0 0 &gic 0 0 4>, - <0 0 1 &gic 0 1 4>, - <0 0 2 &gic 0 2 4>, - <0 0 3 &gic 0 3 4>, - <0 0 4 &gic 0 4 4>, - <0 0 5 &gic 0 5 4>, - <0 0 6 &gic 0 6 4>, - <0 0 7 &gic 0 7 4>, - <0 0 8 &gic 0 8 4>, - <0 0 9 &gic 0 9 4>, - <0 0 10 &gic 0 10 4>, - <0 0 11 &gic 0 11 4>, - <0 0 12 &gic 0 12 4>, - <0 0 13 &gic 0 13 4>, - <0 0 14 &gic 0 14 4>, - <0 0 15 &gic 0 15 4>, - <0 0 16 &gic 0 16 4>, - <0 0 17 &gic 0 17 4>, - <0 0 18 &gic 0 18 4>, - <0 0 19 &gic 0 19 4>, - <0 0 20 &gic 0 20 4>, - <0 0 21 &gic 0 21 4>, - <0 0 22 &gic 0 22 4>, - <0 0 23 &gic 0 23 4>, - <0 0 24 &gic 0 24 4>, - <0 0 25 &gic 0 25 4>, - <0 0 26 &gic 0 26 4>, - <0 0 27 &gic 0 27 4>, - <0 0 28 &gic 0 28 4>, - <0 0 29 &gic 0 29 4>, - <0 0 30 &gic 0 30 4>, - <0 0 31 &gic 0 31 4>, - <0 0 32 &gic 0 32 4>, - <0 0 33 &gic 0 33 4>, - <0 0 34 &gic 0 34 4>, - <0 0 35 &gic 0 35 4>, - <0 0 36 &gic 0 36 4>, - <0 0 37 &gic 0 37 4>, - <0 0 38 &gic 0 38 4>, - <0 0 39 &gic 0 39 4>, - <0 0 40 &gic 0 40 4>, - <0 0 41 &gic 0 41 4>, - <0 0 42 &gic 0 42 4>; - }; -}; - -/include/ "vexpress-v2m-rs1.dtsi" diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/vexpress-v2p-ca5s.dts b/kernel/arch/arm/boot/dts/m7300-un-v1/vexpress-v2p-ca5s.dts deleted file mode 100755 index 6905e66d4..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/vexpress-v2p-ca5s.dts +++ /dev/null @@ -1,162 +0,0 @@ -/* - * ARM Ltd. Versatile Express - * - * CoreTile Express A5x2 - * Cortex-A5 MPCore (V2P-CA5s) - * - * HBI-0225B - */ - -/dts-v1/; - -/ { - model = "V2P-CA5s"; - arm,hbi = <0x225>; - compatible = "arm,vexpress,v2p-ca5s", "arm,vexpress"; - interrupt-parent = <&gic>; - #address-cells = <1>; - #size-cells = <1>; - - chosen { }; - - aliases { - serial0 = &v2m_serial0; - serial1 = &v2m_serial1; - serial2 = &v2m_serial2; - serial3 = &v2m_serial3; - i2c0 = &v2m_i2c_dvi; - i2c1 = &v2m_i2c_pcie; - }; - - cpus { - #address-cells = <1>; - #size-cells = <0>; - - cpu@0 { - device_type = "cpu"; - compatible = "arm,cortex-a5"; - reg = <0>; - next-level-cache = <&L2>; - }; - - cpu@1 { - device_type = "cpu"; - compatible = "arm,cortex-a5"; - reg = <1>; - next-level-cache = <&L2>; - }; - }; - - memory@80000000 { - device_type = "memory"; - reg = <0x80000000 0x40000000>; - }; - - hdlcd@2a110000 { - compatible = "arm,hdlcd"; - reg = <0x2a110000 0x1000>; - interrupts = <0 85 4>; - }; - - memory-controller@2a150000 { - compatible = "arm,pl341", "arm,primecell"; - reg = <0x2a150000 0x1000>; - }; - - memory-controller@2a190000 { - compatible = "arm,pl354", "arm,primecell"; - reg = <0x2a190000 0x1000>; - interrupts = <0 86 4>, - <0 87 4>; - }; - - scu@2c000000 { - compatible = "arm,cortex-a5-scu"; - reg = <0x2c000000 0x58>; - }; - - timer@2c000600 { - compatible = "arm,cortex-a5-twd-timer"; - reg = <0x2c000600 0x38>; - interrupts = <1 2 0x304>, - <1 3 0x304>; - }; - - gic: interrupt-controller@2c001000 { - compatible = "arm,corex-a5-gic", "arm,cortex-a9-gic"; - #interrupt-cells = <3>; - #address-cells = <0>; - interrupt-controller; - reg = <0x2c001000 0x1000>, - <0x2c000100 0x100>; - }; - - L2: cache-controller@2c0f0000 { - compatible = "arm,pl310-cache"; - reg = <0x2c0f0000 0x1000>; - interrupts = <0 84 4>; - cache-level = <2>; - }; - - pmu { - compatible = "arm,cortex-a5-pmu", "arm,cortex-a9-pmu"; - interrupts = <0 68 4>, - <0 69 4>; - }; - - motherboard { - ranges = <0 0 0x08000000 0x04000000>, - <1 0 0x14000000 0x04000000>, - <2 0 0x18000000 0x04000000>, - <3 0 0x1c000000 0x04000000>, - <4 0 0x0c000000 0x04000000>, - <5 0 0x10000000 0x04000000>; - - interrupt-map-mask = <0 0 63>; - interrupt-map = <0 0 0 &gic 0 0 4>, - <0 0 1 &gic 0 1 4>, - <0 0 2 &gic 0 2 4>, - <0 0 3 &gic 0 3 4>, - <0 0 4 &gic 0 4 4>, - <0 0 5 &gic 0 5 4>, - <0 0 6 &gic 0 6 4>, - <0 0 7 &gic 0 7 4>, - <0 0 8 &gic 0 8 4>, - <0 0 9 &gic 0 9 4>, - <0 0 10 &gic 0 10 4>, - <0 0 11 &gic 0 11 4>, - <0 0 12 &gic 0 12 4>, - <0 0 13 &gic 0 13 4>, - <0 0 14 &gic 0 14 4>, - <0 0 15 &gic 0 15 4>, - <0 0 16 &gic 0 16 4>, - <0 0 17 &gic 0 17 4>, - <0 0 18 &gic 0 18 4>, - <0 0 19 &gic 0 19 4>, - <0 0 20 &gic 0 20 4>, - <0 0 21 &gic 0 21 4>, - <0 0 22 &gic 0 22 4>, - <0 0 23 &gic 0 23 4>, - <0 0 24 &gic 0 24 4>, - <0 0 25 &gic 0 25 4>, - <0 0 26 &gic 0 26 4>, - <0 0 27 &gic 0 27 4>, - <0 0 28 &gic 0 28 4>, - <0 0 29 &gic 0 29 4>, - <0 0 30 &gic 0 30 4>, - <0 0 31 &gic 0 31 4>, - <0 0 32 &gic 0 32 4>, - <0 0 33 &gic 0 33 4>, - <0 0 34 &gic 0 34 4>, - <0 0 35 &gic 0 35 4>, - <0 0 36 &gic 0 36 4>, - <0 0 37 &gic 0 37 4>, - <0 0 38 &gic 0 38 4>, - <0 0 39 &gic 0 39 4>, - <0 0 40 &gic 0 40 4>, - <0 0 41 &gic 0 41 4>, - <0 0 42 &gic 0 42 4>; - }; -}; - -/include/ "vexpress-v2m-rs1.dtsi" diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/vexpress-v2p-ca9.dts b/kernel/arch/arm/boot/dts/m7300-un-v1/vexpress-v2p-ca9.dts deleted file mode 100755 index da778693b..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/vexpress-v2p-ca9.dts +++ /dev/null @@ -1,192 +0,0 @@ -/* - * ARM Ltd. Versatile Express - * - * CoreTile Express A9x4 - * Cortex-A9 MPCore (V2P-CA9) - * - * HBI-0191B - */ - -/dts-v1/; - -/ { - model = "V2P-CA9"; - arm,hbi = <0x191>; - compatible = "arm,vexpress,v2p-ca9", "arm,vexpress"; - interrupt-parent = <&gic>; - #address-cells = <1>; - #size-cells = <1>; - - chosen { }; - - aliases { - serial0 = &v2m_serial0; - serial1 = &v2m_serial1; - serial2 = &v2m_serial2; - serial3 = &v2m_serial3; - i2c0 = &v2m_i2c_dvi; - i2c1 = &v2m_i2c_pcie; - }; - - cpus { - #address-cells = <1>; - #size-cells = <0>; - - cpu@0 { - device_type = "cpu"; - compatible = "arm,cortex-a9"; - reg = <0>; - next-level-cache = <&L2>; - }; - - cpu@1 { - device_type = "cpu"; - compatible = "arm,cortex-a9"; - reg = <1>; - next-level-cache = <&L2>; - }; - - cpu@2 { - device_type = "cpu"; - compatible = "arm,cortex-a9"; - reg = <2>; - next-level-cache = <&L2>; - }; - - cpu@3 { - device_type = "cpu"; - compatible = "arm,cortex-a9"; - reg = <3>; - next-level-cache = <&L2>; - }; - }; - - memory@60000000 { - device_type = "memory"; - reg = <0x60000000 0x40000000>; - }; - - clcd@10020000 { - compatible = "arm,pl111", "arm,primecell"; - reg = <0x10020000 0x1000>; - interrupts = <0 44 4>; - }; - - memory-controller@100e0000 { - compatible = "arm,pl341", "arm,primecell"; - reg = <0x100e0000 0x1000>; - }; - - memory-controller@100e1000 { - compatible = "arm,pl354", "arm,primecell"; - reg = <0x100e1000 0x1000>; - interrupts = <0 45 4>, - <0 46 4>; - }; - - timer@100e4000 { - compatible = "arm,sp804", "arm,primecell"; - reg = <0x100e4000 0x1000>; - interrupts = <0 48 4>, - <0 49 4>; - }; - - watchdog@100e5000 { - compatible = "arm,sp805", "arm,primecell"; - reg = <0x100e5000 0x1000>; - interrupts = <0 51 4>; - }; - - scu@1e000000 { - compatible = "arm,cortex-a9-scu"; - reg = <0x1e000000 0x58>; - }; - - timer@1e000600 { - compatible = "arm,cortex-a9-twd-timer"; - reg = <0x1e000600 0x20>; - interrupts = <1 2 0xf04>, - <1 3 0xf04>; - }; - - gic: interrupt-controller@1e001000 { - compatible = "arm,cortex-a9-gic"; - #interrupt-cells = <3>; - #address-cells = <0>; - interrupt-controller; - reg = <0x1e001000 0x1000>, - <0x1e000100 0x100>; - }; - - L2: cache-controller@1e00a000 { - compatible = "arm,pl310-cache"; - reg = <0x1e00a000 0x1000>; - interrupts = <0 43 4>; - cache-level = <2>; - arm,data-latency = <1 1 1>; - arm,tag-latency = <1 1 1>; - }; - - pmu { - compatible = "arm,cortex-a9-pmu"; - interrupts = <0 60 4>, - <0 61 4>, - <0 62 4>, - <0 63 4>; - }; - - motherboard { - ranges = <0 0 0x40000000 0x04000000>, - <1 0 0x44000000 0x04000000>, - <2 0 0x48000000 0x04000000>, - <3 0 0x4c000000 0x04000000>, - <7 0 0x10000000 0x00020000>; - - interrupt-map-mask = <0 0 63>; - interrupt-map = <0 0 0 &gic 0 0 4>, - <0 0 1 &gic 0 1 4>, - <0 0 2 &gic 0 2 4>, - <0 0 3 &gic 0 3 4>, - <0 0 4 &gic 0 4 4>, - <0 0 5 &gic 0 5 4>, - <0 0 6 &gic 0 6 4>, - <0 0 7 &gic 0 7 4>, - <0 0 8 &gic 0 8 4>, - <0 0 9 &gic 0 9 4>, - <0 0 10 &gic 0 10 4>, - <0 0 11 &gic 0 11 4>, - <0 0 12 &gic 0 12 4>, - <0 0 13 &gic 0 13 4>, - <0 0 14 &gic 0 14 4>, - <0 0 15 &gic 0 15 4>, - <0 0 16 &gic 0 16 4>, - <0 0 17 &gic 0 17 4>, - <0 0 18 &gic 0 18 4>, - <0 0 19 &gic 0 19 4>, - <0 0 20 &gic 0 20 4>, - <0 0 21 &gic 0 21 4>, - <0 0 22 &gic 0 22 4>, - <0 0 23 &gic 0 23 4>, - <0 0 24 &gic 0 24 4>, - <0 0 25 &gic 0 25 4>, - <0 0 26 &gic 0 26 4>, - <0 0 27 &gic 0 27 4>, - <0 0 28 &gic 0 28 4>, - <0 0 29 &gic 0 29 4>, - <0 0 30 &gic 0 30 4>, - <0 0 31 &gic 0 31 4>, - <0 0 32 &gic 0 32 4>, - <0 0 33 &gic 0 33 4>, - <0 0 34 &gic 0 34 4>, - <0 0 35 &gic 0 35 4>, - <0 0 36 &gic 0 36 4>, - <0 0 37 &gic 0 37 4>, - <0 0 38 &gic 0 38 4>, - <0 0 39 &gic 0 39 4>, - <0 0 40 &gic 0 40 4>, - <0 0 41 &gic 0 41 4>, - <0 0 42 &gic 0 42 4>; - }; -}; - -/include/ "vexpress-v2m.dtsi" diff --git a/kernel/arch/arm/boot/dts/m7300-un-v1/zynq-ep107.dts b/kernel/arch/arm/boot/dts/m7300-un-v1/zynq-ep107.dts deleted file mode 100755 index 37ca192fb..000000000 --- a/kernel/arch/arm/boot/dts/m7300-un-v1/zynq-ep107.dts +++ /dev/null @@ -1,52 +0,0 @@ -/* - * Copyright (C) 2011 Xilinx - * - * This software is licensed under the terms of the GNU General Public - * License version 2, as published by the Free Software Foundation, and - * may be copied, distributed, and modified under those terms. - * - * 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. - */ - -/dts-v1/; -/ { - model = "Xilinx Zynq EP107"; - compatible = "xlnx,zynq-ep107"; - #address-cells = <1>; - #size-cells = <1>; - interrupt-parent = <&intc>; - - memory { - device_type = "memory"; - reg = <0x0 0x10000000>; - }; - - chosen { - bootargs = "console=ttyPS0,9600 root=/dev/ram rw initrd=0x800000,8M earlyprintk"; - linux,stdout-path = &uart0; - }; - - amba { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - - intc: interrupt-controller@f8f01000 { - interrupt-controller; - compatible = "arm,gic"; - reg = <0xF8F01000 0x1000>; - #interrupt-cells = <2>; - }; - - uart0: uart@e0000000 { - compatible = "xlnx,xuartps"; - reg = <0xE0000000 0x1000>; - interrupts = <59 0>; - clock = <50000000>; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/am3517_mt_ventoux.dts b/kernel/arch/arm/boot/dts/m7350-un-v1/am3517_mt_ventoux.dts deleted file mode 100644 index 5eb26d7d9..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/am3517_mt_ventoux.dts +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Copyright (C) 2011 Ilya Yanok, EmCraft Systems - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. - */ -/dts-v1/; - -/include/ "omap3.dtsi" - -/ { - model = "TeeJet Mt.Ventoux"; - compatible = "teejet,mt_ventoux", "ti,omap3"; - - memory { - device_type = "memory"; - reg = <0x80000000 0x10000000>; /* 256 MB */ - }; - - /* AM35xx doesn't have IVA */ - soc { - iva { - status = "disabled"; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/apq8026-mtp.dts b/kernel/arch/arm/boot/dts/m7350-un-v1/apq8026-mtp.dts deleted file mode 100644 index e14a68568..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/apq8026-mtp.dts +++ /dev/null @@ -1,22 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - - -/dts-v1/; -/include/ "apq8026.dtsi" -/include/ "msm8226-mtp.dtsi" - -/ { - model = "Qualcomm APQ 8026 MTP"; - compatible = "qcom,apq8026-mtp", "qcom,apq8026", "qcom,mtp"; - qcom,msm-id = <199 8 0>; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/apq8026-xpm.dts b/kernel/arch/arm/boot/dts/m7350-un-v1/apq8026-xpm.dts deleted file mode 100644 index 67152af2d..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/apq8026-xpm.dts +++ /dev/null @@ -1,22 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - - -/dts-v1/; -/include/ "apq8026.dtsi" -/include/ "msm8226-cdp.dtsi" - -/ { - model = "Qualcomm APQ 8026 XPM"; - compatible = "qcom,apq8026-xpm", "qcom,apq8026", "qcom,xpm"; - qcom,msm-id = <199 14 0>; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/apq8026.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v1/apq8026.dtsi deleted file mode 100644 index db6576a0d..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/apq8026.dtsi +++ /dev/null @@ -1,24 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/* - * Only 8026-specific property overrides should be placed inside this - * file. Device definitions should be placed inside the msm8226.dtsi - * file. - */ - -/include/ "msm8226.dtsi" - -/ { - model = "Qualcomm APQ 8026"; - compatible = "qcom,apq8026"; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/apq8074-dragonboard.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v1/apq8074-dragonboard.dtsi deleted file mode 100644 index 6b4d1d339..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/apq8074-dragonboard.dtsi +++ /dev/null @@ -1,654 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/include/ "dsi-panel-sharp-qhd-video.dtsi" -/include/ "msm8974-camera-sensor-dragonboard.dtsi" -/include/ "msm8974-leds.dtsi" - -&soc { - serial@f991e000 { - status = "ok"; - }; - - qcom,mdss_dsi_sharp_qhd_video { - status = "ok"; - }; - - qcom,hdmi_tx@fd922100 { - status = "ok"; - }; - - gpio_keys { - compatible = "gpio-keys"; - input-name = "gpio-keys"; - - vol_up { - label = "volume_up"; - gpios = <&pm8941_gpios 5 0x1>; - linux,input-type = <1>; - linux,code = <115>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - - general { - label = "general"; - gpios = <&pm8941_gpios 23 0x1>; - linux,input-type = <1>; - linux,code = <102>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - }; - - bt_ar3002 { - compatible = "qca,ar3002"; - qca,bt-reset-gpio = <&pm8941_gpios 34 0>; - }; - - hsic_hub { - compatible = "qcom,hsic-smsc-hub"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - smsc,reset-gpio = <&pm8941_gpios 8 0x00>; - - hsic_host: hsic@f9a00000 { - compatible = "qcom,hsic-host"; - reg = <0xf9a00000 0x400>; - #address-cells = <0>; - interrupt-parent = <&hsic_host>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 136 0 - 1 &intc 0 148 0 - 2 &msmgpio 144 0x8>; - interrupt-names = "core_irq", "async_irq", "wakeup"; - HSIC_VDDCX-supply = <&pm8841_s2>; - HSIC_GDSC-supply = <&gdsc_usb_hsic>; - hsic,strobe-gpio = <&msmgpio 144 0x00>; - hsic,data-gpio = <&msmgpio 145 0x00>; - hsic,ignore-cal-pad-config; - hsic,strobe-pad-offset = <0x2050>; - hsic,data-pad-offset = <0x2054>; - - qcom,msm-bus,name = "hsic"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,active-only = <0>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <85 512 0 0>, - <85 512 40000 160000>; - }; - }; - - i2c@f9923000 { - status = "ok"; - atmel_mxt_ts@4a { - compatible = "atmel,mxt-ts"; - reg = <0x4a>; - interrupt-parent = <&msmgpio>; - interrupts = <61 0x2>; - vdd_ana-supply = <&pm8941_l18>; - vcc_i2c-supply = <&pm8941_s3>; - atmel,reset-gpio = <&msmgpio 60 0x00>; - atmel,irq-gpio = <&msmgpio 61 0x00>; - atmel,panel-coords = <0 0 566 1067>; - atmel,display-coords = <0 0 540 960>; - atmel,i2c-pull-up; - atmel,cfg_1 { - atmel,family-id = <0x81>; - atmel,variant-id = <0x19>; - atmel,version = <0x10>; - atmel,build = <0xaa>; - atmel,config = [ - /* Object 38, Instance = 0 */ - 0F 02 00 17 04 0C 00 00 - /* Object 7, Instance = 0 */ - 30 FF 19 - /* Object 8, Instance = 0 */ - 1B 00 05 01 00 00 08 08 00 00 - /* Object 9, Instance = 0 */ - 83 00 00 13 0B 00 10 23 01 03 - 0A 0F 01 0B 04 05 28 0A 2B 04 - 36 02 00 00 00 00 8F 28 8F 50 - 12 0F 32 32 02 - /* Object 15, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 - /* Object 18, Instance = 0 */ - 00 00 - /* Object 19, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 - /* Object 23, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 - /* Object 25, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 - /* Object 40, Instance = 0 */ - 00 00 00 00 00 - /* Object 42, Instance = 0 */ - 00 00 00 00 00 00 00 00 - /* Object 46, Instance = 0 */ - 00 03 10 30 00 00 01 00 00 - /* Object 47, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - /* Object 48, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 - ]; - }; - }; - }; - - gen-vkeys { - compatible = "qcom,gen-vkeys"; - label = "atmel_mxt_ts"; - qcom,disp-maxx = <540>; - qcom,disp-maxy = <960>; - qcom,panel-maxx = <566>; - qcom,panel-maxy = <1067>; - qcom,key-codes = <158 139 102 217>; - }; - - sound { - qcom,model = "apq8074-taiko-db-snd-card"; - qcom,hdmi-audio-rx; - - qcom,audio-routing = - "RX_BIAS", "MCLK", - "LDO_H", "MCLK", - "AMIC1", "MIC BIAS1 External", - "MIC BIAS1 External", "Analog Mic4", - "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", - "AMIC5", "MIC BIAS1 External", - "MIC BIAS1 External", "Analog Mic6", - "AMIC6", "MIC BIAS1 External", - "MIC BIAS1 External", "Analog Mic7", - "DMIC1", "MIC BIAS3 External", - "MIC BIAS3 External", "Digital Mic1", - "DMIC2", "MIC BIAS3 External", - "MIC BIAS3 External", "Digital Mic2", - "DMIC3", "MIC BIAS4 External", - "MIC BIAS4 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"; - }; - - qcom,pronto@fb21b000 { - status = "disabled"; - }; - - qcom,iris-fm { - status = "disabled"; - }; - - qcom,wcnss-wlan@fb000000 { - status = "disabled"; - }; - - qcom,smd-wcnss { - status = "disabled"; - }; - - qcom,smsm-wcnss { - status = "disabled"; - }; -}; - -&mdss_fb0 { - qcom,memory-reservation-size = <0x1000000>; /* size 16MB */ -}; - -&sdcc3 { - qcom,sup-voltages = <2000 2000>; - status = "ok"; -}; - -&pm8941_l19 { - regulator-min-microvolt = <3300000>; - regulator-max-microvolt = <3300000>; - qcom,init-voltage = <3300000>; - regulator-always-on; -}; - -&pm8941_l10 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - regulator-always-on; -}; - -&uart7 { - status = "ok"; - qcom,tx-gpio = <&msmgpio 41 0x00>; - qcom,rx-gpio = <&msmgpio 42 0x00>; - qcom,cts-gpio = <&msmgpio 43 0x00>; - qcom,rfr-gpio = <&msmgpio 44 0x00>; -}; - -&usb_otg { - status = "ok"; - qcom,hsusb-otg-otg-control = <2>; - qcom,hsusb-otg-mode = <3>; - vbus_otg-supply = <&pm8941_mvs1>; - qcom,usb2-enable-hsphy2; - qcom,dp-manual-pullup; - - #address-cells = <0>; - interrupt-parent = <&usb_otg>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 134 0 - 1 &intc 0 140 0 - 2 &spmi_bus 0x0 0x0 0x9 0x0>; - interrupt-names = "core_irq", "async_irq", "pmic_id_irq"; -}; - -&usb3 { - qcom,charging-disabled; - vbus_dwc3-supply = <0>; - dwc3@f9200000 { - host-only-mode; - }; -}; - -&slim_msm { - taiko_codec { - qcom,cdc-micbias2-ext-cap; - qcom,cdc-micbias3-ext-cap; - }; -}; - -&pm8941_gpios { - gpio@c000 { /* GPIO 1 */ - qcom,mode = <0>; - qcom,pull = <0>; - qcom,vin-sel = <2>; - qcom,src-sel = <0>; - }; - - gpio@c100 { /* GPIO 2 */ - qcom,mode = <0>; - qcom,pull = <0>; - qcom,vin-sel = <2>; - qcom,src-sel = <0>; - }; - - gpio@c200 { /* GPIO 3 */ - }; - - gpio@c300 { /* GPIO 4 */ - }; - - gpio@c400 { /* GPIO 5 */ - qcom,mode = <0>; - qcom,pull = <0>; - qcom,vin-sel = <2>; - qcom,src-sel = <0>; - }; - - gpio@c500 { /* GPIO 6 */ - /* TUSB3_HUB-RESET */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,output-type = <0>; /* QPNP_PIN_OUT_BUF_CMOS */ - qcom,pull = <0>; /* QPNP_PIN_PULL_30 */ - qcom,vin-sel = <0>; /* QPNP_PIN_VIN0 VPH */ - qcom,out-strength = <2>; /* QPNP_PIN_OUT_STRENGTH_MED */ - qcom,src-sel = <0>; /* QPNP_PIN_SEL_FUNC_CONSTANT */ - qcom,invert = <1>; /* Keep it out of reset */ - qcom,master-en = <1>; - }; - - gpio@c600 { /* GPIO 7 */ - }; - - gpio@c700 { /* GPIO 8 */ - /* HSIC_HUB-RESET */ - qcom,mode = <1>; /* DIG_OUT */ - qcom,pull = <5>; /* PULL_NO */ - qcom,out-strength = <2>; /* STRENGTH_MED */ - qcom,master-en = <1>; - }; - - gpio@c800 { /* GPIO 9 */ - /* GbE_RST_N */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,output-type = <0>; /* QPNP_PIN_OUT_BUF_CMOS */ - qcom,pull = <0>; /* QPNP_PIN_PULL_30 */ - qcom,vin-sel = <0>; /* QPNP_PIN_VIN0 VPH */ - qcom,out-strength = <2>; /* QPNP_PIN_OUT_STRENGTH_MED */ - qcom,src-sel = <0>; /* QPNP_PIN_SEL_FUNC_CONSTANT */ - qcom,invert = <1>; /* Keep it out of reset */ - qcom,master-en = <1>; - }; - - gpio@c900 { /* GPIO 10 */ - /* SATA_RST_N */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,output-type = <0>; /* QPNP_PIN_OUT_BUF_CMOS */ - qcom,pull = <0>; /* QPNP_PIN_PULL_30 */ - qcom,vin-sel = <0>; /* QPNP_PIN_VIN0 VPH */ - qcom,out-strength = <2>; /* QPNP_PIN_OUT_STRENGTH_MED */ - qcom,src-sel = <0>; /* QPNP_PIN_SEL_FUNC_CONSTANT */ - qcom,invert = <1>; /* Keep it out of reset */ - qcom,master-en = <1>; - }; - - gpio@ca00 { /* GPIO 11 */ - }; - - gpio@cb00 { /* GPIO 12 */ - }; - - gpio@cc00 { /* GPIO 13 */ - }; - - gpio@cd00 { /* GPIO 14 */ - }; - - gpio@ce00 { /* GPIO 15 */ - qcom,mode = <1>; - qcom,output-type = <0>; - qcom,pull = <5>; - qcom,vin-sel = <2>; - qcom,out-strength = <3>; - qcom,src-sel = <2>; - qcom,master-en = <1>; - }; - - gpio@cf00 { /* GPIO 16 */ - }; - - gpio@d000 { /* GPIO 17 */ - }; - - gpio@d100 { /* GPIO 18 */ - }; - - gpio@d200 { /* GPIO 19 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,output-type = <0>; /* QPNP_PIN_OUT_BUF_CMOS */ - qcom,pull = <5>; /* QPNP_PIN_PULL_NO */ - qcom,vin-sel = <2>; /* QPNP_PIN_VIN2 */ - qcom,out-strength = <2>; /* QPNP_PIN_OUT_STRENGTH_MED */ - qcom,src-sel = <0>; /* QPNP_PIN_SEL_FUNC_CONSTANT */ - qcom,master-en = <1>; - }; - - gpio@d300 { /* GPIO 20 */ - }; - - gpio@d400 { /* GPIO 21 */ - }; - - gpio@d500 { /* GPIO 22 */ - }; - - gpio@d600 { /* GPIO 23 */ - }; - - gpio@d700 { /* GPIO 24 */ - }; - - gpio@d800 { /* GPIO 25 */ - }; - - gpio@d900 { /* GPIO 26 */ - }; - - gpio@da00 { /* GPIO 27 */ - }; - - gpio@db00 { /* GPIO 28 */ - }; - - gpio@dc00 { /* GPIO 29 */ - qcom,pull = <0>; /* set to default pull */ - qcom,master-en = <1>; - qcom,vin-sel = <2>; /* select 1.8 V source */ - }; - - gpio@dd00 { /* GPIO 30 */ - }; - - gpio@de00 { /* GPIO 31 */ - }; - - gpio@df00 { /* GPIO 32 */ - }; - - gpio@e000 { /* GPIO 33 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,output-type = <0>; /* QPNP_PIN_OUT_BUF_CMOS */ - qcom,pull = <5>; /* QPNP_PIN_PULL_NO */ - qcom,vin-sel = <2>; /* QPNP_PIN_VIN2 */ - qcom,out-strength = <2>; /* QPNP_PIN_OUT_STRENGTH_MED */ - qcom,src-sel = <0>; /* QPNP_PIN_SEL_FUNC_CONSTANT */ - qcom,invert = <1>; - qcom,master-en = <1>; - }; - - gpio@e100 { /* GPIO 34 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,output-type = <0>; /* QPNP_PIN_OUT_BUF_CMOS */ - qcom,pull = <5>; /* QPNP_PIN_PULL_NO */ - qcom,vin-sel = <2>; /* QPNP_PIN_VIN2 */ - qcom,out-strength = <2>; /* QPNP_PIN_OUT_STRENGTH_MED */ - qcom,src-sel = <0>; /* QPNP_PIN_SEL_FUNC_CONSTANT */ - qcom,invert = <0>; - qcom,master-en = <1>; - }; - - gpio@e200 { /* GPIO 35 */ - }; - - gpio@e300 { /* GPIO 36 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,output-type = <0>; /* QPNP_PIN_OUT_BUF_CMOS */ - qcom,pull = <5>; /* QPNP_PIN_PULL_NO */ - qcom,vin-sel = <2>; /* QPNP_PIN_VIN2 */ - qcom,out-strength = <3>; /* QPNP_PIN_OUT_STRENGTH_HIGH */ - qcom,src-sel = <3>; /* QPNP_PIN_SEL_FUNC_2 */ - qcom,master-en = <1>; - }; -}; - -&pm8941_mpps { - - mpp@a000 { /* MPP 1 */ - }; - - mpp@a100 { /* MPP 2 */ - }; - - mpp@a200 { /* MPP 3 */ - }; - - mpp@a300 { /* MPP 4 */ - }; - - mpp@a400 { /* MPP 5 */ - }; - - mpp@a500 { /* MPP 6 */ - }; - - mpp@a600 { /* MPP 7 */ - }; - - mpp@a700 { /* MPP 8 */ - }; -}; - -&pm8841_mpps { - - mpp@a000 { /* MPP 1 */ - }; - - mpp@a100 { /* MPP 2 */ - }; - - mpp@a200 { /* MPP 3*/ - }; - - mpp@a300 { /* MPP 4*/ - }; -}; - -&spi_epm { - epm-adc@0 { - compatible = "cy,epm-adc-cy8c5568lti-114"; - reg = <0>; - interrupt-parent = <&msmgpio>; - spi-max-frequency = <960000>; - qcom,channels = <31>; - qcom,gain = <50 50 50 50 50 100 50 50 50 50 - 50 50 50 50 100 50 50 50 50 100 - 50 50 50 100 50 50 50 1 1 1 - 1>; - qcom,rsense = <40 10 10 25 10 1000 75 25 10 25 - 33 500 200 10 500 100 33 200 25 100 - 75 500 50 200 5 5 3 1 1 1 - 1>; - qcom,channel-type = <0xf0000000>; - }; -}; - -&spmi_bus { - qcom,pm8941@1 { - qcom,leds@d000 { - qcom,rgb_2 { - status = "ok"; - qcom,default-state = "on"; - qcom,turn-off-delay-ms = <1000>; - }; - }; - - qcom,leds@d800 { - status = "okay"; - qcom,wled_0 { - label = "wled"; - linux,name = "wled:backlight"; - linux,default-trigger = "bkl-trigger"; - qcom,cs-out-en; - qcom,op-fdbck = <1>; - qcom,default-state = "on"; - qcom,max-current = <20>; - qcom,ctrl-delay-us = <0>; - qcom,boost-curr-lim = <3>; - qcom,cp-sel = <0>; - qcom,switch-freq = <2>; - qcom,ovp-val = <1>; - qcom,num-strings = <1>; - qcom,id = <0>; - }; - }; - }; -}; - -&pm8941_chg { - status = "ok"; - - qcom,charging-disabled; - - qcom,chgr@1000 { - status = "ok"; - }; - - qcom,buck@1100 { - status = "ok"; - }; - - qcom,usb-chgpth@1300 { - status = "ok"; - }; - - qcom,dc-chgpth@1400 { - status = "ok"; - }; - - qcom,boost@1500 { - status = "ok"; - }; - - qcom,chg-misc@1600 { - status = "ok"; - }; -}; - -&sdhc_1 { - vdd-supply = <&pm8941_l20>; - vdd-io-supply = <&pm8941_s3>; - - qcom,vdd-always-on; - qcom,vdd-lpm-sup; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <800 500000>; - - qcom,vdd-io-always-on; - qcom,vdd-io-voltage-level = <1800000 1800000>; - qcom,vdd-io-current-level = <250 154000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,nonremovable; - status = "ok"; -}; - -&sdhc_2 { - #address-cells = <0>; - interrupt-parent = <&sdhc_2>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 125 0 - 1 &intc 0 221 0 - 2 &msmgpio 62 0x3>; - interrupt-names = "hc_irq", "pwr_irq", "status_irq"; - cd-gpios = <&msmgpio 62 0x1>; - - vdd-supply = <&pm8941_l21>; - vdd-io-supply = <&pm8941_l13>; - - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <9000 800000>; - - qcom,vdd-io-voltage-level = <1800000 2950000>; - qcom,vdd-io-current-level = <6 22000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - status = "ok"; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/apq8074-v1.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v1/apq8074-v1.dtsi deleted file mode 100644 index c4e7b7c3c..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/apq8074-v1.dtsi +++ /dev/null @@ -1,48 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/* - * As a general rule, only version-specific property overrides should be placed - * inside this file. However, device definitions should be placed inside the - * msm8974.dtsi file. - */ - -/include/ "msm8974-v1.dtsi" - -&soc { - qcom,qseecom@a700000 { - compatible = "qcom,qseecom"; - reg = <0x0a700000 0x500000>; - reg-names = "secapp-region"; - qcom,disk-encrypt-pipe-pair = <2>; - qcom,hlos-ce-hw-instance = <1>; - qcom,qsee-ce-hw-instance = <0>; - qcom,msm-bus,name = "qseecom-noc"; - qcom,msm-bus,num-cases = <4>; - qcom,msm-bus,active-only = <0>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <55 512 0 0>, - <55 512 3936000 393600>, - <55 512 3936000 393600>, - <55 512 3936000 393600>; - }; -}; - -&memory_hole { - qcom,memblock-remove = <0x0a700000 0x5800000>; /* Address and size of the hole */ -}; - -&qseecom { - status = "disabled"; -}; - diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/apq8074-v2-dragonboard.dts b/kernel/arch/arm/boot/dts/m7350-un-v1/apq8074-v2-dragonboard.dts deleted file mode 100644 index 5a6f5f3bf..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/apq8074-v2-dragonboard.dts +++ /dev/null @@ -1,22 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; - -/include/ "apq8074-v2.dtsi" -/include/ "apq8074-dragonboard.dtsi" - -/ { - model = "Qualcomm APQ 8074v2 DRAGONBOARD"; - compatible = "qcom,apq8074-dragonboard", "qcom,apq8074", "qcom,dragonboard"; - qcom,msm-id = <184 10 0x20000>; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/apq8074-v2-liquid.dts b/kernel/arch/arm/boot/dts/m7350-un-v1/apq8074-v2-liquid.dts deleted file mode 100644 index 4ec1cdd17..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/apq8074-v2-liquid.dts +++ /dev/null @@ -1,34 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; - -/include/ "apq8074-v2.dtsi" -/include/ "msm8974-liquid.dtsi" - -/ { - model = "Qualcomm APQ 8074v2 LIQUID"; - compatible = "qcom,apq8074-liquid", "qcom,apq8074", "qcom,liquid"; - qcom,msm-id = <184 9 0x20000>; -}; - -&usb3 { - interrupt-parent = <&usb3>; - interrupts = <0 1>; - #interrupt-cells = <1>; - interrupt-map-mask = <0x0 0xffffffff>; - interrupt-map = <0x0 0 &intc 0 133 0 - 0x0 1 &spmi_bus 0x0 0x0 0x9 0x0>; - interrupt-names = "hs_phy_irq", "pmic_id_irq"; - - qcom,misc-ref = <&pm8941_misc>; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/apq8074-v2.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v1/apq8074-v2.dtsi deleted file mode 100644 index 76eb14b96..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/apq8074-v2.dtsi +++ /dev/null @@ -1,52 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/* - * As a general rule, only version-specific property overrides should be placed - * inside this file. However, device definitions should be placed inside the - * msm8974.dtsi file. - */ - -/include/ "msm8974-v2.dtsi" - -&soc { - qcom,qseecom@a700000 { - compatible = "qcom,qseecom"; - reg = <0x0a700000 0x500000>; - reg-names = "secapp-region"; - qcom,disk-encrypt-pipe-pair = <2>; - qcom,hlos-ce-hw-instance = <1>; - qcom,qsee-ce-hw-instance = <0>; - qcom,msm-bus,name = "qseecom-noc"; - qcom,msm-bus,num-cases = <4>; - qcom,msm-bus,active-only = <0>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <55 512 0 0>, - <55 512 3936000 393600>, - <55 512 3936000 393600>, - <55 512 3936000 393600>; - }; - - sound { - compatible = "qcom,apq8074-audio-taiko"; - }; -}; - -&memory_hole { - qcom,memblock-remove = <0x0a700000 0x5800000>; /* Address and size of the hole */ -}; - -&qseecom { - status = "disabled"; -}; - diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/apq8084-ion.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v1/apq8084-ion.dtsi deleted file mode 100644 index ea954b89c..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/apq8084-ion.dtsi +++ /dev/null @@ -1,31 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -&soc { - qcom,ion { - compatible = "qcom,msm-ion"; - #address-cells = <1>; - #size-cells = <0>; - - qcom,ion-heap@30 { /* SYSTEM HEAP */ - reg = <30>; - }; - - qcom,ion-heap@21 { /* SYSTEM CONTIG HEAP */ - reg = <21>; - }; - - qcom,ion-heap@25 { /* IOMMU HEAP */ - reg = <25>; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/apq8084-regulator.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v1/apq8084-regulator.dtsi deleted file mode 100644 index 998b46906..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/apq8084-regulator.dtsi +++ /dev/null @@ -1,377 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - - -/* QPNP controlled regulators: */ - -&spmi_bus { - qcom,pma8084@1 { - pma8084_s1: regulator@1400 { - regulator-min-microvolt = <1050000>; - regulator-max-microvolt = <1050000>; - qcom,enable-time = <500>; - qcom,pull-down-enable = <1>; - regulator-always-on; - qcom,system-load = <100000>; - status = "okay"; - }; - - /* PMA8084 S2 + S12 = 2 phase VDD_CX supply */ - pma8084_s2: regulator@1700 { - regulator-min-microvolt = <1050000>; - regulator-max-microvolt = <1050000>; - qcom,enable-time = <500>; - qcom,pull-down-enable = <1>; - regulator-always-on; - qcom,system-load = <100000>; - status = "okay"; - }; - - pma8084_s3: regulator@1a00 { - regulator-min-microvolt = <1300000>; - regulator-max-microvolt = <1300000>; - qcom,enable-time = <500>; - qcom,pull-down-enable = <1>; - regulator-always-on; - qcom,system-load = <100000>; - status = "okay"; - }; - - pma8084_s4: regulator@1d00 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,enable-time = <500>; - qcom,pull-down-enable = <1>; - regulator-always-on; - qcom,system-load = <100000>; - status = "okay"; - }; - - pma8084_s5: regulator@2000 { - regulator-min-microvolt = <2150000>; - regulator-max-microvolt = <2150000>; - qcom,enable-time = <500>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - /* PMA8084 S6 + S7 = 2 phase VDD_GFX supply */ - pma8084_s6: regulator@2300 { - regulator-min-microvolt = <815000>; - regulator-max-microvolt = <900000>; - qcom,enable-time = <500>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - /* PMA8084 S8 + S9 + S10 + S11 = 4 phase VDD_APC supply */ - pma8084_s8: regulator@2900 { - regulator-min-microvolt = <500000>; - regulator-max-microvolt = <1100000>; - qcom,enable-time = <500>; - qcom,pull-down-enable = <1>; - regulator-always-on; - qcom,system-load = <100000>; - status = "okay"; - }; - - /* Output of PMA8084 L1 and L11 is tied together. */ - pma8084_l1: regulator@4000 { - parent-supply = <&pma8084_s3>; - regulator-min-microvolt = <1225000>; - regulator-max-microvolt = <1225000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - regulator-always-on; - qcom,system-load = <10000>; - status = "okay"; - }; - - pma8084_l2: regulator@4100 { - parent-supply = <&pma8084_s3>; - regulator-min-microvolt = <1200000>; - regulator-max-microvolt = <1200000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l3: regulator@4200 { - parent-supply = <&pma8084_s3>; - regulator-min-microvolt = <1225000>; - regulator-max-microvolt = <1225000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l4: regulator@4300 { - parent-supply = <&pma8084_s3>; - regulator-min-microvolt = <1000000>; - regulator-max-microvolt = <1000000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l6: regulator@4500 { - parent-supply = <&pma8084_s5>; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l8: regulator@4700 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l9: regulator@4800 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l10: regulator@4900 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l12: regulator@4b00 { - parent-supply = <&pma8084_s5>; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l13: regulator@4c00 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <2950000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l14: regulator@4d00 { - parent-supply = <&pma8084_s5>; - regulator-min-microvolt = <1225000>; - regulator-max-microvolt = <1225000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l15: regulator@4e00 { - parent-supply = <&pma8084_s5>; - regulator-min-microvolt = <1200000>; - regulator-max-microvolt = <1200000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l16: regulator@4f00 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l17: regulator@5000 { - regulator-min-microvolt = <2800000>; - regulator-max-microvolt = <2800000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l18: regulator@5100 { - regulator-min-microvolt = <2850000>; - regulator-max-microvolt = <2850000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l19: regulator@5200 { - regulator-min-microvolt = <2950000>; - regulator-max-microvolt = <2950000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l20: regulator@5300 { - regulator-min-microvolt = <2950000>; - regulator-max-microvolt = <2950000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l21: regulator@5400 { - regulator-min-microvolt = <2950000>; - regulator-max-microvolt = <2950000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l22: regulator@5500 { - regulator-min-microvolt = <3000000>; - regulator-max-microvolt = <3000000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l23: regulator@5600 { - regulator-min-microvolt = <2700000>; - regulator-max-microvolt = <2700000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l24: regulator@5700 { - regulator-min-microvolt = <3075000>; - regulator-max-microvolt = <3075000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l25: regulator@5800 { - regulator-min-microvolt = <2100000>; - regulator-max-microvolt = <2100000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l26: regulator@5900 { - parent-supply = <&pma8084_s5>; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l27: regulator@5a00 { - parent-supply = <&pma8084_s3>; - regulator-min-microvolt = <1050000>; - regulator-max-microvolt = <1050000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_lvs1: regulator@8000 { - parent-supply = <&pma8084_s4>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_lvs2: regulator@8100 { - parent-supply = <&pma8084_s4>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_lvs3: regulator@8200 { - parent-supply = <&pma8084_s4>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_lvs4: regulator@8300 { - parent-supply = <&pma8084_s4>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_mvs1: regulator@8400 { - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - }; -}; - -&rpm_bus { - rpm-regulator-smpb1 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "smpb"; - qcom,resource-id = <1>; - qcom,regulator-type = <1>; - qcom,hpm-min-load = <100000>; - - pma8084_s1_ao: regulator-s1-ao { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8084_s1_ao"; - qcom,set = <1>; - regulator-min-microvolt = <675000>; - regulator-max-microvolt = <1050000>; - }; - }; - - rpm-regulator-smpb2 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "smpb"; - qcom,resource-id = <2>; - qcom,regulator-type = <1>; - qcom,hpm-min-load = <100000>; - - pma8084_s2_corner_ao: regulator-s2-corner-ao { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8084_s2_corner_ao"; - qcom,set = <1>; - regulator-min-microvolt = <1>; - regulator-max-microvolt = <7>; - qcom,use-voltage-corner; - }; - }; - - rpm-regulator-ldoa12 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <12>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - - pma8084_l12_ao: regulator-l12-ao { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8084_l12_ao"; - qcom,set = <1>; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/apq8084-sim.dts b/kernel/arch/arm/boot/dts/m7350-un-v1/apq8084-sim.dts deleted file mode 100644 index e206d4dd0..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/apq8084-sim.dts +++ /dev/null @@ -1,173 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; - -/include/ "apq8084.dtsi" - -/ { - model = "Qualcomm APQ 8084 Simulator"; - compatible = "qcom,apq8084-sim", "qcom,apq8084", "qcom,sim"; - qcom,msm-id = <178 0 0>; - - aliases { - serial0 = &uart0; - }; -}; - -&soc { - uart0: serial@f991f000 { - status = "ok"; - }; -}; - -&sdcc1 { - qcom,vdd-always-on; - qcom,vdd-lpm-sup; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <800 500000>; - - qcom,vdd-io-always-on; - qcom,vdd-io-voltage-level = <1800000 1800000>; - qcom,vdd-io-current-level = <250 154000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 20000000 25000000 50000000 100000000 200000000>; - qcom,sup-voltages = <2950 2950>; - qcom,nonremovable; - qcom,bus-speed-mode = "HS200_1p8v", "DDR_1p8v"; - - status = "ok"; -}; - -&sdcc2 { - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <9000 800000>; - qcom,vdd-io-voltage-level = <1800000 2950000>; - qcom,vdd-io-current-level = <6 22000>; - qcom,vdd-io-lpm-sup; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 20000000 25000000 50000000 100000000 200000000>; - qcom,sup-voltages = <2950 2950>; - qcom,xpc; - qcom,bus-speed-mode = "SDR12", "SDR25", "SDR50", "DDR50", "SDR104"; - qcom,current-limit = <800>; - - status = "ok"; -}; - -&pma8084_gpios { - gpio@c000 { /* GPIO 1 */ - }; - - gpio@c100 { /* GPIO 2 */ - }; - - gpio@c200 { /* GPIO 3 */ - }; - - gpio@c300 { /* GPIO 4 */ - }; - - gpio@c400 { /* GPIO 5 */ - }; - - gpio@c500 { /* GPIO 6 */ - }; - - gpio@c600 { /* GPIO 7 */ - }; - - gpio@c700 { /* GPIO 8 */ - }; - - gpio@c800 { /* GPIO 9 */ - }; - - gpio@c900 { /* GPIO 10 */ - }; - - gpio@ca00 { /* GPIO 11 */ - }; - - gpio@cb00 { /* GPIO 12 */ - }; - - gpio@cc00 { /* GPIO 13 */ - }; - - gpio@cd00 { /* GPIO 14 */ - }; - - gpio@ce00 { /* GPIO 15 */ - }; - - gpio@cf00 { /* GPIO 16 */ - }; - - gpio@d000 { /* GPIO 17 */ - }; - - gpio@d100 { /* GPIO 18 */ - }; - - gpio@d200 { /* GPIO 19 */ - }; - - gpio@d300 { /* GPIO 20 */ - }; - - gpio@d400 { /* GPIO 21 */ - }; - - gpio@d500 { /* GPIO 22 */ - }; -}; - -&pma8084_mpps { - mpp@a000 { /* MPP 1 */ - }; - - mpp@a100 { /* MPP 2 */ - }; - - mpp@a200 { /* MPP 3 */ - }; - - mpp@a300 { /* MPP 4 */ - }; - - mpp@a400 { /* MPP 5 */ - }; - - mpp@a500 { /* MPP 6 */ - }; - - mpp@a600 { /* MPP 7 */ - }; - - mpp@a700 { /* MPP 8 */ - }; -}; - -&usb3 { - qcom,skip-charger-detection; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/apq8084-smp2p.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v1/apq8084-smp2p.dtsi deleted file mode 100644 index b1d21ffd7..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/apq8084-smp2p.dtsi +++ /dev/null @@ -1,82 +0,0 @@ -/* Copyright (c) 2013, 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. - */ -&soc { - qcom,smp2p-adsp { - compatible = "qcom,smp2p"; - reg = <0xf9011008 0x4>; - qcom,remote-pid = <2>; - qcom,irq-bitmask = <0x400>; - interrupts = <0 158 1>; - }; - - smp2pgpio_smp2p_7_in: qcom,smp2pgpio-smp2p-7-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <7>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_7_in { - compatible = "qcom,smp2pgpio_test_smp2p_7_in"; - gpios = <&smp2pgpio_smp2p_7_in 0 0>; - }; - - smp2pgpio_smp2p_7_out: qcom,smp2pgpio-smp2p-7-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <7>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_7_out { - compatible = "qcom,smp2pgpio_test_smp2p_7_out"; - gpios = <&smp2pgpio_smp2p_7_out 0 0>; - }; - - smp2pgpio_smp2p_2_in: qcom,smp2pgpio-smp2p-2-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <2>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_2_in { - compatible = "qcom,smp2pgpio_test_smp2p_2_in"; - gpios = <&smp2pgpio_smp2p_2_in 0 0>; - }; - - smp2pgpio_smp2p_2_out: qcom,smp2pgpio-smp2p-2-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <2>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_2_out { - compatible = "qcom,smp2pgpio_test_smp2p_2_out"; - gpios = <&smp2pgpio_smp2p_2_out 0 0>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/apq8084.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v1/apq8084.dtsi deleted file mode 100644 index b39f5690a..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/apq8084.dtsi +++ /dev/null @@ -1,276 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/include/ "skeleton64.dtsi" - -/ { - model = "Qualcomm APQ 8084"; - compatible = "qcom,apq8084"; - interrupt-parent = <&intc>; - soc: soc { }; -}; - -/include/ "apq8084-ion.dtsi" -/include/ "apq8084-smp2p.dtsi" - -&soc { - #address-cells = <1>; - #size-cells = <1>; - ranges = <0 0 0 0xffffffff>; - - intc: interrupt-controller@f9000000 { - compatible = "qcom,msm-qgic2"; - interrupt-controller; - #interrupt-cells = <3>; - reg = <0xF9000000 0x1000>, - <0xF9002000 0x1000>; - }; - - msmgpio: gpio@fd510000 { - compatible = "qcom,msm-gpio"; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - reg = <0xfd510000 0x4000>; - ngpio = <146>; - interrupts = <0 208 0>; - qcom,direct-connect-irqs = <8>; - }; - - timer { - compatible = "arm,armv7-timer"; - interrupts = <1 2 0 1 3 0>; - clock-frequency = <19200000>; - }; - - serial@f991f000 { - compatible = "qcom,msm-lsuart-v14"; - reg = <0xf991f000 0x1000>; - interrupts = <0 109 0>; - status = "disabled"; - }; - - qcom,cache_erp { - compatible = "qcom,cache_erp"; - interrupts = <1 9 0>, <0 2 0>; - interrupt-names = "l1_irq", "l2_irq"; - }; - - qcom,cache_dump { - compatible = "qcom,cache_dump"; - qcom,l1-dump-size = <0x100000>; - qcom,l2-dump-size = <0x500000>; - qcom,memory-reservation-type = "EBI1"; - qcom,memory-reservation-size = <0x600000>; /* 6M EBI1 buffer */ - }; - - rpm_bus: qcom,rpm-smd { - compatible = "qcom,rpm-smd"; - rpm-channel-name = "rpm_requests"; - rpm-channel-type = <15>; /* SMD_APPS_RPM */ - rpm-standalone; - }; - - qcom,msm-imem@fe805000 { - compatible = "qcom,msm-imem"; - reg = <0xfe805000 0x1000>; /* Address and size of IMEM */ - }; - - qcom,msm-rtb { - compatible = "qcom,msm-rtb"; - qcom,memory-reservation-type = "EBI1"; - qcom,memory-reservation-size = <0x100000>; /* 1M EBI1 buffer */ - }; - - sdcc1: qcom,sdcc@f9824000 { - cell-index = <1>; /* SDC1 eMMC slot */ - compatible = "qcom,msm-sdcc"; - reg = <0xf9824000 0x800>; - reg-names = "core_mem"; - interrupts = <0 123 0>; - interrupt-names = "core_irq"; - - qcom,bus-width = <8>; - status = "disabled"; - }; - - sdcc2: qcom,sdcc@f98a4000 { - cell-index = <2>; /* SDC2 SD card slot */ - compatible = "qcom,msm-sdcc"; - reg = <0xf98a4000 0x800>; - reg-names = "core_mem"; - interrupts = <0 125 0>; - interrupt-names = "core_irq"; - - - qcom,bus-width = <4>; - status = "disabled"; - }; - - qcom,sps@f9980000 { - compatible = "qcom,msm_sps"; - reg = <0xf9984000 0x15000>, - <0xf9999000 0xb000>; - interrupts = <0 94 0>; - qcom,pipe-attr-ee; - }; - - spmi_bus: qcom,spmi@fc4c0000 { - cell-index = <0>; - 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,not-wakeup; - qcom,pmic-arb-ee = <0>; - qcom,pmic-arb-channel = <0>; - #address-cells = <1>; - #size-cells = <0>; - interrupt-controller; - #interrupt-cells = <3>; - }; - - i2c_0: i2c@f9925000 { /* BLSP1 QUP3 */ - cell-index = <0>; - compatible = "qcom,i2c-qup"; - #address-cells = <1>; - #size-cells = <0>; - reg-names = "qup_phys_addr"; - reg = <0xf9925000 0x1000>; - interrupt-names = "qup_err_intr"; - interrupts = <0 97 0>; - qcom,i2c-bus-freq = <100000>; - qcom,i2c-src-freq = <50000000>; - qcom,sda-gpio = <&msmgpio 10 0>; - qcom,scl-gpio = <&msmgpio 11 0>; - }; - - usb3: qcom,ssusb@f9200000 { - compatible = "qcom,dwc-usb3-msm"; - reg = <0xf9200000 0xfc000>, - <0xfd4ab000 0x4>; - #address-cells = <1>; - #size-cells = <1>; - ranges; - interrupts = <0 133 0>; - interrupt-names = "hs_phy_irq"; - ssusb_vdd_dig-supply = <&pma8084_s1>; - SSUSB_1p8-supply = <&pma8084_l6>; - hsusb_vdd_dig-supply = <&pma8084_s1>; - HSUSB_1p8-supply = <&pma8084_l6>; - HSUSB_3p3-supply = <&pma8084_l24>; - qcom,dwc-usb3-msm-dbm-eps = <4>; - qcom,vdd-voltage-level = <0 900000 1050000>; - - dwc3@f9200000 { - compatible = "synopsys,dwc3"; - reg = <0xf9200000 0xfc000>; - interrupt-parent = <&intc>; - interrupts = <0 131 0>, <0 179 0>; - interrupt-names = "irq", "otg_irq"; - tx-fifo-resize; - }; - }; - - android_usb { - compatible = "qcom,android-usb"; - }; - - 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>; - - partition@0 { - reg = <0x0 0x180000>; - qcom,ocmem-part-name = "graphics"; - qcom,ocmem-part-min = <0x80000>; - }; - - partition@80000 { - reg = <0x180000 0x80000>; - qcom,ocmem-part-name = "lp_audio"; - qcom,ocmem-part-min = <0x80000>; - }; - - partition@100000 { - reg = <0x180000 0x80000>; - qcom,ocmem-part-name = "video"; - qcom,ocmem-part-min = <0x55000>; - }; - - }; - - memory_hole: qcom,msm-mem-hole { - compatible = "qcom,msm-mem-hole"; - qcom,memblock-remove = <0x0dc00000 0x2000000>; /* Address and Size of Hole */ - }; - - qcom,ipc-spinlock@fd484000 { - compatible = "qcom,ipc-spinlock-sfpb"; - reg = <0xfd484000 0x400>; - qcom,num-locks = <8>; - }; - - qcom,smem@fa00000 { - compatible = "qcom,smem"; - reg = <0xfa00000 0x200000>, - <0xf9011000 0x1000>, - <0xfc428000 0x4000>; - reg-names = "smem", "irq-reg-base", "aux-mem1"; - - qcom,smd-adsp { - compatible = "qcom,smd"; - qcom,smd-edge = <1>; - qcom,smd-irq-offset = <0x8>; - qcom,smd-irq-bitmask = <0x100>; - qcom,pil-string = "adsp"; - interrupts = <0 156 1>; - }; - - qcom,smsm-adsp { - compatible = "qcom,smsm"; - qcom,smsm-edge = <1>; - qcom,smsm-irq-offset = <0x8>; - qcom,smsm-irq-bitmask = <0x200>; - interrupts = <0 157 1>; - }; - - qcom,smd-rpm { - compatible = "qcom,smd"; - qcom,smd-edge = <15>; - qcom,smd-irq-offset = <0x8>; - qcom,smd-irq-bitmask = <0x1>; - interrupts = <0 168 1>; - qcom,irq-no-suspend; - }; - }; -}; - -/include/ "msm-pma8084.dtsi" -/include/ "apq8084-regulator.dtsi" diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/at91sam9g20.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v1/at91sam9g20.dtsi deleted file mode 100644 index 773ef4840..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/at91sam9g20.dtsi +++ /dev/null @@ -1,238 +0,0 @@ -/* - * at91sam9g20.dtsi - Device Tree Include file for AT91SAM9G20 family SoC - * - * Copyright (C) 2011 Atmel, - * 2011 Nicolas Ferre , - * 2011 Jean-Christophe PLAGNIOL-VILLARD - * - * Licensed under GPLv2 or later. - */ - -/include/ "skeleton.dtsi" - -/ { - model = "Atmel AT91SAM9G20 family SoC"; - compatible = "atmel,at91sam9g20"; - interrupt-parent = <&aic>; - - aliases { - serial0 = &dbgu; - serial1 = &usart0; - serial2 = &usart1; - serial3 = &usart2; - serial4 = &usart3; - serial5 = &usart4; - serial6 = &usart5; - gpio0 = &pioA; - gpio1 = &pioB; - gpio2 = &pioC; - tcb0 = &tcb0; - tcb1 = &tcb1; - }; - cpus { - cpu@0 { - compatible = "arm,arm926ejs"; - }; - }; - - memory { - reg = <0x20000000 0x08000000>; - }; - - ahb { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - - apb { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - - aic: interrupt-controller@fffff000 { - #interrupt-cells = <2>; - compatible = "atmel,at91rm9200-aic"; - interrupt-controller; - reg = <0xfffff000 0x200>; - }; - - ramc0: ramc@ffffea00 { - compatible = "atmel,at91sam9260-sdramc"; - reg = <0xffffea00 0x200>; - }; - - pmc: pmc@fffffc00 { - compatible = "atmel,at91rm9200-pmc"; - reg = <0xfffffc00 0x100>; - }; - - rstc@fffffd00 { - compatible = "atmel,at91sam9260-rstc"; - reg = <0xfffffd00 0x10>; - }; - - shdwc@fffffd10 { - compatible = "atmel,at91sam9260-shdwc"; - reg = <0xfffffd10 0x10>; - }; - - pit: timer@fffffd30 { - compatible = "atmel,at91sam9260-pit"; - reg = <0xfffffd30 0xf>; - interrupts = <1 4>; - }; - - tcb0: timer@fffa0000 { - compatible = "atmel,at91rm9200-tcb"; - reg = <0xfffa0000 0x100>; - interrupts = <17 4 18 4 19 4>; - }; - - tcb1: timer@fffdc000 { - compatible = "atmel,at91rm9200-tcb"; - reg = <0xfffdc000 0x100>; - interrupts = <26 4 27 4 28 4>; - }; - - pioA: gpio@fffff400 { - compatible = "atmel,at91rm9200-gpio"; - reg = <0xfffff400 0x100>; - interrupts = <2 4>; - #gpio-cells = <2>; - gpio-controller; - interrupt-controller; - }; - - pioB: gpio@fffff600 { - compatible = "atmel,at91rm9200-gpio"; - reg = <0xfffff600 0x100>; - interrupts = <3 4>; - #gpio-cells = <2>; - gpio-controller; - interrupt-controller; - }; - - pioC: gpio@fffff800 { - compatible = "atmel,at91rm9200-gpio"; - reg = <0xfffff800 0x100>; - interrupts = <4 4>; - #gpio-cells = <2>; - gpio-controller; - interrupt-controller; - }; - - dbgu: serial@fffff200 { - compatible = "atmel,at91sam9260-usart"; - reg = <0xfffff200 0x200>; - interrupts = <1 4>; - status = "disabled"; - }; - - usart0: serial@fffb0000 { - compatible = "atmel,at91sam9260-usart"; - reg = <0xfffb0000 0x200>; - interrupts = <6 4>; - atmel,use-dma-rx; - atmel,use-dma-tx; - status = "disabled"; - }; - - usart1: serial@fffb4000 { - compatible = "atmel,at91sam9260-usart"; - reg = <0xfffb4000 0x200>; - interrupts = <7 4>; - atmel,use-dma-rx; - atmel,use-dma-tx; - status = "disabled"; - }; - - usart2: serial@fffb8000 { - compatible = "atmel,at91sam9260-usart"; - reg = <0xfffb8000 0x200>; - interrupts = <8 4>; - atmel,use-dma-rx; - atmel,use-dma-tx; - status = "disabled"; - }; - - usart3: serial@fffd0000 { - compatible = "atmel,at91sam9260-usart"; - reg = <0xfffd0000 0x200>; - interrupts = <23 4>; - atmel,use-dma-rx; - atmel,use-dma-tx; - status = "disabled"; - }; - - usart4: serial@fffd4000 { - compatible = "atmel,at91sam9260-usart"; - reg = <0xfffd4000 0x200>; - interrupts = <24 4>; - atmel,use-dma-rx; - atmel,use-dma-tx; - status = "disabled"; - }; - - usart5: serial@fffd8000 { - compatible = "atmel,at91sam9260-usart"; - reg = <0xfffd8000 0x200>; - interrupts = <25 4>; - atmel,use-dma-rx; - atmel,use-dma-tx; - status = "disabled"; - }; - - macb0: ethernet@fffc4000 { - compatible = "cdns,at32ap7000-macb", "cdns,macb"; - reg = <0xfffc4000 0x100>; - interrupts = <21 4>; - status = "disabled"; - }; - - usb1: gadget@fffa4000 { - compatible = "atmel,at91rm9200-udc"; - reg = <0xfffa4000 0x4000>; - interrupts = <10 4>; - status = "disabled"; - }; - }; - - nand0: nand@40000000 { - compatible = "atmel,at91rm9200-nand"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0x40000000 0x10000000 - 0xffffe800 0x200 - >; - atmel,nand-addr-offset = <21>; - atmel,nand-cmd-offset = <22>; - gpios = <&pioC 13 0 - &pioC 14 0 - 0 - >; - status = "disabled"; - }; - - usb0: ohci@00500000 { - compatible = "atmel,at91rm9200-ohci", "usb-ohci"; - reg = <0x00500000 0x100000>; - interrupts = <20 4>; - status = "disabled"; - }; - }; - - i2c@0 { - compatible = "i2c-gpio"; - gpios = <&pioA 23 0 /* sda */ - &pioA 24 0 /* scl */ - >; - i2c-gpio,sda-open-drain; - i2c-gpio,scl-open-drain; - i2c-gpio,delay-us = <2>; /* ~100 kHz */ - #address-cells = <1>; - #size-cells = <0>; - status = "disabled"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/at91sam9g25ek.dts b/kernel/arch/arm/boot/dts/m7350-un-v1/at91sam9g25ek.dts deleted file mode 100644 index 7829a4d0c..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/at91sam9g25ek.dts +++ /dev/null @@ -1,49 +0,0 @@ -/* - * at91sam9g25ek.dts - Device Tree file for AT91SAM9G25-EK board - * - * Copyright (C) 2012 Atmel, - * 2012 Nicolas Ferre - * - * Licensed under GPLv2 or later. - */ -/dts-v1/; -/include/ "at91sam9x5.dtsi" -/include/ "at91sam9x5cm.dtsi" - -/ { - model = "Atmel AT91SAM9G25-EK"; - compatible = "atmel,at91sam9g25ek", "atmel,at91sam9x5ek", "atmel,at91sam9x5", "atmel,at91sam9"; - - chosen { - bootargs = "128M console=ttyS0,115200 root=/dev/mtdblock1 rw rootfstype=ubifs ubi.mtd=1 root=ubi0:rootfs"; - }; - - ahb { - apb { - dbgu: serial@fffff200 { - status = "okay"; - }; - - usart0: serial@f801c000 { - status = "okay"; - }; - - macb0: ethernet@f802c000 { - phy-mode = "rmii"; - status = "okay"; - }; - }; - - usb0: ohci@00600000 { - status = "okay"; - num-ports = <2>; - atmel,vbus-gpio = <&pioD 19 1 - &pioD 20 1 - >; - }; - - usb1: ehci@00700000 { - status = "okay"; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/at91sam9g45.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v1/at91sam9g45.dtsi deleted file mode 100644 index c8042147e..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/at91sam9g45.dtsi +++ /dev/null @@ -1,247 +0,0 @@ -/* - * at91sam9g45.dtsi - Device Tree Include file for AT91SAM9G45 family SoC - * applies to AT91SAM9G45, AT91SAM9M10, - * AT91SAM9G46, AT91SAM9M11 SoC - * - * Copyright (C) 2011 Atmel, - * 2011 Nicolas Ferre - * - * Licensed under GPLv2 or later. - */ - -/include/ "skeleton.dtsi" - -/ { - model = "Atmel AT91SAM9G45 family SoC"; - compatible = "atmel,at91sam9g45"; - interrupt-parent = <&aic>; - - aliases { - serial0 = &dbgu; - serial1 = &usart0; - serial2 = &usart1; - serial3 = &usart2; - serial4 = &usart3; - gpio0 = &pioA; - gpio1 = &pioB; - gpio2 = &pioC; - gpio3 = &pioD; - gpio4 = &pioE; - tcb0 = &tcb0; - tcb1 = &tcb1; - }; - cpus { - cpu@0 { - compatible = "arm,arm926ejs"; - }; - }; - - memory { - reg = <0x70000000 0x10000000>; - }; - - ahb { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - - apb { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - - aic: interrupt-controller@fffff000 { - #interrupt-cells = <2>; - compatible = "atmel,at91rm9200-aic"; - interrupt-controller; - reg = <0xfffff000 0x200>; - }; - - ramc0: ramc@ffffe400 { - compatible = "atmel,at91sam9g45-ddramc"; - reg = <0xffffe400 0x200 - 0xffffe600 0x200>; - }; - - pmc: pmc@fffffc00 { - compatible = "atmel,at91rm9200-pmc"; - reg = <0xfffffc00 0x100>; - }; - - rstc@fffffd00 { - compatible = "atmel,at91sam9g45-rstc"; - reg = <0xfffffd00 0x10>; - }; - - pit: timer@fffffd30 { - compatible = "atmel,at91sam9260-pit"; - reg = <0xfffffd30 0xf>; - interrupts = <1 4>; - }; - - - shdwc@fffffd10 { - compatible = "atmel,at91sam9rl-shdwc"; - reg = <0xfffffd10 0x10>; - }; - - tcb0: timer@fff7c000 { - compatible = "atmel,at91rm9200-tcb"; - reg = <0xfff7c000 0x100>; - interrupts = <18 4>; - }; - - tcb1: timer@fffd4000 { - compatible = "atmel,at91rm9200-tcb"; - reg = <0xfffd4000 0x100>; - interrupts = <18 4>; - }; - - dma: dma-controller@ffffec00 { - compatible = "atmel,at91sam9g45-dma"; - reg = <0xffffec00 0x200>; - interrupts = <21 4>; - }; - - pioA: gpio@fffff200 { - compatible = "atmel,at91rm9200-gpio"; - reg = <0xfffff200 0x100>; - interrupts = <2 4>; - #gpio-cells = <2>; - gpio-controller; - interrupt-controller; - }; - - pioB: gpio@fffff400 { - compatible = "atmel,at91rm9200-gpio"; - reg = <0xfffff400 0x100>; - interrupts = <3 4>; - #gpio-cells = <2>; - gpio-controller; - interrupt-controller; - }; - - pioC: gpio@fffff600 { - compatible = "atmel,at91rm9200-gpio"; - reg = <0xfffff600 0x100>; - interrupts = <4 4>; - #gpio-cells = <2>; - gpio-controller; - interrupt-controller; - }; - - pioD: gpio@fffff800 { - compatible = "atmel,at91rm9200-gpio"; - reg = <0xfffff800 0x100>; - interrupts = <5 4>; - #gpio-cells = <2>; - gpio-controller; - interrupt-controller; - }; - - pioE: gpio@fffffa00 { - compatible = "atmel,at91rm9200-gpio"; - reg = <0xfffffa00 0x100>; - interrupts = <5 4>; - #gpio-cells = <2>; - gpio-controller; - interrupt-controller; - }; - - dbgu: serial@ffffee00 { - compatible = "atmel,at91sam9260-usart"; - reg = <0xffffee00 0x200>; - interrupts = <1 4>; - status = "disabled"; - }; - - usart0: serial@fff8c000 { - compatible = "atmel,at91sam9260-usart"; - reg = <0xfff8c000 0x200>; - interrupts = <7 4>; - atmel,use-dma-rx; - atmel,use-dma-tx; - status = "disabled"; - }; - - usart1: serial@fff90000 { - compatible = "atmel,at91sam9260-usart"; - reg = <0xfff90000 0x200>; - interrupts = <8 4>; - atmel,use-dma-rx; - atmel,use-dma-tx; - status = "disabled"; - }; - - usart2: serial@fff94000 { - compatible = "atmel,at91sam9260-usart"; - reg = <0xfff94000 0x200>; - interrupts = <9 4>; - atmel,use-dma-rx; - atmel,use-dma-tx; - status = "disabled"; - }; - - usart3: serial@fff98000 { - compatible = "atmel,at91sam9260-usart"; - reg = <0xfff98000 0x200>; - interrupts = <10 4>; - atmel,use-dma-rx; - atmel,use-dma-tx; - status = "disabled"; - }; - - macb0: ethernet@fffbc000 { - compatible = "cdns,at32ap7000-macb", "cdns,macb"; - reg = <0xfffbc000 0x100>; - interrupts = <25 4>; - status = "disabled"; - }; - }; - - nand0: nand@40000000 { - compatible = "atmel,at91rm9200-nand"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0x40000000 0x10000000 - 0xffffe200 0x200 - >; - atmel,nand-addr-offset = <21>; - atmel,nand-cmd-offset = <22>; - gpios = <&pioC 8 0 - &pioC 14 0 - 0 - >; - status = "disabled"; - }; - - usb0: ohci@00700000 { - compatible = "atmel,at91rm9200-ohci", "usb-ohci"; - reg = <0x00700000 0x100000>; - interrupts = <22 4>; - status = "disabled"; - }; - - usb1: ehci@00800000 { - compatible = "atmel,at91sam9g45-ehci", "usb-ehci"; - reg = <0x00800000 0x100000>; - interrupts = <22 4>; - status = "disabled"; - }; - }; - - i2c@0 { - compatible = "i2c-gpio"; - gpios = <&pioA 20 0 /* sda */ - &pioA 21 0 /* scl */ - >; - i2c-gpio,sda-open-drain; - i2c-gpio,scl-open-drain; - i2c-gpio,delay-us = <5>; /* ~100 kHz */ - #address-cells = <1>; - #size-cells = <0>; - status = "disabled"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/at91sam9m10g45ek.dts b/kernel/arch/arm/boot/dts/m7350-un-v1/at91sam9m10g45ek.dts deleted file mode 100644 index a3633bd13..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/at91sam9m10g45ek.dts +++ /dev/null @@ -1,156 +0,0 @@ -/* - * at91sam9m10g45ek.dts - Device Tree file for AT91SAM9M10G45-EK board - * - * Copyright (C) 2011 Atmel, - * 2011 Nicolas Ferre - * - * Licensed under GPLv2 or later. - */ -/dts-v1/; -/include/ "at91sam9g45.dtsi" - -/ { - model = "Atmel AT91SAM9M10G45-EK"; - compatible = "atmel,at91sam9m10g45ek", "atmel,at91sam9g45", "atmel,at91sam9"; - - chosen { - bootargs = "mem=64M console=ttyS0,115200 root=/dev/mtdblock1 rw rootfstype=jffs2"; - }; - - memory { - reg = <0x70000000 0x4000000>; - }; - - clocks { - #address-cells = <1>; - #size-cells = <1>; - ranges; - - main_clock: clock@0 { - compatible = "atmel,osc", "fixed-clock"; - clock-frequency = <12000000>; - }; - }; - - ahb { - apb { - dbgu: serial@ffffee00 { - status = "okay"; - }; - - usart1: serial@fff90000 { - status = "okay"; - }; - - macb0: ethernet@fffbc000 { - phy-mode = "rmii"; - status = "okay"; - }; - }; - - nand0: nand@40000000 { - nand-bus-width = <8>; - nand-ecc-mode = "soft"; - nand-on-flash-bbt; - status = "okay"; - - boot@0 { - label = "bootstrap/uboot/kernel"; - reg = <0x0 0x400000>; - }; - - rootfs@400000 { - label = "rootfs"; - reg = <0x400000 0x3C00000>; - }; - - data@4000000 { - label = "data"; - reg = <0x4000000 0xC000000>; - }; - }; - - usb0: ohci@00700000 { - status = "okay"; - num-ports = <2>; - atmel,vbus-gpio = <&pioD 1 1 - &pioD 3 1>; - }; - - usb1: ehci@00800000 { - status = "okay"; - }; - }; - - leds { - compatible = "gpio-leds"; - - d8 { - label = "d8"; - gpios = <&pioD 30 0>; - linux,default-trigger = "heartbeat"; - }; - - d6 { - label = "d6"; - gpios = <&pioD 0 1>; - linux,default-trigger = "nand-disk"; - }; - - d7 { - label = "d7"; - gpios = <&pioD 31 1>; - linux,default-trigger = "mmc0"; - }; - }; - - gpio_keys { - compatible = "gpio-keys"; - #address-cells = <1>; - #size-cells = <0>; - - left_click { - label = "left_click"; - gpios = <&pioB 6 1>; - linux,code = <272>; - gpio-key,wakeup; - }; - - right_click { - label = "right_click"; - gpios = <&pioB 7 1>; - linux,code = <273>; - gpio-key,wakeup; - }; - - left { - label = "Joystick Left"; - gpios = <&pioB 14 1>; - linux,code = <105>; - }; - - right { - label = "Joystick Right"; - gpios = <&pioB 15 1>; - linux,code = <106>; - }; - - up { - label = "Joystick Up"; - gpios = <&pioB 16 1>; - linux,code = <103>; - }; - - down { - label = "Joystick Down"; - gpios = <&pioB 17 1>; - linux,code = <108>; - }; - - enter { - label = "Joystick Press"; - gpios = <&pioB 18 1>; - linux,code = <28>; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/at91sam9x5.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v1/at91sam9x5.dtsi deleted file mode 100644 index dd4ed7484..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/at91sam9x5.dtsi +++ /dev/null @@ -1,263 +0,0 @@ -/* - * at91sam9x5.dtsi - Device Tree Include file for AT91SAM9x5 family SoC - * applies to AT91SAM9G15, AT91SAM9G25, AT91SAM9G35, - * AT91SAM9X25, AT91SAM9X35 SoC - * - * Copyright (C) 2012 Atmel, - * 2012 Nicolas Ferre - * - * Licensed under GPLv2 or later. - */ - -/include/ "skeleton.dtsi" - -/ { - model = "Atmel AT91SAM9x5 family SoC"; - compatible = "atmel,at91sam9x5"; - interrupt-parent = <&aic>; - - aliases { - serial0 = &dbgu; - serial1 = &usart0; - serial2 = &usart1; - serial3 = &usart2; - gpio0 = &pioA; - gpio1 = &pioB; - gpio2 = &pioC; - gpio3 = &pioD; - tcb0 = &tcb0; - tcb1 = &tcb1; - }; - cpus { - cpu@0 { - compatible = "arm,arm926ejs"; - }; - }; - - memory { - reg = <0x20000000 0x10000000>; - }; - - ahb { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - - apb { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - - aic: interrupt-controller@fffff000 { - #interrupt-cells = <2>; - compatible = "atmel,at91rm9200-aic"; - interrupt-controller; - reg = <0xfffff000 0x200>; - }; - - ramc0: ramc@ffffe800 { - compatible = "atmel,at91sam9g45-ddramc"; - reg = <0xffffe800 0x200>; - }; - - pmc: pmc@fffffc00 { - compatible = "atmel,at91rm9200-pmc"; - reg = <0xfffffc00 0x100>; - }; - - rstc@fffffe00 { - compatible = "atmel,at91sam9g45-rstc"; - reg = <0xfffffe00 0x10>; - }; - - shdwc@fffffe10 { - compatible = "atmel,at91sam9x5-shdwc"; - reg = <0xfffffe10 0x10>; - }; - - pit: timer@fffffe30 { - compatible = "atmel,at91sam9260-pit"; - reg = <0xfffffe30 0xf>; - interrupts = <1 4>; - }; - - tcb0: timer@f8008000 { - compatible = "atmel,at91sam9x5-tcb"; - reg = <0xf8008000 0x100>; - interrupts = <17 4>; - }; - - tcb1: timer@f800c000 { - compatible = "atmel,at91sam9x5-tcb"; - reg = <0xf800c000 0x100>; - interrupts = <17 4>; - }; - - dma0: dma-controller@ffffec00 { - compatible = "atmel,at91sam9g45-dma"; - reg = <0xffffec00 0x200>; - interrupts = <20 4>; - }; - - dma1: dma-controller@ffffee00 { - compatible = "atmel,at91sam9g45-dma"; - reg = <0xffffee00 0x200>; - interrupts = <21 4>; - }; - - pioA: gpio@fffff400 { - compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio"; - reg = <0xfffff400 0x100>; - interrupts = <2 4>; - #gpio-cells = <2>; - gpio-controller; - interrupt-controller; - }; - - pioB: gpio@fffff600 { - compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio"; - reg = <0xfffff600 0x100>; - interrupts = <2 4>; - #gpio-cells = <2>; - gpio-controller; - interrupt-controller; - }; - - pioC: gpio@fffff800 { - compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio"; - reg = <0xfffff800 0x100>; - interrupts = <3 4>; - #gpio-cells = <2>; - gpio-controller; - interrupt-controller; - }; - - pioD: gpio@fffffa00 { - compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio"; - reg = <0xfffffa00 0x100>; - interrupts = <3 4>; - #gpio-cells = <2>; - gpio-controller; - interrupt-controller; - }; - - dbgu: serial@fffff200 { - compatible = "atmel,at91sam9260-usart"; - reg = <0xfffff200 0x200>; - interrupts = <1 4>; - status = "disabled"; - }; - - usart0: serial@f801c000 { - compatible = "atmel,at91sam9260-usart"; - reg = <0xf801c000 0x200>; - interrupts = <5 4>; - atmel,use-dma-rx; - atmel,use-dma-tx; - status = "disabled"; - }; - - usart1: serial@f8020000 { - compatible = "atmel,at91sam9260-usart"; - reg = <0xf8020000 0x200>; - interrupts = <6 4>; - atmel,use-dma-rx; - atmel,use-dma-tx; - status = "disabled"; - }; - - usart2: serial@f8024000 { - compatible = "atmel,at91sam9260-usart"; - reg = <0xf8024000 0x200>; - interrupts = <7 4>; - atmel,use-dma-rx; - atmel,use-dma-tx; - status = "disabled"; - }; - - macb0: ethernet@f802c000 { - compatible = "cdns,at32ap7000-macb", "cdns,macb"; - reg = <0xf802c000 0x100>; - interrupts = <24 4>; - status = "disabled"; - }; - - macb1: ethernet@f8030000 { - compatible = "cdns,at32ap7000-macb", "cdns,macb"; - reg = <0xf8030000 0x100>; - interrupts = <27 4>; - status = "disabled"; - }; - }; - - nand0: nand@40000000 { - compatible = "atmel,at91rm9200-nand"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0x40000000 0x10000000 - >; - atmel,nand-addr-offset = <21>; - atmel,nand-cmd-offset = <22>; - gpios = <&pioD 5 0 - &pioD 4 0 - 0 - >; - status = "disabled"; - }; - - usb0: ohci@00600000 { - compatible = "atmel,at91rm9200-ohci", "usb-ohci"; - reg = <0x00600000 0x100000>; - interrupts = <22 4>; - status = "disabled"; - }; - - usb1: ehci@00700000 { - compatible = "atmel,at91sam9g45-ehci", "usb-ehci"; - reg = <0x00700000 0x100000>; - interrupts = <22 4>; - status = "disabled"; - }; - }; - - i2c@0 { - compatible = "i2c-gpio"; - gpios = <&pioA 30 0 /* sda */ - &pioA 31 0 /* scl */ - >; - i2c-gpio,sda-open-drain; - i2c-gpio,scl-open-drain; - i2c-gpio,delay-us = <2>; /* ~100 kHz */ - #address-cells = <1>; - #size-cells = <0>; - status = "disabled"; - }; - - i2c@1 { - compatible = "i2c-gpio"; - gpios = <&pioC 0 0 /* sda */ - &pioC 1 0 /* scl */ - >; - i2c-gpio,sda-open-drain; - i2c-gpio,scl-open-drain; - i2c-gpio,delay-us = <2>; /* ~100 kHz */ - #address-cells = <1>; - #size-cells = <0>; - status = "disabled"; - }; - - i2c@2 { - compatible = "i2c-gpio"; - gpios = <&pioB 4 0 /* sda */ - &pioB 5 0 /* scl */ - >; - i2c-gpio,sda-open-drain; - i2c-gpio,scl-open-drain; - i2c-gpio,delay-us = <2>; /* ~100 kHz */ - #address-cells = <1>; - #size-cells = <0>; - status = "disabled"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/at91sam9x5cm.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v1/at91sam9x5cm.dtsi deleted file mode 100644 index 31e7be237..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/at91sam9x5cm.dtsi +++ /dev/null @@ -1,74 +0,0 @@ -/* - * at91sam9x5cm.dtsi - Device Tree Include file for AT91SAM9x5 CPU Module - * - * Copyright (C) 2012 Atmel, - * 2012 Nicolas Ferre - * - * Licensed under GPLv2 or later. - */ - -/ { - memory { - reg = <0x20000000 0x8000000>; - }; - - clocks { - #address-cells = <1>; - #size-cells = <1>; - ranges; - - main_clock: clock@0 { - compatible = "atmel,osc", "fixed-clock"; - clock-frequency = <12000000>; - }; - }; - - ahb { - nand0: nand@40000000 { - nand-bus-width = <8>; - nand-ecc-mode = "soft"; - nand-on-flash-bbt; - status = "okay"; - - at91bootstrap@0 { - label = "at91bootstrap"; - reg = <0x0 0x40000>; - }; - - uboot@40000 { - label = "u-boot"; - reg = <0x40000 0x80000>; - }; - - ubootenv@c0000 { - label = "U-Boot Env"; - reg = <0xc0000 0x140000>; - }; - - kernel@200000 { - label = "kernel"; - reg = <0x200000 0x600000>; - }; - - rootfs@800000 { - label = "rootfs"; - reg = <0x800000 0x1f800000>; - }; - }; - }; - - leds { - compatible = "gpio-leds"; - - pb18 { - label = "pb18"; - gpios = <&pioB 18 1>; - linux,default-trigger = "heartbeat"; - }; - - pd21 { - label = "pd21"; - gpios = <&pioD 21 0>; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/db8500.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v1/db8500.dtsi deleted file mode 100644 index 14bc30705..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/db8500.dtsi +++ /dev/null @@ -1,274 +0,0 @@ -/* - * Copyright 2012 Linaro Ltd - * - * The code contained herein is licensed under the GNU General Public - * License. You may obtain a copy of the GNU General Public License - * Version 2 or later at the following locations: - * - * http://www.opensource.org/licenses/gpl-license.html - * http://www.gnu.org/copyleft/gpl.html - */ - -/include/ "skeleton.dtsi" - -/ { - soc-u9500 { - #address-cells = <1>; - #size-cells = <1>; - compatible = "stericsson,db8500"; - interrupt-parent = <&intc>; - ranges; - - intc: interrupt-controller@a0411000 { - compatible = "arm,cortex-a9-gic"; - #interrupt-cells = <3>; - #address-cells = <1>; - interrupt-controller; - reg = <0xa0411000 0x1000>, - <0xa0410100 0x100>; - }; - - L2: l2-cache { - compatible = "arm,pl310-cache"; - reg = <0xa0412000 0x1000>; - interrupts = <0 13 4>; - cache-unified; - cache-level = <2>; - }; - - pmu { - compatible = "arm,cortex-a9-pmu"; - interrupts = <0 7 0x4>; - }; - - timer@a0410600 { - compatible = "arm,cortex-a9-twd-timer"; - reg = <0xa0410600 0x20>; - interrupts = <1 13 0x304>; - }; - - rtc@80154000 { - compatible = "stericsson,db8500-rtc"; - reg = <0x80154000 0x1000>; - interrupts = <0 18 0x4>; - }; - - gpio0: gpio@8012e000 { - compatible = "stericsson,db8500-gpio", - "stmicroelectronics,nomadik-gpio"; - reg = <0x8012e000 0x80>; - interrupts = <0 119 0x4>; - supports-sleepmode; - gpio-controller; - }; - - gpio1: gpio@8012e080 { - compatible = "stericsson,db8500-gpio", - "stmicroelectronics,nomadik-gpio"; - reg = <0x8012e080 0x80>; - interrupts = <0 120 0x4>; - supports-sleepmode; - gpio-controller; - }; - - gpio2: gpio@8000e000 { - compatible = "stericsson,db8500-gpio", - "stmicroelectronics,nomadik-gpio"; - reg = <0x8000e000 0x80>; - interrupts = <0 121 0x4>; - supports-sleepmode; - gpio-controller; - }; - - gpio3: gpio@8000e080 { - compatible = "stericsson,db8500-gpio", - "stmicroelectronics,nomadik-gpio"; - reg = <0x8000e080 0x80>; - interrupts = <0 122 0x4>; - supports-sleepmode; - gpio-controller; - }; - - gpio4: gpio@8000e100 { - compatible = "stericsson,db8500-gpio", - "stmicroelectronics,nomadik-gpio"; - reg = <0x8000e100 0x80>; - interrupts = <0 123 0x4>; - supports-sleepmode; - gpio-controller; - }; - - gpio5: gpio@8000e180 { - compatible = "stericsson,db8500-gpio", - "stmicroelectronics,nomadik-gpio"; - reg = <0x8000e180 0x80>; - interrupts = <0 124 0x4>; - supports-sleepmode; - gpio-controller; - }; - - gpio6: gpio@8011e000 { - compatible = "stericsson,db8500-gpio", - "stmicroelectronics,nomadik-gpio"; - reg = <0x8011e000 0x80>; - interrupts = <0 125 0x4>; - supports-sleepmode; - gpio-controller; - }; - - gpio7: gpio@8011e080 { - compatible = "stericsson,db8500-gpio", - "stmicroelectronics,nomadik-gpio"; - reg = <0x8011e080 0x80>; - interrupts = <0 126 0x4>; - supports-sleepmode; - gpio-controller; - }; - - gpio8: gpio@a03fe000 { - compatible = "stericsson,db8500-gpio", - "stmicroelectronics,nomadik-gpio"; - reg = <0xa03fe000 0x80>; - interrupts = <0 127 0x4>; - supports-sleepmode; - gpio-controller; - }; - - usb@a03e0000 { - compatible = "stericsson,db8500-musb", - "mentor,musb"; - reg = <0xa03e0000 0x10000>; - interrupts = <0 23 0x4>; - }; - - dma-controller@801C0000 { - compatible = "stericsson,db8500-dma40", - "stericsson,dma40"; - reg = <0x801C0000 0x1000 0x40010000 0x800>; - interrupts = <0 25 0x4>; - }; - - prcmu@80157000 { - compatible = "stericsson,db8500-prcmu"; - reg = <0x80157000 0x1000>; - interrupts = <46 47>; - #address-cells = <1>; - #size-cells = <0>; - - ab8500@5 { - compatible = "stericsson,ab8500"; - reg = <5>; /* mailbox 5 is i2c */ - interrupts = <0 40 0x4>; - }; - }; - - i2c@80004000 { - compatible = "stericsson,db8500-i2c", "stmicroelectronics,nomadik-i2c"; - reg = <0x80004000 0x1000>; - interrupts = <0 21 0x4>; - #address-cells = <1>; - #size-cells = <0>; - }; - - i2c@80122000 { - compatible = "stericsson,db8500-i2c", "stmicroelectronics,nomadik-i2c"; - reg = <0x80122000 0x1000>; - interrupts = <0 22 0x4>; - #address-cells = <1>; - #size-cells = <0>; - }; - - i2c@80128000 { - compatible = "stericsson,db8500-i2c", "stmicroelectronics,nomadik-i2c"; - reg = <0x80128000 0x1000>; - interrupts = <0 55 0x4>; - #address-cells = <1>; - #size-cells = <0>; - }; - - i2c@80110000 { - compatible = "stericsson,db8500-i2c", "stmicroelectronics,nomadik-i2c"; - reg = <0x80110000 0x1000>; - interrupts = <0 12 0x4>; - #address-cells = <1>; - #size-cells = <0>; - }; - - i2c@8012a000 { - compatible = "stericsson,db8500-i2c", "stmicroelectronics,nomadik-i2c"; - reg = <0x8012a000 0x1000>; - interrupts = <0 51 0x4>; - #address-cells = <1>; - #size-cells = <0>; - }; - - ssp@80002000 { - compatible = "arm,pl022", "arm,primecell"; - reg = <80002000 0x1000>; - interrupts = <0 14 0x4>; - #address-cells = <1>; - #size-cells = <0>; - status = "disabled"; - - // Add one of these for each child device - cs-gpios = <&gpio0 31 &gpio4 14 &gpio4 16 &gpio6 22 &gpio7 0>; - - }; - - uart@80120000 { - compatible = "arm,pl011", "arm,primecell"; - reg = <0x80120000 0x1000>; - interrupts = <0 11 0x4>; - status = "disabled"; - }; - uart@80121000 { - compatible = "arm,pl011", "arm,primecell"; - reg = <0x80121000 0x1000>; - interrupts = <0 19 0x4>; - status = "disabled"; - }; - uart@80007000 { - compatible = "arm,pl011", "arm,primecell"; - reg = <0x80007000 0x1000>; - interrupts = <0 26 0x4>; - status = "disabled"; - }; - - sdi@80126000 { - compatible = "arm,pl18x", "arm,primecell"; - reg = <0x80126000 0x1000>; - interrupts = <0 60 0x4>; - status = "disabled"; - }; - sdi@80118000 { - compatible = "arm,pl18x", "arm,primecell"; - reg = <0x80118000 0x1000>; - interrupts = <0 50 0x4>; - status = "disabled"; - }; - sdi@80005000 { - compatible = "arm,pl18x", "arm,primecell"; - reg = <0x80005000 0x1000>; - interrupts = <0 41 0x4>; - status = "disabled"; - }; - sdi@80119000 { - compatible = "arm,pl18x", "arm,primecell"; - reg = <0x80119000 0x1000>; - interrupts = <0 59 0x4>; - status = "disabled"; - }; - sdi@80114000 { - compatible = "arm,pl18x", "arm,primecell"; - reg = <0x80114000 0x1000>; - interrupts = <0 99 0x4>; - status = "disabled"; - }; - sdi@80008000 { - compatible = "arm,pl18x", "arm,primecell"; - reg = <0x80114000 0x1000>; - interrupts = <0 100 0x4>; - status = "disabled"; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/dsi-panel-nt35590-720p-cmd.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v1/dsi-panel-nt35590-720p-cmd.dtsi deleted file mode 100644 index 7942567cc..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/dsi-panel-nt35590-720p-cmd.dtsi +++ /dev/null @@ -1,530 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/ { - qcom,mdss_dsi_nt35590_720p_cmd { - compatible = "qcom,mdss-dsi-panel"; - label = "nt35590 720p command mode dsi panel"; - status = "disable"; - qcom,dsi-ctrl-phandle = <&mdss_dsi0>; - qcom,rst-gpio = <&msmgpio 25 0>; - qcom,te-gpio = <&msmgpio 24 0>; - qcom,mdss-pan-res = <720 1280>; - qcom,mdss-pan-bpp = <24>; - qcom,mdss-pan-dest = "display_1"; - qcom,mdss-pan-porch-values = <164 8 140 1 1 6>; - qcom,mdss-pan-underflow-clr = <0xff>; - qcom,mdss-pan-bl-ctrl = "bl_ctrl_wled"; - qcom,mdss-pan-bl-levels = <1 4095>; - qcom,mdss-pan-dsi-mode = <1>; - qcom,mdss-vsync-enable = <1>; - qcom,mdss-hw-vsync-mode = <1>; - qcom,mdss-pan-dsi-h-pulse-mode = <1>; - qcom,mdss-pan-dsi-h-power-stop = <0 0 0>; - qcom,mdss-pan-dsi-bllp-power-stop = <1 1>; - qcom,mdss-pan-dsi-traffic-mode = <2>; - qcom,mdss-pan-dsi-dst-format = <8>; - qcom,mdss-pan-insert-dcs-cmd = <1>; - qcom,mdss-pan-wr-mem-continue = <0x3c>; - qcom,mdss-pan-wr-mem-start = <0x2c>; - qcom,mdss-pan-te-sel = <1>; - qcom,mdss-pan-dsi-vc = <0>; - qcom,mdss-pan-dsi-rgb-swap = <0>; - qcom,mdss-pan-dsi-data-lanes = <1 1 1 1>; /* 4 lanes */ - qcom,mdss-pan-dsi-dlane-swap = <0>; - qcom,mdss-pan-dsi-t-clk = <0x2c 0x20>; - qcom,mdss-pan-dsi-stream = <0>; - qcom,mdss-pan-dsi-mdp-tr = <0x0>; - qcom,mdss-pan-dsi-dma-tr = <0x04>; - qcom,mdss-pan-dsi-frame-rate = <60>; - qcom,panel-phy-regulatorSettings = [07 09 03 00 /* Regualotor settings */ - 20 00 01]; - qcom,panel-phy-timingSettings = [7d 25 1d 00 37 33 - 22 27 1e 03 04 00]; - qcom,panel-phy-strengthCtrl = [ff 06]; - qcom,panel-phy-bistCtrl = [00 00 b1 ff /* BIST Ctrl settings */ - 00 00]; - qcom,panel-phy-laneConfig = [00 00 00 00 00 00 00 01 97 /* lane0 config */ - 00 00 00 00 05 00 00 01 97 /* lane1 config */ - 00 00 00 00 0a 00 00 01 97 /* lane2 config */ - 00 00 00 00 0f 00 00 01 97 /* lane3 config */ - 00 c0 00 00 00 00 00 01 bb]; /* Clk ln config */ - qcom,panel-on-cmds = [29 01 00 00 00 02 FF EE - 29 01 00 00 00 02 26 08 - 29 01 00 00 00 02 26 00 - 29 01 00 00 10 02 FF 00 - 29 01 00 00 00 02 BA 03 - 29 01 00 00 00 02 C2 08 - 29 01 00 00 00 02 FF 01 - 29 01 00 00 00 02 FB 01 - 29 01 00 00 00 02 00 4A - 29 01 00 00 00 02 01 33 - 29 01 00 00 00 02 02 53 - 29 01 00 00 00 02 03 55 - 29 01 00 00 00 02 04 55 - 29 01 00 00 00 02 05 33 - 29 01 00 00 00 02 06 22 - 29 01 00 00 00 02 08 56 - 29 01 00 00 00 02 09 8F - 29 01 00 00 00 02 36 73 - 29 01 00 00 00 02 0B 9F - 29 01 00 00 00 02 0C 9F - 29 01 00 00 00 02 0D 2F - 29 01 00 00 00 02 0E 24 - 29 01 00 00 00 02 11 83 - 29 01 00 00 00 02 12 03 - 29 01 00 00 00 02 71 2C - 29 01 00 00 00 02 6F 03 - 29 01 00 00 00 02 0F 0A - 29 01 00 00 00 02 FF 05 - 29 01 00 00 00 02 FB 01 - 29 01 00 00 00 02 01 00 - 29 01 00 00 00 02 02 8B - 29 01 00 00 00 02 03 82 - 29 01 00 00 00 02 04 82 - 29 01 00 00 00 02 05 30 - 29 01 00 00 00 02 06 33 - 29 01 00 00 00 02 07 01 - 29 01 00 00 00 02 08 00 - 29 01 00 00 00 02 09 46 - 29 01 00 00 00 02 0A 46 - 29 01 00 00 00 02 0D 0B - 29 01 00 00 00 02 0E 1D - 29 01 00 00 00 02 0F 08 - 29 01 00 00 00 02 10 53 - 29 01 00 00 00 02 11 00 - 29 01 00 00 00 02 12 00 - 29 01 00 00 00 02 14 01 - 29 01 00 00 00 02 15 00 - 29 01 00 00 00 02 16 05 - 29 01 00 00 00 02 17 00 - 29 01 00 00 00 02 19 7F - 29 01 00 00 00 02 1A FF - 29 01 00 00 00 02 1B 0F - 29 01 00 00 00 02 1C 00 - 29 01 00 00 00 02 1D 00 - 29 01 00 00 00 02 1E 00 - 29 01 00 00 00 02 1F 07 - 29 01 00 00 00 02 20 00 - 29 01 00 00 00 02 21 06 - 29 01 00 00 00 02 22 55 - 29 01 00 00 00 02 23 4D - 29 01 00 00 00 02 2D 02 - 29 01 00 00 00 02 28 01 - 29 01 00 00 00 02 2F 02 - 29 01 00 00 00 02 83 01 - 29 01 00 00 00 02 9E 58 - 29 01 00 00 00 02 9F 6A - 29 01 00 00 00 02 A0 01 - 29 01 00 00 00 02 A2 10 - 29 01 00 00 00 02 BB 0A - 29 01 00 00 00 02 BC 0A - 29 01 00 00 00 02 32 08 - 29 01 00 00 00 02 33 B8 - 29 01 00 00 00 02 36 01 - 29 01 00 00 00 02 37 00 - 29 01 00 00 00 02 43 00 - 29 01 00 00 00 02 4B 21 - 29 01 00 00 00 02 4C 03 - 29 01 00 00 00 02 50 21 - 29 01 00 00 00 02 51 03 - 29 01 00 00 00 02 58 21 - 29 01 00 00 00 02 59 03 - 29 01 00 00 00 02 5D 21 - 29 01 00 00 00 02 5E 03 - 29 01 00 00 00 02 6C 00 - 29 01 00 00 00 02 6D 00 - 29 01 00 00 00 02 FB 01 - 29 01 00 00 00 02 FF 01 - 29 01 00 00 00 02 FB 01 - 29 01 00 00 00 02 75 00 - 29 01 00 00 00 02 76 7D - 29 01 00 00 00 02 77 00 - 29 01 00 00 00 02 78 8A - 29 01 00 00 00 02 79 00 - 29 01 00 00 00 02 7A 9C - 29 01 00 00 00 02 7B 00 - 29 01 00 00 00 02 7C B1 - 29 01 00 00 00 02 7D 00 - 29 01 00 00 00 02 7E BF - 29 01 00 00 00 02 7F 00 - 29 01 00 00 00 02 80 CF - 29 01 00 00 00 02 81 00 - 29 01 00 00 00 02 82 DD - 29 01 00 00 00 02 83 00 - 29 01 00 00 00 02 84 E8 - 29 01 00 00 00 02 85 00 - 29 01 00 00 00 02 86 F2 - 29 01 00 00 00 02 87 01 - 29 01 00 00 00 02 88 1F - 29 01 00 00 00 02 89 01 - 29 01 00 00 00 02 8A 41 - 29 01 00 00 00 02 8B 01 - 29 01 00 00 00 02 8C 78 - 29 01 00 00 00 02 8D 01 - 29 01 00 00 00 02 8E A5 - 29 01 00 00 00 02 8F 01 - 29 01 00 00 00 02 90 EE - 29 01 00 00 00 02 91 02 - 29 01 00 00 00 02 92 29 - 29 01 00 00 00 02 93 02 - 29 01 00 00 00 02 94 2A - 29 01 00 00 00 02 95 02 - 29 01 00 00 00 02 96 5D - 29 01 00 00 00 02 97 02 - 29 01 00 00 00 02 98 93 - 29 01 00 00 00 02 99 02 - 29 01 00 00 00 02 9A B8 - 29 01 00 00 00 02 9B 02 - 29 01 00 00 00 02 9C E7 - 29 01 00 00 00 02 9D 03 - 29 01 00 00 00 02 9E 07 - 29 01 00 00 00 02 9F 03 - 29 01 00 00 00 02 A0 37 - 29 01 00 00 00 02 A2 03 - 29 01 00 00 00 02 A3 46 - 29 01 00 00 00 02 A4 03 - 29 01 00 00 00 02 A5 56 - 29 01 00 00 00 02 A6 03 - 29 01 00 00 00 02 A7 66 - 29 01 00 00 00 02 A9 03 - 29 01 00 00 00 02 AA 7A - 29 01 00 00 00 02 AB 03 - 29 01 00 00 00 02 AC 93 - 29 01 00 00 00 02 AD 03 - 29 01 00 00 00 02 AE A3 - 29 01 00 00 00 02 AF 03 - 29 01 00 00 00 02 B0 B4 - 29 01 00 00 00 02 B1 03 - 29 01 00 00 00 02 B2 CB - 29 01 00 00 00 02 B3 00 - 29 01 00 00 00 02 B4 7D - 29 01 00 00 00 02 B5 00 - 29 01 00 00 00 02 B6 8A - 29 01 00 00 00 02 B7 00 - 29 01 00 00 00 02 B8 9C - 29 01 00 00 00 02 B9 00 - 29 01 00 00 00 02 BA B1 - 29 01 00 00 00 02 BB 00 - 29 01 00 00 00 02 BC BF - 29 01 00 00 00 02 BD 00 - 29 01 00 00 00 02 BE CF - 29 01 00 00 00 02 BF 00 - 29 01 00 00 00 02 C0 DD - 29 01 00 00 00 02 C1 00 - 29 01 00 00 00 02 C2 E8 - 29 01 00 00 00 02 C3 00 - 29 01 00 00 00 02 C4 F2 - 29 01 00 00 00 02 C5 01 - 29 01 00 00 00 02 C6 1F - 29 01 00 00 00 02 C7 01 - 29 01 00 00 00 02 C8 41 - 29 01 00 00 00 02 C9 01 - 29 01 00 00 00 02 CA 78 - 29 01 00 00 00 02 CB 01 - 29 01 00 00 00 02 CC A5 - 29 01 00 00 00 02 CD 01 - 29 01 00 00 00 02 CE EE - 29 01 00 00 00 02 CF 02 - 29 01 00 00 00 02 D0 29 - 29 01 00 00 00 02 D1 02 - 29 01 00 00 00 02 D2 2A - 29 01 00 00 00 02 D3 02 - 29 01 00 00 00 02 D4 5D - 29 01 00 00 00 02 D5 02 - 29 01 00 00 00 02 D6 93 - 29 01 00 00 00 02 D7 02 - 29 01 00 00 00 02 D8 B8 - 29 01 00 00 00 02 D9 02 - 29 01 00 00 00 02 DA E7 - 29 01 00 00 00 02 DB 03 - 29 01 00 00 00 02 DC 07 - 29 01 00 00 00 02 DD 03 - 29 01 00 00 00 02 DE 37 - 29 01 00 00 00 02 DF 03 - 29 01 00 00 00 02 E0 46 - 29 01 00 00 00 02 E1 03 - 29 01 00 00 00 02 E2 56 - 29 01 00 00 00 02 E3 03 - 29 01 00 00 00 02 E4 66 - 29 01 00 00 00 02 E5 03 - 29 01 00 00 00 02 E6 7A - 29 01 00 00 00 02 E7 03 - 29 01 00 00 00 02 E8 93 - 29 01 00 00 00 02 E9 03 - 29 01 00 00 00 02 EA A3 - 29 01 00 00 00 02 EB 03 - 29 01 00 00 00 02 EC B4 - 29 01 00 00 00 02 ED 03 - 29 01 00 00 00 02 EE CB - 29 01 00 00 00 02 EF 00 - 29 01 00 00 00 02 F0 ED - 29 01 00 00 00 02 F1 00 - 29 01 00 00 00 02 F2 F3 - 29 01 00 00 00 02 F3 00 - 29 01 00 00 00 02 F4 FE - 29 01 00 00 00 02 F5 01 - 29 01 00 00 00 02 F6 09 - 29 01 00 00 00 02 F7 01 - 29 01 00 00 00 02 F8 13 - 29 01 00 00 00 02 F9 01 - 29 01 00 00 00 02 FA 1D - 29 01 00 00 00 02 FF 02 - 29 01 00 00 00 02 FB 01 - 29 01 00 00 00 02 00 01 - 29 01 00 00 00 02 01 26 - 29 01 00 00 00 02 02 01 - 29 01 00 00 00 02 03 2F - 29 01 00 00 00 02 04 01 - 29 01 00 00 00 02 05 37 - 29 01 00 00 00 02 06 01 - 29 01 00 00 00 02 07 56 - 29 01 00 00 00 02 08 01 - 29 01 00 00 00 02 09 70 - 29 01 00 00 00 02 0A 01 - 29 01 00 00 00 02 0B 9D - 29 01 00 00 00 02 0C 01 - 29 01 00 00 00 02 0D C2 - 29 01 00 00 00 02 0E 01 - 29 01 00 00 00 02 0F FF - 29 01 00 00 00 02 10 02 - 29 01 00 00 00 02 11 31 - 29 01 00 00 00 02 12 02 - 29 01 00 00 00 02 13 32 - 29 01 00 00 00 02 14 02 - 29 01 00 00 00 02 15 60 - 29 01 00 00 00 02 16 02 - 29 01 00 00 00 02 17 94 - 29 01 00 00 00 02 18 02 - 29 01 00 00 00 02 19 B5 - 29 01 00 00 00 02 1A 02 - 29 01 00 00 00 02 1B E3 - 29 01 00 00 00 02 1C 03 - 29 01 00 00 00 02 1D 03 - 29 01 00 00 00 02 1E 03 - 29 01 00 00 00 02 1F 2D - 29 01 00 00 00 02 20 03 - 29 01 00 00 00 02 21 3A - 29 01 00 00 00 02 22 03 - 29 01 00 00 00 02 23 48 - 29 01 00 00 00 02 24 03 - 29 01 00 00 00 02 25 57 - 29 01 00 00 00 02 26 03 - 29 01 00 00 00 02 27 68 - 29 01 00 00 00 02 28 03 - 29 01 00 00 00 02 29 7B - 29 01 00 00 00 02 2A 03 - 29 01 00 00 00 02 2B 90 - 29 01 00 00 00 02 2D 03 - 29 01 00 00 00 02 2F A0 - 29 01 00 00 00 02 30 03 - 29 01 00 00 00 02 31 CB - 29 01 00 00 00 02 32 00 - 29 01 00 00 00 02 33 ED - 29 01 00 00 00 02 34 00 - 29 01 00 00 00 02 35 F3 - 29 01 00 00 00 02 36 00 - 29 01 00 00 00 02 37 FE - 29 01 00 00 00 02 38 01 - 29 01 00 00 00 02 39 09 - 29 01 00 00 00 02 3A 01 - 29 01 00 00 00 02 3B 13 - 29 01 00 00 00 02 3D 01 - 29 01 00 00 00 02 3F 1D - 29 01 00 00 00 02 40 01 - 29 01 00 00 00 02 41 26 - 29 01 00 00 00 02 42 01 - 29 01 00 00 00 02 43 2F - 29 01 00 00 00 02 44 01 - 29 01 00 00 00 02 45 37 - 29 01 00 00 00 02 46 01 - 29 01 00 00 00 02 47 56 - 29 01 00 00 00 02 48 01 - 29 01 00 00 00 02 49 70 - 29 01 00 00 00 02 4A 01 - 29 01 00 00 00 02 4B 9D - 29 01 00 00 00 02 4C 01 - 29 01 00 00 00 02 4D C2 - 29 01 00 00 00 02 4E 01 - 29 01 00 00 00 02 4F FF - 29 01 00 00 00 02 50 02 - 29 01 00 00 00 02 51 31 - 29 01 00 00 00 02 52 02 - 29 01 00 00 00 02 53 32 - 29 01 00 00 00 02 54 02 - 29 01 00 00 00 02 55 60 - 29 01 00 00 00 02 56 02 - 29 01 00 00 00 02 58 94 - 29 01 00 00 00 02 59 02 - 29 01 00 00 00 02 5A B5 - 29 01 00 00 00 02 5B 02 - 29 01 00 00 00 02 5C E3 - 29 01 00 00 00 02 5D 03 - 29 01 00 00 00 02 5E 03 - 29 01 00 00 00 02 5F 03 - 29 01 00 00 00 02 60 2D - 29 01 00 00 00 02 61 03 - 29 01 00 00 00 02 62 3A - 29 01 00 00 00 02 63 03 - 29 01 00 00 00 02 64 48 - 29 01 00 00 00 02 65 03 - 29 01 00 00 00 02 66 57 - 29 01 00 00 00 02 67 03 - 29 01 00 00 00 02 68 68 - 29 01 00 00 00 02 69 03 - 29 01 00 00 00 02 6A 7B - 29 01 00 00 00 02 6B 03 - 29 01 00 00 00 02 6C 90 - 29 01 00 00 00 02 6D 03 - 29 01 00 00 00 02 6E A0 - 29 01 00 00 00 02 6F 03 - 29 01 00 00 00 02 70 CB - 29 01 00 00 00 02 71 00 - 29 01 00 00 00 02 72 19 - 29 01 00 00 00 02 73 00 - 29 01 00 00 00 02 74 36 - 29 01 00 00 00 02 75 00 - 29 01 00 00 00 02 76 55 - 29 01 00 00 00 02 77 00 - 29 01 00 00 00 02 78 70 - 29 01 00 00 00 02 79 00 - 29 01 00 00 00 02 7A 83 - 29 01 00 00 00 02 7B 00 - 29 01 00 00 00 02 7C 99 - 29 01 00 00 00 02 7D 00 - 29 01 00 00 00 02 7E A8 - 29 01 00 00 00 02 7F 00 - 29 01 00 00 00 02 80 B7 - 29 01 00 00 00 02 81 00 - 29 01 00 00 00 02 82 C5 - 29 01 00 00 00 02 83 00 - 29 01 00 00 00 02 84 F7 - 29 01 00 00 00 02 85 01 - 29 01 00 00 00 02 86 1E - 29 01 00 00 00 02 87 01 - 29 01 00 00 00 02 88 60 - 29 01 00 00 00 02 89 01 - 29 01 00 00 00 02 8A 95 - 29 01 00 00 00 02 8B 01 - 29 01 00 00 00 02 8C E1 - 29 01 00 00 00 02 8D 02 - 29 01 00 00 00 02 8E 20 - 29 01 00 00 00 02 8F 02 - 29 01 00 00 00 02 90 23 - 29 01 00 00 00 02 91 02 - 29 01 00 00 00 02 92 59 - 29 01 00 00 00 02 93 02 - 29 01 00 00 00 02 94 94 - 29 01 00 00 00 02 95 02 - 29 01 00 00 00 02 96 B4 - 29 01 00 00 00 02 97 02 - 29 01 00 00 00 02 98 E1 - 29 01 00 00 00 02 99 03 - 29 01 00 00 00 02 9A 01 - 29 01 00 00 00 02 9B 03 - 29 01 00 00 00 02 9C 28 - 29 01 00 00 00 02 9D 03 - 29 01 00 00 00 02 9E 30 - 29 01 00 00 00 02 9F 03 - 29 01 00 00 00 02 A0 37 - 29 01 00 00 00 02 A2 03 - 29 01 00 00 00 02 A3 3B - 29 01 00 00 00 02 A4 03 - 29 01 00 00 00 02 A5 40 - 29 01 00 00 00 02 A6 03 - 29 01 00 00 00 02 A7 50 - 29 01 00 00 00 02 A9 03 - 29 01 00 00 00 02 AA 6D - 29 01 00 00 00 02 AB 03 - 29 01 00 00 00 02 AC 80 - 29 01 00 00 00 02 AD 03 - 29 01 00 00 00 02 AE CB - 29 01 00 00 00 02 AF 00 - 29 01 00 00 00 02 B0 19 - 29 01 00 00 00 02 B1 00 - 29 01 00 00 00 02 B2 36 - 29 01 00 00 00 02 B3 00 - 29 01 00 00 00 02 B4 55 - 29 01 00 00 00 02 B5 00 - 29 01 00 00 00 02 B6 70 - 29 01 00 00 00 02 B7 00 - 29 01 00 00 00 02 B8 83 - 29 01 00 00 00 02 B9 00 - 29 01 00 00 00 02 BA 99 - 29 01 00 00 00 02 BB 00 - 29 01 00 00 00 02 BC A8 - 29 01 00 00 00 02 BD 00 - 29 01 00 00 00 02 BE B7 - 29 01 00 00 00 02 BF 00 - 29 01 00 00 00 02 C0 C5 - 29 01 00 00 00 02 C1 00 - 29 01 00 00 00 02 C2 F7 - 29 01 00 00 00 02 C3 01 - 29 01 00 00 00 02 C4 1E - 29 01 00 00 00 02 C5 01 - 29 01 00 00 00 02 C6 60 - 29 01 00 00 00 02 C7 01 - 29 01 00 00 00 02 C8 95 - 29 01 00 00 00 02 C9 01 - 29 01 00 00 00 02 CA E1 - 29 01 00 00 00 02 CB 02 - 29 01 00 00 00 02 CC 20 - 29 01 00 00 00 02 CD 02 - 29 01 00 00 00 02 CE 23 - 29 01 00 00 00 02 CF 02 - 29 01 00 00 00 02 D0 59 - 29 01 00 00 00 02 D1 02 - 29 01 00 00 00 02 D2 94 - 29 01 00 00 00 02 D3 02 - 29 01 00 00 00 02 D4 B4 - 29 01 00 00 00 02 D5 02 - 29 01 00 00 00 02 D6 E1 - 29 01 00 00 00 02 D7 03 - 29 01 00 00 00 02 D8 01 - 29 01 00 00 00 02 D9 03 - 29 01 00 00 00 02 DA 28 - 29 01 00 00 00 02 DB 03 - 29 01 00 00 00 02 DC 30 - 29 01 00 00 00 02 DD 03 - 29 01 00 00 00 02 DE 37 - 29 01 00 00 00 02 DF 03 - 29 01 00 00 00 02 E0 3B - 29 01 00 00 00 02 E1 03 - 29 01 00 00 00 02 E2 40 - 29 01 00 00 00 02 E3 03 - 29 01 00 00 00 02 E4 50 - 29 01 00 00 00 02 E5 03 - 29 01 00 00 00 02 E6 6D - 29 01 00 00 00 02 E7 03 - 29 01 00 00 00 02 E8 80 - 29 01 00 00 00 02 E9 03 - 29 01 00 00 00 02 EA CB - 29 01 00 00 00 02 FF 01 - 29 01 00 00 00 02 FB 01 - 29 01 00 00 00 02 FF 02 - 29 01 00 00 00 02 FB 01 - 29 01 00 00 00 02 FF 04 - 29 01 00 00 00 02 FB 01 - 29 01 00 00 00 02 FF 00 - 29 01 00 00 64 02 11 00 - 29 01 00 00 00 02 FF EE - 29 01 00 00 00 02 12 50 - 29 01 00 00 00 02 13 02 - 29 01 00 00 00 02 6A 60 - 29 01 00 00 00 02 FF 00 - 29 01 00 00 78 02 29 00]; - qcom,on-cmds-dsi-state = "DSI_LP_MODE"; - qcom,panel-off-cmds = [05 01 00 00 32 02 28 00 - 05 01 00 00 78 02 10 00]; - qcom,off-cmds-dsi-state = "DSI_HS_MODE"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/dsi-panel-nt35590-720p-video.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v1/dsi-panel-nt35590-720p-video.dtsi deleted file mode 100644 index 7bc748d59..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/dsi-panel-nt35590-720p-video.dtsi +++ /dev/null @@ -1,524 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -&soc { - qcom,mdss_dsi_nt35590_720p_video { - compatible = "qcom,mdss-dsi-panel"; - label = "nt35590 720p video mode dsi panel"; - status = "disable"; - qcom,dsi-ctrl-phandle = <&mdss_dsi0>; - qcom,rst-gpio = <&msmgpio 25 0>; - qcom,mdss-pan-res = <720 1280>; - qcom,mdss-pan-bpp = <24>; - qcom,mdss-pan-dest = "display_1"; - qcom,mdss-pan-porch-values = <164 8 140 1 1 6>; - qcom,mdss-pan-underflow-clr = <0xff>; - qcom,mdss-pan-bl-ctrl = "bl_ctrl_wled"; - qcom,mdss-pan-bl-levels = <1 4095>; - qcom,mdss-pan-dsi-mode = <0>; - qcom,mdss-pan-dsi-h-pulse-mode = <1>; - qcom,mdss-pan-dsi-h-power-stop = <0 0 0>; - qcom,mdss-pan-dsi-bllp-power-stop = <1 1>; - qcom,mdss-pan-dsi-traffic-mode = <2>; - qcom,mdss-pan-dsi-dst-format = <3>; - qcom,mdss-pan-dsi-vc = <0>; - qcom,mdss-pan-dsi-rgb-swap = <0>; - qcom,mdss-pan-dsi-data-lanes = <1 1 1 1>; /* 4 lanes */ - qcom,mdss-pan-dsi-dlane-swap = <0>; - qcom,mdss-pan-dsi-t-clk = <0x2c 0x20>; - qcom,mdss-pan-dsi-stream = <0>; - qcom,mdss-pan-dsi-mdp-tr = <0x0>; - qcom,mdss-pan-dsi-dma-tr = <0x04>; - qcom,mdss-pan-dsi-frame-rate = <60>; - qcom,panel-phy-regulatorSettings = [07 09 03 00 /* Regualotor settings */ - 20 00 01]; - qcom,panel-phy-timingSettings = [7d 25 1d 00 37 33 - 22 27 1e 03 04 00]; - qcom,panel-phy-strengthCtrl = [ff 06]; - qcom,panel-phy-bistCtrl = [00 00 b1 ff /* BIST Ctrl settings */ - 00 00]; - qcom,panel-phy-laneConfig = [00 00 00 00 00 00 00 01 97 /* lane0 config */ - 00 00 00 00 05 00 00 01 97 /* lane1 config */ - 00 00 00 00 0a 00 00 01 97 /* lane2 config */ - 00 00 00 00 0f 00 00 01 97 /* lane3 config */ - 00 c0 00 00 00 00 00 01 bb]; /* Clk ln config */ - qcom,panel-on-cmds = [29 01 00 00 00 00 02 FF EE - 29 01 00 00 00 00 02 26 08 - 29 01 00 00 00 00 02 26 00 - 29 01 00 00 10 00 02 FF 00 - 29 01 00 00 00 00 02 BA 03 - 29 01 00 00 00 00 02 C2 03 - 29 01 00 00 00 00 02 FF 01 - 29 01 00 00 00 00 02 FB 01 - 29 01 00 00 00 00 02 00 4A - 29 01 00 00 00 00 02 01 33 - 29 01 00 00 00 00 02 02 53 - 29 01 00 00 00 00 02 03 55 - 29 01 00 00 00 00 02 04 55 - 29 01 00 00 00 00 02 05 33 - 29 01 00 00 00 00 02 06 22 - 29 01 00 00 00 00 02 08 56 - 29 01 00 00 00 00 02 09 8F - 29 01 00 00 00 00 02 36 73 - 29 01 00 00 00 00 02 0B 9F - 29 01 00 00 00 00 02 0C 9F - 29 01 00 00 00 00 02 0D 2F - 29 01 00 00 00 00 02 0E 24 - 29 01 00 00 00 00 02 11 83 - 29 01 00 00 00 00 02 12 03 - 29 01 00 00 00 00 02 71 2C - 29 01 00 00 00 00 02 6F 03 - 29 01 00 00 00 00 02 0F 0A - 29 01 00 00 00 00 02 FF 05 - 29 01 00 00 00 00 02 FB 01 - 29 01 00 00 00 00 02 01 00 - 29 01 00 00 00 00 02 02 8B - 29 01 00 00 00 00 02 03 82 - 29 01 00 00 00 00 02 04 82 - 29 01 00 00 00 00 02 05 30 - 29 01 00 00 00 00 02 06 33 - 29 01 00 00 00 00 02 07 01 - 29 01 00 00 00 00 02 08 00 - 29 01 00 00 00 00 02 09 46 - 29 01 00 00 00 00 02 0A 46 - 29 01 00 00 00 00 02 0D 0B - 29 01 00 00 00 00 02 0E 1D - 29 01 00 00 00 00 02 0F 08 - 29 01 00 00 00 00 02 10 53 - 29 01 00 00 00 00 02 11 00 - 29 01 00 00 00 00 02 12 00 - 29 01 00 00 00 00 02 14 01 - 29 01 00 00 00 00 02 15 00 - 29 01 00 00 00 00 02 16 05 - 29 01 00 00 00 00 02 17 00 - 29 01 00 00 00 00 02 19 7F - 29 01 00 00 00 00 02 1A FF - 29 01 00 00 00 00 02 1B 0F - 29 01 00 00 00 00 02 1C 00 - 29 01 00 00 00 00 02 1D 00 - 29 01 00 00 00 00 02 1E 00 - 29 01 00 00 00 00 02 1F 07 - 29 01 00 00 00 00 02 20 00 - 29 01 00 00 00 00 02 21 06 - 29 01 00 00 00 00 02 22 55 - 29 01 00 00 00 00 02 23 4D - 29 01 00 00 00 00 02 2D 02 - 29 01 00 00 00 00 02 28 01 - 29 01 00 00 00 00 02 2F 02 - 29 01 00 00 00 00 02 83 01 - 29 01 00 00 00 00 02 9E 58 - 29 01 00 00 00 00 02 9F 6A - 29 01 00 00 00 00 02 A0 01 - 29 01 00 00 00 00 02 A2 10 - 29 01 00 00 00 00 02 BB 0A - 29 01 00 00 00 00 02 BC 0A - 29 01 00 00 00 00 02 32 08 - 29 01 00 00 00 00 02 33 B8 - 29 01 00 00 00 00 02 36 01 - 29 01 00 00 00 00 02 37 00 - 29 01 00 00 00 00 02 43 00 - 29 01 00 00 00 00 02 4B 21 - 29 01 00 00 00 00 02 4C 03 - 29 01 00 00 00 00 02 50 21 - 29 01 00 00 00 00 02 51 03 - 29 01 00 00 00 00 02 58 21 - 29 01 00 00 00 00 02 59 03 - 29 01 00 00 00 00 02 5D 21 - 29 01 00 00 00 00 02 5E 03 - 29 01 00 00 00 00 02 6C 00 - 29 01 00 00 00 00 02 6D 00 - 29 01 00 00 00 00 02 FB 01 - 29 01 00 00 00 00 02 FF 01 - 29 01 00 00 00 00 02 FB 01 - 29 01 00 00 00 00 02 75 00 - 29 01 00 00 00 00 02 76 7D - 29 01 00 00 00 00 02 77 00 - 29 01 00 00 00 00 02 78 8A - 29 01 00 00 00 00 02 79 00 - 29 01 00 00 00 00 02 7A 9C - 29 01 00 00 00 00 02 7B 00 - 29 01 00 00 00 00 02 7C B1 - 29 01 00 00 00 00 02 7D 00 - 29 01 00 00 00 00 02 7E BF - 29 01 00 00 00 00 02 7F 00 - 29 01 00 00 00 00 02 80 CF - 29 01 00 00 00 00 02 81 00 - 29 01 00 00 00 00 02 82 DD - 29 01 00 00 00 00 02 83 00 - 29 01 00 00 00 00 02 84 E8 - 29 01 00 00 00 00 02 85 00 - 29 01 00 00 00 00 02 86 F2 - 29 01 00 00 00 00 02 87 01 - 29 01 00 00 00 00 02 88 1F - 29 01 00 00 00 00 02 89 01 - 29 01 00 00 00 00 02 8A 41 - 29 01 00 00 00 00 02 8B 01 - 29 01 00 00 00 00 02 8C 78 - 29 01 00 00 00 00 02 8D 01 - 29 01 00 00 00 00 02 8E A5 - 29 01 00 00 00 00 02 8F 01 - 29 01 00 00 00 00 02 90 EE - 29 01 00 00 00 00 02 91 02 - 29 01 00 00 00 00 02 92 29 - 29 01 00 00 00 00 02 93 02 - 29 01 00 00 00 00 02 94 2A - 29 01 00 00 00 00 02 95 02 - 29 01 00 00 00 00 02 96 5D - 29 01 00 00 00 00 02 97 02 - 29 01 00 00 00 00 02 98 93 - 29 01 00 00 00 00 02 99 02 - 29 01 00 00 00 00 02 9A B8 - 29 01 00 00 00 00 02 9B 02 - 29 01 00 00 00 00 02 9C E7 - 29 01 00 00 00 00 02 9D 03 - 29 01 00 00 00 00 02 9E 07 - 29 01 00 00 00 00 02 9F 03 - 29 01 00 00 00 00 02 A0 37 - 29 01 00 00 00 00 02 A2 03 - 29 01 00 00 00 00 02 A3 46 - 29 01 00 00 00 00 02 A4 03 - 29 01 00 00 00 00 02 A5 56 - 29 01 00 00 00 00 02 A6 03 - 29 01 00 00 00 00 02 A7 66 - 29 01 00 00 00 00 02 A9 03 - 29 01 00 00 00 00 02 AA 7A - 29 01 00 00 00 00 02 AB 03 - 29 01 00 00 00 00 02 AC 93 - 29 01 00 00 00 00 02 AD 03 - 29 01 00 00 00 00 02 AE A3 - 29 01 00 00 00 00 02 AF 03 - 29 01 00 00 00 00 02 B0 B4 - 29 01 00 00 00 00 02 B1 03 - 29 01 00 00 00 00 02 B2 CB - 29 01 00 00 00 00 02 B3 00 - 29 01 00 00 00 00 02 B4 7D - 29 01 00 00 00 00 02 B5 00 - 29 01 00 00 00 00 02 B6 8A - 29 01 00 00 00 00 02 B7 00 - 29 01 00 00 00 00 02 B8 9C - 29 01 00 00 00 00 02 B9 00 - 29 01 00 00 00 00 02 BA B1 - 29 01 00 00 00 00 02 BB 00 - 29 01 00 00 00 00 02 BC BF - 29 01 00 00 00 00 02 BD 00 - 29 01 00 00 00 00 02 BE CF - 29 01 00 00 00 00 02 BF 00 - 29 01 00 00 00 00 02 C0 DD - 29 01 00 00 00 00 02 C1 00 - 29 01 00 00 00 00 02 C2 E8 - 29 01 00 00 00 00 02 C3 00 - 29 01 00 00 00 00 02 C4 F2 - 29 01 00 00 00 00 02 C5 01 - 29 01 00 00 00 00 02 C6 1F - 29 01 00 00 00 00 02 C7 01 - 29 01 00 00 00 00 02 C8 41 - 29 01 00 00 00 00 02 C9 01 - 29 01 00 00 00 00 02 CA 78 - 29 01 00 00 00 00 02 CB 01 - 29 01 00 00 00 00 02 CC A5 - 29 01 00 00 00 00 02 CD 01 - 29 01 00 00 00 00 02 CE EE - 29 01 00 00 00 00 02 CF 02 - 29 01 00 00 00 00 02 D0 29 - 29 01 00 00 00 00 02 D1 02 - 29 01 00 00 00 00 02 D2 2A - 29 01 00 00 00 00 02 D3 02 - 29 01 00 00 00 00 02 D4 5D - 29 01 00 00 00 00 02 D5 02 - 29 01 00 00 00 00 02 D6 93 - 29 01 00 00 00 00 02 D7 02 - 29 01 00 00 00 00 02 D8 B8 - 29 01 00 00 00 00 02 D9 02 - 29 01 00 00 00 00 02 DA E7 - 29 01 00 00 00 00 02 DB 03 - 29 01 00 00 00 00 02 DC 07 - 29 01 00 00 00 00 02 DD 03 - 29 01 00 00 00 00 02 DE 37 - 29 01 00 00 00 00 02 DF 03 - 29 01 00 00 00 00 02 E0 46 - 29 01 00 00 00 00 02 E1 03 - 29 01 00 00 00 00 02 E2 56 - 29 01 00 00 00 00 02 E3 03 - 29 01 00 00 00 00 02 E4 66 - 29 01 00 00 00 00 02 E5 03 - 29 01 00 00 00 00 02 E6 7A - 29 01 00 00 00 00 02 E7 03 - 29 01 00 00 00 00 02 E8 93 - 29 01 00 00 00 00 02 E9 03 - 29 01 00 00 00 00 02 EA A3 - 29 01 00 00 00 00 02 EB 03 - 29 01 00 00 00 00 02 EC B4 - 29 01 00 00 00 00 02 ED 03 - 29 01 00 00 00 00 02 EE CB - 29 01 00 00 00 00 02 EF 00 - 29 01 00 00 00 00 02 F0 ED - 29 01 00 00 00 00 02 F1 00 - 29 01 00 00 00 00 02 F2 F3 - 29 01 00 00 00 00 02 F3 00 - 29 01 00 00 00 00 02 F4 FE - 29 01 00 00 00 00 02 F5 01 - 29 01 00 00 00 00 02 F6 09 - 29 01 00 00 00 00 02 F7 01 - 29 01 00 00 00 00 02 F8 13 - 29 01 00 00 00 00 02 F9 01 - 29 01 00 00 00 00 02 FA 1D - 29 01 00 00 00 00 02 FF 02 - 29 01 00 00 00 00 02 FB 01 - 29 01 00 00 00 00 02 00 01 - 29 01 00 00 00 00 02 01 26 - 29 01 00 00 00 00 02 02 01 - 29 01 00 00 00 00 02 03 2F - 29 01 00 00 00 00 02 04 01 - 29 01 00 00 00 00 02 05 37 - 29 01 00 00 00 00 02 06 01 - 29 01 00 00 00 00 02 07 56 - 29 01 00 00 00 00 02 08 01 - 29 01 00 00 00 00 02 09 70 - 29 01 00 00 00 00 02 0A 01 - 29 01 00 00 00 00 02 0B 9D - 29 01 00 00 00 00 02 0C 01 - 29 01 00 00 00 00 02 0D C2 - 29 01 00 00 00 00 02 0E 01 - 29 01 00 00 00 00 02 0F FF - 29 01 00 00 00 00 02 10 02 - 29 01 00 00 00 00 02 11 31 - 29 01 00 00 00 00 02 12 02 - 29 01 00 00 00 00 02 13 32 - 29 01 00 00 00 00 02 14 02 - 29 01 00 00 00 00 02 15 60 - 29 01 00 00 00 00 02 16 02 - 29 01 00 00 00 00 02 17 94 - 29 01 00 00 00 00 02 18 02 - 29 01 00 00 00 00 02 19 B5 - 29 01 00 00 00 00 02 1A 02 - 29 01 00 00 00 00 02 1B E3 - 29 01 00 00 00 00 02 1C 03 - 29 01 00 00 00 00 02 1D 03 - 29 01 00 00 00 00 02 1E 03 - 29 01 00 00 00 00 02 1F 2D - 29 01 00 00 00 00 02 20 03 - 29 01 00 00 00 00 02 21 3A - 29 01 00 00 00 00 02 22 03 - 29 01 00 00 00 00 02 23 48 - 29 01 00 00 00 00 02 24 03 - 29 01 00 00 00 00 02 25 57 - 29 01 00 00 00 00 02 26 03 - 29 01 00 00 00 00 02 27 68 - 29 01 00 00 00 00 02 28 03 - 29 01 00 00 00 00 02 29 7B - 29 01 00 00 00 00 02 2A 03 - 29 01 00 00 00 00 02 2B 90 - 29 01 00 00 00 00 02 2D 03 - 29 01 00 00 00 00 02 2F A0 - 29 01 00 00 00 00 02 30 03 - 29 01 00 00 00 00 02 31 CB - 29 01 00 00 00 00 02 32 00 - 29 01 00 00 00 00 02 33 ED - 29 01 00 00 00 00 02 34 00 - 29 01 00 00 00 00 02 35 F3 - 29 01 00 00 00 00 02 36 00 - 29 01 00 00 00 00 02 37 FE - 29 01 00 00 00 00 02 38 01 - 29 01 00 00 00 00 02 39 09 - 29 01 00 00 00 00 02 3A 01 - 29 01 00 00 00 00 02 3B 13 - 29 01 00 00 00 00 02 3D 01 - 29 01 00 00 00 00 02 3F 1D - 29 01 00 00 00 00 02 40 01 - 29 01 00 00 00 00 02 41 26 - 29 01 00 00 00 00 02 42 01 - 29 01 00 00 00 00 02 43 2F - 29 01 00 00 00 00 02 44 01 - 29 01 00 00 00 00 02 45 37 - 29 01 00 00 00 00 02 46 01 - 29 01 00 00 00 00 02 47 56 - 29 01 00 00 00 00 02 48 01 - 29 01 00 00 00 00 02 49 70 - 29 01 00 00 00 00 02 4A 01 - 29 01 00 00 00 00 02 4B 9D - 29 01 00 00 00 00 02 4C 01 - 29 01 00 00 00 00 02 4D C2 - 29 01 00 00 00 00 02 4E 01 - 29 01 00 00 00 00 02 4F FF - 29 01 00 00 00 00 02 50 02 - 29 01 00 00 00 00 02 51 31 - 29 01 00 00 00 00 02 52 02 - 29 01 00 00 00 00 02 53 32 - 29 01 00 00 00 00 02 54 02 - 29 01 00 00 00 00 02 55 60 - 29 01 00 00 00 00 02 56 02 - 29 01 00 00 00 00 02 58 94 - 29 01 00 00 00 00 02 59 02 - 29 01 00 00 00 00 02 5A B5 - 29 01 00 00 00 00 02 5B 02 - 29 01 00 00 00 00 02 5C E3 - 29 01 00 00 00 00 02 5D 03 - 29 01 00 00 00 00 02 5E 03 - 29 01 00 00 00 00 02 5F 03 - 29 01 00 00 00 00 02 60 2D - 29 01 00 00 00 00 02 61 03 - 29 01 00 00 00 00 02 62 3A - 29 01 00 00 00 00 02 63 03 - 29 01 00 00 00 00 02 64 48 - 29 01 00 00 00 00 02 65 03 - 29 01 00 00 00 00 02 66 57 - 29 01 00 00 00 00 02 67 03 - 29 01 00 00 00 00 02 68 68 - 29 01 00 00 00 00 02 69 03 - 29 01 00 00 00 00 02 6A 7B - 29 01 00 00 00 00 02 6B 03 - 29 01 00 00 00 00 02 6C 90 - 29 01 00 00 00 00 02 6D 03 - 29 01 00 00 00 00 02 6E A0 - 29 01 00 00 00 00 02 6F 03 - 29 01 00 00 00 00 02 70 CB - 29 01 00 00 00 00 02 71 00 - 29 01 00 00 00 00 02 72 19 - 29 01 00 00 00 00 02 73 00 - 29 01 00 00 00 00 02 74 36 - 29 01 00 00 00 00 02 75 00 - 29 01 00 00 00 00 02 76 55 - 29 01 00 00 00 00 02 77 00 - 29 01 00 00 00 00 02 78 70 - 29 01 00 00 00 00 02 79 00 - 29 01 00 00 00 00 02 7A 83 - 29 01 00 00 00 00 02 7B 00 - 29 01 00 00 00 00 02 7C 99 - 29 01 00 00 00 00 02 7D 00 - 29 01 00 00 00 00 02 7E A8 - 29 01 00 00 00 00 02 7F 00 - 29 01 00 00 00 00 02 80 B7 - 29 01 00 00 00 00 02 81 00 - 29 01 00 00 00 00 02 82 C5 - 29 01 00 00 00 00 02 83 00 - 29 01 00 00 00 00 02 84 F7 - 29 01 00 00 00 00 02 85 01 - 29 01 00 00 00 00 02 86 1E - 29 01 00 00 00 00 02 87 01 - 29 01 00 00 00 00 02 88 60 - 29 01 00 00 00 00 02 89 01 - 29 01 00 00 00 00 02 8A 95 - 29 01 00 00 00 00 02 8B 01 - 29 01 00 00 00 00 02 8C E1 - 29 01 00 00 00 00 02 8D 02 - 29 01 00 00 00 00 02 8E 20 - 29 01 00 00 00 00 02 8F 02 - 29 01 00 00 00 00 02 90 23 - 29 01 00 00 00 00 02 91 02 - 29 01 00 00 00 00 02 92 59 - 29 01 00 00 00 00 02 93 02 - 29 01 00 00 00 00 02 94 94 - 29 01 00 00 00 00 02 95 02 - 29 01 00 00 00 00 02 96 B4 - 29 01 00 00 00 00 02 97 02 - 29 01 00 00 00 00 02 98 E1 - 29 01 00 00 00 00 02 99 03 - 29 01 00 00 00 00 02 9A 01 - 29 01 00 00 00 00 02 9B 03 - 29 01 00 00 00 00 02 9C 28 - 29 01 00 00 00 00 02 9D 03 - 29 01 00 00 00 00 02 9E 30 - 29 01 00 00 00 00 02 9F 03 - 29 01 00 00 00 00 02 A0 37 - 29 01 00 00 00 00 02 A2 03 - 29 01 00 00 00 00 02 A3 3B - 29 01 00 00 00 00 02 A4 03 - 29 01 00 00 00 00 02 A5 40 - 29 01 00 00 00 00 02 A6 03 - 29 01 00 00 00 00 02 A7 50 - 29 01 00 00 00 00 02 A9 03 - 29 01 00 00 00 00 02 AA 6D - 29 01 00 00 00 00 02 AB 03 - 29 01 00 00 00 00 02 AC 80 - 29 01 00 00 00 00 02 AD 03 - 29 01 00 00 00 00 02 AE CB - 29 01 00 00 00 00 02 AF 00 - 29 01 00 00 00 00 02 B0 19 - 29 01 00 00 00 00 02 B1 00 - 29 01 00 00 00 00 02 B2 36 - 29 01 00 00 00 00 02 B3 00 - 29 01 00 00 00 00 02 B4 55 - 29 01 00 00 00 00 02 B5 00 - 29 01 00 00 00 00 02 B6 70 - 29 01 00 00 00 00 02 B7 00 - 29 01 00 00 00 00 02 B8 83 - 29 01 00 00 00 00 02 B9 00 - 29 01 00 00 00 00 02 BA 99 - 29 01 00 00 00 00 02 BB 00 - 29 01 00 00 00 00 02 BC A8 - 29 01 00 00 00 00 02 BD 00 - 29 01 00 00 00 00 02 BE B7 - 29 01 00 00 00 00 02 BF 00 - 29 01 00 00 00 00 02 C0 C5 - 29 01 00 00 00 00 02 C1 00 - 29 01 00 00 00 00 02 C2 F7 - 29 01 00 00 00 00 02 C3 01 - 29 01 00 00 00 00 02 C4 1E - 29 01 00 00 00 00 02 C5 01 - 29 01 00 00 00 00 02 C6 60 - 29 01 00 00 00 00 02 C7 01 - 29 01 00 00 00 00 02 C8 95 - 29 01 00 00 00 00 02 C9 01 - 29 01 00 00 00 00 02 CA E1 - 29 01 00 00 00 00 02 CB 02 - 29 01 00 00 00 00 02 CC 20 - 29 01 00 00 00 00 02 CD 02 - 29 01 00 00 00 00 02 CE 23 - 29 01 00 00 00 00 02 CF 02 - 29 01 00 00 00 00 02 D0 59 - 29 01 00 00 00 00 02 D1 02 - 29 01 00 00 00 00 02 D2 94 - 29 01 00 00 00 00 02 D3 02 - 29 01 00 00 00 00 02 D4 B4 - 29 01 00 00 00 00 02 D5 02 - 29 01 00 00 00 00 02 D6 E1 - 29 01 00 00 00 00 02 D7 03 - 29 01 00 00 00 00 02 D8 01 - 29 01 00 00 00 00 02 D9 03 - 29 01 00 00 00 00 02 DA 28 - 29 01 00 00 00 00 02 DB 03 - 29 01 00 00 00 00 02 DC 30 - 29 01 00 00 00 00 02 DD 03 - 29 01 00 00 00 00 02 DE 37 - 29 01 00 00 00 00 02 DF 03 - 29 01 00 00 00 00 02 E0 3B - 29 01 00 00 00 00 02 E1 03 - 29 01 00 00 00 00 02 E2 40 - 29 01 00 00 00 00 02 E3 03 - 29 01 00 00 00 00 02 E4 50 - 29 01 00 00 00 00 02 E5 03 - 29 01 00 00 00 00 02 E6 6D - 29 01 00 00 00 00 02 E7 03 - 29 01 00 00 00 00 02 E8 80 - 29 01 00 00 00 00 02 E9 03 - 29 01 00 00 00 00 02 EA CB - 29 01 00 00 00 00 02 FF 01 - 29 01 00 00 00 00 02 FB 01 - 29 01 00 00 00 00 02 FF 02 - 29 01 00 00 00 00 02 FB 01 - 29 01 00 00 00 00 02 FF 04 - 29 01 00 00 00 00 02 FB 01 - 29 01 00 00 00 00 02 FF 00 - 29 01 00 00 64 00 02 11 00 - 29 01 00 00 00 00 02 FF EE - 29 01 00 00 00 00 02 12 50 - 29 01 00 00 00 00 02 13 02 - 29 01 00 00 00 00 02 6A 60 - 29 01 00 00 00 00 02 FF 00 - 29 01 00 00 78 00 02 29 00]; - - qcom,on-cmds-dsi-state = "DSI_LP_MODE"; - qcom,panel-off-cmds = [05 01 00 00 32 00 02 28 00 - 05 01 00 00 78 00 02 10 00]; - qcom,off-cmds-dsi-state = "DSI_HS_MODE"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/dsi-panel-orise-720p-video.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v1/dsi-panel-orise-720p-video.dtsi deleted file mode 100644 index 478541fb1..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/dsi-panel-orise-720p-video.dtsi +++ /dev/null @@ -1,60 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -&soc { - qcom,mdss_dsi_orise_720p_video { - compatible = "qcom,mdss-dsi-panel"; - label = "orise 720p video mode dsi panel"; - status = "disable"; - qcom,dsi-ctrl-phandle = <&mdss_dsi1>; - qcom,mdss-pan-res = <720 1280>; - qcom,mdss-pan-bpp = <24>; - qcom,mdss-pan-dest = "display_2"; - qcom,mdss-pan-porch-values = <32 12 144 3 4 9>; - qcom,mdss-pan-underflow-clr = <0xff>; - qcom,mdss-pan-bl-levels = <1 255>; - qcom,mdss-pan-dsi-mode = <0>; - qcom,mdss-pan-dsi-h-pulse-mode = <0>; - qcom,mdss-pan-dsi-h-power-stop = <0 0 0>; - qcom,mdss-pan-dsi-bllp-power-stop = <1 1>; - qcom,mdss-pan-dsi-traffic-mode = <1>; - qcom,mdss-pan-dsi-dst-format = <3>; - qcom,mdss-pan-dsi-vc = <0>; - qcom,mdss-pan-dsi-rgb-swap = <0>; - qcom,mdss-pan-dsi-data-lanes = <1 1 1 1>; - qcom,mdss-pan-dsi-dlane-swap = <0>; - qcom,mdss-pan-dsi-t-clk = <0x1b 0x04>; - qcom,mdss-pan-dsi-stream = <0>; - qcom,mdss-pan-dsi-mdp-tr = <0x0>; - qcom,mdss-pan-dsi-dma-tr = <0x04>; - qcom,mdss-pan-dsi-frame-rate = <60>; - qcom,panel-phy-regulatorSettings = [03 01 01 00 /* Regualotor settings */ - 20 00 01]; - qcom,panel-phy-timingSettings = [69 29 1f 00 55 55 - 19 2a 2a 03 04 00]; - qcom,panel-phy-strengthCtrl = [77 06]; - qcom,panel-phy-bistCtrl = [00 00 b1 ff /* BIST Ctrl settings */ - 00 00]; - qcom,panel-phy-laneConfig = [00 c2 45 00 00 00 00 01 75 /* lane0 config */ - 00 c2 45 00 00 00 00 01 75 /* lane1 config */ - 00 c2 45 00 00 00 00 01 75 /* lane2 config */ - 00 c2 45 00 00 00 00 01 75 /* lane3 config */ - 00 02 45 00 00 00 00 01 97]; /* Clk ln config */ - - qcom,panel-on-cmds = [05 01 00 00 78 00 02 11 00 - 05 01 00 00 78 00 02 29 00]; - qcom,on-cmds-dsi-state = "DSI_LP_MODE"; - qcom,panel-off-cmds = [05 01 00 00 32 00 02 28 00 - 05 01 00 00 78 00 02 10 00]; - qcom,off-cmds-dsi-state = "DSI_LP_MODE"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/dsi-panel-sharp-qhd-video.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v1/dsi-panel-sharp-qhd-video.dtsi deleted file mode 100644 index 45d396cdc..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/dsi-panel-sharp-qhd-video.dtsi +++ /dev/null @@ -1,67 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -&soc { - qcom,mdss_dsi_sharp_qhd_video { - compatible = "qcom,mdss-dsi-panel"; - label = "sharp QHD LS043T1LE01 video mode dsi panel"; - status = "disable"; - qcom,dsi-ctrl-phandle = <&mdss_dsi0>; - qcom,enable-gpio = <&msmgpio 58 0>; - qcom,rst-gpio = <&pm8941_gpios 19 0>; - qcom,mdss-pan-res = <540 960>; - qcom,mdss-pan-bpp = <24>; - qcom,mdss-pan-dest = "display_1"; - qcom,mdss-pan-porch-values = <80 32 48 15 10 3>; /* HBP, HPW, HFP, VBP, VPW, VFP */ - qcom,mdss-pan-underflow-clr = <0xff>; - qcom,mdss-pan-bl-ctrl = "bl_ctrl_wled"; - qcom,mdss-pan-bl-levels = <1 4095>; - qcom,mdss-pan-dsi-mode = <0>; - qcom,mdss-pan-dsi-h-pulse-mode = <1>; - qcom,mdss-pan-dsi-h-power-stop = <0 0 0>; - qcom,mdss-pan-dsi-bllp-power-stop = <1 1>; - qcom,mdss-pan-dsi-traffic-mode = <0>; - qcom,mdss-pan-dsi-dst-format = <3>; - qcom,mdss-pan-dsi-vc = <0>; - qcom,mdss-pan-dsi-rgb-swap = <2>; - qcom,mdss-pan-dsi-data-lanes = <1 1 0 0>; - qcom,mdss-pan-dsi-dlane-swap = <0>; - qcom,mdss-pan-dsi-t-clk = <0x1c 0x04>; - qcom,mdss-pan-dsi-stream = <0>; - qcom,mdss-pan-dsi-mdp-tr = <0x04>; - qcom,mdss-pan-dsi-dma-tr = <0x04>; - qcom,mdss-pan-frame-rate = <60>; - qcom,panel-phy-regulatorSettings = [07 09 03 00 /* Regulator settings */ - 20 00 01]; - qcom,panel-phy-timingSettings = [46 1d 20 00 39 3a - 21 21 32 03 04 00]; - qcom,panel-phy-strengthCtrl = [ff 06]; - qcom,panel-phy-bistCtrl = [00 00 b1 ff /* BIST Ctrl settings */ - 00 00]; - qcom,panel-phy-laneConfig = [00 00 00 00 00 00 00 01 97 /* lane0 config */ - 00 00 00 00 05 00 00 01 97 /* lane1 config */ - 00 00 00 00 0a 00 00 01 97 /* lane2 config */ - 00 00 00 00 0f 00 00 01 97 /* lane3 config */ - 00 c0 00 00 00 00 00 01 bb]; /* Clk ln config */ - qcom,panel-on-cmds = [05 01 00 00 32 00 02 01 00 /* sw reset */ - 05 01 00 00 0a 00 02 11 00 /* exit sleep */ - 15 01 00 00 0a 00 02 53 2c /* backlight on */ - 15 01 00 00 0a 00 02 51 ff /* brightness max */ - 05 01 00 00 0a 00 02 29 00 /* display on */ - 15 01 00 00 0a 00 02 ae 03 /* set num of lanes */ - 15 01 00 00 0a 00 02 3a 77 /* rgb_888 */]; - qcom,on-cmds-dsi-state = "DSI_LP_MODE"; - qcom,panel-off-cmds = [05 01 00 00 0a 00 02 28 00 /* display off */ - 05 01 00 00 78 00 02 10 00 /* enter sleep */]; - qcom,off-cmds-dsi-state = "DSI_HS_MODE"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/dsi-panel-sim-video.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v1/dsi-panel-sim-video.dtsi deleted file mode 100644 index 271e37316..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/dsi-panel-sim-video.dtsi +++ /dev/null @@ -1,46 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&soc { - - qcom,mdss_dsi_sim_video { - compatible = "qcom,mdss-dsi-panel"; - label = "simulator video mode dsi panel"; - status = "disable"; - qcom,dsi-ctrl-phandle = <&mdss_dsi0>; - qcom,mdss-pan-res = <640 480>; - qcom,mdss-pan-bpp = <24>; - qcom,mdss-pan-dest = "display_1"; - qcom,mdss-pan-porch-values = <6 2 6 6 2 6>; - qcom,mdss-pan-underflow-clr = <0xff>; - qcom,mdss-pan-bl-levels = <1 15>; - qcom,mdss-pan-dsi-mode = <0>; - qcom,mdss-pan-dsi-h-pulse-mode = <1>; - qcom,mdss-pan-dsi-h-power-stop = <1 1 1>; - qcom,mdss-pan-dsi-bllp-power-stop = <1 1>; - qcom,mdss-pan-dsi-traffic-mode = <0>; - qcom,mdss-pan-dsi-dst-format = <3>; - qcom,mdss-pan-dsi-vc = <0>; - qcom,mdss-pan-dsi-rgb-swap = <0>; - qcom,mdss-pan-dsi-data-lanes = <1 1 0 0>; - qcom,mdss-pan-dsi-dlane-swap = <0>; - qcom,mdss-pan-dsi-t-clk = <0x24 0x03>; - qcom,mdss-pan-dsi-stream = <0>; - qcom,mdss-pan-dsi-mdp-tr = <0x04>; - qcom,mdss-pan-dsi-dma-tr = <0x04>; - qcom,mdss-pan-dsi-frame-rate = <60>; - qcom,panel-on-cmds = [32 01 00 00 00 00 02 00 00]; - qcom,on-cmds-dsi-state = "DSI_LP_MODE"; - qcom,panel-off-cmds = [22 01 00 00 00 00 02 00 00]; - qcom,off-cmds-dsi-state = "DSI_LP_MODE"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/dsi-panel-toshiba-720p-video.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v1/dsi-panel-toshiba-720p-video.dtsi deleted file mode 100644 index 5c37cf8dc..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/dsi-panel-toshiba-720p-video.dtsi +++ /dev/null @@ -1,124 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&soc { - - qcom,mdss_dsi_toshiba_720p_video { - compatible = "qcom,mdss-dsi-panel"; - label = "toshiba 720p video mode dsi panel"; - status = "disable"; - qcom,dsi-ctrl-phandle = <&mdss_dsi0>; - qcom,enable-gpio = <&msmgpio 58 0>; - qcom,rst-gpio = <&pm8941_gpios 19 0>; - qcom,mdss-pan-res = <720 1280>; - qcom,mdss-pan-bpp = <24>; - qcom,mdss-pan-dest = "display_1"; - qcom,mdss-pan-porch-values = <32 12 144 3 4 9>; - qcom,mdss-pan-underflow-clr = <0xff>; - qcom,mdss-pan-bl-ctrl = "bl_ctrl_wled"; - qcom,mdss-pan-bl-levels = <1 4095>; - qcom,mdss-pan-dsi-mode = <0>; - qcom,mdss-pan-dsi-h-pulse-mode = <0>; - qcom,mdss-pan-dsi-h-power-stop = <0 0 0>; - qcom,mdss-pan-dsi-bllp-power-stop = <1 1>; - qcom,mdss-pan-dsi-traffic-mode = <1>; - qcom,mdss-pan-dsi-dst-format = <3>; - qcom,mdss-pan-dsi-vc = <0>; - qcom,mdss-pan-dsi-rgb-swap = <0>; - qcom,mdss-pan-dsi-data-lanes = <1 1 1 1>; - qcom,mdss-pan-dsi-dlane-swap = <0>; - qcom,mdss-pan-dsi-t-clk = <0x1b 0x04>; - qcom,mdss-pan-dsi-stream = <0>; - qcom,mdss-pan-dsi-mdp-tr = <0x0>; - qcom,mdss-pan-dsi-dma-tr = <0x04>; - qcom,mdss-pan-dsi-frame-rate = <60>; - qcom,panel-phy-regulatorSettings = [07 09 03 00 /* Regualotor settings */ - 20 00 01]; - qcom,panel-phy-timingSettings = [b0 23 1b 00 94 93 - 1e 25 15 03 04 00]; - qcom,panel-phy-strengthCtrl = [ff 06]; - qcom,panel-phy-bistCtrl = [00 00 b1 ff /* BIST Ctrl settings */ - 00 00]; - qcom,panel-phy-laneConfig = [00 00 00 00 00 00 00 01 97 /* lane0 config */ - 00 00 00 00 05 00 00 01 97 /* lane1 config */ - 00 00 00 00 0a 00 00 01 97 /* lane2 config */ - 00 00 00 00 0f 00 00 01 97 /* lane3 config */ - 00 c0 00 00 00 00 00 01 bb]; /* Clk ln config */ - - qcom,panel-on-cmds = [23 01 00 00 0a 00 02 b0 00 - 23 01 00 00 0a 00 02 b2 00 - 23 01 00 00 0a 00 02 b3 0c - 23 01 00 00 0a 00 02 b4 02 - 29 01 00 00 00 00 06 - c0 40 02 7f c8 08 - 29 01 00 00 00 00 10 - c1 00 a8 00 00 00 - 00 00 9d 08 27 00 - 00 00 00 00 - 29 01 00 00 00 00 06 - c2 00 00 09 00 00 - 23 01 00 00 0a 00 02 c3 04 - 29 01 00 00 00 00 04 - c4 4d 83 00 - 29 01 00 00 00 00 0b - c6 12 00 08 71 00 - 00 00 80 00 04 - 23 01 00 00 0a 00 02 c7 22 - 29 01 00 00 00 00 05 - c8 4c 0c 0c 0c - 29 01 00 00 00 00 0e - c9 00 40 00 16 32 - 2e 3a 43 3e 3c 45 - 79 3f - 29 01 00 00 00 00 0e - ca 00 46 1a 23 21 - 1c 25 31 2d 49 5f - 7f 3f - 29 01 00 00 00 00 0e - cb 00 4c 20 3a 42 - 40 47 4b 42 3e 46 - 7e 3f - 29 01 00 00 00 00 0e - cc 00 41 19 21 1d - 14 18 1f 1d 25 3f - 73 3f - 29 01 00 00 00 00 0e - cd 23 79 5a 5f 57 - 4c 51 51 45 3f 4b - 7f 3f - 29 01 00 00 00 00 0e - ce 00 40 14 20 1a - 0e 0e 13 08 00 05 - 46 1c - 29 01 00 00 00 00 04 - d0 6a 64 01 - 29 01 00 00 00 00 03 d1 77 d4 - 23 01 00 00 0a 00 02 d3 33 - 29 01 00 00 00 00 03 d5 0f 0f - 29 01 00 00 00 00 07 - d8 34 64 23 25 62 - 32 - 29 01 00 00 00 00 0c - de 10 7b 11 0a 00 - 00 00 00 00 00 00 - 29 01 00 00 00 00 09 - fd 04 55 53 00 70 - ff 10 73 - 23 01 00 00 0a 00 02 e2 00 - 05 01 00 00 78 00 02 11 00 - 05 01 00 00 32 00 02 29 00]; - qcom,on-cmds-dsi-state = "DSI_LP_MODE"; - qcom,panel-off-cmds = [05 01 00 00 32 00 02 28 00 - 05 01 00 00 78 00 02 10 00]; - qcom,off-cmds-dsi-state = "DSI_HS_MODE"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/dsi-v2-panel-hx8379a-wvga-video.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v1/dsi-v2-panel-hx8379a-wvga-video.dtsi deleted file mode 100644 index b9ed0506a..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/dsi-v2-panel-hx8379a-wvga-video.dtsi +++ /dev/null @@ -1,117 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/ { - qcom,dsi_v2_hx8379a_wvga_video { - compatible = "qcom,dsi-panel-v2"; - label = "HX8379A WVGA video mode dsi panel"; - qcom,dsi-ctrl-phandle = <&mdss_dsi0>; - qcom,rst-gpio = <&msmgpio 41 0>; - vdda-supply = <&pm8110_l19>; - vddio-supply=<&pm8110_l14>; - qcom,mdss-pan-res = <480 800>; - qcom,mdss-pan-bpp = <24>; - qcom,mdss-pan-dest = "display_1"; - qcom,mdss-pan-porch-values = <90 17 90 2 3 11>; - qcom,mdss-pan-underflow-clr = <0xff>; - qcom,mdss-pan-bl-levels = <1 255>; - qcom,mdss-pan-bl-ctrl = "bl_ctrl_wled"; - qcom,mdss-pan-dsi-mode = <0>; - qcom,mdss-pan-dsi-h-pulse-mode = <1>; - qcom,mdss-pan-dsi-h-power-stop = <0 0 0>; - qcom,mdss-pan-dsi-bllp-power-stop = <1 1>; - qcom,mdss-pan-dsi-traffic-mode = <2>; - qcom,mdss-pan-dsi-dst-format = <3>; - qcom,mdss-pan-dsi-vc = <0>; - qcom,mdss-pan-dsi-rgb-swap = <0>; - qcom,mdss-pan-dsi-data-lanes = <1 1 0 0>; - qcom,mdss-pan-dsi-dlane-swap = <1>; - qcom,mdss-pan-dsi-t-clk = <0x1b 0x04>; - qcom,mdss-pan-dsi-stream = <0>; - qcom,mdss-pan-dsi-mdp-tr = <0x0>;/*todo*/ - qcom,mdss-pan-dsi-dma-tr = <0x04>; - qcom,mdss-pan-dsi-frame-rate = <60>; - qcom,panel-phy-regulatorSettings =[09 08 05 00 20 03]; - qcom,panel-phy-timingSettings = [5D 12 0C 00 33 39 - 10 16 15 03 04 00]; - qcom,panel-phy-strengthCtrl = [ff 06]; - qcom,panel-phy-bistCtrl = [03 03 00 00 0f 00]; - qcom,panel-phy-laneConfig = - [80 45 00 00 01 66 /*lane0**/ - 80 45 00 00 01 66 /*lane1*/ - 80 45 00 00 01 66 /*lane2*/ - 80 45 00 00 01 66 /*lane3*/ - 40 67 00 00 01 88]; /*Clk*/ - - qcom,on-cmds-dsi-state = "DSI_LP_MODE"; - qcom,panel-on-cmds = [ - 29 01 00 00 01 04 - B9 FF 83 79 - 23 01 00 00 01 02 - BA 51 - 29 01 00 00 01 14 - B1 00 50 44 - EA 8D 08 11 - 0F 0F 24 2C - 9A 1A 42 0B - 6E F1 00 E6 - 29 01 00 00 01 0e - B2 00 00 3C - 08 04 19 22 - 00 FF 08 04 - 19 20 - 29 01 00 00 01 20 - B4 80 08 00 - 32 10 03 32 - 13 70 32 10 - 08 37 01 28 - 05 37 08 3C - 20 44 44 08 - 00 40 08 28 - 08 30 30 04 - 23 01 00 00 01 02 - cc 02 - 29 01 00 00 01 30 - D5 00 00 08 - 00 01 05 00 - 03 00 88 88 - 88 88 23 01 - 67 45 02 13 - 88 88 88 88 - 88 88 88 88 - 88 88 54 76 - 10 32 31 20 - 88 88 88 88 - 88 88 00 00 - 00 00 00 00 - 29 01 00 00 01 24 - E0 79 00 00 - 02 1C 1F 33 - 28 3E 07 0E - 0F 15 17 16 - 16 13 19 00 - 00 02 1C 1F - 33 28 3E 07 - 0E 0F 15 17 - 16 16 13 19 - 29 01 00 00 01 05 - B6 00 A6 00 A6 - 05 01 00 00 96 02 - 11 00 - 05 01 00 00 78 02 - 29 00 - ]; - qcom,panel-off-cmds = [05 01 00 00 32 02 28 00 - 05 01 00 00 78 02 10 00]; - qcom,off-cmds-dsi-state = "DSI_LP_MODE"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/dsi-v2-panel-truly-wvga-video.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v1/dsi-v2-panel-truly-wvga-video.dtsi deleted file mode 100644 index 891eac3ad..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/dsi-v2-panel-truly-wvga-video.dtsi +++ /dev/null @@ -1,120 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/ { - qcom,dsi_v2_truly_wvga_video { - compatible = "qcom,dsi-panel-v2"; - label = "Truly WVGA video mode dsi panel"; - qcom,dsi-ctrl-phandle = <&mdss_dsi0>; - qcom,rst-gpio = <&msmgpio 41 0>; - qcom,mode-selection-gpio = <&msmgpio 7 0>; - vdda-supply = <&pm8110_l19>; - vddio-supply=<&pm8110_l14>; - qcom,mdss-pan-res = <480 800>; - qcom,mdss-pan-bpp = <24>; - qcom,mdss-pan-dest = "display_1"; - qcom,mdss-pan-porch-values = <40 8 160 10 2 12>; - qcom,mdss-pan-underflow-clr = <0xff>; - qcom,mdss-pan-bl-levels = <1 255>; - qcom,mdss-pan-bl-ctrl = "bl_ctrl_wled"; - qcom,mdss-pan-dsi-mode = <0>; - qcom,mdss-pan-dsi-h-pulse-mode = <0>; - qcom,mdss-pan-dsi-h-power-stop = <0 0 0>; - qcom,mdss-pan-dsi-bllp-power-stop = <1 1>; - qcom,mdss-pan-dsi-traffic-mode = <1>; - qcom,mdss-pan-dsi-dst-format = <3>; - qcom,mdss-pan-dsi-vc = <0>; - qcom,mdss-pan-dsi-rgb-swap = <0>; - qcom,mdss-pan-dsi-data-lanes = <1 1 0 0>; - qcom,mdss-pan-dsi-dlane-swap = <0>; - qcom,mdss-pan-dsi-t-clk = <0x1b 0x04>; - qcom,mdss-pan-dsi-stream = <0>; - qcom,mdss-pan-dsi-mdp-tr = <0x0>;/*todo*/ - qcom,mdss-pan-dsi-dma-tr = <0x04>; - qcom,mdss-pan-dsi-frame-rate = <60>; - qcom,panel-phy-regulatorSettings =[09 08 05 00 20 03]; - qcom,panel-phy-timingSettings = [5D 12 0C 00 33 38 - 10 16 1E 03 04 00]; - qcom,panel-phy-strengthCtrl = [ff 06]; - qcom,panel-phy-bistCtrl = [03 03 00 00 0f 00]; - qcom,panel-phy-laneConfig = - [80 45 00 00 01 66 /*lane0**/ - 80 45 00 00 01 66 /*lane1*/ - 80 45 00 00 01 66 /*lane2*/ - 80 45 00 00 01 66 /*lane3*/ - 40 67 00 00 01 88]; /*Clk*/ - - qcom,on-cmds-dsi-state = "DSI_LP_MODE"; - qcom,panel-on-cmds = [ - 05 01 00 00 00 02 - 01 00 - 23 01 00 00 00 02 - b0 04 - 29 01 00 00 00 03 - b3 02 00 - 23 01 00 00 00 02 - bd 00 - 29 01 00 00 00 03 - c0 18 66 - 29 01 00 00 00 10 - c1 23 31 99 21 20 00 30 28 0c 0c - 00 00 00 21 01 - 29 01 00 00 00 07 - c2 10 06 06 01 03 00 - 29 01 00 00 00 19 - c8 04 10 18 20 2e 46 3c 28 1f 18 - 10 04 04 10 18 20 2e 46 3c 28 1f 18 10 04 - 29 01 00 00 00 19 - c9 04 10 18 20 2e 46 3c 28 1f 18 - 10 04 04 10 18 20 2e 46 3c 28 1f 18 10 04 - 29 01 00 00 00 19 - ca 04 10 18 20 2e 46 3c 28 1f 18 - 10 04 04 10 18 20 2e 46 3c 28 1f 18 10 04 - 29 01 00 00 00 11 - d0 29 03 ce a6 00 43 20 10 01 00 - 01 01 00 03 01 00 - 29 01 00 00 00 08 - d1 18 0C 23 03 75 02 50 - 23 01 00 00 00 02 - d3 11 - 29 01 00 00 00 03 - d5 2a 2a - 29 01 00 00 00 03 - de 01 41 - 23 01 00 00 00 02 - e6 51 - 23 01 00 00 00 02 - fa 03 - 23 01 00 00 64 02 - d6 28 - 39 01 00 00 00 05 - 2a 00 00 01 df - 39 01 00 00 00 05 - 2b 00 00 03 1f - 15 01 00 00 00 02 - 35 00 - 39 01 00 00 00 03 - 44 00 50 - 15 01 00 00 00 02 - 36 c1 - 15 01 00 00 00 02 - 3a 77 - 05 01 00 00 7D 02 - 11 00 - 05 01 00 00 14 02 - 29 00 - ]; - qcom,panel-off-cmds = [05 01 00 00 32 02 28 00 - 05 01 00 00 78 02 10 00]; - qcom,off-cmds-dsi-state = "DSI_LP_MODE"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/exynos4210-origen.dts b/kernel/arch/arm/boot/dts/m7350-un-v1/exynos4210-origen.dts deleted file mode 100644 index b8c476384..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/exynos4210-origen.dts +++ /dev/null @@ -1,137 +0,0 @@ -/* - * Samsung's Exynos4210 based Origen board device tree source - * - * Copyright (c) 2010-2011 Samsung Electronics Co., Ltd. - * http://www.samsung.com - * Copyright (c) 2010-2011 Linaro Ltd. - * www.linaro.org - * - * Device tree source file for Insignal's Origen board which is based on - * Samsung's Exynos4210 SoC. - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. -*/ - -/dts-v1/; -/include/ "exynos4210.dtsi" - -/ { - model = "Insignal Origen evaluation board based on Exynos4210"; - compatible = "insignal,origen", "samsung,exynos4210"; - - memory { - reg = <0x40000000 0x40000000>; - }; - - chosen { - bootargs ="root=/dev/ram0 rw ramdisk=8192 initrd=0x41000000,8M console=ttySAC2,115200 init=/linuxrc"; - }; - - sdhci@12530000 { - samsung,sdhci-bus-width = <4>; - linux,mmc_cap_4_bit_data; - samsung,sdhci-cd-internal; - gpio-cd = <&gpk2 2 2 3 3>; - gpios = <&gpk2 0 2 0 3>, - <&gpk2 1 2 0 3>, - <&gpk2 3 2 3 3>, - <&gpk2 4 2 3 3>, - <&gpk2 5 2 3 3>, - <&gpk2 6 2 3 3>; - }; - - sdhci@12510000 { - samsung,sdhci-bus-width = <4>; - linux,mmc_cap_4_bit_data; - samsung,sdhci-cd-internal; - gpio-cd = <&gpk0 2 2 3 3>; - gpios = <&gpk0 0 2 0 3>, - <&gpk0 1 2 0 3>, - <&gpk0 3 2 3 3>, - <&gpk0 4 2 3 3>, - <&gpk0 5 2 3 3>, - <&gpk0 6 2 3 3>; - }; - - gpio_keys { - compatible = "gpio-keys"; - #address-cells = <1>; - #size-cells = <0>; - - up { - label = "Up"; - gpios = <&gpx2 0 0 0 2>; - linux,code = <103>; - }; - - down { - label = "Down"; - gpios = <&gpx2 1 0 0 2>; - linux,code = <108>; - }; - - back { - label = "Back"; - gpios = <&gpx1 7 0 0 2>; - linux,code = <158>; - }; - - home { - label = "Home"; - gpios = <&gpx1 6 0 0 2>; - linux,code = <102>; - }; - - menu { - label = "Menu"; - gpios = <&gpx1 5 0 0 2>; - linux,code = <139>; - }; - }; - - keypad@100A0000 { - status = "disabled"; - }; - - sdhci@12520000 { - status = "disabled"; - }; - - sdhci@12540000 { - status = "disabled"; - }; - - i2c@13860000 { - status = "disabled"; - }; - - i2c@13870000 { - status = "disabled"; - }; - - i2c@13880000 { - status = "disabled"; - }; - - i2c@13890000 { - status = "disabled"; - }; - - i2c@138A0000 { - status = "disabled"; - }; - - i2c@138B0000 { - status = "disabled"; - }; - - i2c@138C0000 { - status = "disabled"; - }; - - i2c@138D0000 { - status = "disabled"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/exynos4210-smdkv310.dts b/kernel/arch/arm/boot/dts/m7350-un-v1/exynos4210-smdkv310.dts deleted file mode 100644 index 27afc8e53..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/exynos4210-smdkv310.dts +++ /dev/null @@ -1,182 +0,0 @@ -/* - * Samsung's Exynos4210 based SMDKV310 board device tree source - * - * Copyright (c) 2010-2011 Samsung Electronics Co., Ltd. - * http://www.samsung.com - * Copyright (c) 2010-2011 Linaro Ltd. - * www.linaro.org - * - * Device tree source file for Samsung's SMDKV310 board which is based on - * Samsung's Exynos4210 SoC. - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. -*/ - -/dts-v1/; -/include/ "exynos4210.dtsi" - -/ { - model = "Samsung smdkv310 evaluation board based on Exynos4210"; - compatible = "samsung,smdkv310", "samsung,exynos4210"; - - memory { - reg = <0x40000000 0x80000000>; - }; - - chosen { - bootargs = "root=/dev/ram0 rw ramdisk=8192 initrd=0x41000000,8M console=ttySAC1,115200 init=/linuxrc"; - }; - - sdhci@12530000 { - samsung,sdhci-bus-width = <4>; - linux,mmc_cap_4_bit_data; - samsung,sdhci-cd-internal; - gpio-cd = <&gpk2 2 2 3 3>; - gpios = <&gpk2 0 2 0 3>, - <&gpk2 1 2 0 3>, - <&gpk2 3 2 3 3>, - <&gpk2 4 2 3 3>, - <&gpk2 5 2 3 3>, - <&gpk2 6 2 3 3>; - }; - - keypad@100A0000 { - samsung,keypad-num-rows = <2>; - samsung,keypad-num-columns = <8>; - linux,keypad-no-autorepeat; - linux,keypad-wakeup; - - row-gpios = <&gpx2 0 3 3 0>, - <&gpx2 1 3 3 0>; - - col-gpios = <&gpx1 0 3 0 0>, - <&gpx1 1 3 0 0>, - <&gpx1 2 3 0 0>, - <&gpx1 3 3 0 0>, - <&gpx1 4 3 0 0>, - <&gpx1 5 3 0 0>, - <&gpx1 6 3 0 0>, - <&gpx1 7 3 0 0>; - - key_1 { - keypad,row = <0>; - keypad,column = <3>; - linux,code = <2>; - }; - - key_2 { - keypad,row = <0>; - keypad,column = <4>; - linux,code = <3>; - }; - - key_3 { - keypad,row = <0>; - keypad,column = <5>; - linux,code = <4>; - }; - - key_4 { - keypad,row = <0>; - keypad,column = <6>; - linux,code = <5>; - }; - - key_5 { - keypad,row = <0>; - keypad,column = <7>; - linux,code = <6>; - }; - - key_a { - keypad,row = <1>; - keypad,column = <3>; - linux,code = <30>; - }; - - key_b { - keypad,row = <1>; - keypad,column = <4>; - linux,code = <48>; - }; - - key_c { - keypad,row = <1>; - keypad,column = <5>; - linux,code = <46>; - }; - - key_d { - keypad,row = <1>; - keypad,column = <6>; - linux,code = <32>; - }; - - key_e { - keypad,row = <1>; - keypad,column = <7>; - linux,code = <18>; - }; - }; - - i2c@13860000 { - #address-cells = <1>; - #size-cells = <0>; - samsung,i2c-sda-delay = <100>; - samsung,i2c-max-bus-freq = <20000>; - gpios = <&gpd1 0 2 3 0>, - <&gpd1 1 2 3 0>; - - eeprom@50 { - compatible = "samsung,24ad0xd1"; - reg = <0x50>; - }; - - eeprom@52 { - compatible = "samsung,24ad0xd1"; - reg = <0x52>; - }; - }; - - sdhci@12510000 { - status = "disabled"; - }; - - sdhci@12520000 { - status = "disabled"; - }; - - sdhci@12540000 { - status = "disabled"; - }; - - i2c@13870000 { - status = "disabled"; - }; - - i2c@13880000 { - status = "disabled"; - }; - - i2c@13890000 { - status = "disabled"; - }; - - i2c@138A0000 { - status = "disabled"; - }; - - i2c@138B0000 { - status = "disabled"; - }; - - i2c@138C0000 { - status = "disabled"; - }; - - i2c@138D0000 { - status = "disabled"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/exynos4210.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v1/exynos4210.dtsi deleted file mode 100644 index a1dd2ee83..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/exynos4210.dtsi +++ /dev/null @@ -1,398 +0,0 @@ -/* - * Samsung's Exynos4210 SoC device tree source - * - * Copyright (c) 2010-2011 Samsung Electronics Co., Ltd. - * http://www.samsung.com - * Copyright (c) 2010-2011 Linaro Ltd. - * www.linaro.org - * - * Samsung's Exynos4210 SoC device nodes are listed in this file. Exynos4210 - * based board files can include this file and provide values for board specfic - * bindings. - * - * Note: This file does not include device nodes for all the controllers in - * Exynos4210 SoC. As device tree coverage for Exynos4210 increases, additional - * nodes can be added to this file. - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. -*/ - -/include/ "skeleton.dtsi" - -/ { - compatible = "samsung,exynos4210"; - interrupt-parent = <&gic>; - - gic:interrupt-controller@10490000 { - compatible = "arm,cortex-a9-gic"; - #interrupt-cells = <3>; - interrupt-controller; - cpu-offset = <0x8000>; - reg = <0x10490000 0x1000>, <0x10480000 0x100>; - }; - - watchdog@10060000 { - compatible = "samsung,s3c2410-wdt"; - reg = <0x10060000 0x100>; - interrupts = <0 43 0>; - }; - - rtc@10070000 { - compatible = "samsung,s3c6410-rtc"; - reg = <0x10070000 0x100>; - interrupts = <0 44 0>, <0 45 0>; - }; - - keypad@100A0000 { - compatible = "samsung,s5pv210-keypad"; - reg = <0x100A0000 0x100>; - interrupts = <0 109 0>; - }; - - sdhci@12510000 { - compatible = "samsung,exynos4210-sdhci"; - reg = <0x12510000 0x100>; - interrupts = <0 73 0>; - }; - - sdhci@12520000 { - compatible = "samsung,exynos4210-sdhci"; - reg = <0x12520000 0x100>; - interrupts = <0 74 0>; - }; - - sdhci@12530000 { - compatible = "samsung,exynos4210-sdhci"; - reg = <0x12530000 0x100>; - interrupts = <0 75 0>; - }; - - sdhci@12540000 { - compatible = "samsung,exynos4210-sdhci"; - reg = <0x12540000 0x100>; - interrupts = <0 76 0>; - }; - - serial@13800000 { - compatible = "samsung,exynos4210-uart"; - reg = <0x13800000 0x100>; - interrupts = <0 52 0>; - }; - - serial@13810000 { - compatible = "samsung,exynos4210-uart"; - reg = <0x13810000 0x100>; - interrupts = <0 53 0>; - }; - - serial@13820000 { - compatible = "samsung,exynos4210-uart"; - reg = <0x13820000 0x100>; - interrupts = <0 54 0>; - }; - - serial@13830000 { - compatible = "samsung,exynos4210-uart"; - reg = <0x13830000 0x100>; - interrupts = <0 55 0>; - }; - - i2c@13860000 { - compatible = "samsung,s3c2440-i2c"; - reg = <0x13860000 0x100>; - interrupts = <0 58 0>; - }; - - i2c@13870000 { - compatible = "samsung,s3c2440-i2c"; - reg = <0x13870000 0x100>; - interrupts = <0 59 0>; - }; - - i2c@13880000 { - compatible = "samsung,s3c2440-i2c"; - reg = <0x13880000 0x100>; - interrupts = <0 60 0>; - }; - - i2c@13890000 { - compatible = "samsung,s3c2440-i2c"; - reg = <0x13890000 0x100>; - interrupts = <0 61 0>; - }; - - i2c@138A0000 { - compatible = "samsung,s3c2440-i2c"; - reg = <0x138A0000 0x100>; - interrupts = <0 62 0>; - }; - - i2c@138B0000 { - compatible = "samsung,s3c2440-i2c"; - reg = <0x138B0000 0x100>; - interrupts = <0 63 0>; - }; - - i2c@138C0000 { - compatible = "samsung,s3c2440-i2c"; - reg = <0x138C0000 0x100>; - interrupts = <0 64 0>; - }; - - i2c@138D0000 { - compatible = "samsung,s3c2440-i2c"; - reg = <0x138D0000 0x100>; - interrupts = <0 65 0>; - }; - - amba { - #address-cells = <1>; - #size-cells = <1>; - compatible = "arm,amba-bus"; - interrupt-parent = <&gic>; - ranges; - - pdma0: pdma@12680000 { - compatible = "arm,pl330", "arm,primecell"; - reg = <0x12680000 0x1000>; - interrupts = <0 35 0>; - }; - - pdma1: pdma@12690000 { - compatible = "arm,pl330", "arm,primecell"; - reg = <0x12690000 0x1000>; - interrupts = <0 36 0>; - }; - }; - - gpio-controllers { - #address-cells = <1>; - #size-cells = <1>; - gpio-controller; - ranges; - - gpa0: gpio-controller@11400000 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400000 0x20>; - #gpio-cells = <4>; - }; - - gpa1: gpio-controller@11400020 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400020 0x20>; - #gpio-cells = <4>; - }; - - gpb: gpio-controller@11400040 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400040 0x20>; - #gpio-cells = <4>; - }; - - gpc0: gpio-controller@11400060 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400060 0x20>; - #gpio-cells = <4>; - }; - - gpc1: gpio-controller@11400080 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400080 0x20>; - #gpio-cells = <4>; - }; - - gpd0: gpio-controller@114000A0 { - compatible = "samsung,exynos4-gpio"; - reg = <0x114000A0 0x20>; - #gpio-cells = <4>; - }; - - gpd1: gpio-controller@114000C0 { - compatible = "samsung,exynos4-gpio"; - reg = <0x114000C0 0x20>; - #gpio-cells = <4>; - }; - - gpe0: gpio-controller@114000E0 { - compatible = "samsung,exynos4-gpio"; - reg = <0x114000E0 0x20>; - #gpio-cells = <4>; - }; - - gpe1: gpio-controller@11400100 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400100 0x20>; - #gpio-cells = <4>; - }; - - gpe2: gpio-controller@11400120 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400120 0x20>; - #gpio-cells = <4>; - }; - - gpe3: gpio-controller@11400140 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400140 0x20>; - #gpio-cells = <4>; - }; - - gpe4: gpio-controller@11400160 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400160 0x20>; - #gpio-cells = <4>; - }; - - gpf0: gpio-controller@11400180 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400180 0x20>; - #gpio-cells = <4>; - }; - - gpf1: gpio-controller@114001A0 { - compatible = "samsung,exynos4-gpio"; - reg = <0x114001A0 0x20>; - #gpio-cells = <4>; - }; - - gpf2: gpio-controller@114001C0 { - compatible = "samsung,exynos4-gpio"; - reg = <0x114001C0 0x20>; - #gpio-cells = <4>; - }; - - gpf3: gpio-controller@114001E0 { - compatible = "samsung,exynos4-gpio"; - reg = <0x114001E0 0x20>; - #gpio-cells = <4>; - }; - - gpj0: gpio-controller@11000000 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11000000 0x20>; - #gpio-cells = <4>; - }; - - gpj1: gpio-controller@11000020 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11000020 0x20>; - #gpio-cells = <4>; - }; - - gpk0: gpio-controller@11000040 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11000040 0x20>; - #gpio-cells = <4>; - }; - - gpk1: gpio-controller@11000060 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11000060 0x20>; - #gpio-cells = <4>; - }; - - gpk2: gpio-controller@11000080 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11000080 0x20>; - #gpio-cells = <4>; - }; - - gpk3: gpio-controller@110000A0 { - compatible = "samsung,exynos4-gpio"; - reg = <0x110000A0 0x20>; - #gpio-cells = <4>; - }; - - gpl0: gpio-controller@110000C0 { - compatible = "samsung,exynos4-gpio"; - reg = <0x110000C0 0x20>; - #gpio-cells = <4>; - }; - - gpl1: gpio-controller@110000E0 { - compatible = "samsung,exynos4-gpio"; - reg = <0x110000E0 0x20>; - #gpio-cells = <4>; - }; - - gpl2: gpio-controller@11000100 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11000100 0x20>; - #gpio-cells = <4>; - }; - - gpy0: gpio-controller@11000120 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11000120 0x20>; - #gpio-cells = <4>; - }; - - gpy1: gpio-controller@11000140 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11000140 0x20>; - #gpio-cells = <4>; - }; - - gpy2: gpio-controller@11000160 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11000160 0x20>; - #gpio-cells = <4>; - }; - - gpy3: gpio-controller@11000180 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11000180 0x20>; - #gpio-cells = <4>; - }; - - gpy4: gpio-controller@110001A0 { - compatible = "samsung,exynos4-gpio"; - reg = <0x110001A0 0x20>; - #gpio-cells = <4>; - }; - - gpy5: gpio-controller@110001C0 { - compatible = "samsung,exynos4-gpio"; - reg = <0x110001C0 0x20>; - #gpio-cells = <4>; - }; - - gpy6: gpio-controller@110001E0 { - compatible = "samsung,exynos4-gpio"; - reg = <0x110001E0 0x20>; - #gpio-cells = <4>; - }; - - gpx0: gpio-controller@11000C00 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11000C00 0x20>; - #gpio-cells = <4>; - }; - - gpx1: gpio-controller@11000C20 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11000C20 0x20>; - #gpio-cells = <4>; - }; - - gpx2: gpio-controller@11000C40 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11000C40 0x20>; - #gpio-cells = <4>; - }; - - gpx3: gpio-controller@11000C60 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11000C60 0x20>; - #gpio-cells = <4>; - }; - - gpz: gpio-controller@03860000 { - compatible = "samsung,exynos4-gpio"; - reg = <0x03860000 0x20>; - #gpio-cells = <4>; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/exynos5250-smdk5250.dts b/kernel/arch/arm/boot/dts/m7350-un-v1/exynos5250-smdk5250.dts deleted file mode 100644 index 399d17b23..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/exynos5250-smdk5250.dts +++ /dev/null @@ -1,26 +0,0 @@ -/* - * SAMSUNG SMDK5250 board device tree source - * - * Copyright (c) 2012 Samsung Electronics Co., Ltd. - * http://www.samsung.com - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. -*/ - -/dts-v1/; -/include/ "exynos5250.dtsi" - -/ { - model = "SAMSUNG SMDK5250 board based on EXYNOS5250"; - compatible = "samsung,smdk5250", "samsung,exynos5250"; - - memory { - reg = <0x40000000 0x80000000>; - }; - - chosen { - bootargs = "root=/dev/ram0 rw ramdisk=8192 console=ttySAC1,115200"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/exynos5250.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v1/exynos5250.dtsi deleted file mode 100644 index dfc433599..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/exynos5250.dtsi +++ /dev/null @@ -1,413 +0,0 @@ -/* - * SAMSUNG EXYNOS5250 SoC device tree source - * - * Copyright (c) 2012 Samsung Electronics Co., Ltd. - * http://www.samsung.com - * - * SAMSUNG EXYNOS5250 SoC device nodes are listed in this file. - * EXYNOS5250 based board files can include this file and provide - * values for board specfic bindings. - * - * Note: This file does not include device nodes for all the controllers in - * EXYNOS5250 SoC. As device tree coverage for EXYNOS5250 increases, - * additional nodes can be added to this file. - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. -*/ - -/include/ "skeleton.dtsi" - -/ { - compatible = "samsung,exynos5250"; - interrupt-parent = <&gic>; - - gic:interrupt-controller@10490000 { - compatible = "arm,cortex-a9-gic"; - #interrupt-cells = <3>; - interrupt-controller; - reg = <0x10490000 0x1000>, <0x10480000 0x100>; - }; - - watchdog { - compatible = "samsung,s3c2410-wdt"; - reg = <0x101D0000 0x100>; - interrupts = <0 42 0>; - }; - - rtc { - compatible = "samsung,s3c6410-rtc"; - reg = <0x101E0000 0x100>; - interrupts = <0 43 0>, <0 44 0>; - }; - - sdhci@12200000 { - compatible = "samsung,exynos4210-sdhci"; - reg = <0x12200000 0x100>; - interrupts = <0 75 0>; - }; - - sdhci@12210000 { - compatible = "samsung,exynos4210-sdhci"; - reg = <0x12210000 0x100>; - interrupts = <0 76 0>; - }; - - sdhci@12220000 { - compatible = "samsung,exynos4210-sdhci"; - reg = <0x12220000 0x100>; - interrupts = <0 77 0>; - }; - - sdhci@12230000 { - compatible = "samsung,exynos4210-sdhci"; - reg = <0x12230000 0x100>; - interrupts = <0 78 0>; - }; - - serial@12C00000 { - compatible = "samsung,exynos4210-uart"; - reg = <0x12C00000 0x100>; - interrupts = <0 51 0>; - }; - - serial@12C10000 { - compatible = "samsung,exynos4210-uart"; - reg = <0x12C10000 0x100>; - interrupts = <0 52 0>; - }; - - serial@12C20000 { - compatible = "samsung,exynos4210-uart"; - reg = <0x12C20000 0x100>; - interrupts = <0 53 0>; - }; - - serial@12C30000 { - compatible = "samsung,exynos4210-uart"; - reg = <0x12C30000 0x100>; - interrupts = <0 54 0>; - }; - - i2c@12C60000 { - compatible = "samsung,s3c2440-i2c"; - reg = <0x12C60000 0x100>; - interrupts = <0 56 0>; - }; - - i2c@12C70000 { - compatible = "samsung,s3c2440-i2c"; - reg = <0x12C70000 0x100>; - interrupts = <0 57 0>; - }; - - i2c@12C80000 { - compatible = "samsung,s3c2440-i2c"; - reg = <0x12C80000 0x100>; - interrupts = <0 58 0>; - }; - - i2c@12C90000 { - compatible = "samsung,s3c2440-i2c"; - reg = <0x12C90000 0x100>; - interrupts = <0 59 0>; - }; - - i2c@12CA0000 { - compatible = "samsung,s3c2440-i2c"; - reg = <0x12CA0000 0x100>; - interrupts = <0 60 0>; - }; - - i2c@12CB0000 { - compatible = "samsung,s3c2440-i2c"; - reg = <0x12CB0000 0x100>; - interrupts = <0 61 0>; - }; - - i2c@12CC0000 { - compatible = "samsung,s3c2440-i2c"; - reg = <0x12CC0000 0x100>; - interrupts = <0 62 0>; - }; - - i2c@12CD0000 { - compatible = "samsung,s3c2440-i2c"; - reg = <0x12CD0000 0x100>; - interrupts = <0 63 0>; - }; - - amba { - #address-cells = <1>; - #size-cells = <1>; - compatible = "arm,amba-bus"; - interrupt-parent = <&gic>; - ranges; - - pdma0: pdma@121A0000 { - compatible = "arm,pl330", "arm,primecell"; - reg = <0x121A0000 0x1000>; - interrupts = <0 34 0>; - }; - - pdma1: pdma@121B0000 { - compatible = "arm,pl330", "arm,primecell"; - reg = <0x121B0000 0x1000>; - interrupts = <0 35 0>; - }; - - mdma0: pdma@10800000 { - compatible = "arm,pl330", "arm,primecell"; - reg = <0x10800000 0x1000>; - interrupts = <0 33 0>; - }; - - mdma1: pdma@11C10000 { - compatible = "arm,pl330", "arm,primecell"; - reg = <0x11C10000 0x1000>; - interrupts = <0 124 0>; - }; - }; - - gpio-controllers { - #address-cells = <1>; - #size-cells = <1>; - gpio-controller; - ranges; - - gpa0: gpio-controller@11400000 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400000 0x20>; - #gpio-cells = <4>; - }; - - gpa1: gpio-controller@11400020 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400020 0x20>; - #gpio-cells = <4>; - }; - - gpa2: gpio-controller@11400040 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400040 0x20>; - #gpio-cells = <4>; - }; - - gpb0: gpio-controller@11400060 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400060 0x20>; - #gpio-cells = <4>; - }; - - gpb1: gpio-controller@11400080 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400080 0x20>; - #gpio-cells = <4>; - }; - - gpb2: gpio-controller@114000A0 { - compatible = "samsung,exynos4-gpio"; - reg = <0x114000A0 0x20>; - #gpio-cells = <4>; - }; - - gpb3: gpio-controller@114000C0 { - compatible = "samsung,exynos4-gpio"; - reg = <0x114000C0 0x20>; - #gpio-cells = <4>; - }; - - gpc0: gpio-controller@114000E0 { - compatible = "samsung,exynos4-gpio"; - reg = <0x114000E0 0x20>; - #gpio-cells = <4>; - }; - - gpc1: gpio-controller@11400100 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400100 0x20>; - #gpio-cells = <4>; - }; - - gpc2: gpio-controller@11400120 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400120 0x20>; - #gpio-cells = <4>; - }; - - gpc3: gpio-controller@11400140 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400140 0x20>; - #gpio-cells = <4>; - }; - - gpd0: gpio-controller@11400160 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400160 0x20>; - #gpio-cells = <4>; - }; - - gpd1: gpio-controller@11400180 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400180 0x20>; - #gpio-cells = <4>; - }; - - gpy0: gpio-controller@114001A0 { - compatible = "samsung,exynos4-gpio"; - reg = <0x114001A0 0x20>; - #gpio-cells = <4>; - }; - - gpy1: gpio-controller@114001C0 { - compatible = "samsung,exynos4-gpio"; - reg = <0x114001C0 0x20>; - #gpio-cells = <4>; - }; - - gpy2: gpio-controller@114001E0 { - compatible = "samsung,exynos4-gpio"; - reg = <0x114001E0 0x20>; - #gpio-cells = <4>; - }; - - gpy3: gpio-controller@11400200 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400200 0x20>; - #gpio-cells = <4>; - }; - - gpy4: gpio-controller@11400220 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400220 0x20>; - #gpio-cells = <4>; - }; - - gpy5: gpio-controller@11400240 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400240 0x20>; - #gpio-cells = <4>; - }; - - gpy6: gpio-controller@11400260 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400260 0x20>; - #gpio-cells = <4>; - }; - - gpx0: gpio-controller@11400C00 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400C00 0x20>; - #gpio-cells = <4>; - }; - - gpx1: gpio-controller@11400C20 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400C20 0x20>; - #gpio-cells = <4>; - }; - - gpx2: gpio-controller@11400C40 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400C40 0x20>; - #gpio-cells = <4>; - }; - - gpx3: gpio-controller@11400C60 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400C60 0x20>; - #gpio-cells = <4>; - }; - - gpe0: gpio-controller@13400000 { - compatible = "samsung,exynos4-gpio"; - reg = <0x13400000 0x20>; - #gpio-cells = <4>; - }; - - gpe1: gpio-controller@13400020 { - compatible = "samsung,exynos4-gpio"; - reg = <0x13400020 0x20>; - #gpio-cells = <4>; - }; - - gpf0: gpio-controller@13400040 { - compatible = "samsung,exynos4-gpio"; - reg = <0x13400040 0x20>; - #gpio-cells = <4>; - }; - - gpf1: gpio-controller@13400060 { - compatible = "samsung,exynos4-gpio"; - reg = <0x13400060 0x20>; - #gpio-cells = <4>; - }; - - gpg0: gpio-controller@13400080 { - compatible = "samsung,exynos4-gpio"; - reg = <0x13400080 0x20>; - #gpio-cells = <4>; - }; - - gpg1: gpio-controller@134000A0 { - compatible = "samsung,exynos4-gpio"; - reg = <0x134000A0 0x20>; - #gpio-cells = <4>; - }; - - gpg2: gpio-controller@134000C0 { - compatible = "samsung,exynos4-gpio"; - reg = <0x134000C0 0x20>; - #gpio-cells = <4>; - }; - - gph0: gpio-controller@134000E0 { - compatible = "samsung,exynos4-gpio"; - reg = <0x134000E0 0x20>; - #gpio-cells = <4>; - }; - - gph1: gpio-controller@13400100 { - compatible = "samsung,exynos4-gpio"; - reg = <0x13400100 0x20>; - #gpio-cells = <4>; - }; - - gpv0: gpio-controller@10D10000 { - compatible = "samsung,exynos4-gpio"; - reg = <0x10D10000 0x20>; - #gpio-cells = <4>; - }; - - gpv1: gpio-controller@10D10020 { - compatible = "samsung,exynos4-gpio"; - reg = <0x10D10020 0x20>; - #gpio-cells = <4>; - }; - - gpv2: gpio-controller@10D10040 { - compatible = "samsung,exynos4-gpio"; - reg = <0x10D10040 0x20>; - #gpio-cells = <4>; - }; - - gpv3: gpio-controller@10D10060 { - compatible = "samsung,exynos4-gpio"; - reg = <0x10D10060 0x20>; - #gpio-cells = <4>; - }; - - gpv4: gpio-controller@10D10080 { - compatible = "samsung,exynos4-gpio"; - reg = <0x10D10080 0x20>; - #gpio-cells = <4>; - }; - - gpz: gpio-controller@03860000 { - compatible = "samsung,exynos4-gpio"; - reg = <0x03860000 0x20>; - #gpio-cells = <4>; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/fsm9900-rumi.dts b/kernel/arch/arm/boot/dts/m7350-un-v1/fsm9900-rumi.dts deleted file mode 100644 index 2b380c7b3..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/fsm9900-rumi.dts +++ /dev/null @@ -1,31 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; - -/include/ "fsm9900.dtsi" - -/ { - model = "Qualcomm FSM9900 Rumi"; - compatible = "qcom,fsm9900-rumi", "qcom,fsm9900", "qcom-sim"; - qcom,msm-id = <188 0 0>; - - aliases { - serial0 = &uart0; - }; -}; - -&soc { - uart0: serial@f9960000 { - status = "ok"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/fsm9900-sim.dts b/kernel/arch/arm/boot/dts/m7350-un-v1/fsm9900-sim.dts deleted file mode 100644 index 050929e60..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/fsm9900-sim.dts +++ /dev/null @@ -1,32 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; - -/include/ "fsm9900.dtsi" - -/ { - model = "Qualcomm FSM9900 Simulator"; - compatible = "qcom,fsm9900-sim", "qcom,fsm9900", "qcom-sim"; - qcom,msm-id = <188 0 0>; - - aliases { - serial0 = &uart0; - }; -}; - -&soc { - uart0: serial@f9960000 { - interrupts = <0 116 0>; - status = "ok"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/fsm9900.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v1/fsm9900.dtsi deleted file mode 100644 index 766db368d..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/fsm9900.dtsi +++ /dev/null @@ -1,94 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/include/ "skeleton64.dtsi" - -/ { - model = "Qualcomm FSM9900"; - compatible = "qcom,fsm9900"; - interrupt-parent = <&intc>; - soc: soc { }; -}; - -&soc { - #address-cells = <1>; - #size-cells = <1>; - ranges = <0 0 0 0xffffffff>; - - intc: interrupt-controller@f9000000 { - compatible = "qcom,msm-qgic2"; - interrupt-controller; - #interrupt-cells = <3>; - reg = <0xF9000000 0x1000>, - <0xF9002000 0x1000>; - }; - - msmgpio: gpio@fd510000 { - compatible = "qcom,msm-gpio"; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - reg = <0xfd510000 0x4000>; - ngpio = <142>; - interrupts = <0 208 0>; - qcom,direct-connect-irqs = <5>; - }; - - timer { - compatible = "arm,armv7-timer"; - interrupts = <1 2 0 1 3 0>; - clock-frequency = <19200000>; - }; - - serial@f9960000 { - compatible = "qcom,msm-lsuart-v14"; - reg = <0xf9960000 0x1000>; - interrupts = <0 104 0>; - status = "disabled"; - }; - - cpu-pmu { - compatible = "qcom,krait-pmu"; - qcom,irq-is-percpu; - interrupts = <1 7 0xf00>; - }; - - qcom,msm-imem@fe805000 { - compatible = "qcom,msm-imem"; - reg = <0xfe805000 0x1000>; /* Address and size of IMEM */ - }; - - qcom,cache_erp { - compatible = "qcom,cache_erp"; - interrupts = <1 9 0>, <0 2 0>; - interrupt-names = "l1_irq", "l2_irq"; - }; - - qcom,cache_dump { - compatible = "qcom,cache_dump"; - qcom,l1-dump-size = <0x100000>; - qcom,l2-dump-size = <0x500000>; - qcom,memory-reservation-type = "EBI1"; - qcom,memory-reservation-size = <0x600000>; /* 6M EBI1 buffer */ - }; - - qcom,ion { - compatible = "qcom,msm-ion"; - #address-cells = <1>; - #size-cells = <0>; - - qcom,ion-heap@30 { /* SYSTEM HEAP */ - reg = <30>; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/highbank.dts b/kernel/arch/arm/boot/dts/m7350-un-v1/highbank.dts deleted file mode 100644 index 83e72294a..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/highbank.dts +++ /dev/null @@ -1,209 +0,0 @@ -/* - * Copyright 2011 Calxeda, Inc. - * - * This program is free software; you can redistribute it and/or modify it - * under the terms and conditions of the GNU General Public License, - * version 2, as published by the Free Software Foundation. - * - * This program is distributed in the hope 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. - * - * You should have received a copy of the GNU General Public License along with - * this program. If not, see . - */ - -/dts-v1/; - -/* First 4KB has pen for secondary cores. */ -/memreserve/ 0x00000000 0x0001000; - -/ { - model = "Calxeda Highbank"; - compatible = "calxeda,highbank"; - #address-cells = <1>; - #size-cells = <1>; - - cpus { - #address-cells = <1>; - #size-cells = <0>; - - cpu@0 { - compatible = "arm,cortex-a9"; - reg = <0>; - next-level-cache = <&L2>; - }; - - cpu@1 { - compatible = "arm,cortex-a9"; - reg = <1>; - next-level-cache = <&L2>; - }; - - cpu@2 { - compatible = "arm,cortex-a9"; - reg = <2>; - next-level-cache = <&L2>; - }; - - cpu@3 { - compatible = "arm,cortex-a9"; - reg = <3>; - next-level-cache = <&L2>; - }; - }; - - memory { - name = "memory"; - device_type = "memory"; - reg = <0x00000000 0xff900000>; - }; - - chosen { - bootargs = "console=ttyAMA0"; - }; - - soc { - #address-cells = <1>; - #size-cells = <1>; - compatible = "simple-bus"; - interrupt-parent = <&intc>; - ranges; - - timer@fff10600 { - compatible = "arm,cortex-a9-twd-timer"; - reg = <0xfff10600 0x20>; - interrupts = <1 13 0xf01>; - }; - - watchdog@fff10620 { - compatible = "arm,cortex-a9-twd-wdt"; - reg = <0xfff10620 0x20>; - interrupts = <1 14 0xf01>; - }; - - intc: interrupt-controller@fff11000 { - compatible = "arm,cortex-a9-gic"; - #interrupt-cells = <3>; - #size-cells = <0>; - #address-cells = <1>; - interrupt-controller; - reg = <0xfff11000 0x1000>, - <0xfff10100 0x100>; - }; - - L2: l2-cache { - compatible = "arm,pl310-cache"; - reg = <0xfff12000 0x1000>; - interrupts = <0 70 4>; - cache-unified; - cache-level = <2>; - }; - - pmu { - compatible = "arm,cortex-a9-pmu"; - interrupts = <0 76 4 0 75 4 0 74 4 0 73 4>; - }; - - sata@ffe08000 { - compatible = "calxeda,hb-ahci"; - reg = <0xffe08000 0x10000>; - interrupts = <0 83 4>; - }; - - sdhci@ffe0e000 { - compatible = "calxeda,hb-sdhci"; - reg = <0xffe0e000 0x1000>; - interrupts = <0 90 4>; - }; - - ipc@fff20000 { - compatible = "arm,pl320", "arm,primecell"; - reg = <0xfff20000 0x1000>; - interrupts = <0 7 4>; - }; - - gpioe: gpio@fff30000 { - #gpio-cells = <2>; - compatible = "arm,pl061", "arm,primecell"; - gpio-controller; - reg = <0xfff30000 0x1000>; - interrupts = <0 14 4>; - }; - - gpiof: gpio@fff31000 { - #gpio-cells = <2>; - compatible = "arm,pl061", "arm,primecell"; - gpio-controller; - reg = <0xfff31000 0x1000>; - interrupts = <0 15 4>; - }; - - gpiog: gpio@fff32000 { - #gpio-cells = <2>; - compatible = "arm,pl061", "arm,primecell"; - gpio-controller; - reg = <0xfff32000 0x1000>; - interrupts = <0 16 4>; - }; - - gpioh: gpio@fff33000 { - #gpio-cells = <2>; - compatible = "arm,pl061", "arm,primecell"; - gpio-controller; - reg = <0xfff33000 0x1000>; - interrupts = <0 17 4>; - }; - - timer { - compatible = "arm,sp804", "arm,primecell"; - reg = <0xfff34000 0x1000>; - interrupts = <0 18 4>; - }; - - rtc@fff35000 { - compatible = "arm,pl031", "arm,primecell"; - reg = <0xfff35000 0x1000>; - interrupts = <0 19 4>; - }; - - serial@fff36000 { - compatible = "arm,pl011", "arm,primecell"; - reg = <0xfff36000 0x1000>; - interrupts = <0 20 4>; - }; - - smic@fff3a000 { - compatible = "ipmi-smic"; - device_type = "ipmi"; - reg = <0xfff3a000 0x1000>; - interrupts = <0 24 4>; - reg-size = <4>; - reg-spacing = <4>; - }; - - sregs@fff3c000 { - compatible = "calxeda,hb-sregs"; - reg = <0xfff3c000 0x1000>; - }; - - dma@fff3d000 { - compatible = "arm,pl330", "arm,primecell"; - reg = <0xfff3d000 0x1000>; - interrupts = <0 92 4>; - }; - - ethernet@fff50000 { - compatible = "calxeda,hb-xgmac"; - reg = <0xfff50000 0x1000>; - interrupts = <0 77 4 0 78 4 0 79 4>; - }; - - ethernet@fff51000 { - compatible = "calxeda,hb-xgmac"; - reg = <0xfff51000 0x1000>; - interrupts = <0 80 4 0 81 4 0 82 4>; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/imx27-phytec-phycore.dts b/kernel/arch/arm/boot/dts/m7350-un-v1/imx27-phytec-phycore.dts deleted file mode 100644 index a51a08fc2..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/imx27-phytec-phycore.dts +++ /dev/null @@ -1,76 +0,0 @@ -/* - * Copyright 2012 Sascha Hauer, Pengutronix - * - * The code contained herein is licensed under the GNU General Public - * License. You may obtain a copy of the GNU General Public License - * Version 2 or later at the following locations: - * - * http://www.opensource.org/licenses/gpl-license.html - * http://www.gnu.org/copyleft/gpl.html - */ - -/dts-v1/; -/include/ "imx27.dtsi" - -/ { - model = "Phytec pcm038"; - compatible = "phytec,imx27-pcm038", "fsl,imx27"; - - memory { - reg = <0x0 0x0>; - }; - - soc { - aipi@10000000 { /* aipi */ - - wdog@10002000 { - status = "okay"; - }; - - uart@1000a000 { - fsl,uart-has-rtscts; - status = "okay"; - }; - - uart@1000b000 { - fsl,uart-has-rtscts; - status = "okay"; - }; - - uart@1000c000 { - fsl,uart-has-rtscts; - status = "okay"; - }; - - fec@1002b000 { - status = "okay"; - }; - - i2c@1001d000 { - clock-frequency = <400000>; - status = "okay"; - at24@4c { - compatible = "at,24c32"; - pagesize = <32>; - reg = <0x52>; - }; - pcf8563@51 { - compatible = "nxp,pcf8563"; - reg = <0x51>; - }; - lm75@4a { - compatible = "national,lm75"; - reg = <0x4a>; - }; - }; - }; - }; - - nor_flash@c0000000 { - compatible = "cfi-flash"; - bank-width = <2>; - reg = <0xc0000000 0x02000000>; - #address-cells = <1>; - #size-cells = <1>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/imx27.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v1/imx27.dtsi deleted file mode 100644 index bc5e7d5dd..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/imx27.dtsi +++ /dev/null @@ -1,217 +0,0 @@ -/* - * Copyright 2012 Sascha Hauer, Pengutronix - * - * The code contained herein is licensed under the GNU General Public - * License. You may obtain a copy of the GNU General Public License - * Version 2 or later at the following locations: - * - * http://www.opensource.org/licenses/gpl-license.html - * http://www.gnu.org/copyleft/gpl.html - */ - -/include/ "skeleton.dtsi" - -/ { - aliases { - serial0 = &uart1; - serial1 = &uart2; - serial2 = &uart3; - serial3 = &uart4; - serial4 = &uart5; - serial5 = &uart6; - }; - - avic: avic-interrupt-controller@e0000000 { - compatible = "fsl,imx27-avic", "fsl,avic"; - interrupt-controller; - #interrupt-cells = <1>; - reg = <0x10040000 0x1000>; - }; - - clocks { - #address-cells = <1>; - #size-cells = <0>; - - osc26m { - compatible = "fsl,imx-osc26m", "fixed-clock"; - clock-frequency = <26000000>; - }; - }; - - soc { - #address-cells = <1>; - #size-cells = <1>; - compatible = "simple-bus"; - interrupt-parent = <&avic>; - ranges; - - aipi@10000000 { /* AIPI1 */ - compatible = "fsl,aipi-bus", "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0x10000000 0x10000000>; - ranges; - - wdog@10002000 { - compatible = "fsl,imx27-wdt", "fsl,imx21-wdt"; - reg = <0x10002000 0x4000>; - interrupts = <27>; - status = "disabled"; - }; - - uart1: uart@1000a000 { - compatible = "fsl,imx27-uart", "fsl,imx21-uart"; - reg = <0x1000a000 0x1000>; - interrupts = <20>; - status = "disabled"; - }; - - uart2: uart@1000b000 { - compatible = "fsl,imx27-uart", "fsl,imx21-uart"; - reg = <0x1000b000 0x1000>; - interrupts = <19>; - status = "disabled"; - }; - - uart3: uart@1000c000 { - compatible = "fsl,imx27-uart", "fsl,imx21-uart"; - reg = <0x1000c000 0x1000>; - interrupts = <18>; - status = "disabled"; - }; - - uart4: uart@1000d000 { - compatible = "fsl,imx27-uart", "fsl,imx21-uart"; - reg = <0x1000d000 0x1000>; - interrupts = <17>; - status = "disabled"; - }; - - cspi1: cspi@1000e000 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx27-cspi"; - reg = <0x1000e000 0x1000>; - interrupts = <16>; - status = "disabled"; - }; - - cspi2: cspi@1000f000 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx27-cspi"; - reg = <0x1000f000 0x1000>; - interrupts = <15>; - status = "disabled"; - }; - - i2c1: i2c@10012000 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx27-i2c", "fsl,imx1-i2c"; - reg = <0x10012000 0x1000>; - interrupts = <12>; - status = "disabled"; - }; - - gpio1: gpio@10015000 { - compatible = "fsl,imx27-gpio", "fsl,imx21-gpio"; - reg = <0x10015000 0x100>; - interrupts = <8>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - gpio2: gpio@10015100 { - compatible = "fsl,imx27-gpio", "fsl,imx21-gpio"; - reg = <0x10015100 0x100>; - interrupts = <8>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - gpio3: gpio@10015200 { - compatible = "fsl,imx27-gpio", "fsl,imx21-gpio"; - reg = <0x10015200 0x100>; - interrupts = <8>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - gpio4: gpio@10015300 { - compatible = "fsl,imx27-gpio", "fsl,imx21-gpio"; - reg = <0x10015300 0x100>; - interrupts = <8>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - gpio5: gpio@10015400 { - compatible = "fsl,imx27-gpio", "fsl,imx21-gpio"; - reg = <0x10015400 0x100>; - interrupts = <8>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - gpio6: gpio@10015500 { - compatible = "fsl,imx27-gpio", "fsl,imx21-gpio"; - reg = <0x10015500 0x100>; - interrupts = <8>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - cspi3: cspi@10017000 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx27-cspi"; - reg = <0x10017000 0x1000>; - interrupts = <6>; - status = "disabled"; - }; - - uart5: uart@1001b000 { - compatible = "fsl,imx27-uart", "fsl,imx21-uart"; - reg = <0x1001b000 0x1000>; - interrupts = <49>; - status = "disabled"; - }; - - uart6: uart@1001c000 { - compatible = "fsl,imx27-uart", "fsl,imx21-uart"; - reg = <0x1001c000 0x1000>; - interrupts = <48>; - status = "disabled"; - }; - - i2c2: i2c@1001d000 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx27-i2c", "fsl,imx1-i2c"; - reg = <0x1001d000 0x1000>; - interrupts = <1>; - status = "disabled"; - }; - - fec: fec@1002b000 { - compatible = "fsl,imx27-fec"; - reg = <0x1002b000 0x4000>; - interrupts = <50>; - status = "disabled"; - }; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/imx51-babbage.dts b/kernel/arch/arm/boot/dts/m7350-un-v1/imx51-babbage.dts deleted file mode 100644 index 9949e6060..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/imx51-babbage.dts +++ /dev/null @@ -1,221 +0,0 @@ -/* - * Copyright 2011 Freescale Semiconductor, Inc. - * Copyright 2011 Linaro Ltd. - * - * The code contained herein is licensed under the GNU General Public - * License. You may obtain a copy of the GNU General Public License - * Version 2 or later at the following locations: - * - * http://www.opensource.org/licenses/gpl-license.html - * http://www.gnu.org/copyleft/gpl.html - */ - -/dts-v1/; -/include/ "imx51.dtsi" - -/ { - model = "Freescale i.MX51 Babbage Board"; - compatible = "fsl,imx51-babbage", "fsl,imx51"; - - chosen { - bootargs = "console=ttymxc0,115200 root=/dev/mmcblk0p3 rootwait"; - }; - - memory { - reg = <0x90000000 0x20000000>; - }; - - soc { - aips@70000000 { /* aips-1 */ - spba@70000000 { - esdhc@70004000 { /* ESDHC1 */ - fsl,cd-internal; - fsl,wp-internal; - status = "okay"; - }; - - esdhc@70008000 { /* ESDHC2 */ - cd-gpios = <&gpio1 6 0>; - wp-gpios = <&gpio1 5 0>; - status = "okay"; - }; - - uart3: uart@7000c000 { - fsl,uart-has-rtscts; - status = "okay"; - }; - - ecspi@70010000 { /* ECSPI1 */ - fsl,spi-num-chipselects = <2>; - cs-gpios = <&gpio4 24 0>, <&gpio4 25 0>; - status = "okay"; - - pmic: mc13892@0 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,mc13892"; - spi-max-frequency = <6000000>; - reg = <0>; - interrupt-parent = <&gpio1>; - interrupts = <8>; - - regulators { - sw1_reg: sw1 { - regulator-min-microvolt = <600000>; - regulator-max-microvolt = <1375000>; - regulator-boot-on; - regulator-always-on; - }; - - sw2_reg: sw2 { - regulator-min-microvolt = <900000>; - regulator-max-microvolt = <1850000>; - regulator-boot-on; - regulator-always-on; - }; - - sw3_reg: sw3 { - regulator-min-microvolt = <1100000>; - regulator-max-microvolt = <1850000>; - regulator-boot-on; - regulator-always-on; - }; - - sw4_reg: sw4 { - regulator-min-microvolt = <1100000>; - regulator-max-microvolt = <1850000>; - regulator-boot-on; - regulator-always-on; - }; - - vpll_reg: vpll { - regulator-min-microvolt = <1050000>; - regulator-max-microvolt = <1800000>; - regulator-boot-on; - regulator-always-on; - }; - - vdig_reg: vdig { - regulator-min-microvolt = <1650000>; - regulator-max-microvolt = <1650000>; - regulator-boot-on; - }; - - vsd_reg: vsd { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <3150000>; - }; - - vusb2_reg: vusb2 { - regulator-min-microvolt = <2400000>; - regulator-max-microvolt = <2775000>; - regulator-boot-on; - regulator-always-on; - }; - - vvideo_reg: vvideo { - regulator-min-microvolt = <2775000>; - regulator-max-microvolt = <2775000>; - }; - - vaudio_reg: vaudio { - regulator-min-microvolt = <2300000>; - regulator-max-microvolt = <3000000>; - }; - - vcam_reg: vcam { - regulator-min-microvolt = <2500000>; - regulator-max-microvolt = <3000000>; - }; - - vgen1_reg: vgen1 { - regulator-min-microvolt = <1200000>; - regulator-max-microvolt = <1200000>; - }; - - vgen2_reg: vgen2 { - regulator-min-microvolt = <1200000>; - regulator-max-microvolt = <3150000>; - regulator-always-on; - }; - - vgen3_reg: vgen3 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <2900000>; - regulator-always-on; - }; - }; - }; - - flash: at45db321d@1 { - #address-cells = <1>; - #size-cells = <1>; - compatible = "atmel,at45db321d", "atmel,at45", "atmel,dataflash"; - spi-max-frequency = <25000000>; - reg = <1>; - - partition@0 { - label = "U-Boot"; - reg = <0x0 0x40000>; - read-only; - }; - - partition@40000 { - label = "Kernel"; - reg = <0x40000 0x3c0000>; - }; - }; - }; - }; - - wdog@73f98000 { /* WDOG1 */ - status = "okay"; - }; - - iomuxc@73fa8000 { - compatible = "fsl,imx51-iomuxc-babbage"; - reg = <0x73fa8000 0x4000>; - }; - - uart1: uart@73fbc000 { - fsl,uart-has-rtscts; - status = "okay"; - }; - - uart2: uart@73fc0000 { - status = "okay"; - }; - }; - - aips@80000000 { /* aips-2 */ - sdma@83fb0000 { - fsl,sdma-ram-script-name = "imx/sdma/sdma-imx51.bin"; - }; - - i2c@83fc4000 { /* I2C2 */ - status = "okay"; - - codec: sgtl5000@0a { - compatible = "fsl,sgtl5000"; - reg = <0x0a>; - }; - }; - - fec@83fec000 { - phy-mode = "mii"; - status = "okay"; - }; - }; - }; - - gpio-keys { - compatible = "gpio-keys"; - - power { - label = "Power Button"; - gpios = <&gpio2 21 0>; - linux,code = <116>; /* KEY_POWER */ - gpio-key,wakeup; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/imx51.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v1/imx51.dtsi deleted file mode 100644 index 6663986fe..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/imx51.dtsi +++ /dev/null @@ -1,246 +0,0 @@ -/* - * Copyright 2011 Freescale Semiconductor, Inc. - * Copyright 2011 Linaro Ltd. - * - * The code contained herein is licensed under the GNU General Public - * License. You may obtain a copy of the GNU General Public License - * Version 2 or later at the following locations: - * - * http://www.opensource.org/licenses/gpl-license.html - * http://www.gnu.org/copyleft/gpl.html - */ - -/include/ "skeleton.dtsi" - -/ { - aliases { - serial0 = &uart1; - serial1 = &uart2; - serial2 = &uart3; - }; - - tzic: tz-interrupt-controller@e0000000 { - compatible = "fsl,imx51-tzic", "fsl,tzic"; - interrupt-controller; - #interrupt-cells = <1>; - reg = <0xe0000000 0x4000>; - }; - - clocks { - #address-cells = <1>; - #size-cells = <0>; - - ckil { - compatible = "fsl,imx-ckil", "fixed-clock"; - clock-frequency = <32768>; - }; - - ckih1 { - compatible = "fsl,imx-ckih1", "fixed-clock"; - clock-frequency = <22579200>; - }; - - ckih2 { - compatible = "fsl,imx-ckih2", "fixed-clock"; - clock-frequency = <0>; - }; - - osc { - compatible = "fsl,imx-osc", "fixed-clock"; - clock-frequency = <24000000>; - }; - }; - - soc { - #address-cells = <1>; - #size-cells = <1>; - compatible = "simple-bus"; - interrupt-parent = <&tzic>; - ranges; - - aips@70000000 { /* AIPS1 */ - compatible = "fsl,aips-bus", "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0x70000000 0x10000000>; - ranges; - - spba@70000000 { - compatible = "fsl,spba-bus", "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0x70000000 0x40000>; - ranges; - - esdhc@70004000 { /* ESDHC1 */ - compatible = "fsl,imx51-esdhc"; - reg = <0x70004000 0x4000>; - interrupts = <1>; - status = "disabled"; - }; - - esdhc@70008000 { /* ESDHC2 */ - compatible = "fsl,imx51-esdhc"; - reg = <0x70008000 0x4000>; - interrupts = <2>; - status = "disabled"; - }; - - uart3: uart@7000c000 { - compatible = "fsl,imx51-uart", "fsl,imx21-uart"; - reg = <0x7000c000 0x4000>; - interrupts = <33>; - status = "disabled"; - }; - - ecspi@70010000 { /* ECSPI1 */ - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx51-ecspi"; - reg = <0x70010000 0x4000>; - interrupts = <36>; - status = "disabled"; - }; - - esdhc@70020000 { /* ESDHC3 */ - compatible = "fsl,imx51-esdhc"; - reg = <0x70020000 0x4000>; - interrupts = <3>; - status = "disabled"; - }; - - esdhc@70024000 { /* ESDHC4 */ - compatible = "fsl,imx51-esdhc"; - reg = <0x70024000 0x4000>; - interrupts = <4>; - status = "disabled"; - }; - }; - - gpio1: gpio@73f84000 { - compatible = "fsl,imx51-gpio", "fsl,imx31-gpio"; - reg = <0x73f84000 0x4000>; - interrupts = <50 51>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - gpio2: gpio@73f88000 { - compatible = "fsl,imx51-gpio", "fsl,imx31-gpio"; - reg = <0x73f88000 0x4000>; - interrupts = <52 53>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - gpio3: gpio@73f8c000 { - compatible = "fsl,imx51-gpio", "fsl,imx31-gpio"; - reg = <0x73f8c000 0x4000>; - interrupts = <54 55>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - gpio4: gpio@73f90000 { - compatible = "fsl,imx51-gpio", "fsl,imx31-gpio"; - reg = <0x73f90000 0x4000>; - interrupts = <56 57>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - wdog@73f98000 { /* WDOG1 */ - compatible = "fsl,imx51-wdt", "fsl,imx21-wdt"; - reg = <0x73f98000 0x4000>; - interrupts = <58>; - status = "disabled"; - }; - - wdog@73f9c000 { /* WDOG2 */ - compatible = "fsl,imx51-wdt", "fsl,imx21-wdt"; - reg = <0x73f9c000 0x4000>; - interrupts = <59>; - status = "disabled"; - }; - - uart1: uart@73fbc000 { - compatible = "fsl,imx51-uart", "fsl,imx21-uart"; - reg = <0x73fbc000 0x4000>; - interrupts = <31>; - status = "disabled"; - }; - - uart2: uart@73fc0000 { - compatible = "fsl,imx51-uart", "fsl,imx21-uart"; - reg = <0x73fc0000 0x4000>; - interrupts = <32>; - status = "disabled"; - }; - }; - - aips@80000000 { /* AIPS2 */ - compatible = "fsl,aips-bus", "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0x80000000 0x10000000>; - ranges; - - ecspi@83fac000 { /* ECSPI2 */ - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx51-ecspi"; - reg = <0x83fac000 0x4000>; - interrupts = <37>; - status = "disabled"; - }; - - sdma@83fb0000 { - compatible = "fsl,imx51-sdma", "fsl,imx35-sdma"; - reg = <0x83fb0000 0x4000>; - interrupts = <6>; - }; - - cspi@83fc0000 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx51-cspi", "fsl,imx35-cspi"; - reg = <0x83fc0000 0x4000>; - interrupts = <38>; - status = "disabled"; - }; - - i2c@83fc4000 { /* I2C2 */ - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx51-i2c", "fsl,imx1-i2c"; - reg = <0x83fc4000 0x4000>; - interrupts = <63>; - status = "disabled"; - }; - - i2c@83fc8000 { /* I2C1 */ - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx51-i2c", "fsl,imx1-i2c"; - reg = <0x83fc8000 0x4000>; - interrupts = <62>; - status = "disabled"; - }; - - fec@83fec000 { - compatible = "fsl,imx51-fec", "fsl,imx27-fec"; - reg = <0x83fec000 0x4000>; - interrupts = <87>; - status = "disabled"; - }; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/imx53-ard.dts b/kernel/arch/arm/boot/dts/m7350-un-v1/imx53-ard.dts deleted file mode 100644 index 2dccce46e..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/imx53-ard.dts +++ /dev/null @@ -1,113 +0,0 @@ -/* - * Copyright 2011 Freescale Semiconductor, Inc. - * Copyright 2011 Linaro Ltd. - * - * The code contained herein is licensed under the GNU General Public - * License. You may obtain a copy of the GNU General Public License - * Version 2 or later at the following locations: - * - * http://www.opensource.org/licenses/gpl-license.html - * http://www.gnu.org/copyleft/gpl.html - */ - -/dts-v1/; -/include/ "imx53.dtsi" - -/ { - model = "Freescale i.MX53 Automotive Reference Design Board"; - compatible = "fsl,imx53-ard", "fsl,imx53"; - - chosen { - bootargs = "console=ttymxc0,115200 root=/dev/mmcblk0p3 rootwait"; - }; - - memory { - reg = <0x70000000 0x40000000>; - }; - - soc { - aips@50000000 { /* AIPS1 */ - spba@50000000 { - esdhc@50004000 { /* ESDHC1 */ - cd-gpios = <&gpio1 1 0>; - wp-gpios = <&gpio1 9 0>; - status = "okay"; - }; - }; - - wdog@53f98000 { /* WDOG1 */ - status = "okay"; - }; - - iomuxc@53fa8000 { - compatible = "fsl,imx53-iomuxc-ard"; - reg = <0x53fa8000 0x4000>; - }; - - uart1: uart@53fbc000 { - status = "okay"; - }; - }; - - aips@60000000 { /* AIPS2 */ - sdma@63fb0000 { - fsl,sdma-ram-script-name = "imx/sdma/sdma-imx53.bin"; - }; - }; - }; - - eim-cs1@f4000000 { - #address-cells = <1>; - #size-cells = <1>; - compatible = "fsl,eim-bus", "simple-bus"; - reg = <0xf4000000 0x3ff0000>; - ranges; - - lan9220@f4000000 { - compatible = "smsc,lan9220", "smsc,lan9115"; - reg = <0xf4000000 0x2000000>; - phy-mode = "mii"; - interrupt-parent = <&gpio2>; - interrupts = <31>; - reg-io-width = <4>; - smsc,irq-push-pull; - }; - }; - - gpio-keys { - compatible = "gpio-keys"; - - home { - label = "Home"; - gpios = <&gpio5 10 0>; - linux,code = <102>; /* KEY_HOME */ - gpio-key,wakeup; - }; - - back { - label = "Back"; - gpios = <&gpio5 11 0>; - linux,code = <158>; /* KEY_BACK */ - gpio-key,wakeup; - }; - - program { - label = "Program"; - gpios = <&gpio5 12 0>; - linux,code = <362>; /* KEY_PROGRAM */ - gpio-key,wakeup; - }; - - volume-up { - label = "Volume Up"; - gpios = <&gpio5 13 0>; - linux,code = <115>; /* KEY_VOLUMEUP */ - }; - - volume-down { - label = "Volume Down"; - gpios = <&gpio4 0 0>; - linux,code = <114>; /* KEY_VOLUMEDOWN */ - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/imx53-evk.dts b/kernel/arch/arm/boot/dts/m7350-un-v1/imx53-evk.dts deleted file mode 100644 index 5bac4aa48..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/imx53-evk.dts +++ /dev/null @@ -1,119 +0,0 @@ -/* - * Copyright 2011 Freescale Semiconductor, Inc. - * Copyright 2011 Linaro Ltd. - * - * The code contained herein is licensed under the GNU General Public - * License. You may obtain a copy of the GNU General Public License - * Version 2 or later at the following locations: - * - * http://www.opensource.org/licenses/gpl-license.html - * http://www.gnu.org/copyleft/gpl.html - */ - -/dts-v1/; -/include/ "imx53.dtsi" - -/ { - model = "Freescale i.MX53 Evaluation Kit"; - compatible = "fsl,imx53-evk", "fsl,imx53"; - - chosen { - bootargs = "console=ttymxc0,115200 root=/dev/mmcblk0p3 rootwait"; - }; - - memory { - reg = <0x70000000 0x80000000>; - }; - - soc { - aips@50000000 { /* AIPS1 */ - spba@50000000 { - esdhc@50004000 { /* ESDHC1 */ - cd-gpios = <&gpio3 13 0>; - wp-gpios = <&gpio3 14 0>; - status = "okay"; - }; - - ecspi@50010000 { /* ECSPI1 */ - fsl,spi-num-chipselects = <2>; - cs-gpios = <&gpio2 30 0>, <&gpio3 19 0>; - status = "okay"; - - flash: at45db321d@1 { - #address-cells = <1>; - #size-cells = <1>; - compatible = "atmel,at45db321d", "atmel,at45", "atmel,dataflash"; - spi-max-frequency = <25000000>; - reg = <1>; - - partition@0 { - label = "U-Boot"; - reg = <0x0 0x40000>; - read-only; - }; - - partition@40000 { - label = "Kernel"; - reg = <0x40000 0x3c0000>; - }; - }; - }; - - esdhc@50020000 { /* ESDHC3 */ - cd-gpios = <&gpio3 11 0>; - wp-gpios = <&gpio3 12 0>; - status = "okay"; - }; - }; - - wdog@53f98000 { /* WDOG1 */ - status = "okay"; - }; - - iomuxc@53fa8000 { - compatible = "fsl,imx53-iomuxc-evk"; - reg = <0x53fa8000 0x4000>; - }; - - uart1: uart@53fbc000 { - status = "okay"; - }; - }; - - aips@60000000 { /* AIPS2 */ - sdma@63fb0000 { - fsl,sdma-ram-script-name = "imx/sdma/sdma-imx53.bin"; - }; - - i2c@63fc4000 { /* I2C2 */ - status = "okay"; - - pmic: mc13892@08 { - compatible = "fsl,mc13892", "fsl,mc13xxx"; - reg = <0x08>; - }; - - codec: sgtl5000@0a { - compatible = "fsl,sgtl5000"; - reg = <0x0a>; - }; - }; - - fec@63fec000 { - phy-mode = "rmii"; - phy-reset-gpios = <&gpio7 6 0>; - status = "okay"; - }; - }; - }; - - leds { - compatible = "gpio-leds"; - - green { - label = "Heartbeat"; - gpios = <&gpio7 7 0>; - linux,default-trigger = "heartbeat"; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/imx53-qsb.dts b/kernel/arch/arm/boot/dts/m7350-un-v1/imx53-qsb.dts deleted file mode 100644 index 5c57c8672..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/imx53-qsb.dts +++ /dev/null @@ -1,125 +0,0 @@ -/* - * Copyright 2011 Freescale Semiconductor, Inc. - * Copyright 2011 Linaro Ltd. - * - * The code contained herein is licensed under the GNU General Public - * License. You may obtain a copy of the GNU General Public License - * Version 2 or later at the following locations: - * - * http://www.opensource.org/licenses/gpl-license.html - * http://www.gnu.org/copyleft/gpl.html - */ - -/dts-v1/; -/include/ "imx53.dtsi" - -/ { - model = "Freescale i.MX53 Quick Start Board"; - compatible = "fsl,imx53-qsb", "fsl,imx53"; - - chosen { - bootargs = "console=ttymxc0,115200 root=/dev/mmcblk0p3 rootwait"; - }; - - memory { - reg = <0x70000000 0x40000000>; - }; - - soc { - aips@50000000 { /* AIPS1 */ - spba@50000000 { - esdhc@50004000 { /* ESDHC1 */ - cd-gpios = <&gpio3 13 0>; - status = "okay"; - }; - - esdhc@50020000 { /* ESDHC3 */ - cd-gpios = <&gpio3 11 0>; - wp-gpios = <&gpio3 12 0>; - status = "okay"; - }; - }; - - wdog@53f98000 { /* WDOG1 */ - status = "okay"; - }; - - iomuxc@53fa8000 { - compatible = "fsl,imx53-iomuxc-qsb"; - reg = <0x53fa8000 0x4000>; - }; - - uart1: uart@53fbc000 { - status = "okay"; - }; - }; - - aips@60000000 { /* AIPS2 */ - sdma@63fb0000 { - fsl,sdma-ram-script-name = "imx/sdma/sdma-imx53.bin"; - }; - - i2c@63fc4000 { /* I2C2 */ - status = "okay"; - - codec: sgtl5000@0a { - compatible = "fsl,sgtl5000"; - reg = <0x0a>; - }; - }; - - i2c@63fc8000 { /* I2C1 */ - status = "okay"; - - accelerometer: mma8450@1c { - compatible = "fsl,mma8450"; - reg = <0x1c>; - }; - - pmic: dialog@48 { - compatible = "dialog,da9053", "dialog,da9052"; - reg = <0x48>; - }; - }; - - fec@63fec000 { - phy-mode = "rmii"; - phy-reset-gpios = <&gpio7 6 0>; - status = "okay"; - }; - }; - }; - - gpio-keys { - compatible = "gpio-keys"; - - power { - label = "Power Button"; - gpios = <&gpio1 8 0>; - linux,code = <116>; /* KEY_POWER */ - gpio-key,wakeup; - }; - - volume-up { - label = "Volume Up"; - gpios = <&gpio2 14 0>; - linux,code = <115>; /* KEY_VOLUMEUP */ - }; - - volume-down { - label = "Volume Down"; - gpios = <&gpio2 15 0>; - linux,code = <114>; /* KEY_VOLUMEDOWN */ - }; - }; - - leds { - compatible = "gpio-leds"; - - user { - label = "Heartbeat"; - gpios = <&gpio7 7 0>; - linux,default-trigger = "heartbeat"; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/imx53-smd.dts b/kernel/arch/arm/boot/dts/m7350-un-v1/imx53-smd.dts deleted file mode 100644 index c7ee86c2d..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/imx53-smd.dts +++ /dev/null @@ -1,168 +0,0 @@ -/* - * Copyright 2011 Freescale Semiconductor, Inc. - * Copyright 2011 Linaro Ltd. - * - * The code contained herein is licensed under the GNU General Public - * License. You may obtain a copy of the GNU General Public License - * Version 2 or later at the following locations: - * - * http://www.opensource.org/licenses/gpl-license.html - * http://www.gnu.org/copyleft/gpl.html - */ - -/dts-v1/; -/include/ "imx53.dtsi" - -/ { - model = "Freescale i.MX53 Smart Mobile Reference Design Board"; - compatible = "fsl,imx53-smd", "fsl,imx53"; - - chosen { - bootargs = "console=ttymxc0,115200 root=/dev/mmcblk0p3 rootwait"; - }; - - memory { - reg = <0x70000000 0x40000000>; - }; - - soc { - aips@50000000 { /* AIPS1 */ - spba@50000000 { - esdhc@50004000 { /* ESDHC1 */ - cd-gpios = <&gpio3 13 0>; - wp-gpios = <&gpio4 11 0>; - status = "okay"; - }; - - esdhc@50008000 { /* ESDHC2 */ - fsl,card-wired; - status = "okay"; - }; - - uart3: uart@5000c000 { - fsl,uart-has-rtscts; - status = "okay"; - }; - - ecspi@50010000 { /* ECSPI1 */ - fsl,spi-num-chipselects = <2>; - cs-gpios = <&gpio2 30 0>, <&gpio3 19 0>; - status = "okay"; - - zigbee: mc1323@0 { - compatible = "fsl,mc1323"; - spi-max-frequency = <8000000>; - reg = <0>; - }; - - flash: m25p32@1 { - #address-cells = <1>; - #size-cells = <1>; - compatible = "st,m25p32", "st,m25p"; - spi-max-frequency = <20000000>; - reg = <1>; - - partition@0 { - label = "U-Boot"; - reg = <0x0 0x40000>; - read-only; - }; - - partition@40000 { - label = "Kernel"; - reg = <0x40000 0x3c0000>; - }; - }; - }; - - esdhc@50020000 { /* ESDHC3 */ - fsl,card-wired; - status = "okay"; - }; - }; - - wdog@53f98000 { /* WDOG1 */ - status = "okay"; - }; - - iomuxc@53fa8000 { - compatible = "fsl,imx53-iomuxc-smd"; - reg = <0x53fa8000 0x4000>; - }; - - uart1: uart@53fbc000 { - status = "okay"; - }; - - uart2: uart@53fc0000 { - status = "okay"; - }; - }; - - aips@60000000 { /* AIPS2 */ - sdma@63fb0000 { - fsl,sdma-ram-script-name = "imx/sdma/sdma-imx53.bin"; - }; - - i2c@63fc4000 { /* I2C2 */ - status = "okay"; - - codec: sgtl5000@0a { - compatible = "fsl,sgtl5000"; - reg = <0x0a>; - }; - - magnetometer: mag3110@0e { - compatible = "fsl,mag3110"; - reg = <0x0e>; - }; - - touchkey: mpr121@5a { - compatible = "fsl,mpr121"; - reg = <0x5a>; - }; - }; - - i2c@63fc8000 { /* I2C1 */ - status = "okay"; - - accelerometer: mma8450@1c { - compatible = "fsl,mma8450"; - reg = <0x1c>; - }; - - camera: ov5642@3c { - compatible = "ovti,ov5642"; - reg = <0x3c>; - }; - - pmic: dialog@48 { - compatible = "dialog,da9053", "dialog,da9052"; - reg = <0x48>; - }; - }; - - fec@63fec000 { - phy-mode = "rmii"; - phy-reset-gpios = <&gpio7 6 0>; - status = "okay"; - }; - }; - }; - - gpio-keys { - compatible = "gpio-keys"; - - volume-up { - label = "Volume Up"; - gpios = <&gpio2 14 0>; - linux,code = <115>; /* KEY_VOLUMEUP */ - }; - - volume-down { - label = "Volume Down"; - gpios = <&gpio2 15 0>; - linux,code = <114>; /* KEY_VOLUMEDOWN */ - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/imx53.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v1/imx53.dtsi deleted file mode 100644 index 5dd91b942..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/imx53.dtsi +++ /dev/null @@ -1,301 +0,0 @@ -/* - * Copyright 2011 Freescale Semiconductor, Inc. - * Copyright 2011 Linaro Ltd. - * - * The code contained herein is licensed under the GNU General Public - * License. You may obtain a copy of the GNU General Public License - * Version 2 or later at the following locations: - * - * http://www.opensource.org/licenses/gpl-license.html - * http://www.gnu.org/copyleft/gpl.html - */ - -/include/ "skeleton.dtsi" - -/ { - aliases { - serial0 = &uart1; - serial1 = &uart2; - serial2 = &uart3; - serial3 = &uart4; - serial4 = &uart5; - }; - - tzic: tz-interrupt-controller@0fffc000 { - compatible = "fsl,imx53-tzic", "fsl,tzic"; - interrupt-controller; - #interrupt-cells = <1>; - reg = <0x0fffc000 0x4000>; - }; - - clocks { - #address-cells = <1>; - #size-cells = <0>; - - ckil { - compatible = "fsl,imx-ckil", "fixed-clock"; - clock-frequency = <32768>; - }; - - ckih1 { - compatible = "fsl,imx-ckih1", "fixed-clock"; - clock-frequency = <22579200>; - }; - - ckih2 { - compatible = "fsl,imx-ckih2", "fixed-clock"; - clock-frequency = <0>; - }; - - osc { - compatible = "fsl,imx-osc", "fixed-clock"; - clock-frequency = <24000000>; - }; - }; - - soc { - #address-cells = <1>; - #size-cells = <1>; - compatible = "simple-bus"; - interrupt-parent = <&tzic>; - ranges; - - aips@50000000 { /* AIPS1 */ - compatible = "fsl,aips-bus", "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0x50000000 0x10000000>; - ranges; - - spba@50000000 { - compatible = "fsl,spba-bus", "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0x50000000 0x40000>; - ranges; - - esdhc@50004000 { /* ESDHC1 */ - compatible = "fsl,imx53-esdhc"; - reg = <0x50004000 0x4000>; - interrupts = <1>; - status = "disabled"; - }; - - esdhc@50008000 { /* ESDHC2 */ - compatible = "fsl,imx53-esdhc"; - reg = <0x50008000 0x4000>; - interrupts = <2>; - status = "disabled"; - }; - - uart3: uart@5000c000 { - compatible = "fsl,imx53-uart", "fsl,imx21-uart"; - reg = <0x5000c000 0x4000>; - interrupts = <33>; - status = "disabled"; - }; - - ecspi@50010000 { /* ECSPI1 */ - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx53-ecspi", "fsl,imx51-ecspi"; - reg = <0x50010000 0x4000>; - interrupts = <36>; - status = "disabled"; - }; - - esdhc@50020000 { /* ESDHC3 */ - compatible = "fsl,imx53-esdhc"; - reg = <0x50020000 0x4000>; - interrupts = <3>; - status = "disabled"; - }; - - esdhc@50024000 { /* ESDHC4 */ - compatible = "fsl,imx53-esdhc"; - reg = <0x50024000 0x4000>; - interrupts = <4>; - status = "disabled"; - }; - }; - - gpio1: gpio@53f84000 { - compatible = "fsl,imx53-gpio", "fsl,imx31-gpio"; - reg = <0x53f84000 0x4000>; - interrupts = <50 51>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - gpio2: gpio@53f88000 { - compatible = "fsl,imx53-gpio", "fsl,imx31-gpio"; - reg = <0x53f88000 0x4000>; - interrupts = <52 53>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - gpio3: gpio@53f8c000 { - compatible = "fsl,imx53-gpio", "fsl,imx31-gpio"; - reg = <0x53f8c000 0x4000>; - interrupts = <54 55>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - gpio4: gpio@53f90000 { - compatible = "fsl,imx53-gpio", "fsl,imx31-gpio"; - reg = <0x53f90000 0x4000>; - interrupts = <56 57>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - wdog@53f98000 { /* WDOG1 */ - compatible = "fsl,imx53-wdt", "fsl,imx21-wdt"; - reg = <0x53f98000 0x4000>; - interrupts = <58>; - status = "disabled"; - }; - - wdog@53f9c000 { /* WDOG2 */ - compatible = "fsl,imx53-wdt", "fsl,imx21-wdt"; - reg = <0x53f9c000 0x4000>; - interrupts = <59>; - status = "disabled"; - }; - - uart1: uart@53fbc000 { - compatible = "fsl,imx53-uart", "fsl,imx21-uart"; - reg = <0x53fbc000 0x4000>; - interrupts = <31>; - status = "disabled"; - }; - - uart2: uart@53fc0000 { - compatible = "fsl,imx53-uart", "fsl,imx21-uart"; - reg = <0x53fc0000 0x4000>; - interrupts = <32>; - status = "disabled"; - }; - - gpio5: gpio@53fdc000 { - compatible = "fsl,imx53-gpio", "fsl,imx31-gpio"; - reg = <0x53fdc000 0x4000>; - interrupts = <103 104>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - gpio6: gpio@53fe0000 { - compatible = "fsl,imx53-gpio", "fsl,imx31-gpio"; - reg = <0x53fe0000 0x4000>; - interrupts = <105 106>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - gpio7: gpio@53fe4000 { - compatible = "fsl,imx53-gpio", "fsl,imx31-gpio"; - reg = <0x53fe4000 0x4000>; - interrupts = <107 108>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - i2c@53fec000 { /* I2C3 */ - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx53-i2c", "fsl,imx1-i2c"; - reg = <0x53fec000 0x4000>; - interrupts = <64>; - status = "disabled"; - }; - - uart4: uart@53ff0000 { - compatible = "fsl,imx53-uart", "fsl,imx21-uart"; - reg = <0x53ff0000 0x4000>; - interrupts = <13>; - status = "disabled"; - }; - }; - - aips@60000000 { /* AIPS2 */ - compatible = "fsl,aips-bus", "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0x60000000 0x10000000>; - ranges; - - uart5: uart@63f90000 { - compatible = "fsl,imx53-uart", "fsl,imx21-uart"; - reg = <0x63f90000 0x4000>; - interrupts = <86>; - status = "disabled"; - }; - - ecspi@63fac000 { /* ECSPI2 */ - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx53-ecspi", "fsl,imx51-ecspi"; - reg = <0x63fac000 0x4000>; - interrupts = <37>; - status = "disabled"; - }; - - sdma@63fb0000 { - compatible = "fsl,imx53-sdma", "fsl,imx35-sdma"; - reg = <0x63fb0000 0x4000>; - interrupts = <6>; - }; - - cspi@63fc0000 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx53-cspi", "fsl,imx35-cspi"; - reg = <0x63fc0000 0x4000>; - interrupts = <38>; - status = "disabled"; - }; - - i2c@63fc4000 { /* I2C2 */ - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx53-i2c", "fsl,imx1-i2c"; - reg = <0x63fc4000 0x4000>; - interrupts = <63>; - status = "disabled"; - }; - - i2c@63fc8000 { /* I2C1 */ - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx53-i2c", "fsl,imx1-i2c"; - reg = <0x63fc8000 0x4000>; - interrupts = <62>; - status = "disabled"; - }; - - fec@63fec000 { - compatible = "fsl,imx53-fec", "fsl,imx25-fec"; - reg = <0x63fec000 0x4000>; - interrupts = <87>; - status = "disabled"; - }; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/imx6q-arm2.dts b/kernel/arch/arm/boot/dts/m7350-un-v1/imx6q-arm2.dts deleted file mode 100644 index ce1c8238c..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/imx6q-arm2.dts +++ /dev/null @@ -1,76 +0,0 @@ -/* - * Copyright 2011 Freescale Semiconductor, Inc. - * Copyright 2011 Linaro Ltd. - * - * The code contained herein is licensed under the GNU General Public - * License. You may obtain a copy of the GNU General Public License - * Version 2 or later at the following locations: - * - * http://www.opensource.org/licenses/gpl-license.html - * http://www.gnu.org/copyleft/gpl.html - */ - -/dts-v1/; -/include/ "imx6q.dtsi" - -/ { - model = "Freescale i.MX6 Quad Armadillo2 Board"; - compatible = "fsl,imx6q-arm2", "fsl,imx6q"; - - chosen { - bootargs = "console=ttymxc0,115200 root=/dev/mmcblk3p3 rootwait"; - }; - - memory { - reg = <0x10000000 0x80000000>; - }; - - soc { - aips-bus@02100000 { /* AIPS2 */ - enet@02188000 { - phy-mode = "rgmii"; - local-mac-address = [00 04 9F 01 1B 61]; - status = "okay"; - }; - - usdhc@02198000 { /* uSDHC3 */ - cd-gpios = <&gpio6 11 0>; - wp-gpios = <&gpio6 14 0>; - vmmc-supply = <®_3p3v>; - status = "okay"; - }; - - usdhc@0219c000 { /* uSDHC4 */ - fsl,card-wired; - vmmc-supply = <®_3p3v>; - status = "okay"; - }; - - uart4: uart@021f0000 { - status = "okay"; - }; - }; - }; - - regulators { - compatible = "simple-bus"; - - reg_3p3v: 3p3v { - compatible = "regulator-fixed"; - regulator-name = "3P3V"; - regulator-min-microvolt = <3300000>; - regulator-max-microvolt = <3300000>; - regulator-always-on; - }; - }; - - leds { - compatible = "gpio-leds"; - - debug-led { - label = "Heartbeat"; - gpios = <&gpio3 25 0>; - linux,default-trigger = "heartbeat"; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/imx6q-sabrelite.dts b/kernel/arch/arm/boot/dts/m7350-un-v1/imx6q-sabrelite.dts deleted file mode 100644 index 4663a4e5a..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/imx6q-sabrelite.dts +++ /dev/null @@ -1,83 +0,0 @@ -/* - * Copyright 2011 Freescale Semiconductor, Inc. - * Copyright 2011 Linaro Ltd. - * - * The code contained herein is licensed under the GNU General Public - * License. You may obtain a copy of the GNU General Public License - * Version 2 or later at the following locations: - * - * http://www.opensource.org/licenses/gpl-license.html - * http://www.gnu.org/copyleft/gpl.html - */ - -/dts-v1/; -/include/ "imx6q.dtsi" - -/ { - model = "Freescale i.MX6 Quad SABRE Lite Board"; - compatible = "fsl,imx6q-sabrelite", "fsl,imx6q"; - - memory { - reg = <0x10000000 0x40000000>; - }; - - soc { - aips-bus@02100000 { /* AIPS2 */ - enet@02188000 { - phy-mode = "rgmii"; - phy-reset-gpios = <&gpio3 23 0>; - status = "okay"; - }; - - usdhc@02198000 { /* uSDHC3 */ - cd-gpios = <&gpio7 0 0>; - wp-gpios = <&gpio7 1 0>; - vmmc-supply = <®_3p3v>; - status = "okay"; - }; - - usdhc@0219c000 { /* uSDHC4 */ - cd-gpios = <&gpio2 6 0>; - wp-gpios = <&gpio2 7 0>; - vmmc-supply = <®_3p3v>; - status = "okay"; - }; - - uart2: uart@021e8000 { - status = "okay"; - }; - - i2c@021a0000 { /* I2C1 */ - status = "okay"; - clock-frequency = <100000>; - - codec: sgtl5000@0a { - compatible = "fsl,sgtl5000"; - reg = <0x0a>; - VDDA-supply = <®_2p5v>; - VDDIO-supply = <®_3p3v>; - }; - }; - }; - }; - - regulators { - compatible = "simple-bus"; - - reg_2p5v: 2p5v { - compatible = "regulator-fixed"; - regulator-name = "2P5V"; - regulator-min-microvolt = <2500000>; - regulator-max-microvolt = <2500000>; - regulator-always-on; - }; - - reg_3p3v: 3p3v { - compatible = "regulator-fixed"; - regulator-name = "3P3V"; - regulator-min-microvolt = <3300000>; - regulator-max-microvolt = <3300000>; - regulator-always-on; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/imx6q.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v1/imx6q.dtsi deleted file mode 100644 index 4905f51a1..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/imx6q.dtsi +++ /dev/null @@ -1,575 +0,0 @@ -/* - * Copyright 2011 Freescale Semiconductor, Inc. - * Copyright 2011 Linaro Ltd. - * - * The code contained herein is licensed under the GNU General Public - * License. You may obtain a copy of the GNU General Public License - * Version 2 or later at the following locations: - * - * http://www.opensource.org/licenses/gpl-license.html - * http://www.gnu.org/copyleft/gpl.html - */ - -/include/ "skeleton.dtsi" - -/ { - aliases { - serial0 = &uart1; - serial1 = &uart2; - serial2 = &uart3; - serial3 = &uart4; - serial4 = &uart5; - }; - - cpus { - #address-cells = <1>; - #size-cells = <0>; - - cpu@0 { - compatible = "arm,cortex-a9"; - reg = <0>; - next-level-cache = <&L2>; - }; - - cpu@1 { - compatible = "arm,cortex-a9"; - reg = <1>; - next-level-cache = <&L2>; - }; - - cpu@2 { - compatible = "arm,cortex-a9"; - reg = <2>; - next-level-cache = <&L2>; - }; - - cpu@3 { - compatible = "arm,cortex-a9"; - reg = <3>; - next-level-cache = <&L2>; - }; - }; - - intc: interrupt-controller@00a01000 { - compatible = "arm,cortex-a9-gic"; - #interrupt-cells = <3>; - #address-cells = <1>; - #size-cells = <1>; - interrupt-controller; - reg = <0x00a01000 0x1000>, - <0x00a00100 0x100>; - }; - - clocks { - #address-cells = <1>; - #size-cells = <0>; - - ckil { - compatible = "fsl,imx-ckil", "fixed-clock"; - clock-frequency = <32768>; - }; - - ckih1 { - compatible = "fsl,imx-ckih1", "fixed-clock"; - clock-frequency = <0>; - }; - - osc { - compatible = "fsl,imx-osc", "fixed-clock"; - clock-frequency = <24000000>; - }; - }; - - soc { - #address-cells = <1>; - #size-cells = <1>; - compatible = "simple-bus"; - interrupt-parent = <&intc>; - ranges; - - timer@00a00600 { - compatible = "arm,cortex-a9-twd-timer"; - reg = <0x00a00600 0x20>; - interrupts = <1 13 0xf01>; - }; - - L2: l2-cache@00a02000 { - compatible = "arm,pl310-cache"; - reg = <0x00a02000 0x1000>; - interrupts = <0 92 0x04>; - cache-unified; - cache-level = <2>; - }; - - aips-bus@02000000 { /* AIPS1 */ - compatible = "fsl,aips-bus", "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0x02000000 0x100000>; - ranges; - - spba-bus@02000000 { - compatible = "fsl,spba-bus", "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0x02000000 0x40000>; - ranges; - - spdif@02004000 { - reg = <0x02004000 0x4000>; - interrupts = <0 52 0x04>; - }; - - ecspi@02008000 { /* eCSPI1 */ - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx6q-ecspi", "fsl,imx51-ecspi"; - reg = <0x02008000 0x4000>; - interrupts = <0 31 0x04>; - status = "disabled"; - }; - - ecspi@0200c000 { /* eCSPI2 */ - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx6q-ecspi", "fsl,imx51-ecspi"; - reg = <0x0200c000 0x4000>; - interrupts = <0 32 0x04>; - status = "disabled"; - }; - - ecspi@02010000 { /* eCSPI3 */ - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx6q-ecspi", "fsl,imx51-ecspi"; - reg = <0x02010000 0x4000>; - interrupts = <0 33 0x04>; - status = "disabled"; - }; - - ecspi@02014000 { /* eCSPI4 */ - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx6q-ecspi", "fsl,imx51-ecspi"; - reg = <0x02014000 0x4000>; - interrupts = <0 34 0x04>; - status = "disabled"; - }; - - ecspi@02018000 { /* eCSPI5 */ - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx6q-ecspi", "fsl,imx51-ecspi"; - reg = <0x02018000 0x4000>; - interrupts = <0 35 0x04>; - status = "disabled"; - }; - - uart1: uart@02020000 { - compatible = "fsl,imx6q-uart", "fsl,imx21-uart"; - reg = <0x02020000 0x4000>; - interrupts = <0 26 0x04>; - status = "disabled"; - }; - - esai@02024000 { - reg = <0x02024000 0x4000>; - interrupts = <0 51 0x04>; - }; - - ssi@02028000 { /* SSI1 */ - reg = <0x02028000 0x4000>; - interrupts = <0 46 0x04>; - }; - - ssi@0202c000 { /* SSI2 */ - reg = <0x0202c000 0x4000>; - interrupts = <0 47 0x04>; - }; - - ssi@02030000 { /* SSI3 */ - reg = <0x02030000 0x4000>; - interrupts = <0 48 0x04>; - }; - - asrc@02034000 { - reg = <0x02034000 0x4000>; - interrupts = <0 50 0x04>; - }; - - spba@0203c000 { - reg = <0x0203c000 0x4000>; - }; - }; - - vpu@02040000 { - reg = <0x02040000 0x3c000>; - interrupts = <0 3 0x04 0 12 0x04>; - }; - - aipstz@0207c000 { /* AIPSTZ1 */ - reg = <0x0207c000 0x4000>; - }; - - pwm@02080000 { /* PWM1 */ - reg = <0x02080000 0x4000>; - interrupts = <0 83 0x04>; - }; - - pwm@02084000 { /* PWM2 */ - reg = <0x02084000 0x4000>; - interrupts = <0 84 0x04>; - }; - - pwm@02088000 { /* PWM3 */ - reg = <0x02088000 0x4000>; - interrupts = <0 85 0x04>; - }; - - pwm@0208c000 { /* PWM4 */ - reg = <0x0208c000 0x4000>; - interrupts = <0 86 0x04>; - }; - - flexcan@02090000 { /* CAN1 */ - reg = <0x02090000 0x4000>; - interrupts = <0 110 0x04>; - }; - - flexcan@02094000 { /* CAN2 */ - reg = <0x02094000 0x4000>; - interrupts = <0 111 0x04>; - }; - - gpt@02098000 { - compatible = "fsl,imx6q-gpt"; - reg = <0x02098000 0x4000>; - interrupts = <0 55 0x04>; - }; - - gpio1: gpio@0209c000 { - compatible = "fsl,imx6q-gpio", "fsl,imx31-gpio"; - reg = <0x0209c000 0x4000>; - interrupts = <0 66 0x04 0 67 0x04>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - gpio2: gpio@020a0000 { - compatible = "fsl,imx6q-gpio", "fsl,imx31-gpio"; - reg = <0x020a0000 0x4000>; - interrupts = <0 68 0x04 0 69 0x04>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - gpio3: gpio@020a4000 { - compatible = "fsl,imx6q-gpio", "fsl,imx31-gpio"; - reg = <0x020a4000 0x4000>; - interrupts = <0 70 0x04 0 71 0x04>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - gpio4: gpio@020a8000 { - compatible = "fsl,imx6q-gpio", "fsl,imx31-gpio"; - reg = <0x020a8000 0x4000>; - interrupts = <0 72 0x04 0 73 0x04>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - gpio5: gpio@020ac000 { - compatible = "fsl,imx6q-gpio", "fsl,imx31-gpio"; - reg = <0x020ac000 0x4000>; - interrupts = <0 74 0x04 0 75 0x04>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - gpio6: gpio@020b0000 { - compatible = "fsl,imx6q-gpio", "fsl,imx31-gpio"; - reg = <0x020b0000 0x4000>; - interrupts = <0 76 0x04 0 77 0x04>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - gpio7: gpio@020b4000 { - compatible = "fsl,imx6q-gpio", "fsl,imx31-gpio"; - reg = <0x020b4000 0x4000>; - interrupts = <0 78 0x04 0 79 0x04>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - kpp@020b8000 { - reg = <0x020b8000 0x4000>; - interrupts = <0 82 0x04>; - }; - - wdog@020bc000 { /* WDOG1 */ - compatible = "fsl,imx6q-wdt", "fsl,imx21-wdt"; - reg = <0x020bc000 0x4000>; - interrupts = <0 80 0x04>; - status = "disabled"; - }; - - wdog@020c0000 { /* WDOG2 */ - compatible = "fsl,imx6q-wdt", "fsl,imx21-wdt"; - reg = <0x020c0000 0x4000>; - interrupts = <0 81 0x04>; - status = "disabled"; - }; - - ccm@020c4000 { - compatible = "fsl,imx6q-ccm"; - reg = <0x020c4000 0x4000>; - interrupts = <0 87 0x04 0 88 0x04>; - }; - - anatop@020c8000 { - compatible = "fsl,imx6q-anatop"; - reg = <0x020c8000 0x1000>; - interrupts = <0 49 0x04 0 54 0x04 0 127 0x04>; - }; - - usbphy@020c9000 { /* USBPHY1 */ - reg = <0x020c9000 0x1000>; - interrupts = <0 44 0x04>; - }; - - usbphy@020ca000 { /* USBPHY2 */ - reg = <0x020ca000 0x1000>; - interrupts = <0 45 0x04>; - }; - - snvs@020cc000 { - reg = <0x020cc000 0x4000>; - interrupts = <0 19 0x04 0 20 0x04>; - }; - - epit@020d0000 { /* EPIT1 */ - reg = <0x020d0000 0x4000>; - interrupts = <0 56 0x04>; - }; - - epit@020d4000 { /* EPIT2 */ - reg = <0x020d4000 0x4000>; - interrupts = <0 57 0x04>; - }; - - src@020d8000 { - compatible = "fsl,imx6q-src"; - reg = <0x020d8000 0x4000>; - interrupts = <0 91 0x04 0 96 0x04>; - }; - - gpc@020dc000 { - compatible = "fsl,imx6q-gpc"; - reg = <0x020dc000 0x4000>; - interrupts = <0 89 0x04 0 90 0x04>; - }; - - iomuxc@020e0000 { - reg = <0x020e0000 0x4000>; - }; - - dcic@020e4000 { /* DCIC1 */ - reg = <0x020e4000 0x4000>; - interrupts = <0 124 0x04>; - }; - - dcic@020e8000 { /* DCIC2 */ - reg = <0x020e8000 0x4000>; - interrupts = <0 125 0x04>; - }; - - sdma@020ec000 { - compatible = "fsl,imx6q-sdma", "fsl,imx35-sdma"; - reg = <0x020ec000 0x4000>; - interrupts = <0 2 0x04>; - }; - }; - - aips-bus@02100000 { /* AIPS2 */ - compatible = "fsl,aips-bus", "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0x02100000 0x100000>; - ranges; - - caam@02100000 { - reg = <0x02100000 0x40000>; - interrupts = <0 105 0x04 0 106 0x04>; - }; - - aipstz@0217c000 { /* AIPSTZ2 */ - reg = <0x0217c000 0x4000>; - }; - - enet@02188000 { - compatible = "fsl,imx6q-fec"; - reg = <0x02188000 0x4000>; - interrupts = <0 118 0x04 0 119 0x04>; - status = "disabled"; - }; - - mlb@0218c000 { - reg = <0x0218c000 0x4000>; - interrupts = <0 53 0x04 0 117 0x04 0 126 0x04>; - }; - - usdhc@02190000 { /* uSDHC1 */ - compatible = "fsl,imx6q-usdhc"; - reg = <0x02190000 0x4000>; - interrupts = <0 22 0x04>; - status = "disabled"; - }; - - usdhc@02194000 { /* uSDHC2 */ - compatible = "fsl,imx6q-usdhc"; - reg = <0x02194000 0x4000>; - interrupts = <0 23 0x04>; - status = "disabled"; - }; - - usdhc@02198000 { /* uSDHC3 */ - compatible = "fsl,imx6q-usdhc"; - reg = <0x02198000 0x4000>; - interrupts = <0 24 0x04>; - status = "disabled"; - }; - - usdhc@0219c000 { /* uSDHC4 */ - compatible = "fsl,imx6q-usdhc"; - reg = <0x0219c000 0x4000>; - interrupts = <0 25 0x04>; - status = "disabled"; - }; - - i2c@021a0000 { /* I2C1 */ - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx6q-i2c", "fsl,imx1-i2c"; - reg = <0x021a0000 0x4000>; - interrupts = <0 36 0x04>; - status = "disabled"; - }; - - i2c@021a4000 { /* I2C2 */ - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx6q-i2c", "fsl,imx1-i2c"; - reg = <0x021a4000 0x4000>; - interrupts = <0 37 0x04>; - status = "disabled"; - }; - - i2c@021a8000 { /* I2C3 */ - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx6q-i2c", "fsl,imx1-i2c"; - reg = <0x021a8000 0x4000>; - interrupts = <0 38 0x04>; - status = "disabled"; - }; - - romcp@021ac000 { - reg = <0x021ac000 0x4000>; - }; - - mmdc@021b0000 { /* MMDC0 */ - compatible = "fsl,imx6q-mmdc"; - reg = <0x021b0000 0x4000>; - }; - - mmdc@021b4000 { /* MMDC1 */ - reg = <0x021b4000 0x4000>; - }; - - weim@021b8000 { - reg = <0x021b8000 0x4000>; - interrupts = <0 14 0x04>; - }; - - ocotp@021bc000 { - reg = <0x021bc000 0x4000>; - }; - - ocotp@021c0000 { - reg = <0x021c0000 0x4000>; - interrupts = <0 21 0x04>; - }; - - tzasc@021d0000 { /* TZASC1 */ - reg = <0x021d0000 0x4000>; - interrupts = <0 108 0x04>; - }; - - tzasc@021d4000 { /* TZASC2 */ - reg = <0x021d4000 0x4000>; - interrupts = <0 109 0x04>; - }; - - audmux@021d8000 { - reg = <0x021d8000 0x4000>; - }; - - mipi@021dc000 { /* MIPI-CSI */ - reg = <0x021dc000 0x4000>; - }; - - mipi@021e0000 { /* MIPI-DSI */ - reg = <0x021e0000 0x4000>; - }; - - vdoa@021e4000 { - reg = <0x021e4000 0x4000>; - interrupts = <0 18 0x04>; - }; - - uart2: uart@021e8000 { - compatible = "fsl,imx6q-uart", "fsl,imx21-uart"; - reg = <0x021e8000 0x4000>; - interrupts = <0 27 0x04>; - status = "disabled"; - }; - - uart3: uart@021ec000 { - compatible = "fsl,imx6q-uart", "fsl,imx21-uart"; - reg = <0x021ec000 0x4000>; - interrupts = <0 28 0x04>; - status = "disabled"; - }; - - uart4: uart@021f0000 { - compatible = "fsl,imx6q-uart", "fsl,imx21-uart"; - reg = <0x021f0000 0x4000>; - interrupts = <0 29 0x04>; - status = "disabled"; - }; - - uart5: uart@021f4000 { - compatible = "fsl,imx6q-uart", "fsl,imx21-uart"; - reg = <0x021f4000 0x4000>; - interrupts = <0 30 0x04>; - status = "disabled"; - }; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/kirkwood-dreamplug.dts b/kernel/arch/arm/boot/dts/m7350-un-v1/kirkwood-dreamplug.dts deleted file mode 100644 index a5376b842..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/kirkwood-dreamplug.dts +++ /dev/null @@ -1,24 +0,0 @@ -/dts-v1/; - -/include/ "kirkwood.dtsi" - -/ { - model = "Globalscale Technologies Dreamplug"; - compatible = "globalscale,dreamplug-003-ds2001", "globalscale,dreamplug", "mrvl,kirkwood-88f6281", "mrvl,kirkwood"; - - memory { - device_type = "memory"; - reg = <0x00000000 0x20000000>; - }; - - chosen { - bootargs = "console=ttyS0,115200n8 earlyprintk"; - }; - - ocp@f1000000 { - serial@12000 { - clock-frequency = <200000000>; - status = "ok"; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/kirkwood.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v1/kirkwood.dtsi deleted file mode 100644 index 3474ef890..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/kirkwood.dtsi +++ /dev/null @@ -1,36 +0,0 @@ -/include/ "skeleton.dtsi" - -/ { - compatible = "mrvl,kirkwood"; - - ocp@f1000000 { - compatible = "simple-bus"; - ranges = <0 0xf1000000 0x1000000>; - #address-cells = <1>; - #size-cells = <1>; - - serial@12000 { - compatible = "ns16550a"; - reg = <0x12000 0x100>; - reg-shift = <2>; - interrupts = <33>; - /* set clock-frequency in board dts */ - status = "disabled"; - }; - - serial@12100 { - compatible = "ns16550a"; - reg = <0x12100 0x100>; - reg-shift = <2>; - interrupts = <34>; - /* set clock-frequency in board dts */ - status = "disabled"; - }; - - rtc@10300 { - compatible = "mrvl,kirkwood-rtc", "mrvl,orion-rtc"; - reg = <0x10300 0x20>; - interrupts = <53>; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/mpq8092-iommu.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v1/mpq8092-iommu.dtsi deleted file mode 100644 index 56369dce3..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/mpq8092-iommu.dtsi +++ /dev/null @@ -1,40 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/include/ "msm-iommu-v1.dtsi" - -&jpeg_iommu { - status = "ok"; - vdd-supply = <&gdsc_jpeg>; -}; - -&mdp_iommu { - status = "ok"; - vdd-supply = <&gdsc_mdss>; -}; - -&venus_iommu { - status = "ok"; - vdd-supply = <&gdsc_venus>; -}; - -&kgsl_iommu { - status = "ok"; - qcom,needs-alt-core-clk; - vdd-supply = <&gdsc_oxili_cx>; - qcom,alt-vdd-supply = <&gdsc_oxili_gx>; -}; - -&vfe_iommu { - status = "ok"; - vdd-supply = <&gdsc_vfe>; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/mpq8092-ion.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v1/mpq8092-ion.dtsi deleted file mode 100644 index f9f59850a..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/mpq8092-ion.dtsi +++ /dev/null @@ -1,33 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&soc { - qcom,ion { - compatible = "qcom,msm-ion"; - #address-cells = <1>; - #size-cells = <0>; - - qcom,ion-heap@30 { /* SYSTEM HEAP */ - reg = <30>; - }; - - qcom,ion-heap@21 { /* SYSTEM CONTIG HEAP */ - reg = <21>; - }; - - qcom,ion-heap@25 { /* IOMMU HEAP */ - reg = <25>; - }; - - }; -}; - diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/mpq8092-regulator.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v1/mpq8092-regulator.dtsi deleted file mode 100644 index 63896e922..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/mpq8092-regulator.dtsi +++ /dev/null @@ -1,324 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - - -/* QPNP controlled regulators: */ - -&spmi_bus { - - qcom,pma8084@1 { - pma8084_s1: regulator@1400 { - regulator-min-microvolt = <900000>; - regulator-max-microvolt = <900000>; - qcom,enable-time = <500>; - qcom,pull-down-enable = <1>; - qcom,system-load = <100000>; - status = "okay"; - }; - - pma8084_s3: regulator@1a00 { - regulator-min-microvolt = <1350000>; - regulator-max-microvolt = <1350000>; - qcom,enable-time = <500>; - qcom,pull-down-enable = <1>; - regulator-always-on; - qcom,system-load = <100000>; - status = "okay"; - }; - - pma8084_s4: regulator@1d00 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,enable-time = <500>; - qcom,pull-down-enable = <1>; - regulator-always-on; - qcom,system-load = <100000>; - status = "okay"; - }; - - pma8084_s5: regulator@2000 { - regulator-min-microvolt = <2150000>; - regulator-max-microvolt = <2150000>; - qcom,enable-time = <500>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_s6: regulator@2300 { - regulator-min-microvolt = <900000>; - regulator-max-microvolt = <900000>; - qcom,enable-time = <500>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_s8: regulator@2900 { - regulator-min-microvolt = <1050000>; - regulator-max-microvolt = <1050000>; - qcom,enable-time = <500>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_s12: regulator@3500 { - regulator-min-microvolt = <900000>; - regulator-max-microvolt = <900000>; - qcom,enable-time = <500>; - qcom,pull-down-enable = <1>; - regulator-always-on; - qcom,system-load = <100000>; - status = "okay"; - }; - - pma8084_l1: regulator@4000 { - parent-supply = <&pma8084_s3>; - regulator-min-microvolt = <1225000>; - regulator-max-microvolt = <1225000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - regulator-always-on; - qcom,system-load = <10000>; - status = "okay"; - }; - - pma8084_l2: regulator@4100 { - parent-supply = <&pma8084_s3>; - regulator-min-microvolt = <1000000>; - regulator-max-microvolt = <1000000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l3: regulator@4200 { - parent-supply = <&pma8084_s3>; - regulator-min-microvolt = <1200000>; - regulator-max-microvolt = <1200000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l4: regulator@4300 { - parent-supply = <&pma8084_s3>; - regulator-min-microvolt = <1300000>; - regulator-max-microvolt = <1300000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l6: regulator@4500 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l9: regulator@4800 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <2950000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l10: regulator@4900 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l11: regulator@4a00 { - parent-supply = <&pma8084_s3>; - regulator-min-microvolt = <1200000>; - regulator-max-microvolt = <1200000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l12: regulator@4b00 { - regulator-min-microvolt = <2500000>; - regulator-max-microvolt = <2500000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l13: regulator@4c00 { - regulator-min-microvolt = <2950000>; - regulator-max-microvolt = <2950000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - regulator-always-on; - status = "okay"; - }; - - pma8084_l14: regulator@4d00 { - regulator-min-microvolt = <950000>; - regulator-max-microvolt = <950000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l15: regulator@4e00 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l16: regulator@4f00 { - parent-supply = <&pma8084_s5>; - regulator-min-microvolt = <750000>; - regulator-max-microvolt = <750000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l17: regulator@5000 { - regulator-min-microvolt = <3150000>; - regulator-max-microvolt = <3150000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - qcom,system-load = <100000>; - status = "okay"; - }; - - pma8084_l18: regulator@5100 { - regulator-min-microvolt = <2850000>; - regulator-max-microvolt = <2850000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l19: regulator@5200 { - parent-supply = <&pma8084_s5>; - regulator-min-microvolt = <1500000>; - regulator-max-microvolt = <1500000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l20: regulator@5300 { - regulator-min-microvolt = <2950000>; - regulator-max-microvolt = <2950000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - regulator-always-on; - status = "okay"; - }; - - pma8084_l21: regulator@5400 { - regulator-min-microvolt = <2950000>; - regulator-max-microvolt = <2950000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - regulator-always-on; - status = "okay"; - }; - - pma8084_l22: regulator@5500 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - regulator-always-on; - status = "okay"; - }; - - pma8084_l23: regulator@5600 { - regulator-min-microvolt = <3000000>; - regulator-max-microvolt = <3000000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l24: regulator@5700 { - regulator-min-microvolt = <3075000>; - regulator-max-microvolt = <3075000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - regulator-always-on; - status = "okay"; - }; - - pma8084_l25: regulator@5800 { - parent-supply = <&pma8084_s5>; - regulator-min-microvolt = <2000000>; - regulator-max-microvolt = <2000000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - pma8084_l26: regulator@5900 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - pma8084_l27: regulator@5A00 { - parent-supply = <&pma8084_s3>; - regulator-min-microvolt = <1000000>; - regulator-max-microvolt = <1000000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_lvs1: regulator@8000 { - parent-supply = <&pma8084_s4>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_lvs2: regulator@8100 { - parent-supply = <&pma8084_s4>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_lvs3: regulator@8200 { - parent-supply = <&pma8084_s4>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_lvs4: regulator@8300 { - parent-supply = <&pma8084_s4>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_mvs1: regulator@8400 { - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - }; -}; - diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/mpq8092-rumi.dts b/kernel/arch/arm/boot/dts/m7350-un-v1/mpq8092-rumi.dts deleted file mode 100644 index 1abaf5596..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/mpq8092-rumi.dts +++ /dev/null @@ -1,28 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; - -/include/ "mpq8092.dtsi" -/include/ "mpq8092-rumi.dtsi" - -/ { - model = "Qualcomm MPQ8092 RUMI"; - compatible = "qcom,mpq8092-rumi", "qcom,mpq8092", "qcom,rumi"; - qcom,msm-id = <146 16 0>; -}; - -&soc { - serial@f9922000 { - status = "ok"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/mpq8092-rumi.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v1/mpq8092-rumi.dtsi deleted file mode 100644 index 201699882..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/mpq8092-rumi.dtsi +++ /dev/null @@ -1,134 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -&soc { - timer { - clock-frequency = <5000000>; - }; - - timer@f9020000 { - clock-frequency = <5000000>; - }; - - usb@f9a55000 { - status = "disable"; - }; - - qcom,sdcc@f9824000 { - status = "disabled"; - qcom,clk-rates = <400000 19200000>; - }; - - qcom,sdcc@f98a4000 { - status = "disabled"; - qcom,clk-rates = <400000 19200000>; - }; - - qcom,sps@f998000 { - status = "disable"; - }; - - spi@f9924000 { - status = "disable"; - }; - - spi@f9923000 { - compatible = "qcom,spi-qup-v2"; - reg = <0xf9923000 0x1000>; - interrupts = <0 95 0>; - spi-max-frequency = <24000000>; - #address-cells = <1>; - #size-cells = <0>; - gpios = <&msmgpio 3 0>, /* CLK */ - <&msmgpio 1 0>, /* MISO */ - <&msmgpio 0 0>; /* MOSI */ - cs-gpios = <&msmgpio 9 0>; - - ethernet-switch@2 { - compatible = "simtec,ks8851"; - reg = <2>; - interrupt-parent = <&msmgpio>; - interrupts = <90 0>; - spi-max-frequency = <5000000>; - }; - }; - - i2c@f9966000 { - status = "disable"; - }; - - i2c@f9967000 { - status = "disable"; - cell-index = <0>; - compatible = "qcom,i2c-qup"; - reg = <0Xf9967000 0x1000>; - reg-names = "qup_phys_addr"; - interrupts = <0 105 0>; - interrupt-names = "qup_err_intr"; - qcom,i2c-bus-freq = <100000>; - qcom,i2c-src-freq = <19200000>; - gpios = <&msmgpio 83 0>,/* DAT */ - <&msmgpio 84 0>;/* CLK */ - }; - - slim@fe12f000 { - status = "disable"; - }; - - qcom,mdss_dsi@fd922800 { - status = "disable"; - }; - - qcom,spmi@fc4c0000 { - status = "disable"; - }; - - qcom,ssusb@F9200000 { - status = "disable"; - }; - - qcom,lpass@fe200000 { - status = "disable"; - }; - - qcom,pronto@fb21b000 { - status = "disable"; - }; - - qcom,mss@fc880000 { - status = "disable"; - }; - - qcom,kgsl-3d0@fdb00000 { - status = "disabled"; - }; -}; - -&gdsc_venus { - status = "disabled"; -}; - -&gdsc_jpeg { - status = "disabled"; -}; - -&gdsc_oxili_gx { - status = "disabled"; -}; - -&gdsc_oxili_cx { - status = "disabled"; -}; - -&gdsc_usb_hsic { - status = "disabled"; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/mpq8092-sim.dts b/kernel/arch/arm/boot/dts/m7350-un-v1/mpq8092-sim.dts deleted file mode 100644 index 676ef3b17..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/mpq8092-sim.dts +++ /dev/null @@ -1,125 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/dts-v1/; - -/include/ "mpq8092.dtsi" - -/ { - model = "Qualcomm MPQ8092 Simulator"; - compatible = "qcom,mpq8092-sim", "qcom,mpq8092", "qcom,sim"; - qcom,msm-id = <126 16 0>; -}; - -&soc { - serial@f991f000 { - status = "ok"; - }; - - serial@f995e000 { - status = "ok"; - }; -}; - -&pma8084_gpios { - gpio@c000 { /* GPIO 1 */ - }; - - gpio@c100 { /* GPIO 2 */ - }; - - gpio@c200 { /* GPIO 3 */ - }; - - gpio@c300 { /* GPIO 4 */ - }; - - gpio@c400 { /* GPIO 5 */ - }; - - gpio@c500 { /* GPIO 6 */ - }; - - gpio@c600 { /* GPIO 7 */ - }; - - gpio@c700 { /* GPIO 8 */ - }; - - gpio@c800 { /* GPIO 9 */ - }; - - gpio@c900 { /* GPIO 10 */ - }; - - gpio@ca00 { /* GPIO 11 */ - }; - - gpio@cb00 { /* GPIO 12 */ - }; - - gpio@cc00 { /* GPIO 13 */ - }; - - gpio@cd00 { /* GPIO 14 */ - }; - - gpio@ce00 { /* GPIO 15 */ - }; - - gpio@cf00 { /* GPIO 16 */ - }; - - gpio@d000 { /* GPIO 17 */ - }; - - gpio@d100 { /* GPIO 18 */ - }; - - gpio@d200 { /* GPIO 19 */ - }; - - gpio@d300 { /* GPIO 20 */ - }; - - gpio@d400 { /* GPIO 21 */ - }; - - gpio@d500 { /* GPIO 22 */ - }; -}; - -&pma8084_mpps { - mpp@a000 { /* MPP 1 */ - }; - - mpp@a100 { /* MPP 2 */ - }; - - mpp@a200 { /* MPP 3 */ - }; - - mpp@a300 { /* MPP 4 */ - }; - - mpp@a400 { /* MPP5 */ - }; - - mpp@a500 { /* MPP 6 */ - }; - - mpp@a600 { /* MPP 7 */ - }; - - mpp@a700 { /* MPP 8 */ - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/mpq8092.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v1/mpq8092.dtsi deleted file mode 100644 index e8674a055..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/mpq8092.dtsi +++ /dev/null @@ -1,240 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/include/ "skeleton.dtsi" - -/ { - model = "Qualcomm MPQ8092"; - compatible = "qcom,mpq8092"; - interrupt-parent = <&intc>; - - soc: soc { }; -}; - -/include/ "mpq8092-iommu.dtsi" -/include/ "msm-gdsc.dtsi" -/include/ "mpq8092-ion.dtsi" - -&soc { - #address-cells = <1>; - #size-cells = <1>; - ranges; - - intc: interrupt-controller@f9000000 { - compatible = "qcom,msm-qgic2"; - interrupt-controller; - #interrupt-cells = <3>; - reg = <0xf9000000 0x1000>, - <0xf9002000 0x1000>; - }; - - msmgpio: gpio@fd510000 { - compatible = "qcom,msm-gpio"; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - reg = <0xfd510000 0x4000>; - ngpio = <146>; - interrupts = <0 208 0>; - qcom,direct-connect-irqs = <8>; - }; - - timer { - compatible = "arm,armv7-timer"; - interrupts = <1 2 0>, <1 3 0>; - clock-frequency = <19200000>; - }; - - 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 8 0x4>, - <0 7 0x4>; - reg = <0xf9021000 0x1000>, - <0xf9022000 0x1000>; - }; - - frame@f9023000 { - frame-number = <1>; - interrupts = <0 9 0x4>; - reg = <0xf9023000 0x1000>; - status = "disabled"; - }; - - frame@f9024000 { - frame-number = <2>; - interrupts = <0 10 0x4>; - reg = <0xf9024000 0x1000>; - status = "disabled"; - }; - - frame@f9025000 { - frame-number = <3>; - interrupts = <0 11 0x4>; - reg = <0xf9025000 0x1000>; - status = "disabled"; - }; - - frame@f9026000 { - frame-number = <4>; - interrupts = <0 12 0x4>; - reg = <0xf9026000 0x1000>; - status = "disabled"; - }; - - frame@f9027000 { - frame-number = <5>; - interrupts = <0 13 0x4>; - reg = <0xf9027000 0x1000>; - status = "disabled"; - }; - - frame@f9028000 { - frame-number = <6>; - interrupts = <0 14 0x4>; - reg = <0xf9028000 0x1000>; - status = "disabled"; - }; - }; - - serial@f991f000 { - compatible = "qcom,msm-lsuart-v14"; - reg = <0xf991f000 0x1000>; - interrupts = <0 109 0>; - status = "disabled"; - }; - - serial@f9922000 { - compatible = "qcom,msm-lsuart-v14"; - reg = <0xf9922000 0x1000>; - interrupts = <0 112 0>; - status = "disabled"; - }; - - serial@f995e000 { - compatible = "qcom,msm-lsuart-v14"; - reg = <0xf995e000 0x1000>; - interrupts = <0 114 0>; - status = "disabled"; - }; - - qcom,msm-imem@fe805000 { - compatible = "qcom,msm-imem"; - reg = <0xfe805000 0x1000>; /* Address and size of IMEM */ - }; - - spmi_bus: qcom,spmi@fc4c0000 { - cell-index = <0>; - 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,not-wakeup; - qcom,pmic-arb-ee = <0>; - qcom,pmic-arb-channel = <0>; - }; - - sdcc1: qcom,sdcc@f9824000 { - cell-index = <1>; /* SDC1 eMMC slot */ - compatible = "qcom,msm-sdcc"; - reg = <0xf9824000 0x800>; - reg-names = "core_mem"; - interrupts = <0 123 0>; - interrupt-names = "core_irq"; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - qcom,sup-voltages = <2950 2950>; - qcom,bus-width = <8>; - qcom,nonremovable; - qcom,bus-speed-mode = "HS200_1p8v", "DDR_1p8v"; - }; - - sdcc2: qcom,sdcc@f98a4000 { - cell-index = <2>; /* SDC2 SD card slot */ - compatible = "qcom,msm-sdcc"; - reg = <0xf98a4000 0x800>; - reg-names = "core_mem"; - interrupts = <0 125 0>; - interrupt-names = "core_irq"; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - qcom,sup-voltages = <2950 2950>; - qcom,bus-width = <4>; - qcom,xpc; - qcom,bus-speed-mode = "SDR12", "SDR25", "SDR50", "DDR50", "SDR104"; - qcom,current-limit = <800>; - }; - - sata: sata@fc580000 { - compatible = "qcom,msm-ahci"; - reg = <0xfc580000 0x17c>; - interrupts = <0 243 0>; - }; - - qcom,wdt@f9017000 { - compatible = "qcom,msm-watchdog"; - reg = <0xf9017000 0x1000>; - interrupts = <0 3 0>, <0 4 0>; - qcom,bark-time = <11000>; - qcom,pet-time = <10000>; - qcom,ipi-ping; - }; -}; - -&gdsc_venus { - status = "ok"; -}; - -&gdsc_mdss { - status = "ok"; -}; - -&gdsc_jpeg { - status = "ok"; -}; - -&gdsc_oxili_gx { - status = "ok"; -}; - -&gdsc_oxili_cx { - status = "ok"; -}; - -&gdsc_usb_hsic { - status = "ok"; -}; - -/include/ "msm-pma8084.dtsi" -/include/ "mpq8092-regulator.dtsi" diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/msm-gdsc.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v1/msm-gdsc.dtsi deleted file mode 100644 index 78234e858..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/msm-gdsc.dtsi +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Copyright (c) 2012-2013, 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. - */ - -&soc { - gdsc_venus: qcom,gdsc@fd8c1024 { - compatible = "qcom,gdsc"; - regulator-name = "gdsc_venus"; - reg = <0xfd8c1024 0x4>; - status = "disabled"; - }; - - gdsc_mdss: qcom,gdsc@fd8c2304 { - compatible = "qcom,gdsc"; - regulator-name = "gdsc_mdss"; - reg = <0xfd8c2304 0x4>; - status = "disabled"; - }; - - gdsc_jpeg: qcom,gdsc@fd8c35a4 { - compatible = "qcom,gdsc"; - regulator-name = "gdsc_jpeg"; - reg = <0xfd8c35a4 0x4>; - status = "disabled"; - }; - - gdsc_vfe: qcom,gdsc@fd8c36a4 { - compatible = "qcom,gdsc"; - regulator-name = "gdsc_vfe"; - reg = <0xfd8c36a4 0x4>; - status = "disabled"; - }; - - gdsc_oxili_gx: qcom,gdsc@fd8c4024 { - compatible = "qcom,gdsc"; - regulator-name = "gdsc_oxili_gx"; - reg = <0xfd8c4024 0x4>; - status = "disabled"; - }; - - gdsc_oxili_cx: qcom,gdsc@fd8c4034 { - compatible = "qcom,gdsc"; - regulator-name = "gdsc_oxili_cx"; - reg = <0xfd8c4034 0x4>; - status = "disabled"; - }; - - gdsc_usb_hsic: qcom,gdsc@fc400404 { - compatible = "qcom,gdsc"; - regulator-name = "gdsc_usb_hsic"; - reg = <0xfc400404 0x4>; - status = "disabled"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/msm-iommu-v0.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v1/msm-iommu-v0.dtsi deleted file mode 100644 index 2cfc5cf07..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/msm-iommu-v0.dtsi +++ /dev/null @@ -1,333 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&soc { - lpass_iommu: qcom,iommu@fd000000 { - compatible = "qcom,msm-smmu-v0"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - reg = <0xfd000000 0x10000>; - interrupts = <0 248 0>; - qcom,glb-offset = <0xF000>; - label = "lpass_iommu"; - qcom,iommu-pmu-ngroups = <1>; - qcom,iommu-pmu-ncounters = <4>; - qcom,iommu-pmu-event-classes = <0x08 - 0x09 - 0x10 - 0x12 - 0x80>; - qcom,msm-bus,name = "lpass_ebi"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,active-only; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <11 512 0 0>, - <11 512 0 1000>; - status = "disabled"; - - lpass_q6_fw: qcom,iommu-ctx@fd000000 { - compatible = "qcom,msm-smmu-v0-ctx"; - reg = <0xfd000000 0x1000>; - interrupts = <0 250 0>; - qcom,iommu-ctx-mids = <0 15>; - label = "q6_fw"; - }; - - lpass_audio_shared: qcom,iommu-ctx@fd001000 { - compatible = "qcom,msm-smmu-v0-ctx"; - reg = <0xfd001000 0x1000>; - interrupts = <0 250 0>; - qcom,iommu-ctx-mids = <1>; - label = "audio_shared"; - }; - - lpass_video_shared: qcom,iommu-ctx@fd002000 { - compatible = "qcom,msm-smmu-v0-ctx"; - reg = <0xfd002000 0x1000>; - interrupts = <0 250 0>; - qcom,iommu-ctx-mids = <2>; - label = "video_shared"; - }; - - lpass_q6_spare: qcom,iommu-ctx@fd003000 { - compatible = "qcom,msm-smmu-v0-ctx"; - reg = <0xfd003000 0x1000>; - interrupts = <0 250 0>; - qcom,iommu-ctx-mids = <3 4 5 6 7 8 9 10 11 12 13 14>; - label = "q6_spare"; - }; - }; - - copss_iommu: qcom,iommu@fd010000 { - compatible = "qcom,msm-smmu-v0"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - reg = <0xfd010000 0x10000>; - interrupts = <0 252 0>; - qcom,glb-offset = <0xF000>; - label = "copss_iommu"; - qcom,iommu-pmu-ngroups = <1>; - qcom,iommu-pmu-ncounters = <4>; - qcom,iommu-pmu-event-classes = <0x08 - 0x09 - 0x10 - 0x12 - 0x80>; - qcom,msm-bus,name = "copss_ebi"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,active-only; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <88 512 0 0>, - <88 512 0 1000>; - - status = "disabled"; - - qcom,iommu-ctx@fd010000 { - compatible = "qcom,msm-smmu-v0-ctx"; - reg = <0xfd010000 0x1000>; - interrupts = <0 254 0>; - qcom,iommu-ctx-mids = <0>; - label = "copss_0"; - }; - - qcom,iommu-ctx@fd011000 { - compatible = "qcom,msm-smmu-v0-ctx"; - reg = <0xfd011000 0x1000>; - interrupts = <0 254 0>; - qcom,iommu-ctx-mids = <1>; - label = "copss_1"; - }; - - qcom,iommu-ctx@fd012000 { - compatible = "qcom,msm-smmu-v0-ctx"; - reg = <0xfd012000 0x1000>; - interrupts = <0 254 0>; - qcom,iommu-ctx-mids = <2>; - label = "copss_2"; - }; - - qcom,iommu-ctx@fd013000 { - compatible = "qcom,msm-smmu-v0-ctx"; - reg = <0xfd013000 0x1000>; - interrupts = <0 254 0>; - qcom,iommu-ctx-mids = <3>; - label = "copss_3"; - }; - - qcom,iommu-ctx@fd014000 { - compatible = "qcom,msm-smmu-v0-ctx"; - reg = <0xfd014000 0x1000>; - interrupts = <0 254 0>; - qcom,iommu-ctx-mids = <4>; - label = "copss_4"; - }; - - qcom,iommu-ctx@fd015000 { - compatible = "qcom,msm-smmu-v0-ctx"; - reg = <0xfd015000 0x1000>; - interrupts = <0 254 0>; - qcom,iommu-ctx-mids = <5>; - label = "copss_5"; - }; - - qcom,iommu-ctx@fd016000 { - compatible = "qcom,msm-smmu-v0-ctx"; - reg = <0xfd016000 0x1000>; - interrupts = <0 254 0>; - qcom,iommu-ctx-mids = <6>; - label = "copss_6"; - }; - - qcom,iommu-ctx@fd017000 { - compatible = "qcom,msm-smmu-v0-ctx"; - reg = <0xfd017000 0x1000>; - interrupts = <0 254 0>; - qcom,iommu-ctx-mids = <7>; - label = "copss_7"; - }; - }; - - mdpe_iommu: qcom,iommu@fd860000 { - compatible = "qcom,msm-smmu-v0"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - reg = <0xfd860000 0x10000>; - interrupts = <0 245 0>; - qcom,glb-offset = <0xF000>; - label = "mdpe_iommu"; - qcom,iommu-pmu-ngroups = <1>; - qcom,iommu-pmu-ncounters = <4>; - qcom,iommu-pmu-event-classes = <0x08 - 0x09 - 0x10 - 0x12 - 0x80>; - qcom,msm-bus,name = "mdpe_ebi"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,active-only; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <92 512 0 0>, - <92 512 0 1000>; - status = "disabled"; - - qcom,iommu-ctx@fd860000 { - compatible = "qcom,msm-smmu-v0-ctx"; - reg = <0xfd860000 0x1000>; - interrupts = <0 247 0>; - qcom,iommu-ctx-mids = <0 1 3>; - label = "mdpe_0"; - }; - - qcom,iommu-ctx@fd861000 { - compatible = "qcom,msm-smmu-v0-ctx"; - reg = <0xfd861000 0x1000>; - interrupts = <0 247 0>; - qcom,iommu-ctx-mids = <2>; - label = "mdpe_1"; - }; - }; - - mdps_iommu: qcom,iommu@fd870000 { - compatible = "qcom,msm-smmu-v0"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - reg = <0xfd870000 0x10000>; - interrupts = <0 73 0>; - qcom,glb-offset = <0xF000>; - label = "mdps_iommu"; - qcom,iommu-pmu-ngroups = <1>; - qcom,iommu-pmu-ncounters = <4>; - qcom,iommu-pmu-event-classes = <0x08 - 0x09 - 0x10 - 0x12 - 0x80>; - qcom,msm-bus,name = "mdps_ebi"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,active-only; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <22 512 0 0>, - <22 512 0 1000>; - status = "disabled"; - - qcom,iommu-ctx@fd870000 { - compatible = "qcom,msm-smmu-v0-ctx"; - reg = <0xfd870000 0x1000>; - interrupts = <0 47 0>; - qcom,iommu-ctx-mids = <0>; - label = "mdps_0"; - }; - - qcom,iommu-ctx@fd871000 { - compatible = "qcom,msm-smmu-v0-ctx"; - reg = <0xfd871000 0x1000>; - interrupts = <0 47 0>; - qcom,iommu-ctx-mids = <1>; - label = "mdps_1"; - }; - }; - - gfx_iommu: qcom,iommu@fd880000 { - compatible = "qcom,msm-smmu-v0"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - reg = <0xfd880000 0x10000>; - interrupts = <0 38 0>; - qcom,glb-offset = <0xF000>; - qcom,needs-alt-core-clk; - label = "gfx_iommu"; - qcom,iommu-pmu-ngroups = <1>; - qcom,iommu-pmu-ncounters = <4>; - qcom,iommu-pmu-event-classes = <0x08 - 0x09 - 0x10 - 0x12 - 0x80>; - qcom,msm-bus,name = "gfx_ebi"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,active-only; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <26 512 0 0>, - <26 512 0 1000>; - status = "disabled"; - - qcom,iommu-ctx@fd880000 { - compatible = "qcom,msm-smmu-v0-ctx"; - reg = <0xfd880000 0x1000>; - interrupts = <0 241 0>; - qcom,iommu-ctx-mids = <0 1 2 3 4 5 6 7 8 9 10 11 12 13 - 14 15>; - label = "gfx3d_user"; - }; - - qcom,iommu-ctx@fd881000 { - compatible = "qcom,msm-smmu-v0-ctx"; - reg = <0xfd881000 0x1000>; - interrupts = <0 241 0>; - qcom,iommu-ctx-mids = <16 17 18 19 20 21 22 23 24 25 - 26 27 28 29 30 31>; - label = "gfx3d_priv"; - }; - - qcom,iommu-ctx@fd882000 { - compatible = "qcom,msm-smmu-v0-ctx"; - reg = <0xfd882000 0x1000>; - interrupts = <0 241 0>; - qcom,iommu-ctx-mids = <>; - label = "gfx3d_spare"; - }; - }; - - vfe_iommu: qcom,iommu@fd890000 { - compatible = "qcom,msm-smmu-v0"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - reg = <0xfd890000 0x10000>; - interrupts = <0 62 0>; - qcom,glb-offset = <0xF000>; - label = "vfe_iommu"; - qcom,iommu-pmu-ngroups = <1>; - qcom,iommu-pmu-ncounters = <4>; - qcom,iommu-pmu-event-classes = <0x08 - 0x09 - 0x10 - 0x12 - 0x80>; - qcom,msm-bus,name = "vfe_ebi"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,active-only; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <29 512 0 0>, - <29 512 0 1000>; - status = "disabled"; - - qcom,iommu-ctx@fd890000 { - compatible = "qcom,msm-smmu-v0-ctx"; - reg = <0xfd890000 0x1000>; - interrupts = <0 65 0>; - qcom,iommu-ctx-mids = <0 1 2 3 4 5 6 7 8 9>; - label = "vfe0"; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/msm-iommu-v1.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v1/msm-iommu-v1.dtsi deleted file mode 100644 index 44920778e..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/msm-iommu-v1.dtsi +++ /dev/null @@ -1,514 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&soc { - jpeg_iommu: qcom,iommu@fda64000 { - compatible = "qcom,msm-smmu-v1"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - reg = <0xfda64000 0x10000>; - reg-names = "iommu_base"; - interrupts = <0 67 0>; - qcom,needs-alt-core-clk; - label = "jpeg_iommu"; - status = "disabled"; - qcom,msm-bus,name = "jpeg_ebi"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,active-only; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <62 512 0 0>, - <62 512 0 1000>; - - qcom,iommu-pmu-ngroups = <1>; - qcom,iommu-pmu-ncounters = <8>; - qcom,iommu-pmu-event-classes = <0x00 - 0x01 - 0x08 - 0x09 - 0x0A - 0x10 - 0x11 - 0x12 - 0x80 - 0x81 - 0x82 - 0x83 - 0x90 - 0x91 - 0x92 - 0xb0 - 0xb1>; - - qcom,iommu-bfb-regs = <0x204c - 0x2050 - 0x2514 - 0x2540 - 0x256c - 0x2314 - 0x2394 - 0x2414 - 0x20ac - 0x215c - 0x220c - 0x2008 - 0x200c - 0x2010 - 0x2014>; - - qcom,iommu-bfb-data = <0x0000ffff - 0x0 - 0x4 - 0x4 - 0x0 - 0x0 - 0x10 - 0x50 - 0x0 - 0x10 - 0x20 - 0x0 - 0x0 - 0x0 - 0x0>; - - qcom,iommu-ctx@fda6c000 { - compatible = "qcom,msm-smmu-v1-ctx"; - reg = <0xfda6c000 0x1000>; - interrupts = <0 70 0>; - qcom,iommu-ctx-sids = <0>; - label = "jpeg_enc0"; - }; - - qcom,iommu-ctx@fda6d000 { - compatible = "qcom,msm-smmu-v1-ctx"; - reg = <0xfda6d000 0x1000>; - interrupts = <0 70 0>; - qcom,iommu-ctx-sids = <1>; - label = "jpeg_enc1"; - }; - - qcom,iommu-ctx@fda6e000 { - compatible = "qcom,msm-smmu-v1-ctx"; - reg = <0xfda6e000 0x1000>; - interrupts = <0 70 0>; - qcom,iommu-ctx-sids = <2>; - label = "jpeg_dec"; - }; - }; - - mdp_iommu: qcom,iommu@fd928000 { - compatible = "qcom,msm-smmu-v1"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - reg = <0xfd928000 0x10000>; - reg-names = "iommu_base"; - interrupts = <0 73 0>; - qcom,iommu-secure-id = <1>; - label = "mdp_iommu"; - qcom,msm-bus,name = "mdp_ebi"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,active-only; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <22 512 0 0>, - <22 512 0 1000>; - status = "disabled"; - - qcom,iommu-pmu-ngroups = <1>; - qcom,iommu-pmu-ncounters = <8>; - qcom,iommu-pmu-event-classes = <0x00 - 0x01 - 0x08 - 0x09 - 0x0A - 0x10 - 0x11 - 0x12 - 0x80 - 0x81 - 0x82 - 0x83 - 0x90 - 0x91 - 0x92 - 0xb0 - 0xb1>; - - qcom,iommu-bfb-regs = <0x204c - 0x2050 - 0x2514 - 0x2540 - 0x256c - 0x20ac - 0x215c - 0x220c - 0x2314 - 0x2394 - 0x2414 - 0x2008 - 0x200c - 0x2010 - 0x2014 - 0x2018 - 0x201c - 0x2020>; - - qcom,iommu-bfb-data = <0xffffffff - 0x0 - 0x00000004 - 0x00000010 - 0x00000000 - 0x00000000 - 0x00000034 - 0x00000044 - 0x0 - 0x34 - 0x74 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0>; - - qcom,iommu-ctx@fd930000 { - compatible = "qcom,msm-smmu-v1-ctx"; - reg = <0xfd930000 0x1000>; - interrupts = <0 47 0>; - qcom,iommu-ctx-sids = <0>; - label = "mdp_0"; - }; - - qcom,iommu-ctx@fd931000 { - compatible = "qcom,msm-smmu-v1-ctx"; - reg = <0xfd931000 0x1000>; - interrupts = <0 47 0>, <0 46 0>; - qcom,iommu-ctx-sids = <1>; - label = "mdp_1"; - qcom,secure-context; - }; - - qcom,iommu-ctx@fd932000 { - compatible = "qcom,msm-smmu-v1-ctx"; - reg = <0xfd932000 0x1000>; - interrupts = <0 47 0>, <0 46 0>; - qcom,iommu-ctx-sids = <>; - label = "mdp_2"; - qcom,secure-context; - }; - }; - - venus_iommu: qcom,iommu@fdc84000 { - compatible = "qcom,msm-smmu-v1"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - reg = <0xfdc84000 0x10000 - 0xfdce0004 0x4>; - reg-names = "iommu_base", "clk_base"; - interrupts = <0 45 0>; - qcom,iommu-secure-id = <0>; - qcom,needs-alt-core-clk; - label = "venus_iommu"; - qcom,msm-bus,name = "venus_ebi"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,active-only; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <63 512 0 0>, - <63 512 0 1000>; - status = "disabled"; - - qcom,iommu-pmu-ngroups = <1>; - qcom,iommu-pmu-ncounters = <8>; - qcom,iommu-pmu-event-classes = <0x00 - 0x01 - 0x08 - 0x09 - 0x0A - 0x10 - 0x11 - 0x12 - 0x80 - 0x81 - 0x82 - 0x83 - 0x90 - 0x91 - 0x92 - 0xb0 - 0xb1>; - - qcom,iommu-bfb-regs = <0x204c - 0x2050 - 0x2514 - 0x2540 - 0x256c - 0x20ac - 0x215c - 0x220c - 0x2314 - 0x2394 - 0x2414 - 0x2008 - 0x200c - 0x2010 - 0x2014 - 0x2018 - 0x201c - 0x2020 - 0x2024 - 0x2028 - 0x202c - 0x2030 - 0x2034 - 0x2038>; - - qcom,iommu-bfb-data = <0xffffffff - 0xffffffff - 0x00000004 - 0x00000008 - 0x00000000 - 0x00000000 - 0x00000094 - 0x000000b4 - 0x0 - 0x94 - 0x114 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0>; - - venus_ns: qcom,iommu-ctx@fdc8c000 { - compatible = "qcom,msm-smmu-v1-ctx"; - reg = <0xfdc8c000 0x1000>; - interrupts = <0 42 0>; - qcom,iommu-ctx-sids = <0 1 2 3 4 5>; - label = "venus_ns"; - }; - - venus_cp: qcom,iommu-ctx@fdc8d000 { - compatible = "qcom,msm-smmu-v1-ctx"; - reg = <0xfdc8d000 0x1000>; - interrupts = <0 42 0>, <0 43 0>; - qcom,iommu-ctx-sids = <0x80 0x81 0x82 0x83 0x84 0x85>; - label = "venus_cp"; - qcom,secure-context; - }; - - venus_fw: qcom,iommu-ctx@fdc8e000 { - compatible = "qcom,msm-smmu-v1-ctx"; - reg = <0xfdc8e000 0x1000>; - interrupts = <0 42 0>, <0 43 0>; - qcom,iommu-ctx-sids = <0xc0 0xc6>; - label = "venus_fw"; - qcom,secure-context; - }; - }; - - kgsl_iommu: qcom,iommu@fdb10000 { - compatible = "qcom,msm-smmu-v1"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - reg = <0xfdb10000 0x10000>; - reg-names = "iommu_base"; - interrupts = <0 38 0>; - label = "kgsl_iommu"; - qcom,msm-bus,name = "kgsl_ebi"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,active-only; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <26 512 0 0>, - <26 512 0 1000>; - status = "disabled"; - - qcom,iommu-pmu-ngroups = <1>; - qcom,iommu-pmu-ncounters = <8>; - qcom,iommu-pmu-event-classes = <0x00 - 0x01 - 0x08 - 0x09 - 0x0A - 0x10 - 0x11 - 0x12 - 0x80 - 0x81 - 0x82 - 0x83 - 0x90 - 0x91 - 0x92 - 0xb0 - 0xb1>; - - qcom,iommu-bfb-regs = <0x204c - 0x2050 - 0x2514 - 0x2540 - 0x256c - 0x20ac - 0x215c - 0x220c - 0x2314 - 0x2394 - 0x2414 - 0x2008>; - - qcom,iommu-bfb-data = <0x00000003 - 0x0 - 0x00000004 - 0x00000010 - 0x00000000 - 0x00000000 - 0x00000001 - 0x00000021 - 0x0 - 0x1 - 0x81 - 0x0>; - - qcom,iommu-ctx@fdb18000 { - compatible = "qcom,msm-smmu-v1-ctx"; - reg = <0xfdb18000 0x1000>; - interrupts = <0 241 0>; - qcom,iommu-ctx-sids = <0>; - label = "gfx3d_user"; - }; - - qcom,iommu-ctx@fdb19000 { - compatible = "qcom,msm-smmu-v1-ctx"; - reg = <0xfdb19000 0x1000>; - interrupts = <0 241 0>; - qcom,iommu-ctx-sids = <1>; - label = "gfx3d_priv"; - }; - }; - - vfe_iommu: qcom,iommu@fda44000 { - compatible = "qcom,msm-smmu-v1"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - reg = <0xfda44000 0x10000>; - reg-names = "iommu_base"; - interrupts = <0 62 0>; - qcom,needs-alt-core-clk; - label = "vfe_iommu"; - qcom,msm-bus,name = "vfe_ebi"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,active-only; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <29 512 0 0>, - <29 512 0 1000>; - status = "disabled"; - - qcom,iommu-pmu-ngroups = <1>; - qcom,iommu-pmu-ncounters = <8>; - qcom,iommu-pmu-event-classes = <0x00 - 0x01 - 0x08 - 0x09 - 0x0A - 0x10 - 0x11 - 0x12 - 0x80 - 0x81 - 0x82 - 0x83 - 0x90 - 0x91 - 0x92 - 0xb0 - 0xb1>; - - qcom,iommu-bfb-regs = <0x204c - 0x2050 - 0x2514 - 0x2540 - 0x256c - 0x2314 - 0x2394 - 0x2414 - 0x20ac - 0x215c - 0x220c - 0x2008 - 0x200c - 0x2010 - 0x2014 - 0x2018 - 0x201c - 0x2020>; - - qcom,iommu-bfb-data = <0xffffffff - 0x00000000 - 0x4 - 0x8 - 0x0 - 0x0 - 0x20 - 0x78 - 0x0 - 0x20 - 0x36 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0>; - - qcom,iommu-ctx@fda4c000 { - compatible = "qcom,msm-smmu-v1-ctx"; - reg = <0xfda4c000 0x1000>; - interrupts = <0 65 0>; - qcom,iommu-ctx-sids = <0>; - label = "vfe0"; - }; - - qcom,iommu-ctx@fda4d000 { - compatible = "qcom,msm-smmu-v1-ctx"; - reg = <0xfda4d000 0x1000>; - interrupts = <0 65 0>; - qcom,iommu-ctx-sids = <1>; - label = "vfe1"; - }; - - qcom,iommu-ctx@fda4e000 { - compatible = "qcom,msm-smmu-v1-ctx"; - reg = <0xfda4e000 0x1000>; - interrupts = <0 65 0>; - qcom,iommu-ctx-sids = <2>; - label = "cpp"; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/msm-pm8019-rpm-regulator.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v1/msm-pm8019-rpm-regulator.dtsi deleted file mode 100644 index c48f67dca..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/msm-pm8019-rpm-regulator.dtsi +++ /dev/null @@ -1,301 +0,0 @@ -/* Copyright (c) 2012, 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. - */ - -&rpm_bus { - rpm-regulator-smpa1 { - qcom,resource-name = "smpa"; - qcom,resource-id = <1>; - qcom,regulator-type = <1>; - qcom,hpm-min-load = <100000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-s1 { - regulator-name = "8019_s1"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-smpa2 { - qcom,resource-name = "smpa"; - qcom,resource-id = <2>; - qcom,regulator-type = <1>; - qcom,hpm-min-load = <100000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-s2 { - regulator-name = "8019_s2"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-smpa3 { - qcom,resource-name = "smpa"; - qcom,resource-id = <3>; - qcom,regulator-type = <1>; - qcom,hpm-min-load = <100000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-s3 { - regulator-name = "8019_s3"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-smpa4 { - qcom,resource-name = "smpa"; - qcom,resource-id = <4>; - qcom,regulator-type = <1>; - qcom,hpm-min-load = <100000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-s4 { - regulator-name = "8019_s4"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa1 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <1>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l1 { - regulator-name = "8019_l1"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa2 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <2>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <5000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l2 { - regulator-name = "8019_l2"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa3 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <3>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l3 { - regulator-name = "8019_l3"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa4 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <4>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <5000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l4 { - regulator-name = "8019_l4"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa5 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <5>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l5 { - regulator-name = "8019_l5"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa6 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <6>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l6 { - regulator-name = "8019_l6"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa7 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <7>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l7 { - regulator-name = "8019_l7"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa8 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <8>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l8 { - regulator-name = "8019_l8"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa9 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <9>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l9 { - regulator-name = "8019_l9"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa10 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <10>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l10 { - regulator-name = "8019_l10"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa11 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <11>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l11 { - regulator-name = "8019_l11"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa12 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <12>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l12 { - regulator-name = "8019_l12"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa13 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <13>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <5000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l13 { - regulator-name = "8019_l13"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa14 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <14>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <5000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l14 { - regulator-name = "8019_l14"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/msm-pm8019.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v1/msm-pm8019.dtsi deleted file mode 100755 index 6b5edf7ea..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/msm-pm8019.dtsi +++ /dev/null @@ -1,415 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&spmi_bus { - #address-cells = <1>; - #size-cells = <0>; - interrupt-controller; - #interrupt-cells = <3>; - - qcom,pm8019@0 { - spmi-slave-container; - reg = <0x0>; - #address-cells = <1>; - #size-cells = <1>; - - qcom,power_on@800 { - compatible = "qcom,qpnp-power-on"; - reg = <0x800 0x100>; - interrupts = <0x0 0x8 0x2>; - interrupt-names = "cblpwr"; - qcom,pon-dbc-delay = <15625>; - qcom,system-reset; - - qcom,pon_1 { - qcom,pon-type = <2>; - qcom,pull-up = <1>; - linux,code = <116>; - }; - }; - - clkdiv@5b00 { - reg = <0x5b00 0x100>; - compatible = "qcom,qpnp-clkdiv"; - qcom,cxo-freq = <19200000>; - }; - - clkdiv@5c00 { - reg = <0x5c00 0x100>; - compatible = "qcom,qpnp-clkdiv"; - qcom,cxo-freq = <19200000>; - }; - - clkdiv@5d00 { - reg = <0x5d00 0x100>; - compatible = "qcom,qpnp-clkdiv"; - qcom,cxo-freq = <19200000>; - }; - - rtc { - spmi-dev-container; - compatible = "qcom,qpnp-rtc"; - #address-cells = <1>; - #size-cells = <1>; - qcom,qpnp-rtc-write = <0>; - qcom,qpnp-rtc-alarm-pwrup = <0>; - - qcom,pm8019_rtc_rw@6000 { - reg = <0x6000 0x100>; - }; - - qcom,pm8019_rtc_alarm@6100 { - reg = <0x6100 0x100>; - interrupts = <0x0 0x61 0x1>; - }; - }; - - pm8019_gpios: gpios { - spmi-dev-container; - compatible = "qcom,qpnp-pin"; - gpio-controller; - #gpio-cells = <2>; - #address-cells = <1>; - #size-cells = <1>; - label = "pm8019-gpio"; - - gpio@c000 { - reg = <0xc000 0x100>; - qcom,pin-num = <1>; - }; - - gpio@c100 { - reg = <0xc100 0x100>; - qcom,pin-num = <2>; - }; - - gpio@c200 { - reg = <0xc200 0x100>; - qcom,pin-num = <3>; - }; - - gpio@c300 { - reg = <0xc300 0x100>; - qcom,pin-num = <4>; - }; - - gpio@c400 { - reg = <0xc400 0x100>; - qcom,pin-num = <5>; - }; - - gpio@c500 { - reg = <0xc500 0x100>; - qcom,pin-num = <6>; - }; - }; - - pm8019_mpps: mpps { - spmi-dev-container; - compatible = "qcom,qpnp-pin"; - gpio-controller; - #gpio-cells = <2>; - #address-cells = <1>; - #size-cells = <1>; - label = "pm8019-mpp"; - - mpp@a000 { - reg = <0xa000 0x100>; - qcom,pin-num = <1>; - }; - - mpp@a100 { - reg = <0xa100 0x100>; - qcom,pin-num = <2>; - }; - - mpp@a200 { - reg = <0xa200 0x100>; - qcom,pin-num = <3>; - }; - - mpp@a300 { - reg = <0xa300 0x100>; - qcom,pin-num = <4>; - }; - - mpp@a400 { - reg = <0xa400 0x100>; - qcom,pin-num = <5>; - }; - - mpp@a500 { - reg = <0xa500 0x100>; - qcom,pin-num = <6>; - }; - }; - - pm8019_vadc: vadc@3100 { - compatible = "qcom,qpnp-vadc"; - reg = <0x3100 0x100>; - #address-cells = <1>; - #size-cells = <0>; - interrupts = <0x0 0x31 0x0>; - interrupt-names = "eoc-int-en-set"; - qcom,adc-bit-resolution = <15>; - qcom,adc-vdd-reference = <1800>; - qcom,vadc-poll-eoc; - - chan@8 { - label = "die_temp"; - reg = <8>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <3>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@9 { - label = "ref_625mv"; - reg = <9>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@a { - label = "ref_1250v"; - reg = <0xa>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - }; - - pm8019_adc_tm: vadc@3400 { - compatible = "qcom,qpnp-adc-tm"; - reg = <0x3400 0x100>; - #address-cells = <1>; - #size-cells = <0>; - interrupts = <0x0 0x34 0x0>, - <0x0 0x34 0x3>, - <0x0 0x34 0x4>; - interrupt-names = "eoc-int-en-set", - "high-thr-en-set", - "low-thr-en-set"; - qcom,adc-bit-resolution = <15>; - qcom,adc-vdd-reference = <1800>; - }; - }; - - qcom,pm8019@1 { - spmi-slave-container; - reg = <0x1>; - #address-cells = <1>; - #size-cells = <1>; - - regulator@1400 { - regulator-name = "8019_s1"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x1400 0x300>; - status = "disabled"; - - qcom,ctl@1400 { - reg = <0x1400 0x100>; - }; - qcom,ps@1500 { - reg = <0x1500 0x100>; - }; - qcom,freq@1600 { - reg = <0x1600 0x100>; - }; - }; - - regulator@1700 { - regulator-name = "8019_s2"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x1700 0x300>; - status = "disabled"; - - qcom,ctl@1700 { - reg = <0x1700 0x100>; - }; - qcom,ps@1800 { - reg = <0x1800 0x100>; - }; - qcom,freq@1900 { - reg = <0x1900 0x100>; - }; - }; - - regulator@1a00 { - regulator-name = "8019_s3"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x1a00 0x300>; - status = "disabled"; - - qcom,ctl@1a00 { - reg = <0x1a00 0x100>; - }; - qcom,ps@1b00 { - reg = <0x1b00 0x100>; - }; - qcom,freq@1c00 { - reg = <0x1c00 0x100>; - }; - }; - - regulator@1d00 { - regulator-name = "8019_s4"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x1d00 0x300>; - status = "disabled"; - - qcom,ctl@1d00 { - reg = <0x1d00 0x100>; - }; - qcom,ps@1e00 { - reg = <0x1e00 0x100>; - }; - qcom,freq@1f00 { - reg = <0x1f00 0x100>; - }; - }; - - regulator@4000 { - regulator-name = "8019_l1"; - reg = <0x4000 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4100 { - regulator-name = "8019_l2"; - reg = <0x4100 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4200 { - regulator-name = "8019_l3"; - reg = <0x4200 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4300 { - regulator-name = "8019_l4"; - reg = <0x4300 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4400 { - regulator-name = "8019_l5"; - reg = <0x4400 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4500 { - regulator-name = "8019_l6"; - reg = <0x4500 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4600 { - regulator-name = "8019_l7"; - reg = <0x4600 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4700 { - regulator-name = "8019_l8"; - reg = <0x4700 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4800 { - regulator-name = "8019_l9"; - reg = <0x4800 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4900 { - regulator-name = "8019_l10"; - reg = <0x4900 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4a00 { - regulator-name = "8019_l11"; - reg = <0x4a00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4b00 { - regulator-name = "8019_l12"; - reg = <0x4b00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4c00 { - regulator-name = "8019_l13"; - reg = <0x4c00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4d00 { - regulator-name = "8019_l14"; - reg = <0x4d00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4e00 { - regulator-name = "8019_ldo_xo"; - reg = <0x4e00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4f00 { - regulator-name = "8019_ldo_rfclk"; - reg = <0x4f00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/msm-pm8110-rpm-regulator.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v1/msm-pm8110-rpm-regulator.dtsi deleted file mode 100644 index 0de72b0de..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/msm-pm8110-rpm-regulator.dtsi +++ /dev/null @@ -1,381 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -&rpm_bus { - rpm-regulator-smpa1 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "smpa"; - qcom,resource-id = <1>; - qcom,regulator-type = <1>; - qcom,hpm-min-load = <100000>; - status = "disabled"; - - regulator-s1 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_s1"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-smpa3 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "smpa"; - qcom,resource-id = <3>; - qcom,regulator-type = <1>; - qcom,hpm-min-load = <100000>; - status = "disabled"; - - regulator-s3 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_s3"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-smpa4 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "smpa"; - qcom,resource-id = <4>; - qcom,regulator-type = <1>; - qcom,hpm-min-load = <100000>; - status = "disabled"; - - regulator-s4 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_s4"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa1 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <1>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l1 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l1"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa2 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <2>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l2 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l2"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa3 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <3>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l3 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l3"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa4 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <4>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l4 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l4"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa5 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <5>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l5 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l5"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa6 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <6>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l6 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l6"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa7 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <7>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l7 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l7"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa8 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <8>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <5000>; - status = "disabled"; - - regulator-l8 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l8"; - qcom,set = <1>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa9 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <9>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l9 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l9"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa10 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <10>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l10 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l10"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa12 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <12>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l12 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l12"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa14 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <14>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l14 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l14"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa15 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <15>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l15 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l15"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa16 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <16>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l16 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l16"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa17 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <17>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l17 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l17"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa18 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <18>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l18 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l18"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa19 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <19>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l19 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l19"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa20 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <20>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <5000>; - status = "disabled"; - - regulator-l20 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l20"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa21 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <21>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l21 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l21"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa22 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <22>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l22 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l22"; - qcom,set = <3>; - status = "disabled"; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/msm-pm8110.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v1/msm-pm8110.dtsi deleted file mode 100644 index 1877f40d7..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/msm-pm8110.dtsi +++ /dev/null @@ -1,608 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&spmi_bus { - #address-cells = <1>; - #size-cells = <0>; - interrupt-controller; - #interrupt-cells = <3>; - - qcom,pm8110@0 { - spmi-slave-container; - reg = <0x0>; - #address-cells = <1>; - #size-cells = <1>; - - qcom,power-on@800 { - compatible = "qcom,qpnp-power-on"; - reg = <0x800 0x100>; - interrupts = <0x0 0x8 0x0>, - <0x0 0x8 0x1>, - <0x0 0x8 0x4>; - interrupt-names = "kpdpwr", "resin", "resin-bark"; - qcom,pon-dbc-delay = <15625>; - qcom,system-reset; - - qcom,pon_1 { - qcom,pon-type = <0>; - qcom,pull-up = <1>; - linux,code = <116>; - }; - - qcom,pon_2 { - qcom,pon-type = <1>; - qcom,pull-up = <1>; - linux,code = <114>; - }; - }; - - pm8110_chg: qcom,charger { - spmi-dev-container; - compatible = "qcom,qpnp-charger"; - #address-cells = <1>; - #size-cells = <1>; - status = "disabled"; - - qcom,vddmax-mv = <4200>; - qcom,vddsafe-mv = <4230>; - qcom,vinmin-mv = <4200>; - qcom,vbatdet-mv = <4100>; - qcom,ibatmax-ma = <1500>; - qcom,ibatterm-ma = <200>; - qcom,ibatsafe-ma = <1500>; - qcom,thermal-mitigation = <1500 700 600 325>; - qcom,vbatdet-delta-mv = <350>; - qcom,tchg-mins = <150>; - - qcom,chgr@1000 { - status = "disabled"; - reg = <0x1000 0x100>; - interrupts = <0x0 0x10 0x0>, - <0x0 0x10 0x1>, - <0x0 0x10 0x2>, - <0x0 0x10 0x3>, - <0x0 0x10 0x4>, - <0x0 0x10 0x5>, - <0x0 0x10 0x6>, - <0x0 0x10 0x7>; - - interrupt-names = "vbat-det-lo", - "vbat-det-hi", - "chgwdog", - "state-change", - "trkl-chg-on", - "fast-chg-on", - "chg-failed", - "chg-done"; - }; - - qcom,buck@1100 { - status = "disabled"; - reg = <0x1100 0x100>; - interrupts = <0x0 0x11 0x0>, - <0x0 0x11 0x1>, - <0x0 0x11 0x2>, - <0x0 0x11 0x3>, - <0x0 0x11 0x4>, - <0x0 0x11 0x5>, - <0x0 0x11 0x6>; - - interrupt-names = "vbat-ov", - "vreg-ov", - "overtemp", - "vchg-loop", - "ichg-loop", - "ibat-loop", - "vdd-loop"; - }; - - qcom,bat-if@1200 { - status = "disabled"; - reg = <0x1200 0x100>; - interrupts = <0x0 0x12 0x0>, - <0x0 0x12 0x1>, - <0x0 0x12 0x2>, - <0x0 0x12 0x3>, - <0x0 0x12 0x4>; - - interrupt-names = "batt-pres", - "bat-temp-ok", - "bat-fet-on", - "vcp-on", - "psi"; - }; - - qcom,usb-chgpth@1300 { - status = "disabled"; - reg = <0x1300 0x100>; - interrupts = <0 0x13 0x0>, - <0 0x13 0x1>, - <0x0 0x13 0x2>; - - interrupt-names = "coarse-det-usb", - "usbin-valid", - "chg-gone"; - }; - - qcom,chg-misc@1600 { - status = "disabled"; - reg = <0x1600 0x100>; - }; - }; - - pm8110_gpios: gpios { - spmi-dev-container; - compatible = "qcom,qpnp-pin"; - gpio-controller; - #gpio-cells = <2>; - #address-cells = <1>; - #size-cells = <1>; - label = "pm8110-gpio"; - - gpio@c000 { - reg = <0xc000 0x100>; - qcom,pin-num = <1>; - }; - - gpio@c100 { - reg = <0xc100 0x100>; - qcom,pin-num = <2>; - }; - - gpio@c200 { - reg = <0xc200 0x100>; - qcom,pin-num = <3>; - }; - - gpio@c300 { - reg = <0xc300 0x100>; - qcom,pin-num = <4>; - }; - }; - - pm8110_mpps: mpps { - spmi-dev-container; - compatible = "qcom,qpnp-pin"; - gpio-controller; - #gpio-cells = <2>; - #address-cells = <1>; - #size-cells = <1>; - label = "pm8110-mpp"; - - mpp@a000 { - reg = <0xa000 0x100>; - qcom,pin-num = <1>; - }; - - mpp@a100 { - reg = <0xa100 0x100>; - qcom,pin-num = <2>; - }; - - mpp@a200 { - reg = <0xa200 0x100>; - qcom,pin-num = <3>; - }; - - mpp@a300 { - reg = <0xa300 0x100>; - qcom,pin-num = <4>; - }; - }; - - pm8110_vadc: vadc@3100 { - compatible = "qcom,qpnp-vadc"; - reg = <0x3100 0x100>; - #address-cells = <1>; - #size-cells = <0>; - interrupts = <0x0 0x31 0x0>; - interrupt-names = "eoc-int-en-set"; - qcom,adc-bit-resolution = <15>; - qcom,adc-vdd-reference = <1800>; - - chan@8 { - label = "die_temp"; - reg = <8>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <3>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@9 { - label = "ref_625mv"; - reg = <9>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@a { - label = "ref_1250v"; - reg = <0xa>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - }; - - iadc@3600 { - compatible = "qcom,qpnp-iadc"; - reg = <0x3600 0x100>; - #address-cells = <1>; - #size-cells = <0>; - interrupts = <0x0 0x36 0x0>; - interrupt-names = "eoc-int-en-set"; - qcom,adc-bit-resolution = <16>; - qcom,adc-vdd-reference = <1800>; - - chan@0 { - label = "internal_rsense"; - reg = <0>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <1>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - }; - - pm8110_adc_tm: vadc@3400 { - compatible = "qcom,qpnp-adc-tm"; - reg = <0x3400 0x100>; - #address-cells = <1>; - #size-cells = <0>; - interrupts = <0x0 0x34 0x0>, - <0x0 0x34 0x3>, - <0x0 0x34 0x4>; - interrupt-names = "eoc-int-en-set", - "high-thr-en-set", - "low-thr-en-set"; - qcom,adc-bit-resolution = <15>; - qcom,adc-vdd-reference = <1800>; - }; - - qcom,temp-alarm@2400 { - compatible = "qcom,qpnp-temp-alarm"; - reg = <0x2400 0x100>; - interrupts = <0x0 0x24 0x0>; - label = "pm8110_tz"; - qcom,channel-num = <8>; - qcom,threshold-set = <0>; - }; - - pm8110_bms: qcom,bms { - spmi-dev-container; - compatible = "qcom,qpnp-bms"; - #address-cells = <1>; - #size-cells = <1>; - status = "disabled"; - - qcom,r-sense-uohm = <10000>; - qcom,v-cutoff-uv = <3400000>; - qcom,max-voltage-uv = <4200000>; - qcom,r-conn-mohm = <0>; - qcom,shutdown-soc-valid-limit = <20>; - qcom,adjust-soc-low-threshold = <15>; - qcom,ocv-voltage-high-threshold-uv = <3750000>; - qcom,ocv-voltage-low-threshold-uv = <3650000>; - qcom,low-soc-calculate-soc-threshold = <15>; - qcom,low-soc-calculate-soc-ms = <5000>; - qcom,calculate-soc-ms = <20000>; - qcom,chg-term-ua = <100000>; - qcom,batt-type = <0>; - qcom,low-voltage-threshold = <3420000>; - qcom,tm-temp-margin = <5000>; - qcom,low-ocv-correction-limit-uv = <100>; - qcom,high-ocv-correction-limit-uv = <50>; - qcom,hold-soc-est = <3>; - - qcom,bms-iadc@3800 { - reg = <0x3800 0x100>; - }; - - qcom,bms-bms@4000 { - reg = <0x4000 0x100>; - interrupts = <0x0 0x40 0x0>, - <0x0 0x40 0x1>, - <0x0 0x40 0x2>, - <0x0 0x40 0x3>, - <0x0 0x40 0x4>, - <0x0 0x40 0x5>, - <0x0 0x40 0x6>, - <0x0 0x40 0x7>; - - interrupt-names = "vsense_for_r", - "vsense_avg", - "sw_cc_thr", - "ocv_thr", - "charge_begin", - "good_ocv", - "ocv_for_r", - "cc_thr"; - }; - }; - - qcom,pm8110_rtc { - spmi-dev-container; - compatible = "qcom,qpnp-rtc"; - #address-cells = <1>; - #size-cells = <1>; - qcom,qpnp-rtc-write = <0>; - qcom,qpnp-rtc-alarm-pwrup = <0>; - - qcom,pm8110_rtc_rw@6000 { - reg = <0x6000 0x100>; - }; - - qcom,pm8110_rtc_alarm@6100 { - reg = <0x6100 0x100>; - interrupts = <0x0 0x61 0x1>; - }; - }; - - qcom,leds@a100 { - compatible = "qcom,leds-qpnp"; - reg = <0xa100 0x100>; - label = "mpp"; - }; - - qcom,leds@a200 { - compatible = "qcom,leds-qpnp"; - reg = <0xa200 0x100>; - label = "mpp"; - }; - }; - - qcom,pm8110@1 { - spmi-slave-container; - reg = <0x1>; - #address-cells = <1>; - #size-cells = <1>; - - regulator@1400 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_s1"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - reg = <0x1400 0x300>; - status = "disabled"; - - qcom,ctl@1400 { - reg = <0x1400 0x100>; - }; - qcom,ps@1500 { - reg = <0x1500 0x100>; - }; - qcom,freq@1600 { - reg = <0x1600 0x100>; - }; - }; - - regulator@1700 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_s2"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - reg = <0x1700 0x300>; - status = "disabled"; - - qcom,ctl@1700 { - reg = <0x1700 0x100>; - }; - qcom,ps@1800 { - reg = <0x1800 0x100>; - }; - qcom,freq@1900 { - reg = <0x1900 0x100>; - }; - }; - - regulator@1a00 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_s3"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - reg = <0x1a00 0x300>; - status = "disabled"; - - qcom,ctl@1a00 { - reg = <0x1a00 0x100>; - }; - qcom,ps@1b00 { - reg = <0x1b00 0x100>; - }; - qcom,freq@1c00 { - reg = <0x1c00 0x100>; - }; - }; - - regulator@1d00 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_s4"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - reg = <0x1d00 0x300>; - status = "disabled"; - - qcom,ctl@1d00 { - reg = <0x1d00 0x100>; - }; - qcom,ps@1e00 { - reg = <0x1e00 0x100>; - }; - qcom,freq@1f00 { - reg = <0x1f00 0x100>; - }; - }; - - regulator@4000 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_l1"; - reg = <0x4000 0x100>; - status = "disabled"; - }; - - regulator@4100 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_l2"; - reg = <0x4100 0x100>; - status = "disabled"; - }; - - regulator@4200 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_l3"; - reg = <0x4200 0x100>; - status = "disabled"; - }; - - regulator@4300 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_l4"; - reg = <0x4300 0x100>; - status = "disabled"; - }; - - regulator@4400 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_l5"; - reg = <0x4400 0x100>; - status = "disabled"; - }; - - regulator@4500 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_l6"; - reg = <0x4500 0x100>; - status = "disabled"; - }; - - regulator@4600 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_l7"; - reg = <0x4600 0x100>; - status = "disabled"; - }; - - regulator@4700 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_l8"; - reg = <0x4700 0x100>; - status = "disabled"; - }; - - regulator@4800 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_l9"; - reg = <0x4800 0x100>; - status = "disabled"; - }; - - regulator@4900 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_l10"; - reg = <0x4900 0x100>; - status = "disabled"; - }; - - regulator@4b00 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_l12"; - reg = <0x4b00 0x100>; - status = "disabled"; - }; - - regulator@4d00 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_l14"; - reg = <0x4d00 0x100>; - status = "disabled"; - }; - - regulator@4e00 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_l15"; - reg = <0x4e00 0x100>; - status = "disabled"; - }; - - regulator@4f00 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_l16"; - reg = <0x4f00 0x100>; - status = "disabled"; - }; - - regulator@5000 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_l17"; - reg = <0x5000 0x100>; - status = "disabled"; - }; - - regulator@5100 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_l18"; - reg = <0x5100 0x100>; - status = "disabled"; - }; - - regulator@5200 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_l19"; - reg = <0x5200 0x100>; - status = "disabled"; - }; - - regulator@5300 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_l20"; - reg = <0x5300 0x100>; - status = "disabled"; - }; - - regulator@5400 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_l21"; - reg = <0x5400 0x100>; - status = "disabled"; - }; - - regulator@5500 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_l22"; - reg = <0x5500 0x100>; - status = "disabled"; - }; - - qcom,vibrator@c000 { - compatible = "qcom,qpnp-vibrator"; - reg = <0xc000 0x100>; - label = "vibrator"; - status = "disabled"; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/msm-pm8226-rpm-regulator.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v1/msm-pm8226-rpm-regulator.dtsi deleted file mode 100644 index ded949489..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/msm-pm8226-rpm-regulator.dtsi +++ /dev/null @@ -1,492 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -&rpm_bus { - rpm-regulator-smpa1 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "smpa"; - qcom,resource-id = <1>; - qcom,regulator-type = <1>; - qcom,hpm-min-load = <100000>; - status = "disabled"; - - regulator-s1 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_s1"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-smpa3 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "smpa"; - qcom,resource-id = <3>; - qcom,regulator-type = <1>; - qcom,hpm-min-load = <100000>; - status = "disabled"; - - regulator-s3 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_s3"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-smpa4 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "smpa"; - qcom,resource-id = <4>; - qcom,regulator-type = <1>; - qcom,hpm-min-load = <100000>; - status = "disabled"; - - regulator-s4 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_s4"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-smpa5 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "smpa"; - qcom,resource-id = <5>; - qcom,regulator-type = <1>; - qcom,hpm-min-load = <100000>; - status = "disabled"; - - regulator-s5 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_s5"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa1 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <1>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l1 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l1"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa2 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <2>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l2 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l2"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa3 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <3>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l3 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l3"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa4 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <4>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l4 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l4"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa5 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <5>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l5 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l5"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa6 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <6>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l6 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l6"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa7 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <7>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l7 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l7"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa8 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <8>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <5000>; - status = "disabled"; - - regulator-l8 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l8"; - qcom,set = <1>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa9 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <9>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l9 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l9"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa10 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <10>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <5000>; - status = "disabled"; - - regulator-l10 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l10"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa12 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <12>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l12 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l12"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa14 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <14>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <5000>; - status = "disabled"; - - regulator-l14 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l14"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa15 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <15>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l15 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l15"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa16 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <16>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l16 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l16"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa17 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <17>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l17 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l17"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa18 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <18>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l18 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l18"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa19 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <19>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l19 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l19"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa20 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <20>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <5000>; - status = "disabled"; - - regulator-l20 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l20"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa21 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <21>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <5000>; - status = "disabled"; - - regulator-l21 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l21"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa22 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <22>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l22 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l22"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa23 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <23>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l23 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l23"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa24 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <24>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l24 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l24"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa26 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <26>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l26 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l26"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa27 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <27>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l27 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l27"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa28 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <28>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l28 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l28"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-vsa1 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "vsa"; - qcom,resource-id = <1>; - qcom,regulator-type = <2>; - status = "disabled"; - - regulator-lvs1 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_lvs1"; - qcom,set = <3>; - status = "disabled"; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/msm-pm8226.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v1/msm-pm8226.dtsi deleted file mode 100644 index d429f72b7..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/msm-pm8226.dtsi +++ /dev/null @@ -1,833 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&spmi_bus { - #address-cells = <1>; - #size-cells = <0>; - interrupt-controller; - #interrupt-cells = <3>; - - qcom,pm8226@0 { - spmi-slave-container; - reg = <0x0>; - #address-cells = <1>; - #size-cells = <1>; - - qcom,power-on@800 { - compatible = "qcom,qpnp-power-on"; - reg = <0x800 0x100>; - interrupts = <0x0 0x8 0x0>, - <0x0 0x8 0x1>, - <0x0 0x8 0x4>; - interrupt-names = "kpdpwr", "resin", "resin-bark"; - qcom,pon-dbc-delay = <15625>; - qcom,system-reset; - - qcom,pon_1 { - qcom,pon-type = <0>; - qcom,pull-up = <1>; - linux,code = <116>; - }; - - qcom,pon_2 { - qcom,pon-type = <1>; - qcom,support-reset = <1>; - qcom,pull-up = <1>; - qcom,s1-timer = <0>; - qcom,s2-timer = <2000>; - qcom,s2-type = <1>; - linux,code = <114>; - }; - }; - - pm8226_chg: qcom,charger { - spmi-dev-container; - compatible = "qcom,qpnp-charger"; - #address-cells = <1>; - #size-cells = <1>; - status = "disabled"; - - qcom,vddmax-mv = <4200>; - qcom,vddsafe-mv = <4230>; - qcom,vinmin-mv = <4200>; - qcom,vbatdet-delta-mv = <150>; - qcom,ibatmax-ma = <1500>; - qcom,ibatterm-ma = <100>; - qcom,ibatsafe-ma = <1500>; - qcom,thermal-mitigation = <1500 700 600 325>; - qcom,tchg-mins = <150>; - - qcom,chgr@1000 { - status = "disabled"; - reg = <0x1000 0x100>; - interrupts = <0x0 0x10 0x0>, - <0x0 0x10 0x1>, - <0x0 0x10 0x2>, - <0x0 0x10 0x3>, - <0x0 0x10 0x4>, - <0x0 0x10 0x5>, - <0x0 0x10 0x6>, - <0x0 0x10 0x7>; - - interrupt-names = "vbat-det-lo", - "vbat-det-hi", - "chgwdog", - "state-change", - "trkl-chg-on", - "fast-chg-on", - "chg-failed", - "chg-done"; - }; - - qcom,buck@1100 { - status = "disabled"; - reg = <0x1100 0x100>; - interrupts = <0x0 0x11 0x0>, - <0x0 0x11 0x1>, - <0x0 0x11 0x2>, - <0x0 0x11 0x3>, - <0x0 0x11 0x4>, - <0x0 0x11 0x5>, - <0x0 0x11 0x6>; - - interrupt-names = "vbat-ov", - "vreg-ov", - "overtemp", - "vchg-loop", - "ichg-loop", - "ibat-loop", - "vdd-loop"; - }; - - qcom,bat-if@1200 { - status = "disabled"; - reg = <0x1200 0x100>; - interrupts = <0x0 0x12 0x0>, - <0x0 0x12 0x1>, - <0x0 0x12 0x2>, - <0x0 0x12 0x3>, - <0x0 0x12 0x4>; - - interrupt-names = "batt-pres", - "bat-temp-ok", - "bat-fet-on", - "vcp-on", - "psi"; - - }; - - pm8226_chg_otg: qcom,usb-chgpth@1300 { - status = "disabled"; - reg = <0x1300 0x100>; - interrupts = <0 0x13 0x0>, - <0 0x13 0x1>, - <0x0 0x13 0x2>; - - interrupt-names = "coarse-det-usb", - "usbin-valid", - "chg-gone"; - }; - - pm8226_chg_boost: qcom,boost@1500 { - status = "disabled"; - reg = <0x1500 0x100>; - interrupts = <0x0 0x15 0x0>, - <0x0 0x15 0x1>; - - interrupt-names = "boost-pwr-ok", - "limit-error"; - }; - - qcom,chg-misc@1600 { - status = "disabled"; - reg = <0x1600 0x100>; - }; - }; - - pm8226_bms: qcom,bms { - spmi-dev-container; - compatible = "qcom,qpnp-bms"; - #address-cells = <1>; - #size-cells = <1>; - status = "disabled"; - - qcom,r-sense-uohm = <10000>; - qcom,v-cutoff-uv = <3400000>; - qcom,max-voltage-uv = <4200000>; - qcom,r-conn-mohm = <0>; - qcom,shutdown-soc-valid-limit = <20>; - qcom,adjust-soc-low-threshold = <15>; - qcom,ocv-voltage-high-threshold-uv = <3750000>; - qcom,ocv-voltage-low-threshold-uv = <3650000>; - qcom,low-soc-calculate-soc-threshold = <15>; - qcom,low-soc-calculate-soc-ms = <5000>; - qcom,calculate-soc-ms = <20000>; - qcom,chg-term-ua = <100000>; - qcom,batt-type = <0>; - qcom,tm-temp-margin = <5000>; - qcom,low-ocv-correction-limit-uv = <100>; - qcom,high-ocv-correction-limit-uv = <50>; - qcom,hold-soc-est = <3>; - qcom,low-voltage-threshold = <3420000>; - - qcom,bms-iadc@3800 { - reg = <0x3800 0x100>; - }; - - qcom,bms-bms@4000 { - reg = <0x4000 0x100>; - interrupts = <0x0 0x40 0x0>, - <0x0 0x40 0x1>, - <0x0 0x40 0x2>, - <0x0 0x40 0x3>, - <0x0 0x40 0x4>, - <0x0 0x40 0x5>, - <0x0 0x40 0x6>, - <0x0 0x40 0x7>; - - interrupt-names = "vsense_for_r", - "vsense_avg", - "sw_cc_thr", - "ocv_thr", - "charge_begin", - "good_ocv", - "ocv_for_r", - "cc_thr"; - }; - }; - - qcom,leds@a100 { - compatible = "qcom,leds-qpnp"; - reg = <0xa100 0x100>; - label = "mpp"; - }; - - qcom,leds@a300 { - compatible = "qcom,leds-qpnp"; - reg = <0xa300 0x100>; - label = "mpp"; - }; - - qcom,leds@a500 { - compatible = "qcom,leds-qpnp"; - reg = <0xa500 0x100>; - label = "mpp"; - }; - - pm8226_gpios: gpios { - spmi-dev-container; - compatible = "qcom,qpnp-pin"; - gpio-controller; - #gpio-cells = <2>; - #address-cells = <1>; - #size-cells = <1>; - label = "pm8226-gpio"; - - gpio@c000 { - reg = <0xc000 0x100>; - qcom,pin-num = <1>; - }; - - gpio@c100 { - reg = <0xc100 0x100>; - qcom,pin-num = <2>; - }; - - gpio@c200 { - reg = <0xc200 0x100>; - qcom,pin-num = <3>; - }; - - gpio@c300 { - reg = <0xc300 0x100>; - qcom,pin-num = <4>; - }; - - gpio@c400 { - reg = <0xc400 0x100>; - qcom,pin-num = <5>; - }; - - gpio@c500 { - reg = <0xc500 0x100>; - qcom,pin-num = <6>; - }; - - gpio@c600 { - reg = <0xc600 0x100>; - qcom,pin-num = <7>; - }; - - gpio@c700 { - reg = <0xc700 0x100>; - qcom,pin-num = <8>; - }; - }; - - pm8226_mpps: mpps { - spmi-dev-container; - compatible = "qcom,qpnp-pin"; - gpio-controller; - #gpio-cells = <2>; - #address-cells = <1>; - #size-cells = <1>; - label = "pm8226-mpp"; - - mpp@a000 { - reg = <0xa000 0x100>; - qcom,pin-num = <1>; - }; - - mpp@a100 { - reg = <0xa100 0x100>; - qcom,pin-num = <2>; - }; - - mpp@a200 { - reg = <0xa200 0x100>; - qcom,pin-num = <3>; - }; - - mpp@a300 { - reg = <0xa300 0x100>; - qcom,pin-num = <4>; - }; - - mpp@a400 { - reg = <0xa400 0x100>; - qcom,pin-num = <5>; - }; - - mpp@a500 { - reg = <0xa500 0x100>; - qcom,pin-num = <6>; - }; - - mpp@a600 { - reg = <0xa600 0x100>; - qcom,pin-num = <7>; - }; - - mpp@a700 { - reg = <0xa700 0x100>; - qcom,pin-num = <8>; - }; - }; - - pm8226_vadc: vadc@3100 { - compatible = "qcom,qpnp-vadc"; - reg = <0x3100 0x100>; - #address-cells = <1>; - #size-cells = <0>; - interrupts = <0x0 0x31 0x0>; - interrupt-names = "eoc-int-en-set"; - qcom,adc-bit-resolution = <15>; - qcom,adc-vdd-reference = <1800>; - - chan@8 { - label = "die_temp"; - reg = <8>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <3>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@9 { - label = "ref_625mv"; - reg = <9>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@a { - label = "ref_1250v"; - reg = <0xa>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@c { - label = "ref_buf_625mv"; - reg = <0xc>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - }; - - iadc@3600 { - compatible = "qcom,qpnp-iadc"; - reg = <0x3600 0x100>; - #address-cells = <1>; - #size-cells = <0>; - interrupts = <0x0 0x36 0x0>; - interrupt-names = "eoc-int-en-set"; - qcom,adc-bit-resolution = <16>; - qcom,adc-vdd-reference = <1800>; - - chan@0 { - label = "internal_rsense"; - reg = <0>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <1>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - }; - - pm8226_adc_tm: vadc@3400 { - compatible = "qcom,qpnp-adc-tm"; - reg = <0x3400 0x100>; - #address-cells = <1>; - #size-cells = <0>; - interrupts = <0x0 0x34 0x0>, - <0x0 0x34 0x3>, - <0x0 0x34 0x4>; - interrupt-names = "eoc-int-en-set", - "high-thr-en-set", - "low-thr-en-set"; - qcom,adc-bit-resolution = <15>; - qcom,adc-vdd-reference = <1800>; - }; - - qcom,temp-alarm@2400 { - compatible = "qcom,qpnp-temp-alarm"; - reg = <0x2400 0x100>; - interrupts = <0x0 0x24 0x0>; - label = "pm8226_tz"; - qcom,channel-num = <8>; - qcom,threshold-set = <0>; - }; - - qcom,pm8226_rtc { - spmi-dev-container; - compatible = "qcom,qpnp-rtc"; - #address-cells = <1>; - #size-cells = <1>; - qcom,qpnp-rtc-write = <0>; - qcom,qpnp-rtc-alarm-pwrup = <0>; - - qcom,pm8226_rtc_rw@6000 { - reg = <0x6000 0x100>; - }; - qcom,pm8226_rtc_alarm@6100 { - reg = <0x6100 0x100>; - interrupts = <0x0 0x61 0x1>; - }; - }; - }; - - qcom,pm8226@1 { - spmi-slave-container; - reg = <0x1>; - #address-cells = <1>; - #size-cells = <1>; - - regulator@1400 { - regulator-name = "8226_s1"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x1400 0x300>; - status = "disabled"; - - qcom,ctl@1400 { - reg = <0x1400 0x100>; - }; - qcom,ps@1500 { - reg = <0x1500 0x100>; - }; - qcom,freq@1600 { - reg = <0x1600 0x100>; - }; - }; - - regulator@1700 { - regulator-name = "8226_s2"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x1700 0x300>; - status = "disabled"; - - qcom,ctl@1700 { - reg = <0x1700 0x100>; - }; - qcom,ps@1800 { - reg = <0x1800 0x100>; - }; - qcom,freq@1900 { - reg = <0x1900 0x100>; - }; - }; - - regulator@1a00 { - regulator-name = "8226_s3"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x1a00 0x300>; - status = "disabled"; - - qcom,ctl@1a00 { - reg = <0x1a00 0x100>; - }; - qcom,ps@1b00 { - reg = <0x1b00 0x100>; - }; - qcom,freq@1c00 { - reg = <0x1c00 0x100>; - }; - }; - - regulator@1d00 { - regulator-name = "8226_s4"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x1d00 0x300>; - status = "disabled"; - - qcom,ctl@1d00 { - reg = <0x1d00 0x100>; - }; - qcom,ps@1e00 { - reg = <0x1e00 0x100>; - }; - qcom,freq@1f00 { - reg = <0x1f00 0x100>; - }; - }; - - regulator@2000 { - regulator-name = "8226_s5"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x2000 0x300>; - status = "disabled"; - - qcom,ctl@2000 { - reg = <0x2000 0x100>; - }; - qcom,ps@2100 { - reg = <0x2100 0x100>; - }; - qcom,freq@2200 { - reg = <0x2200 0x100>; - }; - }; - - regulator@4000 { - regulator-name = "8226_l1"; - reg = <0x4000 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4100 { - regulator-name = "8226_l2"; - reg = <0x4100 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4200 { - regulator-name = "8226_l3"; - reg = <0x4200 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4300 { - regulator-name = "8226_l4"; - reg = <0x4300 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4400 { - regulator-name = "8226_l5"; - reg = <0x4400 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4500 { - regulator-name = "8226_l6"; - reg = <0x4500 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4600 { - regulator-name = "8226_l7"; - reg = <0x4600 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4700 { - regulator-name = "8226_l8"; - reg = <0x4700 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4800 { - regulator-name = "8226_l9"; - reg = <0x4800 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4900 { - regulator-name = "8226_l10"; - reg = <0x4900 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4b00 { - regulator-name = "8226_l12"; - reg = <0x4b00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4d00 { - regulator-name = "8226_l14"; - reg = <0x4d00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4e00 { - regulator-name = "8226_l15"; - reg = <0x4e00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4f00 { - regulator-name = "8226_l16"; - reg = <0x4f00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5000 { - regulator-name = "8226_l17"; - reg = <0x5000 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5100 { - regulator-name = "8226_l18"; - reg = <0x5100 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5200 { - regulator-name = "8226_l19"; - reg = <0x5200 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5300 { - regulator-name = "8226_l20"; - reg = <0x5300 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5400 { - regulator-name = "8226_l21"; - reg = <0x5400 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5500 { - regulator-name = "8226_l22"; - reg = <0x5500 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5600 { - regulator-name = "8226_l23"; - reg = <0x5600 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5700 { - regulator-name = "8226_l24"; - reg = <0x5700 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5900 { - regulator-name = "8226_l26"; - reg = <0x5900 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5a00 { - regulator-name = "8226_l27"; - reg = <0x5a00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5b00 { - regulator-name = "8226_l28"; - reg = <0x5b00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - qcom,leds@d800 { - compatible = "qcom,leds-qpnp"; - reg = <0xd800 0x100>; - label = "wled"; - }; - - pwm@b100 { - compatible = "qcom,qpnp-pwm"; - reg = <0xb100 0x100>, - <0xb042 0x7e>; - reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base"; - qcom,channel-id = <0>; - }; - - pwm@b200 { - compatible = "qcom,qpnp-pwm"; - reg = <0xb200 0x100>, - <0xb042 0x7e>; - reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base"; - qcom,channel-id = <1>; - }; - - pwm@b300 { - compatible = "qcom,qpnp-pwm"; - reg = <0xb300 0x100>, - <0xb042 0x7e>; - reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base"; - qcom,channel-id = <2>; - }; - - pwm@b400 { - compatible = "qcom,qpnp-pwm"; - reg = <0xb400 0x100>, - <0xb042 0x7e>; - reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base"; - qcom,channel-id = <3>; - }; - - pwm@b500 { - compatible = "qcom,qpnp-pwm"; - reg = <0xb500 0x100>, - <0xb042 0x7e>; - reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base"; - qcom,channel-id = <4>; - }; - - pwm@b600 { - compatible = "qcom,qpnp-pwm"; - reg = <0xb600 0x100>, - <0xb042 0x7e>; - reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base"; - qcom,channel-id = <5>; - }; - - regulator@8000 { - regulator-name = "8226_lvs1"; - reg = <0x8000 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - qcom,vibrator@c000 { - compatible = "qcom,qpnp-vibrator"; - reg = <0xc000 0x100>; - label = "vibrator"; - status = "disabled"; - }; - - qcom,leds@d300 { - compatible = "qcom,leds-qpnp"; - status = "okay"; - reg = <0xd300 0x100>; - label = "flash"; - flash_boost-supply = <&pm8226_chg_boost>; - pm8226_flash0: qcom,flash_0 { - qcom,max-current = <1000>; - qcom,default-state = "off"; - qcom,headroom = <0>; - qcom,duration = <1280>; - qcom,clamp-curr = <200>; - qcom,startup-dly = <1>; - qcom,safety-timer; - label = "flash"; - linux,default-trigger = - "flash0_trigger"; - qcom,id = <1>; - linux,name = "led:flash_0"; - qcom,current = <625>; - }; - - pm8226_flash1: qcom,flash_1 { - qcom,max-current = <1000>; - qcom,default-state = "off"; - qcom,headroom = <0>; - qcom,duration = <1280>; - qcom,clamp-curr = <200>; - qcom,startup-dly = <1>; - qcom,safety-timer; - linux,default-trigger = - "flash1_trigger"; - label = "flash"; - qcom,id = <2>; - linux,name = "led:flash_1"; - qcom,current = <625>; - }; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/msm-pm8841.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v1/msm-pm8841.dtsi deleted file mode 100644 index a2d80ec05..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/msm-pm8841.dtsi +++ /dev/null @@ -1,242 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&spmi_bus { - #address-cells = <1>; - #size-cells = <0>; - interrupt-controller; - #interrupt-cells = <3>; - - qcom,pm8841@4 { - spmi-slave-container; - reg = <0x4>; - #address-cells = <1>; - #size-cells = <1>; - - qcom,qpnp-revid@100 { - compatible = "qcom,qpnp-revid"; - reg = <0x100 0x100>; - }; - - qcom,temp-alarm@2400 { - compatible = "qcom,qpnp-temp-alarm"; - reg = <0x2400 0x100>; - interrupts = <0x4 0x24 0x0>; - label = "pm8841_tz"; - qcom,threshold-set = <0>; - qcom,default-temp = <37000>; - }; - - pm8841_mpps: mpps { - spmi-dev-container; - compatible = "qcom,qpnp-pin"; - gpio-controller; - #gpio-cells = <2>; - #address-cells = <1>; - #size-cells = <1>; - label = "pm8841-mpp"; - - mpp@a000 { - reg = <0xa000 0x100>; - qcom,pin-num = <1>; - }; - - mpp@a100 { - reg = <0xa100 0x100>; - qcom,pin-num = <2>; - }; - - mpp@a200 { - reg = <0xa200 0x100>; - qcom,pin-num = <3>; - }; - - mpp@a300 { - reg = <0xa300 0x100>; - qcom,pin-num = <4>; - }; - }; - }; - - qcom,pm8841@5 { - spmi-slave-container; - reg = <0x5>; - #address-cells = <1>; - #size-cells = <1>; - - regulator@1400 { - regulator-name = "8841_s1"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x1400 0x300>; - status = "disabled"; - - qcom,ctl@1400 { - reg = <0x1400 0x100>; - }; - qcom,ps@1500 { - reg = <0x1500 0x100>; - }; - qcom,freq@1600 { - reg = <0x1600 0x100>; - }; - }; - - regulator@1700 { - regulator-name = "8841_s2"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x1700 0x300>; - status = "disabled"; - qcom,force-type = <0x1c 0x08>; - - qcom,ctl@1700 { - reg = <0x1700 0x100>; - }; - qcom,ps@1800 { - reg = <0x1800 0x100>; - }; - qcom,freq@1900 { - reg = <0x1900 0x100>; - }; - }; - - regulator@1a00 { - regulator-name = "8841_s3"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x1a00 0x300>; - status = "disabled"; - - qcom,ctl@1a00 { - reg = <0x1a00 0x100>; - }; - qcom,ps@1b00 { - reg = <0x1b00 0x100>; - }; - qcom,freq@1c00 { - reg = <0x1c00 0x100>; - }; - }; - - regulator@1d00 { - regulator-name = "8841_s4"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x1d00 0x300>; - status = "disabled"; - qcom,force-type = <0x1c 0x08>; - - qcom,ctl@1d00 { - reg = <0x1d00 0x100>; - }; - qcom,ps@1e00 { - reg = <0x1e00 0x100>; - }; - qcom,freq@1f00 { - reg = <0x1f00 0x100>; - }; - }; - - regulator@2000 { - regulator-name = "8841_s5"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x2000 0x300>; - status = "disabled"; - qcom,force-type = <0x1c 0x08>; - - qcom,ctl@0 { - reg = <0x2000 0x100>; - }; - qcom,ps@100 { - reg = <0x2100 0x100>; - }; - qcom,freq@200 { - reg = <0x2200 0x100>; - }; - }; - - regulator@2300 { - regulator-name = "8841_s6"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x2300 0x300>; - status = "disabled"; - qcom,force-type = <0x1c 0x08>; - - qcom,ctl@2300 { - reg = <0x2300 0x100>; - }; - qcom,ps@2400 { - reg = <0x2400 0x100>; - }; - qcom,freq@2500 { - reg = <0x2500 0x100>; - }; - }; - - regulator@2600 { - regulator-name = "8841_s7"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x2600 0x300>; - status = "disabled"; - qcom,force-type = <0x1c 0x08>; - - qcom,ctl@2600 { - reg = <0x2600 0x100>; - }; - qcom,ps@2700 { - reg = <0x2700 0x100>; - }; - qcom,freq@2800 { - reg = <0x2800 0x100>; - }; - }; - - regulator@2900 { - regulator-name = "8841_s8"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x2900 0x300>; - status = "disabled"; - qcom,force-type = <0x1c 0x08>; - - qcom,ctl@2900 { - reg = <0x2900 0x100>; - }; - qcom,ps@2a000 { - reg = <0x2a00 0x100>; - }; - qcom,freq@2b00 { - reg = <0x2b00 0x100>; - }; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/msm-pm8941.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v1/msm-pm8941.dtsi deleted file mode 100644 index b4e557e16..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/msm-pm8941.dtsi +++ /dev/null @@ -1,1384 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&spmi_bus { - #address-cells = <1>; - #size-cells = <0>; - interrupt-controller; - #interrupt-cells = <3>; - - qcom,pm8941@0 { - spmi-slave-container; - reg = <0x0>; - #address-cells = <1>; - #size-cells = <1>; - - pm8941_misc: qcom,misc@900 { - compatible = "qcom,qpnp-misc"; - reg = <0x900 0x100>; - }; - - qcom,revid@100 { - compatible = "qcom,qpnp-revid"; - reg = <0x100 0x100>; - }; - - qcom,temp-alarm@2400 { - compatible = "qcom,qpnp-temp-alarm"; - reg = <0x2400 0x100>; - interrupts = <0x0 0x24 0x0>; - label = "pm8941_tz"; - qcom,channel-num = <8>; - qcom,threshold-set = <0>; - }; - - qcom,power-on@800 { - compatible = "qcom,qpnp-power-on"; - reg = <0x800 0x100>; - interrupts = <0x0 0x8 0x0>, - <0x0 0x8 0x1>, - <0x0 0x8 0x4>; - interrupt-names = "kpdpwr", "resin", "resin-bark"; - qcom,pon-dbc-delay = <15625>; - qcom,system-reset; - - qcom,pon_1 { - qcom,pon-type = <0>; - qcom,pull-up = <1>; - linux,code = <116>; - }; - - qcom,pon_2 { - qcom,pon-type = <1>; - qcom,support-reset = <1>; - qcom,pull-up = <1>; - qcom,s1-timer = <0>; - qcom,s2-timer = <2000>; - qcom,s2-type = <1>; - linux,code = <114>; - }; - }; - - bif_ctrl: qcom,bsi@1b00 { - compatible = "qcom,qpnp-bsi"; - reg = <0x1b00 0x100>, - <0x1208 0x1>; - reg-names = "bsi-base", "batt-id-status"; - label = "pm8941-bsi"; - interrupts = <0x0 0x1b 0x0>, - <0x0 0x1b 0x1>, - <0x0 0x1b 0x2>, - <0x0 0x12 0x0>; - interrupt-names = "err", - "rx", - "tx", - "batt-present"; - qcom,channel-num = <0x31>; - qcom,pullup-ohms = <100000>; - qcom,vref-microvolts = <1800000>; - qcom,min-clock-period = <1000>; - qcom,max-clock-period = <160000>; - qcom,sample-rate = <4>; - }; - - pm8941_coincell: qcom,coincell@2800 { - compatible = "qcom,qpnp-coincell"; - reg = <0x2800 0x100>; - }; - - pm8941_bms: qcom,bms { - spmi-dev-container; - compatible = "qcom,qpnp-bms"; - #address-cells = <1>; - #size-cells = <1>; - status = "disabled"; - - qcom,r-sense-uohm = <10000>; - qcom,v-cutoff-uv = <3400000>; - qcom,max-voltage-uv = <4200000>; - qcom,r-conn-mohm = <0>; - qcom,shutdown-soc-valid-limit = <20>; - qcom,adjust-soc-low-threshold = <15>; - qcom,ocv-voltage-high-threshold-uv = <3750000>; - qcom,ocv-voltage-low-threshold-uv = <3650000>; - qcom,low-soc-calculate-soc-threshold = <15>; - qcom,low-soc-calculate-soc-ms = <5000>; - qcom,calculate-soc-ms = <20000>; - qcom,chg-term-ua = <100000>; - qcom,batt-type = <0>; - qcom,low-voltage-threshold = <3420000>; - qcom,tm-temp-margin = <5000>; - qcom,low-ocv-correction-limit-uv = <100>; - qcom,high-ocv-correction-limit-uv = <50>; - qcom,hold-soc-est = <3>; - - qcom,bms-iadc@3800 { - reg = <0x3800 0x100>; - }; - - qcom,bms-bms@4000 { - reg = <0x4000 0x100>; - interrupts = <0x0 0x40 0x0>, - <0x0 0x40 0x1>, - <0x0 0x40 0x2>, - <0x0 0x40 0x3>, - <0x0 0x40 0x4>, - <0x0 0x40 0x5>, - <0x0 0x40 0x6>, - <0x0 0x40 0x7>; - - interrupt-names = "vsense_for_r", - "vsense_avg", - "sw_cc_thr", - "ocv_thr", - "charge_begin", - "good_ocv", - "ocv_for_r", - "cc_thr"; - }; - }; - - clkdiv@5b00 { - reg = <0x5b00 0x100>; - compatible = "qcom,qpnp-clkdiv"; - qcom,cxo-freq = <19200000>; - }; - - clkdiv@5c00 { - reg = <0x5c00 0x100>; - compatible = "qcom,qpnp-clkdiv"; - qcom,cxo-freq = <19200000>; - }; - - clkdiv@5d00 { - reg = <0x5d00 0x1000>; - compatible = "qcom,qpnp-clkdiv"; - qcom,cxo-freq = <19200000>; - }; - - pm8941_chg: qcom,charger { - spmi-dev-container; - compatible = "qcom,qpnp-charger"; - #address-cells = <1>; - #size-cells = <1>; - status = "disabled"; - - qcom,vddmax-mv = <4200>; - qcom,vddsafe-mv = <4230>; - qcom,vinmin-mv = <4300>; - qcom,ibatmax-ma = <1500>; - qcom,ibatterm-ma = <100>; - qcom,ibatsafe-ma = <1500>; - qcom,thermal-mitigation = <1500 700 600 325>; - qcom,cool-bat-decidegc = <100>; - qcom,cool-bat-mv = <4100>; - qcom,ibatmax-warm-ma = <350>; - qcom,warm-bat-decidegc = <450>; - qcom,warm-bat-mv = <4100>; - qcom,ibatmax-cool-ma = <350>; - qcom,vbatdet-delta-mv = <100>; - qcom,tchg-mins = <150>; - - qcom,chgr@1000 { - status = "disabled"; - reg = <0x1000 0x100>; - interrupts = <0x0 0x10 0x0>, - <0x0 0x10 0x1>, - <0x0 0x10 0x2>, - <0x0 0x10 0x3>, - <0x0 0x10 0x4>, - <0x0 0x10 0x5>, - <0x0 0x10 0x6>, - <0x0 0x10 0x7>; - - interrupt-names = "vbat-det-lo", - "vbat-det-hi", - "chgwdog", - "state-change", - "trkl-chg-on", - "fast-chg-on", - "chg-failed", - "chg-done"; - }; - - qcom,buck@1100 { - status = "disabled"; - reg = <0x1100 0x100>; - interrupts = <0x0 0x11 0x0>, - <0x0 0x11 0x1>, - <0x0 0x11 0x2>, - <0x0 0x11 0x3>, - <0x0 0x11 0x4>, - <0x0 0x11 0x5>, - <0x0 0x11 0x6>; - - interrupt-names = "vbat-ov", - "vreg-ov", - "overtemp", - "vchg-loop", - "ichg-loop", - "ibat-loop", - "vdd-loop"; - }; - - qcom,bat-if@1200 { - status = "disabled"; - reg = <0x1200 0x100>; - interrupts = <0x0 0x12 0x0>, - <0x0 0x12 0x1>, - <0x0 0x12 0x2>, - <0x0 0x12 0x3>, - <0x0 0x12 0x4>; - - interrupt-names = "batt-pres", - "bat-temp-ok", - "bat-fet-on", - "vcp-on", - "psi"; - - }; - - pm8941_chg_otg: qcom,usb-chgpth@1300 { - status = "disabled"; - reg = <0x1300 0x100>; - interrupts = <0 0x13 0x0>, - <0 0x13 0x1>, - <0x0 0x13 0x2>; - - interrupt-names = "coarse-det-usb", - "usbin-valid", - "chg-gone"; - }; - - qcom,dc-chgpth@1400 { - status = "disabled"; - reg = <0x1400 0x100>; - interrupts = <0x0 0x14 0x0>, - <0x0 0x14 0x1>; - - interrupt-names = "coarse-det-dc", - "dcin-valid"; - }; - - pm8941_chg_boost: qcom,boost@1500 { - status = "disabled"; - reg = <0x1500 0x100>; - interrupts = <0x0 0x15 0x0>, - <0x0 0x15 0x1>; - - interrupt-names = "boost-pwr-ok", - "limit-error"; - }; - - qcom,chg-misc@1600 { - status = "disabled"; - reg = <0x1600 0x100>; - }; - }; - - pm8941_gpios: gpios { - spmi-dev-container; - compatible = "qcom,qpnp-pin"; - gpio-controller; - #gpio-cells = <2>; - #address-cells = <1>; - #size-cells = <1>; - label = "pm8941-gpio"; - - gpio@c000 { - reg = <0xc000 0x100>; - qcom,pin-num = <1>; - }; - - gpio@c100 { - reg = <0xc100 0x100>; - qcom,pin-num = <2>; - }; - - gpio@c200 { - reg = <0xc200 0x100>; - qcom,pin-num = <3>; - }; - - gpio@c300 { - reg = <0xc300 0x100>; - qcom,pin-num = <4>; - }; - - gpio@c400 { - reg = <0xc400 0x100>; - qcom,pin-num = <5>; - }; - - gpio@c500 { - reg = <0xc500 0x100>; - qcom,pin-num = <6>; - }; - - gpio@c600 { - reg = <0xc600 0x100>; - qcom,pin-num = <7>; - }; - - gpio@c700 { - reg = <0xc700 0x100>; - qcom,pin-num = <8>; - }; - - gpio@c800 { - reg = <0xc800 0x100>; - qcom,pin-num = <9>; - }; - - gpio@c900 { - reg = <0xc900 0x100>; - qcom,pin-num = <10>; - }; - - gpio@ca00 { - reg = <0xca00 0x100>; - qcom,pin-num = <11>; - }; - - gpio@cb00 { - reg = <0xcb00 0x100>; - qcom,pin-num = <12>; - }; - - gpio@cc00 { - reg = <0xcc00 0x100>; - qcom,pin-num = <13>; - }; - - gpio@cd00 { - reg = <0xcd00 0x100>; - qcom,pin-num = <14>; - }; - - gpio@ce00 { - reg = <0xce00 0x100>; - qcom,pin-num = <15>; - }; - - gpio@cf00 { - reg = <0xcf00 0x100>; - qcom,pin-num = <16>; - }; - - gpio@d000 { - reg = <0xd000 0x100>; - qcom,pin-num = <17>; - }; - - gpio@d100 { - reg = <0xd100 0x100>; - qcom,pin-num = <18>; - }; - - gpio@d200 { - reg = <0xd200 0x100>; - qcom,pin-num = <19>; - }; - - gpio@d300 { - reg = <0xd300 0x100>; - qcom,pin-num = <20>; - }; - - gpio@d400 { - reg = <0xd400 0x100>; - qcom,pin-num = <21>; - }; - - gpio@d500 { - reg = <0xd500 0x100>; - qcom,pin-num = <22>; - }; - - gpio@d600 { - reg = <0xd600 0x100>; - qcom,pin-num = <23>; - }; - - gpio@d700 { - reg = <0xd700 0x100>; - qcom,pin-num = <24>; - }; - - gpio@d800 { - reg = <0xd800 0x100>; - qcom,pin-num = <25>; - }; - - gpio@d900 { - reg = <0xd900 0x100>; - qcom,pin-num = <26>; - }; - - gpio@da00 { - reg = <0xda00 0x100>; - qcom,pin-num = <27>; - }; - - gpio@db00 { - reg = <0xdb00 0x100>; - qcom,pin-num = <28>; - }; - - gpio@dc00 { - reg = <0xdc00 0x100>; - qcom,pin-num = <29>; - }; - - gpio@dd00 { - reg = <0xdd00 0x100>; - qcom,pin-num = <30>; - }; - - gpio@de00 { - reg = <0xde00 0x100>; - qcom,pin-num = <31>; - }; - - gpio@df00 { - reg = <0xdf00 0x100>; - qcom,pin-num = <32>; - }; - - gpio@e000 { - reg = <0xe000 0x100>; - qcom,pin-num = <33>; - }; - - gpio@e100 { - reg = <0xe100 0x100>; - qcom,pin-num = <34>; - }; - - gpio@e200 { - reg = <0xe200 0x100>; - qcom,pin-num = <35>; - }; - - gpio@e300 { - reg = <0xe300 0x100>; - qcom,pin-num = <36>; - }; - }; - - pm8941_mpps: mpps { - spmi-dev-container; - compatible = "qcom,qpnp-pin"; - gpio-controller; - #gpio-cells = <2>; - #address-cells = <1>; - #size-cells = <1>; - label = "pm8941-mpp"; - - mpp@a000 { - reg = <0xa000 0x100>; - qcom,pin-num = <1>; - }; - - mpp@a100 { - reg = <0xa100 0x100>; - qcom,pin-num = <2>; - }; - - mpp@a200 { - reg = <0xa200 0x100>; - qcom,pin-num = <3>; - }; - - mpp@a300 { - reg = <0xa300 0x100>; - qcom,pin-num = <4>; - }; - - mpp@a400 { - reg = <0xa400 0x100>; - qcom,pin-num = <5>; - }; - - mpp@a500 { - reg = <0xa500 0x100>; - qcom,pin-num = <6>; - }; - - mpp@a600 { - reg = <0xa600 0x100>; - qcom,pin-num = <7>; - }; - - mpp@a700 { - reg = <0xa700 0x100>; - qcom,pin-num = <8>; - }; - }; - - qcom,pm8941_rtc { - spmi-dev-container; - compatible = "qcom,qpnp-rtc"; - #address-cells = <1>; - #size-cells = <1>; - qcom,qpnp-rtc-write = <0>; - qcom,qpnp-rtc-alarm-pwrup = <0>; - - qcom,pm8941_rtc_rw@6000 { - reg = <0x6000 0x100>; - }; - qcom,pm8941_rtc_alarm@6100 { - reg = <0x6100 0x100>; - interrupts = <0x0 0x61 0x1>; - }; - }; - - vadc@3100 { - compatible = "qcom,qpnp-vadc"; - reg = <0x3100 0x100>; - #address-cells = <1>; - #size-cells = <0>; - interrupts = <0x0 0x31 0x0>; - interrupt-names = "eoc-int-en-set"; - qcom,adc-bit-resolution = <15>; - qcom,adc-vdd-reference = <1800>; - - chan@0 { - label = "usb_in"; - reg = <0>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <4>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@1 { - label = "dc_in"; - reg = <1>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <4>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@2 { - label = "vchg_sns"; - reg = <2>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <3>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@3 { - label = "spare1_div3"; - reg = <3>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <1>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@4 { - label = "usb_id_mv"; - reg = <4>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <1>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@5 { - label = "vcoin"; - reg = <5>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <1>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@6 { - label = "vbat_sns"; - reg = <6>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <1>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@7 { - label = "vph_pwr"; - reg = <7>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <1>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@8 { - label = "die_temp"; - reg = <8>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <3>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@9 { - label = "ref_625mv"; - reg = <9>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@a { - label = "ref_1250v"; - reg = <0xa>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@30 { - label = "batt_therm"; - reg = <0x30>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <1>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@31 { - label = "batt_id"; - reg = <0x31>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@b2 { - label = "xo_therm_pu2"; - reg = <0xb2>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <4>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@b3 { - label = "msm_therm"; - reg = <0xb3>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@b4 { - label = "emmc_therm"; - reg = <0xb4>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@b5 { - label = "pa_therm0"; - reg = <0xb5>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@b7 { - label = "pa_therm1"; - reg = <0xb7>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@b8 { - label = "quiet_therm"; - reg = <0xb8>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@b9 { - label = "usb_id"; - reg = <0xb9>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@39 { - label = "usb_id_nopull"; - reg = <0x39>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - }; - - iadc@3600 { - compatible = "qcom,qpnp-iadc"; - reg = <0x3600 0x100>; - #address-cells = <1>; - #size-cells = <0>; - interrupts = <0x0 0x36 0x0>; - interrupt-names = "eoc-int-en-set"; - qcom,adc-bit-resolution = <16>; - qcom,adc-vdd-reference = <1800>; - - chan@0 { - label = "internal_rsense"; - reg = <0>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <1>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - }; - - qcom,vadc@3400 { - compatible = "qcom,qpnp-adc-tm"; - reg = <0x3400 0x100>; - #address-cells = <1>; - #size-cells = <0>; - interrupts = <0x0 0x34 0x0>, - <0x0 0x34 0x3>, - <0x0 0x34 0x4>; - interrupt-names = "eoc-int-en-set", - "high-thr-en-set", - "low-thr-en-set"; - qcom,adc-bit-resolution = <15>; - qcom,adc-vdd-reference = <1800>; - - /* Channel Node */ - chan@b9 { - label = "usb_id"; - reg = <0xb9>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <3>; - qcom,btm-channel-number = <0x48>; - }; - - chan@30 { - label = "batt_therm"; - reg = <0x30>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <1>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <3>; - qcom,btm-channel-number = <0x68>; - }; - - chan@8 { - label = "die_temp"; - reg = <8>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <3>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <3>; - qcom,btm-channel-number = <0x70>; - }; - - chan@6 { - label = "vbat_sns"; - reg = <6>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <1>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <3>; - qcom,btm-channel-number = <0x78>; - }; - - chan@b5 { - label = "pa_therm0"; - reg = <0xb5>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <3>; - qcom,btm-channel-number = <0x80>; - qcom,thermal-node; - }; - - chan@b7 { - label = "pa_therm1"; - reg = <0xb7>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <3>; - qcom,btm-channel-number = <0x88>; - qcom,thermal-node; - }; - - chan@b4 { - label = "emmc_therm"; - reg = <0xb4>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <3>; - qcom,btm-channel-number = <0x90>; - qcom,thermal-node; - }; - - chan@b3 { - label = "msm_therm"; - reg = <0xb3>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <3>; - qcom,btm-channel-number = <0x98>; - qcom,thermal-node; - }; - }; - }; - - qcom,pm8941@1 { - spmi-slave-container; - reg = <0x1>; - #address-cells = <1>; - #size-cells = <1>; - - regulator@1400 { - regulator-name = "8941_s1"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x1400 0x300>; - status = "disabled"; - - qcom,ctl@1400 { - reg = <0x1400 0x100>; - }; - qcom,ps@1500 { - reg = <0x1500 0x100>; - }; - qcom,freq@1600 { - reg = <0x1600 0x100>; - }; - }; - - regulator@1700 { - regulator-name = "8941_s2"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x1700 0x300>; - status = "disabled"; - - qcom,ctl@1700 { - reg = <0x1700 0x100>; - }; - qcom,ps@1800 { - reg = <0x1800 0x100>; - }; - qcom,freq@1900 { - reg = <0x1900 0x100>; - }; - }; - - regulator@1a00 { - regulator-name = "8941_s3"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x1a00 0x300>; - status = "disabled"; - - qcom,ctl@1a00 { - reg = <0x1a00 0x100>; - }; - qcom,ps@1b00 { - reg = <0x1b00 0x100>; - }; - qcom,freq@1c00 { - reg = <0x1c00 0x100>; - }; - }; - - regulator@a000 { - regulator-name = "8941_boost"; - reg = <0xa000 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4000 { - regulator-name = "8941_l1"; - reg = <0x4000 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4100 { - regulator-name = "8941_l2"; - reg = <0x4100 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4200 { - regulator-name = "8941_l3"; - reg = <0x4200 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4300 { - regulator-name = "8941_l4"; - reg = <0x4300 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4400 { - regulator-name = "8941_l5"; - reg = <0x4400 0x100>; - compatible = "qcom,qpnp-regulator"; - qcom,force-type = <0x04 0x10>; - status = "disabled"; - }; - - regulator@4500 { - regulator-name = "8941_l6"; - reg = <0x4500 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4600 { - regulator-name = "8941_l7"; - reg = <0x4600 0x100>; - compatible = "qcom,qpnp-regulator"; - qcom,force-type = <0x04 0x10>; - status = "disabled"; - }; - - regulator@4700 { - regulator-name = "8941_l8"; - reg = <0x4700 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4800 { - regulator-name = "8941_l9"; - reg = <0x4800 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4900 { - regulator-name = "8941_l10"; - reg = <0x4900 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4a00 { - regulator-name = "8941_l11"; - reg = <0x4a00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4b00 { - regulator-name = "8941_l12"; - reg = <0x4b00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4c00 { - regulator-name = "8941_l13"; - reg = <0x4c00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4d00 { - regulator-name = "8941_l14"; - reg = <0x4d00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4e00 { - regulator-name = "8941_l15"; - reg = <0x4e00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4f00 { - regulator-name = "8941_l16"; - reg = <0x4f00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5000 { - regulator-name = "8941_l17"; - reg = <0x5000 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5100 { - regulator-name = "8941_l18"; - reg = <0x5100 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5200 { - regulator-name = "8941_l19"; - reg = <0x5200 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5300 { - regulator-name = "8941_l20"; - reg = <0x5300 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5400 { - regulator-name = "8941_l21"; - reg = <0x5400 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5500 { - regulator-name = "8941_l22"; - reg = <0x5500 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5600 { - regulator-name = "8941_l23"; - reg = <0x5600 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5700 { - regulator-name = "8941_l24"; - reg = <0x5700 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@8000 { - regulator-name = "8941_lvs1"; - reg = <0x8000 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@8100 { - regulator-name = "8941_lvs2"; - reg = <0x8100 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@8200 { - regulator-name = "8941_lvs3"; - reg = <0x8200 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@8300 { - regulator-name = "8941_mvs1"; - reg = <0x8300 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@8400 { - regulator-name = "8941_mvs2"; - reg = <0x8400 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - qcom,vibrator@c000 { - compatible = "qcom,qpnp-vibrator"; - reg = <0xc000 0x100>; - label = "vibrator"; - status = "disabled"; - }; - - qcom,leds@d000 { - compatible = "qcom,leds-qpnp"; - reg = <0xd000 0x100>; - label = "rgb"; - }; - - qcom,leds@d100 { - compatible = "qcom,leds-qpnp"; - reg = <0xd100 0x100>; - label = "rgb"; - }; - - qcom,leds@d200 { - compatible = "qcom,leds-qpnp"; - reg = <0xd200 0x100>; - label = "rgb"; - }; - - qcom,leds@d300 { - compatible = "qcom,leds-qpnp"; - reg = <0xd300 0x100>; - label = "flash"; - flash_boost-supply = <&pm8941_chg_boost>; - }; - - qcom,leds@d400 { - compatible = "qcom,leds-qpnp"; - reg = <0xd400 0x100>; - label = "flash"; - }; - - qcom,leds@d500 { - compatible = "qcom,leds-qpnp"; - reg = <0xd500 0x100>; - label = "flash"; - }; - - qcom,leds@d600 { - compatible = "qcom,leds-qpnp"; - reg = <0xd600 0x100>; - label = "flash"; - }; - - qcom,leds@d700 { - compatible = "qcom,leds-qpnp"; - reg = <0xd700 0x100>; - label = "flash"; - }; - - qcom,leds@d800 { - compatible = "qcom,leds-qpnp"; - reg = <0xd800 0x100>; - label = "wled"; - }; - - qcom,leds@d900 { - compatible = "qcom,leds-qpnp"; - reg = <0xd900 0x100>; - label = "wled"; - }; - - qcom,leds@da00 { - compatible = "qcom,leds-qpnp"; - reg = <0xda00 0x100>; - label = "wled"; - }; - - qcom,leds@db00 { - compatible = "qcom,leds-qpnp"; - reg = <0xdb00 0x100>; - label = "wled"; - }; - - qcom,leds@dc00 { - compatible = "qcom,leds-qpnp"; - reg = <0xdc00 0x100>; - label = "wled"; - }; - - qcom,leds@dd00 { - compatible = "qcom,leds-qpnp"; - reg = <0xdd00 0x100>; - label = "wled"; - }; - - qcom,leds@de00 { - compatible = "qcom,leds-qpnp"; - reg = <0xde00 0x100>; - label = "wled"; - }; - - qcom,leds@df00 { - compatible = "qcom,leds-qpnp"; - reg = <0xdf00 0x100>; - label = "wled"; - }; - - qcom,leds@e000 { - compatible = "qcom,leds-qpnp"; - reg = <0xe000 0x100>; - label = "wled"; - }; - - qcom,leds@e100 { - compatible = "qcom,leds-qpnp"; - reg = <0xe100 0x100>; - label = "wled"; - }; - - pwm@b100 { - compatible = "qcom,qpnp-pwm"; - reg = <0xb100 0x100>, - <0xb042 0x7e>; - reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base"; - qcom,channel-id = <0>; - }; - - pwm@b200 { - compatible = "qcom,qpnp-pwm"; - reg = <0xb200 0x100>, - <0xb042 0x7e>; - reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base"; - qcom,channel-id = <1>; - }; - - pwm@b300 { - compatible = "qcom,qpnp-pwm"; - reg = <0xb300 0x100>, - <0xb042 0x7e>; - reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base"; - qcom,channel-id = <2>; - }; - - pwm@b400 { - compatible = "qcom,qpnp-pwm"; - reg = <0xb400 0x100>, - <0xb042 0x7e>; - reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base"; - qcom,channel-id = <3>; - }; - - pwm@b500 { - compatible = "qcom,qpnp-pwm"; - reg = <0xb500 0x100>, - <0xb042 0x7e>; - reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base"; - qcom,channel-id = <4>; - }; - - pwm@b600 { - compatible = "qcom,qpnp-pwm"; - reg = <0xb600 0x100>, - <0xb042 0x7e>; - reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base"; - qcom,channel-id = <5>; - }; - - pwm@b700 { - compatible = "qcom,qpnp-pwm"; - reg = <0xb700 0x100>, - <0xb042 0x7e>; - reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base"; - qcom,channel-id = <6>; - }; - - pwm@b800 { - compatible = "qcom,qpnp-pwm"; - reg = <0xb800 0x100>, - <0xb042 0x7e>; - reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base"; - qcom,channel-id = <7>; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/msm-pm8x41-rpm-regulator.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v1/msm-pm8x41-rpm-regulator.dtsi deleted file mode 100644 index 6e67dd85c..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/msm-pm8x41-rpm-regulator.dtsi +++ /dev/null @@ -1,585 +0,0 @@ -/* Copyright (c) 2012, 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. - */ - -&rpm_bus { - rpm-regulator-smpb1 { - qcom,resource-name = "smpb"; - qcom,resource-id = <1>; - qcom,regulator-type = <1>; - qcom,hpm-min-load = <100000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-s1 { - regulator-name = "8841_s1"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-smpb2 { - qcom,resource-name = "smpb"; - qcom,resource-id = <2>; - qcom,regulator-type = <1>; - qcom,hpm-min-load = <100000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-s2 { - regulator-name = "8841_s2"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-smpb3 { - qcom,resource-name = "smpb"; - qcom,resource-id = <3>; - qcom,regulator-type = <1>; - qcom,hpm-min-load = <100000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-s3 { - regulator-name = "8841_s3"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-smpb4 { - qcom,resource-name = "smpb"; - qcom,resource-id = <4>; - qcom,regulator-type = <1>; - qcom,hpm-min-load = <100000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-s4 { - regulator-name = "8841_s4"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-smpa1 { - qcom,resource-name = "smpa"; - qcom,resource-id = <1>; - qcom,regulator-type = <1>; - qcom,hpm-min-load = <100000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-s1 { - regulator-name = "8941_s1"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-smpa2 { - qcom,resource-name = "smpa"; - qcom,resource-id = <2>; - qcom,regulator-type = <1>; - qcom,hpm-min-load = <100000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-s2 { - regulator-name = "8941_s2"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-smpa3 { - qcom,resource-name = "smpa"; - qcom,resource-id = <3>; - qcom,regulator-type = <1>; - qcom,hpm-min-load = <100000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-s3 { - regulator-name = "8941_s3"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa1 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <1>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l1 { - regulator-name = "8941_l1"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa2 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <2>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l2 { - regulator-name = "8941_l2"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa3 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <3>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l3 { - regulator-name = "8941_l3"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa4 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <4>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l4 { - regulator-name = "8941_l4"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa5 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <5>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l5 { - regulator-name = "8941_l5"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa6 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <6>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l6 { - regulator-name = "8941_l6"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa7 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <7>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l7 { - regulator-name = "8941_l7"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa8 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <8>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l8 { - regulator-name = "8941_l8"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa9 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <9>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l9 { - regulator-name = "8941_l9"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa10 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <10>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l10 { - regulator-name = "8941_l10"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa11 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <11>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l11 { - regulator-name = "8941_l11"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa12 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <12>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l12 { - regulator-name = "8941_l12"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa13 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <13>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l13 { - regulator-name = "8941_l13"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa14 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <14>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l14 { - regulator-name = "8941_l14"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa15 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <15>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l15 { - regulator-name = "8941_l15"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa16 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <16>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l16 { - regulator-name = "8941_l16"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa17 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <17>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l17 { - regulator-name = "8941_l17"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa18 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <18>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l18 { - regulator-name = "8941_l18"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa19 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <19>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l19 { - regulator-name = "8941_l19"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa20 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <20>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l20 { - regulator-name = "8941_l20"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa21 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <21>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l21 { - regulator-name = "8941_l21"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa22 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <22>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l22 { - regulator-name = "8941_l22"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa23 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <23>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l23 { - regulator-name = "8941_l23"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa24 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <24>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l24 { - regulator-name = "8941_l24"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - /* TODO: find out correct resource names for LVS vs MVS */ - rpm-regulator-vsa1 { - qcom,resource-name = "vsa"; - qcom,resource-id = <1>; - qcom,regulator-type = <2>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-lvs1 { - regulator-name = "8941_lvs1"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-vsa2 { - qcom,resource-name = "vsa"; - qcom,resource-id = <2>; - qcom,regulator-type = <2>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-lvs2 { - regulator-name = "8941_lvs2"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-vsa3 { - qcom,resource-name = "vsa"; - qcom,resource-id = <3>; - qcom,regulator-type = <2>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-lvs3 { - regulator-name = "8941_lvs3"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-vsa4 { - qcom,resource-name = "vsa"; - qcom,resource-id = <4>; - qcom,regulator-type = <2>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-mvs1 { - regulator-name = "8941_mvs1"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-vsa5 { - qcom,resource-name = "vsa"; - qcom,resource-id = <5>; - qcom,regulator-type = <2>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-mvs2 { - regulator-name = "8941_mvs2"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/msm-pma8084.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v1/msm-pma8084.dtsi deleted file mode 100644 index 30525aac0..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/msm-pma8084.dtsi +++ /dev/null @@ -1,666 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&spmi_bus { - #address-cells = <1>; - #size-cells = <0>; - interrupt-controller; - #interrupt-cells = <3>; - - qcom,pma8084@0 { - spmi-slave-container; - reg = <0x0>; - #address-cells = <1>; - #size-cells = <1>; - - pma8084_gpios: gpios { - spmi-dev-container; - compatible = "qcom,qpnp-pin"; - gpio-controller; - #gpio-cells = <2>; - #address-cells = <1>; - #size-cells = <1>; - label = "pma8084-gpio"; - - gpio@c000 { - reg = <0xc000 0x100>; - qcom,pin-num = <1>; - }; - - gpio@c100 { - reg = <0xc100 0x100>; - qcom,pin-num = <2>; - }; - - gpio@c200 { - reg = <0xc200 0x100>; - qcom,pin-num = <3>; - }; - - gpio@c300 { - reg = <0xc300 0x100>; - qcom,pin-num = <4>; - }; - - gpio@c400 { - reg = <0xc400 0x100>; - qcom,pin-num = <5>; - }; - - gpio@c500 { - reg = <0xc500 0x100>; - qcom,pin-num = <6>; - }; - - gpio@c600 { - reg = <0xc600 0x100>; - qcom,pin-num = <7>; - }; - - gpio@c700 { - reg = <0xc700 0x100>; - qcom,pin-num = <8>; - }; - - gpio@c800 { - reg = <0xc800 0x100>; - qcom,pin-num = <9>; - }; - - gpio@c900 { - reg = <0xc900 0x100>; - qcom,pin-num = <10>; - }; - - gpio@ca00 { - reg = <0xca00 0x100>; - qcom,pin-num = <11>; - }; - - gpio@cb00 { - reg = <0xcb00 0x100>; - qcom,pin-num = <12>; - }; - - gpio@cc00 { - reg = <0xcc00 0x100>; - qcom,pin-num = <13>; - }; - - gpio@cd00 { - reg = <0xcd00 0x100>; - qcom,pin-num = <14>; - }; - - gpio@ce00 { - reg = <0xce00 0x100>; - qcom,pin-num = <15>; - }; - - gpio@cf00 { - reg = <0xcf00 0x100>; - qcom,pin-num = <16>; - }; - - gpio@d000 { - reg = <0xd000 0x100>; - qcom,pin-num = <17>; - }; - - gpio@d100 { - reg = <0xd100 0x100>; - qcom,pin-num = <18>; - }; - - gpio@d200 { - reg = <0xd200 0x100>; - qcom,pin-num = <19>; - }; - - gpio@d300 { - reg = <0xd300 0x100>; - qcom,pin-num = <20>; - }; - - gpio@d400 { - reg = <0xd400 0x100>; - qcom,pin-num = <21>; - }; - - gpio@d500 { - reg = <0xd500 0x100>; - qcom,pin-num = <22>; - }; - }; - - pma8084_mpps: mpps { - spmi-dev-container; - compatible = "qcom,qpnp-pin"; - gpio-controller; - #gpio-cells = <2>; - #address-cells = <1>; - #size-cells = <1>; - label = "pma8084-mpp"; - - mpp@a000 { - reg = <0xa000 0x100>; - qcom,pin-num = <1>; - }; - - mpp@a100 { - reg = <0xa100 0x100>; - qcom,pin-num = <2>; - }; - - mpp@a200 { - reg = <0xa200 0x100>; - qcom,pin-num = <3>; - }; - - mpp@a300 { - reg = <0xa300 0x100>; - qcom,pin-num = <4>; - }; - - mpp@a400 { - reg = <0xa400 0x100>; - qcom,pin-num = <5>; - }; - - mpp@a500 { - reg = <0xa500 0x100>; - qcom,pin-num = <6>; - }; - - mpp@a600 { - reg = <0xa600 0x100>; - qcom,pin-num = <7>; - }; - - mpp@a700 { - reg = <0xa700 0x100>; - qcom,pin-num = <8>; - }; - }; - }; - - qcom,pma8084@1 { - spmi-slave-container; - reg = <0x1>; - #address-cells = <1>; - #size-cells = <1>; - - regulator@1400 { - regulator-name = "8084_s1"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x1400 0x300>; - status = "disabled"; - - qcom,ctl@1400 { - reg = <0x1400 0x100>; - }; - qcom,ps@1500 { - reg = <0x1500 0x100>; - }; - qcom,freq@1600 { - reg = <0x1600 0x100>; - }; - }; - - regulator@1700 { - regulator-name = "8084_s2"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x1700 0x300>; - status = "disabled"; - - qcom,ctl@1700 { - reg = <0x1700 0x100>; - }; - qcom,ps@1800 { - reg = <0x1800 0x100>; - }; - qcom,freq@1900 { - reg = <0x1900 0x100>; - }; - }; - - regulator@1a00 { - regulator-name = "8084_s3"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x1a00 0x300>; - status = "disabled"; - - qcom,ctl@1a00 { - reg = <0x1a00 0x100>; - }; - qcom,ps@1b00 { - reg = <0x1b00 0x100>; - }; - qcom,freq@1c00 { - reg = <0x1c00 0x100>; - }; - }; - - regulator@1d00 { - regulator-name = "8084_s4"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x1d00 0x300>; - status = "disabled"; - - qcom,ctl@1d00 { - reg = <0x1d00 0x100>; - }; - qcom,ps@1e00 { - reg = <0x1e00 0x100>; - }; - qcom,freq@1f00 { - reg = <0x1f00 0x100>; - }; - }; - - regulator@2000 { - regulator-name = "8084_s5"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x2000 0x300>; - status = "disabled"; - - qcom,ctl@2000 { - reg = <0x2000 0x100>; - }; - qcom,ps@2100 { - reg = <0x2100 0x100>; - }; - qcom,freq@2200 { - reg = <0x2200 0x100>; - }; - }; - - regulator@2300 { - regulator-name = "8084_s6"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x2300 0x300>; - status = "disabled"; - - qcom,ctl@2300 { - reg = <0x2300 0x100>; - }; - qcom,ps@2400 { - reg = <0x2400 0x100>; - }; - qcom,freq@2500 { - reg = <0x2500 0x100>; - }; - }; - - regulator@2600 { - regulator-name = "8084_s7"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x2600 0x300>; - status = "disabled"; - - qcom,ctl@2600 { - reg = <0x2600 0x100>; - }; - qcom,ps@2700 { - reg = <0x2700 0x100>; - }; - qcom,freq@2800 { - reg = <0x2800 0x100>; - }; - }; - - regulator@2900 { - regulator-name = "8084_s8"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x2900 0x300>; - status = "disabled"; - - qcom,ctl@2900 { - reg = <0x2900 0x100>; - }; - qcom,ps@2a00 { - reg = <0x2a00 0x100>; - }; - qcom,freq@2b00 { - reg = <0x2b00 0x100>; - }; - }; - - regulator@2c00 { - regulator-name = "8084_s9"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x2c00 0x300>; - status = "disabled"; - - qcom,ctl@2c00 { - reg = <0x2c00 0x100>; - }; - qcom,ps@2d00 { - reg = <0x2d00 0x100>; - }; - qcom,freq@2e00 { - reg = <0x2e00 0x100>; - }; - }; - - regulator@2f00 { - regulator-name = "8084_s10"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x2f00 0x300>; - status = "disabled"; - - qcom,ctl@2f00 { - reg = <0x2f00 0x100>; - }; - qcom,ps@3000 { - reg = <0x3000 0x100>; - }; - qcom,freq@3100 { - reg = <0x3100 0x100>; - }; - }; - - regulator@3200 { - regulator-name = "8084_s11"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x3200 0x300>; - status = "disabled"; - - qcom,ctl@3200 { - reg = <0x3200 0x100>; - }; - qcom,ps@3300 { - reg = <0x3300 0x100>; - }; - qcom,freq@3400 { - reg = <0x3400 0x100>; - }; - }; - - regulator@3500 { - regulator-name = "8084_s12"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x3500 0x300>; - status = "disabled"; - - qcom,ctl@3500 { - reg = <0x3500 0x100>; - }; - qcom,ps@3600 { - reg = <0x3600 0x100>; - }; - qcom,freq@3700 { - reg = <0x3700 0x100>; - }; - }; - - regulator@4000 { - regulator-name = "8084_l1"; - reg = <0x4000 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4100 { - regulator-name = "8084_l2"; - reg = <0x4100 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4200 { - regulator-name = "8084_l3"; - reg = <0x4200 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4300 { - regulator-name = "8084_l4"; - reg = <0x4300 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4400 { - regulator-name = "8084_l5"; - reg = <0x4400 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4500 { - regulator-name = "8084_l6"; - reg = <0x4500 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4600 { - regulator-name = "8084_l7"; - reg = <0x4600 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4700 { - regulator-name = "8084_l8"; - reg = <0x4700 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4800 { - regulator-name = "8084_l9"; - reg = <0x4800 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4900 { - regulator-name = "8084_l10"; - reg = <0x4900 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4a00 { - regulator-name = "8084_l11"; - reg = <0x4a00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4b00 { - regulator-name = "8084_l12"; - reg = <0x4b00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4c00 { - regulator-name = "8084_l13"; - reg = <0x4c00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4d00 { - regulator-name = "8084_l14"; - reg = <0x4d00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4e00 { - regulator-name = "8084_l15"; - reg = <0x4e00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4f00 { - regulator-name = "8084_l16"; - reg = <0x4f00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5000 { - regulator-name = "8084_l17"; - reg = <0x5000 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5100 { - regulator-name = "8084_l18"; - reg = <0x5100 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5200 { - regulator-name = "8084_l19"; - reg = <0x5200 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5300 { - regulator-name = "8084_l20"; - reg = <0x5300 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5400 { - regulator-name = "8084_l21"; - reg = <0x5400 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5500 { - regulator-name = "8084_l22"; - reg = <0x5500 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5600 { - regulator-name = "8084_l23"; - reg = <0x5600 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5700 { - regulator-name = "8084_l24"; - reg = <0x5700 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5800 { - regulator-name = "8084_l25"; - reg = <0x5800 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5900 { - regulator-name = "8084_l26"; - reg = <0x5900 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5a00 { - regulator-name = "8084_l27"; - reg = <0x5a00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@8000 { - regulator-name = "8084_lvs1"; - reg = <0x8000 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@8100 { - regulator-name = "8084_lvs2"; - reg = <0x8100 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@8200 { - regulator-name = "8084_lvs3"; - reg = <0x8200 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@8300 { - regulator-name = "8084_lvs4"; - reg = <0x8300 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@8400 { - regulator-name = "8084_mvs1"; - reg = <0x8400 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8226-bus.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v1/msm8226-bus.dtsi deleted file mode 100644 index d87aa3ea5..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8226-bus.dtsi +++ /dev/null @@ -1,1128 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -&soc { - msm-mmss-noc@fc478000 { - compatible = "msm-bus-fabric"; - reg = <0xfc478000 0x00004000>; - cell-id = <2048>; - label = "msm_mmss_noc"; - qcom,fabclk-dual = "bus_clk"; - qcom,fabclk-active = "bus_a_clk"; - qcom,ntieredslaves = <0>; - qcom,qos-freq = <4800>; - qcom,hw-sel = "NoC"; - qcom,rpm-en; - - mas-gfx3d { - cell-id = <26>; - label = "mas-gfx3d"; - qcom,masterp = <2>; - qcom,tier = <2>; - qcom,hw-sel = "NoC"; - qcom,perm-mode = "Bypass"; - qcom,mode = "Bypass"; - qcom,ws = <10000>; - qcom,qport = <2>; - qcom,mas-hw-id = <6>; - }; - - mas-jpeg { - cell-id = <62>; - label = "mas-jpeg"; - qcom,masterp = <4>; - qcom,tier = <2>; - qcom,hw-sel = "NoC"; - qcom,perm-mode = "Bypass"; - qcom,mode = "Bypass"; - qcom,qport = <0>; - qcom,ws = <10000>; - qcom,mas-hw-id = <7>; - }; - - mas-mdp-port0 { - cell-id = <22>; - label = "mas-mdp-port0"; - qcom,masterp = <5>; - qcom,tier = <2>; - qcom,hw-sel = "NoC"; - qcom,perm-mode = "Bypass"; - qcom,mode = "Bypass"; - qcom,qport = <1>; - qcom,ws = <10000>; - qcom,mas-hw-id = <8>; - }; - - mas-video-p0 { - cell-id = <63>; - label = "mas-video-p0"; - qcom,masterp = <6>; - qcom,tier = <2>; - qcom,hw-sel = "NoC"; - qcom,perm-mode = "Bypass"; - qcom,mode = "Bypass"; - qcom,ws = <10000>; - qcom,qport = <4>; - qcom,mas-hw-id = <9>; - }; - - mas-vfe { - cell-id = <29>; - label = "mas-vfe"; - qcom,masterp = <16>; - qcom,tier = <2>; - qcom,hw-sel = "NoC"; - qcom,perm-mode = "Bypass"; - qcom,mode = "Bypass"; - qcom,ws = <10000>; - qcom,qport = <6>; - qcom,mas-hw-id = <11>; - }; - - fab-cnoc { - cell-id = <5120>; - label = "fab-cnoc"; - qcom,gateway; - qcom,masterp = <0 1>; - qcom,buswidth = <16>; - qcom,hw-sel = "RPM"; - qcom,mas-hw-id = <4>; - }; - - fab-bimc { - cell-id = <0>; - label = "fab-bimc"; - qcom,gateway; - qcom,slavep = <16>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <16>; - }; - - slv-camera-cfg { - cell-id = <589>; - label = "slv-camera-cfg"; - qcom,slavep = <0>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <3>; - }; - - slv-display-cfg { - cell-id = <590>; - label = "slv-display-cfg"; - qcom,slavep = <1>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <4>; - }; - - slv-ocmem-cfg { - cell-id = <591>; - label = "slv-ocmem-cfg"; - qcom,slavep = <2>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <5>; - }; - - slv-cpr-cfg { - cell-id = <592>; - label = "slv-cpr-cfg"; - qcom,slavep = <3>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <6>; - }; - - slv-cpr-xpu-cfg { - cell-id = <593>; - label = "slv-cpr-xpu-cfg"; - qcom,slavep = <4>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <7>; - }; - - slv-misc-cfg { - cell-id = <594>; - label = "slv-misc-cfg"; - qcom,slavep = <6>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <8>; - }; - - slv-misc-xpu-cfg { - cell-id = <595>; - label = "slv-misc-xpu-cfg"; - qcom,slavep = <7>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <9>; - }; - - slv-venus-cfg { - cell-id = <596>; - label = "slv-venus-cfg"; - qcom,slavep = <8>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <10>; - }; - - slv-gfx3d-cfg { - cell-id = <598>; - label = "slv-gfx3d-cfg"; - qcom,slavep = <9>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <11>; - }; - - slv-mmss-clk-cfg { - cell-id = <599>; - label = "slv-mmss-clk-cfg"; - qcom,slavep = <11>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <12>; - }; - - slv-mmss-clk-xpu-cfg { - cell-id = <600>; - label = "slv-mmss-clk-xpu-cfg"; - qcom,slavep = <12>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <13>; - }; - - slv-mnoc-mpu-cfg { - cell-id = <601>; - label = "slv-mnoc-mpu-cfg"; - qcom,slavep = <13>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <14>; - }; - - slv-onoc-mpu-cfg { - cell-id = <602>; - label = "slv-onoc-mpu-cfg"; - qcom,slavep = <14>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <15>; - }; - - slv-service-mnoc { - cell-id = <603>; - label = "slv-service-mnoc"; - qcom,slavep = <18>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <17>; - }; - - }; - - msm-sys-noc@fc460000 { - compatible = "msm-bus-fabric"; - reg = <0xfc460000 0x00004000>; - cell-id = <1024>; - label = "msm_sys_noc"; - qcom,fabclk-dual = "bus_clk"; - qcom,fabclk-active = "bus_a_clk"; - qcom,ntieredslaves = <0>; - qcom,qos-freq = <4800>; - qcom,hw-sel = "NoC"; - qcom,rpm-en; - - mas-lpass-ahb { - cell-id = <52>; - label = "mas-lpass-ahb"; - qcom,masterp = <0>; - qcom,tier = <2>; - qcom,qport = <0>; - qcom,mas-hw-id = <18>; - qcom,mode = "Fixed"; - qcom,prio-rd = <2>; - qcom,prio-wr = <2>; - }; - - mas-qdss-bam { - cell-id = <53>; - label = "mas-qdss-bam"; - qcom,masterp = <1>; - qcom,tier = <2>; - qcom,mode = "Fixed"; - qcom,qport = <1>; - qcom,mas-hw-id = <19>; - }; - - mas-snoc-cfg { - cell-id = <54>; - label = "mas-snoc-cfg"; - qcom,masterp = <2>; - qcom,tier = <2>; - qcom,mas-hw-id = <20>; - }; - - fab-bimc { - cell-id = <0>; - label= "fab-bimc"; - qcom,gateway; - qcom,slavep = <7>; - qcom,masterp = <3>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <21>; - qcom,slv-hw-id = <24>; - }; - - fab-cnoc { - cell-id = <5120>; - label = "fab-cnoc"; - qcom,gateway; - qcom,slavep = <8>; - qcom,masterp = <4>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <22>; - qcom,slv-hw-id = <25>; - }; - - fab-pnoc { - cell-id = <4096>; - label = "fab-pnoc"; - qcom,gateway; - qcom,slavep = <10>; - qcom,masterp = <10>; - qcom,buswidth = <8>; - qcom,qport = <8>; - qcom,mas-hw-id = <29>; - qcom,slv-hw-id = <28>; - qcom,mode = "Fixed"; - qcom,prio-rd = <2>; - qcom,prio-wr = <2>; - }; - - fab-ovnoc { - cell-id = <6144>; - label = "fab-ovnoc"; - qcom,gateway; - qcom,buswidth = <8>; - qcom,mas-hw-id = <53>; - qcom,slv-hw-id = <77>; - }; - - mas-crypto-core0 { - cell-id = <55>; - label = "mas-crypto-core0"; - qcom,masterp = <5>; - qcom,tier = <2>; - qcom,mode = "Fixed"; -/* qcom,qport = <2>;*/ - qcom,mas-hw-id = <23>; - qcom,hw-sel = "NoC"; - qcom,prio-rd = <1>; - qcom,prio-wr = <1>; - }; - - mas-lpass-proc { - cell-id = <11>; - label = "mas-lpass-proc"; - qcom,masterp = <6>; - qcom,tier = <2>; - qcom,qport = <4>; - qcom,mas-hw-id = <25>; - qcom,mode = "Fixed"; - qcom,prio-rd = <2>; - qcom,prio-wr = <2>; - }; - - mas-mss { - cell-id = <38>; - label = "mas-mss"; - qcom,masterp = <7>; - qcom,tier = <2>; - qcom,mas-hw-id = <26>; - }; - - mas-mss-nav { - cell-id = <57>; - label = "mas-mss-nav"; - qcom,masterp = <8>; - qcom,tier = <2>; - qcom,mas-hw-id = <27>; - }; - - mas-ocmem-dma { - cell-id = <58>; - label = "mas-ocmem-dma"; - qcom,masterp = <9>; - qcom,tier = <2>; - qcom,mode = "Fixed"; - qcom,qport = <7>; - qcom,mas-hw-id = <28>; - }; - - mas-wcss { - cell-id = <59>; - label = "mas-wcss"; - qcom,masterp = <11>; - qcom,tier = <2>; - qcom,mas-hw-id = <30>; - }; - - mas-qdss-etr { - cell-id = <60>; - label = "mas-qdss-etr"; - qcom,masterp = <12>; - qcom,tier = <2>; - qcom,qport = <10>; - qcom,mode = "Fixed"; - qcom,mas-hw-id = <31>; - }; - - slv-ampss { - cell-id = <520>; - label = "slv-ampss"; - qcom,slavep = <1>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <20>; - }; - - slv-lpass { - cell-id = <522>; - label = "slv-lpass"; - qcom,slavep = <2>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <21>; - }; - - slv-wcss { - cell-id = <584>; - label = "slv-wcss"; - qcom,slavep = <6>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <23>; - }; - - slv-ocimem { - cell-id = <585>; - label = "slv-ocimem"; - qcom,slavep = <9>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <26>; - }; - - slv-service-snoc { - cell-id = <587>; - label = "slv-service-snoc"; - qcom,slavep = <11>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <29>; - }; - - slv-qdss-stm { - cell-id = <588>; - label = "slv-qdss-stm"; - qcom,slavep = <12>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <30>; - }; - - }; - - msm-periph-noc@fc468000 { - compatible = "msm-bus-fabric"; - reg = <0xfc468000 0x00004000>; - cell-id = <4096>; - label = "msm_periph_noc"; - qcom,fabclk-dual = "bus_clk"; - qcom,fabclk-active = "bus_a_clk"; - qcom,ntieredslaves = <0>; - qcom,hw-sel = "NoC"; - qcom,rpm-en; - - mas-pnoc-cfg { - cell-id = <88>; - label = "mas-pnoc-cfg"; - qcom,masterp = <7>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <43>; - }; - - mas-sdcc-1 { - cell-id = <78>; - label = "mas-sdcc-1"; - qcom,masterp = <0>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <33>; - }; - - mas-sdcc-3 { - cell-id = <79>; - label = "mas-sdcc-3"; - qcom,masterp = <1>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <34>; - }; - - mas-sdcc-2 { - cell-id = <81>; - label = "mas-sdcc-2"; - qcom,masterp = <2>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <35>; - }; - - mas-bam-dma { - cell-id = <83>; - label = "mas-bam-dma"; - qcom,masterp = <3>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <38>; - }; - - mas-usb-hsic { - cell-id = <85>; - label = "mas-usb-hsic"; - qcom,masterp = <4>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <40>; - }; - - mas-blsp-1 { - cell-id = <86>; - label = "mas-blsp-1"; - qcom,masterp = <5>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <41>; - }; - - mas-usb-hs { - cell-id = <87>; - label = "mas-usb-hs"; - qcom,masterp = <6>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <42>; - }; - - fab-snoc { - cell-id = <1024>; - label = "fab-snoc"; - qcom,gateway; - qcom,slavep = <12>; - qcom,masterp = <8>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <45>; - qcom,mas-hw-id = <44>; - }; - - slv-sdcc-1 { - cell-id = <606>; - label = "slv-sdcc-1"; - qcom,slavep = <0>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <31>; - }; - - slv-sdcc-3 { - cell-id = <607>; - label = "slv-sdcc-3"; - qcom,slavep = <1>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <32>; - }; - - slv-sdcc-2 { - cell-id = <608>; - label = "slv-sdcc-2"; - qcom,slavep = <2>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <33>; - }; - - slv-bam-dma { - cell-id = <610>; - label = "slv-bam-dma"; - qcom,slavep = <3>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <36>; - }; - - slv-usb-hsic { - cell-id = <612>; - label = "slv-usb-hsic"; - qcom,slavep = <4>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <38>; - }; - - slv-blsp-1 { - cell-id = <613>; - label = "slv-blsp-1"; - qcom,slavep = <5>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <39>; - }; - - slv-usb-hs { - cell-id = <614>; - label = "slv-usb-hs"; - qcom,slavep = <6>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <40>; - }; - - slv-pdm { - cell-id = <615>; - label = "slv-pdm"; - qcom,slavep = <7>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <41>; - }; - - slv-periph-apu-cfg { - cell-id = <616>; - label = "slv-periph-apu-cfg"; - qcom,slavep = <8>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <42>; - }; - - slv-pnoc-mpu-cfg { - cell-id = <617>; - label = "slv-pnoc-mpu-cfg"; - qcom,slavep = <9>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <43>; - }; - - slv-prng { - cell-id = <618>; - label = "slv-prng"; - qcom,slavep = <10>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <44>; - }; - - slv-service-pnoc { - cell-id = <619>; - label = "slv-service-pnoc"; - qcom,slavep = <12>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <46>; - }; - - }; - - msm-config-noc@fc480000 { - compatible = "msm-bus-fabric"; - reg = <0xfc480000 0x00004000>; - cell-id = <5120>; - label = "msm_config_noc"; - qcom,fabclk-dual = "bus_clk"; - qcom,fabclk-active = "bus_a_clk"; - qcom,ntieredslaves = <0>; - qcom,hw-sel = "NoC"; - qcom,rpm-en; - - mas-rpm-inst { - cell-id = <72>; - label = "mas-rpm-inst"; - qcom,masterp = <0>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <45>; - }; - - mas-rpm-data { - cell-id = <73>; - label = "mas-rpm-data"; - qcom,masterp = <1>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <46>; - }; - - mas-rpm-sys { - cell-id = <74>; - label = "mas-rpm-sys"; - qcom,masterp = <2>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <47>; - }; - - mas-dehr { - cell-id = <75>; - label = "mas-dehr"; - qcom,masterp = <3>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <48>; - }; - - mas-qdss-dsp { - cell-id = <76>; - label = "mas-qdss-dap"; - qcom,masterp = <4>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <49>; - }; - - mas-spdm { - cell-id = <36>; - label = "mas-spdm"; - qcom,masterp = <5>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <50>; - }; - - mas-tic { - cell-id = <77>; - label = "mas-tic"; - qcom,masterp = <6>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <51>; - }; - - slv-clk-ctl { - cell-id = <620>; - label = "slv-clk-ctl"; - qcom,slavep = <1>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <47>; - }; - - slv-cnoc-mss { - cell-id = <621>; - label = "slv-cnoc-mss"; - qcom,slavep = <2>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <48>; - }; - - slv-security { - cell-id = <622>; - label = "slv-security"; - qcom,slavep = <3>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <49>; - }; - - slv-tcsr { - cell-id = <623>; - label = "slv-tcsr"; - qcom,slavep = <4>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <50>; - }; - - slv-tlmm { - cell-id = <624>; - label = "slv-tlmm"; - qcom,slavep = <5>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <51>; - }; - - slv-crypto-0-cfg { - cell-id = <625>; - label = "slv-crypto-0-cfg"; - qcom,slavep = <6>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <52>; - }; - - slv-imem-cfg { - cell-id = <627>; - label = "slv-imem-cfg"; - qcom,slavep = <7>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <54>; - }; - - slv-message-ram { - cell-id = <628>; - label = "slv-message-ram"; - qcom,slavep = <8>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <55>; - }; - - slv-bimc-cfg { - cell-id = <629>; - label = "slv-bimc-cfg"; - qcom,slavep = <9>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <56>; - }; - - slv-boot-rom { - cell-id = <630>; - label = "slv-boot-rom"; - qcom,slavep = <10>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <57>; - }; - - slv-pmic-arb { - cell-id = <632>; - label = "slv-pmic-arb"; - qcom,slavep = <12>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <59>; - }; - - slv-spdm-wrapper { - cell-id = <633>; - label = "slv-spdm-wrapper"; - qcom,slavep = <13>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <60>; - }; - - slv-dehr-cfg { - cell-id = <634>; - label = "slv-dehr-cfg"; - qcom,slavep = <14>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <61>; - }; - - slv-mpm { - cell-id = <536>; - label = "slv-mpm"; - qcom,slavep = <15>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <62>; - }; - - slv-qdss-cfg { - cell-id = <635>; - label = "slv-qdss-cfg"; - qcom,slavep = <16>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <63>; - }; - - slv-rbcpr-cfg { - cell-id = <636>; - label = "slv-rbcpr-cfg"; - qcom,slavep = <17>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <64>; - }; - - slv-rbcpr-qdss-apu-cfg { - cell-id = <637>; - label = "slv-rbcpr-qdss-apu-cfg"; - qcom,slavep = <18>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <65>; - }; - - fab-snoc { - cell-id = <1024>; - label = "fab-snoc"; - qcom,gateway; - qcom,slavep = <26>; - qcom,masterp = <7>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <52>; - qcom,slv-hw-id = <75>; - }; - - slv-cnoc-mnoc-mmss-cfg { - cell-id = <631>; - label = "slv-cnoc-mnoc-mmss-cfg"; - qcom,slavep = <11>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <58>; - }; - - slv-cnoc-mnoc-cfg { - cell-id = <640>; - label = "slv-cnoc-mnoc-cfg"; - qcom,slavep = <19>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <66>; - }; - - slv-pnoc-cfg { - cell-id = <641>; - label = "slv-pnoc-cfg"; - qcom,slavep = <21>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <69>; - }; - - slv-snoc-mpu-cfg { - cell-id = <638>; - label = "slv-snoc-mpu-cfg"; - qcom,slavep = <20>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <67>; - }; - - slv-snoc-cfg { - cell-id = <642>; - label = "slv-snoc-cfg"; - qcom,slavep = <22>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <70>; - }; - - slv-phy-apu-cfg { - cell-id = <644>; - label = "slv-phy-apu-cfg"; - qcom,slavep = <23>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <72>; - }; - - slv-ebi1-phy-cfg { - cell-id = <645>; - label = "slv-ebi1-phy-cfg"; - qcom,slavep = <24>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <73>; - }; - - slv-rpm { - cell-id = <534>; - label = "slv-rpm"; - qcom,slavep = <25>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <74>; - }; - - slv-service-cnoc { - cell-id = <646>; - label = "slv-service-cnoc"; - qcom,slavep = <27>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <76>; - }; - - }; - - msm-bimc@0xfc380000 { - compatible = "msm-bus-fabric"; - reg = <0xfc380000 0x0006A000>; - cell-id = <0>; - label = "msm_bimc"; - qcom,fabclk-dual = "mem_clk"; - qcom,fabclk-active = "mem_a_clk"; - qcom,ntieredslaves = <0>; - qcom,qos-freq = <4800>; - qcom,hw-sel = "BIMC"; - qcom,rpm-en; - - mas-ampss-m0 { - cell-id = <1>; - label = "mas-ampss-m0"; - qcom,masterp = <0>; - qcom,tier = <2>; - qcom,hw-sel = "BIMC"; - qcom,mode = "Fixed"; - qcom,qport = <0>; - qcom,ws = <10000>; - qcom,mas-hw-id = <0>; - qcom,prio-rd = <0>; - qcom,prio-wr = <0>; - }; - - mas-mss-proc { - cell-id = <65>; - label = "mas-mss-proc"; - qcom,masterp = <1>; - qcom,tier = <2>; - qcom,hw-sel = "RPM"; - qcom,mas-hw-id = <1>; - }; - - fab-mmss-noc { - cell-id = <2048>; - label = "fab_mmss_noc"; - qcom,gateway; - qcom,masterp = <2>; - qcom,qport = <2>; - qcom,buswidth = <8>; - qcom,ws = <10000>; - qcom,mas-hw-id = <2>; - qcom,hw-sel = "BIMC"; - qcom,mode = "Bypass"; - }; - - fab-snoc { - cell-id = <1024>; - label = "fab-snoc"; - qcom,gateway; - qcom,slavep = <2>; - qcom,masterp = <4>; - qcom,qport = <4>; - qcom,buswidth = <8>; - qcom,ws = <10000>; - qcom,mas-hw-id = <3>; - qcom,slv-hw-id = <2>; - qcom,mode = "Bypass"; - qcom,hw-sel = "RPM"; - }; - - slv-ebi-ch0 { - cell-id = <512>; - label = "slv-ebi-ch0"; - qcom,slavep = <0>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <0>; - qcom,mode = "Bypass"; - }; - - slv-ampss-l2 { - cell-id = <514>; - label = "slv-ampss-l2"; - qcom,slavep = <1>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <1>; - }; - }; - - msm-ocmem-vnoc@6144 { - compatible = "msm-bus-fabric"; - reg = <0x6144 0x2>; - cell-id = <6144>; - label = "msm-ocmem-vnoc"; - qcom,ntieredslaves = <0>; - qcom,hw-sel = "NoC"; - qcom,rpm-en; - qcom,virt; - - mas-v-ocmem-gfx3d { - cell-id = <89>; - label = "mas-v-ocmem-gfx3d"; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <55>; - }; - - slv-ocmem { - cell-id = <604>; - label = "slv-ocmem"; - qcom,slavep = <0 1>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,slv-hw-id = <18>; - qcom,slaveclk-dual = "ocmem_clk"; - qcom,slaveclk-active = "ocmem_a_clk"; - }; - - fab-snoc { - cell-id = <1024>; - label = "fab-snoc"; - qcom,gateway; - qcom,buswidth = <32>; - qcom,ws = <10000>; - qcom,mas-hw-id = <57>; - qcom,slv-hw-id = <80>; - }; - - fab-onoc { - cell-id = <3072>; - label = "fab-onoc"; - qcom,gateway; - qcom,buswidth = <16>; - qcom,ws = <10000>; - qcom,mas-hw-id = <56>; - qcom,slv-hw-id = <79>; - }; - - }; -}; - - diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8226-camera-sensor-cdp.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v1/msm8226-camera-sensor-cdp.dtsi deleted file mode 100644 index 41d6b7e79..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8226-camera-sensor-cdp.dtsi +++ /dev/null @@ -1,108 +0,0 @@ -/* - * Copyright (c) 2013, 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. - */ - -&soc { - - led_flash0: qcom,camera-led-flash { - cell-index = <0>; - compatible = "qcom,camera-led-flash"; - qcom,flash-type = <1>; - qcom,flash-source = <&pm8226_flash0 &pm8226_flash1>; - }; -}; - -&cci { - - actuator0: qcom,actuator@6e { - cell-index = <3>; - reg = <0x6c>; - compatible = "qcom,actuator"; - qcom,cci-master = <0>; - }; - - qcom,camera@6f { - compatible = "qcom,ov8825"; - reg = <0x6f>; - qcom,slave-id = <0x6c 0x300a 0x8825>; - qcom,csiphy-sd-index = <0>; - qcom,csid-sd-index = <0>; - qcom,actuator-src = <&actuator0>; - qcom,led-flash-src = <&led_flash0>; - qcom,mount-angle = <0>; - qcom,sensor-name = "ov8825"; - cam_vdig-supply = <&pm8226_l5>; - cam_vana-supply = <&pm8226_l19>; - cam_vio-supply = <&pm8226_lvs1>; - cam_vaf-supply = <&pm8226_l15>; - qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana", - "cam_vaf"; - qcom,cam-vreg-type = <0 1 0 0>; - qcom,cam-vreg-min-voltage = <1200000 0 2850000 2800000>; - qcom,cam-vreg-max-voltage = <1200000 0 2850000 2800000>; - qcom,cam-vreg-op-mode = <200000 0 80000 100000>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 26 0>, - <&msmgpio 37 0>, - <&msmgpio 36 0>; - qcom,gpio-reset = <1>; - qcom,gpio-standby = <2>; - qcom,gpio-req-tbl-num = <0 1 2>; - qcom,gpio-req-tbl-flags = <1 0 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1", - "CAM_STANDBY"; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x1f>; - qcom,sensor-position = <0>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - }; - - qcom,camera@6d { - compatible = "qcom,ov9724"; - reg = <0x6d>; - qcom,slave-id = <0x20 0x0 0x9724>; - qcom,csiphy-sd-index = <1>; - qcom,csid-sd-index = <1>; - qcom,mount-angle = <0>; - qcom,sensor-name = "ov9724"; - cam_vdig-supply = <&pm8226_l5>; - cam_vana-supply = <&pm8226_l19>; - cam_vio-supply = <&pm8226_lvs1>; - qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana"; - qcom,cam-vreg-type = <0 1 0>; - qcom,cam-vreg-min-voltage = <1200000 0 2850000>; - qcom,cam-vreg-max-voltage = <1200000 0 2850000>; - qcom,cam-vreg-op-mode = <200000 0 80000>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 26 0>, - <&msmgpio 28 0>, - <&msmgpio 35 0>; - qcom,gpio-reset = <1>; - qcom,gpio-standby = <2>; - qcom,gpio-req-tbl-num = <0 1 2>; - qcom,gpio-req-tbl-flags = <1 0 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET", - "CAM_STANDBY"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 4000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x3>; - qcom,sensor-position = <1>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - status = "ok"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8226-camera-sensor-mtp.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v1/msm8226-camera-sensor-mtp.dtsi deleted file mode 100644 index 53860ac85..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8226-camera-sensor-mtp.dtsi +++ /dev/null @@ -1,108 +0,0 @@ -/* - * Copyright (c) 2013, 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. - */ - -&soc { - - led_flash0: qcom,camera-led-flash { - cell-index = <0>; - compatible = "qcom,camera-led-flash"; - qcom,flash-type = <1>; - qcom,flash-source = <&pm8226_flash0 &pm8226_flash1>; - }; -}; - -&cci { - - actuator0: qcom,actuator@6e { - cell-index = <3>; - reg = <0x6c>; - compatible = "qcom,actuator"; - qcom,cci-master = <0>; - }; - - qcom,camera@6f { - compatible = "qcom,ov8825"; - reg = <0x6f>; - qcom,slave-id = <0x6c 0x300a 0x8825>; - qcom,csiphy-sd-index = <0>; - qcom,csid-sd-index = <0>; - qcom,actuator-src = <&actuator0>; - qcom,led-flash-src = <&led_flash0>; - qcom,mount-angle = <0>; - qcom,sensor-name = "ov8825"; - cam_vdig-supply = <&pm8226_l5>; - cam_vana-supply = <&pm8226_l19>; - cam_vio-supply = <&pm8226_lvs1>; - cam_vaf-supply = <&pm8226_l15>; - qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana", - "cam_vaf"; - qcom,cam-vreg-type = <0 1 0 0>; - qcom,cam-vreg-min-voltage = <1200000 0 2850000 2800000>; - qcom,cam-vreg-max-voltage = <1200000 0 2850000 2800000>; - qcom,cam-vreg-op-mode = <200000 0 80000 100000>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 26 0>, - <&msmgpio 37 0>, - <&msmgpio 35 0>; - qcom,gpio-reset = <1>; - qcom,gpio-standby = <2>; - qcom,gpio-req-tbl-num = <0 1 2>; - qcom,gpio-req-tbl-flags = <1 0 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1", - "CAM_STANDBY"; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x1f>; - qcom,sensor-position = <0>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - }; - - qcom,camera@6d { - compatible = "qcom,ov9724"; - reg = <0x6d>; - qcom,slave-id = <0x20 0x0 0x9724>; - qcom,csiphy-sd-index = <1>; - qcom,csid-sd-index = <1>; - qcom,mount-angle = <270>; - qcom,sensor-name = "ov9724"; - cam_vdig-supply = <&pm8226_l5>; - cam_vana-supply = <&pm8226_l19>; - cam_vio-supply = <&pm8226_lvs1>; - qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana"; - qcom,cam-vreg-type = <0 1 0>; - qcom,cam-vreg-min-voltage = <1200000 0 2850000>; - qcom,cam-vreg-max-voltage = <1200000 0 2850000>; - qcom,cam-vreg-op-mode = <200000 0 80000>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 26 0>, - <&msmgpio 28 0>, - <&msmgpio 36 0>; - qcom,gpio-reset = <1>; - qcom,gpio-standby = <2>; - qcom,gpio-req-tbl-num = <0 1 2>; - qcom,gpio-req-tbl-flags = <1 0 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET", - "CAM_STANDBY"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 4000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x3>; - qcom,sensor-position = <1>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - status = "ok"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8226-camera-sensor-qrd.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v1/msm8226-camera-sensor-qrd.dtsi deleted file mode 100644 index 3935dbb78..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8226-camera-sensor-qrd.dtsi +++ /dev/null @@ -1,108 +0,0 @@ -/* - * Copyright (c) 2013, 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. - */ - -&soc { - - led_flash0: qcom,camera-led-flash { - cell-index = <0>; - compatible = "qcom,camera-led-flash"; - qcom,flash-type = <1>; - qcom,flash-source = <&pm8226_flash0 &pm8226_flash1>; - }; -}; - -&cci { - - actuator0: qcom,actuator@6e { - cell-index = <3>; - reg = <0x6c>; - compatible = "qcom,actuator"; - qcom,cci-master = <0>; - }; - - qcom,camera@6f { - compatible = "qcom,ov8825"; - reg = <0x6f>; - qcom,slave-id = <0x6c 0x300a 0x8825>; - qcom,csiphy-sd-index = <0>; - qcom,csid-sd-index = <0>; - qcom,actuator-src = <&actuator0>; - qcom,led-flash-src = <&led_flash0>; - qcom,mount-angle = <270>; - qcom,sensor-name = "ov8825"; - cam_vdig-supply = <&pm8226_l5>; - cam_vana-supply = <&pm8226_l19>; - cam_vio-supply = <&pm8226_lvs1>; - cam_vaf-supply = <&pm8226_l15>; - qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana", - "cam_vaf"; - qcom,cam-vreg-type = <0 1 0 0>; - qcom,cam-vreg-min-voltage = <1200000 0 2850000 2800000>; - qcom,cam-vreg-max-voltage = <1200000 0 2850000 2800000>; - qcom,cam-vreg-op-mode = <200000 0 80000 100000>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 26 0>, - <&msmgpio 37 0>, - <&msmgpio 36 0>; - qcom,gpio-reset = <1>; - qcom,gpio-standby = <2>; - qcom,gpio-req-tbl-num = <0 1 2>; - qcom,gpio-req-tbl-flags = <1 0 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1", - "CAM_STANDBY"; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x1f>; - qcom,sensor-position = <0>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - }; - - qcom,camera@6d { - compatible = "qcom,ov9724"; - reg = <0x6d>; - qcom,slave-id = <0x20 0x0 0x9724>; - qcom,csiphy-sd-index = <1>; - qcom,csid-sd-index = <1>; - qcom,mount-angle = <270>; - qcom,sensor-name = "ov9724"; - cam_vdig-supply = <&pm8226_l5>; - cam_vana-supply = <&pm8226_l19>; - cam_vio-supply = <&pm8226_lvs1>; - qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana"; - qcom,cam-vreg-type = <0 1 0>; - qcom,cam-vreg-min-voltage = <1200000 0 2850000>; - qcom,cam-vreg-max-voltage = <1200000 0 2850000>; - qcom,cam-vreg-op-mode = <200000 0 80000>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 26 0>, - <&msmgpio 28 0>, - <&msmgpio 35 0>; - qcom,gpio-reset = <1>; - qcom,gpio-standby = <2>; - qcom,gpio-req-tbl-num = <0 1 2>; - qcom,gpio-req-tbl-flags = <1 0 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET", - "CAM_STANDBY"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 4000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x3>; - qcom,sensor-position = <1>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - status = "ok"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8226-camera.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v1/msm8226-camera.dtsi deleted file mode 100644 index ec0092d43..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8226-camera.dtsi +++ /dev/null @@ -1,139 +0,0 @@ -/* - * Copyright (c) 2012-2013, 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. - */ - -&soc { - qcom,msm-cam@fd8c0000 { - compatible = "qcom,msm-cam"; - reg = <0xfd8c0000 0x10000>; - reg-names = "msm-cam"; - }; - - qcom,csiphy@fda0ac00 { - cell-index = <0>; - compatible = "qcom,csiphy"; - reg = <0xfda0ac00 0x200>, - <0xfda00030 0x4>; - reg-names = "csiphy", "csiphy_clk_mux"; - interrupts = <0 78 0>; - interrupt-names = "csiphy"; - }; - - qcom,csiphy@fda0b000 { - cell-index = <1>; - compatible = "qcom,csiphy"; - reg = <0xfda0b000 0x200>, - <0xfda00038 0x4>; - reg-names = "csiphy", "csiphy_clk_mux"; - interrupts = <0 79 0>; - interrupt-names = "csiphy"; - }; - - qcom,csid@fda08000 { - cell-index = <0>; - compatible = "qcom,csid"; - reg = <0xfda08000 0x100>; - reg-names = "csid"; - interrupts = <0 51 0>; - interrupt-names = "csid"; - qcom,csi-vdd-voltage = <1200000>; - qcom,mipi-csi-vdd-supply = <&pm8226_l4>; - }; - - qcom,csid@fda08400 { - cell-index = <1>; - compatible = "qcom,csid"; - reg = <0xfda08400 0x100>; - reg-names = "csid"; - interrupts = <0 52 0>; - interrupt-names = "csid"; - qcom,csi-vdd-voltage = <1200000>; - qcom,mipi-csi-vdd-supply = <&pm8226_l4>; - }; - - qcom,ispif@fda0a000 { - cell-index = <0>; - compatible = "qcom,ispif"; - reg = <0xfda0a000 0x500>, - <0xfda00020 0x10>; - reg-names = "ispif", "csi_clk_mux"; - interrupts = <0 55 0>; - interrupt-names = "ispif"; - }; - - qcom,vfe@fda10000 { - cell-index = <0>; - compatible = "qcom,vfe40"; - reg = <0xfda10000 0x1000>, - <0xfda40000 0x200>; - reg-names = "vfe", "vfe_vbif"; - interrupts = <0 57 0>; - interrupt-names = "vfe"; - vdd-supply = <&gdsc_vfe>; - }; - - qcom,jpeg@fda1c000 { - cell-index = <0>; - compatible = "qcom,jpeg"; - reg = <0xfda1c000 0x400>; - reg-names = "jpeg"; - interrupts = <0 59 0>; - interrupt-names = "jpeg"; - vdd-supply = <&gdsc_jpeg>; - }; - - qcom,irqrouter@fda00000 { - cell-index = <0>; - compatible = "qcom,irqrouter"; - reg = <0xfda00000 0x100>; - reg-names = "irqrouter"; - }; - - qcom,cpp@fda04000 { - cell-index = <0>; - compatible = "qcom,cpp"; - reg = <0xfda04000 0x100>, - <0xfda40000 0x200>, - <0xfda18000 0x008>; - reg-names = "cpp", "cpp_vbif", "cpp_hw"; - interrupts = <0 49 0>; - interrupt-names = "cpp"; - vdd-supply = <&gdsc_vfe>; - }; - - cci: qcom,cci@fda0c000 { - cell-index = <0>; - compatible = "qcom,cci"; - reg = <0xfda0c000 0x1000>; - #address-cells = <1>; - #size-cells = <0>; - reg-names = "cci"; - interrupts = <0 50 0>; - interrupt-names = "cci"; - gpios = <&msmgpio 29 0>, - <&msmgpio 30 0>; - qcom,gpio-tbl-num = <0 1>; - qcom,gpio-tbl-flags = <1 1>; - qcom,gpio-tbl-label = "CCI_I2C_DATA0", - "CCI_I2C_CLK0"; - qcom,hw-thigh = <78>; - qcom,hw-tlow = <114>; - qcom,hw-tsu-sto = <28>; - qcom,hw-tsu-sta = <28>; - qcom,hw-thd-dat = <10>; - qcom,hw-thd-sta = <77>; - qcom,hw-tbuf = <118>; - qcom,hw-scl-stretch-en = <0>; - qcom,hw-trdhld = <6>; - qcom,hw-tsp = <1>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8226-cdp.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v1/msm8226-cdp.dtsi deleted file mode 100644 index da9ad8c0a..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8226-cdp.dtsi +++ /dev/null @@ -1,393 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/include/ "dsi-panel-nt35590-720p-video.dtsi" -/include/ "msm8226-camera-sensor-cdp.dtsi" - -&soc { - serial@f991f000 { - status = "ok"; - }; - - qcom,mdss_dsi_nt35590_720p_video { - status = "ok"; - }; - - i2c@f9927000 { /* BLSP1 QUP5 */ - synaptics@20 { - compatible = "synaptics,rmi4"; - reg = <0x20>; - interrupt-parent = <&msmgpio>; - interrupts = <17 0x2008>; - vdd-supply = <&pm8226_l19>; - vcc_i2c-supply = <&pm8226_lvs1>; - synaptics,reset-gpio = <&msmgpio 16 0x00>; - synaptics,irq-gpio = <&msmgpio 17 0x2008>; - synaptics,button-map = <139 102 158>; - synaptics,i2c-pull-up; - }; - }; - - gpio_keys { - compatible = "gpio-keys"; - input-name = "gpio-keys"; - - camera_focus { - label = "camera_focus"; - gpios = <&msmgpio 108 0x1>; - linux,input-type = <1>; - linux,code = <0x210>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - - camera_snapshot { - label = "camera_snapshot"; - gpios = <&msmgpio 107 0x1>; - linux,input-type = <1>; - linux,code = <0x2fe>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - - vol_up { - label = "volume_up"; - gpios = <&msmgpio 106 0x1>; - linux,input-type = <1>; - linux,code = <115>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - }; - - spi@f9923000 { - ethernet-switch@3 { - compatible = "micrel,ks8851"; - reg = <3>; - interrupt-parent = <&msmgpio>; - interrupts = <0 115 0>; - spi-max-frequency = <4800000>; - rst-gpio = <&msmgpio 114 0>; - vdd-io-supply = <&pm8226_lvs1>; - vdd-phy-supply = <&pm8226_lvs1>; - }; - }; - - sound { - qcom,audio-routing = - "RX_BIAS", "MCLK", - "LDO_H", "MCLK", - "SPK_OUT", "MCLK", - "SPK_OUT", "EXT_VDD_SPKR", - "AMIC1", "MIC BIAS1 Internal1", - "MIC BIAS1 Internal1", "Handset Mic", - "AMIC2", "MIC BIAS2 External", - "MIC BIAS2 External", "Headset Mic", - "AMIC4", "MIC BIAS2 External", - "MIC BIAS2 External", "ANCRight Headset Mic", - "AMIC5", "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"; - - qcom,cdc-mclk-gpios = <&pm8226_gpios 1 0>; - qcom,cdc-vdd-spkr-gpios = <&pm8226_gpios 2 0>; - qcom,headset-jack-type-NO; - }; -}; - -&sdcc1 { - vdd-supply = <&pm8226_l17>; - qcom,vdd-always-on; - qcom,vdd-lpm-sup; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <800 500000>; - - vdd-io-supply = <&pm8226_l6>; - qcom,vdd-io-always-on; - qcom,vdd-io-voltage-level = <1800000 1800000>; - qcom,vdd-io-current-level = <250 154000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - qcom,sup-voltages = <2950 2950>; - - qcom,bus-speed-mode = "HS200_1p8v", "DDR_1p8v"; - qcom,nonremovable; - - status = "disabled"; -}; - -&sdhc_1 { - vdd-supply = <&pm8226_l17>; - qcom,vdd-always-on; - qcom,vdd-lpm-sup; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <800 500000>; - - vdd-io-supply = <&pm8226_l6>; - qcom,vdd-io-always-on; - qcom,vdd-io-voltage-level = <1800000 1800000>; - qcom,vdd-io-current-level = <250 154000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - qcom,bus-speed-mode = "HS200_1p8v", "DDR_1p8v"; - qcom,nonremovable; - - status = "ok"; -}; - -&sdcc2 { - vdd-supply = <&pm8226_l18>; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <9000 800000>; - - vdd-io-supply = <&pm8226_l21>; - qcom,vdd-io-always-on; - qcom,vdd-io-lpm-sup; - qcom,vdd-io-voltage-level = <1800000 2950000>; - qcom,vdd-io-current-level = <6 22000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - qcom,sup-voltages = <2950 2950>; - - qcom,xpc; - qcom,bus-speed-mode = "SDR12", "SDR25", "SDR50", "DDR50", "SDR104"; - qcom,current-limit = <600>; - - #address-cells = <0>; - interrupt-parent = <&sdcc2>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 125 0 - 1 &intc 0 220 0 - 2 &msmgpio 38 0x3>; - interrupt-names = "core_irq", "bam_irq", "status_irq"; - cd-gpios = <&msmgpio 38 0x1>; - - status = "disabled"; -}; - -&sdhc_2 { - vdd-supply = <&pm8226_l18>; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <9000 800000>; - - vdd-io-supply = <&pm8226_l21>; - qcom,vdd-io-always-on; - qcom,vdd-io-lpm-sup; - qcom,vdd-io-voltage-level = <1800000 2950000>; - qcom,vdd-io-current-level = <6 22000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - - #address-cells = <0>; - interrupt-parent = <&sdhc_2>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 125 0 - 1 &intc 0 221 0 - 2 &msmgpio 38 0x3>; - interrupt-names = "hc_irq", "pwr_irq", "status_irq"; - cd-gpios = <&msmgpio 38 0x1>; - - status = "ok"; -}; - -&spmi_bus { - qcom,pm8226@0 { - qcom,leds@a100 { - status = "okay"; - qcom,led_mpp_2 { - label = "mpp"; - linux,name = "button-backlight"; - linux,default-trigger = "none"; - qcom,default-state = "off"; - qcom,max-current = <40>; - qcom,current-setting = <5>; - qcom,id = <6>; - qcom,mode = "manual"; - qcom,source-sel = <1>; - qcom,mode-ctrl = <0x60>; - }; - }; - - qcom,leds@a300 { - status = "okay"; - qcom,led_mpp_4 { - label = "mpp"; - linux,name = "green"; - linux,default-trigger = "none"; - qcom,default-state = "off"; - qcom,max-current = <40>; - qcom,current-setting = <5>; - qcom,id = <6>; - qcom,mode = "pwm"; - qcom,pwm-us = <1000>; - qcom,source-sel = <8>; - qcom,mode-ctrl = <0x60>; - qcom,pwm-channel = <0>; - qcom,start-idx = <1>; - qcom,duty-pcts = [00 00 00 00 64 - 64 00 00 00 00]; - qcom,use-blink; - }; - }; - - qcom,leds@a500 { - status = "okay"; - qcom,led_mpp_6 { - label = "mpp"; - linux,name = "red"; - linux,default-trigger = "none"; - qcom,default-state = "off"; - qcom,max-current = <40>; - qcom,current-setting = <5>; - qcom,id = <6>; - qcom,mode = "pwm"; - qcom,pwm-us = <1000>; - qcom,mode-ctrl = <0x60>; - qcom,source-sel = <10>; - qcom,pwm-channel = <5>; - qcom,start-idx = <1>; - qcom,duty-pcts = [00 00 00 00 64 - 64 00 00 00 00]; - qcom,use-blink; - }; - }; - }; - - qcom,pm8226@1 { - qcom,leds@d800 { - status = "okay"; - qcom,wled_0 { - label = "wled"; - linux,name = "wled:backlight"; - linux,default-trigger = "bkl-trigger"; - qcom,cs-out-en; - qcom,op-fdbck = <1>; - qcom,default-state = "on"; - qcom,max-current = <20>; - qcom,ctrl-delay-us = <0>; - qcom,boost-curr-lim = <3>; - qcom,cp-sel = <0>; - qcom,switch-freq = <2>; - qcom,ovp-val = <0>; - qcom,num-strings = <1>; - qcom,id = <0>; - }; - }; - }; -}; - -&pm8226_gpios { - gpio@c000 { /* GPIO 1 */ - /* XO_PMIC_CDC_MCLK enable for tapan codec */ - qcom,mode = <1>; /* Digital output */ - qcom,output-type = <0>; /* CMOS logic */ - qcom,pull = <5>; /* QPNP_PIN_PULL_NO*/ - qcom,vin-sel = <3>; /* QPNP_PIN_VIN3 */ - qcom,out-strength = <3>;/* QPNP_PIN_OUT_STRENGTH_HIGH */ - qcom,src-sel = <2>; /* QPNP_PIN_SEL_FUNC_1 */ - qcom,master-en = <1>; /* Enable GPIO */ - }; - - gpio@c100 { /* GPIO 2 */ - qcom,mode = <1>; - qcom,output-type = <0>; - qcom,pull = <5>; - qcom,vin-sel = <3>; - qcom,out-strength = <3>; - qcom,src-sel = <2>; - qcom,master-en = <1>; - }; - - gpio@c200 { /* GPIO 3 */ - }; - - gpio@c300 { /* GPIO 4 */ - }; - - gpio@c400 { /* GPIO 5 */ - }; - - gpio@c500 { /* GPIO 6 */ - }; - - gpio@c600 { /* GPIO 7 */ - }; - - gpio@c700 { /* GPIO 8 */ - }; -}; - -&pm8226_mpps { - mpp@a000 { /* MPP 1 */ - }; - - mpp@a100 { /* MPP 2 */ - }; - - mpp@a200 { /* MPP 3 */ - }; - - mpp@a300 { /* MPP 4 */ - }; - - mpp@a400 { /* MPP 5 */ - }; - - mpp@a500 { /* MPP 6 */ - }; - - mpp@a600 { /* MPP 7 */ - }; - - mpp@a700 { /* MPP 8 */ - }; -}; - -&pm8226_chg { - qcom,charging-disabled; - qcom,use-default-batt-values; -}; - -&usb_otg_sw { - status = "okay"; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8226-coresight.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v1/msm8226-coresight.dtsi deleted file mode 100644 index e11c963c6..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8226-coresight.dtsi +++ /dev/null @@ -1,377 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -&soc { - tmc_etr: tmc@fc322000 { - compatible = "arm,coresight-tmc"; - reg = <0xfc322000 0x1000>, - <0xfc37c000 0x3000>; - reg-names = "tmc-base", "bam-base"; - - qcom,memory-reservation-type = "EBI1"; - qcom,memory-reservation-size = <0x100000>; /* 1M EBI1 buffer */ - - coresight-id = <0>; - coresight-name = "coresight-tmc-etr"; - coresight-nr-inports = <1>; - coresight-ctis = <&cti0 &cti8>; - }; - - tpiu: tpiu@fc318000 { - compatible = "arm,coresight-tpiu"; - reg = <0xfc318000 0x1000>; - reg-names = "tpiu-base"; - - coresight-id = <1>; - coresight-name = "coresight-tpiu"; - coresight-nr-inports = <1>; - - vdd-supply = <&pm8226_l18>; - - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <9000 800000>; - }; - - replicator: replicator@fc31c000 { - compatible = "qcom,coresight-replicator"; - reg = <0xfc31c000 0x1000>; - reg-names = "replicator-base"; - - coresight-id = <2>; - coresight-name = "coresight-replicator"; - coresight-nr-inports = <1>; - coresight-outports = <0 1>; - coresight-child-list = <&tmc_etr &tpiu>; - coresight-child-ports = <0 0>; - }; - - tmc_etf: tmc@fc307000 { - compatible = "arm,coresight-tmc"; - reg = <0xfc307000 0x1000>; - reg-names = "tmc-base"; - - coresight-id = <3>; - coresight-name = "coresight-tmc-etf"; - coresight-nr-inports = <1>; - coresight-outports = <0>; - coresight-child-list = <&replicator>; - coresight-child-ports = <0>; - coresight-default-sink; - coresight-ctis = <&cti0 &cti8>; - }; - - funnel_merg: funnel@fc31b000 { - compatible = "arm,coresight-funnel"; - reg = <0xfc31b000 0x1000>; - reg-names = "funnel-base"; - - coresight-id = <4>; - coresight-name = "coresight-funnel-merg"; - coresight-nr-inports = <2>; - coresight-outports = <0>; - coresight-child-list = <&tmc_etf>; - coresight-child-ports = <0>; - }; - - funnel_in0: funnel@fc319000 { - compatible = "arm,coresight-funnel"; - reg = <0xfc319000 0x1000>; - reg-names = "funnel-base"; - - coresight-id = <5>; - coresight-name = "coresight-funnel-in0"; - coresight-nr-inports = <8>; - coresight-outports = <0>; - coresight-child-list = <&funnel_merg>; - coresight-child-ports = <0>; - }; - - funnel_in1: funnel@fc31a000 { - compatible = "arm,coresight-funnel"; - reg = <0xfc31a000 0x1000>; - reg-names = "funnel-base"; - - coresight-id = <6>; - coresight-name = "coresight-funnel-in1"; - coresight-nr-inports = <8>; - coresight-outports = <0>; - coresight-child-list = <&funnel_merg>; - coresight-child-ports = <1>; - }; - - funnel_a7ss: funnel@fc345000 { - compatible = "arm,coresight-funnel"; - reg = <0xfc345000 0x1000>; - reg-names = "funnel-base"; - - coresight-id = <7>; - coresight-name = "coresight-funnel-a7ss"; - coresight-nr-inports = <4>; - coresight-outports = <0>; - coresight-child-list = <&funnel_in1>; - coresight-child-ports = <5>; - }; - - funnel_mmss: funnel@fc364000 { - compatible = "arm,coresight-funnel"; - reg = <0xfc364000 0x1000>; - reg-names = "funnel-base"; - - - coresight-id = <8>; - coresight-name = "coresight-funnel-mmss"; - coresight-nr-inports = <8>; - coresight-outports = <0>; - coresight-child-list = <&funnel_in1>; - coresight-child-ports = <1>; - }; - - stm: stm@fc321000 { - compatible = "arm,coresight-stm"; - reg = <0xfc321000 0x1000>, - <0xfa280000 0x180000>; - reg-names = "stm-base", "stm-data-base"; - - coresight-id = <9>; - coresight-name = "coresight-stm"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_in1>; - coresight-child-ports = <7>; - }; - - etm0: etm@fc33c000 { - compatible = "arm,coresight-etm"; - reg = <0xfc33c000 0x1000>; - reg-names = "etm-base"; - - coresight-id = <10>; - coresight-name = "coresight-etm0"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_a7ss>; - coresight-child-ports = <0>; - - qcom,round-robin; - }; - - etm1: etm@fc33d000 { - compatible = "arm,coresight-etm"; - reg = <0xfc33d000 0x1000>; - reg-names = "etm-base"; - - coresight-id = <11>; - coresight-name = "coresight-etm1"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_a7ss>; - coresight-child-ports = <1>; - - qcom,round-robin; - }; - - etm2: etm@fc33e000 { - compatible = "arm,coresight-etm"; - reg = <0xfc33e000 0x1000>; - reg-names = "etm-base"; - - coresight-id = <12>; - coresight-name = "coresight-etm2"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_a7ss>; - coresight-child-ports = <2>; - - qcom,round-robin; - }; - - etm3: etm@fc33f000 { - compatible = "arm,coresight-etm"; - reg = <0xfc33f000 0x1000>; - reg-names = "etm-base"; - - coresight-id = <13>; - coresight-name = "coresight-etm3"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_a7ss>; - coresight-child-ports = <3>; - - qcom,round-robin; - }; - - csr: csr@fc302000 { - compatible = "qcom,coresight-csr"; - reg = <0xfc302000 0x1000>; - reg-names = "csr-base"; - - coresight-id = <14>; - coresight-name = "coresight-csr"; - coresight-nr-inports = <0>; - - qcom,blk-size = <1>; - }; - - cti0: cti@fc308000 { - compatible = "arm,coresight-cti"; - reg = <0xfc308000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <15>; - coresight-name = "coresight-cti0"; - coresight-nr-inports = <0>; - }; - - cti1: cti@fc309000 { - compatible = "arm,coresight-cti"; - reg = <0xfc309000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <16>; - coresight-name = "coresight-cti1"; - coresight-nr-inports = <0>; - }; - - cti2: cti@fc30a000 { - compatible = "arm,coresight-cti"; - reg = <0xfc30a000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <17>; - coresight-name = "coresight-cti2"; - coresight-nr-inports = <0>; - }; - - cti3: cti@fc30b000 { - compatible = "arm,coresight-cti"; - reg = <0xfc30b000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <18>; - coresight-name = "coresight-cti3"; - coresight-nr-inports = <0>; - }; - - cti4: cti@fc30c000 { - compatible = "arm,coresight-cti"; - reg = <0xfc30c000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <19>; - coresight-name = "coresight-cti4"; - coresight-nr-inports = <0>; - }; - - cti5: cti@fc30d000 { - compatible = "arm,coresight-cti"; - reg = <0xfc30d000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <20>; - coresight-name = "coresight-cti5"; - coresight-nr-inports = <0>; - }; - - cti6: cti@fc30e000 { - compatible = "arm,coresight-cti"; - reg = <0xfc30e000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <21>; - coresight-name = "coresight-cti6"; - coresight-nr-inports = <0>; - }; - - cti7: cti@fc30f000 { - compatible = "arm,coresight-cti"; - reg = <0xfc30f000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <22>; - coresight-name = "coresight-cti7"; - coresight-nr-inports = <0>; - }; - - cti8: cti@fc310000 { - compatible = "arm,coresight-cti"; - reg = <0xfc310000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <23>; - coresight-name = "coresight-cti8"; - coresight-nr-inports = <0>; - }; - - cti_l2: cti@fc340000 { - compatible = "arm,coresight-cti"; - reg = <0xfc340000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <24>; - coresight-name = "coresight-cti-l2"; - coresight-nr-inports = <0>; - }; - - cti_cpu0: cti@fc341000 { - compatible = "arm,coresight-cti"; - reg = <0xfc341000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <25>; - coresight-name = "coresight-cti-cpu0"; - coresight-nr-inports = <0>; - }; - - cti_cpu1: cti@fc342000 { - compatible = "arm,coresight-cti"; - reg = <0xfc342000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <26>; - coresight-name = "coresight-cti-cpu1"; - coresight-nr-inports = <0>; - }; - - cti_cpu2: cti@fc343000 { - compatible = "arm,coresight-cti"; - reg = <0xfc343000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <27>; - coresight-name = "coresight-cti-cpu2"; - coresight-nr-inports = <0>; - }; - - cti_cpu3: cti@fc344000 { - compatible = "arm,coresight-cti"; - reg = <0xfc344000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <28>; - coresight-name = "coresight-cti-cpu3"; - coresight-nr-inports = <0>; - }; - - hwevent: hwevent@fd828018 { - compatible = "qcom,coresight-hwevent"; - reg = <0xfd828018 0x80>, - <0xf9011080 0x80>, - <0xfd4ab160 0x80>; - reg-names = "mmss-mux", "apcs-mux", "ppss-mux"; - - coresight-id = <29>; - coresight-name = "coresight-hwevent"; - coresight-nr-inports = <0>; - - qcom,hwevent-clks = "core_mmss_clk"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8226-fluid.dts b/kernel/arch/arm/boot/dts/m7350-un-v1/msm8226-fluid.dts deleted file mode 100644 index c58b43b4b..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8226-fluid.dts +++ /dev/null @@ -1,33 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; -/include/ "msm8226.dtsi" - -/ { - model = "Qualcomm MSM 8226 FLUID"; - compatible = "qcom,msm8226-fluid", "qcom,msm8226", "qcom,fluid"; - qcom,msm-id = <145 3 0>, - <158 3 0>, - <159 3 0>, - <198 3 0>; -}; - -&soc { - serial@f991f000 { - status = "disabled"; - }; -}; - -&pm8226_bms { - status = "ok"; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8226-gpu.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v1/msm8226-gpu.dtsi deleted file mode 100644 index 590f73395..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8226-gpu.dtsi +++ /dev/null @@ -1,161 +0,0 @@ -/* Copyright (c) 2013, 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. - */ -&soc { - msm_gpu: qcom,kgsl-3d0@fdb00000 { - label = "kgsl-3d0"; - compatible = "qcom,kgsl-3d0", "qcom,kgsl-3d"; - reg = <0xfdb00000 0x10000 - 0xfdb20000 0x10000>; - reg-names = "kgsl_3d0_reg_memory" , "kgsl_3d0_shader_memory"; - interrupts = <0 33 0>; - interrupt-names = "kgsl_3d0_irq"; - qcom,id = <0>; - - qcom,chipid = <0x03000510>; - - qcom,initial-pwrlevel = <1>; - - qcom,idle-timeout = <8>; // - qcom,strtstp-sleepwake; - qcom,clk-map = <0x00000016>; /* KGSL_CLK_CORE | KGSL_CLK_IFACE | KGSL_CLK_MEM_IFACE */ - - /* Bus Scale Settings */ - qcom,msm-bus,name = "grp3d"; - qcom,msm-bus,num-cases = <4>; - qcom,msm-bus,num-paths = <2>; - qcom,msm-bus,vectors-KBps = - <26 512 0 0>, <89 604 0 0>, - <26 512 0 1600000>, <89 604 0 3200000>, - <26 512 0 3200000>, <89 604 0 5120000>, - <26 512 0 4256000>, <89 604 0 6400000>; - - - /* GDSC oxili regulators */ - vddcx-supply = "\0"; - vdd-supply = <&gdsc_oxili_cx>; - - - /* IOMMU Data */ - iommu = <&kgsl_iommu>; - - /* Power levels */ - qcom,gpu-pwrlevels { - #address-cells = <1>; - #size-cells = <0>; - - compatible = "qcom,gpu-pwrlevels"; - - qcom,gpu-pwrlevel@0 { - reg = <0>; - qcom,gpu-freq = <450000000>; - qcom,bus-freq = <3>; - qcom,io-fraction = <0>; - }; - - qcom,gpu-pwrlevel@1 { - reg = <1>; - qcom,gpu-freq = <320000000>; - qcom,bus-freq = <2>; - qcom,io-fraction = <33>; - }; - - qcom,gpu-pwrlevel@2 { - reg = <2>; - qcom,gpu-freq = <200000000>; - qcom,bus-freq = <1>; - qcom,io-fraction = <100>; - }; - - qcom,gpu-pwrlevel@3 { - reg = <3>; - qcom,gpu-freq = <19000000>; - qcom,bus-freq = <0>; - qcom,io-fraction = <0>; - }; - }; - - qcom,dcvs-core-info { - #address-cells = <1>; - #size-cells = <0>; - - compatible = "qcom,dcvs-core-info"; - - qcom,num-cores = <1>; - qcom,sensors = <0>; - - qcom,core-core-type = <1>; - - qcom,algo-disable-pc-threshold = <0>; - qcom,algo-em-win-size-min-us = <100000>; - qcom,algo-em-win-size-max-us = <300000>; - qcom,algo-em-max-util-pct = <97>; - qcom,algo-group-id = <95>; - qcom,algo-max-freq-chg-time-us = <100000>; - qcom,algo-slack-mode-dynamic = <100000>; - qcom,algo-slack-weight-thresh-pct = <0>; - qcom,algo-slack-time-min-us = <39000>; - qcom,algo-slack-time-max-us = <39000>; - qcom,algo-ss-win-size-min-us = <1000000>; - qcom,algo-ss-win-size-max-us = <1000000>; - qcom,algo-ss-util-pct = <95>; - qcom,algo-ss-no-corr-below-freq = <0>; - - qcom,energy-active-coeff-a = <2492>; - qcom,energy-active-coeff-b = <0>; - qcom,energy-active-coeff-c = <0>; - qcom,energy-leakage-coeff-a = <11>; - qcom,energy-leakage-coeff-b = <157150>; - qcom,energy-leakage-coeff-c = <0>; - qcom,energy-leakage-coeff-d = <0>; - - qcom,power-current-temp = <25>; - qcom,power-num-freq = <4>; - - qcom,dcvs-freq@0 { - reg = <0>; - qcom,freq = <0>; - qcom,voltage = <0>; - qcom,is_trans_level = <0>; - qcom,active-energy-offset = <100>; - qcom,leakage-energy-offset = <0>; - }; - - qcom,dcvs-freq@1 { - reg = <1>; - qcom,freq = <0>; - qcom,voltage = <0>; - qcom,is_trans_level = <0>; - qcom,active-energy-offset = <100>; - qcom,leakage-energy-offset = <0>; - }; - - qcom,dcvs-freq@2 { - reg = <2>; - qcom,freq = <0>; - qcom,voltage = <0>; - qcom,is_trans_level = <0>; - qcom,active-energy-offset = <100>; - qcom,leakage-energy-offset = <0>; - }; - - qcom,dcvs-freq@3 { - reg = <3>; - qcom,freq = <0>; - qcom,voltage = <0>; - qcom,is_trans_level = <0>; - qcom,active-energy-offset = <844545>; - qcom,leakage-energy-offset = <0>; - }; - }; - - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8226-iommu-domains.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v1/msm8226-iommu-domains.dtsi deleted file mode 100644 index 25fca2a54..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8226-iommu-domains.dtsi +++ /dev/null @@ -1,31 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -&soc { - qcom,iommu-domains { - compatible = "qcom,iommu-domains"; - - venus_domain_ns: qcom,iommu-domain1 { - label = "venus_ns"; - qcom,iommu-contexts = <&venus_ns>; - qcom,virtual-addr-pool = <0x40000000 0x3f000000 - 0x7f000000 0x1000000>; - }; - - venus_domain_cp: qcom,iommu-domain2 { - label = "venus_cp"; - qcom,iommu-contexts = <&venus_cp>; - qcom,virtual-addr-pool = <0x1000000 0x3f000000>; - qcom,secure-domain; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8226-iommu.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v1/msm8226-iommu.dtsi deleted file mode 100644 index ff3e0a59d..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8226-iommu.dtsi +++ /dev/null @@ -1,237 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/include/ "msm-iommu-v1.dtsi" - -&jpeg_iommu { - status = "ok"; - vdd-supply = <&gdsc_jpeg>; - qcom,iommu-enable-halt; - - qcom,iommu-bfb-regs = <0x204c - 0x2050 - 0x2514 - 0x2540 - 0x256c - 0x2314 - 0x2394 - 0x2414 - 0x20ac - 0x215c - 0x220c - 0x2008 - 0x200c - 0x2010 - 0x2014>; - - qcom,iommu-bfb-data = <0x0000ffff - 0x00000000 - 0x4 - 0x4 - 0x0 - 0x0 - 0x10 - 0x50 - 0x0 - 0x10 - 0x20 - 0x0 - 0x0 - 0x0 - 0x0>; -}; - -&mdp_iommu { - status = "ok"; - vdd-supply = <&gdsc_mdss>; - qcom,iommu-enable-halt; - - qcom,iommu-bfb-regs = <0x204c - 0x2050 - 0x2514 - 0x2540 - 0x256c - 0x20ac - 0x215c - 0x220c - 0x2314 - 0x2394 - 0x2414 - 0x2008 - 0x200c - 0x2010 - 0x2014 - 0x2018 - 0x201c - 0x2020>; - - qcom,iommu-bfb-data = <0xffffffff - 0x00000000 - 0x00000004 - 0x00000010 - 0x00000000 - 0x00000000 - 0x00000013 - 0x00000017 - 0x0 - 0x13 - 0x23 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0>; -}; - -&venus_iommu { - status = "ok"; - vdd-supply = <&gdsc_venus>; - qcom,iommu-enable-halt; - - qcom,iommu-bfb-regs = <0x204c - 0x2050 - 0x2514 - 0x2540 - 0x256c - 0x20ac - 0x215c - 0x220c - 0x2314 - 0x2394 - 0x2414 - 0x2008 - 0x200c - 0x2010 - 0x2014 - 0x2018 - 0x201c - 0x2020 - 0x2024 - 0x2028 - 0x202c - 0x2030 - 0x2034 - 0x2038>; - - qcom,iommu-bfb-data = <0xffffffff - 0xffffffff - 0x00000004 - 0x00000008 - 0x00000000 - 0x00000000 - 0x00000094 - 0x000000b4 - 0x0 - 0x94 - 0x114 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0>; -}; - -&venus_ns { - qcom,iommu-ctx-sids = <0 1 2 3 4 5 7>; -}; - -&venus_cp { - qcom,iommu-ctx-sids = <0x80 0x81 0x82 0x83 0x84>; -}; - -&kgsl_iommu { - status = "ok"; - vdd-supply = <&gdsc_oxili_cx>; - qcom,alt-vdd-supply = <&gdsc_oxili_gx>; - qcom,iommu-enable-halt; - qcom,needs-alt-core-clk; - - qcom,iommu-bfb-regs = <0x204c - 0x2050 - 0x2514 - 0x2540 - 0x256c - 0x20ac - 0x215c - 0x220c - 0x2314 - 0x2394 - 0x2414 - 0x2008>; - - qcom,iommu-bfb-data = <0x00000003 - 0x0 - 0x00000004 - 0x00000010 - 0x00000000 - 0x00000000 - 0x00000001 - 0x00000011 - 0x0 - 0x1 - 0x41 - 0x0>; -}; - -&vfe_iommu { - status = "ok"; - vdd-supply = <&gdsc_vfe>; - qcom,iommu-enable-halt; - - qcom,iommu-bfb-regs = <0x204c - 0x2050 - 0x2514 - 0x2540 - 0x256c - 0x2314 - 0x2394 - 0x2414 - 0x20ac - 0x215c - 0x220c - 0x2008 - 0x200c - 0x2010 - 0x2014 - 0x2018 - 0x201c - 0x2020>; - - qcom,iommu-bfb-data = <0xffffffff - 0x00000000 - 0x4 - 0x8 - 0x0 - 0x0 - 0x1b - 0x5b - 0x0 - 0x1b - 0x2b - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0>; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8226-ion.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v1/msm8226-ion.dtsi deleted file mode 100644 index dee64e538..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8226-ion.dtsi +++ /dev/null @@ -1,66 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&soc { - qcom,ion { - compatible = "qcom,msm-ion"; - #address-cells = <1>; - #size-cells = <0>; - - qcom,ion-heap@30 { /* SYSTEM HEAP */ - reg = <30>; - }; - - qcom,ion-heap@21 { /* SYSTEM CONTIG HEAP */ - reg = <21>; - }; - - qcom,ion-heap@8 { /* CP_MM HEAP */ - compatible = "qcom,msm-ion-reserve"; - reg = <8>; - qcom,heap-align = <0x1000>; - linux,contiguous-region = <&secure_mem>; - }; - - qcom,ion-heap@25 { /* IOMMU HEAP */ - reg = <25>; - }; - - qcom,ion-heap@27 { /* QSECOM HEAP */ - compatible = "qcom,msm-ion-reserve"; - reg = <27>; - linux,contiguous-region = <&qsecom_mem>; - }; - - qcom,ion-heap@28 { /* AUDIO HEAP */ - compatible = "qcom,msm-ion-reserve"; - reg = <28>; - qcom,heap-align = <0x1000>; - qcom,memory-reservation-type = "EBI1"; /* reserve EBI memory */ - qcom,memory-reservation-size = <0x314000>; - }; - qcom,ion-heap@23 { /* OTHER PIL HEAP */ - compatible = "qcom,msm-ion-reserve"; - reg = <23>; - qcom,heap-align = <0x1000>; - qcom,memory-fixed = <0x06400000 0x2000000>; - }; - qcom,ion-heap@26 { /* MODEM PIL HEAP */ - compatible = "qcom,msm-ion-reserve"; - reg = <26>; - qcom,heap-align = <0x1000>; - qcom,memory-fixed = <0x08400000 0x4E00000>; - - }; - - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8226-mdss.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v1/msm8226-mdss.dtsi deleted file mode 100644 index f58089709..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8226-mdss.dtsi +++ /dev/null @@ -1,80 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -&soc { - qcom,mdss_mdp@fd900000 { - compatible = "qcom,mdss_mdp"; - reg = <0xfd900000 0x22100>, - <0xfd924000 0x1000>; - reg-names = "mdp_phys", "vbif_phys"; - interrupts = <0 72 0>; - vdd-supply = <&gdsc_mdss>; - - qcom,max-clk-rate = <200000000>; - qcom,mdss-pipe-vig-off = <0x00001200>; - qcom,mdss-pipe-rgb-off = <0x00001E00>; - qcom,mdss-pipe-dma-off = <0x00002A00>; - qcom,mdss-pipe-vig-fetch-id = <1>; - qcom,mdss-pipe-rgb-fetch-id = <7>; - qcom,mdss-pipe-dma-fetch-id = <4>; - qcom,mdss-smp-data = <7 4096>; - - qcom,mdss-ctl-off = <0x00000600 0x00000700>; - qcom,mdss-mixer-intf-off = <0x00003200>; - qcom,mdss-mixer-wb-off = <0x00003E00>; - qcom,mdss-dspp-off = <0x00004600>; - qcom,mdss-pingpong-off = <0x00021B00>; - qcom,mdss-wb-off = <0x00011100 0x00013100>; - qcom,mdss-intf-off = <0x00000000 0x00021300>; - qcom,mdss-rot-block-size = <64>; - - qcom,vbif-settings = <0x004 0x00000001>, - <0x0D8 0x00000707>, - <0x124 0x00000003>; - qcom,mdp-settings = <0x02E0 0x000000A9>, - <0x02E4 0x00000055>; - - mdss_fb0: qcom,mdss_fb_primary { - cell-index = <0>; - compatible = "qcom,mdss-fb"; - qcom,memory-reservation-type = "EBI1"; - qcom,memory-reservation-size = <0x800000>; - }; - - mdss_fb1: qcom,mdss_fb_wfd { - cell-index = <1>; - compatible = "qcom,mdss-fb"; - }; - }; - - mdss_dsi0: qcom,mdss_dsi@fd922800 { - compatible = "qcom,mdss-dsi-ctrl"; - label = "MDSS DSI CTRL->0"; - cell-index = <0>; - reg = <0xfd922800 0x600>; - vdd-supply = <&pm8226_l15>; - vddio-supply = <&pm8226_l8>; - vdda-supply = <&pm8226_l4>; - qcom,supply-names = "vdd", "vddio", "vdda"; - qcom,supply-min-voltage-level = <2800000 1800000 1200000>; - qcom,supply-max-voltage-level = <2800000 1800000 1200000>; - qcom,supply-peak-current = <150000 100000 100000>; - qcom,mdss-fb-map = <&mdss_fb0>; - }; - - qcom,mdss_wb_panel { - compatible = "qcom,mdss_wb"; - qcom,mdss_pan_res = <1280 720>; - qcom,mdss_pan_bpp = <24>; - qcom,mdss-fb-map = <&mdss_fb1>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8226-mtp.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v1/msm8226-mtp.dtsi deleted file mode 100644 index bcd1c41d6..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8226-mtp.dtsi +++ /dev/null @@ -1,445 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/include/ "dsi-panel-nt35590-720p-video.dtsi" -/include/ "msm8226-camera-sensor-mtp.dtsi" - -&soc { - serial@f991f000 { - status = "ok"; - }; - - qcom,mdss_dsi_nt35590_720p_video { - status = "ok"; - }; - - i2c@f9927000 { /* BLSP1 QUP5 */ - synaptics@20 { - compatible = "synaptics,rmi4"; - reg = <0x20>; - interrupt-parent = <&msmgpio>; - interrupts = <17 0x2008>; - vdd-supply = <&pm8226_l19>; - vcc_i2c-supply = <&pm8226_lvs1>; - synaptics,reset-gpio = <&msmgpio 16 0x00>; - synaptics,irq-gpio = <&msmgpio 17 0x2008>; - synaptics,button-map = <139 102 158>; - synaptics,i2c-pull-up; - }; - }; - - gpio_keys { - compatible = "gpio-keys"; - input-name = "gpio-keys"; - - camera_focus { - label = "camera_focus"; - gpios = <&msmgpio 108 0x1>; - linux,input-type = <1>; - linux,code = <0x210>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - - camera_snapshot { - label = "camera_snapshot"; - gpios = <&msmgpio 107 0x1>; - linux,input-type = <1>; - linux,code = <0x2fe>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - - vol_up { - label = "volume_up"; - gpios = <&msmgpio 106 0x1>; - linux,input-type = <1>; - linux,code = <115>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - }; - - spi@f9923000 { - ethernet-switch@3 { - compatible = "micrel,ks8851"; - reg = <3>; - interrupt-parent = <&msmgpio>; - interrupts = <0 115 0>; - spi-max-frequency = <4800000>; - rst-gpio = <&msmgpio 114 0>; - vdd-io-supply = <&pm8226_lvs1>; - vdd-phy-supply = <&pm8226_lvs1>; - }; - }; - - sound { - qcom,audio-routing = - "RX_BIAS", "MCLK", - "LDO_H", "MCLK", - "SPK_OUT", "MCLK", - "SPK_OUT", "EXT_VDD_SPKR", - "AMIC1", "MIC BIAS1 External", - "MIC BIAS1 External", "Handset Mic", - "AMIC2", "MIC BIAS2 External", - "MIC BIAS2 External", "Headset Mic", - "AMIC3", "MIC BIAS1 External", - "MIC BIAS1 External", "ANCRight Headset Mic", - "AMIC4", "MIC BIAS2 External", - "MIC BIAS2 External", "ANCLeft Headset Mic"; - - qcom,cdc-mclk-gpios = <&pm8226_gpios 1 0>; - qcom,cdc-vdd-spkr-gpios = <&pm8226_gpios 2 0>; - }; -}; - -&usb_otg { - #address-cells = <0>; - interrupt-parent = <&usb_otg>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 134 0 - 1 &intc 0 140 0 - 2 &spmi_bus 0x0 0x0 0x9 0x0>; - interrupt-names = "core_irq", "async_irq", "pmic_id_irq"; - - qcom,hsusb-otg-mode = <3>; - vbus_otg-supply = <&usb_otg_sw>; -}; - -&sdcc1 { - vdd-supply = <&pm8226_l17>; - qcom,vdd-always-on; - qcom,vdd-lpm-sup; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <800 500000>; - - vdd-io-supply = <&pm8226_l6>; - qcom,vdd-io-always-on; - qcom,vdd-io-voltage-level = <1800000 1800000>; - qcom,vdd-io-current-level = <250 154000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - qcom,sup-voltages = <2950 2950>; - - qcom,bus-speed-mode = "HS200_1p8v", "DDR_1p8v"; - qcom,nonremovable; - - status = "disabled"; -}; - -&sdhc_1 { - vdd-supply = <&pm8226_l17>; - qcom,vdd-always-on; - qcom,vdd-lpm-sup; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <800 500000>; - - vdd-io-supply = <&pm8226_l6>; - qcom,vdd-io-always-on; - qcom,vdd-io-voltage-level = <1800000 1800000>; - qcom,vdd-io-current-level = <250 154000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - qcom,bus-speed-mode = "HS200_1p8v", "DDR_1p8v"; - qcom,nonremovable; - - status = "ok"; -}; - -&sdcc2 { - vdd-supply = <&pm8226_l18>; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <9000 800000>; - - vdd-io-supply = <&pm8226_l21>; - qcom,vdd-io-always-on; - qcom,vdd-io-lpm-sup; - qcom,vdd-io-voltage-level = <1800000 2950000>; - qcom,vdd-io-current-level = <6 22000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - qcom,sup-voltages = <2950 2950>; - - qcom,xpc; - qcom,bus-speed-mode = "SDR12", "SDR25", "SDR50", "DDR50", "SDR104"; - qcom,current-limit = <600>; #address-cells = <0>; interrupt-parent = <&sdcc2>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 125 0 - 1 &intc 0 220 0 - 2 &msmgpio 38 0x3>; - interrupt-names = "core_irq", "bam_irq", "status_irq"; - cd-gpios = <&msmgpio 38 0x1>; - - status = "disabled"; -}; - -&sdhc_2 { - vdd-supply = <&pm8226_l18>; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <9000 800000>; - - vdd-io-supply = <&pm8226_l21>; - qcom,vdd-io-always-on; - qcom,vdd-io-lpm-sup; - qcom,vdd-io-voltage-level = <1800000 2950000>; - qcom,vdd-io-current-level = <6 22000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - - #address-cells = <0>; - interrupt-parent = <&sdhc_2>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 125 0 - 1 &intc 0 221 0 - 2 &msmgpio 38 0x3>; - interrupt-names = "hc_irq", "pwr_irq", "status_irq"; - cd-gpios = <&msmgpio 38 0x1>; - - status = "ok"; -}; - -&spmi_bus { - qcom,pm8226@0 { - qcom,leds@a100 { - status = "okay"; - qcom,led_mpp_2 { - label = "mpp"; - linux,name = "button-backlight"; - linux,default-trigger = "none"; - qcom,default-state = "off"; - qcom,max-current = <40>; - qcom,current-setting = <5>; - qcom,id = <6>; - qcom,mode = "manual"; - qcom,source-sel = <1>; - qcom,mode-ctrl = <0x60>; - }; - }; - - qcom,leds@a300 { - status = "okay"; - qcom,led_mpp_4 { - label = "mpp"; - linux,name = "green"; - linux,default-trigger = "none"; - qcom,default-state = "off"; - qcom,max-current = <40>; - qcom,current-setting = <5>; - qcom,id = <6>; - qcom,mode = "pwm"; - qcom,pwm-us = <1000>; - qcom,source-sel = <8>; - qcom,mode-ctrl = <0x60>; - qcom,pwm-channel = <0>; - qcom,start-idx = <1>; - qcom,duty-pcts = [00 00 00 00 64 - 64 00 00 00 00]; - qcom,use-blink; - }; - }; - - qcom,leds@a500 { - status = "okay"; - qcom,led_mpp_6 { - label = "mpp"; - linux,name = "red"; - linux,default-trigger = "none"; - qcom,default-state = "off"; - qcom,max-current = <40>; - qcom,current-setting = <5>; - qcom,id = <6>; - qcom,mode = "pwm"; - qcom,pwm-us = <1000>; - qcom,mode-ctrl = <0x60>; - qcom,source-sel = <10>; - qcom,pwm-channel = <5>; - qcom,start-idx = <1>; - qcom,duty-pcts = [00 00 00 00 64 - 64 00 00 00 00]; - qcom,use-blink; - }; - }; - }; - - qcom,pm8226@1 { - qcom,leds@d300 { - status = "okay"; - }; - - qcom,leds@d800 { - status = "okay"; - qcom,wled_0 { - label = "wled"; - linux,name = "wled:backlight"; - linux,default-trigger = "bkl-trigger"; - qcom,cs-out-en; - qcom,op-fdbck = <1>; - qcom,default-state = "on"; - qcom,max-current = <20>; - qcom,ctrl-delay-us = <0>; - qcom,boost-curr-lim = <3>; - qcom,cp-sel = <0>; - qcom,switch-freq = <2>; - qcom,ovp-val = <0>; - qcom,num-strings = <1>; - qcom,id = <0>; - }; - }; - }; -}; - -&pm8226_gpios { - gpio@c000 { /* GPIO 1 */ - /* XO_PMIC_CDC_MCLK enable for tapan codec */ - qcom,mode = <1>; /* Digital output */ - qcom,output-type = <0>; /* CMOS logic */ - qcom,pull = <5>; /* QPNP_PIN_PULL_NO*/ - qcom,vin-sel = <3>; /* QPNP_PIN_VIN3 */ - qcom,out-strength = <3>;/* QPNP_PIN_OUT_STRENGTH_HIGH */ - qcom,src-sel = <2>; /* QPNP_PIN_SEL_FUNC_1 */ - qcom,master-en = <1>; /* Enable GPIO */ - }; - - gpio@c100 { /* GPIO 2 */ - qcom,mode = <1>; - qcom,output-type = <0>; - qcom,pull = <5>; - qcom,vin-sel = <3>; - qcom,out-strength = <3>; - qcom,src-sel = <2>; - qcom,master-en = <1>; - }; - - gpio@c200 { /* GPIO 3 */ - }; - - gpio@c300 { /* GPIO 4 */ - }; - - gpio@c400 { /* GPIO 5 */ - }; - - gpio@c500 { /* GPIO 6 */ - }; - - gpio@c600 { /* GPIO 7 */ - }; - - gpio@c700 { /* GPIO 8 */ - }; -}; - -&pm8226_mpps { - mpp@a000 { /* MPP 1 */ - }; - - mpp@a100 { /* MPP 2 */ - }; - - mpp@a200 { /* MPP 3 */ - }; - - mpp@a300 { /* MPP 4 */ - }; - - mpp@a400 { /* MPP 5 */ - /* PA_THERM0 config */ - qcom,mode = <4>; /* AIN input */ - qcom,invert = <1>; /* Enable MPP */ - qcom,ain-route = <0>; /* AMUX 5 */ - qcom,master-en = <1>; - qcom,src-sel = <0>; /* Function constant */ - }; - - mpp@a500 { /* MPP 6 */ - }; - - mpp@a600 { /* MPP 7 */ - }; - - mpp@a700 { /* MPP 8 */ - /* PA_THERM1 config */ - qcom,mode = <4>; /* AIN input */ - qcom,invert = <1>; /* Enable MPP */ - qcom,ain-route = <3>; /* AMUX 8 */ - qcom,master-en = <1>; - qcom,src-sel = <0>; /* Function constant */ - }; -}; - -&pm8226_vadc { - chan@14 { - label = "pa_therm0"; - reg = <0x14>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@17 { - label = "pa_therm1"; - reg = <0x17>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; -}; - -&pm8226_bms { - status = "ok"; -}; - -&pm8226_chg { - qcom,charging-disabled; -}; - -&usb_otg_sw { - status = "okay"; -}; - -&slim_msm { - tapan_codec { - qcom,cdc-micbias1-ext-cap; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8226-pm.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v1/msm8226-pm.dtsi deleted file mode 100644 index 3240efb75..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8226-pm.dtsi +++ /dev/null @@ -1,389 +0,0 @@ -/* Copyright (c) 2013 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. - */ - -/include/ "skeleton.dtsi" - -&soc { - qcom,spm@f9089000 { - compatible = "qcom,spm-v2"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xf9089000 0x1000>; - qcom,core-id = <0>; - qcom,saw2-ver-reg = <0xfd0>; - qcom,saw2-cfg = <0x01>; - qcom,saw2-spm-dly= <0x3c102800>; - qcom,saw2-spm-ctl = <0x0>; - qcom,saw2-spm-cmd-wfi = [60 03 60 0b 0f]; - qcom,saw2-spm-cmd-spc = [00 20 10 80 30 90 5b 60 03 60 3b 76 76 - 0b 94 5b 80 10 06 26 30 0f]; - qcom,saw2-spm-cmd-pc = [00 20 10 80 30 90 5b 60 07 60 3b 76 76 - 0b 94 5b 80 10 06 26 30 0f]; - }; - - qcom,spm@f9099000 { - compatible = "qcom,spm-v2"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xf9099000 0x1000>; - qcom,core-id = <1>; - qcom,saw2-ver-reg = <0xfd0>; - qcom,saw2-cfg = <0x01>; - qcom,saw2-spm-dly= <0x3c102800>; - qcom,saw2-spm-ctl = <0x0>; - qcom,saw2-spm-cmd-wfi = [60 03 60 0b 0f]; - qcom,saw2-spm-cmd-spc = [00 20 10 80 30 90 5b 60 03 60 3b 76 76 - 0b 94 5b 80 10 06 26 30 0f]; - qcom,saw2-spm-cmd-pc = [00 20 10 80 30 90 5b 60 07 60 3b 76 76 - 0b 94 5b 80 10 06 26 30 0f]; - }; - - qcom,spm@f90a9000 { - compatible = "qcom,spm-v2"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xf90a9000 0x1000>; - qcom,core-id = <2>; - qcom,saw2-ver-reg = <0xfd0>; - qcom,saw2-cfg = <0x01>; - qcom,saw2-spm-dly= <0x3c102800>; - qcom,saw2-spm-ctl = <0x0>; - qcom,saw2-spm-cmd-wfi = [60 03 60 0b 0f]; - qcom,saw2-spm-cmd-spc = [00 20 10 80 30 90 5b 60 03 60 3b 76 76 - 0b 94 5b 80 10 06 26 30 0f]; - qcom,saw2-spm-cmd-pc = [00 20 10 80 30 90 5b 60 07 60 3b 76 76 - 0b 94 5b 80 10 06 26 30 0f]; - }; - - qcom,spm@f90b9000 { - compatible = "qcom,spm-v2"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xf90b9000 0x1000>; - qcom,core-id = <3>; - qcom,saw2-ver-reg = <0xfd0>; - qcom,saw2-cfg = <0x01>; - qcom,saw2-spm-dly= <0x3c102800>; - qcom,saw2-spm-ctl = <0x0>; - qcom,saw2-spm-cmd-wfi = [60 03 60 0b 0f]; - qcom,saw2-spm-cmd-spc = [00 20 10 80 30 90 5b 60 03 60 3b 76 76 - 0b 94 5b 80 10 06 26 30 0f]; - qcom,saw2-spm-cmd-pc = [00 20 10 80 30 90 5b 60 07 60 3b 76 76 - 0b 94 5b 80 10 06 26 30 0f]; - }; - - qcom,spm@f9012000 { - compatible = "qcom,spm-v2"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xf9012000 0x1000>; - qcom,core-id = <0xffff>; /* L2/APCS SAW */ - qcom,saw2-ver-reg = <0xfd0>; - qcom,saw2-cfg = <0x14>; - qcom,saw2-spm-dly= <0x3c102800>; - qcom,saw2-spm-ctl = <0x0>; - qcom,saw2-pmic-data0 = <0x02030080>; - qcom,saw2-pmic-data1 = <0x00030000>; - qcom,vctl-timeout-us = <50>; - qcom,vctl-port = <0x0>; - qcom,phase-port = <0x1>; - qcom,pfm-port = <0x2>; - qcom,saw2-spm-cmd-ret = [00 03 00 7b 0f]; - qcom,saw2-spm-cmd-pc = [00 32 b0 10 e0 d0 6b c0 42 f0 - 11 07 01 b0 4e c0 d0 12 e0 6b 50 02 32 - 50 f0 7b 0f]; /*APCS_PMIC_OFF_L2RAM_OFF*/ - }; - - qcom,lpm-resources { - compatible = "qcom,lpm-resources"; - #address-cells = <1>; - #size-cells = <0>; - - qcom,lpm-resources@0 { - reg = <0x0>; - qcom,name = "vdd-dig"; - qcom,type = <0x61706d73>; /* "smpa" */ - qcom,id = <0x01>; - qcom,key = <0x6e726f63>; /* "corn" */ - qcom,init-value = <3>; /* SVS SOC */ - }; - - qcom,lpm-resources@1 { - reg = <0x1>; - qcom,name = "vdd-mem"; - qcom,type = <0x616F646C>; /* "ldoa" */ - qcom,id = <0x03>; - qcom,key = <0x6e726f63>; /* "corn" */ - qcom,init-value = <3>; /* SVS SOC */ - }; - - qcom,lpm-resources@2 { - reg = <0x2>; - qcom,name = "pxo"; - qcom,type = <0x306b6c63>; /* "clk0" */ - qcom,id = <0x00>; - qcom,key = <0x62616e45>; /* "Enab" */ - qcom,init-value = "xo_on"; - }; - - qcom,lpm-resources@3 { - reg = <0x3>; - qcom,name = "l2"; - qcom,local-resource-type; - qcom,init-value = "l2_cache_retention"; - }; - }; - - qcom,lpm-levels { - compatible = "qcom,lpm-levels"; - #address-cells = <1>; - #size-cells = <0>; - - qcom,lpm-level@0 { - reg = <0x0>; - qcom,mode = "wfi"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_active"; - qcom,vdd-mem-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <4>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <1>; - qcom,ss-power = <784>; - qcom,energy-overhead = <190000>; - qcom,time-overhead = <100>; - }; - - qcom,lpm-level@1 { - reg = <0x1>; - qcom,mode = "standalone_pc"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_active"; - qcom,vdd-mem-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <4>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <3000>; - qcom,ss-power = <725>; - qcom,energy-overhead = <99500>; - qcom,time-overhead = <3130>; - }; - - qcom,lpm-level@2 { - reg = <0x2>; - qcom,mode = "pc"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_retention"; - qcom,vdd-mem-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <4>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <8000>; - qcom,ss-power = <138>; - qcom,energy-overhead = <1208400>; - qcom,time-overhead = <9200>; - }; - - qcom,lpm-level@3 { - reg = <0x3>; - qcom,mode = "pc"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_pc"; - qcom,vdd-mem-upper-bound = <4>; /* NORMAL */ - qcom,vdd-mem-lower-bound = <3>; /* SVS SOC */ - qcom,vdd-dig-upper-bound = <4>; /* NORMAL */ - qcom,vdd-dig-lower-bound = <3>; /* SVS SOC */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <9000>; - qcom,ss-power = <110>; - qcom,energy-overhead = <1250300>; - qcom,time-overhead = <9500>; - }; - - qcom,lpm-level@4 { - reg = <0x4>; - qcom,mode = "pc"; - qcom,xo = "xo_off"; - qcom,l2 = "l2_cache_pc"; - qcom,vdd-mem-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <4>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,latency-us = <16300>; - qcom,ss-power = <63>; - qcom,energy-overhead = <2128000>; - qcom,time-overhead = <24200>; - }; - - qcom,lpm-level@5 { - reg = <0x5>; - qcom,mode = "pc"; - qcom,xo = "xo_off"; - qcom,l2 = "l2_cache_pc"; - qcom,vdd-mem-upper-bound = <4>; /* NORMAL */ - qcom,vdd-mem-lower-bound = <3>; /* SVS SOC */ - qcom,vdd-dig-upper-bound = <4>; /* NORMAL */ - qcom,vdd-dig-lower-bound = <3>; /* SVS SOC */ - qcom,latency-us = <24000>; - qcom,ss-power = <10>; - qcom,energy-overhead = <3202600>; - qcom,time-overhead = <33000>; - }; - - qcom,lpm-level@6 { - reg = <0x6>; - qcom,mode = "pc"; - qcom,xo = "xo_off"; - qcom,l2 = "l2_cache_pc"; - qcom,vdd-mem-upper-bound = <3>; /* SVS SOC */ - qcom,vdd-mem-lower-bound = <1>; /* RETENTION */ - qcom,vdd-dig-upper-bound = <3>; /* SVS SOC */ - qcom,vdd-dig-lower-bound = <1>; /* RETENTION */ - qcom,latency-us = <26000>; - qcom,ss-power = <2>; - qcom,energy-overhead = <4252000>; - qcom,time-overhead = <38000>; - }; - }; - - qcom,pm-boot { - compatible = "qcom,pm-boot"; - qcom,mode = "tz"; - }; - - qcom,mpm@fc4281d0 { - compatible = "qcom,mpm-v2"; - reg = <0xfc4281d0 0x1000>, /* MSM_RPM_MPM_BASE 4K */ - <0xf9011008 0x4>; /* MSM_APCS_GCC_BASE 4K */ - reg-names = "vmpm", "ipc"; - interrupts = <0 171 1>; - - qcom,ipc-bit-offset = <1>; - - qcom,gic-parent = <&intc>; - qcom,gic-map = <47 172>, /* usb2_hsic_async_wakeup_irq */ - <53 104>, /* mdss_irq */ - <62 222>, /* ee0_krait_hlos_spmi_periph_irq */ - <2 216>, /* tsens_upper_lower_int */ - <0xff 56>, /* q6_wdog_expired_irq */ - <0xff 57>, /* mss_to_apps_irq(0) */ - <0xff 58>, /* mss_to_apps_irq(1) */ - <0xff 59>, /* mss_to_apps_irq(2) */ - <0xff 60>, /* mss_to_apps_irq(3) */ - <0xff 61>, /* mss_a2_bam_irq */ - <0xff 173>, /* o_wcss_apss_smd_hi */ - <0xff 174>, /* o_wcss_apss_smd_med */ - <0xff 175>, /* o_wcss_apss_smd_low */ - <0xff 176>, /* o_wcss_apss_smsm_irq */ - <0xff 177>, /* o_wcss_apss_wlan_data_xfer_done */ - <0xff 178>, /* o_wcss_apss_wlan_rx_data_avail */ - <0xff 179>, /* o_wcss_apss_asic_intr - <0xff 181>, /* o_wcss_apss_wdog_bite_and_reset_rdy */ - <0xff 188>, /* lpass_irq_out_apcs(0) */ - <0xff 189>, /* lpass_irq_out_apcs(1) */ - <0xff 190>, /* lpass_irq_out_apcs(2) */ - <0xff 191>, /* lpass_irq_out_apcs(3) */ - <0xff 192>, /* lpass_irq_out_apcs(4) */ - <0xff 194>, /* lpass_irq_out_apcs[6] */ - <0xff 195>, /* lpass_irq_out_apcs[7] */ - <0xff 196>, /* lpass_irq_out_apcs[8] */ - <0xff 200>, /* rpm_ipc(4) */ - <0xff 201>, /* rpm_ipc(5) */ - <0xff 202>, /* rpm_ipc(6) */ - <0xff 203>, /* rpm_ipc(7) */ - <0xff 204>, /* rpm_ipc(24) */ - <0xff 205>, /* rpm_ipc(25) */ - <0xff 206>, /* rpm_ipc(26) */ - <0xff 207>, /* rpm_ipc(27) */ - <0xff 258>, /* rpm_ipc(28) */ - <0xff 259>, /* rpm_ipc(29) */ - <0xff 275>, /* rpm_ipc(30) */ - <0xff 276>, /* rpm_ipc(31) */ - <0xff 269>, /* rpm_wdog_expired_irq */ - <0xff 240>; /* summary_irq_kpss */ - - qcom,gpio-parent = <&msmgpio>; - qcom,gpio-map = <3 1>, - <4 4 >, - <5 5 >, - <6 9 >, - <7 13>, - <8 17>, - <9 21>, - <10 27>, - <11 29>, - <12 31>, - <13 33>, - <14 35>, - <15 37>, - <16 38>, - <17 39>, - <18 41>, - <19 46>, - <20 48>, - <21 49>, - <22 50>, - <23 51>, - <24 52>, - <25 54>, - <26 62>, - <27 63>, - <28 64>, - <29 65>, - <30 66>, - <31 67>, - <32 68>, - <33 69>, - <34 71>, - <35 72>, - <36 106>, - <37 107>, - <38 108>, - <39 109>, - <40 110>, - <54 111>, - <55 113>; - }; - - qcom,pm-8x60@fe805664 { - compatible = "qcom,pm-8x60"; - reg = <0xfe805664 0x40>; - qcom,pc-mode = "tz_l2_int"; - qcom,use-sync-timer; - qcom,pc-resets-timer; - }; - - qcom,rpm-log@fc19dc00 { - compatible = "qcom,rpm-log"; - reg = <0xfc19dc00 0x4000>; - qcom,rpm-addr-phys = <0xfc000000>; - qcom,offset-version = <4>; - qcom,offset-page-buffer-addr = <36>; - qcom,offset-log-len = <40>; - qcom,offset-log-len-mask = <44>; - qcom,offset-page-indices = <56>; - }; - - qcom,rpm-stats@fc19dba0 { - compatible = "qcom,rpm-stats"; - reg = <0xfc19dba0 0x1000>; - reg-names = "phys_addr_base"; - qcom,sleep-stats-version = <2>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8226-qrd.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v1/msm8226-qrd.dtsi deleted file mode 100644 index fc9d9f9b9..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8226-qrd.dtsi +++ /dev/null @@ -1,406 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/include/ "dsi-panel-nt35590-720p-video.dtsi" -/include/ "msm8226-camera-sensor-qrd.dtsi" - -&soc { - serial@f991f000 { - status = "ok"; - }; - - qcom,mdss_dsi_nt35590_720p_video { - status = "ok"; - }; - - i2c@f9927000 { /* BLSP1 QUP5 */ - synaptics@20 { - compatible = "synaptics,rmi4"; - reg = <0x20>; - interrupt-parent = <&msmgpio>; - interrupts = <17 0x2008>; - vdd-supply = <&pm8226_l19>; - vcc_i2c-supply = <&pm8226_lvs1>; - synaptics,reset-gpio = <&msmgpio 16 0x00>; - synaptics,irq-gpio = <&msmgpio 17 0x2008>; - synaptics,button-map = <139 102 158>; - synaptics,i2c-pull-up; - }; - }; - - gpio_keys { - compatible = "gpio-keys"; - input-name = "gpio-keys"; - - camera_focus { - label = "camera_focus"; - gpios = <&msmgpio 108 0x1>; - linux,input-type = <1>; - linux,code = <0x210>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - - camera_snapshot { - label = "camera_snapshot"; - gpios = <&msmgpio 107 0x1>; - linux,input-type = <1>; - linux,code = <0x2fe>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - - vol_up { - label = "volume_up"; - gpios = <&msmgpio 106 0x1>; - linux,input-type = <1>; - linux,code = <115>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - }; - - spi@f9923000 { - ethernet-switch@3 { - compatible = "micrel,ks8851"; - reg = <3>; - interrupt-parent = <&msmgpio>; - interrupts = <0 115 0>; - spi-max-frequency = <4800000>; - rst-gpio = <&msmgpio 114 0>; - vdd-io-supply = <&pm8226_lvs1>; - vdd-phy-supply = <&pm8226_lvs1>; - }; - }; - - sound { - qcom,audio-routing = - "RX_BIAS", "MCLK", - "LDO_H", "MCLK", - "SPK_OUT", "MCLK", - "SPK_OUT", "EXT_VDD_SPKR", - "AMIC1", "MIC BIAS1 External", - "MIC BIAS1 External", "Handset Mic", - "AMIC2", "MIC BIAS2 External", - "MIC BIAS2 External", "Headset Mic", - "AMIC3", "MIC BIAS1 External", - "MIC BIAS1 External", "ANCRight Headset Mic", - "AMIC4", "MIC BIAS2 External", - "MIC BIAS2 External", "ANCLeft Headset Mic"; - - qcom,cdc-mclk-gpios = <&pm8226_gpios 1 0>; - qcom,cdc-vdd-spkr-gpios = <&pm8226_gpios 2 0>; - qcom,cdc-us-euro-gpios = <&msmgpio 69 0>; - }; -}; - -&sdcc1 { - vdd-supply = <&pm8226_l17>; - qcom,vdd-always-on; - qcom,vdd-lpm-sup; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <800 500000>; - - vdd-io-supply = <&pm8226_l6>; - qcom,vdd-io-always-on; - qcom,vdd-io-voltage-level = <1800000 1800000>; - qcom,vdd-io-current-level = <250 154000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - qcom,sup-voltages = <2950 2950>; - - qcom,bus-speed-mode = "HS200_1p8v", "DDR_1p8v"; - qcom,nonremovable; - - status = "disabled"; -}; - -&sdhc_1 { - vdd-supply = <&pm8226_l17>; - qcom,vdd-always-on; - qcom,vdd-lpm-sup; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <800 500000>; - - vdd-io-supply = <&pm8226_l6>; - qcom,vdd-io-always-on; - qcom,vdd-io-voltage-level = <1800000 1800000>; - qcom,vdd-io-current-level = <250 154000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - qcom,bus-speed-mode = "HS200_1p8v", "DDR_1p8v"; - qcom,nonremovable; - - status = "ok"; -}; - -&sdcc2 { - vdd-supply = <&pm8226_l18>; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <9000 800000>; - - vdd-io-supply = <&pm8226_l21>; - qcom,vdd-io-always-on; - qcom,vdd-io-lpm-sup; - qcom,vdd-io-voltage-level = <1800000 2950000>; - qcom,vdd-io-current-level = <6 22000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - qcom,sup-voltages = <2950 2950>; - - qcom,xpc; - qcom,bus-speed-mode = "SDR12", "SDR25", "SDR50", "DDR50", "SDR104"; - qcom,current-limit = <600>; - - #address-cells = <0>; - interrupt-parent = <&sdcc2>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 125 0 - 1 &intc 0 220 0 - 2 &msmgpio 38 0x3>; - interrupt-names = "core_irq", "bam_irq", "status_irq"; - cd-gpios = <&msmgpio 38 0x1>; - - status = "disabled"; -}; - -&sdhc_2 { - vdd-supply = <&pm8226_l18>; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <9000 800000>; - - vdd-io-supply = <&pm8226_l21>; - qcom,vdd-io-always-on; - qcom,vdd-io-lpm-sup; - qcom,vdd-io-voltage-level = <1800000 2950000>; - qcom,vdd-io-current-level = <6 22000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - - #address-cells = <0>; - interrupt-parent = <&sdhc_2>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 125 0 - 1 &intc 0 221 0 - 2 &msmgpio 38 0x3>; - interrupt-names = "hc_irq", "pwr_irq", "status_irq"; - cd-gpios = <&msmgpio 38 0x1>; - - status = "ok"; -}; - -&spmi_bus { - qcom,pm8226@0 { - qcom,leds@a100 { - status = "okay"; - qcom,led_mpp_2 { - label = "mpp"; - linux,name = "button-backlight"; - linux,default-trigger = "none"; - qcom,default-state = "off"; - qcom,max-current = <40>; - qcom,current-setting = <5>; - qcom,id = <6>; - qcom,mode = "manual"; - qcom,source-sel = <1>; - qcom,mode-ctrl = <0x60>; - }; - }; - - qcom,leds@a300 { - status = "okay"; - qcom,led_mpp_4 { - label = "mpp"; - linux,name = "green"; - linux,default-trigger = "none"; - qcom,default-state = "off"; - qcom,max-current = <40>; - qcom,current-setting = <5>; - qcom,id = <6>; - qcom,mode = "pwm"; - qcom,pwm-us = <1000>; - qcom,source-sel = <8>; - qcom,mode-ctrl = <0x60>; - qcom,pwm-channel = <0>; - qcom,start-idx = <1>; - qcom,duty-pcts = [00 00 00 00 64 - 64 00 00 00 00]; - qcom,use-blink; - }; - }; - - qcom,leds@a500 { - status = "okay"; - qcom,led_mpp_6 { - label = "mpp"; - linux,name = "red"; - linux,default-trigger = "none"; - qcom,default-state = "off"; - qcom,max-current = <40>; - qcom,current-setting = <5>; - qcom,id = <6>; - qcom,mode = "pwm"; - qcom,pwm-us = <1000>; - qcom,mode-ctrl = <0x60>; - qcom,source-sel = <10>; - qcom,pwm-channel = <5>; - qcom,start-idx = <1>; - qcom,duty-pcts = [00 00 00 00 64 - 64 00 00 00 00]; - qcom,use-blink; - }; - }; - }; - - qcom,pm8226@1 { - qcom,leds@d300 { - status = "okay"; - }; - - qcom,leds@d800 { - status = "okay"; - qcom,wled_0 { - label = "wled"; - linux,name = "wled:backlight"; - linux,default-trigger = "bkl-trigger"; - qcom,cs-out-en; - qcom,op-fdbck = <1>; - qcom,default-state = "on"; - qcom,max-current = <20>; - qcom,ctrl-delay-us = <0>; - qcom,boost-curr-lim = <3>; - qcom,cp-sel = <0>; - qcom,switch-freq = <2>; - qcom,ovp-val = <0>; - qcom,num-strings = <1>; - qcom,id = <0>; - }; - }; - - qcom,vibrator@c000 { - status = "okay"; - qcom,vib-timeout-ms = <15000>; - qcom,vib-vtg-level-mV = <3100>; - }; - - }; -}; - -&pm8226_bms { - status = "okay"; - qcom,batt-type = <4>; - qcom,max-voltage-uv = <4350000>; -}; - -&pm8226_chg { - status = "okay"; - qcom,chg-vddmax-mv = <4350>; - qcom,chg-vddsafe-mv = <4350>; -}; - -&pm8226_gpios { - gpio@c000 { /* GPIO 1 */ - /* XO_PMIC_CDC_MCLK enable for tapan codec */ - qcom,mode = <1>; /* Digital output */ - qcom,output-type = <0>; /* CMOS logic */ - qcom,pull = <5>; /* QPNP_PIN_PULL_NO*/ - qcom,vin-sel = <3>; /* QPNP_PIN_VIN3 */ - qcom,out-strength = <3>;/* QPNP_PIN_OUT_STRENGTH_HIGH */ - qcom,src-sel = <2>; /* QPNP_PIN_SEL_FUNC_1 */ - qcom,master-en = <1>; /* Enable GPIO */ - }; - - gpio@c100 { /* GPIO 2 */ - qcom,mode = <1>; - qcom,output-type = <0>; - qcom,pull = <5>; - qcom,vin-sel = <3>; - qcom,out-strength = <3>; - qcom,src-sel = <2>; - qcom,master-en = <1>; - }; - - gpio@c200 { /* GPIO 3 */ - }; - - gpio@c300 { /* GPIO 4 */ - }; - - gpio@c400 { /* GPIO 5 */ - }; - - gpio@c500 { /* GPIO 6 */ - }; - - gpio@c600 { /* GPIO 7 */ - }; - - gpio@c700 { /* GPIO 8 */ - }; -}; - -&pm8226_mpps { - mpp@a000 { /* MPP 1 */ - }; - - mpp@a100 { /* MPP 2 */ - }; - - mpp@a200 { /* MPP 3 */ - }; - - mpp@a300 { /* MPP 4 */ - }; - - mpp@a400 { /* MPP 5 */ - }; - - mpp@a500 { /* MPP 6 */ - }; - - mpp@a600 { /* MPP 7 */ - }; - - mpp@a700 { /* MPP 8 */ - }; -}; - -&slim_msm { - tapan_codec { - qcom,cdc-micbias1-ext-cap; - }; - -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8226-regulator.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v1/msm8226-regulator.dtsi deleted file mode 100644 index 3254d17c8..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8226-regulator.dtsi +++ /dev/null @@ -1,460 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/* SPM controlled regulators: */ - -&spmi_bus { - qcom,pm8226@1 { - pm8226_s2: spm-regulator@1700 { - compatible = "qcom,spm-regulator"; - regulator-name = "8226_s2"; - reg = <0x1700 0x100>; - regulator-min-microvolt = <900000>; - regulator-max-microvolt = <1275000>; - }; - }; -}; - -/* CPR controlled regulator */ - -&soc { - apc_vreg_corner: regulator@f9018000 { - status = "okay"; - compatible = "qcom,cpr-regulator"; - reg = <0xf9018000 0x1000>, <0xf9011064 4>, <0xfc4b80b0 8>, - <0xfc4bc450 16>; - reg-names = "rbcpr", "rbcpr_clk", "pvs_efuse", "cpr_efuse"; - interrupts = <0 15 0>; - regulator-name = "apc_corner"; - regulator-min-microvolt = <1>; - regulator-max-microvolt = <3>; - qcom,num-efuse-bits = <5>; - qcom,pvs-bin-process = <0 0 0 0 0 1 1 1 1 1 2 2 2 2 2 2 - 2 2 2 2 3 3 3 3 3 3 3 3 0 0 0 0>; - qcom,pvs-corner-ceiling-slow = <1155000 1160000 1275000>; - qcom,pvs-corner-ceiling-nom = <975000 1075000 1200000>; - qcom,pvs-corner-ceiling-fast = <900000 1000000 1140000>; - vdd-apc-supply = <&pm8226_s2>; - - vdd-mx-supply = <&pm8226_l3_ao>; - qcom,vdd-mx-vmax = <1350000>; - qcom,vdd-mx-vmin-method = <1>; - - qcom,cpr-ref-clk = <19200>; - qcom,cpr-timer-delay = <5000>; - qcom,cpr-timer-cons-up = <1>; - qcom,cpr-timer-cons-down = <2>; - qcom,cpr-irq-line = <0>; - qcom,cpr-step-quotient = <15>; - qcom,cpr-up-threshold = <1>; - qcom,cpr-down-threshold = <2>; - qcom,cpr-idle-clocks = <5>; - qcom,cpr-gcnt-time = <1>; - qcom,vdd-apc-step-up-limit = <1>; - qcom,vdd-apc-step-down-limit = <1>; - qcom,cpr-apc-volt-step = <5000>; - }; -}; - -/* RPM controlled regulators: */ - -&rpm_bus { - rpm-regulator-smpa1 { - status = "okay"; - pm8226_s1: regulator-s1 { - regulator-min-microvolt = <500000>; - regulator-max-microvolt = <1275000>; - status = "okay"; - }; - pm8226_s1_corner: regulator-s1-corner { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_s1_corner"; - qcom,set = <3>; - regulator-min-microvolt = <1>; - regulator-max-microvolt = <7>; - qcom,use-voltage-corner; - qcom,consumer-supplies = "vdd_dig", ""; - }; - pm8226_s1_corner_ao: regulator-s1-corner-ao { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_s1_corner_ao"; - qcom,set = <1>; - regulator-min-microvolt = <1>; - regulator-max-microvolt = <7>; - qcom,use-voltage-corner; - qcom,consumer-supplies = "vdd_sr2_dig", ""; - }; - }; - - rpm-regulator-smpa3 { - status = "okay"; - pm8226_s3: regulator-s3 { - regulator-min-microvolt = <1200000>; - regulator-max-microvolt = <1300000>; - qcom,init-voltage = <1200000>; - status = "okay"; - }; - }; - - rpm-regulator-smpa4 { - status = "okay"; - pm8226_s4: regulator-s4 { - regulator-min-microvolt = <2100000>; - regulator-max-microvolt = <2100000>; - qcom,init-voltage = <2100000>; - status = "okay"; - }; - }; - - rpm-regulator-smpa5 { - status = "okay"; - pm8226_s5: regulator-s5 { - regulator-min-microvolt = <1150000>; - regulator-max-microvolt = <1150000>; - qcom,init-voltage = <1150000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa1 { - status = "okay"; - pm8226_l1: regulator-l1 { - regulator-name = "8226_l1"; - regulator-min-microvolt = <1225000>; - regulator-max-microvolt = <1225000>; - qcom,init-voltage = <1225000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa2 { - status = "okay"; - pm8226_l2: regulator-l2 { - regulator-min-microvolt = <1200000>; - regulator-max-microvolt = <1200000>; - qcom,init-voltage = <1200000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa3 { - status = "okay"; - pm8226_l3: regulator-l3 { - regulator-name = "8226_l3"; - regulator-min-microvolt = <750000>; - regulator-max-microvolt = <1275000>; - status = "okay"; - }; - pm8226_l3_ao: regulator-3-ao { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l3_ao"; - qcom,set = <1>; - regulator-min-microvolt = <750000>; - regulator-max-microvolt = <1275000>; - status = "okay"; - }; - pm8226_l3_so: regulator-l3-so { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l3_so"; - qcom,set = <2>; - regulator-min-microvolt = <750000>; - regulator-max-microvolt = <1275000>; - qcom,init-voltage = <750000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa4 { - status = "okay"; - pm8226_l4: regulator-l4 { - regulator-name = "8226_l4"; - regulator-min-microvolt = <1200000>; - regulator-max-microvolt = <1200000>; - qcom,init-voltage = <1200000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa5 { - status = "okay"; - pm8226_l5: regulator-l5 { - regulator-name = "8226_l5"; - regulator-min-microvolt = <1200000>; - regulator-max-microvolt = <1200000>; - qcom,init-voltage = <1200000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa6 { - status = "okay"; - pm8226_l6: regulator-l6 { - regulator-name = "8226_l6"; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa7 { - status = "okay"; - pm8226_l7: regulator-l7 { - regulator-name = "8226_l7"; - regulator-min-microvolt = <1850000>; - regulator-max-microvolt = <1850000>; - qcom,init-voltage = <1850000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa8 { - status = "okay"; - pm8226_l8: regulator-l8 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - status = "okay"; - }; - - pm8226_l8_ao: regulator-l8-ao { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l8_ao"; - qcom,set = <1>; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - qcom,consumer-supplies = "vdd_sr2_pll", ""; - }; - - pm8226_l8_so: regulator-l8-so { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l8_so"; - qcom,set = <2>; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - qcom,init-enable = <0>; - }; - }; - - rpm-regulator-ldoa9 { - status = "okay"; - pm8226_l9: regulator-l9 { - regulator-name = "8226_l9"; - regulator-min-microvolt = <2050000>; - regulator-max-microvolt = <2050000>; - qcom,init-voltage = <2050000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa10 { - status = "okay"; - pm8226_l10: regulator-l10 { - regulator-name = "8226_l10"; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa12 { - status = "okay"; - pm8226_l12: regulator-l12 { - regulator-name = "8226_l12"; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa14 { - status = "okay"; - pm8226_l14: regulator-l14 { - regulator-name = "8226_l14"; - regulator-min-microvolt = <2750000>; - regulator-max-microvolt = <2750000>; - qcom,init-voltage = <2750000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa15 { - status = "okay"; - pm8226_l15: regulator-l15 { - regulator-name = "8226_l15"; - regulator-min-microvolt = <2800000>; - regulator-max-microvolt = <2800000>; - qcom,init-voltage = <2800000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa16 { - status = "okay"; - pm8226_l16: regulator-l16 { - regulator-name = "8226_l16"; - regulator-min-microvolt = <3000000>; - regulator-max-microvolt = <3300000>; - qcom,init-voltage = <3300000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa17 { - status = "okay"; - pm8226_l17: regulator-l17 { - regulator-min-microvolt = <2950000>; - regulator-max-microvolt = <2950000>; - qcom,init-voltage = <2950000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa18 { - status = "okay"; - pm8226_l18: regulator-l18 { - regulator-name = "8226_l18"; - regulator-min-microvolt = <2950000>; - regulator-max-microvolt = <2950000>; - qcom,init-voltage = <2950000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa19 { - status = "okay"; - pm8226_l19: regulator-l19 { - regulator-name = "8226_l19"; - regulator-min-microvolt = <2850000>; - regulator-max-microvolt = <2850000>; - qcom,init-voltage = <2850000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa20 { - status = "okay"; - pm8226_l20: regulator-l20 { - regulator-name = "8226_l20"; - regulator-min-microvolt = <3075000>; - regulator-max-microvolt = <3075000>; - qcom,init-voltage = <3075000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa21 { - status = "okay"; - pm8226_l21: regulator-l21 { - regulator-name = "8226_l21"; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <2950000>; - qcom,init-voltage = <2950000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa22 { - status = "okay"; - pm8226_l22: regulator-l22 { - regulator-name = "8226_l22"; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <2950000>; - qcom,init-voltage = <2950000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa23 { - status = "okay"; - pm8226_l23: regulator-l23 { - regulator-name = "8226_l23"; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <2950000>; - qcom,init-voltage = <2950000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa24 { - status = "okay"; - pm8226_l24: regulator-l24 { - regulator-name = "8226_l24"; - regulator-min-microvolt = <1300000>; - regulator-max-microvolt = <1300000>; - qcom,init-voltage = <1300000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa26 { - status = "okay"; - pm8226_l26: regulator-l26 { - regulator-name = "8226_l26"; - regulator-min-microvolt = <1225000>; - regulator-max-microvolt = <1225000>; - qcom,init-voltage = <1225000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa27 { - status = "okay"; - pm8226_l27: regulator-l27 { - regulator-name = "8226_l27"; - regulator-min-microvolt = <2050000>; - regulator-max-microvolt = <2050000>; - qcom,init-voltage = <2050000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa28 { - status = "okay"; - pm8226_l28: regulator-l28 { - regulator-name = "8226_l28"; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <2950000>; - qcom,init-voltage = <2950000>; - status = "okay"; - }; - }; - - rpm-regulator-vsa1 { - status = "okay"; - pm8226_lvs1: regulator-lvs1 { - status = "okay"; - }; - }; -}; - -&pm8226_chg_boost { - regulator-min-microvolt = <5000000>; - regulator-max-microvolt = <5000000>; - regulator-name = "8226_smbbp_boost"; -}; - -&soc { - usb_otg_sw: regulator-ncp380 { - compatible = "regulator-fixed"; - regulator-name = "usb_otg_sw"; - gpio = <&msmgpio 67 0>; - parent-supply = <&pm8226_chg_boost>; - startup-delay-us = <4000>; - enable-active-high; - status = "disabled"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8226-sim.dts b/kernel/arch/arm/boot/dts/m7350-un-v1/msm8226-sim.dts deleted file mode 100644 index 240564632..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8226-sim.dts +++ /dev/null @@ -1,135 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/dts-v1/; -/include/ "msm8226.dtsi" -/include/ "msm8226-camera.dtsi" - -/ { - model = "Qualcomm MSM 8226 Simulator"; - compatible = "qcom,msm8226-sim", "qcom,msm8226", "qcom,sim"; - qcom,msm-id = <145 16 0>, - <158 16 0>, - <159 16 0>, - <198 16 0>; -}; - -&soc { - serial@f991f000 { - status = "ok"; - }; -}; - -&sdcc1 { - qcom,vdd-always-on; - qcom,vdd-lpm-sup; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <800 500000>; - - qcom,vdd-io-always-on; - qcom,vdd-io-voltage-level = <1800000 1800000>; - qcom,vdd-io-current-level = <250 154000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - vdd-supply = <&pm8226_l17>; - vdd-io-supply = <&pm8226_l6>; - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - qcom,sup-voltages = <2950 2950>; - - qcom,bus-speed-mode = "HS200_1p8v", "DDR_1p8v"; - qcom,nonremovable; - status = "ok"; -}; - -&sdcc2 { - vdd-supply = <&pm8226_l18>; - vdd-io-supply = <&pm8226_l21>; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <9000 800000>; - - qcom,vdd-io-always-on; - qcom,vdd-io-lpm-sup; - qcom,vdd-io-voltage-level = <1800000 2950000>; - qcom,vdd-io-current-level = <6 22000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - qcom,sup-voltages = <2950 2950>; - - qcom,xpc; - qcom,bus-speed-mode = "SDR12", "SDR25", "SDR50", "DDR50", "SDR104"; - qcom,current-limit = <800>; - - status = "ok"; -}; - -&pm8226_gpios { - gpio@c000 { /* GPIO 1 */ - }; - - gpio@c100 { /* GPIO 2 */ - }; - - gpio@c200 { /* GPIO 3 */ - }; - - gpio@c300 { /* GPIO 4 */ - }; - - gpio@c400 { /* GPIO 5 */ - }; - - gpio@c500 { /* GPIO 6 */ - }; - - gpio@c600 { /* GPIO 7 */ - }; - - gpio@c700 { /* GPIO 8 */ - }; -}; - -&pm8226_mpps { - mpp@a000 { /* MPP 1 */ - }; - - mpp@a100 { /* MPP 2 */ - }; - - mpp@a200 { /* MPP 3 */ - }; - - mpp@a300 { /* MPP 4 */ - }; - - mpp@a400 { /* MPP 5 */ - }; - - mpp@a500 { /* MPP 6 */ - }; - - mpp@a600 { /* MPP 7 */ - }; - - mpp@a700 { /* MPP 8 */ - }; -}; - - diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8226-smp2p.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v1/msm8226-smp2p.dtsi deleted file mode 100644 index 3921a686a..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8226-smp2p.dtsi +++ /dev/null @@ -1,225 +0,0 @@ -/* Copyright (c) 2013, 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. - */ -&soc { - qcom,smp2p-modem { - compatible = "qcom,smp2p"; - reg = <0xf9011008 0x4>; - qcom,remote-pid = <1>; - qcom,irq-bitmask = <0x4000>; - interrupts = <0 27 1>; - }; - - qcom,smp2p-adsp { - compatible = "qcom,smp2p"; - reg = <0xf9011008 0x4>; - qcom,remote-pid = <2>; - qcom,irq-bitmask = <0x400>; - interrupts = <0 158 1>; - }; - - qcom,smp2p-wcnss { - compatible = "qcom,smp2p"; - reg = <0xf9011008 0x4>; - qcom,remote-pid = <4>; - qcom,irq-bitmask = <0x40000>; - interrupts = <0 143 1>; - }; - - smp2pgpio_smp2p_7_in: qcom,smp2pgpio-smp2p-7-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <7>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_7_in { - compatible = "qcom,smp2pgpio_test_smp2p_7_in"; - gpios = <&smp2pgpio_smp2p_7_in 0 0>; - }; - - smp2pgpio_smp2p_7_out: qcom,smp2pgpio-smp2p-7-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <7>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_7_out { - compatible = "qcom,smp2pgpio_test_smp2p_7_out"; - gpios = <&smp2pgpio_smp2p_7_out 0 0>; - }; - - smp2pgpio_smp2p_1_in: qcom,smp2pgpio-smp2p-1-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <1>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_1_in { - compatible = "qcom,smp2pgpio_test_smp2p_1_in"; - gpios = <&smp2pgpio_smp2p_1_in 0 0>; - }; - - smp2pgpio_smp2p_1_out: qcom,smp2pgpio-smp2p-1-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <1>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_1_out { - compatible = "qcom,smp2pgpio_test_smp2p_1_out"; - gpios = <&smp2pgpio_smp2p_1_out 0 0>; - }; - - smp2pgpio_ssr_smp2p_1_in: qcom,smp2pgpio-ssr-smp2p-1-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "slave-kernel"; - qcom,remote-pid = <1>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - smp2pgpio_ssr_smp2p_1_out: qcom,smp2pgpio-ssr-smp2p-1-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "master-kernel"; - qcom,remote-pid = <1>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - smp2pgpio_smp2p_2_in: qcom,smp2pgpio-smp2p-2-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <2>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_2_in { - compatible = "qcom,smp2pgpio_test_smp2p_2_in"; - gpios = <&smp2pgpio_smp2p_2_in 0 0>; - }; - - smp2pgpio_smp2p_2_out: qcom,smp2pgpio-smp2p-2-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <2>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_2_out { - compatible = "qcom,smp2pgpio_test_smp2p_2_out"; - gpios = <&smp2pgpio_smp2p_2_out 0 0>; - }; - - /* SMP2P SSR Driver for inbound entry from lpass. */ - smp2pgpio_ssr_smp2p_2_in: qcom,smp2pgpio-ssr-smp2p-2-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "slave-kernel"; - qcom,remote-pid = <2>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - /* SMP2P SSR Driver for outbound entry to lpass */ - smp2pgpio_ssr_smp2p_2_out: qcom,smp2pgpio-ssr-smp2p-2-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "master-kernel"; - qcom,remote-pid = <2>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - smp2pgpio_smp2p_4_in: qcom,smp2pgpio-smp2p-4-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <4>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_4_in { - compatible = "qcom,smp2pgpio_test_smp2p_4_in"; - gpios = <&smp2pgpio_smp2p_4_in 0 0>; - }; - - smp2pgpio_smp2p_4_out: qcom,smp2pgpio-smp2p-4-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <4>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - smp2pgpio_ssr_smp2p_4_in: qcom,smp2pgpio-ssr-smp2p-4-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "slave-kernel"; - qcom,remote-pid = <4>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - smp2pgpio_ssr_smp2p_4_out: qcom,smp2pgpio-ssr-smp2p-4-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "master-kernel"; - qcom,remote-pid = <4>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_4_out { - compatible = "qcom,smp2pgpio_test_smp2p_4_out"; - gpios = <&smp2pgpio_smp2p_4_out 0 0>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8226-v1-cdp.dts b/kernel/arch/arm/boot/dts/m7350-un-v1/msm8226-v1-cdp.dts deleted file mode 100644 index 9c49840d9..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8226-v1-cdp.dts +++ /dev/null @@ -1,25 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; -/include/ "msm8226-v1.dtsi" -/include/ "msm8226-cdp.dtsi" - -/ { - model = "Qualcomm MSM 8226 CDP"; - compatible = "qcom,msm8226-cdp", "qcom,msm8226", "qcom,cdp"; - qcom,msm-id = <145 1 0>, - <158 1 0>, - <159 1 0>, - <198 1 0>, - <205 1 0>; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8226-v1-mtp.dts b/kernel/arch/arm/boot/dts/m7350-un-v1/msm8226-v1-mtp.dts deleted file mode 100644 index b1d46b1c4..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8226-v1-mtp.dts +++ /dev/null @@ -1,25 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; -/include/ "msm8226-v1.dtsi" -/include/ "msm8226-mtp.dtsi" - -/ { - model = "Qualcomm MSM 8226 MTP"; - compatible = "qcom,msm8226-mtp", "qcom,msm8226", "qcom,mtp"; - qcom,msm-id = <145 8 0>, - <158 8 0>, - <159 8 0>, - <198 8 0>, - <205 8 0>; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8226-v1-qrd.dts b/kernel/arch/arm/boot/dts/m7350-un-v1/msm8226-v1-qrd.dts deleted file mode 100644 index d2aabac0c..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8226-v1-qrd.dts +++ /dev/null @@ -1,25 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; -/include/ "msm8226-v1.dtsi" -/include/ "msm8226-qrd.dtsi" - -/ { - model = "Qualcomm MSM 8226 QRD"; - compatible = "qcom,msm8226-qrd", "qcom,msm8226", "qcom,qrd"; - qcom,msm-id = <145 11 0>, - <158 11 0>, - <159 11 0>, - <198 11 0>, - <205 11 0>; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8226-v1.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v1/msm8226-v1.dtsi deleted file mode 100644 index d471bece9..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8226-v1.dtsi +++ /dev/null @@ -1,19 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/* - * As a general rule, only version-specific property overrides should be placed - * inside this file. However, device definitions should be placed inside the - * msm8226.dtsi file. - */ - -/include/ "msm8226.dtsi" diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8226-v2-cdp.dts b/kernel/arch/arm/boot/dts/m7350-un-v1/msm8226-v2-cdp.dts deleted file mode 100644 index 2b18491d9..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8226-v2-cdp.dts +++ /dev/null @@ -1,25 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; -/include/ "msm8226-v2.dtsi" -/include/ "msm8226-cdp.dtsi" - -/ { - model = "Qualcomm MSM 8226v2 CDP"; - compatible = "qcom,msm8226-cdp", "qcom,msm8226", "qcom,cdp"; - qcom,msm-id = <145 1 0x20000>, - <158 1 0x20000>, - <159 1 0x20000>, - <198 1 0x20000>, - <205 1 0x20000>; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8226-v2-mtp.dts b/kernel/arch/arm/boot/dts/m7350-un-v1/msm8226-v2-mtp.dts deleted file mode 100644 index f15dd4cb9..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8226-v2-mtp.dts +++ /dev/null @@ -1,25 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; -/include/ "msm8226-v2.dtsi" -/include/ "msm8226-mtp.dtsi" - -/ { - model = "Qualcomm MSM 8226v2 MTP"; - compatible = "qcom,msm8226-mtp", "qcom,msm8226", "qcom,mtp"; - qcom,msm-id = <145 8 0x20000>, - <158 8 0x20000>, - <159 8 0x20000>, - <198 8 0x20000>, - <205 8 0x20000>; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8226-v2-qrd.dts b/kernel/arch/arm/boot/dts/m7350-un-v1/msm8226-v2-qrd.dts deleted file mode 100644 index 1a89d7894..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8226-v2-qrd.dts +++ /dev/null @@ -1,25 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; -/include/ "msm8226-v2.dtsi" -/include/ "msm8226-qrd.dtsi" - -/ { - model = "Qualcomm MSM 8226v2 QRD"; - compatible = "qcom,msm8226-qrd", "qcom,msm8226", "qcom,qrd"; - qcom,msm-id = <145 11 0x20000>, - <158 11 0x20000>, - <159 11 0x20000>, - <198 11 0x20000>, - <205 11 0x20000>; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8226-v2.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v1/msm8226-v2.dtsi deleted file mode 100644 index d471bece9..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8226-v2.dtsi +++ /dev/null @@ -1,19 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/* - * As a general rule, only version-specific property overrides should be placed - * inside this file. However, device definitions should be placed inside the - * msm8226.dtsi file. - */ - -/include/ "msm8226.dtsi" diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8226.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v1/msm8226.dtsi deleted file mode 100644 index 7c981043c..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8226.dtsi +++ /dev/null @@ -1,1248 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/include/ "skeleton.dtsi" - -/ { - model = "Qualcomm MSM 8226"; - compatible = "qcom,msm8226"; - interrupt-parent = <&intc>; - - aliases { - spi0 = &spi_0; - sdhc1 = &sdhc_1; /* SDC1 eMMC slot */ - sdhc2 = &sdhc_2; /* SDC2 SD card slot */ - }; - - memory { - secure_mem: secure_region { - linux,contiguous-region; - reg = <0 0x6D00000>; - label = "secure_mem"; - }; - - qsecom_mem: qsecom_region { - linux,contiguous-region; - reg = <0 0x780000>; - label = "qsecom_mem"; - }; - }; - - soc: soc { }; -}; - -/include/ "msm8226-ion.dtsi" -/include/ "msm8226-camera.dtsi" -/include/ "msm-gdsc.dtsi" -/include/ "msm8226-iommu.dtsi" -/include/ "msm8226-pm.dtsi" -/include/ "msm8226-smp2p.dtsi" -/include/ "msm8226-gpu.dtsi" -/include/ "msm8226-bus.dtsi" -/include/ "msm8226-mdss.dtsi" -/include/ "msm8226-coresight.dtsi" -/include/ "msm8226-iommu-domains.dtsi" - -&soc { - #address-cells = <1>; - #size-cells = <1>; - ranges; - - intc: interrupt-controller@f9000000 { - compatible = "qcom,msm-qgic2"; - interrupt-controller; - #interrupt-cells = <3>; - reg = <0xF9000000 0x1000>, - <0xF9002000 0x1000>; - }; - - msmgpio: gpio@fd510000 { - compatible = "qcom,msm-gpio"; - interrupt-controller; - #interrupt-cells = <2>; - reg = <0xfd510000 0x4000>; - gpio-controller; - #gpio-cells = <2>; - ngpio = <117>; - interrupts = <0 208 0>; - qcom,direct-connect-irqs = <8>; - }; - - qcom,mpm2-sleep-counter@fc4a3000 { - compatible = "qcom,mpm2-sleep-counter"; - reg = <0xfc4a3000 0x1000>; - clock-frequency = <32768>; - }; - - timer { - compatible = "arm,armv7-timer"; - interrupts = <1 2 0 1 3 0>; - clock-frequency = <19200000>; - }; - - 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 8 0x4>, - <0 7 0x4>; - reg = <0xf9021000 0x1000>, - <0xf9022000 0x1000>; - }; - - frame@f9023000 { - frame-number = <1>; - interrupts = <0 9 0x4>; - reg = <0xf9023000 0x1000>; - status = "disabled"; - }; - - frame@f9024000 { - frame-number = <2>; - interrupts = <0 10 0x4>; - reg = <0xf9024000 0x1000>; - status = "disabled"; - }; - - frame@f9025000 { - frame-number = <3>; - interrupts = <0 11 0x4>; - reg = <0xf9025000 0x1000>; - status = "disabled"; - }; - - frame@f9026000 { - frame-number = <4>; - interrupts = <0 12 0x4>; - reg = <0xf9026000 0x1000>; - status = "disabled"; - }; - - frame@f9027000 { - frame-number = <5>; - interrupts = <0 13 0x4>; - reg = <0xf9027000 0x1000>; - status = "disabled"; - }; - - frame@f9028000 { - frame-number = <6>; - interrupts = <0 14 0x4>; - reg = <0xf9028000 0x1000>; - status = "disabled"; - }; - }; - - qcom,vidc@fdc00000 { - compatible = "qcom,msm-vidc"; - reg = <0xfdc00000 0xff000>; - interrupts = <0 44 0>; - qcom,load-freq-tbl = <352800 160000000>, - <244800 133330000>, - <108000 66700000>; - qcom,hfi = "venus"; - qcom,bus-ports = <1>; - qcom,reg-presets = <0xE0024 0x0>, - <0x80124 0x3>, - <0xE0020 0x5555556>, - <0x800B0 0x10101001>, - <0x800B4 0x00101010>, - <0x800C0 0x1010100f>, - <0x800C4 0x00101010>, - <0x800D0 0x00000010>, - <0x800D4 0x00000010>, - <0x800D8 0x00000707>; - qcom,enc-ddr-ab-ib = <0 0>, - <129000 142000>, - <384000 422000>, - <866000 953000>; - qcom,dec-ddr-ab-ib = <0 0>, - <103000 134000>, - <268000 348000>, - <505000 657000>; - qcom,iommu-groups = <&venus_domain_ns &venus_domain_cp>; - qcom,iommu-group-buffer-types = <0xfff 0x1ff>; - qcom,buffer-type-tz-usage-table = <0x1 0x1>, - <0x1fe 0x2>; - qcom,max-hw-load = <352800>; /* 720p @ 30 + 1080p @ 30 */ - }; - - qcom,wfd { - compatible = "qcom,msm-wfd"; - }; - - serial@f991f000 { - compatible = "qcom,msm-lsuart-v14"; - reg = <0xf991f000 0x1000>; - interrupts = <0 109 0>; - status = "disabled"; - }; - - serial@f995e000 { - compatible = "qcom,msm-lsuart-v14"; - reg = <0xf995e000 0x1000>; - interrupts = <0 114 0>; - status = "disabled"; - }; - - qcom,msm-imem@fe805000 { - compatible = "qcom,msm-imem"; - reg = <0xfe805000 0x1000>; /* Address and size of IMEM */ - }; - - qcom,sps@f9984000 { - compatible = "qcom,msm_sps"; - reg = <0xf9984000 0x15000>, - <0xf9999000 0xb000>; - interrupts = <0 94 0>; - }; - - qcom,usbbam@f9a44000 { - compatible = "qcom,usb-bam-msm"; - reg = <0xf9a44000 0x11000>; - reg-names = "hsusb"; - interrupts = <0 135 0>; - interrupt-names = "hsusb"; - qcom,usb-bam-num-pipes = <16>; - qcom,usb-bam-fifo-baseaddr = <0xfe803000>; - qcom,ignore-core-reset-ack; - qcom,disable-clk-gating; - - qcom,pipe0 { - label = "hsusb-qdss-in-0"; - qcom,usb-bam-mem-type = <3>; - qcom,bam-type = <1>; - 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 = <0xf9a44000>; - qcom,dst-bam-pipe-index = <2>; - qcom,data-fifo-offset = <0x0>; - qcom,data-fifo-size = <0x600>; - qcom,descriptor-fifo-offset = <0x600>; - qcom,descriptor-fifo-size = <0x200>; - }; - }; - - usb_otg: usb@f9a55000 { - compatible = "qcom,hsusb-otg"; - reg = <0xf9a55000 0x400>; - interrupts = <0 134 0>, <0 140 0>; - interrupt-names = "core_irq", "async_irq"; - hsusb_vdd_dig-supply = <&pm8226_s1_corner>; - HSUSB_1p8-supply = <&pm8226_l10>; - HSUSB_3p3-supply = <&pm8226_l20>; - qcom,vdd-voltage-level = <1 5 7>; - - qcom,hsusb-otg-phy-init-seq = - <0x44 0x80 0x68 0x81 0x24 0x82 0x13 0x83 0xffffffff>; - qcom,hsusb-otg-phy-type = <2>; - qcom,hsusb-otg-mode = <1>; - qcom,hsusb-otg-otg-control = <2>; - qcom,hsusb-otg-disable-reset; - qcom,dp-manual-pullup; - - qcom,msm-bus,name = "usb"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <87 512 0 0>, - <87 512 60000 960000>; - }; - - android_usb@fe8050c8 { - compatible = "qcom,android-usb"; - reg = <0xfe8050c8 0xc8>; - qcom,android-usb-cdrom; - qcom,android-usb-swfi-latency = <1>; - }; - - wcd9xxx_intc: wcd9xxx-irq { - compatible = "qcom,wcd9xxx-irq"; - interrupt-controller; - #interrupt-cells = <1>; - interrupt-parent = <&msmgpio>; - interrupts = <68 0>; - interrupt-names = "cdc-int"; - }; - - slim_msm: slim@fe12f000 { - cell-index = <1>; - compatible = "qcom,slim-ngd"; - reg = <0xfe12f000 0x35000>, - <0xfe104000 0x20000>; - reg-names = "slimbus_physical", "slimbus_bam_physical"; - interrupts = <0 163 0>, <0 164 0>; - interrupt-names = "slimbus_irq", "slimbus_bam_irq"; - - tapan_codec { - compatible = "qcom,tapan-slim-pgd"; - elemental-addr = [00 01 E0 00 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>; - qcom,cdc-reset-gpio = <&msmgpio 72 0>; - - cdc-vdd-buck-supply = <&pm8226_s4>; - qcom,cdc-vdd-buck-voltage = <2100000 2100000>; - qcom,cdc-vdd-buck-current = <650000>; - - cdc-vdd-h-supply = <&pm8226_l6>; - qcom,cdc-vdd-h-voltage = <1800000 1800000>; - qcom,cdc-vdd-h-current = <25000>; - - cdc-vdd-px-supply = <&pm8226_l6>; - qcom,cdc-vdd-px-voltage = <1800000 1800000>; - qcom,cdc-vdd-px-current = <25000>; - - cdc-vdd-a-1p2v-supply = <&pm8226_l4>; - qcom,cdc-vdd-a-1p2v-voltage = <1200000 1200000>; - qcom,cdc-vdd-a-1p2v-current = <10000>; - - cdc-vdd-cx-supply = <&pm8226_l4>; - qcom,cdc-vdd-cx-voltage = <1200000 1200000>; - qcom,cdc-vdd-cx-current = <10000>; - - qcom,cdc-static-supplies = "cdc-vdd-buck", - "cdc-vdd-h", - "cdc-vdd-px", - "cdc-vdd-a-1p2v", - "cdc-vdd-cx"; - - qcom,cdc-micbias-ldoh-v = <0x3>; - qcom,cdc-micbias-cfilt1-mv = <1800>; - qcom,cdc-micbias-cfilt2-mv = <2700>; - 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-mclk-clk-rate = <9600000>; - qcom,cdc-slim-ifd = "tapan-slim-ifd"; - qcom,cdc-slim-ifd-elemental-addr = [00 00 E0 00 17 02]; - }; - }; - - qcom,msm-adsp-loader { - compatible = "qcom,adsp-loader"; - qcom,adsp-state = <0>; - }; - - sound { - compatible = "qcom,msm8226-audio-tapan"; - qcom,model = "msm8226-tapan-snd-card"; - qcom,tapan-mclk-clk-freq = <9600000>; - qcom,prim-auxpcm-gpio-clk = <&msmgpio 63 0>; - qcom,prim-auxpcm-gpio-sync = <&msmgpio 64 0>; - qcom,prim-auxpcm-gpio-din = <&msmgpio 65 0>; - qcom,prim-auxpcm-gpio-dout = <&msmgpio 66 0>; - qcom,prim-auxpcm-gpio-set = "prim-gpio-prim"; - }; - - qcom,msm-pcm { - compatible = "qcom,msm-pcm-dsp"; - qcom,msm-pcm-dsp-id = <0>; - }; - - qcom,msm-pcm-routing { - compatible = "qcom,msm-pcm-routing"; - }; - - qcom,msm-pcm-low-latency { - compatible = "qcom,msm-pcm-dsp"; - qcom,msm-pcm-dsp-id = <1>; - qcom,msm-pcm-low-latency; - }; - - qcom,msm-pcm-lpa { - compatible = "qcom,msm-pcm-lpa"; - }; - - qcom,msm-compr-dsp { - compatible = "qcom,msm-compr-dsp"; - }; - - qcom,msm-voip-dsp { - compatible = "qcom,msm-voip-dsp"; - }; - - qcom,msm-pcm-voice { - compatible = "qcom,msm-pcm-voice"; - }; - - qcom,msm-stub-codec { - compatible = "qcom,msm-stub-codec"; - }; - - qcom,msm-dai-fe { - compatible = "qcom,msm-dai-fe"; - }; - - qcom,msm-pcm-afe { - compatible = "qcom,msm-pcm-afe"; - }; - - qcom,msm-dai-q6-hdmi { - compatible = "qcom,msm-dai-q6-hdmi"; - qcom,msm-dai-q6-dev-id = <8>; - }; - - qcom,msm-dai-q6 { - compatible = "qcom,msm-dai-q6"; - qcom,msm-dai-q6-sb-0-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <16384>; - }; - - qcom,msm-dai-q6-sb-0-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <16385>; - }; - - qcom,msm-dai-q6-sb-1-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <16386>; - }; - - qcom,msm-dai-q6-sb-1-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <16387>; - }; - - qcom,msm-dai-q6-sb-3-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <16390>; - }; - - qcom,msm-dai-q6-sb-3-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <16391>; - }; - - qcom,msm-dai-q6-sb-4-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <16392>; - }; - - qcom,msm-dai-q6-sb-4-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <16393>; - }; - - qcom,msm-dai-q6-bt-sco-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <12288>; - }; - - qcom,msm-dai-q6-bt-sco-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <12289>; - }; - - qcom,msm-dai-q6-int-fm-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <12292>; - }; - - qcom,msm-dai-q6-int-fm-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <12293>; - }; - - qcom,msm-dai-q6-be-afe-pcm-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <224>; - }; - - qcom,msm-dai-q6-be-afe-pcm-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <225>; - }; - - qcom,msm-dai-q6-afe-proxy-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <241>; - }; - - qcom,msm-dai-q6-afe-proxy-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <240>; - }; - - qcom,msm-dai-q6-incall-record-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <32771>; - }; - - qcom,msm-dai-q6-incall-record-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <32772>; - }; - - qcom,msm-dai-q6-incall-music-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <32773>; - }; - }; - - qcom,msm-pcm-hostless { - compatible = "qcom,msm-pcm-hostless"; - }; - - qcom,msm-auxpcm { - compatible = "qcom,msm-auxpcm-resource"; - qcom,msm-cpudai-auxpcm-clk = "pcm_clk"; - 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-slot = <1>, <1>; - qcom,msm-cpudai-auxpcm-data = <0>, <0>; - qcom,msm-cpudai-auxpcm-pcm-clk-rate = <2048000>, <2048000>; - - qcom,msm-prim-auxpcm-rx { - qcom,msm-auxpcm-dev-id = <4106>; - compatible = "qcom,msm-auxpcm-dev"; - }; - - qcom,msm-prim-auxpcm-tx { - qcom,msm-auxpcm-dev-id = <4107>; - compatible = "qcom,msm-auxpcm-dev"; - }; - }; - - qcom,wcnss-wlan@fb000000 { - compatible = "qcom,wcnss_wlan"; - reg = <0xfb000000 0x280000>, - <0xf9011008 0x04>; - reg-names = "wcnss_mmio", "wcnss_fiq"; - interrupts = <0 145 0 0 146 0>; - interrupt-names = "wcnss_wlantx_irq", "wcnss_wlanrx_irq"; - - qcom,pronto-vddmx-supply = <&pm8226_l3>; - qcom,pronto-vddcx-supply = <&pm8226_s1>; - qcom,pronto-vddpx-supply = <&pm8226_l6>; - qcom,iris-vddxo-supply = <&pm8226_l10>; - qcom,iris-vddrfa-supply = <&pm8226_l24>; - qcom,iris-vddpa-supply = <&pm8226_l16>; - qcom,iris-vdddig-supply = <&pm8226_l24>; - - gpios = <&msmgpio 40 0>, <&msmgpio 41 0>, <&msmgpio 42 0>, <&msmgpio 43 0>, <&msmgpio 44 0>; - qcom,has-pronto-hw; - qcom,has-autodetect-xo; - }; - - qcom,msm-adsp-sensors { - compatible = "qcom,msm-adsp-sensors"; - qcom,src-id = <11>; - qcom,dst-id = <604>; - qcom,ab = <32505856>; - qcom,ib = <32505856>; - }; - - qcom,wdt@f9017000 { - compatible = "qcom,msm-watchdog"; - reg = <0xf9017000 0x1000>; - interrupts = <0 3 0>, <0 4 0>; - qcom,bark-time = <11000>; - qcom,pet-time = <10000>; - qcom,ipi-ping; - }; - - qcom,smem@fa00000 { - compatible = "qcom,smem"; - reg = <0xfa00000 0x100000>, - <0xf9011000 0x1000>, - <0xfc428000 0x4000>; - reg-names = "smem", "irq-reg-base", "aux-mem1"; - - qcom,smd-modem { - compatible = "qcom,smd"; - qcom,smd-edge = <0>; - qcom,smd-irq-offset = <0x8>; - qcom,smd-irq-bitmask = <0x1000>; - qcom,pil-string = "modem"; - interrupts = <0 25 1>; - }; - - qcom,smsm-modem { - compatible = "qcom,smsm"; - qcom,smsm-edge = <0>; - qcom,smsm-irq-offset = <0x8>; - qcom,smsm-irq-bitmask = <0x2000>; - interrupts = <0 26 1>; - }; - - qcom,smd-adsp { - compatible = "qcom,smd"; - qcom,smd-edge = <1>; - qcom,smd-irq-offset = <0x8>; - qcom,smd-irq-bitmask = <0x100>; - qcom,pil-string = "adsp"; - interrupts = <0 156 1>; - }; - - qcom,smsm-adsp { - compatible = "qcom,smsm"; - qcom,smsm-edge = <1>; - qcom,smsm-irq-offset = <0x8>; - qcom,smsm-irq-bitmask = <0x200>; - interrupts = <0 157 1>; - }; - - qcom,smd-wcnss { - compatible = "qcom,smd"; - qcom,smd-edge = <6>; - qcom,smd-irq-offset = <0x8>; - qcom,smd-irq-bitmask = <0x20000>; - qcom,pil-string = "wcnss"; - interrupts = <0 142 1>; - }; - - qcom,smsm-wcnss { - compatible = "qcom,smsm"; - qcom,smsm-edge = <6>; - qcom,smsm-irq-offset = <0x8>; - qcom,smsm-irq-bitmask = <0x80000>; - interrupts = <0 144 1>; - }; - - qcom,smd-rpm { - compatible = "qcom,smd"; - qcom,smd-edge = <15>; - qcom,smd-irq-offset = <0x8>; - qcom,smd-irq-bitmask = <0x1>; - interrupts = <0 168 1>; - qcom,irq-no-suspend; - }; - }; - - rpm_bus: qcom,rpm-smd { - compatible = "qcom,rpm-smd"; - rpm-channel-name = "rpm_requests"; - rpm-channel-type = <15>; /* SMD_APPS_RPM */ - }; - - qcom,bcl { - compatible = "qcom,bcl"; - }; - - sdcc1: qcom,sdcc@f9824000 { - cell-index = <1>; /* SDC1 eMMC slot */ - compatible = "qcom,msm-sdcc"; - - reg = <0xf9824000 0x800>, - <0xf9824800 0x100>, - <0xf9804000 0x7000>; - reg-names = "core_mem", "dml_mem", "bam_mem"; - interrupts = <0 123 0>, <0 137 0>; - interrupt-names = "core_irq", "bam_irq"; - - qcom,bus-width = <8>; - status = "disabled"; - }; - - sdhc_1: sdhci@f9824900 { - compatible = "qcom,sdhci-msm"; - reg = <0xf9824900 0x11c>, <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>; - status = "disabled"; - }; - - sdcc2: qcom,sdcc@f98a4000 { - cell-index = <2>; /* SDC2 SD card slot */ - compatible = "qcom,msm-sdcc"; - - reg = <0xf98a4000 0x800>, - <0xf98a4800 0x100>, - <0xf9884000 0x7000>; - reg-names = "core_mem", "dml_mem", "bam_mem"; - interrupts = <0 125 0>, <0 220 0>; - interrupt-names = "core_irq", "bam_irq"; - - qcom,bus-width = <4>; - 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"; - - qcom,bus-width = <4>; - status = "disabled"; - }; - - spmi_bus: qcom,spmi@fc4c0000 { - cell-index = <0>; - 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-ee = <0>; - qcom,pmic-arb-channel = <0>; - }; - - i2c@f9926000 { /* BLSP-1 QUP-4 */ - cell-index = <0>; - compatible = "qcom,i2c-qup"; - reg = <0xf9926000 0x1000>; - #address-cells = <1>; - #size-cells = <0>; - reg-names = "qup_phys_addr"; - interrupts = <0 98 0>; - interrupt-names = "qup_err_intr"; - qcom,i2c-bus-freq = <100000>; - }; - - i2c@f9927000 { /* BLSP1 QUP5 */ - cell-index = <5>; - compatible = "qcom,i2c-qup"; - #address-cells = <1>; - #size-cells = <0>; - reg-names = "qup_phys_addr"; - reg = <0xf9927000 0x1000>; - interrupt-names = "qup_err_intr"; - interrupts = <0 99 0>; - qcom,i2c-bus-freq = <384000>; - qcom,i2c-src-freq = <19200000>; - }; - - qcom,acpuclk@f9011050 { - compatible = "qcom,acpuclk-a7"; - reg = <0xf9011050 0x8>; - reg-names = "rcg_base"; - a7_cpu-supply = <&apc_vreg_corner>; - }; - - qcom,ocmem@fdd00000 { - compatible = "qcom,msm-ocmem"; - reg = <0xfdd00000 0x2000>, - <0xfdd02000 0x2000>, - <0xfe039000 0x400>, - <0xfec00000 0x20000>; - 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 = <0x1>; - qcom,ocmem-num-macros = <0x2>; - qcom,resource-type = <0x706d636f>; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0x0 0xfec00000 0x20000>; - - partition@0 { - reg = <0x0 0x20000>; - qcom,ocmem-part-name = "graphics"; - qcom,ocmem-part-min = <0x20000>; - }; - }; - - qcom,venus@fdce0000 { - compatible = "qcom,pil-venus"; - reg = <0xfdce0000 0x4000>, - <0xfdc80000 0x400>; - reg-names = "wrapper_base", "vbif_base"; - vdd-supply = <&gdsc_venus>; - - qcom,firmware-name = "venus"; - }; - - qcom,pronto@fb21b000 { - compatible = "qcom,pil-pronto"; - reg = <0xfb21b000 0x3000>, - <0xfc401700 0x4>, - <0xfd485300 0xc>; - reg-names = "pmu_base", "clk_base", "halt_base"; - interrupts = <0 149 1>; - vdd_pronto_pll-supply = <&pm8226_l8>; - - qcom,firmware-name = "wcnss"; - - /* GPIO inputs from wcnss */ - qcom,gpio-err-fatal = <&smp2pgpio_ssr_smp2p_4_in 0 0>; - qcom,gpio-err-ready = <&smp2pgpio_ssr_smp2p_4_in 1 0>; - qcom,gpio-proxy-unvote = <&smp2pgpio_ssr_smp2p_4_in 2 0>; - - /* GPIO output to wcnss */ - qcom,gpio-force-stop = <&smp2pgpio_ssr_smp2p_4_out 0 0>; - }; - - qcom,iris-fm { - compatible = "qcom,iris_fm"; - }; - - qcom,lpass@fe200000 { - compatible = "qcom,pil-q6v5-lpass"; - reg = <0xfe200000 0x00100>, - <0xfd485100 0x00010>, - <0xfc4016c0 0x00004>; - reg-names = "qdsp6_base", "halt_base", "restart_reg"; - vdd_cx-supply = <&pm8226_s1_corner>; - interrupts = <0 162 1>; - - 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>; - - /* GPIO output to lpass */ - qcom,gpio-force-stop = <&smp2pgpio_ssr_smp2p_2_out 0 0>; - }; - - qcom,mss@fc880000 { - compatible = "qcom,pil-q6v5-mss"; - reg = <0xfc880000 0x100>, - <0xfd485000 0x400>, - <0xfc820000 0x020>, - <0xfc401680 0x004>, - <0xfd485194 0x4>; - reg-names = "qdsp6_base", "halt_base", "rmb_base", - "restart_reg", "cxrail_bhs_reg"; - - interrupts = <0 24 1>; - vdd_cx-supply = <&pm8226_s1_corner>; - vdd_mx-supply = <&pm8226_l3>; - vdd_pll-supply = <&pm8226_l8>; - qcom,vdd_pll = <1800000>; - - qcom,is-loadable; - qcom,firmware-name = "mba"; - qcom,pil-self-auth; - - /* 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>; - }; - - qcom,msm-mem-hole { - compatible = "qcom,msm-mem-hole"; - qcom,memblock-remove = <0x6400000 0x9b00000>; /* Address and Size of Hole */ - }; - - tsens: tsens@fc4a8000 { - compatible = "qcom,msm-tsens"; - reg = <0xfc4a8000 0x2000>, - <0xfc4b8000 0x1000>; - reg-names = "tsens_physical", "tsens_eeprom_physical"; - interrupts = <0 184 0>; - qcom,sensors = <4>; - qcom,slope = <2901 2846 3038 2955>; - qcom,calib-mode = "fuse_map2"; - }; - - qcom,msm-thermal { - compatible = "qcom,msm-thermal"; - qcom,sensor-id = <0>; - qcom,poll-ms = <250>; - qcom,limit-temp = <60>; - qcom,temp-hysteresis = <10>; - qcom,freq-step = <2>; - qcom,freq-control-mask = <0xf>; - }; - - spi_0: 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 0xF000>; - interrupt-names = "spi_irq", "spi_bam_irq"; - interrupts = <0 95 0>, <0 238 0>; - spi-max-frequency = <19200000>; - - gpios = <&msmgpio 3 0>, /* CLK */ - <&msmgpio 1 0>, /* MISO */ - <&msmgpio 0 0>; /* MOSI */ - cs-gpios = <&msmgpio 22 0>; - - qcom,infinite-mode = <0>; - qcom,use-bam; - qcom,ver-reg-exists; - qcom,bam-consumer-pipe-index = <12>; - qcom,bam-producer-pipe-index = <13>; - }; - - qcom,bam_dmux@fc834000 { - compatible = "qcom,bam_dmux"; - reg = <0xfc834000 0x7000>; - interrupts = <0 29 1>; - }; - - qcom,msm-rtb { - compatible = "qcom,msm-rtb"; - qcom,memory-reservation-type = "EBI1"; - qcom,memory-reservation-size = <0x100000>; /* 1M EBI1 buffer */ - }; - - qcom,msm-rng@f9bff000 { - compatible = "qcom,msm-rng"; - reg = <0xf9bff000 0x200>; - qcom,msm-rng-iface-clk; - }; - - qcom,tz-log@fe805720 { - compatible = "qcom,tz-log"; - reg = <0x0fe805720 0x1000>; - }; - - jtag_mm0: jtagmm@fc33c000 { - compatible = "qcom,jtag-mm"; - reg = <0xfc33c000 0x1000>, - <0xfc330000 0x1000>; - reg-names = "etm-base","debug-base"; - }; - - jtag_mm1: jtagmm@fc33d000 { - compatible = "qcom,jtag-mm"; - reg = <0xfc33d000 0x1000>, - <0xfc332000 0x1000>; - reg-names = "etm-base","debug-base"; - }; - - jtag_mm2: jtagmm@fc33e000 { - compatible = "qcom,jtag-mm"; - reg = <0xfc33e000 0x1000>, - <0xfc334000 0x1000>; - reg-names = "etm-base","debug-base"; - }; - - jtag_mm3: jtagmm@fc33f000 { - compatible = "qcom,jtag-mm"; - reg = <0xfc33f000 0x1000>, - <0xfc336000 0x1000>; - reg-names = "etm-base","debug-base"; - }; - - qcom,ipc-spinlock@fd484000 { - compatible = "qcom,ipc-spinlock-sfpb"; - reg = <0xfd484000 0x400>; - qcom,num-locks = <8>; - }; - - qcom,qseecom@d980000 { - compatible = "qcom,qseecom"; - reg = <0xd980000 0x256000>; - reg-names = "secapp-region"; - qcom,disk-encrypt-pipe-pair = <2>; - qcom,hlos-ce-hw-instance = <0>; - qcom,qsee-ce-hw-instance = <0>; - qcom,msm-bus,name = "qseecom-noc"; - qcom,msm-bus,num-cases = <4>; - qcom,msm-bus,active-only = <0>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <55 512 0 0>, - <55 512 3936000 393600>, - <55 512 3936000 393600>, - <55 512 3936000 393600>; - }; - - qcom,qcrypto@fd404000 { - compatible = "qcom,qcrypto"; - reg = <0xfd400000 0x20000>, - <0xfd404000 0x8000>; - reg-names = "crypto-base","crypto-bam-base"; - interrupts = <0 207 0>; - qcom,bam-pipe-pair = <2>; - qcom,ce-hw-instance = <0>; - qcom,ce-hw-shared; - qcom,msm-bus,name = "qcrypto-noc"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,active-only = <0>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <55 512 0 0>, - <55 512 3936000 393600>; - }; - - qcom,qcedev@fd400000 { - compatible = "qcom,qcedev"; - reg = <0xfd400000 0x20000>, - <0xfd404000 0x8000>; - reg-names = "crypto-base","crypto-bam-base"; - interrupts = <0 207 0>; - qcom,bam-pipe-pair = <1>; - qcom,ce-hw-instance = <0>; - qcom,ce-hw-shared; - qcom,msm-bus,name = "qcedev-noc"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,active-only = <0>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <55 512 0 0>, - <55 512 3936000 393600>; - }; - - cpu-pmu { - compatible = "arm,cortex-a7-pmu"; - qcom,irq-is-percpu; - interrupts = <1 7 0xf00>; - }; -}; - -&gdsc_venus { - qcom,clock-names = "core_clk"; - status = "ok"; -}; - -&gdsc_mdss { - qcom,clock-names = "core_clk", "lut_clk"; - status = "ok"; -}; - -&gdsc_jpeg { - qcom,clock-names = "core_clk"; - status = "ok"; -}; - -&gdsc_vfe { - qcom,clock-names = "core_clk", "csi_clk", "cpp_clk"; - status = "ok"; -}; - -&gdsc_oxili_cx { - qcom,clock-names = "core_clk"; - status = "ok"; -}; - -&gdsc_usb_hsic { - status = "ok"; -}; - -/include/ "msm-pm8226-rpm-regulator.dtsi" -/include/ "msm-pm8226.dtsi" -/include/ "msm8226-regulator.dtsi" - -&pm8226_vadc { - chan@0 { - label = "usb_in"; - reg = <0>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <4>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@2 { - label = "vchg_sns"; - reg = <2>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <3>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@5 { - label = "vcoin"; - reg = <5>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <1>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@6 { - label = "vbat_sns"; - reg = <6>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <1>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@7 { - label = "vph_pwr"; - reg = <7>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <1>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@30 { - label = "batt_therm"; - reg = <0x30>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <1>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@31 { - label = "batt_id"; - reg = <0x31>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@b2 { - label = "xo_therm_pu2"; - reg = <0xb2>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <4>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@39 { - label = "usb_id_nopull"; - reg = <0x39>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; -}; - -&pm8226_adc_tm { - /* Channel Node */ - chan@30 { - label = "batt_therm"; - reg = <0x30>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <1>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <3>; - qcom,btm-channel-number = <0x48>; - }; - - chan@8 { - label = "die_temp"; - reg = <8>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <3>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <3>; - qcom,btm-channel-number = <0x68>; - }; - - chan@6 { - label = "vbat_sns"; - reg = <6>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <1>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <3>; - qcom,btm-channel-number = <0x70>; - }; - - chan@14 { - label = "pa_therm0"; - reg = <0x14>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - qcom,btm-channel-number = <0x78>; - qcom,thermal-node; - }; - - chan@17 { - label = "pa_therm1"; - reg = <0x17>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - qcom,btm-channel-number = <0x80>; - qcom,thermal-node; - }; -}; - -&pm8226_chg { - status = "ok"; - - qcom,chgr@1000 { - status = "ok"; - }; - - qcom,buck@1100 { - status = "ok"; - }; - - qcom,bat-if@1200 { - status = "ok"; - }; - - qcom,usb-chgpth@1300 { - status = "ok"; - }; - - qcom,boost@1500 { - status = "ok"; - }; - - qcom,chg-misc@1600 { - status = "ok"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8610-bus.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v1/msm8610-bus.dtsi deleted file mode 100644 index d9bb6ab20..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8610-bus.dtsi +++ /dev/null @@ -1,1014 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -&soc { - msm-mmss-noc@fc478000 { - compatible = "msm-bus-fabric"; - reg = <0xfc478000 0x00004000>; - cell-id = <2048>; - label = "msm_mmss_noc"; - qcom,fabclk-dual = "bus_clk"; - qcom,fabclk-active = "bus_a_clk"; - qcom,ntieredslaves = <0>; - qcom,qos-freq = <4800>; - qcom,hw-sel = "NoC"; - qcom,rpm-en; - - coresight-id = <52>; - coresight-name = "coresight-mnoc"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_in0>; - coresight-child-ports = <5>; - - mas-mdp-port0 { - cell-id = <22>; - label = "mas-mdp-port0"; - qcom,masterp = <2>; - qcom,tier = <2>; - qcom,hw-sel = "NoC"; - qcom,perm-mode = "Fixed"; - qcom,mode = "Fixed"; - qcom,qport = <0>; - qcom,ws = <10000>; - qcom,mas-hw-id = <8>; - qcom,prio1 = <2>; - qcom,prio0 = <2>; - }; - - mas-vfe { - cell-id = <29>; - label = "mas-vfe"; - qcom,masterp = <3>; - qcom,tier = <2>; - qcom,hw-sel = "NoC"; - qcom,perm-mode = "Bypass"; - qcom,mode = "Bypass"; - qcom,ws = <10000>; - qcom,qport = <2>; - qcom,mas-hw-id = <11>; - qcom,prio1 = <2>; - qcom,prio0 = <2>; - }; - - mas-mdpe { - cell-id = <92>; - label = "mas-mdpe"; - qcom,masterp = <4>; - qcom,tier = <2>; - qcom,hw-sel = "NoC"; - qcom,perm-mode = "Fixed"; - qcom,mode = "Fixed"; - qcom,ws = <10000>; - qcom,qport = <7>; - qcom,mas-hw-id = <11>; - qcom,prio1 = <2>; - qcom,prio0 = <2>; - }; - - fab-bimc { - cell-id = <0>; - label = "fab-bimc"; - qcom,gateway; - qcom,slavep = <16>; - qcom,buswidth = <8>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <16>; - }; - - slv-camera-cfg { - cell-id = <589>; - label = "slv-camera-cfg"; - qcom,slavep = <0>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <3>; - }; - - slv-display-cfg { - cell-id = <590>; - label = "slv-display-cfg"; - qcom,slavep = <1>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <4>; - }; - - slv-cpr-cfg { - cell-id = <592>; - label = "slv-cpr-cfg"; - qcom,slavep = <3>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <6>; - }; - - slv-cpr-xpu-cfg { - cell-id = <593>; - label = "slv-cpr-xpu-cfg"; - qcom,slavep = <4>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <7>; - }; - - slv-misc-cfg { - cell-id = <594>; - label = "slv-misc-cfg"; - qcom,slavep = <6>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <8>; - }; - - slv-misc-xpu-cfg { - cell-id = <595>; - label = "slv-misc-xpu-cfg"; - qcom,slavep = <7>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <9>; - }; - - slv-gfx3d-cfg { - cell-id = <598>; - label = "slv-gfx3d-cfg"; - qcom,slavep = <9>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <11>; - }; - - slv-mmss-clk-cfg { - cell-id = <599>; - label = "slv-mmss-clk-cfg"; - qcom,slavep = <11>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <12>; - }; - - slv-mmss-clk-xpu-cfg { - cell-id = <600>; - label = "slv-mmss-clk-xpu-cfg"; - qcom,slavep = <12>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <13>; - }; - - slv-mnoc-mpu-cfg { - cell-id = <601>; - label = "slv-mnoc-mpu-cfg"; - qcom,slavep = <13>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <14>; - }; - - slv-onoc-mpu-cfg { - cell-id = <602>; - label = "slv-onoc-mpu-cfg"; - qcom,slavep = <14>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <15>; - }; - - slv-service-mnoc { - cell-id = <603>; - label = "slv-service-mnoc"; - qcom,slavep = <18>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <17>; - }; - - slv-dsi-cfg { - cell-id = <649>; - label = "slv-dsi-cfg"; - qcom,slavep = <19>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <19>; - }; - }; - - msm-sys-noc@fc460000 { - compatible = "msm-bus-fabric"; - reg = <0xfc460000 0x00004000>; - cell-id = <1024>; - label = "msm_sys_noc"; - qcom,fabclk-dual = "bus_clk"; - qcom,fabclk-active = "bus_a_clk"; - qcom,ntieredslaves = <0>; - qcom,qos-freq = <4800>; - qcom,hw-sel = "NoC"; - qcom,rpm-en; - - coresight-id = <50>; - coresight-name = "coresight-snoc"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_in0>; - coresight-child-ports = <3>; - - mas-lpass-ahb { - cell-id = <52>; - label = "mas-lpass-ahb"; - qcom,masterp = <0>; - qcom,tier = <2>; - qcom,mas-hw-id = <18>; - }; - - mas-qdss-bam { - cell-id = <53>; - label = "mas-qdss-bam"; - qcom,masterp = <1>; - qcom,tier = <2>; - qcom,mas-hw-id = <19>; - }; - - mas-snoc-cfg { - cell-id = <54>; - label = "mas-snoc-cfg"; - qcom,masterp = <2>; - qcom,tier = <2>; - qcom,mas-hw-id = <20>; - }; - - fab-bimc { - cell-id = <0>; - label= "fab-bimc"; - qcom,gateway; - qcom,slavep = <7>; - qcom,masterp = <3>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <21>; - qcom,slv-hw-id = <24>; - }; - - fab-cnoc { - cell-id = <5120>; - label = "fab-cnoc"; - qcom,gateway; - qcom,slavep = <8>; - qcom,masterp = <4>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <22>; - qcom,slv-hw-id = <25>; - }; - - fab-pnoc { - cell-id = <4096>; - label = "fab-pnoc"; - qcom,gateway; - qcom,slavep = <10>; - qcom,masterp = <10>; - qcom,buswidth = <8>; - qcom,qport = <8>; - qcom,mas-hw-id = <29>; - qcom,slv-hw-id = <28>; - qcom,mode = "Fixed"; - qcom,prio0 = <2>; - qcom,prio1 = <2>; - }; - - fab-ovnoc { - cell-id = <6144>; - label = "fab-ovnoc"; - qcom,gateway; - qcom,buswidth = <8>; - qcom,mas-hw-id = <53>; - qcom,slv-hw-id = <77>; - }; - - mas-crypto-core0 { - cell-id = <55>; - label = "mas-crypto-core0"; - qcom,masterp = <5>; - qcom,tier = <2>; - qcom,mas-hw-id = <23>; - qcom,hw-sel = "NoC"; - qcom,prio0 = <1>; - qcom,prio1 = <1>; - }; - - mas-mss { - cell-id = <38>; - label = "mas-mss"; - qcom,masterp = <7>; - qcom,tier = <2>; - qcom,mas-hw-id = <26>; - }; - - mas-mss-nav { - cell-id = <57>; - label = "mas-mss-nav"; - qcom,masterp = <8>; - qcom,tier = <2>; - qcom,mas-hw-id = <27>; - }; - - mas-ocmem-dma { - cell-id = <58>; - label = "mas-ocmem-dma"; - qcom,masterp = <9>; - qcom,tier = <2>; - qcom,mode = "Fixed"; - qcom,qport = <7>; - qcom,mas-hw-id = <28>; - }; - - mas-wcss { - cell-id = <59>; - label = "mas-wcss"; - qcom,masterp = <11>; - qcom,tier = <2>; - qcom,mas-hw-id = <30>; - }; - - mas-qdss-etr { - cell-id = <60>; - label = "mas-qdss-etr"; - qcom,masterp = <12>; - qcom,tier = <2>; - qcom,qport = <10>; - qcom,mode = "Fixed"; - qcom,mas-hw-id = <31>; - }; - - slv-ocmem { - cell-id = <604>; - label = "slv-gmem"; - qcom,slavep = <15>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <18>; - }; - - slv-ampss { - cell-id = <520>; - label = "slv-ampss"; - qcom,slavep = <1>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <20>; - }; - - slv-lpass { - cell-id = <522>; - label = "slv-lpass"; - qcom,slavep = <2>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <21>; - }; - - slv-wcss { - cell-id = <584>; - label = "slv-wcss"; - qcom,slavep = <6>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <23>; - }; - - slv-ocimem { - cell-id = <585>; - label = "slv-ocimem"; - qcom,slavep = <10>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <26>; - }; - - slv-service-snoc { - cell-id = <587>; - label = "slv-service-snoc"; - qcom,slavep = <11>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <29>; - }; - - slv-qdss-stm { - cell-id = <588>; - label = "slv-qdss-stm"; - qcom,slavep = <12>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <30>; - }; - - }; - - msm-periph-noc@fc468000 { - compatible = "msm-bus-fabric"; - reg = <0xfc468000 0x00004000>; - cell-id = <4096>; - label = "msm_periph_noc"; - qcom,fabclk-dual = "bus_clk"; - qcom,fabclk-active = "bus_a_clk"; - qcom,ntieredslaves = <0>; - qcom,hw-sel = "NoC"; - qcom,rpm-en; - - coresight-id = <54>; - coresight-name = "coresight-pnoc"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_in0>; - coresight-child-ports = <6>; - - mas-pnoc-cfg { - cell-id = <88>; - label = "mas-pnoc-cfg"; - qcom,masterp = <7>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <43>; - }; - - mas-sdcc-1 { - cell-id = <78>; - label = "mas-sdcc-1"; - qcom,masterp = <0>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <33>; - }; - - mas-sdcc-2 { - cell-id = <81>; - label = "mas-sdcc-2"; - qcom,masterp = <2>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <35>; - }; - - mas-blsp-1 { - cell-id = <86>; - label = "mas-blsp-1"; - qcom,masterp = <5>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <41>; - }; - - mas-usb-hs { - cell-id = <87>; - label = "mas-usb-hs"; - qcom,masterp = <6>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <42>; - }; - - fab-snoc { - cell-id = <1024>; - label = "fab-snoc"; - qcom,gateway; - qcom,slavep = <12>; - qcom,masterp = <8>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <45>; - qcom,mas-hw-id = <44>; - }; - - slv-sdcc-1 { - cell-id = <606>; - label = "slv-sdcc-1"; - qcom,slavep = <0>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <31>; - }; - - slv-sdcc-2 { - cell-id = <608>; - label = "slv-sdcc-2"; - qcom,slavep = <2>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <33>; - }; - - slv-blsp-1 { - cell-id = <613>; - label = "slv-blsp-1"; - qcom,slavep = <5>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <39>; - }; - - slv-usb-hs { - cell-id = <614>; - label = "slv-usb-hs"; - qcom,slavep = <6>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <40>; - }; - - slv-pdm { - cell-id = <615>; - label = "slv-pdm"; - qcom,slavep = <7>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <41>; - }; - - slv-periph-apu-cfg { - cell-id = <616>; - label = "slv-periph-apu-cfg"; - qcom,slavep = <8>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <42>; - }; - - slv-pnoc-mpu-cfg { - cell-id = <617>; - label = "slv-pnoc-mpu-cfg"; - qcom,slavep = <9>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <43>; - }; - - slv-prng { - cell-id = <618>; - label = "slv-prng"; - qcom,slavep = <10>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <44>; - }; - - slv-service-pnoc { - cell-id = <619>; - label = "slv-service-pnoc"; - qcom,slavep = <12>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <46>; - }; - - }; - - msm-config-noc@fc480000 { - compatible = "msm-bus-fabric"; - reg = <0xfc480000 0x00004000>; - cell-id = <5120>; - label = "msm_config_noc"; - qcom,fabclk-dual = "bus_clk"; - qcom,fabclk-active = "bus_a_clk"; - qcom,ntieredslaves = <0>; - qcom,hw-sel = "NoC"; - qcom,rpm-en; - - mas-rpm-inst { - cell-id = <72>; - label = "mas-rpm-inst"; - qcom,masterp = <0>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <45>; - }; - - mas-rpm-data { - cell-id = <73>; - label = "mas-rpm-data"; - qcom,masterp = <1>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <46>; - }; - - mas-rpm-sys { - cell-id = <74>; - label = "mas-rpm-sys"; - qcom,masterp = <2>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <47>; - }; - - mas-dehr { - cell-id = <75>; - label = "mas-dehr"; - qcom,masterp = <3>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <48>; - }; - - mas-qdss-dsp { - cell-id = <76>; - label = "mas-qdss-dap"; - qcom,masterp = <4>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <49>; - }; - - mas-spdm { - cell-id = <36>; - label = "mas-spdm"; - qcom,masterp = <5>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <50>; - }; - - mas-tic { - cell-id = <77>; - label = "mas-tic"; - qcom,masterp = <6>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <51>; - }; - - slv-clk-ctl { - cell-id = <620>; - label = "slv-clk-ctl"; - qcom,slavep = <1>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <47>; - }; - - slv-cnoc-mss { - cell-id = <621>; - label = "slv-cnoc-mss"; - qcom,slavep = <2>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <48>; - }; - - slv-security { - cell-id = <622>; - label = "slv-security"; - qcom,slavep = <3>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <49>; - }; - - slv-tcsr { - cell-id = <623>; - label = "slv-tcsr"; - qcom,slavep = <4>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <50>; - }; - - slv-tlmm { - cell-id = <624>; - label = "slv-tlmm"; - qcom,slavep = <5>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <51>; - }; - - slv-crypto-0-cfg { - cell-id = <625>; - label = "slv-crypto-0-cfg"; - qcom,slavep = <6>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <52>; - }; - - slv-imem-cfg { - cell-id = <627>; - label = "slv-imem-cfg"; - qcom,slavep = <7>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <54>; - }; - - slv-message-ram { - cell-id = <628>; - label = "slv-message-ram"; - qcom,slavep = <8>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <55>; - }; - - slv-bimc-cfg { - cell-id = <629>; - label = "slv-bimc-cfg"; - qcom,slavep = <9>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <56>; - }; - - slv-boot-rom { - cell-id = <630>; - label = "slv-boot-rom"; - qcom,slavep = <10>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <57>; - }; - - slv-pmic-arb { - cell-id = <632>; - label = "slv-pmic-arb"; - qcom,slavep = <12>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <59>; - }; - - slv-spdm-wrapper { - cell-id = <633>; - label = "slv-spdm-wrapper"; - qcom,slavep = <13>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <60>; - }; - - slv-dehr-cfg { - cell-id = <634>; - label = "slv-dehr-cfg"; - qcom,slavep = <14>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <61>; - }; - - slv-mpm { - cell-id = <536>; - label = "slv-mpm"; - qcom,slavep = <15>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <62>; - }; - - slv-qdss-cfg { - cell-id = <635>; - label = "slv-qdss-cfg"; - qcom,slavep = <16>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <63>; - }; - - slv-rbcpr-cfg { - cell-id = <636>; - label = "slv-rbcpr-cfg"; - qcom,slavep = <17>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <64>; - }; - - slv-rbcpr-qdss-apu-cfg { - cell-id = <637>; - label = "slv-rbcpr-qdss-apu-cfg"; - qcom,slavep = <18>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <65>; - }; - - fab-snoc { - cell-id = <1024>; - label = "fab-snoc"; - qcom,gateway; - qcom,slavep = <26>; - qcom,masterp = <7>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <52>; - qcom,slv-hw-id = <75>; - }; - - slv-cnoc-mnoc-mmss-cfg { - cell-id = <631>; - label = "slv-cnoc-mnoc-mmss-cfg"; - qcom,slavep = <11>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <58>; - }; - - slv-cnoc-mnoc-cfg { - cell-id = <640>; - label = "slv-cnoc-mnoc-cfg"; - qcom,slavep = <19>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <66>; - }; - - slv-pnoc-cfg { - cell-id = <641>; - label = "slv-pnoc-cfg"; - qcom,slavep = <21>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <69>; - }; - - slv-snoc-mpu-cfg { - cell-id = <638>; - label = "slv-snoc-mpu-cfg"; - qcom,slavep = <20>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <67>; - }; - - slv-snoc-cfg { - cell-id = <642>; - label = "slv-snoc-cfg"; - qcom,slavep = <22>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <70>; - }; - - slv-phy-apu-cfg { - cell-id = <644>; - label = "slv-phy-apu-cfg"; - qcom,slavep = <23>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <72>; - }; - - slv-ebi1-phy-cfg { - cell-id = <645>; - label = "slv-ebi1-phy-cfg"; - qcom,slavep = <24>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <73>; - }; - - slv-rpm { - cell-id = <534>; - label = "slv-rpm"; - qcom,slavep = <25>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <74>; - }; - - slv-service-cnoc { - cell-id = <646>; - label = "slv-service-cnoc"; - qcom,slavep = <27>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <76>; - }; - - }; - - msm-bimc@0xfc380000 { - compatible = "msm-bus-fabric"; - reg = <0xfc380000 0x0006A000>; - cell-id = <0>; - label = "msm_bimc"; - qcom,fabclk-dual = "mem_clk"; - qcom,fabclk-active = "mem_a_clk"; - qcom,ntieredslaves = <0>; - qcom,qos-freq = <4800>; - qcom,hw-sel = "BIMC"; - qcom,rpm-en; - - coresight-id = <55>; - coresight-name = "coresight-bimc"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_in1>; - coresight-child-ports = <3>; - - mas-ampss-m0 { - cell-id = <1>; - label = "mas-ampss-m0"; - qcom,masterp = <0>; - qcom,tier = <2>; - qcom,hw-sel = "BIMC"; - qcom,mode = "Fixed"; - qcom,qport = <0>; - qcom,ws = <10000>; - qcom,mas-hw-id = <0>; - qcom,prio-rd = <1>; - qcom,prio-wr = <1>; - qcom,prio-lvl = <1>; - }; - - mas-mss-proc { - cell-id = <65>; - label = "mas-mss-proc"; - qcom,masterp = <3>; - qcom,tier = <2>; - qcom,hw-sel = "RPM"; - qcom,mas-hw-id = <1>; - }; - - fab-mmss-noc { - cell-id = <2048>; - label = "fab_mmss_noc"; - qcom,masterp = <1>; - qcom,qport = <1>; - qcom,buswidth = <8>; - qcom,ws = <10000>; - qcom,mas-hw-id = <2>; - qcom,hw-sel = "BIMC"; - qcom,mode = "Bypass"; - }; - - fab-snoc { - cell-id = <1024>; - label = "fab-snoc"; - qcom,gateway; - qcom,slavep = <2>; - qcom,masterp = <2>; - qcom,qport = <2>; - qcom,buswidth = <8>; - qcom,ws = <10000>; - qcom,mas-hw-id = <3>; - qcom,slv-hw-id = <2>; - }; - - mas-lpass-proc { - cell-id = <11>; - label = "mas-lpass-proc"; - qcom,masterp = <4>; - qcom,tier = <2>; - qcom,qport = <4>; - qcom,mas-hw-id = <25>; - qcom,mode = "Fixed"; - qcom,prio0 = <1>; - qcom,prio1 = <1>; - }; - - mas-gfx3d { - cell-id = <26>; - label = "mas-gfx3d"; - qcom,masterp = <5>; - qcom,tier = <2>; - qcom,hw-sel = "BIMC"; - qcom,perm-mode = "Fixed"; - qcom,mode = "Fixed"; - qcom,ws = <10000>; - qcom,qport = <5>; - qcom,mas-hw-id = <6>; - }; - - - slv-ebi-ch0 { - cell-id = <512>; - label = "slv-ebi-ch0"; - qcom,slavep = <0>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <0>; - }; - }; - -}; - - diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8610-camera-sensor-cdp-mtp.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v1/msm8610-camera-sensor-cdp-mtp.dtsi deleted file mode 100644 index d05726006..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8610-camera-sensor-cdp-mtp.dtsi +++ /dev/null @@ -1,116 +0,0 @@ -/* - * Copyright (c) 2013, 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. - */ - -&i2c { - - led_flash0: qcom,led-flash@60 { - cell-index = <0>; - reg = <0x60>; - qcom,slave-id = <0x60 0x00 0x0011>; - compatible = "qcom,led-flash"; - qcom,flash-name = "adp1600"; - qcom,flash-type = <1>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 18 0>, - <&msmgpio 19 0>; - qcom,gpio-flash-en = <0>; - qcom,gpio-flash-now = <1>; - qcom,gpio-req-tbl-num = <0 1>; - qcom,gpio-req-tbl-flags = <0 0>; - qcom,gpio-req-tbl-label = "FLASH_EN", - "FLASH_NOW"; - }; - - actuator0: qcom,actuator@6e { - cell-index = <3>; - reg = <0x6c>; - compatible = "qcom,actuator"; - qcom,cci-master = <0>; - }; - - qcom,camera@6f { - compatible = "qcom,ov8825"; - reg = <0x6f>; - qcom,slave-id = <0x6c 0x300a 0x8825>; - qcom,csiphy-sd-index = <0>; - qcom,csid-sd-index = <0>; - qcom,actuator-src = <&actuator0>; - qcom,led-flash-src = <&led_flash0>; - qcom,mount-angle = <90>; - qcom,sensor-name = "ov8825"; - cam_vdig-supply = <&pm8110_l2>; - cam_vana-supply = <&pm8110_l19>; - cam_vio-supply = <&pm8110_l14>; - cam_vaf-supply = <&pm8110_l16>; - qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana", - "cam_vaf"; - qcom,cam-vreg-type = <0 0 0 0>; - qcom,cam-vreg-min-voltage = <1200000 1800000 2850000 3000000>; - qcom,cam-vreg-max-voltage = <1200000 1800000 2850000 3000000>; - qcom,cam-vreg-op-mode = <200000 8000 80000 100000>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 13 0>, - <&msmgpio 21 0>, - <&msmgpio 20 0>; - qcom,gpio-reset = <1>; - qcom,gpio-standby = <2>; - qcom,gpio-req-tbl-num = <0 1 2>; - qcom,gpio-req-tbl-flags = <1 0 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1", - "CAM_STANDBY"; - qcom,csi-lane-assign = <0xe4>; - qcom,csi-lane-mask = <0x3>; - qcom,sensor-position = <0>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - }; - - qcom,camera@6d { - compatible = "qcom,ov9724"; - reg = <0x6d>; - qcom,slave-id = <0x20 0x0 0x9724>; - qcom,csiphy-sd-index = <1>; - qcom,csid-sd-index = <0>; - qcom,mount-angle = <90>; - qcom,sensor-name = "ov9724"; - cam_vdig-supply = <&pm8110_l4>; - cam_vana-supply = <&pm8110_l19>; - cam_vio-supply = <&pm8110_l14>; - qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana"; - qcom,cam-vreg-type = <0 1 0>; - qcom,cam-vreg-min-voltage = <1200000 0 2850000>; - qcom,cam-vreg-max-voltage = <1200000 0 2850000>; - qcom,cam-vreg-op-mode = <200000 0 80000>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 14 0>, - <&msmgpio 15 0>, - <&msmgpio 8 0>; - qcom,gpio-reset = <1>; - qcom,gpio-standby = <2>; - qcom,gpio-req-tbl-num = <0 1 2>; - qcom,gpio-req-tbl-flags = <1 0 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET", - "CAM_STANDBY"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 4000>; - qcom,csi-lane-assign = <0xe4>; - qcom,csi-lane-mask = <0x1>; - qcom,sensor-position = <1>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - status = "ok"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8610-camera.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v1/msm8610-camera.dtsi deleted file mode 100644 index b1c94dd24..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8610-camera.dtsi +++ /dev/null @@ -1,80 +0,0 @@ -/* - * Copyright (c) 2013, 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. - */ - -&soc{ - qcom,msm-cam@fd8c0000 { - compatible = "qcom,msm-cam"; - reg = <0xfd8C0000 0x10000>; - reg-names = "msm-cam"; - }; - - qcom,csiphy@fda00c00 { - cell-index = <0>; - compatible = "qcom,csiphy"; - reg = <0xfda00c00 0x1f4>; - reg-names = "csiphy"; - interrupts = <0 78 0>; - interrupt-names = "csiphy"; - }; - - qcom,csiphy@fda01000 { - cell-index = <1>; - compatible = "qcom,csiphy"; - reg = <0xfda01000 0x1f4>; - reg-names = "csiphy"; - interrupts = <0 79 0>; - interrupt-names = "csiphy"; - }; - - qcom,csid@fda00000 { - cell-index = <0>; - compatible = "qcom,csid"; - reg = <0xfda00000 0x100>; - reg-names = "csid"; - interrupts = <0 50 0>; - interrupt-names = "csid"; - qcom,csi-vdd-voltage = <1200000>; - qcom,mipi-csi-vdd-supply = <&pm8110_l4>; - }; - - qcom,csid@fda00400 { - cell-index = <1>; - compatible = "qcom,csid"; - reg = <0xfda00400 0x100>; - reg-names = "csid"; - interrupts = <0 51 0>; - interrupt-names = "csid"; - qcom,csi-vdd-voltage = <1200000>; - qcom,mipi-csi-vdd-supply = <&pm8110_l4>; - }; - - qcom,ispif@fda00800 { - cell-index = <0>; - compatible = "qcom,ispif"; - reg = <0xfda00800 0x200>; - reg-names = "ispif"; - interrupts = <0 52 0>; - interrupt-names = "ispif"; - }; - - qcom,vfe@fde00000 { - cell-index = <0>; - compatible = "qcom,vfe32"; - reg = <0xfde00000 0x800>; - reg-names = "vfe", "vfe_vbif"; - interrupts = <0 49 0>; - interrupt-names = "vfe"; - vdd-supply = <&gdsc_vfe>; - }; - -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8610-cdp.dts b/kernel/arch/arm/boot/dts/m7350-un-v1/msm8610-cdp.dts deleted file mode 100644 index bbdc2b8df..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8610-cdp.dts +++ /dev/null @@ -1,396 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; - -/include/ "msm8610.dtsi" -/include/ "dsi-v2-panel-truly-wvga-video.dtsi" -/include/ "msm8610-camera-sensor-cdp-mtp.dtsi" - -/ { - model = "Qualcomm MSM 8610 CDP"; - compatible = "qcom,msm8610-cdp", "qcom,msm8610", "qcom,cdp"; - qcom,msm-id = <147 1 0>, <165 1 0>, <161 1 0>, <162 1 0>, - <163 1 0>, <164 1 0>, <166 1 0>; -}; - -&soc { - serial@f991e000 { - status = "ok"; - }; - - i2c@f9923000{ - atmel_mxt_ts@4a { - compatible = "atmel,mxt-ts"; - reg = <0x4a>; - interrupt-parent = <&msmgpio>; - interrupts = <1 0x2>; - vdd_ana-supply = <&pm8110_l19>; - vcc_i2c-supply = <&pm8110_l14>; - atmel,reset-gpio = <&msmgpio 0 0x00>; - atmel,irq-gpio = <&msmgpio 1 0x00>; - atmel,panel-coords = <0 0 508 880>; - atmel,display-coords = <0 0 480 800>; - atmel,i2c-pull-up; - atmel,no-force-update; - atmel,cfg_1 { - atmel,family-id = <0x81>; - atmel,variant-id = <0x15>; - atmel,version = <0x11>; - atmel,build = <0xaa>; - atmel,config = [ - /* Object 6, Instance = 0 */ - 00 00 00 00 00 00 - /* Object 38, Instance = 0 */ - 1D 01 00 0C 04 0D 00 00 - /* Object 7, Instance = 0 */ - 20 08 32 - /* Object 8, Instance = 0 */ - 19 00 14 14 FF 00 FF 00 00 00 - /* Object 9, Instance = 0 */ - 83 00 00 13 0B 00 20 32 01 03 - 00 32 05 30 0A 05 0A 00 70 03 - FC 01 00 36 2F 2C 00 00 40 00 - 00 0A 00 00 02 - /* Object 18, Instance = 0 */ - 00 00 - /* Object 19, Instance = 0 */ - 00 00 00 00 00 00 - /* Object 25, Instance = 0 */ - 03 00 18 79 A8 61 - /* Object 58, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 - /* Object 42, Instance = 0 */ - 00 00 00 00 00 00 00 00 - /* Object 46, Instance = 0 */ - 04 03 08 10 00 00 00 00 00 - /* Object 47, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - /* Object 48, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 - /* Object 55, Instance = 0 */ - 00 00 00 00 - ]; - }; - }; - }; - - gen-vkeys { - compatible = "qcom,gen-vkeys"; - label = "atmel_mxt_ts"; - qcom,disp-maxx = <480>; - qcom,disp-maxy = <800>; - qcom,panel-maxx = <508>; - qcom,panel-maxy = <880>; - qcom,key-codes = <158 102 139>; - qcom,y-offset = <35>; - }; - - gpio_keys { - compatible = "gpio-keys"; - input-name = "gpio-keys"; - - camera_snapshot { - label = "camera_snapshot"; - gpios = <&msmgpio 73 0x1>; - linux,input-type = <1>; - linux,code = <0x2fe>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - - camera_focus { - label = "camera_focus"; - gpios = <&msmgpio 74 0x1>; - linux,input-type = <1>; - linux,code = <0x210>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - - vol_up { - label = "volume_up"; - gpios = <&msmgpio 72 0x1>; - linux,input-type = <1>; - linux,code = <115>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - }; - - sound { - qcom,audio-routing = - "RX_BIAS", "MCLK", - "INT_LDO_H", "MCLK", - "MIC BIAS External", "Handset Mic", - "MIC BIAS Internal2", "Headset Mic", - "AMIC1", "MIC BIAS External", - "AMIC2", "MIC BIAS Internal2"; - }; -}; - -&i2c_cdc { - msm8x10_wcd_codec@0d{ - compatible = "qcom,msm8x10-wcd-i2c"; - reg = <0x0d>; - cdc-vdda-cp-supply = <&pm8110_s4>; - qcom,cdc-vdda-cp-voltage = <2150000 2150000>; - qcom,cdc-vdda-cp-current = <650000>; - - cdc-vdda-h-supply = <&pm8110_l6>; - qcom,cdc-vdda-h-voltage = <1800000 1800000>; - qcom,cdc-vdda-h-current = <250000>; - - cdc-vdd-px-supply = <&pm8110_l6>; - qcom,cdc-vdd-px-voltage = <1800000 1800000>; - qcom,cdc-vdd-px-current = <10000>; - - cdc-vdd-1p2v-supply = <&pm8110_l4>; - qcom,cdc-vdd-1p2v-voltage = <1200000 1200000>; - qcom,cdc-vdd-1p2v-current = <5000>; - - cdc-vdd-mic-bias-supply = <&pm8110_l20>; - qcom,cdc-vdd-mic-bias-voltage = <3075000 3075000>; - qcom,cdc-vdd-mic-bias-current = <25000>; - - qcom,cdc-micbias-cfilt-sel = <0x0>; - qcom,cdc-micbias-cfilt-mv = <1800000>; - qcom,cdc-mclk-clk-rate = <12288000>; - }; - - msm8x10_wcd_codec@77{ - compatible = "qcom,msm8x10-wcd-i2c"; - reg = <0x77>; - }; - - msm8x10_wcd_codec@66{ - compatible = "qcom,msm8x10-wcd-i2c"; - reg = <0x66>; - }; - - msm8x10_wcd_codec@55{ - compatible = "qcom,msm8x10-wcd-i2c"; - reg = <0x55>; - }; -}; - -&spmi_bus { - qcom,pm8110@0 { - qcom,leds@a100 { - status = "okay"; - qcom,led_mpp_2 { - label = "mpp"; - linux,name = "button-backlight"; - linux-default-trigger = "hr-trigger"; - qcom,default-state = "off"; - qcom,max-current = <40>; - qcom,id = <6>; - qcom,source-sel = <1>; - qcom,mode-ctrl = <0x60>; - qcom,mode = "manual"; - }; - }; - - qcom,leds@a200 { - status = "okay"; - qcom,led_mpp_3 { - label = "mpp"; - linux,name = "wled-backlight"; - linux,default-trigger = "bkl-trigger"; - qcom,default-state = "on"; - qcom,max-current = <40>; - qcom,id = <6>; - qcom,source-sel = <1>; - qcom,mode-ctrl = <0x10>; - qcom,mode = "manual"; - }; - }; - }; -}; - -&spmi_bus { - qcom,pm8110@1 { - qcom,vibrator@c000 { - status = "okay"; - qcom,vib-timeout-ms = <15000>; - qcom,vib-vtg-level-mV = <3100>; - }; - }; -}; - -&sdhc_1 { - vdd-supply = <&pm8110_l17>; - qcom,vdd-always-on; - qcom,vdd-lpm-sup; - qcom,vdd-voltage-level = <2900000 2900000>; - qcom,vdd-current-level = <200 400000>; - - vdd-io-supply = <&pm8110_l6>; - qcom,vdd-io-always-on; - qcom,vdd-io-lpm-sup; - qcom,vdd-io-voltage-level = <1800000 1800000>; - qcom,vdd-io-current-level = <200 60000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - qcom,bus-speed-mode = "HS200_1p8v", "DDR_1p8v"; - qcom,nonremovable; - - status = "ok"; -}; - -&sdhc_2 { - vdd-supply = <&pm8110_l18>; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <15000 400000>; - - vdd-io-supply = <&pm8110_l21>; - qcom,vdd-io-voltage-level = <1800000 2950000>; - qcom,vdd-io-current-level = <200 50000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - - #address-cells = <0>; - interrupt-parent = <&sdhc_2>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 125 0 - 1 &intc 0 221 0 - 2 &msmgpio 42 0x3>; - interrupt-names = "hc_irq", "pwr_irq", "status_irq"; - cd-gpios = <&msmgpio 42 0x1>; - - status = "ok"; -}; - -&pm8110_chg { - status = "ok"; - qcom,charging-disabled; - qcom,use-default-batt-values; - - qcom,chgr@1000 { - status = "ok"; - }; - - qcom,buck@1100 { - status = "ok"; - }; - - qcom,usb-chgpth@1300 { - status = "ok"; - }; - - qcom,chg-misc@1600 { - status = "ok"; - }; -}; - -&pm8110_gpios { - gpio@c000 { /* GPIO 1 */ - }; - - gpio@c100 { /* GPIO 2 */ - }; - - gpio@c200 { /* GPIO 3 */ - }; - - gpio@c300 { /* GPIO 4 */ - }; -}; - -&pm8110_mpps { - mpp@a000 { /* MPP 1 */ - }; - - mpp@a100 { /* MPP 2 */ - status = "disabled"; - }; - - mpp@a200 { /* MPP 3 */ - status = "disabled"; - }; - - mpp@a300 { /* MPP 4 */ - /* PA_THERM config */ - qcom,mode = <4>; /* AIN input */ - qcom,invert = <1>; /* Enable MPP */ - qcom,ain-route = <3>; /* AMUX 8 */ - qcom,master-en = <1>; - qcom,src-sel = <0>; /* Function constant */ - }; -}; - -/* CoreSight */ -&tpiu { - qcom,seta-gpios = <&msmgpio 4 0>, - <&msmgpio 5 0>, - <&msmgpio 6 0>, - <&msmgpio 7 0>, - <&msmgpio 22 0>, - <&msmgpio 23 0>, - <&msmgpio 24 0>, - <&msmgpio 25 0>, - <&msmgpio 26 0>, - <&msmgpio 27 0>, - <&msmgpio 28 0>, - <&msmgpio 29 0>, - <&msmgpio 30 0>, - <&msmgpio 31 0>, - <&msmgpio 94 0>, - <&msmgpio 95 0>, - <&msmgpio 96 0>, - <&msmgpio 97 0>; - qcom,seta-gpios-func = <9 9 8 11 2 2 2 2 2 2 3 2 3 3 4 4 4 4>; - qcom,seta-gpios-drv = <7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7>; - qcom,seta-gpios-pull = <0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0>; - qcom,seta-gpios-dir = <2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2>; - - qcom,setb-gpios = <&msmgpio 8 0>, - <&msmgpio 10 0>, - <&msmgpio 11 0>, - <&msmgpio 13 0>, - <&msmgpio 14 0>, - <&msmgpio 15 0>, - <&msmgpio 16 0>, - <&msmgpio 17 0>, - <&msmgpio 18 0>, - <&msmgpio 19 0>, - <&msmgpio 20 0>, - <&msmgpio 21 0>, - <&msmgpio 42 0>, - <&msmgpio 80 0>, - <&msmgpio 81 0>, - <&msmgpio 82 0>, - <&msmgpio 83 0>, - <&msmgpio 84 0>; - qcom,setb-gpios-func = <10 8 8 6 9 9 9 9 9 9 9 9 5 7 7 8 8 8>; - qcom,setb-gpios-drv = <7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7>; - qcom,setb-gpios-pull = <0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0>; - qcom,setb-gpios-dir = <2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2>; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8610-coresight.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v1/msm8610-coresight.dtsi deleted file mode 100644 index 516522eb0..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8610-coresight.dtsi +++ /dev/null @@ -1,357 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -&soc { - tmc_etr: tmc@fc326000 { - compatible = "arm,coresight-tmc"; - reg = <0xfc326000 0x1000>, - <0xfc37c000 0x3000>; - reg-names = "tmc-base", "bam-base"; - - qcom,memory-reservation-type = "EBI1"; - qcom,memory-reservation-size = <0x100000>; /* 1M EBI1 buffer */ - - coresight-id = <0>; - coresight-name = "coresight-tmc-etr"; - coresight-nr-inports = <1>; - coresight-ctis = <&cti0 &cti8>; - }; - - tpiu: tpiu@fc320000 { - compatible = "arm,coresight-tpiu"; - reg = <0xfc320000 0x1000>; - reg-names = "tpiu-base"; - - coresight-id = <1>; - coresight-name = "coresight-tpiu"; - coresight-nr-inports = <1>; - - vdd-supply = <&pm8110_l18>; - - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <15000 400000>; - }; - - replicator: replicator@fc324000 { - compatible = "qcom,coresight-replicator"; - reg = <0xfc324000 0x1000>; - reg-names = "replicator-base"; - - coresight-id = <2>; - coresight-name = "coresight-replicator"; - coresight-nr-inports = <1>; - coresight-outports = <0 1>; - coresight-child-list = <&tmc_etr &tpiu>; - coresight-child-ports = <0 0>; - }; - - tmc_etf: tmc@fc325000 { - compatible = "arm,coresight-tmc"; - reg = <0xfc325000 0x1000>; - reg-names = "tmc-base"; - - coresight-id = <3>; - coresight-name = "coresight-tmc-etf"; - coresight-nr-inports = <1>; - coresight-outports = <0>; - coresight-child-list = <&replicator>; - coresight-child-ports = <0>; - coresight-default-sink; - coresight-ctis = <&cti0 &cti8>; - }; - - funnel_merg: funnel@fc323000 { - compatible = "arm,coresight-funnel"; - reg = <0xfc323000 0x1000>; - reg-names = "funnel-base"; - - coresight-id = <4>; - coresight-name = "coresight-funnel-merg"; - coresight-nr-inports = <2>; - coresight-outports = <0>; - coresight-child-list = <&tmc_etf>; - coresight-child-ports = <0>; - }; - - funnel_in0: funnel@fc321000 { - compatible = "arm,coresight-funnel"; - reg = <0xfc321000 0x1000>; - reg-names = "funnel-base"; - - coresight-id = <5>; - coresight-name = "coresight-funnel-in0"; - coresight-nr-inports = <8>; - coresight-outports = <0>; - coresight-child-list = <&funnel_merg>; - coresight-child-ports = <0>; - }; - - funnel_in1: funnel@fc322000 { - compatible = "arm,coresight-funnel"; - reg = <0xfc322000 0x1000>; - reg-names = "funnel-base"; - - coresight-id = <6>; - coresight-name = "coresight-funnel-in1"; - coresight-nr-inports = <8>; - coresight-outports = <0>; - coresight-child-list = <&funnel_merg>; - coresight-child-ports = <1>; - }; - - funnel_a7ss: funnel@fc355000 { - compatible = "arm,coresight-funnel"; - reg = <0xfc355000 0x1000>; - reg-names = "funnel-base"; - - coresight-id = <7>; - coresight-name = "coresight-funnel-a7ss"; - coresight-nr-inports = <4>; - coresight-outports = <0>; - coresight-child-list = <&funnel_in1>; - coresight-child-ports = <6>; - }; - - stm: stm@fc302000 { - compatible = "arm,coresight-stm"; - reg = <0xfc302000 0x1000>, - <0xfa280000 0x180000>; - reg-names = "stm-base", "stm-data-base"; - - coresight-id = <8>; - coresight-name = "coresight-stm"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_in0>; - coresight-child-ports = <7>; - }; - - etm0: etm@fc34c000 { - compatible = "arm,coresight-etm"; - reg = <0xfc34c000 0x1000>; - reg-names = "etm-base"; - - coresight-id = <9>; - coresight-name = "coresight-etm0"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_a7ss>; - coresight-child-ports = <0>; - - qcom,pc-save; - qcom,round-robin; - }; - - etm1: etm@fc34d000 { - compatible = "arm,coresight-etm"; - reg = <0xfc34d000 0x1000>; - reg-names = "etm-base"; - - coresight-id = <10>; - coresight-name = "coresight-etm1"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_a7ss>; - coresight-child-ports = <1>; - - qcom,pc-save; - qcom,round-robin; - }; - - etm2: etm@fc34e000 { - compatible = "arm,coresight-etm"; - reg = <0xfc34e000 0x1000>; - reg-names = "etm-base"; - - coresight-id = <11>; - coresight-name = "coresight-etm2"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_a7ss>; - coresight-child-ports = <2>; - - qcom,pc-save; - qcom,round-robin; - }; - - etm3: etm@fc34f000 { - compatible = "arm,coresight-etm"; - reg = <0xfc34f000 0x1000>; - reg-names = "etm-base"; - - coresight-id = <12>; - coresight-name = "coresight-etm3"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_a7ss>; - coresight-child-ports = <3>; - - qcom,pc-save; - qcom,round-robin; - }; - - csr: csr@fc301000 { - compatible = "qcom,coresight-csr"; - reg = <0xfc301000 0x1000>; - reg-names = "csr-base"; - - coresight-id = <13>; - coresight-name = "coresight-csr"; - coresight-nr-inports = <0>; - - qcom,blk-size = <1>; - }; - - cti0: cti@fc310000 { - compatible = "arm,coresight-cti"; - reg = <0xfc310000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <14>; - coresight-name = "coresight-cti0"; - coresight-nr-inports = <0>; - }; - - cti1: cti@fc311000 { - compatible = "arm,coresight-cti"; - reg = <0xfc311000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <15>; - coresight-name = "coresight-cti1"; - coresight-nr-inports = <0>; - }; - - cti2: cti@fc312000 { - compatible = "arm,coresight-cti"; - reg = <0xfc312000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <16>; - coresight-name = "coresight-cti2"; - coresight-nr-inports = <0>; - }; - - cti3: cti@fc313000 { - compatible = "arm,coresight-cti"; - reg = <0xfc313000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <17>; - coresight-name = "coresight-cti3"; - coresight-nr-inports = <0>; - }; - - cti4: cti@fc314000 { - compatible = "arm,coresight-cti"; - reg = <0xfc314000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <18>; - coresight-name = "coresight-cti4"; - coresight-nr-inports = <0>; - }; - - cti5: cti@fc315000 { - compatible = "arm,coresight-cti"; - reg = <0xfc315000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <19>; - coresight-name = "coresight-cti5"; - coresight-nr-inports = <0>; - }; - - cti6: cti@fc316000 { - compatible = "arm,coresight-cti"; - reg = <0xfc316000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <20>; - coresight-name = "coresight-cti6"; - coresight-nr-inports = <0>; - }; - - cti7: cti@fc317000 { - compatible = "arm,coresight-cti"; - reg = <0xfc317000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <21>; - coresight-name = "coresight-cti7"; - coresight-nr-inports = <0>; - }; - - cti8: cti@fc318000 { - compatible = "arm,coresight-cti"; - reg = <0xfc318000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <22>; - coresight-name = "coresight-cti8"; - coresight-nr-inports = <0>; - }; - - cti_cpu0: cti@fc351000 { - compatible = "arm,coresight-cti"; - reg = <0xfc351000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <23>; - coresight-name = "coresight-cti-cpu0"; - coresight-nr-inports = <0>; - }; - - cti_cpu1: cti@fc352000 { - compatible = "arm,coresight-cti"; - reg = <0xfc352000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <24>; - coresight-name = "coresight-cti-cpu1"; - coresight-nr-inports = <0>; - }; - - cti_cpu2: cti@fc353000 { - compatible = "arm,coresight-cti"; - reg = <0xfc353000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <25>; - coresight-name = "coresight-cti-cpu2"; - coresight-nr-inports = <0>; - }; - - cti_cpu3: cti@fc354000 { - compatible = "arm,coresight-cti"; - reg = <0xfc354000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <26>; - coresight-name = "coresight-cti-cpu3"; - coresight-nr-inports = <0>; - }; - - hwevent: hwevent@fd820018 { - compatible = "qcom,coresight-hwevent"; - reg = <0xfd820018 0x80>, - <0xf9011080 0x80>, - <0xfd4ab160 0x80>; - reg-names = "mmss-mux", "apcs-mux", "ppss-mux"; - - coresight-id = <27>; - coresight-name = "coresight-hwevent"; - coresight-nr-inports = <0>; - - qcom,hwevent-clks = "core_mmss_clk"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8610-gpu.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v1/msm8610-gpu.dtsi deleted file mode 100644 index 7e3ee0dcb..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8610-gpu.dtsi +++ /dev/null @@ -1,167 +0,0 @@ -/* Copyright (c) 2013, 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. - */ -&soc { - msm_gpu: qcom,kgsl-3d0@fdc00000 { - label = "kgsl-3d0"; - compatible = "qcom,kgsl-3d0", "qcom,kgsl-3d"; - reg = <0xfdc00000 0x10000 - 0xfdc10000 0x10000>; - reg-names = "kgsl_3d0_reg_memory", "kgsl_3d0_shader_memory"; - interrupts = <0 33 0>; - interrupt-names = "kgsl_3d0_irq"; - qcom,id = <0>; - - qcom,chipid = <0x03000520>; - - qcom,initial-pwrlevel = <1>; - - qcom,idle-timeout = <8>; /* */ - qcom,strtstp-sleepwake; - qcom,clk-map = <0x000005E>; /* KGSL_CLK_CORE | - KGSL_CLK_IFACE | KGSL_CLK_MEM | KGSL_CLK_MEM_IFACE | - KGSL_CLK_ALT_MEM_IFACE */ - - /* Bus Scale Settings */ - qcom,msm-bus,name = "grp3d"; - qcom,msm-bus,num-cases = <4>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <26 512 0 0>, - <26 512 0 800000>, - <26 512 0 1600000>, - <26 512 0 2128000>; - - /* GDSC oxili regulators */ - vdd-supply = <&gdsc_oxili_cx>; - - /* IOMMU Data */ - iommu = <&gfx_iommu>; - - /* Power levels */ - qcom,gpu-pwrlevels { - #address-cells = <1>; - #size-cells = <0>; - - compatible = "qcom,gpu-pwrlevels"; - - qcom,gpu-pwrlevel@0 { - reg = <0>; - qcom,gpu-freq = <400000000>; - qcom,bus-freq = <3>; - qcom,io-fraction = <0>; - }; - - qcom,gpu-pwrlevel@1 { - reg = <1>; - qcom,gpu-freq = <300000000>; - qcom,bus-freq = <2>; - qcom,io-fraction = <33>; - }; - - qcom,gpu-pwrlevel@2 { - reg = <2>; - qcom,gpu-freq = <200000000>; - qcom,bus-freq = <2>; - qcom,io-fraction = <33>; - }; - - qcom,gpu-pwrlevel@3 { - reg = <3>; - qcom,gpu-freq = <150000000>; - qcom,bus-freq = <1>; - qcom,io-fraction = <100>; - }; - - qcom,gpu-pwrlevel@4 { - reg = <4>; - qcom,gpu-freq = <27000000>; - qcom,bus-freq = <0>; - qcom,io-fraction = <0>; - }; - }; - - /* DVCS Info */ - qcom,dcvs-core-info { - #address-cells = <1>; - #size-cells = <0>; - - compatible = "qcom,dcvs-core-info"; - - qcom,num-cores = <1>; - qcom,sensors = <0>; - - qcom,core-core-type = <1>; - - qcom,algo-disable-pc-threshold = <0>; - qcom,algo-em-win-size-min-us = <100000>; - qcom,algo-em-win-size-max-us = <300000>; - qcom,algo-em-max-util-pct = <97>; - qcom,algo-group-id = <95>; - qcom,algo-max-freq-chg-time-us = <100000>; - qcom,algo-slack-mode-dynamic = <100000>; - qcom,algo-slack-weight-thresh-pct = <0>; - qcom,algo-slack-time-min-us = <39000>; - qcom,algo-slack-time-max-us = <39000>; - qcom,algo-ss-win-size-min-us = <1000000>; - qcom,algo-ss-win-size-max-us = <1000000>; - qcom,algo-ss-util-pct = <95>; - qcom,algo-ss-no-corr-below-freq = <0>; - - qcom,energy-active-coeff-a = <2492>; - qcom,energy-active-coeff-b = <0>; - qcom,energy-active-coeff-c = <0>; - qcom,energy-leakage-coeff-a = <11>; - qcom,energy-leakage-coeff-b = <157150>; - qcom,energy-leakage-coeff-c = <0>; - qcom,energy-leakage-coeff-d = <0>; - - qcom,power-current-temp = <25>; - qcom,power-num-freq = <4>; - - qcom,dcvs-freq@0 { - reg = <0>; - qcom,freq = <0>; - qcom,voltage = <0>; - qcom,is_trans_level = <0>; - qcom,active-energy-offset = <100>; - qcom,leakage-energy-offset = <0>; - }; - - qcom,dcvs-freq@1 { - reg = <1>; - qcom,freq = <0>; - qcom,voltage = <0>; - qcom,is_trans_level = <0>; - qcom,active-energy-offset = <100>; - qcom,leakage-energy-offset = <0>; - }; - - qcom,dcvs-freq@2 { - reg = <2>; - qcom,freq = <0>; - qcom,voltage = <0>; - qcom,is_trans_level = <0>; - qcom,active-energy-offset = <100>; - qcom,leakage-energy-offset = <0>; - }; - - qcom,dcvs-freq@3 { - reg = <3>; - qcom,freq = <0>; - qcom,voltage = <0>; - qcom,is_trans_level = <0>; - qcom,active-energy-offset = <844545>; - qcom,leakage-energy-offset = <0>; - }; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8610-iommu-domains.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v1/msm8610-iommu-domains.dtsi deleted file mode 100644 index 6f438972d..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8610-iommu-domains.dtsi +++ /dev/null @@ -1,36 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&soc { - qcom,iommu-domains { - compatible = "qcom,iommu-domains"; - - qcom,iommu-domain1 { - label = "lpass_secure"; - qcom,iommu-contexts = <&lpass_q6_fw>; - qcom,virtual-addr-pool = <0x00000000 0x0FFFFFFF - 0xF0000000 0x0FFFFFFF>; - }; - - qcom,iommu-domain2 { - label = "lpass_audio"; - qcom,iommu-contexts = <&lpass_audio_shared>; - qcom,virtual-addr-pool = <0x10000000 0x0FFFFFFF>; - }; - - q6_domain_ns:qcom,iommu-domain3 { - label = "lpass_video"; - qcom,iommu-contexts = <&lpass_video_shared>; - qcom,virtual-addr-pool = <0x20000000 0x0FFFFFFF>; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8610-ion.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v1/msm8610-ion.dtsi deleted file mode 100644 index 456b60ced..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8610-ion.dtsi +++ /dev/null @@ -1,38 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&soc { - qcom,ion { - compatible = "qcom,msm-ion"; - #address-cells = <1>; - #size-cells = <0>; - - qcom,ion-heap@30 { /* SYSTEM HEAP */ - reg = <30>; - }; - - qcom,ion-heap@21 { /* SYSTEM CONTIG HEAP */ - reg = <21>; - }; - - qcom,ion-heap@25 { /* IOMMU HEAP */ - reg = <25>; - }; - - qcom,ion-heap@27 { /* QSECOM HEAP */ - compatible = "qcom,msm-ion-reserve"; - reg = <27>; - linux,contiguous-region = <&qsecom_mem>; - }; - }; -}; - diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8610-mdss.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v1/msm8610-mdss.dtsi deleted file mode 100644 index af0e3e4e3..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8610-mdss.dtsi +++ /dev/null @@ -1,37 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&soc { - qcom,mdss_mdp@fd900000 { - compatible = "qcom,mdss_mdp3"; - reg = <0xfd900000 0x100000>; - reg-names = "mdp_phys"; - interrupts = <0 72 0>; - - mdss_fb0: qcom,mdss_fb_primary { - cell-index = <0>; - compatible = "qcom,mdss-fb"; - qcom,memory-reservation-type = "EBI1"; - qcom,memory-reservation-size = <0x300000>; - }; - }; - - mdss_dsi0: qcom,mdss_dsi@fdd00000 { - compatible = "qcom,msm-dsi-v2"; - label = "MDSS DSI CTRL->0"; - cell-index = <0>; - reg = <0xfdd00000 0x100000>; - interrupts = <0 30 0>; - vdda-supply = <&pm8110_l4>; - qcom,mdss-fb-map = <&mdss_fb0>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8610-mtp.dts b/kernel/arch/arm/boot/dts/m7350-un-v1/msm8610-mtp.dts deleted file mode 100644 index 9406a0911..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8610-mtp.dts +++ /dev/null @@ -1,354 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; - -/include/ "msm8610.dtsi" -/include/ "dsi-v2-panel-truly-wvga-video.dtsi" -/include/ "msm8610-camera-sensor-cdp-mtp.dtsi" - -/ { - model = "Qualcomm MSM 8610 MTP"; - compatible = "qcom,msm8610-mtp", "qcom,msm8610", "qcom,mtp"; - qcom,msm-id = <147 8 0>, <165 8 0>, <161 8 0>, <162 8 0>, - <163 8 0>, <164 8 0>, <166 8 0>; -}; - -&soc { - serial@f991e000 { - status = "ok"; - }; - - i2c@f9923000{ - atmel_mxt_ts@4a { - compatible = "atmel,mxt-ts"; - reg = <0x4a>; - interrupt-parent = <&msmgpio>; - interrupts = <1 0x2>; - vdd_ana-supply = <&pm8110_l19>; - vcc_i2c-supply = <&pm8110_l14>; - atmel,reset-gpio = <&msmgpio 0 0x00>; - atmel,irq-gpio = <&msmgpio 1 0x00>; - atmel,panel-coords = <0 0 508 880>; - atmel,display-coords = <0 0 480 800>; - atmel,i2c-pull-up; - atmel,no-force-update; - atmel,cfg_1 { - atmel,family-id = <0x81>; - atmel,variant-id = <0x15>; - atmel,version = <0x11>; - atmel,build = <0xaa>; - atmel,config = [ - /* Object 6, Instance = 0 */ - 00 00 00 00 00 00 - /* Object 38, Instance = 0 */ - 1D 01 00 0C 04 0D 00 00 - /* Object 7, Instance = 0 */ - 20 08 32 - /* Object 8, Instance = 0 */ - 19 00 14 14 FF 00 FF 00 00 00 - /* Object 9, Instance = 0 */ - 83 00 00 13 0B 00 20 32 01 03 - 00 32 05 30 0A 05 0A 00 70 03 - FC 01 00 36 2F 2C 00 00 40 00 - 00 0A 00 00 02 - /* Object 18, Instance = 0 */ - 00 00 - /* Object 19, Instance = 0 */ - 00 00 00 00 00 00 - /* Object 25, Instance = 0 */ - 03 00 18 79 A8 61 - /* Object 58, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 - /* Object 42, Instance = 0 */ - 00 00 00 00 00 00 00 00 - /* Object 46, Instance = 0 */ - 04 03 08 10 00 00 00 00 00 - /* Object 47, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - /* Object 48, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 - /* Object 55, Instance = 0 */ - 00 00 00 00 - ]; - }; - }; - }; - - gen-vkeys { - compatible = "qcom,gen-vkeys"; - label = "atmel_mxt_ts"; - qcom,disp-maxx = <480>; - qcom,disp-maxy = <800>; - qcom,panel-maxx = <508>; - qcom,panel-maxy = <880>; - qcom,key-codes = <158 102 139>; - qcom,y-offset = <35>; - }; - - gpio_keys { - compatible = "gpio-keys"; - input-name = "gpio-keys"; - - camera_snapshot { - label = "camera_snapshot"; - gpios = <&msmgpio 73 0x1>; - linux,input-type = <1>; - linux,code = <0x2fe>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - - camera_focus { - label = "camera_focus"; - gpios = <&msmgpio 74 0x1>; - linux,input-type = <1>; - linux,code = <0x210>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - - vol_up { - label = "volume_up"; - gpios = <&msmgpio 72 0x1>; - linux,input-type = <1>; - linux,code = <115>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - }; - - sound { - qcom,audio-routing = - "RX_BIAS", "MCLK", - "INT_LDO_H", "MCLK", - "MIC BIAS External", "Handset Mic", - "MIC BIAS Internal2", "Headset Mic", - "AMIC1", "MIC BIAS External", - "AMIC2", "MIC BIAS Internal2"; - }; -}; - -&i2c_cdc { - msm8x10_wcd_codec@0d{ - compatible = "qcom,msm8x10-wcd-i2c"; - reg = <0x0d>; - cdc-vdda-cp-supply = <&pm8110_s4>; - qcom,cdc-vdda-cp-voltage = <2150000 2150000>; - qcom,cdc-vdda-cp-current = <650000>; - - cdc-vdda-h-supply = <&pm8110_l6>; - qcom,cdc-vdda-h-voltage = <1800000 1800000>; - qcom,cdc-vdda-h-current = <250000>; - - cdc-vdd-px-supply = <&pm8110_l6>; - qcom,cdc-vdd-px-voltage = <1800000 1800000>; - qcom,cdc-vdd-px-current = <10000>; - - cdc-vdd-1p2v-supply = <&pm8110_l4>; - qcom,cdc-vdd-1p2v-voltage = <1200000 1200000>; - qcom,cdc-vdd-1p2v-current = <5000>; - - cdc-vdd-mic-bias-supply = <&pm8110_l20>; - qcom,cdc-vdd-mic-bias-voltage = <3075000 3075000>; - qcom,cdc-vdd-mic-bias-current = <25000>; - - qcom,cdc-micbias-cfilt-sel = <0x0>; - qcom,cdc-micbias-cfilt-mv = <1800000>; - qcom,cdc-mclk-clk-rate = <12288000>; - }; - - msm8x10_wcd_codec@77{ - compatible = "qcom,msm8x10-wcd-i2c"; - reg = <0x77>; - }; - - msm8x10_wcd_codec@66{ - compatible = "qcom,msm8x10-wcd-i2c"; - reg = <0x66>; - }; - - msm8x10_wcd_codec@55{ - compatible = "qcom,msm8x10-wcd-i2c"; - reg = <0x55>; - }; -}; - -&spmi_bus { - qcom,pm8110@0 { - qcom,leds@a100 { - status = "okay"; - qcom,led_mpp_2 { - label = "mpp"; - linux,name = "button-backlight"; - linux-default-trigger = "hr-trigger"; - qcom,default-state = "off"; - qcom,max-current = <40>; - qcom,id = <6>; - qcom,source-sel = <1>; - qcom,mode-ctrl = <0x60>; - qcom,mode = "manual"; - }; - }; - - qcom,leds@a200 { - status = "okay"; - qcom,led_mpp_3 { - label = "mpp"; - linux,name = "wled-backlight"; - linux,default-trigger = "bkl-trigger"; - qcom,default-state = "on"; - qcom,max-current = <40>; - qcom,id = <6>; - qcom,source-sel = <1>; - qcom,mode-ctrl = <0x10>; - qcom,mode = "manual"; - }; - }; - }; -}; - -&spmi_bus { - qcom,pm8110@1 { - qcom,vibrator@c000 { - status = "okay"; - qcom,vib-timeout-ms = <15000>; - qcom,vib-vtg-level-mV = <3100>; - }; - }; -}; - -&sdhc_1 { - vdd-supply = <&pm8110_l17>; - qcom,vdd-always-on; - qcom,vdd-lpm-sup; - qcom,vdd-voltage-level = <2900000 2900000>; - qcom,vdd-current-level = <200 400000>; - - vdd-io-supply = <&pm8110_l6>; - qcom,vdd-io-always-on; - qcom,vdd-io-lpm-sup; - qcom,vdd-io-voltage-level = <1800000 1800000>; - qcom,vdd-io-current-level = <200 60000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - qcom,bus-speed-mode = "HS200_1p8v", "DDR_1p8v"; - qcom,nonremovable; - - status = "ok"; -}; - -&sdhc_2 { - vdd-supply = <&pm8110_l18>; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <15000 400000>; - - vdd-io-supply = <&pm8110_l21>; - qcom,vdd-io-voltage-level = <1800000 2950000>; - qcom,vdd-io-current-level = <200 50000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - - #address-cells = <0>; - interrupt-parent = <&sdhc_2>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 125 0 - 1 &intc 0 221 0 - 2 &msmgpio 42 0x3>; - interrupt-names = "hc_irq", "pwr_irq", "status_irq"; - cd-gpios = <&msmgpio 42 0x1>; - - status = "ok"; -}; - -&pm8110_chg { - status = "ok"; - qcom,charging-disabled; - - qcom,chgr@1000 { - status = "ok"; - }; - - qcom,buck@1100 { - status = "ok"; - }; - - qcom,bat-if@1200 { - status = "ok"; - }; - - qcom,usb-chgpth@1300 { - status = "ok"; - }; - - qcom,chg-misc@1600 { - status = "ok"; - }; -}; - -&pm8110_gpios { - gpio@c000 { /* GPIO 1 */ - }; - - gpio@c100 { /* GPIO 2 */ - }; - - gpio@c200 { /* GPIO 3 */ - }; - - gpio@c300 { /* GPIO 4 */ - }; -}; - -&pm8110_mpps { - mpp@a000 { /* MPP 1 */ - }; - - mpp@a100 { /* MPP 2 */ - status = "disabled"; - }; - - mpp@a200 { /* MPP 3 */ - status = "disabled"; - }; - - mpp@a300 { /* MPP 4 */ - /* PA_THERM config */ - qcom,mode = <4>; /* AIN input */ - qcom,invert = <1>; /* Enable MPP */ - qcom,ain-route = <3>; /* AMUX 8 */ - qcom,master-en = <1>; - qcom,src-sel = <0>; /* Function constant */ - }; -}; - -&pm8110_bms { - status = "ok"; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8610-pm.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v1/msm8610-pm.dtsi deleted file mode 100644 index 938b2aa2a..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8610-pm.dtsi +++ /dev/null @@ -1,391 +0,0 @@ -/* Copyright (c) 2013 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. - */ - -/include/ "skeleton.dtsi" - -&soc { - qcom,spm@f9089000 { - compatible = "qcom,spm-v2"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xf9089000 0x1000>; - qcom,core-id = <0>; - qcom,saw2-ver-reg = <0xfd0>; - qcom,saw2-cfg = <0x01>; - qcom,saw2-spm-dly= <0x3c102800>; - qcom,saw2-spm-ctl = <0x0>; - qcom,saw2-spm-cmd-wfi = [60 03 60 0b 0f]; - qcom,saw2-spm-cmd-spc = [00 20 10 80 30 90 5b 60 03 60 3b 76 76 - 0b 94 5b 80 10 06 26 30 0f]; - qcom,saw2-spm-cmd-pc = [00 20 10 80 30 90 5b 60 07 60 3b 76 76 - 0b 94 5b 80 10 06 26 30 0f]; - }; - - qcom,spm@f9099000 { - compatible = "qcom,spm-v2"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xf9099000 0x1000>; - qcom,core-id = <1>; - qcom,saw2-ver-reg = <0xfd0>; - qcom,saw2-cfg = <0x01>; - qcom,saw2-spm-dly= <0x3c102800>; - qcom,saw2-spm-ctl = <0x0>; - qcom,saw2-spm-cmd-wfi = [60 03 60 0b 0f]; - qcom,saw2-spm-cmd-spc = [00 20 10 80 30 90 5b 60 03 60 3b 76 76 - 0b 94 5b 80 10 06 26 30 0f]; - qcom,saw2-spm-cmd-pc = [00 20 10 80 30 90 5b 60 07 60 3b 76 76 - 0b 94 5b 80 10 06 26 30 0f]; - }; - - qcom,spm@f90a9000 { - compatible = "qcom,spm-v2"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xf90a9000 0x1000>; - qcom,core-id = <2>; - qcom,saw2-ver-reg = <0xfd0>; - qcom,saw2-cfg = <0x01>; - qcom,saw2-spm-dly= <0x3c102800>; - qcom,saw2-spm-ctl = <0x0>; - qcom,saw2-spm-cmd-wfi = [60 03 60 0b 0f]; - qcom,saw2-spm-cmd-spc = [00 20 10 80 30 90 5b 60 03 60 3b 76 76 - 0b 94 5b 80 10 06 26 30 0f]; - qcom,saw2-spm-cmd-pc = [00 20 10 80 30 90 5b 60 07 60 3b 76 76 - 0b 94 5b 80 10 06 26 30 0f]; - }; - - qcom,spm@f90b9000 { - compatible = "qcom,spm-v2"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xf90b9000 0x1000>; - qcom,core-id = <3>; - qcom,saw2-ver-reg = <0xfd0>; - qcom,saw2-cfg = <0x01>; - qcom,saw2-spm-dly= <0x3c102800>; - qcom,saw2-spm-ctl = <0x0>; - qcom,saw2-spm-cmd-wfi = [60 03 60 0b 0f]; - qcom,saw2-spm-cmd-spc = [00 20 10 80 30 90 5b 60 03 60 3b 76 76 - 0b 94 5b 80 10 06 26 30 0f]; - qcom,saw2-spm-cmd-pc = [00 20 10 80 30 90 5b 60 07 60 3b 76 76 - 0b 94 5b 80 10 06 26 30 0f]; - }; - - qcom,spm@f9012000 { - compatible = "qcom,spm-v2"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xf9012000 0x1000>; - qcom,core-id = <0xffff>; /* L2/APCS SAW */ - qcom,saw2-ver-reg = <0xfd0>; - qcom,saw2-cfg = <0x14>; - qcom,saw2-spm-dly= <0x3c102800>; - qcom,saw2-spm-ctl = <0x0>; - qcom,saw2-pmic-data0 = <0x02030080>; - qcom,saw2-pmic-data1 = <0x00030000>; - qcom,vctl-timeout-us = <50>; - qcom,vctl-port = <0x0>; - qcom,phase-port = <0x1>; - qcom,pfm-port = <0x2>; - qcom,saw2-spm-cmd-ret = [00 03 00 7b 0f]; - qcom,saw2-spm-cmd-pc = [00 32 b0 10 e0 d0 6b c0 42 f0 - 11 07 01 b0 4e c0 d0 12 e0 6b 50 02 32 - 50 f0 7b 0f]; /*APCS_PMIC_OFF_L2RAM_OFF*/ - }; - - qcom,lpm-resources { - compatible = "qcom,lpm-resources"; - #address-cells = <1>; - #size-cells = <0>; - - qcom,lpm-resources@0 { - reg = <0x0>; - qcom,name = "vdd-dig"; - qcom,type = <0x61706d73>; /* "smpa" */ - qcom,id = <0x01>; - qcom,key = <0x6e726f63>; /* "corn" */ - qcom,init-value = <3>; /* SVS SOC */ - }; - - qcom,lpm-resources@1 { - reg = <0x1>; - qcom,name = "vdd-mem"; - qcom,type = <0x616F646C>; /* "ldoa" */ - qcom,id = <0x03>; - qcom,key = <0x6e726f63>; /* "corn" */ - qcom,init-value = <3>; /* SVS SOC */ - }; - - qcom,lpm-resources@2 { - reg = <0x2>; - qcom,name = "pxo"; - qcom,type = <0x306b6c63>; /* "clk0" */ - qcom,id = <0x00>; - qcom,key = <0x62616e45>; /* "Enab" */ - qcom,init-value = "xo_on"; - }; - - qcom,lpm-resources@3 { - reg = <0x3>; - qcom,name = "l2"; - qcom,local-resource-type; - qcom,init-value = "l2_cache_retention"; - }; - }; - - qcom,lpm-levels { - compatible = "qcom,lpm-levels"; - #address-cells = <1>; - #size-cells = <0>; - - qcom,lpm-level@0 { - reg = <0x0>; - qcom,mode = "wfi"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_active"; - qcom,vdd-mem-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <4>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <1>; - qcom,ss-power = <784>; - qcom,energy-overhead = <190000>; - qcom,time-overhead = <100>; - }; - - qcom,lpm-level@1 { - reg = <0x1>; - qcom,mode = "standalone_pc"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_active"; - qcom,vdd-mem-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <4>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <3000>; - qcom,ss-power = <725>; - qcom,energy-overhead = <99500>; - qcom,time-overhead = <3130>; - }; - - qcom,lpm-level@2 { - reg = <0x2>; - qcom,mode = "pc"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_retention"; - qcom,vdd-mem-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <4>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <8000>; - qcom,ss-power = <138>; - qcom,energy-overhead = <1208400>; - qcom,time-overhead = <9200>; - }; - - qcom,lpm-level@3 { - reg = <0x3>; - qcom,mode = "pc"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_pc"; - qcom,vdd-mem-upper-bound = <4>; /* NORMAL */ - qcom,vdd-mem-lower-bound = <3>; /* SVS SOC */ - qcom,vdd-dig-upper-bound = <4>; /* NORMAL */ - qcom,vdd-dig-lower-bound = <3>; /* SVS SOC */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <9000>; - qcom,ss-power = <110>; - qcom,energy-overhead = <1250300>; - qcom,time-overhead = <9500>; - }; - - qcom,lpm-level@4 { - reg = <0x4>; - qcom,mode = "pc"; - qcom,xo = "xo_off"; - qcom,l2 = "l2_cache_pc"; - qcom,vdd-mem-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <4>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,latency-us = <16300>; - qcom,ss-power = <63>; - qcom,energy-overhead = <2128000>; - qcom,time-overhead = <24200>; - }; - - qcom,lpm-level@5 { - reg = <0x5>; - qcom,mode = "pc"; - qcom,xo = "xo_off"; - qcom,l2 = "l2_cache_pc"; - qcom,vdd-mem-upper-bound = <4>; /* NORMAL */ - qcom,vdd-mem-lower-bound = <3>; /* SVS SOC */ - qcom,vdd-dig-upper-bound = <4>; /* NORMAL */ - qcom,vdd-dig-lower-bound = <3>; /* SVS SOC */ - qcom,latency-us = <24000>; - qcom,ss-power = <10>; - qcom,energy-overhead = <3202600>; - qcom,time-overhead = <33000>; - }; - - qcom,lpm-level@6 { - reg = <0x6>; - qcom,mode = "pc"; - qcom,xo = "xo_off"; - qcom,l2 = "l2_cache_pc"; - qcom,vdd-mem-upper-bound = <3>; /* SVS SOC */ - qcom,vdd-mem-lower-bound = <1>; /* RETENTION */ - qcom,vdd-dig-upper-bound = <3>; /* SVS SOC */ - qcom,vdd-dig-lower-bound = <1>; /* RETENTION */ - qcom,latency-us = <26000>; - qcom,ss-power = <2>; - qcom,energy-overhead = <4252000>; - qcom,time-overhead = <38000>; - }; - }; - - qcom,pm-boot { - compatible = "qcom,pm-boot"; - qcom,mode = "tz"; - }; - - qcom,mpm@fc4281d0 { - compatible = "qcom,mpm-v2"; - reg = <0xfc4281d0 0x1000>, /* MSM_RPM_MPM_BASE 4K */ - <0xf9011008 0x4>; /* MSM_APCS_GCC_BASE 4K */ - reg-names = "vmpm", "ipc"; - interrupts = <0 171 1>; - - qcom,ipc-bit-offset = <1>; - - qcom,gic-parent = <&intc>; - qcom,gic-map = <47 172>, /* usb2_hsic_async_wakeup_irq */ - <53 104>, /* mdss_irq */ - <62 222>, /* ee0_krait_hlos_spmi_periph_irq */ - <2 216>, /* tsens_upper_lower_int */ - <0xff 56>, /* q6_wdog_expired_irq */ - <0xff 57>, /* mss_to_apps_irq(0) */ - <0xff 58>, /* mss_to_apps_irq(1) */ - <0xff 59>, /* mss_to_apps_irq(2) */ - <0xff 60>, /* mss_to_apps_irq(3) */ - <0xff 61>, /* mss_a2_bam_irq */ - <0xff 173>, /* o_wcss_apss_smd_hi */ - <0xff 174>, /* o_wcss_apss_smd_med */ - <0xff 175>, /* o_wcss_apss_smd_low */ - <0xff 176>, /* o_wcss_apss_smsm_irq */ - <0xff 177>, /* o_wcss_apss_wlan_data_xfer_done */ - <0xff 178>, /* o_wcss_apss_wlan_rx_data_avail */ - <0xff 179>, /* o_wcss_apss_asic_intr - <0xff 181>, /* o_wcss_apss_wdog_bite_and_reset_rdy */ - <0xff 161>, /* lpass_irq_out_spare[4] / - <0xff 162>, /* lpass_irq_out_spare[5]*/ - <0xff 234>, /* lpass_irq_out_spare[6]*/ - <0xff 235>, /* lpass_irq_out_spare[7]*/ - <0xff 188>, /* lpass_irq_out_apcs(0) */ - <0xff 189>, /* lpass_irq_out_apcs(1) */ - <0xff 190>, /* lpass_irq_out_apcs(2) */ - <0xff 191>, /* lpass_irq_out_apcs(3) */ - <0xff 192>, /* lpass_irq_out_apcs(4) */ - <0xff 194>, /* lpass_irq_out_apcs(6) */ - <0xff 200>, /* rpm_ipc(4) */ - <0xff 201>, /* rpm_ipc(5) */ - <0xff 202>, /* rpm_ipc(6) */ - <0xff 203>, /* rpm_ipc(7) */ - <0xff 204>, /* rpm_ipc(24) */ - <0xff 205>, /* rpm_ipc(25) */ - <0xff 206>, /* rpm_ipc(26) */ - <0xff 207>, /* rpm_ipc(27) */ - <0xff 258>, /* rpm_ipc(28) */ - <0xff 259>, /* rpm_ipc(29) */ - <0xff 275>, /* rpm_ipc(30) */ - <0xff 276>, /* rpm_ipc(31) */ - <0xff 269>, /* rpm_wdog_expired_irq */ - <0xff 240>; /* summary_irq_kpss */ - - qcom,gpio-parent = <&msmgpio>; - qcom,gpio-map = <3 1>, - <4 4 >, - <5 5 >, - <6 9 >, - <7 13>, - <8 17>, - <9 21>, - <10 27>, - <11 29>, - <12 31>, - <13 33>, - <14 35>, - <15 37>, - <16 38>, - <17 39>, - <18 41>, - <19 46>, - <20 48>, - <21 49>, - <22 50>, - <23 51>, - <24 52>, - <25 54>, - <26 62>, - <27 63>, - <28 64>, - <29 65>, - <30 66>, - <31 67>, - <32 68>, - <33 69>, - <34 71>, - <35 72>, - <36 106>, - <37 107>, - <38 108>, - <39 109>, - <40 110>, - <54 111>, - <55 113>; - }; - - qcom,pm-8x60@fe805664 { - compatible = "qcom,pm-8x60"; - reg = <0xfe805664 0x40>; - qcom,pc-mode = "tz_l2_int"; - qcom,use-sync-timer; - qcom,pc-resets-timer; - }; - - qcom,rpm-log@fc19dc00 { - compatible = "qcom,rpm-log"; - reg = <0xfc19dc00 0x4000>; - qcom,rpm-addr-phys = <0xfc000000>; - qcom,offset-version = <4>; - qcom,offset-page-buffer-addr = <36>; - qcom,offset-log-len = <40>; - qcom,offset-log-len-mask = <44>; - qcom,offset-page-indices = <56>; - }; - - qcom,rpm-stats@fc19dba0 { - compatible = "qcom,rpm-stats"; - reg = <0xfc19dba0 0x1000>; - reg-names = "phys_addr_base"; - qcom,sleep-stats-version = <2>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8610-qrd.dts b/kernel/arch/arm/boot/dts/m7350-un-v1/msm8610-qrd.dts deleted file mode 100644 index 5f9365a2a..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8610-qrd.dts +++ /dev/null @@ -1,267 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; - -/include/ "msm8610.dtsi" -/include/ "dsi-v2-panel-hx8379a-wvga-video.dtsi" - -/ { - model = "Qualcomm MSM 8610 QRD"; - compatible = "qcom,msm8610-qrd", "qcom,msm8610", "qcom,qrd"; - qcom,msm-id = <147 11 0>, <165 11 0>, <161 11 0>, <162 11 0>, - <163 11 0>, <164 11 0>, <166 11 0>; -}; - -&soc { - i2c@f9923000{ - focaltech@38{ - compatible = "focaltech,5x06"; - reg = <0x38>; - interrupt-parent = <&msmgpio>; - interrupts = <1 0x2>; - vdd-supply = <&pm8110_l19>; - vcc_i2c-supply = <&pm8110_l14>; - focaltech,family-id = <0x06>; - focaltech,reset-gpio = <&msmgpio 0 0x00>; - focaltech,irq-gpio = <&msmgpio 1 0x00>; - focaltech,display-coords = <0 0 480 800>; - focaltech,panel-coords = <0 0 480 800>; - focaltech,button-map= <139 102 158>; - focaltech,no-force-update; - focaltech,i2c-pull-up; - }; - }; - - gen-vkeys { - compatible = "qcom,gen-vkeys"; - label = "ft5x06_ts"; - qcom,disp-maxx = <480>; - qcom,disp-maxy = <800>; - qcom,panel-maxx = <481>; - qcom,panel-maxy = <940>; - qcom,key-codes = <139 0 102 158 0 0 0>; - qcom,y-offset = <0>; - }; - serial@f991e000 { - status = "ok"; - }; - - gpio_keys { - compatible = "gpio-keys"; - input-name = "gpio-keys"; - - camera_snapshot { - label = "camera_snapshot"; - gpios = <&msmgpio 73 0x1>; - linux,input-type = <1>; - linux,code = <0x2fe>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - - camera_focus { - label = "camera_focus"; - gpios = <&msmgpio 74 0x1>; - linux,input-type = <1>; - linux,code = <0x210>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - - vol_up { - label = "volume_up"; - gpios = <&msmgpio 72 0x1>; - linux,input-type = <1>; - linux,code = <115>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - }; - - i2c@f9927000 { - msm8x10_wcd_codec@0d{ - compatible = "qcom,msm8x10-wcd-i2c"; - reg = <0x0d>; - cdc-vdda-cp-supply = <&pm8110_s4>; - qcom,cdc-vdda-cp-voltage = <2150000 2150000>; - qcom,cdc-vdda-cp-current = <650000>; - - cdc-vdda-h-supply = <&pm8110_l6>; - qcom,cdc-vdda-h-voltage = <1800000 1800000>; - qcom,cdc-vdda-h-current = <250000>; - - cdc-vdd-px-supply = <&pm8110_l6>; - qcom,cdc-vdd-px-voltage = <1800000 1800000>; - qcom,cdc-vdd-px-current = <10000>; - - cdc-vdd-1p2v-supply = <&pm8110_l4>; - qcom,cdc-vdd-1p2v-voltage = <1200000 1200000>; - qcom,cdc-vdd-1p2v-current = <5000>; - - cdc-vdd-mic-bias-supply = <&pm8110_l20>; - qcom,cdc-vdd-mic-bias-voltage = <3075000 3075000>; - qcom,cdc-vdd-mic-bias-current = <25000>; - - qcom,cdc-micbias-cfilt-sel = <0x0>; - qcom,cdc-micbias-cfilt-mv = <1800000>; - qcom,cdc-mclk-clk-rate = <12288000>; - }; - - msm8x10_wcd_codec@77{ - compatible = "qcom,msm8x10-wcd-i2c"; - reg = <0x77>; - }; - - msm8x10_wcd_codec@66{ - compatible = "qcom,msm8x10-wcd-i2c"; - reg = <0x66>; - }; - - msm8x10_wcd_codec@55{ - compatible = "qcom,msm8x10-wcd-i2c"; - reg = <0x55>; - }; - }; - - sound { - qcom,audio-routing = - "RX_BIAS", "MCLK", - "INT_LDO_H", "MCLK", - "MIC BIAS Internal1", "Handset Mic", - "MIC BIAS Internal2", "Headset Mic", - "AMIC1", "MIC BIAS Internal1", - "AMIC2", "MIC BIAS Internal2"; - }; -}; - -&spmi_bus { - qcom,pm8110@0 { - qcom,leds@a100 { - status = "okay"; - qcom,led_mpp_2 { - label = "mpp"; - linux,name = "wled-homerow"; - linux-default-trigger = "hr-trigger"; - qcom,default-state = "off"; - qcom,max-current = <40>; - qcom,id = <6>; - qcom,source-sel = <1>; - qcom,mode-ctrl = <0x61>; - }; - }; - - qcom,leds@a200 { - status = "okay"; - qcom,led_mpp_3 { - label = "mpp"; - linux,name = "wled-backlight"; - linux,default-trigger = "bkl-trigger"; - qcom,default-state = "on"; - qcom,max-current = <40>; - qcom,id = <6>; - qcom,source-sel = <1>; - qcom,mode-ctrl = <0x10>; - }; - }; - }; -}; - -&spmi_bus { - qcom,pm8110@1 { - qcom,vibrator@c000 { - status = "okay"; - qcom,vib-timeout-ms = <15000>; - qcom,vib-vtg-level-mV = <3100>; - }; - }; -}; - -&sdhc_1 { - vdd-supply = <&pm8110_l17>; - qcom,vdd-always-on; - qcom,vdd-lpm-sup; - qcom,vdd-voltage-level = <2900000 2900000>; - qcom,vdd-current-level = <200 400000>; - - vdd-io-supply = <&pm8110_l6>; - qcom,vdd-io-always-on; - qcom,vdd-io-voltage-level = <1800000 1800000>; - qcom,vdd-io-current-level = <200 60000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - qcom,bus-speed-mode = "HS200_1p8v", "DDR_1p8v"; - qcom,nonremovable; - - status = "ok"; -}; - -&sdhc_2 { - vdd-supply = <&pm8110_l18>; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <15000 400000>; - - vdd-io-supply = <&pm8110_l21>; - qcom,vdd-io-always-on; - qcom,vdd-io-lpm-sup; - qcom,vdd-io-voltage-level = <1800000 2950000>; - qcom,vdd-io-current-level = <200 50000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - - #address-cells = <0>; - interrupt-parent = <&sdhc_2>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 125 0 - 1 &intc 0 221 0 - 2 &msmgpio 42 0x3>; - interrupt-names = "hc_irq", "pwr_irq", "status_irq"; - cd-gpios = <&msmgpio 42 0x1>; - - status = "ok"; -}; - -&pm8110_chg { - status = "ok"; - - qcom,chgr@1000 { - status = "ok"; - }; - - qcom,buck@1100 { - status = "ok"; - }; - - qcom,bat-if@1200 { - status = "ok"; - }; - - qcom,usb-chgpth@1300 { - status = "ok"; - }; - - qcom,chg-misc@1600 { - status = "ok"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8610-regulator.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v1/msm8610-regulator.dtsi deleted file mode 100644 index 09520c537..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8610-regulator.dtsi +++ /dev/null @@ -1,358 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/* SPM controlled regulators */ - -&spmi_bus { - qcom,pm8110@1 { - pm8110_s2: spm-regulator@1700 { - compatible = "qcom,spm-regulator"; - regulator-name = "8110_s2"; - reg = <0x1700 0x100>; - regulator-min-microvolt = <900000>; - regulator-max-microvolt = <1350000>; - }; - }; -}; - -/* CPR controlled regulator */ - -&soc { - apc_vreg_corner: regulator@f9018000 { - status = "okay"; - compatible = "qcom,cpr-regulator"; - reg = <0xf9018000 0x1000>, <0xf9011064 4>, <0xfc4b80b0 8>, - <0xfc4bc450 16>; - reg-names = "rbcpr", "rbcpr_clk", "pvs_efuse", "cpr_efuse"; - interrupts = <0 15 0>; - regulator-name = "apc_corner"; - regulator-min-microvolt = <1>; - regulator-max-microvolt = <3>; - qcom,num-efuse-bits = <5>; - qcom,pvs-bin-process = <0 0 0 0 0 1 1 1 1 1 2 2 2 2 2 2 - 2 2 2 2 3 3 3 3 3 3 3 3 0 0 0 0>; - qcom,pvs-corner-ceiling-slow = <1150000 1150000 1275000>; - qcom,pvs-corner-ceiling-nom = <975000 1075000 1200000>; - qcom,pvs-corner-ceiling-fast = <900000 1000000 1140000>; - vdd-apc-supply = <&pm8110_s2>; - - vdd-mx-supply = <&pm8110_l3_ao>; - qcom,vdd-mx-vmax = <1350000>; - qcom,vdd-mx-vmin-method = <1>; - - qcom,cpr-ref-clk = <19200>; - qcom,cpr-timer-delay = <5000>; - qcom,cpr-timer-cons-up = <1>; - qcom,cpr-timer-cons-down = <2>; - qcom,cpr-irq-line = <0>; - qcom,cpr-step-quotient = <15>; - qcom,cpr-up-threshold = <1>; - qcom,cpr-down-threshold = <2>; - qcom,cpr-idle-clocks = <5>; - qcom,cpr-gcnt-time = <1>; - qcom,vdd-apc-step-up-limit = <1>; - qcom,vdd-apc-step-down-limit = <1>; - qcom,cpr-apc-volt-step = <5000>; - }; -}; - -/* RPM controlled regulators: */ - -&rpm_bus { - - rpm-regulator-smpa1 { - status = "okay"; - pm8110_s1: regulator-s1 { - status = "okay"; - regulator-min-microvolt = <500000>; - regulator-max-microvolt = <1275000>; - }; - - pm8110_s1_corner: regulator-s1-corner { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_s1_corner"; - qcom,set = <3>; - regulator-min-microvolt = <1>; - regulator-max-microvolt = <7>; - qcom,use-voltage-corner; - qcom,consumer-supplies = "vdd_dig", ""; - }; - - pm8110_s1_corner_ao: regulator-s1-corner-ao { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_s1_corner_ao"; - qcom,set = <1>; - regulator-min-microvolt = <1>; - regulator-max-microvolt = <7>; - qcom,use-voltage-corner; - qcom,consumer-supplies = "vdd_sr2_dig", ""; - }; - }; - - rpm-regulator-smpa3 { - status = "okay"; - pm8110_s3: regulator-s3 { - regulator-min-microvolt = <1200000>; - regulator-max-microvolt = <1350000>; - qcom,init-voltage = <1200000>; - status = "okay"; - }; - }; - - rpm-regulator-smpa4 { - status = "okay"; - pm8110_s4: regulator-s4 { - regulator-min-microvolt = <2150000>; - regulator-max-microvolt = <2150000>; - qcom,init-voltage = <2150000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa1 { - status = "okay"; - pm8110_l1: regulator-l1 { - regulator-min-microvolt = <1225000>; - regulator-max-microvolt = <1225000>; - qcom,init-voltage = <1225000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa2 { - status = "okay"; - pm8110_l2: regulator-l2 { - regulator-min-microvolt = <1200000>; - regulator-max-microvolt = <1200000>; - qcom,init-voltage = <1200000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa3 { - status = "okay"; - pm8110_l3: regulator-l3 { - regulator-min-microvolt = <750000>; - regulator-max-microvolt = <1275000>; - status = "okay"; - }; - - pm8110_l3_ao: regulator-l3-ao { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l3_ao"; - qcom,set = <1>; - regulator-min-microvolt = <750000>; - regulator-max-microvolt = <1275000>; - status = "okay"; - }; - - pm8110_l3_so: regulator-l3-so { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l3_so"; - qcom,set = <2>; - regulator-min-microvolt = <750000>; - regulator-max-microvolt = <1275000>; - qcom,init-voltage = <750000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa4 { - status = "okay"; - pm8110_l4: regulator-l4 { - regulator-min-microvolt = <1200000>; - regulator-max-microvolt = <1200000>; - qcom,init-voltage = <1200000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa5 { - status = "okay"; - pm8110_l5: regulator-l5 { - regulator-min-microvolt = <1300000>; - regulator-max-microvolt = <1300000>; - qcom,init-voltage = <1300000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa6 { - status = "okay"; - pm8110_l6: regulator-l6 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa7 { - status = "okay"; - pm8110_l7: regulator-l7 { - regulator-min-microvolt = <2050000>; - regulator-max-microvolt = <2050000>; - qcom,init-voltage = <2050000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa8 { - status = "okay"; - pm8110_l8: regulator-l8 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa9 { - status = "okay"; - pm8110_l9: regulator-l9 { - regulator-min-microvolt = <2050000>; - regulator-max-microvolt = <2050000>; - qcom,init-voltage = <2050000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa10 { - status = "okay"; - pm8110_l10: regulator-l10 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - status = "okay"; - }; - - pm8110_l10_ao: regulator-l10-ao { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l10_ao"; - qcom,set = <1>; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - qcom,consumer-supplies = "vdd_sr2_pll", ""; - }; - - pm8110_l10_so: regulator-l10-so { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l10_so"; - qcom,set = <2>; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - qcom,init-enable = <0>; - }; - }; - - rpm-regulator-ldoa12 { - status = "okay"; - pm8110_l12: regulator-l12 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <3300000>; - qcom,init-voltage = <3300000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa14 { - status = "okay"; - pm8110_l14: regulator-l14 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa15 { - status = "okay"; - pm8110_l15: regulator-l15 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <3300000>; - qcom,init-voltage = <3300000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa16 { - status = "okay"; - pm8110_l16: regulator-l16 { - regulator-min-microvolt = <3000000>; - regulator-max-microvolt = <3000000>; - qcom,init-voltage = <3000000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa17 { - status = "okay"; - pm8110_l17: regulator-l17 { - regulator-min-microvolt = <2900000>; - regulator-max-microvolt = <2900000>; - qcom,init-voltage = <2900000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa18 { - status = "okay"; - pm8110_l18: regulator-l18 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <2950000>; - qcom,init-voltage = <2950000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa19 { - status = "okay"; - pm8110_l19: regulator-l19 { - regulator-min-microvolt = <2850000>; - regulator-max-microvolt = <2850000>; - qcom,init-voltage = <2850000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa20 { - status = "okay"; - pm8110_l20: regulator-l20 { - regulator-min-microvolt = <3075000>; - regulator-max-microvolt = <3075000>; - qcom,init-voltage = <3075000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa21 { - status = "okay"; - pm8110_l21: regulator-l21 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <2950000>; - qcom,init-voltage = <2950000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa22 { - status = "okay"; - pm8110_l22: regulator-l22 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <3300000>; - qcom,init-voltage = <3300000>; - status = "okay"; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8610-rumi.dts b/kernel/arch/arm/boot/dts/m7350-un-v1/msm8610-rumi.dts deleted file mode 100644 index 7f0648541..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8610-rumi.dts +++ /dev/null @@ -1,31 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/dts-v1/; - -/include/ "msm8610.dtsi" - -/ { - model = "Qualcomm MSM 8610 Rumi"; - compatible = "qcom,msm8610-rumi", "qcom,msm8610", "qcom,rumi"; - qcom,msm-id = <147 15 0>; -}; - -&soc { - serial@f991f000 { - status = "ok"; - }; -}; - -&gfx_iommu { - status = "disabled"; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8610-sim.dts b/kernel/arch/arm/boot/dts/m7350-un-v1/msm8610-sim.dts deleted file mode 100644 index 7c57fe667..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8610-sim.dts +++ /dev/null @@ -1,72 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/dts-v1/; - -/include/ "msm8610.dtsi" - -/ { - model = "Qualcomm MSM 8610 Simulator"; - compatible = "qcom,msm8610-sim", "qcom,msm8610", "qcom,sim"; - qcom,msm-id = <147 16 0>; -}; - -&soc { - serial@f991f000 { - status = "ok"; - }; -}; - -&i2c_cdc { - msm8x10_wcd_codec@0d{ - compatible = "qcom,msm8x10-wcd-i2c"; - reg = <0x0d>; - cdc-vdda-cp-supply = <&pm8110_s4>; - qcom,cdc-vdda-cp-voltage = <2150000 2150000>; - qcom,cdc-vdda-cp-current = <650000>; - - cdc-vdda-h-supply = <&pm8110_l6>; - qcom,cdc-vdda-h-voltage = <1800000 1800000>; - qcom,cdc-vdda-h-current = <250000>; - - cdc-vdd-px-supply = <&pm8110_l6>; - qcom,cdc-vdd-px-voltage = <1800000 1800000>; - qcom,cdc-vdd-px-current = <10000>; - - cdc-vdd-1p2v-supply = <&pm8110_l4>; - qcom,cdc-vdd-1p2v-voltage = <1200000 1200000>; - qcom,cdc-vdd-1p2v-current = <5000>; - - cdc-vdd-mic-bias-supply = <&pm8110_l20>; - qcom,cdc-vdd-mic-bias-voltage = <3075000 3075000>; - qcom,cdc-vdd-mic-bias-current = <25000>; - - qcom,cdc-micbias-cfilt-sel = <0x0>; - qcom,cdc-micbias-cfilt-mv = <1800000>; - qcom,cdc-mclk-clk-rate = <12288000>; - }; - - msm8x10_wcd_codec@77{ - compatible = "qcom,msm8x10-wcd-i2c"; - reg = <0x77>; - }; - - msm8x10_wcd_codec@66{ - compatible = "qcom,msm8x10-wcd-i2c"; - reg = <0x66>; - }; - - msm8x10_wcd_codec@55{ - compatible = "qcom,msm8x10-wcd-i2c"; - reg = <0x55>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8610-smp2p.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v1/msm8610-smp2p.dtsi deleted file mode 100644 index 3921a686a..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8610-smp2p.dtsi +++ /dev/null @@ -1,225 +0,0 @@ -/* Copyright (c) 2013, 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. - */ -&soc { - qcom,smp2p-modem { - compatible = "qcom,smp2p"; - reg = <0xf9011008 0x4>; - qcom,remote-pid = <1>; - qcom,irq-bitmask = <0x4000>; - interrupts = <0 27 1>; - }; - - qcom,smp2p-adsp { - compatible = "qcom,smp2p"; - reg = <0xf9011008 0x4>; - qcom,remote-pid = <2>; - qcom,irq-bitmask = <0x400>; - interrupts = <0 158 1>; - }; - - qcom,smp2p-wcnss { - compatible = "qcom,smp2p"; - reg = <0xf9011008 0x4>; - qcom,remote-pid = <4>; - qcom,irq-bitmask = <0x40000>; - interrupts = <0 143 1>; - }; - - smp2pgpio_smp2p_7_in: qcom,smp2pgpio-smp2p-7-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <7>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_7_in { - compatible = "qcom,smp2pgpio_test_smp2p_7_in"; - gpios = <&smp2pgpio_smp2p_7_in 0 0>; - }; - - smp2pgpio_smp2p_7_out: qcom,smp2pgpio-smp2p-7-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <7>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_7_out { - compatible = "qcom,smp2pgpio_test_smp2p_7_out"; - gpios = <&smp2pgpio_smp2p_7_out 0 0>; - }; - - smp2pgpio_smp2p_1_in: qcom,smp2pgpio-smp2p-1-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <1>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_1_in { - compatible = "qcom,smp2pgpio_test_smp2p_1_in"; - gpios = <&smp2pgpio_smp2p_1_in 0 0>; - }; - - smp2pgpio_smp2p_1_out: qcom,smp2pgpio-smp2p-1-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <1>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_1_out { - compatible = "qcom,smp2pgpio_test_smp2p_1_out"; - gpios = <&smp2pgpio_smp2p_1_out 0 0>; - }; - - smp2pgpio_ssr_smp2p_1_in: qcom,smp2pgpio-ssr-smp2p-1-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "slave-kernel"; - qcom,remote-pid = <1>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - smp2pgpio_ssr_smp2p_1_out: qcom,smp2pgpio-ssr-smp2p-1-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "master-kernel"; - qcom,remote-pid = <1>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - smp2pgpio_smp2p_2_in: qcom,smp2pgpio-smp2p-2-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <2>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_2_in { - compatible = "qcom,smp2pgpio_test_smp2p_2_in"; - gpios = <&smp2pgpio_smp2p_2_in 0 0>; - }; - - smp2pgpio_smp2p_2_out: qcom,smp2pgpio-smp2p-2-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <2>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_2_out { - compatible = "qcom,smp2pgpio_test_smp2p_2_out"; - gpios = <&smp2pgpio_smp2p_2_out 0 0>; - }; - - /* SMP2P SSR Driver for inbound entry from lpass. */ - smp2pgpio_ssr_smp2p_2_in: qcom,smp2pgpio-ssr-smp2p-2-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "slave-kernel"; - qcom,remote-pid = <2>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - /* SMP2P SSR Driver for outbound entry to lpass */ - smp2pgpio_ssr_smp2p_2_out: qcom,smp2pgpio-ssr-smp2p-2-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "master-kernel"; - qcom,remote-pid = <2>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - smp2pgpio_smp2p_4_in: qcom,smp2pgpio-smp2p-4-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <4>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_4_in { - compatible = "qcom,smp2pgpio_test_smp2p_4_in"; - gpios = <&smp2pgpio_smp2p_4_in 0 0>; - }; - - smp2pgpio_smp2p_4_out: qcom,smp2pgpio-smp2p-4-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <4>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - smp2pgpio_ssr_smp2p_4_in: qcom,smp2pgpio-ssr-smp2p-4-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "slave-kernel"; - qcom,remote-pid = <4>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - smp2pgpio_ssr_smp2p_4_out: qcom,smp2pgpio-ssr-smp2p-4-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "master-kernel"; - qcom,remote-pid = <4>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_4_out { - compatible = "qcom,smp2pgpio_test_smp2p_4_out"; - gpios = <&smp2pgpio_smp2p_4_out 0 0>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8610.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v1/msm8610.dtsi deleted file mode 100644 index a62df58d9..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8610.dtsi +++ /dev/null @@ -1,1075 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/include/ "skeleton.dtsi" - -/ { - model = "Qualcomm MSM 8610"; - compatible = "qcom,msm8610"; - interrupt-parent = <&intc>; - - memory { - qsecom_mem: qsecom_region { - linux,contiguous-region; - reg = <0 0x100000>; - label = "qsecom_mem"; - }; - }; - - aliases { - sdhc1 = &sdhc_1; /* SDC1 eMMC slot */ - sdhc2 = &sdhc_2; /* SDC2 SD card slot */ - spi4 = &spi_4; - }; - - soc: soc { }; -}; - -/include/ "msm8610-camera.dtsi" -/include/ "msm-iommu-v0.dtsi" -/include/ "msm8610-ion.dtsi" -/include/ "msm8610-gpu.dtsi" -/include/ "msm-gdsc.dtsi" -/include/ "msm8610-coresight.dtsi" -/include/ "msm8610-pm.dtsi" -/include/ "msm8610-smp2p.dtsi" -/include/ "msm8610-bus.dtsi" -/include/ "msm8610-mdss.dtsi" - -&soc { - #address-cells = <1>; - #size-cells = <1>; - ranges; - - intc: interrupt-controller@f9000000 { - compatible = "qcom,msm-qgic2"; - interrupt-controller; - #interrupt-cells = <3>; - reg = <0xf9000000 0x1000>, - <0xf9002000 0x1000>; - }; - - msmgpio: gpio@fd510000 { - compatible = "qcom,msm-gpio"; - interrupt-controller; - #interrupt-cells = <2>; - reg = <0xfd510000 0x4000>; - gpio-controller; - #gpio-cells = <2>; - ngpio = <102>; - interrupts = <0 208 0>; - qcom,direct-connect-irqs = <8>; - }; - - qcom,mpm2-sleep-counter@fc4a3000 { - compatible = "qcom,mpm2-sleep-counter"; - reg = <0xfc4a3000 0x1000>; - clock-frequency = <32768>; - }; - - timer { - compatible = "arm,armv7-timer"; - interrupts = <1 2 0 1 3 0>; - clock-frequency = <19200000>; - }; - - 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 8 0x4>, - <0 7 0x4>; - reg = <0xf9021000 0x1000>, - <0xf9022000 0x1000>; - }; - - frame@f9023000 { - frame-number = <1>; - interrupts = <0 9 0x4>; - reg = <0xf9023000 0x1000>; - status = "disabled"; - }; - - frame@f9024000 { - frame-number = <2>; - interrupts = <0 10 0x4>; - reg = <0xf9024000 0x1000>; - status = "disabled"; - }; - - frame@f9025000 { - frame-number = <3>; - interrupts = <0 11 0x4>; - reg = <0xf9025000 0x1000>; - status = "disabled"; - }; - - frame@f9026000 { - frame-number = <4>; - interrupts = <0 12 0x4>; - reg = <0xf9026000 0x1000>; - status = "disabled"; - }; - - frame@f9027000 { - frame-number = <5>; - interrupts = <0 13 0x4>; - reg = <0xf9027000 0x1000>; - status = "disabled"; - }; - - frame@f9028000 { - frame-number = <6>; - interrupts = <0 14 0x4>; - reg = <0xf9028000 0x1000>; - status = "disabled"; - }; - }; - - qcom,msm-adsp-loader { - compatible = "qcom,adsp-loader"; - qcom,adsp-state = <0>; - }; - - qcom,msm-audio-ion { - compatible = "qcom,msm-audio-ion"; - qcom,smmu-enabled; - }; - - qcom,msm-imem@fe805000 { - compatible = "qcom,msm-imem"; - reg = <0xfe805000 0x1000>; /* Address and size of IMEM */ - }; - - serial@f991f000 { - compatible = "qcom,msm-lsuart-v14"; - reg = <0xf991f000 0x1000>; - interrupts = <0 109 0>; - status = "disabled"; - }; - - serial@f991e000 { - compatible = "qcom,msm-lsuart-v14"; - reg = <0xf991e000 0x1000>; - interrupts = <0 108 0>; - status = "disabled"; - }; - - qcom,vidc@fdc00000 { - compatible = "qcom,msm-vidc"; - qcom,vidc-ns-map = <0x40000000 0x40000000>; - qcom,iommu-groups = <&q6_domain_ns>; - qcom,iommu-group-buffer-types = <0xfff>; - qcom,buffer-type-tz-usage-map = <0x1 0x1>, - <0x1fe 0x2>; - qcom,hfi = "q6"; - qcom,max-hw-load = <108000>; /* 720p @ 30 * 1 */ - }; - - qcom,usbbam@f9a44000 { - compatible = "qcom,usb-bam-msm"; - reg = <0xf9a44000 0x11000>; - reg-names = "hsusb"; - interrupts = <0 135 0>; - interrupt-names = "hsusb"; - qcom,usb-bam-num-pipes = <16>; - qcom,usb-bam-fifo-baseaddr = <0xfe803000>; - qcom,ignore-core-reset-ack; - qcom,disable-clk-gating; - - qcom,pipe0 { - label = "hsusb-qdss-in-0"; - qcom,usb-bam-mem-type = <3>; - qcom,bam-type = <1>; - 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 = <0xf9a44000>; - qcom,dst-bam-pipe-index = <2>; - qcom,data-fifo-offset = <0x0>; - qcom,data-fifo-size = <0x600>; - qcom,descriptor-fifo-offset = <0x600>; - qcom,descriptor-fifo-size = <0x200>; - }; - }; - - usb@f9a55000 { - compatible = "qcom,hsusb-otg"; - reg = <0xf9a55000 0x400>; - interrupts = <0 134 0>, <0 140 0>; - interrupt-names = "core_irq", "async_irq"; - HSUSB_VDDCX-supply = <&pm8110_s1>; - HSUSB_1p8-supply = <&pm8110_l10>; - HSUSB_3p3-supply = <&pm8110_l20>; - - qcom,hsusb-otg-phy-type = <2>; - qcom,hsusb-otg-mode = <1>; - qcom,hsusb-otg-otg-control = <2>; - qcom,hsusb-otg-disable-reset; - qcom,dp-manual-pullup; - - qcom,msm-bus,name = "usb2"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,active-only = <0>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <87 512 0 0>, - <87 512 60000 960000>; - }; - - android_usb@fe8050c8 { - compatible = "qcom,android-usb"; - reg = <0xfe8050c8 0xc8>; - }; - - sdcc1: qcom,sdcc@f9824000 { - cell-index = <1>; /* SDC1 eMMC slot */ - compatible = "qcom,msm-sdcc"; - reg = <0xf9824000 0x800>, - <0xf9824800 0x100>, - <0xf9804000 0x7000>; - reg-names = "core_mem", "dml_mem", "bam_mem"; - interrupts = <0 123 0>, <0 137 0>; - interrupt-names = "core_irq", "bam_irq"; - - vdd-supply = <&pm8110_l17>; - qcom,vdd-always-on; - qcom,vdd-lpm-sup; - qcom,vdd-voltage-level = <2900000 2900000>; - qcom,vdd-current-level = <9000 400000>; - - vdd-io-supply = <&pm8110_l6>; - qcom,vdd-io-always-on; - qcom,vdd-io-lpm-sup; - qcom,vdd-io-voltage-level = <1800000 1800000>; - qcom,vdd-io-current-level = <9000 60000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - qcom,sup-voltages = <2900 2900>; - qcom,bus-width = <8>; - qcom,nonremovable; - qcom,bus-speed-mode = "HS200_1p8v", "DDR_1p8v"; - - status = "disabled"; - }; - - sdcc2: qcom,sdcc@f98a4000 { - cell-index = <2>; /* SDC2 SD card slot */ - compatible = "qcom,msm-sdcc"; - reg = <0xf98a4000 0x800>, - <0xf98a4800 0x100>, - <0xf9884000 0x7000>; - reg-names = "core_mem", "dml_mem", "bam_mem"; - interrupts = <0 125 0>, <0 220 0>; - interrupt-names = "core_irq", "bam_irq"; - - vdd-supply = <&pm8110_l18>; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <9000 400000>; - - vdd-io-supply = <&pm8110_l21>; - qcom,vdd-io-voltage-level = <1800000 2950000>; - qcom,vdd-io-current-level = <9000 50000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - qcom,sup-voltages = <2950 2950>; - qcom,bus-width = <4>; - qcom,xpc; - qcom,bus-speed-mode = "SDR12", "SDR25", "SDR50", "DDR50", "SDR104"; - qcom,current-limit = <800>; - - status = "disabled"; - }; - - sdhc_1: sdhci@f9824900 { - compatible = "qcom,sdhci-msm"; - reg = <0xf9824900 0x11c>, <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>; - 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"; - - qcom,bus-width = <4>; - status = "disabled"; - }; - - qcom,sps { - compatible = "qcom,msm_sps"; - qcom,device-type = <3>; - }; - - qcom,smem@d900000 { - compatible = "qcom,smem"; - reg = <0xd900000 0x100000>, - <0xf9011000 0x1000>, - <0xfc428000 0x4000>; - reg-names = "smem", "irq-reg-base", "aux-mem1"; - - qcom,smd-modem { - compatible = "qcom,smd"; - qcom,smd-edge = <0>; - qcom,smd-irq-offset = <0x8>; - qcom,smd-irq-bitmask = <0x1000>; - qcom,pil-string = "modem"; - interrupts = <0 25 1>; - }; - - qcom,smsm-modem { - compatible = "qcom,smsm"; - qcom,smsm-edge = <0>; - qcom,smsm-irq-offset = <0x8>; - qcom,smsm-irq-bitmask = <0x2000>; - interrupts = <0 26 1>; - }; - - qcom,smd-adsp { - compatible = "qcom,smd"; - qcom,smd-edge = <1>; - qcom,smd-irq-offset = <0x8>; - qcom,smd-irq-bitmask = <0x100>; - qcom,pil-string = "adsp"; - interrupts = <0 156 1>; - }; - - qcom,smsm-adsp { - compatible = "qcom,smsm"; - qcom,smsm-edge = <1>; - qcom,smsm-irq-offset = <0x8>; - qcom,smsm-irq-bitmask = <0x200>; - interrupts = <0 157 1>; - }; - - qcom,smd-wcnss { - compatible = "qcom,smd"; - qcom,smd-edge = <6>; - qcom,smd-irq-offset = <0x8>; - qcom,smd-irq-bitmask = <0x20000>; - qcom,pil-string = "wcnss"; - interrupts = <0 142 1>; - }; - - qcom,smsm-wcnss { - compatible = "qcom,smsm"; - qcom,smsm-edge = <6>; - qcom,smsm-irq-offset = <0x8>; - qcom,smsm-irq-bitmask = <0x80000>; - interrupts = <0 144 1>; - }; - - qcom,smd-rpm { - compatible = "qcom,smd"; - qcom,smd-edge = <15>; - qcom,smd-irq-offset = <0x8>; - qcom,smd-irq-bitmask = <0x1>; - interrupts = <0 168 1>; - qcom,irq-no-suspend; - }; - }; - - rpm_bus: qcom,rpm-smd { - compatible = "qcom,rpm-smd"; - rpm-channel-name = "rpm_requests"; - rpm-channel-type = <15>; /* SMD_APPS_RPM */ - rpm-standalone; - }; - - qcom,bcl { - compatible = "qcom,bcl"; - }; - - qcom,msm-mem-hole { - compatible = "qcom,msm-mem-hole"; - qcom,memblock-remove = <0x07B00000 0x6400000>; /* Address and Size of Hole */ - }; - - qcom,wdt@f9017000 { - compatible = "qcom,msm-watchdog"; - reg = <0xf9017000 0x1000>; - interrupts = <0 3 0>, <0 4 0>; - qcom,bark-time = <11000>; - qcom,pet-time = <10000>; - qcom,ipi-ping; - }; - - qcom,acpuclk@f9011050 { - compatible = "qcom,acpuclk-a7"; - reg = <0xf9011050 0x8>; - reg-names = "rcg_base"; - a7_cpu-supply = <&apc_vreg_corner>; - }; - - spmi_bus: qcom,spmi@fc4c0000 { - cell-index = <0>; - 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-ee = <0>; - qcom,pmic-arb-channel = <0>; - }; - - i2c@f9923000 { /* BLSP-1 QUP-1 */ - cell-index = <1>; - compatible = "qcom,i2c-qup"; - #address-cells = <1>; - #size-cells = <0>; - reg-names = "qup_phys_addr"; - reg = <0xf9923000 0x1000>; - interrupt-names = "qup_err_intr"; - interrupts = <0 95 0>; - qcom,i2c-bus-freq = <100000>; - qcom,i2c-src-freq = <19200000>; - qcom,sda-gpio = <&msmgpio 2 0>; - qcom,scl-gpio = <&msmgpio 3 0>; - }; - - i2c_cdc: i2c@f9927000 { /* BLSP1 QUP5 */ - cell-index = <5>; - compatible = "qcom,i2c-qup"; - #address-cells = <1>; - #size-cells = <0>; - reg-names = "qup_phys_addr"; - reg = <0xf9927000 0x1000>; - interrupt-names = "qup_err_intr"; - interrupts = <0 99 0>; - qcom,i2c-bus-freq = <100000>; - }; - - i2c: i2c@f9928000 { /* BLSP1 QUP6 */ - cell-index = <6>; - compatible = "qcom,i2c-qup"; - #address-cells = <1>; - #size-cells = <0>; - reg-names = "qup_phys_addr"; - reg = <0xf9928000 0x1000>; - interrupt-names = "qup_err_intr"; - interrupts = <0 100 0>; - qcom,i2c-bus-freq = <100000>; - qcom,i2c-src-freq = <19200000>; - qcom,sda-gpio = <&msmgpio 16 0>; - qcom,scl-gpio = <&msmgpio 17 0>; - }; - - i2c@f9925000 { /* BLSP-1 QUP-3 */ - cell-index = <0>; - compatible = "qcom,i2c-qup"; - #address-cells = <1>; - #size-cells = <0>; - reg-names = "qup_phys_addr"; - reg = <0xf9925000 0x1000>; - interrupt-names = "qup_err_intr"; - interrupts = <0 97 0>; - qcom,i2c-bus-freq = <100000>; - }; - - spi_4: spi@f9926000 { /* BLSP1 QUP4 */ - compatible = "qcom,spi-qup-v2"; - #address-cells = <1>; - #size-cells = <0>; - reg-names = "spi_physical", "spi_bam_physical"; - reg = <0xf9926000 0x1000>, - <0xf9904000 0x15000>; - interrupt-names = "spi_irq", "spi_bam_irq"; - interrupts = <0 98 0>, <0 238 0>; - spi-max-frequency = <50000000>; - - gpios = <&msmgpio 89 0>, /* CLK */ - <&msmgpio 87 0>, /* MISO */ - <&msmgpio 86 0>; /* MOSI */ - cs-gpios = <&msmgpio 88 0>; - - qcom,infinite-mode = <0>; - qcom,use-bam; - qcom,ver-reg-exists; - qcom,bam-consumer-pipe-index = <18>; - qcom,bam-producer-pipe-index = <19>; - }; - - qcom,pronto@fb21b000 { - compatible = "qcom,pil-pronto"; - reg = <0xfb21b000 0x3000>, - <0xfc401700 0x4>, - <0xfd485300 0xc>; - reg-names = "pmu_base", "clk_base", "halt_base"; - interrupts = <0 149 1>; - vdd_pronto_pll-supply = <&pm8110_l10>; - - qcom,firmware-name = "wcnss"; - - /* GPIO inputs from wcnss */ - qcom,gpio-err-fatal = <&smp2pgpio_ssr_smp2p_4_in 0 0>; - qcom,gpio-err-ready = <&smp2pgpio_ssr_smp2p_4_in 1 0>; - qcom,gpio-proxy-unvote = <&smp2pgpio_ssr_smp2p_4_in 2 0>; - - /* GPIO output to wcnss */ - qcom,gpio-force-stop = <&smp2pgpio_ssr_smp2p_4_out 0 0>; - }; - - qcom,iris-fm { - compatible = "qcom,iris_fm"; - }; - - sound { - compatible = "qcom,msm8x10-audio-codec"; - qcom,model = "msm8x10-snd-card"; - }; - - qcom,msm-pcm { - compatible = "qcom,msm-pcm-dsp"; - qcom,msm-pcm-dsp-id = <0>; - }; - - qcom,msm-pcm-low-latency { - compatible = "qcom,msm-pcm-dsp"; - qcom,msm-pcm-dsp-id = <1>; - qcom,msm-pcm-low-latency; - }; - - qcom,msm-pcm-routing { - compatible = "qcom,msm-pcm-routing"; - }; - - qcom,msm-pcm-lpa { - compatible = "qcom,msm-pcm-lpa"; - }; - - qcom,msm-compr-dsp { - compatible = "qcom,msm-compr-dsp"; - }; - - qcom,msm-voip-dsp { - compatible = "qcom,msm-voip-dsp"; - }; - - qcom,msm-pcm-voice { - compatible = "qcom,msm-pcm-voice"; - }; - - qcom,msm-stub-codec { - compatible = "qcom,msm-stub-codec"; - }; - - qcom,msm-dai-fe { - compatible = "qcom,msm-dai-fe"; - }; - - qcom,msm-pcm-afe { - compatible = "qcom,msm-pcm-afe"; - }; - - qcom,msm-dai-mi2s { - compatible = "qcom,msm-dai-mi2s"; - qcom,msm-dai-q6-mi2s-prim { - compatible = "qcom,msm-dai-q6-mi2s"; - qcom,msm-dai-q6-mi2s-dev-id = <0>; - qcom,msm-mi2s-rx-lines = <0>; - qcom,msm-mi2s-tx-lines = <3>; - }; - - qcom,msm-dai-q6-mi2s-sec { - compatible = "qcom,msm-dai-q6-mi2s"; - qcom,msm-dai-q6-mi2s-dev-id = <1>; - qcom,msm-mi2s-rx-lines = <3>; - qcom,msm-mi2s-tx-lines = <0>; - }; - }; - - qcom,msm-dai-q6 { - compatible = "qcom,msm-dai-q6"; - qcom,msm-dai-q6-bt-sco-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <12288>; - }; - - qcom,msm-dai-q6-bt-sco-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <12289>; - }; - - qcom,msm-dai-q6-int-fm-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <12292>; - }; - - qcom,msm-dai-q6-int-fm-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <12293>; - }; - - qcom,msm-dai-q6-be-afe-pcm-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <224>; - }; - - qcom,msm-dai-q6-be-afe-pcm-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <225>; - }; - - qcom,msm-dai-q6-afe-proxy-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <241>; - }; - - qcom,msm-dai-q6-afe-proxy-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <240>; - }; - - qcom,msm-dai-q6-incall-record-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <32771>; - }; - - qcom,msm-dai-q6-incall-record-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <32772>; - }; - - qcom,msm-dai-q6-incall-music-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <32773>; - }; - }; - - qcom,msm-pcm-hostless { - compatible = "qcom,msm-pcm-hostless"; - }; - - qcom,wcnss-wlan@fb000000 { - compatible = "qcom,wcnss_wlan"; - reg = <0xfb000000 0x280000>, - <0xf9011008 0x04>; - reg-names = "wcnss_mmio", "wcnss_fiq"; - interrupts = <0 145 0>, <0 146 0>; - interrupt-names = "wcnss_wlantx_irq", "wcnss_wlanrx_irq"; - - qcom,pronto-vddmx-supply = <&pm8110_l3>; - qcom,pronto-vddcx-supply = <&pm8110_s1>; - qcom,pronto-vddpx-supply = <&pm8110_l6>; - qcom,iris-vddxo-supply = <&pm8110_l10>; - qcom,iris-vddrfa-supply = <&pm8110_l5>; - qcom,iris-vddpa-supply = <&pm8110_l16>; - qcom,iris-vdddig-supply = <&pm8110_l5>; - - gpios = <&msmgpio 23 0>, <&msmgpio 24 0>, <&msmgpio 25 0>, <&msmgpio 26 0>, <&msmgpio 27 0>; - qcom,has-pronto-hw; - qcom,wlan-rx-buff-count = <256>; - }; - - qcom,mss@fc880000 { - compatible = "qcom,pil-q6v5-mss"; - reg = <0xfc880000 0x100>, - <0xfd485000 0x400>, - <0xfc820000 0x020>, - <0xfc401680 0x004>, - <0xfd485194 0x4>; - reg-names = "qdsp6_base", "halt_base", "rmb_base", - "restart_reg", "cxrail_bhs_reg"; - - interrupts = <0 24 1>; - vdd_cx-supply = <&pm8110_s1_corner>; - vdd_mx-supply = <&pm8110_l3>; - vdd_pll-supply = <&pm8110_l10>; - qcom,vdd_pll = <1800000>; - qcom,is-loadable; - qcom,firmware-name = "mba"; - qcom,pil-self-auth; - - /* 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>; - }; - - qcom,lpass@fe200000 { - compatible = "qcom,pil-q6v5-lpass"; - reg = <0xfe200000 0x00100>, - <0xfd485100 0x00010>, - <0xfc4016c0 0x00004>; - reg-names = "qdsp6_base", "halt_base", "restart_reg"; - interrupts = <0 162 1>; - vdd_cx-supply = <&pm8110_s1_corner>; - 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>; - - /* GPIO output to lpass */ - qcom,gpio-force-stop = <&smp2pgpio_ssr_smp2p_2_out 0 0>; - }; - - tsens: tsens@fc4a8000 { - compatible = "qcom,msm-tsens"; - reg = <0xfc4a8000 0x2000>, - <0xfc4b8000 0x1000>; - reg-names = "tsens_physical", "tsens_eeprom_physical"; - interrupts = <0 184 0>; - qcom,sensors = <2>; - qcom,slope = <2901 2846>; - qcom,calib-mode = "fuse_map3"; - qcom,sensor-id = <0 5>; - }; - - qcom,msm-thermal { - compatible = "qcom,msm-thermal"; - qcom,sensor-id = <5>; - qcom,poll-ms = <250>; - qcom,limit-temp = <60>; - qcom,temp-hysteresis = <10>; - qcom,freq-step = <2>; - qcom,freq-control-mask = <0xf>; - }; - - qcom,ipc-spinlock@fd484000 { - compatible = "qcom,ipc-spinlock-sfpb"; - reg = <0xfd484000 0x400>; - qcom,num-locks = <8>; - }; - - qcom,bam_dmux@fc834000 { - compatible = "qcom,bam_dmux"; - reg = <0xfc834000 0x7000>; - interrupts = <0 29 1>; - }; - - qcom,qseecom@7B00000 { - compatible = "qcom,qseecom"; - reg = <0x7B00000 0x500000>; - reg-names = "secapp-region"; - qcom,disk-encrypt-pipe-pair = <2>; - qcom,hlos-ce-hw-instance = <0>; - qcom,qsee-ce-hw-instance = <0>; - qcom,msm-bus,name = "qseecom-noc"; - qcom,msm-bus,num-cases = <4>; - qcom,msm-bus,active-only = <0>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <55 512 0 0>, - <55 512 3936000 393600>, - <55 512 3936000 393600>, - <55 512 3936000 393600>; - }; - - qcom,msm-rng@f9bff000 { - compatible = "qcom,msm-rng"; - reg = <0xf9bff000 0x200>; - qcom,msm-rng-iface-clk; - }; - - qcom,msm-rtb { - compatible = "qcom,msm-rtb"; - qcom,memory-reservation-type = "EBI1"; - qcom,memory-reservation-size = <0x100000>; /* 1M EBI1 buffer */ - }; - - jtag_mm0: jtagmm@fc34c000 { - compatible = "qcom,jtag-mm"; - reg = <0xfc34c000 0x1000>, - <0xfc340000 0x1000>; - reg-names = "etm-base","debug-base"; - }; - - jtag_mm1: jtagmm@fc34d000 { - compatible = "qcom,jtag-mm"; - reg = <0xfc34d000 0x1000>, - <0xfc342000 0x1000>; - reg-names = "etm-base","debug-base"; - }; - - jtag_mm2: jtagmm@fc34e000 { - compatible = "qcom,jtag-mm"; - reg = <0xfc34e000 0x1000>, - <0xfc344000 0x1000>; - reg-names = "etm-base","debug-base"; - }; - - jtag_mm3: jtagmm@fc34f000 { - compatible = "qcom,jtag-mm"; - reg = <0xfc34f000 0x1000>, - <0xfc346000 0x1000>; - reg-names = "etm-base","debug-base"; - }; - - qcom,tz-log@fe805720 { - compatible = "qcom,tz-log"; - reg = <0x0fe805720 0x1000>; - }; - - qcom,qcrypto@fd404000 { - compatible = "qcom,qcrypto"; - reg = <0xfd400000 0x20000>, - <0xfd404000 0x8000>; - reg-names = "crypto-base","crypto-bam-base"; - interrupts = <0 207 0>; - qcom,bam-pipe-pair = <2>; - qcom,ce-hw-instance = <1>; - qcom,ce-hw-shared; - qcom,msm-bus,name = "qcrypto-noc"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,active-only = <0>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <55 512 0 0>, - <55 512 393600 3936000>; - }; - - qcom,qcedev@fd400000 { - compatible = "qcom,qcedev"; - reg = <0xfd400000 0x20000>, - <0xfd404000 0x8000>; - reg-names = "crypto-base","crypto-bam-base"; - interrupts = <0 207 0>; - qcom,bam-pipe-pair = <1>; - qcom,ce-hw-instance = <1>; - qcom,ce-hw-shared; - qcom,msm-bus,name = "qcedev-noc"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,active-only = <0>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <55 512 0 0>, - <55 512 393600 3936000>; - }; - -}; - -&gdsc_vfe { - status = "ok"; -}; - -&gdsc_oxili_cx { - status = "ok"; -}; - -&lpass_iommu { - status = "ok"; -}; - -&copss_iommu { - status = "ok"; -}; - -&mdpe_iommu { - status = "ok"; -}; - -&mdps_iommu { - status = "ok"; -}; - -&gfx_iommu { - status = "ok"; -}; - -&vfe_iommu { - status = "ok"; -}; - -/include/ "msm8610-iommu-domains.dtsi" - -/include/ "msm-pm8110-rpm-regulator.dtsi" -/include/ "msm-pm8110.dtsi" -/include/ "msm8610-regulator.dtsi" - -&pm8110_vadc { - chan@0 { - label = "usb_in"; - reg = <0>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <4>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@2 { - label = "vchg_sns"; - reg = <2>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <2>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@5 { - label = "vcoin"; - reg = <5>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <1>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@6 { - label = "vbat_sns"; - reg = <6>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <1>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@7 { - label = "vph_pwr"; - reg = <7>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <1>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@30 { - label = "batt_therm"; - reg = <0x30>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <1>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@31 { - label = "batt_id"; - reg = <0x31>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@b2 { - label = "xo_therm_pu2"; - reg = <0xb2>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <4>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@13 { - label = "pa_therm0"; - reg = <0x13>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; -}; - -&pm8110_adc_tm { - /* Channel Node */ - chan@30 { - label = "batt_therm"; - reg = <0x30>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <1>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <3>; - qcom,btm-channel-number = <0x48>; - }; - - chan@8 { - label = "die_temp"; - reg = <8>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <3>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <3>; - qcom,btm-channel-number = <0x68>; - }; - - chan@6 { - label = "vbat_sns"; - reg = <6>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <1>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <3>; - qcom,btm-channel-number = <0x70>; - }; - - chan@13 { - label = "pa_therm0"; - reg = <0x13>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - qcom,btm-channel-number = <0x78>; - qcom,thermal-node; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8660-surf.dts b/kernel/arch/arm/boot/dts/m7350-un-v1/msm8660-surf.dts deleted file mode 100644 index 4518fc4a3..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8660-surf.dts +++ /dev/null @@ -1,24 +0,0 @@ -/dts-v1/; - -/include/ "skeleton.dtsi" - -/ { - model = "Qualcomm MSM8660 SURF"; - compatible = "qcom,msm8660-surf", "qcom,msm8660", "qcom,surf"; - interrupt-parent = <&intc>; - - intc: interrupt-controller@02080000 { - compatible = "qcom,msm-8660-qgic"; - interrupt-controller; - #interrupt-cells = <3>; - reg = < 0x02080000 0x1000 >, - < 0x02081000 0x1000 >; - }; - - serial@19c400000 { - compatible = "qcom,msm-hsuart", "qcom,msm-uart"; - reg = <0x19c40000 0x1000>, - <0x19c00000 0x1000>; - interrupts = <0 195 0x0>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8926-cdp.dts b/kernel/arch/arm/boot/dts/m7350-un-v1/msm8926-cdp.dts deleted file mode 100644 index 7a91d40ee..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8926-cdp.dts +++ /dev/null @@ -1,22 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - - -/dts-v1/; -/include/ "msm8926.dtsi" -/include/ "msm8226-cdp.dtsi" - -/ { - model = "Qualcomm MSM 8926 CDP"; - compatible = "qcom,msm8926-cdp", "qcom,msm8926", "qcom,cdp"; - qcom,msm-id = <200 1 0>; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8926-mtp.dts b/kernel/arch/arm/boot/dts/m7350-un-v1/msm8926-mtp.dts deleted file mode 100644 index fea925d62..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8926-mtp.dts +++ /dev/null @@ -1,22 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - - -/dts-v1/; -/include/ "msm8926.dtsi" -/include/ "msm8226-mtp.dtsi" - -/ { - model = "Qualcomm MSM 8926 MTP"; - compatible = "qcom,msm8926-mtp", "qcom,msm8926", "qcom,mtp"; - qcom,msm-id = <200 8 0>; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8926-qrd.dts b/kernel/arch/arm/boot/dts/m7350-un-v1/msm8926-qrd.dts deleted file mode 100644 index e056b7e87..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8926-qrd.dts +++ /dev/null @@ -1,21 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; -/include/ "msm8926.dtsi" -/include/ "msm8226-qrd.dtsi" - -/ { - model = "Qualcomm MSM 8926 QRD"; - compatible = "qcom,msm8926-qrd", "qcom,msm8926", "qcom,qrd"; - qcom,msm-id = <200 11 0>; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8926.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v1/msm8926.dtsi deleted file mode 100644 index 6f3f59251..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8926.dtsi +++ /dev/null @@ -1,30 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/* - * Only 8926-specific property overrides should be placed inside this - * file. Device definitions should be placed inside the msm8226.dtsi - * file. - */ - -/include/ "msm8226.dtsi" - -/ { - model = "Qualcomm MSM 8926"; - compatible = "qcom,msm8926"; -}; - -&soc { - qcom,mss@fc880000 { - vdd_mss-supply = <&pm8226_s5>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8974-bus.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v1/msm8974-bus.dtsi deleted file mode 100644 index 609a1b302..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8974-bus.dtsi +++ /dev/null @@ -1,1411 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -&soc { - msm-mmss-noc@fc478000 { - compatible = "msm-bus-fabric"; - reg = <0xfc478000 0x00004000>; - cell-id = <2048>; - label = "msm_mmss_noc"; - qcom,fabclk-dual = "bus_clk"; - qcom,fabclk-active = "bus_a_clk"; - qcom,ntieredslaves = <0>; - qcom,qos-freq = <4800>; - qcom,hw-sel = "NoC"; - qcom,rpm-en; - - coresight-id = <52>; - coresight-name = "coresight-mnoc"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_in0>; - coresight-child-ports = <5>; - - mas-gfx3d { - cell-id = <26>; - label = "mas-gfx3d"; - qcom,masterp = <2 3>; - qcom,tier = <2>; - qcom,hw-sel = "NoC"; - qcom,perm-mode = "Bypass"; - qcom,mode = "Bypass"; - qcom,ws = <10000>; - qcom,qport = <2 3>; - qcom,mas-hw-id = <6>; - }; - - mas-jpeg { - cell-id = <62>; - label = "mas-jpeg"; - qcom,masterp = <4>; - qcom,tier = <2>; - qcom,hw-sel = "NoC"; - qcom,perm-mode = "Bypass"; - qcom,mode = "Bypass"; - qcom,qport = <0>; - qcom,ws = <10000>; - qcom,mas-hw-id = <7>; - }; - - mas-mdp-port0 { - cell-id = <22>; - label = "mas-mdp-port0"; - qcom,masterp = <5>; - qcom,tier = <2>; - qcom,hw-sel = "NoC"; - qcom,perm-mode = "Bypass"; - qcom,mode = "Bypass"; - qcom,qport = <1>; - qcom,ws = <10000>; - qcom,mas-hw-id = <8>; - }; - - mas-video-p0 { - cell-id = <63>; - label = "mas-video-p0"; - qcom,masterp = <6 7>; - qcom,tier = <2>; - qcom,hw-sel = "NoC"; - qcom,perm-mode = "Bypass"; - qcom,mode = "Bypass"; - qcom,ws = <10000>; - qcom,qport = <4 5>; - qcom,mas-hw-id = <9>; - }; - - mas-vfe { - cell-id = <29>; - label = "mas-vfe"; - qcom,masterp = <16>; - qcom,tier = <2>; - qcom,hw-sel = "NoC"; - qcom,perm-mode = "Bypass"; - qcom,mode = "Bypass"; - qcom,ws = <10000>; - qcom,qport = <6>; - qcom,mas-hw-id = <11>; - }; - - fab-cnoc { - cell-id = <5120>; - label = "fab-cnoc"; - qcom,gateway; - qcom,masterp = <0 1>; - qcom,buswidth = <16>; - qcom,hw-sel = "RPM"; - qcom,mas-hw-id = <4>; - }; - - fab-bimc { - cell-id = <0>; - label = "fab-bimc"; - qcom,gateway; - qcom,slavep = <16 17>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <16>; - }; - - slv-camera-cfg { - cell-id = <589>; - label = "slv-camera-cfg"; - qcom,slavep = <0>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <3>; - }; - - slv-display-cfg { - cell-id = <590>; - label = "slv-display-cfg"; - qcom,slavep = <1>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <4>; - }; - - slv-ocmem-cfg { - cell-id = <591>; - label = "slv-ocmem-cfg"; - qcom,slavep = <2>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <5>; - }; - - slv-cpr-cfg { - cell-id = <592>; - label = "slv-cpr-cfg"; - qcom,slavep = <3>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <6>; - }; - - slv-cpr-xpu-cfg { - cell-id = <593>; - label = "slv-cpr-xpu-cfg"; - qcom,slavep = <4>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <7>; - }; - - slv-misc-cfg { - cell-id = <594>; - label = "slv-misc-cfg"; - qcom,slavep = <6>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <8>; - }; - - slv-misc-xpu-cfg { - cell-id = <595>; - label = "slv-misc-xpu-cfg"; - qcom,slavep = <7>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <9>; - }; - - slv-venus-cfg { - cell-id = <596>; - label = "slv-venus-cfg"; - qcom,slavep = <8>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <10>; - }; - - slv-gfx3d-cfg { - cell-id = <598>; - label = "slv-gfx3d-cfg"; - qcom,slavep = <9>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <11>; - }; - - slv-mmss-clk-cfg { - cell-id = <599>; - label = "slv-mmss-clk-cfg"; - qcom,slavep = <11>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <12>; - }; - - slv-mmss-clk-xpu-cfg { - cell-id = <600>; - label = "slv-mmss-clk-xpu-cfg"; - qcom,slavep = <12>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <13>; - }; - - slv-mnoc-mpu-cfg { - cell-id = <601>; - label = "slv-mnoc-mpu-cfg"; - qcom,slavep = <13>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <14>; - }; - - slv-onoc-mpu-cfg { - cell-id = <602>; - label = "slv-onoc-mpu-cfg"; - qcom,slavep = <14>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <15>; - }; - - slv-service-mnoc { - cell-id = <603>; - label = "slv-service-mnoc"; - qcom,slavep = <18>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <17>; - }; - - }; - - msm-sys-noc@fc460000 { - compatible = "msm-bus-fabric"; - reg = <0xfc460000 0x00004000>; - cell-id = <1024>; - label = "msm_sys_noc"; - qcom,fabclk-dual = "bus_clk"; - qcom,fabclk-active = "bus_a_clk"; - qcom,ntieredslaves = <0>; - qcom,qos-freq = <4800>; - qcom,hw-sel = "NoC"; - qcom,rpm-en; - - coresight-id = <50>; - coresight-name = "coresight-snoc"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_in0>; - coresight-child-ports = <3>; - - msm-lpass-ahb { - cell-id = <52>; - label = "mas-lpass-ahb"; - qcom,masterp = <0>; - qcom,tier = <2>; - qcom,qport = <0>; - qcom,mas-hw-id = <18>; - qcom,mode = "Fixed"; - qcom,prio1 = <2>; - qcom,prio0 = <2>; - }; - - mas-qdss-bam { - cell-id = <53>; - label = "mas-qdss-bam"; - qcom,masterp = <1>; - qcom,tier = <2>; - qcom,mode = "Fixed"; - qcom,qport = <1>; - qcom,mas-hw-id = <19>; - qcom,prio1 = <1>; - qcom,prio0 = <1>; - qcom,hw-sel = "NoC"; - }; - - mas-snoc-cfg { - cell-id = <54>; - label = "mas-snoc-cfg"; - qcom,masterp = <2>; - qcom,tier = <2>; - qcom,mas-hw-id = <20>; - }; - - fab-bimc { - cell-id = <0>; - label= "fab-bimc"; - qcom,gateway; - qcom,slavep = <7 8>; - qcom,masterp = <3>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <21>; - qcom,slv-hw-id = <24>; - }; - - fab-cnoc { - cell-id = <5120>; - label = "fab-cnoc"; - qcom,gateway; - qcom,slavep = <9>; - qcom,masterp = <4>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <22>; - qcom,slv-hw-id = <25>; - }; - - fab-pnoc { - cell-id = <4096>; - label = "fab-pnoc"; - qcom,gateway; - qcom,slavep = <12>; - qcom,masterp = <11>; - qcom,buswidth = <8>; - qcom,qport = <8>; - qcom,mas-hw-id = <29>; - qcom,slv-hw-id = <28>; - qcom,mode = "Fixed"; - qcom,prio1 = <2>; - qcom,prio0 = <2>; - }; - - fab-ovnoc { - cell-id = <6144>; - label = "fab-ovnoc"; - qcom,gateway; - qcom,buswidth = <8>; - qcom,mas-hw-id = <53>; - qcom,slv-hw-id = <77>; - }; - - mas-crypto-core0 { - cell-id = <55>; - label = "mas-crypto-core0"; - qcom,masterp = <5>; - qcom,tier = <2>; - qcom,mode = "Fixed"; - qcom,qport = <2>; - qcom,mas-hw-id = <23>; - qcom,hw-sel = "NoC"; - qcom,prio1 = <1>; - qcom,prio0 = <1>; - }; - - mas-crypto-core1 { - cell-id = <56>; - label = "mas-crypto-core1"; - qcom,masterp = <6>; - qcom,tier = <2>; - qcom,mode = "Fixed"; - qcom,qport = <3>; - qcom,mas-hw-id = <24>; - qcom,hw-sel = "NoC"; - qcom,prio1 = <1>; - qcom,prio0 = <1>; - }; - - mas-lpass-proc { - cell-id = <11>; - label = "mas-lpass-proc"; - qcom,masterp = <7>; - qcom,tier = <2>; - qcom,qport = <4>; - qcom,mas-hw-id = <25>; - qcom,mode = "Fixed"; - qcom,prio1 = <2>; - qcom,prio0 = <2>; - }; - - mas-mss { - cell-id = <38>; - label = "mas-mss"; - qcom,masterp = <8>; - qcom,tier = <2>; - qcom,mas-hw-id = <26>; - }; - - mas-mss-nav { - cell-id = <57>; - label = "mas-mss-nav"; - qcom,masterp = <9>; - qcom,tier = <2>; - qcom,mas-hw-id = <27>; - }; - - mas-ocmem-dma { - cell-id = <58>; - label = "mas-ocmem-dma"; - qcom,masterp = <10>; - qcom,tier = <2>; - qcom,mode = "Fixed"; - qcom,qport = <7>; - qcom,mas-hw-id = <28>; - }; - - mas-wcss { - cell-id = <59>; - label = "mas-wcss"; - qcom,masterp = <12>; - qcom,tier = <2>; - qcom,mas-hw-id = <30>; - }; - - mas-qdss-etr { - cell-id = <60>; - label = "mas-qdss-etr"; - qcom,masterp = <13>; - qcom,tier = <2>; - qcom,qport = <10>; - qcom,mode = "Fixed"; - qcom,mas-hw-id = <31>; - qcom,prio1 = <1>; - qcom,prio0 = <1>; - qcom,hw-sel = "NoC"; - }; - - mas-usb3 { - cell-id = <61>; - label = "mas-usb3"; - qcom,masterp = <14>; - qcom,tier = <2>; - qcom,mode = "Fixed"; - qcom,qport = <11>; - qcom,mas-hw-id = <32>; - qcom,prio1 = <1>; - qcom,prio0 = <1>; - qcom,hw-sel = "NoC"; - qcom,iface-clk-node = "msm_usb3"; - }; - - slv-ampss { - cell-id = <520>; - label = "slv-ampss"; - qcom,slavep = <1>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <20>; - }; - - slv-lpass { - cell-id = <522>; - label = "slv-lpass"; - qcom,slavep = <2>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <21>; - }; - - slv-usb3 { - cell-id = <583>; - label = "slv-usb3"; - qcom,slavep = <4>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <22>; - }; - - slv-wcss { - cell-id = <584>; - label = "slv-wcss"; - qcom,slavep = <6>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <23>; - }; - - slv-ocimem { - cell-id = <585>; - label = "slv-ocimem"; - qcom,slavep = <10>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <26>; - }; - - slv-snoc-ocmem { - cell-id = <586>; - label = "slv-snoc-ocmem"; - qcom,slavep = <11>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <27>; - }; - - slv-service-snoc { - cell-id = <587>; - label = "slv-service-snoc"; - qcom,slavep = <13>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <29>; - }; - - slv-qdss-stm { - cell-id = <588>; - label = "slv-qdss-stm"; - qcom,slavep = <14>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <30>; - }; - - }; - - msm-periph-noc@fc468000 { - compatible = "msm-bus-fabric"; - reg = <0xfc468000 0x00004000>; - cell-id = <4096>; - label = "msm_periph_noc"; - qcom,fabclk-dual = "bus_clk"; - qcom,fabclk-active = "bus_a_clk"; - qcom,ntieredslaves = <0>; - qcom,hw-sel = "NoC"; - qcom,rpm-en; - - coresight-id = <54>; - coresight-name = "coresight-pnoc"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_in0>; - coresight-child-ports = <6>; - - mas-pnoc-cfg { - cell-id = <88>; - label = "mas-pnoc-cfg"; - qcom,masterp = <10>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <43>; - }; - - mas-sdcc-1 { - cell-id = <78>; - label = "mas-sdcc-1"; - qcom,masterp = <0>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <33>; - }; - - mas-sdcc-3 { - cell-id = <79>; - label = "mas-sdcc-3"; - qcom,masterp = <1>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <34>; - }; - - mas-sdcc-4 { - cell-id = <80>; - label = "mas-sdcc-4"; - qcom,masterp = <3>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <36>; - }; - - mas-sdcc-2 { - cell-id = <81>; - label = "mas-sdcc-2"; - qcom,masterp = <2>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <35>; - }; - - mas-tsif { - cell-id = <82>; - label = "mas-tsif"; - qcom,masterp = <4>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <37>; - }; - - mas-bam-dma { - cell-id = <83>; - label = "mas-bam-dma"; - qcom,masterp = <5>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <38>; - }; - - mas-blsp-2 { - cell-id = <84>; - label = "mas-blsp-2"; - qcom,masterp = <6>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <39>; - }; - - mas-usb-hsic { - cell-id = <85>; - label = "mas-usb-hsic"; - qcom,masterp = <7>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <40>; - }; - - mas-blsp-1 { - cell-id = <86>; - label = "mas-blsp-1"; - qcom,masterp = <8>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <41>; - }; - - mas-usb-hs { - cell-id = <87>; - label = "mas-usb-hs"; - qcom,masterp = <9>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <42>; - }; - - fab-snoc { - cell-id = <1024>; - label = "fab-snoc"; - qcom,gateway; - qcom,slavep = <14>; - qcom,masterp = <11>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <45>; - qcom,mas-hw-id = <44>; - }; - - slv-sdcc-1 { - cell-id = <606>; - label = "slv-sdcc-1"; - qcom,slavep = <0>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <31>; - }; - - slv-sdcc-3 { - cell-id = <607>; - label = "slv-sdcc-3"; - qcom,slavep = <1>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <32>; - }; - - slv-sdcc-2 { - cell-id = <608>; - label = "slv-sdcc-2"; - qcom,slavep = <2>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <33>; - }; - - slv-sdcc-4 { - cell-id = <609>; - label = "slv-sdcc-4"; - qcom,slavep = <3>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <34>; - }; - - slv-tsif { - cell-id = <575>; - label = "slv-tsif"; - qcom,slavep = <4>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <35>; - }; - - slv-bam-dma { - cell-id = <610>; - label = "slv-bam-dma"; - qcom,slavep = <5>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <36>; - }; - - slv-blsp-2 { - cell-id = <611>; - label = "slv-blsp-2"; - qcom,slavep = <6>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <37>; - }; - - slv-usb-hsic { - cell-id = <612>; - label = "slv-usb-hsic"; - qcom,slavep = <7>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <38>; - }; - - slv-blsp-1 { - cell-id = <613>; - label = "slv-blsp-1"; - qcom,slavep = <8>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <39>; - }; - - slv-usb-hs { - cell-id = <614>; - label = "slv-usb-hs"; - qcom,slavep = <9>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <40>; - }; - - slv-pdm { - cell-id = <615>; - label = "slv-pdm"; - qcom,slavep = <10>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <41>; - }; - - slv-periph-apu-cfg { - cell-id = <616>; - label = "slv-periph-apu-cfg"; - qcom,slavep = <11>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <42>; - }; - - slv-pnoc-mpu-cfg { - cell-id = <617>; - label = "slv-pnoc-mpu-cfg"; - qcom,slavep = <12>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <43>; - }; - - slv-prng { - cell-id = <618>; - label = "slv-prng"; - qcom,slavep = <13>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <44>; - }; - - slv-service-pnoc { - cell-id = <619>; - label = "slv-service-pnoc"; - qcom,slavep = <15>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <46>; - }; - - }; - - msm-config-noc@fc480000 { - compatible = "msm-bus-fabric"; - reg = <0xfc480000 0x00004000>; - cell-id = <5120>; - label = "msm_config_noc"; - qcom,fabclk-dual = "bus_clk"; - qcom,fabclk-active = "bus_a_clk"; - qcom,ntieredslaves = <0>; - qcom,hw-sel = "NoC"; - qcom,rpm-en; - - mas-rpm-inst { - cell-id = <72>; - label = "mas-rpm-inst"; - qcom,masterp = <0>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <45>; - }; - - mas-rpm-data { - cell-id = <73>; - label = "mas-rpm-data"; - qcom,masterp = <1>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <46>; - }; - - mas-rpm-sys { - cell-id = <74>; - label = "mas-rpm-sys"; - qcom,masterp = <2>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <47>; - }; - - mas-dehr { - cell-id = <75>; - label = "mas-dehr"; - qcom,masterp = <3>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <48>; - }; - - mas-qdss-dsp { - cell-id = <76>; - label = "mas-qdss-dap"; - qcom,masterp = <4>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <49>; - }; - - mas-spdm { - cell-id = <36>; - label = "mas-spdm"; - qcom,masterp = <5>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <50>; - }; - - mas-tic { - cell-id = <77>; - label = "mas-tic"; - qcom,masterp = <6>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <51>; - }; - - slv-clk-ctl { - cell-id = <620>; - label = "slv-clk-ctl"; - qcom,slavep = <1>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <47>; - }; - - slv-cnoc-mss { - cell-id = <621>; - label = "slv-cnoc-mss"; - qcom,slavep = <2>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <48>; - }; - - slv-security { - cell-id = <622>; - label = "slv-security"; - qcom,slavep = <3>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <49>; - }; - - slv-tcsr { - cell-id = <623>; - label = "slv-tcsr"; - qcom,slavep = <4>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <50>; - }; - - slv-tlmm { - cell-id = <624>; - label = "slv-tlmm"; - qcom,slavep = <5>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <51>; - }; - - slv-crypto-0-cfg { - cell-id = <625>; - label = "slv-crypto-0-cfg"; - qcom,slavep = <6>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <52>; - }; - - slv-crypto-1-cfg { - cell-id = <626>; - label = "slv-crypto-1-cfg"; - qcom,slavep = <7>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <53>; - }; - - slv-imem-cfg { - cell-id = <627>; - label = "slv-imem-cfg"; - qcom,slavep = <8>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <54>; - }; - - slv-message-ram { - cell-id = <628>; - label = "slv-message-ram"; - qcom,slavep = <9>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <55>; - }; - - slv-bimc-cfg { - cell-id = <629>; - label = "slv-bimc-cfg"; - qcom,slavep = <10>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <56>; - }; - - slv-boot-rom { - cell-id = <630>; - label = "slv-boot-rom"; - qcom,slavep = <11>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <57>; - }; - - slv-pmic-arb { - cell-id = <632>; - label = "slv-pmic-arb"; - qcom,slavep = <13>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <59>; - }; - - slv-spdm-wrapper { - cell-id = <633>; - label = "slv-spdm-wrapper"; - qcom,slavep = <14>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <60>; - }; - - slv-dehr-cfg { - cell-id = <634>; - label = "slv-dehr-cfg"; - qcom,slavep = <15>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <61>; - }; - - slv-mpm { - cell-id = <536>; - label = "slv-mpm"; - qcom,slavep = <16>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <62>; - }; - - slv-qdss-cfg { - cell-id = <635>; - label = "slv-qdss-cfg"; - qcom,slavep = <17>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <63>; - }; - - slv-rbcpr-cfg { - cell-id = <636>; - label = "slv-rbcpr-cfg"; - qcom,slavep = <18>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <64>; - }; - - slv-rbcpr-qdss-apu-cfg { - cell-id = <637>; - label = "slv-rbcpr-qdss-apu-cfg"; - qcom,slavep = <19>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <65>; - }; - - fab-snoc { - cell-id = <1024>; - label = "fab-snoc"; - qcom,gateway; - qcom,slavep = <29>; - qcom,masterp = <7>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <52>; - qcom,slv-hw-id = <75>; - }; - - slv-cnoc-onoc-cfg { - cell-id = <639>; - label = "slv-cnoc-onoc-cfg"; - qcom,slavep = <22>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <68>; - }; - - slv-cnoc-mnoc-mmss-cfg { - cell-id = <631>; - label = "slv-cnoc-mnoc-mmss-cfg"; - qcom,slavep = <12>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <58>; - }; - - slv-cnoc-mnoc-cfg { - cell-id = <640>; - label = "slv-cnoc-mnoc-cfg"; - qcom,slavep = <20>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <66>; - }; - - slv-pnoc-cfg { - cell-id = <641>; - label = "slv-pnoc-cfg"; - qcom,slavep = <23>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <69>; - }; - - slv-snoc-mpu-cfg { - cell-id = <638>; - label = "slv-snoc-mpu-cfg"; - qcom,slavep = <21>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <67>; - }; - - slv-snoc-cfg { - cell-id = <642>; - label = "slv-snoc-cfg"; - qcom,slavep = <24>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <70>; - }; - - slv-ebi1-dll-cfg { - cell-id = <643>; - label = "slv-ebi1-dll-cfg"; - qcom,slavep = <25>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <71>; - }; - - slv-phy-apu-cfg { - cell-id = <644>; - label = "slv-phy-apu-cfg"; - qcom,slavep = <26>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <72>; - }; - - slv-ebi1-phy-cfg { - cell-id = <645>; - label = "slv-ebi1-phy-cfg"; - qcom,slavep = <27>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <73>; - }; - - slv-rpm { - cell-id = <534>; - label = "slv-rpm"; - qcom,slavep = <28>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <74>; - }; - - slv-service-cnoc { - cell-id = <646>; - label = "slv-service-cnoc"; - qcom,slavep = <30>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <76>; - }; - - }; - - msm-bimc@0xfc380000 { - compatible = "msm-bus-fabric"; - reg = <0xfc380000 0x0006A000>; - cell-id = <0>; - label = "msm_bimc"; - qcom,fabclk-dual = "mem_clk"; - qcom,fabclk-active = "mem_a_clk"; - qcom,ntieredslaves = <0>; - qcom,qos-freq = <19200>; - qcom,hw-sel = "BIMC"; - qcom,rpm-en; - - coresight-id = <55>; - coresight-name = "coresight-bimc"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_in1>; - coresight-child-ports = <3>; - - mas-ampss-m0 { - cell-id = <1>; - label = "mas-ampss-m0"; - qcom,masterp = <0>; - qcom,tier = <2>; - qcom,hw-sel = "BIMC"; - qcom,mode = "Limiter"; - qcom,qport = <0>; - qcom,ws = <10000>; - qcom,mas-hw-id = <0>; - qcom,prio-rd = <0>; - qcom,prio-wr = <0>; - qcom,mode-thresh = "Fixed"; - qcom,thresh = <2000000>; - qcom,dual-conf; - qcom,bimc,bw = <300000>; - qcom,bimc,gp = <5>; - qcom,bimc,thmp = <50>; - }; - - mas-ampss-m1 { - cell-id = <2>; - label = "mas-ampss-m1"; - qcom,masterp = <1>; - qcom,tier = <2>; - qcom,hw-sel = "BIMC"; - qcom,mode = "Limiter"; - qcom,qport = <1>; - qcom,ws = <10000>; - qcom,mas-hw-id = <0>; - qcom,prio-rd = <0>; - qcom,prio-wr = <0>; - qcom,mode-thresh = "Fixed"; - qcom,thresh = <2000000>; - qcom,dual-conf; - qcom,bimc,bw = <300000>; - qcom,bimc,gp = <5>; - qcom,bimc,thmp = <50>; - }; - - mas-mss-proc { - cell-id = <65>; - label = "mas-mss-proc"; - qcom,masterp = <2>; - qcom,tier = <2>; - qcom,hw-sel = "RPM"; - qcom,mas-hw-id = <1>; - }; - - fab-mmss-noc { - cell-id = <2048>; - label = "fab_mmss_noc"; - qcom,gateway; - qcom,masterp = <3 4>; - qcom,qport = <3 4>; - qcom,buswidth = <8>; - qcom,ws = <10000>; - qcom,mas-hw-id = <2>; - qcom,hw-sel = "BIMC"; - qcom,mode = "Bypass"; - }; - - fab-snoc { - cell-id = <1024>; - label = "fab-snoc"; - qcom,gateway; - qcom,slavep = <3>; - qcom,masterp = <5 6>; - qcom,qport = <5 6>; - qcom,buswidth = <8>; - qcom,ws = <10000>; - qcom,mas-hw-id = <3>; - qcom,slv-hw-id = <2>; - qcom,mode = "Bypass"; - qcom,hw-sel = "RPM"; - }; - - slv-ebi-ch0 { - cell-id = <512>; - label = "slv-ebi-ch0"; - qcom,slavep = <0 1>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <0>; - qcom,mode = "Bypass"; - }; - - slv-ampss-l2 { - cell-id = <514>; - label = "slv-ampss-l2"; - qcom,slavep = <2>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <1>; - }; - }; - - msm-ocmem-vnoc@6144 { - compatible = "msm-bus-fabric"; - reg = <0x6144 0x2>; - cell-id = <6144>; - label = "msm-ocmem-vnoc"; - qcom,ntieredslaves = <0>; - qcom,hw-sel = "NoC"; - qcom,rpm-en; - qcom,virt; - - mas-v-ocmem-gfx3d { - cell-id = <89>; - label = "mas-v-ocmem-gfx3d"; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <55>; - }; - - slv-ocmem { - cell-id = <604>; - label = "slv-ocmem"; - qcom,slavep = <0 1>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,slv-hw-id = <18>; - qcom,slaveclk-dual = "ocmem_clk"; - qcom,slaveclk-active = "ocmem_a_clk"; - }; - - fab-snoc { - cell-id = <1024>; - label = "fab-snoc"; - qcom,gateway; - qcom,buswidth = <8>; - qcom,ws = <10000>; - qcom,mas-hw-id = <57>; - qcom,slv-hw-id = <80>; - }; - - fab-onoc { - cell-id = <3072>; - label = "fab-onoc"; - qcom,gateway; - qcom,buswidth = <16>; - qcom,ws = <10000>; - qcom,mas-hw-id = <56>; - qcom,slv-hw-id = <79>; - }; - - }; - - msm-ocmem-noc@fc470000 { - compatible = "msm-bus-fabric"; - reg = <0xfc470000 0x00004000>; - cell-id = <3072>; - label = "msm_ocmem_noc"; - qcom,fabclk-dual = "bus_clk"; - qcom,fabclk-active = "bus_a_clk"; - qcom,ntieredslaves = <0>; - qcom,qos-freq = <4800>; - qcom,hw-sel = "NoC"; - qcom,rpm-en; - - coresight-id = <51>; - coresight-name = "coresight-onoc"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_in0>; - coresight-child-ports = <4>; - - fab-ocmem-vnoc { - cell-id = <6144>; - label = "fab-ocmem-vnoc"; - qcom,gateway; - qcom,buswidth = <16>; - qcom,mas-hw-id = <54>; - qcom,slv-hw-id = <78>; - }; - - mas-jpeg-ocmem { - cell-id = <66>; - label = "mas-jpeg-ocmem"; - qcom,masterp = <1>; - qcom,tier = <2>; - qcom,perm-mode = "Fixed"; - qcom,mode = "Fixed"; - qcom,qport = <0>; - qcom,mas-hw-id = <13>; - qcom,hw-sel = "NoC"; - }; - - mas-mdp-ocmem { - cell-id = <67>; - label = "mas-mdp-ocmem"; - qcom,masterp = <2>; - qcom,tier = <2>; - qcom,perm-mode = "Fixed"; - qcom,mode = "Fixed"; - qcom,mas-hw-id = <14>; - qcom,hw-sel = "NoC"; - }; - - mas-video-ocmem { - cell-id = <68>; - label = "mas-video-ocmem"; - qcom,masterp = <3 4>; - qcom,tier = <2>; - qcom,perm-mode = "Fixed"; - qcom,mode = "Fixed"; - qcom,qport = <2 3>; - qcom,mas-hw-id = <15>; - qcom,hw-sel = "NoC"; - }; - - mas-vfe-ocmem { - cell-id = <70>; - label = "mas-vfe-ocmem"; - qcom,masterp = <5>; - qcom,tier = <2>; - qcom,perm-mode = "Fixed"; - qcom,mode = "Fixed"; - qcom,qport = <4>; - qcom,mas-hw-id = <17>; - qcom,hw-sel = "NoC"; - qcom,prio-rd = <1>; - qcom,prio-wr = <1>; - }; - - mas-cnoc-onoc-cfg { - cell-id = <71>; - label = "mas-cnoc-onoc-cfg"; - qcom,masterp = <0>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,mas-hw-id = <12>; - qcom,hw-sel = "NoC"; - }; - - slv-service-onoc { - cell-id = <605>; - label = "slv-service-onoc"; - qcom,slavep = <2>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,slv-hw-id = <19>; - }; - }; -}; - - diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8974-camera-sensor-cdp.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v1/msm8974-camera-sensor-cdp.dtsi deleted file mode 100644 index 4a9820dab..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8974-camera-sensor-cdp.dtsi +++ /dev/null @@ -1,189 +0,0 @@ -/* - * Copyright (c) 2012-2013, 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. - */ - -&cci { - - actuator0: qcom,actuator@18 { - cell-index = <0>; - reg = <0x18 0x0>; - compatible = "qcom,actuator"; - qcom,cci-master = <0>; - }; - - actuator1: qcom,actuator@36 { - cell-index = <1>; - reg = <0x36>; - compatible = "qcom,actuator"; - qcom,cci-master = <0>; - }; - - qcom,camera@6e { - compatible = "qcom,s5k3l1yx"; - reg = <0x6e 0x0>; - qcom,slave-id = <0x6e 0x0 0x3121>; - qcom,csiphy-sd-index = <0>; - qcom,csid-sd-index = <0>; - qcom,actuator-src = <&actuator0>; - qcom,mount-angle = <90>; - qcom,sensor-name = "s5k3l1yx"; - qcom,vdd-cx-supply = <&pm8841_s2>; - qcom,vdd-cx-name = "qcom,vdd-cx"; - cam_vdig-supply = <&pm8941_l3>; - cam_vana-supply = <&pm8941_l17>; - cam_vio-supply = <&pm8941_lvs3>; - cam_vaf-supply = <&pm8941_l23>; - qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana", - "cam_vaf"; - qcom,cam-vreg-type = <0 1 0 0>; - qcom,cam-vreg-min-voltage = <1225000 0 2850000 3000000>; - qcom,cam-vreg-max-voltage = <1225000 0 2850000 3000000>; - qcom,cam-vreg-op-mode = <105000 0 80000 100000>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 15 0>, - <&msmgpio 90 0>, - <&msmgpio 89 0>; - qcom,gpio-reset = <1>; - qcom,gpio-standby = <2>; - qcom,gpio-req-tbl-num = <0 1 2>; - qcom,gpio-req-tbl-flags = <1 0 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1", - "CAM_STANDBY"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 30000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x1F>; - qcom,sensor-position = <0>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - status = "ok"; - }; - - qcom,camera@20 { - compatible = "qcom,imx135"; - reg = <0x20>; - qcom,slave-id = <0x20 0x0016 0x0135>; - qcom,csiphy-sd-index = <0>; - qcom,csid-sd-index = <0>; - qcom,mount-angle = <90>; - qcom,sensor-name = "imx135"; - qcom,actuator-src = <&actuator1>; - qcom,vdd-cx-supply = <&pm8841_s2>; - qcom,vdd-cx-name = "qcom,vdd-cx"; - cam_vdig-supply = <&pm8941_l3>; - cam_vana-supply = <&pm8941_l17>; - cam_vio-supply = <&pm8941_lvs3>; - cam_vaf-supply = <&pm8941_l23>; - qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana", - "cam_vaf"; - qcom,cam-vreg-type = <0 1 0 0>; - qcom,cam-vreg-min-voltage = <1225000 0 2850000 3000000>; - qcom,cam-vreg-max-voltage = <1225000 0 2850000 3000000>; - qcom,cam-vreg-op-mode = <105000 0 80000 100000>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 15 0>, - <&msmgpio 90 0>, - <&msmgpio 89 0>; - qcom,gpio-reset = <1>; - qcom,gpio-standby = <2>; - qcom,gpio-req-tbl-num = <0 1 2>; - qcom,gpio-req-tbl-flags = <1 0 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1", - "CAM_STANDBY"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 30000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x1F>; - qcom,sensor-position = <0>; - qcom,sensor-mode = <0>; - qcom,sensor-type = <0>; - qcom,cci-master = <0>; - status = "ok"; - }; - - qcom,camera@6c { - compatible = "qcom,ov2720"; - reg = <0x6c 0x0>; - qcom,slave-id = <0x6c 0x300A 0x2720>; - qcom,csiphy-sd-index = <2>; - qcom,csid-sd-index = <2>; - qcom,mount-angle = <90>; - qcom,sensor-name = "ov2720"; - qcom,vdd-cx-supply = <&pm8841_s2>; - qcom,vdd-cx-name = "qcom,vdd-cx"; - cam_vdig-supply = <&pm8941_l3>; - cam_vana-supply = <&pm8941_l17>; - cam_vio-supply = <&pm8941_lvs3>; - qcom,cam-vreg-name = "cam_vdig", "cam_vana", "cam_vio"; - qcom,cam-vreg-type = <0 0 1>; - qcom,cam-vreg-min-voltage = <1225000 2850000 0>; - qcom,cam-vreg-max-voltage = <1225000 2850000 0>; - qcom,cam-vreg-op-mode = <105000 80000 0>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 17 0>, - <&msmgpio 18 0>; - qcom,gpio-reset = <1>; - qcom,gpio-req-tbl-num = <0 1>; - qcom,gpio-req-tbl-flags = <1 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 4000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x7>; - qcom,sensor-position = <1>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - status = "ok"; - }; - - qcom,camera@90 { - compatible = "qcom,mt9m114"; - reg = <0x90 0x0>; - qcom,slave-id = <0x90 0x0 0x2481>; - qcom,csiphy-sd-index = <1>; - qcom,csid-sd-index = <0>; - qcom,mount-angle = <0>; - qcom,sensor-name = "mt9m114"; - qcom,vdd-cx-supply = <&pm8841_s2>; - qcom,vdd-cx-name = "qcom,vdd-cx"; - cam_vdig-supply = <&pm8941_l3>; - cam_vana-supply = <&pm8941_l17>; - cam_vio-supply = <&pm8941_lvs3>; - qcom,cam-vreg-name = "cam_vdig", "cam_vana", "cam_vio"; - qcom,cam-vreg-type = <0 0 1>; - qcom,cam-vreg-min-voltage = <1225000 2850000 0>; - qcom,cam-vreg-max-voltage = <1225000 2850000 0>; - qcom,cam-vreg-op-mode = <105000 80000 0>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 16 0>, - <&msmgpio 92 0>; - qcom,gpio-reset = <1>; - qcom,gpio-req-tbl-num = <0 1>; - qcom,gpio-req-tbl-flags = <1 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 4000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x3>; - qcom,sensor-position = <1>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8974-camera-sensor-dragonboard.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v1/msm8974-camera-sensor-dragonboard.dtsi deleted file mode 100644 index e84a47d62..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8974-camera-sensor-dragonboard.dtsi +++ /dev/null @@ -1,174 +0,0 @@ -/* - * Copyright (c) 2012-2013, 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. - */ - -&cci { - - actuator0: qcom,actuator@18 { - cell-index = <0>; - reg = <0x18 0x0>; - compatible = "qcom,actuator"; - qcom,cci-master = <0>; - }; - - actuator1: qcom,actuator@36 { - cell-index = <1>; - reg = <0x36>; - compatible = "qcom,actuator"; - qcom,cci-master = <0>; - }; - - qcom,camera@6e { - compatible = "qcom,s5k3l1yx"; - reg = <0x6e 0x0>; - qcom,slave-id = <0x6e 0x0 0x3121>; - qcom,csiphy-sd-index = <0>; - qcom,csid-sd-index = <0>; - qcom,mount-angle = <0>; - qcom,actuator-src = <&actuator0>; - qcom,sensor-name = "s5k3l1yx"; - cam_vdig-supply = <&pm8941_l3>; - cam_vana-supply = <&pm8941_l17>; - cam_vio-supply = <&pm8941_lvs3>; - cam_vaf-supply = <&pm8941_l23>; - qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana", - "cam_vaf"; - qcom,cam-vreg-type = <0 1 0 0>; - qcom,cam-vreg-min-voltage = <1225000 0 2850000 3000000>; - qcom,cam-vreg-max-voltage = <1225000 0 2850000 3000000>; - qcom,cam-vreg-op-mode = <105000 0 80000 100000>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 15 0>, - <&msmgpio 90 0>; - qcom,gpio-reset = <1>; - qcom,gpio-req-tbl-num = <0 1>; - qcom,gpio-req-tbl-flags = <1 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 30000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x1F>; - qcom,sensor-position = <0>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - status = "ok"; - }; - - qcom,camera@20 { - compatible = "qcom,imx135"; - reg = <0x20>; - qcom,slave-id = <0x20 0x0016 0x0135>; - qcom,csiphy-sd-index = <0>; - qcom,csid-sd-index = <0>; - qcom,mount-angle = <0>; - qcom,sensor-name = "imx135"; - qcom,actuator-src = <&actuator1>; - cam_vdig-supply = <&pm8941_l3>; - cam_vana-supply = <&pm8941_l17>; - cam_vio-supply = <&pm8941_lvs3>; - cam_vaf-supply = <&pm8941_l23>; - qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana", - "cam_vaf"; - qcom,cam-vreg-type = <0 1 0 0>; - qcom,cam-vreg-min-voltage = <1225000 0 2850000 3000000>; - qcom,cam-vreg-max-voltage = <1225000 0 2850000 3000000>; - qcom,cam-vreg-op-mode = <105000 0 80000 100000>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 15 0>, - <&msmgpio 90 0>; - qcom,gpio-reset = <1>; - qcom,gpio-req-tbl-num = <0 1>; - qcom,gpio-req-tbl-flags = <1 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 30000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x1F>; - qcom,sensor-position = <0>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - status = "ok"; - }; - - qcom,camera@6c { - compatible = "qcom,ov2720"; - reg = <0x6c 0x0>; - qcom,slave-id = <0x6c 0x300A 0x2720>; - qcom,csiphy-sd-index = <2>; - qcom,csid-sd-index = <0>; - qcom,mount-angle = <180>; - qcom,sensor-name = "ov2720"; - cam_vdig-supply = <&pm8941_l3>; - cam_vana-supply = <&pm8941_l17>; - cam_vio-supply = <&pm8941_lvs3>; - qcom,cam-vreg-name = "cam_vdig", "cam_vana", "cam_vio"; - qcom,cam-vreg-type = <0 0 1>; - qcom,cam-vreg-min-voltage = <1225000 2850000 0>; - qcom,cam-vreg-max-voltage = <1225000 2850000 0>; - qcom,cam-vreg-op-mode = <105000 80000 0>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 17 0>, - <&msmgpio 18 0>; - qcom,gpio-reset = <1>; - qcom,gpio-req-tbl-num = <0 1>; - qcom,gpio-req-tbl-flags = <1 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 4000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x7>; - qcom,sensor-position = <1>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - status = "ok"; - }; - - qcom,camera@90 { - compatible = "qcom,mt9m114"; - reg = <0x90 0x0>; - qcom,slave-id = <0x90 0x0 0x2481>; - qcom,csiphy-sd-index = <1>; - qcom,csid-sd-index = <0>; - qcom,mount-angle = <0>; - qcom,sensor-name = "mt9m114"; - cam_vdig-supply = <&pm8941_l3>; - cam_vana-supply = <&pm8941_l17>; - cam_vio-supply = <&pm8941_lvs3>; - qcom,cam-vreg-name = "cam_vdig", "cam_vana", "cam_vio"; - qcom,cam-vreg-type = <0 0 1>; - qcom,cam-vreg-min-voltage = <1225000 2850000 0>; - qcom,cam-vreg-max-voltage = <1225000 2850000 0>; - qcom,cam-vreg-op-mode = <105000 80000 0>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 16 0>, - <&msmgpio 94 0>; - qcom,gpio-reset = <1>; - qcom,gpio-req-tbl-num = <0 1>; - qcom,gpio-req-tbl-flags = <1 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 4000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x3>; - qcom,sensor-position = <1>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8974-camera-sensor-fluid.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v1/msm8974-camera-sensor-fluid.dtsi deleted file mode 100644 index f61b83a45..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8974-camera-sensor-fluid.dtsi +++ /dev/null @@ -1,190 +0,0 @@ -/* - * Copyright (c) 2012-2013, 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. - */ - -&cci { - - actuator0: qcom,actuator@18 { - cell-index = <0>; - reg = <0x18>; - compatible = "qcom,actuator"; - qcom,cci-master = <0>; - }; - - actuator1: qcom,actuator@36 { - cell-index = <1>; - reg = <0x36>; - compatible = "qcom,actuator"; - qcom,cci-master = <0>; - }; - - qcom,camera@6e { - compatible = "qcom,s5k3l1yx"; - reg = <0x6e>; - qcom,slave-id = <0x6e 0x0 0x3121>; - qcom,csiphy-sd-index = <0>; - qcom,csid-sd-index = <0>; - qcom,actuator-src = <&actuator0>; - qcom,led-flash-src = <&led_flash0>; - qcom,mount-angle = <270>; - qcom,sensor-name = "s5k3l1yx"; - qcom,vdd-cx-supply = <&pm8841_s2>; - qcom,vdd-cx-name = "qcom,vdd-cx"; - cam_vdig-supply = <&pm8941_l3>; - cam_vana-supply = <&pm8941_l17>; - cam_vio-supply = <&pm8941_lvs3>; - cam_vaf-supply = <&pm8941_l23>; - qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana", - "cam_vaf"; - qcom,cam-vreg-type = <0 1 0 0>; - qcom,cam-vreg-min-voltage = <1225000 0 2850000 3000000>; - qcom,cam-vreg-max-voltage = <1225000 0 2850000 3000000>; - qcom,cam-vreg-op-mode = <105000 0 80000 100000>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 15 0>, - <&msmgpio 90 0>, - <&msmgpio 89 0>; - qcom,gpio-reset = <1>; - qcom,gpio-standby = <2>; - qcom,gpio-req-tbl-num = <0 1 2>; - qcom,gpio-req-tbl-flags = <1 0 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1", - "CAM_STANDBY"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 30000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x1F>; - qcom,sensor-position = <0>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - status = "ok"; - }; - - qcom,camera@20 { - compatible = "qcom,imx135"; - reg = <0x20>; - qcom,slave-id = <0x20 0x0016 0x0135>; - qcom,csiphy-sd-index = <0>; - qcom,csid-sd-index = <0>; - qcom,mount-angle = <270>; - qcom,sensor-name = "imx135"; - qcom,actuator-src = <&actuator1>; - qcom,vdd-cx-supply = <&pm8841_s2>; - qcom,vdd-cx-name = "qcom,vdd-cx"; - cam_vdig-supply = <&pm8941_l3>; - cam_vana-supply = <&pm8941_l17>; - cam_vio-supply = <&pm8941_lvs3>; - cam_vaf-supply = <&pm8941_l23>; - qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana", - "cam_vaf"; - qcom,cam-vreg-type = <0 1 0 0>; - qcom,cam-vreg-min-voltage = <1225000 0 2850000 3000000>; - qcom,cam-vreg-max-voltage = <1225000 0 2850000 3000000>; - qcom,cam-vreg-op-mode = <105000 0 80000 100000>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 15 0>, - <&msmgpio 90 0>, - <&msmgpio 89 0>; - qcom,gpio-reset = <1>; - qcom,gpio-standby = <2>; - qcom,gpio-req-tbl-num = <0 1 2>; - qcom,gpio-req-tbl-flags = <1 0 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1", - "CAM_STANDBY"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 30000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x1F>; - qcom,sensor-position = <0>; - qcom,sensor-mode = <0>; - qcom,sensor-type = <0>; - qcom,cci-master = <0>; - status = "ok"; - }; - - qcom,camera@6c { - compatible = "qcom,ov2720"; - reg = <0x6c>; - qcom,slave-id = <0x6c 0x300A 0x2720>; - qcom,csiphy-sd-index = <2>; - qcom,csid-sd-index = <2>; - qcom,mount-angle = <90>; - qcom,sensor-name = "ov2720"; - qcom,vdd-cx-supply = <&pm8841_s2>; - qcom,vdd-cx-name = "qcom,vdd-cx"; - cam_vdig-supply = <&pm8941_l3>; - cam_vana-supply = <&pm8941_l17>; - cam_vio-supply = <&pm8941_lvs3>; - qcom,cam-vreg-name = "cam_vdig", "cam_vana", "cam_vio"; - qcom,cam-vreg-type = <0 0 1>; - qcom,cam-vreg-min-voltage = <1225000 2850000 0>; - qcom,cam-vreg-max-voltage = <1225000 2850000 0>; - qcom,cam-vreg-op-mode = <105000 80000 0>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 17 0>, - <&msmgpio 18 0>; - qcom,gpio-reset = <1>; - qcom,gpio-req-tbl-num = <0 1>; - qcom,gpio-req-tbl-flags = <1 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 4000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x7>; - qcom,sensor-position = <1>; - qcom,sensor-mode = <1>; - qcom,cci-master = <1>; - status = "ok"; - }; - - qcom,camera@90 { - compatible = "qcom,mt9m114"; - reg = <0x90>; - qcom,slave-id = <0x90 0x0 0x2481>; - qcom,csiphy-sd-index = <1>; - qcom,csid-sd-index = <0>; - qcom,mount-angle = <0>; - qcom,sensor-name = "mt9m114"; - qcom,vdd-cx-supply = <&pm8841_s2>; - qcom,vdd-cx-name = "qcom,vdd-cx"; - cam_vdig-supply = <&pm8941_l3>; - cam_vana-supply = <&pm8941_l17>; - cam_vio-supply = <&pm8941_lvs3>; - qcom,cam-vreg-name = "cam_vdig", "cam_vana", "cam_vio"; - qcom,cam-vreg-type = <0 0 1>; - qcom,cam-vreg-min-voltage = <1225000 2850000 0>; - qcom,cam-vreg-max-voltage = <1225000 2850000 0>; - qcom,cam-vreg-op-mode = <105000 80000 0>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 16 0>, - <&msmgpio 92 0>; - qcom,gpio-reset = <1>; - qcom,gpio-req-tbl-num = <0 1>; - qcom,gpio-req-tbl-flags = <1 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 4000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x3>; - qcom,sensor-position = <1>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8974-camera-sensor-liquid.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v1/msm8974-camera-sensor-liquid.dtsi deleted file mode 100644 index cf968d208..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8974-camera-sensor-liquid.dtsi +++ /dev/null @@ -1,190 +0,0 @@ - -/* - * Copyright (c) 2012-2013, 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. - */ - -&cci { - - actuator0: qcom,actuator@18 { - cell-index = <0>; - reg = <0x18>; - compatible = "qcom,actuator"; - qcom,cci-master = <0>; - }; - - actuator1: qcom,actuator@36 { - cell-index = <1>; - reg = <0x36>; - compatible = "qcom,actuator"; - qcom,cci-master = <0>; - }; - - qcom,camera@6e { - compatible = "qcom,s5k3l1yx"; - reg = <0x6e>; - qcom,slave-id = <0x6e 0x0 0x3121>; - qcom,csiphy-sd-index = <0>; - qcom,csid-sd-index = <0>; - qcom,mount-angle = <0>; - qcom,actuator-src = <&actuator0>; - qcom,sensor-name = "s5k3l1yx"; - qcom,vdd-cx-supply = <&pm8841_s2>; - qcom,vdd-cx-name = "qcom,vdd-cx"; - cam_vdig-supply = <&pm8941_l3>; - cam_vana-supply = <&pm8941_l17>; - cam_vio-supply = <&pm8941_lvs2>; - cam_vaf-supply = <&pm8941_l23>; - qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana", - "cam_vaf"; - qcom,cam-vreg-type = <0 1 0 0>; - qcom,cam-vreg-min-voltage = <1225000 0 2850000 3000000>; - qcom,cam-vreg-max-voltage = <1225000 0 2850000 3000000>; - qcom,cam-vreg-op-mode = <105000 0 80000 100000>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 15 0>, - <&msmgpio 90 0>, - <&msmgpio 89 0>; - qcom,gpio-reset = <1>; - qcom,gpio-standby = <2>; - qcom,gpio-req-tbl-num = <0 1 2>; - qcom,gpio-req-tbl-flags = <1 0 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1", - "CAM_STANDBY"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 30000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x1F>; - qcom,sensor-position = <0>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - status = "ok"; - }; - - qcom,camera@20 { - compatible = "qcom,imx135"; - reg = <0x20>; - qcom,slave-id = <0x20 0x0016 0x0135>; - qcom,csiphy-sd-index = <0>; - qcom,csid-sd-index = <0>; - qcom,mount-angle = <0>; - qcom,sensor-name = "imx135"; - qcom,vdd-cx-supply = <&pm8841_s2>; - qcom,vdd-cx-name = "qcom,vdd-cx"; - qcom,actuator-src = <&actuator1>; - cam_vdig-supply = <&pm8941_l3>; - cam_vana-supply = <&pm8941_l17>; - cam_vio-supply = <&pm8941_lvs2>; - cam_vaf-supply = <&pm8941_l23>; - qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana", - "cam_vaf"; - qcom,cam-vreg-type = <0 1 0 0>; - qcom,cam-vreg-min-voltage = <1225000 0 2850000 3000000>; - qcom,cam-vreg-max-voltage = <1225000 0 2850000 3000000>; - qcom,cam-vreg-op-mode = <105000 0 80000 100000>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 15 0>, - <&msmgpio 90 0>, - <&msmgpio 89 0>; - qcom,gpio-reset = <1>; - qcom,gpio-standby = <2>; - qcom,gpio-req-tbl-num = <0 1 2>; - qcom,gpio-req-tbl-flags = <1 0 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1", - "CAM_STANDBY"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 30000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x1F>; - qcom,sensor-position = <0>; - qcom,sensor-mode = <0>; - qcom,sensor-type = <0>; - qcom,cci-master = <0>; - status = "ok"; - }; - - qcom,camera@6c { - compatible = "qcom,ov2720"; - reg = <0x6c>; - qcom,slave-id = <0x6c 0x300A 0x2720>; - qcom,csiphy-sd-index = <2>; - qcom,csid-sd-index = <0>; - qcom,mount-angle = <180>; - qcom,sensor-name = "ov2720"; - qcom,vdd-cx-supply = <&pm8841_s2>; - qcom,vdd-cx-name = "qcom,vdd-cx"; - cam_vdig-supply = <&pm8941_l3>; - cam_vana-supply = <&pm8941_l17>; - cam_vio-supply = <&pm8941_lvs2>; - qcom,cam-vreg-name = "cam_vdig", "cam_vana", "cam_vio"; - qcom,cam-vreg-type = <0 0 1>; - qcom,cam-vreg-min-voltage = <1225000 2850000 0>; - qcom,cam-vreg-max-voltage = <1225000 2850000 0>; - qcom,cam-vreg-op-mode = <105000 80000 0>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 17 0>, - <&msmgpio 18 0>; - qcom,gpio-reset = <1>; - qcom,gpio-req-tbl-num = <0 1>; - qcom,gpio-req-tbl-flags = <1 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 4000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x7>; - qcom,sensor-position = <1>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - status = "ok"; - }; - - qcom,camera@90 { - compatible = "qcom,mt9m114"; - reg = <0x90>; - qcom,slave-id = <0x90 0x0 0x2481>; - qcom,csiphy-sd-index = <1>; - qcom,csid-sd-index = <0>; - qcom,mount-angle = <0>; - qcom,vdd-cx-supply = <&pm8841_s2>; - qcom,vdd-cx-name = "qcom,vdd-cx"; - qcom,sensor-name = "mt9m114"; - cam_vdig-supply = <&pm8941_l3>; - cam_vana-supply = <&pm8941_l17>; - cam_vio-supply = <&pm8941_lvs2>; - qcom,cam-vreg-name = "cam_vdig", "cam_vana", "cam_vio"; - qcom,cam-vreg-type = <0 0 1>; - qcom,cam-vreg-min-voltage = <1225000 2850000 0>; - qcom,cam-vreg-max-voltage = <1225000 2850000 0>; - qcom,cam-vreg-op-mode = <105000 80000 0>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 16 0>, - <&msmgpio 92 0>; - qcom,gpio-reset = <1>; - qcom,gpio-req-tbl-num = <0 1>; - qcom,gpio-req-tbl-flags = <1 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 4000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x3>; - qcom,sensor-position = <1>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8974-camera-sensor-mtp.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v1/msm8974-camera-sensor-mtp.dtsi deleted file mode 100644 index 6ad62137c..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8974-camera-sensor-mtp.dtsi +++ /dev/null @@ -1,191 +0,0 @@ -/* - * Copyright (c) 2012-2013, 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. - */ - -&cci { - - actuator0: qcom,actuator@18 { - cell-index = <0>; - reg = <0x18>; - compatible = "qcom,actuator"; - qcom,cci-master = <0>; - }; - - actuator1: qcom,actuator@36 { - cell-index = <1>; - reg = <0x36>; - compatible = "qcom,actuator"; - qcom,cci-master = <0>; - }; - - qcom,camera@6e { - compatible = "qcom,s5k3l1yx"; - reg = <0x6e>; - qcom,slave-id = <0x6e 0x0 0x3121>; - qcom,csiphy-sd-index = <0>; - qcom,csid-sd-index = <0>; - qcom,actuator-src = <&actuator0>; - qcom,led-flash-src = <&led_flash0>; - qcom,mount-angle = <90>; - qcom,sensor-name = "s5k3l1yx"; - qcom,vdd-cx-supply = <&pm8841_s2>; - qcom,vdd-cx-name = "qcom,vdd-cx"; - cam_vdig-supply = <&pm8941_l3>; - cam_vana-supply = <&pm8941_l17>; - cam_vio-supply = <&pm8941_lvs3>; - cam_vaf-supply = <&pm8941_l23>; - qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana", - "cam_vaf"; - qcom,cam-vreg-type = <0 1 0 0>; - qcom,cam-vreg-min-voltage = <1225000 0 2850000 3000000>; - qcom,cam-vreg-max-voltage = <1225000 0 2850000 3000000>; - qcom,cam-vreg-op-mode = <105000 0 80000 100000>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 15 0>, - <&msmgpio 90 0>, - <&msmgpio 89 0>; - qcom,gpio-reset = <1>; - qcom,gpio-standby = <2>; - qcom,gpio-req-tbl-num = <0 1 2>; - qcom,gpio-req-tbl-flags = <1 0 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1", - "CAM_STANDBY"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 30000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x1F>; - qcom,sensor-position = <0>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - status = "ok"; - }; - - qcom,camera@20 { - compatible = "qcom,imx135"; - reg = <0x20>; - qcom,slave-id = <0x20 0x0016 0x0135>; - qcom,csiphy-sd-index = <0>; - qcom,csid-sd-index = <0>; - qcom,mount-angle = <90>; - qcom,sensor-name = "imx135"; - qcom,vdd-cx-supply = <&pm8841_s2>; - qcom,vdd-cx-name = "qcom,vdd-cx"; - qcom,actuator-src = <&actuator1>; - cam_vdig-supply = <&pm8941_l3>; - cam_vana-supply = <&pm8941_l17>; - cam_vio-supply = <&pm8941_lvs3>; - cam_vaf-supply = <&pm8941_l23>; - qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana", - "cam_vaf"; - qcom,cam-vreg-type = <0 1 0 0>; - qcom,cam-vreg-min-voltage = <1225000 0 2850000 3000000>; - qcom,cam-vreg-max-voltage = <1225000 0 2850000 3000000>; - qcom,cam-vreg-op-mode = <105000 0 80000 100000>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 15 0>, - <&msmgpio 90 0>, - <&msmgpio 89 0>; - qcom,gpio-reset = <1>; - qcom,gpio-standby = <2>; - qcom,gpio-req-tbl-num = <0 1 2>; - qcom,gpio-req-tbl-flags = <1 0 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1", - "CAM_STANDBY"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 30000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x1F>; - qcom,sensor-position = <0>; - qcom,sensor-mode = <0>; - qcom,sensor-type = <0>; - qcom,cci-master = <0>; - status = "ok"; - }; - - - qcom,camera@6c { - compatible = "qcom,ov2720"; - reg = <0x6c>; - qcom,slave-id = <0x6c 0x300A 0x2720>; - qcom,csiphy-sd-index = <2>; - qcom,csid-sd-index = <2>; - qcom,mount-angle = <90>; - qcom,sensor-name = "ov2720"; - qcom,vdd-cx-supply = <&pm8841_s2>; - qcom,vdd-cx-name = "qcom,vdd-cx"; - cam_vdig-supply = <&pm8941_l3>; - cam_vana-supply = <&pm8941_l17>; - cam_vio-supply = <&pm8941_lvs3>; - qcom,cam-vreg-name = "cam_vdig", "cam_vana", "cam_vio"; - qcom,cam-vreg-type = <0 0 1>; - qcom,cam-vreg-min-voltage = <1225000 2850000 0>; - qcom,cam-vreg-max-voltage = <1225000 2850000 0>; - qcom,cam-vreg-op-mode = <105000 80000 0>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 17 0>, - <&msmgpio 18 0>; - qcom,gpio-reset = <1>; - qcom,gpio-req-tbl-num = <0 1>; - qcom,gpio-req-tbl-flags = <1 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 4000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x7>; - qcom,sensor-position = <1>; - qcom,sensor-mode = <1>; - qcom,cci-master = <1>; - status = "ok"; - }; - - qcom,camera@90 { - compatible = "qcom,mt9m114"; - reg = <0x90>; - qcom,slave-id = <0x90 0x0 0x2481>; - qcom,csiphy-sd-index = <1>; - qcom,csid-sd-index = <0>; - qcom,mount-angle = <0>; - qcom,sensor-name = "mt9m114"; - qcom,vdd-cx-supply = <&pm8841_s2>; - qcom,vdd-cx-name = "qcom,vdd-cx"; - cam_vdig-supply = <&pm8941_l3>; - cam_vana-supply = <&pm8941_l17>; - cam_vio-supply = <&pm8941_lvs3>; - qcom,cam-vreg-name = "cam_vdig", "cam_vana", "cam_vio"; - qcom,cam-vreg-type = <0 0 1>; - qcom,cam-vreg-min-voltage = <1225000 2850000 0>; - qcom,cam-vreg-max-voltage = <1225000 2850000 0>; - qcom,cam-vreg-op-mode = <105000 80000 0>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 16 0>, - <&msmgpio 92 0>; - qcom,gpio-reset = <1>; - qcom,gpio-req-tbl-num = <0 1>; - qcom,gpio-req-tbl-flags = <1 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 4000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x3>; - qcom,sensor-position = <1>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8974-camera.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v1/msm8974-camera.dtsi deleted file mode 100644 index 786e9e381..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8974-camera.dtsi +++ /dev/null @@ -1,215 +0,0 @@ -/* - * Copyright (c) 2012-2013, 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. - */ - -/include/ "skeleton.dtsi" - -&soc { - qcom,msm-cam@fd8C0000 { - compatible = "qcom,msm-cam"; - reg = <0xfd8C0000 0x10000>; - reg-names = "msm-cam"; - }; - - qcom,csiphy@fda0ac00 { - cell-index = <0>; - compatible = "qcom,csiphy"; - reg = <0xfda0ac00 0x200>, - <0xfda00030 0x4>; - reg-names = "csiphy", "csiphy_clk_mux"; - interrupts = <0 78 0>; - interrupt-names = "csiphy"; - }; - - qcom,csiphy@fda0b000 { - cell-index = <1>; - compatible = "qcom,csiphy"; - reg = <0xfda0b000 0x200>, - <0xfda00038 0x4>; - reg-names = "csiphy", "csiphy_clk_mux"; - interrupts = <0 79 0>; - interrupt-names = "csiphy"; - }; - - qcom,csiphy@fda0b400 { - cell-index = <2>; - compatible = "qcom,csiphy"; - reg = <0xfda0b400 0x200>, - <0xfda00040 0x4>; - reg-names = "csiphy", "csiphy_clk_mux"; - interrupts = <0 80 0>; - interrupt-names = "csiphy"; - }; - - qcom,csid@fda08000 { - cell-index = <0>; - compatible = "qcom,csid"; - reg = <0xfda08000 0x100>; - reg-names = "csid"; - interrupts = <0 51 0>; - interrupt-names = "csid"; - qcom,csi-vdd-voltage = <1800000>; - qcom,mipi-csi-vdd-supply = <&pm8941_l12>; - }; - - qcom,csid@fda08400 { - cell-index = <1>; - compatible = "qcom,csid"; - reg = <0xfda08400 0x100>; - reg-names = "csid"; - interrupts = <0 52 0>; - interrupt-names = "csid"; - qcom,csi-vdd-voltage = <1800000>; - qcom,mipi-csi-vdd-supply = <&pm8941_l12>; - }; - - qcom,csid@fda08800 { - cell-index = <2>; - compatible = "qcom,csid"; - reg = <0xfda08800 0x100>; - reg-names = "csid"; - interrupts = <0 53 0>; - interrupt-names = "csid"; - qcom,csi-vdd-voltage = <1800000>; - qcom,mipi-csi-vdd-supply = <&pm8941_l12>; - }; - - qcom,csid@fda08C00 { - cell-index = <3>; - compatible = "qcom,csid"; - reg = <0xfda08C00 0x100>; - reg-names = "csid"; - interrupts = <0 54 0>; - interrupt-names = "csid"; - qcom,csi-vdd-voltage = <1800000>; - qcom,mipi-csi-vdd-supply = <&pm8941_l12>; - }; - - qcom,ispif@fda0A000 { - cell-index = <0>; - compatible = "qcom,ispif"; - reg = <0xfda0A000 0x500>, - <0xfda00020 0x10>; - reg-names = "ispif", "csi_clk_mux"; - interrupts = <0 55 0>; - interrupt-names = "ispif"; - }; - - qcom,vfe@fda10000 { - cell-index = <0>; - compatible = "qcom,vfe40"; - reg = <0xfda10000 0x1000>, - <0xfda40000 0x200>; - reg-names = "vfe", "vfe_vbif"; - interrupts = <0 57 0>; - interrupt-names = "vfe"; - vdd-supply = <&gdsc_vfe>; - }; - - qcom,vfe@fda14000 { - cell-index = <1>; - compatible = "qcom,vfe40"; - reg = <0xfda14000 0x1000>, - <0xfda40000 0x200>; - reg-names = "vfe", "vfe_vbif"; - interrupts = <0 58 0>; - interrupt-names = "vfe"; - vdd-supply = <&gdsc_vfe>; - }; - - qcom,jpeg@fda1c000 { - cell-index = <0>; - compatible = "qcom,jpeg"; - reg = <0xfda1c000 0x400>; - reg-names = "jpeg"; - interrupts = <0 59 0>; - interrupt-names = "jpeg"; - vdd-supply = <&gdsc_jpeg>; - }; - - qcom,jpeg@fda20000 { - cell-index = <1>; - compatible = "qcom,jpeg"; - reg = <0xfda20000 0x400>; - reg-names = "jpeg"; - interrupts = <0 60 0>; - interrupt-names = "jpeg"; - vdd-supply = <&gdsc_jpeg>; - }; - - qcom,jpeg@fda24000 { - cell-index = <2>; - compatible = "qcom,jpeg"; - reg = <0xfda24000 0x400>; - reg-names = "jpeg"; - interrupts = <0 61 0>; - interrupt-names = "jpeg"; - vdd-supply = <&gdsc_jpeg>; - }; - - qcom,irqrouter@fda00000 { - cell-index = <0>; - compatible = "qcom,irqrouter"; - reg = <0xfda00000 0x100>; - reg-names = "irqrouter"; - }; - - qcom,cpp@fda04000 { - cell-index = <0>; - compatible = "qcom,cpp"; - reg = <0xfda04000 0x100>, - <0xfda40000 0x200>, - <0xfda18000 0x008>; - reg-names = "cpp", "cpp_vbif", "cpp_hw"; - interrupts = <0 49 0>; - interrupt-names = "cpp"; - vdd-supply = <&gdsc_vfe>; - }; - - led_flash0: qcom,camera-led-flash { - cell-index = <0>; - compatible = "qcom,camera-led-flash"; - qcom,flash-type = <1>; - qcom,flash-source = <&pm8941_flash0 &pm8941_flash1>; - }; - - cci: qcom,cci@fda0C000 { - cell-index = <0>; - compatible = "qcom,cci"; - reg = <0xfda0C000 0x1000>; - #address-cells = <1>; - #size-cells = <0>; - reg-names = "cci"; - interrupts = <0 50 0>; - interrupt-names = "cci"; - gpios = <&msmgpio 19 0>, - <&msmgpio 20 0>, - <&msmgpio 21 0>, - <&msmgpio 22 0>; - qcom,gpio-tbl-num = <0 1 2 3>; - qcom,gpio-tbl-flags = <1 1 1 1>; - qcom,gpio-tbl-label = "CCI_I2C_DATA0", - "CCI_I2C_CLK0", - "CCI_I2C_DATA1", - "CCI_I2C_CLK1"; - qcom,hw-thigh = <78>; - qcom,hw-tlow = <114>; - qcom,hw-tsu-sto = <28>; - qcom,hw-tsu-sta = <28>; - qcom,hw-thd-dat = <10>; - qcom,hw-thd-sta = <77>; - qcom,hw-tbuf = <118>; - qcom,hw-scl-stretch-en = <0>; - qcom,hw-trdhld = <6>; - qcom,hw-tsp = <1>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8974-cdp.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v1/msm8974-cdp.dtsi deleted file mode 100644 index 2a60df4f4..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8974-cdp.dtsi +++ /dev/null @@ -1,729 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/include/ "dsi-panel-toshiba-720p-video.dtsi" -/include/ "dsi-panel-orise-720p-video.dtsi" -/include/ "msm8974-leds.dtsi" -/include/ "msm8974-camera-sensor-cdp.dtsi" - -&soc { - serial@f991e000 { - status = "ok"; - }; - - qcom,mdss_dsi_toshiba_720p_video { - status = "ok"; - qcom,cont-splash-enabled; - }; - - qcom,mdss_dsi_orise_720p_video { - status = "disable"; - }; - - qcom,hdmi_tx@fd922100 { - status = "ok"; - }; - - i2c@f9924000 { - atmel_mxt_ts@4a { - compatible = "atmel,mxt-ts"; - reg = <0x4a>; - interrupt-parent = <&msmgpio>; - interrupts = <61 0x2>; - vdd_ana-supply = <&pm8941_l18>; - vcc_i2c-supply = <&pm8941_lvs1>; - atmel,reset-gpio = <&msmgpio 60 0x00>; - atmel,irq-gpio = <&msmgpio 61 0x00>; - atmel,panel-coords = <0 0 760 1424>; - atmel,display-coords = <0 0 720 1280>; - atmel,i2c-pull-up; - atmel,no-force-update; - atmel,cfg_1 { - atmel,family-id = <0x82>; - atmel,variant-id = <0x19>; - atmel,version = <0x10>; - atmel,build = <0xaa>; - atmel,config = [ - /* Object 6, Instance = 0 */ - 00 00 00 00 00 00 - /* Object 38, Instance = 0 */ - 15 01 00 03 0A 0C 00 00 - /* Object 7, Instance = 0 */ - 20 08 32 03 - /* Object 8, Instance = 0 */ - 0F 00 0A 0A 00 00 0A 0A 00 00 - /* Object 9, Instance = 0 */ - 83 00 00 18 0E 00 70 46 02 01 - 00 0A 03 31 04 05 0A 0A 90 05 - F8 02 05 F1 F1 0F 00 00 08 2D - 12 06 00 00 00 01 - /* Object 15, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 - /* Object 18, Instance = 0 */ - 00 00 - /* Object 19, Instance = 0 */ - 00 00 00 00 00 00 - /* Object 23, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 - /* Object 25, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 - /* Object 40, Instance = 0 */ - 00 00 00 00 00 - /* Object 42, Instance = 0 */ - 33 1E 19 10 80 00 00 00 FF 00 - /* Object 46, Instance = 0 */ - 00 00 10 10 00 00 03 00 00 01 - /* Object 47, Instance = 0 */ - 08 0A 28 0A 02 0A 00 8C 00 20 - 00 00 00 - /* Object 55, Instance = 0 */ - 00 00 00 00 00 00 - /* Object 56, Instance = 0 */ - 00 00 00 18 05 05 05 05 05 05 - 05 05 05 05 05 05 05 05 05 05 - 05 05 05 05 05 05 05 05 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 - /* Object 57, Instance = 0 */ - 00 00 00 - /* Object 61, Instance = 0 */ - 00 00 00 00 00 - /* Object 62, Instance = 0 */ - 01 2A 00 16 00 00 00 00 0B 01 - 02 03 04 08 00 00 08 10 18 05 - 00 0A 05 05 50 14 19 34 1A 7F - 00 00 00 00 00 00 00 00 00 30 - 05 02 00 01 00 05 00 00 00 00 - 00 00 00 00 - ]; - }; - }; - }; - - gen-vkeys { - compatible = "qcom,gen-vkeys"; - label = "atmel_mxt_ts"; - qcom,disp-maxx = <720>; - qcom,disp-maxy = <1280>; - qcom,panel-maxx = <760>; - qcom,panel-maxy = <1424>; - qcom,key-codes = <158 139 102 217>; - }; - - i2c@f9967000 { - isa1200@48 { - status = "okay"; - reg = <0x48>; - vcc_i2c-supply = <&pm8941_s3>; - compatible = "imagis,isa1200"; - label = "vibrator"; - imagis,chip-en; - imagis,smart-en; - imagis,need-pwm-clk; - imagis,ext-clk-en; - imagis,hap-en-gpio = <&msmgpio 86 0x00>; - imagis,max-timeout = <15000>; - imagis,pwm-div = <256>; - imagis,mode-ctrl = <2>; - imagis,regulator { - regulator-name = "vcc_i2c"; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - regulator-max-microamp = <9360>; - }; - }; - }; - - gpio_keys { - compatible = "gpio-keys"; - input-name = "gpio-keys"; - - camera_snapshot { - label = "camera_snapshot"; - gpios = <&pm8941_gpios 3 0x1>; - linux,input-type = <1>; - linux,code = <0x2fe>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - - camera_focus { - label = "camera_focus"; - gpios = <&pm8941_gpios 4 0x1>; - linux,input-type = <1>; - linux,code = <0x210>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - - vol_up { - label = "volume_up"; - gpios = <&pm8941_gpios 5 0x1>; - linux,input-type = <1>; - linux,code = <115>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - }; - - spi@f9923000 { - ethernet-switch@2 { - compatible = "micrel,ks8851"; - reg = <2>; - interrupt-parent = <&msmgpio>; - interrupts = <94 0>; - spi-max-frequency = <4800000>; - rst-gpio = <&pm8941_mpps 6 0>; - vdd-io-supply = <&spi_eth_vreg>; - vdd-phy-supply = <&spi_eth_vreg>; - }; - }; - - sound { - qcom,model = "msm8974-taiko-cdp-snd-card"; - qcom,hdmi-audio-rx; - qcom,us-euro-gpios = <&pm8941_gpios 20 0>; - qcom,cdc-micbias2-headset-only; - }; - - usb2_otg_sw: regulator-tpd4s214 { - compatible = "regulator-fixed"; - regulator-name = "usb2_otg_sw"; - gpio = <&pm8941_gpios 18 0>; - parent-supply = <&pm8941_boost>; - startup-delay-us = <17000>; - enable-active-high; - }; - - hsic_host: hsic@f9a00000 { - compatible = "qcom,hsic-host"; - reg = <0xf9a00000 0x400>; - #address-cells = <0>; - interrupt-parent = <&hsic_host>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 136 0 - 1 &intc 0 148 0 - 2 &msmgpio 144 0x8>; - interrupt-names = "core_irq", "async_irq", "wakeup"; - HSIC_VDDCX-supply = <&pm8841_s2>; - HSIC_GDSC-supply = <&gdsc_usb_hsic>; - hsic,strobe-gpio = <&msmgpio 144 0x00>; - hsic,data-gpio = <&msmgpio 145 0x00>; - hsic,resume-gpio = <&msmgpio 80 0x00>; - hsic,ignore-cal-pad-config; - hsic,strobe-pad-offset = <0x2050>; - hsic,data-pad-offset = <0x2054>; - - qcom,msm-bus,name = "hsic"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <85 512 0 0>, - <85 512 40000 160000>; - }; - - wlan0: qca,wlan { - compatible = "qca,ar6004-hsic"; - qcom,msm-bus,name = "wlan"; - qcom,msm-bus,num-cases = <5>; - qcom,msm-bus,active-only = <0>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <85 512 0 0>, - <85 512 40000 160000>, - <85 512 40000 320000>, - <85 512 40000 480000>, - <85 512 40000 800000>; - }; -}; - -&spmi_bus { - qcom,pm8941@1 { - qcom,leds@d800 { - status = "okay"; - qcom,wled_0 { - label = "wled"; - linux,name = "wled:backlight"; - linux,default-trigger = "bkl-trigger"; - qcom,cs-out-en; - qcom,op-fdbck = <1>; - qcom,default-state = "on"; - qcom,max-current = <25>; - qcom,ctrl-delay-us = <0>; - qcom,boost-curr-lim = <3>; - qcom,cp-sel = <0>; - qcom,switch-freq = <2>; - qcom,ovp-val = <2>; - qcom,num-strings = <1>; - qcom,id = <0>; - }; - }; - - qcom,leds@d900 { - status = "disabled"; - }; - - qcom,leds@da00 { - status = "disabled"; - }; - - qcom,leds@db00 { - status = "disabled"; - }; - - qcom,leds@dc00 { - status = "disabled"; - }; - - qcom,leds@dd00 { - status = "disabled"; - }; - - qcom,leds@de00 { - status = "disabled"; - }; - - qcom,leds@df00 { - status = "disabled"; - }; - - qcom,leds@e000 { - status = "disabled"; - }; - - qcom,leds@e100 { - status = "disabled"; - }; - }; -}; - -&sdcc1 { - status = "disabled"; -}; - -&sdcc2 { - #address-cells = <0>; - interrupt-parent = <&sdcc2>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 125 0 - 1 &intc 0 220 0 - 2 &msmgpio 62 0x3>; - interrupt-names = "core_irq", "bam_irq", "status_irq"; - cd-gpios = <&msmgpio 62 0x1>; - wp-gpios = <&pm8941_gpios 29 0x1>; - status = "disabled"; -}; - -&sdhc_1 { - vdd-supply = <&pm8941_l20>; - vdd-io-supply = <&pm8941_s3>; - - qcom,vdd-always-on; - qcom,vdd-lpm-sup; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <800 500000>; - - qcom,vdd-io-always-on; - qcom,vdd-io-voltage-level = <1800000 1800000>; - qcom,vdd-io-current-level = <250 154000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,nonremovable; - status = "ok"; -}; - -&sdhc_2 { - #address-cells = <0>; - interrupt-parent = <&sdhc_2>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 125 0 - 1 &intc 0 221 0 - 2 &msmgpio 62 0x3>; - interrupt-names = "hc_irq", "pwr_irq", "status_irq"; - cd-gpios = <&msmgpio 62 0x1>; - - vdd-supply = <&pm8941_l21>; - vdd-io-supply = <&pm8941_l13>; - - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <9000 800000>; - - qcom,vdd-io-voltage-level = <1800000 2950000>; - qcom,vdd-io-current-level = <6 22000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - status = "ok"; -}; - -/* Drive strength recommendations for clock line from hardware team is 10 mA. - * But since the driver has been been using the below values from the start - * without any problems, continue to use those. - */ -&sdcc1 { - qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */ -}; - -&sdcc2 { - qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */ -}; - -&sdhc_1 { - qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */ -}; - -&sdhc_2 { - qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */ -}; - -&uart7 { - status = "ok"; - qcom,tx-gpio = <&msmgpio 41 0x00>; - qcom,rx-gpio = <&msmgpio 42 0x00>; - qcom,cts-gpio = <&msmgpio 43 0x00>; - qcom,rfr-gpio = <&msmgpio 44 0x00>; -}; - -&usb3 { - qcom,otg-capability; -}; - -&pm8941_chg { - status = "ok"; - - qcom,chgr@1000 { - status = "ok"; - }; - - qcom,buck@1100 { - status = "ok"; - }; - - qcom,usb-chgpth@1300 { - status = "ok"; - }; - - qcom,dc-chgpth@1400 { - status = "ok"; - }; - - qcom,boost@1500 { - status = "ok"; - }; - - qcom,chg-misc@1600 { - status = "ok"; - }; -}; - -&pm8941_gpios { - gpio@c000 { /* GPIO 1 */ - }; - - gpio@c100 { /* GPIO 2 */ - }; - - gpio@c200 { /* GPIO 3 */ - qcom,mode = <0>; - qcom,pull = <0>; - qcom,vin-sel = <2>; - qcom,src-sel = <0>; - }; - - gpio@c300 { /* GPIO 4 */ - qcom,mode = <0>; - qcom,pull = <0>; - qcom,vin-sel = <2>; - qcom,src-sel = <0>; - }; - - gpio@c400 { /* GPIO 5 */ - qcom,mode = <0>; - qcom,pull = <0>; - qcom,vin-sel = <2>; - qcom,src-sel = <0>; - }; - - gpio@c500 { /* GPIO 6 */ - }; - - gpio@c600 { /* GPIO 7 */ - }; - - gpio@c700 { /* GPIO 8 */ - }; - - gpio@c800 { /* GPIO 9 */ - }; - - gpio@c900 { /* GPIO 10 */ - }; - - gpio@ca00 { /* GPIO 11 */ - }; - - gpio@cb00 { /* GPIO 12 */ - }; - - gpio@cc00 { /* GPIO 13 */ - }; - - gpio@cd00 { /* GPIO 14 */ - }; - - gpio@ce00 { /* GPIO 15 */ - qcom,mode = <1>; - qcom,output-type = <0>; - qcom,pull = <5>; - qcom,vin-sel = <2>; - qcom,out-strength = <1>; - qcom,src-sel = <2>; - qcom,master-en = <1>; - }; - - gpio@cf00 { /* GPIO 16 */ - qcom,mode = <1>; - qcom,output-type = <0>; - qcom,pull = <2>; - qcom,vin-sel = <2>; - qcom,out-strength = <2>; - qcom,src-sel = <2>; - qcom,master-en = <1>; - }; - - gpio@d000 { /* GPIO 17 */ - }; - - gpio@d100 { /* GPIO 18 */ - /* usb2_otg_sw regulator enable */ - qcom,mode = <1>; /* Digital output */ - qcom,output-type = <0>; /* CMOS logic */ - qcom,invert = <0>; /* Output low initially */ - qcom,vin-sel = <2>; /* PM8941 S3 = 1.8 V */ - qcom,src-sel = <0>; /* Constant */ - qcom,out-strength = <2>; /* Medium drive strength */ - qcom,master-en = <1>; /* Enable GPIO */ - }; - - gpio@d200 { /* GPIO 19 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,output-type = <0>; /* QPNP_PIN_OUT_BUF_CMOS */ - qcom,pull = <5>; /* QPNP_PIN_PULL_NO */ - qcom,vin-sel = <2>; /* QPNP_PIN_VIN2 */ - qcom,out-strength = <2>; /* QPNP_PIN_OUT_STRENGTH_MED */ - qcom,src-sel = <0>; /* QPNP_PIN_SEL_FUNC_CONSTANT */ - qcom,master-en = <1>; - }; - - gpio@d300 { /* GPIO 20 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,output-type = <0>; /* QPNP_PIN_OUT_BUF_CMOS */ - qcom,invert = <0>; /* Output low initially */ - qcom,pull = <5>; /* QPNP_PIN_PULL_NO */ - qcom,vin-sel = <2>; /* QPNP_PIN_VIN2 */ - qcom,out-strength = <2>; /* QPNP_PIN_OUT_STRENGTH_MED */ - qcom,src-sel = <0>; /* QPNP_PIN_SEL_FUNC_CONSTANT */ - qcom,master-en = <1>; - }; - - gpio@d400 { /* GPIO 21 */ - }; - - gpio@d500 { /* GPIO 22 */ - }; - - gpio@d600 { /* GPIO 23 */ - }; - - gpio@d700 { /* GPIO 24 */ - }; - - gpio@d800 { /* GPIO 25 */ - }; - - gpio@d900 { /* GPIO 26 */ - }; - - gpio@da00 { /* GPIO 27 */ - }; - - gpio@db00 { /* GPIO 28 */ - }; - - gpio@dc00 { /* GPIO 29 */ - qcom,pull = <0>; /* set to default pull */ - qcom,master-en = <1>; - qcom,vin-sel = <2>; /* select 1.8 V source */ - }; - - gpio@dd00 { /* GPIO 30 */ - }; - - gpio@de00 { /* GPIO 31 */ - }; - - gpio@df00 { /* GPIO 32 */ - }; - - gpio@e000 { /* GPIO 33 */ - }; - - gpio@e100 { /* GPIO 34 */ - }; - - gpio@e200 { /* GPIO 35 */ - }; - - gpio@e300 { /* GPIO 36 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,output-type = <0>; /* QPNP_PIN_OUT_BUF_CMOS */ - qcom,pull = <5>; /* QPNP_PIN_PULL_NO */ - qcom,vin-sel = <2>; /* QPNP_PIN_VIN2 */ - qcom,out-strength = <3>; /* QPNP_PIN_OUT_STRENGTH_HIGH */ - qcom,src-sel = <3>; /* QPNP_PIN_SEL_FUNC_2 */ - qcom,master-en = <1>; - }; -}; - -&pm8941_mpps { - - mpp@a000 { /* MPP 1 */ - status = "disabled"; - }; - - mpp@a100 { /* MPP 2 */ - }; - - mpp@a200 { /* MPP 3 */ - }; - - mpp@a300 { /* MPP 4 */ - }; - - mpp@a400 { /* MPP 5 */ - /* SPI_ETH config */ - qcom,mode = <1>; /* DIG_OUT */ - qcom,output-type = <0>; /* CMOS */ - qcom,vin-sel = <2>; /* PM8941_S3 1.8V > 1.6V */ - qcom,src-sel = <0>; /* CONSTANT */ - qcom,master-en = <1>; /* ENABLE MPP */ - }; - - mpp@a500 { /* MPP 6 */ - /* SPI_ETH_RST config */ - qcom,mode = <1>; /* DIG_OUT */ - qcom,output-type = <0>; /* CMOS */ - qcom,vin-sel = <2>; /* PM8941_S3 1.8V > 1.6V */ - qcom,src-sel = <0>; /* CONSTANT */ - qcom,master-en = <1>; /* ENABLE MPP */ - }; - - mpp@a600 { /* MPP 7 */ - }; - - mpp@a700 { /* MPP 8 */ - }; -}; - -&pm8841_mpps { - - mpp@a000 { /* MPP 1 */ - }; - - mpp@a100 { /* MPP 2 */ - }; - - mpp@a200 { /* MPP 3 */ - }; - - mpp@a300 { /* MPP 4 */ - }; -}; - -/* CoreSight */ -&tpiu { - qcom,seta-gpios = <&msmgpio 31 0>, - <&msmgpio 32 0>, - <&msmgpio 33 0>, - <&msmgpio 34 0>, - <&msmgpio 35 0>, - <&msmgpio 36 0>, - <&msmgpio 37 0>, - <&msmgpio 38 0>, - <&msmgpio 39 0>, - <&msmgpio 40 0>, - <&msmgpio 41 0>, - <&msmgpio 42 0>, - <&msmgpio 43 0>, - <&msmgpio 44 0>, - <&msmgpio 45 0>, - <&msmgpio 46 0>, - <&msmgpio 47 0>, - <&msmgpio 48 0>; - qcom,seta-gpios-func = <4 4 4 3 4 4 4 3 4 3 5 5 5 5 4 4 5 5>; - qcom,seta-gpios-drv = <7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7>; - qcom,seta-gpios-pull = <0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0>; - qcom,seta-gpios-dir = <2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2>; - - qcom,setb-gpios = <&msmgpio 15 0>, - <&msmgpio 16 0>, - <&msmgpio 17 0>, - <&msmgpio 18 0>, - <&msmgpio 19 0>, - <&msmgpio 20 0>, - <&msmgpio 21 0>, - <&msmgpio 22 0>, - <&msmgpio 23 0>, - <&msmgpio 24 0>, - <&msmgpio 25 0>, - <&msmgpio 26 0>, - <&msmgpio 27 0>, - <&msmgpio 28 0>, - <&msmgpio 89 0>, - <&msmgpio 90 0>, - <&msmgpio 91 0>, - <&msmgpio 92 0>; - qcom,setb-gpios-func = <2 2 2 2 5 5 5 5 6 6 6 7 7 5 2 3 3 3>; - qcom,setb-gpios-drv = <7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7>; - qcom,setb-gpios-pull = <0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0>; - qcom,setb-gpios-dir = <2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2>; -}; - -&slim_msm { - taiko_codec { - qcom,cdc-micbias1-ext-cap; - qcom,cdc-micbias3-ext-cap; - qcom,cdc-micbias4-ext-cap; - - /* If boot isn't available, vph_pwr_vreg can be used instead */ - cdc-vdd-spkdrv-supply = <&pm8941_boost>; - qcom,cdc-vdd-spkdrv-voltage = <5000000 5000000>; - qcom,cdc-vdd-spkdrv-current = <1250000>; - - qcom,cdc-on-demand-supplies = "cdc-vdd-spkdrv"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8974-clock.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v1/msm8974-clock.dtsi deleted file mode 100644 index bed5d70be..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8974-clock.dtsi +++ /dev/null @@ -1,27 +0,0 @@ -/* Copyright (c) 2012, 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. - */ - -&spmi_bus { - - qcom,pm8941@0 { - - pm8941_clkdiv1: clkdiv@5b00 { - qcom,cxo-div = <2>; - }; - - pm8941_clkdiv2: clkdiv@5c00 { - }; - - pm8941_clkdiv3: clkdiv@5d00 { - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8974-coresight.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v1/msm8974-coresight.dtsi deleted file mode 100644 index 1610f1f43..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8974-coresight.dtsi +++ /dev/null @@ -1,381 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&soc { - tmc_etr: tmc@fc322000 { - compatible = "arm,coresight-tmc"; - reg = <0xfc322000 0x1000>, - <0xfc37c000 0x3000>; - reg-names = "tmc-base", "bam-base"; - - qcom,memory-reservation-type = "EBI1"; - qcom,memory-reservation-size = <0x100000>; /* 1M EBI1 buffer */ - - coresight-id = <0>; - coresight-name = "coresight-tmc-etr"; - coresight-nr-inports = <1>; - coresight-ctis = <&cti0 &cti8>; - }; - - tpiu: tpiu@fc318000 { - compatible = "arm,coresight-tpiu"; - reg = <0xfc318000 0x1000>; - reg-names = "tpiu-base"; - - coresight-id = <1>; - coresight-name = "coresight-tpiu"; - coresight-nr-inports = <1>; - - vdd-supply = <&pm8941_l21>; - - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <9000 800000>; - }; - - replicator: replicator@fc31c000 { - compatible = "qcom,coresight-replicator"; - reg = <0xfc31c000 0x1000>; - reg-names = "replicator-base"; - - coresight-id = <2>; - coresight-name = "coresight-replicator"; - coresight-nr-inports = <1>; - coresight-outports = <0 1>; - coresight-child-list = <&tmc_etr &tpiu>; - coresight-child-ports = <0 0>; - }; - - tmc_etf: tmc@fc307000 { - compatible = "arm,coresight-tmc"; - reg = <0xfc307000 0x1000>; - reg-names = "tmc-base"; - - coresight-id = <3>; - coresight-name = "coresight-tmc-etf"; - coresight-nr-inports = <1>; - coresight-outports = <0>; - coresight-child-list = <&replicator>; - coresight-child-ports = <0>; - coresight-default-sink; - coresight-ctis = <&cti0 &cti8>; - }; - - funnel_merg: funnel@fc31b000 { - compatible = "arm,coresight-funnel"; - reg = <0xfc31b000 0x1000>; - reg-names = "funnel-base"; - - coresight-id = <4>; - coresight-name = "coresight-funnel-merg"; - coresight-nr-inports = <2>; - coresight-outports = <0>; - coresight-child-list = <&tmc_etf>; - coresight-child-ports = <0>; - }; - - funnel_in0: funnel@fc319000 { - compatible = "arm,coresight-funnel"; - reg = <0xfc319000 0x1000>; - reg-names = "funnel-base"; - - coresight-id = <5>; - coresight-name = "coresight-funnel-in0"; - coresight-nr-inports = <8>; - coresight-outports = <0>; - coresight-child-list = <&funnel_merg>; - coresight-child-ports = <0>; - }; - - funnel_in1: funnel@fc31a000 { - compatible = "arm,coresight-funnel"; - reg = <0xfc31a000 0x1000>; - reg-names = "funnel-base"; - - coresight-id = <6>; - coresight-name = "coresight-funnel-in1"; - coresight-nr-inports = <8>; - coresight-outports = <0>; - coresight-child-list = <&funnel_merg>; - coresight-child-ports = <1>; - }; - - funnel_kpss: funnel@fc345000 { - compatible = "arm,coresight-funnel"; - reg = <0xfc345000 0x1000>; - reg-names = "funnel-base"; - - coresight-id = <7>; - coresight-name = "coresight-funnel-kpss"; - coresight-nr-inports = <4>; - coresight-outports = <0>; - coresight-child-list = <&funnel_in1>; - coresight-child-ports = <5>; - }; - - funnel_mmss: funnel@fc364000 { - compatible = "arm,coresight-funnel"; - reg = <0xfc364000 0x1000>; - reg-names = "funnel-base"; - - - coresight-id = <8>; - coresight-name = "coresight-funnel-mmss"; - coresight-nr-inports = <8>; - coresight-outports = <0>; - coresight-child-list = <&funnel_in1>; - coresight-child-ports = <1>; - }; - - stm: stm@fc321000 { - compatible = "arm,coresight-stm"; - reg = <0xfc321000 0x1000>, - <0xfa280000 0x180000>; - reg-names = "stm-base", "stm-data-base"; - - coresight-id = <9>; - coresight-name = "coresight-stm"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_in1>; - coresight-child-ports = <7>; - }; - - etm0: etm@fc33c000 { - compatible = "arm,coresight-etm"; - reg = <0xfc33c000 0x1000>; - reg-names = "etm-base"; - - coresight-id = <10>; - coresight-name = "coresight-etm0"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_kpss>; - coresight-child-ports = <0>; - - qcom,pc-save; - qcom,round-robin; - }; - - etm1: etm@fc33d000 { - compatible = "arm,coresight-etm"; - reg = <0xfc33d000 0x1000>; - reg-names = "etm-base"; - - coresight-id = <11>; - coresight-name = "coresight-etm1"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_kpss>; - coresight-child-ports = <1>; - - qcom,pc-save; - qcom,round-robin; - }; - - etm2: etm@fc33e000 { - compatible = "arm,coresight-etm"; - reg = <0xfc33e000 0x1000>; - reg-names = "etm-base"; - - coresight-id = <12>; - coresight-name = "coresight-etm2"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_kpss>; - coresight-child-ports = <2>; - - qcom,pc-save; - qcom,round-robin; - }; - - etm3: etm@fc33f000 { - compatible = "arm,coresight-etm"; - reg = <0xfc33f000 0x1000>; - reg-names = "etm-base"; - - coresight-id = <13>; - coresight-name = "coresight-etm3"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_kpss>; - coresight-child-ports = <3>; - - qcom,pc-save; - qcom,round-robin; - }; - - csr: csr@fc302000 { - compatible = "qcom,coresight-csr"; - reg = <0xfc302000 0x1000>; - reg-names = "csr-base"; - - coresight-id = <14>; - coresight-name = "coresight-csr"; - coresight-nr-inports = <0>; - - qcom,blk-size = <3>; - }; - - cti0: cti@fc308000 { - compatible = "arm,coresight-cti"; - reg = <0xfc308000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <15>; - coresight-name = "coresight-cti0"; - coresight-nr-inports = <0>; - }; - - cti1: cti@fc309000 { - compatible = "arm,coresight-cti"; - reg = <0xfc309000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <16>; - coresight-name = "coresight-cti1"; - coresight-nr-inports = <0>; - }; - - cti2: cti@fc30a000 { - compatible = "arm,coresight-cti"; - reg = <0xfc30a000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <17>; - coresight-name = "coresight-cti2"; - coresight-nr-inports = <0>; - }; - - cti3: cti@fc30b000 { - compatible = "arm,coresight-cti"; - reg = <0xfc30b000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <18>; - coresight-name = "coresight-cti3"; - coresight-nr-inports = <0>; - }; - - cti4: cti@fc30c000 { - compatible = "arm,coresight-cti"; - reg = <0xfc30c000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <19>; - coresight-name = "coresight-cti4"; - coresight-nr-inports = <0>; - }; - - cti5: cti@fc30d000 { - compatible = "arm,coresight-cti"; - reg = <0xfc30d000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <20>; - coresight-name = "coresight-cti5"; - coresight-nr-inports = <0>; - }; - - cti6: cti@fc30e000 { - compatible = "arm,coresight-cti"; - reg = <0xfc30e000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <21>; - coresight-name = "coresight-cti6"; - coresight-nr-inports = <0>; - }; - - cti7: cti@fc30f000 { - compatible = "arm,coresight-cti"; - reg = <0xfc30f000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <22>; - coresight-name = "coresight-cti7"; - coresight-nr-inports = <0>; - }; - - cti8: cti@fc310000 { - compatible = "arm,coresight-cti"; - reg = <0xfc310000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <23>; - coresight-name = "coresight-cti8"; - coresight-nr-inports = <0>; - }; - - cti_l2: cti@fc340000 { - compatible = "arm,coresight-cti"; - reg = <0xfc340000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <24>; - coresight-name = "coresight-cti-l2"; - coresight-nr-inports = <0>; - }; - - cti_cpu0: cti@fc341000 { - compatible = "arm,coresight-cti"; - reg = <0xfc341000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <25>; - coresight-name = "coresight-cti-cpu0"; - coresight-nr-inports = <0>; - }; - - cti_cpu1: cti@fc342000 { - compatible = "arm,coresight-cti"; - reg = <0xfc342000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <26>; - coresight-name = "coresight-cti-cpu1"; - coresight-nr-inports = <0>; - }; - - cti_cpu2: cti@fc343000 { - compatible = "arm,coresight-cti"; - reg = <0xfc343000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <27>; - coresight-name = "coresight-cti-cpu2"; - coresight-nr-inports = <0>; - }; - - cti_cpu3: cti@fc344000 { - compatible = "arm,coresight-cti"; - reg = <0xfc344000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <28>; - coresight-name = "coresight-cti-cpu3"; - coresight-nr-inports = <0>; - }; - - hwevent: hwevent@fdf30018 { - compatible = "qcom,coresight-hwevent"; - reg = <0xfdf30018 0x80>, - <0xf9011080 0x80>, - <0xfd4ab160 0x80>; - reg-names = "mmss-mux", "apcs-mux", "ppss-mux"; - - coresight-id = <29>; - coresight-name = "coresight-hwevent"; - coresight-nr-inports = <0>; - - qcom,hwevent-clks = "core_mmss_clk"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8974-fluid.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v1/msm8974-fluid.dtsi deleted file mode 100644 index a822af5fa..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8974-fluid.dtsi +++ /dev/null @@ -1,667 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/include/ "dsi-panel-toshiba-720p-video.dtsi" -/include/ "msm8974-camera-sensor-fluid.dtsi" -/include/ "msm8974-leds.dtsi" - -&soc { - serial@f991e000 { - status = "ok"; - }; - - qcom,mdss_dsi_toshiba_720p_video { - status = "ok"; - qcom,cont-splash-enabled; - }; - - qcom,hdmi_tx@fd922100 { - status = "ok"; - }; - - i2c@f9924000 { - atmel_mxt_ts@4a { - compatible = "atmel,mxt-ts"; - reg = <0x4a>; - interrupt-parent = <&msmgpio>; - interrupts = <61 0x2>; - vdd_ana-supply = <&pm8941_l18>; - vcc_i2c-supply = <&pm8941_lvs1>; - atmel,reset-gpio = <&msmgpio 60 0x00>; - atmel,irq-gpio = <&msmgpio 61 0x00>; - atmel,panel-coords = <0 0 760 1424>; - atmel,display-coords = <0 0 720 1280>; - atmel,i2c-pull-up; - atmel,no-force-update; - atmel,cfg_1 { - atmel,family-id = <0x82>; - atmel,variant-id = <0x19>; - atmel,version = <0x10>; - atmel,build = <0xaa>; - atmel,config = [ - /* Object 6, Instance = 0 */ - 00 00 00 00 00 00 - /* Object 38, Instance = 0 */ - 15 01 00 03 0A 0C 00 00 - /* Object 7, Instance = 0 */ - 20 08 32 03 - /* Object 8, Instance = 0 */ - 0F 00 0A 0A 00 00 0A 0A 00 00 - /* Object 9, Instance = 0 */ - 83 00 00 18 0E 00 70 46 02 01 - 00 0A 03 31 04 05 0A 0A 90 05 - F8 02 05 F1 F1 0F 00 00 08 2D - 12 06 00 00 00 01 - /* Object 15, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 - /* Object 18, Instance = 0 */ - 00 00 - /* Object 19, Instance = 0 */ - 00 00 00 00 00 00 - /* Object 23, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 - /* Object 25, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 - /* Object 40, Instance = 0 */ - 00 00 00 00 00 - /* Object 42, Instance = 0 */ - 33 1E 19 10 80 00 00 00 FF 00 - /* Object 46, Instance = 0 */ - 00 00 10 10 00 00 03 00 00 01 - /* Object 47, Instance = 0 */ - 08 0A 28 0A 02 0A 00 8C 00 20 - 00 00 00 - /* Object 55, Instance = 0 */ - 00 00 00 00 00 00 - /* Object 56, Instance = 0 */ - 00 00 00 18 05 05 05 05 05 05 - 05 05 05 05 05 05 05 05 05 05 - 05 05 05 05 05 05 05 05 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 - /* Object 57, Instance = 0 */ - 00 00 00 - /* Object 61, Instance = 0 */ - 00 00 00 00 00 - /* Object 62, Instance = 0 */ - 01 2A 00 16 00 00 00 00 0B 01 - 02 03 04 08 00 00 08 10 18 05 - 00 0A 05 05 50 14 19 34 1A 7F - 00 00 00 00 00 00 00 00 00 30 - 05 02 00 01 00 05 00 00 00 00 - 00 00 00 00 - ]; - }; - }; - }; - - i2c@f9967000 { - sii8334@72 { - compatible = "qcom,mhl-sii8334"; - reg = <0x72>; - interrupt-parent = <&msmgpio>; - interrupts = <82 0x8>; - mhl-intr-gpio = <&msmgpio 82 0>; - mhl-pwr-gpio = <&msmgpio 12 0>; - mhl-rst-gpio = <&pm8941_mpps 8 0>; - avcc_18-supply = <&pm8941_l24>; - avcc_12-supply = <&pm8941_l2>; - smps3a-supply = <&pm8941_s3>; - vdda-supply = <&pm8941_l12>; - qcom,hdmi-tx-map = <&mdss_hdmi_tx>; - }; - - isa1200@48 { - status = "okay"; - reg = <0x48>; - vcc_i2c-supply = <&pm8941_s3>; - compatible = "imagis,isa1200"; - label = "vibrator"; - imagis,chip-en; - imagis,need-pwm-clk; - imagis,ext-clk-en; - imagis,hap-en-gpio = <&msmgpio 86 0x00>; - imagis,max-timeout = <15000>; - imagis,pwm-div = <256>; - imagis,mode-ctrl = <2>; - imagis,regulator { - regulator-name = "vcc_i2c"; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - regulator-max-microamp = <9360>; - }; - }; - }; - - gen-vkeys { - compatible = "qcom,gen-vkeys"; - label = "atmel_mxt_ts"; - qcom,disp-maxx = <720>; - qcom,disp-maxy = <1280>; - qcom,panel-maxx = <760>; - qcom,panel-maxy = <1424>; - qcom,key-codes = <158 139 102 217>; - }; - - gpio_keys { - compatible = "gpio-keys"; - input-name = "gpio-keys"; - - camera_snapshot { - label = "camera_snapshot"; - gpios = <&pm8941_gpios 3 0x1>; - linux,input-type = <1>; - linux,code = <0x2fe>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - - camera_focus { - label = "camera_focus"; - gpios = <&pm8941_gpios 4 0x1>; - linux,input-type = <1>; - linux,code = <0x210>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - - vol_up { - label = "volume_up"; - gpios = <&pm8941_gpios 5 0x1>; - linux,input-type = <1>; - linux,code = <115>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - }; - - spi@f9923000 { - ethernet-switch@2 { - compatible = "micrel,ks8851"; - reg = <2>; - interrupt-parent = <&msmgpio>; - interrupts = <94 0>; - spi-max-frequency = <4800000>; - rst-gpio = <&pm8941_mpps 6 0>; - vdd-io-supply = <&spi_eth_vreg>; - vdd-phy-supply = <&spi_eth_vreg>; - }; - }; - - sound { - qcom,model = "msm8974-taiko-fluid-snd-card"; - qcom,audio-routing = - "RX_BIAS", "MCLK", - "LDO_H", "MCLK", - "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", - "Lineout_1 amp", "LINEOUT1", - "Lineout_3 amp", "LINEOUT3"; - - qcom,hdmi-audio-rx; - qcom,ext-ult-lo-amp-gpio = <&pm8941_gpios 6 0>; - qcom,cdc-micbias2-headset-only; - }; -}; - -&slim_msm { - taiko_codec { - qcom,cdc-micbias1-ext-cap; - qcom,cdc-micbias2-ext-cap; - qcom,cdc-micbias3-ext-cap; - qcom,cdc-micbias4-ext-cap; - - /* If boot isn't available, vph_pwr_vreg can be used instead */ - cdc-vdd-spkdrv-supply = <&pm8941_boost>; - qcom,cdc-vdd-spkdrv-voltage = <5000000 5000000>; - qcom,cdc-vdd-spkdrv-current = <1250000>; - - qcom,cdc-on-demand-supplies = "cdc-vdd-spkdrv"; - }; -}; - -&spmi_bus { - qcom,pm8941@1 { - qcom,leds@d800 { - status = "okay"; - qcom,wled_0 { - label = "wled"; - linux,name = "wled:backlight"; - linux,default-trigger = "bkl-trigger"; - qcom,cs-out-en; - qcom,op-fdbck = <1>; - qcom,default-state = "on"; - qcom,max-current = <25>; - qcom,ctrl-delay-us = <0>; - qcom,boost-curr-lim = <3>; - qcom,cp-sel = <0>; - qcom,switch-freq = <2>; - qcom,ovp-val = <2>; - qcom,num-strings = <1>; - qcom,id = <0>; - }; - }; - - qcom,leds@d900 { - status = "disabled"; - }; - - qcom,leds@da00 { - status = "disabled"; - }; - - qcom,leds@db00 { - status = "disabled"; - }; - - qcom,leds@dc00 { - status = "disabled"; - }; - - qcom,leds@dd00 { - status = "disabled"; - }; - - qcom,leds@de00 { - status = "disabled"; - }; - - qcom,leds@df00 { - status = "disabled"; - }; - - qcom,leds@e000 { - status = "disabled"; - }; - - qcom,leds@e100 { - status = "disabled"; - }; - }; -}; - -&sdcc1 { - status = "disabled"; -}; - -&sdcc2 { - #address-cells = <0>; - interrupt-parent = <&sdcc2>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 125 0 - 1 &intc 0 220 0 - 2 &msmgpio 62 0x3>; - interrupt-names = "core_irq", "bam_irq", "status_irq"; - cd-gpios = <&msmgpio 62 0x1>; - status = "disabled"; -}; - -&sdhc_1 { - vdd-supply = <&pm8941_l20>; - vdd-io-supply = <&pm8941_s3>; - - qcom,vdd-always-on; - qcom,vdd-lpm-sup; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <800 500000>; - - qcom,vdd-io-always-on; - qcom,vdd-io-voltage-level = <1800000 1800000>; - qcom,vdd-io-current-level = <250 154000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,nonremovable; - status = "ok"; -}; - -&sdhc_2 { - #address-cells = <0>; - interrupt-parent = <&sdhc_2>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 125 0 - 1 &intc 0 221 0 - 2 &msmgpio 62 0x3>; - interrupt-names = "hc_irq", "pwr_irq", "status_irq"; - cd-gpios = <&msmgpio 62 0x1>; - - vdd-supply = <&pm8941_l21>; - vdd-io-supply = <&pm8941_l13>; - - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <9000 800000>; - - qcom,vdd-io-voltage-level = <1800000 2950000>; - qcom,vdd-io-current-level = <6 22000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - status = "ok"; -}; - -/* Drive strength recommendations for clock line from hardware team is 10 mA. - * But since the driver has been been using the below values from the start - * without any problems, continue to use those. - */ -&sdcc1 { - qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */ -}; - -&sdcc2 { - qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */ -}; - -&sdhc_1 { - qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */ -}; - -&sdhc_2 { - qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */ -}; - -&usb3 { - qcom,otg-capability; -}; - -&pm8941_bms { - status = "ok"; -}; - -&pm8941_chg { - status = "ok"; - qcom,charging-disabled; - - qcom,chgr@1000 { - status = "ok"; - }; - - qcom,buck@1100 { - status = "ok"; - }; - - qcom,bat-if@1200 { - status = "ok"; - }; - - qcom,usb-chgpth@1300 { - status = "ok"; - }; - - qcom,dc-chgpth@1400 { - status = "ok"; - }; - - qcom,boost@1500 { - status = "ok"; - }; - - qcom,chg-misc@1600 { - status = "ok"; - }; -}; - -&pm8941_gpios { - gpio@c000 { /* GPIO 1 */ - }; - - gpio@c100 { /* GPIO 2 */ - }; - - gpio@c200 { /* GPIO 3 */ - qcom,mode = <0>; - qcom,pull = <0>; - qcom,vin-sel = <2>; - qcom,src-sel = <0>; - }; - - gpio@c300 { /* GPIO 4 */ - qcom,mode = <0>; - qcom,pull = <0>; - qcom,vin-sel = <2>; - qcom,src-sel = <0>; - }; - - gpio@c400 { /* GPIO 5 */ - qcom,mode = <0>; - qcom,pull = <0>; - qcom,vin-sel = <2>; - qcom,src-sel = <0>; - }; - - gpio@c500 { /* GPIO 6 */ - }; - - gpio@c600 { /* GPIO 7 */ - }; - - gpio@c700 { /* GPIO 8 */ - }; - - gpio@c800 { /* GPIO 9 */ - }; - - gpio@c900 { /* GPIO 10 */ - }; - - gpio@ca00 { /* GPIO 11 */ - }; - - gpio@cb00 { /* GPIO 12 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,output-type = <0>; /* QPNP_PIN_OUT_BUF_CMOS */ - qcom,pull = <5>; /* QPNP_PIN_PULL_NO */ - qcom,vin-sel = <2>; /* QPNP_PIN_VIN2 */ - qcom,out-strength = <2>; /* QPNP_PIN_OUT_STRENGTH_MED */ - qcom,src-sel = <0>; /* QPNP_PIN_SEL_FUNC_CONSTANT */ - qcom,master-en = <1>; - }; - - gpio@cc00 { /* GPIO 13 */ - }; - - gpio@cd00 { /* GPIO 14 */ - }; - - gpio@ce00 { /* GPIO 15 */ - qcom,mode = <1>; - qcom,output-type = <0>; - qcom,pull = <5>; - qcom,vin-sel = <2>; - qcom,out-strength = <1>; - qcom,src-sel = <2>; - qcom,master-en = <1>; - }; - - gpio@cf00 { /* GPIO 16 */ - qcom,mode = <1>; - qcom,output-type = <0>; - qcom,pull = <5>; - qcom,vin-sel = <2>; - qcom,out-strength = <3>; - qcom,src-sel = <2>; - qcom,master-en = <1>; - }; - - gpio@d000 { /* GPIO 17 */ - }; - - gpio@d100 { /* GPIO 18 */ - }; - - gpio@d200 { /* GPIO 19 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,output-type = <0>; /* QPNP_PIN_OUT_BUF_CMOS */ - qcom,pull = <5>; /* QPNP_PIN_PULL_NO */ - qcom,vin-sel = <2>; /* QPNP_PIN_VIN2 */ - qcom,out-strength = <2>; /* QPNP_PIN_OUT_STRENGTH_MED */ - qcom,src-sel = <0>; /* QPNP_PIN_SEL_FUNC_CONSTANT */ - qcom,master-en = <1>; - }; - - gpio@d300 { /* GPIO 20 */ - }; - - gpio@d400 { /* GPIO 21 */ - }; - - gpio@d500 { /* GPIO 22 */ - }; - - gpio@d600 { /* GPIO 23 */ - }; - - gpio@d700 { /* GPIO 24 */ - }; - - gpio@d800 { /* GPIO 25 */ - }; - - gpio@d900 { /* GPIO 26 */ - }; - - gpio@da00 { /* GPIO 27 */ - }; - - gpio@db00 { /* GPIO 28 */ - }; - - gpio@dc00 { /* GPIO 29 */ - qcom,pull = <0>; /* set to default pull */ - qcom,master-en = <1>; - qcom,vin-sel = <2>; /* select 1.8 V source */ - }; - - gpio@dd00 { /* GPIO 30 */ - }; - - gpio@de00 { /* GPIO 31 */ - }; - - gpio@df00 { /* GPIO 32 */ - }; - - gpio@e000 { /* GPIO 33 */ - }; - - gpio@e100 { /* GPIO 34 */ - }; - - gpio@e200 { /* GPIO 35 */ - }; - - gpio@e300 { /* GPIO 36 */ - }; -}; - -&pm8941_mpps { - - mpp@a000 { /* MPP 1 */ - status = "disabled"; - }; - - mpp@a100 { /* MPP 2 */ - }; - - mpp@a200 { /* MPP 3 */ - }; - - mpp@a300 { /* MPP 4 */ - }; - - mpp@a400 { /* MPP 5 */ - }; - - mpp@a500 { /* MPP 6 */ - /* SPI_ETH_RST config */ - qcom,mode = <1>; /* DIG_OUT */ - qcom,output-type = <0>; /* CMOS */ - qcom,vin-sel = <2>; /* PM8941_S3 1.8V > 1.6V */ - qcom,src-sel = <0>; /* CONSTANT */ - qcom,master-en = <1>; /* ENABLE MPP */ - }; - - mpp@a600 { /* MPP 7 */ - }; - - mpp@a700 { /* MPP 8 */ - qcom,mode = <1>; /* DIG_OUT */ - qcom,output-type = <0>; /* CMOS */ - qcom,pull = <0>; - qcom,vin-sel = <2>; /* PM8941_S3 1.8V > 1.6V */ - qcom,src-sel = <0>; /* CONSTANT */ - qcom,master-en = <1>; /* ENABLE MPP */ - }; -}; - -&pm8841_mpps { - - mpp@a000 { /* MPP 1 */ - }; - - mpp@a100 { /* MPP 2 */ - }; - - mpp@a200 { /* MPP 3 */ - }; - - mpp@a300 { /* MPP 4 */ - }; -}; - -&spi_epm { - epm-adc@0 { - compatible = "cy,epm-adc-cy8c5568lti-114"; - reg = <0>; - interrupt-parent = <&msmgpio>; - spi-max-frequency = <960000>; - qcom,channels = <31>; - qcom,gain = <100 100 100 50 100 100 1 100 1 50 - 1 100 1 100 50 50 50 50 50 50 - 100 50 100 50 50 50 50 50 50 50 - 50>; - qcom,rsense = <2 2 2 200 20 2 1 2 1 30 - 1 10 1 30 50 30 500 30 100 30 - 100 500 20 200 1000 20 1000 1000 70 200 - 50>; - qcom,channel-type = <0x1540>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8974-gpu.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v1/msm8974-gpu.dtsi deleted file mode 100644 index 06b9c187b..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8974-gpu.dtsi +++ /dev/null @@ -1,185 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ -&soc { - msm_gpu: qcom,kgsl-3d0@fdb00000 { - label = "kgsl-3d0"; - compatible = "qcom,kgsl-3d0", "qcom,kgsl-3d"; - reg = <0xfdb00000 0x10000 - 0xfdb20000 0x10000>; - reg-names = "kgsl_3d0_reg_memory" , "kgsl_3d0_shader_memory"; - interrupts = <0 33 0>; - interrupt-names = "kgsl_3d0_irq"; - qcom,id = <0>; - - qcom,chipid = <0x03030000>; - - qcom,initial-pwrlevel = <2>; - qcom,step-pwrlevel = <2>; - - qcom,idle-timeout = <8>; // - qcom,strtstp-sleepwake; - qcom,clk-map = <0x0000006>; //KGSL_CLK_CORE | KGSL_CLK_IFACE - - /* Bus Scale Settings */ - qcom,msm-bus,name = "grp3d"; - qcom,msm-bus,num-cases = <6>; - qcom,msm-bus,num-paths = <2>; - qcom,msm-bus,vectors-KBps = - <26 512 0 0>, <89 604 0 0>, - <26 512 0 2200000>, <89 604 0 3000000>, - <26 512 0 4000000>, <89 604 0 3000000>, - <26 512 0 4000000>, <89 604 0 4500000>, - <26 512 0 6400000>, <89 604 0 4500000>, - <26 512 0 6400000>, <89 604 0 7600000>; - - /* GDSC oxili regulators */ - vddcx-supply = <&gdsc_oxili_cx>; - vdd-supply = <&gdsc_oxili_gx>; - - /* Power levels */ - - /* IOMMU Data */ - iommu = <&kgsl_iommu>; - - /* Trace bus */ - coresight-id = <67>; - coresight-name = "coresight-gfx"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_mmss>; - coresight-child-ports = <7>; - - qcom,gpu-pwrlevels { - #address-cells = <1>; - #size-cells = <0>; - - compatible = "qcom,gpu-pwrlevels"; - - qcom,gpu-pwrlevel@0 { - reg = <0>; - qcom,gpu-freq = <450000000>; - qcom,bus-freq = <5>; - qcom,io-fraction = <33>; - }; - - qcom,gpu-pwrlevel@1 { - reg = <1>; - qcom,gpu-freq = <320000000>; - qcom,bus-freq = <4>; - qcom,io-fraction = <66>; - }; - - qcom,gpu-pwrlevel@2 { - reg = <2>; - qcom,gpu-freq = <320000000>; - qcom,bus-freq = <3>; - qcom,io-fraction = <66>; - }; - - qcom,gpu-pwrlevel@3 { - reg = <3>; - qcom,gpu-freq = <200000000>; - qcom,bus-freq = <2>; - qcom,io-fraction = <100>; - }; - - qcom,gpu-pwrlevel@4 { - reg = <4>; - qcom,gpu-freq = <200000000>; - qcom,bus-freq = <1>; - qcom,io-fraction = <100>; - }; - - qcom,gpu-pwrlevel@5 { - reg = <5>; - qcom,gpu-freq = <27000000>; - qcom,bus-freq = <0>; - qcom,io-fraction = <0>; - }; - }; - - qcom,dcvs-core-info { - #address-cells = <1>; - #size-cells = <0>; - - compatible = "qcom,dcvs-core-info"; - - qcom,num-cores = <1>; - qcom,sensors = <0>; - - qcom,core-core-type = <1>; - - qcom,algo-disable-pc-threshold = <0>; - qcom,algo-em-win-size-min-us = <100000>; - qcom,algo-em-win-size-max-us = <300000>; - qcom,algo-em-max-util-pct = <97>; - qcom,algo-group-id = <95>; - qcom,algo-max-freq-chg-time-us = <100000>; - qcom,algo-slack-mode-dynamic = <100000>; - qcom,algo-slack-weight-thresh-pct = <0>; - qcom,algo-slack-time-min-us = <39000>; - qcom,algo-slack-time-max-us = <39000>; - qcom,algo-ss-win-size-min-us = <1000000>; - qcom,algo-ss-win-size-max-us = <1000000>; - qcom,algo-ss-util-pct = <95>; - qcom,algo-ss-no-corr-below-freq = <0>; - - qcom,energy-active-coeff-a = <2492>; - qcom,energy-active-coeff-b = <0>; - qcom,energy-active-coeff-c = <0>; - qcom,energy-leakage-coeff-a = <11>; - qcom,energy-leakage-coeff-b = <157150>; - qcom,energy-leakage-coeff-c = <0>; - qcom,energy-leakage-coeff-d = <0>; - - qcom,power-current-temp = <25>; - qcom,power-num-freq = <4>; - - qcom,dcvs-freq@0 { - reg = <0>; - qcom,freq = <0>; - qcom,voltage = <0>; - qcom,is_trans_level = <0>; - qcom,active-energy-offset = <100>; - qcom,leakage-energy-offset = <0>; - }; - - qcom,dcvs-freq@1 { - reg = <1>; - qcom,freq = <0>; - qcom,voltage = <0>; - qcom,is_trans_level = <0>; - qcom,active-energy-offset = <100>; - qcom,leakage-energy-offset = <0>; - }; - - qcom,dcvs-freq@2 { - reg = <2>; - qcom,freq = <0>; - qcom,voltage = <0>; - qcom,is_trans_level = <0>; - qcom,active-energy-offset = <100>; - qcom,leakage-energy-offset = <0>; - }; - - qcom,dcvs-freq@3 { - reg = <3>; - qcom,freq = <0>; - qcom,voltage = <0>; - qcom,is_trans_level = <0>; - qcom,active-energy-offset = <844545>; - qcom,leakage-energy-offset = <0>; - }; - }; - - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8974-ion.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v1/msm8974-ion.dtsi deleted file mode 100644 index 63f6d59c2..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8974-ion.dtsi +++ /dev/null @@ -1,59 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&soc { - qcom,ion { - compatible = "qcom,msm-ion"; - #address-cells = <1>; - #size-cells = <0>; - - qcom,ion-heap@30 { /* SYSTEM HEAP */ - reg = <30>; - }; - - qcom,ion-heap@21 { /* SYSTEM CONTIG HEAP */ - reg = <21>; - }; - - qcom,ion-heap@8 { /* CP_MM HEAP */ - compatible = "qcom,msm-ion-reserve"; - reg = <8>; - qcom,heap-align = <0x1000>; - linux,contiguous-region = <&secure_mem>; - }; - - qcom,ion-heap@22 { /* adsp heap */ - compatible = "qcom,msm-ion-reserve"; - reg = <22>; - qcom,heap-align = <0x1000>; - linux,contiguous-region = <&adsp_mem>; - }; - - qcom,ion-heap@25 { /* IOMMU HEAP */ - reg = <25>; - }; - - qcom,ion-heap@27 { /* QSECOM HEAP */ - compatible = "qcom,msm-ion-reserve"; - reg = <27>; - linux,contiguous-region = <&qsecom_mem>; - }; - - qcom,ion-heap@28 { /* AUDIO HEAP */ - compatible = "qcom,msm-ion-reserve"; - reg = <28>; - qcom,heap-align = <0x1000>; - qcom,memory-reservation-type = "EBI1"; /* reserve EBI memory */ - qcom,memory-reservation-size = <0x614000>; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8974-leds.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v1/msm8974-leds.dtsi deleted file mode 100644 index 5e91f4597..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8974-leds.dtsi +++ /dev/null @@ -1,129 +0,0 @@ -/* - * Copyright (c) 2012-2013, 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. - */ - -&spmi_bus { - qcom,pm8941@1 { - qcom,leds@d000 { - status = "okay"; - qcom,rgb_0 { - label = "rgb"; - linux,name = "led:rgb_red"; - qcom,mode = "pwm"; - qcom,pwm-channel = <6>; - qcom,pwm-us = <1000>; - qcom,max-current = <12>; - qcom,default-state = "off"; - qcom,id = <3>; - linux,default-trigger = - "battery-charging"; - }; - - qcom,rgb_1 { - label = "rgb"; - linux,name = "led:rgb_green"; - qcom,mode = "pwm"; - qcom,pwm-channel = <5>; - qcom,pwm-us = <1000>; - qcom,max-current = <12>; - qcom,default-state = "off"; - qcom,id = <4>; - linux,default-trigger = "battery-full"; - }; - - qcom,rgb_2 { - label = "rgb"; - linux,name = "led:rgb_blue"; - qcom,mode = "pwm"; - qcom,pwm-channel = <4>; - qcom,pwm-us = <1000>; - qcom,max-current = <12>; - qcom,id = <5>; - status = "disabled"; - }; - }; - - qcom,leds@d100 { - status = "disabled"; - }; - - qcom,leds@d200 { - status = "disabled"; - }; - - qcom,leds@d300 { - status = "okay"; - pm8941_flash0: qcom,flash_0 { - qcom,max-current = <1000>; - qcom,default-state = "off"; - qcom,headroom = <3>; - qcom,duration = <1280>; - qcom,clamp-curr = <200>; - qcom,startup-dly = <3>; - qcom,safety-timer; - label = "flash"; - linux,default-trigger = - "flash0_trigger"; - qcom,id = <1>; - linux,name = "led:flash_0"; - qcom,current = <625>; - }; - - pm8941_flash1: qcom,flash_1 { - qcom,max-current = <1000>; - qcom,default-state = "off"; - qcom,headroom = <3>; - qcom,duration = <1280>; - qcom,clamp-curr = <200>; - qcom,startup-dly = <3>; - qcom,safety-timer; - linux,default-trigger = - "flash1_trigger"; - label = "flash"; - qcom,id = <2>; - linux,name = "led:flash_1"; - qcom,current = <625>; - }; - - pm8941_torch: qcom,flash_torch { - qcom,max-current = <200>; - qcom,default-state = "off"; - qcom,headroom = <0>; - qcom,startup-dly = <1>; - linux,default-trigger = - "torch_trigger"; - label = "flash"; - qcom,id = <2>; - linux,name = "led:flash_torch"; - qcom,current = <200>; - qcom,torch-enable; - }; - }; - - qcom,leds@d400 { - status = "disabled"; - }; - - qcom,leds@d500 { - status = "disabled"; - }; - - qcom,leds@d600 { - status = "disabled"; - }; - - qcom,leds@d700 { - status = "disabled"; - }; - }; -}; - diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8974-liquid.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v1/msm8974-liquid.dtsi deleted file mode 100644 index 2dc52b6be..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8974-liquid.dtsi +++ /dev/null @@ -1,893 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/include/ "msm8974-leds.dtsi" -/include/ "msm8974-camera-sensor-liquid.dtsi" - -&soc { - serial@f991e000 { - status = "ok"; - }; - - qcom,mdss_edp@fd923400 { - status = "ok"; - }; - - i2c@f9967000 { - battery@b { - compatible = "ti,bq28400-battery"; - reg = <0xb>; - ti,temp-cold = <2>; /* degree celsius */ - ti,temp-hot = <43>; /* degree celsius */ - }; - - charger@2b { - compatible = "summit,smb350-charger"; - reg = <0x2b>; /* 0x56/0x57 */ - summit,stat-gpio = <&pm8941_gpios 30 0x00>; - summit,chg-en-n-gpio = <&pm8941_gpios 10 0x00>; - summit,chg-susp-n-gpio = <&pm8941_gpios 13 0x00>; - summit,chg-current-ma = <1600>; - summit,term-current-ma = <300>; - }; - }; - - gpio_keys { - compatible = "gpio-keys"; - input-name = "gpio-keys"; - - home { - label = "home"; - gpios = <&pm8941_gpios 1 0x1>; - linux,input-type = <1>; - linux,code = <102>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - - vol_down { - label = "volume_down"; - gpios = <&pm8941_gpios 2 0x1>; - linux,input-type = <1>; - linux,code = <114>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - - vol_up { - label = "volume_up"; - gpios = <&pm8941_gpios 5 0x1>; - linux,input-type = <1>; - linux,code = <115>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - }; - - qcom,hdmi_tx@fd922100 { - status = "ok"; - - qcom,hdmi-tx-mux-sel = <&pm8841_mpps 3 0>; - qcom,hdmi-tx-mux-en = <&pm8841_mpps 4 0>; - }; - - drv2667_vreg: drv2667_vdd_vreg { - compatible = "regulator-fixed"; - regulator-name = "vdd_drv2667"; - }; - - i2c@f9967000 { - ti-drv2667@59 { - compatible = "ti,drv2667"; - reg = <0x59>; - vdd-supply = <&drv2667_vreg>; - vdd-i2c-supply = <&pm8941_s3>; - ti,label = "vibrator"; - ti,gain = <2>; - ti,idle-timeout-ms = <20>; - ti,max-runtime-ms = <15000>; - ti,mode = <2>; - ti,wav-seq = [ - /* wave form id */ - 01 - /* header size, start and stop bytes */ - 05 80 06 00 09 - /* repeat, amp, freq, duration, envelope */ - 01 ff 19 02 00]; - }; - }; - - i2c@f9924000 { - atmel_mxt_ts@4a { - compatible = "atmel,mxt-ts"; - reg = <0x4a>; - interrupt-parent = <&msmgpio>; - interrupts = <61 0x2>; - vdd_ana-supply = <&pm8941_l22>; - vcc_i2c-supply = <&pm8941_s3>; - atmel,reset-gpio = <&msmgpio 60 0x00>; - atmel,irq-gpio = <&msmgpio 61 0x00>; - atmel,panel-coords = <0 0 1080 1920>; - atmel,display-coords = <0 0 1080 1920>; - atmel,i2c-pull-up; - atmel,no-force-update; - atmel,cfg_1 { - atmel,family-id = <0xa2>; - atmel,variant-id = <0x00>; - atmel,version = <0x11>; - atmel,build = <0xaa>; - atmel,config = [ - /* Object 6, Instance = 0 */ - 00 00 00 00 00 00 - /* Object 38, Instance = 0 */ - 16 00 00 14 09 0C 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 - /* Object 7, Instance = 0 */ - FF FF 0A 03 - /* Object 8, Instance = 0 */ - 5F 00 14 14 00 00 00 01 00 00 - /* Object 9, Instance = 0 */ - 8F 00 00 20 34 00 87 3C 08 03 - 00 05 03 80 0A 14 14 0A 80 07 - 38 04 00 00 00 00 00 00 00 00 - 0F 0F 2E 33 02 00 - /* Object 15, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 - /* Object 18, Instance = 0 */ - 04 00 - /* Object 24, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 - /* Object 25, Instance = 0 */ - 00 00 54 6F F0 55 00 00 00 00 - 00 00 00 00 00 - /* Object 27, Instance = 0 */ - 00 00 00 00 00 00 00 - /* Object 40, Instance = 0 */ - 00 14 14 14 14 - /* Object 42, Instance = 0 */ - 20 14 00 00 00 14 11 00 03 00 - /* Object 43, Instance = 0 */ - 09 00 01 01 91 00 80 00 00 00 - 00 00 - /* Object 46, Instance = 0 */ - 00 00 10 10 00 00 01 00 00 0F - 0A - /* Object 47, Instance = 0 */ - 00 14 23 02 05 1E 01 78 03 10 - 00 00 0C 00 00 00 00 00 00 00 - 00 00 - /* Object 55, Instance = 0 */ - 00 00 00 00 00 00 00 - /* Object 56, Instance = 0 */ - 02 00 01 30 13 14 14 14 15 15 - 15 15 15 15 15 16 16 16 16 16 - 16 16 16 16 16 15 14 14 14 14 - 15 14 14 14 14 13 00 00 01 02 - 05 05 00 00 00 00 00 00 00 00 - 00 - /* Object 57, Instance = 0 */ - 00 00 00 - /* Object 61, Instance = 0 */ - 00 00 00 00 00 - /* Object 62, Instance = 0 */ - 00 01 03 01 00 00 00 00 00 0A - 0F 14 19 23 05 00 0A 05 05 69 - 23 23 34 11 64 06 06 04 40 00 - 00 00 00 00 69 4B 02 00 00 80 - 0A 14 14 18 18 10 10 80 00 80 - 00 00 0F 02 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 - /* Object 63, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 00 - ]; - }; - atmel,cfg_2 { - atmel,family-id = <0xa2>; - atmel,variant-id = <0x00>; - atmel,version = <0x11>; - atmel,build = <0xaa>; - atmel,config = [ - /* Object 6, Instance = 0 */ - 00 00 00 00 00 00 - /* Object 38, Instance = 0 */ - 19 03 00 1E 05 0D 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 - /* Object 7, Instance = 0 */ - 20 08 32 C3 - /* Object 8, Instance = 0 */ - 41 00 14 14 00 00 00 01 00 00 - /* Object 9, Instance = 0 */ - 8F 00 00 20 34 00 87 4B 02 03 - 00 05 03 41 0A 14 14 0A 80 07 - 38 04 00 00 03 03 08 28 02 3C - 0F 0F 2E 33 01 00 - /* Object 15, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 - /* Object 18, Instance = 0 */ - 04 00 - /* Object 24, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 - /* Object 25, Instance = 0 */ - 00 00 54 6F F0 55 00 00 00 00 - 00 00 00 00 00 - /* Object 27, Instance = 0 */ - 00 00 00 00 00 00 00 - /* Object 40, Instance = 0 */ - 00 14 14 14 14 - /* Object 42, Instance = 0 */ - 23 32 14 14 80 00 0A 00 05 05 - /* Object 43, Instance = 0 */ - 08 00 01 01 91 00 80 00 00 00 - 00 00 - /* Object 46, Instance = 0 */ - 00 00 18 18 00 00 01 00 00 0F - 0A - /* Object 47, Instance = 0 */ - 00 14 28 02 05 28 01 78 03 10 - 00 00 0C 00 00 00 00 00 00 00 - 00 00 - /* Object 55, Instance = 0 */ - 00 00 00 00 00 00 00 - /* Object 56, Instance = 0 */ - 01 00 00 30 13 14 14 14 15 15 - 15 15 15 15 15 16 16 16 16 16 - 16 16 16 16 16 15 14 14 14 14 - 15 14 14 14 14 13 03 20 03 01 - 0A 04 00 00 00 00 00 00 00 00 - 1A - /* Object 57, Instance = 0 */ - 00 00 00 - /* Object 61, Instance = 0 */ - 00 00 00 00 00 - /* Object 62, Instance = 0 */ - 00 03 00 07 02 00 00 00 00 00 - 0F 17 23 2D 05 00 05 03 03 69 - 14 14 34 11 64 06 06 04 40 00 - 00 00 00 00 69 3C 02 04 01 00 - 0A 14 14 03 03 03 03 00 00 00 - 00 64 1E 01 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 - /* Object 63, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 00 - /* Object 65, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 - /* Object 66, Instance = 0 */ - 00 00 00 00 00 - ]; - }; - }; - }; - - ext_5v: regulator-smb210 { - compatible = "regulator-fixed"; - regulator-name = "ext_5v"; - gpio = <&pm8941_mpps 2 0>; - startup-delay-us = <12000>; - enable-active-high; - }; - - ath_chip_pwd_l: ath_chip_reset { - compatible = "regulator-fixed"; - regulator-name = "ath_chip_pwd_l"; - gpio = <&pm8941_gpios 33 0>; - enable-active-high; - }; - - bt_ar3002 { - compatible = "qca,ar3002"; - qca,bt-reset-gpio = <&pm8941_gpios 34 0>; - qca,bt-chip-pwd-supply = <&ath_chip_pwd_l>; - qca,bt-vdd-io-supply = <&pm8941_s3>; - qca,bt-vdd-pa-supply = <&pm8941_l19>; - }; - - bt_ar3002_sleep { - compatible = "qca,ar3002_bluesleep"; - host-wake-gpio = <&msmgpio 79 0>; - ext-wake-gpio = <&msmgpio 51 0>; - interrupt-parent = <&msmgpio>; - interrupts = <79 2>; - interrupt-names = "host_wake"; - }; - - sound { - qcom,model = "msm8974-taiko-liquid-snd-card"; - - qcom,audio-routing = - "RX_BIAS", "MCLK", - "LDO_H", "MCLK", - "Lineout_1 amp", "LINEOUT1", - "Lineout_3 amp", "LINEOUT3", - "Lineout_2 amp", "LINEOUT2", - "Lineout_4 amp", "LINEOUT4", - "SPK_ultrasound amp", "SPK_OUT", - "AMIC1", "MIC BIAS4 External", - "MIC BIAS4 External", "Analog Mic4", - "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", - "AMIC5", "MIC BIAS1 External", - "MIC BIAS1 External", "Analog Mic6", - "AMIC6", "MIC BIAS1 External", - "MIC BIAS1 External", "Analog Mic7", - "DMIC1", "MIC BIAS3 External", - "MIC BIAS3 External", "Digital Mic1", - "DMIC2", "MIC BIAS3 External", - "MIC BIAS3 External", "Digital Mic2", - "DMIC3", "MIC BIAS2 External", - "MIC BIAS2 External", "Digital Mic3", - "DMIC4", "MIC BIAS3 External", - "MIC BIAS3 External", "Digital Mic4", - "DMIC5", "MIC BIAS2 External", - "MIC BIAS2 External", "Digital Mic5", - "DMIC6", "MIC BIAS2 External", - "MIC BIAS2 External", "Digital Mic6"; - - qcom,ext-spk-amp-supply = <&ext_5v>; - qcom,ext-spk-amp-gpio = <&pm8841_mpps 1 0>; - qcom,dock-plug-det-irq = <&pm8841_mpps 2 0>; - qcom,ext-ult-spk-amp-gpio = <&pm8941_gpios 6 0>; - qcom,hdmi-audio-rx; - - qcom,prim-auxpcm-gpio-clk = <&msmgpio 74 0>; - qcom,prim-auxpcm-gpio-sync = <&msmgpio 75 0>; - qcom,prim-auxpcm-gpio-din = <&msmgpio 76 0>; - qcom,prim-auxpcm-gpio-dout = <&msmgpio 77 0>; - qcom,prim-auxpcm-gpio-set = "prim-gpio-tert"; - }; - - hsic_hub { - compatible = "qcom,hsic-smsc-hub"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - smsc,reset-gpio = <&pm8941_gpios 8 0x00>; - smsc,refclk-gpio = <&pm8941_gpios 16 0x00>; - smsc,int-gpio = <&msmgpio 50 0x00>; - hub_int-supply = <&pm8941_l10>; - hub_vbus-supply = <&ext_5v>; - - hsic_host: hsic@f9a00000 { - compatible = "qcom,hsic-host"; - reg = <0xf9a00000 0x400>; - #address-cells = <0>; - interrupt-parent = <&hsic_host>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 136 0 - 1 &intc 0 148 0 - 2 &msmgpio 144 0x8>; - interrupt-names = "core_irq", "async_irq", "wakeup"; - HSIC_VDDCX-supply = <&pm8841_s2>; - HSIC_GDSC-supply = <&gdsc_usb_hsic>; - hsic,strobe-gpio = <&msmgpio 144 0x00>; - hsic,data-gpio = <&msmgpio 145 0x00>; - hsic,ignore-cal-pad-config; - hsic,strobe-pad-offset = <0x2050>; - hsic,data-pad-offset = <0x2054>; - - qcom,msm-bus,name = "hsic"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <85 512 0 0>, - <85 512 40000 160000>; - }; - }; - - wlan0: qca,wlan { - compatible = "qca,ar6004-hsic"; - qcom,msm-bus,name = "wlan"; - qca,wifi-chip-pwd-supply = <&ath_chip_pwd_l>; - qca,wifi-vddpa-supply = <&pm8941_l19>; - qca,wifi-vddio-supply = <&pm8941_l10>; - qcom,msm-bus,num-cases = <5>; - qcom,msm-bus,active-only = <0>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <85 512 0 0>, - <85 512 40000 160000>, - <85 512 40000 320000>, - <85 512 40000 480000>, - <85 512 40000 800000>; - }; - - wlan_sdio:qca,wlan_sdio { - compatible = "qca,ar6004-sdio"; - qcom,msm-bus,name = "wlan_sdio"; - qca,wifi-chip-pwd-supply = <&ath_chip_pwd_l>; - }; -}; - -&mdss_fb0 { - qcom,memory-reservation-size = <0x1000000>; /* size 16MB */ -}; - -&uart7 { - status = "ok"; - qcom,tx-gpio = <&msmgpio 41 0x00>; - qcom,rx-gpio = <&msmgpio 42 0x00>; - qcom,cts-gpio = <&msmgpio 43 0x00>; - qcom,rfr-gpio = <&msmgpio 44 0x00>; -}; - -&usb3 { - qcom,otg-capability; -}; - -&pm8941_mvs2 { - parent-supply = <&ext_5v>; -}; - -&pm8941_gpios { - gpio@c000 { /* GPIO 1 */ - qcom,mode = <0>; - qcom,pull = <0>; - qcom,vin-sel = <2>; - qcom,src-sel = <0>; - }; - - gpio@c100 { /* GPIO 2 */ - qcom,mode = <0>; - qcom,pull = <0>; - qcom,vin-sel = <2>; - qcom,src-sel = <0>; - }; - - gpio@c200 { /* GPIO 3 */ - }; - - gpio@c300 { /* GPIO 4 */ - }; - - gpio@c400 { /* GPIO 5 */ - qcom,mode = <0>; - qcom,pull = <0>; - qcom,vin-sel = <2>; - qcom,src-sel = <0>; - }; - - gpio@c500 { /* GPIO 6 */ - /* ULTRASOUND_EN_1 PA AB enable */ - qcom,mode = <1>; /* DIG_OUT */ - qcom,output-type = <0>; /* CMOS */ - qcom,pull = <4>; /* PULL_DOWN */ - qcom,vin-sel = <0>; /* VPH */ - qcom,out-strength = <2>; /* STRENGTH_MED */ - qcom,src-sel = <0>; /* CONSTANT */ - qcom,master-en = <1>; - }; - - gpio@c600 { /* GPIO 7 */ - }; - - gpio@c700 { /* GPIO 8 */ - /* HSIC_HUB-RESET */ - qcom,mode = <1>; /* DIG_OUT */ - qcom,pull = <5>; /* PULL_NO */ - qcom,out-strength = <2>; /* STRENGTH_MED */ - qcom,master-en = <1>; - }; - - gpio@c800 { /* GPIO 9 */ - }; - - gpio@c900 { /* GPIO 10 */ - /* SMB350-CHG-EN-N */ - qcom,mode = <1>; /* DIG_OUT */ - qcom,output-type = <0>; /* CMOS */ - qcom,pull = <5>; /* PULL_NO */ - qcom,vin-sel = <0>; /* VPH */ - qcom,out-strength = <2>; /* STRENGTH_MED */ - qcom,src-sel = <0>; /* CONSTANT */ - qcom,master-en = <1>; - }; - - gpio@ca00 { /* GPIO 11 */ - }; - - gpio@cb00 { /* GPIO 12 */ - }; - - gpio@cc00 { /* GPIO 13 */ - /* SMB350-CHG-SUSP-N */ - qcom,mode = <1>; /* DIG_OUT */ - qcom,output-type = <0>; /* CMOS */ - qcom,pull = <5>; /* PULL_NO */ - qcom,vin-sel = <0>; /* VPH */ - qcom,out-strength = <2>; /* STRENGTH_MED */ - qcom,src-sel = <0>; /* CONSTANT */ - qcom,master-en = <1>; - }; - - gpio@cd00 { /* GPIO 14 */ - }; - - gpio@ce00 { /* GPIO 15 */ - qcom,mode = <1>; - qcom,output-type = <0>; - qcom,pull = <5>; - qcom,vin-sel = <2>; - qcom,out-strength = <1>; - qcom,src-sel = <2>; - qcom,master-en = <1>; - }; - - gpio@cf00 { /* GPIO 16 */ - /* HSIC_HUB-INT_N */ - qcom,mode = <1>; - qcom,output-type = <0>; - qcom,pull = <5>; - qcom,vin-sel = <2>; - qcom,out-strength = <3>; - qcom,src-sel = <2>; - qcom,master-en = <1>; - }; - - gpio@d000 { /* GPIO 17 */ - }; - - gpio@d100 { /* GPIO 18 */ - }; - - gpio@d200 { /* GPIO 19 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,output-type = <0>; /* QPNP_PIN_OUT_BUF_CMOS */ - qcom,pull = <5>; /* QPNP_PIN_PULL_NO */ - qcom,vin-sel = <2>; /* QPNP_PIN_VIN2 */ - qcom,out-strength = <2>; /* QPNP_PIN_OUT_STRENGTH_MED */ - qcom,src-sel = <0>; /* QPNP_PIN_SEL_FUNC_CONSTANT */ - qcom,master-en = <1>; - }; - - gpio@d300 { /* GPIO 20 */ - }; - - gpio@d400 { /* GPIO 21 */ - }; - - gpio@d500 { /* GPIO 22 */ - }; - - gpio@d600 { /* GPIO 23 */ - }; - - gpio@d700 { /* GPIO 24 */ - }; - - gpio@d800 { /* GPIO 25 */ - }; - - gpio@d900 { /* GPIO 26 */ - }; - - gpio@da00 { /* GPIO 27 */ - }; - - gpio@db00 { /* GPIO 28 */ - }; - - gpio@dc00 { /* GPIO 29 */ - qcom,pull = <0>; /* set to default pull */ - qcom,master-en = <1>; - qcom,vin-sel = <2>; /* select 1.8 V source */ - }; - - gpio@dd00 { /* GPIO 30 */ - /* SMB350-STAT */ - qcom,mode = <0>; /* DIG_IN */ - qcom,pull = <5>; /* PULL_NO */ - qcom,vin-sel = <2>; /* S3 1.8V */ - qcom,src-sel = <0>; /* CONSTANT */ - qcom,master-en = <1>; - }; - - gpio@de00 { /* GPIO 31 */ - }; - - gpio@df00 { /* GPIO 32 */ - }; - - gpio@e000 { /* GPIO 33 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,output-type = <0>; /* QPNP_PIN_OUT_BUF_CMOS */ - qcom,pull = <5>; /* QPNP_PIN_PULL_NO */ - qcom,vin-sel = <2>; /* QPNP_PIN_VIN2 */ - qcom,out-strength = <2>; /* QPNP_PIN_OUT_STRENGTH_MED */ - qcom,src-sel = <0>; /* QPNP_PIN_SEL_FUNC_CONSTANT */ - qcom,invert = <1>; - qcom,master-en = <1>; - }; - - gpio@e100 { /* GPIO 34 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,output-type = <0>; /* QPNP_PIN_OUT_BUF_CMOS */ - qcom,pull = <5>; /* QPNP_PIN_PULL_NO */ - qcom,vin-sel = <2>; /* QPNP_PIN_VIN2 */ - qcom,out-strength = <2>; /* QPNP_PIN_OUT_STRENGTH_MED */ - qcom,src-sel = <0>; /* QPNP_PIN_SEL_FUNC_CONSTANT */ - qcom,invert = <0>; - qcom,master-en = <1>; - }; - - gpio@e200 { /* GPIO 35 */ - }; - - gpio@e300 { /* GPIO 36 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,output-type = <0>; /* QPNP_PIN_OUT_BUF_CMOS */ - qcom,pull = <5>; /* QPNP_PIN_PULL_NO */ - qcom,vin-sel = <2>; /* QPNP_PIN_VIN2 */ - qcom,out-strength = <3>; /* QPNP_PIN_OUT_STRENGTH_HIGH */ - qcom,src-sel = <3>; /* QPNP_PIN_SEL_FUNC_2 */ - qcom,master-en = <1>; - }; -}; - -&pm8941_mpps { - - mpp@a000 { /* MPP 1 */ - status = "disabled"; - }; - - mpp@a100 { /* MPP 2 */ - /* ext_5v regulator enable */ - qcom,mode = <1>; /* Digital output */ - qcom,invert = <0>; /* Output low initially */ - qcom,vin-sel = <2>; /* PM8941 S3 = 1.8 V */ - qcom,src-sel = <0>; /* Constant */ - qcom,master-en = <1>; /* Enable MPP */ - }; - - mpp@a200 { /* MPP 3 */ - }; - - mpp@a300 { /* MPP 4 */ - }; - - mpp@a400 { /* MPP 5 */ - /* SPI_ETH config */ - qcom,mode = <1>; /* DIG_OUT */ - qcom,output-type = <0>; /* CMOS */ - qcom,vin-sel = <2>; /* PM8941_S3 1.8V > 1.6V */ - qcom,src-sel = <0>; /* CONSTANT */ - qcom,master-en = <1>; /* ENABLE MPP */ - }; - - mpp@a500 { /* MPP 6 */ - /* SPI_ETH_RST config */ - qcom,mode = <1>; /* DIG_OUT */ - qcom,output-type = <0>; /* CMOS */ - qcom,vin-sel = <2>; /* PM8941_S3 1.8V > 1.6V */ - qcom,src-sel = <0>; /* CONSTANT */ - qcom,master-en = <1>; /* ENABLE MPP */ - }; - - mpp@a600 { /* MPP 7 */ - }; - - mpp@a700 { /* MPP 8 */ - }; -}; - -&pm8841_mpps { - - mpp@a000 { /* MPP 1 */ - /* CLASS_D_EN speakers PA */ - qcom,mode = <1>; /* DIG_OUT */ - qcom,output-type = <0>; /* PNP_PIN_OUT_BUF_CMOS */ - qcom,vin-sel = <2>; /* S3A 1.8v */ - qcom,src-select = <0>; /* CONSTANT */ - qcom,master-en = <1>; /* ENABLE MPP */ - }; - - mpp@a100 { /* MPP 2 */ - /* DOCK_PLUG_DET speakers+docking detect irq*/ - qcom,mode = <0>; /* DIG_IN */ - qcom,vin-sel = <2>; /* S3A 1.8v */ - qcom,src-sel = <0>; /* CONSTANT */ - qcom,master-en = <1>; /* ENABLE MPP */ - }; - - mpp@a200 { /* HDMI_MUX_SEL MPP 3*/ - status = "ok"; - qcom,mode = <1>; /* DIG_OUT */ - qcom,output-type = <0>; /* CMOS */ - qcom,vin-sel = <2>; /* PM8841_S3A 1.8V */ - qcom,src-sel = <0>; /* CONSTANT */ - qcom,master-en = <1>; /* ENABLE MPP */ - }; - - mpp@a300 { /* HDMI_MUX_EN MPP 4*/ - status = "ok"; - qcom,mode = <1>; /* DIG_OUT */ - qcom,output-type = <0>; /* CMOS */ - qcom,vin-sel = <0>; /* PM8841_VPH 3.4V */ - qcom,src-sel = <0>; /* CONSTANT */ - qcom,master-en = <1>; /* ENABLE MPP */ - }; -}; - -&vph_pwr_vreg { - status = "ok"; -}; - -&slim_msm { - taiko_codec { - qcom,cdc-micbias1-ext-cap; - qcom,cdc-micbias2-ext-cap; - qcom,cdc-micbias3-ext-cap; - qcom,cdc-micbias4-ext-cap; - - /* - * Liquid has external spkrdrv supply. Give a dummy supply to - * make codec driver's happy. - */ - cdc-vdd-spkdrv-supply = <&vph_pwr_vreg>; - qcom,cdc-vdd-spkdrv-voltage = <0 0>; - qcom,cdc-vdd-spkdrv-current = <0>; - - qcom,cdc-on-demand-supplies = "cdc-vdd-spkdrv"; - }; -}; - -&spi_epm { - epm-adc@0 { - compatible = "cy,epm-adc-cy8c5568lti-114"; - reg = <0>; - interrupt-parent = <&msmgpio>; - spi-max-frequency = <960000>; - qcom,channels = <31>; - qcom,gain = <50 50 50 50 50 100 50 50 50 50 - 50 50 50 50 100 50 50 50 50 100 - 50 50 50 100 50 50 50 1 1 1 - 1>; - qcom,rsense = <40 10 10 25 10 1000 75 25 10 25 - 33 500 200 10 500 100 33 200 25 100 - 75 500 50 200 5 5 3 1 1 1 - 1>; - qcom,channel-type = <0xf0000000>; - }; -}; - -&spmi_bus { - qcom,pm8941@1 { - qcom,leds@d000 { - qcom,rgb_2 { - status = "ok"; - qcom,default-state = "on"; - qcom,turn-off-delay-ms = <1000>; - }; - }; - }; -}; - -&pm8941_chg { - status = "ok"; - otg-parent-supply = <&ext_5v>; - - qcom,charging-disabled; - - qcom,chgr@1000 { - status = "ok"; - }; - - qcom,buck@1100 { - status = "ok"; - }; - - qcom,usb-chgpth@1300 { - status = "ok"; - }; - - qcom,dc-chgpth@1400 { - status = "ok"; - }; - - qcom,boost@1500 { - status = "ok"; - }; - - qcom,chg-misc@1600 { - status = "ok"; - }; -}; - -&sdcc1 { - status = "disabled"; -}; - -&sdcc2 { - status = "disabled"; -}; - -&sdhc_1 { - vdd-supply = <&pm8941_l20>; - vdd-io-supply = <&pm8941_s3>; - - qcom,vdd-always-on; - qcom,vdd-lpm-sup; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <800 500000>; - - qcom,vdd-io-always-on; - qcom,vdd-io-voltage-level = <1800000 1800000>; - qcom,vdd-io-current-level = <250 154000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,nonremovable; - status = "ok"; -}; - -&sdhc_2 { - vdd-supply = <&pm8941_l21>; - vdd-io-supply = <&pm8941_l13>; - - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <9000 800000>; - - qcom,vdd-io-voltage-level = <1800000 2950000>; - qcom,vdd-io-current-level = <6 22000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - status = "ok"; -}; - -/* Drive strength recommendations for clock line from hardware team is 10 mA. - * But since the driver has been been using the below values from the start - * without any problems, continue to use those. - */ -&sdcc1 { - qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */ -}; - -&sdcc2 { - qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */ -}; - -&sdhc_1 { - qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */ -}; - -&sdhc_2 { - qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */ -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8974-mdss.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v1/msm8974-mdss.dtsi deleted file mode 100644 index 6b8d600ed..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8974-mdss.dtsi +++ /dev/null @@ -1,148 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&soc { - mdss_mdp: qcom,mdss_mdp@fd900000 { - compatible = "qcom,mdss_mdp"; - reg = <0xfd900000 0x22100>, - <0xfd924000 0x1000>; - reg-names = "mdp_phys", "vbif_phys"; - interrupts = <0 72 0>; - vdd-supply = <&gdsc_mdss>; - - qcom,max-clk-rate = <320000000>; - qcom,mdss-pipe-vig-off = <0x00001200 0x00001600 - 0x00001A00>; - qcom,mdss-pipe-rgb-off = <0x00001E00 0x00002200 - 0x00002600>; - qcom,mdss-pipe-dma-off = <0x00002A00 0x00002E00>; - qcom,mdss-pipe-vig-fetch-id = <1 4 7>; - qcom,mdss-pipe-rgb-fetch-id = <16 17 18>; - qcom,mdss-pipe-dma-fetch-id = <10 13>; - qcom,mdss-smp-data = <22 4096>; - - qcom,mdss-ctl-off = <0x00000600 0x00000700 0x00000800 - 0x00000900 0x0000A00>; - qcom,mdss-mixer-intf-off = <0x00003200 0x00003600 - 0x00003A00>; - qcom,mdss-mixer-wb-off = <0x00003E00 0x00004200>; - qcom,mdss-dspp-off = <0x00004600 0x00004A00 0x00004E00>; - qcom,mdss-wb-off = <0x00011100 0x00013100 0x00015100 - 0x00017100 0x00019100>; - qcom,mdss-intf-off = <0x00021100 0x00021300 - 0x00021500 0x00021700>; - - qcom,vbif-settings = <0x0004 0x00000001>, - <0x00D8 0x00000707>, - <0x00F0 0x00000030>, - <0x0124 0x00000001>, - <0x0178 0x00000FFF>, - <0x017C 0x0FFF0FFF>, - <0x0160 0x22222222>, - <0x0164 0x00002222>; - qcom,mdp-settings = <0x02E0 0x000000E9>, - <0x02E4 0x00000055>, - <0x03AC 0xC0000CCC>, - <0x03B4 0xC0000CCC>, - <0x03BC 0x00CCCCCC>, - <0x04A8 0x0CCCC0C0>, - <0x04B0 0xCCCCC0C0>, - <0x04B8 0xCCCCC000>; - - mdss_fb0: qcom,mdss_fb_primary { - cell-index = <0>; - compatible = "qcom,mdss-fb"; - qcom,memory-reservation-type = "EBI1"; - qcom,memory-reservation-size = <0x800000>; - }; - - mdss_fb1: qcom,mdss_fb_external { - cell-index = <1>; - compatible = "qcom,mdss-fb"; - }; - - mdss_fb2: qcom,mdss_fb_wfd { - cell-index = <2>; - compatible = "qcom,mdss-fb"; - }; - }; - - mdss_dsi0: qcom,mdss_dsi@fd922800 { - compatible = "qcom,mdss-dsi-ctrl"; - label = "MDSS DSI CTRL->0"; - cell-index = <0>; - reg = <0xfd922800 0x600>; - vdd-supply = <&pm8941_l22>; - vddio-supply = <&pm8941_l12>; - vdda-supply = <&pm8941_l2>; - qcom,mdss-fb-map = <&mdss_fb0>; - }; - - mdss_dsi1: qcom,mdss_dsi@fd922e00 { - compatible = "qcom,mdss-dsi-ctrl"; - label = "MDSS DSI CTRL->1"; - cell-index = <1>; - reg = <0xfd922e00 0x600>; - vdd-supply = <&pm8941_l22>; - vddio-supply = <&pm8941_l12>; - vdda-supply = <&pm8941_l2>; - qcom,mdss-fb-map = <&mdss_fb0>; - }; - - mdss_hdmi_tx: qcom,hdmi_tx@fd922100 { - cell-index = <0>; - compatible = "qcom,hdmi-tx"; - reg = <0xfd922100 0x35C>, - <0xfd922500 0x7C>, - <0xfc4b8000 0x60F0>; - reg-names = "core_physical", "phy_physical", "qfprom_physical"; - - hpd-gdsc-supply = <&gdsc_mdss>; - hpd-5v-supply = <&pm8941_mvs2>; - core-vdda-supply = <&pm8941_l12>; - core-vcc-supply = <&pm8941_s3>; - qcom,hdmi-tx-supply-names = "hpd-gdsc", "hpd-5v", "core-vdda", "core-vcc"; - qcom,hdmi-tx-min-voltage-level = <0 0 1800000 1800000>; - qcom,hdmi-tx-max-voltage-level = <0 0 1800000 1800000>; - qcom,hdmi-tx-peak-current = <0 0 1800000 0>; - - qcom,hdmi-tx-cec = <&msmgpio 31 0>; - qcom,hdmi-tx-ddc-clk = <&msmgpio 32 0>; - qcom,hdmi-tx-ddc-data = <&msmgpio 33 0>; - qcom,hdmi-tx-hpd = <&msmgpio 34 0>; - qcom,mdss-fb-map = <&mdss_fb1>; - qcom,msm-hdmi-audio-rx { - compatible = "qcom,msm-hdmi-audio-codec-rx"; - }; - }; - - qcom,mdss_wb_panel { - compatible = "qcom,mdss_wb"; - qcom,mdss_pan_res = <1920 1080>; - qcom,mdss_pan_bpp = <24>; - qcom,mdss-fb-map = <&mdss_fb2>; - }; - - mdss_edp: qcom,mdss_edp@fd923400 { - compatible = "qcom,mdss-edp"; - reg = <0xfd923400 0x700>, - <0xfd8c2000 0x1000>; - reg-names = "edp_base", "mmss_cc_base"; - vdda-supply = <&pm8941_l12>; - gpio-panel-en = <&msmgpio 58 0>; - gpio-panel-pwm = <&pm8941_gpios 36 0>; - qcom,panel-lpg-channel = <7>; /* LPG Channel 8 */ - qcom,panel-pwm-period = <53>; - status = "disable"; - qcom,mdss-fb-map = <&mdss_fb0>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8974-mtp.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v1/msm8974-mtp.dtsi deleted file mode 100644 index e798fc0f9..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8974-mtp.dtsi +++ /dev/null @@ -1,705 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/include/ "dsi-panel-toshiba-720p-video.dtsi" -/include/ "msm8974-camera-sensor-mtp.dtsi" -/include/ "msm8974-leds.dtsi" - -&soc { - serial@f991e000 { - status = "ok"; - }; - - qcom,mdss_dsi_toshiba_720p_video { - status = "ok"; - qcom,cont-splash-enabled; - }; - - qcom,hdmi_tx@fd922100 { - status = "disabled"; - }; - - i2c@f9924000 { - atmel_mxt_ts@4a { - compatible = "atmel,mxt-ts"; - reg = <0x4a>; - interrupt-parent = <&msmgpio>; - interrupts = <61 0x2>; - vdd_ana-supply = <&pm8941_l18>; - vcc_i2c-supply = <&pm8941_lvs1>; - atmel,reset-gpio = <&msmgpio 60 0x00>; - atmel,irq-gpio = <&msmgpio 61 0x00>; - atmel,panel-coords = <0 0 760 1424>; - atmel,display-coords = <0 0 720 1280>; - atmel,i2c-pull-up; - atmel,no-force-update; - atmel,cfg_1 { - atmel,family-id = <0x82>; - atmel,variant-id = <0x19>; - atmel,version = <0x10>; - atmel,build = <0xaa>; - atmel,config = [ - /* Object 6, Instance = 0 */ - 00 00 00 00 00 00 - /* Object 38, Instance = 0 */ - 15 01 00 03 0A 0C 00 00 - /* Object 7, Instance = 0 */ - 20 08 32 03 - /* Object 8, Instance = 0 */ - 0F 00 0A 0A 00 00 0A 0A 00 00 - /* Object 9, Instance = 0 */ - 83 00 00 18 0E 00 70 46 02 01 - 00 0A 03 31 04 05 0A 0A 90 05 - F8 02 05 F1 F1 0F 00 00 08 2D - 12 06 00 00 00 01 - /* Object 15, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 - /* Object 18, Instance = 0 */ - 00 00 - /* Object 19, Instance = 0 */ - 00 00 00 00 00 00 - /* Object 23, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 - /* Object 25, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 - /* Object 40, Instance = 0 */ - 00 00 00 00 00 - /* Object 42, Instance = 0 */ - 33 1E 19 10 80 00 00 00 FF 00 - /* Object 46, Instance = 0 */ - 00 00 10 10 00 00 03 00 00 01 - /* Object 47, Instance = 0 */ - 08 0A 28 0A 02 0A 00 8C 00 20 - 00 00 00 - /* Object 55, Instance = 0 */ - 00 00 00 00 00 00 - /* Object 56, Instance = 0 */ - 00 00 00 18 05 05 05 05 05 05 - 05 05 05 05 05 05 05 05 05 05 - 05 05 05 05 05 05 05 05 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 - /* Object 57, Instance = 0 */ - 00 00 00 - /* Object 61, Instance = 0 */ - 00 00 00 00 00 - /* Object 62, Instance = 0 */ - 01 2A 00 16 00 00 00 00 0B 01 - 02 03 04 08 00 00 08 10 18 05 - 00 0A 05 05 50 14 19 34 1A 7F - 00 00 00 00 00 00 00 00 00 30 - 05 02 00 01 00 05 00 00 00 00 - 00 00 00 00 - ]; - }; - }; - }; - - gen-vkeys { - compatible = "qcom,gen-vkeys"; - label = "atmel_mxt_ts"; - qcom,disp-maxx = <720>; - qcom,disp-maxy = <1280>; - qcom,panel-maxx = <760>; - qcom,panel-maxy = <1424>; - qcom,key-codes = <158 139 102 217>; - }; - - i2c@f9967000 { - isa1200@48 { - status = "okay"; - reg = <0x48>; - vcc_i2c-supply = <&pm8941_s3>; - compatible = "imagis,isa1200"; - label = "vibrator"; - imagis,chip-en; - imagis,need-pwm-clk; - imagis,ext-clk-en; - imagis,hap-en-gpio = <&msmgpio 86 0x00>; - imagis,max-timeout = <15000>; - imagis,pwm-div = <256>; - imagis,mode-ctrl = <2>; - imagis,regulator { - regulator-name = "vcc_i2c"; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - regulator-max-microamp = <9360>; - }; - }; - }; - - gpio_keys { - compatible = "gpio-keys"; - input-name = "gpio-keys"; - - camera_snapshot { - label = "camera_snapshot"; - gpios = <&pm8941_gpios 3 0x1>; - linux,input-type = <1>; - linux,code = <0x2fe>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - - camera_focus { - label = "camera_focus"; - gpios = <&pm8941_gpios 4 0x1>; - linux,input-type = <1>; - linux,code = <0x210>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - - vol_up { - label = "volume_up"; - gpios = <&pm8941_gpios 5 0x1>; - linux,input-type = <1>; - linux,code = <115>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - }; - - spi@f9923000 { - ethernet-switch@2 { - compatible = "micrel,ks8851"; - reg = <2>; - interrupt-parent = <&msmgpio>; - interrupts = <94 0>; - spi-max-frequency = <4800000>; - rst-gpio = <&pm8941_mpps 6 0>; - vdd-io-supply = <&spi_eth_vreg>; - vdd-phy-supply = <&spi_eth_vreg>; - }; - }; - - sound { - qcom,model = "msm8974-taiko-mtp-snd-card"; - qcom,cdc-micbias2-headset-only; - }; -}; - -&spmi_bus { - qcom,pm8941@1 { - qcom,leds@d800 { - status = "okay"; - qcom,wled_0 { - label = "wled"; - linux,name = "wled:backlight"; - linux,default-trigger = "bkl-trigger"; - qcom,cs-out-en; - qcom,op-fdbck = <1>; - qcom,default-state = "on"; - qcom,max-current = <25>; - qcom,ctrl-delay-us = <0>; - qcom,boost-curr-lim = <3>; - qcom,cp-sel = <0>; - qcom,switch-freq = <2>; - qcom,ovp-val = <2>; - qcom,num-strings = <1>; - qcom,id = <0>; - }; - }; - - qcom,leds@d900 { - status = "disabled"; - }; - - qcom,leds@da00 { - status = "disabled"; - }; - - qcom,leds@db00 { - status = "disabled"; - }; - - qcom,leds@dc00 { - status = "disabled"; - }; - - qcom,leds@dd00 { - status = "disabled"; - }; - - qcom,leds@de00 { - status = "disabled"; - }; - - qcom,leds@df00 { - status = "disabled"; - }; - - qcom,leds@e000 { - status = "disabled"; - }; - - qcom,leds@e100 { - status = "disabled"; - }; - }; -}; - -&sdcc1 { - status = "disabled"; -}; - -&sdcc2 { - #address-cells = <0>; - interrupt-parent = <&sdcc2>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 125 0 - 1 &intc 0 220 0 - 2 &msmgpio 62 0x3>; - interrupt-names = "core_irq", "bam_irq", "status_irq"; - cd-gpios = <&msmgpio 62 0x1>; - status = "disabled"; -}; - -&sdhc_1 { - vdd-supply = <&pm8941_l20>; - vdd-io-supply = <&pm8941_s3>; - - qcom,vdd-always-on; - qcom,vdd-lpm-sup; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <800 500000>; - - qcom,vdd-io-always-on; - qcom,vdd-io-voltage-level = <1800000 1800000>; - qcom,vdd-io-current-level = <250 154000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,nonremovable; - status = "ok"; -}; - -&sdhc_2 { - #address-cells = <0>; - interrupt-parent = <&sdhc_2>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 125 0 - 1 &intc 0 221 0 - 2 &msmgpio 62 0x3>; - interrupt-names = "hc_irq", "pwr_irq", "status_irq"; - cd-gpios = <&msmgpio 62 0x1>; - - vdd-supply = <&pm8941_l21>; - vdd-io-supply = <&pm8941_l13>; - - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <9000 800000>; - - qcom,vdd-io-voltage-level = <1800000 2950000>; - qcom,vdd-io-current-level = <6 22000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - status = "ok"; -}; - -/* Drive strength recommendations for clock line from hardware team is 10 mA. - * But since the driver has been been using the below values from the start - * without any problems, continue to use those. - */ -&sdcc1 { - qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */ -}; - -&sdcc2 { - qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */ -}; - -&sdhc_1 { - qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */ -}; - -&sdhc_2 { - qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */ -}; - -&usb_otg { - qcom,hsusb-otg-otg-control = <2>; -}; - -&uart7 { - status = "ok"; -}; - -&usb3 { - qcom,otg-capability; -}; - -&pm8941_bms { - status = "ok"; -}; - -&pm8941_chg { - status = "ok"; - qcom,charging-disabled; - - qcom,chgr@1000 { - status = "ok"; - }; - - qcom,buck@1100 { - status = "ok"; - }; - - qcom,bat-if@1200 { - status = "ok"; - }; - - qcom,usb-chgpth@1300 { - status = "ok"; - }; - - qcom,dc-chgpth@1400 { - status = "ok"; - }; - - qcom,boost@1500 { - status = "ok"; - }; - - qcom,chg-misc@1600 { - status = "ok"; - }; -}; - -&pm8941_gpios { - gpio@c000 { /* GPIO 1 */ - qcom,mode = <0>; /* QPNP_PIN_MODE_DIG_IN */ - qcom,pull = <0>; /* QPNP_PIN_PULL_UP_30 */ - qcom,master-en = <1>; - }; - - gpio@c100 { /* GPIO 2 */ - qcom,mode = <0>; /* QPNP_PIN_MODE_DIG_IN */ - qcom,pull = <0>; /* QPNP_PIN_PULL_UP_30 */ - qcom,master-en = <1>; - }; - - gpio@c200 { /* GPIO 3 */ - qcom,mode = <0>; /* QPNP_PIN_MODE_DIG_IN */ - qcom,pull = <0>; /* QPNP_PIN_PULL_UP_30 */ - qcom,vin-sel = <2>; - qcom,src-sel = <0>; /* QPNP_PIN_SEL_FUNC_CONSTANT */ - qcom,master-en = <1>; - }; - - gpio@c300 { /* GPIO 4 */ - qcom,mode = <0>; /* QPNP_PIN_MODE_DIG_IN */ - qcom,pull = <0>; /* QPNP_PIN_PULL_UP_30 */ - qcom,vin-sel = <2>; /* QPNP_PIN_VIN2 */ - qcom,src-sel = <0>; /* QPNP_PIN_SEL_FUNC_CONSTANT */ - qcom,master-en = <1>; - }; - - gpio@c400 { /* GPIO 5 */ - qcom,mode = <0>; /* QPNP_PIN_MODE_DIG_IN */ - qcom,pull = <0>; /* QPNP_PIN_PULL_UP_30 */ - qcom,vin-sel = <2>; /* QPNP_PIN_VIN2 */ - qcom,src-sel = <0>; /* QPNP_PIN_SEL_FUNC_CONSTANT */ - qcom,master-en = <1>; - }; - - gpio@c500 { /* GPIO 6 */ - qcom,mode = <0>; /* QPNP_PIN_MODE_DIG_IN */ - qcom,pull = <0>; /* QPNP_PIN_PULL_UP_30 */ - qcom,master-en = <1>; - }; - - gpio@c600 { /* GPIO 7 */ - qcom,mode = <0>; /* QPNP_PIN_MODE_DIG_IN */ - qcom,pull = <0>; /* QPNP_PIN_PULL_UP_30 */ - qcom,master-en = <1>; - }; - - gpio@c700 { /* GPIO 8 */ - qcom,mode = <0>; /* QPNP_PIN_MODE_DIG_IN */ - qcom,pull = <0>; /* QPNP_PIN_PULL_UP_30 */ - qcom,master-en = <1>; - }; - - gpio@c800 { /* GPIO 9 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */ - qcom,src-sel = <2>; /* QPNP_PIN_SEL_FUNC_1 */ - qcom,master-en = <1>; - }; - - gpio@c900 { /* GPIO 10 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */ - qcom,src-sel = <2>; /* QPNP_PIN_SEL_FUNC_1 */ - qcom,master-en = <1>; - }; - - gpio@ca00 { /* GPIO 11 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */ - qcom,src-sel = <2>; /* QPNP_PIN_SEL_FUNC_1 */ - qcom,master-en = <1>; - }; - - gpio@cb00 { /* GPIO 12 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */ - qcom,src-sel = <2>; /* QPNP_PIN_SEL_FUNC_1 */ - qcom,master-en = <1>; - }; - - gpio@cc00 { /* GPIO 13 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */ - qcom,src-sel = <2>; /* QPNP_PIN_SEL_FUNC_1 */ - qcom,master-en = <1>; - }; - - gpio@cd00 { /* GPIO 14 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */ - qcom,src-sel = <2>; /* QPNP_PIN_SEL_FUNC_1 */ - qcom,master-en = <1>; - }; - - gpio@ce00 { /* GPIO 15 */ - qcom,mode = <1>; - qcom,output-type = <0>; - qcom,pull = <5>; - qcom,vin-sel = <2>; - qcom,out-strength = <1>; - qcom,src-sel = <2>; - qcom,master-en = <1>; - }; - - gpio@cf00 { /* GPIO 16 */ - qcom,mode = <1>; - qcom,output-type = <0>; - qcom,pull = <5>; - qcom,vin-sel = <2>; - qcom,out-strength = <3>; - qcom,src-sel = <3>; /* QPNP_PIN_SEL_FUNC_2 */ - qcom,master-en = <1>; - }; - - gpio@d000 { /* GPIO 17 */ - }; - - gpio@d100 { /* GPIO 18 */ - }; - - gpio@d200 { /* GPIO 19 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,output-type = <0>; /* QPNP_PIN_OUT_BUF_CMOS */ - qcom,pull = <5>; /* QPNP_PIN_PULL_NO */ - qcom,vin-sel = <2>; /* QPNP_PIN_VIN2 */ - qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */ - qcom,src-sel = <0>; /* QPNP_PIN_SEL_FUNC_CONSTANT */ - qcom,master-en = <1>; - }; - - gpio@d300 { /* GPIO 20 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */ - qcom,src-sel = <2>; /* QPNP_PIN_SEL_FUNC_1 */ - qcom,master-en = <1>; - }; - - gpio@d400 { /* GPIO 21 */ - }; - - gpio@d500 { /* GPIO 22 */ - qcom,mode = <0>; /* QPNP_PIN_MODE_DIG_IN */ - qcom,pull = <4>; /* QPNP_PIN_PULL_DN */ - qcom,master-en = <1>; - }; - - gpio@d600 { /* GPIO 23 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */ - qcom,src-sel = <2>; /* QPNP_PIN_SEL_FUNC_1 */ - qcom,master-en = <1>; - }; - - gpio@d700 { /* GPIO 24 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */ - qcom,src-sel = <2>; /* QPNP_PIN_SEL_FUNC_1 */ - qcom,master-en = <1>; - }; - - gpio@d800 { /* GPIO 25 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */ - qcom,src-sel = <2>; /* QPNP_PIN_SEL_FUNC_1 */ - qcom,master-en = <1>; - }; - - gpio@d900 { /* GPIO 26 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */ - qcom,src-sel = <2>; /* QPNP_PIN_SEL_FUNC_1 */ - qcom,master-en = <1>; - }; - - gpio@da00 { /* GPIO 27 */ - qcom,mode = <0>; /* QPNP_PIN_MODE_DIG_IN */ - qcom,pull = <4>; /* QPNP_PIN_PULL_DN */ - qcom,master-en = <1>; - }; - - gpio@db00 { /* GPIO 28 */ - }; - - gpio@dc00 { /* GPIO 29 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */ - qcom,src-sel = <2>; /* QPNP_PIN_SEL_FUNC_1 */ - qcom,master-en = <1>; - }; - - gpio@dd00 { /* GPIO 30 */ - qcom,mode = <0>; /* QPNP_PIN_MODE_DIG_IN */ - qcom,pull = <4>; /* QPNP_PIN_PULL_DN */ - qcom,master-en = <1>; - }; - - gpio@de00 { /* GPIO 31 */ - }; - - gpio@df00 { /* GPIO 32 */ - qcom,mode = <0>; /* QPNP_PIN_MODE_DIG_IN */ - qcom,pull = <4>; /* QPNP_PIN_PULL_DN */ - qcom,master-en = <1>; - }; - - gpio@e000 { /* GPIO 33 */ - qcom,mode = <0>; /* QPNP_PIN_MODE_DIG_IN */ - qcom,pull = <4>; /* QPNP_PIN_PULL_DN */ - qcom,master-en = <1>; - }; - - gpio@e100 { /* GPIO 34 */ - qcom,mode = <0>; /* QPNP_PIN_MODE_DIG_IN */ - qcom,pull = <4>; /* QPNP_PIN_PULL_DN */ - qcom,master-en = <1>; - }; - - gpio@e200 { /* GPIO 35 */ - qcom,mode = <0>; /* QPNP_PIN_MODE_DIG_IN */ - qcom,pull = <4>; /* QPNP_PIN_PULL_DN */ - qcom,master-en = <1>; - }; - - gpio@e300 { /* GPIO 36 */ - }; -}; - -&pm8941_mpps { - - mpp@a000 { /* MPP 1 */ - status = "disabled"; - }; - - mpp@a100 { /* MPP 2 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */ - qcom,master-en = <1>; - }; - - mpp@a200 { /* MPP 3 */ - }; - - mpp@a300 { /* MPP 4 */ - }; - - mpp@a400 { /* MPP 5 */ - }; - - mpp@a500 { /* MPP 6 */ - /* SPI_ETH_RST config */ - qcom,mode = <1>; /* DIG_OUT */ - qcom,output-type = <0>; /* CMOS */ - qcom,vin-sel = <2>; /* PM8941_S3 1.8V > 1.6V */ - qcom,src-sel = <0>; /* CONSTANT */ - qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */ - qcom,master-en = <1>; /* ENABLE MPP */ - }; - - mpp@a600 { /* MPP 7 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */ - qcom,master-en = <1>; - }; - - mpp@a700 { /* MPP 8 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */ - qcom,master-en = <1>; - }; -}; - -&pm8841_mpps { - - mpp@a000 { /* MPP 1 */ - }; - - mpp@a100 { /* MPP 2 */ - }; - - mpp@a200 { /* MPP 3 */ - }; - - mpp@a300 { /* MPP 4 */ - }; -}; - -&slim_msm { - taiko_codec { - qcom,cdc-micbias1-ext-cap; - qcom,cdc-micbias2-ext-cap; - qcom,cdc-micbias4-ext-cap; - }; -}; - -&spi_epm { - epm-adc@0 { - compatible = "cy,epm-adc-cy8c5568lti-114"; - reg = <0>; - interrupt-parent = <&msmgpio>; - spi-max-frequency = <960000>; - qcom,channels = <31>; - qcom,gain = <100 100 100 50 100 100 1 100 1 50 - 1 100 1 100 50 50 50 50 50 50 - 100 50 100 50 50 50 50 50 50 50 - 50>; - qcom,rsense = <2 2 2 200 20 2 1 2 1 30 - 1 10 1 30 50 30 500 30 100 30 - 100 500 20 200 1000 20 1000 1000 70 200 - 50>; - qcom,channel-type = <0x1540>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8974-regulator.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v1/msm8974-regulator.dtsi deleted file mode 100644 index 2114686eb..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8974-regulator.dtsi +++ /dev/null @@ -1,568 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - - -/* QPNP controlled regulators: */ - -&spmi_bus { - - qcom,pm8941@1 { - - pm8941_boost: regulator@a000 { - regulator-min-microvolt = <5000000>; - regulator-max-microvolt = <5000000>; - qcom,enable-time = <500>; - status = "okay"; - }; - - pm8941_mvs1: regulator@8300 { - parent-supply = <&pm8941_chg_otg>; - qcom,enable-time = <1000>; - qcom,pull-down-enable = <1>; - interrupts = <0x1 0x83 0x2>; - interrupt-names = "ocp"; - qcom,ocp-enable = <1>; - qcom,ocp-max-retries = <10>; - qcom,ocp-retry-delay = <30>; - qcom,soft-start-enable = <1>; - qcom,vs-soft-start-strength = <0>; - qcom,hpm-enable = <1>; - qcom,auto-mode-enable = <0>; - status = "okay"; - }; - - pm8941_mvs2: regulator@8400 { - parent-supply = <&pm8941_boost>; - qcom,enable-time = <1000>; - qcom,pull-down-enable = <1>; - interrupts = <0x1 0x84 0x2>; - interrupt-names = "ocp"; - qcom,ocp-enable = <1>; - qcom,ocp-max-retries = <10>; - qcom,ocp-retry-delay = <30>; - qcom,soft-start-enable = <1>; - qcom,vs-soft-start-strength = <0>; - qcom,hpm-enable = <1>; - qcom,auto-mode-enable = <0>; - status = "okay"; - }; - }; -}; - -/* RPM controlled regulators: */ - -&rpm_bus { - rpm-regulator-smpb1 { - status = "okay"; - pm8841_s1: regulator-s1 { - regulator-min-microvolt = <675000>; - regulator-max-microvolt = <1050000>; - status = "okay"; - }; - pm8841_s1_ao: regulator-s1-ao { - regulator-name = "8841_s1_ao"; - qcom,set = <1>; - regulator-min-microvolt = <675000>; - regulator-max-microvolt = <1050000>; - status = "okay"; - compatible = "qcom,rpm-regulator-smd"; - }; - pm8841_s1_so: regulator-s1-so { - regulator-name = "8841_s1_so"; - qcom,set = <2>; - regulator-min-microvolt = <675000>; - regulator-max-microvolt = <1050000>; - qcom,init-voltage = <675000>; - status = "okay"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-smpb2 { - status = "okay"; - pm8841_s2: regulator-s2 { - regulator-min-microvolt = <500000>; - regulator-max-microvolt = <1050000>; - status = "okay"; - }; - pm8841_s2_corner: regulator-s2-corner { - regulator-name = "8841_s2_corner"; - qcom,set = <3>; - regulator-min-microvolt = <1>; - regulator-max-microvolt = <7>; - qcom,use-voltage-corner; - compatible = "qcom,rpm-regulator-smd"; - qcom,consumer-supplies = "vdd_dig", ""; - }; - pm8841_s2_corner_ao: regulator-s2-corner-ao { - regulator-name = "8841_s2_corner_ao"; - qcom,set = <1>; - regulator-min-microvolt = <1>; - regulator-max-microvolt = <7>; - qcom,use-voltage-corner; - compatible = "qcom,rpm-regulator-smd"; - }; - pm8841_s2_floor_corner: regulator-s2-floor-corner { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8841_s2_floor_corner"; - qcom,set = <3>; - regulator-min-microvolt = <1>; - regulator-max-microvolt = <7>; - qcom,use-voltage-floor-corner; - qcom,always-send-voltage; - }; - }; - - rpm-regulator-smpb3 { - status = "okay"; - pm8841_s3: regulator-s3 { - regulator-min-microvolt = <1050000>; - regulator-max-microvolt = <1050000>; - qcom,init-voltage = <1050000>; - status = "okay"; - }; - }; - - rpm-regulator-smpb4 { - status = "okay"; - pm8841_s4: regulator-s4 { - regulator-min-microvolt = <815000>; - regulator-max-microvolt = <900000>; - status = "okay"; - }; - pm8841_s4_corner: regulator-s4-corner { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8841_s4_corner"; - qcom,set = <3>; - qcom,use-voltage-corner; - regulator-min-microvolt = <1>; - regulator-max-microvolt = <7>; - qcom,init-voltage-corner = <3>; /* SVS SOC */ - }; - pm8841_s4_floor_corner: regulator-s4-floor-corner { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8841_s4_floor_corner"; - qcom,set = <3>; - regulator-min-microvolt = <1>; - regulator-max-microvolt = <7>; - qcom,use-voltage-floor-corner; - qcom,always-send-voltage; - }; - }; - - rpm-regulator-smpa1 { - status = "okay"; - pm8941_s1: regulator-s1 { - regulator-min-microvolt = <1300000>; - regulator-max-microvolt = <1300000>; - qcom,init-voltage = <1300000>; - status = "okay"; - }; - }; - - rpm-regulator-smpa2 { - status = "okay"; - pm8941_s2: regulator-s2 { - regulator-min-microvolt = <2150000>; - regulator-max-microvolt = <2150000>; - qcom,init-voltage = <2150000>; - status = "okay"; - }; - }; - - rpm-regulator-smpa3 { - status = "okay"; - pm8941_s3: regulator-s3 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa1 { - status = "okay"; - pm8941_l1: regulator-l1 { - regulator-min-microvolt = <1225000>; - regulator-max-microvolt = <1225000>; - qcom,init-voltage = <1225000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa2 { - status = "okay"; - pm8941_l2: regulator-l2 { - regulator-min-microvolt = <1200000>; - regulator-max-microvolt = <1200000>; - qcom,init-voltage = <1200000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa3 { - status = "okay"; - pm8941_l3: regulator-l3 { - regulator-min-microvolt = <1225000>; - regulator-max-microvolt = <1225000>; - qcom,init-voltage = <1225000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa4 { - status = "okay"; - pm8941_l4: regulator-l4 { - regulator-min-microvolt = <1225000>; - regulator-max-microvolt = <1225000>; - qcom,init-voltage = <1225000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa5 { - status = "okay"; - pm8941_l5: regulator-l5 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa6 { - status = "okay"; - pm8941_l6: regulator-l6 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa7 { - status = "okay"; - pm8941_l7: regulator-l7 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa8 { - status = "okay"; - pm8941_l8: regulator-l8 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa9 { - status = "okay"; - pm8941_l9: regulator-l9 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <2950000>; - qcom,init-voltage = <2950000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa10 { - status = "okay"; - pm8941_l10: regulator-l10 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <2950000>; - qcom,init-voltage = <2950000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa11 { - status = "okay"; - pm8941_l11: regulator-l11 { - regulator-min-microvolt = <1300000>; - regulator-max-microvolt = <1300000>; - qcom,init-voltage = <1300000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa12 { - status = "okay"; - pm8941_l12: regulator-l12 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - status = "okay"; - }; - pm8941_l12_ao: regulator-l12-ao { - regulator-name = "8941_l12_ao"; - qcom,set = <1>; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - status = "okay"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa13 { - status = "okay"; - pm8941_l13: regulator-l13 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <2950000>; - qcom,init-voltage = <2950000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa14 { - status = "okay"; - pm8941_l14: regulator-l14 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa15 { - status = "okay"; - pm8941_l15: regulator-l15 { - regulator-min-microvolt = <2050000>; - regulator-max-microvolt = <2050000>; - qcom,init-voltage = <2050000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa16 { - status = "okay"; - pm8941_l16: regulator-l16 { - regulator-min-microvolt = <2700000>; - regulator-max-microvolt = <2700000>; - qcom,init-voltage = <2700000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa17 { - status = "okay"; - pm8941_l17: regulator-l17 { - regulator-min-microvolt = <2850000>; - regulator-max-microvolt = <2850000>; - qcom,init-voltage = <2850000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa18 { - status = "okay"; - pm8941_l18: regulator-l18 { - regulator-min-microvolt = <2850000>; - regulator-max-microvolt = <2850000>; - qcom,init-voltage = <2850000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa19 { - status = "okay"; - pm8941_l19: regulator-l19 { - regulator-min-microvolt = <2900000>; - regulator-max-microvolt = <2900000>; - qcom,init-voltage = <2900000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa20 { - status = "okay"; - pm8941_l20: regulator-l20 { - regulator-min-microvolt = <2950000>; - regulator-max-microvolt = <2950000>; - qcom,init-voltage = <2950000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa21 { - status = "okay"; - pm8941_l21: regulator-l21 { - regulator-min-microvolt = <2950000>; - regulator-max-microvolt = <2950000>; - qcom,init-voltage = <2950000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa22 { - status = "okay"; - pm8941_l22: regulator-l22 { - regulator-min-microvolt = <3000000>; - regulator-max-microvolt = <3000000>; - qcom,init-voltage = <3000000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa23 { - status = "okay"; - pm8941_l23: regulator-l23 { - regulator-min-microvolt = <3000000>; - regulator-max-microvolt = <3000000>; - qcom,init-voltage = <3000000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa24 { - status = "okay"; - pm8941_l24: regulator-l24 { - regulator-min-microvolt = <3075000>; - regulator-max-microvolt = <3075000>; - qcom,init-voltage = <3075000>; - status = "okay"; - }; - }; - - rpm-regulator-vsa1 { - status = "okay"; - pm8941_lvs1: regulator-lvs1 { - status = "okay"; - }; - }; - - rpm-regulator-vsa2 { - status = "okay"; - pm8941_lvs2: regulator-lvs2 { - status = "okay"; - }; - }; - - rpm-regulator-vsa3 { - status = "okay"; - pm8941_lvs3: regulator-lvs3 { - status = "okay"; - }; - }; -}; - -&soc { - krait_pdn: krait-pdn@f9011000 { - reg = <0xf9011000 0x1000>, - <0xfc4b80b0 8>; - reg-names = "apcs_gcc", "phase-scaling-efuse"; - compatible = "qcom,krait-pdn"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - qcom,pfm-threshold = <73>; - - krait0_vreg: regulator@f9088000 { - compatible = "qcom,krait-regulator"; - regulator-name = "krait0"; - reg = <0xf9088000 0x1000>, /* APCS_ALIAS0_KPSS_ACS */ - <0xf908a800 0x1000>; /* APCS_ALIAS0_KPSS_MDD */ - reg-names = "acs", "mdd"; - regulator-min-microvolt = <500000>; - regulator-max-microvolt = <1100000>; - qcom,headroom-voltage = <150000>; - qcom,retention-voltage = <675000>; - qcom,ldo-default-voltage = <750000>; - qcom,ldo-threshold-voltage = <850000>; - qcom,ldo-delta-voltage = <50000>; - qcom,cpu-num = <0>; - }; - - krait1_vreg: regulator@f9098000 { - compatible = "qcom,krait-regulator"; - regulator-name = "krait1"; - reg = <0xf9098000 0x1000>, /* APCS_ALIAS1_KPSS_ACS */ - <0xf909a800 0x1000>; /* APCS_ALIAS1_KPSS_MDD */ - reg-names = "acs", "mdd"; - regulator-min-microvolt = <500000>; - regulator-max-microvolt = <1100000>; - qcom,headroom-voltage = <150000>; - qcom,retention-voltage = <675000>; - qcom,ldo-default-voltage = <750000>; - qcom,ldo-threshold-voltage = <850000>; - qcom,ldo-delta-voltage = <50000>; - qcom,cpu-num = <1>; - }; - - krait2_vreg: regulator@f90a8000 { - compatible = "qcom,krait-regulator"; - regulator-name = "krait2"; - reg = <0xf90a8000 0x1000>, /* APCS_ALIAS2_KPSS_ACS */ - <0xf90aa800 0x1000>; /* APCS_ALIAS2_KPSS_MDD */ - reg-names = "acs", "mdd"; - regulator-min-microvolt = <500000>; - regulator-max-microvolt = <1100000>; - qcom,headroom-voltage = <150000>; - qcom,retention-voltage = <675000>; - qcom,ldo-default-voltage = <750000>; - qcom,ldo-threshold-voltage = <850000>; - qcom,ldo-delta-voltage = <50000>; - qcom,cpu-num = <2>; - }; - - krait3_vreg: regulator@f90b8000 { - compatible = "qcom,krait-regulator"; - regulator-name = "krait3"; - reg = <0xf90b8000 0x1000>, /* APCS_ALIAS3_KPSS_ACS */ - <0xf90ba800 0x1000>; /* APCS_ALIAS3_KPSS_MDD */ - reg-names = "acs", "mdd"; - regulator-min-microvolt = <500000>; - regulator-max-microvolt = <1100000>; - qcom,headroom-voltage = <150000>; - qcom,retention-voltage = <675000>; - qcom,ldo-default-voltage = <750000>; - qcom,ldo-threshold-voltage = <850000>; - qcom,ldo-delta-voltage = <50000>; - qcom,cpu-num = <3>; - }; - }; - - spi_eth_vreg: spi_eth_phy_vreg { - compatible = "regulator-fixed"; - regulator-name = "ethernet_phy"; - gpio = <&pm8941_mpps 5 0>; - enable-active-high; - }; - - /* - * vph_pwr_vreg represents the unregulated battery voltage supply - * VPH_PWR that is present whenever the device is powered on. - */ - vph_pwr_vreg: vph_pwr_vreg { - compatible = "regulator-fixed"; - status = "disabled"; - regulator-name = "vph_pwr"; - regulator-always-on; - }; -}; - -&pm8941_chg { - otg-parent-supply = <&pm8941_boost>; -}; - -&pm8941_chg_boost { - regulator-min-microvolt = <5000000>; - regulator-max-microvolt = <5000000>; - regulator-name = "8941_smbb_boost"; -}; - -&pm8941_chg_otg { - regulator-name = "8941_smbb_otg"; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8974-rumi.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v1/msm8974-rumi.dtsi deleted file mode 100644 index c01a4e509..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8974-rumi.dtsi +++ /dev/null @@ -1,146 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/include/ "msm8974-leds.dtsi" -/include/ "msm8974-camera-sensor-cdp.dtsi" - -&soc { - timer { - clock-frequency = <5000000>; - }; - - serial@f995e000 { - status = "ok"; - }; - - usb@f9a55000 { - status = "disable"; - }; - - qcom,sdcc@f9824000 { - qcom,clk-rates = <400000 19200000>; - }; - - qcom,sdcc@f98a4000 { - qcom,clk-rates = <400000 19200000>; - }; - - qcom,sps@f998000 { - status = "disable"; - }; - - spi@f9924000 { - status = "disable"; - }; - - spi@f9923000 { - compatible = "qcom,spi-qup-v2"; - reg = <0xf9923000 0x1000>; - interrupts = <0 95 0>; - spi-max-frequency = <24000000>; - #address-cells = <1>; - #size-cells = <0>; - gpios = <&msmgpio 3 0>, /* CLK */ - <&msmgpio 1 0>, /* MISO */ - <&msmgpio 0 0>; /* MOSI */ - cs-gpios = <&msmgpio 9 0>; - - ethernet-switch@2 { - compatible = "simtec,ks8851"; - reg = <2>; - interrupt-parent = <&msmgpio>; - interrupts = <90 0>; - spi-max-frequency = <5000000>; - }; - }; - - i2c@f9966000 { - status = "disable"; - }; - - i2c@f9967000 { - cell-index = <0>; - compatible = "qcom,i2c-qup"; - reg = <0Xf9967000 0x1000>; - reg-names = "qup_phys_addr"; - interrupts = <0 105 0>; - interrupt-names = "qup_err_intr"; - qcom,i2c-bus-freq = <100000>; - qcom,i2c-src-freq = <19200000>; - gpios = <&msmgpio 83 0>, /* DAT */ - <&msmgpio 84 0>; /* CLK */ - }; - - slim@fe12f000 { - status = "disable"; - }; - - qcom,mdss_dsi@fd922800 { - status = "disable"; - }; - - qcom,spmi@fc4c0000 { - status = "disable"; - }; - - qcom,ssusb@F9200000 { - status = "disable"; - }; - - qcom,lpass@fe200000 { - status = "disable"; - }; - - qcom,pronto@fb21b000 { - status = "disable"; - }; - - qcom,mss@fc880000 { - status = "disable"; - }; - - qcom,kgsl-3d0@fdb00000 { - status = "disabled"; - }; -}; - -&gdsc_venus { - status = "disabled"; -}; - -&gdsc_mdss { - status = "disabled"; -}; - -&gdsc_jpeg { - status = "disabled"; -}; - -&gdsc_vfe { - status = "disabled"; -}; - -&gdsc_oxili_gx { - status = "disabled"; -}; - -&gdsc_oxili_cx { - status = "disabled"; -}; - -&gdsc_usb_hsic { - status = "disabled"; -}; - -&rpm_bus { - rpm-standalone; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8974-sim.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v1/msm8974-sim.dtsi deleted file mode 100644 index 24b8d18be..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8974-sim.dtsi +++ /dev/null @@ -1,93 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/include/ "dsi-panel-sim-video.dtsi" -/include/ "msm8974-leds.dtsi" -/include/ "msm8974-camera-sensor-cdp.dtsi" - -&soc { - qcom,mdss_dsi@fd922800 { - qcom,mdss_dsi_sim_video { - status = "ok"; - }; - }; - - serial@f991f000 { - status = "ok"; - }; - - serial@f995e000 { - status = "ok"; - }; -}; - -&jpeg_iommu { - qcom,iommu-ctx@fda6c000 { - interrupts = <0 69 0>; - }; - - qcom,iommu-ctx@fda6d000 { - interrupts = <0 70 0>; - }; - - qcom,iommu-ctx@fda6e000 { - interrupts = <0 71 0>; - }; -}; - -&mdp_iommu { - qcom,iommu-ctx@fd930000 { - interrupts = <0 46 0>; - }; - - qcom,iommu-ctx@fd931000 { - interrupts = <0 47 0>; - }; -}; - -&venus_iommu { - qcom,iommu-ctx@fdc8c000 { - interrupts = <0 43 0>; - }; - - qcom,iommu-ctx@fdc8d000 { - interrupts = <0 42 0>; - }; - - qcom,iommu-ctx@fdc8e000 { - interrupts = <0 41 0>; - }; -}; - -&kgsl_iommu { - qcom,iommu-ctx@fdb18000 { - interrupts = <0 240 0>; - }; - - qcom,iommu-ctx@fdb19000 { - interrupts = <0 241 0>; - }; -}; - -&vfe_iommu { - qcom,iommu-ctx@fda4c000 { - interrupts = <0 64 0>; - }; - - qcom,iommu-ctx@fda4d000 { - interrupts = <0 65 0>; - }; - - qcom,iommu-ctx@fda4e000 { - interrupts = <0 66 0>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8974-smp2p.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v1/msm8974-smp2p.dtsi deleted file mode 100644 index 3921a686a..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8974-smp2p.dtsi +++ /dev/null @@ -1,225 +0,0 @@ -/* Copyright (c) 2013, 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. - */ -&soc { - qcom,smp2p-modem { - compatible = "qcom,smp2p"; - reg = <0xf9011008 0x4>; - qcom,remote-pid = <1>; - qcom,irq-bitmask = <0x4000>; - interrupts = <0 27 1>; - }; - - qcom,smp2p-adsp { - compatible = "qcom,smp2p"; - reg = <0xf9011008 0x4>; - qcom,remote-pid = <2>; - qcom,irq-bitmask = <0x400>; - interrupts = <0 158 1>; - }; - - qcom,smp2p-wcnss { - compatible = "qcom,smp2p"; - reg = <0xf9011008 0x4>; - qcom,remote-pid = <4>; - qcom,irq-bitmask = <0x40000>; - interrupts = <0 143 1>; - }; - - smp2pgpio_smp2p_7_in: qcom,smp2pgpio-smp2p-7-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <7>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_7_in { - compatible = "qcom,smp2pgpio_test_smp2p_7_in"; - gpios = <&smp2pgpio_smp2p_7_in 0 0>; - }; - - smp2pgpio_smp2p_7_out: qcom,smp2pgpio-smp2p-7-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <7>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_7_out { - compatible = "qcom,smp2pgpio_test_smp2p_7_out"; - gpios = <&smp2pgpio_smp2p_7_out 0 0>; - }; - - smp2pgpio_smp2p_1_in: qcom,smp2pgpio-smp2p-1-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <1>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_1_in { - compatible = "qcom,smp2pgpio_test_smp2p_1_in"; - gpios = <&smp2pgpio_smp2p_1_in 0 0>; - }; - - smp2pgpio_smp2p_1_out: qcom,smp2pgpio-smp2p-1-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <1>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_1_out { - compatible = "qcom,smp2pgpio_test_smp2p_1_out"; - gpios = <&smp2pgpio_smp2p_1_out 0 0>; - }; - - smp2pgpio_ssr_smp2p_1_in: qcom,smp2pgpio-ssr-smp2p-1-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "slave-kernel"; - qcom,remote-pid = <1>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - smp2pgpio_ssr_smp2p_1_out: qcom,smp2pgpio-ssr-smp2p-1-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "master-kernel"; - qcom,remote-pid = <1>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - smp2pgpio_smp2p_2_in: qcom,smp2pgpio-smp2p-2-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <2>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_2_in { - compatible = "qcom,smp2pgpio_test_smp2p_2_in"; - gpios = <&smp2pgpio_smp2p_2_in 0 0>; - }; - - smp2pgpio_smp2p_2_out: qcom,smp2pgpio-smp2p-2-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <2>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_2_out { - compatible = "qcom,smp2pgpio_test_smp2p_2_out"; - gpios = <&smp2pgpio_smp2p_2_out 0 0>; - }; - - /* SMP2P SSR Driver for inbound entry from lpass. */ - smp2pgpio_ssr_smp2p_2_in: qcom,smp2pgpio-ssr-smp2p-2-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "slave-kernel"; - qcom,remote-pid = <2>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - /* SMP2P SSR Driver for outbound entry to lpass */ - smp2pgpio_ssr_smp2p_2_out: qcom,smp2pgpio-ssr-smp2p-2-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "master-kernel"; - qcom,remote-pid = <2>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - smp2pgpio_smp2p_4_in: qcom,smp2pgpio-smp2p-4-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <4>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_4_in { - compatible = "qcom,smp2pgpio_test_smp2p_4_in"; - gpios = <&smp2pgpio_smp2p_4_in 0 0>; - }; - - smp2pgpio_smp2p_4_out: qcom,smp2pgpio-smp2p-4-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <4>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - smp2pgpio_ssr_smp2p_4_in: qcom,smp2pgpio-ssr-smp2p-4-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "slave-kernel"; - qcom,remote-pid = <4>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - smp2pgpio_ssr_smp2p_4_out: qcom,smp2pgpio-ssr-smp2p-4-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "master-kernel"; - qcom,remote-pid = <4>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_4_out { - compatible = "qcom,smp2pgpio_test_smp2p_4_out"; - gpios = <&smp2pgpio_smp2p_4_out 0 0>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8974-v1-cdp.dts b/kernel/arch/arm/boot/dts/m7350-un-v1/msm8974-v1-cdp.dts deleted file mode 100644 index c3fd98d2b..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8974-v1-cdp.dts +++ /dev/null @@ -1,33 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/dts-v1/; - -/include/ "msm8974-v1.dtsi" -/include/ "msm8974-cdp.dtsi" - -/ { - model = "Qualcomm MSM 8974 CDP"; - compatible = "qcom,msm8974-cdp", "qcom,msm8974", "qcom,cdp"; - qcom,msm-id = <126 1 0>, - <185 1 0>, - <186 1 0>; -}; - -&ehci { - status = "ok"; - vbus-supply = <&usb2_otg_sw>; -}; - -&hsic_host { - qcom,phy-sof-workaround; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8974-v1-fluid.dts b/kernel/arch/arm/boot/dts/m7350-un-v1/msm8974-v1-fluid.dts deleted file mode 100644 index 2b96ecbd2..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8974-v1-fluid.dts +++ /dev/null @@ -1,33 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/dts-v1/; - -/include/ "msm8974-v1.dtsi" -/include/ "msm8974-fluid.dtsi" - -/ { - model = "Qualcomm MSM 8974 FLUID"; - compatible = "qcom,msm8974-fluid", "qcom,msm8974", "qcom,fluid"; - qcom,msm-id = <126 3 0>, - <185 3 0>, - <186 3 0>; - -}; - -&pm8941_chg { - qcom,charging-disabled; -}; - -&sdcc1 { - qcom,bus-width = <4>; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8974-v1-iommu-domains.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v1/msm8974-v1-iommu-domains.dtsi deleted file mode 100644 index 25fca2a54..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8974-v1-iommu-domains.dtsi +++ /dev/null @@ -1,31 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -&soc { - qcom,iommu-domains { - compatible = "qcom,iommu-domains"; - - venus_domain_ns: qcom,iommu-domain1 { - label = "venus_ns"; - qcom,iommu-contexts = <&venus_ns>; - qcom,virtual-addr-pool = <0x40000000 0x3f000000 - 0x7f000000 0x1000000>; - }; - - venus_domain_cp: qcom,iommu-domain2 { - label = "venus_cp"; - qcom,iommu-contexts = <&venus_cp>; - qcom,virtual-addr-pool = <0x1000000 0x3f000000>; - qcom,secure-domain; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8974-v1-iommu.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v1/msm8974-v1-iommu.dtsi deleted file mode 100644 index 56369dce3..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8974-v1-iommu.dtsi +++ /dev/null @@ -1,40 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/include/ "msm-iommu-v1.dtsi" - -&jpeg_iommu { - status = "ok"; - vdd-supply = <&gdsc_jpeg>; -}; - -&mdp_iommu { - status = "ok"; - vdd-supply = <&gdsc_mdss>; -}; - -&venus_iommu { - status = "ok"; - vdd-supply = <&gdsc_venus>; -}; - -&kgsl_iommu { - status = "ok"; - qcom,needs-alt-core-clk; - vdd-supply = <&gdsc_oxili_cx>; - qcom,alt-vdd-supply = <&gdsc_oxili_gx>; -}; - -&vfe_iommu { - status = "ok"; - vdd-supply = <&gdsc_vfe>; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8974-v1-liquid.dts b/kernel/arch/arm/boot/dts/m7350-un-v1/msm8974-v1-liquid.dts deleted file mode 100644 index 29d6150ba..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8974-v1-liquid.dts +++ /dev/null @@ -1,24 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/dts-v1/; - -/include/ "msm8974-v1.dtsi" -/include/ "msm8974-liquid.dtsi" - -/ { - model = "Qualcomm MSM 8974 LIQUID"; - compatible = "qcom,msm8974-liquid", "qcom,msm8974", "qcom,liquid"; - qcom,msm-id = <126 9 0>, - <185 9 0>, - <186 9 0>; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8974-v1-mtp.dts b/kernel/arch/arm/boot/dts/m7350-un-v1/msm8974-v1-mtp.dts deleted file mode 100644 index 8cbcca05a..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8974-v1-mtp.dts +++ /dev/null @@ -1,28 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/dts-v1/; - -/include/ "msm8974-v1.dtsi" -/include/ "msm8974-mtp.dtsi" - -/ { - model = "Qualcomm MSM 8974 MTP"; - compatible = "qcom,msm8974-mtp", "qcom,msm8974", "qcom,mtp"; - qcom,msm-id = <126 8 0>, - <185 8 0>, - <186 8 0>; -}; - -&pm8941_chg { - qcom,charging-disabled; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8974-v1-pm.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v1/msm8974-v1-pm.dtsi deleted file mode 100644 index 56a819ecc..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8974-v1-pm.dtsi +++ /dev/null @@ -1,456 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/include/ "skeleton.dtsi" - -&soc { - qcom,spm@f9089000 { - compatible = "qcom,spm-v2"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xf9089000 0x1000>; - qcom,core-id = <0>; - qcom,saw2-ver-reg = <0xfd0>; - qcom,saw2-cfg = <0x01>; - qcom,saw2-avs-ctl = <0>; - qcom,saw2-avs-hysteresis = <0>; - qcom,saw2-avs-limit = <0>; - qcom,saw2-avs-dly= <0>; - qcom,saw2-spm-dly= <0x20000400>; - qcom,saw2-spm-ctl = <0x1>; - qcom,saw2-spm-cmd-wfi = [03 0b 0f]; - qcom,saw2-spm-cmd-ret = [42 1b 00 d0 c0 a0 90 03 d0 98 a2 c0 - 0b 00 42 1b 0f]; - qcom,saw2-spm-cmd-spc = [00 20 80 10 90 a0 b0 03 3b 98 a2 b0 82 - 10 0b 30 06 26 30 0f]; - qcom,saw2-spm-cmd-pc = [00 20 80 10 90 a0 b0 07 3b 98 a2 b0 82 - 10 0b 30 06 26 30 0f]; - }; - - qcom,spm@f9099000 { - compatible = "qcom,spm-v2"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xf9099000 0x1000>; - qcom,core-id = <1>; - qcom,saw2-ver-reg = <0xfd0>; - qcom,saw2-cfg = <0x01>; - qcom,saw2-avs-ctl = <0>; - qcom,saw2-avs-hysteresis = <0>; - qcom,saw2-avs-limit = <0>; - qcom,saw2-avs-dly= <0>; - qcom,saw2-spm-dly= <0x20000400>; - qcom,saw2-spm-ctl = <0x1>; - qcom,saw2-spm-cmd-wfi = [03 0b 0f]; - qcom,saw2-spm-cmd-ret = [42 1b 00 d0 c0 a0 90 03 d0 98 a2 c0 - 0b 00 42 1b 0f]; - qcom,saw2-spm-cmd-spc = [00 20 80 10 90 a0 b0 03 3b 98 a2 b0 82 - 10 0b 30 06 26 30 0f]; - qcom,saw2-spm-cmd-pc = [00 20 80 10 90 a0 b0 07 3b 98 a2 b0 82 - 10 0b 30 06 26 30 0f]; - }; - - qcom,spm@f90a9000 { - compatible = "qcom,spm-v2"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xf90a9000 0x1000>; - qcom,core-id = <2>; - qcom,saw2-ver-reg = <0xfd0>; - qcom,saw2-cfg = <0x01>; - qcom,saw2-avs-ctl = <0>; - qcom,saw2-avs-hysteresis = <0>; - qcom,saw2-avs-limit = <0>; - qcom,saw2-avs-dly= <0>; - qcom,saw2-spm-dly= <0x20000400>; - qcom,saw2-spm-ctl = <0x1>; - qcom,saw2-spm-cmd-wfi = [03 0b 0f]; - qcom,saw2-spm-cmd-ret = [42 1b 00 d0 c0 a0 90 03 d0 98 a2 c0 - 0b 00 42 1b 0f]; - qcom,saw2-spm-cmd-spc = [00 20 80 10 90 a0 b0 03 3b 98 a2 b0 82 - 10 0b 30 06 26 30 0f]; - qcom,saw2-spm-cmd-pc = [00 20 80 10 90 a0 b0 07 3b 98 a2 b0 82 - 10 0b 30 06 26 30 0f]; - }; - - qcom,spm@f90b9000 { - compatible = "qcom,spm-v2"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xf90b9000 0x1000>; - qcom,core-id = <3>; - qcom,saw2-ver-reg = <0xfd0>; - qcom,saw2-cfg = <0x01>; - qcom,saw2-avs-ctl = <0>; - qcom,saw2-avs-hysteresis = <0>; - qcom,saw2-avs-limit = <0>; - qcom,saw2-avs-dly= <0>; - qcom,saw2-spm-dly= <0x20000400>; - qcom,saw2-spm-ctl = <0x1>; - qcom,saw2-spm-cmd-wfi = [03 0b 0f]; - qcom,saw2-spm-cmd-ret = [42 1b 00 d0 c0 a0 90 03 d0 98 a2 c0 - 0b 00 42 1b 0f]; - qcom,saw2-spm-cmd-spc = [00 20 80 10 90 a0 b0 03 3b 98 a2 b0 82 - 10 0b 30 06 26 30 0f]; - qcom,saw2-spm-cmd-pc = [00 20 80 10 90 a0 b0 07 3b 98 a2 b0 82 - 10 0b 30 06 26 30 0f]; - }; - - qcom,spm@f9012000 { - compatible = "qcom,spm-v2"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xf9012000 0x1000>; - qcom,core-id = <0xffff>; /* L2/APCS SAW */ - qcom,saw2-ver-reg = <0xfd0>; - qcom,saw2-cfg = <0x14>; - qcom,saw2-avs-ctl = <0>; - qcom,saw2-avs-hysteresis = <0>; - qcom,saw2-avs-limit = <0>; - qcom,saw2-avs-dly= <0>; - qcom,saw2-spm-dly= <0x20000400>; - qcom,saw2-spm-ctl = <0x1>; - qcom,saw2-pmic-data0 = <0x02030080>; - qcom,saw2-pmic-data1 = <0x00030000>; - qcom,vctl-timeout-us = <50>; - qcom,vctl-port = <0x0>; - qcom,phase-port = <0x1>; - qcom,pfm-port = <0x2>; - qcom,saw2-spm-cmd-ret = [1f 00 20 03 22 00 0f]; - qcom,saw2-spm-cmd-gdhs = [00 20 32 42 07 44 22 50 02 32 50 0f]; - qcom,saw2-spm-cmd-pc = [00 10 32 b0 11 42 07 01 b0 12 44 - 50 02 32 50 0f]; - }; - - qcom,lpm-resources { - compatible = "qcom,lpm-resources"; - #address-cells = <1>; - #size-cells = <0>; - - qcom,lpm-resources@0 { - reg = <0x0>; - qcom,name = "vdd-dig"; - qcom,type = <0x62706d73>; /* "smpb" */ - qcom,id = <0x02>; - qcom,key = <0x6e726f63>; /* "corn" */ - qcom,init-value = <6>; /* Super Turbo */ - }; - - qcom,lpm-resources@1 { - reg = <0x1>; - qcom,name = "vdd-mem"; - qcom,type = <0x62706d73>; /* "smpb" */ - qcom,id = <0x01>; - qcom,key = <0x7675>; /* "uv" */ - qcom,init-value = <1050000>; /* Super Turbo */ - }; - - qcom,lpm-resources@2 { - reg = <0x2>; - qcom,name = "pxo"; - qcom,type = <0x306b6c63>; /* "clk0" */ - qcom,id = <0x00>; - qcom,key = <0x62616e45>; /* "Enab" */ - qcom,init-value = "xo_on"; - }; - - qcom,lpm-resources@3 { - reg = <0x3>; - qcom,name = "l2"; - qcom,local-resource-type; - qcom,init-value = "l2_cache_retention"; - }; - }; - - qcom,lpm-levels { - compatible = "qcom,lpm-levels"; - #address-cells = <1>; - #size-cells = <0>; - - qcom,use-qtimer; - - qcom,lpm-level@0 { - reg = <0x0>; - qcom,mode = "wfi"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_active"; - qcom,vdd-mem-upper-bound = <1050000>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <950000>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <1>; - qcom,ss-power = <784>; - qcom,energy-overhead = <190000>; - qcom,time-overhead = <100>; - }; - - qcom,lpm-level@1 { - reg = <0x1>; - qcom,mode = "retention"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_active"; - qcom,vdd-mem-upper-bound = <1050000>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <950000>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <75>; - qcom,ss-power = <735>; - qcom,energy-overhead = <77341>; - qcom,time-overhead = <105>; - }; - - - qcom,lpm-level@2 { - reg = <0x2>; - qcom,mode = "standalone_pc"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_active"; - qcom,vdd-mem-upper-bound = <1050000>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <950000>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <95>; - qcom,ss-power = <725>; - qcom,energy-overhead = <99500>; - qcom,time-overhead = <130>; - }; - - qcom,lpm-level@3 { - reg = <0x3>; - qcom,mode = "pc"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_gdhs"; - qcom,vdd-mem-upper-bound = <1050000>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <950000>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <2000>; - qcom,ss-power = <138>; - qcom,energy-overhead = <1208400>; - qcom,time-overhead = <3200>; - }; - - qcom,lpm-level@4 { - reg = <0x4>; - qcom,mode = "pc"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_pc"; - qcom,vdd-mem-upper-bound = <1050000>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <950000>; /* SVS SOC */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <3>; /* SVS SOC */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <3000>; - qcom,ss-power = <110>; - qcom,energy-overhead = <1250300>; - qcom,time-overhead = <3500>; - }; - - qcom,lpm-level@5 { - reg = <0x5>; - qcom,mode = "pc"; - qcom,xo = "xo_off"; - qcom,l2 = "l2_cache_gdhs"; - qcom,vdd-mem-upper-bound = <1050000>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <950000>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,latency-us = <3000>; - qcom,ss-power = <68>; - qcom,energy-overhead = <1350200>; - qcom,time-overhead = <4000>; - }; - - qcom,lpm-level@6 { - reg = <0x6>; - qcom,mode = "pc"; - qcom,xo = "xo_off"; - qcom,l2 = "l2_cache_pc"; - qcom,vdd-mem-upper-bound = <1050000>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <950000>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,latency-us = <10300>; - qcom,ss-power = <63>; - qcom,energy-overhead = <2128000>; - qcom,time-overhead = <18200>; - }; - - qcom,lpm-level@7 { - reg = <0x7>; - qcom,mode= "pc"; - qcom,xo = "xo_off"; - qcom,l2 = "l2_cache_pc"; - qcom,vdd-mem-upper-bound = <950000>; /* NORMAL */ - qcom,vdd-mem-lower-bound = <950000>; /* SVS SOC */ - qcom,vdd-dig-upper-bound = <4>; /* NORMAL */ - qcom,vdd-dig-lower-bound = <3>; /* SVS SOC */ - qcom,latency-us = <18000>; - qcom,ss-power = <10>; - qcom,energy-overhead = <3202600>; - qcom,time-overhead = <27000>; - }; - - qcom,lpm-level@8 { - reg = <0x8>; - qcom,mode= "pc"; - qcom,xo = "xo_off"; - qcom,l2 = "l2_cache_pc"; - qcom,vdd-mem-upper-bound = <950000>; /* SVS SOC */ - qcom,vdd-mem-lower-bound = <675000>; /* RETENTION */ - qcom,vdd-dig-upper-bound = <3>; /* SVS SOC */ - qcom,vdd-dig-lower-bound = <1>; /* RETENTION */ - qcom,latency-us = <20000>; - qcom,ss-power = <2>; - qcom,energy-overhead = <4252000>; - qcom,time-overhead = <32000>; - }; - }; - - qcom,pm-boot { - compatible = "qcom,pm-boot"; - qcom,mode = "tz"; - }; - - qcom,mpm@fc4281d0 { - compatible = "qcom,mpm-v2"; - reg = <0xfc4281d0 0x1000>, /* MSM_RPM_MPM_BASE 4K */ - <0xf9011008 0x4>; /* MSM_APCS_GCC_BASE 4K */ - reg-names = "vmpm", "ipc"; - interrupts = <0 171 1>; - - qcom,ipc-bit-offset = <1>; - - qcom,gic-parent = <&intc>; - qcom,gic-map = <2 216>, /* tsens_upper_lower_int */ - <47 165>, /* usb30_hs_phy_irq */ - <50 172>, /* usb1_hs_async_wakeup_irq */ - <53 104>, /* mdss_irq */ - <62 222>, /* ee0_krait_hlos_spmi_periph_irq */ - <0xff 57>, /* mss_to_apps_irq(0) */ - <0xff 58>, /* mss_to_apps_irq(1) */ - <0xff 59>, /* mss_to_apps_irq(2) */ - <0xff 60>, /* mss_to_apps_irq(3) */ - <0xff 173>, /* o_wcss_apss_smd_hi */ - <0xff 174>, /* o_wcss_apss_smd_med */ - <0xff 175>, /* o_wcss_apss_smd_low */ - <0xff 176>, /* o_wcss_apss_smsm_irq */ - <0xff 177>, /* o_wcss_apss_wlan_data_xfer_done */ - <0xff 178>, /* o_wcss_apss_wlan_rx_data_avail */ - <0xff 179>, /* o_wcss_apss_asic_intr - - <0xff 188>, /* lpass_irq_out_apcs(0) */ - <0xff 189>, /* lpass_irq_out_apcs(1) */ - <0xff 190>, /* lpass_irq_out_apcs(2) */ - <0xff 191>, /* lpass_irq_out_apcs(3) */ - <0xff 192>, /* lpass_irq_out_apcs(4) */ - <0xff 193>, /* lpass_irq_out_apcs(5) */ - <0xff 194>, /* lpass_irq_out_apcs(6) */ - <0xff 195>, /* lpass_irq_out_apcs(7) */ - <0xff 196>, /* lpass_irq_out_apcs(8) */ - <0xff 197>, /* lpass_irq_out_apcs(9) */ - <0xff 200>, /* rpm_ipc(4) */ - <0xff 201>, /* rpm_ipc(5) */ - <0xff 202>, /* rpm_ipc(6) */ - <0xff 203>, /* rpm_ipc(7) */ - <0xff 204>, /* rpm_ipc(24) */ - <0xff 205>, /* rpm_ipc(25) */ - <0xff 206>, /* rpm_ipc(26) */ - <0xff 207>, /* rpm_ipc(27) */ - <0xff 240>; /* summary_irq_kpss */ - - qcom,gpio-parent = <&msmgpio>; - qcom,gpio-map = <3 102>, - <4 1 >, - <5 5 >, - <6 9 >, - <7 18>, - <8 20>, - <9 24>, - <10 27>, - <11 28>, - <12 34>, - <13 35>, - <14 37>, - <15 42>, - <16 44>, - <17 46>, - <18 50>, - <19 54>, - <20 59>, - <21 61>, - <22 62>, - <23 64>, - <24 65>, - <25 66>, - <26 67>, - <27 68>, - <28 71>, - <29 72>, - <30 73>, - <31 74>, - <32 75>, - <33 77>, - <34 79>, - <35 80>, - <36 82>, - <37 86>, - <38 92>, - <39 93>, - <40 95>, - <41 144>; - }; - - qcom,pm-8x60@fe805664 { - compatible = "qcom,pm-8x60"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - reg = <0xfe805664 0x40>; - qcom,pc-mode = "tz_l2_int"; - qcom,use-sync-timer; - }; - - qcom,cpu-sleep-status@f9088008 { - compatible = "qcom,cpu-sleep-status"; - reg = <0xf9088008 0x4>; - qcom,cpu-alias-addr = <0x10000>; - qcom,sleep-status-mask= <0x80000>; - }; - - qcom,rpm-log@fc19dc00 { - compatible = "qcom,rpm-log"; - reg = <0xfc19dc00 0x4000>; - qcom,rpm-addr-phys = <0xfc000000>; - qcom,offset-version = <4>; - qcom,offset-page-buffer-addr = <36>; - qcom,offset-log-len = <40>; - qcom,offset-log-len-mask = <44>; - qcom,offset-page-indices = <56>; - }; - - qcom,rpm-stats@fc19dba0 { - compatible = "qcom,rpm-stats"; - reg = <0xfc19dba0 0x1000>; - reg-names = "phys_addr_base"; - qcom,sleep-stats-version = <2>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8974-v1-rumi.dts b/kernel/arch/arm/boot/dts/m7350-un-v1/msm8974-v1-rumi.dts deleted file mode 100644 index 85aab17b1..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8974-v1-rumi.dts +++ /dev/null @@ -1,24 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/dts-v1/; - -/include/ "msm8974-v1.dtsi" -/include/ "msm8974-rumi.dtsi" - -/ { - model = "Qualcomm MSM 8974 RUMI"; - compatible = "qcom,msm8974-rumi", "qcom,msm8974", "qcom,rumi"; - qcom,msm-id = <126 15 0>, - <185 15 0>, - <186 15 0>; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8974-v1-sim.dts b/kernel/arch/arm/boot/dts/m7350-un-v1/msm8974-v1-sim.dts deleted file mode 100644 index fc9858de7..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8974-v1-sim.dts +++ /dev/null @@ -1,24 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/dts-v1/; - -/include/ "msm8974-v1.dtsi" -/include/ "msm8974-sim.dtsi" - -/ { - model = "Qualcomm MSM 8974 Simulator"; - compatible = "qcom,msm8974-sim", "qcom,msm8974", "qcom,sim"; - qcom,msm-id = <126 16 0>, - <185 16 0>, - <186 16 0>; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8974-v1.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v1/msm8974-v1.dtsi deleted file mode 100644 index caec2dc1b..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8974-v1.dtsi +++ /dev/null @@ -1,134 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/* - * As a general rule, only version-specific property overrides should be placed - * inside this file. However, device definitions should be placed inside the - * msm8974.dtsi file. - */ - -/include/ "msm8974.dtsi" -/include/ "msm8974-v1-iommu.dtsi" -/include/ "msm8974-v1-iommu-domains.dtsi" -/include/ "msm8974-v1-pm.dtsi" - -&soc { - android_usb@fc42b0c8 { - compatible = "qcom,android-usb"; - reg = <0xfc42b0c8 0xc8>; - qcom,android-usb-swfi-latency = <1>; - }; - - qcom,msm-imem@fc42b000 { - compatible = "qcom,msm-imem"; - reg = <0xfc42b000 0x1000>; /* Address and size of IMEM */ - }; -}; - -&tsens { - qcom,calibration-less-mode; -}; - -/* I2C clock frequency overrides */ -&i2c_0 { - qcom,i2c-src-freq = <19200000>; -}; - -&i2c_2 { - qcom,i2c-src-freq = <19200000>; -}; - -/* CoreSight */ -&tmc_etr { - qcom,reset-flush-race; -}; - -&stm { - qcom,write-64bit; -}; - -&mdss_mdp { - qcom,mdss-pingpong-off = <0x00021B00 0x00021C00 0x00021D00>; -}; - -&msm_vidc { - qcom,vidc-cp-map = <0x1000000 0x3f000000>; - qcom,vidc-ns-map = <0x40000000 0x40000000>; - qcom,load-freq-tbl = <979200 410000000>, - <783360 410000000>, - <489600 266670000>, - <244800 133330000>; - qcom,reg-presets = <0x80004 0x1>, - <0x80178 0x00001FFF>, - <0x8017c 0x1FFF1FFF>, - <0x800b0 0x10101001>, - <0x800b4 0x10101010>, - <0x800b8 0x10101010>, - <0x800bc 0x00000010>, - <0x800c0 0x1010100f>, - <0x800c4 0x10101010>, - <0x800c8 0x10101010>, - <0x800cc 0x00000010>, - <0x800d0 0x00001010>, - <0x800d4 0x00001010>, - <0x800f0 0x00000030>, - <0x800d8 0x00000707>, - <0x800dc 0x00000707>, - <0x80124 0x00000001>, - <0xE0020 0x5555556>, - <0xE0024 0x0>; - qcom,bus-ports = <1>; - qcom,enc-ocmem-ab-ib = <0 0>, - <138200 1222000>, - <414700 1222000>, - <940000 2444000>, - <1880000 2444000>, - <3008000 3910400>, - <3760000 4888000>; - qcom,dec-ocmem-ab-ib = <0 0>, - <176900 1556640>, - <456200 1556640>, - <864800 1556640>, - <1729600 3113280>, - <2767360 4981248>, - <3459200 6226560>; - qcom,enc-ddr-ab-ib = <0 0>, - <60000 664950>, - <181000 664950>, - <403000 664950>, - <806000 1329900>, - <1289600 2127840>, - <161200 6400000>; - qcom,dec-ddr-ab-ib = <0 0>, - <110000 909000>, - <268000 909000>, - <505000 909000>, - <1010000 1818000>, - <1616000 2908800>, - <2020000 6400000>; - qcom,iommu-groups = <&venus_domain_ns &venus_domain_cp>; - qcom,iommu-group-buffer-types = <0xfff 0x1ff>; - qcom,buffer-type-tz-usage-table = <0x1 0x1>, - <0x1fe 0x2>; -}; - -&sfpb_spinlock { - status = "disable"; -}; - -&ldrex_spinlock { - status = "ok"; -}; - -&usb_otg { - qcom,hsusb-otg-pnoc-errata-fix; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8974-v2-cdp.dts b/kernel/arch/arm/boot/dts/m7350-un-v1/msm8974-v2-cdp.dts deleted file mode 100644 index 85d478b73..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8974-v2-cdp.dts +++ /dev/null @@ -1,36 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; - -/include/ "msm8974-v2.dtsi" -/include/ "msm8974-cdp.dtsi" - -/ { - model = "Qualcomm MSM 8974v2 CDP"; - compatible = "qcom,msm8974-cdp", "qcom,msm8974", "qcom,cdp"; - qcom,msm-id = <126 1 0x20000>, - <185 1 0x20000>, - <186 1 0x20000>; -}; - -&usb3 { - interrupt-parent = <&usb3>; - interrupts = <0 1>; - #interrupt-cells = <1>; - interrupt-map-mask = <0x0 0xffffffff>; - interrupt-map = <0x0 0 &intc 0 133 0 - 0x0 1 &spmi_bus 0x0 0x0 0x9 0x0>; - interrupt-names = "hs_phy_irq", "pmic_id_irq"; - - qcom,misc-ref = <&pm8941_misc>; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8974-v2-fluid.dts b/kernel/arch/arm/boot/dts/m7350-un-v1/msm8974-v2-fluid.dts deleted file mode 100644 index d83d13048..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8974-v2-fluid.dts +++ /dev/null @@ -1,36 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; - -/include/ "msm8974-v2.dtsi" -/include/ "msm8974-fluid.dtsi" - -/ { - model = "Qualcomm MSM 8974v2 FLUID"; - compatible = "qcom,msm8974-fluid", "qcom,msm8974", "qcom,fluid"; - qcom,msm-id = <126 3 0x20000>, - <185 3 0x20000>, - <186 3 0x20000>; -}; - -&usb3 { - interrupt-parent = <&usb3>; - interrupts = <0 1>; - #interrupt-cells = <1>; - interrupt-map-mask = <0x0 0xffffffff>; - interrupt-map = <0x0 0 &intc 0 133 0 - 0x0 1 &spmi_bus 0x0 0x0 0x9 0x0>; - interrupt-names = "hs_phy_irq", "pmic_id_irq"; - - qcom,misc-ref = <&pm8941_misc>; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8974-v2-iommu-domains.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v1/msm8974-v2-iommu-domains.dtsi deleted file mode 100644 index 01c94d0ec..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8974-v2-iommu-domains.dtsi +++ /dev/null @@ -1,45 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -&soc { - qcom,iommu-domains { - compatible = "qcom,iommu-domains"; - - venus_domain_ns: qcom,iommu-domain1 { - label = "venus_ns"; - qcom,iommu-contexts = <&venus_ns>; - qcom,virtual-addr-pool = <0x5dc00000 0x7f000000 - 0xdcc00000 0x1000000>; - }; - - venus_domain_sec_bitstream: qcom,iommu-domain2 { - label = "venus_sec_bitstream"; - qcom,iommu-contexts = <&venus_sec_bitstream>; - qcom,virtual-addr-pool = <0x4b000000 0x12c00000>; - qcom,secure-domain; - }; - - venus_domain_sec_pixel: qcom,iommu-domain3 { - label = "venus_sec_pixel"; - qcom,iommu-contexts = <&venus_sec_pixel>; - qcom,virtual-addr-pool = <0x25800000 0x25800000>; - qcom,secure-domain; - }; - - venus_domain_sec_non_pixel: qcom,iommu-domain4 { - label = "venus_sec_non_pixel"; - qcom,iommu-contexts = <&venus_sec_non_pixel>; - qcom,virtual-addr-pool = <0x1000000 0x24800000>; - qcom,secure-domain; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8974-v2-iommu.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v1/msm8974-v2-iommu.dtsi deleted file mode 100644 index 03f7e807e..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8974-v2-iommu.dtsi +++ /dev/null @@ -1,256 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/include/ "msm-iommu-v1.dtsi" - -&venus_iommu { - status = "ok"; - vdd-supply = <&gdsc_venus>; - qcom,iommu-enable-halt; - - qcom,iommu-bfb-regs = <0x204c - 0x2050 - 0x2514 - 0x2540 - 0x256c - 0x20ac - 0x215c - 0x220c - 0x2314 - 0x2394 - 0x2414 - 0x2008 - 0x200c - 0x2010 - 0x2014 - 0x2018 - 0x201c - 0x2020 - 0x2024 - 0x2028 - 0x202c - 0x2030 - 0x2034 - 0x2038>; - - qcom,iommu-bfb-data = <0xFFFFFFFF - 0xFFFFFFFF - 0x00000004 - 0x00000008 - 0x00000000 - 0x00013205 - 0x00004000 - 0x00014020 - 0x0 - 0x94 - 0x114 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0>; - - venus_ns: qcom,iommu-ctx@fdc8c000 { - qcom,iommu-ctx-sids = <0 1 2 3 4 5 7>; - }; - - venus_sec_bitstream: qcom,iommu-ctx@fdc8d000 { - qcom,iommu-ctx-sids = <0x80 0x81 0x82 0x83 0x84>; - label = "venus_sec_bitstream"; - }; - - venus_sec_pixel: qcom,iommu-ctx@fdc8f000 { - compatible = "qcom,msm-smmu-v1-ctx"; - reg = <0xfdc8f000 0x1000>; - interrupts = <0 42 0>, <0 43 0>; - qcom,iommu-ctx-sids = <0x85>; - label = "venus_sec_pixel"; - qcom,secure-context; - }; - - venus_sec_non_pixel: qcom,iommu-ctx@fdc90000 { - compatible = "qcom,msm-smmu-v1-ctx"; - reg = <0xfdc90000 0x1000>; - interrupts = <0 42 0>, <0 43 0>; - qcom,iommu-ctx-sids = <0x87 0xA0>; - label = "venus_sec_non_pixel"; - qcom,secure-context; - }; -}; - -&jpeg_iommu { - status = "ok"; - vdd-supply = <&gdsc_jpeg>; - qcom,iommu-enable-halt; - - qcom,iommu-bfb-regs = <0x204c - 0x2050 - 0x2514 - 0x2540 - 0x256c - 0x2314 - 0x2394 - 0x2414 - 0x20ac - 0x215c - 0x220c - 0x2008 - 0x200c - 0x2010 - 0x2014>; - - qcom,iommu-bfb-data = <0x3FFF - 0x00000000 - 0x4 - 0x4 - 0x0 - 0x0 - 0x10 - 0x50 - 0x0 - 0x00002804 - 0x00009614 - 0x0 - 0x0 - 0x0 - 0x0>; -}; - -&mdp_iommu { - status = "ok"; - vdd-supply = <&gdsc_mdss>; - qcom,iommu-enable-halt; - - qcom,iommu-bfb-regs = <0x204c - 0x2050 - 0x2514 - 0x2540 - 0x256c - 0x20ac - 0x215c - 0x220c - 0x2314 - 0x2394 - 0x2414 - 0x2008 - 0x200c - 0x2010 - 0x2014 - 0x2018 - 0x201c - 0x2020>; - - qcom,iommu-bfb-data = <0xFFFFF - 0x00000000 - 0x00000004 - 0x00000010 - 0x00000000 - 0x00006800 - 0x00006221 - 0x00016231 - 0x0 - 0x34 - 0x74 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0>; -}; - -&kgsl_iommu { - status = "ok"; - vdd-supply = <&gdsc_oxili_cx>; - qcom,alt-vdd-supply = <&gdsc_oxili_gx>; - qcom,iommu-enable-halt; - qcom,needs-alt-core-clk; - - qcom,iommu-bfb-regs = <0x204c - 0x2050 - 0x2514 - 0x2540 - 0x256c - 0x20ac - 0x215c - 0x220c - 0x2314 - 0x2394 - 0x2414 - 0x2008>; - - qcom,iommu-bfb-data = <0x00000003 - 0x0 - 0x00000004 - 0x00000010 - 0x00000000 - 0x00000000 - 0x00000000 - 0x00000020 - 0x0 - 0x1 - 0x81 - 0x0>; -}; - -&vfe_iommu { - status = "ok"; - vdd-supply = <&gdsc_vfe>; - qcom,iommu-enable-halt; - - qcom,iommu-bfb-regs = <0x204c - 0x2050 - 0x2514 - 0x2540 - 0x256c - 0x2314 - 0x2394 - 0x2414 - 0x20ac - 0x215c - 0x220c - 0x2008 - 0x200c - 0x2010 - 0x2014 - 0x2018 - 0x201c - 0x2020>; - - qcom,iommu-bfb-data = <0xffffffff - 0x00000000 - 0x4 - 0x8 - 0x0 - 0x0 - 0x20 - 0x78 - 0x0 - 0x00003c08 - 0x0000b41e - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0>; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8974-v2-liquid.dts b/kernel/arch/arm/boot/dts/m7350-un-v1/msm8974-v2-liquid.dts deleted file mode 100644 index 53983dc1c..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8974-v2-liquid.dts +++ /dev/null @@ -1,36 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; - -/include/ "msm8974-v2.dtsi" -/include/ "msm8974-liquid.dtsi" - -/ { - model = "Qualcomm MSM 8974v2 LIQUID"; - compatible = "qcom,msm8974-liquid", "qcom,msm8974", "qcom,liquid"; - qcom,msm-id = <126 9 0x20000>, - <185 9 0x20000>, - <186 9 0x20000>; -}; - -&usb3 { - interrupt-parent = <&usb3>; - interrupts = <0 1>; - #interrupt-cells = <1>; - interrupt-map-mask = <0x0 0xffffffff>; - interrupt-map = <0x0 0 &intc 0 133 0 - 0x0 1 &spmi_bus 0x0 0x0 0x9 0x0>; - interrupt-names = "hs_phy_irq", "pmic_id_irq"; - - qcom,misc-ref = <&pm8941_misc>; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8974-v2-mtp.dts b/kernel/arch/arm/boot/dts/m7350-un-v1/msm8974-v2-mtp.dts deleted file mode 100644 index 792a78cbd..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8974-v2-mtp.dts +++ /dev/null @@ -1,40 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; - -/include/ "msm8974-v2.dtsi" -/include/ "msm8974-mtp.dtsi" - -/ { - model = "Qualcomm MSM 8974v2 MTP"; - compatible = "qcom,msm8974-mtp", "qcom,msm8974", "qcom,mtp"; - qcom,msm-id = <126 8 0x20000>, - <185 8 0x20000>, - <186 8 0x20000>; -}; - -&usb3 { - interrupt-parent = <&usb3>; - interrupts = <0 1>; - #interrupt-cells = <1>; - interrupt-map-mask = <0x0 0xffffffff>; - interrupt-map = <0x0 0 &intc 0 133 0 - 0x0 1 &spmi_bus 0x0 0x0 0x9 0x0>; - interrupt-names = "hs_phy_irq", "pmic_id_irq"; - - qcom,misc-ref = <&pm8941_misc>; -}; - -&pm8941_chg { - qcom,bpd-detection = "bpd_thm"; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8974-v2-pm.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v1/msm8974-v2-pm.dtsi deleted file mode 100644 index 8a46724ae..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8974-v2-pm.dtsi +++ /dev/null @@ -1,452 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/include/ "skeleton.dtsi" - -&soc { - qcom,spm@f9089000 { - compatible = "qcom,spm-v2"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xf9089000 0x1000>; - qcom,core-id = <0>; - qcom,saw2-ver-reg = <0xfd0>; - qcom,saw2-cfg = <0x01>; - qcom,saw2-avs-ctl = <0>; - qcom,saw2-avs-hysteresis = <0>; - qcom,saw2-avs-limit = <0>; - qcom,saw2-avs-dly= <0>; - qcom,saw2-spm-dly= <0x3C102800>; - qcom,saw2-spm-ctl = <0x1>; - qcom,saw2-spm-cmd-wfi = [03 0b 0f]; - qcom,saw2-spm-cmd-ret = [42 1b 00 d0 c0 a0 90 03 d0 98 a2 c0 - 0b 00 42 1b 0f]; - qcom,saw2-spm-cmd-spc = [00 20 80 10 90 a0 b0 03 3b 98 a2 b0 82 - 10 0b 30 06 26 30 0f]; - qcom,saw2-spm-cmd-pc = [00 20 80 10 90 a0 b0 07 3b 98 a2 b0 82 - 10 0b 30 06 26 30 0f]; - }; - - qcom,spm@f9099000 { - compatible = "qcom,spm-v2"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xf9099000 0x1000>; - qcom,core-id = <1>; - qcom,saw2-ver-reg = <0xfd0>; - qcom,saw2-cfg = <0x01>; - qcom,saw2-avs-ctl = <0>; - qcom,saw2-avs-hysteresis = <0>; - qcom,saw2-avs-limit = <0>; - qcom,saw2-avs-dly= <0>; - qcom,saw2-spm-dly= <0x3C102800>; - qcom,saw2-spm-ctl = <0x1>; - qcom,saw2-spm-cmd-wfi = [03 0b 0f]; - qcom,saw2-spm-cmd-ret = [42 1b 00 d0 c0 a0 90 03 d0 98 a2 c0 - 0b 00 42 1b 0f]; - qcom,saw2-spm-cmd-spc = [00 20 80 10 90 a0 b0 03 3b 98 a2 b0 82 - 10 0b 30 06 26 30 0f]; - qcom,saw2-spm-cmd-pc = [00 20 80 10 90 a0 b0 07 3b 98 a2 b0 82 - 10 0b 30 06 26 30 0f]; - }; - - qcom,spm@f90a9000 { - compatible = "qcom,spm-v2"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xf90a9000 0x1000>; - qcom,core-id = <2>; - qcom,saw2-ver-reg = <0xfd0>; - qcom,saw2-cfg = <0x01>; - qcom,saw2-avs-ctl = <0>; - qcom,saw2-avs-hysteresis = <0>; - qcom,saw2-avs-limit = <0>; - qcom,saw2-avs-dly= <0>; - qcom,saw2-spm-dly= <0x3C102800>; - qcom,saw2-spm-ctl = <0x1>; - qcom,saw2-spm-cmd-wfi = [03 0b 0f]; - qcom,saw2-spm-cmd-ret = [42 1b 00 d0 c0 a0 90 03 d0 98 a2 c0 - 0b 00 42 1b 0f]; - qcom,saw2-spm-cmd-spc = [00 20 80 10 90 a0 b0 03 3b 98 a2 b0 82 - 10 0b 30 06 26 30 0f]; - qcom,saw2-spm-cmd-pc = [00 20 80 10 90 a0 b0 07 3b 98 a2 b0 82 - 10 0b 30 06 26 30 0f]; - }; - - qcom,spm@f90b9000 { - compatible = "qcom,spm-v2"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xf90b9000 0x1000>; - qcom,core-id = <3>; - qcom,saw2-ver-reg = <0xfd0>; - qcom,saw2-cfg = <0x01>; - qcom,saw2-avs-ctl = <0>; - qcom,saw2-avs-hysteresis = <0>; - qcom,saw2-avs-limit = <0>; - qcom,saw2-avs-dly= <0>; - qcom,saw2-spm-dly= <0x3C102800>; - qcom,saw2-spm-ctl = <0x1>; - qcom,saw2-spm-cmd-wfi = [03 0b 0f]; - qcom,saw2-spm-cmd-ret = [42 1b 00 d0 c0 a0 90 03 d0 98 a2 c0 - 0b 00 42 1b 0f]; - qcom,saw2-spm-cmd-spc = [00 20 80 10 90 a0 b0 03 3b 98 a2 b0 82 - 10 0b 30 06 26 30 0f]; - qcom,saw2-spm-cmd-pc = [00 20 80 10 90 a0 b0 07 3b 98 a2 b0 82 - 10 0b 30 06 26 30 0f]; - }; - - qcom,spm@f9012000 { - compatible = "qcom,spm-v2"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xf9012000 0x1000>; - qcom,core-id = <0xffff>; /* L2/APCS SAW */ - qcom,saw2-ver-reg = <0xfd0>; - qcom,saw2-cfg = <0x14>; - qcom,saw2-avs-ctl = <0>; - qcom,saw2-avs-hysteresis = <0>; - qcom,saw2-avs-limit = <0>; - qcom,saw2-avs-dly= <0>; - qcom,saw2-spm-dly= <0x3C102800>; - qcom,saw2-spm-ctl = <0x1>; - qcom,saw2-pmic-data0 = <0x02030080>; - qcom,saw2-pmic-data1 = <0x00030000>; - qcom,vctl-timeout-us = <50>; - qcom,vctl-port = <0x0>; - qcom,phase-port = <0x1>; - qcom,pfm-port = <0x2>; - qcom,saw2-spm-cmd-ret = [1f 00 03 00 0f]; - qcom,saw2-spm-cmd-gdhs = [00 32 42 07 44 50 02 32 50 0f]; - qcom,saw2-spm-cmd-pc = [00 32 b0 11 42 07 01 b0 44 - 50 02 32 50 0f]; - }; - - qcom,lpm-resources { - compatible = "qcom,lpm-resources"; - #address-cells = <1>; - #size-cells = <0>; - - qcom,lpm-resources@0 { - reg = <0x0>; - qcom,name = "vdd-dig"; - qcom,type = <0x62706d73>; /* "smpb" */ - qcom,id = <0x02>; - qcom,key = <0x6e726f63>; /* "corn" */ - qcom,init-value = <6>; /* Super Turbo */ - }; - - qcom,lpm-resources@1 { - reg = <0x1>; - qcom,name = "vdd-mem"; - qcom,type = <0x62706d73>; /* "smpb" */ - qcom,id = <0x01>; - qcom,key = <0x7675>; /* "uv" */ - qcom,init-value = <1050000>; /* Super Turbo */ - }; - - qcom,lpm-resources@2 { - reg = <0x2>; - qcom,name = "pxo"; - qcom,type = <0x306b6c63>; /* "clk0" */ - qcom,id = <0x00>; - qcom,key = <0x62616e45>; /* "Enab" */ - qcom,init-value = "xo_on"; - }; - - qcom,lpm-resources@3 { - reg = <0x3>; - qcom,name = "l2"; - qcom,local-resource-type; - qcom,init-value = "l2_cache_retention"; - }; - }; - - qcom,lpm-levels { - compatible = "qcom,lpm-levels"; - #address-cells = <1>; - #size-cells = <0>; - - qcom,use-qtimer; - - qcom,lpm-level@0 { - reg = <0x0>; - qcom,mode = "wfi"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_active"; - qcom,vdd-mem-upper-bound = <1050000>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <950000>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <1>; - qcom,ss-power = <715>; - qcom,energy-overhead = <17700>; - qcom,time-overhead = <2>; - }; - - qcom,lpm-level@1 { - reg = <0x1>; - qcom,mode = "retention"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_active"; - qcom,vdd-mem-upper-bound = <1050000>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <950000>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <35>; - qcom,ss-power = <542>; - qcom,energy-overhead = <34920>; - qcom,time-overhead = <40>; - }; - - - qcom,lpm-level@2 { - reg = <0x2>; - qcom,mode = "standalone_pc"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_active"; - qcom,vdd-mem-upper-bound = <1050000>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <950000>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <300>; - qcom,ss-power = <476>; - qcom,energy-overhead = <225300>; - qcom,time-overhead = <350>; - }; - - qcom,lpm-level@3 { - reg = <0x3>; - qcom,mode = "pc"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_gdhs"; - qcom,vdd-mem-upper-bound = <1050000>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <950000>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <2817>; - qcom,ss-power = <163>; - qcom,energy-overhead = <1577736>; - qcom,time-overhead = <5067>; - }; - - qcom,lpm-level@4 { - reg = <0x4>; - qcom,mode = "pc"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_pc"; - qcom,vdd-mem-upper-bound = <1050000>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <950000>; /* SVS SOC */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <3>; /* SVS SOC */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <3922>; - qcom,ss-power = <83>; - qcom,energy-overhead = <2274420>; - qcom,time-overhead = <6605>; - }; - - qcom,lpm-level@5 { - reg = <0x5>; - qcom,mode = "pc"; - qcom,xo = "xo_off"; - qcom,l2 = "l2_cache_pc"; - qcom,vdd-mem-upper-bound = <1050000>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <950000>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,latency-us = <4922>; - qcom,ss-power = <68>; - qcom,energy-overhead = <2568180>; - qcom,time-overhead = <8812>; - }; - - qcom,lpm-level@6 { - reg = <0x6>; - qcom,mode= "pc"; - qcom,xo = "xo_off"; - qcom,l2 = "l2_cache_pc"; - qcom,vdd-mem-upper-bound = <950000>; /* NORMAL */ - qcom,vdd-mem-lower-bound = <950000>; /* SVS SOC */ - qcom,vdd-dig-upper-bound = <4>; /* NORMAL */ - qcom,vdd-dig-lower-bound = <3>; /* SVS SOC */ - qcom,latency-us = <5890>; - qcom,ss-power = <60>; - qcom,energy-overhead = <2675900>; - qcom,time-overhead = <10140>; - }; - - qcom,lpm-level@7 { - reg = <0x7>; - qcom,mode= "pc"; - qcom,xo = "xo_off"; - qcom,l2 = "l2_cache_pc"; - qcom,vdd-mem-upper-bound = <950000>; /* SVS SOC */ - qcom,vdd-mem-lower-bound = <675000>; /* RETENTION */ - qcom,vdd-dig-upper-bound = <3>; /* SVS SOC */ - qcom,vdd-dig-lower-bound = <1>; /* RETENTION */ - qcom,latency-us = <8500>; - qcom,ss-power = <18>; - qcom,energy-overhead = <3286600>; - qcom,time-overhead = <15760>; - }; - }; - - qcom,pm-boot { - compatible = "qcom,pm-boot"; - qcom,mode = "tz"; - }; - - qcom,mpm@fc4281d0 { - compatible = "qcom,mpm-v2"; - reg = <0xfc4281d0 0x1000>, /* MSM_RPM_MPM_BASE 4K */ - <0xf9011008 0x4>; /* MSM_APCS_GCC_BASE 4K */ - reg-names = "vmpm", "ipc"; - interrupts = <0 171 1>; - - qcom,ipc-bit-offset = <1>; - - qcom,gic-parent = <&intc>; - qcom,gic-map = <2 216>, /* tsens_upper_lower_int */ - <47 165>, /* usb30_hs_phy_irq */ - <50 172>, /* usb1_hs_async_wakeup_irq */ - <53 104>, /* mdss_irq */ - <62 222>, /* ee0_krait_hlos_spmi_periph_irq */ - <0xff 57>, /* mss_to_apps_irq(0) */ - <0xff 58>, /* mss_to_apps_irq(1) */ - <0xff 59>, /* mss_to_apps_irq(2) */ - <0xff 60>, /* mss_to_apps_irq(3) */ - <0xff 173>, /* o_wcss_apss_smd_hi */ - <0xff 174>, /* o_wcss_apss_smd_med */ - <0xff 175>, /* o_wcss_apss_smd_low */ - <0xff 176>, /* o_wcss_apss_smsm_irq */ - <0xff 177>, /* o_wcss_apss_wlan_data_xfer_done */ - <0xff 178>, /* o_wcss_apss_wlan_rx_data_avail */ - <0xff 179>, /* o_wcss_apss_asic_intr - - <0xff 188>, /* lpass_irq_out_apcs(0) */ - <0xff 189>, /* lpass_irq_out_apcs(1) */ - <0xff 190>, /* lpass_irq_out_apcs(2) */ - <0xff 191>, /* lpass_irq_out_apcs(3) */ - <0xff 192>, /* lpass_irq_out_apcs(4) */ - <0xff 193>, /* lpass_irq_out_apcs(5) */ - <0xff 194>, /* lpass_irq_out_apcs(6) */ - <0xff 195>, /* lpass_irq_out_apcs(7) */ - <0xff 196>, /* lpass_irq_out_apcs(8) */ - <0xff 197>, /* lpass_irq_out_apcs(9) */ - <0xff 200>, /* rpm_ipc(4) */ - <0xff 201>, /* rpm_ipc(5) */ - <0xff 202>, /* rpm_ipc(6) */ - <0xff 203>, /* rpm_ipc(7) */ - <0xff 204>, /* rpm_ipc(24) */ - <0xff 205>, /* rpm_ipc(25) */ - <0xff 206>, /* rpm_ipc(26) */ - <0xff 207>, /* rpm_ipc(27) */ - <0xff 240>; /* summary_irq_kpss */ - - qcom,gpio-parent = <&msmgpio>; - qcom,gpio-map = <3 102>, - <4 1 >, - <5 5 >, - <6 9 >, - <7 18>, - <8 20>, - <9 24>, - <10 27>, - <11 28>, - <12 34>, - <13 35>, - <14 37>, - <15 42>, - <16 44>, - <17 46>, - <18 50>, - <19 54>, - <20 59>, - <21 61>, - <22 62>, - <23 64>, - <24 65>, - <25 66>, - <26 67>, - <27 68>, - <28 71>, - <29 72>, - <30 73>, - <31 74>, - <32 75>, - <33 77>, - <34 79>, - <35 80>, - <36 82>, - <37 86>, - <38 92>, - <39 93>, - <40 95>, - <41 144>; - }; - - qcom,pm-8x60@fe805664 { - compatible = "qcom,pm-8x60"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - reg = <0xfe805664 0x40>; - qcom,pc-mode = "tz_l2_int"; - qcom,use-sync-timer; - - qcom,pm-snoc-client { - compatible = "qcom,pm-snoc-client"; - qcom,msm-bus,name = "ocimem_snoc"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,active-only; - qcom,msm-bus,vectors-KBps = - <54 585 0 0>, - <54 585 0 800000>; - }; - }; - - qcom,cpu-sleep-status@f9088008{ - compatible = "qcom,cpu-sleep-status"; - reg = <0xf9088008 0x100>; - qcom,cpu-alias-addr = <0x10000>; - qcom,sleep-status-mask= <0x80000>; - }; - - qcom,rpm-log@fc19dc00 { - compatible = "qcom,rpm-log"; - reg = <0xfc19dc00 0x4000>; - qcom,rpm-addr-phys = <0xfc000000>; - qcom,offset-version = <4>; - qcom,offset-page-buffer-addr = <36>; - qcom,offset-log-len = <40>; - qcom,offset-log-len-mask = <44>; - qcom,offset-page-indices = <56>; - }; - - qcom,rpm-stats@fc19dba0 { - compatible = "qcom,rpm-stats"; - reg = <0xfc19dba0 0x1000>; - reg-names = "phys_addr_base"; - qcom,sleep-stats-version = <2>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8974-v2.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v1/msm8974-v2.dtsi deleted file mode 100644 index 96e78ac28..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8974-v2.dtsi +++ /dev/null @@ -1,138 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/* - * As a general rule, only version-specific property overrides should be placed - * inside this file. However, device definitions should be placed inside the - * msm8974.dtsi file. - */ - -/include/ "msm8974.dtsi" -/include/ "msm8974-v2-iommu.dtsi" -/include/ "msm8974-v2-iommu-domains.dtsi" -/include/ "msm8974-v2-pm.dtsi" - -&soc { - android_usb@fe8050c8 { - compatible = "qcom,android-usb"; - reg = <0xfe8050c8 0xc8>; - qcom,android-usb-swfi-latency = <1>; - }; - - qcom,msm-imem@fe805000 { - compatible = "qcom,msm-imem"; - reg = <0xfe805000 0x1000>; /* Address and size of IMEM */ - }; -}; - -/* GPU overrides */ -&msm_gpu { - /* Updated chip ID */ - qcom,chipid = <0x03030001>; - - /* Updated bus bandwidth requirements */ - qcom,msm-bus,vectors-KBps = - /* Off */ - <26 512 0 0>, <89 604 0 0>, - /* SVS */ - <26 512 0 2400000>, <89 604 0 3000000>, - /* Nominal / SVS */ - <26 512 0 4656000>, <89 604 0 3000000>, - /* Nominal */ - <26 512 0 4656000>, <89 604 0 5120000>, - /* Turbo / Nominal */ - <26 512 0 7464000>, <89 604 0 5120000>, - /* Turbo */ - <26 512 0 7464000>, <89 604 0 6400000>; -}; - -&mdss_mdp { - qcom,vbif-settings = <0x0004 0x00000001>; - - qcom,mdss-wb-off = <0x00011100 0x00011500 - 0x00011900 0x00011D00 0x00012100>; - qcom,mdss-intf-off = <0x00012500 0x00012700 - 0x00012900 0x00012b00>; - qcom,mdss-pingpong-off = <0x00012D00 0x00012E00 0x00012F00>; - qcom,mdss-has-bwc; - qcom,mdss-has-decimation; - qcom,mdss-ad-off = <0x0013100 0x00013300>; -}; - -&mdss_hdmi_tx { - reg = <0xfd922100 0x370>, - <0xfd922500 0x7C>, - <0xfc4b8000 0x60F0>; - reg-names = "core_physical", "phy_physical", "qfprom_physical"; -}; - -&msm_vidc { - qcom,vidc-ns-map = <0x40000000 0x40000000>; - qcom,load-freq-tbl = <979200 465000000>, - <783360 465000000>, - <489600 266670000>, - <244800 133330000>; - qcom,reg-presets = <0x80004 0x1>, - <0x80070 0x11FFF>, - <0x80074 0xA4>, - <0x800A8 0x1FFF>, - <0x80124 0x3>, - <0xE0020 0x5555556>, - <0xE0024 0x0>; - qcom,bus-ports = <1>; - qcom,enc-ocmem-ab-ib = <0 0>, - <138000 1034000>, - <414000 1034000>, - <940000 1034000>, - <1880000 2068000>, - <3008000 3309000>, - <3760000 4136000>, - <4468000 2457000>; - qcom,dec-ocmem-ab-ib = <0 0>, - <176000 519000>, - <456000 519000>, - <864000 519000>, - <1728000 1038000>, - <2766000 1661000>, - <3456000 2076000>, - <3662000 2198000>; - qcom,enc-ddr-ab-ib = <0 0>, - <120000 302000>, - <364000 302000>, - <804000 302000>, - <1608000 604000>, - <2576000 967000>, - <4680000 1404000>, - <49880000 1496000>; - qcom,dec-ddr-ab-ib = <0 0>, - <208000 303000>, - <536000 303000>, - <1012000 303000>, - <2024000 606000>, - <3240000 970000>, - <4048000 1212000>, - <4264000 1279000>; - qcom,iommu-groups = <&venus_domain_ns &venus_domain_sec_bitstream - &venus_domain_sec_pixel &venus_domain_sec_non_pixel>; - qcom,iommu-group-buffer-types = <0xfff 0x91 0x42 0x120>; - qcom,buffer-type-tz-usage-table = <0x91 0x1>, - <0x42 0x2>, - <0x120 0x3>; -}; - -&krait_pdn { - qcom,use-phase-switching; -}; - -&tspp { - vdd_cx-supply = <&pm8841_s2_corner>; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8974.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v1/msm8974.dtsi deleted file mode 100644 index 6f164912e..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/msm8974.dtsi +++ /dev/null @@ -1,1745 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/include/ "skeleton.dtsi" - -/ { - model = "Qualcomm MSM 8974"; - compatible = "qcom,msm8974"; - interrupt-parent = <&intc>; - - aliases { - spi0 = &spi_0; - spi7 = &spi_7; - sdhc1 = &sdhc_1; /* SDC1 eMMC slot */ - sdhc2 = &sdhc_2; /* SDC2 SD card slot */ - sdhc3 = &sdhc_3; /* SDC3 SDIO slot */ - sdhc4 = &sdhc_4; /* SDC4 SDIO slot */ - - /* smdtty devices */ - smd1 = &smdtty_apps_fm; - smd2 = &smdtty_apps_riva_bt_acl; - smd3 = &smdtty_apps_riva_bt_cmd; - smd4 = &smdtty_mbalbridge; - smd5 = &smdtty_apps_riva_ant_cmd; - smd6 = &smdtty_apps_riva_ant_data; - smd7 = &smdtty_data1; - smd11 = &smdtty_data11; - smd21 = &smdtty_data21; - smd27 = &smdtty_gps_nmea; - smd36 = &smdtty_loopback; - }; - - cpus { - #size-cells = <0>; - #address-cells = <1>; - - CPU0: cpu@0 { - device_type = "cpu"; - compatible = "qcom,krait"; - reg = <0x0>; - }; - - CPU1: cpu@1 { - device_type = "cpu"; - compatible = "qcom,krait"; - reg = <0x1>; - }; - - CPU2: cpu@2 { - device_type = "cpu"; - compatible = "qcom,krait"; - reg = <0x2>; - }; - - CPU3: cpu@3 { - device_type = "cpu"; - compatible = "qcom,krait"; - reg = <0x3>; - }; - }; - - memory { - secure_mem: secure_region { - linux,contiguous-region; - reg = <0 0xFC00000>; - label = "secure_mem"; - }; - - adsp_mem: adsp_region { - linux,contiguous-region; - reg = <0 0x2F00000>; - label = "adsp_mem"; - }; - - qsecom_mem: qsecom_region { - linux,contiguous-region; - reg = <0 0x1100000>; - label = "qseecom_mem"; - }; - - }; - - soc: soc { }; -}; - -/include/ "msm8974-camera.dtsi" -/include/ "msm8974-coresight.dtsi" -/include/ "msm-gdsc.dtsi" -/include/ "msm8974-ion.dtsi" -/include/ "msm8974-gpu.dtsi" -/include/ "msm8974-mdss.dtsi" -/include/ "msm8974-smp2p.dtsi" -/include/ "msm8974-bus.dtsi" - -&soc { - #address-cells = <1>; - #size-cells = <1>; - ranges; - - intc: interrupt-controller@F9000000 { - compatible = "qcom,msm-qgic2"; - interrupt-controller; - #interrupt-cells = <3>; - reg = <0xF9000000 0x1000>, - <0xF9002000 0x1000>; - }; - - msmgpio: gpio@fd510000 { - compatible = "qcom,msm-gpio"; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - reg = <0xfd510000 0x4000>; - ngpio = <146>; - interrupts = <0 208 0>; - qcom,direct-connect-irqs = <8>; - }; - - wcd9xxx_intc: wcd9xxx-irq { - compatible = "qcom,wcd9xxx-irq"; - interrupt-controller; - #interrupt-cells = <1>; - interrupt-parent = <&msmgpio>; - interrupts = <72 0>; - interrupt-names = "cdc-int"; - }; - - timer { - compatible = "arm,armv7-timer"; - interrupts = <1 2 0 1 3 0>; - clock-frequency = <19200000>; - }; - - 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 8 0x4>, - <0 7 0x4>; - reg = <0xf9021000 0x1000>, - <0xf9022000 0x1000>; - }; - - frame@f9023000 { - frame-number = <1>; - interrupts = <0 9 0x4>; - reg = <0xf9023000 0x1000>; - status = "disabled"; - }; - - frame@f9024000 { - frame-number = <2>; - interrupts = <0 10 0x4>; - reg = <0xf9024000 0x1000>; - status = "disabled"; - }; - - frame@f9025000 { - frame-number = <3>; - interrupts = <0 11 0x4>; - reg = <0xf9025000 0x1000>; - status = "disabled"; - }; - - frame@f9026000 { - frame-number = <4>; - interrupts = <0 12 0x4>; - reg = <0xf9026000 0x1000>; - status = "disabled"; - }; - - frame@f9027000 { - frame-number = <5>; - interrupts = <0 13 0x4>; - reg = <0xf9027000 0x1000>; - status = "disabled"; - }; - - frame@f9028000 { - frame-number = <6>; - interrupts = <0 14 0x4>; - reg = <0xf9028000 0x1000>; - status = "disabled"; - }; - }; - - - qcom,mpm2-sleep-counter@fc4a3000 { - compatible = "qcom,mpm2-sleep-counter"; - reg = <0xfc4a3000 0x1000>; - clock-frequency = <32768>; - }; - - msm_vidc: qcom,vidc@fdc00000 { - compatible = "qcom,msm-vidc"; - reg = <0xfdc00000 0xff000>; - interrupts = <0 44 0>; - qcom,hfi = "venus"; - qcom,has-ocmem; - qcom,max-hw-load = <1224450>; /* 4k @ 30 + 1080p @ 30*/ - }; - - qcom,vidc { - compatible = "qcom,msm-vidc"; - qcom,hfi = "q6"; - qcom,max-hw-load = <108000>; /* 720p @ 30 */ - }; - - qcom,wfd { - compatible = "qcom,msm-wfd"; - }; - - serial@f991f000 { - compatible = "qcom,msm-lsuart-v14"; - reg = <0xf991f000 0x1000>; - interrupts = <0 109 0>; - status = "disabled"; - }; - - serial@f995e000 { - compatible = "qcom,msm-lsuart-v14"; - reg = <0xf995e000 0x1000>; - interrupts = <0 114 0>; - status = "disabled"; - }; - - serial@f991e000 { - compatible = "qcom,msm-lsuart-v14"; - reg = <0xf991e000 0x1000>; - interrupts = <0 108 0>; - status = "disabled"; - - qcom,msm-bus,name = "serial_uart2"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <86 512 0 0>, - <86 512 500 800>; - }; - - usb_otg: usb@f9a55000 { - compatible = "qcom,hsusb-otg"; - status = "disabled"; - - reg = <0xf9a55000 0x400>; - interrupts = <0 134 0 0 140 0>; - interrupt-names = "core_irq", "async_irq"; - HSUSB_VDDCX-supply = <&pm8841_s2_corner>; - HSUSB_1p8-supply = <&pm8941_l6>; - HSUSB_3p3-supply = <&pm8941_l24>; - qcom,vdd-voltage-level = <1 5 7>; - - 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>; - qcom,hsusb-otg-disable-reset; - - qcom,msm-bus,name = "usb2"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <87 512 0 0>, - <87 512 60000 960000>; - }; - - sdcc1: qcom,sdcc@f9824000 { - cell-index = <1>; /* SDC1 eMMC slot */ - compatible = "qcom,msm-sdcc"; - reg = <0xf9824000 0x800>, - <0xf9824800 0x100>, - <0xf9804000 0x7000>; - reg-names = "core_mem", "dml_mem", "bam_mem"; - interrupts = <0 123 0>, <0 137 0>; - interrupt-names = "core_irq", "bam_irq"; - vdd-supply = <&pm8941_l20>; - vdd-io-supply = <&pm8941_s3>; - - qcom,vdd-always-on; - qcom,vdd-lpm-sup; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <800 500000>; - - qcom,vdd-io-always-on; - qcom,vdd-io-voltage-level = <1800000 1800000>; - qcom,vdd-io-current-level = <250 154000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 20000000 25000000 50000000 100000000 200000000>; - qcom,sup-voltages = <2950 2950>; - qcom,bus-width = <8>; - qcom,nonremovable; - qcom,bus-speed-mode = "HS200_1p8v", "DDR_1p8v"; - - qcom,msm-bus,name = "sdcc1"; - qcom,msm-bus,num-cases = <8>; - 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 800000 1600000>, /* 200 MB/s */ - <78 512 2048000 4096000>; /* Max. bandwidth */ - qcom,bus-bw-vectors-bps = <0 400000 20000000 25000000 50000000 100000000 200000000 4294967295>; - qcom,dat1-mpm-int = <42>; - status = "disable"; - }; - - sdcc2: qcom,sdcc@f98a4000 { - cell-index = <2>; /* SDC2 SD card slot */ - compatible = "qcom,msm-sdcc"; - reg = <0xf98a4000 0x800>, - <0xf98a4800 0x100>, - <0xf9884000 0x7000>; - reg-names = "core_mem", "dml_mem", "bam_mem"; - interrupts = <0 125 0>, <0 220 0>; - interrupt-names = "core_irq", "bam_irq"; - vdd-supply = <&pm8941_l21>; - vdd-io-supply = <&pm8941_l13>; - - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <9000 800000>; - - qcom,vdd-io-voltage-level = <1800000 2950000>; - qcom,vdd-io-current-level = <6 22000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 20000000 25000000 50000000 100000000 200000000>; - qcom,sup-voltages = <2950 2950>; - qcom,bus-width = <4>; - qcom,xpc; - qcom,bus-speed-mode = "SDR12", "SDR25", "SDR50", "DDR50", "SDR104"; - qcom,current-limit = <800>; - - qcom,msm-bus,name = "sdcc2"; - 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 1600000>, /* 200 MB/s */ - <81 512 2048000 4096000>; /* Max. bandwidth */ - qcom,bus-bw-vectors-bps = <0 400000 20000000 25000000 50000000 100000000 200000000 4294967295>; - qcom,dat1-mpm-int = <44>; - status = "disable"; - }; - - sdcc3: qcom,sdcc@f9864000 { - cell-index = <3>; /* SDC3 SDIO slot */ - compatible = "qcom,msm-sdcc"; - reg = <0xf9864000 0x800>, - <0xf9864800 0x100>, - <0xf9844000 0x7000>; - reg-names = "core_mem", "dml_mem", "bam_mem"; - #address-cells = <0>; - interrupt-parent = <&sdcc3>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 127 0 - 1 &intc 0 223 0 - 2 &msmgpio 37 0x8>; - interrupt-names = "core_irq", "bam_irq", "sdiowakeup_irq"; - - gpios = <&msmgpio 40 0>, /* CLK */ - <&msmgpio 39 0>, /* CMD */ - <&msmgpio 38 0>, /* DATA0 */ - <&msmgpio 37 0>, /* DATA1 */ - <&msmgpio 36 0>, /* DATA2 */ - <&msmgpio 35 0>; /* DATA3 */ - qcom,gpio-names = "CLK", "CMD", "DAT0", "DAT1", "DAT2", "DAT3"; - - qcom,clk-rates = <400000 20000000 25000000 50000000 100000000>; - qcom,sup-voltages = <1800 1800>; - qcom,bus-width = <4>; - qcom,bus-speed-mode = "SDR12", "SDR25", "SDR50", "DDR50"; - - qcom,msm-bus,name = "sdcc3"; - 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 1600000>, /* 200 MB/s */ - <79 512 2048000 4096000>; /* Max. bandwidth */ - qcom,bus-bw-vectors-bps = <0 400000 20000000 25000000 50000000 100000000 200000000 4294967295>; - status = "disable"; - }; - - sdcc4: qcom,sdcc@f98e4000 { - cell-index = <4>; /* SDC4 SDIO slot */ - compatible = "qcom,msm-sdcc"; - reg = <0xf98e4000 0x800>, - <0xf98e4800 0x100>, - <0xf98c4000 0x7000>; - reg-names = "core_mem", "dml_mem", "bam_mem"; - #address-cells = <0>; - interrupt-parent = <&sdcc4>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 129 0 - 1 &intc 0 226 0 - 2 &msmgpio 95 0x8>; - interrupt-names = "core_irq", "bam_irq", "sdiowakeup_irq"; - - gpios = <&msmgpio 93 0>, /* CLK */ - <&msmgpio 91 0>, /* CMD */ - <&msmgpio 96 0>, /* DATA0 */ - <&msmgpio 95 0>, /* DATA1 */ - <&msmgpio 94 0>, /* DATA2 */ - <&msmgpio 92 0>; /* DATA3 */ - qcom,gpio-names = "CLK", "CMD", "DAT0", "DAT1", "DAT2", "DAT3"; - - qcom,clk-rates = <400000 20000000 25000000 50000000 100000000>; - qcom,sup-voltages = <1800 1800>; - qcom,bus-width = <4>; - qcom,bus-speed-mode = "SDR12", "SDR25", "SDR50", "DDR50"; - - qcom,msm-bus,name = "sdcc4"; - qcom,msm-bus,num-cases = <8>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = <80 512 0 0>, /* No vote */ - <80 512 1600 3200>, /* 400 KB/s*/ - <80 512 80000 160000>, /* 20 MB/s */ - <80 512 100000 200000>, /* 25 MB/s */ - <80 512 200000 400000>, /* 50 MB/s */ - <80 512 400000 800000>, /* 100 MB/s */ - <80 512 800000 1600000>, /* 200 MB/s */ - <80 512 2048000 4096000>; /* Max. bandwidth */ - qcom,bus-bw-vectors-bps = <0 400000 20000000 25000000 50000000 100000000 200000000 4294967295>; - status = "disable"; - }; - - sdhc_1: sdhci@f9824900 { - qcom,bus-width = <8>; - compatible = "qcom,sdhci-msm"; - reg = <0xf9824900 0x11c>, <0xf9824000 0x800>; - reg-names = "hc_mem", "core_mem"; - interrupts = <0 123 0>, <0 138 0>; - interrupt-names = "hc_irq", "pwr_irq"; - qcom,clk-rates = <400000 20000000 25000000 50000000 100000000 200000000>; - qcom,bus-speed-mode = "HS200_1p8v", "DDR_1p8v"; - qcom,cpu-dma-latency-us = <200>; - - qcom,msm-bus,name = "sdhc1"; - qcom,msm-bus,num-cases = <8>; - 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 800000 1600000>, /* 200 MB/s */ - <78 512 2048000 4096000>; /* Max. bandwidth */ - qcom,bus-bw-vectors-bps = <0 400000 20000000 25000000 50000000 100000000 200000000 4294967295>; - status = "disable"; - }; - - 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"; - - qcom,clk-rates = <400000 20000000 25000000 50000000 100000000 200000000>; - qcom,bus-width = <4>; - qcom,cpu-dma-latency-us = <200>; - - 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 1600000>, /* 200 MB/s */ - <81 512 2048000 4096000>; /* Max. bandwidth */ - qcom,bus-bw-vectors-bps = <0 400000 20000000 25000000 50000000 100000000 200000000 4294967295>; - status = "disable"; - }; - - 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"; - gpios = <&msmgpio 40 0>, /* CLK */ - <&msmgpio 39 0>, /* CMD */ - <&msmgpio 38 0>, /* DATA0 */ - <&msmgpio 37 0>, /* DATA1 */ - <&msmgpio 36 0>, /* DATA2 */ - <&msmgpio 35 0>; /* DATA3 */ - qcom,gpio-names = "CLK", "CMD", "DAT0", "DAT1", "DAT2", "DAT3"; - - qcom,clk-rates = <400000 20000000 25000000 50000000 100000000>; - qcom,bus-width = <4>; - qcom,cpu-dma-latency-us = <200>; - - 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 1600000>, /* 200 MB/s */ - <79 512 2048000 4096000>; /* Max. bandwidth */ - qcom,bus-bw-vectors-bps = <0 400000 20000000 25000000 50000000 100000000 200000000 4294967295>; - status = "disable"; - }; - - sdhc_4: sdhci@f98e4900 { - compatible = "qcom,sdhci-msm"; - reg = <0xf98e4900 0x11c>, <0xf98e4000 0x800>; - reg-names = "hc_mem", "core_mem"; - interrupts = <0 129 0>, <0 227 0>; - interrupt-names = "hc_irq", "pwr_irq"; - gpios = <&msmgpio 93 0>, /* CLK */ - <&msmgpio 91 0>, /* CMD */ - <&msmgpio 96 0>, /* DATA0 */ - <&msmgpio 95 0>, /* DATA1 */ - <&msmgpio 94 0>, /* DATA2 */ - <&msmgpio 92 0>; /* DATA3 */ - qcom,gpio-names = "CLK", "CMD", "DAT0", "DAT1", "DAT2", "DAT3"; - - qcom,clk-rates = <400000 20000000 25000000 50000000 100000000>; - qcom,bus-width = <4>; - qcom,cpu-dma-latency-us = <200>; - - qcom,msm-bus,name = "sdhc4"; - qcom,msm-bus,num-cases = <8>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = <80 512 0 0>, /* No vote */ - <80 512 1600 3200>, /* 400 KB/s*/ - <80 512 80000 160000>, /* 20 MB/s */ - <80 512 100000 200000>, /* 25 MB/s */ - <80 512 200000 400000>, /* 50 MB/s */ - <80 512 400000 800000>, /* 100 MB/s */ - <80 512 800000 1600000>, /* 200 MB/s */ - <80 512 2048000 4096000>; /* Max. bandwidth */ - qcom,bus-bw-vectors-bps = <0 400000 20000000 25000000 50000000 100000000 200000000 4294967295>; - status = "disable"; - }; - - qcom,sps@f9980000 { - compatible = "qcom,msm_sps"; - reg = <0xf9984000 0x15000>, - <0xf9999000 0xb000>; - interrupts = <0 94 0>; - - qcom,bam-dma-res-pipes = <6>; - }; - - spi_7: spi_epm: spi@f9966000 { - compatible = "qcom,spi-qup-v2"; - reg = <0xf9966000 0x1000>; - interrupts = <0 104 0>; - spi-max-frequency = <19200000>; - #address-cells = <1>; - #size-cells = <0>; - gpios = <&msmgpio 56 0>, /* CLK */ - <&msmgpio 54 0>, /* MISO */ - <&msmgpio 53 0>; /* MOSI */ - cs-gpios = <&msmgpio 55 0>; - qcom,master-id = <84>; - }; - - tspp: msm_tspp@f99d8000 { - compatible = "qcom,msm_tspp"; - cell-index = <0>; - reg = <0xf99d8000 0x1000>, /* MSM_TSIF0_PHYS */ - <0xf99d9000 0x1000>, /* MSM_TSIF1_PHYS */ - <0xf99da000 0x1000>, /* MSM_TSPP_PHYS */ - <0xf99c4000 0x14000>; /* MSM_TSPP_BAM_PHYS */ - reg-names = "MSM_TSIF0_PHYS", - "MSM_TSIF1_PHYS", - "MSM_TSPP_PHYS", - "MSM_TSPP_BAM_PHYS"; - interrupts = <0 153 0>, /* TSIF_TSPP_IRQ */ - <0 151 0>, /* TSIF0_IRQ */ - <0 152 0>, /* TSIF1_IRQ */ - <0 154 0>; /* TSIF_BAM_IRQ */ - interrupt-names = "TSIF_TSPP_IRQ", - "TSIF0_IRQ", - "TSIF1_IRQ", - "TSIF_BAM_IRQ"; - qcom,tsif-pclk = "iface_clk"; - qcom,tsif-ref-clk = "ref_clk"; - gpios = <&msmgpio 89 0>, /* TSIF0 CLK */ - <&msmgpio 90 0>, /* TSIF0 EN */ - <&msmgpio 91 0>, /* TSIF0 DATA */ - <&msmgpio 92 0>, /* TSIF0 SYNC */ - <&msmgpio 93 0>, /* TSIF1 CLK */ - <&msmgpio 94 0>, /* TSIF1 EN */ - <&msmgpio 95 0>, /* TSIF1 DATA */ - <&msmgpio 96 0>; /* TSIF1 SYNC */ - qcom,gpio-names = "tsif_clk", - "tsif_en", - "tsif_data", - "tsif_sync", - "tsif_clk", - "tsif_en", - "tsif_data", - "tsif_sync"; - qcom,gpios-func = <1>; - - qcom,msm-bus,name = "tsif"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,active-only = <0>; - 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 */ - }; - - slim_msm: slim@fe12f000 { - cell-index = <1>; - compatible = "qcom,slim-ngd"; - reg = <0xfe12f000 0x35000>, - <0xfe104000 0x20000>; - reg-names = "slimbus_physical", "slimbus_bam_physical"; - interrupts = <0 163 0 0 164 0>; - interrupt-names = "slimbus_irq", "slimbus_bam_irq"; - - taiko_codec { - compatible = "qcom,taiko-slim-pgd"; - elemental-addr = [00 01 A0 00 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>; - - qcom,cdc-reset-gpio = <&msmgpio 63 0>; - - cdc-vdd-buck-supply = <&pm8941_s2>; - qcom,cdc-vdd-buck-voltage = <2150000 2150000>; - qcom,cdc-vdd-buck-current = <650000>; - - cdc-vdd-tx-h-supply = <&pm8941_s3>; - qcom,cdc-vdd-tx-h-voltage = <1800000 1800000>; - qcom,cdc-vdd-tx-h-current = <25000>; - - cdc-vdd-rx-h-supply = <&pm8941_s3>; - qcom,cdc-vdd-rx-h-voltage = <1800000 1800000>; - qcom,cdc-vdd-rx-h-current = <25000>; - - cdc-vddpx-1-supply = <&pm8941_s3>; - qcom,cdc-vddpx-1-voltage = <1800000 1800000>; - qcom,cdc-vddpx-1-current = <10000>; - - cdc-vdd-a-1p2v-supply = <&pm8941_l1>; - qcom,cdc-vdd-a-1p2v-voltage = <1225000 1225000>; - qcom,cdc-vdd-a-1p2v-current = <10000>; - - cdc-vddcx-1-supply = <&pm8941_l1>; - qcom,cdc-vddcx-1-voltage = <1225000 1225000>; - qcom,cdc-vddcx-1-current = <10000>; - - cdc-vddcx-2-supply = <&pm8941_l1>; - qcom,cdc-vddcx-2-voltage = <1225000 1225000>; - qcom,cdc-vddcx-2-current = <10000>; - - 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>; - qcom,cdc-micbias-cfilt2-mv = <2700>; - 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 = "taiko-slim-ifd"; - qcom,cdc-slim-ifd-elemental-addr = [00 00 A0 00 17 02]; - qcom,cdc-dmic-sample-rate = <4800000>; - }; - }; - - sound { - compatible = "qcom,msm8974-audio-taiko"; - qcom,model = "msm8974-taiko-snd-card"; - - qcom,audio-routing = - "RX_BIAS", "MCLK", - "LDO_H", "MCLK", - "AIF4 MAD", "MCLK", - "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"; - - qcom,cdc-mclk-gpios = <&pm8941_gpios 15 0>; - qcom,taiko-mclk-clk-freq = <9600000>; - qcom,prim-auxpcm-gpio-clk = <&msmgpio 65 0>; - qcom,prim-auxpcm-gpio-sync = <&msmgpio 66 0>; - qcom,prim-auxpcm-gpio-din = <&msmgpio 67 0>; - qcom,prim-auxpcm-gpio-dout = <&msmgpio 68 0>; - qcom,prim-auxpcm-gpio-set = "prim-gpio-prim"; - qcom,sec-auxpcm-gpio-clk = <&msmgpio 79 0>; - qcom,sec-auxpcm-gpio-sync = <&msmgpio 80 0>; - qcom,sec-auxpcm-gpio-din = <&msmgpio 81 0>; - qcom,sec-auxpcm-gpio-dout = <&msmgpio 82 0>; - }; - - spmi_bus: qcom,spmi@fc4c0000 { - cell-index = <0>; - 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-ee = <0>; - qcom,pmic-arb-channel = <0>; - }; - - i2c_0: i2c@f9967000 { /* BLSP#11 */ - cell-index = <0>; - compatible = "qcom,i2c-qup"; - reg = <0Xf9967000 0x1000>; - #address-cells = <1>; - #size-cells = <0>; - reg-names = "qup_phys_addr"; - interrupts = <0 105 0>; - interrupt-names = "qup_err_intr"; - qcom,i2c-bus-freq = <100000>; - qcom,i2c-src-freq = <50000000>; - qcom,master-id = <84>; - }; - - i2c_1: i2c@f9923000 { - cell-index = <1>; - compatible = "qcom,i2c-qup"; - reg = <0xf9923000 0x1000>; - #address-cells = <1>; - #size-cells = <0>; - reg-names = "qup_phys_addr"; - interrupts = <0 95 0>; - interrupt-names = "qup_err_intr"; - qcom,i2c-bus-freq = <100000>; - qcom,i2c-src-freq = <19200000>; - qcom,scl-gpio = <&msmgpio 3 0>; - qcom,sda-gpio = <&msmgpio 2 0>; - qcom,master-id = <86>; - status = "disabled"; - }; - - i2c_2: i2c@f9924000 { - cell-index = <2>; - compatible = "qcom,i2c-qup"; - reg = <0xf9924000 0x1000>; - #address-cells = <1>; - #size-cells = <0>; - reg-names = "qup_phys_addr"; - interrupts = <0 96 0>; - interrupt-names = "qup_err_intr"; - qcom,i2c-bus-freq = <100000>; - qcom,i2c-src-freq = <50000000>; - qcom,master-id = <86>; - }; - - spi_0: spi@f9923000 { - compatible = "qcom,spi-qup-v2"; - reg = <0xf9923000 0x1000>; - interrupts = <0 95 0>; - spi-max-frequency = <19200000>; - #address-cells = <1>; - #size-cells = <0>; - gpios = <&msmgpio 3 0>, /* CLK */ - <&msmgpio 1 0>, /* MISO */ - <&msmgpio 0 0>; /* MOSI */ - cs-gpios = <&msmgpio 9 0>; - qcom,master-id = <86>; - }; - - qcom,acpuclk@f9000000 { - compatible = "qcom,acpuclk-8974"; - krait0-supply = <&krait0_vreg>; - krait1-supply = <&krait1_vreg>; - krait2-supply = <&krait2_vreg>; - krait3-supply = <&krait3_vreg>; - krait0_mem-supply = <&pm8841_s1_ao>; - krait1_mem-supply = <&pm8841_s1_ao>; - krait2_mem-supply = <&pm8841_s1_ao>; - krait3_mem-supply = <&pm8841_s1_ao>; - krait0_dig-supply = <&pm8841_s2_corner_ao>; - krait1_dig-supply = <&pm8841_s2_corner_ao>; - krait2_dig-supply = <&pm8841_s2_corner_ao>; - krait3_dig-supply = <&pm8841_s2_corner_ao>; - krait0_hfpll-supply = <&pm8941_l12_ao>; - krait1_hfpll-supply = <&pm8941_l12_ao>; - krait2_hfpll-supply = <&pm8941_l12_ao>; - krait3_hfpll-supply = <&pm8941_l12_ao>; - l2_hfpll-supply = <&pm8941_l12_ao>; - }; - - usb3: qcom,ssusb@f9200000 { - compatible = "qcom,dwc-usb3-msm"; - reg = <0xf9200000 0xfc000>, - <0xfd4ab000 0x4>; - #address-cells = <1>; - #size-cells = <1>; - ranges; - interrupts = <0 133 0>; - interrupt-names = "hs_phy_irq"; - ssusb_vdd_dig-supply = <&pm8841_s2_corner>; - SSUSB_1p8-supply = <&pm8941_l6>; - hsusb_vdd_dig-supply = <&pm8841_s2_corner>; - HSUSB_1p8-supply = <&pm8941_l6>; - HSUSB_3p3-supply = <&pm8941_l24>; - vbus_dwc3-supply = <&pm8941_mvs1>; - qcom,dwc-usb3-msm-dbm-eps = <4>; - qcom,vdd-voltage-level = <1 5 7>; - qcom,dwc-hsphy-init = <0x00D195A4>; - - 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>; - dwc3@f9200000 { - compatible = "synopsys,dwc3"; - reg = <0xf9200000 0xfc000>; - interrupt-parent = <&intc>; - interrupts = <0 131 0>, <0 179 0>; - interrupt-names = "irq", "otg_irq"; - tx-fifo-resize; - }; - }; - - ehci: qcom,ehci-host@f9a55000 { - compatible = "qcom,ehci-host"; - status = "disabled"; - reg = <0xf9a55000 0x400>; - interrupts = <0 134 0>, <0 140 0>; - interrupt-names = "core_irq", "async_irq"; - HSUSB_VDDCX-supply = <&pm8841_s2>; - HSUSB_1p8-supply = <&pm8941_l6>; - HSUSB_3p3-supply = <&pm8941_l24>; - qcom,usb2-enable-hsphy2; - qcom,usb2-power-budget = <500>; - }; - - gdsc_oxili_gx: qcom,gdsc@fd8c4024 { - parent-supply = <&pm8841_s4_corner>; - }; - - qcom,lpass@fe200000 { - compatible = "qcom,pil-q6v5-lpass"; - reg = <0xfe200000 0x00100>, - <0xfd485100 0x00010>, - <0xfc4016c0 0x00004>; - reg-names = "qdsp6_base", "halt_base", "restart_reg"; - vdd_cx-supply = <&pm8841_s2_corner>; - interrupts = <0 162 1>; - - 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>; - - /* GPIO output to lpass */ - qcom,gpio-force-stop = <&smp2pgpio_ssr_smp2p_2_out 0 0>; - }; - - qcom,msm-adsp-loader { - compatible = "qcom,adsp-loader"; - qcom,adsp-state = <0>; - }; - - qcom,msm-audio-ion { - compatible = "qcom,msm-audio-ion"; - }; - - qcom,msm-pcm { - compatible = "qcom,msm-pcm-dsp"; - qcom,msm-pcm-dsp-id = <0>; - }; - - qcom,msm-pcm-low-latency { - compatible = "qcom,msm-pcm-dsp"; - qcom,msm-pcm-dsp-id = <1>; - qcom,msm-pcm-low-latency; - }; - - qcom,msm-pcm-routing { - compatible = "qcom,msm-pcm-routing"; - }; - - qcom,msm-pcm-lpa { - compatible = "qcom,msm-pcm-lpa"; - }; - - qcom,msm-compr-dsp { - compatible = "qcom,msm-compr-dsp"; - }; - - qcom,msm-voip-dsp { - compatible = "qcom,msm-voip-dsp"; - }; - - qcom,msm-pcm-voice { - compatible = "qcom,msm-pcm-voice"; - }; - - qcom,msm-stub-codec { - compatible = "qcom,msm-stub-codec"; - }; - - qcom,msm-dai-fe { - compatible = "qcom,msm-dai-fe"; - }; - - qcom,msm-pcm-afe { - compatible = "qcom,msm-pcm-afe"; - }; - - qcom,msm-dai-q6-hdmi { - compatible = "qcom,msm-dai-q6-hdmi"; - qcom,msm-dai-q6-dev-id = <8>; - }; - - qcom,msm-lsm-client { - compatible = "qcom,msm-lsm-client"; - }; - - qcom,msm-dai-q6 { - compatible = "qcom,msm-dai-q6"; - qcom,msm-dai-q6-sb-0-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <16384>; - }; - - qcom,msm-dai-q6-sb-0-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <16385>; - }; - - qcom,msm-dai-q6-sb-1-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <16386>; - }; - - qcom,msm-dai-q6-sb-1-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <16387>; - }; - - qcom,msm-dai-q6-sb-2-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <16388>; - }; - - qcom,msm-dai-q6-sb-2-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <16389>; - }; - - qcom,msm-dai-q6-sb-3-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <16390>; - }; - - qcom,msm-dai-q6-sb-3-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <16391>; - }; - - qcom,msm-dai-q6-sb-4-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <16392>; - }; - - qcom,msm-dai-q6-sb-4-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <16393>; - }; - - qcom,msm-dai-q6-sb-5-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <16395>; - }; - - qcom,msm-dai-q6-bt-sco-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <12288>; - }; - - qcom,msm-dai-q6-bt-sco-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <12289>; - }; - - qcom,msm-dai-q6-int-fm-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <12292>; - }; - - qcom,msm-dai-q6-int-fm-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <12293>; - }; - - qcom,msm-dai-q6-be-afe-pcm-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <224>; - }; - - qcom,msm-dai-q6-be-afe-pcm-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <225>; - }; - - qcom,msm-dai-q6-afe-proxy-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <241>; - }; - - qcom,msm-dai-q6-afe-proxy-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <240>; - }; - - qcom,msm-dai-q6-incall-record-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <32771>; - }; - - qcom,msm-dai-q6-incall-record-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <32772>; - }; - - qcom,msm-dai-q6-incall-music-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <32773>; - }; - }; - - qcom,msm-auxpcm { - compatible = "qcom,msm-auxpcm-resource"; - qcom,msm-cpudai-auxpcm-clk = "pcm_clk"; - 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-slot = <1>, <1>; - qcom,msm-cpudai-auxpcm-data = <0>, <0>; - qcom,msm-cpudai-auxpcm-pcm-clk-rate = <2048000>, <2048000>; - - qcom,msm-prim-auxpcm-rx { - qcom,msm-auxpcm-dev-id = <4106>; - compatible = "qcom,msm-auxpcm-dev"; - }; - - qcom,msm-prim-auxpcm-tx { - qcom,msm-auxpcm-dev-id = <4107>; - compatible = "qcom,msm-auxpcm-dev"; - }; - - qcom,msm-sec-auxpcm-rx { - qcom,msm-auxpcm-dev-id = <4108>; - compatible = "qcom,msm-auxpcm-dev"; - }; - - qcom,msm-sec-auxpcm-tx { - qcom,msm-auxpcm-dev-id = <4109>; - compatible = "qcom,msm-auxpcm-dev"; - }; - }; - - qcom,msm-dai-mi2s { - compatible = "qcom,msm-dai-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>; - }; - }; - - qcom,msm-pcm-hostless { - compatible = "qcom,msm-pcm-hostless"; - }; - - qcom,msm-ocmem-audio { - compatible = "qcom,msm-ocmem-audio"; - qcom,msm-bus,name = "audio-ocmem"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <11 604 0 0>, - <11 604 32506 32506>; - }; - - qcom,msm-adsp-sensors { - compatible = "qcom,msm-adsp-sensors"; - qcom,src-id = <11>; - qcom,dst-id = <604>; - qcom,ab = <32505856>; - qcom,ib = <32505856>; - }; - - qcom,mss@fc880000 { - compatible = "qcom,pil-q6v5-mss"; - reg = <0xfc880000 0x100>, - <0xfd485000 0x400>, - <0xfc820000 0x020>, - <0xfc401680 0x004>; - reg-names = "qdsp6_base", "halt_base", "rmb_base", - "restart_reg"; - - interrupts = <0 24 1>; - vdd_mss-supply = <&pm8841_s3>; - vdd_cx-supply = <&pm8841_s2_corner>; - vdd_mx-supply = <&pm8841_s1>; - vdd_pll-supply = <&pm8941_l12>; - qcom,vdd_pll = <1800000>; - qcom,firmware-name = "mba"; - qcom,pil-self-auth; - - /* 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>; - }; - - qcom,pronto@fb21b000 { - compatible = "qcom,pil-pronto"; - reg = <0xfb21b000 0x3000>, - <0xfc401700 0x4>, - <0xfd485300 0xc>; - reg-names = "pmu_base", "clk_base", "halt_base"; - interrupts = <0 149 1>; - vdd_pronto_pll-supply = <&pm8941_l12>; - - qcom,firmware-name = "wcnss"; - - /* GPIO inputs from wcnss */ - qcom,gpio-err-fatal = <&smp2pgpio_ssr_smp2p_4_in 0 0>; - qcom,gpio-err-ready = <&smp2pgpio_ssr_smp2p_4_in 1 0>; - qcom,gpio-proxy-unvote = <&smp2pgpio_ssr_smp2p_4_in 2 0>; - - /* GPIO output to wcnss */ - qcom,gpio-force-stop = <&smp2pgpio_ssr_smp2p_4_out 0 0>; - }; - - qcom,iris-fm { - compatible = "qcom,iris_fm"; - }; - - qcom,wcnss-wlan@fb000000 { - compatible = "qcom,wcnss_wlan"; - reg = <0xfb000000 0x280000>, - <0xf9011008 0x04>; - reg-names = "wcnss_mmio", "wcnss_fiq"; - interrupts = <0 145 0 0 146 0>; - interrupt-names = "wcnss_wlantx_irq", "wcnss_wlanrx_irq"; - - qcom,pronto-vddmx-supply = <&pm8841_s1>; - qcom,pronto-vddcx-supply = <&pm8841_s2>; - qcom,pronto-vddpx-supply = <&pm8941_s3>; - qcom,iris-vddxo-supply = <&pm8941_l6>; - qcom,iris-vddrfa-supply = <&pm8941_l11>; - qcom,iris-vddpa-supply = <&pm8941_l19>; - qcom,iris-vdddig-supply = <&pm8941_l3>; - - gpios = <&msmgpio 36 0>, <&msmgpio 37 0>, <&msmgpio 38 0>, <&msmgpio 39 0>, <&msmgpio 40 0>; - qcom,has-48mhz-xo; - qcom,has-pronto-hw; - }; - - qcom,ocmem@fdd00000 { - compatible = "qcom,msm-ocmem"; - reg = <0xfdd00000 0x2000>, - <0xfdd02000 0x2000>, - <0xfe039000 0x400>, - <0xfec00000 0x180000>; - 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 = <0x3>; - qcom,ocmem-num-macros = <0x18>; - qcom,resource-type = <0x706d636f>; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0x0 0xfec00000 0x180000>; - - partition@0 { - reg = <0x0 0x100000>; - qcom,ocmem-part-name = "graphics"; - qcom,ocmem-part-min = <0x80000>; - }; - - partition@80000 { - reg = <0x100000 0x80000>; - qcom,ocmem-part-name = "lp_audio"; - qcom,ocmem-part-min = <0x80000>; - }; - - partition@100000 { - reg = <0x100000 0x80000>; - qcom,ocmem-part-name = "video"; - qcom,ocmem-part-min = <0x55000>; - }; - - }; - - 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>; - }; - - qseecom: qcom,qseecom@7f00000 { - compatible = "qcom,qseecom"; - reg = <0x7f00000 0x500000>; - reg-names = "secapp-region"; - qcom,disk-encrypt-pipe-pair = <2>; - qcom,hlos-ce-hw-instance = <1>; - 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,msm-bus,vectors-KBps = - <55 512 0 0>, - <55 512 3936000 393600>, - <55 512 3936000 393600>, - <55 512 3936000 393600>; - }; - - qcom,wdt@f9017000 { - compatible = "qcom,msm-watchdog"; - reg = <0xf9017000 0x1000>; - interrupts = <0 3 0>, <0 4 0>; - qcom,bark-time = <11000>; - qcom,pet-time = <10000>; - qcom,ipi-ping; - }; - - qcom,tz-log@fe805720 { - compatible = "qcom,tz-log"; - reg = <0xfe805720 0x1000>; - }; - - qcom,venus@fdce0000 { - compatible = "qcom,pil-venus"; - reg = <0xfdce0000 0x4000>, - <0xfdc80000 0x400>; - reg-names = "wrapper_base", "vbif_base"; - vdd-supply = <&gdsc_venus>; - - qcom,firmware-name = "venus"; - }; - - qcom,cache_erp@f9012000 { - reg = <0xf9012000 0x80>, - <0xf9089000 0x80>, - <0xf9099000 0x80>, - <0xf90a9000 0x80>, - <0xf90b9000 0x80>, - <0xf9088000 0x40>, - <0xf9098000 0x40>, - <0xf90a8000 0x40>, - <0xf90b8000 0x40>; - - reg-names = "l2_saw", - "krait0_saw", - "krait1_saw", - "krait2_saw", - "krait3_saw", - "krait0_acs", - "krait1_acs", - "krait2_acs", - "krait3_acs"; - - compatible = "qcom,cache_erp"; - interrupts = <1 9 0>, <0 2 0>; - interrupt-names = "l1_irq", "l2_irq"; - }; - - qcom,cache_dump { - compatible = "qcom,cache_dump"; - qcom,l1-dump-size = <0x100000>; - qcom,l2-dump-size = <0x500000>; - qcom,memory-reservation-type = "EBI1"; - qcom,memory-reservation-size = <0x600000>; /* 6M EBI1 buffer */ - }; - - tsens: tsens@fc4a8000 { - compatible = "qcom,msm-tsens"; - reg = <0xfc4a8000 0x2000>, - <0xfc4b8000 0x1000>; - reg-names = "tsens_physical", "tsens_eeprom_physical"; - interrupts = <0 184 0>; - qcom,sensors = <11>; - qcom,slope = <3200 3200 3200 3200 3200 3200 3200 3200 3200 - 3200 3200>; - qcom,calib-mode = "fuse_map1"; - }; - - qcom,msm-rtb { - compatible = "qcom,msm-rtb"; - qcom,memory-reservation-type = "EBI1"; - qcom,memory-reservation-size = <0x100000>; /* 1M EBI1 buffer */ - }; - - qcom,msm-contig-mem { - compatible = "qcom,msm-contig-mem"; - qcom,memory-reservation-type = "EBI1"; - qcom,memory-reservation-size = <0x280000>; /* 2.5M EBI1 buffer */ - }; - - qcom,qcedev@fd440000 { - compatible = "qcom,qcedev"; - reg = <0xfd440000 0x20000>, - <0xfd444000 0x8000>; - reg-names = "crypto-base","crypto-bam-base"; - interrupts = <0 236 0>; - qcom,bam-pipe-pair = <1>; - qcom,ce-hw-instance = <1>; - qcom,msm-bus,name = "qcedev-noc"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <56 512 0 0>, - <56 512 3936000 393600>; - }; - - qcom,qcrypto@fd444000 { - compatible = "qcom,qcrypto"; - reg = <0xfd440000 0x20000>, - <0xfd444000 0x8000>; - reg-names = "crypto-base","crypto-bam-base"; - interrupts = <0 236 0>; - qcom,bam-pipe-pair = <2>; - qcom,ce-hw-instance = <1>; - qcom,msm-bus,name = "qcrypto-noc"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <56 512 0 0>, - <56 512 3936000 393600>; - }; - - qcom,usbbam@f9304000 { - compatible = "qcom,usb-bam-msm"; - reg = <0xf9304000 0x5000>, - <0xf9a44000 0x11000>, - <0xf92f880c 0x4>; - reg-names = "ssusb", "hsusb", "qscratch_ram1_reg"; - interrupts = <0 132 0 0 135 0>; - interrupt-names = "ssusb", "hsusb"; - qcom,usb-bam-num-pipes = <16>; - qcom,usb-bam-fifo-baseaddr = <0xf9200000>; - qcom,ignore-core-reset-ack; - qcom,disable-clk-gating; - - qcom,pipe0 { - 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; - }; - - qcom,pipe1 { - label = "hsusb-qdss-in-0"; - qcom,usb-bam-mem-type = <1>; - qcom,bam-type = <1>; - 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 = <0xf9a44000>; - qcom,dst-bam-pipe-index = <2>; - qcom,data-fifo-offset = <0xf4000>; - qcom,data-fifo-size = <0x1000>; - qcom,descriptor-fifo-offset = <0xf5000>; - qcom,descriptor-fifo-size = <0x400>; - }; - }; - - qcom,msm-thermal { - compatible = "qcom,msm-thermal"; - qcom,sensor-id = <5>; - qcom,poll-ms = <250>; - qcom,limit-temp = <60>; - qcom,temp-hysteresis = <10>; - qcom,freq-step = <2>; - qcom,freq-control-mask = <0xf>; - qcom,core-limit-temp = <80>; - qcom,core-temp-hysteresis = <10>; - qcom,core-control-mask = <0xe>; - qcom,vdd-restriction-temp = <5>; - qcom,vdd-restriction-temp-hysteresis = <10>; - qcom,pmic-sw-mode-temp = <85>; - qcom,pmic-sw-mode-temp-hysteresis = <75>; - qcom,pmic-sw-mode-regs = "vdd_dig"; - vdd_dig-supply = <&pm8841_s2_floor_corner>; - vdd_gfx-supply = <&pm8841_s4_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 */ - }; - - qcom,vdd-apps-rstr{ - qcom,vdd-rstr-reg = "vdd_apps"; - qcom,levels = <1881600 1958400 2265600>; - qcom,freq-req; - }; - }; - - qcom,bam_dmux@fc834000 { - compatible = "qcom,bam_dmux"; - reg = <0xfc834000 0x7000>; - interrupts = <0 29 1>; - qcom,rx-ring-size = <64>; - }; - - memory_hole: qcom,msm-mem-hole { - compatible = "qcom,msm-mem-hole"; - qcom,memblock-remove = <0x7f00000 0x8000000>; /* Address and Size of Hole */ - }; - - uart7: uart@f995d000 { /*BLSP #2, UART #7 */ - compatible = "qcom,msm-hsuart-v14"; - status = "disabled"; - reg = <0xf995d000 0x1000>, - <0xf9944000 0x19000>; - reg-names = "core_mem", "bam_mem"; - interrupts = <0 113 0>, <0 239 0>; - interrupt-names = "core_irq", "bam_irq"; - - qcom,bam-tx-ep-pipe-index = <0>; - qcom,bam-rx-ep-pipe-index = <1>; - qcom,msm-bus,name = "uart7"; - 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,smem@fa00000 { - compatible = "qcom,smem"; - reg = <0xfa00000 0x200000>, - <0xf9011000 0x1000>, - <0xfc428000 0x4000>; - reg-names = "smem", "irq-reg-base", "aux-mem1"; - - qcom,smd-modem { - compatible = "qcom,smd"; - qcom,smd-edge = <0>; - qcom,smd-irq-offset = <0x8>; - qcom,smd-irq-bitmask = <0x1000>; - qcom,pil-string = "modem"; - interrupts = <0 25 1>; - }; - - qcom,smsm-modem { - compatible = "qcom,smsm"; - qcom,smsm-edge = <0>; - qcom,smsm-irq-offset = <0x8>; - qcom,smsm-irq-bitmask = <0x2000>; - interrupts = <0 26 1>; - }; - - qcom,smd-adsp { - compatible = "qcom,smd"; - qcom,smd-edge = <1>; - qcom,smd-irq-offset = <0x8>; - qcom,smd-irq-bitmask = <0x100>; - qcom,pil-string = "adsp"; - interrupts = <0 156 1>; - }; - - qcom,smsm-adsp { - compatible = "qcom,smsm"; - qcom,smsm-edge = <1>; - qcom,smsm-irq-offset = <0x8>; - qcom,smsm-irq-bitmask = <0x200>; - interrupts = <0 157 1>; - }; - - qcom,smd-wcnss { - compatible = "qcom,smd"; - qcom,smd-edge = <6>; - qcom,smd-irq-offset = <0x8>; - qcom,smd-irq-bitmask = <0x20000>; - qcom,pil-string = "wcnss"; - interrupts = <0 142 1>; - }; - - qcom,smsm-wcnss { - compatible = "qcom,smsm"; - qcom,smsm-edge = <6>; - qcom,smsm-irq-offset = <0x8>; - qcom,smsm-irq-bitmask = <0x80000>; - interrupts = <0 144 1>; - }; - - qcom,smd-rpm { - compatible = "qcom,smd"; - qcom,smd-edge = <15>; - qcom,smd-irq-offset = <0x8>; - qcom,smd-irq-bitmask = <0x1>; - interrupts = <0 168 1>; - qcom,irq-no-suspend; - }; - }; - - qcom,bcl { - compatible = "qcom,bcl"; - }; - - qcom,ssm { - compatible = "qcom,ssm"; - qcom,channel-name = "SSM_RTR"; - }; - - sfpb_spinlock: qcom,ipc-spinlock@fd484000 { - compatible = "qcom,ipc-spinlock-sfpb"; - reg = <0xfd484000 0x400>; - qcom,num-locks = <8>; - }; - - ldrex_spinlock: qcom,ipc-spinlock@fa00000 { - compatible = "qcom,ipc-spinlock-ldrex"; - reg = <0xfa00000 0x200000>; - status = "disable"; - }; - - cpu-pmu { - compatible = "qcom,krait-pmu"; - qcom,irq-is-percpu; - interrupts = <1 7 0xf00>; - }; - - l2-pmu { - compatible = "qcom,l2-pmu"; - interrupts = <0 1 0>; - }; - - qcom,smdtty { - compatible = "qcom,smdtty"; - - smdtty_apps_fm: qcom,smdtty-apps-fm { - qcom,smdtty-remote = "wcnss"; - qcom,smdtty-port-name = "APPS_FM"; - }; - - smdtty_apps_riva_bt_acl: smdtty-apps-riva-bt-acl { - qcom,smdtty-remote = "wcnss"; - qcom,smdtty-port-name = "APPS_RIVA_BT_ACL"; - }; - - smdtty_apps_riva_bt_cmd: qcom,smdtty-apps-riva-bt-cmd { - qcom,smdtty-remote = "wcnss"; - qcom,smdtty-port-name = "APPS_RIVA_BT_CMD"; - }; - - smdtty_mbalbridge: qcom,smdtty-mbalbridge { - qcom,smdtty-remote = "modem"; - qcom,smdtty-port-name = "MBALBRIDGE"; - }; - - smdtty_apps_riva_ant_cmd: smdtty-apps-riva-ant-cmd { - qcom,smdtty-remote = "wcnss"; - qcom,smdtty-port-name = "APPS_RIVA_ANT_CMD"; - }; - - smdtty_apps_riva_ant_data: smdtty-apps-riva-ant-data { - qcom,smdtty-remote = "wcnss"; - qcom,smdtty-port-name = "APPS_RIVA_ANT_DATA"; - }; - - smdtty_data1: qcom,smdtty-data1 { - qcom,smdtty-remote = "modem"; - qcom,smdtty-port-name = "DATA1"; - }; - - smdtty_data11: qcom,smdtty-data11 { - qcom,smdtty-remote = "modem"; - qcom,smdtty-port-name = "DATA11"; - }; - - smdtty_data21: qcom,smdtty-data21 { - qcom,smdtty-remote = "modem"; - qcom,smdtty-port-name = "DATA21"; - }; - - smdtty_gps_nmea: smdtty-gpsnmea { - qcom,smdtty-remote = "modem"; - qcom,smdtty-port-name = "GPSNMEA"; - }; - - smdtty_loopback: smdtty-loopback { - qcom,smdtty-remote = "modem"; - qcom,smdtty-port-name = "LOOPBACK"; - qcom,smdtty-dev-name = "LOOPBACK_TTY"; - }; - }; -}; - -&gdsc_venus { - qcom,clock-names = "core_clk"; - qcom,skip-logic-collapse; - status = "ok"; -}; - -&gdsc_mdss { - qcom,clock-names = "core_clk", "lut_clk"; - qcom,retain-periph; - status = "ok"; -}; - -&gdsc_jpeg { - qcom,clock-names = "core0_clk", "core1_clk", "core2_clk"; - status = "ok"; -}; - -&gdsc_vfe { - qcom,clock-names = "core0_clk", "core1_clk", "csi0_clk", "csi1_clk", - "cpp_clk"; - status = "ok"; -}; - -&gdsc_oxili_gx { - qcom,clock-names = "core_clk"; - qcom,retain-mem; - qcom,retain-periph; - status = "ok"; -}; - -&gdsc_oxili_cx { - status = "ok"; -}; - -&gdsc_usb_hsic { - status = "ok"; -}; - -/include/ "msm-pm8x41-rpm-regulator.dtsi" -/include/ "msm-pm8841.dtsi" -/include/ "msm-pm8941.dtsi" -/include/ "msm8974-regulator.dtsi" -/include/ "msm8974-clock.dtsi" diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/msm9625-cdp.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v1/msm9625-cdp.dtsi deleted file mode 100644 index 6ddb50b82..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/msm9625-cdp.dtsi +++ /dev/null @@ -1,100 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/include/ "msm9625-display.dtsi" -/include/ "qpic-panel-ili-qvga.dtsi" - -&soc { - i2c@f9925000 { - charger@57 { - compatible = "summit,smb137c"; - reg = <0x57>; - summit,chg-current-ma = <1500>; - summit,term-current-ma = <50>; - summit,pre-chg-current-ma = <100>; - summit,float-voltage-mv = <4200>; - summit,thresh-voltage-mv = <3000>; - summit,recharge-thresh-mv = <75>; - summit,system-voltage-mv = <4250>; - summit,charging-timeout = <382>; - summit,pre-charge-timeout = <48>; - summit,therm-current-ua = <10>; - summit,temperature-min = <4>; /* 0 C */ - summit,temperature-max = <3>; /* 45 C */ - }; - }; - - wlan0: qca,wlan { - cell-index = <0>; - compatible = "qca,ar6004-hsic"; - qca,chip-pwd-l-gpios = <&msmgpio 62 0>; - qca,pm-enable-gpios = <&pm8019_gpios 3 0x0>; - qca,vdd-io-supply = <&pm8019_l11>; - }; - - qca,wlan_ar6003 { - cell-index = <0>; - compatible = "qca,ar6003-sdio"; - qca,chip-pwd-l-gpios = <&msmgpio 62 0>; - qca,pm-enable-gpios = <&pm8019_gpios 3 0x0>; - qca,vdd-io-supply = <&pm8019_l11>; - }; -}; - -/* PM8019 GPIO and MPP configuration */ -&pm8019_gpios { - gpio@c000 { /* GPIO 1 */ - }; - - gpio@c100 { /* GPIO 2 */ - }; - - gpio@c200 { /* GPIO 3 */ - }; - - gpio@c300 { /* GPIO 4 */ - /* ext_2p95v regulator enable config */ - qcom,mode = <1>; /* Digital output */ - qcom,output-type = <0>; /* CMOS */ - qcom,invert = <0>; /* Output low */ - qcom,out-strength = <1>; /* Low */ - qcom,vin-sel = <2>; /* PM8019 L11 - 1.8V */ - qcom,src-sel = <0>; /* Constant */ - qcom,master-en = <1>; /* Enable GPIO */ - }; - - gpio@c400 { /* GPIO 5 */ - }; - - gpio@c500 { /* GPIO 6 */ - }; -}; - -&pm8019_mpps { - mpp@a000 { /* MPP 1 */ - }; - - mpp@a100 { /* MPP 2 */ - }; - - mpp@a200 { /* MPP 3 */ - }; - - mpp@a300 { /* MPP 4 */ - }; - - mpp@a400 { /* MPP 5 */ - }; - - mpp@a500 { /* MPP 6 */ - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/msm9625-coresight.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v1/msm9625-coresight.dtsi deleted file mode 100644 index 3c00ae8c2..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/msm9625-coresight.dtsi +++ /dev/null @@ -1,259 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&soc { - tmc_etr: tmc@fc322000 { - compatible = "arm,coresight-tmc"; - reg = <0xfc322000 0x1000>, - <0xfc37c000 0x3000>; - reg-names = "tmc-base", "bam-base"; - - qcom,memory-reservation-type = "EBI1"; - qcom,memory-reservation-size = <0x20000>; /* 128K EBI1 buffer */ - - coresight-id = <0>; - coresight-name = "coresight-tmc-etr"; - coresight-nr-inports = <1>; - coresight-ctis = <&cti0 &cti8>; - }; - - tpiu: tpiu@fc318000 { - compatible = "arm,coresight-tpiu"; - reg = <0xfc318000 0x1000>; - reg-names = "tpiu-base"; - - coresight-id = <1>; - coresight-name = "coresight-tpiu"; - coresight-nr-inports = <1>; - - vdd-supply = <&ext_2p95v>; - }; - - replicator: replicator@fc31c000 { - compatible = "qcom,coresight-replicator"; - reg = <0xfc31c000 0x1000>; - reg-names = "replicator-base"; - - coresight-id = <2>; - coresight-name = "coresight-replicator"; - coresight-nr-inports = <1>; - coresight-outports = <0 1>; - coresight-child-list = <&tmc_etr &tpiu>; - coresight-child-ports = <0 0>; - }; - - tmc_etf: tmc@fc307000 { - compatible = "arm,coresight-tmc"; - reg = <0xfc307000 0x1000>; - reg-names = "tmc-base"; - - coresight-id = <3>; - coresight-name = "coresight-tmc-etf"; - coresight-nr-inports = <1>; - coresight-outports = <0>; - coresight-child-list = <&replicator>; - coresight-child-ports = <0>; - coresight-default-sink; - coresight-ctis = <&cti0 &cti8>; - }; - - funnel_merg: funnel@fc31b000 { - compatible = "arm,coresight-funnel"; - reg = <0xfc31b000 0x1000>; - reg-names = "funnel-base"; - - coresight-id = <4>; - coresight-name = "coresight-funnel-merg"; - coresight-nr-inports = <2>; - coresight-outports = <0>; - coresight-child-list = <&tmc_etf>; - coresight-child-ports = <0>; - }; - - funnel_in0: funnel@fc319000 { - compatible = "arm,coresight-funnel"; - reg = <0xfc319000 0x1000>; - reg-names = "funnel-base"; - - coresight-id = <5>; - coresight-name = "coresight-funnel-in0"; - coresight-nr-inports = <8>; - coresight-outports = <0>; - coresight-child-list = <&funnel_merg>; - coresight-child-ports = <0>; - }; - - funnel_in1: funnel@fc31a000 { - compatible = "arm,coresight-funnel"; - reg = <0xfc31a000 0x1000>; - reg-names = "funnel-base"; - - coresight-id = <6>; - coresight-name = "coresight-funnel-in1"; - coresight-nr-inports = <8>; - coresight-outports = <0>; - coresight-child-list = <&funnel_merg>; - coresight-child-ports = <1>; - }; - - stm: stm@fc321000 { - compatible = "arm,coresight-stm"; - reg = <0xfc321000 0x1000>, - <0xfa280000 0x180000>; - reg-names = "stm-base", "stm-data-base"; - - coresight-id = <7>; - coresight-name = "coresight-stm"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_in1>; - coresight-child-ports = <7>; - }; - - etm0: etm@fc332000 { - compatible = "arm,coresight-etm"; - reg = <0xfc332000 0x1000>; - reg-names = "etm-base"; - - coresight-id = <8>; - coresight-name = "coresight-etm0"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_in0>; - coresight-child-ports = <4>; - - qcom,round-robin; - }; - - csr: csr@fc302000 { - compatible = "qcom,coresight-csr"; - reg = <0xfc302000 0x1000>; - reg-names = "csr-base"; - - coresight-id = <9>; - coresight-name = "coresight-csr"; - coresight-nr-inports = <0>; - - qcom,blk-size = <1>; - }; - - cti0: cti@fc308000 { - compatible = "arm,coresight-cti"; - reg = <0xfc308000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <10>; - coresight-name = "coresight-cti0"; - coresight-nr-inports = <0>; - }; - - cti1: cti@fc309000 { - compatible = "arm,coresight-cti"; - reg = <0xfc309000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <11>; - coresight-name = "coresight-cti1"; - coresight-nr-inports = <0>; - }; - - cti2: cti@fc30a000 { - compatible = "arm,coresight-cti"; - reg = <0xfc30a000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <12>; - coresight-name = "coresight-cti2"; - coresight-nr-inports = <0>; - }; - - cti3: cti@fc30b000 { - compatible = "arm,coresight-cti"; - reg = <0xfc30b000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <13>; - coresight-name = "coresight-cti3"; - coresight-nr-inports = <0>; - }; - - cti4: cti@fc30c000 { - compatible = "arm,coresight-cti"; - reg = <0xfc30c000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <14>; - coresight-name = "coresight-cti4"; - coresight-nr-inports = <0>; - }; - - cti5: cti@fc30d000 { - compatible = "arm,coresight-cti"; - reg = <0xfc30d000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <15>; - coresight-name = "coresight-cti5"; - coresight-nr-inports = <0>; - }; - - cti6: cti@fc30e000 { - compatible = "arm,coresight-cti"; - reg = <0xfc30e000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <16>; - coresight-name = "coresight-cti6"; - coresight-nr-inports = <0>; - }; - - cti7: cti@fc30f000 { - compatible = "arm,coresight-cti"; - reg = <0xfc30f000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <17>; - coresight-name = "coresight-cti7"; - coresight-nr-inports = <0>; - }; - - cti8: cti@fc310000 { - compatible = "arm,coresight-cti"; - reg = <0xfc310000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <18>; - coresight-name = "coresight-cti8"; - coresight-nr-inports = <0>; - }; - - cti_cpu: cti@fc333000 { - compatible = "arm,coresight-cti"; - reg = <0xfc333000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <19>; - coresight-name = "coresight-cti-cpu"; - coresight-nr-inports = <0>; - }; - - hwevent: hwevent@f9011038 { - compatible = "qcom,coresight-hwevent"; - reg = <0xf9011038 0x8>, - <0xfd4ab160 0x80>; - reg-names = "apcs-mux", "ppss-mux"; - - coresight-id = <20>; - coresight-name = "coresight-hwevent"; - coresight-nr-inports = <0>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/msm9625-display.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v1/msm9625-display.dtsi deleted file mode 100644 index 287a63aef..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/msm9625-display.dtsi +++ /dev/null @@ -1,20 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -&soc { - qcom,msm_qpic@f9ac0000 { - compatible = "qcom,mdss_qpic"; - reg = <0xf9ac0000 0x24000>; - reg-names = "qpic_base"; - interrupts = <0 251 0>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/msm9625-ion.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v1/msm9625-ion.dtsi deleted file mode 100644 index 6f9bb535d..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/msm9625-ion.dtsi +++ /dev/null @@ -1,35 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&soc { - qcom,ion { - compatible = "qcom,msm-ion"; - #address-cells = <1>; - #size-cells = <0>; - - qcom,ion-heap@30 { /* SYSTEM HEAP */ - reg = <30>; - }; - - qcom,ion-heap@25 { /* IOMMU HEAP */ - reg = <25>; - }; - - qcom,ion-heap@28 { /* AUDIO HEAP */ - compatible = "qcom,msm-ion-reserve"; - reg = <28>; - qcom,heap-align = <0x1000>; - qcom,memory-reservation-type = "EBI1"; /* reserve EBI memory */ - qcom,memory-reservation-size = <0xE9000>; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/msm9625-mtp.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v1/msm9625-mtp.dtsi deleted file mode 100755 index b2908c42b..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/msm9625-mtp.dtsi +++ /dev/null @@ -1,111 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&soc { - i2c@f9925000 { - }; - - wlan0: qca,wlan { - cell-index = <0>; - compatible = "qca,ar6004-hsic"; - qca,chip-pwd-l-gpios = <&msmgpio 62 0>; - qca,pm-enable-gpios = <&pm8019_gpios 3 0x0>; - qca,vdd-io-supply = <&pm8019_l11>; - }; - - qca,wlan_ar6003 { - cell-index = <0>; - compatible = "qca,ar6003-sdio"; - qca,chip-pwd-l-gpios = <&msmgpio 62 0>; - qca,pm-enable-gpios = <&pm8019_gpios 3 0x0>; - qca,vdd-io-supply = <&pm8019_l11>; - }; - - mp2617 { - cell-index = <0>; - compatible = "mps,mp2617"; - mps,chg-current-ma = <1000>; - mps,chg-vbat-div = <3>; /* Divided by 3 before input */ - mps,chg-en-gpio = <&msmgpio 13 0>; /* refer to board-9625-gpiomux.c */ - mps,chg-ok-gpio = <&msmgpio 71 0>; - mps,chg-m0-gpio = <&msmgpio 12 0>; - mps,chg-m1-gpio = <&msmgpio 17 0>; - }; -}; - -/* PM8019 GPIO and MPP configuration */ -&pm8019_gpios { - gpio@c000 { /* GPIO 1 */ - }; - - gpio@c100 { /* GPIO 2 */ - }; - - gpio@c200 { /* GPIO 3 */ - }; - - gpio@c300 { /* GPIO 4 */ - /* ext_2p95v regulator enable config */ - qcom,mode = <1>; /* Digital output */ - qcom,output-type = <0>; /* CMOS */ - qcom,invert = <0>; /* Output low */ - qcom,out-strength = <1>; /* Low */ - qcom,vin-sel = <2>; /* PM8019 L11 - 1.8V */ - qcom,src-sel = <0>; /* Constant */ - qcom,master-en = <1>; /* Enable GPIO */ - }; - - gpio@c400 { /* GPIO 5 */ - }; - - gpio@c500 { /* GPIO 6 */ - }; -}; - -&pm8019_mpps { - mpp@a000 { /* MPP 1 */ - }; - - /* [linyunfeng] Detect battery voltage */ - mpp@a100 { /* MPP 2 */ - /* channel 17 */ - qcom,mode = <4>; - qcom,ain-route = <1>; /* AMUX 6 */ - qcom,master-en = <1>; - qcom,src-sel = <0>; /* Function constant */ - qcom,invert = <1>; - }; - - mpp@a200 { /* MPP 3 */ - }; - - mpp@a300 { /* MPP 4 */ - /* VADC channel 19 */ - qcom,mode = <4>; - qcom,ain-route = <3>; /* AMUX 8 */ - qcom,master-en = <1>; - qcom,src-sel = <0>; /* Function constant */ - qcom,invert = <1>; - }; - - mpp@a400 { /* MPP 5 */ - }; - - mpp@a500 { /* MPP 6 */ - /* channel 21 */ - qcom,mode = <4>; - qcom,ain-route = <1>; /* AMUX 6 */ - qcom,master-en = <1>; - qcom,src-sel = <0>; /* Function constant */ - qcom,invert = <1>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/msm9625-pm.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v1/msm9625-pm.dtsi deleted file mode 100644 index 673b64053..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/msm9625-pm.dtsi +++ /dev/null @@ -1,299 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/include/ "skeleton.dtsi" - -&soc { - qcom,spm@f9009000 { - compatible = "qcom,spm-v2"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xf9009000 0x1000>; - qcom,core-id = <0>; - qcom,saw2-ver-reg = <0xfd0>; - qcom,saw2-cfg = <0x101>; - qcom,saw2-spm-dly= <0>; - qcom,saw2-spm-ctl = <0x1>; - qcom,saw2-spm-cmd-wfi = [04 03 04 0f]; - qcom,saw2-spm-cmd-spc = [34 04 44 14 24 54 03 54 44 14 04 24 - 3e 0f]; - qcom,saw2-spm-cmd-pc = [34 04 44 14 24 54 07 54 44 14 04 24 - 3e 0f]; - }; - - qcom,lpm-resources { - compatible = "qcom,lpm-resources"; - #address-cells = <1>; - #size-cells = <0>; - - qcom,lpm-resources@0 { - reg = <0x0>; - qcom,name = "vdd-dig"; - qcom,type = <0x616F646C>; /* "ldoa" */ - qcom,id = <0x0A>; - qcom,key = <0x6e726f63>; /* "corn" */ - qcom,init-value = <5>; /* Super Turbo */ - }; - - qcom,lpm-resources@1 { - reg = <0x1>; - qcom,name = "vdd-mem"; - qcom,type = <0x616F646C>; /* "ldoa" */ - qcom,id = <0x0C>; - qcom,key = <0x7675>; /* "uv" */ - qcom,init-value = <1050000>; /* Super Turbo */ - }; - - qcom,lpm-resources@2 { - reg = <0x2>; - qcom,name = "pxo"; - qcom,type = <0x306b6c63>; /* "clk0" */ - qcom,id = <0x00>; - qcom,key = <0x62616e45>; /* "Enab" */ - qcom,init-value = "xo_on"; - }; - }; - - qcom,lpm-levels { - compatible = "qcom,lpm-levels"; - #address-cells = <1>; - #size-cells = <0>; - - qcom,use-qtimer; - - qcom,lpm-level@0 { - reg = <0x0>; - qcom,mode = "wfi"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_active"; - qcom,vdd-mem-upper-bound = <1050000>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <950000>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <100>; - qcom,ss-power = <8000>; - qcom,energy-overhead = <100000>; - qcom,time-overhead = <1>; - }; - - qcom,lpm-level@1 { - reg = <0x1>; - qcom,mode = "standalone_pc"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_active"; - qcom,vdd-mem-upper-bound = <1050000>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <950000>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <2000>; - qcom,ss-power = <5000>; - qcom,energy-overhead = <60100000>; - qcom,time-overhead = <3000>; - }; - - qcom,lpm-level@2 { - reg = <0x2>; - qcom,mode = "pc"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_gdhs"; - qcom,vdd-mem-upper-bound = <1050000>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <950000>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <3500>; - qcom,ss-power = <5000>; - qcom,energy-overhead = <60350000>; - qcom,time-overhead = <6300>; - }; - - qcom,lpm-level@3 { - reg = <0x3>; - qcom,mode = "pc"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_pc"; - qcom,vdd-mem-upper-bound = <1050000>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <950000>; /* SVS SOC */ - qcom,vdd-dig-upper-bound = <4>; /* NORMAL */ - qcom,vdd-dig-lower-bound = <3>; /* SVS SOC */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <4500>; - qcom,ss-power = <5000>; - qcom,energy-overhead = <60350000>; - qcom,time-overhead = <7300>; - }; - - qcom,lpm-level@4 { - reg = <0x4>; - qcom,mode = "pc"; - qcom,xo = "xo_off"; - qcom,l2 = "l2_cache_pc"; - qcom,vdd-mem-upper-bound = <1050000>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <950000>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,irqs-detectable; - qcom,latency-us = <6800>; - qcom,ss-power = <2000>; - qcom,energy-overhead = <71850000>; - qcom,time-overhead = <13300>; - }; - - qcom,lpm-level@5 { - reg = <0x5>; - qcom,mode = "pc"; - qcom,xo = "xo_off"; - qcom,l2 = "l2_cache_pc"; - qcom,vdd-mem-upper-bound = <1050000>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <950000>; /* SVS SOC */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <3>; /* SVS SOC */ - qcom,irqs-detectable; - qcom,latency-us = <8000>; - qcom,ss-power = <1800>; - qcom,energy-overhead = <71950000>; - qcom,time-overhead = <15300>; - }; - - qcom,lpm-level@6 { - reg = <0x6>; - qcom,mode = "pc"; - qcom,xo = "xo_off"; - qcom,l2 = "l2_cache_pc"; - qcom,vdd-mem-upper-bound = <950000>; /* SVS SOC */ - qcom,vdd-mem-lower-bound = <675000>; /* RETENTION */ - qcom,vdd-dig-upper-bound = <3>; /* SVS SOC */ - qcom,vdd-dig-lower-bound = <1>; /* RETENTION */ - qcom,latency-us = <9800>; - qcom,ss-power = <0>; - qcom,energy-overhead = <76350000>; - qcom,time-overhead = <28300>; - }; - }; - - qcom,pm-boot { - compatible = "qcom,pm-boot"; - qcom,mode = "tz"; - }; - - qcom,mpm@fc4281d0 { - compatible = "qcom,mpm-v2"; - reg = <0xfc4281d0 0x1000>, /* MSM_RPM_MPM_BASE 4K */ - <0xf9011008 0x4>; /* MSM_APCS_GCC_BASE 4K */ - reg-names = "vmpm", "ipc"; - interrupts = <0 171 1>; - - qcom,ipc-bit-offset = <1>; - - qcom,gic-parent = <&intc>; - qcom,gic-map = <2 216>, /* tsens_upper_lower_int */ - <47 172>, /* usb2_hsic_async_wakeup_irq */ - <41 180>, /* usb_async_wakeup_irq */ - <62 222>, /* ee0_krait_hlos_spmi_periph_irq */ - <0xff 57>, /* mss_to_apps_irq(0) */ - <0xff 58>, /* mss_to_apps_irq(1) */ - <0xff 59>, /* mss_to_apps_irq(2) */ - <0xff 60>, /* mss_to_apps_irq(3) */ - <0xff 173>, /* o_wcss_apss_smd_hi */ - <0xff 174>, /* o_wcss_apss_smd_med */ - <0xff 175>, /* o_wcss_apss_smd_lo */ - <0xff 176>, /* o_wcss_apss_smsm_irq */ - <0xff 177>, /* o_wcss_apss_wlan_data_xfer_done */ - <0xff 178>, /* o_wcss_apss_wlan_rx_data_avail */ - <0xff 179>, /* o_wcss_apss_asic_intr */ - <0xff 188>, /* q6ss_irq_out(4) */ - <0xff 189>, /* q6ss_irq_out(5) */ - <0xff 190>, /* q6ss_irq_out(6) */ - <0xff 191>, /* q6ss_irq_out(7) */ - <0xff 192>, /* audio_out0_irq */ - <0xff 193>, /* midi_arm_irq */ - <0xff 194>, /* q6ss_wdog_exp_irq */ - <0xff 195>, /* slimbus_core_ee1_irq */ - <0xff 196>, /* bam_irq(1) */ - <0xff 197>, /* qdss_irq_out(7) */ - <0xff 200>, /* rpm_ipc(4) */ - <0xff 201>, /* rpm_ipc(5) */ - <0xff 202>, /* rpm_ipc(6) */ - <0xff 203>, /* rpm_ipc(7) */ - <0xff 204>, /* rpm_ipc(24) */ - <0xff 205>, /* rpm_ipc(25) */ - <0xff 206>, /* rpm_ipc(26) */ - <0xff 207>, /* rpm_ipc(27) */ - <0xff 240>; /* summary_irq_kpss */ - - qcom,gpio-parent = <&msmgpio>; - qcom,gpio-map = <4 0>, - <5 1>, - <6 2>, - <7 3>, - <8 4>, - <9 5>, - <10 6>, - <11 7>, - <12 8>, - <13 9>, - <14 10>, - <15 11>, - <16 12>, - <17 13>, - <18 14>, - <19 15>, - <20 16>, - <21 17>, - <22 18>, - <23 19>, - <24 20>, - <25 21>, - <26 24>, - <27 25>, - <28 51>, - <29 61>, - <30 62>, - <31 63>, - <32 64>, - <33 65>, - <34 66>, - <35 67>, - <36 69>, - <37 71>; - }; - - qcom,pm-8x60 { - compatible = "qcom,pm-8x60"; - qcom,pc-mode = "tz_l2_ext"; - qcom,use-sync-timer; - }; - - qcom,rpm-log@fc19dc00 { - compatible = "qcom,rpm-log"; - reg = <0xfc19dc00 0x4000>; - qcom,rpm-addr-phys = <0xfc000000>; - qcom,offset-version = <4>; - qcom,offset-page-buffer-addr = <36>; - qcom,offset-log-len = <40>; - qcom,offset-log-len-mask = <44>; - qcom,offset-page-indices = <56>; - }; - - qcom,rpm-stats@fc19dba0 { - compatible = "qcom,rpm-stats"; - reg = <0xfc19dba0 0x1000>; - reg-names = "phys_addr_base"; - qcom,sleep-stats-version = <2>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/msm9625-regulator.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v1/msm9625-regulator.dtsi deleted file mode 100644 index eb56d1c6a..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/msm9625-regulator.dtsi +++ /dev/null @@ -1,284 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&rpm_bus { - rpm-regulator-smpa1 { - status = "okay"; - pm8019_s1: regulator-s1 { - regulator-min-microvolt = <800000>; - regulator-max-microvolt = <1050000>; - qcom,init-voltage = <1050000>; - status = "okay"; - }; - }; - - rpm-regulator-smpa2 { - status = "okay"; - pm8019_s2: regulator-s2 { - regulator-min-microvolt = <1250000>; - regulator-max-microvolt = <1250000>; - qcom,init-voltage = <1250000>; - qcom,init-current = <100>; - qcom,system-load = <100000>; - regulator-always-on; - status = "okay"; - }; - }; - - rpm-regulator-smpa3 { - status = "okay"; - pm8019_s3: regulator-s3 { - regulator-min-microvolt = <1000000>; - regulator-max-microvolt = <1100000>; - qcom,init-voltage = <1100000>; - qcom,init-current = <100>; - qcom,system-load = <100000>; - regulator-always-on; - status = "okay"; - }; - pm8019_s3_ao: regulator-s3-ao { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8019_s3_ao"; - qcom,set = <1>; - regulator-min-microvolt = <1000000>; - regulator-max-microvolt = <1100000>; - status = "okay"; - }; - }; - - rpm-regulator-smpa4 { - status = "okay"; - pm8019_s4: regulator-s4 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <2075000>; - qcom,init-voltage = <2075000>; - qcom,init-current = <100>; - qcom,system-load = <100000>; - regulator-always-on; - status = "okay"; - }; - }; - - rpm-regulator-ldoa1 { - status = "okay"; - pm8019_l1: regulator-l1 { - parent-supply = <&pm8019_s2>; - regulator-min-microvolt = <1225000>; - regulator-max-microvolt = <1225000>; - qcom,init-voltage = <1225000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa2 { - status = "okay"; - pm8019_l2: regulator-l2 { - parent-supply = <&pm8019_s4>; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa3 { - status = "okay"; - pm8019_l3: regulator-l3 { - parent-supply = <&pm8019_s4>; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa4 { - status = "okay"; - pm8019_l4: regulator-l4 { - regulator-min-microvolt = <3075000>; - regulator-max-microvolt = <3075000>; - qcom,init-voltage = <3075000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa5 { - status = "okay"; - pm8019_l5: regulator-l5 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <2850000>; - qcom,init-voltage = <1800000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa6 { - status = "okay"; - pm8019_l6: regulator-l6 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <2850000>; - qcom,init-voltage = <1800000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa7 { - status = "okay"; - pm8019_l7: regulator-l7 { - parent-supply = <&pm8019_s4>; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa8 { - status = "okay"; - pm8019_l8: regulator-l8 { - parent-supply = <&pm8019_s4>; - regulator-min-microvolt = <2050000>; - regulator-max-microvolt = <2050000>; - qcom,init-voltage = <2050000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa9 { - status = "okay"; - pm8019_l9: regulator-l9 { - parent-supply = <&pm8019_s2>; - regulator-min-microvolt = <1200000>; - regulator-max-microvolt = <1200000>; - qcom,init-voltage = <1200000>; - qcom,init-current = <10>; - qcom,system-load = <10000>; - regulator-always-on; - status = "okay"; - }; - }; - - rpm-regulator-ldoa10 { - status = "okay"; - pm8019_l10: regulator-l10 { - parent-supply = <&pm8019_s3>; - regulator-min-microvolt = <500000>; - regulator-max-microvolt = <1050000>; - status = "okay"; - }; - pm8019_l10_corner: regulator-l10-corner { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8019_l10_corner"; - qcom,set = <3>; - regulator-min-microvolt = <1>; - regulator-max-microvolt = <7>; - qcom,use-voltage-corner; - status = "okay"; - qcom,consumer-supplies = "vdd_dig", ""; - }; - pm8019_l10_corner_ao: regulator-l10-corner-ao { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8019_l10_corner_ao"; - qcom,set = <1>; - regulator-min-microvolt = <1>; - regulator-max-microvolt = <7>; - qcom,use-voltage-corner; - status = "okay"; - }; - pm8019_l10_floor_corner: regulator-l10-floor-corner { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8019_l10_floor_corner"; - qcom,set = <3>; - regulator-min-microvolt = <1>; - regulator-max-microvolt = <7>; - qcom,use-voltage-floor-corner; - qcom,always-send-voltage; - }; - }; - - rpm-regulator-ldoa11 { - status = "okay"; - pm8019_l11: regulator-l11 { - parent-supply = <&pm8019_s4>; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - qcom,init-current = <10>; - qcom,system-load = <10000>; - regulator-always-on; - status = "okay"; - }; - }; - - rpm-regulator-ldoa12 { - status = "okay"; - pm8019_l12: regulator-l12 { - parent-supply = <&pm8019_s3>; - regulator-min-microvolt = <675000>; - regulator-max-microvolt = <1050000>; - status = "okay"; - }; - pm8019_l12_ao: regulator-l12-ao { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8019_l12_ao"; - qcom,set = <1>; - parent-supply = <&pm8019_s3_ao>; - regulator-min-microvolt = <675000>; - regulator-max-microvolt = <1050000>; - status = "okay"; - }; - pm8019_l12_so: regulator-l12-so { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8019_l12_so"; - qcom,set = <2>; - parent-supply = <&pm8019_s3>; - regulator-min-microvolt = <675000>; - regulator-max-microvolt = <1050000>; - qcom,init-voltage = <675000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa13 { - status = "okay"; - pm8019_l13: regulator-l13 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <2950000>; - qcom,init-voltage = <2950000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa14 { - status = "okay"; - pm8019_l14: regulator-l14 { - regulator-min-microvolt = <2700000>; - regulator-max-microvolt = <2700000>; - qcom,init-voltage = <2700000>; - status = "okay"; - }; - }; -}; - -&soc { - ext_2p95v: regulator-isl80101 { - compatible = "regulator-fixed"; - regulator-name = "ext_2p95v"; - gpio = <&pm8019_gpios 4 0>; - enable-active-high; - }; - - usb_vbus: regulator-usb-vbus { - compatible = "regulator-fixed"; - regulator-name = "usb_vbus"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/msm9625-smp2p.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v1/msm9625-smp2p.dtsi deleted file mode 100644 index f8ad351a4..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/msm9625-smp2p.dtsi +++ /dev/null @@ -1,142 +0,0 @@ -/* Copyright (c) 2013, 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. - */ -&soc { - qcom,smp2p-modem { - compatible = "qcom,smp2p"; - reg = <0xf9011008 0x4>; - qcom,remote-pid = <1>; - qcom,irq-bitmask = <0x4000>; - interrupts = <0 27 1>; - }; - - qcom,smp2p-adsp { - compatible = "qcom,smp2p"; - reg = <0xf9011008 0x4>; - qcom,remote-pid = <2>; - qcom,irq-bitmask = <0x400>; - interrupts = <0 158 1>; - }; - - smp2pgpio_smp2p_7_in: qcom,smp2pgpio-smp2p-7-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <7>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_7_in { - compatible = "qcom,smp2pgpio_test_smp2p_7_in"; - gpios = <&smp2pgpio_smp2p_7_in 0 0>; - }; - - smp2pgpio_smp2p_7_out: qcom,smp2pgpio-smp2p-7-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <7>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_7_out { - compatible = "qcom,smp2pgpio_test_smp2p_7_out"; - gpios = <&smp2pgpio_smp2p_7_out 0 0>; - }; - - smp2pgpio_smp2p_1_in: qcom,smp2pgpio-smp2p-1-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <1>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_1_in { - compatible = "qcom,smp2pgpio_test_smp2p_1_in"; - gpios = <&smp2pgpio_smp2p_1_in 0 0>; - }; - - smp2pgpio_smp2p_1_out: qcom,smp2pgpio-smp2p-1-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <1>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_1_out { - compatible = "qcom,smp2pgpio_test_smp2p_1_out"; - gpios = <&smp2pgpio_smp2p_1_out 0 0>; - }; - - smp2pgpio_ssr_smp2p_1_in: qcom,smp2pgpio-ssr-smp2p-1-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "slave-kernel"; - qcom,remote-pid = <1>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - smp2pgpio_ssr_smp2p_1_out: qcom,smp2pgpio-ssr-smp2p-1-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "master-kernel"; - qcom,remote-pid = <1>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - smp2pgpio_smp2p_2_in: qcom,smp2pgpio-smp2p-2-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <2>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_2_in { - compatible = "qcom,smp2pgpio_test_smp2p_2_in"; - gpios = <&smp2pgpio_smp2p_2_in 0 0>; - }; - - smp2pgpio_smp2p_2_out: qcom,smp2pgpio-smp2p-2-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <2>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_2_out { - compatible = "qcom,smp2pgpio_test_smp2p_2_out"; - gpios = <&smp2pgpio_smp2p_2_out 0 0>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/msm9625-v1-cdp.dts b/kernel/arch/arm/boot/dts/m7350-un-v1/msm9625-v1-cdp.dts deleted file mode 100644 index d7537eb35..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/msm9625-v1-cdp.dts +++ /dev/null @@ -1,24 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/dts-v1/; - -/include/ "msm9625-v1.dtsi" -/include/ "msm9625-cdp.dtsi" - -/ { - model = "Qualcomm MSM 9625V1 CDP"; - compatible = "qcom,msm9625-cdp", "qcom,msm9625", "qcom,cdp"; - qcom,msm-id = <134 1 0>, <152 1 0>, <149 1 0>, <150 1 0>, - <151 1 0>, <148 1 0>, <173 1 0>, <174 1 0>, - <175 1 0>; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/msm9625-v1-mtp.dts b/kernel/arch/arm/boot/dts/m7350-un-v1/msm9625-v1-mtp.dts deleted file mode 100644 index a70ec1aa7..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/msm9625-v1-mtp.dts +++ /dev/null @@ -1,24 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/dts-v1/; - -/include/ "msm9625-v1.dtsi" -/include/ "msm9625-mtp.dtsi" - -/ { - model = "Qualcomm MSM 9625V1 MTP"; - compatible = "qcom,msm9625-mtp", "qcom,msm9625", "qcom,mtp"; - qcom,msm-id = <134 7 0>, <152 7 0>, <149 7 0>, <150 7 0>, - <151 7 0>, <148 7 0>, <173 7 0>, <174 7 0>, - <175 7 0>; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/msm9625-v1-rumi.dts b/kernel/arch/arm/boot/dts/m7350-un-v1/msm9625-v1-rumi.dts deleted file mode 100644 index ef0068143..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/msm9625-v1-rumi.dts +++ /dev/null @@ -1,26 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/dts-v1/; - -/include/ "msm9625-v1.dtsi" - -/ { - model = "Qualcomm MSM 9625V1 RUMI"; - compatible = "qcom,msm9625-rumi", "qcom,msm9625", "qcom,rumi"; - qcom,msm-id = <134 15 0>; - - chosen{ - bootargs = "root=/dev/ram rw init=/init console=ttyHSL0,115200n8 initrd=0x00000000,0x00000000 mem=29M@0x00200000 mem=10M@0x07600000"; - - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/msm9625-v1.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v1/msm9625-v1.dtsi deleted file mode 100644 index b238ba549..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/msm9625-v1.dtsi +++ /dev/null @@ -1,67 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/* - * As a general rule, only version-specific property overrides should be placed - * inside this file. However, device definitions should be placed inside the - * msm9625.dtsi file. - */ - -/include/ "msm9625.dtsi" - -&soc { - qcom,msm-imem@fc42a800 { - compatible = "qcom,msm-imem"; - reg = <0xfc42a800 0x1000>; /* Address and size of IMEM */ - }; - - android_usb@fc42a8c8 { - compatible = "qcom,android-usb"; - reg = <0xfc42a8c8 0xc8>; - qcom,android-usb-swfi-latency = <100>; - }; - - qcom,bam_dmux@fc834000 { - compatible = "qcom,bam_dmux"; - reg = <0xfc834000 0x7000>; - interrupts = <0 29 1>; - }; -}; - -&hsic_host { - qcom,disable-park-mode; -}; - -&ipa_hw { - qcom,ipa-hw-ver = <1>; /* IPA h-w revision */ -}; - -/* CoreSight */ -&tmc_etr { - qcom,reset-flush-race; -}; - -&stm { - qcom,write-64bit; -}; - -&sfpb_spinlock { - status = "disable"; -}; - -&ldrex_spinlock { - status = "ok"; -}; - -&hsic_host { - qcom,phy-sof-workaround; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/msm9625-v2-cdp.dts b/kernel/arch/arm/boot/dts/m7350-un-v1/msm9625-v2-cdp.dts deleted file mode 100644 index 9fbe5ec8a..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/msm9625-v2-cdp.dts +++ /dev/null @@ -1,24 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; - -/include/ "msm9625-v2.dtsi" -/include/ "msm9625-cdp.dtsi" - -/ { - model = "Qualcomm MSM 9625V2 CDP"; - compatible = "qcom,msm9625-cdp", "qcom,msm9625", "qcom,cdp"; - qcom,msm-id = <134 1 0x20000>, <152 1 0x20000>, <149 1 0x20000>, - <150 1 0x20000>, <151 1 0x20000>, <148 1 0x20000>, - <173 1 0x20000>, <174 1 0x20000>, <175 1 0x20000>; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/msm9625-v2-mtp.dts b/kernel/arch/arm/boot/dts/m7350-un-v1/msm9625-v2-mtp.dts deleted file mode 100644 index 27d00664a..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/msm9625-v2-mtp.dts +++ /dev/null @@ -1,122 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; - -/include/ "msm9625-v2.dtsi" -/include/ "msm9625-mtp.dtsi" - -/ { - model = "Qualcomm MSM 9625V2 MTP"; - compatible = "qcom,msm9625-mtp", "qcom,msm9625", "qcom,mtp"; - qcom,msm-id = <134 7 0x20000>, <152 7 0x20000>, <149 7 0x20000>, - <150 7 0x20000>, <151 7 0x20000>, <148 7 0x20000>, - <173 7 0x20000>, <174 7 0x20000>, <175 7 0x20000>; -}; - -&soc { - i2c@f9925000 { - charger@57 { - compatible = "summit,smb137c"; - reg = <0x57>; - summit,chg-current-ma = <1500>; - summit,term-current-ma = <50>; - summit,pre-chg-current-ma = <100>; - summit,float-voltage-mv = <4200>; - summit,thresh-voltage-mv = <3000>; - summit,recharge-thresh-mv = <75>; - summit,system-voltage-mv = <4250>; - summit,charging-timeout = <382>; - summit,pre-charge-timeout = <48>; - summit,therm-current-ua = <10>; - summit,temperature-min = <4>; /* 0 C */ - summit,temperature-max = <3>; /* 45 C */ - }; - }; - - wlan0: qca,wlan { - cell-index = <0>; - compatible = "qca,ar6004-hsic"; - qca,chip-pwd-l-gpios = <&msmgpio 62 0>; - qca,pm-enable-gpios = <&pm8019_gpios 3 0x0>; - qca,vdd-io-supply = <&pm8019_l11>; - }; - - qca,wlan_ar6003 { - cell-index = <0>; - compatible = "qca,ar6003-sdio"; - qca,chip-pwd-l-gpios = <&msmgpio 62 0>; - qca,pm-enable-gpios = <&pm8019_gpios 3 0x0>; - qca,vdd-io-supply = <&pm8019_l11>; - }; -}; - -/* PM8019 GPIO and MPP configuration */ -&pm8019_gpios { - gpio@c000 { /* GPIO 1 */ - }; - - gpio@c100 { /* GPIO 2 */ - }; - - gpio@c200 { /* GPIO 3 */ - }; - - gpio@c300 { /* GPIO 4 */ - /* ext_2p95v regulator enable config */ - qcom,mode = <1>; /* Digital output */ - qcom,output-type = <0>; /* CMOS */ - qcom,invert = <0>; /* Output low */ - qcom,out-strength = <1>; /* Low */ - qcom,vin-sel = <2>; /* PM8019 L11 - 1.8V */ - qcom,src-sel = <0>; /* Constant */ - qcom,master-en = <1>; /* Enable GPIO */ - }; - - gpio@c400 { /* GPIO 5 */ - }; - - gpio@c500 { /* GPIO 6 */ - }; -}; - -&pm8019_mpps { - mpp@a000 { /* MPP 1 */ - }; - - mpp@a100 { /* MPP 2 */ - }; - - mpp@a200 { /* MPP 3 */ - }; - - mpp@a300 { /* MPP 4 */ - /* VADC channel 19 */ - qcom,mode = <4>; - qcom,ain-route = <3>; /* AMUX 8 */ - qcom,master-en = <1>; - qcom,src-sel = <0>; /* Function constant */ - qcom,invert = <1>; - }; - - mpp@a400 { /* MPP 5 */ - }; - - mpp@a500 { /* MPP 6 */ - /* channel 21 */ - qcom,mode = <4>; - qcom,ain-route = <1>; /* AMUX 6 */ - qcom,master-en = <1>; - qcom,src-sel = <0>; /* Function constant */ - qcom,invert = <1>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/msm9625-v2.1-cdp.dts b/kernel/arch/arm/boot/dts/m7350-un-v1/msm9625-v2.1-cdp.dts deleted file mode 100644 index b64359381..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/msm9625-v2.1-cdp.dts +++ /dev/null @@ -1,24 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; - -/include/ "msm9625-v2.1.dtsi" -/include/ "msm9625-cdp.dtsi" - -/ { - model = "Qualcomm MSM 9625V2.1 CDP"; - compatible = "qcom,msm9625-cdp", "qcom,msm9625", "qcom,cdp"; - qcom,msm-id = <134 1 0x20001>, <152 1 0x20001>, <149 1 0x20001>, - <150 1 0x20001>, <151 1 0x20001>, <148 1 0x20001>, - <173 1 0x20001>, <174 1 0x20001>, <175 1 0x20001>; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/msm9625-v2.1-mtp.dts b/kernel/arch/arm/boot/dts/m7350-un-v1/msm9625-v2.1-mtp.dts deleted file mode 100644 index 8bbcc0d55..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/msm9625-v2.1-mtp.dts +++ /dev/null @@ -1,24 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; - -/include/ "msm9625-v2.1.dtsi" -/include/ "msm9625-mtp.dtsi" - -/ { - model = "Qualcomm MSM 9625V2.1 MTP"; - compatible = "qcom,msm9625-mtp", "qcom,msm9625", "qcom,mtp"; - qcom,msm-id = <134 7 0x20001>, <152 7 0x20001>, <149 7 0x20001>, - <150 7 0x20001>, <151 7 0x20001>, <148 7 0x20001>, - <173 7 0x20001>, <174 7 0x20001>, <175 7 0x20001>; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/msm9625-v2.1.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v1/msm9625-v2.1.dtsi deleted file mode 100644 index 5720700e3..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/msm9625-v2.1.dtsi +++ /dev/null @@ -1,40 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/* - * As a general rule, only version-specific property overrides should be placed - * inside this file. However, device definitions should be placed inside the - * msm9625.dtsi file. - */ - -/include/ "msm9625.dtsi" - -&soc { - qcom,msm-imem@fe807800 { - compatible = "qcom,msm-imem"; - reg = <0xfe807800 0x1000>; /* Address and size of IMEM */ - }; - - android_usb@fe8078c8 { - compatible = "qcom,android-usb"; - reg = <0xfe8078c8 0xc8>; - qcom,android-usb-swfi-latency = <100>; - }; -}; - -&ipa_hw { - qcom,ipa-hw-ver = <2>; /* IPA h-w revision */ -}; - -&hsusb_otg { - qcom,hsusb-l1-supported; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/msm9625-v2.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v1/msm9625-v2.dtsi deleted file mode 100644 index 3eda3f896..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/msm9625-v2.dtsi +++ /dev/null @@ -1,54 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/* - * As a general rule, only version-specific property overrides should be placed - * inside this file. However, device definitions should be placed inside the - * msm9625.dtsi file. - */ - -/include/ "msm9625.dtsi" - -&soc { - qcom,msm-imem@fe807800 { - compatible = "qcom,msm-imem"; - reg = <0xfe807800 0x1000>; /* Address and size of IMEM */ - }; - - android_usb@fe8078c8 { - compatible = "qcom,android-usb"; - reg = <0xfe8078c8 0xc8>; - qcom,android-usb-swfi-latency = <100>; - }; -}; - -&ipa_hw { - qcom,ipa-hw-ver = <2>; /* IPA h-w revision */ -}; - -&hsic_host { - qcom,disable-park-mode; - qcom,phy-susp-sof-workaround; - qcom,phy-reset-sof-workaround; -}; - -&sfpb_spinlock { - status = "disable"; -}; - -&ldrex_spinlock { - status = "ok"; -}; - -&hsusb_otg { - qcom,hsusb-l1-supported; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/msm9625.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v1/msm9625.dtsi deleted file mode 100755 index b1f722d95..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/msm9625.dtsi +++ /dev/null @@ -1,895 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/include/ "skeleton.dtsi" - -/ { - model = "Qualcomm MSM 9625"; - compatible = "qcom,msm9625"; - interrupt-parent = <&intc>; - - aliases { - spi0 = &spi_0; - }; - - soc: soc { }; -}; - -/include/ "msm9625-ion.dtsi" -/include/ "msm9625-pm.dtsi" -/include/ "msm9625-coresight.dtsi" -/include/ "msm9625-smp2p.dtsi" - -&soc { - #address-cells = <1>; - #size-cells = <1>; - ranges; - - intc: interrupt-controller@F9000000 { - compatible = "qcom,msm-qgic2"; - interrupt-controller; - #interrupt-cells = <3>; - reg = <0xF9000000 0x1000>, - <0xF9002000 0x1000>; - }; - - l2: cache-controller@f9040000 { - compatible = "arm,pl310-cache"; - reg = <0xf9040000 0x1000>; - cache-unified; - cache-level = <2>; - }; - - msmgpio: gpio@fd510000 { - compatible = "qcom,msm-gpio"; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - reg = <0xfd510000 0x4000>; - ngpio = <76>; - interrupts = <0 208 0>; - qcom,direct-connect-irqs = <8>; - }; - - 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 7 0x4>, - <0 6 0x4>; - reg = <0xf9021000 0x1000>, - <0xf9022000 0x1000>; - }; - - frame@f9023000 { - frame-number = <1>; - interrupts = <0 8 0x4>; - reg = <0xf9023000 0x1000>; - status = "disabled"; - }; - - frame@f9024000 { - frame-number = <2>; - interrupts = <0 9 0x4>; - reg = <0xf9024000 0x1000>; - status = "disabled"; - }; - - frame@f9025000 { - frame-number = <3>; - interrupts = <0 10 0x4>; - reg = <0xf9025000 0x1000>; - status = "disabled"; - }; - - frame@f9026000 { - frame-number = <4>; - interrupts = <0 11 0x4>; - reg = <0xf9026000 0x1000>; - status = "disabled"; - }; - - frame@f9027000 { - frame-number = <5>; - interrupts = <0 12 0x4>; - reg = <0xf9027000 0x1000>; - status = "disabled"; - }; - - frame@f9028000 { - frame-number = <6>; - interrupts = <0 13 0x4>; - reg = <0xf9028000 0x1000>; - status = "disabled"; - }; - - frame@f9029000 { - frame-number = <7>; - interrupts = <0 14 0x4>; - reg = <0xf9029000 0x1000>; - status = "disabled"; - }; - }; - - qcom,sps@f9980000 { - compatible = "qcom,msm_sps"; - reg = <0xf9984000 0x15000>, - <0xf9999000 0xb000>, - <0xfe803000 0x4800>; - interrupts = <0 94 0>; - qcom,device-type = <2>; - }; - - serial@f991f000 { - compatible = "qcom,msm-lsuart-v14"; - reg = <0xf991f000 0x1000>; - interrupts = <0 109 0>; - qcom,msm-bus,name = "blsp1_uart3"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <86 512 0 0>, - <86 512 500 800>; - }; - - hsusb_otg: usb@f9a55000 { - compatible = "qcom,hsusb-otg"; - reg = <0xf9a55000 0x400>; - interrupts = <0 134 0 0 140 0>; - interrupt-names = "core_irq", "async_irq"; - HSUSB_VDDCX-supply = <&pm8019_l12>; - HSUSB_1p8-supply = <&pm8019_l2>; - HSUSB_3p3-supply = <&pm8019_l4>; - vbus_otg-supply = <&usb_vbus>; - - qcom,hsusb-otg-phy-type = <2>; - qcom,hsusb-otg-mode = <1>; - qcom,hsusb-otg-otg-control = <1>; - qcom,hsusb-otg-disable-reset; - qcom,hsusb-otg-delay-lpm-hndshk-on-disconnect; - qcom,hsusb-otg-delay-lpm; - qcom,hsusb-otg-mpm-dpsehv-int = <49>; - - qcom,msm-bus,name = "usb2"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <87 512 0 0>, - <87 512 40000 640000>; - qcom,hsusb-log2-itc = <4>; - }; - - hsic_host: hsic@f9a15000 { - compatible = "qcom,hsic-host"; - reg = <0xf9a15000 0x400>; - interrupts = <0 136 0>, <0 148 0>; - interrupt-names = "core_irq", "async_irq"; - HSIC_VDDCX-supply = <&pm8019_l12>; - HSIC_GDSC-supply = <&gdsc_usb_hsic>; - - qcom,msm-bus,name = "hsic"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <85 512 0 0>, - <85 512 40000 640000>; - qcom,pool-64-bit-align; - qcom,enable-hbm; - hsic,consider-ipa-handshake; - qcom,ahb-async-bridge-bypass; - hsic,disable-cerr; - qcom,disable-internal-clk-gating; - }; - - qcom,usbbam@f9a44000 { - compatible = "qcom,usb-bam-msm"; - reg = <0xf9a44000 0x11000>, - <0xf9a04000 0x11000>; - reg-names = "hsusb", "hsic"; - interrupts = <0 135 0 0 255 0>; - interrupt-names = "hsusb", "hsic"; - qcom,usb-bam-num-pipes = <16>; - qcom,ignore-core-reset-ack; - qcom,disable-clk-gating; - - qcom,pipe0 { - label = "hsusb-ipa-out-0"; - qcom,usb-bam-mem-type = <2>; - qcom,bam-type = <1>; - qcom,dir = <0>; - qcom,pipe-num = <0>; - qcom,peer-bam = <2>; - qcom,src-bam-physical-address = <0xf9a44000>; - qcom,src-bam-pipe-index = <1>; - qcom,data-fifo-size = <0x8000>; - qcom,descriptor-fifo-size = <0x2000>; - qcom,reset-bam-on-connect; - }; - qcom,pipe1 { - label = "hsusb-ipa-in-0"; - qcom,usb-bam-mem-type = <2>; - qcom,bam-type = <1>; - qcom,dir = <1>; - qcom,pipe-num = <0>; - qcom,peer-bam = <2>; - qcom,dst-bam-physical-address = <0xf9a44000>; - qcom,dst-bam-pipe-index = <0>; - qcom,data-fifo-size = <0x8000>; - qcom,descriptor-fifo-size = <0x2000>; - qcom,reset-bam-on-connect; - }; - qcom,pipe2 { - label = "hsusb-qdss-in-0"; - qcom,usb-bam-mem-type = <0>; - qcom,bam-type = <1>; - 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 = <0xf9a44000>; - qcom,dst-bam-pipe-index = <2>; - qcom,data-fifo-offset = <0x4100>; - qcom,data-fifo-size = <0x700>; - qcom,descriptor-fifo-offset = <0x4000>; - qcom,descriptor-fifo-size = <0x100>; - }; - qcom,pipe3 { - label = "hsic-ipa-in-0"; - qcom,usb-bam-mem-type = <2>; - qcom,bam-type = <2>; - qcom,dir = <1>; - qcom,pipe-num = <0>; - qcom,peer-bam = <2>; - qcom,dst-bam-physical-address = <0xf9a04000>; - qcom,dst-bam-pipe-index = <3>; - qcom,data-fifo-size = <0xF800>; - qcom,descriptor-fifo-size = <0x3A58>; - qcom,reset-bam-on-connect; - }; - qcom,pipe4 { - label = "hsic-ipa-in-1"; - qcom,bam-type = <2>; - qcom,dir = <1>; - qcom,pipe-num = <1>; - qcom,peer-bam = <2>; - qcom,usb-bam-mem-type = <2>; - qcom,dst-bam-physical-address = <0xf9a04000>; - qcom,dst-bam-pipe-index = <4>; - qcom,data-fifo-size = <0xF800>; - qcom,descriptor-fifo-size = <0x3A58>; - qcom,reset-bam-on-connect; - }; - qcom,pipe5 { - label = "hsic-ipa-in-2"; - qcom,usb-bam-mem-type = <2>; - qcom,bam-type = <2>; - qcom,dir = <1>; - qcom,pipe-num = <2>; - qcom,peer-bam = <2>; - qcom,dst-bam-physical-address = <0xf9a04000>; - qcom,dst-bam-pipe-index = <5>; - qcom,data-fifo-size = <0xF800>; - qcom,descriptor-fifo-size = <0x3A58>; - qcom,reset-bam-on-connect; - }; - qcom,pipe6 { - label = "hsic-ipa-in-3"; - qcom,usb-bam-mem-type = <2>; - qcom,bam-type = <2>; - qcom,dir = <1>; - qcom,pipe-num = <3>; - qcom,peer-bam = <2>; - qcom,dst-bam-physical-address = <0xf9a04000>; - qcom,dst-bam-pipe-index = <6>; - qcom,data-fifo-size = <0xF800>; - qcom,descriptor-fifo-size = <0x3A58>; - qcom,reset-bam-on-connect; - }; - qcom,pipe7 { - label = "hsic-ipa-out-0"; - qcom,usb-bam-mem-type = <2>; - qcom,bam-type = <2>; - qcom,dir = <0>; - qcom,pipe-num = <0>; - qcom,peer-bam = <2>; - qcom,src-bam-physical-address = <0xf9a04000>; - qcom,src-bam-pipe-index = <7>; - qcom,data-fifo-size = <0xDFE>; - qcom,descriptor-fifo-size = <0xB30>; - qcom,reset-bam-on-connect; - }; - - qcom,pipe8 { - label = "hsusb-ipa-out-1"; - qcom,usb-bam-mem-type = <2>; - qcom,bam-type = <1>; - qcom,dir = <0>; - qcom,pipe-num = <1>; - qcom,peer-bam = <2>; - qcom,src-bam-physical-address = <0xf9a44000>; - qcom,src-bam-pipe-index = <5>; - qcom,data-fifo-size = <0x8000>; - qcom,descriptor-fifo-size = <0x2000>; - qcom,reset-bam-on-connect; - }; - - qcom,pipe9 { - label = "hsusb-ipa-in-1"; - qcom,usb-bam-mem-type = <2>; - qcom,bam-type = <1>; - qcom,dir = <1>; - qcom,pipe-num = <1>; - qcom,peer-bam = <2>; - qcom,dst-bam-physical-address = <0xf9a44000>; - qcom,dst-bam-pipe-index = <4>; - qcom,data-fifo-size = <0x8000>; - qcom,descriptor-fifo-size = <0x2000>; - qcom,reset-bam-on-connect; - }; - - qcom,pipe10 { - label = "hsusb-ipa-out-2"; - qcom,usb-bam-mem-type = <2>; - qcom,bam-type = <1>; - qcom,dir = <0>; - qcom,pipe-num = <2>; - qcom,peer-bam = <2>; - qcom,src-bam-physical-address = <0xf9a44000>; - qcom,src-bam-pipe-index = <7>; - qcom,data-fifo-size = <0x8000>; - qcom,descriptor-fifo-size = <0x2000>; - qcom,reset-bam-on-connect; - }; - - qcom,pipe11 { - label = "hsusb-ipa-in-2"; - qcom,usb-bam-mem-type = <2>; - qcom,bam-type = <1>; - qcom,dir = <1>; - qcom,pipe-num = <2>; - qcom,peer-bam = <2>; - qcom,dst-bam-physical-address = <0xf9a44000>; - qcom,dst-bam-pipe-index = <6>; - qcom,data-fifo-size = <0x8000>; - qcom,descriptor-fifo-size = <0x2000>; - qcom,reset-bam-on-connect; - }; - - qcom,pipe12 { - label = "hsusb-ipa-out-3"; - qcom,usb-bam-mem-type = <2>; - qcom,bam-type = <1>; - qcom,dir = <0>; - qcom,pipe-num = <3>; - qcom,peer-bam = <2>; - qcom,src-bam-physical-address = <0xf9a44000>; - qcom,src-bam-pipe-index = <8>; - qcom,data-fifo-size = <0x8000>; - qcom,descriptor-fifo-size = <0x2000>; - qcom,reset-bam-on-connect; - }; - - qcom,pipe13 { - label = "hsusb-ipa-in-3"; - qcom,usb-bam-mem-type = <2>; - qcom,bam-type = <1>; - qcom,dir = <1>; - qcom,pipe-num = <3>; - qcom,peer-bam = <2>; - qcom,dst-bam-physical-address = <0xf9a44000>; - qcom,dst-bam-pipe-index = <9>; - qcom,data-fifo-size = <0x8000>; - qcom,descriptor-fifo-size = <0x2000>; - qcom,reset-bam-on-connect; - }; - }; - - qcom,nand@f9ac0000 { - compatible = "qcom,msm-nand"; - reg = <0xf9ac0000 0x1000>, - <0xf9ac4000 0x8000>; - reg-names = "nand_phys", - "bam_phys"; - interrupts = <0 247 0>; - interrupt-names = "bam_irq"; - }; - - spi_0: spi@f9924000 { - compatible = "qcom,spi-qup-v2"; - reg = <0xf9924000 0x1000>; - interrupts = <0 96 0>; - spi-max-frequency = <25000000>; - #address-cells = <1>; - #size-cells = <0>; - gpios = <&msmgpio 7 0>, /* CLK */ - <&msmgpio 5 0>, /* MISO */ - <&msmgpio 4 0>; /* MOSI */ - - cs-gpios = <&msmgpio 6 0>; - - qcom-spi-oled@1 { - compatible = "tplink,oleds90319"; - reg = <1>; - spi-max-frequency = <9600000>; - }; - - }; - - oled { - compatible = "tp,oled_pt"; - qcom,oled_s90319 { - compatible = "qcom,oled_s90319_pt"; - qcom,oled-cs-gpio = <&msmgpio 6 0>; /* refer to board-9625-gpiomux.c */ - qcom,oled-rsx-gpio = <&msmgpio 21 0>; - qcom,oled-reset-gpio = <&msmgpio 20 0>; - qcom,oled-vdd0-gpio = <&msmgpio 22 0>; - qcom,oled-vdd1-gpio = <&msmgpio 23 0>; - qcom,oled-boost-en-gpio = <&msmgpio 61 0>; - }; - }; - - - qcom,wdt@f9017000 { - compatible = "qcom,msm-watchdog"; - reg = <0xf9017000 0x1000>; - interrupts = <1 2 0>, <1 1 0>; - qcom,bark-time = <11000>; - qcom,pet-time = <10000>; - }; - - rpm_bus: qcom,rpm-smd { - compatible = "qcom,rpm-smd"; - rpm-channel-name = "rpm_requests"; - rpm-channel-type = <15>; /* SMD_APPS_RPM */ - }; - - spmi_bus: qcom,spmi@fc4c0000 { - cell-index = <0>; - 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-ee = <0>; - qcom,pmic-arb-channel = <0>; - }; - - sdcc2: qcom,sdcc@f98a4000 { - cell-index = <2>; /* SDC2 SD card slot */ - compatible = "qcom,msm-sdcc"; - reg = <0xf98a4000 0x800>, - <0xf98a4800 0x100>, - <0xf9884000 0x7000>; - reg-names = "core_mem", "dml_mem", "bam_mem"; - - vdd-supply = <&ext_2p95v>; - - vdd-io-supply = <&pm8019_l13>; - qcom,vdd-io-always-on; - qcom,vdd-io-lpm-sup; - qcom,vdd-io-voltage-level = <1800000 2950000>; - qcom,vdd-io-current-level = <6 22000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; - qcom,pad-pull-off = <0x0 0x3 0x3>; - qcom,pad-drv-on = <0x4 0x4 0x4>; - qcom,pad-drv-off = <0x0 0x0 0x0>; - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - qcom,sup-voltages = <2950 2950>; - qcom,bus-width = <4>; - qcom,xpc; - qcom,bus-speed-mode = "SDR12", "SDR25", "SDR50", "DDR50", "SDR104"; - qcom,current-limit = <800>; - - interrupt-parent = <&sdcc2>; - #address-cells = <0>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 125 0 - 1 &intc 0 220 0 - 2 &msmgpio 66 0x3>; - interrupt-names = "core_irq", "bam_irq", "status_irq"; - }; - - ipa_hw: qcom,ipa@fd4c0000 { - compatible = "qcom,ipa"; - reg = <0xfd4c0000 0x26000>, - <0xfd4c4000 0x14818>, - <0xfc834000 0x7000>; - reg-names = "ipa-base", "bam-base", "a2-bam-base"; - interrupts = <0 252 0>, - <0 253 0>, - <0 29 1>; - interrupt-names = "ipa-irq", "bam-irq", "a2-bam-irq"; - - qcom,pipe1 { - label = "a2-to-ipa"; - qcom,src-bam-physical-address = <0xfc834000>; - qcom,ipa-bam-mem-type = <0>; - qcom,src-bam-pipe-index = <1>; - qcom,dst-bam-physical-address = <0xfd4c0000>; - qcom,dst-bam-pipe-index = <6>; - qcom,data-fifo-offset = <0x1000>; - qcom,data-fifo-size = <0xd00>; - qcom,descriptor-fifo-offset = <0x1d00>; - qcom,descriptor-fifo-size = <0x300>; - }; - - qcom,pipe2 { - label = "ipa-to-a2"; - qcom,src-bam-physical-address = <0xfd4c0000>; - qcom,ipa-bam-mem-type = <0>; - qcom,src-bam-pipe-index = <7>; - qcom,dst-bam-physical-address = <0xfc834000>; - qcom,dst-bam-pipe-index = <0>; - qcom,data-fifo-offset = <0x00>; - qcom,data-fifo-size = <0xd00>; - qcom,descriptor-fifo-offset = <0xd00>; - qcom,descriptor-fifo-size = <0x300>; - }; - }; - - qcom,acpuclk@f9010000 { - compatible = "qcom,acpuclk-9625"; - reg = <0xf9010008 0x10>, - <0xf9008004 0x4>; - reg-names = "rcg_base", "pwr_base"; - a5_cpu-supply = <&pm8019_l10_corner_ao>; - a5_mem-supply = <&pm8019_l12_ao>; - }; - - gdsc_usb_hsic: qcom,gdsc@fc400404 { - compatible = "qcom,gdsc"; - reg = <0xfc400404 0x4>; - regulator-name = "gdsc_usb_hsic"; - }; - - tsens@fc4a8000 { - compatible = "qcom,msm-tsens"; - reg = <0xfc4a8000 0x2000>, - <0xfc4b8000 0x1000>; - reg-names = "tsens_physical", "tsens_eeprom_physical"; - interrupts = <0 184 0>; - qcom,sensors = <5>; - qcom,slope = <3200 3200 3200 3200 3200>; - qcom,calib-mode = "fuse_map1"; - }; - - qcom,msm-thermal { - compatible = "qcom,msm-thermal"; - qcom,sensor-id = <0>; - qcom,poll-ms = <250>; - qcom,limit-temp = <60>; - qcom,temp-hysteresis = <10>; - qcom,freq-step = <2>; - qcom,freq-control-mask = <0x0>; - qcom,vdd-restriction-temp = <5>; - qcom,vdd-restriction-temp-hysteresis = <10>; - vdd-dig-supply = <&pm8019_l10_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,msm-rng@f9bff000 { - compatible = "qcom,msm-rng"; - reg = <0xf9bff000 0x200>; - qcom,msm-rng-iface-clk; - }; - - i2c@f9925000 { - cell-index = <3>; - compatible = "qcom,i2c-qup"; - reg = <0xf9925000 0x1000>; - #address-cells = <1>; - #size-cells = <0>; - reg-names = "qup_phys_addr"; - interrupts = <0 97 0>; - interrupt-names = "qup_err_intr"; - qcom,i2c-bus-freq = <400000>; - qcom,i2c-src-freq = <19200000>; - }; - - qcom,mss { - compatible = "qcom,pil-q6v5-mss"; - interrupts = <0 24 1>; - qcom,is-not-loadable; - - /* 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>; - }; - - qcom,smem@0 { - compatible = "qcom,smem"; - reg = <0x0 0x100000>, - <0xf9011000 0x1000>, - <0xfc428000 0x4000>; - reg-names = "smem", "irq-reg-base", "aux-mem1"; - - qcom,smd-modem { - compatible = "qcom,smd"; - qcom,smd-edge = <0>; - qcom,smd-irq-offset = <0x8>; - qcom,smd-irq-bitmask = <0x1000>; - qcom,pil-string = "modem"; - interrupts = <0 25 1>; - }; - - qcom,smsm-modem { - compatible = "qcom,smsm"; - qcom,smsm-edge = <0>; - qcom,smsm-irq-offset = <0x8>; - qcom,smsm-irq-bitmask = <0x2000>; - interrupts = <0 26 1>; - }; - - qcom,smd-adsp { - compatible = "qcom,smd"; - qcom,smd-edge = <1>; - qcom,smd-irq-offset = <0x8>; - qcom,smd-irq-bitmask = <0x100>; - qcom,pil-string = "adsp"; - interrupts = <0 156 1>; - }; - - qcom,smsm-adsp { - compatible = "qcom,smsm"; - qcom,smsm-edge = <1>; - qcom,smsm-irq-offset = <0x8>; - qcom,smsm-irq-bitmask = <0x200>; - interrupts = <0 157 1>; - }; - - qcom,smd-rpm { - compatible = "qcom,smd"; - qcom,smd-edge = <15>; - qcom,smd-irq-offset = <0x8>; - qcom,smd-irq-bitmask = <0x1>; - interrupts = <0 168 1>; - qcom,irq-no-suspend; - }; - }; - - qcom,qcedev@fd400000 { - compatible = "qcom,qcedev"; - reg = <0xfd400000 0x20000>, - <0xfd404000 0x8000>; - reg-names = "crypto-base","crypto-bam-base"; - interrupts = <0 207 0>; - qcom,bam-pipe-pair = <1>; - }; - - qcom,qcrypto@fd440000 { - compatible = "qcom,qcrypto"; - reg = <0xfd400000 0x20000>, - <0xfd404000 0x8000>; - reg-names = "crypto-base","crypto-bam-base"; - interrupts = <0 207 0>; - qcom,bam-pipe-pair = <2>; - }; - - jtag_mm: jtagmm@fc332000 { - compatible = "qcom,jtag-mm"; - reg = <0xfc332000 0x1000>, - <0xfc330000 0x1000>; - reg-names = "etm-base","debug-base"; - }; - - qcom,msm-rtb { - compatible = "qcom,msm-rtb"; - qcom,memory-reservation-type = "EBI1"; - qcom,memory-reservation-size = <0x1000>; /* 4K EBI1 buffer */ - }; - - qcom,msm-mem-hole { - compatible = "qcom,msm-mem-hole"; - qcom,memblock-remove = <0x1c00000 0x4c00000>; /* Address and Size of Hole */ - }; - - sfpb_spinlock: qcom,ipc-spinlock@fd484000 { - compatible = "qcom,ipc-spinlock-sfpb"; - reg = <0xfd484000 0x400>; - qcom,num-locks = <8>; - }; - - ldrex_spinlock: qcom,ipc-spinlock@fa00000 { - compatible = "qcom,ipc-spinlock-ldrex"; - reg = <0xfa00000 0x200000>; - status = "disable"; - }; - - cpu-pmu { - compatible = "arm,cortex-a5-pmu"; - qcom,irq-is-percpu; - interrupts = <1 7 0x00>; - }; - - l2-pmu { - compatible = "qcom,l2-pmu"; - interrupts = <0 1 0>; - }; - - /* [houjihai start] gpio keys */ - gpio-keys { - compatible = "gpio-keys"; - autorepeat; - input-name = "gpio-keys"; - key-up { - label = "WPS"; - linux,code = <103>; - gpios = <&msmgpio 14 1>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - key-back { - label = "RESET"; - linux,code = <158>; - gpios = <&msmgpio 15 1>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - }; - /* [houjihai end] */ - -}; - -/include/ "msm-pm8019-rpm-regulator.dtsi" -/include/ "msm-pm8019.dtsi" -/include/ "msm9625-regulator.dtsi" - -&pm8019_vadc { - chan@31 { - label = "batt_id_therm"; - reg = <0x31>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - /* [linyunfeng] Detect battery voltage */ - chan@11 { - label = "vbat"; - reg = <0x11>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@33 { - label = "pa_therm0"; - reg = <0x33>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@34 { - label = "pa_therm1"; - reg = <0x34>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@32 { - label = "xo_therm"; - reg = <0x32>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <4>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@3c { - label = "xo_therm_amux"; - reg = <0x3c>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <4>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@13 { - label = "case_therm"; - reg = <0x13>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@15 { - label = "ambient_therm"; - reg = <0x15>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; -}; - -&pm8019_adc_tm { - /* Channel Node */ - chan@33 { - label = "pa_therm0"; - reg = <0x33>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - qcom,btm-channel-number = <0x48>; - qcom,thermal-node; - }; - - chan@34 { - label = "pa_therm1"; - reg = <0x34>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - qcom,btm-channel-number = <0x68>; - qcom,thermal-node; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/msmkrypton-sim.dts b/kernel/arch/arm/boot/dts/m7350-un-v1/msmkrypton-sim.dts deleted file mode 100644 index 1872a36b9..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/msmkrypton-sim.dts +++ /dev/null @@ -1,25 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; - -/include/ "msmkrypton.dtsi" - -/ { - model = "Qualcomm MSM KRYPTON SIM"; - compatible = "qcom,msmkrypton-sim", "qcom,msmkrypton", "qcom,sim"; - qcom,msm-id = <187 16 0>; -}; - -&uartdm3{ - status = "ok"; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/msmkrypton.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v1/msmkrypton.dtsi deleted file mode 100644 index 4b032d86d..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/msmkrypton.dtsi +++ /dev/null @@ -1,120 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/include/ "skeleton.dtsi" - -/ { - model = "Qualcomm MSM KRYPTON"; - compatible = "qcom,msmkrypton"; - interrupt-parent = <&intc>; - - soc: soc { }; -}; - -&soc { - #address-cells = <1>; - #size-cells = <1>; - ranges; - - intc: interrupt-controller@f9000000 { - compatible = "qcom,msm-qgic2"; - interrupt-controller; - #interrupt-cells = <3>; - reg = <0xf9000000 0x1000>, - <0xf9002000 0x1000>; - }; - - msmgpio: gpio@fd510000 { - compatible = "qcom,msm-gpio"; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - reg = <0xfd510000 0x4000>; - ngpio = <89>; - interrupts = <0 208 0>; - qcom,direct-connect-irqs = <8>; - }; - - 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 7 0x4>, - <0 6 0x4>; - reg = <0xf9021000 0x1000>, - <0xf9022000 0x1000>; - }; - - frame@f9023000 { - frame-number = <1>; - interrupts = <0 8 0x4>; - reg = <0xf9023000 0x1000>; - status = "disabled"; - }; - - frame@f9024000 { - frame-number = <2>; - interrupts = <0 9 0x4>; - reg = <0xf9024000 0x1000>; - status = "disabled"; - }; - - frame@f9025000 { - frame-number = <3>; - interrupts = <0 10 0x4>; - reg = <0xf9025000 0x1000>; - status = "disabled"; - }; - - frame@f9026000 { - frame-number = <4>; - interrupts = <0 11 0x4>; - reg = <0xf9026000 0x1000>; - status = "disabled"; - }; - - frame@f9027000 { - frame-number = <5>; - interrupts = <0 12 0x4>; - reg = <0xf9027000 0x1000>; - status = "disabled"; - }; - - frame@f9028000 { - frame-number = <6>; - interrupts = <0 13 0x4>; - reg = <0xf9028000 0x1000>; - status = "disabled"; - }; - - frame@f9029000 { - frame-number = <7>; - interrupts = <0 14 0x4>; - reg = <0xf9029000 0x1000>; - status = "disabled"; - }; - }; - - uartdm3: serial@f991f000 { - compatible = "qcom,msm-lsuart-v14"; - reg = <0xf991f000 0x1000>; - interrupts = <0 109 0>; - status = "disabled"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/msmsamarium-ion.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v1/msmsamarium-ion.dtsi deleted file mode 100644 index ea954b89c..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/msmsamarium-ion.dtsi +++ /dev/null @@ -1,31 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -&soc { - qcom,ion { - compatible = "qcom,msm-ion"; - #address-cells = <1>; - #size-cells = <0>; - - qcom,ion-heap@30 { /* SYSTEM HEAP */ - reg = <30>; - }; - - qcom,ion-heap@21 { /* SYSTEM CONTIG HEAP */ - reg = <21>; - }; - - qcom,ion-heap@25 { /* IOMMU HEAP */ - reg = <25>; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/msmsamarium-rumi.dts b/kernel/arch/arm/boot/dts/m7350-un-v1/msmsamarium-rumi.dts deleted file mode 100644 index 9a679a4fd..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/msmsamarium-rumi.dts +++ /dev/null @@ -1,25 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; - -/include/ "msmsamarium.dtsi" - -/ { - model = "Qualcomm MSM SAMARIUM RUMI"; - compatible = "qcom,msmsamarium-rumi", "qcom,msmsamarium", "qcom,rumi"; - qcom,msm-id = <195 0 0>; -}; - -&uartblsp0dm2{ - status = "ok"; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/msmsamarium-sim.dts b/kernel/arch/arm/boot/dts/m7350-un-v1/msmsamarium-sim.dts deleted file mode 100644 index 4acffae18..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/msmsamarium-sim.dts +++ /dev/null @@ -1,55 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; - -/include/ "msmsamarium.dtsi" - -/ { - model = "Qualcomm MSM SAMARIUM SIM"; - compatible = "qcom,msmsamarium-sim", "qcom,msmsamarium", "qcom,sim"; - qcom,msm-id = <195 0 0>; -}; - -&uartblsp0dm2{ - status = "ok"; -}; - -&sdcc1 { - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - qcom,sup-voltages = <2950 2950>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,bus-speed-mode = "HS200_1p8v", "DDR_1p8v"; - qcom,nonremovable; - status = "ok"; -}; - -&sdcc2 { - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - qcom,sup-voltages = <2950 2950>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,xpc; - qcom,bus-speed-mode = "SDR12", "SDR25", "SDR50", "DDR50", "SDR104"; - qcom,current-limit = <800>; - - status = "ok"; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/msmsamarium.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v1/msmsamarium.dtsi deleted file mode 100644 index 81699b689..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/msmsamarium.dtsi +++ /dev/null @@ -1,90 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/include/ "skeleton.dtsi" - -/ { - model = "Qualcomm MSM SAMARIUM"; - compatible = "qcom,msmsamarium"; - interrupt-parent = <&intc>; - soc: soc { }; -}; - -/include/ "msmsamarium-ion.dtsi" - -&soc { - #address-cells = <1>; - #size-cells = <1>; - ranges; - - intc: interrupt-controller@f9000000 { - compatible = "qcom,msm-qgic2"; - interrupt-controller; - #interrupt-cells = <3>; - reg = <0xf9000000 0x1000>, - <0xf9002000 0x1000>; - }; - - msmgpio: gpio@fd510000 { - compatible = "qcom,msm-gpio"; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - reg = <0xfd510000 0x4000>; - ngpio = <145>; - interrupts = <0 208 0>; - qcom,direct-connect-irqs = <8>; - }; - - timer { - compatible = "arm,armv7-timer"; - interrupts = <1 2 0 1 3 0>; - clock-frequency = <19200000>; - }; - - uartblsp0dm2: serial@f991f000 { - compatible = "qcom,msm-lsuart-v14"; - reg = <0xf991f000 0x1000>; - interrupts = <0 109 0>; - status = "disabled"; - }; - - qcom,msm-imem@fe805000 { - compatible = "qcom,msm-imem"; - reg = <0xfe805000 0x1000>; /* Address and size of IMEM */ - }; - - sdcc1: qcom,sdcc@f9824000 { - cell-index = <1>; /* SDC1 eMMC slot */ - compatible = "qcom,msm-sdcc"; - reg = <0xf9824000 0x800>; - reg-names = "core_mem"; - interrupts = <0 123 0>; - interrupt-names = "core_irq"; - - qcom,bus-width = <8>; - status = "disabled"; - }; - - sdcc2: qcom,sdcc@f98a4000 { - cell-index = <2>; /* SDC2 SD card slot */ - compatible = "qcom,msm-sdcc"; - reg = <0xf98a4000 0x800>; - reg-names = "core_mem"; - interrupts = <0 125 0>; - interrupt-names = "core_irq"; - - qcom,bus-width = <4>; - status = "disabled"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/omap2.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v1/omap2.dtsi deleted file mode 100644 index f2ab4ea7c..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/omap2.dtsi +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Device Tree Source for OMAP2 SoC - * - * Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/ - * - * This file is licensed under the terms of the GNU General Public License - * version 2. This program is licensed "as is" without any warranty of any - * kind, whether express or implied. - */ - -/include/ "skeleton.dtsi" - -/ { - compatible = "ti,omap2430", "ti,omap2420", "ti,omap2"; - - aliases { - serial0 = &uart1; - serial1 = &uart2; - serial2 = &uart3; - }; - - cpus { - cpu@0 { - compatible = "arm,arm1136jf-s"; - }; - }; - - soc { - compatible = "ti,omap-infra"; - mpu { - compatible = "ti,omap2-mpu"; - ti,hwmods = "mpu"; - }; - }; - - ocp { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - ti,hwmods = "l3_main"; - - intc: interrupt-controller@1 { - compatible = "ti,omap2-intc"; - interrupt-controller; - #interrupt-cells = <1>; - }; - - uart1: serial@4806a000 { - compatible = "ti,omap2-uart"; - ti,hwmods = "uart1"; - clock-frequency = <48000000>; - }; - - uart2: serial@4806c000 { - compatible = "ti,omap2-uart"; - ti,hwmods = "uart2"; - clock-frequency = <48000000>; - }; - - uart3: serial@4806e000 { - compatible = "ti,omap2-uart"; - ti,hwmods = "uart3"; - clock-frequency = <48000000>; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/omap3-beagle.dts b/kernel/arch/arm/boot/dts/m7350-un-v1/omap3-beagle.dts deleted file mode 100644 index 9f72cd4cf..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/omap3-beagle.dts +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/ - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. - */ -/dts-v1/; - -/include/ "omap3.dtsi" - -/ { - model = "TI OMAP3 BeagleBoard"; - compatible = "ti,omap3-beagle", "ti,omap3"; - - memory { - device_type = "memory"; - reg = <0x80000000 0x20000000>; /* 512 MB */ - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/omap3-evm.dts b/kernel/arch/arm/boot/dts/m7350-un-v1/omap3-evm.dts deleted file mode 100644 index 2eee16ec5..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/omap3-evm.dts +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/ - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. - */ -/dts-v1/; - -/include/ "omap3.dtsi" - -/ { - model = "TI OMAP3 EVM (OMAP3530, AM/DM37x)"; - compatible = "ti,omap3-evm", "ti,omap3"; - - memory { - device_type = "memory"; - reg = <0x80000000 0x10000000>; /* 256 MB */ - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/omap3.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v1/omap3.dtsi deleted file mode 100644 index c6121357c..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/omap3.dtsi +++ /dev/null @@ -1,117 +0,0 @@ -/* - * Device Tree Source for OMAP3 SoC - * - * Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/ - * - * This file is licensed under the terms of the GNU General Public License - * version 2. This program is licensed "as is" without any warranty of any - * kind, whether express or implied. - */ - -/include/ "skeleton.dtsi" - -/ { - compatible = "ti,omap3430", "ti,omap3"; - - aliases { - serial0 = &uart1; - serial1 = &uart2; - serial2 = &uart3; - serial3 = &uart4; - }; - - cpus { - cpu@0 { - compatible = "arm,cortex-a8"; - }; - }; - - /* - * The soc node represents the soc top level view. It is uses for IPs - * that are not memory mapped in the MPU view or for the MPU itself. - */ - soc { - compatible = "ti,omap-infra"; - mpu { - compatible = "ti,omap3-mpu"; - ti,hwmods = "mpu"; - }; - - iva { - compatible = "ti,iva2.2"; - ti,hwmods = "iva"; - - dsp { - compatible = "ti,omap3-c64"; - }; - }; - }; - - /* - * XXX: Use a flat representation of the OMAP3 interconnect. - * The real OMAP interconnect network is quite complex. - * Since that will not bring real advantage to represent that in DT for - * the moment, just use a fake OCP bus entry to represent the whole bus - * hierarchy. - */ - ocp { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - ti,hwmods = "l3_main"; - - intc: interrupt-controller@48200000 { - compatible = "ti,omap2-intc"; - interrupt-controller; - #interrupt-cells = <1>; - ti,intc-size = <96>; - reg = <0x48200000 0x1000>; - }; - - uart1: serial@4806a000 { - compatible = "ti,omap3-uart"; - ti,hwmods = "uart1"; - clock-frequency = <48000000>; - }; - - uart2: serial@4806c000 { - compatible = "ti,omap3-uart"; - ti,hwmods = "uart2"; - clock-frequency = <48000000>; - }; - - uart3: serial@49020000 { - compatible = "ti,omap3-uart"; - ti,hwmods = "uart3"; - clock-frequency = <48000000>; - }; - - uart4: serial@49042000 { - compatible = "ti,omap3-uart"; - ti,hwmods = "uart4"; - clock-frequency = <48000000>; - }; - - i2c1: i2c@48070000 { - compatible = "ti,omap3-i2c"; - #address-cells = <1>; - #size-cells = <0>; - ti,hwmods = "i2c1"; - }; - - i2c2: i2c@48072000 { - compatible = "ti,omap3-i2c"; - #address-cells = <1>; - #size-cells = <0>; - ti,hwmods = "i2c2"; - }; - - i2c3: i2c@48060000 { - compatible = "ti,omap3-i2c"; - #address-cells = <1>; - #size-cells = <0>; - ti,hwmods = "i2c3"; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/omap4-panda.dts b/kernel/arch/arm/boot/dts/m7350-un-v1/omap4-panda.dts deleted file mode 100644 index 9755ad591..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/omap4-panda.dts +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/ - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. - */ -/dts-v1/; - -/include/ "omap4.dtsi" - -/ { - model = "TI OMAP4 PandaBoard"; - compatible = "ti,omap4-panda", "ti,omap4430", "ti,omap4"; - - memory { - device_type = "memory"; - reg = <0x80000000 0x40000000>; /* 1 GB */ - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/omap4-sdp.dts b/kernel/arch/arm/boot/dts/m7350-un-v1/omap4-sdp.dts deleted file mode 100644 index 63c6b2b2b..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/omap4-sdp.dts +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/ - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. - */ -/dts-v1/; - -/include/ "omap4.dtsi" - -/ { - model = "TI OMAP4 SDP board"; - compatible = "ti,omap4-sdp", "ti,omap4430", "ti,omap4"; - - memory { - device_type = "memory"; - reg = <0x80000000 0x40000000>; /* 1 GB */ - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/omap4.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v1/omap4.dtsi deleted file mode 100644 index 3d35559e7..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/omap4.dtsi +++ /dev/null @@ -1,159 +0,0 @@ -/* - * Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/ - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. - */ - -/* - * Carveout for multimedia usecases - * It should be the last 48MB of the first 512MB memory part - * In theory, it should not even exist. That zone should be reserved - * dynamically during the .reserve callback. - */ -/memreserve/ 0x9d000000 0x03000000; - -/include/ "skeleton.dtsi" - -/ { - compatible = "ti,omap4430", "ti,omap4"; - interrupt-parent = <&gic>; - - aliases { - serial0 = &uart1; - serial1 = &uart2; - serial2 = &uart3; - serial3 = &uart4; - }; - - cpus { - cpu@0 { - compatible = "arm,cortex-a9"; - }; - cpu@1 { - compatible = "arm,cortex-a9"; - }; - }; - - /* - * The soc node represents the soc top level view. It is uses for IPs - * that are not memory mapped in the MPU view or for the MPU itself. - */ - soc { - compatible = "ti,omap-infra"; - mpu { - compatible = "ti,omap4-mpu"; - ti,hwmods = "mpu"; - }; - - dsp { - compatible = "ti,omap3-c64"; - ti,hwmods = "dsp"; - }; - - iva { - compatible = "ti,ivahd"; - ti,hwmods = "iva"; - }; - }; - - /* - * XXX: Use a flat representation of the OMAP4 interconnect. - * The real OMAP interconnect network is quite complex. - * - * MPU -+-- MPU_PRIVATE - GIC, L2 - * | - * +----------------+----------+ - * | | | - * + +- EMIF - DDR | - * | | | - * | + +--------+ - * | | | - * | +- L4_ABE - AESS, MCBSP, TIMERs... - * | | - * +- L3_MAIN --+- L4_CORE - IPs... - * | - * +- L4_PER - IPs... - * | - * +- L4_CFG -+- L4_WKUP - IPs... - * | | - * | +- IPs... - * +- IPU ----+ - * | | - * +- DSP ----+ - * | | - * +- DSS ----+ - * - * Since that will not bring real advantage to represent that in DT for - * the moment, just use a fake OCP bus entry to represent the whole bus - * hierarchy. - */ - ocp { - compatible = "ti,omap4-l3-noc", "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - ti,hwmods = "l3_main_1", "l3_main_2", "l3_main_3"; - - gic: interrupt-controller@48241000 { - compatible = "arm,cortex-a9-gic"; - interrupt-controller; - #interrupt-cells = <3>; - reg = <0x48241000 0x1000>, - <0x48240100 0x0100>; - }; - - uart1: serial@4806a000 { - compatible = "ti,omap4-uart"; - ti,hwmods = "uart1"; - clock-frequency = <48000000>; - }; - - uart2: serial@4806c000 { - compatible = "ti,omap4-uart"; - ti,hwmods = "uart2"; - clock-frequency = <48000000>; - }; - - uart3: serial@48020000 { - compatible = "ti,omap4-uart"; - ti,hwmods = "uart3"; - clock-frequency = <48000000>; - }; - - uart4: serial@4806e000 { - compatible = "ti,omap4-uart"; - ti,hwmods = "uart4"; - clock-frequency = <48000000>; - }; - - i2c1: i2c@48070000 { - compatible = "ti,omap4-i2c"; - #address-cells = <1>; - #size-cells = <0>; - ti,hwmods = "i2c1"; - }; - - i2c2: i2c@48072000 { - compatible = "ti,omap4-i2c"; - #address-cells = <1>; - #size-cells = <0>; - ti,hwmods = "i2c2"; - }; - - i2c3: i2c@48060000 { - compatible = "ti,omap4-i2c"; - #address-cells = <1>; - #size-cells = <0>; - ti,hwmods = "i2c3"; - }; - - i2c4: i2c@48350000 { - compatible = "ti,omap4-i2c"; - #address-cells = <1>; - #size-cells = <0>; - ti,hwmods = "i2c4"; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/picoxcell-pc3x2.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v1/picoxcell-pc3x2.dtsi deleted file mode 100644 index f0a8c2068..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/picoxcell-pc3x2.dtsi +++ /dev/null @@ -1,249 +0,0 @@ -/* - * Copyright (C) 2011 Picochip, Jamie Iles - * - * This software is licensed under the terms of the GNU General Public - * License version 2, as published by the Free Software Foundation, and - * may be copied, distributed, and modified under those terms. - * - * 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. - */ -/include/ "skeleton.dtsi" -/ { - model = "Picochip picoXcell PC3X2"; - compatible = "picochip,pc3x2"; - #address-cells = <1>; - #size-cells = <1>; - - cpus { - #address-cells = <1>; - #size-cells = <0>; - - cpu@0 { - compatible = "arm,1176jz-s"; - clock-frequency = <400000000>; - reg = <0>; - d-cache-line-size = <32>; - d-cache-size = <32768>; - i-cache-line-size = <32>; - i-cache-size = <32768>; - }; - }; - - clocks { - #address-cells = <1>; - #size-cells = <1>; - ranges; - - pclk: clock@0 { - compatible = "fixed-clock"; - clock-outputs = "bus", "pclk"; - clock-frequency = <200000000>; - ref-clock = <&ref_clk>, "ref"; - }; - }; - - paxi { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0 0x80000000 0x400000>; - - emac: gem@30000 { - compatible = "cadence,gem"; - reg = <0x30000 0x10000>; - interrupts = <31>; - }; - - dmac1: dmac@40000 { - compatible = "snps,dw-dmac"; - reg = <0x40000 0x10000>; - interrupts = <25>; - }; - - dmac2: dmac@50000 { - compatible = "snps,dw-dmac"; - reg = <0x50000 0x10000>; - interrupts = <26>; - }; - - vic0: interrupt-controller@60000 { - compatible = "arm,pl192-vic"; - interrupt-controller; - reg = <0x60000 0x1000>; - #interrupt-cells = <1>; - }; - - vic1: interrupt-controller@64000 { - compatible = "arm,pl192-vic"; - interrupt-controller; - reg = <0x64000 0x1000>; - #interrupt-cells = <1>; - }; - - fuse: picoxcell-fuse@80000 { - compatible = "picoxcell,fuse-pc3x2"; - reg = <0x80000 0x10000>; - }; - - ssi: picoxcell-spi@90000 { - compatible = "picoxcell,spi"; - reg = <0x90000 0x10000>; - interrupt-parent = <&vic0>; - interrupts = <10>; - }; - - ipsec: spacc@100000 { - compatible = "picochip,spacc-ipsec"; - reg = <0x100000 0x10000>; - interrupt-parent = <&vic0>; - interrupts = <24>; - ref-clock = <&pclk>, "ref"; - }; - - srtp: spacc@140000 { - compatible = "picochip,spacc-srtp"; - reg = <0x140000 0x10000>; - interrupt-parent = <&vic0>; - interrupts = <23>; - }; - - l2_engine: spacc@180000 { - compatible = "picochip,spacc-l2"; - reg = <0x180000 0x10000>; - interrupt-parent = <&vic0>; - interrupts = <22>; - ref-clock = <&pclk>, "ref"; - }; - - apb { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0 0x200000 0x80000>; - - rtc0: rtc@00000 { - compatible = "picochip,pc3x2-rtc"; - clock-freq = <200000000>; - reg = <0x00000 0xf>; - interrupt-parent = <&vic1>; - interrupts = <8>; - }; - - timer0: timer@10000 { - compatible = "picochip,pc3x2-timer"; - interrupt-parent = <&vic0>; - interrupts = <4>; - clock-freq = <200000000>; - reg = <0x10000 0x14>; - }; - - timer1: timer@10014 { - compatible = "picochip,pc3x2-timer"; - interrupt-parent = <&vic0>; - interrupts = <5>; - clock-freq = <200000000>; - reg = <0x10014 0x14>; - }; - - timer2: timer@10028 { - compatible = "picochip,pc3x2-timer"; - interrupt-parent = <&vic0>; - interrupts = <6>; - clock-freq = <200000000>; - reg = <0x10028 0x14>; - }; - - timer3: timer@1003c { - compatible = "picochip,pc3x2-timer"; - interrupt-parent = <&vic0>; - interrupts = <7>; - clock-freq = <200000000>; - reg = <0x1003c 0x14>; - }; - - gpio: gpio@20000 { - compatible = "snps,dw-apb-gpio"; - reg = <0x20000 0x1000>; - #address-cells = <1>; - #size-cells = <0>; - reg-io-width = <4>; - - banka: gpio-controller@0 { - compatible = "snps,dw-apb-gpio-bank"; - gpio-controller; - #gpio-cells = <2>; - gpio-generic,nr-gpio = <8>; - - regoffset-dat = <0x50>; - regoffset-set = <0x00>; - regoffset-dirout = <0x04>; - }; - - bankb: gpio-controller@1 { - compatible = "snps,dw-apb-gpio-bank"; - gpio-controller; - #gpio-cells = <2>; - gpio-generic,nr-gpio = <8>; - - regoffset-dat = <0x54>; - regoffset-set = <0x0c>; - regoffset-dirout = <0x10>; - }; - }; - - uart0: uart@30000 { - compatible = "snps,dw-apb-uart"; - reg = <0x30000 0x1000>; - interrupt-parent = <&vic1>; - interrupts = <10>; - clock-frequency = <3686400>; - reg-shift = <2>; - reg-io-width = <4>; - }; - - uart1: uart@40000 { - compatible = "snps,dw-apb-uart"; - reg = <0x40000 0x1000>; - interrupt-parent = <&vic1>; - interrupts = <9>; - clock-frequency = <3686400>; - reg-shift = <2>; - reg-io-width = <4>; - }; - - wdog: watchdog@50000 { - compatible = "snps,dw-apb-wdg"; - reg = <0x50000 0x10000>; - interrupt-parent = <&vic0>; - interrupts = <11>; - bus-clock = <&pclk>, "bus"; - }; - }; - }; - - rwid-axi { - #address-cells = <1>; - #size-cells = <1>; - compatible = "simple-bus"; - ranges; - - ebi@50000000 { - compatible = "simple-bus"; - #address-cells = <2>; - #size-cells = <1>; - ranges = <0 0 0x40000000 0x08000000 - 1 0 0x48000000 0x08000000 - 2 0 0x50000000 0x08000000 - 3 0 0x58000000 0x08000000>; - }; - - axi2pico@c0000000 { - compatible = "picochip,axi2pico-pc3x2"; - reg = <0xc0000000 0x10000>; - interrupts = <13 14 15 16 17 18 19 20 21>; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/picoxcell-pc3x3.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v1/picoxcell-pc3x3.dtsi deleted file mode 100644 index daa962d19..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/picoxcell-pc3x3.dtsi +++ /dev/null @@ -1,365 +0,0 @@ -/* - * Copyright (C) 2011 Picochip, Jamie Iles - * - * This software is licensed under the terms of the GNU General Public - * License version 2, as published by the Free Software Foundation, and - * may be copied, distributed, and modified under those terms. - * - * 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. - */ -/include/ "skeleton.dtsi" -/ { - model = "Picochip picoXcell PC3X3"; - compatible = "picochip,pc3x3"; - #address-cells = <1>; - #size-cells = <1>; - - cpus { - #address-cells = <1>; - #size-cells = <0>; - - cpu@0 { - compatible = "arm,1176jz-s"; - cpu-clock = <&arm_clk>, "cpu"; - reg = <0>; - d-cache-line-size = <32>; - d-cache-size = <32768>; - i-cache-line-size = <32>; - i-cache-size = <32768>; - }; - }; - - clocks { - #address-cells = <1>; - #size-cells = <1>; - ranges; - - clkgate: clkgate@800a0048 { - #address-cells = <1>; - #size-cells = <0>; - reg = <0x800a0048 4>; - compatible = "picochip,pc3x3-clk-gate"; - - tzprot_clk: clock@0 { - compatible = "picochip,pc3x3-gated-clk"; - clock-outputs = "bus"; - picochip,clk-disable-bit = <0>; - clock-frequency = <200000000>; - ref-clock = <&ref_clk>, "ref"; - }; - - spi_clk: clock@1 { - compatible = "picochip,pc3x3-gated-clk"; - clock-outputs = "bus"; - picochip,clk-disable-bit = <1>; - clock-frequency = <200000000>; - ref-clock = <&ref_clk>, "ref"; - }; - - dmac0_clk: clock@2 { - compatible = "picochip,pc3x3-gated-clk"; - clock-outputs = "bus"; - picochip,clk-disable-bit = <2>; - clock-frequency = <200000000>; - ref-clock = <&ref_clk>, "ref"; - }; - - dmac1_clk: clock@3 { - compatible = "picochip,pc3x3-gated-clk"; - clock-outputs = "bus"; - picochip,clk-disable-bit = <3>; - clock-frequency = <200000000>; - ref-clock = <&ref_clk>, "ref"; - }; - - ebi_clk: clock@4 { - compatible = "picochip,pc3x3-gated-clk"; - clock-outputs = "bus"; - picochip,clk-disable-bit = <4>; - clock-frequency = <200000000>; - ref-clock = <&ref_clk>, "ref"; - }; - - ipsec_clk: clock@5 { - compatible = "picochip,pc3x3-gated-clk"; - clock-outputs = "bus"; - picochip,clk-disable-bit = <5>; - clock-frequency = <200000000>; - ref-clock = <&ref_clk>, "ref"; - }; - - l2_clk: clock@6 { - compatible = "picochip,pc3x3-gated-clk"; - clock-outputs = "bus"; - picochip,clk-disable-bit = <6>; - clock-frequency = <200000000>; - ref-clock = <&ref_clk>, "ref"; - }; - - trng_clk: clock@7 { - compatible = "picochip,pc3x3-gated-clk"; - clock-outputs = "bus"; - picochip,clk-disable-bit = <7>; - clock-frequency = <200000000>; - ref-clock = <&ref_clk>, "ref"; - }; - - fuse_clk: clock@8 { - compatible = "picochip,pc3x3-gated-clk"; - clock-outputs = "bus"; - picochip,clk-disable-bit = <8>; - clock-frequency = <200000000>; - ref-clock = <&ref_clk>, "ref"; - }; - - otp_clk: clock@9 { - compatible = "picochip,pc3x3-gated-clk"; - clock-outputs = "bus"; - picochip,clk-disable-bit = <9>; - clock-frequency = <200000000>; - ref-clock = <&ref_clk>, "ref"; - }; - }; - - arm_clk: clock@11 { - compatible = "picochip,pc3x3-pll"; - reg = <0x800a0050 0x8>; - picochip,min-freq = <140000000>; - picochip,max-freq = <700000000>; - ref-clock = <&ref_clk>, "ref"; - clock-outputs = "cpu"; - }; - - pclk: clock@12 { - compatible = "fixed-clock"; - clock-outputs = "bus", "pclk"; - clock-frequency = <200000000>; - ref-clock = <&ref_clk>, "ref"; - }; - }; - - paxi { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0 0x80000000 0x400000>; - - emac: gem@30000 { - compatible = "cadence,gem"; - reg = <0x30000 0x10000>; - interrupt-parent = <&vic0>; - interrupts = <31>; - }; - - dmac1: dmac@40000 { - compatible = "snps,dw-dmac"; - reg = <0x40000 0x10000>; - interrupt-parent = <&vic0>; - interrupts = <25>; - }; - - dmac2: dmac@50000 { - compatible = "snps,dw-dmac"; - reg = <0x50000 0x10000>; - interrupt-parent = <&vic0>; - interrupts = <26>; - }; - - vic0: interrupt-controller@60000 { - compatible = "arm,pl192-vic"; - interrupt-controller; - reg = <0x60000 0x1000>; - #interrupt-cells = <1>; - }; - - vic1: interrupt-controller@64000 { - compatible = "arm,pl192-vic"; - interrupt-controller; - reg = <0x64000 0x1000>; - #interrupt-cells = <1>; - }; - - fuse: picoxcell-fuse@80000 { - compatible = "picoxcell,fuse-pc3x3"; - reg = <0x80000 0x10000>; - }; - - ssi: picoxcell-spi@90000 { - compatible = "picoxcell,spi"; - reg = <0x90000 0x10000>; - interrupt-parent = <&vic0>; - interrupts = <10>; - }; - - ipsec: spacc@100000 { - compatible = "picochip,spacc-ipsec"; - reg = <0x100000 0x10000>; - interrupt-parent = <&vic0>; - interrupts = <24>; - ref-clock = <&ipsec_clk>, "ref"; - }; - - srtp: spacc@140000 { - compatible = "picochip,spacc-srtp"; - reg = <0x140000 0x10000>; - interrupt-parent = <&vic0>; - interrupts = <23>; - }; - - l2_engine: spacc@180000 { - compatible = "picochip,spacc-l2"; - reg = <0x180000 0x10000>; - interrupt-parent = <&vic0>; - interrupts = <22>; - ref-clock = <&l2_clk>, "ref"; - }; - - apb { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0 0x200000 0x80000>; - - rtc0: rtc@00000 { - compatible = "picochip,pc3x2-rtc"; - clock-freq = <200000000>; - reg = <0x00000 0xf>; - interrupt-parent = <&vic0>; - interrupts = <8>; - }; - - timer0: timer@10000 { - compatible = "picochip,pc3x2-timer"; - interrupt-parent = <&vic0>; - interrupts = <4>; - clock-freq = <200000000>; - reg = <0x10000 0x14>; - }; - - timer1: timer@10014 { - compatible = "picochip,pc3x2-timer"; - interrupt-parent = <&vic0>; - interrupts = <5>; - clock-freq = <200000000>; - reg = <0x10014 0x14>; - }; - - gpio: gpio@20000 { - compatible = "snps,dw-apb-gpio"; - reg = <0x20000 0x1000>; - #address-cells = <1>; - #size-cells = <0>; - reg-io-width = <4>; - - banka: gpio-controller@0 { - compatible = "snps,dw-apb-gpio-bank"; - gpio-controller; - #gpio-cells = <2>; - gpio-generic,nr-gpio = <8>; - - regoffset-dat = <0x50>; - regoffset-set = <0x00>; - regoffset-dirout = <0x04>; - }; - - bankb: gpio-controller@1 { - compatible = "snps,dw-apb-gpio-bank"; - gpio-controller; - #gpio-cells = <2>; - gpio-generic,nr-gpio = <16>; - - regoffset-dat = <0x54>; - regoffset-set = <0x0c>; - regoffset-dirout = <0x10>; - }; - - bankd: gpio-controller@2 { - compatible = "snps,dw-apb-gpio-bank"; - gpio-controller; - #gpio-cells = <2>; - gpio-generic,nr-gpio = <30>; - - regoffset-dat = <0x5c>; - regoffset-set = <0x24>; - regoffset-dirout = <0x28>; - }; - }; - - uart0: uart@30000 { - compatible = "snps,dw-apb-uart"; - reg = <0x30000 0x1000>; - interrupt-parent = <&vic1>; - interrupts = <10>; - clock-frequency = <3686400>; - reg-shift = <2>; - reg-io-width = <4>; - }; - - uart1: uart@40000 { - compatible = "snps,dw-apb-uart"; - reg = <0x40000 0x1000>; - interrupt-parent = <&vic1>; - interrupts = <9>; - clock-frequency = <3686400>; - reg-shift = <2>; - reg-io-width = <4>; - }; - - wdog: watchdog@50000 { - compatible = "snps,dw-apb-wdg"; - reg = <0x50000 0x10000>; - interrupt-parent = <&vic0>; - interrupts = <11>; - bus-clock = <&pclk>, "bus"; - }; - - timer2: timer@60000 { - compatible = "picochip,pc3x2-timer"; - interrupt-parent = <&vic0>; - interrupts = <6>; - clock-freq = <200000000>; - reg = <0x60000 0x14>; - }; - - timer3: timer@60014 { - compatible = "picochip,pc3x2-timer"; - interrupt-parent = <&vic0>; - interrupts = <7>; - clock-freq = <200000000>; - reg = <0x60014 0x14>; - }; - }; - }; - - rwid-axi { - #address-cells = <1>; - #size-cells = <1>; - compatible = "simple-bus"; - ranges; - - ebi@50000000 { - compatible = "simple-bus"; - #address-cells = <2>; - #size-cells = <1>; - ranges = <0 0 0x40000000 0x08000000 - 1 0 0x48000000 0x08000000 - 2 0 0x50000000 0x08000000 - 3 0 0x58000000 0x08000000>; - }; - - axi2pico@c0000000 { - compatible = "picochip,axi2pico-pc3x3"; - reg = <0xc0000000 0x10000>; - interrupt-parent = <&vic0>; - interrupts = <13 14 15 16 17 18 19 20 21>; - }; - - otp@ffff8000 { - compatible = "picochip,otp-pc3x3"; - reg = <0xffff8000 0x8000>; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/picoxcell-pc7302-pc3x2.dts b/kernel/arch/arm/boot/dts/m7350-un-v1/picoxcell-pc7302-pc3x2.dts deleted file mode 100644 index 1297414dd..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/picoxcell-pc7302-pc3x2.dts +++ /dev/null @@ -1,86 +0,0 @@ -/* - * Copyright (C) 2011 Picochip, Jamie Iles - * - * This software is licensed under the terms of the GNU General Public - * License version 2, as published by the Free Software Foundation, and - * may be copied, distributed, and modified under those terms. - * - * 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. - */ - -/dts-v1/; -/include/ "picoxcell-pc3x2.dtsi" -/ { - model = "Picochip PC7302 (PC3X2)"; - compatible = "picochip,pc7302-pc3x2", "picochip,pc3x2"; - - memory { - device_type = "memory"; - reg = <0x0 0x08000000>; - }; - - chosen { - linux,stdout-path = &uart0; - }; - - clocks { - ref_clk: clock@1 { - compatible = "fixed-clock"; - clock-outputs = "ref"; - clock-frequency = <20000000>; - }; - }; - - rwid-axi { - ebi@50000000 { - nand: gpio-nand@2,0 { - compatible = "gpio-control-nand"; - #address-cells = <1>; - #size-cells = <1>; - reg = <2 0x0000 0x1000>; - bus-clock = <&pclk>, "bus"; - gpio-control-nand,io-sync-reg = - <0x00000000 0x80220000>; - - gpios = <&banka 1 0 /* rdy */ - &banka 2 0 /* nce */ - &banka 3 0 /* ale */ - &banka 4 0 /* cle */ - 0 /* nwp */>; - - boot@100000 { - label = "Boot"; - reg = <0x100000 0x80000>; - }; - - redundant-boot@200000 { - label = "Redundant Boot"; - reg = <0x200000 0x80000>; - }; - - boot-env@300000 { - label = "Boot Evironment"; - reg = <0x300000 0x20000>; - }; - - redundant-boot-env@320000 { - label = "Redundant Boot Environment"; - reg = <0x300000 0x20000>; - }; - - kernel@380000 { - label = "Kernel"; - reg = <0x380000 0x800000>; - }; - - fs@b80000 { - label = "File System"; - reg = <0xb80000 0xf480000>; - }; - }; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/picoxcell-pc7302-pc3x3.dts b/kernel/arch/arm/boot/dts/m7350-un-v1/picoxcell-pc7302-pc3x3.dts deleted file mode 100644 index 9e317a4f4..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/picoxcell-pc7302-pc3x3.dts +++ /dev/null @@ -1,92 +0,0 @@ -/* - * Copyright (C) 2011 Picochip, Jamie Iles - * - * This software is licensed under the terms of the GNU General Public - * License version 2, as published by the Free Software Foundation, and - * may be copied, distributed, and modified under those terms. - * - * 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. - */ - -/dts-v1/; -/include/ "picoxcell-pc3x3.dtsi" -/ { - model = "Picochip PC7302 (PC3X3)"; - compatible = "picochip,pc7302-pc3x3", "picochip,pc3x3"; - - memory { - device_type = "memory"; - reg = <0x0 0x08000000>; - }; - - chosen { - linux,stdout-path = &uart0; - }; - - clocks { - ref_clk: clock@10 { - compatible = "fixed-clock"; - clock-outputs = "ref"; - clock-frequency = <20000000>; - }; - - clkgate: clkgate@800a0048 { - clock@4 { - picochip,clk-no-disable; - }; - }; - }; - - rwid-axi { - ebi@50000000 { - nand: gpio-nand@2,0 { - compatible = "gpio-control-nand"; - #address-cells = <1>; - #size-cells = <1>; - reg = <2 0x0000 0x1000>; - bus-clock = <&ebi_clk>, "bus"; - gpio-control-nand,io-sync-reg = - <0x00000000 0x80220000>; - - gpios = <&banka 1 0 /* rdy */ - &banka 2 0 /* nce */ - &banka 3 0 /* ale */ - &banka 4 0 /* cle */ - 0 /* nwp */>; - - boot@100000 { - label = "Boot"; - reg = <0x100000 0x80000>; - }; - - redundant-boot@200000 { - label = "Redundant Boot"; - reg = <0x200000 0x80000>; - }; - - boot-env@300000 { - label = "Boot Evironment"; - reg = <0x300000 0x20000>; - }; - - redundant-boot-env@320000 { - label = "Redundant Boot Environment"; - reg = <0x300000 0x20000>; - }; - - kernel@380000 { - label = "Kernel"; - reg = <0x380000 0x800000>; - }; - - fs@b80000 { - label = "File System"; - reg = <0xb80000 0xf480000>; - }; - }; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/prima2-cb.dts b/kernel/arch/arm/boot/dts/m7350-un-v1/prima2-cb.dts deleted file mode 100644 index 34ae3a64b..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/prima2-cb.dts +++ /dev/null @@ -1,424 +0,0 @@ -/dts-v1/; -/ { - model = "SiRF Prima2 eVB"; - compatible = "sirf,prima2-cb", "sirf,prima2"; - #address-cells = <1>; - #size-cells = <1>; - interrupt-parent = <&intc>; - - memory { - reg = <0x00000000 0x20000000>; - }; - - chosen { - bootargs = "mem=512M real_root=/dev/mmcblk0p2 console=ttyS0 panel=1 bootsplash=true bpp=16 androidboot.console=ttyS1"; - linux,stdout-path = &uart1; - }; - - cpus { - #address-cells = <1>; - #size-cells = <0>; - - cpu@0 { - reg = <0x0>; - d-cache-line-size = <32>; - i-cache-line-size = <32>; - d-cache-size = <32768>; - i-cache-size = <32768>; - /* from bootloader */ - timebase-frequency = <0>; - bus-frequency = <0>; - clock-frequency = <0>; - }; - }; - - axi { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0x40000000 0x40000000 0x80000000>; - - l2-cache-controller@80040000 { - compatible = "arm,pl310-cache", "sirf,prima2-pl310-cache"; - reg = <0x80040000 0x1000>; - interrupts = <59>; - arm,tag-latency = <1 1 1>; - arm,data-latency = <1 1 1>; - arm,filter-ranges = <0 0x40000000>; - }; - - intc: interrupt-controller@80020000 { - #interrupt-cells = <1>; - interrupt-controller; - compatible = "sirf,prima2-intc"; - reg = <0x80020000 0x1000>; - }; - - sys-iobg { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0x88000000 0x88000000 0x40000>; - - clock-controller@88000000 { - compatible = "sirf,prima2-clkc"; - reg = <0x88000000 0x1000>; - interrupts = <3>; - }; - - reset-controller@88010000 { - compatible = "sirf,prima2-rstc"; - reg = <0x88010000 0x1000>; - }; - - rsc-controller@88020000 { - compatible = "sirf,prima2-rsc"; - reg = <0x88020000 0x1000>; - }; - }; - - mem-iobg { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0x90000000 0x90000000 0x10000>; - - memory-controller@90000000 { - compatible = "sirf,prima2-memc"; - reg = <0x90000000 0x10000>; - interrupts = <27>; - }; - }; - - disp-iobg { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0x90010000 0x90010000 0x30000>; - - display@90010000 { - compatible = "sirf,prima2-lcd"; - reg = <0x90010000 0x20000>; - interrupts = <30>; - }; - - vpp@90020000 { - compatible = "sirf,prima2-vpp"; - reg = <0x90020000 0x10000>; - interrupts = <31>; - }; - }; - - graphics-iobg { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0x98000000 0x98000000 0x8000000>; - - graphics@98000000 { - compatible = "powervr,sgx531"; - reg = <0x98000000 0x8000000>; - interrupts = <6>; - }; - }; - - multimedia-iobg { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0xa0000000 0xa0000000 0x8000000>; - - multimedia@a0000000 { - compatible = "sirf,prima2-video-codec"; - reg = <0xa0000000 0x8000000>; - interrupts = <5>; - }; - }; - - dsp-iobg { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0xa8000000 0xa8000000 0x2000000>; - - dspif@a8000000 { - compatible = "sirf,prima2-dspif"; - reg = <0xa8000000 0x10000>; - interrupts = <9>; - }; - - gps@a8010000 { - compatible = "sirf,prima2-gps"; - reg = <0xa8010000 0x10000>; - interrupts = <7>; - }; - - dsp@a9000000 { - compatible = "sirf,prima2-dsp"; - reg = <0xa9000000 0x1000000>; - interrupts = <8>; - }; - }; - - peri-iobg { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0xb0000000 0xb0000000 0x180000>; - - timer@b0020000 { - compatible = "sirf,prima2-tick"; - reg = <0xb0020000 0x1000>; - interrupts = <0>; - }; - - nand@b0030000 { - compatible = "sirf,prima2-nand"; - reg = <0xb0030000 0x10000>; - interrupts = <41>; - }; - - audio@b0040000 { - compatible = "sirf,prima2-audio"; - reg = <0xb0040000 0x10000>; - interrupts = <35>; - }; - - uart0: uart@b0050000 { - cell-index = <0>; - compatible = "sirf,prima2-uart"; - reg = <0xb0050000 0x10000>; - interrupts = <17>; - }; - - uart1: uart@b0060000 { - cell-index = <1>; - compatible = "sirf,prima2-uart"; - reg = <0xb0060000 0x10000>; - interrupts = <18>; - }; - - uart2: uart@b0070000 { - cell-index = <2>; - compatible = "sirf,prima2-uart"; - reg = <0xb0070000 0x10000>; - interrupts = <19>; - }; - - usp0: usp@b0080000 { - cell-index = <0>; - compatible = "sirf,prima2-usp"; - reg = <0xb0080000 0x10000>; - interrupts = <20>; - }; - - usp1: usp@b0090000 { - cell-index = <1>; - compatible = "sirf,prima2-usp"; - reg = <0xb0090000 0x10000>; - interrupts = <21>; - }; - - usp2: usp@b00a0000 { - cell-index = <2>; - compatible = "sirf,prima2-usp"; - reg = <0xb00a0000 0x10000>; - interrupts = <22>; - }; - - dmac0: dma-controller@b00b0000 { - cell-index = <0>; - compatible = "sirf,prima2-dmac"; - reg = <0xb00b0000 0x10000>; - interrupts = <12>; - }; - - dmac1: dma-controller@b0160000 { - cell-index = <1>; - compatible = "sirf,prima2-dmac"; - reg = <0xb0160000 0x10000>; - interrupts = <13>; - }; - - vip@b00C0000 { - compatible = "sirf,prima2-vip"; - reg = <0xb00C0000 0x10000>; - }; - - spi0: spi@b00d0000 { - cell-index = <0>; - compatible = "sirf,prima2-spi"; - reg = <0xb00d0000 0x10000>; - interrupts = <15>; - }; - - spi1: spi@b0170000 { - cell-index = <1>; - compatible = "sirf,prima2-spi"; - reg = <0xb0170000 0x10000>; - interrupts = <16>; - }; - - i2c0: i2c@b00e0000 { - cell-index = <0>; - compatible = "sirf,prima2-i2c"; - reg = <0xb00e0000 0x10000>; - interrupts = <24>; - }; - - i2c1: i2c@b00f0000 { - cell-index = <1>; - compatible = "sirf,prima2-i2c"; - reg = <0xb00f0000 0x10000>; - interrupts = <25>; - }; - - tsc@b0110000 { - compatible = "sirf,prima2-tsc"; - reg = <0xb0110000 0x10000>; - interrupts = <33>; - }; - - gpio: gpio-controller@b0120000 { - #gpio-cells = <2>; - #interrupt-cells = <2>; - compatible = "sirf,prima2-gpio-pinmux"; - reg = <0xb0120000 0x10000>; - gpio-controller; - interrupt-controller; - }; - - pwm@b0130000 { - compatible = "sirf,prima2-pwm"; - reg = <0xb0130000 0x10000>; - }; - - efusesys@b0140000 { - compatible = "sirf,prima2-efuse"; - reg = <0xb0140000 0x10000>; - }; - - pulsec@b0150000 { - compatible = "sirf,prima2-pulsec"; - reg = <0xb0150000 0x10000>; - interrupts = <48>; - }; - - pci-iobg { - compatible = "sirf,prima2-pciiobg", "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0x56000000 0x56000000 0x1b00000>; - - sd0: sdhci@56000000 { - cell-index = <0>; - compatible = "sirf,prima2-sdhc"; - reg = <0x56000000 0x100000>; - interrupts = <38>; - }; - - sd1: sdhci@56100000 { - cell-index = <1>; - compatible = "sirf,prima2-sdhc"; - reg = <0x56100000 0x100000>; - interrupts = <38>; - }; - - sd2: sdhci@56200000 { - cell-index = <2>; - compatible = "sirf,prima2-sdhc"; - reg = <0x56200000 0x100000>; - interrupts = <23>; - }; - - sd3: sdhci@56300000 { - cell-index = <3>; - compatible = "sirf,prima2-sdhc"; - reg = <0x56300000 0x100000>; - interrupts = <23>; - }; - - sd4: sdhci@56400000 { - cell-index = <4>; - compatible = "sirf,prima2-sdhc"; - reg = <0x56400000 0x100000>; - interrupts = <39>; - }; - - sd5: sdhci@56500000 { - cell-index = <5>; - compatible = "sirf,prima2-sdhc"; - reg = <0x56500000 0x100000>; - interrupts = <39>; - }; - - pci-copy@57900000 { - compatible = "sirf,prima2-pcicp"; - reg = <0x57900000 0x100000>; - interrupts = <40>; - }; - - rom-interface@57a00000 { - compatible = "sirf,prima2-romif"; - reg = <0x57a00000 0x100000>; - }; - }; - }; - - rtc-iobg { - compatible = "sirf,prima2-rtciobg", "sirf-prima2-rtciobg-bus"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0x80030000 0x10000>; - - gpsrtc@1000 { - compatible = "sirf,prima2-gpsrtc"; - reg = <0x1000 0x1000>; - interrupts = <55 56 57>; - }; - - sysrtc@2000 { - compatible = "sirf,prima2-sysrtc"; - reg = <0x2000 0x1000>; - interrupts = <52 53 54>; - }; - - pwrc@3000 { - compatible = "sirf,prima2-pwrc"; - reg = <0x3000 0x1000>; - interrupts = <32>; - }; - }; - - uus-iobg { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0xb8000000 0xb8000000 0x40000>; - - usb0: usb@b00e0000 { - compatible = "chipidea,ci13611a-prima2"; - reg = <0xb8000000 0x10000>; - interrupts = <10>; - }; - - usb1: usb@b00f0000 { - compatible = "chipidea,ci13611a-prima2"; - reg = <0xb8010000 0x10000>; - interrupts = <11>; - }; - - sata@b00f0000 { - compatible = "synopsys,dwc-ahsata"; - reg = <0xb8020000 0x10000>; - interrupts = <37>; - }; - - security@b00f0000 { - compatible = "sirf,prima2-security"; - reg = <0xb8030000 0x10000>; - interrupts = <42>; - }; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/pxa168-aspenite.dts b/kernel/arch/arm/boot/dts/m7350-un-v1/pxa168-aspenite.dts deleted file mode 100644 index e762facb3..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/pxa168-aspenite.dts +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright (C) 2012 Marvell Technology Group Ltd. - * Author: Haojian Zhuang - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * publishhed by the Free Software Foundation. - */ - -/dts-v1/; -/include/ "pxa168.dtsi" - -/ { - model = "Marvell PXA168 Aspenite Development Board"; - compatible = "mrvl,pxa168-aspenite", "mrvl,pxa168"; - - chosen { - bootargs = "console=ttyS0,115200 root=/dev/nfs nfsroot=192.168.1.100:/nfsroot/ ip=192.168.1.101:192.168.1.100::255.255.255.0::eth0:on"; - }; - - memory { - reg = <0x00000000 0x04000000>; - }; - - soc { - apb@d4000000 { - uart1: uart@d4017000 { - status = "okay"; - }; - twsi1: i2c@d4011000 { - status = "okay"; - }; - rtc: rtc@d4010000 { - status = "okay"; - }; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/pxa168.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v1/pxa168.dtsi deleted file mode 100644 index d32d5128f..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/pxa168.dtsi +++ /dev/null @@ -1,98 +0,0 @@ -/* - * Copyright (C) 2012 Marvell Technology Group Ltd. - * Author: Haojian Zhuang - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * publishhed by the Free Software Foundation. - */ - -/include/ "skeleton.dtsi" - -/ { - aliases { - serial0 = &uart1; - serial1 = &uart2; - serial2 = &uart3; - i2c0 = &twsi1; - i2c1 = &twsi2; - }; - - intc: intc-interrupt-controller@d4282000 { - compatible = "mrvl,mmp-intc", "mrvl,intc"; - interrupt-controller; - #interrupt-cells = <1>; - reg = <0xd4282000 0x1000>; - }; - - soc { - #address-cells = <1>; - #size-cells = <1>; - compatible = "simple-bus"; - interrupt-parent = <&intc>; - ranges; - - apb@d4000000 { /* APB */ - compatible = "mrvl,apb-bus", "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xd4000000 0x00200000>; - ranges; - - uart1: uart@d4017000 { - compatible = "mrvl,mmp-uart", "mrvl,pxa-uart"; - reg = <0xd4017000 0x1000>; - interrupts = <27>; - status = "disabled"; - }; - - uart2: uart@d4018000 { - compatible = "mrvl,mmp-uart", "mrvl,pxa-uart"; - reg = <0xd4018000 0x1000>; - interrupts = <28>; - status = "disabled"; - }; - - uart3: uart@d4026000 { - compatible = "mrvl,mmp-uart", "mrvl,pxa-uart"; - reg = <0xd4026000 0x1000>; - interrupts = <29>; - status = "disabled"; - }; - - gpio: gpio@d4019000 { - compatible = "mrvl,mmp-gpio", "mrvl,pxa-gpio"; - reg = <0xd4019000 0x1000>; - interrupts = <49>; - interrupt-names = "gpio_mux"; - gpio-controller; - #gpio-cells = <1>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - twsi1: i2c@d4011000 { - compatible = "mrvl,mmp-twsi", "mrvl,pxa-i2c"; - reg = <0xd4011000 0x1000>; - interrupts = <7>; - mrvl,i2c-fast-mode; - status = "disabled"; - }; - - twsi2: i2c@d4025000 { - compatible = "mrvl,mmp-twsi", "mrvl,pxa-i2c"; - reg = <0xd4025000 0x1000>; - interrupts = <58>; - status = "disabled"; - }; - - rtc: rtc@d4010000 { - compatible = "mrvl,mmp-rtc"; - reg = <0xd4010000 0x1000>; - interrupts = <5 6>; - interrupt-names = "rtc 1Hz", "rtc alarm"; - status = "disabled"; - }; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/qpic-panel-ili-qvga.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v1/qpic-panel-ili-qvga.dtsi deleted file mode 100644 index 089f1125d..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/qpic-panel-ili-qvga.dtsi +++ /dev/null @@ -1,27 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -&soc { - qcom,mdss_lcdc_ili9341_qvga { - compatible = "qcom,mdss-qpic-panel"; - label = "ili qvga lcdc panel"; - vdd-supply = <&pm8019_l11>; - avdd-supply = <&pm8019_l14>; - qcom,cs-gpio = <&msmgpio 21 0>; - qcom,te-gpio = <&msmgpio 22 0>; - qcom,rst-gpio = <&msmgpio 23 0>; - qcom,ad8-gpio = <&msmgpio 20 0>; - qcom,mdss-pan-res = <240 320>; - qcom,mdss-pan-bpp = <18>; - qcom,refresh_rate = <60>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/skeleton.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v1/skeleton.dtsi deleted file mode 100644 index f9988cd78..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/skeleton.dtsi +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Skeleton device tree; the bare minimum needed to boot; just include and - * add a compatible value. The bootloader will typically populate the memory - * node. - */ - -/ { - #address-cells = <1>; - #size-cells = <1>; - chosen { }; - aliases { }; - memory { - #address-cells = <1>; - #size-cells = <1>; - device_type = "memory"; - reg = <0 0>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/skeleton64.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v1/skeleton64.dtsi deleted file mode 100644 index 5bf6a82f0..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/skeleton64.dtsi +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Skeleton device tree; the bare minimum needed to boot; just include and - * add a compatible value. The bootloader will typically populate the memory - * node. - */ - -/ { - #address-cells = <2>; - #size-cells = <2>; - chosen { }; - aliases { }; - memory { - #address-cells = <2>; - #size-cells = <2>; - device_type = "memory"; - reg = <0 0 0 0>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/snowball.dts b/kernel/arch/arm/boot/dts/m7350-un-v1/snowball.dts deleted file mode 100644 index 359c6d679..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/snowball.dts +++ /dev/null @@ -1,139 +0,0 @@ -/* - * Copyright 2011 ST-Ericsson AB - * - * The code contained herein is licensed under the GNU General Public - * License. You may obtain a copy of the GNU General Public License - * Version 2 or later at the following locations: - * - * http://www.opensource.org/licenses/gpl-license.html - * http://www.gnu.org/copyleft/gpl.html - */ - -/dts-v1/; -/include/ "db8500.dtsi" - -/ { - model = "Calao Systems Snowball platform with device tree"; - compatible = "calaosystems,snowball-a9500"; - - memory { - reg = <0x00000000 0x20000000>; - }; - - gpio_keys { - compatible = "gpio-keys"; - #address-cells = <1>; - #size-cells = <0>; - - button@1 { - debounce_interval = <50>; - wakeup = <1>; - linux,code = <2>; - label = "userpb"; - gpios = <&gpio1 0>; - }; - button@2 { - debounce_interval = <50>; - wakeup = <1>; - linux,code = <3>; - label = "userpb"; - gpios = <&gpio4 23>; - }; - button@3 { - debounce_interval = <50>; - wakeup = <1>; - linux,code = <4>; - label = "userpb"; - gpios = <&gpio4 23>; - }; - button@4 { - debounce_interval = <50>; - wakeup = <1>; - linux,code = <5>; - label = "userpb"; - gpios = <&gpio5 1>; - }; - button@5 { - debounce_interval = <50>; - wakeup = <1>; - linux,code = <6>; - label = "userpb"; - gpios = <&gpio5 2>; - }; - }; - - leds { - compatible = "gpio-leds"; - used-led { - label = "user_led"; - gpios = <&gpio4 14>; - }; - }; - - soc-u9500 { - - external-bus@50000000 { - compatible = "simple-bus"; - reg = <0x50000000 0x10000000>; - #address-cells = <1>; - #size-cells = <1>; - ranges; - - ethernet@50000000 { - compatible = "smsc,9111"; - reg = <0x50000000 0x10000>; - interrupts = <12>; - interrupt-parent = <&gpio4>; - }; - }; - - sdi@80126000 { - status = "enabled"; - cd-gpios = <&gpio6 26>; - }; - - sdi@80114000 { - status = "enabled"; - }; - - uart@80120000 { - status = "okay"; - }; - - uart@80121000 { - status = "okay"; - }; - - uart@80007000 { - status = "okay"; - }; - - i2c@80004000 { - tc3589x@42 { - //compatible = "tc3589x"; - reg = <0x42>; - interrupts = <25>; - interrupt-parent = <&gpio6>; - }; - tps61052@33 { - //compatible = "tps61052"; - reg = <0x33>; - }; - }; - - i2c@80128000 { - lp5521@0x33 { - // compatible = "lp5521"; - reg = <0x33>; - }; - lp5521@0x34 { - // compatible = "lp5521"; - reg = <0x34>; - }; - bh1780@0x29 { - // compatible = "rohm,bh1780gli"; - reg = <0x33>; - }; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/spear600-evb.dts b/kernel/arch/arm/boot/dts/m7350-un-v1/spear600-evb.dts deleted file mode 100644 index 636292e18..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/spear600-evb.dts +++ /dev/null @@ -1,47 +0,0 @@ -/* - * Copyright 2012 Stefan Roese - * - * The code contained herein is licensed under the GNU General Public - * License. You may obtain a copy of the GNU General Public License - * Version 2 or later at the following locations: - * - * http://www.opensource.org/licenses/gpl-license.html - * http://www.gnu.org/copyleft/gpl.html - */ - -/dts-v1/; -/include/ "spear600.dtsi" - -/ { - model = "ST SPEAr600 Evaluation Board"; - compatible = "st,spear600-evb", "st,spear600"; - #address-cells = <1>; - #size-cells = <1>; - - memory { - device_type = "memory"; - reg = <0 0x10000000>; - }; - - ahb { - gmac: ethernet@e0800000 { - phy-mode = "gmii"; - status = "okay"; - }; - - apb { - serial@d0000000 { - status = "okay"; - }; - - serial@d0080000 { - status = "okay"; - }; - - i2c@d0200000 { - clock-frequency = <400000>; - status = "okay"; - }; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/spear600.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v1/spear600.dtsi deleted file mode 100644 index ebe0885a2..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/spear600.dtsi +++ /dev/null @@ -1,174 +0,0 @@ -/* - * Copyright 2012 Stefan Roese - * - * The code contained herein is licensed under the GNU General Public - * License. You may obtain a copy of the GNU General Public License - * Version 2 or later at the following locations: - * - * http://www.opensource.org/licenses/gpl-license.html - * http://www.gnu.org/copyleft/gpl.html - */ - -/include/ "skeleton.dtsi" - -/ { - compatible = "st,spear600"; - - cpus { - cpu@0 { - compatible = "arm,arm926ejs"; - }; - }; - - memory { - device_type = "memory"; - reg = <0 0x40000000>; - }; - - ahb { - #address-cells = <1>; - #size-cells = <1>; - compatible = "simple-bus"; - ranges = <0xd0000000 0xd0000000 0x30000000>; - - vic0: interrupt-controller@f1100000 { - compatible = "arm,pl190-vic"; - interrupt-controller; - reg = <0xf1100000 0x1000>; - #interrupt-cells = <1>; - }; - - vic1: interrupt-controller@f1000000 { - compatible = "arm,pl190-vic"; - interrupt-controller; - reg = <0xf1000000 0x1000>; - #interrupt-cells = <1>; - }; - - gmac: ethernet@e0800000 { - compatible = "st,spear600-gmac"; - reg = <0xe0800000 0x8000>; - interrupt-parent = <&vic1>; - interrupts = <24 23>; - interrupt-names = "macirq", "eth_wake_irq"; - status = "disabled"; - }; - - fsmc: flash@d1800000 { - compatible = "st,spear600-fsmc-nand"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xd1800000 0x1000 /* FSMC Register */ - 0xd2000000 0x4000>; /* NAND Base */ - reg-names = "fsmc_regs", "nand_data"; - st,ale-off = <0x20000>; - st,cle-off = <0x10000>; - status = "disabled"; - }; - - smi: flash@fc000000 { - compatible = "st,spear600-smi"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xfc000000 0x1000>; - interrupt-parent = <&vic1>; - interrupts = <12>; - status = "disabled"; - }; - - ehci@e1800000 { - compatible = "st,spear600-ehci", "usb-ehci"; - reg = <0xe1800000 0x1000>; - interrupt-parent = <&vic1>; - interrupts = <27>; - status = "disabled"; - }; - - ehci@e2000000 { - compatible = "st,spear600-ehci", "usb-ehci"; - reg = <0xe2000000 0x1000>; - interrupt-parent = <&vic1>; - interrupts = <29>; - status = "disabled"; - }; - - ohci@e1900000 { - compatible = "st,spear600-ohci", "usb-ohci"; - reg = <0xe1900000 0x1000>; - interrupt-parent = <&vic1>; - interrupts = <26>; - status = "disabled"; - }; - - ohci@e2100000 { - compatible = "st,spear600-ohci", "usb-ohci"; - reg = <0xe2100000 0x1000>; - interrupt-parent = <&vic1>; - interrupts = <28>; - status = "disabled"; - }; - - apb { - #address-cells = <1>; - #size-cells = <1>; - compatible = "simple-bus"; - ranges = <0xd0000000 0xd0000000 0x30000000>; - - serial@d0000000 { - compatible = "arm,pl011", "arm,primecell"; - reg = <0xd0000000 0x1000>; - interrupt-parent = <&vic0>; - interrupts = <24>; - status = "disabled"; - }; - - serial@d0080000 { - compatible = "arm,pl011", "arm,primecell"; - reg = <0xd0080000 0x1000>; - interrupt-parent = <&vic0>; - interrupts = <25>; - status = "disabled"; - }; - - /* local/cpu GPIO */ - gpio0: gpio@f0100000 { - #gpio-cells = <2>; - compatible = "arm,pl061", "arm,primecell"; - gpio-controller; - reg = <0xf0100000 0x1000>; - interrupt-parent = <&vic0>; - interrupts = <18>; - }; - - /* basic GPIO */ - gpio1: gpio@fc980000 { - #gpio-cells = <2>; - compatible = "arm,pl061", "arm,primecell"; - gpio-controller; - reg = <0xfc980000 0x1000>; - interrupt-parent = <&vic1>; - interrupts = <19>; - }; - - /* appl GPIO */ - gpio2: gpio@d8100000 { - #gpio-cells = <2>; - compatible = "arm,pl061", "arm,primecell"; - gpio-controller; - reg = <0xd8100000 0x1000>; - interrupt-parent = <&vic1>; - interrupts = <4>; - }; - - i2c@d0200000 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "snps,designware-i2c"; - reg = <0xd0200000 0x1000>; - interrupt-parent = <&vic0>; - interrupts = <28>; - status = "disabled"; - }; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/tegra-cardhu.dts b/kernel/arch/arm/boot/dts/m7350-un-v1/tegra-cardhu.dts deleted file mode 100644 index ac3fb7558..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/tegra-cardhu.dts +++ /dev/null @@ -1,70 +0,0 @@ -/dts-v1/; - -/include/ "tegra30.dtsi" - -/ { - model = "NVIDIA Tegra30 Cardhu evaluation board"; - compatible = "nvidia,cardhu", "nvidia,tegra30"; - - memory { - reg = < 0x80000000 0x40000000 >; - }; - - serial@70006000 { - clock-frequency = < 408000000 >; - }; - - serial@70006040 { - status = "disable"; - }; - - serial@70006200 { - status = "disable"; - }; - - serial@70006300 { - status = "disable"; - }; - - serial@70006400 { - status = "disable"; - }; - - i2c@7000c000 { - clock-frequency = <100000>; - }; - - i2c@7000c400 { - clock-frequency = <100000>; - }; - - i2c@7000c500 { - clock-frequency = <100000>; - }; - - i2c@7000c700 { - clock-frequency = <100000>; - }; - - i2c@7000d000 { - clock-frequency = <100000>; - }; - - sdhci@78000000 { - cd-gpios = <&gpio 69 0>; /* gpio PI5 */ - wp-gpios = <&gpio 155 0>; /* gpio PT3 */ - power-gpios = <&gpio 31 0>; /* gpio PD7 */ - }; - - sdhci@78000200 { - status = "disable"; - }; - - sdhci@78000400 { - status = "disable"; - }; - - sdhci@78000400 { - support-8bit; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/tegra-harmony.dts b/kernel/arch/arm/boot/dts/m7350-un-v1/tegra-harmony.dts deleted file mode 100644 index 6e8447dc0..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/tegra-harmony.dts +++ /dev/null @@ -1,115 +0,0 @@ -/dts-v1/; - -/include/ "tegra20.dtsi" - -/ { - model = "NVIDIA Tegra2 Harmony evaluation board"; - compatible = "nvidia,harmony", "nvidia,tegra20"; - - memory@0 { - reg = < 0x00000000 0x40000000 >; - }; - - pmc@7000f400 { - nvidia,invert-interrupt; - }; - - i2c@7000c000 { - clock-frequency = <400000>; - - wm8903: wm8903@1a { - compatible = "wlf,wm8903"; - reg = <0x1a>; - interrupt-parent = <&gpio>; - interrupts = < 187 0x04 >; - - gpio-controller; - #gpio-cells = <2>; - - micdet-cfg = <0>; - micdet-delay = <100>; - gpio-cfg = < 0xffffffff 0xffffffff 0 0xffffffff 0xffffffff >; - }; - }; - - i2c@7000c400 { - clock-frequency = <400000>; - }; - - i2c@7000c500 { - clock-frequency = <400000>; - }; - - i2c@7000d000 { - clock-frequency = <400000>; - }; - - i2s@70002a00 { - status = "disable"; - }; - - sound { - compatible = "nvidia,tegra-audio-wm8903-harmony", - "nvidia,tegra-audio-wm8903"; - nvidia,model = "NVIDIA Tegra Harmony"; - - nvidia,audio-routing = - "Headphone Jack", "HPOUTR", - "Headphone Jack", "HPOUTL", - "Int Spk", "ROP", - "Int Spk", "RON", - "Int Spk", "LOP", - "Int Spk", "LON", - "Mic Jack", "MICBIAS", - "IN1L", "Mic Jack"; - - nvidia,i2s-controller = <&tegra_i2s1>; - nvidia,audio-codec = <&wm8903>; - - nvidia,spkr-en-gpios = <&wm8903 2 0>; - nvidia,hp-det-gpios = <&gpio 178 0>; /* gpio PW2 */ - nvidia,int-mic-en-gpios = <&gpio 184 0>; /*gpio PX0 */ - nvidia,ext-mic-en-gpios = <&gpio 185 0>; /* gpio PX1 */ - }; - - serial@70006000 { - status = "disable"; - }; - - serial@70006040 { - status = "disable"; - }; - - serial@70006200 { - status = "disable"; - }; - - serial@70006300 { - clock-frequency = < 216000000 >; - }; - - serial@70006400 { - status = "disable"; - }; - - sdhci@c8000000 { - status = "disable"; - }; - - sdhci@c8000200 { - cd-gpios = <&gpio 69 0>; /* gpio PI5 */ - wp-gpios = <&gpio 57 0>; /* gpio PH1 */ - power-gpios = <&gpio 155 0>; /* gpio PT3 */ - }; - - sdhci@c8000400 { - status = "disable"; - }; - - sdhci@c8000600 { - cd-gpios = <&gpio 58 0>; /* gpio PH2 */ - wp-gpios = <&gpio 59 0>; /* gpio PH3 */ - power-gpios = <&gpio 70 0>; /* gpio PI6 */ - support-8bit; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/tegra-paz00.dts b/kernel/arch/arm/boot/dts/m7350-un-v1/tegra-paz00.dts deleted file mode 100644 index 6c02abb46..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/tegra-paz00.dts +++ /dev/null @@ -1,134 +0,0 @@ -/dts-v1/; - -/include/ "tegra20.dtsi" - -/ { - model = "Toshiba AC100 / Dynabook AZ"; - compatible = "compal,paz00", "nvidia,tegra20"; - - memory@0 { - reg = <0x00000000 0x20000000>; - }; - - i2c@7000c000 { - clock-frequency = <400000>; - - alc5632: alc5632@1e { - compatible = "realtek,alc5632"; - reg = <0x1e>; - gpio-controller; - #gpio-cells = <2>; - }; - }; - - i2c@7000c400 { - clock-frequency = <400000>; - }; - - i2c@7000c500 { - status = "disable"; - }; - - nvec@7000c500 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "nvidia,nvec"; - reg = <0x7000C500 0x100>; - interrupts = <0 92 0x04>; - clock-frequency = <80000>; - request-gpios = <&gpio 170 0>; - slave-addr = <138>; - }; - - i2c@7000d000 { - clock-frequency = <400000>; - - adt7461@4c { - compatible = "adi,adt7461"; - reg = <0x4c>; - }; - }; - - i2s@70002a00 { - status = "disable"; - }; - - sound { - compatible = "nvidia,tegra-audio-alc5632-paz00", - "nvidia,tegra-audio-alc5632"; - - nvidia,model = "Compal PAZ00"; - - nvidia,audio-routing = - "Int Spk", "SPKOUT", - "Int Spk", "SPKOUTN", - "Headset Mic", "MICBIAS1", - "MIC1", "Headset Mic", - "Headset Stereophone", "HPR", - "Headset Stereophone", "HPL", - "DMICDAT", "Digital Mic"; - - nvidia,audio-codec = <&alc5632>; - nvidia,i2s-controller = <&tegra_i2s1>; - nvidia,hp-det-gpios = <&gpio 178 0>; /* gpio PW2 */ - }; - - serial@70006000 { - clock-frequency = <216000000>; - }; - - serial@70006040 { - status = "disable"; - }; - - serial@70006200 { - clock-frequency = <216000000>; - }; - - serial@70006300 { - status = "disable"; - }; - - serial@70006400 { - status = "disable"; - }; - - sdhci@c8000000 { - cd-gpios = <&gpio 173 0>; /* gpio PV5 */ - wp-gpios = <&gpio 57 0>; /* gpio PH1 */ - power-gpios = <&gpio 169 0>; /* gpio PV1 */ - }; - - sdhci@c8000200 { - status = "disable"; - }; - - sdhci@c8000400 { - status = "disable"; - }; - - sdhci@c8000600 { - support-8bit; - }; - - gpio-keys { - compatible = "gpio-keys"; - - power { - label = "Power"; - gpios = <&gpio 79 1>; /* gpio PJ7, active low */ - linux,code = <116>; /* KEY_POWER */ - gpio-key,wakeup; - }; - }; - - gpio-leds { - compatible = "gpio-leds"; - - wifi { - label = "wifi-led"; - gpios = <&gpio 24 0>; - linux,default-trigger = "rfkill0"; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/tegra-seaboard.dts b/kernel/arch/arm/boot/dts/m7350-un-v1/tegra-seaboard.dts deleted file mode 100644 index dbf1c5a17..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/tegra-seaboard.dts +++ /dev/null @@ -1,175 +0,0 @@ -/dts-v1/; - -/include/ "tegra20.dtsi" - -/ { - model = "NVIDIA Seaboard"; - compatible = "nvidia,seaboard", "nvidia,tegra20"; - - memory { - device_type = "memory"; - reg = < 0x00000000 0x40000000 >; - }; - - i2c@7000c000 { - clock-frequency = <400000>; - - wm8903: wm8903@1a { - compatible = "wlf,wm8903"; - reg = <0x1a>; - interrupt-parent = <&gpio>; - interrupts = < 187 0x04 >; - - gpio-controller; - #gpio-cells = <2>; - - micdet-cfg = <0>; - micdet-delay = <100>; - gpio-cfg = < 0xffffffff 0xffffffff 0 0xffffffff 0xffffffff >; - }; - }; - - i2c@7000c400 { - clock-frequency = <400000>; - }; - - i2c@7000c500 { - clock-frequency = <400000>; - }; - - i2c@7000d000 { - clock-frequency = <400000>; - - adt7461@4c { - compatible = "adt7461"; - reg = <0x4c>; - }; - }; - - i2s@70002a00 { - status = "disable"; - }; - - sound { - compatible = "nvidia,tegra-audio-wm8903-seaboard", - "nvidia,tegra-audio-wm8903"; - nvidia,model = "NVIDIA Tegra Seaboard"; - - nvidia,audio-routing = - "Headphone Jack", "HPOUTR", - "Headphone Jack", "HPOUTL", - "Int Spk", "ROP", - "Int Spk", "RON", - "Int Spk", "LOP", - "Int Spk", "LON", - "Mic Jack", "MICBIAS", - "IN1R", "Mic Jack"; - - nvidia,i2s-controller = <&tegra_i2s1>; - nvidia,audio-codec = <&wm8903>; - - nvidia,spkr-en-gpios = <&wm8903 2 0>; - nvidia,hp-det-gpios = <&gpio 185 0>; /* gpio PX1 */ - }; - - serial@70006000 { - status = "disable"; - }; - - serial@70006040 { - status = "disable"; - }; - - serial@70006200 { - status = "disable"; - }; - - serial@70006300 { - clock-frequency = < 216000000 >; - }; - - serial@70006400 { - status = "disable"; - }; - - sdhci@c8000000 { - status = "disable"; - }; - - sdhci@c8000200 { - status = "disable"; - }; - - sdhci@c8000400 { - cd-gpios = <&gpio 69 0>; /* gpio PI5 */ - wp-gpios = <&gpio 57 0>; /* gpio PH1 */ - power-gpios = <&gpio 70 0>; /* gpio PI6 */ - }; - - sdhci@c8000600 { - support-8bit; - }; - - usb@c5000000 { - nvidia,vbus-gpio = <&gpio 24 0>; /* PD0 */ - dr_mode = "otg"; - }; - - gpio-keys { - compatible = "gpio-keys"; - - power { - label = "Power"; - gpios = <&gpio 170 1>; /* gpio PV2, active low */ - linux,code = <116>; /* KEY_POWER */ - gpio-key,wakeup; - }; - - lid { - label = "Lid"; - gpios = <&gpio 23 0>; /* gpio PC7 */ - linux,input-type = <5>; /* EV_SW */ - linux,code = <0>; /* SW_LID */ - debounce-interval = <1>; - gpio-key,wakeup; - }; - }; - - emc@7000f400 { - emc-table@190000 { - reg = < 190000 >; - compatible = "nvidia,tegra20-emc-table"; - clock-frequency = < 190000 >; - nvidia,emc-registers = < 0x0000000c 0x00000026 - 0x00000009 0x00000003 0x00000004 0x00000004 - 0x00000002 0x0000000c 0x00000003 0x00000003 - 0x00000002 0x00000001 0x00000004 0x00000005 - 0x00000004 0x00000009 0x0000000d 0x0000059f - 0x00000000 0x00000003 0x00000003 0x00000003 - 0x00000003 0x00000001 0x0000000b 0x000000c8 - 0x00000003 0x00000007 0x00000004 0x0000000f - 0x00000002 0x00000000 0x00000000 0x00000002 - 0x00000000 0x00000000 0x00000083 0xa06204ae - 0x007dc010 0x00000000 0x00000000 0x00000000 - 0x00000000 0x00000000 0x00000000 0x00000000 >; - }; - - emc-table@380000 { - reg = < 380000 >; - compatible = "nvidia,tegra20-emc-table"; - clock-frequency = < 380000 >; - nvidia,emc-registers = < 0x00000017 0x0000004b - 0x00000012 0x00000006 0x00000004 0x00000005 - 0x00000003 0x0000000c 0x00000006 0x00000006 - 0x00000003 0x00000001 0x00000004 0x00000005 - 0x00000004 0x00000009 0x0000000d 0x00000b5f - 0x00000000 0x00000003 0x00000003 0x00000006 - 0x00000006 0x00000001 0x00000011 0x000000c8 - 0x00000003 0x0000000e 0x00000007 0x0000000f - 0x00000002 0x00000000 0x00000000 0x00000002 - 0x00000000 0x00000000 0x00000083 0xe044048b - 0x007d8010 0x00000000 0x00000000 0x00000000 - 0x00000000 0x00000000 0x00000000 0x00000000 >; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/tegra-trimslice.dts b/kernel/arch/arm/boot/dts/m7350-un-v1/tegra-trimslice.dts deleted file mode 100644 index 252476867..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/tegra-trimslice.dts +++ /dev/null @@ -1,77 +0,0 @@ -/dts-v1/; - -/include/ "tegra20.dtsi" - -/ { - model = "Compulab TrimSlice board"; - compatible = "compulab,trimslice", "nvidia,tegra20"; - - memory@0 { - reg = < 0x00000000 0x40000000 >; - }; - - i2c@7000c000 { - clock-frequency = <400000>; - }; - - i2c@7000c400 { - clock-frequency = <400000>; - }; - - i2c@7000c500 { - clock-frequency = <400000>; - }; - - i2c@7000d000 { - status = "disable"; - }; - - i2s@70002800 { - status = "disable"; - }; - - i2s@70002a00 { - status = "disable"; - }; - - das@70000c00 { - status = "disable"; - }; - - serial@70006000 { - clock-frequency = < 216000000 >; - }; - - serial@70006040 { - status = "disable"; - }; - - serial@70006200 { - status = "disable"; - }; - - serial@70006300 { - status = "disable"; - }; - - serial@70006400 { - status = "disable"; - }; - - sdhci@c8000000 { - status = "disable"; - }; - - sdhci@c8000200 { - status = "disable"; - }; - - sdhci@c8000400 { - status = "disable"; - }; - - sdhci@c8000600 { - cd-gpios = <&gpio 121 0>; - wp-gpios = <&gpio 122 0>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/tegra-ventana.dts b/kernel/arch/arm/boot/dts/m7350-un-v1/tegra-ventana.dts deleted file mode 100644 index 2dcff8728..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/tegra-ventana.dts +++ /dev/null @@ -1,108 +0,0 @@ -/dts-v1/; - -/include/ "tegra20.dtsi" - -/ { - model = "NVIDIA Tegra2 Ventana evaluation board"; - compatible = "nvidia,ventana", "nvidia,tegra20"; - - memory { - reg = < 0x00000000 0x40000000 >; - }; - - i2c@7000c000 { - clock-frequency = <400000>; - - wm8903: wm8903@1a { - compatible = "wlf,wm8903"; - reg = <0x1a>; - interrupt-parent = <&gpio>; - interrupts = < 187 0x04 >; - - gpio-controller; - #gpio-cells = <2>; - - micdet-cfg = <0>; - micdet-delay = <100>; - gpio-cfg = < 0xffffffff 0xffffffff 0 0xffffffff 0xffffffff >; - }; - }; - - i2c@7000c400 { - clock-frequency = <400000>; - }; - - i2c@7000c500 { - clock-frequency = <400000>; - }; - - i2c@7000d000 { - clock-frequency = <400000>; - }; - - i2s@70002a00 { - status = "disable"; - }; - - sound { - compatible = "nvidia,tegra-audio-wm8903-ventana", - "nvidia,tegra-audio-wm8903"; - nvidia,model = "NVIDIA Tegra Ventana"; - - nvidia,audio-routing = - "Headphone Jack", "HPOUTR", - "Headphone Jack", "HPOUTL", - "Int Spk", "ROP", - "Int Spk", "RON", - "Int Spk", "LOP", - "Int Spk", "LON", - "Mic Jack", "MICBIAS", - "IN1L", "Mic Jack"; - - nvidia,i2s-controller = <&tegra_i2s1>; - nvidia,audio-codec = <&wm8903>; - - nvidia,spkr-en-gpios = <&wm8903 2 0>; - nvidia,hp-det-gpios = <&gpio 178 0>; /* gpio PW2 */ - nvidia,int-mic-en-gpios = <&gpio 184 0>; /*gpio PX0 */ - nvidia,ext-mic-en-gpios = <&gpio 185 0>; /* gpio PX1 */ - }; - - serial@70006000 { - status = "disable"; - }; - - serial@70006040 { - status = "disable"; - }; - - serial@70006200 { - status = "disable"; - }; - - serial@70006300 { - clock-frequency = < 216000000 >; - }; - - serial@70006400 { - status = "disable"; - }; - - sdhci@c8000000 { - status = "disable"; - }; - - sdhci@c8000200 { - status = "disable"; - }; - - sdhci@c8000400 { - cd-gpios = <&gpio 69 0>; /* gpio PI5 */ - wp-gpios = <&gpio 57 0>; /* gpio PH1 */ - power-gpios = <&gpio 70 0>; /* gpio PI6 */ - }; - - sdhci@c8000600 { - support-8bit; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/tegra20.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v1/tegra20.dtsi deleted file mode 100644 index 108e894a8..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/tegra20.dtsi +++ /dev/null @@ -1,210 +0,0 @@ -/include/ "skeleton.dtsi" - -/ { - compatible = "nvidia,tegra20"; - interrupt-parent = <&intc>; - - pmc@7000f400 { - compatible = "nvidia,tegra20-pmc"; - reg = <0x7000e400 0x400>; - }; - - intc: interrupt-controller@50041000 { - compatible = "arm,cortex-a9-gic"; - interrupt-controller; - #interrupt-cells = <3>; - reg = < 0x50041000 0x1000 >, - < 0x50040100 0x0100 >; - }; - - pmu { - compatible = "arm,cortex-a9-pmu"; - interrupts = <0 56 0x04 - 0 57 0x04>; - }; - - apbdma: dma@6000a000 { - compatible = "nvidia,tegra20-apbdma"; - reg = <0x6000a000 0x1200>; - interrupts = < 0 104 0x04 - 0 105 0x04 - 0 106 0x04 - 0 107 0x04 - 0 108 0x04 - 0 109 0x04 - 0 110 0x04 - 0 111 0x04 - 0 112 0x04 - 0 113 0x04 - 0 114 0x04 - 0 115 0x04 - 0 116 0x04 - 0 117 0x04 - 0 118 0x04 - 0 119 0x04 >; - }; - - i2c@7000c000 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "nvidia,tegra20-i2c"; - reg = <0x7000C000 0x100>; - interrupts = < 0 38 0x04 >; - }; - - i2c@7000c400 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "nvidia,tegra20-i2c"; - reg = <0x7000C400 0x100>; - interrupts = < 0 84 0x04 >; - }; - - i2c@7000c500 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "nvidia,tegra20-i2c"; - reg = <0x7000C500 0x100>; - interrupts = < 0 92 0x04 >; - }; - - i2c@7000d000 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "nvidia,tegra20-i2c-dvc"; - reg = <0x7000D000 0x200>; - interrupts = < 0 53 0x04 >; - }; - - tegra_i2s1: i2s@70002800 { - compatible = "nvidia,tegra20-i2s"; - reg = <0x70002800 0x200>; - interrupts = < 0 13 0x04 >; - nvidia,dma-request-selector = < &apbdma 2 >; - }; - - tegra_i2s2: i2s@70002a00 { - compatible = "nvidia,tegra20-i2s"; - reg = <0x70002a00 0x200>; - interrupts = < 0 3 0x04 >; - nvidia,dma-request-selector = < &apbdma 1 >; - }; - - das@70000c00 { - compatible = "nvidia,tegra20-das"; - reg = <0x70000c00 0x80>; - }; - - gpio: gpio@6000d000 { - compatible = "nvidia,tegra20-gpio"; - reg = < 0x6000d000 0x1000 >; - interrupts = < 0 32 0x04 - 0 33 0x04 - 0 34 0x04 - 0 35 0x04 - 0 55 0x04 - 0 87 0x04 - 0 89 0x04 >; - #gpio-cells = <2>; - gpio-controller; - #interrupt-cells = <2>; - interrupt-controller; - }; - - pinmux: pinmux@70000000 { - compatible = "nvidia,tegra20-pinmux"; - reg = < 0x70000014 0x10 /* Tri-state registers */ - 0x70000080 0x20 /* Mux registers */ - 0x700000a0 0x14 /* Pull-up/down registers */ - 0x70000868 0xa8 >; /* Pad control registers */ - }; - - serial@70006000 { - compatible = "nvidia,tegra20-uart"; - reg = <0x70006000 0x40>; - reg-shift = <2>; - interrupts = < 0 36 0x04 >; - }; - - serial@70006040 { - compatible = "nvidia,tegra20-uart"; - reg = <0x70006040 0x40>; - reg-shift = <2>; - interrupts = < 0 37 0x04 >; - }; - - serial@70006200 { - compatible = "nvidia,tegra20-uart"; - reg = <0x70006200 0x100>; - reg-shift = <2>; - interrupts = < 0 46 0x04 >; - }; - - serial@70006300 { - compatible = "nvidia,tegra20-uart"; - reg = <0x70006300 0x100>; - reg-shift = <2>; - interrupts = < 0 90 0x04 >; - }; - - serial@70006400 { - compatible = "nvidia,tegra20-uart"; - reg = <0x70006400 0x100>; - reg-shift = <2>; - interrupts = < 0 91 0x04 >; - }; - - emc@7000f400 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "nvidia,tegra20-emc"; - reg = <0x7000f400 0x200>; - }; - - sdhci@c8000000 { - compatible = "nvidia,tegra20-sdhci"; - reg = <0xc8000000 0x200>; - interrupts = < 0 14 0x04 >; - }; - - sdhci@c8000200 { - compatible = "nvidia,tegra20-sdhci"; - reg = <0xc8000200 0x200>; - interrupts = < 0 15 0x04 >; - }; - - sdhci@c8000400 { - compatible = "nvidia,tegra20-sdhci"; - reg = <0xc8000400 0x200>; - interrupts = < 0 19 0x04 >; - }; - - sdhci@c8000600 { - compatible = "nvidia,tegra20-sdhci"; - reg = <0xc8000600 0x200>; - interrupts = < 0 31 0x04 >; - }; - - usb@c5000000 { - compatible = "nvidia,tegra20-ehci", "usb-ehci"; - reg = <0xc5000000 0x4000>; - interrupts = < 0 20 0x04 >; - phy_type = "utmi"; - nvidia,has-legacy-mode; - }; - - usb@c5004000 { - compatible = "nvidia,tegra20-ehci", "usb-ehci"; - reg = <0xc5004000 0x4000>; - interrupts = < 0 21 0x04 >; - phy_type = "ulpi"; - }; - - usb@c5008000 { - compatible = "nvidia,tegra20-ehci", "usb-ehci"; - reg = <0xc5008000 0x4000>; - interrupts = < 0 97 0x04 >; - phy_type = "utmi"; - }; -}; - diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/tegra30.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v1/tegra30.dtsi deleted file mode 100644 index 62a7b39f1..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/tegra30.dtsi +++ /dev/null @@ -1,186 +0,0 @@ -/include/ "skeleton.dtsi" - -/ { - compatible = "nvidia,tegra30"; - interrupt-parent = <&intc>; - - pmc@7000f400 { - compatible = "nvidia,tegra20-pmc", "nvidia,tegra30-pmc"; - reg = <0x7000e400 0x400>; - }; - - intc: interrupt-controller@50041000 { - compatible = "arm,cortex-a9-gic"; - interrupt-controller; - #interrupt-cells = <3>; - reg = < 0x50041000 0x1000 >, - < 0x50040100 0x0100 >; - }; - - pmu { - compatible = "arm,cortex-a9-pmu"; - interrupts = <0 144 0x04 - 0 145 0x04 - 0 146 0x04 - 0 147 0x04>; - }; - - apbdma: dma@6000a000 { - compatible = "nvidia,tegra30-apbdma", "nvidia,tegra20-apbdma"; - reg = <0x6000a000 0x1400>; - interrupts = < 0 104 0x04 - 0 105 0x04 - 0 106 0x04 - 0 107 0x04 - 0 108 0x04 - 0 109 0x04 - 0 110 0x04 - 0 111 0x04 - 0 112 0x04 - 0 113 0x04 - 0 114 0x04 - 0 115 0x04 - 0 116 0x04 - 0 117 0x04 - 0 118 0x04 - 0 119 0x04 - 0 128 0x04 - 0 129 0x04 - 0 130 0x04 - 0 131 0x04 - 0 132 0x04 - 0 133 0x04 - 0 134 0x04 - 0 135 0x04 - 0 136 0x04 - 0 137 0x04 - 0 138 0x04 - 0 139 0x04 - 0 140 0x04 - 0 141 0x04 - 0 142 0x04 - 0 143 0x04 >; - }; - - i2c@7000c000 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "nvidia,tegra30-i2c", "nvidia,tegra20-i2c"; - reg = <0x7000C000 0x100>; - interrupts = < 0 38 0x04 >; - }; - - i2c@7000c400 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "nvidia,tegra30-i2c", "nvidia,tegra20-i2c"; - reg = <0x7000C400 0x100>; - interrupts = < 0 84 0x04 >; - }; - - i2c@7000c500 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "nvidia,tegra30-i2c", "nvidia,tegra20-i2c"; - reg = <0x7000C500 0x100>; - interrupts = < 0 92 0x04 >; - }; - - i2c@7000c700 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "nvidia,tegra30-i2c", "nvidia,tegra20-i2c"; - reg = <0x7000c700 0x100>; - interrupts = < 0 120 0x04 >; - }; - - i2c@7000d000 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "nvidia,tegra30-i2c", "nvidia,tegra20-i2c"; - reg = <0x7000D000 0x100>; - interrupts = < 0 53 0x04 >; - }; - - gpio: gpio@6000d000 { - compatible = "nvidia,tegra30-gpio", "nvidia,tegra20-gpio"; - reg = < 0x6000d000 0x1000 >; - interrupts = < 0 32 0x04 - 0 33 0x04 - 0 34 0x04 - 0 35 0x04 - 0 55 0x04 - 0 87 0x04 - 0 89 0x04 - 0 125 0x04 >; - #gpio-cells = <2>; - gpio-controller; - #interrupt-cells = <2>; - interrupt-controller; - }; - - serial@70006000 { - compatible = "nvidia,tegra30-uart", "nvidia,tegra20-uart"; - reg = <0x70006000 0x40>; - reg-shift = <2>; - interrupts = < 0 36 0x04 >; - }; - - serial@70006040 { - compatible = "nvidia,tegra30-uart", "nvidia,tegra20-uart"; - reg = <0x70006040 0x40>; - reg-shift = <2>; - interrupts = < 0 37 0x04 >; - }; - - serial@70006200 { - compatible = "nvidia,tegra30-uart", "nvidia,tegra20-uart"; - reg = <0x70006200 0x100>; - reg-shift = <2>; - interrupts = < 0 46 0x04 >; - }; - - serial@70006300 { - compatible = "nvidia,tegra30-uart", "nvidia,tegra20-uart"; - reg = <0x70006300 0x100>; - reg-shift = <2>; - interrupts = < 0 90 0x04 >; - }; - - serial@70006400 { - compatible = "nvidia,tegra30-uart", "nvidia,tegra20-uart"; - reg = <0x70006400 0x100>; - reg-shift = <2>; - interrupts = < 0 91 0x04 >; - }; - - sdhci@78000000 { - compatible = "nvidia,tegra30-sdhci", "nvidia,tegra20-sdhci"; - reg = <0x78000000 0x200>; - interrupts = < 0 14 0x04 >; - }; - - sdhci@78000200 { - compatible = "nvidia,tegra30-sdhci", "nvidia,tegra20-sdhci"; - reg = <0x78000200 0x200>; - interrupts = < 0 15 0x04 >; - }; - - sdhci@78000400 { - compatible = "nvidia,tegra30-sdhci", "nvidia,tegra20-sdhci"; - reg = <0x78000400 0x200>; - interrupts = < 0 19 0x04 >; - }; - - sdhci@78000600 { - compatible = "nvidia,tegra30-sdhci", "nvidia,tegra20-sdhci"; - reg = <0x78000600 0x200>; - interrupts = < 0 31 0x04 >; - }; - - pinmux: pinmux@70000000 { - compatible = "nvidia,tegra30-pinmux"; - reg = < 0x70000868 0xd0 /* Pad control registers */ - 0x70003000 0x3e0 >; /* Mux registers */ - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/testcases/tests-phandle.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v1/testcases/tests-phandle.dtsi deleted file mode 100644 index 0007d3cd7..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/testcases/tests-phandle.dtsi +++ /dev/null @@ -1,39 +0,0 @@ - -/ { - testcase-data { - phandle-tests { - provider0: provider0 { - #phandle-cells = <0>; - }; - - provider1: provider1 { - #phandle-cells = <1>; - }; - - provider2: provider2 { - #phandle-cells = <2>; - }; - - provider3: provider3 { - #phandle-cells = <3>; - }; - - consumer-a { - phandle-list = <&provider1 1>, - <&provider2 2 0>, - <0>, - <&provider3 4 4 3>, - <&provider2 5 100>, - <&provider0>, - <&provider1 7>; - phandle-list-names = "first", "second", "third"; - - phandle-list-bad-phandle = <12345678 0 0>; - phandle-list-bad-args = <&provider2 1 0>, - <&provider3 0>; - empty-property; - unterminated-string = [40 41 42 43]; - }; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/testcases/tests.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v1/testcases/tests.dtsi deleted file mode 100644 index a7c506762..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/testcases/tests.dtsi +++ /dev/null @@ -1 +0,0 @@ -/include/ "tests-phandle.dtsi" diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/usb_a9g20-dab-mmx.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v1/usb_a9g20-dab-mmx.dtsi deleted file mode 100644 index ad3eca17c..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/usb_a9g20-dab-mmx.dtsi +++ /dev/null @@ -1,96 +0,0 @@ -/* - * calao-dab-mmx.dtsi - Device Tree Include file for Calao DAB-MMX Daughter Board - * - * Copyright (C) 2011 Jean-Christophe PLAGNIOL-VILLARD - * - * Licensed under GPLv2. - */ - -/ { - ahb { - apb { - usart1: serial@fffb4000 { - status = "okay"; - }; - - usart3: serial@fffd0000 { - status = "okay"; - }; - }; - }; - - i2c-gpio@0 { - status = "okay"; - }; - - leds { - compatible = "gpio-leds"; - - user_led1 { - label = "user_led1"; - gpios = <&pioB 20 1>; - }; - -/* -* led already used by mother board but active as high -* user_led2 { -* label = "user_led2"; -* gpios = <&pioB 21 1>; -* }; -*/ - user_led3 { - label = "user_led3"; - gpios = <&pioB 22 1>; - }; - - user_led4 { - label = "user_led4"; - gpios = <&pioB 23 1>; - }; - - red { - label = "red"; - gpios = <&pioB 24 1>; - }; - - orange { - label = "orange"; - gpios = <&pioB 30 1>; - }; - - green { - label = "green"; - gpios = <&pioB 31 1>; - }; - }; - - gpio_keys { - compatible = "gpio-keys"; - #address-cells = <1>; - #size-cells = <0>; - - user_pb1 { - label = "user_pb1"; - gpios = <&pioB 25 1>; - linux,code = <0x100>; - }; - - user_pb2 { - label = "user_pb2"; - gpios = <&pioB 13 1>; - linux,code = <0x101>; - }; - - user_pb3 { - label = "user_pb3"; - gpios = <&pioA 26 1>; - linux,code = <0x102>; - }; - - user_pb4 { - label = "user_pb4"; - gpios = <&pioC 9 1>; - linux,code = <0x103>; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/usb_a9g20.dts b/kernel/arch/arm/boot/dts/m7350-un-v1/usb_a9g20.dts deleted file mode 100644 index 7c2399c53..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/usb_a9g20.dts +++ /dev/null @@ -1,130 +0,0 @@ -/* - * usb_a9g20.dts - Device Tree file for Caloa USB A9G20 board - * - * Copyright (C) 2011 Jean-Christophe PLAGNIOL-VILLARD - * - * Licensed under GPLv2 or later. - */ -/dts-v1/; -/include/ "at91sam9g20.dtsi" - -/ { - model = "Calao USB A9G20"; - compatible = "calao,usb-a9g20", "atmel,at91sam9g20", "atmel,at91sam9"; - - chosen { - bootargs = "mem=64M console=ttyS0,115200 root=/dev/mtdblock5 rw rootfstype=ubifs"; - }; - - memory { - reg = <0x20000000 0x4000000>; - }; - - clocks { - #address-cells = <1>; - #size-cells = <1>; - ranges; - - main_clock: clock@0 { - compatible = "atmel,osc", "fixed-clock"; - clock-frequency = <12000000>; - }; - }; - - ahb { - apb { - dbgu: serial@fffff200 { - status = "okay"; - }; - - macb0: ethernet@fffc4000 { - phy-mode = "rmii"; - status = "okay"; - }; - - usb1: gadget@fffa4000 { - atmel,vbus-gpio = <&pioC 5 0>; - status = "okay"; - }; - }; - - nand0: nand@40000000 { - nand-bus-width = <8>; - nand-ecc-mode = "soft"; - nand-on-flash-bbt; - status = "okay"; - - at91bootstrap@0 { - label = "at91bootstrap"; - reg = <0x0 0x20000>; - }; - - barebox@20000 { - label = "barebox"; - reg = <0x20000 0x40000>; - }; - - bareboxenv@60000 { - label = "bareboxenv"; - reg = <0x60000 0x20000>; - }; - - bareboxenv2@80000 { - label = "bareboxenv2"; - reg = <0x80000 0x20000>; - }; - - kernel@a0000 { - label = "kernel"; - reg = <0xa0000 0x400000>; - }; - - rootfs@4a0000 { - label = "rootfs"; - reg = <0x4a0000 0x7800000>; - }; - - data@7ca0000 { - label = "data"; - reg = <0x7ca0000 0x8360000>; - }; - }; - - usb0: ohci@00500000 { - num-ports = <2>; - status = "okay"; - }; - }; - - leds { - compatible = "gpio-leds"; - - user_led { - label = "user_led"; - gpios = <&pioB 21 1>; - linux,default-trigger = "heartbeat"; - }; - }; - - gpio_keys { - compatible = "gpio-keys"; - #address-cells = <1>; - #size-cells = <0>; - - user_pb { - label = "user_pb"; - gpios = <&pioB 10 1>; - linux,code = <28>; - gpio-key,wakeup; - }; - }; - - i2c@0 { - status = "okay"; - - rv3029c2@56 { - compatible = "rv3029c2"; - reg = <0x56>; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/versatile-ab.dts b/kernel/arch/arm/boot/dts/m7350-un-v1/versatile-ab.dts deleted file mode 100644 index e2fe3195c..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/versatile-ab.dts +++ /dev/null @@ -1,192 +0,0 @@ -/dts-v1/; -/include/ "skeleton.dtsi" - -/ { - model = "ARM Versatile AB"; - compatible = "arm,versatile-ab"; - #address-cells = <1>; - #size-cells = <1>; - interrupt-parent = <&vic>; - - aliases { - serial0 = &uart0; - serial1 = &uart1; - serial2 = &uart2; - i2c0 = &i2c0; - }; - - memory { - reg = <0x0 0x08000000>; - }; - - flash@34000000 { - compatible = "arm,versatile-flash"; - reg = <0x34000000 0x4000000>; - bank-width = <4>; - }; - - i2c0: i2c@10002000 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "arm,versatile-i2c"; - reg = <0x10002000 0x1000>; - - rtc@68 { - compatible = "dallas,ds1338"; - reg = <0x68>; - }; - }; - - net@10010000 { - compatible = "smsc,lan91c111"; - reg = <0x10010000 0x10000>; - interrupts = <25>; - }; - - lcd@10008000 { - compatible = "arm,versatile-lcd"; - reg = <0x10008000 0x1000>; - }; - - amba { - compatible = "arm,amba-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - - vic: intc@10140000 { - compatible = "arm,versatile-vic"; - interrupt-controller; - #interrupt-cells = <1>; - reg = <0x10140000 0x1000>; - }; - - sic: intc@10003000 { - compatible = "arm,versatile-sic"; - interrupt-controller; - #interrupt-cells = <1>; - reg = <0x10003000 0x1000>; - interrupt-parent = <&vic>; - interrupts = <31>; /* Cascaded to vic */ - }; - - dma@10130000 { - compatible = "arm,pl081", "arm,primecell"; - reg = <0x10130000 0x1000>; - interrupts = <17>; - }; - - uart0: uart@101f1000 { - compatible = "arm,pl011", "arm,primecell"; - reg = <0x101f1000 0x1000>; - interrupts = <12>; - }; - - uart1: uart@101f2000 { - compatible = "arm,pl011", "arm,primecell"; - reg = <0x101f2000 0x1000>; - interrupts = <13>; - }; - - uart2: uart@101f3000 { - compatible = "arm,pl011", "arm,primecell"; - reg = <0x101f3000 0x1000>; - interrupts = <14>; - }; - - smc@10100000 { - compatible = "arm,primecell"; - reg = <0x10100000 0x1000>; - }; - - mpmc@10110000 { - compatible = "arm,primecell"; - reg = <0x10110000 0x1000>; - }; - - display@10120000 { - compatible = "arm,pl110", "arm,primecell"; - reg = <0x10120000 0x1000>; - interrupts = <16>; - }; - - sctl@101e0000 { - compatible = "arm,primecell"; - reg = <0x101e0000 0x1000>; - }; - - watchdog@101e1000 { - compatible = "arm,primecell"; - reg = <0x101e1000 0x1000>; - interrupts = <0>; - }; - - gpio0: gpio@101e4000 { - compatible = "arm,pl061", "arm,primecell"; - reg = <0x101e4000 0x1000>; - gpio-controller; - interrupts = <6>; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - gpio1: gpio@101e5000 { - compatible = "arm,pl061", "arm,primecell"; - reg = <0x101e5000 0x1000>; - interrupts = <7>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - rtc@101e8000 { - compatible = "arm,pl030", "arm,primecell"; - reg = <0x101e8000 0x1000>; - interrupts = <10>; - }; - - sci@101f0000 { - compatible = "arm,primecell"; - reg = <0x101f0000 0x1000>; - interrupts = <15>; - }; - - ssp@101f4000 { - compatible = "arm,pl022", "arm,primecell"; - reg = <0x101f4000 0x1000>; - interrupts = <11>; - }; - - fpga { - compatible = "arm,versatile-fpga", "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0 0x10000000 0x10000>; - - aaci@4000 { - compatible = "arm,primecell"; - reg = <0x4000 0x1000>; - interrupts = <24>; - }; - mmc@5000 { - compatible = "arm,primecell"; - reg = < 0x5000 0x1000>; - interrupts = <22 34>; - }; - kmi@6000 { - compatible = "arm,pl050", "arm,primecell"; - reg = <0x6000 0x1000>; - interrupt-parent = <&sic>; - interrupts = <3>; - }; - kmi@7000 { - compatible = "arm,pl050", "arm,primecell"; - reg = <0x7000 0x1000>; - interrupt-parent = <&sic>; - interrupts = <4>; - }; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/versatile-pb.dts b/kernel/arch/arm/boot/dts/m7350-un-v1/versatile-pb.dts deleted file mode 100644 index 7e8175269..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/versatile-pb.dts +++ /dev/null @@ -1,50 +0,0 @@ -/include/ "versatile-ab.dts" - -/ { - model = "ARM Versatile PB"; - compatible = "arm,versatile-pb"; - - amba { - gpio2: gpio@101e6000 { - compatible = "arm,pl061", "arm,primecell"; - reg = <0x101e6000 0x1000>; - interrupts = <8>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - gpio3: gpio@101e7000 { - compatible = "arm,pl061", "arm,primecell"; - reg = <0x101e7000 0x1000>; - interrupts = <9>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - fpga { - uart@9000 { - compatible = "arm,pl011", "arm,primecell"; - reg = <0x9000 0x1000>; - interrupt-parent = <&sic>; - interrupts = <6>; - }; - sci@a000 { - compatible = "arm,primecell"; - reg = <0xa000 0x1000>; - interrupt-parent = <&sic>; - interrupts = <5>; - }; - mmc@b000 { - compatible = "arm,primecell"; - reg = <0xb000 0x1000>; - interrupts = <23 34>; - }; - }; - }; -}; - -/include/ "testcases/tests.dtsi" diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/vexpress-v2m-rs1.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v1/vexpress-v2m-rs1.dtsi deleted file mode 100644 index 16076e2d0..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/vexpress-v2m-rs1.dtsi +++ /dev/null @@ -1,201 +0,0 @@ -/* - * ARM Ltd. Versatile Express - * - * Motherboard Express uATX - * V2M-P1 - * - * HBI-0190D - * - * RS1 memory map ("ARM Cortex-A Series memory map" in the board's - * Technical Reference Manual) - * - * WARNING! The hardware described in this file is independent from the - * original variant (vexpress-v2m.dtsi), but there is a strong - * correspondence between the two configurations. - * - * TAKE CARE WHEN MAINTAINING THIS FILE TO PROPAGATE ANY RELEVANT - * CHANGES TO vexpress-v2m.dtsi! - */ - -/ { - aliases { - arm,v2m_timer = &v2m_timer01; - }; - - motherboard { - compatible = "simple-bus"; - arm,v2m-memory-map = "rs1"; - #address-cells = <2>; /* SMB chipselect number and offset */ - #size-cells = <1>; - #interrupt-cells = <1>; - - flash@0,00000000 { - compatible = "arm,vexpress-flash", "cfi-flash"; - reg = <0 0x00000000 0x04000000>, - <4 0x00000000 0x04000000>; - bank-width = <4>; - }; - - psram@1,00000000 { - compatible = "arm,vexpress-psram", "mtd-ram"; - reg = <1 0x00000000 0x02000000>; - bank-width = <4>; - }; - - vram@2,00000000 { - compatible = "arm,vexpress-vram"; - reg = <2 0x00000000 0x00800000>; - }; - - ethernet@2,02000000 { - compatible = "smsc,lan9118", "smsc,lan9115"; - reg = <2 0x02000000 0x10000>; - interrupts = <15>; - phy-mode = "mii"; - reg-io-width = <4>; - smsc,irq-active-high; - smsc,irq-push-pull; - }; - - usb@2,03000000 { - compatible = "nxp,usb-isp1761"; - reg = <2 0x03000000 0x20000>; - interrupts = <16>; - port1-otg; - }; - - iofpga@3,00000000 { - compatible = "arm,amba-bus", "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0 3 0 0x200000>; - - sysreg@010000 { - compatible = "arm,vexpress-sysreg"; - reg = <0x010000 0x1000>; - }; - - sysctl@020000 { - compatible = "arm,sp810", "arm,primecell"; - reg = <0x020000 0x1000>; - }; - - /* PCI-E I2C bus */ - v2m_i2c_pcie: i2c@030000 { - compatible = "arm,versatile-i2c"; - reg = <0x030000 0x1000>; - - #address-cells = <1>; - #size-cells = <0>; - - pcie-switch@60 { - compatible = "idt,89hpes32h8"; - reg = <0x60>; - }; - }; - - aaci@040000 { - compatible = "arm,pl041", "arm,primecell"; - reg = <0x040000 0x1000>; - interrupts = <11>; - }; - - mmci@050000 { - compatible = "arm,pl180", "arm,primecell"; - reg = <0x050000 0x1000>; - interrupts = <9 10>; - }; - - kmi@060000 { - compatible = "arm,pl050", "arm,primecell"; - reg = <0x060000 0x1000>; - interrupts = <12>; - }; - - kmi@070000 { - compatible = "arm,pl050", "arm,primecell"; - reg = <0x070000 0x1000>; - interrupts = <13>; - }; - - v2m_serial0: uart@090000 { - compatible = "arm,pl011", "arm,primecell"; - reg = <0x090000 0x1000>; - interrupts = <5>; - }; - - v2m_serial1: uart@0a0000 { - compatible = "arm,pl011", "arm,primecell"; - reg = <0x0a0000 0x1000>; - interrupts = <6>; - }; - - v2m_serial2: uart@0b0000 { - compatible = "arm,pl011", "arm,primecell"; - reg = <0x0b0000 0x1000>; - interrupts = <7>; - }; - - v2m_serial3: uart@0c0000 { - compatible = "arm,pl011", "arm,primecell"; - reg = <0x0c0000 0x1000>; - interrupts = <8>; - }; - - wdt@0f0000 { - compatible = "arm,sp805", "arm,primecell"; - reg = <0x0f0000 0x1000>; - interrupts = <0>; - }; - - v2m_timer01: timer@110000 { - compatible = "arm,sp804", "arm,primecell"; - reg = <0x110000 0x1000>; - interrupts = <2>; - }; - - v2m_timer23: timer@120000 { - compatible = "arm,sp804", "arm,primecell"; - reg = <0x120000 0x1000>; - }; - - /* DVI I2C bus */ - v2m_i2c_dvi: i2c@160000 { - compatible = "arm,versatile-i2c"; - reg = <0x160000 0x1000>; - - #address-cells = <1>; - #size-cells = <0>; - - dvi-transmitter@39 { - compatible = "sil,sii9022-tpi", "sil,sii9022"; - reg = <0x39>; - }; - - dvi-transmitter@60 { - compatible = "sil,sii9022-cpi", "sil,sii9022"; - reg = <0x60>; - }; - }; - - rtc@170000 { - compatible = "arm,pl031", "arm,primecell"; - reg = <0x170000 0x1000>; - interrupts = <4>; - }; - - compact-flash@1a0000 { - compatible = "arm,vexpress-cf", "ata-generic"; - reg = <0x1a0000 0x100 - 0x1a0100 0xf00>; - reg-shift = <2>; - }; - - clcd@1f0000 { - compatible = "arm,pl111", "arm,primecell"; - reg = <0x1f0000 0x1000>; - interrupts = <14>; - }; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/vexpress-v2m.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v1/vexpress-v2m.dtsi deleted file mode 100644 index a6c9c7c82..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/vexpress-v2m.dtsi +++ /dev/null @@ -1,200 +0,0 @@ -/* - * ARM Ltd. Versatile Express - * - * Motherboard Express uATX - * V2M-P1 - * - * HBI-0190D - * - * Original memory map ("Legacy memory map" in the board's - * Technical Reference Manual) - * - * WARNING! The hardware described in this file is independent from the - * RS1 variant (vexpress-v2m-rs1.dtsi), but there is a strong - * correspondence between the two configurations. - * - * TAKE CARE WHEN MAINTAINING THIS FILE TO PROPAGATE ANY RELEVANT - * CHANGES TO vexpress-v2m-rs1.dtsi! - */ - -/ { - aliases { - arm,v2m_timer = &v2m_timer01; - }; - - motherboard { - compatible = "simple-bus"; - #address-cells = <2>; /* SMB chipselect number and offset */ - #size-cells = <1>; - #interrupt-cells = <1>; - - flash@0,00000000 { - compatible = "arm,vexpress-flash", "cfi-flash"; - reg = <0 0x00000000 0x04000000>, - <1 0x00000000 0x04000000>; - bank-width = <4>; - }; - - psram@2,00000000 { - compatible = "arm,vexpress-psram", "mtd-ram"; - reg = <2 0x00000000 0x02000000>; - bank-width = <4>; - }; - - vram@3,00000000 { - compatible = "arm,vexpress-vram"; - reg = <3 0x00000000 0x00800000>; - }; - - ethernet@3,02000000 { - compatible = "smsc,lan9118", "smsc,lan9115"; - reg = <3 0x02000000 0x10000>; - interrupts = <15>; - phy-mode = "mii"; - reg-io-width = <4>; - smsc,irq-active-high; - smsc,irq-push-pull; - }; - - usb@3,03000000 { - compatible = "nxp,usb-isp1761"; - reg = <3 0x03000000 0x20000>; - interrupts = <16>; - port1-otg; - }; - - iofpga@7,00000000 { - compatible = "arm,amba-bus", "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0 7 0 0x20000>; - - sysreg@00000 { - compatible = "arm,vexpress-sysreg"; - reg = <0x00000 0x1000>; - }; - - sysctl@01000 { - compatible = "arm,sp810", "arm,primecell"; - reg = <0x01000 0x1000>; - }; - - /* PCI-E I2C bus */ - v2m_i2c_pcie: i2c@02000 { - compatible = "arm,versatile-i2c"; - reg = <0x02000 0x1000>; - - #address-cells = <1>; - #size-cells = <0>; - - pcie-switch@60 { - compatible = "idt,89hpes32h8"; - reg = <0x60>; - }; - }; - - aaci@04000 { - compatible = "arm,pl041", "arm,primecell"; - reg = <0x04000 0x1000>; - interrupts = <11>; - }; - - mmci@05000 { - compatible = "arm,pl180", "arm,primecell"; - reg = <0x05000 0x1000>; - interrupts = <9 10>; - }; - - kmi@06000 { - compatible = "arm,pl050", "arm,primecell"; - reg = <0x06000 0x1000>; - interrupts = <12>; - }; - - kmi@07000 { - compatible = "arm,pl050", "arm,primecell"; - reg = <0x07000 0x1000>; - interrupts = <13>; - }; - - v2m_serial0: uart@09000 { - compatible = "arm,pl011", "arm,primecell"; - reg = <0x09000 0x1000>; - interrupts = <5>; - }; - - v2m_serial1: uart@0a000 { - compatible = "arm,pl011", "arm,primecell"; - reg = <0x0a000 0x1000>; - interrupts = <6>; - }; - - v2m_serial2: uart@0b000 { - compatible = "arm,pl011", "arm,primecell"; - reg = <0x0b000 0x1000>; - interrupts = <7>; - }; - - v2m_serial3: uart@0c000 { - compatible = "arm,pl011", "arm,primecell"; - reg = <0x0c000 0x1000>; - interrupts = <8>; - }; - - wdt@0f000 { - compatible = "arm,sp805", "arm,primecell"; - reg = <0x0f000 0x1000>; - interrupts = <0>; - }; - - v2m_timer01: timer@11000 { - compatible = "arm,sp804", "arm,primecell"; - reg = <0x11000 0x1000>; - interrupts = <2>; - }; - - v2m_timer23: timer@12000 { - compatible = "arm,sp804", "arm,primecell"; - reg = <0x12000 0x1000>; - }; - - /* DVI I2C bus */ - v2m_i2c_dvi: i2c@16000 { - compatible = "arm,versatile-i2c"; - reg = <0x16000 0x1000>; - - #address-cells = <1>; - #size-cells = <0>; - - dvi-transmitter@39 { - compatible = "sil,sii9022-tpi", "sil,sii9022"; - reg = <0x39>; - }; - - dvi-transmitter@60 { - compatible = "sil,sii9022-cpi", "sil,sii9022"; - reg = <0x60>; - }; - }; - - rtc@17000 { - compatible = "arm,pl031", "arm,primecell"; - reg = <0x17000 0x1000>; - interrupts = <4>; - }; - - compact-flash@1a000 { - compatible = "arm,vexpress-cf", "ata-generic"; - reg = <0x1a000 0x100 - 0x1a100 0xf00>; - reg-shift = <2>; - }; - - clcd@1f000 { - compatible = "arm,pl111", "arm,primecell"; - reg = <0x1f000 0x1000>; - interrupts = <14>; - }; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/vexpress-v2p-ca15-tc1.dts b/kernel/arch/arm/boot/dts/m7350-un-v1/vexpress-v2p-ca15-tc1.dts deleted file mode 100644 index 941b161ab..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/vexpress-v2p-ca15-tc1.dts +++ /dev/null @@ -1,157 +0,0 @@ -/* - * ARM Ltd. Versatile Express - * - * CoreTile Express A15x2 (version with Test Chip 1) - * Cortex-A15 MPCore (V2P-CA15) - * - * HBI-0237A - */ - -/dts-v1/; - -/ { - model = "V2P-CA15"; - arm,hbi = <0x237>; - compatible = "arm,vexpress,v2p-ca15,tc1", "arm,vexpress,v2p-ca15", "arm,vexpress"; - interrupt-parent = <&gic>; - #address-cells = <1>; - #size-cells = <1>; - - chosen { }; - - aliases { - serial0 = &v2m_serial0; - serial1 = &v2m_serial1; - serial2 = &v2m_serial2; - serial3 = &v2m_serial3; - i2c0 = &v2m_i2c_dvi; - i2c1 = &v2m_i2c_pcie; - }; - - cpus { - #address-cells = <1>; - #size-cells = <0>; - - cpu@0 { - device_type = "cpu"; - compatible = "arm,cortex-a15"; - reg = <0>; - }; - - cpu@1 { - device_type = "cpu"; - compatible = "arm,cortex-a15"; - reg = <1>; - }; - }; - - memory@80000000 { - device_type = "memory"; - reg = <0x80000000 0x40000000>; - }; - - hdlcd@2b000000 { - compatible = "arm,hdlcd"; - reg = <0x2b000000 0x1000>; - interrupts = <0 85 4>; - }; - - memory-controller@2b0a0000 { - compatible = "arm,pl341", "arm,primecell"; - reg = <0x2b0a0000 0x1000>; - }; - - wdt@2b060000 { - compatible = "arm,sp805", "arm,primecell"; - reg = <0x2b060000 0x1000>; - interrupts = <98>; - }; - - gic: interrupt-controller@2c001000 { - compatible = "arm,cortex-a15-gic", "arm,cortex-a9-gic"; - #interrupt-cells = <3>; - #address-cells = <0>; - interrupt-controller; - reg = <0x2c001000 0x1000>, - <0x2c002000 0x100>; - }; - - memory-controller@7ffd0000 { - compatible = "arm,pl354", "arm,primecell"; - reg = <0x7ffd0000 0x1000>; - interrupts = <0 86 4>, - <0 87 4>; - }; - - dma@7ffb0000 { - compatible = "arm,pl330", "arm,primecell"; - reg = <0x7ffb0000 0x1000>; - interrupts = <0 92 4>, - <0 88 4>, - <0 89 4>, - <0 90 4>, - <0 91 4>; - }; - - pmu { - compatible = "arm,cortex-a15-pmu", "arm,cortex-a9-pmu"; - interrupts = <0 68 4>, - <0 69 4>; - }; - - motherboard { - ranges = <0 0 0x08000000 0x04000000>, - <1 0 0x14000000 0x04000000>, - <2 0 0x18000000 0x04000000>, - <3 0 0x1c000000 0x04000000>, - <4 0 0x0c000000 0x04000000>, - <5 0 0x10000000 0x04000000>; - - interrupt-map-mask = <0 0 63>; - interrupt-map = <0 0 0 &gic 0 0 4>, - <0 0 1 &gic 0 1 4>, - <0 0 2 &gic 0 2 4>, - <0 0 3 &gic 0 3 4>, - <0 0 4 &gic 0 4 4>, - <0 0 5 &gic 0 5 4>, - <0 0 6 &gic 0 6 4>, - <0 0 7 &gic 0 7 4>, - <0 0 8 &gic 0 8 4>, - <0 0 9 &gic 0 9 4>, - <0 0 10 &gic 0 10 4>, - <0 0 11 &gic 0 11 4>, - <0 0 12 &gic 0 12 4>, - <0 0 13 &gic 0 13 4>, - <0 0 14 &gic 0 14 4>, - <0 0 15 &gic 0 15 4>, - <0 0 16 &gic 0 16 4>, - <0 0 17 &gic 0 17 4>, - <0 0 18 &gic 0 18 4>, - <0 0 19 &gic 0 19 4>, - <0 0 20 &gic 0 20 4>, - <0 0 21 &gic 0 21 4>, - <0 0 22 &gic 0 22 4>, - <0 0 23 &gic 0 23 4>, - <0 0 24 &gic 0 24 4>, - <0 0 25 &gic 0 25 4>, - <0 0 26 &gic 0 26 4>, - <0 0 27 &gic 0 27 4>, - <0 0 28 &gic 0 28 4>, - <0 0 29 &gic 0 29 4>, - <0 0 30 &gic 0 30 4>, - <0 0 31 &gic 0 31 4>, - <0 0 32 &gic 0 32 4>, - <0 0 33 &gic 0 33 4>, - <0 0 34 &gic 0 34 4>, - <0 0 35 &gic 0 35 4>, - <0 0 36 &gic 0 36 4>, - <0 0 37 &gic 0 37 4>, - <0 0 38 &gic 0 38 4>, - <0 0 39 &gic 0 39 4>, - <0 0 40 &gic 0 40 4>, - <0 0 41 &gic 0 41 4>, - <0 0 42 &gic 0 42 4>; - }; -}; - -/include/ "vexpress-v2m-rs1.dtsi" diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/vexpress-v2p-ca5s.dts b/kernel/arch/arm/boot/dts/m7350-un-v1/vexpress-v2p-ca5s.dts deleted file mode 100644 index 6905e66d4..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/vexpress-v2p-ca5s.dts +++ /dev/null @@ -1,162 +0,0 @@ -/* - * ARM Ltd. Versatile Express - * - * CoreTile Express A5x2 - * Cortex-A5 MPCore (V2P-CA5s) - * - * HBI-0225B - */ - -/dts-v1/; - -/ { - model = "V2P-CA5s"; - arm,hbi = <0x225>; - compatible = "arm,vexpress,v2p-ca5s", "arm,vexpress"; - interrupt-parent = <&gic>; - #address-cells = <1>; - #size-cells = <1>; - - chosen { }; - - aliases { - serial0 = &v2m_serial0; - serial1 = &v2m_serial1; - serial2 = &v2m_serial2; - serial3 = &v2m_serial3; - i2c0 = &v2m_i2c_dvi; - i2c1 = &v2m_i2c_pcie; - }; - - cpus { - #address-cells = <1>; - #size-cells = <0>; - - cpu@0 { - device_type = "cpu"; - compatible = "arm,cortex-a5"; - reg = <0>; - next-level-cache = <&L2>; - }; - - cpu@1 { - device_type = "cpu"; - compatible = "arm,cortex-a5"; - reg = <1>; - next-level-cache = <&L2>; - }; - }; - - memory@80000000 { - device_type = "memory"; - reg = <0x80000000 0x40000000>; - }; - - hdlcd@2a110000 { - compatible = "arm,hdlcd"; - reg = <0x2a110000 0x1000>; - interrupts = <0 85 4>; - }; - - memory-controller@2a150000 { - compatible = "arm,pl341", "arm,primecell"; - reg = <0x2a150000 0x1000>; - }; - - memory-controller@2a190000 { - compatible = "arm,pl354", "arm,primecell"; - reg = <0x2a190000 0x1000>; - interrupts = <0 86 4>, - <0 87 4>; - }; - - scu@2c000000 { - compatible = "arm,cortex-a5-scu"; - reg = <0x2c000000 0x58>; - }; - - timer@2c000600 { - compatible = "arm,cortex-a5-twd-timer"; - reg = <0x2c000600 0x38>; - interrupts = <1 2 0x304>, - <1 3 0x304>; - }; - - gic: interrupt-controller@2c001000 { - compatible = "arm,corex-a5-gic", "arm,cortex-a9-gic"; - #interrupt-cells = <3>; - #address-cells = <0>; - interrupt-controller; - reg = <0x2c001000 0x1000>, - <0x2c000100 0x100>; - }; - - L2: cache-controller@2c0f0000 { - compatible = "arm,pl310-cache"; - reg = <0x2c0f0000 0x1000>; - interrupts = <0 84 4>; - cache-level = <2>; - }; - - pmu { - compatible = "arm,cortex-a5-pmu", "arm,cortex-a9-pmu"; - interrupts = <0 68 4>, - <0 69 4>; - }; - - motherboard { - ranges = <0 0 0x08000000 0x04000000>, - <1 0 0x14000000 0x04000000>, - <2 0 0x18000000 0x04000000>, - <3 0 0x1c000000 0x04000000>, - <4 0 0x0c000000 0x04000000>, - <5 0 0x10000000 0x04000000>; - - interrupt-map-mask = <0 0 63>; - interrupt-map = <0 0 0 &gic 0 0 4>, - <0 0 1 &gic 0 1 4>, - <0 0 2 &gic 0 2 4>, - <0 0 3 &gic 0 3 4>, - <0 0 4 &gic 0 4 4>, - <0 0 5 &gic 0 5 4>, - <0 0 6 &gic 0 6 4>, - <0 0 7 &gic 0 7 4>, - <0 0 8 &gic 0 8 4>, - <0 0 9 &gic 0 9 4>, - <0 0 10 &gic 0 10 4>, - <0 0 11 &gic 0 11 4>, - <0 0 12 &gic 0 12 4>, - <0 0 13 &gic 0 13 4>, - <0 0 14 &gic 0 14 4>, - <0 0 15 &gic 0 15 4>, - <0 0 16 &gic 0 16 4>, - <0 0 17 &gic 0 17 4>, - <0 0 18 &gic 0 18 4>, - <0 0 19 &gic 0 19 4>, - <0 0 20 &gic 0 20 4>, - <0 0 21 &gic 0 21 4>, - <0 0 22 &gic 0 22 4>, - <0 0 23 &gic 0 23 4>, - <0 0 24 &gic 0 24 4>, - <0 0 25 &gic 0 25 4>, - <0 0 26 &gic 0 26 4>, - <0 0 27 &gic 0 27 4>, - <0 0 28 &gic 0 28 4>, - <0 0 29 &gic 0 29 4>, - <0 0 30 &gic 0 30 4>, - <0 0 31 &gic 0 31 4>, - <0 0 32 &gic 0 32 4>, - <0 0 33 &gic 0 33 4>, - <0 0 34 &gic 0 34 4>, - <0 0 35 &gic 0 35 4>, - <0 0 36 &gic 0 36 4>, - <0 0 37 &gic 0 37 4>, - <0 0 38 &gic 0 38 4>, - <0 0 39 &gic 0 39 4>, - <0 0 40 &gic 0 40 4>, - <0 0 41 &gic 0 41 4>, - <0 0 42 &gic 0 42 4>; - }; -}; - -/include/ "vexpress-v2m-rs1.dtsi" diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/vexpress-v2p-ca9.dts b/kernel/arch/arm/boot/dts/m7350-un-v1/vexpress-v2p-ca9.dts deleted file mode 100644 index da778693b..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/vexpress-v2p-ca9.dts +++ /dev/null @@ -1,192 +0,0 @@ -/* - * ARM Ltd. Versatile Express - * - * CoreTile Express A9x4 - * Cortex-A9 MPCore (V2P-CA9) - * - * HBI-0191B - */ - -/dts-v1/; - -/ { - model = "V2P-CA9"; - arm,hbi = <0x191>; - compatible = "arm,vexpress,v2p-ca9", "arm,vexpress"; - interrupt-parent = <&gic>; - #address-cells = <1>; - #size-cells = <1>; - - chosen { }; - - aliases { - serial0 = &v2m_serial0; - serial1 = &v2m_serial1; - serial2 = &v2m_serial2; - serial3 = &v2m_serial3; - i2c0 = &v2m_i2c_dvi; - i2c1 = &v2m_i2c_pcie; - }; - - cpus { - #address-cells = <1>; - #size-cells = <0>; - - cpu@0 { - device_type = "cpu"; - compatible = "arm,cortex-a9"; - reg = <0>; - next-level-cache = <&L2>; - }; - - cpu@1 { - device_type = "cpu"; - compatible = "arm,cortex-a9"; - reg = <1>; - next-level-cache = <&L2>; - }; - - cpu@2 { - device_type = "cpu"; - compatible = "arm,cortex-a9"; - reg = <2>; - next-level-cache = <&L2>; - }; - - cpu@3 { - device_type = "cpu"; - compatible = "arm,cortex-a9"; - reg = <3>; - next-level-cache = <&L2>; - }; - }; - - memory@60000000 { - device_type = "memory"; - reg = <0x60000000 0x40000000>; - }; - - clcd@10020000 { - compatible = "arm,pl111", "arm,primecell"; - reg = <0x10020000 0x1000>; - interrupts = <0 44 4>; - }; - - memory-controller@100e0000 { - compatible = "arm,pl341", "arm,primecell"; - reg = <0x100e0000 0x1000>; - }; - - memory-controller@100e1000 { - compatible = "arm,pl354", "arm,primecell"; - reg = <0x100e1000 0x1000>; - interrupts = <0 45 4>, - <0 46 4>; - }; - - timer@100e4000 { - compatible = "arm,sp804", "arm,primecell"; - reg = <0x100e4000 0x1000>; - interrupts = <0 48 4>, - <0 49 4>; - }; - - watchdog@100e5000 { - compatible = "arm,sp805", "arm,primecell"; - reg = <0x100e5000 0x1000>; - interrupts = <0 51 4>; - }; - - scu@1e000000 { - compatible = "arm,cortex-a9-scu"; - reg = <0x1e000000 0x58>; - }; - - timer@1e000600 { - compatible = "arm,cortex-a9-twd-timer"; - reg = <0x1e000600 0x20>; - interrupts = <1 2 0xf04>, - <1 3 0xf04>; - }; - - gic: interrupt-controller@1e001000 { - compatible = "arm,cortex-a9-gic"; - #interrupt-cells = <3>; - #address-cells = <0>; - interrupt-controller; - reg = <0x1e001000 0x1000>, - <0x1e000100 0x100>; - }; - - L2: cache-controller@1e00a000 { - compatible = "arm,pl310-cache"; - reg = <0x1e00a000 0x1000>; - interrupts = <0 43 4>; - cache-level = <2>; - arm,data-latency = <1 1 1>; - arm,tag-latency = <1 1 1>; - }; - - pmu { - compatible = "arm,cortex-a9-pmu"; - interrupts = <0 60 4>, - <0 61 4>, - <0 62 4>, - <0 63 4>; - }; - - motherboard { - ranges = <0 0 0x40000000 0x04000000>, - <1 0 0x44000000 0x04000000>, - <2 0 0x48000000 0x04000000>, - <3 0 0x4c000000 0x04000000>, - <7 0 0x10000000 0x00020000>; - - interrupt-map-mask = <0 0 63>; - interrupt-map = <0 0 0 &gic 0 0 4>, - <0 0 1 &gic 0 1 4>, - <0 0 2 &gic 0 2 4>, - <0 0 3 &gic 0 3 4>, - <0 0 4 &gic 0 4 4>, - <0 0 5 &gic 0 5 4>, - <0 0 6 &gic 0 6 4>, - <0 0 7 &gic 0 7 4>, - <0 0 8 &gic 0 8 4>, - <0 0 9 &gic 0 9 4>, - <0 0 10 &gic 0 10 4>, - <0 0 11 &gic 0 11 4>, - <0 0 12 &gic 0 12 4>, - <0 0 13 &gic 0 13 4>, - <0 0 14 &gic 0 14 4>, - <0 0 15 &gic 0 15 4>, - <0 0 16 &gic 0 16 4>, - <0 0 17 &gic 0 17 4>, - <0 0 18 &gic 0 18 4>, - <0 0 19 &gic 0 19 4>, - <0 0 20 &gic 0 20 4>, - <0 0 21 &gic 0 21 4>, - <0 0 22 &gic 0 22 4>, - <0 0 23 &gic 0 23 4>, - <0 0 24 &gic 0 24 4>, - <0 0 25 &gic 0 25 4>, - <0 0 26 &gic 0 26 4>, - <0 0 27 &gic 0 27 4>, - <0 0 28 &gic 0 28 4>, - <0 0 29 &gic 0 29 4>, - <0 0 30 &gic 0 30 4>, - <0 0 31 &gic 0 31 4>, - <0 0 32 &gic 0 32 4>, - <0 0 33 &gic 0 33 4>, - <0 0 34 &gic 0 34 4>, - <0 0 35 &gic 0 35 4>, - <0 0 36 &gic 0 36 4>, - <0 0 37 &gic 0 37 4>, - <0 0 38 &gic 0 38 4>, - <0 0 39 &gic 0 39 4>, - <0 0 40 &gic 0 40 4>, - <0 0 41 &gic 0 41 4>, - <0 0 42 &gic 0 42 4>; - }; -}; - -/include/ "vexpress-v2m.dtsi" diff --git a/kernel/arch/arm/boot/dts/m7350-un-v1/zynq-ep107.dts b/kernel/arch/arm/boot/dts/m7350-un-v1/zynq-ep107.dts deleted file mode 100644 index 37ca192fb..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v1/zynq-ep107.dts +++ /dev/null @@ -1,52 +0,0 @@ -/* - * Copyright (C) 2011 Xilinx - * - * This software is licensed under the terms of the GNU General Public - * License version 2, as published by the Free Software Foundation, and - * may be copied, distributed, and modified under those terms. - * - * 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. - */ - -/dts-v1/; -/ { - model = "Xilinx Zynq EP107"; - compatible = "xlnx,zynq-ep107"; - #address-cells = <1>; - #size-cells = <1>; - interrupt-parent = <&intc>; - - memory { - device_type = "memory"; - reg = <0x0 0x10000000>; - }; - - chosen { - bootargs = "console=ttyPS0,9600 root=/dev/ram rw initrd=0x800000,8M earlyprintk"; - linux,stdout-path = &uart0; - }; - - amba { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - - intc: interrupt-controller@f8f01000 { - interrupt-controller; - compatible = "arm,gic"; - reg = <0xF8F01000 0x1000>; - #interrupt-cells = <2>; - }; - - uart0: uart@e0000000 { - compatible = "xlnx,xuartps"; - reg = <0xE0000000 0x1000>; - interrupts = <59 0>; - clock = <50000000>; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/am3517_mt_ventoux.dts b/kernel/arch/arm/boot/dts/m7350-un-v2/am3517_mt_ventoux.dts deleted file mode 100644 index 5eb26d7d9..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/am3517_mt_ventoux.dts +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Copyright (C) 2011 Ilya Yanok, EmCraft Systems - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. - */ -/dts-v1/; - -/include/ "omap3.dtsi" - -/ { - model = "TeeJet Mt.Ventoux"; - compatible = "teejet,mt_ventoux", "ti,omap3"; - - memory { - device_type = "memory"; - reg = <0x80000000 0x10000000>; /* 256 MB */ - }; - - /* AM35xx doesn't have IVA */ - soc { - iva { - status = "disabled"; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/apq8026-mtp.dts b/kernel/arch/arm/boot/dts/m7350-un-v2/apq8026-mtp.dts deleted file mode 100644 index e14a68568..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/apq8026-mtp.dts +++ /dev/null @@ -1,22 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - - -/dts-v1/; -/include/ "apq8026.dtsi" -/include/ "msm8226-mtp.dtsi" - -/ { - model = "Qualcomm APQ 8026 MTP"; - compatible = "qcom,apq8026-mtp", "qcom,apq8026", "qcom,mtp"; - qcom,msm-id = <199 8 0>; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/apq8026-xpm.dts b/kernel/arch/arm/boot/dts/m7350-un-v2/apq8026-xpm.dts deleted file mode 100644 index 67152af2d..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/apq8026-xpm.dts +++ /dev/null @@ -1,22 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - - -/dts-v1/; -/include/ "apq8026.dtsi" -/include/ "msm8226-cdp.dtsi" - -/ { - model = "Qualcomm APQ 8026 XPM"; - compatible = "qcom,apq8026-xpm", "qcom,apq8026", "qcom,xpm"; - qcom,msm-id = <199 14 0>; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/apq8026.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v2/apq8026.dtsi deleted file mode 100644 index db6576a0d..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/apq8026.dtsi +++ /dev/null @@ -1,24 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/* - * Only 8026-specific property overrides should be placed inside this - * file. Device definitions should be placed inside the msm8226.dtsi - * file. - */ - -/include/ "msm8226.dtsi" - -/ { - model = "Qualcomm APQ 8026"; - compatible = "qcom,apq8026"; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/apq8074-dragonboard.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v2/apq8074-dragonboard.dtsi deleted file mode 100644 index 6b4d1d339..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/apq8074-dragonboard.dtsi +++ /dev/null @@ -1,654 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/include/ "dsi-panel-sharp-qhd-video.dtsi" -/include/ "msm8974-camera-sensor-dragonboard.dtsi" -/include/ "msm8974-leds.dtsi" - -&soc { - serial@f991e000 { - status = "ok"; - }; - - qcom,mdss_dsi_sharp_qhd_video { - status = "ok"; - }; - - qcom,hdmi_tx@fd922100 { - status = "ok"; - }; - - gpio_keys { - compatible = "gpio-keys"; - input-name = "gpio-keys"; - - vol_up { - label = "volume_up"; - gpios = <&pm8941_gpios 5 0x1>; - linux,input-type = <1>; - linux,code = <115>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - - general { - label = "general"; - gpios = <&pm8941_gpios 23 0x1>; - linux,input-type = <1>; - linux,code = <102>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - }; - - bt_ar3002 { - compatible = "qca,ar3002"; - qca,bt-reset-gpio = <&pm8941_gpios 34 0>; - }; - - hsic_hub { - compatible = "qcom,hsic-smsc-hub"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - smsc,reset-gpio = <&pm8941_gpios 8 0x00>; - - hsic_host: hsic@f9a00000 { - compatible = "qcom,hsic-host"; - reg = <0xf9a00000 0x400>; - #address-cells = <0>; - interrupt-parent = <&hsic_host>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 136 0 - 1 &intc 0 148 0 - 2 &msmgpio 144 0x8>; - interrupt-names = "core_irq", "async_irq", "wakeup"; - HSIC_VDDCX-supply = <&pm8841_s2>; - HSIC_GDSC-supply = <&gdsc_usb_hsic>; - hsic,strobe-gpio = <&msmgpio 144 0x00>; - hsic,data-gpio = <&msmgpio 145 0x00>; - hsic,ignore-cal-pad-config; - hsic,strobe-pad-offset = <0x2050>; - hsic,data-pad-offset = <0x2054>; - - qcom,msm-bus,name = "hsic"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,active-only = <0>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <85 512 0 0>, - <85 512 40000 160000>; - }; - }; - - i2c@f9923000 { - status = "ok"; - atmel_mxt_ts@4a { - compatible = "atmel,mxt-ts"; - reg = <0x4a>; - interrupt-parent = <&msmgpio>; - interrupts = <61 0x2>; - vdd_ana-supply = <&pm8941_l18>; - vcc_i2c-supply = <&pm8941_s3>; - atmel,reset-gpio = <&msmgpio 60 0x00>; - atmel,irq-gpio = <&msmgpio 61 0x00>; - atmel,panel-coords = <0 0 566 1067>; - atmel,display-coords = <0 0 540 960>; - atmel,i2c-pull-up; - atmel,cfg_1 { - atmel,family-id = <0x81>; - atmel,variant-id = <0x19>; - atmel,version = <0x10>; - atmel,build = <0xaa>; - atmel,config = [ - /* Object 38, Instance = 0 */ - 0F 02 00 17 04 0C 00 00 - /* Object 7, Instance = 0 */ - 30 FF 19 - /* Object 8, Instance = 0 */ - 1B 00 05 01 00 00 08 08 00 00 - /* Object 9, Instance = 0 */ - 83 00 00 13 0B 00 10 23 01 03 - 0A 0F 01 0B 04 05 28 0A 2B 04 - 36 02 00 00 00 00 8F 28 8F 50 - 12 0F 32 32 02 - /* Object 15, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 - /* Object 18, Instance = 0 */ - 00 00 - /* Object 19, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 - /* Object 23, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 - /* Object 25, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 - /* Object 40, Instance = 0 */ - 00 00 00 00 00 - /* Object 42, Instance = 0 */ - 00 00 00 00 00 00 00 00 - /* Object 46, Instance = 0 */ - 00 03 10 30 00 00 01 00 00 - /* Object 47, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - /* Object 48, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 - ]; - }; - }; - }; - - gen-vkeys { - compatible = "qcom,gen-vkeys"; - label = "atmel_mxt_ts"; - qcom,disp-maxx = <540>; - qcom,disp-maxy = <960>; - qcom,panel-maxx = <566>; - qcom,panel-maxy = <1067>; - qcom,key-codes = <158 139 102 217>; - }; - - sound { - qcom,model = "apq8074-taiko-db-snd-card"; - qcom,hdmi-audio-rx; - - qcom,audio-routing = - "RX_BIAS", "MCLK", - "LDO_H", "MCLK", - "AMIC1", "MIC BIAS1 External", - "MIC BIAS1 External", "Analog Mic4", - "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", - "AMIC5", "MIC BIAS1 External", - "MIC BIAS1 External", "Analog Mic6", - "AMIC6", "MIC BIAS1 External", - "MIC BIAS1 External", "Analog Mic7", - "DMIC1", "MIC BIAS3 External", - "MIC BIAS3 External", "Digital Mic1", - "DMIC2", "MIC BIAS3 External", - "MIC BIAS3 External", "Digital Mic2", - "DMIC3", "MIC BIAS4 External", - "MIC BIAS4 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"; - }; - - qcom,pronto@fb21b000 { - status = "disabled"; - }; - - qcom,iris-fm { - status = "disabled"; - }; - - qcom,wcnss-wlan@fb000000 { - status = "disabled"; - }; - - qcom,smd-wcnss { - status = "disabled"; - }; - - qcom,smsm-wcnss { - status = "disabled"; - }; -}; - -&mdss_fb0 { - qcom,memory-reservation-size = <0x1000000>; /* size 16MB */ -}; - -&sdcc3 { - qcom,sup-voltages = <2000 2000>; - status = "ok"; -}; - -&pm8941_l19 { - regulator-min-microvolt = <3300000>; - regulator-max-microvolt = <3300000>; - qcom,init-voltage = <3300000>; - regulator-always-on; -}; - -&pm8941_l10 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - regulator-always-on; -}; - -&uart7 { - status = "ok"; - qcom,tx-gpio = <&msmgpio 41 0x00>; - qcom,rx-gpio = <&msmgpio 42 0x00>; - qcom,cts-gpio = <&msmgpio 43 0x00>; - qcom,rfr-gpio = <&msmgpio 44 0x00>; -}; - -&usb_otg { - status = "ok"; - qcom,hsusb-otg-otg-control = <2>; - qcom,hsusb-otg-mode = <3>; - vbus_otg-supply = <&pm8941_mvs1>; - qcom,usb2-enable-hsphy2; - qcom,dp-manual-pullup; - - #address-cells = <0>; - interrupt-parent = <&usb_otg>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 134 0 - 1 &intc 0 140 0 - 2 &spmi_bus 0x0 0x0 0x9 0x0>; - interrupt-names = "core_irq", "async_irq", "pmic_id_irq"; -}; - -&usb3 { - qcom,charging-disabled; - vbus_dwc3-supply = <0>; - dwc3@f9200000 { - host-only-mode; - }; -}; - -&slim_msm { - taiko_codec { - qcom,cdc-micbias2-ext-cap; - qcom,cdc-micbias3-ext-cap; - }; -}; - -&pm8941_gpios { - gpio@c000 { /* GPIO 1 */ - qcom,mode = <0>; - qcom,pull = <0>; - qcom,vin-sel = <2>; - qcom,src-sel = <0>; - }; - - gpio@c100 { /* GPIO 2 */ - qcom,mode = <0>; - qcom,pull = <0>; - qcom,vin-sel = <2>; - qcom,src-sel = <0>; - }; - - gpio@c200 { /* GPIO 3 */ - }; - - gpio@c300 { /* GPIO 4 */ - }; - - gpio@c400 { /* GPIO 5 */ - qcom,mode = <0>; - qcom,pull = <0>; - qcom,vin-sel = <2>; - qcom,src-sel = <0>; - }; - - gpio@c500 { /* GPIO 6 */ - /* TUSB3_HUB-RESET */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,output-type = <0>; /* QPNP_PIN_OUT_BUF_CMOS */ - qcom,pull = <0>; /* QPNP_PIN_PULL_30 */ - qcom,vin-sel = <0>; /* QPNP_PIN_VIN0 VPH */ - qcom,out-strength = <2>; /* QPNP_PIN_OUT_STRENGTH_MED */ - qcom,src-sel = <0>; /* QPNP_PIN_SEL_FUNC_CONSTANT */ - qcom,invert = <1>; /* Keep it out of reset */ - qcom,master-en = <1>; - }; - - gpio@c600 { /* GPIO 7 */ - }; - - gpio@c700 { /* GPIO 8 */ - /* HSIC_HUB-RESET */ - qcom,mode = <1>; /* DIG_OUT */ - qcom,pull = <5>; /* PULL_NO */ - qcom,out-strength = <2>; /* STRENGTH_MED */ - qcom,master-en = <1>; - }; - - gpio@c800 { /* GPIO 9 */ - /* GbE_RST_N */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,output-type = <0>; /* QPNP_PIN_OUT_BUF_CMOS */ - qcom,pull = <0>; /* QPNP_PIN_PULL_30 */ - qcom,vin-sel = <0>; /* QPNP_PIN_VIN0 VPH */ - qcom,out-strength = <2>; /* QPNP_PIN_OUT_STRENGTH_MED */ - qcom,src-sel = <0>; /* QPNP_PIN_SEL_FUNC_CONSTANT */ - qcom,invert = <1>; /* Keep it out of reset */ - qcom,master-en = <1>; - }; - - gpio@c900 { /* GPIO 10 */ - /* SATA_RST_N */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,output-type = <0>; /* QPNP_PIN_OUT_BUF_CMOS */ - qcom,pull = <0>; /* QPNP_PIN_PULL_30 */ - qcom,vin-sel = <0>; /* QPNP_PIN_VIN0 VPH */ - qcom,out-strength = <2>; /* QPNP_PIN_OUT_STRENGTH_MED */ - qcom,src-sel = <0>; /* QPNP_PIN_SEL_FUNC_CONSTANT */ - qcom,invert = <1>; /* Keep it out of reset */ - qcom,master-en = <1>; - }; - - gpio@ca00 { /* GPIO 11 */ - }; - - gpio@cb00 { /* GPIO 12 */ - }; - - gpio@cc00 { /* GPIO 13 */ - }; - - gpio@cd00 { /* GPIO 14 */ - }; - - gpio@ce00 { /* GPIO 15 */ - qcom,mode = <1>; - qcom,output-type = <0>; - qcom,pull = <5>; - qcom,vin-sel = <2>; - qcom,out-strength = <3>; - qcom,src-sel = <2>; - qcom,master-en = <1>; - }; - - gpio@cf00 { /* GPIO 16 */ - }; - - gpio@d000 { /* GPIO 17 */ - }; - - gpio@d100 { /* GPIO 18 */ - }; - - gpio@d200 { /* GPIO 19 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,output-type = <0>; /* QPNP_PIN_OUT_BUF_CMOS */ - qcom,pull = <5>; /* QPNP_PIN_PULL_NO */ - qcom,vin-sel = <2>; /* QPNP_PIN_VIN2 */ - qcom,out-strength = <2>; /* QPNP_PIN_OUT_STRENGTH_MED */ - qcom,src-sel = <0>; /* QPNP_PIN_SEL_FUNC_CONSTANT */ - qcom,master-en = <1>; - }; - - gpio@d300 { /* GPIO 20 */ - }; - - gpio@d400 { /* GPIO 21 */ - }; - - gpio@d500 { /* GPIO 22 */ - }; - - gpio@d600 { /* GPIO 23 */ - }; - - gpio@d700 { /* GPIO 24 */ - }; - - gpio@d800 { /* GPIO 25 */ - }; - - gpio@d900 { /* GPIO 26 */ - }; - - gpio@da00 { /* GPIO 27 */ - }; - - gpio@db00 { /* GPIO 28 */ - }; - - gpio@dc00 { /* GPIO 29 */ - qcom,pull = <0>; /* set to default pull */ - qcom,master-en = <1>; - qcom,vin-sel = <2>; /* select 1.8 V source */ - }; - - gpio@dd00 { /* GPIO 30 */ - }; - - gpio@de00 { /* GPIO 31 */ - }; - - gpio@df00 { /* GPIO 32 */ - }; - - gpio@e000 { /* GPIO 33 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,output-type = <0>; /* QPNP_PIN_OUT_BUF_CMOS */ - qcom,pull = <5>; /* QPNP_PIN_PULL_NO */ - qcom,vin-sel = <2>; /* QPNP_PIN_VIN2 */ - qcom,out-strength = <2>; /* QPNP_PIN_OUT_STRENGTH_MED */ - qcom,src-sel = <0>; /* QPNP_PIN_SEL_FUNC_CONSTANT */ - qcom,invert = <1>; - qcom,master-en = <1>; - }; - - gpio@e100 { /* GPIO 34 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,output-type = <0>; /* QPNP_PIN_OUT_BUF_CMOS */ - qcom,pull = <5>; /* QPNP_PIN_PULL_NO */ - qcom,vin-sel = <2>; /* QPNP_PIN_VIN2 */ - qcom,out-strength = <2>; /* QPNP_PIN_OUT_STRENGTH_MED */ - qcom,src-sel = <0>; /* QPNP_PIN_SEL_FUNC_CONSTANT */ - qcom,invert = <0>; - qcom,master-en = <1>; - }; - - gpio@e200 { /* GPIO 35 */ - }; - - gpio@e300 { /* GPIO 36 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,output-type = <0>; /* QPNP_PIN_OUT_BUF_CMOS */ - qcom,pull = <5>; /* QPNP_PIN_PULL_NO */ - qcom,vin-sel = <2>; /* QPNP_PIN_VIN2 */ - qcom,out-strength = <3>; /* QPNP_PIN_OUT_STRENGTH_HIGH */ - qcom,src-sel = <3>; /* QPNP_PIN_SEL_FUNC_2 */ - qcom,master-en = <1>; - }; -}; - -&pm8941_mpps { - - mpp@a000 { /* MPP 1 */ - }; - - mpp@a100 { /* MPP 2 */ - }; - - mpp@a200 { /* MPP 3 */ - }; - - mpp@a300 { /* MPP 4 */ - }; - - mpp@a400 { /* MPP 5 */ - }; - - mpp@a500 { /* MPP 6 */ - }; - - mpp@a600 { /* MPP 7 */ - }; - - mpp@a700 { /* MPP 8 */ - }; -}; - -&pm8841_mpps { - - mpp@a000 { /* MPP 1 */ - }; - - mpp@a100 { /* MPP 2 */ - }; - - mpp@a200 { /* MPP 3*/ - }; - - mpp@a300 { /* MPP 4*/ - }; -}; - -&spi_epm { - epm-adc@0 { - compatible = "cy,epm-adc-cy8c5568lti-114"; - reg = <0>; - interrupt-parent = <&msmgpio>; - spi-max-frequency = <960000>; - qcom,channels = <31>; - qcom,gain = <50 50 50 50 50 100 50 50 50 50 - 50 50 50 50 100 50 50 50 50 100 - 50 50 50 100 50 50 50 1 1 1 - 1>; - qcom,rsense = <40 10 10 25 10 1000 75 25 10 25 - 33 500 200 10 500 100 33 200 25 100 - 75 500 50 200 5 5 3 1 1 1 - 1>; - qcom,channel-type = <0xf0000000>; - }; -}; - -&spmi_bus { - qcom,pm8941@1 { - qcom,leds@d000 { - qcom,rgb_2 { - status = "ok"; - qcom,default-state = "on"; - qcom,turn-off-delay-ms = <1000>; - }; - }; - - qcom,leds@d800 { - status = "okay"; - qcom,wled_0 { - label = "wled"; - linux,name = "wled:backlight"; - linux,default-trigger = "bkl-trigger"; - qcom,cs-out-en; - qcom,op-fdbck = <1>; - qcom,default-state = "on"; - qcom,max-current = <20>; - qcom,ctrl-delay-us = <0>; - qcom,boost-curr-lim = <3>; - qcom,cp-sel = <0>; - qcom,switch-freq = <2>; - qcom,ovp-val = <1>; - qcom,num-strings = <1>; - qcom,id = <0>; - }; - }; - }; -}; - -&pm8941_chg { - status = "ok"; - - qcom,charging-disabled; - - qcom,chgr@1000 { - status = "ok"; - }; - - qcom,buck@1100 { - status = "ok"; - }; - - qcom,usb-chgpth@1300 { - status = "ok"; - }; - - qcom,dc-chgpth@1400 { - status = "ok"; - }; - - qcom,boost@1500 { - status = "ok"; - }; - - qcom,chg-misc@1600 { - status = "ok"; - }; -}; - -&sdhc_1 { - vdd-supply = <&pm8941_l20>; - vdd-io-supply = <&pm8941_s3>; - - qcom,vdd-always-on; - qcom,vdd-lpm-sup; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <800 500000>; - - qcom,vdd-io-always-on; - qcom,vdd-io-voltage-level = <1800000 1800000>; - qcom,vdd-io-current-level = <250 154000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,nonremovable; - status = "ok"; -}; - -&sdhc_2 { - #address-cells = <0>; - interrupt-parent = <&sdhc_2>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 125 0 - 1 &intc 0 221 0 - 2 &msmgpio 62 0x3>; - interrupt-names = "hc_irq", "pwr_irq", "status_irq"; - cd-gpios = <&msmgpio 62 0x1>; - - vdd-supply = <&pm8941_l21>; - vdd-io-supply = <&pm8941_l13>; - - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <9000 800000>; - - qcom,vdd-io-voltage-level = <1800000 2950000>; - qcom,vdd-io-current-level = <6 22000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - status = "ok"; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/apq8074-v1.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v2/apq8074-v1.dtsi deleted file mode 100644 index c4e7b7c3c..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/apq8074-v1.dtsi +++ /dev/null @@ -1,48 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/* - * As a general rule, only version-specific property overrides should be placed - * inside this file. However, device definitions should be placed inside the - * msm8974.dtsi file. - */ - -/include/ "msm8974-v1.dtsi" - -&soc { - qcom,qseecom@a700000 { - compatible = "qcom,qseecom"; - reg = <0x0a700000 0x500000>; - reg-names = "secapp-region"; - qcom,disk-encrypt-pipe-pair = <2>; - qcom,hlos-ce-hw-instance = <1>; - qcom,qsee-ce-hw-instance = <0>; - qcom,msm-bus,name = "qseecom-noc"; - qcom,msm-bus,num-cases = <4>; - qcom,msm-bus,active-only = <0>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <55 512 0 0>, - <55 512 3936000 393600>, - <55 512 3936000 393600>, - <55 512 3936000 393600>; - }; -}; - -&memory_hole { - qcom,memblock-remove = <0x0a700000 0x5800000>; /* Address and size of the hole */ -}; - -&qseecom { - status = "disabled"; -}; - diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/apq8074-v2-dragonboard.dts b/kernel/arch/arm/boot/dts/m7350-un-v2/apq8074-v2-dragonboard.dts deleted file mode 100644 index 5a6f5f3bf..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/apq8074-v2-dragonboard.dts +++ /dev/null @@ -1,22 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; - -/include/ "apq8074-v2.dtsi" -/include/ "apq8074-dragonboard.dtsi" - -/ { - model = "Qualcomm APQ 8074v2 DRAGONBOARD"; - compatible = "qcom,apq8074-dragonboard", "qcom,apq8074", "qcom,dragonboard"; - qcom,msm-id = <184 10 0x20000>; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/apq8074-v2-liquid.dts b/kernel/arch/arm/boot/dts/m7350-un-v2/apq8074-v2-liquid.dts deleted file mode 100644 index 4ec1cdd17..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/apq8074-v2-liquid.dts +++ /dev/null @@ -1,34 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; - -/include/ "apq8074-v2.dtsi" -/include/ "msm8974-liquid.dtsi" - -/ { - model = "Qualcomm APQ 8074v2 LIQUID"; - compatible = "qcom,apq8074-liquid", "qcom,apq8074", "qcom,liquid"; - qcom,msm-id = <184 9 0x20000>; -}; - -&usb3 { - interrupt-parent = <&usb3>; - interrupts = <0 1>; - #interrupt-cells = <1>; - interrupt-map-mask = <0x0 0xffffffff>; - interrupt-map = <0x0 0 &intc 0 133 0 - 0x0 1 &spmi_bus 0x0 0x0 0x9 0x0>; - interrupt-names = "hs_phy_irq", "pmic_id_irq"; - - qcom,misc-ref = <&pm8941_misc>; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/apq8074-v2.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v2/apq8074-v2.dtsi deleted file mode 100644 index 76eb14b96..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/apq8074-v2.dtsi +++ /dev/null @@ -1,52 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/* - * As a general rule, only version-specific property overrides should be placed - * inside this file. However, device definitions should be placed inside the - * msm8974.dtsi file. - */ - -/include/ "msm8974-v2.dtsi" - -&soc { - qcom,qseecom@a700000 { - compatible = "qcom,qseecom"; - reg = <0x0a700000 0x500000>; - reg-names = "secapp-region"; - qcom,disk-encrypt-pipe-pair = <2>; - qcom,hlos-ce-hw-instance = <1>; - qcom,qsee-ce-hw-instance = <0>; - qcom,msm-bus,name = "qseecom-noc"; - qcom,msm-bus,num-cases = <4>; - qcom,msm-bus,active-only = <0>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <55 512 0 0>, - <55 512 3936000 393600>, - <55 512 3936000 393600>, - <55 512 3936000 393600>; - }; - - sound { - compatible = "qcom,apq8074-audio-taiko"; - }; -}; - -&memory_hole { - qcom,memblock-remove = <0x0a700000 0x5800000>; /* Address and size of the hole */ -}; - -&qseecom { - status = "disabled"; -}; - diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/apq8084-ion.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v2/apq8084-ion.dtsi deleted file mode 100644 index ea954b89c..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/apq8084-ion.dtsi +++ /dev/null @@ -1,31 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -&soc { - qcom,ion { - compatible = "qcom,msm-ion"; - #address-cells = <1>; - #size-cells = <0>; - - qcom,ion-heap@30 { /* SYSTEM HEAP */ - reg = <30>; - }; - - qcom,ion-heap@21 { /* SYSTEM CONTIG HEAP */ - reg = <21>; - }; - - qcom,ion-heap@25 { /* IOMMU HEAP */ - reg = <25>; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/apq8084-regulator.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v2/apq8084-regulator.dtsi deleted file mode 100644 index 998b46906..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/apq8084-regulator.dtsi +++ /dev/null @@ -1,377 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - - -/* QPNP controlled regulators: */ - -&spmi_bus { - qcom,pma8084@1 { - pma8084_s1: regulator@1400 { - regulator-min-microvolt = <1050000>; - regulator-max-microvolt = <1050000>; - qcom,enable-time = <500>; - qcom,pull-down-enable = <1>; - regulator-always-on; - qcom,system-load = <100000>; - status = "okay"; - }; - - /* PMA8084 S2 + S12 = 2 phase VDD_CX supply */ - pma8084_s2: regulator@1700 { - regulator-min-microvolt = <1050000>; - regulator-max-microvolt = <1050000>; - qcom,enable-time = <500>; - qcom,pull-down-enable = <1>; - regulator-always-on; - qcom,system-load = <100000>; - status = "okay"; - }; - - pma8084_s3: regulator@1a00 { - regulator-min-microvolt = <1300000>; - regulator-max-microvolt = <1300000>; - qcom,enable-time = <500>; - qcom,pull-down-enable = <1>; - regulator-always-on; - qcom,system-load = <100000>; - status = "okay"; - }; - - pma8084_s4: regulator@1d00 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,enable-time = <500>; - qcom,pull-down-enable = <1>; - regulator-always-on; - qcom,system-load = <100000>; - status = "okay"; - }; - - pma8084_s5: regulator@2000 { - regulator-min-microvolt = <2150000>; - regulator-max-microvolt = <2150000>; - qcom,enable-time = <500>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - /* PMA8084 S6 + S7 = 2 phase VDD_GFX supply */ - pma8084_s6: regulator@2300 { - regulator-min-microvolt = <815000>; - regulator-max-microvolt = <900000>; - qcom,enable-time = <500>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - /* PMA8084 S8 + S9 + S10 + S11 = 4 phase VDD_APC supply */ - pma8084_s8: regulator@2900 { - regulator-min-microvolt = <500000>; - regulator-max-microvolt = <1100000>; - qcom,enable-time = <500>; - qcom,pull-down-enable = <1>; - regulator-always-on; - qcom,system-load = <100000>; - status = "okay"; - }; - - /* Output of PMA8084 L1 and L11 is tied together. */ - pma8084_l1: regulator@4000 { - parent-supply = <&pma8084_s3>; - regulator-min-microvolt = <1225000>; - regulator-max-microvolt = <1225000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - regulator-always-on; - qcom,system-load = <10000>; - status = "okay"; - }; - - pma8084_l2: regulator@4100 { - parent-supply = <&pma8084_s3>; - regulator-min-microvolt = <1200000>; - regulator-max-microvolt = <1200000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l3: regulator@4200 { - parent-supply = <&pma8084_s3>; - regulator-min-microvolt = <1225000>; - regulator-max-microvolt = <1225000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l4: regulator@4300 { - parent-supply = <&pma8084_s3>; - regulator-min-microvolt = <1000000>; - regulator-max-microvolt = <1000000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l6: regulator@4500 { - parent-supply = <&pma8084_s5>; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l8: regulator@4700 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l9: regulator@4800 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l10: regulator@4900 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l12: regulator@4b00 { - parent-supply = <&pma8084_s5>; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l13: regulator@4c00 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <2950000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l14: regulator@4d00 { - parent-supply = <&pma8084_s5>; - regulator-min-microvolt = <1225000>; - regulator-max-microvolt = <1225000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l15: regulator@4e00 { - parent-supply = <&pma8084_s5>; - regulator-min-microvolt = <1200000>; - regulator-max-microvolt = <1200000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l16: regulator@4f00 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l17: regulator@5000 { - regulator-min-microvolt = <2800000>; - regulator-max-microvolt = <2800000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l18: regulator@5100 { - regulator-min-microvolt = <2850000>; - regulator-max-microvolt = <2850000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l19: regulator@5200 { - regulator-min-microvolt = <2950000>; - regulator-max-microvolt = <2950000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l20: regulator@5300 { - regulator-min-microvolt = <2950000>; - regulator-max-microvolt = <2950000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l21: regulator@5400 { - regulator-min-microvolt = <2950000>; - regulator-max-microvolt = <2950000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l22: regulator@5500 { - regulator-min-microvolt = <3000000>; - regulator-max-microvolt = <3000000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l23: regulator@5600 { - regulator-min-microvolt = <2700000>; - regulator-max-microvolt = <2700000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l24: regulator@5700 { - regulator-min-microvolt = <3075000>; - regulator-max-microvolt = <3075000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l25: regulator@5800 { - regulator-min-microvolt = <2100000>; - regulator-max-microvolt = <2100000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l26: regulator@5900 { - parent-supply = <&pma8084_s5>; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l27: regulator@5a00 { - parent-supply = <&pma8084_s3>; - regulator-min-microvolt = <1050000>; - regulator-max-microvolt = <1050000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_lvs1: regulator@8000 { - parent-supply = <&pma8084_s4>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_lvs2: regulator@8100 { - parent-supply = <&pma8084_s4>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_lvs3: regulator@8200 { - parent-supply = <&pma8084_s4>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_lvs4: regulator@8300 { - parent-supply = <&pma8084_s4>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_mvs1: regulator@8400 { - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - }; -}; - -&rpm_bus { - rpm-regulator-smpb1 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "smpb"; - qcom,resource-id = <1>; - qcom,regulator-type = <1>; - qcom,hpm-min-load = <100000>; - - pma8084_s1_ao: regulator-s1-ao { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8084_s1_ao"; - qcom,set = <1>; - regulator-min-microvolt = <675000>; - regulator-max-microvolt = <1050000>; - }; - }; - - rpm-regulator-smpb2 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "smpb"; - qcom,resource-id = <2>; - qcom,regulator-type = <1>; - qcom,hpm-min-load = <100000>; - - pma8084_s2_corner_ao: regulator-s2-corner-ao { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8084_s2_corner_ao"; - qcom,set = <1>; - regulator-min-microvolt = <1>; - regulator-max-microvolt = <7>; - qcom,use-voltage-corner; - }; - }; - - rpm-regulator-ldoa12 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <12>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - - pma8084_l12_ao: regulator-l12-ao { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8084_l12_ao"; - qcom,set = <1>; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/apq8084-sim.dts b/kernel/arch/arm/boot/dts/m7350-un-v2/apq8084-sim.dts deleted file mode 100644 index e206d4dd0..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/apq8084-sim.dts +++ /dev/null @@ -1,173 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; - -/include/ "apq8084.dtsi" - -/ { - model = "Qualcomm APQ 8084 Simulator"; - compatible = "qcom,apq8084-sim", "qcom,apq8084", "qcom,sim"; - qcom,msm-id = <178 0 0>; - - aliases { - serial0 = &uart0; - }; -}; - -&soc { - uart0: serial@f991f000 { - status = "ok"; - }; -}; - -&sdcc1 { - qcom,vdd-always-on; - qcom,vdd-lpm-sup; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <800 500000>; - - qcom,vdd-io-always-on; - qcom,vdd-io-voltage-level = <1800000 1800000>; - qcom,vdd-io-current-level = <250 154000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 20000000 25000000 50000000 100000000 200000000>; - qcom,sup-voltages = <2950 2950>; - qcom,nonremovable; - qcom,bus-speed-mode = "HS200_1p8v", "DDR_1p8v"; - - status = "ok"; -}; - -&sdcc2 { - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <9000 800000>; - qcom,vdd-io-voltage-level = <1800000 2950000>; - qcom,vdd-io-current-level = <6 22000>; - qcom,vdd-io-lpm-sup; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 20000000 25000000 50000000 100000000 200000000>; - qcom,sup-voltages = <2950 2950>; - qcom,xpc; - qcom,bus-speed-mode = "SDR12", "SDR25", "SDR50", "DDR50", "SDR104"; - qcom,current-limit = <800>; - - status = "ok"; -}; - -&pma8084_gpios { - gpio@c000 { /* GPIO 1 */ - }; - - gpio@c100 { /* GPIO 2 */ - }; - - gpio@c200 { /* GPIO 3 */ - }; - - gpio@c300 { /* GPIO 4 */ - }; - - gpio@c400 { /* GPIO 5 */ - }; - - gpio@c500 { /* GPIO 6 */ - }; - - gpio@c600 { /* GPIO 7 */ - }; - - gpio@c700 { /* GPIO 8 */ - }; - - gpio@c800 { /* GPIO 9 */ - }; - - gpio@c900 { /* GPIO 10 */ - }; - - gpio@ca00 { /* GPIO 11 */ - }; - - gpio@cb00 { /* GPIO 12 */ - }; - - gpio@cc00 { /* GPIO 13 */ - }; - - gpio@cd00 { /* GPIO 14 */ - }; - - gpio@ce00 { /* GPIO 15 */ - }; - - gpio@cf00 { /* GPIO 16 */ - }; - - gpio@d000 { /* GPIO 17 */ - }; - - gpio@d100 { /* GPIO 18 */ - }; - - gpio@d200 { /* GPIO 19 */ - }; - - gpio@d300 { /* GPIO 20 */ - }; - - gpio@d400 { /* GPIO 21 */ - }; - - gpio@d500 { /* GPIO 22 */ - }; -}; - -&pma8084_mpps { - mpp@a000 { /* MPP 1 */ - }; - - mpp@a100 { /* MPP 2 */ - }; - - mpp@a200 { /* MPP 3 */ - }; - - mpp@a300 { /* MPP 4 */ - }; - - mpp@a400 { /* MPP 5 */ - }; - - mpp@a500 { /* MPP 6 */ - }; - - mpp@a600 { /* MPP 7 */ - }; - - mpp@a700 { /* MPP 8 */ - }; -}; - -&usb3 { - qcom,skip-charger-detection; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/apq8084-smp2p.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v2/apq8084-smp2p.dtsi deleted file mode 100644 index b1d21ffd7..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/apq8084-smp2p.dtsi +++ /dev/null @@ -1,82 +0,0 @@ -/* Copyright (c) 2013, 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. - */ -&soc { - qcom,smp2p-adsp { - compatible = "qcom,smp2p"; - reg = <0xf9011008 0x4>; - qcom,remote-pid = <2>; - qcom,irq-bitmask = <0x400>; - interrupts = <0 158 1>; - }; - - smp2pgpio_smp2p_7_in: qcom,smp2pgpio-smp2p-7-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <7>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_7_in { - compatible = "qcom,smp2pgpio_test_smp2p_7_in"; - gpios = <&smp2pgpio_smp2p_7_in 0 0>; - }; - - smp2pgpio_smp2p_7_out: qcom,smp2pgpio-smp2p-7-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <7>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_7_out { - compatible = "qcom,smp2pgpio_test_smp2p_7_out"; - gpios = <&smp2pgpio_smp2p_7_out 0 0>; - }; - - smp2pgpio_smp2p_2_in: qcom,smp2pgpio-smp2p-2-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <2>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_2_in { - compatible = "qcom,smp2pgpio_test_smp2p_2_in"; - gpios = <&smp2pgpio_smp2p_2_in 0 0>; - }; - - smp2pgpio_smp2p_2_out: qcom,smp2pgpio-smp2p-2-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <2>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_2_out { - compatible = "qcom,smp2pgpio_test_smp2p_2_out"; - gpios = <&smp2pgpio_smp2p_2_out 0 0>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/apq8084.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v2/apq8084.dtsi deleted file mode 100644 index b39f5690a..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/apq8084.dtsi +++ /dev/null @@ -1,276 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/include/ "skeleton64.dtsi" - -/ { - model = "Qualcomm APQ 8084"; - compatible = "qcom,apq8084"; - interrupt-parent = <&intc>; - soc: soc { }; -}; - -/include/ "apq8084-ion.dtsi" -/include/ "apq8084-smp2p.dtsi" - -&soc { - #address-cells = <1>; - #size-cells = <1>; - ranges = <0 0 0 0xffffffff>; - - intc: interrupt-controller@f9000000 { - compatible = "qcom,msm-qgic2"; - interrupt-controller; - #interrupt-cells = <3>; - reg = <0xF9000000 0x1000>, - <0xF9002000 0x1000>; - }; - - msmgpio: gpio@fd510000 { - compatible = "qcom,msm-gpio"; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - reg = <0xfd510000 0x4000>; - ngpio = <146>; - interrupts = <0 208 0>; - qcom,direct-connect-irqs = <8>; - }; - - timer { - compatible = "arm,armv7-timer"; - interrupts = <1 2 0 1 3 0>; - clock-frequency = <19200000>; - }; - - serial@f991f000 { - compatible = "qcom,msm-lsuart-v14"; - reg = <0xf991f000 0x1000>; - interrupts = <0 109 0>; - status = "disabled"; - }; - - qcom,cache_erp { - compatible = "qcom,cache_erp"; - interrupts = <1 9 0>, <0 2 0>; - interrupt-names = "l1_irq", "l2_irq"; - }; - - qcom,cache_dump { - compatible = "qcom,cache_dump"; - qcom,l1-dump-size = <0x100000>; - qcom,l2-dump-size = <0x500000>; - qcom,memory-reservation-type = "EBI1"; - qcom,memory-reservation-size = <0x600000>; /* 6M EBI1 buffer */ - }; - - rpm_bus: qcom,rpm-smd { - compatible = "qcom,rpm-smd"; - rpm-channel-name = "rpm_requests"; - rpm-channel-type = <15>; /* SMD_APPS_RPM */ - rpm-standalone; - }; - - qcom,msm-imem@fe805000 { - compatible = "qcom,msm-imem"; - reg = <0xfe805000 0x1000>; /* Address and size of IMEM */ - }; - - qcom,msm-rtb { - compatible = "qcom,msm-rtb"; - qcom,memory-reservation-type = "EBI1"; - qcom,memory-reservation-size = <0x100000>; /* 1M EBI1 buffer */ - }; - - sdcc1: qcom,sdcc@f9824000 { - cell-index = <1>; /* SDC1 eMMC slot */ - compatible = "qcom,msm-sdcc"; - reg = <0xf9824000 0x800>; - reg-names = "core_mem"; - interrupts = <0 123 0>; - interrupt-names = "core_irq"; - - qcom,bus-width = <8>; - status = "disabled"; - }; - - sdcc2: qcom,sdcc@f98a4000 { - cell-index = <2>; /* SDC2 SD card slot */ - compatible = "qcom,msm-sdcc"; - reg = <0xf98a4000 0x800>; - reg-names = "core_mem"; - interrupts = <0 125 0>; - interrupt-names = "core_irq"; - - - qcom,bus-width = <4>; - status = "disabled"; - }; - - qcom,sps@f9980000 { - compatible = "qcom,msm_sps"; - reg = <0xf9984000 0x15000>, - <0xf9999000 0xb000>; - interrupts = <0 94 0>; - qcom,pipe-attr-ee; - }; - - spmi_bus: qcom,spmi@fc4c0000 { - cell-index = <0>; - 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,not-wakeup; - qcom,pmic-arb-ee = <0>; - qcom,pmic-arb-channel = <0>; - #address-cells = <1>; - #size-cells = <0>; - interrupt-controller; - #interrupt-cells = <3>; - }; - - i2c_0: i2c@f9925000 { /* BLSP1 QUP3 */ - cell-index = <0>; - compatible = "qcom,i2c-qup"; - #address-cells = <1>; - #size-cells = <0>; - reg-names = "qup_phys_addr"; - reg = <0xf9925000 0x1000>; - interrupt-names = "qup_err_intr"; - interrupts = <0 97 0>; - qcom,i2c-bus-freq = <100000>; - qcom,i2c-src-freq = <50000000>; - qcom,sda-gpio = <&msmgpio 10 0>; - qcom,scl-gpio = <&msmgpio 11 0>; - }; - - usb3: qcom,ssusb@f9200000 { - compatible = "qcom,dwc-usb3-msm"; - reg = <0xf9200000 0xfc000>, - <0xfd4ab000 0x4>; - #address-cells = <1>; - #size-cells = <1>; - ranges; - interrupts = <0 133 0>; - interrupt-names = "hs_phy_irq"; - ssusb_vdd_dig-supply = <&pma8084_s1>; - SSUSB_1p8-supply = <&pma8084_l6>; - hsusb_vdd_dig-supply = <&pma8084_s1>; - HSUSB_1p8-supply = <&pma8084_l6>; - HSUSB_3p3-supply = <&pma8084_l24>; - qcom,dwc-usb3-msm-dbm-eps = <4>; - qcom,vdd-voltage-level = <0 900000 1050000>; - - dwc3@f9200000 { - compatible = "synopsys,dwc3"; - reg = <0xf9200000 0xfc000>; - interrupt-parent = <&intc>; - interrupts = <0 131 0>, <0 179 0>; - interrupt-names = "irq", "otg_irq"; - tx-fifo-resize; - }; - }; - - android_usb { - compatible = "qcom,android-usb"; - }; - - 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>; - - partition@0 { - reg = <0x0 0x180000>; - qcom,ocmem-part-name = "graphics"; - qcom,ocmem-part-min = <0x80000>; - }; - - partition@80000 { - reg = <0x180000 0x80000>; - qcom,ocmem-part-name = "lp_audio"; - qcom,ocmem-part-min = <0x80000>; - }; - - partition@100000 { - reg = <0x180000 0x80000>; - qcom,ocmem-part-name = "video"; - qcom,ocmem-part-min = <0x55000>; - }; - - }; - - memory_hole: qcom,msm-mem-hole { - compatible = "qcom,msm-mem-hole"; - qcom,memblock-remove = <0x0dc00000 0x2000000>; /* Address and Size of Hole */ - }; - - qcom,ipc-spinlock@fd484000 { - compatible = "qcom,ipc-spinlock-sfpb"; - reg = <0xfd484000 0x400>; - qcom,num-locks = <8>; - }; - - qcom,smem@fa00000 { - compatible = "qcom,smem"; - reg = <0xfa00000 0x200000>, - <0xf9011000 0x1000>, - <0xfc428000 0x4000>; - reg-names = "smem", "irq-reg-base", "aux-mem1"; - - qcom,smd-adsp { - compatible = "qcom,smd"; - qcom,smd-edge = <1>; - qcom,smd-irq-offset = <0x8>; - qcom,smd-irq-bitmask = <0x100>; - qcom,pil-string = "adsp"; - interrupts = <0 156 1>; - }; - - qcom,smsm-adsp { - compatible = "qcom,smsm"; - qcom,smsm-edge = <1>; - qcom,smsm-irq-offset = <0x8>; - qcom,smsm-irq-bitmask = <0x200>; - interrupts = <0 157 1>; - }; - - qcom,smd-rpm { - compatible = "qcom,smd"; - qcom,smd-edge = <15>; - qcom,smd-irq-offset = <0x8>; - qcom,smd-irq-bitmask = <0x1>; - interrupts = <0 168 1>; - qcom,irq-no-suspend; - }; - }; -}; - -/include/ "msm-pma8084.dtsi" -/include/ "apq8084-regulator.dtsi" diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/at91sam9g20.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v2/at91sam9g20.dtsi deleted file mode 100644 index 773ef4840..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/at91sam9g20.dtsi +++ /dev/null @@ -1,238 +0,0 @@ -/* - * at91sam9g20.dtsi - Device Tree Include file for AT91SAM9G20 family SoC - * - * Copyright (C) 2011 Atmel, - * 2011 Nicolas Ferre , - * 2011 Jean-Christophe PLAGNIOL-VILLARD - * - * Licensed under GPLv2 or later. - */ - -/include/ "skeleton.dtsi" - -/ { - model = "Atmel AT91SAM9G20 family SoC"; - compatible = "atmel,at91sam9g20"; - interrupt-parent = <&aic>; - - aliases { - serial0 = &dbgu; - serial1 = &usart0; - serial2 = &usart1; - serial3 = &usart2; - serial4 = &usart3; - serial5 = &usart4; - serial6 = &usart5; - gpio0 = &pioA; - gpio1 = &pioB; - gpio2 = &pioC; - tcb0 = &tcb0; - tcb1 = &tcb1; - }; - cpus { - cpu@0 { - compatible = "arm,arm926ejs"; - }; - }; - - memory { - reg = <0x20000000 0x08000000>; - }; - - ahb { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - - apb { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - - aic: interrupt-controller@fffff000 { - #interrupt-cells = <2>; - compatible = "atmel,at91rm9200-aic"; - interrupt-controller; - reg = <0xfffff000 0x200>; - }; - - ramc0: ramc@ffffea00 { - compatible = "atmel,at91sam9260-sdramc"; - reg = <0xffffea00 0x200>; - }; - - pmc: pmc@fffffc00 { - compatible = "atmel,at91rm9200-pmc"; - reg = <0xfffffc00 0x100>; - }; - - rstc@fffffd00 { - compatible = "atmel,at91sam9260-rstc"; - reg = <0xfffffd00 0x10>; - }; - - shdwc@fffffd10 { - compatible = "atmel,at91sam9260-shdwc"; - reg = <0xfffffd10 0x10>; - }; - - pit: timer@fffffd30 { - compatible = "atmel,at91sam9260-pit"; - reg = <0xfffffd30 0xf>; - interrupts = <1 4>; - }; - - tcb0: timer@fffa0000 { - compatible = "atmel,at91rm9200-tcb"; - reg = <0xfffa0000 0x100>; - interrupts = <17 4 18 4 19 4>; - }; - - tcb1: timer@fffdc000 { - compatible = "atmel,at91rm9200-tcb"; - reg = <0xfffdc000 0x100>; - interrupts = <26 4 27 4 28 4>; - }; - - pioA: gpio@fffff400 { - compatible = "atmel,at91rm9200-gpio"; - reg = <0xfffff400 0x100>; - interrupts = <2 4>; - #gpio-cells = <2>; - gpio-controller; - interrupt-controller; - }; - - pioB: gpio@fffff600 { - compatible = "atmel,at91rm9200-gpio"; - reg = <0xfffff600 0x100>; - interrupts = <3 4>; - #gpio-cells = <2>; - gpio-controller; - interrupt-controller; - }; - - pioC: gpio@fffff800 { - compatible = "atmel,at91rm9200-gpio"; - reg = <0xfffff800 0x100>; - interrupts = <4 4>; - #gpio-cells = <2>; - gpio-controller; - interrupt-controller; - }; - - dbgu: serial@fffff200 { - compatible = "atmel,at91sam9260-usart"; - reg = <0xfffff200 0x200>; - interrupts = <1 4>; - status = "disabled"; - }; - - usart0: serial@fffb0000 { - compatible = "atmel,at91sam9260-usart"; - reg = <0xfffb0000 0x200>; - interrupts = <6 4>; - atmel,use-dma-rx; - atmel,use-dma-tx; - status = "disabled"; - }; - - usart1: serial@fffb4000 { - compatible = "atmel,at91sam9260-usart"; - reg = <0xfffb4000 0x200>; - interrupts = <7 4>; - atmel,use-dma-rx; - atmel,use-dma-tx; - status = "disabled"; - }; - - usart2: serial@fffb8000 { - compatible = "atmel,at91sam9260-usart"; - reg = <0xfffb8000 0x200>; - interrupts = <8 4>; - atmel,use-dma-rx; - atmel,use-dma-tx; - status = "disabled"; - }; - - usart3: serial@fffd0000 { - compatible = "atmel,at91sam9260-usart"; - reg = <0xfffd0000 0x200>; - interrupts = <23 4>; - atmel,use-dma-rx; - atmel,use-dma-tx; - status = "disabled"; - }; - - usart4: serial@fffd4000 { - compatible = "atmel,at91sam9260-usart"; - reg = <0xfffd4000 0x200>; - interrupts = <24 4>; - atmel,use-dma-rx; - atmel,use-dma-tx; - status = "disabled"; - }; - - usart5: serial@fffd8000 { - compatible = "atmel,at91sam9260-usart"; - reg = <0xfffd8000 0x200>; - interrupts = <25 4>; - atmel,use-dma-rx; - atmel,use-dma-tx; - status = "disabled"; - }; - - macb0: ethernet@fffc4000 { - compatible = "cdns,at32ap7000-macb", "cdns,macb"; - reg = <0xfffc4000 0x100>; - interrupts = <21 4>; - status = "disabled"; - }; - - usb1: gadget@fffa4000 { - compatible = "atmel,at91rm9200-udc"; - reg = <0xfffa4000 0x4000>; - interrupts = <10 4>; - status = "disabled"; - }; - }; - - nand0: nand@40000000 { - compatible = "atmel,at91rm9200-nand"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0x40000000 0x10000000 - 0xffffe800 0x200 - >; - atmel,nand-addr-offset = <21>; - atmel,nand-cmd-offset = <22>; - gpios = <&pioC 13 0 - &pioC 14 0 - 0 - >; - status = "disabled"; - }; - - usb0: ohci@00500000 { - compatible = "atmel,at91rm9200-ohci", "usb-ohci"; - reg = <0x00500000 0x100000>; - interrupts = <20 4>; - status = "disabled"; - }; - }; - - i2c@0 { - compatible = "i2c-gpio"; - gpios = <&pioA 23 0 /* sda */ - &pioA 24 0 /* scl */ - >; - i2c-gpio,sda-open-drain; - i2c-gpio,scl-open-drain; - i2c-gpio,delay-us = <2>; /* ~100 kHz */ - #address-cells = <1>; - #size-cells = <0>; - status = "disabled"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/at91sam9g25ek.dts b/kernel/arch/arm/boot/dts/m7350-un-v2/at91sam9g25ek.dts deleted file mode 100644 index 7829a4d0c..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/at91sam9g25ek.dts +++ /dev/null @@ -1,49 +0,0 @@ -/* - * at91sam9g25ek.dts - Device Tree file for AT91SAM9G25-EK board - * - * Copyright (C) 2012 Atmel, - * 2012 Nicolas Ferre - * - * Licensed under GPLv2 or later. - */ -/dts-v1/; -/include/ "at91sam9x5.dtsi" -/include/ "at91sam9x5cm.dtsi" - -/ { - model = "Atmel AT91SAM9G25-EK"; - compatible = "atmel,at91sam9g25ek", "atmel,at91sam9x5ek", "atmel,at91sam9x5", "atmel,at91sam9"; - - chosen { - bootargs = "128M console=ttyS0,115200 root=/dev/mtdblock1 rw rootfstype=ubifs ubi.mtd=1 root=ubi0:rootfs"; - }; - - ahb { - apb { - dbgu: serial@fffff200 { - status = "okay"; - }; - - usart0: serial@f801c000 { - status = "okay"; - }; - - macb0: ethernet@f802c000 { - phy-mode = "rmii"; - status = "okay"; - }; - }; - - usb0: ohci@00600000 { - status = "okay"; - num-ports = <2>; - atmel,vbus-gpio = <&pioD 19 1 - &pioD 20 1 - >; - }; - - usb1: ehci@00700000 { - status = "okay"; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/at91sam9g45.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v2/at91sam9g45.dtsi deleted file mode 100644 index c8042147e..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/at91sam9g45.dtsi +++ /dev/null @@ -1,247 +0,0 @@ -/* - * at91sam9g45.dtsi - Device Tree Include file for AT91SAM9G45 family SoC - * applies to AT91SAM9G45, AT91SAM9M10, - * AT91SAM9G46, AT91SAM9M11 SoC - * - * Copyright (C) 2011 Atmel, - * 2011 Nicolas Ferre - * - * Licensed under GPLv2 or later. - */ - -/include/ "skeleton.dtsi" - -/ { - model = "Atmel AT91SAM9G45 family SoC"; - compatible = "atmel,at91sam9g45"; - interrupt-parent = <&aic>; - - aliases { - serial0 = &dbgu; - serial1 = &usart0; - serial2 = &usart1; - serial3 = &usart2; - serial4 = &usart3; - gpio0 = &pioA; - gpio1 = &pioB; - gpio2 = &pioC; - gpio3 = &pioD; - gpio4 = &pioE; - tcb0 = &tcb0; - tcb1 = &tcb1; - }; - cpus { - cpu@0 { - compatible = "arm,arm926ejs"; - }; - }; - - memory { - reg = <0x70000000 0x10000000>; - }; - - ahb { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - - apb { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - - aic: interrupt-controller@fffff000 { - #interrupt-cells = <2>; - compatible = "atmel,at91rm9200-aic"; - interrupt-controller; - reg = <0xfffff000 0x200>; - }; - - ramc0: ramc@ffffe400 { - compatible = "atmel,at91sam9g45-ddramc"; - reg = <0xffffe400 0x200 - 0xffffe600 0x200>; - }; - - pmc: pmc@fffffc00 { - compatible = "atmel,at91rm9200-pmc"; - reg = <0xfffffc00 0x100>; - }; - - rstc@fffffd00 { - compatible = "atmel,at91sam9g45-rstc"; - reg = <0xfffffd00 0x10>; - }; - - pit: timer@fffffd30 { - compatible = "atmel,at91sam9260-pit"; - reg = <0xfffffd30 0xf>; - interrupts = <1 4>; - }; - - - shdwc@fffffd10 { - compatible = "atmel,at91sam9rl-shdwc"; - reg = <0xfffffd10 0x10>; - }; - - tcb0: timer@fff7c000 { - compatible = "atmel,at91rm9200-tcb"; - reg = <0xfff7c000 0x100>; - interrupts = <18 4>; - }; - - tcb1: timer@fffd4000 { - compatible = "atmel,at91rm9200-tcb"; - reg = <0xfffd4000 0x100>; - interrupts = <18 4>; - }; - - dma: dma-controller@ffffec00 { - compatible = "atmel,at91sam9g45-dma"; - reg = <0xffffec00 0x200>; - interrupts = <21 4>; - }; - - pioA: gpio@fffff200 { - compatible = "atmel,at91rm9200-gpio"; - reg = <0xfffff200 0x100>; - interrupts = <2 4>; - #gpio-cells = <2>; - gpio-controller; - interrupt-controller; - }; - - pioB: gpio@fffff400 { - compatible = "atmel,at91rm9200-gpio"; - reg = <0xfffff400 0x100>; - interrupts = <3 4>; - #gpio-cells = <2>; - gpio-controller; - interrupt-controller; - }; - - pioC: gpio@fffff600 { - compatible = "atmel,at91rm9200-gpio"; - reg = <0xfffff600 0x100>; - interrupts = <4 4>; - #gpio-cells = <2>; - gpio-controller; - interrupt-controller; - }; - - pioD: gpio@fffff800 { - compatible = "atmel,at91rm9200-gpio"; - reg = <0xfffff800 0x100>; - interrupts = <5 4>; - #gpio-cells = <2>; - gpio-controller; - interrupt-controller; - }; - - pioE: gpio@fffffa00 { - compatible = "atmel,at91rm9200-gpio"; - reg = <0xfffffa00 0x100>; - interrupts = <5 4>; - #gpio-cells = <2>; - gpio-controller; - interrupt-controller; - }; - - dbgu: serial@ffffee00 { - compatible = "atmel,at91sam9260-usart"; - reg = <0xffffee00 0x200>; - interrupts = <1 4>; - status = "disabled"; - }; - - usart0: serial@fff8c000 { - compatible = "atmel,at91sam9260-usart"; - reg = <0xfff8c000 0x200>; - interrupts = <7 4>; - atmel,use-dma-rx; - atmel,use-dma-tx; - status = "disabled"; - }; - - usart1: serial@fff90000 { - compatible = "atmel,at91sam9260-usart"; - reg = <0xfff90000 0x200>; - interrupts = <8 4>; - atmel,use-dma-rx; - atmel,use-dma-tx; - status = "disabled"; - }; - - usart2: serial@fff94000 { - compatible = "atmel,at91sam9260-usart"; - reg = <0xfff94000 0x200>; - interrupts = <9 4>; - atmel,use-dma-rx; - atmel,use-dma-tx; - status = "disabled"; - }; - - usart3: serial@fff98000 { - compatible = "atmel,at91sam9260-usart"; - reg = <0xfff98000 0x200>; - interrupts = <10 4>; - atmel,use-dma-rx; - atmel,use-dma-tx; - status = "disabled"; - }; - - macb0: ethernet@fffbc000 { - compatible = "cdns,at32ap7000-macb", "cdns,macb"; - reg = <0xfffbc000 0x100>; - interrupts = <25 4>; - status = "disabled"; - }; - }; - - nand0: nand@40000000 { - compatible = "atmel,at91rm9200-nand"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0x40000000 0x10000000 - 0xffffe200 0x200 - >; - atmel,nand-addr-offset = <21>; - atmel,nand-cmd-offset = <22>; - gpios = <&pioC 8 0 - &pioC 14 0 - 0 - >; - status = "disabled"; - }; - - usb0: ohci@00700000 { - compatible = "atmel,at91rm9200-ohci", "usb-ohci"; - reg = <0x00700000 0x100000>; - interrupts = <22 4>; - status = "disabled"; - }; - - usb1: ehci@00800000 { - compatible = "atmel,at91sam9g45-ehci", "usb-ehci"; - reg = <0x00800000 0x100000>; - interrupts = <22 4>; - status = "disabled"; - }; - }; - - i2c@0 { - compatible = "i2c-gpio"; - gpios = <&pioA 20 0 /* sda */ - &pioA 21 0 /* scl */ - >; - i2c-gpio,sda-open-drain; - i2c-gpio,scl-open-drain; - i2c-gpio,delay-us = <5>; /* ~100 kHz */ - #address-cells = <1>; - #size-cells = <0>; - status = "disabled"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/at91sam9m10g45ek.dts b/kernel/arch/arm/boot/dts/m7350-un-v2/at91sam9m10g45ek.dts deleted file mode 100644 index a3633bd13..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/at91sam9m10g45ek.dts +++ /dev/null @@ -1,156 +0,0 @@ -/* - * at91sam9m10g45ek.dts - Device Tree file for AT91SAM9M10G45-EK board - * - * Copyright (C) 2011 Atmel, - * 2011 Nicolas Ferre - * - * Licensed under GPLv2 or later. - */ -/dts-v1/; -/include/ "at91sam9g45.dtsi" - -/ { - model = "Atmel AT91SAM9M10G45-EK"; - compatible = "atmel,at91sam9m10g45ek", "atmel,at91sam9g45", "atmel,at91sam9"; - - chosen { - bootargs = "mem=64M console=ttyS0,115200 root=/dev/mtdblock1 rw rootfstype=jffs2"; - }; - - memory { - reg = <0x70000000 0x4000000>; - }; - - clocks { - #address-cells = <1>; - #size-cells = <1>; - ranges; - - main_clock: clock@0 { - compatible = "atmel,osc", "fixed-clock"; - clock-frequency = <12000000>; - }; - }; - - ahb { - apb { - dbgu: serial@ffffee00 { - status = "okay"; - }; - - usart1: serial@fff90000 { - status = "okay"; - }; - - macb0: ethernet@fffbc000 { - phy-mode = "rmii"; - status = "okay"; - }; - }; - - nand0: nand@40000000 { - nand-bus-width = <8>; - nand-ecc-mode = "soft"; - nand-on-flash-bbt; - status = "okay"; - - boot@0 { - label = "bootstrap/uboot/kernel"; - reg = <0x0 0x400000>; - }; - - rootfs@400000 { - label = "rootfs"; - reg = <0x400000 0x3C00000>; - }; - - data@4000000 { - label = "data"; - reg = <0x4000000 0xC000000>; - }; - }; - - usb0: ohci@00700000 { - status = "okay"; - num-ports = <2>; - atmel,vbus-gpio = <&pioD 1 1 - &pioD 3 1>; - }; - - usb1: ehci@00800000 { - status = "okay"; - }; - }; - - leds { - compatible = "gpio-leds"; - - d8 { - label = "d8"; - gpios = <&pioD 30 0>; - linux,default-trigger = "heartbeat"; - }; - - d6 { - label = "d6"; - gpios = <&pioD 0 1>; - linux,default-trigger = "nand-disk"; - }; - - d7 { - label = "d7"; - gpios = <&pioD 31 1>; - linux,default-trigger = "mmc0"; - }; - }; - - gpio_keys { - compatible = "gpio-keys"; - #address-cells = <1>; - #size-cells = <0>; - - left_click { - label = "left_click"; - gpios = <&pioB 6 1>; - linux,code = <272>; - gpio-key,wakeup; - }; - - right_click { - label = "right_click"; - gpios = <&pioB 7 1>; - linux,code = <273>; - gpio-key,wakeup; - }; - - left { - label = "Joystick Left"; - gpios = <&pioB 14 1>; - linux,code = <105>; - }; - - right { - label = "Joystick Right"; - gpios = <&pioB 15 1>; - linux,code = <106>; - }; - - up { - label = "Joystick Up"; - gpios = <&pioB 16 1>; - linux,code = <103>; - }; - - down { - label = "Joystick Down"; - gpios = <&pioB 17 1>; - linux,code = <108>; - }; - - enter { - label = "Joystick Press"; - gpios = <&pioB 18 1>; - linux,code = <28>; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/at91sam9x5.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v2/at91sam9x5.dtsi deleted file mode 100644 index dd4ed7484..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/at91sam9x5.dtsi +++ /dev/null @@ -1,263 +0,0 @@ -/* - * at91sam9x5.dtsi - Device Tree Include file for AT91SAM9x5 family SoC - * applies to AT91SAM9G15, AT91SAM9G25, AT91SAM9G35, - * AT91SAM9X25, AT91SAM9X35 SoC - * - * Copyright (C) 2012 Atmel, - * 2012 Nicolas Ferre - * - * Licensed under GPLv2 or later. - */ - -/include/ "skeleton.dtsi" - -/ { - model = "Atmel AT91SAM9x5 family SoC"; - compatible = "atmel,at91sam9x5"; - interrupt-parent = <&aic>; - - aliases { - serial0 = &dbgu; - serial1 = &usart0; - serial2 = &usart1; - serial3 = &usart2; - gpio0 = &pioA; - gpio1 = &pioB; - gpio2 = &pioC; - gpio3 = &pioD; - tcb0 = &tcb0; - tcb1 = &tcb1; - }; - cpus { - cpu@0 { - compatible = "arm,arm926ejs"; - }; - }; - - memory { - reg = <0x20000000 0x10000000>; - }; - - ahb { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - - apb { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - - aic: interrupt-controller@fffff000 { - #interrupt-cells = <2>; - compatible = "atmel,at91rm9200-aic"; - interrupt-controller; - reg = <0xfffff000 0x200>; - }; - - ramc0: ramc@ffffe800 { - compatible = "atmel,at91sam9g45-ddramc"; - reg = <0xffffe800 0x200>; - }; - - pmc: pmc@fffffc00 { - compatible = "atmel,at91rm9200-pmc"; - reg = <0xfffffc00 0x100>; - }; - - rstc@fffffe00 { - compatible = "atmel,at91sam9g45-rstc"; - reg = <0xfffffe00 0x10>; - }; - - shdwc@fffffe10 { - compatible = "atmel,at91sam9x5-shdwc"; - reg = <0xfffffe10 0x10>; - }; - - pit: timer@fffffe30 { - compatible = "atmel,at91sam9260-pit"; - reg = <0xfffffe30 0xf>; - interrupts = <1 4>; - }; - - tcb0: timer@f8008000 { - compatible = "atmel,at91sam9x5-tcb"; - reg = <0xf8008000 0x100>; - interrupts = <17 4>; - }; - - tcb1: timer@f800c000 { - compatible = "atmel,at91sam9x5-tcb"; - reg = <0xf800c000 0x100>; - interrupts = <17 4>; - }; - - dma0: dma-controller@ffffec00 { - compatible = "atmel,at91sam9g45-dma"; - reg = <0xffffec00 0x200>; - interrupts = <20 4>; - }; - - dma1: dma-controller@ffffee00 { - compatible = "atmel,at91sam9g45-dma"; - reg = <0xffffee00 0x200>; - interrupts = <21 4>; - }; - - pioA: gpio@fffff400 { - compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio"; - reg = <0xfffff400 0x100>; - interrupts = <2 4>; - #gpio-cells = <2>; - gpio-controller; - interrupt-controller; - }; - - pioB: gpio@fffff600 { - compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio"; - reg = <0xfffff600 0x100>; - interrupts = <2 4>; - #gpio-cells = <2>; - gpio-controller; - interrupt-controller; - }; - - pioC: gpio@fffff800 { - compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio"; - reg = <0xfffff800 0x100>; - interrupts = <3 4>; - #gpio-cells = <2>; - gpio-controller; - interrupt-controller; - }; - - pioD: gpio@fffffa00 { - compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio"; - reg = <0xfffffa00 0x100>; - interrupts = <3 4>; - #gpio-cells = <2>; - gpio-controller; - interrupt-controller; - }; - - dbgu: serial@fffff200 { - compatible = "atmel,at91sam9260-usart"; - reg = <0xfffff200 0x200>; - interrupts = <1 4>; - status = "disabled"; - }; - - usart0: serial@f801c000 { - compatible = "atmel,at91sam9260-usart"; - reg = <0xf801c000 0x200>; - interrupts = <5 4>; - atmel,use-dma-rx; - atmel,use-dma-tx; - status = "disabled"; - }; - - usart1: serial@f8020000 { - compatible = "atmel,at91sam9260-usart"; - reg = <0xf8020000 0x200>; - interrupts = <6 4>; - atmel,use-dma-rx; - atmel,use-dma-tx; - status = "disabled"; - }; - - usart2: serial@f8024000 { - compatible = "atmel,at91sam9260-usart"; - reg = <0xf8024000 0x200>; - interrupts = <7 4>; - atmel,use-dma-rx; - atmel,use-dma-tx; - status = "disabled"; - }; - - macb0: ethernet@f802c000 { - compatible = "cdns,at32ap7000-macb", "cdns,macb"; - reg = <0xf802c000 0x100>; - interrupts = <24 4>; - status = "disabled"; - }; - - macb1: ethernet@f8030000 { - compatible = "cdns,at32ap7000-macb", "cdns,macb"; - reg = <0xf8030000 0x100>; - interrupts = <27 4>; - status = "disabled"; - }; - }; - - nand0: nand@40000000 { - compatible = "atmel,at91rm9200-nand"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0x40000000 0x10000000 - >; - atmel,nand-addr-offset = <21>; - atmel,nand-cmd-offset = <22>; - gpios = <&pioD 5 0 - &pioD 4 0 - 0 - >; - status = "disabled"; - }; - - usb0: ohci@00600000 { - compatible = "atmel,at91rm9200-ohci", "usb-ohci"; - reg = <0x00600000 0x100000>; - interrupts = <22 4>; - status = "disabled"; - }; - - usb1: ehci@00700000 { - compatible = "atmel,at91sam9g45-ehci", "usb-ehci"; - reg = <0x00700000 0x100000>; - interrupts = <22 4>; - status = "disabled"; - }; - }; - - i2c@0 { - compatible = "i2c-gpio"; - gpios = <&pioA 30 0 /* sda */ - &pioA 31 0 /* scl */ - >; - i2c-gpio,sda-open-drain; - i2c-gpio,scl-open-drain; - i2c-gpio,delay-us = <2>; /* ~100 kHz */ - #address-cells = <1>; - #size-cells = <0>; - status = "disabled"; - }; - - i2c@1 { - compatible = "i2c-gpio"; - gpios = <&pioC 0 0 /* sda */ - &pioC 1 0 /* scl */ - >; - i2c-gpio,sda-open-drain; - i2c-gpio,scl-open-drain; - i2c-gpio,delay-us = <2>; /* ~100 kHz */ - #address-cells = <1>; - #size-cells = <0>; - status = "disabled"; - }; - - i2c@2 { - compatible = "i2c-gpio"; - gpios = <&pioB 4 0 /* sda */ - &pioB 5 0 /* scl */ - >; - i2c-gpio,sda-open-drain; - i2c-gpio,scl-open-drain; - i2c-gpio,delay-us = <2>; /* ~100 kHz */ - #address-cells = <1>; - #size-cells = <0>; - status = "disabled"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/at91sam9x5cm.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v2/at91sam9x5cm.dtsi deleted file mode 100644 index 31e7be237..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/at91sam9x5cm.dtsi +++ /dev/null @@ -1,74 +0,0 @@ -/* - * at91sam9x5cm.dtsi - Device Tree Include file for AT91SAM9x5 CPU Module - * - * Copyright (C) 2012 Atmel, - * 2012 Nicolas Ferre - * - * Licensed under GPLv2 or later. - */ - -/ { - memory { - reg = <0x20000000 0x8000000>; - }; - - clocks { - #address-cells = <1>; - #size-cells = <1>; - ranges; - - main_clock: clock@0 { - compatible = "atmel,osc", "fixed-clock"; - clock-frequency = <12000000>; - }; - }; - - ahb { - nand0: nand@40000000 { - nand-bus-width = <8>; - nand-ecc-mode = "soft"; - nand-on-flash-bbt; - status = "okay"; - - at91bootstrap@0 { - label = "at91bootstrap"; - reg = <0x0 0x40000>; - }; - - uboot@40000 { - label = "u-boot"; - reg = <0x40000 0x80000>; - }; - - ubootenv@c0000 { - label = "U-Boot Env"; - reg = <0xc0000 0x140000>; - }; - - kernel@200000 { - label = "kernel"; - reg = <0x200000 0x600000>; - }; - - rootfs@800000 { - label = "rootfs"; - reg = <0x800000 0x1f800000>; - }; - }; - }; - - leds { - compatible = "gpio-leds"; - - pb18 { - label = "pb18"; - gpios = <&pioB 18 1>; - linux,default-trigger = "heartbeat"; - }; - - pd21 { - label = "pd21"; - gpios = <&pioD 21 0>; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/db8500.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v2/db8500.dtsi deleted file mode 100644 index 14bc30705..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/db8500.dtsi +++ /dev/null @@ -1,274 +0,0 @@ -/* - * Copyright 2012 Linaro Ltd - * - * The code contained herein is licensed under the GNU General Public - * License. You may obtain a copy of the GNU General Public License - * Version 2 or later at the following locations: - * - * http://www.opensource.org/licenses/gpl-license.html - * http://www.gnu.org/copyleft/gpl.html - */ - -/include/ "skeleton.dtsi" - -/ { - soc-u9500 { - #address-cells = <1>; - #size-cells = <1>; - compatible = "stericsson,db8500"; - interrupt-parent = <&intc>; - ranges; - - intc: interrupt-controller@a0411000 { - compatible = "arm,cortex-a9-gic"; - #interrupt-cells = <3>; - #address-cells = <1>; - interrupt-controller; - reg = <0xa0411000 0x1000>, - <0xa0410100 0x100>; - }; - - L2: l2-cache { - compatible = "arm,pl310-cache"; - reg = <0xa0412000 0x1000>; - interrupts = <0 13 4>; - cache-unified; - cache-level = <2>; - }; - - pmu { - compatible = "arm,cortex-a9-pmu"; - interrupts = <0 7 0x4>; - }; - - timer@a0410600 { - compatible = "arm,cortex-a9-twd-timer"; - reg = <0xa0410600 0x20>; - interrupts = <1 13 0x304>; - }; - - rtc@80154000 { - compatible = "stericsson,db8500-rtc"; - reg = <0x80154000 0x1000>; - interrupts = <0 18 0x4>; - }; - - gpio0: gpio@8012e000 { - compatible = "stericsson,db8500-gpio", - "stmicroelectronics,nomadik-gpio"; - reg = <0x8012e000 0x80>; - interrupts = <0 119 0x4>; - supports-sleepmode; - gpio-controller; - }; - - gpio1: gpio@8012e080 { - compatible = "stericsson,db8500-gpio", - "stmicroelectronics,nomadik-gpio"; - reg = <0x8012e080 0x80>; - interrupts = <0 120 0x4>; - supports-sleepmode; - gpio-controller; - }; - - gpio2: gpio@8000e000 { - compatible = "stericsson,db8500-gpio", - "stmicroelectronics,nomadik-gpio"; - reg = <0x8000e000 0x80>; - interrupts = <0 121 0x4>; - supports-sleepmode; - gpio-controller; - }; - - gpio3: gpio@8000e080 { - compatible = "stericsson,db8500-gpio", - "stmicroelectronics,nomadik-gpio"; - reg = <0x8000e080 0x80>; - interrupts = <0 122 0x4>; - supports-sleepmode; - gpio-controller; - }; - - gpio4: gpio@8000e100 { - compatible = "stericsson,db8500-gpio", - "stmicroelectronics,nomadik-gpio"; - reg = <0x8000e100 0x80>; - interrupts = <0 123 0x4>; - supports-sleepmode; - gpio-controller; - }; - - gpio5: gpio@8000e180 { - compatible = "stericsson,db8500-gpio", - "stmicroelectronics,nomadik-gpio"; - reg = <0x8000e180 0x80>; - interrupts = <0 124 0x4>; - supports-sleepmode; - gpio-controller; - }; - - gpio6: gpio@8011e000 { - compatible = "stericsson,db8500-gpio", - "stmicroelectronics,nomadik-gpio"; - reg = <0x8011e000 0x80>; - interrupts = <0 125 0x4>; - supports-sleepmode; - gpio-controller; - }; - - gpio7: gpio@8011e080 { - compatible = "stericsson,db8500-gpio", - "stmicroelectronics,nomadik-gpio"; - reg = <0x8011e080 0x80>; - interrupts = <0 126 0x4>; - supports-sleepmode; - gpio-controller; - }; - - gpio8: gpio@a03fe000 { - compatible = "stericsson,db8500-gpio", - "stmicroelectronics,nomadik-gpio"; - reg = <0xa03fe000 0x80>; - interrupts = <0 127 0x4>; - supports-sleepmode; - gpio-controller; - }; - - usb@a03e0000 { - compatible = "stericsson,db8500-musb", - "mentor,musb"; - reg = <0xa03e0000 0x10000>; - interrupts = <0 23 0x4>; - }; - - dma-controller@801C0000 { - compatible = "stericsson,db8500-dma40", - "stericsson,dma40"; - reg = <0x801C0000 0x1000 0x40010000 0x800>; - interrupts = <0 25 0x4>; - }; - - prcmu@80157000 { - compatible = "stericsson,db8500-prcmu"; - reg = <0x80157000 0x1000>; - interrupts = <46 47>; - #address-cells = <1>; - #size-cells = <0>; - - ab8500@5 { - compatible = "stericsson,ab8500"; - reg = <5>; /* mailbox 5 is i2c */ - interrupts = <0 40 0x4>; - }; - }; - - i2c@80004000 { - compatible = "stericsson,db8500-i2c", "stmicroelectronics,nomadik-i2c"; - reg = <0x80004000 0x1000>; - interrupts = <0 21 0x4>; - #address-cells = <1>; - #size-cells = <0>; - }; - - i2c@80122000 { - compatible = "stericsson,db8500-i2c", "stmicroelectronics,nomadik-i2c"; - reg = <0x80122000 0x1000>; - interrupts = <0 22 0x4>; - #address-cells = <1>; - #size-cells = <0>; - }; - - i2c@80128000 { - compatible = "stericsson,db8500-i2c", "stmicroelectronics,nomadik-i2c"; - reg = <0x80128000 0x1000>; - interrupts = <0 55 0x4>; - #address-cells = <1>; - #size-cells = <0>; - }; - - i2c@80110000 { - compatible = "stericsson,db8500-i2c", "stmicroelectronics,nomadik-i2c"; - reg = <0x80110000 0x1000>; - interrupts = <0 12 0x4>; - #address-cells = <1>; - #size-cells = <0>; - }; - - i2c@8012a000 { - compatible = "stericsson,db8500-i2c", "stmicroelectronics,nomadik-i2c"; - reg = <0x8012a000 0x1000>; - interrupts = <0 51 0x4>; - #address-cells = <1>; - #size-cells = <0>; - }; - - ssp@80002000 { - compatible = "arm,pl022", "arm,primecell"; - reg = <80002000 0x1000>; - interrupts = <0 14 0x4>; - #address-cells = <1>; - #size-cells = <0>; - status = "disabled"; - - // Add one of these for each child device - cs-gpios = <&gpio0 31 &gpio4 14 &gpio4 16 &gpio6 22 &gpio7 0>; - - }; - - uart@80120000 { - compatible = "arm,pl011", "arm,primecell"; - reg = <0x80120000 0x1000>; - interrupts = <0 11 0x4>; - status = "disabled"; - }; - uart@80121000 { - compatible = "arm,pl011", "arm,primecell"; - reg = <0x80121000 0x1000>; - interrupts = <0 19 0x4>; - status = "disabled"; - }; - uart@80007000 { - compatible = "arm,pl011", "arm,primecell"; - reg = <0x80007000 0x1000>; - interrupts = <0 26 0x4>; - status = "disabled"; - }; - - sdi@80126000 { - compatible = "arm,pl18x", "arm,primecell"; - reg = <0x80126000 0x1000>; - interrupts = <0 60 0x4>; - status = "disabled"; - }; - sdi@80118000 { - compatible = "arm,pl18x", "arm,primecell"; - reg = <0x80118000 0x1000>; - interrupts = <0 50 0x4>; - status = "disabled"; - }; - sdi@80005000 { - compatible = "arm,pl18x", "arm,primecell"; - reg = <0x80005000 0x1000>; - interrupts = <0 41 0x4>; - status = "disabled"; - }; - sdi@80119000 { - compatible = "arm,pl18x", "arm,primecell"; - reg = <0x80119000 0x1000>; - interrupts = <0 59 0x4>; - status = "disabled"; - }; - sdi@80114000 { - compatible = "arm,pl18x", "arm,primecell"; - reg = <0x80114000 0x1000>; - interrupts = <0 99 0x4>; - status = "disabled"; - }; - sdi@80008000 { - compatible = "arm,pl18x", "arm,primecell"; - reg = <0x80114000 0x1000>; - interrupts = <0 100 0x4>; - status = "disabled"; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/dsi-panel-nt35590-720p-cmd.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v2/dsi-panel-nt35590-720p-cmd.dtsi deleted file mode 100644 index 7942567cc..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/dsi-panel-nt35590-720p-cmd.dtsi +++ /dev/null @@ -1,530 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/ { - qcom,mdss_dsi_nt35590_720p_cmd { - compatible = "qcom,mdss-dsi-panel"; - label = "nt35590 720p command mode dsi panel"; - status = "disable"; - qcom,dsi-ctrl-phandle = <&mdss_dsi0>; - qcom,rst-gpio = <&msmgpio 25 0>; - qcom,te-gpio = <&msmgpio 24 0>; - qcom,mdss-pan-res = <720 1280>; - qcom,mdss-pan-bpp = <24>; - qcom,mdss-pan-dest = "display_1"; - qcom,mdss-pan-porch-values = <164 8 140 1 1 6>; - qcom,mdss-pan-underflow-clr = <0xff>; - qcom,mdss-pan-bl-ctrl = "bl_ctrl_wled"; - qcom,mdss-pan-bl-levels = <1 4095>; - qcom,mdss-pan-dsi-mode = <1>; - qcom,mdss-vsync-enable = <1>; - qcom,mdss-hw-vsync-mode = <1>; - qcom,mdss-pan-dsi-h-pulse-mode = <1>; - qcom,mdss-pan-dsi-h-power-stop = <0 0 0>; - qcom,mdss-pan-dsi-bllp-power-stop = <1 1>; - qcom,mdss-pan-dsi-traffic-mode = <2>; - qcom,mdss-pan-dsi-dst-format = <8>; - qcom,mdss-pan-insert-dcs-cmd = <1>; - qcom,mdss-pan-wr-mem-continue = <0x3c>; - qcom,mdss-pan-wr-mem-start = <0x2c>; - qcom,mdss-pan-te-sel = <1>; - qcom,mdss-pan-dsi-vc = <0>; - qcom,mdss-pan-dsi-rgb-swap = <0>; - qcom,mdss-pan-dsi-data-lanes = <1 1 1 1>; /* 4 lanes */ - qcom,mdss-pan-dsi-dlane-swap = <0>; - qcom,mdss-pan-dsi-t-clk = <0x2c 0x20>; - qcom,mdss-pan-dsi-stream = <0>; - qcom,mdss-pan-dsi-mdp-tr = <0x0>; - qcom,mdss-pan-dsi-dma-tr = <0x04>; - qcom,mdss-pan-dsi-frame-rate = <60>; - qcom,panel-phy-regulatorSettings = [07 09 03 00 /* Regualotor settings */ - 20 00 01]; - qcom,panel-phy-timingSettings = [7d 25 1d 00 37 33 - 22 27 1e 03 04 00]; - qcom,panel-phy-strengthCtrl = [ff 06]; - qcom,panel-phy-bistCtrl = [00 00 b1 ff /* BIST Ctrl settings */ - 00 00]; - qcom,panel-phy-laneConfig = [00 00 00 00 00 00 00 01 97 /* lane0 config */ - 00 00 00 00 05 00 00 01 97 /* lane1 config */ - 00 00 00 00 0a 00 00 01 97 /* lane2 config */ - 00 00 00 00 0f 00 00 01 97 /* lane3 config */ - 00 c0 00 00 00 00 00 01 bb]; /* Clk ln config */ - qcom,panel-on-cmds = [29 01 00 00 00 02 FF EE - 29 01 00 00 00 02 26 08 - 29 01 00 00 00 02 26 00 - 29 01 00 00 10 02 FF 00 - 29 01 00 00 00 02 BA 03 - 29 01 00 00 00 02 C2 08 - 29 01 00 00 00 02 FF 01 - 29 01 00 00 00 02 FB 01 - 29 01 00 00 00 02 00 4A - 29 01 00 00 00 02 01 33 - 29 01 00 00 00 02 02 53 - 29 01 00 00 00 02 03 55 - 29 01 00 00 00 02 04 55 - 29 01 00 00 00 02 05 33 - 29 01 00 00 00 02 06 22 - 29 01 00 00 00 02 08 56 - 29 01 00 00 00 02 09 8F - 29 01 00 00 00 02 36 73 - 29 01 00 00 00 02 0B 9F - 29 01 00 00 00 02 0C 9F - 29 01 00 00 00 02 0D 2F - 29 01 00 00 00 02 0E 24 - 29 01 00 00 00 02 11 83 - 29 01 00 00 00 02 12 03 - 29 01 00 00 00 02 71 2C - 29 01 00 00 00 02 6F 03 - 29 01 00 00 00 02 0F 0A - 29 01 00 00 00 02 FF 05 - 29 01 00 00 00 02 FB 01 - 29 01 00 00 00 02 01 00 - 29 01 00 00 00 02 02 8B - 29 01 00 00 00 02 03 82 - 29 01 00 00 00 02 04 82 - 29 01 00 00 00 02 05 30 - 29 01 00 00 00 02 06 33 - 29 01 00 00 00 02 07 01 - 29 01 00 00 00 02 08 00 - 29 01 00 00 00 02 09 46 - 29 01 00 00 00 02 0A 46 - 29 01 00 00 00 02 0D 0B - 29 01 00 00 00 02 0E 1D - 29 01 00 00 00 02 0F 08 - 29 01 00 00 00 02 10 53 - 29 01 00 00 00 02 11 00 - 29 01 00 00 00 02 12 00 - 29 01 00 00 00 02 14 01 - 29 01 00 00 00 02 15 00 - 29 01 00 00 00 02 16 05 - 29 01 00 00 00 02 17 00 - 29 01 00 00 00 02 19 7F - 29 01 00 00 00 02 1A FF - 29 01 00 00 00 02 1B 0F - 29 01 00 00 00 02 1C 00 - 29 01 00 00 00 02 1D 00 - 29 01 00 00 00 02 1E 00 - 29 01 00 00 00 02 1F 07 - 29 01 00 00 00 02 20 00 - 29 01 00 00 00 02 21 06 - 29 01 00 00 00 02 22 55 - 29 01 00 00 00 02 23 4D - 29 01 00 00 00 02 2D 02 - 29 01 00 00 00 02 28 01 - 29 01 00 00 00 02 2F 02 - 29 01 00 00 00 02 83 01 - 29 01 00 00 00 02 9E 58 - 29 01 00 00 00 02 9F 6A - 29 01 00 00 00 02 A0 01 - 29 01 00 00 00 02 A2 10 - 29 01 00 00 00 02 BB 0A - 29 01 00 00 00 02 BC 0A - 29 01 00 00 00 02 32 08 - 29 01 00 00 00 02 33 B8 - 29 01 00 00 00 02 36 01 - 29 01 00 00 00 02 37 00 - 29 01 00 00 00 02 43 00 - 29 01 00 00 00 02 4B 21 - 29 01 00 00 00 02 4C 03 - 29 01 00 00 00 02 50 21 - 29 01 00 00 00 02 51 03 - 29 01 00 00 00 02 58 21 - 29 01 00 00 00 02 59 03 - 29 01 00 00 00 02 5D 21 - 29 01 00 00 00 02 5E 03 - 29 01 00 00 00 02 6C 00 - 29 01 00 00 00 02 6D 00 - 29 01 00 00 00 02 FB 01 - 29 01 00 00 00 02 FF 01 - 29 01 00 00 00 02 FB 01 - 29 01 00 00 00 02 75 00 - 29 01 00 00 00 02 76 7D - 29 01 00 00 00 02 77 00 - 29 01 00 00 00 02 78 8A - 29 01 00 00 00 02 79 00 - 29 01 00 00 00 02 7A 9C - 29 01 00 00 00 02 7B 00 - 29 01 00 00 00 02 7C B1 - 29 01 00 00 00 02 7D 00 - 29 01 00 00 00 02 7E BF - 29 01 00 00 00 02 7F 00 - 29 01 00 00 00 02 80 CF - 29 01 00 00 00 02 81 00 - 29 01 00 00 00 02 82 DD - 29 01 00 00 00 02 83 00 - 29 01 00 00 00 02 84 E8 - 29 01 00 00 00 02 85 00 - 29 01 00 00 00 02 86 F2 - 29 01 00 00 00 02 87 01 - 29 01 00 00 00 02 88 1F - 29 01 00 00 00 02 89 01 - 29 01 00 00 00 02 8A 41 - 29 01 00 00 00 02 8B 01 - 29 01 00 00 00 02 8C 78 - 29 01 00 00 00 02 8D 01 - 29 01 00 00 00 02 8E A5 - 29 01 00 00 00 02 8F 01 - 29 01 00 00 00 02 90 EE - 29 01 00 00 00 02 91 02 - 29 01 00 00 00 02 92 29 - 29 01 00 00 00 02 93 02 - 29 01 00 00 00 02 94 2A - 29 01 00 00 00 02 95 02 - 29 01 00 00 00 02 96 5D - 29 01 00 00 00 02 97 02 - 29 01 00 00 00 02 98 93 - 29 01 00 00 00 02 99 02 - 29 01 00 00 00 02 9A B8 - 29 01 00 00 00 02 9B 02 - 29 01 00 00 00 02 9C E7 - 29 01 00 00 00 02 9D 03 - 29 01 00 00 00 02 9E 07 - 29 01 00 00 00 02 9F 03 - 29 01 00 00 00 02 A0 37 - 29 01 00 00 00 02 A2 03 - 29 01 00 00 00 02 A3 46 - 29 01 00 00 00 02 A4 03 - 29 01 00 00 00 02 A5 56 - 29 01 00 00 00 02 A6 03 - 29 01 00 00 00 02 A7 66 - 29 01 00 00 00 02 A9 03 - 29 01 00 00 00 02 AA 7A - 29 01 00 00 00 02 AB 03 - 29 01 00 00 00 02 AC 93 - 29 01 00 00 00 02 AD 03 - 29 01 00 00 00 02 AE A3 - 29 01 00 00 00 02 AF 03 - 29 01 00 00 00 02 B0 B4 - 29 01 00 00 00 02 B1 03 - 29 01 00 00 00 02 B2 CB - 29 01 00 00 00 02 B3 00 - 29 01 00 00 00 02 B4 7D - 29 01 00 00 00 02 B5 00 - 29 01 00 00 00 02 B6 8A - 29 01 00 00 00 02 B7 00 - 29 01 00 00 00 02 B8 9C - 29 01 00 00 00 02 B9 00 - 29 01 00 00 00 02 BA B1 - 29 01 00 00 00 02 BB 00 - 29 01 00 00 00 02 BC BF - 29 01 00 00 00 02 BD 00 - 29 01 00 00 00 02 BE CF - 29 01 00 00 00 02 BF 00 - 29 01 00 00 00 02 C0 DD - 29 01 00 00 00 02 C1 00 - 29 01 00 00 00 02 C2 E8 - 29 01 00 00 00 02 C3 00 - 29 01 00 00 00 02 C4 F2 - 29 01 00 00 00 02 C5 01 - 29 01 00 00 00 02 C6 1F - 29 01 00 00 00 02 C7 01 - 29 01 00 00 00 02 C8 41 - 29 01 00 00 00 02 C9 01 - 29 01 00 00 00 02 CA 78 - 29 01 00 00 00 02 CB 01 - 29 01 00 00 00 02 CC A5 - 29 01 00 00 00 02 CD 01 - 29 01 00 00 00 02 CE EE - 29 01 00 00 00 02 CF 02 - 29 01 00 00 00 02 D0 29 - 29 01 00 00 00 02 D1 02 - 29 01 00 00 00 02 D2 2A - 29 01 00 00 00 02 D3 02 - 29 01 00 00 00 02 D4 5D - 29 01 00 00 00 02 D5 02 - 29 01 00 00 00 02 D6 93 - 29 01 00 00 00 02 D7 02 - 29 01 00 00 00 02 D8 B8 - 29 01 00 00 00 02 D9 02 - 29 01 00 00 00 02 DA E7 - 29 01 00 00 00 02 DB 03 - 29 01 00 00 00 02 DC 07 - 29 01 00 00 00 02 DD 03 - 29 01 00 00 00 02 DE 37 - 29 01 00 00 00 02 DF 03 - 29 01 00 00 00 02 E0 46 - 29 01 00 00 00 02 E1 03 - 29 01 00 00 00 02 E2 56 - 29 01 00 00 00 02 E3 03 - 29 01 00 00 00 02 E4 66 - 29 01 00 00 00 02 E5 03 - 29 01 00 00 00 02 E6 7A - 29 01 00 00 00 02 E7 03 - 29 01 00 00 00 02 E8 93 - 29 01 00 00 00 02 E9 03 - 29 01 00 00 00 02 EA A3 - 29 01 00 00 00 02 EB 03 - 29 01 00 00 00 02 EC B4 - 29 01 00 00 00 02 ED 03 - 29 01 00 00 00 02 EE CB - 29 01 00 00 00 02 EF 00 - 29 01 00 00 00 02 F0 ED - 29 01 00 00 00 02 F1 00 - 29 01 00 00 00 02 F2 F3 - 29 01 00 00 00 02 F3 00 - 29 01 00 00 00 02 F4 FE - 29 01 00 00 00 02 F5 01 - 29 01 00 00 00 02 F6 09 - 29 01 00 00 00 02 F7 01 - 29 01 00 00 00 02 F8 13 - 29 01 00 00 00 02 F9 01 - 29 01 00 00 00 02 FA 1D - 29 01 00 00 00 02 FF 02 - 29 01 00 00 00 02 FB 01 - 29 01 00 00 00 02 00 01 - 29 01 00 00 00 02 01 26 - 29 01 00 00 00 02 02 01 - 29 01 00 00 00 02 03 2F - 29 01 00 00 00 02 04 01 - 29 01 00 00 00 02 05 37 - 29 01 00 00 00 02 06 01 - 29 01 00 00 00 02 07 56 - 29 01 00 00 00 02 08 01 - 29 01 00 00 00 02 09 70 - 29 01 00 00 00 02 0A 01 - 29 01 00 00 00 02 0B 9D - 29 01 00 00 00 02 0C 01 - 29 01 00 00 00 02 0D C2 - 29 01 00 00 00 02 0E 01 - 29 01 00 00 00 02 0F FF - 29 01 00 00 00 02 10 02 - 29 01 00 00 00 02 11 31 - 29 01 00 00 00 02 12 02 - 29 01 00 00 00 02 13 32 - 29 01 00 00 00 02 14 02 - 29 01 00 00 00 02 15 60 - 29 01 00 00 00 02 16 02 - 29 01 00 00 00 02 17 94 - 29 01 00 00 00 02 18 02 - 29 01 00 00 00 02 19 B5 - 29 01 00 00 00 02 1A 02 - 29 01 00 00 00 02 1B E3 - 29 01 00 00 00 02 1C 03 - 29 01 00 00 00 02 1D 03 - 29 01 00 00 00 02 1E 03 - 29 01 00 00 00 02 1F 2D - 29 01 00 00 00 02 20 03 - 29 01 00 00 00 02 21 3A - 29 01 00 00 00 02 22 03 - 29 01 00 00 00 02 23 48 - 29 01 00 00 00 02 24 03 - 29 01 00 00 00 02 25 57 - 29 01 00 00 00 02 26 03 - 29 01 00 00 00 02 27 68 - 29 01 00 00 00 02 28 03 - 29 01 00 00 00 02 29 7B - 29 01 00 00 00 02 2A 03 - 29 01 00 00 00 02 2B 90 - 29 01 00 00 00 02 2D 03 - 29 01 00 00 00 02 2F A0 - 29 01 00 00 00 02 30 03 - 29 01 00 00 00 02 31 CB - 29 01 00 00 00 02 32 00 - 29 01 00 00 00 02 33 ED - 29 01 00 00 00 02 34 00 - 29 01 00 00 00 02 35 F3 - 29 01 00 00 00 02 36 00 - 29 01 00 00 00 02 37 FE - 29 01 00 00 00 02 38 01 - 29 01 00 00 00 02 39 09 - 29 01 00 00 00 02 3A 01 - 29 01 00 00 00 02 3B 13 - 29 01 00 00 00 02 3D 01 - 29 01 00 00 00 02 3F 1D - 29 01 00 00 00 02 40 01 - 29 01 00 00 00 02 41 26 - 29 01 00 00 00 02 42 01 - 29 01 00 00 00 02 43 2F - 29 01 00 00 00 02 44 01 - 29 01 00 00 00 02 45 37 - 29 01 00 00 00 02 46 01 - 29 01 00 00 00 02 47 56 - 29 01 00 00 00 02 48 01 - 29 01 00 00 00 02 49 70 - 29 01 00 00 00 02 4A 01 - 29 01 00 00 00 02 4B 9D - 29 01 00 00 00 02 4C 01 - 29 01 00 00 00 02 4D C2 - 29 01 00 00 00 02 4E 01 - 29 01 00 00 00 02 4F FF - 29 01 00 00 00 02 50 02 - 29 01 00 00 00 02 51 31 - 29 01 00 00 00 02 52 02 - 29 01 00 00 00 02 53 32 - 29 01 00 00 00 02 54 02 - 29 01 00 00 00 02 55 60 - 29 01 00 00 00 02 56 02 - 29 01 00 00 00 02 58 94 - 29 01 00 00 00 02 59 02 - 29 01 00 00 00 02 5A B5 - 29 01 00 00 00 02 5B 02 - 29 01 00 00 00 02 5C E3 - 29 01 00 00 00 02 5D 03 - 29 01 00 00 00 02 5E 03 - 29 01 00 00 00 02 5F 03 - 29 01 00 00 00 02 60 2D - 29 01 00 00 00 02 61 03 - 29 01 00 00 00 02 62 3A - 29 01 00 00 00 02 63 03 - 29 01 00 00 00 02 64 48 - 29 01 00 00 00 02 65 03 - 29 01 00 00 00 02 66 57 - 29 01 00 00 00 02 67 03 - 29 01 00 00 00 02 68 68 - 29 01 00 00 00 02 69 03 - 29 01 00 00 00 02 6A 7B - 29 01 00 00 00 02 6B 03 - 29 01 00 00 00 02 6C 90 - 29 01 00 00 00 02 6D 03 - 29 01 00 00 00 02 6E A0 - 29 01 00 00 00 02 6F 03 - 29 01 00 00 00 02 70 CB - 29 01 00 00 00 02 71 00 - 29 01 00 00 00 02 72 19 - 29 01 00 00 00 02 73 00 - 29 01 00 00 00 02 74 36 - 29 01 00 00 00 02 75 00 - 29 01 00 00 00 02 76 55 - 29 01 00 00 00 02 77 00 - 29 01 00 00 00 02 78 70 - 29 01 00 00 00 02 79 00 - 29 01 00 00 00 02 7A 83 - 29 01 00 00 00 02 7B 00 - 29 01 00 00 00 02 7C 99 - 29 01 00 00 00 02 7D 00 - 29 01 00 00 00 02 7E A8 - 29 01 00 00 00 02 7F 00 - 29 01 00 00 00 02 80 B7 - 29 01 00 00 00 02 81 00 - 29 01 00 00 00 02 82 C5 - 29 01 00 00 00 02 83 00 - 29 01 00 00 00 02 84 F7 - 29 01 00 00 00 02 85 01 - 29 01 00 00 00 02 86 1E - 29 01 00 00 00 02 87 01 - 29 01 00 00 00 02 88 60 - 29 01 00 00 00 02 89 01 - 29 01 00 00 00 02 8A 95 - 29 01 00 00 00 02 8B 01 - 29 01 00 00 00 02 8C E1 - 29 01 00 00 00 02 8D 02 - 29 01 00 00 00 02 8E 20 - 29 01 00 00 00 02 8F 02 - 29 01 00 00 00 02 90 23 - 29 01 00 00 00 02 91 02 - 29 01 00 00 00 02 92 59 - 29 01 00 00 00 02 93 02 - 29 01 00 00 00 02 94 94 - 29 01 00 00 00 02 95 02 - 29 01 00 00 00 02 96 B4 - 29 01 00 00 00 02 97 02 - 29 01 00 00 00 02 98 E1 - 29 01 00 00 00 02 99 03 - 29 01 00 00 00 02 9A 01 - 29 01 00 00 00 02 9B 03 - 29 01 00 00 00 02 9C 28 - 29 01 00 00 00 02 9D 03 - 29 01 00 00 00 02 9E 30 - 29 01 00 00 00 02 9F 03 - 29 01 00 00 00 02 A0 37 - 29 01 00 00 00 02 A2 03 - 29 01 00 00 00 02 A3 3B - 29 01 00 00 00 02 A4 03 - 29 01 00 00 00 02 A5 40 - 29 01 00 00 00 02 A6 03 - 29 01 00 00 00 02 A7 50 - 29 01 00 00 00 02 A9 03 - 29 01 00 00 00 02 AA 6D - 29 01 00 00 00 02 AB 03 - 29 01 00 00 00 02 AC 80 - 29 01 00 00 00 02 AD 03 - 29 01 00 00 00 02 AE CB - 29 01 00 00 00 02 AF 00 - 29 01 00 00 00 02 B0 19 - 29 01 00 00 00 02 B1 00 - 29 01 00 00 00 02 B2 36 - 29 01 00 00 00 02 B3 00 - 29 01 00 00 00 02 B4 55 - 29 01 00 00 00 02 B5 00 - 29 01 00 00 00 02 B6 70 - 29 01 00 00 00 02 B7 00 - 29 01 00 00 00 02 B8 83 - 29 01 00 00 00 02 B9 00 - 29 01 00 00 00 02 BA 99 - 29 01 00 00 00 02 BB 00 - 29 01 00 00 00 02 BC A8 - 29 01 00 00 00 02 BD 00 - 29 01 00 00 00 02 BE B7 - 29 01 00 00 00 02 BF 00 - 29 01 00 00 00 02 C0 C5 - 29 01 00 00 00 02 C1 00 - 29 01 00 00 00 02 C2 F7 - 29 01 00 00 00 02 C3 01 - 29 01 00 00 00 02 C4 1E - 29 01 00 00 00 02 C5 01 - 29 01 00 00 00 02 C6 60 - 29 01 00 00 00 02 C7 01 - 29 01 00 00 00 02 C8 95 - 29 01 00 00 00 02 C9 01 - 29 01 00 00 00 02 CA E1 - 29 01 00 00 00 02 CB 02 - 29 01 00 00 00 02 CC 20 - 29 01 00 00 00 02 CD 02 - 29 01 00 00 00 02 CE 23 - 29 01 00 00 00 02 CF 02 - 29 01 00 00 00 02 D0 59 - 29 01 00 00 00 02 D1 02 - 29 01 00 00 00 02 D2 94 - 29 01 00 00 00 02 D3 02 - 29 01 00 00 00 02 D4 B4 - 29 01 00 00 00 02 D5 02 - 29 01 00 00 00 02 D6 E1 - 29 01 00 00 00 02 D7 03 - 29 01 00 00 00 02 D8 01 - 29 01 00 00 00 02 D9 03 - 29 01 00 00 00 02 DA 28 - 29 01 00 00 00 02 DB 03 - 29 01 00 00 00 02 DC 30 - 29 01 00 00 00 02 DD 03 - 29 01 00 00 00 02 DE 37 - 29 01 00 00 00 02 DF 03 - 29 01 00 00 00 02 E0 3B - 29 01 00 00 00 02 E1 03 - 29 01 00 00 00 02 E2 40 - 29 01 00 00 00 02 E3 03 - 29 01 00 00 00 02 E4 50 - 29 01 00 00 00 02 E5 03 - 29 01 00 00 00 02 E6 6D - 29 01 00 00 00 02 E7 03 - 29 01 00 00 00 02 E8 80 - 29 01 00 00 00 02 E9 03 - 29 01 00 00 00 02 EA CB - 29 01 00 00 00 02 FF 01 - 29 01 00 00 00 02 FB 01 - 29 01 00 00 00 02 FF 02 - 29 01 00 00 00 02 FB 01 - 29 01 00 00 00 02 FF 04 - 29 01 00 00 00 02 FB 01 - 29 01 00 00 00 02 FF 00 - 29 01 00 00 64 02 11 00 - 29 01 00 00 00 02 FF EE - 29 01 00 00 00 02 12 50 - 29 01 00 00 00 02 13 02 - 29 01 00 00 00 02 6A 60 - 29 01 00 00 00 02 FF 00 - 29 01 00 00 78 02 29 00]; - qcom,on-cmds-dsi-state = "DSI_LP_MODE"; - qcom,panel-off-cmds = [05 01 00 00 32 02 28 00 - 05 01 00 00 78 02 10 00]; - qcom,off-cmds-dsi-state = "DSI_HS_MODE"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/dsi-panel-nt35590-720p-video.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v2/dsi-panel-nt35590-720p-video.dtsi deleted file mode 100644 index 7bc748d59..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/dsi-panel-nt35590-720p-video.dtsi +++ /dev/null @@ -1,524 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -&soc { - qcom,mdss_dsi_nt35590_720p_video { - compatible = "qcom,mdss-dsi-panel"; - label = "nt35590 720p video mode dsi panel"; - status = "disable"; - qcom,dsi-ctrl-phandle = <&mdss_dsi0>; - qcom,rst-gpio = <&msmgpio 25 0>; - qcom,mdss-pan-res = <720 1280>; - qcom,mdss-pan-bpp = <24>; - qcom,mdss-pan-dest = "display_1"; - qcom,mdss-pan-porch-values = <164 8 140 1 1 6>; - qcom,mdss-pan-underflow-clr = <0xff>; - qcom,mdss-pan-bl-ctrl = "bl_ctrl_wled"; - qcom,mdss-pan-bl-levels = <1 4095>; - qcom,mdss-pan-dsi-mode = <0>; - qcom,mdss-pan-dsi-h-pulse-mode = <1>; - qcom,mdss-pan-dsi-h-power-stop = <0 0 0>; - qcom,mdss-pan-dsi-bllp-power-stop = <1 1>; - qcom,mdss-pan-dsi-traffic-mode = <2>; - qcom,mdss-pan-dsi-dst-format = <3>; - qcom,mdss-pan-dsi-vc = <0>; - qcom,mdss-pan-dsi-rgb-swap = <0>; - qcom,mdss-pan-dsi-data-lanes = <1 1 1 1>; /* 4 lanes */ - qcom,mdss-pan-dsi-dlane-swap = <0>; - qcom,mdss-pan-dsi-t-clk = <0x2c 0x20>; - qcom,mdss-pan-dsi-stream = <0>; - qcom,mdss-pan-dsi-mdp-tr = <0x0>; - qcom,mdss-pan-dsi-dma-tr = <0x04>; - qcom,mdss-pan-dsi-frame-rate = <60>; - qcom,panel-phy-regulatorSettings = [07 09 03 00 /* Regualotor settings */ - 20 00 01]; - qcom,panel-phy-timingSettings = [7d 25 1d 00 37 33 - 22 27 1e 03 04 00]; - qcom,panel-phy-strengthCtrl = [ff 06]; - qcom,panel-phy-bistCtrl = [00 00 b1 ff /* BIST Ctrl settings */ - 00 00]; - qcom,panel-phy-laneConfig = [00 00 00 00 00 00 00 01 97 /* lane0 config */ - 00 00 00 00 05 00 00 01 97 /* lane1 config */ - 00 00 00 00 0a 00 00 01 97 /* lane2 config */ - 00 00 00 00 0f 00 00 01 97 /* lane3 config */ - 00 c0 00 00 00 00 00 01 bb]; /* Clk ln config */ - qcom,panel-on-cmds = [29 01 00 00 00 00 02 FF EE - 29 01 00 00 00 00 02 26 08 - 29 01 00 00 00 00 02 26 00 - 29 01 00 00 10 00 02 FF 00 - 29 01 00 00 00 00 02 BA 03 - 29 01 00 00 00 00 02 C2 03 - 29 01 00 00 00 00 02 FF 01 - 29 01 00 00 00 00 02 FB 01 - 29 01 00 00 00 00 02 00 4A - 29 01 00 00 00 00 02 01 33 - 29 01 00 00 00 00 02 02 53 - 29 01 00 00 00 00 02 03 55 - 29 01 00 00 00 00 02 04 55 - 29 01 00 00 00 00 02 05 33 - 29 01 00 00 00 00 02 06 22 - 29 01 00 00 00 00 02 08 56 - 29 01 00 00 00 00 02 09 8F - 29 01 00 00 00 00 02 36 73 - 29 01 00 00 00 00 02 0B 9F - 29 01 00 00 00 00 02 0C 9F - 29 01 00 00 00 00 02 0D 2F - 29 01 00 00 00 00 02 0E 24 - 29 01 00 00 00 00 02 11 83 - 29 01 00 00 00 00 02 12 03 - 29 01 00 00 00 00 02 71 2C - 29 01 00 00 00 00 02 6F 03 - 29 01 00 00 00 00 02 0F 0A - 29 01 00 00 00 00 02 FF 05 - 29 01 00 00 00 00 02 FB 01 - 29 01 00 00 00 00 02 01 00 - 29 01 00 00 00 00 02 02 8B - 29 01 00 00 00 00 02 03 82 - 29 01 00 00 00 00 02 04 82 - 29 01 00 00 00 00 02 05 30 - 29 01 00 00 00 00 02 06 33 - 29 01 00 00 00 00 02 07 01 - 29 01 00 00 00 00 02 08 00 - 29 01 00 00 00 00 02 09 46 - 29 01 00 00 00 00 02 0A 46 - 29 01 00 00 00 00 02 0D 0B - 29 01 00 00 00 00 02 0E 1D - 29 01 00 00 00 00 02 0F 08 - 29 01 00 00 00 00 02 10 53 - 29 01 00 00 00 00 02 11 00 - 29 01 00 00 00 00 02 12 00 - 29 01 00 00 00 00 02 14 01 - 29 01 00 00 00 00 02 15 00 - 29 01 00 00 00 00 02 16 05 - 29 01 00 00 00 00 02 17 00 - 29 01 00 00 00 00 02 19 7F - 29 01 00 00 00 00 02 1A FF - 29 01 00 00 00 00 02 1B 0F - 29 01 00 00 00 00 02 1C 00 - 29 01 00 00 00 00 02 1D 00 - 29 01 00 00 00 00 02 1E 00 - 29 01 00 00 00 00 02 1F 07 - 29 01 00 00 00 00 02 20 00 - 29 01 00 00 00 00 02 21 06 - 29 01 00 00 00 00 02 22 55 - 29 01 00 00 00 00 02 23 4D - 29 01 00 00 00 00 02 2D 02 - 29 01 00 00 00 00 02 28 01 - 29 01 00 00 00 00 02 2F 02 - 29 01 00 00 00 00 02 83 01 - 29 01 00 00 00 00 02 9E 58 - 29 01 00 00 00 00 02 9F 6A - 29 01 00 00 00 00 02 A0 01 - 29 01 00 00 00 00 02 A2 10 - 29 01 00 00 00 00 02 BB 0A - 29 01 00 00 00 00 02 BC 0A - 29 01 00 00 00 00 02 32 08 - 29 01 00 00 00 00 02 33 B8 - 29 01 00 00 00 00 02 36 01 - 29 01 00 00 00 00 02 37 00 - 29 01 00 00 00 00 02 43 00 - 29 01 00 00 00 00 02 4B 21 - 29 01 00 00 00 00 02 4C 03 - 29 01 00 00 00 00 02 50 21 - 29 01 00 00 00 00 02 51 03 - 29 01 00 00 00 00 02 58 21 - 29 01 00 00 00 00 02 59 03 - 29 01 00 00 00 00 02 5D 21 - 29 01 00 00 00 00 02 5E 03 - 29 01 00 00 00 00 02 6C 00 - 29 01 00 00 00 00 02 6D 00 - 29 01 00 00 00 00 02 FB 01 - 29 01 00 00 00 00 02 FF 01 - 29 01 00 00 00 00 02 FB 01 - 29 01 00 00 00 00 02 75 00 - 29 01 00 00 00 00 02 76 7D - 29 01 00 00 00 00 02 77 00 - 29 01 00 00 00 00 02 78 8A - 29 01 00 00 00 00 02 79 00 - 29 01 00 00 00 00 02 7A 9C - 29 01 00 00 00 00 02 7B 00 - 29 01 00 00 00 00 02 7C B1 - 29 01 00 00 00 00 02 7D 00 - 29 01 00 00 00 00 02 7E BF - 29 01 00 00 00 00 02 7F 00 - 29 01 00 00 00 00 02 80 CF - 29 01 00 00 00 00 02 81 00 - 29 01 00 00 00 00 02 82 DD - 29 01 00 00 00 00 02 83 00 - 29 01 00 00 00 00 02 84 E8 - 29 01 00 00 00 00 02 85 00 - 29 01 00 00 00 00 02 86 F2 - 29 01 00 00 00 00 02 87 01 - 29 01 00 00 00 00 02 88 1F - 29 01 00 00 00 00 02 89 01 - 29 01 00 00 00 00 02 8A 41 - 29 01 00 00 00 00 02 8B 01 - 29 01 00 00 00 00 02 8C 78 - 29 01 00 00 00 00 02 8D 01 - 29 01 00 00 00 00 02 8E A5 - 29 01 00 00 00 00 02 8F 01 - 29 01 00 00 00 00 02 90 EE - 29 01 00 00 00 00 02 91 02 - 29 01 00 00 00 00 02 92 29 - 29 01 00 00 00 00 02 93 02 - 29 01 00 00 00 00 02 94 2A - 29 01 00 00 00 00 02 95 02 - 29 01 00 00 00 00 02 96 5D - 29 01 00 00 00 00 02 97 02 - 29 01 00 00 00 00 02 98 93 - 29 01 00 00 00 00 02 99 02 - 29 01 00 00 00 00 02 9A B8 - 29 01 00 00 00 00 02 9B 02 - 29 01 00 00 00 00 02 9C E7 - 29 01 00 00 00 00 02 9D 03 - 29 01 00 00 00 00 02 9E 07 - 29 01 00 00 00 00 02 9F 03 - 29 01 00 00 00 00 02 A0 37 - 29 01 00 00 00 00 02 A2 03 - 29 01 00 00 00 00 02 A3 46 - 29 01 00 00 00 00 02 A4 03 - 29 01 00 00 00 00 02 A5 56 - 29 01 00 00 00 00 02 A6 03 - 29 01 00 00 00 00 02 A7 66 - 29 01 00 00 00 00 02 A9 03 - 29 01 00 00 00 00 02 AA 7A - 29 01 00 00 00 00 02 AB 03 - 29 01 00 00 00 00 02 AC 93 - 29 01 00 00 00 00 02 AD 03 - 29 01 00 00 00 00 02 AE A3 - 29 01 00 00 00 00 02 AF 03 - 29 01 00 00 00 00 02 B0 B4 - 29 01 00 00 00 00 02 B1 03 - 29 01 00 00 00 00 02 B2 CB - 29 01 00 00 00 00 02 B3 00 - 29 01 00 00 00 00 02 B4 7D - 29 01 00 00 00 00 02 B5 00 - 29 01 00 00 00 00 02 B6 8A - 29 01 00 00 00 00 02 B7 00 - 29 01 00 00 00 00 02 B8 9C - 29 01 00 00 00 00 02 B9 00 - 29 01 00 00 00 00 02 BA B1 - 29 01 00 00 00 00 02 BB 00 - 29 01 00 00 00 00 02 BC BF - 29 01 00 00 00 00 02 BD 00 - 29 01 00 00 00 00 02 BE CF - 29 01 00 00 00 00 02 BF 00 - 29 01 00 00 00 00 02 C0 DD - 29 01 00 00 00 00 02 C1 00 - 29 01 00 00 00 00 02 C2 E8 - 29 01 00 00 00 00 02 C3 00 - 29 01 00 00 00 00 02 C4 F2 - 29 01 00 00 00 00 02 C5 01 - 29 01 00 00 00 00 02 C6 1F - 29 01 00 00 00 00 02 C7 01 - 29 01 00 00 00 00 02 C8 41 - 29 01 00 00 00 00 02 C9 01 - 29 01 00 00 00 00 02 CA 78 - 29 01 00 00 00 00 02 CB 01 - 29 01 00 00 00 00 02 CC A5 - 29 01 00 00 00 00 02 CD 01 - 29 01 00 00 00 00 02 CE EE - 29 01 00 00 00 00 02 CF 02 - 29 01 00 00 00 00 02 D0 29 - 29 01 00 00 00 00 02 D1 02 - 29 01 00 00 00 00 02 D2 2A - 29 01 00 00 00 00 02 D3 02 - 29 01 00 00 00 00 02 D4 5D - 29 01 00 00 00 00 02 D5 02 - 29 01 00 00 00 00 02 D6 93 - 29 01 00 00 00 00 02 D7 02 - 29 01 00 00 00 00 02 D8 B8 - 29 01 00 00 00 00 02 D9 02 - 29 01 00 00 00 00 02 DA E7 - 29 01 00 00 00 00 02 DB 03 - 29 01 00 00 00 00 02 DC 07 - 29 01 00 00 00 00 02 DD 03 - 29 01 00 00 00 00 02 DE 37 - 29 01 00 00 00 00 02 DF 03 - 29 01 00 00 00 00 02 E0 46 - 29 01 00 00 00 00 02 E1 03 - 29 01 00 00 00 00 02 E2 56 - 29 01 00 00 00 00 02 E3 03 - 29 01 00 00 00 00 02 E4 66 - 29 01 00 00 00 00 02 E5 03 - 29 01 00 00 00 00 02 E6 7A - 29 01 00 00 00 00 02 E7 03 - 29 01 00 00 00 00 02 E8 93 - 29 01 00 00 00 00 02 E9 03 - 29 01 00 00 00 00 02 EA A3 - 29 01 00 00 00 00 02 EB 03 - 29 01 00 00 00 00 02 EC B4 - 29 01 00 00 00 00 02 ED 03 - 29 01 00 00 00 00 02 EE CB - 29 01 00 00 00 00 02 EF 00 - 29 01 00 00 00 00 02 F0 ED - 29 01 00 00 00 00 02 F1 00 - 29 01 00 00 00 00 02 F2 F3 - 29 01 00 00 00 00 02 F3 00 - 29 01 00 00 00 00 02 F4 FE - 29 01 00 00 00 00 02 F5 01 - 29 01 00 00 00 00 02 F6 09 - 29 01 00 00 00 00 02 F7 01 - 29 01 00 00 00 00 02 F8 13 - 29 01 00 00 00 00 02 F9 01 - 29 01 00 00 00 00 02 FA 1D - 29 01 00 00 00 00 02 FF 02 - 29 01 00 00 00 00 02 FB 01 - 29 01 00 00 00 00 02 00 01 - 29 01 00 00 00 00 02 01 26 - 29 01 00 00 00 00 02 02 01 - 29 01 00 00 00 00 02 03 2F - 29 01 00 00 00 00 02 04 01 - 29 01 00 00 00 00 02 05 37 - 29 01 00 00 00 00 02 06 01 - 29 01 00 00 00 00 02 07 56 - 29 01 00 00 00 00 02 08 01 - 29 01 00 00 00 00 02 09 70 - 29 01 00 00 00 00 02 0A 01 - 29 01 00 00 00 00 02 0B 9D - 29 01 00 00 00 00 02 0C 01 - 29 01 00 00 00 00 02 0D C2 - 29 01 00 00 00 00 02 0E 01 - 29 01 00 00 00 00 02 0F FF - 29 01 00 00 00 00 02 10 02 - 29 01 00 00 00 00 02 11 31 - 29 01 00 00 00 00 02 12 02 - 29 01 00 00 00 00 02 13 32 - 29 01 00 00 00 00 02 14 02 - 29 01 00 00 00 00 02 15 60 - 29 01 00 00 00 00 02 16 02 - 29 01 00 00 00 00 02 17 94 - 29 01 00 00 00 00 02 18 02 - 29 01 00 00 00 00 02 19 B5 - 29 01 00 00 00 00 02 1A 02 - 29 01 00 00 00 00 02 1B E3 - 29 01 00 00 00 00 02 1C 03 - 29 01 00 00 00 00 02 1D 03 - 29 01 00 00 00 00 02 1E 03 - 29 01 00 00 00 00 02 1F 2D - 29 01 00 00 00 00 02 20 03 - 29 01 00 00 00 00 02 21 3A - 29 01 00 00 00 00 02 22 03 - 29 01 00 00 00 00 02 23 48 - 29 01 00 00 00 00 02 24 03 - 29 01 00 00 00 00 02 25 57 - 29 01 00 00 00 00 02 26 03 - 29 01 00 00 00 00 02 27 68 - 29 01 00 00 00 00 02 28 03 - 29 01 00 00 00 00 02 29 7B - 29 01 00 00 00 00 02 2A 03 - 29 01 00 00 00 00 02 2B 90 - 29 01 00 00 00 00 02 2D 03 - 29 01 00 00 00 00 02 2F A0 - 29 01 00 00 00 00 02 30 03 - 29 01 00 00 00 00 02 31 CB - 29 01 00 00 00 00 02 32 00 - 29 01 00 00 00 00 02 33 ED - 29 01 00 00 00 00 02 34 00 - 29 01 00 00 00 00 02 35 F3 - 29 01 00 00 00 00 02 36 00 - 29 01 00 00 00 00 02 37 FE - 29 01 00 00 00 00 02 38 01 - 29 01 00 00 00 00 02 39 09 - 29 01 00 00 00 00 02 3A 01 - 29 01 00 00 00 00 02 3B 13 - 29 01 00 00 00 00 02 3D 01 - 29 01 00 00 00 00 02 3F 1D - 29 01 00 00 00 00 02 40 01 - 29 01 00 00 00 00 02 41 26 - 29 01 00 00 00 00 02 42 01 - 29 01 00 00 00 00 02 43 2F - 29 01 00 00 00 00 02 44 01 - 29 01 00 00 00 00 02 45 37 - 29 01 00 00 00 00 02 46 01 - 29 01 00 00 00 00 02 47 56 - 29 01 00 00 00 00 02 48 01 - 29 01 00 00 00 00 02 49 70 - 29 01 00 00 00 00 02 4A 01 - 29 01 00 00 00 00 02 4B 9D - 29 01 00 00 00 00 02 4C 01 - 29 01 00 00 00 00 02 4D C2 - 29 01 00 00 00 00 02 4E 01 - 29 01 00 00 00 00 02 4F FF - 29 01 00 00 00 00 02 50 02 - 29 01 00 00 00 00 02 51 31 - 29 01 00 00 00 00 02 52 02 - 29 01 00 00 00 00 02 53 32 - 29 01 00 00 00 00 02 54 02 - 29 01 00 00 00 00 02 55 60 - 29 01 00 00 00 00 02 56 02 - 29 01 00 00 00 00 02 58 94 - 29 01 00 00 00 00 02 59 02 - 29 01 00 00 00 00 02 5A B5 - 29 01 00 00 00 00 02 5B 02 - 29 01 00 00 00 00 02 5C E3 - 29 01 00 00 00 00 02 5D 03 - 29 01 00 00 00 00 02 5E 03 - 29 01 00 00 00 00 02 5F 03 - 29 01 00 00 00 00 02 60 2D - 29 01 00 00 00 00 02 61 03 - 29 01 00 00 00 00 02 62 3A - 29 01 00 00 00 00 02 63 03 - 29 01 00 00 00 00 02 64 48 - 29 01 00 00 00 00 02 65 03 - 29 01 00 00 00 00 02 66 57 - 29 01 00 00 00 00 02 67 03 - 29 01 00 00 00 00 02 68 68 - 29 01 00 00 00 00 02 69 03 - 29 01 00 00 00 00 02 6A 7B - 29 01 00 00 00 00 02 6B 03 - 29 01 00 00 00 00 02 6C 90 - 29 01 00 00 00 00 02 6D 03 - 29 01 00 00 00 00 02 6E A0 - 29 01 00 00 00 00 02 6F 03 - 29 01 00 00 00 00 02 70 CB - 29 01 00 00 00 00 02 71 00 - 29 01 00 00 00 00 02 72 19 - 29 01 00 00 00 00 02 73 00 - 29 01 00 00 00 00 02 74 36 - 29 01 00 00 00 00 02 75 00 - 29 01 00 00 00 00 02 76 55 - 29 01 00 00 00 00 02 77 00 - 29 01 00 00 00 00 02 78 70 - 29 01 00 00 00 00 02 79 00 - 29 01 00 00 00 00 02 7A 83 - 29 01 00 00 00 00 02 7B 00 - 29 01 00 00 00 00 02 7C 99 - 29 01 00 00 00 00 02 7D 00 - 29 01 00 00 00 00 02 7E A8 - 29 01 00 00 00 00 02 7F 00 - 29 01 00 00 00 00 02 80 B7 - 29 01 00 00 00 00 02 81 00 - 29 01 00 00 00 00 02 82 C5 - 29 01 00 00 00 00 02 83 00 - 29 01 00 00 00 00 02 84 F7 - 29 01 00 00 00 00 02 85 01 - 29 01 00 00 00 00 02 86 1E - 29 01 00 00 00 00 02 87 01 - 29 01 00 00 00 00 02 88 60 - 29 01 00 00 00 00 02 89 01 - 29 01 00 00 00 00 02 8A 95 - 29 01 00 00 00 00 02 8B 01 - 29 01 00 00 00 00 02 8C E1 - 29 01 00 00 00 00 02 8D 02 - 29 01 00 00 00 00 02 8E 20 - 29 01 00 00 00 00 02 8F 02 - 29 01 00 00 00 00 02 90 23 - 29 01 00 00 00 00 02 91 02 - 29 01 00 00 00 00 02 92 59 - 29 01 00 00 00 00 02 93 02 - 29 01 00 00 00 00 02 94 94 - 29 01 00 00 00 00 02 95 02 - 29 01 00 00 00 00 02 96 B4 - 29 01 00 00 00 00 02 97 02 - 29 01 00 00 00 00 02 98 E1 - 29 01 00 00 00 00 02 99 03 - 29 01 00 00 00 00 02 9A 01 - 29 01 00 00 00 00 02 9B 03 - 29 01 00 00 00 00 02 9C 28 - 29 01 00 00 00 00 02 9D 03 - 29 01 00 00 00 00 02 9E 30 - 29 01 00 00 00 00 02 9F 03 - 29 01 00 00 00 00 02 A0 37 - 29 01 00 00 00 00 02 A2 03 - 29 01 00 00 00 00 02 A3 3B - 29 01 00 00 00 00 02 A4 03 - 29 01 00 00 00 00 02 A5 40 - 29 01 00 00 00 00 02 A6 03 - 29 01 00 00 00 00 02 A7 50 - 29 01 00 00 00 00 02 A9 03 - 29 01 00 00 00 00 02 AA 6D - 29 01 00 00 00 00 02 AB 03 - 29 01 00 00 00 00 02 AC 80 - 29 01 00 00 00 00 02 AD 03 - 29 01 00 00 00 00 02 AE CB - 29 01 00 00 00 00 02 AF 00 - 29 01 00 00 00 00 02 B0 19 - 29 01 00 00 00 00 02 B1 00 - 29 01 00 00 00 00 02 B2 36 - 29 01 00 00 00 00 02 B3 00 - 29 01 00 00 00 00 02 B4 55 - 29 01 00 00 00 00 02 B5 00 - 29 01 00 00 00 00 02 B6 70 - 29 01 00 00 00 00 02 B7 00 - 29 01 00 00 00 00 02 B8 83 - 29 01 00 00 00 00 02 B9 00 - 29 01 00 00 00 00 02 BA 99 - 29 01 00 00 00 00 02 BB 00 - 29 01 00 00 00 00 02 BC A8 - 29 01 00 00 00 00 02 BD 00 - 29 01 00 00 00 00 02 BE B7 - 29 01 00 00 00 00 02 BF 00 - 29 01 00 00 00 00 02 C0 C5 - 29 01 00 00 00 00 02 C1 00 - 29 01 00 00 00 00 02 C2 F7 - 29 01 00 00 00 00 02 C3 01 - 29 01 00 00 00 00 02 C4 1E - 29 01 00 00 00 00 02 C5 01 - 29 01 00 00 00 00 02 C6 60 - 29 01 00 00 00 00 02 C7 01 - 29 01 00 00 00 00 02 C8 95 - 29 01 00 00 00 00 02 C9 01 - 29 01 00 00 00 00 02 CA E1 - 29 01 00 00 00 00 02 CB 02 - 29 01 00 00 00 00 02 CC 20 - 29 01 00 00 00 00 02 CD 02 - 29 01 00 00 00 00 02 CE 23 - 29 01 00 00 00 00 02 CF 02 - 29 01 00 00 00 00 02 D0 59 - 29 01 00 00 00 00 02 D1 02 - 29 01 00 00 00 00 02 D2 94 - 29 01 00 00 00 00 02 D3 02 - 29 01 00 00 00 00 02 D4 B4 - 29 01 00 00 00 00 02 D5 02 - 29 01 00 00 00 00 02 D6 E1 - 29 01 00 00 00 00 02 D7 03 - 29 01 00 00 00 00 02 D8 01 - 29 01 00 00 00 00 02 D9 03 - 29 01 00 00 00 00 02 DA 28 - 29 01 00 00 00 00 02 DB 03 - 29 01 00 00 00 00 02 DC 30 - 29 01 00 00 00 00 02 DD 03 - 29 01 00 00 00 00 02 DE 37 - 29 01 00 00 00 00 02 DF 03 - 29 01 00 00 00 00 02 E0 3B - 29 01 00 00 00 00 02 E1 03 - 29 01 00 00 00 00 02 E2 40 - 29 01 00 00 00 00 02 E3 03 - 29 01 00 00 00 00 02 E4 50 - 29 01 00 00 00 00 02 E5 03 - 29 01 00 00 00 00 02 E6 6D - 29 01 00 00 00 00 02 E7 03 - 29 01 00 00 00 00 02 E8 80 - 29 01 00 00 00 00 02 E9 03 - 29 01 00 00 00 00 02 EA CB - 29 01 00 00 00 00 02 FF 01 - 29 01 00 00 00 00 02 FB 01 - 29 01 00 00 00 00 02 FF 02 - 29 01 00 00 00 00 02 FB 01 - 29 01 00 00 00 00 02 FF 04 - 29 01 00 00 00 00 02 FB 01 - 29 01 00 00 00 00 02 FF 00 - 29 01 00 00 64 00 02 11 00 - 29 01 00 00 00 00 02 FF EE - 29 01 00 00 00 00 02 12 50 - 29 01 00 00 00 00 02 13 02 - 29 01 00 00 00 00 02 6A 60 - 29 01 00 00 00 00 02 FF 00 - 29 01 00 00 78 00 02 29 00]; - - qcom,on-cmds-dsi-state = "DSI_LP_MODE"; - qcom,panel-off-cmds = [05 01 00 00 32 00 02 28 00 - 05 01 00 00 78 00 02 10 00]; - qcom,off-cmds-dsi-state = "DSI_HS_MODE"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/dsi-panel-orise-720p-video.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v2/dsi-panel-orise-720p-video.dtsi deleted file mode 100644 index 478541fb1..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/dsi-panel-orise-720p-video.dtsi +++ /dev/null @@ -1,60 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -&soc { - qcom,mdss_dsi_orise_720p_video { - compatible = "qcom,mdss-dsi-panel"; - label = "orise 720p video mode dsi panel"; - status = "disable"; - qcom,dsi-ctrl-phandle = <&mdss_dsi1>; - qcom,mdss-pan-res = <720 1280>; - qcom,mdss-pan-bpp = <24>; - qcom,mdss-pan-dest = "display_2"; - qcom,mdss-pan-porch-values = <32 12 144 3 4 9>; - qcom,mdss-pan-underflow-clr = <0xff>; - qcom,mdss-pan-bl-levels = <1 255>; - qcom,mdss-pan-dsi-mode = <0>; - qcom,mdss-pan-dsi-h-pulse-mode = <0>; - qcom,mdss-pan-dsi-h-power-stop = <0 0 0>; - qcom,mdss-pan-dsi-bllp-power-stop = <1 1>; - qcom,mdss-pan-dsi-traffic-mode = <1>; - qcom,mdss-pan-dsi-dst-format = <3>; - qcom,mdss-pan-dsi-vc = <0>; - qcom,mdss-pan-dsi-rgb-swap = <0>; - qcom,mdss-pan-dsi-data-lanes = <1 1 1 1>; - qcom,mdss-pan-dsi-dlane-swap = <0>; - qcom,mdss-pan-dsi-t-clk = <0x1b 0x04>; - qcom,mdss-pan-dsi-stream = <0>; - qcom,mdss-pan-dsi-mdp-tr = <0x0>; - qcom,mdss-pan-dsi-dma-tr = <0x04>; - qcom,mdss-pan-dsi-frame-rate = <60>; - qcom,panel-phy-regulatorSettings = [03 01 01 00 /* Regualotor settings */ - 20 00 01]; - qcom,panel-phy-timingSettings = [69 29 1f 00 55 55 - 19 2a 2a 03 04 00]; - qcom,panel-phy-strengthCtrl = [77 06]; - qcom,panel-phy-bistCtrl = [00 00 b1 ff /* BIST Ctrl settings */ - 00 00]; - qcom,panel-phy-laneConfig = [00 c2 45 00 00 00 00 01 75 /* lane0 config */ - 00 c2 45 00 00 00 00 01 75 /* lane1 config */ - 00 c2 45 00 00 00 00 01 75 /* lane2 config */ - 00 c2 45 00 00 00 00 01 75 /* lane3 config */ - 00 02 45 00 00 00 00 01 97]; /* Clk ln config */ - - qcom,panel-on-cmds = [05 01 00 00 78 00 02 11 00 - 05 01 00 00 78 00 02 29 00]; - qcom,on-cmds-dsi-state = "DSI_LP_MODE"; - qcom,panel-off-cmds = [05 01 00 00 32 00 02 28 00 - 05 01 00 00 78 00 02 10 00]; - qcom,off-cmds-dsi-state = "DSI_LP_MODE"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/dsi-panel-sharp-qhd-video.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v2/dsi-panel-sharp-qhd-video.dtsi deleted file mode 100644 index 45d396cdc..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/dsi-panel-sharp-qhd-video.dtsi +++ /dev/null @@ -1,67 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -&soc { - qcom,mdss_dsi_sharp_qhd_video { - compatible = "qcom,mdss-dsi-panel"; - label = "sharp QHD LS043T1LE01 video mode dsi panel"; - status = "disable"; - qcom,dsi-ctrl-phandle = <&mdss_dsi0>; - qcom,enable-gpio = <&msmgpio 58 0>; - qcom,rst-gpio = <&pm8941_gpios 19 0>; - qcom,mdss-pan-res = <540 960>; - qcom,mdss-pan-bpp = <24>; - qcom,mdss-pan-dest = "display_1"; - qcom,mdss-pan-porch-values = <80 32 48 15 10 3>; /* HBP, HPW, HFP, VBP, VPW, VFP */ - qcom,mdss-pan-underflow-clr = <0xff>; - qcom,mdss-pan-bl-ctrl = "bl_ctrl_wled"; - qcom,mdss-pan-bl-levels = <1 4095>; - qcom,mdss-pan-dsi-mode = <0>; - qcom,mdss-pan-dsi-h-pulse-mode = <1>; - qcom,mdss-pan-dsi-h-power-stop = <0 0 0>; - qcom,mdss-pan-dsi-bllp-power-stop = <1 1>; - qcom,mdss-pan-dsi-traffic-mode = <0>; - qcom,mdss-pan-dsi-dst-format = <3>; - qcom,mdss-pan-dsi-vc = <0>; - qcom,mdss-pan-dsi-rgb-swap = <2>; - qcom,mdss-pan-dsi-data-lanes = <1 1 0 0>; - qcom,mdss-pan-dsi-dlane-swap = <0>; - qcom,mdss-pan-dsi-t-clk = <0x1c 0x04>; - qcom,mdss-pan-dsi-stream = <0>; - qcom,mdss-pan-dsi-mdp-tr = <0x04>; - qcom,mdss-pan-dsi-dma-tr = <0x04>; - qcom,mdss-pan-frame-rate = <60>; - qcom,panel-phy-regulatorSettings = [07 09 03 00 /* Regulator settings */ - 20 00 01]; - qcom,panel-phy-timingSettings = [46 1d 20 00 39 3a - 21 21 32 03 04 00]; - qcom,panel-phy-strengthCtrl = [ff 06]; - qcom,panel-phy-bistCtrl = [00 00 b1 ff /* BIST Ctrl settings */ - 00 00]; - qcom,panel-phy-laneConfig = [00 00 00 00 00 00 00 01 97 /* lane0 config */ - 00 00 00 00 05 00 00 01 97 /* lane1 config */ - 00 00 00 00 0a 00 00 01 97 /* lane2 config */ - 00 00 00 00 0f 00 00 01 97 /* lane3 config */ - 00 c0 00 00 00 00 00 01 bb]; /* Clk ln config */ - qcom,panel-on-cmds = [05 01 00 00 32 00 02 01 00 /* sw reset */ - 05 01 00 00 0a 00 02 11 00 /* exit sleep */ - 15 01 00 00 0a 00 02 53 2c /* backlight on */ - 15 01 00 00 0a 00 02 51 ff /* brightness max */ - 05 01 00 00 0a 00 02 29 00 /* display on */ - 15 01 00 00 0a 00 02 ae 03 /* set num of lanes */ - 15 01 00 00 0a 00 02 3a 77 /* rgb_888 */]; - qcom,on-cmds-dsi-state = "DSI_LP_MODE"; - qcom,panel-off-cmds = [05 01 00 00 0a 00 02 28 00 /* display off */ - 05 01 00 00 78 00 02 10 00 /* enter sleep */]; - qcom,off-cmds-dsi-state = "DSI_HS_MODE"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/dsi-panel-sim-video.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v2/dsi-panel-sim-video.dtsi deleted file mode 100644 index 271e37316..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/dsi-panel-sim-video.dtsi +++ /dev/null @@ -1,46 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&soc { - - qcom,mdss_dsi_sim_video { - compatible = "qcom,mdss-dsi-panel"; - label = "simulator video mode dsi panel"; - status = "disable"; - qcom,dsi-ctrl-phandle = <&mdss_dsi0>; - qcom,mdss-pan-res = <640 480>; - qcom,mdss-pan-bpp = <24>; - qcom,mdss-pan-dest = "display_1"; - qcom,mdss-pan-porch-values = <6 2 6 6 2 6>; - qcom,mdss-pan-underflow-clr = <0xff>; - qcom,mdss-pan-bl-levels = <1 15>; - qcom,mdss-pan-dsi-mode = <0>; - qcom,mdss-pan-dsi-h-pulse-mode = <1>; - qcom,mdss-pan-dsi-h-power-stop = <1 1 1>; - qcom,mdss-pan-dsi-bllp-power-stop = <1 1>; - qcom,mdss-pan-dsi-traffic-mode = <0>; - qcom,mdss-pan-dsi-dst-format = <3>; - qcom,mdss-pan-dsi-vc = <0>; - qcom,mdss-pan-dsi-rgb-swap = <0>; - qcom,mdss-pan-dsi-data-lanes = <1 1 0 0>; - qcom,mdss-pan-dsi-dlane-swap = <0>; - qcom,mdss-pan-dsi-t-clk = <0x24 0x03>; - qcom,mdss-pan-dsi-stream = <0>; - qcom,mdss-pan-dsi-mdp-tr = <0x04>; - qcom,mdss-pan-dsi-dma-tr = <0x04>; - qcom,mdss-pan-dsi-frame-rate = <60>; - qcom,panel-on-cmds = [32 01 00 00 00 00 02 00 00]; - qcom,on-cmds-dsi-state = "DSI_LP_MODE"; - qcom,panel-off-cmds = [22 01 00 00 00 00 02 00 00]; - qcom,off-cmds-dsi-state = "DSI_LP_MODE"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/dsi-panel-toshiba-720p-video.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v2/dsi-panel-toshiba-720p-video.dtsi deleted file mode 100644 index 5c37cf8dc..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/dsi-panel-toshiba-720p-video.dtsi +++ /dev/null @@ -1,124 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&soc { - - qcom,mdss_dsi_toshiba_720p_video { - compatible = "qcom,mdss-dsi-panel"; - label = "toshiba 720p video mode dsi panel"; - status = "disable"; - qcom,dsi-ctrl-phandle = <&mdss_dsi0>; - qcom,enable-gpio = <&msmgpio 58 0>; - qcom,rst-gpio = <&pm8941_gpios 19 0>; - qcom,mdss-pan-res = <720 1280>; - qcom,mdss-pan-bpp = <24>; - qcom,mdss-pan-dest = "display_1"; - qcom,mdss-pan-porch-values = <32 12 144 3 4 9>; - qcom,mdss-pan-underflow-clr = <0xff>; - qcom,mdss-pan-bl-ctrl = "bl_ctrl_wled"; - qcom,mdss-pan-bl-levels = <1 4095>; - qcom,mdss-pan-dsi-mode = <0>; - qcom,mdss-pan-dsi-h-pulse-mode = <0>; - qcom,mdss-pan-dsi-h-power-stop = <0 0 0>; - qcom,mdss-pan-dsi-bllp-power-stop = <1 1>; - qcom,mdss-pan-dsi-traffic-mode = <1>; - qcom,mdss-pan-dsi-dst-format = <3>; - qcom,mdss-pan-dsi-vc = <0>; - qcom,mdss-pan-dsi-rgb-swap = <0>; - qcom,mdss-pan-dsi-data-lanes = <1 1 1 1>; - qcom,mdss-pan-dsi-dlane-swap = <0>; - qcom,mdss-pan-dsi-t-clk = <0x1b 0x04>; - qcom,mdss-pan-dsi-stream = <0>; - qcom,mdss-pan-dsi-mdp-tr = <0x0>; - qcom,mdss-pan-dsi-dma-tr = <0x04>; - qcom,mdss-pan-dsi-frame-rate = <60>; - qcom,panel-phy-regulatorSettings = [07 09 03 00 /* Regualotor settings */ - 20 00 01]; - qcom,panel-phy-timingSettings = [b0 23 1b 00 94 93 - 1e 25 15 03 04 00]; - qcom,panel-phy-strengthCtrl = [ff 06]; - qcom,panel-phy-bistCtrl = [00 00 b1 ff /* BIST Ctrl settings */ - 00 00]; - qcom,panel-phy-laneConfig = [00 00 00 00 00 00 00 01 97 /* lane0 config */ - 00 00 00 00 05 00 00 01 97 /* lane1 config */ - 00 00 00 00 0a 00 00 01 97 /* lane2 config */ - 00 00 00 00 0f 00 00 01 97 /* lane3 config */ - 00 c0 00 00 00 00 00 01 bb]; /* Clk ln config */ - - qcom,panel-on-cmds = [23 01 00 00 0a 00 02 b0 00 - 23 01 00 00 0a 00 02 b2 00 - 23 01 00 00 0a 00 02 b3 0c - 23 01 00 00 0a 00 02 b4 02 - 29 01 00 00 00 00 06 - c0 40 02 7f c8 08 - 29 01 00 00 00 00 10 - c1 00 a8 00 00 00 - 00 00 9d 08 27 00 - 00 00 00 00 - 29 01 00 00 00 00 06 - c2 00 00 09 00 00 - 23 01 00 00 0a 00 02 c3 04 - 29 01 00 00 00 00 04 - c4 4d 83 00 - 29 01 00 00 00 00 0b - c6 12 00 08 71 00 - 00 00 80 00 04 - 23 01 00 00 0a 00 02 c7 22 - 29 01 00 00 00 00 05 - c8 4c 0c 0c 0c - 29 01 00 00 00 00 0e - c9 00 40 00 16 32 - 2e 3a 43 3e 3c 45 - 79 3f - 29 01 00 00 00 00 0e - ca 00 46 1a 23 21 - 1c 25 31 2d 49 5f - 7f 3f - 29 01 00 00 00 00 0e - cb 00 4c 20 3a 42 - 40 47 4b 42 3e 46 - 7e 3f - 29 01 00 00 00 00 0e - cc 00 41 19 21 1d - 14 18 1f 1d 25 3f - 73 3f - 29 01 00 00 00 00 0e - cd 23 79 5a 5f 57 - 4c 51 51 45 3f 4b - 7f 3f - 29 01 00 00 00 00 0e - ce 00 40 14 20 1a - 0e 0e 13 08 00 05 - 46 1c - 29 01 00 00 00 00 04 - d0 6a 64 01 - 29 01 00 00 00 00 03 d1 77 d4 - 23 01 00 00 0a 00 02 d3 33 - 29 01 00 00 00 00 03 d5 0f 0f - 29 01 00 00 00 00 07 - d8 34 64 23 25 62 - 32 - 29 01 00 00 00 00 0c - de 10 7b 11 0a 00 - 00 00 00 00 00 00 - 29 01 00 00 00 00 09 - fd 04 55 53 00 70 - ff 10 73 - 23 01 00 00 0a 00 02 e2 00 - 05 01 00 00 78 00 02 11 00 - 05 01 00 00 32 00 02 29 00]; - qcom,on-cmds-dsi-state = "DSI_LP_MODE"; - qcom,panel-off-cmds = [05 01 00 00 32 00 02 28 00 - 05 01 00 00 78 00 02 10 00]; - qcom,off-cmds-dsi-state = "DSI_HS_MODE"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/dsi-v2-panel-hx8379a-wvga-video.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v2/dsi-v2-panel-hx8379a-wvga-video.dtsi deleted file mode 100644 index b9ed0506a..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/dsi-v2-panel-hx8379a-wvga-video.dtsi +++ /dev/null @@ -1,117 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/ { - qcom,dsi_v2_hx8379a_wvga_video { - compatible = "qcom,dsi-panel-v2"; - label = "HX8379A WVGA video mode dsi panel"; - qcom,dsi-ctrl-phandle = <&mdss_dsi0>; - qcom,rst-gpio = <&msmgpio 41 0>; - vdda-supply = <&pm8110_l19>; - vddio-supply=<&pm8110_l14>; - qcom,mdss-pan-res = <480 800>; - qcom,mdss-pan-bpp = <24>; - qcom,mdss-pan-dest = "display_1"; - qcom,mdss-pan-porch-values = <90 17 90 2 3 11>; - qcom,mdss-pan-underflow-clr = <0xff>; - qcom,mdss-pan-bl-levels = <1 255>; - qcom,mdss-pan-bl-ctrl = "bl_ctrl_wled"; - qcom,mdss-pan-dsi-mode = <0>; - qcom,mdss-pan-dsi-h-pulse-mode = <1>; - qcom,mdss-pan-dsi-h-power-stop = <0 0 0>; - qcom,mdss-pan-dsi-bllp-power-stop = <1 1>; - qcom,mdss-pan-dsi-traffic-mode = <2>; - qcom,mdss-pan-dsi-dst-format = <3>; - qcom,mdss-pan-dsi-vc = <0>; - qcom,mdss-pan-dsi-rgb-swap = <0>; - qcom,mdss-pan-dsi-data-lanes = <1 1 0 0>; - qcom,mdss-pan-dsi-dlane-swap = <1>; - qcom,mdss-pan-dsi-t-clk = <0x1b 0x04>; - qcom,mdss-pan-dsi-stream = <0>; - qcom,mdss-pan-dsi-mdp-tr = <0x0>;/*todo*/ - qcom,mdss-pan-dsi-dma-tr = <0x04>; - qcom,mdss-pan-dsi-frame-rate = <60>; - qcom,panel-phy-regulatorSettings =[09 08 05 00 20 03]; - qcom,panel-phy-timingSettings = [5D 12 0C 00 33 39 - 10 16 15 03 04 00]; - qcom,panel-phy-strengthCtrl = [ff 06]; - qcom,panel-phy-bistCtrl = [03 03 00 00 0f 00]; - qcom,panel-phy-laneConfig = - [80 45 00 00 01 66 /*lane0**/ - 80 45 00 00 01 66 /*lane1*/ - 80 45 00 00 01 66 /*lane2*/ - 80 45 00 00 01 66 /*lane3*/ - 40 67 00 00 01 88]; /*Clk*/ - - qcom,on-cmds-dsi-state = "DSI_LP_MODE"; - qcom,panel-on-cmds = [ - 29 01 00 00 01 04 - B9 FF 83 79 - 23 01 00 00 01 02 - BA 51 - 29 01 00 00 01 14 - B1 00 50 44 - EA 8D 08 11 - 0F 0F 24 2C - 9A 1A 42 0B - 6E F1 00 E6 - 29 01 00 00 01 0e - B2 00 00 3C - 08 04 19 22 - 00 FF 08 04 - 19 20 - 29 01 00 00 01 20 - B4 80 08 00 - 32 10 03 32 - 13 70 32 10 - 08 37 01 28 - 05 37 08 3C - 20 44 44 08 - 00 40 08 28 - 08 30 30 04 - 23 01 00 00 01 02 - cc 02 - 29 01 00 00 01 30 - D5 00 00 08 - 00 01 05 00 - 03 00 88 88 - 88 88 23 01 - 67 45 02 13 - 88 88 88 88 - 88 88 88 88 - 88 88 54 76 - 10 32 31 20 - 88 88 88 88 - 88 88 00 00 - 00 00 00 00 - 29 01 00 00 01 24 - E0 79 00 00 - 02 1C 1F 33 - 28 3E 07 0E - 0F 15 17 16 - 16 13 19 00 - 00 02 1C 1F - 33 28 3E 07 - 0E 0F 15 17 - 16 16 13 19 - 29 01 00 00 01 05 - B6 00 A6 00 A6 - 05 01 00 00 96 02 - 11 00 - 05 01 00 00 78 02 - 29 00 - ]; - qcom,panel-off-cmds = [05 01 00 00 32 02 28 00 - 05 01 00 00 78 02 10 00]; - qcom,off-cmds-dsi-state = "DSI_LP_MODE"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/dsi-v2-panel-truly-wvga-video.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v2/dsi-v2-panel-truly-wvga-video.dtsi deleted file mode 100644 index 891eac3ad..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/dsi-v2-panel-truly-wvga-video.dtsi +++ /dev/null @@ -1,120 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/ { - qcom,dsi_v2_truly_wvga_video { - compatible = "qcom,dsi-panel-v2"; - label = "Truly WVGA video mode dsi panel"; - qcom,dsi-ctrl-phandle = <&mdss_dsi0>; - qcom,rst-gpio = <&msmgpio 41 0>; - qcom,mode-selection-gpio = <&msmgpio 7 0>; - vdda-supply = <&pm8110_l19>; - vddio-supply=<&pm8110_l14>; - qcom,mdss-pan-res = <480 800>; - qcom,mdss-pan-bpp = <24>; - qcom,mdss-pan-dest = "display_1"; - qcom,mdss-pan-porch-values = <40 8 160 10 2 12>; - qcom,mdss-pan-underflow-clr = <0xff>; - qcom,mdss-pan-bl-levels = <1 255>; - qcom,mdss-pan-bl-ctrl = "bl_ctrl_wled"; - qcom,mdss-pan-dsi-mode = <0>; - qcom,mdss-pan-dsi-h-pulse-mode = <0>; - qcom,mdss-pan-dsi-h-power-stop = <0 0 0>; - qcom,mdss-pan-dsi-bllp-power-stop = <1 1>; - qcom,mdss-pan-dsi-traffic-mode = <1>; - qcom,mdss-pan-dsi-dst-format = <3>; - qcom,mdss-pan-dsi-vc = <0>; - qcom,mdss-pan-dsi-rgb-swap = <0>; - qcom,mdss-pan-dsi-data-lanes = <1 1 0 0>; - qcom,mdss-pan-dsi-dlane-swap = <0>; - qcom,mdss-pan-dsi-t-clk = <0x1b 0x04>; - qcom,mdss-pan-dsi-stream = <0>; - qcom,mdss-pan-dsi-mdp-tr = <0x0>;/*todo*/ - qcom,mdss-pan-dsi-dma-tr = <0x04>; - qcom,mdss-pan-dsi-frame-rate = <60>; - qcom,panel-phy-regulatorSettings =[09 08 05 00 20 03]; - qcom,panel-phy-timingSettings = [5D 12 0C 00 33 38 - 10 16 1E 03 04 00]; - qcom,panel-phy-strengthCtrl = [ff 06]; - qcom,panel-phy-bistCtrl = [03 03 00 00 0f 00]; - qcom,panel-phy-laneConfig = - [80 45 00 00 01 66 /*lane0**/ - 80 45 00 00 01 66 /*lane1*/ - 80 45 00 00 01 66 /*lane2*/ - 80 45 00 00 01 66 /*lane3*/ - 40 67 00 00 01 88]; /*Clk*/ - - qcom,on-cmds-dsi-state = "DSI_LP_MODE"; - qcom,panel-on-cmds = [ - 05 01 00 00 00 02 - 01 00 - 23 01 00 00 00 02 - b0 04 - 29 01 00 00 00 03 - b3 02 00 - 23 01 00 00 00 02 - bd 00 - 29 01 00 00 00 03 - c0 18 66 - 29 01 00 00 00 10 - c1 23 31 99 21 20 00 30 28 0c 0c - 00 00 00 21 01 - 29 01 00 00 00 07 - c2 10 06 06 01 03 00 - 29 01 00 00 00 19 - c8 04 10 18 20 2e 46 3c 28 1f 18 - 10 04 04 10 18 20 2e 46 3c 28 1f 18 10 04 - 29 01 00 00 00 19 - c9 04 10 18 20 2e 46 3c 28 1f 18 - 10 04 04 10 18 20 2e 46 3c 28 1f 18 10 04 - 29 01 00 00 00 19 - ca 04 10 18 20 2e 46 3c 28 1f 18 - 10 04 04 10 18 20 2e 46 3c 28 1f 18 10 04 - 29 01 00 00 00 11 - d0 29 03 ce a6 00 43 20 10 01 00 - 01 01 00 03 01 00 - 29 01 00 00 00 08 - d1 18 0C 23 03 75 02 50 - 23 01 00 00 00 02 - d3 11 - 29 01 00 00 00 03 - d5 2a 2a - 29 01 00 00 00 03 - de 01 41 - 23 01 00 00 00 02 - e6 51 - 23 01 00 00 00 02 - fa 03 - 23 01 00 00 64 02 - d6 28 - 39 01 00 00 00 05 - 2a 00 00 01 df - 39 01 00 00 00 05 - 2b 00 00 03 1f - 15 01 00 00 00 02 - 35 00 - 39 01 00 00 00 03 - 44 00 50 - 15 01 00 00 00 02 - 36 c1 - 15 01 00 00 00 02 - 3a 77 - 05 01 00 00 7D 02 - 11 00 - 05 01 00 00 14 02 - 29 00 - ]; - qcom,panel-off-cmds = [05 01 00 00 32 02 28 00 - 05 01 00 00 78 02 10 00]; - qcom,off-cmds-dsi-state = "DSI_LP_MODE"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/exynos4210-origen.dts b/kernel/arch/arm/boot/dts/m7350-un-v2/exynos4210-origen.dts deleted file mode 100644 index b8c476384..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/exynos4210-origen.dts +++ /dev/null @@ -1,137 +0,0 @@ -/* - * Samsung's Exynos4210 based Origen board device tree source - * - * Copyright (c) 2010-2011 Samsung Electronics Co., Ltd. - * http://www.samsung.com - * Copyright (c) 2010-2011 Linaro Ltd. - * www.linaro.org - * - * Device tree source file for Insignal's Origen board which is based on - * Samsung's Exynos4210 SoC. - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. -*/ - -/dts-v1/; -/include/ "exynos4210.dtsi" - -/ { - model = "Insignal Origen evaluation board based on Exynos4210"; - compatible = "insignal,origen", "samsung,exynos4210"; - - memory { - reg = <0x40000000 0x40000000>; - }; - - chosen { - bootargs ="root=/dev/ram0 rw ramdisk=8192 initrd=0x41000000,8M console=ttySAC2,115200 init=/linuxrc"; - }; - - sdhci@12530000 { - samsung,sdhci-bus-width = <4>; - linux,mmc_cap_4_bit_data; - samsung,sdhci-cd-internal; - gpio-cd = <&gpk2 2 2 3 3>; - gpios = <&gpk2 0 2 0 3>, - <&gpk2 1 2 0 3>, - <&gpk2 3 2 3 3>, - <&gpk2 4 2 3 3>, - <&gpk2 5 2 3 3>, - <&gpk2 6 2 3 3>; - }; - - sdhci@12510000 { - samsung,sdhci-bus-width = <4>; - linux,mmc_cap_4_bit_data; - samsung,sdhci-cd-internal; - gpio-cd = <&gpk0 2 2 3 3>; - gpios = <&gpk0 0 2 0 3>, - <&gpk0 1 2 0 3>, - <&gpk0 3 2 3 3>, - <&gpk0 4 2 3 3>, - <&gpk0 5 2 3 3>, - <&gpk0 6 2 3 3>; - }; - - gpio_keys { - compatible = "gpio-keys"; - #address-cells = <1>; - #size-cells = <0>; - - up { - label = "Up"; - gpios = <&gpx2 0 0 0 2>; - linux,code = <103>; - }; - - down { - label = "Down"; - gpios = <&gpx2 1 0 0 2>; - linux,code = <108>; - }; - - back { - label = "Back"; - gpios = <&gpx1 7 0 0 2>; - linux,code = <158>; - }; - - home { - label = "Home"; - gpios = <&gpx1 6 0 0 2>; - linux,code = <102>; - }; - - menu { - label = "Menu"; - gpios = <&gpx1 5 0 0 2>; - linux,code = <139>; - }; - }; - - keypad@100A0000 { - status = "disabled"; - }; - - sdhci@12520000 { - status = "disabled"; - }; - - sdhci@12540000 { - status = "disabled"; - }; - - i2c@13860000 { - status = "disabled"; - }; - - i2c@13870000 { - status = "disabled"; - }; - - i2c@13880000 { - status = "disabled"; - }; - - i2c@13890000 { - status = "disabled"; - }; - - i2c@138A0000 { - status = "disabled"; - }; - - i2c@138B0000 { - status = "disabled"; - }; - - i2c@138C0000 { - status = "disabled"; - }; - - i2c@138D0000 { - status = "disabled"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/exynos4210-smdkv310.dts b/kernel/arch/arm/boot/dts/m7350-un-v2/exynos4210-smdkv310.dts deleted file mode 100644 index 27afc8e53..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/exynos4210-smdkv310.dts +++ /dev/null @@ -1,182 +0,0 @@ -/* - * Samsung's Exynos4210 based SMDKV310 board device tree source - * - * Copyright (c) 2010-2011 Samsung Electronics Co., Ltd. - * http://www.samsung.com - * Copyright (c) 2010-2011 Linaro Ltd. - * www.linaro.org - * - * Device tree source file for Samsung's SMDKV310 board which is based on - * Samsung's Exynos4210 SoC. - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. -*/ - -/dts-v1/; -/include/ "exynos4210.dtsi" - -/ { - model = "Samsung smdkv310 evaluation board based on Exynos4210"; - compatible = "samsung,smdkv310", "samsung,exynos4210"; - - memory { - reg = <0x40000000 0x80000000>; - }; - - chosen { - bootargs = "root=/dev/ram0 rw ramdisk=8192 initrd=0x41000000,8M console=ttySAC1,115200 init=/linuxrc"; - }; - - sdhci@12530000 { - samsung,sdhci-bus-width = <4>; - linux,mmc_cap_4_bit_data; - samsung,sdhci-cd-internal; - gpio-cd = <&gpk2 2 2 3 3>; - gpios = <&gpk2 0 2 0 3>, - <&gpk2 1 2 0 3>, - <&gpk2 3 2 3 3>, - <&gpk2 4 2 3 3>, - <&gpk2 5 2 3 3>, - <&gpk2 6 2 3 3>; - }; - - keypad@100A0000 { - samsung,keypad-num-rows = <2>; - samsung,keypad-num-columns = <8>; - linux,keypad-no-autorepeat; - linux,keypad-wakeup; - - row-gpios = <&gpx2 0 3 3 0>, - <&gpx2 1 3 3 0>; - - col-gpios = <&gpx1 0 3 0 0>, - <&gpx1 1 3 0 0>, - <&gpx1 2 3 0 0>, - <&gpx1 3 3 0 0>, - <&gpx1 4 3 0 0>, - <&gpx1 5 3 0 0>, - <&gpx1 6 3 0 0>, - <&gpx1 7 3 0 0>; - - key_1 { - keypad,row = <0>; - keypad,column = <3>; - linux,code = <2>; - }; - - key_2 { - keypad,row = <0>; - keypad,column = <4>; - linux,code = <3>; - }; - - key_3 { - keypad,row = <0>; - keypad,column = <5>; - linux,code = <4>; - }; - - key_4 { - keypad,row = <0>; - keypad,column = <6>; - linux,code = <5>; - }; - - key_5 { - keypad,row = <0>; - keypad,column = <7>; - linux,code = <6>; - }; - - key_a { - keypad,row = <1>; - keypad,column = <3>; - linux,code = <30>; - }; - - key_b { - keypad,row = <1>; - keypad,column = <4>; - linux,code = <48>; - }; - - key_c { - keypad,row = <1>; - keypad,column = <5>; - linux,code = <46>; - }; - - key_d { - keypad,row = <1>; - keypad,column = <6>; - linux,code = <32>; - }; - - key_e { - keypad,row = <1>; - keypad,column = <7>; - linux,code = <18>; - }; - }; - - i2c@13860000 { - #address-cells = <1>; - #size-cells = <0>; - samsung,i2c-sda-delay = <100>; - samsung,i2c-max-bus-freq = <20000>; - gpios = <&gpd1 0 2 3 0>, - <&gpd1 1 2 3 0>; - - eeprom@50 { - compatible = "samsung,24ad0xd1"; - reg = <0x50>; - }; - - eeprom@52 { - compatible = "samsung,24ad0xd1"; - reg = <0x52>; - }; - }; - - sdhci@12510000 { - status = "disabled"; - }; - - sdhci@12520000 { - status = "disabled"; - }; - - sdhci@12540000 { - status = "disabled"; - }; - - i2c@13870000 { - status = "disabled"; - }; - - i2c@13880000 { - status = "disabled"; - }; - - i2c@13890000 { - status = "disabled"; - }; - - i2c@138A0000 { - status = "disabled"; - }; - - i2c@138B0000 { - status = "disabled"; - }; - - i2c@138C0000 { - status = "disabled"; - }; - - i2c@138D0000 { - status = "disabled"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/exynos4210.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v2/exynos4210.dtsi deleted file mode 100644 index a1dd2ee83..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/exynos4210.dtsi +++ /dev/null @@ -1,398 +0,0 @@ -/* - * Samsung's Exynos4210 SoC device tree source - * - * Copyright (c) 2010-2011 Samsung Electronics Co., Ltd. - * http://www.samsung.com - * Copyright (c) 2010-2011 Linaro Ltd. - * www.linaro.org - * - * Samsung's Exynos4210 SoC device nodes are listed in this file. Exynos4210 - * based board files can include this file and provide values for board specfic - * bindings. - * - * Note: This file does not include device nodes for all the controllers in - * Exynos4210 SoC. As device tree coverage for Exynos4210 increases, additional - * nodes can be added to this file. - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. -*/ - -/include/ "skeleton.dtsi" - -/ { - compatible = "samsung,exynos4210"; - interrupt-parent = <&gic>; - - gic:interrupt-controller@10490000 { - compatible = "arm,cortex-a9-gic"; - #interrupt-cells = <3>; - interrupt-controller; - cpu-offset = <0x8000>; - reg = <0x10490000 0x1000>, <0x10480000 0x100>; - }; - - watchdog@10060000 { - compatible = "samsung,s3c2410-wdt"; - reg = <0x10060000 0x100>; - interrupts = <0 43 0>; - }; - - rtc@10070000 { - compatible = "samsung,s3c6410-rtc"; - reg = <0x10070000 0x100>; - interrupts = <0 44 0>, <0 45 0>; - }; - - keypad@100A0000 { - compatible = "samsung,s5pv210-keypad"; - reg = <0x100A0000 0x100>; - interrupts = <0 109 0>; - }; - - sdhci@12510000 { - compatible = "samsung,exynos4210-sdhci"; - reg = <0x12510000 0x100>; - interrupts = <0 73 0>; - }; - - sdhci@12520000 { - compatible = "samsung,exynos4210-sdhci"; - reg = <0x12520000 0x100>; - interrupts = <0 74 0>; - }; - - sdhci@12530000 { - compatible = "samsung,exynos4210-sdhci"; - reg = <0x12530000 0x100>; - interrupts = <0 75 0>; - }; - - sdhci@12540000 { - compatible = "samsung,exynos4210-sdhci"; - reg = <0x12540000 0x100>; - interrupts = <0 76 0>; - }; - - serial@13800000 { - compatible = "samsung,exynos4210-uart"; - reg = <0x13800000 0x100>; - interrupts = <0 52 0>; - }; - - serial@13810000 { - compatible = "samsung,exynos4210-uart"; - reg = <0x13810000 0x100>; - interrupts = <0 53 0>; - }; - - serial@13820000 { - compatible = "samsung,exynos4210-uart"; - reg = <0x13820000 0x100>; - interrupts = <0 54 0>; - }; - - serial@13830000 { - compatible = "samsung,exynos4210-uart"; - reg = <0x13830000 0x100>; - interrupts = <0 55 0>; - }; - - i2c@13860000 { - compatible = "samsung,s3c2440-i2c"; - reg = <0x13860000 0x100>; - interrupts = <0 58 0>; - }; - - i2c@13870000 { - compatible = "samsung,s3c2440-i2c"; - reg = <0x13870000 0x100>; - interrupts = <0 59 0>; - }; - - i2c@13880000 { - compatible = "samsung,s3c2440-i2c"; - reg = <0x13880000 0x100>; - interrupts = <0 60 0>; - }; - - i2c@13890000 { - compatible = "samsung,s3c2440-i2c"; - reg = <0x13890000 0x100>; - interrupts = <0 61 0>; - }; - - i2c@138A0000 { - compatible = "samsung,s3c2440-i2c"; - reg = <0x138A0000 0x100>; - interrupts = <0 62 0>; - }; - - i2c@138B0000 { - compatible = "samsung,s3c2440-i2c"; - reg = <0x138B0000 0x100>; - interrupts = <0 63 0>; - }; - - i2c@138C0000 { - compatible = "samsung,s3c2440-i2c"; - reg = <0x138C0000 0x100>; - interrupts = <0 64 0>; - }; - - i2c@138D0000 { - compatible = "samsung,s3c2440-i2c"; - reg = <0x138D0000 0x100>; - interrupts = <0 65 0>; - }; - - amba { - #address-cells = <1>; - #size-cells = <1>; - compatible = "arm,amba-bus"; - interrupt-parent = <&gic>; - ranges; - - pdma0: pdma@12680000 { - compatible = "arm,pl330", "arm,primecell"; - reg = <0x12680000 0x1000>; - interrupts = <0 35 0>; - }; - - pdma1: pdma@12690000 { - compatible = "arm,pl330", "arm,primecell"; - reg = <0x12690000 0x1000>; - interrupts = <0 36 0>; - }; - }; - - gpio-controllers { - #address-cells = <1>; - #size-cells = <1>; - gpio-controller; - ranges; - - gpa0: gpio-controller@11400000 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400000 0x20>; - #gpio-cells = <4>; - }; - - gpa1: gpio-controller@11400020 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400020 0x20>; - #gpio-cells = <4>; - }; - - gpb: gpio-controller@11400040 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400040 0x20>; - #gpio-cells = <4>; - }; - - gpc0: gpio-controller@11400060 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400060 0x20>; - #gpio-cells = <4>; - }; - - gpc1: gpio-controller@11400080 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400080 0x20>; - #gpio-cells = <4>; - }; - - gpd0: gpio-controller@114000A0 { - compatible = "samsung,exynos4-gpio"; - reg = <0x114000A0 0x20>; - #gpio-cells = <4>; - }; - - gpd1: gpio-controller@114000C0 { - compatible = "samsung,exynos4-gpio"; - reg = <0x114000C0 0x20>; - #gpio-cells = <4>; - }; - - gpe0: gpio-controller@114000E0 { - compatible = "samsung,exynos4-gpio"; - reg = <0x114000E0 0x20>; - #gpio-cells = <4>; - }; - - gpe1: gpio-controller@11400100 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400100 0x20>; - #gpio-cells = <4>; - }; - - gpe2: gpio-controller@11400120 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400120 0x20>; - #gpio-cells = <4>; - }; - - gpe3: gpio-controller@11400140 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400140 0x20>; - #gpio-cells = <4>; - }; - - gpe4: gpio-controller@11400160 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400160 0x20>; - #gpio-cells = <4>; - }; - - gpf0: gpio-controller@11400180 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400180 0x20>; - #gpio-cells = <4>; - }; - - gpf1: gpio-controller@114001A0 { - compatible = "samsung,exynos4-gpio"; - reg = <0x114001A0 0x20>; - #gpio-cells = <4>; - }; - - gpf2: gpio-controller@114001C0 { - compatible = "samsung,exynos4-gpio"; - reg = <0x114001C0 0x20>; - #gpio-cells = <4>; - }; - - gpf3: gpio-controller@114001E0 { - compatible = "samsung,exynos4-gpio"; - reg = <0x114001E0 0x20>; - #gpio-cells = <4>; - }; - - gpj0: gpio-controller@11000000 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11000000 0x20>; - #gpio-cells = <4>; - }; - - gpj1: gpio-controller@11000020 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11000020 0x20>; - #gpio-cells = <4>; - }; - - gpk0: gpio-controller@11000040 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11000040 0x20>; - #gpio-cells = <4>; - }; - - gpk1: gpio-controller@11000060 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11000060 0x20>; - #gpio-cells = <4>; - }; - - gpk2: gpio-controller@11000080 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11000080 0x20>; - #gpio-cells = <4>; - }; - - gpk3: gpio-controller@110000A0 { - compatible = "samsung,exynos4-gpio"; - reg = <0x110000A0 0x20>; - #gpio-cells = <4>; - }; - - gpl0: gpio-controller@110000C0 { - compatible = "samsung,exynos4-gpio"; - reg = <0x110000C0 0x20>; - #gpio-cells = <4>; - }; - - gpl1: gpio-controller@110000E0 { - compatible = "samsung,exynos4-gpio"; - reg = <0x110000E0 0x20>; - #gpio-cells = <4>; - }; - - gpl2: gpio-controller@11000100 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11000100 0x20>; - #gpio-cells = <4>; - }; - - gpy0: gpio-controller@11000120 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11000120 0x20>; - #gpio-cells = <4>; - }; - - gpy1: gpio-controller@11000140 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11000140 0x20>; - #gpio-cells = <4>; - }; - - gpy2: gpio-controller@11000160 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11000160 0x20>; - #gpio-cells = <4>; - }; - - gpy3: gpio-controller@11000180 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11000180 0x20>; - #gpio-cells = <4>; - }; - - gpy4: gpio-controller@110001A0 { - compatible = "samsung,exynos4-gpio"; - reg = <0x110001A0 0x20>; - #gpio-cells = <4>; - }; - - gpy5: gpio-controller@110001C0 { - compatible = "samsung,exynos4-gpio"; - reg = <0x110001C0 0x20>; - #gpio-cells = <4>; - }; - - gpy6: gpio-controller@110001E0 { - compatible = "samsung,exynos4-gpio"; - reg = <0x110001E0 0x20>; - #gpio-cells = <4>; - }; - - gpx0: gpio-controller@11000C00 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11000C00 0x20>; - #gpio-cells = <4>; - }; - - gpx1: gpio-controller@11000C20 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11000C20 0x20>; - #gpio-cells = <4>; - }; - - gpx2: gpio-controller@11000C40 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11000C40 0x20>; - #gpio-cells = <4>; - }; - - gpx3: gpio-controller@11000C60 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11000C60 0x20>; - #gpio-cells = <4>; - }; - - gpz: gpio-controller@03860000 { - compatible = "samsung,exynos4-gpio"; - reg = <0x03860000 0x20>; - #gpio-cells = <4>; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/exynos5250-smdk5250.dts b/kernel/arch/arm/boot/dts/m7350-un-v2/exynos5250-smdk5250.dts deleted file mode 100644 index 399d17b23..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/exynos5250-smdk5250.dts +++ /dev/null @@ -1,26 +0,0 @@ -/* - * SAMSUNG SMDK5250 board device tree source - * - * Copyright (c) 2012 Samsung Electronics Co., Ltd. - * http://www.samsung.com - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. -*/ - -/dts-v1/; -/include/ "exynos5250.dtsi" - -/ { - model = "SAMSUNG SMDK5250 board based on EXYNOS5250"; - compatible = "samsung,smdk5250", "samsung,exynos5250"; - - memory { - reg = <0x40000000 0x80000000>; - }; - - chosen { - bootargs = "root=/dev/ram0 rw ramdisk=8192 console=ttySAC1,115200"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/exynos5250.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v2/exynos5250.dtsi deleted file mode 100644 index dfc433599..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/exynos5250.dtsi +++ /dev/null @@ -1,413 +0,0 @@ -/* - * SAMSUNG EXYNOS5250 SoC device tree source - * - * Copyright (c) 2012 Samsung Electronics Co., Ltd. - * http://www.samsung.com - * - * SAMSUNG EXYNOS5250 SoC device nodes are listed in this file. - * EXYNOS5250 based board files can include this file and provide - * values for board specfic bindings. - * - * Note: This file does not include device nodes for all the controllers in - * EXYNOS5250 SoC. As device tree coverage for EXYNOS5250 increases, - * additional nodes can be added to this file. - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. -*/ - -/include/ "skeleton.dtsi" - -/ { - compatible = "samsung,exynos5250"; - interrupt-parent = <&gic>; - - gic:interrupt-controller@10490000 { - compatible = "arm,cortex-a9-gic"; - #interrupt-cells = <3>; - interrupt-controller; - reg = <0x10490000 0x1000>, <0x10480000 0x100>; - }; - - watchdog { - compatible = "samsung,s3c2410-wdt"; - reg = <0x101D0000 0x100>; - interrupts = <0 42 0>; - }; - - rtc { - compatible = "samsung,s3c6410-rtc"; - reg = <0x101E0000 0x100>; - interrupts = <0 43 0>, <0 44 0>; - }; - - sdhci@12200000 { - compatible = "samsung,exynos4210-sdhci"; - reg = <0x12200000 0x100>; - interrupts = <0 75 0>; - }; - - sdhci@12210000 { - compatible = "samsung,exynos4210-sdhci"; - reg = <0x12210000 0x100>; - interrupts = <0 76 0>; - }; - - sdhci@12220000 { - compatible = "samsung,exynos4210-sdhci"; - reg = <0x12220000 0x100>; - interrupts = <0 77 0>; - }; - - sdhci@12230000 { - compatible = "samsung,exynos4210-sdhci"; - reg = <0x12230000 0x100>; - interrupts = <0 78 0>; - }; - - serial@12C00000 { - compatible = "samsung,exynos4210-uart"; - reg = <0x12C00000 0x100>; - interrupts = <0 51 0>; - }; - - serial@12C10000 { - compatible = "samsung,exynos4210-uart"; - reg = <0x12C10000 0x100>; - interrupts = <0 52 0>; - }; - - serial@12C20000 { - compatible = "samsung,exynos4210-uart"; - reg = <0x12C20000 0x100>; - interrupts = <0 53 0>; - }; - - serial@12C30000 { - compatible = "samsung,exynos4210-uart"; - reg = <0x12C30000 0x100>; - interrupts = <0 54 0>; - }; - - i2c@12C60000 { - compatible = "samsung,s3c2440-i2c"; - reg = <0x12C60000 0x100>; - interrupts = <0 56 0>; - }; - - i2c@12C70000 { - compatible = "samsung,s3c2440-i2c"; - reg = <0x12C70000 0x100>; - interrupts = <0 57 0>; - }; - - i2c@12C80000 { - compatible = "samsung,s3c2440-i2c"; - reg = <0x12C80000 0x100>; - interrupts = <0 58 0>; - }; - - i2c@12C90000 { - compatible = "samsung,s3c2440-i2c"; - reg = <0x12C90000 0x100>; - interrupts = <0 59 0>; - }; - - i2c@12CA0000 { - compatible = "samsung,s3c2440-i2c"; - reg = <0x12CA0000 0x100>; - interrupts = <0 60 0>; - }; - - i2c@12CB0000 { - compatible = "samsung,s3c2440-i2c"; - reg = <0x12CB0000 0x100>; - interrupts = <0 61 0>; - }; - - i2c@12CC0000 { - compatible = "samsung,s3c2440-i2c"; - reg = <0x12CC0000 0x100>; - interrupts = <0 62 0>; - }; - - i2c@12CD0000 { - compatible = "samsung,s3c2440-i2c"; - reg = <0x12CD0000 0x100>; - interrupts = <0 63 0>; - }; - - amba { - #address-cells = <1>; - #size-cells = <1>; - compatible = "arm,amba-bus"; - interrupt-parent = <&gic>; - ranges; - - pdma0: pdma@121A0000 { - compatible = "arm,pl330", "arm,primecell"; - reg = <0x121A0000 0x1000>; - interrupts = <0 34 0>; - }; - - pdma1: pdma@121B0000 { - compatible = "arm,pl330", "arm,primecell"; - reg = <0x121B0000 0x1000>; - interrupts = <0 35 0>; - }; - - mdma0: pdma@10800000 { - compatible = "arm,pl330", "arm,primecell"; - reg = <0x10800000 0x1000>; - interrupts = <0 33 0>; - }; - - mdma1: pdma@11C10000 { - compatible = "arm,pl330", "arm,primecell"; - reg = <0x11C10000 0x1000>; - interrupts = <0 124 0>; - }; - }; - - gpio-controllers { - #address-cells = <1>; - #size-cells = <1>; - gpio-controller; - ranges; - - gpa0: gpio-controller@11400000 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400000 0x20>; - #gpio-cells = <4>; - }; - - gpa1: gpio-controller@11400020 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400020 0x20>; - #gpio-cells = <4>; - }; - - gpa2: gpio-controller@11400040 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400040 0x20>; - #gpio-cells = <4>; - }; - - gpb0: gpio-controller@11400060 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400060 0x20>; - #gpio-cells = <4>; - }; - - gpb1: gpio-controller@11400080 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400080 0x20>; - #gpio-cells = <4>; - }; - - gpb2: gpio-controller@114000A0 { - compatible = "samsung,exynos4-gpio"; - reg = <0x114000A0 0x20>; - #gpio-cells = <4>; - }; - - gpb3: gpio-controller@114000C0 { - compatible = "samsung,exynos4-gpio"; - reg = <0x114000C0 0x20>; - #gpio-cells = <4>; - }; - - gpc0: gpio-controller@114000E0 { - compatible = "samsung,exynos4-gpio"; - reg = <0x114000E0 0x20>; - #gpio-cells = <4>; - }; - - gpc1: gpio-controller@11400100 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400100 0x20>; - #gpio-cells = <4>; - }; - - gpc2: gpio-controller@11400120 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400120 0x20>; - #gpio-cells = <4>; - }; - - gpc3: gpio-controller@11400140 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400140 0x20>; - #gpio-cells = <4>; - }; - - gpd0: gpio-controller@11400160 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400160 0x20>; - #gpio-cells = <4>; - }; - - gpd1: gpio-controller@11400180 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400180 0x20>; - #gpio-cells = <4>; - }; - - gpy0: gpio-controller@114001A0 { - compatible = "samsung,exynos4-gpio"; - reg = <0x114001A0 0x20>; - #gpio-cells = <4>; - }; - - gpy1: gpio-controller@114001C0 { - compatible = "samsung,exynos4-gpio"; - reg = <0x114001C0 0x20>; - #gpio-cells = <4>; - }; - - gpy2: gpio-controller@114001E0 { - compatible = "samsung,exynos4-gpio"; - reg = <0x114001E0 0x20>; - #gpio-cells = <4>; - }; - - gpy3: gpio-controller@11400200 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400200 0x20>; - #gpio-cells = <4>; - }; - - gpy4: gpio-controller@11400220 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400220 0x20>; - #gpio-cells = <4>; - }; - - gpy5: gpio-controller@11400240 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400240 0x20>; - #gpio-cells = <4>; - }; - - gpy6: gpio-controller@11400260 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400260 0x20>; - #gpio-cells = <4>; - }; - - gpx0: gpio-controller@11400C00 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400C00 0x20>; - #gpio-cells = <4>; - }; - - gpx1: gpio-controller@11400C20 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400C20 0x20>; - #gpio-cells = <4>; - }; - - gpx2: gpio-controller@11400C40 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400C40 0x20>; - #gpio-cells = <4>; - }; - - gpx3: gpio-controller@11400C60 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400C60 0x20>; - #gpio-cells = <4>; - }; - - gpe0: gpio-controller@13400000 { - compatible = "samsung,exynos4-gpio"; - reg = <0x13400000 0x20>; - #gpio-cells = <4>; - }; - - gpe1: gpio-controller@13400020 { - compatible = "samsung,exynos4-gpio"; - reg = <0x13400020 0x20>; - #gpio-cells = <4>; - }; - - gpf0: gpio-controller@13400040 { - compatible = "samsung,exynos4-gpio"; - reg = <0x13400040 0x20>; - #gpio-cells = <4>; - }; - - gpf1: gpio-controller@13400060 { - compatible = "samsung,exynos4-gpio"; - reg = <0x13400060 0x20>; - #gpio-cells = <4>; - }; - - gpg0: gpio-controller@13400080 { - compatible = "samsung,exynos4-gpio"; - reg = <0x13400080 0x20>; - #gpio-cells = <4>; - }; - - gpg1: gpio-controller@134000A0 { - compatible = "samsung,exynos4-gpio"; - reg = <0x134000A0 0x20>; - #gpio-cells = <4>; - }; - - gpg2: gpio-controller@134000C0 { - compatible = "samsung,exynos4-gpio"; - reg = <0x134000C0 0x20>; - #gpio-cells = <4>; - }; - - gph0: gpio-controller@134000E0 { - compatible = "samsung,exynos4-gpio"; - reg = <0x134000E0 0x20>; - #gpio-cells = <4>; - }; - - gph1: gpio-controller@13400100 { - compatible = "samsung,exynos4-gpio"; - reg = <0x13400100 0x20>; - #gpio-cells = <4>; - }; - - gpv0: gpio-controller@10D10000 { - compatible = "samsung,exynos4-gpio"; - reg = <0x10D10000 0x20>; - #gpio-cells = <4>; - }; - - gpv1: gpio-controller@10D10020 { - compatible = "samsung,exynos4-gpio"; - reg = <0x10D10020 0x20>; - #gpio-cells = <4>; - }; - - gpv2: gpio-controller@10D10040 { - compatible = "samsung,exynos4-gpio"; - reg = <0x10D10040 0x20>; - #gpio-cells = <4>; - }; - - gpv3: gpio-controller@10D10060 { - compatible = "samsung,exynos4-gpio"; - reg = <0x10D10060 0x20>; - #gpio-cells = <4>; - }; - - gpv4: gpio-controller@10D10080 { - compatible = "samsung,exynos4-gpio"; - reg = <0x10D10080 0x20>; - #gpio-cells = <4>; - }; - - gpz: gpio-controller@03860000 { - compatible = "samsung,exynos4-gpio"; - reg = <0x03860000 0x20>; - #gpio-cells = <4>; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/fsm9900-rumi.dts b/kernel/arch/arm/boot/dts/m7350-un-v2/fsm9900-rumi.dts deleted file mode 100644 index 2b380c7b3..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/fsm9900-rumi.dts +++ /dev/null @@ -1,31 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; - -/include/ "fsm9900.dtsi" - -/ { - model = "Qualcomm FSM9900 Rumi"; - compatible = "qcom,fsm9900-rumi", "qcom,fsm9900", "qcom-sim"; - qcom,msm-id = <188 0 0>; - - aliases { - serial0 = &uart0; - }; -}; - -&soc { - uart0: serial@f9960000 { - status = "ok"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/fsm9900-sim.dts b/kernel/arch/arm/boot/dts/m7350-un-v2/fsm9900-sim.dts deleted file mode 100644 index 050929e60..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/fsm9900-sim.dts +++ /dev/null @@ -1,32 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; - -/include/ "fsm9900.dtsi" - -/ { - model = "Qualcomm FSM9900 Simulator"; - compatible = "qcom,fsm9900-sim", "qcom,fsm9900", "qcom-sim"; - qcom,msm-id = <188 0 0>; - - aliases { - serial0 = &uart0; - }; -}; - -&soc { - uart0: serial@f9960000 { - interrupts = <0 116 0>; - status = "ok"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/fsm9900.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v2/fsm9900.dtsi deleted file mode 100644 index 766db368d..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/fsm9900.dtsi +++ /dev/null @@ -1,94 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/include/ "skeleton64.dtsi" - -/ { - model = "Qualcomm FSM9900"; - compatible = "qcom,fsm9900"; - interrupt-parent = <&intc>; - soc: soc { }; -}; - -&soc { - #address-cells = <1>; - #size-cells = <1>; - ranges = <0 0 0 0xffffffff>; - - intc: interrupt-controller@f9000000 { - compatible = "qcom,msm-qgic2"; - interrupt-controller; - #interrupt-cells = <3>; - reg = <0xF9000000 0x1000>, - <0xF9002000 0x1000>; - }; - - msmgpio: gpio@fd510000 { - compatible = "qcom,msm-gpio"; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - reg = <0xfd510000 0x4000>; - ngpio = <142>; - interrupts = <0 208 0>; - qcom,direct-connect-irqs = <5>; - }; - - timer { - compatible = "arm,armv7-timer"; - interrupts = <1 2 0 1 3 0>; - clock-frequency = <19200000>; - }; - - serial@f9960000 { - compatible = "qcom,msm-lsuart-v14"; - reg = <0xf9960000 0x1000>; - interrupts = <0 104 0>; - status = "disabled"; - }; - - cpu-pmu { - compatible = "qcom,krait-pmu"; - qcom,irq-is-percpu; - interrupts = <1 7 0xf00>; - }; - - qcom,msm-imem@fe805000 { - compatible = "qcom,msm-imem"; - reg = <0xfe805000 0x1000>; /* Address and size of IMEM */ - }; - - qcom,cache_erp { - compatible = "qcom,cache_erp"; - interrupts = <1 9 0>, <0 2 0>; - interrupt-names = "l1_irq", "l2_irq"; - }; - - qcom,cache_dump { - compatible = "qcom,cache_dump"; - qcom,l1-dump-size = <0x100000>; - qcom,l2-dump-size = <0x500000>; - qcom,memory-reservation-type = "EBI1"; - qcom,memory-reservation-size = <0x600000>; /* 6M EBI1 buffer */ - }; - - qcom,ion { - compatible = "qcom,msm-ion"; - #address-cells = <1>; - #size-cells = <0>; - - qcom,ion-heap@30 { /* SYSTEM HEAP */ - reg = <30>; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/highbank.dts b/kernel/arch/arm/boot/dts/m7350-un-v2/highbank.dts deleted file mode 100644 index 83e72294a..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/highbank.dts +++ /dev/null @@ -1,209 +0,0 @@ -/* - * Copyright 2011 Calxeda, Inc. - * - * This program is free software; you can redistribute it and/or modify it - * under the terms and conditions of the GNU General Public License, - * version 2, as published by the Free Software Foundation. - * - * This program is distributed in the hope 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. - * - * You should have received a copy of the GNU General Public License along with - * this program. If not, see . - */ - -/dts-v1/; - -/* First 4KB has pen for secondary cores. */ -/memreserve/ 0x00000000 0x0001000; - -/ { - model = "Calxeda Highbank"; - compatible = "calxeda,highbank"; - #address-cells = <1>; - #size-cells = <1>; - - cpus { - #address-cells = <1>; - #size-cells = <0>; - - cpu@0 { - compatible = "arm,cortex-a9"; - reg = <0>; - next-level-cache = <&L2>; - }; - - cpu@1 { - compatible = "arm,cortex-a9"; - reg = <1>; - next-level-cache = <&L2>; - }; - - cpu@2 { - compatible = "arm,cortex-a9"; - reg = <2>; - next-level-cache = <&L2>; - }; - - cpu@3 { - compatible = "arm,cortex-a9"; - reg = <3>; - next-level-cache = <&L2>; - }; - }; - - memory { - name = "memory"; - device_type = "memory"; - reg = <0x00000000 0xff900000>; - }; - - chosen { - bootargs = "console=ttyAMA0"; - }; - - soc { - #address-cells = <1>; - #size-cells = <1>; - compatible = "simple-bus"; - interrupt-parent = <&intc>; - ranges; - - timer@fff10600 { - compatible = "arm,cortex-a9-twd-timer"; - reg = <0xfff10600 0x20>; - interrupts = <1 13 0xf01>; - }; - - watchdog@fff10620 { - compatible = "arm,cortex-a9-twd-wdt"; - reg = <0xfff10620 0x20>; - interrupts = <1 14 0xf01>; - }; - - intc: interrupt-controller@fff11000 { - compatible = "arm,cortex-a9-gic"; - #interrupt-cells = <3>; - #size-cells = <0>; - #address-cells = <1>; - interrupt-controller; - reg = <0xfff11000 0x1000>, - <0xfff10100 0x100>; - }; - - L2: l2-cache { - compatible = "arm,pl310-cache"; - reg = <0xfff12000 0x1000>; - interrupts = <0 70 4>; - cache-unified; - cache-level = <2>; - }; - - pmu { - compatible = "arm,cortex-a9-pmu"; - interrupts = <0 76 4 0 75 4 0 74 4 0 73 4>; - }; - - sata@ffe08000 { - compatible = "calxeda,hb-ahci"; - reg = <0xffe08000 0x10000>; - interrupts = <0 83 4>; - }; - - sdhci@ffe0e000 { - compatible = "calxeda,hb-sdhci"; - reg = <0xffe0e000 0x1000>; - interrupts = <0 90 4>; - }; - - ipc@fff20000 { - compatible = "arm,pl320", "arm,primecell"; - reg = <0xfff20000 0x1000>; - interrupts = <0 7 4>; - }; - - gpioe: gpio@fff30000 { - #gpio-cells = <2>; - compatible = "arm,pl061", "arm,primecell"; - gpio-controller; - reg = <0xfff30000 0x1000>; - interrupts = <0 14 4>; - }; - - gpiof: gpio@fff31000 { - #gpio-cells = <2>; - compatible = "arm,pl061", "arm,primecell"; - gpio-controller; - reg = <0xfff31000 0x1000>; - interrupts = <0 15 4>; - }; - - gpiog: gpio@fff32000 { - #gpio-cells = <2>; - compatible = "arm,pl061", "arm,primecell"; - gpio-controller; - reg = <0xfff32000 0x1000>; - interrupts = <0 16 4>; - }; - - gpioh: gpio@fff33000 { - #gpio-cells = <2>; - compatible = "arm,pl061", "arm,primecell"; - gpio-controller; - reg = <0xfff33000 0x1000>; - interrupts = <0 17 4>; - }; - - timer { - compatible = "arm,sp804", "arm,primecell"; - reg = <0xfff34000 0x1000>; - interrupts = <0 18 4>; - }; - - rtc@fff35000 { - compatible = "arm,pl031", "arm,primecell"; - reg = <0xfff35000 0x1000>; - interrupts = <0 19 4>; - }; - - serial@fff36000 { - compatible = "arm,pl011", "arm,primecell"; - reg = <0xfff36000 0x1000>; - interrupts = <0 20 4>; - }; - - smic@fff3a000 { - compatible = "ipmi-smic"; - device_type = "ipmi"; - reg = <0xfff3a000 0x1000>; - interrupts = <0 24 4>; - reg-size = <4>; - reg-spacing = <4>; - }; - - sregs@fff3c000 { - compatible = "calxeda,hb-sregs"; - reg = <0xfff3c000 0x1000>; - }; - - dma@fff3d000 { - compatible = "arm,pl330", "arm,primecell"; - reg = <0xfff3d000 0x1000>; - interrupts = <0 92 4>; - }; - - ethernet@fff50000 { - compatible = "calxeda,hb-xgmac"; - reg = <0xfff50000 0x1000>; - interrupts = <0 77 4 0 78 4 0 79 4>; - }; - - ethernet@fff51000 { - compatible = "calxeda,hb-xgmac"; - reg = <0xfff51000 0x1000>; - interrupts = <0 80 4 0 81 4 0 82 4>; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/imx27-phytec-phycore.dts b/kernel/arch/arm/boot/dts/m7350-un-v2/imx27-phytec-phycore.dts deleted file mode 100644 index a51a08fc2..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/imx27-phytec-phycore.dts +++ /dev/null @@ -1,76 +0,0 @@ -/* - * Copyright 2012 Sascha Hauer, Pengutronix - * - * The code contained herein is licensed under the GNU General Public - * License. You may obtain a copy of the GNU General Public License - * Version 2 or later at the following locations: - * - * http://www.opensource.org/licenses/gpl-license.html - * http://www.gnu.org/copyleft/gpl.html - */ - -/dts-v1/; -/include/ "imx27.dtsi" - -/ { - model = "Phytec pcm038"; - compatible = "phytec,imx27-pcm038", "fsl,imx27"; - - memory { - reg = <0x0 0x0>; - }; - - soc { - aipi@10000000 { /* aipi */ - - wdog@10002000 { - status = "okay"; - }; - - uart@1000a000 { - fsl,uart-has-rtscts; - status = "okay"; - }; - - uart@1000b000 { - fsl,uart-has-rtscts; - status = "okay"; - }; - - uart@1000c000 { - fsl,uart-has-rtscts; - status = "okay"; - }; - - fec@1002b000 { - status = "okay"; - }; - - i2c@1001d000 { - clock-frequency = <400000>; - status = "okay"; - at24@4c { - compatible = "at,24c32"; - pagesize = <32>; - reg = <0x52>; - }; - pcf8563@51 { - compatible = "nxp,pcf8563"; - reg = <0x51>; - }; - lm75@4a { - compatible = "national,lm75"; - reg = <0x4a>; - }; - }; - }; - }; - - nor_flash@c0000000 { - compatible = "cfi-flash"; - bank-width = <2>; - reg = <0xc0000000 0x02000000>; - #address-cells = <1>; - #size-cells = <1>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/imx27.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v2/imx27.dtsi deleted file mode 100644 index bc5e7d5dd..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/imx27.dtsi +++ /dev/null @@ -1,217 +0,0 @@ -/* - * Copyright 2012 Sascha Hauer, Pengutronix - * - * The code contained herein is licensed under the GNU General Public - * License. You may obtain a copy of the GNU General Public License - * Version 2 or later at the following locations: - * - * http://www.opensource.org/licenses/gpl-license.html - * http://www.gnu.org/copyleft/gpl.html - */ - -/include/ "skeleton.dtsi" - -/ { - aliases { - serial0 = &uart1; - serial1 = &uart2; - serial2 = &uart3; - serial3 = &uart4; - serial4 = &uart5; - serial5 = &uart6; - }; - - avic: avic-interrupt-controller@e0000000 { - compatible = "fsl,imx27-avic", "fsl,avic"; - interrupt-controller; - #interrupt-cells = <1>; - reg = <0x10040000 0x1000>; - }; - - clocks { - #address-cells = <1>; - #size-cells = <0>; - - osc26m { - compatible = "fsl,imx-osc26m", "fixed-clock"; - clock-frequency = <26000000>; - }; - }; - - soc { - #address-cells = <1>; - #size-cells = <1>; - compatible = "simple-bus"; - interrupt-parent = <&avic>; - ranges; - - aipi@10000000 { /* AIPI1 */ - compatible = "fsl,aipi-bus", "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0x10000000 0x10000000>; - ranges; - - wdog@10002000 { - compatible = "fsl,imx27-wdt", "fsl,imx21-wdt"; - reg = <0x10002000 0x4000>; - interrupts = <27>; - status = "disabled"; - }; - - uart1: uart@1000a000 { - compatible = "fsl,imx27-uart", "fsl,imx21-uart"; - reg = <0x1000a000 0x1000>; - interrupts = <20>; - status = "disabled"; - }; - - uart2: uart@1000b000 { - compatible = "fsl,imx27-uart", "fsl,imx21-uart"; - reg = <0x1000b000 0x1000>; - interrupts = <19>; - status = "disabled"; - }; - - uart3: uart@1000c000 { - compatible = "fsl,imx27-uart", "fsl,imx21-uart"; - reg = <0x1000c000 0x1000>; - interrupts = <18>; - status = "disabled"; - }; - - uart4: uart@1000d000 { - compatible = "fsl,imx27-uart", "fsl,imx21-uart"; - reg = <0x1000d000 0x1000>; - interrupts = <17>; - status = "disabled"; - }; - - cspi1: cspi@1000e000 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx27-cspi"; - reg = <0x1000e000 0x1000>; - interrupts = <16>; - status = "disabled"; - }; - - cspi2: cspi@1000f000 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx27-cspi"; - reg = <0x1000f000 0x1000>; - interrupts = <15>; - status = "disabled"; - }; - - i2c1: i2c@10012000 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx27-i2c", "fsl,imx1-i2c"; - reg = <0x10012000 0x1000>; - interrupts = <12>; - status = "disabled"; - }; - - gpio1: gpio@10015000 { - compatible = "fsl,imx27-gpio", "fsl,imx21-gpio"; - reg = <0x10015000 0x100>; - interrupts = <8>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - gpio2: gpio@10015100 { - compatible = "fsl,imx27-gpio", "fsl,imx21-gpio"; - reg = <0x10015100 0x100>; - interrupts = <8>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - gpio3: gpio@10015200 { - compatible = "fsl,imx27-gpio", "fsl,imx21-gpio"; - reg = <0x10015200 0x100>; - interrupts = <8>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - gpio4: gpio@10015300 { - compatible = "fsl,imx27-gpio", "fsl,imx21-gpio"; - reg = <0x10015300 0x100>; - interrupts = <8>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - gpio5: gpio@10015400 { - compatible = "fsl,imx27-gpio", "fsl,imx21-gpio"; - reg = <0x10015400 0x100>; - interrupts = <8>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - gpio6: gpio@10015500 { - compatible = "fsl,imx27-gpio", "fsl,imx21-gpio"; - reg = <0x10015500 0x100>; - interrupts = <8>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - cspi3: cspi@10017000 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx27-cspi"; - reg = <0x10017000 0x1000>; - interrupts = <6>; - status = "disabled"; - }; - - uart5: uart@1001b000 { - compatible = "fsl,imx27-uart", "fsl,imx21-uart"; - reg = <0x1001b000 0x1000>; - interrupts = <49>; - status = "disabled"; - }; - - uart6: uart@1001c000 { - compatible = "fsl,imx27-uart", "fsl,imx21-uart"; - reg = <0x1001c000 0x1000>; - interrupts = <48>; - status = "disabled"; - }; - - i2c2: i2c@1001d000 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx27-i2c", "fsl,imx1-i2c"; - reg = <0x1001d000 0x1000>; - interrupts = <1>; - status = "disabled"; - }; - - fec: fec@1002b000 { - compatible = "fsl,imx27-fec"; - reg = <0x1002b000 0x4000>; - interrupts = <50>; - status = "disabled"; - }; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/imx51-babbage.dts b/kernel/arch/arm/boot/dts/m7350-un-v2/imx51-babbage.dts deleted file mode 100644 index 9949e6060..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/imx51-babbage.dts +++ /dev/null @@ -1,221 +0,0 @@ -/* - * Copyright 2011 Freescale Semiconductor, Inc. - * Copyright 2011 Linaro Ltd. - * - * The code contained herein is licensed under the GNU General Public - * License. You may obtain a copy of the GNU General Public License - * Version 2 or later at the following locations: - * - * http://www.opensource.org/licenses/gpl-license.html - * http://www.gnu.org/copyleft/gpl.html - */ - -/dts-v1/; -/include/ "imx51.dtsi" - -/ { - model = "Freescale i.MX51 Babbage Board"; - compatible = "fsl,imx51-babbage", "fsl,imx51"; - - chosen { - bootargs = "console=ttymxc0,115200 root=/dev/mmcblk0p3 rootwait"; - }; - - memory { - reg = <0x90000000 0x20000000>; - }; - - soc { - aips@70000000 { /* aips-1 */ - spba@70000000 { - esdhc@70004000 { /* ESDHC1 */ - fsl,cd-internal; - fsl,wp-internal; - status = "okay"; - }; - - esdhc@70008000 { /* ESDHC2 */ - cd-gpios = <&gpio1 6 0>; - wp-gpios = <&gpio1 5 0>; - status = "okay"; - }; - - uart3: uart@7000c000 { - fsl,uart-has-rtscts; - status = "okay"; - }; - - ecspi@70010000 { /* ECSPI1 */ - fsl,spi-num-chipselects = <2>; - cs-gpios = <&gpio4 24 0>, <&gpio4 25 0>; - status = "okay"; - - pmic: mc13892@0 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,mc13892"; - spi-max-frequency = <6000000>; - reg = <0>; - interrupt-parent = <&gpio1>; - interrupts = <8>; - - regulators { - sw1_reg: sw1 { - regulator-min-microvolt = <600000>; - regulator-max-microvolt = <1375000>; - regulator-boot-on; - regulator-always-on; - }; - - sw2_reg: sw2 { - regulator-min-microvolt = <900000>; - regulator-max-microvolt = <1850000>; - regulator-boot-on; - regulator-always-on; - }; - - sw3_reg: sw3 { - regulator-min-microvolt = <1100000>; - regulator-max-microvolt = <1850000>; - regulator-boot-on; - regulator-always-on; - }; - - sw4_reg: sw4 { - regulator-min-microvolt = <1100000>; - regulator-max-microvolt = <1850000>; - regulator-boot-on; - regulator-always-on; - }; - - vpll_reg: vpll { - regulator-min-microvolt = <1050000>; - regulator-max-microvolt = <1800000>; - regulator-boot-on; - regulator-always-on; - }; - - vdig_reg: vdig { - regulator-min-microvolt = <1650000>; - regulator-max-microvolt = <1650000>; - regulator-boot-on; - }; - - vsd_reg: vsd { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <3150000>; - }; - - vusb2_reg: vusb2 { - regulator-min-microvolt = <2400000>; - regulator-max-microvolt = <2775000>; - regulator-boot-on; - regulator-always-on; - }; - - vvideo_reg: vvideo { - regulator-min-microvolt = <2775000>; - regulator-max-microvolt = <2775000>; - }; - - vaudio_reg: vaudio { - regulator-min-microvolt = <2300000>; - regulator-max-microvolt = <3000000>; - }; - - vcam_reg: vcam { - regulator-min-microvolt = <2500000>; - regulator-max-microvolt = <3000000>; - }; - - vgen1_reg: vgen1 { - regulator-min-microvolt = <1200000>; - regulator-max-microvolt = <1200000>; - }; - - vgen2_reg: vgen2 { - regulator-min-microvolt = <1200000>; - regulator-max-microvolt = <3150000>; - regulator-always-on; - }; - - vgen3_reg: vgen3 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <2900000>; - regulator-always-on; - }; - }; - }; - - flash: at45db321d@1 { - #address-cells = <1>; - #size-cells = <1>; - compatible = "atmel,at45db321d", "atmel,at45", "atmel,dataflash"; - spi-max-frequency = <25000000>; - reg = <1>; - - partition@0 { - label = "U-Boot"; - reg = <0x0 0x40000>; - read-only; - }; - - partition@40000 { - label = "Kernel"; - reg = <0x40000 0x3c0000>; - }; - }; - }; - }; - - wdog@73f98000 { /* WDOG1 */ - status = "okay"; - }; - - iomuxc@73fa8000 { - compatible = "fsl,imx51-iomuxc-babbage"; - reg = <0x73fa8000 0x4000>; - }; - - uart1: uart@73fbc000 { - fsl,uart-has-rtscts; - status = "okay"; - }; - - uart2: uart@73fc0000 { - status = "okay"; - }; - }; - - aips@80000000 { /* aips-2 */ - sdma@83fb0000 { - fsl,sdma-ram-script-name = "imx/sdma/sdma-imx51.bin"; - }; - - i2c@83fc4000 { /* I2C2 */ - status = "okay"; - - codec: sgtl5000@0a { - compatible = "fsl,sgtl5000"; - reg = <0x0a>; - }; - }; - - fec@83fec000 { - phy-mode = "mii"; - status = "okay"; - }; - }; - }; - - gpio-keys { - compatible = "gpio-keys"; - - power { - label = "Power Button"; - gpios = <&gpio2 21 0>; - linux,code = <116>; /* KEY_POWER */ - gpio-key,wakeup; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/imx51.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v2/imx51.dtsi deleted file mode 100644 index 6663986fe..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/imx51.dtsi +++ /dev/null @@ -1,246 +0,0 @@ -/* - * Copyright 2011 Freescale Semiconductor, Inc. - * Copyright 2011 Linaro Ltd. - * - * The code contained herein is licensed under the GNU General Public - * License. You may obtain a copy of the GNU General Public License - * Version 2 or later at the following locations: - * - * http://www.opensource.org/licenses/gpl-license.html - * http://www.gnu.org/copyleft/gpl.html - */ - -/include/ "skeleton.dtsi" - -/ { - aliases { - serial0 = &uart1; - serial1 = &uart2; - serial2 = &uart3; - }; - - tzic: tz-interrupt-controller@e0000000 { - compatible = "fsl,imx51-tzic", "fsl,tzic"; - interrupt-controller; - #interrupt-cells = <1>; - reg = <0xe0000000 0x4000>; - }; - - clocks { - #address-cells = <1>; - #size-cells = <0>; - - ckil { - compatible = "fsl,imx-ckil", "fixed-clock"; - clock-frequency = <32768>; - }; - - ckih1 { - compatible = "fsl,imx-ckih1", "fixed-clock"; - clock-frequency = <22579200>; - }; - - ckih2 { - compatible = "fsl,imx-ckih2", "fixed-clock"; - clock-frequency = <0>; - }; - - osc { - compatible = "fsl,imx-osc", "fixed-clock"; - clock-frequency = <24000000>; - }; - }; - - soc { - #address-cells = <1>; - #size-cells = <1>; - compatible = "simple-bus"; - interrupt-parent = <&tzic>; - ranges; - - aips@70000000 { /* AIPS1 */ - compatible = "fsl,aips-bus", "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0x70000000 0x10000000>; - ranges; - - spba@70000000 { - compatible = "fsl,spba-bus", "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0x70000000 0x40000>; - ranges; - - esdhc@70004000 { /* ESDHC1 */ - compatible = "fsl,imx51-esdhc"; - reg = <0x70004000 0x4000>; - interrupts = <1>; - status = "disabled"; - }; - - esdhc@70008000 { /* ESDHC2 */ - compatible = "fsl,imx51-esdhc"; - reg = <0x70008000 0x4000>; - interrupts = <2>; - status = "disabled"; - }; - - uart3: uart@7000c000 { - compatible = "fsl,imx51-uart", "fsl,imx21-uart"; - reg = <0x7000c000 0x4000>; - interrupts = <33>; - status = "disabled"; - }; - - ecspi@70010000 { /* ECSPI1 */ - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx51-ecspi"; - reg = <0x70010000 0x4000>; - interrupts = <36>; - status = "disabled"; - }; - - esdhc@70020000 { /* ESDHC3 */ - compatible = "fsl,imx51-esdhc"; - reg = <0x70020000 0x4000>; - interrupts = <3>; - status = "disabled"; - }; - - esdhc@70024000 { /* ESDHC4 */ - compatible = "fsl,imx51-esdhc"; - reg = <0x70024000 0x4000>; - interrupts = <4>; - status = "disabled"; - }; - }; - - gpio1: gpio@73f84000 { - compatible = "fsl,imx51-gpio", "fsl,imx31-gpio"; - reg = <0x73f84000 0x4000>; - interrupts = <50 51>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - gpio2: gpio@73f88000 { - compatible = "fsl,imx51-gpio", "fsl,imx31-gpio"; - reg = <0x73f88000 0x4000>; - interrupts = <52 53>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - gpio3: gpio@73f8c000 { - compatible = "fsl,imx51-gpio", "fsl,imx31-gpio"; - reg = <0x73f8c000 0x4000>; - interrupts = <54 55>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - gpio4: gpio@73f90000 { - compatible = "fsl,imx51-gpio", "fsl,imx31-gpio"; - reg = <0x73f90000 0x4000>; - interrupts = <56 57>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - wdog@73f98000 { /* WDOG1 */ - compatible = "fsl,imx51-wdt", "fsl,imx21-wdt"; - reg = <0x73f98000 0x4000>; - interrupts = <58>; - status = "disabled"; - }; - - wdog@73f9c000 { /* WDOG2 */ - compatible = "fsl,imx51-wdt", "fsl,imx21-wdt"; - reg = <0x73f9c000 0x4000>; - interrupts = <59>; - status = "disabled"; - }; - - uart1: uart@73fbc000 { - compatible = "fsl,imx51-uart", "fsl,imx21-uart"; - reg = <0x73fbc000 0x4000>; - interrupts = <31>; - status = "disabled"; - }; - - uart2: uart@73fc0000 { - compatible = "fsl,imx51-uart", "fsl,imx21-uart"; - reg = <0x73fc0000 0x4000>; - interrupts = <32>; - status = "disabled"; - }; - }; - - aips@80000000 { /* AIPS2 */ - compatible = "fsl,aips-bus", "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0x80000000 0x10000000>; - ranges; - - ecspi@83fac000 { /* ECSPI2 */ - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx51-ecspi"; - reg = <0x83fac000 0x4000>; - interrupts = <37>; - status = "disabled"; - }; - - sdma@83fb0000 { - compatible = "fsl,imx51-sdma", "fsl,imx35-sdma"; - reg = <0x83fb0000 0x4000>; - interrupts = <6>; - }; - - cspi@83fc0000 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx51-cspi", "fsl,imx35-cspi"; - reg = <0x83fc0000 0x4000>; - interrupts = <38>; - status = "disabled"; - }; - - i2c@83fc4000 { /* I2C2 */ - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx51-i2c", "fsl,imx1-i2c"; - reg = <0x83fc4000 0x4000>; - interrupts = <63>; - status = "disabled"; - }; - - i2c@83fc8000 { /* I2C1 */ - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx51-i2c", "fsl,imx1-i2c"; - reg = <0x83fc8000 0x4000>; - interrupts = <62>; - status = "disabled"; - }; - - fec@83fec000 { - compatible = "fsl,imx51-fec", "fsl,imx27-fec"; - reg = <0x83fec000 0x4000>; - interrupts = <87>; - status = "disabled"; - }; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/imx53-ard.dts b/kernel/arch/arm/boot/dts/m7350-un-v2/imx53-ard.dts deleted file mode 100644 index 2dccce46e..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/imx53-ard.dts +++ /dev/null @@ -1,113 +0,0 @@ -/* - * Copyright 2011 Freescale Semiconductor, Inc. - * Copyright 2011 Linaro Ltd. - * - * The code contained herein is licensed under the GNU General Public - * License. You may obtain a copy of the GNU General Public License - * Version 2 or later at the following locations: - * - * http://www.opensource.org/licenses/gpl-license.html - * http://www.gnu.org/copyleft/gpl.html - */ - -/dts-v1/; -/include/ "imx53.dtsi" - -/ { - model = "Freescale i.MX53 Automotive Reference Design Board"; - compatible = "fsl,imx53-ard", "fsl,imx53"; - - chosen { - bootargs = "console=ttymxc0,115200 root=/dev/mmcblk0p3 rootwait"; - }; - - memory { - reg = <0x70000000 0x40000000>; - }; - - soc { - aips@50000000 { /* AIPS1 */ - spba@50000000 { - esdhc@50004000 { /* ESDHC1 */ - cd-gpios = <&gpio1 1 0>; - wp-gpios = <&gpio1 9 0>; - status = "okay"; - }; - }; - - wdog@53f98000 { /* WDOG1 */ - status = "okay"; - }; - - iomuxc@53fa8000 { - compatible = "fsl,imx53-iomuxc-ard"; - reg = <0x53fa8000 0x4000>; - }; - - uart1: uart@53fbc000 { - status = "okay"; - }; - }; - - aips@60000000 { /* AIPS2 */ - sdma@63fb0000 { - fsl,sdma-ram-script-name = "imx/sdma/sdma-imx53.bin"; - }; - }; - }; - - eim-cs1@f4000000 { - #address-cells = <1>; - #size-cells = <1>; - compatible = "fsl,eim-bus", "simple-bus"; - reg = <0xf4000000 0x3ff0000>; - ranges; - - lan9220@f4000000 { - compatible = "smsc,lan9220", "smsc,lan9115"; - reg = <0xf4000000 0x2000000>; - phy-mode = "mii"; - interrupt-parent = <&gpio2>; - interrupts = <31>; - reg-io-width = <4>; - smsc,irq-push-pull; - }; - }; - - gpio-keys { - compatible = "gpio-keys"; - - home { - label = "Home"; - gpios = <&gpio5 10 0>; - linux,code = <102>; /* KEY_HOME */ - gpio-key,wakeup; - }; - - back { - label = "Back"; - gpios = <&gpio5 11 0>; - linux,code = <158>; /* KEY_BACK */ - gpio-key,wakeup; - }; - - program { - label = "Program"; - gpios = <&gpio5 12 0>; - linux,code = <362>; /* KEY_PROGRAM */ - gpio-key,wakeup; - }; - - volume-up { - label = "Volume Up"; - gpios = <&gpio5 13 0>; - linux,code = <115>; /* KEY_VOLUMEUP */ - }; - - volume-down { - label = "Volume Down"; - gpios = <&gpio4 0 0>; - linux,code = <114>; /* KEY_VOLUMEDOWN */ - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/imx53-evk.dts b/kernel/arch/arm/boot/dts/m7350-un-v2/imx53-evk.dts deleted file mode 100644 index 5bac4aa48..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/imx53-evk.dts +++ /dev/null @@ -1,119 +0,0 @@ -/* - * Copyright 2011 Freescale Semiconductor, Inc. - * Copyright 2011 Linaro Ltd. - * - * The code contained herein is licensed under the GNU General Public - * License. You may obtain a copy of the GNU General Public License - * Version 2 or later at the following locations: - * - * http://www.opensource.org/licenses/gpl-license.html - * http://www.gnu.org/copyleft/gpl.html - */ - -/dts-v1/; -/include/ "imx53.dtsi" - -/ { - model = "Freescale i.MX53 Evaluation Kit"; - compatible = "fsl,imx53-evk", "fsl,imx53"; - - chosen { - bootargs = "console=ttymxc0,115200 root=/dev/mmcblk0p3 rootwait"; - }; - - memory { - reg = <0x70000000 0x80000000>; - }; - - soc { - aips@50000000 { /* AIPS1 */ - spba@50000000 { - esdhc@50004000 { /* ESDHC1 */ - cd-gpios = <&gpio3 13 0>; - wp-gpios = <&gpio3 14 0>; - status = "okay"; - }; - - ecspi@50010000 { /* ECSPI1 */ - fsl,spi-num-chipselects = <2>; - cs-gpios = <&gpio2 30 0>, <&gpio3 19 0>; - status = "okay"; - - flash: at45db321d@1 { - #address-cells = <1>; - #size-cells = <1>; - compatible = "atmel,at45db321d", "atmel,at45", "atmel,dataflash"; - spi-max-frequency = <25000000>; - reg = <1>; - - partition@0 { - label = "U-Boot"; - reg = <0x0 0x40000>; - read-only; - }; - - partition@40000 { - label = "Kernel"; - reg = <0x40000 0x3c0000>; - }; - }; - }; - - esdhc@50020000 { /* ESDHC3 */ - cd-gpios = <&gpio3 11 0>; - wp-gpios = <&gpio3 12 0>; - status = "okay"; - }; - }; - - wdog@53f98000 { /* WDOG1 */ - status = "okay"; - }; - - iomuxc@53fa8000 { - compatible = "fsl,imx53-iomuxc-evk"; - reg = <0x53fa8000 0x4000>; - }; - - uart1: uart@53fbc000 { - status = "okay"; - }; - }; - - aips@60000000 { /* AIPS2 */ - sdma@63fb0000 { - fsl,sdma-ram-script-name = "imx/sdma/sdma-imx53.bin"; - }; - - i2c@63fc4000 { /* I2C2 */ - status = "okay"; - - pmic: mc13892@08 { - compatible = "fsl,mc13892", "fsl,mc13xxx"; - reg = <0x08>; - }; - - codec: sgtl5000@0a { - compatible = "fsl,sgtl5000"; - reg = <0x0a>; - }; - }; - - fec@63fec000 { - phy-mode = "rmii"; - phy-reset-gpios = <&gpio7 6 0>; - status = "okay"; - }; - }; - }; - - leds { - compatible = "gpio-leds"; - - green { - label = "Heartbeat"; - gpios = <&gpio7 7 0>; - linux,default-trigger = "heartbeat"; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/imx53-qsb.dts b/kernel/arch/arm/boot/dts/m7350-un-v2/imx53-qsb.dts deleted file mode 100644 index 5c57c8672..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/imx53-qsb.dts +++ /dev/null @@ -1,125 +0,0 @@ -/* - * Copyright 2011 Freescale Semiconductor, Inc. - * Copyright 2011 Linaro Ltd. - * - * The code contained herein is licensed under the GNU General Public - * License. You may obtain a copy of the GNU General Public License - * Version 2 or later at the following locations: - * - * http://www.opensource.org/licenses/gpl-license.html - * http://www.gnu.org/copyleft/gpl.html - */ - -/dts-v1/; -/include/ "imx53.dtsi" - -/ { - model = "Freescale i.MX53 Quick Start Board"; - compatible = "fsl,imx53-qsb", "fsl,imx53"; - - chosen { - bootargs = "console=ttymxc0,115200 root=/dev/mmcblk0p3 rootwait"; - }; - - memory { - reg = <0x70000000 0x40000000>; - }; - - soc { - aips@50000000 { /* AIPS1 */ - spba@50000000 { - esdhc@50004000 { /* ESDHC1 */ - cd-gpios = <&gpio3 13 0>; - status = "okay"; - }; - - esdhc@50020000 { /* ESDHC3 */ - cd-gpios = <&gpio3 11 0>; - wp-gpios = <&gpio3 12 0>; - status = "okay"; - }; - }; - - wdog@53f98000 { /* WDOG1 */ - status = "okay"; - }; - - iomuxc@53fa8000 { - compatible = "fsl,imx53-iomuxc-qsb"; - reg = <0x53fa8000 0x4000>; - }; - - uart1: uart@53fbc000 { - status = "okay"; - }; - }; - - aips@60000000 { /* AIPS2 */ - sdma@63fb0000 { - fsl,sdma-ram-script-name = "imx/sdma/sdma-imx53.bin"; - }; - - i2c@63fc4000 { /* I2C2 */ - status = "okay"; - - codec: sgtl5000@0a { - compatible = "fsl,sgtl5000"; - reg = <0x0a>; - }; - }; - - i2c@63fc8000 { /* I2C1 */ - status = "okay"; - - accelerometer: mma8450@1c { - compatible = "fsl,mma8450"; - reg = <0x1c>; - }; - - pmic: dialog@48 { - compatible = "dialog,da9053", "dialog,da9052"; - reg = <0x48>; - }; - }; - - fec@63fec000 { - phy-mode = "rmii"; - phy-reset-gpios = <&gpio7 6 0>; - status = "okay"; - }; - }; - }; - - gpio-keys { - compatible = "gpio-keys"; - - power { - label = "Power Button"; - gpios = <&gpio1 8 0>; - linux,code = <116>; /* KEY_POWER */ - gpio-key,wakeup; - }; - - volume-up { - label = "Volume Up"; - gpios = <&gpio2 14 0>; - linux,code = <115>; /* KEY_VOLUMEUP */ - }; - - volume-down { - label = "Volume Down"; - gpios = <&gpio2 15 0>; - linux,code = <114>; /* KEY_VOLUMEDOWN */ - }; - }; - - leds { - compatible = "gpio-leds"; - - user { - label = "Heartbeat"; - gpios = <&gpio7 7 0>; - linux,default-trigger = "heartbeat"; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/imx53-smd.dts b/kernel/arch/arm/boot/dts/m7350-un-v2/imx53-smd.dts deleted file mode 100644 index c7ee86c2d..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/imx53-smd.dts +++ /dev/null @@ -1,168 +0,0 @@ -/* - * Copyright 2011 Freescale Semiconductor, Inc. - * Copyright 2011 Linaro Ltd. - * - * The code contained herein is licensed under the GNU General Public - * License. You may obtain a copy of the GNU General Public License - * Version 2 or later at the following locations: - * - * http://www.opensource.org/licenses/gpl-license.html - * http://www.gnu.org/copyleft/gpl.html - */ - -/dts-v1/; -/include/ "imx53.dtsi" - -/ { - model = "Freescale i.MX53 Smart Mobile Reference Design Board"; - compatible = "fsl,imx53-smd", "fsl,imx53"; - - chosen { - bootargs = "console=ttymxc0,115200 root=/dev/mmcblk0p3 rootwait"; - }; - - memory { - reg = <0x70000000 0x40000000>; - }; - - soc { - aips@50000000 { /* AIPS1 */ - spba@50000000 { - esdhc@50004000 { /* ESDHC1 */ - cd-gpios = <&gpio3 13 0>; - wp-gpios = <&gpio4 11 0>; - status = "okay"; - }; - - esdhc@50008000 { /* ESDHC2 */ - fsl,card-wired; - status = "okay"; - }; - - uart3: uart@5000c000 { - fsl,uart-has-rtscts; - status = "okay"; - }; - - ecspi@50010000 { /* ECSPI1 */ - fsl,spi-num-chipselects = <2>; - cs-gpios = <&gpio2 30 0>, <&gpio3 19 0>; - status = "okay"; - - zigbee: mc1323@0 { - compatible = "fsl,mc1323"; - spi-max-frequency = <8000000>; - reg = <0>; - }; - - flash: m25p32@1 { - #address-cells = <1>; - #size-cells = <1>; - compatible = "st,m25p32", "st,m25p"; - spi-max-frequency = <20000000>; - reg = <1>; - - partition@0 { - label = "U-Boot"; - reg = <0x0 0x40000>; - read-only; - }; - - partition@40000 { - label = "Kernel"; - reg = <0x40000 0x3c0000>; - }; - }; - }; - - esdhc@50020000 { /* ESDHC3 */ - fsl,card-wired; - status = "okay"; - }; - }; - - wdog@53f98000 { /* WDOG1 */ - status = "okay"; - }; - - iomuxc@53fa8000 { - compatible = "fsl,imx53-iomuxc-smd"; - reg = <0x53fa8000 0x4000>; - }; - - uart1: uart@53fbc000 { - status = "okay"; - }; - - uart2: uart@53fc0000 { - status = "okay"; - }; - }; - - aips@60000000 { /* AIPS2 */ - sdma@63fb0000 { - fsl,sdma-ram-script-name = "imx/sdma/sdma-imx53.bin"; - }; - - i2c@63fc4000 { /* I2C2 */ - status = "okay"; - - codec: sgtl5000@0a { - compatible = "fsl,sgtl5000"; - reg = <0x0a>; - }; - - magnetometer: mag3110@0e { - compatible = "fsl,mag3110"; - reg = <0x0e>; - }; - - touchkey: mpr121@5a { - compatible = "fsl,mpr121"; - reg = <0x5a>; - }; - }; - - i2c@63fc8000 { /* I2C1 */ - status = "okay"; - - accelerometer: mma8450@1c { - compatible = "fsl,mma8450"; - reg = <0x1c>; - }; - - camera: ov5642@3c { - compatible = "ovti,ov5642"; - reg = <0x3c>; - }; - - pmic: dialog@48 { - compatible = "dialog,da9053", "dialog,da9052"; - reg = <0x48>; - }; - }; - - fec@63fec000 { - phy-mode = "rmii"; - phy-reset-gpios = <&gpio7 6 0>; - status = "okay"; - }; - }; - }; - - gpio-keys { - compatible = "gpio-keys"; - - volume-up { - label = "Volume Up"; - gpios = <&gpio2 14 0>; - linux,code = <115>; /* KEY_VOLUMEUP */ - }; - - volume-down { - label = "Volume Down"; - gpios = <&gpio2 15 0>; - linux,code = <114>; /* KEY_VOLUMEDOWN */ - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/imx53.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v2/imx53.dtsi deleted file mode 100644 index 5dd91b942..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/imx53.dtsi +++ /dev/null @@ -1,301 +0,0 @@ -/* - * Copyright 2011 Freescale Semiconductor, Inc. - * Copyright 2011 Linaro Ltd. - * - * The code contained herein is licensed under the GNU General Public - * License. You may obtain a copy of the GNU General Public License - * Version 2 or later at the following locations: - * - * http://www.opensource.org/licenses/gpl-license.html - * http://www.gnu.org/copyleft/gpl.html - */ - -/include/ "skeleton.dtsi" - -/ { - aliases { - serial0 = &uart1; - serial1 = &uart2; - serial2 = &uart3; - serial3 = &uart4; - serial4 = &uart5; - }; - - tzic: tz-interrupt-controller@0fffc000 { - compatible = "fsl,imx53-tzic", "fsl,tzic"; - interrupt-controller; - #interrupt-cells = <1>; - reg = <0x0fffc000 0x4000>; - }; - - clocks { - #address-cells = <1>; - #size-cells = <0>; - - ckil { - compatible = "fsl,imx-ckil", "fixed-clock"; - clock-frequency = <32768>; - }; - - ckih1 { - compatible = "fsl,imx-ckih1", "fixed-clock"; - clock-frequency = <22579200>; - }; - - ckih2 { - compatible = "fsl,imx-ckih2", "fixed-clock"; - clock-frequency = <0>; - }; - - osc { - compatible = "fsl,imx-osc", "fixed-clock"; - clock-frequency = <24000000>; - }; - }; - - soc { - #address-cells = <1>; - #size-cells = <1>; - compatible = "simple-bus"; - interrupt-parent = <&tzic>; - ranges; - - aips@50000000 { /* AIPS1 */ - compatible = "fsl,aips-bus", "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0x50000000 0x10000000>; - ranges; - - spba@50000000 { - compatible = "fsl,spba-bus", "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0x50000000 0x40000>; - ranges; - - esdhc@50004000 { /* ESDHC1 */ - compatible = "fsl,imx53-esdhc"; - reg = <0x50004000 0x4000>; - interrupts = <1>; - status = "disabled"; - }; - - esdhc@50008000 { /* ESDHC2 */ - compatible = "fsl,imx53-esdhc"; - reg = <0x50008000 0x4000>; - interrupts = <2>; - status = "disabled"; - }; - - uart3: uart@5000c000 { - compatible = "fsl,imx53-uart", "fsl,imx21-uart"; - reg = <0x5000c000 0x4000>; - interrupts = <33>; - status = "disabled"; - }; - - ecspi@50010000 { /* ECSPI1 */ - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx53-ecspi", "fsl,imx51-ecspi"; - reg = <0x50010000 0x4000>; - interrupts = <36>; - status = "disabled"; - }; - - esdhc@50020000 { /* ESDHC3 */ - compatible = "fsl,imx53-esdhc"; - reg = <0x50020000 0x4000>; - interrupts = <3>; - status = "disabled"; - }; - - esdhc@50024000 { /* ESDHC4 */ - compatible = "fsl,imx53-esdhc"; - reg = <0x50024000 0x4000>; - interrupts = <4>; - status = "disabled"; - }; - }; - - gpio1: gpio@53f84000 { - compatible = "fsl,imx53-gpio", "fsl,imx31-gpio"; - reg = <0x53f84000 0x4000>; - interrupts = <50 51>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - gpio2: gpio@53f88000 { - compatible = "fsl,imx53-gpio", "fsl,imx31-gpio"; - reg = <0x53f88000 0x4000>; - interrupts = <52 53>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - gpio3: gpio@53f8c000 { - compatible = "fsl,imx53-gpio", "fsl,imx31-gpio"; - reg = <0x53f8c000 0x4000>; - interrupts = <54 55>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - gpio4: gpio@53f90000 { - compatible = "fsl,imx53-gpio", "fsl,imx31-gpio"; - reg = <0x53f90000 0x4000>; - interrupts = <56 57>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - wdog@53f98000 { /* WDOG1 */ - compatible = "fsl,imx53-wdt", "fsl,imx21-wdt"; - reg = <0x53f98000 0x4000>; - interrupts = <58>; - status = "disabled"; - }; - - wdog@53f9c000 { /* WDOG2 */ - compatible = "fsl,imx53-wdt", "fsl,imx21-wdt"; - reg = <0x53f9c000 0x4000>; - interrupts = <59>; - status = "disabled"; - }; - - uart1: uart@53fbc000 { - compatible = "fsl,imx53-uart", "fsl,imx21-uart"; - reg = <0x53fbc000 0x4000>; - interrupts = <31>; - status = "disabled"; - }; - - uart2: uart@53fc0000 { - compatible = "fsl,imx53-uart", "fsl,imx21-uart"; - reg = <0x53fc0000 0x4000>; - interrupts = <32>; - status = "disabled"; - }; - - gpio5: gpio@53fdc000 { - compatible = "fsl,imx53-gpio", "fsl,imx31-gpio"; - reg = <0x53fdc000 0x4000>; - interrupts = <103 104>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - gpio6: gpio@53fe0000 { - compatible = "fsl,imx53-gpio", "fsl,imx31-gpio"; - reg = <0x53fe0000 0x4000>; - interrupts = <105 106>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - gpio7: gpio@53fe4000 { - compatible = "fsl,imx53-gpio", "fsl,imx31-gpio"; - reg = <0x53fe4000 0x4000>; - interrupts = <107 108>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - i2c@53fec000 { /* I2C3 */ - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx53-i2c", "fsl,imx1-i2c"; - reg = <0x53fec000 0x4000>; - interrupts = <64>; - status = "disabled"; - }; - - uart4: uart@53ff0000 { - compatible = "fsl,imx53-uart", "fsl,imx21-uart"; - reg = <0x53ff0000 0x4000>; - interrupts = <13>; - status = "disabled"; - }; - }; - - aips@60000000 { /* AIPS2 */ - compatible = "fsl,aips-bus", "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0x60000000 0x10000000>; - ranges; - - uart5: uart@63f90000 { - compatible = "fsl,imx53-uart", "fsl,imx21-uart"; - reg = <0x63f90000 0x4000>; - interrupts = <86>; - status = "disabled"; - }; - - ecspi@63fac000 { /* ECSPI2 */ - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx53-ecspi", "fsl,imx51-ecspi"; - reg = <0x63fac000 0x4000>; - interrupts = <37>; - status = "disabled"; - }; - - sdma@63fb0000 { - compatible = "fsl,imx53-sdma", "fsl,imx35-sdma"; - reg = <0x63fb0000 0x4000>; - interrupts = <6>; - }; - - cspi@63fc0000 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx53-cspi", "fsl,imx35-cspi"; - reg = <0x63fc0000 0x4000>; - interrupts = <38>; - status = "disabled"; - }; - - i2c@63fc4000 { /* I2C2 */ - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx53-i2c", "fsl,imx1-i2c"; - reg = <0x63fc4000 0x4000>; - interrupts = <63>; - status = "disabled"; - }; - - i2c@63fc8000 { /* I2C1 */ - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx53-i2c", "fsl,imx1-i2c"; - reg = <0x63fc8000 0x4000>; - interrupts = <62>; - status = "disabled"; - }; - - fec@63fec000 { - compatible = "fsl,imx53-fec", "fsl,imx25-fec"; - reg = <0x63fec000 0x4000>; - interrupts = <87>; - status = "disabled"; - }; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/imx6q-arm2.dts b/kernel/arch/arm/boot/dts/m7350-un-v2/imx6q-arm2.dts deleted file mode 100644 index ce1c8238c..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/imx6q-arm2.dts +++ /dev/null @@ -1,76 +0,0 @@ -/* - * Copyright 2011 Freescale Semiconductor, Inc. - * Copyright 2011 Linaro Ltd. - * - * The code contained herein is licensed under the GNU General Public - * License. You may obtain a copy of the GNU General Public License - * Version 2 or later at the following locations: - * - * http://www.opensource.org/licenses/gpl-license.html - * http://www.gnu.org/copyleft/gpl.html - */ - -/dts-v1/; -/include/ "imx6q.dtsi" - -/ { - model = "Freescale i.MX6 Quad Armadillo2 Board"; - compatible = "fsl,imx6q-arm2", "fsl,imx6q"; - - chosen { - bootargs = "console=ttymxc0,115200 root=/dev/mmcblk3p3 rootwait"; - }; - - memory { - reg = <0x10000000 0x80000000>; - }; - - soc { - aips-bus@02100000 { /* AIPS2 */ - enet@02188000 { - phy-mode = "rgmii"; - local-mac-address = [00 04 9F 01 1B 61]; - status = "okay"; - }; - - usdhc@02198000 { /* uSDHC3 */ - cd-gpios = <&gpio6 11 0>; - wp-gpios = <&gpio6 14 0>; - vmmc-supply = <®_3p3v>; - status = "okay"; - }; - - usdhc@0219c000 { /* uSDHC4 */ - fsl,card-wired; - vmmc-supply = <®_3p3v>; - status = "okay"; - }; - - uart4: uart@021f0000 { - status = "okay"; - }; - }; - }; - - regulators { - compatible = "simple-bus"; - - reg_3p3v: 3p3v { - compatible = "regulator-fixed"; - regulator-name = "3P3V"; - regulator-min-microvolt = <3300000>; - regulator-max-microvolt = <3300000>; - regulator-always-on; - }; - }; - - leds { - compatible = "gpio-leds"; - - debug-led { - label = "Heartbeat"; - gpios = <&gpio3 25 0>; - linux,default-trigger = "heartbeat"; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/imx6q-sabrelite.dts b/kernel/arch/arm/boot/dts/m7350-un-v2/imx6q-sabrelite.dts deleted file mode 100644 index 4663a4e5a..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/imx6q-sabrelite.dts +++ /dev/null @@ -1,83 +0,0 @@ -/* - * Copyright 2011 Freescale Semiconductor, Inc. - * Copyright 2011 Linaro Ltd. - * - * The code contained herein is licensed under the GNU General Public - * License. You may obtain a copy of the GNU General Public License - * Version 2 or later at the following locations: - * - * http://www.opensource.org/licenses/gpl-license.html - * http://www.gnu.org/copyleft/gpl.html - */ - -/dts-v1/; -/include/ "imx6q.dtsi" - -/ { - model = "Freescale i.MX6 Quad SABRE Lite Board"; - compatible = "fsl,imx6q-sabrelite", "fsl,imx6q"; - - memory { - reg = <0x10000000 0x40000000>; - }; - - soc { - aips-bus@02100000 { /* AIPS2 */ - enet@02188000 { - phy-mode = "rgmii"; - phy-reset-gpios = <&gpio3 23 0>; - status = "okay"; - }; - - usdhc@02198000 { /* uSDHC3 */ - cd-gpios = <&gpio7 0 0>; - wp-gpios = <&gpio7 1 0>; - vmmc-supply = <®_3p3v>; - status = "okay"; - }; - - usdhc@0219c000 { /* uSDHC4 */ - cd-gpios = <&gpio2 6 0>; - wp-gpios = <&gpio2 7 0>; - vmmc-supply = <®_3p3v>; - status = "okay"; - }; - - uart2: uart@021e8000 { - status = "okay"; - }; - - i2c@021a0000 { /* I2C1 */ - status = "okay"; - clock-frequency = <100000>; - - codec: sgtl5000@0a { - compatible = "fsl,sgtl5000"; - reg = <0x0a>; - VDDA-supply = <®_2p5v>; - VDDIO-supply = <®_3p3v>; - }; - }; - }; - }; - - regulators { - compatible = "simple-bus"; - - reg_2p5v: 2p5v { - compatible = "regulator-fixed"; - regulator-name = "2P5V"; - regulator-min-microvolt = <2500000>; - regulator-max-microvolt = <2500000>; - regulator-always-on; - }; - - reg_3p3v: 3p3v { - compatible = "regulator-fixed"; - regulator-name = "3P3V"; - regulator-min-microvolt = <3300000>; - regulator-max-microvolt = <3300000>; - regulator-always-on; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/imx6q.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v2/imx6q.dtsi deleted file mode 100644 index 4905f51a1..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/imx6q.dtsi +++ /dev/null @@ -1,575 +0,0 @@ -/* - * Copyright 2011 Freescale Semiconductor, Inc. - * Copyright 2011 Linaro Ltd. - * - * The code contained herein is licensed under the GNU General Public - * License. You may obtain a copy of the GNU General Public License - * Version 2 or later at the following locations: - * - * http://www.opensource.org/licenses/gpl-license.html - * http://www.gnu.org/copyleft/gpl.html - */ - -/include/ "skeleton.dtsi" - -/ { - aliases { - serial0 = &uart1; - serial1 = &uart2; - serial2 = &uart3; - serial3 = &uart4; - serial4 = &uart5; - }; - - cpus { - #address-cells = <1>; - #size-cells = <0>; - - cpu@0 { - compatible = "arm,cortex-a9"; - reg = <0>; - next-level-cache = <&L2>; - }; - - cpu@1 { - compatible = "arm,cortex-a9"; - reg = <1>; - next-level-cache = <&L2>; - }; - - cpu@2 { - compatible = "arm,cortex-a9"; - reg = <2>; - next-level-cache = <&L2>; - }; - - cpu@3 { - compatible = "arm,cortex-a9"; - reg = <3>; - next-level-cache = <&L2>; - }; - }; - - intc: interrupt-controller@00a01000 { - compatible = "arm,cortex-a9-gic"; - #interrupt-cells = <3>; - #address-cells = <1>; - #size-cells = <1>; - interrupt-controller; - reg = <0x00a01000 0x1000>, - <0x00a00100 0x100>; - }; - - clocks { - #address-cells = <1>; - #size-cells = <0>; - - ckil { - compatible = "fsl,imx-ckil", "fixed-clock"; - clock-frequency = <32768>; - }; - - ckih1 { - compatible = "fsl,imx-ckih1", "fixed-clock"; - clock-frequency = <0>; - }; - - osc { - compatible = "fsl,imx-osc", "fixed-clock"; - clock-frequency = <24000000>; - }; - }; - - soc { - #address-cells = <1>; - #size-cells = <1>; - compatible = "simple-bus"; - interrupt-parent = <&intc>; - ranges; - - timer@00a00600 { - compatible = "arm,cortex-a9-twd-timer"; - reg = <0x00a00600 0x20>; - interrupts = <1 13 0xf01>; - }; - - L2: l2-cache@00a02000 { - compatible = "arm,pl310-cache"; - reg = <0x00a02000 0x1000>; - interrupts = <0 92 0x04>; - cache-unified; - cache-level = <2>; - }; - - aips-bus@02000000 { /* AIPS1 */ - compatible = "fsl,aips-bus", "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0x02000000 0x100000>; - ranges; - - spba-bus@02000000 { - compatible = "fsl,spba-bus", "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0x02000000 0x40000>; - ranges; - - spdif@02004000 { - reg = <0x02004000 0x4000>; - interrupts = <0 52 0x04>; - }; - - ecspi@02008000 { /* eCSPI1 */ - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx6q-ecspi", "fsl,imx51-ecspi"; - reg = <0x02008000 0x4000>; - interrupts = <0 31 0x04>; - status = "disabled"; - }; - - ecspi@0200c000 { /* eCSPI2 */ - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx6q-ecspi", "fsl,imx51-ecspi"; - reg = <0x0200c000 0x4000>; - interrupts = <0 32 0x04>; - status = "disabled"; - }; - - ecspi@02010000 { /* eCSPI3 */ - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx6q-ecspi", "fsl,imx51-ecspi"; - reg = <0x02010000 0x4000>; - interrupts = <0 33 0x04>; - status = "disabled"; - }; - - ecspi@02014000 { /* eCSPI4 */ - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx6q-ecspi", "fsl,imx51-ecspi"; - reg = <0x02014000 0x4000>; - interrupts = <0 34 0x04>; - status = "disabled"; - }; - - ecspi@02018000 { /* eCSPI5 */ - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx6q-ecspi", "fsl,imx51-ecspi"; - reg = <0x02018000 0x4000>; - interrupts = <0 35 0x04>; - status = "disabled"; - }; - - uart1: uart@02020000 { - compatible = "fsl,imx6q-uart", "fsl,imx21-uart"; - reg = <0x02020000 0x4000>; - interrupts = <0 26 0x04>; - status = "disabled"; - }; - - esai@02024000 { - reg = <0x02024000 0x4000>; - interrupts = <0 51 0x04>; - }; - - ssi@02028000 { /* SSI1 */ - reg = <0x02028000 0x4000>; - interrupts = <0 46 0x04>; - }; - - ssi@0202c000 { /* SSI2 */ - reg = <0x0202c000 0x4000>; - interrupts = <0 47 0x04>; - }; - - ssi@02030000 { /* SSI3 */ - reg = <0x02030000 0x4000>; - interrupts = <0 48 0x04>; - }; - - asrc@02034000 { - reg = <0x02034000 0x4000>; - interrupts = <0 50 0x04>; - }; - - spba@0203c000 { - reg = <0x0203c000 0x4000>; - }; - }; - - vpu@02040000 { - reg = <0x02040000 0x3c000>; - interrupts = <0 3 0x04 0 12 0x04>; - }; - - aipstz@0207c000 { /* AIPSTZ1 */ - reg = <0x0207c000 0x4000>; - }; - - pwm@02080000 { /* PWM1 */ - reg = <0x02080000 0x4000>; - interrupts = <0 83 0x04>; - }; - - pwm@02084000 { /* PWM2 */ - reg = <0x02084000 0x4000>; - interrupts = <0 84 0x04>; - }; - - pwm@02088000 { /* PWM3 */ - reg = <0x02088000 0x4000>; - interrupts = <0 85 0x04>; - }; - - pwm@0208c000 { /* PWM4 */ - reg = <0x0208c000 0x4000>; - interrupts = <0 86 0x04>; - }; - - flexcan@02090000 { /* CAN1 */ - reg = <0x02090000 0x4000>; - interrupts = <0 110 0x04>; - }; - - flexcan@02094000 { /* CAN2 */ - reg = <0x02094000 0x4000>; - interrupts = <0 111 0x04>; - }; - - gpt@02098000 { - compatible = "fsl,imx6q-gpt"; - reg = <0x02098000 0x4000>; - interrupts = <0 55 0x04>; - }; - - gpio1: gpio@0209c000 { - compatible = "fsl,imx6q-gpio", "fsl,imx31-gpio"; - reg = <0x0209c000 0x4000>; - interrupts = <0 66 0x04 0 67 0x04>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - gpio2: gpio@020a0000 { - compatible = "fsl,imx6q-gpio", "fsl,imx31-gpio"; - reg = <0x020a0000 0x4000>; - interrupts = <0 68 0x04 0 69 0x04>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - gpio3: gpio@020a4000 { - compatible = "fsl,imx6q-gpio", "fsl,imx31-gpio"; - reg = <0x020a4000 0x4000>; - interrupts = <0 70 0x04 0 71 0x04>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - gpio4: gpio@020a8000 { - compatible = "fsl,imx6q-gpio", "fsl,imx31-gpio"; - reg = <0x020a8000 0x4000>; - interrupts = <0 72 0x04 0 73 0x04>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - gpio5: gpio@020ac000 { - compatible = "fsl,imx6q-gpio", "fsl,imx31-gpio"; - reg = <0x020ac000 0x4000>; - interrupts = <0 74 0x04 0 75 0x04>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - gpio6: gpio@020b0000 { - compatible = "fsl,imx6q-gpio", "fsl,imx31-gpio"; - reg = <0x020b0000 0x4000>; - interrupts = <0 76 0x04 0 77 0x04>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - gpio7: gpio@020b4000 { - compatible = "fsl,imx6q-gpio", "fsl,imx31-gpio"; - reg = <0x020b4000 0x4000>; - interrupts = <0 78 0x04 0 79 0x04>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - kpp@020b8000 { - reg = <0x020b8000 0x4000>; - interrupts = <0 82 0x04>; - }; - - wdog@020bc000 { /* WDOG1 */ - compatible = "fsl,imx6q-wdt", "fsl,imx21-wdt"; - reg = <0x020bc000 0x4000>; - interrupts = <0 80 0x04>; - status = "disabled"; - }; - - wdog@020c0000 { /* WDOG2 */ - compatible = "fsl,imx6q-wdt", "fsl,imx21-wdt"; - reg = <0x020c0000 0x4000>; - interrupts = <0 81 0x04>; - status = "disabled"; - }; - - ccm@020c4000 { - compatible = "fsl,imx6q-ccm"; - reg = <0x020c4000 0x4000>; - interrupts = <0 87 0x04 0 88 0x04>; - }; - - anatop@020c8000 { - compatible = "fsl,imx6q-anatop"; - reg = <0x020c8000 0x1000>; - interrupts = <0 49 0x04 0 54 0x04 0 127 0x04>; - }; - - usbphy@020c9000 { /* USBPHY1 */ - reg = <0x020c9000 0x1000>; - interrupts = <0 44 0x04>; - }; - - usbphy@020ca000 { /* USBPHY2 */ - reg = <0x020ca000 0x1000>; - interrupts = <0 45 0x04>; - }; - - snvs@020cc000 { - reg = <0x020cc000 0x4000>; - interrupts = <0 19 0x04 0 20 0x04>; - }; - - epit@020d0000 { /* EPIT1 */ - reg = <0x020d0000 0x4000>; - interrupts = <0 56 0x04>; - }; - - epit@020d4000 { /* EPIT2 */ - reg = <0x020d4000 0x4000>; - interrupts = <0 57 0x04>; - }; - - src@020d8000 { - compatible = "fsl,imx6q-src"; - reg = <0x020d8000 0x4000>; - interrupts = <0 91 0x04 0 96 0x04>; - }; - - gpc@020dc000 { - compatible = "fsl,imx6q-gpc"; - reg = <0x020dc000 0x4000>; - interrupts = <0 89 0x04 0 90 0x04>; - }; - - iomuxc@020e0000 { - reg = <0x020e0000 0x4000>; - }; - - dcic@020e4000 { /* DCIC1 */ - reg = <0x020e4000 0x4000>; - interrupts = <0 124 0x04>; - }; - - dcic@020e8000 { /* DCIC2 */ - reg = <0x020e8000 0x4000>; - interrupts = <0 125 0x04>; - }; - - sdma@020ec000 { - compatible = "fsl,imx6q-sdma", "fsl,imx35-sdma"; - reg = <0x020ec000 0x4000>; - interrupts = <0 2 0x04>; - }; - }; - - aips-bus@02100000 { /* AIPS2 */ - compatible = "fsl,aips-bus", "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0x02100000 0x100000>; - ranges; - - caam@02100000 { - reg = <0x02100000 0x40000>; - interrupts = <0 105 0x04 0 106 0x04>; - }; - - aipstz@0217c000 { /* AIPSTZ2 */ - reg = <0x0217c000 0x4000>; - }; - - enet@02188000 { - compatible = "fsl,imx6q-fec"; - reg = <0x02188000 0x4000>; - interrupts = <0 118 0x04 0 119 0x04>; - status = "disabled"; - }; - - mlb@0218c000 { - reg = <0x0218c000 0x4000>; - interrupts = <0 53 0x04 0 117 0x04 0 126 0x04>; - }; - - usdhc@02190000 { /* uSDHC1 */ - compatible = "fsl,imx6q-usdhc"; - reg = <0x02190000 0x4000>; - interrupts = <0 22 0x04>; - status = "disabled"; - }; - - usdhc@02194000 { /* uSDHC2 */ - compatible = "fsl,imx6q-usdhc"; - reg = <0x02194000 0x4000>; - interrupts = <0 23 0x04>; - status = "disabled"; - }; - - usdhc@02198000 { /* uSDHC3 */ - compatible = "fsl,imx6q-usdhc"; - reg = <0x02198000 0x4000>; - interrupts = <0 24 0x04>; - status = "disabled"; - }; - - usdhc@0219c000 { /* uSDHC4 */ - compatible = "fsl,imx6q-usdhc"; - reg = <0x0219c000 0x4000>; - interrupts = <0 25 0x04>; - status = "disabled"; - }; - - i2c@021a0000 { /* I2C1 */ - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx6q-i2c", "fsl,imx1-i2c"; - reg = <0x021a0000 0x4000>; - interrupts = <0 36 0x04>; - status = "disabled"; - }; - - i2c@021a4000 { /* I2C2 */ - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx6q-i2c", "fsl,imx1-i2c"; - reg = <0x021a4000 0x4000>; - interrupts = <0 37 0x04>; - status = "disabled"; - }; - - i2c@021a8000 { /* I2C3 */ - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx6q-i2c", "fsl,imx1-i2c"; - reg = <0x021a8000 0x4000>; - interrupts = <0 38 0x04>; - status = "disabled"; - }; - - romcp@021ac000 { - reg = <0x021ac000 0x4000>; - }; - - mmdc@021b0000 { /* MMDC0 */ - compatible = "fsl,imx6q-mmdc"; - reg = <0x021b0000 0x4000>; - }; - - mmdc@021b4000 { /* MMDC1 */ - reg = <0x021b4000 0x4000>; - }; - - weim@021b8000 { - reg = <0x021b8000 0x4000>; - interrupts = <0 14 0x04>; - }; - - ocotp@021bc000 { - reg = <0x021bc000 0x4000>; - }; - - ocotp@021c0000 { - reg = <0x021c0000 0x4000>; - interrupts = <0 21 0x04>; - }; - - tzasc@021d0000 { /* TZASC1 */ - reg = <0x021d0000 0x4000>; - interrupts = <0 108 0x04>; - }; - - tzasc@021d4000 { /* TZASC2 */ - reg = <0x021d4000 0x4000>; - interrupts = <0 109 0x04>; - }; - - audmux@021d8000 { - reg = <0x021d8000 0x4000>; - }; - - mipi@021dc000 { /* MIPI-CSI */ - reg = <0x021dc000 0x4000>; - }; - - mipi@021e0000 { /* MIPI-DSI */ - reg = <0x021e0000 0x4000>; - }; - - vdoa@021e4000 { - reg = <0x021e4000 0x4000>; - interrupts = <0 18 0x04>; - }; - - uart2: uart@021e8000 { - compatible = "fsl,imx6q-uart", "fsl,imx21-uart"; - reg = <0x021e8000 0x4000>; - interrupts = <0 27 0x04>; - status = "disabled"; - }; - - uart3: uart@021ec000 { - compatible = "fsl,imx6q-uart", "fsl,imx21-uart"; - reg = <0x021ec000 0x4000>; - interrupts = <0 28 0x04>; - status = "disabled"; - }; - - uart4: uart@021f0000 { - compatible = "fsl,imx6q-uart", "fsl,imx21-uart"; - reg = <0x021f0000 0x4000>; - interrupts = <0 29 0x04>; - status = "disabled"; - }; - - uart5: uart@021f4000 { - compatible = "fsl,imx6q-uart", "fsl,imx21-uart"; - reg = <0x021f4000 0x4000>; - interrupts = <0 30 0x04>; - status = "disabled"; - }; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/kirkwood-dreamplug.dts b/kernel/arch/arm/boot/dts/m7350-un-v2/kirkwood-dreamplug.dts deleted file mode 100644 index a5376b842..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/kirkwood-dreamplug.dts +++ /dev/null @@ -1,24 +0,0 @@ -/dts-v1/; - -/include/ "kirkwood.dtsi" - -/ { - model = "Globalscale Technologies Dreamplug"; - compatible = "globalscale,dreamplug-003-ds2001", "globalscale,dreamplug", "mrvl,kirkwood-88f6281", "mrvl,kirkwood"; - - memory { - device_type = "memory"; - reg = <0x00000000 0x20000000>; - }; - - chosen { - bootargs = "console=ttyS0,115200n8 earlyprintk"; - }; - - ocp@f1000000 { - serial@12000 { - clock-frequency = <200000000>; - status = "ok"; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/kirkwood.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v2/kirkwood.dtsi deleted file mode 100644 index 3474ef890..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/kirkwood.dtsi +++ /dev/null @@ -1,36 +0,0 @@ -/include/ "skeleton.dtsi" - -/ { - compatible = "mrvl,kirkwood"; - - ocp@f1000000 { - compatible = "simple-bus"; - ranges = <0 0xf1000000 0x1000000>; - #address-cells = <1>; - #size-cells = <1>; - - serial@12000 { - compatible = "ns16550a"; - reg = <0x12000 0x100>; - reg-shift = <2>; - interrupts = <33>; - /* set clock-frequency in board dts */ - status = "disabled"; - }; - - serial@12100 { - compatible = "ns16550a"; - reg = <0x12100 0x100>; - reg-shift = <2>; - interrupts = <34>; - /* set clock-frequency in board dts */ - status = "disabled"; - }; - - rtc@10300 { - compatible = "mrvl,kirkwood-rtc", "mrvl,orion-rtc"; - reg = <0x10300 0x20>; - interrupts = <53>; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/mpq8092-iommu.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v2/mpq8092-iommu.dtsi deleted file mode 100644 index 56369dce3..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/mpq8092-iommu.dtsi +++ /dev/null @@ -1,40 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/include/ "msm-iommu-v1.dtsi" - -&jpeg_iommu { - status = "ok"; - vdd-supply = <&gdsc_jpeg>; -}; - -&mdp_iommu { - status = "ok"; - vdd-supply = <&gdsc_mdss>; -}; - -&venus_iommu { - status = "ok"; - vdd-supply = <&gdsc_venus>; -}; - -&kgsl_iommu { - status = "ok"; - qcom,needs-alt-core-clk; - vdd-supply = <&gdsc_oxili_cx>; - qcom,alt-vdd-supply = <&gdsc_oxili_gx>; -}; - -&vfe_iommu { - status = "ok"; - vdd-supply = <&gdsc_vfe>; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/mpq8092-ion.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v2/mpq8092-ion.dtsi deleted file mode 100644 index f9f59850a..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/mpq8092-ion.dtsi +++ /dev/null @@ -1,33 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&soc { - qcom,ion { - compatible = "qcom,msm-ion"; - #address-cells = <1>; - #size-cells = <0>; - - qcom,ion-heap@30 { /* SYSTEM HEAP */ - reg = <30>; - }; - - qcom,ion-heap@21 { /* SYSTEM CONTIG HEAP */ - reg = <21>; - }; - - qcom,ion-heap@25 { /* IOMMU HEAP */ - reg = <25>; - }; - - }; -}; - diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/mpq8092-regulator.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v2/mpq8092-regulator.dtsi deleted file mode 100644 index 63896e922..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/mpq8092-regulator.dtsi +++ /dev/null @@ -1,324 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - - -/* QPNP controlled regulators: */ - -&spmi_bus { - - qcom,pma8084@1 { - pma8084_s1: regulator@1400 { - regulator-min-microvolt = <900000>; - regulator-max-microvolt = <900000>; - qcom,enable-time = <500>; - qcom,pull-down-enable = <1>; - qcom,system-load = <100000>; - status = "okay"; - }; - - pma8084_s3: regulator@1a00 { - regulator-min-microvolt = <1350000>; - regulator-max-microvolt = <1350000>; - qcom,enable-time = <500>; - qcom,pull-down-enable = <1>; - regulator-always-on; - qcom,system-load = <100000>; - status = "okay"; - }; - - pma8084_s4: regulator@1d00 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,enable-time = <500>; - qcom,pull-down-enable = <1>; - regulator-always-on; - qcom,system-load = <100000>; - status = "okay"; - }; - - pma8084_s5: regulator@2000 { - regulator-min-microvolt = <2150000>; - regulator-max-microvolt = <2150000>; - qcom,enable-time = <500>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_s6: regulator@2300 { - regulator-min-microvolt = <900000>; - regulator-max-microvolt = <900000>; - qcom,enable-time = <500>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_s8: regulator@2900 { - regulator-min-microvolt = <1050000>; - regulator-max-microvolt = <1050000>; - qcom,enable-time = <500>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_s12: regulator@3500 { - regulator-min-microvolt = <900000>; - regulator-max-microvolt = <900000>; - qcom,enable-time = <500>; - qcom,pull-down-enable = <1>; - regulator-always-on; - qcom,system-load = <100000>; - status = "okay"; - }; - - pma8084_l1: regulator@4000 { - parent-supply = <&pma8084_s3>; - regulator-min-microvolt = <1225000>; - regulator-max-microvolt = <1225000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - regulator-always-on; - qcom,system-load = <10000>; - status = "okay"; - }; - - pma8084_l2: regulator@4100 { - parent-supply = <&pma8084_s3>; - regulator-min-microvolt = <1000000>; - regulator-max-microvolt = <1000000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l3: regulator@4200 { - parent-supply = <&pma8084_s3>; - regulator-min-microvolt = <1200000>; - regulator-max-microvolt = <1200000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l4: regulator@4300 { - parent-supply = <&pma8084_s3>; - regulator-min-microvolt = <1300000>; - regulator-max-microvolt = <1300000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l6: regulator@4500 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l9: regulator@4800 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <2950000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l10: regulator@4900 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l11: regulator@4a00 { - parent-supply = <&pma8084_s3>; - regulator-min-microvolt = <1200000>; - regulator-max-microvolt = <1200000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l12: regulator@4b00 { - regulator-min-microvolt = <2500000>; - regulator-max-microvolt = <2500000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l13: regulator@4c00 { - regulator-min-microvolt = <2950000>; - regulator-max-microvolt = <2950000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - regulator-always-on; - status = "okay"; - }; - - pma8084_l14: regulator@4d00 { - regulator-min-microvolt = <950000>; - regulator-max-microvolt = <950000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l15: regulator@4e00 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l16: regulator@4f00 { - parent-supply = <&pma8084_s5>; - regulator-min-microvolt = <750000>; - regulator-max-microvolt = <750000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l17: regulator@5000 { - regulator-min-microvolt = <3150000>; - regulator-max-microvolt = <3150000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - qcom,system-load = <100000>; - status = "okay"; - }; - - pma8084_l18: regulator@5100 { - regulator-min-microvolt = <2850000>; - regulator-max-microvolt = <2850000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l19: regulator@5200 { - parent-supply = <&pma8084_s5>; - regulator-min-microvolt = <1500000>; - regulator-max-microvolt = <1500000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l20: regulator@5300 { - regulator-min-microvolt = <2950000>; - regulator-max-microvolt = <2950000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - regulator-always-on; - status = "okay"; - }; - - pma8084_l21: regulator@5400 { - regulator-min-microvolt = <2950000>; - regulator-max-microvolt = <2950000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - regulator-always-on; - status = "okay"; - }; - - pma8084_l22: regulator@5500 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - regulator-always-on; - status = "okay"; - }; - - pma8084_l23: regulator@5600 { - regulator-min-microvolt = <3000000>; - regulator-max-microvolt = <3000000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l24: regulator@5700 { - regulator-min-microvolt = <3075000>; - regulator-max-microvolt = <3075000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - regulator-always-on; - status = "okay"; - }; - - pma8084_l25: regulator@5800 { - parent-supply = <&pma8084_s5>; - regulator-min-microvolt = <2000000>; - regulator-max-microvolt = <2000000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - pma8084_l26: regulator@5900 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - pma8084_l27: regulator@5A00 { - parent-supply = <&pma8084_s3>; - regulator-min-microvolt = <1000000>; - regulator-max-microvolt = <1000000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_lvs1: regulator@8000 { - parent-supply = <&pma8084_s4>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_lvs2: regulator@8100 { - parent-supply = <&pma8084_s4>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_lvs3: regulator@8200 { - parent-supply = <&pma8084_s4>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_lvs4: regulator@8300 { - parent-supply = <&pma8084_s4>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_mvs1: regulator@8400 { - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - }; -}; - diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/mpq8092-rumi.dts b/kernel/arch/arm/boot/dts/m7350-un-v2/mpq8092-rumi.dts deleted file mode 100644 index 1abaf5596..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/mpq8092-rumi.dts +++ /dev/null @@ -1,28 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; - -/include/ "mpq8092.dtsi" -/include/ "mpq8092-rumi.dtsi" - -/ { - model = "Qualcomm MPQ8092 RUMI"; - compatible = "qcom,mpq8092-rumi", "qcom,mpq8092", "qcom,rumi"; - qcom,msm-id = <146 16 0>; -}; - -&soc { - serial@f9922000 { - status = "ok"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/mpq8092-rumi.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v2/mpq8092-rumi.dtsi deleted file mode 100644 index 201699882..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/mpq8092-rumi.dtsi +++ /dev/null @@ -1,134 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -&soc { - timer { - clock-frequency = <5000000>; - }; - - timer@f9020000 { - clock-frequency = <5000000>; - }; - - usb@f9a55000 { - status = "disable"; - }; - - qcom,sdcc@f9824000 { - status = "disabled"; - qcom,clk-rates = <400000 19200000>; - }; - - qcom,sdcc@f98a4000 { - status = "disabled"; - qcom,clk-rates = <400000 19200000>; - }; - - qcom,sps@f998000 { - status = "disable"; - }; - - spi@f9924000 { - status = "disable"; - }; - - spi@f9923000 { - compatible = "qcom,spi-qup-v2"; - reg = <0xf9923000 0x1000>; - interrupts = <0 95 0>; - spi-max-frequency = <24000000>; - #address-cells = <1>; - #size-cells = <0>; - gpios = <&msmgpio 3 0>, /* CLK */ - <&msmgpio 1 0>, /* MISO */ - <&msmgpio 0 0>; /* MOSI */ - cs-gpios = <&msmgpio 9 0>; - - ethernet-switch@2 { - compatible = "simtec,ks8851"; - reg = <2>; - interrupt-parent = <&msmgpio>; - interrupts = <90 0>; - spi-max-frequency = <5000000>; - }; - }; - - i2c@f9966000 { - status = "disable"; - }; - - i2c@f9967000 { - status = "disable"; - cell-index = <0>; - compatible = "qcom,i2c-qup"; - reg = <0Xf9967000 0x1000>; - reg-names = "qup_phys_addr"; - interrupts = <0 105 0>; - interrupt-names = "qup_err_intr"; - qcom,i2c-bus-freq = <100000>; - qcom,i2c-src-freq = <19200000>; - gpios = <&msmgpio 83 0>,/* DAT */ - <&msmgpio 84 0>;/* CLK */ - }; - - slim@fe12f000 { - status = "disable"; - }; - - qcom,mdss_dsi@fd922800 { - status = "disable"; - }; - - qcom,spmi@fc4c0000 { - status = "disable"; - }; - - qcom,ssusb@F9200000 { - status = "disable"; - }; - - qcom,lpass@fe200000 { - status = "disable"; - }; - - qcom,pronto@fb21b000 { - status = "disable"; - }; - - qcom,mss@fc880000 { - status = "disable"; - }; - - qcom,kgsl-3d0@fdb00000 { - status = "disabled"; - }; -}; - -&gdsc_venus { - status = "disabled"; -}; - -&gdsc_jpeg { - status = "disabled"; -}; - -&gdsc_oxili_gx { - status = "disabled"; -}; - -&gdsc_oxili_cx { - status = "disabled"; -}; - -&gdsc_usb_hsic { - status = "disabled"; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/mpq8092-sim.dts b/kernel/arch/arm/boot/dts/m7350-un-v2/mpq8092-sim.dts deleted file mode 100644 index 676ef3b17..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/mpq8092-sim.dts +++ /dev/null @@ -1,125 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/dts-v1/; - -/include/ "mpq8092.dtsi" - -/ { - model = "Qualcomm MPQ8092 Simulator"; - compatible = "qcom,mpq8092-sim", "qcom,mpq8092", "qcom,sim"; - qcom,msm-id = <126 16 0>; -}; - -&soc { - serial@f991f000 { - status = "ok"; - }; - - serial@f995e000 { - status = "ok"; - }; -}; - -&pma8084_gpios { - gpio@c000 { /* GPIO 1 */ - }; - - gpio@c100 { /* GPIO 2 */ - }; - - gpio@c200 { /* GPIO 3 */ - }; - - gpio@c300 { /* GPIO 4 */ - }; - - gpio@c400 { /* GPIO 5 */ - }; - - gpio@c500 { /* GPIO 6 */ - }; - - gpio@c600 { /* GPIO 7 */ - }; - - gpio@c700 { /* GPIO 8 */ - }; - - gpio@c800 { /* GPIO 9 */ - }; - - gpio@c900 { /* GPIO 10 */ - }; - - gpio@ca00 { /* GPIO 11 */ - }; - - gpio@cb00 { /* GPIO 12 */ - }; - - gpio@cc00 { /* GPIO 13 */ - }; - - gpio@cd00 { /* GPIO 14 */ - }; - - gpio@ce00 { /* GPIO 15 */ - }; - - gpio@cf00 { /* GPIO 16 */ - }; - - gpio@d000 { /* GPIO 17 */ - }; - - gpio@d100 { /* GPIO 18 */ - }; - - gpio@d200 { /* GPIO 19 */ - }; - - gpio@d300 { /* GPIO 20 */ - }; - - gpio@d400 { /* GPIO 21 */ - }; - - gpio@d500 { /* GPIO 22 */ - }; -}; - -&pma8084_mpps { - mpp@a000 { /* MPP 1 */ - }; - - mpp@a100 { /* MPP 2 */ - }; - - mpp@a200 { /* MPP 3 */ - }; - - mpp@a300 { /* MPP 4 */ - }; - - mpp@a400 { /* MPP5 */ - }; - - mpp@a500 { /* MPP 6 */ - }; - - mpp@a600 { /* MPP 7 */ - }; - - mpp@a700 { /* MPP 8 */ - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/mpq8092.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v2/mpq8092.dtsi deleted file mode 100644 index e8674a055..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/mpq8092.dtsi +++ /dev/null @@ -1,240 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/include/ "skeleton.dtsi" - -/ { - model = "Qualcomm MPQ8092"; - compatible = "qcom,mpq8092"; - interrupt-parent = <&intc>; - - soc: soc { }; -}; - -/include/ "mpq8092-iommu.dtsi" -/include/ "msm-gdsc.dtsi" -/include/ "mpq8092-ion.dtsi" - -&soc { - #address-cells = <1>; - #size-cells = <1>; - ranges; - - intc: interrupt-controller@f9000000 { - compatible = "qcom,msm-qgic2"; - interrupt-controller; - #interrupt-cells = <3>; - reg = <0xf9000000 0x1000>, - <0xf9002000 0x1000>; - }; - - msmgpio: gpio@fd510000 { - compatible = "qcom,msm-gpio"; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - reg = <0xfd510000 0x4000>; - ngpio = <146>; - interrupts = <0 208 0>; - qcom,direct-connect-irqs = <8>; - }; - - timer { - compatible = "arm,armv7-timer"; - interrupts = <1 2 0>, <1 3 0>; - clock-frequency = <19200000>; - }; - - 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 8 0x4>, - <0 7 0x4>; - reg = <0xf9021000 0x1000>, - <0xf9022000 0x1000>; - }; - - frame@f9023000 { - frame-number = <1>; - interrupts = <0 9 0x4>; - reg = <0xf9023000 0x1000>; - status = "disabled"; - }; - - frame@f9024000 { - frame-number = <2>; - interrupts = <0 10 0x4>; - reg = <0xf9024000 0x1000>; - status = "disabled"; - }; - - frame@f9025000 { - frame-number = <3>; - interrupts = <0 11 0x4>; - reg = <0xf9025000 0x1000>; - status = "disabled"; - }; - - frame@f9026000 { - frame-number = <4>; - interrupts = <0 12 0x4>; - reg = <0xf9026000 0x1000>; - status = "disabled"; - }; - - frame@f9027000 { - frame-number = <5>; - interrupts = <0 13 0x4>; - reg = <0xf9027000 0x1000>; - status = "disabled"; - }; - - frame@f9028000 { - frame-number = <6>; - interrupts = <0 14 0x4>; - reg = <0xf9028000 0x1000>; - status = "disabled"; - }; - }; - - serial@f991f000 { - compatible = "qcom,msm-lsuart-v14"; - reg = <0xf991f000 0x1000>; - interrupts = <0 109 0>; - status = "disabled"; - }; - - serial@f9922000 { - compatible = "qcom,msm-lsuart-v14"; - reg = <0xf9922000 0x1000>; - interrupts = <0 112 0>; - status = "disabled"; - }; - - serial@f995e000 { - compatible = "qcom,msm-lsuart-v14"; - reg = <0xf995e000 0x1000>; - interrupts = <0 114 0>; - status = "disabled"; - }; - - qcom,msm-imem@fe805000 { - compatible = "qcom,msm-imem"; - reg = <0xfe805000 0x1000>; /* Address and size of IMEM */ - }; - - spmi_bus: qcom,spmi@fc4c0000 { - cell-index = <0>; - 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,not-wakeup; - qcom,pmic-arb-ee = <0>; - qcom,pmic-arb-channel = <0>; - }; - - sdcc1: qcom,sdcc@f9824000 { - cell-index = <1>; /* SDC1 eMMC slot */ - compatible = "qcom,msm-sdcc"; - reg = <0xf9824000 0x800>; - reg-names = "core_mem"; - interrupts = <0 123 0>; - interrupt-names = "core_irq"; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - qcom,sup-voltages = <2950 2950>; - qcom,bus-width = <8>; - qcom,nonremovable; - qcom,bus-speed-mode = "HS200_1p8v", "DDR_1p8v"; - }; - - sdcc2: qcom,sdcc@f98a4000 { - cell-index = <2>; /* SDC2 SD card slot */ - compatible = "qcom,msm-sdcc"; - reg = <0xf98a4000 0x800>; - reg-names = "core_mem"; - interrupts = <0 125 0>; - interrupt-names = "core_irq"; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - qcom,sup-voltages = <2950 2950>; - qcom,bus-width = <4>; - qcom,xpc; - qcom,bus-speed-mode = "SDR12", "SDR25", "SDR50", "DDR50", "SDR104"; - qcom,current-limit = <800>; - }; - - sata: sata@fc580000 { - compatible = "qcom,msm-ahci"; - reg = <0xfc580000 0x17c>; - interrupts = <0 243 0>; - }; - - qcom,wdt@f9017000 { - compatible = "qcom,msm-watchdog"; - reg = <0xf9017000 0x1000>; - interrupts = <0 3 0>, <0 4 0>; - qcom,bark-time = <11000>; - qcom,pet-time = <10000>; - qcom,ipi-ping; - }; -}; - -&gdsc_venus { - status = "ok"; -}; - -&gdsc_mdss { - status = "ok"; -}; - -&gdsc_jpeg { - status = "ok"; -}; - -&gdsc_oxili_gx { - status = "ok"; -}; - -&gdsc_oxili_cx { - status = "ok"; -}; - -&gdsc_usb_hsic { - status = "ok"; -}; - -/include/ "msm-pma8084.dtsi" -/include/ "mpq8092-regulator.dtsi" diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/msm-gdsc.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v2/msm-gdsc.dtsi deleted file mode 100644 index 78234e858..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/msm-gdsc.dtsi +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Copyright (c) 2012-2013, 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. - */ - -&soc { - gdsc_venus: qcom,gdsc@fd8c1024 { - compatible = "qcom,gdsc"; - regulator-name = "gdsc_venus"; - reg = <0xfd8c1024 0x4>; - status = "disabled"; - }; - - gdsc_mdss: qcom,gdsc@fd8c2304 { - compatible = "qcom,gdsc"; - regulator-name = "gdsc_mdss"; - reg = <0xfd8c2304 0x4>; - status = "disabled"; - }; - - gdsc_jpeg: qcom,gdsc@fd8c35a4 { - compatible = "qcom,gdsc"; - regulator-name = "gdsc_jpeg"; - reg = <0xfd8c35a4 0x4>; - status = "disabled"; - }; - - gdsc_vfe: qcom,gdsc@fd8c36a4 { - compatible = "qcom,gdsc"; - regulator-name = "gdsc_vfe"; - reg = <0xfd8c36a4 0x4>; - status = "disabled"; - }; - - gdsc_oxili_gx: qcom,gdsc@fd8c4024 { - compatible = "qcom,gdsc"; - regulator-name = "gdsc_oxili_gx"; - reg = <0xfd8c4024 0x4>; - status = "disabled"; - }; - - gdsc_oxili_cx: qcom,gdsc@fd8c4034 { - compatible = "qcom,gdsc"; - regulator-name = "gdsc_oxili_cx"; - reg = <0xfd8c4034 0x4>; - status = "disabled"; - }; - - gdsc_usb_hsic: qcom,gdsc@fc400404 { - compatible = "qcom,gdsc"; - regulator-name = "gdsc_usb_hsic"; - reg = <0xfc400404 0x4>; - status = "disabled"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/msm-iommu-v0.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v2/msm-iommu-v0.dtsi deleted file mode 100644 index 2cfc5cf07..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/msm-iommu-v0.dtsi +++ /dev/null @@ -1,333 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&soc { - lpass_iommu: qcom,iommu@fd000000 { - compatible = "qcom,msm-smmu-v0"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - reg = <0xfd000000 0x10000>; - interrupts = <0 248 0>; - qcom,glb-offset = <0xF000>; - label = "lpass_iommu"; - qcom,iommu-pmu-ngroups = <1>; - qcom,iommu-pmu-ncounters = <4>; - qcom,iommu-pmu-event-classes = <0x08 - 0x09 - 0x10 - 0x12 - 0x80>; - qcom,msm-bus,name = "lpass_ebi"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,active-only; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <11 512 0 0>, - <11 512 0 1000>; - status = "disabled"; - - lpass_q6_fw: qcom,iommu-ctx@fd000000 { - compatible = "qcom,msm-smmu-v0-ctx"; - reg = <0xfd000000 0x1000>; - interrupts = <0 250 0>; - qcom,iommu-ctx-mids = <0 15>; - label = "q6_fw"; - }; - - lpass_audio_shared: qcom,iommu-ctx@fd001000 { - compatible = "qcom,msm-smmu-v0-ctx"; - reg = <0xfd001000 0x1000>; - interrupts = <0 250 0>; - qcom,iommu-ctx-mids = <1>; - label = "audio_shared"; - }; - - lpass_video_shared: qcom,iommu-ctx@fd002000 { - compatible = "qcom,msm-smmu-v0-ctx"; - reg = <0xfd002000 0x1000>; - interrupts = <0 250 0>; - qcom,iommu-ctx-mids = <2>; - label = "video_shared"; - }; - - lpass_q6_spare: qcom,iommu-ctx@fd003000 { - compatible = "qcom,msm-smmu-v0-ctx"; - reg = <0xfd003000 0x1000>; - interrupts = <0 250 0>; - qcom,iommu-ctx-mids = <3 4 5 6 7 8 9 10 11 12 13 14>; - label = "q6_spare"; - }; - }; - - copss_iommu: qcom,iommu@fd010000 { - compatible = "qcom,msm-smmu-v0"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - reg = <0xfd010000 0x10000>; - interrupts = <0 252 0>; - qcom,glb-offset = <0xF000>; - label = "copss_iommu"; - qcom,iommu-pmu-ngroups = <1>; - qcom,iommu-pmu-ncounters = <4>; - qcom,iommu-pmu-event-classes = <0x08 - 0x09 - 0x10 - 0x12 - 0x80>; - qcom,msm-bus,name = "copss_ebi"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,active-only; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <88 512 0 0>, - <88 512 0 1000>; - - status = "disabled"; - - qcom,iommu-ctx@fd010000 { - compatible = "qcom,msm-smmu-v0-ctx"; - reg = <0xfd010000 0x1000>; - interrupts = <0 254 0>; - qcom,iommu-ctx-mids = <0>; - label = "copss_0"; - }; - - qcom,iommu-ctx@fd011000 { - compatible = "qcom,msm-smmu-v0-ctx"; - reg = <0xfd011000 0x1000>; - interrupts = <0 254 0>; - qcom,iommu-ctx-mids = <1>; - label = "copss_1"; - }; - - qcom,iommu-ctx@fd012000 { - compatible = "qcom,msm-smmu-v0-ctx"; - reg = <0xfd012000 0x1000>; - interrupts = <0 254 0>; - qcom,iommu-ctx-mids = <2>; - label = "copss_2"; - }; - - qcom,iommu-ctx@fd013000 { - compatible = "qcom,msm-smmu-v0-ctx"; - reg = <0xfd013000 0x1000>; - interrupts = <0 254 0>; - qcom,iommu-ctx-mids = <3>; - label = "copss_3"; - }; - - qcom,iommu-ctx@fd014000 { - compatible = "qcom,msm-smmu-v0-ctx"; - reg = <0xfd014000 0x1000>; - interrupts = <0 254 0>; - qcom,iommu-ctx-mids = <4>; - label = "copss_4"; - }; - - qcom,iommu-ctx@fd015000 { - compatible = "qcom,msm-smmu-v0-ctx"; - reg = <0xfd015000 0x1000>; - interrupts = <0 254 0>; - qcom,iommu-ctx-mids = <5>; - label = "copss_5"; - }; - - qcom,iommu-ctx@fd016000 { - compatible = "qcom,msm-smmu-v0-ctx"; - reg = <0xfd016000 0x1000>; - interrupts = <0 254 0>; - qcom,iommu-ctx-mids = <6>; - label = "copss_6"; - }; - - qcom,iommu-ctx@fd017000 { - compatible = "qcom,msm-smmu-v0-ctx"; - reg = <0xfd017000 0x1000>; - interrupts = <0 254 0>; - qcom,iommu-ctx-mids = <7>; - label = "copss_7"; - }; - }; - - mdpe_iommu: qcom,iommu@fd860000 { - compatible = "qcom,msm-smmu-v0"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - reg = <0xfd860000 0x10000>; - interrupts = <0 245 0>; - qcom,glb-offset = <0xF000>; - label = "mdpe_iommu"; - qcom,iommu-pmu-ngroups = <1>; - qcom,iommu-pmu-ncounters = <4>; - qcom,iommu-pmu-event-classes = <0x08 - 0x09 - 0x10 - 0x12 - 0x80>; - qcom,msm-bus,name = "mdpe_ebi"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,active-only; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <92 512 0 0>, - <92 512 0 1000>; - status = "disabled"; - - qcom,iommu-ctx@fd860000 { - compatible = "qcom,msm-smmu-v0-ctx"; - reg = <0xfd860000 0x1000>; - interrupts = <0 247 0>; - qcom,iommu-ctx-mids = <0 1 3>; - label = "mdpe_0"; - }; - - qcom,iommu-ctx@fd861000 { - compatible = "qcom,msm-smmu-v0-ctx"; - reg = <0xfd861000 0x1000>; - interrupts = <0 247 0>; - qcom,iommu-ctx-mids = <2>; - label = "mdpe_1"; - }; - }; - - mdps_iommu: qcom,iommu@fd870000 { - compatible = "qcom,msm-smmu-v0"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - reg = <0xfd870000 0x10000>; - interrupts = <0 73 0>; - qcom,glb-offset = <0xF000>; - label = "mdps_iommu"; - qcom,iommu-pmu-ngroups = <1>; - qcom,iommu-pmu-ncounters = <4>; - qcom,iommu-pmu-event-classes = <0x08 - 0x09 - 0x10 - 0x12 - 0x80>; - qcom,msm-bus,name = "mdps_ebi"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,active-only; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <22 512 0 0>, - <22 512 0 1000>; - status = "disabled"; - - qcom,iommu-ctx@fd870000 { - compatible = "qcom,msm-smmu-v0-ctx"; - reg = <0xfd870000 0x1000>; - interrupts = <0 47 0>; - qcom,iommu-ctx-mids = <0>; - label = "mdps_0"; - }; - - qcom,iommu-ctx@fd871000 { - compatible = "qcom,msm-smmu-v0-ctx"; - reg = <0xfd871000 0x1000>; - interrupts = <0 47 0>; - qcom,iommu-ctx-mids = <1>; - label = "mdps_1"; - }; - }; - - gfx_iommu: qcom,iommu@fd880000 { - compatible = "qcom,msm-smmu-v0"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - reg = <0xfd880000 0x10000>; - interrupts = <0 38 0>; - qcom,glb-offset = <0xF000>; - qcom,needs-alt-core-clk; - label = "gfx_iommu"; - qcom,iommu-pmu-ngroups = <1>; - qcom,iommu-pmu-ncounters = <4>; - qcom,iommu-pmu-event-classes = <0x08 - 0x09 - 0x10 - 0x12 - 0x80>; - qcom,msm-bus,name = "gfx_ebi"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,active-only; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <26 512 0 0>, - <26 512 0 1000>; - status = "disabled"; - - qcom,iommu-ctx@fd880000 { - compatible = "qcom,msm-smmu-v0-ctx"; - reg = <0xfd880000 0x1000>; - interrupts = <0 241 0>; - qcom,iommu-ctx-mids = <0 1 2 3 4 5 6 7 8 9 10 11 12 13 - 14 15>; - label = "gfx3d_user"; - }; - - qcom,iommu-ctx@fd881000 { - compatible = "qcom,msm-smmu-v0-ctx"; - reg = <0xfd881000 0x1000>; - interrupts = <0 241 0>; - qcom,iommu-ctx-mids = <16 17 18 19 20 21 22 23 24 25 - 26 27 28 29 30 31>; - label = "gfx3d_priv"; - }; - - qcom,iommu-ctx@fd882000 { - compatible = "qcom,msm-smmu-v0-ctx"; - reg = <0xfd882000 0x1000>; - interrupts = <0 241 0>; - qcom,iommu-ctx-mids = <>; - label = "gfx3d_spare"; - }; - }; - - vfe_iommu: qcom,iommu@fd890000 { - compatible = "qcom,msm-smmu-v0"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - reg = <0xfd890000 0x10000>; - interrupts = <0 62 0>; - qcom,glb-offset = <0xF000>; - label = "vfe_iommu"; - qcom,iommu-pmu-ngroups = <1>; - qcom,iommu-pmu-ncounters = <4>; - qcom,iommu-pmu-event-classes = <0x08 - 0x09 - 0x10 - 0x12 - 0x80>; - qcom,msm-bus,name = "vfe_ebi"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,active-only; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <29 512 0 0>, - <29 512 0 1000>; - status = "disabled"; - - qcom,iommu-ctx@fd890000 { - compatible = "qcom,msm-smmu-v0-ctx"; - reg = <0xfd890000 0x1000>; - interrupts = <0 65 0>; - qcom,iommu-ctx-mids = <0 1 2 3 4 5 6 7 8 9>; - label = "vfe0"; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/msm-iommu-v1.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v2/msm-iommu-v1.dtsi deleted file mode 100644 index 44920778e..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/msm-iommu-v1.dtsi +++ /dev/null @@ -1,514 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&soc { - jpeg_iommu: qcom,iommu@fda64000 { - compatible = "qcom,msm-smmu-v1"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - reg = <0xfda64000 0x10000>; - reg-names = "iommu_base"; - interrupts = <0 67 0>; - qcom,needs-alt-core-clk; - label = "jpeg_iommu"; - status = "disabled"; - qcom,msm-bus,name = "jpeg_ebi"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,active-only; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <62 512 0 0>, - <62 512 0 1000>; - - qcom,iommu-pmu-ngroups = <1>; - qcom,iommu-pmu-ncounters = <8>; - qcom,iommu-pmu-event-classes = <0x00 - 0x01 - 0x08 - 0x09 - 0x0A - 0x10 - 0x11 - 0x12 - 0x80 - 0x81 - 0x82 - 0x83 - 0x90 - 0x91 - 0x92 - 0xb0 - 0xb1>; - - qcom,iommu-bfb-regs = <0x204c - 0x2050 - 0x2514 - 0x2540 - 0x256c - 0x2314 - 0x2394 - 0x2414 - 0x20ac - 0x215c - 0x220c - 0x2008 - 0x200c - 0x2010 - 0x2014>; - - qcom,iommu-bfb-data = <0x0000ffff - 0x0 - 0x4 - 0x4 - 0x0 - 0x0 - 0x10 - 0x50 - 0x0 - 0x10 - 0x20 - 0x0 - 0x0 - 0x0 - 0x0>; - - qcom,iommu-ctx@fda6c000 { - compatible = "qcom,msm-smmu-v1-ctx"; - reg = <0xfda6c000 0x1000>; - interrupts = <0 70 0>; - qcom,iommu-ctx-sids = <0>; - label = "jpeg_enc0"; - }; - - qcom,iommu-ctx@fda6d000 { - compatible = "qcom,msm-smmu-v1-ctx"; - reg = <0xfda6d000 0x1000>; - interrupts = <0 70 0>; - qcom,iommu-ctx-sids = <1>; - label = "jpeg_enc1"; - }; - - qcom,iommu-ctx@fda6e000 { - compatible = "qcom,msm-smmu-v1-ctx"; - reg = <0xfda6e000 0x1000>; - interrupts = <0 70 0>; - qcom,iommu-ctx-sids = <2>; - label = "jpeg_dec"; - }; - }; - - mdp_iommu: qcom,iommu@fd928000 { - compatible = "qcom,msm-smmu-v1"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - reg = <0xfd928000 0x10000>; - reg-names = "iommu_base"; - interrupts = <0 73 0>; - qcom,iommu-secure-id = <1>; - label = "mdp_iommu"; - qcom,msm-bus,name = "mdp_ebi"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,active-only; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <22 512 0 0>, - <22 512 0 1000>; - status = "disabled"; - - qcom,iommu-pmu-ngroups = <1>; - qcom,iommu-pmu-ncounters = <8>; - qcom,iommu-pmu-event-classes = <0x00 - 0x01 - 0x08 - 0x09 - 0x0A - 0x10 - 0x11 - 0x12 - 0x80 - 0x81 - 0x82 - 0x83 - 0x90 - 0x91 - 0x92 - 0xb0 - 0xb1>; - - qcom,iommu-bfb-regs = <0x204c - 0x2050 - 0x2514 - 0x2540 - 0x256c - 0x20ac - 0x215c - 0x220c - 0x2314 - 0x2394 - 0x2414 - 0x2008 - 0x200c - 0x2010 - 0x2014 - 0x2018 - 0x201c - 0x2020>; - - qcom,iommu-bfb-data = <0xffffffff - 0x0 - 0x00000004 - 0x00000010 - 0x00000000 - 0x00000000 - 0x00000034 - 0x00000044 - 0x0 - 0x34 - 0x74 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0>; - - qcom,iommu-ctx@fd930000 { - compatible = "qcom,msm-smmu-v1-ctx"; - reg = <0xfd930000 0x1000>; - interrupts = <0 47 0>; - qcom,iommu-ctx-sids = <0>; - label = "mdp_0"; - }; - - qcom,iommu-ctx@fd931000 { - compatible = "qcom,msm-smmu-v1-ctx"; - reg = <0xfd931000 0x1000>; - interrupts = <0 47 0>, <0 46 0>; - qcom,iommu-ctx-sids = <1>; - label = "mdp_1"; - qcom,secure-context; - }; - - qcom,iommu-ctx@fd932000 { - compatible = "qcom,msm-smmu-v1-ctx"; - reg = <0xfd932000 0x1000>; - interrupts = <0 47 0>, <0 46 0>; - qcom,iommu-ctx-sids = <>; - label = "mdp_2"; - qcom,secure-context; - }; - }; - - venus_iommu: qcom,iommu@fdc84000 { - compatible = "qcom,msm-smmu-v1"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - reg = <0xfdc84000 0x10000 - 0xfdce0004 0x4>; - reg-names = "iommu_base", "clk_base"; - interrupts = <0 45 0>; - qcom,iommu-secure-id = <0>; - qcom,needs-alt-core-clk; - label = "venus_iommu"; - qcom,msm-bus,name = "venus_ebi"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,active-only; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <63 512 0 0>, - <63 512 0 1000>; - status = "disabled"; - - qcom,iommu-pmu-ngroups = <1>; - qcom,iommu-pmu-ncounters = <8>; - qcom,iommu-pmu-event-classes = <0x00 - 0x01 - 0x08 - 0x09 - 0x0A - 0x10 - 0x11 - 0x12 - 0x80 - 0x81 - 0x82 - 0x83 - 0x90 - 0x91 - 0x92 - 0xb0 - 0xb1>; - - qcom,iommu-bfb-regs = <0x204c - 0x2050 - 0x2514 - 0x2540 - 0x256c - 0x20ac - 0x215c - 0x220c - 0x2314 - 0x2394 - 0x2414 - 0x2008 - 0x200c - 0x2010 - 0x2014 - 0x2018 - 0x201c - 0x2020 - 0x2024 - 0x2028 - 0x202c - 0x2030 - 0x2034 - 0x2038>; - - qcom,iommu-bfb-data = <0xffffffff - 0xffffffff - 0x00000004 - 0x00000008 - 0x00000000 - 0x00000000 - 0x00000094 - 0x000000b4 - 0x0 - 0x94 - 0x114 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0>; - - venus_ns: qcom,iommu-ctx@fdc8c000 { - compatible = "qcom,msm-smmu-v1-ctx"; - reg = <0xfdc8c000 0x1000>; - interrupts = <0 42 0>; - qcom,iommu-ctx-sids = <0 1 2 3 4 5>; - label = "venus_ns"; - }; - - venus_cp: qcom,iommu-ctx@fdc8d000 { - compatible = "qcom,msm-smmu-v1-ctx"; - reg = <0xfdc8d000 0x1000>; - interrupts = <0 42 0>, <0 43 0>; - qcom,iommu-ctx-sids = <0x80 0x81 0x82 0x83 0x84 0x85>; - label = "venus_cp"; - qcom,secure-context; - }; - - venus_fw: qcom,iommu-ctx@fdc8e000 { - compatible = "qcom,msm-smmu-v1-ctx"; - reg = <0xfdc8e000 0x1000>; - interrupts = <0 42 0>, <0 43 0>; - qcom,iommu-ctx-sids = <0xc0 0xc6>; - label = "venus_fw"; - qcom,secure-context; - }; - }; - - kgsl_iommu: qcom,iommu@fdb10000 { - compatible = "qcom,msm-smmu-v1"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - reg = <0xfdb10000 0x10000>; - reg-names = "iommu_base"; - interrupts = <0 38 0>; - label = "kgsl_iommu"; - qcom,msm-bus,name = "kgsl_ebi"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,active-only; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <26 512 0 0>, - <26 512 0 1000>; - status = "disabled"; - - qcom,iommu-pmu-ngroups = <1>; - qcom,iommu-pmu-ncounters = <8>; - qcom,iommu-pmu-event-classes = <0x00 - 0x01 - 0x08 - 0x09 - 0x0A - 0x10 - 0x11 - 0x12 - 0x80 - 0x81 - 0x82 - 0x83 - 0x90 - 0x91 - 0x92 - 0xb0 - 0xb1>; - - qcom,iommu-bfb-regs = <0x204c - 0x2050 - 0x2514 - 0x2540 - 0x256c - 0x20ac - 0x215c - 0x220c - 0x2314 - 0x2394 - 0x2414 - 0x2008>; - - qcom,iommu-bfb-data = <0x00000003 - 0x0 - 0x00000004 - 0x00000010 - 0x00000000 - 0x00000000 - 0x00000001 - 0x00000021 - 0x0 - 0x1 - 0x81 - 0x0>; - - qcom,iommu-ctx@fdb18000 { - compatible = "qcom,msm-smmu-v1-ctx"; - reg = <0xfdb18000 0x1000>; - interrupts = <0 241 0>; - qcom,iommu-ctx-sids = <0>; - label = "gfx3d_user"; - }; - - qcom,iommu-ctx@fdb19000 { - compatible = "qcom,msm-smmu-v1-ctx"; - reg = <0xfdb19000 0x1000>; - interrupts = <0 241 0>; - qcom,iommu-ctx-sids = <1>; - label = "gfx3d_priv"; - }; - }; - - vfe_iommu: qcom,iommu@fda44000 { - compatible = "qcom,msm-smmu-v1"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - reg = <0xfda44000 0x10000>; - reg-names = "iommu_base"; - interrupts = <0 62 0>; - qcom,needs-alt-core-clk; - label = "vfe_iommu"; - qcom,msm-bus,name = "vfe_ebi"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,active-only; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <29 512 0 0>, - <29 512 0 1000>; - status = "disabled"; - - qcom,iommu-pmu-ngroups = <1>; - qcom,iommu-pmu-ncounters = <8>; - qcom,iommu-pmu-event-classes = <0x00 - 0x01 - 0x08 - 0x09 - 0x0A - 0x10 - 0x11 - 0x12 - 0x80 - 0x81 - 0x82 - 0x83 - 0x90 - 0x91 - 0x92 - 0xb0 - 0xb1>; - - qcom,iommu-bfb-regs = <0x204c - 0x2050 - 0x2514 - 0x2540 - 0x256c - 0x2314 - 0x2394 - 0x2414 - 0x20ac - 0x215c - 0x220c - 0x2008 - 0x200c - 0x2010 - 0x2014 - 0x2018 - 0x201c - 0x2020>; - - qcom,iommu-bfb-data = <0xffffffff - 0x00000000 - 0x4 - 0x8 - 0x0 - 0x0 - 0x20 - 0x78 - 0x0 - 0x20 - 0x36 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0>; - - qcom,iommu-ctx@fda4c000 { - compatible = "qcom,msm-smmu-v1-ctx"; - reg = <0xfda4c000 0x1000>; - interrupts = <0 65 0>; - qcom,iommu-ctx-sids = <0>; - label = "vfe0"; - }; - - qcom,iommu-ctx@fda4d000 { - compatible = "qcom,msm-smmu-v1-ctx"; - reg = <0xfda4d000 0x1000>; - interrupts = <0 65 0>; - qcom,iommu-ctx-sids = <1>; - label = "vfe1"; - }; - - qcom,iommu-ctx@fda4e000 { - compatible = "qcom,msm-smmu-v1-ctx"; - reg = <0xfda4e000 0x1000>; - interrupts = <0 65 0>; - qcom,iommu-ctx-sids = <2>; - label = "cpp"; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/msm-pm8019-rpm-regulator.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v2/msm-pm8019-rpm-regulator.dtsi deleted file mode 100644 index c48f67dca..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/msm-pm8019-rpm-regulator.dtsi +++ /dev/null @@ -1,301 +0,0 @@ -/* Copyright (c) 2012, 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. - */ - -&rpm_bus { - rpm-regulator-smpa1 { - qcom,resource-name = "smpa"; - qcom,resource-id = <1>; - qcom,regulator-type = <1>; - qcom,hpm-min-load = <100000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-s1 { - regulator-name = "8019_s1"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-smpa2 { - qcom,resource-name = "smpa"; - qcom,resource-id = <2>; - qcom,regulator-type = <1>; - qcom,hpm-min-load = <100000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-s2 { - regulator-name = "8019_s2"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-smpa3 { - qcom,resource-name = "smpa"; - qcom,resource-id = <3>; - qcom,regulator-type = <1>; - qcom,hpm-min-load = <100000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-s3 { - regulator-name = "8019_s3"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-smpa4 { - qcom,resource-name = "smpa"; - qcom,resource-id = <4>; - qcom,regulator-type = <1>; - qcom,hpm-min-load = <100000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-s4 { - regulator-name = "8019_s4"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa1 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <1>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l1 { - regulator-name = "8019_l1"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa2 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <2>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <5000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l2 { - regulator-name = "8019_l2"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa3 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <3>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l3 { - regulator-name = "8019_l3"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa4 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <4>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <5000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l4 { - regulator-name = "8019_l4"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa5 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <5>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l5 { - regulator-name = "8019_l5"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa6 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <6>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l6 { - regulator-name = "8019_l6"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa7 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <7>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l7 { - regulator-name = "8019_l7"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa8 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <8>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l8 { - regulator-name = "8019_l8"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa9 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <9>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l9 { - regulator-name = "8019_l9"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa10 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <10>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l10 { - regulator-name = "8019_l10"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa11 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <11>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l11 { - regulator-name = "8019_l11"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa12 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <12>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l12 { - regulator-name = "8019_l12"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa13 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <13>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <5000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l13 { - regulator-name = "8019_l13"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa14 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <14>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <5000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l14 { - regulator-name = "8019_l14"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/msm-pm8019.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v2/msm-pm8019.dtsi deleted file mode 100755 index 6b5edf7ea..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/msm-pm8019.dtsi +++ /dev/null @@ -1,415 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&spmi_bus { - #address-cells = <1>; - #size-cells = <0>; - interrupt-controller; - #interrupt-cells = <3>; - - qcom,pm8019@0 { - spmi-slave-container; - reg = <0x0>; - #address-cells = <1>; - #size-cells = <1>; - - qcom,power_on@800 { - compatible = "qcom,qpnp-power-on"; - reg = <0x800 0x100>; - interrupts = <0x0 0x8 0x2>; - interrupt-names = "cblpwr"; - qcom,pon-dbc-delay = <15625>; - qcom,system-reset; - - qcom,pon_1 { - qcom,pon-type = <2>; - qcom,pull-up = <1>; - linux,code = <116>; - }; - }; - - clkdiv@5b00 { - reg = <0x5b00 0x100>; - compatible = "qcom,qpnp-clkdiv"; - qcom,cxo-freq = <19200000>; - }; - - clkdiv@5c00 { - reg = <0x5c00 0x100>; - compatible = "qcom,qpnp-clkdiv"; - qcom,cxo-freq = <19200000>; - }; - - clkdiv@5d00 { - reg = <0x5d00 0x100>; - compatible = "qcom,qpnp-clkdiv"; - qcom,cxo-freq = <19200000>; - }; - - rtc { - spmi-dev-container; - compatible = "qcom,qpnp-rtc"; - #address-cells = <1>; - #size-cells = <1>; - qcom,qpnp-rtc-write = <0>; - qcom,qpnp-rtc-alarm-pwrup = <0>; - - qcom,pm8019_rtc_rw@6000 { - reg = <0x6000 0x100>; - }; - - qcom,pm8019_rtc_alarm@6100 { - reg = <0x6100 0x100>; - interrupts = <0x0 0x61 0x1>; - }; - }; - - pm8019_gpios: gpios { - spmi-dev-container; - compatible = "qcom,qpnp-pin"; - gpio-controller; - #gpio-cells = <2>; - #address-cells = <1>; - #size-cells = <1>; - label = "pm8019-gpio"; - - gpio@c000 { - reg = <0xc000 0x100>; - qcom,pin-num = <1>; - }; - - gpio@c100 { - reg = <0xc100 0x100>; - qcom,pin-num = <2>; - }; - - gpio@c200 { - reg = <0xc200 0x100>; - qcom,pin-num = <3>; - }; - - gpio@c300 { - reg = <0xc300 0x100>; - qcom,pin-num = <4>; - }; - - gpio@c400 { - reg = <0xc400 0x100>; - qcom,pin-num = <5>; - }; - - gpio@c500 { - reg = <0xc500 0x100>; - qcom,pin-num = <6>; - }; - }; - - pm8019_mpps: mpps { - spmi-dev-container; - compatible = "qcom,qpnp-pin"; - gpio-controller; - #gpio-cells = <2>; - #address-cells = <1>; - #size-cells = <1>; - label = "pm8019-mpp"; - - mpp@a000 { - reg = <0xa000 0x100>; - qcom,pin-num = <1>; - }; - - mpp@a100 { - reg = <0xa100 0x100>; - qcom,pin-num = <2>; - }; - - mpp@a200 { - reg = <0xa200 0x100>; - qcom,pin-num = <3>; - }; - - mpp@a300 { - reg = <0xa300 0x100>; - qcom,pin-num = <4>; - }; - - mpp@a400 { - reg = <0xa400 0x100>; - qcom,pin-num = <5>; - }; - - mpp@a500 { - reg = <0xa500 0x100>; - qcom,pin-num = <6>; - }; - }; - - pm8019_vadc: vadc@3100 { - compatible = "qcom,qpnp-vadc"; - reg = <0x3100 0x100>; - #address-cells = <1>; - #size-cells = <0>; - interrupts = <0x0 0x31 0x0>; - interrupt-names = "eoc-int-en-set"; - qcom,adc-bit-resolution = <15>; - qcom,adc-vdd-reference = <1800>; - qcom,vadc-poll-eoc; - - chan@8 { - label = "die_temp"; - reg = <8>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <3>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@9 { - label = "ref_625mv"; - reg = <9>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@a { - label = "ref_1250v"; - reg = <0xa>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - }; - - pm8019_adc_tm: vadc@3400 { - compatible = "qcom,qpnp-adc-tm"; - reg = <0x3400 0x100>; - #address-cells = <1>; - #size-cells = <0>; - interrupts = <0x0 0x34 0x0>, - <0x0 0x34 0x3>, - <0x0 0x34 0x4>; - interrupt-names = "eoc-int-en-set", - "high-thr-en-set", - "low-thr-en-set"; - qcom,adc-bit-resolution = <15>; - qcom,adc-vdd-reference = <1800>; - }; - }; - - qcom,pm8019@1 { - spmi-slave-container; - reg = <0x1>; - #address-cells = <1>; - #size-cells = <1>; - - regulator@1400 { - regulator-name = "8019_s1"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x1400 0x300>; - status = "disabled"; - - qcom,ctl@1400 { - reg = <0x1400 0x100>; - }; - qcom,ps@1500 { - reg = <0x1500 0x100>; - }; - qcom,freq@1600 { - reg = <0x1600 0x100>; - }; - }; - - regulator@1700 { - regulator-name = "8019_s2"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x1700 0x300>; - status = "disabled"; - - qcom,ctl@1700 { - reg = <0x1700 0x100>; - }; - qcom,ps@1800 { - reg = <0x1800 0x100>; - }; - qcom,freq@1900 { - reg = <0x1900 0x100>; - }; - }; - - regulator@1a00 { - regulator-name = "8019_s3"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x1a00 0x300>; - status = "disabled"; - - qcom,ctl@1a00 { - reg = <0x1a00 0x100>; - }; - qcom,ps@1b00 { - reg = <0x1b00 0x100>; - }; - qcom,freq@1c00 { - reg = <0x1c00 0x100>; - }; - }; - - regulator@1d00 { - regulator-name = "8019_s4"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x1d00 0x300>; - status = "disabled"; - - qcom,ctl@1d00 { - reg = <0x1d00 0x100>; - }; - qcom,ps@1e00 { - reg = <0x1e00 0x100>; - }; - qcom,freq@1f00 { - reg = <0x1f00 0x100>; - }; - }; - - regulator@4000 { - regulator-name = "8019_l1"; - reg = <0x4000 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4100 { - regulator-name = "8019_l2"; - reg = <0x4100 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4200 { - regulator-name = "8019_l3"; - reg = <0x4200 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4300 { - regulator-name = "8019_l4"; - reg = <0x4300 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4400 { - regulator-name = "8019_l5"; - reg = <0x4400 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4500 { - regulator-name = "8019_l6"; - reg = <0x4500 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4600 { - regulator-name = "8019_l7"; - reg = <0x4600 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4700 { - regulator-name = "8019_l8"; - reg = <0x4700 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4800 { - regulator-name = "8019_l9"; - reg = <0x4800 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4900 { - regulator-name = "8019_l10"; - reg = <0x4900 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4a00 { - regulator-name = "8019_l11"; - reg = <0x4a00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4b00 { - regulator-name = "8019_l12"; - reg = <0x4b00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4c00 { - regulator-name = "8019_l13"; - reg = <0x4c00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4d00 { - regulator-name = "8019_l14"; - reg = <0x4d00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4e00 { - regulator-name = "8019_ldo_xo"; - reg = <0x4e00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4f00 { - regulator-name = "8019_ldo_rfclk"; - reg = <0x4f00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/msm-pm8110-rpm-regulator.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v2/msm-pm8110-rpm-regulator.dtsi deleted file mode 100644 index 0de72b0de..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/msm-pm8110-rpm-regulator.dtsi +++ /dev/null @@ -1,381 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -&rpm_bus { - rpm-regulator-smpa1 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "smpa"; - qcom,resource-id = <1>; - qcom,regulator-type = <1>; - qcom,hpm-min-load = <100000>; - status = "disabled"; - - regulator-s1 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_s1"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-smpa3 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "smpa"; - qcom,resource-id = <3>; - qcom,regulator-type = <1>; - qcom,hpm-min-load = <100000>; - status = "disabled"; - - regulator-s3 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_s3"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-smpa4 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "smpa"; - qcom,resource-id = <4>; - qcom,regulator-type = <1>; - qcom,hpm-min-load = <100000>; - status = "disabled"; - - regulator-s4 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_s4"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa1 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <1>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l1 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l1"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa2 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <2>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l2 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l2"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa3 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <3>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l3 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l3"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa4 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <4>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l4 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l4"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa5 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <5>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l5 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l5"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa6 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <6>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l6 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l6"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa7 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <7>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l7 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l7"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa8 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <8>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <5000>; - status = "disabled"; - - regulator-l8 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l8"; - qcom,set = <1>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa9 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <9>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l9 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l9"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa10 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <10>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l10 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l10"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa12 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <12>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l12 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l12"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa14 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <14>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l14 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l14"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa15 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <15>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l15 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l15"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa16 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <16>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l16 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l16"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa17 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <17>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l17 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l17"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa18 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <18>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l18 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l18"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa19 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <19>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l19 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l19"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa20 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <20>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <5000>; - status = "disabled"; - - regulator-l20 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l20"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa21 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <21>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l21 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l21"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa22 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <22>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l22 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l22"; - qcom,set = <3>; - status = "disabled"; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/msm-pm8110.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v2/msm-pm8110.dtsi deleted file mode 100644 index 1877f40d7..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/msm-pm8110.dtsi +++ /dev/null @@ -1,608 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&spmi_bus { - #address-cells = <1>; - #size-cells = <0>; - interrupt-controller; - #interrupt-cells = <3>; - - qcom,pm8110@0 { - spmi-slave-container; - reg = <0x0>; - #address-cells = <1>; - #size-cells = <1>; - - qcom,power-on@800 { - compatible = "qcom,qpnp-power-on"; - reg = <0x800 0x100>; - interrupts = <0x0 0x8 0x0>, - <0x0 0x8 0x1>, - <0x0 0x8 0x4>; - interrupt-names = "kpdpwr", "resin", "resin-bark"; - qcom,pon-dbc-delay = <15625>; - qcom,system-reset; - - qcom,pon_1 { - qcom,pon-type = <0>; - qcom,pull-up = <1>; - linux,code = <116>; - }; - - qcom,pon_2 { - qcom,pon-type = <1>; - qcom,pull-up = <1>; - linux,code = <114>; - }; - }; - - pm8110_chg: qcom,charger { - spmi-dev-container; - compatible = "qcom,qpnp-charger"; - #address-cells = <1>; - #size-cells = <1>; - status = "disabled"; - - qcom,vddmax-mv = <4200>; - qcom,vddsafe-mv = <4230>; - qcom,vinmin-mv = <4200>; - qcom,vbatdet-mv = <4100>; - qcom,ibatmax-ma = <1500>; - qcom,ibatterm-ma = <200>; - qcom,ibatsafe-ma = <1500>; - qcom,thermal-mitigation = <1500 700 600 325>; - qcom,vbatdet-delta-mv = <350>; - qcom,tchg-mins = <150>; - - qcom,chgr@1000 { - status = "disabled"; - reg = <0x1000 0x100>; - interrupts = <0x0 0x10 0x0>, - <0x0 0x10 0x1>, - <0x0 0x10 0x2>, - <0x0 0x10 0x3>, - <0x0 0x10 0x4>, - <0x0 0x10 0x5>, - <0x0 0x10 0x6>, - <0x0 0x10 0x7>; - - interrupt-names = "vbat-det-lo", - "vbat-det-hi", - "chgwdog", - "state-change", - "trkl-chg-on", - "fast-chg-on", - "chg-failed", - "chg-done"; - }; - - qcom,buck@1100 { - status = "disabled"; - reg = <0x1100 0x100>; - interrupts = <0x0 0x11 0x0>, - <0x0 0x11 0x1>, - <0x0 0x11 0x2>, - <0x0 0x11 0x3>, - <0x0 0x11 0x4>, - <0x0 0x11 0x5>, - <0x0 0x11 0x6>; - - interrupt-names = "vbat-ov", - "vreg-ov", - "overtemp", - "vchg-loop", - "ichg-loop", - "ibat-loop", - "vdd-loop"; - }; - - qcom,bat-if@1200 { - status = "disabled"; - reg = <0x1200 0x100>; - interrupts = <0x0 0x12 0x0>, - <0x0 0x12 0x1>, - <0x0 0x12 0x2>, - <0x0 0x12 0x3>, - <0x0 0x12 0x4>; - - interrupt-names = "batt-pres", - "bat-temp-ok", - "bat-fet-on", - "vcp-on", - "psi"; - }; - - qcom,usb-chgpth@1300 { - status = "disabled"; - reg = <0x1300 0x100>; - interrupts = <0 0x13 0x0>, - <0 0x13 0x1>, - <0x0 0x13 0x2>; - - interrupt-names = "coarse-det-usb", - "usbin-valid", - "chg-gone"; - }; - - qcom,chg-misc@1600 { - status = "disabled"; - reg = <0x1600 0x100>; - }; - }; - - pm8110_gpios: gpios { - spmi-dev-container; - compatible = "qcom,qpnp-pin"; - gpio-controller; - #gpio-cells = <2>; - #address-cells = <1>; - #size-cells = <1>; - label = "pm8110-gpio"; - - gpio@c000 { - reg = <0xc000 0x100>; - qcom,pin-num = <1>; - }; - - gpio@c100 { - reg = <0xc100 0x100>; - qcom,pin-num = <2>; - }; - - gpio@c200 { - reg = <0xc200 0x100>; - qcom,pin-num = <3>; - }; - - gpio@c300 { - reg = <0xc300 0x100>; - qcom,pin-num = <4>; - }; - }; - - pm8110_mpps: mpps { - spmi-dev-container; - compatible = "qcom,qpnp-pin"; - gpio-controller; - #gpio-cells = <2>; - #address-cells = <1>; - #size-cells = <1>; - label = "pm8110-mpp"; - - mpp@a000 { - reg = <0xa000 0x100>; - qcom,pin-num = <1>; - }; - - mpp@a100 { - reg = <0xa100 0x100>; - qcom,pin-num = <2>; - }; - - mpp@a200 { - reg = <0xa200 0x100>; - qcom,pin-num = <3>; - }; - - mpp@a300 { - reg = <0xa300 0x100>; - qcom,pin-num = <4>; - }; - }; - - pm8110_vadc: vadc@3100 { - compatible = "qcom,qpnp-vadc"; - reg = <0x3100 0x100>; - #address-cells = <1>; - #size-cells = <0>; - interrupts = <0x0 0x31 0x0>; - interrupt-names = "eoc-int-en-set"; - qcom,adc-bit-resolution = <15>; - qcom,adc-vdd-reference = <1800>; - - chan@8 { - label = "die_temp"; - reg = <8>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <3>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@9 { - label = "ref_625mv"; - reg = <9>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@a { - label = "ref_1250v"; - reg = <0xa>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - }; - - iadc@3600 { - compatible = "qcom,qpnp-iadc"; - reg = <0x3600 0x100>; - #address-cells = <1>; - #size-cells = <0>; - interrupts = <0x0 0x36 0x0>; - interrupt-names = "eoc-int-en-set"; - qcom,adc-bit-resolution = <16>; - qcom,adc-vdd-reference = <1800>; - - chan@0 { - label = "internal_rsense"; - reg = <0>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <1>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - }; - - pm8110_adc_tm: vadc@3400 { - compatible = "qcom,qpnp-adc-tm"; - reg = <0x3400 0x100>; - #address-cells = <1>; - #size-cells = <0>; - interrupts = <0x0 0x34 0x0>, - <0x0 0x34 0x3>, - <0x0 0x34 0x4>; - interrupt-names = "eoc-int-en-set", - "high-thr-en-set", - "low-thr-en-set"; - qcom,adc-bit-resolution = <15>; - qcom,adc-vdd-reference = <1800>; - }; - - qcom,temp-alarm@2400 { - compatible = "qcom,qpnp-temp-alarm"; - reg = <0x2400 0x100>; - interrupts = <0x0 0x24 0x0>; - label = "pm8110_tz"; - qcom,channel-num = <8>; - qcom,threshold-set = <0>; - }; - - pm8110_bms: qcom,bms { - spmi-dev-container; - compatible = "qcom,qpnp-bms"; - #address-cells = <1>; - #size-cells = <1>; - status = "disabled"; - - qcom,r-sense-uohm = <10000>; - qcom,v-cutoff-uv = <3400000>; - qcom,max-voltage-uv = <4200000>; - qcom,r-conn-mohm = <0>; - qcom,shutdown-soc-valid-limit = <20>; - qcom,adjust-soc-low-threshold = <15>; - qcom,ocv-voltage-high-threshold-uv = <3750000>; - qcom,ocv-voltage-low-threshold-uv = <3650000>; - qcom,low-soc-calculate-soc-threshold = <15>; - qcom,low-soc-calculate-soc-ms = <5000>; - qcom,calculate-soc-ms = <20000>; - qcom,chg-term-ua = <100000>; - qcom,batt-type = <0>; - qcom,low-voltage-threshold = <3420000>; - qcom,tm-temp-margin = <5000>; - qcom,low-ocv-correction-limit-uv = <100>; - qcom,high-ocv-correction-limit-uv = <50>; - qcom,hold-soc-est = <3>; - - qcom,bms-iadc@3800 { - reg = <0x3800 0x100>; - }; - - qcom,bms-bms@4000 { - reg = <0x4000 0x100>; - interrupts = <0x0 0x40 0x0>, - <0x0 0x40 0x1>, - <0x0 0x40 0x2>, - <0x0 0x40 0x3>, - <0x0 0x40 0x4>, - <0x0 0x40 0x5>, - <0x0 0x40 0x6>, - <0x0 0x40 0x7>; - - interrupt-names = "vsense_for_r", - "vsense_avg", - "sw_cc_thr", - "ocv_thr", - "charge_begin", - "good_ocv", - "ocv_for_r", - "cc_thr"; - }; - }; - - qcom,pm8110_rtc { - spmi-dev-container; - compatible = "qcom,qpnp-rtc"; - #address-cells = <1>; - #size-cells = <1>; - qcom,qpnp-rtc-write = <0>; - qcom,qpnp-rtc-alarm-pwrup = <0>; - - qcom,pm8110_rtc_rw@6000 { - reg = <0x6000 0x100>; - }; - - qcom,pm8110_rtc_alarm@6100 { - reg = <0x6100 0x100>; - interrupts = <0x0 0x61 0x1>; - }; - }; - - qcom,leds@a100 { - compatible = "qcom,leds-qpnp"; - reg = <0xa100 0x100>; - label = "mpp"; - }; - - qcom,leds@a200 { - compatible = "qcom,leds-qpnp"; - reg = <0xa200 0x100>; - label = "mpp"; - }; - }; - - qcom,pm8110@1 { - spmi-slave-container; - reg = <0x1>; - #address-cells = <1>; - #size-cells = <1>; - - regulator@1400 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_s1"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - reg = <0x1400 0x300>; - status = "disabled"; - - qcom,ctl@1400 { - reg = <0x1400 0x100>; - }; - qcom,ps@1500 { - reg = <0x1500 0x100>; - }; - qcom,freq@1600 { - reg = <0x1600 0x100>; - }; - }; - - regulator@1700 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_s2"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - reg = <0x1700 0x300>; - status = "disabled"; - - qcom,ctl@1700 { - reg = <0x1700 0x100>; - }; - qcom,ps@1800 { - reg = <0x1800 0x100>; - }; - qcom,freq@1900 { - reg = <0x1900 0x100>; - }; - }; - - regulator@1a00 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_s3"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - reg = <0x1a00 0x300>; - status = "disabled"; - - qcom,ctl@1a00 { - reg = <0x1a00 0x100>; - }; - qcom,ps@1b00 { - reg = <0x1b00 0x100>; - }; - qcom,freq@1c00 { - reg = <0x1c00 0x100>; - }; - }; - - regulator@1d00 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_s4"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - reg = <0x1d00 0x300>; - status = "disabled"; - - qcom,ctl@1d00 { - reg = <0x1d00 0x100>; - }; - qcom,ps@1e00 { - reg = <0x1e00 0x100>; - }; - qcom,freq@1f00 { - reg = <0x1f00 0x100>; - }; - }; - - regulator@4000 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_l1"; - reg = <0x4000 0x100>; - status = "disabled"; - }; - - regulator@4100 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_l2"; - reg = <0x4100 0x100>; - status = "disabled"; - }; - - regulator@4200 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_l3"; - reg = <0x4200 0x100>; - status = "disabled"; - }; - - regulator@4300 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_l4"; - reg = <0x4300 0x100>; - status = "disabled"; - }; - - regulator@4400 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_l5"; - reg = <0x4400 0x100>; - status = "disabled"; - }; - - regulator@4500 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_l6"; - reg = <0x4500 0x100>; - status = "disabled"; - }; - - regulator@4600 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_l7"; - reg = <0x4600 0x100>; - status = "disabled"; - }; - - regulator@4700 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_l8"; - reg = <0x4700 0x100>; - status = "disabled"; - }; - - regulator@4800 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_l9"; - reg = <0x4800 0x100>; - status = "disabled"; - }; - - regulator@4900 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_l10"; - reg = <0x4900 0x100>; - status = "disabled"; - }; - - regulator@4b00 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_l12"; - reg = <0x4b00 0x100>; - status = "disabled"; - }; - - regulator@4d00 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_l14"; - reg = <0x4d00 0x100>; - status = "disabled"; - }; - - regulator@4e00 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_l15"; - reg = <0x4e00 0x100>; - status = "disabled"; - }; - - regulator@4f00 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_l16"; - reg = <0x4f00 0x100>; - status = "disabled"; - }; - - regulator@5000 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_l17"; - reg = <0x5000 0x100>; - status = "disabled"; - }; - - regulator@5100 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_l18"; - reg = <0x5100 0x100>; - status = "disabled"; - }; - - regulator@5200 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_l19"; - reg = <0x5200 0x100>; - status = "disabled"; - }; - - regulator@5300 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_l20"; - reg = <0x5300 0x100>; - status = "disabled"; - }; - - regulator@5400 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_l21"; - reg = <0x5400 0x100>; - status = "disabled"; - }; - - regulator@5500 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_l22"; - reg = <0x5500 0x100>; - status = "disabled"; - }; - - qcom,vibrator@c000 { - compatible = "qcom,qpnp-vibrator"; - reg = <0xc000 0x100>; - label = "vibrator"; - status = "disabled"; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/msm-pm8226-rpm-regulator.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v2/msm-pm8226-rpm-regulator.dtsi deleted file mode 100644 index ded949489..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/msm-pm8226-rpm-regulator.dtsi +++ /dev/null @@ -1,492 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -&rpm_bus { - rpm-regulator-smpa1 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "smpa"; - qcom,resource-id = <1>; - qcom,regulator-type = <1>; - qcom,hpm-min-load = <100000>; - status = "disabled"; - - regulator-s1 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_s1"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-smpa3 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "smpa"; - qcom,resource-id = <3>; - qcom,regulator-type = <1>; - qcom,hpm-min-load = <100000>; - status = "disabled"; - - regulator-s3 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_s3"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-smpa4 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "smpa"; - qcom,resource-id = <4>; - qcom,regulator-type = <1>; - qcom,hpm-min-load = <100000>; - status = "disabled"; - - regulator-s4 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_s4"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-smpa5 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "smpa"; - qcom,resource-id = <5>; - qcom,regulator-type = <1>; - qcom,hpm-min-load = <100000>; - status = "disabled"; - - regulator-s5 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_s5"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa1 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <1>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l1 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l1"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa2 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <2>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l2 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l2"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa3 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <3>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l3 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l3"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa4 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <4>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l4 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l4"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa5 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <5>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l5 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l5"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa6 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <6>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l6 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l6"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa7 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <7>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l7 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l7"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa8 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <8>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <5000>; - status = "disabled"; - - regulator-l8 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l8"; - qcom,set = <1>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa9 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <9>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l9 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l9"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa10 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <10>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <5000>; - status = "disabled"; - - regulator-l10 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l10"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa12 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <12>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l12 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l12"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa14 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <14>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <5000>; - status = "disabled"; - - regulator-l14 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l14"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa15 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <15>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l15 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l15"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa16 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <16>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l16 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l16"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa17 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <17>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l17 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l17"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa18 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <18>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l18 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l18"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa19 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <19>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l19 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l19"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa20 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <20>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <5000>; - status = "disabled"; - - regulator-l20 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l20"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa21 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <21>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <5000>; - status = "disabled"; - - regulator-l21 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l21"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa22 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <22>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l22 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l22"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa23 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <23>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l23 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l23"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa24 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <24>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l24 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l24"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa26 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <26>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l26 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l26"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa27 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <27>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l27 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l27"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa28 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <28>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l28 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l28"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-vsa1 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "vsa"; - qcom,resource-id = <1>; - qcom,regulator-type = <2>; - status = "disabled"; - - regulator-lvs1 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_lvs1"; - qcom,set = <3>; - status = "disabled"; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/msm-pm8226.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v2/msm-pm8226.dtsi deleted file mode 100644 index d429f72b7..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/msm-pm8226.dtsi +++ /dev/null @@ -1,833 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&spmi_bus { - #address-cells = <1>; - #size-cells = <0>; - interrupt-controller; - #interrupt-cells = <3>; - - qcom,pm8226@0 { - spmi-slave-container; - reg = <0x0>; - #address-cells = <1>; - #size-cells = <1>; - - qcom,power-on@800 { - compatible = "qcom,qpnp-power-on"; - reg = <0x800 0x100>; - interrupts = <0x0 0x8 0x0>, - <0x0 0x8 0x1>, - <0x0 0x8 0x4>; - interrupt-names = "kpdpwr", "resin", "resin-bark"; - qcom,pon-dbc-delay = <15625>; - qcom,system-reset; - - qcom,pon_1 { - qcom,pon-type = <0>; - qcom,pull-up = <1>; - linux,code = <116>; - }; - - qcom,pon_2 { - qcom,pon-type = <1>; - qcom,support-reset = <1>; - qcom,pull-up = <1>; - qcom,s1-timer = <0>; - qcom,s2-timer = <2000>; - qcom,s2-type = <1>; - linux,code = <114>; - }; - }; - - pm8226_chg: qcom,charger { - spmi-dev-container; - compatible = "qcom,qpnp-charger"; - #address-cells = <1>; - #size-cells = <1>; - status = "disabled"; - - qcom,vddmax-mv = <4200>; - qcom,vddsafe-mv = <4230>; - qcom,vinmin-mv = <4200>; - qcom,vbatdet-delta-mv = <150>; - qcom,ibatmax-ma = <1500>; - qcom,ibatterm-ma = <100>; - qcom,ibatsafe-ma = <1500>; - qcom,thermal-mitigation = <1500 700 600 325>; - qcom,tchg-mins = <150>; - - qcom,chgr@1000 { - status = "disabled"; - reg = <0x1000 0x100>; - interrupts = <0x0 0x10 0x0>, - <0x0 0x10 0x1>, - <0x0 0x10 0x2>, - <0x0 0x10 0x3>, - <0x0 0x10 0x4>, - <0x0 0x10 0x5>, - <0x0 0x10 0x6>, - <0x0 0x10 0x7>; - - interrupt-names = "vbat-det-lo", - "vbat-det-hi", - "chgwdog", - "state-change", - "trkl-chg-on", - "fast-chg-on", - "chg-failed", - "chg-done"; - }; - - qcom,buck@1100 { - status = "disabled"; - reg = <0x1100 0x100>; - interrupts = <0x0 0x11 0x0>, - <0x0 0x11 0x1>, - <0x0 0x11 0x2>, - <0x0 0x11 0x3>, - <0x0 0x11 0x4>, - <0x0 0x11 0x5>, - <0x0 0x11 0x6>; - - interrupt-names = "vbat-ov", - "vreg-ov", - "overtemp", - "vchg-loop", - "ichg-loop", - "ibat-loop", - "vdd-loop"; - }; - - qcom,bat-if@1200 { - status = "disabled"; - reg = <0x1200 0x100>; - interrupts = <0x0 0x12 0x0>, - <0x0 0x12 0x1>, - <0x0 0x12 0x2>, - <0x0 0x12 0x3>, - <0x0 0x12 0x4>; - - interrupt-names = "batt-pres", - "bat-temp-ok", - "bat-fet-on", - "vcp-on", - "psi"; - - }; - - pm8226_chg_otg: qcom,usb-chgpth@1300 { - status = "disabled"; - reg = <0x1300 0x100>; - interrupts = <0 0x13 0x0>, - <0 0x13 0x1>, - <0x0 0x13 0x2>; - - interrupt-names = "coarse-det-usb", - "usbin-valid", - "chg-gone"; - }; - - pm8226_chg_boost: qcom,boost@1500 { - status = "disabled"; - reg = <0x1500 0x100>; - interrupts = <0x0 0x15 0x0>, - <0x0 0x15 0x1>; - - interrupt-names = "boost-pwr-ok", - "limit-error"; - }; - - qcom,chg-misc@1600 { - status = "disabled"; - reg = <0x1600 0x100>; - }; - }; - - pm8226_bms: qcom,bms { - spmi-dev-container; - compatible = "qcom,qpnp-bms"; - #address-cells = <1>; - #size-cells = <1>; - status = "disabled"; - - qcom,r-sense-uohm = <10000>; - qcom,v-cutoff-uv = <3400000>; - qcom,max-voltage-uv = <4200000>; - qcom,r-conn-mohm = <0>; - qcom,shutdown-soc-valid-limit = <20>; - qcom,adjust-soc-low-threshold = <15>; - qcom,ocv-voltage-high-threshold-uv = <3750000>; - qcom,ocv-voltage-low-threshold-uv = <3650000>; - qcom,low-soc-calculate-soc-threshold = <15>; - qcom,low-soc-calculate-soc-ms = <5000>; - qcom,calculate-soc-ms = <20000>; - qcom,chg-term-ua = <100000>; - qcom,batt-type = <0>; - qcom,tm-temp-margin = <5000>; - qcom,low-ocv-correction-limit-uv = <100>; - qcom,high-ocv-correction-limit-uv = <50>; - qcom,hold-soc-est = <3>; - qcom,low-voltage-threshold = <3420000>; - - qcom,bms-iadc@3800 { - reg = <0x3800 0x100>; - }; - - qcom,bms-bms@4000 { - reg = <0x4000 0x100>; - interrupts = <0x0 0x40 0x0>, - <0x0 0x40 0x1>, - <0x0 0x40 0x2>, - <0x0 0x40 0x3>, - <0x0 0x40 0x4>, - <0x0 0x40 0x5>, - <0x0 0x40 0x6>, - <0x0 0x40 0x7>; - - interrupt-names = "vsense_for_r", - "vsense_avg", - "sw_cc_thr", - "ocv_thr", - "charge_begin", - "good_ocv", - "ocv_for_r", - "cc_thr"; - }; - }; - - qcom,leds@a100 { - compatible = "qcom,leds-qpnp"; - reg = <0xa100 0x100>; - label = "mpp"; - }; - - qcom,leds@a300 { - compatible = "qcom,leds-qpnp"; - reg = <0xa300 0x100>; - label = "mpp"; - }; - - qcom,leds@a500 { - compatible = "qcom,leds-qpnp"; - reg = <0xa500 0x100>; - label = "mpp"; - }; - - pm8226_gpios: gpios { - spmi-dev-container; - compatible = "qcom,qpnp-pin"; - gpio-controller; - #gpio-cells = <2>; - #address-cells = <1>; - #size-cells = <1>; - label = "pm8226-gpio"; - - gpio@c000 { - reg = <0xc000 0x100>; - qcom,pin-num = <1>; - }; - - gpio@c100 { - reg = <0xc100 0x100>; - qcom,pin-num = <2>; - }; - - gpio@c200 { - reg = <0xc200 0x100>; - qcom,pin-num = <3>; - }; - - gpio@c300 { - reg = <0xc300 0x100>; - qcom,pin-num = <4>; - }; - - gpio@c400 { - reg = <0xc400 0x100>; - qcom,pin-num = <5>; - }; - - gpio@c500 { - reg = <0xc500 0x100>; - qcom,pin-num = <6>; - }; - - gpio@c600 { - reg = <0xc600 0x100>; - qcom,pin-num = <7>; - }; - - gpio@c700 { - reg = <0xc700 0x100>; - qcom,pin-num = <8>; - }; - }; - - pm8226_mpps: mpps { - spmi-dev-container; - compatible = "qcom,qpnp-pin"; - gpio-controller; - #gpio-cells = <2>; - #address-cells = <1>; - #size-cells = <1>; - label = "pm8226-mpp"; - - mpp@a000 { - reg = <0xa000 0x100>; - qcom,pin-num = <1>; - }; - - mpp@a100 { - reg = <0xa100 0x100>; - qcom,pin-num = <2>; - }; - - mpp@a200 { - reg = <0xa200 0x100>; - qcom,pin-num = <3>; - }; - - mpp@a300 { - reg = <0xa300 0x100>; - qcom,pin-num = <4>; - }; - - mpp@a400 { - reg = <0xa400 0x100>; - qcom,pin-num = <5>; - }; - - mpp@a500 { - reg = <0xa500 0x100>; - qcom,pin-num = <6>; - }; - - mpp@a600 { - reg = <0xa600 0x100>; - qcom,pin-num = <7>; - }; - - mpp@a700 { - reg = <0xa700 0x100>; - qcom,pin-num = <8>; - }; - }; - - pm8226_vadc: vadc@3100 { - compatible = "qcom,qpnp-vadc"; - reg = <0x3100 0x100>; - #address-cells = <1>; - #size-cells = <0>; - interrupts = <0x0 0x31 0x0>; - interrupt-names = "eoc-int-en-set"; - qcom,adc-bit-resolution = <15>; - qcom,adc-vdd-reference = <1800>; - - chan@8 { - label = "die_temp"; - reg = <8>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <3>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@9 { - label = "ref_625mv"; - reg = <9>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@a { - label = "ref_1250v"; - reg = <0xa>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@c { - label = "ref_buf_625mv"; - reg = <0xc>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - }; - - iadc@3600 { - compatible = "qcom,qpnp-iadc"; - reg = <0x3600 0x100>; - #address-cells = <1>; - #size-cells = <0>; - interrupts = <0x0 0x36 0x0>; - interrupt-names = "eoc-int-en-set"; - qcom,adc-bit-resolution = <16>; - qcom,adc-vdd-reference = <1800>; - - chan@0 { - label = "internal_rsense"; - reg = <0>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <1>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - }; - - pm8226_adc_tm: vadc@3400 { - compatible = "qcom,qpnp-adc-tm"; - reg = <0x3400 0x100>; - #address-cells = <1>; - #size-cells = <0>; - interrupts = <0x0 0x34 0x0>, - <0x0 0x34 0x3>, - <0x0 0x34 0x4>; - interrupt-names = "eoc-int-en-set", - "high-thr-en-set", - "low-thr-en-set"; - qcom,adc-bit-resolution = <15>; - qcom,adc-vdd-reference = <1800>; - }; - - qcom,temp-alarm@2400 { - compatible = "qcom,qpnp-temp-alarm"; - reg = <0x2400 0x100>; - interrupts = <0x0 0x24 0x0>; - label = "pm8226_tz"; - qcom,channel-num = <8>; - qcom,threshold-set = <0>; - }; - - qcom,pm8226_rtc { - spmi-dev-container; - compatible = "qcom,qpnp-rtc"; - #address-cells = <1>; - #size-cells = <1>; - qcom,qpnp-rtc-write = <0>; - qcom,qpnp-rtc-alarm-pwrup = <0>; - - qcom,pm8226_rtc_rw@6000 { - reg = <0x6000 0x100>; - }; - qcom,pm8226_rtc_alarm@6100 { - reg = <0x6100 0x100>; - interrupts = <0x0 0x61 0x1>; - }; - }; - }; - - qcom,pm8226@1 { - spmi-slave-container; - reg = <0x1>; - #address-cells = <1>; - #size-cells = <1>; - - regulator@1400 { - regulator-name = "8226_s1"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x1400 0x300>; - status = "disabled"; - - qcom,ctl@1400 { - reg = <0x1400 0x100>; - }; - qcom,ps@1500 { - reg = <0x1500 0x100>; - }; - qcom,freq@1600 { - reg = <0x1600 0x100>; - }; - }; - - regulator@1700 { - regulator-name = "8226_s2"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x1700 0x300>; - status = "disabled"; - - qcom,ctl@1700 { - reg = <0x1700 0x100>; - }; - qcom,ps@1800 { - reg = <0x1800 0x100>; - }; - qcom,freq@1900 { - reg = <0x1900 0x100>; - }; - }; - - regulator@1a00 { - regulator-name = "8226_s3"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x1a00 0x300>; - status = "disabled"; - - qcom,ctl@1a00 { - reg = <0x1a00 0x100>; - }; - qcom,ps@1b00 { - reg = <0x1b00 0x100>; - }; - qcom,freq@1c00 { - reg = <0x1c00 0x100>; - }; - }; - - regulator@1d00 { - regulator-name = "8226_s4"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x1d00 0x300>; - status = "disabled"; - - qcom,ctl@1d00 { - reg = <0x1d00 0x100>; - }; - qcom,ps@1e00 { - reg = <0x1e00 0x100>; - }; - qcom,freq@1f00 { - reg = <0x1f00 0x100>; - }; - }; - - regulator@2000 { - regulator-name = "8226_s5"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x2000 0x300>; - status = "disabled"; - - qcom,ctl@2000 { - reg = <0x2000 0x100>; - }; - qcom,ps@2100 { - reg = <0x2100 0x100>; - }; - qcom,freq@2200 { - reg = <0x2200 0x100>; - }; - }; - - regulator@4000 { - regulator-name = "8226_l1"; - reg = <0x4000 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4100 { - regulator-name = "8226_l2"; - reg = <0x4100 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4200 { - regulator-name = "8226_l3"; - reg = <0x4200 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4300 { - regulator-name = "8226_l4"; - reg = <0x4300 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4400 { - regulator-name = "8226_l5"; - reg = <0x4400 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4500 { - regulator-name = "8226_l6"; - reg = <0x4500 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4600 { - regulator-name = "8226_l7"; - reg = <0x4600 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4700 { - regulator-name = "8226_l8"; - reg = <0x4700 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4800 { - regulator-name = "8226_l9"; - reg = <0x4800 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4900 { - regulator-name = "8226_l10"; - reg = <0x4900 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4b00 { - regulator-name = "8226_l12"; - reg = <0x4b00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4d00 { - regulator-name = "8226_l14"; - reg = <0x4d00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4e00 { - regulator-name = "8226_l15"; - reg = <0x4e00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4f00 { - regulator-name = "8226_l16"; - reg = <0x4f00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5000 { - regulator-name = "8226_l17"; - reg = <0x5000 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5100 { - regulator-name = "8226_l18"; - reg = <0x5100 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5200 { - regulator-name = "8226_l19"; - reg = <0x5200 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5300 { - regulator-name = "8226_l20"; - reg = <0x5300 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5400 { - regulator-name = "8226_l21"; - reg = <0x5400 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5500 { - regulator-name = "8226_l22"; - reg = <0x5500 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5600 { - regulator-name = "8226_l23"; - reg = <0x5600 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5700 { - regulator-name = "8226_l24"; - reg = <0x5700 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5900 { - regulator-name = "8226_l26"; - reg = <0x5900 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5a00 { - regulator-name = "8226_l27"; - reg = <0x5a00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5b00 { - regulator-name = "8226_l28"; - reg = <0x5b00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - qcom,leds@d800 { - compatible = "qcom,leds-qpnp"; - reg = <0xd800 0x100>; - label = "wled"; - }; - - pwm@b100 { - compatible = "qcom,qpnp-pwm"; - reg = <0xb100 0x100>, - <0xb042 0x7e>; - reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base"; - qcom,channel-id = <0>; - }; - - pwm@b200 { - compatible = "qcom,qpnp-pwm"; - reg = <0xb200 0x100>, - <0xb042 0x7e>; - reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base"; - qcom,channel-id = <1>; - }; - - pwm@b300 { - compatible = "qcom,qpnp-pwm"; - reg = <0xb300 0x100>, - <0xb042 0x7e>; - reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base"; - qcom,channel-id = <2>; - }; - - pwm@b400 { - compatible = "qcom,qpnp-pwm"; - reg = <0xb400 0x100>, - <0xb042 0x7e>; - reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base"; - qcom,channel-id = <3>; - }; - - pwm@b500 { - compatible = "qcom,qpnp-pwm"; - reg = <0xb500 0x100>, - <0xb042 0x7e>; - reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base"; - qcom,channel-id = <4>; - }; - - pwm@b600 { - compatible = "qcom,qpnp-pwm"; - reg = <0xb600 0x100>, - <0xb042 0x7e>; - reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base"; - qcom,channel-id = <5>; - }; - - regulator@8000 { - regulator-name = "8226_lvs1"; - reg = <0x8000 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - qcom,vibrator@c000 { - compatible = "qcom,qpnp-vibrator"; - reg = <0xc000 0x100>; - label = "vibrator"; - status = "disabled"; - }; - - qcom,leds@d300 { - compatible = "qcom,leds-qpnp"; - status = "okay"; - reg = <0xd300 0x100>; - label = "flash"; - flash_boost-supply = <&pm8226_chg_boost>; - pm8226_flash0: qcom,flash_0 { - qcom,max-current = <1000>; - qcom,default-state = "off"; - qcom,headroom = <0>; - qcom,duration = <1280>; - qcom,clamp-curr = <200>; - qcom,startup-dly = <1>; - qcom,safety-timer; - label = "flash"; - linux,default-trigger = - "flash0_trigger"; - qcom,id = <1>; - linux,name = "led:flash_0"; - qcom,current = <625>; - }; - - pm8226_flash1: qcom,flash_1 { - qcom,max-current = <1000>; - qcom,default-state = "off"; - qcom,headroom = <0>; - qcom,duration = <1280>; - qcom,clamp-curr = <200>; - qcom,startup-dly = <1>; - qcom,safety-timer; - linux,default-trigger = - "flash1_trigger"; - label = "flash"; - qcom,id = <2>; - linux,name = "led:flash_1"; - qcom,current = <625>; - }; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/msm-pm8841.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v2/msm-pm8841.dtsi deleted file mode 100644 index a2d80ec05..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/msm-pm8841.dtsi +++ /dev/null @@ -1,242 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&spmi_bus { - #address-cells = <1>; - #size-cells = <0>; - interrupt-controller; - #interrupt-cells = <3>; - - qcom,pm8841@4 { - spmi-slave-container; - reg = <0x4>; - #address-cells = <1>; - #size-cells = <1>; - - qcom,qpnp-revid@100 { - compatible = "qcom,qpnp-revid"; - reg = <0x100 0x100>; - }; - - qcom,temp-alarm@2400 { - compatible = "qcom,qpnp-temp-alarm"; - reg = <0x2400 0x100>; - interrupts = <0x4 0x24 0x0>; - label = "pm8841_tz"; - qcom,threshold-set = <0>; - qcom,default-temp = <37000>; - }; - - pm8841_mpps: mpps { - spmi-dev-container; - compatible = "qcom,qpnp-pin"; - gpio-controller; - #gpio-cells = <2>; - #address-cells = <1>; - #size-cells = <1>; - label = "pm8841-mpp"; - - mpp@a000 { - reg = <0xa000 0x100>; - qcom,pin-num = <1>; - }; - - mpp@a100 { - reg = <0xa100 0x100>; - qcom,pin-num = <2>; - }; - - mpp@a200 { - reg = <0xa200 0x100>; - qcom,pin-num = <3>; - }; - - mpp@a300 { - reg = <0xa300 0x100>; - qcom,pin-num = <4>; - }; - }; - }; - - qcom,pm8841@5 { - spmi-slave-container; - reg = <0x5>; - #address-cells = <1>; - #size-cells = <1>; - - regulator@1400 { - regulator-name = "8841_s1"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x1400 0x300>; - status = "disabled"; - - qcom,ctl@1400 { - reg = <0x1400 0x100>; - }; - qcom,ps@1500 { - reg = <0x1500 0x100>; - }; - qcom,freq@1600 { - reg = <0x1600 0x100>; - }; - }; - - regulator@1700 { - regulator-name = "8841_s2"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x1700 0x300>; - status = "disabled"; - qcom,force-type = <0x1c 0x08>; - - qcom,ctl@1700 { - reg = <0x1700 0x100>; - }; - qcom,ps@1800 { - reg = <0x1800 0x100>; - }; - qcom,freq@1900 { - reg = <0x1900 0x100>; - }; - }; - - regulator@1a00 { - regulator-name = "8841_s3"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x1a00 0x300>; - status = "disabled"; - - qcom,ctl@1a00 { - reg = <0x1a00 0x100>; - }; - qcom,ps@1b00 { - reg = <0x1b00 0x100>; - }; - qcom,freq@1c00 { - reg = <0x1c00 0x100>; - }; - }; - - regulator@1d00 { - regulator-name = "8841_s4"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x1d00 0x300>; - status = "disabled"; - qcom,force-type = <0x1c 0x08>; - - qcom,ctl@1d00 { - reg = <0x1d00 0x100>; - }; - qcom,ps@1e00 { - reg = <0x1e00 0x100>; - }; - qcom,freq@1f00 { - reg = <0x1f00 0x100>; - }; - }; - - regulator@2000 { - regulator-name = "8841_s5"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x2000 0x300>; - status = "disabled"; - qcom,force-type = <0x1c 0x08>; - - qcom,ctl@0 { - reg = <0x2000 0x100>; - }; - qcom,ps@100 { - reg = <0x2100 0x100>; - }; - qcom,freq@200 { - reg = <0x2200 0x100>; - }; - }; - - regulator@2300 { - regulator-name = "8841_s6"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x2300 0x300>; - status = "disabled"; - qcom,force-type = <0x1c 0x08>; - - qcom,ctl@2300 { - reg = <0x2300 0x100>; - }; - qcom,ps@2400 { - reg = <0x2400 0x100>; - }; - qcom,freq@2500 { - reg = <0x2500 0x100>; - }; - }; - - regulator@2600 { - regulator-name = "8841_s7"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x2600 0x300>; - status = "disabled"; - qcom,force-type = <0x1c 0x08>; - - qcom,ctl@2600 { - reg = <0x2600 0x100>; - }; - qcom,ps@2700 { - reg = <0x2700 0x100>; - }; - qcom,freq@2800 { - reg = <0x2800 0x100>; - }; - }; - - regulator@2900 { - regulator-name = "8841_s8"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x2900 0x300>; - status = "disabled"; - qcom,force-type = <0x1c 0x08>; - - qcom,ctl@2900 { - reg = <0x2900 0x100>; - }; - qcom,ps@2a000 { - reg = <0x2a00 0x100>; - }; - qcom,freq@2b00 { - reg = <0x2b00 0x100>; - }; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/msm-pm8941.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v2/msm-pm8941.dtsi deleted file mode 100644 index b4e557e16..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/msm-pm8941.dtsi +++ /dev/null @@ -1,1384 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&spmi_bus { - #address-cells = <1>; - #size-cells = <0>; - interrupt-controller; - #interrupt-cells = <3>; - - qcom,pm8941@0 { - spmi-slave-container; - reg = <0x0>; - #address-cells = <1>; - #size-cells = <1>; - - pm8941_misc: qcom,misc@900 { - compatible = "qcom,qpnp-misc"; - reg = <0x900 0x100>; - }; - - qcom,revid@100 { - compatible = "qcom,qpnp-revid"; - reg = <0x100 0x100>; - }; - - qcom,temp-alarm@2400 { - compatible = "qcom,qpnp-temp-alarm"; - reg = <0x2400 0x100>; - interrupts = <0x0 0x24 0x0>; - label = "pm8941_tz"; - qcom,channel-num = <8>; - qcom,threshold-set = <0>; - }; - - qcom,power-on@800 { - compatible = "qcom,qpnp-power-on"; - reg = <0x800 0x100>; - interrupts = <0x0 0x8 0x0>, - <0x0 0x8 0x1>, - <0x0 0x8 0x4>; - interrupt-names = "kpdpwr", "resin", "resin-bark"; - qcom,pon-dbc-delay = <15625>; - qcom,system-reset; - - qcom,pon_1 { - qcom,pon-type = <0>; - qcom,pull-up = <1>; - linux,code = <116>; - }; - - qcom,pon_2 { - qcom,pon-type = <1>; - qcom,support-reset = <1>; - qcom,pull-up = <1>; - qcom,s1-timer = <0>; - qcom,s2-timer = <2000>; - qcom,s2-type = <1>; - linux,code = <114>; - }; - }; - - bif_ctrl: qcom,bsi@1b00 { - compatible = "qcom,qpnp-bsi"; - reg = <0x1b00 0x100>, - <0x1208 0x1>; - reg-names = "bsi-base", "batt-id-status"; - label = "pm8941-bsi"; - interrupts = <0x0 0x1b 0x0>, - <0x0 0x1b 0x1>, - <0x0 0x1b 0x2>, - <0x0 0x12 0x0>; - interrupt-names = "err", - "rx", - "tx", - "batt-present"; - qcom,channel-num = <0x31>; - qcom,pullup-ohms = <100000>; - qcom,vref-microvolts = <1800000>; - qcom,min-clock-period = <1000>; - qcom,max-clock-period = <160000>; - qcom,sample-rate = <4>; - }; - - pm8941_coincell: qcom,coincell@2800 { - compatible = "qcom,qpnp-coincell"; - reg = <0x2800 0x100>; - }; - - pm8941_bms: qcom,bms { - spmi-dev-container; - compatible = "qcom,qpnp-bms"; - #address-cells = <1>; - #size-cells = <1>; - status = "disabled"; - - qcom,r-sense-uohm = <10000>; - qcom,v-cutoff-uv = <3400000>; - qcom,max-voltage-uv = <4200000>; - qcom,r-conn-mohm = <0>; - qcom,shutdown-soc-valid-limit = <20>; - qcom,adjust-soc-low-threshold = <15>; - qcom,ocv-voltage-high-threshold-uv = <3750000>; - qcom,ocv-voltage-low-threshold-uv = <3650000>; - qcom,low-soc-calculate-soc-threshold = <15>; - qcom,low-soc-calculate-soc-ms = <5000>; - qcom,calculate-soc-ms = <20000>; - qcom,chg-term-ua = <100000>; - qcom,batt-type = <0>; - qcom,low-voltage-threshold = <3420000>; - qcom,tm-temp-margin = <5000>; - qcom,low-ocv-correction-limit-uv = <100>; - qcom,high-ocv-correction-limit-uv = <50>; - qcom,hold-soc-est = <3>; - - qcom,bms-iadc@3800 { - reg = <0x3800 0x100>; - }; - - qcom,bms-bms@4000 { - reg = <0x4000 0x100>; - interrupts = <0x0 0x40 0x0>, - <0x0 0x40 0x1>, - <0x0 0x40 0x2>, - <0x0 0x40 0x3>, - <0x0 0x40 0x4>, - <0x0 0x40 0x5>, - <0x0 0x40 0x6>, - <0x0 0x40 0x7>; - - interrupt-names = "vsense_for_r", - "vsense_avg", - "sw_cc_thr", - "ocv_thr", - "charge_begin", - "good_ocv", - "ocv_for_r", - "cc_thr"; - }; - }; - - clkdiv@5b00 { - reg = <0x5b00 0x100>; - compatible = "qcom,qpnp-clkdiv"; - qcom,cxo-freq = <19200000>; - }; - - clkdiv@5c00 { - reg = <0x5c00 0x100>; - compatible = "qcom,qpnp-clkdiv"; - qcom,cxo-freq = <19200000>; - }; - - clkdiv@5d00 { - reg = <0x5d00 0x1000>; - compatible = "qcom,qpnp-clkdiv"; - qcom,cxo-freq = <19200000>; - }; - - pm8941_chg: qcom,charger { - spmi-dev-container; - compatible = "qcom,qpnp-charger"; - #address-cells = <1>; - #size-cells = <1>; - status = "disabled"; - - qcom,vddmax-mv = <4200>; - qcom,vddsafe-mv = <4230>; - qcom,vinmin-mv = <4300>; - qcom,ibatmax-ma = <1500>; - qcom,ibatterm-ma = <100>; - qcom,ibatsafe-ma = <1500>; - qcom,thermal-mitigation = <1500 700 600 325>; - qcom,cool-bat-decidegc = <100>; - qcom,cool-bat-mv = <4100>; - qcom,ibatmax-warm-ma = <350>; - qcom,warm-bat-decidegc = <450>; - qcom,warm-bat-mv = <4100>; - qcom,ibatmax-cool-ma = <350>; - qcom,vbatdet-delta-mv = <100>; - qcom,tchg-mins = <150>; - - qcom,chgr@1000 { - status = "disabled"; - reg = <0x1000 0x100>; - interrupts = <0x0 0x10 0x0>, - <0x0 0x10 0x1>, - <0x0 0x10 0x2>, - <0x0 0x10 0x3>, - <0x0 0x10 0x4>, - <0x0 0x10 0x5>, - <0x0 0x10 0x6>, - <0x0 0x10 0x7>; - - interrupt-names = "vbat-det-lo", - "vbat-det-hi", - "chgwdog", - "state-change", - "trkl-chg-on", - "fast-chg-on", - "chg-failed", - "chg-done"; - }; - - qcom,buck@1100 { - status = "disabled"; - reg = <0x1100 0x100>; - interrupts = <0x0 0x11 0x0>, - <0x0 0x11 0x1>, - <0x0 0x11 0x2>, - <0x0 0x11 0x3>, - <0x0 0x11 0x4>, - <0x0 0x11 0x5>, - <0x0 0x11 0x6>; - - interrupt-names = "vbat-ov", - "vreg-ov", - "overtemp", - "vchg-loop", - "ichg-loop", - "ibat-loop", - "vdd-loop"; - }; - - qcom,bat-if@1200 { - status = "disabled"; - reg = <0x1200 0x100>; - interrupts = <0x0 0x12 0x0>, - <0x0 0x12 0x1>, - <0x0 0x12 0x2>, - <0x0 0x12 0x3>, - <0x0 0x12 0x4>; - - interrupt-names = "batt-pres", - "bat-temp-ok", - "bat-fet-on", - "vcp-on", - "psi"; - - }; - - pm8941_chg_otg: qcom,usb-chgpth@1300 { - status = "disabled"; - reg = <0x1300 0x100>; - interrupts = <0 0x13 0x0>, - <0 0x13 0x1>, - <0x0 0x13 0x2>; - - interrupt-names = "coarse-det-usb", - "usbin-valid", - "chg-gone"; - }; - - qcom,dc-chgpth@1400 { - status = "disabled"; - reg = <0x1400 0x100>; - interrupts = <0x0 0x14 0x0>, - <0x0 0x14 0x1>; - - interrupt-names = "coarse-det-dc", - "dcin-valid"; - }; - - pm8941_chg_boost: qcom,boost@1500 { - status = "disabled"; - reg = <0x1500 0x100>; - interrupts = <0x0 0x15 0x0>, - <0x0 0x15 0x1>; - - interrupt-names = "boost-pwr-ok", - "limit-error"; - }; - - qcom,chg-misc@1600 { - status = "disabled"; - reg = <0x1600 0x100>; - }; - }; - - pm8941_gpios: gpios { - spmi-dev-container; - compatible = "qcom,qpnp-pin"; - gpio-controller; - #gpio-cells = <2>; - #address-cells = <1>; - #size-cells = <1>; - label = "pm8941-gpio"; - - gpio@c000 { - reg = <0xc000 0x100>; - qcom,pin-num = <1>; - }; - - gpio@c100 { - reg = <0xc100 0x100>; - qcom,pin-num = <2>; - }; - - gpio@c200 { - reg = <0xc200 0x100>; - qcom,pin-num = <3>; - }; - - gpio@c300 { - reg = <0xc300 0x100>; - qcom,pin-num = <4>; - }; - - gpio@c400 { - reg = <0xc400 0x100>; - qcom,pin-num = <5>; - }; - - gpio@c500 { - reg = <0xc500 0x100>; - qcom,pin-num = <6>; - }; - - gpio@c600 { - reg = <0xc600 0x100>; - qcom,pin-num = <7>; - }; - - gpio@c700 { - reg = <0xc700 0x100>; - qcom,pin-num = <8>; - }; - - gpio@c800 { - reg = <0xc800 0x100>; - qcom,pin-num = <9>; - }; - - gpio@c900 { - reg = <0xc900 0x100>; - qcom,pin-num = <10>; - }; - - gpio@ca00 { - reg = <0xca00 0x100>; - qcom,pin-num = <11>; - }; - - gpio@cb00 { - reg = <0xcb00 0x100>; - qcom,pin-num = <12>; - }; - - gpio@cc00 { - reg = <0xcc00 0x100>; - qcom,pin-num = <13>; - }; - - gpio@cd00 { - reg = <0xcd00 0x100>; - qcom,pin-num = <14>; - }; - - gpio@ce00 { - reg = <0xce00 0x100>; - qcom,pin-num = <15>; - }; - - gpio@cf00 { - reg = <0xcf00 0x100>; - qcom,pin-num = <16>; - }; - - gpio@d000 { - reg = <0xd000 0x100>; - qcom,pin-num = <17>; - }; - - gpio@d100 { - reg = <0xd100 0x100>; - qcom,pin-num = <18>; - }; - - gpio@d200 { - reg = <0xd200 0x100>; - qcom,pin-num = <19>; - }; - - gpio@d300 { - reg = <0xd300 0x100>; - qcom,pin-num = <20>; - }; - - gpio@d400 { - reg = <0xd400 0x100>; - qcom,pin-num = <21>; - }; - - gpio@d500 { - reg = <0xd500 0x100>; - qcom,pin-num = <22>; - }; - - gpio@d600 { - reg = <0xd600 0x100>; - qcom,pin-num = <23>; - }; - - gpio@d700 { - reg = <0xd700 0x100>; - qcom,pin-num = <24>; - }; - - gpio@d800 { - reg = <0xd800 0x100>; - qcom,pin-num = <25>; - }; - - gpio@d900 { - reg = <0xd900 0x100>; - qcom,pin-num = <26>; - }; - - gpio@da00 { - reg = <0xda00 0x100>; - qcom,pin-num = <27>; - }; - - gpio@db00 { - reg = <0xdb00 0x100>; - qcom,pin-num = <28>; - }; - - gpio@dc00 { - reg = <0xdc00 0x100>; - qcom,pin-num = <29>; - }; - - gpio@dd00 { - reg = <0xdd00 0x100>; - qcom,pin-num = <30>; - }; - - gpio@de00 { - reg = <0xde00 0x100>; - qcom,pin-num = <31>; - }; - - gpio@df00 { - reg = <0xdf00 0x100>; - qcom,pin-num = <32>; - }; - - gpio@e000 { - reg = <0xe000 0x100>; - qcom,pin-num = <33>; - }; - - gpio@e100 { - reg = <0xe100 0x100>; - qcom,pin-num = <34>; - }; - - gpio@e200 { - reg = <0xe200 0x100>; - qcom,pin-num = <35>; - }; - - gpio@e300 { - reg = <0xe300 0x100>; - qcom,pin-num = <36>; - }; - }; - - pm8941_mpps: mpps { - spmi-dev-container; - compatible = "qcom,qpnp-pin"; - gpio-controller; - #gpio-cells = <2>; - #address-cells = <1>; - #size-cells = <1>; - label = "pm8941-mpp"; - - mpp@a000 { - reg = <0xa000 0x100>; - qcom,pin-num = <1>; - }; - - mpp@a100 { - reg = <0xa100 0x100>; - qcom,pin-num = <2>; - }; - - mpp@a200 { - reg = <0xa200 0x100>; - qcom,pin-num = <3>; - }; - - mpp@a300 { - reg = <0xa300 0x100>; - qcom,pin-num = <4>; - }; - - mpp@a400 { - reg = <0xa400 0x100>; - qcom,pin-num = <5>; - }; - - mpp@a500 { - reg = <0xa500 0x100>; - qcom,pin-num = <6>; - }; - - mpp@a600 { - reg = <0xa600 0x100>; - qcom,pin-num = <7>; - }; - - mpp@a700 { - reg = <0xa700 0x100>; - qcom,pin-num = <8>; - }; - }; - - qcom,pm8941_rtc { - spmi-dev-container; - compatible = "qcom,qpnp-rtc"; - #address-cells = <1>; - #size-cells = <1>; - qcom,qpnp-rtc-write = <0>; - qcom,qpnp-rtc-alarm-pwrup = <0>; - - qcom,pm8941_rtc_rw@6000 { - reg = <0x6000 0x100>; - }; - qcom,pm8941_rtc_alarm@6100 { - reg = <0x6100 0x100>; - interrupts = <0x0 0x61 0x1>; - }; - }; - - vadc@3100 { - compatible = "qcom,qpnp-vadc"; - reg = <0x3100 0x100>; - #address-cells = <1>; - #size-cells = <0>; - interrupts = <0x0 0x31 0x0>; - interrupt-names = "eoc-int-en-set"; - qcom,adc-bit-resolution = <15>; - qcom,adc-vdd-reference = <1800>; - - chan@0 { - label = "usb_in"; - reg = <0>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <4>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@1 { - label = "dc_in"; - reg = <1>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <4>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@2 { - label = "vchg_sns"; - reg = <2>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <3>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@3 { - label = "spare1_div3"; - reg = <3>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <1>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@4 { - label = "usb_id_mv"; - reg = <4>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <1>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@5 { - label = "vcoin"; - reg = <5>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <1>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@6 { - label = "vbat_sns"; - reg = <6>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <1>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@7 { - label = "vph_pwr"; - reg = <7>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <1>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@8 { - label = "die_temp"; - reg = <8>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <3>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@9 { - label = "ref_625mv"; - reg = <9>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@a { - label = "ref_1250v"; - reg = <0xa>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@30 { - label = "batt_therm"; - reg = <0x30>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <1>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@31 { - label = "batt_id"; - reg = <0x31>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@b2 { - label = "xo_therm_pu2"; - reg = <0xb2>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <4>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@b3 { - label = "msm_therm"; - reg = <0xb3>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@b4 { - label = "emmc_therm"; - reg = <0xb4>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@b5 { - label = "pa_therm0"; - reg = <0xb5>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@b7 { - label = "pa_therm1"; - reg = <0xb7>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@b8 { - label = "quiet_therm"; - reg = <0xb8>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@b9 { - label = "usb_id"; - reg = <0xb9>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@39 { - label = "usb_id_nopull"; - reg = <0x39>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - }; - - iadc@3600 { - compatible = "qcom,qpnp-iadc"; - reg = <0x3600 0x100>; - #address-cells = <1>; - #size-cells = <0>; - interrupts = <0x0 0x36 0x0>; - interrupt-names = "eoc-int-en-set"; - qcom,adc-bit-resolution = <16>; - qcom,adc-vdd-reference = <1800>; - - chan@0 { - label = "internal_rsense"; - reg = <0>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <1>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - }; - - qcom,vadc@3400 { - compatible = "qcom,qpnp-adc-tm"; - reg = <0x3400 0x100>; - #address-cells = <1>; - #size-cells = <0>; - interrupts = <0x0 0x34 0x0>, - <0x0 0x34 0x3>, - <0x0 0x34 0x4>; - interrupt-names = "eoc-int-en-set", - "high-thr-en-set", - "low-thr-en-set"; - qcom,adc-bit-resolution = <15>; - qcom,adc-vdd-reference = <1800>; - - /* Channel Node */ - chan@b9 { - label = "usb_id"; - reg = <0xb9>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <3>; - qcom,btm-channel-number = <0x48>; - }; - - chan@30 { - label = "batt_therm"; - reg = <0x30>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <1>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <3>; - qcom,btm-channel-number = <0x68>; - }; - - chan@8 { - label = "die_temp"; - reg = <8>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <3>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <3>; - qcom,btm-channel-number = <0x70>; - }; - - chan@6 { - label = "vbat_sns"; - reg = <6>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <1>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <3>; - qcom,btm-channel-number = <0x78>; - }; - - chan@b5 { - label = "pa_therm0"; - reg = <0xb5>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <3>; - qcom,btm-channel-number = <0x80>; - qcom,thermal-node; - }; - - chan@b7 { - label = "pa_therm1"; - reg = <0xb7>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <3>; - qcom,btm-channel-number = <0x88>; - qcom,thermal-node; - }; - - chan@b4 { - label = "emmc_therm"; - reg = <0xb4>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <3>; - qcom,btm-channel-number = <0x90>; - qcom,thermal-node; - }; - - chan@b3 { - label = "msm_therm"; - reg = <0xb3>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <3>; - qcom,btm-channel-number = <0x98>; - qcom,thermal-node; - }; - }; - }; - - qcom,pm8941@1 { - spmi-slave-container; - reg = <0x1>; - #address-cells = <1>; - #size-cells = <1>; - - regulator@1400 { - regulator-name = "8941_s1"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x1400 0x300>; - status = "disabled"; - - qcom,ctl@1400 { - reg = <0x1400 0x100>; - }; - qcom,ps@1500 { - reg = <0x1500 0x100>; - }; - qcom,freq@1600 { - reg = <0x1600 0x100>; - }; - }; - - regulator@1700 { - regulator-name = "8941_s2"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x1700 0x300>; - status = "disabled"; - - qcom,ctl@1700 { - reg = <0x1700 0x100>; - }; - qcom,ps@1800 { - reg = <0x1800 0x100>; - }; - qcom,freq@1900 { - reg = <0x1900 0x100>; - }; - }; - - regulator@1a00 { - regulator-name = "8941_s3"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x1a00 0x300>; - status = "disabled"; - - qcom,ctl@1a00 { - reg = <0x1a00 0x100>; - }; - qcom,ps@1b00 { - reg = <0x1b00 0x100>; - }; - qcom,freq@1c00 { - reg = <0x1c00 0x100>; - }; - }; - - regulator@a000 { - regulator-name = "8941_boost"; - reg = <0xa000 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4000 { - regulator-name = "8941_l1"; - reg = <0x4000 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4100 { - regulator-name = "8941_l2"; - reg = <0x4100 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4200 { - regulator-name = "8941_l3"; - reg = <0x4200 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4300 { - regulator-name = "8941_l4"; - reg = <0x4300 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4400 { - regulator-name = "8941_l5"; - reg = <0x4400 0x100>; - compatible = "qcom,qpnp-regulator"; - qcom,force-type = <0x04 0x10>; - status = "disabled"; - }; - - regulator@4500 { - regulator-name = "8941_l6"; - reg = <0x4500 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4600 { - regulator-name = "8941_l7"; - reg = <0x4600 0x100>; - compatible = "qcom,qpnp-regulator"; - qcom,force-type = <0x04 0x10>; - status = "disabled"; - }; - - regulator@4700 { - regulator-name = "8941_l8"; - reg = <0x4700 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4800 { - regulator-name = "8941_l9"; - reg = <0x4800 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4900 { - regulator-name = "8941_l10"; - reg = <0x4900 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4a00 { - regulator-name = "8941_l11"; - reg = <0x4a00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4b00 { - regulator-name = "8941_l12"; - reg = <0x4b00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4c00 { - regulator-name = "8941_l13"; - reg = <0x4c00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4d00 { - regulator-name = "8941_l14"; - reg = <0x4d00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4e00 { - regulator-name = "8941_l15"; - reg = <0x4e00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4f00 { - regulator-name = "8941_l16"; - reg = <0x4f00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5000 { - regulator-name = "8941_l17"; - reg = <0x5000 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5100 { - regulator-name = "8941_l18"; - reg = <0x5100 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5200 { - regulator-name = "8941_l19"; - reg = <0x5200 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5300 { - regulator-name = "8941_l20"; - reg = <0x5300 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5400 { - regulator-name = "8941_l21"; - reg = <0x5400 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5500 { - regulator-name = "8941_l22"; - reg = <0x5500 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5600 { - regulator-name = "8941_l23"; - reg = <0x5600 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5700 { - regulator-name = "8941_l24"; - reg = <0x5700 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@8000 { - regulator-name = "8941_lvs1"; - reg = <0x8000 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@8100 { - regulator-name = "8941_lvs2"; - reg = <0x8100 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@8200 { - regulator-name = "8941_lvs3"; - reg = <0x8200 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@8300 { - regulator-name = "8941_mvs1"; - reg = <0x8300 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@8400 { - regulator-name = "8941_mvs2"; - reg = <0x8400 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - qcom,vibrator@c000 { - compatible = "qcom,qpnp-vibrator"; - reg = <0xc000 0x100>; - label = "vibrator"; - status = "disabled"; - }; - - qcom,leds@d000 { - compatible = "qcom,leds-qpnp"; - reg = <0xd000 0x100>; - label = "rgb"; - }; - - qcom,leds@d100 { - compatible = "qcom,leds-qpnp"; - reg = <0xd100 0x100>; - label = "rgb"; - }; - - qcom,leds@d200 { - compatible = "qcom,leds-qpnp"; - reg = <0xd200 0x100>; - label = "rgb"; - }; - - qcom,leds@d300 { - compatible = "qcom,leds-qpnp"; - reg = <0xd300 0x100>; - label = "flash"; - flash_boost-supply = <&pm8941_chg_boost>; - }; - - qcom,leds@d400 { - compatible = "qcom,leds-qpnp"; - reg = <0xd400 0x100>; - label = "flash"; - }; - - qcom,leds@d500 { - compatible = "qcom,leds-qpnp"; - reg = <0xd500 0x100>; - label = "flash"; - }; - - qcom,leds@d600 { - compatible = "qcom,leds-qpnp"; - reg = <0xd600 0x100>; - label = "flash"; - }; - - qcom,leds@d700 { - compatible = "qcom,leds-qpnp"; - reg = <0xd700 0x100>; - label = "flash"; - }; - - qcom,leds@d800 { - compatible = "qcom,leds-qpnp"; - reg = <0xd800 0x100>; - label = "wled"; - }; - - qcom,leds@d900 { - compatible = "qcom,leds-qpnp"; - reg = <0xd900 0x100>; - label = "wled"; - }; - - qcom,leds@da00 { - compatible = "qcom,leds-qpnp"; - reg = <0xda00 0x100>; - label = "wled"; - }; - - qcom,leds@db00 { - compatible = "qcom,leds-qpnp"; - reg = <0xdb00 0x100>; - label = "wled"; - }; - - qcom,leds@dc00 { - compatible = "qcom,leds-qpnp"; - reg = <0xdc00 0x100>; - label = "wled"; - }; - - qcom,leds@dd00 { - compatible = "qcom,leds-qpnp"; - reg = <0xdd00 0x100>; - label = "wled"; - }; - - qcom,leds@de00 { - compatible = "qcom,leds-qpnp"; - reg = <0xde00 0x100>; - label = "wled"; - }; - - qcom,leds@df00 { - compatible = "qcom,leds-qpnp"; - reg = <0xdf00 0x100>; - label = "wled"; - }; - - qcom,leds@e000 { - compatible = "qcom,leds-qpnp"; - reg = <0xe000 0x100>; - label = "wled"; - }; - - qcom,leds@e100 { - compatible = "qcom,leds-qpnp"; - reg = <0xe100 0x100>; - label = "wled"; - }; - - pwm@b100 { - compatible = "qcom,qpnp-pwm"; - reg = <0xb100 0x100>, - <0xb042 0x7e>; - reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base"; - qcom,channel-id = <0>; - }; - - pwm@b200 { - compatible = "qcom,qpnp-pwm"; - reg = <0xb200 0x100>, - <0xb042 0x7e>; - reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base"; - qcom,channel-id = <1>; - }; - - pwm@b300 { - compatible = "qcom,qpnp-pwm"; - reg = <0xb300 0x100>, - <0xb042 0x7e>; - reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base"; - qcom,channel-id = <2>; - }; - - pwm@b400 { - compatible = "qcom,qpnp-pwm"; - reg = <0xb400 0x100>, - <0xb042 0x7e>; - reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base"; - qcom,channel-id = <3>; - }; - - pwm@b500 { - compatible = "qcom,qpnp-pwm"; - reg = <0xb500 0x100>, - <0xb042 0x7e>; - reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base"; - qcom,channel-id = <4>; - }; - - pwm@b600 { - compatible = "qcom,qpnp-pwm"; - reg = <0xb600 0x100>, - <0xb042 0x7e>; - reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base"; - qcom,channel-id = <5>; - }; - - pwm@b700 { - compatible = "qcom,qpnp-pwm"; - reg = <0xb700 0x100>, - <0xb042 0x7e>; - reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base"; - qcom,channel-id = <6>; - }; - - pwm@b800 { - compatible = "qcom,qpnp-pwm"; - reg = <0xb800 0x100>, - <0xb042 0x7e>; - reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base"; - qcom,channel-id = <7>; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/msm-pm8x41-rpm-regulator.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v2/msm-pm8x41-rpm-regulator.dtsi deleted file mode 100644 index 6e67dd85c..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/msm-pm8x41-rpm-regulator.dtsi +++ /dev/null @@ -1,585 +0,0 @@ -/* Copyright (c) 2012, 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. - */ - -&rpm_bus { - rpm-regulator-smpb1 { - qcom,resource-name = "smpb"; - qcom,resource-id = <1>; - qcom,regulator-type = <1>; - qcom,hpm-min-load = <100000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-s1 { - regulator-name = "8841_s1"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-smpb2 { - qcom,resource-name = "smpb"; - qcom,resource-id = <2>; - qcom,regulator-type = <1>; - qcom,hpm-min-load = <100000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-s2 { - regulator-name = "8841_s2"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-smpb3 { - qcom,resource-name = "smpb"; - qcom,resource-id = <3>; - qcom,regulator-type = <1>; - qcom,hpm-min-load = <100000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-s3 { - regulator-name = "8841_s3"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-smpb4 { - qcom,resource-name = "smpb"; - qcom,resource-id = <4>; - qcom,regulator-type = <1>; - qcom,hpm-min-load = <100000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-s4 { - regulator-name = "8841_s4"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-smpa1 { - qcom,resource-name = "smpa"; - qcom,resource-id = <1>; - qcom,regulator-type = <1>; - qcom,hpm-min-load = <100000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-s1 { - regulator-name = "8941_s1"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-smpa2 { - qcom,resource-name = "smpa"; - qcom,resource-id = <2>; - qcom,regulator-type = <1>; - qcom,hpm-min-load = <100000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-s2 { - regulator-name = "8941_s2"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-smpa3 { - qcom,resource-name = "smpa"; - qcom,resource-id = <3>; - qcom,regulator-type = <1>; - qcom,hpm-min-load = <100000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-s3 { - regulator-name = "8941_s3"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa1 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <1>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l1 { - regulator-name = "8941_l1"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa2 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <2>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l2 { - regulator-name = "8941_l2"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa3 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <3>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l3 { - regulator-name = "8941_l3"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa4 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <4>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l4 { - regulator-name = "8941_l4"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa5 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <5>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l5 { - regulator-name = "8941_l5"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa6 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <6>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l6 { - regulator-name = "8941_l6"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa7 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <7>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l7 { - regulator-name = "8941_l7"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa8 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <8>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l8 { - regulator-name = "8941_l8"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa9 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <9>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l9 { - regulator-name = "8941_l9"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa10 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <10>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l10 { - regulator-name = "8941_l10"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa11 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <11>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l11 { - regulator-name = "8941_l11"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa12 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <12>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l12 { - regulator-name = "8941_l12"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa13 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <13>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l13 { - regulator-name = "8941_l13"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa14 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <14>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l14 { - regulator-name = "8941_l14"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa15 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <15>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l15 { - regulator-name = "8941_l15"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa16 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <16>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l16 { - regulator-name = "8941_l16"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa17 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <17>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l17 { - regulator-name = "8941_l17"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa18 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <18>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l18 { - regulator-name = "8941_l18"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa19 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <19>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l19 { - regulator-name = "8941_l19"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa20 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <20>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l20 { - regulator-name = "8941_l20"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa21 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <21>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l21 { - regulator-name = "8941_l21"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa22 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <22>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l22 { - regulator-name = "8941_l22"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa23 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <23>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l23 { - regulator-name = "8941_l23"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa24 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <24>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l24 { - regulator-name = "8941_l24"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - /* TODO: find out correct resource names for LVS vs MVS */ - rpm-regulator-vsa1 { - qcom,resource-name = "vsa"; - qcom,resource-id = <1>; - qcom,regulator-type = <2>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-lvs1 { - regulator-name = "8941_lvs1"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-vsa2 { - qcom,resource-name = "vsa"; - qcom,resource-id = <2>; - qcom,regulator-type = <2>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-lvs2 { - regulator-name = "8941_lvs2"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-vsa3 { - qcom,resource-name = "vsa"; - qcom,resource-id = <3>; - qcom,regulator-type = <2>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-lvs3 { - regulator-name = "8941_lvs3"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-vsa4 { - qcom,resource-name = "vsa"; - qcom,resource-id = <4>; - qcom,regulator-type = <2>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-mvs1 { - regulator-name = "8941_mvs1"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-vsa5 { - qcom,resource-name = "vsa"; - qcom,resource-id = <5>; - qcom,regulator-type = <2>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-mvs2 { - regulator-name = "8941_mvs2"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/msm-pma8084.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v2/msm-pma8084.dtsi deleted file mode 100644 index 30525aac0..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/msm-pma8084.dtsi +++ /dev/null @@ -1,666 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&spmi_bus { - #address-cells = <1>; - #size-cells = <0>; - interrupt-controller; - #interrupt-cells = <3>; - - qcom,pma8084@0 { - spmi-slave-container; - reg = <0x0>; - #address-cells = <1>; - #size-cells = <1>; - - pma8084_gpios: gpios { - spmi-dev-container; - compatible = "qcom,qpnp-pin"; - gpio-controller; - #gpio-cells = <2>; - #address-cells = <1>; - #size-cells = <1>; - label = "pma8084-gpio"; - - gpio@c000 { - reg = <0xc000 0x100>; - qcom,pin-num = <1>; - }; - - gpio@c100 { - reg = <0xc100 0x100>; - qcom,pin-num = <2>; - }; - - gpio@c200 { - reg = <0xc200 0x100>; - qcom,pin-num = <3>; - }; - - gpio@c300 { - reg = <0xc300 0x100>; - qcom,pin-num = <4>; - }; - - gpio@c400 { - reg = <0xc400 0x100>; - qcom,pin-num = <5>; - }; - - gpio@c500 { - reg = <0xc500 0x100>; - qcom,pin-num = <6>; - }; - - gpio@c600 { - reg = <0xc600 0x100>; - qcom,pin-num = <7>; - }; - - gpio@c700 { - reg = <0xc700 0x100>; - qcom,pin-num = <8>; - }; - - gpio@c800 { - reg = <0xc800 0x100>; - qcom,pin-num = <9>; - }; - - gpio@c900 { - reg = <0xc900 0x100>; - qcom,pin-num = <10>; - }; - - gpio@ca00 { - reg = <0xca00 0x100>; - qcom,pin-num = <11>; - }; - - gpio@cb00 { - reg = <0xcb00 0x100>; - qcom,pin-num = <12>; - }; - - gpio@cc00 { - reg = <0xcc00 0x100>; - qcom,pin-num = <13>; - }; - - gpio@cd00 { - reg = <0xcd00 0x100>; - qcom,pin-num = <14>; - }; - - gpio@ce00 { - reg = <0xce00 0x100>; - qcom,pin-num = <15>; - }; - - gpio@cf00 { - reg = <0xcf00 0x100>; - qcom,pin-num = <16>; - }; - - gpio@d000 { - reg = <0xd000 0x100>; - qcom,pin-num = <17>; - }; - - gpio@d100 { - reg = <0xd100 0x100>; - qcom,pin-num = <18>; - }; - - gpio@d200 { - reg = <0xd200 0x100>; - qcom,pin-num = <19>; - }; - - gpio@d300 { - reg = <0xd300 0x100>; - qcom,pin-num = <20>; - }; - - gpio@d400 { - reg = <0xd400 0x100>; - qcom,pin-num = <21>; - }; - - gpio@d500 { - reg = <0xd500 0x100>; - qcom,pin-num = <22>; - }; - }; - - pma8084_mpps: mpps { - spmi-dev-container; - compatible = "qcom,qpnp-pin"; - gpio-controller; - #gpio-cells = <2>; - #address-cells = <1>; - #size-cells = <1>; - label = "pma8084-mpp"; - - mpp@a000 { - reg = <0xa000 0x100>; - qcom,pin-num = <1>; - }; - - mpp@a100 { - reg = <0xa100 0x100>; - qcom,pin-num = <2>; - }; - - mpp@a200 { - reg = <0xa200 0x100>; - qcom,pin-num = <3>; - }; - - mpp@a300 { - reg = <0xa300 0x100>; - qcom,pin-num = <4>; - }; - - mpp@a400 { - reg = <0xa400 0x100>; - qcom,pin-num = <5>; - }; - - mpp@a500 { - reg = <0xa500 0x100>; - qcom,pin-num = <6>; - }; - - mpp@a600 { - reg = <0xa600 0x100>; - qcom,pin-num = <7>; - }; - - mpp@a700 { - reg = <0xa700 0x100>; - qcom,pin-num = <8>; - }; - }; - }; - - qcom,pma8084@1 { - spmi-slave-container; - reg = <0x1>; - #address-cells = <1>; - #size-cells = <1>; - - regulator@1400 { - regulator-name = "8084_s1"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x1400 0x300>; - status = "disabled"; - - qcom,ctl@1400 { - reg = <0x1400 0x100>; - }; - qcom,ps@1500 { - reg = <0x1500 0x100>; - }; - qcom,freq@1600 { - reg = <0x1600 0x100>; - }; - }; - - regulator@1700 { - regulator-name = "8084_s2"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x1700 0x300>; - status = "disabled"; - - qcom,ctl@1700 { - reg = <0x1700 0x100>; - }; - qcom,ps@1800 { - reg = <0x1800 0x100>; - }; - qcom,freq@1900 { - reg = <0x1900 0x100>; - }; - }; - - regulator@1a00 { - regulator-name = "8084_s3"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x1a00 0x300>; - status = "disabled"; - - qcom,ctl@1a00 { - reg = <0x1a00 0x100>; - }; - qcom,ps@1b00 { - reg = <0x1b00 0x100>; - }; - qcom,freq@1c00 { - reg = <0x1c00 0x100>; - }; - }; - - regulator@1d00 { - regulator-name = "8084_s4"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x1d00 0x300>; - status = "disabled"; - - qcom,ctl@1d00 { - reg = <0x1d00 0x100>; - }; - qcom,ps@1e00 { - reg = <0x1e00 0x100>; - }; - qcom,freq@1f00 { - reg = <0x1f00 0x100>; - }; - }; - - regulator@2000 { - regulator-name = "8084_s5"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x2000 0x300>; - status = "disabled"; - - qcom,ctl@2000 { - reg = <0x2000 0x100>; - }; - qcom,ps@2100 { - reg = <0x2100 0x100>; - }; - qcom,freq@2200 { - reg = <0x2200 0x100>; - }; - }; - - regulator@2300 { - regulator-name = "8084_s6"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x2300 0x300>; - status = "disabled"; - - qcom,ctl@2300 { - reg = <0x2300 0x100>; - }; - qcom,ps@2400 { - reg = <0x2400 0x100>; - }; - qcom,freq@2500 { - reg = <0x2500 0x100>; - }; - }; - - regulator@2600 { - regulator-name = "8084_s7"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x2600 0x300>; - status = "disabled"; - - qcom,ctl@2600 { - reg = <0x2600 0x100>; - }; - qcom,ps@2700 { - reg = <0x2700 0x100>; - }; - qcom,freq@2800 { - reg = <0x2800 0x100>; - }; - }; - - regulator@2900 { - regulator-name = "8084_s8"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x2900 0x300>; - status = "disabled"; - - qcom,ctl@2900 { - reg = <0x2900 0x100>; - }; - qcom,ps@2a00 { - reg = <0x2a00 0x100>; - }; - qcom,freq@2b00 { - reg = <0x2b00 0x100>; - }; - }; - - regulator@2c00 { - regulator-name = "8084_s9"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x2c00 0x300>; - status = "disabled"; - - qcom,ctl@2c00 { - reg = <0x2c00 0x100>; - }; - qcom,ps@2d00 { - reg = <0x2d00 0x100>; - }; - qcom,freq@2e00 { - reg = <0x2e00 0x100>; - }; - }; - - regulator@2f00 { - regulator-name = "8084_s10"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x2f00 0x300>; - status = "disabled"; - - qcom,ctl@2f00 { - reg = <0x2f00 0x100>; - }; - qcom,ps@3000 { - reg = <0x3000 0x100>; - }; - qcom,freq@3100 { - reg = <0x3100 0x100>; - }; - }; - - regulator@3200 { - regulator-name = "8084_s11"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x3200 0x300>; - status = "disabled"; - - qcom,ctl@3200 { - reg = <0x3200 0x100>; - }; - qcom,ps@3300 { - reg = <0x3300 0x100>; - }; - qcom,freq@3400 { - reg = <0x3400 0x100>; - }; - }; - - regulator@3500 { - regulator-name = "8084_s12"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x3500 0x300>; - status = "disabled"; - - qcom,ctl@3500 { - reg = <0x3500 0x100>; - }; - qcom,ps@3600 { - reg = <0x3600 0x100>; - }; - qcom,freq@3700 { - reg = <0x3700 0x100>; - }; - }; - - regulator@4000 { - regulator-name = "8084_l1"; - reg = <0x4000 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4100 { - regulator-name = "8084_l2"; - reg = <0x4100 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4200 { - regulator-name = "8084_l3"; - reg = <0x4200 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4300 { - regulator-name = "8084_l4"; - reg = <0x4300 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4400 { - regulator-name = "8084_l5"; - reg = <0x4400 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4500 { - regulator-name = "8084_l6"; - reg = <0x4500 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4600 { - regulator-name = "8084_l7"; - reg = <0x4600 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4700 { - regulator-name = "8084_l8"; - reg = <0x4700 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4800 { - regulator-name = "8084_l9"; - reg = <0x4800 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4900 { - regulator-name = "8084_l10"; - reg = <0x4900 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4a00 { - regulator-name = "8084_l11"; - reg = <0x4a00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4b00 { - regulator-name = "8084_l12"; - reg = <0x4b00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4c00 { - regulator-name = "8084_l13"; - reg = <0x4c00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4d00 { - regulator-name = "8084_l14"; - reg = <0x4d00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4e00 { - regulator-name = "8084_l15"; - reg = <0x4e00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4f00 { - regulator-name = "8084_l16"; - reg = <0x4f00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5000 { - regulator-name = "8084_l17"; - reg = <0x5000 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5100 { - regulator-name = "8084_l18"; - reg = <0x5100 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5200 { - regulator-name = "8084_l19"; - reg = <0x5200 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5300 { - regulator-name = "8084_l20"; - reg = <0x5300 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5400 { - regulator-name = "8084_l21"; - reg = <0x5400 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5500 { - regulator-name = "8084_l22"; - reg = <0x5500 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5600 { - regulator-name = "8084_l23"; - reg = <0x5600 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5700 { - regulator-name = "8084_l24"; - reg = <0x5700 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5800 { - regulator-name = "8084_l25"; - reg = <0x5800 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5900 { - regulator-name = "8084_l26"; - reg = <0x5900 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5a00 { - regulator-name = "8084_l27"; - reg = <0x5a00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@8000 { - regulator-name = "8084_lvs1"; - reg = <0x8000 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@8100 { - regulator-name = "8084_lvs2"; - reg = <0x8100 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@8200 { - regulator-name = "8084_lvs3"; - reg = <0x8200 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@8300 { - regulator-name = "8084_lvs4"; - reg = <0x8300 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@8400 { - regulator-name = "8084_mvs1"; - reg = <0x8400 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8226-bus.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v2/msm8226-bus.dtsi deleted file mode 100644 index d87aa3ea5..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8226-bus.dtsi +++ /dev/null @@ -1,1128 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -&soc { - msm-mmss-noc@fc478000 { - compatible = "msm-bus-fabric"; - reg = <0xfc478000 0x00004000>; - cell-id = <2048>; - label = "msm_mmss_noc"; - qcom,fabclk-dual = "bus_clk"; - qcom,fabclk-active = "bus_a_clk"; - qcom,ntieredslaves = <0>; - qcom,qos-freq = <4800>; - qcom,hw-sel = "NoC"; - qcom,rpm-en; - - mas-gfx3d { - cell-id = <26>; - label = "mas-gfx3d"; - qcom,masterp = <2>; - qcom,tier = <2>; - qcom,hw-sel = "NoC"; - qcom,perm-mode = "Bypass"; - qcom,mode = "Bypass"; - qcom,ws = <10000>; - qcom,qport = <2>; - qcom,mas-hw-id = <6>; - }; - - mas-jpeg { - cell-id = <62>; - label = "mas-jpeg"; - qcom,masterp = <4>; - qcom,tier = <2>; - qcom,hw-sel = "NoC"; - qcom,perm-mode = "Bypass"; - qcom,mode = "Bypass"; - qcom,qport = <0>; - qcom,ws = <10000>; - qcom,mas-hw-id = <7>; - }; - - mas-mdp-port0 { - cell-id = <22>; - label = "mas-mdp-port0"; - qcom,masterp = <5>; - qcom,tier = <2>; - qcom,hw-sel = "NoC"; - qcom,perm-mode = "Bypass"; - qcom,mode = "Bypass"; - qcom,qport = <1>; - qcom,ws = <10000>; - qcom,mas-hw-id = <8>; - }; - - mas-video-p0 { - cell-id = <63>; - label = "mas-video-p0"; - qcom,masterp = <6>; - qcom,tier = <2>; - qcom,hw-sel = "NoC"; - qcom,perm-mode = "Bypass"; - qcom,mode = "Bypass"; - qcom,ws = <10000>; - qcom,qport = <4>; - qcom,mas-hw-id = <9>; - }; - - mas-vfe { - cell-id = <29>; - label = "mas-vfe"; - qcom,masterp = <16>; - qcom,tier = <2>; - qcom,hw-sel = "NoC"; - qcom,perm-mode = "Bypass"; - qcom,mode = "Bypass"; - qcom,ws = <10000>; - qcom,qport = <6>; - qcom,mas-hw-id = <11>; - }; - - fab-cnoc { - cell-id = <5120>; - label = "fab-cnoc"; - qcom,gateway; - qcom,masterp = <0 1>; - qcom,buswidth = <16>; - qcom,hw-sel = "RPM"; - qcom,mas-hw-id = <4>; - }; - - fab-bimc { - cell-id = <0>; - label = "fab-bimc"; - qcom,gateway; - qcom,slavep = <16>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <16>; - }; - - slv-camera-cfg { - cell-id = <589>; - label = "slv-camera-cfg"; - qcom,slavep = <0>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <3>; - }; - - slv-display-cfg { - cell-id = <590>; - label = "slv-display-cfg"; - qcom,slavep = <1>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <4>; - }; - - slv-ocmem-cfg { - cell-id = <591>; - label = "slv-ocmem-cfg"; - qcom,slavep = <2>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <5>; - }; - - slv-cpr-cfg { - cell-id = <592>; - label = "slv-cpr-cfg"; - qcom,slavep = <3>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <6>; - }; - - slv-cpr-xpu-cfg { - cell-id = <593>; - label = "slv-cpr-xpu-cfg"; - qcom,slavep = <4>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <7>; - }; - - slv-misc-cfg { - cell-id = <594>; - label = "slv-misc-cfg"; - qcom,slavep = <6>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <8>; - }; - - slv-misc-xpu-cfg { - cell-id = <595>; - label = "slv-misc-xpu-cfg"; - qcom,slavep = <7>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <9>; - }; - - slv-venus-cfg { - cell-id = <596>; - label = "slv-venus-cfg"; - qcom,slavep = <8>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <10>; - }; - - slv-gfx3d-cfg { - cell-id = <598>; - label = "slv-gfx3d-cfg"; - qcom,slavep = <9>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <11>; - }; - - slv-mmss-clk-cfg { - cell-id = <599>; - label = "slv-mmss-clk-cfg"; - qcom,slavep = <11>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <12>; - }; - - slv-mmss-clk-xpu-cfg { - cell-id = <600>; - label = "slv-mmss-clk-xpu-cfg"; - qcom,slavep = <12>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <13>; - }; - - slv-mnoc-mpu-cfg { - cell-id = <601>; - label = "slv-mnoc-mpu-cfg"; - qcom,slavep = <13>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <14>; - }; - - slv-onoc-mpu-cfg { - cell-id = <602>; - label = "slv-onoc-mpu-cfg"; - qcom,slavep = <14>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <15>; - }; - - slv-service-mnoc { - cell-id = <603>; - label = "slv-service-mnoc"; - qcom,slavep = <18>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <17>; - }; - - }; - - msm-sys-noc@fc460000 { - compatible = "msm-bus-fabric"; - reg = <0xfc460000 0x00004000>; - cell-id = <1024>; - label = "msm_sys_noc"; - qcom,fabclk-dual = "bus_clk"; - qcom,fabclk-active = "bus_a_clk"; - qcom,ntieredslaves = <0>; - qcom,qos-freq = <4800>; - qcom,hw-sel = "NoC"; - qcom,rpm-en; - - mas-lpass-ahb { - cell-id = <52>; - label = "mas-lpass-ahb"; - qcom,masterp = <0>; - qcom,tier = <2>; - qcom,qport = <0>; - qcom,mas-hw-id = <18>; - qcom,mode = "Fixed"; - qcom,prio-rd = <2>; - qcom,prio-wr = <2>; - }; - - mas-qdss-bam { - cell-id = <53>; - label = "mas-qdss-bam"; - qcom,masterp = <1>; - qcom,tier = <2>; - qcom,mode = "Fixed"; - qcom,qport = <1>; - qcom,mas-hw-id = <19>; - }; - - mas-snoc-cfg { - cell-id = <54>; - label = "mas-snoc-cfg"; - qcom,masterp = <2>; - qcom,tier = <2>; - qcom,mas-hw-id = <20>; - }; - - fab-bimc { - cell-id = <0>; - label= "fab-bimc"; - qcom,gateway; - qcom,slavep = <7>; - qcom,masterp = <3>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <21>; - qcom,slv-hw-id = <24>; - }; - - fab-cnoc { - cell-id = <5120>; - label = "fab-cnoc"; - qcom,gateway; - qcom,slavep = <8>; - qcom,masterp = <4>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <22>; - qcom,slv-hw-id = <25>; - }; - - fab-pnoc { - cell-id = <4096>; - label = "fab-pnoc"; - qcom,gateway; - qcom,slavep = <10>; - qcom,masterp = <10>; - qcom,buswidth = <8>; - qcom,qport = <8>; - qcom,mas-hw-id = <29>; - qcom,slv-hw-id = <28>; - qcom,mode = "Fixed"; - qcom,prio-rd = <2>; - qcom,prio-wr = <2>; - }; - - fab-ovnoc { - cell-id = <6144>; - label = "fab-ovnoc"; - qcom,gateway; - qcom,buswidth = <8>; - qcom,mas-hw-id = <53>; - qcom,slv-hw-id = <77>; - }; - - mas-crypto-core0 { - cell-id = <55>; - label = "mas-crypto-core0"; - qcom,masterp = <5>; - qcom,tier = <2>; - qcom,mode = "Fixed"; -/* qcom,qport = <2>;*/ - qcom,mas-hw-id = <23>; - qcom,hw-sel = "NoC"; - qcom,prio-rd = <1>; - qcom,prio-wr = <1>; - }; - - mas-lpass-proc { - cell-id = <11>; - label = "mas-lpass-proc"; - qcom,masterp = <6>; - qcom,tier = <2>; - qcom,qport = <4>; - qcom,mas-hw-id = <25>; - qcom,mode = "Fixed"; - qcom,prio-rd = <2>; - qcom,prio-wr = <2>; - }; - - mas-mss { - cell-id = <38>; - label = "mas-mss"; - qcom,masterp = <7>; - qcom,tier = <2>; - qcom,mas-hw-id = <26>; - }; - - mas-mss-nav { - cell-id = <57>; - label = "mas-mss-nav"; - qcom,masterp = <8>; - qcom,tier = <2>; - qcom,mas-hw-id = <27>; - }; - - mas-ocmem-dma { - cell-id = <58>; - label = "mas-ocmem-dma"; - qcom,masterp = <9>; - qcom,tier = <2>; - qcom,mode = "Fixed"; - qcom,qport = <7>; - qcom,mas-hw-id = <28>; - }; - - mas-wcss { - cell-id = <59>; - label = "mas-wcss"; - qcom,masterp = <11>; - qcom,tier = <2>; - qcom,mas-hw-id = <30>; - }; - - mas-qdss-etr { - cell-id = <60>; - label = "mas-qdss-etr"; - qcom,masterp = <12>; - qcom,tier = <2>; - qcom,qport = <10>; - qcom,mode = "Fixed"; - qcom,mas-hw-id = <31>; - }; - - slv-ampss { - cell-id = <520>; - label = "slv-ampss"; - qcom,slavep = <1>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <20>; - }; - - slv-lpass { - cell-id = <522>; - label = "slv-lpass"; - qcom,slavep = <2>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <21>; - }; - - slv-wcss { - cell-id = <584>; - label = "slv-wcss"; - qcom,slavep = <6>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <23>; - }; - - slv-ocimem { - cell-id = <585>; - label = "slv-ocimem"; - qcom,slavep = <9>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <26>; - }; - - slv-service-snoc { - cell-id = <587>; - label = "slv-service-snoc"; - qcom,slavep = <11>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <29>; - }; - - slv-qdss-stm { - cell-id = <588>; - label = "slv-qdss-stm"; - qcom,slavep = <12>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <30>; - }; - - }; - - msm-periph-noc@fc468000 { - compatible = "msm-bus-fabric"; - reg = <0xfc468000 0x00004000>; - cell-id = <4096>; - label = "msm_periph_noc"; - qcom,fabclk-dual = "bus_clk"; - qcom,fabclk-active = "bus_a_clk"; - qcom,ntieredslaves = <0>; - qcom,hw-sel = "NoC"; - qcom,rpm-en; - - mas-pnoc-cfg { - cell-id = <88>; - label = "mas-pnoc-cfg"; - qcom,masterp = <7>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <43>; - }; - - mas-sdcc-1 { - cell-id = <78>; - label = "mas-sdcc-1"; - qcom,masterp = <0>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <33>; - }; - - mas-sdcc-3 { - cell-id = <79>; - label = "mas-sdcc-3"; - qcom,masterp = <1>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <34>; - }; - - mas-sdcc-2 { - cell-id = <81>; - label = "mas-sdcc-2"; - qcom,masterp = <2>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <35>; - }; - - mas-bam-dma { - cell-id = <83>; - label = "mas-bam-dma"; - qcom,masterp = <3>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <38>; - }; - - mas-usb-hsic { - cell-id = <85>; - label = "mas-usb-hsic"; - qcom,masterp = <4>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <40>; - }; - - mas-blsp-1 { - cell-id = <86>; - label = "mas-blsp-1"; - qcom,masterp = <5>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <41>; - }; - - mas-usb-hs { - cell-id = <87>; - label = "mas-usb-hs"; - qcom,masterp = <6>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <42>; - }; - - fab-snoc { - cell-id = <1024>; - label = "fab-snoc"; - qcom,gateway; - qcom,slavep = <12>; - qcom,masterp = <8>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <45>; - qcom,mas-hw-id = <44>; - }; - - slv-sdcc-1 { - cell-id = <606>; - label = "slv-sdcc-1"; - qcom,slavep = <0>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <31>; - }; - - slv-sdcc-3 { - cell-id = <607>; - label = "slv-sdcc-3"; - qcom,slavep = <1>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <32>; - }; - - slv-sdcc-2 { - cell-id = <608>; - label = "slv-sdcc-2"; - qcom,slavep = <2>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <33>; - }; - - slv-bam-dma { - cell-id = <610>; - label = "slv-bam-dma"; - qcom,slavep = <3>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <36>; - }; - - slv-usb-hsic { - cell-id = <612>; - label = "slv-usb-hsic"; - qcom,slavep = <4>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <38>; - }; - - slv-blsp-1 { - cell-id = <613>; - label = "slv-blsp-1"; - qcom,slavep = <5>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <39>; - }; - - slv-usb-hs { - cell-id = <614>; - label = "slv-usb-hs"; - qcom,slavep = <6>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <40>; - }; - - slv-pdm { - cell-id = <615>; - label = "slv-pdm"; - qcom,slavep = <7>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <41>; - }; - - slv-periph-apu-cfg { - cell-id = <616>; - label = "slv-periph-apu-cfg"; - qcom,slavep = <8>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <42>; - }; - - slv-pnoc-mpu-cfg { - cell-id = <617>; - label = "slv-pnoc-mpu-cfg"; - qcom,slavep = <9>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <43>; - }; - - slv-prng { - cell-id = <618>; - label = "slv-prng"; - qcom,slavep = <10>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <44>; - }; - - slv-service-pnoc { - cell-id = <619>; - label = "slv-service-pnoc"; - qcom,slavep = <12>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <46>; - }; - - }; - - msm-config-noc@fc480000 { - compatible = "msm-bus-fabric"; - reg = <0xfc480000 0x00004000>; - cell-id = <5120>; - label = "msm_config_noc"; - qcom,fabclk-dual = "bus_clk"; - qcom,fabclk-active = "bus_a_clk"; - qcom,ntieredslaves = <0>; - qcom,hw-sel = "NoC"; - qcom,rpm-en; - - mas-rpm-inst { - cell-id = <72>; - label = "mas-rpm-inst"; - qcom,masterp = <0>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <45>; - }; - - mas-rpm-data { - cell-id = <73>; - label = "mas-rpm-data"; - qcom,masterp = <1>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <46>; - }; - - mas-rpm-sys { - cell-id = <74>; - label = "mas-rpm-sys"; - qcom,masterp = <2>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <47>; - }; - - mas-dehr { - cell-id = <75>; - label = "mas-dehr"; - qcom,masterp = <3>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <48>; - }; - - mas-qdss-dsp { - cell-id = <76>; - label = "mas-qdss-dap"; - qcom,masterp = <4>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <49>; - }; - - mas-spdm { - cell-id = <36>; - label = "mas-spdm"; - qcom,masterp = <5>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <50>; - }; - - mas-tic { - cell-id = <77>; - label = "mas-tic"; - qcom,masterp = <6>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <51>; - }; - - slv-clk-ctl { - cell-id = <620>; - label = "slv-clk-ctl"; - qcom,slavep = <1>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <47>; - }; - - slv-cnoc-mss { - cell-id = <621>; - label = "slv-cnoc-mss"; - qcom,slavep = <2>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <48>; - }; - - slv-security { - cell-id = <622>; - label = "slv-security"; - qcom,slavep = <3>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <49>; - }; - - slv-tcsr { - cell-id = <623>; - label = "slv-tcsr"; - qcom,slavep = <4>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <50>; - }; - - slv-tlmm { - cell-id = <624>; - label = "slv-tlmm"; - qcom,slavep = <5>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <51>; - }; - - slv-crypto-0-cfg { - cell-id = <625>; - label = "slv-crypto-0-cfg"; - qcom,slavep = <6>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <52>; - }; - - slv-imem-cfg { - cell-id = <627>; - label = "slv-imem-cfg"; - qcom,slavep = <7>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <54>; - }; - - slv-message-ram { - cell-id = <628>; - label = "slv-message-ram"; - qcom,slavep = <8>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <55>; - }; - - slv-bimc-cfg { - cell-id = <629>; - label = "slv-bimc-cfg"; - qcom,slavep = <9>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <56>; - }; - - slv-boot-rom { - cell-id = <630>; - label = "slv-boot-rom"; - qcom,slavep = <10>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <57>; - }; - - slv-pmic-arb { - cell-id = <632>; - label = "slv-pmic-arb"; - qcom,slavep = <12>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <59>; - }; - - slv-spdm-wrapper { - cell-id = <633>; - label = "slv-spdm-wrapper"; - qcom,slavep = <13>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <60>; - }; - - slv-dehr-cfg { - cell-id = <634>; - label = "slv-dehr-cfg"; - qcom,slavep = <14>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <61>; - }; - - slv-mpm { - cell-id = <536>; - label = "slv-mpm"; - qcom,slavep = <15>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <62>; - }; - - slv-qdss-cfg { - cell-id = <635>; - label = "slv-qdss-cfg"; - qcom,slavep = <16>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <63>; - }; - - slv-rbcpr-cfg { - cell-id = <636>; - label = "slv-rbcpr-cfg"; - qcom,slavep = <17>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <64>; - }; - - slv-rbcpr-qdss-apu-cfg { - cell-id = <637>; - label = "slv-rbcpr-qdss-apu-cfg"; - qcom,slavep = <18>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <65>; - }; - - fab-snoc { - cell-id = <1024>; - label = "fab-snoc"; - qcom,gateway; - qcom,slavep = <26>; - qcom,masterp = <7>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <52>; - qcom,slv-hw-id = <75>; - }; - - slv-cnoc-mnoc-mmss-cfg { - cell-id = <631>; - label = "slv-cnoc-mnoc-mmss-cfg"; - qcom,slavep = <11>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <58>; - }; - - slv-cnoc-mnoc-cfg { - cell-id = <640>; - label = "slv-cnoc-mnoc-cfg"; - qcom,slavep = <19>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <66>; - }; - - slv-pnoc-cfg { - cell-id = <641>; - label = "slv-pnoc-cfg"; - qcom,slavep = <21>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <69>; - }; - - slv-snoc-mpu-cfg { - cell-id = <638>; - label = "slv-snoc-mpu-cfg"; - qcom,slavep = <20>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <67>; - }; - - slv-snoc-cfg { - cell-id = <642>; - label = "slv-snoc-cfg"; - qcom,slavep = <22>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <70>; - }; - - slv-phy-apu-cfg { - cell-id = <644>; - label = "slv-phy-apu-cfg"; - qcom,slavep = <23>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <72>; - }; - - slv-ebi1-phy-cfg { - cell-id = <645>; - label = "slv-ebi1-phy-cfg"; - qcom,slavep = <24>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <73>; - }; - - slv-rpm { - cell-id = <534>; - label = "slv-rpm"; - qcom,slavep = <25>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <74>; - }; - - slv-service-cnoc { - cell-id = <646>; - label = "slv-service-cnoc"; - qcom,slavep = <27>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <76>; - }; - - }; - - msm-bimc@0xfc380000 { - compatible = "msm-bus-fabric"; - reg = <0xfc380000 0x0006A000>; - cell-id = <0>; - label = "msm_bimc"; - qcom,fabclk-dual = "mem_clk"; - qcom,fabclk-active = "mem_a_clk"; - qcom,ntieredslaves = <0>; - qcom,qos-freq = <4800>; - qcom,hw-sel = "BIMC"; - qcom,rpm-en; - - mas-ampss-m0 { - cell-id = <1>; - label = "mas-ampss-m0"; - qcom,masterp = <0>; - qcom,tier = <2>; - qcom,hw-sel = "BIMC"; - qcom,mode = "Fixed"; - qcom,qport = <0>; - qcom,ws = <10000>; - qcom,mas-hw-id = <0>; - qcom,prio-rd = <0>; - qcom,prio-wr = <0>; - }; - - mas-mss-proc { - cell-id = <65>; - label = "mas-mss-proc"; - qcom,masterp = <1>; - qcom,tier = <2>; - qcom,hw-sel = "RPM"; - qcom,mas-hw-id = <1>; - }; - - fab-mmss-noc { - cell-id = <2048>; - label = "fab_mmss_noc"; - qcom,gateway; - qcom,masterp = <2>; - qcom,qport = <2>; - qcom,buswidth = <8>; - qcom,ws = <10000>; - qcom,mas-hw-id = <2>; - qcom,hw-sel = "BIMC"; - qcom,mode = "Bypass"; - }; - - fab-snoc { - cell-id = <1024>; - label = "fab-snoc"; - qcom,gateway; - qcom,slavep = <2>; - qcom,masterp = <4>; - qcom,qport = <4>; - qcom,buswidth = <8>; - qcom,ws = <10000>; - qcom,mas-hw-id = <3>; - qcom,slv-hw-id = <2>; - qcom,mode = "Bypass"; - qcom,hw-sel = "RPM"; - }; - - slv-ebi-ch0 { - cell-id = <512>; - label = "slv-ebi-ch0"; - qcom,slavep = <0>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <0>; - qcom,mode = "Bypass"; - }; - - slv-ampss-l2 { - cell-id = <514>; - label = "slv-ampss-l2"; - qcom,slavep = <1>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <1>; - }; - }; - - msm-ocmem-vnoc@6144 { - compatible = "msm-bus-fabric"; - reg = <0x6144 0x2>; - cell-id = <6144>; - label = "msm-ocmem-vnoc"; - qcom,ntieredslaves = <0>; - qcom,hw-sel = "NoC"; - qcom,rpm-en; - qcom,virt; - - mas-v-ocmem-gfx3d { - cell-id = <89>; - label = "mas-v-ocmem-gfx3d"; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <55>; - }; - - slv-ocmem { - cell-id = <604>; - label = "slv-ocmem"; - qcom,slavep = <0 1>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,slv-hw-id = <18>; - qcom,slaveclk-dual = "ocmem_clk"; - qcom,slaveclk-active = "ocmem_a_clk"; - }; - - fab-snoc { - cell-id = <1024>; - label = "fab-snoc"; - qcom,gateway; - qcom,buswidth = <32>; - qcom,ws = <10000>; - qcom,mas-hw-id = <57>; - qcom,slv-hw-id = <80>; - }; - - fab-onoc { - cell-id = <3072>; - label = "fab-onoc"; - qcom,gateway; - qcom,buswidth = <16>; - qcom,ws = <10000>; - qcom,mas-hw-id = <56>; - qcom,slv-hw-id = <79>; - }; - - }; -}; - - diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8226-camera-sensor-cdp.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v2/msm8226-camera-sensor-cdp.dtsi deleted file mode 100644 index 41d6b7e79..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8226-camera-sensor-cdp.dtsi +++ /dev/null @@ -1,108 +0,0 @@ -/* - * Copyright (c) 2013, 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. - */ - -&soc { - - led_flash0: qcom,camera-led-flash { - cell-index = <0>; - compatible = "qcom,camera-led-flash"; - qcom,flash-type = <1>; - qcom,flash-source = <&pm8226_flash0 &pm8226_flash1>; - }; -}; - -&cci { - - actuator0: qcom,actuator@6e { - cell-index = <3>; - reg = <0x6c>; - compatible = "qcom,actuator"; - qcom,cci-master = <0>; - }; - - qcom,camera@6f { - compatible = "qcom,ov8825"; - reg = <0x6f>; - qcom,slave-id = <0x6c 0x300a 0x8825>; - qcom,csiphy-sd-index = <0>; - qcom,csid-sd-index = <0>; - qcom,actuator-src = <&actuator0>; - qcom,led-flash-src = <&led_flash0>; - qcom,mount-angle = <0>; - qcom,sensor-name = "ov8825"; - cam_vdig-supply = <&pm8226_l5>; - cam_vana-supply = <&pm8226_l19>; - cam_vio-supply = <&pm8226_lvs1>; - cam_vaf-supply = <&pm8226_l15>; - qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana", - "cam_vaf"; - qcom,cam-vreg-type = <0 1 0 0>; - qcom,cam-vreg-min-voltage = <1200000 0 2850000 2800000>; - qcom,cam-vreg-max-voltage = <1200000 0 2850000 2800000>; - qcom,cam-vreg-op-mode = <200000 0 80000 100000>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 26 0>, - <&msmgpio 37 0>, - <&msmgpio 36 0>; - qcom,gpio-reset = <1>; - qcom,gpio-standby = <2>; - qcom,gpio-req-tbl-num = <0 1 2>; - qcom,gpio-req-tbl-flags = <1 0 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1", - "CAM_STANDBY"; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x1f>; - qcom,sensor-position = <0>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - }; - - qcom,camera@6d { - compatible = "qcom,ov9724"; - reg = <0x6d>; - qcom,slave-id = <0x20 0x0 0x9724>; - qcom,csiphy-sd-index = <1>; - qcom,csid-sd-index = <1>; - qcom,mount-angle = <0>; - qcom,sensor-name = "ov9724"; - cam_vdig-supply = <&pm8226_l5>; - cam_vana-supply = <&pm8226_l19>; - cam_vio-supply = <&pm8226_lvs1>; - qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana"; - qcom,cam-vreg-type = <0 1 0>; - qcom,cam-vreg-min-voltage = <1200000 0 2850000>; - qcom,cam-vreg-max-voltage = <1200000 0 2850000>; - qcom,cam-vreg-op-mode = <200000 0 80000>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 26 0>, - <&msmgpio 28 0>, - <&msmgpio 35 0>; - qcom,gpio-reset = <1>; - qcom,gpio-standby = <2>; - qcom,gpio-req-tbl-num = <0 1 2>; - qcom,gpio-req-tbl-flags = <1 0 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET", - "CAM_STANDBY"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 4000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x3>; - qcom,sensor-position = <1>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - status = "ok"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8226-camera-sensor-mtp.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v2/msm8226-camera-sensor-mtp.dtsi deleted file mode 100644 index 53860ac85..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8226-camera-sensor-mtp.dtsi +++ /dev/null @@ -1,108 +0,0 @@ -/* - * Copyright (c) 2013, 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. - */ - -&soc { - - led_flash0: qcom,camera-led-flash { - cell-index = <0>; - compatible = "qcom,camera-led-flash"; - qcom,flash-type = <1>; - qcom,flash-source = <&pm8226_flash0 &pm8226_flash1>; - }; -}; - -&cci { - - actuator0: qcom,actuator@6e { - cell-index = <3>; - reg = <0x6c>; - compatible = "qcom,actuator"; - qcom,cci-master = <0>; - }; - - qcom,camera@6f { - compatible = "qcom,ov8825"; - reg = <0x6f>; - qcom,slave-id = <0x6c 0x300a 0x8825>; - qcom,csiphy-sd-index = <0>; - qcom,csid-sd-index = <0>; - qcom,actuator-src = <&actuator0>; - qcom,led-flash-src = <&led_flash0>; - qcom,mount-angle = <0>; - qcom,sensor-name = "ov8825"; - cam_vdig-supply = <&pm8226_l5>; - cam_vana-supply = <&pm8226_l19>; - cam_vio-supply = <&pm8226_lvs1>; - cam_vaf-supply = <&pm8226_l15>; - qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana", - "cam_vaf"; - qcom,cam-vreg-type = <0 1 0 0>; - qcom,cam-vreg-min-voltage = <1200000 0 2850000 2800000>; - qcom,cam-vreg-max-voltage = <1200000 0 2850000 2800000>; - qcom,cam-vreg-op-mode = <200000 0 80000 100000>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 26 0>, - <&msmgpio 37 0>, - <&msmgpio 35 0>; - qcom,gpio-reset = <1>; - qcom,gpio-standby = <2>; - qcom,gpio-req-tbl-num = <0 1 2>; - qcom,gpio-req-tbl-flags = <1 0 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1", - "CAM_STANDBY"; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x1f>; - qcom,sensor-position = <0>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - }; - - qcom,camera@6d { - compatible = "qcom,ov9724"; - reg = <0x6d>; - qcom,slave-id = <0x20 0x0 0x9724>; - qcom,csiphy-sd-index = <1>; - qcom,csid-sd-index = <1>; - qcom,mount-angle = <270>; - qcom,sensor-name = "ov9724"; - cam_vdig-supply = <&pm8226_l5>; - cam_vana-supply = <&pm8226_l19>; - cam_vio-supply = <&pm8226_lvs1>; - qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana"; - qcom,cam-vreg-type = <0 1 0>; - qcom,cam-vreg-min-voltage = <1200000 0 2850000>; - qcom,cam-vreg-max-voltage = <1200000 0 2850000>; - qcom,cam-vreg-op-mode = <200000 0 80000>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 26 0>, - <&msmgpio 28 0>, - <&msmgpio 36 0>; - qcom,gpio-reset = <1>; - qcom,gpio-standby = <2>; - qcom,gpio-req-tbl-num = <0 1 2>; - qcom,gpio-req-tbl-flags = <1 0 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET", - "CAM_STANDBY"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 4000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x3>; - qcom,sensor-position = <1>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - status = "ok"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8226-camera-sensor-qrd.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v2/msm8226-camera-sensor-qrd.dtsi deleted file mode 100644 index 3935dbb78..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8226-camera-sensor-qrd.dtsi +++ /dev/null @@ -1,108 +0,0 @@ -/* - * Copyright (c) 2013, 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. - */ - -&soc { - - led_flash0: qcom,camera-led-flash { - cell-index = <0>; - compatible = "qcom,camera-led-flash"; - qcom,flash-type = <1>; - qcom,flash-source = <&pm8226_flash0 &pm8226_flash1>; - }; -}; - -&cci { - - actuator0: qcom,actuator@6e { - cell-index = <3>; - reg = <0x6c>; - compatible = "qcom,actuator"; - qcom,cci-master = <0>; - }; - - qcom,camera@6f { - compatible = "qcom,ov8825"; - reg = <0x6f>; - qcom,slave-id = <0x6c 0x300a 0x8825>; - qcom,csiphy-sd-index = <0>; - qcom,csid-sd-index = <0>; - qcom,actuator-src = <&actuator0>; - qcom,led-flash-src = <&led_flash0>; - qcom,mount-angle = <270>; - qcom,sensor-name = "ov8825"; - cam_vdig-supply = <&pm8226_l5>; - cam_vana-supply = <&pm8226_l19>; - cam_vio-supply = <&pm8226_lvs1>; - cam_vaf-supply = <&pm8226_l15>; - qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana", - "cam_vaf"; - qcom,cam-vreg-type = <0 1 0 0>; - qcom,cam-vreg-min-voltage = <1200000 0 2850000 2800000>; - qcom,cam-vreg-max-voltage = <1200000 0 2850000 2800000>; - qcom,cam-vreg-op-mode = <200000 0 80000 100000>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 26 0>, - <&msmgpio 37 0>, - <&msmgpio 36 0>; - qcom,gpio-reset = <1>; - qcom,gpio-standby = <2>; - qcom,gpio-req-tbl-num = <0 1 2>; - qcom,gpio-req-tbl-flags = <1 0 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1", - "CAM_STANDBY"; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x1f>; - qcom,sensor-position = <0>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - }; - - qcom,camera@6d { - compatible = "qcom,ov9724"; - reg = <0x6d>; - qcom,slave-id = <0x20 0x0 0x9724>; - qcom,csiphy-sd-index = <1>; - qcom,csid-sd-index = <1>; - qcom,mount-angle = <270>; - qcom,sensor-name = "ov9724"; - cam_vdig-supply = <&pm8226_l5>; - cam_vana-supply = <&pm8226_l19>; - cam_vio-supply = <&pm8226_lvs1>; - qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana"; - qcom,cam-vreg-type = <0 1 0>; - qcom,cam-vreg-min-voltage = <1200000 0 2850000>; - qcom,cam-vreg-max-voltage = <1200000 0 2850000>; - qcom,cam-vreg-op-mode = <200000 0 80000>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 26 0>, - <&msmgpio 28 0>, - <&msmgpio 35 0>; - qcom,gpio-reset = <1>; - qcom,gpio-standby = <2>; - qcom,gpio-req-tbl-num = <0 1 2>; - qcom,gpio-req-tbl-flags = <1 0 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET", - "CAM_STANDBY"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 4000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x3>; - qcom,sensor-position = <1>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - status = "ok"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8226-camera.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v2/msm8226-camera.dtsi deleted file mode 100644 index ec0092d43..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8226-camera.dtsi +++ /dev/null @@ -1,139 +0,0 @@ -/* - * Copyright (c) 2012-2013, 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. - */ - -&soc { - qcom,msm-cam@fd8c0000 { - compatible = "qcom,msm-cam"; - reg = <0xfd8c0000 0x10000>; - reg-names = "msm-cam"; - }; - - qcom,csiphy@fda0ac00 { - cell-index = <0>; - compatible = "qcom,csiphy"; - reg = <0xfda0ac00 0x200>, - <0xfda00030 0x4>; - reg-names = "csiphy", "csiphy_clk_mux"; - interrupts = <0 78 0>; - interrupt-names = "csiphy"; - }; - - qcom,csiphy@fda0b000 { - cell-index = <1>; - compatible = "qcom,csiphy"; - reg = <0xfda0b000 0x200>, - <0xfda00038 0x4>; - reg-names = "csiphy", "csiphy_clk_mux"; - interrupts = <0 79 0>; - interrupt-names = "csiphy"; - }; - - qcom,csid@fda08000 { - cell-index = <0>; - compatible = "qcom,csid"; - reg = <0xfda08000 0x100>; - reg-names = "csid"; - interrupts = <0 51 0>; - interrupt-names = "csid"; - qcom,csi-vdd-voltage = <1200000>; - qcom,mipi-csi-vdd-supply = <&pm8226_l4>; - }; - - qcom,csid@fda08400 { - cell-index = <1>; - compatible = "qcom,csid"; - reg = <0xfda08400 0x100>; - reg-names = "csid"; - interrupts = <0 52 0>; - interrupt-names = "csid"; - qcom,csi-vdd-voltage = <1200000>; - qcom,mipi-csi-vdd-supply = <&pm8226_l4>; - }; - - qcom,ispif@fda0a000 { - cell-index = <0>; - compatible = "qcom,ispif"; - reg = <0xfda0a000 0x500>, - <0xfda00020 0x10>; - reg-names = "ispif", "csi_clk_mux"; - interrupts = <0 55 0>; - interrupt-names = "ispif"; - }; - - qcom,vfe@fda10000 { - cell-index = <0>; - compatible = "qcom,vfe40"; - reg = <0xfda10000 0x1000>, - <0xfda40000 0x200>; - reg-names = "vfe", "vfe_vbif"; - interrupts = <0 57 0>; - interrupt-names = "vfe"; - vdd-supply = <&gdsc_vfe>; - }; - - qcom,jpeg@fda1c000 { - cell-index = <0>; - compatible = "qcom,jpeg"; - reg = <0xfda1c000 0x400>; - reg-names = "jpeg"; - interrupts = <0 59 0>; - interrupt-names = "jpeg"; - vdd-supply = <&gdsc_jpeg>; - }; - - qcom,irqrouter@fda00000 { - cell-index = <0>; - compatible = "qcom,irqrouter"; - reg = <0xfda00000 0x100>; - reg-names = "irqrouter"; - }; - - qcom,cpp@fda04000 { - cell-index = <0>; - compatible = "qcom,cpp"; - reg = <0xfda04000 0x100>, - <0xfda40000 0x200>, - <0xfda18000 0x008>; - reg-names = "cpp", "cpp_vbif", "cpp_hw"; - interrupts = <0 49 0>; - interrupt-names = "cpp"; - vdd-supply = <&gdsc_vfe>; - }; - - cci: qcom,cci@fda0c000 { - cell-index = <0>; - compatible = "qcom,cci"; - reg = <0xfda0c000 0x1000>; - #address-cells = <1>; - #size-cells = <0>; - reg-names = "cci"; - interrupts = <0 50 0>; - interrupt-names = "cci"; - gpios = <&msmgpio 29 0>, - <&msmgpio 30 0>; - qcom,gpio-tbl-num = <0 1>; - qcom,gpio-tbl-flags = <1 1>; - qcom,gpio-tbl-label = "CCI_I2C_DATA0", - "CCI_I2C_CLK0"; - qcom,hw-thigh = <78>; - qcom,hw-tlow = <114>; - qcom,hw-tsu-sto = <28>; - qcom,hw-tsu-sta = <28>; - qcom,hw-thd-dat = <10>; - qcom,hw-thd-sta = <77>; - qcom,hw-tbuf = <118>; - qcom,hw-scl-stretch-en = <0>; - qcom,hw-trdhld = <6>; - qcom,hw-tsp = <1>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8226-cdp.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v2/msm8226-cdp.dtsi deleted file mode 100644 index da9ad8c0a..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8226-cdp.dtsi +++ /dev/null @@ -1,393 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/include/ "dsi-panel-nt35590-720p-video.dtsi" -/include/ "msm8226-camera-sensor-cdp.dtsi" - -&soc { - serial@f991f000 { - status = "ok"; - }; - - qcom,mdss_dsi_nt35590_720p_video { - status = "ok"; - }; - - i2c@f9927000 { /* BLSP1 QUP5 */ - synaptics@20 { - compatible = "synaptics,rmi4"; - reg = <0x20>; - interrupt-parent = <&msmgpio>; - interrupts = <17 0x2008>; - vdd-supply = <&pm8226_l19>; - vcc_i2c-supply = <&pm8226_lvs1>; - synaptics,reset-gpio = <&msmgpio 16 0x00>; - synaptics,irq-gpio = <&msmgpio 17 0x2008>; - synaptics,button-map = <139 102 158>; - synaptics,i2c-pull-up; - }; - }; - - gpio_keys { - compatible = "gpio-keys"; - input-name = "gpio-keys"; - - camera_focus { - label = "camera_focus"; - gpios = <&msmgpio 108 0x1>; - linux,input-type = <1>; - linux,code = <0x210>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - - camera_snapshot { - label = "camera_snapshot"; - gpios = <&msmgpio 107 0x1>; - linux,input-type = <1>; - linux,code = <0x2fe>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - - vol_up { - label = "volume_up"; - gpios = <&msmgpio 106 0x1>; - linux,input-type = <1>; - linux,code = <115>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - }; - - spi@f9923000 { - ethernet-switch@3 { - compatible = "micrel,ks8851"; - reg = <3>; - interrupt-parent = <&msmgpio>; - interrupts = <0 115 0>; - spi-max-frequency = <4800000>; - rst-gpio = <&msmgpio 114 0>; - vdd-io-supply = <&pm8226_lvs1>; - vdd-phy-supply = <&pm8226_lvs1>; - }; - }; - - sound { - qcom,audio-routing = - "RX_BIAS", "MCLK", - "LDO_H", "MCLK", - "SPK_OUT", "MCLK", - "SPK_OUT", "EXT_VDD_SPKR", - "AMIC1", "MIC BIAS1 Internal1", - "MIC BIAS1 Internal1", "Handset Mic", - "AMIC2", "MIC BIAS2 External", - "MIC BIAS2 External", "Headset Mic", - "AMIC4", "MIC BIAS2 External", - "MIC BIAS2 External", "ANCRight Headset Mic", - "AMIC5", "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"; - - qcom,cdc-mclk-gpios = <&pm8226_gpios 1 0>; - qcom,cdc-vdd-spkr-gpios = <&pm8226_gpios 2 0>; - qcom,headset-jack-type-NO; - }; -}; - -&sdcc1 { - vdd-supply = <&pm8226_l17>; - qcom,vdd-always-on; - qcom,vdd-lpm-sup; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <800 500000>; - - vdd-io-supply = <&pm8226_l6>; - qcom,vdd-io-always-on; - qcom,vdd-io-voltage-level = <1800000 1800000>; - qcom,vdd-io-current-level = <250 154000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - qcom,sup-voltages = <2950 2950>; - - qcom,bus-speed-mode = "HS200_1p8v", "DDR_1p8v"; - qcom,nonremovable; - - status = "disabled"; -}; - -&sdhc_1 { - vdd-supply = <&pm8226_l17>; - qcom,vdd-always-on; - qcom,vdd-lpm-sup; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <800 500000>; - - vdd-io-supply = <&pm8226_l6>; - qcom,vdd-io-always-on; - qcom,vdd-io-voltage-level = <1800000 1800000>; - qcom,vdd-io-current-level = <250 154000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - qcom,bus-speed-mode = "HS200_1p8v", "DDR_1p8v"; - qcom,nonremovable; - - status = "ok"; -}; - -&sdcc2 { - vdd-supply = <&pm8226_l18>; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <9000 800000>; - - vdd-io-supply = <&pm8226_l21>; - qcom,vdd-io-always-on; - qcom,vdd-io-lpm-sup; - qcom,vdd-io-voltage-level = <1800000 2950000>; - qcom,vdd-io-current-level = <6 22000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - qcom,sup-voltages = <2950 2950>; - - qcom,xpc; - qcom,bus-speed-mode = "SDR12", "SDR25", "SDR50", "DDR50", "SDR104"; - qcom,current-limit = <600>; - - #address-cells = <0>; - interrupt-parent = <&sdcc2>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 125 0 - 1 &intc 0 220 0 - 2 &msmgpio 38 0x3>; - interrupt-names = "core_irq", "bam_irq", "status_irq"; - cd-gpios = <&msmgpio 38 0x1>; - - status = "disabled"; -}; - -&sdhc_2 { - vdd-supply = <&pm8226_l18>; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <9000 800000>; - - vdd-io-supply = <&pm8226_l21>; - qcom,vdd-io-always-on; - qcom,vdd-io-lpm-sup; - qcom,vdd-io-voltage-level = <1800000 2950000>; - qcom,vdd-io-current-level = <6 22000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - - #address-cells = <0>; - interrupt-parent = <&sdhc_2>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 125 0 - 1 &intc 0 221 0 - 2 &msmgpio 38 0x3>; - interrupt-names = "hc_irq", "pwr_irq", "status_irq"; - cd-gpios = <&msmgpio 38 0x1>; - - status = "ok"; -}; - -&spmi_bus { - qcom,pm8226@0 { - qcom,leds@a100 { - status = "okay"; - qcom,led_mpp_2 { - label = "mpp"; - linux,name = "button-backlight"; - linux,default-trigger = "none"; - qcom,default-state = "off"; - qcom,max-current = <40>; - qcom,current-setting = <5>; - qcom,id = <6>; - qcom,mode = "manual"; - qcom,source-sel = <1>; - qcom,mode-ctrl = <0x60>; - }; - }; - - qcom,leds@a300 { - status = "okay"; - qcom,led_mpp_4 { - label = "mpp"; - linux,name = "green"; - linux,default-trigger = "none"; - qcom,default-state = "off"; - qcom,max-current = <40>; - qcom,current-setting = <5>; - qcom,id = <6>; - qcom,mode = "pwm"; - qcom,pwm-us = <1000>; - qcom,source-sel = <8>; - qcom,mode-ctrl = <0x60>; - qcom,pwm-channel = <0>; - qcom,start-idx = <1>; - qcom,duty-pcts = [00 00 00 00 64 - 64 00 00 00 00]; - qcom,use-blink; - }; - }; - - qcom,leds@a500 { - status = "okay"; - qcom,led_mpp_6 { - label = "mpp"; - linux,name = "red"; - linux,default-trigger = "none"; - qcom,default-state = "off"; - qcom,max-current = <40>; - qcom,current-setting = <5>; - qcom,id = <6>; - qcom,mode = "pwm"; - qcom,pwm-us = <1000>; - qcom,mode-ctrl = <0x60>; - qcom,source-sel = <10>; - qcom,pwm-channel = <5>; - qcom,start-idx = <1>; - qcom,duty-pcts = [00 00 00 00 64 - 64 00 00 00 00]; - qcom,use-blink; - }; - }; - }; - - qcom,pm8226@1 { - qcom,leds@d800 { - status = "okay"; - qcom,wled_0 { - label = "wled"; - linux,name = "wled:backlight"; - linux,default-trigger = "bkl-trigger"; - qcom,cs-out-en; - qcom,op-fdbck = <1>; - qcom,default-state = "on"; - qcom,max-current = <20>; - qcom,ctrl-delay-us = <0>; - qcom,boost-curr-lim = <3>; - qcom,cp-sel = <0>; - qcom,switch-freq = <2>; - qcom,ovp-val = <0>; - qcom,num-strings = <1>; - qcom,id = <0>; - }; - }; - }; -}; - -&pm8226_gpios { - gpio@c000 { /* GPIO 1 */ - /* XO_PMIC_CDC_MCLK enable for tapan codec */ - qcom,mode = <1>; /* Digital output */ - qcom,output-type = <0>; /* CMOS logic */ - qcom,pull = <5>; /* QPNP_PIN_PULL_NO*/ - qcom,vin-sel = <3>; /* QPNP_PIN_VIN3 */ - qcom,out-strength = <3>;/* QPNP_PIN_OUT_STRENGTH_HIGH */ - qcom,src-sel = <2>; /* QPNP_PIN_SEL_FUNC_1 */ - qcom,master-en = <1>; /* Enable GPIO */ - }; - - gpio@c100 { /* GPIO 2 */ - qcom,mode = <1>; - qcom,output-type = <0>; - qcom,pull = <5>; - qcom,vin-sel = <3>; - qcom,out-strength = <3>; - qcom,src-sel = <2>; - qcom,master-en = <1>; - }; - - gpio@c200 { /* GPIO 3 */ - }; - - gpio@c300 { /* GPIO 4 */ - }; - - gpio@c400 { /* GPIO 5 */ - }; - - gpio@c500 { /* GPIO 6 */ - }; - - gpio@c600 { /* GPIO 7 */ - }; - - gpio@c700 { /* GPIO 8 */ - }; -}; - -&pm8226_mpps { - mpp@a000 { /* MPP 1 */ - }; - - mpp@a100 { /* MPP 2 */ - }; - - mpp@a200 { /* MPP 3 */ - }; - - mpp@a300 { /* MPP 4 */ - }; - - mpp@a400 { /* MPP 5 */ - }; - - mpp@a500 { /* MPP 6 */ - }; - - mpp@a600 { /* MPP 7 */ - }; - - mpp@a700 { /* MPP 8 */ - }; -}; - -&pm8226_chg { - qcom,charging-disabled; - qcom,use-default-batt-values; -}; - -&usb_otg_sw { - status = "okay"; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8226-coresight.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v2/msm8226-coresight.dtsi deleted file mode 100644 index e11c963c6..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8226-coresight.dtsi +++ /dev/null @@ -1,377 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -&soc { - tmc_etr: tmc@fc322000 { - compatible = "arm,coresight-tmc"; - reg = <0xfc322000 0x1000>, - <0xfc37c000 0x3000>; - reg-names = "tmc-base", "bam-base"; - - qcom,memory-reservation-type = "EBI1"; - qcom,memory-reservation-size = <0x100000>; /* 1M EBI1 buffer */ - - coresight-id = <0>; - coresight-name = "coresight-tmc-etr"; - coresight-nr-inports = <1>; - coresight-ctis = <&cti0 &cti8>; - }; - - tpiu: tpiu@fc318000 { - compatible = "arm,coresight-tpiu"; - reg = <0xfc318000 0x1000>; - reg-names = "tpiu-base"; - - coresight-id = <1>; - coresight-name = "coresight-tpiu"; - coresight-nr-inports = <1>; - - vdd-supply = <&pm8226_l18>; - - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <9000 800000>; - }; - - replicator: replicator@fc31c000 { - compatible = "qcom,coresight-replicator"; - reg = <0xfc31c000 0x1000>; - reg-names = "replicator-base"; - - coresight-id = <2>; - coresight-name = "coresight-replicator"; - coresight-nr-inports = <1>; - coresight-outports = <0 1>; - coresight-child-list = <&tmc_etr &tpiu>; - coresight-child-ports = <0 0>; - }; - - tmc_etf: tmc@fc307000 { - compatible = "arm,coresight-tmc"; - reg = <0xfc307000 0x1000>; - reg-names = "tmc-base"; - - coresight-id = <3>; - coresight-name = "coresight-tmc-etf"; - coresight-nr-inports = <1>; - coresight-outports = <0>; - coresight-child-list = <&replicator>; - coresight-child-ports = <0>; - coresight-default-sink; - coresight-ctis = <&cti0 &cti8>; - }; - - funnel_merg: funnel@fc31b000 { - compatible = "arm,coresight-funnel"; - reg = <0xfc31b000 0x1000>; - reg-names = "funnel-base"; - - coresight-id = <4>; - coresight-name = "coresight-funnel-merg"; - coresight-nr-inports = <2>; - coresight-outports = <0>; - coresight-child-list = <&tmc_etf>; - coresight-child-ports = <0>; - }; - - funnel_in0: funnel@fc319000 { - compatible = "arm,coresight-funnel"; - reg = <0xfc319000 0x1000>; - reg-names = "funnel-base"; - - coresight-id = <5>; - coresight-name = "coresight-funnel-in0"; - coresight-nr-inports = <8>; - coresight-outports = <0>; - coresight-child-list = <&funnel_merg>; - coresight-child-ports = <0>; - }; - - funnel_in1: funnel@fc31a000 { - compatible = "arm,coresight-funnel"; - reg = <0xfc31a000 0x1000>; - reg-names = "funnel-base"; - - coresight-id = <6>; - coresight-name = "coresight-funnel-in1"; - coresight-nr-inports = <8>; - coresight-outports = <0>; - coresight-child-list = <&funnel_merg>; - coresight-child-ports = <1>; - }; - - funnel_a7ss: funnel@fc345000 { - compatible = "arm,coresight-funnel"; - reg = <0xfc345000 0x1000>; - reg-names = "funnel-base"; - - coresight-id = <7>; - coresight-name = "coresight-funnel-a7ss"; - coresight-nr-inports = <4>; - coresight-outports = <0>; - coresight-child-list = <&funnel_in1>; - coresight-child-ports = <5>; - }; - - funnel_mmss: funnel@fc364000 { - compatible = "arm,coresight-funnel"; - reg = <0xfc364000 0x1000>; - reg-names = "funnel-base"; - - - coresight-id = <8>; - coresight-name = "coresight-funnel-mmss"; - coresight-nr-inports = <8>; - coresight-outports = <0>; - coresight-child-list = <&funnel_in1>; - coresight-child-ports = <1>; - }; - - stm: stm@fc321000 { - compatible = "arm,coresight-stm"; - reg = <0xfc321000 0x1000>, - <0xfa280000 0x180000>; - reg-names = "stm-base", "stm-data-base"; - - coresight-id = <9>; - coresight-name = "coresight-stm"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_in1>; - coresight-child-ports = <7>; - }; - - etm0: etm@fc33c000 { - compatible = "arm,coresight-etm"; - reg = <0xfc33c000 0x1000>; - reg-names = "etm-base"; - - coresight-id = <10>; - coresight-name = "coresight-etm0"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_a7ss>; - coresight-child-ports = <0>; - - qcom,round-robin; - }; - - etm1: etm@fc33d000 { - compatible = "arm,coresight-etm"; - reg = <0xfc33d000 0x1000>; - reg-names = "etm-base"; - - coresight-id = <11>; - coresight-name = "coresight-etm1"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_a7ss>; - coresight-child-ports = <1>; - - qcom,round-robin; - }; - - etm2: etm@fc33e000 { - compatible = "arm,coresight-etm"; - reg = <0xfc33e000 0x1000>; - reg-names = "etm-base"; - - coresight-id = <12>; - coresight-name = "coresight-etm2"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_a7ss>; - coresight-child-ports = <2>; - - qcom,round-robin; - }; - - etm3: etm@fc33f000 { - compatible = "arm,coresight-etm"; - reg = <0xfc33f000 0x1000>; - reg-names = "etm-base"; - - coresight-id = <13>; - coresight-name = "coresight-etm3"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_a7ss>; - coresight-child-ports = <3>; - - qcom,round-robin; - }; - - csr: csr@fc302000 { - compatible = "qcom,coresight-csr"; - reg = <0xfc302000 0x1000>; - reg-names = "csr-base"; - - coresight-id = <14>; - coresight-name = "coresight-csr"; - coresight-nr-inports = <0>; - - qcom,blk-size = <1>; - }; - - cti0: cti@fc308000 { - compatible = "arm,coresight-cti"; - reg = <0xfc308000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <15>; - coresight-name = "coresight-cti0"; - coresight-nr-inports = <0>; - }; - - cti1: cti@fc309000 { - compatible = "arm,coresight-cti"; - reg = <0xfc309000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <16>; - coresight-name = "coresight-cti1"; - coresight-nr-inports = <0>; - }; - - cti2: cti@fc30a000 { - compatible = "arm,coresight-cti"; - reg = <0xfc30a000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <17>; - coresight-name = "coresight-cti2"; - coresight-nr-inports = <0>; - }; - - cti3: cti@fc30b000 { - compatible = "arm,coresight-cti"; - reg = <0xfc30b000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <18>; - coresight-name = "coresight-cti3"; - coresight-nr-inports = <0>; - }; - - cti4: cti@fc30c000 { - compatible = "arm,coresight-cti"; - reg = <0xfc30c000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <19>; - coresight-name = "coresight-cti4"; - coresight-nr-inports = <0>; - }; - - cti5: cti@fc30d000 { - compatible = "arm,coresight-cti"; - reg = <0xfc30d000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <20>; - coresight-name = "coresight-cti5"; - coresight-nr-inports = <0>; - }; - - cti6: cti@fc30e000 { - compatible = "arm,coresight-cti"; - reg = <0xfc30e000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <21>; - coresight-name = "coresight-cti6"; - coresight-nr-inports = <0>; - }; - - cti7: cti@fc30f000 { - compatible = "arm,coresight-cti"; - reg = <0xfc30f000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <22>; - coresight-name = "coresight-cti7"; - coresight-nr-inports = <0>; - }; - - cti8: cti@fc310000 { - compatible = "arm,coresight-cti"; - reg = <0xfc310000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <23>; - coresight-name = "coresight-cti8"; - coresight-nr-inports = <0>; - }; - - cti_l2: cti@fc340000 { - compatible = "arm,coresight-cti"; - reg = <0xfc340000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <24>; - coresight-name = "coresight-cti-l2"; - coresight-nr-inports = <0>; - }; - - cti_cpu0: cti@fc341000 { - compatible = "arm,coresight-cti"; - reg = <0xfc341000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <25>; - coresight-name = "coresight-cti-cpu0"; - coresight-nr-inports = <0>; - }; - - cti_cpu1: cti@fc342000 { - compatible = "arm,coresight-cti"; - reg = <0xfc342000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <26>; - coresight-name = "coresight-cti-cpu1"; - coresight-nr-inports = <0>; - }; - - cti_cpu2: cti@fc343000 { - compatible = "arm,coresight-cti"; - reg = <0xfc343000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <27>; - coresight-name = "coresight-cti-cpu2"; - coresight-nr-inports = <0>; - }; - - cti_cpu3: cti@fc344000 { - compatible = "arm,coresight-cti"; - reg = <0xfc344000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <28>; - coresight-name = "coresight-cti-cpu3"; - coresight-nr-inports = <0>; - }; - - hwevent: hwevent@fd828018 { - compatible = "qcom,coresight-hwevent"; - reg = <0xfd828018 0x80>, - <0xf9011080 0x80>, - <0xfd4ab160 0x80>; - reg-names = "mmss-mux", "apcs-mux", "ppss-mux"; - - coresight-id = <29>; - coresight-name = "coresight-hwevent"; - coresight-nr-inports = <0>; - - qcom,hwevent-clks = "core_mmss_clk"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8226-fluid.dts b/kernel/arch/arm/boot/dts/m7350-un-v2/msm8226-fluid.dts deleted file mode 100644 index c58b43b4b..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8226-fluid.dts +++ /dev/null @@ -1,33 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; -/include/ "msm8226.dtsi" - -/ { - model = "Qualcomm MSM 8226 FLUID"; - compatible = "qcom,msm8226-fluid", "qcom,msm8226", "qcom,fluid"; - qcom,msm-id = <145 3 0>, - <158 3 0>, - <159 3 0>, - <198 3 0>; -}; - -&soc { - serial@f991f000 { - status = "disabled"; - }; -}; - -&pm8226_bms { - status = "ok"; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8226-gpu.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v2/msm8226-gpu.dtsi deleted file mode 100644 index 590f73395..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8226-gpu.dtsi +++ /dev/null @@ -1,161 +0,0 @@ -/* Copyright (c) 2013, 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. - */ -&soc { - msm_gpu: qcom,kgsl-3d0@fdb00000 { - label = "kgsl-3d0"; - compatible = "qcom,kgsl-3d0", "qcom,kgsl-3d"; - reg = <0xfdb00000 0x10000 - 0xfdb20000 0x10000>; - reg-names = "kgsl_3d0_reg_memory" , "kgsl_3d0_shader_memory"; - interrupts = <0 33 0>; - interrupt-names = "kgsl_3d0_irq"; - qcom,id = <0>; - - qcom,chipid = <0x03000510>; - - qcom,initial-pwrlevel = <1>; - - qcom,idle-timeout = <8>; // - qcom,strtstp-sleepwake; - qcom,clk-map = <0x00000016>; /* KGSL_CLK_CORE | KGSL_CLK_IFACE | KGSL_CLK_MEM_IFACE */ - - /* Bus Scale Settings */ - qcom,msm-bus,name = "grp3d"; - qcom,msm-bus,num-cases = <4>; - qcom,msm-bus,num-paths = <2>; - qcom,msm-bus,vectors-KBps = - <26 512 0 0>, <89 604 0 0>, - <26 512 0 1600000>, <89 604 0 3200000>, - <26 512 0 3200000>, <89 604 0 5120000>, - <26 512 0 4256000>, <89 604 0 6400000>; - - - /* GDSC oxili regulators */ - vddcx-supply = "\0"; - vdd-supply = <&gdsc_oxili_cx>; - - - /* IOMMU Data */ - iommu = <&kgsl_iommu>; - - /* Power levels */ - qcom,gpu-pwrlevels { - #address-cells = <1>; - #size-cells = <0>; - - compatible = "qcom,gpu-pwrlevels"; - - qcom,gpu-pwrlevel@0 { - reg = <0>; - qcom,gpu-freq = <450000000>; - qcom,bus-freq = <3>; - qcom,io-fraction = <0>; - }; - - qcom,gpu-pwrlevel@1 { - reg = <1>; - qcom,gpu-freq = <320000000>; - qcom,bus-freq = <2>; - qcom,io-fraction = <33>; - }; - - qcom,gpu-pwrlevel@2 { - reg = <2>; - qcom,gpu-freq = <200000000>; - qcom,bus-freq = <1>; - qcom,io-fraction = <100>; - }; - - qcom,gpu-pwrlevel@3 { - reg = <3>; - qcom,gpu-freq = <19000000>; - qcom,bus-freq = <0>; - qcom,io-fraction = <0>; - }; - }; - - qcom,dcvs-core-info { - #address-cells = <1>; - #size-cells = <0>; - - compatible = "qcom,dcvs-core-info"; - - qcom,num-cores = <1>; - qcom,sensors = <0>; - - qcom,core-core-type = <1>; - - qcom,algo-disable-pc-threshold = <0>; - qcom,algo-em-win-size-min-us = <100000>; - qcom,algo-em-win-size-max-us = <300000>; - qcom,algo-em-max-util-pct = <97>; - qcom,algo-group-id = <95>; - qcom,algo-max-freq-chg-time-us = <100000>; - qcom,algo-slack-mode-dynamic = <100000>; - qcom,algo-slack-weight-thresh-pct = <0>; - qcom,algo-slack-time-min-us = <39000>; - qcom,algo-slack-time-max-us = <39000>; - qcom,algo-ss-win-size-min-us = <1000000>; - qcom,algo-ss-win-size-max-us = <1000000>; - qcom,algo-ss-util-pct = <95>; - qcom,algo-ss-no-corr-below-freq = <0>; - - qcom,energy-active-coeff-a = <2492>; - qcom,energy-active-coeff-b = <0>; - qcom,energy-active-coeff-c = <0>; - qcom,energy-leakage-coeff-a = <11>; - qcom,energy-leakage-coeff-b = <157150>; - qcom,energy-leakage-coeff-c = <0>; - qcom,energy-leakage-coeff-d = <0>; - - qcom,power-current-temp = <25>; - qcom,power-num-freq = <4>; - - qcom,dcvs-freq@0 { - reg = <0>; - qcom,freq = <0>; - qcom,voltage = <0>; - qcom,is_trans_level = <0>; - qcom,active-energy-offset = <100>; - qcom,leakage-energy-offset = <0>; - }; - - qcom,dcvs-freq@1 { - reg = <1>; - qcom,freq = <0>; - qcom,voltage = <0>; - qcom,is_trans_level = <0>; - qcom,active-energy-offset = <100>; - qcom,leakage-energy-offset = <0>; - }; - - qcom,dcvs-freq@2 { - reg = <2>; - qcom,freq = <0>; - qcom,voltage = <0>; - qcom,is_trans_level = <0>; - qcom,active-energy-offset = <100>; - qcom,leakage-energy-offset = <0>; - }; - - qcom,dcvs-freq@3 { - reg = <3>; - qcom,freq = <0>; - qcom,voltage = <0>; - qcom,is_trans_level = <0>; - qcom,active-energy-offset = <844545>; - qcom,leakage-energy-offset = <0>; - }; - }; - - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8226-iommu-domains.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v2/msm8226-iommu-domains.dtsi deleted file mode 100644 index 25fca2a54..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8226-iommu-domains.dtsi +++ /dev/null @@ -1,31 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -&soc { - qcom,iommu-domains { - compatible = "qcom,iommu-domains"; - - venus_domain_ns: qcom,iommu-domain1 { - label = "venus_ns"; - qcom,iommu-contexts = <&venus_ns>; - qcom,virtual-addr-pool = <0x40000000 0x3f000000 - 0x7f000000 0x1000000>; - }; - - venus_domain_cp: qcom,iommu-domain2 { - label = "venus_cp"; - qcom,iommu-contexts = <&venus_cp>; - qcom,virtual-addr-pool = <0x1000000 0x3f000000>; - qcom,secure-domain; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8226-iommu.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v2/msm8226-iommu.dtsi deleted file mode 100644 index ff3e0a59d..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8226-iommu.dtsi +++ /dev/null @@ -1,237 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/include/ "msm-iommu-v1.dtsi" - -&jpeg_iommu { - status = "ok"; - vdd-supply = <&gdsc_jpeg>; - qcom,iommu-enable-halt; - - qcom,iommu-bfb-regs = <0x204c - 0x2050 - 0x2514 - 0x2540 - 0x256c - 0x2314 - 0x2394 - 0x2414 - 0x20ac - 0x215c - 0x220c - 0x2008 - 0x200c - 0x2010 - 0x2014>; - - qcom,iommu-bfb-data = <0x0000ffff - 0x00000000 - 0x4 - 0x4 - 0x0 - 0x0 - 0x10 - 0x50 - 0x0 - 0x10 - 0x20 - 0x0 - 0x0 - 0x0 - 0x0>; -}; - -&mdp_iommu { - status = "ok"; - vdd-supply = <&gdsc_mdss>; - qcom,iommu-enable-halt; - - qcom,iommu-bfb-regs = <0x204c - 0x2050 - 0x2514 - 0x2540 - 0x256c - 0x20ac - 0x215c - 0x220c - 0x2314 - 0x2394 - 0x2414 - 0x2008 - 0x200c - 0x2010 - 0x2014 - 0x2018 - 0x201c - 0x2020>; - - qcom,iommu-bfb-data = <0xffffffff - 0x00000000 - 0x00000004 - 0x00000010 - 0x00000000 - 0x00000000 - 0x00000013 - 0x00000017 - 0x0 - 0x13 - 0x23 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0>; -}; - -&venus_iommu { - status = "ok"; - vdd-supply = <&gdsc_venus>; - qcom,iommu-enable-halt; - - qcom,iommu-bfb-regs = <0x204c - 0x2050 - 0x2514 - 0x2540 - 0x256c - 0x20ac - 0x215c - 0x220c - 0x2314 - 0x2394 - 0x2414 - 0x2008 - 0x200c - 0x2010 - 0x2014 - 0x2018 - 0x201c - 0x2020 - 0x2024 - 0x2028 - 0x202c - 0x2030 - 0x2034 - 0x2038>; - - qcom,iommu-bfb-data = <0xffffffff - 0xffffffff - 0x00000004 - 0x00000008 - 0x00000000 - 0x00000000 - 0x00000094 - 0x000000b4 - 0x0 - 0x94 - 0x114 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0>; -}; - -&venus_ns { - qcom,iommu-ctx-sids = <0 1 2 3 4 5 7>; -}; - -&venus_cp { - qcom,iommu-ctx-sids = <0x80 0x81 0x82 0x83 0x84>; -}; - -&kgsl_iommu { - status = "ok"; - vdd-supply = <&gdsc_oxili_cx>; - qcom,alt-vdd-supply = <&gdsc_oxili_gx>; - qcom,iommu-enable-halt; - qcom,needs-alt-core-clk; - - qcom,iommu-bfb-regs = <0x204c - 0x2050 - 0x2514 - 0x2540 - 0x256c - 0x20ac - 0x215c - 0x220c - 0x2314 - 0x2394 - 0x2414 - 0x2008>; - - qcom,iommu-bfb-data = <0x00000003 - 0x0 - 0x00000004 - 0x00000010 - 0x00000000 - 0x00000000 - 0x00000001 - 0x00000011 - 0x0 - 0x1 - 0x41 - 0x0>; -}; - -&vfe_iommu { - status = "ok"; - vdd-supply = <&gdsc_vfe>; - qcom,iommu-enable-halt; - - qcom,iommu-bfb-regs = <0x204c - 0x2050 - 0x2514 - 0x2540 - 0x256c - 0x2314 - 0x2394 - 0x2414 - 0x20ac - 0x215c - 0x220c - 0x2008 - 0x200c - 0x2010 - 0x2014 - 0x2018 - 0x201c - 0x2020>; - - qcom,iommu-bfb-data = <0xffffffff - 0x00000000 - 0x4 - 0x8 - 0x0 - 0x0 - 0x1b - 0x5b - 0x0 - 0x1b - 0x2b - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0>; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8226-ion.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v2/msm8226-ion.dtsi deleted file mode 100644 index dee64e538..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8226-ion.dtsi +++ /dev/null @@ -1,66 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&soc { - qcom,ion { - compatible = "qcom,msm-ion"; - #address-cells = <1>; - #size-cells = <0>; - - qcom,ion-heap@30 { /* SYSTEM HEAP */ - reg = <30>; - }; - - qcom,ion-heap@21 { /* SYSTEM CONTIG HEAP */ - reg = <21>; - }; - - qcom,ion-heap@8 { /* CP_MM HEAP */ - compatible = "qcom,msm-ion-reserve"; - reg = <8>; - qcom,heap-align = <0x1000>; - linux,contiguous-region = <&secure_mem>; - }; - - qcom,ion-heap@25 { /* IOMMU HEAP */ - reg = <25>; - }; - - qcom,ion-heap@27 { /* QSECOM HEAP */ - compatible = "qcom,msm-ion-reserve"; - reg = <27>; - linux,contiguous-region = <&qsecom_mem>; - }; - - qcom,ion-heap@28 { /* AUDIO HEAP */ - compatible = "qcom,msm-ion-reserve"; - reg = <28>; - qcom,heap-align = <0x1000>; - qcom,memory-reservation-type = "EBI1"; /* reserve EBI memory */ - qcom,memory-reservation-size = <0x314000>; - }; - qcom,ion-heap@23 { /* OTHER PIL HEAP */ - compatible = "qcom,msm-ion-reserve"; - reg = <23>; - qcom,heap-align = <0x1000>; - qcom,memory-fixed = <0x06400000 0x2000000>; - }; - qcom,ion-heap@26 { /* MODEM PIL HEAP */ - compatible = "qcom,msm-ion-reserve"; - reg = <26>; - qcom,heap-align = <0x1000>; - qcom,memory-fixed = <0x08400000 0x4E00000>; - - }; - - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8226-mdss.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v2/msm8226-mdss.dtsi deleted file mode 100644 index f58089709..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8226-mdss.dtsi +++ /dev/null @@ -1,80 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -&soc { - qcom,mdss_mdp@fd900000 { - compatible = "qcom,mdss_mdp"; - reg = <0xfd900000 0x22100>, - <0xfd924000 0x1000>; - reg-names = "mdp_phys", "vbif_phys"; - interrupts = <0 72 0>; - vdd-supply = <&gdsc_mdss>; - - qcom,max-clk-rate = <200000000>; - qcom,mdss-pipe-vig-off = <0x00001200>; - qcom,mdss-pipe-rgb-off = <0x00001E00>; - qcom,mdss-pipe-dma-off = <0x00002A00>; - qcom,mdss-pipe-vig-fetch-id = <1>; - qcom,mdss-pipe-rgb-fetch-id = <7>; - qcom,mdss-pipe-dma-fetch-id = <4>; - qcom,mdss-smp-data = <7 4096>; - - qcom,mdss-ctl-off = <0x00000600 0x00000700>; - qcom,mdss-mixer-intf-off = <0x00003200>; - qcom,mdss-mixer-wb-off = <0x00003E00>; - qcom,mdss-dspp-off = <0x00004600>; - qcom,mdss-pingpong-off = <0x00021B00>; - qcom,mdss-wb-off = <0x00011100 0x00013100>; - qcom,mdss-intf-off = <0x00000000 0x00021300>; - qcom,mdss-rot-block-size = <64>; - - qcom,vbif-settings = <0x004 0x00000001>, - <0x0D8 0x00000707>, - <0x124 0x00000003>; - qcom,mdp-settings = <0x02E0 0x000000A9>, - <0x02E4 0x00000055>; - - mdss_fb0: qcom,mdss_fb_primary { - cell-index = <0>; - compatible = "qcom,mdss-fb"; - qcom,memory-reservation-type = "EBI1"; - qcom,memory-reservation-size = <0x800000>; - }; - - mdss_fb1: qcom,mdss_fb_wfd { - cell-index = <1>; - compatible = "qcom,mdss-fb"; - }; - }; - - mdss_dsi0: qcom,mdss_dsi@fd922800 { - compatible = "qcom,mdss-dsi-ctrl"; - label = "MDSS DSI CTRL->0"; - cell-index = <0>; - reg = <0xfd922800 0x600>; - vdd-supply = <&pm8226_l15>; - vddio-supply = <&pm8226_l8>; - vdda-supply = <&pm8226_l4>; - qcom,supply-names = "vdd", "vddio", "vdda"; - qcom,supply-min-voltage-level = <2800000 1800000 1200000>; - qcom,supply-max-voltage-level = <2800000 1800000 1200000>; - qcom,supply-peak-current = <150000 100000 100000>; - qcom,mdss-fb-map = <&mdss_fb0>; - }; - - qcom,mdss_wb_panel { - compatible = "qcom,mdss_wb"; - qcom,mdss_pan_res = <1280 720>; - qcom,mdss_pan_bpp = <24>; - qcom,mdss-fb-map = <&mdss_fb1>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8226-mtp.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v2/msm8226-mtp.dtsi deleted file mode 100644 index bcd1c41d6..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8226-mtp.dtsi +++ /dev/null @@ -1,445 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/include/ "dsi-panel-nt35590-720p-video.dtsi" -/include/ "msm8226-camera-sensor-mtp.dtsi" - -&soc { - serial@f991f000 { - status = "ok"; - }; - - qcom,mdss_dsi_nt35590_720p_video { - status = "ok"; - }; - - i2c@f9927000 { /* BLSP1 QUP5 */ - synaptics@20 { - compatible = "synaptics,rmi4"; - reg = <0x20>; - interrupt-parent = <&msmgpio>; - interrupts = <17 0x2008>; - vdd-supply = <&pm8226_l19>; - vcc_i2c-supply = <&pm8226_lvs1>; - synaptics,reset-gpio = <&msmgpio 16 0x00>; - synaptics,irq-gpio = <&msmgpio 17 0x2008>; - synaptics,button-map = <139 102 158>; - synaptics,i2c-pull-up; - }; - }; - - gpio_keys { - compatible = "gpio-keys"; - input-name = "gpio-keys"; - - camera_focus { - label = "camera_focus"; - gpios = <&msmgpio 108 0x1>; - linux,input-type = <1>; - linux,code = <0x210>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - - camera_snapshot { - label = "camera_snapshot"; - gpios = <&msmgpio 107 0x1>; - linux,input-type = <1>; - linux,code = <0x2fe>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - - vol_up { - label = "volume_up"; - gpios = <&msmgpio 106 0x1>; - linux,input-type = <1>; - linux,code = <115>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - }; - - spi@f9923000 { - ethernet-switch@3 { - compatible = "micrel,ks8851"; - reg = <3>; - interrupt-parent = <&msmgpio>; - interrupts = <0 115 0>; - spi-max-frequency = <4800000>; - rst-gpio = <&msmgpio 114 0>; - vdd-io-supply = <&pm8226_lvs1>; - vdd-phy-supply = <&pm8226_lvs1>; - }; - }; - - sound { - qcom,audio-routing = - "RX_BIAS", "MCLK", - "LDO_H", "MCLK", - "SPK_OUT", "MCLK", - "SPK_OUT", "EXT_VDD_SPKR", - "AMIC1", "MIC BIAS1 External", - "MIC BIAS1 External", "Handset Mic", - "AMIC2", "MIC BIAS2 External", - "MIC BIAS2 External", "Headset Mic", - "AMIC3", "MIC BIAS1 External", - "MIC BIAS1 External", "ANCRight Headset Mic", - "AMIC4", "MIC BIAS2 External", - "MIC BIAS2 External", "ANCLeft Headset Mic"; - - qcom,cdc-mclk-gpios = <&pm8226_gpios 1 0>; - qcom,cdc-vdd-spkr-gpios = <&pm8226_gpios 2 0>; - }; -}; - -&usb_otg { - #address-cells = <0>; - interrupt-parent = <&usb_otg>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 134 0 - 1 &intc 0 140 0 - 2 &spmi_bus 0x0 0x0 0x9 0x0>; - interrupt-names = "core_irq", "async_irq", "pmic_id_irq"; - - qcom,hsusb-otg-mode = <3>; - vbus_otg-supply = <&usb_otg_sw>; -}; - -&sdcc1 { - vdd-supply = <&pm8226_l17>; - qcom,vdd-always-on; - qcom,vdd-lpm-sup; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <800 500000>; - - vdd-io-supply = <&pm8226_l6>; - qcom,vdd-io-always-on; - qcom,vdd-io-voltage-level = <1800000 1800000>; - qcom,vdd-io-current-level = <250 154000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - qcom,sup-voltages = <2950 2950>; - - qcom,bus-speed-mode = "HS200_1p8v", "DDR_1p8v"; - qcom,nonremovable; - - status = "disabled"; -}; - -&sdhc_1 { - vdd-supply = <&pm8226_l17>; - qcom,vdd-always-on; - qcom,vdd-lpm-sup; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <800 500000>; - - vdd-io-supply = <&pm8226_l6>; - qcom,vdd-io-always-on; - qcom,vdd-io-voltage-level = <1800000 1800000>; - qcom,vdd-io-current-level = <250 154000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - qcom,bus-speed-mode = "HS200_1p8v", "DDR_1p8v"; - qcom,nonremovable; - - status = "ok"; -}; - -&sdcc2 { - vdd-supply = <&pm8226_l18>; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <9000 800000>; - - vdd-io-supply = <&pm8226_l21>; - qcom,vdd-io-always-on; - qcom,vdd-io-lpm-sup; - qcom,vdd-io-voltage-level = <1800000 2950000>; - qcom,vdd-io-current-level = <6 22000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - qcom,sup-voltages = <2950 2950>; - - qcom,xpc; - qcom,bus-speed-mode = "SDR12", "SDR25", "SDR50", "DDR50", "SDR104"; - qcom,current-limit = <600>; #address-cells = <0>; interrupt-parent = <&sdcc2>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 125 0 - 1 &intc 0 220 0 - 2 &msmgpio 38 0x3>; - interrupt-names = "core_irq", "bam_irq", "status_irq"; - cd-gpios = <&msmgpio 38 0x1>; - - status = "disabled"; -}; - -&sdhc_2 { - vdd-supply = <&pm8226_l18>; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <9000 800000>; - - vdd-io-supply = <&pm8226_l21>; - qcom,vdd-io-always-on; - qcom,vdd-io-lpm-sup; - qcom,vdd-io-voltage-level = <1800000 2950000>; - qcom,vdd-io-current-level = <6 22000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - - #address-cells = <0>; - interrupt-parent = <&sdhc_2>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 125 0 - 1 &intc 0 221 0 - 2 &msmgpio 38 0x3>; - interrupt-names = "hc_irq", "pwr_irq", "status_irq"; - cd-gpios = <&msmgpio 38 0x1>; - - status = "ok"; -}; - -&spmi_bus { - qcom,pm8226@0 { - qcom,leds@a100 { - status = "okay"; - qcom,led_mpp_2 { - label = "mpp"; - linux,name = "button-backlight"; - linux,default-trigger = "none"; - qcom,default-state = "off"; - qcom,max-current = <40>; - qcom,current-setting = <5>; - qcom,id = <6>; - qcom,mode = "manual"; - qcom,source-sel = <1>; - qcom,mode-ctrl = <0x60>; - }; - }; - - qcom,leds@a300 { - status = "okay"; - qcom,led_mpp_4 { - label = "mpp"; - linux,name = "green"; - linux,default-trigger = "none"; - qcom,default-state = "off"; - qcom,max-current = <40>; - qcom,current-setting = <5>; - qcom,id = <6>; - qcom,mode = "pwm"; - qcom,pwm-us = <1000>; - qcom,source-sel = <8>; - qcom,mode-ctrl = <0x60>; - qcom,pwm-channel = <0>; - qcom,start-idx = <1>; - qcom,duty-pcts = [00 00 00 00 64 - 64 00 00 00 00]; - qcom,use-blink; - }; - }; - - qcom,leds@a500 { - status = "okay"; - qcom,led_mpp_6 { - label = "mpp"; - linux,name = "red"; - linux,default-trigger = "none"; - qcom,default-state = "off"; - qcom,max-current = <40>; - qcom,current-setting = <5>; - qcom,id = <6>; - qcom,mode = "pwm"; - qcom,pwm-us = <1000>; - qcom,mode-ctrl = <0x60>; - qcom,source-sel = <10>; - qcom,pwm-channel = <5>; - qcom,start-idx = <1>; - qcom,duty-pcts = [00 00 00 00 64 - 64 00 00 00 00]; - qcom,use-blink; - }; - }; - }; - - qcom,pm8226@1 { - qcom,leds@d300 { - status = "okay"; - }; - - qcom,leds@d800 { - status = "okay"; - qcom,wled_0 { - label = "wled"; - linux,name = "wled:backlight"; - linux,default-trigger = "bkl-trigger"; - qcom,cs-out-en; - qcom,op-fdbck = <1>; - qcom,default-state = "on"; - qcom,max-current = <20>; - qcom,ctrl-delay-us = <0>; - qcom,boost-curr-lim = <3>; - qcom,cp-sel = <0>; - qcom,switch-freq = <2>; - qcom,ovp-val = <0>; - qcom,num-strings = <1>; - qcom,id = <0>; - }; - }; - }; -}; - -&pm8226_gpios { - gpio@c000 { /* GPIO 1 */ - /* XO_PMIC_CDC_MCLK enable for tapan codec */ - qcom,mode = <1>; /* Digital output */ - qcom,output-type = <0>; /* CMOS logic */ - qcom,pull = <5>; /* QPNP_PIN_PULL_NO*/ - qcom,vin-sel = <3>; /* QPNP_PIN_VIN3 */ - qcom,out-strength = <3>;/* QPNP_PIN_OUT_STRENGTH_HIGH */ - qcom,src-sel = <2>; /* QPNP_PIN_SEL_FUNC_1 */ - qcom,master-en = <1>; /* Enable GPIO */ - }; - - gpio@c100 { /* GPIO 2 */ - qcom,mode = <1>; - qcom,output-type = <0>; - qcom,pull = <5>; - qcom,vin-sel = <3>; - qcom,out-strength = <3>; - qcom,src-sel = <2>; - qcom,master-en = <1>; - }; - - gpio@c200 { /* GPIO 3 */ - }; - - gpio@c300 { /* GPIO 4 */ - }; - - gpio@c400 { /* GPIO 5 */ - }; - - gpio@c500 { /* GPIO 6 */ - }; - - gpio@c600 { /* GPIO 7 */ - }; - - gpio@c700 { /* GPIO 8 */ - }; -}; - -&pm8226_mpps { - mpp@a000 { /* MPP 1 */ - }; - - mpp@a100 { /* MPP 2 */ - }; - - mpp@a200 { /* MPP 3 */ - }; - - mpp@a300 { /* MPP 4 */ - }; - - mpp@a400 { /* MPP 5 */ - /* PA_THERM0 config */ - qcom,mode = <4>; /* AIN input */ - qcom,invert = <1>; /* Enable MPP */ - qcom,ain-route = <0>; /* AMUX 5 */ - qcom,master-en = <1>; - qcom,src-sel = <0>; /* Function constant */ - }; - - mpp@a500 { /* MPP 6 */ - }; - - mpp@a600 { /* MPP 7 */ - }; - - mpp@a700 { /* MPP 8 */ - /* PA_THERM1 config */ - qcom,mode = <4>; /* AIN input */ - qcom,invert = <1>; /* Enable MPP */ - qcom,ain-route = <3>; /* AMUX 8 */ - qcom,master-en = <1>; - qcom,src-sel = <0>; /* Function constant */ - }; -}; - -&pm8226_vadc { - chan@14 { - label = "pa_therm0"; - reg = <0x14>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@17 { - label = "pa_therm1"; - reg = <0x17>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; -}; - -&pm8226_bms { - status = "ok"; -}; - -&pm8226_chg { - qcom,charging-disabled; -}; - -&usb_otg_sw { - status = "okay"; -}; - -&slim_msm { - tapan_codec { - qcom,cdc-micbias1-ext-cap; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8226-pm.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v2/msm8226-pm.dtsi deleted file mode 100644 index 3240efb75..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8226-pm.dtsi +++ /dev/null @@ -1,389 +0,0 @@ -/* Copyright (c) 2013 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. - */ - -/include/ "skeleton.dtsi" - -&soc { - qcom,spm@f9089000 { - compatible = "qcom,spm-v2"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xf9089000 0x1000>; - qcom,core-id = <0>; - qcom,saw2-ver-reg = <0xfd0>; - qcom,saw2-cfg = <0x01>; - qcom,saw2-spm-dly= <0x3c102800>; - qcom,saw2-spm-ctl = <0x0>; - qcom,saw2-spm-cmd-wfi = [60 03 60 0b 0f]; - qcom,saw2-spm-cmd-spc = [00 20 10 80 30 90 5b 60 03 60 3b 76 76 - 0b 94 5b 80 10 06 26 30 0f]; - qcom,saw2-spm-cmd-pc = [00 20 10 80 30 90 5b 60 07 60 3b 76 76 - 0b 94 5b 80 10 06 26 30 0f]; - }; - - qcom,spm@f9099000 { - compatible = "qcom,spm-v2"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xf9099000 0x1000>; - qcom,core-id = <1>; - qcom,saw2-ver-reg = <0xfd0>; - qcom,saw2-cfg = <0x01>; - qcom,saw2-spm-dly= <0x3c102800>; - qcom,saw2-spm-ctl = <0x0>; - qcom,saw2-spm-cmd-wfi = [60 03 60 0b 0f]; - qcom,saw2-spm-cmd-spc = [00 20 10 80 30 90 5b 60 03 60 3b 76 76 - 0b 94 5b 80 10 06 26 30 0f]; - qcom,saw2-spm-cmd-pc = [00 20 10 80 30 90 5b 60 07 60 3b 76 76 - 0b 94 5b 80 10 06 26 30 0f]; - }; - - qcom,spm@f90a9000 { - compatible = "qcom,spm-v2"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xf90a9000 0x1000>; - qcom,core-id = <2>; - qcom,saw2-ver-reg = <0xfd0>; - qcom,saw2-cfg = <0x01>; - qcom,saw2-spm-dly= <0x3c102800>; - qcom,saw2-spm-ctl = <0x0>; - qcom,saw2-spm-cmd-wfi = [60 03 60 0b 0f]; - qcom,saw2-spm-cmd-spc = [00 20 10 80 30 90 5b 60 03 60 3b 76 76 - 0b 94 5b 80 10 06 26 30 0f]; - qcom,saw2-spm-cmd-pc = [00 20 10 80 30 90 5b 60 07 60 3b 76 76 - 0b 94 5b 80 10 06 26 30 0f]; - }; - - qcom,spm@f90b9000 { - compatible = "qcom,spm-v2"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xf90b9000 0x1000>; - qcom,core-id = <3>; - qcom,saw2-ver-reg = <0xfd0>; - qcom,saw2-cfg = <0x01>; - qcom,saw2-spm-dly= <0x3c102800>; - qcom,saw2-spm-ctl = <0x0>; - qcom,saw2-spm-cmd-wfi = [60 03 60 0b 0f]; - qcom,saw2-spm-cmd-spc = [00 20 10 80 30 90 5b 60 03 60 3b 76 76 - 0b 94 5b 80 10 06 26 30 0f]; - qcom,saw2-spm-cmd-pc = [00 20 10 80 30 90 5b 60 07 60 3b 76 76 - 0b 94 5b 80 10 06 26 30 0f]; - }; - - qcom,spm@f9012000 { - compatible = "qcom,spm-v2"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xf9012000 0x1000>; - qcom,core-id = <0xffff>; /* L2/APCS SAW */ - qcom,saw2-ver-reg = <0xfd0>; - qcom,saw2-cfg = <0x14>; - qcom,saw2-spm-dly= <0x3c102800>; - qcom,saw2-spm-ctl = <0x0>; - qcom,saw2-pmic-data0 = <0x02030080>; - qcom,saw2-pmic-data1 = <0x00030000>; - qcom,vctl-timeout-us = <50>; - qcom,vctl-port = <0x0>; - qcom,phase-port = <0x1>; - qcom,pfm-port = <0x2>; - qcom,saw2-spm-cmd-ret = [00 03 00 7b 0f]; - qcom,saw2-spm-cmd-pc = [00 32 b0 10 e0 d0 6b c0 42 f0 - 11 07 01 b0 4e c0 d0 12 e0 6b 50 02 32 - 50 f0 7b 0f]; /*APCS_PMIC_OFF_L2RAM_OFF*/ - }; - - qcom,lpm-resources { - compatible = "qcom,lpm-resources"; - #address-cells = <1>; - #size-cells = <0>; - - qcom,lpm-resources@0 { - reg = <0x0>; - qcom,name = "vdd-dig"; - qcom,type = <0x61706d73>; /* "smpa" */ - qcom,id = <0x01>; - qcom,key = <0x6e726f63>; /* "corn" */ - qcom,init-value = <3>; /* SVS SOC */ - }; - - qcom,lpm-resources@1 { - reg = <0x1>; - qcom,name = "vdd-mem"; - qcom,type = <0x616F646C>; /* "ldoa" */ - qcom,id = <0x03>; - qcom,key = <0x6e726f63>; /* "corn" */ - qcom,init-value = <3>; /* SVS SOC */ - }; - - qcom,lpm-resources@2 { - reg = <0x2>; - qcom,name = "pxo"; - qcom,type = <0x306b6c63>; /* "clk0" */ - qcom,id = <0x00>; - qcom,key = <0x62616e45>; /* "Enab" */ - qcom,init-value = "xo_on"; - }; - - qcom,lpm-resources@3 { - reg = <0x3>; - qcom,name = "l2"; - qcom,local-resource-type; - qcom,init-value = "l2_cache_retention"; - }; - }; - - qcom,lpm-levels { - compatible = "qcom,lpm-levels"; - #address-cells = <1>; - #size-cells = <0>; - - qcom,lpm-level@0 { - reg = <0x0>; - qcom,mode = "wfi"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_active"; - qcom,vdd-mem-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <4>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <1>; - qcom,ss-power = <784>; - qcom,energy-overhead = <190000>; - qcom,time-overhead = <100>; - }; - - qcom,lpm-level@1 { - reg = <0x1>; - qcom,mode = "standalone_pc"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_active"; - qcom,vdd-mem-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <4>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <3000>; - qcom,ss-power = <725>; - qcom,energy-overhead = <99500>; - qcom,time-overhead = <3130>; - }; - - qcom,lpm-level@2 { - reg = <0x2>; - qcom,mode = "pc"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_retention"; - qcom,vdd-mem-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <4>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <8000>; - qcom,ss-power = <138>; - qcom,energy-overhead = <1208400>; - qcom,time-overhead = <9200>; - }; - - qcom,lpm-level@3 { - reg = <0x3>; - qcom,mode = "pc"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_pc"; - qcom,vdd-mem-upper-bound = <4>; /* NORMAL */ - qcom,vdd-mem-lower-bound = <3>; /* SVS SOC */ - qcom,vdd-dig-upper-bound = <4>; /* NORMAL */ - qcom,vdd-dig-lower-bound = <3>; /* SVS SOC */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <9000>; - qcom,ss-power = <110>; - qcom,energy-overhead = <1250300>; - qcom,time-overhead = <9500>; - }; - - qcom,lpm-level@4 { - reg = <0x4>; - qcom,mode = "pc"; - qcom,xo = "xo_off"; - qcom,l2 = "l2_cache_pc"; - qcom,vdd-mem-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <4>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,latency-us = <16300>; - qcom,ss-power = <63>; - qcom,energy-overhead = <2128000>; - qcom,time-overhead = <24200>; - }; - - qcom,lpm-level@5 { - reg = <0x5>; - qcom,mode = "pc"; - qcom,xo = "xo_off"; - qcom,l2 = "l2_cache_pc"; - qcom,vdd-mem-upper-bound = <4>; /* NORMAL */ - qcom,vdd-mem-lower-bound = <3>; /* SVS SOC */ - qcom,vdd-dig-upper-bound = <4>; /* NORMAL */ - qcom,vdd-dig-lower-bound = <3>; /* SVS SOC */ - qcom,latency-us = <24000>; - qcom,ss-power = <10>; - qcom,energy-overhead = <3202600>; - qcom,time-overhead = <33000>; - }; - - qcom,lpm-level@6 { - reg = <0x6>; - qcom,mode = "pc"; - qcom,xo = "xo_off"; - qcom,l2 = "l2_cache_pc"; - qcom,vdd-mem-upper-bound = <3>; /* SVS SOC */ - qcom,vdd-mem-lower-bound = <1>; /* RETENTION */ - qcom,vdd-dig-upper-bound = <3>; /* SVS SOC */ - qcom,vdd-dig-lower-bound = <1>; /* RETENTION */ - qcom,latency-us = <26000>; - qcom,ss-power = <2>; - qcom,energy-overhead = <4252000>; - qcom,time-overhead = <38000>; - }; - }; - - qcom,pm-boot { - compatible = "qcom,pm-boot"; - qcom,mode = "tz"; - }; - - qcom,mpm@fc4281d0 { - compatible = "qcom,mpm-v2"; - reg = <0xfc4281d0 0x1000>, /* MSM_RPM_MPM_BASE 4K */ - <0xf9011008 0x4>; /* MSM_APCS_GCC_BASE 4K */ - reg-names = "vmpm", "ipc"; - interrupts = <0 171 1>; - - qcom,ipc-bit-offset = <1>; - - qcom,gic-parent = <&intc>; - qcom,gic-map = <47 172>, /* usb2_hsic_async_wakeup_irq */ - <53 104>, /* mdss_irq */ - <62 222>, /* ee0_krait_hlos_spmi_periph_irq */ - <2 216>, /* tsens_upper_lower_int */ - <0xff 56>, /* q6_wdog_expired_irq */ - <0xff 57>, /* mss_to_apps_irq(0) */ - <0xff 58>, /* mss_to_apps_irq(1) */ - <0xff 59>, /* mss_to_apps_irq(2) */ - <0xff 60>, /* mss_to_apps_irq(3) */ - <0xff 61>, /* mss_a2_bam_irq */ - <0xff 173>, /* o_wcss_apss_smd_hi */ - <0xff 174>, /* o_wcss_apss_smd_med */ - <0xff 175>, /* o_wcss_apss_smd_low */ - <0xff 176>, /* o_wcss_apss_smsm_irq */ - <0xff 177>, /* o_wcss_apss_wlan_data_xfer_done */ - <0xff 178>, /* o_wcss_apss_wlan_rx_data_avail */ - <0xff 179>, /* o_wcss_apss_asic_intr - <0xff 181>, /* o_wcss_apss_wdog_bite_and_reset_rdy */ - <0xff 188>, /* lpass_irq_out_apcs(0) */ - <0xff 189>, /* lpass_irq_out_apcs(1) */ - <0xff 190>, /* lpass_irq_out_apcs(2) */ - <0xff 191>, /* lpass_irq_out_apcs(3) */ - <0xff 192>, /* lpass_irq_out_apcs(4) */ - <0xff 194>, /* lpass_irq_out_apcs[6] */ - <0xff 195>, /* lpass_irq_out_apcs[7] */ - <0xff 196>, /* lpass_irq_out_apcs[8] */ - <0xff 200>, /* rpm_ipc(4) */ - <0xff 201>, /* rpm_ipc(5) */ - <0xff 202>, /* rpm_ipc(6) */ - <0xff 203>, /* rpm_ipc(7) */ - <0xff 204>, /* rpm_ipc(24) */ - <0xff 205>, /* rpm_ipc(25) */ - <0xff 206>, /* rpm_ipc(26) */ - <0xff 207>, /* rpm_ipc(27) */ - <0xff 258>, /* rpm_ipc(28) */ - <0xff 259>, /* rpm_ipc(29) */ - <0xff 275>, /* rpm_ipc(30) */ - <0xff 276>, /* rpm_ipc(31) */ - <0xff 269>, /* rpm_wdog_expired_irq */ - <0xff 240>; /* summary_irq_kpss */ - - qcom,gpio-parent = <&msmgpio>; - qcom,gpio-map = <3 1>, - <4 4 >, - <5 5 >, - <6 9 >, - <7 13>, - <8 17>, - <9 21>, - <10 27>, - <11 29>, - <12 31>, - <13 33>, - <14 35>, - <15 37>, - <16 38>, - <17 39>, - <18 41>, - <19 46>, - <20 48>, - <21 49>, - <22 50>, - <23 51>, - <24 52>, - <25 54>, - <26 62>, - <27 63>, - <28 64>, - <29 65>, - <30 66>, - <31 67>, - <32 68>, - <33 69>, - <34 71>, - <35 72>, - <36 106>, - <37 107>, - <38 108>, - <39 109>, - <40 110>, - <54 111>, - <55 113>; - }; - - qcom,pm-8x60@fe805664 { - compatible = "qcom,pm-8x60"; - reg = <0xfe805664 0x40>; - qcom,pc-mode = "tz_l2_int"; - qcom,use-sync-timer; - qcom,pc-resets-timer; - }; - - qcom,rpm-log@fc19dc00 { - compatible = "qcom,rpm-log"; - reg = <0xfc19dc00 0x4000>; - qcom,rpm-addr-phys = <0xfc000000>; - qcom,offset-version = <4>; - qcom,offset-page-buffer-addr = <36>; - qcom,offset-log-len = <40>; - qcom,offset-log-len-mask = <44>; - qcom,offset-page-indices = <56>; - }; - - qcom,rpm-stats@fc19dba0 { - compatible = "qcom,rpm-stats"; - reg = <0xfc19dba0 0x1000>; - reg-names = "phys_addr_base"; - qcom,sleep-stats-version = <2>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8226-qrd.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v2/msm8226-qrd.dtsi deleted file mode 100644 index fc9d9f9b9..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8226-qrd.dtsi +++ /dev/null @@ -1,406 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/include/ "dsi-panel-nt35590-720p-video.dtsi" -/include/ "msm8226-camera-sensor-qrd.dtsi" - -&soc { - serial@f991f000 { - status = "ok"; - }; - - qcom,mdss_dsi_nt35590_720p_video { - status = "ok"; - }; - - i2c@f9927000 { /* BLSP1 QUP5 */ - synaptics@20 { - compatible = "synaptics,rmi4"; - reg = <0x20>; - interrupt-parent = <&msmgpio>; - interrupts = <17 0x2008>; - vdd-supply = <&pm8226_l19>; - vcc_i2c-supply = <&pm8226_lvs1>; - synaptics,reset-gpio = <&msmgpio 16 0x00>; - synaptics,irq-gpio = <&msmgpio 17 0x2008>; - synaptics,button-map = <139 102 158>; - synaptics,i2c-pull-up; - }; - }; - - gpio_keys { - compatible = "gpio-keys"; - input-name = "gpio-keys"; - - camera_focus { - label = "camera_focus"; - gpios = <&msmgpio 108 0x1>; - linux,input-type = <1>; - linux,code = <0x210>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - - camera_snapshot { - label = "camera_snapshot"; - gpios = <&msmgpio 107 0x1>; - linux,input-type = <1>; - linux,code = <0x2fe>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - - vol_up { - label = "volume_up"; - gpios = <&msmgpio 106 0x1>; - linux,input-type = <1>; - linux,code = <115>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - }; - - spi@f9923000 { - ethernet-switch@3 { - compatible = "micrel,ks8851"; - reg = <3>; - interrupt-parent = <&msmgpio>; - interrupts = <0 115 0>; - spi-max-frequency = <4800000>; - rst-gpio = <&msmgpio 114 0>; - vdd-io-supply = <&pm8226_lvs1>; - vdd-phy-supply = <&pm8226_lvs1>; - }; - }; - - sound { - qcom,audio-routing = - "RX_BIAS", "MCLK", - "LDO_H", "MCLK", - "SPK_OUT", "MCLK", - "SPK_OUT", "EXT_VDD_SPKR", - "AMIC1", "MIC BIAS1 External", - "MIC BIAS1 External", "Handset Mic", - "AMIC2", "MIC BIAS2 External", - "MIC BIAS2 External", "Headset Mic", - "AMIC3", "MIC BIAS1 External", - "MIC BIAS1 External", "ANCRight Headset Mic", - "AMIC4", "MIC BIAS2 External", - "MIC BIAS2 External", "ANCLeft Headset Mic"; - - qcom,cdc-mclk-gpios = <&pm8226_gpios 1 0>; - qcom,cdc-vdd-spkr-gpios = <&pm8226_gpios 2 0>; - qcom,cdc-us-euro-gpios = <&msmgpio 69 0>; - }; -}; - -&sdcc1 { - vdd-supply = <&pm8226_l17>; - qcom,vdd-always-on; - qcom,vdd-lpm-sup; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <800 500000>; - - vdd-io-supply = <&pm8226_l6>; - qcom,vdd-io-always-on; - qcom,vdd-io-voltage-level = <1800000 1800000>; - qcom,vdd-io-current-level = <250 154000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - qcom,sup-voltages = <2950 2950>; - - qcom,bus-speed-mode = "HS200_1p8v", "DDR_1p8v"; - qcom,nonremovable; - - status = "disabled"; -}; - -&sdhc_1 { - vdd-supply = <&pm8226_l17>; - qcom,vdd-always-on; - qcom,vdd-lpm-sup; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <800 500000>; - - vdd-io-supply = <&pm8226_l6>; - qcom,vdd-io-always-on; - qcom,vdd-io-voltage-level = <1800000 1800000>; - qcom,vdd-io-current-level = <250 154000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - qcom,bus-speed-mode = "HS200_1p8v", "DDR_1p8v"; - qcom,nonremovable; - - status = "ok"; -}; - -&sdcc2 { - vdd-supply = <&pm8226_l18>; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <9000 800000>; - - vdd-io-supply = <&pm8226_l21>; - qcom,vdd-io-always-on; - qcom,vdd-io-lpm-sup; - qcom,vdd-io-voltage-level = <1800000 2950000>; - qcom,vdd-io-current-level = <6 22000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - qcom,sup-voltages = <2950 2950>; - - qcom,xpc; - qcom,bus-speed-mode = "SDR12", "SDR25", "SDR50", "DDR50", "SDR104"; - qcom,current-limit = <600>; - - #address-cells = <0>; - interrupt-parent = <&sdcc2>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 125 0 - 1 &intc 0 220 0 - 2 &msmgpio 38 0x3>; - interrupt-names = "core_irq", "bam_irq", "status_irq"; - cd-gpios = <&msmgpio 38 0x1>; - - status = "disabled"; -}; - -&sdhc_2 { - vdd-supply = <&pm8226_l18>; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <9000 800000>; - - vdd-io-supply = <&pm8226_l21>; - qcom,vdd-io-always-on; - qcom,vdd-io-lpm-sup; - qcom,vdd-io-voltage-level = <1800000 2950000>; - qcom,vdd-io-current-level = <6 22000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - - #address-cells = <0>; - interrupt-parent = <&sdhc_2>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 125 0 - 1 &intc 0 221 0 - 2 &msmgpio 38 0x3>; - interrupt-names = "hc_irq", "pwr_irq", "status_irq"; - cd-gpios = <&msmgpio 38 0x1>; - - status = "ok"; -}; - -&spmi_bus { - qcom,pm8226@0 { - qcom,leds@a100 { - status = "okay"; - qcom,led_mpp_2 { - label = "mpp"; - linux,name = "button-backlight"; - linux,default-trigger = "none"; - qcom,default-state = "off"; - qcom,max-current = <40>; - qcom,current-setting = <5>; - qcom,id = <6>; - qcom,mode = "manual"; - qcom,source-sel = <1>; - qcom,mode-ctrl = <0x60>; - }; - }; - - qcom,leds@a300 { - status = "okay"; - qcom,led_mpp_4 { - label = "mpp"; - linux,name = "green"; - linux,default-trigger = "none"; - qcom,default-state = "off"; - qcom,max-current = <40>; - qcom,current-setting = <5>; - qcom,id = <6>; - qcom,mode = "pwm"; - qcom,pwm-us = <1000>; - qcom,source-sel = <8>; - qcom,mode-ctrl = <0x60>; - qcom,pwm-channel = <0>; - qcom,start-idx = <1>; - qcom,duty-pcts = [00 00 00 00 64 - 64 00 00 00 00]; - qcom,use-blink; - }; - }; - - qcom,leds@a500 { - status = "okay"; - qcom,led_mpp_6 { - label = "mpp"; - linux,name = "red"; - linux,default-trigger = "none"; - qcom,default-state = "off"; - qcom,max-current = <40>; - qcom,current-setting = <5>; - qcom,id = <6>; - qcom,mode = "pwm"; - qcom,pwm-us = <1000>; - qcom,mode-ctrl = <0x60>; - qcom,source-sel = <10>; - qcom,pwm-channel = <5>; - qcom,start-idx = <1>; - qcom,duty-pcts = [00 00 00 00 64 - 64 00 00 00 00]; - qcom,use-blink; - }; - }; - }; - - qcom,pm8226@1 { - qcom,leds@d300 { - status = "okay"; - }; - - qcom,leds@d800 { - status = "okay"; - qcom,wled_0 { - label = "wled"; - linux,name = "wled:backlight"; - linux,default-trigger = "bkl-trigger"; - qcom,cs-out-en; - qcom,op-fdbck = <1>; - qcom,default-state = "on"; - qcom,max-current = <20>; - qcom,ctrl-delay-us = <0>; - qcom,boost-curr-lim = <3>; - qcom,cp-sel = <0>; - qcom,switch-freq = <2>; - qcom,ovp-val = <0>; - qcom,num-strings = <1>; - qcom,id = <0>; - }; - }; - - qcom,vibrator@c000 { - status = "okay"; - qcom,vib-timeout-ms = <15000>; - qcom,vib-vtg-level-mV = <3100>; - }; - - }; -}; - -&pm8226_bms { - status = "okay"; - qcom,batt-type = <4>; - qcom,max-voltage-uv = <4350000>; -}; - -&pm8226_chg { - status = "okay"; - qcom,chg-vddmax-mv = <4350>; - qcom,chg-vddsafe-mv = <4350>; -}; - -&pm8226_gpios { - gpio@c000 { /* GPIO 1 */ - /* XO_PMIC_CDC_MCLK enable for tapan codec */ - qcom,mode = <1>; /* Digital output */ - qcom,output-type = <0>; /* CMOS logic */ - qcom,pull = <5>; /* QPNP_PIN_PULL_NO*/ - qcom,vin-sel = <3>; /* QPNP_PIN_VIN3 */ - qcom,out-strength = <3>;/* QPNP_PIN_OUT_STRENGTH_HIGH */ - qcom,src-sel = <2>; /* QPNP_PIN_SEL_FUNC_1 */ - qcom,master-en = <1>; /* Enable GPIO */ - }; - - gpio@c100 { /* GPIO 2 */ - qcom,mode = <1>; - qcom,output-type = <0>; - qcom,pull = <5>; - qcom,vin-sel = <3>; - qcom,out-strength = <3>; - qcom,src-sel = <2>; - qcom,master-en = <1>; - }; - - gpio@c200 { /* GPIO 3 */ - }; - - gpio@c300 { /* GPIO 4 */ - }; - - gpio@c400 { /* GPIO 5 */ - }; - - gpio@c500 { /* GPIO 6 */ - }; - - gpio@c600 { /* GPIO 7 */ - }; - - gpio@c700 { /* GPIO 8 */ - }; -}; - -&pm8226_mpps { - mpp@a000 { /* MPP 1 */ - }; - - mpp@a100 { /* MPP 2 */ - }; - - mpp@a200 { /* MPP 3 */ - }; - - mpp@a300 { /* MPP 4 */ - }; - - mpp@a400 { /* MPP 5 */ - }; - - mpp@a500 { /* MPP 6 */ - }; - - mpp@a600 { /* MPP 7 */ - }; - - mpp@a700 { /* MPP 8 */ - }; -}; - -&slim_msm { - tapan_codec { - qcom,cdc-micbias1-ext-cap; - }; - -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8226-regulator.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v2/msm8226-regulator.dtsi deleted file mode 100644 index 3254d17c8..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8226-regulator.dtsi +++ /dev/null @@ -1,460 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/* SPM controlled regulators: */ - -&spmi_bus { - qcom,pm8226@1 { - pm8226_s2: spm-regulator@1700 { - compatible = "qcom,spm-regulator"; - regulator-name = "8226_s2"; - reg = <0x1700 0x100>; - regulator-min-microvolt = <900000>; - regulator-max-microvolt = <1275000>; - }; - }; -}; - -/* CPR controlled regulator */ - -&soc { - apc_vreg_corner: regulator@f9018000 { - status = "okay"; - compatible = "qcom,cpr-regulator"; - reg = <0xf9018000 0x1000>, <0xf9011064 4>, <0xfc4b80b0 8>, - <0xfc4bc450 16>; - reg-names = "rbcpr", "rbcpr_clk", "pvs_efuse", "cpr_efuse"; - interrupts = <0 15 0>; - regulator-name = "apc_corner"; - regulator-min-microvolt = <1>; - regulator-max-microvolt = <3>; - qcom,num-efuse-bits = <5>; - qcom,pvs-bin-process = <0 0 0 0 0 1 1 1 1 1 2 2 2 2 2 2 - 2 2 2 2 3 3 3 3 3 3 3 3 0 0 0 0>; - qcom,pvs-corner-ceiling-slow = <1155000 1160000 1275000>; - qcom,pvs-corner-ceiling-nom = <975000 1075000 1200000>; - qcom,pvs-corner-ceiling-fast = <900000 1000000 1140000>; - vdd-apc-supply = <&pm8226_s2>; - - vdd-mx-supply = <&pm8226_l3_ao>; - qcom,vdd-mx-vmax = <1350000>; - qcom,vdd-mx-vmin-method = <1>; - - qcom,cpr-ref-clk = <19200>; - qcom,cpr-timer-delay = <5000>; - qcom,cpr-timer-cons-up = <1>; - qcom,cpr-timer-cons-down = <2>; - qcom,cpr-irq-line = <0>; - qcom,cpr-step-quotient = <15>; - qcom,cpr-up-threshold = <1>; - qcom,cpr-down-threshold = <2>; - qcom,cpr-idle-clocks = <5>; - qcom,cpr-gcnt-time = <1>; - qcom,vdd-apc-step-up-limit = <1>; - qcom,vdd-apc-step-down-limit = <1>; - qcom,cpr-apc-volt-step = <5000>; - }; -}; - -/* RPM controlled regulators: */ - -&rpm_bus { - rpm-regulator-smpa1 { - status = "okay"; - pm8226_s1: regulator-s1 { - regulator-min-microvolt = <500000>; - regulator-max-microvolt = <1275000>; - status = "okay"; - }; - pm8226_s1_corner: regulator-s1-corner { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_s1_corner"; - qcom,set = <3>; - regulator-min-microvolt = <1>; - regulator-max-microvolt = <7>; - qcom,use-voltage-corner; - qcom,consumer-supplies = "vdd_dig", ""; - }; - pm8226_s1_corner_ao: regulator-s1-corner-ao { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_s1_corner_ao"; - qcom,set = <1>; - regulator-min-microvolt = <1>; - regulator-max-microvolt = <7>; - qcom,use-voltage-corner; - qcom,consumer-supplies = "vdd_sr2_dig", ""; - }; - }; - - rpm-regulator-smpa3 { - status = "okay"; - pm8226_s3: regulator-s3 { - regulator-min-microvolt = <1200000>; - regulator-max-microvolt = <1300000>; - qcom,init-voltage = <1200000>; - status = "okay"; - }; - }; - - rpm-regulator-smpa4 { - status = "okay"; - pm8226_s4: regulator-s4 { - regulator-min-microvolt = <2100000>; - regulator-max-microvolt = <2100000>; - qcom,init-voltage = <2100000>; - status = "okay"; - }; - }; - - rpm-regulator-smpa5 { - status = "okay"; - pm8226_s5: regulator-s5 { - regulator-min-microvolt = <1150000>; - regulator-max-microvolt = <1150000>; - qcom,init-voltage = <1150000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa1 { - status = "okay"; - pm8226_l1: regulator-l1 { - regulator-name = "8226_l1"; - regulator-min-microvolt = <1225000>; - regulator-max-microvolt = <1225000>; - qcom,init-voltage = <1225000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa2 { - status = "okay"; - pm8226_l2: regulator-l2 { - regulator-min-microvolt = <1200000>; - regulator-max-microvolt = <1200000>; - qcom,init-voltage = <1200000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa3 { - status = "okay"; - pm8226_l3: regulator-l3 { - regulator-name = "8226_l3"; - regulator-min-microvolt = <750000>; - regulator-max-microvolt = <1275000>; - status = "okay"; - }; - pm8226_l3_ao: regulator-3-ao { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l3_ao"; - qcom,set = <1>; - regulator-min-microvolt = <750000>; - regulator-max-microvolt = <1275000>; - status = "okay"; - }; - pm8226_l3_so: regulator-l3-so { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l3_so"; - qcom,set = <2>; - regulator-min-microvolt = <750000>; - regulator-max-microvolt = <1275000>; - qcom,init-voltage = <750000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa4 { - status = "okay"; - pm8226_l4: regulator-l4 { - regulator-name = "8226_l4"; - regulator-min-microvolt = <1200000>; - regulator-max-microvolt = <1200000>; - qcom,init-voltage = <1200000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa5 { - status = "okay"; - pm8226_l5: regulator-l5 { - regulator-name = "8226_l5"; - regulator-min-microvolt = <1200000>; - regulator-max-microvolt = <1200000>; - qcom,init-voltage = <1200000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa6 { - status = "okay"; - pm8226_l6: regulator-l6 { - regulator-name = "8226_l6"; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa7 { - status = "okay"; - pm8226_l7: regulator-l7 { - regulator-name = "8226_l7"; - regulator-min-microvolt = <1850000>; - regulator-max-microvolt = <1850000>; - qcom,init-voltage = <1850000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa8 { - status = "okay"; - pm8226_l8: regulator-l8 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - status = "okay"; - }; - - pm8226_l8_ao: regulator-l8-ao { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l8_ao"; - qcom,set = <1>; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - qcom,consumer-supplies = "vdd_sr2_pll", ""; - }; - - pm8226_l8_so: regulator-l8-so { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l8_so"; - qcom,set = <2>; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - qcom,init-enable = <0>; - }; - }; - - rpm-regulator-ldoa9 { - status = "okay"; - pm8226_l9: regulator-l9 { - regulator-name = "8226_l9"; - regulator-min-microvolt = <2050000>; - regulator-max-microvolt = <2050000>; - qcom,init-voltage = <2050000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa10 { - status = "okay"; - pm8226_l10: regulator-l10 { - regulator-name = "8226_l10"; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa12 { - status = "okay"; - pm8226_l12: regulator-l12 { - regulator-name = "8226_l12"; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa14 { - status = "okay"; - pm8226_l14: regulator-l14 { - regulator-name = "8226_l14"; - regulator-min-microvolt = <2750000>; - regulator-max-microvolt = <2750000>; - qcom,init-voltage = <2750000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa15 { - status = "okay"; - pm8226_l15: regulator-l15 { - regulator-name = "8226_l15"; - regulator-min-microvolt = <2800000>; - regulator-max-microvolt = <2800000>; - qcom,init-voltage = <2800000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa16 { - status = "okay"; - pm8226_l16: regulator-l16 { - regulator-name = "8226_l16"; - regulator-min-microvolt = <3000000>; - regulator-max-microvolt = <3300000>; - qcom,init-voltage = <3300000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa17 { - status = "okay"; - pm8226_l17: regulator-l17 { - regulator-min-microvolt = <2950000>; - regulator-max-microvolt = <2950000>; - qcom,init-voltage = <2950000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa18 { - status = "okay"; - pm8226_l18: regulator-l18 { - regulator-name = "8226_l18"; - regulator-min-microvolt = <2950000>; - regulator-max-microvolt = <2950000>; - qcom,init-voltage = <2950000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa19 { - status = "okay"; - pm8226_l19: regulator-l19 { - regulator-name = "8226_l19"; - regulator-min-microvolt = <2850000>; - regulator-max-microvolt = <2850000>; - qcom,init-voltage = <2850000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa20 { - status = "okay"; - pm8226_l20: regulator-l20 { - regulator-name = "8226_l20"; - regulator-min-microvolt = <3075000>; - regulator-max-microvolt = <3075000>; - qcom,init-voltage = <3075000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa21 { - status = "okay"; - pm8226_l21: regulator-l21 { - regulator-name = "8226_l21"; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <2950000>; - qcom,init-voltage = <2950000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa22 { - status = "okay"; - pm8226_l22: regulator-l22 { - regulator-name = "8226_l22"; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <2950000>; - qcom,init-voltage = <2950000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa23 { - status = "okay"; - pm8226_l23: regulator-l23 { - regulator-name = "8226_l23"; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <2950000>; - qcom,init-voltage = <2950000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa24 { - status = "okay"; - pm8226_l24: regulator-l24 { - regulator-name = "8226_l24"; - regulator-min-microvolt = <1300000>; - regulator-max-microvolt = <1300000>; - qcom,init-voltage = <1300000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa26 { - status = "okay"; - pm8226_l26: regulator-l26 { - regulator-name = "8226_l26"; - regulator-min-microvolt = <1225000>; - regulator-max-microvolt = <1225000>; - qcom,init-voltage = <1225000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa27 { - status = "okay"; - pm8226_l27: regulator-l27 { - regulator-name = "8226_l27"; - regulator-min-microvolt = <2050000>; - regulator-max-microvolt = <2050000>; - qcom,init-voltage = <2050000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa28 { - status = "okay"; - pm8226_l28: regulator-l28 { - regulator-name = "8226_l28"; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <2950000>; - qcom,init-voltage = <2950000>; - status = "okay"; - }; - }; - - rpm-regulator-vsa1 { - status = "okay"; - pm8226_lvs1: regulator-lvs1 { - status = "okay"; - }; - }; -}; - -&pm8226_chg_boost { - regulator-min-microvolt = <5000000>; - regulator-max-microvolt = <5000000>; - regulator-name = "8226_smbbp_boost"; -}; - -&soc { - usb_otg_sw: regulator-ncp380 { - compatible = "regulator-fixed"; - regulator-name = "usb_otg_sw"; - gpio = <&msmgpio 67 0>; - parent-supply = <&pm8226_chg_boost>; - startup-delay-us = <4000>; - enable-active-high; - status = "disabled"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8226-sim.dts b/kernel/arch/arm/boot/dts/m7350-un-v2/msm8226-sim.dts deleted file mode 100644 index 240564632..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8226-sim.dts +++ /dev/null @@ -1,135 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/dts-v1/; -/include/ "msm8226.dtsi" -/include/ "msm8226-camera.dtsi" - -/ { - model = "Qualcomm MSM 8226 Simulator"; - compatible = "qcom,msm8226-sim", "qcom,msm8226", "qcom,sim"; - qcom,msm-id = <145 16 0>, - <158 16 0>, - <159 16 0>, - <198 16 0>; -}; - -&soc { - serial@f991f000 { - status = "ok"; - }; -}; - -&sdcc1 { - qcom,vdd-always-on; - qcom,vdd-lpm-sup; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <800 500000>; - - qcom,vdd-io-always-on; - qcom,vdd-io-voltage-level = <1800000 1800000>; - qcom,vdd-io-current-level = <250 154000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - vdd-supply = <&pm8226_l17>; - vdd-io-supply = <&pm8226_l6>; - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - qcom,sup-voltages = <2950 2950>; - - qcom,bus-speed-mode = "HS200_1p8v", "DDR_1p8v"; - qcom,nonremovable; - status = "ok"; -}; - -&sdcc2 { - vdd-supply = <&pm8226_l18>; - vdd-io-supply = <&pm8226_l21>; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <9000 800000>; - - qcom,vdd-io-always-on; - qcom,vdd-io-lpm-sup; - qcom,vdd-io-voltage-level = <1800000 2950000>; - qcom,vdd-io-current-level = <6 22000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - qcom,sup-voltages = <2950 2950>; - - qcom,xpc; - qcom,bus-speed-mode = "SDR12", "SDR25", "SDR50", "DDR50", "SDR104"; - qcom,current-limit = <800>; - - status = "ok"; -}; - -&pm8226_gpios { - gpio@c000 { /* GPIO 1 */ - }; - - gpio@c100 { /* GPIO 2 */ - }; - - gpio@c200 { /* GPIO 3 */ - }; - - gpio@c300 { /* GPIO 4 */ - }; - - gpio@c400 { /* GPIO 5 */ - }; - - gpio@c500 { /* GPIO 6 */ - }; - - gpio@c600 { /* GPIO 7 */ - }; - - gpio@c700 { /* GPIO 8 */ - }; -}; - -&pm8226_mpps { - mpp@a000 { /* MPP 1 */ - }; - - mpp@a100 { /* MPP 2 */ - }; - - mpp@a200 { /* MPP 3 */ - }; - - mpp@a300 { /* MPP 4 */ - }; - - mpp@a400 { /* MPP 5 */ - }; - - mpp@a500 { /* MPP 6 */ - }; - - mpp@a600 { /* MPP 7 */ - }; - - mpp@a700 { /* MPP 8 */ - }; -}; - - diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8226-smp2p.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v2/msm8226-smp2p.dtsi deleted file mode 100644 index 3921a686a..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8226-smp2p.dtsi +++ /dev/null @@ -1,225 +0,0 @@ -/* Copyright (c) 2013, 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. - */ -&soc { - qcom,smp2p-modem { - compatible = "qcom,smp2p"; - reg = <0xf9011008 0x4>; - qcom,remote-pid = <1>; - qcom,irq-bitmask = <0x4000>; - interrupts = <0 27 1>; - }; - - qcom,smp2p-adsp { - compatible = "qcom,smp2p"; - reg = <0xf9011008 0x4>; - qcom,remote-pid = <2>; - qcom,irq-bitmask = <0x400>; - interrupts = <0 158 1>; - }; - - qcom,smp2p-wcnss { - compatible = "qcom,smp2p"; - reg = <0xf9011008 0x4>; - qcom,remote-pid = <4>; - qcom,irq-bitmask = <0x40000>; - interrupts = <0 143 1>; - }; - - smp2pgpio_smp2p_7_in: qcom,smp2pgpio-smp2p-7-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <7>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_7_in { - compatible = "qcom,smp2pgpio_test_smp2p_7_in"; - gpios = <&smp2pgpio_smp2p_7_in 0 0>; - }; - - smp2pgpio_smp2p_7_out: qcom,smp2pgpio-smp2p-7-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <7>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_7_out { - compatible = "qcom,smp2pgpio_test_smp2p_7_out"; - gpios = <&smp2pgpio_smp2p_7_out 0 0>; - }; - - smp2pgpio_smp2p_1_in: qcom,smp2pgpio-smp2p-1-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <1>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_1_in { - compatible = "qcom,smp2pgpio_test_smp2p_1_in"; - gpios = <&smp2pgpio_smp2p_1_in 0 0>; - }; - - smp2pgpio_smp2p_1_out: qcom,smp2pgpio-smp2p-1-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <1>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_1_out { - compatible = "qcom,smp2pgpio_test_smp2p_1_out"; - gpios = <&smp2pgpio_smp2p_1_out 0 0>; - }; - - smp2pgpio_ssr_smp2p_1_in: qcom,smp2pgpio-ssr-smp2p-1-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "slave-kernel"; - qcom,remote-pid = <1>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - smp2pgpio_ssr_smp2p_1_out: qcom,smp2pgpio-ssr-smp2p-1-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "master-kernel"; - qcom,remote-pid = <1>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - smp2pgpio_smp2p_2_in: qcom,smp2pgpio-smp2p-2-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <2>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_2_in { - compatible = "qcom,smp2pgpio_test_smp2p_2_in"; - gpios = <&smp2pgpio_smp2p_2_in 0 0>; - }; - - smp2pgpio_smp2p_2_out: qcom,smp2pgpio-smp2p-2-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <2>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_2_out { - compatible = "qcom,smp2pgpio_test_smp2p_2_out"; - gpios = <&smp2pgpio_smp2p_2_out 0 0>; - }; - - /* SMP2P SSR Driver for inbound entry from lpass. */ - smp2pgpio_ssr_smp2p_2_in: qcom,smp2pgpio-ssr-smp2p-2-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "slave-kernel"; - qcom,remote-pid = <2>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - /* SMP2P SSR Driver for outbound entry to lpass */ - smp2pgpio_ssr_smp2p_2_out: qcom,smp2pgpio-ssr-smp2p-2-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "master-kernel"; - qcom,remote-pid = <2>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - smp2pgpio_smp2p_4_in: qcom,smp2pgpio-smp2p-4-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <4>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_4_in { - compatible = "qcom,smp2pgpio_test_smp2p_4_in"; - gpios = <&smp2pgpio_smp2p_4_in 0 0>; - }; - - smp2pgpio_smp2p_4_out: qcom,smp2pgpio-smp2p-4-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <4>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - smp2pgpio_ssr_smp2p_4_in: qcom,smp2pgpio-ssr-smp2p-4-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "slave-kernel"; - qcom,remote-pid = <4>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - smp2pgpio_ssr_smp2p_4_out: qcom,smp2pgpio-ssr-smp2p-4-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "master-kernel"; - qcom,remote-pid = <4>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_4_out { - compatible = "qcom,smp2pgpio_test_smp2p_4_out"; - gpios = <&smp2pgpio_smp2p_4_out 0 0>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8226-v1-cdp.dts b/kernel/arch/arm/boot/dts/m7350-un-v2/msm8226-v1-cdp.dts deleted file mode 100644 index 9c49840d9..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8226-v1-cdp.dts +++ /dev/null @@ -1,25 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; -/include/ "msm8226-v1.dtsi" -/include/ "msm8226-cdp.dtsi" - -/ { - model = "Qualcomm MSM 8226 CDP"; - compatible = "qcom,msm8226-cdp", "qcom,msm8226", "qcom,cdp"; - qcom,msm-id = <145 1 0>, - <158 1 0>, - <159 1 0>, - <198 1 0>, - <205 1 0>; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8226-v1-mtp.dts b/kernel/arch/arm/boot/dts/m7350-un-v2/msm8226-v1-mtp.dts deleted file mode 100644 index b1d46b1c4..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8226-v1-mtp.dts +++ /dev/null @@ -1,25 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; -/include/ "msm8226-v1.dtsi" -/include/ "msm8226-mtp.dtsi" - -/ { - model = "Qualcomm MSM 8226 MTP"; - compatible = "qcom,msm8226-mtp", "qcom,msm8226", "qcom,mtp"; - qcom,msm-id = <145 8 0>, - <158 8 0>, - <159 8 0>, - <198 8 0>, - <205 8 0>; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8226-v1-qrd.dts b/kernel/arch/arm/boot/dts/m7350-un-v2/msm8226-v1-qrd.dts deleted file mode 100644 index d2aabac0c..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8226-v1-qrd.dts +++ /dev/null @@ -1,25 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; -/include/ "msm8226-v1.dtsi" -/include/ "msm8226-qrd.dtsi" - -/ { - model = "Qualcomm MSM 8226 QRD"; - compatible = "qcom,msm8226-qrd", "qcom,msm8226", "qcom,qrd"; - qcom,msm-id = <145 11 0>, - <158 11 0>, - <159 11 0>, - <198 11 0>, - <205 11 0>; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8226-v1.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v2/msm8226-v1.dtsi deleted file mode 100644 index d471bece9..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8226-v1.dtsi +++ /dev/null @@ -1,19 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/* - * As a general rule, only version-specific property overrides should be placed - * inside this file. However, device definitions should be placed inside the - * msm8226.dtsi file. - */ - -/include/ "msm8226.dtsi" diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8226-v2-cdp.dts b/kernel/arch/arm/boot/dts/m7350-un-v2/msm8226-v2-cdp.dts deleted file mode 100644 index 2b18491d9..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8226-v2-cdp.dts +++ /dev/null @@ -1,25 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; -/include/ "msm8226-v2.dtsi" -/include/ "msm8226-cdp.dtsi" - -/ { - model = "Qualcomm MSM 8226v2 CDP"; - compatible = "qcom,msm8226-cdp", "qcom,msm8226", "qcom,cdp"; - qcom,msm-id = <145 1 0x20000>, - <158 1 0x20000>, - <159 1 0x20000>, - <198 1 0x20000>, - <205 1 0x20000>; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8226-v2-mtp.dts b/kernel/arch/arm/boot/dts/m7350-un-v2/msm8226-v2-mtp.dts deleted file mode 100644 index f15dd4cb9..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8226-v2-mtp.dts +++ /dev/null @@ -1,25 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; -/include/ "msm8226-v2.dtsi" -/include/ "msm8226-mtp.dtsi" - -/ { - model = "Qualcomm MSM 8226v2 MTP"; - compatible = "qcom,msm8226-mtp", "qcom,msm8226", "qcom,mtp"; - qcom,msm-id = <145 8 0x20000>, - <158 8 0x20000>, - <159 8 0x20000>, - <198 8 0x20000>, - <205 8 0x20000>; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8226-v2-qrd.dts b/kernel/arch/arm/boot/dts/m7350-un-v2/msm8226-v2-qrd.dts deleted file mode 100644 index 1a89d7894..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8226-v2-qrd.dts +++ /dev/null @@ -1,25 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; -/include/ "msm8226-v2.dtsi" -/include/ "msm8226-qrd.dtsi" - -/ { - model = "Qualcomm MSM 8226v2 QRD"; - compatible = "qcom,msm8226-qrd", "qcom,msm8226", "qcom,qrd"; - qcom,msm-id = <145 11 0x20000>, - <158 11 0x20000>, - <159 11 0x20000>, - <198 11 0x20000>, - <205 11 0x20000>; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8226-v2.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v2/msm8226-v2.dtsi deleted file mode 100644 index d471bece9..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8226-v2.dtsi +++ /dev/null @@ -1,19 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/* - * As a general rule, only version-specific property overrides should be placed - * inside this file. However, device definitions should be placed inside the - * msm8226.dtsi file. - */ - -/include/ "msm8226.dtsi" diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8226.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v2/msm8226.dtsi deleted file mode 100644 index 7c981043c..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8226.dtsi +++ /dev/null @@ -1,1248 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/include/ "skeleton.dtsi" - -/ { - model = "Qualcomm MSM 8226"; - compatible = "qcom,msm8226"; - interrupt-parent = <&intc>; - - aliases { - spi0 = &spi_0; - sdhc1 = &sdhc_1; /* SDC1 eMMC slot */ - sdhc2 = &sdhc_2; /* SDC2 SD card slot */ - }; - - memory { - secure_mem: secure_region { - linux,contiguous-region; - reg = <0 0x6D00000>; - label = "secure_mem"; - }; - - qsecom_mem: qsecom_region { - linux,contiguous-region; - reg = <0 0x780000>; - label = "qsecom_mem"; - }; - }; - - soc: soc { }; -}; - -/include/ "msm8226-ion.dtsi" -/include/ "msm8226-camera.dtsi" -/include/ "msm-gdsc.dtsi" -/include/ "msm8226-iommu.dtsi" -/include/ "msm8226-pm.dtsi" -/include/ "msm8226-smp2p.dtsi" -/include/ "msm8226-gpu.dtsi" -/include/ "msm8226-bus.dtsi" -/include/ "msm8226-mdss.dtsi" -/include/ "msm8226-coresight.dtsi" -/include/ "msm8226-iommu-domains.dtsi" - -&soc { - #address-cells = <1>; - #size-cells = <1>; - ranges; - - intc: interrupt-controller@f9000000 { - compatible = "qcom,msm-qgic2"; - interrupt-controller; - #interrupt-cells = <3>; - reg = <0xF9000000 0x1000>, - <0xF9002000 0x1000>; - }; - - msmgpio: gpio@fd510000 { - compatible = "qcom,msm-gpio"; - interrupt-controller; - #interrupt-cells = <2>; - reg = <0xfd510000 0x4000>; - gpio-controller; - #gpio-cells = <2>; - ngpio = <117>; - interrupts = <0 208 0>; - qcom,direct-connect-irqs = <8>; - }; - - qcom,mpm2-sleep-counter@fc4a3000 { - compatible = "qcom,mpm2-sleep-counter"; - reg = <0xfc4a3000 0x1000>; - clock-frequency = <32768>; - }; - - timer { - compatible = "arm,armv7-timer"; - interrupts = <1 2 0 1 3 0>; - clock-frequency = <19200000>; - }; - - 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 8 0x4>, - <0 7 0x4>; - reg = <0xf9021000 0x1000>, - <0xf9022000 0x1000>; - }; - - frame@f9023000 { - frame-number = <1>; - interrupts = <0 9 0x4>; - reg = <0xf9023000 0x1000>; - status = "disabled"; - }; - - frame@f9024000 { - frame-number = <2>; - interrupts = <0 10 0x4>; - reg = <0xf9024000 0x1000>; - status = "disabled"; - }; - - frame@f9025000 { - frame-number = <3>; - interrupts = <0 11 0x4>; - reg = <0xf9025000 0x1000>; - status = "disabled"; - }; - - frame@f9026000 { - frame-number = <4>; - interrupts = <0 12 0x4>; - reg = <0xf9026000 0x1000>; - status = "disabled"; - }; - - frame@f9027000 { - frame-number = <5>; - interrupts = <0 13 0x4>; - reg = <0xf9027000 0x1000>; - status = "disabled"; - }; - - frame@f9028000 { - frame-number = <6>; - interrupts = <0 14 0x4>; - reg = <0xf9028000 0x1000>; - status = "disabled"; - }; - }; - - qcom,vidc@fdc00000 { - compatible = "qcom,msm-vidc"; - reg = <0xfdc00000 0xff000>; - interrupts = <0 44 0>; - qcom,load-freq-tbl = <352800 160000000>, - <244800 133330000>, - <108000 66700000>; - qcom,hfi = "venus"; - qcom,bus-ports = <1>; - qcom,reg-presets = <0xE0024 0x0>, - <0x80124 0x3>, - <0xE0020 0x5555556>, - <0x800B0 0x10101001>, - <0x800B4 0x00101010>, - <0x800C0 0x1010100f>, - <0x800C4 0x00101010>, - <0x800D0 0x00000010>, - <0x800D4 0x00000010>, - <0x800D8 0x00000707>; - qcom,enc-ddr-ab-ib = <0 0>, - <129000 142000>, - <384000 422000>, - <866000 953000>; - qcom,dec-ddr-ab-ib = <0 0>, - <103000 134000>, - <268000 348000>, - <505000 657000>; - qcom,iommu-groups = <&venus_domain_ns &venus_domain_cp>; - qcom,iommu-group-buffer-types = <0xfff 0x1ff>; - qcom,buffer-type-tz-usage-table = <0x1 0x1>, - <0x1fe 0x2>; - qcom,max-hw-load = <352800>; /* 720p @ 30 + 1080p @ 30 */ - }; - - qcom,wfd { - compatible = "qcom,msm-wfd"; - }; - - serial@f991f000 { - compatible = "qcom,msm-lsuart-v14"; - reg = <0xf991f000 0x1000>; - interrupts = <0 109 0>; - status = "disabled"; - }; - - serial@f995e000 { - compatible = "qcom,msm-lsuart-v14"; - reg = <0xf995e000 0x1000>; - interrupts = <0 114 0>; - status = "disabled"; - }; - - qcom,msm-imem@fe805000 { - compatible = "qcom,msm-imem"; - reg = <0xfe805000 0x1000>; /* Address and size of IMEM */ - }; - - qcom,sps@f9984000 { - compatible = "qcom,msm_sps"; - reg = <0xf9984000 0x15000>, - <0xf9999000 0xb000>; - interrupts = <0 94 0>; - }; - - qcom,usbbam@f9a44000 { - compatible = "qcom,usb-bam-msm"; - reg = <0xf9a44000 0x11000>; - reg-names = "hsusb"; - interrupts = <0 135 0>; - interrupt-names = "hsusb"; - qcom,usb-bam-num-pipes = <16>; - qcom,usb-bam-fifo-baseaddr = <0xfe803000>; - qcom,ignore-core-reset-ack; - qcom,disable-clk-gating; - - qcom,pipe0 { - label = "hsusb-qdss-in-0"; - qcom,usb-bam-mem-type = <3>; - qcom,bam-type = <1>; - 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 = <0xf9a44000>; - qcom,dst-bam-pipe-index = <2>; - qcom,data-fifo-offset = <0x0>; - qcom,data-fifo-size = <0x600>; - qcom,descriptor-fifo-offset = <0x600>; - qcom,descriptor-fifo-size = <0x200>; - }; - }; - - usb_otg: usb@f9a55000 { - compatible = "qcom,hsusb-otg"; - reg = <0xf9a55000 0x400>; - interrupts = <0 134 0>, <0 140 0>; - interrupt-names = "core_irq", "async_irq"; - hsusb_vdd_dig-supply = <&pm8226_s1_corner>; - HSUSB_1p8-supply = <&pm8226_l10>; - HSUSB_3p3-supply = <&pm8226_l20>; - qcom,vdd-voltage-level = <1 5 7>; - - qcom,hsusb-otg-phy-init-seq = - <0x44 0x80 0x68 0x81 0x24 0x82 0x13 0x83 0xffffffff>; - qcom,hsusb-otg-phy-type = <2>; - qcom,hsusb-otg-mode = <1>; - qcom,hsusb-otg-otg-control = <2>; - qcom,hsusb-otg-disable-reset; - qcom,dp-manual-pullup; - - qcom,msm-bus,name = "usb"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <87 512 0 0>, - <87 512 60000 960000>; - }; - - android_usb@fe8050c8 { - compatible = "qcom,android-usb"; - reg = <0xfe8050c8 0xc8>; - qcom,android-usb-cdrom; - qcom,android-usb-swfi-latency = <1>; - }; - - wcd9xxx_intc: wcd9xxx-irq { - compatible = "qcom,wcd9xxx-irq"; - interrupt-controller; - #interrupt-cells = <1>; - interrupt-parent = <&msmgpio>; - interrupts = <68 0>; - interrupt-names = "cdc-int"; - }; - - slim_msm: slim@fe12f000 { - cell-index = <1>; - compatible = "qcom,slim-ngd"; - reg = <0xfe12f000 0x35000>, - <0xfe104000 0x20000>; - reg-names = "slimbus_physical", "slimbus_bam_physical"; - interrupts = <0 163 0>, <0 164 0>; - interrupt-names = "slimbus_irq", "slimbus_bam_irq"; - - tapan_codec { - compatible = "qcom,tapan-slim-pgd"; - elemental-addr = [00 01 E0 00 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>; - qcom,cdc-reset-gpio = <&msmgpio 72 0>; - - cdc-vdd-buck-supply = <&pm8226_s4>; - qcom,cdc-vdd-buck-voltage = <2100000 2100000>; - qcom,cdc-vdd-buck-current = <650000>; - - cdc-vdd-h-supply = <&pm8226_l6>; - qcom,cdc-vdd-h-voltage = <1800000 1800000>; - qcom,cdc-vdd-h-current = <25000>; - - cdc-vdd-px-supply = <&pm8226_l6>; - qcom,cdc-vdd-px-voltage = <1800000 1800000>; - qcom,cdc-vdd-px-current = <25000>; - - cdc-vdd-a-1p2v-supply = <&pm8226_l4>; - qcom,cdc-vdd-a-1p2v-voltage = <1200000 1200000>; - qcom,cdc-vdd-a-1p2v-current = <10000>; - - cdc-vdd-cx-supply = <&pm8226_l4>; - qcom,cdc-vdd-cx-voltage = <1200000 1200000>; - qcom,cdc-vdd-cx-current = <10000>; - - qcom,cdc-static-supplies = "cdc-vdd-buck", - "cdc-vdd-h", - "cdc-vdd-px", - "cdc-vdd-a-1p2v", - "cdc-vdd-cx"; - - qcom,cdc-micbias-ldoh-v = <0x3>; - qcom,cdc-micbias-cfilt1-mv = <1800>; - qcom,cdc-micbias-cfilt2-mv = <2700>; - 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-mclk-clk-rate = <9600000>; - qcom,cdc-slim-ifd = "tapan-slim-ifd"; - qcom,cdc-slim-ifd-elemental-addr = [00 00 E0 00 17 02]; - }; - }; - - qcom,msm-adsp-loader { - compatible = "qcom,adsp-loader"; - qcom,adsp-state = <0>; - }; - - sound { - compatible = "qcom,msm8226-audio-tapan"; - qcom,model = "msm8226-tapan-snd-card"; - qcom,tapan-mclk-clk-freq = <9600000>; - qcom,prim-auxpcm-gpio-clk = <&msmgpio 63 0>; - qcom,prim-auxpcm-gpio-sync = <&msmgpio 64 0>; - qcom,prim-auxpcm-gpio-din = <&msmgpio 65 0>; - qcom,prim-auxpcm-gpio-dout = <&msmgpio 66 0>; - qcom,prim-auxpcm-gpio-set = "prim-gpio-prim"; - }; - - qcom,msm-pcm { - compatible = "qcom,msm-pcm-dsp"; - qcom,msm-pcm-dsp-id = <0>; - }; - - qcom,msm-pcm-routing { - compatible = "qcom,msm-pcm-routing"; - }; - - qcom,msm-pcm-low-latency { - compatible = "qcom,msm-pcm-dsp"; - qcom,msm-pcm-dsp-id = <1>; - qcom,msm-pcm-low-latency; - }; - - qcom,msm-pcm-lpa { - compatible = "qcom,msm-pcm-lpa"; - }; - - qcom,msm-compr-dsp { - compatible = "qcom,msm-compr-dsp"; - }; - - qcom,msm-voip-dsp { - compatible = "qcom,msm-voip-dsp"; - }; - - qcom,msm-pcm-voice { - compatible = "qcom,msm-pcm-voice"; - }; - - qcom,msm-stub-codec { - compatible = "qcom,msm-stub-codec"; - }; - - qcom,msm-dai-fe { - compatible = "qcom,msm-dai-fe"; - }; - - qcom,msm-pcm-afe { - compatible = "qcom,msm-pcm-afe"; - }; - - qcom,msm-dai-q6-hdmi { - compatible = "qcom,msm-dai-q6-hdmi"; - qcom,msm-dai-q6-dev-id = <8>; - }; - - qcom,msm-dai-q6 { - compatible = "qcom,msm-dai-q6"; - qcom,msm-dai-q6-sb-0-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <16384>; - }; - - qcom,msm-dai-q6-sb-0-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <16385>; - }; - - qcom,msm-dai-q6-sb-1-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <16386>; - }; - - qcom,msm-dai-q6-sb-1-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <16387>; - }; - - qcom,msm-dai-q6-sb-3-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <16390>; - }; - - qcom,msm-dai-q6-sb-3-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <16391>; - }; - - qcom,msm-dai-q6-sb-4-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <16392>; - }; - - qcom,msm-dai-q6-sb-4-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <16393>; - }; - - qcom,msm-dai-q6-bt-sco-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <12288>; - }; - - qcom,msm-dai-q6-bt-sco-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <12289>; - }; - - qcom,msm-dai-q6-int-fm-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <12292>; - }; - - qcom,msm-dai-q6-int-fm-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <12293>; - }; - - qcom,msm-dai-q6-be-afe-pcm-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <224>; - }; - - qcom,msm-dai-q6-be-afe-pcm-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <225>; - }; - - qcom,msm-dai-q6-afe-proxy-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <241>; - }; - - qcom,msm-dai-q6-afe-proxy-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <240>; - }; - - qcom,msm-dai-q6-incall-record-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <32771>; - }; - - qcom,msm-dai-q6-incall-record-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <32772>; - }; - - qcom,msm-dai-q6-incall-music-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <32773>; - }; - }; - - qcom,msm-pcm-hostless { - compatible = "qcom,msm-pcm-hostless"; - }; - - qcom,msm-auxpcm { - compatible = "qcom,msm-auxpcm-resource"; - qcom,msm-cpudai-auxpcm-clk = "pcm_clk"; - 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-slot = <1>, <1>; - qcom,msm-cpudai-auxpcm-data = <0>, <0>; - qcom,msm-cpudai-auxpcm-pcm-clk-rate = <2048000>, <2048000>; - - qcom,msm-prim-auxpcm-rx { - qcom,msm-auxpcm-dev-id = <4106>; - compatible = "qcom,msm-auxpcm-dev"; - }; - - qcom,msm-prim-auxpcm-tx { - qcom,msm-auxpcm-dev-id = <4107>; - compatible = "qcom,msm-auxpcm-dev"; - }; - }; - - qcom,wcnss-wlan@fb000000 { - compatible = "qcom,wcnss_wlan"; - reg = <0xfb000000 0x280000>, - <0xf9011008 0x04>; - reg-names = "wcnss_mmio", "wcnss_fiq"; - interrupts = <0 145 0 0 146 0>; - interrupt-names = "wcnss_wlantx_irq", "wcnss_wlanrx_irq"; - - qcom,pronto-vddmx-supply = <&pm8226_l3>; - qcom,pronto-vddcx-supply = <&pm8226_s1>; - qcom,pronto-vddpx-supply = <&pm8226_l6>; - qcom,iris-vddxo-supply = <&pm8226_l10>; - qcom,iris-vddrfa-supply = <&pm8226_l24>; - qcom,iris-vddpa-supply = <&pm8226_l16>; - qcom,iris-vdddig-supply = <&pm8226_l24>; - - gpios = <&msmgpio 40 0>, <&msmgpio 41 0>, <&msmgpio 42 0>, <&msmgpio 43 0>, <&msmgpio 44 0>; - qcom,has-pronto-hw; - qcom,has-autodetect-xo; - }; - - qcom,msm-adsp-sensors { - compatible = "qcom,msm-adsp-sensors"; - qcom,src-id = <11>; - qcom,dst-id = <604>; - qcom,ab = <32505856>; - qcom,ib = <32505856>; - }; - - qcom,wdt@f9017000 { - compatible = "qcom,msm-watchdog"; - reg = <0xf9017000 0x1000>; - interrupts = <0 3 0>, <0 4 0>; - qcom,bark-time = <11000>; - qcom,pet-time = <10000>; - qcom,ipi-ping; - }; - - qcom,smem@fa00000 { - compatible = "qcom,smem"; - reg = <0xfa00000 0x100000>, - <0xf9011000 0x1000>, - <0xfc428000 0x4000>; - reg-names = "smem", "irq-reg-base", "aux-mem1"; - - qcom,smd-modem { - compatible = "qcom,smd"; - qcom,smd-edge = <0>; - qcom,smd-irq-offset = <0x8>; - qcom,smd-irq-bitmask = <0x1000>; - qcom,pil-string = "modem"; - interrupts = <0 25 1>; - }; - - qcom,smsm-modem { - compatible = "qcom,smsm"; - qcom,smsm-edge = <0>; - qcom,smsm-irq-offset = <0x8>; - qcom,smsm-irq-bitmask = <0x2000>; - interrupts = <0 26 1>; - }; - - qcom,smd-adsp { - compatible = "qcom,smd"; - qcom,smd-edge = <1>; - qcom,smd-irq-offset = <0x8>; - qcom,smd-irq-bitmask = <0x100>; - qcom,pil-string = "adsp"; - interrupts = <0 156 1>; - }; - - qcom,smsm-adsp { - compatible = "qcom,smsm"; - qcom,smsm-edge = <1>; - qcom,smsm-irq-offset = <0x8>; - qcom,smsm-irq-bitmask = <0x200>; - interrupts = <0 157 1>; - }; - - qcom,smd-wcnss { - compatible = "qcom,smd"; - qcom,smd-edge = <6>; - qcom,smd-irq-offset = <0x8>; - qcom,smd-irq-bitmask = <0x20000>; - qcom,pil-string = "wcnss"; - interrupts = <0 142 1>; - }; - - qcom,smsm-wcnss { - compatible = "qcom,smsm"; - qcom,smsm-edge = <6>; - qcom,smsm-irq-offset = <0x8>; - qcom,smsm-irq-bitmask = <0x80000>; - interrupts = <0 144 1>; - }; - - qcom,smd-rpm { - compatible = "qcom,smd"; - qcom,smd-edge = <15>; - qcom,smd-irq-offset = <0x8>; - qcom,smd-irq-bitmask = <0x1>; - interrupts = <0 168 1>; - qcom,irq-no-suspend; - }; - }; - - rpm_bus: qcom,rpm-smd { - compatible = "qcom,rpm-smd"; - rpm-channel-name = "rpm_requests"; - rpm-channel-type = <15>; /* SMD_APPS_RPM */ - }; - - qcom,bcl { - compatible = "qcom,bcl"; - }; - - sdcc1: qcom,sdcc@f9824000 { - cell-index = <1>; /* SDC1 eMMC slot */ - compatible = "qcom,msm-sdcc"; - - reg = <0xf9824000 0x800>, - <0xf9824800 0x100>, - <0xf9804000 0x7000>; - reg-names = "core_mem", "dml_mem", "bam_mem"; - interrupts = <0 123 0>, <0 137 0>; - interrupt-names = "core_irq", "bam_irq"; - - qcom,bus-width = <8>; - status = "disabled"; - }; - - sdhc_1: sdhci@f9824900 { - compatible = "qcom,sdhci-msm"; - reg = <0xf9824900 0x11c>, <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>; - status = "disabled"; - }; - - sdcc2: qcom,sdcc@f98a4000 { - cell-index = <2>; /* SDC2 SD card slot */ - compatible = "qcom,msm-sdcc"; - - reg = <0xf98a4000 0x800>, - <0xf98a4800 0x100>, - <0xf9884000 0x7000>; - reg-names = "core_mem", "dml_mem", "bam_mem"; - interrupts = <0 125 0>, <0 220 0>; - interrupt-names = "core_irq", "bam_irq"; - - qcom,bus-width = <4>; - 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"; - - qcom,bus-width = <4>; - status = "disabled"; - }; - - spmi_bus: qcom,spmi@fc4c0000 { - cell-index = <0>; - 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-ee = <0>; - qcom,pmic-arb-channel = <0>; - }; - - i2c@f9926000 { /* BLSP-1 QUP-4 */ - cell-index = <0>; - compatible = "qcom,i2c-qup"; - reg = <0xf9926000 0x1000>; - #address-cells = <1>; - #size-cells = <0>; - reg-names = "qup_phys_addr"; - interrupts = <0 98 0>; - interrupt-names = "qup_err_intr"; - qcom,i2c-bus-freq = <100000>; - }; - - i2c@f9927000 { /* BLSP1 QUP5 */ - cell-index = <5>; - compatible = "qcom,i2c-qup"; - #address-cells = <1>; - #size-cells = <0>; - reg-names = "qup_phys_addr"; - reg = <0xf9927000 0x1000>; - interrupt-names = "qup_err_intr"; - interrupts = <0 99 0>; - qcom,i2c-bus-freq = <384000>; - qcom,i2c-src-freq = <19200000>; - }; - - qcom,acpuclk@f9011050 { - compatible = "qcom,acpuclk-a7"; - reg = <0xf9011050 0x8>; - reg-names = "rcg_base"; - a7_cpu-supply = <&apc_vreg_corner>; - }; - - qcom,ocmem@fdd00000 { - compatible = "qcom,msm-ocmem"; - reg = <0xfdd00000 0x2000>, - <0xfdd02000 0x2000>, - <0xfe039000 0x400>, - <0xfec00000 0x20000>; - 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 = <0x1>; - qcom,ocmem-num-macros = <0x2>; - qcom,resource-type = <0x706d636f>; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0x0 0xfec00000 0x20000>; - - partition@0 { - reg = <0x0 0x20000>; - qcom,ocmem-part-name = "graphics"; - qcom,ocmem-part-min = <0x20000>; - }; - }; - - qcom,venus@fdce0000 { - compatible = "qcom,pil-venus"; - reg = <0xfdce0000 0x4000>, - <0xfdc80000 0x400>; - reg-names = "wrapper_base", "vbif_base"; - vdd-supply = <&gdsc_venus>; - - qcom,firmware-name = "venus"; - }; - - qcom,pronto@fb21b000 { - compatible = "qcom,pil-pronto"; - reg = <0xfb21b000 0x3000>, - <0xfc401700 0x4>, - <0xfd485300 0xc>; - reg-names = "pmu_base", "clk_base", "halt_base"; - interrupts = <0 149 1>; - vdd_pronto_pll-supply = <&pm8226_l8>; - - qcom,firmware-name = "wcnss"; - - /* GPIO inputs from wcnss */ - qcom,gpio-err-fatal = <&smp2pgpio_ssr_smp2p_4_in 0 0>; - qcom,gpio-err-ready = <&smp2pgpio_ssr_smp2p_4_in 1 0>; - qcom,gpio-proxy-unvote = <&smp2pgpio_ssr_smp2p_4_in 2 0>; - - /* GPIO output to wcnss */ - qcom,gpio-force-stop = <&smp2pgpio_ssr_smp2p_4_out 0 0>; - }; - - qcom,iris-fm { - compatible = "qcom,iris_fm"; - }; - - qcom,lpass@fe200000 { - compatible = "qcom,pil-q6v5-lpass"; - reg = <0xfe200000 0x00100>, - <0xfd485100 0x00010>, - <0xfc4016c0 0x00004>; - reg-names = "qdsp6_base", "halt_base", "restart_reg"; - vdd_cx-supply = <&pm8226_s1_corner>; - interrupts = <0 162 1>; - - 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>; - - /* GPIO output to lpass */ - qcom,gpio-force-stop = <&smp2pgpio_ssr_smp2p_2_out 0 0>; - }; - - qcom,mss@fc880000 { - compatible = "qcom,pil-q6v5-mss"; - reg = <0xfc880000 0x100>, - <0xfd485000 0x400>, - <0xfc820000 0x020>, - <0xfc401680 0x004>, - <0xfd485194 0x4>; - reg-names = "qdsp6_base", "halt_base", "rmb_base", - "restart_reg", "cxrail_bhs_reg"; - - interrupts = <0 24 1>; - vdd_cx-supply = <&pm8226_s1_corner>; - vdd_mx-supply = <&pm8226_l3>; - vdd_pll-supply = <&pm8226_l8>; - qcom,vdd_pll = <1800000>; - - qcom,is-loadable; - qcom,firmware-name = "mba"; - qcom,pil-self-auth; - - /* 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>; - }; - - qcom,msm-mem-hole { - compatible = "qcom,msm-mem-hole"; - qcom,memblock-remove = <0x6400000 0x9b00000>; /* Address and Size of Hole */ - }; - - tsens: tsens@fc4a8000 { - compatible = "qcom,msm-tsens"; - reg = <0xfc4a8000 0x2000>, - <0xfc4b8000 0x1000>; - reg-names = "tsens_physical", "tsens_eeprom_physical"; - interrupts = <0 184 0>; - qcom,sensors = <4>; - qcom,slope = <2901 2846 3038 2955>; - qcom,calib-mode = "fuse_map2"; - }; - - qcom,msm-thermal { - compatible = "qcom,msm-thermal"; - qcom,sensor-id = <0>; - qcom,poll-ms = <250>; - qcom,limit-temp = <60>; - qcom,temp-hysteresis = <10>; - qcom,freq-step = <2>; - qcom,freq-control-mask = <0xf>; - }; - - spi_0: 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 0xF000>; - interrupt-names = "spi_irq", "spi_bam_irq"; - interrupts = <0 95 0>, <0 238 0>; - spi-max-frequency = <19200000>; - - gpios = <&msmgpio 3 0>, /* CLK */ - <&msmgpio 1 0>, /* MISO */ - <&msmgpio 0 0>; /* MOSI */ - cs-gpios = <&msmgpio 22 0>; - - qcom,infinite-mode = <0>; - qcom,use-bam; - qcom,ver-reg-exists; - qcom,bam-consumer-pipe-index = <12>; - qcom,bam-producer-pipe-index = <13>; - }; - - qcom,bam_dmux@fc834000 { - compatible = "qcom,bam_dmux"; - reg = <0xfc834000 0x7000>; - interrupts = <0 29 1>; - }; - - qcom,msm-rtb { - compatible = "qcom,msm-rtb"; - qcom,memory-reservation-type = "EBI1"; - qcom,memory-reservation-size = <0x100000>; /* 1M EBI1 buffer */ - }; - - qcom,msm-rng@f9bff000 { - compatible = "qcom,msm-rng"; - reg = <0xf9bff000 0x200>; - qcom,msm-rng-iface-clk; - }; - - qcom,tz-log@fe805720 { - compatible = "qcom,tz-log"; - reg = <0x0fe805720 0x1000>; - }; - - jtag_mm0: jtagmm@fc33c000 { - compatible = "qcom,jtag-mm"; - reg = <0xfc33c000 0x1000>, - <0xfc330000 0x1000>; - reg-names = "etm-base","debug-base"; - }; - - jtag_mm1: jtagmm@fc33d000 { - compatible = "qcom,jtag-mm"; - reg = <0xfc33d000 0x1000>, - <0xfc332000 0x1000>; - reg-names = "etm-base","debug-base"; - }; - - jtag_mm2: jtagmm@fc33e000 { - compatible = "qcom,jtag-mm"; - reg = <0xfc33e000 0x1000>, - <0xfc334000 0x1000>; - reg-names = "etm-base","debug-base"; - }; - - jtag_mm3: jtagmm@fc33f000 { - compatible = "qcom,jtag-mm"; - reg = <0xfc33f000 0x1000>, - <0xfc336000 0x1000>; - reg-names = "etm-base","debug-base"; - }; - - qcom,ipc-spinlock@fd484000 { - compatible = "qcom,ipc-spinlock-sfpb"; - reg = <0xfd484000 0x400>; - qcom,num-locks = <8>; - }; - - qcom,qseecom@d980000 { - compatible = "qcom,qseecom"; - reg = <0xd980000 0x256000>; - reg-names = "secapp-region"; - qcom,disk-encrypt-pipe-pair = <2>; - qcom,hlos-ce-hw-instance = <0>; - qcom,qsee-ce-hw-instance = <0>; - qcom,msm-bus,name = "qseecom-noc"; - qcom,msm-bus,num-cases = <4>; - qcom,msm-bus,active-only = <0>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <55 512 0 0>, - <55 512 3936000 393600>, - <55 512 3936000 393600>, - <55 512 3936000 393600>; - }; - - qcom,qcrypto@fd404000 { - compatible = "qcom,qcrypto"; - reg = <0xfd400000 0x20000>, - <0xfd404000 0x8000>; - reg-names = "crypto-base","crypto-bam-base"; - interrupts = <0 207 0>; - qcom,bam-pipe-pair = <2>; - qcom,ce-hw-instance = <0>; - qcom,ce-hw-shared; - qcom,msm-bus,name = "qcrypto-noc"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,active-only = <0>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <55 512 0 0>, - <55 512 3936000 393600>; - }; - - qcom,qcedev@fd400000 { - compatible = "qcom,qcedev"; - reg = <0xfd400000 0x20000>, - <0xfd404000 0x8000>; - reg-names = "crypto-base","crypto-bam-base"; - interrupts = <0 207 0>; - qcom,bam-pipe-pair = <1>; - qcom,ce-hw-instance = <0>; - qcom,ce-hw-shared; - qcom,msm-bus,name = "qcedev-noc"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,active-only = <0>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <55 512 0 0>, - <55 512 3936000 393600>; - }; - - cpu-pmu { - compatible = "arm,cortex-a7-pmu"; - qcom,irq-is-percpu; - interrupts = <1 7 0xf00>; - }; -}; - -&gdsc_venus { - qcom,clock-names = "core_clk"; - status = "ok"; -}; - -&gdsc_mdss { - qcom,clock-names = "core_clk", "lut_clk"; - status = "ok"; -}; - -&gdsc_jpeg { - qcom,clock-names = "core_clk"; - status = "ok"; -}; - -&gdsc_vfe { - qcom,clock-names = "core_clk", "csi_clk", "cpp_clk"; - status = "ok"; -}; - -&gdsc_oxili_cx { - qcom,clock-names = "core_clk"; - status = "ok"; -}; - -&gdsc_usb_hsic { - status = "ok"; -}; - -/include/ "msm-pm8226-rpm-regulator.dtsi" -/include/ "msm-pm8226.dtsi" -/include/ "msm8226-regulator.dtsi" - -&pm8226_vadc { - chan@0 { - label = "usb_in"; - reg = <0>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <4>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@2 { - label = "vchg_sns"; - reg = <2>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <3>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@5 { - label = "vcoin"; - reg = <5>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <1>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@6 { - label = "vbat_sns"; - reg = <6>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <1>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@7 { - label = "vph_pwr"; - reg = <7>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <1>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@30 { - label = "batt_therm"; - reg = <0x30>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <1>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@31 { - label = "batt_id"; - reg = <0x31>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@b2 { - label = "xo_therm_pu2"; - reg = <0xb2>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <4>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@39 { - label = "usb_id_nopull"; - reg = <0x39>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; -}; - -&pm8226_adc_tm { - /* Channel Node */ - chan@30 { - label = "batt_therm"; - reg = <0x30>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <1>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <3>; - qcom,btm-channel-number = <0x48>; - }; - - chan@8 { - label = "die_temp"; - reg = <8>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <3>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <3>; - qcom,btm-channel-number = <0x68>; - }; - - chan@6 { - label = "vbat_sns"; - reg = <6>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <1>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <3>; - qcom,btm-channel-number = <0x70>; - }; - - chan@14 { - label = "pa_therm0"; - reg = <0x14>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - qcom,btm-channel-number = <0x78>; - qcom,thermal-node; - }; - - chan@17 { - label = "pa_therm1"; - reg = <0x17>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - qcom,btm-channel-number = <0x80>; - qcom,thermal-node; - }; -}; - -&pm8226_chg { - status = "ok"; - - qcom,chgr@1000 { - status = "ok"; - }; - - qcom,buck@1100 { - status = "ok"; - }; - - qcom,bat-if@1200 { - status = "ok"; - }; - - qcom,usb-chgpth@1300 { - status = "ok"; - }; - - qcom,boost@1500 { - status = "ok"; - }; - - qcom,chg-misc@1600 { - status = "ok"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8610-bus.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v2/msm8610-bus.dtsi deleted file mode 100644 index d9bb6ab20..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8610-bus.dtsi +++ /dev/null @@ -1,1014 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -&soc { - msm-mmss-noc@fc478000 { - compatible = "msm-bus-fabric"; - reg = <0xfc478000 0x00004000>; - cell-id = <2048>; - label = "msm_mmss_noc"; - qcom,fabclk-dual = "bus_clk"; - qcom,fabclk-active = "bus_a_clk"; - qcom,ntieredslaves = <0>; - qcom,qos-freq = <4800>; - qcom,hw-sel = "NoC"; - qcom,rpm-en; - - coresight-id = <52>; - coresight-name = "coresight-mnoc"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_in0>; - coresight-child-ports = <5>; - - mas-mdp-port0 { - cell-id = <22>; - label = "mas-mdp-port0"; - qcom,masterp = <2>; - qcom,tier = <2>; - qcom,hw-sel = "NoC"; - qcom,perm-mode = "Fixed"; - qcom,mode = "Fixed"; - qcom,qport = <0>; - qcom,ws = <10000>; - qcom,mas-hw-id = <8>; - qcom,prio1 = <2>; - qcom,prio0 = <2>; - }; - - mas-vfe { - cell-id = <29>; - label = "mas-vfe"; - qcom,masterp = <3>; - qcom,tier = <2>; - qcom,hw-sel = "NoC"; - qcom,perm-mode = "Bypass"; - qcom,mode = "Bypass"; - qcom,ws = <10000>; - qcom,qport = <2>; - qcom,mas-hw-id = <11>; - qcom,prio1 = <2>; - qcom,prio0 = <2>; - }; - - mas-mdpe { - cell-id = <92>; - label = "mas-mdpe"; - qcom,masterp = <4>; - qcom,tier = <2>; - qcom,hw-sel = "NoC"; - qcom,perm-mode = "Fixed"; - qcom,mode = "Fixed"; - qcom,ws = <10000>; - qcom,qport = <7>; - qcom,mas-hw-id = <11>; - qcom,prio1 = <2>; - qcom,prio0 = <2>; - }; - - fab-bimc { - cell-id = <0>; - label = "fab-bimc"; - qcom,gateway; - qcom,slavep = <16>; - qcom,buswidth = <8>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <16>; - }; - - slv-camera-cfg { - cell-id = <589>; - label = "slv-camera-cfg"; - qcom,slavep = <0>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <3>; - }; - - slv-display-cfg { - cell-id = <590>; - label = "slv-display-cfg"; - qcom,slavep = <1>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <4>; - }; - - slv-cpr-cfg { - cell-id = <592>; - label = "slv-cpr-cfg"; - qcom,slavep = <3>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <6>; - }; - - slv-cpr-xpu-cfg { - cell-id = <593>; - label = "slv-cpr-xpu-cfg"; - qcom,slavep = <4>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <7>; - }; - - slv-misc-cfg { - cell-id = <594>; - label = "slv-misc-cfg"; - qcom,slavep = <6>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <8>; - }; - - slv-misc-xpu-cfg { - cell-id = <595>; - label = "slv-misc-xpu-cfg"; - qcom,slavep = <7>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <9>; - }; - - slv-gfx3d-cfg { - cell-id = <598>; - label = "slv-gfx3d-cfg"; - qcom,slavep = <9>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <11>; - }; - - slv-mmss-clk-cfg { - cell-id = <599>; - label = "slv-mmss-clk-cfg"; - qcom,slavep = <11>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <12>; - }; - - slv-mmss-clk-xpu-cfg { - cell-id = <600>; - label = "slv-mmss-clk-xpu-cfg"; - qcom,slavep = <12>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <13>; - }; - - slv-mnoc-mpu-cfg { - cell-id = <601>; - label = "slv-mnoc-mpu-cfg"; - qcom,slavep = <13>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <14>; - }; - - slv-onoc-mpu-cfg { - cell-id = <602>; - label = "slv-onoc-mpu-cfg"; - qcom,slavep = <14>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <15>; - }; - - slv-service-mnoc { - cell-id = <603>; - label = "slv-service-mnoc"; - qcom,slavep = <18>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <17>; - }; - - slv-dsi-cfg { - cell-id = <649>; - label = "slv-dsi-cfg"; - qcom,slavep = <19>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <19>; - }; - }; - - msm-sys-noc@fc460000 { - compatible = "msm-bus-fabric"; - reg = <0xfc460000 0x00004000>; - cell-id = <1024>; - label = "msm_sys_noc"; - qcom,fabclk-dual = "bus_clk"; - qcom,fabclk-active = "bus_a_clk"; - qcom,ntieredslaves = <0>; - qcom,qos-freq = <4800>; - qcom,hw-sel = "NoC"; - qcom,rpm-en; - - coresight-id = <50>; - coresight-name = "coresight-snoc"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_in0>; - coresight-child-ports = <3>; - - mas-lpass-ahb { - cell-id = <52>; - label = "mas-lpass-ahb"; - qcom,masterp = <0>; - qcom,tier = <2>; - qcom,mas-hw-id = <18>; - }; - - mas-qdss-bam { - cell-id = <53>; - label = "mas-qdss-bam"; - qcom,masterp = <1>; - qcom,tier = <2>; - qcom,mas-hw-id = <19>; - }; - - mas-snoc-cfg { - cell-id = <54>; - label = "mas-snoc-cfg"; - qcom,masterp = <2>; - qcom,tier = <2>; - qcom,mas-hw-id = <20>; - }; - - fab-bimc { - cell-id = <0>; - label= "fab-bimc"; - qcom,gateway; - qcom,slavep = <7>; - qcom,masterp = <3>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <21>; - qcom,slv-hw-id = <24>; - }; - - fab-cnoc { - cell-id = <5120>; - label = "fab-cnoc"; - qcom,gateway; - qcom,slavep = <8>; - qcom,masterp = <4>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <22>; - qcom,slv-hw-id = <25>; - }; - - fab-pnoc { - cell-id = <4096>; - label = "fab-pnoc"; - qcom,gateway; - qcom,slavep = <10>; - qcom,masterp = <10>; - qcom,buswidth = <8>; - qcom,qport = <8>; - qcom,mas-hw-id = <29>; - qcom,slv-hw-id = <28>; - qcom,mode = "Fixed"; - qcom,prio0 = <2>; - qcom,prio1 = <2>; - }; - - fab-ovnoc { - cell-id = <6144>; - label = "fab-ovnoc"; - qcom,gateway; - qcom,buswidth = <8>; - qcom,mas-hw-id = <53>; - qcom,slv-hw-id = <77>; - }; - - mas-crypto-core0 { - cell-id = <55>; - label = "mas-crypto-core0"; - qcom,masterp = <5>; - qcom,tier = <2>; - qcom,mas-hw-id = <23>; - qcom,hw-sel = "NoC"; - qcom,prio0 = <1>; - qcom,prio1 = <1>; - }; - - mas-mss { - cell-id = <38>; - label = "mas-mss"; - qcom,masterp = <7>; - qcom,tier = <2>; - qcom,mas-hw-id = <26>; - }; - - mas-mss-nav { - cell-id = <57>; - label = "mas-mss-nav"; - qcom,masterp = <8>; - qcom,tier = <2>; - qcom,mas-hw-id = <27>; - }; - - mas-ocmem-dma { - cell-id = <58>; - label = "mas-ocmem-dma"; - qcom,masterp = <9>; - qcom,tier = <2>; - qcom,mode = "Fixed"; - qcom,qport = <7>; - qcom,mas-hw-id = <28>; - }; - - mas-wcss { - cell-id = <59>; - label = "mas-wcss"; - qcom,masterp = <11>; - qcom,tier = <2>; - qcom,mas-hw-id = <30>; - }; - - mas-qdss-etr { - cell-id = <60>; - label = "mas-qdss-etr"; - qcom,masterp = <12>; - qcom,tier = <2>; - qcom,qport = <10>; - qcom,mode = "Fixed"; - qcom,mas-hw-id = <31>; - }; - - slv-ocmem { - cell-id = <604>; - label = "slv-gmem"; - qcom,slavep = <15>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <18>; - }; - - slv-ampss { - cell-id = <520>; - label = "slv-ampss"; - qcom,slavep = <1>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <20>; - }; - - slv-lpass { - cell-id = <522>; - label = "slv-lpass"; - qcom,slavep = <2>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <21>; - }; - - slv-wcss { - cell-id = <584>; - label = "slv-wcss"; - qcom,slavep = <6>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <23>; - }; - - slv-ocimem { - cell-id = <585>; - label = "slv-ocimem"; - qcom,slavep = <10>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <26>; - }; - - slv-service-snoc { - cell-id = <587>; - label = "slv-service-snoc"; - qcom,slavep = <11>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <29>; - }; - - slv-qdss-stm { - cell-id = <588>; - label = "slv-qdss-stm"; - qcom,slavep = <12>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <30>; - }; - - }; - - msm-periph-noc@fc468000 { - compatible = "msm-bus-fabric"; - reg = <0xfc468000 0x00004000>; - cell-id = <4096>; - label = "msm_periph_noc"; - qcom,fabclk-dual = "bus_clk"; - qcom,fabclk-active = "bus_a_clk"; - qcom,ntieredslaves = <0>; - qcom,hw-sel = "NoC"; - qcom,rpm-en; - - coresight-id = <54>; - coresight-name = "coresight-pnoc"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_in0>; - coresight-child-ports = <6>; - - mas-pnoc-cfg { - cell-id = <88>; - label = "mas-pnoc-cfg"; - qcom,masterp = <7>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <43>; - }; - - mas-sdcc-1 { - cell-id = <78>; - label = "mas-sdcc-1"; - qcom,masterp = <0>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <33>; - }; - - mas-sdcc-2 { - cell-id = <81>; - label = "mas-sdcc-2"; - qcom,masterp = <2>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <35>; - }; - - mas-blsp-1 { - cell-id = <86>; - label = "mas-blsp-1"; - qcom,masterp = <5>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <41>; - }; - - mas-usb-hs { - cell-id = <87>; - label = "mas-usb-hs"; - qcom,masterp = <6>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <42>; - }; - - fab-snoc { - cell-id = <1024>; - label = "fab-snoc"; - qcom,gateway; - qcom,slavep = <12>; - qcom,masterp = <8>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <45>; - qcom,mas-hw-id = <44>; - }; - - slv-sdcc-1 { - cell-id = <606>; - label = "slv-sdcc-1"; - qcom,slavep = <0>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <31>; - }; - - slv-sdcc-2 { - cell-id = <608>; - label = "slv-sdcc-2"; - qcom,slavep = <2>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <33>; - }; - - slv-blsp-1 { - cell-id = <613>; - label = "slv-blsp-1"; - qcom,slavep = <5>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <39>; - }; - - slv-usb-hs { - cell-id = <614>; - label = "slv-usb-hs"; - qcom,slavep = <6>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <40>; - }; - - slv-pdm { - cell-id = <615>; - label = "slv-pdm"; - qcom,slavep = <7>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <41>; - }; - - slv-periph-apu-cfg { - cell-id = <616>; - label = "slv-periph-apu-cfg"; - qcom,slavep = <8>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <42>; - }; - - slv-pnoc-mpu-cfg { - cell-id = <617>; - label = "slv-pnoc-mpu-cfg"; - qcom,slavep = <9>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <43>; - }; - - slv-prng { - cell-id = <618>; - label = "slv-prng"; - qcom,slavep = <10>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <44>; - }; - - slv-service-pnoc { - cell-id = <619>; - label = "slv-service-pnoc"; - qcom,slavep = <12>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <46>; - }; - - }; - - msm-config-noc@fc480000 { - compatible = "msm-bus-fabric"; - reg = <0xfc480000 0x00004000>; - cell-id = <5120>; - label = "msm_config_noc"; - qcom,fabclk-dual = "bus_clk"; - qcom,fabclk-active = "bus_a_clk"; - qcom,ntieredslaves = <0>; - qcom,hw-sel = "NoC"; - qcom,rpm-en; - - mas-rpm-inst { - cell-id = <72>; - label = "mas-rpm-inst"; - qcom,masterp = <0>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <45>; - }; - - mas-rpm-data { - cell-id = <73>; - label = "mas-rpm-data"; - qcom,masterp = <1>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <46>; - }; - - mas-rpm-sys { - cell-id = <74>; - label = "mas-rpm-sys"; - qcom,masterp = <2>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <47>; - }; - - mas-dehr { - cell-id = <75>; - label = "mas-dehr"; - qcom,masterp = <3>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <48>; - }; - - mas-qdss-dsp { - cell-id = <76>; - label = "mas-qdss-dap"; - qcom,masterp = <4>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <49>; - }; - - mas-spdm { - cell-id = <36>; - label = "mas-spdm"; - qcom,masterp = <5>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <50>; - }; - - mas-tic { - cell-id = <77>; - label = "mas-tic"; - qcom,masterp = <6>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <51>; - }; - - slv-clk-ctl { - cell-id = <620>; - label = "slv-clk-ctl"; - qcom,slavep = <1>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <47>; - }; - - slv-cnoc-mss { - cell-id = <621>; - label = "slv-cnoc-mss"; - qcom,slavep = <2>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <48>; - }; - - slv-security { - cell-id = <622>; - label = "slv-security"; - qcom,slavep = <3>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <49>; - }; - - slv-tcsr { - cell-id = <623>; - label = "slv-tcsr"; - qcom,slavep = <4>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <50>; - }; - - slv-tlmm { - cell-id = <624>; - label = "slv-tlmm"; - qcom,slavep = <5>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <51>; - }; - - slv-crypto-0-cfg { - cell-id = <625>; - label = "slv-crypto-0-cfg"; - qcom,slavep = <6>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <52>; - }; - - slv-imem-cfg { - cell-id = <627>; - label = "slv-imem-cfg"; - qcom,slavep = <7>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <54>; - }; - - slv-message-ram { - cell-id = <628>; - label = "slv-message-ram"; - qcom,slavep = <8>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <55>; - }; - - slv-bimc-cfg { - cell-id = <629>; - label = "slv-bimc-cfg"; - qcom,slavep = <9>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <56>; - }; - - slv-boot-rom { - cell-id = <630>; - label = "slv-boot-rom"; - qcom,slavep = <10>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <57>; - }; - - slv-pmic-arb { - cell-id = <632>; - label = "slv-pmic-arb"; - qcom,slavep = <12>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <59>; - }; - - slv-spdm-wrapper { - cell-id = <633>; - label = "slv-spdm-wrapper"; - qcom,slavep = <13>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <60>; - }; - - slv-dehr-cfg { - cell-id = <634>; - label = "slv-dehr-cfg"; - qcom,slavep = <14>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <61>; - }; - - slv-mpm { - cell-id = <536>; - label = "slv-mpm"; - qcom,slavep = <15>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <62>; - }; - - slv-qdss-cfg { - cell-id = <635>; - label = "slv-qdss-cfg"; - qcom,slavep = <16>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <63>; - }; - - slv-rbcpr-cfg { - cell-id = <636>; - label = "slv-rbcpr-cfg"; - qcom,slavep = <17>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <64>; - }; - - slv-rbcpr-qdss-apu-cfg { - cell-id = <637>; - label = "slv-rbcpr-qdss-apu-cfg"; - qcom,slavep = <18>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <65>; - }; - - fab-snoc { - cell-id = <1024>; - label = "fab-snoc"; - qcom,gateway; - qcom,slavep = <26>; - qcom,masterp = <7>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <52>; - qcom,slv-hw-id = <75>; - }; - - slv-cnoc-mnoc-mmss-cfg { - cell-id = <631>; - label = "slv-cnoc-mnoc-mmss-cfg"; - qcom,slavep = <11>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <58>; - }; - - slv-cnoc-mnoc-cfg { - cell-id = <640>; - label = "slv-cnoc-mnoc-cfg"; - qcom,slavep = <19>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <66>; - }; - - slv-pnoc-cfg { - cell-id = <641>; - label = "slv-pnoc-cfg"; - qcom,slavep = <21>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <69>; - }; - - slv-snoc-mpu-cfg { - cell-id = <638>; - label = "slv-snoc-mpu-cfg"; - qcom,slavep = <20>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <67>; - }; - - slv-snoc-cfg { - cell-id = <642>; - label = "slv-snoc-cfg"; - qcom,slavep = <22>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <70>; - }; - - slv-phy-apu-cfg { - cell-id = <644>; - label = "slv-phy-apu-cfg"; - qcom,slavep = <23>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <72>; - }; - - slv-ebi1-phy-cfg { - cell-id = <645>; - label = "slv-ebi1-phy-cfg"; - qcom,slavep = <24>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <73>; - }; - - slv-rpm { - cell-id = <534>; - label = "slv-rpm"; - qcom,slavep = <25>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <74>; - }; - - slv-service-cnoc { - cell-id = <646>; - label = "slv-service-cnoc"; - qcom,slavep = <27>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <76>; - }; - - }; - - msm-bimc@0xfc380000 { - compatible = "msm-bus-fabric"; - reg = <0xfc380000 0x0006A000>; - cell-id = <0>; - label = "msm_bimc"; - qcom,fabclk-dual = "mem_clk"; - qcom,fabclk-active = "mem_a_clk"; - qcom,ntieredslaves = <0>; - qcom,qos-freq = <4800>; - qcom,hw-sel = "BIMC"; - qcom,rpm-en; - - coresight-id = <55>; - coresight-name = "coresight-bimc"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_in1>; - coresight-child-ports = <3>; - - mas-ampss-m0 { - cell-id = <1>; - label = "mas-ampss-m0"; - qcom,masterp = <0>; - qcom,tier = <2>; - qcom,hw-sel = "BIMC"; - qcom,mode = "Fixed"; - qcom,qport = <0>; - qcom,ws = <10000>; - qcom,mas-hw-id = <0>; - qcom,prio-rd = <1>; - qcom,prio-wr = <1>; - qcom,prio-lvl = <1>; - }; - - mas-mss-proc { - cell-id = <65>; - label = "mas-mss-proc"; - qcom,masterp = <3>; - qcom,tier = <2>; - qcom,hw-sel = "RPM"; - qcom,mas-hw-id = <1>; - }; - - fab-mmss-noc { - cell-id = <2048>; - label = "fab_mmss_noc"; - qcom,masterp = <1>; - qcom,qport = <1>; - qcom,buswidth = <8>; - qcom,ws = <10000>; - qcom,mas-hw-id = <2>; - qcom,hw-sel = "BIMC"; - qcom,mode = "Bypass"; - }; - - fab-snoc { - cell-id = <1024>; - label = "fab-snoc"; - qcom,gateway; - qcom,slavep = <2>; - qcom,masterp = <2>; - qcom,qport = <2>; - qcom,buswidth = <8>; - qcom,ws = <10000>; - qcom,mas-hw-id = <3>; - qcom,slv-hw-id = <2>; - }; - - mas-lpass-proc { - cell-id = <11>; - label = "mas-lpass-proc"; - qcom,masterp = <4>; - qcom,tier = <2>; - qcom,qport = <4>; - qcom,mas-hw-id = <25>; - qcom,mode = "Fixed"; - qcom,prio0 = <1>; - qcom,prio1 = <1>; - }; - - mas-gfx3d { - cell-id = <26>; - label = "mas-gfx3d"; - qcom,masterp = <5>; - qcom,tier = <2>; - qcom,hw-sel = "BIMC"; - qcom,perm-mode = "Fixed"; - qcom,mode = "Fixed"; - qcom,ws = <10000>; - qcom,qport = <5>; - qcom,mas-hw-id = <6>; - }; - - - slv-ebi-ch0 { - cell-id = <512>; - label = "slv-ebi-ch0"; - qcom,slavep = <0>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <0>; - }; - }; - -}; - - diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8610-camera-sensor-cdp-mtp.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v2/msm8610-camera-sensor-cdp-mtp.dtsi deleted file mode 100644 index d05726006..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8610-camera-sensor-cdp-mtp.dtsi +++ /dev/null @@ -1,116 +0,0 @@ -/* - * Copyright (c) 2013, 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. - */ - -&i2c { - - led_flash0: qcom,led-flash@60 { - cell-index = <0>; - reg = <0x60>; - qcom,slave-id = <0x60 0x00 0x0011>; - compatible = "qcom,led-flash"; - qcom,flash-name = "adp1600"; - qcom,flash-type = <1>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 18 0>, - <&msmgpio 19 0>; - qcom,gpio-flash-en = <0>; - qcom,gpio-flash-now = <1>; - qcom,gpio-req-tbl-num = <0 1>; - qcom,gpio-req-tbl-flags = <0 0>; - qcom,gpio-req-tbl-label = "FLASH_EN", - "FLASH_NOW"; - }; - - actuator0: qcom,actuator@6e { - cell-index = <3>; - reg = <0x6c>; - compatible = "qcom,actuator"; - qcom,cci-master = <0>; - }; - - qcom,camera@6f { - compatible = "qcom,ov8825"; - reg = <0x6f>; - qcom,slave-id = <0x6c 0x300a 0x8825>; - qcom,csiphy-sd-index = <0>; - qcom,csid-sd-index = <0>; - qcom,actuator-src = <&actuator0>; - qcom,led-flash-src = <&led_flash0>; - qcom,mount-angle = <90>; - qcom,sensor-name = "ov8825"; - cam_vdig-supply = <&pm8110_l2>; - cam_vana-supply = <&pm8110_l19>; - cam_vio-supply = <&pm8110_l14>; - cam_vaf-supply = <&pm8110_l16>; - qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana", - "cam_vaf"; - qcom,cam-vreg-type = <0 0 0 0>; - qcom,cam-vreg-min-voltage = <1200000 1800000 2850000 3000000>; - qcom,cam-vreg-max-voltage = <1200000 1800000 2850000 3000000>; - qcom,cam-vreg-op-mode = <200000 8000 80000 100000>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 13 0>, - <&msmgpio 21 0>, - <&msmgpio 20 0>; - qcom,gpio-reset = <1>; - qcom,gpio-standby = <2>; - qcom,gpio-req-tbl-num = <0 1 2>; - qcom,gpio-req-tbl-flags = <1 0 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1", - "CAM_STANDBY"; - qcom,csi-lane-assign = <0xe4>; - qcom,csi-lane-mask = <0x3>; - qcom,sensor-position = <0>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - }; - - qcom,camera@6d { - compatible = "qcom,ov9724"; - reg = <0x6d>; - qcom,slave-id = <0x20 0x0 0x9724>; - qcom,csiphy-sd-index = <1>; - qcom,csid-sd-index = <0>; - qcom,mount-angle = <90>; - qcom,sensor-name = "ov9724"; - cam_vdig-supply = <&pm8110_l4>; - cam_vana-supply = <&pm8110_l19>; - cam_vio-supply = <&pm8110_l14>; - qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana"; - qcom,cam-vreg-type = <0 1 0>; - qcom,cam-vreg-min-voltage = <1200000 0 2850000>; - qcom,cam-vreg-max-voltage = <1200000 0 2850000>; - qcom,cam-vreg-op-mode = <200000 0 80000>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 14 0>, - <&msmgpio 15 0>, - <&msmgpio 8 0>; - qcom,gpio-reset = <1>; - qcom,gpio-standby = <2>; - qcom,gpio-req-tbl-num = <0 1 2>; - qcom,gpio-req-tbl-flags = <1 0 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET", - "CAM_STANDBY"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 4000>; - qcom,csi-lane-assign = <0xe4>; - qcom,csi-lane-mask = <0x1>; - qcom,sensor-position = <1>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - status = "ok"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8610-camera.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v2/msm8610-camera.dtsi deleted file mode 100644 index b1c94dd24..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8610-camera.dtsi +++ /dev/null @@ -1,80 +0,0 @@ -/* - * Copyright (c) 2013, 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. - */ - -&soc{ - qcom,msm-cam@fd8c0000 { - compatible = "qcom,msm-cam"; - reg = <0xfd8C0000 0x10000>; - reg-names = "msm-cam"; - }; - - qcom,csiphy@fda00c00 { - cell-index = <0>; - compatible = "qcom,csiphy"; - reg = <0xfda00c00 0x1f4>; - reg-names = "csiphy"; - interrupts = <0 78 0>; - interrupt-names = "csiphy"; - }; - - qcom,csiphy@fda01000 { - cell-index = <1>; - compatible = "qcom,csiphy"; - reg = <0xfda01000 0x1f4>; - reg-names = "csiphy"; - interrupts = <0 79 0>; - interrupt-names = "csiphy"; - }; - - qcom,csid@fda00000 { - cell-index = <0>; - compatible = "qcom,csid"; - reg = <0xfda00000 0x100>; - reg-names = "csid"; - interrupts = <0 50 0>; - interrupt-names = "csid"; - qcom,csi-vdd-voltage = <1200000>; - qcom,mipi-csi-vdd-supply = <&pm8110_l4>; - }; - - qcom,csid@fda00400 { - cell-index = <1>; - compatible = "qcom,csid"; - reg = <0xfda00400 0x100>; - reg-names = "csid"; - interrupts = <0 51 0>; - interrupt-names = "csid"; - qcom,csi-vdd-voltage = <1200000>; - qcom,mipi-csi-vdd-supply = <&pm8110_l4>; - }; - - qcom,ispif@fda00800 { - cell-index = <0>; - compatible = "qcom,ispif"; - reg = <0xfda00800 0x200>; - reg-names = "ispif"; - interrupts = <0 52 0>; - interrupt-names = "ispif"; - }; - - qcom,vfe@fde00000 { - cell-index = <0>; - compatible = "qcom,vfe32"; - reg = <0xfde00000 0x800>; - reg-names = "vfe", "vfe_vbif"; - interrupts = <0 49 0>; - interrupt-names = "vfe"; - vdd-supply = <&gdsc_vfe>; - }; - -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8610-cdp.dts b/kernel/arch/arm/boot/dts/m7350-un-v2/msm8610-cdp.dts deleted file mode 100644 index bbdc2b8df..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8610-cdp.dts +++ /dev/null @@ -1,396 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; - -/include/ "msm8610.dtsi" -/include/ "dsi-v2-panel-truly-wvga-video.dtsi" -/include/ "msm8610-camera-sensor-cdp-mtp.dtsi" - -/ { - model = "Qualcomm MSM 8610 CDP"; - compatible = "qcom,msm8610-cdp", "qcom,msm8610", "qcom,cdp"; - qcom,msm-id = <147 1 0>, <165 1 0>, <161 1 0>, <162 1 0>, - <163 1 0>, <164 1 0>, <166 1 0>; -}; - -&soc { - serial@f991e000 { - status = "ok"; - }; - - i2c@f9923000{ - atmel_mxt_ts@4a { - compatible = "atmel,mxt-ts"; - reg = <0x4a>; - interrupt-parent = <&msmgpio>; - interrupts = <1 0x2>; - vdd_ana-supply = <&pm8110_l19>; - vcc_i2c-supply = <&pm8110_l14>; - atmel,reset-gpio = <&msmgpio 0 0x00>; - atmel,irq-gpio = <&msmgpio 1 0x00>; - atmel,panel-coords = <0 0 508 880>; - atmel,display-coords = <0 0 480 800>; - atmel,i2c-pull-up; - atmel,no-force-update; - atmel,cfg_1 { - atmel,family-id = <0x81>; - atmel,variant-id = <0x15>; - atmel,version = <0x11>; - atmel,build = <0xaa>; - atmel,config = [ - /* Object 6, Instance = 0 */ - 00 00 00 00 00 00 - /* Object 38, Instance = 0 */ - 1D 01 00 0C 04 0D 00 00 - /* Object 7, Instance = 0 */ - 20 08 32 - /* Object 8, Instance = 0 */ - 19 00 14 14 FF 00 FF 00 00 00 - /* Object 9, Instance = 0 */ - 83 00 00 13 0B 00 20 32 01 03 - 00 32 05 30 0A 05 0A 00 70 03 - FC 01 00 36 2F 2C 00 00 40 00 - 00 0A 00 00 02 - /* Object 18, Instance = 0 */ - 00 00 - /* Object 19, Instance = 0 */ - 00 00 00 00 00 00 - /* Object 25, Instance = 0 */ - 03 00 18 79 A8 61 - /* Object 58, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 - /* Object 42, Instance = 0 */ - 00 00 00 00 00 00 00 00 - /* Object 46, Instance = 0 */ - 04 03 08 10 00 00 00 00 00 - /* Object 47, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - /* Object 48, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 - /* Object 55, Instance = 0 */ - 00 00 00 00 - ]; - }; - }; - }; - - gen-vkeys { - compatible = "qcom,gen-vkeys"; - label = "atmel_mxt_ts"; - qcom,disp-maxx = <480>; - qcom,disp-maxy = <800>; - qcom,panel-maxx = <508>; - qcom,panel-maxy = <880>; - qcom,key-codes = <158 102 139>; - qcom,y-offset = <35>; - }; - - gpio_keys { - compatible = "gpio-keys"; - input-name = "gpio-keys"; - - camera_snapshot { - label = "camera_snapshot"; - gpios = <&msmgpio 73 0x1>; - linux,input-type = <1>; - linux,code = <0x2fe>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - - camera_focus { - label = "camera_focus"; - gpios = <&msmgpio 74 0x1>; - linux,input-type = <1>; - linux,code = <0x210>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - - vol_up { - label = "volume_up"; - gpios = <&msmgpio 72 0x1>; - linux,input-type = <1>; - linux,code = <115>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - }; - - sound { - qcom,audio-routing = - "RX_BIAS", "MCLK", - "INT_LDO_H", "MCLK", - "MIC BIAS External", "Handset Mic", - "MIC BIAS Internal2", "Headset Mic", - "AMIC1", "MIC BIAS External", - "AMIC2", "MIC BIAS Internal2"; - }; -}; - -&i2c_cdc { - msm8x10_wcd_codec@0d{ - compatible = "qcom,msm8x10-wcd-i2c"; - reg = <0x0d>; - cdc-vdda-cp-supply = <&pm8110_s4>; - qcom,cdc-vdda-cp-voltage = <2150000 2150000>; - qcom,cdc-vdda-cp-current = <650000>; - - cdc-vdda-h-supply = <&pm8110_l6>; - qcom,cdc-vdda-h-voltage = <1800000 1800000>; - qcom,cdc-vdda-h-current = <250000>; - - cdc-vdd-px-supply = <&pm8110_l6>; - qcom,cdc-vdd-px-voltage = <1800000 1800000>; - qcom,cdc-vdd-px-current = <10000>; - - cdc-vdd-1p2v-supply = <&pm8110_l4>; - qcom,cdc-vdd-1p2v-voltage = <1200000 1200000>; - qcom,cdc-vdd-1p2v-current = <5000>; - - cdc-vdd-mic-bias-supply = <&pm8110_l20>; - qcom,cdc-vdd-mic-bias-voltage = <3075000 3075000>; - qcom,cdc-vdd-mic-bias-current = <25000>; - - qcom,cdc-micbias-cfilt-sel = <0x0>; - qcom,cdc-micbias-cfilt-mv = <1800000>; - qcom,cdc-mclk-clk-rate = <12288000>; - }; - - msm8x10_wcd_codec@77{ - compatible = "qcom,msm8x10-wcd-i2c"; - reg = <0x77>; - }; - - msm8x10_wcd_codec@66{ - compatible = "qcom,msm8x10-wcd-i2c"; - reg = <0x66>; - }; - - msm8x10_wcd_codec@55{ - compatible = "qcom,msm8x10-wcd-i2c"; - reg = <0x55>; - }; -}; - -&spmi_bus { - qcom,pm8110@0 { - qcom,leds@a100 { - status = "okay"; - qcom,led_mpp_2 { - label = "mpp"; - linux,name = "button-backlight"; - linux-default-trigger = "hr-trigger"; - qcom,default-state = "off"; - qcom,max-current = <40>; - qcom,id = <6>; - qcom,source-sel = <1>; - qcom,mode-ctrl = <0x60>; - qcom,mode = "manual"; - }; - }; - - qcom,leds@a200 { - status = "okay"; - qcom,led_mpp_3 { - label = "mpp"; - linux,name = "wled-backlight"; - linux,default-trigger = "bkl-trigger"; - qcom,default-state = "on"; - qcom,max-current = <40>; - qcom,id = <6>; - qcom,source-sel = <1>; - qcom,mode-ctrl = <0x10>; - qcom,mode = "manual"; - }; - }; - }; -}; - -&spmi_bus { - qcom,pm8110@1 { - qcom,vibrator@c000 { - status = "okay"; - qcom,vib-timeout-ms = <15000>; - qcom,vib-vtg-level-mV = <3100>; - }; - }; -}; - -&sdhc_1 { - vdd-supply = <&pm8110_l17>; - qcom,vdd-always-on; - qcom,vdd-lpm-sup; - qcom,vdd-voltage-level = <2900000 2900000>; - qcom,vdd-current-level = <200 400000>; - - vdd-io-supply = <&pm8110_l6>; - qcom,vdd-io-always-on; - qcom,vdd-io-lpm-sup; - qcom,vdd-io-voltage-level = <1800000 1800000>; - qcom,vdd-io-current-level = <200 60000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - qcom,bus-speed-mode = "HS200_1p8v", "DDR_1p8v"; - qcom,nonremovable; - - status = "ok"; -}; - -&sdhc_2 { - vdd-supply = <&pm8110_l18>; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <15000 400000>; - - vdd-io-supply = <&pm8110_l21>; - qcom,vdd-io-voltage-level = <1800000 2950000>; - qcom,vdd-io-current-level = <200 50000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - - #address-cells = <0>; - interrupt-parent = <&sdhc_2>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 125 0 - 1 &intc 0 221 0 - 2 &msmgpio 42 0x3>; - interrupt-names = "hc_irq", "pwr_irq", "status_irq"; - cd-gpios = <&msmgpio 42 0x1>; - - status = "ok"; -}; - -&pm8110_chg { - status = "ok"; - qcom,charging-disabled; - qcom,use-default-batt-values; - - qcom,chgr@1000 { - status = "ok"; - }; - - qcom,buck@1100 { - status = "ok"; - }; - - qcom,usb-chgpth@1300 { - status = "ok"; - }; - - qcom,chg-misc@1600 { - status = "ok"; - }; -}; - -&pm8110_gpios { - gpio@c000 { /* GPIO 1 */ - }; - - gpio@c100 { /* GPIO 2 */ - }; - - gpio@c200 { /* GPIO 3 */ - }; - - gpio@c300 { /* GPIO 4 */ - }; -}; - -&pm8110_mpps { - mpp@a000 { /* MPP 1 */ - }; - - mpp@a100 { /* MPP 2 */ - status = "disabled"; - }; - - mpp@a200 { /* MPP 3 */ - status = "disabled"; - }; - - mpp@a300 { /* MPP 4 */ - /* PA_THERM config */ - qcom,mode = <4>; /* AIN input */ - qcom,invert = <1>; /* Enable MPP */ - qcom,ain-route = <3>; /* AMUX 8 */ - qcom,master-en = <1>; - qcom,src-sel = <0>; /* Function constant */ - }; -}; - -/* CoreSight */ -&tpiu { - qcom,seta-gpios = <&msmgpio 4 0>, - <&msmgpio 5 0>, - <&msmgpio 6 0>, - <&msmgpio 7 0>, - <&msmgpio 22 0>, - <&msmgpio 23 0>, - <&msmgpio 24 0>, - <&msmgpio 25 0>, - <&msmgpio 26 0>, - <&msmgpio 27 0>, - <&msmgpio 28 0>, - <&msmgpio 29 0>, - <&msmgpio 30 0>, - <&msmgpio 31 0>, - <&msmgpio 94 0>, - <&msmgpio 95 0>, - <&msmgpio 96 0>, - <&msmgpio 97 0>; - qcom,seta-gpios-func = <9 9 8 11 2 2 2 2 2 2 3 2 3 3 4 4 4 4>; - qcom,seta-gpios-drv = <7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7>; - qcom,seta-gpios-pull = <0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0>; - qcom,seta-gpios-dir = <2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2>; - - qcom,setb-gpios = <&msmgpio 8 0>, - <&msmgpio 10 0>, - <&msmgpio 11 0>, - <&msmgpio 13 0>, - <&msmgpio 14 0>, - <&msmgpio 15 0>, - <&msmgpio 16 0>, - <&msmgpio 17 0>, - <&msmgpio 18 0>, - <&msmgpio 19 0>, - <&msmgpio 20 0>, - <&msmgpio 21 0>, - <&msmgpio 42 0>, - <&msmgpio 80 0>, - <&msmgpio 81 0>, - <&msmgpio 82 0>, - <&msmgpio 83 0>, - <&msmgpio 84 0>; - qcom,setb-gpios-func = <10 8 8 6 9 9 9 9 9 9 9 9 5 7 7 8 8 8>; - qcom,setb-gpios-drv = <7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7>; - qcom,setb-gpios-pull = <0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0>; - qcom,setb-gpios-dir = <2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2>; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8610-coresight.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v2/msm8610-coresight.dtsi deleted file mode 100644 index 516522eb0..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8610-coresight.dtsi +++ /dev/null @@ -1,357 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -&soc { - tmc_etr: tmc@fc326000 { - compatible = "arm,coresight-tmc"; - reg = <0xfc326000 0x1000>, - <0xfc37c000 0x3000>; - reg-names = "tmc-base", "bam-base"; - - qcom,memory-reservation-type = "EBI1"; - qcom,memory-reservation-size = <0x100000>; /* 1M EBI1 buffer */ - - coresight-id = <0>; - coresight-name = "coresight-tmc-etr"; - coresight-nr-inports = <1>; - coresight-ctis = <&cti0 &cti8>; - }; - - tpiu: tpiu@fc320000 { - compatible = "arm,coresight-tpiu"; - reg = <0xfc320000 0x1000>; - reg-names = "tpiu-base"; - - coresight-id = <1>; - coresight-name = "coresight-tpiu"; - coresight-nr-inports = <1>; - - vdd-supply = <&pm8110_l18>; - - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <15000 400000>; - }; - - replicator: replicator@fc324000 { - compatible = "qcom,coresight-replicator"; - reg = <0xfc324000 0x1000>; - reg-names = "replicator-base"; - - coresight-id = <2>; - coresight-name = "coresight-replicator"; - coresight-nr-inports = <1>; - coresight-outports = <0 1>; - coresight-child-list = <&tmc_etr &tpiu>; - coresight-child-ports = <0 0>; - }; - - tmc_etf: tmc@fc325000 { - compatible = "arm,coresight-tmc"; - reg = <0xfc325000 0x1000>; - reg-names = "tmc-base"; - - coresight-id = <3>; - coresight-name = "coresight-tmc-etf"; - coresight-nr-inports = <1>; - coresight-outports = <0>; - coresight-child-list = <&replicator>; - coresight-child-ports = <0>; - coresight-default-sink; - coresight-ctis = <&cti0 &cti8>; - }; - - funnel_merg: funnel@fc323000 { - compatible = "arm,coresight-funnel"; - reg = <0xfc323000 0x1000>; - reg-names = "funnel-base"; - - coresight-id = <4>; - coresight-name = "coresight-funnel-merg"; - coresight-nr-inports = <2>; - coresight-outports = <0>; - coresight-child-list = <&tmc_etf>; - coresight-child-ports = <0>; - }; - - funnel_in0: funnel@fc321000 { - compatible = "arm,coresight-funnel"; - reg = <0xfc321000 0x1000>; - reg-names = "funnel-base"; - - coresight-id = <5>; - coresight-name = "coresight-funnel-in0"; - coresight-nr-inports = <8>; - coresight-outports = <0>; - coresight-child-list = <&funnel_merg>; - coresight-child-ports = <0>; - }; - - funnel_in1: funnel@fc322000 { - compatible = "arm,coresight-funnel"; - reg = <0xfc322000 0x1000>; - reg-names = "funnel-base"; - - coresight-id = <6>; - coresight-name = "coresight-funnel-in1"; - coresight-nr-inports = <8>; - coresight-outports = <0>; - coresight-child-list = <&funnel_merg>; - coresight-child-ports = <1>; - }; - - funnel_a7ss: funnel@fc355000 { - compatible = "arm,coresight-funnel"; - reg = <0xfc355000 0x1000>; - reg-names = "funnel-base"; - - coresight-id = <7>; - coresight-name = "coresight-funnel-a7ss"; - coresight-nr-inports = <4>; - coresight-outports = <0>; - coresight-child-list = <&funnel_in1>; - coresight-child-ports = <6>; - }; - - stm: stm@fc302000 { - compatible = "arm,coresight-stm"; - reg = <0xfc302000 0x1000>, - <0xfa280000 0x180000>; - reg-names = "stm-base", "stm-data-base"; - - coresight-id = <8>; - coresight-name = "coresight-stm"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_in0>; - coresight-child-ports = <7>; - }; - - etm0: etm@fc34c000 { - compatible = "arm,coresight-etm"; - reg = <0xfc34c000 0x1000>; - reg-names = "etm-base"; - - coresight-id = <9>; - coresight-name = "coresight-etm0"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_a7ss>; - coresight-child-ports = <0>; - - qcom,pc-save; - qcom,round-robin; - }; - - etm1: etm@fc34d000 { - compatible = "arm,coresight-etm"; - reg = <0xfc34d000 0x1000>; - reg-names = "etm-base"; - - coresight-id = <10>; - coresight-name = "coresight-etm1"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_a7ss>; - coresight-child-ports = <1>; - - qcom,pc-save; - qcom,round-robin; - }; - - etm2: etm@fc34e000 { - compatible = "arm,coresight-etm"; - reg = <0xfc34e000 0x1000>; - reg-names = "etm-base"; - - coresight-id = <11>; - coresight-name = "coresight-etm2"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_a7ss>; - coresight-child-ports = <2>; - - qcom,pc-save; - qcom,round-robin; - }; - - etm3: etm@fc34f000 { - compatible = "arm,coresight-etm"; - reg = <0xfc34f000 0x1000>; - reg-names = "etm-base"; - - coresight-id = <12>; - coresight-name = "coresight-etm3"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_a7ss>; - coresight-child-ports = <3>; - - qcom,pc-save; - qcom,round-robin; - }; - - csr: csr@fc301000 { - compatible = "qcom,coresight-csr"; - reg = <0xfc301000 0x1000>; - reg-names = "csr-base"; - - coresight-id = <13>; - coresight-name = "coresight-csr"; - coresight-nr-inports = <0>; - - qcom,blk-size = <1>; - }; - - cti0: cti@fc310000 { - compatible = "arm,coresight-cti"; - reg = <0xfc310000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <14>; - coresight-name = "coresight-cti0"; - coresight-nr-inports = <0>; - }; - - cti1: cti@fc311000 { - compatible = "arm,coresight-cti"; - reg = <0xfc311000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <15>; - coresight-name = "coresight-cti1"; - coresight-nr-inports = <0>; - }; - - cti2: cti@fc312000 { - compatible = "arm,coresight-cti"; - reg = <0xfc312000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <16>; - coresight-name = "coresight-cti2"; - coresight-nr-inports = <0>; - }; - - cti3: cti@fc313000 { - compatible = "arm,coresight-cti"; - reg = <0xfc313000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <17>; - coresight-name = "coresight-cti3"; - coresight-nr-inports = <0>; - }; - - cti4: cti@fc314000 { - compatible = "arm,coresight-cti"; - reg = <0xfc314000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <18>; - coresight-name = "coresight-cti4"; - coresight-nr-inports = <0>; - }; - - cti5: cti@fc315000 { - compatible = "arm,coresight-cti"; - reg = <0xfc315000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <19>; - coresight-name = "coresight-cti5"; - coresight-nr-inports = <0>; - }; - - cti6: cti@fc316000 { - compatible = "arm,coresight-cti"; - reg = <0xfc316000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <20>; - coresight-name = "coresight-cti6"; - coresight-nr-inports = <0>; - }; - - cti7: cti@fc317000 { - compatible = "arm,coresight-cti"; - reg = <0xfc317000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <21>; - coresight-name = "coresight-cti7"; - coresight-nr-inports = <0>; - }; - - cti8: cti@fc318000 { - compatible = "arm,coresight-cti"; - reg = <0xfc318000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <22>; - coresight-name = "coresight-cti8"; - coresight-nr-inports = <0>; - }; - - cti_cpu0: cti@fc351000 { - compatible = "arm,coresight-cti"; - reg = <0xfc351000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <23>; - coresight-name = "coresight-cti-cpu0"; - coresight-nr-inports = <0>; - }; - - cti_cpu1: cti@fc352000 { - compatible = "arm,coresight-cti"; - reg = <0xfc352000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <24>; - coresight-name = "coresight-cti-cpu1"; - coresight-nr-inports = <0>; - }; - - cti_cpu2: cti@fc353000 { - compatible = "arm,coresight-cti"; - reg = <0xfc353000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <25>; - coresight-name = "coresight-cti-cpu2"; - coresight-nr-inports = <0>; - }; - - cti_cpu3: cti@fc354000 { - compatible = "arm,coresight-cti"; - reg = <0xfc354000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <26>; - coresight-name = "coresight-cti-cpu3"; - coresight-nr-inports = <0>; - }; - - hwevent: hwevent@fd820018 { - compatible = "qcom,coresight-hwevent"; - reg = <0xfd820018 0x80>, - <0xf9011080 0x80>, - <0xfd4ab160 0x80>; - reg-names = "mmss-mux", "apcs-mux", "ppss-mux"; - - coresight-id = <27>; - coresight-name = "coresight-hwevent"; - coresight-nr-inports = <0>; - - qcom,hwevent-clks = "core_mmss_clk"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8610-gpu.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v2/msm8610-gpu.dtsi deleted file mode 100644 index 7e3ee0dcb..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8610-gpu.dtsi +++ /dev/null @@ -1,167 +0,0 @@ -/* Copyright (c) 2013, 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. - */ -&soc { - msm_gpu: qcom,kgsl-3d0@fdc00000 { - label = "kgsl-3d0"; - compatible = "qcom,kgsl-3d0", "qcom,kgsl-3d"; - reg = <0xfdc00000 0x10000 - 0xfdc10000 0x10000>; - reg-names = "kgsl_3d0_reg_memory", "kgsl_3d0_shader_memory"; - interrupts = <0 33 0>; - interrupt-names = "kgsl_3d0_irq"; - qcom,id = <0>; - - qcom,chipid = <0x03000520>; - - qcom,initial-pwrlevel = <1>; - - qcom,idle-timeout = <8>; /* */ - qcom,strtstp-sleepwake; - qcom,clk-map = <0x000005E>; /* KGSL_CLK_CORE | - KGSL_CLK_IFACE | KGSL_CLK_MEM | KGSL_CLK_MEM_IFACE | - KGSL_CLK_ALT_MEM_IFACE */ - - /* Bus Scale Settings */ - qcom,msm-bus,name = "grp3d"; - qcom,msm-bus,num-cases = <4>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <26 512 0 0>, - <26 512 0 800000>, - <26 512 0 1600000>, - <26 512 0 2128000>; - - /* GDSC oxili regulators */ - vdd-supply = <&gdsc_oxili_cx>; - - /* IOMMU Data */ - iommu = <&gfx_iommu>; - - /* Power levels */ - qcom,gpu-pwrlevels { - #address-cells = <1>; - #size-cells = <0>; - - compatible = "qcom,gpu-pwrlevels"; - - qcom,gpu-pwrlevel@0 { - reg = <0>; - qcom,gpu-freq = <400000000>; - qcom,bus-freq = <3>; - qcom,io-fraction = <0>; - }; - - qcom,gpu-pwrlevel@1 { - reg = <1>; - qcom,gpu-freq = <300000000>; - qcom,bus-freq = <2>; - qcom,io-fraction = <33>; - }; - - qcom,gpu-pwrlevel@2 { - reg = <2>; - qcom,gpu-freq = <200000000>; - qcom,bus-freq = <2>; - qcom,io-fraction = <33>; - }; - - qcom,gpu-pwrlevel@3 { - reg = <3>; - qcom,gpu-freq = <150000000>; - qcom,bus-freq = <1>; - qcom,io-fraction = <100>; - }; - - qcom,gpu-pwrlevel@4 { - reg = <4>; - qcom,gpu-freq = <27000000>; - qcom,bus-freq = <0>; - qcom,io-fraction = <0>; - }; - }; - - /* DVCS Info */ - qcom,dcvs-core-info { - #address-cells = <1>; - #size-cells = <0>; - - compatible = "qcom,dcvs-core-info"; - - qcom,num-cores = <1>; - qcom,sensors = <0>; - - qcom,core-core-type = <1>; - - qcom,algo-disable-pc-threshold = <0>; - qcom,algo-em-win-size-min-us = <100000>; - qcom,algo-em-win-size-max-us = <300000>; - qcom,algo-em-max-util-pct = <97>; - qcom,algo-group-id = <95>; - qcom,algo-max-freq-chg-time-us = <100000>; - qcom,algo-slack-mode-dynamic = <100000>; - qcom,algo-slack-weight-thresh-pct = <0>; - qcom,algo-slack-time-min-us = <39000>; - qcom,algo-slack-time-max-us = <39000>; - qcom,algo-ss-win-size-min-us = <1000000>; - qcom,algo-ss-win-size-max-us = <1000000>; - qcom,algo-ss-util-pct = <95>; - qcom,algo-ss-no-corr-below-freq = <0>; - - qcom,energy-active-coeff-a = <2492>; - qcom,energy-active-coeff-b = <0>; - qcom,energy-active-coeff-c = <0>; - qcom,energy-leakage-coeff-a = <11>; - qcom,energy-leakage-coeff-b = <157150>; - qcom,energy-leakage-coeff-c = <0>; - qcom,energy-leakage-coeff-d = <0>; - - qcom,power-current-temp = <25>; - qcom,power-num-freq = <4>; - - qcom,dcvs-freq@0 { - reg = <0>; - qcom,freq = <0>; - qcom,voltage = <0>; - qcom,is_trans_level = <0>; - qcom,active-energy-offset = <100>; - qcom,leakage-energy-offset = <0>; - }; - - qcom,dcvs-freq@1 { - reg = <1>; - qcom,freq = <0>; - qcom,voltage = <0>; - qcom,is_trans_level = <0>; - qcom,active-energy-offset = <100>; - qcom,leakage-energy-offset = <0>; - }; - - qcom,dcvs-freq@2 { - reg = <2>; - qcom,freq = <0>; - qcom,voltage = <0>; - qcom,is_trans_level = <0>; - qcom,active-energy-offset = <100>; - qcom,leakage-energy-offset = <0>; - }; - - qcom,dcvs-freq@3 { - reg = <3>; - qcom,freq = <0>; - qcom,voltage = <0>; - qcom,is_trans_level = <0>; - qcom,active-energy-offset = <844545>; - qcom,leakage-energy-offset = <0>; - }; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8610-iommu-domains.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v2/msm8610-iommu-domains.dtsi deleted file mode 100644 index 6f438972d..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8610-iommu-domains.dtsi +++ /dev/null @@ -1,36 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&soc { - qcom,iommu-domains { - compatible = "qcom,iommu-domains"; - - qcom,iommu-domain1 { - label = "lpass_secure"; - qcom,iommu-contexts = <&lpass_q6_fw>; - qcom,virtual-addr-pool = <0x00000000 0x0FFFFFFF - 0xF0000000 0x0FFFFFFF>; - }; - - qcom,iommu-domain2 { - label = "lpass_audio"; - qcom,iommu-contexts = <&lpass_audio_shared>; - qcom,virtual-addr-pool = <0x10000000 0x0FFFFFFF>; - }; - - q6_domain_ns:qcom,iommu-domain3 { - label = "lpass_video"; - qcom,iommu-contexts = <&lpass_video_shared>; - qcom,virtual-addr-pool = <0x20000000 0x0FFFFFFF>; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8610-ion.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v2/msm8610-ion.dtsi deleted file mode 100644 index 456b60ced..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8610-ion.dtsi +++ /dev/null @@ -1,38 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&soc { - qcom,ion { - compatible = "qcom,msm-ion"; - #address-cells = <1>; - #size-cells = <0>; - - qcom,ion-heap@30 { /* SYSTEM HEAP */ - reg = <30>; - }; - - qcom,ion-heap@21 { /* SYSTEM CONTIG HEAP */ - reg = <21>; - }; - - qcom,ion-heap@25 { /* IOMMU HEAP */ - reg = <25>; - }; - - qcom,ion-heap@27 { /* QSECOM HEAP */ - compatible = "qcom,msm-ion-reserve"; - reg = <27>; - linux,contiguous-region = <&qsecom_mem>; - }; - }; -}; - diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8610-mdss.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v2/msm8610-mdss.dtsi deleted file mode 100644 index af0e3e4e3..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8610-mdss.dtsi +++ /dev/null @@ -1,37 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&soc { - qcom,mdss_mdp@fd900000 { - compatible = "qcom,mdss_mdp3"; - reg = <0xfd900000 0x100000>; - reg-names = "mdp_phys"; - interrupts = <0 72 0>; - - mdss_fb0: qcom,mdss_fb_primary { - cell-index = <0>; - compatible = "qcom,mdss-fb"; - qcom,memory-reservation-type = "EBI1"; - qcom,memory-reservation-size = <0x300000>; - }; - }; - - mdss_dsi0: qcom,mdss_dsi@fdd00000 { - compatible = "qcom,msm-dsi-v2"; - label = "MDSS DSI CTRL->0"; - cell-index = <0>; - reg = <0xfdd00000 0x100000>; - interrupts = <0 30 0>; - vdda-supply = <&pm8110_l4>; - qcom,mdss-fb-map = <&mdss_fb0>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8610-mtp.dts b/kernel/arch/arm/boot/dts/m7350-un-v2/msm8610-mtp.dts deleted file mode 100644 index 9406a0911..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8610-mtp.dts +++ /dev/null @@ -1,354 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; - -/include/ "msm8610.dtsi" -/include/ "dsi-v2-panel-truly-wvga-video.dtsi" -/include/ "msm8610-camera-sensor-cdp-mtp.dtsi" - -/ { - model = "Qualcomm MSM 8610 MTP"; - compatible = "qcom,msm8610-mtp", "qcom,msm8610", "qcom,mtp"; - qcom,msm-id = <147 8 0>, <165 8 0>, <161 8 0>, <162 8 0>, - <163 8 0>, <164 8 0>, <166 8 0>; -}; - -&soc { - serial@f991e000 { - status = "ok"; - }; - - i2c@f9923000{ - atmel_mxt_ts@4a { - compatible = "atmel,mxt-ts"; - reg = <0x4a>; - interrupt-parent = <&msmgpio>; - interrupts = <1 0x2>; - vdd_ana-supply = <&pm8110_l19>; - vcc_i2c-supply = <&pm8110_l14>; - atmel,reset-gpio = <&msmgpio 0 0x00>; - atmel,irq-gpio = <&msmgpio 1 0x00>; - atmel,panel-coords = <0 0 508 880>; - atmel,display-coords = <0 0 480 800>; - atmel,i2c-pull-up; - atmel,no-force-update; - atmel,cfg_1 { - atmel,family-id = <0x81>; - atmel,variant-id = <0x15>; - atmel,version = <0x11>; - atmel,build = <0xaa>; - atmel,config = [ - /* Object 6, Instance = 0 */ - 00 00 00 00 00 00 - /* Object 38, Instance = 0 */ - 1D 01 00 0C 04 0D 00 00 - /* Object 7, Instance = 0 */ - 20 08 32 - /* Object 8, Instance = 0 */ - 19 00 14 14 FF 00 FF 00 00 00 - /* Object 9, Instance = 0 */ - 83 00 00 13 0B 00 20 32 01 03 - 00 32 05 30 0A 05 0A 00 70 03 - FC 01 00 36 2F 2C 00 00 40 00 - 00 0A 00 00 02 - /* Object 18, Instance = 0 */ - 00 00 - /* Object 19, Instance = 0 */ - 00 00 00 00 00 00 - /* Object 25, Instance = 0 */ - 03 00 18 79 A8 61 - /* Object 58, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 - /* Object 42, Instance = 0 */ - 00 00 00 00 00 00 00 00 - /* Object 46, Instance = 0 */ - 04 03 08 10 00 00 00 00 00 - /* Object 47, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - /* Object 48, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 - /* Object 55, Instance = 0 */ - 00 00 00 00 - ]; - }; - }; - }; - - gen-vkeys { - compatible = "qcom,gen-vkeys"; - label = "atmel_mxt_ts"; - qcom,disp-maxx = <480>; - qcom,disp-maxy = <800>; - qcom,panel-maxx = <508>; - qcom,panel-maxy = <880>; - qcom,key-codes = <158 102 139>; - qcom,y-offset = <35>; - }; - - gpio_keys { - compatible = "gpio-keys"; - input-name = "gpio-keys"; - - camera_snapshot { - label = "camera_snapshot"; - gpios = <&msmgpio 73 0x1>; - linux,input-type = <1>; - linux,code = <0x2fe>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - - camera_focus { - label = "camera_focus"; - gpios = <&msmgpio 74 0x1>; - linux,input-type = <1>; - linux,code = <0x210>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - - vol_up { - label = "volume_up"; - gpios = <&msmgpio 72 0x1>; - linux,input-type = <1>; - linux,code = <115>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - }; - - sound { - qcom,audio-routing = - "RX_BIAS", "MCLK", - "INT_LDO_H", "MCLK", - "MIC BIAS External", "Handset Mic", - "MIC BIAS Internal2", "Headset Mic", - "AMIC1", "MIC BIAS External", - "AMIC2", "MIC BIAS Internal2"; - }; -}; - -&i2c_cdc { - msm8x10_wcd_codec@0d{ - compatible = "qcom,msm8x10-wcd-i2c"; - reg = <0x0d>; - cdc-vdda-cp-supply = <&pm8110_s4>; - qcom,cdc-vdda-cp-voltage = <2150000 2150000>; - qcom,cdc-vdda-cp-current = <650000>; - - cdc-vdda-h-supply = <&pm8110_l6>; - qcom,cdc-vdda-h-voltage = <1800000 1800000>; - qcom,cdc-vdda-h-current = <250000>; - - cdc-vdd-px-supply = <&pm8110_l6>; - qcom,cdc-vdd-px-voltage = <1800000 1800000>; - qcom,cdc-vdd-px-current = <10000>; - - cdc-vdd-1p2v-supply = <&pm8110_l4>; - qcom,cdc-vdd-1p2v-voltage = <1200000 1200000>; - qcom,cdc-vdd-1p2v-current = <5000>; - - cdc-vdd-mic-bias-supply = <&pm8110_l20>; - qcom,cdc-vdd-mic-bias-voltage = <3075000 3075000>; - qcom,cdc-vdd-mic-bias-current = <25000>; - - qcom,cdc-micbias-cfilt-sel = <0x0>; - qcom,cdc-micbias-cfilt-mv = <1800000>; - qcom,cdc-mclk-clk-rate = <12288000>; - }; - - msm8x10_wcd_codec@77{ - compatible = "qcom,msm8x10-wcd-i2c"; - reg = <0x77>; - }; - - msm8x10_wcd_codec@66{ - compatible = "qcom,msm8x10-wcd-i2c"; - reg = <0x66>; - }; - - msm8x10_wcd_codec@55{ - compatible = "qcom,msm8x10-wcd-i2c"; - reg = <0x55>; - }; -}; - -&spmi_bus { - qcom,pm8110@0 { - qcom,leds@a100 { - status = "okay"; - qcom,led_mpp_2 { - label = "mpp"; - linux,name = "button-backlight"; - linux-default-trigger = "hr-trigger"; - qcom,default-state = "off"; - qcom,max-current = <40>; - qcom,id = <6>; - qcom,source-sel = <1>; - qcom,mode-ctrl = <0x60>; - qcom,mode = "manual"; - }; - }; - - qcom,leds@a200 { - status = "okay"; - qcom,led_mpp_3 { - label = "mpp"; - linux,name = "wled-backlight"; - linux,default-trigger = "bkl-trigger"; - qcom,default-state = "on"; - qcom,max-current = <40>; - qcom,id = <6>; - qcom,source-sel = <1>; - qcom,mode-ctrl = <0x10>; - qcom,mode = "manual"; - }; - }; - }; -}; - -&spmi_bus { - qcom,pm8110@1 { - qcom,vibrator@c000 { - status = "okay"; - qcom,vib-timeout-ms = <15000>; - qcom,vib-vtg-level-mV = <3100>; - }; - }; -}; - -&sdhc_1 { - vdd-supply = <&pm8110_l17>; - qcom,vdd-always-on; - qcom,vdd-lpm-sup; - qcom,vdd-voltage-level = <2900000 2900000>; - qcom,vdd-current-level = <200 400000>; - - vdd-io-supply = <&pm8110_l6>; - qcom,vdd-io-always-on; - qcom,vdd-io-lpm-sup; - qcom,vdd-io-voltage-level = <1800000 1800000>; - qcom,vdd-io-current-level = <200 60000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - qcom,bus-speed-mode = "HS200_1p8v", "DDR_1p8v"; - qcom,nonremovable; - - status = "ok"; -}; - -&sdhc_2 { - vdd-supply = <&pm8110_l18>; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <15000 400000>; - - vdd-io-supply = <&pm8110_l21>; - qcom,vdd-io-voltage-level = <1800000 2950000>; - qcom,vdd-io-current-level = <200 50000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - - #address-cells = <0>; - interrupt-parent = <&sdhc_2>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 125 0 - 1 &intc 0 221 0 - 2 &msmgpio 42 0x3>; - interrupt-names = "hc_irq", "pwr_irq", "status_irq"; - cd-gpios = <&msmgpio 42 0x1>; - - status = "ok"; -}; - -&pm8110_chg { - status = "ok"; - qcom,charging-disabled; - - qcom,chgr@1000 { - status = "ok"; - }; - - qcom,buck@1100 { - status = "ok"; - }; - - qcom,bat-if@1200 { - status = "ok"; - }; - - qcom,usb-chgpth@1300 { - status = "ok"; - }; - - qcom,chg-misc@1600 { - status = "ok"; - }; -}; - -&pm8110_gpios { - gpio@c000 { /* GPIO 1 */ - }; - - gpio@c100 { /* GPIO 2 */ - }; - - gpio@c200 { /* GPIO 3 */ - }; - - gpio@c300 { /* GPIO 4 */ - }; -}; - -&pm8110_mpps { - mpp@a000 { /* MPP 1 */ - }; - - mpp@a100 { /* MPP 2 */ - status = "disabled"; - }; - - mpp@a200 { /* MPP 3 */ - status = "disabled"; - }; - - mpp@a300 { /* MPP 4 */ - /* PA_THERM config */ - qcom,mode = <4>; /* AIN input */ - qcom,invert = <1>; /* Enable MPP */ - qcom,ain-route = <3>; /* AMUX 8 */ - qcom,master-en = <1>; - qcom,src-sel = <0>; /* Function constant */ - }; -}; - -&pm8110_bms { - status = "ok"; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8610-pm.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v2/msm8610-pm.dtsi deleted file mode 100644 index 938b2aa2a..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8610-pm.dtsi +++ /dev/null @@ -1,391 +0,0 @@ -/* Copyright (c) 2013 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. - */ - -/include/ "skeleton.dtsi" - -&soc { - qcom,spm@f9089000 { - compatible = "qcom,spm-v2"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xf9089000 0x1000>; - qcom,core-id = <0>; - qcom,saw2-ver-reg = <0xfd0>; - qcom,saw2-cfg = <0x01>; - qcom,saw2-spm-dly= <0x3c102800>; - qcom,saw2-spm-ctl = <0x0>; - qcom,saw2-spm-cmd-wfi = [60 03 60 0b 0f]; - qcom,saw2-spm-cmd-spc = [00 20 10 80 30 90 5b 60 03 60 3b 76 76 - 0b 94 5b 80 10 06 26 30 0f]; - qcom,saw2-spm-cmd-pc = [00 20 10 80 30 90 5b 60 07 60 3b 76 76 - 0b 94 5b 80 10 06 26 30 0f]; - }; - - qcom,spm@f9099000 { - compatible = "qcom,spm-v2"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xf9099000 0x1000>; - qcom,core-id = <1>; - qcom,saw2-ver-reg = <0xfd0>; - qcom,saw2-cfg = <0x01>; - qcom,saw2-spm-dly= <0x3c102800>; - qcom,saw2-spm-ctl = <0x0>; - qcom,saw2-spm-cmd-wfi = [60 03 60 0b 0f]; - qcom,saw2-spm-cmd-spc = [00 20 10 80 30 90 5b 60 03 60 3b 76 76 - 0b 94 5b 80 10 06 26 30 0f]; - qcom,saw2-spm-cmd-pc = [00 20 10 80 30 90 5b 60 07 60 3b 76 76 - 0b 94 5b 80 10 06 26 30 0f]; - }; - - qcom,spm@f90a9000 { - compatible = "qcom,spm-v2"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xf90a9000 0x1000>; - qcom,core-id = <2>; - qcom,saw2-ver-reg = <0xfd0>; - qcom,saw2-cfg = <0x01>; - qcom,saw2-spm-dly= <0x3c102800>; - qcom,saw2-spm-ctl = <0x0>; - qcom,saw2-spm-cmd-wfi = [60 03 60 0b 0f]; - qcom,saw2-spm-cmd-spc = [00 20 10 80 30 90 5b 60 03 60 3b 76 76 - 0b 94 5b 80 10 06 26 30 0f]; - qcom,saw2-spm-cmd-pc = [00 20 10 80 30 90 5b 60 07 60 3b 76 76 - 0b 94 5b 80 10 06 26 30 0f]; - }; - - qcom,spm@f90b9000 { - compatible = "qcom,spm-v2"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xf90b9000 0x1000>; - qcom,core-id = <3>; - qcom,saw2-ver-reg = <0xfd0>; - qcom,saw2-cfg = <0x01>; - qcom,saw2-spm-dly= <0x3c102800>; - qcom,saw2-spm-ctl = <0x0>; - qcom,saw2-spm-cmd-wfi = [60 03 60 0b 0f]; - qcom,saw2-spm-cmd-spc = [00 20 10 80 30 90 5b 60 03 60 3b 76 76 - 0b 94 5b 80 10 06 26 30 0f]; - qcom,saw2-spm-cmd-pc = [00 20 10 80 30 90 5b 60 07 60 3b 76 76 - 0b 94 5b 80 10 06 26 30 0f]; - }; - - qcom,spm@f9012000 { - compatible = "qcom,spm-v2"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xf9012000 0x1000>; - qcom,core-id = <0xffff>; /* L2/APCS SAW */ - qcom,saw2-ver-reg = <0xfd0>; - qcom,saw2-cfg = <0x14>; - qcom,saw2-spm-dly= <0x3c102800>; - qcom,saw2-spm-ctl = <0x0>; - qcom,saw2-pmic-data0 = <0x02030080>; - qcom,saw2-pmic-data1 = <0x00030000>; - qcom,vctl-timeout-us = <50>; - qcom,vctl-port = <0x0>; - qcom,phase-port = <0x1>; - qcom,pfm-port = <0x2>; - qcom,saw2-spm-cmd-ret = [00 03 00 7b 0f]; - qcom,saw2-spm-cmd-pc = [00 32 b0 10 e0 d0 6b c0 42 f0 - 11 07 01 b0 4e c0 d0 12 e0 6b 50 02 32 - 50 f0 7b 0f]; /*APCS_PMIC_OFF_L2RAM_OFF*/ - }; - - qcom,lpm-resources { - compatible = "qcom,lpm-resources"; - #address-cells = <1>; - #size-cells = <0>; - - qcom,lpm-resources@0 { - reg = <0x0>; - qcom,name = "vdd-dig"; - qcom,type = <0x61706d73>; /* "smpa" */ - qcom,id = <0x01>; - qcom,key = <0x6e726f63>; /* "corn" */ - qcom,init-value = <3>; /* SVS SOC */ - }; - - qcom,lpm-resources@1 { - reg = <0x1>; - qcom,name = "vdd-mem"; - qcom,type = <0x616F646C>; /* "ldoa" */ - qcom,id = <0x03>; - qcom,key = <0x6e726f63>; /* "corn" */ - qcom,init-value = <3>; /* SVS SOC */ - }; - - qcom,lpm-resources@2 { - reg = <0x2>; - qcom,name = "pxo"; - qcom,type = <0x306b6c63>; /* "clk0" */ - qcom,id = <0x00>; - qcom,key = <0x62616e45>; /* "Enab" */ - qcom,init-value = "xo_on"; - }; - - qcom,lpm-resources@3 { - reg = <0x3>; - qcom,name = "l2"; - qcom,local-resource-type; - qcom,init-value = "l2_cache_retention"; - }; - }; - - qcom,lpm-levels { - compatible = "qcom,lpm-levels"; - #address-cells = <1>; - #size-cells = <0>; - - qcom,lpm-level@0 { - reg = <0x0>; - qcom,mode = "wfi"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_active"; - qcom,vdd-mem-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <4>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <1>; - qcom,ss-power = <784>; - qcom,energy-overhead = <190000>; - qcom,time-overhead = <100>; - }; - - qcom,lpm-level@1 { - reg = <0x1>; - qcom,mode = "standalone_pc"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_active"; - qcom,vdd-mem-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <4>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <3000>; - qcom,ss-power = <725>; - qcom,energy-overhead = <99500>; - qcom,time-overhead = <3130>; - }; - - qcom,lpm-level@2 { - reg = <0x2>; - qcom,mode = "pc"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_retention"; - qcom,vdd-mem-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <4>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <8000>; - qcom,ss-power = <138>; - qcom,energy-overhead = <1208400>; - qcom,time-overhead = <9200>; - }; - - qcom,lpm-level@3 { - reg = <0x3>; - qcom,mode = "pc"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_pc"; - qcom,vdd-mem-upper-bound = <4>; /* NORMAL */ - qcom,vdd-mem-lower-bound = <3>; /* SVS SOC */ - qcom,vdd-dig-upper-bound = <4>; /* NORMAL */ - qcom,vdd-dig-lower-bound = <3>; /* SVS SOC */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <9000>; - qcom,ss-power = <110>; - qcom,energy-overhead = <1250300>; - qcom,time-overhead = <9500>; - }; - - qcom,lpm-level@4 { - reg = <0x4>; - qcom,mode = "pc"; - qcom,xo = "xo_off"; - qcom,l2 = "l2_cache_pc"; - qcom,vdd-mem-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <4>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,latency-us = <16300>; - qcom,ss-power = <63>; - qcom,energy-overhead = <2128000>; - qcom,time-overhead = <24200>; - }; - - qcom,lpm-level@5 { - reg = <0x5>; - qcom,mode = "pc"; - qcom,xo = "xo_off"; - qcom,l2 = "l2_cache_pc"; - qcom,vdd-mem-upper-bound = <4>; /* NORMAL */ - qcom,vdd-mem-lower-bound = <3>; /* SVS SOC */ - qcom,vdd-dig-upper-bound = <4>; /* NORMAL */ - qcom,vdd-dig-lower-bound = <3>; /* SVS SOC */ - qcom,latency-us = <24000>; - qcom,ss-power = <10>; - qcom,energy-overhead = <3202600>; - qcom,time-overhead = <33000>; - }; - - qcom,lpm-level@6 { - reg = <0x6>; - qcom,mode = "pc"; - qcom,xo = "xo_off"; - qcom,l2 = "l2_cache_pc"; - qcom,vdd-mem-upper-bound = <3>; /* SVS SOC */ - qcom,vdd-mem-lower-bound = <1>; /* RETENTION */ - qcom,vdd-dig-upper-bound = <3>; /* SVS SOC */ - qcom,vdd-dig-lower-bound = <1>; /* RETENTION */ - qcom,latency-us = <26000>; - qcom,ss-power = <2>; - qcom,energy-overhead = <4252000>; - qcom,time-overhead = <38000>; - }; - }; - - qcom,pm-boot { - compatible = "qcom,pm-boot"; - qcom,mode = "tz"; - }; - - qcom,mpm@fc4281d0 { - compatible = "qcom,mpm-v2"; - reg = <0xfc4281d0 0x1000>, /* MSM_RPM_MPM_BASE 4K */ - <0xf9011008 0x4>; /* MSM_APCS_GCC_BASE 4K */ - reg-names = "vmpm", "ipc"; - interrupts = <0 171 1>; - - qcom,ipc-bit-offset = <1>; - - qcom,gic-parent = <&intc>; - qcom,gic-map = <47 172>, /* usb2_hsic_async_wakeup_irq */ - <53 104>, /* mdss_irq */ - <62 222>, /* ee0_krait_hlos_spmi_periph_irq */ - <2 216>, /* tsens_upper_lower_int */ - <0xff 56>, /* q6_wdog_expired_irq */ - <0xff 57>, /* mss_to_apps_irq(0) */ - <0xff 58>, /* mss_to_apps_irq(1) */ - <0xff 59>, /* mss_to_apps_irq(2) */ - <0xff 60>, /* mss_to_apps_irq(3) */ - <0xff 61>, /* mss_a2_bam_irq */ - <0xff 173>, /* o_wcss_apss_smd_hi */ - <0xff 174>, /* o_wcss_apss_smd_med */ - <0xff 175>, /* o_wcss_apss_smd_low */ - <0xff 176>, /* o_wcss_apss_smsm_irq */ - <0xff 177>, /* o_wcss_apss_wlan_data_xfer_done */ - <0xff 178>, /* o_wcss_apss_wlan_rx_data_avail */ - <0xff 179>, /* o_wcss_apss_asic_intr - <0xff 181>, /* o_wcss_apss_wdog_bite_and_reset_rdy */ - <0xff 161>, /* lpass_irq_out_spare[4] / - <0xff 162>, /* lpass_irq_out_spare[5]*/ - <0xff 234>, /* lpass_irq_out_spare[6]*/ - <0xff 235>, /* lpass_irq_out_spare[7]*/ - <0xff 188>, /* lpass_irq_out_apcs(0) */ - <0xff 189>, /* lpass_irq_out_apcs(1) */ - <0xff 190>, /* lpass_irq_out_apcs(2) */ - <0xff 191>, /* lpass_irq_out_apcs(3) */ - <0xff 192>, /* lpass_irq_out_apcs(4) */ - <0xff 194>, /* lpass_irq_out_apcs(6) */ - <0xff 200>, /* rpm_ipc(4) */ - <0xff 201>, /* rpm_ipc(5) */ - <0xff 202>, /* rpm_ipc(6) */ - <0xff 203>, /* rpm_ipc(7) */ - <0xff 204>, /* rpm_ipc(24) */ - <0xff 205>, /* rpm_ipc(25) */ - <0xff 206>, /* rpm_ipc(26) */ - <0xff 207>, /* rpm_ipc(27) */ - <0xff 258>, /* rpm_ipc(28) */ - <0xff 259>, /* rpm_ipc(29) */ - <0xff 275>, /* rpm_ipc(30) */ - <0xff 276>, /* rpm_ipc(31) */ - <0xff 269>, /* rpm_wdog_expired_irq */ - <0xff 240>; /* summary_irq_kpss */ - - qcom,gpio-parent = <&msmgpio>; - qcom,gpio-map = <3 1>, - <4 4 >, - <5 5 >, - <6 9 >, - <7 13>, - <8 17>, - <9 21>, - <10 27>, - <11 29>, - <12 31>, - <13 33>, - <14 35>, - <15 37>, - <16 38>, - <17 39>, - <18 41>, - <19 46>, - <20 48>, - <21 49>, - <22 50>, - <23 51>, - <24 52>, - <25 54>, - <26 62>, - <27 63>, - <28 64>, - <29 65>, - <30 66>, - <31 67>, - <32 68>, - <33 69>, - <34 71>, - <35 72>, - <36 106>, - <37 107>, - <38 108>, - <39 109>, - <40 110>, - <54 111>, - <55 113>; - }; - - qcom,pm-8x60@fe805664 { - compatible = "qcom,pm-8x60"; - reg = <0xfe805664 0x40>; - qcom,pc-mode = "tz_l2_int"; - qcom,use-sync-timer; - qcom,pc-resets-timer; - }; - - qcom,rpm-log@fc19dc00 { - compatible = "qcom,rpm-log"; - reg = <0xfc19dc00 0x4000>; - qcom,rpm-addr-phys = <0xfc000000>; - qcom,offset-version = <4>; - qcom,offset-page-buffer-addr = <36>; - qcom,offset-log-len = <40>; - qcom,offset-log-len-mask = <44>; - qcom,offset-page-indices = <56>; - }; - - qcom,rpm-stats@fc19dba0 { - compatible = "qcom,rpm-stats"; - reg = <0xfc19dba0 0x1000>; - reg-names = "phys_addr_base"; - qcom,sleep-stats-version = <2>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8610-qrd.dts b/kernel/arch/arm/boot/dts/m7350-un-v2/msm8610-qrd.dts deleted file mode 100644 index 5f9365a2a..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8610-qrd.dts +++ /dev/null @@ -1,267 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; - -/include/ "msm8610.dtsi" -/include/ "dsi-v2-panel-hx8379a-wvga-video.dtsi" - -/ { - model = "Qualcomm MSM 8610 QRD"; - compatible = "qcom,msm8610-qrd", "qcom,msm8610", "qcom,qrd"; - qcom,msm-id = <147 11 0>, <165 11 0>, <161 11 0>, <162 11 0>, - <163 11 0>, <164 11 0>, <166 11 0>; -}; - -&soc { - i2c@f9923000{ - focaltech@38{ - compatible = "focaltech,5x06"; - reg = <0x38>; - interrupt-parent = <&msmgpio>; - interrupts = <1 0x2>; - vdd-supply = <&pm8110_l19>; - vcc_i2c-supply = <&pm8110_l14>; - focaltech,family-id = <0x06>; - focaltech,reset-gpio = <&msmgpio 0 0x00>; - focaltech,irq-gpio = <&msmgpio 1 0x00>; - focaltech,display-coords = <0 0 480 800>; - focaltech,panel-coords = <0 0 480 800>; - focaltech,button-map= <139 102 158>; - focaltech,no-force-update; - focaltech,i2c-pull-up; - }; - }; - - gen-vkeys { - compatible = "qcom,gen-vkeys"; - label = "ft5x06_ts"; - qcom,disp-maxx = <480>; - qcom,disp-maxy = <800>; - qcom,panel-maxx = <481>; - qcom,panel-maxy = <940>; - qcom,key-codes = <139 0 102 158 0 0 0>; - qcom,y-offset = <0>; - }; - serial@f991e000 { - status = "ok"; - }; - - gpio_keys { - compatible = "gpio-keys"; - input-name = "gpio-keys"; - - camera_snapshot { - label = "camera_snapshot"; - gpios = <&msmgpio 73 0x1>; - linux,input-type = <1>; - linux,code = <0x2fe>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - - camera_focus { - label = "camera_focus"; - gpios = <&msmgpio 74 0x1>; - linux,input-type = <1>; - linux,code = <0x210>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - - vol_up { - label = "volume_up"; - gpios = <&msmgpio 72 0x1>; - linux,input-type = <1>; - linux,code = <115>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - }; - - i2c@f9927000 { - msm8x10_wcd_codec@0d{ - compatible = "qcom,msm8x10-wcd-i2c"; - reg = <0x0d>; - cdc-vdda-cp-supply = <&pm8110_s4>; - qcom,cdc-vdda-cp-voltage = <2150000 2150000>; - qcom,cdc-vdda-cp-current = <650000>; - - cdc-vdda-h-supply = <&pm8110_l6>; - qcom,cdc-vdda-h-voltage = <1800000 1800000>; - qcom,cdc-vdda-h-current = <250000>; - - cdc-vdd-px-supply = <&pm8110_l6>; - qcom,cdc-vdd-px-voltage = <1800000 1800000>; - qcom,cdc-vdd-px-current = <10000>; - - cdc-vdd-1p2v-supply = <&pm8110_l4>; - qcom,cdc-vdd-1p2v-voltage = <1200000 1200000>; - qcom,cdc-vdd-1p2v-current = <5000>; - - cdc-vdd-mic-bias-supply = <&pm8110_l20>; - qcom,cdc-vdd-mic-bias-voltage = <3075000 3075000>; - qcom,cdc-vdd-mic-bias-current = <25000>; - - qcom,cdc-micbias-cfilt-sel = <0x0>; - qcom,cdc-micbias-cfilt-mv = <1800000>; - qcom,cdc-mclk-clk-rate = <12288000>; - }; - - msm8x10_wcd_codec@77{ - compatible = "qcom,msm8x10-wcd-i2c"; - reg = <0x77>; - }; - - msm8x10_wcd_codec@66{ - compatible = "qcom,msm8x10-wcd-i2c"; - reg = <0x66>; - }; - - msm8x10_wcd_codec@55{ - compatible = "qcom,msm8x10-wcd-i2c"; - reg = <0x55>; - }; - }; - - sound { - qcom,audio-routing = - "RX_BIAS", "MCLK", - "INT_LDO_H", "MCLK", - "MIC BIAS Internal1", "Handset Mic", - "MIC BIAS Internal2", "Headset Mic", - "AMIC1", "MIC BIAS Internal1", - "AMIC2", "MIC BIAS Internal2"; - }; -}; - -&spmi_bus { - qcom,pm8110@0 { - qcom,leds@a100 { - status = "okay"; - qcom,led_mpp_2 { - label = "mpp"; - linux,name = "wled-homerow"; - linux-default-trigger = "hr-trigger"; - qcom,default-state = "off"; - qcom,max-current = <40>; - qcom,id = <6>; - qcom,source-sel = <1>; - qcom,mode-ctrl = <0x61>; - }; - }; - - qcom,leds@a200 { - status = "okay"; - qcom,led_mpp_3 { - label = "mpp"; - linux,name = "wled-backlight"; - linux,default-trigger = "bkl-trigger"; - qcom,default-state = "on"; - qcom,max-current = <40>; - qcom,id = <6>; - qcom,source-sel = <1>; - qcom,mode-ctrl = <0x10>; - }; - }; - }; -}; - -&spmi_bus { - qcom,pm8110@1 { - qcom,vibrator@c000 { - status = "okay"; - qcom,vib-timeout-ms = <15000>; - qcom,vib-vtg-level-mV = <3100>; - }; - }; -}; - -&sdhc_1 { - vdd-supply = <&pm8110_l17>; - qcom,vdd-always-on; - qcom,vdd-lpm-sup; - qcom,vdd-voltage-level = <2900000 2900000>; - qcom,vdd-current-level = <200 400000>; - - vdd-io-supply = <&pm8110_l6>; - qcom,vdd-io-always-on; - qcom,vdd-io-voltage-level = <1800000 1800000>; - qcom,vdd-io-current-level = <200 60000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - qcom,bus-speed-mode = "HS200_1p8v", "DDR_1p8v"; - qcom,nonremovable; - - status = "ok"; -}; - -&sdhc_2 { - vdd-supply = <&pm8110_l18>; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <15000 400000>; - - vdd-io-supply = <&pm8110_l21>; - qcom,vdd-io-always-on; - qcom,vdd-io-lpm-sup; - qcom,vdd-io-voltage-level = <1800000 2950000>; - qcom,vdd-io-current-level = <200 50000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - - #address-cells = <0>; - interrupt-parent = <&sdhc_2>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 125 0 - 1 &intc 0 221 0 - 2 &msmgpio 42 0x3>; - interrupt-names = "hc_irq", "pwr_irq", "status_irq"; - cd-gpios = <&msmgpio 42 0x1>; - - status = "ok"; -}; - -&pm8110_chg { - status = "ok"; - - qcom,chgr@1000 { - status = "ok"; - }; - - qcom,buck@1100 { - status = "ok"; - }; - - qcom,bat-if@1200 { - status = "ok"; - }; - - qcom,usb-chgpth@1300 { - status = "ok"; - }; - - qcom,chg-misc@1600 { - status = "ok"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8610-regulator.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v2/msm8610-regulator.dtsi deleted file mode 100644 index 09520c537..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8610-regulator.dtsi +++ /dev/null @@ -1,358 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/* SPM controlled regulators */ - -&spmi_bus { - qcom,pm8110@1 { - pm8110_s2: spm-regulator@1700 { - compatible = "qcom,spm-regulator"; - regulator-name = "8110_s2"; - reg = <0x1700 0x100>; - regulator-min-microvolt = <900000>; - regulator-max-microvolt = <1350000>; - }; - }; -}; - -/* CPR controlled regulator */ - -&soc { - apc_vreg_corner: regulator@f9018000 { - status = "okay"; - compatible = "qcom,cpr-regulator"; - reg = <0xf9018000 0x1000>, <0xf9011064 4>, <0xfc4b80b0 8>, - <0xfc4bc450 16>; - reg-names = "rbcpr", "rbcpr_clk", "pvs_efuse", "cpr_efuse"; - interrupts = <0 15 0>; - regulator-name = "apc_corner"; - regulator-min-microvolt = <1>; - regulator-max-microvolt = <3>; - qcom,num-efuse-bits = <5>; - qcom,pvs-bin-process = <0 0 0 0 0 1 1 1 1 1 2 2 2 2 2 2 - 2 2 2 2 3 3 3 3 3 3 3 3 0 0 0 0>; - qcom,pvs-corner-ceiling-slow = <1150000 1150000 1275000>; - qcom,pvs-corner-ceiling-nom = <975000 1075000 1200000>; - qcom,pvs-corner-ceiling-fast = <900000 1000000 1140000>; - vdd-apc-supply = <&pm8110_s2>; - - vdd-mx-supply = <&pm8110_l3_ao>; - qcom,vdd-mx-vmax = <1350000>; - qcom,vdd-mx-vmin-method = <1>; - - qcom,cpr-ref-clk = <19200>; - qcom,cpr-timer-delay = <5000>; - qcom,cpr-timer-cons-up = <1>; - qcom,cpr-timer-cons-down = <2>; - qcom,cpr-irq-line = <0>; - qcom,cpr-step-quotient = <15>; - qcom,cpr-up-threshold = <1>; - qcom,cpr-down-threshold = <2>; - qcom,cpr-idle-clocks = <5>; - qcom,cpr-gcnt-time = <1>; - qcom,vdd-apc-step-up-limit = <1>; - qcom,vdd-apc-step-down-limit = <1>; - qcom,cpr-apc-volt-step = <5000>; - }; -}; - -/* RPM controlled regulators: */ - -&rpm_bus { - - rpm-regulator-smpa1 { - status = "okay"; - pm8110_s1: regulator-s1 { - status = "okay"; - regulator-min-microvolt = <500000>; - regulator-max-microvolt = <1275000>; - }; - - pm8110_s1_corner: regulator-s1-corner { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_s1_corner"; - qcom,set = <3>; - regulator-min-microvolt = <1>; - regulator-max-microvolt = <7>; - qcom,use-voltage-corner; - qcom,consumer-supplies = "vdd_dig", ""; - }; - - pm8110_s1_corner_ao: regulator-s1-corner-ao { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_s1_corner_ao"; - qcom,set = <1>; - regulator-min-microvolt = <1>; - regulator-max-microvolt = <7>; - qcom,use-voltage-corner; - qcom,consumer-supplies = "vdd_sr2_dig", ""; - }; - }; - - rpm-regulator-smpa3 { - status = "okay"; - pm8110_s3: regulator-s3 { - regulator-min-microvolt = <1200000>; - regulator-max-microvolt = <1350000>; - qcom,init-voltage = <1200000>; - status = "okay"; - }; - }; - - rpm-regulator-smpa4 { - status = "okay"; - pm8110_s4: regulator-s4 { - regulator-min-microvolt = <2150000>; - regulator-max-microvolt = <2150000>; - qcom,init-voltage = <2150000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa1 { - status = "okay"; - pm8110_l1: regulator-l1 { - regulator-min-microvolt = <1225000>; - regulator-max-microvolt = <1225000>; - qcom,init-voltage = <1225000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa2 { - status = "okay"; - pm8110_l2: regulator-l2 { - regulator-min-microvolt = <1200000>; - regulator-max-microvolt = <1200000>; - qcom,init-voltage = <1200000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa3 { - status = "okay"; - pm8110_l3: regulator-l3 { - regulator-min-microvolt = <750000>; - regulator-max-microvolt = <1275000>; - status = "okay"; - }; - - pm8110_l3_ao: regulator-l3-ao { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l3_ao"; - qcom,set = <1>; - regulator-min-microvolt = <750000>; - regulator-max-microvolt = <1275000>; - status = "okay"; - }; - - pm8110_l3_so: regulator-l3-so { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l3_so"; - qcom,set = <2>; - regulator-min-microvolt = <750000>; - regulator-max-microvolt = <1275000>; - qcom,init-voltage = <750000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa4 { - status = "okay"; - pm8110_l4: regulator-l4 { - regulator-min-microvolt = <1200000>; - regulator-max-microvolt = <1200000>; - qcom,init-voltage = <1200000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa5 { - status = "okay"; - pm8110_l5: regulator-l5 { - regulator-min-microvolt = <1300000>; - regulator-max-microvolt = <1300000>; - qcom,init-voltage = <1300000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa6 { - status = "okay"; - pm8110_l6: regulator-l6 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa7 { - status = "okay"; - pm8110_l7: regulator-l7 { - regulator-min-microvolt = <2050000>; - regulator-max-microvolt = <2050000>; - qcom,init-voltage = <2050000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa8 { - status = "okay"; - pm8110_l8: regulator-l8 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa9 { - status = "okay"; - pm8110_l9: regulator-l9 { - regulator-min-microvolt = <2050000>; - regulator-max-microvolt = <2050000>; - qcom,init-voltage = <2050000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa10 { - status = "okay"; - pm8110_l10: regulator-l10 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - status = "okay"; - }; - - pm8110_l10_ao: regulator-l10-ao { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l10_ao"; - qcom,set = <1>; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - qcom,consumer-supplies = "vdd_sr2_pll", ""; - }; - - pm8110_l10_so: regulator-l10-so { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l10_so"; - qcom,set = <2>; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - qcom,init-enable = <0>; - }; - }; - - rpm-regulator-ldoa12 { - status = "okay"; - pm8110_l12: regulator-l12 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <3300000>; - qcom,init-voltage = <3300000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa14 { - status = "okay"; - pm8110_l14: regulator-l14 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa15 { - status = "okay"; - pm8110_l15: regulator-l15 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <3300000>; - qcom,init-voltage = <3300000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa16 { - status = "okay"; - pm8110_l16: regulator-l16 { - regulator-min-microvolt = <3000000>; - regulator-max-microvolt = <3000000>; - qcom,init-voltage = <3000000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa17 { - status = "okay"; - pm8110_l17: regulator-l17 { - regulator-min-microvolt = <2900000>; - regulator-max-microvolt = <2900000>; - qcom,init-voltage = <2900000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa18 { - status = "okay"; - pm8110_l18: regulator-l18 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <2950000>; - qcom,init-voltage = <2950000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa19 { - status = "okay"; - pm8110_l19: regulator-l19 { - regulator-min-microvolt = <2850000>; - regulator-max-microvolt = <2850000>; - qcom,init-voltage = <2850000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa20 { - status = "okay"; - pm8110_l20: regulator-l20 { - regulator-min-microvolt = <3075000>; - regulator-max-microvolt = <3075000>; - qcom,init-voltage = <3075000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa21 { - status = "okay"; - pm8110_l21: regulator-l21 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <2950000>; - qcom,init-voltage = <2950000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa22 { - status = "okay"; - pm8110_l22: regulator-l22 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <3300000>; - qcom,init-voltage = <3300000>; - status = "okay"; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8610-rumi.dts b/kernel/arch/arm/boot/dts/m7350-un-v2/msm8610-rumi.dts deleted file mode 100644 index 7f0648541..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8610-rumi.dts +++ /dev/null @@ -1,31 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/dts-v1/; - -/include/ "msm8610.dtsi" - -/ { - model = "Qualcomm MSM 8610 Rumi"; - compatible = "qcom,msm8610-rumi", "qcom,msm8610", "qcom,rumi"; - qcom,msm-id = <147 15 0>; -}; - -&soc { - serial@f991f000 { - status = "ok"; - }; -}; - -&gfx_iommu { - status = "disabled"; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8610-sim.dts b/kernel/arch/arm/boot/dts/m7350-un-v2/msm8610-sim.dts deleted file mode 100644 index 7c57fe667..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8610-sim.dts +++ /dev/null @@ -1,72 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/dts-v1/; - -/include/ "msm8610.dtsi" - -/ { - model = "Qualcomm MSM 8610 Simulator"; - compatible = "qcom,msm8610-sim", "qcom,msm8610", "qcom,sim"; - qcom,msm-id = <147 16 0>; -}; - -&soc { - serial@f991f000 { - status = "ok"; - }; -}; - -&i2c_cdc { - msm8x10_wcd_codec@0d{ - compatible = "qcom,msm8x10-wcd-i2c"; - reg = <0x0d>; - cdc-vdda-cp-supply = <&pm8110_s4>; - qcom,cdc-vdda-cp-voltage = <2150000 2150000>; - qcom,cdc-vdda-cp-current = <650000>; - - cdc-vdda-h-supply = <&pm8110_l6>; - qcom,cdc-vdda-h-voltage = <1800000 1800000>; - qcom,cdc-vdda-h-current = <250000>; - - cdc-vdd-px-supply = <&pm8110_l6>; - qcom,cdc-vdd-px-voltage = <1800000 1800000>; - qcom,cdc-vdd-px-current = <10000>; - - cdc-vdd-1p2v-supply = <&pm8110_l4>; - qcom,cdc-vdd-1p2v-voltage = <1200000 1200000>; - qcom,cdc-vdd-1p2v-current = <5000>; - - cdc-vdd-mic-bias-supply = <&pm8110_l20>; - qcom,cdc-vdd-mic-bias-voltage = <3075000 3075000>; - qcom,cdc-vdd-mic-bias-current = <25000>; - - qcom,cdc-micbias-cfilt-sel = <0x0>; - qcom,cdc-micbias-cfilt-mv = <1800000>; - qcom,cdc-mclk-clk-rate = <12288000>; - }; - - msm8x10_wcd_codec@77{ - compatible = "qcom,msm8x10-wcd-i2c"; - reg = <0x77>; - }; - - msm8x10_wcd_codec@66{ - compatible = "qcom,msm8x10-wcd-i2c"; - reg = <0x66>; - }; - - msm8x10_wcd_codec@55{ - compatible = "qcom,msm8x10-wcd-i2c"; - reg = <0x55>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8610-smp2p.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v2/msm8610-smp2p.dtsi deleted file mode 100644 index 3921a686a..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8610-smp2p.dtsi +++ /dev/null @@ -1,225 +0,0 @@ -/* Copyright (c) 2013, 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. - */ -&soc { - qcom,smp2p-modem { - compatible = "qcom,smp2p"; - reg = <0xf9011008 0x4>; - qcom,remote-pid = <1>; - qcom,irq-bitmask = <0x4000>; - interrupts = <0 27 1>; - }; - - qcom,smp2p-adsp { - compatible = "qcom,smp2p"; - reg = <0xf9011008 0x4>; - qcom,remote-pid = <2>; - qcom,irq-bitmask = <0x400>; - interrupts = <0 158 1>; - }; - - qcom,smp2p-wcnss { - compatible = "qcom,smp2p"; - reg = <0xf9011008 0x4>; - qcom,remote-pid = <4>; - qcom,irq-bitmask = <0x40000>; - interrupts = <0 143 1>; - }; - - smp2pgpio_smp2p_7_in: qcom,smp2pgpio-smp2p-7-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <7>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_7_in { - compatible = "qcom,smp2pgpio_test_smp2p_7_in"; - gpios = <&smp2pgpio_smp2p_7_in 0 0>; - }; - - smp2pgpio_smp2p_7_out: qcom,smp2pgpio-smp2p-7-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <7>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_7_out { - compatible = "qcom,smp2pgpio_test_smp2p_7_out"; - gpios = <&smp2pgpio_smp2p_7_out 0 0>; - }; - - smp2pgpio_smp2p_1_in: qcom,smp2pgpio-smp2p-1-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <1>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_1_in { - compatible = "qcom,smp2pgpio_test_smp2p_1_in"; - gpios = <&smp2pgpio_smp2p_1_in 0 0>; - }; - - smp2pgpio_smp2p_1_out: qcom,smp2pgpio-smp2p-1-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <1>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_1_out { - compatible = "qcom,smp2pgpio_test_smp2p_1_out"; - gpios = <&smp2pgpio_smp2p_1_out 0 0>; - }; - - smp2pgpio_ssr_smp2p_1_in: qcom,smp2pgpio-ssr-smp2p-1-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "slave-kernel"; - qcom,remote-pid = <1>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - smp2pgpio_ssr_smp2p_1_out: qcom,smp2pgpio-ssr-smp2p-1-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "master-kernel"; - qcom,remote-pid = <1>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - smp2pgpio_smp2p_2_in: qcom,smp2pgpio-smp2p-2-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <2>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_2_in { - compatible = "qcom,smp2pgpio_test_smp2p_2_in"; - gpios = <&smp2pgpio_smp2p_2_in 0 0>; - }; - - smp2pgpio_smp2p_2_out: qcom,smp2pgpio-smp2p-2-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <2>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_2_out { - compatible = "qcom,smp2pgpio_test_smp2p_2_out"; - gpios = <&smp2pgpio_smp2p_2_out 0 0>; - }; - - /* SMP2P SSR Driver for inbound entry from lpass. */ - smp2pgpio_ssr_smp2p_2_in: qcom,smp2pgpio-ssr-smp2p-2-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "slave-kernel"; - qcom,remote-pid = <2>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - /* SMP2P SSR Driver for outbound entry to lpass */ - smp2pgpio_ssr_smp2p_2_out: qcom,smp2pgpio-ssr-smp2p-2-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "master-kernel"; - qcom,remote-pid = <2>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - smp2pgpio_smp2p_4_in: qcom,smp2pgpio-smp2p-4-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <4>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_4_in { - compatible = "qcom,smp2pgpio_test_smp2p_4_in"; - gpios = <&smp2pgpio_smp2p_4_in 0 0>; - }; - - smp2pgpio_smp2p_4_out: qcom,smp2pgpio-smp2p-4-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <4>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - smp2pgpio_ssr_smp2p_4_in: qcom,smp2pgpio-ssr-smp2p-4-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "slave-kernel"; - qcom,remote-pid = <4>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - smp2pgpio_ssr_smp2p_4_out: qcom,smp2pgpio-ssr-smp2p-4-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "master-kernel"; - qcom,remote-pid = <4>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_4_out { - compatible = "qcom,smp2pgpio_test_smp2p_4_out"; - gpios = <&smp2pgpio_smp2p_4_out 0 0>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8610.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v2/msm8610.dtsi deleted file mode 100644 index a62df58d9..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8610.dtsi +++ /dev/null @@ -1,1075 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/include/ "skeleton.dtsi" - -/ { - model = "Qualcomm MSM 8610"; - compatible = "qcom,msm8610"; - interrupt-parent = <&intc>; - - memory { - qsecom_mem: qsecom_region { - linux,contiguous-region; - reg = <0 0x100000>; - label = "qsecom_mem"; - }; - }; - - aliases { - sdhc1 = &sdhc_1; /* SDC1 eMMC slot */ - sdhc2 = &sdhc_2; /* SDC2 SD card slot */ - spi4 = &spi_4; - }; - - soc: soc { }; -}; - -/include/ "msm8610-camera.dtsi" -/include/ "msm-iommu-v0.dtsi" -/include/ "msm8610-ion.dtsi" -/include/ "msm8610-gpu.dtsi" -/include/ "msm-gdsc.dtsi" -/include/ "msm8610-coresight.dtsi" -/include/ "msm8610-pm.dtsi" -/include/ "msm8610-smp2p.dtsi" -/include/ "msm8610-bus.dtsi" -/include/ "msm8610-mdss.dtsi" - -&soc { - #address-cells = <1>; - #size-cells = <1>; - ranges; - - intc: interrupt-controller@f9000000 { - compatible = "qcom,msm-qgic2"; - interrupt-controller; - #interrupt-cells = <3>; - reg = <0xf9000000 0x1000>, - <0xf9002000 0x1000>; - }; - - msmgpio: gpio@fd510000 { - compatible = "qcom,msm-gpio"; - interrupt-controller; - #interrupt-cells = <2>; - reg = <0xfd510000 0x4000>; - gpio-controller; - #gpio-cells = <2>; - ngpio = <102>; - interrupts = <0 208 0>; - qcom,direct-connect-irqs = <8>; - }; - - qcom,mpm2-sleep-counter@fc4a3000 { - compatible = "qcom,mpm2-sleep-counter"; - reg = <0xfc4a3000 0x1000>; - clock-frequency = <32768>; - }; - - timer { - compatible = "arm,armv7-timer"; - interrupts = <1 2 0 1 3 0>; - clock-frequency = <19200000>; - }; - - 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 8 0x4>, - <0 7 0x4>; - reg = <0xf9021000 0x1000>, - <0xf9022000 0x1000>; - }; - - frame@f9023000 { - frame-number = <1>; - interrupts = <0 9 0x4>; - reg = <0xf9023000 0x1000>; - status = "disabled"; - }; - - frame@f9024000 { - frame-number = <2>; - interrupts = <0 10 0x4>; - reg = <0xf9024000 0x1000>; - status = "disabled"; - }; - - frame@f9025000 { - frame-number = <3>; - interrupts = <0 11 0x4>; - reg = <0xf9025000 0x1000>; - status = "disabled"; - }; - - frame@f9026000 { - frame-number = <4>; - interrupts = <0 12 0x4>; - reg = <0xf9026000 0x1000>; - status = "disabled"; - }; - - frame@f9027000 { - frame-number = <5>; - interrupts = <0 13 0x4>; - reg = <0xf9027000 0x1000>; - status = "disabled"; - }; - - frame@f9028000 { - frame-number = <6>; - interrupts = <0 14 0x4>; - reg = <0xf9028000 0x1000>; - status = "disabled"; - }; - }; - - qcom,msm-adsp-loader { - compatible = "qcom,adsp-loader"; - qcom,adsp-state = <0>; - }; - - qcom,msm-audio-ion { - compatible = "qcom,msm-audio-ion"; - qcom,smmu-enabled; - }; - - qcom,msm-imem@fe805000 { - compatible = "qcom,msm-imem"; - reg = <0xfe805000 0x1000>; /* Address and size of IMEM */ - }; - - serial@f991f000 { - compatible = "qcom,msm-lsuart-v14"; - reg = <0xf991f000 0x1000>; - interrupts = <0 109 0>; - status = "disabled"; - }; - - serial@f991e000 { - compatible = "qcom,msm-lsuart-v14"; - reg = <0xf991e000 0x1000>; - interrupts = <0 108 0>; - status = "disabled"; - }; - - qcom,vidc@fdc00000 { - compatible = "qcom,msm-vidc"; - qcom,vidc-ns-map = <0x40000000 0x40000000>; - qcom,iommu-groups = <&q6_domain_ns>; - qcom,iommu-group-buffer-types = <0xfff>; - qcom,buffer-type-tz-usage-map = <0x1 0x1>, - <0x1fe 0x2>; - qcom,hfi = "q6"; - qcom,max-hw-load = <108000>; /* 720p @ 30 * 1 */ - }; - - qcom,usbbam@f9a44000 { - compatible = "qcom,usb-bam-msm"; - reg = <0xf9a44000 0x11000>; - reg-names = "hsusb"; - interrupts = <0 135 0>; - interrupt-names = "hsusb"; - qcom,usb-bam-num-pipes = <16>; - qcom,usb-bam-fifo-baseaddr = <0xfe803000>; - qcom,ignore-core-reset-ack; - qcom,disable-clk-gating; - - qcom,pipe0 { - label = "hsusb-qdss-in-0"; - qcom,usb-bam-mem-type = <3>; - qcom,bam-type = <1>; - 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 = <0xf9a44000>; - qcom,dst-bam-pipe-index = <2>; - qcom,data-fifo-offset = <0x0>; - qcom,data-fifo-size = <0x600>; - qcom,descriptor-fifo-offset = <0x600>; - qcom,descriptor-fifo-size = <0x200>; - }; - }; - - usb@f9a55000 { - compatible = "qcom,hsusb-otg"; - reg = <0xf9a55000 0x400>; - interrupts = <0 134 0>, <0 140 0>; - interrupt-names = "core_irq", "async_irq"; - HSUSB_VDDCX-supply = <&pm8110_s1>; - HSUSB_1p8-supply = <&pm8110_l10>; - HSUSB_3p3-supply = <&pm8110_l20>; - - qcom,hsusb-otg-phy-type = <2>; - qcom,hsusb-otg-mode = <1>; - qcom,hsusb-otg-otg-control = <2>; - qcom,hsusb-otg-disable-reset; - qcom,dp-manual-pullup; - - qcom,msm-bus,name = "usb2"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,active-only = <0>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <87 512 0 0>, - <87 512 60000 960000>; - }; - - android_usb@fe8050c8 { - compatible = "qcom,android-usb"; - reg = <0xfe8050c8 0xc8>; - }; - - sdcc1: qcom,sdcc@f9824000 { - cell-index = <1>; /* SDC1 eMMC slot */ - compatible = "qcom,msm-sdcc"; - reg = <0xf9824000 0x800>, - <0xf9824800 0x100>, - <0xf9804000 0x7000>; - reg-names = "core_mem", "dml_mem", "bam_mem"; - interrupts = <0 123 0>, <0 137 0>; - interrupt-names = "core_irq", "bam_irq"; - - vdd-supply = <&pm8110_l17>; - qcom,vdd-always-on; - qcom,vdd-lpm-sup; - qcom,vdd-voltage-level = <2900000 2900000>; - qcom,vdd-current-level = <9000 400000>; - - vdd-io-supply = <&pm8110_l6>; - qcom,vdd-io-always-on; - qcom,vdd-io-lpm-sup; - qcom,vdd-io-voltage-level = <1800000 1800000>; - qcom,vdd-io-current-level = <9000 60000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - qcom,sup-voltages = <2900 2900>; - qcom,bus-width = <8>; - qcom,nonremovable; - qcom,bus-speed-mode = "HS200_1p8v", "DDR_1p8v"; - - status = "disabled"; - }; - - sdcc2: qcom,sdcc@f98a4000 { - cell-index = <2>; /* SDC2 SD card slot */ - compatible = "qcom,msm-sdcc"; - reg = <0xf98a4000 0x800>, - <0xf98a4800 0x100>, - <0xf9884000 0x7000>; - reg-names = "core_mem", "dml_mem", "bam_mem"; - interrupts = <0 125 0>, <0 220 0>; - interrupt-names = "core_irq", "bam_irq"; - - vdd-supply = <&pm8110_l18>; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <9000 400000>; - - vdd-io-supply = <&pm8110_l21>; - qcom,vdd-io-voltage-level = <1800000 2950000>; - qcom,vdd-io-current-level = <9000 50000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - qcom,sup-voltages = <2950 2950>; - qcom,bus-width = <4>; - qcom,xpc; - qcom,bus-speed-mode = "SDR12", "SDR25", "SDR50", "DDR50", "SDR104"; - qcom,current-limit = <800>; - - status = "disabled"; - }; - - sdhc_1: sdhci@f9824900 { - compatible = "qcom,sdhci-msm"; - reg = <0xf9824900 0x11c>, <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>; - 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"; - - qcom,bus-width = <4>; - status = "disabled"; - }; - - qcom,sps { - compatible = "qcom,msm_sps"; - qcom,device-type = <3>; - }; - - qcom,smem@d900000 { - compatible = "qcom,smem"; - reg = <0xd900000 0x100000>, - <0xf9011000 0x1000>, - <0xfc428000 0x4000>; - reg-names = "smem", "irq-reg-base", "aux-mem1"; - - qcom,smd-modem { - compatible = "qcom,smd"; - qcom,smd-edge = <0>; - qcom,smd-irq-offset = <0x8>; - qcom,smd-irq-bitmask = <0x1000>; - qcom,pil-string = "modem"; - interrupts = <0 25 1>; - }; - - qcom,smsm-modem { - compatible = "qcom,smsm"; - qcom,smsm-edge = <0>; - qcom,smsm-irq-offset = <0x8>; - qcom,smsm-irq-bitmask = <0x2000>; - interrupts = <0 26 1>; - }; - - qcom,smd-adsp { - compatible = "qcom,smd"; - qcom,smd-edge = <1>; - qcom,smd-irq-offset = <0x8>; - qcom,smd-irq-bitmask = <0x100>; - qcom,pil-string = "adsp"; - interrupts = <0 156 1>; - }; - - qcom,smsm-adsp { - compatible = "qcom,smsm"; - qcom,smsm-edge = <1>; - qcom,smsm-irq-offset = <0x8>; - qcom,smsm-irq-bitmask = <0x200>; - interrupts = <0 157 1>; - }; - - qcom,smd-wcnss { - compatible = "qcom,smd"; - qcom,smd-edge = <6>; - qcom,smd-irq-offset = <0x8>; - qcom,smd-irq-bitmask = <0x20000>; - qcom,pil-string = "wcnss"; - interrupts = <0 142 1>; - }; - - qcom,smsm-wcnss { - compatible = "qcom,smsm"; - qcom,smsm-edge = <6>; - qcom,smsm-irq-offset = <0x8>; - qcom,smsm-irq-bitmask = <0x80000>; - interrupts = <0 144 1>; - }; - - qcom,smd-rpm { - compatible = "qcom,smd"; - qcom,smd-edge = <15>; - qcom,smd-irq-offset = <0x8>; - qcom,smd-irq-bitmask = <0x1>; - interrupts = <0 168 1>; - qcom,irq-no-suspend; - }; - }; - - rpm_bus: qcom,rpm-smd { - compatible = "qcom,rpm-smd"; - rpm-channel-name = "rpm_requests"; - rpm-channel-type = <15>; /* SMD_APPS_RPM */ - rpm-standalone; - }; - - qcom,bcl { - compatible = "qcom,bcl"; - }; - - qcom,msm-mem-hole { - compatible = "qcom,msm-mem-hole"; - qcom,memblock-remove = <0x07B00000 0x6400000>; /* Address and Size of Hole */ - }; - - qcom,wdt@f9017000 { - compatible = "qcom,msm-watchdog"; - reg = <0xf9017000 0x1000>; - interrupts = <0 3 0>, <0 4 0>; - qcom,bark-time = <11000>; - qcom,pet-time = <10000>; - qcom,ipi-ping; - }; - - qcom,acpuclk@f9011050 { - compatible = "qcom,acpuclk-a7"; - reg = <0xf9011050 0x8>; - reg-names = "rcg_base"; - a7_cpu-supply = <&apc_vreg_corner>; - }; - - spmi_bus: qcom,spmi@fc4c0000 { - cell-index = <0>; - 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-ee = <0>; - qcom,pmic-arb-channel = <0>; - }; - - i2c@f9923000 { /* BLSP-1 QUP-1 */ - cell-index = <1>; - compatible = "qcom,i2c-qup"; - #address-cells = <1>; - #size-cells = <0>; - reg-names = "qup_phys_addr"; - reg = <0xf9923000 0x1000>; - interrupt-names = "qup_err_intr"; - interrupts = <0 95 0>; - qcom,i2c-bus-freq = <100000>; - qcom,i2c-src-freq = <19200000>; - qcom,sda-gpio = <&msmgpio 2 0>; - qcom,scl-gpio = <&msmgpio 3 0>; - }; - - i2c_cdc: i2c@f9927000 { /* BLSP1 QUP5 */ - cell-index = <5>; - compatible = "qcom,i2c-qup"; - #address-cells = <1>; - #size-cells = <0>; - reg-names = "qup_phys_addr"; - reg = <0xf9927000 0x1000>; - interrupt-names = "qup_err_intr"; - interrupts = <0 99 0>; - qcom,i2c-bus-freq = <100000>; - }; - - i2c: i2c@f9928000 { /* BLSP1 QUP6 */ - cell-index = <6>; - compatible = "qcom,i2c-qup"; - #address-cells = <1>; - #size-cells = <0>; - reg-names = "qup_phys_addr"; - reg = <0xf9928000 0x1000>; - interrupt-names = "qup_err_intr"; - interrupts = <0 100 0>; - qcom,i2c-bus-freq = <100000>; - qcom,i2c-src-freq = <19200000>; - qcom,sda-gpio = <&msmgpio 16 0>; - qcom,scl-gpio = <&msmgpio 17 0>; - }; - - i2c@f9925000 { /* BLSP-1 QUP-3 */ - cell-index = <0>; - compatible = "qcom,i2c-qup"; - #address-cells = <1>; - #size-cells = <0>; - reg-names = "qup_phys_addr"; - reg = <0xf9925000 0x1000>; - interrupt-names = "qup_err_intr"; - interrupts = <0 97 0>; - qcom,i2c-bus-freq = <100000>; - }; - - spi_4: spi@f9926000 { /* BLSP1 QUP4 */ - compatible = "qcom,spi-qup-v2"; - #address-cells = <1>; - #size-cells = <0>; - reg-names = "spi_physical", "spi_bam_physical"; - reg = <0xf9926000 0x1000>, - <0xf9904000 0x15000>; - interrupt-names = "spi_irq", "spi_bam_irq"; - interrupts = <0 98 0>, <0 238 0>; - spi-max-frequency = <50000000>; - - gpios = <&msmgpio 89 0>, /* CLK */ - <&msmgpio 87 0>, /* MISO */ - <&msmgpio 86 0>; /* MOSI */ - cs-gpios = <&msmgpio 88 0>; - - qcom,infinite-mode = <0>; - qcom,use-bam; - qcom,ver-reg-exists; - qcom,bam-consumer-pipe-index = <18>; - qcom,bam-producer-pipe-index = <19>; - }; - - qcom,pronto@fb21b000 { - compatible = "qcom,pil-pronto"; - reg = <0xfb21b000 0x3000>, - <0xfc401700 0x4>, - <0xfd485300 0xc>; - reg-names = "pmu_base", "clk_base", "halt_base"; - interrupts = <0 149 1>; - vdd_pronto_pll-supply = <&pm8110_l10>; - - qcom,firmware-name = "wcnss"; - - /* GPIO inputs from wcnss */ - qcom,gpio-err-fatal = <&smp2pgpio_ssr_smp2p_4_in 0 0>; - qcom,gpio-err-ready = <&smp2pgpio_ssr_smp2p_4_in 1 0>; - qcom,gpio-proxy-unvote = <&smp2pgpio_ssr_smp2p_4_in 2 0>; - - /* GPIO output to wcnss */ - qcom,gpio-force-stop = <&smp2pgpio_ssr_smp2p_4_out 0 0>; - }; - - qcom,iris-fm { - compatible = "qcom,iris_fm"; - }; - - sound { - compatible = "qcom,msm8x10-audio-codec"; - qcom,model = "msm8x10-snd-card"; - }; - - qcom,msm-pcm { - compatible = "qcom,msm-pcm-dsp"; - qcom,msm-pcm-dsp-id = <0>; - }; - - qcom,msm-pcm-low-latency { - compatible = "qcom,msm-pcm-dsp"; - qcom,msm-pcm-dsp-id = <1>; - qcom,msm-pcm-low-latency; - }; - - qcom,msm-pcm-routing { - compatible = "qcom,msm-pcm-routing"; - }; - - qcom,msm-pcm-lpa { - compatible = "qcom,msm-pcm-lpa"; - }; - - qcom,msm-compr-dsp { - compatible = "qcom,msm-compr-dsp"; - }; - - qcom,msm-voip-dsp { - compatible = "qcom,msm-voip-dsp"; - }; - - qcom,msm-pcm-voice { - compatible = "qcom,msm-pcm-voice"; - }; - - qcom,msm-stub-codec { - compatible = "qcom,msm-stub-codec"; - }; - - qcom,msm-dai-fe { - compatible = "qcom,msm-dai-fe"; - }; - - qcom,msm-pcm-afe { - compatible = "qcom,msm-pcm-afe"; - }; - - qcom,msm-dai-mi2s { - compatible = "qcom,msm-dai-mi2s"; - qcom,msm-dai-q6-mi2s-prim { - compatible = "qcom,msm-dai-q6-mi2s"; - qcom,msm-dai-q6-mi2s-dev-id = <0>; - qcom,msm-mi2s-rx-lines = <0>; - qcom,msm-mi2s-tx-lines = <3>; - }; - - qcom,msm-dai-q6-mi2s-sec { - compatible = "qcom,msm-dai-q6-mi2s"; - qcom,msm-dai-q6-mi2s-dev-id = <1>; - qcom,msm-mi2s-rx-lines = <3>; - qcom,msm-mi2s-tx-lines = <0>; - }; - }; - - qcom,msm-dai-q6 { - compatible = "qcom,msm-dai-q6"; - qcom,msm-dai-q6-bt-sco-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <12288>; - }; - - qcom,msm-dai-q6-bt-sco-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <12289>; - }; - - qcom,msm-dai-q6-int-fm-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <12292>; - }; - - qcom,msm-dai-q6-int-fm-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <12293>; - }; - - qcom,msm-dai-q6-be-afe-pcm-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <224>; - }; - - qcom,msm-dai-q6-be-afe-pcm-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <225>; - }; - - qcom,msm-dai-q6-afe-proxy-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <241>; - }; - - qcom,msm-dai-q6-afe-proxy-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <240>; - }; - - qcom,msm-dai-q6-incall-record-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <32771>; - }; - - qcom,msm-dai-q6-incall-record-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <32772>; - }; - - qcom,msm-dai-q6-incall-music-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <32773>; - }; - }; - - qcom,msm-pcm-hostless { - compatible = "qcom,msm-pcm-hostless"; - }; - - qcom,wcnss-wlan@fb000000 { - compatible = "qcom,wcnss_wlan"; - reg = <0xfb000000 0x280000>, - <0xf9011008 0x04>; - reg-names = "wcnss_mmio", "wcnss_fiq"; - interrupts = <0 145 0>, <0 146 0>; - interrupt-names = "wcnss_wlantx_irq", "wcnss_wlanrx_irq"; - - qcom,pronto-vddmx-supply = <&pm8110_l3>; - qcom,pronto-vddcx-supply = <&pm8110_s1>; - qcom,pronto-vddpx-supply = <&pm8110_l6>; - qcom,iris-vddxo-supply = <&pm8110_l10>; - qcom,iris-vddrfa-supply = <&pm8110_l5>; - qcom,iris-vddpa-supply = <&pm8110_l16>; - qcom,iris-vdddig-supply = <&pm8110_l5>; - - gpios = <&msmgpio 23 0>, <&msmgpio 24 0>, <&msmgpio 25 0>, <&msmgpio 26 0>, <&msmgpio 27 0>; - qcom,has-pronto-hw; - qcom,wlan-rx-buff-count = <256>; - }; - - qcom,mss@fc880000 { - compatible = "qcom,pil-q6v5-mss"; - reg = <0xfc880000 0x100>, - <0xfd485000 0x400>, - <0xfc820000 0x020>, - <0xfc401680 0x004>, - <0xfd485194 0x4>; - reg-names = "qdsp6_base", "halt_base", "rmb_base", - "restart_reg", "cxrail_bhs_reg"; - - interrupts = <0 24 1>; - vdd_cx-supply = <&pm8110_s1_corner>; - vdd_mx-supply = <&pm8110_l3>; - vdd_pll-supply = <&pm8110_l10>; - qcom,vdd_pll = <1800000>; - qcom,is-loadable; - qcom,firmware-name = "mba"; - qcom,pil-self-auth; - - /* 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>; - }; - - qcom,lpass@fe200000 { - compatible = "qcom,pil-q6v5-lpass"; - reg = <0xfe200000 0x00100>, - <0xfd485100 0x00010>, - <0xfc4016c0 0x00004>; - reg-names = "qdsp6_base", "halt_base", "restart_reg"; - interrupts = <0 162 1>; - vdd_cx-supply = <&pm8110_s1_corner>; - 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>; - - /* GPIO output to lpass */ - qcom,gpio-force-stop = <&smp2pgpio_ssr_smp2p_2_out 0 0>; - }; - - tsens: tsens@fc4a8000 { - compatible = "qcom,msm-tsens"; - reg = <0xfc4a8000 0x2000>, - <0xfc4b8000 0x1000>; - reg-names = "tsens_physical", "tsens_eeprom_physical"; - interrupts = <0 184 0>; - qcom,sensors = <2>; - qcom,slope = <2901 2846>; - qcom,calib-mode = "fuse_map3"; - qcom,sensor-id = <0 5>; - }; - - qcom,msm-thermal { - compatible = "qcom,msm-thermal"; - qcom,sensor-id = <5>; - qcom,poll-ms = <250>; - qcom,limit-temp = <60>; - qcom,temp-hysteresis = <10>; - qcom,freq-step = <2>; - qcom,freq-control-mask = <0xf>; - }; - - qcom,ipc-spinlock@fd484000 { - compatible = "qcom,ipc-spinlock-sfpb"; - reg = <0xfd484000 0x400>; - qcom,num-locks = <8>; - }; - - qcom,bam_dmux@fc834000 { - compatible = "qcom,bam_dmux"; - reg = <0xfc834000 0x7000>; - interrupts = <0 29 1>; - }; - - qcom,qseecom@7B00000 { - compatible = "qcom,qseecom"; - reg = <0x7B00000 0x500000>; - reg-names = "secapp-region"; - qcom,disk-encrypt-pipe-pair = <2>; - qcom,hlos-ce-hw-instance = <0>; - qcom,qsee-ce-hw-instance = <0>; - qcom,msm-bus,name = "qseecom-noc"; - qcom,msm-bus,num-cases = <4>; - qcom,msm-bus,active-only = <0>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <55 512 0 0>, - <55 512 3936000 393600>, - <55 512 3936000 393600>, - <55 512 3936000 393600>; - }; - - qcom,msm-rng@f9bff000 { - compatible = "qcom,msm-rng"; - reg = <0xf9bff000 0x200>; - qcom,msm-rng-iface-clk; - }; - - qcom,msm-rtb { - compatible = "qcom,msm-rtb"; - qcom,memory-reservation-type = "EBI1"; - qcom,memory-reservation-size = <0x100000>; /* 1M EBI1 buffer */ - }; - - jtag_mm0: jtagmm@fc34c000 { - compatible = "qcom,jtag-mm"; - reg = <0xfc34c000 0x1000>, - <0xfc340000 0x1000>; - reg-names = "etm-base","debug-base"; - }; - - jtag_mm1: jtagmm@fc34d000 { - compatible = "qcom,jtag-mm"; - reg = <0xfc34d000 0x1000>, - <0xfc342000 0x1000>; - reg-names = "etm-base","debug-base"; - }; - - jtag_mm2: jtagmm@fc34e000 { - compatible = "qcom,jtag-mm"; - reg = <0xfc34e000 0x1000>, - <0xfc344000 0x1000>; - reg-names = "etm-base","debug-base"; - }; - - jtag_mm3: jtagmm@fc34f000 { - compatible = "qcom,jtag-mm"; - reg = <0xfc34f000 0x1000>, - <0xfc346000 0x1000>; - reg-names = "etm-base","debug-base"; - }; - - qcom,tz-log@fe805720 { - compatible = "qcom,tz-log"; - reg = <0x0fe805720 0x1000>; - }; - - qcom,qcrypto@fd404000 { - compatible = "qcom,qcrypto"; - reg = <0xfd400000 0x20000>, - <0xfd404000 0x8000>; - reg-names = "crypto-base","crypto-bam-base"; - interrupts = <0 207 0>; - qcom,bam-pipe-pair = <2>; - qcom,ce-hw-instance = <1>; - qcom,ce-hw-shared; - qcom,msm-bus,name = "qcrypto-noc"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,active-only = <0>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <55 512 0 0>, - <55 512 393600 3936000>; - }; - - qcom,qcedev@fd400000 { - compatible = "qcom,qcedev"; - reg = <0xfd400000 0x20000>, - <0xfd404000 0x8000>; - reg-names = "crypto-base","crypto-bam-base"; - interrupts = <0 207 0>; - qcom,bam-pipe-pair = <1>; - qcom,ce-hw-instance = <1>; - qcom,ce-hw-shared; - qcom,msm-bus,name = "qcedev-noc"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,active-only = <0>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <55 512 0 0>, - <55 512 393600 3936000>; - }; - -}; - -&gdsc_vfe { - status = "ok"; -}; - -&gdsc_oxili_cx { - status = "ok"; -}; - -&lpass_iommu { - status = "ok"; -}; - -&copss_iommu { - status = "ok"; -}; - -&mdpe_iommu { - status = "ok"; -}; - -&mdps_iommu { - status = "ok"; -}; - -&gfx_iommu { - status = "ok"; -}; - -&vfe_iommu { - status = "ok"; -}; - -/include/ "msm8610-iommu-domains.dtsi" - -/include/ "msm-pm8110-rpm-regulator.dtsi" -/include/ "msm-pm8110.dtsi" -/include/ "msm8610-regulator.dtsi" - -&pm8110_vadc { - chan@0 { - label = "usb_in"; - reg = <0>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <4>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@2 { - label = "vchg_sns"; - reg = <2>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <2>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@5 { - label = "vcoin"; - reg = <5>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <1>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@6 { - label = "vbat_sns"; - reg = <6>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <1>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@7 { - label = "vph_pwr"; - reg = <7>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <1>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@30 { - label = "batt_therm"; - reg = <0x30>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <1>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@31 { - label = "batt_id"; - reg = <0x31>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@b2 { - label = "xo_therm_pu2"; - reg = <0xb2>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <4>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@13 { - label = "pa_therm0"; - reg = <0x13>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; -}; - -&pm8110_adc_tm { - /* Channel Node */ - chan@30 { - label = "batt_therm"; - reg = <0x30>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <1>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <3>; - qcom,btm-channel-number = <0x48>; - }; - - chan@8 { - label = "die_temp"; - reg = <8>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <3>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <3>; - qcom,btm-channel-number = <0x68>; - }; - - chan@6 { - label = "vbat_sns"; - reg = <6>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <1>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <3>; - qcom,btm-channel-number = <0x70>; - }; - - chan@13 { - label = "pa_therm0"; - reg = <0x13>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - qcom,btm-channel-number = <0x78>; - qcom,thermal-node; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8660-surf.dts b/kernel/arch/arm/boot/dts/m7350-un-v2/msm8660-surf.dts deleted file mode 100644 index 4518fc4a3..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8660-surf.dts +++ /dev/null @@ -1,24 +0,0 @@ -/dts-v1/; - -/include/ "skeleton.dtsi" - -/ { - model = "Qualcomm MSM8660 SURF"; - compatible = "qcom,msm8660-surf", "qcom,msm8660", "qcom,surf"; - interrupt-parent = <&intc>; - - intc: interrupt-controller@02080000 { - compatible = "qcom,msm-8660-qgic"; - interrupt-controller; - #interrupt-cells = <3>; - reg = < 0x02080000 0x1000 >, - < 0x02081000 0x1000 >; - }; - - serial@19c400000 { - compatible = "qcom,msm-hsuart", "qcom,msm-uart"; - reg = <0x19c40000 0x1000>, - <0x19c00000 0x1000>; - interrupts = <0 195 0x0>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8926-cdp.dts b/kernel/arch/arm/boot/dts/m7350-un-v2/msm8926-cdp.dts deleted file mode 100644 index 7a91d40ee..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8926-cdp.dts +++ /dev/null @@ -1,22 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - - -/dts-v1/; -/include/ "msm8926.dtsi" -/include/ "msm8226-cdp.dtsi" - -/ { - model = "Qualcomm MSM 8926 CDP"; - compatible = "qcom,msm8926-cdp", "qcom,msm8926", "qcom,cdp"; - qcom,msm-id = <200 1 0>; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8926-mtp.dts b/kernel/arch/arm/boot/dts/m7350-un-v2/msm8926-mtp.dts deleted file mode 100644 index fea925d62..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8926-mtp.dts +++ /dev/null @@ -1,22 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - - -/dts-v1/; -/include/ "msm8926.dtsi" -/include/ "msm8226-mtp.dtsi" - -/ { - model = "Qualcomm MSM 8926 MTP"; - compatible = "qcom,msm8926-mtp", "qcom,msm8926", "qcom,mtp"; - qcom,msm-id = <200 8 0>; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8926-qrd.dts b/kernel/arch/arm/boot/dts/m7350-un-v2/msm8926-qrd.dts deleted file mode 100644 index e056b7e87..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8926-qrd.dts +++ /dev/null @@ -1,21 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; -/include/ "msm8926.dtsi" -/include/ "msm8226-qrd.dtsi" - -/ { - model = "Qualcomm MSM 8926 QRD"; - compatible = "qcom,msm8926-qrd", "qcom,msm8926", "qcom,qrd"; - qcom,msm-id = <200 11 0>; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8926.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v2/msm8926.dtsi deleted file mode 100644 index 6f3f59251..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8926.dtsi +++ /dev/null @@ -1,30 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/* - * Only 8926-specific property overrides should be placed inside this - * file. Device definitions should be placed inside the msm8226.dtsi - * file. - */ - -/include/ "msm8226.dtsi" - -/ { - model = "Qualcomm MSM 8926"; - compatible = "qcom,msm8926"; -}; - -&soc { - qcom,mss@fc880000 { - vdd_mss-supply = <&pm8226_s5>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8974-bus.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v2/msm8974-bus.dtsi deleted file mode 100644 index 609a1b302..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8974-bus.dtsi +++ /dev/null @@ -1,1411 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -&soc { - msm-mmss-noc@fc478000 { - compatible = "msm-bus-fabric"; - reg = <0xfc478000 0x00004000>; - cell-id = <2048>; - label = "msm_mmss_noc"; - qcom,fabclk-dual = "bus_clk"; - qcom,fabclk-active = "bus_a_clk"; - qcom,ntieredslaves = <0>; - qcom,qos-freq = <4800>; - qcom,hw-sel = "NoC"; - qcom,rpm-en; - - coresight-id = <52>; - coresight-name = "coresight-mnoc"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_in0>; - coresight-child-ports = <5>; - - mas-gfx3d { - cell-id = <26>; - label = "mas-gfx3d"; - qcom,masterp = <2 3>; - qcom,tier = <2>; - qcom,hw-sel = "NoC"; - qcom,perm-mode = "Bypass"; - qcom,mode = "Bypass"; - qcom,ws = <10000>; - qcom,qport = <2 3>; - qcom,mas-hw-id = <6>; - }; - - mas-jpeg { - cell-id = <62>; - label = "mas-jpeg"; - qcom,masterp = <4>; - qcom,tier = <2>; - qcom,hw-sel = "NoC"; - qcom,perm-mode = "Bypass"; - qcom,mode = "Bypass"; - qcom,qport = <0>; - qcom,ws = <10000>; - qcom,mas-hw-id = <7>; - }; - - mas-mdp-port0 { - cell-id = <22>; - label = "mas-mdp-port0"; - qcom,masterp = <5>; - qcom,tier = <2>; - qcom,hw-sel = "NoC"; - qcom,perm-mode = "Bypass"; - qcom,mode = "Bypass"; - qcom,qport = <1>; - qcom,ws = <10000>; - qcom,mas-hw-id = <8>; - }; - - mas-video-p0 { - cell-id = <63>; - label = "mas-video-p0"; - qcom,masterp = <6 7>; - qcom,tier = <2>; - qcom,hw-sel = "NoC"; - qcom,perm-mode = "Bypass"; - qcom,mode = "Bypass"; - qcom,ws = <10000>; - qcom,qport = <4 5>; - qcom,mas-hw-id = <9>; - }; - - mas-vfe { - cell-id = <29>; - label = "mas-vfe"; - qcom,masterp = <16>; - qcom,tier = <2>; - qcom,hw-sel = "NoC"; - qcom,perm-mode = "Bypass"; - qcom,mode = "Bypass"; - qcom,ws = <10000>; - qcom,qport = <6>; - qcom,mas-hw-id = <11>; - }; - - fab-cnoc { - cell-id = <5120>; - label = "fab-cnoc"; - qcom,gateway; - qcom,masterp = <0 1>; - qcom,buswidth = <16>; - qcom,hw-sel = "RPM"; - qcom,mas-hw-id = <4>; - }; - - fab-bimc { - cell-id = <0>; - label = "fab-bimc"; - qcom,gateway; - qcom,slavep = <16 17>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <16>; - }; - - slv-camera-cfg { - cell-id = <589>; - label = "slv-camera-cfg"; - qcom,slavep = <0>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <3>; - }; - - slv-display-cfg { - cell-id = <590>; - label = "slv-display-cfg"; - qcom,slavep = <1>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <4>; - }; - - slv-ocmem-cfg { - cell-id = <591>; - label = "slv-ocmem-cfg"; - qcom,slavep = <2>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <5>; - }; - - slv-cpr-cfg { - cell-id = <592>; - label = "slv-cpr-cfg"; - qcom,slavep = <3>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <6>; - }; - - slv-cpr-xpu-cfg { - cell-id = <593>; - label = "slv-cpr-xpu-cfg"; - qcom,slavep = <4>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <7>; - }; - - slv-misc-cfg { - cell-id = <594>; - label = "slv-misc-cfg"; - qcom,slavep = <6>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <8>; - }; - - slv-misc-xpu-cfg { - cell-id = <595>; - label = "slv-misc-xpu-cfg"; - qcom,slavep = <7>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <9>; - }; - - slv-venus-cfg { - cell-id = <596>; - label = "slv-venus-cfg"; - qcom,slavep = <8>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <10>; - }; - - slv-gfx3d-cfg { - cell-id = <598>; - label = "slv-gfx3d-cfg"; - qcom,slavep = <9>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <11>; - }; - - slv-mmss-clk-cfg { - cell-id = <599>; - label = "slv-mmss-clk-cfg"; - qcom,slavep = <11>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <12>; - }; - - slv-mmss-clk-xpu-cfg { - cell-id = <600>; - label = "slv-mmss-clk-xpu-cfg"; - qcom,slavep = <12>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <13>; - }; - - slv-mnoc-mpu-cfg { - cell-id = <601>; - label = "slv-mnoc-mpu-cfg"; - qcom,slavep = <13>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <14>; - }; - - slv-onoc-mpu-cfg { - cell-id = <602>; - label = "slv-onoc-mpu-cfg"; - qcom,slavep = <14>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <15>; - }; - - slv-service-mnoc { - cell-id = <603>; - label = "slv-service-mnoc"; - qcom,slavep = <18>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <17>; - }; - - }; - - msm-sys-noc@fc460000 { - compatible = "msm-bus-fabric"; - reg = <0xfc460000 0x00004000>; - cell-id = <1024>; - label = "msm_sys_noc"; - qcom,fabclk-dual = "bus_clk"; - qcom,fabclk-active = "bus_a_clk"; - qcom,ntieredslaves = <0>; - qcom,qos-freq = <4800>; - qcom,hw-sel = "NoC"; - qcom,rpm-en; - - coresight-id = <50>; - coresight-name = "coresight-snoc"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_in0>; - coresight-child-ports = <3>; - - msm-lpass-ahb { - cell-id = <52>; - label = "mas-lpass-ahb"; - qcom,masterp = <0>; - qcom,tier = <2>; - qcom,qport = <0>; - qcom,mas-hw-id = <18>; - qcom,mode = "Fixed"; - qcom,prio1 = <2>; - qcom,prio0 = <2>; - }; - - mas-qdss-bam { - cell-id = <53>; - label = "mas-qdss-bam"; - qcom,masterp = <1>; - qcom,tier = <2>; - qcom,mode = "Fixed"; - qcom,qport = <1>; - qcom,mas-hw-id = <19>; - qcom,prio1 = <1>; - qcom,prio0 = <1>; - qcom,hw-sel = "NoC"; - }; - - mas-snoc-cfg { - cell-id = <54>; - label = "mas-snoc-cfg"; - qcom,masterp = <2>; - qcom,tier = <2>; - qcom,mas-hw-id = <20>; - }; - - fab-bimc { - cell-id = <0>; - label= "fab-bimc"; - qcom,gateway; - qcom,slavep = <7 8>; - qcom,masterp = <3>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <21>; - qcom,slv-hw-id = <24>; - }; - - fab-cnoc { - cell-id = <5120>; - label = "fab-cnoc"; - qcom,gateway; - qcom,slavep = <9>; - qcom,masterp = <4>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <22>; - qcom,slv-hw-id = <25>; - }; - - fab-pnoc { - cell-id = <4096>; - label = "fab-pnoc"; - qcom,gateway; - qcom,slavep = <12>; - qcom,masterp = <11>; - qcom,buswidth = <8>; - qcom,qport = <8>; - qcom,mas-hw-id = <29>; - qcom,slv-hw-id = <28>; - qcom,mode = "Fixed"; - qcom,prio1 = <2>; - qcom,prio0 = <2>; - }; - - fab-ovnoc { - cell-id = <6144>; - label = "fab-ovnoc"; - qcom,gateway; - qcom,buswidth = <8>; - qcom,mas-hw-id = <53>; - qcom,slv-hw-id = <77>; - }; - - mas-crypto-core0 { - cell-id = <55>; - label = "mas-crypto-core0"; - qcom,masterp = <5>; - qcom,tier = <2>; - qcom,mode = "Fixed"; - qcom,qport = <2>; - qcom,mas-hw-id = <23>; - qcom,hw-sel = "NoC"; - qcom,prio1 = <1>; - qcom,prio0 = <1>; - }; - - mas-crypto-core1 { - cell-id = <56>; - label = "mas-crypto-core1"; - qcom,masterp = <6>; - qcom,tier = <2>; - qcom,mode = "Fixed"; - qcom,qport = <3>; - qcom,mas-hw-id = <24>; - qcom,hw-sel = "NoC"; - qcom,prio1 = <1>; - qcom,prio0 = <1>; - }; - - mas-lpass-proc { - cell-id = <11>; - label = "mas-lpass-proc"; - qcom,masterp = <7>; - qcom,tier = <2>; - qcom,qport = <4>; - qcom,mas-hw-id = <25>; - qcom,mode = "Fixed"; - qcom,prio1 = <2>; - qcom,prio0 = <2>; - }; - - mas-mss { - cell-id = <38>; - label = "mas-mss"; - qcom,masterp = <8>; - qcom,tier = <2>; - qcom,mas-hw-id = <26>; - }; - - mas-mss-nav { - cell-id = <57>; - label = "mas-mss-nav"; - qcom,masterp = <9>; - qcom,tier = <2>; - qcom,mas-hw-id = <27>; - }; - - mas-ocmem-dma { - cell-id = <58>; - label = "mas-ocmem-dma"; - qcom,masterp = <10>; - qcom,tier = <2>; - qcom,mode = "Fixed"; - qcom,qport = <7>; - qcom,mas-hw-id = <28>; - }; - - mas-wcss { - cell-id = <59>; - label = "mas-wcss"; - qcom,masterp = <12>; - qcom,tier = <2>; - qcom,mas-hw-id = <30>; - }; - - mas-qdss-etr { - cell-id = <60>; - label = "mas-qdss-etr"; - qcom,masterp = <13>; - qcom,tier = <2>; - qcom,qport = <10>; - qcom,mode = "Fixed"; - qcom,mas-hw-id = <31>; - qcom,prio1 = <1>; - qcom,prio0 = <1>; - qcom,hw-sel = "NoC"; - }; - - mas-usb3 { - cell-id = <61>; - label = "mas-usb3"; - qcom,masterp = <14>; - qcom,tier = <2>; - qcom,mode = "Fixed"; - qcom,qport = <11>; - qcom,mas-hw-id = <32>; - qcom,prio1 = <1>; - qcom,prio0 = <1>; - qcom,hw-sel = "NoC"; - qcom,iface-clk-node = "msm_usb3"; - }; - - slv-ampss { - cell-id = <520>; - label = "slv-ampss"; - qcom,slavep = <1>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <20>; - }; - - slv-lpass { - cell-id = <522>; - label = "slv-lpass"; - qcom,slavep = <2>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <21>; - }; - - slv-usb3 { - cell-id = <583>; - label = "slv-usb3"; - qcom,slavep = <4>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <22>; - }; - - slv-wcss { - cell-id = <584>; - label = "slv-wcss"; - qcom,slavep = <6>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <23>; - }; - - slv-ocimem { - cell-id = <585>; - label = "slv-ocimem"; - qcom,slavep = <10>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <26>; - }; - - slv-snoc-ocmem { - cell-id = <586>; - label = "slv-snoc-ocmem"; - qcom,slavep = <11>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <27>; - }; - - slv-service-snoc { - cell-id = <587>; - label = "slv-service-snoc"; - qcom,slavep = <13>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <29>; - }; - - slv-qdss-stm { - cell-id = <588>; - label = "slv-qdss-stm"; - qcom,slavep = <14>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <30>; - }; - - }; - - msm-periph-noc@fc468000 { - compatible = "msm-bus-fabric"; - reg = <0xfc468000 0x00004000>; - cell-id = <4096>; - label = "msm_periph_noc"; - qcom,fabclk-dual = "bus_clk"; - qcom,fabclk-active = "bus_a_clk"; - qcom,ntieredslaves = <0>; - qcom,hw-sel = "NoC"; - qcom,rpm-en; - - coresight-id = <54>; - coresight-name = "coresight-pnoc"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_in0>; - coresight-child-ports = <6>; - - mas-pnoc-cfg { - cell-id = <88>; - label = "mas-pnoc-cfg"; - qcom,masterp = <10>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <43>; - }; - - mas-sdcc-1 { - cell-id = <78>; - label = "mas-sdcc-1"; - qcom,masterp = <0>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <33>; - }; - - mas-sdcc-3 { - cell-id = <79>; - label = "mas-sdcc-3"; - qcom,masterp = <1>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <34>; - }; - - mas-sdcc-4 { - cell-id = <80>; - label = "mas-sdcc-4"; - qcom,masterp = <3>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <36>; - }; - - mas-sdcc-2 { - cell-id = <81>; - label = "mas-sdcc-2"; - qcom,masterp = <2>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <35>; - }; - - mas-tsif { - cell-id = <82>; - label = "mas-tsif"; - qcom,masterp = <4>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <37>; - }; - - mas-bam-dma { - cell-id = <83>; - label = "mas-bam-dma"; - qcom,masterp = <5>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <38>; - }; - - mas-blsp-2 { - cell-id = <84>; - label = "mas-blsp-2"; - qcom,masterp = <6>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <39>; - }; - - mas-usb-hsic { - cell-id = <85>; - label = "mas-usb-hsic"; - qcom,masterp = <7>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <40>; - }; - - mas-blsp-1 { - cell-id = <86>; - label = "mas-blsp-1"; - qcom,masterp = <8>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <41>; - }; - - mas-usb-hs { - cell-id = <87>; - label = "mas-usb-hs"; - qcom,masterp = <9>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <42>; - }; - - fab-snoc { - cell-id = <1024>; - label = "fab-snoc"; - qcom,gateway; - qcom,slavep = <14>; - qcom,masterp = <11>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <45>; - qcom,mas-hw-id = <44>; - }; - - slv-sdcc-1 { - cell-id = <606>; - label = "slv-sdcc-1"; - qcom,slavep = <0>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <31>; - }; - - slv-sdcc-3 { - cell-id = <607>; - label = "slv-sdcc-3"; - qcom,slavep = <1>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <32>; - }; - - slv-sdcc-2 { - cell-id = <608>; - label = "slv-sdcc-2"; - qcom,slavep = <2>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <33>; - }; - - slv-sdcc-4 { - cell-id = <609>; - label = "slv-sdcc-4"; - qcom,slavep = <3>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <34>; - }; - - slv-tsif { - cell-id = <575>; - label = "slv-tsif"; - qcom,slavep = <4>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <35>; - }; - - slv-bam-dma { - cell-id = <610>; - label = "slv-bam-dma"; - qcom,slavep = <5>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <36>; - }; - - slv-blsp-2 { - cell-id = <611>; - label = "slv-blsp-2"; - qcom,slavep = <6>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <37>; - }; - - slv-usb-hsic { - cell-id = <612>; - label = "slv-usb-hsic"; - qcom,slavep = <7>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <38>; - }; - - slv-blsp-1 { - cell-id = <613>; - label = "slv-blsp-1"; - qcom,slavep = <8>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <39>; - }; - - slv-usb-hs { - cell-id = <614>; - label = "slv-usb-hs"; - qcom,slavep = <9>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <40>; - }; - - slv-pdm { - cell-id = <615>; - label = "slv-pdm"; - qcom,slavep = <10>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <41>; - }; - - slv-periph-apu-cfg { - cell-id = <616>; - label = "slv-periph-apu-cfg"; - qcom,slavep = <11>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <42>; - }; - - slv-pnoc-mpu-cfg { - cell-id = <617>; - label = "slv-pnoc-mpu-cfg"; - qcom,slavep = <12>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <43>; - }; - - slv-prng { - cell-id = <618>; - label = "slv-prng"; - qcom,slavep = <13>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <44>; - }; - - slv-service-pnoc { - cell-id = <619>; - label = "slv-service-pnoc"; - qcom,slavep = <15>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <46>; - }; - - }; - - msm-config-noc@fc480000 { - compatible = "msm-bus-fabric"; - reg = <0xfc480000 0x00004000>; - cell-id = <5120>; - label = "msm_config_noc"; - qcom,fabclk-dual = "bus_clk"; - qcom,fabclk-active = "bus_a_clk"; - qcom,ntieredslaves = <0>; - qcom,hw-sel = "NoC"; - qcom,rpm-en; - - mas-rpm-inst { - cell-id = <72>; - label = "mas-rpm-inst"; - qcom,masterp = <0>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <45>; - }; - - mas-rpm-data { - cell-id = <73>; - label = "mas-rpm-data"; - qcom,masterp = <1>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <46>; - }; - - mas-rpm-sys { - cell-id = <74>; - label = "mas-rpm-sys"; - qcom,masterp = <2>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <47>; - }; - - mas-dehr { - cell-id = <75>; - label = "mas-dehr"; - qcom,masterp = <3>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <48>; - }; - - mas-qdss-dsp { - cell-id = <76>; - label = "mas-qdss-dap"; - qcom,masterp = <4>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <49>; - }; - - mas-spdm { - cell-id = <36>; - label = "mas-spdm"; - qcom,masterp = <5>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <50>; - }; - - mas-tic { - cell-id = <77>; - label = "mas-tic"; - qcom,masterp = <6>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <51>; - }; - - slv-clk-ctl { - cell-id = <620>; - label = "slv-clk-ctl"; - qcom,slavep = <1>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <47>; - }; - - slv-cnoc-mss { - cell-id = <621>; - label = "slv-cnoc-mss"; - qcom,slavep = <2>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <48>; - }; - - slv-security { - cell-id = <622>; - label = "slv-security"; - qcom,slavep = <3>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <49>; - }; - - slv-tcsr { - cell-id = <623>; - label = "slv-tcsr"; - qcom,slavep = <4>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <50>; - }; - - slv-tlmm { - cell-id = <624>; - label = "slv-tlmm"; - qcom,slavep = <5>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <51>; - }; - - slv-crypto-0-cfg { - cell-id = <625>; - label = "slv-crypto-0-cfg"; - qcom,slavep = <6>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <52>; - }; - - slv-crypto-1-cfg { - cell-id = <626>; - label = "slv-crypto-1-cfg"; - qcom,slavep = <7>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <53>; - }; - - slv-imem-cfg { - cell-id = <627>; - label = "slv-imem-cfg"; - qcom,slavep = <8>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <54>; - }; - - slv-message-ram { - cell-id = <628>; - label = "slv-message-ram"; - qcom,slavep = <9>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <55>; - }; - - slv-bimc-cfg { - cell-id = <629>; - label = "slv-bimc-cfg"; - qcom,slavep = <10>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <56>; - }; - - slv-boot-rom { - cell-id = <630>; - label = "slv-boot-rom"; - qcom,slavep = <11>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <57>; - }; - - slv-pmic-arb { - cell-id = <632>; - label = "slv-pmic-arb"; - qcom,slavep = <13>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <59>; - }; - - slv-spdm-wrapper { - cell-id = <633>; - label = "slv-spdm-wrapper"; - qcom,slavep = <14>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <60>; - }; - - slv-dehr-cfg { - cell-id = <634>; - label = "slv-dehr-cfg"; - qcom,slavep = <15>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <61>; - }; - - slv-mpm { - cell-id = <536>; - label = "slv-mpm"; - qcom,slavep = <16>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <62>; - }; - - slv-qdss-cfg { - cell-id = <635>; - label = "slv-qdss-cfg"; - qcom,slavep = <17>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <63>; - }; - - slv-rbcpr-cfg { - cell-id = <636>; - label = "slv-rbcpr-cfg"; - qcom,slavep = <18>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <64>; - }; - - slv-rbcpr-qdss-apu-cfg { - cell-id = <637>; - label = "slv-rbcpr-qdss-apu-cfg"; - qcom,slavep = <19>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <65>; - }; - - fab-snoc { - cell-id = <1024>; - label = "fab-snoc"; - qcom,gateway; - qcom,slavep = <29>; - qcom,masterp = <7>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <52>; - qcom,slv-hw-id = <75>; - }; - - slv-cnoc-onoc-cfg { - cell-id = <639>; - label = "slv-cnoc-onoc-cfg"; - qcom,slavep = <22>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <68>; - }; - - slv-cnoc-mnoc-mmss-cfg { - cell-id = <631>; - label = "slv-cnoc-mnoc-mmss-cfg"; - qcom,slavep = <12>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <58>; - }; - - slv-cnoc-mnoc-cfg { - cell-id = <640>; - label = "slv-cnoc-mnoc-cfg"; - qcom,slavep = <20>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <66>; - }; - - slv-pnoc-cfg { - cell-id = <641>; - label = "slv-pnoc-cfg"; - qcom,slavep = <23>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <69>; - }; - - slv-snoc-mpu-cfg { - cell-id = <638>; - label = "slv-snoc-mpu-cfg"; - qcom,slavep = <21>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <67>; - }; - - slv-snoc-cfg { - cell-id = <642>; - label = "slv-snoc-cfg"; - qcom,slavep = <24>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <70>; - }; - - slv-ebi1-dll-cfg { - cell-id = <643>; - label = "slv-ebi1-dll-cfg"; - qcom,slavep = <25>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <71>; - }; - - slv-phy-apu-cfg { - cell-id = <644>; - label = "slv-phy-apu-cfg"; - qcom,slavep = <26>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <72>; - }; - - slv-ebi1-phy-cfg { - cell-id = <645>; - label = "slv-ebi1-phy-cfg"; - qcom,slavep = <27>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <73>; - }; - - slv-rpm { - cell-id = <534>; - label = "slv-rpm"; - qcom,slavep = <28>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <74>; - }; - - slv-service-cnoc { - cell-id = <646>; - label = "slv-service-cnoc"; - qcom,slavep = <30>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <76>; - }; - - }; - - msm-bimc@0xfc380000 { - compatible = "msm-bus-fabric"; - reg = <0xfc380000 0x0006A000>; - cell-id = <0>; - label = "msm_bimc"; - qcom,fabclk-dual = "mem_clk"; - qcom,fabclk-active = "mem_a_clk"; - qcom,ntieredslaves = <0>; - qcom,qos-freq = <19200>; - qcom,hw-sel = "BIMC"; - qcom,rpm-en; - - coresight-id = <55>; - coresight-name = "coresight-bimc"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_in1>; - coresight-child-ports = <3>; - - mas-ampss-m0 { - cell-id = <1>; - label = "mas-ampss-m0"; - qcom,masterp = <0>; - qcom,tier = <2>; - qcom,hw-sel = "BIMC"; - qcom,mode = "Limiter"; - qcom,qport = <0>; - qcom,ws = <10000>; - qcom,mas-hw-id = <0>; - qcom,prio-rd = <0>; - qcom,prio-wr = <0>; - qcom,mode-thresh = "Fixed"; - qcom,thresh = <2000000>; - qcom,dual-conf; - qcom,bimc,bw = <300000>; - qcom,bimc,gp = <5>; - qcom,bimc,thmp = <50>; - }; - - mas-ampss-m1 { - cell-id = <2>; - label = "mas-ampss-m1"; - qcom,masterp = <1>; - qcom,tier = <2>; - qcom,hw-sel = "BIMC"; - qcom,mode = "Limiter"; - qcom,qport = <1>; - qcom,ws = <10000>; - qcom,mas-hw-id = <0>; - qcom,prio-rd = <0>; - qcom,prio-wr = <0>; - qcom,mode-thresh = "Fixed"; - qcom,thresh = <2000000>; - qcom,dual-conf; - qcom,bimc,bw = <300000>; - qcom,bimc,gp = <5>; - qcom,bimc,thmp = <50>; - }; - - mas-mss-proc { - cell-id = <65>; - label = "mas-mss-proc"; - qcom,masterp = <2>; - qcom,tier = <2>; - qcom,hw-sel = "RPM"; - qcom,mas-hw-id = <1>; - }; - - fab-mmss-noc { - cell-id = <2048>; - label = "fab_mmss_noc"; - qcom,gateway; - qcom,masterp = <3 4>; - qcom,qport = <3 4>; - qcom,buswidth = <8>; - qcom,ws = <10000>; - qcom,mas-hw-id = <2>; - qcom,hw-sel = "BIMC"; - qcom,mode = "Bypass"; - }; - - fab-snoc { - cell-id = <1024>; - label = "fab-snoc"; - qcom,gateway; - qcom,slavep = <3>; - qcom,masterp = <5 6>; - qcom,qport = <5 6>; - qcom,buswidth = <8>; - qcom,ws = <10000>; - qcom,mas-hw-id = <3>; - qcom,slv-hw-id = <2>; - qcom,mode = "Bypass"; - qcom,hw-sel = "RPM"; - }; - - slv-ebi-ch0 { - cell-id = <512>; - label = "slv-ebi-ch0"; - qcom,slavep = <0 1>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <0>; - qcom,mode = "Bypass"; - }; - - slv-ampss-l2 { - cell-id = <514>; - label = "slv-ampss-l2"; - qcom,slavep = <2>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <1>; - }; - }; - - msm-ocmem-vnoc@6144 { - compatible = "msm-bus-fabric"; - reg = <0x6144 0x2>; - cell-id = <6144>; - label = "msm-ocmem-vnoc"; - qcom,ntieredslaves = <0>; - qcom,hw-sel = "NoC"; - qcom,rpm-en; - qcom,virt; - - mas-v-ocmem-gfx3d { - cell-id = <89>; - label = "mas-v-ocmem-gfx3d"; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <55>; - }; - - slv-ocmem { - cell-id = <604>; - label = "slv-ocmem"; - qcom,slavep = <0 1>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,slv-hw-id = <18>; - qcom,slaveclk-dual = "ocmem_clk"; - qcom,slaveclk-active = "ocmem_a_clk"; - }; - - fab-snoc { - cell-id = <1024>; - label = "fab-snoc"; - qcom,gateway; - qcom,buswidth = <8>; - qcom,ws = <10000>; - qcom,mas-hw-id = <57>; - qcom,slv-hw-id = <80>; - }; - - fab-onoc { - cell-id = <3072>; - label = "fab-onoc"; - qcom,gateway; - qcom,buswidth = <16>; - qcom,ws = <10000>; - qcom,mas-hw-id = <56>; - qcom,slv-hw-id = <79>; - }; - - }; - - msm-ocmem-noc@fc470000 { - compatible = "msm-bus-fabric"; - reg = <0xfc470000 0x00004000>; - cell-id = <3072>; - label = "msm_ocmem_noc"; - qcom,fabclk-dual = "bus_clk"; - qcom,fabclk-active = "bus_a_clk"; - qcom,ntieredslaves = <0>; - qcom,qos-freq = <4800>; - qcom,hw-sel = "NoC"; - qcom,rpm-en; - - coresight-id = <51>; - coresight-name = "coresight-onoc"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_in0>; - coresight-child-ports = <4>; - - fab-ocmem-vnoc { - cell-id = <6144>; - label = "fab-ocmem-vnoc"; - qcom,gateway; - qcom,buswidth = <16>; - qcom,mas-hw-id = <54>; - qcom,slv-hw-id = <78>; - }; - - mas-jpeg-ocmem { - cell-id = <66>; - label = "mas-jpeg-ocmem"; - qcom,masterp = <1>; - qcom,tier = <2>; - qcom,perm-mode = "Fixed"; - qcom,mode = "Fixed"; - qcom,qport = <0>; - qcom,mas-hw-id = <13>; - qcom,hw-sel = "NoC"; - }; - - mas-mdp-ocmem { - cell-id = <67>; - label = "mas-mdp-ocmem"; - qcom,masterp = <2>; - qcom,tier = <2>; - qcom,perm-mode = "Fixed"; - qcom,mode = "Fixed"; - qcom,mas-hw-id = <14>; - qcom,hw-sel = "NoC"; - }; - - mas-video-ocmem { - cell-id = <68>; - label = "mas-video-ocmem"; - qcom,masterp = <3 4>; - qcom,tier = <2>; - qcom,perm-mode = "Fixed"; - qcom,mode = "Fixed"; - qcom,qport = <2 3>; - qcom,mas-hw-id = <15>; - qcom,hw-sel = "NoC"; - }; - - mas-vfe-ocmem { - cell-id = <70>; - label = "mas-vfe-ocmem"; - qcom,masterp = <5>; - qcom,tier = <2>; - qcom,perm-mode = "Fixed"; - qcom,mode = "Fixed"; - qcom,qport = <4>; - qcom,mas-hw-id = <17>; - qcom,hw-sel = "NoC"; - qcom,prio-rd = <1>; - qcom,prio-wr = <1>; - }; - - mas-cnoc-onoc-cfg { - cell-id = <71>; - label = "mas-cnoc-onoc-cfg"; - qcom,masterp = <0>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,mas-hw-id = <12>; - qcom,hw-sel = "NoC"; - }; - - slv-service-onoc { - cell-id = <605>; - label = "slv-service-onoc"; - qcom,slavep = <2>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,slv-hw-id = <19>; - }; - }; -}; - - diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8974-camera-sensor-cdp.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v2/msm8974-camera-sensor-cdp.dtsi deleted file mode 100644 index 4a9820dab..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8974-camera-sensor-cdp.dtsi +++ /dev/null @@ -1,189 +0,0 @@ -/* - * Copyright (c) 2012-2013, 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. - */ - -&cci { - - actuator0: qcom,actuator@18 { - cell-index = <0>; - reg = <0x18 0x0>; - compatible = "qcom,actuator"; - qcom,cci-master = <0>; - }; - - actuator1: qcom,actuator@36 { - cell-index = <1>; - reg = <0x36>; - compatible = "qcom,actuator"; - qcom,cci-master = <0>; - }; - - qcom,camera@6e { - compatible = "qcom,s5k3l1yx"; - reg = <0x6e 0x0>; - qcom,slave-id = <0x6e 0x0 0x3121>; - qcom,csiphy-sd-index = <0>; - qcom,csid-sd-index = <0>; - qcom,actuator-src = <&actuator0>; - qcom,mount-angle = <90>; - qcom,sensor-name = "s5k3l1yx"; - qcom,vdd-cx-supply = <&pm8841_s2>; - qcom,vdd-cx-name = "qcom,vdd-cx"; - cam_vdig-supply = <&pm8941_l3>; - cam_vana-supply = <&pm8941_l17>; - cam_vio-supply = <&pm8941_lvs3>; - cam_vaf-supply = <&pm8941_l23>; - qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana", - "cam_vaf"; - qcom,cam-vreg-type = <0 1 0 0>; - qcom,cam-vreg-min-voltage = <1225000 0 2850000 3000000>; - qcom,cam-vreg-max-voltage = <1225000 0 2850000 3000000>; - qcom,cam-vreg-op-mode = <105000 0 80000 100000>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 15 0>, - <&msmgpio 90 0>, - <&msmgpio 89 0>; - qcom,gpio-reset = <1>; - qcom,gpio-standby = <2>; - qcom,gpio-req-tbl-num = <0 1 2>; - qcom,gpio-req-tbl-flags = <1 0 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1", - "CAM_STANDBY"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 30000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x1F>; - qcom,sensor-position = <0>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - status = "ok"; - }; - - qcom,camera@20 { - compatible = "qcom,imx135"; - reg = <0x20>; - qcom,slave-id = <0x20 0x0016 0x0135>; - qcom,csiphy-sd-index = <0>; - qcom,csid-sd-index = <0>; - qcom,mount-angle = <90>; - qcom,sensor-name = "imx135"; - qcom,actuator-src = <&actuator1>; - qcom,vdd-cx-supply = <&pm8841_s2>; - qcom,vdd-cx-name = "qcom,vdd-cx"; - cam_vdig-supply = <&pm8941_l3>; - cam_vana-supply = <&pm8941_l17>; - cam_vio-supply = <&pm8941_lvs3>; - cam_vaf-supply = <&pm8941_l23>; - qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana", - "cam_vaf"; - qcom,cam-vreg-type = <0 1 0 0>; - qcom,cam-vreg-min-voltage = <1225000 0 2850000 3000000>; - qcom,cam-vreg-max-voltage = <1225000 0 2850000 3000000>; - qcom,cam-vreg-op-mode = <105000 0 80000 100000>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 15 0>, - <&msmgpio 90 0>, - <&msmgpio 89 0>; - qcom,gpio-reset = <1>; - qcom,gpio-standby = <2>; - qcom,gpio-req-tbl-num = <0 1 2>; - qcom,gpio-req-tbl-flags = <1 0 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1", - "CAM_STANDBY"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 30000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x1F>; - qcom,sensor-position = <0>; - qcom,sensor-mode = <0>; - qcom,sensor-type = <0>; - qcom,cci-master = <0>; - status = "ok"; - }; - - qcom,camera@6c { - compatible = "qcom,ov2720"; - reg = <0x6c 0x0>; - qcom,slave-id = <0x6c 0x300A 0x2720>; - qcom,csiphy-sd-index = <2>; - qcom,csid-sd-index = <2>; - qcom,mount-angle = <90>; - qcom,sensor-name = "ov2720"; - qcom,vdd-cx-supply = <&pm8841_s2>; - qcom,vdd-cx-name = "qcom,vdd-cx"; - cam_vdig-supply = <&pm8941_l3>; - cam_vana-supply = <&pm8941_l17>; - cam_vio-supply = <&pm8941_lvs3>; - qcom,cam-vreg-name = "cam_vdig", "cam_vana", "cam_vio"; - qcom,cam-vreg-type = <0 0 1>; - qcom,cam-vreg-min-voltage = <1225000 2850000 0>; - qcom,cam-vreg-max-voltage = <1225000 2850000 0>; - qcom,cam-vreg-op-mode = <105000 80000 0>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 17 0>, - <&msmgpio 18 0>; - qcom,gpio-reset = <1>; - qcom,gpio-req-tbl-num = <0 1>; - qcom,gpio-req-tbl-flags = <1 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 4000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x7>; - qcom,sensor-position = <1>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - status = "ok"; - }; - - qcom,camera@90 { - compatible = "qcom,mt9m114"; - reg = <0x90 0x0>; - qcom,slave-id = <0x90 0x0 0x2481>; - qcom,csiphy-sd-index = <1>; - qcom,csid-sd-index = <0>; - qcom,mount-angle = <0>; - qcom,sensor-name = "mt9m114"; - qcom,vdd-cx-supply = <&pm8841_s2>; - qcom,vdd-cx-name = "qcom,vdd-cx"; - cam_vdig-supply = <&pm8941_l3>; - cam_vana-supply = <&pm8941_l17>; - cam_vio-supply = <&pm8941_lvs3>; - qcom,cam-vreg-name = "cam_vdig", "cam_vana", "cam_vio"; - qcom,cam-vreg-type = <0 0 1>; - qcom,cam-vreg-min-voltage = <1225000 2850000 0>; - qcom,cam-vreg-max-voltage = <1225000 2850000 0>; - qcom,cam-vreg-op-mode = <105000 80000 0>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 16 0>, - <&msmgpio 92 0>; - qcom,gpio-reset = <1>; - qcom,gpio-req-tbl-num = <0 1>; - qcom,gpio-req-tbl-flags = <1 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 4000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x3>; - qcom,sensor-position = <1>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8974-camera-sensor-dragonboard.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v2/msm8974-camera-sensor-dragonboard.dtsi deleted file mode 100644 index e84a47d62..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8974-camera-sensor-dragonboard.dtsi +++ /dev/null @@ -1,174 +0,0 @@ -/* - * Copyright (c) 2012-2013, 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. - */ - -&cci { - - actuator0: qcom,actuator@18 { - cell-index = <0>; - reg = <0x18 0x0>; - compatible = "qcom,actuator"; - qcom,cci-master = <0>; - }; - - actuator1: qcom,actuator@36 { - cell-index = <1>; - reg = <0x36>; - compatible = "qcom,actuator"; - qcom,cci-master = <0>; - }; - - qcom,camera@6e { - compatible = "qcom,s5k3l1yx"; - reg = <0x6e 0x0>; - qcom,slave-id = <0x6e 0x0 0x3121>; - qcom,csiphy-sd-index = <0>; - qcom,csid-sd-index = <0>; - qcom,mount-angle = <0>; - qcom,actuator-src = <&actuator0>; - qcom,sensor-name = "s5k3l1yx"; - cam_vdig-supply = <&pm8941_l3>; - cam_vana-supply = <&pm8941_l17>; - cam_vio-supply = <&pm8941_lvs3>; - cam_vaf-supply = <&pm8941_l23>; - qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana", - "cam_vaf"; - qcom,cam-vreg-type = <0 1 0 0>; - qcom,cam-vreg-min-voltage = <1225000 0 2850000 3000000>; - qcom,cam-vreg-max-voltage = <1225000 0 2850000 3000000>; - qcom,cam-vreg-op-mode = <105000 0 80000 100000>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 15 0>, - <&msmgpio 90 0>; - qcom,gpio-reset = <1>; - qcom,gpio-req-tbl-num = <0 1>; - qcom,gpio-req-tbl-flags = <1 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 30000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x1F>; - qcom,sensor-position = <0>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - status = "ok"; - }; - - qcom,camera@20 { - compatible = "qcom,imx135"; - reg = <0x20>; - qcom,slave-id = <0x20 0x0016 0x0135>; - qcom,csiphy-sd-index = <0>; - qcom,csid-sd-index = <0>; - qcom,mount-angle = <0>; - qcom,sensor-name = "imx135"; - qcom,actuator-src = <&actuator1>; - cam_vdig-supply = <&pm8941_l3>; - cam_vana-supply = <&pm8941_l17>; - cam_vio-supply = <&pm8941_lvs3>; - cam_vaf-supply = <&pm8941_l23>; - qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana", - "cam_vaf"; - qcom,cam-vreg-type = <0 1 0 0>; - qcom,cam-vreg-min-voltage = <1225000 0 2850000 3000000>; - qcom,cam-vreg-max-voltage = <1225000 0 2850000 3000000>; - qcom,cam-vreg-op-mode = <105000 0 80000 100000>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 15 0>, - <&msmgpio 90 0>; - qcom,gpio-reset = <1>; - qcom,gpio-req-tbl-num = <0 1>; - qcom,gpio-req-tbl-flags = <1 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 30000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x1F>; - qcom,sensor-position = <0>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - status = "ok"; - }; - - qcom,camera@6c { - compatible = "qcom,ov2720"; - reg = <0x6c 0x0>; - qcom,slave-id = <0x6c 0x300A 0x2720>; - qcom,csiphy-sd-index = <2>; - qcom,csid-sd-index = <0>; - qcom,mount-angle = <180>; - qcom,sensor-name = "ov2720"; - cam_vdig-supply = <&pm8941_l3>; - cam_vana-supply = <&pm8941_l17>; - cam_vio-supply = <&pm8941_lvs3>; - qcom,cam-vreg-name = "cam_vdig", "cam_vana", "cam_vio"; - qcom,cam-vreg-type = <0 0 1>; - qcom,cam-vreg-min-voltage = <1225000 2850000 0>; - qcom,cam-vreg-max-voltage = <1225000 2850000 0>; - qcom,cam-vreg-op-mode = <105000 80000 0>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 17 0>, - <&msmgpio 18 0>; - qcom,gpio-reset = <1>; - qcom,gpio-req-tbl-num = <0 1>; - qcom,gpio-req-tbl-flags = <1 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 4000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x7>; - qcom,sensor-position = <1>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - status = "ok"; - }; - - qcom,camera@90 { - compatible = "qcom,mt9m114"; - reg = <0x90 0x0>; - qcom,slave-id = <0x90 0x0 0x2481>; - qcom,csiphy-sd-index = <1>; - qcom,csid-sd-index = <0>; - qcom,mount-angle = <0>; - qcom,sensor-name = "mt9m114"; - cam_vdig-supply = <&pm8941_l3>; - cam_vana-supply = <&pm8941_l17>; - cam_vio-supply = <&pm8941_lvs3>; - qcom,cam-vreg-name = "cam_vdig", "cam_vana", "cam_vio"; - qcom,cam-vreg-type = <0 0 1>; - qcom,cam-vreg-min-voltage = <1225000 2850000 0>; - qcom,cam-vreg-max-voltage = <1225000 2850000 0>; - qcom,cam-vreg-op-mode = <105000 80000 0>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 16 0>, - <&msmgpio 94 0>; - qcom,gpio-reset = <1>; - qcom,gpio-req-tbl-num = <0 1>; - qcom,gpio-req-tbl-flags = <1 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 4000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x3>; - qcom,sensor-position = <1>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8974-camera-sensor-fluid.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v2/msm8974-camera-sensor-fluid.dtsi deleted file mode 100644 index f61b83a45..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8974-camera-sensor-fluid.dtsi +++ /dev/null @@ -1,190 +0,0 @@ -/* - * Copyright (c) 2012-2013, 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. - */ - -&cci { - - actuator0: qcom,actuator@18 { - cell-index = <0>; - reg = <0x18>; - compatible = "qcom,actuator"; - qcom,cci-master = <0>; - }; - - actuator1: qcom,actuator@36 { - cell-index = <1>; - reg = <0x36>; - compatible = "qcom,actuator"; - qcom,cci-master = <0>; - }; - - qcom,camera@6e { - compatible = "qcom,s5k3l1yx"; - reg = <0x6e>; - qcom,slave-id = <0x6e 0x0 0x3121>; - qcom,csiphy-sd-index = <0>; - qcom,csid-sd-index = <0>; - qcom,actuator-src = <&actuator0>; - qcom,led-flash-src = <&led_flash0>; - qcom,mount-angle = <270>; - qcom,sensor-name = "s5k3l1yx"; - qcom,vdd-cx-supply = <&pm8841_s2>; - qcom,vdd-cx-name = "qcom,vdd-cx"; - cam_vdig-supply = <&pm8941_l3>; - cam_vana-supply = <&pm8941_l17>; - cam_vio-supply = <&pm8941_lvs3>; - cam_vaf-supply = <&pm8941_l23>; - qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana", - "cam_vaf"; - qcom,cam-vreg-type = <0 1 0 0>; - qcom,cam-vreg-min-voltage = <1225000 0 2850000 3000000>; - qcom,cam-vreg-max-voltage = <1225000 0 2850000 3000000>; - qcom,cam-vreg-op-mode = <105000 0 80000 100000>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 15 0>, - <&msmgpio 90 0>, - <&msmgpio 89 0>; - qcom,gpio-reset = <1>; - qcom,gpio-standby = <2>; - qcom,gpio-req-tbl-num = <0 1 2>; - qcom,gpio-req-tbl-flags = <1 0 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1", - "CAM_STANDBY"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 30000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x1F>; - qcom,sensor-position = <0>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - status = "ok"; - }; - - qcom,camera@20 { - compatible = "qcom,imx135"; - reg = <0x20>; - qcom,slave-id = <0x20 0x0016 0x0135>; - qcom,csiphy-sd-index = <0>; - qcom,csid-sd-index = <0>; - qcom,mount-angle = <270>; - qcom,sensor-name = "imx135"; - qcom,actuator-src = <&actuator1>; - qcom,vdd-cx-supply = <&pm8841_s2>; - qcom,vdd-cx-name = "qcom,vdd-cx"; - cam_vdig-supply = <&pm8941_l3>; - cam_vana-supply = <&pm8941_l17>; - cam_vio-supply = <&pm8941_lvs3>; - cam_vaf-supply = <&pm8941_l23>; - qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana", - "cam_vaf"; - qcom,cam-vreg-type = <0 1 0 0>; - qcom,cam-vreg-min-voltage = <1225000 0 2850000 3000000>; - qcom,cam-vreg-max-voltage = <1225000 0 2850000 3000000>; - qcom,cam-vreg-op-mode = <105000 0 80000 100000>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 15 0>, - <&msmgpio 90 0>, - <&msmgpio 89 0>; - qcom,gpio-reset = <1>; - qcom,gpio-standby = <2>; - qcom,gpio-req-tbl-num = <0 1 2>; - qcom,gpio-req-tbl-flags = <1 0 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1", - "CAM_STANDBY"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 30000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x1F>; - qcom,sensor-position = <0>; - qcom,sensor-mode = <0>; - qcom,sensor-type = <0>; - qcom,cci-master = <0>; - status = "ok"; - }; - - qcom,camera@6c { - compatible = "qcom,ov2720"; - reg = <0x6c>; - qcom,slave-id = <0x6c 0x300A 0x2720>; - qcom,csiphy-sd-index = <2>; - qcom,csid-sd-index = <2>; - qcom,mount-angle = <90>; - qcom,sensor-name = "ov2720"; - qcom,vdd-cx-supply = <&pm8841_s2>; - qcom,vdd-cx-name = "qcom,vdd-cx"; - cam_vdig-supply = <&pm8941_l3>; - cam_vana-supply = <&pm8941_l17>; - cam_vio-supply = <&pm8941_lvs3>; - qcom,cam-vreg-name = "cam_vdig", "cam_vana", "cam_vio"; - qcom,cam-vreg-type = <0 0 1>; - qcom,cam-vreg-min-voltage = <1225000 2850000 0>; - qcom,cam-vreg-max-voltage = <1225000 2850000 0>; - qcom,cam-vreg-op-mode = <105000 80000 0>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 17 0>, - <&msmgpio 18 0>; - qcom,gpio-reset = <1>; - qcom,gpio-req-tbl-num = <0 1>; - qcom,gpio-req-tbl-flags = <1 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 4000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x7>; - qcom,sensor-position = <1>; - qcom,sensor-mode = <1>; - qcom,cci-master = <1>; - status = "ok"; - }; - - qcom,camera@90 { - compatible = "qcom,mt9m114"; - reg = <0x90>; - qcom,slave-id = <0x90 0x0 0x2481>; - qcom,csiphy-sd-index = <1>; - qcom,csid-sd-index = <0>; - qcom,mount-angle = <0>; - qcom,sensor-name = "mt9m114"; - qcom,vdd-cx-supply = <&pm8841_s2>; - qcom,vdd-cx-name = "qcom,vdd-cx"; - cam_vdig-supply = <&pm8941_l3>; - cam_vana-supply = <&pm8941_l17>; - cam_vio-supply = <&pm8941_lvs3>; - qcom,cam-vreg-name = "cam_vdig", "cam_vana", "cam_vio"; - qcom,cam-vreg-type = <0 0 1>; - qcom,cam-vreg-min-voltage = <1225000 2850000 0>; - qcom,cam-vreg-max-voltage = <1225000 2850000 0>; - qcom,cam-vreg-op-mode = <105000 80000 0>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 16 0>, - <&msmgpio 92 0>; - qcom,gpio-reset = <1>; - qcom,gpio-req-tbl-num = <0 1>; - qcom,gpio-req-tbl-flags = <1 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 4000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x3>; - qcom,sensor-position = <1>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8974-camera-sensor-liquid.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v2/msm8974-camera-sensor-liquid.dtsi deleted file mode 100644 index cf968d208..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8974-camera-sensor-liquid.dtsi +++ /dev/null @@ -1,190 +0,0 @@ - -/* - * Copyright (c) 2012-2013, 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. - */ - -&cci { - - actuator0: qcom,actuator@18 { - cell-index = <0>; - reg = <0x18>; - compatible = "qcom,actuator"; - qcom,cci-master = <0>; - }; - - actuator1: qcom,actuator@36 { - cell-index = <1>; - reg = <0x36>; - compatible = "qcom,actuator"; - qcom,cci-master = <0>; - }; - - qcom,camera@6e { - compatible = "qcom,s5k3l1yx"; - reg = <0x6e>; - qcom,slave-id = <0x6e 0x0 0x3121>; - qcom,csiphy-sd-index = <0>; - qcom,csid-sd-index = <0>; - qcom,mount-angle = <0>; - qcom,actuator-src = <&actuator0>; - qcom,sensor-name = "s5k3l1yx"; - qcom,vdd-cx-supply = <&pm8841_s2>; - qcom,vdd-cx-name = "qcom,vdd-cx"; - cam_vdig-supply = <&pm8941_l3>; - cam_vana-supply = <&pm8941_l17>; - cam_vio-supply = <&pm8941_lvs2>; - cam_vaf-supply = <&pm8941_l23>; - qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana", - "cam_vaf"; - qcom,cam-vreg-type = <0 1 0 0>; - qcom,cam-vreg-min-voltage = <1225000 0 2850000 3000000>; - qcom,cam-vreg-max-voltage = <1225000 0 2850000 3000000>; - qcom,cam-vreg-op-mode = <105000 0 80000 100000>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 15 0>, - <&msmgpio 90 0>, - <&msmgpio 89 0>; - qcom,gpio-reset = <1>; - qcom,gpio-standby = <2>; - qcom,gpio-req-tbl-num = <0 1 2>; - qcom,gpio-req-tbl-flags = <1 0 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1", - "CAM_STANDBY"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 30000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x1F>; - qcom,sensor-position = <0>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - status = "ok"; - }; - - qcom,camera@20 { - compatible = "qcom,imx135"; - reg = <0x20>; - qcom,slave-id = <0x20 0x0016 0x0135>; - qcom,csiphy-sd-index = <0>; - qcom,csid-sd-index = <0>; - qcom,mount-angle = <0>; - qcom,sensor-name = "imx135"; - qcom,vdd-cx-supply = <&pm8841_s2>; - qcom,vdd-cx-name = "qcom,vdd-cx"; - qcom,actuator-src = <&actuator1>; - cam_vdig-supply = <&pm8941_l3>; - cam_vana-supply = <&pm8941_l17>; - cam_vio-supply = <&pm8941_lvs2>; - cam_vaf-supply = <&pm8941_l23>; - qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana", - "cam_vaf"; - qcom,cam-vreg-type = <0 1 0 0>; - qcom,cam-vreg-min-voltage = <1225000 0 2850000 3000000>; - qcom,cam-vreg-max-voltage = <1225000 0 2850000 3000000>; - qcom,cam-vreg-op-mode = <105000 0 80000 100000>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 15 0>, - <&msmgpio 90 0>, - <&msmgpio 89 0>; - qcom,gpio-reset = <1>; - qcom,gpio-standby = <2>; - qcom,gpio-req-tbl-num = <0 1 2>; - qcom,gpio-req-tbl-flags = <1 0 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1", - "CAM_STANDBY"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 30000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x1F>; - qcom,sensor-position = <0>; - qcom,sensor-mode = <0>; - qcom,sensor-type = <0>; - qcom,cci-master = <0>; - status = "ok"; - }; - - qcom,camera@6c { - compatible = "qcom,ov2720"; - reg = <0x6c>; - qcom,slave-id = <0x6c 0x300A 0x2720>; - qcom,csiphy-sd-index = <2>; - qcom,csid-sd-index = <0>; - qcom,mount-angle = <180>; - qcom,sensor-name = "ov2720"; - qcom,vdd-cx-supply = <&pm8841_s2>; - qcom,vdd-cx-name = "qcom,vdd-cx"; - cam_vdig-supply = <&pm8941_l3>; - cam_vana-supply = <&pm8941_l17>; - cam_vio-supply = <&pm8941_lvs2>; - qcom,cam-vreg-name = "cam_vdig", "cam_vana", "cam_vio"; - qcom,cam-vreg-type = <0 0 1>; - qcom,cam-vreg-min-voltage = <1225000 2850000 0>; - qcom,cam-vreg-max-voltage = <1225000 2850000 0>; - qcom,cam-vreg-op-mode = <105000 80000 0>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 17 0>, - <&msmgpio 18 0>; - qcom,gpio-reset = <1>; - qcom,gpio-req-tbl-num = <0 1>; - qcom,gpio-req-tbl-flags = <1 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 4000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x7>; - qcom,sensor-position = <1>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - status = "ok"; - }; - - qcom,camera@90 { - compatible = "qcom,mt9m114"; - reg = <0x90>; - qcom,slave-id = <0x90 0x0 0x2481>; - qcom,csiphy-sd-index = <1>; - qcom,csid-sd-index = <0>; - qcom,mount-angle = <0>; - qcom,vdd-cx-supply = <&pm8841_s2>; - qcom,vdd-cx-name = "qcom,vdd-cx"; - qcom,sensor-name = "mt9m114"; - cam_vdig-supply = <&pm8941_l3>; - cam_vana-supply = <&pm8941_l17>; - cam_vio-supply = <&pm8941_lvs2>; - qcom,cam-vreg-name = "cam_vdig", "cam_vana", "cam_vio"; - qcom,cam-vreg-type = <0 0 1>; - qcom,cam-vreg-min-voltage = <1225000 2850000 0>; - qcom,cam-vreg-max-voltage = <1225000 2850000 0>; - qcom,cam-vreg-op-mode = <105000 80000 0>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 16 0>, - <&msmgpio 92 0>; - qcom,gpio-reset = <1>; - qcom,gpio-req-tbl-num = <0 1>; - qcom,gpio-req-tbl-flags = <1 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 4000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x3>; - qcom,sensor-position = <1>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8974-camera-sensor-mtp.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v2/msm8974-camera-sensor-mtp.dtsi deleted file mode 100644 index 6ad62137c..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8974-camera-sensor-mtp.dtsi +++ /dev/null @@ -1,191 +0,0 @@ -/* - * Copyright (c) 2012-2013, 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. - */ - -&cci { - - actuator0: qcom,actuator@18 { - cell-index = <0>; - reg = <0x18>; - compatible = "qcom,actuator"; - qcom,cci-master = <0>; - }; - - actuator1: qcom,actuator@36 { - cell-index = <1>; - reg = <0x36>; - compatible = "qcom,actuator"; - qcom,cci-master = <0>; - }; - - qcom,camera@6e { - compatible = "qcom,s5k3l1yx"; - reg = <0x6e>; - qcom,slave-id = <0x6e 0x0 0x3121>; - qcom,csiphy-sd-index = <0>; - qcom,csid-sd-index = <0>; - qcom,actuator-src = <&actuator0>; - qcom,led-flash-src = <&led_flash0>; - qcom,mount-angle = <90>; - qcom,sensor-name = "s5k3l1yx"; - qcom,vdd-cx-supply = <&pm8841_s2>; - qcom,vdd-cx-name = "qcom,vdd-cx"; - cam_vdig-supply = <&pm8941_l3>; - cam_vana-supply = <&pm8941_l17>; - cam_vio-supply = <&pm8941_lvs3>; - cam_vaf-supply = <&pm8941_l23>; - qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana", - "cam_vaf"; - qcom,cam-vreg-type = <0 1 0 0>; - qcom,cam-vreg-min-voltage = <1225000 0 2850000 3000000>; - qcom,cam-vreg-max-voltage = <1225000 0 2850000 3000000>; - qcom,cam-vreg-op-mode = <105000 0 80000 100000>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 15 0>, - <&msmgpio 90 0>, - <&msmgpio 89 0>; - qcom,gpio-reset = <1>; - qcom,gpio-standby = <2>; - qcom,gpio-req-tbl-num = <0 1 2>; - qcom,gpio-req-tbl-flags = <1 0 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1", - "CAM_STANDBY"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 30000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x1F>; - qcom,sensor-position = <0>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - status = "ok"; - }; - - qcom,camera@20 { - compatible = "qcom,imx135"; - reg = <0x20>; - qcom,slave-id = <0x20 0x0016 0x0135>; - qcom,csiphy-sd-index = <0>; - qcom,csid-sd-index = <0>; - qcom,mount-angle = <90>; - qcom,sensor-name = "imx135"; - qcom,vdd-cx-supply = <&pm8841_s2>; - qcom,vdd-cx-name = "qcom,vdd-cx"; - qcom,actuator-src = <&actuator1>; - cam_vdig-supply = <&pm8941_l3>; - cam_vana-supply = <&pm8941_l17>; - cam_vio-supply = <&pm8941_lvs3>; - cam_vaf-supply = <&pm8941_l23>; - qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana", - "cam_vaf"; - qcom,cam-vreg-type = <0 1 0 0>; - qcom,cam-vreg-min-voltage = <1225000 0 2850000 3000000>; - qcom,cam-vreg-max-voltage = <1225000 0 2850000 3000000>; - qcom,cam-vreg-op-mode = <105000 0 80000 100000>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 15 0>, - <&msmgpio 90 0>, - <&msmgpio 89 0>; - qcom,gpio-reset = <1>; - qcom,gpio-standby = <2>; - qcom,gpio-req-tbl-num = <0 1 2>; - qcom,gpio-req-tbl-flags = <1 0 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1", - "CAM_STANDBY"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 30000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x1F>; - qcom,sensor-position = <0>; - qcom,sensor-mode = <0>; - qcom,sensor-type = <0>; - qcom,cci-master = <0>; - status = "ok"; - }; - - - qcom,camera@6c { - compatible = "qcom,ov2720"; - reg = <0x6c>; - qcom,slave-id = <0x6c 0x300A 0x2720>; - qcom,csiphy-sd-index = <2>; - qcom,csid-sd-index = <2>; - qcom,mount-angle = <90>; - qcom,sensor-name = "ov2720"; - qcom,vdd-cx-supply = <&pm8841_s2>; - qcom,vdd-cx-name = "qcom,vdd-cx"; - cam_vdig-supply = <&pm8941_l3>; - cam_vana-supply = <&pm8941_l17>; - cam_vio-supply = <&pm8941_lvs3>; - qcom,cam-vreg-name = "cam_vdig", "cam_vana", "cam_vio"; - qcom,cam-vreg-type = <0 0 1>; - qcom,cam-vreg-min-voltage = <1225000 2850000 0>; - qcom,cam-vreg-max-voltage = <1225000 2850000 0>; - qcom,cam-vreg-op-mode = <105000 80000 0>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 17 0>, - <&msmgpio 18 0>; - qcom,gpio-reset = <1>; - qcom,gpio-req-tbl-num = <0 1>; - qcom,gpio-req-tbl-flags = <1 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 4000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x7>; - qcom,sensor-position = <1>; - qcom,sensor-mode = <1>; - qcom,cci-master = <1>; - status = "ok"; - }; - - qcom,camera@90 { - compatible = "qcom,mt9m114"; - reg = <0x90>; - qcom,slave-id = <0x90 0x0 0x2481>; - qcom,csiphy-sd-index = <1>; - qcom,csid-sd-index = <0>; - qcom,mount-angle = <0>; - qcom,sensor-name = "mt9m114"; - qcom,vdd-cx-supply = <&pm8841_s2>; - qcom,vdd-cx-name = "qcom,vdd-cx"; - cam_vdig-supply = <&pm8941_l3>; - cam_vana-supply = <&pm8941_l17>; - cam_vio-supply = <&pm8941_lvs3>; - qcom,cam-vreg-name = "cam_vdig", "cam_vana", "cam_vio"; - qcom,cam-vreg-type = <0 0 1>; - qcom,cam-vreg-min-voltage = <1225000 2850000 0>; - qcom,cam-vreg-max-voltage = <1225000 2850000 0>; - qcom,cam-vreg-op-mode = <105000 80000 0>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 16 0>, - <&msmgpio 92 0>; - qcom,gpio-reset = <1>; - qcom,gpio-req-tbl-num = <0 1>; - qcom,gpio-req-tbl-flags = <1 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 4000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x3>; - qcom,sensor-position = <1>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8974-camera.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v2/msm8974-camera.dtsi deleted file mode 100644 index 786e9e381..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8974-camera.dtsi +++ /dev/null @@ -1,215 +0,0 @@ -/* - * Copyright (c) 2012-2013, 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. - */ - -/include/ "skeleton.dtsi" - -&soc { - qcom,msm-cam@fd8C0000 { - compatible = "qcom,msm-cam"; - reg = <0xfd8C0000 0x10000>; - reg-names = "msm-cam"; - }; - - qcom,csiphy@fda0ac00 { - cell-index = <0>; - compatible = "qcom,csiphy"; - reg = <0xfda0ac00 0x200>, - <0xfda00030 0x4>; - reg-names = "csiphy", "csiphy_clk_mux"; - interrupts = <0 78 0>; - interrupt-names = "csiphy"; - }; - - qcom,csiphy@fda0b000 { - cell-index = <1>; - compatible = "qcom,csiphy"; - reg = <0xfda0b000 0x200>, - <0xfda00038 0x4>; - reg-names = "csiphy", "csiphy_clk_mux"; - interrupts = <0 79 0>; - interrupt-names = "csiphy"; - }; - - qcom,csiphy@fda0b400 { - cell-index = <2>; - compatible = "qcom,csiphy"; - reg = <0xfda0b400 0x200>, - <0xfda00040 0x4>; - reg-names = "csiphy", "csiphy_clk_mux"; - interrupts = <0 80 0>; - interrupt-names = "csiphy"; - }; - - qcom,csid@fda08000 { - cell-index = <0>; - compatible = "qcom,csid"; - reg = <0xfda08000 0x100>; - reg-names = "csid"; - interrupts = <0 51 0>; - interrupt-names = "csid"; - qcom,csi-vdd-voltage = <1800000>; - qcom,mipi-csi-vdd-supply = <&pm8941_l12>; - }; - - qcom,csid@fda08400 { - cell-index = <1>; - compatible = "qcom,csid"; - reg = <0xfda08400 0x100>; - reg-names = "csid"; - interrupts = <0 52 0>; - interrupt-names = "csid"; - qcom,csi-vdd-voltage = <1800000>; - qcom,mipi-csi-vdd-supply = <&pm8941_l12>; - }; - - qcom,csid@fda08800 { - cell-index = <2>; - compatible = "qcom,csid"; - reg = <0xfda08800 0x100>; - reg-names = "csid"; - interrupts = <0 53 0>; - interrupt-names = "csid"; - qcom,csi-vdd-voltage = <1800000>; - qcom,mipi-csi-vdd-supply = <&pm8941_l12>; - }; - - qcom,csid@fda08C00 { - cell-index = <3>; - compatible = "qcom,csid"; - reg = <0xfda08C00 0x100>; - reg-names = "csid"; - interrupts = <0 54 0>; - interrupt-names = "csid"; - qcom,csi-vdd-voltage = <1800000>; - qcom,mipi-csi-vdd-supply = <&pm8941_l12>; - }; - - qcom,ispif@fda0A000 { - cell-index = <0>; - compatible = "qcom,ispif"; - reg = <0xfda0A000 0x500>, - <0xfda00020 0x10>; - reg-names = "ispif", "csi_clk_mux"; - interrupts = <0 55 0>; - interrupt-names = "ispif"; - }; - - qcom,vfe@fda10000 { - cell-index = <0>; - compatible = "qcom,vfe40"; - reg = <0xfda10000 0x1000>, - <0xfda40000 0x200>; - reg-names = "vfe", "vfe_vbif"; - interrupts = <0 57 0>; - interrupt-names = "vfe"; - vdd-supply = <&gdsc_vfe>; - }; - - qcom,vfe@fda14000 { - cell-index = <1>; - compatible = "qcom,vfe40"; - reg = <0xfda14000 0x1000>, - <0xfda40000 0x200>; - reg-names = "vfe", "vfe_vbif"; - interrupts = <0 58 0>; - interrupt-names = "vfe"; - vdd-supply = <&gdsc_vfe>; - }; - - qcom,jpeg@fda1c000 { - cell-index = <0>; - compatible = "qcom,jpeg"; - reg = <0xfda1c000 0x400>; - reg-names = "jpeg"; - interrupts = <0 59 0>; - interrupt-names = "jpeg"; - vdd-supply = <&gdsc_jpeg>; - }; - - qcom,jpeg@fda20000 { - cell-index = <1>; - compatible = "qcom,jpeg"; - reg = <0xfda20000 0x400>; - reg-names = "jpeg"; - interrupts = <0 60 0>; - interrupt-names = "jpeg"; - vdd-supply = <&gdsc_jpeg>; - }; - - qcom,jpeg@fda24000 { - cell-index = <2>; - compatible = "qcom,jpeg"; - reg = <0xfda24000 0x400>; - reg-names = "jpeg"; - interrupts = <0 61 0>; - interrupt-names = "jpeg"; - vdd-supply = <&gdsc_jpeg>; - }; - - qcom,irqrouter@fda00000 { - cell-index = <0>; - compatible = "qcom,irqrouter"; - reg = <0xfda00000 0x100>; - reg-names = "irqrouter"; - }; - - qcom,cpp@fda04000 { - cell-index = <0>; - compatible = "qcom,cpp"; - reg = <0xfda04000 0x100>, - <0xfda40000 0x200>, - <0xfda18000 0x008>; - reg-names = "cpp", "cpp_vbif", "cpp_hw"; - interrupts = <0 49 0>; - interrupt-names = "cpp"; - vdd-supply = <&gdsc_vfe>; - }; - - led_flash0: qcom,camera-led-flash { - cell-index = <0>; - compatible = "qcom,camera-led-flash"; - qcom,flash-type = <1>; - qcom,flash-source = <&pm8941_flash0 &pm8941_flash1>; - }; - - cci: qcom,cci@fda0C000 { - cell-index = <0>; - compatible = "qcom,cci"; - reg = <0xfda0C000 0x1000>; - #address-cells = <1>; - #size-cells = <0>; - reg-names = "cci"; - interrupts = <0 50 0>; - interrupt-names = "cci"; - gpios = <&msmgpio 19 0>, - <&msmgpio 20 0>, - <&msmgpio 21 0>, - <&msmgpio 22 0>; - qcom,gpio-tbl-num = <0 1 2 3>; - qcom,gpio-tbl-flags = <1 1 1 1>; - qcom,gpio-tbl-label = "CCI_I2C_DATA0", - "CCI_I2C_CLK0", - "CCI_I2C_DATA1", - "CCI_I2C_CLK1"; - qcom,hw-thigh = <78>; - qcom,hw-tlow = <114>; - qcom,hw-tsu-sto = <28>; - qcom,hw-tsu-sta = <28>; - qcom,hw-thd-dat = <10>; - qcom,hw-thd-sta = <77>; - qcom,hw-tbuf = <118>; - qcom,hw-scl-stretch-en = <0>; - qcom,hw-trdhld = <6>; - qcom,hw-tsp = <1>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8974-cdp.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v2/msm8974-cdp.dtsi deleted file mode 100644 index 2a60df4f4..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8974-cdp.dtsi +++ /dev/null @@ -1,729 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/include/ "dsi-panel-toshiba-720p-video.dtsi" -/include/ "dsi-panel-orise-720p-video.dtsi" -/include/ "msm8974-leds.dtsi" -/include/ "msm8974-camera-sensor-cdp.dtsi" - -&soc { - serial@f991e000 { - status = "ok"; - }; - - qcom,mdss_dsi_toshiba_720p_video { - status = "ok"; - qcom,cont-splash-enabled; - }; - - qcom,mdss_dsi_orise_720p_video { - status = "disable"; - }; - - qcom,hdmi_tx@fd922100 { - status = "ok"; - }; - - i2c@f9924000 { - atmel_mxt_ts@4a { - compatible = "atmel,mxt-ts"; - reg = <0x4a>; - interrupt-parent = <&msmgpio>; - interrupts = <61 0x2>; - vdd_ana-supply = <&pm8941_l18>; - vcc_i2c-supply = <&pm8941_lvs1>; - atmel,reset-gpio = <&msmgpio 60 0x00>; - atmel,irq-gpio = <&msmgpio 61 0x00>; - atmel,panel-coords = <0 0 760 1424>; - atmel,display-coords = <0 0 720 1280>; - atmel,i2c-pull-up; - atmel,no-force-update; - atmel,cfg_1 { - atmel,family-id = <0x82>; - atmel,variant-id = <0x19>; - atmel,version = <0x10>; - atmel,build = <0xaa>; - atmel,config = [ - /* Object 6, Instance = 0 */ - 00 00 00 00 00 00 - /* Object 38, Instance = 0 */ - 15 01 00 03 0A 0C 00 00 - /* Object 7, Instance = 0 */ - 20 08 32 03 - /* Object 8, Instance = 0 */ - 0F 00 0A 0A 00 00 0A 0A 00 00 - /* Object 9, Instance = 0 */ - 83 00 00 18 0E 00 70 46 02 01 - 00 0A 03 31 04 05 0A 0A 90 05 - F8 02 05 F1 F1 0F 00 00 08 2D - 12 06 00 00 00 01 - /* Object 15, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 - /* Object 18, Instance = 0 */ - 00 00 - /* Object 19, Instance = 0 */ - 00 00 00 00 00 00 - /* Object 23, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 - /* Object 25, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 - /* Object 40, Instance = 0 */ - 00 00 00 00 00 - /* Object 42, Instance = 0 */ - 33 1E 19 10 80 00 00 00 FF 00 - /* Object 46, Instance = 0 */ - 00 00 10 10 00 00 03 00 00 01 - /* Object 47, Instance = 0 */ - 08 0A 28 0A 02 0A 00 8C 00 20 - 00 00 00 - /* Object 55, Instance = 0 */ - 00 00 00 00 00 00 - /* Object 56, Instance = 0 */ - 00 00 00 18 05 05 05 05 05 05 - 05 05 05 05 05 05 05 05 05 05 - 05 05 05 05 05 05 05 05 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 - /* Object 57, Instance = 0 */ - 00 00 00 - /* Object 61, Instance = 0 */ - 00 00 00 00 00 - /* Object 62, Instance = 0 */ - 01 2A 00 16 00 00 00 00 0B 01 - 02 03 04 08 00 00 08 10 18 05 - 00 0A 05 05 50 14 19 34 1A 7F - 00 00 00 00 00 00 00 00 00 30 - 05 02 00 01 00 05 00 00 00 00 - 00 00 00 00 - ]; - }; - }; - }; - - gen-vkeys { - compatible = "qcom,gen-vkeys"; - label = "atmel_mxt_ts"; - qcom,disp-maxx = <720>; - qcom,disp-maxy = <1280>; - qcom,panel-maxx = <760>; - qcom,panel-maxy = <1424>; - qcom,key-codes = <158 139 102 217>; - }; - - i2c@f9967000 { - isa1200@48 { - status = "okay"; - reg = <0x48>; - vcc_i2c-supply = <&pm8941_s3>; - compatible = "imagis,isa1200"; - label = "vibrator"; - imagis,chip-en; - imagis,smart-en; - imagis,need-pwm-clk; - imagis,ext-clk-en; - imagis,hap-en-gpio = <&msmgpio 86 0x00>; - imagis,max-timeout = <15000>; - imagis,pwm-div = <256>; - imagis,mode-ctrl = <2>; - imagis,regulator { - regulator-name = "vcc_i2c"; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - regulator-max-microamp = <9360>; - }; - }; - }; - - gpio_keys { - compatible = "gpio-keys"; - input-name = "gpio-keys"; - - camera_snapshot { - label = "camera_snapshot"; - gpios = <&pm8941_gpios 3 0x1>; - linux,input-type = <1>; - linux,code = <0x2fe>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - - camera_focus { - label = "camera_focus"; - gpios = <&pm8941_gpios 4 0x1>; - linux,input-type = <1>; - linux,code = <0x210>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - - vol_up { - label = "volume_up"; - gpios = <&pm8941_gpios 5 0x1>; - linux,input-type = <1>; - linux,code = <115>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - }; - - spi@f9923000 { - ethernet-switch@2 { - compatible = "micrel,ks8851"; - reg = <2>; - interrupt-parent = <&msmgpio>; - interrupts = <94 0>; - spi-max-frequency = <4800000>; - rst-gpio = <&pm8941_mpps 6 0>; - vdd-io-supply = <&spi_eth_vreg>; - vdd-phy-supply = <&spi_eth_vreg>; - }; - }; - - sound { - qcom,model = "msm8974-taiko-cdp-snd-card"; - qcom,hdmi-audio-rx; - qcom,us-euro-gpios = <&pm8941_gpios 20 0>; - qcom,cdc-micbias2-headset-only; - }; - - usb2_otg_sw: regulator-tpd4s214 { - compatible = "regulator-fixed"; - regulator-name = "usb2_otg_sw"; - gpio = <&pm8941_gpios 18 0>; - parent-supply = <&pm8941_boost>; - startup-delay-us = <17000>; - enable-active-high; - }; - - hsic_host: hsic@f9a00000 { - compatible = "qcom,hsic-host"; - reg = <0xf9a00000 0x400>; - #address-cells = <0>; - interrupt-parent = <&hsic_host>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 136 0 - 1 &intc 0 148 0 - 2 &msmgpio 144 0x8>; - interrupt-names = "core_irq", "async_irq", "wakeup"; - HSIC_VDDCX-supply = <&pm8841_s2>; - HSIC_GDSC-supply = <&gdsc_usb_hsic>; - hsic,strobe-gpio = <&msmgpio 144 0x00>; - hsic,data-gpio = <&msmgpio 145 0x00>; - hsic,resume-gpio = <&msmgpio 80 0x00>; - hsic,ignore-cal-pad-config; - hsic,strobe-pad-offset = <0x2050>; - hsic,data-pad-offset = <0x2054>; - - qcom,msm-bus,name = "hsic"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <85 512 0 0>, - <85 512 40000 160000>; - }; - - wlan0: qca,wlan { - compatible = "qca,ar6004-hsic"; - qcom,msm-bus,name = "wlan"; - qcom,msm-bus,num-cases = <5>; - qcom,msm-bus,active-only = <0>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <85 512 0 0>, - <85 512 40000 160000>, - <85 512 40000 320000>, - <85 512 40000 480000>, - <85 512 40000 800000>; - }; -}; - -&spmi_bus { - qcom,pm8941@1 { - qcom,leds@d800 { - status = "okay"; - qcom,wled_0 { - label = "wled"; - linux,name = "wled:backlight"; - linux,default-trigger = "bkl-trigger"; - qcom,cs-out-en; - qcom,op-fdbck = <1>; - qcom,default-state = "on"; - qcom,max-current = <25>; - qcom,ctrl-delay-us = <0>; - qcom,boost-curr-lim = <3>; - qcom,cp-sel = <0>; - qcom,switch-freq = <2>; - qcom,ovp-val = <2>; - qcom,num-strings = <1>; - qcom,id = <0>; - }; - }; - - qcom,leds@d900 { - status = "disabled"; - }; - - qcom,leds@da00 { - status = "disabled"; - }; - - qcom,leds@db00 { - status = "disabled"; - }; - - qcom,leds@dc00 { - status = "disabled"; - }; - - qcom,leds@dd00 { - status = "disabled"; - }; - - qcom,leds@de00 { - status = "disabled"; - }; - - qcom,leds@df00 { - status = "disabled"; - }; - - qcom,leds@e000 { - status = "disabled"; - }; - - qcom,leds@e100 { - status = "disabled"; - }; - }; -}; - -&sdcc1 { - status = "disabled"; -}; - -&sdcc2 { - #address-cells = <0>; - interrupt-parent = <&sdcc2>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 125 0 - 1 &intc 0 220 0 - 2 &msmgpio 62 0x3>; - interrupt-names = "core_irq", "bam_irq", "status_irq"; - cd-gpios = <&msmgpio 62 0x1>; - wp-gpios = <&pm8941_gpios 29 0x1>; - status = "disabled"; -}; - -&sdhc_1 { - vdd-supply = <&pm8941_l20>; - vdd-io-supply = <&pm8941_s3>; - - qcom,vdd-always-on; - qcom,vdd-lpm-sup; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <800 500000>; - - qcom,vdd-io-always-on; - qcom,vdd-io-voltage-level = <1800000 1800000>; - qcom,vdd-io-current-level = <250 154000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,nonremovable; - status = "ok"; -}; - -&sdhc_2 { - #address-cells = <0>; - interrupt-parent = <&sdhc_2>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 125 0 - 1 &intc 0 221 0 - 2 &msmgpio 62 0x3>; - interrupt-names = "hc_irq", "pwr_irq", "status_irq"; - cd-gpios = <&msmgpio 62 0x1>; - - vdd-supply = <&pm8941_l21>; - vdd-io-supply = <&pm8941_l13>; - - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <9000 800000>; - - qcom,vdd-io-voltage-level = <1800000 2950000>; - qcom,vdd-io-current-level = <6 22000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - status = "ok"; -}; - -/* Drive strength recommendations for clock line from hardware team is 10 mA. - * But since the driver has been been using the below values from the start - * without any problems, continue to use those. - */ -&sdcc1 { - qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */ -}; - -&sdcc2 { - qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */ -}; - -&sdhc_1 { - qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */ -}; - -&sdhc_2 { - qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */ -}; - -&uart7 { - status = "ok"; - qcom,tx-gpio = <&msmgpio 41 0x00>; - qcom,rx-gpio = <&msmgpio 42 0x00>; - qcom,cts-gpio = <&msmgpio 43 0x00>; - qcom,rfr-gpio = <&msmgpio 44 0x00>; -}; - -&usb3 { - qcom,otg-capability; -}; - -&pm8941_chg { - status = "ok"; - - qcom,chgr@1000 { - status = "ok"; - }; - - qcom,buck@1100 { - status = "ok"; - }; - - qcom,usb-chgpth@1300 { - status = "ok"; - }; - - qcom,dc-chgpth@1400 { - status = "ok"; - }; - - qcom,boost@1500 { - status = "ok"; - }; - - qcom,chg-misc@1600 { - status = "ok"; - }; -}; - -&pm8941_gpios { - gpio@c000 { /* GPIO 1 */ - }; - - gpio@c100 { /* GPIO 2 */ - }; - - gpio@c200 { /* GPIO 3 */ - qcom,mode = <0>; - qcom,pull = <0>; - qcom,vin-sel = <2>; - qcom,src-sel = <0>; - }; - - gpio@c300 { /* GPIO 4 */ - qcom,mode = <0>; - qcom,pull = <0>; - qcom,vin-sel = <2>; - qcom,src-sel = <0>; - }; - - gpio@c400 { /* GPIO 5 */ - qcom,mode = <0>; - qcom,pull = <0>; - qcom,vin-sel = <2>; - qcom,src-sel = <0>; - }; - - gpio@c500 { /* GPIO 6 */ - }; - - gpio@c600 { /* GPIO 7 */ - }; - - gpio@c700 { /* GPIO 8 */ - }; - - gpio@c800 { /* GPIO 9 */ - }; - - gpio@c900 { /* GPIO 10 */ - }; - - gpio@ca00 { /* GPIO 11 */ - }; - - gpio@cb00 { /* GPIO 12 */ - }; - - gpio@cc00 { /* GPIO 13 */ - }; - - gpio@cd00 { /* GPIO 14 */ - }; - - gpio@ce00 { /* GPIO 15 */ - qcom,mode = <1>; - qcom,output-type = <0>; - qcom,pull = <5>; - qcom,vin-sel = <2>; - qcom,out-strength = <1>; - qcom,src-sel = <2>; - qcom,master-en = <1>; - }; - - gpio@cf00 { /* GPIO 16 */ - qcom,mode = <1>; - qcom,output-type = <0>; - qcom,pull = <2>; - qcom,vin-sel = <2>; - qcom,out-strength = <2>; - qcom,src-sel = <2>; - qcom,master-en = <1>; - }; - - gpio@d000 { /* GPIO 17 */ - }; - - gpio@d100 { /* GPIO 18 */ - /* usb2_otg_sw regulator enable */ - qcom,mode = <1>; /* Digital output */ - qcom,output-type = <0>; /* CMOS logic */ - qcom,invert = <0>; /* Output low initially */ - qcom,vin-sel = <2>; /* PM8941 S3 = 1.8 V */ - qcom,src-sel = <0>; /* Constant */ - qcom,out-strength = <2>; /* Medium drive strength */ - qcom,master-en = <1>; /* Enable GPIO */ - }; - - gpio@d200 { /* GPIO 19 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,output-type = <0>; /* QPNP_PIN_OUT_BUF_CMOS */ - qcom,pull = <5>; /* QPNP_PIN_PULL_NO */ - qcom,vin-sel = <2>; /* QPNP_PIN_VIN2 */ - qcom,out-strength = <2>; /* QPNP_PIN_OUT_STRENGTH_MED */ - qcom,src-sel = <0>; /* QPNP_PIN_SEL_FUNC_CONSTANT */ - qcom,master-en = <1>; - }; - - gpio@d300 { /* GPIO 20 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,output-type = <0>; /* QPNP_PIN_OUT_BUF_CMOS */ - qcom,invert = <0>; /* Output low initially */ - qcom,pull = <5>; /* QPNP_PIN_PULL_NO */ - qcom,vin-sel = <2>; /* QPNP_PIN_VIN2 */ - qcom,out-strength = <2>; /* QPNP_PIN_OUT_STRENGTH_MED */ - qcom,src-sel = <0>; /* QPNP_PIN_SEL_FUNC_CONSTANT */ - qcom,master-en = <1>; - }; - - gpio@d400 { /* GPIO 21 */ - }; - - gpio@d500 { /* GPIO 22 */ - }; - - gpio@d600 { /* GPIO 23 */ - }; - - gpio@d700 { /* GPIO 24 */ - }; - - gpio@d800 { /* GPIO 25 */ - }; - - gpio@d900 { /* GPIO 26 */ - }; - - gpio@da00 { /* GPIO 27 */ - }; - - gpio@db00 { /* GPIO 28 */ - }; - - gpio@dc00 { /* GPIO 29 */ - qcom,pull = <0>; /* set to default pull */ - qcom,master-en = <1>; - qcom,vin-sel = <2>; /* select 1.8 V source */ - }; - - gpio@dd00 { /* GPIO 30 */ - }; - - gpio@de00 { /* GPIO 31 */ - }; - - gpio@df00 { /* GPIO 32 */ - }; - - gpio@e000 { /* GPIO 33 */ - }; - - gpio@e100 { /* GPIO 34 */ - }; - - gpio@e200 { /* GPIO 35 */ - }; - - gpio@e300 { /* GPIO 36 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,output-type = <0>; /* QPNP_PIN_OUT_BUF_CMOS */ - qcom,pull = <5>; /* QPNP_PIN_PULL_NO */ - qcom,vin-sel = <2>; /* QPNP_PIN_VIN2 */ - qcom,out-strength = <3>; /* QPNP_PIN_OUT_STRENGTH_HIGH */ - qcom,src-sel = <3>; /* QPNP_PIN_SEL_FUNC_2 */ - qcom,master-en = <1>; - }; -}; - -&pm8941_mpps { - - mpp@a000 { /* MPP 1 */ - status = "disabled"; - }; - - mpp@a100 { /* MPP 2 */ - }; - - mpp@a200 { /* MPP 3 */ - }; - - mpp@a300 { /* MPP 4 */ - }; - - mpp@a400 { /* MPP 5 */ - /* SPI_ETH config */ - qcom,mode = <1>; /* DIG_OUT */ - qcom,output-type = <0>; /* CMOS */ - qcom,vin-sel = <2>; /* PM8941_S3 1.8V > 1.6V */ - qcom,src-sel = <0>; /* CONSTANT */ - qcom,master-en = <1>; /* ENABLE MPP */ - }; - - mpp@a500 { /* MPP 6 */ - /* SPI_ETH_RST config */ - qcom,mode = <1>; /* DIG_OUT */ - qcom,output-type = <0>; /* CMOS */ - qcom,vin-sel = <2>; /* PM8941_S3 1.8V > 1.6V */ - qcom,src-sel = <0>; /* CONSTANT */ - qcom,master-en = <1>; /* ENABLE MPP */ - }; - - mpp@a600 { /* MPP 7 */ - }; - - mpp@a700 { /* MPP 8 */ - }; -}; - -&pm8841_mpps { - - mpp@a000 { /* MPP 1 */ - }; - - mpp@a100 { /* MPP 2 */ - }; - - mpp@a200 { /* MPP 3 */ - }; - - mpp@a300 { /* MPP 4 */ - }; -}; - -/* CoreSight */ -&tpiu { - qcom,seta-gpios = <&msmgpio 31 0>, - <&msmgpio 32 0>, - <&msmgpio 33 0>, - <&msmgpio 34 0>, - <&msmgpio 35 0>, - <&msmgpio 36 0>, - <&msmgpio 37 0>, - <&msmgpio 38 0>, - <&msmgpio 39 0>, - <&msmgpio 40 0>, - <&msmgpio 41 0>, - <&msmgpio 42 0>, - <&msmgpio 43 0>, - <&msmgpio 44 0>, - <&msmgpio 45 0>, - <&msmgpio 46 0>, - <&msmgpio 47 0>, - <&msmgpio 48 0>; - qcom,seta-gpios-func = <4 4 4 3 4 4 4 3 4 3 5 5 5 5 4 4 5 5>; - qcom,seta-gpios-drv = <7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7>; - qcom,seta-gpios-pull = <0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0>; - qcom,seta-gpios-dir = <2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2>; - - qcom,setb-gpios = <&msmgpio 15 0>, - <&msmgpio 16 0>, - <&msmgpio 17 0>, - <&msmgpio 18 0>, - <&msmgpio 19 0>, - <&msmgpio 20 0>, - <&msmgpio 21 0>, - <&msmgpio 22 0>, - <&msmgpio 23 0>, - <&msmgpio 24 0>, - <&msmgpio 25 0>, - <&msmgpio 26 0>, - <&msmgpio 27 0>, - <&msmgpio 28 0>, - <&msmgpio 89 0>, - <&msmgpio 90 0>, - <&msmgpio 91 0>, - <&msmgpio 92 0>; - qcom,setb-gpios-func = <2 2 2 2 5 5 5 5 6 6 6 7 7 5 2 3 3 3>; - qcom,setb-gpios-drv = <7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7>; - qcom,setb-gpios-pull = <0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0>; - qcom,setb-gpios-dir = <2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2>; -}; - -&slim_msm { - taiko_codec { - qcom,cdc-micbias1-ext-cap; - qcom,cdc-micbias3-ext-cap; - qcom,cdc-micbias4-ext-cap; - - /* If boot isn't available, vph_pwr_vreg can be used instead */ - cdc-vdd-spkdrv-supply = <&pm8941_boost>; - qcom,cdc-vdd-spkdrv-voltage = <5000000 5000000>; - qcom,cdc-vdd-spkdrv-current = <1250000>; - - qcom,cdc-on-demand-supplies = "cdc-vdd-spkdrv"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8974-clock.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v2/msm8974-clock.dtsi deleted file mode 100644 index bed5d70be..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8974-clock.dtsi +++ /dev/null @@ -1,27 +0,0 @@ -/* Copyright (c) 2012, 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. - */ - -&spmi_bus { - - qcom,pm8941@0 { - - pm8941_clkdiv1: clkdiv@5b00 { - qcom,cxo-div = <2>; - }; - - pm8941_clkdiv2: clkdiv@5c00 { - }; - - pm8941_clkdiv3: clkdiv@5d00 { - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8974-coresight.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v2/msm8974-coresight.dtsi deleted file mode 100644 index 1610f1f43..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8974-coresight.dtsi +++ /dev/null @@ -1,381 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&soc { - tmc_etr: tmc@fc322000 { - compatible = "arm,coresight-tmc"; - reg = <0xfc322000 0x1000>, - <0xfc37c000 0x3000>; - reg-names = "tmc-base", "bam-base"; - - qcom,memory-reservation-type = "EBI1"; - qcom,memory-reservation-size = <0x100000>; /* 1M EBI1 buffer */ - - coresight-id = <0>; - coresight-name = "coresight-tmc-etr"; - coresight-nr-inports = <1>; - coresight-ctis = <&cti0 &cti8>; - }; - - tpiu: tpiu@fc318000 { - compatible = "arm,coresight-tpiu"; - reg = <0xfc318000 0x1000>; - reg-names = "tpiu-base"; - - coresight-id = <1>; - coresight-name = "coresight-tpiu"; - coresight-nr-inports = <1>; - - vdd-supply = <&pm8941_l21>; - - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <9000 800000>; - }; - - replicator: replicator@fc31c000 { - compatible = "qcom,coresight-replicator"; - reg = <0xfc31c000 0x1000>; - reg-names = "replicator-base"; - - coresight-id = <2>; - coresight-name = "coresight-replicator"; - coresight-nr-inports = <1>; - coresight-outports = <0 1>; - coresight-child-list = <&tmc_etr &tpiu>; - coresight-child-ports = <0 0>; - }; - - tmc_etf: tmc@fc307000 { - compatible = "arm,coresight-tmc"; - reg = <0xfc307000 0x1000>; - reg-names = "tmc-base"; - - coresight-id = <3>; - coresight-name = "coresight-tmc-etf"; - coresight-nr-inports = <1>; - coresight-outports = <0>; - coresight-child-list = <&replicator>; - coresight-child-ports = <0>; - coresight-default-sink; - coresight-ctis = <&cti0 &cti8>; - }; - - funnel_merg: funnel@fc31b000 { - compatible = "arm,coresight-funnel"; - reg = <0xfc31b000 0x1000>; - reg-names = "funnel-base"; - - coresight-id = <4>; - coresight-name = "coresight-funnel-merg"; - coresight-nr-inports = <2>; - coresight-outports = <0>; - coresight-child-list = <&tmc_etf>; - coresight-child-ports = <0>; - }; - - funnel_in0: funnel@fc319000 { - compatible = "arm,coresight-funnel"; - reg = <0xfc319000 0x1000>; - reg-names = "funnel-base"; - - coresight-id = <5>; - coresight-name = "coresight-funnel-in0"; - coresight-nr-inports = <8>; - coresight-outports = <0>; - coresight-child-list = <&funnel_merg>; - coresight-child-ports = <0>; - }; - - funnel_in1: funnel@fc31a000 { - compatible = "arm,coresight-funnel"; - reg = <0xfc31a000 0x1000>; - reg-names = "funnel-base"; - - coresight-id = <6>; - coresight-name = "coresight-funnel-in1"; - coresight-nr-inports = <8>; - coresight-outports = <0>; - coresight-child-list = <&funnel_merg>; - coresight-child-ports = <1>; - }; - - funnel_kpss: funnel@fc345000 { - compatible = "arm,coresight-funnel"; - reg = <0xfc345000 0x1000>; - reg-names = "funnel-base"; - - coresight-id = <7>; - coresight-name = "coresight-funnel-kpss"; - coresight-nr-inports = <4>; - coresight-outports = <0>; - coresight-child-list = <&funnel_in1>; - coresight-child-ports = <5>; - }; - - funnel_mmss: funnel@fc364000 { - compatible = "arm,coresight-funnel"; - reg = <0xfc364000 0x1000>; - reg-names = "funnel-base"; - - - coresight-id = <8>; - coresight-name = "coresight-funnel-mmss"; - coresight-nr-inports = <8>; - coresight-outports = <0>; - coresight-child-list = <&funnel_in1>; - coresight-child-ports = <1>; - }; - - stm: stm@fc321000 { - compatible = "arm,coresight-stm"; - reg = <0xfc321000 0x1000>, - <0xfa280000 0x180000>; - reg-names = "stm-base", "stm-data-base"; - - coresight-id = <9>; - coresight-name = "coresight-stm"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_in1>; - coresight-child-ports = <7>; - }; - - etm0: etm@fc33c000 { - compatible = "arm,coresight-etm"; - reg = <0xfc33c000 0x1000>; - reg-names = "etm-base"; - - coresight-id = <10>; - coresight-name = "coresight-etm0"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_kpss>; - coresight-child-ports = <0>; - - qcom,pc-save; - qcom,round-robin; - }; - - etm1: etm@fc33d000 { - compatible = "arm,coresight-etm"; - reg = <0xfc33d000 0x1000>; - reg-names = "etm-base"; - - coresight-id = <11>; - coresight-name = "coresight-etm1"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_kpss>; - coresight-child-ports = <1>; - - qcom,pc-save; - qcom,round-robin; - }; - - etm2: etm@fc33e000 { - compatible = "arm,coresight-etm"; - reg = <0xfc33e000 0x1000>; - reg-names = "etm-base"; - - coresight-id = <12>; - coresight-name = "coresight-etm2"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_kpss>; - coresight-child-ports = <2>; - - qcom,pc-save; - qcom,round-robin; - }; - - etm3: etm@fc33f000 { - compatible = "arm,coresight-etm"; - reg = <0xfc33f000 0x1000>; - reg-names = "etm-base"; - - coresight-id = <13>; - coresight-name = "coresight-etm3"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_kpss>; - coresight-child-ports = <3>; - - qcom,pc-save; - qcom,round-robin; - }; - - csr: csr@fc302000 { - compatible = "qcom,coresight-csr"; - reg = <0xfc302000 0x1000>; - reg-names = "csr-base"; - - coresight-id = <14>; - coresight-name = "coresight-csr"; - coresight-nr-inports = <0>; - - qcom,blk-size = <3>; - }; - - cti0: cti@fc308000 { - compatible = "arm,coresight-cti"; - reg = <0xfc308000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <15>; - coresight-name = "coresight-cti0"; - coresight-nr-inports = <0>; - }; - - cti1: cti@fc309000 { - compatible = "arm,coresight-cti"; - reg = <0xfc309000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <16>; - coresight-name = "coresight-cti1"; - coresight-nr-inports = <0>; - }; - - cti2: cti@fc30a000 { - compatible = "arm,coresight-cti"; - reg = <0xfc30a000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <17>; - coresight-name = "coresight-cti2"; - coresight-nr-inports = <0>; - }; - - cti3: cti@fc30b000 { - compatible = "arm,coresight-cti"; - reg = <0xfc30b000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <18>; - coresight-name = "coresight-cti3"; - coresight-nr-inports = <0>; - }; - - cti4: cti@fc30c000 { - compatible = "arm,coresight-cti"; - reg = <0xfc30c000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <19>; - coresight-name = "coresight-cti4"; - coresight-nr-inports = <0>; - }; - - cti5: cti@fc30d000 { - compatible = "arm,coresight-cti"; - reg = <0xfc30d000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <20>; - coresight-name = "coresight-cti5"; - coresight-nr-inports = <0>; - }; - - cti6: cti@fc30e000 { - compatible = "arm,coresight-cti"; - reg = <0xfc30e000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <21>; - coresight-name = "coresight-cti6"; - coresight-nr-inports = <0>; - }; - - cti7: cti@fc30f000 { - compatible = "arm,coresight-cti"; - reg = <0xfc30f000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <22>; - coresight-name = "coresight-cti7"; - coresight-nr-inports = <0>; - }; - - cti8: cti@fc310000 { - compatible = "arm,coresight-cti"; - reg = <0xfc310000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <23>; - coresight-name = "coresight-cti8"; - coresight-nr-inports = <0>; - }; - - cti_l2: cti@fc340000 { - compatible = "arm,coresight-cti"; - reg = <0xfc340000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <24>; - coresight-name = "coresight-cti-l2"; - coresight-nr-inports = <0>; - }; - - cti_cpu0: cti@fc341000 { - compatible = "arm,coresight-cti"; - reg = <0xfc341000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <25>; - coresight-name = "coresight-cti-cpu0"; - coresight-nr-inports = <0>; - }; - - cti_cpu1: cti@fc342000 { - compatible = "arm,coresight-cti"; - reg = <0xfc342000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <26>; - coresight-name = "coresight-cti-cpu1"; - coresight-nr-inports = <0>; - }; - - cti_cpu2: cti@fc343000 { - compatible = "arm,coresight-cti"; - reg = <0xfc343000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <27>; - coresight-name = "coresight-cti-cpu2"; - coresight-nr-inports = <0>; - }; - - cti_cpu3: cti@fc344000 { - compatible = "arm,coresight-cti"; - reg = <0xfc344000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <28>; - coresight-name = "coresight-cti-cpu3"; - coresight-nr-inports = <0>; - }; - - hwevent: hwevent@fdf30018 { - compatible = "qcom,coresight-hwevent"; - reg = <0xfdf30018 0x80>, - <0xf9011080 0x80>, - <0xfd4ab160 0x80>; - reg-names = "mmss-mux", "apcs-mux", "ppss-mux"; - - coresight-id = <29>; - coresight-name = "coresight-hwevent"; - coresight-nr-inports = <0>; - - qcom,hwevent-clks = "core_mmss_clk"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8974-fluid.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v2/msm8974-fluid.dtsi deleted file mode 100644 index a822af5fa..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8974-fluid.dtsi +++ /dev/null @@ -1,667 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/include/ "dsi-panel-toshiba-720p-video.dtsi" -/include/ "msm8974-camera-sensor-fluid.dtsi" -/include/ "msm8974-leds.dtsi" - -&soc { - serial@f991e000 { - status = "ok"; - }; - - qcom,mdss_dsi_toshiba_720p_video { - status = "ok"; - qcom,cont-splash-enabled; - }; - - qcom,hdmi_tx@fd922100 { - status = "ok"; - }; - - i2c@f9924000 { - atmel_mxt_ts@4a { - compatible = "atmel,mxt-ts"; - reg = <0x4a>; - interrupt-parent = <&msmgpio>; - interrupts = <61 0x2>; - vdd_ana-supply = <&pm8941_l18>; - vcc_i2c-supply = <&pm8941_lvs1>; - atmel,reset-gpio = <&msmgpio 60 0x00>; - atmel,irq-gpio = <&msmgpio 61 0x00>; - atmel,panel-coords = <0 0 760 1424>; - atmel,display-coords = <0 0 720 1280>; - atmel,i2c-pull-up; - atmel,no-force-update; - atmel,cfg_1 { - atmel,family-id = <0x82>; - atmel,variant-id = <0x19>; - atmel,version = <0x10>; - atmel,build = <0xaa>; - atmel,config = [ - /* Object 6, Instance = 0 */ - 00 00 00 00 00 00 - /* Object 38, Instance = 0 */ - 15 01 00 03 0A 0C 00 00 - /* Object 7, Instance = 0 */ - 20 08 32 03 - /* Object 8, Instance = 0 */ - 0F 00 0A 0A 00 00 0A 0A 00 00 - /* Object 9, Instance = 0 */ - 83 00 00 18 0E 00 70 46 02 01 - 00 0A 03 31 04 05 0A 0A 90 05 - F8 02 05 F1 F1 0F 00 00 08 2D - 12 06 00 00 00 01 - /* Object 15, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 - /* Object 18, Instance = 0 */ - 00 00 - /* Object 19, Instance = 0 */ - 00 00 00 00 00 00 - /* Object 23, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 - /* Object 25, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 - /* Object 40, Instance = 0 */ - 00 00 00 00 00 - /* Object 42, Instance = 0 */ - 33 1E 19 10 80 00 00 00 FF 00 - /* Object 46, Instance = 0 */ - 00 00 10 10 00 00 03 00 00 01 - /* Object 47, Instance = 0 */ - 08 0A 28 0A 02 0A 00 8C 00 20 - 00 00 00 - /* Object 55, Instance = 0 */ - 00 00 00 00 00 00 - /* Object 56, Instance = 0 */ - 00 00 00 18 05 05 05 05 05 05 - 05 05 05 05 05 05 05 05 05 05 - 05 05 05 05 05 05 05 05 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 - /* Object 57, Instance = 0 */ - 00 00 00 - /* Object 61, Instance = 0 */ - 00 00 00 00 00 - /* Object 62, Instance = 0 */ - 01 2A 00 16 00 00 00 00 0B 01 - 02 03 04 08 00 00 08 10 18 05 - 00 0A 05 05 50 14 19 34 1A 7F - 00 00 00 00 00 00 00 00 00 30 - 05 02 00 01 00 05 00 00 00 00 - 00 00 00 00 - ]; - }; - }; - }; - - i2c@f9967000 { - sii8334@72 { - compatible = "qcom,mhl-sii8334"; - reg = <0x72>; - interrupt-parent = <&msmgpio>; - interrupts = <82 0x8>; - mhl-intr-gpio = <&msmgpio 82 0>; - mhl-pwr-gpio = <&msmgpio 12 0>; - mhl-rst-gpio = <&pm8941_mpps 8 0>; - avcc_18-supply = <&pm8941_l24>; - avcc_12-supply = <&pm8941_l2>; - smps3a-supply = <&pm8941_s3>; - vdda-supply = <&pm8941_l12>; - qcom,hdmi-tx-map = <&mdss_hdmi_tx>; - }; - - isa1200@48 { - status = "okay"; - reg = <0x48>; - vcc_i2c-supply = <&pm8941_s3>; - compatible = "imagis,isa1200"; - label = "vibrator"; - imagis,chip-en; - imagis,need-pwm-clk; - imagis,ext-clk-en; - imagis,hap-en-gpio = <&msmgpio 86 0x00>; - imagis,max-timeout = <15000>; - imagis,pwm-div = <256>; - imagis,mode-ctrl = <2>; - imagis,regulator { - regulator-name = "vcc_i2c"; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - regulator-max-microamp = <9360>; - }; - }; - }; - - gen-vkeys { - compatible = "qcom,gen-vkeys"; - label = "atmel_mxt_ts"; - qcom,disp-maxx = <720>; - qcom,disp-maxy = <1280>; - qcom,panel-maxx = <760>; - qcom,panel-maxy = <1424>; - qcom,key-codes = <158 139 102 217>; - }; - - gpio_keys { - compatible = "gpio-keys"; - input-name = "gpio-keys"; - - camera_snapshot { - label = "camera_snapshot"; - gpios = <&pm8941_gpios 3 0x1>; - linux,input-type = <1>; - linux,code = <0x2fe>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - - camera_focus { - label = "camera_focus"; - gpios = <&pm8941_gpios 4 0x1>; - linux,input-type = <1>; - linux,code = <0x210>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - - vol_up { - label = "volume_up"; - gpios = <&pm8941_gpios 5 0x1>; - linux,input-type = <1>; - linux,code = <115>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - }; - - spi@f9923000 { - ethernet-switch@2 { - compatible = "micrel,ks8851"; - reg = <2>; - interrupt-parent = <&msmgpio>; - interrupts = <94 0>; - spi-max-frequency = <4800000>; - rst-gpio = <&pm8941_mpps 6 0>; - vdd-io-supply = <&spi_eth_vreg>; - vdd-phy-supply = <&spi_eth_vreg>; - }; - }; - - sound { - qcom,model = "msm8974-taiko-fluid-snd-card"; - qcom,audio-routing = - "RX_BIAS", "MCLK", - "LDO_H", "MCLK", - "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", - "Lineout_1 amp", "LINEOUT1", - "Lineout_3 amp", "LINEOUT3"; - - qcom,hdmi-audio-rx; - qcom,ext-ult-lo-amp-gpio = <&pm8941_gpios 6 0>; - qcom,cdc-micbias2-headset-only; - }; -}; - -&slim_msm { - taiko_codec { - qcom,cdc-micbias1-ext-cap; - qcom,cdc-micbias2-ext-cap; - qcom,cdc-micbias3-ext-cap; - qcom,cdc-micbias4-ext-cap; - - /* If boot isn't available, vph_pwr_vreg can be used instead */ - cdc-vdd-spkdrv-supply = <&pm8941_boost>; - qcom,cdc-vdd-spkdrv-voltage = <5000000 5000000>; - qcom,cdc-vdd-spkdrv-current = <1250000>; - - qcom,cdc-on-demand-supplies = "cdc-vdd-spkdrv"; - }; -}; - -&spmi_bus { - qcom,pm8941@1 { - qcom,leds@d800 { - status = "okay"; - qcom,wled_0 { - label = "wled"; - linux,name = "wled:backlight"; - linux,default-trigger = "bkl-trigger"; - qcom,cs-out-en; - qcom,op-fdbck = <1>; - qcom,default-state = "on"; - qcom,max-current = <25>; - qcom,ctrl-delay-us = <0>; - qcom,boost-curr-lim = <3>; - qcom,cp-sel = <0>; - qcom,switch-freq = <2>; - qcom,ovp-val = <2>; - qcom,num-strings = <1>; - qcom,id = <0>; - }; - }; - - qcom,leds@d900 { - status = "disabled"; - }; - - qcom,leds@da00 { - status = "disabled"; - }; - - qcom,leds@db00 { - status = "disabled"; - }; - - qcom,leds@dc00 { - status = "disabled"; - }; - - qcom,leds@dd00 { - status = "disabled"; - }; - - qcom,leds@de00 { - status = "disabled"; - }; - - qcom,leds@df00 { - status = "disabled"; - }; - - qcom,leds@e000 { - status = "disabled"; - }; - - qcom,leds@e100 { - status = "disabled"; - }; - }; -}; - -&sdcc1 { - status = "disabled"; -}; - -&sdcc2 { - #address-cells = <0>; - interrupt-parent = <&sdcc2>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 125 0 - 1 &intc 0 220 0 - 2 &msmgpio 62 0x3>; - interrupt-names = "core_irq", "bam_irq", "status_irq"; - cd-gpios = <&msmgpio 62 0x1>; - status = "disabled"; -}; - -&sdhc_1 { - vdd-supply = <&pm8941_l20>; - vdd-io-supply = <&pm8941_s3>; - - qcom,vdd-always-on; - qcom,vdd-lpm-sup; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <800 500000>; - - qcom,vdd-io-always-on; - qcom,vdd-io-voltage-level = <1800000 1800000>; - qcom,vdd-io-current-level = <250 154000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,nonremovable; - status = "ok"; -}; - -&sdhc_2 { - #address-cells = <0>; - interrupt-parent = <&sdhc_2>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 125 0 - 1 &intc 0 221 0 - 2 &msmgpio 62 0x3>; - interrupt-names = "hc_irq", "pwr_irq", "status_irq"; - cd-gpios = <&msmgpio 62 0x1>; - - vdd-supply = <&pm8941_l21>; - vdd-io-supply = <&pm8941_l13>; - - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <9000 800000>; - - qcom,vdd-io-voltage-level = <1800000 2950000>; - qcom,vdd-io-current-level = <6 22000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - status = "ok"; -}; - -/* Drive strength recommendations for clock line from hardware team is 10 mA. - * But since the driver has been been using the below values from the start - * without any problems, continue to use those. - */ -&sdcc1 { - qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */ -}; - -&sdcc2 { - qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */ -}; - -&sdhc_1 { - qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */ -}; - -&sdhc_2 { - qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */ -}; - -&usb3 { - qcom,otg-capability; -}; - -&pm8941_bms { - status = "ok"; -}; - -&pm8941_chg { - status = "ok"; - qcom,charging-disabled; - - qcom,chgr@1000 { - status = "ok"; - }; - - qcom,buck@1100 { - status = "ok"; - }; - - qcom,bat-if@1200 { - status = "ok"; - }; - - qcom,usb-chgpth@1300 { - status = "ok"; - }; - - qcom,dc-chgpth@1400 { - status = "ok"; - }; - - qcom,boost@1500 { - status = "ok"; - }; - - qcom,chg-misc@1600 { - status = "ok"; - }; -}; - -&pm8941_gpios { - gpio@c000 { /* GPIO 1 */ - }; - - gpio@c100 { /* GPIO 2 */ - }; - - gpio@c200 { /* GPIO 3 */ - qcom,mode = <0>; - qcom,pull = <0>; - qcom,vin-sel = <2>; - qcom,src-sel = <0>; - }; - - gpio@c300 { /* GPIO 4 */ - qcom,mode = <0>; - qcom,pull = <0>; - qcom,vin-sel = <2>; - qcom,src-sel = <0>; - }; - - gpio@c400 { /* GPIO 5 */ - qcom,mode = <0>; - qcom,pull = <0>; - qcom,vin-sel = <2>; - qcom,src-sel = <0>; - }; - - gpio@c500 { /* GPIO 6 */ - }; - - gpio@c600 { /* GPIO 7 */ - }; - - gpio@c700 { /* GPIO 8 */ - }; - - gpio@c800 { /* GPIO 9 */ - }; - - gpio@c900 { /* GPIO 10 */ - }; - - gpio@ca00 { /* GPIO 11 */ - }; - - gpio@cb00 { /* GPIO 12 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,output-type = <0>; /* QPNP_PIN_OUT_BUF_CMOS */ - qcom,pull = <5>; /* QPNP_PIN_PULL_NO */ - qcom,vin-sel = <2>; /* QPNP_PIN_VIN2 */ - qcom,out-strength = <2>; /* QPNP_PIN_OUT_STRENGTH_MED */ - qcom,src-sel = <0>; /* QPNP_PIN_SEL_FUNC_CONSTANT */ - qcom,master-en = <1>; - }; - - gpio@cc00 { /* GPIO 13 */ - }; - - gpio@cd00 { /* GPIO 14 */ - }; - - gpio@ce00 { /* GPIO 15 */ - qcom,mode = <1>; - qcom,output-type = <0>; - qcom,pull = <5>; - qcom,vin-sel = <2>; - qcom,out-strength = <1>; - qcom,src-sel = <2>; - qcom,master-en = <1>; - }; - - gpio@cf00 { /* GPIO 16 */ - qcom,mode = <1>; - qcom,output-type = <0>; - qcom,pull = <5>; - qcom,vin-sel = <2>; - qcom,out-strength = <3>; - qcom,src-sel = <2>; - qcom,master-en = <1>; - }; - - gpio@d000 { /* GPIO 17 */ - }; - - gpio@d100 { /* GPIO 18 */ - }; - - gpio@d200 { /* GPIO 19 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,output-type = <0>; /* QPNP_PIN_OUT_BUF_CMOS */ - qcom,pull = <5>; /* QPNP_PIN_PULL_NO */ - qcom,vin-sel = <2>; /* QPNP_PIN_VIN2 */ - qcom,out-strength = <2>; /* QPNP_PIN_OUT_STRENGTH_MED */ - qcom,src-sel = <0>; /* QPNP_PIN_SEL_FUNC_CONSTANT */ - qcom,master-en = <1>; - }; - - gpio@d300 { /* GPIO 20 */ - }; - - gpio@d400 { /* GPIO 21 */ - }; - - gpio@d500 { /* GPIO 22 */ - }; - - gpio@d600 { /* GPIO 23 */ - }; - - gpio@d700 { /* GPIO 24 */ - }; - - gpio@d800 { /* GPIO 25 */ - }; - - gpio@d900 { /* GPIO 26 */ - }; - - gpio@da00 { /* GPIO 27 */ - }; - - gpio@db00 { /* GPIO 28 */ - }; - - gpio@dc00 { /* GPIO 29 */ - qcom,pull = <0>; /* set to default pull */ - qcom,master-en = <1>; - qcom,vin-sel = <2>; /* select 1.8 V source */ - }; - - gpio@dd00 { /* GPIO 30 */ - }; - - gpio@de00 { /* GPIO 31 */ - }; - - gpio@df00 { /* GPIO 32 */ - }; - - gpio@e000 { /* GPIO 33 */ - }; - - gpio@e100 { /* GPIO 34 */ - }; - - gpio@e200 { /* GPIO 35 */ - }; - - gpio@e300 { /* GPIO 36 */ - }; -}; - -&pm8941_mpps { - - mpp@a000 { /* MPP 1 */ - status = "disabled"; - }; - - mpp@a100 { /* MPP 2 */ - }; - - mpp@a200 { /* MPP 3 */ - }; - - mpp@a300 { /* MPP 4 */ - }; - - mpp@a400 { /* MPP 5 */ - }; - - mpp@a500 { /* MPP 6 */ - /* SPI_ETH_RST config */ - qcom,mode = <1>; /* DIG_OUT */ - qcom,output-type = <0>; /* CMOS */ - qcom,vin-sel = <2>; /* PM8941_S3 1.8V > 1.6V */ - qcom,src-sel = <0>; /* CONSTANT */ - qcom,master-en = <1>; /* ENABLE MPP */ - }; - - mpp@a600 { /* MPP 7 */ - }; - - mpp@a700 { /* MPP 8 */ - qcom,mode = <1>; /* DIG_OUT */ - qcom,output-type = <0>; /* CMOS */ - qcom,pull = <0>; - qcom,vin-sel = <2>; /* PM8941_S3 1.8V > 1.6V */ - qcom,src-sel = <0>; /* CONSTANT */ - qcom,master-en = <1>; /* ENABLE MPP */ - }; -}; - -&pm8841_mpps { - - mpp@a000 { /* MPP 1 */ - }; - - mpp@a100 { /* MPP 2 */ - }; - - mpp@a200 { /* MPP 3 */ - }; - - mpp@a300 { /* MPP 4 */ - }; -}; - -&spi_epm { - epm-adc@0 { - compatible = "cy,epm-adc-cy8c5568lti-114"; - reg = <0>; - interrupt-parent = <&msmgpio>; - spi-max-frequency = <960000>; - qcom,channels = <31>; - qcom,gain = <100 100 100 50 100 100 1 100 1 50 - 1 100 1 100 50 50 50 50 50 50 - 100 50 100 50 50 50 50 50 50 50 - 50>; - qcom,rsense = <2 2 2 200 20 2 1 2 1 30 - 1 10 1 30 50 30 500 30 100 30 - 100 500 20 200 1000 20 1000 1000 70 200 - 50>; - qcom,channel-type = <0x1540>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8974-gpu.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v2/msm8974-gpu.dtsi deleted file mode 100644 index 06b9c187b..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8974-gpu.dtsi +++ /dev/null @@ -1,185 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ -&soc { - msm_gpu: qcom,kgsl-3d0@fdb00000 { - label = "kgsl-3d0"; - compatible = "qcom,kgsl-3d0", "qcom,kgsl-3d"; - reg = <0xfdb00000 0x10000 - 0xfdb20000 0x10000>; - reg-names = "kgsl_3d0_reg_memory" , "kgsl_3d0_shader_memory"; - interrupts = <0 33 0>; - interrupt-names = "kgsl_3d0_irq"; - qcom,id = <0>; - - qcom,chipid = <0x03030000>; - - qcom,initial-pwrlevel = <2>; - qcom,step-pwrlevel = <2>; - - qcom,idle-timeout = <8>; // - qcom,strtstp-sleepwake; - qcom,clk-map = <0x0000006>; //KGSL_CLK_CORE | KGSL_CLK_IFACE - - /* Bus Scale Settings */ - qcom,msm-bus,name = "grp3d"; - qcom,msm-bus,num-cases = <6>; - qcom,msm-bus,num-paths = <2>; - qcom,msm-bus,vectors-KBps = - <26 512 0 0>, <89 604 0 0>, - <26 512 0 2200000>, <89 604 0 3000000>, - <26 512 0 4000000>, <89 604 0 3000000>, - <26 512 0 4000000>, <89 604 0 4500000>, - <26 512 0 6400000>, <89 604 0 4500000>, - <26 512 0 6400000>, <89 604 0 7600000>; - - /* GDSC oxili regulators */ - vddcx-supply = <&gdsc_oxili_cx>; - vdd-supply = <&gdsc_oxili_gx>; - - /* Power levels */ - - /* IOMMU Data */ - iommu = <&kgsl_iommu>; - - /* Trace bus */ - coresight-id = <67>; - coresight-name = "coresight-gfx"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_mmss>; - coresight-child-ports = <7>; - - qcom,gpu-pwrlevels { - #address-cells = <1>; - #size-cells = <0>; - - compatible = "qcom,gpu-pwrlevels"; - - qcom,gpu-pwrlevel@0 { - reg = <0>; - qcom,gpu-freq = <450000000>; - qcom,bus-freq = <5>; - qcom,io-fraction = <33>; - }; - - qcom,gpu-pwrlevel@1 { - reg = <1>; - qcom,gpu-freq = <320000000>; - qcom,bus-freq = <4>; - qcom,io-fraction = <66>; - }; - - qcom,gpu-pwrlevel@2 { - reg = <2>; - qcom,gpu-freq = <320000000>; - qcom,bus-freq = <3>; - qcom,io-fraction = <66>; - }; - - qcom,gpu-pwrlevel@3 { - reg = <3>; - qcom,gpu-freq = <200000000>; - qcom,bus-freq = <2>; - qcom,io-fraction = <100>; - }; - - qcom,gpu-pwrlevel@4 { - reg = <4>; - qcom,gpu-freq = <200000000>; - qcom,bus-freq = <1>; - qcom,io-fraction = <100>; - }; - - qcom,gpu-pwrlevel@5 { - reg = <5>; - qcom,gpu-freq = <27000000>; - qcom,bus-freq = <0>; - qcom,io-fraction = <0>; - }; - }; - - qcom,dcvs-core-info { - #address-cells = <1>; - #size-cells = <0>; - - compatible = "qcom,dcvs-core-info"; - - qcom,num-cores = <1>; - qcom,sensors = <0>; - - qcom,core-core-type = <1>; - - qcom,algo-disable-pc-threshold = <0>; - qcom,algo-em-win-size-min-us = <100000>; - qcom,algo-em-win-size-max-us = <300000>; - qcom,algo-em-max-util-pct = <97>; - qcom,algo-group-id = <95>; - qcom,algo-max-freq-chg-time-us = <100000>; - qcom,algo-slack-mode-dynamic = <100000>; - qcom,algo-slack-weight-thresh-pct = <0>; - qcom,algo-slack-time-min-us = <39000>; - qcom,algo-slack-time-max-us = <39000>; - qcom,algo-ss-win-size-min-us = <1000000>; - qcom,algo-ss-win-size-max-us = <1000000>; - qcom,algo-ss-util-pct = <95>; - qcom,algo-ss-no-corr-below-freq = <0>; - - qcom,energy-active-coeff-a = <2492>; - qcom,energy-active-coeff-b = <0>; - qcom,energy-active-coeff-c = <0>; - qcom,energy-leakage-coeff-a = <11>; - qcom,energy-leakage-coeff-b = <157150>; - qcom,energy-leakage-coeff-c = <0>; - qcom,energy-leakage-coeff-d = <0>; - - qcom,power-current-temp = <25>; - qcom,power-num-freq = <4>; - - qcom,dcvs-freq@0 { - reg = <0>; - qcom,freq = <0>; - qcom,voltage = <0>; - qcom,is_trans_level = <0>; - qcom,active-energy-offset = <100>; - qcom,leakage-energy-offset = <0>; - }; - - qcom,dcvs-freq@1 { - reg = <1>; - qcom,freq = <0>; - qcom,voltage = <0>; - qcom,is_trans_level = <0>; - qcom,active-energy-offset = <100>; - qcom,leakage-energy-offset = <0>; - }; - - qcom,dcvs-freq@2 { - reg = <2>; - qcom,freq = <0>; - qcom,voltage = <0>; - qcom,is_trans_level = <0>; - qcom,active-energy-offset = <100>; - qcom,leakage-energy-offset = <0>; - }; - - qcom,dcvs-freq@3 { - reg = <3>; - qcom,freq = <0>; - qcom,voltage = <0>; - qcom,is_trans_level = <0>; - qcom,active-energy-offset = <844545>; - qcom,leakage-energy-offset = <0>; - }; - }; - - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8974-ion.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v2/msm8974-ion.dtsi deleted file mode 100644 index 63f6d59c2..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8974-ion.dtsi +++ /dev/null @@ -1,59 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&soc { - qcom,ion { - compatible = "qcom,msm-ion"; - #address-cells = <1>; - #size-cells = <0>; - - qcom,ion-heap@30 { /* SYSTEM HEAP */ - reg = <30>; - }; - - qcom,ion-heap@21 { /* SYSTEM CONTIG HEAP */ - reg = <21>; - }; - - qcom,ion-heap@8 { /* CP_MM HEAP */ - compatible = "qcom,msm-ion-reserve"; - reg = <8>; - qcom,heap-align = <0x1000>; - linux,contiguous-region = <&secure_mem>; - }; - - qcom,ion-heap@22 { /* adsp heap */ - compatible = "qcom,msm-ion-reserve"; - reg = <22>; - qcom,heap-align = <0x1000>; - linux,contiguous-region = <&adsp_mem>; - }; - - qcom,ion-heap@25 { /* IOMMU HEAP */ - reg = <25>; - }; - - qcom,ion-heap@27 { /* QSECOM HEAP */ - compatible = "qcom,msm-ion-reserve"; - reg = <27>; - linux,contiguous-region = <&qsecom_mem>; - }; - - qcom,ion-heap@28 { /* AUDIO HEAP */ - compatible = "qcom,msm-ion-reserve"; - reg = <28>; - qcom,heap-align = <0x1000>; - qcom,memory-reservation-type = "EBI1"; /* reserve EBI memory */ - qcom,memory-reservation-size = <0x614000>; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8974-leds.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v2/msm8974-leds.dtsi deleted file mode 100644 index 5e91f4597..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8974-leds.dtsi +++ /dev/null @@ -1,129 +0,0 @@ -/* - * Copyright (c) 2012-2013, 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. - */ - -&spmi_bus { - qcom,pm8941@1 { - qcom,leds@d000 { - status = "okay"; - qcom,rgb_0 { - label = "rgb"; - linux,name = "led:rgb_red"; - qcom,mode = "pwm"; - qcom,pwm-channel = <6>; - qcom,pwm-us = <1000>; - qcom,max-current = <12>; - qcom,default-state = "off"; - qcom,id = <3>; - linux,default-trigger = - "battery-charging"; - }; - - qcom,rgb_1 { - label = "rgb"; - linux,name = "led:rgb_green"; - qcom,mode = "pwm"; - qcom,pwm-channel = <5>; - qcom,pwm-us = <1000>; - qcom,max-current = <12>; - qcom,default-state = "off"; - qcom,id = <4>; - linux,default-trigger = "battery-full"; - }; - - qcom,rgb_2 { - label = "rgb"; - linux,name = "led:rgb_blue"; - qcom,mode = "pwm"; - qcom,pwm-channel = <4>; - qcom,pwm-us = <1000>; - qcom,max-current = <12>; - qcom,id = <5>; - status = "disabled"; - }; - }; - - qcom,leds@d100 { - status = "disabled"; - }; - - qcom,leds@d200 { - status = "disabled"; - }; - - qcom,leds@d300 { - status = "okay"; - pm8941_flash0: qcom,flash_0 { - qcom,max-current = <1000>; - qcom,default-state = "off"; - qcom,headroom = <3>; - qcom,duration = <1280>; - qcom,clamp-curr = <200>; - qcom,startup-dly = <3>; - qcom,safety-timer; - label = "flash"; - linux,default-trigger = - "flash0_trigger"; - qcom,id = <1>; - linux,name = "led:flash_0"; - qcom,current = <625>; - }; - - pm8941_flash1: qcom,flash_1 { - qcom,max-current = <1000>; - qcom,default-state = "off"; - qcom,headroom = <3>; - qcom,duration = <1280>; - qcom,clamp-curr = <200>; - qcom,startup-dly = <3>; - qcom,safety-timer; - linux,default-trigger = - "flash1_trigger"; - label = "flash"; - qcom,id = <2>; - linux,name = "led:flash_1"; - qcom,current = <625>; - }; - - pm8941_torch: qcom,flash_torch { - qcom,max-current = <200>; - qcom,default-state = "off"; - qcom,headroom = <0>; - qcom,startup-dly = <1>; - linux,default-trigger = - "torch_trigger"; - label = "flash"; - qcom,id = <2>; - linux,name = "led:flash_torch"; - qcom,current = <200>; - qcom,torch-enable; - }; - }; - - qcom,leds@d400 { - status = "disabled"; - }; - - qcom,leds@d500 { - status = "disabled"; - }; - - qcom,leds@d600 { - status = "disabled"; - }; - - qcom,leds@d700 { - status = "disabled"; - }; - }; -}; - diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8974-liquid.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v2/msm8974-liquid.dtsi deleted file mode 100644 index 2dc52b6be..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8974-liquid.dtsi +++ /dev/null @@ -1,893 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/include/ "msm8974-leds.dtsi" -/include/ "msm8974-camera-sensor-liquid.dtsi" - -&soc { - serial@f991e000 { - status = "ok"; - }; - - qcom,mdss_edp@fd923400 { - status = "ok"; - }; - - i2c@f9967000 { - battery@b { - compatible = "ti,bq28400-battery"; - reg = <0xb>; - ti,temp-cold = <2>; /* degree celsius */ - ti,temp-hot = <43>; /* degree celsius */ - }; - - charger@2b { - compatible = "summit,smb350-charger"; - reg = <0x2b>; /* 0x56/0x57 */ - summit,stat-gpio = <&pm8941_gpios 30 0x00>; - summit,chg-en-n-gpio = <&pm8941_gpios 10 0x00>; - summit,chg-susp-n-gpio = <&pm8941_gpios 13 0x00>; - summit,chg-current-ma = <1600>; - summit,term-current-ma = <300>; - }; - }; - - gpio_keys { - compatible = "gpio-keys"; - input-name = "gpio-keys"; - - home { - label = "home"; - gpios = <&pm8941_gpios 1 0x1>; - linux,input-type = <1>; - linux,code = <102>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - - vol_down { - label = "volume_down"; - gpios = <&pm8941_gpios 2 0x1>; - linux,input-type = <1>; - linux,code = <114>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - - vol_up { - label = "volume_up"; - gpios = <&pm8941_gpios 5 0x1>; - linux,input-type = <1>; - linux,code = <115>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - }; - - qcom,hdmi_tx@fd922100 { - status = "ok"; - - qcom,hdmi-tx-mux-sel = <&pm8841_mpps 3 0>; - qcom,hdmi-tx-mux-en = <&pm8841_mpps 4 0>; - }; - - drv2667_vreg: drv2667_vdd_vreg { - compatible = "regulator-fixed"; - regulator-name = "vdd_drv2667"; - }; - - i2c@f9967000 { - ti-drv2667@59 { - compatible = "ti,drv2667"; - reg = <0x59>; - vdd-supply = <&drv2667_vreg>; - vdd-i2c-supply = <&pm8941_s3>; - ti,label = "vibrator"; - ti,gain = <2>; - ti,idle-timeout-ms = <20>; - ti,max-runtime-ms = <15000>; - ti,mode = <2>; - ti,wav-seq = [ - /* wave form id */ - 01 - /* header size, start and stop bytes */ - 05 80 06 00 09 - /* repeat, amp, freq, duration, envelope */ - 01 ff 19 02 00]; - }; - }; - - i2c@f9924000 { - atmel_mxt_ts@4a { - compatible = "atmel,mxt-ts"; - reg = <0x4a>; - interrupt-parent = <&msmgpio>; - interrupts = <61 0x2>; - vdd_ana-supply = <&pm8941_l22>; - vcc_i2c-supply = <&pm8941_s3>; - atmel,reset-gpio = <&msmgpio 60 0x00>; - atmel,irq-gpio = <&msmgpio 61 0x00>; - atmel,panel-coords = <0 0 1080 1920>; - atmel,display-coords = <0 0 1080 1920>; - atmel,i2c-pull-up; - atmel,no-force-update; - atmel,cfg_1 { - atmel,family-id = <0xa2>; - atmel,variant-id = <0x00>; - atmel,version = <0x11>; - atmel,build = <0xaa>; - atmel,config = [ - /* Object 6, Instance = 0 */ - 00 00 00 00 00 00 - /* Object 38, Instance = 0 */ - 16 00 00 14 09 0C 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 - /* Object 7, Instance = 0 */ - FF FF 0A 03 - /* Object 8, Instance = 0 */ - 5F 00 14 14 00 00 00 01 00 00 - /* Object 9, Instance = 0 */ - 8F 00 00 20 34 00 87 3C 08 03 - 00 05 03 80 0A 14 14 0A 80 07 - 38 04 00 00 00 00 00 00 00 00 - 0F 0F 2E 33 02 00 - /* Object 15, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 - /* Object 18, Instance = 0 */ - 04 00 - /* Object 24, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 - /* Object 25, Instance = 0 */ - 00 00 54 6F F0 55 00 00 00 00 - 00 00 00 00 00 - /* Object 27, Instance = 0 */ - 00 00 00 00 00 00 00 - /* Object 40, Instance = 0 */ - 00 14 14 14 14 - /* Object 42, Instance = 0 */ - 20 14 00 00 00 14 11 00 03 00 - /* Object 43, Instance = 0 */ - 09 00 01 01 91 00 80 00 00 00 - 00 00 - /* Object 46, Instance = 0 */ - 00 00 10 10 00 00 01 00 00 0F - 0A - /* Object 47, Instance = 0 */ - 00 14 23 02 05 1E 01 78 03 10 - 00 00 0C 00 00 00 00 00 00 00 - 00 00 - /* Object 55, Instance = 0 */ - 00 00 00 00 00 00 00 - /* Object 56, Instance = 0 */ - 02 00 01 30 13 14 14 14 15 15 - 15 15 15 15 15 16 16 16 16 16 - 16 16 16 16 16 15 14 14 14 14 - 15 14 14 14 14 13 00 00 01 02 - 05 05 00 00 00 00 00 00 00 00 - 00 - /* Object 57, Instance = 0 */ - 00 00 00 - /* Object 61, Instance = 0 */ - 00 00 00 00 00 - /* Object 62, Instance = 0 */ - 00 01 03 01 00 00 00 00 00 0A - 0F 14 19 23 05 00 0A 05 05 69 - 23 23 34 11 64 06 06 04 40 00 - 00 00 00 00 69 4B 02 00 00 80 - 0A 14 14 18 18 10 10 80 00 80 - 00 00 0F 02 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 - /* Object 63, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 00 - ]; - }; - atmel,cfg_2 { - atmel,family-id = <0xa2>; - atmel,variant-id = <0x00>; - atmel,version = <0x11>; - atmel,build = <0xaa>; - atmel,config = [ - /* Object 6, Instance = 0 */ - 00 00 00 00 00 00 - /* Object 38, Instance = 0 */ - 19 03 00 1E 05 0D 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 - /* Object 7, Instance = 0 */ - 20 08 32 C3 - /* Object 8, Instance = 0 */ - 41 00 14 14 00 00 00 01 00 00 - /* Object 9, Instance = 0 */ - 8F 00 00 20 34 00 87 4B 02 03 - 00 05 03 41 0A 14 14 0A 80 07 - 38 04 00 00 03 03 08 28 02 3C - 0F 0F 2E 33 01 00 - /* Object 15, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 - /* Object 18, Instance = 0 */ - 04 00 - /* Object 24, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 - /* Object 25, Instance = 0 */ - 00 00 54 6F F0 55 00 00 00 00 - 00 00 00 00 00 - /* Object 27, Instance = 0 */ - 00 00 00 00 00 00 00 - /* Object 40, Instance = 0 */ - 00 14 14 14 14 - /* Object 42, Instance = 0 */ - 23 32 14 14 80 00 0A 00 05 05 - /* Object 43, Instance = 0 */ - 08 00 01 01 91 00 80 00 00 00 - 00 00 - /* Object 46, Instance = 0 */ - 00 00 18 18 00 00 01 00 00 0F - 0A - /* Object 47, Instance = 0 */ - 00 14 28 02 05 28 01 78 03 10 - 00 00 0C 00 00 00 00 00 00 00 - 00 00 - /* Object 55, Instance = 0 */ - 00 00 00 00 00 00 00 - /* Object 56, Instance = 0 */ - 01 00 00 30 13 14 14 14 15 15 - 15 15 15 15 15 16 16 16 16 16 - 16 16 16 16 16 15 14 14 14 14 - 15 14 14 14 14 13 03 20 03 01 - 0A 04 00 00 00 00 00 00 00 00 - 1A - /* Object 57, Instance = 0 */ - 00 00 00 - /* Object 61, Instance = 0 */ - 00 00 00 00 00 - /* Object 62, Instance = 0 */ - 00 03 00 07 02 00 00 00 00 00 - 0F 17 23 2D 05 00 05 03 03 69 - 14 14 34 11 64 06 06 04 40 00 - 00 00 00 00 69 3C 02 04 01 00 - 0A 14 14 03 03 03 03 00 00 00 - 00 64 1E 01 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 - /* Object 63, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 00 - /* Object 65, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 - /* Object 66, Instance = 0 */ - 00 00 00 00 00 - ]; - }; - }; - }; - - ext_5v: regulator-smb210 { - compatible = "regulator-fixed"; - regulator-name = "ext_5v"; - gpio = <&pm8941_mpps 2 0>; - startup-delay-us = <12000>; - enable-active-high; - }; - - ath_chip_pwd_l: ath_chip_reset { - compatible = "regulator-fixed"; - regulator-name = "ath_chip_pwd_l"; - gpio = <&pm8941_gpios 33 0>; - enable-active-high; - }; - - bt_ar3002 { - compatible = "qca,ar3002"; - qca,bt-reset-gpio = <&pm8941_gpios 34 0>; - qca,bt-chip-pwd-supply = <&ath_chip_pwd_l>; - qca,bt-vdd-io-supply = <&pm8941_s3>; - qca,bt-vdd-pa-supply = <&pm8941_l19>; - }; - - bt_ar3002_sleep { - compatible = "qca,ar3002_bluesleep"; - host-wake-gpio = <&msmgpio 79 0>; - ext-wake-gpio = <&msmgpio 51 0>; - interrupt-parent = <&msmgpio>; - interrupts = <79 2>; - interrupt-names = "host_wake"; - }; - - sound { - qcom,model = "msm8974-taiko-liquid-snd-card"; - - qcom,audio-routing = - "RX_BIAS", "MCLK", - "LDO_H", "MCLK", - "Lineout_1 amp", "LINEOUT1", - "Lineout_3 amp", "LINEOUT3", - "Lineout_2 amp", "LINEOUT2", - "Lineout_4 amp", "LINEOUT4", - "SPK_ultrasound amp", "SPK_OUT", - "AMIC1", "MIC BIAS4 External", - "MIC BIAS4 External", "Analog Mic4", - "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", - "AMIC5", "MIC BIAS1 External", - "MIC BIAS1 External", "Analog Mic6", - "AMIC6", "MIC BIAS1 External", - "MIC BIAS1 External", "Analog Mic7", - "DMIC1", "MIC BIAS3 External", - "MIC BIAS3 External", "Digital Mic1", - "DMIC2", "MIC BIAS3 External", - "MIC BIAS3 External", "Digital Mic2", - "DMIC3", "MIC BIAS2 External", - "MIC BIAS2 External", "Digital Mic3", - "DMIC4", "MIC BIAS3 External", - "MIC BIAS3 External", "Digital Mic4", - "DMIC5", "MIC BIAS2 External", - "MIC BIAS2 External", "Digital Mic5", - "DMIC6", "MIC BIAS2 External", - "MIC BIAS2 External", "Digital Mic6"; - - qcom,ext-spk-amp-supply = <&ext_5v>; - qcom,ext-spk-amp-gpio = <&pm8841_mpps 1 0>; - qcom,dock-plug-det-irq = <&pm8841_mpps 2 0>; - qcom,ext-ult-spk-amp-gpio = <&pm8941_gpios 6 0>; - qcom,hdmi-audio-rx; - - qcom,prim-auxpcm-gpio-clk = <&msmgpio 74 0>; - qcom,prim-auxpcm-gpio-sync = <&msmgpio 75 0>; - qcom,prim-auxpcm-gpio-din = <&msmgpio 76 0>; - qcom,prim-auxpcm-gpio-dout = <&msmgpio 77 0>; - qcom,prim-auxpcm-gpio-set = "prim-gpio-tert"; - }; - - hsic_hub { - compatible = "qcom,hsic-smsc-hub"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - smsc,reset-gpio = <&pm8941_gpios 8 0x00>; - smsc,refclk-gpio = <&pm8941_gpios 16 0x00>; - smsc,int-gpio = <&msmgpio 50 0x00>; - hub_int-supply = <&pm8941_l10>; - hub_vbus-supply = <&ext_5v>; - - hsic_host: hsic@f9a00000 { - compatible = "qcom,hsic-host"; - reg = <0xf9a00000 0x400>; - #address-cells = <0>; - interrupt-parent = <&hsic_host>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 136 0 - 1 &intc 0 148 0 - 2 &msmgpio 144 0x8>; - interrupt-names = "core_irq", "async_irq", "wakeup"; - HSIC_VDDCX-supply = <&pm8841_s2>; - HSIC_GDSC-supply = <&gdsc_usb_hsic>; - hsic,strobe-gpio = <&msmgpio 144 0x00>; - hsic,data-gpio = <&msmgpio 145 0x00>; - hsic,ignore-cal-pad-config; - hsic,strobe-pad-offset = <0x2050>; - hsic,data-pad-offset = <0x2054>; - - qcom,msm-bus,name = "hsic"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <85 512 0 0>, - <85 512 40000 160000>; - }; - }; - - wlan0: qca,wlan { - compatible = "qca,ar6004-hsic"; - qcom,msm-bus,name = "wlan"; - qca,wifi-chip-pwd-supply = <&ath_chip_pwd_l>; - qca,wifi-vddpa-supply = <&pm8941_l19>; - qca,wifi-vddio-supply = <&pm8941_l10>; - qcom,msm-bus,num-cases = <5>; - qcom,msm-bus,active-only = <0>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <85 512 0 0>, - <85 512 40000 160000>, - <85 512 40000 320000>, - <85 512 40000 480000>, - <85 512 40000 800000>; - }; - - wlan_sdio:qca,wlan_sdio { - compatible = "qca,ar6004-sdio"; - qcom,msm-bus,name = "wlan_sdio"; - qca,wifi-chip-pwd-supply = <&ath_chip_pwd_l>; - }; -}; - -&mdss_fb0 { - qcom,memory-reservation-size = <0x1000000>; /* size 16MB */ -}; - -&uart7 { - status = "ok"; - qcom,tx-gpio = <&msmgpio 41 0x00>; - qcom,rx-gpio = <&msmgpio 42 0x00>; - qcom,cts-gpio = <&msmgpio 43 0x00>; - qcom,rfr-gpio = <&msmgpio 44 0x00>; -}; - -&usb3 { - qcom,otg-capability; -}; - -&pm8941_mvs2 { - parent-supply = <&ext_5v>; -}; - -&pm8941_gpios { - gpio@c000 { /* GPIO 1 */ - qcom,mode = <0>; - qcom,pull = <0>; - qcom,vin-sel = <2>; - qcom,src-sel = <0>; - }; - - gpio@c100 { /* GPIO 2 */ - qcom,mode = <0>; - qcom,pull = <0>; - qcom,vin-sel = <2>; - qcom,src-sel = <0>; - }; - - gpio@c200 { /* GPIO 3 */ - }; - - gpio@c300 { /* GPIO 4 */ - }; - - gpio@c400 { /* GPIO 5 */ - qcom,mode = <0>; - qcom,pull = <0>; - qcom,vin-sel = <2>; - qcom,src-sel = <0>; - }; - - gpio@c500 { /* GPIO 6 */ - /* ULTRASOUND_EN_1 PA AB enable */ - qcom,mode = <1>; /* DIG_OUT */ - qcom,output-type = <0>; /* CMOS */ - qcom,pull = <4>; /* PULL_DOWN */ - qcom,vin-sel = <0>; /* VPH */ - qcom,out-strength = <2>; /* STRENGTH_MED */ - qcom,src-sel = <0>; /* CONSTANT */ - qcom,master-en = <1>; - }; - - gpio@c600 { /* GPIO 7 */ - }; - - gpio@c700 { /* GPIO 8 */ - /* HSIC_HUB-RESET */ - qcom,mode = <1>; /* DIG_OUT */ - qcom,pull = <5>; /* PULL_NO */ - qcom,out-strength = <2>; /* STRENGTH_MED */ - qcom,master-en = <1>; - }; - - gpio@c800 { /* GPIO 9 */ - }; - - gpio@c900 { /* GPIO 10 */ - /* SMB350-CHG-EN-N */ - qcom,mode = <1>; /* DIG_OUT */ - qcom,output-type = <0>; /* CMOS */ - qcom,pull = <5>; /* PULL_NO */ - qcom,vin-sel = <0>; /* VPH */ - qcom,out-strength = <2>; /* STRENGTH_MED */ - qcom,src-sel = <0>; /* CONSTANT */ - qcom,master-en = <1>; - }; - - gpio@ca00 { /* GPIO 11 */ - }; - - gpio@cb00 { /* GPIO 12 */ - }; - - gpio@cc00 { /* GPIO 13 */ - /* SMB350-CHG-SUSP-N */ - qcom,mode = <1>; /* DIG_OUT */ - qcom,output-type = <0>; /* CMOS */ - qcom,pull = <5>; /* PULL_NO */ - qcom,vin-sel = <0>; /* VPH */ - qcom,out-strength = <2>; /* STRENGTH_MED */ - qcom,src-sel = <0>; /* CONSTANT */ - qcom,master-en = <1>; - }; - - gpio@cd00 { /* GPIO 14 */ - }; - - gpio@ce00 { /* GPIO 15 */ - qcom,mode = <1>; - qcom,output-type = <0>; - qcom,pull = <5>; - qcom,vin-sel = <2>; - qcom,out-strength = <1>; - qcom,src-sel = <2>; - qcom,master-en = <1>; - }; - - gpio@cf00 { /* GPIO 16 */ - /* HSIC_HUB-INT_N */ - qcom,mode = <1>; - qcom,output-type = <0>; - qcom,pull = <5>; - qcom,vin-sel = <2>; - qcom,out-strength = <3>; - qcom,src-sel = <2>; - qcom,master-en = <1>; - }; - - gpio@d000 { /* GPIO 17 */ - }; - - gpio@d100 { /* GPIO 18 */ - }; - - gpio@d200 { /* GPIO 19 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,output-type = <0>; /* QPNP_PIN_OUT_BUF_CMOS */ - qcom,pull = <5>; /* QPNP_PIN_PULL_NO */ - qcom,vin-sel = <2>; /* QPNP_PIN_VIN2 */ - qcom,out-strength = <2>; /* QPNP_PIN_OUT_STRENGTH_MED */ - qcom,src-sel = <0>; /* QPNP_PIN_SEL_FUNC_CONSTANT */ - qcom,master-en = <1>; - }; - - gpio@d300 { /* GPIO 20 */ - }; - - gpio@d400 { /* GPIO 21 */ - }; - - gpio@d500 { /* GPIO 22 */ - }; - - gpio@d600 { /* GPIO 23 */ - }; - - gpio@d700 { /* GPIO 24 */ - }; - - gpio@d800 { /* GPIO 25 */ - }; - - gpio@d900 { /* GPIO 26 */ - }; - - gpio@da00 { /* GPIO 27 */ - }; - - gpio@db00 { /* GPIO 28 */ - }; - - gpio@dc00 { /* GPIO 29 */ - qcom,pull = <0>; /* set to default pull */ - qcom,master-en = <1>; - qcom,vin-sel = <2>; /* select 1.8 V source */ - }; - - gpio@dd00 { /* GPIO 30 */ - /* SMB350-STAT */ - qcom,mode = <0>; /* DIG_IN */ - qcom,pull = <5>; /* PULL_NO */ - qcom,vin-sel = <2>; /* S3 1.8V */ - qcom,src-sel = <0>; /* CONSTANT */ - qcom,master-en = <1>; - }; - - gpio@de00 { /* GPIO 31 */ - }; - - gpio@df00 { /* GPIO 32 */ - }; - - gpio@e000 { /* GPIO 33 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,output-type = <0>; /* QPNP_PIN_OUT_BUF_CMOS */ - qcom,pull = <5>; /* QPNP_PIN_PULL_NO */ - qcom,vin-sel = <2>; /* QPNP_PIN_VIN2 */ - qcom,out-strength = <2>; /* QPNP_PIN_OUT_STRENGTH_MED */ - qcom,src-sel = <0>; /* QPNP_PIN_SEL_FUNC_CONSTANT */ - qcom,invert = <1>; - qcom,master-en = <1>; - }; - - gpio@e100 { /* GPIO 34 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,output-type = <0>; /* QPNP_PIN_OUT_BUF_CMOS */ - qcom,pull = <5>; /* QPNP_PIN_PULL_NO */ - qcom,vin-sel = <2>; /* QPNP_PIN_VIN2 */ - qcom,out-strength = <2>; /* QPNP_PIN_OUT_STRENGTH_MED */ - qcom,src-sel = <0>; /* QPNP_PIN_SEL_FUNC_CONSTANT */ - qcom,invert = <0>; - qcom,master-en = <1>; - }; - - gpio@e200 { /* GPIO 35 */ - }; - - gpio@e300 { /* GPIO 36 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,output-type = <0>; /* QPNP_PIN_OUT_BUF_CMOS */ - qcom,pull = <5>; /* QPNP_PIN_PULL_NO */ - qcom,vin-sel = <2>; /* QPNP_PIN_VIN2 */ - qcom,out-strength = <3>; /* QPNP_PIN_OUT_STRENGTH_HIGH */ - qcom,src-sel = <3>; /* QPNP_PIN_SEL_FUNC_2 */ - qcom,master-en = <1>; - }; -}; - -&pm8941_mpps { - - mpp@a000 { /* MPP 1 */ - status = "disabled"; - }; - - mpp@a100 { /* MPP 2 */ - /* ext_5v regulator enable */ - qcom,mode = <1>; /* Digital output */ - qcom,invert = <0>; /* Output low initially */ - qcom,vin-sel = <2>; /* PM8941 S3 = 1.8 V */ - qcom,src-sel = <0>; /* Constant */ - qcom,master-en = <1>; /* Enable MPP */ - }; - - mpp@a200 { /* MPP 3 */ - }; - - mpp@a300 { /* MPP 4 */ - }; - - mpp@a400 { /* MPP 5 */ - /* SPI_ETH config */ - qcom,mode = <1>; /* DIG_OUT */ - qcom,output-type = <0>; /* CMOS */ - qcom,vin-sel = <2>; /* PM8941_S3 1.8V > 1.6V */ - qcom,src-sel = <0>; /* CONSTANT */ - qcom,master-en = <1>; /* ENABLE MPP */ - }; - - mpp@a500 { /* MPP 6 */ - /* SPI_ETH_RST config */ - qcom,mode = <1>; /* DIG_OUT */ - qcom,output-type = <0>; /* CMOS */ - qcom,vin-sel = <2>; /* PM8941_S3 1.8V > 1.6V */ - qcom,src-sel = <0>; /* CONSTANT */ - qcom,master-en = <1>; /* ENABLE MPP */ - }; - - mpp@a600 { /* MPP 7 */ - }; - - mpp@a700 { /* MPP 8 */ - }; -}; - -&pm8841_mpps { - - mpp@a000 { /* MPP 1 */ - /* CLASS_D_EN speakers PA */ - qcom,mode = <1>; /* DIG_OUT */ - qcom,output-type = <0>; /* PNP_PIN_OUT_BUF_CMOS */ - qcom,vin-sel = <2>; /* S3A 1.8v */ - qcom,src-select = <0>; /* CONSTANT */ - qcom,master-en = <1>; /* ENABLE MPP */ - }; - - mpp@a100 { /* MPP 2 */ - /* DOCK_PLUG_DET speakers+docking detect irq*/ - qcom,mode = <0>; /* DIG_IN */ - qcom,vin-sel = <2>; /* S3A 1.8v */ - qcom,src-sel = <0>; /* CONSTANT */ - qcom,master-en = <1>; /* ENABLE MPP */ - }; - - mpp@a200 { /* HDMI_MUX_SEL MPP 3*/ - status = "ok"; - qcom,mode = <1>; /* DIG_OUT */ - qcom,output-type = <0>; /* CMOS */ - qcom,vin-sel = <2>; /* PM8841_S3A 1.8V */ - qcom,src-sel = <0>; /* CONSTANT */ - qcom,master-en = <1>; /* ENABLE MPP */ - }; - - mpp@a300 { /* HDMI_MUX_EN MPP 4*/ - status = "ok"; - qcom,mode = <1>; /* DIG_OUT */ - qcom,output-type = <0>; /* CMOS */ - qcom,vin-sel = <0>; /* PM8841_VPH 3.4V */ - qcom,src-sel = <0>; /* CONSTANT */ - qcom,master-en = <1>; /* ENABLE MPP */ - }; -}; - -&vph_pwr_vreg { - status = "ok"; -}; - -&slim_msm { - taiko_codec { - qcom,cdc-micbias1-ext-cap; - qcom,cdc-micbias2-ext-cap; - qcom,cdc-micbias3-ext-cap; - qcom,cdc-micbias4-ext-cap; - - /* - * Liquid has external spkrdrv supply. Give a dummy supply to - * make codec driver's happy. - */ - cdc-vdd-spkdrv-supply = <&vph_pwr_vreg>; - qcom,cdc-vdd-spkdrv-voltage = <0 0>; - qcom,cdc-vdd-spkdrv-current = <0>; - - qcom,cdc-on-demand-supplies = "cdc-vdd-spkdrv"; - }; -}; - -&spi_epm { - epm-adc@0 { - compatible = "cy,epm-adc-cy8c5568lti-114"; - reg = <0>; - interrupt-parent = <&msmgpio>; - spi-max-frequency = <960000>; - qcom,channels = <31>; - qcom,gain = <50 50 50 50 50 100 50 50 50 50 - 50 50 50 50 100 50 50 50 50 100 - 50 50 50 100 50 50 50 1 1 1 - 1>; - qcom,rsense = <40 10 10 25 10 1000 75 25 10 25 - 33 500 200 10 500 100 33 200 25 100 - 75 500 50 200 5 5 3 1 1 1 - 1>; - qcom,channel-type = <0xf0000000>; - }; -}; - -&spmi_bus { - qcom,pm8941@1 { - qcom,leds@d000 { - qcom,rgb_2 { - status = "ok"; - qcom,default-state = "on"; - qcom,turn-off-delay-ms = <1000>; - }; - }; - }; -}; - -&pm8941_chg { - status = "ok"; - otg-parent-supply = <&ext_5v>; - - qcom,charging-disabled; - - qcom,chgr@1000 { - status = "ok"; - }; - - qcom,buck@1100 { - status = "ok"; - }; - - qcom,usb-chgpth@1300 { - status = "ok"; - }; - - qcom,dc-chgpth@1400 { - status = "ok"; - }; - - qcom,boost@1500 { - status = "ok"; - }; - - qcom,chg-misc@1600 { - status = "ok"; - }; -}; - -&sdcc1 { - status = "disabled"; -}; - -&sdcc2 { - status = "disabled"; -}; - -&sdhc_1 { - vdd-supply = <&pm8941_l20>; - vdd-io-supply = <&pm8941_s3>; - - qcom,vdd-always-on; - qcom,vdd-lpm-sup; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <800 500000>; - - qcom,vdd-io-always-on; - qcom,vdd-io-voltage-level = <1800000 1800000>; - qcom,vdd-io-current-level = <250 154000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,nonremovable; - status = "ok"; -}; - -&sdhc_2 { - vdd-supply = <&pm8941_l21>; - vdd-io-supply = <&pm8941_l13>; - - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <9000 800000>; - - qcom,vdd-io-voltage-level = <1800000 2950000>; - qcom,vdd-io-current-level = <6 22000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - status = "ok"; -}; - -/* Drive strength recommendations for clock line from hardware team is 10 mA. - * But since the driver has been been using the below values from the start - * without any problems, continue to use those. - */ -&sdcc1 { - qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */ -}; - -&sdcc2 { - qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */ -}; - -&sdhc_1 { - qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */ -}; - -&sdhc_2 { - qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */ -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8974-mdss.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v2/msm8974-mdss.dtsi deleted file mode 100644 index 6b8d600ed..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8974-mdss.dtsi +++ /dev/null @@ -1,148 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&soc { - mdss_mdp: qcom,mdss_mdp@fd900000 { - compatible = "qcom,mdss_mdp"; - reg = <0xfd900000 0x22100>, - <0xfd924000 0x1000>; - reg-names = "mdp_phys", "vbif_phys"; - interrupts = <0 72 0>; - vdd-supply = <&gdsc_mdss>; - - qcom,max-clk-rate = <320000000>; - qcom,mdss-pipe-vig-off = <0x00001200 0x00001600 - 0x00001A00>; - qcom,mdss-pipe-rgb-off = <0x00001E00 0x00002200 - 0x00002600>; - qcom,mdss-pipe-dma-off = <0x00002A00 0x00002E00>; - qcom,mdss-pipe-vig-fetch-id = <1 4 7>; - qcom,mdss-pipe-rgb-fetch-id = <16 17 18>; - qcom,mdss-pipe-dma-fetch-id = <10 13>; - qcom,mdss-smp-data = <22 4096>; - - qcom,mdss-ctl-off = <0x00000600 0x00000700 0x00000800 - 0x00000900 0x0000A00>; - qcom,mdss-mixer-intf-off = <0x00003200 0x00003600 - 0x00003A00>; - qcom,mdss-mixer-wb-off = <0x00003E00 0x00004200>; - qcom,mdss-dspp-off = <0x00004600 0x00004A00 0x00004E00>; - qcom,mdss-wb-off = <0x00011100 0x00013100 0x00015100 - 0x00017100 0x00019100>; - qcom,mdss-intf-off = <0x00021100 0x00021300 - 0x00021500 0x00021700>; - - qcom,vbif-settings = <0x0004 0x00000001>, - <0x00D8 0x00000707>, - <0x00F0 0x00000030>, - <0x0124 0x00000001>, - <0x0178 0x00000FFF>, - <0x017C 0x0FFF0FFF>, - <0x0160 0x22222222>, - <0x0164 0x00002222>; - qcom,mdp-settings = <0x02E0 0x000000E9>, - <0x02E4 0x00000055>, - <0x03AC 0xC0000CCC>, - <0x03B4 0xC0000CCC>, - <0x03BC 0x00CCCCCC>, - <0x04A8 0x0CCCC0C0>, - <0x04B0 0xCCCCC0C0>, - <0x04B8 0xCCCCC000>; - - mdss_fb0: qcom,mdss_fb_primary { - cell-index = <0>; - compatible = "qcom,mdss-fb"; - qcom,memory-reservation-type = "EBI1"; - qcom,memory-reservation-size = <0x800000>; - }; - - mdss_fb1: qcom,mdss_fb_external { - cell-index = <1>; - compatible = "qcom,mdss-fb"; - }; - - mdss_fb2: qcom,mdss_fb_wfd { - cell-index = <2>; - compatible = "qcom,mdss-fb"; - }; - }; - - mdss_dsi0: qcom,mdss_dsi@fd922800 { - compatible = "qcom,mdss-dsi-ctrl"; - label = "MDSS DSI CTRL->0"; - cell-index = <0>; - reg = <0xfd922800 0x600>; - vdd-supply = <&pm8941_l22>; - vddio-supply = <&pm8941_l12>; - vdda-supply = <&pm8941_l2>; - qcom,mdss-fb-map = <&mdss_fb0>; - }; - - mdss_dsi1: qcom,mdss_dsi@fd922e00 { - compatible = "qcom,mdss-dsi-ctrl"; - label = "MDSS DSI CTRL->1"; - cell-index = <1>; - reg = <0xfd922e00 0x600>; - vdd-supply = <&pm8941_l22>; - vddio-supply = <&pm8941_l12>; - vdda-supply = <&pm8941_l2>; - qcom,mdss-fb-map = <&mdss_fb0>; - }; - - mdss_hdmi_tx: qcom,hdmi_tx@fd922100 { - cell-index = <0>; - compatible = "qcom,hdmi-tx"; - reg = <0xfd922100 0x35C>, - <0xfd922500 0x7C>, - <0xfc4b8000 0x60F0>; - reg-names = "core_physical", "phy_physical", "qfprom_physical"; - - hpd-gdsc-supply = <&gdsc_mdss>; - hpd-5v-supply = <&pm8941_mvs2>; - core-vdda-supply = <&pm8941_l12>; - core-vcc-supply = <&pm8941_s3>; - qcom,hdmi-tx-supply-names = "hpd-gdsc", "hpd-5v", "core-vdda", "core-vcc"; - qcom,hdmi-tx-min-voltage-level = <0 0 1800000 1800000>; - qcom,hdmi-tx-max-voltage-level = <0 0 1800000 1800000>; - qcom,hdmi-tx-peak-current = <0 0 1800000 0>; - - qcom,hdmi-tx-cec = <&msmgpio 31 0>; - qcom,hdmi-tx-ddc-clk = <&msmgpio 32 0>; - qcom,hdmi-tx-ddc-data = <&msmgpio 33 0>; - qcom,hdmi-tx-hpd = <&msmgpio 34 0>; - qcom,mdss-fb-map = <&mdss_fb1>; - qcom,msm-hdmi-audio-rx { - compatible = "qcom,msm-hdmi-audio-codec-rx"; - }; - }; - - qcom,mdss_wb_panel { - compatible = "qcom,mdss_wb"; - qcom,mdss_pan_res = <1920 1080>; - qcom,mdss_pan_bpp = <24>; - qcom,mdss-fb-map = <&mdss_fb2>; - }; - - mdss_edp: qcom,mdss_edp@fd923400 { - compatible = "qcom,mdss-edp"; - reg = <0xfd923400 0x700>, - <0xfd8c2000 0x1000>; - reg-names = "edp_base", "mmss_cc_base"; - vdda-supply = <&pm8941_l12>; - gpio-panel-en = <&msmgpio 58 0>; - gpio-panel-pwm = <&pm8941_gpios 36 0>; - qcom,panel-lpg-channel = <7>; /* LPG Channel 8 */ - qcom,panel-pwm-period = <53>; - status = "disable"; - qcom,mdss-fb-map = <&mdss_fb0>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8974-mtp.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v2/msm8974-mtp.dtsi deleted file mode 100644 index e798fc0f9..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8974-mtp.dtsi +++ /dev/null @@ -1,705 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/include/ "dsi-panel-toshiba-720p-video.dtsi" -/include/ "msm8974-camera-sensor-mtp.dtsi" -/include/ "msm8974-leds.dtsi" - -&soc { - serial@f991e000 { - status = "ok"; - }; - - qcom,mdss_dsi_toshiba_720p_video { - status = "ok"; - qcom,cont-splash-enabled; - }; - - qcom,hdmi_tx@fd922100 { - status = "disabled"; - }; - - i2c@f9924000 { - atmel_mxt_ts@4a { - compatible = "atmel,mxt-ts"; - reg = <0x4a>; - interrupt-parent = <&msmgpio>; - interrupts = <61 0x2>; - vdd_ana-supply = <&pm8941_l18>; - vcc_i2c-supply = <&pm8941_lvs1>; - atmel,reset-gpio = <&msmgpio 60 0x00>; - atmel,irq-gpio = <&msmgpio 61 0x00>; - atmel,panel-coords = <0 0 760 1424>; - atmel,display-coords = <0 0 720 1280>; - atmel,i2c-pull-up; - atmel,no-force-update; - atmel,cfg_1 { - atmel,family-id = <0x82>; - atmel,variant-id = <0x19>; - atmel,version = <0x10>; - atmel,build = <0xaa>; - atmel,config = [ - /* Object 6, Instance = 0 */ - 00 00 00 00 00 00 - /* Object 38, Instance = 0 */ - 15 01 00 03 0A 0C 00 00 - /* Object 7, Instance = 0 */ - 20 08 32 03 - /* Object 8, Instance = 0 */ - 0F 00 0A 0A 00 00 0A 0A 00 00 - /* Object 9, Instance = 0 */ - 83 00 00 18 0E 00 70 46 02 01 - 00 0A 03 31 04 05 0A 0A 90 05 - F8 02 05 F1 F1 0F 00 00 08 2D - 12 06 00 00 00 01 - /* Object 15, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 - /* Object 18, Instance = 0 */ - 00 00 - /* Object 19, Instance = 0 */ - 00 00 00 00 00 00 - /* Object 23, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 - /* Object 25, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 - /* Object 40, Instance = 0 */ - 00 00 00 00 00 - /* Object 42, Instance = 0 */ - 33 1E 19 10 80 00 00 00 FF 00 - /* Object 46, Instance = 0 */ - 00 00 10 10 00 00 03 00 00 01 - /* Object 47, Instance = 0 */ - 08 0A 28 0A 02 0A 00 8C 00 20 - 00 00 00 - /* Object 55, Instance = 0 */ - 00 00 00 00 00 00 - /* Object 56, Instance = 0 */ - 00 00 00 18 05 05 05 05 05 05 - 05 05 05 05 05 05 05 05 05 05 - 05 05 05 05 05 05 05 05 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 - /* Object 57, Instance = 0 */ - 00 00 00 - /* Object 61, Instance = 0 */ - 00 00 00 00 00 - /* Object 62, Instance = 0 */ - 01 2A 00 16 00 00 00 00 0B 01 - 02 03 04 08 00 00 08 10 18 05 - 00 0A 05 05 50 14 19 34 1A 7F - 00 00 00 00 00 00 00 00 00 30 - 05 02 00 01 00 05 00 00 00 00 - 00 00 00 00 - ]; - }; - }; - }; - - gen-vkeys { - compatible = "qcom,gen-vkeys"; - label = "atmel_mxt_ts"; - qcom,disp-maxx = <720>; - qcom,disp-maxy = <1280>; - qcom,panel-maxx = <760>; - qcom,panel-maxy = <1424>; - qcom,key-codes = <158 139 102 217>; - }; - - i2c@f9967000 { - isa1200@48 { - status = "okay"; - reg = <0x48>; - vcc_i2c-supply = <&pm8941_s3>; - compatible = "imagis,isa1200"; - label = "vibrator"; - imagis,chip-en; - imagis,need-pwm-clk; - imagis,ext-clk-en; - imagis,hap-en-gpio = <&msmgpio 86 0x00>; - imagis,max-timeout = <15000>; - imagis,pwm-div = <256>; - imagis,mode-ctrl = <2>; - imagis,regulator { - regulator-name = "vcc_i2c"; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - regulator-max-microamp = <9360>; - }; - }; - }; - - gpio_keys { - compatible = "gpio-keys"; - input-name = "gpio-keys"; - - camera_snapshot { - label = "camera_snapshot"; - gpios = <&pm8941_gpios 3 0x1>; - linux,input-type = <1>; - linux,code = <0x2fe>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - - camera_focus { - label = "camera_focus"; - gpios = <&pm8941_gpios 4 0x1>; - linux,input-type = <1>; - linux,code = <0x210>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - - vol_up { - label = "volume_up"; - gpios = <&pm8941_gpios 5 0x1>; - linux,input-type = <1>; - linux,code = <115>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - }; - - spi@f9923000 { - ethernet-switch@2 { - compatible = "micrel,ks8851"; - reg = <2>; - interrupt-parent = <&msmgpio>; - interrupts = <94 0>; - spi-max-frequency = <4800000>; - rst-gpio = <&pm8941_mpps 6 0>; - vdd-io-supply = <&spi_eth_vreg>; - vdd-phy-supply = <&spi_eth_vreg>; - }; - }; - - sound { - qcom,model = "msm8974-taiko-mtp-snd-card"; - qcom,cdc-micbias2-headset-only; - }; -}; - -&spmi_bus { - qcom,pm8941@1 { - qcom,leds@d800 { - status = "okay"; - qcom,wled_0 { - label = "wled"; - linux,name = "wled:backlight"; - linux,default-trigger = "bkl-trigger"; - qcom,cs-out-en; - qcom,op-fdbck = <1>; - qcom,default-state = "on"; - qcom,max-current = <25>; - qcom,ctrl-delay-us = <0>; - qcom,boost-curr-lim = <3>; - qcom,cp-sel = <0>; - qcom,switch-freq = <2>; - qcom,ovp-val = <2>; - qcom,num-strings = <1>; - qcom,id = <0>; - }; - }; - - qcom,leds@d900 { - status = "disabled"; - }; - - qcom,leds@da00 { - status = "disabled"; - }; - - qcom,leds@db00 { - status = "disabled"; - }; - - qcom,leds@dc00 { - status = "disabled"; - }; - - qcom,leds@dd00 { - status = "disabled"; - }; - - qcom,leds@de00 { - status = "disabled"; - }; - - qcom,leds@df00 { - status = "disabled"; - }; - - qcom,leds@e000 { - status = "disabled"; - }; - - qcom,leds@e100 { - status = "disabled"; - }; - }; -}; - -&sdcc1 { - status = "disabled"; -}; - -&sdcc2 { - #address-cells = <0>; - interrupt-parent = <&sdcc2>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 125 0 - 1 &intc 0 220 0 - 2 &msmgpio 62 0x3>; - interrupt-names = "core_irq", "bam_irq", "status_irq"; - cd-gpios = <&msmgpio 62 0x1>; - status = "disabled"; -}; - -&sdhc_1 { - vdd-supply = <&pm8941_l20>; - vdd-io-supply = <&pm8941_s3>; - - qcom,vdd-always-on; - qcom,vdd-lpm-sup; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <800 500000>; - - qcom,vdd-io-always-on; - qcom,vdd-io-voltage-level = <1800000 1800000>; - qcom,vdd-io-current-level = <250 154000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,nonremovable; - status = "ok"; -}; - -&sdhc_2 { - #address-cells = <0>; - interrupt-parent = <&sdhc_2>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 125 0 - 1 &intc 0 221 0 - 2 &msmgpio 62 0x3>; - interrupt-names = "hc_irq", "pwr_irq", "status_irq"; - cd-gpios = <&msmgpio 62 0x1>; - - vdd-supply = <&pm8941_l21>; - vdd-io-supply = <&pm8941_l13>; - - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <9000 800000>; - - qcom,vdd-io-voltage-level = <1800000 2950000>; - qcom,vdd-io-current-level = <6 22000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - status = "ok"; -}; - -/* Drive strength recommendations for clock line from hardware team is 10 mA. - * But since the driver has been been using the below values from the start - * without any problems, continue to use those. - */ -&sdcc1 { - qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */ -}; - -&sdcc2 { - qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */ -}; - -&sdhc_1 { - qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */ -}; - -&sdhc_2 { - qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */ -}; - -&usb_otg { - qcom,hsusb-otg-otg-control = <2>; -}; - -&uart7 { - status = "ok"; -}; - -&usb3 { - qcom,otg-capability; -}; - -&pm8941_bms { - status = "ok"; -}; - -&pm8941_chg { - status = "ok"; - qcom,charging-disabled; - - qcom,chgr@1000 { - status = "ok"; - }; - - qcom,buck@1100 { - status = "ok"; - }; - - qcom,bat-if@1200 { - status = "ok"; - }; - - qcom,usb-chgpth@1300 { - status = "ok"; - }; - - qcom,dc-chgpth@1400 { - status = "ok"; - }; - - qcom,boost@1500 { - status = "ok"; - }; - - qcom,chg-misc@1600 { - status = "ok"; - }; -}; - -&pm8941_gpios { - gpio@c000 { /* GPIO 1 */ - qcom,mode = <0>; /* QPNP_PIN_MODE_DIG_IN */ - qcom,pull = <0>; /* QPNP_PIN_PULL_UP_30 */ - qcom,master-en = <1>; - }; - - gpio@c100 { /* GPIO 2 */ - qcom,mode = <0>; /* QPNP_PIN_MODE_DIG_IN */ - qcom,pull = <0>; /* QPNP_PIN_PULL_UP_30 */ - qcom,master-en = <1>; - }; - - gpio@c200 { /* GPIO 3 */ - qcom,mode = <0>; /* QPNP_PIN_MODE_DIG_IN */ - qcom,pull = <0>; /* QPNP_PIN_PULL_UP_30 */ - qcom,vin-sel = <2>; - qcom,src-sel = <0>; /* QPNP_PIN_SEL_FUNC_CONSTANT */ - qcom,master-en = <1>; - }; - - gpio@c300 { /* GPIO 4 */ - qcom,mode = <0>; /* QPNP_PIN_MODE_DIG_IN */ - qcom,pull = <0>; /* QPNP_PIN_PULL_UP_30 */ - qcom,vin-sel = <2>; /* QPNP_PIN_VIN2 */ - qcom,src-sel = <0>; /* QPNP_PIN_SEL_FUNC_CONSTANT */ - qcom,master-en = <1>; - }; - - gpio@c400 { /* GPIO 5 */ - qcom,mode = <0>; /* QPNP_PIN_MODE_DIG_IN */ - qcom,pull = <0>; /* QPNP_PIN_PULL_UP_30 */ - qcom,vin-sel = <2>; /* QPNP_PIN_VIN2 */ - qcom,src-sel = <0>; /* QPNP_PIN_SEL_FUNC_CONSTANT */ - qcom,master-en = <1>; - }; - - gpio@c500 { /* GPIO 6 */ - qcom,mode = <0>; /* QPNP_PIN_MODE_DIG_IN */ - qcom,pull = <0>; /* QPNP_PIN_PULL_UP_30 */ - qcom,master-en = <1>; - }; - - gpio@c600 { /* GPIO 7 */ - qcom,mode = <0>; /* QPNP_PIN_MODE_DIG_IN */ - qcom,pull = <0>; /* QPNP_PIN_PULL_UP_30 */ - qcom,master-en = <1>; - }; - - gpio@c700 { /* GPIO 8 */ - qcom,mode = <0>; /* QPNP_PIN_MODE_DIG_IN */ - qcom,pull = <0>; /* QPNP_PIN_PULL_UP_30 */ - qcom,master-en = <1>; - }; - - gpio@c800 { /* GPIO 9 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */ - qcom,src-sel = <2>; /* QPNP_PIN_SEL_FUNC_1 */ - qcom,master-en = <1>; - }; - - gpio@c900 { /* GPIO 10 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */ - qcom,src-sel = <2>; /* QPNP_PIN_SEL_FUNC_1 */ - qcom,master-en = <1>; - }; - - gpio@ca00 { /* GPIO 11 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */ - qcom,src-sel = <2>; /* QPNP_PIN_SEL_FUNC_1 */ - qcom,master-en = <1>; - }; - - gpio@cb00 { /* GPIO 12 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */ - qcom,src-sel = <2>; /* QPNP_PIN_SEL_FUNC_1 */ - qcom,master-en = <1>; - }; - - gpio@cc00 { /* GPIO 13 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */ - qcom,src-sel = <2>; /* QPNP_PIN_SEL_FUNC_1 */ - qcom,master-en = <1>; - }; - - gpio@cd00 { /* GPIO 14 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */ - qcom,src-sel = <2>; /* QPNP_PIN_SEL_FUNC_1 */ - qcom,master-en = <1>; - }; - - gpio@ce00 { /* GPIO 15 */ - qcom,mode = <1>; - qcom,output-type = <0>; - qcom,pull = <5>; - qcom,vin-sel = <2>; - qcom,out-strength = <1>; - qcom,src-sel = <2>; - qcom,master-en = <1>; - }; - - gpio@cf00 { /* GPIO 16 */ - qcom,mode = <1>; - qcom,output-type = <0>; - qcom,pull = <5>; - qcom,vin-sel = <2>; - qcom,out-strength = <3>; - qcom,src-sel = <3>; /* QPNP_PIN_SEL_FUNC_2 */ - qcom,master-en = <1>; - }; - - gpio@d000 { /* GPIO 17 */ - }; - - gpio@d100 { /* GPIO 18 */ - }; - - gpio@d200 { /* GPIO 19 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,output-type = <0>; /* QPNP_PIN_OUT_BUF_CMOS */ - qcom,pull = <5>; /* QPNP_PIN_PULL_NO */ - qcom,vin-sel = <2>; /* QPNP_PIN_VIN2 */ - qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */ - qcom,src-sel = <0>; /* QPNP_PIN_SEL_FUNC_CONSTANT */ - qcom,master-en = <1>; - }; - - gpio@d300 { /* GPIO 20 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */ - qcom,src-sel = <2>; /* QPNP_PIN_SEL_FUNC_1 */ - qcom,master-en = <1>; - }; - - gpio@d400 { /* GPIO 21 */ - }; - - gpio@d500 { /* GPIO 22 */ - qcom,mode = <0>; /* QPNP_PIN_MODE_DIG_IN */ - qcom,pull = <4>; /* QPNP_PIN_PULL_DN */ - qcom,master-en = <1>; - }; - - gpio@d600 { /* GPIO 23 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */ - qcom,src-sel = <2>; /* QPNP_PIN_SEL_FUNC_1 */ - qcom,master-en = <1>; - }; - - gpio@d700 { /* GPIO 24 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */ - qcom,src-sel = <2>; /* QPNP_PIN_SEL_FUNC_1 */ - qcom,master-en = <1>; - }; - - gpio@d800 { /* GPIO 25 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */ - qcom,src-sel = <2>; /* QPNP_PIN_SEL_FUNC_1 */ - qcom,master-en = <1>; - }; - - gpio@d900 { /* GPIO 26 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */ - qcom,src-sel = <2>; /* QPNP_PIN_SEL_FUNC_1 */ - qcom,master-en = <1>; - }; - - gpio@da00 { /* GPIO 27 */ - qcom,mode = <0>; /* QPNP_PIN_MODE_DIG_IN */ - qcom,pull = <4>; /* QPNP_PIN_PULL_DN */ - qcom,master-en = <1>; - }; - - gpio@db00 { /* GPIO 28 */ - }; - - gpio@dc00 { /* GPIO 29 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */ - qcom,src-sel = <2>; /* QPNP_PIN_SEL_FUNC_1 */ - qcom,master-en = <1>; - }; - - gpio@dd00 { /* GPIO 30 */ - qcom,mode = <0>; /* QPNP_PIN_MODE_DIG_IN */ - qcom,pull = <4>; /* QPNP_PIN_PULL_DN */ - qcom,master-en = <1>; - }; - - gpio@de00 { /* GPIO 31 */ - }; - - gpio@df00 { /* GPIO 32 */ - qcom,mode = <0>; /* QPNP_PIN_MODE_DIG_IN */ - qcom,pull = <4>; /* QPNP_PIN_PULL_DN */ - qcom,master-en = <1>; - }; - - gpio@e000 { /* GPIO 33 */ - qcom,mode = <0>; /* QPNP_PIN_MODE_DIG_IN */ - qcom,pull = <4>; /* QPNP_PIN_PULL_DN */ - qcom,master-en = <1>; - }; - - gpio@e100 { /* GPIO 34 */ - qcom,mode = <0>; /* QPNP_PIN_MODE_DIG_IN */ - qcom,pull = <4>; /* QPNP_PIN_PULL_DN */ - qcom,master-en = <1>; - }; - - gpio@e200 { /* GPIO 35 */ - qcom,mode = <0>; /* QPNP_PIN_MODE_DIG_IN */ - qcom,pull = <4>; /* QPNP_PIN_PULL_DN */ - qcom,master-en = <1>; - }; - - gpio@e300 { /* GPIO 36 */ - }; -}; - -&pm8941_mpps { - - mpp@a000 { /* MPP 1 */ - status = "disabled"; - }; - - mpp@a100 { /* MPP 2 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */ - qcom,master-en = <1>; - }; - - mpp@a200 { /* MPP 3 */ - }; - - mpp@a300 { /* MPP 4 */ - }; - - mpp@a400 { /* MPP 5 */ - }; - - mpp@a500 { /* MPP 6 */ - /* SPI_ETH_RST config */ - qcom,mode = <1>; /* DIG_OUT */ - qcom,output-type = <0>; /* CMOS */ - qcom,vin-sel = <2>; /* PM8941_S3 1.8V > 1.6V */ - qcom,src-sel = <0>; /* CONSTANT */ - qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */ - qcom,master-en = <1>; /* ENABLE MPP */ - }; - - mpp@a600 { /* MPP 7 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */ - qcom,master-en = <1>; - }; - - mpp@a700 { /* MPP 8 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */ - qcom,master-en = <1>; - }; -}; - -&pm8841_mpps { - - mpp@a000 { /* MPP 1 */ - }; - - mpp@a100 { /* MPP 2 */ - }; - - mpp@a200 { /* MPP 3 */ - }; - - mpp@a300 { /* MPP 4 */ - }; -}; - -&slim_msm { - taiko_codec { - qcom,cdc-micbias1-ext-cap; - qcom,cdc-micbias2-ext-cap; - qcom,cdc-micbias4-ext-cap; - }; -}; - -&spi_epm { - epm-adc@0 { - compatible = "cy,epm-adc-cy8c5568lti-114"; - reg = <0>; - interrupt-parent = <&msmgpio>; - spi-max-frequency = <960000>; - qcom,channels = <31>; - qcom,gain = <100 100 100 50 100 100 1 100 1 50 - 1 100 1 100 50 50 50 50 50 50 - 100 50 100 50 50 50 50 50 50 50 - 50>; - qcom,rsense = <2 2 2 200 20 2 1 2 1 30 - 1 10 1 30 50 30 500 30 100 30 - 100 500 20 200 1000 20 1000 1000 70 200 - 50>; - qcom,channel-type = <0x1540>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8974-regulator.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v2/msm8974-regulator.dtsi deleted file mode 100644 index 2114686eb..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8974-regulator.dtsi +++ /dev/null @@ -1,568 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - - -/* QPNP controlled regulators: */ - -&spmi_bus { - - qcom,pm8941@1 { - - pm8941_boost: regulator@a000 { - regulator-min-microvolt = <5000000>; - regulator-max-microvolt = <5000000>; - qcom,enable-time = <500>; - status = "okay"; - }; - - pm8941_mvs1: regulator@8300 { - parent-supply = <&pm8941_chg_otg>; - qcom,enable-time = <1000>; - qcom,pull-down-enable = <1>; - interrupts = <0x1 0x83 0x2>; - interrupt-names = "ocp"; - qcom,ocp-enable = <1>; - qcom,ocp-max-retries = <10>; - qcom,ocp-retry-delay = <30>; - qcom,soft-start-enable = <1>; - qcom,vs-soft-start-strength = <0>; - qcom,hpm-enable = <1>; - qcom,auto-mode-enable = <0>; - status = "okay"; - }; - - pm8941_mvs2: regulator@8400 { - parent-supply = <&pm8941_boost>; - qcom,enable-time = <1000>; - qcom,pull-down-enable = <1>; - interrupts = <0x1 0x84 0x2>; - interrupt-names = "ocp"; - qcom,ocp-enable = <1>; - qcom,ocp-max-retries = <10>; - qcom,ocp-retry-delay = <30>; - qcom,soft-start-enable = <1>; - qcom,vs-soft-start-strength = <0>; - qcom,hpm-enable = <1>; - qcom,auto-mode-enable = <0>; - status = "okay"; - }; - }; -}; - -/* RPM controlled regulators: */ - -&rpm_bus { - rpm-regulator-smpb1 { - status = "okay"; - pm8841_s1: regulator-s1 { - regulator-min-microvolt = <675000>; - regulator-max-microvolt = <1050000>; - status = "okay"; - }; - pm8841_s1_ao: regulator-s1-ao { - regulator-name = "8841_s1_ao"; - qcom,set = <1>; - regulator-min-microvolt = <675000>; - regulator-max-microvolt = <1050000>; - status = "okay"; - compatible = "qcom,rpm-regulator-smd"; - }; - pm8841_s1_so: regulator-s1-so { - regulator-name = "8841_s1_so"; - qcom,set = <2>; - regulator-min-microvolt = <675000>; - regulator-max-microvolt = <1050000>; - qcom,init-voltage = <675000>; - status = "okay"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-smpb2 { - status = "okay"; - pm8841_s2: regulator-s2 { - regulator-min-microvolt = <500000>; - regulator-max-microvolt = <1050000>; - status = "okay"; - }; - pm8841_s2_corner: regulator-s2-corner { - regulator-name = "8841_s2_corner"; - qcom,set = <3>; - regulator-min-microvolt = <1>; - regulator-max-microvolt = <7>; - qcom,use-voltage-corner; - compatible = "qcom,rpm-regulator-smd"; - qcom,consumer-supplies = "vdd_dig", ""; - }; - pm8841_s2_corner_ao: regulator-s2-corner-ao { - regulator-name = "8841_s2_corner_ao"; - qcom,set = <1>; - regulator-min-microvolt = <1>; - regulator-max-microvolt = <7>; - qcom,use-voltage-corner; - compatible = "qcom,rpm-regulator-smd"; - }; - pm8841_s2_floor_corner: regulator-s2-floor-corner { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8841_s2_floor_corner"; - qcom,set = <3>; - regulator-min-microvolt = <1>; - regulator-max-microvolt = <7>; - qcom,use-voltage-floor-corner; - qcom,always-send-voltage; - }; - }; - - rpm-regulator-smpb3 { - status = "okay"; - pm8841_s3: regulator-s3 { - regulator-min-microvolt = <1050000>; - regulator-max-microvolt = <1050000>; - qcom,init-voltage = <1050000>; - status = "okay"; - }; - }; - - rpm-regulator-smpb4 { - status = "okay"; - pm8841_s4: regulator-s4 { - regulator-min-microvolt = <815000>; - regulator-max-microvolt = <900000>; - status = "okay"; - }; - pm8841_s4_corner: regulator-s4-corner { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8841_s4_corner"; - qcom,set = <3>; - qcom,use-voltage-corner; - regulator-min-microvolt = <1>; - regulator-max-microvolt = <7>; - qcom,init-voltage-corner = <3>; /* SVS SOC */ - }; - pm8841_s4_floor_corner: regulator-s4-floor-corner { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8841_s4_floor_corner"; - qcom,set = <3>; - regulator-min-microvolt = <1>; - regulator-max-microvolt = <7>; - qcom,use-voltage-floor-corner; - qcom,always-send-voltage; - }; - }; - - rpm-regulator-smpa1 { - status = "okay"; - pm8941_s1: regulator-s1 { - regulator-min-microvolt = <1300000>; - regulator-max-microvolt = <1300000>; - qcom,init-voltage = <1300000>; - status = "okay"; - }; - }; - - rpm-regulator-smpa2 { - status = "okay"; - pm8941_s2: regulator-s2 { - regulator-min-microvolt = <2150000>; - regulator-max-microvolt = <2150000>; - qcom,init-voltage = <2150000>; - status = "okay"; - }; - }; - - rpm-regulator-smpa3 { - status = "okay"; - pm8941_s3: regulator-s3 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa1 { - status = "okay"; - pm8941_l1: regulator-l1 { - regulator-min-microvolt = <1225000>; - regulator-max-microvolt = <1225000>; - qcom,init-voltage = <1225000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa2 { - status = "okay"; - pm8941_l2: regulator-l2 { - regulator-min-microvolt = <1200000>; - regulator-max-microvolt = <1200000>; - qcom,init-voltage = <1200000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa3 { - status = "okay"; - pm8941_l3: regulator-l3 { - regulator-min-microvolt = <1225000>; - regulator-max-microvolt = <1225000>; - qcom,init-voltage = <1225000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa4 { - status = "okay"; - pm8941_l4: regulator-l4 { - regulator-min-microvolt = <1225000>; - regulator-max-microvolt = <1225000>; - qcom,init-voltage = <1225000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa5 { - status = "okay"; - pm8941_l5: regulator-l5 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa6 { - status = "okay"; - pm8941_l6: regulator-l6 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa7 { - status = "okay"; - pm8941_l7: regulator-l7 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa8 { - status = "okay"; - pm8941_l8: regulator-l8 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa9 { - status = "okay"; - pm8941_l9: regulator-l9 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <2950000>; - qcom,init-voltage = <2950000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa10 { - status = "okay"; - pm8941_l10: regulator-l10 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <2950000>; - qcom,init-voltage = <2950000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa11 { - status = "okay"; - pm8941_l11: regulator-l11 { - regulator-min-microvolt = <1300000>; - regulator-max-microvolt = <1300000>; - qcom,init-voltage = <1300000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa12 { - status = "okay"; - pm8941_l12: regulator-l12 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - status = "okay"; - }; - pm8941_l12_ao: regulator-l12-ao { - regulator-name = "8941_l12_ao"; - qcom,set = <1>; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - status = "okay"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa13 { - status = "okay"; - pm8941_l13: regulator-l13 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <2950000>; - qcom,init-voltage = <2950000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa14 { - status = "okay"; - pm8941_l14: regulator-l14 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa15 { - status = "okay"; - pm8941_l15: regulator-l15 { - regulator-min-microvolt = <2050000>; - regulator-max-microvolt = <2050000>; - qcom,init-voltage = <2050000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa16 { - status = "okay"; - pm8941_l16: regulator-l16 { - regulator-min-microvolt = <2700000>; - regulator-max-microvolt = <2700000>; - qcom,init-voltage = <2700000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa17 { - status = "okay"; - pm8941_l17: regulator-l17 { - regulator-min-microvolt = <2850000>; - regulator-max-microvolt = <2850000>; - qcom,init-voltage = <2850000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa18 { - status = "okay"; - pm8941_l18: regulator-l18 { - regulator-min-microvolt = <2850000>; - regulator-max-microvolt = <2850000>; - qcom,init-voltage = <2850000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa19 { - status = "okay"; - pm8941_l19: regulator-l19 { - regulator-min-microvolt = <2900000>; - regulator-max-microvolt = <2900000>; - qcom,init-voltage = <2900000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa20 { - status = "okay"; - pm8941_l20: regulator-l20 { - regulator-min-microvolt = <2950000>; - regulator-max-microvolt = <2950000>; - qcom,init-voltage = <2950000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa21 { - status = "okay"; - pm8941_l21: regulator-l21 { - regulator-min-microvolt = <2950000>; - regulator-max-microvolt = <2950000>; - qcom,init-voltage = <2950000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa22 { - status = "okay"; - pm8941_l22: regulator-l22 { - regulator-min-microvolt = <3000000>; - regulator-max-microvolt = <3000000>; - qcom,init-voltage = <3000000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa23 { - status = "okay"; - pm8941_l23: regulator-l23 { - regulator-min-microvolt = <3000000>; - regulator-max-microvolt = <3000000>; - qcom,init-voltage = <3000000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa24 { - status = "okay"; - pm8941_l24: regulator-l24 { - regulator-min-microvolt = <3075000>; - regulator-max-microvolt = <3075000>; - qcom,init-voltage = <3075000>; - status = "okay"; - }; - }; - - rpm-regulator-vsa1 { - status = "okay"; - pm8941_lvs1: regulator-lvs1 { - status = "okay"; - }; - }; - - rpm-regulator-vsa2 { - status = "okay"; - pm8941_lvs2: regulator-lvs2 { - status = "okay"; - }; - }; - - rpm-regulator-vsa3 { - status = "okay"; - pm8941_lvs3: regulator-lvs3 { - status = "okay"; - }; - }; -}; - -&soc { - krait_pdn: krait-pdn@f9011000 { - reg = <0xf9011000 0x1000>, - <0xfc4b80b0 8>; - reg-names = "apcs_gcc", "phase-scaling-efuse"; - compatible = "qcom,krait-pdn"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - qcom,pfm-threshold = <73>; - - krait0_vreg: regulator@f9088000 { - compatible = "qcom,krait-regulator"; - regulator-name = "krait0"; - reg = <0xf9088000 0x1000>, /* APCS_ALIAS0_KPSS_ACS */ - <0xf908a800 0x1000>; /* APCS_ALIAS0_KPSS_MDD */ - reg-names = "acs", "mdd"; - regulator-min-microvolt = <500000>; - regulator-max-microvolt = <1100000>; - qcom,headroom-voltage = <150000>; - qcom,retention-voltage = <675000>; - qcom,ldo-default-voltage = <750000>; - qcom,ldo-threshold-voltage = <850000>; - qcom,ldo-delta-voltage = <50000>; - qcom,cpu-num = <0>; - }; - - krait1_vreg: regulator@f9098000 { - compatible = "qcom,krait-regulator"; - regulator-name = "krait1"; - reg = <0xf9098000 0x1000>, /* APCS_ALIAS1_KPSS_ACS */ - <0xf909a800 0x1000>; /* APCS_ALIAS1_KPSS_MDD */ - reg-names = "acs", "mdd"; - regulator-min-microvolt = <500000>; - regulator-max-microvolt = <1100000>; - qcom,headroom-voltage = <150000>; - qcom,retention-voltage = <675000>; - qcom,ldo-default-voltage = <750000>; - qcom,ldo-threshold-voltage = <850000>; - qcom,ldo-delta-voltage = <50000>; - qcom,cpu-num = <1>; - }; - - krait2_vreg: regulator@f90a8000 { - compatible = "qcom,krait-regulator"; - regulator-name = "krait2"; - reg = <0xf90a8000 0x1000>, /* APCS_ALIAS2_KPSS_ACS */ - <0xf90aa800 0x1000>; /* APCS_ALIAS2_KPSS_MDD */ - reg-names = "acs", "mdd"; - regulator-min-microvolt = <500000>; - regulator-max-microvolt = <1100000>; - qcom,headroom-voltage = <150000>; - qcom,retention-voltage = <675000>; - qcom,ldo-default-voltage = <750000>; - qcom,ldo-threshold-voltage = <850000>; - qcom,ldo-delta-voltage = <50000>; - qcom,cpu-num = <2>; - }; - - krait3_vreg: regulator@f90b8000 { - compatible = "qcom,krait-regulator"; - regulator-name = "krait3"; - reg = <0xf90b8000 0x1000>, /* APCS_ALIAS3_KPSS_ACS */ - <0xf90ba800 0x1000>; /* APCS_ALIAS3_KPSS_MDD */ - reg-names = "acs", "mdd"; - regulator-min-microvolt = <500000>; - regulator-max-microvolt = <1100000>; - qcom,headroom-voltage = <150000>; - qcom,retention-voltage = <675000>; - qcom,ldo-default-voltage = <750000>; - qcom,ldo-threshold-voltage = <850000>; - qcom,ldo-delta-voltage = <50000>; - qcom,cpu-num = <3>; - }; - }; - - spi_eth_vreg: spi_eth_phy_vreg { - compatible = "regulator-fixed"; - regulator-name = "ethernet_phy"; - gpio = <&pm8941_mpps 5 0>; - enable-active-high; - }; - - /* - * vph_pwr_vreg represents the unregulated battery voltage supply - * VPH_PWR that is present whenever the device is powered on. - */ - vph_pwr_vreg: vph_pwr_vreg { - compatible = "regulator-fixed"; - status = "disabled"; - regulator-name = "vph_pwr"; - regulator-always-on; - }; -}; - -&pm8941_chg { - otg-parent-supply = <&pm8941_boost>; -}; - -&pm8941_chg_boost { - regulator-min-microvolt = <5000000>; - regulator-max-microvolt = <5000000>; - regulator-name = "8941_smbb_boost"; -}; - -&pm8941_chg_otg { - regulator-name = "8941_smbb_otg"; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8974-rumi.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v2/msm8974-rumi.dtsi deleted file mode 100644 index c01a4e509..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8974-rumi.dtsi +++ /dev/null @@ -1,146 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/include/ "msm8974-leds.dtsi" -/include/ "msm8974-camera-sensor-cdp.dtsi" - -&soc { - timer { - clock-frequency = <5000000>; - }; - - serial@f995e000 { - status = "ok"; - }; - - usb@f9a55000 { - status = "disable"; - }; - - qcom,sdcc@f9824000 { - qcom,clk-rates = <400000 19200000>; - }; - - qcom,sdcc@f98a4000 { - qcom,clk-rates = <400000 19200000>; - }; - - qcom,sps@f998000 { - status = "disable"; - }; - - spi@f9924000 { - status = "disable"; - }; - - spi@f9923000 { - compatible = "qcom,spi-qup-v2"; - reg = <0xf9923000 0x1000>; - interrupts = <0 95 0>; - spi-max-frequency = <24000000>; - #address-cells = <1>; - #size-cells = <0>; - gpios = <&msmgpio 3 0>, /* CLK */ - <&msmgpio 1 0>, /* MISO */ - <&msmgpio 0 0>; /* MOSI */ - cs-gpios = <&msmgpio 9 0>; - - ethernet-switch@2 { - compatible = "simtec,ks8851"; - reg = <2>; - interrupt-parent = <&msmgpio>; - interrupts = <90 0>; - spi-max-frequency = <5000000>; - }; - }; - - i2c@f9966000 { - status = "disable"; - }; - - i2c@f9967000 { - cell-index = <0>; - compatible = "qcom,i2c-qup"; - reg = <0Xf9967000 0x1000>; - reg-names = "qup_phys_addr"; - interrupts = <0 105 0>; - interrupt-names = "qup_err_intr"; - qcom,i2c-bus-freq = <100000>; - qcom,i2c-src-freq = <19200000>; - gpios = <&msmgpio 83 0>, /* DAT */ - <&msmgpio 84 0>; /* CLK */ - }; - - slim@fe12f000 { - status = "disable"; - }; - - qcom,mdss_dsi@fd922800 { - status = "disable"; - }; - - qcom,spmi@fc4c0000 { - status = "disable"; - }; - - qcom,ssusb@F9200000 { - status = "disable"; - }; - - qcom,lpass@fe200000 { - status = "disable"; - }; - - qcom,pronto@fb21b000 { - status = "disable"; - }; - - qcom,mss@fc880000 { - status = "disable"; - }; - - qcom,kgsl-3d0@fdb00000 { - status = "disabled"; - }; -}; - -&gdsc_venus { - status = "disabled"; -}; - -&gdsc_mdss { - status = "disabled"; -}; - -&gdsc_jpeg { - status = "disabled"; -}; - -&gdsc_vfe { - status = "disabled"; -}; - -&gdsc_oxili_gx { - status = "disabled"; -}; - -&gdsc_oxili_cx { - status = "disabled"; -}; - -&gdsc_usb_hsic { - status = "disabled"; -}; - -&rpm_bus { - rpm-standalone; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8974-sim.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v2/msm8974-sim.dtsi deleted file mode 100644 index 24b8d18be..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8974-sim.dtsi +++ /dev/null @@ -1,93 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/include/ "dsi-panel-sim-video.dtsi" -/include/ "msm8974-leds.dtsi" -/include/ "msm8974-camera-sensor-cdp.dtsi" - -&soc { - qcom,mdss_dsi@fd922800 { - qcom,mdss_dsi_sim_video { - status = "ok"; - }; - }; - - serial@f991f000 { - status = "ok"; - }; - - serial@f995e000 { - status = "ok"; - }; -}; - -&jpeg_iommu { - qcom,iommu-ctx@fda6c000 { - interrupts = <0 69 0>; - }; - - qcom,iommu-ctx@fda6d000 { - interrupts = <0 70 0>; - }; - - qcom,iommu-ctx@fda6e000 { - interrupts = <0 71 0>; - }; -}; - -&mdp_iommu { - qcom,iommu-ctx@fd930000 { - interrupts = <0 46 0>; - }; - - qcom,iommu-ctx@fd931000 { - interrupts = <0 47 0>; - }; -}; - -&venus_iommu { - qcom,iommu-ctx@fdc8c000 { - interrupts = <0 43 0>; - }; - - qcom,iommu-ctx@fdc8d000 { - interrupts = <0 42 0>; - }; - - qcom,iommu-ctx@fdc8e000 { - interrupts = <0 41 0>; - }; -}; - -&kgsl_iommu { - qcom,iommu-ctx@fdb18000 { - interrupts = <0 240 0>; - }; - - qcom,iommu-ctx@fdb19000 { - interrupts = <0 241 0>; - }; -}; - -&vfe_iommu { - qcom,iommu-ctx@fda4c000 { - interrupts = <0 64 0>; - }; - - qcom,iommu-ctx@fda4d000 { - interrupts = <0 65 0>; - }; - - qcom,iommu-ctx@fda4e000 { - interrupts = <0 66 0>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8974-smp2p.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v2/msm8974-smp2p.dtsi deleted file mode 100644 index 3921a686a..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8974-smp2p.dtsi +++ /dev/null @@ -1,225 +0,0 @@ -/* Copyright (c) 2013, 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. - */ -&soc { - qcom,smp2p-modem { - compatible = "qcom,smp2p"; - reg = <0xf9011008 0x4>; - qcom,remote-pid = <1>; - qcom,irq-bitmask = <0x4000>; - interrupts = <0 27 1>; - }; - - qcom,smp2p-adsp { - compatible = "qcom,smp2p"; - reg = <0xf9011008 0x4>; - qcom,remote-pid = <2>; - qcom,irq-bitmask = <0x400>; - interrupts = <0 158 1>; - }; - - qcom,smp2p-wcnss { - compatible = "qcom,smp2p"; - reg = <0xf9011008 0x4>; - qcom,remote-pid = <4>; - qcom,irq-bitmask = <0x40000>; - interrupts = <0 143 1>; - }; - - smp2pgpio_smp2p_7_in: qcom,smp2pgpio-smp2p-7-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <7>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_7_in { - compatible = "qcom,smp2pgpio_test_smp2p_7_in"; - gpios = <&smp2pgpio_smp2p_7_in 0 0>; - }; - - smp2pgpio_smp2p_7_out: qcom,smp2pgpio-smp2p-7-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <7>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_7_out { - compatible = "qcom,smp2pgpio_test_smp2p_7_out"; - gpios = <&smp2pgpio_smp2p_7_out 0 0>; - }; - - smp2pgpio_smp2p_1_in: qcom,smp2pgpio-smp2p-1-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <1>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_1_in { - compatible = "qcom,smp2pgpio_test_smp2p_1_in"; - gpios = <&smp2pgpio_smp2p_1_in 0 0>; - }; - - smp2pgpio_smp2p_1_out: qcom,smp2pgpio-smp2p-1-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <1>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_1_out { - compatible = "qcom,smp2pgpio_test_smp2p_1_out"; - gpios = <&smp2pgpio_smp2p_1_out 0 0>; - }; - - smp2pgpio_ssr_smp2p_1_in: qcom,smp2pgpio-ssr-smp2p-1-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "slave-kernel"; - qcom,remote-pid = <1>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - smp2pgpio_ssr_smp2p_1_out: qcom,smp2pgpio-ssr-smp2p-1-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "master-kernel"; - qcom,remote-pid = <1>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - smp2pgpio_smp2p_2_in: qcom,smp2pgpio-smp2p-2-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <2>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_2_in { - compatible = "qcom,smp2pgpio_test_smp2p_2_in"; - gpios = <&smp2pgpio_smp2p_2_in 0 0>; - }; - - smp2pgpio_smp2p_2_out: qcom,smp2pgpio-smp2p-2-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <2>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_2_out { - compatible = "qcom,smp2pgpio_test_smp2p_2_out"; - gpios = <&smp2pgpio_smp2p_2_out 0 0>; - }; - - /* SMP2P SSR Driver for inbound entry from lpass. */ - smp2pgpio_ssr_smp2p_2_in: qcom,smp2pgpio-ssr-smp2p-2-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "slave-kernel"; - qcom,remote-pid = <2>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - /* SMP2P SSR Driver for outbound entry to lpass */ - smp2pgpio_ssr_smp2p_2_out: qcom,smp2pgpio-ssr-smp2p-2-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "master-kernel"; - qcom,remote-pid = <2>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - smp2pgpio_smp2p_4_in: qcom,smp2pgpio-smp2p-4-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <4>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_4_in { - compatible = "qcom,smp2pgpio_test_smp2p_4_in"; - gpios = <&smp2pgpio_smp2p_4_in 0 0>; - }; - - smp2pgpio_smp2p_4_out: qcom,smp2pgpio-smp2p-4-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <4>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - smp2pgpio_ssr_smp2p_4_in: qcom,smp2pgpio-ssr-smp2p-4-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "slave-kernel"; - qcom,remote-pid = <4>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - smp2pgpio_ssr_smp2p_4_out: qcom,smp2pgpio-ssr-smp2p-4-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "master-kernel"; - qcom,remote-pid = <4>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_4_out { - compatible = "qcom,smp2pgpio_test_smp2p_4_out"; - gpios = <&smp2pgpio_smp2p_4_out 0 0>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8974-v1-cdp.dts b/kernel/arch/arm/boot/dts/m7350-un-v2/msm8974-v1-cdp.dts deleted file mode 100644 index c3fd98d2b..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8974-v1-cdp.dts +++ /dev/null @@ -1,33 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/dts-v1/; - -/include/ "msm8974-v1.dtsi" -/include/ "msm8974-cdp.dtsi" - -/ { - model = "Qualcomm MSM 8974 CDP"; - compatible = "qcom,msm8974-cdp", "qcom,msm8974", "qcom,cdp"; - qcom,msm-id = <126 1 0>, - <185 1 0>, - <186 1 0>; -}; - -&ehci { - status = "ok"; - vbus-supply = <&usb2_otg_sw>; -}; - -&hsic_host { - qcom,phy-sof-workaround; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8974-v1-fluid.dts b/kernel/arch/arm/boot/dts/m7350-un-v2/msm8974-v1-fluid.dts deleted file mode 100644 index 2b96ecbd2..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8974-v1-fluid.dts +++ /dev/null @@ -1,33 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/dts-v1/; - -/include/ "msm8974-v1.dtsi" -/include/ "msm8974-fluid.dtsi" - -/ { - model = "Qualcomm MSM 8974 FLUID"; - compatible = "qcom,msm8974-fluid", "qcom,msm8974", "qcom,fluid"; - qcom,msm-id = <126 3 0>, - <185 3 0>, - <186 3 0>; - -}; - -&pm8941_chg { - qcom,charging-disabled; -}; - -&sdcc1 { - qcom,bus-width = <4>; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8974-v1-iommu-domains.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v2/msm8974-v1-iommu-domains.dtsi deleted file mode 100644 index 25fca2a54..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8974-v1-iommu-domains.dtsi +++ /dev/null @@ -1,31 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -&soc { - qcom,iommu-domains { - compatible = "qcom,iommu-domains"; - - venus_domain_ns: qcom,iommu-domain1 { - label = "venus_ns"; - qcom,iommu-contexts = <&venus_ns>; - qcom,virtual-addr-pool = <0x40000000 0x3f000000 - 0x7f000000 0x1000000>; - }; - - venus_domain_cp: qcom,iommu-domain2 { - label = "venus_cp"; - qcom,iommu-contexts = <&venus_cp>; - qcom,virtual-addr-pool = <0x1000000 0x3f000000>; - qcom,secure-domain; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8974-v1-iommu.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v2/msm8974-v1-iommu.dtsi deleted file mode 100644 index 56369dce3..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8974-v1-iommu.dtsi +++ /dev/null @@ -1,40 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/include/ "msm-iommu-v1.dtsi" - -&jpeg_iommu { - status = "ok"; - vdd-supply = <&gdsc_jpeg>; -}; - -&mdp_iommu { - status = "ok"; - vdd-supply = <&gdsc_mdss>; -}; - -&venus_iommu { - status = "ok"; - vdd-supply = <&gdsc_venus>; -}; - -&kgsl_iommu { - status = "ok"; - qcom,needs-alt-core-clk; - vdd-supply = <&gdsc_oxili_cx>; - qcom,alt-vdd-supply = <&gdsc_oxili_gx>; -}; - -&vfe_iommu { - status = "ok"; - vdd-supply = <&gdsc_vfe>; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8974-v1-liquid.dts b/kernel/arch/arm/boot/dts/m7350-un-v2/msm8974-v1-liquid.dts deleted file mode 100644 index 29d6150ba..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8974-v1-liquid.dts +++ /dev/null @@ -1,24 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/dts-v1/; - -/include/ "msm8974-v1.dtsi" -/include/ "msm8974-liquid.dtsi" - -/ { - model = "Qualcomm MSM 8974 LIQUID"; - compatible = "qcom,msm8974-liquid", "qcom,msm8974", "qcom,liquid"; - qcom,msm-id = <126 9 0>, - <185 9 0>, - <186 9 0>; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8974-v1-mtp.dts b/kernel/arch/arm/boot/dts/m7350-un-v2/msm8974-v1-mtp.dts deleted file mode 100644 index 8cbcca05a..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8974-v1-mtp.dts +++ /dev/null @@ -1,28 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/dts-v1/; - -/include/ "msm8974-v1.dtsi" -/include/ "msm8974-mtp.dtsi" - -/ { - model = "Qualcomm MSM 8974 MTP"; - compatible = "qcom,msm8974-mtp", "qcom,msm8974", "qcom,mtp"; - qcom,msm-id = <126 8 0>, - <185 8 0>, - <186 8 0>; -}; - -&pm8941_chg { - qcom,charging-disabled; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8974-v1-pm.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v2/msm8974-v1-pm.dtsi deleted file mode 100644 index 56a819ecc..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8974-v1-pm.dtsi +++ /dev/null @@ -1,456 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/include/ "skeleton.dtsi" - -&soc { - qcom,spm@f9089000 { - compatible = "qcom,spm-v2"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xf9089000 0x1000>; - qcom,core-id = <0>; - qcom,saw2-ver-reg = <0xfd0>; - qcom,saw2-cfg = <0x01>; - qcom,saw2-avs-ctl = <0>; - qcom,saw2-avs-hysteresis = <0>; - qcom,saw2-avs-limit = <0>; - qcom,saw2-avs-dly= <0>; - qcom,saw2-spm-dly= <0x20000400>; - qcom,saw2-spm-ctl = <0x1>; - qcom,saw2-spm-cmd-wfi = [03 0b 0f]; - qcom,saw2-spm-cmd-ret = [42 1b 00 d0 c0 a0 90 03 d0 98 a2 c0 - 0b 00 42 1b 0f]; - qcom,saw2-spm-cmd-spc = [00 20 80 10 90 a0 b0 03 3b 98 a2 b0 82 - 10 0b 30 06 26 30 0f]; - qcom,saw2-spm-cmd-pc = [00 20 80 10 90 a0 b0 07 3b 98 a2 b0 82 - 10 0b 30 06 26 30 0f]; - }; - - qcom,spm@f9099000 { - compatible = "qcom,spm-v2"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xf9099000 0x1000>; - qcom,core-id = <1>; - qcom,saw2-ver-reg = <0xfd0>; - qcom,saw2-cfg = <0x01>; - qcom,saw2-avs-ctl = <0>; - qcom,saw2-avs-hysteresis = <0>; - qcom,saw2-avs-limit = <0>; - qcom,saw2-avs-dly= <0>; - qcom,saw2-spm-dly= <0x20000400>; - qcom,saw2-spm-ctl = <0x1>; - qcom,saw2-spm-cmd-wfi = [03 0b 0f]; - qcom,saw2-spm-cmd-ret = [42 1b 00 d0 c0 a0 90 03 d0 98 a2 c0 - 0b 00 42 1b 0f]; - qcom,saw2-spm-cmd-spc = [00 20 80 10 90 a0 b0 03 3b 98 a2 b0 82 - 10 0b 30 06 26 30 0f]; - qcom,saw2-spm-cmd-pc = [00 20 80 10 90 a0 b0 07 3b 98 a2 b0 82 - 10 0b 30 06 26 30 0f]; - }; - - qcom,spm@f90a9000 { - compatible = "qcom,spm-v2"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xf90a9000 0x1000>; - qcom,core-id = <2>; - qcom,saw2-ver-reg = <0xfd0>; - qcom,saw2-cfg = <0x01>; - qcom,saw2-avs-ctl = <0>; - qcom,saw2-avs-hysteresis = <0>; - qcom,saw2-avs-limit = <0>; - qcom,saw2-avs-dly= <0>; - qcom,saw2-spm-dly= <0x20000400>; - qcom,saw2-spm-ctl = <0x1>; - qcom,saw2-spm-cmd-wfi = [03 0b 0f]; - qcom,saw2-spm-cmd-ret = [42 1b 00 d0 c0 a0 90 03 d0 98 a2 c0 - 0b 00 42 1b 0f]; - qcom,saw2-spm-cmd-spc = [00 20 80 10 90 a0 b0 03 3b 98 a2 b0 82 - 10 0b 30 06 26 30 0f]; - qcom,saw2-spm-cmd-pc = [00 20 80 10 90 a0 b0 07 3b 98 a2 b0 82 - 10 0b 30 06 26 30 0f]; - }; - - qcom,spm@f90b9000 { - compatible = "qcom,spm-v2"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xf90b9000 0x1000>; - qcom,core-id = <3>; - qcom,saw2-ver-reg = <0xfd0>; - qcom,saw2-cfg = <0x01>; - qcom,saw2-avs-ctl = <0>; - qcom,saw2-avs-hysteresis = <0>; - qcom,saw2-avs-limit = <0>; - qcom,saw2-avs-dly= <0>; - qcom,saw2-spm-dly= <0x20000400>; - qcom,saw2-spm-ctl = <0x1>; - qcom,saw2-spm-cmd-wfi = [03 0b 0f]; - qcom,saw2-spm-cmd-ret = [42 1b 00 d0 c0 a0 90 03 d0 98 a2 c0 - 0b 00 42 1b 0f]; - qcom,saw2-spm-cmd-spc = [00 20 80 10 90 a0 b0 03 3b 98 a2 b0 82 - 10 0b 30 06 26 30 0f]; - qcom,saw2-spm-cmd-pc = [00 20 80 10 90 a0 b0 07 3b 98 a2 b0 82 - 10 0b 30 06 26 30 0f]; - }; - - qcom,spm@f9012000 { - compatible = "qcom,spm-v2"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xf9012000 0x1000>; - qcom,core-id = <0xffff>; /* L2/APCS SAW */ - qcom,saw2-ver-reg = <0xfd0>; - qcom,saw2-cfg = <0x14>; - qcom,saw2-avs-ctl = <0>; - qcom,saw2-avs-hysteresis = <0>; - qcom,saw2-avs-limit = <0>; - qcom,saw2-avs-dly= <0>; - qcom,saw2-spm-dly= <0x20000400>; - qcom,saw2-spm-ctl = <0x1>; - qcom,saw2-pmic-data0 = <0x02030080>; - qcom,saw2-pmic-data1 = <0x00030000>; - qcom,vctl-timeout-us = <50>; - qcom,vctl-port = <0x0>; - qcom,phase-port = <0x1>; - qcom,pfm-port = <0x2>; - qcom,saw2-spm-cmd-ret = [1f 00 20 03 22 00 0f]; - qcom,saw2-spm-cmd-gdhs = [00 20 32 42 07 44 22 50 02 32 50 0f]; - qcom,saw2-spm-cmd-pc = [00 10 32 b0 11 42 07 01 b0 12 44 - 50 02 32 50 0f]; - }; - - qcom,lpm-resources { - compatible = "qcom,lpm-resources"; - #address-cells = <1>; - #size-cells = <0>; - - qcom,lpm-resources@0 { - reg = <0x0>; - qcom,name = "vdd-dig"; - qcom,type = <0x62706d73>; /* "smpb" */ - qcom,id = <0x02>; - qcom,key = <0x6e726f63>; /* "corn" */ - qcom,init-value = <6>; /* Super Turbo */ - }; - - qcom,lpm-resources@1 { - reg = <0x1>; - qcom,name = "vdd-mem"; - qcom,type = <0x62706d73>; /* "smpb" */ - qcom,id = <0x01>; - qcom,key = <0x7675>; /* "uv" */ - qcom,init-value = <1050000>; /* Super Turbo */ - }; - - qcom,lpm-resources@2 { - reg = <0x2>; - qcom,name = "pxo"; - qcom,type = <0x306b6c63>; /* "clk0" */ - qcom,id = <0x00>; - qcom,key = <0x62616e45>; /* "Enab" */ - qcom,init-value = "xo_on"; - }; - - qcom,lpm-resources@3 { - reg = <0x3>; - qcom,name = "l2"; - qcom,local-resource-type; - qcom,init-value = "l2_cache_retention"; - }; - }; - - qcom,lpm-levels { - compatible = "qcom,lpm-levels"; - #address-cells = <1>; - #size-cells = <0>; - - qcom,use-qtimer; - - qcom,lpm-level@0 { - reg = <0x0>; - qcom,mode = "wfi"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_active"; - qcom,vdd-mem-upper-bound = <1050000>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <950000>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <1>; - qcom,ss-power = <784>; - qcom,energy-overhead = <190000>; - qcom,time-overhead = <100>; - }; - - qcom,lpm-level@1 { - reg = <0x1>; - qcom,mode = "retention"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_active"; - qcom,vdd-mem-upper-bound = <1050000>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <950000>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <75>; - qcom,ss-power = <735>; - qcom,energy-overhead = <77341>; - qcom,time-overhead = <105>; - }; - - - qcom,lpm-level@2 { - reg = <0x2>; - qcom,mode = "standalone_pc"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_active"; - qcom,vdd-mem-upper-bound = <1050000>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <950000>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <95>; - qcom,ss-power = <725>; - qcom,energy-overhead = <99500>; - qcom,time-overhead = <130>; - }; - - qcom,lpm-level@3 { - reg = <0x3>; - qcom,mode = "pc"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_gdhs"; - qcom,vdd-mem-upper-bound = <1050000>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <950000>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <2000>; - qcom,ss-power = <138>; - qcom,energy-overhead = <1208400>; - qcom,time-overhead = <3200>; - }; - - qcom,lpm-level@4 { - reg = <0x4>; - qcom,mode = "pc"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_pc"; - qcom,vdd-mem-upper-bound = <1050000>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <950000>; /* SVS SOC */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <3>; /* SVS SOC */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <3000>; - qcom,ss-power = <110>; - qcom,energy-overhead = <1250300>; - qcom,time-overhead = <3500>; - }; - - qcom,lpm-level@5 { - reg = <0x5>; - qcom,mode = "pc"; - qcom,xo = "xo_off"; - qcom,l2 = "l2_cache_gdhs"; - qcom,vdd-mem-upper-bound = <1050000>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <950000>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,latency-us = <3000>; - qcom,ss-power = <68>; - qcom,energy-overhead = <1350200>; - qcom,time-overhead = <4000>; - }; - - qcom,lpm-level@6 { - reg = <0x6>; - qcom,mode = "pc"; - qcom,xo = "xo_off"; - qcom,l2 = "l2_cache_pc"; - qcom,vdd-mem-upper-bound = <1050000>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <950000>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,latency-us = <10300>; - qcom,ss-power = <63>; - qcom,energy-overhead = <2128000>; - qcom,time-overhead = <18200>; - }; - - qcom,lpm-level@7 { - reg = <0x7>; - qcom,mode= "pc"; - qcom,xo = "xo_off"; - qcom,l2 = "l2_cache_pc"; - qcom,vdd-mem-upper-bound = <950000>; /* NORMAL */ - qcom,vdd-mem-lower-bound = <950000>; /* SVS SOC */ - qcom,vdd-dig-upper-bound = <4>; /* NORMAL */ - qcom,vdd-dig-lower-bound = <3>; /* SVS SOC */ - qcom,latency-us = <18000>; - qcom,ss-power = <10>; - qcom,energy-overhead = <3202600>; - qcom,time-overhead = <27000>; - }; - - qcom,lpm-level@8 { - reg = <0x8>; - qcom,mode= "pc"; - qcom,xo = "xo_off"; - qcom,l2 = "l2_cache_pc"; - qcom,vdd-mem-upper-bound = <950000>; /* SVS SOC */ - qcom,vdd-mem-lower-bound = <675000>; /* RETENTION */ - qcom,vdd-dig-upper-bound = <3>; /* SVS SOC */ - qcom,vdd-dig-lower-bound = <1>; /* RETENTION */ - qcom,latency-us = <20000>; - qcom,ss-power = <2>; - qcom,energy-overhead = <4252000>; - qcom,time-overhead = <32000>; - }; - }; - - qcom,pm-boot { - compatible = "qcom,pm-boot"; - qcom,mode = "tz"; - }; - - qcom,mpm@fc4281d0 { - compatible = "qcom,mpm-v2"; - reg = <0xfc4281d0 0x1000>, /* MSM_RPM_MPM_BASE 4K */ - <0xf9011008 0x4>; /* MSM_APCS_GCC_BASE 4K */ - reg-names = "vmpm", "ipc"; - interrupts = <0 171 1>; - - qcom,ipc-bit-offset = <1>; - - qcom,gic-parent = <&intc>; - qcom,gic-map = <2 216>, /* tsens_upper_lower_int */ - <47 165>, /* usb30_hs_phy_irq */ - <50 172>, /* usb1_hs_async_wakeup_irq */ - <53 104>, /* mdss_irq */ - <62 222>, /* ee0_krait_hlos_spmi_periph_irq */ - <0xff 57>, /* mss_to_apps_irq(0) */ - <0xff 58>, /* mss_to_apps_irq(1) */ - <0xff 59>, /* mss_to_apps_irq(2) */ - <0xff 60>, /* mss_to_apps_irq(3) */ - <0xff 173>, /* o_wcss_apss_smd_hi */ - <0xff 174>, /* o_wcss_apss_smd_med */ - <0xff 175>, /* o_wcss_apss_smd_low */ - <0xff 176>, /* o_wcss_apss_smsm_irq */ - <0xff 177>, /* o_wcss_apss_wlan_data_xfer_done */ - <0xff 178>, /* o_wcss_apss_wlan_rx_data_avail */ - <0xff 179>, /* o_wcss_apss_asic_intr - - <0xff 188>, /* lpass_irq_out_apcs(0) */ - <0xff 189>, /* lpass_irq_out_apcs(1) */ - <0xff 190>, /* lpass_irq_out_apcs(2) */ - <0xff 191>, /* lpass_irq_out_apcs(3) */ - <0xff 192>, /* lpass_irq_out_apcs(4) */ - <0xff 193>, /* lpass_irq_out_apcs(5) */ - <0xff 194>, /* lpass_irq_out_apcs(6) */ - <0xff 195>, /* lpass_irq_out_apcs(7) */ - <0xff 196>, /* lpass_irq_out_apcs(8) */ - <0xff 197>, /* lpass_irq_out_apcs(9) */ - <0xff 200>, /* rpm_ipc(4) */ - <0xff 201>, /* rpm_ipc(5) */ - <0xff 202>, /* rpm_ipc(6) */ - <0xff 203>, /* rpm_ipc(7) */ - <0xff 204>, /* rpm_ipc(24) */ - <0xff 205>, /* rpm_ipc(25) */ - <0xff 206>, /* rpm_ipc(26) */ - <0xff 207>, /* rpm_ipc(27) */ - <0xff 240>; /* summary_irq_kpss */ - - qcom,gpio-parent = <&msmgpio>; - qcom,gpio-map = <3 102>, - <4 1 >, - <5 5 >, - <6 9 >, - <7 18>, - <8 20>, - <9 24>, - <10 27>, - <11 28>, - <12 34>, - <13 35>, - <14 37>, - <15 42>, - <16 44>, - <17 46>, - <18 50>, - <19 54>, - <20 59>, - <21 61>, - <22 62>, - <23 64>, - <24 65>, - <25 66>, - <26 67>, - <27 68>, - <28 71>, - <29 72>, - <30 73>, - <31 74>, - <32 75>, - <33 77>, - <34 79>, - <35 80>, - <36 82>, - <37 86>, - <38 92>, - <39 93>, - <40 95>, - <41 144>; - }; - - qcom,pm-8x60@fe805664 { - compatible = "qcom,pm-8x60"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - reg = <0xfe805664 0x40>; - qcom,pc-mode = "tz_l2_int"; - qcom,use-sync-timer; - }; - - qcom,cpu-sleep-status@f9088008 { - compatible = "qcom,cpu-sleep-status"; - reg = <0xf9088008 0x4>; - qcom,cpu-alias-addr = <0x10000>; - qcom,sleep-status-mask= <0x80000>; - }; - - qcom,rpm-log@fc19dc00 { - compatible = "qcom,rpm-log"; - reg = <0xfc19dc00 0x4000>; - qcom,rpm-addr-phys = <0xfc000000>; - qcom,offset-version = <4>; - qcom,offset-page-buffer-addr = <36>; - qcom,offset-log-len = <40>; - qcom,offset-log-len-mask = <44>; - qcom,offset-page-indices = <56>; - }; - - qcom,rpm-stats@fc19dba0 { - compatible = "qcom,rpm-stats"; - reg = <0xfc19dba0 0x1000>; - reg-names = "phys_addr_base"; - qcom,sleep-stats-version = <2>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8974-v1-rumi.dts b/kernel/arch/arm/boot/dts/m7350-un-v2/msm8974-v1-rumi.dts deleted file mode 100644 index 85aab17b1..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8974-v1-rumi.dts +++ /dev/null @@ -1,24 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/dts-v1/; - -/include/ "msm8974-v1.dtsi" -/include/ "msm8974-rumi.dtsi" - -/ { - model = "Qualcomm MSM 8974 RUMI"; - compatible = "qcom,msm8974-rumi", "qcom,msm8974", "qcom,rumi"; - qcom,msm-id = <126 15 0>, - <185 15 0>, - <186 15 0>; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8974-v1-sim.dts b/kernel/arch/arm/boot/dts/m7350-un-v2/msm8974-v1-sim.dts deleted file mode 100644 index fc9858de7..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8974-v1-sim.dts +++ /dev/null @@ -1,24 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/dts-v1/; - -/include/ "msm8974-v1.dtsi" -/include/ "msm8974-sim.dtsi" - -/ { - model = "Qualcomm MSM 8974 Simulator"; - compatible = "qcom,msm8974-sim", "qcom,msm8974", "qcom,sim"; - qcom,msm-id = <126 16 0>, - <185 16 0>, - <186 16 0>; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8974-v1.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v2/msm8974-v1.dtsi deleted file mode 100644 index caec2dc1b..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8974-v1.dtsi +++ /dev/null @@ -1,134 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/* - * As a general rule, only version-specific property overrides should be placed - * inside this file. However, device definitions should be placed inside the - * msm8974.dtsi file. - */ - -/include/ "msm8974.dtsi" -/include/ "msm8974-v1-iommu.dtsi" -/include/ "msm8974-v1-iommu-domains.dtsi" -/include/ "msm8974-v1-pm.dtsi" - -&soc { - android_usb@fc42b0c8 { - compatible = "qcom,android-usb"; - reg = <0xfc42b0c8 0xc8>; - qcom,android-usb-swfi-latency = <1>; - }; - - qcom,msm-imem@fc42b000 { - compatible = "qcom,msm-imem"; - reg = <0xfc42b000 0x1000>; /* Address and size of IMEM */ - }; -}; - -&tsens { - qcom,calibration-less-mode; -}; - -/* I2C clock frequency overrides */ -&i2c_0 { - qcom,i2c-src-freq = <19200000>; -}; - -&i2c_2 { - qcom,i2c-src-freq = <19200000>; -}; - -/* CoreSight */ -&tmc_etr { - qcom,reset-flush-race; -}; - -&stm { - qcom,write-64bit; -}; - -&mdss_mdp { - qcom,mdss-pingpong-off = <0x00021B00 0x00021C00 0x00021D00>; -}; - -&msm_vidc { - qcom,vidc-cp-map = <0x1000000 0x3f000000>; - qcom,vidc-ns-map = <0x40000000 0x40000000>; - qcom,load-freq-tbl = <979200 410000000>, - <783360 410000000>, - <489600 266670000>, - <244800 133330000>; - qcom,reg-presets = <0x80004 0x1>, - <0x80178 0x00001FFF>, - <0x8017c 0x1FFF1FFF>, - <0x800b0 0x10101001>, - <0x800b4 0x10101010>, - <0x800b8 0x10101010>, - <0x800bc 0x00000010>, - <0x800c0 0x1010100f>, - <0x800c4 0x10101010>, - <0x800c8 0x10101010>, - <0x800cc 0x00000010>, - <0x800d0 0x00001010>, - <0x800d4 0x00001010>, - <0x800f0 0x00000030>, - <0x800d8 0x00000707>, - <0x800dc 0x00000707>, - <0x80124 0x00000001>, - <0xE0020 0x5555556>, - <0xE0024 0x0>; - qcom,bus-ports = <1>; - qcom,enc-ocmem-ab-ib = <0 0>, - <138200 1222000>, - <414700 1222000>, - <940000 2444000>, - <1880000 2444000>, - <3008000 3910400>, - <3760000 4888000>; - qcom,dec-ocmem-ab-ib = <0 0>, - <176900 1556640>, - <456200 1556640>, - <864800 1556640>, - <1729600 3113280>, - <2767360 4981248>, - <3459200 6226560>; - qcom,enc-ddr-ab-ib = <0 0>, - <60000 664950>, - <181000 664950>, - <403000 664950>, - <806000 1329900>, - <1289600 2127840>, - <161200 6400000>; - qcom,dec-ddr-ab-ib = <0 0>, - <110000 909000>, - <268000 909000>, - <505000 909000>, - <1010000 1818000>, - <1616000 2908800>, - <2020000 6400000>; - qcom,iommu-groups = <&venus_domain_ns &venus_domain_cp>; - qcom,iommu-group-buffer-types = <0xfff 0x1ff>; - qcom,buffer-type-tz-usage-table = <0x1 0x1>, - <0x1fe 0x2>; -}; - -&sfpb_spinlock { - status = "disable"; -}; - -&ldrex_spinlock { - status = "ok"; -}; - -&usb_otg { - qcom,hsusb-otg-pnoc-errata-fix; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8974-v2-cdp.dts b/kernel/arch/arm/boot/dts/m7350-un-v2/msm8974-v2-cdp.dts deleted file mode 100644 index 85d478b73..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8974-v2-cdp.dts +++ /dev/null @@ -1,36 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; - -/include/ "msm8974-v2.dtsi" -/include/ "msm8974-cdp.dtsi" - -/ { - model = "Qualcomm MSM 8974v2 CDP"; - compatible = "qcom,msm8974-cdp", "qcom,msm8974", "qcom,cdp"; - qcom,msm-id = <126 1 0x20000>, - <185 1 0x20000>, - <186 1 0x20000>; -}; - -&usb3 { - interrupt-parent = <&usb3>; - interrupts = <0 1>; - #interrupt-cells = <1>; - interrupt-map-mask = <0x0 0xffffffff>; - interrupt-map = <0x0 0 &intc 0 133 0 - 0x0 1 &spmi_bus 0x0 0x0 0x9 0x0>; - interrupt-names = "hs_phy_irq", "pmic_id_irq"; - - qcom,misc-ref = <&pm8941_misc>; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8974-v2-fluid.dts b/kernel/arch/arm/boot/dts/m7350-un-v2/msm8974-v2-fluid.dts deleted file mode 100644 index d83d13048..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8974-v2-fluid.dts +++ /dev/null @@ -1,36 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; - -/include/ "msm8974-v2.dtsi" -/include/ "msm8974-fluid.dtsi" - -/ { - model = "Qualcomm MSM 8974v2 FLUID"; - compatible = "qcom,msm8974-fluid", "qcom,msm8974", "qcom,fluid"; - qcom,msm-id = <126 3 0x20000>, - <185 3 0x20000>, - <186 3 0x20000>; -}; - -&usb3 { - interrupt-parent = <&usb3>; - interrupts = <0 1>; - #interrupt-cells = <1>; - interrupt-map-mask = <0x0 0xffffffff>; - interrupt-map = <0x0 0 &intc 0 133 0 - 0x0 1 &spmi_bus 0x0 0x0 0x9 0x0>; - interrupt-names = "hs_phy_irq", "pmic_id_irq"; - - qcom,misc-ref = <&pm8941_misc>; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8974-v2-iommu-domains.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v2/msm8974-v2-iommu-domains.dtsi deleted file mode 100644 index 01c94d0ec..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8974-v2-iommu-domains.dtsi +++ /dev/null @@ -1,45 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -&soc { - qcom,iommu-domains { - compatible = "qcom,iommu-domains"; - - venus_domain_ns: qcom,iommu-domain1 { - label = "venus_ns"; - qcom,iommu-contexts = <&venus_ns>; - qcom,virtual-addr-pool = <0x5dc00000 0x7f000000 - 0xdcc00000 0x1000000>; - }; - - venus_domain_sec_bitstream: qcom,iommu-domain2 { - label = "venus_sec_bitstream"; - qcom,iommu-contexts = <&venus_sec_bitstream>; - qcom,virtual-addr-pool = <0x4b000000 0x12c00000>; - qcom,secure-domain; - }; - - venus_domain_sec_pixel: qcom,iommu-domain3 { - label = "venus_sec_pixel"; - qcom,iommu-contexts = <&venus_sec_pixel>; - qcom,virtual-addr-pool = <0x25800000 0x25800000>; - qcom,secure-domain; - }; - - venus_domain_sec_non_pixel: qcom,iommu-domain4 { - label = "venus_sec_non_pixel"; - qcom,iommu-contexts = <&venus_sec_non_pixel>; - qcom,virtual-addr-pool = <0x1000000 0x24800000>; - qcom,secure-domain; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8974-v2-iommu.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v2/msm8974-v2-iommu.dtsi deleted file mode 100644 index 03f7e807e..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8974-v2-iommu.dtsi +++ /dev/null @@ -1,256 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/include/ "msm-iommu-v1.dtsi" - -&venus_iommu { - status = "ok"; - vdd-supply = <&gdsc_venus>; - qcom,iommu-enable-halt; - - qcom,iommu-bfb-regs = <0x204c - 0x2050 - 0x2514 - 0x2540 - 0x256c - 0x20ac - 0x215c - 0x220c - 0x2314 - 0x2394 - 0x2414 - 0x2008 - 0x200c - 0x2010 - 0x2014 - 0x2018 - 0x201c - 0x2020 - 0x2024 - 0x2028 - 0x202c - 0x2030 - 0x2034 - 0x2038>; - - qcom,iommu-bfb-data = <0xFFFFFFFF - 0xFFFFFFFF - 0x00000004 - 0x00000008 - 0x00000000 - 0x00013205 - 0x00004000 - 0x00014020 - 0x0 - 0x94 - 0x114 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0>; - - venus_ns: qcom,iommu-ctx@fdc8c000 { - qcom,iommu-ctx-sids = <0 1 2 3 4 5 7>; - }; - - venus_sec_bitstream: qcom,iommu-ctx@fdc8d000 { - qcom,iommu-ctx-sids = <0x80 0x81 0x82 0x83 0x84>; - label = "venus_sec_bitstream"; - }; - - venus_sec_pixel: qcom,iommu-ctx@fdc8f000 { - compatible = "qcom,msm-smmu-v1-ctx"; - reg = <0xfdc8f000 0x1000>; - interrupts = <0 42 0>, <0 43 0>; - qcom,iommu-ctx-sids = <0x85>; - label = "venus_sec_pixel"; - qcom,secure-context; - }; - - venus_sec_non_pixel: qcom,iommu-ctx@fdc90000 { - compatible = "qcom,msm-smmu-v1-ctx"; - reg = <0xfdc90000 0x1000>; - interrupts = <0 42 0>, <0 43 0>; - qcom,iommu-ctx-sids = <0x87 0xA0>; - label = "venus_sec_non_pixel"; - qcom,secure-context; - }; -}; - -&jpeg_iommu { - status = "ok"; - vdd-supply = <&gdsc_jpeg>; - qcom,iommu-enable-halt; - - qcom,iommu-bfb-regs = <0x204c - 0x2050 - 0x2514 - 0x2540 - 0x256c - 0x2314 - 0x2394 - 0x2414 - 0x20ac - 0x215c - 0x220c - 0x2008 - 0x200c - 0x2010 - 0x2014>; - - qcom,iommu-bfb-data = <0x3FFF - 0x00000000 - 0x4 - 0x4 - 0x0 - 0x0 - 0x10 - 0x50 - 0x0 - 0x00002804 - 0x00009614 - 0x0 - 0x0 - 0x0 - 0x0>; -}; - -&mdp_iommu { - status = "ok"; - vdd-supply = <&gdsc_mdss>; - qcom,iommu-enable-halt; - - qcom,iommu-bfb-regs = <0x204c - 0x2050 - 0x2514 - 0x2540 - 0x256c - 0x20ac - 0x215c - 0x220c - 0x2314 - 0x2394 - 0x2414 - 0x2008 - 0x200c - 0x2010 - 0x2014 - 0x2018 - 0x201c - 0x2020>; - - qcom,iommu-bfb-data = <0xFFFFF - 0x00000000 - 0x00000004 - 0x00000010 - 0x00000000 - 0x00006800 - 0x00006221 - 0x00016231 - 0x0 - 0x34 - 0x74 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0>; -}; - -&kgsl_iommu { - status = "ok"; - vdd-supply = <&gdsc_oxili_cx>; - qcom,alt-vdd-supply = <&gdsc_oxili_gx>; - qcom,iommu-enable-halt; - qcom,needs-alt-core-clk; - - qcom,iommu-bfb-regs = <0x204c - 0x2050 - 0x2514 - 0x2540 - 0x256c - 0x20ac - 0x215c - 0x220c - 0x2314 - 0x2394 - 0x2414 - 0x2008>; - - qcom,iommu-bfb-data = <0x00000003 - 0x0 - 0x00000004 - 0x00000010 - 0x00000000 - 0x00000000 - 0x00000000 - 0x00000020 - 0x0 - 0x1 - 0x81 - 0x0>; -}; - -&vfe_iommu { - status = "ok"; - vdd-supply = <&gdsc_vfe>; - qcom,iommu-enable-halt; - - qcom,iommu-bfb-regs = <0x204c - 0x2050 - 0x2514 - 0x2540 - 0x256c - 0x2314 - 0x2394 - 0x2414 - 0x20ac - 0x215c - 0x220c - 0x2008 - 0x200c - 0x2010 - 0x2014 - 0x2018 - 0x201c - 0x2020>; - - qcom,iommu-bfb-data = <0xffffffff - 0x00000000 - 0x4 - 0x8 - 0x0 - 0x0 - 0x20 - 0x78 - 0x0 - 0x00003c08 - 0x0000b41e - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0>; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8974-v2-liquid.dts b/kernel/arch/arm/boot/dts/m7350-un-v2/msm8974-v2-liquid.dts deleted file mode 100644 index 53983dc1c..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8974-v2-liquid.dts +++ /dev/null @@ -1,36 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; - -/include/ "msm8974-v2.dtsi" -/include/ "msm8974-liquid.dtsi" - -/ { - model = "Qualcomm MSM 8974v2 LIQUID"; - compatible = "qcom,msm8974-liquid", "qcom,msm8974", "qcom,liquid"; - qcom,msm-id = <126 9 0x20000>, - <185 9 0x20000>, - <186 9 0x20000>; -}; - -&usb3 { - interrupt-parent = <&usb3>; - interrupts = <0 1>; - #interrupt-cells = <1>; - interrupt-map-mask = <0x0 0xffffffff>; - interrupt-map = <0x0 0 &intc 0 133 0 - 0x0 1 &spmi_bus 0x0 0x0 0x9 0x0>; - interrupt-names = "hs_phy_irq", "pmic_id_irq"; - - qcom,misc-ref = <&pm8941_misc>; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8974-v2-mtp.dts b/kernel/arch/arm/boot/dts/m7350-un-v2/msm8974-v2-mtp.dts deleted file mode 100644 index 792a78cbd..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8974-v2-mtp.dts +++ /dev/null @@ -1,40 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; - -/include/ "msm8974-v2.dtsi" -/include/ "msm8974-mtp.dtsi" - -/ { - model = "Qualcomm MSM 8974v2 MTP"; - compatible = "qcom,msm8974-mtp", "qcom,msm8974", "qcom,mtp"; - qcom,msm-id = <126 8 0x20000>, - <185 8 0x20000>, - <186 8 0x20000>; -}; - -&usb3 { - interrupt-parent = <&usb3>; - interrupts = <0 1>; - #interrupt-cells = <1>; - interrupt-map-mask = <0x0 0xffffffff>; - interrupt-map = <0x0 0 &intc 0 133 0 - 0x0 1 &spmi_bus 0x0 0x0 0x9 0x0>; - interrupt-names = "hs_phy_irq", "pmic_id_irq"; - - qcom,misc-ref = <&pm8941_misc>; -}; - -&pm8941_chg { - qcom,bpd-detection = "bpd_thm"; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8974-v2-pm.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v2/msm8974-v2-pm.dtsi deleted file mode 100644 index 8a46724ae..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8974-v2-pm.dtsi +++ /dev/null @@ -1,452 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/include/ "skeleton.dtsi" - -&soc { - qcom,spm@f9089000 { - compatible = "qcom,spm-v2"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xf9089000 0x1000>; - qcom,core-id = <0>; - qcom,saw2-ver-reg = <0xfd0>; - qcom,saw2-cfg = <0x01>; - qcom,saw2-avs-ctl = <0>; - qcom,saw2-avs-hysteresis = <0>; - qcom,saw2-avs-limit = <0>; - qcom,saw2-avs-dly= <0>; - qcom,saw2-spm-dly= <0x3C102800>; - qcom,saw2-spm-ctl = <0x1>; - qcom,saw2-spm-cmd-wfi = [03 0b 0f]; - qcom,saw2-spm-cmd-ret = [42 1b 00 d0 c0 a0 90 03 d0 98 a2 c0 - 0b 00 42 1b 0f]; - qcom,saw2-spm-cmd-spc = [00 20 80 10 90 a0 b0 03 3b 98 a2 b0 82 - 10 0b 30 06 26 30 0f]; - qcom,saw2-spm-cmd-pc = [00 20 80 10 90 a0 b0 07 3b 98 a2 b0 82 - 10 0b 30 06 26 30 0f]; - }; - - qcom,spm@f9099000 { - compatible = "qcom,spm-v2"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xf9099000 0x1000>; - qcom,core-id = <1>; - qcom,saw2-ver-reg = <0xfd0>; - qcom,saw2-cfg = <0x01>; - qcom,saw2-avs-ctl = <0>; - qcom,saw2-avs-hysteresis = <0>; - qcom,saw2-avs-limit = <0>; - qcom,saw2-avs-dly= <0>; - qcom,saw2-spm-dly= <0x3C102800>; - qcom,saw2-spm-ctl = <0x1>; - qcom,saw2-spm-cmd-wfi = [03 0b 0f]; - qcom,saw2-spm-cmd-ret = [42 1b 00 d0 c0 a0 90 03 d0 98 a2 c0 - 0b 00 42 1b 0f]; - qcom,saw2-spm-cmd-spc = [00 20 80 10 90 a0 b0 03 3b 98 a2 b0 82 - 10 0b 30 06 26 30 0f]; - qcom,saw2-spm-cmd-pc = [00 20 80 10 90 a0 b0 07 3b 98 a2 b0 82 - 10 0b 30 06 26 30 0f]; - }; - - qcom,spm@f90a9000 { - compatible = "qcom,spm-v2"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xf90a9000 0x1000>; - qcom,core-id = <2>; - qcom,saw2-ver-reg = <0xfd0>; - qcom,saw2-cfg = <0x01>; - qcom,saw2-avs-ctl = <0>; - qcom,saw2-avs-hysteresis = <0>; - qcom,saw2-avs-limit = <0>; - qcom,saw2-avs-dly= <0>; - qcom,saw2-spm-dly= <0x3C102800>; - qcom,saw2-spm-ctl = <0x1>; - qcom,saw2-spm-cmd-wfi = [03 0b 0f]; - qcom,saw2-spm-cmd-ret = [42 1b 00 d0 c0 a0 90 03 d0 98 a2 c0 - 0b 00 42 1b 0f]; - qcom,saw2-spm-cmd-spc = [00 20 80 10 90 a0 b0 03 3b 98 a2 b0 82 - 10 0b 30 06 26 30 0f]; - qcom,saw2-spm-cmd-pc = [00 20 80 10 90 a0 b0 07 3b 98 a2 b0 82 - 10 0b 30 06 26 30 0f]; - }; - - qcom,spm@f90b9000 { - compatible = "qcom,spm-v2"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xf90b9000 0x1000>; - qcom,core-id = <3>; - qcom,saw2-ver-reg = <0xfd0>; - qcom,saw2-cfg = <0x01>; - qcom,saw2-avs-ctl = <0>; - qcom,saw2-avs-hysteresis = <0>; - qcom,saw2-avs-limit = <0>; - qcom,saw2-avs-dly= <0>; - qcom,saw2-spm-dly= <0x3C102800>; - qcom,saw2-spm-ctl = <0x1>; - qcom,saw2-spm-cmd-wfi = [03 0b 0f]; - qcom,saw2-spm-cmd-ret = [42 1b 00 d0 c0 a0 90 03 d0 98 a2 c0 - 0b 00 42 1b 0f]; - qcom,saw2-spm-cmd-spc = [00 20 80 10 90 a0 b0 03 3b 98 a2 b0 82 - 10 0b 30 06 26 30 0f]; - qcom,saw2-spm-cmd-pc = [00 20 80 10 90 a0 b0 07 3b 98 a2 b0 82 - 10 0b 30 06 26 30 0f]; - }; - - qcom,spm@f9012000 { - compatible = "qcom,spm-v2"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xf9012000 0x1000>; - qcom,core-id = <0xffff>; /* L2/APCS SAW */ - qcom,saw2-ver-reg = <0xfd0>; - qcom,saw2-cfg = <0x14>; - qcom,saw2-avs-ctl = <0>; - qcom,saw2-avs-hysteresis = <0>; - qcom,saw2-avs-limit = <0>; - qcom,saw2-avs-dly= <0>; - qcom,saw2-spm-dly= <0x3C102800>; - qcom,saw2-spm-ctl = <0x1>; - qcom,saw2-pmic-data0 = <0x02030080>; - qcom,saw2-pmic-data1 = <0x00030000>; - qcom,vctl-timeout-us = <50>; - qcom,vctl-port = <0x0>; - qcom,phase-port = <0x1>; - qcom,pfm-port = <0x2>; - qcom,saw2-spm-cmd-ret = [1f 00 03 00 0f]; - qcom,saw2-spm-cmd-gdhs = [00 32 42 07 44 50 02 32 50 0f]; - qcom,saw2-spm-cmd-pc = [00 32 b0 11 42 07 01 b0 44 - 50 02 32 50 0f]; - }; - - qcom,lpm-resources { - compatible = "qcom,lpm-resources"; - #address-cells = <1>; - #size-cells = <0>; - - qcom,lpm-resources@0 { - reg = <0x0>; - qcom,name = "vdd-dig"; - qcom,type = <0x62706d73>; /* "smpb" */ - qcom,id = <0x02>; - qcom,key = <0x6e726f63>; /* "corn" */ - qcom,init-value = <6>; /* Super Turbo */ - }; - - qcom,lpm-resources@1 { - reg = <0x1>; - qcom,name = "vdd-mem"; - qcom,type = <0x62706d73>; /* "smpb" */ - qcom,id = <0x01>; - qcom,key = <0x7675>; /* "uv" */ - qcom,init-value = <1050000>; /* Super Turbo */ - }; - - qcom,lpm-resources@2 { - reg = <0x2>; - qcom,name = "pxo"; - qcom,type = <0x306b6c63>; /* "clk0" */ - qcom,id = <0x00>; - qcom,key = <0x62616e45>; /* "Enab" */ - qcom,init-value = "xo_on"; - }; - - qcom,lpm-resources@3 { - reg = <0x3>; - qcom,name = "l2"; - qcom,local-resource-type; - qcom,init-value = "l2_cache_retention"; - }; - }; - - qcom,lpm-levels { - compatible = "qcom,lpm-levels"; - #address-cells = <1>; - #size-cells = <0>; - - qcom,use-qtimer; - - qcom,lpm-level@0 { - reg = <0x0>; - qcom,mode = "wfi"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_active"; - qcom,vdd-mem-upper-bound = <1050000>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <950000>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <1>; - qcom,ss-power = <715>; - qcom,energy-overhead = <17700>; - qcom,time-overhead = <2>; - }; - - qcom,lpm-level@1 { - reg = <0x1>; - qcom,mode = "retention"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_active"; - qcom,vdd-mem-upper-bound = <1050000>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <950000>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <35>; - qcom,ss-power = <542>; - qcom,energy-overhead = <34920>; - qcom,time-overhead = <40>; - }; - - - qcom,lpm-level@2 { - reg = <0x2>; - qcom,mode = "standalone_pc"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_active"; - qcom,vdd-mem-upper-bound = <1050000>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <950000>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <300>; - qcom,ss-power = <476>; - qcom,energy-overhead = <225300>; - qcom,time-overhead = <350>; - }; - - qcom,lpm-level@3 { - reg = <0x3>; - qcom,mode = "pc"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_gdhs"; - qcom,vdd-mem-upper-bound = <1050000>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <950000>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <2817>; - qcom,ss-power = <163>; - qcom,energy-overhead = <1577736>; - qcom,time-overhead = <5067>; - }; - - qcom,lpm-level@4 { - reg = <0x4>; - qcom,mode = "pc"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_pc"; - qcom,vdd-mem-upper-bound = <1050000>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <950000>; /* SVS SOC */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <3>; /* SVS SOC */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <3922>; - qcom,ss-power = <83>; - qcom,energy-overhead = <2274420>; - qcom,time-overhead = <6605>; - }; - - qcom,lpm-level@5 { - reg = <0x5>; - qcom,mode = "pc"; - qcom,xo = "xo_off"; - qcom,l2 = "l2_cache_pc"; - qcom,vdd-mem-upper-bound = <1050000>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <950000>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,latency-us = <4922>; - qcom,ss-power = <68>; - qcom,energy-overhead = <2568180>; - qcom,time-overhead = <8812>; - }; - - qcom,lpm-level@6 { - reg = <0x6>; - qcom,mode= "pc"; - qcom,xo = "xo_off"; - qcom,l2 = "l2_cache_pc"; - qcom,vdd-mem-upper-bound = <950000>; /* NORMAL */ - qcom,vdd-mem-lower-bound = <950000>; /* SVS SOC */ - qcom,vdd-dig-upper-bound = <4>; /* NORMAL */ - qcom,vdd-dig-lower-bound = <3>; /* SVS SOC */ - qcom,latency-us = <5890>; - qcom,ss-power = <60>; - qcom,energy-overhead = <2675900>; - qcom,time-overhead = <10140>; - }; - - qcom,lpm-level@7 { - reg = <0x7>; - qcom,mode= "pc"; - qcom,xo = "xo_off"; - qcom,l2 = "l2_cache_pc"; - qcom,vdd-mem-upper-bound = <950000>; /* SVS SOC */ - qcom,vdd-mem-lower-bound = <675000>; /* RETENTION */ - qcom,vdd-dig-upper-bound = <3>; /* SVS SOC */ - qcom,vdd-dig-lower-bound = <1>; /* RETENTION */ - qcom,latency-us = <8500>; - qcom,ss-power = <18>; - qcom,energy-overhead = <3286600>; - qcom,time-overhead = <15760>; - }; - }; - - qcom,pm-boot { - compatible = "qcom,pm-boot"; - qcom,mode = "tz"; - }; - - qcom,mpm@fc4281d0 { - compatible = "qcom,mpm-v2"; - reg = <0xfc4281d0 0x1000>, /* MSM_RPM_MPM_BASE 4K */ - <0xf9011008 0x4>; /* MSM_APCS_GCC_BASE 4K */ - reg-names = "vmpm", "ipc"; - interrupts = <0 171 1>; - - qcom,ipc-bit-offset = <1>; - - qcom,gic-parent = <&intc>; - qcom,gic-map = <2 216>, /* tsens_upper_lower_int */ - <47 165>, /* usb30_hs_phy_irq */ - <50 172>, /* usb1_hs_async_wakeup_irq */ - <53 104>, /* mdss_irq */ - <62 222>, /* ee0_krait_hlos_spmi_periph_irq */ - <0xff 57>, /* mss_to_apps_irq(0) */ - <0xff 58>, /* mss_to_apps_irq(1) */ - <0xff 59>, /* mss_to_apps_irq(2) */ - <0xff 60>, /* mss_to_apps_irq(3) */ - <0xff 173>, /* o_wcss_apss_smd_hi */ - <0xff 174>, /* o_wcss_apss_smd_med */ - <0xff 175>, /* o_wcss_apss_smd_low */ - <0xff 176>, /* o_wcss_apss_smsm_irq */ - <0xff 177>, /* o_wcss_apss_wlan_data_xfer_done */ - <0xff 178>, /* o_wcss_apss_wlan_rx_data_avail */ - <0xff 179>, /* o_wcss_apss_asic_intr - - <0xff 188>, /* lpass_irq_out_apcs(0) */ - <0xff 189>, /* lpass_irq_out_apcs(1) */ - <0xff 190>, /* lpass_irq_out_apcs(2) */ - <0xff 191>, /* lpass_irq_out_apcs(3) */ - <0xff 192>, /* lpass_irq_out_apcs(4) */ - <0xff 193>, /* lpass_irq_out_apcs(5) */ - <0xff 194>, /* lpass_irq_out_apcs(6) */ - <0xff 195>, /* lpass_irq_out_apcs(7) */ - <0xff 196>, /* lpass_irq_out_apcs(8) */ - <0xff 197>, /* lpass_irq_out_apcs(9) */ - <0xff 200>, /* rpm_ipc(4) */ - <0xff 201>, /* rpm_ipc(5) */ - <0xff 202>, /* rpm_ipc(6) */ - <0xff 203>, /* rpm_ipc(7) */ - <0xff 204>, /* rpm_ipc(24) */ - <0xff 205>, /* rpm_ipc(25) */ - <0xff 206>, /* rpm_ipc(26) */ - <0xff 207>, /* rpm_ipc(27) */ - <0xff 240>; /* summary_irq_kpss */ - - qcom,gpio-parent = <&msmgpio>; - qcom,gpio-map = <3 102>, - <4 1 >, - <5 5 >, - <6 9 >, - <7 18>, - <8 20>, - <9 24>, - <10 27>, - <11 28>, - <12 34>, - <13 35>, - <14 37>, - <15 42>, - <16 44>, - <17 46>, - <18 50>, - <19 54>, - <20 59>, - <21 61>, - <22 62>, - <23 64>, - <24 65>, - <25 66>, - <26 67>, - <27 68>, - <28 71>, - <29 72>, - <30 73>, - <31 74>, - <32 75>, - <33 77>, - <34 79>, - <35 80>, - <36 82>, - <37 86>, - <38 92>, - <39 93>, - <40 95>, - <41 144>; - }; - - qcom,pm-8x60@fe805664 { - compatible = "qcom,pm-8x60"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - reg = <0xfe805664 0x40>; - qcom,pc-mode = "tz_l2_int"; - qcom,use-sync-timer; - - qcom,pm-snoc-client { - compatible = "qcom,pm-snoc-client"; - qcom,msm-bus,name = "ocimem_snoc"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,active-only; - qcom,msm-bus,vectors-KBps = - <54 585 0 0>, - <54 585 0 800000>; - }; - }; - - qcom,cpu-sleep-status@f9088008{ - compatible = "qcom,cpu-sleep-status"; - reg = <0xf9088008 0x100>; - qcom,cpu-alias-addr = <0x10000>; - qcom,sleep-status-mask= <0x80000>; - }; - - qcom,rpm-log@fc19dc00 { - compatible = "qcom,rpm-log"; - reg = <0xfc19dc00 0x4000>; - qcom,rpm-addr-phys = <0xfc000000>; - qcom,offset-version = <4>; - qcom,offset-page-buffer-addr = <36>; - qcom,offset-log-len = <40>; - qcom,offset-log-len-mask = <44>; - qcom,offset-page-indices = <56>; - }; - - qcom,rpm-stats@fc19dba0 { - compatible = "qcom,rpm-stats"; - reg = <0xfc19dba0 0x1000>; - reg-names = "phys_addr_base"; - qcom,sleep-stats-version = <2>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8974-v2.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v2/msm8974-v2.dtsi deleted file mode 100644 index 96e78ac28..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8974-v2.dtsi +++ /dev/null @@ -1,138 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/* - * As a general rule, only version-specific property overrides should be placed - * inside this file. However, device definitions should be placed inside the - * msm8974.dtsi file. - */ - -/include/ "msm8974.dtsi" -/include/ "msm8974-v2-iommu.dtsi" -/include/ "msm8974-v2-iommu-domains.dtsi" -/include/ "msm8974-v2-pm.dtsi" - -&soc { - android_usb@fe8050c8 { - compatible = "qcom,android-usb"; - reg = <0xfe8050c8 0xc8>; - qcom,android-usb-swfi-latency = <1>; - }; - - qcom,msm-imem@fe805000 { - compatible = "qcom,msm-imem"; - reg = <0xfe805000 0x1000>; /* Address and size of IMEM */ - }; -}; - -/* GPU overrides */ -&msm_gpu { - /* Updated chip ID */ - qcom,chipid = <0x03030001>; - - /* Updated bus bandwidth requirements */ - qcom,msm-bus,vectors-KBps = - /* Off */ - <26 512 0 0>, <89 604 0 0>, - /* SVS */ - <26 512 0 2400000>, <89 604 0 3000000>, - /* Nominal / SVS */ - <26 512 0 4656000>, <89 604 0 3000000>, - /* Nominal */ - <26 512 0 4656000>, <89 604 0 5120000>, - /* Turbo / Nominal */ - <26 512 0 7464000>, <89 604 0 5120000>, - /* Turbo */ - <26 512 0 7464000>, <89 604 0 6400000>; -}; - -&mdss_mdp { - qcom,vbif-settings = <0x0004 0x00000001>; - - qcom,mdss-wb-off = <0x00011100 0x00011500 - 0x00011900 0x00011D00 0x00012100>; - qcom,mdss-intf-off = <0x00012500 0x00012700 - 0x00012900 0x00012b00>; - qcom,mdss-pingpong-off = <0x00012D00 0x00012E00 0x00012F00>; - qcom,mdss-has-bwc; - qcom,mdss-has-decimation; - qcom,mdss-ad-off = <0x0013100 0x00013300>; -}; - -&mdss_hdmi_tx { - reg = <0xfd922100 0x370>, - <0xfd922500 0x7C>, - <0xfc4b8000 0x60F0>; - reg-names = "core_physical", "phy_physical", "qfprom_physical"; -}; - -&msm_vidc { - qcom,vidc-ns-map = <0x40000000 0x40000000>; - qcom,load-freq-tbl = <979200 465000000>, - <783360 465000000>, - <489600 266670000>, - <244800 133330000>; - qcom,reg-presets = <0x80004 0x1>, - <0x80070 0x11FFF>, - <0x80074 0xA4>, - <0x800A8 0x1FFF>, - <0x80124 0x3>, - <0xE0020 0x5555556>, - <0xE0024 0x0>; - qcom,bus-ports = <1>; - qcom,enc-ocmem-ab-ib = <0 0>, - <138000 1034000>, - <414000 1034000>, - <940000 1034000>, - <1880000 2068000>, - <3008000 3309000>, - <3760000 4136000>, - <4468000 2457000>; - qcom,dec-ocmem-ab-ib = <0 0>, - <176000 519000>, - <456000 519000>, - <864000 519000>, - <1728000 1038000>, - <2766000 1661000>, - <3456000 2076000>, - <3662000 2198000>; - qcom,enc-ddr-ab-ib = <0 0>, - <120000 302000>, - <364000 302000>, - <804000 302000>, - <1608000 604000>, - <2576000 967000>, - <4680000 1404000>, - <49880000 1496000>; - qcom,dec-ddr-ab-ib = <0 0>, - <208000 303000>, - <536000 303000>, - <1012000 303000>, - <2024000 606000>, - <3240000 970000>, - <4048000 1212000>, - <4264000 1279000>; - qcom,iommu-groups = <&venus_domain_ns &venus_domain_sec_bitstream - &venus_domain_sec_pixel &venus_domain_sec_non_pixel>; - qcom,iommu-group-buffer-types = <0xfff 0x91 0x42 0x120>; - qcom,buffer-type-tz-usage-table = <0x91 0x1>, - <0x42 0x2>, - <0x120 0x3>; -}; - -&krait_pdn { - qcom,use-phase-switching; -}; - -&tspp { - vdd_cx-supply = <&pm8841_s2_corner>; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8974.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v2/msm8974.dtsi deleted file mode 100644 index 6f164912e..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/msm8974.dtsi +++ /dev/null @@ -1,1745 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/include/ "skeleton.dtsi" - -/ { - model = "Qualcomm MSM 8974"; - compatible = "qcom,msm8974"; - interrupt-parent = <&intc>; - - aliases { - spi0 = &spi_0; - spi7 = &spi_7; - sdhc1 = &sdhc_1; /* SDC1 eMMC slot */ - sdhc2 = &sdhc_2; /* SDC2 SD card slot */ - sdhc3 = &sdhc_3; /* SDC3 SDIO slot */ - sdhc4 = &sdhc_4; /* SDC4 SDIO slot */ - - /* smdtty devices */ - smd1 = &smdtty_apps_fm; - smd2 = &smdtty_apps_riva_bt_acl; - smd3 = &smdtty_apps_riva_bt_cmd; - smd4 = &smdtty_mbalbridge; - smd5 = &smdtty_apps_riva_ant_cmd; - smd6 = &smdtty_apps_riva_ant_data; - smd7 = &smdtty_data1; - smd11 = &smdtty_data11; - smd21 = &smdtty_data21; - smd27 = &smdtty_gps_nmea; - smd36 = &smdtty_loopback; - }; - - cpus { - #size-cells = <0>; - #address-cells = <1>; - - CPU0: cpu@0 { - device_type = "cpu"; - compatible = "qcom,krait"; - reg = <0x0>; - }; - - CPU1: cpu@1 { - device_type = "cpu"; - compatible = "qcom,krait"; - reg = <0x1>; - }; - - CPU2: cpu@2 { - device_type = "cpu"; - compatible = "qcom,krait"; - reg = <0x2>; - }; - - CPU3: cpu@3 { - device_type = "cpu"; - compatible = "qcom,krait"; - reg = <0x3>; - }; - }; - - memory { - secure_mem: secure_region { - linux,contiguous-region; - reg = <0 0xFC00000>; - label = "secure_mem"; - }; - - adsp_mem: adsp_region { - linux,contiguous-region; - reg = <0 0x2F00000>; - label = "adsp_mem"; - }; - - qsecom_mem: qsecom_region { - linux,contiguous-region; - reg = <0 0x1100000>; - label = "qseecom_mem"; - }; - - }; - - soc: soc { }; -}; - -/include/ "msm8974-camera.dtsi" -/include/ "msm8974-coresight.dtsi" -/include/ "msm-gdsc.dtsi" -/include/ "msm8974-ion.dtsi" -/include/ "msm8974-gpu.dtsi" -/include/ "msm8974-mdss.dtsi" -/include/ "msm8974-smp2p.dtsi" -/include/ "msm8974-bus.dtsi" - -&soc { - #address-cells = <1>; - #size-cells = <1>; - ranges; - - intc: interrupt-controller@F9000000 { - compatible = "qcom,msm-qgic2"; - interrupt-controller; - #interrupt-cells = <3>; - reg = <0xF9000000 0x1000>, - <0xF9002000 0x1000>; - }; - - msmgpio: gpio@fd510000 { - compatible = "qcom,msm-gpio"; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - reg = <0xfd510000 0x4000>; - ngpio = <146>; - interrupts = <0 208 0>; - qcom,direct-connect-irqs = <8>; - }; - - wcd9xxx_intc: wcd9xxx-irq { - compatible = "qcom,wcd9xxx-irq"; - interrupt-controller; - #interrupt-cells = <1>; - interrupt-parent = <&msmgpio>; - interrupts = <72 0>; - interrupt-names = "cdc-int"; - }; - - timer { - compatible = "arm,armv7-timer"; - interrupts = <1 2 0 1 3 0>; - clock-frequency = <19200000>; - }; - - 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 8 0x4>, - <0 7 0x4>; - reg = <0xf9021000 0x1000>, - <0xf9022000 0x1000>; - }; - - frame@f9023000 { - frame-number = <1>; - interrupts = <0 9 0x4>; - reg = <0xf9023000 0x1000>; - status = "disabled"; - }; - - frame@f9024000 { - frame-number = <2>; - interrupts = <0 10 0x4>; - reg = <0xf9024000 0x1000>; - status = "disabled"; - }; - - frame@f9025000 { - frame-number = <3>; - interrupts = <0 11 0x4>; - reg = <0xf9025000 0x1000>; - status = "disabled"; - }; - - frame@f9026000 { - frame-number = <4>; - interrupts = <0 12 0x4>; - reg = <0xf9026000 0x1000>; - status = "disabled"; - }; - - frame@f9027000 { - frame-number = <5>; - interrupts = <0 13 0x4>; - reg = <0xf9027000 0x1000>; - status = "disabled"; - }; - - frame@f9028000 { - frame-number = <6>; - interrupts = <0 14 0x4>; - reg = <0xf9028000 0x1000>; - status = "disabled"; - }; - }; - - - qcom,mpm2-sleep-counter@fc4a3000 { - compatible = "qcom,mpm2-sleep-counter"; - reg = <0xfc4a3000 0x1000>; - clock-frequency = <32768>; - }; - - msm_vidc: qcom,vidc@fdc00000 { - compatible = "qcom,msm-vidc"; - reg = <0xfdc00000 0xff000>; - interrupts = <0 44 0>; - qcom,hfi = "venus"; - qcom,has-ocmem; - qcom,max-hw-load = <1224450>; /* 4k @ 30 + 1080p @ 30*/ - }; - - qcom,vidc { - compatible = "qcom,msm-vidc"; - qcom,hfi = "q6"; - qcom,max-hw-load = <108000>; /* 720p @ 30 */ - }; - - qcom,wfd { - compatible = "qcom,msm-wfd"; - }; - - serial@f991f000 { - compatible = "qcom,msm-lsuart-v14"; - reg = <0xf991f000 0x1000>; - interrupts = <0 109 0>; - status = "disabled"; - }; - - serial@f995e000 { - compatible = "qcom,msm-lsuart-v14"; - reg = <0xf995e000 0x1000>; - interrupts = <0 114 0>; - status = "disabled"; - }; - - serial@f991e000 { - compatible = "qcom,msm-lsuart-v14"; - reg = <0xf991e000 0x1000>; - interrupts = <0 108 0>; - status = "disabled"; - - qcom,msm-bus,name = "serial_uart2"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <86 512 0 0>, - <86 512 500 800>; - }; - - usb_otg: usb@f9a55000 { - compatible = "qcom,hsusb-otg"; - status = "disabled"; - - reg = <0xf9a55000 0x400>; - interrupts = <0 134 0 0 140 0>; - interrupt-names = "core_irq", "async_irq"; - HSUSB_VDDCX-supply = <&pm8841_s2_corner>; - HSUSB_1p8-supply = <&pm8941_l6>; - HSUSB_3p3-supply = <&pm8941_l24>; - qcom,vdd-voltage-level = <1 5 7>; - - 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>; - qcom,hsusb-otg-disable-reset; - - qcom,msm-bus,name = "usb2"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <87 512 0 0>, - <87 512 60000 960000>; - }; - - sdcc1: qcom,sdcc@f9824000 { - cell-index = <1>; /* SDC1 eMMC slot */ - compatible = "qcom,msm-sdcc"; - reg = <0xf9824000 0x800>, - <0xf9824800 0x100>, - <0xf9804000 0x7000>; - reg-names = "core_mem", "dml_mem", "bam_mem"; - interrupts = <0 123 0>, <0 137 0>; - interrupt-names = "core_irq", "bam_irq"; - vdd-supply = <&pm8941_l20>; - vdd-io-supply = <&pm8941_s3>; - - qcom,vdd-always-on; - qcom,vdd-lpm-sup; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <800 500000>; - - qcom,vdd-io-always-on; - qcom,vdd-io-voltage-level = <1800000 1800000>; - qcom,vdd-io-current-level = <250 154000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 20000000 25000000 50000000 100000000 200000000>; - qcom,sup-voltages = <2950 2950>; - qcom,bus-width = <8>; - qcom,nonremovable; - qcom,bus-speed-mode = "HS200_1p8v", "DDR_1p8v"; - - qcom,msm-bus,name = "sdcc1"; - qcom,msm-bus,num-cases = <8>; - 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 800000 1600000>, /* 200 MB/s */ - <78 512 2048000 4096000>; /* Max. bandwidth */ - qcom,bus-bw-vectors-bps = <0 400000 20000000 25000000 50000000 100000000 200000000 4294967295>; - qcom,dat1-mpm-int = <42>; - status = "disable"; - }; - - sdcc2: qcom,sdcc@f98a4000 { - cell-index = <2>; /* SDC2 SD card slot */ - compatible = "qcom,msm-sdcc"; - reg = <0xf98a4000 0x800>, - <0xf98a4800 0x100>, - <0xf9884000 0x7000>; - reg-names = "core_mem", "dml_mem", "bam_mem"; - interrupts = <0 125 0>, <0 220 0>; - interrupt-names = "core_irq", "bam_irq"; - vdd-supply = <&pm8941_l21>; - vdd-io-supply = <&pm8941_l13>; - - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <9000 800000>; - - qcom,vdd-io-voltage-level = <1800000 2950000>; - qcom,vdd-io-current-level = <6 22000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 20000000 25000000 50000000 100000000 200000000>; - qcom,sup-voltages = <2950 2950>; - qcom,bus-width = <4>; - qcom,xpc; - qcom,bus-speed-mode = "SDR12", "SDR25", "SDR50", "DDR50", "SDR104"; - qcom,current-limit = <800>; - - qcom,msm-bus,name = "sdcc2"; - 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 1600000>, /* 200 MB/s */ - <81 512 2048000 4096000>; /* Max. bandwidth */ - qcom,bus-bw-vectors-bps = <0 400000 20000000 25000000 50000000 100000000 200000000 4294967295>; - qcom,dat1-mpm-int = <44>; - status = "disable"; - }; - - sdcc3: qcom,sdcc@f9864000 { - cell-index = <3>; /* SDC3 SDIO slot */ - compatible = "qcom,msm-sdcc"; - reg = <0xf9864000 0x800>, - <0xf9864800 0x100>, - <0xf9844000 0x7000>; - reg-names = "core_mem", "dml_mem", "bam_mem"; - #address-cells = <0>; - interrupt-parent = <&sdcc3>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 127 0 - 1 &intc 0 223 0 - 2 &msmgpio 37 0x8>; - interrupt-names = "core_irq", "bam_irq", "sdiowakeup_irq"; - - gpios = <&msmgpio 40 0>, /* CLK */ - <&msmgpio 39 0>, /* CMD */ - <&msmgpio 38 0>, /* DATA0 */ - <&msmgpio 37 0>, /* DATA1 */ - <&msmgpio 36 0>, /* DATA2 */ - <&msmgpio 35 0>; /* DATA3 */ - qcom,gpio-names = "CLK", "CMD", "DAT0", "DAT1", "DAT2", "DAT3"; - - qcom,clk-rates = <400000 20000000 25000000 50000000 100000000>; - qcom,sup-voltages = <1800 1800>; - qcom,bus-width = <4>; - qcom,bus-speed-mode = "SDR12", "SDR25", "SDR50", "DDR50"; - - qcom,msm-bus,name = "sdcc3"; - 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 1600000>, /* 200 MB/s */ - <79 512 2048000 4096000>; /* Max. bandwidth */ - qcom,bus-bw-vectors-bps = <0 400000 20000000 25000000 50000000 100000000 200000000 4294967295>; - status = "disable"; - }; - - sdcc4: qcom,sdcc@f98e4000 { - cell-index = <4>; /* SDC4 SDIO slot */ - compatible = "qcom,msm-sdcc"; - reg = <0xf98e4000 0x800>, - <0xf98e4800 0x100>, - <0xf98c4000 0x7000>; - reg-names = "core_mem", "dml_mem", "bam_mem"; - #address-cells = <0>; - interrupt-parent = <&sdcc4>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 129 0 - 1 &intc 0 226 0 - 2 &msmgpio 95 0x8>; - interrupt-names = "core_irq", "bam_irq", "sdiowakeup_irq"; - - gpios = <&msmgpio 93 0>, /* CLK */ - <&msmgpio 91 0>, /* CMD */ - <&msmgpio 96 0>, /* DATA0 */ - <&msmgpio 95 0>, /* DATA1 */ - <&msmgpio 94 0>, /* DATA2 */ - <&msmgpio 92 0>; /* DATA3 */ - qcom,gpio-names = "CLK", "CMD", "DAT0", "DAT1", "DAT2", "DAT3"; - - qcom,clk-rates = <400000 20000000 25000000 50000000 100000000>; - qcom,sup-voltages = <1800 1800>; - qcom,bus-width = <4>; - qcom,bus-speed-mode = "SDR12", "SDR25", "SDR50", "DDR50"; - - qcom,msm-bus,name = "sdcc4"; - qcom,msm-bus,num-cases = <8>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = <80 512 0 0>, /* No vote */ - <80 512 1600 3200>, /* 400 KB/s*/ - <80 512 80000 160000>, /* 20 MB/s */ - <80 512 100000 200000>, /* 25 MB/s */ - <80 512 200000 400000>, /* 50 MB/s */ - <80 512 400000 800000>, /* 100 MB/s */ - <80 512 800000 1600000>, /* 200 MB/s */ - <80 512 2048000 4096000>; /* Max. bandwidth */ - qcom,bus-bw-vectors-bps = <0 400000 20000000 25000000 50000000 100000000 200000000 4294967295>; - status = "disable"; - }; - - sdhc_1: sdhci@f9824900 { - qcom,bus-width = <8>; - compatible = "qcom,sdhci-msm"; - reg = <0xf9824900 0x11c>, <0xf9824000 0x800>; - reg-names = "hc_mem", "core_mem"; - interrupts = <0 123 0>, <0 138 0>; - interrupt-names = "hc_irq", "pwr_irq"; - qcom,clk-rates = <400000 20000000 25000000 50000000 100000000 200000000>; - qcom,bus-speed-mode = "HS200_1p8v", "DDR_1p8v"; - qcom,cpu-dma-latency-us = <200>; - - qcom,msm-bus,name = "sdhc1"; - qcom,msm-bus,num-cases = <8>; - 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 800000 1600000>, /* 200 MB/s */ - <78 512 2048000 4096000>; /* Max. bandwidth */ - qcom,bus-bw-vectors-bps = <0 400000 20000000 25000000 50000000 100000000 200000000 4294967295>; - status = "disable"; - }; - - 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"; - - qcom,clk-rates = <400000 20000000 25000000 50000000 100000000 200000000>; - qcom,bus-width = <4>; - qcom,cpu-dma-latency-us = <200>; - - 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 1600000>, /* 200 MB/s */ - <81 512 2048000 4096000>; /* Max. bandwidth */ - qcom,bus-bw-vectors-bps = <0 400000 20000000 25000000 50000000 100000000 200000000 4294967295>; - status = "disable"; - }; - - 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"; - gpios = <&msmgpio 40 0>, /* CLK */ - <&msmgpio 39 0>, /* CMD */ - <&msmgpio 38 0>, /* DATA0 */ - <&msmgpio 37 0>, /* DATA1 */ - <&msmgpio 36 0>, /* DATA2 */ - <&msmgpio 35 0>; /* DATA3 */ - qcom,gpio-names = "CLK", "CMD", "DAT0", "DAT1", "DAT2", "DAT3"; - - qcom,clk-rates = <400000 20000000 25000000 50000000 100000000>; - qcom,bus-width = <4>; - qcom,cpu-dma-latency-us = <200>; - - 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 1600000>, /* 200 MB/s */ - <79 512 2048000 4096000>; /* Max. bandwidth */ - qcom,bus-bw-vectors-bps = <0 400000 20000000 25000000 50000000 100000000 200000000 4294967295>; - status = "disable"; - }; - - sdhc_4: sdhci@f98e4900 { - compatible = "qcom,sdhci-msm"; - reg = <0xf98e4900 0x11c>, <0xf98e4000 0x800>; - reg-names = "hc_mem", "core_mem"; - interrupts = <0 129 0>, <0 227 0>; - interrupt-names = "hc_irq", "pwr_irq"; - gpios = <&msmgpio 93 0>, /* CLK */ - <&msmgpio 91 0>, /* CMD */ - <&msmgpio 96 0>, /* DATA0 */ - <&msmgpio 95 0>, /* DATA1 */ - <&msmgpio 94 0>, /* DATA2 */ - <&msmgpio 92 0>; /* DATA3 */ - qcom,gpio-names = "CLK", "CMD", "DAT0", "DAT1", "DAT2", "DAT3"; - - qcom,clk-rates = <400000 20000000 25000000 50000000 100000000>; - qcom,bus-width = <4>; - qcom,cpu-dma-latency-us = <200>; - - qcom,msm-bus,name = "sdhc4"; - qcom,msm-bus,num-cases = <8>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = <80 512 0 0>, /* No vote */ - <80 512 1600 3200>, /* 400 KB/s*/ - <80 512 80000 160000>, /* 20 MB/s */ - <80 512 100000 200000>, /* 25 MB/s */ - <80 512 200000 400000>, /* 50 MB/s */ - <80 512 400000 800000>, /* 100 MB/s */ - <80 512 800000 1600000>, /* 200 MB/s */ - <80 512 2048000 4096000>; /* Max. bandwidth */ - qcom,bus-bw-vectors-bps = <0 400000 20000000 25000000 50000000 100000000 200000000 4294967295>; - status = "disable"; - }; - - qcom,sps@f9980000 { - compatible = "qcom,msm_sps"; - reg = <0xf9984000 0x15000>, - <0xf9999000 0xb000>; - interrupts = <0 94 0>; - - qcom,bam-dma-res-pipes = <6>; - }; - - spi_7: spi_epm: spi@f9966000 { - compatible = "qcom,spi-qup-v2"; - reg = <0xf9966000 0x1000>; - interrupts = <0 104 0>; - spi-max-frequency = <19200000>; - #address-cells = <1>; - #size-cells = <0>; - gpios = <&msmgpio 56 0>, /* CLK */ - <&msmgpio 54 0>, /* MISO */ - <&msmgpio 53 0>; /* MOSI */ - cs-gpios = <&msmgpio 55 0>; - qcom,master-id = <84>; - }; - - tspp: msm_tspp@f99d8000 { - compatible = "qcom,msm_tspp"; - cell-index = <0>; - reg = <0xf99d8000 0x1000>, /* MSM_TSIF0_PHYS */ - <0xf99d9000 0x1000>, /* MSM_TSIF1_PHYS */ - <0xf99da000 0x1000>, /* MSM_TSPP_PHYS */ - <0xf99c4000 0x14000>; /* MSM_TSPP_BAM_PHYS */ - reg-names = "MSM_TSIF0_PHYS", - "MSM_TSIF1_PHYS", - "MSM_TSPP_PHYS", - "MSM_TSPP_BAM_PHYS"; - interrupts = <0 153 0>, /* TSIF_TSPP_IRQ */ - <0 151 0>, /* TSIF0_IRQ */ - <0 152 0>, /* TSIF1_IRQ */ - <0 154 0>; /* TSIF_BAM_IRQ */ - interrupt-names = "TSIF_TSPP_IRQ", - "TSIF0_IRQ", - "TSIF1_IRQ", - "TSIF_BAM_IRQ"; - qcom,tsif-pclk = "iface_clk"; - qcom,tsif-ref-clk = "ref_clk"; - gpios = <&msmgpio 89 0>, /* TSIF0 CLK */ - <&msmgpio 90 0>, /* TSIF0 EN */ - <&msmgpio 91 0>, /* TSIF0 DATA */ - <&msmgpio 92 0>, /* TSIF0 SYNC */ - <&msmgpio 93 0>, /* TSIF1 CLK */ - <&msmgpio 94 0>, /* TSIF1 EN */ - <&msmgpio 95 0>, /* TSIF1 DATA */ - <&msmgpio 96 0>; /* TSIF1 SYNC */ - qcom,gpio-names = "tsif_clk", - "tsif_en", - "tsif_data", - "tsif_sync", - "tsif_clk", - "tsif_en", - "tsif_data", - "tsif_sync"; - qcom,gpios-func = <1>; - - qcom,msm-bus,name = "tsif"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,active-only = <0>; - 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 */ - }; - - slim_msm: slim@fe12f000 { - cell-index = <1>; - compatible = "qcom,slim-ngd"; - reg = <0xfe12f000 0x35000>, - <0xfe104000 0x20000>; - reg-names = "slimbus_physical", "slimbus_bam_physical"; - interrupts = <0 163 0 0 164 0>; - interrupt-names = "slimbus_irq", "slimbus_bam_irq"; - - taiko_codec { - compatible = "qcom,taiko-slim-pgd"; - elemental-addr = [00 01 A0 00 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>; - - qcom,cdc-reset-gpio = <&msmgpio 63 0>; - - cdc-vdd-buck-supply = <&pm8941_s2>; - qcom,cdc-vdd-buck-voltage = <2150000 2150000>; - qcom,cdc-vdd-buck-current = <650000>; - - cdc-vdd-tx-h-supply = <&pm8941_s3>; - qcom,cdc-vdd-tx-h-voltage = <1800000 1800000>; - qcom,cdc-vdd-tx-h-current = <25000>; - - cdc-vdd-rx-h-supply = <&pm8941_s3>; - qcom,cdc-vdd-rx-h-voltage = <1800000 1800000>; - qcom,cdc-vdd-rx-h-current = <25000>; - - cdc-vddpx-1-supply = <&pm8941_s3>; - qcom,cdc-vddpx-1-voltage = <1800000 1800000>; - qcom,cdc-vddpx-1-current = <10000>; - - cdc-vdd-a-1p2v-supply = <&pm8941_l1>; - qcom,cdc-vdd-a-1p2v-voltage = <1225000 1225000>; - qcom,cdc-vdd-a-1p2v-current = <10000>; - - cdc-vddcx-1-supply = <&pm8941_l1>; - qcom,cdc-vddcx-1-voltage = <1225000 1225000>; - qcom,cdc-vddcx-1-current = <10000>; - - cdc-vddcx-2-supply = <&pm8941_l1>; - qcom,cdc-vddcx-2-voltage = <1225000 1225000>; - qcom,cdc-vddcx-2-current = <10000>; - - 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>; - qcom,cdc-micbias-cfilt2-mv = <2700>; - 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 = "taiko-slim-ifd"; - qcom,cdc-slim-ifd-elemental-addr = [00 00 A0 00 17 02]; - qcom,cdc-dmic-sample-rate = <4800000>; - }; - }; - - sound { - compatible = "qcom,msm8974-audio-taiko"; - qcom,model = "msm8974-taiko-snd-card"; - - qcom,audio-routing = - "RX_BIAS", "MCLK", - "LDO_H", "MCLK", - "AIF4 MAD", "MCLK", - "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"; - - qcom,cdc-mclk-gpios = <&pm8941_gpios 15 0>; - qcom,taiko-mclk-clk-freq = <9600000>; - qcom,prim-auxpcm-gpio-clk = <&msmgpio 65 0>; - qcom,prim-auxpcm-gpio-sync = <&msmgpio 66 0>; - qcom,prim-auxpcm-gpio-din = <&msmgpio 67 0>; - qcom,prim-auxpcm-gpio-dout = <&msmgpio 68 0>; - qcom,prim-auxpcm-gpio-set = "prim-gpio-prim"; - qcom,sec-auxpcm-gpio-clk = <&msmgpio 79 0>; - qcom,sec-auxpcm-gpio-sync = <&msmgpio 80 0>; - qcom,sec-auxpcm-gpio-din = <&msmgpio 81 0>; - qcom,sec-auxpcm-gpio-dout = <&msmgpio 82 0>; - }; - - spmi_bus: qcom,spmi@fc4c0000 { - cell-index = <0>; - 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-ee = <0>; - qcom,pmic-arb-channel = <0>; - }; - - i2c_0: i2c@f9967000 { /* BLSP#11 */ - cell-index = <0>; - compatible = "qcom,i2c-qup"; - reg = <0Xf9967000 0x1000>; - #address-cells = <1>; - #size-cells = <0>; - reg-names = "qup_phys_addr"; - interrupts = <0 105 0>; - interrupt-names = "qup_err_intr"; - qcom,i2c-bus-freq = <100000>; - qcom,i2c-src-freq = <50000000>; - qcom,master-id = <84>; - }; - - i2c_1: i2c@f9923000 { - cell-index = <1>; - compatible = "qcom,i2c-qup"; - reg = <0xf9923000 0x1000>; - #address-cells = <1>; - #size-cells = <0>; - reg-names = "qup_phys_addr"; - interrupts = <0 95 0>; - interrupt-names = "qup_err_intr"; - qcom,i2c-bus-freq = <100000>; - qcom,i2c-src-freq = <19200000>; - qcom,scl-gpio = <&msmgpio 3 0>; - qcom,sda-gpio = <&msmgpio 2 0>; - qcom,master-id = <86>; - status = "disabled"; - }; - - i2c_2: i2c@f9924000 { - cell-index = <2>; - compatible = "qcom,i2c-qup"; - reg = <0xf9924000 0x1000>; - #address-cells = <1>; - #size-cells = <0>; - reg-names = "qup_phys_addr"; - interrupts = <0 96 0>; - interrupt-names = "qup_err_intr"; - qcom,i2c-bus-freq = <100000>; - qcom,i2c-src-freq = <50000000>; - qcom,master-id = <86>; - }; - - spi_0: spi@f9923000 { - compatible = "qcom,spi-qup-v2"; - reg = <0xf9923000 0x1000>; - interrupts = <0 95 0>; - spi-max-frequency = <19200000>; - #address-cells = <1>; - #size-cells = <0>; - gpios = <&msmgpio 3 0>, /* CLK */ - <&msmgpio 1 0>, /* MISO */ - <&msmgpio 0 0>; /* MOSI */ - cs-gpios = <&msmgpio 9 0>; - qcom,master-id = <86>; - }; - - qcom,acpuclk@f9000000 { - compatible = "qcom,acpuclk-8974"; - krait0-supply = <&krait0_vreg>; - krait1-supply = <&krait1_vreg>; - krait2-supply = <&krait2_vreg>; - krait3-supply = <&krait3_vreg>; - krait0_mem-supply = <&pm8841_s1_ao>; - krait1_mem-supply = <&pm8841_s1_ao>; - krait2_mem-supply = <&pm8841_s1_ao>; - krait3_mem-supply = <&pm8841_s1_ao>; - krait0_dig-supply = <&pm8841_s2_corner_ao>; - krait1_dig-supply = <&pm8841_s2_corner_ao>; - krait2_dig-supply = <&pm8841_s2_corner_ao>; - krait3_dig-supply = <&pm8841_s2_corner_ao>; - krait0_hfpll-supply = <&pm8941_l12_ao>; - krait1_hfpll-supply = <&pm8941_l12_ao>; - krait2_hfpll-supply = <&pm8941_l12_ao>; - krait3_hfpll-supply = <&pm8941_l12_ao>; - l2_hfpll-supply = <&pm8941_l12_ao>; - }; - - usb3: qcom,ssusb@f9200000 { - compatible = "qcom,dwc-usb3-msm"; - reg = <0xf9200000 0xfc000>, - <0xfd4ab000 0x4>; - #address-cells = <1>; - #size-cells = <1>; - ranges; - interrupts = <0 133 0>; - interrupt-names = "hs_phy_irq"; - ssusb_vdd_dig-supply = <&pm8841_s2_corner>; - SSUSB_1p8-supply = <&pm8941_l6>; - hsusb_vdd_dig-supply = <&pm8841_s2_corner>; - HSUSB_1p8-supply = <&pm8941_l6>; - HSUSB_3p3-supply = <&pm8941_l24>; - vbus_dwc3-supply = <&pm8941_mvs1>; - qcom,dwc-usb3-msm-dbm-eps = <4>; - qcom,vdd-voltage-level = <1 5 7>; - qcom,dwc-hsphy-init = <0x00D195A4>; - - 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>; - dwc3@f9200000 { - compatible = "synopsys,dwc3"; - reg = <0xf9200000 0xfc000>; - interrupt-parent = <&intc>; - interrupts = <0 131 0>, <0 179 0>; - interrupt-names = "irq", "otg_irq"; - tx-fifo-resize; - }; - }; - - ehci: qcom,ehci-host@f9a55000 { - compatible = "qcom,ehci-host"; - status = "disabled"; - reg = <0xf9a55000 0x400>; - interrupts = <0 134 0>, <0 140 0>; - interrupt-names = "core_irq", "async_irq"; - HSUSB_VDDCX-supply = <&pm8841_s2>; - HSUSB_1p8-supply = <&pm8941_l6>; - HSUSB_3p3-supply = <&pm8941_l24>; - qcom,usb2-enable-hsphy2; - qcom,usb2-power-budget = <500>; - }; - - gdsc_oxili_gx: qcom,gdsc@fd8c4024 { - parent-supply = <&pm8841_s4_corner>; - }; - - qcom,lpass@fe200000 { - compatible = "qcom,pil-q6v5-lpass"; - reg = <0xfe200000 0x00100>, - <0xfd485100 0x00010>, - <0xfc4016c0 0x00004>; - reg-names = "qdsp6_base", "halt_base", "restart_reg"; - vdd_cx-supply = <&pm8841_s2_corner>; - interrupts = <0 162 1>; - - 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>; - - /* GPIO output to lpass */ - qcom,gpio-force-stop = <&smp2pgpio_ssr_smp2p_2_out 0 0>; - }; - - qcom,msm-adsp-loader { - compatible = "qcom,adsp-loader"; - qcom,adsp-state = <0>; - }; - - qcom,msm-audio-ion { - compatible = "qcom,msm-audio-ion"; - }; - - qcom,msm-pcm { - compatible = "qcom,msm-pcm-dsp"; - qcom,msm-pcm-dsp-id = <0>; - }; - - qcom,msm-pcm-low-latency { - compatible = "qcom,msm-pcm-dsp"; - qcom,msm-pcm-dsp-id = <1>; - qcom,msm-pcm-low-latency; - }; - - qcom,msm-pcm-routing { - compatible = "qcom,msm-pcm-routing"; - }; - - qcom,msm-pcm-lpa { - compatible = "qcom,msm-pcm-lpa"; - }; - - qcom,msm-compr-dsp { - compatible = "qcom,msm-compr-dsp"; - }; - - qcom,msm-voip-dsp { - compatible = "qcom,msm-voip-dsp"; - }; - - qcom,msm-pcm-voice { - compatible = "qcom,msm-pcm-voice"; - }; - - qcom,msm-stub-codec { - compatible = "qcom,msm-stub-codec"; - }; - - qcom,msm-dai-fe { - compatible = "qcom,msm-dai-fe"; - }; - - qcom,msm-pcm-afe { - compatible = "qcom,msm-pcm-afe"; - }; - - qcom,msm-dai-q6-hdmi { - compatible = "qcom,msm-dai-q6-hdmi"; - qcom,msm-dai-q6-dev-id = <8>; - }; - - qcom,msm-lsm-client { - compatible = "qcom,msm-lsm-client"; - }; - - qcom,msm-dai-q6 { - compatible = "qcom,msm-dai-q6"; - qcom,msm-dai-q6-sb-0-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <16384>; - }; - - qcom,msm-dai-q6-sb-0-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <16385>; - }; - - qcom,msm-dai-q6-sb-1-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <16386>; - }; - - qcom,msm-dai-q6-sb-1-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <16387>; - }; - - qcom,msm-dai-q6-sb-2-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <16388>; - }; - - qcom,msm-dai-q6-sb-2-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <16389>; - }; - - qcom,msm-dai-q6-sb-3-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <16390>; - }; - - qcom,msm-dai-q6-sb-3-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <16391>; - }; - - qcom,msm-dai-q6-sb-4-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <16392>; - }; - - qcom,msm-dai-q6-sb-4-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <16393>; - }; - - qcom,msm-dai-q6-sb-5-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <16395>; - }; - - qcom,msm-dai-q6-bt-sco-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <12288>; - }; - - qcom,msm-dai-q6-bt-sco-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <12289>; - }; - - qcom,msm-dai-q6-int-fm-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <12292>; - }; - - qcom,msm-dai-q6-int-fm-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <12293>; - }; - - qcom,msm-dai-q6-be-afe-pcm-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <224>; - }; - - qcom,msm-dai-q6-be-afe-pcm-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <225>; - }; - - qcom,msm-dai-q6-afe-proxy-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <241>; - }; - - qcom,msm-dai-q6-afe-proxy-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <240>; - }; - - qcom,msm-dai-q6-incall-record-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <32771>; - }; - - qcom,msm-dai-q6-incall-record-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <32772>; - }; - - qcom,msm-dai-q6-incall-music-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <32773>; - }; - }; - - qcom,msm-auxpcm { - compatible = "qcom,msm-auxpcm-resource"; - qcom,msm-cpudai-auxpcm-clk = "pcm_clk"; - 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-slot = <1>, <1>; - qcom,msm-cpudai-auxpcm-data = <0>, <0>; - qcom,msm-cpudai-auxpcm-pcm-clk-rate = <2048000>, <2048000>; - - qcom,msm-prim-auxpcm-rx { - qcom,msm-auxpcm-dev-id = <4106>; - compatible = "qcom,msm-auxpcm-dev"; - }; - - qcom,msm-prim-auxpcm-tx { - qcom,msm-auxpcm-dev-id = <4107>; - compatible = "qcom,msm-auxpcm-dev"; - }; - - qcom,msm-sec-auxpcm-rx { - qcom,msm-auxpcm-dev-id = <4108>; - compatible = "qcom,msm-auxpcm-dev"; - }; - - qcom,msm-sec-auxpcm-tx { - qcom,msm-auxpcm-dev-id = <4109>; - compatible = "qcom,msm-auxpcm-dev"; - }; - }; - - qcom,msm-dai-mi2s { - compatible = "qcom,msm-dai-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>; - }; - }; - - qcom,msm-pcm-hostless { - compatible = "qcom,msm-pcm-hostless"; - }; - - qcom,msm-ocmem-audio { - compatible = "qcom,msm-ocmem-audio"; - qcom,msm-bus,name = "audio-ocmem"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <11 604 0 0>, - <11 604 32506 32506>; - }; - - qcom,msm-adsp-sensors { - compatible = "qcom,msm-adsp-sensors"; - qcom,src-id = <11>; - qcom,dst-id = <604>; - qcom,ab = <32505856>; - qcom,ib = <32505856>; - }; - - qcom,mss@fc880000 { - compatible = "qcom,pil-q6v5-mss"; - reg = <0xfc880000 0x100>, - <0xfd485000 0x400>, - <0xfc820000 0x020>, - <0xfc401680 0x004>; - reg-names = "qdsp6_base", "halt_base", "rmb_base", - "restart_reg"; - - interrupts = <0 24 1>; - vdd_mss-supply = <&pm8841_s3>; - vdd_cx-supply = <&pm8841_s2_corner>; - vdd_mx-supply = <&pm8841_s1>; - vdd_pll-supply = <&pm8941_l12>; - qcom,vdd_pll = <1800000>; - qcom,firmware-name = "mba"; - qcom,pil-self-auth; - - /* 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>; - }; - - qcom,pronto@fb21b000 { - compatible = "qcom,pil-pronto"; - reg = <0xfb21b000 0x3000>, - <0xfc401700 0x4>, - <0xfd485300 0xc>; - reg-names = "pmu_base", "clk_base", "halt_base"; - interrupts = <0 149 1>; - vdd_pronto_pll-supply = <&pm8941_l12>; - - qcom,firmware-name = "wcnss"; - - /* GPIO inputs from wcnss */ - qcom,gpio-err-fatal = <&smp2pgpio_ssr_smp2p_4_in 0 0>; - qcom,gpio-err-ready = <&smp2pgpio_ssr_smp2p_4_in 1 0>; - qcom,gpio-proxy-unvote = <&smp2pgpio_ssr_smp2p_4_in 2 0>; - - /* GPIO output to wcnss */ - qcom,gpio-force-stop = <&smp2pgpio_ssr_smp2p_4_out 0 0>; - }; - - qcom,iris-fm { - compatible = "qcom,iris_fm"; - }; - - qcom,wcnss-wlan@fb000000 { - compatible = "qcom,wcnss_wlan"; - reg = <0xfb000000 0x280000>, - <0xf9011008 0x04>; - reg-names = "wcnss_mmio", "wcnss_fiq"; - interrupts = <0 145 0 0 146 0>; - interrupt-names = "wcnss_wlantx_irq", "wcnss_wlanrx_irq"; - - qcom,pronto-vddmx-supply = <&pm8841_s1>; - qcom,pronto-vddcx-supply = <&pm8841_s2>; - qcom,pronto-vddpx-supply = <&pm8941_s3>; - qcom,iris-vddxo-supply = <&pm8941_l6>; - qcom,iris-vddrfa-supply = <&pm8941_l11>; - qcom,iris-vddpa-supply = <&pm8941_l19>; - qcom,iris-vdddig-supply = <&pm8941_l3>; - - gpios = <&msmgpio 36 0>, <&msmgpio 37 0>, <&msmgpio 38 0>, <&msmgpio 39 0>, <&msmgpio 40 0>; - qcom,has-48mhz-xo; - qcom,has-pronto-hw; - }; - - qcom,ocmem@fdd00000 { - compatible = "qcom,msm-ocmem"; - reg = <0xfdd00000 0x2000>, - <0xfdd02000 0x2000>, - <0xfe039000 0x400>, - <0xfec00000 0x180000>; - 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 = <0x3>; - qcom,ocmem-num-macros = <0x18>; - qcom,resource-type = <0x706d636f>; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0x0 0xfec00000 0x180000>; - - partition@0 { - reg = <0x0 0x100000>; - qcom,ocmem-part-name = "graphics"; - qcom,ocmem-part-min = <0x80000>; - }; - - partition@80000 { - reg = <0x100000 0x80000>; - qcom,ocmem-part-name = "lp_audio"; - qcom,ocmem-part-min = <0x80000>; - }; - - partition@100000 { - reg = <0x100000 0x80000>; - qcom,ocmem-part-name = "video"; - qcom,ocmem-part-min = <0x55000>; - }; - - }; - - 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>; - }; - - qseecom: qcom,qseecom@7f00000 { - compatible = "qcom,qseecom"; - reg = <0x7f00000 0x500000>; - reg-names = "secapp-region"; - qcom,disk-encrypt-pipe-pair = <2>; - qcom,hlos-ce-hw-instance = <1>; - 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,msm-bus,vectors-KBps = - <55 512 0 0>, - <55 512 3936000 393600>, - <55 512 3936000 393600>, - <55 512 3936000 393600>; - }; - - qcom,wdt@f9017000 { - compatible = "qcom,msm-watchdog"; - reg = <0xf9017000 0x1000>; - interrupts = <0 3 0>, <0 4 0>; - qcom,bark-time = <11000>; - qcom,pet-time = <10000>; - qcom,ipi-ping; - }; - - qcom,tz-log@fe805720 { - compatible = "qcom,tz-log"; - reg = <0xfe805720 0x1000>; - }; - - qcom,venus@fdce0000 { - compatible = "qcom,pil-venus"; - reg = <0xfdce0000 0x4000>, - <0xfdc80000 0x400>; - reg-names = "wrapper_base", "vbif_base"; - vdd-supply = <&gdsc_venus>; - - qcom,firmware-name = "venus"; - }; - - qcom,cache_erp@f9012000 { - reg = <0xf9012000 0x80>, - <0xf9089000 0x80>, - <0xf9099000 0x80>, - <0xf90a9000 0x80>, - <0xf90b9000 0x80>, - <0xf9088000 0x40>, - <0xf9098000 0x40>, - <0xf90a8000 0x40>, - <0xf90b8000 0x40>; - - reg-names = "l2_saw", - "krait0_saw", - "krait1_saw", - "krait2_saw", - "krait3_saw", - "krait0_acs", - "krait1_acs", - "krait2_acs", - "krait3_acs"; - - compatible = "qcom,cache_erp"; - interrupts = <1 9 0>, <0 2 0>; - interrupt-names = "l1_irq", "l2_irq"; - }; - - qcom,cache_dump { - compatible = "qcom,cache_dump"; - qcom,l1-dump-size = <0x100000>; - qcom,l2-dump-size = <0x500000>; - qcom,memory-reservation-type = "EBI1"; - qcom,memory-reservation-size = <0x600000>; /* 6M EBI1 buffer */ - }; - - tsens: tsens@fc4a8000 { - compatible = "qcom,msm-tsens"; - reg = <0xfc4a8000 0x2000>, - <0xfc4b8000 0x1000>; - reg-names = "tsens_physical", "tsens_eeprom_physical"; - interrupts = <0 184 0>; - qcom,sensors = <11>; - qcom,slope = <3200 3200 3200 3200 3200 3200 3200 3200 3200 - 3200 3200>; - qcom,calib-mode = "fuse_map1"; - }; - - qcom,msm-rtb { - compatible = "qcom,msm-rtb"; - qcom,memory-reservation-type = "EBI1"; - qcom,memory-reservation-size = <0x100000>; /* 1M EBI1 buffer */ - }; - - qcom,msm-contig-mem { - compatible = "qcom,msm-contig-mem"; - qcom,memory-reservation-type = "EBI1"; - qcom,memory-reservation-size = <0x280000>; /* 2.5M EBI1 buffer */ - }; - - qcom,qcedev@fd440000 { - compatible = "qcom,qcedev"; - reg = <0xfd440000 0x20000>, - <0xfd444000 0x8000>; - reg-names = "crypto-base","crypto-bam-base"; - interrupts = <0 236 0>; - qcom,bam-pipe-pair = <1>; - qcom,ce-hw-instance = <1>; - qcom,msm-bus,name = "qcedev-noc"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <56 512 0 0>, - <56 512 3936000 393600>; - }; - - qcom,qcrypto@fd444000 { - compatible = "qcom,qcrypto"; - reg = <0xfd440000 0x20000>, - <0xfd444000 0x8000>; - reg-names = "crypto-base","crypto-bam-base"; - interrupts = <0 236 0>; - qcom,bam-pipe-pair = <2>; - qcom,ce-hw-instance = <1>; - qcom,msm-bus,name = "qcrypto-noc"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <56 512 0 0>, - <56 512 3936000 393600>; - }; - - qcom,usbbam@f9304000 { - compatible = "qcom,usb-bam-msm"; - reg = <0xf9304000 0x5000>, - <0xf9a44000 0x11000>, - <0xf92f880c 0x4>; - reg-names = "ssusb", "hsusb", "qscratch_ram1_reg"; - interrupts = <0 132 0 0 135 0>; - interrupt-names = "ssusb", "hsusb"; - qcom,usb-bam-num-pipes = <16>; - qcom,usb-bam-fifo-baseaddr = <0xf9200000>; - qcom,ignore-core-reset-ack; - qcom,disable-clk-gating; - - qcom,pipe0 { - 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; - }; - - qcom,pipe1 { - label = "hsusb-qdss-in-0"; - qcom,usb-bam-mem-type = <1>; - qcom,bam-type = <1>; - 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 = <0xf9a44000>; - qcom,dst-bam-pipe-index = <2>; - qcom,data-fifo-offset = <0xf4000>; - qcom,data-fifo-size = <0x1000>; - qcom,descriptor-fifo-offset = <0xf5000>; - qcom,descriptor-fifo-size = <0x400>; - }; - }; - - qcom,msm-thermal { - compatible = "qcom,msm-thermal"; - qcom,sensor-id = <5>; - qcom,poll-ms = <250>; - qcom,limit-temp = <60>; - qcom,temp-hysteresis = <10>; - qcom,freq-step = <2>; - qcom,freq-control-mask = <0xf>; - qcom,core-limit-temp = <80>; - qcom,core-temp-hysteresis = <10>; - qcom,core-control-mask = <0xe>; - qcom,vdd-restriction-temp = <5>; - qcom,vdd-restriction-temp-hysteresis = <10>; - qcom,pmic-sw-mode-temp = <85>; - qcom,pmic-sw-mode-temp-hysteresis = <75>; - qcom,pmic-sw-mode-regs = "vdd_dig"; - vdd_dig-supply = <&pm8841_s2_floor_corner>; - vdd_gfx-supply = <&pm8841_s4_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 */ - }; - - qcom,vdd-apps-rstr{ - qcom,vdd-rstr-reg = "vdd_apps"; - qcom,levels = <1881600 1958400 2265600>; - qcom,freq-req; - }; - }; - - qcom,bam_dmux@fc834000 { - compatible = "qcom,bam_dmux"; - reg = <0xfc834000 0x7000>; - interrupts = <0 29 1>; - qcom,rx-ring-size = <64>; - }; - - memory_hole: qcom,msm-mem-hole { - compatible = "qcom,msm-mem-hole"; - qcom,memblock-remove = <0x7f00000 0x8000000>; /* Address and Size of Hole */ - }; - - uart7: uart@f995d000 { /*BLSP #2, UART #7 */ - compatible = "qcom,msm-hsuart-v14"; - status = "disabled"; - reg = <0xf995d000 0x1000>, - <0xf9944000 0x19000>; - reg-names = "core_mem", "bam_mem"; - interrupts = <0 113 0>, <0 239 0>; - interrupt-names = "core_irq", "bam_irq"; - - qcom,bam-tx-ep-pipe-index = <0>; - qcom,bam-rx-ep-pipe-index = <1>; - qcom,msm-bus,name = "uart7"; - 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,smem@fa00000 { - compatible = "qcom,smem"; - reg = <0xfa00000 0x200000>, - <0xf9011000 0x1000>, - <0xfc428000 0x4000>; - reg-names = "smem", "irq-reg-base", "aux-mem1"; - - qcom,smd-modem { - compatible = "qcom,smd"; - qcom,smd-edge = <0>; - qcom,smd-irq-offset = <0x8>; - qcom,smd-irq-bitmask = <0x1000>; - qcom,pil-string = "modem"; - interrupts = <0 25 1>; - }; - - qcom,smsm-modem { - compatible = "qcom,smsm"; - qcom,smsm-edge = <0>; - qcom,smsm-irq-offset = <0x8>; - qcom,smsm-irq-bitmask = <0x2000>; - interrupts = <0 26 1>; - }; - - qcom,smd-adsp { - compatible = "qcom,smd"; - qcom,smd-edge = <1>; - qcom,smd-irq-offset = <0x8>; - qcom,smd-irq-bitmask = <0x100>; - qcom,pil-string = "adsp"; - interrupts = <0 156 1>; - }; - - qcom,smsm-adsp { - compatible = "qcom,smsm"; - qcom,smsm-edge = <1>; - qcom,smsm-irq-offset = <0x8>; - qcom,smsm-irq-bitmask = <0x200>; - interrupts = <0 157 1>; - }; - - qcom,smd-wcnss { - compatible = "qcom,smd"; - qcom,smd-edge = <6>; - qcom,smd-irq-offset = <0x8>; - qcom,smd-irq-bitmask = <0x20000>; - qcom,pil-string = "wcnss"; - interrupts = <0 142 1>; - }; - - qcom,smsm-wcnss { - compatible = "qcom,smsm"; - qcom,smsm-edge = <6>; - qcom,smsm-irq-offset = <0x8>; - qcom,smsm-irq-bitmask = <0x80000>; - interrupts = <0 144 1>; - }; - - qcom,smd-rpm { - compatible = "qcom,smd"; - qcom,smd-edge = <15>; - qcom,smd-irq-offset = <0x8>; - qcom,smd-irq-bitmask = <0x1>; - interrupts = <0 168 1>; - qcom,irq-no-suspend; - }; - }; - - qcom,bcl { - compatible = "qcom,bcl"; - }; - - qcom,ssm { - compatible = "qcom,ssm"; - qcom,channel-name = "SSM_RTR"; - }; - - sfpb_spinlock: qcom,ipc-spinlock@fd484000 { - compatible = "qcom,ipc-spinlock-sfpb"; - reg = <0xfd484000 0x400>; - qcom,num-locks = <8>; - }; - - ldrex_spinlock: qcom,ipc-spinlock@fa00000 { - compatible = "qcom,ipc-spinlock-ldrex"; - reg = <0xfa00000 0x200000>; - status = "disable"; - }; - - cpu-pmu { - compatible = "qcom,krait-pmu"; - qcom,irq-is-percpu; - interrupts = <1 7 0xf00>; - }; - - l2-pmu { - compatible = "qcom,l2-pmu"; - interrupts = <0 1 0>; - }; - - qcom,smdtty { - compatible = "qcom,smdtty"; - - smdtty_apps_fm: qcom,smdtty-apps-fm { - qcom,smdtty-remote = "wcnss"; - qcom,smdtty-port-name = "APPS_FM"; - }; - - smdtty_apps_riva_bt_acl: smdtty-apps-riva-bt-acl { - qcom,smdtty-remote = "wcnss"; - qcom,smdtty-port-name = "APPS_RIVA_BT_ACL"; - }; - - smdtty_apps_riva_bt_cmd: qcom,smdtty-apps-riva-bt-cmd { - qcom,smdtty-remote = "wcnss"; - qcom,smdtty-port-name = "APPS_RIVA_BT_CMD"; - }; - - smdtty_mbalbridge: qcom,smdtty-mbalbridge { - qcom,smdtty-remote = "modem"; - qcom,smdtty-port-name = "MBALBRIDGE"; - }; - - smdtty_apps_riva_ant_cmd: smdtty-apps-riva-ant-cmd { - qcom,smdtty-remote = "wcnss"; - qcom,smdtty-port-name = "APPS_RIVA_ANT_CMD"; - }; - - smdtty_apps_riva_ant_data: smdtty-apps-riva-ant-data { - qcom,smdtty-remote = "wcnss"; - qcom,smdtty-port-name = "APPS_RIVA_ANT_DATA"; - }; - - smdtty_data1: qcom,smdtty-data1 { - qcom,smdtty-remote = "modem"; - qcom,smdtty-port-name = "DATA1"; - }; - - smdtty_data11: qcom,smdtty-data11 { - qcom,smdtty-remote = "modem"; - qcom,smdtty-port-name = "DATA11"; - }; - - smdtty_data21: qcom,smdtty-data21 { - qcom,smdtty-remote = "modem"; - qcom,smdtty-port-name = "DATA21"; - }; - - smdtty_gps_nmea: smdtty-gpsnmea { - qcom,smdtty-remote = "modem"; - qcom,smdtty-port-name = "GPSNMEA"; - }; - - smdtty_loopback: smdtty-loopback { - qcom,smdtty-remote = "modem"; - qcom,smdtty-port-name = "LOOPBACK"; - qcom,smdtty-dev-name = "LOOPBACK_TTY"; - }; - }; -}; - -&gdsc_venus { - qcom,clock-names = "core_clk"; - qcom,skip-logic-collapse; - status = "ok"; -}; - -&gdsc_mdss { - qcom,clock-names = "core_clk", "lut_clk"; - qcom,retain-periph; - status = "ok"; -}; - -&gdsc_jpeg { - qcom,clock-names = "core0_clk", "core1_clk", "core2_clk"; - status = "ok"; -}; - -&gdsc_vfe { - qcom,clock-names = "core0_clk", "core1_clk", "csi0_clk", "csi1_clk", - "cpp_clk"; - status = "ok"; -}; - -&gdsc_oxili_gx { - qcom,clock-names = "core_clk"; - qcom,retain-mem; - qcom,retain-periph; - status = "ok"; -}; - -&gdsc_oxili_cx { - status = "ok"; -}; - -&gdsc_usb_hsic { - status = "ok"; -}; - -/include/ "msm-pm8x41-rpm-regulator.dtsi" -/include/ "msm-pm8841.dtsi" -/include/ "msm-pm8941.dtsi" -/include/ "msm8974-regulator.dtsi" -/include/ "msm8974-clock.dtsi" diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/msm9625-cdp.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v2/msm9625-cdp.dtsi deleted file mode 100644 index 6ddb50b82..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/msm9625-cdp.dtsi +++ /dev/null @@ -1,100 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/include/ "msm9625-display.dtsi" -/include/ "qpic-panel-ili-qvga.dtsi" - -&soc { - i2c@f9925000 { - charger@57 { - compatible = "summit,smb137c"; - reg = <0x57>; - summit,chg-current-ma = <1500>; - summit,term-current-ma = <50>; - summit,pre-chg-current-ma = <100>; - summit,float-voltage-mv = <4200>; - summit,thresh-voltage-mv = <3000>; - summit,recharge-thresh-mv = <75>; - summit,system-voltage-mv = <4250>; - summit,charging-timeout = <382>; - summit,pre-charge-timeout = <48>; - summit,therm-current-ua = <10>; - summit,temperature-min = <4>; /* 0 C */ - summit,temperature-max = <3>; /* 45 C */ - }; - }; - - wlan0: qca,wlan { - cell-index = <0>; - compatible = "qca,ar6004-hsic"; - qca,chip-pwd-l-gpios = <&msmgpio 62 0>; - qca,pm-enable-gpios = <&pm8019_gpios 3 0x0>; - qca,vdd-io-supply = <&pm8019_l11>; - }; - - qca,wlan_ar6003 { - cell-index = <0>; - compatible = "qca,ar6003-sdio"; - qca,chip-pwd-l-gpios = <&msmgpio 62 0>; - qca,pm-enable-gpios = <&pm8019_gpios 3 0x0>; - qca,vdd-io-supply = <&pm8019_l11>; - }; -}; - -/* PM8019 GPIO and MPP configuration */ -&pm8019_gpios { - gpio@c000 { /* GPIO 1 */ - }; - - gpio@c100 { /* GPIO 2 */ - }; - - gpio@c200 { /* GPIO 3 */ - }; - - gpio@c300 { /* GPIO 4 */ - /* ext_2p95v regulator enable config */ - qcom,mode = <1>; /* Digital output */ - qcom,output-type = <0>; /* CMOS */ - qcom,invert = <0>; /* Output low */ - qcom,out-strength = <1>; /* Low */ - qcom,vin-sel = <2>; /* PM8019 L11 - 1.8V */ - qcom,src-sel = <0>; /* Constant */ - qcom,master-en = <1>; /* Enable GPIO */ - }; - - gpio@c400 { /* GPIO 5 */ - }; - - gpio@c500 { /* GPIO 6 */ - }; -}; - -&pm8019_mpps { - mpp@a000 { /* MPP 1 */ - }; - - mpp@a100 { /* MPP 2 */ - }; - - mpp@a200 { /* MPP 3 */ - }; - - mpp@a300 { /* MPP 4 */ - }; - - mpp@a400 { /* MPP 5 */ - }; - - mpp@a500 { /* MPP 6 */ - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/msm9625-coresight.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v2/msm9625-coresight.dtsi deleted file mode 100644 index 3c00ae8c2..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/msm9625-coresight.dtsi +++ /dev/null @@ -1,259 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&soc { - tmc_etr: tmc@fc322000 { - compatible = "arm,coresight-tmc"; - reg = <0xfc322000 0x1000>, - <0xfc37c000 0x3000>; - reg-names = "tmc-base", "bam-base"; - - qcom,memory-reservation-type = "EBI1"; - qcom,memory-reservation-size = <0x20000>; /* 128K EBI1 buffer */ - - coresight-id = <0>; - coresight-name = "coresight-tmc-etr"; - coresight-nr-inports = <1>; - coresight-ctis = <&cti0 &cti8>; - }; - - tpiu: tpiu@fc318000 { - compatible = "arm,coresight-tpiu"; - reg = <0xfc318000 0x1000>; - reg-names = "tpiu-base"; - - coresight-id = <1>; - coresight-name = "coresight-tpiu"; - coresight-nr-inports = <1>; - - vdd-supply = <&ext_2p95v>; - }; - - replicator: replicator@fc31c000 { - compatible = "qcom,coresight-replicator"; - reg = <0xfc31c000 0x1000>; - reg-names = "replicator-base"; - - coresight-id = <2>; - coresight-name = "coresight-replicator"; - coresight-nr-inports = <1>; - coresight-outports = <0 1>; - coresight-child-list = <&tmc_etr &tpiu>; - coresight-child-ports = <0 0>; - }; - - tmc_etf: tmc@fc307000 { - compatible = "arm,coresight-tmc"; - reg = <0xfc307000 0x1000>; - reg-names = "tmc-base"; - - coresight-id = <3>; - coresight-name = "coresight-tmc-etf"; - coresight-nr-inports = <1>; - coresight-outports = <0>; - coresight-child-list = <&replicator>; - coresight-child-ports = <0>; - coresight-default-sink; - coresight-ctis = <&cti0 &cti8>; - }; - - funnel_merg: funnel@fc31b000 { - compatible = "arm,coresight-funnel"; - reg = <0xfc31b000 0x1000>; - reg-names = "funnel-base"; - - coresight-id = <4>; - coresight-name = "coresight-funnel-merg"; - coresight-nr-inports = <2>; - coresight-outports = <0>; - coresight-child-list = <&tmc_etf>; - coresight-child-ports = <0>; - }; - - funnel_in0: funnel@fc319000 { - compatible = "arm,coresight-funnel"; - reg = <0xfc319000 0x1000>; - reg-names = "funnel-base"; - - coresight-id = <5>; - coresight-name = "coresight-funnel-in0"; - coresight-nr-inports = <8>; - coresight-outports = <0>; - coresight-child-list = <&funnel_merg>; - coresight-child-ports = <0>; - }; - - funnel_in1: funnel@fc31a000 { - compatible = "arm,coresight-funnel"; - reg = <0xfc31a000 0x1000>; - reg-names = "funnel-base"; - - coresight-id = <6>; - coresight-name = "coresight-funnel-in1"; - coresight-nr-inports = <8>; - coresight-outports = <0>; - coresight-child-list = <&funnel_merg>; - coresight-child-ports = <1>; - }; - - stm: stm@fc321000 { - compatible = "arm,coresight-stm"; - reg = <0xfc321000 0x1000>, - <0xfa280000 0x180000>; - reg-names = "stm-base", "stm-data-base"; - - coresight-id = <7>; - coresight-name = "coresight-stm"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_in1>; - coresight-child-ports = <7>; - }; - - etm0: etm@fc332000 { - compatible = "arm,coresight-etm"; - reg = <0xfc332000 0x1000>; - reg-names = "etm-base"; - - coresight-id = <8>; - coresight-name = "coresight-etm0"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_in0>; - coresight-child-ports = <4>; - - qcom,round-robin; - }; - - csr: csr@fc302000 { - compatible = "qcom,coresight-csr"; - reg = <0xfc302000 0x1000>; - reg-names = "csr-base"; - - coresight-id = <9>; - coresight-name = "coresight-csr"; - coresight-nr-inports = <0>; - - qcom,blk-size = <1>; - }; - - cti0: cti@fc308000 { - compatible = "arm,coresight-cti"; - reg = <0xfc308000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <10>; - coresight-name = "coresight-cti0"; - coresight-nr-inports = <0>; - }; - - cti1: cti@fc309000 { - compatible = "arm,coresight-cti"; - reg = <0xfc309000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <11>; - coresight-name = "coresight-cti1"; - coresight-nr-inports = <0>; - }; - - cti2: cti@fc30a000 { - compatible = "arm,coresight-cti"; - reg = <0xfc30a000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <12>; - coresight-name = "coresight-cti2"; - coresight-nr-inports = <0>; - }; - - cti3: cti@fc30b000 { - compatible = "arm,coresight-cti"; - reg = <0xfc30b000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <13>; - coresight-name = "coresight-cti3"; - coresight-nr-inports = <0>; - }; - - cti4: cti@fc30c000 { - compatible = "arm,coresight-cti"; - reg = <0xfc30c000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <14>; - coresight-name = "coresight-cti4"; - coresight-nr-inports = <0>; - }; - - cti5: cti@fc30d000 { - compatible = "arm,coresight-cti"; - reg = <0xfc30d000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <15>; - coresight-name = "coresight-cti5"; - coresight-nr-inports = <0>; - }; - - cti6: cti@fc30e000 { - compatible = "arm,coresight-cti"; - reg = <0xfc30e000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <16>; - coresight-name = "coresight-cti6"; - coresight-nr-inports = <0>; - }; - - cti7: cti@fc30f000 { - compatible = "arm,coresight-cti"; - reg = <0xfc30f000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <17>; - coresight-name = "coresight-cti7"; - coresight-nr-inports = <0>; - }; - - cti8: cti@fc310000 { - compatible = "arm,coresight-cti"; - reg = <0xfc310000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <18>; - coresight-name = "coresight-cti8"; - coresight-nr-inports = <0>; - }; - - cti_cpu: cti@fc333000 { - compatible = "arm,coresight-cti"; - reg = <0xfc333000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <19>; - coresight-name = "coresight-cti-cpu"; - coresight-nr-inports = <0>; - }; - - hwevent: hwevent@f9011038 { - compatible = "qcom,coresight-hwevent"; - reg = <0xf9011038 0x8>, - <0xfd4ab160 0x80>; - reg-names = "apcs-mux", "ppss-mux"; - - coresight-id = <20>; - coresight-name = "coresight-hwevent"; - coresight-nr-inports = <0>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/msm9625-display.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v2/msm9625-display.dtsi deleted file mode 100644 index 287a63aef..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/msm9625-display.dtsi +++ /dev/null @@ -1,20 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -&soc { - qcom,msm_qpic@f9ac0000 { - compatible = "qcom,mdss_qpic"; - reg = <0xf9ac0000 0x24000>; - reg-names = "qpic_base"; - interrupts = <0 251 0>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/msm9625-ion.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v2/msm9625-ion.dtsi deleted file mode 100644 index 6f9bb535d..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/msm9625-ion.dtsi +++ /dev/null @@ -1,35 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&soc { - qcom,ion { - compatible = "qcom,msm-ion"; - #address-cells = <1>; - #size-cells = <0>; - - qcom,ion-heap@30 { /* SYSTEM HEAP */ - reg = <30>; - }; - - qcom,ion-heap@25 { /* IOMMU HEAP */ - reg = <25>; - }; - - qcom,ion-heap@28 { /* AUDIO HEAP */ - compatible = "qcom,msm-ion-reserve"; - reg = <28>; - qcom,heap-align = <0x1000>; - qcom,memory-reservation-type = "EBI1"; /* reserve EBI memory */ - qcom,memory-reservation-size = <0xE9000>; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/msm9625-mtp.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v2/msm9625-mtp.dtsi deleted file mode 100755 index b2908c42b..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/msm9625-mtp.dtsi +++ /dev/null @@ -1,111 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&soc { - i2c@f9925000 { - }; - - wlan0: qca,wlan { - cell-index = <0>; - compatible = "qca,ar6004-hsic"; - qca,chip-pwd-l-gpios = <&msmgpio 62 0>; - qca,pm-enable-gpios = <&pm8019_gpios 3 0x0>; - qca,vdd-io-supply = <&pm8019_l11>; - }; - - qca,wlan_ar6003 { - cell-index = <0>; - compatible = "qca,ar6003-sdio"; - qca,chip-pwd-l-gpios = <&msmgpio 62 0>; - qca,pm-enable-gpios = <&pm8019_gpios 3 0x0>; - qca,vdd-io-supply = <&pm8019_l11>; - }; - - mp2617 { - cell-index = <0>; - compatible = "mps,mp2617"; - mps,chg-current-ma = <1000>; - mps,chg-vbat-div = <3>; /* Divided by 3 before input */ - mps,chg-en-gpio = <&msmgpio 13 0>; /* refer to board-9625-gpiomux.c */ - mps,chg-ok-gpio = <&msmgpio 71 0>; - mps,chg-m0-gpio = <&msmgpio 12 0>; - mps,chg-m1-gpio = <&msmgpio 17 0>; - }; -}; - -/* PM8019 GPIO and MPP configuration */ -&pm8019_gpios { - gpio@c000 { /* GPIO 1 */ - }; - - gpio@c100 { /* GPIO 2 */ - }; - - gpio@c200 { /* GPIO 3 */ - }; - - gpio@c300 { /* GPIO 4 */ - /* ext_2p95v regulator enable config */ - qcom,mode = <1>; /* Digital output */ - qcom,output-type = <0>; /* CMOS */ - qcom,invert = <0>; /* Output low */ - qcom,out-strength = <1>; /* Low */ - qcom,vin-sel = <2>; /* PM8019 L11 - 1.8V */ - qcom,src-sel = <0>; /* Constant */ - qcom,master-en = <1>; /* Enable GPIO */ - }; - - gpio@c400 { /* GPIO 5 */ - }; - - gpio@c500 { /* GPIO 6 */ - }; -}; - -&pm8019_mpps { - mpp@a000 { /* MPP 1 */ - }; - - /* [linyunfeng] Detect battery voltage */ - mpp@a100 { /* MPP 2 */ - /* channel 17 */ - qcom,mode = <4>; - qcom,ain-route = <1>; /* AMUX 6 */ - qcom,master-en = <1>; - qcom,src-sel = <0>; /* Function constant */ - qcom,invert = <1>; - }; - - mpp@a200 { /* MPP 3 */ - }; - - mpp@a300 { /* MPP 4 */ - /* VADC channel 19 */ - qcom,mode = <4>; - qcom,ain-route = <3>; /* AMUX 8 */ - qcom,master-en = <1>; - qcom,src-sel = <0>; /* Function constant */ - qcom,invert = <1>; - }; - - mpp@a400 { /* MPP 5 */ - }; - - mpp@a500 { /* MPP 6 */ - /* channel 21 */ - qcom,mode = <4>; - qcom,ain-route = <1>; /* AMUX 6 */ - qcom,master-en = <1>; - qcom,src-sel = <0>; /* Function constant */ - qcom,invert = <1>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/msm9625-pm.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v2/msm9625-pm.dtsi deleted file mode 100644 index 673b64053..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/msm9625-pm.dtsi +++ /dev/null @@ -1,299 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/include/ "skeleton.dtsi" - -&soc { - qcom,spm@f9009000 { - compatible = "qcom,spm-v2"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xf9009000 0x1000>; - qcom,core-id = <0>; - qcom,saw2-ver-reg = <0xfd0>; - qcom,saw2-cfg = <0x101>; - qcom,saw2-spm-dly= <0>; - qcom,saw2-spm-ctl = <0x1>; - qcom,saw2-spm-cmd-wfi = [04 03 04 0f]; - qcom,saw2-spm-cmd-spc = [34 04 44 14 24 54 03 54 44 14 04 24 - 3e 0f]; - qcom,saw2-spm-cmd-pc = [34 04 44 14 24 54 07 54 44 14 04 24 - 3e 0f]; - }; - - qcom,lpm-resources { - compatible = "qcom,lpm-resources"; - #address-cells = <1>; - #size-cells = <0>; - - qcom,lpm-resources@0 { - reg = <0x0>; - qcom,name = "vdd-dig"; - qcom,type = <0x616F646C>; /* "ldoa" */ - qcom,id = <0x0A>; - qcom,key = <0x6e726f63>; /* "corn" */ - qcom,init-value = <5>; /* Super Turbo */ - }; - - qcom,lpm-resources@1 { - reg = <0x1>; - qcom,name = "vdd-mem"; - qcom,type = <0x616F646C>; /* "ldoa" */ - qcom,id = <0x0C>; - qcom,key = <0x7675>; /* "uv" */ - qcom,init-value = <1050000>; /* Super Turbo */ - }; - - qcom,lpm-resources@2 { - reg = <0x2>; - qcom,name = "pxo"; - qcom,type = <0x306b6c63>; /* "clk0" */ - qcom,id = <0x00>; - qcom,key = <0x62616e45>; /* "Enab" */ - qcom,init-value = "xo_on"; - }; - }; - - qcom,lpm-levels { - compatible = "qcom,lpm-levels"; - #address-cells = <1>; - #size-cells = <0>; - - qcom,use-qtimer; - - qcom,lpm-level@0 { - reg = <0x0>; - qcom,mode = "wfi"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_active"; - qcom,vdd-mem-upper-bound = <1050000>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <950000>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <100>; - qcom,ss-power = <8000>; - qcom,energy-overhead = <100000>; - qcom,time-overhead = <1>; - }; - - qcom,lpm-level@1 { - reg = <0x1>; - qcom,mode = "standalone_pc"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_active"; - qcom,vdd-mem-upper-bound = <1050000>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <950000>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <2000>; - qcom,ss-power = <5000>; - qcom,energy-overhead = <60100000>; - qcom,time-overhead = <3000>; - }; - - qcom,lpm-level@2 { - reg = <0x2>; - qcom,mode = "pc"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_gdhs"; - qcom,vdd-mem-upper-bound = <1050000>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <950000>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <3500>; - qcom,ss-power = <5000>; - qcom,energy-overhead = <60350000>; - qcom,time-overhead = <6300>; - }; - - qcom,lpm-level@3 { - reg = <0x3>; - qcom,mode = "pc"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_pc"; - qcom,vdd-mem-upper-bound = <1050000>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <950000>; /* SVS SOC */ - qcom,vdd-dig-upper-bound = <4>; /* NORMAL */ - qcom,vdd-dig-lower-bound = <3>; /* SVS SOC */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <4500>; - qcom,ss-power = <5000>; - qcom,energy-overhead = <60350000>; - qcom,time-overhead = <7300>; - }; - - qcom,lpm-level@4 { - reg = <0x4>; - qcom,mode = "pc"; - qcom,xo = "xo_off"; - qcom,l2 = "l2_cache_pc"; - qcom,vdd-mem-upper-bound = <1050000>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <950000>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,irqs-detectable; - qcom,latency-us = <6800>; - qcom,ss-power = <2000>; - qcom,energy-overhead = <71850000>; - qcom,time-overhead = <13300>; - }; - - qcom,lpm-level@5 { - reg = <0x5>; - qcom,mode = "pc"; - qcom,xo = "xo_off"; - qcom,l2 = "l2_cache_pc"; - qcom,vdd-mem-upper-bound = <1050000>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <950000>; /* SVS SOC */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <3>; /* SVS SOC */ - qcom,irqs-detectable; - qcom,latency-us = <8000>; - qcom,ss-power = <1800>; - qcom,energy-overhead = <71950000>; - qcom,time-overhead = <15300>; - }; - - qcom,lpm-level@6 { - reg = <0x6>; - qcom,mode = "pc"; - qcom,xo = "xo_off"; - qcom,l2 = "l2_cache_pc"; - qcom,vdd-mem-upper-bound = <950000>; /* SVS SOC */ - qcom,vdd-mem-lower-bound = <675000>; /* RETENTION */ - qcom,vdd-dig-upper-bound = <3>; /* SVS SOC */ - qcom,vdd-dig-lower-bound = <1>; /* RETENTION */ - qcom,latency-us = <9800>; - qcom,ss-power = <0>; - qcom,energy-overhead = <76350000>; - qcom,time-overhead = <28300>; - }; - }; - - qcom,pm-boot { - compatible = "qcom,pm-boot"; - qcom,mode = "tz"; - }; - - qcom,mpm@fc4281d0 { - compatible = "qcom,mpm-v2"; - reg = <0xfc4281d0 0x1000>, /* MSM_RPM_MPM_BASE 4K */ - <0xf9011008 0x4>; /* MSM_APCS_GCC_BASE 4K */ - reg-names = "vmpm", "ipc"; - interrupts = <0 171 1>; - - qcom,ipc-bit-offset = <1>; - - qcom,gic-parent = <&intc>; - qcom,gic-map = <2 216>, /* tsens_upper_lower_int */ - <47 172>, /* usb2_hsic_async_wakeup_irq */ - <41 180>, /* usb_async_wakeup_irq */ - <62 222>, /* ee0_krait_hlos_spmi_periph_irq */ - <0xff 57>, /* mss_to_apps_irq(0) */ - <0xff 58>, /* mss_to_apps_irq(1) */ - <0xff 59>, /* mss_to_apps_irq(2) */ - <0xff 60>, /* mss_to_apps_irq(3) */ - <0xff 173>, /* o_wcss_apss_smd_hi */ - <0xff 174>, /* o_wcss_apss_smd_med */ - <0xff 175>, /* o_wcss_apss_smd_lo */ - <0xff 176>, /* o_wcss_apss_smsm_irq */ - <0xff 177>, /* o_wcss_apss_wlan_data_xfer_done */ - <0xff 178>, /* o_wcss_apss_wlan_rx_data_avail */ - <0xff 179>, /* o_wcss_apss_asic_intr */ - <0xff 188>, /* q6ss_irq_out(4) */ - <0xff 189>, /* q6ss_irq_out(5) */ - <0xff 190>, /* q6ss_irq_out(6) */ - <0xff 191>, /* q6ss_irq_out(7) */ - <0xff 192>, /* audio_out0_irq */ - <0xff 193>, /* midi_arm_irq */ - <0xff 194>, /* q6ss_wdog_exp_irq */ - <0xff 195>, /* slimbus_core_ee1_irq */ - <0xff 196>, /* bam_irq(1) */ - <0xff 197>, /* qdss_irq_out(7) */ - <0xff 200>, /* rpm_ipc(4) */ - <0xff 201>, /* rpm_ipc(5) */ - <0xff 202>, /* rpm_ipc(6) */ - <0xff 203>, /* rpm_ipc(7) */ - <0xff 204>, /* rpm_ipc(24) */ - <0xff 205>, /* rpm_ipc(25) */ - <0xff 206>, /* rpm_ipc(26) */ - <0xff 207>, /* rpm_ipc(27) */ - <0xff 240>; /* summary_irq_kpss */ - - qcom,gpio-parent = <&msmgpio>; - qcom,gpio-map = <4 0>, - <5 1>, - <6 2>, - <7 3>, - <8 4>, - <9 5>, - <10 6>, - <11 7>, - <12 8>, - <13 9>, - <14 10>, - <15 11>, - <16 12>, - <17 13>, - <18 14>, - <19 15>, - <20 16>, - <21 17>, - <22 18>, - <23 19>, - <24 20>, - <25 21>, - <26 24>, - <27 25>, - <28 51>, - <29 61>, - <30 62>, - <31 63>, - <32 64>, - <33 65>, - <34 66>, - <35 67>, - <36 69>, - <37 71>; - }; - - qcom,pm-8x60 { - compatible = "qcom,pm-8x60"; - qcom,pc-mode = "tz_l2_ext"; - qcom,use-sync-timer; - }; - - qcom,rpm-log@fc19dc00 { - compatible = "qcom,rpm-log"; - reg = <0xfc19dc00 0x4000>; - qcom,rpm-addr-phys = <0xfc000000>; - qcom,offset-version = <4>; - qcom,offset-page-buffer-addr = <36>; - qcom,offset-log-len = <40>; - qcom,offset-log-len-mask = <44>; - qcom,offset-page-indices = <56>; - }; - - qcom,rpm-stats@fc19dba0 { - compatible = "qcom,rpm-stats"; - reg = <0xfc19dba0 0x1000>; - reg-names = "phys_addr_base"; - qcom,sleep-stats-version = <2>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/msm9625-regulator.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v2/msm9625-regulator.dtsi deleted file mode 100644 index eb56d1c6a..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/msm9625-regulator.dtsi +++ /dev/null @@ -1,284 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&rpm_bus { - rpm-regulator-smpa1 { - status = "okay"; - pm8019_s1: regulator-s1 { - regulator-min-microvolt = <800000>; - regulator-max-microvolt = <1050000>; - qcom,init-voltage = <1050000>; - status = "okay"; - }; - }; - - rpm-regulator-smpa2 { - status = "okay"; - pm8019_s2: regulator-s2 { - regulator-min-microvolt = <1250000>; - regulator-max-microvolt = <1250000>; - qcom,init-voltage = <1250000>; - qcom,init-current = <100>; - qcom,system-load = <100000>; - regulator-always-on; - status = "okay"; - }; - }; - - rpm-regulator-smpa3 { - status = "okay"; - pm8019_s3: regulator-s3 { - regulator-min-microvolt = <1000000>; - regulator-max-microvolt = <1100000>; - qcom,init-voltage = <1100000>; - qcom,init-current = <100>; - qcom,system-load = <100000>; - regulator-always-on; - status = "okay"; - }; - pm8019_s3_ao: regulator-s3-ao { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8019_s3_ao"; - qcom,set = <1>; - regulator-min-microvolt = <1000000>; - regulator-max-microvolt = <1100000>; - status = "okay"; - }; - }; - - rpm-regulator-smpa4 { - status = "okay"; - pm8019_s4: regulator-s4 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <2075000>; - qcom,init-voltage = <2075000>; - qcom,init-current = <100>; - qcom,system-load = <100000>; - regulator-always-on; - status = "okay"; - }; - }; - - rpm-regulator-ldoa1 { - status = "okay"; - pm8019_l1: regulator-l1 { - parent-supply = <&pm8019_s2>; - regulator-min-microvolt = <1225000>; - regulator-max-microvolt = <1225000>; - qcom,init-voltage = <1225000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa2 { - status = "okay"; - pm8019_l2: regulator-l2 { - parent-supply = <&pm8019_s4>; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa3 { - status = "okay"; - pm8019_l3: regulator-l3 { - parent-supply = <&pm8019_s4>; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa4 { - status = "okay"; - pm8019_l4: regulator-l4 { - regulator-min-microvolt = <3075000>; - regulator-max-microvolt = <3075000>; - qcom,init-voltage = <3075000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa5 { - status = "okay"; - pm8019_l5: regulator-l5 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <2850000>; - qcom,init-voltage = <1800000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa6 { - status = "okay"; - pm8019_l6: regulator-l6 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <2850000>; - qcom,init-voltage = <1800000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa7 { - status = "okay"; - pm8019_l7: regulator-l7 { - parent-supply = <&pm8019_s4>; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa8 { - status = "okay"; - pm8019_l8: regulator-l8 { - parent-supply = <&pm8019_s4>; - regulator-min-microvolt = <2050000>; - regulator-max-microvolt = <2050000>; - qcom,init-voltage = <2050000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa9 { - status = "okay"; - pm8019_l9: regulator-l9 { - parent-supply = <&pm8019_s2>; - regulator-min-microvolt = <1200000>; - regulator-max-microvolt = <1200000>; - qcom,init-voltage = <1200000>; - qcom,init-current = <10>; - qcom,system-load = <10000>; - regulator-always-on; - status = "okay"; - }; - }; - - rpm-regulator-ldoa10 { - status = "okay"; - pm8019_l10: regulator-l10 { - parent-supply = <&pm8019_s3>; - regulator-min-microvolt = <500000>; - regulator-max-microvolt = <1050000>; - status = "okay"; - }; - pm8019_l10_corner: regulator-l10-corner { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8019_l10_corner"; - qcom,set = <3>; - regulator-min-microvolt = <1>; - regulator-max-microvolt = <7>; - qcom,use-voltage-corner; - status = "okay"; - qcom,consumer-supplies = "vdd_dig", ""; - }; - pm8019_l10_corner_ao: regulator-l10-corner-ao { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8019_l10_corner_ao"; - qcom,set = <1>; - regulator-min-microvolt = <1>; - regulator-max-microvolt = <7>; - qcom,use-voltage-corner; - status = "okay"; - }; - pm8019_l10_floor_corner: regulator-l10-floor-corner { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8019_l10_floor_corner"; - qcom,set = <3>; - regulator-min-microvolt = <1>; - regulator-max-microvolt = <7>; - qcom,use-voltage-floor-corner; - qcom,always-send-voltage; - }; - }; - - rpm-regulator-ldoa11 { - status = "okay"; - pm8019_l11: regulator-l11 { - parent-supply = <&pm8019_s4>; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - qcom,init-current = <10>; - qcom,system-load = <10000>; - regulator-always-on; - status = "okay"; - }; - }; - - rpm-regulator-ldoa12 { - status = "okay"; - pm8019_l12: regulator-l12 { - parent-supply = <&pm8019_s3>; - regulator-min-microvolt = <675000>; - regulator-max-microvolt = <1050000>; - status = "okay"; - }; - pm8019_l12_ao: regulator-l12-ao { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8019_l12_ao"; - qcom,set = <1>; - parent-supply = <&pm8019_s3_ao>; - regulator-min-microvolt = <675000>; - regulator-max-microvolt = <1050000>; - status = "okay"; - }; - pm8019_l12_so: regulator-l12-so { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8019_l12_so"; - qcom,set = <2>; - parent-supply = <&pm8019_s3>; - regulator-min-microvolt = <675000>; - regulator-max-microvolt = <1050000>; - qcom,init-voltage = <675000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa13 { - status = "okay"; - pm8019_l13: regulator-l13 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <2950000>; - qcom,init-voltage = <2950000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa14 { - status = "okay"; - pm8019_l14: regulator-l14 { - regulator-min-microvolt = <2700000>; - regulator-max-microvolt = <2700000>; - qcom,init-voltage = <2700000>; - status = "okay"; - }; - }; -}; - -&soc { - ext_2p95v: regulator-isl80101 { - compatible = "regulator-fixed"; - regulator-name = "ext_2p95v"; - gpio = <&pm8019_gpios 4 0>; - enable-active-high; - }; - - usb_vbus: regulator-usb-vbus { - compatible = "regulator-fixed"; - regulator-name = "usb_vbus"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/msm9625-smp2p.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v2/msm9625-smp2p.dtsi deleted file mode 100644 index f8ad351a4..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/msm9625-smp2p.dtsi +++ /dev/null @@ -1,142 +0,0 @@ -/* Copyright (c) 2013, 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. - */ -&soc { - qcom,smp2p-modem { - compatible = "qcom,smp2p"; - reg = <0xf9011008 0x4>; - qcom,remote-pid = <1>; - qcom,irq-bitmask = <0x4000>; - interrupts = <0 27 1>; - }; - - qcom,smp2p-adsp { - compatible = "qcom,smp2p"; - reg = <0xf9011008 0x4>; - qcom,remote-pid = <2>; - qcom,irq-bitmask = <0x400>; - interrupts = <0 158 1>; - }; - - smp2pgpio_smp2p_7_in: qcom,smp2pgpio-smp2p-7-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <7>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_7_in { - compatible = "qcom,smp2pgpio_test_smp2p_7_in"; - gpios = <&smp2pgpio_smp2p_7_in 0 0>; - }; - - smp2pgpio_smp2p_7_out: qcom,smp2pgpio-smp2p-7-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <7>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_7_out { - compatible = "qcom,smp2pgpio_test_smp2p_7_out"; - gpios = <&smp2pgpio_smp2p_7_out 0 0>; - }; - - smp2pgpio_smp2p_1_in: qcom,smp2pgpio-smp2p-1-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <1>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_1_in { - compatible = "qcom,smp2pgpio_test_smp2p_1_in"; - gpios = <&smp2pgpio_smp2p_1_in 0 0>; - }; - - smp2pgpio_smp2p_1_out: qcom,smp2pgpio-smp2p-1-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <1>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_1_out { - compatible = "qcom,smp2pgpio_test_smp2p_1_out"; - gpios = <&smp2pgpio_smp2p_1_out 0 0>; - }; - - smp2pgpio_ssr_smp2p_1_in: qcom,smp2pgpio-ssr-smp2p-1-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "slave-kernel"; - qcom,remote-pid = <1>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - smp2pgpio_ssr_smp2p_1_out: qcom,smp2pgpio-ssr-smp2p-1-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "master-kernel"; - qcom,remote-pid = <1>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - smp2pgpio_smp2p_2_in: qcom,smp2pgpio-smp2p-2-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <2>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_2_in { - compatible = "qcom,smp2pgpio_test_smp2p_2_in"; - gpios = <&smp2pgpio_smp2p_2_in 0 0>; - }; - - smp2pgpio_smp2p_2_out: qcom,smp2pgpio-smp2p-2-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <2>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_2_out { - compatible = "qcom,smp2pgpio_test_smp2p_2_out"; - gpios = <&smp2pgpio_smp2p_2_out 0 0>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/msm9625-v1-cdp.dts b/kernel/arch/arm/boot/dts/m7350-un-v2/msm9625-v1-cdp.dts deleted file mode 100644 index d7537eb35..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/msm9625-v1-cdp.dts +++ /dev/null @@ -1,24 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/dts-v1/; - -/include/ "msm9625-v1.dtsi" -/include/ "msm9625-cdp.dtsi" - -/ { - model = "Qualcomm MSM 9625V1 CDP"; - compatible = "qcom,msm9625-cdp", "qcom,msm9625", "qcom,cdp"; - qcom,msm-id = <134 1 0>, <152 1 0>, <149 1 0>, <150 1 0>, - <151 1 0>, <148 1 0>, <173 1 0>, <174 1 0>, - <175 1 0>; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/msm9625-v1-mtp.dts b/kernel/arch/arm/boot/dts/m7350-un-v2/msm9625-v1-mtp.dts deleted file mode 100644 index a70ec1aa7..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/msm9625-v1-mtp.dts +++ /dev/null @@ -1,24 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/dts-v1/; - -/include/ "msm9625-v1.dtsi" -/include/ "msm9625-mtp.dtsi" - -/ { - model = "Qualcomm MSM 9625V1 MTP"; - compatible = "qcom,msm9625-mtp", "qcom,msm9625", "qcom,mtp"; - qcom,msm-id = <134 7 0>, <152 7 0>, <149 7 0>, <150 7 0>, - <151 7 0>, <148 7 0>, <173 7 0>, <174 7 0>, - <175 7 0>; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/msm9625-v1-rumi.dts b/kernel/arch/arm/boot/dts/m7350-un-v2/msm9625-v1-rumi.dts deleted file mode 100644 index ef0068143..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/msm9625-v1-rumi.dts +++ /dev/null @@ -1,26 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/dts-v1/; - -/include/ "msm9625-v1.dtsi" - -/ { - model = "Qualcomm MSM 9625V1 RUMI"; - compatible = "qcom,msm9625-rumi", "qcom,msm9625", "qcom,rumi"; - qcom,msm-id = <134 15 0>; - - chosen{ - bootargs = "root=/dev/ram rw init=/init console=ttyHSL0,115200n8 initrd=0x00000000,0x00000000 mem=29M@0x00200000 mem=10M@0x07600000"; - - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/msm9625-v1.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v2/msm9625-v1.dtsi deleted file mode 100644 index b238ba549..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/msm9625-v1.dtsi +++ /dev/null @@ -1,67 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/* - * As a general rule, only version-specific property overrides should be placed - * inside this file. However, device definitions should be placed inside the - * msm9625.dtsi file. - */ - -/include/ "msm9625.dtsi" - -&soc { - qcom,msm-imem@fc42a800 { - compatible = "qcom,msm-imem"; - reg = <0xfc42a800 0x1000>; /* Address and size of IMEM */ - }; - - android_usb@fc42a8c8 { - compatible = "qcom,android-usb"; - reg = <0xfc42a8c8 0xc8>; - qcom,android-usb-swfi-latency = <100>; - }; - - qcom,bam_dmux@fc834000 { - compatible = "qcom,bam_dmux"; - reg = <0xfc834000 0x7000>; - interrupts = <0 29 1>; - }; -}; - -&hsic_host { - qcom,disable-park-mode; -}; - -&ipa_hw { - qcom,ipa-hw-ver = <1>; /* IPA h-w revision */ -}; - -/* CoreSight */ -&tmc_etr { - qcom,reset-flush-race; -}; - -&stm { - qcom,write-64bit; -}; - -&sfpb_spinlock { - status = "disable"; -}; - -&ldrex_spinlock { - status = "ok"; -}; - -&hsic_host { - qcom,phy-sof-workaround; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/msm9625-v2-cdp.dts b/kernel/arch/arm/boot/dts/m7350-un-v2/msm9625-v2-cdp.dts deleted file mode 100644 index 9fbe5ec8a..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/msm9625-v2-cdp.dts +++ /dev/null @@ -1,24 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; - -/include/ "msm9625-v2.dtsi" -/include/ "msm9625-cdp.dtsi" - -/ { - model = "Qualcomm MSM 9625V2 CDP"; - compatible = "qcom,msm9625-cdp", "qcom,msm9625", "qcom,cdp"; - qcom,msm-id = <134 1 0x20000>, <152 1 0x20000>, <149 1 0x20000>, - <150 1 0x20000>, <151 1 0x20000>, <148 1 0x20000>, - <173 1 0x20000>, <174 1 0x20000>, <175 1 0x20000>; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/msm9625-v2-mtp.dts b/kernel/arch/arm/boot/dts/m7350-un-v2/msm9625-v2-mtp.dts deleted file mode 100644 index 27d00664a..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/msm9625-v2-mtp.dts +++ /dev/null @@ -1,122 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; - -/include/ "msm9625-v2.dtsi" -/include/ "msm9625-mtp.dtsi" - -/ { - model = "Qualcomm MSM 9625V2 MTP"; - compatible = "qcom,msm9625-mtp", "qcom,msm9625", "qcom,mtp"; - qcom,msm-id = <134 7 0x20000>, <152 7 0x20000>, <149 7 0x20000>, - <150 7 0x20000>, <151 7 0x20000>, <148 7 0x20000>, - <173 7 0x20000>, <174 7 0x20000>, <175 7 0x20000>; -}; - -&soc { - i2c@f9925000 { - charger@57 { - compatible = "summit,smb137c"; - reg = <0x57>; - summit,chg-current-ma = <1500>; - summit,term-current-ma = <50>; - summit,pre-chg-current-ma = <100>; - summit,float-voltage-mv = <4200>; - summit,thresh-voltage-mv = <3000>; - summit,recharge-thresh-mv = <75>; - summit,system-voltage-mv = <4250>; - summit,charging-timeout = <382>; - summit,pre-charge-timeout = <48>; - summit,therm-current-ua = <10>; - summit,temperature-min = <4>; /* 0 C */ - summit,temperature-max = <3>; /* 45 C */ - }; - }; - - wlan0: qca,wlan { - cell-index = <0>; - compatible = "qca,ar6004-hsic"; - qca,chip-pwd-l-gpios = <&msmgpio 62 0>; - qca,pm-enable-gpios = <&pm8019_gpios 3 0x0>; - qca,vdd-io-supply = <&pm8019_l11>; - }; - - qca,wlan_ar6003 { - cell-index = <0>; - compatible = "qca,ar6003-sdio"; - qca,chip-pwd-l-gpios = <&msmgpio 62 0>; - qca,pm-enable-gpios = <&pm8019_gpios 3 0x0>; - qca,vdd-io-supply = <&pm8019_l11>; - }; -}; - -/* PM8019 GPIO and MPP configuration */ -&pm8019_gpios { - gpio@c000 { /* GPIO 1 */ - }; - - gpio@c100 { /* GPIO 2 */ - }; - - gpio@c200 { /* GPIO 3 */ - }; - - gpio@c300 { /* GPIO 4 */ - /* ext_2p95v regulator enable config */ - qcom,mode = <1>; /* Digital output */ - qcom,output-type = <0>; /* CMOS */ - qcom,invert = <0>; /* Output low */ - qcom,out-strength = <1>; /* Low */ - qcom,vin-sel = <2>; /* PM8019 L11 - 1.8V */ - qcom,src-sel = <0>; /* Constant */ - qcom,master-en = <1>; /* Enable GPIO */ - }; - - gpio@c400 { /* GPIO 5 */ - }; - - gpio@c500 { /* GPIO 6 */ - }; -}; - -&pm8019_mpps { - mpp@a000 { /* MPP 1 */ - }; - - mpp@a100 { /* MPP 2 */ - }; - - mpp@a200 { /* MPP 3 */ - }; - - mpp@a300 { /* MPP 4 */ - /* VADC channel 19 */ - qcom,mode = <4>; - qcom,ain-route = <3>; /* AMUX 8 */ - qcom,master-en = <1>; - qcom,src-sel = <0>; /* Function constant */ - qcom,invert = <1>; - }; - - mpp@a400 { /* MPP 5 */ - }; - - mpp@a500 { /* MPP 6 */ - /* channel 21 */ - qcom,mode = <4>; - qcom,ain-route = <1>; /* AMUX 6 */ - qcom,master-en = <1>; - qcom,src-sel = <0>; /* Function constant */ - qcom,invert = <1>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/msm9625-v2.1-cdp.dts b/kernel/arch/arm/boot/dts/m7350-un-v2/msm9625-v2.1-cdp.dts deleted file mode 100644 index b64359381..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/msm9625-v2.1-cdp.dts +++ /dev/null @@ -1,24 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; - -/include/ "msm9625-v2.1.dtsi" -/include/ "msm9625-cdp.dtsi" - -/ { - model = "Qualcomm MSM 9625V2.1 CDP"; - compatible = "qcom,msm9625-cdp", "qcom,msm9625", "qcom,cdp"; - qcom,msm-id = <134 1 0x20001>, <152 1 0x20001>, <149 1 0x20001>, - <150 1 0x20001>, <151 1 0x20001>, <148 1 0x20001>, - <173 1 0x20001>, <174 1 0x20001>, <175 1 0x20001>; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/msm9625-v2.1-mtp.dts b/kernel/arch/arm/boot/dts/m7350-un-v2/msm9625-v2.1-mtp.dts deleted file mode 100644 index 8bbcc0d55..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/msm9625-v2.1-mtp.dts +++ /dev/null @@ -1,24 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; - -/include/ "msm9625-v2.1.dtsi" -/include/ "msm9625-mtp.dtsi" - -/ { - model = "Qualcomm MSM 9625V2.1 MTP"; - compatible = "qcom,msm9625-mtp", "qcom,msm9625", "qcom,mtp"; - qcom,msm-id = <134 7 0x20001>, <152 7 0x20001>, <149 7 0x20001>, - <150 7 0x20001>, <151 7 0x20001>, <148 7 0x20001>, - <173 7 0x20001>, <174 7 0x20001>, <175 7 0x20001>; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/msm9625-v2.1.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v2/msm9625-v2.1.dtsi deleted file mode 100644 index 5720700e3..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/msm9625-v2.1.dtsi +++ /dev/null @@ -1,40 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/* - * As a general rule, only version-specific property overrides should be placed - * inside this file. However, device definitions should be placed inside the - * msm9625.dtsi file. - */ - -/include/ "msm9625.dtsi" - -&soc { - qcom,msm-imem@fe807800 { - compatible = "qcom,msm-imem"; - reg = <0xfe807800 0x1000>; /* Address and size of IMEM */ - }; - - android_usb@fe8078c8 { - compatible = "qcom,android-usb"; - reg = <0xfe8078c8 0xc8>; - qcom,android-usb-swfi-latency = <100>; - }; -}; - -&ipa_hw { - qcom,ipa-hw-ver = <2>; /* IPA h-w revision */ -}; - -&hsusb_otg { - qcom,hsusb-l1-supported; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/msm9625-v2.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v2/msm9625-v2.dtsi deleted file mode 100644 index 3eda3f896..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/msm9625-v2.dtsi +++ /dev/null @@ -1,54 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/* - * As a general rule, only version-specific property overrides should be placed - * inside this file. However, device definitions should be placed inside the - * msm9625.dtsi file. - */ - -/include/ "msm9625.dtsi" - -&soc { - qcom,msm-imem@fe807800 { - compatible = "qcom,msm-imem"; - reg = <0xfe807800 0x1000>; /* Address and size of IMEM */ - }; - - android_usb@fe8078c8 { - compatible = "qcom,android-usb"; - reg = <0xfe8078c8 0xc8>; - qcom,android-usb-swfi-latency = <100>; - }; -}; - -&ipa_hw { - qcom,ipa-hw-ver = <2>; /* IPA h-w revision */ -}; - -&hsic_host { - qcom,disable-park-mode; - qcom,phy-susp-sof-workaround; - qcom,phy-reset-sof-workaround; -}; - -&sfpb_spinlock { - status = "disable"; -}; - -&ldrex_spinlock { - status = "ok"; -}; - -&hsusb_otg { - qcom,hsusb-l1-supported; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/msm9625.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v2/msm9625.dtsi deleted file mode 100755 index e57b976e8..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/msm9625.dtsi +++ /dev/null @@ -1,895 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/include/ "skeleton.dtsi" - -/ { - model = "Qualcomm MSM 9625"; - compatible = "qcom,msm9625"; - interrupt-parent = <&intc>; - - aliases { - spi0 = &spi_0; - }; - - soc: soc { }; -}; - -/include/ "msm9625-ion.dtsi" -/include/ "msm9625-pm.dtsi" -/include/ "msm9625-coresight.dtsi" -/include/ "msm9625-smp2p.dtsi" - -&soc { - #address-cells = <1>; - #size-cells = <1>; - ranges; - - intc: interrupt-controller@F9000000 { - compatible = "qcom,msm-qgic2"; - interrupt-controller; - #interrupt-cells = <3>; - reg = <0xF9000000 0x1000>, - <0xF9002000 0x1000>; - }; - - l2: cache-controller@f9040000 { - compatible = "arm,pl310-cache"; - reg = <0xf9040000 0x1000>; - cache-unified; - cache-level = <2>; - }; - - msmgpio: gpio@fd510000 { - compatible = "qcom,msm-gpio"; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - reg = <0xfd510000 0x4000>; - ngpio = <76>; - interrupts = <0 208 0>; - qcom,direct-connect-irqs = <8>; - }; - - 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 7 0x4>, - <0 6 0x4>; - reg = <0xf9021000 0x1000>, - <0xf9022000 0x1000>; - }; - - frame@f9023000 { - frame-number = <1>; - interrupts = <0 8 0x4>; - reg = <0xf9023000 0x1000>; - status = "disabled"; - }; - - frame@f9024000 { - frame-number = <2>; - interrupts = <0 9 0x4>; - reg = <0xf9024000 0x1000>; - status = "disabled"; - }; - - frame@f9025000 { - frame-number = <3>; - interrupts = <0 10 0x4>; - reg = <0xf9025000 0x1000>; - status = "disabled"; - }; - - frame@f9026000 { - frame-number = <4>; - interrupts = <0 11 0x4>; - reg = <0xf9026000 0x1000>; - status = "disabled"; - }; - - frame@f9027000 { - frame-number = <5>; - interrupts = <0 12 0x4>; - reg = <0xf9027000 0x1000>; - status = "disabled"; - }; - - frame@f9028000 { - frame-number = <6>; - interrupts = <0 13 0x4>; - reg = <0xf9028000 0x1000>; - status = "disabled"; - }; - - frame@f9029000 { - frame-number = <7>; - interrupts = <0 14 0x4>; - reg = <0xf9029000 0x1000>; - status = "disabled"; - }; - }; - - qcom,sps@f9980000 { - compatible = "qcom,msm_sps"; - reg = <0xf9984000 0x15000>, - <0xf9999000 0xb000>, - <0xfe803000 0x4800>; - interrupts = <0 94 0>; - qcom,device-type = <2>; - }; - - serial@f991f000 { - compatible = "qcom,msm-lsuart-v14"; - reg = <0xf991f000 0x1000>; - interrupts = <0 109 0>; - qcom,msm-bus,name = "blsp1_uart3"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <86 512 0 0>, - <86 512 500 800>; - }; - - hsusb_otg: usb@f9a55000 { - compatible = "qcom,hsusb-otg"; - reg = <0xf9a55000 0x400>; - interrupts = <0 134 0 0 140 0>; - interrupt-names = "core_irq", "async_irq"; - HSUSB_VDDCX-supply = <&pm8019_l12>; - HSUSB_1p8-supply = <&pm8019_l2>; - HSUSB_3p3-supply = <&pm8019_l4>; - vbus_otg-supply = <&usb_vbus>; - - qcom,hsusb-otg-phy-type = <2>; - qcom,hsusb-otg-mode = <1>; - qcom,hsusb-otg-otg-control = <1>; - qcom,hsusb-otg-disable-reset; - qcom,hsusb-otg-delay-lpm-hndshk-on-disconnect; - qcom,hsusb-otg-delay-lpm; - qcom,hsusb-otg-mpm-dpsehv-int = <49>; - - qcom,msm-bus,name = "usb2"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <87 512 0 0>, - <87 512 40000 640000>; - qcom,hsusb-log2-itc = <4>; - }; - - hsic_host: hsic@f9a15000 { - compatible = "qcom,hsic-host"; - reg = <0xf9a15000 0x400>; - interrupts = <0 136 0>, <0 148 0>; - interrupt-names = "core_irq", "async_irq"; - HSIC_VDDCX-supply = <&pm8019_l12>; - HSIC_GDSC-supply = <&gdsc_usb_hsic>; - - qcom,msm-bus,name = "hsic"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <85 512 0 0>, - <85 512 40000 640000>; - qcom,pool-64-bit-align; - qcom,enable-hbm; - hsic,consider-ipa-handshake; - qcom,ahb-async-bridge-bypass; - hsic,disable-cerr; - qcom,disable-internal-clk-gating; - }; - - qcom,usbbam@f9a44000 { - compatible = "qcom,usb-bam-msm"; - reg = <0xf9a44000 0x11000>, - <0xf9a04000 0x11000>; - reg-names = "hsusb", "hsic"; - interrupts = <0 135 0 0 255 0>; - interrupt-names = "hsusb", "hsic"; - qcom,usb-bam-num-pipes = <16>; - qcom,ignore-core-reset-ack; - qcom,disable-clk-gating; - - qcom,pipe0 { - label = "hsusb-ipa-out-0"; - qcom,usb-bam-mem-type = <2>; - qcom,bam-type = <1>; - qcom,dir = <0>; - qcom,pipe-num = <0>; - qcom,peer-bam = <2>; - qcom,src-bam-physical-address = <0xf9a44000>; - qcom,src-bam-pipe-index = <1>; - qcom,data-fifo-size = <0x8000>; - qcom,descriptor-fifo-size = <0x2000>; - qcom,reset-bam-on-connect; - }; - qcom,pipe1 { - label = "hsusb-ipa-in-0"; - qcom,usb-bam-mem-type = <2>; - qcom,bam-type = <1>; - qcom,dir = <1>; - qcom,pipe-num = <0>; - qcom,peer-bam = <2>; - qcom,dst-bam-physical-address = <0xf9a44000>; - qcom,dst-bam-pipe-index = <0>; - qcom,data-fifo-size = <0x8000>; - qcom,descriptor-fifo-size = <0x2000>; - qcom,reset-bam-on-connect; - }; - qcom,pipe2 { - label = "hsusb-qdss-in-0"; - qcom,usb-bam-mem-type = <0>; - qcom,bam-type = <1>; - 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 = <0xf9a44000>; - qcom,dst-bam-pipe-index = <2>; - qcom,data-fifo-offset = <0x4100>; - qcom,data-fifo-size = <0x700>; - qcom,descriptor-fifo-offset = <0x4000>; - qcom,descriptor-fifo-size = <0x100>; - }; - qcom,pipe3 { - label = "hsic-ipa-in-0"; - qcom,usb-bam-mem-type = <2>; - qcom,bam-type = <2>; - qcom,dir = <1>; - qcom,pipe-num = <0>; - qcom,peer-bam = <2>; - qcom,dst-bam-physical-address = <0xf9a04000>; - qcom,dst-bam-pipe-index = <3>; - qcom,data-fifo-size = <0xF800>; - qcom,descriptor-fifo-size = <0x3A58>; - qcom,reset-bam-on-connect; - }; - qcom,pipe4 { - label = "hsic-ipa-in-1"; - qcom,bam-type = <2>; - qcom,dir = <1>; - qcom,pipe-num = <1>; - qcom,peer-bam = <2>; - qcom,usb-bam-mem-type = <2>; - qcom,dst-bam-physical-address = <0xf9a04000>; - qcom,dst-bam-pipe-index = <4>; - qcom,data-fifo-size = <0xF800>; - qcom,descriptor-fifo-size = <0x3A58>; - qcom,reset-bam-on-connect; - }; - qcom,pipe5 { - label = "hsic-ipa-in-2"; - qcom,usb-bam-mem-type = <2>; - qcom,bam-type = <2>; - qcom,dir = <1>; - qcom,pipe-num = <2>; - qcom,peer-bam = <2>; - qcom,dst-bam-physical-address = <0xf9a04000>; - qcom,dst-bam-pipe-index = <5>; - qcom,data-fifo-size = <0xF800>; - qcom,descriptor-fifo-size = <0x3A58>; - qcom,reset-bam-on-connect; - }; - qcom,pipe6 { - label = "hsic-ipa-in-3"; - qcom,usb-bam-mem-type = <2>; - qcom,bam-type = <2>; - qcom,dir = <1>; - qcom,pipe-num = <3>; - qcom,peer-bam = <2>; - qcom,dst-bam-physical-address = <0xf9a04000>; - qcom,dst-bam-pipe-index = <6>; - qcom,data-fifo-size = <0xF800>; - qcom,descriptor-fifo-size = <0x3A58>; - qcom,reset-bam-on-connect; - }; - qcom,pipe7 { - label = "hsic-ipa-out-0"; - qcom,usb-bam-mem-type = <2>; - qcom,bam-type = <2>; - qcom,dir = <0>; - qcom,pipe-num = <0>; - qcom,peer-bam = <2>; - qcom,src-bam-physical-address = <0xf9a04000>; - qcom,src-bam-pipe-index = <7>; - qcom,data-fifo-size = <0xDFE>; - qcom,descriptor-fifo-size = <0xB30>; - qcom,reset-bam-on-connect; - }; - - qcom,pipe8 { - label = "hsusb-ipa-out-1"; - qcom,usb-bam-mem-type = <2>; - qcom,bam-type = <1>; - qcom,dir = <0>; - qcom,pipe-num = <1>; - qcom,peer-bam = <2>; - qcom,src-bam-physical-address = <0xf9a44000>; - qcom,src-bam-pipe-index = <5>; - qcom,data-fifo-size = <0x8000>; - qcom,descriptor-fifo-size = <0x2000>; - qcom,reset-bam-on-connect; - }; - - qcom,pipe9 { - label = "hsusb-ipa-in-1"; - qcom,usb-bam-mem-type = <2>; - qcom,bam-type = <1>; - qcom,dir = <1>; - qcom,pipe-num = <1>; - qcom,peer-bam = <2>; - qcom,dst-bam-physical-address = <0xf9a44000>; - qcom,dst-bam-pipe-index = <4>; - qcom,data-fifo-size = <0x8000>; - qcom,descriptor-fifo-size = <0x2000>; - qcom,reset-bam-on-connect; - }; - - qcom,pipe10 { - label = "hsusb-ipa-out-2"; - qcom,usb-bam-mem-type = <2>; - qcom,bam-type = <1>; - qcom,dir = <0>; - qcom,pipe-num = <2>; - qcom,peer-bam = <2>; - qcom,src-bam-physical-address = <0xf9a44000>; - qcom,src-bam-pipe-index = <7>; - qcom,data-fifo-size = <0x8000>; - qcom,descriptor-fifo-size = <0x2000>; - qcom,reset-bam-on-connect; - }; - - qcom,pipe11 { - label = "hsusb-ipa-in-2"; - qcom,usb-bam-mem-type = <2>; - qcom,bam-type = <1>; - qcom,dir = <1>; - qcom,pipe-num = <2>; - qcom,peer-bam = <2>; - qcom,dst-bam-physical-address = <0xf9a44000>; - qcom,dst-bam-pipe-index = <6>; - qcom,data-fifo-size = <0x8000>; - qcom,descriptor-fifo-size = <0x2000>; - qcom,reset-bam-on-connect; - }; - - qcom,pipe12 { - label = "hsusb-ipa-out-3"; - qcom,usb-bam-mem-type = <2>; - qcom,bam-type = <1>; - qcom,dir = <0>; - qcom,pipe-num = <3>; - qcom,peer-bam = <2>; - qcom,src-bam-physical-address = <0xf9a44000>; - qcom,src-bam-pipe-index = <8>; - qcom,data-fifo-size = <0x8000>; - qcom,descriptor-fifo-size = <0x2000>; - qcom,reset-bam-on-connect; - }; - - qcom,pipe13 { - label = "hsusb-ipa-in-3"; - qcom,usb-bam-mem-type = <2>; - qcom,bam-type = <1>; - qcom,dir = <1>; - qcom,pipe-num = <3>; - qcom,peer-bam = <2>; - qcom,dst-bam-physical-address = <0xf9a44000>; - qcom,dst-bam-pipe-index = <9>; - qcom,data-fifo-size = <0x8000>; - qcom,descriptor-fifo-size = <0x2000>; - qcom,reset-bam-on-connect; - }; - }; - - qcom,nand@f9ac0000 { - compatible = "qcom,msm-nand"; - reg = <0xf9ac0000 0x1000>, - <0xf9ac4000 0x8000>; - reg-names = "nand_phys", - "bam_phys"; - interrupts = <0 247 0>; - interrupt-names = "bam_irq"; - }; - - spi_0: spi@f9924000 { - compatible = "qcom,spi-qup-v2"; - reg = <0xf9924000 0x1000>; - interrupts = <0 96 0>; - spi-max-frequency = <25000000>; - #address-cells = <1>; - #size-cells = <0>; - gpios = <&msmgpio 7 0>, /* CLK */ - <&msmgpio 5 0>, /* MISO */ - <&msmgpio 4 0>; /* MOSI */ - - cs-gpios = <&msmgpio 6 0>; - - qcom-spi-oled@1 { - compatible = "tplink,oleds90319"; - reg = <1>; - spi-max-frequency = <9600000>; - }; - - }; - - oled { - compatible = "tp,oled_pt"; - qcom,oled_s90319 { - compatible = "qcom,oled_s90319_pt"; - qcom,oled-cs-gpio = <&msmgpio 6 0>; /* refer to board-9625-gpiomux.c */ - qcom,oled-rsx-gpio = <&msmgpio 21 0>; - qcom,oled-reset-gpio = <&msmgpio 20 0>; - qcom,oled-vdd0-gpio = <&msmgpio 22 0>; - qcom,oled-vdd1-gpio = <&msmgpio 23 0>; - qcom,oled-boost-en-gpio = <&msmgpio 61 0>; - }; - }; - - - qcom,wdt@f9017000 { - compatible = "qcom,msm-watchdog"; - reg = <0xf9017000 0x1000>; - interrupts = <1 2 0>, <1 1 0>; - qcom,bark-time = <11000>; - qcom,pet-time = <10000>; - }; - - rpm_bus: qcom,rpm-smd { - compatible = "qcom,rpm-smd"; - rpm-channel-name = "rpm_requests"; - rpm-channel-type = <15>; /* SMD_APPS_RPM */ - }; - - spmi_bus: qcom,spmi@fc4c0000 { - cell-index = <0>; - 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-ee = <0>; - qcom,pmic-arb-channel = <0>; - }; - - sdcc2: qcom,sdcc@f98a4000 { - cell-index = <2>; /* SDC2 SD card slot */ - compatible = "qcom,msm-sdcc"; - reg = <0xf98a4000 0x800>, - <0xf98a4800 0x100>, - <0xf9884000 0x7000>; - reg-names = "core_mem", "dml_mem", "bam_mem"; - - vdd-supply = <&ext_2p95v>; - - vdd-io-supply = <&pm8019_l13>; - qcom,vdd-io-always-on; - qcom,vdd-io-lpm-sup; - qcom,vdd-io-voltage-level = <1800000 2950000>; - qcom,vdd-io-current-level = <6 22000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; - qcom,pad-pull-off = <0x0 0x3 0x3>; - qcom,pad-drv-on = <0x4 0x4 0x4>; - qcom,pad-drv-off = <0x0 0x0 0x0>; - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - qcom,sup-voltages = <2950 2950>; - qcom,bus-width = <4>; - qcom,xpc; - qcom,bus-speed-mode = "SDR12", "SDR25", "SDR50", "DDR50", "SDR104"; - qcom,current-limit = <800>; - - interrupt-parent = <&sdcc2>; - #address-cells = <0>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 125 0 - 1 &intc 0 220 0 - 2 &msmgpio 66 0x3>; - interrupt-names = "core_irq", "bam_irq", "status_irq"; - }; - - ipa_hw: qcom,ipa@fd4c0000 { - compatible = "qcom,ipa"; - reg = <0xfd4c0000 0x26000>, - <0xfd4c4000 0x14818>, - <0xfc834000 0x7000>; - reg-names = "ipa-base", "bam-base", "a2-bam-base"; - interrupts = <0 252 0>, - <0 253 0>, - <0 29 1>; - interrupt-names = "ipa-irq", "bam-irq", "a2-bam-irq"; - - qcom,pipe1 { - label = "a2-to-ipa"; - qcom,src-bam-physical-address = <0xfc834000>; - qcom,ipa-bam-mem-type = <0>; - qcom,src-bam-pipe-index = <1>; - qcom,dst-bam-physical-address = <0xfd4c0000>; - qcom,dst-bam-pipe-index = <6>; - qcom,data-fifo-offset = <0x1000>; - qcom,data-fifo-size = <0xd00>; - qcom,descriptor-fifo-offset = <0x1d00>; - qcom,descriptor-fifo-size = <0x300>; - }; - - qcom,pipe2 { - label = "ipa-to-a2"; - qcom,src-bam-physical-address = <0xfd4c0000>; - qcom,ipa-bam-mem-type = <0>; - qcom,src-bam-pipe-index = <7>; - qcom,dst-bam-physical-address = <0xfc834000>; - qcom,dst-bam-pipe-index = <0>; - qcom,data-fifo-offset = <0x00>; - qcom,data-fifo-size = <0xd00>; - qcom,descriptor-fifo-offset = <0xd00>; - qcom,descriptor-fifo-size = <0x300>; - }; - }; - - qcom,acpuclk@f9010000 { - compatible = "qcom,acpuclk-9625"; - reg = <0xf9010008 0x10>, - <0xf9008004 0x4>; - reg-names = "rcg_base", "pwr_base"; - a5_cpu-supply = <&pm8019_l10_corner_ao>; - a5_mem-supply = <&pm8019_l12_ao>; - }; - - gdsc_usb_hsic: qcom,gdsc@fc400404 { - compatible = "qcom,gdsc"; - reg = <0xfc400404 0x4>; - regulator-name = "gdsc_usb_hsic"; - }; - - tsens@fc4a8000 { - compatible = "qcom,msm-tsens"; - reg = <0xfc4a8000 0x2000>, - <0xfc4b8000 0x1000>; - reg-names = "tsens_physical", "tsens_eeprom_physical"; - interrupts = <0 184 0>; - qcom,sensors = <5>; - qcom,slope = <3200 3200 3200 3200 3200>; - qcom,calib-mode = "fuse_map1"; - }; - - qcom,msm-thermal { - compatible = "qcom,msm-thermal"; - qcom,sensor-id = <0>; - qcom,poll-ms = <250>; - qcom,limit-temp = <60>; - qcom,temp-hysteresis = <10>; - qcom,freq-step = <2>; - qcom,freq-control-mask = <0x0>; - qcom,vdd-restriction-temp = <5>; - qcom,vdd-restriction-temp-hysteresis = <10>; - vdd-dig-supply = <&pm8019_l10_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,msm-rng@f9bff000 { - compatible = "qcom,msm-rng"; - reg = <0xf9bff000 0x200>; - qcom,msm-rng-iface-clk; - }; - - i2c@f9925000 { - cell-index = <3>; - compatible = "qcom,i2c-qup"; - reg = <0xf9925000 0x1000>; - #address-cells = <1>; - #size-cells = <0>; - reg-names = "qup_phys_addr"; - interrupts = <0 97 0>; - interrupt-names = "qup_err_intr"; - qcom,i2c-bus-freq = <400000>; - qcom,i2c-src-freq = <19200000>; - }; - - qcom,mss { - compatible = "qcom,pil-q6v5-mss"; - interrupts = <0 24 1>; - qcom,is-not-loadable; - - /* 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>; - }; - - qcom,smem@0 { - compatible = "qcom,smem"; - reg = <0x0 0x100000>, - <0xf9011000 0x1000>, - <0xfc428000 0x4000>; - reg-names = "smem", "irq-reg-base", "aux-mem1"; - - qcom,smd-modem { - compatible = "qcom,smd"; - qcom,smd-edge = <0>; - qcom,smd-irq-offset = <0x8>; - qcom,smd-irq-bitmask = <0x1000>; - qcom,pil-string = "modem"; - interrupts = <0 25 1>; - }; - - qcom,smsm-modem { - compatible = "qcom,smsm"; - qcom,smsm-edge = <0>; - qcom,smsm-irq-offset = <0x8>; - qcom,smsm-irq-bitmask = <0x2000>; - interrupts = <0 26 1>; - }; - - qcom,smd-adsp { - compatible = "qcom,smd"; - qcom,smd-edge = <1>; - qcom,smd-irq-offset = <0x8>; - qcom,smd-irq-bitmask = <0x100>; - qcom,pil-string = "adsp"; - interrupts = <0 156 1>; - }; - - qcom,smsm-adsp { - compatible = "qcom,smsm"; - qcom,smsm-edge = <1>; - qcom,smsm-irq-offset = <0x8>; - qcom,smsm-irq-bitmask = <0x200>; - interrupts = <0 157 1>; - }; - - qcom,smd-rpm { - compatible = "qcom,smd"; - qcom,smd-edge = <15>; - qcom,smd-irq-offset = <0x8>; - qcom,smd-irq-bitmask = <0x1>; - interrupts = <0 168 1>; - qcom,irq-no-suspend; - }; - }; - - qcom,qcedev@fd400000 { - compatible = "qcom,qcedev"; - reg = <0xfd400000 0x20000>, - <0xfd404000 0x8000>; - reg-names = "crypto-base","crypto-bam-base"; - interrupts = <0 207 0>; - qcom,bam-pipe-pair = <1>; - }; - - qcom,qcrypto@fd440000 { - compatible = "qcom,qcrypto"; - reg = <0xfd400000 0x20000>, - <0xfd404000 0x8000>; - reg-names = "crypto-base","crypto-bam-base"; - interrupts = <0 207 0>; - qcom,bam-pipe-pair = <2>; - }; - - jtag_mm: jtagmm@fc332000 { - compatible = "qcom,jtag-mm"; - reg = <0xfc332000 0x1000>, - <0xfc330000 0x1000>; - reg-names = "etm-base","debug-base"; - }; - - qcom,msm-rtb { - compatible = "qcom,msm-rtb"; - qcom,memory-reservation-type = "EBI1"; - qcom,memory-reservation-size = <0x1000>; /* 4K EBI1 buffer */ - }; - - qcom,msm-mem-hole { - compatible = "qcom,msm-mem-hole"; - qcom,memblock-remove = <0x1c00000 0x4800000>; /* Address and Size of Hole */ - }; - - sfpb_spinlock: qcom,ipc-spinlock@fd484000 { - compatible = "qcom,ipc-spinlock-sfpb"; - reg = <0xfd484000 0x400>; - qcom,num-locks = <8>; - }; - - ldrex_spinlock: qcom,ipc-spinlock@fa00000 { - compatible = "qcom,ipc-spinlock-ldrex"; - reg = <0xfa00000 0x200000>; - status = "disable"; - }; - - cpu-pmu { - compatible = "arm,cortex-a5-pmu"; - qcom,irq-is-percpu; - interrupts = <1 7 0x00>; - }; - - l2-pmu { - compatible = "qcom,l2-pmu"; - interrupts = <0 1 0>; - }; - - /* [houjihai start] gpio keys */ - gpio-keys { - compatible = "gpio-keys"; - autorepeat; - input-name = "gpio-keys"; - key-up { - label = "WPS"; - linux,code = <103>; - gpios = <&msmgpio 14 1>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - key-back { - label = "RESET"; - linux,code = <158>; - gpios = <&msmgpio 15 1>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - }; - /* [houjihai end] */ - -}; - -/include/ "msm-pm8019-rpm-regulator.dtsi" -/include/ "msm-pm8019.dtsi" -/include/ "msm9625-regulator.dtsi" - -&pm8019_vadc { - chan@31 { - label = "batt_id_therm"; - reg = <0x31>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - /* [linyunfeng] Detect battery voltage */ - chan@11 { - label = "vbat"; - reg = <0x11>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@33 { - label = "pa_therm0"; - reg = <0x33>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@34 { - label = "pa_therm1"; - reg = <0x34>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@32 { - label = "xo_therm"; - reg = <0x32>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <4>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@3c { - label = "xo_therm_amux"; - reg = <0x3c>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <4>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@13 { - label = "case_therm"; - reg = <0x13>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@15 { - label = "ambient_therm"; - reg = <0x15>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; -}; - -&pm8019_adc_tm { - /* Channel Node */ - chan@33 { - label = "pa_therm0"; - reg = <0x33>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - qcom,btm-channel-number = <0x48>; - qcom,thermal-node; - }; - - chan@34 { - label = "pa_therm1"; - reg = <0x34>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - qcom,btm-channel-number = <0x68>; - qcom,thermal-node; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/msmkrypton-sim.dts b/kernel/arch/arm/boot/dts/m7350-un-v2/msmkrypton-sim.dts deleted file mode 100644 index 1872a36b9..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/msmkrypton-sim.dts +++ /dev/null @@ -1,25 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; - -/include/ "msmkrypton.dtsi" - -/ { - model = "Qualcomm MSM KRYPTON SIM"; - compatible = "qcom,msmkrypton-sim", "qcom,msmkrypton", "qcom,sim"; - qcom,msm-id = <187 16 0>; -}; - -&uartdm3{ - status = "ok"; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/msmkrypton.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v2/msmkrypton.dtsi deleted file mode 100644 index 4b032d86d..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/msmkrypton.dtsi +++ /dev/null @@ -1,120 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/include/ "skeleton.dtsi" - -/ { - model = "Qualcomm MSM KRYPTON"; - compatible = "qcom,msmkrypton"; - interrupt-parent = <&intc>; - - soc: soc { }; -}; - -&soc { - #address-cells = <1>; - #size-cells = <1>; - ranges; - - intc: interrupt-controller@f9000000 { - compatible = "qcom,msm-qgic2"; - interrupt-controller; - #interrupt-cells = <3>; - reg = <0xf9000000 0x1000>, - <0xf9002000 0x1000>; - }; - - msmgpio: gpio@fd510000 { - compatible = "qcom,msm-gpio"; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - reg = <0xfd510000 0x4000>; - ngpio = <89>; - interrupts = <0 208 0>; - qcom,direct-connect-irqs = <8>; - }; - - 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 7 0x4>, - <0 6 0x4>; - reg = <0xf9021000 0x1000>, - <0xf9022000 0x1000>; - }; - - frame@f9023000 { - frame-number = <1>; - interrupts = <0 8 0x4>; - reg = <0xf9023000 0x1000>; - status = "disabled"; - }; - - frame@f9024000 { - frame-number = <2>; - interrupts = <0 9 0x4>; - reg = <0xf9024000 0x1000>; - status = "disabled"; - }; - - frame@f9025000 { - frame-number = <3>; - interrupts = <0 10 0x4>; - reg = <0xf9025000 0x1000>; - status = "disabled"; - }; - - frame@f9026000 { - frame-number = <4>; - interrupts = <0 11 0x4>; - reg = <0xf9026000 0x1000>; - status = "disabled"; - }; - - frame@f9027000 { - frame-number = <5>; - interrupts = <0 12 0x4>; - reg = <0xf9027000 0x1000>; - status = "disabled"; - }; - - frame@f9028000 { - frame-number = <6>; - interrupts = <0 13 0x4>; - reg = <0xf9028000 0x1000>; - status = "disabled"; - }; - - frame@f9029000 { - frame-number = <7>; - interrupts = <0 14 0x4>; - reg = <0xf9029000 0x1000>; - status = "disabled"; - }; - }; - - uartdm3: serial@f991f000 { - compatible = "qcom,msm-lsuart-v14"; - reg = <0xf991f000 0x1000>; - interrupts = <0 109 0>; - status = "disabled"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/msmsamarium-ion.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v2/msmsamarium-ion.dtsi deleted file mode 100644 index ea954b89c..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/msmsamarium-ion.dtsi +++ /dev/null @@ -1,31 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -&soc { - qcom,ion { - compatible = "qcom,msm-ion"; - #address-cells = <1>; - #size-cells = <0>; - - qcom,ion-heap@30 { /* SYSTEM HEAP */ - reg = <30>; - }; - - qcom,ion-heap@21 { /* SYSTEM CONTIG HEAP */ - reg = <21>; - }; - - qcom,ion-heap@25 { /* IOMMU HEAP */ - reg = <25>; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/msmsamarium-rumi.dts b/kernel/arch/arm/boot/dts/m7350-un-v2/msmsamarium-rumi.dts deleted file mode 100644 index 9a679a4fd..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/msmsamarium-rumi.dts +++ /dev/null @@ -1,25 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; - -/include/ "msmsamarium.dtsi" - -/ { - model = "Qualcomm MSM SAMARIUM RUMI"; - compatible = "qcom,msmsamarium-rumi", "qcom,msmsamarium", "qcom,rumi"; - qcom,msm-id = <195 0 0>; -}; - -&uartblsp0dm2{ - status = "ok"; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/msmsamarium-sim.dts b/kernel/arch/arm/boot/dts/m7350-un-v2/msmsamarium-sim.dts deleted file mode 100644 index 4acffae18..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/msmsamarium-sim.dts +++ /dev/null @@ -1,55 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; - -/include/ "msmsamarium.dtsi" - -/ { - model = "Qualcomm MSM SAMARIUM SIM"; - compatible = "qcom,msmsamarium-sim", "qcom,msmsamarium", "qcom,sim"; - qcom,msm-id = <195 0 0>; -}; - -&uartblsp0dm2{ - status = "ok"; -}; - -&sdcc1 { - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - qcom,sup-voltages = <2950 2950>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,bus-speed-mode = "HS200_1p8v", "DDR_1p8v"; - qcom,nonremovable; - status = "ok"; -}; - -&sdcc2 { - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - qcom,sup-voltages = <2950 2950>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,xpc; - qcom,bus-speed-mode = "SDR12", "SDR25", "SDR50", "DDR50", "SDR104"; - qcom,current-limit = <800>; - - status = "ok"; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/msmsamarium.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v2/msmsamarium.dtsi deleted file mode 100644 index 81699b689..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/msmsamarium.dtsi +++ /dev/null @@ -1,90 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/include/ "skeleton.dtsi" - -/ { - model = "Qualcomm MSM SAMARIUM"; - compatible = "qcom,msmsamarium"; - interrupt-parent = <&intc>; - soc: soc { }; -}; - -/include/ "msmsamarium-ion.dtsi" - -&soc { - #address-cells = <1>; - #size-cells = <1>; - ranges; - - intc: interrupt-controller@f9000000 { - compatible = "qcom,msm-qgic2"; - interrupt-controller; - #interrupt-cells = <3>; - reg = <0xf9000000 0x1000>, - <0xf9002000 0x1000>; - }; - - msmgpio: gpio@fd510000 { - compatible = "qcom,msm-gpio"; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - reg = <0xfd510000 0x4000>; - ngpio = <145>; - interrupts = <0 208 0>; - qcom,direct-connect-irqs = <8>; - }; - - timer { - compatible = "arm,armv7-timer"; - interrupts = <1 2 0 1 3 0>; - clock-frequency = <19200000>; - }; - - uartblsp0dm2: serial@f991f000 { - compatible = "qcom,msm-lsuart-v14"; - reg = <0xf991f000 0x1000>; - interrupts = <0 109 0>; - status = "disabled"; - }; - - qcom,msm-imem@fe805000 { - compatible = "qcom,msm-imem"; - reg = <0xfe805000 0x1000>; /* Address and size of IMEM */ - }; - - sdcc1: qcom,sdcc@f9824000 { - cell-index = <1>; /* SDC1 eMMC slot */ - compatible = "qcom,msm-sdcc"; - reg = <0xf9824000 0x800>; - reg-names = "core_mem"; - interrupts = <0 123 0>; - interrupt-names = "core_irq"; - - qcom,bus-width = <8>; - status = "disabled"; - }; - - sdcc2: qcom,sdcc@f98a4000 { - cell-index = <2>; /* SDC2 SD card slot */ - compatible = "qcom,msm-sdcc"; - reg = <0xf98a4000 0x800>; - reg-names = "core_mem"; - interrupts = <0 125 0>; - interrupt-names = "core_irq"; - - qcom,bus-width = <4>; - status = "disabled"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/omap2.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v2/omap2.dtsi deleted file mode 100644 index f2ab4ea7c..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/omap2.dtsi +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Device Tree Source for OMAP2 SoC - * - * Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/ - * - * This file is licensed under the terms of the GNU General Public License - * version 2. This program is licensed "as is" without any warranty of any - * kind, whether express or implied. - */ - -/include/ "skeleton.dtsi" - -/ { - compatible = "ti,omap2430", "ti,omap2420", "ti,omap2"; - - aliases { - serial0 = &uart1; - serial1 = &uart2; - serial2 = &uart3; - }; - - cpus { - cpu@0 { - compatible = "arm,arm1136jf-s"; - }; - }; - - soc { - compatible = "ti,omap-infra"; - mpu { - compatible = "ti,omap2-mpu"; - ti,hwmods = "mpu"; - }; - }; - - ocp { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - ti,hwmods = "l3_main"; - - intc: interrupt-controller@1 { - compatible = "ti,omap2-intc"; - interrupt-controller; - #interrupt-cells = <1>; - }; - - uart1: serial@4806a000 { - compatible = "ti,omap2-uart"; - ti,hwmods = "uart1"; - clock-frequency = <48000000>; - }; - - uart2: serial@4806c000 { - compatible = "ti,omap2-uart"; - ti,hwmods = "uart2"; - clock-frequency = <48000000>; - }; - - uart3: serial@4806e000 { - compatible = "ti,omap2-uart"; - ti,hwmods = "uart3"; - clock-frequency = <48000000>; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/omap3-beagle.dts b/kernel/arch/arm/boot/dts/m7350-un-v2/omap3-beagle.dts deleted file mode 100644 index 9f72cd4cf..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/omap3-beagle.dts +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/ - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. - */ -/dts-v1/; - -/include/ "omap3.dtsi" - -/ { - model = "TI OMAP3 BeagleBoard"; - compatible = "ti,omap3-beagle", "ti,omap3"; - - memory { - device_type = "memory"; - reg = <0x80000000 0x20000000>; /* 512 MB */ - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/omap3-evm.dts b/kernel/arch/arm/boot/dts/m7350-un-v2/omap3-evm.dts deleted file mode 100644 index 2eee16ec5..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/omap3-evm.dts +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/ - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. - */ -/dts-v1/; - -/include/ "omap3.dtsi" - -/ { - model = "TI OMAP3 EVM (OMAP3530, AM/DM37x)"; - compatible = "ti,omap3-evm", "ti,omap3"; - - memory { - device_type = "memory"; - reg = <0x80000000 0x10000000>; /* 256 MB */ - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/omap3.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v2/omap3.dtsi deleted file mode 100644 index c6121357c..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/omap3.dtsi +++ /dev/null @@ -1,117 +0,0 @@ -/* - * Device Tree Source for OMAP3 SoC - * - * Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/ - * - * This file is licensed under the terms of the GNU General Public License - * version 2. This program is licensed "as is" without any warranty of any - * kind, whether express or implied. - */ - -/include/ "skeleton.dtsi" - -/ { - compatible = "ti,omap3430", "ti,omap3"; - - aliases { - serial0 = &uart1; - serial1 = &uart2; - serial2 = &uart3; - serial3 = &uart4; - }; - - cpus { - cpu@0 { - compatible = "arm,cortex-a8"; - }; - }; - - /* - * The soc node represents the soc top level view. It is uses for IPs - * that are not memory mapped in the MPU view or for the MPU itself. - */ - soc { - compatible = "ti,omap-infra"; - mpu { - compatible = "ti,omap3-mpu"; - ti,hwmods = "mpu"; - }; - - iva { - compatible = "ti,iva2.2"; - ti,hwmods = "iva"; - - dsp { - compatible = "ti,omap3-c64"; - }; - }; - }; - - /* - * XXX: Use a flat representation of the OMAP3 interconnect. - * The real OMAP interconnect network is quite complex. - * Since that will not bring real advantage to represent that in DT for - * the moment, just use a fake OCP bus entry to represent the whole bus - * hierarchy. - */ - ocp { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - ti,hwmods = "l3_main"; - - intc: interrupt-controller@48200000 { - compatible = "ti,omap2-intc"; - interrupt-controller; - #interrupt-cells = <1>; - ti,intc-size = <96>; - reg = <0x48200000 0x1000>; - }; - - uart1: serial@4806a000 { - compatible = "ti,omap3-uart"; - ti,hwmods = "uart1"; - clock-frequency = <48000000>; - }; - - uart2: serial@4806c000 { - compatible = "ti,omap3-uart"; - ti,hwmods = "uart2"; - clock-frequency = <48000000>; - }; - - uart3: serial@49020000 { - compatible = "ti,omap3-uart"; - ti,hwmods = "uart3"; - clock-frequency = <48000000>; - }; - - uart4: serial@49042000 { - compatible = "ti,omap3-uart"; - ti,hwmods = "uart4"; - clock-frequency = <48000000>; - }; - - i2c1: i2c@48070000 { - compatible = "ti,omap3-i2c"; - #address-cells = <1>; - #size-cells = <0>; - ti,hwmods = "i2c1"; - }; - - i2c2: i2c@48072000 { - compatible = "ti,omap3-i2c"; - #address-cells = <1>; - #size-cells = <0>; - ti,hwmods = "i2c2"; - }; - - i2c3: i2c@48060000 { - compatible = "ti,omap3-i2c"; - #address-cells = <1>; - #size-cells = <0>; - ti,hwmods = "i2c3"; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/omap4-panda.dts b/kernel/arch/arm/boot/dts/m7350-un-v2/omap4-panda.dts deleted file mode 100644 index 9755ad591..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/omap4-panda.dts +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/ - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. - */ -/dts-v1/; - -/include/ "omap4.dtsi" - -/ { - model = "TI OMAP4 PandaBoard"; - compatible = "ti,omap4-panda", "ti,omap4430", "ti,omap4"; - - memory { - device_type = "memory"; - reg = <0x80000000 0x40000000>; /* 1 GB */ - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/omap4-sdp.dts b/kernel/arch/arm/boot/dts/m7350-un-v2/omap4-sdp.dts deleted file mode 100644 index 63c6b2b2b..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/omap4-sdp.dts +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/ - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. - */ -/dts-v1/; - -/include/ "omap4.dtsi" - -/ { - model = "TI OMAP4 SDP board"; - compatible = "ti,omap4-sdp", "ti,omap4430", "ti,omap4"; - - memory { - device_type = "memory"; - reg = <0x80000000 0x40000000>; /* 1 GB */ - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/omap4.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v2/omap4.dtsi deleted file mode 100644 index 3d35559e7..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/omap4.dtsi +++ /dev/null @@ -1,159 +0,0 @@ -/* - * Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/ - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. - */ - -/* - * Carveout for multimedia usecases - * It should be the last 48MB of the first 512MB memory part - * In theory, it should not even exist. That zone should be reserved - * dynamically during the .reserve callback. - */ -/memreserve/ 0x9d000000 0x03000000; - -/include/ "skeleton.dtsi" - -/ { - compatible = "ti,omap4430", "ti,omap4"; - interrupt-parent = <&gic>; - - aliases { - serial0 = &uart1; - serial1 = &uart2; - serial2 = &uart3; - serial3 = &uart4; - }; - - cpus { - cpu@0 { - compatible = "arm,cortex-a9"; - }; - cpu@1 { - compatible = "arm,cortex-a9"; - }; - }; - - /* - * The soc node represents the soc top level view. It is uses for IPs - * that are not memory mapped in the MPU view or for the MPU itself. - */ - soc { - compatible = "ti,omap-infra"; - mpu { - compatible = "ti,omap4-mpu"; - ti,hwmods = "mpu"; - }; - - dsp { - compatible = "ti,omap3-c64"; - ti,hwmods = "dsp"; - }; - - iva { - compatible = "ti,ivahd"; - ti,hwmods = "iva"; - }; - }; - - /* - * XXX: Use a flat representation of the OMAP4 interconnect. - * The real OMAP interconnect network is quite complex. - * - * MPU -+-- MPU_PRIVATE - GIC, L2 - * | - * +----------------+----------+ - * | | | - * + +- EMIF - DDR | - * | | | - * | + +--------+ - * | | | - * | +- L4_ABE - AESS, MCBSP, TIMERs... - * | | - * +- L3_MAIN --+- L4_CORE - IPs... - * | - * +- L4_PER - IPs... - * | - * +- L4_CFG -+- L4_WKUP - IPs... - * | | - * | +- IPs... - * +- IPU ----+ - * | | - * +- DSP ----+ - * | | - * +- DSS ----+ - * - * Since that will not bring real advantage to represent that in DT for - * the moment, just use a fake OCP bus entry to represent the whole bus - * hierarchy. - */ - ocp { - compatible = "ti,omap4-l3-noc", "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - ti,hwmods = "l3_main_1", "l3_main_2", "l3_main_3"; - - gic: interrupt-controller@48241000 { - compatible = "arm,cortex-a9-gic"; - interrupt-controller; - #interrupt-cells = <3>; - reg = <0x48241000 0x1000>, - <0x48240100 0x0100>; - }; - - uart1: serial@4806a000 { - compatible = "ti,omap4-uart"; - ti,hwmods = "uart1"; - clock-frequency = <48000000>; - }; - - uart2: serial@4806c000 { - compatible = "ti,omap4-uart"; - ti,hwmods = "uart2"; - clock-frequency = <48000000>; - }; - - uart3: serial@48020000 { - compatible = "ti,omap4-uart"; - ti,hwmods = "uart3"; - clock-frequency = <48000000>; - }; - - uart4: serial@4806e000 { - compatible = "ti,omap4-uart"; - ti,hwmods = "uart4"; - clock-frequency = <48000000>; - }; - - i2c1: i2c@48070000 { - compatible = "ti,omap4-i2c"; - #address-cells = <1>; - #size-cells = <0>; - ti,hwmods = "i2c1"; - }; - - i2c2: i2c@48072000 { - compatible = "ti,omap4-i2c"; - #address-cells = <1>; - #size-cells = <0>; - ti,hwmods = "i2c2"; - }; - - i2c3: i2c@48060000 { - compatible = "ti,omap4-i2c"; - #address-cells = <1>; - #size-cells = <0>; - ti,hwmods = "i2c3"; - }; - - i2c4: i2c@48350000 { - compatible = "ti,omap4-i2c"; - #address-cells = <1>; - #size-cells = <0>; - ti,hwmods = "i2c4"; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/picoxcell-pc3x2.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v2/picoxcell-pc3x2.dtsi deleted file mode 100644 index f0a8c2068..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/picoxcell-pc3x2.dtsi +++ /dev/null @@ -1,249 +0,0 @@ -/* - * Copyright (C) 2011 Picochip, Jamie Iles - * - * This software is licensed under the terms of the GNU General Public - * License version 2, as published by the Free Software Foundation, and - * may be copied, distributed, and modified under those terms. - * - * 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. - */ -/include/ "skeleton.dtsi" -/ { - model = "Picochip picoXcell PC3X2"; - compatible = "picochip,pc3x2"; - #address-cells = <1>; - #size-cells = <1>; - - cpus { - #address-cells = <1>; - #size-cells = <0>; - - cpu@0 { - compatible = "arm,1176jz-s"; - clock-frequency = <400000000>; - reg = <0>; - d-cache-line-size = <32>; - d-cache-size = <32768>; - i-cache-line-size = <32>; - i-cache-size = <32768>; - }; - }; - - clocks { - #address-cells = <1>; - #size-cells = <1>; - ranges; - - pclk: clock@0 { - compatible = "fixed-clock"; - clock-outputs = "bus", "pclk"; - clock-frequency = <200000000>; - ref-clock = <&ref_clk>, "ref"; - }; - }; - - paxi { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0 0x80000000 0x400000>; - - emac: gem@30000 { - compatible = "cadence,gem"; - reg = <0x30000 0x10000>; - interrupts = <31>; - }; - - dmac1: dmac@40000 { - compatible = "snps,dw-dmac"; - reg = <0x40000 0x10000>; - interrupts = <25>; - }; - - dmac2: dmac@50000 { - compatible = "snps,dw-dmac"; - reg = <0x50000 0x10000>; - interrupts = <26>; - }; - - vic0: interrupt-controller@60000 { - compatible = "arm,pl192-vic"; - interrupt-controller; - reg = <0x60000 0x1000>; - #interrupt-cells = <1>; - }; - - vic1: interrupt-controller@64000 { - compatible = "arm,pl192-vic"; - interrupt-controller; - reg = <0x64000 0x1000>; - #interrupt-cells = <1>; - }; - - fuse: picoxcell-fuse@80000 { - compatible = "picoxcell,fuse-pc3x2"; - reg = <0x80000 0x10000>; - }; - - ssi: picoxcell-spi@90000 { - compatible = "picoxcell,spi"; - reg = <0x90000 0x10000>; - interrupt-parent = <&vic0>; - interrupts = <10>; - }; - - ipsec: spacc@100000 { - compatible = "picochip,spacc-ipsec"; - reg = <0x100000 0x10000>; - interrupt-parent = <&vic0>; - interrupts = <24>; - ref-clock = <&pclk>, "ref"; - }; - - srtp: spacc@140000 { - compatible = "picochip,spacc-srtp"; - reg = <0x140000 0x10000>; - interrupt-parent = <&vic0>; - interrupts = <23>; - }; - - l2_engine: spacc@180000 { - compatible = "picochip,spacc-l2"; - reg = <0x180000 0x10000>; - interrupt-parent = <&vic0>; - interrupts = <22>; - ref-clock = <&pclk>, "ref"; - }; - - apb { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0 0x200000 0x80000>; - - rtc0: rtc@00000 { - compatible = "picochip,pc3x2-rtc"; - clock-freq = <200000000>; - reg = <0x00000 0xf>; - interrupt-parent = <&vic1>; - interrupts = <8>; - }; - - timer0: timer@10000 { - compatible = "picochip,pc3x2-timer"; - interrupt-parent = <&vic0>; - interrupts = <4>; - clock-freq = <200000000>; - reg = <0x10000 0x14>; - }; - - timer1: timer@10014 { - compatible = "picochip,pc3x2-timer"; - interrupt-parent = <&vic0>; - interrupts = <5>; - clock-freq = <200000000>; - reg = <0x10014 0x14>; - }; - - timer2: timer@10028 { - compatible = "picochip,pc3x2-timer"; - interrupt-parent = <&vic0>; - interrupts = <6>; - clock-freq = <200000000>; - reg = <0x10028 0x14>; - }; - - timer3: timer@1003c { - compatible = "picochip,pc3x2-timer"; - interrupt-parent = <&vic0>; - interrupts = <7>; - clock-freq = <200000000>; - reg = <0x1003c 0x14>; - }; - - gpio: gpio@20000 { - compatible = "snps,dw-apb-gpio"; - reg = <0x20000 0x1000>; - #address-cells = <1>; - #size-cells = <0>; - reg-io-width = <4>; - - banka: gpio-controller@0 { - compatible = "snps,dw-apb-gpio-bank"; - gpio-controller; - #gpio-cells = <2>; - gpio-generic,nr-gpio = <8>; - - regoffset-dat = <0x50>; - regoffset-set = <0x00>; - regoffset-dirout = <0x04>; - }; - - bankb: gpio-controller@1 { - compatible = "snps,dw-apb-gpio-bank"; - gpio-controller; - #gpio-cells = <2>; - gpio-generic,nr-gpio = <8>; - - regoffset-dat = <0x54>; - regoffset-set = <0x0c>; - regoffset-dirout = <0x10>; - }; - }; - - uart0: uart@30000 { - compatible = "snps,dw-apb-uart"; - reg = <0x30000 0x1000>; - interrupt-parent = <&vic1>; - interrupts = <10>; - clock-frequency = <3686400>; - reg-shift = <2>; - reg-io-width = <4>; - }; - - uart1: uart@40000 { - compatible = "snps,dw-apb-uart"; - reg = <0x40000 0x1000>; - interrupt-parent = <&vic1>; - interrupts = <9>; - clock-frequency = <3686400>; - reg-shift = <2>; - reg-io-width = <4>; - }; - - wdog: watchdog@50000 { - compatible = "snps,dw-apb-wdg"; - reg = <0x50000 0x10000>; - interrupt-parent = <&vic0>; - interrupts = <11>; - bus-clock = <&pclk>, "bus"; - }; - }; - }; - - rwid-axi { - #address-cells = <1>; - #size-cells = <1>; - compatible = "simple-bus"; - ranges; - - ebi@50000000 { - compatible = "simple-bus"; - #address-cells = <2>; - #size-cells = <1>; - ranges = <0 0 0x40000000 0x08000000 - 1 0 0x48000000 0x08000000 - 2 0 0x50000000 0x08000000 - 3 0 0x58000000 0x08000000>; - }; - - axi2pico@c0000000 { - compatible = "picochip,axi2pico-pc3x2"; - reg = <0xc0000000 0x10000>; - interrupts = <13 14 15 16 17 18 19 20 21>; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/picoxcell-pc3x3.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v2/picoxcell-pc3x3.dtsi deleted file mode 100644 index daa962d19..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/picoxcell-pc3x3.dtsi +++ /dev/null @@ -1,365 +0,0 @@ -/* - * Copyright (C) 2011 Picochip, Jamie Iles - * - * This software is licensed under the terms of the GNU General Public - * License version 2, as published by the Free Software Foundation, and - * may be copied, distributed, and modified under those terms. - * - * 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. - */ -/include/ "skeleton.dtsi" -/ { - model = "Picochip picoXcell PC3X3"; - compatible = "picochip,pc3x3"; - #address-cells = <1>; - #size-cells = <1>; - - cpus { - #address-cells = <1>; - #size-cells = <0>; - - cpu@0 { - compatible = "arm,1176jz-s"; - cpu-clock = <&arm_clk>, "cpu"; - reg = <0>; - d-cache-line-size = <32>; - d-cache-size = <32768>; - i-cache-line-size = <32>; - i-cache-size = <32768>; - }; - }; - - clocks { - #address-cells = <1>; - #size-cells = <1>; - ranges; - - clkgate: clkgate@800a0048 { - #address-cells = <1>; - #size-cells = <0>; - reg = <0x800a0048 4>; - compatible = "picochip,pc3x3-clk-gate"; - - tzprot_clk: clock@0 { - compatible = "picochip,pc3x3-gated-clk"; - clock-outputs = "bus"; - picochip,clk-disable-bit = <0>; - clock-frequency = <200000000>; - ref-clock = <&ref_clk>, "ref"; - }; - - spi_clk: clock@1 { - compatible = "picochip,pc3x3-gated-clk"; - clock-outputs = "bus"; - picochip,clk-disable-bit = <1>; - clock-frequency = <200000000>; - ref-clock = <&ref_clk>, "ref"; - }; - - dmac0_clk: clock@2 { - compatible = "picochip,pc3x3-gated-clk"; - clock-outputs = "bus"; - picochip,clk-disable-bit = <2>; - clock-frequency = <200000000>; - ref-clock = <&ref_clk>, "ref"; - }; - - dmac1_clk: clock@3 { - compatible = "picochip,pc3x3-gated-clk"; - clock-outputs = "bus"; - picochip,clk-disable-bit = <3>; - clock-frequency = <200000000>; - ref-clock = <&ref_clk>, "ref"; - }; - - ebi_clk: clock@4 { - compatible = "picochip,pc3x3-gated-clk"; - clock-outputs = "bus"; - picochip,clk-disable-bit = <4>; - clock-frequency = <200000000>; - ref-clock = <&ref_clk>, "ref"; - }; - - ipsec_clk: clock@5 { - compatible = "picochip,pc3x3-gated-clk"; - clock-outputs = "bus"; - picochip,clk-disable-bit = <5>; - clock-frequency = <200000000>; - ref-clock = <&ref_clk>, "ref"; - }; - - l2_clk: clock@6 { - compatible = "picochip,pc3x3-gated-clk"; - clock-outputs = "bus"; - picochip,clk-disable-bit = <6>; - clock-frequency = <200000000>; - ref-clock = <&ref_clk>, "ref"; - }; - - trng_clk: clock@7 { - compatible = "picochip,pc3x3-gated-clk"; - clock-outputs = "bus"; - picochip,clk-disable-bit = <7>; - clock-frequency = <200000000>; - ref-clock = <&ref_clk>, "ref"; - }; - - fuse_clk: clock@8 { - compatible = "picochip,pc3x3-gated-clk"; - clock-outputs = "bus"; - picochip,clk-disable-bit = <8>; - clock-frequency = <200000000>; - ref-clock = <&ref_clk>, "ref"; - }; - - otp_clk: clock@9 { - compatible = "picochip,pc3x3-gated-clk"; - clock-outputs = "bus"; - picochip,clk-disable-bit = <9>; - clock-frequency = <200000000>; - ref-clock = <&ref_clk>, "ref"; - }; - }; - - arm_clk: clock@11 { - compatible = "picochip,pc3x3-pll"; - reg = <0x800a0050 0x8>; - picochip,min-freq = <140000000>; - picochip,max-freq = <700000000>; - ref-clock = <&ref_clk>, "ref"; - clock-outputs = "cpu"; - }; - - pclk: clock@12 { - compatible = "fixed-clock"; - clock-outputs = "bus", "pclk"; - clock-frequency = <200000000>; - ref-clock = <&ref_clk>, "ref"; - }; - }; - - paxi { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0 0x80000000 0x400000>; - - emac: gem@30000 { - compatible = "cadence,gem"; - reg = <0x30000 0x10000>; - interrupt-parent = <&vic0>; - interrupts = <31>; - }; - - dmac1: dmac@40000 { - compatible = "snps,dw-dmac"; - reg = <0x40000 0x10000>; - interrupt-parent = <&vic0>; - interrupts = <25>; - }; - - dmac2: dmac@50000 { - compatible = "snps,dw-dmac"; - reg = <0x50000 0x10000>; - interrupt-parent = <&vic0>; - interrupts = <26>; - }; - - vic0: interrupt-controller@60000 { - compatible = "arm,pl192-vic"; - interrupt-controller; - reg = <0x60000 0x1000>; - #interrupt-cells = <1>; - }; - - vic1: interrupt-controller@64000 { - compatible = "arm,pl192-vic"; - interrupt-controller; - reg = <0x64000 0x1000>; - #interrupt-cells = <1>; - }; - - fuse: picoxcell-fuse@80000 { - compatible = "picoxcell,fuse-pc3x3"; - reg = <0x80000 0x10000>; - }; - - ssi: picoxcell-spi@90000 { - compatible = "picoxcell,spi"; - reg = <0x90000 0x10000>; - interrupt-parent = <&vic0>; - interrupts = <10>; - }; - - ipsec: spacc@100000 { - compatible = "picochip,spacc-ipsec"; - reg = <0x100000 0x10000>; - interrupt-parent = <&vic0>; - interrupts = <24>; - ref-clock = <&ipsec_clk>, "ref"; - }; - - srtp: spacc@140000 { - compatible = "picochip,spacc-srtp"; - reg = <0x140000 0x10000>; - interrupt-parent = <&vic0>; - interrupts = <23>; - }; - - l2_engine: spacc@180000 { - compatible = "picochip,spacc-l2"; - reg = <0x180000 0x10000>; - interrupt-parent = <&vic0>; - interrupts = <22>; - ref-clock = <&l2_clk>, "ref"; - }; - - apb { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0 0x200000 0x80000>; - - rtc0: rtc@00000 { - compatible = "picochip,pc3x2-rtc"; - clock-freq = <200000000>; - reg = <0x00000 0xf>; - interrupt-parent = <&vic0>; - interrupts = <8>; - }; - - timer0: timer@10000 { - compatible = "picochip,pc3x2-timer"; - interrupt-parent = <&vic0>; - interrupts = <4>; - clock-freq = <200000000>; - reg = <0x10000 0x14>; - }; - - timer1: timer@10014 { - compatible = "picochip,pc3x2-timer"; - interrupt-parent = <&vic0>; - interrupts = <5>; - clock-freq = <200000000>; - reg = <0x10014 0x14>; - }; - - gpio: gpio@20000 { - compatible = "snps,dw-apb-gpio"; - reg = <0x20000 0x1000>; - #address-cells = <1>; - #size-cells = <0>; - reg-io-width = <4>; - - banka: gpio-controller@0 { - compatible = "snps,dw-apb-gpio-bank"; - gpio-controller; - #gpio-cells = <2>; - gpio-generic,nr-gpio = <8>; - - regoffset-dat = <0x50>; - regoffset-set = <0x00>; - regoffset-dirout = <0x04>; - }; - - bankb: gpio-controller@1 { - compatible = "snps,dw-apb-gpio-bank"; - gpio-controller; - #gpio-cells = <2>; - gpio-generic,nr-gpio = <16>; - - regoffset-dat = <0x54>; - regoffset-set = <0x0c>; - regoffset-dirout = <0x10>; - }; - - bankd: gpio-controller@2 { - compatible = "snps,dw-apb-gpio-bank"; - gpio-controller; - #gpio-cells = <2>; - gpio-generic,nr-gpio = <30>; - - regoffset-dat = <0x5c>; - regoffset-set = <0x24>; - regoffset-dirout = <0x28>; - }; - }; - - uart0: uart@30000 { - compatible = "snps,dw-apb-uart"; - reg = <0x30000 0x1000>; - interrupt-parent = <&vic1>; - interrupts = <10>; - clock-frequency = <3686400>; - reg-shift = <2>; - reg-io-width = <4>; - }; - - uart1: uart@40000 { - compatible = "snps,dw-apb-uart"; - reg = <0x40000 0x1000>; - interrupt-parent = <&vic1>; - interrupts = <9>; - clock-frequency = <3686400>; - reg-shift = <2>; - reg-io-width = <4>; - }; - - wdog: watchdog@50000 { - compatible = "snps,dw-apb-wdg"; - reg = <0x50000 0x10000>; - interrupt-parent = <&vic0>; - interrupts = <11>; - bus-clock = <&pclk>, "bus"; - }; - - timer2: timer@60000 { - compatible = "picochip,pc3x2-timer"; - interrupt-parent = <&vic0>; - interrupts = <6>; - clock-freq = <200000000>; - reg = <0x60000 0x14>; - }; - - timer3: timer@60014 { - compatible = "picochip,pc3x2-timer"; - interrupt-parent = <&vic0>; - interrupts = <7>; - clock-freq = <200000000>; - reg = <0x60014 0x14>; - }; - }; - }; - - rwid-axi { - #address-cells = <1>; - #size-cells = <1>; - compatible = "simple-bus"; - ranges; - - ebi@50000000 { - compatible = "simple-bus"; - #address-cells = <2>; - #size-cells = <1>; - ranges = <0 0 0x40000000 0x08000000 - 1 0 0x48000000 0x08000000 - 2 0 0x50000000 0x08000000 - 3 0 0x58000000 0x08000000>; - }; - - axi2pico@c0000000 { - compatible = "picochip,axi2pico-pc3x3"; - reg = <0xc0000000 0x10000>; - interrupt-parent = <&vic0>; - interrupts = <13 14 15 16 17 18 19 20 21>; - }; - - otp@ffff8000 { - compatible = "picochip,otp-pc3x3"; - reg = <0xffff8000 0x8000>; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/picoxcell-pc7302-pc3x2.dts b/kernel/arch/arm/boot/dts/m7350-un-v2/picoxcell-pc7302-pc3x2.dts deleted file mode 100644 index 1297414dd..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/picoxcell-pc7302-pc3x2.dts +++ /dev/null @@ -1,86 +0,0 @@ -/* - * Copyright (C) 2011 Picochip, Jamie Iles - * - * This software is licensed under the terms of the GNU General Public - * License version 2, as published by the Free Software Foundation, and - * may be copied, distributed, and modified under those terms. - * - * 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. - */ - -/dts-v1/; -/include/ "picoxcell-pc3x2.dtsi" -/ { - model = "Picochip PC7302 (PC3X2)"; - compatible = "picochip,pc7302-pc3x2", "picochip,pc3x2"; - - memory { - device_type = "memory"; - reg = <0x0 0x08000000>; - }; - - chosen { - linux,stdout-path = &uart0; - }; - - clocks { - ref_clk: clock@1 { - compatible = "fixed-clock"; - clock-outputs = "ref"; - clock-frequency = <20000000>; - }; - }; - - rwid-axi { - ebi@50000000 { - nand: gpio-nand@2,0 { - compatible = "gpio-control-nand"; - #address-cells = <1>; - #size-cells = <1>; - reg = <2 0x0000 0x1000>; - bus-clock = <&pclk>, "bus"; - gpio-control-nand,io-sync-reg = - <0x00000000 0x80220000>; - - gpios = <&banka 1 0 /* rdy */ - &banka 2 0 /* nce */ - &banka 3 0 /* ale */ - &banka 4 0 /* cle */ - 0 /* nwp */>; - - boot@100000 { - label = "Boot"; - reg = <0x100000 0x80000>; - }; - - redundant-boot@200000 { - label = "Redundant Boot"; - reg = <0x200000 0x80000>; - }; - - boot-env@300000 { - label = "Boot Evironment"; - reg = <0x300000 0x20000>; - }; - - redundant-boot-env@320000 { - label = "Redundant Boot Environment"; - reg = <0x300000 0x20000>; - }; - - kernel@380000 { - label = "Kernel"; - reg = <0x380000 0x800000>; - }; - - fs@b80000 { - label = "File System"; - reg = <0xb80000 0xf480000>; - }; - }; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/picoxcell-pc7302-pc3x3.dts b/kernel/arch/arm/boot/dts/m7350-un-v2/picoxcell-pc7302-pc3x3.dts deleted file mode 100644 index 9e317a4f4..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/picoxcell-pc7302-pc3x3.dts +++ /dev/null @@ -1,92 +0,0 @@ -/* - * Copyright (C) 2011 Picochip, Jamie Iles - * - * This software is licensed under the terms of the GNU General Public - * License version 2, as published by the Free Software Foundation, and - * may be copied, distributed, and modified under those terms. - * - * 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. - */ - -/dts-v1/; -/include/ "picoxcell-pc3x3.dtsi" -/ { - model = "Picochip PC7302 (PC3X3)"; - compatible = "picochip,pc7302-pc3x3", "picochip,pc3x3"; - - memory { - device_type = "memory"; - reg = <0x0 0x08000000>; - }; - - chosen { - linux,stdout-path = &uart0; - }; - - clocks { - ref_clk: clock@10 { - compatible = "fixed-clock"; - clock-outputs = "ref"; - clock-frequency = <20000000>; - }; - - clkgate: clkgate@800a0048 { - clock@4 { - picochip,clk-no-disable; - }; - }; - }; - - rwid-axi { - ebi@50000000 { - nand: gpio-nand@2,0 { - compatible = "gpio-control-nand"; - #address-cells = <1>; - #size-cells = <1>; - reg = <2 0x0000 0x1000>; - bus-clock = <&ebi_clk>, "bus"; - gpio-control-nand,io-sync-reg = - <0x00000000 0x80220000>; - - gpios = <&banka 1 0 /* rdy */ - &banka 2 0 /* nce */ - &banka 3 0 /* ale */ - &banka 4 0 /* cle */ - 0 /* nwp */>; - - boot@100000 { - label = "Boot"; - reg = <0x100000 0x80000>; - }; - - redundant-boot@200000 { - label = "Redundant Boot"; - reg = <0x200000 0x80000>; - }; - - boot-env@300000 { - label = "Boot Evironment"; - reg = <0x300000 0x20000>; - }; - - redundant-boot-env@320000 { - label = "Redundant Boot Environment"; - reg = <0x300000 0x20000>; - }; - - kernel@380000 { - label = "Kernel"; - reg = <0x380000 0x800000>; - }; - - fs@b80000 { - label = "File System"; - reg = <0xb80000 0xf480000>; - }; - }; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/prima2-cb.dts b/kernel/arch/arm/boot/dts/m7350-un-v2/prima2-cb.dts deleted file mode 100644 index 34ae3a64b..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/prima2-cb.dts +++ /dev/null @@ -1,424 +0,0 @@ -/dts-v1/; -/ { - model = "SiRF Prima2 eVB"; - compatible = "sirf,prima2-cb", "sirf,prima2"; - #address-cells = <1>; - #size-cells = <1>; - interrupt-parent = <&intc>; - - memory { - reg = <0x00000000 0x20000000>; - }; - - chosen { - bootargs = "mem=512M real_root=/dev/mmcblk0p2 console=ttyS0 panel=1 bootsplash=true bpp=16 androidboot.console=ttyS1"; - linux,stdout-path = &uart1; - }; - - cpus { - #address-cells = <1>; - #size-cells = <0>; - - cpu@0 { - reg = <0x0>; - d-cache-line-size = <32>; - i-cache-line-size = <32>; - d-cache-size = <32768>; - i-cache-size = <32768>; - /* from bootloader */ - timebase-frequency = <0>; - bus-frequency = <0>; - clock-frequency = <0>; - }; - }; - - axi { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0x40000000 0x40000000 0x80000000>; - - l2-cache-controller@80040000 { - compatible = "arm,pl310-cache", "sirf,prima2-pl310-cache"; - reg = <0x80040000 0x1000>; - interrupts = <59>; - arm,tag-latency = <1 1 1>; - arm,data-latency = <1 1 1>; - arm,filter-ranges = <0 0x40000000>; - }; - - intc: interrupt-controller@80020000 { - #interrupt-cells = <1>; - interrupt-controller; - compatible = "sirf,prima2-intc"; - reg = <0x80020000 0x1000>; - }; - - sys-iobg { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0x88000000 0x88000000 0x40000>; - - clock-controller@88000000 { - compatible = "sirf,prima2-clkc"; - reg = <0x88000000 0x1000>; - interrupts = <3>; - }; - - reset-controller@88010000 { - compatible = "sirf,prima2-rstc"; - reg = <0x88010000 0x1000>; - }; - - rsc-controller@88020000 { - compatible = "sirf,prima2-rsc"; - reg = <0x88020000 0x1000>; - }; - }; - - mem-iobg { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0x90000000 0x90000000 0x10000>; - - memory-controller@90000000 { - compatible = "sirf,prima2-memc"; - reg = <0x90000000 0x10000>; - interrupts = <27>; - }; - }; - - disp-iobg { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0x90010000 0x90010000 0x30000>; - - display@90010000 { - compatible = "sirf,prima2-lcd"; - reg = <0x90010000 0x20000>; - interrupts = <30>; - }; - - vpp@90020000 { - compatible = "sirf,prima2-vpp"; - reg = <0x90020000 0x10000>; - interrupts = <31>; - }; - }; - - graphics-iobg { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0x98000000 0x98000000 0x8000000>; - - graphics@98000000 { - compatible = "powervr,sgx531"; - reg = <0x98000000 0x8000000>; - interrupts = <6>; - }; - }; - - multimedia-iobg { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0xa0000000 0xa0000000 0x8000000>; - - multimedia@a0000000 { - compatible = "sirf,prima2-video-codec"; - reg = <0xa0000000 0x8000000>; - interrupts = <5>; - }; - }; - - dsp-iobg { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0xa8000000 0xa8000000 0x2000000>; - - dspif@a8000000 { - compatible = "sirf,prima2-dspif"; - reg = <0xa8000000 0x10000>; - interrupts = <9>; - }; - - gps@a8010000 { - compatible = "sirf,prima2-gps"; - reg = <0xa8010000 0x10000>; - interrupts = <7>; - }; - - dsp@a9000000 { - compatible = "sirf,prima2-dsp"; - reg = <0xa9000000 0x1000000>; - interrupts = <8>; - }; - }; - - peri-iobg { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0xb0000000 0xb0000000 0x180000>; - - timer@b0020000 { - compatible = "sirf,prima2-tick"; - reg = <0xb0020000 0x1000>; - interrupts = <0>; - }; - - nand@b0030000 { - compatible = "sirf,prima2-nand"; - reg = <0xb0030000 0x10000>; - interrupts = <41>; - }; - - audio@b0040000 { - compatible = "sirf,prima2-audio"; - reg = <0xb0040000 0x10000>; - interrupts = <35>; - }; - - uart0: uart@b0050000 { - cell-index = <0>; - compatible = "sirf,prima2-uart"; - reg = <0xb0050000 0x10000>; - interrupts = <17>; - }; - - uart1: uart@b0060000 { - cell-index = <1>; - compatible = "sirf,prima2-uart"; - reg = <0xb0060000 0x10000>; - interrupts = <18>; - }; - - uart2: uart@b0070000 { - cell-index = <2>; - compatible = "sirf,prima2-uart"; - reg = <0xb0070000 0x10000>; - interrupts = <19>; - }; - - usp0: usp@b0080000 { - cell-index = <0>; - compatible = "sirf,prima2-usp"; - reg = <0xb0080000 0x10000>; - interrupts = <20>; - }; - - usp1: usp@b0090000 { - cell-index = <1>; - compatible = "sirf,prima2-usp"; - reg = <0xb0090000 0x10000>; - interrupts = <21>; - }; - - usp2: usp@b00a0000 { - cell-index = <2>; - compatible = "sirf,prima2-usp"; - reg = <0xb00a0000 0x10000>; - interrupts = <22>; - }; - - dmac0: dma-controller@b00b0000 { - cell-index = <0>; - compatible = "sirf,prima2-dmac"; - reg = <0xb00b0000 0x10000>; - interrupts = <12>; - }; - - dmac1: dma-controller@b0160000 { - cell-index = <1>; - compatible = "sirf,prima2-dmac"; - reg = <0xb0160000 0x10000>; - interrupts = <13>; - }; - - vip@b00C0000 { - compatible = "sirf,prima2-vip"; - reg = <0xb00C0000 0x10000>; - }; - - spi0: spi@b00d0000 { - cell-index = <0>; - compatible = "sirf,prima2-spi"; - reg = <0xb00d0000 0x10000>; - interrupts = <15>; - }; - - spi1: spi@b0170000 { - cell-index = <1>; - compatible = "sirf,prima2-spi"; - reg = <0xb0170000 0x10000>; - interrupts = <16>; - }; - - i2c0: i2c@b00e0000 { - cell-index = <0>; - compatible = "sirf,prima2-i2c"; - reg = <0xb00e0000 0x10000>; - interrupts = <24>; - }; - - i2c1: i2c@b00f0000 { - cell-index = <1>; - compatible = "sirf,prima2-i2c"; - reg = <0xb00f0000 0x10000>; - interrupts = <25>; - }; - - tsc@b0110000 { - compatible = "sirf,prima2-tsc"; - reg = <0xb0110000 0x10000>; - interrupts = <33>; - }; - - gpio: gpio-controller@b0120000 { - #gpio-cells = <2>; - #interrupt-cells = <2>; - compatible = "sirf,prima2-gpio-pinmux"; - reg = <0xb0120000 0x10000>; - gpio-controller; - interrupt-controller; - }; - - pwm@b0130000 { - compatible = "sirf,prima2-pwm"; - reg = <0xb0130000 0x10000>; - }; - - efusesys@b0140000 { - compatible = "sirf,prima2-efuse"; - reg = <0xb0140000 0x10000>; - }; - - pulsec@b0150000 { - compatible = "sirf,prima2-pulsec"; - reg = <0xb0150000 0x10000>; - interrupts = <48>; - }; - - pci-iobg { - compatible = "sirf,prima2-pciiobg", "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0x56000000 0x56000000 0x1b00000>; - - sd0: sdhci@56000000 { - cell-index = <0>; - compatible = "sirf,prima2-sdhc"; - reg = <0x56000000 0x100000>; - interrupts = <38>; - }; - - sd1: sdhci@56100000 { - cell-index = <1>; - compatible = "sirf,prima2-sdhc"; - reg = <0x56100000 0x100000>; - interrupts = <38>; - }; - - sd2: sdhci@56200000 { - cell-index = <2>; - compatible = "sirf,prima2-sdhc"; - reg = <0x56200000 0x100000>; - interrupts = <23>; - }; - - sd3: sdhci@56300000 { - cell-index = <3>; - compatible = "sirf,prima2-sdhc"; - reg = <0x56300000 0x100000>; - interrupts = <23>; - }; - - sd4: sdhci@56400000 { - cell-index = <4>; - compatible = "sirf,prima2-sdhc"; - reg = <0x56400000 0x100000>; - interrupts = <39>; - }; - - sd5: sdhci@56500000 { - cell-index = <5>; - compatible = "sirf,prima2-sdhc"; - reg = <0x56500000 0x100000>; - interrupts = <39>; - }; - - pci-copy@57900000 { - compatible = "sirf,prima2-pcicp"; - reg = <0x57900000 0x100000>; - interrupts = <40>; - }; - - rom-interface@57a00000 { - compatible = "sirf,prima2-romif"; - reg = <0x57a00000 0x100000>; - }; - }; - }; - - rtc-iobg { - compatible = "sirf,prima2-rtciobg", "sirf-prima2-rtciobg-bus"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0x80030000 0x10000>; - - gpsrtc@1000 { - compatible = "sirf,prima2-gpsrtc"; - reg = <0x1000 0x1000>; - interrupts = <55 56 57>; - }; - - sysrtc@2000 { - compatible = "sirf,prima2-sysrtc"; - reg = <0x2000 0x1000>; - interrupts = <52 53 54>; - }; - - pwrc@3000 { - compatible = "sirf,prima2-pwrc"; - reg = <0x3000 0x1000>; - interrupts = <32>; - }; - }; - - uus-iobg { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0xb8000000 0xb8000000 0x40000>; - - usb0: usb@b00e0000 { - compatible = "chipidea,ci13611a-prima2"; - reg = <0xb8000000 0x10000>; - interrupts = <10>; - }; - - usb1: usb@b00f0000 { - compatible = "chipidea,ci13611a-prima2"; - reg = <0xb8010000 0x10000>; - interrupts = <11>; - }; - - sata@b00f0000 { - compatible = "synopsys,dwc-ahsata"; - reg = <0xb8020000 0x10000>; - interrupts = <37>; - }; - - security@b00f0000 { - compatible = "sirf,prima2-security"; - reg = <0xb8030000 0x10000>; - interrupts = <42>; - }; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/pxa168-aspenite.dts b/kernel/arch/arm/boot/dts/m7350-un-v2/pxa168-aspenite.dts deleted file mode 100644 index e762facb3..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/pxa168-aspenite.dts +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright (C) 2012 Marvell Technology Group Ltd. - * Author: Haojian Zhuang - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * publishhed by the Free Software Foundation. - */ - -/dts-v1/; -/include/ "pxa168.dtsi" - -/ { - model = "Marvell PXA168 Aspenite Development Board"; - compatible = "mrvl,pxa168-aspenite", "mrvl,pxa168"; - - chosen { - bootargs = "console=ttyS0,115200 root=/dev/nfs nfsroot=192.168.1.100:/nfsroot/ ip=192.168.1.101:192.168.1.100::255.255.255.0::eth0:on"; - }; - - memory { - reg = <0x00000000 0x04000000>; - }; - - soc { - apb@d4000000 { - uart1: uart@d4017000 { - status = "okay"; - }; - twsi1: i2c@d4011000 { - status = "okay"; - }; - rtc: rtc@d4010000 { - status = "okay"; - }; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/pxa168.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v2/pxa168.dtsi deleted file mode 100644 index d32d5128f..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/pxa168.dtsi +++ /dev/null @@ -1,98 +0,0 @@ -/* - * Copyright (C) 2012 Marvell Technology Group Ltd. - * Author: Haojian Zhuang - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * publishhed by the Free Software Foundation. - */ - -/include/ "skeleton.dtsi" - -/ { - aliases { - serial0 = &uart1; - serial1 = &uart2; - serial2 = &uart3; - i2c0 = &twsi1; - i2c1 = &twsi2; - }; - - intc: intc-interrupt-controller@d4282000 { - compatible = "mrvl,mmp-intc", "mrvl,intc"; - interrupt-controller; - #interrupt-cells = <1>; - reg = <0xd4282000 0x1000>; - }; - - soc { - #address-cells = <1>; - #size-cells = <1>; - compatible = "simple-bus"; - interrupt-parent = <&intc>; - ranges; - - apb@d4000000 { /* APB */ - compatible = "mrvl,apb-bus", "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xd4000000 0x00200000>; - ranges; - - uart1: uart@d4017000 { - compatible = "mrvl,mmp-uart", "mrvl,pxa-uart"; - reg = <0xd4017000 0x1000>; - interrupts = <27>; - status = "disabled"; - }; - - uart2: uart@d4018000 { - compatible = "mrvl,mmp-uart", "mrvl,pxa-uart"; - reg = <0xd4018000 0x1000>; - interrupts = <28>; - status = "disabled"; - }; - - uart3: uart@d4026000 { - compatible = "mrvl,mmp-uart", "mrvl,pxa-uart"; - reg = <0xd4026000 0x1000>; - interrupts = <29>; - status = "disabled"; - }; - - gpio: gpio@d4019000 { - compatible = "mrvl,mmp-gpio", "mrvl,pxa-gpio"; - reg = <0xd4019000 0x1000>; - interrupts = <49>; - interrupt-names = "gpio_mux"; - gpio-controller; - #gpio-cells = <1>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - twsi1: i2c@d4011000 { - compatible = "mrvl,mmp-twsi", "mrvl,pxa-i2c"; - reg = <0xd4011000 0x1000>; - interrupts = <7>; - mrvl,i2c-fast-mode; - status = "disabled"; - }; - - twsi2: i2c@d4025000 { - compatible = "mrvl,mmp-twsi", "mrvl,pxa-i2c"; - reg = <0xd4025000 0x1000>; - interrupts = <58>; - status = "disabled"; - }; - - rtc: rtc@d4010000 { - compatible = "mrvl,mmp-rtc"; - reg = <0xd4010000 0x1000>; - interrupts = <5 6>; - interrupt-names = "rtc 1Hz", "rtc alarm"; - status = "disabled"; - }; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/qpic-panel-ili-qvga.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v2/qpic-panel-ili-qvga.dtsi deleted file mode 100644 index 089f1125d..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/qpic-panel-ili-qvga.dtsi +++ /dev/null @@ -1,27 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -&soc { - qcom,mdss_lcdc_ili9341_qvga { - compatible = "qcom,mdss-qpic-panel"; - label = "ili qvga lcdc panel"; - vdd-supply = <&pm8019_l11>; - avdd-supply = <&pm8019_l14>; - qcom,cs-gpio = <&msmgpio 21 0>; - qcom,te-gpio = <&msmgpio 22 0>; - qcom,rst-gpio = <&msmgpio 23 0>; - qcom,ad8-gpio = <&msmgpio 20 0>; - qcom,mdss-pan-res = <240 320>; - qcom,mdss-pan-bpp = <18>; - qcom,refresh_rate = <60>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/skeleton.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v2/skeleton.dtsi deleted file mode 100644 index f9988cd78..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/skeleton.dtsi +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Skeleton device tree; the bare minimum needed to boot; just include and - * add a compatible value. The bootloader will typically populate the memory - * node. - */ - -/ { - #address-cells = <1>; - #size-cells = <1>; - chosen { }; - aliases { }; - memory { - #address-cells = <1>; - #size-cells = <1>; - device_type = "memory"; - reg = <0 0>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/skeleton64.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v2/skeleton64.dtsi deleted file mode 100644 index 5bf6a82f0..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/skeleton64.dtsi +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Skeleton device tree; the bare minimum needed to boot; just include and - * add a compatible value. The bootloader will typically populate the memory - * node. - */ - -/ { - #address-cells = <2>; - #size-cells = <2>; - chosen { }; - aliases { }; - memory { - #address-cells = <2>; - #size-cells = <2>; - device_type = "memory"; - reg = <0 0 0 0>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/snowball.dts b/kernel/arch/arm/boot/dts/m7350-un-v2/snowball.dts deleted file mode 100644 index 359c6d679..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/snowball.dts +++ /dev/null @@ -1,139 +0,0 @@ -/* - * Copyright 2011 ST-Ericsson AB - * - * The code contained herein is licensed under the GNU General Public - * License. You may obtain a copy of the GNU General Public License - * Version 2 or later at the following locations: - * - * http://www.opensource.org/licenses/gpl-license.html - * http://www.gnu.org/copyleft/gpl.html - */ - -/dts-v1/; -/include/ "db8500.dtsi" - -/ { - model = "Calao Systems Snowball platform with device tree"; - compatible = "calaosystems,snowball-a9500"; - - memory { - reg = <0x00000000 0x20000000>; - }; - - gpio_keys { - compatible = "gpio-keys"; - #address-cells = <1>; - #size-cells = <0>; - - button@1 { - debounce_interval = <50>; - wakeup = <1>; - linux,code = <2>; - label = "userpb"; - gpios = <&gpio1 0>; - }; - button@2 { - debounce_interval = <50>; - wakeup = <1>; - linux,code = <3>; - label = "userpb"; - gpios = <&gpio4 23>; - }; - button@3 { - debounce_interval = <50>; - wakeup = <1>; - linux,code = <4>; - label = "userpb"; - gpios = <&gpio4 23>; - }; - button@4 { - debounce_interval = <50>; - wakeup = <1>; - linux,code = <5>; - label = "userpb"; - gpios = <&gpio5 1>; - }; - button@5 { - debounce_interval = <50>; - wakeup = <1>; - linux,code = <6>; - label = "userpb"; - gpios = <&gpio5 2>; - }; - }; - - leds { - compatible = "gpio-leds"; - used-led { - label = "user_led"; - gpios = <&gpio4 14>; - }; - }; - - soc-u9500 { - - external-bus@50000000 { - compatible = "simple-bus"; - reg = <0x50000000 0x10000000>; - #address-cells = <1>; - #size-cells = <1>; - ranges; - - ethernet@50000000 { - compatible = "smsc,9111"; - reg = <0x50000000 0x10000>; - interrupts = <12>; - interrupt-parent = <&gpio4>; - }; - }; - - sdi@80126000 { - status = "enabled"; - cd-gpios = <&gpio6 26>; - }; - - sdi@80114000 { - status = "enabled"; - }; - - uart@80120000 { - status = "okay"; - }; - - uart@80121000 { - status = "okay"; - }; - - uart@80007000 { - status = "okay"; - }; - - i2c@80004000 { - tc3589x@42 { - //compatible = "tc3589x"; - reg = <0x42>; - interrupts = <25>; - interrupt-parent = <&gpio6>; - }; - tps61052@33 { - //compatible = "tps61052"; - reg = <0x33>; - }; - }; - - i2c@80128000 { - lp5521@0x33 { - // compatible = "lp5521"; - reg = <0x33>; - }; - lp5521@0x34 { - // compatible = "lp5521"; - reg = <0x34>; - }; - bh1780@0x29 { - // compatible = "rohm,bh1780gli"; - reg = <0x33>; - }; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/spear600-evb.dts b/kernel/arch/arm/boot/dts/m7350-un-v2/spear600-evb.dts deleted file mode 100644 index 636292e18..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/spear600-evb.dts +++ /dev/null @@ -1,47 +0,0 @@ -/* - * Copyright 2012 Stefan Roese - * - * The code contained herein is licensed under the GNU General Public - * License. You may obtain a copy of the GNU General Public License - * Version 2 or later at the following locations: - * - * http://www.opensource.org/licenses/gpl-license.html - * http://www.gnu.org/copyleft/gpl.html - */ - -/dts-v1/; -/include/ "spear600.dtsi" - -/ { - model = "ST SPEAr600 Evaluation Board"; - compatible = "st,spear600-evb", "st,spear600"; - #address-cells = <1>; - #size-cells = <1>; - - memory { - device_type = "memory"; - reg = <0 0x10000000>; - }; - - ahb { - gmac: ethernet@e0800000 { - phy-mode = "gmii"; - status = "okay"; - }; - - apb { - serial@d0000000 { - status = "okay"; - }; - - serial@d0080000 { - status = "okay"; - }; - - i2c@d0200000 { - clock-frequency = <400000>; - status = "okay"; - }; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/spear600.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v2/spear600.dtsi deleted file mode 100644 index ebe0885a2..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/spear600.dtsi +++ /dev/null @@ -1,174 +0,0 @@ -/* - * Copyright 2012 Stefan Roese - * - * The code contained herein is licensed under the GNU General Public - * License. You may obtain a copy of the GNU General Public License - * Version 2 or later at the following locations: - * - * http://www.opensource.org/licenses/gpl-license.html - * http://www.gnu.org/copyleft/gpl.html - */ - -/include/ "skeleton.dtsi" - -/ { - compatible = "st,spear600"; - - cpus { - cpu@0 { - compatible = "arm,arm926ejs"; - }; - }; - - memory { - device_type = "memory"; - reg = <0 0x40000000>; - }; - - ahb { - #address-cells = <1>; - #size-cells = <1>; - compatible = "simple-bus"; - ranges = <0xd0000000 0xd0000000 0x30000000>; - - vic0: interrupt-controller@f1100000 { - compatible = "arm,pl190-vic"; - interrupt-controller; - reg = <0xf1100000 0x1000>; - #interrupt-cells = <1>; - }; - - vic1: interrupt-controller@f1000000 { - compatible = "arm,pl190-vic"; - interrupt-controller; - reg = <0xf1000000 0x1000>; - #interrupt-cells = <1>; - }; - - gmac: ethernet@e0800000 { - compatible = "st,spear600-gmac"; - reg = <0xe0800000 0x8000>; - interrupt-parent = <&vic1>; - interrupts = <24 23>; - interrupt-names = "macirq", "eth_wake_irq"; - status = "disabled"; - }; - - fsmc: flash@d1800000 { - compatible = "st,spear600-fsmc-nand"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xd1800000 0x1000 /* FSMC Register */ - 0xd2000000 0x4000>; /* NAND Base */ - reg-names = "fsmc_regs", "nand_data"; - st,ale-off = <0x20000>; - st,cle-off = <0x10000>; - status = "disabled"; - }; - - smi: flash@fc000000 { - compatible = "st,spear600-smi"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xfc000000 0x1000>; - interrupt-parent = <&vic1>; - interrupts = <12>; - status = "disabled"; - }; - - ehci@e1800000 { - compatible = "st,spear600-ehci", "usb-ehci"; - reg = <0xe1800000 0x1000>; - interrupt-parent = <&vic1>; - interrupts = <27>; - status = "disabled"; - }; - - ehci@e2000000 { - compatible = "st,spear600-ehci", "usb-ehci"; - reg = <0xe2000000 0x1000>; - interrupt-parent = <&vic1>; - interrupts = <29>; - status = "disabled"; - }; - - ohci@e1900000 { - compatible = "st,spear600-ohci", "usb-ohci"; - reg = <0xe1900000 0x1000>; - interrupt-parent = <&vic1>; - interrupts = <26>; - status = "disabled"; - }; - - ohci@e2100000 { - compatible = "st,spear600-ohci", "usb-ohci"; - reg = <0xe2100000 0x1000>; - interrupt-parent = <&vic1>; - interrupts = <28>; - status = "disabled"; - }; - - apb { - #address-cells = <1>; - #size-cells = <1>; - compatible = "simple-bus"; - ranges = <0xd0000000 0xd0000000 0x30000000>; - - serial@d0000000 { - compatible = "arm,pl011", "arm,primecell"; - reg = <0xd0000000 0x1000>; - interrupt-parent = <&vic0>; - interrupts = <24>; - status = "disabled"; - }; - - serial@d0080000 { - compatible = "arm,pl011", "arm,primecell"; - reg = <0xd0080000 0x1000>; - interrupt-parent = <&vic0>; - interrupts = <25>; - status = "disabled"; - }; - - /* local/cpu GPIO */ - gpio0: gpio@f0100000 { - #gpio-cells = <2>; - compatible = "arm,pl061", "arm,primecell"; - gpio-controller; - reg = <0xf0100000 0x1000>; - interrupt-parent = <&vic0>; - interrupts = <18>; - }; - - /* basic GPIO */ - gpio1: gpio@fc980000 { - #gpio-cells = <2>; - compatible = "arm,pl061", "arm,primecell"; - gpio-controller; - reg = <0xfc980000 0x1000>; - interrupt-parent = <&vic1>; - interrupts = <19>; - }; - - /* appl GPIO */ - gpio2: gpio@d8100000 { - #gpio-cells = <2>; - compatible = "arm,pl061", "arm,primecell"; - gpio-controller; - reg = <0xd8100000 0x1000>; - interrupt-parent = <&vic1>; - interrupts = <4>; - }; - - i2c@d0200000 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "snps,designware-i2c"; - reg = <0xd0200000 0x1000>; - interrupt-parent = <&vic0>; - interrupts = <28>; - status = "disabled"; - }; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/tegra-cardhu.dts b/kernel/arch/arm/boot/dts/m7350-un-v2/tegra-cardhu.dts deleted file mode 100644 index ac3fb7558..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/tegra-cardhu.dts +++ /dev/null @@ -1,70 +0,0 @@ -/dts-v1/; - -/include/ "tegra30.dtsi" - -/ { - model = "NVIDIA Tegra30 Cardhu evaluation board"; - compatible = "nvidia,cardhu", "nvidia,tegra30"; - - memory { - reg = < 0x80000000 0x40000000 >; - }; - - serial@70006000 { - clock-frequency = < 408000000 >; - }; - - serial@70006040 { - status = "disable"; - }; - - serial@70006200 { - status = "disable"; - }; - - serial@70006300 { - status = "disable"; - }; - - serial@70006400 { - status = "disable"; - }; - - i2c@7000c000 { - clock-frequency = <100000>; - }; - - i2c@7000c400 { - clock-frequency = <100000>; - }; - - i2c@7000c500 { - clock-frequency = <100000>; - }; - - i2c@7000c700 { - clock-frequency = <100000>; - }; - - i2c@7000d000 { - clock-frequency = <100000>; - }; - - sdhci@78000000 { - cd-gpios = <&gpio 69 0>; /* gpio PI5 */ - wp-gpios = <&gpio 155 0>; /* gpio PT3 */ - power-gpios = <&gpio 31 0>; /* gpio PD7 */ - }; - - sdhci@78000200 { - status = "disable"; - }; - - sdhci@78000400 { - status = "disable"; - }; - - sdhci@78000400 { - support-8bit; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/tegra-harmony.dts b/kernel/arch/arm/boot/dts/m7350-un-v2/tegra-harmony.dts deleted file mode 100644 index 6e8447dc0..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/tegra-harmony.dts +++ /dev/null @@ -1,115 +0,0 @@ -/dts-v1/; - -/include/ "tegra20.dtsi" - -/ { - model = "NVIDIA Tegra2 Harmony evaluation board"; - compatible = "nvidia,harmony", "nvidia,tegra20"; - - memory@0 { - reg = < 0x00000000 0x40000000 >; - }; - - pmc@7000f400 { - nvidia,invert-interrupt; - }; - - i2c@7000c000 { - clock-frequency = <400000>; - - wm8903: wm8903@1a { - compatible = "wlf,wm8903"; - reg = <0x1a>; - interrupt-parent = <&gpio>; - interrupts = < 187 0x04 >; - - gpio-controller; - #gpio-cells = <2>; - - micdet-cfg = <0>; - micdet-delay = <100>; - gpio-cfg = < 0xffffffff 0xffffffff 0 0xffffffff 0xffffffff >; - }; - }; - - i2c@7000c400 { - clock-frequency = <400000>; - }; - - i2c@7000c500 { - clock-frequency = <400000>; - }; - - i2c@7000d000 { - clock-frequency = <400000>; - }; - - i2s@70002a00 { - status = "disable"; - }; - - sound { - compatible = "nvidia,tegra-audio-wm8903-harmony", - "nvidia,tegra-audio-wm8903"; - nvidia,model = "NVIDIA Tegra Harmony"; - - nvidia,audio-routing = - "Headphone Jack", "HPOUTR", - "Headphone Jack", "HPOUTL", - "Int Spk", "ROP", - "Int Spk", "RON", - "Int Spk", "LOP", - "Int Spk", "LON", - "Mic Jack", "MICBIAS", - "IN1L", "Mic Jack"; - - nvidia,i2s-controller = <&tegra_i2s1>; - nvidia,audio-codec = <&wm8903>; - - nvidia,spkr-en-gpios = <&wm8903 2 0>; - nvidia,hp-det-gpios = <&gpio 178 0>; /* gpio PW2 */ - nvidia,int-mic-en-gpios = <&gpio 184 0>; /*gpio PX0 */ - nvidia,ext-mic-en-gpios = <&gpio 185 0>; /* gpio PX1 */ - }; - - serial@70006000 { - status = "disable"; - }; - - serial@70006040 { - status = "disable"; - }; - - serial@70006200 { - status = "disable"; - }; - - serial@70006300 { - clock-frequency = < 216000000 >; - }; - - serial@70006400 { - status = "disable"; - }; - - sdhci@c8000000 { - status = "disable"; - }; - - sdhci@c8000200 { - cd-gpios = <&gpio 69 0>; /* gpio PI5 */ - wp-gpios = <&gpio 57 0>; /* gpio PH1 */ - power-gpios = <&gpio 155 0>; /* gpio PT3 */ - }; - - sdhci@c8000400 { - status = "disable"; - }; - - sdhci@c8000600 { - cd-gpios = <&gpio 58 0>; /* gpio PH2 */ - wp-gpios = <&gpio 59 0>; /* gpio PH3 */ - power-gpios = <&gpio 70 0>; /* gpio PI6 */ - support-8bit; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/tegra-paz00.dts b/kernel/arch/arm/boot/dts/m7350-un-v2/tegra-paz00.dts deleted file mode 100644 index 6c02abb46..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/tegra-paz00.dts +++ /dev/null @@ -1,134 +0,0 @@ -/dts-v1/; - -/include/ "tegra20.dtsi" - -/ { - model = "Toshiba AC100 / Dynabook AZ"; - compatible = "compal,paz00", "nvidia,tegra20"; - - memory@0 { - reg = <0x00000000 0x20000000>; - }; - - i2c@7000c000 { - clock-frequency = <400000>; - - alc5632: alc5632@1e { - compatible = "realtek,alc5632"; - reg = <0x1e>; - gpio-controller; - #gpio-cells = <2>; - }; - }; - - i2c@7000c400 { - clock-frequency = <400000>; - }; - - i2c@7000c500 { - status = "disable"; - }; - - nvec@7000c500 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "nvidia,nvec"; - reg = <0x7000C500 0x100>; - interrupts = <0 92 0x04>; - clock-frequency = <80000>; - request-gpios = <&gpio 170 0>; - slave-addr = <138>; - }; - - i2c@7000d000 { - clock-frequency = <400000>; - - adt7461@4c { - compatible = "adi,adt7461"; - reg = <0x4c>; - }; - }; - - i2s@70002a00 { - status = "disable"; - }; - - sound { - compatible = "nvidia,tegra-audio-alc5632-paz00", - "nvidia,tegra-audio-alc5632"; - - nvidia,model = "Compal PAZ00"; - - nvidia,audio-routing = - "Int Spk", "SPKOUT", - "Int Spk", "SPKOUTN", - "Headset Mic", "MICBIAS1", - "MIC1", "Headset Mic", - "Headset Stereophone", "HPR", - "Headset Stereophone", "HPL", - "DMICDAT", "Digital Mic"; - - nvidia,audio-codec = <&alc5632>; - nvidia,i2s-controller = <&tegra_i2s1>; - nvidia,hp-det-gpios = <&gpio 178 0>; /* gpio PW2 */ - }; - - serial@70006000 { - clock-frequency = <216000000>; - }; - - serial@70006040 { - status = "disable"; - }; - - serial@70006200 { - clock-frequency = <216000000>; - }; - - serial@70006300 { - status = "disable"; - }; - - serial@70006400 { - status = "disable"; - }; - - sdhci@c8000000 { - cd-gpios = <&gpio 173 0>; /* gpio PV5 */ - wp-gpios = <&gpio 57 0>; /* gpio PH1 */ - power-gpios = <&gpio 169 0>; /* gpio PV1 */ - }; - - sdhci@c8000200 { - status = "disable"; - }; - - sdhci@c8000400 { - status = "disable"; - }; - - sdhci@c8000600 { - support-8bit; - }; - - gpio-keys { - compatible = "gpio-keys"; - - power { - label = "Power"; - gpios = <&gpio 79 1>; /* gpio PJ7, active low */ - linux,code = <116>; /* KEY_POWER */ - gpio-key,wakeup; - }; - }; - - gpio-leds { - compatible = "gpio-leds"; - - wifi { - label = "wifi-led"; - gpios = <&gpio 24 0>; - linux,default-trigger = "rfkill0"; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/tegra-seaboard.dts b/kernel/arch/arm/boot/dts/m7350-un-v2/tegra-seaboard.dts deleted file mode 100644 index dbf1c5a17..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/tegra-seaboard.dts +++ /dev/null @@ -1,175 +0,0 @@ -/dts-v1/; - -/include/ "tegra20.dtsi" - -/ { - model = "NVIDIA Seaboard"; - compatible = "nvidia,seaboard", "nvidia,tegra20"; - - memory { - device_type = "memory"; - reg = < 0x00000000 0x40000000 >; - }; - - i2c@7000c000 { - clock-frequency = <400000>; - - wm8903: wm8903@1a { - compatible = "wlf,wm8903"; - reg = <0x1a>; - interrupt-parent = <&gpio>; - interrupts = < 187 0x04 >; - - gpio-controller; - #gpio-cells = <2>; - - micdet-cfg = <0>; - micdet-delay = <100>; - gpio-cfg = < 0xffffffff 0xffffffff 0 0xffffffff 0xffffffff >; - }; - }; - - i2c@7000c400 { - clock-frequency = <400000>; - }; - - i2c@7000c500 { - clock-frequency = <400000>; - }; - - i2c@7000d000 { - clock-frequency = <400000>; - - adt7461@4c { - compatible = "adt7461"; - reg = <0x4c>; - }; - }; - - i2s@70002a00 { - status = "disable"; - }; - - sound { - compatible = "nvidia,tegra-audio-wm8903-seaboard", - "nvidia,tegra-audio-wm8903"; - nvidia,model = "NVIDIA Tegra Seaboard"; - - nvidia,audio-routing = - "Headphone Jack", "HPOUTR", - "Headphone Jack", "HPOUTL", - "Int Spk", "ROP", - "Int Spk", "RON", - "Int Spk", "LOP", - "Int Spk", "LON", - "Mic Jack", "MICBIAS", - "IN1R", "Mic Jack"; - - nvidia,i2s-controller = <&tegra_i2s1>; - nvidia,audio-codec = <&wm8903>; - - nvidia,spkr-en-gpios = <&wm8903 2 0>; - nvidia,hp-det-gpios = <&gpio 185 0>; /* gpio PX1 */ - }; - - serial@70006000 { - status = "disable"; - }; - - serial@70006040 { - status = "disable"; - }; - - serial@70006200 { - status = "disable"; - }; - - serial@70006300 { - clock-frequency = < 216000000 >; - }; - - serial@70006400 { - status = "disable"; - }; - - sdhci@c8000000 { - status = "disable"; - }; - - sdhci@c8000200 { - status = "disable"; - }; - - sdhci@c8000400 { - cd-gpios = <&gpio 69 0>; /* gpio PI5 */ - wp-gpios = <&gpio 57 0>; /* gpio PH1 */ - power-gpios = <&gpio 70 0>; /* gpio PI6 */ - }; - - sdhci@c8000600 { - support-8bit; - }; - - usb@c5000000 { - nvidia,vbus-gpio = <&gpio 24 0>; /* PD0 */ - dr_mode = "otg"; - }; - - gpio-keys { - compatible = "gpio-keys"; - - power { - label = "Power"; - gpios = <&gpio 170 1>; /* gpio PV2, active low */ - linux,code = <116>; /* KEY_POWER */ - gpio-key,wakeup; - }; - - lid { - label = "Lid"; - gpios = <&gpio 23 0>; /* gpio PC7 */ - linux,input-type = <5>; /* EV_SW */ - linux,code = <0>; /* SW_LID */ - debounce-interval = <1>; - gpio-key,wakeup; - }; - }; - - emc@7000f400 { - emc-table@190000 { - reg = < 190000 >; - compatible = "nvidia,tegra20-emc-table"; - clock-frequency = < 190000 >; - nvidia,emc-registers = < 0x0000000c 0x00000026 - 0x00000009 0x00000003 0x00000004 0x00000004 - 0x00000002 0x0000000c 0x00000003 0x00000003 - 0x00000002 0x00000001 0x00000004 0x00000005 - 0x00000004 0x00000009 0x0000000d 0x0000059f - 0x00000000 0x00000003 0x00000003 0x00000003 - 0x00000003 0x00000001 0x0000000b 0x000000c8 - 0x00000003 0x00000007 0x00000004 0x0000000f - 0x00000002 0x00000000 0x00000000 0x00000002 - 0x00000000 0x00000000 0x00000083 0xa06204ae - 0x007dc010 0x00000000 0x00000000 0x00000000 - 0x00000000 0x00000000 0x00000000 0x00000000 >; - }; - - emc-table@380000 { - reg = < 380000 >; - compatible = "nvidia,tegra20-emc-table"; - clock-frequency = < 380000 >; - nvidia,emc-registers = < 0x00000017 0x0000004b - 0x00000012 0x00000006 0x00000004 0x00000005 - 0x00000003 0x0000000c 0x00000006 0x00000006 - 0x00000003 0x00000001 0x00000004 0x00000005 - 0x00000004 0x00000009 0x0000000d 0x00000b5f - 0x00000000 0x00000003 0x00000003 0x00000006 - 0x00000006 0x00000001 0x00000011 0x000000c8 - 0x00000003 0x0000000e 0x00000007 0x0000000f - 0x00000002 0x00000000 0x00000000 0x00000002 - 0x00000000 0x00000000 0x00000083 0xe044048b - 0x007d8010 0x00000000 0x00000000 0x00000000 - 0x00000000 0x00000000 0x00000000 0x00000000 >; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/tegra-trimslice.dts b/kernel/arch/arm/boot/dts/m7350-un-v2/tegra-trimslice.dts deleted file mode 100644 index 252476867..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/tegra-trimslice.dts +++ /dev/null @@ -1,77 +0,0 @@ -/dts-v1/; - -/include/ "tegra20.dtsi" - -/ { - model = "Compulab TrimSlice board"; - compatible = "compulab,trimslice", "nvidia,tegra20"; - - memory@0 { - reg = < 0x00000000 0x40000000 >; - }; - - i2c@7000c000 { - clock-frequency = <400000>; - }; - - i2c@7000c400 { - clock-frequency = <400000>; - }; - - i2c@7000c500 { - clock-frequency = <400000>; - }; - - i2c@7000d000 { - status = "disable"; - }; - - i2s@70002800 { - status = "disable"; - }; - - i2s@70002a00 { - status = "disable"; - }; - - das@70000c00 { - status = "disable"; - }; - - serial@70006000 { - clock-frequency = < 216000000 >; - }; - - serial@70006040 { - status = "disable"; - }; - - serial@70006200 { - status = "disable"; - }; - - serial@70006300 { - status = "disable"; - }; - - serial@70006400 { - status = "disable"; - }; - - sdhci@c8000000 { - status = "disable"; - }; - - sdhci@c8000200 { - status = "disable"; - }; - - sdhci@c8000400 { - status = "disable"; - }; - - sdhci@c8000600 { - cd-gpios = <&gpio 121 0>; - wp-gpios = <&gpio 122 0>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/tegra-ventana.dts b/kernel/arch/arm/boot/dts/m7350-un-v2/tegra-ventana.dts deleted file mode 100644 index 2dcff8728..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/tegra-ventana.dts +++ /dev/null @@ -1,108 +0,0 @@ -/dts-v1/; - -/include/ "tegra20.dtsi" - -/ { - model = "NVIDIA Tegra2 Ventana evaluation board"; - compatible = "nvidia,ventana", "nvidia,tegra20"; - - memory { - reg = < 0x00000000 0x40000000 >; - }; - - i2c@7000c000 { - clock-frequency = <400000>; - - wm8903: wm8903@1a { - compatible = "wlf,wm8903"; - reg = <0x1a>; - interrupt-parent = <&gpio>; - interrupts = < 187 0x04 >; - - gpio-controller; - #gpio-cells = <2>; - - micdet-cfg = <0>; - micdet-delay = <100>; - gpio-cfg = < 0xffffffff 0xffffffff 0 0xffffffff 0xffffffff >; - }; - }; - - i2c@7000c400 { - clock-frequency = <400000>; - }; - - i2c@7000c500 { - clock-frequency = <400000>; - }; - - i2c@7000d000 { - clock-frequency = <400000>; - }; - - i2s@70002a00 { - status = "disable"; - }; - - sound { - compatible = "nvidia,tegra-audio-wm8903-ventana", - "nvidia,tegra-audio-wm8903"; - nvidia,model = "NVIDIA Tegra Ventana"; - - nvidia,audio-routing = - "Headphone Jack", "HPOUTR", - "Headphone Jack", "HPOUTL", - "Int Spk", "ROP", - "Int Spk", "RON", - "Int Spk", "LOP", - "Int Spk", "LON", - "Mic Jack", "MICBIAS", - "IN1L", "Mic Jack"; - - nvidia,i2s-controller = <&tegra_i2s1>; - nvidia,audio-codec = <&wm8903>; - - nvidia,spkr-en-gpios = <&wm8903 2 0>; - nvidia,hp-det-gpios = <&gpio 178 0>; /* gpio PW2 */ - nvidia,int-mic-en-gpios = <&gpio 184 0>; /*gpio PX0 */ - nvidia,ext-mic-en-gpios = <&gpio 185 0>; /* gpio PX1 */ - }; - - serial@70006000 { - status = "disable"; - }; - - serial@70006040 { - status = "disable"; - }; - - serial@70006200 { - status = "disable"; - }; - - serial@70006300 { - clock-frequency = < 216000000 >; - }; - - serial@70006400 { - status = "disable"; - }; - - sdhci@c8000000 { - status = "disable"; - }; - - sdhci@c8000200 { - status = "disable"; - }; - - sdhci@c8000400 { - cd-gpios = <&gpio 69 0>; /* gpio PI5 */ - wp-gpios = <&gpio 57 0>; /* gpio PH1 */ - power-gpios = <&gpio 70 0>; /* gpio PI6 */ - }; - - sdhci@c8000600 { - support-8bit; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/tegra20.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v2/tegra20.dtsi deleted file mode 100644 index 108e894a8..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/tegra20.dtsi +++ /dev/null @@ -1,210 +0,0 @@ -/include/ "skeleton.dtsi" - -/ { - compatible = "nvidia,tegra20"; - interrupt-parent = <&intc>; - - pmc@7000f400 { - compatible = "nvidia,tegra20-pmc"; - reg = <0x7000e400 0x400>; - }; - - intc: interrupt-controller@50041000 { - compatible = "arm,cortex-a9-gic"; - interrupt-controller; - #interrupt-cells = <3>; - reg = < 0x50041000 0x1000 >, - < 0x50040100 0x0100 >; - }; - - pmu { - compatible = "arm,cortex-a9-pmu"; - interrupts = <0 56 0x04 - 0 57 0x04>; - }; - - apbdma: dma@6000a000 { - compatible = "nvidia,tegra20-apbdma"; - reg = <0x6000a000 0x1200>; - interrupts = < 0 104 0x04 - 0 105 0x04 - 0 106 0x04 - 0 107 0x04 - 0 108 0x04 - 0 109 0x04 - 0 110 0x04 - 0 111 0x04 - 0 112 0x04 - 0 113 0x04 - 0 114 0x04 - 0 115 0x04 - 0 116 0x04 - 0 117 0x04 - 0 118 0x04 - 0 119 0x04 >; - }; - - i2c@7000c000 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "nvidia,tegra20-i2c"; - reg = <0x7000C000 0x100>; - interrupts = < 0 38 0x04 >; - }; - - i2c@7000c400 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "nvidia,tegra20-i2c"; - reg = <0x7000C400 0x100>; - interrupts = < 0 84 0x04 >; - }; - - i2c@7000c500 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "nvidia,tegra20-i2c"; - reg = <0x7000C500 0x100>; - interrupts = < 0 92 0x04 >; - }; - - i2c@7000d000 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "nvidia,tegra20-i2c-dvc"; - reg = <0x7000D000 0x200>; - interrupts = < 0 53 0x04 >; - }; - - tegra_i2s1: i2s@70002800 { - compatible = "nvidia,tegra20-i2s"; - reg = <0x70002800 0x200>; - interrupts = < 0 13 0x04 >; - nvidia,dma-request-selector = < &apbdma 2 >; - }; - - tegra_i2s2: i2s@70002a00 { - compatible = "nvidia,tegra20-i2s"; - reg = <0x70002a00 0x200>; - interrupts = < 0 3 0x04 >; - nvidia,dma-request-selector = < &apbdma 1 >; - }; - - das@70000c00 { - compatible = "nvidia,tegra20-das"; - reg = <0x70000c00 0x80>; - }; - - gpio: gpio@6000d000 { - compatible = "nvidia,tegra20-gpio"; - reg = < 0x6000d000 0x1000 >; - interrupts = < 0 32 0x04 - 0 33 0x04 - 0 34 0x04 - 0 35 0x04 - 0 55 0x04 - 0 87 0x04 - 0 89 0x04 >; - #gpio-cells = <2>; - gpio-controller; - #interrupt-cells = <2>; - interrupt-controller; - }; - - pinmux: pinmux@70000000 { - compatible = "nvidia,tegra20-pinmux"; - reg = < 0x70000014 0x10 /* Tri-state registers */ - 0x70000080 0x20 /* Mux registers */ - 0x700000a0 0x14 /* Pull-up/down registers */ - 0x70000868 0xa8 >; /* Pad control registers */ - }; - - serial@70006000 { - compatible = "nvidia,tegra20-uart"; - reg = <0x70006000 0x40>; - reg-shift = <2>; - interrupts = < 0 36 0x04 >; - }; - - serial@70006040 { - compatible = "nvidia,tegra20-uart"; - reg = <0x70006040 0x40>; - reg-shift = <2>; - interrupts = < 0 37 0x04 >; - }; - - serial@70006200 { - compatible = "nvidia,tegra20-uart"; - reg = <0x70006200 0x100>; - reg-shift = <2>; - interrupts = < 0 46 0x04 >; - }; - - serial@70006300 { - compatible = "nvidia,tegra20-uart"; - reg = <0x70006300 0x100>; - reg-shift = <2>; - interrupts = < 0 90 0x04 >; - }; - - serial@70006400 { - compatible = "nvidia,tegra20-uart"; - reg = <0x70006400 0x100>; - reg-shift = <2>; - interrupts = < 0 91 0x04 >; - }; - - emc@7000f400 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "nvidia,tegra20-emc"; - reg = <0x7000f400 0x200>; - }; - - sdhci@c8000000 { - compatible = "nvidia,tegra20-sdhci"; - reg = <0xc8000000 0x200>; - interrupts = < 0 14 0x04 >; - }; - - sdhci@c8000200 { - compatible = "nvidia,tegra20-sdhci"; - reg = <0xc8000200 0x200>; - interrupts = < 0 15 0x04 >; - }; - - sdhci@c8000400 { - compatible = "nvidia,tegra20-sdhci"; - reg = <0xc8000400 0x200>; - interrupts = < 0 19 0x04 >; - }; - - sdhci@c8000600 { - compatible = "nvidia,tegra20-sdhci"; - reg = <0xc8000600 0x200>; - interrupts = < 0 31 0x04 >; - }; - - usb@c5000000 { - compatible = "nvidia,tegra20-ehci", "usb-ehci"; - reg = <0xc5000000 0x4000>; - interrupts = < 0 20 0x04 >; - phy_type = "utmi"; - nvidia,has-legacy-mode; - }; - - usb@c5004000 { - compatible = "nvidia,tegra20-ehci", "usb-ehci"; - reg = <0xc5004000 0x4000>; - interrupts = < 0 21 0x04 >; - phy_type = "ulpi"; - }; - - usb@c5008000 { - compatible = "nvidia,tegra20-ehci", "usb-ehci"; - reg = <0xc5008000 0x4000>; - interrupts = < 0 97 0x04 >; - phy_type = "utmi"; - }; -}; - diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/tegra30.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v2/tegra30.dtsi deleted file mode 100644 index 62a7b39f1..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/tegra30.dtsi +++ /dev/null @@ -1,186 +0,0 @@ -/include/ "skeleton.dtsi" - -/ { - compatible = "nvidia,tegra30"; - interrupt-parent = <&intc>; - - pmc@7000f400 { - compatible = "nvidia,tegra20-pmc", "nvidia,tegra30-pmc"; - reg = <0x7000e400 0x400>; - }; - - intc: interrupt-controller@50041000 { - compatible = "arm,cortex-a9-gic"; - interrupt-controller; - #interrupt-cells = <3>; - reg = < 0x50041000 0x1000 >, - < 0x50040100 0x0100 >; - }; - - pmu { - compatible = "arm,cortex-a9-pmu"; - interrupts = <0 144 0x04 - 0 145 0x04 - 0 146 0x04 - 0 147 0x04>; - }; - - apbdma: dma@6000a000 { - compatible = "nvidia,tegra30-apbdma", "nvidia,tegra20-apbdma"; - reg = <0x6000a000 0x1400>; - interrupts = < 0 104 0x04 - 0 105 0x04 - 0 106 0x04 - 0 107 0x04 - 0 108 0x04 - 0 109 0x04 - 0 110 0x04 - 0 111 0x04 - 0 112 0x04 - 0 113 0x04 - 0 114 0x04 - 0 115 0x04 - 0 116 0x04 - 0 117 0x04 - 0 118 0x04 - 0 119 0x04 - 0 128 0x04 - 0 129 0x04 - 0 130 0x04 - 0 131 0x04 - 0 132 0x04 - 0 133 0x04 - 0 134 0x04 - 0 135 0x04 - 0 136 0x04 - 0 137 0x04 - 0 138 0x04 - 0 139 0x04 - 0 140 0x04 - 0 141 0x04 - 0 142 0x04 - 0 143 0x04 >; - }; - - i2c@7000c000 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "nvidia,tegra30-i2c", "nvidia,tegra20-i2c"; - reg = <0x7000C000 0x100>; - interrupts = < 0 38 0x04 >; - }; - - i2c@7000c400 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "nvidia,tegra30-i2c", "nvidia,tegra20-i2c"; - reg = <0x7000C400 0x100>; - interrupts = < 0 84 0x04 >; - }; - - i2c@7000c500 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "nvidia,tegra30-i2c", "nvidia,tegra20-i2c"; - reg = <0x7000C500 0x100>; - interrupts = < 0 92 0x04 >; - }; - - i2c@7000c700 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "nvidia,tegra30-i2c", "nvidia,tegra20-i2c"; - reg = <0x7000c700 0x100>; - interrupts = < 0 120 0x04 >; - }; - - i2c@7000d000 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "nvidia,tegra30-i2c", "nvidia,tegra20-i2c"; - reg = <0x7000D000 0x100>; - interrupts = < 0 53 0x04 >; - }; - - gpio: gpio@6000d000 { - compatible = "nvidia,tegra30-gpio", "nvidia,tegra20-gpio"; - reg = < 0x6000d000 0x1000 >; - interrupts = < 0 32 0x04 - 0 33 0x04 - 0 34 0x04 - 0 35 0x04 - 0 55 0x04 - 0 87 0x04 - 0 89 0x04 - 0 125 0x04 >; - #gpio-cells = <2>; - gpio-controller; - #interrupt-cells = <2>; - interrupt-controller; - }; - - serial@70006000 { - compatible = "nvidia,tegra30-uart", "nvidia,tegra20-uart"; - reg = <0x70006000 0x40>; - reg-shift = <2>; - interrupts = < 0 36 0x04 >; - }; - - serial@70006040 { - compatible = "nvidia,tegra30-uart", "nvidia,tegra20-uart"; - reg = <0x70006040 0x40>; - reg-shift = <2>; - interrupts = < 0 37 0x04 >; - }; - - serial@70006200 { - compatible = "nvidia,tegra30-uart", "nvidia,tegra20-uart"; - reg = <0x70006200 0x100>; - reg-shift = <2>; - interrupts = < 0 46 0x04 >; - }; - - serial@70006300 { - compatible = "nvidia,tegra30-uart", "nvidia,tegra20-uart"; - reg = <0x70006300 0x100>; - reg-shift = <2>; - interrupts = < 0 90 0x04 >; - }; - - serial@70006400 { - compatible = "nvidia,tegra30-uart", "nvidia,tegra20-uart"; - reg = <0x70006400 0x100>; - reg-shift = <2>; - interrupts = < 0 91 0x04 >; - }; - - sdhci@78000000 { - compatible = "nvidia,tegra30-sdhci", "nvidia,tegra20-sdhci"; - reg = <0x78000000 0x200>; - interrupts = < 0 14 0x04 >; - }; - - sdhci@78000200 { - compatible = "nvidia,tegra30-sdhci", "nvidia,tegra20-sdhci"; - reg = <0x78000200 0x200>; - interrupts = < 0 15 0x04 >; - }; - - sdhci@78000400 { - compatible = "nvidia,tegra30-sdhci", "nvidia,tegra20-sdhci"; - reg = <0x78000400 0x200>; - interrupts = < 0 19 0x04 >; - }; - - sdhci@78000600 { - compatible = "nvidia,tegra30-sdhci", "nvidia,tegra20-sdhci"; - reg = <0x78000600 0x200>; - interrupts = < 0 31 0x04 >; - }; - - pinmux: pinmux@70000000 { - compatible = "nvidia,tegra30-pinmux"; - reg = < 0x70000868 0xd0 /* Pad control registers */ - 0x70003000 0x3e0 >; /* Mux registers */ - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/testcases/tests-phandle.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v2/testcases/tests-phandle.dtsi deleted file mode 100644 index 0007d3cd7..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/testcases/tests-phandle.dtsi +++ /dev/null @@ -1,39 +0,0 @@ - -/ { - testcase-data { - phandle-tests { - provider0: provider0 { - #phandle-cells = <0>; - }; - - provider1: provider1 { - #phandle-cells = <1>; - }; - - provider2: provider2 { - #phandle-cells = <2>; - }; - - provider3: provider3 { - #phandle-cells = <3>; - }; - - consumer-a { - phandle-list = <&provider1 1>, - <&provider2 2 0>, - <0>, - <&provider3 4 4 3>, - <&provider2 5 100>, - <&provider0>, - <&provider1 7>; - phandle-list-names = "first", "second", "third"; - - phandle-list-bad-phandle = <12345678 0 0>; - phandle-list-bad-args = <&provider2 1 0>, - <&provider3 0>; - empty-property; - unterminated-string = [40 41 42 43]; - }; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/testcases/tests.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v2/testcases/tests.dtsi deleted file mode 100644 index a7c506762..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/testcases/tests.dtsi +++ /dev/null @@ -1 +0,0 @@ -/include/ "tests-phandle.dtsi" diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/usb_a9g20-dab-mmx.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v2/usb_a9g20-dab-mmx.dtsi deleted file mode 100644 index ad3eca17c..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/usb_a9g20-dab-mmx.dtsi +++ /dev/null @@ -1,96 +0,0 @@ -/* - * calao-dab-mmx.dtsi - Device Tree Include file for Calao DAB-MMX Daughter Board - * - * Copyright (C) 2011 Jean-Christophe PLAGNIOL-VILLARD - * - * Licensed under GPLv2. - */ - -/ { - ahb { - apb { - usart1: serial@fffb4000 { - status = "okay"; - }; - - usart3: serial@fffd0000 { - status = "okay"; - }; - }; - }; - - i2c-gpio@0 { - status = "okay"; - }; - - leds { - compatible = "gpio-leds"; - - user_led1 { - label = "user_led1"; - gpios = <&pioB 20 1>; - }; - -/* -* led already used by mother board but active as high -* user_led2 { -* label = "user_led2"; -* gpios = <&pioB 21 1>; -* }; -*/ - user_led3 { - label = "user_led3"; - gpios = <&pioB 22 1>; - }; - - user_led4 { - label = "user_led4"; - gpios = <&pioB 23 1>; - }; - - red { - label = "red"; - gpios = <&pioB 24 1>; - }; - - orange { - label = "orange"; - gpios = <&pioB 30 1>; - }; - - green { - label = "green"; - gpios = <&pioB 31 1>; - }; - }; - - gpio_keys { - compatible = "gpio-keys"; - #address-cells = <1>; - #size-cells = <0>; - - user_pb1 { - label = "user_pb1"; - gpios = <&pioB 25 1>; - linux,code = <0x100>; - }; - - user_pb2 { - label = "user_pb2"; - gpios = <&pioB 13 1>; - linux,code = <0x101>; - }; - - user_pb3 { - label = "user_pb3"; - gpios = <&pioA 26 1>; - linux,code = <0x102>; - }; - - user_pb4 { - label = "user_pb4"; - gpios = <&pioC 9 1>; - linux,code = <0x103>; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/usb_a9g20.dts b/kernel/arch/arm/boot/dts/m7350-un-v2/usb_a9g20.dts deleted file mode 100644 index 7c2399c53..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/usb_a9g20.dts +++ /dev/null @@ -1,130 +0,0 @@ -/* - * usb_a9g20.dts - Device Tree file for Caloa USB A9G20 board - * - * Copyright (C) 2011 Jean-Christophe PLAGNIOL-VILLARD - * - * Licensed under GPLv2 or later. - */ -/dts-v1/; -/include/ "at91sam9g20.dtsi" - -/ { - model = "Calao USB A9G20"; - compatible = "calao,usb-a9g20", "atmel,at91sam9g20", "atmel,at91sam9"; - - chosen { - bootargs = "mem=64M console=ttyS0,115200 root=/dev/mtdblock5 rw rootfstype=ubifs"; - }; - - memory { - reg = <0x20000000 0x4000000>; - }; - - clocks { - #address-cells = <1>; - #size-cells = <1>; - ranges; - - main_clock: clock@0 { - compatible = "atmel,osc", "fixed-clock"; - clock-frequency = <12000000>; - }; - }; - - ahb { - apb { - dbgu: serial@fffff200 { - status = "okay"; - }; - - macb0: ethernet@fffc4000 { - phy-mode = "rmii"; - status = "okay"; - }; - - usb1: gadget@fffa4000 { - atmel,vbus-gpio = <&pioC 5 0>; - status = "okay"; - }; - }; - - nand0: nand@40000000 { - nand-bus-width = <8>; - nand-ecc-mode = "soft"; - nand-on-flash-bbt; - status = "okay"; - - at91bootstrap@0 { - label = "at91bootstrap"; - reg = <0x0 0x20000>; - }; - - barebox@20000 { - label = "barebox"; - reg = <0x20000 0x40000>; - }; - - bareboxenv@60000 { - label = "bareboxenv"; - reg = <0x60000 0x20000>; - }; - - bareboxenv2@80000 { - label = "bareboxenv2"; - reg = <0x80000 0x20000>; - }; - - kernel@a0000 { - label = "kernel"; - reg = <0xa0000 0x400000>; - }; - - rootfs@4a0000 { - label = "rootfs"; - reg = <0x4a0000 0x7800000>; - }; - - data@7ca0000 { - label = "data"; - reg = <0x7ca0000 0x8360000>; - }; - }; - - usb0: ohci@00500000 { - num-ports = <2>; - status = "okay"; - }; - }; - - leds { - compatible = "gpio-leds"; - - user_led { - label = "user_led"; - gpios = <&pioB 21 1>; - linux,default-trigger = "heartbeat"; - }; - }; - - gpio_keys { - compatible = "gpio-keys"; - #address-cells = <1>; - #size-cells = <0>; - - user_pb { - label = "user_pb"; - gpios = <&pioB 10 1>; - linux,code = <28>; - gpio-key,wakeup; - }; - }; - - i2c@0 { - status = "okay"; - - rv3029c2@56 { - compatible = "rv3029c2"; - reg = <0x56>; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/versatile-ab.dts b/kernel/arch/arm/boot/dts/m7350-un-v2/versatile-ab.dts deleted file mode 100644 index e2fe3195c..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/versatile-ab.dts +++ /dev/null @@ -1,192 +0,0 @@ -/dts-v1/; -/include/ "skeleton.dtsi" - -/ { - model = "ARM Versatile AB"; - compatible = "arm,versatile-ab"; - #address-cells = <1>; - #size-cells = <1>; - interrupt-parent = <&vic>; - - aliases { - serial0 = &uart0; - serial1 = &uart1; - serial2 = &uart2; - i2c0 = &i2c0; - }; - - memory { - reg = <0x0 0x08000000>; - }; - - flash@34000000 { - compatible = "arm,versatile-flash"; - reg = <0x34000000 0x4000000>; - bank-width = <4>; - }; - - i2c0: i2c@10002000 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "arm,versatile-i2c"; - reg = <0x10002000 0x1000>; - - rtc@68 { - compatible = "dallas,ds1338"; - reg = <0x68>; - }; - }; - - net@10010000 { - compatible = "smsc,lan91c111"; - reg = <0x10010000 0x10000>; - interrupts = <25>; - }; - - lcd@10008000 { - compatible = "arm,versatile-lcd"; - reg = <0x10008000 0x1000>; - }; - - amba { - compatible = "arm,amba-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - - vic: intc@10140000 { - compatible = "arm,versatile-vic"; - interrupt-controller; - #interrupt-cells = <1>; - reg = <0x10140000 0x1000>; - }; - - sic: intc@10003000 { - compatible = "arm,versatile-sic"; - interrupt-controller; - #interrupt-cells = <1>; - reg = <0x10003000 0x1000>; - interrupt-parent = <&vic>; - interrupts = <31>; /* Cascaded to vic */ - }; - - dma@10130000 { - compatible = "arm,pl081", "arm,primecell"; - reg = <0x10130000 0x1000>; - interrupts = <17>; - }; - - uart0: uart@101f1000 { - compatible = "arm,pl011", "arm,primecell"; - reg = <0x101f1000 0x1000>; - interrupts = <12>; - }; - - uart1: uart@101f2000 { - compatible = "arm,pl011", "arm,primecell"; - reg = <0x101f2000 0x1000>; - interrupts = <13>; - }; - - uart2: uart@101f3000 { - compatible = "arm,pl011", "arm,primecell"; - reg = <0x101f3000 0x1000>; - interrupts = <14>; - }; - - smc@10100000 { - compatible = "arm,primecell"; - reg = <0x10100000 0x1000>; - }; - - mpmc@10110000 { - compatible = "arm,primecell"; - reg = <0x10110000 0x1000>; - }; - - display@10120000 { - compatible = "arm,pl110", "arm,primecell"; - reg = <0x10120000 0x1000>; - interrupts = <16>; - }; - - sctl@101e0000 { - compatible = "arm,primecell"; - reg = <0x101e0000 0x1000>; - }; - - watchdog@101e1000 { - compatible = "arm,primecell"; - reg = <0x101e1000 0x1000>; - interrupts = <0>; - }; - - gpio0: gpio@101e4000 { - compatible = "arm,pl061", "arm,primecell"; - reg = <0x101e4000 0x1000>; - gpio-controller; - interrupts = <6>; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - gpio1: gpio@101e5000 { - compatible = "arm,pl061", "arm,primecell"; - reg = <0x101e5000 0x1000>; - interrupts = <7>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - rtc@101e8000 { - compatible = "arm,pl030", "arm,primecell"; - reg = <0x101e8000 0x1000>; - interrupts = <10>; - }; - - sci@101f0000 { - compatible = "arm,primecell"; - reg = <0x101f0000 0x1000>; - interrupts = <15>; - }; - - ssp@101f4000 { - compatible = "arm,pl022", "arm,primecell"; - reg = <0x101f4000 0x1000>; - interrupts = <11>; - }; - - fpga { - compatible = "arm,versatile-fpga", "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0 0x10000000 0x10000>; - - aaci@4000 { - compatible = "arm,primecell"; - reg = <0x4000 0x1000>; - interrupts = <24>; - }; - mmc@5000 { - compatible = "arm,primecell"; - reg = < 0x5000 0x1000>; - interrupts = <22 34>; - }; - kmi@6000 { - compatible = "arm,pl050", "arm,primecell"; - reg = <0x6000 0x1000>; - interrupt-parent = <&sic>; - interrupts = <3>; - }; - kmi@7000 { - compatible = "arm,pl050", "arm,primecell"; - reg = <0x7000 0x1000>; - interrupt-parent = <&sic>; - interrupts = <4>; - }; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/versatile-pb.dts b/kernel/arch/arm/boot/dts/m7350-un-v2/versatile-pb.dts deleted file mode 100644 index 7e8175269..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/versatile-pb.dts +++ /dev/null @@ -1,50 +0,0 @@ -/include/ "versatile-ab.dts" - -/ { - model = "ARM Versatile PB"; - compatible = "arm,versatile-pb"; - - amba { - gpio2: gpio@101e6000 { - compatible = "arm,pl061", "arm,primecell"; - reg = <0x101e6000 0x1000>; - interrupts = <8>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - gpio3: gpio@101e7000 { - compatible = "arm,pl061", "arm,primecell"; - reg = <0x101e7000 0x1000>; - interrupts = <9>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - fpga { - uart@9000 { - compatible = "arm,pl011", "arm,primecell"; - reg = <0x9000 0x1000>; - interrupt-parent = <&sic>; - interrupts = <6>; - }; - sci@a000 { - compatible = "arm,primecell"; - reg = <0xa000 0x1000>; - interrupt-parent = <&sic>; - interrupts = <5>; - }; - mmc@b000 { - compatible = "arm,primecell"; - reg = <0xb000 0x1000>; - interrupts = <23 34>; - }; - }; - }; -}; - -/include/ "testcases/tests.dtsi" diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/vexpress-v2m-rs1.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v2/vexpress-v2m-rs1.dtsi deleted file mode 100644 index 16076e2d0..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/vexpress-v2m-rs1.dtsi +++ /dev/null @@ -1,201 +0,0 @@ -/* - * ARM Ltd. Versatile Express - * - * Motherboard Express uATX - * V2M-P1 - * - * HBI-0190D - * - * RS1 memory map ("ARM Cortex-A Series memory map" in the board's - * Technical Reference Manual) - * - * WARNING! The hardware described in this file is independent from the - * original variant (vexpress-v2m.dtsi), but there is a strong - * correspondence between the two configurations. - * - * TAKE CARE WHEN MAINTAINING THIS FILE TO PROPAGATE ANY RELEVANT - * CHANGES TO vexpress-v2m.dtsi! - */ - -/ { - aliases { - arm,v2m_timer = &v2m_timer01; - }; - - motherboard { - compatible = "simple-bus"; - arm,v2m-memory-map = "rs1"; - #address-cells = <2>; /* SMB chipselect number and offset */ - #size-cells = <1>; - #interrupt-cells = <1>; - - flash@0,00000000 { - compatible = "arm,vexpress-flash", "cfi-flash"; - reg = <0 0x00000000 0x04000000>, - <4 0x00000000 0x04000000>; - bank-width = <4>; - }; - - psram@1,00000000 { - compatible = "arm,vexpress-psram", "mtd-ram"; - reg = <1 0x00000000 0x02000000>; - bank-width = <4>; - }; - - vram@2,00000000 { - compatible = "arm,vexpress-vram"; - reg = <2 0x00000000 0x00800000>; - }; - - ethernet@2,02000000 { - compatible = "smsc,lan9118", "smsc,lan9115"; - reg = <2 0x02000000 0x10000>; - interrupts = <15>; - phy-mode = "mii"; - reg-io-width = <4>; - smsc,irq-active-high; - smsc,irq-push-pull; - }; - - usb@2,03000000 { - compatible = "nxp,usb-isp1761"; - reg = <2 0x03000000 0x20000>; - interrupts = <16>; - port1-otg; - }; - - iofpga@3,00000000 { - compatible = "arm,amba-bus", "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0 3 0 0x200000>; - - sysreg@010000 { - compatible = "arm,vexpress-sysreg"; - reg = <0x010000 0x1000>; - }; - - sysctl@020000 { - compatible = "arm,sp810", "arm,primecell"; - reg = <0x020000 0x1000>; - }; - - /* PCI-E I2C bus */ - v2m_i2c_pcie: i2c@030000 { - compatible = "arm,versatile-i2c"; - reg = <0x030000 0x1000>; - - #address-cells = <1>; - #size-cells = <0>; - - pcie-switch@60 { - compatible = "idt,89hpes32h8"; - reg = <0x60>; - }; - }; - - aaci@040000 { - compatible = "arm,pl041", "arm,primecell"; - reg = <0x040000 0x1000>; - interrupts = <11>; - }; - - mmci@050000 { - compatible = "arm,pl180", "arm,primecell"; - reg = <0x050000 0x1000>; - interrupts = <9 10>; - }; - - kmi@060000 { - compatible = "arm,pl050", "arm,primecell"; - reg = <0x060000 0x1000>; - interrupts = <12>; - }; - - kmi@070000 { - compatible = "arm,pl050", "arm,primecell"; - reg = <0x070000 0x1000>; - interrupts = <13>; - }; - - v2m_serial0: uart@090000 { - compatible = "arm,pl011", "arm,primecell"; - reg = <0x090000 0x1000>; - interrupts = <5>; - }; - - v2m_serial1: uart@0a0000 { - compatible = "arm,pl011", "arm,primecell"; - reg = <0x0a0000 0x1000>; - interrupts = <6>; - }; - - v2m_serial2: uart@0b0000 { - compatible = "arm,pl011", "arm,primecell"; - reg = <0x0b0000 0x1000>; - interrupts = <7>; - }; - - v2m_serial3: uart@0c0000 { - compatible = "arm,pl011", "arm,primecell"; - reg = <0x0c0000 0x1000>; - interrupts = <8>; - }; - - wdt@0f0000 { - compatible = "arm,sp805", "arm,primecell"; - reg = <0x0f0000 0x1000>; - interrupts = <0>; - }; - - v2m_timer01: timer@110000 { - compatible = "arm,sp804", "arm,primecell"; - reg = <0x110000 0x1000>; - interrupts = <2>; - }; - - v2m_timer23: timer@120000 { - compatible = "arm,sp804", "arm,primecell"; - reg = <0x120000 0x1000>; - }; - - /* DVI I2C bus */ - v2m_i2c_dvi: i2c@160000 { - compatible = "arm,versatile-i2c"; - reg = <0x160000 0x1000>; - - #address-cells = <1>; - #size-cells = <0>; - - dvi-transmitter@39 { - compatible = "sil,sii9022-tpi", "sil,sii9022"; - reg = <0x39>; - }; - - dvi-transmitter@60 { - compatible = "sil,sii9022-cpi", "sil,sii9022"; - reg = <0x60>; - }; - }; - - rtc@170000 { - compatible = "arm,pl031", "arm,primecell"; - reg = <0x170000 0x1000>; - interrupts = <4>; - }; - - compact-flash@1a0000 { - compatible = "arm,vexpress-cf", "ata-generic"; - reg = <0x1a0000 0x100 - 0x1a0100 0xf00>; - reg-shift = <2>; - }; - - clcd@1f0000 { - compatible = "arm,pl111", "arm,primecell"; - reg = <0x1f0000 0x1000>; - interrupts = <14>; - }; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/vexpress-v2m.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v2/vexpress-v2m.dtsi deleted file mode 100644 index a6c9c7c82..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/vexpress-v2m.dtsi +++ /dev/null @@ -1,200 +0,0 @@ -/* - * ARM Ltd. Versatile Express - * - * Motherboard Express uATX - * V2M-P1 - * - * HBI-0190D - * - * Original memory map ("Legacy memory map" in the board's - * Technical Reference Manual) - * - * WARNING! The hardware described in this file is independent from the - * RS1 variant (vexpress-v2m-rs1.dtsi), but there is a strong - * correspondence between the two configurations. - * - * TAKE CARE WHEN MAINTAINING THIS FILE TO PROPAGATE ANY RELEVANT - * CHANGES TO vexpress-v2m-rs1.dtsi! - */ - -/ { - aliases { - arm,v2m_timer = &v2m_timer01; - }; - - motherboard { - compatible = "simple-bus"; - #address-cells = <2>; /* SMB chipselect number and offset */ - #size-cells = <1>; - #interrupt-cells = <1>; - - flash@0,00000000 { - compatible = "arm,vexpress-flash", "cfi-flash"; - reg = <0 0x00000000 0x04000000>, - <1 0x00000000 0x04000000>; - bank-width = <4>; - }; - - psram@2,00000000 { - compatible = "arm,vexpress-psram", "mtd-ram"; - reg = <2 0x00000000 0x02000000>; - bank-width = <4>; - }; - - vram@3,00000000 { - compatible = "arm,vexpress-vram"; - reg = <3 0x00000000 0x00800000>; - }; - - ethernet@3,02000000 { - compatible = "smsc,lan9118", "smsc,lan9115"; - reg = <3 0x02000000 0x10000>; - interrupts = <15>; - phy-mode = "mii"; - reg-io-width = <4>; - smsc,irq-active-high; - smsc,irq-push-pull; - }; - - usb@3,03000000 { - compatible = "nxp,usb-isp1761"; - reg = <3 0x03000000 0x20000>; - interrupts = <16>; - port1-otg; - }; - - iofpga@7,00000000 { - compatible = "arm,amba-bus", "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0 7 0 0x20000>; - - sysreg@00000 { - compatible = "arm,vexpress-sysreg"; - reg = <0x00000 0x1000>; - }; - - sysctl@01000 { - compatible = "arm,sp810", "arm,primecell"; - reg = <0x01000 0x1000>; - }; - - /* PCI-E I2C bus */ - v2m_i2c_pcie: i2c@02000 { - compatible = "arm,versatile-i2c"; - reg = <0x02000 0x1000>; - - #address-cells = <1>; - #size-cells = <0>; - - pcie-switch@60 { - compatible = "idt,89hpes32h8"; - reg = <0x60>; - }; - }; - - aaci@04000 { - compatible = "arm,pl041", "arm,primecell"; - reg = <0x04000 0x1000>; - interrupts = <11>; - }; - - mmci@05000 { - compatible = "arm,pl180", "arm,primecell"; - reg = <0x05000 0x1000>; - interrupts = <9 10>; - }; - - kmi@06000 { - compatible = "arm,pl050", "arm,primecell"; - reg = <0x06000 0x1000>; - interrupts = <12>; - }; - - kmi@07000 { - compatible = "arm,pl050", "arm,primecell"; - reg = <0x07000 0x1000>; - interrupts = <13>; - }; - - v2m_serial0: uart@09000 { - compatible = "arm,pl011", "arm,primecell"; - reg = <0x09000 0x1000>; - interrupts = <5>; - }; - - v2m_serial1: uart@0a000 { - compatible = "arm,pl011", "arm,primecell"; - reg = <0x0a000 0x1000>; - interrupts = <6>; - }; - - v2m_serial2: uart@0b000 { - compatible = "arm,pl011", "arm,primecell"; - reg = <0x0b000 0x1000>; - interrupts = <7>; - }; - - v2m_serial3: uart@0c000 { - compatible = "arm,pl011", "arm,primecell"; - reg = <0x0c000 0x1000>; - interrupts = <8>; - }; - - wdt@0f000 { - compatible = "arm,sp805", "arm,primecell"; - reg = <0x0f000 0x1000>; - interrupts = <0>; - }; - - v2m_timer01: timer@11000 { - compatible = "arm,sp804", "arm,primecell"; - reg = <0x11000 0x1000>; - interrupts = <2>; - }; - - v2m_timer23: timer@12000 { - compatible = "arm,sp804", "arm,primecell"; - reg = <0x12000 0x1000>; - }; - - /* DVI I2C bus */ - v2m_i2c_dvi: i2c@16000 { - compatible = "arm,versatile-i2c"; - reg = <0x16000 0x1000>; - - #address-cells = <1>; - #size-cells = <0>; - - dvi-transmitter@39 { - compatible = "sil,sii9022-tpi", "sil,sii9022"; - reg = <0x39>; - }; - - dvi-transmitter@60 { - compatible = "sil,sii9022-cpi", "sil,sii9022"; - reg = <0x60>; - }; - }; - - rtc@17000 { - compatible = "arm,pl031", "arm,primecell"; - reg = <0x17000 0x1000>; - interrupts = <4>; - }; - - compact-flash@1a000 { - compatible = "arm,vexpress-cf", "ata-generic"; - reg = <0x1a000 0x100 - 0x1a100 0xf00>; - reg-shift = <2>; - }; - - clcd@1f000 { - compatible = "arm,pl111", "arm,primecell"; - reg = <0x1f000 0x1000>; - interrupts = <14>; - }; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/vexpress-v2p-ca15-tc1.dts b/kernel/arch/arm/boot/dts/m7350-un-v2/vexpress-v2p-ca15-tc1.dts deleted file mode 100644 index 941b161ab..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/vexpress-v2p-ca15-tc1.dts +++ /dev/null @@ -1,157 +0,0 @@ -/* - * ARM Ltd. Versatile Express - * - * CoreTile Express A15x2 (version with Test Chip 1) - * Cortex-A15 MPCore (V2P-CA15) - * - * HBI-0237A - */ - -/dts-v1/; - -/ { - model = "V2P-CA15"; - arm,hbi = <0x237>; - compatible = "arm,vexpress,v2p-ca15,tc1", "arm,vexpress,v2p-ca15", "arm,vexpress"; - interrupt-parent = <&gic>; - #address-cells = <1>; - #size-cells = <1>; - - chosen { }; - - aliases { - serial0 = &v2m_serial0; - serial1 = &v2m_serial1; - serial2 = &v2m_serial2; - serial3 = &v2m_serial3; - i2c0 = &v2m_i2c_dvi; - i2c1 = &v2m_i2c_pcie; - }; - - cpus { - #address-cells = <1>; - #size-cells = <0>; - - cpu@0 { - device_type = "cpu"; - compatible = "arm,cortex-a15"; - reg = <0>; - }; - - cpu@1 { - device_type = "cpu"; - compatible = "arm,cortex-a15"; - reg = <1>; - }; - }; - - memory@80000000 { - device_type = "memory"; - reg = <0x80000000 0x40000000>; - }; - - hdlcd@2b000000 { - compatible = "arm,hdlcd"; - reg = <0x2b000000 0x1000>; - interrupts = <0 85 4>; - }; - - memory-controller@2b0a0000 { - compatible = "arm,pl341", "arm,primecell"; - reg = <0x2b0a0000 0x1000>; - }; - - wdt@2b060000 { - compatible = "arm,sp805", "arm,primecell"; - reg = <0x2b060000 0x1000>; - interrupts = <98>; - }; - - gic: interrupt-controller@2c001000 { - compatible = "arm,cortex-a15-gic", "arm,cortex-a9-gic"; - #interrupt-cells = <3>; - #address-cells = <0>; - interrupt-controller; - reg = <0x2c001000 0x1000>, - <0x2c002000 0x100>; - }; - - memory-controller@7ffd0000 { - compatible = "arm,pl354", "arm,primecell"; - reg = <0x7ffd0000 0x1000>; - interrupts = <0 86 4>, - <0 87 4>; - }; - - dma@7ffb0000 { - compatible = "arm,pl330", "arm,primecell"; - reg = <0x7ffb0000 0x1000>; - interrupts = <0 92 4>, - <0 88 4>, - <0 89 4>, - <0 90 4>, - <0 91 4>; - }; - - pmu { - compatible = "arm,cortex-a15-pmu", "arm,cortex-a9-pmu"; - interrupts = <0 68 4>, - <0 69 4>; - }; - - motherboard { - ranges = <0 0 0x08000000 0x04000000>, - <1 0 0x14000000 0x04000000>, - <2 0 0x18000000 0x04000000>, - <3 0 0x1c000000 0x04000000>, - <4 0 0x0c000000 0x04000000>, - <5 0 0x10000000 0x04000000>; - - interrupt-map-mask = <0 0 63>; - interrupt-map = <0 0 0 &gic 0 0 4>, - <0 0 1 &gic 0 1 4>, - <0 0 2 &gic 0 2 4>, - <0 0 3 &gic 0 3 4>, - <0 0 4 &gic 0 4 4>, - <0 0 5 &gic 0 5 4>, - <0 0 6 &gic 0 6 4>, - <0 0 7 &gic 0 7 4>, - <0 0 8 &gic 0 8 4>, - <0 0 9 &gic 0 9 4>, - <0 0 10 &gic 0 10 4>, - <0 0 11 &gic 0 11 4>, - <0 0 12 &gic 0 12 4>, - <0 0 13 &gic 0 13 4>, - <0 0 14 &gic 0 14 4>, - <0 0 15 &gic 0 15 4>, - <0 0 16 &gic 0 16 4>, - <0 0 17 &gic 0 17 4>, - <0 0 18 &gic 0 18 4>, - <0 0 19 &gic 0 19 4>, - <0 0 20 &gic 0 20 4>, - <0 0 21 &gic 0 21 4>, - <0 0 22 &gic 0 22 4>, - <0 0 23 &gic 0 23 4>, - <0 0 24 &gic 0 24 4>, - <0 0 25 &gic 0 25 4>, - <0 0 26 &gic 0 26 4>, - <0 0 27 &gic 0 27 4>, - <0 0 28 &gic 0 28 4>, - <0 0 29 &gic 0 29 4>, - <0 0 30 &gic 0 30 4>, - <0 0 31 &gic 0 31 4>, - <0 0 32 &gic 0 32 4>, - <0 0 33 &gic 0 33 4>, - <0 0 34 &gic 0 34 4>, - <0 0 35 &gic 0 35 4>, - <0 0 36 &gic 0 36 4>, - <0 0 37 &gic 0 37 4>, - <0 0 38 &gic 0 38 4>, - <0 0 39 &gic 0 39 4>, - <0 0 40 &gic 0 40 4>, - <0 0 41 &gic 0 41 4>, - <0 0 42 &gic 0 42 4>; - }; -}; - -/include/ "vexpress-v2m-rs1.dtsi" diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/vexpress-v2p-ca5s.dts b/kernel/arch/arm/boot/dts/m7350-un-v2/vexpress-v2p-ca5s.dts deleted file mode 100644 index 6905e66d4..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/vexpress-v2p-ca5s.dts +++ /dev/null @@ -1,162 +0,0 @@ -/* - * ARM Ltd. Versatile Express - * - * CoreTile Express A5x2 - * Cortex-A5 MPCore (V2P-CA5s) - * - * HBI-0225B - */ - -/dts-v1/; - -/ { - model = "V2P-CA5s"; - arm,hbi = <0x225>; - compatible = "arm,vexpress,v2p-ca5s", "arm,vexpress"; - interrupt-parent = <&gic>; - #address-cells = <1>; - #size-cells = <1>; - - chosen { }; - - aliases { - serial0 = &v2m_serial0; - serial1 = &v2m_serial1; - serial2 = &v2m_serial2; - serial3 = &v2m_serial3; - i2c0 = &v2m_i2c_dvi; - i2c1 = &v2m_i2c_pcie; - }; - - cpus { - #address-cells = <1>; - #size-cells = <0>; - - cpu@0 { - device_type = "cpu"; - compatible = "arm,cortex-a5"; - reg = <0>; - next-level-cache = <&L2>; - }; - - cpu@1 { - device_type = "cpu"; - compatible = "arm,cortex-a5"; - reg = <1>; - next-level-cache = <&L2>; - }; - }; - - memory@80000000 { - device_type = "memory"; - reg = <0x80000000 0x40000000>; - }; - - hdlcd@2a110000 { - compatible = "arm,hdlcd"; - reg = <0x2a110000 0x1000>; - interrupts = <0 85 4>; - }; - - memory-controller@2a150000 { - compatible = "arm,pl341", "arm,primecell"; - reg = <0x2a150000 0x1000>; - }; - - memory-controller@2a190000 { - compatible = "arm,pl354", "arm,primecell"; - reg = <0x2a190000 0x1000>; - interrupts = <0 86 4>, - <0 87 4>; - }; - - scu@2c000000 { - compatible = "arm,cortex-a5-scu"; - reg = <0x2c000000 0x58>; - }; - - timer@2c000600 { - compatible = "arm,cortex-a5-twd-timer"; - reg = <0x2c000600 0x38>; - interrupts = <1 2 0x304>, - <1 3 0x304>; - }; - - gic: interrupt-controller@2c001000 { - compatible = "arm,corex-a5-gic", "arm,cortex-a9-gic"; - #interrupt-cells = <3>; - #address-cells = <0>; - interrupt-controller; - reg = <0x2c001000 0x1000>, - <0x2c000100 0x100>; - }; - - L2: cache-controller@2c0f0000 { - compatible = "arm,pl310-cache"; - reg = <0x2c0f0000 0x1000>; - interrupts = <0 84 4>; - cache-level = <2>; - }; - - pmu { - compatible = "arm,cortex-a5-pmu", "arm,cortex-a9-pmu"; - interrupts = <0 68 4>, - <0 69 4>; - }; - - motherboard { - ranges = <0 0 0x08000000 0x04000000>, - <1 0 0x14000000 0x04000000>, - <2 0 0x18000000 0x04000000>, - <3 0 0x1c000000 0x04000000>, - <4 0 0x0c000000 0x04000000>, - <5 0 0x10000000 0x04000000>; - - interrupt-map-mask = <0 0 63>; - interrupt-map = <0 0 0 &gic 0 0 4>, - <0 0 1 &gic 0 1 4>, - <0 0 2 &gic 0 2 4>, - <0 0 3 &gic 0 3 4>, - <0 0 4 &gic 0 4 4>, - <0 0 5 &gic 0 5 4>, - <0 0 6 &gic 0 6 4>, - <0 0 7 &gic 0 7 4>, - <0 0 8 &gic 0 8 4>, - <0 0 9 &gic 0 9 4>, - <0 0 10 &gic 0 10 4>, - <0 0 11 &gic 0 11 4>, - <0 0 12 &gic 0 12 4>, - <0 0 13 &gic 0 13 4>, - <0 0 14 &gic 0 14 4>, - <0 0 15 &gic 0 15 4>, - <0 0 16 &gic 0 16 4>, - <0 0 17 &gic 0 17 4>, - <0 0 18 &gic 0 18 4>, - <0 0 19 &gic 0 19 4>, - <0 0 20 &gic 0 20 4>, - <0 0 21 &gic 0 21 4>, - <0 0 22 &gic 0 22 4>, - <0 0 23 &gic 0 23 4>, - <0 0 24 &gic 0 24 4>, - <0 0 25 &gic 0 25 4>, - <0 0 26 &gic 0 26 4>, - <0 0 27 &gic 0 27 4>, - <0 0 28 &gic 0 28 4>, - <0 0 29 &gic 0 29 4>, - <0 0 30 &gic 0 30 4>, - <0 0 31 &gic 0 31 4>, - <0 0 32 &gic 0 32 4>, - <0 0 33 &gic 0 33 4>, - <0 0 34 &gic 0 34 4>, - <0 0 35 &gic 0 35 4>, - <0 0 36 &gic 0 36 4>, - <0 0 37 &gic 0 37 4>, - <0 0 38 &gic 0 38 4>, - <0 0 39 &gic 0 39 4>, - <0 0 40 &gic 0 40 4>, - <0 0 41 &gic 0 41 4>, - <0 0 42 &gic 0 42 4>; - }; -}; - -/include/ "vexpress-v2m-rs1.dtsi" diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/vexpress-v2p-ca9.dts b/kernel/arch/arm/boot/dts/m7350-un-v2/vexpress-v2p-ca9.dts deleted file mode 100644 index da778693b..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/vexpress-v2p-ca9.dts +++ /dev/null @@ -1,192 +0,0 @@ -/* - * ARM Ltd. Versatile Express - * - * CoreTile Express A9x4 - * Cortex-A9 MPCore (V2P-CA9) - * - * HBI-0191B - */ - -/dts-v1/; - -/ { - model = "V2P-CA9"; - arm,hbi = <0x191>; - compatible = "arm,vexpress,v2p-ca9", "arm,vexpress"; - interrupt-parent = <&gic>; - #address-cells = <1>; - #size-cells = <1>; - - chosen { }; - - aliases { - serial0 = &v2m_serial0; - serial1 = &v2m_serial1; - serial2 = &v2m_serial2; - serial3 = &v2m_serial3; - i2c0 = &v2m_i2c_dvi; - i2c1 = &v2m_i2c_pcie; - }; - - cpus { - #address-cells = <1>; - #size-cells = <0>; - - cpu@0 { - device_type = "cpu"; - compatible = "arm,cortex-a9"; - reg = <0>; - next-level-cache = <&L2>; - }; - - cpu@1 { - device_type = "cpu"; - compatible = "arm,cortex-a9"; - reg = <1>; - next-level-cache = <&L2>; - }; - - cpu@2 { - device_type = "cpu"; - compatible = "arm,cortex-a9"; - reg = <2>; - next-level-cache = <&L2>; - }; - - cpu@3 { - device_type = "cpu"; - compatible = "arm,cortex-a9"; - reg = <3>; - next-level-cache = <&L2>; - }; - }; - - memory@60000000 { - device_type = "memory"; - reg = <0x60000000 0x40000000>; - }; - - clcd@10020000 { - compatible = "arm,pl111", "arm,primecell"; - reg = <0x10020000 0x1000>; - interrupts = <0 44 4>; - }; - - memory-controller@100e0000 { - compatible = "arm,pl341", "arm,primecell"; - reg = <0x100e0000 0x1000>; - }; - - memory-controller@100e1000 { - compatible = "arm,pl354", "arm,primecell"; - reg = <0x100e1000 0x1000>; - interrupts = <0 45 4>, - <0 46 4>; - }; - - timer@100e4000 { - compatible = "arm,sp804", "arm,primecell"; - reg = <0x100e4000 0x1000>; - interrupts = <0 48 4>, - <0 49 4>; - }; - - watchdog@100e5000 { - compatible = "arm,sp805", "arm,primecell"; - reg = <0x100e5000 0x1000>; - interrupts = <0 51 4>; - }; - - scu@1e000000 { - compatible = "arm,cortex-a9-scu"; - reg = <0x1e000000 0x58>; - }; - - timer@1e000600 { - compatible = "arm,cortex-a9-twd-timer"; - reg = <0x1e000600 0x20>; - interrupts = <1 2 0xf04>, - <1 3 0xf04>; - }; - - gic: interrupt-controller@1e001000 { - compatible = "arm,cortex-a9-gic"; - #interrupt-cells = <3>; - #address-cells = <0>; - interrupt-controller; - reg = <0x1e001000 0x1000>, - <0x1e000100 0x100>; - }; - - L2: cache-controller@1e00a000 { - compatible = "arm,pl310-cache"; - reg = <0x1e00a000 0x1000>; - interrupts = <0 43 4>; - cache-level = <2>; - arm,data-latency = <1 1 1>; - arm,tag-latency = <1 1 1>; - }; - - pmu { - compatible = "arm,cortex-a9-pmu"; - interrupts = <0 60 4>, - <0 61 4>, - <0 62 4>, - <0 63 4>; - }; - - motherboard { - ranges = <0 0 0x40000000 0x04000000>, - <1 0 0x44000000 0x04000000>, - <2 0 0x48000000 0x04000000>, - <3 0 0x4c000000 0x04000000>, - <7 0 0x10000000 0x00020000>; - - interrupt-map-mask = <0 0 63>; - interrupt-map = <0 0 0 &gic 0 0 4>, - <0 0 1 &gic 0 1 4>, - <0 0 2 &gic 0 2 4>, - <0 0 3 &gic 0 3 4>, - <0 0 4 &gic 0 4 4>, - <0 0 5 &gic 0 5 4>, - <0 0 6 &gic 0 6 4>, - <0 0 7 &gic 0 7 4>, - <0 0 8 &gic 0 8 4>, - <0 0 9 &gic 0 9 4>, - <0 0 10 &gic 0 10 4>, - <0 0 11 &gic 0 11 4>, - <0 0 12 &gic 0 12 4>, - <0 0 13 &gic 0 13 4>, - <0 0 14 &gic 0 14 4>, - <0 0 15 &gic 0 15 4>, - <0 0 16 &gic 0 16 4>, - <0 0 17 &gic 0 17 4>, - <0 0 18 &gic 0 18 4>, - <0 0 19 &gic 0 19 4>, - <0 0 20 &gic 0 20 4>, - <0 0 21 &gic 0 21 4>, - <0 0 22 &gic 0 22 4>, - <0 0 23 &gic 0 23 4>, - <0 0 24 &gic 0 24 4>, - <0 0 25 &gic 0 25 4>, - <0 0 26 &gic 0 26 4>, - <0 0 27 &gic 0 27 4>, - <0 0 28 &gic 0 28 4>, - <0 0 29 &gic 0 29 4>, - <0 0 30 &gic 0 30 4>, - <0 0 31 &gic 0 31 4>, - <0 0 32 &gic 0 32 4>, - <0 0 33 &gic 0 33 4>, - <0 0 34 &gic 0 34 4>, - <0 0 35 &gic 0 35 4>, - <0 0 36 &gic 0 36 4>, - <0 0 37 &gic 0 37 4>, - <0 0 38 &gic 0 38 4>, - <0 0 39 &gic 0 39 4>, - <0 0 40 &gic 0 40 4>, - <0 0 41 &gic 0 41 4>, - <0 0 42 &gic 0 42 4>; - }; -}; - -/include/ "vexpress-v2m.dtsi" diff --git a/kernel/arch/arm/boot/dts/m7350-un-v2/zynq-ep107.dts b/kernel/arch/arm/boot/dts/m7350-un-v2/zynq-ep107.dts deleted file mode 100644 index 37ca192fb..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v2/zynq-ep107.dts +++ /dev/null @@ -1,52 +0,0 @@ -/* - * Copyright (C) 2011 Xilinx - * - * This software is licensed under the terms of the GNU General Public - * License version 2, as published by the Free Software Foundation, and - * may be copied, distributed, and modified under those terms. - * - * 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. - */ - -/dts-v1/; -/ { - model = "Xilinx Zynq EP107"; - compatible = "xlnx,zynq-ep107"; - #address-cells = <1>; - #size-cells = <1>; - interrupt-parent = <&intc>; - - memory { - device_type = "memory"; - reg = <0x0 0x10000000>; - }; - - chosen { - bootargs = "console=ttyPS0,9600 root=/dev/ram rw initrd=0x800000,8M earlyprintk"; - linux,stdout-path = &uart0; - }; - - amba { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - - intc: interrupt-controller@f8f01000 { - interrupt-controller; - compatible = "arm,gic"; - reg = <0xF8F01000 0x1000>; - #interrupt-cells = <2>; - }; - - uart0: uart@e0000000 { - compatible = "xlnx,xuartps"; - reg = <0xE0000000 0x1000>; - interrupts = <59 0>; - clock = <50000000>; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/am3517_mt_ventoux.dts b/kernel/arch/arm/boot/dts/m7350-un-v3/am3517_mt_ventoux.dts deleted file mode 100644 index 5eb26d7d9..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/am3517_mt_ventoux.dts +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Copyright (C) 2011 Ilya Yanok, EmCraft Systems - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. - */ -/dts-v1/; - -/include/ "omap3.dtsi" - -/ { - model = "TeeJet Mt.Ventoux"; - compatible = "teejet,mt_ventoux", "ti,omap3"; - - memory { - device_type = "memory"; - reg = <0x80000000 0x10000000>; /* 256 MB */ - }; - - /* AM35xx doesn't have IVA */ - soc { - iva { - status = "disabled"; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/apq8026-mtp.dts b/kernel/arch/arm/boot/dts/m7350-un-v3/apq8026-mtp.dts deleted file mode 100644 index e14a68568..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/apq8026-mtp.dts +++ /dev/null @@ -1,22 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - - -/dts-v1/; -/include/ "apq8026.dtsi" -/include/ "msm8226-mtp.dtsi" - -/ { - model = "Qualcomm APQ 8026 MTP"; - compatible = "qcom,apq8026-mtp", "qcom,apq8026", "qcom,mtp"; - qcom,msm-id = <199 8 0>; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/apq8026-xpm.dts b/kernel/arch/arm/boot/dts/m7350-un-v3/apq8026-xpm.dts deleted file mode 100644 index 67152af2d..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/apq8026-xpm.dts +++ /dev/null @@ -1,22 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - - -/dts-v1/; -/include/ "apq8026.dtsi" -/include/ "msm8226-cdp.dtsi" - -/ { - model = "Qualcomm APQ 8026 XPM"; - compatible = "qcom,apq8026-xpm", "qcom,apq8026", "qcom,xpm"; - qcom,msm-id = <199 14 0>; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/apq8026.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v3/apq8026.dtsi deleted file mode 100644 index db6576a0d..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/apq8026.dtsi +++ /dev/null @@ -1,24 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/* - * Only 8026-specific property overrides should be placed inside this - * file. Device definitions should be placed inside the msm8226.dtsi - * file. - */ - -/include/ "msm8226.dtsi" - -/ { - model = "Qualcomm APQ 8026"; - compatible = "qcom,apq8026"; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/apq8074-dragonboard.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v3/apq8074-dragonboard.dtsi deleted file mode 100644 index 6b4d1d339..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/apq8074-dragonboard.dtsi +++ /dev/null @@ -1,654 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/include/ "dsi-panel-sharp-qhd-video.dtsi" -/include/ "msm8974-camera-sensor-dragonboard.dtsi" -/include/ "msm8974-leds.dtsi" - -&soc { - serial@f991e000 { - status = "ok"; - }; - - qcom,mdss_dsi_sharp_qhd_video { - status = "ok"; - }; - - qcom,hdmi_tx@fd922100 { - status = "ok"; - }; - - gpio_keys { - compatible = "gpio-keys"; - input-name = "gpio-keys"; - - vol_up { - label = "volume_up"; - gpios = <&pm8941_gpios 5 0x1>; - linux,input-type = <1>; - linux,code = <115>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - - general { - label = "general"; - gpios = <&pm8941_gpios 23 0x1>; - linux,input-type = <1>; - linux,code = <102>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - }; - - bt_ar3002 { - compatible = "qca,ar3002"; - qca,bt-reset-gpio = <&pm8941_gpios 34 0>; - }; - - hsic_hub { - compatible = "qcom,hsic-smsc-hub"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - smsc,reset-gpio = <&pm8941_gpios 8 0x00>; - - hsic_host: hsic@f9a00000 { - compatible = "qcom,hsic-host"; - reg = <0xf9a00000 0x400>; - #address-cells = <0>; - interrupt-parent = <&hsic_host>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 136 0 - 1 &intc 0 148 0 - 2 &msmgpio 144 0x8>; - interrupt-names = "core_irq", "async_irq", "wakeup"; - HSIC_VDDCX-supply = <&pm8841_s2>; - HSIC_GDSC-supply = <&gdsc_usb_hsic>; - hsic,strobe-gpio = <&msmgpio 144 0x00>; - hsic,data-gpio = <&msmgpio 145 0x00>; - hsic,ignore-cal-pad-config; - hsic,strobe-pad-offset = <0x2050>; - hsic,data-pad-offset = <0x2054>; - - qcom,msm-bus,name = "hsic"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,active-only = <0>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <85 512 0 0>, - <85 512 40000 160000>; - }; - }; - - i2c@f9923000 { - status = "ok"; - atmel_mxt_ts@4a { - compatible = "atmel,mxt-ts"; - reg = <0x4a>; - interrupt-parent = <&msmgpio>; - interrupts = <61 0x2>; - vdd_ana-supply = <&pm8941_l18>; - vcc_i2c-supply = <&pm8941_s3>; - atmel,reset-gpio = <&msmgpio 60 0x00>; - atmel,irq-gpio = <&msmgpio 61 0x00>; - atmel,panel-coords = <0 0 566 1067>; - atmel,display-coords = <0 0 540 960>; - atmel,i2c-pull-up; - atmel,cfg_1 { - atmel,family-id = <0x81>; - atmel,variant-id = <0x19>; - atmel,version = <0x10>; - atmel,build = <0xaa>; - atmel,config = [ - /* Object 38, Instance = 0 */ - 0F 02 00 17 04 0C 00 00 - /* Object 7, Instance = 0 */ - 30 FF 19 - /* Object 8, Instance = 0 */ - 1B 00 05 01 00 00 08 08 00 00 - /* Object 9, Instance = 0 */ - 83 00 00 13 0B 00 10 23 01 03 - 0A 0F 01 0B 04 05 28 0A 2B 04 - 36 02 00 00 00 00 8F 28 8F 50 - 12 0F 32 32 02 - /* Object 15, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 - /* Object 18, Instance = 0 */ - 00 00 - /* Object 19, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 - /* Object 23, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 - /* Object 25, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 - /* Object 40, Instance = 0 */ - 00 00 00 00 00 - /* Object 42, Instance = 0 */ - 00 00 00 00 00 00 00 00 - /* Object 46, Instance = 0 */ - 00 03 10 30 00 00 01 00 00 - /* Object 47, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - /* Object 48, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 - ]; - }; - }; - }; - - gen-vkeys { - compatible = "qcom,gen-vkeys"; - label = "atmel_mxt_ts"; - qcom,disp-maxx = <540>; - qcom,disp-maxy = <960>; - qcom,panel-maxx = <566>; - qcom,panel-maxy = <1067>; - qcom,key-codes = <158 139 102 217>; - }; - - sound { - qcom,model = "apq8074-taiko-db-snd-card"; - qcom,hdmi-audio-rx; - - qcom,audio-routing = - "RX_BIAS", "MCLK", - "LDO_H", "MCLK", - "AMIC1", "MIC BIAS1 External", - "MIC BIAS1 External", "Analog Mic4", - "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", - "AMIC5", "MIC BIAS1 External", - "MIC BIAS1 External", "Analog Mic6", - "AMIC6", "MIC BIAS1 External", - "MIC BIAS1 External", "Analog Mic7", - "DMIC1", "MIC BIAS3 External", - "MIC BIAS3 External", "Digital Mic1", - "DMIC2", "MIC BIAS3 External", - "MIC BIAS3 External", "Digital Mic2", - "DMIC3", "MIC BIAS4 External", - "MIC BIAS4 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"; - }; - - qcom,pronto@fb21b000 { - status = "disabled"; - }; - - qcom,iris-fm { - status = "disabled"; - }; - - qcom,wcnss-wlan@fb000000 { - status = "disabled"; - }; - - qcom,smd-wcnss { - status = "disabled"; - }; - - qcom,smsm-wcnss { - status = "disabled"; - }; -}; - -&mdss_fb0 { - qcom,memory-reservation-size = <0x1000000>; /* size 16MB */ -}; - -&sdcc3 { - qcom,sup-voltages = <2000 2000>; - status = "ok"; -}; - -&pm8941_l19 { - regulator-min-microvolt = <3300000>; - regulator-max-microvolt = <3300000>; - qcom,init-voltage = <3300000>; - regulator-always-on; -}; - -&pm8941_l10 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - regulator-always-on; -}; - -&uart7 { - status = "ok"; - qcom,tx-gpio = <&msmgpio 41 0x00>; - qcom,rx-gpio = <&msmgpio 42 0x00>; - qcom,cts-gpio = <&msmgpio 43 0x00>; - qcom,rfr-gpio = <&msmgpio 44 0x00>; -}; - -&usb_otg { - status = "ok"; - qcom,hsusb-otg-otg-control = <2>; - qcom,hsusb-otg-mode = <3>; - vbus_otg-supply = <&pm8941_mvs1>; - qcom,usb2-enable-hsphy2; - qcom,dp-manual-pullup; - - #address-cells = <0>; - interrupt-parent = <&usb_otg>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 134 0 - 1 &intc 0 140 0 - 2 &spmi_bus 0x0 0x0 0x9 0x0>; - interrupt-names = "core_irq", "async_irq", "pmic_id_irq"; -}; - -&usb3 { - qcom,charging-disabled; - vbus_dwc3-supply = <0>; - dwc3@f9200000 { - host-only-mode; - }; -}; - -&slim_msm { - taiko_codec { - qcom,cdc-micbias2-ext-cap; - qcom,cdc-micbias3-ext-cap; - }; -}; - -&pm8941_gpios { - gpio@c000 { /* GPIO 1 */ - qcom,mode = <0>; - qcom,pull = <0>; - qcom,vin-sel = <2>; - qcom,src-sel = <0>; - }; - - gpio@c100 { /* GPIO 2 */ - qcom,mode = <0>; - qcom,pull = <0>; - qcom,vin-sel = <2>; - qcom,src-sel = <0>; - }; - - gpio@c200 { /* GPIO 3 */ - }; - - gpio@c300 { /* GPIO 4 */ - }; - - gpio@c400 { /* GPIO 5 */ - qcom,mode = <0>; - qcom,pull = <0>; - qcom,vin-sel = <2>; - qcom,src-sel = <0>; - }; - - gpio@c500 { /* GPIO 6 */ - /* TUSB3_HUB-RESET */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,output-type = <0>; /* QPNP_PIN_OUT_BUF_CMOS */ - qcom,pull = <0>; /* QPNP_PIN_PULL_30 */ - qcom,vin-sel = <0>; /* QPNP_PIN_VIN0 VPH */ - qcom,out-strength = <2>; /* QPNP_PIN_OUT_STRENGTH_MED */ - qcom,src-sel = <0>; /* QPNP_PIN_SEL_FUNC_CONSTANT */ - qcom,invert = <1>; /* Keep it out of reset */ - qcom,master-en = <1>; - }; - - gpio@c600 { /* GPIO 7 */ - }; - - gpio@c700 { /* GPIO 8 */ - /* HSIC_HUB-RESET */ - qcom,mode = <1>; /* DIG_OUT */ - qcom,pull = <5>; /* PULL_NO */ - qcom,out-strength = <2>; /* STRENGTH_MED */ - qcom,master-en = <1>; - }; - - gpio@c800 { /* GPIO 9 */ - /* GbE_RST_N */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,output-type = <0>; /* QPNP_PIN_OUT_BUF_CMOS */ - qcom,pull = <0>; /* QPNP_PIN_PULL_30 */ - qcom,vin-sel = <0>; /* QPNP_PIN_VIN0 VPH */ - qcom,out-strength = <2>; /* QPNP_PIN_OUT_STRENGTH_MED */ - qcom,src-sel = <0>; /* QPNP_PIN_SEL_FUNC_CONSTANT */ - qcom,invert = <1>; /* Keep it out of reset */ - qcom,master-en = <1>; - }; - - gpio@c900 { /* GPIO 10 */ - /* SATA_RST_N */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,output-type = <0>; /* QPNP_PIN_OUT_BUF_CMOS */ - qcom,pull = <0>; /* QPNP_PIN_PULL_30 */ - qcom,vin-sel = <0>; /* QPNP_PIN_VIN0 VPH */ - qcom,out-strength = <2>; /* QPNP_PIN_OUT_STRENGTH_MED */ - qcom,src-sel = <0>; /* QPNP_PIN_SEL_FUNC_CONSTANT */ - qcom,invert = <1>; /* Keep it out of reset */ - qcom,master-en = <1>; - }; - - gpio@ca00 { /* GPIO 11 */ - }; - - gpio@cb00 { /* GPIO 12 */ - }; - - gpio@cc00 { /* GPIO 13 */ - }; - - gpio@cd00 { /* GPIO 14 */ - }; - - gpio@ce00 { /* GPIO 15 */ - qcom,mode = <1>; - qcom,output-type = <0>; - qcom,pull = <5>; - qcom,vin-sel = <2>; - qcom,out-strength = <3>; - qcom,src-sel = <2>; - qcom,master-en = <1>; - }; - - gpio@cf00 { /* GPIO 16 */ - }; - - gpio@d000 { /* GPIO 17 */ - }; - - gpio@d100 { /* GPIO 18 */ - }; - - gpio@d200 { /* GPIO 19 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,output-type = <0>; /* QPNP_PIN_OUT_BUF_CMOS */ - qcom,pull = <5>; /* QPNP_PIN_PULL_NO */ - qcom,vin-sel = <2>; /* QPNP_PIN_VIN2 */ - qcom,out-strength = <2>; /* QPNP_PIN_OUT_STRENGTH_MED */ - qcom,src-sel = <0>; /* QPNP_PIN_SEL_FUNC_CONSTANT */ - qcom,master-en = <1>; - }; - - gpio@d300 { /* GPIO 20 */ - }; - - gpio@d400 { /* GPIO 21 */ - }; - - gpio@d500 { /* GPIO 22 */ - }; - - gpio@d600 { /* GPIO 23 */ - }; - - gpio@d700 { /* GPIO 24 */ - }; - - gpio@d800 { /* GPIO 25 */ - }; - - gpio@d900 { /* GPIO 26 */ - }; - - gpio@da00 { /* GPIO 27 */ - }; - - gpio@db00 { /* GPIO 28 */ - }; - - gpio@dc00 { /* GPIO 29 */ - qcom,pull = <0>; /* set to default pull */ - qcom,master-en = <1>; - qcom,vin-sel = <2>; /* select 1.8 V source */ - }; - - gpio@dd00 { /* GPIO 30 */ - }; - - gpio@de00 { /* GPIO 31 */ - }; - - gpio@df00 { /* GPIO 32 */ - }; - - gpio@e000 { /* GPIO 33 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,output-type = <0>; /* QPNP_PIN_OUT_BUF_CMOS */ - qcom,pull = <5>; /* QPNP_PIN_PULL_NO */ - qcom,vin-sel = <2>; /* QPNP_PIN_VIN2 */ - qcom,out-strength = <2>; /* QPNP_PIN_OUT_STRENGTH_MED */ - qcom,src-sel = <0>; /* QPNP_PIN_SEL_FUNC_CONSTANT */ - qcom,invert = <1>; - qcom,master-en = <1>; - }; - - gpio@e100 { /* GPIO 34 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,output-type = <0>; /* QPNP_PIN_OUT_BUF_CMOS */ - qcom,pull = <5>; /* QPNP_PIN_PULL_NO */ - qcom,vin-sel = <2>; /* QPNP_PIN_VIN2 */ - qcom,out-strength = <2>; /* QPNP_PIN_OUT_STRENGTH_MED */ - qcom,src-sel = <0>; /* QPNP_PIN_SEL_FUNC_CONSTANT */ - qcom,invert = <0>; - qcom,master-en = <1>; - }; - - gpio@e200 { /* GPIO 35 */ - }; - - gpio@e300 { /* GPIO 36 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,output-type = <0>; /* QPNP_PIN_OUT_BUF_CMOS */ - qcom,pull = <5>; /* QPNP_PIN_PULL_NO */ - qcom,vin-sel = <2>; /* QPNP_PIN_VIN2 */ - qcom,out-strength = <3>; /* QPNP_PIN_OUT_STRENGTH_HIGH */ - qcom,src-sel = <3>; /* QPNP_PIN_SEL_FUNC_2 */ - qcom,master-en = <1>; - }; -}; - -&pm8941_mpps { - - mpp@a000 { /* MPP 1 */ - }; - - mpp@a100 { /* MPP 2 */ - }; - - mpp@a200 { /* MPP 3 */ - }; - - mpp@a300 { /* MPP 4 */ - }; - - mpp@a400 { /* MPP 5 */ - }; - - mpp@a500 { /* MPP 6 */ - }; - - mpp@a600 { /* MPP 7 */ - }; - - mpp@a700 { /* MPP 8 */ - }; -}; - -&pm8841_mpps { - - mpp@a000 { /* MPP 1 */ - }; - - mpp@a100 { /* MPP 2 */ - }; - - mpp@a200 { /* MPP 3*/ - }; - - mpp@a300 { /* MPP 4*/ - }; -}; - -&spi_epm { - epm-adc@0 { - compatible = "cy,epm-adc-cy8c5568lti-114"; - reg = <0>; - interrupt-parent = <&msmgpio>; - spi-max-frequency = <960000>; - qcom,channels = <31>; - qcom,gain = <50 50 50 50 50 100 50 50 50 50 - 50 50 50 50 100 50 50 50 50 100 - 50 50 50 100 50 50 50 1 1 1 - 1>; - qcom,rsense = <40 10 10 25 10 1000 75 25 10 25 - 33 500 200 10 500 100 33 200 25 100 - 75 500 50 200 5 5 3 1 1 1 - 1>; - qcom,channel-type = <0xf0000000>; - }; -}; - -&spmi_bus { - qcom,pm8941@1 { - qcom,leds@d000 { - qcom,rgb_2 { - status = "ok"; - qcom,default-state = "on"; - qcom,turn-off-delay-ms = <1000>; - }; - }; - - qcom,leds@d800 { - status = "okay"; - qcom,wled_0 { - label = "wled"; - linux,name = "wled:backlight"; - linux,default-trigger = "bkl-trigger"; - qcom,cs-out-en; - qcom,op-fdbck = <1>; - qcom,default-state = "on"; - qcom,max-current = <20>; - qcom,ctrl-delay-us = <0>; - qcom,boost-curr-lim = <3>; - qcom,cp-sel = <0>; - qcom,switch-freq = <2>; - qcom,ovp-val = <1>; - qcom,num-strings = <1>; - qcom,id = <0>; - }; - }; - }; -}; - -&pm8941_chg { - status = "ok"; - - qcom,charging-disabled; - - qcom,chgr@1000 { - status = "ok"; - }; - - qcom,buck@1100 { - status = "ok"; - }; - - qcom,usb-chgpth@1300 { - status = "ok"; - }; - - qcom,dc-chgpth@1400 { - status = "ok"; - }; - - qcom,boost@1500 { - status = "ok"; - }; - - qcom,chg-misc@1600 { - status = "ok"; - }; -}; - -&sdhc_1 { - vdd-supply = <&pm8941_l20>; - vdd-io-supply = <&pm8941_s3>; - - qcom,vdd-always-on; - qcom,vdd-lpm-sup; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <800 500000>; - - qcom,vdd-io-always-on; - qcom,vdd-io-voltage-level = <1800000 1800000>; - qcom,vdd-io-current-level = <250 154000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,nonremovable; - status = "ok"; -}; - -&sdhc_2 { - #address-cells = <0>; - interrupt-parent = <&sdhc_2>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 125 0 - 1 &intc 0 221 0 - 2 &msmgpio 62 0x3>; - interrupt-names = "hc_irq", "pwr_irq", "status_irq"; - cd-gpios = <&msmgpio 62 0x1>; - - vdd-supply = <&pm8941_l21>; - vdd-io-supply = <&pm8941_l13>; - - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <9000 800000>; - - qcom,vdd-io-voltage-level = <1800000 2950000>; - qcom,vdd-io-current-level = <6 22000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - status = "ok"; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/apq8074-v1.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v3/apq8074-v1.dtsi deleted file mode 100644 index c4e7b7c3c..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/apq8074-v1.dtsi +++ /dev/null @@ -1,48 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/* - * As a general rule, only version-specific property overrides should be placed - * inside this file. However, device definitions should be placed inside the - * msm8974.dtsi file. - */ - -/include/ "msm8974-v1.dtsi" - -&soc { - qcom,qseecom@a700000 { - compatible = "qcom,qseecom"; - reg = <0x0a700000 0x500000>; - reg-names = "secapp-region"; - qcom,disk-encrypt-pipe-pair = <2>; - qcom,hlos-ce-hw-instance = <1>; - qcom,qsee-ce-hw-instance = <0>; - qcom,msm-bus,name = "qseecom-noc"; - qcom,msm-bus,num-cases = <4>; - qcom,msm-bus,active-only = <0>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <55 512 0 0>, - <55 512 3936000 393600>, - <55 512 3936000 393600>, - <55 512 3936000 393600>; - }; -}; - -&memory_hole { - qcom,memblock-remove = <0x0a700000 0x5800000>; /* Address and size of the hole */ -}; - -&qseecom { - status = "disabled"; -}; - diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/apq8074-v2-dragonboard.dts b/kernel/arch/arm/boot/dts/m7350-un-v3/apq8074-v2-dragonboard.dts deleted file mode 100644 index 5a6f5f3bf..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/apq8074-v2-dragonboard.dts +++ /dev/null @@ -1,22 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; - -/include/ "apq8074-v2.dtsi" -/include/ "apq8074-dragonboard.dtsi" - -/ { - model = "Qualcomm APQ 8074v2 DRAGONBOARD"; - compatible = "qcom,apq8074-dragonboard", "qcom,apq8074", "qcom,dragonboard"; - qcom,msm-id = <184 10 0x20000>; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/apq8074-v2-liquid.dts b/kernel/arch/arm/boot/dts/m7350-un-v3/apq8074-v2-liquid.dts deleted file mode 100644 index 4ec1cdd17..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/apq8074-v2-liquid.dts +++ /dev/null @@ -1,34 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; - -/include/ "apq8074-v2.dtsi" -/include/ "msm8974-liquid.dtsi" - -/ { - model = "Qualcomm APQ 8074v2 LIQUID"; - compatible = "qcom,apq8074-liquid", "qcom,apq8074", "qcom,liquid"; - qcom,msm-id = <184 9 0x20000>; -}; - -&usb3 { - interrupt-parent = <&usb3>; - interrupts = <0 1>; - #interrupt-cells = <1>; - interrupt-map-mask = <0x0 0xffffffff>; - interrupt-map = <0x0 0 &intc 0 133 0 - 0x0 1 &spmi_bus 0x0 0x0 0x9 0x0>; - interrupt-names = "hs_phy_irq", "pmic_id_irq"; - - qcom,misc-ref = <&pm8941_misc>; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/apq8074-v2.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v3/apq8074-v2.dtsi deleted file mode 100644 index 76eb14b96..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/apq8074-v2.dtsi +++ /dev/null @@ -1,52 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/* - * As a general rule, only version-specific property overrides should be placed - * inside this file. However, device definitions should be placed inside the - * msm8974.dtsi file. - */ - -/include/ "msm8974-v2.dtsi" - -&soc { - qcom,qseecom@a700000 { - compatible = "qcom,qseecom"; - reg = <0x0a700000 0x500000>; - reg-names = "secapp-region"; - qcom,disk-encrypt-pipe-pair = <2>; - qcom,hlos-ce-hw-instance = <1>; - qcom,qsee-ce-hw-instance = <0>; - qcom,msm-bus,name = "qseecom-noc"; - qcom,msm-bus,num-cases = <4>; - qcom,msm-bus,active-only = <0>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <55 512 0 0>, - <55 512 3936000 393600>, - <55 512 3936000 393600>, - <55 512 3936000 393600>; - }; - - sound { - compatible = "qcom,apq8074-audio-taiko"; - }; -}; - -&memory_hole { - qcom,memblock-remove = <0x0a700000 0x5800000>; /* Address and size of the hole */ -}; - -&qseecom { - status = "disabled"; -}; - diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/apq8084-ion.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v3/apq8084-ion.dtsi deleted file mode 100644 index ea954b89c..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/apq8084-ion.dtsi +++ /dev/null @@ -1,31 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -&soc { - qcom,ion { - compatible = "qcom,msm-ion"; - #address-cells = <1>; - #size-cells = <0>; - - qcom,ion-heap@30 { /* SYSTEM HEAP */ - reg = <30>; - }; - - qcom,ion-heap@21 { /* SYSTEM CONTIG HEAP */ - reg = <21>; - }; - - qcom,ion-heap@25 { /* IOMMU HEAP */ - reg = <25>; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/apq8084-regulator.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v3/apq8084-regulator.dtsi deleted file mode 100644 index 998b46906..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/apq8084-regulator.dtsi +++ /dev/null @@ -1,377 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - - -/* QPNP controlled regulators: */ - -&spmi_bus { - qcom,pma8084@1 { - pma8084_s1: regulator@1400 { - regulator-min-microvolt = <1050000>; - regulator-max-microvolt = <1050000>; - qcom,enable-time = <500>; - qcom,pull-down-enable = <1>; - regulator-always-on; - qcom,system-load = <100000>; - status = "okay"; - }; - - /* PMA8084 S2 + S12 = 2 phase VDD_CX supply */ - pma8084_s2: regulator@1700 { - regulator-min-microvolt = <1050000>; - regulator-max-microvolt = <1050000>; - qcom,enable-time = <500>; - qcom,pull-down-enable = <1>; - regulator-always-on; - qcom,system-load = <100000>; - status = "okay"; - }; - - pma8084_s3: regulator@1a00 { - regulator-min-microvolt = <1300000>; - regulator-max-microvolt = <1300000>; - qcom,enable-time = <500>; - qcom,pull-down-enable = <1>; - regulator-always-on; - qcom,system-load = <100000>; - status = "okay"; - }; - - pma8084_s4: regulator@1d00 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,enable-time = <500>; - qcom,pull-down-enable = <1>; - regulator-always-on; - qcom,system-load = <100000>; - status = "okay"; - }; - - pma8084_s5: regulator@2000 { - regulator-min-microvolt = <2150000>; - regulator-max-microvolt = <2150000>; - qcom,enable-time = <500>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - /* PMA8084 S6 + S7 = 2 phase VDD_GFX supply */ - pma8084_s6: regulator@2300 { - regulator-min-microvolt = <815000>; - regulator-max-microvolt = <900000>; - qcom,enable-time = <500>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - /* PMA8084 S8 + S9 + S10 + S11 = 4 phase VDD_APC supply */ - pma8084_s8: regulator@2900 { - regulator-min-microvolt = <500000>; - regulator-max-microvolt = <1100000>; - qcom,enable-time = <500>; - qcom,pull-down-enable = <1>; - regulator-always-on; - qcom,system-load = <100000>; - status = "okay"; - }; - - /* Output of PMA8084 L1 and L11 is tied together. */ - pma8084_l1: regulator@4000 { - parent-supply = <&pma8084_s3>; - regulator-min-microvolt = <1225000>; - regulator-max-microvolt = <1225000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - regulator-always-on; - qcom,system-load = <10000>; - status = "okay"; - }; - - pma8084_l2: regulator@4100 { - parent-supply = <&pma8084_s3>; - regulator-min-microvolt = <1200000>; - regulator-max-microvolt = <1200000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l3: regulator@4200 { - parent-supply = <&pma8084_s3>; - regulator-min-microvolt = <1225000>; - regulator-max-microvolt = <1225000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l4: regulator@4300 { - parent-supply = <&pma8084_s3>; - regulator-min-microvolt = <1000000>; - regulator-max-microvolt = <1000000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l6: regulator@4500 { - parent-supply = <&pma8084_s5>; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l8: regulator@4700 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l9: regulator@4800 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l10: regulator@4900 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l12: regulator@4b00 { - parent-supply = <&pma8084_s5>; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l13: regulator@4c00 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <2950000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l14: regulator@4d00 { - parent-supply = <&pma8084_s5>; - regulator-min-microvolt = <1225000>; - regulator-max-microvolt = <1225000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l15: regulator@4e00 { - parent-supply = <&pma8084_s5>; - regulator-min-microvolt = <1200000>; - regulator-max-microvolt = <1200000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l16: regulator@4f00 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l17: regulator@5000 { - regulator-min-microvolt = <2800000>; - regulator-max-microvolt = <2800000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l18: regulator@5100 { - regulator-min-microvolt = <2850000>; - regulator-max-microvolt = <2850000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l19: regulator@5200 { - regulator-min-microvolt = <2950000>; - regulator-max-microvolt = <2950000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l20: regulator@5300 { - regulator-min-microvolt = <2950000>; - regulator-max-microvolt = <2950000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l21: regulator@5400 { - regulator-min-microvolt = <2950000>; - regulator-max-microvolt = <2950000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l22: regulator@5500 { - regulator-min-microvolt = <3000000>; - regulator-max-microvolt = <3000000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l23: regulator@5600 { - regulator-min-microvolt = <2700000>; - regulator-max-microvolt = <2700000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l24: regulator@5700 { - regulator-min-microvolt = <3075000>; - regulator-max-microvolt = <3075000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l25: regulator@5800 { - regulator-min-microvolt = <2100000>; - regulator-max-microvolt = <2100000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l26: regulator@5900 { - parent-supply = <&pma8084_s5>; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l27: regulator@5a00 { - parent-supply = <&pma8084_s3>; - regulator-min-microvolt = <1050000>; - regulator-max-microvolt = <1050000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_lvs1: regulator@8000 { - parent-supply = <&pma8084_s4>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_lvs2: regulator@8100 { - parent-supply = <&pma8084_s4>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_lvs3: regulator@8200 { - parent-supply = <&pma8084_s4>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_lvs4: regulator@8300 { - parent-supply = <&pma8084_s4>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_mvs1: regulator@8400 { - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - }; -}; - -&rpm_bus { - rpm-regulator-smpb1 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "smpb"; - qcom,resource-id = <1>; - qcom,regulator-type = <1>; - qcom,hpm-min-load = <100000>; - - pma8084_s1_ao: regulator-s1-ao { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8084_s1_ao"; - qcom,set = <1>; - regulator-min-microvolt = <675000>; - regulator-max-microvolt = <1050000>; - }; - }; - - rpm-regulator-smpb2 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "smpb"; - qcom,resource-id = <2>; - qcom,regulator-type = <1>; - qcom,hpm-min-load = <100000>; - - pma8084_s2_corner_ao: regulator-s2-corner-ao { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8084_s2_corner_ao"; - qcom,set = <1>; - regulator-min-microvolt = <1>; - regulator-max-microvolt = <7>; - qcom,use-voltage-corner; - }; - }; - - rpm-regulator-ldoa12 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <12>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - - pma8084_l12_ao: regulator-l12-ao { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8084_l12_ao"; - qcom,set = <1>; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/apq8084-sim.dts b/kernel/arch/arm/boot/dts/m7350-un-v3/apq8084-sim.dts deleted file mode 100644 index e206d4dd0..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/apq8084-sim.dts +++ /dev/null @@ -1,173 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; - -/include/ "apq8084.dtsi" - -/ { - model = "Qualcomm APQ 8084 Simulator"; - compatible = "qcom,apq8084-sim", "qcom,apq8084", "qcom,sim"; - qcom,msm-id = <178 0 0>; - - aliases { - serial0 = &uart0; - }; -}; - -&soc { - uart0: serial@f991f000 { - status = "ok"; - }; -}; - -&sdcc1 { - qcom,vdd-always-on; - qcom,vdd-lpm-sup; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <800 500000>; - - qcom,vdd-io-always-on; - qcom,vdd-io-voltage-level = <1800000 1800000>; - qcom,vdd-io-current-level = <250 154000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 20000000 25000000 50000000 100000000 200000000>; - qcom,sup-voltages = <2950 2950>; - qcom,nonremovable; - qcom,bus-speed-mode = "HS200_1p8v", "DDR_1p8v"; - - status = "ok"; -}; - -&sdcc2 { - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <9000 800000>; - qcom,vdd-io-voltage-level = <1800000 2950000>; - qcom,vdd-io-current-level = <6 22000>; - qcom,vdd-io-lpm-sup; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 20000000 25000000 50000000 100000000 200000000>; - qcom,sup-voltages = <2950 2950>; - qcom,xpc; - qcom,bus-speed-mode = "SDR12", "SDR25", "SDR50", "DDR50", "SDR104"; - qcom,current-limit = <800>; - - status = "ok"; -}; - -&pma8084_gpios { - gpio@c000 { /* GPIO 1 */ - }; - - gpio@c100 { /* GPIO 2 */ - }; - - gpio@c200 { /* GPIO 3 */ - }; - - gpio@c300 { /* GPIO 4 */ - }; - - gpio@c400 { /* GPIO 5 */ - }; - - gpio@c500 { /* GPIO 6 */ - }; - - gpio@c600 { /* GPIO 7 */ - }; - - gpio@c700 { /* GPIO 8 */ - }; - - gpio@c800 { /* GPIO 9 */ - }; - - gpio@c900 { /* GPIO 10 */ - }; - - gpio@ca00 { /* GPIO 11 */ - }; - - gpio@cb00 { /* GPIO 12 */ - }; - - gpio@cc00 { /* GPIO 13 */ - }; - - gpio@cd00 { /* GPIO 14 */ - }; - - gpio@ce00 { /* GPIO 15 */ - }; - - gpio@cf00 { /* GPIO 16 */ - }; - - gpio@d000 { /* GPIO 17 */ - }; - - gpio@d100 { /* GPIO 18 */ - }; - - gpio@d200 { /* GPIO 19 */ - }; - - gpio@d300 { /* GPIO 20 */ - }; - - gpio@d400 { /* GPIO 21 */ - }; - - gpio@d500 { /* GPIO 22 */ - }; -}; - -&pma8084_mpps { - mpp@a000 { /* MPP 1 */ - }; - - mpp@a100 { /* MPP 2 */ - }; - - mpp@a200 { /* MPP 3 */ - }; - - mpp@a300 { /* MPP 4 */ - }; - - mpp@a400 { /* MPP 5 */ - }; - - mpp@a500 { /* MPP 6 */ - }; - - mpp@a600 { /* MPP 7 */ - }; - - mpp@a700 { /* MPP 8 */ - }; -}; - -&usb3 { - qcom,skip-charger-detection; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/apq8084-smp2p.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v3/apq8084-smp2p.dtsi deleted file mode 100644 index b1d21ffd7..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/apq8084-smp2p.dtsi +++ /dev/null @@ -1,82 +0,0 @@ -/* Copyright (c) 2013, 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. - */ -&soc { - qcom,smp2p-adsp { - compatible = "qcom,smp2p"; - reg = <0xf9011008 0x4>; - qcom,remote-pid = <2>; - qcom,irq-bitmask = <0x400>; - interrupts = <0 158 1>; - }; - - smp2pgpio_smp2p_7_in: qcom,smp2pgpio-smp2p-7-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <7>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_7_in { - compatible = "qcom,smp2pgpio_test_smp2p_7_in"; - gpios = <&smp2pgpio_smp2p_7_in 0 0>; - }; - - smp2pgpio_smp2p_7_out: qcom,smp2pgpio-smp2p-7-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <7>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_7_out { - compatible = "qcom,smp2pgpio_test_smp2p_7_out"; - gpios = <&smp2pgpio_smp2p_7_out 0 0>; - }; - - smp2pgpio_smp2p_2_in: qcom,smp2pgpio-smp2p-2-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <2>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_2_in { - compatible = "qcom,smp2pgpio_test_smp2p_2_in"; - gpios = <&smp2pgpio_smp2p_2_in 0 0>; - }; - - smp2pgpio_smp2p_2_out: qcom,smp2pgpio-smp2p-2-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <2>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_2_out { - compatible = "qcom,smp2pgpio_test_smp2p_2_out"; - gpios = <&smp2pgpio_smp2p_2_out 0 0>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/apq8084.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v3/apq8084.dtsi deleted file mode 100644 index b39f5690a..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/apq8084.dtsi +++ /dev/null @@ -1,276 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/include/ "skeleton64.dtsi" - -/ { - model = "Qualcomm APQ 8084"; - compatible = "qcom,apq8084"; - interrupt-parent = <&intc>; - soc: soc { }; -}; - -/include/ "apq8084-ion.dtsi" -/include/ "apq8084-smp2p.dtsi" - -&soc { - #address-cells = <1>; - #size-cells = <1>; - ranges = <0 0 0 0xffffffff>; - - intc: interrupt-controller@f9000000 { - compatible = "qcom,msm-qgic2"; - interrupt-controller; - #interrupt-cells = <3>; - reg = <0xF9000000 0x1000>, - <0xF9002000 0x1000>; - }; - - msmgpio: gpio@fd510000 { - compatible = "qcom,msm-gpio"; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - reg = <0xfd510000 0x4000>; - ngpio = <146>; - interrupts = <0 208 0>; - qcom,direct-connect-irqs = <8>; - }; - - timer { - compatible = "arm,armv7-timer"; - interrupts = <1 2 0 1 3 0>; - clock-frequency = <19200000>; - }; - - serial@f991f000 { - compatible = "qcom,msm-lsuart-v14"; - reg = <0xf991f000 0x1000>; - interrupts = <0 109 0>; - status = "disabled"; - }; - - qcom,cache_erp { - compatible = "qcom,cache_erp"; - interrupts = <1 9 0>, <0 2 0>; - interrupt-names = "l1_irq", "l2_irq"; - }; - - qcom,cache_dump { - compatible = "qcom,cache_dump"; - qcom,l1-dump-size = <0x100000>; - qcom,l2-dump-size = <0x500000>; - qcom,memory-reservation-type = "EBI1"; - qcom,memory-reservation-size = <0x600000>; /* 6M EBI1 buffer */ - }; - - rpm_bus: qcom,rpm-smd { - compatible = "qcom,rpm-smd"; - rpm-channel-name = "rpm_requests"; - rpm-channel-type = <15>; /* SMD_APPS_RPM */ - rpm-standalone; - }; - - qcom,msm-imem@fe805000 { - compatible = "qcom,msm-imem"; - reg = <0xfe805000 0x1000>; /* Address and size of IMEM */ - }; - - qcom,msm-rtb { - compatible = "qcom,msm-rtb"; - qcom,memory-reservation-type = "EBI1"; - qcom,memory-reservation-size = <0x100000>; /* 1M EBI1 buffer */ - }; - - sdcc1: qcom,sdcc@f9824000 { - cell-index = <1>; /* SDC1 eMMC slot */ - compatible = "qcom,msm-sdcc"; - reg = <0xf9824000 0x800>; - reg-names = "core_mem"; - interrupts = <0 123 0>; - interrupt-names = "core_irq"; - - qcom,bus-width = <8>; - status = "disabled"; - }; - - sdcc2: qcom,sdcc@f98a4000 { - cell-index = <2>; /* SDC2 SD card slot */ - compatible = "qcom,msm-sdcc"; - reg = <0xf98a4000 0x800>; - reg-names = "core_mem"; - interrupts = <0 125 0>; - interrupt-names = "core_irq"; - - - qcom,bus-width = <4>; - status = "disabled"; - }; - - qcom,sps@f9980000 { - compatible = "qcom,msm_sps"; - reg = <0xf9984000 0x15000>, - <0xf9999000 0xb000>; - interrupts = <0 94 0>; - qcom,pipe-attr-ee; - }; - - spmi_bus: qcom,spmi@fc4c0000 { - cell-index = <0>; - 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,not-wakeup; - qcom,pmic-arb-ee = <0>; - qcom,pmic-arb-channel = <0>; - #address-cells = <1>; - #size-cells = <0>; - interrupt-controller; - #interrupt-cells = <3>; - }; - - i2c_0: i2c@f9925000 { /* BLSP1 QUP3 */ - cell-index = <0>; - compatible = "qcom,i2c-qup"; - #address-cells = <1>; - #size-cells = <0>; - reg-names = "qup_phys_addr"; - reg = <0xf9925000 0x1000>; - interrupt-names = "qup_err_intr"; - interrupts = <0 97 0>; - qcom,i2c-bus-freq = <100000>; - qcom,i2c-src-freq = <50000000>; - qcom,sda-gpio = <&msmgpio 10 0>; - qcom,scl-gpio = <&msmgpio 11 0>; - }; - - usb3: qcom,ssusb@f9200000 { - compatible = "qcom,dwc-usb3-msm"; - reg = <0xf9200000 0xfc000>, - <0xfd4ab000 0x4>; - #address-cells = <1>; - #size-cells = <1>; - ranges; - interrupts = <0 133 0>; - interrupt-names = "hs_phy_irq"; - ssusb_vdd_dig-supply = <&pma8084_s1>; - SSUSB_1p8-supply = <&pma8084_l6>; - hsusb_vdd_dig-supply = <&pma8084_s1>; - HSUSB_1p8-supply = <&pma8084_l6>; - HSUSB_3p3-supply = <&pma8084_l24>; - qcom,dwc-usb3-msm-dbm-eps = <4>; - qcom,vdd-voltage-level = <0 900000 1050000>; - - dwc3@f9200000 { - compatible = "synopsys,dwc3"; - reg = <0xf9200000 0xfc000>; - interrupt-parent = <&intc>; - interrupts = <0 131 0>, <0 179 0>; - interrupt-names = "irq", "otg_irq"; - tx-fifo-resize; - }; - }; - - android_usb { - compatible = "qcom,android-usb"; - }; - - 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>; - - partition@0 { - reg = <0x0 0x180000>; - qcom,ocmem-part-name = "graphics"; - qcom,ocmem-part-min = <0x80000>; - }; - - partition@80000 { - reg = <0x180000 0x80000>; - qcom,ocmem-part-name = "lp_audio"; - qcom,ocmem-part-min = <0x80000>; - }; - - partition@100000 { - reg = <0x180000 0x80000>; - qcom,ocmem-part-name = "video"; - qcom,ocmem-part-min = <0x55000>; - }; - - }; - - memory_hole: qcom,msm-mem-hole { - compatible = "qcom,msm-mem-hole"; - qcom,memblock-remove = <0x0dc00000 0x2000000>; /* Address and Size of Hole */ - }; - - qcom,ipc-spinlock@fd484000 { - compatible = "qcom,ipc-spinlock-sfpb"; - reg = <0xfd484000 0x400>; - qcom,num-locks = <8>; - }; - - qcom,smem@fa00000 { - compatible = "qcom,smem"; - reg = <0xfa00000 0x200000>, - <0xf9011000 0x1000>, - <0xfc428000 0x4000>; - reg-names = "smem", "irq-reg-base", "aux-mem1"; - - qcom,smd-adsp { - compatible = "qcom,smd"; - qcom,smd-edge = <1>; - qcom,smd-irq-offset = <0x8>; - qcom,smd-irq-bitmask = <0x100>; - qcom,pil-string = "adsp"; - interrupts = <0 156 1>; - }; - - qcom,smsm-adsp { - compatible = "qcom,smsm"; - qcom,smsm-edge = <1>; - qcom,smsm-irq-offset = <0x8>; - qcom,smsm-irq-bitmask = <0x200>; - interrupts = <0 157 1>; - }; - - qcom,smd-rpm { - compatible = "qcom,smd"; - qcom,smd-edge = <15>; - qcom,smd-irq-offset = <0x8>; - qcom,smd-irq-bitmask = <0x1>; - interrupts = <0 168 1>; - qcom,irq-no-suspend; - }; - }; -}; - -/include/ "msm-pma8084.dtsi" -/include/ "apq8084-regulator.dtsi" diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/at91sam9g20.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v3/at91sam9g20.dtsi deleted file mode 100644 index 773ef4840..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/at91sam9g20.dtsi +++ /dev/null @@ -1,238 +0,0 @@ -/* - * at91sam9g20.dtsi - Device Tree Include file for AT91SAM9G20 family SoC - * - * Copyright (C) 2011 Atmel, - * 2011 Nicolas Ferre , - * 2011 Jean-Christophe PLAGNIOL-VILLARD - * - * Licensed under GPLv2 or later. - */ - -/include/ "skeleton.dtsi" - -/ { - model = "Atmel AT91SAM9G20 family SoC"; - compatible = "atmel,at91sam9g20"; - interrupt-parent = <&aic>; - - aliases { - serial0 = &dbgu; - serial1 = &usart0; - serial2 = &usart1; - serial3 = &usart2; - serial4 = &usart3; - serial5 = &usart4; - serial6 = &usart5; - gpio0 = &pioA; - gpio1 = &pioB; - gpio2 = &pioC; - tcb0 = &tcb0; - tcb1 = &tcb1; - }; - cpus { - cpu@0 { - compatible = "arm,arm926ejs"; - }; - }; - - memory { - reg = <0x20000000 0x08000000>; - }; - - ahb { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - - apb { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - - aic: interrupt-controller@fffff000 { - #interrupt-cells = <2>; - compatible = "atmel,at91rm9200-aic"; - interrupt-controller; - reg = <0xfffff000 0x200>; - }; - - ramc0: ramc@ffffea00 { - compatible = "atmel,at91sam9260-sdramc"; - reg = <0xffffea00 0x200>; - }; - - pmc: pmc@fffffc00 { - compatible = "atmel,at91rm9200-pmc"; - reg = <0xfffffc00 0x100>; - }; - - rstc@fffffd00 { - compatible = "atmel,at91sam9260-rstc"; - reg = <0xfffffd00 0x10>; - }; - - shdwc@fffffd10 { - compatible = "atmel,at91sam9260-shdwc"; - reg = <0xfffffd10 0x10>; - }; - - pit: timer@fffffd30 { - compatible = "atmel,at91sam9260-pit"; - reg = <0xfffffd30 0xf>; - interrupts = <1 4>; - }; - - tcb0: timer@fffa0000 { - compatible = "atmel,at91rm9200-tcb"; - reg = <0xfffa0000 0x100>; - interrupts = <17 4 18 4 19 4>; - }; - - tcb1: timer@fffdc000 { - compatible = "atmel,at91rm9200-tcb"; - reg = <0xfffdc000 0x100>; - interrupts = <26 4 27 4 28 4>; - }; - - pioA: gpio@fffff400 { - compatible = "atmel,at91rm9200-gpio"; - reg = <0xfffff400 0x100>; - interrupts = <2 4>; - #gpio-cells = <2>; - gpio-controller; - interrupt-controller; - }; - - pioB: gpio@fffff600 { - compatible = "atmel,at91rm9200-gpio"; - reg = <0xfffff600 0x100>; - interrupts = <3 4>; - #gpio-cells = <2>; - gpio-controller; - interrupt-controller; - }; - - pioC: gpio@fffff800 { - compatible = "atmel,at91rm9200-gpio"; - reg = <0xfffff800 0x100>; - interrupts = <4 4>; - #gpio-cells = <2>; - gpio-controller; - interrupt-controller; - }; - - dbgu: serial@fffff200 { - compatible = "atmel,at91sam9260-usart"; - reg = <0xfffff200 0x200>; - interrupts = <1 4>; - status = "disabled"; - }; - - usart0: serial@fffb0000 { - compatible = "atmel,at91sam9260-usart"; - reg = <0xfffb0000 0x200>; - interrupts = <6 4>; - atmel,use-dma-rx; - atmel,use-dma-tx; - status = "disabled"; - }; - - usart1: serial@fffb4000 { - compatible = "atmel,at91sam9260-usart"; - reg = <0xfffb4000 0x200>; - interrupts = <7 4>; - atmel,use-dma-rx; - atmel,use-dma-tx; - status = "disabled"; - }; - - usart2: serial@fffb8000 { - compatible = "atmel,at91sam9260-usart"; - reg = <0xfffb8000 0x200>; - interrupts = <8 4>; - atmel,use-dma-rx; - atmel,use-dma-tx; - status = "disabled"; - }; - - usart3: serial@fffd0000 { - compatible = "atmel,at91sam9260-usart"; - reg = <0xfffd0000 0x200>; - interrupts = <23 4>; - atmel,use-dma-rx; - atmel,use-dma-tx; - status = "disabled"; - }; - - usart4: serial@fffd4000 { - compatible = "atmel,at91sam9260-usart"; - reg = <0xfffd4000 0x200>; - interrupts = <24 4>; - atmel,use-dma-rx; - atmel,use-dma-tx; - status = "disabled"; - }; - - usart5: serial@fffd8000 { - compatible = "atmel,at91sam9260-usart"; - reg = <0xfffd8000 0x200>; - interrupts = <25 4>; - atmel,use-dma-rx; - atmel,use-dma-tx; - status = "disabled"; - }; - - macb0: ethernet@fffc4000 { - compatible = "cdns,at32ap7000-macb", "cdns,macb"; - reg = <0xfffc4000 0x100>; - interrupts = <21 4>; - status = "disabled"; - }; - - usb1: gadget@fffa4000 { - compatible = "atmel,at91rm9200-udc"; - reg = <0xfffa4000 0x4000>; - interrupts = <10 4>; - status = "disabled"; - }; - }; - - nand0: nand@40000000 { - compatible = "atmel,at91rm9200-nand"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0x40000000 0x10000000 - 0xffffe800 0x200 - >; - atmel,nand-addr-offset = <21>; - atmel,nand-cmd-offset = <22>; - gpios = <&pioC 13 0 - &pioC 14 0 - 0 - >; - status = "disabled"; - }; - - usb0: ohci@00500000 { - compatible = "atmel,at91rm9200-ohci", "usb-ohci"; - reg = <0x00500000 0x100000>; - interrupts = <20 4>; - status = "disabled"; - }; - }; - - i2c@0 { - compatible = "i2c-gpio"; - gpios = <&pioA 23 0 /* sda */ - &pioA 24 0 /* scl */ - >; - i2c-gpio,sda-open-drain; - i2c-gpio,scl-open-drain; - i2c-gpio,delay-us = <2>; /* ~100 kHz */ - #address-cells = <1>; - #size-cells = <0>; - status = "disabled"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/at91sam9g25ek.dts b/kernel/arch/arm/boot/dts/m7350-un-v3/at91sam9g25ek.dts deleted file mode 100644 index 7829a4d0c..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/at91sam9g25ek.dts +++ /dev/null @@ -1,49 +0,0 @@ -/* - * at91sam9g25ek.dts - Device Tree file for AT91SAM9G25-EK board - * - * Copyright (C) 2012 Atmel, - * 2012 Nicolas Ferre - * - * Licensed under GPLv2 or later. - */ -/dts-v1/; -/include/ "at91sam9x5.dtsi" -/include/ "at91sam9x5cm.dtsi" - -/ { - model = "Atmel AT91SAM9G25-EK"; - compatible = "atmel,at91sam9g25ek", "atmel,at91sam9x5ek", "atmel,at91sam9x5", "atmel,at91sam9"; - - chosen { - bootargs = "128M console=ttyS0,115200 root=/dev/mtdblock1 rw rootfstype=ubifs ubi.mtd=1 root=ubi0:rootfs"; - }; - - ahb { - apb { - dbgu: serial@fffff200 { - status = "okay"; - }; - - usart0: serial@f801c000 { - status = "okay"; - }; - - macb0: ethernet@f802c000 { - phy-mode = "rmii"; - status = "okay"; - }; - }; - - usb0: ohci@00600000 { - status = "okay"; - num-ports = <2>; - atmel,vbus-gpio = <&pioD 19 1 - &pioD 20 1 - >; - }; - - usb1: ehci@00700000 { - status = "okay"; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/at91sam9g45.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v3/at91sam9g45.dtsi deleted file mode 100644 index c8042147e..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/at91sam9g45.dtsi +++ /dev/null @@ -1,247 +0,0 @@ -/* - * at91sam9g45.dtsi - Device Tree Include file for AT91SAM9G45 family SoC - * applies to AT91SAM9G45, AT91SAM9M10, - * AT91SAM9G46, AT91SAM9M11 SoC - * - * Copyright (C) 2011 Atmel, - * 2011 Nicolas Ferre - * - * Licensed under GPLv2 or later. - */ - -/include/ "skeleton.dtsi" - -/ { - model = "Atmel AT91SAM9G45 family SoC"; - compatible = "atmel,at91sam9g45"; - interrupt-parent = <&aic>; - - aliases { - serial0 = &dbgu; - serial1 = &usart0; - serial2 = &usart1; - serial3 = &usart2; - serial4 = &usart3; - gpio0 = &pioA; - gpio1 = &pioB; - gpio2 = &pioC; - gpio3 = &pioD; - gpio4 = &pioE; - tcb0 = &tcb0; - tcb1 = &tcb1; - }; - cpus { - cpu@0 { - compatible = "arm,arm926ejs"; - }; - }; - - memory { - reg = <0x70000000 0x10000000>; - }; - - ahb { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - - apb { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - - aic: interrupt-controller@fffff000 { - #interrupt-cells = <2>; - compatible = "atmel,at91rm9200-aic"; - interrupt-controller; - reg = <0xfffff000 0x200>; - }; - - ramc0: ramc@ffffe400 { - compatible = "atmel,at91sam9g45-ddramc"; - reg = <0xffffe400 0x200 - 0xffffe600 0x200>; - }; - - pmc: pmc@fffffc00 { - compatible = "atmel,at91rm9200-pmc"; - reg = <0xfffffc00 0x100>; - }; - - rstc@fffffd00 { - compatible = "atmel,at91sam9g45-rstc"; - reg = <0xfffffd00 0x10>; - }; - - pit: timer@fffffd30 { - compatible = "atmel,at91sam9260-pit"; - reg = <0xfffffd30 0xf>; - interrupts = <1 4>; - }; - - - shdwc@fffffd10 { - compatible = "atmel,at91sam9rl-shdwc"; - reg = <0xfffffd10 0x10>; - }; - - tcb0: timer@fff7c000 { - compatible = "atmel,at91rm9200-tcb"; - reg = <0xfff7c000 0x100>; - interrupts = <18 4>; - }; - - tcb1: timer@fffd4000 { - compatible = "atmel,at91rm9200-tcb"; - reg = <0xfffd4000 0x100>; - interrupts = <18 4>; - }; - - dma: dma-controller@ffffec00 { - compatible = "atmel,at91sam9g45-dma"; - reg = <0xffffec00 0x200>; - interrupts = <21 4>; - }; - - pioA: gpio@fffff200 { - compatible = "atmel,at91rm9200-gpio"; - reg = <0xfffff200 0x100>; - interrupts = <2 4>; - #gpio-cells = <2>; - gpio-controller; - interrupt-controller; - }; - - pioB: gpio@fffff400 { - compatible = "atmel,at91rm9200-gpio"; - reg = <0xfffff400 0x100>; - interrupts = <3 4>; - #gpio-cells = <2>; - gpio-controller; - interrupt-controller; - }; - - pioC: gpio@fffff600 { - compatible = "atmel,at91rm9200-gpio"; - reg = <0xfffff600 0x100>; - interrupts = <4 4>; - #gpio-cells = <2>; - gpio-controller; - interrupt-controller; - }; - - pioD: gpio@fffff800 { - compatible = "atmel,at91rm9200-gpio"; - reg = <0xfffff800 0x100>; - interrupts = <5 4>; - #gpio-cells = <2>; - gpio-controller; - interrupt-controller; - }; - - pioE: gpio@fffffa00 { - compatible = "atmel,at91rm9200-gpio"; - reg = <0xfffffa00 0x100>; - interrupts = <5 4>; - #gpio-cells = <2>; - gpio-controller; - interrupt-controller; - }; - - dbgu: serial@ffffee00 { - compatible = "atmel,at91sam9260-usart"; - reg = <0xffffee00 0x200>; - interrupts = <1 4>; - status = "disabled"; - }; - - usart0: serial@fff8c000 { - compatible = "atmel,at91sam9260-usart"; - reg = <0xfff8c000 0x200>; - interrupts = <7 4>; - atmel,use-dma-rx; - atmel,use-dma-tx; - status = "disabled"; - }; - - usart1: serial@fff90000 { - compatible = "atmel,at91sam9260-usart"; - reg = <0xfff90000 0x200>; - interrupts = <8 4>; - atmel,use-dma-rx; - atmel,use-dma-tx; - status = "disabled"; - }; - - usart2: serial@fff94000 { - compatible = "atmel,at91sam9260-usart"; - reg = <0xfff94000 0x200>; - interrupts = <9 4>; - atmel,use-dma-rx; - atmel,use-dma-tx; - status = "disabled"; - }; - - usart3: serial@fff98000 { - compatible = "atmel,at91sam9260-usart"; - reg = <0xfff98000 0x200>; - interrupts = <10 4>; - atmel,use-dma-rx; - atmel,use-dma-tx; - status = "disabled"; - }; - - macb0: ethernet@fffbc000 { - compatible = "cdns,at32ap7000-macb", "cdns,macb"; - reg = <0xfffbc000 0x100>; - interrupts = <25 4>; - status = "disabled"; - }; - }; - - nand0: nand@40000000 { - compatible = "atmel,at91rm9200-nand"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0x40000000 0x10000000 - 0xffffe200 0x200 - >; - atmel,nand-addr-offset = <21>; - atmel,nand-cmd-offset = <22>; - gpios = <&pioC 8 0 - &pioC 14 0 - 0 - >; - status = "disabled"; - }; - - usb0: ohci@00700000 { - compatible = "atmel,at91rm9200-ohci", "usb-ohci"; - reg = <0x00700000 0x100000>; - interrupts = <22 4>; - status = "disabled"; - }; - - usb1: ehci@00800000 { - compatible = "atmel,at91sam9g45-ehci", "usb-ehci"; - reg = <0x00800000 0x100000>; - interrupts = <22 4>; - status = "disabled"; - }; - }; - - i2c@0 { - compatible = "i2c-gpio"; - gpios = <&pioA 20 0 /* sda */ - &pioA 21 0 /* scl */ - >; - i2c-gpio,sda-open-drain; - i2c-gpio,scl-open-drain; - i2c-gpio,delay-us = <5>; /* ~100 kHz */ - #address-cells = <1>; - #size-cells = <0>; - status = "disabled"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/at91sam9m10g45ek.dts b/kernel/arch/arm/boot/dts/m7350-un-v3/at91sam9m10g45ek.dts deleted file mode 100644 index a3633bd13..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/at91sam9m10g45ek.dts +++ /dev/null @@ -1,156 +0,0 @@ -/* - * at91sam9m10g45ek.dts - Device Tree file for AT91SAM9M10G45-EK board - * - * Copyright (C) 2011 Atmel, - * 2011 Nicolas Ferre - * - * Licensed under GPLv2 or later. - */ -/dts-v1/; -/include/ "at91sam9g45.dtsi" - -/ { - model = "Atmel AT91SAM9M10G45-EK"; - compatible = "atmel,at91sam9m10g45ek", "atmel,at91sam9g45", "atmel,at91sam9"; - - chosen { - bootargs = "mem=64M console=ttyS0,115200 root=/dev/mtdblock1 rw rootfstype=jffs2"; - }; - - memory { - reg = <0x70000000 0x4000000>; - }; - - clocks { - #address-cells = <1>; - #size-cells = <1>; - ranges; - - main_clock: clock@0 { - compatible = "atmel,osc", "fixed-clock"; - clock-frequency = <12000000>; - }; - }; - - ahb { - apb { - dbgu: serial@ffffee00 { - status = "okay"; - }; - - usart1: serial@fff90000 { - status = "okay"; - }; - - macb0: ethernet@fffbc000 { - phy-mode = "rmii"; - status = "okay"; - }; - }; - - nand0: nand@40000000 { - nand-bus-width = <8>; - nand-ecc-mode = "soft"; - nand-on-flash-bbt; - status = "okay"; - - boot@0 { - label = "bootstrap/uboot/kernel"; - reg = <0x0 0x400000>; - }; - - rootfs@400000 { - label = "rootfs"; - reg = <0x400000 0x3C00000>; - }; - - data@4000000 { - label = "data"; - reg = <0x4000000 0xC000000>; - }; - }; - - usb0: ohci@00700000 { - status = "okay"; - num-ports = <2>; - atmel,vbus-gpio = <&pioD 1 1 - &pioD 3 1>; - }; - - usb1: ehci@00800000 { - status = "okay"; - }; - }; - - leds { - compatible = "gpio-leds"; - - d8 { - label = "d8"; - gpios = <&pioD 30 0>; - linux,default-trigger = "heartbeat"; - }; - - d6 { - label = "d6"; - gpios = <&pioD 0 1>; - linux,default-trigger = "nand-disk"; - }; - - d7 { - label = "d7"; - gpios = <&pioD 31 1>; - linux,default-trigger = "mmc0"; - }; - }; - - gpio_keys { - compatible = "gpio-keys"; - #address-cells = <1>; - #size-cells = <0>; - - left_click { - label = "left_click"; - gpios = <&pioB 6 1>; - linux,code = <272>; - gpio-key,wakeup; - }; - - right_click { - label = "right_click"; - gpios = <&pioB 7 1>; - linux,code = <273>; - gpio-key,wakeup; - }; - - left { - label = "Joystick Left"; - gpios = <&pioB 14 1>; - linux,code = <105>; - }; - - right { - label = "Joystick Right"; - gpios = <&pioB 15 1>; - linux,code = <106>; - }; - - up { - label = "Joystick Up"; - gpios = <&pioB 16 1>; - linux,code = <103>; - }; - - down { - label = "Joystick Down"; - gpios = <&pioB 17 1>; - linux,code = <108>; - }; - - enter { - label = "Joystick Press"; - gpios = <&pioB 18 1>; - linux,code = <28>; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/at91sam9x5.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v3/at91sam9x5.dtsi deleted file mode 100644 index dd4ed7484..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/at91sam9x5.dtsi +++ /dev/null @@ -1,263 +0,0 @@ -/* - * at91sam9x5.dtsi - Device Tree Include file for AT91SAM9x5 family SoC - * applies to AT91SAM9G15, AT91SAM9G25, AT91SAM9G35, - * AT91SAM9X25, AT91SAM9X35 SoC - * - * Copyright (C) 2012 Atmel, - * 2012 Nicolas Ferre - * - * Licensed under GPLv2 or later. - */ - -/include/ "skeleton.dtsi" - -/ { - model = "Atmel AT91SAM9x5 family SoC"; - compatible = "atmel,at91sam9x5"; - interrupt-parent = <&aic>; - - aliases { - serial0 = &dbgu; - serial1 = &usart0; - serial2 = &usart1; - serial3 = &usart2; - gpio0 = &pioA; - gpio1 = &pioB; - gpio2 = &pioC; - gpio3 = &pioD; - tcb0 = &tcb0; - tcb1 = &tcb1; - }; - cpus { - cpu@0 { - compatible = "arm,arm926ejs"; - }; - }; - - memory { - reg = <0x20000000 0x10000000>; - }; - - ahb { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - - apb { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - - aic: interrupt-controller@fffff000 { - #interrupt-cells = <2>; - compatible = "atmel,at91rm9200-aic"; - interrupt-controller; - reg = <0xfffff000 0x200>; - }; - - ramc0: ramc@ffffe800 { - compatible = "atmel,at91sam9g45-ddramc"; - reg = <0xffffe800 0x200>; - }; - - pmc: pmc@fffffc00 { - compatible = "atmel,at91rm9200-pmc"; - reg = <0xfffffc00 0x100>; - }; - - rstc@fffffe00 { - compatible = "atmel,at91sam9g45-rstc"; - reg = <0xfffffe00 0x10>; - }; - - shdwc@fffffe10 { - compatible = "atmel,at91sam9x5-shdwc"; - reg = <0xfffffe10 0x10>; - }; - - pit: timer@fffffe30 { - compatible = "atmel,at91sam9260-pit"; - reg = <0xfffffe30 0xf>; - interrupts = <1 4>; - }; - - tcb0: timer@f8008000 { - compatible = "atmel,at91sam9x5-tcb"; - reg = <0xf8008000 0x100>; - interrupts = <17 4>; - }; - - tcb1: timer@f800c000 { - compatible = "atmel,at91sam9x5-tcb"; - reg = <0xf800c000 0x100>; - interrupts = <17 4>; - }; - - dma0: dma-controller@ffffec00 { - compatible = "atmel,at91sam9g45-dma"; - reg = <0xffffec00 0x200>; - interrupts = <20 4>; - }; - - dma1: dma-controller@ffffee00 { - compatible = "atmel,at91sam9g45-dma"; - reg = <0xffffee00 0x200>; - interrupts = <21 4>; - }; - - pioA: gpio@fffff400 { - compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio"; - reg = <0xfffff400 0x100>; - interrupts = <2 4>; - #gpio-cells = <2>; - gpio-controller; - interrupt-controller; - }; - - pioB: gpio@fffff600 { - compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio"; - reg = <0xfffff600 0x100>; - interrupts = <2 4>; - #gpio-cells = <2>; - gpio-controller; - interrupt-controller; - }; - - pioC: gpio@fffff800 { - compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio"; - reg = <0xfffff800 0x100>; - interrupts = <3 4>; - #gpio-cells = <2>; - gpio-controller; - interrupt-controller; - }; - - pioD: gpio@fffffa00 { - compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio"; - reg = <0xfffffa00 0x100>; - interrupts = <3 4>; - #gpio-cells = <2>; - gpio-controller; - interrupt-controller; - }; - - dbgu: serial@fffff200 { - compatible = "atmel,at91sam9260-usart"; - reg = <0xfffff200 0x200>; - interrupts = <1 4>; - status = "disabled"; - }; - - usart0: serial@f801c000 { - compatible = "atmel,at91sam9260-usart"; - reg = <0xf801c000 0x200>; - interrupts = <5 4>; - atmel,use-dma-rx; - atmel,use-dma-tx; - status = "disabled"; - }; - - usart1: serial@f8020000 { - compatible = "atmel,at91sam9260-usart"; - reg = <0xf8020000 0x200>; - interrupts = <6 4>; - atmel,use-dma-rx; - atmel,use-dma-tx; - status = "disabled"; - }; - - usart2: serial@f8024000 { - compatible = "atmel,at91sam9260-usart"; - reg = <0xf8024000 0x200>; - interrupts = <7 4>; - atmel,use-dma-rx; - atmel,use-dma-tx; - status = "disabled"; - }; - - macb0: ethernet@f802c000 { - compatible = "cdns,at32ap7000-macb", "cdns,macb"; - reg = <0xf802c000 0x100>; - interrupts = <24 4>; - status = "disabled"; - }; - - macb1: ethernet@f8030000 { - compatible = "cdns,at32ap7000-macb", "cdns,macb"; - reg = <0xf8030000 0x100>; - interrupts = <27 4>; - status = "disabled"; - }; - }; - - nand0: nand@40000000 { - compatible = "atmel,at91rm9200-nand"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0x40000000 0x10000000 - >; - atmel,nand-addr-offset = <21>; - atmel,nand-cmd-offset = <22>; - gpios = <&pioD 5 0 - &pioD 4 0 - 0 - >; - status = "disabled"; - }; - - usb0: ohci@00600000 { - compatible = "atmel,at91rm9200-ohci", "usb-ohci"; - reg = <0x00600000 0x100000>; - interrupts = <22 4>; - status = "disabled"; - }; - - usb1: ehci@00700000 { - compatible = "atmel,at91sam9g45-ehci", "usb-ehci"; - reg = <0x00700000 0x100000>; - interrupts = <22 4>; - status = "disabled"; - }; - }; - - i2c@0 { - compatible = "i2c-gpio"; - gpios = <&pioA 30 0 /* sda */ - &pioA 31 0 /* scl */ - >; - i2c-gpio,sda-open-drain; - i2c-gpio,scl-open-drain; - i2c-gpio,delay-us = <2>; /* ~100 kHz */ - #address-cells = <1>; - #size-cells = <0>; - status = "disabled"; - }; - - i2c@1 { - compatible = "i2c-gpio"; - gpios = <&pioC 0 0 /* sda */ - &pioC 1 0 /* scl */ - >; - i2c-gpio,sda-open-drain; - i2c-gpio,scl-open-drain; - i2c-gpio,delay-us = <2>; /* ~100 kHz */ - #address-cells = <1>; - #size-cells = <0>; - status = "disabled"; - }; - - i2c@2 { - compatible = "i2c-gpio"; - gpios = <&pioB 4 0 /* sda */ - &pioB 5 0 /* scl */ - >; - i2c-gpio,sda-open-drain; - i2c-gpio,scl-open-drain; - i2c-gpio,delay-us = <2>; /* ~100 kHz */ - #address-cells = <1>; - #size-cells = <0>; - status = "disabled"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/at91sam9x5cm.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v3/at91sam9x5cm.dtsi deleted file mode 100644 index 31e7be237..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/at91sam9x5cm.dtsi +++ /dev/null @@ -1,74 +0,0 @@ -/* - * at91sam9x5cm.dtsi - Device Tree Include file for AT91SAM9x5 CPU Module - * - * Copyright (C) 2012 Atmel, - * 2012 Nicolas Ferre - * - * Licensed under GPLv2 or later. - */ - -/ { - memory { - reg = <0x20000000 0x8000000>; - }; - - clocks { - #address-cells = <1>; - #size-cells = <1>; - ranges; - - main_clock: clock@0 { - compatible = "atmel,osc", "fixed-clock"; - clock-frequency = <12000000>; - }; - }; - - ahb { - nand0: nand@40000000 { - nand-bus-width = <8>; - nand-ecc-mode = "soft"; - nand-on-flash-bbt; - status = "okay"; - - at91bootstrap@0 { - label = "at91bootstrap"; - reg = <0x0 0x40000>; - }; - - uboot@40000 { - label = "u-boot"; - reg = <0x40000 0x80000>; - }; - - ubootenv@c0000 { - label = "U-Boot Env"; - reg = <0xc0000 0x140000>; - }; - - kernel@200000 { - label = "kernel"; - reg = <0x200000 0x600000>; - }; - - rootfs@800000 { - label = "rootfs"; - reg = <0x800000 0x1f800000>; - }; - }; - }; - - leds { - compatible = "gpio-leds"; - - pb18 { - label = "pb18"; - gpios = <&pioB 18 1>; - linux,default-trigger = "heartbeat"; - }; - - pd21 { - label = "pd21"; - gpios = <&pioD 21 0>; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/db8500.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v3/db8500.dtsi deleted file mode 100644 index 14bc30705..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/db8500.dtsi +++ /dev/null @@ -1,274 +0,0 @@ -/* - * Copyright 2012 Linaro Ltd - * - * The code contained herein is licensed under the GNU General Public - * License. You may obtain a copy of the GNU General Public License - * Version 2 or later at the following locations: - * - * http://www.opensource.org/licenses/gpl-license.html - * http://www.gnu.org/copyleft/gpl.html - */ - -/include/ "skeleton.dtsi" - -/ { - soc-u9500 { - #address-cells = <1>; - #size-cells = <1>; - compatible = "stericsson,db8500"; - interrupt-parent = <&intc>; - ranges; - - intc: interrupt-controller@a0411000 { - compatible = "arm,cortex-a9-gic"; - #interrupt-cells = <3>; - #address-cells = <1>; - interrupt-controller; - reg = <0xa0411000 0x1000>, - <0xa0410100 0x100>; - }; - - L2: l2-cache { - compatible = "arm,pl310-cache"; - reg = <0xa0412000 0x1000>; - interrupts = <0 13 4>; - cache-unified; - cache-level = <2>; - }; - - pmu { - compatible = "arm,cortex-a9-pmu"; - interrupts = <0 7 0x4>; - }; - - timer@a0410600 { - compatible = "arm,cortex-a9-twd-timer"; - reg = <0xa0410600 0x20>; - interrupts = <1 13 0x304>; - }; - - rtc@80154000 { - compatible = "stericsson,db8500-rtc"; - reg = <0x80154000 0x1000>; - interrupts = <0 18 0x4>; - }; - - gpio0: gpio@8012e000 { - compatible = "stericsson,db8500-gpio", - "stmicroelectronics,nomadik-gpio"; - reg = <0x8012e000 0x80>; - interrupts = <0 119 0x4>; - supports-sleepmode; - gpio-controller; - }; - - gpio1: gpio@8012e080 { - compatible = "stericsson,db8500-gpio", - "stmicroelectronics,nomadik-gpio"; - reg = <0x8012e080 0x80>; - interrupts = <0 120 0x4>; - supports-sleepmode; - gpio-controller; - }; - - gpio2: gpio@8000e000 { - compatible = "stericsson,db8500-gpio", - "stmicroelectronics,nomadik-gpio"; - reg = <0x8000e000 0x80>; - interrupts = <0 121 0x4>; - supports-sleepmode; - gpio-controller; - }; - - gpio3: gpio@8000e080 { - compatible = "stericsson,db8500-gpio", - "stmicroelectronics,nomadik-gpio"; - reg = <0x8000e080 0x80>; - interrupts = <0 122 0x4>; - supports-sleepmode; - gpio-controller; - }; - - gpio4: gpio@8000e100 { - compatible = "stericsson,db8500-gpio", - "stmicroelectronics,nomadik-gpio"; - reg = <0x8000e100 0x80>; - interrupts = <0 123 0x4>; - supports-sleepmode; - gpio-controller; - }; - - gpio5: gpio@8000e180 { - compatible = "stericsson,db8500-gpio", - "stmicroelectronics,nomadik-gpio"; - reg = <0x8000e180 0x80>; - interrupts = <0 124 0x4>; - supports-sleepmode; - gpio-controller; - }; - - gpio6: gpio@8011e000 { - compatible = "stericsson,db8500-gpio", - "stmicroelectronics,nomadik-gpio"; - reg = <0x8011e000 0x80>; - interrupts = <0 125 0x4>; - supports-sleepmode; - gpio-controller; - }; - - gpio7: gpio@8011e080 { - compatible = "stericsson,db8500-gpio", - "stmicroelectronics,nomadik-gpio"; - reg = <0x8011e080 0x80>; - interrupts = <0 126 0x4>; - supports-sleepmode; - gpio-controller; - }; - - gpio8: gpio@a03fe000 { - compatible = "stericsson,db8500-gpio", - "stmicroelectronics,nomadik-gpio"; - reg = <0xa03fe000 0x80>; - interrupts = <0 127 0x4>; - supports-sleepmode; - gpio-controller; - }; - - usb@a03e0000 { - compatible = "stericsson,db8500-musb", - "mentor,musb"; - reg = <0xa03e0000 0x10000>; - interrupts = <0 23 0x4>; - }; - - dma-controller@801C0000 { - compatible = "stericsson,db8500-dma40", - "stericsson,dma40"; - reg = <0x801C0000 0x1000 0x40010000 0x800>; - interrupts = <0 25 0x4>; - }; - - prcmu@80157000 { - compatible = "stericsson,db8500-prcmu"; - reg = <0x80157000 0x1000>; - interrupts = <46 47>; - #address-cells = <1>; - #size-cells = <0>; - - ab8500@5 { - compatible = "stericsson,ab8500"; - reg = <5>; /* mailbox 5 is i2c */ - interrupts = <0 40 0x4>; - }; - }; - - i2c@80004000 { - compatible = "stericsson,db8500-i2c", "stmicroelectronics,nomadik-i2c"; - reg = <0x80004000 0x1000>; - interrupts = <0 21 0x4>; - #address-cells = <1>; - #size-cells = <0>; - }; - - i2c@80122000 { - compatible = "stericsson,db8500-i2c", "stmicroelectronics,nomadik-i2c"; - reg = <0x80122000 0x1000>; - interrupts = <0 22 0x4>; - #address-cells = <1>; - #size-cells = <0>; - }; - - i2c@80128000 { - compatible = "stericsson,db8500-i2c", "stmicroelectronics,nomadik-i2c"; - reg = <0x80128000 0x1000>; - interrupts = <0 55 0x4>; - #address-cells = <1>; - #size-cells = <0>; - }; - - i2c@80110000 { - compatible = "stericsson,db8500-i2c", "stmicroelectronics,nomadik-i2c"; - reg = <0x80110000 0x1000>; - interrupts = <0 12 0x4>; - #address-cells = <1>; - #size-cells = <0>; - }; - - i2c@8012a000 { - compatible = "stericsson,db8500-i2c", "stmicroelectronics,nomadik-i2c"; - reg = <0x8012a000 0x1000>; - interrupts = <0 51 0x4>; - #address-cells = <1>; - #size-cells = <0>; - }; - - ssp@80002000 { - compatible = "arm,pl022", "arm,primecell"; - reg = <80002000 0x1000>; - interrupts = <0 14 0x4>; - #address-cells = <1>; - #size-cells = <0>; - status = "disabled"; - - // Add one of these for each child device - cs-gpios = <&gpio0 31 &gpio4 14 &gpio4 16 &gpio6 22 &gpio7 0>; - - }; - - uart@80120000 { - compatible = "arm,pl011", "arm,primecell"; - reg = <0x80120000 0x1000>; - interrupts = <0 11 0x4>; - status = "disabled"; - }; - uart@80121000 { - compatible = "arm,pl011", "arm,primecell"; - reg = <0x80121000 0x1000>; - interrupts = <0 19 0x4>; - status = "disabled"; - }; - uart@80007000 { - compatible = "arm,pl011", "arm,primecell"; - reg = <0x80007000 0x1000>; - interrupts = <0 26 0x4>; - status = "disabled"; - }; - - sdi@80126000 { - compatible = "arm,pl18x", "arm,primecell"; - reg = <0x80126000 0x1000>; - interrupts = <0 60 0x4>; - status = "disabled"; - }; - sdi@80118000 { - compatible = "arm,pl18x", "arm,primecell"; - reg = <0x80118000 0x1000>; - interrupts = <0 50 0x4>; - status = "disabled"; - }; - sdi@80005000 { - compatible = "arm,pl18x", "arm,primecell"; - reg = <0x80005000 0x1000>; - interrupts = <0 41 0x4>; - status = "disabled"; - }; - sdi@80119000 { - compatible = "arm,pl18x", "arm,primecell"; - reg = <0x80119000 0x1000>; - interrupts = <0 59 0x4>; - status = "disabled"; - }; - sdi@80114000 { - compatible = "arm,pl18x", "arm,primecell"; - reg = <0x80114000 0x1000>; - interrupts = <0 99 0x4>; - status = "disabled"; - }; - sdi@80008000 { - compatible = "arm,pl18x", "arm,primecell"; - reg = <0x80114000 0x1000>; - interrupts = <0 100 0x4>; - status = "disabled"; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/dsi-panel-nt35590-720p-cmd.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v3/dsi-panel-nt35590-720p-cmd.dtsi deleted file mode 100644 index 7942567cc..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/dsi-panel-nt35590-720p-cmd.dtsi +++ /dev/null @@ -1,530 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/ { - qcom,mdss_dsi_nt35590_720p_cmd { - compatible = "qcom,mdss-dsi-panel"; - label = "nt35590 720p command mode dsi panel"; - status = "disable"; - qcom,dsi-ctrl-phandle = <&mdss_dsi0>; - qcom,rst-gpio = <&msmgpio 25 0>; - qcom,te-gpio = <&msmgpio 24 0>; - qcom,mdss-pan-res = <720 1280>; - qcom,mdss-pan-bpp = <24>; - qcom,mdss-pan-dest = "display_1"; - qcom,mdss-pan-porch-values = <164 8 140 1 1 6>; - qcom,mdss-pan-underflow-clr = <0xff>; - qcom,mdss-pan-bl-ctrl = "bl_ctrl_wled"; - qcom,mdss-pan-bl-levels = <1 4095>; - qcom,mdss-pan-dsi-mode = <1>; - qcom,mdss-vsync-enable = <1>; - qcom,mdss-hw-vsync-mode = <1>; - qcom,mdss-pan-dsi-h-pulse-mode = <1>; - qcom,mdss-pan-dsi-h-power-stop = <0 0 0>; - qcom,mdss-pan-dsi-bllp-power-stop = <1 1>; - qcom,mdss-pan-dsi-traffic-mode = <2>; - qcom,mdss-pan-dsi-dst-format = <8>; - qcom,mdss-pan-insert-dcs-cmd = <1>; - qcom,mdss-pan-wr-mem-continue = <0x3c>; - qcom,mdss-pan-wr-mem-start = <0x2c>; - qcom,mdss-pan-te-sel = <1>; - qcom,mdss-pan-dsi-vc = <0>; - qcom,mdss-pan-dsi-rgb-swap = <0>; - qcom,mdss-pan-dsi-data-lanes = <1 1 1 1>; /* 4 lanes */ - qcom,mdss-pan-dsi-dlane-swap = <0>; - qcom,mdss-pan-dsi-t-clk = <0x2c 0x20>; - qcom,mdss-pan-dsi-stream = <0>; - qcom,mdss-pan-dsi-mdp-tr = <0x0>; - qcom,mdss-pan-dsi-dma-tr = <0x04>; - qcom,mdss-pan-dsi-frame-rate = <60>; - qcom,panel-phy-regulatorSettings = [07 09 03 00 /* Regualotor settings */ - 20 00 01]; - qcom,panel-phy-timingSettings = [7d 25 1d 00 37 33 - 22 27 1e 03 04 00]; - qcom,panel-phy-strengthCtrl = [ff 06]; - qcom,panel-phy-bistCtrl = [00 00 b1 ff /* BIST Ctrl settings */ - 00 00]; - qcom,panel-phy-laneConfig = [00 00 00 00 00 00 00 01 97 /* lane0 config */ - 00 00 00 00 05 00 00 01 97 /* lane1 config */ - 00 00 00 00 0a 00 00 01 97 /* lane2 config */ - 00 00 00 00 0f 00 00 01 97 /* lane3 config */ - 00 c0 00 00 00 00 00 01 bb]; /* Clk ln config */ - qcom,panel-on-cmds = [29 01 00 00 00 02 FF EE - 29 01 00 00 00 02 26 08 - 29 01 00 00 00 02 26 00 - 29 01 00 00 10 02 FF 00 - 29 01 00 00 00 02 BA 03 - 29 01 00 00 00 02 C2 08 - 29 01 00 00 00 02 FF 01 - 29 01 00 00 00 02 FB 01 - 29 01 00 00 00 02 00 4A - 29 01 00 00 00 02 01 33 - 29 01 00 00 00 02 02 53 - 29 01 00 00 00 02 03 55 - 29 01 00 00 00 02 04 55 - 29 01 00 00 00 02 05 33 - 29 01 00 00 00 02 06 22 - 29 01 00 00 00 02 08 56 - 29 01 00 00 00 02 09 8F - 29 01 00 00 00 02 36 73 - 29 01 00 00 00 02 0B 9F - 29 01 00 00 00 02 0C 9F - 29 01 00 00 00 02 0D 2F - 29 01 00 00 00 02 0E 24 - 29 01 00 00 00 02 11 83 - 29 01 00 00 00 02 12 03 - 29 01 00 00 00 02 71 2C - 29 01 00 00 00 02 6F 03 - 29 01 00 00 00 02 0F 0A - 29 01 00 00 00 02 FF 05 - 29 01 00 00 00 02 FB 01 - 29 01 00 00 00 02 01 00 - 29 01 00 00 00 02 02 8B - 29 01 00 00 00 02 03 82 - 29 01 00 00 00 02 04 82 - 29 01 00 00 00 02 05 30 - 29 01 00 00 00 02 06 33 - 29 01 00 00 00 02 07 01 - 29 01 00 00 00 02 08 00 - 29 01 00 00 00 02 09 46 - 29 01 00 00 00 02 0A 46 - 29 01 00 00 00 02 0D 0B - 29 01 00 00 00 02 0E 1D - 29 01 00 00 00 02 0F 08 - 29 01 00 00 00 02 10 53 - 29 01 00 00 00 02 11 00 - 29 01 00 00 00 02 12 00 - 29 01 00 00 00 02 14 01 - 29 01 00 00 00 02 15 00 - 29 01 00 00 00 02 16 05 - 29 01 00 00 00 02 17 00 - 29 01 00 00 00 02 19 7F - 29 01 00 00 00 02 1A FF - 29 01 00 00 00 02 1B 0F - 29 01 00 00 00 02 1C 00 - 29 01 00 00 00 02 1D 00 - 29 01 00 00 00 02 1E 00 - 29 01 00 00 00 02 1F 07 - 29 01 00 00 00 02 20 00 - 29 01 00 00 00 02 21 06 - 29 01 00 00 00 02 22 55 - 29 01 00 00 00 02 23 4D - 29 01 00 00 00 02 2D 02 - 29 01 00 00 00 02 28 01 - 29 01 00 00 00 02 2F 02 - 29 01 00 00 00 02 83 01 - 29 01 00 00 00 02 9E 58 - 29 01 00 00 00 02 9F 6A - 29 01 00 00 00 02 A0 01 - 29 01 00 00 00 02 A2 10 - 29 01 00 00 00 02 BB 0A - 29 01 00 00 00 02 BC 0A - 29 01 00 00 00 02 32 08 - 29 01 00 00 00 02 33 B8 - 29 01 00 00 00 02 36 01 - 29 01 00 00 00 02 37 00 - 29 01 00 00 00 02 43 00 - 29 01 00 00 00 02 4B 21 - 29 01 00 00 00 02 4C 03 - 29 01 00 00 00 02 50 21 - 29 01 00 00 00 02 51 03 - 29 01 00 00 00 02 58 21 - 29 01 00 00 00 02 59 03 - 29 01 00 00 00 02 5D 21 - 29 01 00 00 00 02 5E 03 - 29 01 00 00 00 02 6C 00 - 29 01 00 00 00 02 6D 00 - 29 01 00 00 00 02 FB 01 - 29 01 00 00 00 02 FF 01 - 29 01 00 00 00 02 FB 01 - 29 01 00 00 00 02 75 00 - 29 01 00 00 00 02 76 7D - 29 01 00 00 00 02 77 00 - 29 01 00 00 00 02 78 8A - 29 01 00 00 00 02 79 00 - 29 01 00 00 00 02 7A 9C - 29 01 00 00 00 02 7B 00 - 29 01 00 00 00 02 7C B1 - 29 01 00 00 00 02 7D 00 - 29 01 00 00 00 02 7E BF - 29 01 00 00 00 02 7F 00 - 29 01 00 00 00 02 80 CF - 29 01 00 00 00 02 81 00 - 29 01 00 00 00 02 82 DD - 29 01 00 00 00 02 83 00 - 29 01 00 00 00 02 84 E8 - 29 01 00 00 00 02 85 00 - 29 01 00 00 00 02 86 F2 - 29 01 00 00 00 02 87 01 - 29 01 00 00 00 02 88 1F - 29 01 00 00 00 02 89 01 - 29 01 00 00 00 02 8A 41 - 29 01 00 00 00 02 8B 01 - 29 01 00 00 00 02 8C 78 - 29 01 00 00 00 02 8D 01 - 29 01 00 00 00 02 8E A5 - 29 01 00 00 00 02 8F 01 - 29 01 00 00 00 02 90 EE - 29 01 00 00 00 02 91 02 - 29 01 00 00 00 02 92 29 - 29 01 00 00 00 02 93 02 - 29 01 00 00 00 02 94 2A - 29 01 00 00 00 02 95 02 - 29 01 00 00 00 02 96 5D - 29 01 00 00 00 02 97 02 - 29 01 00 00 00 02 98 93 - 29 01 00 00 00 02 99 02 - 29 01 00 00 00 02 9A B8 - 29 01 00 00 00 02 9B 02 - 29 01 00 00 00 02 9C E7 - 29 01 00 00 00 02 9D 03 - 29 01 00 00 00 02 9E 07 - 29 01 00 00 00 02 9F 03 - 29 01 00 00 00 02 A0 37 - 29 01 00 00 00 02 A2 03 - 29 01 00 00 00 02 A3 46 - 29 01 00 00 00 02 A4 03 - 29 01 00 00 00 02 A5 56 - 29 01 00 00 00 02 A6 03 - 29 01 00 00 00 02 A7 66 - 29 01 00 00 00 02 A9 03 - 29 01 00 00 00 02 AA 7A - 29 01 00 00 00 02 AB 03 - 29 01 00 00 00 02 AC 93 - 29 01 00 00 00 02 AD 03 - 29 01 00 00 00 02 AE A3 - 29 01 00 00 00 02 AF 03 - 29 01 00 00 00 02 B0 B4 - 29 01 00 00 00 02 B1 03 - 29 01 00 00 00 02 B2 CB - 29 01 00 00 00 02 B3 00 - 29 01 00 00 00 02 B4 7D - 29 01 00 00 00 02 B5 00 - 29 01 00 00 00 02 B6 8A - 29 01 00 00 00 02 B7 00 - 29 01 00 00 00 02 B8 9C - 29 01 00 00 00 02 B9 00 - 29 01 00 00 00 02 BA B1 - 29 01 00 00 00 02 BB 00 - 29 01 00 00 00 02 BC BF - 29 01 00 00 00 02 BD 00 - 29 01 00 00 00 02 BE CF - 29 01 00 00 00 02 BF 00 - 29 01 00 00 00 02 C0 DD - 29 01 00 00 00 02 C1 00 - 29 01 00 00 00 02 C2 E8 - 29 01 00 00 00 02 C3 00 - 29 01 00 00 00 02 C4 F2 - 29 01 00 00 00 02 C5 01 - 29 01 00 00 00 02 C6 1F - 29 01 00 00 00 02 C7 01 - 29 01 00 00 00 02 C8 41 - 29 01 00 00 00 02 C9 01 - 29 01 00 00 00 02 CA 78 - 29 01 00 00 00 02 CB 01 - 29 01 00 00 00 02 CC A5 - 29 01 00 00 00 02 CD 01 - 29 01 00 00 00 02 CE EE - 29 01 00 00 00 02 CF 02 - 29 01 00 00 00 02 D0 29 - 29 01 00 00 00 02 D1 02 - 29 01 00 00 00 02 D2 2A - 29 01 00 00 00 02 D3 02 - 29 01 00 00 00 02 D4 5D - 29 01 00 00 00 02 D5 02 - 29 01 00 00 00 02 D6 93 - 29 01 00 00 00 02 D7 02 - 29 01 00 00 00 02 D8 B8 - 29 01 00 00 00 02 D9 02 - 29 01 00 00 00 02 DA E7 - 29 01 00 00 00 02 DB 03 - 29 01 00 00 00 02 DC 07 - 29 01 00 00 00 02 DD 03 - 29 01 00 00 00 02 DE 37 - 29 01 00 00 00 02 DF 03 - 29 01 00 00 00 02 E0 46 - 29 01 00 00 00 02 E1 03 - 29 01 00 00 00 02 E2 56 - 29 01 00 00 00 02 E3 03 - 29 01 00 00 00 02 E4 66 - 29 01 00 00 00 02 E5 03 - 29 01 00 00 00 02 E6 7A - 29 01 00 00 00 02 E7 03 - 29 01 00 00 00 02 E8 93 - 29 01 00 00 00 02 E9 03 - 29 01 00 00 00 02 EA A3 - 29 01 00 00 00 02 EB 03 - 29 01 00 00 00 02 EC B4 - 29 01 00 00 00 02 ED 03 - 29 01 00 00 00 02 EE CB - 29 01 00 00 00 02 EF 00 - 29 01 00 00 00 02 F0 ED - 29 01 00 00 00 02 F1 00 - 29 01 00 00 00 02 F2 F3 - 29 01 00 00 00 02 F3 00 - 29 01 00 00 00 02 F4 FE - 29 01 00 00 00 02 F5 01 - 29 01 00 00 00 02 F6 09 - 29 01 00 00 00 02 F7 01 - 29 01 00 00 00 02 F8 13 - 29 01 00 00 00 02 F9 01 - 29 01 00 00 00 02 FA 1D - 29 01 00 00 00 02 FF 02 - 29 01 00 00 00 02 FB 01 - 29 01 00 00 00 02 00 01 - 29 01 00 00 00 02 01 26 - 29 01 00 00 00 02 02 01 - 29 01 00 00 00 02 03 2F - 29 01 00 00 00 02 04 01 - 29 01 00 00 00 02 05 37 - 29 01 00 00 00 02 06 01 - 29 01 00 00 00 02 07 56 - 29 01 00 00 00 02 08 01 - 29 01 00 00 00 02 09 70 - 29 01 00 00 00 02 0A 01 - 29 01 00 00 00 02 0B 9D - 29 01 00 00 00 02 0C 01 - 29 01 00 00 00 02 0D C2 - 29 01 00 00 00 02 0E 01 - 29 01 00 00 00 02 0F FF - 29 01 00 00 00 02 10 02 - 29 01 00 00 00 02 11 31 - 29 01 00 00 00 02 12 02 - 29 01 00 00 00 02 13 32 - 29 01 00 00 00 02 14 02 - 29 01 00 00 00 02 15 60 - 29 01 00 00 00 02 16 02 - 29 01 00 00 00 02 17 94 - 29 01 00 00 00 02 18 02 - 29 01 00 00 00 02 19 B5 - 29 01 00 00 00 02 1A 02 - 29 01 00 00 00 02 1B E3 - 29 01 00 00 00 02 1C 03 - 29 01 00 00 00 02 1D 03 - 29 01 00 00 00 02 1E 03 - 29 01 00 00 00 02 1F 2D - 29 01 00 00 00 02 20 03 - 29 01 00 00 00 02 21 3A - 29 01 00 00 00 02 22 03 - 29 01 00 00 00 02 23 48 - 29 01 00 00 00 02 24 03 - 29 01 00 00 00 02 25 57 - 29 01 00 00 00 02 26 03 - 29 01 00 00 00 02 27 68 - 29 01 00 00 00 02 28 03 - 29 01 00 00 00 02 29 7B - 29 01 00 00 00 02 2A 03 - 29 01 00 00 00 02 2B 90 - 29 01 00 00 00 02 2D 03 - 29 01 00 00 00 02 2F A0 - 29 01 00 00 00 02 30 03 - 29 01 00 00 00 02 31 CB - 29 01 00 00 00 02 32 00 - 29 01 00 00 00 02 33 ED - 29 01 00 00 00 02 34 00 - 29 01 00 00 00 02 35 F3 - 29 01 00 00 00 02 36 00 - 29 01 00 00 00 02 37 FE - 29 01 00 00 00 02 38 01 - 29 01 00 00 00 02 39 09 - 29 01 00 00 00 02 3A 01 - 29 01 00 00 00 02 3B 13 - 29 01 00 00 00 02 3D 01 - 29 01 00 00 00 02 3F 1D - 29 01 00 00 00 02 40 01 - 29 01 00 00 00 02 41 26 - 29 01 00 00 00 02 42 01 - 29 01 00 00 00 02 43 2F - 29 01 00 00 00 02 44 01 - 29 01 00 00 00 02 45 37 - 29 01 00 00 00 02 46 01 - 29 01 00 00 00 02 47 56 - 29 01 00 00 00 02 48 01 - 29 01 00 00 00 02 49 70 - 29 01 00 00 00 02 4A 01 - 29 01 00 00 00 02 4B 9D - 29 01 00 00 00 02 4C 01 - 29 01 00 00 00 02 4D C2 - 29 01 00 00 00 02 4E 01 - 29 01 00 00 00 02 4F FF - 29 01 00 00 00 02 50 02 - 29 01 00 00 00 02 51 31 - 29 01 00 00 00 02 52 02 - 29 01 00 00 00 02 53 32 - 29 01 00 00 00 02 54 02 - 29 01 00 00 00 02 55 60 - 29 01 00 00 00 02 56 02 - 29 01 00 00 00 02 58 94 - 29 01 00 00 00 02 59 02 - 29 01 00 00 00 02 5A B5 - 29 01 00 00 00 02 5B 02 - 29 01 00 00 00 02 5C E3 - 29 01 00 00 00 02 5D 03 - 29 01 00 00 00 02 5E 03 - 29 01 00 00 00 02 5F 03 - 29 01 00 00 00 02 60 2D - 29 01 00 00 00 02 61 03 - 29 01 00 00 00 02 62 3A - 29 01 00 00 00 02 63 03 - 29 01 00 00 00 02 64 48 - 29 01 00 00 00 02 65 03 - 29 01 00 00 00 02 66 57 - 29 01 00 00 00 02 67 03 - 29 01 00 00 00 02 68 68 - 29 01 00 00 00 02 69 03 - 29 01 00 00 00 02 6A 7B - 29 01 00 00 00 02 6B 03 - 29 01 00 00 00 02 6C 90 - 29 01 00 00 00 02 6D 03 - 29 01 00 00 00 02 6E A0 - 29 01 00 00 00 02 6F 03 - 29 01 00 00 00 02 70 CB - 29 01 00 00 00 02 71 00 - 29 01 00 00 00 02 72 19 - 29 01 00 00 00 02 73 00 - 29 01 00 00 00 02 74 36 - 29 01 00 00 00 02 75 00 - 29 01 00 00 00 02 76 55 - 29 01 00 00 00 02 77 00 - 29 01 00 00 00 02 78 70 - 29 01 00 00 00 02 79 00 - 29 01 00 00 00 02 7A 83 - 29 01 00 00 00 02 7B 00 - 29 01 00 00 00 02 7C 99 - 29 01 00 00 00 02 7D 00 - 29 01 00 00 00 02 7E A8 - 29 01 00 00 00 02 7F 00 - 29 01 00 00 00 02 80 B7 - 29 01 00 00 00 02 81 00 - 29 01 00 00 00 02 82 C5 - 29 01 00 00 00 02 83 00 - 29 01 00 00 00 02 84 F7 - 29 01 00 00 00 02 85 01 - 29 01 00 00 00 02 86 1E - 29 01 00 00 00 02 87 01 - 29 01 00 00 00 02 88 60 - 29 01 00 00 00 02 89 01 - 29 01 00 00 00 02 8A 95 - 29 01 00 00 00 02 8B 01 - 29 01 00 00 00 02 8C E1 - 29 01 00 00 00 02 8D 02 - 29 01 00 00 00 02 8E 20 - 29 01 00 00 00 02 8F 02 - 29 01 00 00 00 02 90 23 - 29 01 00 00 00 02 91 02 - 29 01 00 00 00 02 92 59 - 29 01 00 00 00 02 93 02 - 29 01 00 00 00 02 94 94 - 29 01 00 00 00 02 95 02 - 29 01 00 00 00 02 96 B4 - 29 01 00 00 00 02 97 02 - 29 01 00 00 00 02 98 E1 - 29 01 00 00 00 02 99 03 - 29 01 00 00 00 02 9A 01 - 29 01 00 00 00 02 9B 03 - 29 01 00 00 00 02 9C 28 - 29 01 00 00 00 02 9D 03 - 29 01 00 00 00 02 9E 30 - 29 01 00 00 00 02 9F 03 - 29 01 00 00 00 02 A0 37 - 29 01 00 00 00 02 A2 03 - 29 01 00 00 00 02 A3 3B - 29 01 00 00 00 02 A4 03 - 29 01 00 00 00 02 A5 40 - 29 01 00 00 00 02 A6 03 - 29 01 00 00 00 02 A7 50 - 29 01 00 00 00 02 A9 03 - 29 01 00 00 00 02 AA 6D - 29 01 00 00 00 02 AB 03 - 29 01 00 00 00 02 AC 80 - 29 01 00 00 00 02 AD 03 - 29 01 00 00 00 02 AE CB - 29 01 00 00 00 02 AF 00 - 29 01 00 00 00 02 B0 19 - 29 01 00 00 00 02 B1 00 - 29 01 00 00 00 02 B2 36 - 29 01 00 00 00 02 B3 00 - 29 01 00 00 00 02 B4 55 - 29 01 00 00 00 02 B5 00 - 29 01 00 00 00 02 B6 70 - 29 01 00 00 00 02 B7 00 - 29 01 00 00 00 02 B8 83 - 29 01 00 00 00 02 B9 00 - 29 01 00 00 00 02 BA 99 - 29 01 00 00 00 02 BB 00 - 29 01 00 00 00 02 BC A8 - 29 01 00 00 00 02 BD 00 - 29 01 00 00 00 02 BE B7 - 29 01 00 00 00 02 BF 00 - 29 01 00 00 00 02 C0 C5 - 29 01 00 00 00 02 C1 00 - 29 01 00 00 00 02 C2 F7 - 29 01 00 00 00 02 C3 01 - 29 01 00 00 00 02 C4 1E - 29 01 00 00 00 02 C5 01 - 29 01 00 00 00 02 C6 60 - 29 01 00 00 00 02 C7 01 - 29 01 00 00 00 02 C8 95 - 29 01 00 00 00 02 C9 01 - 29 01 00 00 00 02 CA E1 - 29 01 00 00 00 02 CB 02 - 29 01 00 00 00 02 CC 20 - 29 01 00 00 00 02 CD 02 - 29 01 00 00 00 02 CE 23 - 29 01 00 00 00 02 CF 02 - 29 01 00 00 00 02 D0 59 - 29 01 00 00 00 02 D1 02 - 29 01 00 00 00 02 D2 94 - 29 01 00 00 00 02 D3 02 - 29 01 00 00 00 02 D4 B4 - 29 01 00 00 00 02 D5 02 - 29 01 00 00 00 02 D6 E1 - 29 01 00 00 00 02 D7 03 - 29 01 00 00 00 02 D8 01 - 29 01 00 00 00 02 D9 03 - 29 01 00 00 00 02 DA 28 - 29 01 00 00 00 02 DB 03 - 29 01 00 00 00 02 DC 30 - 29 01 00 00 00 02 DD 03 - 29 01 00 00 00 02 DE 37 - 29 01 00 00 00 02 DF 03 - 29 01 00 00 00 02 E0 3B - 29 01 00 00 00 02 E1 03 - 29 01 00 00 00 02 E2 40 - 29 01 00 00 00 02 E3 03 - 29 01 00 00 00 02 E4 50 - 29 01 00 00 00 02 E5 03 - 29 01 00 00 00 02 E6 6D - 29 01 00 00 00 02 E7 03 - 29 01 00 00 00 02 E8 80 - 29 01 00 00 00 02 E9 03 - 29 01 00 00 00 02 EA CB - 29 01 00 00 00 02 FF 01 - 29 01 00 00 00 02 FB 01 - 29 01 00 00 00 02 FF 02 - 29 01 00 00 00 02 FB 01 - 29 01 00 00 00 02 FF 04 - 29 01 00 00 00 02 FB 01 - 29 01 00 00 00 02 FF 00 - 29 01 00 00 64 02 11 00 - 29 01 00 00 00 02 FF EE - 29 01 00 00 00 02 12 50 - 29 01 00 00 00 02 13 02 - 29 01 00 00 00 02 6A 60 - 29 01 00 00 00 02 FF 00 - 29 01 00 00 78 02 29 00]; - qcom,on-cmds-dsi-state = "DSI_LP_MODE"; - qcom,panel-off-cmds = [05 01 00 00 32 02 28 00 - 05 01 00 00 78 02 10 00]; - qcom,off-cmds-dsi-state = "DSI_HS_MODE"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/dsi-panel-nt35590-720p-video.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v3/dsi-panel-nt35590-720p-video.dtsi deleted file mode 100644 index 7bc748d59..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/dsi-panel-nt35590-720p-video.dtsi +++ /dev/null @@ -1,524 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -&soc { - qcom,mdss_dsi_nt35590_720p_video { - compatible = "qcom,mdss-dsi-panel"; - label = "nt35590 720p video mode dsi panel"; - status = "disable"; - qcom,dsi-ctrl-phandle = <&mdss_dsi0>; - qcom,rst-gpio = <&msmgpio 25 0>; - qcom,mdss-pan-res = <720 1280>; - qcom,mdss-pan-bpp = <24>; - qcom,mdss-pan-dest = "display_1"; - qcom,mdss-pan-porch-values = <164 8 140 1 1 6>; - qcom,mdss-pan-underflow-clr = <0xff>; - qcom,mdss-pan-bl-ctrl = "bl_ctrl_wled"; - qcom,mdss-pan-bl-levels = <1 4095>; - qcom,mdss-pan-dsi-mode = <0>; - qcom,mdss-pan-dsi-h-pulse-mode = <1>; - qcom,mdss-pan-dsi-h-power-stop = <0 0 0>; - qcom,mdss-pan-dsi-bllp-power-stop = <1 1>; - qcom,mdss-pan-dsi-traffic-mode = <2>; - qcom,mdss-pan-dsi-dst-format = <3>; - qcom,mdss-pan-dsi-vc = <0>; - qcom,mdss-pan-dsi-rgb-swap = <0>; - qcom,mdss-pan-dsi-data-lanes = <1 1 1 1>; /* 4 lanes */ - qcom,mdss-pan-dsi-dlane-swap = <0>; - qcom,mdss-pan-dsi-t-clk = <0x2c 0x20>; - qcom,mdss-pan-dsi-stream = <0>; - qcom,mdss-pan-dsi-mdp-tr = <0x0>; - qcom,mdss-pan-dsi-dma-tr = <0x04>; - qcom,mdss-pan-dsi-frame-rate = <60>; - qcom,panel-phy-regulatorSettings = [07 09 03 00 /* Regualotor settings */ - 20 00 01]; - qcom,panel-phy-timingSettings = [7d 25 1d 00 37 33 - 22 27 1e 03 04 00]; - qcom,panel-phy-strengthCtrl = [ff 06]; - qcom,panel-phy-bistCtrl = [00 00 b1 ff /* BIST Ctrl settings */ - 00 00]; - qcom,panel-phy-laneConfig = [00 00 00 00 00 00 00 01 97 /* lane0 config */ - 00 00 00 00 05 00 00 01 97 /* lane1 config */ - 00 00 00 00 0a 00 00 01 97 /* lane2 config */ - 00 00 00 00 0f 00 00 01 97 /* lane3 config */ - 00 c0 00 00 00 00 00 01 bb]; /* Clk ln config */ - qcom,panel-on-cmds = [29 01 00 00 00 00 02 FF EE - 29 01 00 00 00 00 02 26 08 - 29 01 00 00 00 00 02 26 00 - 29 01 00 00 10 00 02 FF 00 - 29 01 00 00 00 00 02 BA 03 - 29 01 00 00 00 00 02 C2 03 - 29 01 00 00 00 00 02 FF 01 - 29 01 00 00 00 00 02 FB 01 - 29 01 00 00 00 00 02 00 4A - 29 01 00 00 00 00 02 01 33 - 29 01 00 00 00 00 02 02 53 - 29 01 00 00 00 00 02 03 55 - 29 01 00 00 00 00 02 04 55 - 29 01 00 00 00 00 02 05 33 - 29 01 00 00 00 00 02 06 22 - 29 01 00 00 00 00 02 08 56 - 29 01 00 00 00 00 02 09 8F - 29 01 00 00 00 00 02 36 73 - 29 01 00 00 00 00 02 0B 9F - 29 01 00 00 00 00 02 0C 9F - 29 01 00 00 00 00 02 0D 2F - 29 01 00 00 00 00 02 0E 24 - 29 01 00 00 00 00 02 11 83 - 29 01 00 00 00 00 02 12 03 - 29 01 00 00 00 00 02 71 2C - 29 01 00 00 00 00 02 6F 03 - 29 01 00 00 00 00 02 0F 0A - 29 01 00 00 00 00 02 FF 05 - 29 01 00 00 00 00 02 FB 01 - 29 01 00 00 00 00 02 01 00 - 29 01 00 00 00 00 02 02 8B - 29 01 00 00 00 00 02 03 82 - 29 01 00 00 00 00 02 04 82 - 29 01 00 00 00 00 02 05 30 - 29 01 00 00 00 00 02 06 33 - 29 01 00 00 00 00 02 07 01 - 29 01 00 00 00 00 02 08 00 - 29 01 00 00 00 00 02 09 46 - 29 01 00 00 00 00 02 0A 46 - 29 01 00 00 00 00 02 0D 0B - 29 01 00 00 00 00 02 0E 1D - 29 01 00 00 00 00 02 0F 08 - 29 01 00 00 00 00 02 10 53 - 29 01 00 00 00 00 02 11 00 - 29 01 00 00 00 00 02 12 00 - 29 01 00 00 00 00 02 14 01 - 29 01 00 00 00 00 02 15 00 - 29 01 00 00 00 00 02 16 05 - 29 01 00 00 00 00 02 17 00 - 29 01 00 00 00 00 02 19 7F - 29 01 00 00 00 00 02 1A FF - 29 01 00 00 00 00 02 1B 0F - 29 01 00 00 00 00 02 1C 00 - 29 01 00 00 00 00 02 1D 00 - 29 01 00 00 00 00 02 1E 00 - 29 01 00 00 00 00 02 1F 07 - 29 01 00 00 00 00 02 20 00 - 29 01 00 00 00 00 02 21 06 - 29 01 00 00 00 00 02 22 55 - 29 01 00 00 00 00 02 23 4D - 29 01 00 00 00 00 02 2D 02 - 29 01 00 00 00 00 02 28 01 - 29 01 00 00 00 00 02 2F 02 - 29 01 00 00 00 00 02 83 01 - 29 01 00 00 00 00 02 9E 58 - 29 01 00 00 00 00 02 9F 6A - 29 01 00 00 00 00 02 A0 01 - 29 01 00 00 00 00 02 A2 10 - 29 01 00 00 00 00 02 BB 0A - 29 01 00 00 00 00 02 BC 0A - 29 01 00 00 00 00 02 32 08 - 29 01 00 00 00 00 02 33 B8 - 29 01 00 00 00 00 02 36 01 - 29 01 00 00 00 00 02 37 00 - 29 01 00 00 00 00 02 43 00 - 29 01 00 00 00 00 02 4B 21 - 29 01 00 00 00 00 02 4C 03 - 29 01 00 00 00 00 02 50 21 - 29 01 00 00 00 00 02 51 03 - 29 01 00 00 00 00 02 58 21 - 29 01 00 00 00 00 02 59 03 - 29 01 00 00 00 00 02 5D 21 - 29 01 00 00 00 00 02 5E 03 - 29 01 00 00 00 00 02 6C 00 - 29 01 00 00 00 00 02 6D 00 - 29 01 00 00 00 00 02 FB 01 - 29 01 00 00 00 00 02 FF 01 - 29 01 00 00 00 00 02 FB 01 - 29 01 00 00 00 00 02 75 00 - 29 01 00 00 00 00 02 76 7D - 29 01 00 00 00 00 02 77 00 - 29 01 00 00 00 00 02 78 8A - 29 01 00 00 00 00 02 79 00 - 29 01 00 00 00 00 02 7A 9C - 29 01 00 00 00 00 02 7B 00 - 29 01 00 00 00 00 02 7C B1 - 29 01 00 00 00 00 02 7D 00 - 29 01 00 00 00 00 02 7E BF - 29 01 00 00 00 00 02 7F 00 - 29 01 00 00 00 00 02 80 CF - 29 01 00 00 00 00 02 81 00 - 29 01 00 00 00 00 02 82 DD - 29 01 00 00 00 00 02 83 00 - 29 01 00 00 00 00 02 84 E8 - 29 01 00 00 00 00 02 85 00 - 29 01 00 00 00 00 02 86 F2 - 29 01 00 00 00 00 02 87 01 - 29 01 00 00 00 00 02 88 1F - 29 01 00 00 00 00 02 89 01 - 29 01 00 00 00 00 02 8A 41 - 29 01 00 00 00 00 02 8B 01 - 29 01 00 00 00 00 02 8C 78 - 29 01 00 00 00 00 02 8D 01 - 29 01 00 00 00 00 02 8E A5 - 29 01 00 00 00 00 02 8F 01 - 29 01 00 00 00 00 02 90 EE - 29 01 00 00 00 00 02 91 02 - 29 01 00 00 00 00 02 92 29 - 29 01 00 00 00 00 02 93 02 - 29 01 00 00 00 00 02 94 2A - 29 01 00 00 00 00 02 95 02 - 29 01 00 00 00 00 02 96 5D - 29 01 00 00 00 00 02 97 02 - 29 01 00 00 00 00 02 98 93 - 29 01 00 00 00 00 02 99 02 - 29 01 00 00 00 00 02 9A B8 - 29 01 00 00 00 00 02 9B 02 - 29 01 00 00 00 00 02 9C E7 - 29 01 00 00 00 00 02 9D 03 - 29 01 00 00 00 00 02 9E 07 - 29 01 00 00 00 00 02 9F 03 - 29 01 00 00 00 00 02 A0 37 - 29 01 00 00 00 00 02 A2 03 - 29 01 00 00 00 00 02 A3 46 - 29 01 00 00 00 00 02 A4 03 - 29 01 00 00 00 00 02 A5 56 - 29 01 00 00 00 00 02 A6 03 - 29 01 00 00 00 00 02 A7 66 - 29 01 00 00 00 00 02 A9 03 - 29 01 00 00 00 00 02 AA 7A - 29 01 00 00 00 00 02 AB 03 - 29 01 00 00 00 00 02 AC 93 - 29 01 00 00 00 00 02 AD 03 - 29 01 00 00 00 00 02 AE A3 - 29 01 00 00 00 00 02 AF 03 - 29 01 00 00 00 00 02 B0 B4 - 29 01 00 00 00 00 02 B1 03 - 29 01 00 00 00 00 02 B2 CB - 29 01 00 00 00 00 02 B3 00 - 29 01 00 00 00 00 02 B4 7D - 29 01 00 00 00 00 02 B5 00 - 29 01 00 00 00 00 02 B6 8A - 29 01 00 00 00 00 02 B7 00 - 29 01 00 00 00 00 02 B8 9C - 29 01 00 00 00 00 02 B9 00 - 29 01 00 00 00 00 02 BA B1 - 29 01 00 00 00 00 02 BB 00 - 29 01 00 00 00 00 02 BC BF - 29 01 00 00 00 00 02 BD 00 - 29 01 00 00 00 00 02 BE CF - 29 01 00 00 00 00 02 BF 00 - 29 01 00 00 00 00 02 C0 DD - 29 01 00 00 00 00 02 C1 00 - 29 01 00 00 00 00 02 C2 E8 - 29 01 00 00 00 00 02 C3 00 - 29 01 00 00 00 00 02 C4 F2 - 29 01 00 00 00 00 02 C5 01 - 29 01 00 00 00 00 02 C6 1F - 29 01 00 00 00 00 02 C7 01 - 29 01 00 00 00 00 02 C8 41 - 29 01 00 00 00 00 02 C9 01 - 29 01 00 00 00 00 02 CA 78 - 29 01 00 00 00 00 02 CB 01 - 29 01 00 00 00 00 02 CC A5 - 29 01 00 00 00 00 02 CD 01 - 29 01 00 00 00 00 02 CE EE - 29 01 00 00 00 00 02 CF 02 - 29 01 00 00 00 00 02 D0 29 - 29 01 00 00 00 00 02 D1 02 - 29 01 00 00 00 00 02 D2 2A - 29 01 00 00 00 00 02 D3 02 - 29 01 00 00 00 00 02 D4 5D - 29 01 00 00 00 00 02 D5 02 - 29 01 00 00 00 00 02 D6 93 - 29 01 00 00 00 00 02 D7 02 - 29 01 00 00 00 00 02 D8 B8 - 29 01 00 00 00 00 02 D9 02 - 29 01 00 00 00 00 02 DA E7 - 29 01 00 00 00 00 02 DB 03 - 29 01 00 00 00 00 02 DC 07 - 29 01 00 00 00 00 02 DD 03 - 29 01 00 00 00 00 02 DE 37 - 29 01 00 00 00 00 02 DF 03 - 29 01 00 00 00 00 02 E0 46 - 29 01 00 00 00 00 02 E1 03 - 29 01 00 00 00 00 02 E2 56 - 29 01 00 00 00 00 02 E3 03 - 29 01 00 00 00 00 02 E4 66 - 29 01 00 00 00 00 02 E5 03 - 29 01 00 00 00 00 02 E6 7A - 29 01 00 00 00 00 02 E7 03 - 29 01 00 00 00 00 02 E8 93 - 29 01 00 00 00 00 02 E9 03 - 29 01 00 00 00 00 02 EA A3 - 29 01 00 00 00 00 02 EB 03 - 29 01 00 00 00 00 02 EC B4 - 29 01 00 00 00 00 02 ED 03 - 29 01 00 00 00 00 02 EE CB - 29 01 00 00 00 00 02 EF 00 - 29 01 00 00 00 00 02 F0 ED - 29 01 00 00 00 00 02 F1 00 - 29 01 00 00 00 00 02 F2 F3 - 29 01 00 00 00 00 02 F3 00 - 29 01 00 00 00 00 02 F4 FE - 29 01 00 00 00 00 02 F5 01 - 29 01 00 00 00 00 02 F6 09 - 29 01 00 00 00 00 02 F7 01 - 29 01 00 00 00 00 02 F8 13 - 29 01 00 00 00 00 02 F9 01 - 29 01 00 00 00 00 02 FA 1D - 29 01 00 00 00 00 02 FF 02 - 29 01 00 00 00 00 02 FB 01 - 29 01 00 00 00 00 02 00 01 - 29 01 00 00 00 00 02 01 26 - 29 01 00 00 00 00 02 02 01 - 29 01 00 00 00 00 02 03 2F - 29 01 00 00 00 00 02 04 01 - 29 01 00 00 00 00 02 05 37 - 29 01 00 00 00 00 02 06 01 - 29 01 00 00 00 00 02 07 56 - 29 01 00 00 00 00 02 08 01 - 29 01 00 00 00 00 02 09 70 - 29 01 00 00 00 00 02 0A 01 - 29 01 00 00 00 00 02 0B 9D - 29 01 00 00 00 00 02 0C 01 - 29 01 00 00 00 00 02 0D C2 - 29 01 00 00 00 00 02 0E 01 - 29 01 00 00 00 00 02 0F FF - 29 01 00 00 00 00 02 10 02 - 29 01 00 00 00 00 02 11 31 - 29 01 00 00 00 00 02 12 02 - 29 01 00 00 00 00 02 13 32 - 29 01 00 00 00 00 02 14 02 - 29 01 00 00 00 00 02 15 60 - 29 01 00 00 00 00 02 16 02 - 29 01 00 00 00 00 02 17 94 - 29 01 00 00 00 00 02 18 02 - 29 01 00 00 00 00 02 19 B5 - 29 01 00 00 00 00 02 1A 02 - 29 01 00 00 00 00 02 1B E3 - 29 01 00 00 00 00 02 1C 03 - 29 01 00 00 00 00 02 1D 03 - 29 01 00 00 00 00 02 1E 03 - 29 01 00 00 00 00 02 1F 2D - 29 01 00 00 00 00 02 20 03 - 29 01 00 00 00 00 02 21 3A - 29 01 00 00 00 00 02 22 03 - 29 01 00 00 00 00 02 23 48 - 29 01 00 00 00 00 02 24 03 - 29 01 00 00 00 00 02 25 57 - 29 01 00 00 00 00 02 26 03 - 29 01 00 00 00 00 02 27 68 - 29 01 00 00 00 00 02 28 03 - 29 01 00 00 00 00 02 29 7B - 29 01 00 00 00 00 02 2A 03 - 29 01 00 00 00 00 02 2B 90 - 29 01 00 00 00 00 02 2D 03 - 29 01 00 00 00 00 02 2F A0 - 29 01 00 00 00 00 02 30 03 - 29 01 00 00 00 00 02 31 CB - 29 01 00 00 00 00 02 32 00 - 29 01 00 00 00 00 02 33 ED - 29 01 00 00 00 00 02 34 00 - 29 01 00 00 00 00 02 35 F3 - 29 01 00 00 00 00 02 36 00 - 29 01 00 00 00 00 02 37 FE - 29 01 00 00 00 00 02 38 01 - 29 01 00 00 00 00 02 39 09 - 29 01 00 00 00 00 02 3A 01 - 29 01 00 00 00 00 02 3B 13 - 29 01 00 00 00 00 02 3D 01 - 29 01 00 00 00 00 02 3F 1D - 29 01 00 00 00 00 02 40 01 - 29 01 00 00 00 00 02 41 26 - 29 01 00 00 00 00 02 42 01 - 29 01 00 00 00 00 02 43 2F - 29 01 00 00 00 00 02 44 01 - 29 01 00 00 00 00 02 45 37 - 29 01 00 00 00 00 02 46 01 - 29 01 00 00 00 00 02 47 56 - 29 01 00 00 00 00 02 48 01 - 29 01 00 00 00 00 02 49 70 - 29 01 00 00 00 00 02 4A 01 - 29 01 00 00 00 00 02 4B 9D - 29 01 00 00 00 00 02 4C 01 - 29 01 00 00 00 00 02 4D C2 - 29 01 00 00 00 00 02 4E 01 - 29 01 00 00 00 00 02 4F FF - 29 01 00 00 00 00 02 50 02 - 29 01 00 00 00 00 02 51 31 - 29 01 00 00 00 00 02 52 02 - 29 01 00 00 00 00 02 53 32 - 29 01 00 00 00 00 02 54 02 - 29 01 00 00 00 00 02 55 60 - 29 01 00 00 00 00 02 56 02 - 29 01 00 00 00 00 02 58 94 - 29 01 00 00 00 00 02 59 02 - 29 01 00 00 00 00 02 5A B5 - 29 01 00 00 00 00 02 5B 02 - 29 01 00 00 00 00 02 5C E3 - 29 01 00 00 00 00 02 5D 03 - 29 01 00 00 00 00 02 5E 03 - 29 01 00 00 00 00 02 5F 03 - 29 01 00 00 00 00 02 60 2D - 29 01 00 00 00 00 02 61 03 - 29 01 00 00 00 00 02 62 3A - 29 01 00 00 00 00 02 63 03 - 29 01 00 00 00 00 02 64 48 - 29 01 00 00 00 00 02 65 03 - 29 01 00 00 00 00 02 66 57 - 29 01 00 00 00 00 02 67 03 - 29 01 00 00 00 00 02 68 68 - 29 01 00 00 00 00 02 69 03 - 29 01 00 00 00 00 02 6A 7B - 29 01 00 00 00 00 02 6B 03 - 29 01 00 00 00 00 02 6C 90 - 29 01 00 00 00 00 02 6D 03 - 29 01 00 00 00 00 02 6E A0 - 29 01 00 00 00 00 02 6F 03 - 29 01 00 00 00 00 02 70 CB - 29 01 00 00 00 00 02 71 00 - 29 01 00 00 00 00 02 72 19 - 29 01 00 00 00 00 02 73 00 - 29 01 00 00 00 00 02 74 36 - 29 01 00 00 00 00 02 75 00 - 29 01 00 00 00 00 02 76 55 - 29 01 00 00 00 00 02 77 00 - 29 01 00 00 00 00 02 78 70 - 29 01 00 00 00 00 02 79 00 - 29 01 00 00 00 00 02 7A 83 - 29 01 00 00 00 00 02 7B 00 - 29 01 00 00 00 00 02 7C 99 - 29 01 00 00 00 00 02 7D 00 - 29 01 00 00 00 00 02 7E A8 - 29 01 00 00 00 00 02 7F 00 - 29 01 00 00 00 00 02 80 B7 - 29 01 00 00 00 00 02 81 00 - 29 01 00 00 00 00 02 82 C5 - 29 01 00 00 00 00 02 83 00 - 29 01 00 00 00 00 02 84 F7 - 29 01 00 00 00 00 02 85 01 - 29 01 00 00 00 00 02 86 1E - 29 01 00 00 00 00 02 87 01 - 29 01 00 00 00 00 02 88 60 - 29 01 00 00 00 00 02 89 01 - 29 01 00 00 00 00 02 8A 95 - 29 01 00 00 00 00 02 8B 01 - 29 01 00 00 00 00 02 8C E1 - 29 01 00 00 00 00 02 8D 02 - 29 01 00 00 00 00 02 8E 20 - 29 01 00 00 00 00 02 8F 02 - 29 01 00 00 00 00 02 90 23 - 29 01 00 00 00 00 02 91 02 - 29 01 00 00 00 00 02 92 59 - 29 01 00 00 00 00 02 93 02 - 29 01 00 00 00 00 02 94 94 - 29 01 00 00 00 00 02 95 02 - 29 01 00 00 00 00 02 96 B4 - 29 01 00 00 00 00 02 97 02 - 29 01 00 00 00 00 02 98 E1 - 29 01 00 00 00 00 02 99 03 - 29 01 00 00 00 00 02 9A 01 - 29 01 00 00 00 00 02 9B 03 - 29 01 00 00 00 00 02 9C 28 - 29 01 00 00 00 00 02 9D 03 - 29 01 00 00 00 00 02 9E 30 - 29 01 00 00 00 00 02 9F 03 - 29 01 00 00 00 00 02 A0 37 - 29 01 00 00 00 00 02 A2 03 - 29 01 00 00 00 00 02 A3 3B - 29 01 00 00 00 00 02 A4 03 - 29 01 00 00 00 00 02 A5 40 - 29 01 00 00 00 00 02 A6 03 - 29 01 00 00 00 00 02 A7 50 - 29 01 00 00 00 00 02 A9 03 - 29 01 00 00 00 00 02 AA 6D - 29 01 00 00 00 00 02 AB 03 - 29 01 00 00 00 00 02 AC 80 - 29 01 00 00 00 00 02 AD 03 - 29 01 00 00 00 00 02 AE CB - 29 01 00 00 00 00 02 AF 00 - 29 01 00 00 00 00 02 B0 19 - 29 01 00 00 00 00 02 B1 00 - 29 01 00 00 00 00 02 B2 36 - 29 01 00 00 00 00 02 B3 00 - 29 01 00 00 00 00 02 B4 55 - 29 01 00 00 00 00 02 B5 00 - 29 01 00 00 00 00 02 B6 70 - 29 01 00 00 00 00 02 B7 00 - 29 01 00 00 00 00 02 B8 83 - 29 01 00 00 00 00 02 B9 00 - 29 01 00 00 00 00 02 BA 99 - 29 01 00 00 00 00 02 BB 00 - 29 01 00 00 00 00 02 BC A8 - 29 01 00 00 00 00 02 BD 00 - 29 01 00 00 00 00 02 BE B7 - 29 01 00 00 00 00 02 BF 00 - 29 01 00 00 00 00 02 C0 C5 - 29 01 00 00 00 00 02 C1 00 - 29 01 00 00 00 00 02 C2 F7 - 29 01 00 00 00 00 02 C3 01 - 29 01 00 00 00 00 02 C4 1E - 29 01 00 00 00 00 02 C5 01 - 29 01 00 00 00 00 02 C6 60 - 29 01 00 00 00 00 02 C7 01 - 29 01 00 00 00 00 02 C8 95 - 29 01 00 00 00 00 02 C9 01 - 29 01 00 00 00 00 02 CA E1 - 29 01 00 00 00 00 02 CB 02 - 29 01 00 00 00 00 02 CC 20 - 29 01 00 00 00 00 02 CD 02 - 29 01 00 00 00 00 02 CE 23 - 29 01 00 00 00 00 02 CF 02 - 29 01 00 00 00 00 02 D0 59 - 29 01 00 00 00 00 02 D1 02 - 29 01 00 00 00 00 02 D2 94 - 29 01 00 00 00 00 02 D3 02 - 29 01 00 00 00 00 02 D4 B4 - 29 01 00 00 00 00 02 D5 02 - 29 01 00 00 00 00 02 D6 E1 - 29 01 00 00 00 00 02 D7 03 - 29 01 00 00 00 00 02 D8 01 - 29 01 00 00 00 00 02 D9 03 - 29 01 00 00 00 00 02 DA 28 - 29 01 00 00 00 00 02 DB 03 - 29 01 00 00 00 00 02 DC 30 - 29 01 00 00 00 00 02 DD 03 - 29 01 00 00 00 00 02 DE 37 - 29 01 00 00 00 00 02 DF 03 - 29 01 00 00 00 00 02 E0 3B - 29 01 00 00 00 00 02 E1 03 - 29 01 00 00 00 00 02 E2 40 - 29 01 00 00 00 00 02 E3 03 - 29 01 00 00 00 00 02 E4 50 - 29 01 00 00 00 00 02 E5 03 - 29 01 00 00 00 00 02 E6 6D - 29 01 00 00 00 00 02 E7 03 - 29 01 00 00 00 00 02 E8 80 - 29 01 00 00 00 00 02 E9 03 - 29 01 00 00 00 00 02 EA CB - 29 01 00 00 00 00 02 FF 01 - 29 01 00 00 00 00 02 FB 01 - 29 01 00 00 00 00 02 FF 02 - 29 01 00 00 00 00 02 FB 01 - 29 01 00 00 00 00 02 FF 04 - 29 01 00 00 00 00 02 FB 01 - 29 01 00 00 00 00 02 FF 00 - 29 01 00 00 64 00 02 11 00 - 29 01 00 00 00 00 02 FF EE - 29 01 00 00 00 00 02 12 50 - 29 01 00 00 00 00 02 13 02 - 29 01 00 00 00 00 02 6A 60 - 29 01 00 00 00 00 02 FF 00 - 29 01 00 00 78 00 02 29 00]; - - qcom,on-cmds-dsi-state = "DSI_LP_MODE"; - qcom,panel-off-cmds = [05 01 00 00 32 00 02 28 00 - 05 01 00 00 78 00 02 10 00]; - qcom,off-cmds-dsi-state = "DSI_HS_MODE"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/dsi-panel-orise-720p-video.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v3/dsi-panel-orise-720p-video.dtsi deleted file mode 100644 index 478541fb1..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/dsi-panel-orise-720p-video.dtsi +++ /dev/null @@ -1,60 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -&soc { - qcom,mdss_dsi_orise_720p_video { - compatible = "qcom,mdss-dsi-panel"; - label = "orise 720p video mode dsi panel"; - status = "disable"; - qcom,dsi-ctrl-phandle = <&mdss_dsi1>; - qcom,mdss-pan-res = <720 1280>; - qcom,mdss-pan-bpp = <24>; - qcom,mdss-pan-dest = "display_2"; - qcom,mdss-pan-porch-values = <32 12 144 3 4 9>; - qcom,mdss-pan-underflow-clr = <0xff>; - qcom,mdss-pan-bl-levels = <1 255>; - qcom,mdss-pan-dsi-mode = <0>; - qcom,mdss-pan-dsi-h-pulse-mode = <0>; - qcom,mdss-pan-dsi-h-power-stop = <0 0 0>; - qcom,mdss-pan-dsi-bllp-power-stop = <1 1>; - qcom,mdss-pan-dsi-traffic-mode = <1>; - qcom,mdss-pan-dsi-dst-format = <3>; - qcom,mdss-pan-dsi-vc = <0>; - qcom,mdss-pan-dsi-rgb-swap = <0>; - qcom,mdss-pan-dsi-data-lanes = <1 1 1 1>; - qcom,mdss-pan-dsi-dlane-swap = <0>; - qcom,mdss-pan-dsi-t-clk = <0x1b 0x04>; - qcom,mdss-pan-dsi-stream = <0>; - qcom,mdss-pan-dsi-mdp-tr = <0x0>; - qcom,mdss-pan-dsi-dma-tr = <0x04>; - qcom,mdss-pan-dsi-frame-rate = <60>; - qcom,panel-phy-regulatorSettings = [03 01 01 00 /* Regualotor settings */ - 20 00 01]; - qcom,panel-phy-timingSettings = [69 29 1f 00 55 55 - 19 2a 2a 03 04 00]; - qcom,panel-phy-strengthCtrl = [77 06]; - qcom,panel-phy-bistCtrl = [00 00 b1 ff /* BIST Ctrl settings */ - 00 00]; - qcom,panel-phy-laneConfig = [00 c2 45 00 00 00 00 01 75 /* lane0 config */ - 00 c2 45 00 00 00 00 01 75 /* lane1 config */ - 00 c2 45 00 00 00 00 01 75 /* lane2 config */ - 00 c2 45 00 00 00 00 01 75 /* lane3 config */ - 00 02 45 00 00 00 00 01 97]; /* Clk ln config */ - - qcom,panel-on-cmds = [05 01 00 00 78 00 02 11 00 - 05 01 00 00 78 00 02 29 00]; - qcom,on-cmds-dsi-state = "DSI_LP_MODE"; - qcom,panel-off-cmds = [05 01 00 00 32 00 02 28 00 - 05 01 00 00 78 00 02 10 00]; - qcom,off-cmds-dsi-state = "DSI_LP_MODE"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/dsi-panel-sharp-qhd-video.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v3/dsi-panel-sharp-qhd-video.dtsi deleted file mode 100644 index 45d396cdc..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/dsi-panel-sharp-qhd-video.dtsi +++ /dev/null @@ -1,67 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -&soc { - qcom,mdss_dsi_sharp_qhd_video { - compatible = "qcom,mdss-dsi-panel"; - label = "sharp QHD LS043T1LE01 video mode dsi panel"; - status = "disable"; - qcom,dsi-ctrl-phandle = <&mdss_dsi0>; - qcom,enable-gpio = <&msmgpio 58 0>; - qcom,rst-gpio = <&pm8941_gpios 19 0>; - qcom,mdss-pan-res = <540 960>; - qcom,mdss-pan-bpp = <24>; - qcom,mdss-pan-dest = "display_1"; - qcom,mdss-pan-porch-values = <80 32 48 15 10 3>; /* HBP, HPW, HFP, VBP, VPW, VFP */ - qcom,mdss-pan-underflow-clr = <0xff>; - qcom,mdss-pan-bl-ctrl = "bl_ctrl_wled"; - qcom,mdss-pan-bl-levels = <1 4095>; - qcom,mdss-pan-dsi-mode = <0>; - qcom,mdss-pan-dsi-h-pulse-mode = <1>; - qcom,mdss-pan-dsi-h-power-stop = <0 0 0>; - qcom,mdss-pan-dsi-bllp-power-stop = <1 1>; - qcom,mdss-pan-dsi-traffic-mode = <0>; - qcom,mdss-pan-dsi-dst-format = <3>; - qcom,mdss-pan-dsi-vc = <0>; - qcom,mdss-pan-dsi-rgb-swap = <2>; - qcom,mdss-pan-dsi-data-lanes = <1 1 0 0>; - qcom,mdss-pan-dsi-dlane-swap = <0>; - qcom,mdss-pan-dsi-t-clk = <0x1c 0x04>; - qcom,mdss-pan-dsi-stream = <0>; - qcom,mdss-pan-dsi-mdp-tr = <0x04>; - qcom,mdss-pan-dsi-dma-tr = <0x04>; - qcom,mdss-pan-frame-rate = <60>; - qcom,panel-phy-regulatorSettings = [07 09 03 00 /* Regulator settings */ - 20 00 01]; - qcom,panel-phy-timingSettings = [46 1d 20 00 39 3a - 21 21 32 03 04 00]; - qcom,panel-phy-strengthCtrl = [ff 06]; - qcom,panel-phy-bistCtrl = [00 00 b1 ff /* BIST Ctrl settings */ - 00 00]; - qcom,panel-phy-laneConfig = [00 00 00 00 00 00 00 01 97 /* lane0 config */ - 00 00 00 00 05 00 00 01 97 /* lane1 config */ - 00 00 00 00 0a 00 00 01 97 /* lane2 config */ - 00 00 00 00 0f 00 00 01 97 /* lane3 config */ - 00 c0 00 00 00 00 00 01 bb]; /* Clk ln config */ - qcom,panel-on-cmds = [05 01 00 00 32 00 02 01 00 /* sw reset */ - 05 01 00 00 0a 00 02 11 00 /* exit sleep */ - 15 01 00 00 0a 00 02 53 2c /* backlight on */ - 15 01 00 00 0a 00 02 51 ff /* brightness max */ - 05 01 00 00 0a 00 02 29 00 /* display on */ - 15 01 00 00 0a 00 02 ae 03 /* set num of lanes */ - 15 01 00 00 0a 00 02 3a 77 /* rgb_888 */]; - qcom,on-cmds-dsi-state = "DSI_LP_MODE"; - qcom,panel-off-cmds = [05 01 00 00 0a 00 02 28 00 /* display off */ - 05 01 00 00 78 00 02 10 00 /* enter sleep */]; - qcom,off-cmds-dsi-state = "DSI_HS_MODE"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/dsi-panel-sim-video.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v3/dsi-panel-sim-video.dtsi deleted file mode 100644 index 271e37316..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/dsi-panel-sim-video.dtsi +++ /dev/null @@ -1,46 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&soc { - - qcom,mdss_dsi_sim_video { - compatible = "qcom,mdss-dsi-panel"; - label = "simulator video mode dsi panel"; - status = "disable"; - qcom,dsi-ctrl-phandle = <&mdss_dsi0>; - qcom,mdss-pan-res = <640 480>; - qcom,mdss-pan-bpp = <24>; - qcom,mdss-pan-dest = "display_1"; - qcom,mdss-pan-porch-values = <6 2 6 6 2 6>; - qcom,mdss-pan-underflow-clr = <0xff>; - qcom,mdss-pan-bl-levels = <1 15>; - qcom,mdss-pan-dsi-mode = <0>; - qcom,mdss-pan-dsi-h-pulse-mode = <1>; - qcom,mdss-pan-dsi-h-power-stop = <1 1 1>; - qcom,mdss-pan-dsi-bllp-power-stop = <1 1>; - qcom,mdss-pan-dsi-traffic-mode = <0>; - qcom,mdss-pan-dsi-dst-format = <3>; - qcom,mdss-pan-dsi-vc = <0>; - qcom,mdss-pan-dsi-rgb-swap = <0>; - qcom,mdss-pan-dsi-data-lanes = <1 1 0 0>; - qcom,mdss-pan-dsi-dlane-swap = <0>; - qcom,mdss-pan-dsi-t-clk = <0x24 0x03>; - qcom,mdss-pan-dsi-stream = <0>; - qcom,mdss-pan-dsi-mdp-tr = <0x04>; - qcom,mdss-pan-dsi-dma-tr = <0x04>; - qcom,mdss-pan-dsi-frame-rate = <60>; - qcom,panel-on-cmds = [32 01 00 00 00 00 02 00 00]; - qcom,on-cmds-dsi-state = "DSI_LP_MODE"; - qcom,panel-off-cmds = [22 01 00 00 00 00 02 00 00]; - qcom,off-cmds-dsi-state = "DSI_LP_MODE"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/dsi-panel-toshiba-720p-video.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v3/dsi-panel-toshiba-720p-video.dtsi deleted file mode 100644 index 5c37cf8dc..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/dsi-panel-toshiba-720p-video.dtsi +++ /dev/null @@ -1,124 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&soc { - - qcom,mdss_dsi_toshiba_720p_video { - compatible = "qcom,mdss-dsi-panel"; - label = "toshiba 720p video mode dsi panel"; - status = "disable"; - qcom,dsi-ctrl-phandle = <&mdss_dsi0>; - qcom,enable-gpio = <&msmgpio 58 0>; - qcom,rst-gpio = <&pm8941_gpios 19 0>; - qcom,mdss-pan-res = <720 1280>; - qcom,mdss-pan-bpp = <24>; - qcom,mdss-pan-dest = "display_1"; - qcom,mdss-pan-porch-values = <32 12 144 3 4 9>; - qcom,mdss-pan-underflow-clr = <0xff>; - qcom,mdss-pan-bl-ctrl = "bl_ctrl_wled"; - qcom,mdss-pan-bl-levels = <1 4095>; - qcom,mdss-pan-dsi-mode = <0>; - qcom,mdss-pan-dsi-h-pulse-mode = <0>; - qcom,mdss-pan-dsi-h-power-stop = <0 0 0>; - qcom,mdss-pan-dsi-bllp-power-stop = <1 1>; - qcom,mdss-pan-dsi-traffic-mode = <1>; - qcom,mdss-pan-dsi-dst-format = <3>; - qcom,mdss-pan-dsi-vc = <0>; - qcom,mdss-pan-dsi-rgb-swap = <0>; - qcom,mdss-pan-dsi-data-lanes = <1 1 1 1>; - qcom,mdss-pan-dsi-dlane-swap = <0>; - qcom,mdss-pan-dsi-t-clk = <0x1b 0x04>; - qcom,mdss-pan-dsi-stream = <0>; - qcom,mdss-pan-dsi-mdp-tr = <0x0>; - qcom,mdss-pan-dsi-dma-tr = <0x04>; - qcom,mdss-pan-dsi-frame-rate = <60>; - qcom,panel-phy-regulatorSettings = [07 09 03 00 /* Regualotor settings */ - 20 00 01]; - qcom,panel-phy-timingSettings = [b0 23 1b 00 94 93 - 1e 25 15 03 04 00]; - qcom,panel-phy-strengthCtrl = [ff 06]; - qcom,panel-phy-bistCtrl = [00 00 b1 ff /* BIST Ctrl settings */ - 00 00]; - qcom,panel-phy-laneConfig = [00 00 00 00 00 00 00 01 97 /* lane0 config */ - 00 00 00 00 05 00 00 01 97 /* lane1 config */ - 00 00 00 00 0a 00 00 01 97 /* lane2 config */ - 00 00 00 00 0f 00 00 01 97 /* lane3 config */ - 00 c0 00 00 00 00 00 01 bb]; /* Clk ln config */ - - qcom,panel-on-cmds = [23 01 00 00 0a 00 02 b0 00 - 23 01 00 00 0a 00 02 b2 00 - 23 01 00 00 0a 00 02 b3 0c - 23 01 00 00 0a 00 02 b4 02 - 29 01 00 00 00 00 06 - c0 40 02 7f c8 08 - 29 01 00 00 00 00 10 - c1 00 a8 00 00 00 - 00 00 9d 08 27 00 - 00 00 00 00 - 29 01 00 00 00 00 06 - c2 00 00 09 00 00 - 23 01 00 00 0a 00 02 c3 04 - 29 01 00 00 00 00 04 - c4 4d 83 00 - 29 01 00 00 00 00 0b - c6 12 00 08 71 00 - 00 00 80 00 04 - 23 01 00 00 0a 00 02 c7 22 - 29 01 00 00 00 00 05 - c8 4c 0c 0c 0c - 29 01 00 00 00 00 0e - c9 00 40 00 16 32 - 2e 3a 43 3e 3c 45 - 79 3f - 29 01 00 00 00 00 0e - ca 00 46 1a 23 21 - 1c 25 31 2d 49 5f - 7f 3f - 29 01 00 00 00 00 0e - cb 00 4c 20 3a 42 - 40 47 4b 42 3e 46 - 7e 3f - 29 01 00 00 00 00 0e - cc 00 41 19 21 1d - 14 18 1f 1d 25 3f - 73 3f - 29 01 00 00 00 00 0e - cd 23 79 5a 5f 57 - 4c 51 51 45 3f 4b - 7f 3f - 29 01 00 00 00 00 0e - ce 00 40 14 20 1a - 0e 0e 13 08 00 05 - 46 1c - 29 01 00 00 00 00 04 - d0 6a 64 01 - 29 01 00 00 00 00 03 d1 77 d4 - 23 01 00 00 0a 00 02 d3 33 - 29 01 00 00 00 00 03 d5 0f 0f - 29 01 00 00 00 00 07 - d8 34 64 23 25 62 - 32 - 29 01 00 00 00 00 0c - de 10 7b 11 0a 00 - 00 00 00 00 00 00 - 29 01 00 00 00 00 09 - fd 04 55 53 00 70 - ff 10 73 - 23 01 00 00 0a 00 02 e2 00 - 05 01 00 00 78 00 02 11 00 - 05 01 00 00 32 00 02 29 00]; - qcom,on-cmds-dsi-state = "DSI_LP_MODE"; - qcom,panel-off-cmds = [05 01 00 00 32 00 02 28 00 - 05 01 00 00 78 00 02 10 00]; - qcom,off-cmds-dsi-state = "DSI_HS_MODE"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/dsi-v2-panel-hx8379a-wvga-video.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v3/dsi-v2-panel-hx8379a-wvga-video.dtsi deleted file mode 100644 index b9ed0506a..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/dsi-v2-panel-hx8379a-wvga-video.dtsi +++ /dev/null @@ -1,117 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/ { - qcom,dsi_v2_hx8379a_wvga_video { - compatible = "qcom,dsi-panel-v2"; - label = "HX8379A WVGA video mode dsi panel"; - qcom,dsi-ctrl-phandle = <&mdss_dsi0>; - qcom,rst-gpio = <&msmgpio 41 0>; - vdda-supply = <&pm8110_l19>; - vddio-supply=<&pm8110_l14>; - qcom,mdss-pan-res = <480 800>; - qcom,mdss-pan-bpp = <24>; - qcom,mdss-pan-dest = "display_1"; - qcom,mdss-pan-porch-values = <90 17 90 2 3 11>; - qcom,mdss-pan-underflow-clr = <0xff>; - qcom,mdss-pan-bl-levels = <1 255>; - qcom,mdss-pan-bl-ctrl = "bl_ctrl_wled"; - qcom,mdss-pan-dsi-mode = <0>; - qcom,mdss-pan-dsi-h-pulse-mode = <1>; - qcom,mdss-pan-dsi-h-power-stop = <0 0 0>; - qcom,mdss-pan-dsi-bllp-power-stop = <1 1>; - qcom,mdss-pan-dsi-traffic-mode = <2>; - qcom,mdss-pan-dsi-dst-format = <3>; - qcom,mdss-pan-dsi-vc = <0>; - qcom,mdss-pan-dsi-rgb-swap = <0>; - qcom,mdss-pan-dsi-data-lanes = <1 1 0 0>; - qcom,mdss-pan-dsi-dlane-swap = <1>; - qcom,mdss-pan-dsi-t-clk = <0x1b 0x04>; - qcom,mdss-pan-dsi-stream = <0>; - qcom,mdss-pan-dsi-mdp-tr = <0x0>;/*todo*/ - qcom,mdss-pan-dsi-dma-tr = <0x04>; - qcom,mdss-pan-dsi-frame-rate = <60>; - qcom,panel-phy-regulatorSettings =[09 08 05 00 20 03]; - qcom,panel-phy-timingSettings = [5D 12 0C 00 33 39 - 10 16 15 03 04 00]; - qcom,panel-phy-strengthCtrl = [ff 06]; - qcom,panel-phy-bistCtrl = [03 03 00 00 0f 00]; - qcom,panel-phy-laneConfig = - [80 45 00 00 01 66 /*lane0**/ - 80 45 00 00 01 66 /*lane1*/ - 80 45 00 00 01 66 /*lane2*/ - 80 45 00 00 01 66 /*lane3*/ - 40 67 00 00 01 88]; /*Clk*/ - - qcom,on-cmds-dsi-state = "DSI_LP_MODE"; - qcom,panel-on-cmds = [ - 29 01 00 00 01 04 - B9 FF 83 79 - 23 01 00 00 01 02 - BA 51 - 29 01 00 00 01 14 - B1 00 50 44 - EA 8D 08 11 - 0F 0F 24 2C - 9A 1A 42 0B - 6E F1 00 E6 - 29 01 00 00 01 0e - B2 00 00 3C - 08 04 19 22 - 00 FF 08 04 - 19 20 - 29 01 00 00 01 20 - B4 80 08 00 - 32 10 03 32 - 13 70 32 10 - 08 37 01 28 - 05 37 08 3C - 20 44 44 08 - 00 40 08 28 - 08 30 30 04 - 23 01 00 00 01 02 - cc 02 - 29 01 00 00 01 30 - D5 00 00 08 - 00 01 05 00 - 03 00 88 88 - 88 88 23 01 - 67 45 02 13 - 88 88 88 88 - 88 88 88 88 - 88 88 54 76 - 10 32 31 20 - 88 88 88 88 - 88 88 00 00 - 00 00 00 00 - 29 01 00 00 01 24 - E0 79 00 00 - 02 1C 1F 33 - 28 3E 07 0E - 0F 15 17 16 - 16 13 19 00 - 00 02 1C 1F - 33 28 3E 07 - 0E 0F 15 17 - 16 16 13 19 - 29 01 00 00 01 05 - B6 00 A6 00 A6 - 05 01 00 00 96 02 - 11 00 - 05 01 00 00 78 02 - 29 00 - ]; - qcom,panel-off-cmds = [05 01 00 00 32 02 28 00 - 05 01 00 00 78 02 10 00]; - qcom,off-cmds-dsi-state = "DSI_LP_MODE"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/dsi-v2-panel-truly-wvga-video.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v3/dsi-v2-panel-truly-wvga-video.dtsi deleted file mode 100644 index 891eac3ad..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/dsi-v2-panel-truly-wvga-video.dtsi +++ /dev/null @@ -1,120 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/ { - qcom,dsi_v2_truly_wvga_video { - compatible = "qcom,dsi-panel-v2"; - label = "Truly WVGA video mode dsi panel"; - qcom,dsi-ctrl-phandle = <&mdss_dsi0>; - qcom,rst-gpio = <&msmgpio 41 0>; - qcom,mode-selection-gpio = <&msmgpio 7 0>; - vdda-supply = <&pm8110_l19>; - vddio-supply=<&pm8110_l14>; - qcom,mdss-pan-res = <480 800>; - qcom,mdss-pan-bpp = <24>; - qcom,mdss-pan-dest = "display_1"; - qcom,mdss-pan-porch-values = <40 8 160 10 2 12>; - qcom,mdss-pan-underflow-clr = <0xff>; - qcom,mdss-pan-bl-levels = <1 255>; - qcom,mdss-pan-bl-ctrl = "bl_ctrl_wled"; - qcom,mdss-pan-dsi-mode = <0>; - qcom,mdss-pan-dsi-h-pulse-mode = <0>; - qcom,mdss-pan-dsi-h-power-stop = <0 0 0>; - qcom,mdss-pan-dsi-bllp-power-stop = <1 1>; - qcom,mdss-pan-dsi-traffic-mode = <1>; - qcom,mdss-pan-dsi-dst-format = <3>; - qcom,mdss-pan-dsi-vc = <0>; - qcom,mdss-pan-dsi-rgb-swap = <0>; - qcom,mdss-pan-dsi-data-lanes = <1 1 0 0>; - qcom,mdss-pan-dsi-dlane-swap = <0>; - qcom,mdss-pan-dsi-t-clk = <0x1b 0x04>; - qcom,mdss-pan-dsi-stream = <0>; - qcom,mdss-pan-dsi-mdp-tr = <0x0>;/*todo*/ - qcom,mdss-pan-dsi-dma-tr = <0x04>; - qcom,mdss-pan-dsi-frame-rate = <60>; - qcom,panel-phy-regulatorSettings =[09 08 05 00 20 03]; - qcom,panel-phy-timingSettings = [5D 12 0C 00 33 38 - 10 16 1E 03 04 00]; - qcom,panel-phy-strengthCtrl = [ff 06]; - qcom,panel-phy-bistCtrl = [03 03 00 00 0f 00]; - qcom,panel-phy-laneConfig = - [80 45 00 00 01 66 /*lane0**/ - 80 45 00 00 01 66 /*lane1*/ - 80 45 00 00 01 66 /*lane2*/ - 80 45 00 00 01 66 /*lane3*/ - 40 67 00 00 01 88]; /*Clk*/ - - qcom,on-cmds-dsi-state = "DSI_LP_MODE"; - qcom,panel-on-cmds = [ - 05 01 00 00 00 02 - 01 00 - 23 01 00 00 00 02 - b0 04 - 29 01 00 00 00 03 - b3 02 00 - 23 01 00 00 00 02 - bd 00 - 29 01 00 00 00 03 - c0 18 66 - 29 01 00 00 00 10 - c1 23 31 99 21 20 00 30 28 0c 0c - 00 00 00 21 01 - 29 01 00 00 00 07 - c2 10 06 06 01 03 00 - 29 01 00 00 00 19 - c8 04 10 18 20 2e 46 3c 28 1f 18 - 10 04 04 10 18 20 2e 46 3c 28 1f 18 10 04 - 29 01 00 00 00 19 - c9 04 10 18 20 2e 46 3c 28 1f 18 - 10 04 04 10 18 20 2e 46 3c 28 1f 18 10 04 - 29 01 00 00 00 19 - ca 04 10 18 20 2e 46 3c 28 1f 18 - 10 04 04 10 18 20 2e 46 3c 28 1f 18 10 04 - 29 01 00 00 00 11 - d0 29 03 ce a6 00 43 20 10 01 00 - 01 01 00 03 01 00 - 29 01 00 00 00 08 - d1 18 0C 23 03 75 02 50 - 23 01 00 00 00 02 - d3 11 - 29 01 00 00 00 03 - d5 2a 2a - 29 01 00 00 00 03 - de 01 41 - 23 01 00 00 00 02 - e6 51 - 23 01 00 00 00 02 - fa 03 - 23 01 00 00 64 02 - d6 28 - 39 01 00 00 00 05 - 2a 00 00 01 df - 39 01 00 00 00 05 - 2b 00 00 03 1f - 15 01 00 00 00 02 - 35 00 - 39 01 00 00 00 03 - 44 00 50 - 15 01 00 00 00 02 - 36 c1 - 15 01 00 00 00 02 - 3a 77 - 05 01 00 00 7D 02 - 11 00 - 05 01 00 00 14 02 - 29 00 - ]; - qcom,panel-off-cmds = [05 01 00 00 32 02 28 00 - 05 01 00 00 78 02 10 00]; - qcom,off-cmds-dsi-state = "DSI_LP_MODE"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/exynos4210-origen.dts b/kernel/arch/arm/boot/dts/m7350-un-v3/exynos4210-origen.dts deleted file mode 100644 index b8c476384..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/exynos4210-origen.dts +++ /dev/null @@ -1,137 +0,0 @@ -/* - * Samsung's Exynos4210 based Origen board device tree source - * - * Copyright (c) 2010-2011 Samsung Electronics Co., Ltd. - * http://www.samsung.com - * Copyright (c) 2010-2011 Linaro Ltd. - * www.linaro.org - * - * Device tree source file for Insignal's Origen board which is based on - * Samsung's Exynos4210 SoC. - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. -*/ - -/dts-v1/; -/include/ "exynos4210.dtsi" - -/ { - model = "Insignal Origen evaluation board based on Exynos4210"; - compatible = "insignal,origen", "samsung,exynos4210"; - - memory { - reg = <0x40000000 0x40000000>; - }; - - chosen { - bootargs ="root=/dev/ram0 rw ramdisk=8192 initrd=0x41000000,8M console=ttySAC2,115200 init=/linuxrc"; - }; - - sdhci@12530000 { - samsung,sdhci-bus-width = <4>; - linux,mmc_cap_4_bit_data; - samsung,sdhci-cd-internal; - gpio-cd = <&gpk2 2 2 3 3>; - gpios = <&gpk2 0 2 0 3>, - <&gpk2 1 2 0 3>, - <&gpk2 3 2 3 3>, - <&gpk2 4 2 3 3>, - <&gpk2 5 2 3 3>, - <&gpk2 6 2 3 3>; - }; - - sdhci@12510000 { - samsung,sdhci-bus-width = <4>; - linux,mmc_cap_4_bit_data; - samsung,sdhci-cd-internal; - gpio-cd = <&gpk0 2 2 3 3>; - gpios = <&gpk0 0 2 0 3>, - <&gpk0 1 2 0 3>, - <&gpk0 3 2 3 3>, - <&gpk0 4 2 3 3>, - <&gpk0 5 2 3 3>, - <&gpk0 6 2 3 3>; - }; - - gpio_keys { - compatible = "gpio-keys"; - #address-cells = <1>; - #size-cells = <0>; - - up { - label = "Up"; - gpios = <&gpx2 0 0 0 2>; - linux,code = <103>; - }; - - down { - label = "Down"; - gpios = <&gpx2 1 0 0 2>; - linux,code = <108>; - }; - - back { - label = "Back"; - gpios = <&gpx1 7 0 0 2>; - linux,code = <158>; - }; - - home { - label = "Home"; - gpios = <&gpx1 6 0 0 2>; - linux,code = <102>; - }; - - menu { - label = "Menu"; - gpios = <&gpx1 5 0 0 2>; - linux,code = <139>; - }; - }; - - keypad@100A0000 { - status = "disabled"; - }; - - sdhci@12520000 { - status = "disabled"; - }; - - sdhci@12540000 { - status = "disabled"; - }; - - i2c@13860000 { - status = "disabled"; - }; - - i2c@13870000 { - status = "disabled"; - }; - - i2c@13880000 { - status = "disabled"; - }; - - i2c@13890000 { - status = "disabled"; - }; - - i2c@138A0000 { - status = "disabled"; - }; - - i2c@138B0000 { - status = "disabled"; - }; - - i2c@138C0000 { - status = "disabled"; - }; - - i2c@138D0000 { - status = "disabled"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/exynos4210-smdkv310.dts b/kernel/arch/arm/boot/dts/m7350-un-v3/exynos4210-smdkv310.dts deleted file mode 100644 index 27afc8e53..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/exynos4210-smdkv310.dts +++ /dev/null @@ -1,182 +0,0 @@ -/* - * Samsung's Exynos4210 based SMDKV310 board device tree source - * - * Copyright (c) 2010-2011 Samsung Electronics Co., Ltd. - * http://www.samsung.com - * Copyright (c) 2010-2011 Linaro Ltd. - * www.linaro.org - * - * Device tree source file for Samsung's SMDKV310 board which is based on - * Samsung's Exynos4210 SoC. - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. -*/ - -/dts-v1/; -/include/ "exynos4210.dtsi" - -/ { - model = "Samsung smdkv310 evaluation board based on Exynos4210"; - compatible = "samsung,smdkv310", "samsung,exynos4210"; - - memory { - reg = <0x40000000 0x80000000>; - }; - - chosen { - bootargs = "root=/dev/ram0 rw ramdisk=8192 initrd=0x41000000,8M console=ttySAC1,115200 init=/linuxrc"; - }; - - sdhci@12530000 { - samsung,sdhci-bus-width = <4>; - linux,mmc_cap_4_bit_data; - samsung,sdhci-cd-internal; - gpio-cd = <&gpk2 2 2 3 3>; - gpios = <&gpk2 0 2 0 3>, - <&gpk2 1 2 0 3>, - <&gpk2 3 2 3 3>, - <&gpk2 4 2 3 3>, - <&gpk2 5 2 3 3>, - <&gpk2 6 2 3 3>; - }; - - keypad@100A0000 { - samsung,keypad-num-rows = <2>; - samsung,keypad-num-columns = <8>; - linux,keypad-no-autorepeat; - linux,keypad-wakeup; - - row-gpios = <&gpx2 0 3 3 0>, - <&gpx2 1 3 3 0>; - - col-gpios = <&gpx1 0 3 0 0>, - <&gpx1 1 3 0 0>, - <&gpx1 2 3 0 0>, - <&gpx1 3 3 0 0>, - <&gpx1 4 3 0 0>, - <&gpx1 5 3 0 0>, - <&gpx1 6 3 0 0>, - <&gpx1 7 3 0 0>; - - key_1 { - keypad,row = <0>; - keypad,column = <3>; - linux,code = <2>; - }; - - key_2 { - keypad,row = <0>; - keypad,column = <4>; - linux,code = <3>; - }; - - key_3 { - keypad,row = <0>; - keypad,column = <5>; - linux,code = <4>; - }; - - key_4 { - keypad,row = <0>; - keypad,column = <6>; - linux,code = <5>; - }; - - key_5 { - keypad,row = <0>; - keypad,column = <7>; - linux,code = <6>; - }; - - key_a { - keypad,row = <1>; - keypad,column = <3>; - linux,code = <30>; - }; - - key_b { - keypad,row = <1>; - keypad,column = <4>; - linux,code = <48>; - }; - - key_c { - keypad,row = <1>; - keypad,column = <5>; - linux,code = <46>; - }; - - key_d { - keypad,row = <1>; - keypad,column = <6>; - linux,code = <32>; - }; - - key_e { - keypad,row = <1>; - keypad,column = <7>; - linux,code = <18>; - }; - }; - - i2c@13860000 { - #address-cells = <1>; - #size-cells = <0>; - samsung,i2c-sda-delay = <100>; - samsung,i2c-max-bus-freq = <20000>; - gpios = <&gpd1 0 2 3 0>, - <&gpd1 1 2 3 0>; - - eeprom@50 { - compatible = "samsung,24ad0xd1"; - reg = <0x50>; - }; - - eeprom@52 { - compatible = "samsung,24ad0xd1"; - reg = <0x52>; - }; - }; - - sdhci@12510000 { - status = "disabled"; - }; - - sdhci@12520000 { - status = "disabled"; - }; - - sdhci@12540000 { - status = "disabled"; - }; - - i2c@13870000 { - status = "disabled"; - }; - - i2c@13880000 { - status = "disabled"; - }; - - i2c@13890000 { - status = "disabled"; - }; - - i2c@138A0000 { - status = "disabled"; - }; - - i2c@138B0000 { - status = "disabled"; - }; - - i2c@138C0000 { - status = "disabled"; - }; - - i2c@138D0000 { - status = "disabled"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/exynos4210.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v3/exynos4210.dtsi deleted file mode 100644 index a1dd2ee83..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/exynos4210.dtsi +++ /dev/null @@ -1,398 +0,0 @@ -/* - * Samsung's Exynos4210 SoC device tree source - * - * Copyright (c) 2010-2011 Samsung Electronics Co., Ltd. - * http://www.samsung.com - * Copyright (c) 2010-2011 Linaro Ltd. - * www.linaro.org - * - * Samsung's Exynos4210 SoC device nodes are listed in this file. Exynos4210 - * based board files can include this file and provide values for board specfic - * bindings. - * - * Note: This file does not include device nodes for all the controllers in - * Exynos4210 SoC. As device tree coverage for Exynos4210 increases, additional - * nodes can be added to this file. - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. -*/ - -/include/ "skeleton.dtsi" - -/ { - compatible = "samsung,exynos4210"; - interrupt-parent = <&gic>; - - gic:interrupt-controller@10490000 { - compatible = "arm,cortex-a9-gic"; - #interrupt-cells = <3>; - interrupt-controller; - cpu-offset = <0x8000>; - reg = <0x10490000 0x1000>, <0x10480000 0x100>; - }; - - watchdog@10060000 { - compatible = "samsung,s3c2410-wdt"; - reg = <0x10060000 0x100>; - interrupts = <0 43 0>; - }; - - rtc@10070000 { - compatible = "samsung,s3c6410-rtc"; - reg = <0x10070000 0x100>; - interrupts = <0 44 0>, <0 45 0>; - }; - - keypad@100A0000 { - compatible = "samsung,s5pv210-keypad"; - reg = <0x100A0000 0x100>; - interrupts = <0 109 0>; - }; - - sdhci@12510000 { - compatible = "samsung,exynos4210-sdhci"; - reg = <0x12510000 0x100>; - interrupts = <0 73 0>; - }; - - sdhci@12520000 { - compatible = "samsung,exynos4210-sdhci"; - reg = <0x12520000 0x100>; - interrupts = <0 74 0>; - }; - - sdhci@12530000 { - compatible = "samsung,exynos4210-sdhci"; - reg = <0x12530000 0x100>; - interrupts = <0 75 0>; - }; - - sdhci@12540000 { - compatible = "samsung,exynos4210-sdhci"; - reg = <0x12540000 0x100>; - interrupts = <0 76 0>; - }; - - serial@13800000 { - compatible = "samsung,exynos4210-uart"; - reg = <0x13800000 0x100>; - interrupts = <0 52 0>; - }; - - serial@13810000 { - compatible = "samsung,exynos4210-uart"; - reg = <0x13810000 0x100>; - interrupts = <0 53 0>; - }; - - serial@13820000 { - compatible = "samsung,exynos4210-uart"; - reg = <0x13820000 0x100>; - interrupts = <0 54 0>; - }; - - serial@13830000 { - compatible = "samsung,exynos4210-uart"; - reg = <0x13830000 0x100>; - interrupts = <0 55 0>; - }; - - i2c@13860000 { - compatible = "samsung,s3c2440-i2c"; - reg = <0x13860000 0x100>; - interrupts = <0 58 0>; - }; - - i2c@13870000 { - compatible = "samsung,s3c2440-i2c"; - reg = <0x13870000 0x100>; - interrupts = <0 59 0>; - }; - - i2c@13880000 { - compatible = "samsung,s3c2440-i2c"; - reg = <0x13880000 0x100>; - interrupts = <0 60 0>; - }; - - i2c@13890000 { - compatible = "samsung,s3c2440-i2c"; - reg = <0x13890000 0x100>; - interrupts = <0 61 0>; - }; - - i2c@138A0000 { - compatible = "samsung,s3c2440-i2c"; - reg = <0x138A0000 0x100>; - interrupts = <0 62 0>; - }; - - i2c@138B0000 { - compatible = "samsung,s3c2440-i2c"; - reg = <0x138B0000 0x100>; - interrupts = <0 63 0>; - }; - - i2c@138C0000 { - compatible = "samsung,s3c2440-i2c"; - reg = <0x138C0000 0x100>; - interrupts = <0 64 0>; - }; - - i2c@138D0000 { - compatible = "samsung,s3c2440-i2c"; - reg = <0x138D0000 0x100>; - interrupts = <0 65 0>; - }; - - amba { - #address-cells = <1>; - #size-cells = <1>; - compatible = "arm,amba-bus"; - interrupt-parent = <&gic>; - ranges; - - pdma0: pdma@12680000 { - compatible = "arm,pl330", "arm,primecell"; - reg = <0x12680000 0x1000>; - interrupts = <0 35 0>; - }; - - pdma1: pdma@12690000 { - compatible = "arm,pl330", "arm,primecell"; - reg = <0x12690000 0x1000>; - interrupts = <0 36 0>; - }; - }; - - gpio-controllers { - #address-cells = <1>; - #size-cells = <1>; - gpio-controller; - ranges; - - gpa0: gpio-controller@11400000 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400000 0x20>; - #gpio-cells = <4>; - }; - - gpa1: gpio-controller@11400020 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400020 0x20>; - #gpio-cells = <4>; - }; - - gpb: gpio-controller@11400040 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400040 0x20>; - #gpio-cells = <4>; - }; - - gpc0: gpio-controller@11400060 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400060 0x20>; - #gpio-cells = <4>; - }; - - gpc1: gpio-controller@11400080 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400080 0x20>; - #gpio-cells = <4>; - }; - - gpd0: gpio-controller@114000A0 { - compatible = "samsung,exynos4-gpio"; - reg = <0x114000A0 0x20>; - #gpio-cells = <4>; - }; - - gpd1: gpio-controller@114000C0 { - compatible = "samsung,exynos4-gpio"; - reg = <0x114000C0 0x20>; - #gpio-cells = <4>; - }; - - gpe0: gpio-controller@114000E0 { - compatible = "samsung,exynos4-gpio"; - reg = <0x114000E0 0x20>; - #gpio-cells = <4>; - }; - - gpe1: gpio-controller@11400100 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400100 0x20>; - #gpio-cells = <4>; - }; - - gpe2: gpio-controller@11400120 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400120 0x20>; - #gpio-cells = <4>; - }; - - gpe3: gpio-controller@11400140 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400140 0x20>; - #gpio-cells = <4>; - }; - - gpe4: gpio-controller@11400160 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400160 0x20>; - #gpio-cells = <4>; - }; - - gpf0: gpio-controller@11400180 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400180 0x20>; - #gpio-cells = <4>; - }; - - gpf1: gpio-controller@114001A0 { - compatible = "samsung,exynos4-gpio"; - reg = <0x114001A0 0x20>; - #gpio-cells = <4>; - }; - - gpf2: gpio-controller@114001C0 { - compatible = "samsung,exynos4-gpio"; - reg = <0x114001C0 0x20>; - #gpio-cells = <4>; - }; - - gpf3: gpio-controller@114001E0 { - compatible = "samsung,exynos4-gpio"; - reg = <0x114001E0 0x20>; - #gpio-cells = <4>; - }; - - gpj0: gpio-controller@11000000 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11000000 0x20>; - #gpio-cells = <4>; - }; - - gpj1: gpio-controller@11000020 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11000020 0x20>; - #gpio-cells = <4>; - }; - - gpk0: gpio-controller@11000040 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11000040 0x20>; - #gpio-cells = <4>; - }; - - gpk1: gpio-controller@11000060 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11000060 0x20>; - #gpio-cells = <4>; - }; - - gpk2: gpio-controller@11000080 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11000080 0x20>; - #gpio-cells = <4>; - }; - - gpk3: gpio-controller@110000A0 { - compatible = "samsung,exynos4-gpio"; - reg = <0x110000A0 0x20>; - #gpio-cells = <4>; - }; - - gpl0: gpio-controller@110000C0 { - compatible = "samsung,exynos4-gpio"; - reg = <0x110000C0 0x20>; - #gpio-cells = <4>; - }; - - gpl1: gpio-controller@110000E0 { - compatible = "samsung,exynos4-gpio"; - reg = <0x110000E0 0x20>; - #gpio-cells = <4>; - }; - - gpl2: gpio-controller@11000100 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11000100 0x20>; - #gpio-cells = <4>; - }; - - gpy0: gpio-controller@11000120 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11000120 0x20>; - #gpio-cells = <4>; - }; - - gpy1: gpio-controller@11000140 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11000140 0x20>; - #gpio-cells = <4>; - }; - - gpy2: gpio-controller@11000160 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11000160 0x20>; - #gpio-cells = <4>; - }; - - gpy3: gpio-controller@11000180 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11000180 0x20>; - #gpio-cells = <4>; - }; - - gpy4: gpio-controller@110001A0 { - compatible = "samsung,exynos4-gpio"; - reg = <0x110001A0 0x20>; - #gpio-cells = <4>; - }; - - gpy5: gpio-controller@110001C0 { - compatible = "samsung,exynos4-gpio"; - reg = <0x110001C0 0x20>; - #gpio-cells = <4>; - }; - - gpy6: gpio-controller@110001E0 { - compatible = "samsung,exynos4-gpio"; - reg = <0x110001E0 0x20>; - #gpio-cells = <4>; - }; - - gpx0: gpio-controller@11000C00 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11000C00 0x20>; - #gpio-cells = <4>; - }; - - gpx1: gpio-controller@11000C20 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11000C20 0x20>; - #gpio-cells = <4>; - }; - - gpx2: gpio-controller@11000C40 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11000C40 0x20>; - #gpio-cells = <4>; - }; - - gpx3: gpio-controller@11000C60 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11000C60 0x20>; - #gpio-cells = <4>; - }; - - gpz: gpio-controller@03860000 { - compatible = "samsung,exynos4-gpio"; - reg = <0x03860000 0x20>; - #gpio-cells = <4>; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/exynos5250-smdk5250.dts b/kernel/arch/arm/boot/dts/m7350-un-v3/exynos5250-smdk5250.dts deleted file mode 100644 index 399d17b23..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/exynos5250-smdk5250.dts +++ /dev/null @@ -1,26 +0,0 @@ -/* - * SAMSUNG SMDK5250 board device tree source - * - * Copyright (c) 2012 Samsung Electronics Co., Ltd. - * http://www.samsung.com - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. -*/ - -/dts-v1/; -/include/ "exynos5250.dtsi" - -/ { - model = "SAMSUNG SMDK5250 board based on EXYNOS5250"; - compatible = "samsung,smdk5250", "samsung,exynos5250"; - - memory { - reg = <0x40000000 0x80000000>; - }; - - chosen { - bootargs = "root=/dev/ram0 rw ramdisk=8192 console=ttySAC1,115200"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/exynos5250.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v3/exynos5250.dtsi deleted file mode 100644 index dfc433599..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/exynos5250.dtsi +++ /dev/null @@ -1,413 +0,0 @@ -/* - * SAMSUNG EXYNOS5250 SoC device tree source - * - * Copyright (c) 2012 Samsung Electronics Co., Ltd. - * http://www.samsung.com - * - * SAMSUNG EXYNOS5250 SoC device nodes are listed in this file. - * EXYNOS5250 based board files can include this file and provide - * values for board specfic bindings. - * - * Note: This file does not include device nodes for all the controllers in - * EXYNOS5250 SoC. As device tree coverage for EXYNOS5250 increases, - * additional nodes can be added to this file. - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. -*/ - -/include/ "skeleton.dtsi" - -/ { - compatible = "samsung,exynos5250"; - interrupt-parent = <&gic>; - - gic:interrupt-controller@10490000 { - compatible = "arm,cortex-a9-gic"; - #interrupt-cells = <3>; - interrupt-controller; - reg = <0x10490000 0x1000>, <0x10480000 0x100>; - }; - - watchdog { - compatible = "samsung,s3c2410-wdt"; - reg = <0x101D0000 0x100>; - interrupts = <0 42 0>; - }; - - rtc { - compatible = "samsung,s3c6410-rtc"; - reg = <0x101E0000 0x100>; - interrupts = <0 43 0>, <0 44 0>; - }; - - sdhci@12200000 { - compatible = "samsung,exynos4210-sdhci"; - reg = <0x12200000 0x100>; - interrupts = <0 75 0>; - }; - - sdhci@12210000 { - compatible = "samsung,exynos4210-sdhci"; - reg = <0x12210000 0x100>; - interrupts = <0 76 0>; - }; - - sdhci@12220000 { - compatible = "samsung,exynos4210-sdhci"; - reg = <0x12220000 0x100>; - interrupts = <0 77 0>; - }; - - sdhci@12230000 { - compatible = "samsung,exynos4210-sdhci"; - reg = <0x12230000 0x100>; - interrupts = <0 78 0>; - }; - - serial@12C00000 { - compatible = "samsung,exynos4210-uart"; - reg = <0x12C00000 0x100>; - interrupts = <0 51 0>; - }; - - serial@12C10000 { - compatible = "samsung,exynos4210-uart"; - reg = <0x12C10000 0x100>; - interrupts = <0 52 0>; - }; - - serial@12C20000 { - compatible = "samsung,exynos4210-uart"; - reg = <0x12C20000 0x100>; - interrupts = <0 53 0>; - }; - - serial@12C30000 { - compatible = "samsung,exynos4210-uart"; - reg = <0x12C30000 0x100>; - interrupts = <0 54 0>; - }; - - i2c@12C60000 { - compatible = "samsung,s3c2440-i2c"; - reg = <0x12C60000 0x100>; - interrupts = <0 56 0>; - }; - - i2c@12C70000 { - compatible = "samsung,s3c2440-i2c"; - reg = <0x12C70000 0x100>; - interrupts = <0 57 0>; - }; - - i2c@12C80000 { - compatible = "samsung,s3c2440-i2c"; - reg = <0x12C80000 0x100>; - interrupts = <0 58 0>; - }; - - i2c@12C90000 { - compatible = "samsung,s3c2440-i2c"; - reg = <0x12C90000 0x100>; - interrupts = <0 59 0>; - }; - - i2c@12CA0000 { - compatible = "samsung,s3c2440-i2c"; - reg = <0x12CA0000 0x100>; - interrupts = <0 60 0>; - }; - - i2c@12CB0000 { - compatible = "samsung,s3c2440-i2c"; - reg = <0x12CB0000 0x100>; - interrupts = <0 61 0>; - }; - - i2c@12CC0000 { - compatible = "samsung,s3c2440-i2c"; - reg = <0x12CC0000 0x100>; - interrupts = <0 62 0>; - }; - - i2c@12CD0000 { - compatible = "samsung,s3c2440-i2c"; - reg = <0x12CD0000 0x100>; - interrupts = <0 63 0>; - }; - - amba { - #address-cells = <1>; - #size-cells = <1>; - compatible = "arm,amba-bus"; - interrupt-parent = <&gic>; - ranges; - - pdma0: pdma@121A0000 { - compatible = "arm,pl330", "arm,primecell"; - reg = <0x121A0000 0x1000>; - interrupts = <0 34 0>; - }; - - pdma1: pdma@121B0000 { - compatible = "arm,pl330", "arm,primecell"; - reg = <0x121B0000 0x1000>; - interrupts = <0 35 0>; - }; - - mdma0: pdma@10800000 { - compatible = "arm,pl330", "arm,primecell"; - reg = <0x10800000 0x1000>; - interrupts = <0 33 0>; - }; - - mdma1: pdma@11C10000 { - compatible = "arm,pl330", "arm,primecell"; - reg = <0x11C10000 0x1000>; - interrupts = <0 124 0>; - }; - }; - - gpio-controllers { - #address-cells = <1>; - #size-cells = <1>; - gpio-controller; - ranges; - - gpa0: gpio-controller@11400000 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400000 0x20>; - #gpio-cells = <4>; - }; - - gpa1: gpio-controller@11400020 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400020 0x20>; - #gpio-cells = <4>; - }; - - gpa2: gpio-controller@11400040 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400040 0x20>; - #gpio-cells = <4>; - }; - - gpb0: gpio-controller@11400060 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400060 0x20>; - #gpio-cells = <4>; - }; - - gpb1: gpio-controller@11400080 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400080 0x20>; - #gpio-cells = <4>; - }; - - gpb2: gpio-controller@114000A0 { - compatible = "samsung,exynos4-gpio"; - reg = <0x114000A0 0x20>; - #gpio-cells = <4>; - }; - - gpb3: gpio-controller@114000C0 { - compatible = "samsung,exynos4-gpio"; - reg = <0x114000C0 0x20>; - #gpio-cells = <4>; - }; - - gpc0: gpio-controller@114000E0 { - compatible = "samsung,exynos4-gpio"; - reg = <0x114000E0 0x20>; - #gpio-cells = <4>; - }; - - gpc1: gpio-controller@11400100 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400100 0x20>; - #gpio-cells = <4>; - }; - - gpc2: gpio-controller@11400120 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400120 0x20>; - #gpio-cells = <4>; - }; - - gpc3: gpio-controller@11400140 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400140 0x20>; - #gpio-cells = <4>; - }; - - gpd0: gpio-controller@11400160 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400160 0x20>; - #gpio-cells = <4>; - }; - - gpd1: gpio-controller@11400180 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400180 0x20>; - #gpio-cells = <4>; - }; - - gpy0: gpio-controller@114001A0 { - compatible = "samsung,exynos4-gpio"; - reg = <0x114001A0 0x20>; - #gpio-cells = <4>; - }; - - gpy1: gpio-controller@114001C0 { - compatible = "samsung,exynos4-gpio"; - reg = <0x114001C0 0x20>; - #gpio-cells = <4>; - }; - - gpy2: gpio-controller@114001E0 { - compatible = "samsung,exynos4-gpio"; - reg = <0x114001E0 0x20>; - #gpio-cells = <4>; - }; - - gpy3: gpio-controller@11400200 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400200 0x20>; - #gpio-cells = <4>; - }; - - gpy4: gpio-controller@11400220 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400220 0x20>; - #gpio-cells = <4>; - }; - - gpy5: gpio-controller@11400240 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400240 0x20>; - #gpio-cells = <4>; - }; - - gpy6: gpio-controller@11400260 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400260 0x20>; - #gpio-cells = <4>; - }; - - gpx0: gpio-controller@11400C00 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400C00 0x20>; - #gpio-cells = <4>; - }; - - gpx1: gpio-controller@11400C20 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400C20 0x20>; - #gpio-cells = <4>; - }; - - gpx2: gpio-controller@11400C40 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400C40 0x20>; - #gpio-cells = <4>; - }; - - gpx3: gpio-controller@11400C60 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400C60 0x20>; - #gpio-cells = <4>; - }; - - gpe0: gpio-controller@13400000 { - compatible = "samsung,exynos4-gpio"; - reg = <0x13400000 0x20>; - #gpio-cells = <4>; - }; - - gpe1: gpio-controller@13400020 { - compatible = "samsung,exynos4-gpio"; - reg = <0x13400020 0x20>; - #gpio-cells = <4>; - }; - - gpf0: gpio-controller@13400040 { - compatible = "samsung,exynos4-gpio"; - reg = <0x13400040 0x20>; - #gpio-cells = <4>; - }; - - gpf1: gpio-controller@13400060 { - compatible = "samsung,exynos4-gpio"; - reg = <0x13400060 0x20>; - #gpio-cells = <4>; - }; - - gpg0: gpio-controller@13400080 { - compatible = "samsung,exynos4-gpio"; - reg = <0x13400080 0x20>; - #gpio-cells = <4>; - }; - - gpg1: gpio-controller@134000A0 { - compatible = "samsung,exynos4-gpio"; - reg = <0x134000A0 0x20>; - #gpio-cells = <4>; - }; - - gpg2: gpio-controller@134000C0 { - compatible = "samsung,exynos4-gpio"; - reg = <0x134000C0 0x20>; - #gpio-cells = <4>; - }; - - gph0: gpio-controller@134000E0 { - compatible = "samsung,exynos4-gpio"; - reg = <0x134000E0 0x20>; - #gpio-cells = <4>; - }; - - gph1: gpio-controller@13400100 { - compatible = "samsung,exynos4-gpio"; - reg = <0x13400100 0x20>; - #gpio-cells = <4>; - }; - - gpv0: gpio-controller@10D10000 { - compatible = "samsung,exynos4-gpio"; - reg = <0x10D10000 0x20>; - #gpio-cells = <4>; - }; - - gpv1: gpio-controller@10D10020 { - compatible = "samsung,exynos4-gpio"; - reg = <0x10D10020 0x20>; - #gpio-cells = <4>; - }; - - gpv2: gpio-controller@10D10040 { - compatible = "samsung,exynos4-gpio"; - reg = <0x10D10040 0x20>; - #gpio-cells = <4>; - }; - - gpv3: gpio-controller@10D10060 { - compatible = "samsung,exynos4-gpio"; - reg = <0x10D10060 0x20>; - #gpio-cells = <4>; - }; - - gpv4: gpio-controller@10D10080 { - compatible = "samsung,exynos4-gpio"; - reg = <0x10D10080 0x20>; - #gpio-cells = <4>; - }; - - gpz: gpio-controller@03860000 { - compatible = "samsung,exynos4-gpio"; - reg = <0x03860000 0x20>; - #gpio-cells = <4>; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/fsm9900-rumi.dts b/kernel/arch/arm/boot/dts/m7350-un-v3/fsm9900-rumi.dts deleted file mode 100644 index 2b380c7b3..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/fsm9900-rumi.dts +++ /dev/null @@ -1,31 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; - -/include/ "fsm9900.dtsi" - -/ { - model = "Qualcomm FSM9900 Rumi"; - compatible = "qcom,fsm9900-rumi", "qcom,fsm9900", "qcom-sim"; - qcom,msm-id = <188 0 0>; - - aliases { - serial0 = &uart0; - }; -}; - -&soc { - uart0: serial@f9960000 { - status = "ok"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/fsm9900-sim.dts b/kernel/arch/arm/boot/dts/m7350-un-v3/fsm9900-sim.dts deleted file mode 100644 index 050929e60..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/fsm9900-sim.dts +++ /dev/null @@ -1,32 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; - -/include/ "fsm9900.dtsi" - -/ { - model = "Qualcomm FSM9900 Simulator"; - compatible = "qcom,fsm9900-sim", "qcom,fsm9900", "qcom-sim"; - qcom,msm-id = <188 0 0>; - - aliases { - serial0 = &uart0; - }; -}; - -&soc { - uart0: serial@f9960000 { - interrupts = <0 116 0>; - status = "ok"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/fsm9900.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v3/fsm9900.dtsi deleted file mode 100644 index 766db368d..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/fsm9900.dtsi +++ /dev/null @@ -1,94 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/include/ "skeleton64.dtsi" - -/ { - model = "Qualcomm FSM9900"; - compatible = "qcom,fsm9900"; - interrupt-parent = <&intc>; - soc: soc { }; -}; - -&soc { - #address-cells = <1>; - #size-cells = <1>; - ranges = <0 0 0 0xffffffff>; - - intc: interrupt-controller@f9000000 { - compatible = "qcom,msm-qgic2"; - interrupt-controller; - #interrupt-cells = <3>; - reg = <0xF9000000 0x1000>, - <0xF9002000 0x1000>; - }; - - msmgpio: gpio@fd510000 { - compatible = "qcom,msm-gpio"; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - reg = <0xfd510000 0x4000>; - ngpio = <142>; - interrupts = <0 208 0>; - qcom,direct-connect-irqs = <5>; - }; - - timer { - compatible = "arm,armv7-timer"; - interrupts = <1 2 0 1 3 0>; - clock-frequency = <19200000>; - }; - - serial@f9960000 { - compatible = "qcom,msm-lsuart-v14"; - reg = <0xf9960000 0x1000>; - interrupts = <0 104 0>; - status = "disabled"; - }; - - cpu-pmu { - compatible = "qcom,krait-pmu"; - qcom,irq-is-percpu; - interrupts = <1 7 0xf00>; - }; - - qcom,msm-imem@fe805000 { - compatible = "qcom,msm-imem"; - reg = <0xfe805000 0x1000>; /* Address and size of IMEM */ - }; - - qcom,cache_erp { - compatible = "qcom,cache_erp"; - interrupts = <1 9 0>, <0 2 0>; - interrupt-names = "l1_irq", "l2_irq"; - }; - - qcom,cache_dump { - compatible = "qcom,cache_dump"; - qcom,l1-dump-size = <0x100000>; - qcom,l2-dump-size = <0x500000>; - qcom,memory-reservation-type = "EBI1"; - qcom,memory-reservation-size = <0x600000>; /* 6M EBI1 buffer */ - }; - - qcom,ion { - compatible = "qcom,msm-ion"; - #address-cells = <1>; - #size-cells = <0>; - - qcom,ion-heap@30 { /* SYSTEM HEAP */ - reg = <30>; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/highbank.dts b/kernel/arch/arm/boot/dts/m7350-un-v3/highbank.dts deleted file mode 100644 index 83e72294a..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/highbank.dts +++ /dev/null @@ -1,209 +0,0 @@ -/* - * Copyright 2011 Calxeda, Inc. - * - * This program is free software; you can redistribute it and/or modify it - * under the terms and conditions of the GNU General Public License, - * version 2, as published by the Free Software Foundation. - * - * This program is distributed in the hope 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. - * - * You should have received a copy of the GNU General Public License along with - * this program. If not, see . - */ - -/dts-v1/; - -/* First 4KB has pen for secondary cores. */ -/memreserve/ 0x00000000 0x0001000; - -/ { - model = "Calxeda Highbank"; - compatible = "calxeda,highbank"; - #address-cells = <1>; - #size-cells = <1>; - - cpus { - #address-cells = <1>; - #size-cells = <0>; - - cpu@0 { - compatible = "arm,cortex-a9"; - reg = <0>; - next-level-cache = <&L2>; - }; - - cpu@1 { - compatible = "arm,cortex-a9"; - reg = <1>; - next-level-cache = <&L2>; - }; - - cpu@2 { - compatible = "arm,cortex-a9"; - reg = <2>; - next-level-cache = <&L2>; - }; - - cpu@3 { - compatible = "arm,cortex-a9"; - reg = <3>; - next-level-cache = <&L2>; - }; - }; - - memory { - name = "memory"; - device_type = "memory"; - reg = <0x00000000 0xff900000>; - }; - - chosen { - bootargs = "console=ttyAMA0"; - }; - - soc { - #address-cells = <1>; - #size-cells = <1>; - compatible = "simple-bus"; - interrupt-parent = <&intc>; - ranges; - - timer@fff10600 { - compatible = "arm,cortex-a9-twd-timer"; - reg = <0xfff10600 0x20>; - interrupts = <1 13 0xf01>; - }; - - watchdog@fff10620 { - compatible = "arm,cortex-a9-twd-wdt"; - reg = <0xfff10620 0x20>; - interrupts = <1 14 0xf01>; - }; - - intc: interrupt-controller@fff11000 { - compatible = "arm,cortex-a9-gic"; - #interrupt-cells = <3>; - #size-cells = <0>; - #address-cells = <1>; - interrupt-controller; - reg = <0xfff11000 0x1000>, - <0xfff10100 0x100>; - }; - - L2: l2-cache { - compatible = "arm,pl310-cache"; - reg = <0xfff12000 0x1000>; - interrupts = <0 70 4>; - cache-unified; - cache-level = <2>; - }; - - pmu { - compatible = "arm,cortex-a9-pmu"; - interrupts = <0 76 4 0 75 4 0 74 4 0 73 4>; - }; - - sata@ffe08000 { - compatible = "calxeda,hb-ahci"; - reg = <0xffe08000 0x10000>; - interrupts = <0 83 4>; - }; - - sdhci@ffe0e000 { - compatible = "calxeda,hb-sdhci"; - reg = <0xffe0e000 0x1000>; - interrupts = <0 90 4>; - }; - - ipc@fff20000 { - compatible = "arm,pl320", "arm,primecell"; - reg = <0xfff20000 0x1000>; - interrupts = <0 7 4>; - }; - - gpioe: gpio@fff30000 { - #gpio-cells = <2>; - compatible = "arm,pl061", "arm,primecell"; - gpio-controller; - reg = <0xfff30000 0x1000>; - interrupts = <0 14 4>; - }; - - gpiof: gpio@fff31000 { - #gpio-cells = <2>; - compatible = "arm,pl061", "arm,primecell"; - gpio-controller; - reg = <0xfff31000 0x1000>; - interrupts = <0 15 4>; - }; - - gpiog: gpio@fff32000 { - #gpio-cells = <2>; - compatible = "arm,pl061", "arm,primecell"; - gpio-controller; - reg = <0xfff32000 0x1000>; - interrupts = <0 16 4>; - }; - - gpioh: gpio@fff33000 { - #gpio-cells = <2>; - compatible = "arm,pl061", "arm,primecell"; - gpio-controller; - reg = <0xfff33000 0x1000>; - interrupts = <0 17 4>; - }; - - timer { - compatible = "arm,sp804", "arm,primecell"; - reg = <0xfff34000 0x1000>; - interrupts = <0 18 4>; - }; - - rtc@fff35000 { - compatible = "arm,pl031", "arm,primecell"; - reg = <0xfff35000 0x1000>; - interrupts = <0 19 4>; - }; - - serial@fff36000 { - compatible = "arm,pl011", "arm,primecell"; - reg = <0xfff36000 0x1000>; - interrupts = <0 20 4>; - }; - - smic@fff3a000 { - compatible = "ipmi-smic"; - device_type = "ipmi"; - reg = <0xfff3a000 0x1000>; - interrupts = <0 24 4>; - reg-size = <4>; - reg-spacing = <4>; - }; - - sregs@fff3c000 { - compatible = "calxeda,hb-sregs"; - reg = <0xfff3c000 0x1000>; - }; - - dma@fff3d000 { - compatible = "arm,pl330", "arm,primecell"; - reg = <0xfff3d000 0x1000>; - interrupts = <0 92 4>; - }; - - ethernet@fff50000 { - compatible = "calxeda,hb-xgmac"; - reg = <0xfff50000 0x1000>; - interrupts = <0 77 4 0 78 4 0 79 4>; - }; - - ethernet@fff51000 { - compatible = "calxeda,hb-xgmac"; - reg = <0xfff51000 0x1000>; - interrupts = <0 80 4 0 81 4 0 82 4>; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/imx27-phytec-phycore.dts b/kernel/arch/arm/boot/dts/m7350-un-v3/imx27-phytec-phycore.dts deleted file mode 100644 index a51a08fc2..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/imx27-phytec-phycore.dts +++ /dev/null @@ -1,76 +0,0 @@ -/* - * Copyright 2012 Sascha Hauer, Pengutronix - * - * The code contained herein is licensed under the GNU General Public - * License. You may obtain a copy of the GNU General Public License - * Version 2 or later at the following locations: - * - * http://www.opensource.org/licenses/gpl-license.html - * http://www.gnu.org/copyleft/gpl.html - */ - -/dts-v1/; -/include/ "imx27.dtsi" - -/ { - model = "Phytec pcm038"; - compatible = "phytec,imx27-pcm038", "fsl,imx27"; - - memory { - reg = <0x0 0x0>; - }; - - soc { - aipi@10000000 { /* aipi */ - - wdog@10002000 { - status = "okay"; - }; - - uart@1000a000 { - fsl,uart-has-rtscts; - status = "okay"; - }; - - uart@1000b000 { - fsl,uart-has-rtscts; - status = "okay"; - }; - - uart@1000c000 { - fsl,uart-has-rtscts; - status = "okay"; - }; - - fec@1002b000 { - status = "okay"; - }; - - i2c@1001d000 { - clock-frequency = <400000>; - status = "okay"; - at24@4c { - compatible = "at,24c32"; - pagesize = <32>; - reg = <0x52>; - }; - pcf8563@51 { - compatible = "nxp,pcf8563"; - reg = <0x51>; - }; - lm75@4a { - compatible = "national,lm75"; - reg = <0x4a>; - }; - }; - }; - }; - - nor_flash@c0000000 { - compatible = "cfi-flash"; - bank-width = <2>; - reg = <0xc0000000 0x02000000>; - #address-cells = <1>; - #size-cells = <1>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/imx27.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v3/imx27.dtsi deleted file mode 100644 index bc5e7d5dd..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/imx27.dtsi +++ /dev/null @@ -1,217 +0,0 @@ -/* - * Copyright 2012 Sascha Hauer, Pengutronix - * - * The code contained herein is licensed under the GNU General Public - * License. You may obtain a copy of the GNU General Public License - * Version 2 or later at the following locations: - * - * http://www.opensource.org/licenses/gpl-license.html - * http://www.gnu.org/copyleft/gpl.html - */ - -/include/ "skeleton.dtsi" - -/ { - aliases { - serial0 = &uart1; - serial1 = &uart2; - serial2 = &uart3; - serial3 = &uart4; - serial4 = &uart5; - serial5 = &uart6; - }; - - avic: avic-interrupt-controller@e0000000 { - compatible = "fsl,imx27-avic", "fsl,avic"; - interrupt-controller; - #interrupt-cells = <1>; - reg = <0x10040000 0x1000>; - }; - - clocks { - #address-cells = <1>; - #size-cells = <0>; - - osc26m { - compatible = "fsl,imx-osc26m", "fixed-clock"; - clock-frequency = <26000000>; - }; - }; - - soc { - #address-cells = <1>; - #size-cells = <1>; - compatible = "simple-bus"; - interrupt-parent = <&avic>; - ranges; - - aipi@10000000 { /* AIPI1 */ - compatible = "fsl,aipi-bus", "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0x10000000 0x10000000>; - ranges; - - wdog@10002000 { - compatible = "fsl,imx27-wdt", "fsl,imx21-wdt"; - reg = <0x10002000 0x4000>; - interrupts = <27>; - status = "disabled"; - }; - - uart1: uart@1000a000 { - compatible = "fsl,imx27-uart", "fsl,imx21-uart"; - reg = <0x1000a000 0x1000>; - interrupts = <20>; - status = "disabled"; - }; - - uart2: uart@1000b000 { - compatible = "fsl,imx27-uart", "fsl,imx21-uart"; - reg = <0x1000b000 0x1000>; - interrupts = <19>; - status = "disabled"; - }; - - uart3: uart@1000c000 { - compatible = "fsl,imx27-uart", "fsl,imx21-uart"; - reg = <0x1000c000 0x1000>; - interrupts = <18>; - status = "disabled"; - }; - - uart4: uart@1000d000 { - compatible = "fsl,imx27-uart", "fsl,imx21-uart"; - reg = <0x1000d000 0x1000>; - interrupts = <17>; - status = "disabled"; - }; - - cspi1: cspi@1000e000 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx27-cspi"; - reg = <0x1000e000 0x1000>; - interrupts = <16>; - status = "disabled"; - }; - - cspi2: cspi@1000f000 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx27-cspi"; - reg = <0x1000f000 0x1000>; - interrupts = <15>; - status = "disabled"; - }; - - i2c1: i2c@10012000 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx27-i2c", "fsl,imx1-i2c"; - reg = <0x10012000 0x1000>; - interrupts = <12>; - status = "disabled"; - }; - - gpio1: gpio@10015000 { - compatible = "fsl,imx27-gpio", "fsl,imx21-gpio"; - reg = <0x10015000 0x100>; - interrupts = <8>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - gpio2: gpio@10015100 { - compatible = "fsl,imx27-gpio", "fsl,imx21-gpio"; - reg = <0x10015100 0x100>; - interrupts = <8>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - gpio3: gpio@10015200 { - compatible = "fsl,imx27-gpio", "fsl,imx21-gpio"; - reg = <0x10015200 0x100>; - interrupts = <8>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - gpio4: gpio@10015300 { - compatible = "fsl,imx27-gpio", "fsl,imx21-gpio"; - reg = <0x10015300 0x100>; - interrupts = <8>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - gpio5: gpio@10015400 { - compatible = "fsl,imx27-gpio", "fsl,imx21-gpio"; - reg = <0x10015400 0x100>; - interrupts = <8>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - gpio6: gpio@10015500 { - compatible = "fsl,imx27-gpio", "fsl,imx21-gpio"; - reg = <0x10015500 0x100>; - interrupts = <8>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - cspi3: cspi@10017000 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx27-cspi"; - reg = <0x10017000 0x1000>; - interrupts = <6>; - status = "disabled"; - }; - - uart5: uart@1001b000 { - compatible = "fsl,imx27-uart", "fsl,imx21-uart"; - reg = <0x1001b000 0x1000>; - interrupts = <49>; - status = "disabled"; - }; - - uart6: uart@1001c000 { - compatible = "fsl,imx27-uart", "fsl,imx21-uart"; - reg = <0x1001c000 0x1000>; - interrupts = <48>; - status = "disabled"; - }; - - i2c2: i2c@1001d000 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx27-i2c", "fsl,imx1-i2c"; - reg = <0x1001d000 0x1000>; - interrupts = <1>; - status = "disabled"; - }; - - fec: fec@1002b000 { - compatible = "fsl,imx27-fec"; - reg = <0x1002b000 0x4000>; - interrupts = <50>; - status = "disabled"; - }; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/imx51-babbage.dts b/kernel/arch/arm/boot/dts/m7350-un-v3/imx51-babbage.dts deleted file mode 100644 index 9949e6060..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/imx51-babbage.dts +++ /dev/null @@ -1,221 +0,0 @@ -/* - * Copyright 2011 Freescale Semiconductor, Inc. - * Copyright 2011 Linaro Ltd. - * - * The code contained herein is licensed under the GNU General Public - * License. You may obtain a copy of the GNU General Public License - * Version 2 or later at the following locations: - * - * http://www.opensource.org/licenses/gpl-license.html - * http://www.gnu.org/copyleft/gpl.html - */ - -/dts-v1/; -/include/ "imx51.dtsi" - -/ { - model = "Freescale i.MX51 Babbage Board"; - compatible = "fsl,imx51-babbage", "fsl,imx51"; - - chosen { - bootargs = "console=ttymxc0,115200 root=/dev/mmcblk0p3 rootwait"; - }; - - memory { - reg = <0x90000000 0x20000000>; - }; - - soc { - aips@70000000 { /* aips-1 */ - spba@70000000 { - esdhc@70004000 { /* ESDHC1 */ - fsl,cd-internal; - fsl,wp-internal; - status = "okay"; - }; - - esdhc@70008000 { /* ESDHC2 */ - cd-gpios = <&gpio1 6 0>; - wp-gpios = <&gpio1 5 0>; - status = "okay"; - }; - - uart3: uart@7000c000 { - fsl,uart-has-rtscts; - status = "okay"; - }; - - ecspi@70010000 { /* ECSPI1 */ - fsl,spi-num-chipselects = <2>; - cs-gpios = <&gpio4 24 0>, <&gpio4 25 0>; - status = "okay"; - - pmic: mc13892@0 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,mc13892"; - spi-max-frequency = <6000000>; - reg = <0>; - interrupt-parent = <&gpio1>; - interrupts = <8>; - - regulators { - sw1_reg: sw1 { - regulator-min-microvolt = <600000>; - regulator-max-microvolt = <1375000>; - regulator-boot-on; - regulator-always-on; - }; - - sw2_reg: sw2 { - regulator-min-microvolt = <900000>; - regulator-max-microvolt = <1850000>; - regulator-boot-on; - regulator-always-on; - }; - - sw3_reg: sw3 { - regulator-min-microvolt = <1100000>; - regulator-max-microvolt = <1850000>; - regulator-boot-on; - regulator-always-on; - }; - - sw4_reg: sw4 { - regulator-min-microvolt = <1100000>; - regulator-max-microvolt = <1850000>; - regulator-boot-on; - regulator-always-on; - }; - - vpll_reg: vpll { - regulator-min-microvolt = <1050000>; - regulator-max-microvolt = <1800000>; - regulator-boot-on; - regulator-always-on; - }; - - vdig_reg: vdig { - regulator-min-microvolt = <1650000>; - regulator-max-microvolt = <1650000>; - regulator-boot-on; - }; - - vsd_reg: vsd { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <3150000>; - }; - - vusb2_reg: vusb2 { - regulator-min-microvolt = <2400000>; - regulator-max-microvolt = <2775000>; - regulator-boot-on; - regulator-always-on; - }; - - vvideo_reg: vvideo { - regulator-min-microvolt = <2775000>; - regulator-max-microvolt = <2775000>; - }; - - vaudio_reg: vaudio { - regulator-min-microvolt = <2300000>; - regulator-max-microvolt = <3000000>; - }; - - vcam_reg: vcam { - regulator-min-microvolt = <2500000>; - regulator-max-microvolt = <3000000>; - }; - - vgen1_reg: vgen1 { - regulator-min-microvolt = <1200000>; - regulator-max-microvolt = <1200000>; - }; - - vgen2_reg: vgen2 { - regulator-min-microvolt = <1200000>; - regulator-max-microvolt = <3150000>; - regulator-always-on; - }; - - vgen3_reg: vgen3 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <2900000>; - regulator-always-on; - }; - }; - }; - - flash: at45db321d@1 { - #address-cells = <1>; - #size-cells = <1>; - compatible = "atmel,at45db321d", "atmel,at45", "atmel,dataflash"; - spi-max-frequency = <25000000>; - reg = <1>; - - partition@0 { - label = "U-Boot"; - reg = <0x0 0x40000>; - read-only; - }; - - partition@40000 { - label = "Kernel"; - reg = <0x40000 0x3c0000>; - }; - }; - }; - }; - - wdog@73f98000 { /* WDOG1 */ - status = "okay"; - }; - - iomuxc@73fa8000 { - compatible = "fsl,imx51-iomuxc-babbage"; - reg = <0x73fa8000 0x4000>; - }; - - uart1: uart@73fbc000 { - fsl,uart-has-rtscts; - status = "okay"; - }; - - uart2: uart@73fc0000 { - status = "okay"; - }; - }; - - aips@80000000 { /* aips-2 */ - sdma@83fb0000 { - fsl,sdma-ram-script-name = "imx/sdma/sdma-imx51.bin"; - }; - - i2c@83fc4000 { /* I2C2 */ - status = "okay"; - - codec: sgtl5000@0a { - compatible = "fsl,sgtl5000"; - reg = <0x0a>; - }; - }; - - fec@83fec000 { - phy-mode = "mii"; - status = "okay"; - }; - }; - }; - - gpio-keys { - compatible = "gpio-keys"; - - power { - label = "Power Button"; - gpios = <&gpio2 21 0>; - linux,code = <116>; /* KEY_POWER */ - gpio-key,wakeup; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/imx51.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v3/imx51.dtsi deleted file mode 100644 index 6663986fe..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/imx51.dtsi +++ /dev/null @@ -1,246 +0,0 @@ -/* - * Copyright 2011 Freescale Semiconductor, Inc. - * Copyright 2011 Linaro Ltd. - * - * The code contained herein is licensed under the GNU General Public - * License. You may obtain a copy of the GNU General Public License - * Version 2 or later at the following locations: - * - * http://www.opensource.org/licenses/gpl-license.html - * http://www.gnu.org/copyleft/gpl.html - */ - -/include/ "skeleton.dtsi" - -/ { - aliases { - serial0 = &uart1; - serial1 = &uart2; - serial2 = &uart3; - }; - - tzic: tz-interrupt-controller@e0000000 { - compatible = "fsl,imx51-tzic", "fsl,tzic"; - interrupt-controller; - #interrupt-cells = <1>; - reg = <0xe0000000 0x4000>; - }; - - clocks { - #address-cells = <1>; - #size-cells = <0>; - - ckil { - compatible = "fsl,imx-ckil", "fixed-clock"; - clock-frequency = <32768>; - }; - - ckih1 { - compatible = "fsl,imx-ckih1", "fixed-clock"; - clock-frequency = <22579200>; - }; - - ckih2 { - compatible = "fsl,imx-ckih2", "fixed-clock"; - clock-frequency = <0>; - }; - - osc { - compatible = "fsl,imx-osc", "fixed-clock"; - clock-frequency = <24000000>; - }; - }; - - soc { - #address-cells = <1>; - #size-cells = <1>; - compatible = "simple-bus"; - interrupt-parent = <&tzic>; - ranges; - - aips@70000000 { /* AIPS1 */ - compatible = "fsl,aips-bus", "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0x70000000 0x10000000>; - ranges; - - spba@70000000 { - compatible = "fsl,spba-bus", "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0x70000000 0x40000>; - ranges; - - esdhc@70004000 { /* ESDHC1 */ - compatible = "fsl,imx51-esdhc"; - reg = <0x70004000 0x4000>; - interrupts = <1>; - status = "disabled"; - }; - - esdhc@70008000 { /* ESDHC2 */ - compatible = "fsl,imx51-esdhc"; - reg = <0x70008000 0x4000>; - interrupts = <2>; - status = "disabled"; - }; - - uart3: uart@7000c000 { - compatible = "fsl,imx51-uart", "fsl,imx21-uart"; - reg = <0x7000c000 0x4000>; - interrupts = <33>; - status = "disabled"; - }; - - ecspi@70010000 { /* ECSPI1 */ - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx51-ecspi"; - reg = <0x70010000 0x4000>; - interrupts = <36>; - status = "disabled"; - }; - - esdhc@70020000 { /* ESDHC3 */ - compatible = "fsl,imx51-esdhc"; - reg = <0x70020000 0x4000>; - interrupts = <3>; - status = "disabled"; - }; - - esdhc@70024000 { /* ESDHC4 */ - compatible = "fsl,imx51-esdhc"; - reg = <0x70024000 0x4000>; - interrupts = <4>; - status = "disabled"; - }; - }; - - gpio1: gpio@73f84000 { - compatible = "fsl,imx51-gpio", "fsl,imx31-gpio"; - reg = <0x73f84000 0x4000>; - interrupts = <50 51>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - gpio2: gpio@73f88000 { - compatible = "fsl,imx51-gpio", "fsl,imx31-gpio"; - reg = <0x73f88000 0x4000>; - interrupts = <52 53>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - gpio3: gpio@73f8c000 { - compatible = "fsl,imx51-gpio", "fsl,imx31-gpio"; - reg = <0x73f8c000 0x4000>; - interrupts = <54 55>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - gpio4: gpio@73f90000 { - compatible = "fsl,imx51-gpio", "fsl,imx31-gpio"; - reg = <0x73f90000 0x4000>; - interrupts = <56 57>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - wdog@73f98000 { /* WDOG1 */ - compatible = "fsl,imx51-wdt", "fsl,imx21-wdt"; - reg = <0x73f98000 0x4000>; - interrupts = <58>; - status = "disabled"; - }; - - wdog@73f9c000 { /* WDOG2 */ - compatible = "fsl,imx51-wdt", "fsl,imx21-wdt"; - reg = <0x73f9c000 0x4000>; - interrupts = <59>; - status = "disabled"; - }; - - uart1: uart@73fbc000 { - compatible = "fsl,imx51-uart", "fsl,imx21-uart"; - reg = <0x73fbc000 0x4000>; - interrupts = <31>; - status = "disabled"; - }; - - uart2: uart@73fc0000 { - compatible = "fsl,imx51-uart", "fsl,imx21-uart"; - reg = <0x73fc0000 0x4000>; - interrupts = <32>; - status = "disabled"; - }; - }; - - aips@80000000 { /* AIPS2 */ - compatible = "fsl,aips-bus", "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0x80000000 0x10000000>; - ranges; - - ecspi@83fac000 { /* ECSPI2 */ - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx51-ecspi"; - reg = <0x83fac000 0x4000>; - interrupts = <37>; - status = "disabled"; - }; - - sdma@83fb0000 { - compatible = "fsl,imx51-sdma", "fsl,imx35-sdma"; - reg = <0x83fb0000 0x4000>; - interrupts = <6>; - }; - - cspi@83fc0000 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx51-cspi", "fsl,imx35-cspi"; - reg = <0x83fc0000 0x4000>; - interrupts = <38>; - status = "disabled"; - }; - - i2c@83fc4000 { /* I2C2 */ - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx51-i2c", "fsl,imx1-i2c"; - reg = <0x83fc4000 0x4000>; - interrupts = <63>; - status = "disabled"; - }; - - i2c@83fc8000 { /* I2C1 */ - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx51-i2c", "fsl,imx1-i2c"; - reg = <0x83fc8000 0x4000>; - interrupts = <62>; - status = "disabled"; - }; - - fec@83fec000 { - compatible = "fsl,imx51-fec", "fsl,imx27-fec"; - reg = <0x83fec000 0x4000>; - interrupts = <87>; - status = "disabled"; - }; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/imx53-ard.dts b/kernel/arch/arm/boot/dts/m7350-un-v3/imx53-ard.dts deleted file mode 100644 index 2dccce46e..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/imx53-ard.dts +++ /dev/null @@ -1,113 +0,0 @@ -/* - * Copyright 2011 Freescale Semiconductor, Inc. - * Copyright 2011 Linaro Ltd. - * - * The code contained herein is licensed under the GNU General Public - * License. You may obtain a copy of the GNU General Public License - * Version 2 or later at the following locations: - * - * http://www.opensource.org/licenses/gpl-license.html - * http://www.gnu.org/copyleft/gpl.html - */ - -/dts-v1/; -/include/ "imx53.dtsi" - -/ { - model = "Freescale i.MX53 Automotive Reference Design Board"; - compatible = "fsl,imx53-ard", "fsl,imx53"; - - chosen { - bootargs = "console=ttymxc0,115200 root=/dev/mmcblk0p3 rootwait"; - }; - - memory { - reg = <0x70000000 0x40000000>; - }; - - soc { - aips@50000000 { /* AIPS1 */ - spba@50000000 { - esdhc@50004000 { /* ESDHC1 */ - cd-gpios = <&gpio1 1 0>; - wp-gpios = <&gpio1 9 0>; - status = "okay"; - }; - }; - - wdog@53f98000 { /* WDOG1 */ - status = "okay"; - }; - - iomuxc@53fa8000 { - compatible = "fsl,imx53-iomuxc-ard"; - reg = <0x53fa8000 0x4000>; - }; - - uart1: uart@53fbc000 { - status = "okay"; - }; - }; - - aips@60000000 { /* AIPS2 */ - sdma@63fb0000 { - fsl,sdma-ram-script-name = "imx/sdma/sdma-imx53.bin"; - }; - }; - }; - - eim-cs1@f4000000 { - #address-cells = <1>; - #size-cells = <1>; - compatible = "fsl,eim-bus", "simple-bus"; - reg = <0xf4000000 0x3ff0000>; - ranges; - - lan9220@f4000000 { - compatible = "smsc,lan9220", "smsc,lan9115"; - reg = <0xf4000000 0x2000000>; - phy-mode = "mii"; - interrupt-parent = <&gpio2>; - interrupts = <31>; - reg-io-width = <4>; - smsc,irq-push-pull; - }; - }; - - gpio-keys { - compatible = "gpio-keys"; - - home { - label = "Home"; - gpios = <&gpio5 10 0>; - linux,code = <102>; /* KEY_HOME */ - gpio-key,wakeup; - }; - - back { - label = "Back"; - gpios = <&gpio5 11 0>; - linux,code = <158>; /* KEY_BACK */ - gpio-key,wakeup; - }; - - program { - label = "Program"; - gpios = <&gpio5 12 0>; - linux,code = <362>; /* KEY_PROGRAM */ - gpio-key,wakeup; - }; - - volume-up { - label = "Volume Up"; - gpios = <&gpio5 13 0>; - linux,code = <115>; /* KEY_VOLUMEUP */ - }; - - volume-down { - label = "Volume Down"; - gpios = <&gpio4 0 0>; - linux,code = <114>; /* KEY_VOLUMEDOWN */ - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/imx53-evk.dts b/kernel/arch/arm/boot/dts/m7350-un-v3/imx53-evk.dts deleted file mode 100644 index 5bac4aa48..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/imx53-evk.dts +++ /dev/null @@ -1,119 +0,0 @@ -/* - * Copyright 2011 Freescale Semiconductor, Inc. - * Copyright 2011 Linaro Ltd. - * - * The code contained herein is licensed under the GNU General Public - * License. You may obtain a copy of the GNU General Public License - * Version 2 or later at the following locations: - * - * http://www.opensource.org/licenses/gpl-license.html - * http://www.gnu.org/copyleft/gpl.html - */ - -/dts-v1/; -/include/ "imx53.dtsi" - -/ { - model = "Freescale i.MX53 Evaluation Kit"; - compatible = "fsl,imx53-evk", "fsl,imx53"; - - chosen { - bootargs = "console=ttymxc0,115200 root=/dev/mmcblk0p3 rootwait"; - }; - - memory { - reg = <0x70000000 0x80000000>; - }; - - soc { - aips@50000000 { /* AIPS1 */ - spba@50000000 { - esdhc@50004000 { /* ESDHC1 */ - cd-gpios = <&gpio3 13 0>; - wp-gpios = <&gpio3 14 0>; - status = "okay"; - }; - - ecspi@50010000 { /* ECSPI1 */ - fsl,spi-num-chipselects = <2>; - cs-gpios = <&gpio2 30 0>, <&gpio3 19 0>; - status = "okay"; - - flash: at45db321d@1 { - #address-cells = <1>; - #size-cells = <1>; - compatible = "atmel,at45db321d", "atmel,at45", "atmel,dataflash"; - spi-max-frequency = <25000000>; - reg = <1>; - - partition@0 { - label = "U-Boot"; - reg = <0x0 0x40000>; - read-only; - }; - - partition@40000 { - label = "Kernel"; - reg = <0x40000 0x3c0000>; - }; - }; - }; - - esdhc@50020000 { /* ESDHC3 */ - cd-gpios = <&gpio3 11 0>; - wp-gpios = <&gpio3 12 0>; - status = "okay"; - }; - }; - - wdog@53f98000 { /* WDOG1 */ - status = "okay"; - }; - - iomuxc@53fa8000 { - compatible = "fsl,imx53-iomuxc-evk"; - reg = <0x53fa8000 0x4000>; - }; - - uart1: uart@53fbc000 { - status = "okay"; - }; - }; - - aips@60000000 { /* AIPS2 */ - sdma@63fb0000 { - fsl,sdma-ram-script-name = "imx/sdma/sdma-imx53.bin"; - }; - - i2c@63fc4000 { /* I2C2 */ - status = "okay"; - - pmic: mc13892@08 { - compatible = "fsl,mc13892", "fsl,mc13xxx"; - reg = <0x08>; - }; - - codec: sgtl5000@0a { - compatible = "fsl,sgtl5000"; - reg = <0x0a>; - }; - }; - - fec@63fec000 { - phy-mode = "rmii"; - phy-reset-gpios = <&gpio7 6 0>; - status = "okay"; - }; - }; - }; - - leds { - compatible = "gpio-leds"; - - green { - label = "Heartbeat"; - gpios = <&gpio7 7 0>; - linux,default-trigger = "heartbeat"; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/imx53-qsb.dts b/kernel/arch/arm/boot/dts/m7350-un-v3/imx53-qsb.dts deleted file mode 100644 index 5c57c8672..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/imx53-qsb.dts +++ /dev/null @@ -1,125 +0,0 @@ -/* - * Copyright 2011 Freescale Semiconductor, Inc. - * Copyright 2011 Linaro Ltd. - * - * The code contained herein is licensed under the GNU General Public - * License. You may obtain a copy of the GNU General Public License - * Version 2 or later at the following locations: - * - * http://www.opensource.org/licenses/gpl-license.html - * http://www.gnu.org/copyleft/gpl.html - */ - -/dts-v1/; -/include/ "imx53.dtsi" - -/ { - model = "Freescale i.MX53 Quick Start Board"; - compatible = "fsl,imx53-qsb", "fsl,imx53"; - - chosen { - bootargs = "console=ttymxc0,115200 root=/dev/mmcblk0p3 rootwait"; - }; - - memory { - reg = <0x70000000 0x40000000>; - }; - - soc { - aips@50000000 { /* AIPS1 */ - spba@50000000 { - esdhc@50004000 { /* ESDHC1 */ - cd-gpios = <&gpio3 13 0>; - status = "okay"; - }; - - esdhc@50020000 { /* ESDHC3 */ - cd-gpios = <&gpio3 11 0>; - wp-gpios = <&gpio3 12 0>; - status = "okay"; - }; - }; - - wdog@53f98000 { /* WDOG1 */ - status = "okay"; - }; - - iomuxc@53fa8000 { - compatible = "fsl,imx53-iomuxc-qsb"; - reg = <0x53fa8000 0x4000>; - }; - - uart1: uart@53fbc000 { - status = "okay"; - }; - }; - - aips@60000000 { /* AIPS2 */ - sdma@63fb0000 { - fsl,sdma-ram-script-name = "imx/sdma/sdma-imx53.bin"; - }; - - i2c@63fc4000 { /* I2C2 */ - status = "okay"; - - codec: sgtl5000@0a { - compatible = "fsl,sgtl5000"; - reg = <0x0a>; - }; - }; - - i2c@63fc8000 { /* I2C1 */ - status = "okay"; - - accelerometer: mma8450@1c { - compatible = "fsl,mma8450"; - reg = <0x1c>; - }; - - pmic: dialog@48 { - compatible = "dialog,da9053", "dialog,da9052"; - reg = <0x48>; - }; - }; - - fec@63fec000 { - phy-mode = "rmii"; - phy-reset-gpios = <&gpio7 6 0>; - status = "okay"; - }; - }; - }; - - gpio-keys { - compatible = "gpio-keys"; - - power { - label = "Power Button"; - gpios = <&gpio1 8 0>; - linux,code = <116>; /* KEY_POWER */ - gpio-key,wakeup; - }; - - volume-up { - label = "Volume Up"; - gpios = <&gpio2 14 0>; - linux,code = <115>; /* KEY_VOLUMEUP */ - }; - - volume-down { - label = "Volume Down"; - gpios = <&gpio2 15 0>; - linux,code = <114>; /* KEY_VOLUMEDOWN */ - }; - }; - - leds { - compatible = "gpio-leds"; - - user { - label = "Heartbeat"; - gpios = <&gpio7 7 0>; - linux,default-trigger = "heartbeat"; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/imx53-smd.dts b/kernel/arch/arm/boot/dts/m7350-un-v3/imx53-smd.dts deleted file mode 100644 index c7ee86c2d..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/imx53-smd.dts +++ /dev/null @@ -1,168 +0,0 @@ -/* - * Copyright 2011 Freescale Semiconductor, Inc. - * Copyright 2011 Linaro Ltd. - * - * The code contained herein is licensed under the GNU General Public - * License. You may obtain a copy of the GNU General Public License - * Version 2 or later at the following locations: - * - * http://www.opensource.org/licenses/gpl-license.html - * http://www.gnu.org/copyleft/gpl.html - */ - -/dts-v1/; -/include/ "imx53.dtsi" - -/ { - model = "Freescale i.MX53 Smart Mobile Reference Design Board"; - compatible = "fsl,imx53-smd", "fsl,imx53"; - - chosen { - bootargs = "console=ttymxc0,115200 root=/dev/mmcblk0p3 rootwait"; - }; - - memory { - reg = <0x70000000 0x40000000>; - }; - - soc { - aips@50000000 { /* AIPS1 */ - spba@50000000 { - esdhc@50004000 { /* ESDHC1 */ - cd-gpios = <&gpio3 13 0>; - wp-gpios = <&gpio4 11 0>; - status = "okay"; - }; - - esdhc@50008000 { /* ESDHC2 */ - fsl,card-wired; - status = "okay"; - }; - - uart3: uart@5000c000 { - fsl,uart-has-rtscts; - status = "okay"; - }; - - ecspi@50010000 { /* ECSPI1 */ - fsl,spi-num-chipselects = <2>; - cs-gpios = <&gpio2 30 0>, <&gpio3 19 0>; - status = "okay"; - - zigbee: mc1323@0 { - compatible = "fsl,mc1323"; - spi-max-frequency = <8000000>; - reg = <0>; - }; - - flash: m25p32@1 { - #address-cells = <1>; - #size-cells = <1>; - compatible = "st,m25p32", "st,m25p"; - spi-max-frequency = <20000000>; - reg = <1>; - - partition@0 { - label = "U-Boot"; - reg = <0x0 0x40000>; - read-only; - }; - - partition@40000 { - label = "Kernel"; - reg = <0x40000 0x3c0000>; - }; - }; - }; - - esdhc@50020000 { /* ESDHC3 */ - fsl,card-wired; - status = "okay"; - }; - }; - - wdog@53f98000 { /* WDOG1 */ - status = "okay"; - }; - - iomuxc@53fa8000 { - compatible = "fsl,imx53-iomuxc-smd"; - reg = <0x53fa8000 0x4000>; - }; - - uart1: uart@53fbc000 { - status = "okay"; - }; - - uart2: uart@53fc0000 { - status = "okay"; - }; - }; - - aips@60000000 { /* AIPS2 */ - sdma@63fb0000 { - fsl,sdma-ram-script-name = "imx/sdma/sdma-imx53.bin"; - }; - - i2c@63fc4000 { /* I2C2 */ - status = "okay"; - - codec: sgtl5000@0a { - compatible = "fsl,sgtl5000"; - reg = <0x0a>; - }; - - magnetometer: mag3110@0e { - compatible = "fsl,mag3110"; - reg = <0x0e>; - }; - - touchkey: mpr121@5a { - compatible = "fsl,mpr121"; - reg = <0x5a>; - }; - }; - - i2c@63fc8000 { /* I2C1 */ - status = "okay"; - - accelerometer: mma8450@1c { - compatible = "fsl,mma8450"; - reg = <0x1c>; - }; - - camera: ov5642@3c { - compatible = "ovti,ov5642"; - reg = <0x3c>; - }; - - pmic: dialog@48 { - compatible = "dialog,da9053", "dialog,da9052"; - reg = <0x48>; - }; - }; - - fec@63fec000 { - phy-mode = "rmii"; - phy-reset-gpios = <&gpio7 6 0>; - status = "okay"; - }; - }; - }; - - gpio-keys { - compatible = "gpio-keys"; - - volume-up { - label = "Volume Up"; - gpios = <&gpio2 14 0>; - linux,code = <115>; /* KEY_VOLUMEUP */ - }; - - volume-down { - label = "Volume Down"; - gpios = <&gpio2 15 0>; - linux,code = <114>; /* KEY_VOLUMEDOWN */ - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/imx53.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v3/imx53.dtsi deleted file mode 100644 index 5dd91b942..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/imx53.dtsi +++ /dev/null @@ -1,301 +0,0 @@ -/* - * Copyright 2011 Freescale Semiconductor, Inc. - * Copyright 2011 Linaro Ltd. - * - * The code contained herein is licensed under the GNU General Public - * License. You may obtain a copy of the GNU General Public License - * Version 2 or later at the following locations: - * - * http://www.opensource.org/licenses/gpl-license.html - * http://www.gnu.org/copyleft/gpl.html - */ - -/include/ "skeleton.dtsi" - -/ { - aliases { - serial0 = &uart1; - serial1 = &uart2; - serial2 = &uart3; - serial3 = &uart4; - serial4 = &uart5; - }; - - tzic: tz-interrupt-controller@0fffc000 { - compatible = "fsl,imx53-tzic", "fsl,tzic"; - interrupt-controller; - #interrupt-cells = <1>; - reg = <0x0fffc000 0x4000>; - }; - - clocks { - #address-cells = <1>; - #size-cells = <0>; - - ckil { - compatible = "fsl,imx-ckil", "fixed-clock"; - clock-frequency = <32768>; - }; - - ckih1 { - compatible = "fsl,imx-ckih1", "fixed-clock"; - clock-frequency = <22579200>; - }; - - ckih2 { - compatible = "fsl,imx-ckih2", "fixed-clock"; - clock-frequency = <0>; - }; - - osc { - compatible = "fsl,imx-osc", "fixed-clock"; - clock-frequency = <24000000>; - }; - }; - - soc { - #address-cells = <1>; - #size-cells = <1>; - compatible = "simple-bus"; - interrupt-parent = <&tzic>; - ranges; - - aips@50000000 { /* AIPS1 */ - compatible = "fsl,aips-bus", "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0x50000000 0x10000000>; - ranges; - - spba@50000000 { - compatible = "fsl,spba-bus", "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0x50000000 0x40000>; - ranges; - - esdhc@50004000 { /* ESDHC1 */ - compatible = "fsl,imx53-esdhc"; - reg = <0x50004000 0x4000>; - interrupts = <1>; - status = "disabled"; - }; - - esdhc@50008000 { /* ESDHC2 */ - compatible = "fsl,imx53-esdhc"; - reg = <0x50008000 0x4000>; - interrupts = <2>; - status = "disabled"; - }; - - uart3: uart@5000c000 { - compatible = "fsl,imx53-uart", "fsl,imx21-uart"; - reg = <0x5000c000 0x4000>; - interrupts = <33>; - status = "disabled"; - }; - - ecspi@50010000 { /* ECSPI1 */ - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx53-ecspi", "fsl,imx51-ecspi"; - reg = <0x50010000 0x4000>; - interrupts = <36>; - status = "disabled"; - }; - - esdhc@50020000 { /* ESDHC3 */ - compatible = "fsl,imx53-esdhc"; - reg = <0x50020000 0x4000>; - interrupts = <3>; - status = "disabled"; - }; - - esdhc@50024000 { /* ESDHC4 */ - compatible = "fsl,imx53-esdhc"; - reg = <0x50024000 0x4000>; - interrupts = <4>; - status = "disabled"; - }; - }; - - gpio1: gpio@53f84000 { - compatible = "fsl,imx53-gpio", "fsl,imx31-gpio"; - reg = <0x53f84000 0x4000>; - interrupts = <50 51>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - gpio2: gpio@53f88000 { - compatible = "fsl,imx53-gpio", "fsl,imx31-gpio"; - reg = <0x53f88000 0x4000>; - interrupts = <52 53>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - gpio3: gpio@53f8c000 { - compatible = "fsl,imx53-gpio", "fsl,imx31-gpio"; - reg = <0x53f8c000 0x4000>; - interrupts = <54 55>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - gpio4: gpio@53f90000 { - compatible = "fsl,imx53-gpio", "fsl,imx31-gpio"; - reg = <0x53f90000 0x4000>; - interrupts = <56 57>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - wdog@53f98000 { /* WDOG1 */ - compatible = "fsl,imx53-wdt", "fsl,imx21-wdt"; - reg = <0x53f98000 0x4000>; - interrupts = <58>; - status = "disabled"; - }; - - wdog@53f9c000 { /* WDOG2 */ - compatible = "fsl,imx53-wdt", "fsl,imx21-wdt"; - reg = <0x53f9c000 0x4000>; - interrupts = <59>; - status = "disabled"; - }; - - uart1: uart@53fbc000 { - compatible = "fsl,imx53-uart", "fsl,imx21-uart"; - reg = <0x53fbc000 0x4000>; - interrupts = <31>; - status = "disabled"; - }; - - uart2: uart@53fc0000 { - compatible = "fsl,imx53-uart", "fsl,imx21-uart"; - reg = <0x53fc0000 0x4000>; - interrupts = <32>; - status = "disabled"; - }; - - gpio5: gpio@53fdc000 { - compatible = "fsl,imx53-gpio", "fsl,imx31-gpio"; - reg = <0x53fdc000 0x4000>; - interrupts = <103 104>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - gpio6: gpio@53fe0000 { - compatible = "fsl,imx53-gpio", "fsl,imx31-gpio"; - reg = <0x53fe0000 0x4000>; - interrupts = <105 106>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - gpio7: gpio@53fe4000 { - compatible = "fsl,imx53-gpio", "fsl,imx31-gpio"; - reg = <0x53fe4000 0x4000>; - interrupts = <107 108>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - i2c@53fec000 { /* I2C3 */ - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx53-i2c", "fsl,imx1-i2c"; - reg = <0x53fec000 0x4000>; - interrupts = <64>; - status = "disabled"; - }; - - uart4: uart@53ff0000 { - compatible = "fsl,imx53-uart", "fsl,imx21-uart"; - reg = <0x53ff0000 0x4000>; - interrupts = <13>; - status = "disabled"; - }; - }; - - aips@60000000 { /* AIPS2 */ - compatible = "fsl,aips-bus", "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0x60000000 0x10000000>; - ranges; - - uart5: uart@63f90000 { - compatible = "fsl,imx53-uart", "fsl,imx21-uart"; - reg = <0x63f90000 0x4000>; - interrupts = <86>; - status = "disabled"; - }; - - ecspi@63fac000 { /* ECSPI2 */ - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx53-ecspi", "fsl,imx51-ecspi"; - reg = <0x63fac000 0x4000>; - interrupts = <37>; - status = "disabled"; - }; - - sdma@63fb0000 { - compatible = "fsl,imx53-sdma", "fsl,imx35-sdma"; - reg = <0x63fb0000 0x4000>; - interrupts = <6>; - }; - - cspi@63fc0000 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx53-cspi", "fsl,imx35-cspi"; - reg = <0x63fc0000 0x4000>; - interrupts = <38>; - status = "disabled"; - }; - - i2c@63fc4000 { /* I2C2 */ - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx53-i2c", "fsl,imx1-i2c"; - reg = <0x63fc4000 0x4000>; - interrupts = <63>; - status = "disabled"; - }; - - i2c@63fc8000 { /* I2C1 */ - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx53-i2c", "fsl,imx1-i2c"; - reg = <0x63fc8000 0x4000>; - interrupts = <62>; - status = "disabled"; - }; - - fec@63fec000 { - compatible = "fsl,imx53-fec", "fsl,imx25-fec"; - reg = <0x63fec000 0x4000>; - interrupts = <87>; - status = "disabled"; - }; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/imx6q-arm2.dts b/kernel/arch/arm/boot/dts/m7350-un-v3/imx6q-arm2.dts deleted file mode 100644 index ce1c8238c..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/imx6q-arm2.dts +++ /dev/null @@ -1,76 +0,0 @@ -/* - * Copyright 2011 Freescale Semiconductor, Inc. - * Copyright 2011 Linaro Ltd. - * - * The code contained herein is licensed under the GNU General Public - * License. You may obtain a copy of the GNU General Public License - * Version 2 or later at the following locations: - * - * http://www.opensource.org/licenses/gpl-license.html - * http://www.gnu.org/copyleft/gpl.html - */ - -/dts-v1/; -/include/ "imx6q.dtsi" - -/ { - model = "Freescale i.MX6 Quad Armadillo2 Board"; - compatible = "fsl,imx6q-arm2", "fsl,imx6q"; - - chosen { - bootargs = "console=ttymxc0,115200 root=/dev/mmcblk3p3 rootwait"; - }; - - memory { - reg = <0x10000000 0x80000000>; - }; - - soc { - aips-bus@02100000 { /* AIPS2 */ - enet@02188000 { - phy-mode = "rgmii"; - local-mac-address = [00 04 9F 01 1B 61]; - status = "okay"; - }; - - usdhc@02198000 { /* uSDHC3 */ - cd-gpios = <&gpio6 11 0>; - wp-gpios = <&gpio6 14 0>; - vmmc-supply = <®_3p3v>; - status = "okay"; - }; - - usdhc@0219c000 { /* uSDHC4 */ - fsl,card-wired; - vmmc-supply = <®_3p3v>; - status = "okay"; - }; - - uart4: uart@021f0000 { - status = "okay"; - }; - }; - }; - - regulators { - compatible = "simple-bus"; - - reg_3p3v: 3p3v { - compatible = "regulator-fixed"; - regulator-name = "3P3V"; - regulator-min-microvolt = <3300000>; - regulator-max-microvolt = <3300000>; - regulator-always-on; - }; - }; - - leds { - compatible = "gpio-leds"; - - debug-led { - label = "Heartbeat"; - gpios = <&gpio3 25 0>; - linux,default-trigger = "heartbeat"; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/imx6q-sabrelite.dts b/kernel/arch/arm/boot/dts/m7350-un-v3/imx6q-sabrelite.dts deleted file mode 100644 index 4663a4e5a..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/imx6q-sabrelite.dts +++ /dev/null @@ -1,83 +0,0 @@ -/* - * Copyright 2011 Freescale Semiconductor, Inc. - * Copyright 2011 Linaro Ltd. - * - * The code contained herein is licensed under the GNU General Public - * License. You may obtain a copy of the GNU General Public License - * Version 2 or later at the following locations: - * - * http://www.opensource.org/licenses/gpl-license.html - * http://www.gnu.org/copyleft/gpl.html - */ - -/dts-v1/; -/include/ "imx6q.dtsi" - -/ { - model = "Freescale i.MX6 Quad SABRE Lite Board"; - compatible = "fsl,imx6q-sabrelite", "fsl,imx6q"; - - memory { - reg = <0x10000000 0x40000000>; - }; - - soc { - aips-bus@02100000 { /* AIPS2 */ - enet@02188000 { - phy-mode = "rgmii"; - phy-reset-gpios = <&gpio3 23 0>; - status = "okay"; - }; - - usdhc@02198000 { /* uSDHC3 */ - cd-gpios = <&gpio7 0 0>; - wp-gpios = <&gpio7 1 0>; - vmmc-supply = <®_3p3v>; - status = "okay"; - }; - - usdhc@0219c000 { /* uSDHC4 */ - cd-gpios = <&gpio2 6 0>; - wp-gpios = <&gpio2 7 0>; - vmmc-supply = <®_3p3v>; - status = "okay"; - }; - - uart2: uart@021e8000 { - status = "okay"; - }; - - i2c@021a0000 { /* I2C1 */ - status = "okay"; - clock-frequency = <100000>; - - codec: sgtl5000@0a { - compatible = "fsl,sgtl5000"; - reg = <0x0a>; - VDDA-supply = <®_2p5v>; - VDDIO-supply = <®_3p3v>; - }; - }; - }; - }; - - regulators { - compatible = "simple-bus"; - - reg_2p5v: 2p5v { - compatible = "regulator-fixed"; - regulator-name = "2P5V"; - regulator-min-microvolt = <2500000>; - regulator-max-microvolt = <2500000>; - regulator-always-on; - }; - - reg_3p3v: 3p3v { - compatible = "regulator-fixed"; - regulator-name = "3P3V"; - regulator-min-microvolt = <3300000>; - regulator-max-microvolt = <3300000>; - regulator-always-on; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/imx6q.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v3/imx6q.dtsi deleted file mode 100644 index 4905f51a1..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/imx6q.dtsi +++ /dev/null @@ -1,575 +0,0 @@ -/* - * Copyright 2011 Freescale Semiconductor, Inc. - * Copyright 2011 Linaro Ltd. - * - * The code contained herein is licensed under the GNU General Public - * License. You may obtain a copy of the GNU General Public License - * Version 2 or later at the following locations: - * - * http://www.opensource.org/licenses/gpl-license.html - * http://www.gnu.org/copyleft/gpl.html - */ - -/include/ "skeleton.dtsi" - -/ { - aliases { - serial0 = &uart1; - serial1 = &uart2; - serial2 = &uart3; - serial3 = &uart4; - serial4 = &uart5; - }; - - cpus { - #address-cells = <1>; - #size-cells = <0>; - - cpu@0 { - compatible = "arm,cortex-a9"; - reg = <0>; - next-level-cache = <&L2>; - }; - - cpu@1 { - compatible = "arm,cortex-a9"; - reg = <1>; - next-level-cache = <&L2>; - }; - - cpu@2 { - compatible = "arm,cortex-a9"; - reg = <2>; - next-level-cache = <&L2>; - }; - - cpu@3 { - compatible = "arm,cortex-a9"; - reg = <3>; - next-level-cache = <&L2>; - }; - }; - - intc: interrupt-controller@00a01000 { - compatible = "arm,cortex-a9-gic"; - #interrupt-cells = <3>; - #address-cells = <1>; - #size-cells = <1>; - interrupt-controller; - reg = <0x00a01000 0x1000>, - <0x00a00100 0x100>; - }; - - clocks { - #address-cells = <1>; - #size-cells = <0>; - - ckil { - compatible = "fsl,imx-ckil", "fixed-clock"; - clock-frequency = <32768>; - }; - - ckih1 { - compatible = "fsl,imx-ckih1", "fixed-clock"; - clock-frequency = <0>; - }; - - osc { - compatible = "fsl,imx-osc", "fixed-clock"; - clock-frequency = <24000000>; - }; - }; - - soc { - #address-cells = <1>; - #size-cells = <1>; - compatible = "simple-bus"; - interrupt-parent = <&intc>; - ranges; - - timer@00a00600 { - compatible = "arm,cortex-a9-twd-timer"; - reg = <0x00a00600 0x20>; - interrupts = <1 13 0xf01>; - }; - - L2: l2-cache@00a02000 { - compatible = "arm,pl310-cache"; - reg = <0x00a02000 0x1000>; - interrupts = <0 92 0x04>; - cache-unified; - cache-level = <2>; - }; - - aips-bus@02000000 { /* AIPS1 */ - compatible = "fsl,aips-bus", "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0x02000000 0x100000>; - ranges; - - spba-bus@02000000 { - compatible = "fsl,spba-bus", "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0x02000000 0x40000>; - ranges; - - spdif@02004000 { - reg = <0x02004000 0x4000>; - interrupts = <0 52 0x04>; - }; - - ecspi@02008000 { /* eCSPI1 */ - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx6q-ecspi", "fsl,imx51-ecspi"; - reg = <0x02008000 0x4000>; - interrupts = <0 31 0x04>; - status = "disabled"; - }; - - ecspi@0200c000 { /* eCSPI2 */ - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx6q-ecspi", "fsl,imx51-ecspi"; - reg = <0x0200c000 0x4000>; - interrupts = <0 32 0x04>; - status = "disabled"; - }; - - ecspi@02010000 { /* eCSPI3 */ - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx6q-ecspi", "fsl,imx51-ecspi"; - reg = <0x02010000 0x4000>; - interrupts = <0 33 0x04>; - status = "disabled"; - }; - - ecspi@02014000 { /* eCSPI4 */ - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx6q-ecspi", "fsl,imx51-ecspi"; - reg = <0x02014000 0x4000>; - interrupts = <0 34 0x04>; - status = "disabled"; - }; - - ecspi@02018000 { /* eCSPI5 */ - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx6q-ecspi", "fsl,imx51-ecspi"; - reg = <0x02018000 0x4000>; - interrupts = <0 35 0x04>; - status = "disabled"; - }; - - uart1: uart@02020000 { - compatible = "fsl,imx6q-uart", "fsl,imx21-uart"; - reg = <0x02020000 0x4000>; - interrupts = <0 26 0x04>; - status = "disabled"; - }; - - esai@02024000 { - reg = <0x02024000 0x4000>; - interrupts = <0 51 0x04>; - }; - - ssi@02028000 { /* SSI1 */ - reg = <0x02028000 0x4000>; - interrupts = <0 46 0x04>; - }; - - ssi@0202c000 { /* SSI2 */ - reg = <0x0202c000 0x4000>; - interrupts = <0 47 0x04>; - }; - - ssi@02030000 { /* SSI3 */ - reg = <0x02030000 0x4000>; - interrupts = <0 48 0x04>; - }; - - asrc@02034000 { - reg = <0x02034000 0x4000>; - interrupts = <0 50 0x04>; - }; - - spba@0203c000 { - reg = <0x0203c000 0x4000>; - }; - }; - - vpu@02040000 { - reg = <0x02040000 0x3c000>; - interrupts = <0 3 0x04 0 12 0x04>; - }; - - aipstz@0207c000 { /* AIPSTZ1 */ - reg = <0x0207c000 0x4000>; - }; - - pwm@02080000 { /* PWM1 */ - reg = <0x02080000 0x4000>; - interrupts = <0 83 0x04>; - }; - - pwm@02084000 { /* PWM2 */ - reg = <0x02084000 0x4000>; - interrupts = <0 84 0x04>; - }; - - pwm@02088000 { /* PWM3 */ - reg = <0x02088000 0x4000>; - interrupts = <0 85 0x04>; - }; - - pwm@0208c000 { /* PWM4 */ - reg = <0x0208c000 0x4000>; - interrupts = <0 86 0x04>; - }; - - flexcan@02090000 { /* CAN1 */ - reg = <0x02090000 0x4000>; - interrupts = <0 110 0x04>; - }; - - flexcan@02094000 { /* CAN2 */ - reg = <0x02094000 0x4000>; - interrupts = <0 111 0x04>; - }; - - gpt@02098000 { - compatible = "fsl,imx6q-gpt"; - reg = <0x02098000 0x4000>; - interrupts = <0 55 0x04>; - }; - - gpio1: gpio@0209c000 { - compatible = "fsl,imx6q-gpio", "fsl,imx31-gpio"; - reg = <0x0209c000 0x4000>; - interrupts = <0 66 0x04 0 67 0x04>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - gpio2: gpio@020a0000 { - compatible = "fsl,imx6q-gpio", "fsl,imx31-gpio"; - reg = <0x020a0000 0x4000>; - interrupts = <0 68 0x04 0 69 0x04>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - gpio3: gpio@020a4000 { - compatible = "fsl,imx6q-gpio", "fsl,imx31-gpio"; - reg = <0x020a4000 0x4000>; - interrupts = <0 70 0x04 0 71 0x04>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - gpio4: gpio@020a8000 { - compatible = "fsl,imx6q-gpio", "fsl,imx31-gpio"; - reg = <0x020a8000 0x4000>; - interrupts = <0 72 0x04 0 73 0x04>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - gpio5: gpio@020ac000 { - compatible = "fsl,imx6q-gpio", "fsl,imx31-gpio"; - reg = <0x020ac000 0x4000>; - interrupts = <0 74 0x04 0 75 0x04>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - gpio6: gpio@020b0000 { - compatible = "fsl,imx6q-gpio", "fsl,imx31-gpio"; - reg = <0x020b0000 0x4000>; - interrupts = <0 76 0x04 0 77 0x04>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - gpio7: gpio@020b4000 { - compatible = "fsl,imx6q-gpio", "fsl,imx31-gpio"; - reg = <0x020b4000 0x4000>; - interrupts = <0 78 0x04 0 79 0x04>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - kpp@020b8000 { - reg = <0x020b8000 0x4000>; - interrupts = <0 82 0x04>; - }; - - wdog@020bc000 { /* WDOG1 */ - compatible = "fsl,imx6q-wdt", "fsl,imx21-wdt"; - reg = <0x020bc000 0x4000>; - interrupts = <0 80 0x04>; - status = "disabled"; - }; - - wdog@020c0000 { /* WDOG2 */ - compatible = "fsl,imx6q-wdt", "fsl,imx21-wdt"; - reg = <0x020c0000 0x4000>; - interrupts = <0 81 0x04>; - status = "disabled"; - }; - - ccm@020c4000 { - compatible = "fsl,imx6q-ccm"; - reg = <0x020c4000 0x4000>; - interrupts = <0 87 0x04 0 88 0x04>; - }; - - anatop@020c8000 { - compatible = "fsl,imx6q-anatop"; - reg = <0x020c8000 0x1000>; - interrupts = <0 49 0x04 0 54 0x04 0 127 0x04>; - }; - - usbphy@020c9000 { /* USBPHY1 */ - reg = <0x020c9000 0x1000>; - interrupts = <0 44 0x04>; - }; - - usbphy@020ca000 { /* USBPHY2 */ - reg = <0x020ca000 0x1000>; - interrupts = <0 45 0x04>; - }; - - snvs@020cc000 { - reg = <0x020cc000 0x4000>; - interrupts = <0 19 0x04 0 20 0x04>; - }; - - epit@020d0000 { /* EPIT1 */ - reg = <0x020d0000 0x4000>; - interrupts = <0 56 0x04>; - }; - - epit@020d4000 { /* EPIT2 */ - reg = <0x020d4000 0x4000>; - interrupts = <0 57 0x04>; - }; - - src@020d8000 { - compatible = "fsl,imx6q-src"; - reg = <0x020d8000 0x4000>; - interrupts = <0 91 0x04 0 96 0x04>; - }; - - gpc@020dc000 { - compatible = "fsl,imx6q-gpc"; - reg = <0x020dc000 0x4000>; - interrupts = <0 89 0x04 0 90 0x04>; - }; - - iomuxc@020e0000 { - reg = <0x020e0000 0x4000>; - }; - - dcic@020e4000 { /* DCIC1 */ - reg = <0x020e4000 0x4000>; - interrupts = <0 124 0x04>; - }; - - dcic@020e8000 { /* DCIC2 */ - reg = <0x020e8000 0x4000>; - interrupts = <0 125 0x04>; - }; - - sdma@020ec000 { - compatible = "fsl,imx6q-sdma", "fsl,imx35-sdma"; - reg = <0x020ec000 0x4000>; - interrupts = <0 2 0x04>; - }; - }; - - aips-bus@02100000 { /* AIPS2 */ - compatible = "fsl,aips-bus", "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0x02100000 0x100000>; - ranges; - - caam@02100000 { - reg = <0x02100000 0x40000>; - interrupts = <0 105 0x04 0 106 0x04>; - }; - - aipstz@0217c000 { /* AIPSTZ2 */ - reg = <0x0217c000 0x4000>; - }; - - enet@02188000 { - compatible = "fsl,imx6q-fec"; - reg = <0x02188000 0x4000>; - interrupts = <0 118 0x04 0 119 0x04>; - status = "disabled"; - }; - - mlb@0218c000 { - reg = <0x0218c000 0x4000>; - interrupts = <0 53 0x04 0 117 0x04 0 126 0x04>; - }; - - usdhc@02190000 { /* uSDHC1 */ - compatible = "fsl,imx6q-usdhc"; - reg = <0x02190000 0x4000>; - interrupts = <0 22 0x04>; - status = "disabled"; - }; - - usdhc@02194000 { /* uSDHC2 */ - compatible = "fsl,imx6q-usdhc"; - reg = <0x02194000 0x4000>; - interrupts = <0 23 0x04>; - status = "disabled"; - }; - - usdhc@02198000 { /* uSDHC3 */ - compatible = "fsl,imx6q-usdhc"; - reg = <0x02198000 0x4000>; - interrupts = <0 24 0x04>; - status = "disabled"; - }; - - usdhc@0219c000 { /* uSDHC4 */ - compatible = "fsl,imx6q-usdhc"; - reg = <0x0219c000 0x4000>; - interrupts = <0 25 0x04>; - status = "disabled"; - }; - - i2c@021a0000 { /* I2C1 */ - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx6q-i2c", "fsl,imx1-i2c"; - reg = <0x021a0000 0x4000>; - interrupts = <0 36 0x04>; - status = "disabled"; - }; - - i2c@021a4000 { /* I2C2 */ - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx6q-i2c", "fsl,imx1-i2c"; - reg = <0x021a4000 0x4000>; - interrupts = <0 37 0x04>; - status = "disabled"; - }; - - i2c@021a8000 { /* I2C3 */ - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx6q-i2c", "fsl,imx1-i2c"; - reg = <0x021a8000 0x4000>; - interrupts = <0 38 0x04>; - status = "disabled"; - }; - - romcp@021ac000 { - reg = <0x021ac000 0x4000>; - }; - - mmdc@021b0000 { /* MMDC0 */ - compatible = "fsl,imx6q-mmdc"; - reg = <0x021b0000 0x4000>; - }; - - mmdc@021b4000 { /* MMDC1 */ - reg = <0x021b4000 0x4000>; - }; - - weim@021b8000 { - reg = <0x021b8000 0x4000>; - interrupts = <0 14 0x04>; - }; - - ocotp@021bc000 { - reg = <0x021bc000 0x4000>; - }; - - ocotp@021c0000 { - reg = <0x021c0000 0x4000>; - interrupts = <0 21 0x04>; - }; - - tzasc@021d0000 { /* TZASC1 */ - reg = <0x021d0000 0x4000>; - interrupts = <0 108 0x04>; - }; - - tzasc@021d4000 { /* TZASC2 */ - reg = <0x021d4000 0x4000>; - interrupts = <0 109 0x04>; - }; - - audmux@021d8000 { - reg = <0x021d8000 0x4000>; - }; - - mipi@021dc000 { /* MIPI-CSI */ - reg = <0x021dc000 0x4000>; - }; - - mipi@021e0000 { /* MIPI-DSI */ - reg = <0x021e0000 0x4000>; - }; - - vdoa@021e4000 { - reg = <0x021e4000 0x4000>; - interrupts = <0 18 0x04>; - }; - - uart2: uart@021e8000 { - compatible = "fsl,imx6q-uart", "fsl,imx21-uart"; - reg = <0x021e8000 0x4000>; - interrupts = <0 27 0x04>; - status = "disabled"; - }; - - uart3: uart@021ec000 { - compatible = "fsl,imx6q-uart", "fsl,imx21-uart"; - reg = <0x021ec000 0x4000>; - interrupts = <0 28 0x04>; - status = "disabled"; - }; - - uart4: uart@021f0000 { - compatible = "fsl,imx6q-uart", "fsl,imx21-uart"; - reg = <0x021f0000 0x4000>; - interrupts = <0 29 0x04>; - status = "disabled"; - }; - - uart5: uart@021f4000 { - compatible = "fsl,imx6q-uart", "fsl,imx21-uart"; - reg = <0x021f4000 0x4000>; - interrupts = <0 30 0x04>; - status = "disabled"; - }; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/kirkwood-dreamplug.dts b/kernel/arch/arm/boot/dts/m7350-un-v3/kirkwood-dreamplug.dts deleted file mode 100644 index a5376b842..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/kirkwood-dreamplug.dts +++ /dev/null @@ -1,24 +0,0 @@ -/dts-v1/; - -/include/ "kirkwood.dtsi" - -/ { - model = "Globalscale Technologies Dreamplug"; - compatible = "globalscale,dreamplug-003-ds2001", "globalscale,dreamplug", "mrvl,kirkwood-88f6281", "mrvl,kirkwood"; - - memory { - device_type = "memory"; - reg = <0x00000000 0x20000000>; - }; - - chosen { - bootargs = "console=ttyS0,115200n8 earlyprintk"; - }; - - ocp@f1000000 { - serial@12000 { - clock-frequency = <200000000>; - status = "ok"; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/kirkwood.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v3/kirkwood.dtsi deleted file mode 100644 index 3474ef890..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/kirkwood.dtsi +++ /dev/null @@ -1,36 +0,0 @@ -/include/ "skeleton.dtsi" - -/ { - compatible = "mrvl,kirkwood"; - - ocp@f1000000 { - compatible = "simple-bus"; - ranges = <0 0xf1000000 0x1000000>; - #address-cells = <1>; - #size-cells = <1>; - - serial@12000 { - compatible = "ns16550a"; - reg = <0x12000 0x100>; - reg-shift = <2>; - interrupts = <33>; - /* set clock-frequency in board dts */ - status = "disabled"; - }; - - serial@12100 { - compatible = "ns16550a"; - reg = <0x12100 0x100>; - reg-shift = <2>; - interrupts = <34>; - /* set clock-frequency in board dts */ - status = "disabled"; - }; - - rtc@10300 { - compatible = "mrvl,kirkwood-rtc", "mrvl,orion-rtc"; - reg = <0x10300 0x20>; - interrupts = <53>; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/mpq8092-iommu.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v3/mpq8092-iommu.dtsi deleted file mode 100644 index 56369dce3..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/mpq8092-iommu.dtsi +++ /dev/null @@ -1,40 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/include/ "msm-iommu-v1.dtsi" - -&jpeg_iommu { - status = "ok"; - vdd-supply = <&gdsc_jpeg>; -}; - -&mdp_iommu { - status = "ok"; - vdd-supply = <&gdsc_mdss>; -}; - -&venus_iommu { - status = "ok"; - vdd-supply = <&gdsc_venus>; -}; - -&kgsl_iommu { - status = "ok"; - qcom,needs-alt-core-clk; - vdd-supply = <&gdsc_oxili_cx>; - qcom,alt-vdd-supply = <&gdsc_oxili_gx>; -}; - -&vfe_iommu { - status = "ok"; - vdd-supply = <&gdsc_vfe>; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/mpq8092-ion.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v3/mpq8092-ion.dtsi deleted file mode 100644 index f9f59850a..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/mpq8092-ion.dtsi +++ /dev/null @@ -1,33 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&soc { - qcom,ion { - compatible = "qcom,msm-ion"; - #address-cells = <1>; - #size-cells = <0>; - - qcom,ion-heap@30 { /* SYSTEM HEAP */ - reg = <30>; - }; - - qcom,ion-heap@21 { /* SYSTEM CONTIG HEAP */ - reg = <21>; - }; - - qcom,ion-heap@25 { /* IOMMU HEAP */ - reg = <25>; - }; - - }; -}; - diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/mpq8092-regulator.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v3/mpq8092-regulator.dtsi deleted file mode 100644 index 63896e922..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/mpq8092-regulator.dtsi +++ /dev/null @@ -1,324 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - - -/* QPNP controlled regulators: */ - -&spmi_bus { - - qcom,pma8084@1 { - pma8084_s1: regulator@1400 { - regulator-min-microvolt = <900000>; - regulator-max-microvolt = <900000>; - qcom,enable-time = <500>; - qcom,pull-down-enable = <1>; - qcom,system-load = <100000>; - status = "okay"; - }; - - pma8084_s3: regulator@1a00 { - regulator-min-microvolt = <1350000>; - regulator-max-microvolt = <1350000>; - qcom,enable-time = <500>; - qcom,pull-down-enable = <1>; - regulator-always-on; - qcom,system-load = <100000>; - status = "okay"; - }; - - pma8084_s4: regulator@1d00 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,enable-time = <500>; - qcom,pull-down-enable = <1>; - regulator-always-on; - qcom,system-load = <100000>; - status = "okay"; - }; - - pma8084_s5: regulator@2000 { - regulator-min-microvolt = <2150000>; - regulator-max-microvolt = <2150000>; - qcom,enable-time = <500>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_s6: regulator@2300 { - regulator-min-microvolt = <900000>; - regulator-max-microvolt = <900000>; - qcom,enable-time = <500>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_s8: regulator@2900 { - regulator-min-microvolt = <1050000>; - regulator-max-microvolt = <1050000>; - qcom,enable-time = <500>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_s12: regulator@3500 { - regulator-min-microvolt = <900000>; - regulator-max-microvolt = <900000>; - qcom,enable-time = <500>; - qcom,pull-down-enable = <1>; - regulator-always-on; - qcom,system-load = <100000>; - status = "okay"; - }; - - pma8084_l1: regulator@4000 { - parent-supply = <&pma8084_s3>; - regulator-min-microvolt = <1225000>; - regulator-max-microvolt = <1225000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - regulator-always-on; - qcom,system-load = <10000>; - status = "okay"; - }; - - pma8084_l2: regulator@4100 { - parent-supply = <&pma8084_s3>; - regulator-min-microvolt = <1000000>; - regulator-max-microvolt = <1000000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l3: regulator@4200 { - parent-supply = <&pma8084_s3>; - regulator-min-microvolt = <1200000>; - regulator-max-microvolt = <1200000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l4: regulator@4300 { - parent-supply = <&pma8084_s3>; - regulator-min-microvolt = <1300000>; - regulator-max-microvolt = <1300000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l6: regulator@4500 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l9: regulator@4800 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <2950000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l10: regulator@4900 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l11: regulator@4a00 { - parent-supply = <&pma8084_s3>; - regulator-min-microvolt = <1200000>; - regulator-max-microvolt = <1200000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l12: regulator@4b00 { - regulator-min-microvolt = <2500000>; - regulator-max-microvolt = <2500000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l13: regulator@4c00 { - regulator-min-microvolt = <2950000>; - regulator-max-microvolt = <2950000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - regulator-always-on; - status = "okay"; - }; - - pma8084_l14: regulator@4d00 { - regulator-min-microvolt = <950000>; - regulator-max-microvolt = <950000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l15: regulator@4e00 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l16: regulator@4f00 { - parent-supply = <&pma8084_s5>; - regulator-min-microvolt = <750000>; - regulator-max-microvolt = <750000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l17: regulator@5000 { - regulator-min-microvolt = <3150000>; - regulator-max-microvolt = <3150000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - qcom,system-load = <100000>; - status = "okay"; - }; - - pma8084_l18: regulator@5100 { - regulator-min-microvolt = <2850000>; - regulator-max-microvolt = <2850000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l19: regulator@5200 { - parent-supply = <&pma8084_s5>; - regulator-min-microvolt = <1500000>; - regulator-max-microvolt = <1500000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l20: regulator@5300 { - regulator-min-microvolt = <2950000>; - regulator-max-microvolt = <2950000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - regulator-always-on; - status = "okay"; - }; - - pma8084_l21: regulator@5400 { - regulator-min-microvolt = <2950000>; - regulator-max-microvolt = <2950000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - regulator-always-on; - status = "okay"; - }; - - pma8084_l22: regulator@5500 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - regulator-always-on; - status = "okay"; - }; - - pma8084_l23: regulator@5600 { - regulator-min-microvolt = <3000000>; - regulator-max-microvolt = <3000000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l24: regulator@5700 { - regulator-min-microvolt = <3075000>; - regulator-max-microvolt = <3075000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - regulator-always-on; - status = "okay"; - }; - - pma8084_l25: regulator@5800 { - parent-supply = <&pma8084_s5>; - regulator-min-microvolt = <2000000>; - regulator-max-microvolt = <2000000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - pma8084_l26: regulator@5900 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - pma8084_l27: regulator@5A00 { - parent-supply = <&pma8084_s3>; - regulator-min-microvolt = <1000000>; - regulator-max-microvolt = <1000000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_lvs1: regulator@8000 { - parent-supply = <&pma8084_s4>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_lvs2: regulator@8100 { - parent-supply = <&pma8084_s4>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_lvs3: regulator@8200 { - parent-supply = <&pma8084_s4>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_lvs4: regulator@8300 { - parent-supply = <&pma8084_s4>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_mvs1: regulator@8400 { - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - }; -}; - diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/mpq8092-rumi.dts b/kernel/arch/arm/boot/dts/m7350-un-v3/mpq8092-rumi.dts deleted file mode 100644 index 1abaf5596..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/mpq8092-rumi.dts +++ /dev/null @@ -1,28 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; - -/include/ "mpq8092.dtsi" -/include/ "mpq8092-rumi.dtsi" - -/ { - model = "Qualcomm MPQ8092 RUMI"; - compatible = "qcom,mpq8092-rumi", "qcom,mpq8092", "qcom,rumi"; - qcom,msm-id = <146 16 0>; -}; - -&soc { - serial@f9922000 { - status = "ok"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/mpq8092-rumi.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v3/mpq8092-rumi.dtsi deleted file mode 100644 index 201699882..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/mpq8092-rumi.dtsi +++ /dev/null @@ -1,134 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -&soc { - timer { - clock-frequency = <5000000>; - }; - - timer@f9020000 { - clock-frequency = <5000000>; - }; - - usb@f9a55000 { - status = "disable"; - }; - - qcom,sdcc@f9824000 { - status = "disabled"; - qcom,clk-rates = <400000 19200000>; - }; - - qcom,sdcc@f98a4000 { - status = "disabled"; - qcom,clk-rates = <400000 19200000>; - }; - - qcom,sps@f998000 { - status = "disable"; - }; - - spi@f9924000 { - status = "disable"; - }; - - spi@f9923000 { - compatible = "qcom,spi-qup-v2"; - reg = <0xf9923000 0x1000>; - interrupts = <0 95 0>; - spi-max-frequency = <24000000>; - #address-cells = <1>; - #size-cells = <0>; - gpios = <&msmgpio 3 0>, /* CLK */ - <&msmgpio 1 0>, /* MISO */ - <&msmgpio 0 0>; /* MOSI */ - cs-gpios = <&msmgpio 9 0>; - - ethernet-switch@2 { - compatible = "simtec,ks8851"; - reg = <2>; - interrupt-parent = <&msmgpio>; - interrupts = <90 0>; - spi-max-frequency = <5000000>; - }; - }; - - i2c@f9966000 { - status = "disable"; - }; - - i2c@f9967000 { - status = "disable"; - cell-index = <0>; - compatible = "qcom,i2c-qup"; - reg = <0Xf9967000 0x1000>; - reg-names = "qup_phys_addr"; - interrupts = <0 105 0>; - interrupt-names = "qup_err_intr"; - qcom,i2c-bus-freq = <100000>; - qcom,i2c-src-freq = <19200000>; - gpios = <&msmgpio 83 0>,/* DAT */ - <&msmgpio 84 0>;/* CLK */ - }; - - slim@fe12f000 { - status = "disable"; - }; - - qcom,mdss_dsi@fd922800 { - status = "disable"; - }; - - qcom,spmi@fc4c0000 { - status = "disable"; - }; - - qcom,ssusb@F9200000 { - status = "disable"; - }; - - qcom,lpass@fe200000 { - status = "disable"; - }; - - qcom,pronto@fb21b000 { - status = "disable"; - }; - - qcom,mss@fc880000 { - status = "disable"; - }; - - qcom,kgsl-3d0@fdb00000 { - status = "disabled"; - }; -}; - -&gdsc_venus { - status = "disabled"; -}; - -&gdsc_jpeg { - status = "disabled"; -}; - -&gdsc_oxili_gx { - status = "disabled"; -}; - -&gdsc_oxili_cx { - status = "disabled"; -}; - -&gdsc_usb_hsic { - status = "disabled"; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/mpq8092-sim.dts b/kernel/arch/arm/boot/dts/m7350-un-v3/mpq8092-sim.dts deleted file mode 100644 index 676ef3b17..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/mpq8092-sim.dts +++ /dev/null @@ -1,125 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/dts-v1/; - -/include/ "mpq8092.dtsi" - -/ { - model = "Qualcomm MPQ8092 Simulator"; - compatible = "qcom,mpq8092-sim", "qcom,mpq8092", "qcom,sim"; - qcom,msm-id = <126 16 0>; -}; - -&soc { - serial@f991f000 { - status = "ok"; - }; - - serial@f995e000 { - status = "ok"; - }; -}; - -&pma8084_gpios { - gpio@c000 { /* GPIO 1 */ - }; - - gpio@c100 { /* GPIO 2 */ - }; - - gpio@c200 { /* GPIO 3 */ - }; - - gpio@c300 { /* GPIO 4 */ - }; - - gpio@c400 { /* GPIO 5 */ - }; - - gpio@c500 { /* GPIO 6 */ - }; - - gpio@c600 { /* GPIO 7 */ - }; - - gpio@c700 { /* GPIO 8 */ - }; - - gpio@c800 { /* GPIO 9 */ - }; - - gpio@c900 { /* GPIO 10 */ - }; - - gpio@ca00 { /* GPIO 11 */ - }; - - gpio@cb00 { /* GPIO 12 */ - }; - - gpio@cc00 { /* GPIO 13 */ - }; - - gpio@cd00 { /* GPIO 14 */ - }; - - gpio@ce00 { /* GPIO 15 */ - }; - - gpio@cf00 { /* GPIO 16 */ - }; - - gpio@d000 { /* GPIO 17 */ - }; - - gpio@d100 { /* GPIO 18 */ - }; - - gpio@d200 { /* GPIO 19 */ - }; - - gpio@d300 { /* GPIO 20 */ - }; - - gpio@d400 { /* GPIO 21 */ - }; - - gpio@d500 { /* GPIO 22 */ - }; -}; - -&pma8084_mpps { - mpp@a000 { /* MPP 1 */ - }; - - mpp@a100 { /* MPP 2 */ - }; - - mpp@a200 { /* MPP 3 */ - }; - - mpp@a300 { /* MPP 4 */ - }; - - mpp@a400 { /* MPP5 */ - }; - - mpp@a500 { /* MPP 6 */ - }; - - mpp@a600 { /* MPP 7 */ - }; - - mpp@a700 { /* MPP 8 */ - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/mpq8092.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v3/mpq8092.dtsi deleted file mode 100644 index e8674a055..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/mpq8092.dtsi +++ /dev/null @@ -1,240 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/include/ "skeleton.dtsi" - -/ { - model = "Qualcomm MPQ8092"; - compatible = "qcom,mpq8092"; - interrupt-parent = <&intc>; - - soc: soc { }; -}; - -/include/ "mpq8092-iommu.dtsi" -/include/ "msm-gdsc.dtsi" -/include/ "mpq8092-ion.dtsi" - -&soc { - #address-cells = <1>; - #size-cells = <1>; - ranges; - - intc: interrupt-controller@f9000000 { - compatible = "qcom,msm-qgic2"; - interrupt-controller; - #interrupt-cells = <3>; - reg = <0xf9000000 0x1000>, - <0xf9002000 0x1000>; - }; - - msmgpio: gpio@fd510000 { - compatible = "qcom,msm-gpio"; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - reg = <0xfd510000 0x4000>; - ngpio = <146>; - interrupts = <0 208 0>; - qcom,direct-connect-irqs = <8>; - }; - - timer { - compatible = "arm,armv7-timer"; - interrupts = <1 2 0>, <1 3 0>; - clock-frequency = <19200000>; - }; - - 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 8 0x4>, - <0 7 0x4>; - reg = <0xf9021000 0x1000>, - <0xf9022000 0x1000>; - }; - - frame@f9023000 { - frame-number = <1>; - interrupts = <0 9 0x4>; - reg = <0xf9023000 0x1000>; - status = "disabled"; - }; - - frame@f9024000 { - frame-number = <2>; - interrupts = <0 10 0x4>; - reg = <0xf9024000 0x1000>; - status = "disabled"; - }; - - frame@f9025000 { - frame-number = <3>; - interrupts = <0 11 0x4>; - reg = <0xf9025000 0x1000>; - status = "disabled"; - }; - - frame@f9026000 { - frame-number = <4>; - interrupts = <0 12 0x4>; - reg = <0xf9026000 0x1000>; - status = "disabled"; - }; - - frame@f9027000 { - frame-number = <5>; - interrupts = <0 13 0x4>; - reg = <0xf9027000 0x1000>; - status = "disabled"; - }; - - frame@f9028000 { - frame-number = <6>; - interrupts = <0 14 0x4>; - reg = <0xf9028000 0x1000>; - status = "disabled"; - }; - }; - - serial@f991f000 { - compatible = "qcom,msm-lsuart-v14"; - reg = <0xf991f000 0x1000>; - interrupts = <0 109 0>; - status = "disabled"; - }; - - serial@f9922000 { - compatible = "qcom,msm-lsuart-v14"; - reg = <0xf9922000 0x1000>; - interrupts = <0 112 0>; - status = "disabled"; - }; - - serial@f995e000 { - compatible = "qcom,msm-lsuart-v14"; - reg = <0xf995e000 0x1000>; - interrupts = <0 114 0>; - status = "disabled"; - }; - - qcom,msm-imem@fe805000 { - compatible = "qcom,msm-imem"; - reg = <0xfe805000 0x1000>; /* Address and size of IMEM */ - }; - - spmi_bus: qcom,spmi@fc4c0000 { - cell-index = <0>; - 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,not-wakeup; - qcom,pmic-arb-ee = <0>; - qcom,pmic-arb-channel = <0>; - }; - - sdcc1: qcom,sdcc@f9824000 { - cell-index = <1>; /* SDC1 eMMC slot */ - compatible = "qcom,msm-sdcc"; - reg = <0xf9824000 0x800>; - reg-names = "core_mem"; - interrupts = <0 123 0>; - interrupt-names = "core_irq"; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - qcom,sup-voltages = <2950 2950>; - qcom,bus-width = <8>; - qcom,nonremovable; - qcom,bus-speed-mode = "HS200_1p8v", "DDR_1p8v"; - }; - - sdcc2: qcom,sdcc@f98a4000 { - cell-index = <2>; /* SDC2 SD card slot */ - compatible = "qcom,msm-sdcc"; - reg = <0xf98a4000 0x800>; - reg-names = "core_mem"; - interrupts = <0 125 0>; - interrupt-names = "core_irq"; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - qcom,sup-voltages = <2950 2950>; - qcom,bus-width = <4>; - qcom,xpc; - qcom,bus-speed-mode = "SDR12", "SDR25", "SDR50", "DDR50", "SDR104"; - qcom,current-limit = <800>; - }; - - sata: sata@fc580000 { - compatible = "qcom,msm-ahci"; - reg = <0xfc580000 0x17c>; - interrupts = <0 243 0>; - }; - - qcom,wdt@f9017000 { - compatible = "qcom,msm-watchdog"; - reg = <0xf9017000 0x1000>; - interrupts = <0 3 0>, <0 4 0>; - qcom,bark-time = <11000>; - qcom,pet-time = <10000>; - qcom,ipi-ping; - }; -}; - -&gdsc_venus { - status = "ok"; -}; - -&gdsc_mdss { - status = "ok"; -}; - -&gdsc_jpeg { - status = "ok"; -}; - -&gdsc_oxili_gx { - status = "ok"; -}; - -&gdsc_oxili_cx { - status = "ok"; -}; - -&gdsc_usb_hsic { - status = "ok"; -}; - -/include/ "msm-pma8084.dtsi" -/include/ "mpq8092-regulator.dtsi" diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/msm-gdsc.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v3/msm-gdsc.dtsi deleted file mode 100644 index 78234e858..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/msm-gdsc.dtsi +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Copyright (c) 2012-2013, 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. - */ - -&soc { - gdsc_venus: qcom,gdsc@fd8c1024 { - compatible = "qcom,gdsc"; - regulator-name = "gdsc_venus"; - reg = <0xfd8c1024 0x4>; - status = "disabled"; - }; - - gdsc_mdss: qcom,gdsc@fd8c2304 { - compatible = "qcom,gdsc"; - regulator-name = "gdsc_mdss"; - reg = <0xfd8c2304 0x4>; - status = "disabled"; - }; - - gdsc_jpeg: qcom,gdsc@fd8c35a4 { - compatible = "qcom,gdsc"; - regulator-name = "gdsc_jpeg"; - reg = <0xfd8c35a4 0x4>; - status = "disabled"; - }; - - gdsc_vfe: qcom,gdsc@fd8c36a4 { - compatible = "qcom,gdsc"; - regulator-name = "gdsc_vfe"; - reg = <0xfd8c36a4 0x4>; - status = "disabled"; - }; - - gdsc_oxili_gx: qcom,gdsc@fd8c4024 { - compatible = "qcom,gdsc"; - regulator-name = "gdsc_oxili_gx"; - reg = <0xfd8c4024 0x4>; - status = "disabled"; - }; - - gdsc_oxili_cx: qcom,gdsc@fd8c4034 { - compatible = "qcom,gdsc"; - regulator-name = "gdsc_oxili_cx"; - reg = <0xfd8c4034 0x4>; - status = "disabled"; - }; - - gdsc_usb_hsic: qcom,gdsc@fc400404 { - compatible = "qcom,gdsc"; - regulator-name = "gdsc_usb_hsic"; - reg = <0xfc400404 0x4>; - status = "disabled"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/msm-iommu-v0.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v3/msm-iommu-v0.dtsi deleted file mode 100644 index 2cfc5cf07..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/msm-iommu-v0.dtsi +++ /dev/null @@ -1,333 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&soc { - lpass_iommu: qcom,iommu@fd000000 { - compatible = "qcom,msm-smmu-v0"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - reg = <0xfd000000 0x10000>; - interrupts = <0 248 0>; - qcom,glb-offset = <0xF000>; - label = "lpass_iommu"; - qcom,iommu-pmu-ngroups = <1>; - qcom,iommu-pmu-ncounters = <4>; - qcom,iommu-pmu-event-classes = <0x08 - 0x09 - 0x10 - 0x12 - 0x80>; - qcom,msm-bus,name = "lpass_ebi"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,active-only; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <11 512 0 0>, - <11 512 0 1000>; - status = "disabled"; - - lpass_q6_fw: qcom,iommu-ctx@fd000000 { - compatible = "qcom,msm-smmu-v0-ctx"; - reg = <0xfd000000 0x1000>; - interrupts = <0 250 0>; - qcom,iommu-ctx-mids = <0 15>; - label = "q6_fw"; - }; - - lpass_audio_shared: qcom,iommu-ctx@fd001000 { - compatible = "qcom,msm-smmu-v0-ctx"; - reg = <0xfd001000 0x1000>; - interrupts = <0 250 0>; - qcom,iommu-ctx-mids = <1>; - label = "audio_shared"; - }; - - lpass_video_shared: qcom,iommu-ctx@fd002000 { - compatible = "qcom,msm-smmu-v0-ctx"; - reg = <0xfd002000 0x1000>; - interrupts = <0 250 0>; - qcom,iommu-ctx-mids = <2>; - label = "video_shared"; - }; - - lpass_q6_spare: qcom,iommu-ctx@fd003000 { - compatible = "qcom,msm-smmu-v0-ctx"; - reg = <0xfd003000 0x1000>; - interrupts = <0 250 0>; - qcom,iommu-ctx-mids = <3 4 5 6 7 8 9 10 11 12 13 14>; - label = "q6_spare"; - }; - }; - - copss_iommu: qcom,iommu@fd010000 { - compatible = "qcom,msm-smmu-v0"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - reg = <0xfd010000 0x10000>; - interrupts = <0 252 0>; - qcom,glb-offset = <0xF000>; - label = "copss_iommu"; - qcom,iommu-pmu-ngroups = <1>; - qcom,iommu-pmu-ncounters = <4>; - qcom,iommu-pmu-event-classes = <0x08 - 0x09 - 0x10 - 0x12 - 0x80>; - qcom,msm-bus,name = "copss_ebi"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,active-only; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <88 512 0 0>, - <88 512 0 1000>; - - status = "disabled"; - - qcom,iommu-ctx@fd010000 { - compatible = "qcom,msm-smmu-v0-ctx"; - reg = <0xfd010000 0x1000>; - interrupts = <0 254 0>; - qcom,iommu-ctx-mids = <0>; - label = "copss_0"; - }; - - qcom,iommu-ctx@fd011000 { - compatible = "qcom,msm-smmu-v0-ctx"; - reg = <0xfd011000 0x1000>; - interrupts = <0 254 0>; - qcom,iommu-ctx-mids = <1>; - label = "copss_1"; - }; - - qcom,iommu-ctx@fd012000 { - compatible = "qcom,msm-smmu-v0-ctx"; - reg = <0xfd012000 0x1000>; - interrupts = <0 254 0>; - qcom,iommu-ctx-mids = <2>; - label = "copss_2"; - }; - - qcom,iommu-ctx@fd013000 { - compatible = "qcom,msm-smmu-v0-ctx"; - reg = <0xfd013000 0x1000>; - interrupts = <0 254 0>; - qcom,iommu-ctx-mids = <3>; - label = "copss_3"; - }; - - qcom,iommu-ctx@fd014000 { - compatible = "qcom,msm-smmu-v0-ctx"; - reg = <0xfd014000 0x1000>; - interrupts = <0 254 0>; - qcom,iommu-ctx-mids = <4>; - label = "copss_4"; - }; - - qcom,iommu-ctx@fd015000 { - compatible = "qcom,msm-smmu-v0-ctx"; - reg = <0xfd015000 0x1000>; - interrupts = <0 254 0>; - qcom,iommu-ctx-mids = <5>; - label = "copss_5"; - }; - - qcom,iommu-ctx@fd016000 { - compatible = "qcom,msm-smmu-v0-ctx"; - reg = <0xfd016000 0x1000>; - interrupts = <0 254 0>; - qcom,iommu-ctx-mids = <6>; - label = "copss_6"; - }; - - qcom,iommu-ctx@fd017000 { - compatible = "qcom,msm-smmu-v0-ctx"; - reg = <0xfd017000 0x1000>; - interrupts = <0 254 0>; - qcom,iommu-ctx-mids = <7>; - label = "copss_7"; - }; - }; - - mdpe_iommu: qcom,iommu@fd860000 { - compatible = "qcom,msm-smmu-v0"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - reg = <0xfd860000 0x10000>; - interrupts = <0 245 0>; - qcom,glb-offset = <0xF000>; - label = "mdpe_iommu"; - qcom,iommu-pmu-ngroups = <1>; - qcom,iommu-pmu-ncounters = <4>; - qcom,iommu-pmu-event-classes = <0x08 - 0x09 - 0x10 - 0x12 - 0x80>; - qcom,msm-bus,name = "mdpe_ebi"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,active-only; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <92 512 0 0>, - <92 512 0 1000>; - status = "disabled"; - - qcom,iommu-ctx@fd860000 { - compatible = "qcom,msm-smmu-v0-ctx"; - reg = <0xfd860000 0x1000>; - interrupts = <0 247 0>; - qcom,iommu-ctx-mids = <0 1 3>; - label = "mdpe_0"; - }; - - qcom,iommu-ctx@fd861000 { - compatible = "qcom,msm-smmu-v0-ctx"; - reg = <0xfd861000 0x1000>; - interrupts = <0 247 0>; - qcom,iommu-ctx-mids = <2>; - label = "mdpe_1"; - }; - }; - - mdps_iommu: qcom,iommu@fd870000 { - compatible = "qcom,msm-smmu-v0"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - reg = <0xfd870000 0x10000>; - interrupts = <0 73 0>; - qcom,glb-offset = <0xF000>; - label = "mdps_iommu"; - qcom,iommu-pmu-ngroups = <1>; - qcom,iommu-pmu-ncounters = <4>; - qcom,iommu-pmu-event-classes = <0x08 - 0x09 - 0x10 - 0x12 - 0x80>; - qcom,msm-bus,name = "mdps_ebi"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,active-only; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <22 512 0 0>, - <22 512 0 1000>; - status = "disabled"; - - qcom,iommu-ctx@fd870000 { - compatible = "qcom,msm-smmu-v0-ctx"; - reg = <0xfd870000 0x1000>; - interrupts = <0 47 0>; - qcom,iommu-ctx-mids = <0>; - label = "mdps_0"; - }; - - qcom,iommu-ctx@fd871000 { - compatible = "qcom,msm-smmu-v0-ctx"; - reg = <0xfd871000 0x1000>; - interrupts = <0 47 0>; - qcom,iommu-ctx-mids = <1>; - label = "mdps_1"; - }; - }; - - gfx_iommu: qcom,iommu@fd880000 { - compatible = "qcom,msm-smmu-v0"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - reg = <0xfd880000 0x10000>; - interrupts = <0 38 0>; - qcom,glb-offset = <0xF000>; - qcom,needs-alt-core-clk; - label = "gfx_iommu"; - qcom,iommu-pmu-ngroups = <1>; - qcom,iommu-pmu-ncounters = <4>; - qcom,iommu-pmu-event-classes = <0x08 - 0x09 - 0x10 - 0x12 - 0x80>; - qcom,msm-bus,name = "gfx_ebi"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,active-only; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <26 512 0 0>, - <26 512 0 1000>; - status = "disabled"; - - qcom,iommu-ctx@fd880000 { - compatible = "qcom,msm-smmu-v0-ctx"; - reg = <0xfd880000 0x1000>; - interrupts = <0 241 0>; - qcom,iommu-ctx-mids = <0 1 2 3 4 5 6 7 8 9 10 11 12 13 - 14 15>; - label = "gfx3d_user"; - }; - - qcom,iommu-ctx@fd881000 { - compatible = "qcom,msm-smmu-v0-ctx"; - reg = <0xfd881000 0x1000>; - interrupts = <0 241 0>; - qcom,iommu-ctx-mids = <16 17 18 19 20 21 22 23 24 25 - 26 27 28 29 30 31>; - label = "gfx3d_priv"; - }; - - qcom,iommu-ctx@fd882000 { - compatible = "qcom,msm-smmu-v0-ctx"; - reg = <0xfd882000 0x1000>; - interrupts = <0 241 0>; - qcom,iommu-ctx-mids = <>; - label = "gfx3d_spare"; - }; - }; - - vfe_iommu: qcom,iommu@fd890000 { - compatible = "qcom,msm-smmu-v0"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - reg = <0xfd890000 0x10000>; - interrupts = <0 62 0>; - qcom,glb-offset = <0xF000>; - label = "vfe_iommu"; - qcom,iommu-pmu-ngroups = <1>; - qcom,iommu-pmu-ncounters = <4>; - qcom,iommu-pmu-event-classes = <0x08 - 0x09 - 0x10 - 0x12 - 0x80>; - qcom,msm-bus,name = "vfe_ebi"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,active-only; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <29 512 0 0>, - <29 512 0 1000>; - status = "disabled"; - - qcom,iommu-ctx@fd890000 { - compatible = "qcom,msm-smmu-v0-ctx"; - reg = <0xfd890000 0x1000>; - interrupts = <0 65 0>; - qcom,iommu-ctx-mids = <0 1 2 3 4 5 6 7 8 9>; - label = "vfe0"; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/msm-iommu-v1.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v3/msm-iommu-v1.dtsi deleted file mode 100644 index 44920778e..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/msm-iommu-v1.dtsi +++ /dev/null @@ -1,514 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&soc { - jpeg_iommu: qcom,iommu@fda64000 { - compatible = "qcom,msm-smmu-v1"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - reg = <0xfda64000 0x10000>; - reg-names = "iommu_base"; - interrupts = <0 67 0>; - qcom,needs-alt-core-clk; - label = "jpeg_iommu"; - status = "disabled"; - qcom,msm-bus,name = "jpeg_ebi"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,active-only; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <62 512 0 0>, - <62 512 0 1000>; - - qcom,iommu-pmu-ngroups = <1>; - qcom,iommu-pmu-ncounters = <8>; - qcom,iommu-pmu-event-classes = <0x00 - 0x01 - 0x08 - 0x09 - 0x0A - 0x10 - 0x11 - 0x12 - 0x80 - 0x81 - 0x82 - 0x83 - 0x90 - 0x91 - 0x92 - 0xb0 - 0xb1>; - - qcom,iommu-bfb-regs = <0x204c - 0x2050 - 0x2514 - 0x2540 - 0x256c - 0x2314 - 0x2394 - 0x2414 - 0x20ac - 0x215c - 0x220c - 0x2008 - 0x200c - 0x2010 - 0x2014>; - - qcom,iommu-bfb-data = <0x0000ffff - 0x0 - 0x4 - 0x4 - 0x0 - 0x0 - 0x10 - 0x50 - 0x0 - 0x10 - 0x20 - 0x0 - 0x0 - 0x0 - 0x0>; - - qcom,iommu-ctx@fda6c000 { - compatible = "qcom,msm-smmu-v1-ctx"; - reg = <0xfda6c000 0x1000>; - interrupts = <0 70 0>; - qcom,iommu-ctx-sids = <0>; - label = "jpeg_enc0"; - }; - - qcom,iommu-ctx@fda6d000 { - compatible = "qcom,msm-smmu-v1-ctx"; - reg = <0xfda6d000 0x1000>; - interrupts = <0 70 0>; - qcom,iommu-ctx-sids = <1>; - label = "jpeg_enc1"; - }; - - qcom,iommu-ctx@fda6e000 { - compatible = "qcom,msm-smmu-v1-ctx"; - reg = <0xfda6e000 0x1000>; - interrupts = <0 70 0>; - qcom,iommu-ctx-sids = <2>; - label = "jpeg_dec"; - }; - }; - - mdp_iommu: qcom,iommu@fd928000 { - compatible = "qcom,msm-smmu-v1"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - reg = <0xfd928000 0x10000>; - reg-names = "iommu_base"; - interrupts = <0 73 0>; - qcom,iommu-secure-id = <1>; - label = "mdp_iommu"; - qcom,msm-bus,name = "mdp_ebi"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,active-only; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <22 512 0 0>, - <22 512 0 1000>; - status = "disabled"; - - qcom,iommu-pmu-ngroups = <1>; - qcom,iommu-pmu-ncounters = <8>; - qcom,iommu-pmu-event-classes = <0x00 - 0x01 - 0x08 - 0x09 - 0x0A - 0x10 - 0x11 - 0x12 - 0x80 - 0x81 - 0x82 - 0x83 - 0x90 - 0x91 - 0x92 - 0xb0 - 0xb1>; - - qcom,iommu-bfb-regs = <0x204c - 0x2050 - 0x2514 - 0x2540 - 0x256c - 0x20ac - 0x215c - 0x220c - 0x2314 - 0x2394 - 0x2414 - 0x2008 - 0x200c - 0x2010 - 0x2014 - 0x2018 - 0x201c - 0x2020>; - - qcom,iommu-bfb-data = <0xffffffff - 0x0 - 0x00000004 - 0x00000010 - 0x00000000 - 0x00000000 - 0x00000034 - 0x00000044 - 0x0 - 0x34 - 0x74 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0>; - - qcom,iommu-ctx@fd930000 { - compatible = "qcom,msm-smmu-v1-ctx"; - reg = <0xfd930000 0x1000>; - interrupts = <0 47 0>; - qcom,iommu-ctx-sids = <0>; - label = "mdp_0"; - }; - - qcom,iommu-ctx@fd931000 { - compatible = "qcom,msm-smmu-v1-ctx"; - reg = <0xfd931000 0x1000>; - interrupts = <0 47 0>, <0 46 0>; - qcom,iommu-ctx-sids = <1>; - label = "mdp_1"; - qcom,secure-context; - }; - - qcom,iommu-ctx@fd932000 { - compatible = "qcom,msm-smmu-v1-ctx"; - reg = <0xfd932000 0x1000>; - interrupts = <0 47 0>, <0 46 0>; - qcom,iommu-ctx-sids = <>; - label = "mdp_2"; - qcom,secure-context; - }; - }; - - venus_iommu: qcom,iommu@fdc84000 { - compatible = "qcom,msm-smmu-v1"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - reg = <0xfdc84000 0x10000 - 0xfdce0004 0x4>; - reg-names = "iommu_base", "clk_base"; - interrupts = <0 45 0>; - qcom,iommu-secure-id = <0>; - qcom,needs-alt-core-clk; - label = "venus_iommu"; - qcom,msm-bus,name = "venus_ebi"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,active-only; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <63 512 0 0>, - <63 512 0 1000>; - status = "disabled"; - - qcom,iommu-pmu-ngroups = <1>; - qcom,iommu-pmu-ncounters = <8>; - qcom,iommu-pmu-event-classes = <0x00 - 0x01 - 0x08 - 0x09 - 0x0A - 0x10 - 0x11 - 0x12 - 0x80 - 0x81 - 0x82 - 0x83 - 0x90 - 0x91 - 0x92 - 0xb0 - 0xb1>; - - qcom,iommu-bfb-regs = <0x204c - 0x2050 - 0x2514 - 0x2540 - 0x256c - 0x20ac - 0x215c - 0x220c - 0x2314 - 0x2394 - 0x2414 - 0x2008 - 0x200c - 0x2010 - 0x2014 - 0x2018 - 0x201c - 0x2020 - 0x2024 - 0x2028 - 0x202c - 0x2030 - 0x2034 - 0x2038>; - - qcom,iommu-bfb-data = <0xffffffff - 0xffffffff - 0x00000004 - 0x00000008 - 0x00000000 - 0x00000000 - 0x00000094 - 0x000000b4 - 0x0 - 0x94 - 0x114 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0>; - - venus_ns: qcom,iommu-ctx@fdc8c000 { - compatible = "qcom,msm-smmu-v1-ctx"; - reg = <0xfdc8c000 0x1000>; - interrupts = <0 42 0>; - qcom,iommu-ctx-sids = <0 1 2 3 4 5>; - label = "venus_ns"; - }; - - venus_cp: qcom,iommu-ctx@fdc8d000 { - compatible = "qcom,msm-smmu-v1-ctx"; - reg = <0xfdc8d000 0x1000>; - interrupts = <0 42 0>, <0 43 0>; - qcom,iommu-ctx-sids = <0x80 0x81 0x82 0x83 0x84 0x85>; - label = "venus_cp"; - qcom,secure-context; - }; - - venus_fw: qcom,iommu-ctx@fdc8e000 { - compatible = "qcom,msm-smmu-v1-ctx"; - reg = <0xfdc8e000 0x1000>; - interrupts = <0 42 0>, <0 43 0>; - qcom,iommu-ctx-sids = <0xc0 0xc6>; - label = "venus_fw"; - qcom,secure-context; - }; - }; - - kgsl_iommu: qcom,iommu@fdb10000 { - compatible = "qcom,msm-smmu-v1"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - reg = <0xfdb10000 0x10000>; - reg-names = "iommu_base"; - interrupts = <0 38 0>; - label = "kgsl_iommu"; - qcom,msm-bus,name = "kgsl_ebi"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,active-only; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <26 512 0 0>, - <26 512 0 1000>; - status = "disabled"; - - qcom,iommu-pmu-ngroups = <1>; - qcom,iommu-pmu-ncounters = <8>; - qcom,iommu-pmu-event-classes = <0x00 - 0x01 - 0x08 - 0x09 - 0x0A - 0x10 - 0x11 - 0x12 - 0x80 - 0x81 - 0x82 - 0x83 - 0x90 - 0x91 - 0x92 - 0xb0 - 0xb1>; - - qcom,iommu-bfb-regs = <0x204c - 0x2050 - 0x2514 - 0x2540 - 0x256c - 0x20ac - 0x215c - 0x220c - 0x2314 - 0x2394 - 0x2414 - 0x2008>; - - qcom,iommu-bfb-data = <0x00000003 - 0x0 - 0x00000004 - 0x00000010 - 0x00000000 - 0x00000000 - 0x00000001 - 0x00000021 - 0x0 - 0x1 - 0x81 - 0x0>; - - qcom,iommu-ctx@fdb18000 { - compatible = "qcom,msm-smmu-v1-ctx"; - reg = <0xfdb18000 0x1000>; - interrupts = <0 241 0>; - qcom,iommu-ctx-sids = <0>; - label = "gfx3d_user"; - }; - - qcom,iommu-ctx@fdb19000 { - compatible = "qcom,msm-smmu-v1-ctx"; - reg = <0xfdb19000 0x1000>; - interrupts = <0 241 0>; - qcom,iommu-ctx-sids = <1>; - label = "gfx3d_priv"; - }; - }; - - vfe_iommu: qcom,iommu@fda44000 { - compatible = "qcom,msm-smmu-v1"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - reg = <0xfda44000 0x10000>; - reg-names = "iommu_base"; - interrupts = <0 62 0>; - qcom,needs-alt-core-clk; - label = "vfe_iommu"; - qcom,msm-bus,name = "vfe_ebi"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,active-only; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <29 512 0 0>, - <29 512 0 1000>; - status = "disabled"; - - qcom,iommu-pmu-ngroups = <1>; - qcom,iommu-pmu-ncounters = <8>; - qcom,iommu-pmu-event-classes = <0x00 - 0x01 - 0x08 - 0x09 - 0x0A - 0x10 - 0x11 - 0x12 - 0x80 - 0x81 - 0x82 - 0x83 - 0x90 - 0x91 - 0x92 - 0xb0 - 0xb1>; - - qcom,iommu-bfb-regs = <0x204c - 0x2050 - 0x2514 - 0x2540 - 0x256c - 0x2314 - 0x2394 - 0x2414 - 0x20ac - 0x215c - 0x220c - 0x2008 - 0x200c - 0x2010 - 0x2014 - 0x2018 - 0x201c - 0x2020>; - - qcom,iommu-bfb-data = <0xffffffff - 0x00000000 - 0x4 - 0x8 - 0x0 - 0x0 - 0x20 - 0x78 - 0x0 - 0x20 - 0x36 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0>; - - qcom,iommu-ctx@fda4c000 { - compatible = "qcom,msm-smmu-v1-ctx"; - reg = <0xfda4c000 0x1000>; - interrupts = <0 65 0>; - qcom,iommu-ctx-sids = <0>; - label = "vfe0"; - }; - - qcom,iommu-ctx@fda4d000 { - compatible = "qcom,msm-smmu-v1-ctx"; - reg = <0xfda4d000 0x1000>; - interrupts = <0 65 0>; - qcom,iommu-ctx-sids = <1>; - label = "vfe1"; - }; - - qcom,iommu-ctx@fda4e000 { - compatible = "qcom,msm-smmu-v1-ctx"; - reg = <0xfda4e000 0x1000>; - interrupts = <0 65 0>; - qcom,iommu-ctx-sids = <2>; - label = "cpp"; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/msm-pm8019-rpm-regulator.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v3/msm-pm8019-rpm-regulator.dtsi deleted file mode 100644 index c48f67dca..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/msm-pm8019-rpm-regulator.dtsi +++ /dev/null @@ -1,301 +0,0 @@ -/* Copyright (c) 2012, 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. - */ - -&rpm_bus { - rpm-regulator-smpa1 { - qcom,resource-name = "smpa"; - qcom,resource-id = <1>; - qcom,regulator-type = <1>; - qcom,hpm-min-load = <100000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-s1 { - regulator-name = "8019_s1"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-smpa2 { - qcom,resource-name = "smpa"; - qcom,resource-id = <2>; - qcom,regulator-type = <1>; - qcom,hpm-min-load = <100000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-s2 { - regulator-name = "8019_s2"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-smpa3 { - qcom,resource-name = "smpa"; - qcom,resource-id = <3>; - qcom,regulator-type = <1>; - qcom,hpm-min-load = <100000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-s3 { - regulator-name = "8019_s3"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-smpa4 { - qcom,resource-name = "smpa"; - qcom,resource-id = <4>; - qcom,regulator-type = <1>; - qcom,hpm-min-load = <100000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-s4 { - regulator-name = "8019_s4"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa1 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <1>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l1 { - regulator-name = "8019_l1"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa2 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <2>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <5000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l2 { - regulator-name = "8019_l2"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa3 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <3>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l3 { - regulator-name = "8019_l3"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa4 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <4>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <5000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l4 { - regulator-name = "8019_l4"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa5 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <5>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l5 { - regulator-name = "8019_l5"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa6 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <6>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l6 { - regulator-name = "8019_l6"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa7 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <7>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l7 { - regulator-name = "8019_l7"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa8 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <8>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l8 { - regulator-name = "8019_l8"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa9 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <9>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l9 { - regulator-name = "8019_l9"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa10 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <10>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l10 { - regulator-name = "8019_l10"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa11 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <11>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l11 { - regulator-name = "8019_l11"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa12 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <12>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l12 { - regulator-name = "8019_l12"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa13 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <13>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <5000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l13 { - regulator-name = "8019_l13"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa14 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <14>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <5000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l14 { - regulator-name = "8019_l14"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/msm-pm8019.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v3/msm-pm8019.dtsi deleted file mode 100755 index 6b5edf7ea..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/msm-pm8019.dtsi +++ /dev/null @@ -1,415 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&spmi_bus { - #address-cells = <1>; - #size-cells = <0>; - interrupt-controller; - #interrupt-cells = <3>; - - qcom,pm8019@0 { - spmi-slave-container; - reg = <0x0>; - #address-cells = <1>; - #size-cells = <1>; - - qcom,power_on@800 { - compatible = "qcom,qpnp-power-on"; - reg = <0x800 0x100>; - interrupts = <0x0 0x8 0x2>; - interrupt-names = "cblpwr"; - qcom,pon-dbc-delay = <15625>; - qcom,system-reset; - - qcom,pon_1 { - qcom,pon-type = <2>; - qcom,pull-up = <1>; - linux,code = <116>; - }; - }; - - clkdiv@5b00 { - reg = <0x5b00 0x100>; - compatible = "qcom,qpnp-clkdiv"; - qcom,cxo-freq = <19200000>; - }; - - clkdiv@5c00 { - reg = <0x5c00 0x100>; - compatible = "qcom,qpnp-clkdiv"; - qcom,cxo-freq = <19200000>; - }; - - clkdiv@5d00 { - reg = <0x5d00 0x100>; - compatible = "qcom,qpnp-clkdiv"; - qcom,cxo-freq = <19200000>; - }; - - rtc { - spmi-dev-container; - compatible = "qcom,qpnp-rtc"; - #address-cells = <1>; - #size-cells = <1>; - qcom,qpnp-rtc-write = <0>; - qcom,qpnp-rtc-alarm-pwrup = <0>; - - qcom,pm8019_rtc_rw@6000 { - reg = <0x6000 0x100>; - }; - - qcom,pm8019_rtc_alarm@6100 { - reg = <0x6100 0x100>; - interrupts = <0x0 0x61 0x1>; - }; - }; - - pm8019_gpios: gpios { - spmi-dev-container; - compatible = "qcom,qpnp-pin"; - gpio-controller; - #gpio-cells = <2>; - #address-cells = <1>; - #size-cells = <1>; - label = "pm8019-gpio"; - - gpio@c000 { - reg = <0xc000 0x100>; - qcom,pin-num = <1>; - }; - - gpio@c100 { - reg = <0xc100 0x100>; - qcom,pin-num = <2>; - }; - - gpio@c200 { - reg = <0xc200 0x100>; - qcom,pin-num = <3>; - }; - - gpio@c300 { - reg = <0xc300 0x100>; - qcom,pin-num = <4>; - }; - - gpio@c400 { - reg = <0xc400 0x100>; - qcom,pin-num = <5>; - }; - - gpio@c500 { - reg = <0xc500 0x100>; - qcom,pin-num = <6>; - }; - }; - - pm8019_mpps: mpps { - spmi-dev-container; - compatible = "qcom,qpnp-pin"; - gpio-controller; - #gpio-cells = <2>; - #address-cells = <1>; - #size-cells = <1>; - label = "pm8019-mpp"; - - mpp@a000 { - reg = <0xa000 0x100>; - qcom,pin-num = <1>; - }; - - mpp@a100 { - reg = <0xa100 0x100>; - qcom,pin-num = <2>; - }; - - mpp@a200 { - reg = <0xa200 0x100>; - qcom,pin-num = <3>; - }; - - mpp@a300 { - reg = <0xa300 0x100>; - qcom,pin-num = <4>; - }; - - mpp@a400 { - reg = <0xa400 0x100>; - qcom,pin-num = <5>; - }; - - mpp@a500 { - reg = <0xa500 0x100>; - qcom,pin-num = <6>; - }; - }; - - pm8019_vadc: vadc@3100 { - compatible = "qcom,qpnp-vadc"; - reg = <0x3100 0x100>; - #address-cells = <1>; - #size-cells = <0>; - interrupts = <0x0 0x31 0x0>; - interrupt-names = "eoc-int-en-set"; - qcom,adc-bit-resolution = <15>; - qcom,adc-vdd-reference = <1800>; - qcom,vadc-poll-eoc; - - chan@8 { - label = "die_temp"; - reg = <8>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <3>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@9 { - label = "ref_625mv"; - reg = <9>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@a { - label = "ref_1250v"; - reg = <0xa>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - }; - - pm8019_adc_tm: vadc@3400 { - compatible = "qcom,qpnp-adc-tm"; - reg = <0x3400 0x100>; - #address-cells = <1>; - #size-cells = <0>; - interrupts = <0x0 0x34 0x0>, - <0x0 0x34 0x3>, - <0x0 0x34 0x4>; - interrupt-names = "eoc-int-en-set", - "high-thr-en-set", - "low-thr-en-set"; - qcom,adc-bit-resolution = <15>; - qcom,adc-vdd-reference = <1800>; - }; - }; - - qcom,pm8019@1 { - spmi-slave-container; - reg = <0x1>; - #address-cells = <1>; - #size-cells = <1>; - - regulator@1400 { - regulator-name = "8019_s1"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x1400 0x300>; - status = "disabled"; - - qcom,ctl@1400 { - reg = <0x1400 0x100>; - }; - qcom,ps@1500 { - reg = <0x1500 0x100>; - }; - qcom,freq@1600 { - reg = <0x1600 0x100>; - }; - }; - - regulator@1700 { - regulator-name = "8019_s2"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x1700 0x300>; - status = "disabled"; - - qcom,ctl@1700 { - reg = <0x1700 0x100>; - }; - qcom,ps@1800 { - reg = <0x1800 0x100>; - }; - qcom,freq@1900 { - reg = <0x1900 0x100>; - }; - }; - - regulator@1a00 { - regulator-name = "8019_s3"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x1a00 0x300>; - status = "disabled"; - - qcom,ctl@1a00 { - reg = <0x1a00 0x100>; - }; - qcom,ps@1b00 { - reg = <0x1b00 0x100>; - }; - qcom,freq@1c00 { - reg = <0x1c00 0x100>; - }; - }; - - regulator@1d00 { - regulator-name = "8019_s4"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x1d00 0x300>; - status = "disabled"; - - qcom,ctl@1d00 { - reg = <0x1d00 0x100>; - }; - qcom,ps@1e00 { - reg = <0x1e00 0x100>; - }; - qcom,freq@1f00 { - reg = <0x1f00 0x100>; - }; - }; - - regulator@4000 { - regulator-name = "8019_l1"; - reg = <0x4000 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4100 { - regulator-name = "8019_l2"; - reg = <0x4100 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4200 { - regulator-name = "8019_l3"; - reg = <0x4200 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4300 { - regulator-name = "8019_l4"; - reg = <0x4300 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4400 { - regulator-name = "8019_l5"; - reg = <0x4400 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4500 { - regulator-name = "8019_l6"; - reg = <0x4500 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4600 { - regulator-name = "8019_l7"; - reg = <0x4600 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4700 { - regulator-name = "8019_l8"; - reg = <0x4700 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4800 { - regulator-name = "8019_l9"; - reg = <0x4800 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4900 { - regulator-name = "8019_l10"; - reg = <0x4900 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4a00 { - regulator-name = "8019_l11"; - reg = <0x4a00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4b00 { - regulator-name = "8019_l12"; - reg = <0x4b00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4c00 { - regulator-name = "8019_l13"; - reg = <0x4c00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4d00 { - regulator-name = "8019_l14"; - reg = <0x4d00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4e00 { - regulator-name = "8019_ldo_xo"; - reg = <0x4e00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4f00 { - regulator-name = "8019_ldo_rfclk"; - reg = <0x4f00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/msm-pm8110-rpm-regulator.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v3/msm-pm8110-rpm-regulator.dtsi deleted file mode 100644 index 0de72b0de..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/msm-pm8110-rpm-regulator.dtsi +++ /dev/null @@ -1,381 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -&rpm_bus { - rpm-regulator-smpa1 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "smpa"; - qcom,resource-id = <1>; - qcom,regulator-type = <1>; - qcom,hpm-min-load = <100000>; - status = "disabled"; - - regulator-s1 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_s1"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-smpa3 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "smpa"; - qcom,resource-id = <3>; - qcom,regulator-type = <1>; - qcom,hpm-min-load = <100000>; - status = "disabled"; - - regulator-s3 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_s3"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-smpa4 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "smpa"; - qcom,resource-id = <4>; - qcom,regulator-type = <1>; - qcom,hpm-min-load = <100000>; - status = "disabled"; - - regulator-s4 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_s4"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa1 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <1>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l1 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l1"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa2 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <2>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l2 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l2"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa3 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <3>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l3 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l3"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa4 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <4>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l4 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l4"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa5 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <5>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l5 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l5"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa6 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <6>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l6 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l6"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa7 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <7>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l7 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l7"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa8 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <8>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <5000>; - status = "disabled"; - - regulator-l8 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l8"; - qcom,set = <1>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa9 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <9>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l9 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l9"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa10 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <10>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l10 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l10"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa12 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <12>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l12 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l12"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa14 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <14>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l14 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l14"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa15 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <15>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l15 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l15"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa16 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <16>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l16 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l16"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa17 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <17>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l17 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l17"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa18 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <18>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l18 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l18"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa19 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <19>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l19 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l19"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa20 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <20>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <5000>; - status = "disabled"; - - regulator-l20 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l20"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa21 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <21>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l21 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l21"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa22 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <22>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l22 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l22"; - qcom,set = <3>; - status = "disabled"; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/msm-pm8110.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v3/msm-pm8110.dtsi deleted file mode 100644 index 1877f40d7..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/msm-pm8110.dtsi +++ /dev/null @@ -1,608 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&spmi_bus { - #address-cells = <1>; - #size-cells = <0>; - interrupt-controller; - #interrupt-cells = <3>; - - qcom,pm8110@0 { - spmi-slave-container; - reg = <0x0>; - #address-cells = <1>; - #size-cells = <1>; - - qcom,power-on@800 { - compatible = "qcom,qpnp-power-on"; - reg = <0x800 0x100>; - interrupts = <0x0 0x8 0x0>, - <0x0 0x8 0x1>, - <0x0 0x8 0x4>; - interrupt-names = "kpdpwr", "resin", "resin-bark"; - qcom,pon-dbc-delay = <15625>; - qcom,system-reset; - - qcom,pon_1 { - qcom,pon-type = <0>; - qcom,pull-up = <1>; - linux,code = <116>; - }; - - qcom,pon_2 { - qcom,pon-type = <1>; - qcom,pull-up = <1>; - linux,code = <114>; - }; - }; - - pm8110_chg: qcom,charger { - spmi-dev-container; - compatible = "qcom,qpnp-charger"; - #address-cells = <1>; - #size-cells = <1>; - status = "disabled"; - - qcom,vddmax-mv = <4200>; - qcom,vddsafe-mv = <4230>; - qcom,vinmin-mv = <4200>; - qcom,vbatdet-mv = <4100>; - qcom,ibatmax-ma = <1500>; - qcom,ibatterm-ma = <200>; - qcom,ibatsafe-ma = <1500>; - qcom,thermal-mitigation = <1500 700 600 325>; - qcom,vbatdet-delta-mv = <350>; - qcom,tchg-mins = <150>; - - qcom,chgr@1000 { - status = "disabled"; - reg = <0x1000 0x100>; - interrupts = <0x0 0x10 0x0>, - <0x0 0x10 0x1>, - <0x0 0x10 0x2>, - <0x0 0x10 0x3>, - <0x0 0x10 0x4>, - <0x0 0x10 0x5>, - <0x0 0x10 0x6>, - <0x0 0x10 0x7>; - - interrupt-names = "vbat-det-lo", - "vbat-det-hi", - "chgwdog", - "state-change", - "trkl-chg-on", - "fast-chg-on", - "chg-failed", - "chg-done"; - }; - - qcom,buck@1100 { - status = "disabled"; - reg = <0x1100 0x100>; - interrupts = <0x0 0x11 0x0>, - <0x0 0x11 0x1>, - <0x0 0x11 0x2>, - <0x0 0x11 0x3>, - <0x0 0x11 0x4>, - <0x0 0x11 0x5>, - <0x0 0x11 0x6>; - - interrupt-names = "vbat-ov", - "vreg-ov", - "overtemp", - "vchg-loop", - "ichg-loop", - "ibat-loop", - "vdd-loop"; - }; - - qcom,bat-if@1200 { - status = "disabled"; - reg = <0x1200 0x100>; - interrupts = <0x0 0x12 0x0>, - <0x0 0x12 0x1>, - <0x0 0x12 0x2>, - <0x0 0x12 0x3>, - <0x0 0x12 0x4>; - - interrupt-names = "batt-pres", - "bat-temp-ok", - "bat-fet-on", - "vcp-on", - "psi"; - }; - - qcom,usb-chgpth@1300 { - status = "disabled"; - reg = <0x1300 0x100>; - interrupts = <0 0x13 0x0>, - <0 0x13 0x1>, - <0x0 0x13 0x2>; - - interrupt-names = "coarse-det-usb", - "usbin-valid", - "chg-gone"; - }; - - qcom,chg-misc@1600 { - status = "disabled"; - reg = <0x1600 0x100>; - }; - }; - - pm8110_gpios: gpios { - spmi-dev-container; - compatible = "qcom,qpnp-pin"; - gpio-controller; - #gpio-cells = <2>; - #address-cells = <1>; - #size-cells = <1>; - label = "pm8110-gpio"; - - gpio@c000 { - reg = <0xc000 0x100>; - qcom,pin-num = <1>; - }; - - gpio@c100 { - reg = <0xc100 0x100>; - qcom,pin-num = <2>; - }; - - gpio@c200 { - reg = <0xc200 0x100>; - qcom,pin-num = <3>; - }; - - gpio@c300 { - reg = <0xc300 0x100>; - qcom,pin-num = <4>; - }; - }; - - pm8110_mpps: mpps { - spmi-dev-container; - compatible = "qcom,qpnp-pin"; - gpio-controller; - #gpio-cells = <2>; - #address-cells = <1>; - #size-cells = <1>; - label = "pm8110-mpp"; - - mpp@a000 { - reg = <0xa000 0x100>; - qcom,pin-num = <1>; - }; - - mpp@a100 { - reg = <0xa100 0x100>; - qcom,pin-num = <2>; - }; - - mpp@a200 { - reg = <0xa200 0x100>; - qcom,pin-num = <3>; - }; - - mpp@a300 { - reg = <0xa300 0x100>; - qcom,pin-num = <4>; - }; - }; - - pm8110_vadc: vadc@3100 { - compatible = "qcom,qpnp-vadc"; - reg = <0x3100 0x100>; - #address-cells = <1>; - #size-cells = <0>; - interrupts = <0x0 0x31 0x0>; - interrupt-names = "eoc-int-en-set"; - qcom,adc-bit-resolution = <15>; - qcom,adc-vdd-reference = <1800>; - - chan@8 { - label = "die_temp"; - reg = <8>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <3>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@9 { - label = "ref_625mv"; - reg = <9>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@a { - label = "ref_1250v"; - reg = <0xa>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - }; - - iadc@3600 { - compatible = "qcom,qpnp-iadc"; - reg = <0x3600 0x100>; - #address-cells = <1>; - #size-cells = <0>; - interrupts = <0x0 0x36 0x0>; - interrupt-names = "eoc-int-en-set"; - qcom,adc-bit-resolution = <16>; - qcom,adc-vdd-reference = <1800>; - - chan@0 { - label = "internal_rsense"; - reg = <0>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <1>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - }; - - pm8110_adc_tm: vadc@3400 { - compatible = "qcom,qpnp-adc-tm"; - reg = <0x3400 0x100>; - #address-cells = <1>; - #size-cells = <0>; - interrupts = <0x0 0x34 0x0>, - <0x0 0x34 0x3>, - <0x0 0x34 0x4>; - interrupt-names = "eoc-int-en-set", - "high-thr-en-set", - "low-thr-en-set"; - qcom,adc-bit-resolution = <15>; - qcom,adc-vdd-reference = <1800>; - }; - - qcom,temp-alarm@2400 { - compatible = "qcom,qpnp-temp-alarm"; - reg = <0x2400 0x100>; - interrupts = <0x0 0x24 0x0>; - label = "pm8110_tz"; - qcom,channel-num = <8>; - qcom,threshold-set = <0>; - }; - - pm8110_bms: qcom,bms { - spmi-dev-container; - compatible = "qcom,qpnp-bms"; - #address-cells = <1>; - #size-cells = <1>; - status = "disabled"; - - qcom,r-sense-uohm = <10000>; - qcom,v-cutoff-uv = <3400000>; - qcom,max-voltage-uv = <4200000>; - qcom,r-conn-mohm = <0>; - qcom,shutdown-soc-valid-limit = <20>; - qcom,adjust-soc-low-threshold = <15>; - qcom,ocv-voltage-high-threshold-uv = <3750000>; - qcom,ocv-voltage-low-threshold-uv = <3650000>; - qcom,low-soc-calculate-soc-threshold = <15>; - qcom,low-soc-calculate-soc-ms = <5000>; - qcom,calculate-soc-ms = <20000>; - qcom,chg-term-ua = <100000>; - qcom,batt-type = <0>; - qcom,low-voltage-threshold = <3420000>; - qcom,tm-temp-margin = <5000>; - qcom,low-ocv-correction-limit-uv = <100>; - qcom,high-ocv-correction-limit-uv = <50>; - qcom,hold-soc-est = <3>; - - qcom,bms-iadc@3800 { - reg = <0x3800 0x100>; - }; - - qcom,bms-bms@4000 { - reg = <0x4000 0x100>; - interrupts = <0x0 0x40 0x0>, - <0x0 0x40 0x1>, - <0x0 0x40 0x2>, - <0x0 0x40 0x3>, - <0x0 0x40 0x4>, - <0x0 0x40 0x5>, - <0x0 0x40 0x6>, - <0x0 0x40 0x7>; - - interrupt-names = "vsense_for_r", - "vsense_avg", - "sw_cc_thr", - "ocv_thr", - "charge_begin", - "good_ocv", - "ocv_for_r", - "cc_thr"; - }; - }; - - qcom,pm8110_rtc { - spmi-dev-container; - compatible = "qcom,qpnp-rtc"; - #address-cells = <1>; - #size-cells = <1>; - qcom,qpnp-rtc-write = <0>; - qcom,qpnp-rtc-alarm-pwrup = <0>; - - qcom,pm8110_rtc_rw@6000 { - reg = <0x6000 0x100>; - }; - - qcom,pm8110_rtc_alarm@6100 { - reg = <0x6100 0x100>; - interrupts = <0x0 0x61 0x1>; - }; - }; - - qcom,leds@a100 { - compatible = "qcom,leds-qpnp"; - reg = <0xa100 0x100>; - label = "mpp"; - }; - - qcom,leds@a200 { - compatible = "qcom,leds-qpnp"; - reg = <0xa200 0x100>; - label = "mpp"; - }; - }; - - qcom,pm8110@1 { - spmi-slave-container; - reg = <0x1>; - #address-cells = <1>; - #size-cells = <1>; - - regulator@1400 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_s1"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - reg = <0x1400 0x300>; - status = "disabled"; - - qcom,ctl@1400 { - reg = <0x1400 0x100>; - }; - qcom,ps@1500 { - reg = <0x1500 0x100>; - }; - qcom,freq@1600 { - reg = <0x1600 0x100>; - }; - }; - - regulator@1700 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_s2"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - reg = <0x1700 0x300>; - status = "disabled"; - - qcom,ctl@1700 { - reg = <0x1700 0x100>; - }; - qcom,ps@1800 { - reg = <0x1800 0x100>; - }; - qcom,freq@1900 { - reg = <0x1900 0x100>; - }; - }; - - regulator@1a00 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_s3"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - reg = <0x1a00 0x300>; - status = "disabled"; - - qcom,ctl@1a00 { - reg = <0x1a00 0x100>; - }; - qcom,ps@1b00 { - reg = <0x1b00 0x100>; - }; - qcom,freq@1c00 { - reg = <0x1c00 0x100>; - }; - }; - - regulator@1d00 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_s4"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - reg = <0x1d00 0x300>; - status = "disabled"; - - qcom,ctl@1d00 { - reg = <0x1d00 0x100>; - }; - qcom,ps@1e00 { - reg = <0x1e00 0x100>; - }; - qcom,freq@1f00 { - reg = <0x1f00 0x100>; - }; - }; - - regulator@4000 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_l1"; - reg = <0x4000 0x100>; - status = "disabled"; - }; - - regulator@4100 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_l2"; - reg = <0x4100 0x100>; - status = "disabled"; - }; - - regulator@4200 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_l3"; - reg = <0x4200 0x100>; - status = "disabled"; - }; - - regulator@4300 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_l4"; - reg = <0x4300 0x100>; - status = "disabled"; - }; - - regulator@4400 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_l5"; - reg = <0x4400 0x100>; - status = "disabled"; - }; - - regulator@4500 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_l6"; - reg = <0x4500 0x100>; - status = "disabled"; - }; - - regulator@4600 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_l7"; - reg = <0x4600 0x100>; - status = "disabled"; - }; - - regulator@4700 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_l8"; - reg = <0x4700 0x100>; - status = "disabled"; - }; - - regulator@4800 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_l9"; - reg = <0x4800 0x100>; - status = "disabled"; - }; - - regulator@4900 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_l10"; - reg = <0x4900 0x100>; - status = "disabled"; - }; - - regulator@4b00 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_l12"; - reg = <0x4b00 0x100>; - status = "disabled"; - }; - - regulator@4d00 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_l14"; - reg = <0x4d00 0x100>; - status = "disabled"; - }; - - regulator@4e00 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_l15"; - reg = <0x4e00 0x100>; - status = "disabled"; - }; - - regulator@4f00 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_l16"; - reg = <0x4f00 0x100>; - status = "disabled"; - }; - - regulator@5000 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_l17"; - reg = <0x5000 0x100>; - status = "disabled"; - }; - - regulator@5100 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_l18"; - reg = <0x5100 0x100>; - status = "disabled"; - }; - - regulator@5200 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_l19"; - reg = <0x5200 0x100>; - status = "disabled"; - }; - - regulator@5300 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_l20"; - reg = <0x5300 0x100>; - status = "disabled"; - }; - - regulator@5400 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_l21"; - reg = <0x5400 0x100>; - status = "disabled"; - }; - - regulator@5500 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_l22"; - reg = <0x5500 0x100>; - status = "disabled"; - }; - - qcom,vibrator@c000 { - compatible = "qcom,qpnp-vibrator"; - reg = <0xc000 0x100>; - label = "vibrator"; - status = "disabled"; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/msm-pm8226-rpm-regulator.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v3/msm-pm8226-rpm-regulator.dtsi deleted file mode 100644 index ded949489..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/msm-pm8226-rpm-regulator.dtsi +++ /dev/null @@ -1,492 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -&rpm_bus { - rpm-regulator-smpa1 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "smpa"; - qcom,resource-id = <1>; - qcom,regulator-type = <1>; - qcom,hpm-min-load = <100000>; - status = "disabled"; - - regulator-s1 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_s1"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-smpa3 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "smpa"; - qcom,resource-id = <3>; - qcom,regulator-type = <1>; - qcom,hpm-min-load = <100000>; - status = "disabled"; - - regulator-s3 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_s3"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-smpa4 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "smpa"; - qcom,resource-id = <4>; - qcom,regulator-type = <1>; - qcom,hpm-min-load = <100000>; - status = "disabled"; - - regulator-s4 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_s4"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-smpa5 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "smpa"; - qcom,resource-id = <5>; - qcom,regulator-type = <1>; - qcom,hpm-min-load = <100000>; - status = "disabled"; - - regulator-s5 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_s5"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa1 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <1>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l1 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l1"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa2 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <2>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l2 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l2"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa3 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <3>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l3 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l3"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa4 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <4>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l4 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l4"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa5 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <5>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l5 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l5"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa6 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <6>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l6 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l6"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa7 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <7>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l7 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l7"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa8 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <8>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <5000>; - status = "disabled"; - - regulator-l8 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l8"; - qcom,set = <1>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa9 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <9>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l9 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l9"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa10 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <10>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <5000>; - status = "disabled"; - - regulator-l10 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l10"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa12 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <12>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l12 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l12"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa14 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <14>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <5000>; - status = "disabled"; - - regulator-l14 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l14"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa15 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <15>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l15 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l15"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa16 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <16>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l16 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l16"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa17 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <17>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l17 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l17"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa18 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <18>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l18 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l18"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa19 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <19>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l19 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l19"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa20 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <20>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <5000>; - status = "disabled"; - - regulator-l20 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l20"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa21 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <21>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <5000>; - status = "disabled"; - - regulator-l21 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l21"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa22 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <22>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l22 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l22"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa23 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <23>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l23 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l23"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa24 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <24>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l24 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l24"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa26 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <26>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l26 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l26"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa27 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <27>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l27 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l27"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa28 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <28>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l28 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l28"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-vsa1 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "vsa"; - qcom,resource-id = <1>; - qcom,regulator-type = <2>; - status = "disabled"; - - regulator-lvs1 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_lvs1"; - qcom,set = <3>; - status = "disabled"; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/msm-pm8226.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v3/msm-pm8226.dtsi deleted file mode 100644 index d429f72b7..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/msm-pm8226.dtsi +++ /dev/null @@ -1,833 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&spmi_bus { - #address-cells = <1>; - #size-cells = <0>; - interrupt-controller; - #interrupt-cells = <3>; - - qcom,pm8226@0 { - spmi-slave-container; - reg = <0x0>; - #address-cells = <1>; - #size-cells = <1>; - - qcom,power-on@800 { - compatible = "qcom,qpnp-power-on"; - reg = <0x800 0x100>; - interrupts = <0x0 0x8 0x0>, - <0x0 0x8 0x1>, - <0x0 0x8 0x4>; - interrupt-names = "kpdpwr", "resin", "resin-bark"; - qcom,pon-dbc-delay = <15625>; - qcom,system-reset; - - qcom,pon_1 { - qcom,pon-type = <0>; - qcom,pull-up = <1>; - linux,code = <116>; - }; - - qcom,pon_2 { - qcom,pon-type = <1>; - qcom,support-reset = <1>; - qcom,pull-up = <1>; - qcom,s1-timer = <0>; - qcom,s2-timer = <2000>; - qcom,s2-type = <1>; - linux,code = <114>; - }; - }; - - pm8226_chg: qcom,charger { - spmi-dev-container; - compatible = "qcom,qpnp-charger"; - #address-cells = <1>; - #size-cells = <1>; - status = "disabled"; - - qcom,vddmax-mv = <4200>; - qcom,vddsafe-mv = <4230>; - qcom,vinmin-mv = <4200>; - qcom,vbatdet-delta-mv = <150>; - qcom,ibatmax-ma = <1500>; - qcom,ibatterm-ma = <100>; - qcom,ibatsafe-ma = <1500>; - qcom,thermal-mitigation = <1500 700 600 325>; - qcom,tchg-mins = <150>; - - qcom,chgr@1000 { - status = "disabled"; - reg = <0x1000 0x100>; - interrupts = <0x0 0x10 0x0>, - <0x0 0x10 0x1>, - <0x0 0x10 0x2>, - <0x0 0x10 0x3>, - <0x0 0x10 0x4>, - <0x0 0x10 0x5>, - <0x0 0x10 0x6>, - <0x0 0x10 0x7>; - - interrupt-names = "vbat-det-lo", - "vbat-det-hi", - "chgwdog", - "state-change", - "trkl-chg-on", - "fast-chg-on", - "chg-failed", - "chg-done"; - }; - - qcom,buck@1100 { - status = "disabled"; - reg = <0x1100 0x100>; - interrupts = <0x0 0x11 0x0>, - <0x0 0x11 0x1>, - <0x0 0x11 0x2>, - <0x0 0x11 0x3>, - <0x0 0x11 0x4>, - <0x0 0x11 0x5>, - <0x0 0x11 0x6>; - - interrupt-names = "vbat-ov", - "vreg-ov", - "overtemp", - "vchg-loop", - "ichg-loop", - "ibat-loop", - "vdd-loop"; - }; - - qcom,bat-if@1200 { - status = "disabled"; - reg = <0x1200 0x100>; - interrupts = <0x0 0x12 0x0>, - <0x0 0x12 0x1>, - <0x0 0x12 0x2>, - <0x0 0x12 0x3>, - <0x0 0x12 0x4>; - - interrupt-names = "batt-pres", - "bat-temp-ok", - "bat-fet-on", - "vcp-on", - "psi"; - - }; - - pm8226_chg_otg: qcom,usb-chgpth@1300 { - status = "disabled"; - reg = <0x1300 0x100>; - interrupts = <0 0x13 0x0>, - <0 0x13 0x1>, - <0x0 0x13 0x2>; - - interrupt-names = "coarse-det-usb", - "usbin-valid", - "chg-gone"; - }; - - pm8226_chg_boost: qcom,boost@1500 { - status = "disabled"; - reg = <0x1500 0x100>; - interrupts = <0x0 0x15 0x0>, - <0x0 0x15 0x1>; - - interrupt-names = "boost-pwr-ok", - "limit-error"; - }; - - qcom,chg-misc@1600 { - status = "disabled"; - reg = <0x1600 0x100>; - }; - }; - - pm8226_bms: qcom,bms { - spmi-dev-container; - compatible = "qcom,qpnp-bms"; - #address-cells = <1>; - #size-cells = <1>; - status = "disabled"; - - qcom,r-sense-uohm = <10000>; - qcom,v-cutoff-uv = <3400000>; - qcom,max-voltage-uv = <4200000>; - qcom,r-conn-mohm = <0>; - qcom,shutdown-soc-valid-limit = <20>; - qcom,adjust-soc-low-threshold = <15>; - qcom,ocv-voltage-high-threshold-uv = <3750000>; - qcom,ocv-voltage-low-threshold-uv = <3650000>; - qcom,low-soc-calculate-soc-threshold = <15>; - qcom,low-soc-calculate-soc-ms = <5000>; - qcom,calculate-soc-ms = <20000>; - qcom,chg-term-ua = <100000>; - qcom,batt-type = <0>; - qcom,tm-temp-margin = <5000>; - qcom,low-ocv-correction-limit-uv = <100>; - qcom,high-ocv-correction-limit-uv = <50>; - qcom,hold-soc-est = <3>; - qcom,low-voltage-threshold = <3420000>; - - qcom,bms-iadc@3800 { - reg = <0x3800 0x100>; - }; - - qcom,bms-bms@4000 { - reg = <0x4000 0x100>; - interrupts = <0x0 0x40 0x0>, - <0x0 0x40 0x1>, - <0x0 0x40 0x2>, - <0x0 0x40 0x3>, - <0x0 0x40 0x4>, - <0x0 0x40 0x5>, - <0x0 0x40 0x6>, - <0x0 0x40 0x7>; - - interrupt-names = "vsense_for_r", - "vsense_avg", - "sw_cc_thr", - "ocv_thr", - "charge_begin", - "good_ocv", - "ocv_for_r", - "cc_thr"; - }; - }; - - qcom,leds@a100 { - compatible = "qcom,leds-qpnp"; - reg = <0xa100 0x100>; - label = "mpp"; - }; - - qcom,leds@a300 { - compatible = "qcom,leds-qpnp"; - reg = <0xa300 0x100>; - label = "mpp"; - }; - - qcom,leds@a500 { - compatible = "qcom,leds-qpnp"; - reg = <0xa500 0x100>; - label = "mpp"; - }; - - pm8226_gpios: gpios { - spmi-dev-container; - compatible = "qcom,qpnp-pin"; - gpio-controller; - #gpio-cells = <2>; - #address-cells = <1>; - #size-cells = <1>; - label = "pm8226-gpio"; - - gpio@c000 { - reg = <0xc000 0x100>; - qcom,pin-num = <1>; - }; - - gpio@c100 { - reg = <0xc100 0x100>; - qcom,pin-num = <2>; - }; - - gpio@c200 { - reg = <0xc200 0x100>; - qcom,pin-num = <3>; - }; - - gpio@c300 { - reg = <0xc300 0x100>; - qcom,pin-num = <4>; - }; - - gpio@c400 { - reg = <0xc400 0x100>; - qcom,pin-num = <5>; - }; - - gpio@c500 { - reg = <0xc500 0x100>; - qcom,pin-num = <6>; - }; - - gpio@c600 { - reg = <0xc600 0x100>; - qcom,pin-num = <7>; - }; - - gpio@c700 { - reg = <0xc700 0x100>; - qcom,pin-num = <8>; - }; - }; - - pm8226_mpps: mpps { - spmi-dev-container; - compatible = "qcom,qpnp-pin"; - gpio-controller; - #gpio-cells = <2>; - #address-cells = <1>; - #size-cells = <1>; - label = "pm8226-mpp"; - - mpp@a000 { - reg = <0xa000 0x100>; - qcom,pin-num = <1>; - }; - - mpp@a100 { - reg = <0xa100 0x100>; - qcom,pin-num = <2>; - }; - - mpp@a200 { - reg = <0xa200 0x100>; - qcom,pin-num = <3>; - }; - - mpp@a300 { - reg = <0xa300 0x100>; - qcom,pin-num = <4>; - }; - - mpp@a400 { - reg = <0xa400 0x100>; - qcom,pin-num = <5>; - }; - - mpp@a500 { - reg = <0xa500 0x100>; - qcom,pin-num = <6>; - }; - - mpp@a600 { - reg = <0xa600 0x100>; - qcom,pin-num = <7>; - }; - - mpp@a700 { - reg = <0xa700 0x100>; - qcom,pin-num = <8>; - }; - }; - - pm8226_vadc: vadc@3100 { - compatible = "qcom,qpnp-vadc"; - reg = <0x3100 0x100>; - #address-cells = <1>; - #size-cells = <0>; - interrupts = <0x0 0x31 0x0>; - interrupt-names = "eoc-int-en-set"; - qcom,adc-bit-resolution = <15>; - qcom,adc-vdd-reference = <1800>; - - chan@8 { - label = "die_temp"; - reg = <8>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <3>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@9 { - label = "ref_625mv"; - reg = <9>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@a { - label = "ref_1250v"; - reg = <0xa>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@c { - label = "ref_buf_625mv"; - reg = <0xc>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - }; - - iadc@3600 { - compatible = "qcom,qpnp-iadc"; - reg = <0x3600 0x100>; - #address-cells = <1>; - #size-cells = <0>; - interrupts = <0x0 0x36 0x0>; - interrupt-names = "eoc-int-en-set"; - qcom,adc-bit-resolution = <16>; - qcom,adc-vdd-reference = <1800>; - - chan@0 { - label = "internal_rsense"; - reg = <0>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <1>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - }; - - pm8226_adc_tm: vadc@3400 { - compatible = "qcom,qpnp-adc-tm"; - reg = <0x3400 0x100>; - #address-cells = <1>; - #size-cells = <0>; - interrupts = <0x0 0x34 0x0>, - <0x0 0x34 0x3>, - <0x0 0x34 0x4>; - interrupt-names = "eoc-int-en-set", - "high-thr-en-set", - "low-thr-en-set"; - qcom,adc-bit-resolution = <15>; - qcom,adc-vdd-reference = <1800>; - }; - - qcom,temp-alarm@2400 { - compatible = "qcom,qpnp-temp-alarm"; - reg = <0x2400 0x100>; - interrupts = <0x0 0x24 0x0>; - label = "pm8226_tz"; - qcom,channel-num = <8>; - qcom,threshold-set = <0>; - }; - - qcom,pm8226_rtc { - spmi-dev-container; - compatible = "qcom,qpnp-rtc"; - #address-cells = <1>; - #size-cells = <1>; - qcom,qpnp-rtc-write = <0>; - qcom,qpnp-rtc-alarm-pwrup = <0>; - - qcom,pm8226_rtc_rw@6000 { - reg = <0x6000 0x100>; - }; - qcom,pm8226_rtc_alarm@6100 { - reg = <0x6100 0x100>; - interrupts = <0x0 0x61 0x1>; - }; - }; - }; - - qcom,pm8226@1 { - spmi-slave-container; - reg = <0x1>; - #address-cells = <1>; - #size-cells = <1>; - - regulator@1400 { - regulator-name = "8226_s1"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x1400 0x300>; - status = "disabled"; - - qcom,ctl@1400 { - reg = <0x1400 0x100>; - }; - qcom,ps@1500 { - reg = <0x1500 0x100>; - }; - qcom,freq@1600 { - reg = <0x1600 0x100>; - }; - }; - - regulator@1700 { - regulator-name = "8226_s2"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x1700 0x300>; - status = "disabled"; - - qcom,ctl@1700 { - reg = <0x1700 0x100>; - }; - qcom,ps@1800 { - reg = <0x1800 0x100>; - }; - qcom,freq@1900 { - reg = <0x1900 0x100>; - }; - }; - - regulator@1a00 { - regulator-name = "8226_s3"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x1a00 0x300>; - status = "disabled"; - - qcom,ctl@1a00 { - reg = <0x1a00 0x100>; - }; - qcom,ps@1b00 { - reg = <0x1b00 0x100>; - }; - qcom,freq@1c00 { - reg = <0x1c00 0x100>; - }; - }; - - regulator@1d00 { - regulator-name = "8226_s4"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x1d00 0x300>; - status = "disabled"; - - qcom,ctl@1d00 { - reg = <0x1d00 0x100>; - }; - qcom,ps@1e00 { - reg = <0x1e00 0x100>; - }; - qcom,freq@1f00 { - reg = <0x1f00 0x100>; - }; - }; - - regulator@2000 { - regulator-name = "8226_s5"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x2000 0x300>; - status = "disabled"; - - qcom,ctl@2000 { - reg = <0x2000 0x100>; - }; - qcom,ps@2100 { - reg = <0x2100 0x100>; - }; - qcom,freq@2200 { - reg = <0x2200 0x100>; - }; - }; - - regulator@4000 { - regulator-name = "8226_l1"; - reg = <0x4000 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4100 { - regulator-name = "8226_l2"; - reg = <0x4100 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4200 { - regulator-name = "8226_l3"; - reg = <0x4200 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4300 { - regulator-name = "8226_l4"; - reg = <0x4300 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4400 { - regulator-name = "8226_l5"; - reg = <0x4400 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4500 { - regulator-name = "8226_l6"; - reg = <0x4500 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4600 { - regulator-name = "8226_l7"; - reg = <0x4600 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4700 { - regulator-name = "8226_l8"; - reg = <0x4700 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4800 { - regulator-name = "8226_l9"; - reg = <0x4800 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4900 { - regulator-name = "8226_l10"; - reg = <0x4900 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4b00 { - regulator-name = "8226_l12"; - reg = <0x4b00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4d00 { - regulator-name = "8226_l14"; - reg = <0x4d00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4e00 { - regulator-name = "8226_l15"; - reg = <0x4e00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4f00 { - regulator-name = "8226_l16"; - reg = <0x4f00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5000 { - regulator-name = "8226_l17"; - reg = <0x5000 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5100 { - regulator-name = "8226_l18"; - reg = <0x5100 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5200 { - regulator-name = "8226_l19"; - reg = <0x5200 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5300 { - regulator-name = "8226_l20"; - reg = <0x5300 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5400 { - regulator-name = "8226_l21"; - reg = <0x5400 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5500 { - regulator-name = "8226_l22"; - reg = <0x5500 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5600 { - regulator-name = "8226_l23"; - reg = <0x5600 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5700 { - regulator-name = "8226_l24"; - reg = <0x5700 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5900 { - regulator-name = "8226_l26"; - reg = <0x5900 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5a00 { - regulator-name = "8226_l27"; - reg = <0x5a00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5b00 { - regulator-name = "8226_l28"; - reg = <0x5b00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - qcom,leds@d800 { - compatible = "qcom,leds-qpnp"; - reg = <0xd800 0x100>; - label = "wled"; - }; - - pwm@b100 { - compatible = "qcom,qpnp-pwm"; - reg = <0xb100 0x100>, - <0xb042 0x7e>; - reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base"; - qcom,channel-id = <0>; - }; - - pwm@b200 { - compatible = "qcom,qpnp-pwm"; - reg = <0xb200 0x100>, - <0xb042 0x7e>; - reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base"; - qcom,channel-id = <1>; - }; - - pwm@b300 { - compatible = "qcom,qpnp-pwm"; - reg = <0xb300 0x100>, - <0xb042 0x7e>; - reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base"; - qcom,channel-id = <2>; - }; - - pwm@b400 { - compatible = "qcom,qpnp-pwm"; - reg = <0xb400 0x100>, - <0xb042 0x7e>; - reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base"; - qcom,channel-id = <3>; - }; - - pwm@b500 { - compatible = "qcom,qpnp-pwm"; - reg = <0xb500 0x100>, - <0xb042 0x7e>; - reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base"; - qcom,channel-id = <4>; - }; - - pwm@b600 { - compatible = "qcom,qpnp-pwm"; - reg = <0xb600 0x100>, - <0xb042 0x7e>; - reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base"; - qcom,channel-id = <5>; - }; - - regulator@8000 { - regulator-name = "8226_lvs1"; - reg = <0x8000 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - qcom,vibrator@c000 { - compatible = "qcom,qpnp-vibrator"; - reg = <0xc000 0x100>; - label = "vibrator"; - status = "disabled"; - }; - - qcom,leds@d300 { - compatible = "qcom,leds-qpnp"; - status = "okay"; - reg = <0xd300 0x100>; - label = "flash"; - flash_boost-supply = <&pm8226_chg_boost>; - pm8226_flash0: qcom,flash_0 { - qcom,max-current = <1000>; - qcom,default-state = "off"; - qcom,headroom = <0>; - qcom,duration = <1280>; - qcom,clamp-curr = <200>; - qcom,startup-dly = <1>; - qcom,safety-timer; - label = "flash"; - linux,default-trigger = - "flash0_trigger"; - qcom,id = <1>; - linux,name = "led:flash_0"; - qcom,current = <625>; - }; - - pm8226_flash1: qcom,flash_1 { - qcom,max-current = <1000>; - qcom,default-state = "off"; - qcom,headroom = <0>; - qcom,duration = <1280>; - qcom,clamp-curr = <200>; - qcom,startup-dly = <1>; - qcom,safety-timer; - linux,default-trigger = - "flash1_trigger"; - label = "flash"; - qcom,id = <2>; - linux,name = "led:flash_1"; - qcom,current = <625>; - }; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/msm-pm8841.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v3/msm-pm8841.dtsi deleted file mode 100644 index a2d80ec05..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/msm-pm8841.dtsi +++ /dev/null @@ -1,242 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&spmi_bus { - #address-cells = <1>; - #size-cells = <0>; - interrupt-controller; - #interrupt-cells = <3>; - - qcom,pm8841@4 { - spmi-slave-container; - reg = <0x4>; - #address-cells = <1>; - #size-cells = <1>; - - qcom,qpnp-revid@100 { - compatible = "qcom,qpnp-revid"; - reg = <0x100 0x100>; - }; - - qcom,temp-alarm@2400 { - compatible = "qcom,qpnp-temp-alarm"; - reg = <0x2400 0x100>; - interrupts = <0x4 0x24 0x0>; - label = "pm8841_tz"; - qcom,threshold-set = <0>; - qcom,default-temp = <37000>; - }; - - pm8841_mpps: mpps { - spmi-dev-container; - compatible = "qcom,qpnp-pin"; - gpio-controller; - #gpio-cells = <2>; - #address-cells = <1>; - #size-cells = <1>; - label = "pm8841-mpp"; - - mpp@a000 { - reg = <0xa000 0x100>; - qcom,pin-num = <1>; - }; - - mpp@a100 { - reg = <0xa100 0x100>; - qcom,pin-num = <2>; - }; - - mpp@a200 { - reg = <0xa200 0x100>; - qcom,pin-num = <3>; - }; - - mpp@a300 { - reg = <0xa300 0x100>; - qcom,pin-num = <4>; - }; - }; - }; - - qcom,pm8841@5 { - spmi-slave-container; - reg = <0x5>; - #address-cells = <1>; - #size-cells = <1>; - - regulator@1400 { - regulator-name = "8841_s1"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x1400 0x300>; - status = "disabled"; - - qcom,ctl@1400 { - reg = <0x1400 0x100>; - }; - qcom,ps@1500 { - reg = <0x1500 0x100>; - }; - qcom,freq@1600 { - reg = <0x1600 0x100>; - }; - }; - - regulator@1700 { - regulator-name = "8841_s2"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x1700 0x300>; - status = "disabled"; - qcom,force-type = <0x1c 0x08>; - - qcom,ctl@1700 { - reg = <0x1700 0x100>; - }; - qcom,ps@1800 { - reg = <0x1800 0x100>; - }; - qcom,freq@1900 { - reg = <0x1900 0x100>; - }; - }; - - regulator@1a00 { - regulator-name = "8841_s3"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x1a00 0x300>; - status = "disabled"; - - qcom,ctl@1a00 { - reg = <0x1a00 0x100>; - }; - qcom,ps@1b00 { - reg = <0x1b00 0x100>; - }; - qcom,freq@1c00 { - reg = <0x1c00 0x100>; - }; - }; - - regulator@1d00 { - regulator-name = "8841_s4"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x1d00 0x300>; - status = "disabled"; - qcom,force-type = <0x1c 0x08>; - - qcom,ctl@1d00 { - reg = <0x1d00 0x100>; - }; - qcom,ps@1e00 { - reg = <0x1e00 0x100>; - }; - qcom,freq@1f00 { - reg = <0x1f00 0x100>; - }; - }; - - regulator@2000 { - regulator-name = "8841_s5"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x2000 0x300>; - status = "disabled"; - qcom,force-type = <0x1c 0x08>; - - qcom,ctl@0 { - reg = <0x2000 0x100>; - }; - qcom,ps@100 { - reg = <0x2100 0x100>; - }; - qcom,freq@200 { - reg = <0x2200 0x100>; - }; - }; - - regulator@2300 { - regulator-name = "8841_s6"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x2300 0x300>; - status = "disabled"; - qcom,force-type = <0x1c 0x08>; - - qcom,ctl@2300 { - reg = <0x2300 0x100>; - }; - qcom,ps@2400 { - reg = <0x2400 0x100>; - }; - qcom,freq@2500 { - reg = <0x2500 0x100>; - }; - }; - - regulator@2600 { - regulator-name = "8841_s7"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x2600 0x300>; - status = "disabled"; - qcom,force-type = <0x1c 0x08>; - - qcom,ctl@2600 { - reg = <0x2600 0x100>; - }; - qcom,ps@2700 { - reg = <0x2700 0x100>; - }; - qcom,freq@2800 { - reg = <0x2800 0x100>; - }; - }; - - regulator@2900 { - regulator-name = "8841_s8"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x2900 0x300>; - status = "disabled"; - qcom,force-type = <0x1c 0x08>; - - qcom,ctl@2900 { - reg = <0x2900 0x100>; - }; - qcom,ps@2a000 { - reg = <0x2a00 0x100>; - }; - qcom,freq@2b00 { - reg = <0x2b00 0x100>; - }; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/msm-pm8941.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v3/msm-pm8941.dtsi deleted file mode 100644 index b4e557e16..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/msm-pm8941.dtsi +++ /dev/null @@ -1,1384 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&spmi_bus { - #address-cells = <1>; - #size-cells = <0>; - interrupt-controller; - #interrupt-cells = <3>; - - qcom,pm8941@0 { - spmi-slave-container; - reg = <0x0>; - #address-cells = <1>; - #size-cells = <1>; - - pm8941_misc: qcom,misc@900 { - compatible = "qcom,qpnp-misc"; - reg = <0x900 0x100>; - }; - - qcom,revid@100 { - compatible = "qcom,qpnp-revid"; - reg = <0x100 0x100>; - }; - - qcom,temp-alarm@2400 { - compatible = "qcom,qpnp-temp-alarm"; - reg = <0x2400 0x100>; - interrupts = <0x0 0x24 0x0>; - label = "pm8941_tz"; - qcom,channel-num = <8>; - qcom,threshold-set = <0>; - }; - - qcom,power-on@800 { - compatible = "qcom,qpnp-power-on"; - reg = <0x800 0x100>; - interrupts = <0x0 0x8 0x0>, - <0x0 0x8 0x1>, - <0x0 0x8 0x4>; - interrupt-names = "kpdpwr", "resin", "resin-bark"; - qcom,pon-dbc-delay = <15625>; - qcom,system-reset; - - qcom,pon_1 { - qcom,pon-type = <0>; - qcom,pull-up = <1>; - linux,code = <116>; - }; - - qcom,pon_2 { - qcom,pon-type = <1>; - qcom,support-reset = <1>; - qcom,pull-up = <1>; - qcom,s1-timer = <0>; - qcom,s2-timer = <2000>; - qcom,s2-type = <1>; - linux,code = <114>; - }; - }; - - bif_ctrl: qcom,bsi@1b00 { - compatible = "qcom,qpnp-bsi"; - reg = <0x1b00 0x100>, - <0x1208 0x1>; - reg-names = "bsi-base", "batt-id-status"; - label = "pm8941-bsi"; - interrupts = <0x0 0x1b 0x0>, - <0x0 0x1b 0x1>, - <0x0 0x1b 0x2>, - <0x0 0x12 0x0>; - interrupt-names = "err", - "rx", - "tx", - "batt-present"; - qcom,channel-num = <0x31>; - qcom,pullup-ohms = <100000>; - qcom,vref-microvolts = <1800000>; - qcom,min-clock-period = <1000>; - qcom,max-clock-period = <160000>; - qcom,sample-rate = <4>; - }; - - pm8941_coincell: qcom,coincell@2800 { - compatible = "qcom,qpnp-coincell"; - reg = <0x2800 0x100>; - }; - - pm8941_bms: qcom,bms { - spmi-dev-container; - compatible = "qcom,qpnp-bms"; - #address-cells = <1>; - #size-cells = <1>; - status = "disabled"; - - qcom,r-sense-uohm = <10000>; - qcom,v-cutoff-uv = <3400000>; - qcom,max-voltage-uv = <4200000>; - qcom,r-conn-mohm = <0>; - qcom,shutdown-soc-valid-limit = <20>; - qcom,adjust-soc-low-threshold = <15>; - qcom,ocv-voltage-high-threshold-uv = <3750000>; - qcom,ocv-voltage-low-threshold-uv = <3650000>; - qcom,low-soc-calculate-soc-threshold = <15>; - qcom,low-soc-calculate-soc-ms = <5000>; - qcom,calculate-soc-ms = <20000>; - qcom,chg-term-ua = <100000>; - qcom,batt-type = <0>; - qcom,low-voltage-threshold = <3420000>; - qcom,tm-temp-margin = <5000>; - qcom,low-ocv-correction-limit-uv = <100>; - qcom,high-ocv-correction-limit-uv = <50>; - qcom,hold-soc-est = <3>; - - qcom,bms-iadc@3800 { - reg = <0x3800 0x100>; - }; - - qcom,bms-bms@4000 { - reg = <0x4000 0x100>; - interrupts = <0x0 0x40 0x0>, - <0x0 0x40 0x1>, - <0x0 0x40 0x2>, - <0x0 0x40 0x3>, - <0x0 0x40 0x4>, - <0x0 0x40 0x5>, - <0x0 0x40 0x6>, - <0x0 0x40 0x7>; - - interrupt-names = "vsense_for_r", - "vsense_avg", - "sw_cc_thr", - "ocv_thr", - "charge_begin", - "good_ocv", - "ocv_for_r", - "cc_thr"; - }; - }; - - clkdiv@5b00 { - reg = <0x5b00 0x100>; - compatible = "qcom,qpnp-clkdiv"; - qcom,cxo-freq = <19200000>; - }; - - clkdiv@5c00 { - reg = <0x5c00 0x100>; - compatible = "qcom,qpnp-clkdiv"; - qcom,cxo-freq = <19200000>; - }; - - clkdiv@5d00 { - reg = <0x5d00 0x1000>; - compatible = "qcom,qpnp-clkdiv"; - qcom,cxo-freq = <19200000>; - }; - - pm8941_chg: qcom,charger { - spmi-dev-container; - compatible = "qcom,qpnp-charger"; - #address-cells = <1>; - #size-cells = <1>; - status = "disabled"; - - qcom,vddmax-mv = <4200>; - qcom,vddsafe-mv = <4230>; - qcom,vinmin-mv = <4300>; - qcom,ibatmax-ma = <1500>; - qcom,ibatterm-ma = <100>; - qcom,ibatsafe-ma = <1500>; - qcom,thermal-mitigation = <1500 700 600 325>; - qcom,cool-bat-decidegc = <100>; - qcom,cool-bat-mv = <4100>; - qcom,ibatmax-warm-ma = <350>; - qcom,warm-bat-decidegc = <450>; - qcom,warm-bat-mv = <4100>; - qcom,ibatmax-cool-ma = <350>; - qcom,vbatdet-delta-mv = <100>; - qcom,tchg-mins = <150>; - - qcom,chgr@1000 { - status = "disabled"; - reg = <0x1000 0x100>; - interrupts = <0x0 0x10 0x0>, - <0x0 0x10 0x1>, - <0x0 0x10 0x2>, - <0x0 0x10 0x3>, - <0x0 0x10 0x4>, - <0x0 0x10 0x5>, - <0x0 0x10 0x6>, - <0x0 0x10 0x7>; - - interrupt-names = "vbat-det-lo", - "vbat-det-hi", - "chgwdog", - "state-change", - "trkl-chg-on", - "fast-chg-on", - "chg-failed", - "chg-done"; - }; - - qcom,buck@1100 { - status = "disabled"; - reg = <0x1100 0x100>; - interrupts = <0x0 0x11 0x0>, - <0x0 0x11 0x1>, - <0x0 0x11 0x2>, - <0x0 0x11 0x3>, - <0x0 0x11 0x4>, - <0x0 0x11 0x5>, - <0x0 0x11 0x6>; - - interrupt-names = "vbat-ov", - "vreg-ov", - "overtemp", - "vchg-loop", - "ichg-loop", - "ibat-loop", - "vdd-loop"; - }; - - qcom,bat-if@1200 { - status = "disabled"; - reg = <0x1200 0x100>; - interrupts = <0x0 0x12 0x0>, - <0x0 0x12 0x1>, - <0x0 0x12 0x2>, - <0x0 0x12 0x3>, - <0x0 0x12 0x4>; - - interrupt-names = "batt-pres", - "bat-temp-ok", - "bat-fet-on", - "vcp-on", - "psi"; - - }; - - pm8941_chg_otg: qcom,usb-chgpth@1300 { - status = "disabled"; - reg = <0x1300 0x100>; - interrupts = <0 0x13 0x0>, - <0 0x13 0x1>, - <0x0 0x13 0x2>; - - interrupt-names = "coarse-det-usb", - "usbin-valid", - "chg-gone"; - }; - - qcom,dc-chgpth@1400 { - status = "disabled"; - reg = <0x1400 0x100>; - interrupts = <0x0 0x14 0x0>, - <0x0 0x14 0x1>; - - interrupt-names = "coarse-det-dc", - "dcin-valid"; - }; - - pm8941_chg_boost: qcom,boost@1500 { - status = "disabled"; - reg = <0x1500 0x100>; - interrupts = <0x0 0x15 0x0>, - <0x0 0x15 0x1>; - - interrupt-names = "boost-pwr-ok", - "limit-error"; - }; - - qcom,chg-misc@1600 { - status = "disabled"; - reg = <0x1600 0x100>; - }; - }; - - pm8941_gpios: gpios { - spmi-dev-container; - compatible = "qcom,qpnp-pin"; - gpio-controller; - #gpio-cells = <2>; - #address-cells = <1>; - #size-cells = <1>; - label = "pm8941-gpio"; - - gpio@c000 { - reg = <0xc000 0x100>; - qcom,pin-num = <1>; - }; - - gpio@c100 { - reg = <0xc100 0x100>; - qcom,pin-num = <2>; - }; - - gpio@c200 { - reg = <0xc200 0x100>; - qcom,pin-num = <3>; - }; - - gpio@c300 { - reg = <0xc300 0x100>; - qcom,pin-num = <4>; - }; - - gpio@c400 { - reg = <0xc400 0x100>; - qcom,pin-num = <5>; - }; - - gpio@c500 { - reg = <0xc500 0x100>; - qcom,pin-num = <6>; - }; - - gpio@c600 { - reg = <0xc600 0x100>; - qcom,pin-num = <7>; - }; - - gpio@c700 { - reg = <0xc700 0x100>; - qcom,pin-num = <8>; - }; - - gpio@c800 { - reg = <0xc800 0x100>; - qcom,pin-num = <9>; - }; - - gpio@c900 { - reg = <0xc900 0x100>; - qcom,pin-num = <10>; - }; - - gpio@ca00 { - reg = <0xca00 0x100>; - qcom,pin-num = <11>; - }; - - gpio@cb00 { - reg = <0xcb00 0x100>; - qcom,pin-num = <12>; - }; - - gpio@cc00 { - reg = <0xcc00 0x100>; - qcom,pin-num = <13>; - }; - - gpio@cd00 { - reg = <0xcd00 0x100>; - qcom,pin-num = <14>; - }; - - gpio@ce00 { - reg = <0xce00 0x100>; - qcom,pin-num = <15>; - }; - - gpio@cf00 { - reg = <0xcf00 0x100>; - qcom,pin-num = <16>; - }; - - gpio@d000 { - reg = <0xd000 0x100>; - qcom,pin-num = <17>; - }; - - gpio@d100 { - reg = <0xd100 0x100>; - qcom,pin-num = <18>; - }; - - gpio@d200 { - reg = <0xd200 0x100>; - qcom,pin-num = <19>; - }; - - gpio@d300 { - reg = <0xd300 0x100>; - qcom,pin-num = <20>; - }; - - gpio@d400 { - reg = <0xd400 0x100>; - qcom,pin-num = <21>; - }; - - gpio@d500 { - reg = <0xd500 0x100>; - qcom,pin-num = <22>; - }; - - gpio@d600 { - reg = <0xd600 0x100>; - qcom,pin-num = <23>; - }; - - gpio@d700 { - reg = <0xd700 0x100>; - qcom,pin-num = <24>; - }; - - gpio@d800 { - reg = <0xd800 0x100>; - qcom,pin-num = <25>; - }; - - gpio@d900 { - reg = <0xd900 0x100>; - qcom,pin-num = <26>; - }; - - gpio@da00 { - reg = <0xda00 0x100>; - qcom,pin-num = <27>; - }; - - gpio@db00 { - reg = <0xdb00 0x100>; - qcom,pin-num = <28>; - }; - - gpio@dc00 { - reg = <0xdc00 0x100>; - qcom,pin-num = <29>; - }; - - gpio@dd00 { - reg = <0xdd00 0x100>; - qcom,pin-num = <30>; - }; - - gpio@de00 { - reg = <0xde00 0x100>; - qcom,pin-num = <31>; - }; - - gpio@df00 { - reg = <0xdf00 0x100>; - qcom,pin-num = <32>; - }; - - gpio@e000 { - reg = <0xe000 0x100>; - qcom,pin-num = <33>; - }; - - gpio@e100 { - reg = <0xe100 0x100>; - qcom,pin-num = <34>; - }; - - gpio@e200 { - reg = <0xe200 0x100>; - qcom,pin-num = <35>; - }; - - gpio@e300 { - reg = <0xe300 0x100>; - qcom,pin-num = <36>; - }; - }; - - pm8941_mpps: mpps { - spmi-dev-container; - compatible = "qcom,qpnp-pin"; - gpio-controller; - #gpio-cells = <2>; - #address-cells = <1>; - #size-cells = <1>; - label = "pm8941-mpp"; - - mpp@a000 { - reg = <0xa000 0x100>; - qcom,pin-num = <1>; - }; - - mpp@a100 { - reg = <0xa100 0x100>; - qcom,pin-num = <2>; - }; - - mpp@a200 { - reg = <0xa200 0x100>; - qcom,pin-num = <3>; - }; - - mpp@a300 { - reg = <0xa300 0x100>; - qcom,pin-num = <4>; - }; - - mpp@a400 { - reg = <0xa400 0x100>; - qcom,pin-num = <5>; - }; - - mpp@a500 { - reg = <0xa500 0x100>; - qcom,pin-num = <6>; - }; - - mpp@a600 { - reg = <0xa600 0x100>; - qcom,pin-num = <7>; - }; - - mpp@a700 { - reg = <0xa700 0x100>; - qcom,pin-num = <8>; - }; - }; - - qcom,pm8941_rtc { - spmi-dev-container; - compatible = "qcom,qpnp-rtc"; - #address-cells = <1>; - #size-cells = <1>; - qcom,qpnp-rtc-write = <0>; - qcom,qpnp-rtc-alarm-pwrup = <0>; - - qcom,pm8941_rtc_rw@6000 { - reg = <0x6000 0x100>; - }; - qcom,pm8941_rtc_alarm@6100 { - reg = <0x6100 0x100>; - interrupts = <0x0 0x61 0x1>; - }; - }; - - vadc@3100 { - compatible = "qcom,qpnp-vadc"; - reg = <0x3100 0x100>; - #address-cells = <1>; - #size-cells = <0>; - interrupts = <0x0 0x31 0x0>; - interrupt-names = "eoc-int-en-set"; - qcom,adc-bit-resolution = <15>; - qcom,adc-vdd-reference = <1800>; - - chan@0 { - label = "usb_in"; - reg = <0>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <4>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@1 { - label = "dc_in"; - reg = <1>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <4>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@2 { - label = "vchg_sns"; - reg = <2>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <3>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@3 { - label = "spare1_div3"; - reg = <3>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <1>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@4 { - label = "usb_id_mv"; - reg = <4>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <1>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@5 { - label = "vcoin"; - reg = <5>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <1>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@6 { - label = "vbat_sns"; - reg = <6>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <1>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@7 { - label = "vph_pwr"; - reg = <7>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <1>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@8 { - label = "die_temp"; - reg = <8>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <3>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@9 { - label = "ref_625mv"; - reg = <9>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@a { - label = "ref_1250v"; - reg = <0xa>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@30 { - label = "batt_therm"; - reg = <0x30>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <1>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@31 { - label = "batt_id"; - reg = <0x31>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@b2 { - label = "xo_therm_pu2"; - reg = <0xb2>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <4>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@b3 { - label = "msm_therm"; - reg = <0xb3>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@b4 { - label = "emmc_therm"; - reg = <0xb4>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@b5 { - label = "pa_therm0"; - reg = <0xb5>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@b7 { - label = "pa_therm1"; - reg = <0xb7>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@b8 { - label = "quiet_therm"; - reg = <0xb8>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@b9 { - label = "usb_id"; - reg = <0xb9>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@39 { - label = "usb_id_nopull"; - reg = <0x39>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - }; - - iadc@3600 { - compatible = "qcom,qpnp-iadc"; - reg = <0x3600 0x100>; - #address-cells = <1>; - #size-cells = <0>; - interrupts = <0x0 0x36 0x0>; - interrupt-names = "eoc-int-en-set"; - qcom,adc-bit-resolution = <16>; - qcom,adc-vdd-reference = <1800>; - - chan@0 { - label = "internal_rsense"; - reg = <0>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <1>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - }; - - qcom,vadc@3400 { - compatible = "qcom,qpnp-adc-tm"; - reg = <0x3400 0x100>; - #address-cells = <1>; - #size-cells = <0>; - interrupts = <0x0 0x34 0x0>, - <0x0 0x34 0x3>, - <0x0 0x34 0x4>; - interrupt-names = "eoc-int-en-set", - "high-thr-en-set", - "low-thr-en-set"; - qcom,adc-bit-resolution = <15>; - qcom,adc-vdd-reference = <1800>; - - /* Channel Node */ - chan@b9 { - label = "usb_id"; - reg = <0xb9>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <3>; - qcom,btm-channel-number = <0x48>; - }; - - chan@30 { - label = "batt_therm"; - reg = <0x30>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <1>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <3>; - qcom,btm-channel-number = <0x68>; - }; - - chan@8 { - label = "die_temp"; - reg = <8>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <3>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <3>; - qcom,btm-channel-number = <0x70>; - }; - - chan@6 { - label = "vbat_sns"; - reg = <6>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <1>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <3>; - qcom,btm-channel-number = <0x78>; - }; - - chan@b5 { - label = "pa_therm0"; - reg = <0xb5>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <3>; - qcom,btm-channel-number = <0x80>; - qcom,thermal-node; - }; - - chan@b7 { - label = "pa_therm1"; - reg = <0xb7>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <3>; - qcom,btm-channel-number = <0x88>; - qcom,thermal-node; - }; - - chan@b4 { - label = "emmc_therm"; - reg = <0xb4>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <3>; - qcom,btm-channel-number = <0x90>; - qcom,thermal-node; - }; - - chan@b3 { - label = "msm_therm"; - reg = <0xb3>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <3>; - qcom,btm-channel-number = <0x98>; - qcom,thermal-node; - }; - }; - }; - - qcom,pm8941@1 { - spmi-slave-container; - reg = <0x1>; - #address-cells = <1>; - #size-cells = <1>; - - regulator@1400 { - regulator-name = "8941_s1"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x1400 0x300>; - status = "disabled"; - - qcom,ctl@1400 { - reg = <0x1400 0x100>; - }; - qcom,ps@1500 { - reg = <0x1500 0x100>; - }; - qcom,freq@1600 { - reg = <0x1600 0x100>; - }; - }; - - regulator@1700 { - regulator-name = "8941_s2"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x1700 0x300>; - status = "disabled"; - - qcom,ctl@1700 { - reg = <0x1700 0x100>; - }; - qcom,ps@1800 { - reg = <0x1800 0x100>; - }; - qcom,freq@1900 { - reg = <0x1900 0x100>; - }; - }; - - regulator@1a00 { - regulator-name = "8941_s3"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x1a00 0x300>; - status = "disabled"; - - qcom,ctl@1a00 { - reg = <0x1a00 0x100>; - }; - qcom,ps@1b00 { - reg = <0x1b00 0x100>; - }; - qcom,freq@1c00 { - reg = <0x1c00 0x100>; - }; - }; - - regulator@a000 { - regulator-name = "8941_boost"; - reg = <0xa000 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4000 { - regulator-name = "8941_l1"; - reg = <0x4000 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4100 { - regulator-name = "8941_l2"; - reg = <0x4100 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4200 { - regulator-name = "8941_l3"; - reg = <0x4200 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4300 { - regulator-name = "8941_l4"; - reg = <0x4300 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4400 { - regulator-name = "8941_l5"; - reg = <0x4400 0x100>; - compatible = "qcom,qpnp-regulator"; - qcom,force-type = <0x04 0x10>; - status = "disabled"; - }; - - regulator@4500 { - regulator-name = "8941_l6"; - reg = <0x4500 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4600 { - regulator-name = "8941_l7"; - reg = <0x4600 0x100>; - compatible = "qcom,qpnp-regulator"; - qcom,force-type = <0x04 0x10>; - status = "disabled"; - }; - - regulator@4700 { - regulator-name = "8941_l8"; - reg = <0x4700 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4800 { - regulator-name = "8941_l9"; - reg = <0x4800 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4900 { - regulator-name = "8941_l10"; - reg = <0x4900 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4a00 { - regulator-name = "8941_l11"; - reg = <0x4a00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4b00 { - regulator-name = "8941_l12"; - reg = <0x4b00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4c00 { - regulator-name = "8941_l13"; - reg = <0x4c00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4d00 { - regulator-name = "8941_l14"; - reg = <0x4d00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4e00 { - regulator-name = "8941_l15"; - reg = <0x4e00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4f00 { - regulator-name = "8941_l16"; - reg = <0x4f00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5000 { - regulator-name = "8941_l17"; - reg = <0x5000 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5100 { - regulator-name = "8941_l18"; - reg = <0x5100 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5200 { - regulator-name = "8941_l19"; - reg = <0x5200 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5300 { - regulator-name = "8941_l20"; - reg = <0x5300 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5400 { - regulator-name = "8941_l21"; - reg = <0x5400 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5500 { - regulator-name = "8941_l22"; - reg = <0x5500 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5600 { - regulator-name = "8941_l23"; - reg = <0x5600 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5700 { - regulator-name = "8941_l24"; - reg = <0x5700 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@8000 { - regulator-name = "8941_lvs1"; - reg = <0x8000 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@8100 { - regulator-name = "8941_lvs2"; - reg = <0x8100 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@8200 { - regulator-name = "8941_lvs3"; - reg = <0x8200 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@8300 { - regulator-name = "8941_mvs1"; - reg = <0x8300 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@8400 { - regulator-name = "8941_mvs2"; - reg = <0x8400 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - qcom,vibrator@c000 { - compatible = "qcom,qpnp-vibrator"; - reg = <0xc000 0x100>; - label = "vibrator"; - status = "disabled"; - }; - - qcom,leds@d000 { - compatible = "qcom,leds-qpnp"; - reg = <0xd000 0x100>; - label = "rgb"; - }; - - qcom,leds@d100 { - compatible = "qcom,leds-qpnp"; - reg = <0xd100 0x100>; - label = "rgb"; - }; - - qcom,leds@d200 { - compatible = "qcom,leds-qpnp"; - reg = <0xd200 0x100>; - label = "rgb"; - }; - - qcom,leds@d300 { - compatible = "qcom,leds-qpnp"; - reg = <0xd300 0x100>; - label = "flash"; - flash_boost-supply = <&pm8941_chg_boost>; - }; - - qcom,leds@d400 { - compatible = "qcom,leds-qpnp"; - reg = <0xd400 0x100>; - label = "flash"; - }; - - qcom,leds@d500 { - compatible = "qcom,leds-qpnp"; - reg = <0xd500 0x100>; - label = "flash"; - }; - - qcom,leds@d600 { - compatible = "qcom,leds-qpnp"; - reg = <0xd600 0x100>; - label = "flash"; - }; - - qcom,leds@d700 { - compatible = "qcom,leds-qpnp"; - reg = <0xd700 0x100>; - label = "flash"; - }; - - qcom,leds@d800 { - compatible = "qcom,leds-qpnp"; - reg = <0xd800 0x100>; - label = "wled"; - }; - - qcom,leds@d900 { - compatible = "qcom,leds-qpnp"; - reg = <0xd900 0x100>; - label = "wled"; - }; - - qcom,leds@da00 { - compatible = "qcom,leds-qpnp"; - reg = <0xda00 0x100>; - label = "wled"; - }; - - qcom,leds@db00 { - compatible = "qcom,leds-qpnp"; - reg = <0xdb00 0x100>; - label = "wled"; - }; - - qcom,leds@dc00 { - compatible = "qcom,leds-qpnp"; - reg = <0xdc00 0x100>; - label = "wled"; - }; - - qcom,leds@dd00 { - compatible = "qcom,leds-qpnp"; - reg = <0xdd00 0x100>; - label = "wled"; - }; - - qcom,leds@de00 { - compatible = "qcom,leds-qpnp"; - reg = <0xde00 0x100>; - label = "wled"; - }; - - qcom,leds@df00 { - compatible = "qcom,leds-qpnp"; - reg = <0xdf00 0x100>; - label = "wled"; - }; - - qcom,leds@e000 { - compatible = "qcom,leds-qpnp"; - reg = <0xe000 0x100>; - label = "wled"; - }; - - qcom,leds@e100 { - compatible = "qcom,leds-qpnp"; - reg = <0xe100 0x100>; - label = "wled"; - }; - - pwm@b100 { - compatible = "qcom,qpnp-pwm"; - reg = <0xb100 0x100>, - <0xb042 0x7e>; - reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base"; - qcom,channel-id = <0>; - }; - - pwm@b200 { - compatible = "qcom,qpnp-pwm"; - reg = <0xb200 0x100>, - <0xb042 0x7e>; - reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base"; - qcom,channel-id = <1>; - }; - - pwm@b300 { - compatible = "qcom,qpnp-pwm"; - reg = <0xb300 0x100>, - <0xb042 0x7e>; - reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base"; - qcom,channel-id = <2>; - }; - - pwm@b400 { - compatible = "qcom,qpnp-pwm"; - reg = <0xb400 0x100>, - <0xb042 0x7e>; - reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base"; - qcom,channel-id = <3>; - }; - - pwm@b500 { - compatible = "qcom,qpnp-pwm"; - reg = <0xb500 0x100>, - <0xb042 0x7e>; - reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base"; - qcom,channel-id = <4>; - }; - - pwm@b600 { - compatible = "qcom,qpnp-pwm"; - reg = <0xb600 0x100>, - <0xb042 0x7e>; - reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base"; - qcom,channel-id = <5>; - }; - - pwm@b700 { - compatible = "qcom,qpnp-pwm"; - reg = <0xb700 0x100>, - <0xb042 0x7e>; - reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base"; - qcom,channel-id = <6>; - }; - - pwm@b800 { - compatible = "qcom,qpnp-pwm"; - reg = <0xb800 0x100>, - <0xb042 0x7e>; - reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base"; - qcom,channel-id = <7>; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/msm-pm8x41-rpm-regulator.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v3/msm-pm8x41-rpm-regulator.dtsi deleted file mode 100644 index 6e67dd85c..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/msm-pm8x41-rpm-regulator.dtsi +++ /dev/null @@ -1,585 +0,0 @@ -/* Copyright (c) 2012, 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. - */ - -&rpm_bus { - rpm-regulator-smpb1 { - qcom,resource-name = "smpb"; - qcom,resource-id = <1>; - qcom,regulator-type = <1>; - qcom,hpm-min-load = <100000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-s1 { - regulator-name = "8841_s1"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-smpb2 { - qcom,resource-name = "smpb"; - qcom,resource-id = <2>; - qcom,regulator-type = <1>; - qcom,hpm-min-load = <100000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-s2 { - regulator-name = "8841_s2"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-smpb3 { - qcom,resource-name = "smpb"; - qcom,resource-id = <3>; - qcom,regulator-type = <1>; - qcom,hpm-min-load = <100000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-s3 { - regulator-name = "8841_s3"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-smpb4 { - qcom,resource-name = "smpb"; - qcom,resource-id = <4>; - qcom,regulator-type = <1>; - qcom,hpm-min-load = <100000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-s4 { - regulator-name = "8841_s4"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-smpa1 { - qcom,resource-name = "smpa"; - qcom,resource-id = <1>; - qcom,regulator-type = <1>; - qcom,hpm-min-load = <100000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-s1 { - regulator-name = "8941_s1"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-smpa2 { - qcom,resource-name = "smpa"; - qcom,resource-id = <2>; - qcom,regulator-type = <1>; - qcom,hpm-min-load = <100000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-s2 { - regulator-name = "8941_s2"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-smpa3 { - qcom,resource-name = "smpa"; - qcom,resource-id = <3>; - qcom,regulator-type = <1>; - qcom,hpm-min-load = <100000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-s3 { - regulator-name = "8941_s3"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa1 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <1>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l1 { - regulator-name = "8941_l1"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa2 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <2>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l2 { - regulator-name = "8941_l2"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa3 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <3>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l3 { - regulator-name = "8941_l3"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa4 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <4>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l4 { - regulator-name = "8941_l4"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa5 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <5>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l5 { - regulator-name = "8941_l5"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa6 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <6>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l6 { - regulator-name = "8941_l6"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa7 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <7>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l7 { - regulator-name = "8941_l7"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa8 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <8>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l8 { - regulator-name = "8941_l8"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa9 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <9>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l9 { - regulator-name = "8941_l9"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa10 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <10>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l10 { - regulator-name = "8941_l10"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa11 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <11>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l11 { - regulator-name = "8941_l11"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa12 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <12>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l12 { - regulator-name = "8941_l12"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa13 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <13>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l13 { - regulator-name = "8941_l13"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa14 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <14>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l14 { - regulator-name = "8941_l14"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa15 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <15>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l15 { - regulator-name = "8941_l15"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa16 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <16>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l16 { - regulator-name = "8941_l16"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa17 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <17>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l17 { - regulator-name = "8941_l17"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa18 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <18>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l18 { - regulator-name = "8941_l18"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa19 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <19>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l19 { - regulator-name = "8941_l19"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa20 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <20>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l20 { - regulator-name = "8941_l20"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa21 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <21>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l21 { - regulator-name = "8941_l21"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa22 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <22>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l22 { - regulator-name = "8941_l22"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa23 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <23>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l23 { - regulator-name = "8941_l23"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa24 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <24>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l24 { - regulator-name = "8941_l24"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - /* TODO: find out correct resource names for LVS vs MVS */ - rpm-regulator-vsa1 { - qcom,resource-name = "vsa"; - qcom,resource-id = <1>; - qcom,regulator-type = <2>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-lvs1 { - regulator-name = "8941_lvs1"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-vsa2 { - qcom,resource-name = "vsa"; - qcom,resource-id = <2>; - qcom,regulator-type = <2>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-lvs2 { - regulator-name = "8941_lvs2"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-vsa3 { - qcom,resource-name = "vsa"; - qcom,resource-id = <3>; - qcom,regulator-type = <2>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-lvs3 { - regulator-name = "8941_lvs3"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-vsa4 { - qcom,resource-name = "vsa"; - qcom,resource-id = <4>; - qcom,regulator-type = <2>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-mvs1 { - regulator-name = "8941_mvs1"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-vsa5 { - qcom,resource-name = "vsa"; - qcom,resource-id = <5>; - qcom,regulator-type = <2>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-mvs2 { - regulator-name = "8941_mvs2"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/msm-pma8084.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v3/msm-pma8084.dtsi deleted file mode 100644 index 30525aac0..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/msm-pma8084.dtsi +++ /dev/null @@ -1,666 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&spmi_bus { - #address-cells = <1>; - #size-cells = <0>; - interrupt-controller; - #interrupt-cells = <3>; - - qcom,pma8084@0 { - spmi-slave-container; - reg = <0x0>; - #address-cells = <1>; - #size-cells = <1>; - - pma8084_gpios: gpios { - spmi-dev-container; - compatible = "qcom,qpnp-pin"; - gpio-controller; - #gpio-cells = <2>; - #address-cells = <1>; - #size-cells = <1>; - label = "pma8084-gpio"; - - gpio@c000 { - reg = <0xc000 0x100>; - qcom,pin-num = <1>; - }; - - gpio@c100 { - reg = <0xc100 0x100>; - qcom,pin-num = <2>; - }; - - gpio@c200 { - reg = <0xc200 0x100>; - qcom,pin-num = <3>; - }; - - gpio@c300 { - reg = <0xc300 0x100>; - qcom,pin-num = <4>; - }; - - gpio@c400 { - reg = <0xc400 0x100>; - qcom,pin-num = <5>; - }; - - gpio@c500 { - reg = <0xc500 0x100>; - qcom,pin-num = <6>; - }; - - gpio@c600 { - reg = <0xc600 0x100>; - qcom,pin-num = <7>; - }; - - gpio@c700 { - reg = <0xc700 0x100>; - qcom,pin-num = <8>; - }; - - gpio@c800 { - reg = <0xc800 0x100>; - qcom,pin-num = <9>; - }; - - gpio@c900 { - reg = <0xc900 0x100>; - qcom,pin-num = <10>; - }; - - gpio@ca00 { - reg = <0xca00 0x100>; - qcom,pin-num = <11>; - }; - - gpio@cb00 { - reg = <0xcb00 0x100>; - qcom,pin-num = <12>; - }; - - gpio@cc00 { - reg = <0xcc00 0x100>; - qcom,pin-num = <13>; - }; - - gpio@cd00 { - reg = <0xcd00 0x100>; - qcom,pin-num = <14>; - }; - - gpio@ce00 { - reg = <0xce00 0x100>; - qcom,pin-num = <15>; - }; - - gpio@cf00 { - reg = <0xcf00 0x100>; - qcom,pin-num = <16>; - }; - - gpio@d000 { - reg = <0xd000 0x100>; - qcom,pin-num = <17>; - }; - - gpio@d100 { - reg = <0xd100 0x100>; - qcom,pin-num = <18>; - }; - - gpio@d200 { - reg = <0xd200 0x100>; - qcom,pin-num = <19>; - }; - - gpio@d300 { - reg = <0xd300 0x100>; - qcom,pin-num = <20>; - }; - - gpio@d400 { - reg = <0xd400 0x100>; - qcom,pin-num = <21>; - }; - - gpio@d500 { - reg = <0xd500 0x100>; - qcom,pin-num = <22>; - }; - }; - - pma8084_mpps: mpps { - spmi-dev-container; - compatible = "qcom,qpnp-pin"; - gpio-controller; - #gpio-cells = <2>; - #address-cells = <1>; - #size-cells = <1>; - label = "pma8084-mpp"; - - mpp@a000 { - reg = <0xa000 0x100>; - qcom,pin-num = <1>; - }; - - mpp@a100 { - reg = <0xa100 0x100>; - qcom,pin-num = <2>; - }; - - mpp@a200 { - reg = <0xa200 0x100>; - qcom,pin-num = <3>; - }; - - mpp@a300 { - reg = <0xa300 0x100>; - qcom,pin-num = <4>; - }; - - mpp@a400 { - reg = <0xa400 0x100>; - qcom,pin-num = <5>; - }; - - mpp@a500 { - reg = <0xa500 0x100>; - qcom,pin-num = <6>; - }; - - mpp@a600 { - reg = <0xa600 0x100>; - qcom,pin-num = <7>; - }; - - mpp@a700 { - reg = <0xa700 0x100>; - qcom,pin-num = <8>; - }; - }; - }; - - qcom,pma8084@1 { - spmi-slave-container; - reg = <0x1>; - #address-cells = <1>; - #size-cells = <1>; - - regulator@1400 { - regulator-name = "8084_s1"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x1400 0x300>; - status = "disabled"; - - qcom,ctl@1400 { - reg = <0x1400 0x100>; - }; - qcom,ps@1500 { - reg = <0x1500 0x100>; - }; - qcom,freq@1600 { - reg = <0x1600 0x100>; - }; - }; - - regulator@1700 { - regulator-name = "8084_s2"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x1700 0x300>; - status = "disabled"; - - qcom,ctl@1700 { - reg = <0x1700 0x100>; - }; - qcom,ps@1800 { - reg = <0x1800 0x100>; - }; - qcom,freq@1900 { - reg = <0x1900 0x100>; - }; - }; - - regulator@1a00 { - regulator-name = "8084_s3"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x1a00 0x300>; - status = "disabled"; - - qcom,ctl@1a00 { - reg = <0x1a00 0x100>; - }; - qcom,ps@1b00 { - reg = <0x1b00 0x100>; - }; - qcom,freq@1c00 { - reg = <0x1c00 0x100>; - }; - }; - - regulator@1d00 { - regulator-name = "8084_s4"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x1d00 0x300>; - status = "disabled"; - - qcom,ctl@1d00 { - reg = <0x1d00 0x100>; - }; - qcom,ps@1e00 { - reg = <0x1e00 0x100>; - }; - qcom,freq@1f00 { - reg = <0x1f00 0x100>; - }; - }; - - regulator@2000 { - regulator-name = "8084_s5"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x2000 0x300>; - status = "disabled"; - - qcom,ctl@2000 { - reg = <0x2000 0x100>; - }; - qcom,ps@2100 { - reg = <0x2100 0x100>; - }; - qcom,freq@2200 { - reg = <0x2200 0x100>; - }; - }; - - regulator@2300 { - regulator-name = "8084_s6"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x2300 0x300>; - status = "disabled"; - - qcom,ctl@2300 { - reg = <0x2300 0x100>; - }; - qcom,ps@2400 { - reg = <0x2400 0x100>; - }; - qcom,freq@2500 { - reg = <0x2500 0x100>; - }; - }; - - regulator@2600 { - regulator-name = "8084_s7"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x2600 0x300>; - status = "disabled"; - - qcom,ctl@2600 { - reg = <0x2600 0x100>; - }; - qcom,ps@2700 { - reg = <0x2700 0x100>; - }; - qcom,freq@2800 { - reg = <0x2800 0x100>; - }; - }; - - regulator@2900 { - regulator-name = "8084_s8"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x2900 0x300>; - status = "disabled"; - - qcom,ctl@2900 { - reg = <0x2900 0x100>; - }; - qcom,ps@2a00 { - reg = <0x2a00 0x100>; - }; - qcom,freq@2b00 { - reg = <0x2b00 0x100>; - }; - }; - - regulator@2c00 { - regulator-name = "8084_s9"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x2c00 0x300>; - status = "disabled"; - - qcom,ctl@2c00 { - reg = <0x2c00 0x100>; - }; - qcom,ps@2d00 { - reg = <0x2d00 0x100>; - }; - qcom,freq@2e00 { - reg = <0x2e00 0x100>; - }; - }; - - regulator@2f00 { - regulator-name = "8084_s10"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x2f00 0x300>; - status = "disabled"; - - qcom,ctl@2f00 { - reg = <0x2f00 0x100>; - }; - qcom,ps@3000 { - reg = <0x3000 0x100>; - }; - qcom,freq@3100 { - reg = <0x3100 0x100>; - }; - }; - - regulator@3200 { - regulator-name = "8084_s11"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x3200 0x300>; - status = "disabled"; - - qcom,ctl@3200 { - reg = <0x3200 0x100>; - }; - qcom,ps@3300 { - reg = <0x3300 0x100>; - }; - qcom,freq@3400 { - reg = <0x3400 0x100>; - }; - }; - - regulator@3500 { - regulator-name = "8084_s12"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x3500 0x300>; - status = "disabled"; - - qcom,ctl@3500 { - reg = <0x3500 0x100>; - }; - qcom,ps@3600 { - reg = <0x3600 0x100>; - }; - qcom,freq@3700 { - reg = <0x3700 0x100>; - }; - }; - - regulator@4000 { - regulator-name = "8084_l1"; - reg = <0x4000 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4100 { - regulator-name = "8084_l2"; - reg = <0x4100 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4200 { - regulator-name = "8084_l3"; - reg = <0x4200 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4300 { - regulator-name = "8084_l4"; - reg = <0x4300 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4400 { - regulator-name = "8084_l5"; - reg = <0x4400 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4500 { - regulator-name = "8084_l6"; - reg = <0x4500 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4600 { - regulator-name = "8084_l7"; - reg = <0x4600 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4700 { - regulator-name = "8084_l8"; - reg = <0x4700 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4800 { - regulator-name = "8084_l9"; - reg = <0x4800 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4900 { - regulator-name = "8084_l10"; - reg = <0x4900 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4a00 { - regulator-name = "8084_l11"; - reg = <0x4a00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4b00 { - regulator-name = "8084_l12"; - reg = <0x4b00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4c00 { - regulator-name = "8084_l13"; - reg = <0x4c00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4d00 { - regulator-name = "8084_l14"; - reg = <0x4d00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4e00 { - regulator-name = "8084_l15"; - reg = <0x4e00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4f00 { - regulator-name = "8084_l16"; - reg = <0x4f00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5000 { - regulator-name = "8084_l17"; - reg = <0x5000 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5100 { - regulator-name = "8084_l18"; - reg = <0x5100 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5200 { - regulator-name = "8084_l19"; - reg = <0x5200 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5300 { - regulator-name = "8084_l20"; - reg = <0x5300 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5400 { - regulator-name = "8084_l21"; - reg = <0x5400 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5500 { - regulator-name = "8084_l22"; - reg = <0x5500 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5600 { - regulator-name = "8084_l23"; - reg = <0x5600 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5700 { - regulator-name = "8084_l24"; - reg = <0x5700 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5800 { - regulator-name = "8084_l25"; - reg = <0x5800 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5900 { - regulator-name = "8084_l26"; - reg = <0x5900 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5a00 { - regulator-name = "8084_l27"; - reg = <0x5a00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@8000 { - regulator-name = "8084_lvs1"; - reg = <0x8000 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@8100 { - regulator-name = "8084_lvs2"; - reg = <0x8100 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@8200 { - regulator-name = "8084_lvs3"; - reg = <0x8200 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@8300 { - regulator-name = "8084_lvs4"; - reg = <0x8300 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@8400 { - regulator-name = "8084_mvs1"; - reg = <0x8400 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8226-bus.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v3/msm8226-bus.dtsi deleted file mode 100644 index d87aa3ea5..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8226-bus.dtsi +++ /dev/null @@ -1,1128 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -&soc { - msm-mmss-noc@fc478000 { - compatible = "msm-bus-fabric"; - reg = <0xfc478000 0x00004000>; - cell-id = <2048>; - label = "msm_mmss_noc"; - qcom,fabclk-dual = "bus_clk"; - qcom,fabclk-active = "bus_a_clk"; - qcom,ntieredslaves = <0>; - qcom,qos-freq = <4800>; - qcom,hw-sel = "NoC"; - qcom,rpm-en; - - mas-gfx3d { - cell-id = <26>; - label = "mas-gfx3d"; - qcom,masterp = <2>; - qcom,tier = <2>; - qcom,hw-sel = "NoC"; - qcom,perm-mode = "Bypass"; - qcom,mode = "Bypass"; - qcom,ws = <10000>; - qcom,qport = <2>; - qcom,mas-hw-id = <6>; - }; - - mas-jpeg { - cell-id = <62>; - label = "mas-jpeg"; - qcom,masterp = <4>; - qcom,tier = <2>; - qcom,hw-sel = "NoC"; - qcom,perm-mode = "Bypass"; - qcom,mode = "Bypass"; - qcom,qport = <0>; - qcom,ws = <10000>; - qcom,mas-hw-id = <7>; - }; - - mas-mdp-port0 { - cell-id = <22>; - label = "mas-mdp-port0"; - qcom,masterp = <5>; - qcom,tier = <2>; - qcom,hw-sel = "NoC"; - qcom,perm-mode = "Bypass"; - qcom,mode = "Bypass"; - qcom,qport = <1>; - qcom,ws = <10000>; - qcom,mas-hw-id = <8>; - }; - - mas-video-p0 { - cell-id = <63>; - label = "mas-video-p0"; - qcom,masterp = <6>; - qcom,tier = <2>; - qcom,hw-sel = "NoC"; - qcom,perm-mode = "Bypass"; - qcom,mode = "Bypass"; - qcom,ws = <10000>; - qcom,qport = <4>; - qcom,mas-hw-id = <9>; - }; - - mas-vfe { - cell-id = <29>; - label = "mas-vfe"; - qcom,masterp = <16>; - qcom,tier = <2>; - qcom,hw-sel = "NoC"; - qcom,perm-mode = "Bypass"; - qcom,mode = "Bypass"; - qcom,ws = <10000>; - qcom,qport = <6>; - qcom,mas-hw-id = <11>; - }; - - fab-cnoc { - cell-id = <5120>; - label = "fab-cnoc"; - qcom,gateway; - qcom,masterp = <0 1>; - qcom,buswidth = <16>; - qcom,hw-sel = "RPM"; - qcom,mas-hw-id = <4>; - }; - - fab-bimc { - cell-id = <0>; - label = "fab-bimc"; - qcom,gateway; - qcom,slavep = <16>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <16>; - }; - - slv-camera-cfg { - cell-id = <589>; - label = "slv-camera-cfg"; - qcom,slavep = <0>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <3>; - }; - - slv-display-cfg { - cell-id = <590>; - label = "slv-display-cfg"; - qcom,slavep = <1>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <4>; - }; - - slv-ocmem-cfg { - cell-id = <591>; - label = "slv-ocmem-cfg"; - qcom,slavep = <2>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <5>; - }; - - slv-cpr-cfg { - cell-id = <592>; - label = "slv-cpr-cfg"; - qcom,slavep = <3>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <6>; - }; - - slv-cpr-xpu-cfg { - cell-id = <593>; - label = "slv-cpr-xpu-cfg"; - qcom,slavep = <4>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <7>; - }; - - slv-misc-cfg { - cell-id = <594>; - label = "slv-misc-cfg"; - qcom,slavep = <6>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <8>; - }; - - slv-misc-xpu-cfg { - cell-id = <595>; - label = "slv-misc-xpu-cfg"; - qcom,slavep = <7>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <9>; - }; - - slv-venus-cfg { - cell-id = <596>; - label = "slv-venus-cfg"; - qcom,slavep = <8>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <10>; - }; - - slv-gfx3d-cfg { - cell-id = <598>; - label = "slv-gfx3d-cfg"; - qcom,slavep = <9>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <11>; - }; - - slv-mmss-clk-cfg { - cell-id = <599>; - label = "slv-mmss-clk-cfg"; - qcom,slavep = <11>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <12>; - }; - - slv-mmss-clk-xpu-cfg { - cell-id = <600>; - label = "slv-mmss-clk-xpu-cfg"; - qcom,slavep = <12>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <13>; - }; - - slv-mnoc-mpu-cfg { - cell-id = <601>; - label = "slv-mnoc-mpu-cfg"; - qcom,slavep = <13>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <14>; - }; - - slv-onoc-mpu-cfg { - cell-id = <602>; - label = "slv-onoc-mpu-cfg"; - qcom,slavep = <14>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <15>; - }; - - slv-service-mnoc { - cell-id = <603>; - label = "slv-service-mnoc"; - qcom,slavep = <18>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <17>; - }; - - }; - - msm-sys-noc@fc460000 { - compatible = "msm-bus-fabric"; - reg = <0xfc460000 0x00004000>; - cell-id = <1024>; - label = "msm_sys_noc"; - qcom,fabclk-dual = "bus_clk"; - qcom,fabclk-active = "bus_a_clk"; - qcom,ntieredslaves = <0>; - qcom,qos-freq = <4800>; - qcom,hw-sel = "NoC"; - qcom,rpm-en; - - mas-lpass-ahb { - cell-id = <52>; - label = "mas-lpass-ahb"; - qcom,masterp = <0>; - qcom,tier = <2>; - qcom,qport = <0>; - qcom,mas-hw-id = <18>; - qcom,mode = "Fixed"; - qcom,prio-rd = <2>; - qcom,prio-wr = <2>; - }; - - mas-qdss-bam { - cell-id = <53>; - label = "mas-qdss-bam"; - qcom,masterp = <1>; - qcom,tier = <2>; - qcom,mode = "Fixed"; - qcom,qport = <1>; - qcom,mas-hw-id = <19>; - }; - - mas-snoc-cfg { - cell-id = <54>; - label = "mas-snoc-cfg"; - qcom,masterp = <2>; - qcom,tier = <2>; - qcom,mas-hw-id = <20>; - }; - - fab-bimc { - cell-id = <0>; - label= "fab-bimc"; - qcom,gateway; - qcom,slavep = <7>; - qcom,masterp = <3>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <21>; - qcom,slv-hw-id = <24>; - }; - - fab-cnoc { - cell-id = <5120>; - label = "fab-cnoc"; - qcom,gateway; - qcom,slavep = <8>; - qcom,masterp = <4>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <22>; - qcom,slv-hw-id = <25>; - }; - - fab-pnoc { - cell-id = <4096>; - label = "fab-pnoc"; - qcom,gateway; - qcom,slavep = <10>; - qcom,masterp = <10>; - qcom,buswidth = <8>; - qcom,qport = <8>; - qcom,mas-hw-id = <29>; - qcom,slv-hw-id = <28>; - qcom,mode = "Fixed"; - qcom,prio-rd = <2>; - qcom,prio-wr = <2>; - }; - - fab-ovnoc { - cell-id = <6144>; - label = "fab-ovnoc"; - qcom,gateway; - qcom,buswidth = <8>; - qcom,mas-hw-id = <53>; - qcom,slv-hw-id = <77>; - }; - - mas-crypto-core0 { - cell-id = <55>; - label = "mas-crypto-core0"; - qcom,masterp = <5>; - qcom,tier = <2>; - qcom,mode = "Fixed"; -/* qcom,qport = <2>;*/ - qcom,mas-hw-id = <23>; - qcom,hw-sel = "NoC"; - qcom,prio-rd = <1>; - qcom,prio-wr = <1>; - }; - - mas-lpass-proc { - cell-id = <11>; - label = "mas-lpass-proc"; - qcom,masterp = <6>; - qcom,tier = <2>; - qcom,qport = <4>; - qcom,mas-hw-id = <25>; - qcom,mode = "Fixed"; - qcom,prio-rd = <2>; - qcom,prio-wr = <2>; - }; - - mas-mss { - cell-id = <38>; - label = "mas-mss"; - qcom,masterp = <7>; - qcom,tier = <2>; - qcom,mas-hw-id = <26>; - }; - - mas-mss-nav { - cell-id = <57>; - label = "mas-mss-nav"; - qcom,masterp = <8>; - qcom,tier = <2>; - qcom,mas-hw-id = <27>; - }; - - mas-ocmem-dma { - cell-id = <58>; - label = "mas-ocmem-dma"; - qcom,masterp = <9>; - qcom,tier = <2>; - qcom,mode = "Fixed"; - qcom,qport = <7>; - qcom,mas-hw-id = <28>; - }; - - mas-wcss { - cell-id = <59>; - label = "mas-wcss"; - qcom,masterp = <11>; - qcom,tier = <2>; - qcom,mas-hw-id = <30>; - }; - - mas-qdss-etr { - cell-id = <60>; - label = "mas-qdss-etr"; - qcom,masterp = <12>; - qcom,tier = <2>; - qcom,qport = <10>; - qcom,mode = "Fixed"; - qcom,mas-hw-id = <31>; - }; - - slv-ampss { - cell-id = <520>; - label = "slv-ampss"; - qcom,slavep = <1>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <20>; - }; - - slv-lpass { - cell-id = <522>; - label = "slv-lpass"; - qcom,slavep = <2>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <21>; - }; - - slv-wcss { - cell-id = <584>; - label = "slv-wcss"; - qcom,slavep = <6>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <23>; - }; - - slv-ocimem { - cell-id = <585>; - label = "slv-ocimem"; - qcom,slavep = <9>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <26>; - }; - - slv-service-snoc { - cell-id = <587>; - label = "slv-service-snoc"; - qcom,slavep = <11>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <29>; - }; - - slv-qdss-stm { - cell-id = <588>; - label = "slv-qdss-stm"; - qcom,slavep = <12>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <30>; - }; - - }; - - msm-periph-noc@fc468000 { - compatible = "msm-bus-fabric"; - reg = <0xfc468000 0x00004000>; - cell-id = <4096>; - label = "msm_periph_noc"; - qcom,fabclk-dual = "bus_clk"; - qcom,fabclk-active = "bus_a_clk"; - qcom,ntieredslaves = <0>; - qcom,hw-sel = "NoC"; - qcom,rpm-en; - - mas-pnoc-cfg { - cell-id = <88>; - label = "mas-pnoc-cfg"; - qcom,masterp = <7>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <43>; - }; - - mas-sdcc-1 { - cell-id = <78>; - label = "mas-sdcc-1"; - qcom,masterp = <0>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <33>; - }; - - mas-sdcc-3 { - cell-id = <79>; - label = "mas-sdcc-3"; - qcom,masterp = <1>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <34>; - }; - - mas-sdcc-2 { - cell-id = <81>; - label = "mas-sdcc-2"; - qcom,masterp = <2>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <35>; - }; - - mas-bam-dma { - cell-id = <83>; - label = "mas-bam-dma"; - qcom,masterp = <3>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <38>; - }; - - mas-usb-hsic { - cell-id = <85>; - label = "mas-usb-hsic"; - qcom,masterp = <4>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <40>; - }; - - mas-blsp-1 { - cell-id = <86>; - label = "mas-blsp-1"; - qcom,masterp = <5>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <41>; - }; - - mas-usb-hs { - cell-id = <87>; - label = "mas-usb-hs"; - qcom,masterp = <6>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <42>; - }; - - fab-snoc { - cell-id = <1024>; - label = "fab-snoc"; - qcom,gateway; - qcom,slavep = <12>; - qcom,masterp = <8>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <45>; - qcom,mas-hw-id = <44>; - }; - - slv-sdcc-1 { - cell-id = <606>; - label = "slv-sdcc-1"; - qcom,slavep = <0>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <31>; - }; - - slv-sdcc-3 { - cell-id = <607>; - label = "slv-sdcc-3"; - qcom,slavep = <1>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <32>; - }; - - slv-sdcc-2 { - cell-id = <608>; - label = "slv-sdcc-2"; - qcom,slavep = <2>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <33>; - }; - - slv-bam-dma { - cell-id = <610>; - label = "slv-bam-dma"; - qcom,slavep = <3>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <36>; - }; - - slv-usb-hsic { - cell-id = <612>; - label = "slv-usb-hsic"; - qcom,slavep = <4>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <38>; - }; - - slv-blsp-1 { - cell-id = <613>; - label = "slv-blsp-1"; - qcom,slavep = <5>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <39>; - }; - - slv-usb-hs { - cell-id = <614>; - label = "slv-usb-hs"; - qcom,slavep = <6>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <40>; - }; - - slv-pdm { - cell-id = <615>; - label = "slv-pdm"; - qcom,slavep = <7>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <41>; - }; - - slv-periph-apu-cfg { - cell-id = <616>; - label = "slv-periph-apu-cfg"; - qcom,slavep = <8>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <42>; - }; - - slv-pnoc-mpu-cfg { - cell-id = <617>; - label = "slv-pnoc-mpu-cfg"; - qcom,slavep = <9>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <43>; - }; - - slv-prng { - cell-id = <618>; - label = "slv-prng"; - qcom,slavep = <10>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <44>; - }; - - slv-service-pnoc { - cell-id = <619>; - label = "slv-service-pnoc"; - qcom,slavep = <12>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <46>; - }; - - }; - - msm-config-noc@fc480000 { - compatible = "msm-bus-fabric"; - reg = <0xfc480000 0x00004000>; - cell-id = <5120>; - label = "msm_config_noc"; - qcom,fabclk-dual = "bus_clk"; - qcom,fabclk-active = "bus_a_clk"; - qcom,ntieredslaves = <0>; - qcom,hw-sel = "NoC"; - qcom,rpm-en; - - mas-rpm-inst { - cell-id = <72>; - label = "mas-rpm-inst"; - qcom,masterp = <0>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <45>; - }; - - mas-rpm-data { - cell-id = <73>; - label = "mas-rpm-data"; - qcom,masterp = <1>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <46>; - }; - - mas-rpm-sys { - cell-id = <74>; - label = "mas-rpm-sys"; - qcom,masterp = <2>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <47>; - }; - - mas-dehr { - cell-id = <75>; - label = "mas-dehr"; - qcom,masterp = <3>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <48>; - }; - - mas-qdss-dsp { - cell-id = <76>; - label = "mas-qdss-dap"; - qcom,masterp = <4>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <49>; - }; - - mas-spdm { - cell-id = <36>; - label = "mas-spdm"; - qcom,masterp = <5>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <50>; - }; - - mas-tic { - cell-id = <77>; - label = "mas-tic"; - qcom,masterp = <6>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <51>; - }; - - slv-clk-ctl { - cell-id = <620>; - label = "slv-clk-ctl"; - qcom,slavep = <1>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <47>; - }; - - slv-cnoc-mss { - cell-id = <621>; - label = "slv-cnoc-mss"; - qcom,slavep = <2>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <48>; - }; - - slv-security { - cell-id = <622>; - label = "slv-security"; - qcom,slavep = <3>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <49>; - }; - - slv-tcsr { - cell-id = <623>; - label = "slv-tcsr"; - qcom,slavep = <4>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <50>; - }; - - slv-tlmm { - cell-id = <624>; - label = "slv-tlmm"; - qcom,slavep = <5>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <51>; - }; - - slv-crypto-0-cfg { - cell-id = <625>; - label = "slv-crypto-0-cfg"; - qcom,slavep = <6>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <52>; - }; - - slv-imem-cfg { - cell-id = <627>; - label = "slv-imem-cfg"; - qcom,slavep = <7>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <54>; - }; - - slv-message-ram { - cell-id = <628>; - label = "slv-message-ram"; - qcom,slavep = <8>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <55>; - }; - - slv-bimc-cfg { - cell-id = <629>; - label = "slv-bimc-cfg"; - qcom,slavep = <9>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <56>; - }; - - slv-boot-rom { - cell-id = <630>; - label = "slv-boot-rom"; - qcom,slavep = <10>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <57>; - }; - - slv-pmic-arb { - cell-id = <632>; - label = "slv-pmic-arb"; - qcom,slavep = <12>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <59>; - }; - - slv-spdm-wrapper { - cell-id = <633>; - label = "slv-spdm-wrapper"; - qcom,slavep = <13>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <60>; - }; - - slv-dehr-cfg { - cell-id = <634>; - label = "slv-dehr-cfg"; - qcom,slavep = <14>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <61>; - }; - - slv-mpm { - cell-id = <536>; - label = "slv-mpm"; - qcom,slavep = <15>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <62>; - }; - - slv-qdss-cfg { - cell-id = <635>; - label = "slv-qdss-cfg"; - qcom,slavep = <16>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <63>; - }; - - slv-rbcpr-cfg { - cell-id = <636>; - label = "slv-rbcpr-cfg"; - qcom,slavep = <17>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <64>; - }; - - slv-rbcpr-qdss-apu-cfg { - cell-id = <637>; - label = "slv-rbcpr-qdss-apu-cfg"; - qcom,slavep = <18>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <65>; - }; - - fab-snoc { - cell-id = <1024>; - label = "fab-snoc"; - qcom,gateway; - qcom,slavep = <26>; - qcom,masterp = <7>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <52>; - qcom,slv-hw-id = <75>; - }; - - slv-cnoc-mnoc-mmss-cfg { - cell-id = <631>; - label = "slv-cnoc-mnoc-mmss-cfg"; - qcom,slavep = <11>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <58>; - }; - - slv-cnoc-mnoc-cfg { - cell-id = <640>; - label = "slv-cnoc-mnoc-cfg"; - qcom,slavep = <19>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <66>; - }; - - slv-pnoc-cfg { - cell-id = <641>; - label = "slv-pnoc-cfg"; - qcom,slavep = <21>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <69>; - }; - - slv-snoc-mpu-cfg { - cell-id = <638>; - label = "slv-snoc-mpu-cfg"; - qcom,slavep = <20>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <67>; - }; - - slv-snoc-cfg { - cell-id = <642>; - label = "slv-snoc-cfg"; - qcom,slavep = <22>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <70>; - }; - - slv-phy-apu-cfg { - cell-id = <644>; - label = "slv-phy-apu-cfg"; - qcom,slavep = <23>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <72>; - }; - - slv-ebi1-phy-cfg { - cell-id = <645>; - label = "slv-ebi1-phy-cfg"; - qcom,slavep = <24>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <73>; - }; - - slv-rpm { - cell-id = <534>; - label = "slv-rpm"; - qcom,slavep = <25>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <74>; - }; - - slv-service-cnoc { - cell-id = <646>; - label = "slv-service-cnoc"; - qcom,slavep = <27>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <76>; - }; - - }; - - msm-bimc@0xfc380000 { - compatible = "msm-bus-fabric"; - reg = <0xfc380000 0x0006A000>; - cell-id = <0>; - label = "msm_bimc"; - qcom,fabclk-dual = "mem_clk"; - qcom,fabclk-active = "mem_a_clk"; - qcom,ntieredslaves = <0>; - qcom,qos-freq = <4800>; - qcom,hw-sel = "BIMC"; - qcom,rpm-en; - - mas-ampss-m0 { - cell-id = <1>; - label = "mas-ampss-m0"; - qcom,masterp = <0>; - qcom,tier = <2>; - qcom,hw-sel = "BIMC"; - qcom,mode = "Fixed"; - qcom,qport = <0>; - qcom,ws = <10000>; - qcom,mas-hw-id = <0>; - qcom,prio-rd = <0>; - qcom,prio-wr = <0>; - }; - - mas-mss-proc { - cell-id = <65>; - label = "mas-mss-proc"; - qcom,masterp = <1>; - qcom,tier = <2>; - qcom,hw-sel = "RPM"; - qcom,mas-hw-id = <1>; - }; - - fab-mmss-noc { - cell-id = <2048>; - label = "fab_mmss_noc"; - qcom,gateway; - qcom,masterp = <2>; - qcom,qport = <2>; - qcom,buswidth = <8>; - qcom,ws = <10000>; - qcom,mas-hw-id = <2>; - qcom,hw-sel = "BIMC"; - qcom,mode = "Bypass"; - }; - - fab-snoc { - cell-id = <1024>; - label = "fab-snoc"; - qcom,gateway; - qcom,slavep = <2>; - qcom,masterp = <4>; - qcom,qport = <4>; - qcom,buswidth = <8>; - qcom,ws = <10000>; - qcom,mas-hw-id = <3>; - qcom,slv-hw-id = <2>; - qcom,mode = "Bypass"; - qcom,hw-sel = "RPM"; - }; - - slv-ebi-ch0 { - cell-id = <512>; - label = "slv-ebi-ch0"; - qcom,slavep = <0>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <0>; - qcom,mode = "Bypass"; - }; - - slv-ampss-l2 { - cell-id = <514>; - label = "slv-ampss-l2"; - qcom,slavep = <1>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <1>; - }; - }; - - msm-ocmem-vnoc@6144 { - compatible = "msm-bus-fabric"; - reg = <0x6144 0x2>; - cell-id = <6144>; - label = "msm-ocmem-vnoc"; - qcom,ntieredslaves = <0>; - qcom,hw-sel = "NoC"; - qcom,rpm-en; - qcom,virt; - - mas-v-ocmem-gfx3d { - cell-id = <89>; - label = "mas-v-ocmem-gfx3d"; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <55>; - }; - - slv-ocmem { - cell-id = <604>; - label = "slv-ocmem"; - qcom,slavep = <0 1>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,slv-hw-id = <18>; - qcom,slaveclk-dual = "ocmem_clk"; - qcom,slaveclk-active = "ocmem_a_clk"; - }; - - fab-snoc { - cell-id = <1024>; - label = "fab-snoc"; - qcom,gateway; - qcom,buswidth = <32>; - qcom,ws = <10000>; - qcom,mas-hw-id = <57>; - qcom,slv-hw-id = <80>; - }; - - fab-onoc { - cell-id = <3072>; - label = "fab-onoc"; - qcom,gateway; - qcom,buswidth = <16>; - qcom,ws = <10000>; - qcom,mas-hw-id = <56>; - qcom,slv-hw-id = <79>; - }; - - }; -}; - - diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8226-camera-sensor-cdp.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v3/msm8226-camera-sensor-cdp.dtsi deleted file mode 100644 index 41d6b7e79..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8226-camera-sensor-cdp.dtsi +++ /dev/null @@ -1,108 +0,0 @@ -/* - * Copyright (c) 2013, 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. - */ - -&soc { - - led_flash0: qcom,camera-led-flash { - cell-index = <0>; - compatible = "qcom,camera-led-flash"; - qcom,flash-type = <1>; - qcom,flash-source = <&pm8226_flash0 &pm8226_flash1>; - }; -}; - -&cci { - - actuator0: qcom,actuator@6e { - cell-index = <3>; - reg = <0x6c>; - compatible = "qcom,actuator"; - qcom,cci-master = <0>; - }; - - qcom,camera@6f { - compatible = "qcom,ov8825"; - reg = <0x6f>; - qcom,slave-id = <0x6c 0x300a 0x8825>; - qcom,csiphy-sd-index = <0>; - qcom,csid-sd-index = <0>; - qcom,actuator-src = <&actuator0>; - qcom,led-flash-src = <&led_flash0>; - qcom,mount-angle = <0>; - qcom,sensor-name = "ov8825"; - cam_vdig-supply = <&pm8226_l5>; - cam_vana-supply = <&pm8226_l19>; - cam_vio-supply = <&pm8226_lvs1>; - cam_vaf-supply = <&pm8226_l15>; - qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana", - "cam_vaf"; - qcom,cam-vreg-type = <0 1 0 0>; - qcom,cam-vreg-min-voltage = <1200000 0 2850000 2800000>; - qcom,cam-vreg-max-voltage = <1200000 0 2850000 2800000>; - qcom,cam-vreg-op-mode = <200000 0 80000 100000>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 26 0>, - <&msmgpio 37 0>, - <&msmgpio 36 0>; - qcom,gpio-reset = <1>; - qcom,gpio-standby = <2>; - qcom,gpio-req-tbl-num = <0 1 2>; - qcom,gpio-req-tbl-flags = <1 0 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1", - "CAM_STANDBY"; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x1f>; - qcom,sensor-position = <0>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - }; - - qcom,camera@6d { - compatible = "qcom,ov9724"; - reg = <0x6d>; - qcom,slave-id = <0x20 0x0 0x9724>; - qcom,csiphy-sd-index = <1>; - qcom,csid-sd-index = <1>; - qcom,mount-angle = <0>; - qcom,sensor-name = "ov9724"; - cam_vdig-supply = <&pm8226_l5>; - cam_vana-supply = <&pm8226_l19>; - cam_vio-supply = <&pm8226_lvs1>; - qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana"; - qcom,cam-vreg-type = <0 1 0>; - qcom,cam-vreg-min-voltage = <1200000 0 2850000>; - qcom,cam-vreg-max-voltage = <1200000 0 2850000>; - qcom,cam-vreg-op-mode = <200000 0 80000>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 26 0>, - <&msmgpio 28 0>, - <&msmgpio 35 0>; - qcom,gpio-reset = <1>; - qcom,gpio-standby = <2>; - qcom,gpio-req-tbl-num = <0 1 2>; - qcom,gpio-req-tbl-flags = <1 0 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET", - "CAM_STANDBY"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 4000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x3>; - qcom,sensor-position = <1>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - status = "ok"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8226-camera-sensor-mtp.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v3/msm8226-camera-sensor-mtp.dtsi deleted file mode 100644 index 53860ac85..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8226-camera-sensor-mtp.dtsi +++ /dev/null @@ -1,108 +0,0 @@ -/* - * Copyright (c) 2013, 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. - */ - -&soc { - - led_flash0: qcom,camera-led-flash { - cell-index = <0>; - compatible = "qcom,camera-led-flash"; - qcom,flash-type = <1>; - qcom,flash-source = <&pm8226_flash0 &pm8226_flash1>; - }; -}; - -&cci { - - actuator0: qcom,actuator@6e { - cell-index = <3>; - reg = <0x6c>; - compatible = "qcom,actuator"; - qcom,cci-master = <0>; - }; - - qcom,camera@6f { - compatible = "qcom,ov8825"; - reg = <0x6f>; - qcom,slave-id = <0x6c 0x300a 0x8825>; - qcom,csiphy-sd-index = <0>; - qcom,csid-sd-index = <0>; - qcom,actuator-src = <&actuator0>; - qcom,led-flash-src = <&led_flash0>; - qcom,mount-angle = <0>; - qcom,sensor-name = "ov8825"; - cam_vdig-supply = <&pm8226_l5>; - cam_vana-supply = <&pm8226_l19>; - cam_vio-supply = <&pm8226_lvs1>; - cam_vaf-supply = <&pm8226_l15>; - qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana", - "cam_vaf"; - qcom,cam-vreg-type = <0 1 0 0>; - qcom,cam-vreg-min-voltage = <1200000 0 2850000 2800000>; - qcom,cam-vreg-max-voltage = <1200000 0 2850000 2800000>; - qcom,cam-vreg-op-mode = <200000 0 80000 100000>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 26 0>, - <&msmgpio 37 0>, - <&msmgpio 35 0>; - qcom,gpio-reset = <1>; - qcom,gpio-standby = <2>; - qcom,gpio-req-tbl-num = <0 1 2>; - qcom,gpio-req-tbl-flags = <1 0 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1", - "CAM_STANDBY"; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x1f>; - qcom,sensor-position = <0>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - }; - - qcom,camera@6d { - compatible = "qcom,ov9724"; - reg = <0x6d>; - qcom,slave-id = <0x20 0x0 0x9724>; - qcom,csiphy-sd-index = <1>; - qcom,csid-sd-index = <1>; - qcom,mount-angle = <270>; - qcom,sensor-name = "ov9724"; - cam_vdig-supply = <&pm8226_l5>; - cam_vana-supply = <&pm8226_l19>; - cam_vio-supply = <&pm8226_lvs1>; - qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana"; - qcom,cam-vreg-type = <0 1 0>; - qcom,cam-vreg-min-voltage = <1200000 0 2850000>; - qcom,cam-vreg-max-voltage = <1200000 0 2850000>; - qcom,cam-vreg-op-mode = <200000 0 80000>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 26 0>, - <&msmgpio 28 0>, - <&msmgpio 36 0>; - qcom,gpio-reset = <1>; - qcom,gpio-standby = <2>; - qcom,gpio-req-tbl-num = <0 1 2>; - qcom,gpio-req-tbl-flags = <1 0 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET", - "CAM_STANDBY"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 4000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x3>; - qcom,sensor-position = <1>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - status = "ok"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8226-camera-sensor-qrd.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v3/msm8226-camera-sensor-qrd.dtsi deleted file mode 100644 index 3935dbb78..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8226-camera-sensor-qrd.dtsi +++ /dev/null @@ -1,108 +0,0 @@ -/* - * Copyright (c) 2013, 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. - */ - -&soc { - - led_flash0: qcom,camera-led-flash { - cell-index = <0>; - compatible = "qcom,camera-led-flash"; - qcom,flash-type = <1>; - qcom,flash-source = <&pm8226_flash0 &pm8226_flash1>; - }; -}; - -&cci { - - actuator0: qcom,actuator@6e { - cell-index = <3>; - reg = <0x6c>; - compatible = "qcom,actuator"; - qcom,cci-master = <0>; - }; - - qcom,camera@6f { - compatible = "qcom,ov8825"; - reg = <0x6f>; - qcom,slave-id = <0x6c 0x300a 0x8825>; - qcom,csiphy-sd-index = <0>; - qcom,csid-sd-index = <0>; - qcom,actuator-src = <&actuator0>; - qcom,led-flash-src = <&led_flash0>; - qcom,mount-angle = <270>; - qcom,sensor-name = "ov8825"; - cam_vdig-supply = <&pm8226_l5>; - cam_vana-supply = <&pm8226_l19>; - cam_vio-supply = <&pm8226_lvs1>; - cam_vaf-supply = <&pm8226_l15>; - qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana", - "cam_vaf"; - qcom,cam-vreg-type = <0 1 0 0>; - qcom,cam-vreg-min-voltage = <1200000 0 2850000 2800000>; - qcom,cam-vreg-max-voltage = <1200000 0 2850000 2800000>; - qcom,cam-vreg-op-mode = <200000 0 80000 100000>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 26 0>, - <&msmgpio 37 0>, - <&msmgpio 36 0>; - qcom,gpio-reset = <1>; - qcom,gpio-standby = <2>; - qcom,gpio-req-tbl-num = <0 1 2>; - qcom,gpio-req-tbl-flags = <1 0 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1", - "CAM_STANDBY"; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x1f>; - qcom,sensor-position = <0>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - }; - - qcom,camera@6d { - compatible = "qcom,ov9724"; - reg = <0x6d>; - qcom,slave-id = <0x20 0x0 0x9724>; - qcom,csiphy-sd-index = <1>; - qcom,csid-sd-index = <1>; - qcom,mount-angle = <270>; - qcom,sensor-name = "ov9724"; - cam_vdig-supply = <&pm8226_l5>; - cam_vana-supply = <&pm8226_l19>; - cam_vio-supply = <&pm8226_lvs1>; - qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana"; - qcom,cam-vreg-type = <0 1 0>; - qcom,cam-vreg-min-voltage = <1200000 0 2850000>; - qcom,cam-vreg-max-voltage = <1200000 0 2850000>; - qcom,cam-vreg-op-mode = <200000 0 80000>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 26 0>, - <&msmgpio 28 0>, - <&msmgpio 35 0>; - qcom,gpio-reset = <1>; - qcom,gpio-standby = <2>; - qcom,gpio-req-tbl-num = <0 1 2>; - qcom,gpio-req-tbl-flags = <1 0 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET", - "CAM_STANDBY"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 4000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x3>; - qcom,sensor-position = <1>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - status = "ok"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8226-camera.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v3/msm8226-camera.dtsi deleted file mode 100644 index ec0092d43..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8226-camera.dtsi +++ /dev/null @@ -1,139 +0,0 @@ -/* - * Copyright (c) 2012-2013, 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. - */ - -&soc { - qcom,msm-cam@fd8c0000 { - compatible = "qcom,msm-cam"; - reg = <0xfd8c0000 0x10000>; - reg-names = "msm-cam"; - }; - - qcom,csiphy@fda0ac00 { - cell-index = <0>; - compatible = "qcom,csiphy"; - reg = <0xfda0ac00 0x200>, - <0xfda00030 0x4>; - reg-names = "csiphy", "csiphy_clk_mux"; - interrupts = <0 78 0>; - interrupt-names = "csiphy"; - }; - - qcom,csiphy@fda0b000 { - cell-index = <1>; - compatible = "qcom,csiphy"; - reg = <0xfda0b000 0x200>, - <0xfda00038 0x4>; - reg-names = "csiphy", "csiphy_clk_mux"; - interrupts = <0 79 0>; - interrupt-names = "csiphy"; - }; - - qcom,csid@fda08000 { - cell-index = <0>; - compatible = "qcom,csid"; - reg = <0xfda08000 0x100>; - reg-names = "csid"; - interrupts = <0 51 0>; - interrupt-names = "csid"; - qcom,csi-vdd-voltage = <1200000>; - qcom,mipi-csi-vdd-supply = <&pm8226_l4>; - }; - - qcom,csid@fda08400 { - cell-index = <1>; - compatible = "qcom,csid"; - reg = <0xfda08400 0x100>; - reg-names = "csid"; - interrupts = <0 52 0>; - interrupt-names = "csid"; - qcom,csi-vdd-voltage = <1200000>; - qcom,mipi-csi-vdd-supply = <&pm8226_l4>; - }; - - qcom,ispif@fda0a000 { - cell-index = <0>; - compatible = "qcom,ispif"; - reg = <0xfda0a000 0x500>, - <0xfda00020 0x10>; - reg-names = "ispif", "csi_clk_mux"; - interrupts = <0 55 0>; - interrupt-names = "ispif"; - }; - - qcom,vfe@fda10000 { - cell-index = <0>; - compatible = "qcom,vfe40"; - reg = <0xfda10000 0x1000>, - <0xfda40000 0x200>; - reg-names = "vfe", "vfe_vbif"; - interrupts = <0 57 0>; - interrupt-names = "vfe"; - vdd-supply = <&gdsc_vfe>; - }; - - qcom,jpeg@fda1c000 { - cell-index = <0>; - compatible = "qcom,jpeg"; - reg = <0xfda1c000 0x400>; - reg-names = "jpeg"; - interrupts = <0 59 0>; - interrupt-names = "jpeg"; - vdd-supply = <&gdsc_jpeg>; - }; - - qcom,irqrouter@fda00000 { - cell-index = <0>; - compatible = "qcom,irqrouter"; - reg = <0xfda00000 0x100>; - reg-names = "irqrouter"; - }; - - qcom,cpp@fda04000 { - cell-index = <0>; - compatible = "qcom,cpp"; - reg = <0xfda04000 0x100>, - <0xfda40000 0x200>, - <0xfda18000 0x008>; - reg-names = "cpp", "cpp_vbif", "cpp_hw"; - interrupts = <0 49 0>; - interrupt-names = "cpp"; - vdd-supply = <&gdsc_vfe>; - }; - - cci: qcom,cci@fda0c000 { - cell-index = <0>; - compatible = "qcom,cci"; - reg = <0xfda0c000 0x1000>; - #address-cells = <1>; - #size-cells = <0>; - reg-names = "cci"; - interrupts = <0 50 0>; - interrupt-names = "cci"; - gpios = <&msmgpio 29 0>, - <&msmgpio 30 0>; - qcom,gpio-tbl-num = <0 1>; - qcom,gpio-tbl-flags = <1 1>; - qcom,gpio-tbl-label = "CCI_I2C_DATA0", - "CCI_I2C_CLK0"; - qcom,hw-thigh = <78>; - qcom,hw-tlow = <114>; - qcom,hw-tsu-sto = <28>; - qcom,hw-tsu-sta = <28>; - qcom,hw-thd-dat = <10>; - qcom,hw-thd-sta = <77>; - qcom,hw-tbuf = <118>; - qcom,hw-scl-stretch-en = <0>; - qcom,hw-trdhld = <6>; - qcom,hw-tsp = <1>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8226-cdp.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v3/msm8226-cdp.dtsi deleted file mode 100644 index da9ad8c0a..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8226-cdp.dtsi +++ /dev/null @@ -1,393 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/include/ "dsi-panel-nt35590-720p-video.dtsi" -/include/ "msm8226-camera-sensor-cdp.dtsi" - -&soc { - serial@f991f000 { - status = "ok"; - }; - - qcom,mdss_dsi_nt35590_720p_video { - status = "ok"; - }; - - i2c@f9927000 { /* BLSP1 QUP5 */ - synaptics@20 { - compatible = "synaptics,rmi4"; - reg = <0x20>; - interrupt-parent = <&msmgpio>; - interrupts = <17 0x2008>; - vdd-supply = <&pm8226_l19>; - vcc_i2c-supply = <&pm8226_lvs1>; - synaptics,reset-gpio = <&msmgpio 16 0x00>; - synaptics,irq-gpio = <&msmgpio 17 0x2008>; - synaptics,button-map = <139 102 158>; - synaptics,i2c-pull-up; - }; - }; - - gpio_keys { - compatible = "gpio-keys"; - input-name = "gpio-keys"; - - camera_focus { - label = "camera_focus"; - gpios = <&msmgpio 108 0x1>; - linux,input-type = <1>; - linux,code = <0x210>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - - camera_snapshot { - label = "camera_snapshot"; - gpios = <&msmgpio 107 0x1>; - linux,input-type = <1>; - linux,code = <0x2fe>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - - vol_up { - label = "volume_up"; - gpios = <&msmgpio 106 0x1>; - linux,input-type = <1>; - linux,code = <115>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - }; - - spi@f9923000 { - ethernet-switch@3 { - compatible = "micrel,ks8851"; - reg = <3>; - interrupt-parent = <&msmgpio>; - interrupts = <0 115 0>; - spi-max-frequency = <4800000>; - rst-gpio = <&msmgpio 114 0>; - vdd-io-supply = <&pm8226_lvs1>; - vdd-phy-supply = <&pm8226_lvs1>; - }; - }; - - sound { - qcom,audio-routing = - "RX_BIAS", "MCLK", - "LDO_H", "MCLK", - "SPK_OUT", "MCLK", - "SPK_OUT", "EXT_VDD_SPKR", - "AMIC1", "MIC BIAS1 Internal1", - "MIC BIAS1 Internal1", "Handset Mic", - "AMIC2", "MIC BIAS2 External", - "MIC BIAS2 External", "Headset Mic", - "AMIC4", "MIC BIAS2 External", - "MIC BIAS2 External", "ANCRight Headset Mic", - "AMIC5", "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"; - - qcom,cdc-mclk-gpios = <&pm8226_gpios 1 0>; - qcom,cdc-vdd-spkr-gpios = <&pm8226_gpios 2 0>; - qcom,headset-jack-type-NO; - }; -}; - -&sdcc1 { - vdd-supply = <&pm8226_l17>; - qcom,vdd-always-on; - qcom,vdd-lpm-sup; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <800 500000>; - - vdd-io-supply = <&pm8226_l6>; - qcom,vdd-io-always-on; - qcom,vdd-io-voltage-level = <1800000 1800000>; - qcom,vdd-io-current-level = <250 154000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - qcom,sup-voltages = <2950 2950>; - - qcom,bus-speed-mode = "HS200_1p8v", "DDR_1p8v"; - qcom,nonremovable; - - status = "disabled"; -}; - -&sdhc_1 { - vdd-supply = <&pm8226_l17>; - qcom,vdd-always-on; - qcom,vdd-lpm-sup; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <800 500000>; - - vdd-io-supply = <&pm8226_l6>; - qcom,vdd-io-always-on; - qcom,vdd-io-voltage-level = <1800000 1800000>; - qcom,vdd-io-current-level = <250 154000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - qcom,bus-speed-mode = "HS200_1p8v", "DDR_1p8v"; - qcom,nonremovable; - - status = "ok"; -}; - -&sdcc2 { - vdd-supply = <&pm8226_l18>; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <9000 800000>; - - vdd-io-supply = <&pm8226_l21>; - qcom,vdd-io-always-on; - qcom,vdd-io-lpm-sup; - qcom,vdd-io-voltage-level = <1800000 2950000>; - qcom,vdd-io-current-level = <6 22000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - qcom,sup-voltages = <2950 2950>; - - qcom,xpc; - qcom,bus-speed-mode = "SDR12", "SDR25", "SDR50", "DDR50", "SDR104"; - qcom,current-limit = <600>; - - #address-cells = <0>; - interrupt-parent = <&sdcc2>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 125 0 - 1 &intc 0 220 0 - 2 &msmgpio 38 0x3>; - interrupt-names = "core_irq", "bam_irq", "status_irq"; - cd-gpios = <&msmgpio 38 0x1>; - - status = "disabled"; -}; - -&sdhc_2 { - vdd-supply = <&pm8226_l18>; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <9000 800000>; - - vdd-io-supply = <&pm8226_l21>; - qcom,vdd-io-always-on; - qcom,vdd-io-lpm-sup; - qcom,vdd-io-voltage-level = <1800000 2950000>; - qcom,vdd-io-current-level = <6 22000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - - #address-cells = <0>; - interrupt-parent = <&sdhc_2>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 125 0 - 1 &intc 0 221 0 - 2 &msmgpio 38 0x3>; - interrupt-names = "hc_irq", "pwr_irq", "status_irq"; - cd-gpios = <&msmgpio 38 0x1>; - - status = "ok"; -}; - -&spmi_bus { - qcom,pm8226@0 { - qcom,leds@a100 { - status = "okay"; - qcom,led_mpp_2 { - label = "mpp"; - linux,name = "button-backlight"; - linux,default-trigger = "none"; - qcom,default-state = "off"; - qcom,max-current = <40>; - qcom,current-setting = <5>; - qcom,id = <6>; - qcom,mode = "manual"; - qcom,source-sel = <1>; - qcom,mode-ctrl = <0x60>; - }; - }; - - qcom,leds@a300 { - status = "okay"; - qcom,led_mpp_4 { - label = "mpp"; - linux,name = "green"; - linux,default-trigger = "none"; - qcom,default-state = "off"; - qcom,max-current = <40>; - qcom,current-setting = <5>; - qcom,id = <6>; - qcom,mode = "pwm"; - qcom,pwm-us = <1000>; - qcom,source-sel = <8>; - qcom,mode-ctrl = <0x60>; - qcom,pwm-channel = <0>; - qcom,start-idx = <1>; - qcom,duty-pcts = [00 00 00 00 64 - 64 00 00 00 00]; - qcom,use-blink; - }; - }; - - qcom,leds@a500 { - status = "okay"; - qcom,led_mpp_6 { - label = "mpp"; - linux,name = "red"; - linux,default-trigger = "none"; - qcom,default-state = "off"; - qcom,max-current = <40>; - qcom,current-setting = <5>; - qcom,id = <6>; - qcom,mode = "pwm"; - qcom,pwm-us = <1000>; - qcom,mode-ctrl = <0x60>; - qcom,source-sel = <10>; - qcom,pwm-channel = <5>; - qcom,start-idx = <1>; - qcom,duty-pcts = [00 00 00 00 64 - 64 00 00 00 00]; - qcom,use-blink; - }; - }; - }; - - qcom,pm8226@1 { - qcom,leds@d800 { - status = "okay"; - qcom,wled_0 { - label = "wled"; - linux,name = "wled:backlight"; - linux,default-trigger = "bkl-trigger"; - qcom,cs-out-en; - qcom,op-fdbck = <1>; - qcom,default-state = "on"; - qcom,max-current = <20>; - qcom,ctrl-delay-us = <0>; - qcom,boost-curr-lim = <3>; - qcom,cp-sel = <0>; - qcom,switch-freq = <2>; - qcom,ovp-val = <0>; - qcom,num-strings = <1>; - qcom,id = <0>; - }; - }; - }; -}; - -&pm8226_gpios { - gpio@c000 { /* GPIO 1 */ - /* XO_PMIC_CDC_MCLK enable for tapan codec */ - qcom,mode = <1>; /* Digital output */ - qcom,output-type = <0>; /* CMOS logic */ - qcom,pull = <5>; /* QPNP_PIN_PULL_NO*/ - qcom,vin-sel = <3>; /* QPNP_PIN_VIN3 */ - qcom,out-strength = <3>;/* QPNP_PIN_OUT_STRENGTH_HIGH */ - qcom,src-sel = <2>; /* QPNP_PIN_SEL_FUNC_1 */ - qcom,master-en = <1>; /* Enable GPIO */ - }; - - gpio@c100 { /* GPIO 2 */ - qcom,mode = <1>; - qcom,output-type = <0>; - qcom,pull = <5>; - qcom,vin-sel = <3>; - qcom,out-strength = <3>; - qcom,src-sel = <2>; - qcom,master-en = <1>; - }; - - gpio@c200 { /* GPIO 3 */ - }; - - gpio@c300 { /* GPIO 4 */ - }; - - gpio@c400 { /* GPIO 5 */ - }; - - gpio@c500 { /* GPIO 6 */ - }; - - gpio@c600 { /* GPIO 7 */ - }; - - gpio@c700 { /* GPIO 8 */ - }; -}; - -&pm8226_mpps { - mpp@a000 { /* MPP 1 */ - }; - - mpp@a100 { /* MPP 2 */ - }; - - mpp@a200 { /* MPP 3 */ - }; - - mpp@a300 { /* MPP 4 */ - }; - - mpp@a400 { /* MPP 5 */ - }; - - mpp@a500 { /* MPP 6 */ - }; - - mpp@a600 { /* MPP 7 */ - }; - - mpp@a700 { /* MPP 8 */ - }; -}; - -&pm8226_chg { - qcom,charging-disabled; - qcom,use-default-batt-values; -}; - -&usb_otg_sw { - status = "okay"; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8226-coresight.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v3/msm8226-coresight.dtsi deleted file mode 100644 index e11c963c6..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8226-coresight.dtsi +++ /dev/null @@ -1,377 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -&soc { - tmc_etr: tmc@fc322000 { - compatible = "arm,coresight-tmc"; - reg = <0xfc322000 0x1000>, - <0xfc37c000 0x3000>; - reg-names = "tmc-base", "bam-base"; - - qcom,memory-reservation-type = "EBI1"; - qcom,memory-reservation-size = <0x100000>; /* 1M EBI1 buffer */ - - coresight-id = <0>; - coresight-name = "coresight-tmc-etr"; - coresight-nr-inports = <1>; - coresight-ctis = <&cti0 &cti8>; - }; - - tpiu: tpiu@fc318000 { - compatible = "arm,coresight-tpiu"; - reg = <0xfc318000 0x1000>; - reg-names = "tpiu-base"; - - coresight-id = <1>; - coresight-name = "coresight-tpiu"; - coresight-nr-inports = <1>; - - vdd-supply = <&pm8226_l18>; - - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <9000 800000>; - }; - - replicator: replicator@fc31c000 { - compatible = "qcom,coresight-replicator"; - reg = <0xfc31c000 0x1000>; - reg-names = "replicator-base"; - - coresight-id = <2>; - coresight-name = "coresight-replicator"; - coresight-nr-inports = <1>; - coresight-outports = <0 1>; - coresight-child-list = <&tmc_etr &tpiu>; - coresight-child-ports = <0 0>; - }; - - tmc_etf: tmc@fc307000 { - compatible = "arm,coresight-tmc"; - reg = <0xfc307000 0x1000>; - reg-names = "tmc-base"; - - coresight-id = <3>; - coresight-name = "coresight-tmc-etf"; - coresight-nr-inports = <1>; - coresight-outports = <0>; - coresight-child-list = <&replicator>; - coresight-child-ports = <0>; - coresight-default-sink; - coresight-ctis = <&cti0 &cti8>; - }; - - funnel_merg: funnel@fc31b000 { - compatible = "arm,coresight-funnel"; - reg = <0xfc31b000 0x1000>; - reg-names = "funnel-base"; - - coresight-id = <4>; - coresight-name = "coresight-funnel-merg"; - coresight-nr-inports = <2>; - coresight-outports = <0>; - coresight-child-list = <&tmc_etf>; - coresight-child-ports = <0>; - }; - - funnel_in0: funnel@fc319000 { - compatible = "arm,coresight-funnel"; - reg = <0xfc319000 0x1000>; - reg-names = "funnel-base"; - - coresight-id = <5>; - coresight-name = "coresight-funnel-in0"; - coresight-nr-inports = <8>; - coresight-outports = <0>; - coresight-child-list = <&funnel_merg>; - coresight-child-ports = <0>; - }; - - funnel_in1: funnel@fc31a000 { - compatible = "arm,coresight-funnel"; - reg = <0xfc31a000 0x1000>; - reg-names = "funnel-base"; - - coresight-id = <6>; - coresight-name = "coresight-funnel-in1"; - coresight-nr-inports = <8>; - coresight-outports = <0>; - coresight-child-list = <&funnel_merg>; - coresight-child-ports = <1>; - }; - - funnel_a7ss: funnel@fc345000 { - compatible = "arm,coresight-funnel"; - reg = <0xfc345000 0x1000>; - reg-names = "funnel-base"; - - coresight-id = <7>; - coresight-name = "coresight-funnel-a7ss"; - coresight-nr-inports = <4>; - coresight-outports = <0>; - coresight-child-list = <&funnel_in1>; - coresight-child-ports = <5>; - }; - - funnel_mmss: funnel@fc364000 { - compatible = "arm,coresight-funnel"; - reg = <0xfc364000 0x1000>; - reg-names = "funnel-base"; - - - coresight-id = <8>; - coresight-name = "coresight-funnel-mmss"; - coresight-nr-inports = <8>; - coresight-outports = <0>; - coresight-child-list = <&funnel_in1>; - coresight-child-ports = <1>; - }; - - stm: stm@fc321000 { - compatible = "arm,coresight-stm"; - reg = <0xfc321000 0x1000>, - <0xfa280000 0x180000>; - reg-names = "stm-base", "stm-data-base"; - - coresight-id = <9>; - coresight-name = "coresight-stm"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_in1>; - coresight-child-ports = <7>; - }; - - etm0: etm@fc33c000 { - compatible = "arm,coresight-etm"; - reg = <0xfc33c000 0x1000>; - reg-names = "etm-base"; - - coresight-id = <10>; - coresight-name = "coresight-etm0"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_a7ss>; - coresight-child-ports = <0>; - - qcom,round-robin; - }; - - etm1: etm@fc33d000 { - compatible = "arm,coresight-etm"; - reg = <0xfc33d000 0x1000>; - reg-names = "etm-base"; - - coresight-id = <11>; - coresight-name = "coresight-etm1"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_a7ss>; - coresight-child-ports = <1>; - - qcom,round-robin; - }; - - etm2: etm@fc33e000 { - compatible = "arm,coresight-etm"; - reg = <0xfc33e000 0x1000>; - reg-names = "etm-base"; - - coresight-id = <12>; - coresight-name = "coresight-etm2"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_a7ss>; - coresight-child-ports = <2>; - - qcom,round-robin; - }; - - etm3: etm@fc33f000 { - compatible = "arm,coresight-etm"; - reg = <0xfc33f000 0x1000>; - reg-names = "etm-base"; - - coresight-id = <13>; - coresight-name = "coresight-etm3"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_a7ss>; - coresight-child-ports = <3>; - - qcom,round-robin; - }; - - csr: csr@fc302000 { - compatible = "qcom,coresight-csr"; - reg = <0xfc302000 0x1000>; - reg-names = "csr-base"; - - coresight-id = <14>; - coresight-name = "coresight-csr"; - coresight-nr-inports = <0>; - - qcom,blk-size = <1>; - }; - - cti0: cti@fc308000 { - compatible = "arm,coresight-cti"; - reg = <0xfc308000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <15>; - coresight-name = "coresight-cti0"; - coresight-nr-inports = <0>; - }; - - cti1: cti@fc309000 { - compatible = "arm,coresight-cti"; - reg = <0xfc309000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <16>; - coresight-name = "coresight-cti1"; - coresight-nr-inports = <0>; - }; - - cti2: cti@fc30a000 { - compatible = "arm,coresight-cti"; - reg = <0xfc30a000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <17>; - coresight-name = "coresight-cti2"; - coresight-nr-inports = <0>; - }; - - cti3: cti@fc30b000 { - compatible = "arm,coresight-cti"; - reg = <0xfc30b000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <18>; - coresight-name = "coresight-cti3"; - coresight-nr-inports = <0>; - }; - - cti4: cti@fc30c000 { - compatible = "arm,coresight-cti"; - reg = <0xfc30c000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <19>; - coresight-name = "coresight-cti4"; - coresight-nr-inports = <0>; - }; - - cti5: cti@fc30d000 { - compatible = "arm,coresight-cti"; - reg = <0xfc30d000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <20>; - coresight-name = "coresight-cti5"; - coresight-nr-inports = <0>; - }; - - cti6: cti@fc30e000 { - compatible = "arm,coresight-cti"; - reg = <0xfc30e000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <21>; - coresight-name = "coresight-cti6"; - coresight-nr-inports = <0>; - }; - - cti7: cti@fc30f000 { - compatible = "arm,coresight-cti"; - reg = <0xfc30f000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <22>; - coresight-name = "coresight-cti7"; - coresight-nr-inports = <0>; - }; - - cti8: cti@fc310000 { - compatible = "arm,coresight-cti"; - reg = <0xfc310000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <23>; - coresight-name = "coresight-cti8"; - coresight-nr-inports = <0>; - }; - - cti_l2: cti@fc340000 { - compatible = "arm,coresight-cti"; - reg = <0xfc340000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <24>; - coresight-name = "coresight-cti-l2"; - coresight-nr-inports = <0>; - }; - - cti_cpu0: cti@fc341000 { - compatible = "arm,coresight-cti"; - reg = <0xfc341000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <25>; - coresight-name = "coresight-cti-cpu0"; - coresight-nr-inports = <0>; - }; - - cti_cpu1: cti@fc342000 { - compatible = "arm,coresight-cti"; - reg = <0xfc342000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <26>; - coresight-name = "coresight-cti-cpu1"; - coresight-nr-inports = <0>; - }; - - cti_cpu2: cti@fc343000 { - compatible = "arm,coresight-cti"; - reg = <0xfc343000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <27>; - coresight-name = "coresight-cti-cpu2"; - coresight-nr-inports = <0>; - }; - - cti_cpu3: cti@fc344000 { - compatible = "arm,coresight-cti"; - reg = <0xfc344000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <28>; - coresight-name = "coresight-cti-cpu3"; - coresight-nr-inports = <0>; - }; - - hwevent: hwevent@fd828018 { - compatible = "qcom,coresight-hwevent"; - reg = <0xfd828018 0x80>, - <0xf9011080 0x80>, - <0xfd4ab160 0x80>; - reg-names = "mmss-mux", "apcs-mux", "ppss-mux"; - - coresight-id = <29>; - coresight-name = "coresight-hwevent"; - coresight-nr-inports = <0>; - - qcom,hwevent-clks = "core_mmss_clk"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8226-fluid.dts b/kernel/arch/arm/boot/dts/m7350-un-v3/msm8226-fluid.dts deleted file mode 100644 index c58b43b4b..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8226-fluid.dts +++ /dev/null @@ -1,33 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; -/include/ "msm8226.dtsi" - -/ { - model = "Qualcomm MSM 8226 FLUID"; - compatible = "qcom,msm8226-fluid", "qcom,msm8226", "qcom,fluid"; - qcom,msm-id = <145 3 0>, - <158 3 0>, - <159 3 0>, - <198 3 0>; -}; - -&soc { - serial@f991f000 { - status = "disabled"; - }; -}; - -&pm8226_bms { - status = "ok"; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8226-gpu.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v3/msm8226-gpu.dtsi deleted file mode 100644 index 590f73395..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8226-gpu.dtsi +++ /dev/null @@ -1,161 +0,0 @@ -/* Copyright (c) 2013, 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. - */ -&soc { - msm_gpu: qcom,kgsl-3d0@fdb00000 { - label = "kgsl-3d0"; - compatible = "qcom,kgsl-3d0", "qcom,kgsl-3d"; - reg = <0xfdb00000 0x10000 - 0xfdb20000 0x10000>; - reg-names = "kgsl_3d0_reg_memory" , "kgsl_3d0_shader_memory"; - interrupts = <0 33 0>; - interrupt-names = "kgsl_3d0_irq"; - qcom,id = <0>; - - qcom,chipid = <0x03000510>; - - qcom,initial-pwrlevel = <1>; - - qcom,idle-timeout = <8>; // - qcom,strtstp-sleepwake; - qcom,clk-map = <0x00000016>; /* KGSL_CLK_CORE | KGSL_CLK_IFACE | KGSL_CLK_MEM_IFACE */ - - /* Bus Scale Settings */ - qcom,msm-bus,name = "grp3d"; - qcom,msm-bus,num-cases = <4>; - qcom,msm-bus,num-paths = <2>; - qcom,msm-bus,vectors-KBps = - <26 512 0 0>, <89 604 0 0>, - <26 512 0 1600000>, <89 604 0 3200000>, - <26 512 0 3200000>, <89 604 0 5120000>, - <26 512 0 4256000>, <89 604 0 6400000>; - - - /* GDSC oxili regulators */ - vddcx-supply = "\0"; - vdd-supply = <&gdsc_oxili_cx>; - - - /* IOMMU Data */ - iommu = <&kgsl_iommu>; - - /* Power levels */ - qcom,gpu-pwrlevels { - #address-cells = <1>; - #size-cells = <0>; - - compatible = "qcom,gpu-pwrlevels"; - - qcom,gpu-pwrlevel@0 { - reg = <0>; - qcom,gpu-freq = <450000000>; - qcom,bus-freq = <3>; - qcom,io-fraction = <0>; - }; - - qcom,gpu-pwrlevel@1 { - reg = <1>; - qcom,gpu-freq = <320000000>; - qcom,bus-freq = <2>; - qcom,io-fraction = <33>; - }; - - qcom,gpu-pwrlevel@2 { - reg = <2>; - qcom,gpu-freq = <200000000>; - qcom,bus-freq = <1>; - qcom,io-fraction = <100>; - }; - - qcom,gpu-pwrlevel@3 { - reg = <3>; - qcom,gpu-freq = <19000000>; - qcom,bus-freq = <0>; - qcom,io-fraction = <0>; - }; - }; - - qcom,dcvs-core-info { - #address-cells = <1>; - #size-cells = <0>; - - compatible = "qcom,dcvs-core-info"; - - qcom,num-cores = <1>; - qcom,sensors = <0>; - - qcom,core-core-type = <1>; - - qcom,algo-disable-pc-threshold = <0>; - qcom,algo-em-win-size-min-us = <100000>; - qcom,algo-em-win-size-max-us = <300000>; - qcom,algo-em-max-util-pct = <97>; - qcom,algo-group-id = <95>; - qcom,algo-max-freq-chg-time-us = <100000>; - qcom,algo-slack-mode-dynamic = <100000>; - qcom,algo-slack-weight-thresh-pct = <0>; - qcom,algo-slack-time-min-us = <39000>; - qcom,algo-slack-time-max-us = <39000>; - qcom,algo-ss-win-size-min-us = <1000000>; - qcom,algo-ss-win-size-max-us = <1000000>; - qcom,algo-ss-util-pct = <95>; - qcom,algo-ss-no-corr-below-freq = <0>; - - qcom,energy-active-coeff-a = <2492>; - qcom,energy-active-coeff-b = <0>; - qcom,energy-active-coeff-c = <0>; - qcom,energy-leakage-coeff-a = <11>; - qcom,energy-leakage-coeff-b = <157150>; - qcom,energy-leakage-coeff-c = <0>; - qcom,energy-leakage-coeff-d = <0>; - - qcom,power-current-temp = <25>; - qcom,power-num-freq = <4>; - - qcom,dcvs-freq@0 { - reg = <0>; - qcom,freq = <0>; - qcom,voltage = <0>; - qcom,is_trans_level = <0>; - qcom,active-energy-offset = <100>; - qcom,leakage-energy-offset = <0>; - }; - - qcom,dcvs-freq@1 { - reg = <1>; - qcom,freq = <0>; - qcom,voltage = <0>; - qcom,is_trans_level = <0>; - qcom,active-energy-offset = <100>; - qcom,leakage-energy-offset = <0>; - }; - - qcom,dcvs-freq@2 { - reg = <2>; - qcom,freq = <0>; - qcom,voltage = <0>; - qcom,is_trans_level = <0>; - qcom,active-energy-offset = <100>; - qcom,leakage-energy-offset = <0>; - }; - - qcom,dcvs-freq@3 { - reg = <3>; - qcom,freq = <0>; - qcom,voltage = <0>; - qcom,is_trans_level = <0>; - qcom,active-energy-offset = <844545>; - qcom,leakage-energy-offset = <0>; - }; - }; - - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8226-iommu-domains.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v3/msm8226-iommu-domains.dtsi deleted file mode 100644 index 25fca2a54..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8226-iommu-domains.dtsi +++ /dev/null @@ -1,31 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -&soc { - qcom,iommu-domains { - compatible = "qcom,iommu-domains"; - - venus_domain_ns: qcom,iommu-domain1 { - label = "venus_ns"; - qcom,iommu-contexts = <&venus_ns>; - qcom,virtual-addr-pool = <0x40000000 0x3f000000 - 0x7f000000 0x1000000>; - }; - - venus_domain_cp: qcom,iommu-domain2 { - label = "venus_cp"; - qcom,iommu-contexts = <&venus_cp>; - qcom,virtual-addr-pool = <0x1000000 0x3f000000>; - qcom,secure-domain; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8226-iommu.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v3/msm8226-iommu.dtsi deleted file mode 100644 index ff3e0a59d..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8226-iommu.dtsi +++ /dev/null @@ -1,237 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/include/ "msm-iommu-v1.dtsi" - -&jpeg_iommu { - status = "ok"; - vdd-supply = <&gdsc_jpeg>; - qcom,iommu-enable-halt; - - qcom,iommu-bfb-regs = <0x204c - 0x2050 - 0x2514 - 0x2540 - 0x256c - 0x2314 - 0x2394 - 0x2414 - 0x20ac - 0x215c - 0x220c - 0x2008 - 0x200c - 0x2010 - 0x2014>; - - qcom,iommu-bfb-data = <0x0000ffff - 0x00000000 - 0x4 - 0x4 - 0x0 - 0x0 - 0x10 - 0x50 - 0x0 - 0x10 - 0x20 - 0x0 - 0x0 - 0x0 - 0x0>; -}; - -&mdp_iommu { - status = "ok"; - vdd-supply = <&gdsc_mdss>; - qcom,iommu-enable-halt; - - qcom,iommu-bfb-regs = <0x204c - 0x2050 - 0x2514 - 0x2540 - 0x256c - 0x20ac - 0x215c - 0x220c - 0x2314 - 0x2394 - 0x2414 - 0x2008 - 0x200c - 0x2010 - 0x2014 - 0x2018 - 0x201c - 0x2020>; - - qcom,iommu-bfb-data = <0xffffffff - 0x00000000 - 0x00000004 - 0x00000010 - 0x00000000 - 0x00000000 - 0x00000013 - 0x00000017 - 0x0 - 0x13 - 0x23 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0>; -}; - -&venus_iommu { - status = "ok"; - vdd-supply = <&gdsc_venus>; - qcom,iommu-enable-halt; - - qcom,iommu-bfb-regs = <0x204c - 0x2050 - 0x2514 - 0x2540 - 0x256c - 0x20ac - 0x215c - 0x220c - 0x2314 - 0x2394 - 0x2414 - 0x2008 - 0x200c - 0x2010 - 0x2014 - 0x2018 - 0x201c - 0x2020 - 0x2024 - 0x2028 - 0x202c - 0x2030 - 0x2034 - 0x2038>; - - qcom,iommu-bfb-data = <0xffffffff - 0xffffffff - 0x00000004 - 0x00000008 - 0x00000000 - 0x00000000 - 0x00000094 - 0x000000b4 - 0x0 - 0x94 - 0x114 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0>; -}; - -&venus_ns { - qcom,iommu-ctx-sids = <0 1 2 3 4 5 7>; -}; - -&venus_cp { - qcom,iommu-ctx-sids = <0x80 0x81 0x82 0x83 0x84>; -}; - -&kgsl_iommu { - status = "ok"; - vdd-supply = <&gdsc_oxili_cx>; - qcom,alt-vdd-supply = <&gdsc_oxili_gx>; - qcom,iommu-enable-halt; - qcom,needs-alt-core-clk; - - qcom,iommu-bfb-regs = <0x204c - 0x2050 - 0x2514 - 0x2540 - 0x256c - 0x20ac - 0x215c - 0x220c - 0x2314 - 0x2394 - 0x2414 - 0x2008>; - - qcom,iommu-bfb-data = <0x00000003 - 0x0 - 0x00000004 - 0x00000010 - 0x00000000 - 0x00000000 - 0x00000001 - 0x00000011 - 0x0 - 0x1 - 0x41 - 0x0>; -}; - -&vfe_iommu { - status = "ok"; - vdd-supply = <&gdsc_vfe>; - qcom,iommu-enable-halt; - - qcom,iommu-bfb-regs = <0x204c - 0x2050 - 0x2514 - 0x2540 - 0x256c - 0x2314 - 0x2394 - 0x2414 - 0x20ac - 0x215c - 0x220c - 0x2008 - 0x200c - 0x2010 - 0x2014 - 0x2018 - 0x201c - 0x2020>; - - qcom,iommu-bfb-data = <0xffffffff - 0x00000000 - 0x4 - 0x8 - 0x0 - 0x0 - 0x1b - 0x5b - 0x0 - 0x1b - 0x2b - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0>; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8226-ion.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v3/msm8226-ion.dtsi deleted file mode 100644 index dee64e538..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8226-ion.dtsi +++ /dev/null @@ -1,66 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&soc { - qcom,ion { - compatible = "qcom,msm-ion"; - #address-cells = <1>; - #size-cells = <0>; - - qcom,ion-heap@30 { /* SYSTEM HEAP */ - reg = <30>; - }; - - qcom,ion-heap@21 { /* SYSTEM CONTIG HEAP */ - reg = <21>; - }; - - qcom,ion-heap@8 { /* CP_MM HEAP */ - compatible = "qcom,msm-ion-reserve"; - reg = <8>; - qcom,heap-align = <0x1000>; - linux,contiguous-region = <&secure_mem>; - }; - - qcom,ion-heap@25 { /* IOMMU HEAP */ - reg = <25>; - }; - - qcom,ion-heap@27 { /* QSECOM HEAP */ - compatible = "qcom,msm-ion-reserve"; - reg = <27>; - linux,contiguous-region = <&qsecom_mem>; - }; - - qcom,ion-heap@28 { /* AUDIO HEAP */ - compatible = "qcom,msm-ion-reserve"; - reg = <28>; - qcom,heap-align = <0x1000>; - qcom,memory-reservation-type = "EBI1"; /* reserve EBI memory */ - qcom,memory-reservation-size = <0x314000>; - }; - qcom,ion-heap@23 { /* OTHER PIL HEAP */ - compatible = "qcom,msm-ion-reserve"; - reg = <23>; - qcom,heap-align = <0x1000>; - qcom,memory-fixed = <0x06400000 0x2000000>; - }; - qcom,ion-heap@26 { /* MODEM PIL HEAP */ - compatible = "qcom,msm-ion-reserve"; - reg = <26>; - qcom,heap-align = <0x1000>; - qcom,memory-fixed = <0x08400000 0x4E00000>; - - }; - - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8226-mdss.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v3/msm8226-mdss.dtsi deleted file mode 100644 index f58089709..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8226-mdss.dtsi +++ /dev/null @@ -1,80 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -&soc { - qcom,mdss_mdp@fd900000 { - compatible = "qcom,mdss_mdp"; - reg = <0xfd900000 0x22100>, - <0xfd924000 0x1000>; - reg-names = "mdp_phys", "vbif_phys"; - interrupts = <0 72 0>; - vdd-supply = <&gdsc_mdss>; - - qcom,max-clk-rate = <200000000>; - qcom,mdss-pipe-vig-off = <0x00001200>; - qcom,mdss-pipe-rgb-off = <0x00001E00>; - qcom,mdss-pipe-dma-off = <0x00002A00>; - qcom,mdss-pipe-vig-fetch-id = <1>; - qcom,mdss-pipe-rgb-fetch-id = <7>; - qcom,mdss-pipe-dma-fetch-id = <4>; - qcom,mdss-smp-data = <7 4096>; - - qcom,mdss-ctl-off = <0x00000600 0x00000700>; - qcom,mdss-mixer-intf-off = <0x00003200>; - qcom,mdss-mixer-wb-off = <0x00003E00>; - qcom,mdss-dspp-off = <0x00004600>; - qcom,mdss-pingpong-off = <0x00021B00>; - qcom,mdss-wb-off = <0x00011100 0x00013100>; - qcom,mdss-intf-off = <0x00000000 0x00021300>; - qcom,mdss-rot-block-size = <64>; - - qcom,vbif-settings = <0x004 0x00000001>, - <0x0D8 0x00000707>, - <0x124 0x00000003>; - qcom,mdp-settings = <0x02E0 0x000000A9>, - <0x02E4 0x00000055>; - - mdss_fb0: qcom,mdss_fb_primary { - cell-index = <0>; - compatible = "qcom,mdss-fb"; - qcom,memory-reservation-type = "EBI1"; - qcom,memory-reservation-size = <0x800000>; - }; - - mdss_fb1: qcom,mdss_fb_wfd { - cell-index = <1>; - compatible = "qcom,mdss-fb"; - }; - }; - - mdss_dsi0: qcom,mdss_dsi@fd922800 { - compatible = "qcom,mdss-dsi-ctrl"; - label = "MDSS DSI CTRL->0"; - cell-index = <0>; - reg = <0xfd922800 0x600>; - vdd-supply = <&pm8226_l15>; - vddio-supply = <&pm8226_l8>; - vdda-supply = <&pm8226_l4>; - qcom,supply-names = "vdd", "vddio", "vdda"; - qcom,supply-min-voltage-level = <2800000 1800000 1200000>; - qcom,supply-max-voltage-level = <2800000 1800000 1200000>; - qcom,supply-peak-current = <150000 100000 100000>; - qcom,mdss-fb-map = <&mdss_fb0>; - }; - - qcom,mdss_wb_panel { - compatible = "qcom,mdss_wb"; - qcom,mdss_pan_res = <1280 720>; - qcom,mdss_pan_bpp = <24>; - qcom,mdss-fb-map = <&mdss_fb1>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8226-mtp.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v3/msm8226-mtp.dtsi deleted file mode 100644 index bcd1c41d6..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8226-mtp.dtsi +++ /dev/null @@ -1,445 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/include/ "dsi-panel-nt35590-720p-video.dtsi" -/include/ "msm8226-camera-sensor-mtp.dtsi" - -&soc { - serial@f991f000 { - status = "ok"; - }; - - qcom,mdss_dsi_nt35590_720p_video { - status = "ok"; - }; - - i2c@f9927000 { /* BLSP1 QUP5 */ - synaptics@20 { - compatible = "synaptics,rmi4"; - reg = <0x20>; - interrupt-parent = <&msmgpio>; - interrupts = <17 0x2008>; - vdd-supply = <&pm8226_l19>; - vcc_i2c-supply = <&pm8226_lvs1>; - synaptics,reset-gpio = <&msmgpio 16 0x00>; - synaptics,irq-gpio = <&msmgpio 17 0x2008>; - synaptics,button-map = <139 102 158>; - synaptics,i2c-pull-up; - }; - }; - - gpio_keys { - compatible = "gpio-keys"; - input-name = "gpio-keys"; - - camera_focus { - label = "camera_focus"; - gpios = <&msmgpio 108 0x1>; - linux,input-type = <1>; - linux,code = <0x210>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - - camera_snapshot { - label = "camera_snapshot"; - gpios = <&msmgpio 107 0x1>; - linux,input-type = <1>; - linux,code = <0x2fe>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - - vol_up { - label = "volume_up"; - gpios = <&msmgpio 106 0x1>; - linux,input-type = <1>; - linux,code = <115>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - }; - - spi@f9923000 { - ethernet-switch@3 { - compatible = "micrel,ks8851"; - reg = <3>; - interrupt-parent = <&msmgpio>; - interrupts = <0 115 0>; - spi-max-frequency = <4800000>; - rst-gpio = <&msmgpio 114 0>; - vdd-io-supply = <&pm8226_lvs1>; - vdd-phy-supply = <&pm8226_lvs1>; - }; - }; - - sound { - qcom,audio-routing = - "RX_BIAS", "MCLK", - "LDO_H", "MCLK", - "SPK_OUT", "MCLK", - "SPK_OUT", "EXT_VDD_SPKR", - "AMIC1", "MIC BIAS1 External", - "MIC BIAS1 External", "Handset Mic", - "AMIC2", "MIC BIAS2 External", - "MIC BIAS2 External", "Headset Mic", - "AMIC3", "MIC BIAS1 External", - "MIC BIAS1 External", "ANCRight Headset Mic", - "AMIC4", "MIC BIAS2 External", - "MIC BIAS2 External", "ANCLeft Headset Mic"; - - qcom,cdc-mclk-gpios = <&pm8226_gpios 1 0>; - qcom,cdc-vdd-spkr-gpios = <&pm8226_gpios 2 0>; - }; -}; - -&usb_otg { - #address-cells = <0>; - interrupt-parent = <&usb_otg>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 134 0 - 1 &intc 0 140 0 - 2 &spmi_bus 0x0 0x0 0x9 0x0>; - interrupt-names = "core_irq", "async_irq", "pmic_id_irq"; - - qcom,hsusb-otg-mode = <3>; - vbus_otg-supply = <&usb_otg_sw>; -}; - -&sdcc1 { - vdd-supply = <&pm8226_l17>; - qcom,vdd-always-on; - qcom,vdd-lpm-sup; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <800 500000>; - - vdd-io-supply = <&pm8226_l6>; - qcom,vdd-io-always-on; - qcom,vdd-io-voltage-level = <1800000 1800000>; - qcom,vdd-io-current-level = <250 154000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - qcom,sup-voltages = <2950 2950>; - - qcom,bus-speed-mode = "HS200_1p8v", "DDR_1p8v"; - qcom,nonremovable; - - status = "disabled"; -}; - -&sdhc_1 { - vdd-supply = <&pm8226_l17>; - qcom,vdd-always-on; - qcom,vdd-lpm-sup; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <800 500000>; - - vdd-io-supply = <&pm8226_l6>; - qcom,vdd-io-always-on; - qcom,vdd-io-voltage-level = <1800000 1800000>; - qcom,vdd-io-current-level = <250 154000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - qcom,bus-speed-mode = "HS200_1p8v", "DDR_1p8v"; - qcom,nonremovable; - - status = "ok"; -}; - -&sdcc2 { - vdd-supply = <&pm8226_l18>; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <9000 800000>; - - vdd-io-supply = <&pm8226_l21>; - qcom,vdd-io-always-on; - qcom,vdd-io-lpm-sup; - qcom,vdd-io-voltage-level = <1800000 2950000>; - qcom,vdd-io-current-level = <6 22000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - qcom,sup-voltages = <2950 2950>; - - qcom,xpc; - qcom,bus-speed-mode = "SDR12", "SDR25", "SDR50", "DDR50", "SDR104"; - qcom,current-limit = <600>; #address-cells = <0>; interrupt-parent = <&sdcc2>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 125 0 - 1 &intc 0 220 0 - 2 &msmgpio 38 0x3>; - interrupt-names = "core_irq", "bam_irq", "status_irq"; - cd-gpios = <&msmgpio 38 0x1>; - - status = "disabled"; -}; - -&sdhc_2 { - vdd-supply = <&pm8226_l18>; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <9000 800000>; - - vdd-io-supply = <&pm8226_l21>; - qcom,vdd-io-always-on; - qcom,vdd-io-lpm-sup; - qcom,vdd-io-voltage-level = <1800000 2950000>; - qcom,vdd-io-current-level = <6 22000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - - #address-cells = <0>; - interrupt-parent = <&sdhc_2>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 125 0 - 1 &intc 0 221 0 - 2 &msmgpio 38 0x3>; - interrupt-names = "hc_irq", "pwr_irq", "status_irq"; - cd-gpios = <&msmgpio 38 0x1>; - - status = "ok"; -}; - -&spmi_bus { - qcom,pm8226@0 { - qcom,leds@a100 { - status = "okay"; - qcom,led_mpp_2 { - label = "mpp"; - linux,name = "button-backlight"; - linux,default-trigger = "none"; - qcom,default-state = "off"; - qcom,max-current = <40>; - qcom,current-setting = <5>; - qcom,id = <6>; - qcom,mode = "manual"; - qcom,source-sel = <1>; - qcom,mode-ctrl = <0x60>; - }; - }; - - qcom,leds@a300 { - status = "okay"; - qcom,led_mpp_4 { - label = "mpp"; - linux,name = "green"; - linux,default-trigger = "none"; - qcom,default-state = "off"; - qcom,max-current = <40>; - qcom,current-setting = <5>; - qcom,id = <6>; - qcom,mode = "pwm"; - qcom,pwm-us = <1000>; - qcom,source-sel = <8>; - qcom,mode-ctrl = <0x60>; - qcom,pwm-channel = <0>; - qcom,start-idx = <1>; - qcom,duty-pcts = [00 00 00 00 64 - 64 00 00 00 00]; - qcom,use-blink; - }; - }; - - qcom,leds@a500 { - status = "okay"; - qcom,led_mpp_6 { - label = "mpp"; - linux,name = "red"; - linux,default-trigger = "none"; - qcom,default-state = "off"; - qcom,max-current = <40>; - qcom,current-setting = <5>; - qcom,id = <6>; - qcom,mode = "pwm"; - qcom,pwm-us = <1000>; - qcom,mode-ctrl = <0x60>; - qcom,source-sel = <10>; - qcom,pwm-channel = <5>; - qcom,start-idx = <1>; - qcom,duty-pcts = [00 00 00 00 64 - 64 00 00 00 00]; - qcom,use-blink; - }; - }; - }; - - qcom,pm8226@1 { - qcom,leds@d300 { - status = "okay"; - }; - - qcom,leds@d800 { - status = "okay"; - qcom,wled_0 { - label = "wled"; - linux,name = "wled:backlight"; - linux,default-trigger = "bkl-trigger"; - qcom,cs-out-en; - qcom,op-fdbck = <1>; - qcom,default-state = "on"; - qcom,max-current = <20>; - qcom,ctrl-delay-us = <0>; - qcom,boost-curr-lim = <3>; - qcom,cp-sel = <0>; - qcom,switch-freq = <2>; - qcom,ovp-val = <0>; - qcom,num-strings = <1>; - qcom,id = <0>; - }; - }; - }; -}; - -&pm8226_gpios { - gpio@c000 { /* GPIO 1 */ - /* XO_PMIC_CDC_MCLK enable for tapan codec */ - qcom,mode = <1>; /* Digital output */ - qcom,output-type = <0>; /* CMOS logic */ - qcom,pull = <5>; /* QPNP_PIN_PULL_NO*/ - qcom,vin-sel = <3>; /* QPNP_PIN_VIN3 */ - qcom,out-strength = <3>;/* QPNP_PIN_OUT_STRENGTH_HIGH */ - qcom,src-sel = <2>; /* QPNP_PIN_SEL_FUNC_1 */ - qcom,master-en = <1>; /* Enable GPIO */ - }; - - gpio@c100 { /* GPIO 2 */ - qcom,mode = <1>; - qcom,output-type = <0>; - qcom,pull = <5>; - qcom,vin-sel = <3>; - qcom,out-strength = <3>; - qcom,src-sel = <2>; - qcom,master-en = <1>; - }; - - gpio@c200 { /* GPIO 3 */ - }; - - gpio@c300 { /* GPIO 4 */ - }; - - gpio@c400 { /* GPIO 5 */ - }; - - gpio@c500 { /* GPIO 6 */ - }; - - gpio@c600 { /* GPIO 7 */ - }; - - gpio@c700 { /* GPIO 8 */ - }; -}; - -&pm8226_mpps { - mpp@a000 { /* MPP 1 */ - }; - - mpp@a100 { /* MPP 2 */ - }; - - mpp@a200 { /* MPP 3 */ - }; - - mpp@a300 { /* MPP 4 */ - }; - - mpp@a400 { /* MPP 5 */ - /* PA_THERM0 config */ - qcom,mode = <4>; /* AIN input */ - qcom,invert = <1>; /* Enable MPP */ - qcom,ain-route = <0>; /* AMUX 5 */ - qcom,master-en = <1>; - qcom,src-sel = <0>; /* Function constant */ - }; - - mpp@a500 { /* MPP 6 */ - }; - - mpp@a600 { /* MPP 7 */ - }; - - mpp@a700 { /* MPP 8 */ - /* PA_THERM1 config */ - qcom,mode = <4>; /* AIN input */ - qcom,invert = <1>; /* Enable MPP */ - qcom,ain-route = <3>; /* AMUX 8 */ - qcom,master-en = <1>; - qcom,src-sel = <0>; /* Function constant */ - }; -}; - -&pm8226_vadc { - chan@14 { - label = "pa_therm0"; - reg = <0x14>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@17 { - label = "pa_therm1"; - reg = <0x17>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; -}; - -&pm8226_bms { - status = "ok"; -}; - -&pm8226_chg { - qcom,charging-disabled; -}; - -&usb_otg_sw { - status = "okay"; -}; - -&slim_msm { - tapan_codec { - qcom,cdc-micbias1-ext-cap; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8226-pm.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v3/msm8226-pm.dtsi deleted file mode 100644 index 3240efb75..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8226-pm.dtsi +++ /dev/null @@ -1,389 +0,0 @@ -/* Copyright (c) 2013 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. - */ - -/include/ "skeleton.dtsi" - -&soc { - qcom,spm@f9089000 { - compatible = "qcom,spm-v2"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xf9089000 0x1000>; - qcom,core-id = <0>; - qcom,saw2-ver-reg = <0xfd0>; - qcom,saw2-cfg = <0x01>; - qcom,saw2-spm-dly= <0x3c102800>; - qcom,saw2-spm-ctl = <0x0>; - qcom,saw2-spm-cmd-wfi = [60 03 60 0b 0f]; - qcom,saw2-spm-cmd-spc = [00 20 10 80 30 90 5b 60 03 60 3b 76 76 - 0b 94 5b 80 10 06 26 30 0f]; - qcom,saw2-spm-cmd-pc = [00 20 10 80 30 90 5b 60 07 60 3b 76 76 - 0b 94 5b 80 10 06 26 30 0f]; - }; - - qcom,spm@f9099000 { - compatible = "qcom,spm-v2"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xf9099000 0x1000>; - qcom,core-id = <1>; - qcom,saw2-ver-reg = <0xfd0>; - qcom,saw2-cfg = <0x01>; - qcom,saw2-spm-dly= <0x3c102800>; - qcom,saw2-spm-ctl = <0x0>; - qcom,saw2-spm-cmd-wfi = [60 03 60 0b 0f]; - qcom,saw2-spm-cmd-spc = [00 20 10 80 30 90 5b 60 03 60 3b 76 76 - 0b 94 5b 80 10 06 26 30 0f]; - qcom,saw2-spm-cmd-pc = [00 20 10 80 30 90 5b 60 07 60 3b 76 76 - 0b 94 5b 80 10 06 26 30 0f]; - }; - - qcom,spm@f90a9000 { - compatible = "qcom,spm-v2"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xf90a9000 0x1000>; - qcom,core-id = <2>; - qcom,saw2-ver-reg = <0xfd0>; - qcom,saw2-cfg = <0x01>; - qcom,saw2-spm-dly= <0x3c102800>; - qcom,saw2-spm-ctl = <0x0>; - qcom,saw2-spm-cmd-wfi = [60 03 60 0b 0f]; - qcom,saw2-spm-cmd-spc = [00 20 10 80 30 90 5b 60 03 60 3b 76 76 - 0b 94 5b 80 10 06 26 30 0f]; - qcom,saw2-spm-cmd-pc = [00 20 10 80 30 90 5b 60 07 60 3b 76 76 - 0b 94 5b 80 10 06 26 30 0f]; - }; - - qcom,spm@f90b9000 { - compatible = "qcom,spm-v2"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xf90b9000 0x1000>; - qcom,core-id = <3>; - qcom,saw2-ver-reg = <0xfd0>; - qcom,saw2-cfg = <0x01>; - qcom,saw2-spm-dly= <0x3c102800>; - qcom,saw2-spm-ctl = <0x0>; - qcom,saw2-spm-cmd-wfi = [60 03 60 0b 0f]; - qcom,saw2-spm-cmd-spc = [00 20 10 80 30 90 5b 60 03 60 3b 76 76 - 0b 94 5b 80 10 06 26 30 0f]; - qcom,saw2-spm-cmd-pc = [00 20 10 80 30 90 5b 60 07 60 3b 76 76 - 0b 94 5b 80 10 06 26 30 0f]; - }; - - qcom,spm@f9012000 { - compatible = "qcom,spm-v2"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xf9012000 0x1000>; - qcom,core-id = <0xffff>; /* L2/APCS SAW */ - qcom,saw2-ver-reg = <0xfd0>; - qcom,saw2-cfg = <0x14>; - qcom,saw2-spm-dly= <0x3c102800>; - qcom,saw2-spm-ctl = <0x0>; - qcom,saw2-pmic-data0 = <0x02030080>; - qcom,saw2-pmic-data1 = <0x00030000>; - qcom,vctl-timeout-us = <50>; - qcom,vctl-port = <0x0>; - qcom,phase-port = <0x1>; - qcom,pfm-port = <0x2>; - qcom,saw2-spm-cmd-ret = [00 03 00 7b 0f]; - qcom,saw2-spm-cmd-pc = [00 32 b0 10 e0 d0 6b c0 42 f0 - 11 07 01 b0 4e c0 d0 12 e0 6b 50 02 32 - 50 f0 7b 0f]; /*APCS_PMIC_OFF_L2RAM_OFF*/ - }; - - qcom,lpm-resources { - compatible = "qcom,lpm-resources"; - #address-cells = <1>; - #size-cells = <0>; - - qcom,lpm-resources@0 { - reg = <0x0>; - qcom,name = "vdd-dig"; - qcom,type = <0x61706d73>; /* "smpa" */ - qcom,id = <0x01>; - qcom,key = <0x6e726f63>; /* "corn" */ - qcom,init-value = <3>; /* SVS SOC */ - }; - - qcom,lpm-resources@1 { - reg = <0x1>; - qcom,name = "vdd-mem"; - qcom,type = <0x616F646C>; /* "ldoa" */ - qcom,id = <0x03>; - qcom,key = <0x6e726f63>; /* "corn" */ - qcom,init-value = <3>; /* SVS SOC */ - }; - - qcom,lpm-resources@2 { - reg = <0x2>; - qcom,name = "pxo"; - qcom,type = <0x306b6c63>; /* "clk0" */ - qcom,id = <0x00>; - qcom,key = <0x62616e45>; /* "Enab" */ - qcom,init-value = "xo_on"; - }; - - qcom,lpm-resources@3 { - reg = <0x3>; - qcom,name = "l2"; - qcom,local-resource-type; - qcom,init-value = "l2_cache_retention"; - }; - }; - - qcom,lpm-levels { - compatible = "qcom,lpm-levels"; - #address-cells = <1>; - #size-cells = <0>; - - qcom,lpm-level@0 { - reg = <0x0>; - qcom,mode = "wfi"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_active"; - qcom,vdd-mem-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <4>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <1>; - qcom,ss-power = <784>; - qcom,energy-overhead = <190000>; - qcom,time-overhead = <100>; - }; - - qcom,lpm-level@1 { - reg = <0x1>; - qcom,mode = "standalone_pc"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_active"; - qcom,vdd-mem-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <4>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <3000>; - qcom,ss-power = <725>; - qcom,energy-overhead = <99500>; - qcom,time-overhead = <3130>; - }; - - qcom,lpm-level@2 { - reg = <0x2>; - qcom,mode = "pc"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_retention"; - qcom,vdd-mem-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <4>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <8000>; - qcom,ss-power = <138>; - qcom,energy-overhead = <1208400>; - qcom,time-overhead = <9200>; - }; - - qcom,lpm-level@3 { - reg = <0x3>; - qcom,mode = "pc"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_pc"; - qcom,vdd-mem-upper-bound = <4>; /* NORMAL */ - qcom,vdd-mem-lower-bound = <3>; /* SVS SOC */ - qcom,vdd-dig-upper-bound = <4>; /* NORMAL */ - qcom,vdd-dig-lower-bound = <3>; /* SVS SOC */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <9000>; - qcom,ss-power = <110>; - qcom,energy-overhead = <1250300>; - qcom,time-overhead = <9500>; - }; - - qcom,lpm-level@4 { - reg = <0x4>; - qcom,mode = "pc"; - qcom,xo = "xo_off"; - qcom,l2 = "l2_cache_pc"; - qcom,vdd-mem-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <4>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,latency-us = <16300>; - qcom,ss-power = <63>; - qcom,energy-overhead = <2128000>; - qcom,time-overhead = <24200>; - }; - - qcom,lpm-level@5 { - reg = <0x5>; - qcom,mode = "pc"; - qcom,xo = "xo_off"; - qcom,l2 = "l2_cache_pc"; - qcom,vdd-mem-upper-bound = <4>; /* NORMAL */ - qcom,vdd-mem-lower-bound = <3>; /* SVS SOC */ - qcom,vdd-dig-upper-bound = <4>; /* NORMAL */ - qcom,vdd-dig-lower-bound = <3>; /* SVS SOC */ - qcom,latency-us = <24000>; - qcom,ss-power = <10>; - qcom,energy-overhead = <3202600>; - qcom,time-overhead = <33000>; - }; - - qcom,lpm-level@6 { - reg = <0x6>; - qcom,mode = "pc"; - qcom,xo = "xo_off"; - qcom,l2 = "l2_cache_pc"; - qcom,vdd-mem-upper-bound = <3>; /* SVS SOC */ - qcom,vdd-mem-lower-bound = <1>; /* RETENTION */ - qcom,vdd-dig-upper-bound = <3>; /* SVS SOC */ - qcom,vdd-dig-lower-bound = <1>; /* RETENTION */ - qcom,latency-us = <26000>; - qcom,ss-power = <2>; - qcom,energy-overhead = <4252000>; - qcom,time-overhead = <38000>; - }; - }; - - qcom,pm-boot { - compatible = "qcom,pm-boot"; - qcom,mode = "tz"; - }; - - qcom,mpm@fc4281d0 { - compatible = "qcom,mpm-v2"; - reg = <0xfc4281d0 0x1000>, /* MSM_RPM_MPM_BASE 4K */ - <0xf9011008 0x4>; /* MSM_APCS_GCC_BASE 4K */ - reg-names = "vmpm", "ipc"; - interrupts = <0 171 1>; - - qcom,ipc-bit-offset = <1>; - - qcom,gic-parent = <&intc>; - qcom,gic-map = <47 172>, /* usb2_hsic_async_wakeup_irq */ - <53 104>, /* mdss_irq */ - <62 222>, /* ee0_krait_hlos_spmi_periph_irq */ - <2 216>, /* tsens_upper_lower_int */ - <0xff 56>, /* q6_wdog_expired_irq */ - <0xff 57>, /* mss_to_apps_irq(0) */ - <0xff 58>, /* mss_to_apps_irq(1) */ - <0xff 59>, /* mss_to_apps_irq(2) */ - <0xff 60>, /* mss_to_apps_irq(3) */ - <0xff 61>, /* mss_a2_bam_irq */ - <0xff 173>, /* o_wcss_apss_smd_hi */ - <0xff 174>, /* o_wcss_apss_smd_med */ - <0xff 175>, /* o_wcss_apss_smd_low */ - <0xff 176>, /* o_wcss_apss_smsm_irq */ - <0xff 177>, /* o_wcss_apss_wlan_data_xfer_done */ - <0xff 178>, /* o_wcss_apss_wlan_rx_data_avail */ - <0xff 179>, /* o_wcss_apss_asic_intr - <0xff 181>, /* o_wcss_apss_wdog_bite_and_reset_rdy */ - <0xff 188>, /* lpass_irq_out_apcs(0) */ - <0xff 189>, /* lpass_irq_out_apcs(1) */ - <0xff 190>, /* lpass_irq_out_apcs(2) */ - <0xff 191>, /* lpass_irq_out_apcs(3) */ - <0xff 192>, /* lpass_irq_out_apcs(4) */ - <0xff 194>, /* lpass_irq_out_apcs[6] */ - <0xff 195>, /* lpass_irq_out_apcs[7] */ - <0xff 196>, /* lpass_irq_out_apcs[8] */ - <0xff 200>, /* rpm_ipc(4) */ - <0xff 201>, /* rpm_ipc(5) */ - <0xff 202>, /* rpm_ipc(6) */ - <0xff 203>, /* rpm_ipc(7) */ - <0xff 204>, /* rpm_ipc(24) */ - <0xff 205>, /* rpm_ipc(25) */ - <0xff 206>, /* rpm_ipc(26) */ - <0xff 207>, /* rpm_ipc(27) */ - <0xff 258>, /* rpm_ipc(28) */ - <0xff 259>, /* rpm_ipc(29) */ - <0xff 275>, /* rpm_ipc(30) */ - <0xff 276>, /* rpm_ipc(31) */ - <0xff 269>, /* rpm_wdog_expired_irq */ - <0xff 240>; /* summary_irq_kpss */ - - qcom,gpio-parent = <&msmgpio>; - qcom,gpio-map = <3 1>, - <4 4 >, - <5 5 >, - <6 9 >, - <7 13>, - <8 17>, - <9 21>, - <10 27>, - <11 29>, - <12 31>, - <13 33>, - <14 35>, - <15 37>, - <16 38>, - <17 39>, - <18 41>, - <19 46>, - <20 48>, - <21 49>, - <22 50>, - <23 51>, - <24 52>, - <25 54>, - <26 62>, - <27 63>, - <28 64>, - <29 65>, - <30 66>, - <31 67>, - <32 68>, - <33 69>, - <34 71>, - <35 72>, - <36 106>, - <37 107>, - <38 108>, - <39 109>, - <40 110>, - <54 111>, - <55 113>; - }; - - qcom,pm-8x60@fe805664 { - compatible = "qcom,pm-8x60"; - reg = <0xfe805664 0x40>; - qcom,pc-mode = "tz_l2_int"; - qcom,use-sync-timer; - qcom,pc-resets-timer; - }; - - qcom,rpm-log@fc19dc00 { - compatible = "qcom,rpm-log"; - reg = <0xfc19dc00 0x4000>; - qcom,rpm-addr-phys = <0xfc000000>; - qcom,offset-version = <4>; - qcom,offset-page-buffer-addr = <36>; - qcom,offset-log-len = <40>; - qcom,offset-log-len-mask = <44>; - qcom,offset-page-indices = <56>; - }; - - qcom,rpm-stats@fc19dba0 { - compatible = "qcom,rpm-stats"; - reg = <0xfc19dba0 0x1000>; - reg-names = "phys_addr_base"; - qcom,sleep-stats-version = <2>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8226-qrd.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v3/msm8226-qrd.dtsi deleted file mode 100644 index fc9d9f9b9..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8226-qrd.dtsi +++ /dev/null @@ -1,406 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/include/ "dsi-panel-nt35590-720p-video.dtsi" -/include/ "msm8226-camera-sensor-qrd.dtsi" - -&soc { - serial@f991f000 { - status = "ok"; - }; - - qcom,mdss_dsi_nt35590_720p_video { - status = "ok"; - }; - - i2c@f9927000 { /* BLSP1 QUP5 */ - synaptics@20 { - compatible = "synaptics,rmi4"; - reg = <0x20>; - interrupt-parent = <&msmgpio>; - interrupts = <17 0x2008>; - vdd-supply = <&pm8226_l19>; - vcc_i2c-supply = <&pm8226_lvs1>; - synaptics,reset-gpio = <&msmgpio 16 0x00>; - synaptics,irq-gpio = <&msmgpio 17 0x2008>; - synaptics,button-map = <139 102 158>; - synaptics,i2c-pull-up; - }; - }; - - gpio_keys { - compatible = "gpio-keys"; - input-name = "gpio-keys"; - - camera_focus { - label = "camera_focus"; - gpios = <&msmgpio 108 0x1>; - linux,input-type = <1>; - linux,code = <0x210>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - - camera_snapshot { - label = "camera_snapshot"; - gpios = <&msmgpio 107 0x1>; - linux,input-type = <1>; - linux,code = <0x2fe>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - - vol_up { - label = "volume_up"; - gpios = <&msmgpio 106 0x1>; - linux,input-type = <1>; - linux,code = <115>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - }; - - spi@f9923000 { - ethernet-switch@3 { - compatible = "micrel,ks8851"; - reg = <3>; - interrupt-parent = <&msmgpio>; - interrupts = <0 115 0>; - spi-max-frequency = <4800000>; - rst-gpio = <&msmgpio 114 0>; - vdd-io-supply = <&pm8226_lvs1>; - vdd-phy-supply = <&pm8226_lvs1>; - }; - }; - - sound { - qcom,audio-routing = - "RX_BIAS", "MCLK", - "LDO_H", "MCLK", - "SPK_OUT", "MCLK", - "SPK_OUT", "EXT_VDD_SPKR", - "AMIC1", "MIC BIAS1 External", - "MIC BIAS1 External", "Handset Mic", - "AMIC2", "MIC BIAS2 External", - "MIC BIAS2 External", "Headset Mic", - "AMIC3", "MIC BIAS1 External", - "MIC BIAS1 External", "ANCRight Headset Mic", - "AMIC4", "MIC BIAS2 External", - "MIC BIAS2 External", "ANCLeft Headset Mic"; - - qcom,cdc-mclk-gpios = <&pm8226_gpios 1 0>; - qcom,cdc-vdd-spkr-gpios = <&pm8226_gpios 2 0>; - qcom,cdc-us-euro-gpios = <&msmgpio 69 0>; - }; -}; - -&sdcc1 { - vdd-supply = <&pm8226_l17>; - qcom,vdd-always-on; - qcom,vdd-lpm-sup; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <800 500000>; - - vdd-io-supply = <&pm8226_l6>; - qcom,vdd-io-always-on; - qcom,vdd-io-voltage-level = <1800000 1800000>; - qcom,vdd-io-current-level = <250 154000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - qcom,sup-voltages = <2950 2950>; - - qcom,bus-speed-mode = "HS200_1p8v", "DDR_1p8v"; - qcom,nonremovable; - - status = "disabled"; -}; - -&sdhc_1 { - vdd-supply = <&pm8226_l17>; - qcom,vdd-always-on; - qcom,vdd-lpm-sup; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <800 500000>; - - vdd-io-supply = <&pm8226_l6>; - qcom,vdd-io-always-on; - qcom,vdd-io-voltage-level = <1800000 1800000>; - qcom,vdd-io-current-level = <250 154000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - qcom,bus-speed-mode = "HS200_1p8v", "DDR_1p8v"; - qcom,nonremovable; - - status = "ok"; -}; - -&sdcc2 { - vdd-supply = <&pm8226_l18>; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <9000 800000>; - - vdd-io-supply = <&pm8226_l21>; - qcom,vdd-io-always-on; - qcom,vdd-io-lpm-sup; - qcom,vdd-io-voltage-level = <1800000 2950000>; - qcom,vdd-io-current-level = <6 22000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - qcom,sup-voltages = <2950 2950>; - - qcom,xpc; - qcom,bus-speed-mode = "SDR12", "SDR25", "SDR50", "DDR50", "SDR104"; - qcom,current-limit = <600>; - - #address-cells = <0>; - interrupt-parent = <&sdcc2>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 125 0 - 1 &intc 0 220 0 - 2 &msmgpio 38 0x3>; - interrupt-names = "core_irq", "bam_irq", "status_irq"; - cd-gpios = <&msmgpio 38 0x1>; - - status = "disabled"; -}; - -&sdhc_2 { - vdd-supply = <&pm8226_l18>; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <9000 800000>; - - vdd-io-supply = <&pm8226_l21>; - qcom,vdd-io-always-on; - qcom,vdd-io-lpm-sup; - qcom,vdd-io-voltage-level = <1800000 2950000>; - qcom,vdd-io-current-level = <6 22000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - - #address-cells = <0>; - interrupt-parent = <&sdhc_2>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 125 0 - 1 &intc 0 221 0 - 2 &msmgpio 38 0x3>; - interrupt-names = "hc_irq", "pwr_irq", "status_irq"; - cd-gpios = <&msmgpio 38 0x1>; - - status = "ok"; -}; - -&spmi_bus { - qcom,pm8226@0 { - qcom,leds@a100 { - status = "okay"; - qcom,led_mpp_2 { - label = "mpp"; - linux,name = "button-backlight"; - linux,default-trigger = "none"; - qcom,default-state = "off"; - qcom,max-current = <40>; - qcom,current-setting = <5>; - qcom,id = <6>; - qcom,mode = "manual"; - qcom,source-sel = <1>; - qcom,mode-ctrl = <0x60>; - }; - }; - - qcom,leds@a300 { - status = "okay"; - qcom,led_mpp_4 { - label = "mpp"; - linux,name = "green"; - linux,default-trigger = "none"; - qcom,default-state = "off"; - qcom,max-current = <40>; - qcom,current-setting = <5>; - qcom,id = <6>; - qcom,mode = "pwm"; - qcom,pwm-us = <1000>; - qcom,source-sel = <8>; - qcom,mode-ctrl = <0x60>; - qcom,pwm-channel = <0>; - qcom,start-idx = <1>; - qcom,duty-pcts = [00 00 00 00 64 - 64 00 00 00 00]; - qcom,use-blink; - }; - }; - - qcom,leds@a500 { - status = "okay"; - qcom,led_mpp_6 { - label = "mpp"; - linux,name = "red"; - linux,default-trigger = "none"; - qcom,default-state = "off"; - qcom,max-current = <40>; - qcom,current-setting = <5>; - qcom,id = <6>; - qcom,mode = "pwm"; - qcom,pwm-us = <1000>; - qcom,mode-ctrl = <0x60>; - qcom,source-sel = <10>; - qcom,pwm-channel = <5>; - qcom,start-idx = <1>; - qcom,duty-pcts = [00 00 00 00 64 - 64 00 00 00 00]; - qcom,use-blink; - }; - }; - }; - - qcom,pm8226@1 { - qcom,leds@d300 { - status = "okay"; - }; - - qcom,leds@d800 { - status = "okay"; - qcom,wled_0 { - label = "wled"; - linux,name = "wled:backlight"; - linux,default-trigger = "bkl-trigger"; - qcom,cs-out-en; - qcom,op-fdbck = <1>; - qcom,default-state = "on"; - qcom,max-current = <20>; - qcom,ctrl-delay-us = <0>; - qcom,boost-curr-lim = <3>; - qcom,cp-sel = <0>; - qcom,switch-freq = <2>; - qcom,ovp-val = <0>; - qcom,num-strings = <1>; - qcom,id = <0>; - }; - }; - - qcom,vibrator@c000 { - status = "okay"; - qcom,vib-timeout-ms = <15000>; - qcom,vib-vtg-level-mV = <3100>; - }; - - }; -}; - -&pm8226_bms { - status = "okay"; - qcom,batt-type = <4>; - qcom,max-voltage-uv = <4350000>; -}; - -&pm8226_chg { - status = "okay"; - qcom,chg-vddmax-mv = <4350>; - qcom,chg-vddsafe-mv = <4350>; -}; - -&pm8226_gpios { - gpio@c000 { /* GPIO 1 */ - /* XO_PMIC_CDC_MCLK enable for tapan codec */ - qcom,mode = <1>; /* Digital output */ - qcom,output-type = <0>; /* CMOS logic */ - qcom,pull = <5>; /* QPNP_PIN_PULL_NO*/ - qcom,vin-sel = <3>; /* QPNP_PIN_VIN3 */ - qcom,out-strength = <3>;/* QPNP_PIN_OUT_STRENGTH_HIGH */ - qcom,src-sel = <2>; /* QPNP_PIN_SEL_FUNC_1 */ - qcom,master-en = <1>; /* Enable GPIO */ - }; - - gpio@c100 { /* GPIO 2 */ - qcom,mode = <1>; - qcom,output-type = <0>; - qcom,pull = <5>; - qcom,vin-sel = <3>; - qcom,out-strength = <3>; - qcom,src-sel = <2>; - qcom,master-en = <1>; - }; - - gpio@c200 { /* GPIO 3 */ - }; - - gpio@c300 { /* GPIO 4 */ - }; - - gpio@c400 { /* GPIO 5 */ - }; - - gpio@c500 { /* GPIO 6 */ - }; - - gpio@c600 { /* GPIO 7 */ - }; - - gpio@c700 { /* GPIO 8 */ - }; -}; - -&pm8226_mpps { - mpp@a000 { /* MPP 1 */ - }; - - mpp@a100 { /* MPP 2 */ - }; - - mpp@a200 { /* MPP 3 */ - }; - - mpp@a300 { /* MPP 4 */ - }; - - mpp@a400 { /* MPP 5 */ - }; - - mpp@a500 { /* MPP 6 */ - }; - - mpp@a600 { /* MPP 7 */ - }; - - mpp@a700 { /* MPP 8 */ - }; -}; - -&slim_msm { - tapan_codec { - qcom,cdc-micbias1-ext-cap; - }; - -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8226-regulator.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v3/msm8226-regulator.dtsi deleted file mode 100644 index 3254d17c8..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8226-regulator.dtsi +++ /dev/null @@ -1,460 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/* SPM controlled regulators: */ - -&spmi_bus { - qcom,pm8226@1 { - pm8226_s2: spm-regulator@1700 { - compatible = "qcom,spm-regulator"; - regulator-name = "8226_s2"; - reg = <0x1700 0x100>; - regulator-min-microvolt = <900000>; - regulator-max-microvolt = <1275000>; - }; - }; -}; - -/* CPR controlled regulator */ - -&soc { - apc_vreg_corner: regulator@f9018000 { - status = "okay"; - compatible = "qcom,cpr-regulator"; - reg = <0xf9018000 0x1000>, <0xf9011064 4>, <0xfc4b80b0 8>, - <0xfc4bc450 16>; - reg-names = "rbcpr", "rbcpr_clk", "pvs_efuse", "cpr_efuse"; - interrupts = <0 15 0>; - regulator-name = "apc_corner"; - regulator-min-microvolt = <1>; - regulator-max-microvolt = <3>; - qcom,num-efuse-bits = <5>; - qcom,pvs-bin-process = <0 0 0 0 0 1 1 1 1 1 2 2 2 2 2 2 - 2 2 2 2 3 3 3 3 3 3 3 3 0 0 0 0>; - qcom,pvs-corner-ceiling-slow = <1155000 1160000 1275000>; - qcom,pvs-corner-ceiling-nom = <975000 1075000 1200000>; - qcom,pvs-corner-ceiling-fast = <900000 1000000 1140000>; - vdd-apc-supply = <&pm8226_s2>; - - vdd-mx-supply = <&pm8226_l3_ao>; - qcom,vdd-mx-vmax = <1350000>; - qcom,vdd-mx-vmin-method = <1>; - - qcom,cpr-ref-clk = <19200>; - qcom,cpr-timer-delay = <5000>; - qcom,cpr-timer-cons-up = <1>; - qcom,cpr-timer-cons-down = <2>; - qcom,cpr-irq-line = <0>; - qcom,cpr-step-quotient = <15>; - qcom,cpr-up-threshold = <1>; - qcom,cpr-down-threshold = <2>; - qcom,cpr-idle-clocks = <5>; - qcom,cpr-gcnt-time = <1>; - qcom,vdd-apc-step-up-limit = <1>; - qcom,vdd-apc-step-down-limit = <1>; - qcom,cpr-apc-volt-step = <5000>; - }; -}; - -/* RPM controlled regulators: */ - -&rpm_bus { - rpm-regulator-smpa1 { - status = "okay"; - pm8226_s1: regulator-s1 { - regulator-min-microvolt = <500000>; - regulator-max-microvolt = <1275000>; - status = "okay"; - }; - pm8226_s1_corner: regulator-s1-corner { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_s1_corner"; - qcom,set = <3>; - regulator-min-microvolt = <1>; - regulator-max-microvolt = <7>; - qcom,use-voltage-corner; - qcom,consumer-supplies = "vdd_dig", ""; - }; - pm8226_s1_corner_ao: regulator-s1-corner-ao { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_s1_corner_ao"; - qcom,set = <1>; - regulator-min-microvolt = <1>; - regulator-max-microvolt = <7>; - qcom,use-voltage-corner; - qcom,consumer-supplies = "vdd_sr2_dig", ""; - }; - }; - - rpm-regulator-smpa3 { - status = "okay"; - pm8226_s3: regulator-s3 { - regulator-min-microvolt = <1200000>; - regulator-max-microvolt = <1300000>; - qcom,init-voltage = <1200000>; - status = "okay"; - }; - }; - - rpm-regulator-smpa4 { - status = "okay"; - pm8226_s4: regulator-s4 { - regulator-min-microvolt = <2100000>; - regulator-max-microvolt = <2100000>; - qcom,init-voltage = <2100000>; - status = "okay"; - }; - }; - - rpm-regulator-smpa5 { - status = "okay"; - pm8226_s5: regulator-s5 { - regulator-min-microvolt = <1150000>; - regulator-max-microvolt = <1150000>; - qcom,init-voltage = <1150000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa1 { - status = "okay"; - pm8226_l1: regulator-l1 { - regulator-name = "8226_l1"; - regulator-min-microvolt = <1225000>; - regulator-max-microvolt = <1225000>; - qcom,init-voltage = <1225000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa2 { - status = "okay"; - pm8226_l2: regulator-l2 { - regulator-min-microvolt = <1200000>; - regulator-max-microvolt = <1200000>; - qcom,init-voltage = <1200000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa3 { - status = "okay"; - pm8226_l3: regulator-l3 { - regulator-name = "8226_l3"; - regulator-min-microvolt = <750000>; - regulator-max-microvolt = <1275000>; - status = "okay"; - }; - pm8226_l3_ao: regulator-3-ao { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l3_ao"; - qcom,set = <1>; - regulator-min-microvolt = <750000>; - regulator-max-microvolt = <1275000>; - status = "okay"; - }; - pm8226_l3_so: regulator-l3-so { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l3_so"; - qcom,set = <2>; - regulator-min-microvolt = <750000>; - regulator-max-microvolt = <1275000>; - qcom,init-voltage = <750000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa4 { - status = "okay"; - pm8226_l4: regulator-l4 { - regulator-name = "8226_l4"; - regulator-min-microvolt = <1200000>; - regulator-max-microvolt = <1200000>; - qcom,init-voltage = <1200000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa5 { - status = "okay"; - pm8226_l5: regulator-l5 { - regulator-name = "8226_l5"; - regulator-min-microvolt = <1200000>; - regulator-max-microvolt = <1200000>; - qcom,init-voltage = <1200000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa6 { - status = "okay"; - pm8226_l6: regulator-l6 { - regulator-name = "8226_l6"; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa7 { - status = "okay"; - pm8226_l7: regulator-l7 { - regulator-name = "8226_l7"; - regulator-min-microvolt = <1850000>; - regulator-max-microvolt = <1850000>; - qcom,init-voltage = <1850000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa8 { - status = "okay"; - pm8226_l8: regulator-l8 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - status = "okay"; - }; - - pm8226_l8_ao: regulator-l8-ao { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l8_ao"; - qcom,set = <1>; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - qcom,consumer-supplies = "vdd_sr2_pll", ""; - }; - - pm8226_l8_so: regulator-l8-so { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l8_so"; - qcom,set = <2>; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - qcom,init-enable = <0>; - }; - }; - - rpm-regulator-ldoa9 { - status = "okay"; - pm8226_l9: regulator-l9 { - regulator-name = "8226_l9"; - regulator-min-microvolt = <2050000>; - regulator-max-microvolt = <2050000>; - qcom,init-voltage = <2050000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa10 { - status = "okay"; - pm8226_l10: regulator-l10 { - regulator-name = "8226_l10"; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa12 { - status = "okay"; - pm8226_l12: regulator-l12 { - regulator-name = "8226_l12"; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa14 { - status = "okay"; - pm8226_l14: regulator-l14 { - regulator-name = "8226_l14"; - regulator-min-microvolt = <2750000>; - regulator-max-microvolt = <2750000>; - qcom,init-voltage = <2750000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa15 { - status = "okay"; - pm8226_l15: regulator-l15 { - regulator-name = "8226_l15"; - regulator-min-microvolt = <2800000>; - regulator-max-microvolt = <2800000>; - qcom,init-voltage = <2800000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa16 { - status = "okay"; - pm8226_l16: regulator-l16 { - regulator-name = "8226_l16"; - regulator-min-microvolt = <3000000>; - regulator-max-microvolt = <3300000>; - qcom,init-voltage = <3300000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa17 { - status = "okay"; - pm8226_l17: regulator-l17 { - regulator-min-microvolt = <2950000>; - regulator-max-microvolt = <2950000>; - qcom,init-voltage = <2950000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa18 { - status = "okay"; - pm8226_l18: regulator-l18 { - regulator-name = "8226_l18"; - regulator-min-microvolt = <2950000>; - regulator-max-microvolt = <2950000>; - qcom,init-voltage = <2950000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa19 { - status = "okay"; - pm8226_l19: regulator-l19 { - regulator-name = "8226_l19"; - regulator-min-microvolt = <2850000>; - regulator-max-microvolt = <2850000>; - qcom,init-voltage = <2850000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa20 { - status = "okay"; - pm8226_l20: regulator-l20 { - regulator-name = "8226_l20"; - regulator-min-microvolt = <3075000>; - regulator-max-microvolt = <3075000>; - qcom,init-voltage = <3075000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa21 { - status = "okay"; - pm8226_l21: regulator-l21 { - regulator-name = "8226_l21"; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <2950000>; - qcom,init-voltage = <2950000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa22 { - status = "okay"; - pm8226_l22: regulator-l22 { - regulator-name = "8226_l22"; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <2950000>; - qcom,init-voltage = <2950000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa23 { - status = "okay"; - pm8226_l23: regulator-l23 { - regulator-name = "8226_l23"; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <2950000>; - qcom,init-voltage = <2950000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa24 { - status = "okay"; - pm8226_l24: regulator-l24 { - regulator-name = "8226_l24"; - regulator-min-microvolt = <1300000>; - regulator-max-microvolt = <1300000>; - qcom,init-voltage = <1300000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa26 { - status = "okay"; - pm8226_l26: regulator-l26 { - regulator-name = "8226_l26"; - regulator-min-microvolt = <1225000>; - regulator-max-microvolt = <1225000>; - qcom,init-voltage = <1225000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa27 { - status = "okay"; - pm8226_l27: regulator-l27 { - regulator-name = "8226_l27"; - regulator-min-microvolt = <2050000>; - regulator-max-microvolt = <2050000>; - qcom,init-voltage = <2050000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa28 { - status = "okay"; - pm8226_l28: regulator-l28 { - regulator-name = "8226_l28"; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <2950000>; - qcom,init-voltage = <2950000>; - status = "okay"; - }; - }; - - rpm-regulator-vsa1 { - status = "okay"; - pm8226_lvs1: regulator-lvs1 { - status = "okay"; - }; - }; -}; - -&pm8226_chg_boost { - regulator-min-microvolt = <5000000>; - regulator-max-microvolt = <5000000>; - regulator-name = "8226_smbbp_boost"; -}; - -&soc { - usb_otg_sw: regulator-ncp380 { - compatible = "regulator-fixed"; - regulator-name = "usb_otg_sw"; - gpio = <&msmgpio 67 0>; - parent-supply = <&pm8226_chg_boost>; - startup-delay-us = <4000>; - enable-active-high; - status = "disabled"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8226-sim.dts b/kernel/arch/arm/boot/dts/m7350-un-v3/msm8226-sim.dts deleted file mode 100644 index 240564632..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8226-sim.dts +++ /dev/null @@ -1,135 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/dts-v1/; -/include/ "msm8226.dtsi" -/include/ "msm8226-camera.dtsi" - -/ { - model = "Qualcomm MSM 8226 Simulator"; - compatible = "qcom,msm8226-sim", "qcom,msm8226", "qcom,sim"; - qcom,msm-id = <145 16 0>, - <158 16 0>, - <159 16 0>, - <198 16 0>; -}; - -&soc { - serial@f991f000 { - status = "ok"; - }; -}; - -&sdcc1 { - qcom,vdd-always-on; - qcom,vdd-lpm-sup; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <800 500000>; - - qcom,vdd-io-always-on; - qcom,vdd-io-voltage-level = <1800000 1800000>; - qcom,vdd-io-current-level = <250 154000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - vdd-supply = <&pm8226_l17>; - vdd-io-supply = <&pm8226_l6>; - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - qcom,sup-voltages = <2950 2950>; - - qcom,bus-speed-mode = "HS200_1p8v", "DDR_1p8v"; - qcom,nonremovable; - status = "ok"; -}; - -&sdcc2 { - vdd-supply = <&pm8226_l18>; - vdd-io-supply = <&pm8226_l21>; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <9000 800000>; - - qcom,vdd-io-always-on; - qcom,vdd-io-lpm-sup; - qcom,vdd-io-voltage-level = <1800000 2950000>; - qcom,vdd-io-current-level = <6 22000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - qcom,sup-voltages = <2950 2950>; - - qcom,xpc; - qcom,bus-speed-mode = "SDR12", "SDR25", "SDR50", "DDR50", "SDR104"; - qcom,current-limit = <800>; - - status = "ok"; -}; - -&pm8226_gpios { - gpio@c000 { /* GPIO 1 */ - }; - - gpio@c100 { /* GPIO 2 */ - }; - - gpio@c200 { /* GPIO 3 */ - }; - - gpio@c300 { /* GPIO 4 */ - }; - - gpio@c400 { /* GPIO 5 */ - }; - - gpio@c500 { /* GPIO 6 */ - }; - - gpio@c600 { /* GPIO 7 */ - }; - - gpio@c700 { /* GPIO 8 */ - }; -}; - -&pm8226_mpps { - mpp@a000 { /* MPP 1 */ - }; - - mpp@a100 { /* MPP 2 */ - }; - - mpp@a200 { /* MPP 3 */ - }; - - mpp@a300 { /* MPP 4 */ - }; - - mpp@a400 { /* MPP 5 */ - }; - - mpp@a500 { /* MPP 6 */ - }; - - mpp@a600 { /* MPP 7 */ - }; - - mpp@a700 { /* MPP 8 */ - }; -}; - - diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8226-smp2p.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v3/msm8226-smp2p.dtsi deleted file mode 100644 index 3921a686a..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8226-smp2p.dtsi +++ /dev/null @@ -1,225 +0,0 @@ -/* Copyright (c) 2013, 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. - */ -&soc { - qcom,smp2p-modem { - compatible = "qcom,smp2p"; - reg = <0xf9011008 0x4>; - qcom,remote-pid = <1>; - qcom,irq-bitmask = <0x4000>; - interrupts = <0 27 1>; - }; - - qcom,smp2p-adsp { - compatible = "qcom,smp2p"; - reg = <0xf9011008 0x4>; - qcom,remote-pid = <2>; - qcom,irq-bitmask = <0x400>; - interrupts = <0 158 1>; - }; - - qcom,smp2p-wcnss { - compatible = "qcom,smp2p"; - reg = <0xf9011008 0x4>; - qcom,remote-pid = <4>; - qcom,irq-bitmask = <0x40000>; - interrupts = <0 143 1>; - }; - - smp2pgpio_smp2p_7_in: qcom,smp2pgpio-smp2p-7-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <7>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_7_in { - compatible = "qcom,smp2pgpio_test_smp2p_7_in"; - gpios = <&smp2pgpio_smp2p_7_in 0 0>; - }; - - smp2pgpio_smp2p_7_out: qcom,smp2pgpio-smp2p-7-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <7>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_7_out { - compatible = "qcom,smp2pgpio_test_smp2p_7_out"; - gpios = <&smp2pgpio_smp2p_7_out 0 0>; - }; - - smp2pgpio_smp2p_1_in: qcom,smp2pgpio-smp2p-1-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <1>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_1_in { - compatible = "qcom,smp2pgpio_test_smp2p_1_in"; - gpios = <&smp2pgpio_smp2p_1_in 0 0>; - }; - - smp2pgpio_smp2p_1_out: qcom,smp2pgpio-smp2p-1-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <1>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_1_out { - compatible = "qcom,smp2pgpio_test_smp2p_1_out"; - gpios = <&smp2pgpio_smp2p_1_out 0 0>; - }; - - smp2pgpio_ssr_smp2p_1_in: qcom,smp2pgpio-ssr-smp2p-1-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "slave-kernel"; - qcom,remote-pid = <1>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - smp2pgpio_ssr_smp2p_1_out: qcom,smp2pgpio-ssr-smp2p-1-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "master-kernel"; - qcom,remote-pid = <1>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - smp2pgpio_smp2p_2_in: qcom,smp2pgpio-smp2p-2-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <2>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_2_in { - compatible = "qcom,smp2pgpio_test_smp2p_2_in"; - gpios = <&smp2pgpio_smp2p_2_in 0 0>; - }; - - smp2pgpio_smp2p_2_out: qcom,smp2pgpio-smp2p-2-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <2>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_2_out { - compatible = "qcom,smp2pgpio_test_smp2p_2_out"; - gpios = <&smp2pgpio_smp2p_2_out 0 0>; - }; - - /* SMP2P SSR Driver for inbound entry from lpass. */ - smp2pgpio_ssr_smp2p_2_in: qcom,smp2pgpio-ssr-smp2p-2-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "slave-kernel"; - qcom,remote-pid = <2>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - /* SMP2P SSR Driver for outbound entry to lpass */ - smp2pgpio_ssr_smp2p_2_out: qcom,smp2pgpio-ssr-smp2p-2-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "master-kernel"; - qcom,remote-pid = <2>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - smp2pgpio_smp2p_4_in: qcom,smp2pgpio-smp2p-4-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <4>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_4_in { - compatible = "qcom,smp2pgpio_test_smp2p_4_in"; - gpios = <&smp2pgpio_smp2p_4_in 0 0>; - }; - - smp2pgpio_smp2p_4_out: qcom,smp2pgpio-smp2p-4-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <4>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - smp2pgpio_ssr_smp2p_4_in: qcom,smp2pgpio-ssr-smp2p-4-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "slave-kernel"; - qcom,remote-pid = <4>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - smp2pgpio_ssr_smp2p_4_out: qcom,smp2pgpio-ssr-smp2p-4-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "master-kernel"; - qcom,remote-pid = <4>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_4_out { - compatible = "qcom,smp2pgpio_test_smp2p_4_out"; - gpios = <&smp2pgpio_smp2p_4_out 0 0>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8226-v1-cdp.dts b/kernel/arch/arm/boot/dts/m7350-un-v3/msm8226-v1-cdp.dts deleted file mode 100644 index 9c49840d9..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8226-v1-cdp.dts +++ /dev/null @@ -1,25 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; -/include/ "msm8226-v1.dtsi" -/include/ "msm8226-cdp.dtsi" - -/ { - model = "Qualcomm MSM 8226 CDP"; - compatible = "qcom,msm8226-cdp", "qcom,msm8226", "qcom,cdp"; - qcom,msm-id = <145 1 0>, - <158 1 0>, - <159 1 0>, - <198 1 0>, - <205 1 0>; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8226-v1-mtp.dts b/kernel/arch/arm/boot/dts/m7350-un-v3/msm8226-v1-mtp.dts deleted file mode 100644 index b1d46b1c4..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8226-v1-mtp.dts +++ /dev/null @@ -1,25 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; -/include/ "msm8226-v1.dtsi" -/include/ "msm8226-mtp.dtsi" - -/ { - model = "Qualcomm MSM 8226 MTP"; - compatible = "qcom,msm8226-mtp", "qcom,msm8226", "qcom,mtp"; - qcom,msm-id = <145 8 0>, - <158 8 0>, - <159 8 0>, - <198 8 0>, - <205 8 0>; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8226-v1-qrd.dts b/kernel/arch/arm/boot/dts/m7350-un-v3/msm8226-v1-qrd.dts deleted file mode 100644 index d2aabac0c..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8226-v1-qrd.dts +++ /dev/null @@ -1,25 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; -/include/ "msm8226-v1.dtsi" -/include/ "msm8226-qrd.dtsi" - -/ { - model = "Qualcomm MSM 8226 QRD"; - compatible = "qcom,msm8226-qrd", "qcom,msm8226", "qcom,qrd"; - qcom,msm-id = <145 11 0>, - <158 11 0>, - <159 11 0>, - <198 11 0>, - <205 11 0>; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8226-v1.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v3/msm8226-v1.dtsi deleted file mode 100644 index d471bece9..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8226-v1.dtsi +++ /dev/null @@ -1,19 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/* - * As a general rule, only version-specific property overrides should be placed - * inside this file. However, device definitions should be placed inside the - * msm8226.dtsi file. - */ - -/include/ "msm8226.dtsi" diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8226-v2-cdp.dts b/kernel/arch/arm/boot/dts/m7350-un-v3/msm8226-v2-cdp.dts deleted file mode 100644 index 2b18491d9..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8226-v2-cdp.dts +++ /dev/null @@ -1,25 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; -/include/ "msm8226-v2.dtsi" -/include/ "msm8226-cdp.dtsi" - -/ { - model = "Qualcomm MSM 8226v2 CDP"; - compatible = "qcom,msm8226-cdp", "qcom,msm8226", "qcom,cdp"; - qcom,msm-id = <145 1 0x20000>, - <158 1 0x20000>, - <159 1 0x20000>, - <198 1 0x20000>, - <205 1 0x20000>; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8226-v2-mtp.dts b/kernel/arch/arm/boot/dts/m7350-un-v3/msm8226-v2-mtp.dts deleted file mode 100644 index f15dd4cb9..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8226-v2-mtp.dts +++ /dev/null @@ -1,25 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; -/include/ "msm8226-v2.dtsi" -/include/ "msm8226-mtp.dtsi" - -/ { - model = "Qualcomm MSM 8226v2 MTP"; - compatible = "qcom,msm8226-mtp", "qcom,msm8226", "qcom,mtp"; - qcom,msm-id = <145 8 0x20000>, - <158 8 0x20000>, - <159 8 0x20000>, - <198 8 0x20000>, - <205 8 0x20000>; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8226-v2-qrd.dts b/kernel/arch/arm/boot/dts/m7350-un-v3/msm8226-v2-qrd.dts deleted file mode 100644 index 1a89d7894..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8226-v2-qrd.dts +++ /dev/null @@ -1,25 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; -/include/ "msm8226-v2.dtsi" -/include/ "msm8226-qrd.dtsi" - -/ { - model = "Qualcomm MSM 8226v2 QRD"; - compatible = "qcom,msm8226-qrd", "qcom,msm8226", "qcom,qrd"; - qcom,msm-id = <145 11 0x20000>, - <158 11 0x20000>, - <159 11 0x20000>, - <198 11 0x20000>, - <205 11 0x20000>; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8226-v2.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v3/msm8226-v2.dtsi deleted file mode 100644 index d471bece9..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8226-v2.dtsi +++ /dev/null @@ -1,19 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/* - * As a general rule, only version-specific property overrides should be placed - * inside this file. However, device definitions should be placed inside the - * msm8226.dtsi file. - */ - -/include/ "msm8226.dtsi" diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8226.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v3/msm8226.dtsi deleted file mode 100644 index 7c981043c..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8226.dtsi +++ /dev/null @@ -1,1248 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/include/ "skeleton.dtsi" - -/ { - model = "Qualcomm MSM 8226"; - compatible = "qcom,msm8226"; - interrupt-parent = <&intc>; - - aliases { - spi0 = &spi_0; - sdhc1 = &sdhc_1; /* SDC1 eMMC slot */ - sdhc2 = &sdhc_2; /* SDC2 SD card slot */ - }; - - memory { - secure_mem: secure_region { - linux,contiguous-region; - reg = <0 0x6D00000>; - label = "secure_mem"; - }; - - qsecom_mem: qsecom_region { - linux,contiguous-region; - reg = <0 0x780000>; - label = "qsecom_mem"; - }; - }; - - soc: soc { }; -}; - -/include/ "msm8226-ion.dtsi" -/include/ "msm8226-camera.dtsi" -/include/ "msm-gdsc.dtsi" -/include/ "msm8226-iommu.dtsi" -/include/ "msm8226-pm.dtsi" -/include/ "msm8226-smp2p.dtsi" -/include/ "msm8226-gpu.dtsi" -/include/ "msm8226-bus.dtsi" -/include/ "msm8226-mdss.dtsi" -/include/ "msm8226-coresight.dtsi" -/include/ "msm8226-iommu-domains.dtsi" - -&soc { - #address-cells = <1>; - #size-cells = <1>; - ranges; - - intc: interrupt-controller@f9000000 { - compatible = "qcom,msm-qgic2"; - interrupt-controller; - #interrupt-cells = <3>; - reg = <0xF9000000 0x1000>, - <0xF9002000 0x1000>; - }; - - msmgpio: gpio@fd510000 { - compatible = "qcom,msm-gpio"; - interrupt-controller; - #interrupt-cells = <2>; - reg = <0xfd510000 0x4000>; - gpio-controller; - #gpio-cells = <2>; - ngpio = <117>; - interrupts = <0 208 0>; - qcom,direct-connect-irqs = <8>; - }; - - qcom,mpm2-sleep-counter@fc4a3000 { - compatible = "qcom,mpm2-sleep-counter"; - reg = <0xfc4a3000 0x1000>; - clock-frequency = <32768>; - }; - - timer { - compatible = "arm,armv7-timer"; - interrupts = <1 2 0 1 3 0>; - clock-frequency = <19200000>; - }; - - 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 8 0x4>, - <0 7 0x4>; - reg = <0xf9021000 0x1000>, - <0xf9022000 0x1000>; - }; - - frame@f9023000 { - frame-number = <1>; - interrupts = <0 9 0x4>; - reg = <0xf9023000 0x1000>; - status = "disabled"; - }; - - frame@f9024000 { - frame-number = <2>; - interrupts = <0 10 0x4>; - reg = <0xf9024000 0x1000>; - status = "disabled"; - }; - - frame@f9025000 { - frame-number = <3>; - interrupts = <0 11 0x4>; - reg = <0xf9025000 0x1000>; - status = "disabled"; - }; - - frame@f9026000 { - frame-number = <4>; - interrupts = <0 12 0x4>; - reg = <0xf9026000 0x1000>; - status = "disabled"; - }; - - frame@f9027000 { - frame-number = <5>; - interrupts = <0 13 0x4>; - reg = <0xf9027000 0x1000>; - status = "disabled"; - }; - - frame@f9028000 { - frame-number = <6>; - interrupts = <0 14 0x4>; - reg = <0xf9028000 0x1000>; - status = "disabled"; - }; - }; - - qcom,vidc@fdc00000 { - compatible = "qcom,msm-vidc"; - reg = <0xfdc00000 0xff000>; - interrupts = <0 44 0>; - qcom,load-freq-tbl = <352800 160000000>, - <244800 133330000>, - <108000 66700000>; - qcom,hfi = "venus"; - qcom,bus-ports = <1>; - qcom,reg-presets = <0xE0024 0x0>, - <0x80124 0x3>, - <0xE0020 0x5555556>, - <0x800B0 0x10101001>, - <0x800B4 0x00101010>, - <0x800C0 0x1010100f>, - <0x800C4 0x00101010>, - <0x800D0 0x00000010>, - <0x800D4 0x00000010>, - <0x800D8 0x00000707>; - qcom,enc-ddr-ab-ib = <0 0>, - <129000 142000>, - <384000 422000>, - <866000 953000>; - qcom,dec-ddr-ab-ib = <0 0>, - <103000 134000>, - <268000 348000>, - <505000 657000>; - qcom,iommu-groups = <&venus_domain_ns &venus_domain_cp>; - qcom,iommu-group-buffer-types = <0xfff 0x1ff>; - qcom,buffer-type-tz-usage-table = <0x1 0x1>, - <0x1fe 0x2>; - qcom,max-hw-load = <352800>; /* 720p @ 30 + 1080p @ 30 */ - }; - - qcom,wfd { - compatible = "qcom,msm-wfd"; - }; - - serial@f991f000 { - compatible = "qcom,msm-lsuart-v14"; - reg = <0xf991f000 0x1000>; - interrupts = <0 109 0>; - status = "disabled"; - }; - - serial@f995e000 { - compatible = "qcom,msm-lsuart-v14"; - reg = <0xf995e000 0x1000>; - interrupts = <0 114 0>; - status = "disabled"; - }; - - qcom,msm-imem@fe805000 { - compatible = "qcom,msm-imem"; - reg = <0xfe805000 0x1000>; /* Address and size of IMEM */ - }; - - qcom,sps@f9984000 { - compatible = "qcom,msm_sps"; - reg = <0xf9984000 0x15000>, - <0xf9999000 0xb000>; - interrupts = <0 94 0>; - }; - - qcom,usbbam@f9a44000 { - compatible = "qcom,usb-bam-msm"; - reg = <0xf9a44000 0x11000>; - reg-names = "hsusb"; - interrupts = <0 135 0>; - interrupt-names = "hsusb"; - qcom,usb-bam-num-pipes = <16>; - qcom,usb-bam-fifo-baseaddr = <0xfe803000>; - qcom,ignore-core-reset-ack; - qcom,disable-clk-gating; - - qcom,pipe0 { - label = "hsusb-qdss-in-0"; - qcom,usb-bam-mem-type = <3>; - qcom,bam-type = <1>; - 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 = <0xf9a44000>; - qcom,dst-bam-pipe-index = <2>; - qcom,data-fifo-offset = <0x0>; - qcom,data-fifo-size = <0x600>; - qcom,descriptor-fifo-offset = <0x600>; - qcom,descriptor-fifo-size = <0x200>; - }; - }; - - usb_otg: usb@f9a55000 { - compatible = "qcom,hsusb-otg"; - reg = <0xf9a55000 0x400>; - interrupts = <0 134 0>, <0 140 0>; - interrupt-names = "core_irq", "async_irq"; - hsusb_vdd_dig-supply = <&pm8226_s1_corner>; - HSUSB_1p8-supply = <&pm8226_l10>; - HSUSB_3p3-supply = <&pm8226_l20>; - qcom,vdd-voltage-level = <1 5 7>; - - qcom,hsusb-otg-phy-init-seq = - <0x44 0x80 0x68 0x81 0x24 0x82 0x13 0x83 0xffffffff>; - qcom,hsusb-otg-phy-type = <2>; - qcom,hsusb-otg-mode = <1>; - qcom,hsusb-otg-otg-control = <2>; - qcom,hsusb-otg-disable-reset; - qcom,dp-manual-pullup; - - qcom,msm-bus,name = "usb"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <87 512 0 0>, - <87 512 60000 960000>; - }; - - android_usb@fe8050c8 { - compatible = "qcom,android-usb"; - reg = <0xfe8050c8 0xc8>; - qcom,android-usb-cdrom; - qcom,android-usb-swfi-latency = <1>; - }; - - wcd9xxx_intc: wcd9xxx-irq { - compatible = "qcom,wcd9xxx-irq"; - interrupt-controller; - #interrupt-cells = <1>; - interrupt-parent = <&msmgpio>; - interrupts = <68 0>; - interrupt-names = "cdc-int"; - }; - - slim_msm: slim@fe12f000 { - cell-index = <1>; - compatible = "qcom,slim-ngd"; - reg = <0xfe12f000 0x35000>, - <0xfe104000 0x20000>; - reg-names = "slimbus_physical", "slimbus_bam_physical"; - interrupts = <0 163 0>, <0 164 0>; - interrupt-names = "slimbus_irq", "slimbus_bam_irq"; - - tapan_codec { - compatible = "qcom,tapan-slim-pgd"; - elemental-addr = [00 01 E0 00 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>; - qcom,cdc-reset-gpio = <&msmgpio 72 0>; - - cdc-vdd-buck-supply = <&pm8226_s4>; - qcom,cdc-vdd-buck-voltage = <2100000 2100000>; - qcom,cdc-vdd-buck-current = <650000>; - - cdc-vdd-h-supply = <&pm8226_l6>; - qcom,cdc-vdd-h-voltage = <1800000 1800000>; - qcom,cdc-vdd-h-current = <25000>; - - cdc-vdd-px-supply = <&pm8226_l6>; - qcom,cdc-vdd-px-voltage = <1800000 1800000>; - qcom,cdc-vdd-px-current = <25000>; - - cdc-vdd-a-1p2v-supply = <&pm8226_l4>; - qcom,cdc-vdd-a-1p2v-voltage = <1200000 1200000>; - qcom,cdc-vdd-a-1p2v-current = <10000>; - - cdc-vdd-cx-supply = <&pm8226_l4>; - qcom,cdc-vdd-cx-voltage = <1200000 1200000>; - qcom,cdc-vdd-cx-current = <10000>; - - qcom,cdc-static-supplies = "cdc-vdd-buck", - "cdc-vdd-h", - "cdc-vdd-px", - "cdc-vdd-a-1p2v", - "cdc-vdd-cx"; - - qcom,cdc-micbias-ldoh-v = <0x3>; - qcom,cdc-micbias-cfilt1-mv = <1800>; - qcom,cdc-micbias-cfilt2-mv = <2700>; - 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-mclk-clk-rate = <9600000>; - qcom,cdc-slim-ifd = "tapan-slim-ifd"; - qcom,cdc-slim-ifd-elemental-addr = [00 00 E0 00 17 02]; - }; - }; - - qcom,msm-adsp-loader { - compatible = "qcom,adsp-loader"; - qcom,adsp-state = <0>; - }; - - sound { - compatible = "qcom,msm8226-audio-tapan"; - qcom,model = "msm8226-tapan-snd-card"; - qcom,tapan-mclk-clk-freq = <9600000>; - qcom,prim-auxpcm-gpio-clk = <&msmgpio 63 0>; - qcom,prim-auxpcm-gpio-sync = <&msmgpio 64 0>; - qcom,prim-auxpcm-gpio-din = <&msmgpio 65 0>; - qcom,prim-auxpcm-gpio-dout = <&msmgpio 66 0>; - qcom,prim-auxpcm-gpio-set = "prim-gpio-prim"; - }; - - qcom,msm-pcm { - compatible = "qcom,msm-pcm-dsp"; - qcom,msm-pcm-dsp-id = <0>; - }; - - qcom,msm-pcm-routing { - compatible = "qcom,msm-pcm-routing"; - }; - - qcom,msm-pcm-low-latency { - compatible = "qcom,msm-pcm-dsp"; - qcom,msm-pcm-dsp-id = <1>; - qcom,msm-pcm-low-latency; - }; - - qcom,msm-pcm-lpa { - compatible = "qcom,msm-pcm-lpa"; - }; - - qcom,msm-compr-dsp { - compatible = "qcom,msm-compr-dsp"; - }; - - qcom,msm-voip-dsp { - compatible = "qcom,msm-voip-dsp"; - }; - - qcom,msm-pcm-voice { - compatible = "qcom,msm-pcm-voice"; - }; - - qcom,msm-stub-codec { - compatible = "qcom,msm-stub-codec"; - }; - - qcom,msm-dai-fe { - compatible = "qcom,msm-dai-fe"; - }; - - qcom,msm-pcm-afe { - compatible = "qcom,msm-pcm-afe"; - }; - - qcom,msm-dai-q6-hdmi { - compatible = "qcom,msm-dai-q6-hdmi"; - qcom,msm-dai-q6-dev-id = <8>; - }; - - qcom,msm-dai-q6 { - compatible = "qcom,msm-dai-q6"; - qcom,msm-dai-q6-sb-0-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <16384>; - }; - - qcom,msm-dai-q6-sb-0-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <16385>; - }; - - qcom,msm-dai-q6-sb-1-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <16386>; - }; - - qcom,msm-dai-q6-sb-1-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <16387>; - }; - - qcom,msm-dai-q6-sb-3-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <16390>; - }; - - qcom,msm-dai-q6-sb-3-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <16391>; - }; - - qcom,msm-dai-q6-sb-4-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <16392>; - }; - - qcom,msm-dai-q6-sb-4-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <16393>; - }; - - qcom,msm-dai-q6-bt-sco-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <12288>; - }; - - qcom,msm-dai-q6-bt-sco-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <12289>; - }; - - qcom,msm-dai-q6-int-fm-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <12292>; - }; - - qcom,msm-dai-q6-int-fm-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <12293>; - }; - - qcom,msm-dai-q6-be-afe-pcm-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <224>; - }; - - qcom,msm-dai-q6-be-afe-pcm-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <225>; - }; - - qcom,msm-dai-q6-afe-proxy-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <241>; - }; - - qcom,msm-dai-q6-afe-proxy-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <240>; - }; - - qcom,msm-dai-q6-incall-record-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <32771>; - }; - - qcom,msm-dai-q6-incall-record-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <32772>; - }; - - qcom,msm-dai-q6-incall-music-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <32773>; - }; - }; - - qcom,msm-pcm-hostless { - compatible = "qcom,msm-pcm-hostless"; - }; - - qcom,msm-auxpcm { - compatible = "qcom,msm-auxpcm-resource"; - qcom,msm-cpudai-auxpcm-clk = "pcm_clk"; - 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-slot = <1>, <1>; - qcom,msm-cpudai-auxpcm-data = <0>, <0>; - qcom,msm-cpudai-auxpcm-pcm-clk-rate = <2048000>, <2048000>; - - qcom,msm-prim-auxpcm-rx { - qcom,msm-auxpcm-dev-id = <4106>; - compatible = "qcom,msm-auxpcm-dev"; - }; - - qcom,msm-prim-auxpcm-tx { - qcom,msm-auxpcm-dev-id = <4107>; - compatible = "qcom,msm-auxpcm-dev"; - }; - }; - - qcom,wcnss-wlan@fb000000 { - compatible = "qcom,wcnss_wlan"; - reg = <0xfb000000 0x280000>, - <0xf9011008 0x04>; - reg-names = "wcnss_mmio", "wcnss_fiq"; - interrupts = <0 145 0 0 146 0>; - interrupt-names = "wcnss_wlantx_irq", "wcnss_wlanrx_irq"; - - qcom,pronto-vddmx-supply = <&pm8226_l3>; - qcom,pronto-vddcx-supply = <&pm8226_s1>; - qcom,pronto-vddpx-supply = <&pm8226_l6>; - qcom,iris-vddxo-supply = <&pm8226_l10>; - qcom,iris-vddrfa-supply = <&pm8226_l24>; - qcom,iris-vddpa-supply = <&pm8226_l16>; - qcom,iris-vdddig-supply = <&pm8226_l24>; - - gpios = <&msmgpio 40 0>, <&msmgpio 41 0>, <&msmgpio 42 0>, <&msmgpio 43 0>, <&msmgpio 44 0>; - qcom,has-pronto-hw; - qcom,has-autodetect-xo; - }; - - qcom,msm-adsp-sensors { - compatible = "qcom,msm-adsp-sensors"; - qcom,src-id = <11>; - qcom,dst-id = <604>; - qcom,ab = <32505856>; - qcom,ib = <32505856>; - }; - - qcom,wdt@f9017000 { - compatible = "qcom,msm-watchdog"; - reg = <0xf9017000 0x1000>; - interrupts = <0 3 0>, <0 4 0>; - qcom,bark-time = <11000>; - qcom,pet-time = <10000>; - qcom,ipi-ping; - }; - - qcom,smem@fa00000 { - compatible = "qcom,smem"; - reg = <0xfa00000 0x100000>, - <0xf9011000 0x1000>, - <0xfc428000 0x4000>; - reg-names = "smem", "irq-reg-base", "aux-mem1"; - - qcom,smd-modem { - compatible = "qcom,smd"; - qcom,smd-edge = <0>; - qcom,smd-irq-offset = <0x8>; - qcom,smd-irq-bitmask = <0x1000>; - qcom,pil-string = "modem"; - interrupts = <0 25 1>; - }; - - qcom,smsm-modem { - compatible = "qcom,smsm"; - qcom,smsm-edge = <0>; - qcom,smsm-irq-offset = <0x8>; - qcom,smsm-irq-bitmask = <0x2000>; - interrupts = <0 26 1>; - }; - - qcom,smd-adsp { - compatible = "qcom,smd"; - qcom,smd-edge = <1>; - qcom,smd-irq-offset = <0x8>; - qcom,smd-irq-bitmask = <0x100>; - qcom,pil-string = "adsp"; - interrupts = <0 156 1>; - }; - - qcom,smsm-adsp { - compatible = "qcom,smsm"; - qcom,smsm-edge = <1>; - qcom,smsm-irq-offset = <0x8>; - qcom,smsm-irq-bitmask = <0x200>; - interrupts = <0 157 1>; - }; - - qcom,smd-wcnss { - compatible = "qcom,smd"; - qcom,smd-edge = <6>; - qcom,smd-irq-offset = <0x8>; - qcom,smd-irq-bitmask = <0x20000>; - qcom,pil-string = "wcnss"; - interrupts = <0 142 1>; - }; - - qcom,smsm-wcnss { - compatible = "qcom,smsm"; - qcom,smsm-edge = <6>; - qcom,smsm-irq-offset = <0x8>; - qcom,smsm-irq-bitmask = <0x80000>; - interrupts = <0 144 1>; - }; - - qcom,smd-rpm { - compatible = "qcom,smd"; - qcom,smd-edge = <15>; - qcom,smd-irq-offset = <0x8>; - qcom,smd-irq-bitmask = <0x1>; - interrupts = <0 168 1>; - qcom,irq-no-suspend; - }; - }; - - rpm_bus: qcom,rpm-smd { - compatible = "qcom,rpm-smd"; - rpm-channel-name = "rpm_requests"; - rpm-channel-type = <15>; /* SMD_APPS_RPM */ - }; - - qcom,bcl { - compatible = "qcom,bcl"; - }; - - sdcc1: qcom,sdcc@f9824000 { - cell-index = <1>; /* SDC1 eMMC slot */ - compatible = "qcom,msm-sdcc"; - - reg = <0xf9824000 0x800>, - <0xf9824800 0x100>, - <0xf9804000 0x7000>; - reg-names = "core_mem", "dml_mem", "bam_mem"; - interrupts = <0 123 0>, <0 137 0>; - interrupt-names = "core_irq", "bam_irq"; - - qcom,bus-width = <8>; - status = "disabled"; - }; - - sdhc_1: sdhci@f9824900 { - compatible = "qcom,sdhci-msm"; - reg = <0xf9824900 0x11c>, <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>; - status = "disabled"; - }; - - sdcc2: qcom,sdcc@f98a4000 { - cell-index = <2>; /* SDC2 SD card slot */ - compatible = "qcom,msm-sdcc"; - - reg = <0xf98a4000 0x800>, - <0xf98a4800 0x100>, - <0xf9884000 0x7000>; - reg-names = "core_mem", "dml_mem", "bam_mem"; - interrupts = <0 125 0>, <0 220 0>; - interrupt-names = "core_irq", "bam_irq"; - - qcom,bus-width = <4>; - 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"; - - qcom,bus-width = <4>; - status = "disabled"; - }; - - spmi_bus: qcom,spmi@fc4c0000 { - cell-index = <0>; - 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-ee = <0>; - qcom,pmic-arb-channel = <0>; - }; - - i2c@f9926000 { /* BLSP-1 QUP-4 */ - cell-index = <0>; - compatible = "qcom,i2c-qup"; - reg = <0xf9926000 0x1000>; - #address-cells = <1>; - #size-cells = <0>; - reg-names = "qup_phys_addr"; - interrupts = <0 98 0>; - interrupt-names = "qup_err_intr"; - qcom,i2c-bus-freq = <100000>; - }; - - i2c@f9927000 { /* BLSP1 QUP5 */ - cell-index = <5>; - compatible = "qcom,i2c-qup"; - #address-cells = <1>; - #size-cells = <0>; - reg-names = "qup_phys_addr"; - reg = <0xf9927000 0x1000>; - interrupt-names = "qup_err_intr"; - interrupts = <0 99 0>; - qcom,i2c-bus-freq = <384000>; - qcom,i2c-src-freq = <19200000>; - }; - - qcom,acpuclk@f9011050 { - compatible = "qcom,acpuclk-a7"; - reg = <0xf9011050 0x8>; - reg-names = "rcg_base"; - a7_cpu-supply = <&apc_vreg_corner>; - }; - - qcom,ocmem@fdd00000 { - compatible = "qcom,msm-ocmem"; - reg = <0xfdd00000 0x2000>, - <0xfdd02000 0x2000>, - <0xfe039000 0x400>, - <0xfec00000 0x20000>; - 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 = <0x1>; - qcom,ocmem-num-macros = <0x2>; - qcom,resource-type = <0x706d636f>; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0x0 0xfec00000 0x20000>; - - partition@0 { - reg = <0x0 0x20000>; - qcom,ocmem-part-name = "graphics"; - qcom,ocmem-part-min = <0x20000>; - }; - }; - - qcom,venus@fdce0000 { - compatible = "qcom,pil-venus"; - reg = <0xfdce0000 0x4000>, - <0xfdc80000 0x400>; - reg-names = "wrapper_base", "vbif_base"; - vdd-supply = <&gdsc_venus>; - - qcom,firmware-name = "venus"; - }; - - qcom,pronto@fb21b000 { - compatible = "qcom,pil-pronto"; - reg = <0xfb21b000 0x3000>, - <0xfc401700 0x4>, - <0xfd485300 0xc>; - reg-names = "pmu_base", "clk_base", "halt_base"; - interrupts = <0 149 1>; - vdd_pronto_pll-supply = <&pm8226_l8>; - - qcom,firmware-name = "wcnss"; - - /* GPIO inputs from wcnss */ - qcom,gpio-err-fatal = <&smp2pgpio_ssr_smp2p_4_in 0 0>; - qcom,gpio-err-ready = <&smp2pgpio_ssr_smp2p_4_in 1 0>; - qcom,gpio-proxy-unvote = <&smp2pgpio_ssr_smp2p_4_in 2 0>; - - /* GPIO output to wcnss */ - qcom,gpio-force-stop = <&smp2pgpio_ssr_smp2p_4_out 0 0>; - }; - - qcom,iris-fm { - compatible = "qcom,iris_fm"; - }; - - qcom,lpass@fe200000 { - compatible = "qcom,pil-q6v5-lpass"; - reg = <0xfe200000 0x00100>, - <0xfd485100 0x00010>, - <0xfc4016c0 0x00004>; - reg-names = "qdsp6_base", "halt_base", "restart_reg"; - vdd_cx-supply = <&pm8226_s1_corner>; - interrupts = <0 162 1>; - - 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>; - - /* GPIO output to lpass */ - qcom,gpio-force-stop = <&smp2pgpio_ssr_smp2p_2_out 0 0>; - }; - - qcom,mss@fc880000 { - compatible = "qcom,pil-q6v5-mss"; - reg = <0xfc880000 0x100>, - <0xfd485000 0x400>, - <0xfc820000 0x020>, - <0xfc401680 0x004>, - <0xfd485194 0x4>; - reg-names = "qdsp6_base", "halt_base", "rmb_base", - "restart_reg", "cxrail_bhs_reg"; - - interrupts = <0 24 1>; - vdd_cx-supply = <&pm8226_s1_corner>; - vdd_mx-supply = <&pm8226_l3>; - vdd_pll-supply = <&pm8226_l8>; - qcom,vdd_pll = <1800000>; - - qcom,is-loadable; - qcom,firmware-name = "mba"; - qcom,pil-self-auth; - - /* 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>; - }; - - qcom,msm-mem-hole { - compatible = "qcom,msm-mem-hole"; - qcom,memblock-remove = <0x6400000 0x9b00000>; /* Address and Size of Hole */ - }; - - tsens: tsens@fc4a8000 { - compatible = "qcom,msm-tsens"; - reg = <0xfc4a8000 0x2000>, - <0xfc4b8000 0x1000>; - reg-names = "tsens_physical", "tsens_eeprom_physical"; - interrupts = <0 184 0>; - qcom,sensors = <4>; - qcom,slope = <2901 2846 3038 2955>; - qcom,calib-mode = "fuse_map2"; - }; - - qcom,msm-thermal { - compatible = "qcom,msm-thermal"; - qcom,sensor-id = <0>; - qcom,poll-ms = <250>; - qcom,limit-temp = <60>; - qcom,temp-hysteresis = <10>; - qcom,freq-step = <2>; - qcom,freq-control-mask = <0xf>; - }; - - spi_0: 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 0xF000>; - interrupt-names = "spi_irq", "spi_bam_irq"; - interrupts = <0 95 0>, <0 238 0>; - spi-max-frequency = <19200000>; - - gpios = <&msmgpio 3 0>, /* CLK */ - <&msmgpio 1 0>, /* MISO */ - <&msmgpio 0 0>; /* MOSI */ - cs-gpios = <&msmgpio 22 0>; - - qcom,infinite-mode = <0>; - qcom,use-bam; - qcom,ver-reg-exists; - qcom,bam-consumer-pipe-index = <12>; - qcom,bam-producer-pipe-index = <13>; - }; - - qcom,bam_dmux@fc834000 { - compatible = "qcom,bam_dmux"; - reg = <0xfc834000 0x7000>; - interrupts = <0 29 1>; - }; - - qcom,msm-rtb { - compatible = "qcom,msm-rtb"; - qcom,memory-reservation-type = "EBI1"; - qcom,memory-reservation-size = <0x100000>; /* 1M EBI1 buffer */ - }; - - qcom,msm-rng@f9bff000 { - compatible = "qcom,msm-rng"; - reg = <0xf9bff000 0x200>; - qcom,msm-rng-iface-clk; - }; - - qcom,tz-log@fe805720 { - compatible = "qcom,tz-log"; - reg = <0x0fe805720 0x1000>; - }; - - jtag_mm0: jtagmm@fc33c000 { - compatible = "qcom,jtag-mm"; - reg = <0xfc33c000 0x1000>, - <0xfc330000 0x1000>; - reg-names = "etm-base","debug-base"; - }; - - jtag_mm1: jtagmm@fc33d000 { - compatible = "qcom,jtag-mm"; - reg = <0xfc33d000 0x1000>, - <0xfc332000 0x1000>; - reg-names = "etm-base","debug-base"; - }; - - jtag_mm2: jtagmm@fc33e000 { - compatible = "qcom,jtag-mm"; - reg = <0xfc33e000 0x1000>, - <0xfc334000 0x1000>; - reg-names = "etm-base","debug-base"; - }; - - jtag_mm3: jtagmm@fc33f000 { - compatible = "qcom,jtag-mm"; - reg = <0xfc33f000 0x1000>, - <0xfc336000 0x1000>; - reg-names = "etm-base","debug-base"; - }; - - qcom,ipc-spinlock@fd484000 { - compatible = "qcom,ipc-spinlock-sfpb"; - reg = <0xfd484000 0x400>; - qcom,num-locks = <8>; - }; - - qcom,qseecom@d980000 { - compatible = "qcom,qseecom"; - reg = <0xd980000 0x256000>; - reg-names = "secapp-region"; - qcom,disk-encrypt-pipe-pair = <2>; - qcom,hlos-ce-hw-instance = <0>; - qcom,qsee-ce-hw-instance = <0>; - qcom,msm-bus,name = "qseecom-noc"; - qcom,msm-bus,num-cases = <4>; - qcom,msm-bus,active-only = <0>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <55 512 0 0>, - <55 512 3936000 393600>, - <55 512 3936000 393600>, - <55 512 3936000 393600>; - }; - - qcom,qcrypto@fd404000 { - compatible = "qcom,qcrypto"; - reg = <0xfd400000 0x20000>, - <0xfd404000 0x8000>; - reg-names = "crypto-base","crypto-bam-base"; - interrupts = <0 207 0>; - qcom,bam-pipe-pair = <2>; - qcom,ce-hw-instance = <0>; - qcom,ce-hw-shared; - qcom,msm-bus,name = "qcrypto-noc"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,active-only = <0>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <55 512 0 0>, - <55 512 3936000 393600>; - }; - - qcom,qcedev@fd400000 { - compatible = "qcom,qcedev"; - reg = <0xfd400000 0x20000>, - <0xfd404000 0x8000>; - reg-names = "crypto-base","crypto-bam-base"; - interrupts = <0 207 0>; - qcom,bam-pipe-pair = <1>; - qcom,ce-hw-instance = <0>; - qcom,ce-hw-shared; - qcom,msm-bus,name = "qcedev-noc"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,active-only = <0>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <55 512 0 0>, - <55 512 3936000 393600>; - }; - - cpu-pmu { - compatible = "arm,cortex-a7-pmu"; - qcom,irq-is-percpu; - interrupts = <1 7 0xf00>; - }; -}; - -&gdsc_venus { - qcom,clock-names = "core_clk"; - status = "ok"; -}; - -&gdsc_mdss { - qcom,clock-names = "core_clk", "lut_clk"; - status = "ok"; -}; - -&gdsc_jpeg { - qcom,clock-names = "core_clk"; - status = "ok"; -}; - -&gdsc_vfe { - qcom,clock-names = "core_clk", "csi_clk", "cpp_clk"; - status = "ok"; -}; - -&gdsc_oxili_cx { - qcom,clock-names = "core_clk"; - status = "ok"; -}; - -&gdsc_usb_hsic { - status = "ok"; -}; - -/include/ "msm-pm8226-rpm-regulator.dtsi" -/include/ "msm-pm8226.dtsi" -/include/ "msm8226-regulator.dtsi" - -&pm8226_vadc { - chan@0 { - label = "usb_in"; - reg = <0>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <4>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@2 { - label = "vchg_sns"; - reg = <2>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <3>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@5 { - label = "vcoin"; - reg = <5>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <1>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@6 { - label = "vbat_sns"; - reg = <6>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <1>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@7 { - label = "vph_pwr"; - reg = <7>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <1>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@30 { - label = "batt_therm"; - reg = <0x30>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <1>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@31 { - label = "batt_id"; - reg = <0x31>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@b2 { - label = "xo_therm_pu2"; - reg = <0xb2>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <4>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@39 { - label = "usb_id_nopull"; - reg = <0x39>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; -}; - -&pm8226_adc_tm { - /* Channel Node */ - chan@30 { - label = "batt_therm"; - reg = <0x30>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <1>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <3>; - qcom,btm-channel-number = <0x48>; - }; - - chan@8 { - label = "die_temp"; - reg = <8>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <3>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <3>; - qcom,btm-channel-number = <0x68>; - }; - - chan@6 { - label = "vbat_sns"; - reg = <6>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <1>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <3>; - qcom,btm-channel-number = <0x70>; - }; - - chan@14 { - label = "pa_therm0"; - reg = <0x14>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - qcom,btm-channel-number = <0x78>; - qcom,thermal-node; - }; - - chan@17 { - label = "pa_therm1"; - reg = <0x17>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - qcom,btm-channel-number = <0x80>; - qcom,thermal-node; - }; -}; - -&pm8226_chg { - status = "ok"; - - qcom,chgr@1000 { - status = "ok"; - }; - - qcom,buck@1100 { - status = "ok"; - }; - - qcom,bat-if@1200 { - status = "ok"; - }; - - qcom,usb-chgpth@1300 { - status = "ok"; - }; - - qcom,boost@1500 { - status = "ok"; - }; - - qcom,chg-misc@1600 { - status = "ok"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8610-bus.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v3/msm8610-bus.dtsi deleted file mode 100644 index d9bb6ab20..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8610-bus.dtsi +++ /dev/null @@ -1,1014 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -&soc { - msm-mmss-noc@fc478000 { - compatible = "msm-bus-fabric"; - reg = <0xfc478000 0x00004000>; - cell-id = <2048>; - label = "msm_mmss_noc"; - qcom,fabclk-dual = "bus_clk"; - qcom,fabclk-active = "bus_a_clk"; - qcom,ntieredslaves = <0>; - qcom,qos-freq = <4800>; - qcom,hw-sel = "NoC"; - qcom,rpm-en; - - coresight-id = <52>; - coresight-name = "coresight-mnoc"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_in0>; - coresight-child-ports = <5>; - - mas-mdp-port0 { - cell-id = <22>; - label = "mas-mdp-port0"; - qcom,masterp = <2>; - qcom,tier = <2>; - qcom,hw-sel = "NoC"; - qcom,perm-mode = "Fixed"; - qcom,mode = "Fixed"; - qcom,qport = <0>; - qcom,ws = <10000>; - qcom,mas-hw-id = <8>; - qcom,prio1 = <2>; - qcom,prio0 = <2>; - }; - - mas-vfe { - cell-id = <29>; - label = "mas-vfe"; - qcom,masterp = <3>; - qcom,tier = <2>; - qcom,hw-sel = "NoC"; - qcom,perm-mode = "Bypass"; - qcom,mode = "Bypass"; - qcom,ws = <10000>; - qcom,qport = <2>; - qcom,mas-hw-id = <11>; - qcom,prio1 = <2>; - qcom,prio0 = <2>; - }; - - mas-mdpe { - cell-id = <92>; - label = "mas-mdpe"; - qcom,masterp = <4>; - qcom,tier = <2>; - qcom,hw-sel = "NoC"; - qcom,perm-mode = "Fixed"; - qcom,mode = "Fixed"; - qcom,ws = <10000>; - qcom,qport = <7>; - qcom,mas-hw-id = <11>; - qcom,prio1 = <2>; - qcom,prio0 = <2>; - }; - - fab-bimc { - cell-id = <0>; - label = "fab-bimc"; - qcom,gateway; - qcom,slavep = <16>; - qcom,buswidth = <8>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <16>; - }; - - slv-camera-cfg { - cell-id = <589>; - label = "slv-camera-cfg"; - qcom,slavep = <0>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <3>; - }; - - slv-display-cfg { - cell-id = <590>; - label = "slv-display-cfg"; - qcom,slavep = <1>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <4>; - }; - - slv-cpr-cfg { - cell-id = <592>; - label = "slv-cpr-cfg"; - qcom,slavep = <3>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <6>; - }; - - slv-cpr-xpu-cfg { - cell-id = <593>; - label = "slv-cpr-xpu-cfg"; - qcom,slavep = <4>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <7>; - }; - - slv-misc-cfg { - cell-id = <594>; - label = "slv-misc-cfg"; - qcom,slavep = <6>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <8>; - }; - - slv-misc-xpu-cfg { - cell-id = <595>; - label = "slv-misc-xpu-cfg"; - qcom,slavep = <7>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <9>; - }; - - slv-gfx3d-cfg { - cell-id = <598>; - label = "slv-gfx3d-cfg"; - qcom,slavep = <9>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <11>; - }; - - slv-mmss-clk-cfg { - cell-id = <599>; - label = "slv-mmss-clk-cfg"; - qcom,slavep = <11>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <12>; - }; - - slv-mmss-clk-xpu-cfg { - cell-id = <600>; - label = "slv-mmss-clk-xpu-cfg"; - qcom,slavep = <12>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <13>; - }; - - slv-mnoc-mpu-cfg { - cell-id = <601>; - label = "slv-mnoc-mpu-cfg"; - qcom,slavep = <13>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <14>; - }; - - slv-onoc-mpu-cfg { - cell-id = <602>; - label = "slv-onoc-mpu-cfg"; - qcom,slavep = <14>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <15>; - }; - - slv-service-mnoc { - cell-id = <603>; - label = "slv-service-mnoc"; - qcom,slavep = <18>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <17>; - }; - - slv-dsi-cfg { - cell-id = <649>; - label = "slv-dsi-cfg"; - qcom,slavep = <19>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <19>; - }; - }; - - msm-sys-noc@fc460000 { - compatible = "msm-bus-fabric"; - reg = <0xfc460000 0x00004000>; - cell-id = <1024>; - label = "msm_sys_noc"; - qcom,fabclk-dual = "bus_clk"; - qcom,fabclk-active = "bus_a_clk"; - qcom,ntieredslaves = <0>; - qcom,qos-freq = <4800>; - qcom,hw-sel = "NoC"; - qcom,rpm-en; - - coresight-id = <50>; - coresight-name = "coresight-snoc"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_in0>; - coresight-child-ports = <3>; - - mas-lpass-ahb { - cell-id = <52>; - label = "mas-lpass-ahb"; - qcom,masterp = <0>; - qcom,tier = <2>; - qcom,mas-hw-id = <18>; - }; - - mas-qdss-bam { - cell-id = <53>; - label = "mas-qdss-bam"; - qcom,masterp = <1>; - qcom,tier = <2>; - qcom,mas-hw-id = <19>; - }; - - mas-snoc-cfg { - cell-id = <54>; - label = "mas-snoc-cfg"; - qcom,masterp = <2>; - qcom,tier = <2>; - qcom,mas-hw-id = <20>; - }; - - fab-bimc { - cell-id = <0>; - label= "fab-bimc"; - qcom,gateway; - qcom,slavep = <7>; - qcom,masterp = <3>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <21>; - qcom,slv-hw-id = <24>; - }; - - fab-cnoc { - cell-id = <5120>; - label = "fab-cnoc"; - qcom,gateway; - qcom,slavep = <8>; - qcom,masterp = <4>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <22>; - qcom,slv-hw-id = <25>; - }; - - fab-pnoc { - cell-id = <4096>; - label = "fab-pnoc"; - qcom,gateway; - qcom,slavep = <10>; - qcom,masterp = <10>; - qcom,buswidth = <8>; - qcom,qport = <8>; - qcom,mas-hw-id = <29>; - qcom,slv-hw-id = <28>; - qcom,mode = "Fixed"; - qcom,prio0 = <2>; - qcom,prio1 = <2>; - }; - - fab-ovnoc { - cell-id = <6144>; - label = "fab-ovnoc"; - qcom,gateway; - qcom,buswidth = <8>; - qcom,mas-hw-id = <53>; - qcom,slv-hw-id = <77>; - }; - - mas-crypto-core0 { - cell-id = <55>; - label = "mas-crypto-core0"; - qcom,masterp = <5>; - qcom,tier = <2>; - qcom,mas-hw-id = <23>; - qcom,hw-sel = "NoC"; - qcom,prio0 = <1>; - qcom,prio1 = <1>; - }; - - mas-mss { - cell-id = <38>; - label = "mas-mss"; - qcom,masterp = <7>; - qcom,tier = <2>; - qcom,mas-hw-id = <26>; - }; - - mas-mss-nav { - cell-id = <57>; - label = "mas-mss-nav"; - qcom,masterp = <8>; - qcom,tier = <2>; - qcom,mas-hw-id = <27>; - }; - - mas-ocmem-dma { - cell-id = <58>; - label = "mas-ocmem-dma"; - qcom,masterp = <9>; - qcom,tier = <2>; - qcom,mode = "Fixed"; - qcom,qport = <7>; - qcom,mas-hw-id = <28>; - }; - - mas-wcss { - cell-id = <59>; - label = "mas-wcss"; - qcom,masterp = <11>; - qcom,tier = <2>; - qcom,mas-hw-id = <30>; - }; - - mas-qdss-etr { - cell-id = <60>; - label = "mas-qdss-etr"; - qcom,masterp = <12>; - qcom,tier = <2>; - qcom,qport = <10>; - qcom,mode = "Fixed"; - qcom,mas-hw-id = <31>; - }; - - slv-ocmem { - cell-id = <604>; - label = "slv-gmem"; - qcom,slavep = <15>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <18>; - }; - - slv-ampss { - cell-id = <520>; - label = "slv-ampss"; - qcom,slavep = <1>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <20>; - }; - - slv-lpass { - cell-id = <522>; - label = "slv-lpass"; - qcom,slavep = <2>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <21>; - }; - - slv-wcss { - cell-id = <584>; - label = "slv-wcss"; - qcom,slavep = <6>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <23>; - }; - - slv-ocimem { - cell-id = <585>; - label = "slv-ocimem"; - qcom,slavep = <10>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <26>; - }; - - slv-service-snoc { - cell-id = <587>; - label = "slv-service-snoc"; - qcom,slavep = <11>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <29>; - }; - - slv-qdss-stm { - cell-id = <588>; - label = "slv-qdss-stm"; - qcom,slavep = <12>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <30>; - }; - - }; - - msm-periph-noc@fc468000 { - compatible = "msm-bus-fabric"; - reg = <0xfc468000 0x00004000>; - cell-id = <4096>; - label = "msm_periph_noc"; - qcom,fabclk-dual = "bus_clk"; - qcom,fabclk-active = "bus_a_clk"; - qcom,ntieredslaves = <0>; - qcom,hw-sel = "NoC"; - qcom,rpm-en; - - coresight-id = <54>; - coresight-name = "coresight-pnoc"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_in0>; - coresight-child-ports = <6>; - - mas-pnoc-cfg { - cell-id = <88>; - label = "mas-pnoc-cfg"; - qcom,masterp = <7>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <43>; - }; - - mas-sdcc-1 { - cell-id = <78>; - label = "mas-sdcc-1"; - qcom,masterp = <0>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <33>; - }; - - mas-sdcc-2 { - cell-id = <81>; - label = "mas-sdcc-2"; - qcom,masterp = <2>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <35>; - }; - - mas-blsp-1 { - cell-id = <86>; - label = "mas-blsp-1"; - qcom,masterp = <5>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <41>; - }; - - mas-usb-hs { - cell-id = <87>; - label = "mas-usb-hs"; - qcom,masterp = <6>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <42>; - }; - - fab-snoc { - cell-id = <1024>; - label = "fab-snoc"; - qcom,gateway; - qcom,slavep = <12>; - qcom,masterp = <8>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <45>; - qcom,mas-hw-id = <44>; - }; - - slv-sdcc-1 { - cell-id = <606>; - label = "slv-sdcc-1"; - qcom,slavep = <0>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <31>; - }; - - slv-sdcc-2 { - cell-id = <608>; - label = "slv-sdcc-2"; - qcom,slavep = <2>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <33>; - }; - - slv-blsp-1 { - cell-id = <613>; - label = "slv-blsp-1"; - qcom,slavep = <5>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <39>; - }; - - slv-usb-hs { - cell-id = <614>; - label = "slv-usb-hs"; - qcom,slavep = <6>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <40>; - }; - - slv-pdm { - cell-id = <615>; - label = "slv-pdm"; - qcom,slavep = <7>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <41>; - }; - - slv-periph-apu-cfg { - cell-id = <616>; - label = "slv-periph-apu-cfg"; - qcom,slavep = <8>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <42>; - }; - - slv-pnoc-mpu-cfg { - cell-id = <617>; - label = "slv-pnoc-mpu-cfg"; - qcom,slavep = <9>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <43>; - }; - - slv-prng { - cell-id = <618>; - label = "slv-prng"; - qcom,slavep = <10>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <44>; - }; - - slv-service-pnoc { - cell-id = <619>; - label = "slv-service-pnoc"; - qcom,slavep = <12>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <46>; - }; - - }; - - msm-config-noc@fc480000 { - compatible = "msm-bus-fabric"; - reg = <0xfc480000 0x00004000>; - cell-id = <5120>; - label = "msm_config_noc"; - qcom,fabclk-dual = "bus_clk"; - qcom,fabclk-active = "bus_a_clk"; - qcom,ntieredslaves = <0>; - qcom,hw-sel = "NoC"; - qcom,rpm-en; - - mas-rpm-inst { - cell-id = <72>; - label = "mas-rpm-inst"; - qcom,masterp = <0>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <45>; - }; - - mas-rpm-data { - cell-id = <73>; - label = "mas-rpm-data"; - qcom,masterp = <1>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <46>; - }; - - mas-rpm-sys { - cell-id = <74>; - label = "mas-rpm-sys"; - qcom,masterp = <2>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <47>; - }; - - mas-dehr { - cell-id = <75>; - label = "mas-dehr"; - qcom,masterp = <3>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <48>; - }; - - mas-qdss-dsp { - cell-id = <76>; - label = "mas-qdss-dap"; - qcom,masterp = <4>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <49>; - }; - - mas-spdm { - cell-id = <36>; - label = "mas-spdm"; - qcom,masterp = <5>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <50>; - }; - - mas-tic { - cell-id = <77>; - label = "mas-tic"; - qcom,masterp = <6>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <51>; - }; - - slv-clk-ctl { - cell-id = <620>; - label = "slv-clk-ctl"; - qcom,slavep = <1>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <47>; - }; - - slv-cnoc-mss { - cell-id = <621>; - label = "slv-cnoc-mss"; - qcom,slavep = <2>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <48>; - }; - - slv-security { - cell-id = <622>; - label = "slv-security"; - qcom,slavep = <3>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <49>; - }; - - slv-tcsr { - cell-id = <623>; - label = "slv-tcsr"; - qcom,slavep = <4>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <50>; - }; - - slv-tlmm { - cell-id = <624>; - label = "slv-tlmm"; - qcom,slavep = <5>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <51>; - }; - - slv-crypto-0-cfg { - cell-id = <625>; - label = "slv-crypto-0-cfg"; - qcom,slavep = <6>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <52>; - }; - - slv-imem-cfg { - cell-id = <627>; - label = "slv-imem-cfg"; - qcom,slavep = <7>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <54>; - }; - - slv-message-ram { - cell-id = <628>; - label = "slv-message-ram"; - qcom,slavep = <8>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <55>; - }; - - slv-bimc-cfg { - cell-id = <629>; - label = "slv-bimc-cfg"; - qcom,slavep = <9>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <56>; - }; - - slv-boot-rom { - cell-id = <630>; - label = "slv-boot-rom"; - qcom,slavep = <10>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <57>; - }; - - slv-pmic-arb { - cell-id = <632>; - label = "slv-pmic-arb"; - qcom,slavep = <12>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <59>; - }; - - slv-spdm-wrapper { - cell-id = <633>; - label = "slv-spdm-wrapper"; - qcom,slavep = <13>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <60>; - }; - - slv-dehr-cfg { - cell-id = <634>; - label = "slv-dehr-cfg"; - qcom,slavep = <14>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <61>; - }; - - slv-mpm { - cell-id = <536>; - label = "slv-mpm"; - qcom,slavep = <15>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <62>; - }; - - slv-qdss-cfg { - cell-id = <635>; - label = "slv-qdss-cfg"; - qcom,slavep = <16>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <63>; - }; - - slv-rbcpr-cfg { - cell-id = <636>; - label = "slv-rbcpr-cfg"; - qcom,slavep = <17>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <64>; - }; - - slv-rbcpr-qdss-apu-cfg { - cell-id = <637>; - label = "slv-rbcpr-qdss-apu-cfg"; - qcom,slavep = <18>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <65>; - }; - - fab-snoc { - cell-id = <1024>; - label = "fab-snoc"; - qcom,gateway; - qcom,slavep = <26>; - qcom,masterp = <7>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <52>; - qcom,slv-hw-id = <75>; - }; - - slv-cnoc-mnoc-mmss-cfg { - cell-id = <631>; - label = "slv-cnoc-mnoc-mmss-cfg"; - qcom,slavep = <11>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <58>; - }; - - slv-cnoc-mnoc-cfg { - cell-id = <640>; - label = "slv-cnoc-mnoc-cfg"; - qcom,slavep = <19>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <66>; - }; - - slv-pnoc-cfg { - cell-id = <641>; - label = "slv-pnoc-cfg"; - qcom,slavep = <21>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <69>; - }; - - slv-snoc-mpu-cfg { - cell-id = <638>; - label = "slv-snoc-mpu-cfg"; - qcom,slavep = <20>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <67>; - }; - - slv-snoc-cfg { - cell-id = <642>; - label = "slv-snoc-cfg"; - qcom,slavep = <22>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <70>; - }; - - slv-phy-apu-cfg { - cell-id = <644>; - label = "slv-phy-apu-cfg"; - qcom,slavep = <23>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <72>; - }; - - slv-ebi1-phy-cfg { - cell-id = <645>; - label = "slv-ebi1-phy-cfg"; - qcom,slavep = <24>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <73>; - }; - - slv-rpm { - cell-id = <534>; - label = "slv-rpm"; - qcom,slavep = <25>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <74>; - }; - - slv-service-cnoc { - cell-id = <646>; - label = "slv-service-cnoc"; - qcom,slavep = <27>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <76>; - }; - - }; - - msm-bimc@0xfc380000 { - compatible = "msm-bus-fabric"; - reg = <0xfc380000 0x0006A000>; - cell-id = <0>; - label = "msm_bimc"; - qcom,fabclk-dual = "mem_clk"; - qcom,fabclk-active = "mem_a_clk"; - qcom,ntieredslaves = <0>; - qcom,qos-freq = <4800>; - qcom,hw-sel = "BIMC"; - qcom,rpm-en; - - coresight-id = <55>; - coresight-name = "coresight-bimc"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_in1>; - coresight-child-ports = <3>; - - mas-ampss-m0 { - cell-id = <1>; - label = "mas-ampss-m0"; - qcom,masterp = <0>; - qcom,tier = <2>; - qcom,hw-sel = "BIMC"; - qcom,mode = "Fixed"; - qcom,qport = <0>; - qcom,ws = <10000>; - qcom,mas-hw-id = <0>; - qcom,prio-rd = <1>; - qcom,prio-wr = <1>; - qcom,prio-lvl = <1>; - }; - - mas-mss-proc { - cell-id = <65>; - label = "mas-mss-proc"; - qcom,masterp = <3>; - qcom,tier = <2>; - qcom,hw-sel = "RPM"; - qcom,mas-hw-id = <1>; - }; - - fab-mmss-noc { - cell-id = <2048>; - label = "fab_mmss_noc"; - qcom,masterp = <1>; - qcom,qport = <1>; - qcom,buswidth = <8>; - qcom,ws = <10000>; - qcom,mas-hw-id = <2>; - qcom,hw-sel = "BIMC"; - qcom,mode = "Bypass"; - }; - - fab-snoc { - cell-id = <1024>; - label = "fab-snoc"; - qcom,gateway; - qcom,slavep = <2>; - qcom,masterp = <2>; - qcom,qport = <2>; - qcom,buswidth = <8>; - qcom,ws = <10000>; - qcom,mas-hw-id = <3>; - qcom,slv-hw-id = <2>; - }; - - mas-lpass-proc { - cell-id = <11>; - label = "mas-lpass-proc"; - qcom,masterp = <4>; - qcom,tier = <2>; - qcom,qport = <4>; - qcom,mas-hw-id = <25>; - qcom,mode = "Fixed"; - qcom,prio0 = <1>; - qcom,prio1 = <1>; - }; - - mas-gfx3d { - cell-id = <26>; - label = "mas-gfx3d"; - qcom,masterp = <5>; - qcom,tier = <2>; - qcom,hw-sel = "BIMC"; - qcom,perm-mode = "Fixed"; - qcom,mode = "Fixed"; - qcom,ws = <10000>; - qcom,qport = <5>; - qcom,mas-hw-id = <6>; - }; - - - slv-ebi-ch0 { - cell-id = <512>; - label = "slv-ebi-ch0"; - qcom,slavep = <0>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <0>; - }; - }; - -}; - - diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8610-camera-sensor-cdp-mtp.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v3/msm8610-camera-sensor-cdp-mtp.dtsi deleted file mode 100644 index d05726006..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8610-camera-sensor-cdp-mtp.dtsi +++ /dev/null @@ -1,116 +0,0 @@ -/* - * Copyright (c) 2013, 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. - */ - -&i2c { - - led_flash0: qcom,led-flash@60 { - cell-index = <0>; - reg = <0x60>; - qcom,slave-id = <0x60 0x00 0x0011>; - compatible = "qcom,led-flash"; - qcom,flash-name = "adp1600"; - qcom,flash-type = <1>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 18 0>, - <&msmgpio 19 0>; - qcom,gpio-flash-en = <0>; - qcom,gpio-flash-now = <1>; - qcom,gpio-req-tbl-num = <0 1>; - qcom,gpio-req-tbl-flags = <0 0>; - qcom,gpio-req-tbl-label = "FLASH_EN", - "FLASH_NOW"; - }; - - actuator0: qcom,actuator@6e { - cell-index = <3>; - reg = <0x6c>; - compatible = "qcom,actuator"; - qcom,cci-master = <0>; - }; - - qcom,camera@6f { - compatible = "qcom,ov8825"; - reg = <0x6f>; - qcom,slave-id = <0x6c 0x300a 0x8825>; - qcom,csiphy-sd-index = <0>; - qcom,csid-sd-index = <0>; - qcom,actuator-src = <&actuator0>; - qcom,led-flash-src = <&led_flash0>; - qcom,mount-angle = <90>; - qcom,sensor-name = "ov8825"; - cam_vdig-supply = <&pm8110_l2>; - cam_vana-supply = <&pm8110_l19>; - cam_vio-supply = <&pm8110_l14>; - cam_vaf-supply = <&pm8110_l16>; - qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana", - "cam_vaf"; - qcom,cam-vreg-type = <0 0 0 0>; - qcom,cam-vreg-min-voltage = <1200000 1800000 2850000 3000000>; - qcom,cam-vreg-max-voltage = <1200000 1800000 2850000 3000000>; - qcom,cam-vreg-op-mode = <200000 8000 80000 100000>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 13 0>, - <&msmgpio 21 0>, - <&msmgpio 20 0>; - qcom,gpio-reset = <1>; - qcom,gpio-standby = <2>; - qcom,gpio-req-tbl-num = <0 1 2>; - qcom,gpio-req-tbl-flags = <1 0 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1", - "CAM_STANDBY"; - qcom,csi-lane-assign = <0xe4>; - qcom,csi-lane-mask = <0x3>; - qcom,sensor-position = <0>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - }; - - qcom,camera@6d { - compatible = "qcom,ov9724"; - reg = <0x6d>; - qcom,slave-id = <0x20 0x0 0x9724>; - qcom,csiphy-sd-index = <1>; - qcom,csid-sd-index = <0>; - qcom,mount-angle = <90>; - qcom,sensor-name = "ov9724"; - cam_vdig-supply = <&pm8110_l4>; - cam_vana-supply = <&pm8110_l19>; - cam_vio-supply = <&pm8110_l14>; - qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana"; - qcom,cam-vreg-type = <0 1 0>; - qcom,cam-vreg-min-voltage = <1200000 0 2850000>; - qcom,cam-vreg-max-voltage = <1200000 0 2850000>; - qcom,cam-vreg-op-mode = <200000 0 80000>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 14 0>, - <&msmgpio 15 0>, - <&msmgpio 8 0>; - qcom,gpio-reset = <1>; - qcom,gpio-standby = <2>; - qcom,gpio-req-tbl-num = <0 1 2>; - qcom,gpio-req-tbl-flags = <1 0 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET", - "CAM_STANDBY"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 4000>; - qcom,csi-lane-assign = <0xe4>; - qcom,csi-lane-mask = <0x1>; - qcom,sensor-position = <1>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - status = "ok"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8610-camera.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v3/msm8610-camera.dtsi deleted file mode 100644 index b1c94dd24..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8610-camera.dtsi +++ /dev/null @@ -1,80 +0,0 @@ -/* - * Copyright (c) 2013, 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. - */ - -&soc{ - qcom,msm-cam@fd8c0000 { - compatible = "qcom,msm-cam"; - reg = <0xfd8C0000 0x10000>; - reg-names = "msm-cam"; - }; - - qcom,csiphy@fda00c00 { - cell-index = <0>; - compatible = "qcom,csiphy"; - reg = <0xfda00c00 0x1f4>; - reg-names = "csiphy"; - interrupts = <0 78 0>; - interrupt-names = "csiphy"; - }; - - qcom,csiphy@fda01000 { - cell-index = <1>; - compatible = "qcom,csiphy"; - reg = <0xfda01000 0x1f4>; - reg-names = "csiphy"; - interrupts = <0 79 0>; - interrupt-names = "csiphy"; - }; - - qcom,csid@fda00000 { - cell-index = <0>; - compatible = "qcom,csid"; - reg = <0xfda00000 0x100>; - reg-names = "csid"; - interrupts = <0 50 0>; - interrupt-names = "csid"; - qcom,csi-vdd-voltage = <1200000>; - qcom,mipi-csi-vdd-supply = <&pm8110_l4>; - }; - - qcom,csid@fda00400 { - cell-index = <1>; - compatible = "qcom,csid"; - reg = <0xfda00400 0x100>; - reg-names = "csid"; - interrupts = <0 51 0>; - interrupt-names = "csid"; - qcom,csi-vdd-voltage = <1200000>; - qcom,mipi-csi-vdd-supply = <&pm8110_l4>; - }; - - qcom,ispif@fda00800 { - cell-index = <0>; - compatible = "qcom,ispif"; - reg = <0xfda00800 0x200>; - reg-names = "ispif"; - interrupts = <0 52 0>; - interrupt-names = "ispif"; - }; - - qcom,vfe@fde00000 { - cell-index = <0>; - compatible = "qcom,vfe32"; - reg = <0xfde00000 0x800>; - reg-names = "vfe", "vfe_vbif"; - interrupts = <0 49 0>; - interrupt-names = "vfe"; - vdd-supply = <&gdsc_vfe>; - }; - -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8610-cdp.dts b/kernel/arch/arm/boot/dts/m7350-un-v3/msm8610-cdp.dts deleted file mode 100644 index bbdc2b8df..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8610-cdp.dts +++ /dev/null @@ -1,396 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; - -/include/ "msm8610.dtsi" -/include/ "dsi-v2-panel-truly-wvga-video.dtsi" -/include/ "msm8610-camera-sensor-cdp-mtp.dtsi" - -/ { - model = "Qualcomm MSM 8610 CDP"; - compatible = "qcom,msm8610-cdp", "qcom,msm8610", "qcom,cdp"; - qcom,msm-id = <147 1 0>, <165 1 0>, <161 1 0>, <162 1 0>, - <163 1 0>, <164 1 0>, <166 1 0>; -}; - -&soc { - serial@f991e000 { - status = "ok"; - }; - - i2c@f9923000{ - atmel_mxt_ts@4a { - compatible = "atmel,mxt-ts"; - reg = <0x4a>; - interrupt-parent = <&msmgpio>; - interrupts = <1 0x2>; - vdd_ana-supply = <&pm8110_l19>; - vcc_i2c-supply = <&pm8110_l14>; - atmel,reset-gpio = <&msmgpio 0 0x00>; - atmel,irq-gpio = <&msmgpio 1 0x00>; - atmel,panel-coords = <0 0 508 880>; - atmel,display-coords = <0 0 480 800>; - atmel,i2c-pull-up; - atmel,no-force-update; - atmel,cfg_1 { - atmel,family-id = <0x81>; - atmel,variant-id = <0x15>; - atmel,version = <0x11>; - atmel,build = <0xaa>; - atmel,config = [ - /* Object 6, Instance = 0 */ - 00 00 00 00 00 00 - /* Object 38, Instance = 0 */ - 1D 01 00 0C 04 0D 00 00 - /* Object 7, Instance = 0 */ - 20 08 32 - /* Object 8, Instance = 0 */ - 19 00 14 14 FF 00 FF 00 00 00 - /* Object 9, Instance = 0 */ - 83 00 00 13 0B 00 20 32 01 03 - 00 32 05 30 0A 05 0A 00 70 03 - FC 01 00 36 2F 2C 00 00 40 00 - 00 0A 00 00 02 - /* Object 18, Instance = 0 */ - 00 00 - /* Object 19, Instance = 0 */ - 00 00 00 00 00 00 - /* Object 25, Instance = 0 */ - 03 00 18 79 A8 61 - /* Object 58, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 - /* Object 42, Instance = 0 */ - 00 00 00 00 00 00 00 00 - /* Object 46, Instance = 0 */ - 04 03 08 10 00 00 00 00 00 - /* Object 47, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - /* Object 48, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 - /* Object 55, Instance = 0 */ - 00 00 00 00 - ]; - }; - }; - }; - - gen-vkeys { - compatible = "qcom,gen-vkeys"; - label = "atmel_mxt_ts"; - qcom,disp-maxx = <480>; - qcom,disp-maxy = <800>; - qcom,panel-maxx = <508>; - qcom,panel-maxy = <880>; - qcom,key-codes = <158 102 139>; - qcom,y-offset = <35>; - }; - - gpio_keys { - compatible = "gpio-keys"; - input-name = "gpio-keys"; - - camera_snapshot { - label = "camera_snapshot"; - gpios = <&msmgpio 73 0x1>; - linux,input-type = <1>; - linux,code = <0x2fe>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - - camera_focus { - label = "camera_focus"; - gpios = <&msmgpio 74 0x1>; - linux,input-type = <1>; - linux,code = <0x210>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - - vol_up { - label = "volume_up"; - gpios = <&msmgpio 72 0x1>; - linux,input-type = <1>; - linux,code = <115>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - }; - - sound { - qcom,audio-routing = - "RX_BIAS", "MCLK", - "INT_LDO_H", "MCLK", - "MIC BIAS External", "Handset Mic", - "MIC BIAS Internal2", "Headset Mic", - "AMIC1", "MIC BIAS External", - "AMIC2", "MIC BIAS Internal2"; - }; -}; - -&i2c_cdc { - msm8x10_wcd_codec@0d{ - compatible = "qcom,msm8x10-wcd-i2c"; - reg = <0x0d>; - cdc-vdda-cp-supply = <&pm8110_s4>; - qcom,cdc-vdda-cp-voltage = <2150000 2150000>; - qcom,cdc-vdda-cp-current = <650000>; - - cdc-vdda-h-supply = <&pm8110_l6>; - qcom,cdc-vdda-h-voltage = <1800000 1800000>; - qcom,cdc-vdda-h-current = <250000>; - - cdc-vdd-px-supply = <&pm8110_l6>; - qcom,cdc-vdd-px-voltage = <1800000 1800000>; - qcom,cdc-vdd-px-current = <10000>; - - cdc-vdd-1p2v-supply = <&pm8110_l4>; - qcom,cdc-vdd-1p2v-voltage = <1200000 1200000>; - qcom,cdc-vdd-1p2v-current = <5000>; - - cdc-vdd-mic-bias-supply = <&pm8110_l20>; - qcom,cdc-vdd-mic-bias-voltage = <3075000 3075000>; - qcom,cdc-vdd-mic-bias-current = <25000>; - - qcom,cdc-micbias-cfilt-sel = <0x0>; - qcom,cdc-micbias-cfilt-mv = <1800000>; - qcom,cdc-mclk-clk-rate = <12288000>; - }; - - msm8x10_wcd_codec@77{ - compatible = "qcom,msm8x10-wcd-i2c"; - reg = <0x77>; - }; - - msm8x10_wcd_codec@66{ - compatible = "qcom,msm8x10-wcd-i2c"; - reg = <0x66>; - }; - - msm8x10_wcd_codec@55{ - compatible = "qcom,msm8x10-wcd-i2c"; - reg = <0x55>; - }; -}; - -&spmi_bus { - qcom,pm8110@0 { - qcom,leds@a100 { - status = "okay"; - qcom,led_mpp_2 { - label = "mpp"; - linux,name = "button-backlight"; - linux-default-trigger = "hr-trigger"; - qcom,default-state = "off"; - qcom,max-current = <40>; - qcom,id = <6>; - qcom,source-sel = <1>; - qcom,mode-ctrl = <0x60>; - qcom,mode = "manual"; - }; - }; - - qcom,leds@a200 { - status = "okay"; - qcom,led_mpp_3 { - label = "mpp"; - linux,name = "wled-backlight"; - linux,default-trigger = "bkl-trigger"; - qcom,default-state = "on"; - qcom,max-current = <40>; - qcom,id = <6>; - qcom,source-sel = <1>; - qcom,mode-ctrl = <0x10>; - qcom,mode = "manual"; - }; - }; - }; -}; - -&spmi_bus { - qcom,pm8110@1 { - qcom,vibrator@c000 { - status = "okay"; - qcom,vib-timeout-ms = <15000>; - qcom,vib-vtg-level-mV = <3100>; - }; - }; -}; - -&sdhc_1 { - vdd-supply = <&pm8110_l17>; - qcom,vdd-always-on; - qcom,vdd-lpm-sup; - qcom,vdd-voltage-level = <2900000 2900000>; - qcom,vdd-current-level = <200 400000>; - - vdd-io-supply = <&pm8110_l6>; - qcom,vdd-io-always-on; - qcom,vdd-io-lpm-sup; - qcom,vdd-io-voltage-level = <1800000 1800000>; - qcom,vdd-io-current-level = <200 60000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - qcom,bus-speed-mode = "HS200_1p8v", "DDR_1p8v"; - qcom,nonremovable; - - status = "ok"; -}; - -&sdhc_2 { - vdd-supply = <&pm8110_l18>; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <15000 400000>; - - vdd-io-supply = <&pm8110_l21>; - qcom,vdd-io-voltage-level = <1800000 2950000>; - qcom,vdd-io-current-level = <200 50000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - - #address-cells = <0>; - interrupt-parent = <&sdhc_2>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 125 0 - 1 &intc 0 221 0 - 2 &msmgpio 42 0x3>; - interrupt-names = "hc_irq", "pwr_irq", "status_irq"; - cd-gpios = <&msmgpio 42 0x1>; - - status = "ok"; -}; - -&pm8110_chg { - status = "ok"; - qcom,charging-disabled; - qcom,use-default-batt-values; - - qcom,chgr@1000 { - status = "ok"; - }; - - qcom,buck@1100 { - status = "ok"; - }; - - qcom,usb-chgpth@1300 { - status = "ok"; - }; - - qcom,chg-misc@1600 { - status = "ok"; - }; -}; - -&pm8110_gpios { - gpio@c000 { /* GPIO 1 */ - }; - - gpio@c100 { /* GPIO 2 */ - }; - - gpio@c200 { /* GPIO 3 */ - }; - - gpio@c300 { /* GPIO 4 */ - }; -}; - -&pm8110_mpps { - mpp@a000 { /* MPP 1 */ - }; - - mpp@a100 { /* MPP 2 */ - status = "disabled"; - }; - - mpp@a200 { /* MPP 3 */ - status = "disabled"; - }; - - mpp@a300 { /* MPP 4 */ - /* PA_THERM config */ - qcom,mode = <4>; /* AIN input */ - qcom,invert = <1>; /* Enable MPP */ - qcom,ain-route = <3>; /* AMUX 8 */ - qcom,master-en = <1>; - qcom,src-sel = <0>; /* Function constant */ - }; -}; - -/* CoreSight */ -&tpiu { - qcom,seta-gpios = <&msmgpio 4 0>, - <&msmgpio 5 0>, - <&msmgpio 6 0>, - <&msmgpio 7 0>, - <&msmgpio 22 0>, - <&msmgpio 23 0>, - <&msmgpio 24 0>, - <&msmgpio 25 0>, - <&msmgpio 26 0>, - <&msmgpio 27 0>, - <&msmgpio 28 0>, - <&msmgpio 29 0>, - <&msmgpio 30 0>, - <&msmgpio 31 0>, - <&msmgpio 94 0>, - <&msmgpio 95 0>, - <&msmgpio 96 0>, - <&msmgpio 97 0>; - qcom,seta-gpios-func = <9 9 8 11 2 2 2 2 2 2 3 2 3 3 4 4 4 4>; - qcom,seta-gpios-drv = <7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7>; - qcom,seta-gpios-pull = <0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0>; - qcom,seta-gpios-dir = <2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2>; - - qcom,setb-gpios = <&msmgpio 8 0>, - <&msmgpio 10 0>, - <&msmgpio 11 0>, - <&msmgpio 13 0>, - <&msmgpio 14 0>, - <&msmgpio 15 0>, - <&msmgpio 16 0>, - <&msmgpio 17 0>, - <&msmgpio 18 0>, - <&msmgpio 19 0>, - <&msmgpio 20 0>, - <&msmgpio 21 0>, - <&msmgpio 42 0>, - <&msmgpio 80 0>, - <&msmgpio 81 0>, - <&msmgpio 82 0>, - <&msmgpio 83 0>, - <&msmgpio 84 0>; - qcom,setb-gpios-func = <10 8 8 6 9 9 9 9 9 9 9 9 5 7 7 8 8 8>; - qcom,setb-gpios-drv = <7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7>; - qcom,setb-gpios-pull = <0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0>; - qcom,setb-gpios-dir = <2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2>; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8610-coresight.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v3/msm8610-coresight.dtsi deleted file mode 100644 index 516522eb0..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8610-coresight.dtsi +++ /dev/null @@ -1,357 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -&soc { - tmc_etr: tmc@fc326000 { - compatible = "arm,coresight-tmc"; - reg = <0xfc326000 0x1000>, - <0xfc37c000 0x3000>; - reg-names = "tmc-base", "bam-base"; - - qcom,memory-reservation-type = "EBI1"; - qcom,memory-reservation-size = <0x100000>; /* 1M EBI1 buffer */ - - coresight-id = <0>; - coresight-name = "coresight-tmc-etr"; - coresight-nr-inports = <1>; - coresight-ctis = <&cti0 &cti8>; - }; - - tpiu: tpiu@fc320000 { - compatible = "arm,coresight-tpiu"; - reg = <0xfc320000 0x1000>; - reg-names = "tpiu-base"; - - coresight-id = <1>; - coresight-name = "coresight-tpiu"; - coresight-nr-inports = <1>; - - vdd-supply = <&pm8110_l18>; - - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <15000 400000>; - }; - - replicator: replicator@fc324000 { - compatible = "qcom,coresight-replicator"; - reg = <0xfc324000 0x1000>; - reg-names = "replicator-base"; - - coresight-id = <2>; - coresight-name = "coresight-replicator"; - coresight-nr-inports = <1>; - coresight-outports = <0 1>; - coresight-child-list = <&tmc_etr &tpiu>; - coresight-child-ports = <0 0>; - }; - - tmc_etf: tmc@fc325000 { - compatible = "arm,coresight-tmc"; - reg = <0xfc325000 0x1000>; - reg-names = "tmc-base"; - - coresight-id = <3>; - coresight-name = "coresight-tmc-etf"; - coresight-nr-inports = <1>; - coresight-outports = <0>; - coresight-child-list = <&replicator>; - coresight-child-ports = <0>; - coresight-default-sink; - coresight-ctis = <&cti0 &cti8>; - }; - - funnel_merg: funnel@fc323000 { - compatible = "arm,coresight-funnel"; - reg = <0xfc323000 0x1000>; - reg-names = "funnel-base"; - - coresight-id = <4>; - coresight-name = "coresight-funnel-merg"; - coresight-nr-inports = <2>; - coresight-outports = <0>; - coresight-child-list = <&tmc_etf>; - coresight-child-ports = <0>; - }; - - funnel_in0: funnel@fc321000 { - compatible = "arm,coresight-funnel"; - reg = <0xfc321000 0x1000>; - reg-names = "funnel-base"; - - coresight-id = <5>; - coresight-name = "coresight-funnel-in0"; - coresight-nr-inports = <8>; - coresight-outports = <0>; - coresight-child-list = <&funnel_merg>; - coresight-child-ports = <0>; - }; - - funnel_in1: funnel@fc322000 { - compatible = "arm,coresight-funnel"; - reg = <0xfc322000 0x1000>; - reg-names = "funnel-base"; - - coresight-id = <6>; - coresight-name = "coresight-funnel-in1"; - coresight-nr-inports = <8>; - coresight-outports = <0>; - coresight-child-list = <&funnel_merg>; - coresight-child-ports = <1>; - }; - - funnel_a7ss: funnel@fc355000 { - compatible = "arm,coresight-funnel"; - reg = <0xfc355000 0x1000>; - reg-names = "funnel-base"; - - coresight-id = <7>; - coresight-name = "coresight-funnel-a7ss"; - coresight-nr-inports = <4>; - coresight-outports = <0>; - coresight-child-list = <&funnel_in1>; - coresight-child-ports = <6>; - }; - - stm: stm@fc302000 { - compatible = "arm,coresight-stm"; - reg = <0xfc302000 0x1000>, - <0xfa280000 0x180000>; - reg-names = "stm-base", "stm-data-base"; - - coresight-id = <8>; - coresight-name = "coresight-stm"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_in0>; - coresight-child-ports = <7>; - }; - - etm0: etm@fc34c000 { - compatible = "arm,coresight-etm"; - reg = <0xfc34c000 0x1000>; - reg-names = "etm-base"; - - coresight-id = <9>; - coresight-name = "coresight-etm0"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_a7ss>; - coresight-child-ports = <0>; - - qcom,pc-save; - qcom,round-robin; - }; - - etm1: etm@fc34d000 { - compatible = "arm,coresight-etm"; - reg = <0xfc34d000 0x1000>; - reg-names = "etm-base"; - - coresight-id = <10>; - coresight-name = "coresight-etm1"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_a7ss>; - coresight-child-ports = <1>; - - qcom,pc-save; - qcom,round-robin; - }; - - etm2: etm@fc34e000 { - compatible = "arm,coresight-etm"; - reg = <0xfc34e000 0x1000>; - reg-names = "etm-base"; - - coresight-id = <11>; - coresight-name = "coresight-etm2"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_a7ss>; - coresight-child-ports = <2>; - - qcom,pc-save; - qcom,round-robin; - }; - - etm3: etm@fc34f000 { - compatible = "arm,coresight-etm"; - reg = <0xfc34f000 0x1000>; - reg-names = "etm-base"; - - coresight-id = <12>; - coresight-name = "coresight-etm3"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_a7ss>; - coresight-child-ports = <3>; - - qcom,pc-save; - qcom,round-robin; - }; - - csr: csr@fc301000 { - compatible = "qcom,coresight-csr"; - reg = <0xfc301000 0x1000>; - reg-names = "csr-base"; - - coresight-id = <13>; - coresight-name = "coresight-csr"; - coresight-nr-inports = <0>; - - qcom,blk-size = <1>; - }; - - cti0: cti@fc310000 { - compatible = "arm,coresight-cti"; - reg = <0xfc310000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <14>; - coresight-name = "coresight-cti0"; - coresight-nr-inports = <0>; - }; - - cti1: cti@fc311000 { - compatible = "arm,coresight-cti"; - reg = <0xfc311000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <15>; - coresight-name = "coresight-cti1"; - coresight-nr-inports = <0>; - }; - - cti2: cti@fc312000 { - compatible = "arm,coresight-cti"; - reg = <0xfc312000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <16>; - coresight-name = "coresight-cti2"; - coresight-nr-inports = <0>; - }; - - cti3: cti@fc313000 { - compatible = "arm,coresight-cti"; - reg = <0xfc313000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <17>; - coresight-name = "coresight-cti3"; - coresight-nr-inports = <0>; - }; - - cti4: cti@fc314000 { - compatible = "arm,coresight-cti"; - reg = <0xfc314000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <18>; - coresight-name = "coresight-cti4"; - coresight-nr-inports = <0>; - }; - - cti5: cti@fc315000 { - compatible = "arm,coresight-cti"; - reg = <0xfc315000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <19>; - coresight-name = "coresight-cti5"; - coresight-nr-inports = <0>; - }; - - cti6: cti@fc316000 { - compatible = "arm,coresight-cti"; - reg = <0xfc316000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <20>; - coresight-name = "coresight-cti6"; - coresight-nr-inports = <0>; - }; - - cti7: cti@fc317000 { - compatible = "arm,coresight-cti"; - reg = <0xfc317000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <21>; - coresight-name = "coresight-cti7"; - coresight-nr-inports = <0>; - }; - - cti8: cti@fc318000 { - compatible = "arm,coresight-cti"; - reg = <0xfc318000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <22>; - coresight-name = "coresight-cti8"; - coresight-nr-inports = <0>; - }; - - cti_cpu0: cti@fc351000 { - compatible = "arm,coresight-cti"; - reg = <0xfc351000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <23>; - coresight-name = "coresight-cti-cpu0"; - coresight-nr-inports = <0>; - }; - - cti_cpu1: cti@fc352000 { - compatible = "arm,coresight-cti"; - reg = <0xfc352000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <24>; - coresight-name = "coresight-cti-cpu1"; - coresight-nr-inports = <0>; - }; - - cti_cpu2: cti@fc353000 { - compatible = "arm,coresight-cti"; - reg = <0xfc353000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <25>; - coresight-name = "coresight-cti-cpu2"; - coresight-nr-inports = <0>; - }; - - cti_cpu3: cti@fc354000 { - compatible = "arm,coresight-cti"; - reg = <0xfc354000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <26>; - coresight-name = "coresight-cti-cpu3"; - coresight-nr-inports = <0>; - }; - - hwevent: hwevent@fd820018 { - compatible = "qcom,coresight-hwevent"; - reg = <0xfd820018 0x80>, - <0xf9011080 0x80>, - <0xfd4ab160 0x80>; - reg-names = "mmss-mux", "apcs-mux", "ppss-mux"; - - coresight-id = <27>; - coresight-name = "coresight-hwevent"; - coresight-nr-inports = <0>; - - qcom,hwevent-clks = "core_mmss_clk"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8610-gpu.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v3/msm8610-gpu.dtsi deleted file mode 100644 index 7e3ee0dcb..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8610-gpu.dtsi +++ /dev/null @@ -1,167 +0,0 @@ -/* Copyright (c) 2013, 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. - */ -&soc { - msm_gpu: qcom,kgsl-3d0@fdc00000 { - label = "kgsl-3d0"; - compatible = "qcom,kgsl-3d0", "qcom,kgsl-3d"; - reg = <0xfdc00000 0x10000 - 0xfdc10000 0x10000>; - reg-names = "kgsl_3d0_reg_memory", "kgsl_3d0_shader_memory"; - interrupts = <0 33 0>; - interrupt-names = "kgsl_3d0_irq"; - qcom,id = <0>; - - qcom,chipid = <0x03000520>; - - qcom,initial-pwrlevel = <1>; - - qcom,idle-timeout = <8>; /* */ - qcom,strtstp-sleepwake; - qcom,clk-map = <0x000005E>; /* KGSL_CLK_CORE | - KGSL_CLK_IFACE | KGSL_CLK_MEM | KGSL_CLK_MEM_IFACE | - KGSL_CLK_ALT_MEM_IFACE */ - - /* Bus Scale Settings */ - qcom,msm-bus,name = "grp3d"; - qcom,msm-bus,num-cases = <4>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <26 512 0 0>, - <26 512 0 800000>, - <26 512 0 1600000>, - <26 512 0 2128000>; - - /* GDSC oxili regulators */ - vdd-supply = <&gdsc_oxili_cx>; - - /* IOMMU Data */ - iommu = <&gfx_iommu>; - - /* Power levels */ - qcom,gpu-pwrlevels { - #address-cells = <1>; - #size-cells = <0>; - - compatible = "qcom,gpu-pwrlevels"; - - qcom,gpu-pwrlevel@0 { - reg = <0>; - qcom,gpu-freq = <400000000>; - qcom,bus-freq = <3>; - qcom,io-fraction = <0>; - }; - - qcom,gpu-pwrlevel@1 { - reg = <1>; - qcom,gpu-freq = <300000000>; - qcom,bus-freq = <2>; - qcom,io-fraction = <33>; - }; - - qcom,gpu-pwrlevel@2 { - reg = <2>; - qcom,gpu-freq = <200000000>; - qcom,bus-freq = <2>; - qcom,io-fraction = <33>; - }; - - qcom,gpu-pwrlevel@3 { - reg = <3>; - qcom,gpu-freq = <150000000>; - qcom,bus-freq = <1>; - qcom,io-fraction = <100>; - }; - - qcom,gpu-pwrlevel@4 { - reg = <4>; - qcom,gpu-freq = <27000000>; - qcom,bus-freq = <0>; - qcom,io-fraction = <0>; - }; - }; - - /* DVCS Info */ - qcom,dcvs-core-info { - #address-cells = <1>; - #size-cells = <0>; - - compatible = "qcom,dcvs-core-info"; - - qcom,num-cores = <1>; - qcom,sensors = <0>; - - qcom,core-core-type = <1>; - - qcom,algo-disable-pc-threshold = <0>; - qcom,algo-em-win-size-min-us = <100000>; - qcom,algo-em-win-size-max-us = <300000>; - qcom,algo-em-max-util-pct = <97>; - qcom,algo-group-id = <95>; - qcom,algo-max-freq-chg-time-us = <100000>; - qcom,algo-slack-mode-dynamic = <100000>; - qcom,algo-slack-weight-thresh-pct = <0>; - qcom,algo-slack-time-min-us = <39000>; - qcom,algo-slack-time-max-us = <39000>; - qcom,algo-ss-win-size-min-us = <1000000>; - qcom,algo-ss-win-size-max-us = <1000000>; - qcom,algo-ss-util-pct = <95>; - qcom,algo-ss-no-corr-below-freq = <0>; - - qcom,energy-active-coeff-a = <2492>; - qcom,energy-active-coeff-b = <0>; - qcom,energy-active-coeff-c = <0>; - qcom,energy-leakage-coeff-a = <11>; - qcom,energy-leakage-coeff-b = <157150>; - qcom,energy-leakage-coeff-c = <0>; - qcom,energy-leakage-coeff-d = <0>; - - qcom,power-current-temp = <25>; - qcom,power-num-freq = <4>; - - qcom,dcvs-freq@0 { - reg = <0>; - qcom,freq = <0>; - qcom,voltage = <0>; - qcom,is_trans_level = <0>; - qcom,active-energy-offset = <100>; - qcom,leakage-energy-offset = <0>; - }; - - qcom,dcvs-freq@1 { - reg = <1>; - qcom,freq = <0>; - qcom,voltage = <0>; - qcom,is_trans_level = <0>; - qcom,active-energy-offset = <100>; - qcom,leakage-energy-offset = <0>; - }; - - qcom,dcvs-freq@2 { - reg = <2>; - qcom,freq = <0>; - qcom,voltage = <0>; - qcom,is_trans_level = <0>; - qcom,active-energy-offset = <100>; - qcom,leakage-energy-offset = <0>; - }; - - qcom,dcvs-freq@3 { - reg = <3>; - qcom,freq = <0>; - qcom,voltage = <0>; - qcom,is_trans_level = <0>; - qcom,active-energy-offset = <844545>; - qcom,leakage-energy-offset = <0>; - }; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8610-iommu-domains.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v3/msm8610-iommu-domains.dtsi deleted file mode 100644 index 6f438972d..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8610-iommu-domains.dtsi +++ /dev/null @@ -1,36 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&soc { - qcom,iommu-domains { - compatible = "qcom,iommu-domains"; - - qcom,iommu-domain1 { - label = "lpass_secure"; - qcom,iommu-contexts = <&lpass_q6_fw>; - qcom,virtual-addr-pool = <0x00000000 0x0FFFFFFF - 0xF0000000 0x0FFFFFFF>; - }; - - qcom,iommu-domain2 { - label = "lpass_audio"; - qcom,iommu-contexts = <&lpass_audio_shared>; - qcom,virtual-addr-pool = <0x10000000 0x0FFFFFFF>; - }; - - q6_domain_ns:qcom,iommu-domain3 { - label = "lpass_video"; - qcom,iommu-contexts = <&lpass_video_shared>; - qcom,virtual-addr-pool = <0x20000000 0x0FFFFFFF>; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8610-ion.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v3/msm8610-ion.dtsi deleted file mode 100644 index 456b60ced..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8610-ion.dtsi +++ /dev/null @@ -1,38 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&soc { - qcom,ion { - compatible = "qcom,msm-ion"; - #address-cells = <1>; - #size-cells = <0>; - - qcom,ion-heap@30 { /* SYSTEM HEAP */ - reg = <30>; - }; - - qcom,ion-heap@21 { /* SYSTEM CONTIG HEAP */ - reg = <21>; - }; - - qcom,ion-heap@25 { /* IOMMU HEAP */ - reg = <25>; - }; - - qcom,ion-heap@27 { /* QSECOM HEAP */ - compatible = "qcom,msm-ion-reserve"; - reg = <27>; - linux,contiguous-region = <&qsecom_mem>; - }; - }; -}; - diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8610-mdss.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v3/msm8610-mdss.dtsi deleted file mode 100644 index af0e3e4e3..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8610-mdss.dtsi +++ /dev/null @@ -1,37 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&soc { - qcom,mdss_mdp@fd900000 { - compatible = "qcom,mdss_mdp3"; - reg = <0xfd900000 0x100000>; - reg-names = "mdp_phys"; - interrupts = <0 72 0>; - - mdss_fb0: qcom,mdss_fb_primary { - cell-index = <0>; - compatible = "qcom,mdss-fb"; - qcom,memory-reservation-type = "EBI1"; - qcom,memory-reservation-size = <0x300000>; - }; - }; - - mdss_dsi0: qcom,mdss_dsi@fdd00000 { - compatible = "qcom,msm-dsi-v2"; - label = "MDSS DSI CTRL->0"; - cell-index = <0>; - reg = <0xfdd00000 0x100000>; - interrupts = <0 30 0>; - vdda-supply = <&pm8110_l4>; - qcom,mdss-fb-map = <&mdss_fb0>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8610-mtp.dts b/kernel/arch/arm/boot/dts/m7350-un-v3/msm8610-mtp.dts deleted file mode 100644 index 9406a0911..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8610-mtp.dts +++ /dev/null @@ -1,354 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; - -/include/ "msm8610.dtsi" -/include/ "dsi-v2-panel-truly-wvga-video.dtsi" -/include/ "msm8610-camera-sensor-cdp-mtp.dtsi" - -/ { - model = "Qualcomm MSM 8610 MTP"; - compatible = "qcom,msm8610-mtp", "qcom,msm8610", "qcom,mtp"; - qcom,msm-id = <147 8 0>, <165 8 0>, <161 8 0>, <162 8 0>, - <163 8 0>, <164 8 0>, <166 8 0>; -}; - -&soc { - serial@f991e000 { - status = "ok"; - }; - - i2c@f9923000{ - atmel_mxt_ts@4a { - compatible = "atmel,mxt-ts"; - reg = <0x4a>; - interrupt-parent = <&msmgpio>; - interrupts = <1 0x2>; - vdd_ana-supply = <&pm8110_l19>; - vcc_i2c-supply = <&pm8110_l14>; - atmel,reset-gpio = <&msmgpio 0 0x00>; - atmel,irq-gpio = <&msmgpio 1 0x00>; - atmel,panel-coords = <0 0 508 880>; - atmel,display-coords = <0 0 480 800>; - atmel,i2c-pull-up; - atmel,no-force-update; - atmel,cfg_1 { - atmel,family-id = <0x81>; - atmel,variant-id = <0x15>; - atmel,version = <0x11>; - atmel,build = <0xaa>; - atmel,config = [ - /* Object 6, Instance = 0 */ - 00 00 00 00 00 00 - /* Object 38, Instance = 0 */ - 1D 01 00 0C 04 0D 00 00 - /* Object 7, Instance = 0 */ - 20 08 32 - /* Object 8, Instance = 0 */ - 19 00 14 14 FF 00 FF 00 00 00 - /* Object 9, Instance = 0 */ - 83 00 00 13 0B 00 20 32 01 03 - 00 32 05 30 0A 05 0A 00 70 03 - FC 01 00 36 2F 2C 00 00 40 00 - 00 0A 00 00 02 - /* Object 18, Instance = 0 */ - 00 00 - /* Object 19, Instance = 0 */ - 00 00 00 00 00 00 - /* Object 25, Instance = 0 */ - 03 00 18 79 A8 61 - /* Object 58, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 - /* Object 42, Instance = 0 */ - 00 00 00 00 00 00 00 00 - /* Object 46, Instance = 0 */ - 04 03 08 10 00 00 00 00 00 - /* Object 47, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - /* Object 48, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 - /* Object 55, Instance = 0 */ - 00 00 00 00 - ]; - }; - }; - }; - - gen-vkeys { - compatible = "qcom,gen-vkeys"; - label = "atmel_mxt_ts"; - qcom,disp-maxx = <480>; - qcom,disp-maxy = <800>; - qcom,panel-maxx = <508>; - qcom,panel-maxy = <880>; - qcom,key-codes = <158 102 139>; - qcom,y-offset = <35>; - }; - - gpio_keys { - compatible = "gpio-keys"; - input-name = "gpio-keys"; - - camera_snapshot { - label = "camera_snapshot"; - gpios = <&msmgpio 73 0x1>; - linux,input-type = <1>; - linux,code = <0x2fe>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - - camera_focus { - label = "camera_focus"; - gpios = <&msmgpio 74 0x1>; - linux,input-type = <1>; - linux,code = <0x210>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - - vol_up { - label = "volume_up"; - gpios = <&msmgpio 72 0x1>; - linux,input-type = <1>; - linux,code = <115>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - }; - - sound { - qcom,audio-routing = - "RX_BIAS", "MCLK", - "INT_LDO_H", "MCLK", - "MIC BIAS External", "Handset Mic", - "MIC BIAS Internal2", "Headset Mic", - "AMIC1", "MIC BIAS External", - "AMIC2", "MIC BIAS Internal2"; - }; -}; - -&i2c_cdc { - msm8x10_wcd_codec@0d{ - compatible = "qcom,msm8x10-wcd-i2c"; - reg = <0x0d>; - cdc-vdda-cp-supply = <&pm8110_s4>; - qcom,cdc-vdda-cp-voltage = <2150000 2150000>; - qcom,cdc-vdda-cp-current = <650000>; - - cdc-vdda-h-supply = <&pm8110_l6>; - qcom,cdc-vdda-h-voltage = <1800000 1800000>; - qcom,cdc-vdda-h-current = <250000>; - - cdc-vdd-px-supply = <&pm8110_l6>; - qcom,cdc-vdd-px-voltage = <1800000 1800000>; - qcom,cdc-vdd-px-current = <10000>; - - cdc-vdd-1p2v-supply = <&pm8110_l4>; - qcom,cdc-vdd-1p2v-voltage = <1200000 1200000>; - qcom,cdc-vdd-1p2v-current = <5000>; - - cdc-vdd-mic-bias-supply = <&pm8110_l20>; - qcom,cdc-vdd-mic-bias-voltage = <3075000 3075000>; - qcom,cdc-vdd-mic-bias-current = <25000>; - - qcom,cdc-micbias-cfilt-sel = <0x0>; - qcom,cdc-micbias-cfilt-mv = <1800000>; - qcom,cdc-mclk-clk-rate = <12288000>; - }; - - msm8x10_wcd_codec@77{ - compatible = "qcom,msm8x10-wcd-i2c"; - reg = <0x77>; - }; - - msm8x10_wcd_codec@66{ - compatible = "qcom,msm8x10-wcd-i2c"; - reg = <0x66>; - }; - - msm8x10_wcd_codec@55{ - compatible = "qcom,msm8x10-wcd-i2c"; - reg = <0x55>; - }; -}; - -&spmi_bus { - qcom,pm8110@0 { - qcom,leds@a100 { - status = "okay"; - qcom,led_mpp_2 { - label = "mpp"; - linux,name = "button-backlight"; - linux-default-trigger = "hr-trigger"; - qcom,default-state = "off"; - qcom,max-current = <40>; - qcom,id = <6>; - qcom,source-sel = <1>; - qcom,mode-ctrl = <0x60>; - qcom,mode = "manual"; - }; - }; - - qcom,leds@a200 { - status = "okay"; - qcom,led_mpp_3 { - label = "mpp"; - linux,name = "wled-backlight"; - linux,default-trigger = "bkl-trigger"; - qcom,default-state = "on"; - qcom,max-current = <40>; - qcom,id = <6>; - qcom,source-sel = <1>; - qcom,mode-ctrl = <0x10>; - qcom,mode = "manual"; - }; - }; - }; -}; - -&spmi_bus { - qcom,pm8110@1 { - qcom,vibrator@c000 { - status = "okay"; - qcom,vib-timeout-ms = <15000>; - qcom,vib-vtg-level-mV = <3100>; - }; - }; -}; - -&sdhc_1 { - vdd-supply = <&pm8110_l17>; - qcom,vdd-always-on; - qcom,vdd-lpm-sup; - qcom,vdd-voltage-level = <2900000 2900000>; - qcom,vdd-current-level = <200 400000>; - - vdd-io-supply = <&pm8110_l6>; - qcom,vdd-io-always-on; - qcom,vdd-io-lpm-sup; - qcom,vdd-io-voltage-level = <1800000 1800000>; - qcom,vdd-io-current-level = <200 60000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - qcom,bus-speed-mode = "HS200_1p8v", "DDR_1p8v"; - qcom,nonremovable; - - status = "ok"; -}; - -&sdhc_2 { - vdd-supply = <&pm8110_l18>; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <15000 400000>; - - vdd-io-supply = <&pm8110_l21>; - qcom,vdd-io-voltage-level = <1800000 2950000>; - qcom,vdd-io-current-level = <200 50000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - - #address-cells = <0>; - interrupt-parent = <&sdhc_2>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 125 0 - 1 &intc 0 221 0 - 2 &msmgpio 42 0x3>; - interrupt-names = "hc_irq", "pwr_irq", "status_irq"; - cd-gpios = <&msmgpio 42 0x1>; - - status = "ok"; -}; - -&pm8110_chg { - status = "ok"; - qcom,charging-disabled; - - qcom,chgr@1000 { - status = "ok"; - }; - - qcom,buck@1100 { - status = "ok"; - }; - - qcom,bat-if@1200 { - status = "ok"; - }; - - qcom,usb-chgpth@1300 { - status = "ok"; - }; - - qcom,chg-misc@1600 { - status = "ok"; - }; -}; - -&pm8110_gpios { - gpio@c000 { /* GPIO 1 */ - }; - - gpio@c100 { /* GPIO 2 */ - }; - - gpio@c200 { /* GPIO 3 */ - }; - - gpio@c300 { /* GPIO 4 */ - }; -}; - -&pm8110_mpps { - mpp@a000 { /* MPP 1 */ - }; - - mpp@a100 { /* MPP 2 */ - status = "disabled"; - }; - - mpp@a200 { /* MPP 3 */ - status = "disabled"; - }; - - mpp@a300 { /* MPP 4 */ - /* PA_THERM config */ - qcom,mode = <4>; /* AIN input */ - qcom,invert = <1>; /* Enable MPP */ - qcom,ain-route = <3>; /* AMUX 8 */ - qcom,master-en = <1>; - qcom,src-sel = <0>; /* Function constant */ - }; -}; - -&pm8110_bms { - status = "ok"; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8610-pm.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v3/msm8610-pm.dtsi deleted file mode 100644 index 938b2aa2a..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8610-pm.dtsi +++ /dev/null @@ -1,391 +0,0 @@ -/* Copyright (c) 2013 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. - */ - -/include/ "skeleton.dtsi" - -&soc { - qcom,spm@f9089000 { - compatible = "qcom,spm-v2"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xf9089000 0x1000>; - qcom,core-id = <0>; - qcom,saw2-ver-reg = <0xfd0>; - qcom,saw2-cfg = <0x01>; - qcom,saw2-spm-dly= <0x3c102800>; - qcom,saw2-spm-ctl = <0x0>; - qcom,saw2-spm-cmd-wfi = [60 03 60 0b 0f]; - qcom,saw2-spm-cmd-spc = [00 20 10 80 30 90 5b 60 03 60 3b 76 76 - 0b 94 5b 80 10 06 26 30 0f]; - qcom,saw2-spm-cmd-pc = [00 20 10 80 30 90 5b 60 07 60 3b 76 76 - 0b 94 5b 80 10 06 26 30 0f]; - }; - - qcom,spm@f9099000 { - compatible = "qcom,spm-v2"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xf9099000 0x1000>; - qcom,core-id = <1>; - qcom,saw2-ver-reg = <0xfd0>; - qcom,saw2-cfg = <0x01>; - qcom,saw2-spm-dly= <0x3c102800>; - qcom,saw2-spm-ctl = <0x0>; - qcom,saw2-spm-cmd-wfi = [60 03 60 0b 0f]; - qcom,saw2-spm-cmd-spc = [00 20 10 80 30 90 5b 60 03 60 3b 76 76 - 0b 94 5b 80 10 06 26 30 0f]; - qcom,saw2-spm-cmd-pc = [00 20 10 80 30 90 5b 60 07 60 3b 76 76 - 0b 94 5b 80 10 06 26 30 0f]; - }; - - qcom,spm@f90a9000 { - compatible = "qcom,spm-v2"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xf90a9000 0x1000>; - qcom,core-id = <2>; - qcom,saw2-ver-reg = <0xfd0>; - qcom,saw2-cfg = <0x01>; - qcom,saw2-spm-dly= <0x3c102800>; - qcom,saw2-spm-ctl = <0x0>; - qcom,saw2-spm-cmd-wfi = [60 03 60 0b 0f]; - qcom,saw2-spm-cmd-spc = [00 20 10 80 30 90 5b 60 03 60 3b 76 76 - 0b 94 5b 80 10 06 26 30 0f]; - qcom,saw2-spm-cmd-pc = [00 20 10 80 30 90 5b 60 07 60 3b 76 76 - 0b 94 5b 80 10 06 26 30 0f]; - }; - - qcom,spm@f90b9000 { - compatible = "qcom,spm-v2"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xf90b9000 0x1000>; - qcom,core-id = <3>; - qcom,saw2-ver-reg = <0xfd0>; - qcom,saw2-cfg = <0x01>; - qcom,saw2-spm-dly= <0x3c102800>; - qcom,saw2-spm-ctl = <0x0>; - qcom,saw2-spm-cmd-wfi = [60 03 60 0b 0f]; - qcom,saw2-spm-cmd-spc = [00 20 10 80 30 90 5b 60 03 60 3b 76 76 - 0b 94 5b 80 10 06 26 30 0f]; - qcom,saw2-spm-cmd-pc = [00 20 10 80 30 90 5b 60 07 60 3b 76 76 - 0b 94 5b 80 10 06 26 30 0f]; - }; - - qcom,spm@f9012000 { - compatible = "qcom,spm-v2"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xf9012000 0x1000>; - qcom,core-id = <0xffff>; /* L2/APCS SAW */ - qcom,saw2-ver-reg = <0xfd0>; - qcom,saw2-cfg = <0x14>; - qcom,saw2-spm-dly= <0x3c102800>; - qcom,saw2-spm-ctl = <0x0>; - qcom,saw2-pmic-data0 = <0x02030080>; - qcom,saw2-pmic-data1 = <0x00030000>; - qcom,vctl-timeout-us = <50>; - qcom,vctl-port = <0x0>; - qcom,phase-port = <0x1>; - qcom,pfm-port = <0x2>; - qcom,saw2-spm-cmd-ret = [00 03 00 7b 0f]; - qcom,saw2-spm-cmd-pc = [00 32 b0 10 e0 d0 6b c0 42 f0 - 11 07 01 b0 4e c0 d0 12 e0 6b 50 02 32 - 50 f0 7b 0f]; /*APCS_PMIC_OFF_L2RAM_OFF*/ - }; - - qcom,lpm-resources { - compatible = "qcom,lpm-resources"; - #address-cells = <1>; - #size-cells = <0>; - - qcom,lpm-resources@0 { - reg = <0x0>; - qcom,name = "vdd-dig"; - qcom,type = <0x61706d73>; /* "smpa" */ - qcom,id = <0x01>; - qcom,key = <0x6e726f63>; /* "corn" */ - qcom,init-value = <3>; /* SVS SOC */ - }; - - qcom,lpm-resources@1 { - reg = <0x1>; - qcom,name = "vdd-mem"; - qcom,type = <0x616F646C>; /* "ldoa" */ - qcom,id = <0x03>; - qcom,key = <0x6e726f63>; /* "corn" */ - qcom,init-value = <3>; /* SVS SOC */ - }; - - qcom,lpm-resources@2 { - reg = <0x2>; - qcom,name = "pxo"; - qcom,type = <0x306b6c63>; /* "clk0" */ - qcom,id = <0x00>; - qcom,key = <0x62616e45>; /* "Enab" */ - qcom,init-value = "xo_on"; - }; - - qcom,lpm-resources@3 { - reg = <0x3>; - qcom,name = "l2"; - qcom,local-resource-type; - qcom,init-value = "l2_cache_retention"; - }; - }; - - qcom,lpm-levels { - compatible = "qcom,lpm-levels"; - #address-cells = <1>; - #size-cells = <0>; - - qcom,lpm-level@0 { - reg = <0x0>; - qcom,mode = "wfi"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_active"; - qcom,vdd-mem-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <4>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <1>; - qcom,ss-power = <784>; - qcom,energy-overhead = <190000>; - qcom,time-overhead = <100>; - }; - - qcom,lpm-level@1 { - reg = <0x1>; - qcom,mode = "standalone_pc"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_active"; - qcom,vdd-mem-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <4>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <3000>; - qcom,ss-power = <725>; - qcom,energy-overhead = <99500>; - qcom,time-overhead = <3130>; - }; - - qcom,lpm-level@2 { - reg = <0x2>; - qcom,mode = "pc"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_retention"; - qcom,vdd-mem-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <4>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <8000>; - qcom,ss-power = <138>; - qcom,energy-overhead = <1208400>; - qcom,time-overhead = <9200>; - }; - - qcom,lpm-level@3 { - reg = <0x3>; - qcom,mode = "pc"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_pc"; - qcom,vdd-mem-upper-bound = <4>; /* NORMAL */ - qcom,vdd-mem-lower-bound = <3>; /* SVS SOC */ - qcom,vdd-dig-upper-bound = <4>; /* NORMAL */ - qcom,vdd-dig-lower-bound = <3>; /* SVS SOC */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <9000>; - qcom,ss-power = <110>; - qcom,energy-overhead = <1250300>; - qcom,time-overhead = <9500>; - }; - - qcom,lpm-level@4 { - reg = <0x4>; - qcom,mode = "pc"; - qcom,xo = "xo_off"; - qcom,l2 = "l2_cache_pc"; - qcom,vdd-mem-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <4>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,latency-us = <16300>; - qcom,ss-power = <63>; - qcom,energy-overhead = <2128000>; - qcom,time-overhead = <24200>; - }; - - qcom,lpm-level@5 { - reg = <0x5>; - qcom,mode = "pc"; - qcom,xo = "xo_off"; - qcom,l2 = "l2_cache_pc"; - qcom,vdd-mem-upper-bound = <4>; /* NORMAL */ - qcom,vdd-mem-lower-bound = <3>; /* SVS SOC */ - qcom,vdd-dig-upper-bound = <4>; /* NORMAL */ - qcom,vdd-dig-lower-bound = <3>; /* SVS SOC */ - qcom,latency-us = <24000>; - qcom,ss-power = <10>; - qcom,energy-overhead = <3202600>; - qcom,time-overhead = <33000>; - }; - - qcom,lpm-level@6 { - reg = <0x6>; - qcom,mode = "pc"; - qcom,xo = "xo_off"; - qcom,l2 = "l2_cache_pc"; - qcom,vdd-mem-upper-bound = <3>; /* SVS SOC */ - qcom,vdd-mem-lower-bound = <1>; /* RETENTION */ - qcom,vdd-dig-upper-bound = <3>; /* SVS SOC */ - qcom,vdd-dig-lower-bound = <1>; /* RETENTION */ - qcom,latency-us = <26000>; - qcom,ss-power = <2>; - qcom,energy-overhead = <4252000>; - qcom,time-overhead = <38000>; - }; - }; - - qcom,pm-boot { - compatible = "qcom,pm-boot"; - qcom,mode = "tz"; - }; - - qcom,mpm@fc4281d0 { - compatible = "qcom,mpm-v2"; - reg = <0xfc4281d0 0x1000>, /* MSM_RPM_MPM_BASE 4K */ - <0xf9011008 0x4>; /* MSM_APCS_GCC_BASE 4K */ - reg-names = "vmpm", "ipc"; - interrupts = <0 171 1>; - - qcom,ipc-bit-offset = <1>; - - qcom,gic-parent = <&intc>; - qcom,gic-map = <47 172>, /* usb2_hsic_async_wakeup_irq */ - <53 104>, /* mdss_irq */ - <62 222>, /* ee0_krait_hlos_spmi_periph_irq */ - <2 216>, /* tsens_upper_lower_int */ - <0xff 56>, /* q6_wdog_expired_irq */ - <0xff 57>, /* mss_to_apps_irq(0) */ - <0xff 58>, /* mss_to_apps_irq(1) */ - <0xff 59>, /* mss_to_apps_irq(2) */ - <0xff 60>, /* mss_to_apps_irq(3) */ - <0xff 61>, /* mss_a2_bam_irq */ - <0xff 173>, /* o_wcss_apss_smd_hi */ - <0xff 174>, /* o_wcss_apss_smd_med */ - <0xff 175>, /* o_wcss_apss_smd_low */ - <0xff 176>, /* o_wcss_apss_smsm_irq */ - <0xff 177>, /* o_wcss_apss_wlan_data_xfer_done */ - <0xff 178>, /* o_wcss_apss_wlan_rx_data_avail */ - <0xff 179>, /* o_wcss_apss_asic_intr - <0xff 181>, /* o_wcss_apss_wdog_bite_and_reset_rdy */ - <0xff 161>, /* lpass_irq_out_spare[4] / - <0xff 162>, /* lpass_irq_out_spare[5]*/ - <0xff 234>, /* lpass_irq_out_spare[6]*/ - <0xff 235>, /* lpass_irq_out_spare[7]*/ - <0xff 188>, /* lpass_irq_out_apcs(0) */ - <0xff 189>, /* lpass_irq_out_apcs(1) */ - <0xff 190>, /* lpass_irq_out_apcs(2) */ - <0xff 191>, /* lpass_irq_out_apcs(3) */ - <0xff 192>, /* lpass_irq_out_apcs(4) */ - <0xff 194>, /* lpass_irq_out_apcs(6) */ - <0xff 200>, /* rpm_ipc(4) */ - <0xff 201>, /* rpm_ipc(5) */ - <0xff 202>, /* rpm_ipc(6) */ - <0xff 203>, /* rpm_ipc(7) */ - <0xff 204>, /* rpm_ipc(24) */ - <0xff 205>, /* rpm_ipc(25) */ - <0xff 206>, /* rpm_ipc(26) */ - <0xff 207>, /* rpm_ipc(27) */ - <0xff 258>, /* rpm_ipc(28) */ - <0xff 259>, /* rpm_ipc(29) */ - <0xff 275>, /* rpm_ipc(30) */ - <0xff 276>, /* rpm_ipc(31) */ - <0xff 269>, /* rpm_wdog_expired_irq */ - <0xff 240>; /* summary_irq_kpss */ - - qcom,gpio-parent = <&msmgpio>; - qcom,gpio-map = <3 1>, - <4 4 >, - <5 5 >, - <6 9 >, - <7 13>, - <8 17>, - <9 21>, - <10 27>, - <11 29>, - <12 31>, - <13 33>, - <14 35>, - <15 37>, - <16 38>, - <17 39>, - <18 41>, - <19 46>, - <20 48>, - <21 49>, - <22 50>, - <23 51>, - <24 52>, - <25 54>, - <26 62>, - <27 63>, - <28 64>, - <29 65>, - <30 66>, - <31 67>, - <32 68>, - <33 69>, - <34 71>, - <35 72>, - <36 106>, - <37 107>, - <38 108>, - <39 109>, - <40 110>, - <54 111>, - <55 113>; - }; - - qcom,pm-8x60@fe805664 { - compatible = "qcom,pm-8x60"; - reg = <0xfe805664 0x40>; - qcom,pc-mode = "tz_l2_int"; - qcom,use-sync-timer; - qcom,pc-resets-timer; - }; - - qcom,rpm-log@fc19dc00 { - compatible = "qcom,rpm-log"; - reg = <0xfc19dc00 0x4000>; - qcom,rpm-addr-phys = <0xfc000000>; - qcom,offset-version = <4>; - qcom,offset-page-buffer-addr = <36>; - qcom,offset-log-len = <40>; - qcom,offset-log-len-mask = <44>; - qcom,offset-page-indices = <56>; - }; - - qcom,rpm-stats@fc19dba0 { - compatible = "qcom,rpm-stats"; - reg = <0xfc19dba0 0x1000>; - reg-names = "phys_addr_base"; - qcom,sleep-stats-version = <2>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8610-qrd.dts b/kernel/arch/arm/boot/dts/m7350-un-v3/msm8610-qrd.dts deleted file mode 100644 index 5f9365a2a..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8610-qrd.dts +++ /dev/null @@ -1,267 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; - -/include/ "msm8610.dtsi" -/include/ "dsi-v2-panel-hx8379a-wvga-video.dtsi" - -/ { - model = "Qualcomm MSM 8610 QRD"; - compatible = "qcom,msm8610-qrd", "qcom,msm8610", "qcom,qrd"; - qcom,msm-id = <147 11 0>, <165 11 0>, <161 11 0>, <162 11 0>, - <163 11 0>, <164 11 0>, <166 11 0>; -}; - -&soc { - i2c@f9923000{ - focaltech@38{ - compatible = "focaltech,5x06"; - reg = <0x38>; - interrupt-parent = <&msmgpio>; - interrupts = <1 0x2>; - vdd-supply = <&pm8110_l19>; - vcc_i2c-supply = <&pm8110_l14>; - focaltech,family-id = <0x06>; - focaltech,reset-gpio = <&msmgpio 0 0x00>; - focaltech,irq-gpio = <&msmgpio 1 0x00>; - focaltech,display-coords = <0 0 480 800>; - focaltech,panel-coords = <0 0 480 800>; - focaltech,button-map= <139 102 158>; - focaltech,no-force-update; - focaltech,i2c-pull-up; - }; - }; - - gen-vkeys { - compatible = "qcom,gen-vkeys"; - label = "ft5x06_ts"; - qcom,disp-maxx = <480>; - qcom,disp-maxy = <800>; - qcom,panel-maxx = <481>; - qcom,panel-maxy = <940>; - qcom,key-codes = <139 0 102 158 0 0 0>; - qcom,y-offset = <0>; - }; - serial@f991e000 { - status = "ok"; - }; - - gpio_keys { - compatible = "gpio-keys"; - input-name = "gpio-keys"; - - camera_snapshot { - label = "camera_snapshot"; - gpios = <&msmgpio 73 0x1>; - linux,input-type = <1>; - linux,code = <0x2fe>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - - camera_focus { - label = "camera_focus"; - gpios = <&msmgpio 74 0x1>; - linux,input-type = <1>; - linux,code = <0x210>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - - vol_up { - label = "volume_up"; - gpios = <&msmgpio 72 0x1>; - linux,input-type = <1>; - linux,code = <115>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - }; - - i2c@f9927000 { - msm8x10_wcd_codec@0d{ - compatible = "qcom,msm8x10-wcd-i2c"; - reg = <0x0d>; - cdc-vdda-cp-supply = <&pm8110_s4>; - qcom,cdc-vdda-cp-voltage = <2150000 2150000>; - qcom,cdc-vdda-cp-current = <650000>; - - cdc-vdda-h-supply = <&pm8110_l6>; - qcom,cdc-vdda-h-voltage = <1800000 1800000>; - qcom,cdc-vdda-h-current = <250000>; - - cdc-vdd-px-supply = <&pm8110_l6>; - qcom,cdc-vdd-px-voltage = <1800000 1800000>; - qcom,cdc-vdd-px-current = <10000>; - - cdc-vdd-1p2v-supply = <&pm8110_l4>; - qcom,cdc-vdd-1p2v-voltage = <1200000 1200000>; - qcom,cdc-vdd-1p2v-current = <5000>; - - cdc-vdd-mic-bias-supply = <&pm8110_l20>; - qcom,cdc-vdd-mic-bias-voltage = <3075000 3075000>; - qcom,cdc-vdd-mic-bias-current = <25000>; - - qcom,cdc-micbias-cfilt-sel = <0x0>; - qcom,cdc-micbias-cfilt-mv = <1800000>; - qcom,cdc-mclk-clk-rate = <12288000>; - }; - - msm8x10_wcd_codec@77{ - compatible = "qcom,msm8x10-wcd-i2c"; - reg = <0x77>; - }; - - msm8x10_wcd_codec@66{ - compatible = "qcom,msm8x10-wcd-i2c"; - reg = <0x66>; - }; - - msm8x10_wcd_codec@55{ - compatible = "qcom,msm8x10-wcd-i2c"; - reg = <0x55>; - }; - }; - - sound { - qcom,audio-routing = - "RX_BIAS", "MCLK", - "INT_LDO_H", "MCLK", - "MIC BIAS Internal1", "Handset Mic", - "MIC BIAS Internal2", "Headset Mic", - "AMIC1", "MIC BIAS Internal1", - "AMIC2", "MIC BIAS Internal2"; - }; -}; - -&spmi_bus { - qcom,pm8110@0 { - qcom,leds@a100 { - status = "okay"; - qcom,led_mpp_2 { - label = "mpp"; - linux,name = "wled-homerow"; - linux-default-trigger = "hr-trigger"; - qcom,default-state = "off"; - qcom,max-current = <40>; - qcom,id = <6>; - qcom,source-sel = <1>; - qcom,mode-ctrl = <0x61>; - }; - }; - - qcom,leds@a200 { - status = "okay"; - qcom,led_mpp_3 { - label = "mpp"; - linux,name = "wled-backlight"; - linux,default-trigger = "bkl-trigger"; - qcom,default-state = "on"; - qcom,max-current = <40>; - qcom,id = <6>; - qcom,source-sel = <1>; - qcom,mode-ctrl = <0x10>; - }; - }; - }; -}; - -&spmi_bus { - qcom,pm8110@1 { - qcom,vibrator@c000 { - status = "okay"; - qcom,vib-timeout-ms = <15000>; - qcom,vib-vtg-level-mV = <3100>; - }; - }; -}; - -&sdhc_1 { - vdd-supply = <&pm8110_l17>; - qcom,vdd-always-on; - qcom,vdd-lpm-sup; - qcom,vdd-voltage-level = <2900000 2900000>; - qcom,vdd-current-level = <200 400000>; - - vdd-io-supply = <&pm8110_l6>; - qcom,vdd-io-always-on; - qcom,vdd-io-voltage-level = <1800000 1800000>; - qcom,vdd-io-current-level = <200 60000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - qcom,bus-speed-mode = "HS200_1p8v", "DDR_1p8v"; - qcom,nonremovable; - - status = "ok"; -}; - -&sdhc_2 { - vdd-supply = <&pm8110_l18>; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <15000 400000>; - - vdd-io-supply = <&pm8110_l21>; - qcom,vdd-io-always-on; - qcom,vdd-io-lpm-sup; - qcom,vdd-io-voltage-level = <1800000 2950000>; - qcom,vdd-io-current-level = <200 50000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - - #address-cells = <0>; - interrupt-parent = <&sdhc_2>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 125 0 - 1 &intc 0 221 0 - 2 &msmgpio 42 0x3>; - interrupt-names = "hc_irq", "pwr_irq", "status_irq"; - cd-gpios = <&msmgpio 42 0x1>; - - status = "ok"; -}; - -&pm8110_chg { - status = "ok"; - - qcom,chgr@1000 { - status = "ok"; - }; - - qcom,buck@1100 { - status = "ok"; - }; - - qcom,bat-if@1200 { - status = "ok"; - }; - - qcom,usb-chgpth@1300 { - status = "ok"; - }; - - qcom,chg-misc@1600 { - status = "ok"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8610-regulator.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v3/msm8610-regulator.dtsi deleted file mode 100644 index 09520c537..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8610-regulator.dtsi +++ /dev/null @@ -1,358 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/* SPM controlled regulators */ - -&spmi_bus { - qcom,pm8110@1 { - pm8110_s2: spm-regulator@1700 { - compatible = "qcom,spm-regulator"; - regulator-name = "8110_s2"; - reg = <0x1700 0x100>; - regulator-min-microvolt = <900000>; - regulator-max-microvolt = <1350000>; - }; - }; -}; - -/* CPR controlled regulator */ - -&soc { - apc_vreg_corner: regulator@f9018000 { - status = "okay"; - compatible = "qcom,cpr-regulator"; - reg = <0xf9018000 0x1000>, <0xf9011064 4>, <0xfc4b80b0 8>, - <0xfc4bc450 16>; - reg-names = "rbcpr", "rbcpr_clk", "pvs_efuse", "cpr_efuse"; - interrupts = <0 15 0>; - regulator-name = "apc_corner"; - regulator-min-microvolt = <1>; - regulator-max-microvolt = <3>; - qcom,num-efuse-bits = <5>; - qcom,pvs-bin-process = <0 0 0 0 0 1 1 1 1 1 2 2 2 2 2 2 - 2 2 2 2 3 3 3 3 3 3 3 3 0 0 0 0>; - qcom,pvs-corner-ceiling-slow = <1150000 1150000 1275000>; - qcom,pvs-corner-ceiling-nom = <975000 1075000 1200000>; - qcom,pvs-corner-ceiling-fast = <900000 1000000 1140000>; - vdd-apc-supply = <&pm8110_s2>; - - vdd-mx-supply = <&pm8110_l3_ao>; - qcom,vdd-mx-vmax = <1350000>; - qcom,vdd-mx-vmin-method = <1>; - - qcom,cpr-ref-clk = <19200>; - qcom,cpr-timer-delay = <5000>; - qcom,cpr-timer-cons-up = <1>; - qcom,cpr-timer-cons-down = <2>; - qcom,cpr-irq-line = <0>; - qcom,cpr-step-quotient = <15>; - qcom,cpr-up-threshold = <1>; - qcom,cpr-down-threshold = <2>; - qcom,cpr-idle-clocks = <5>; - qcom,cpr-gcnt-time = <1>; - qcom,vdd-apc-step-up-limit = <1>; - qcom,vdd-apc-step-down-limit = <1>; - qcom,cpr-apc-volt-step = <5000>; - }; -}; - -/* RPM controlled regulators: */ - -&rpm_bus { - - rpm-regulator-smpa1 { - status = "okay"; - pm8110_s1: regulator-s1 { - status = "okay"; - regulator-min-microvolt = <500000>; - regulator-max-microvolt = <1275000>; - }; - - pm8110_s1_corner: regulator-s1-corner { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_s1_corner"; - qcom,set = <3>; - regulator-min-microvolt = <1>; - regulator-max-microvolt = <7>; - qcom,use-voltage-corner; - qcom,consumer-supplies = "vdd_dig", ""; - }; - - pm8110_s1_corner_ao: regulator-s1-corner-ao { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_s1_corner_ao"; - qcom,set = <1>; - regulator-min-microvolt = <1>; - regulator-max-microvolt = <7>; - qcom,use-voltage-corner; - qcom,consumer-supplies = "vdd_sr2_dig", ""; - }; - }; - - rpm-regulator-smpa3 { - status = "okay"; - pm8110_s3: regulator-s3 { - regulator-min-microvolt = <1200000>; - regulator-max-microvolt = <1350000>; - qcom,init-voltage = <1200000>; - status = "okay"; - }; - }; - - rpm-regulator-smpa4 { - status = "okay"; - pm8110_s4: regulator-s4 { - regulator-min-microvolt = <2150000>; - regulator-max-microvolt = <2150000>; - qcom,init-voltage = <2150000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa1 { - status = "okay"; - pm8110_l1: regulator-l1 { - regulator-min-microvolt = <1225000>; - regulator-max-microvolt = <1225000>; - qcom,init-voltage = <1225000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa2 { - status = "okay"; - pm8110_l2: regulator-l2 { - regulator-min-microvolt = <1200000>; - regulator-max-microvolt = <1200000>; - qcom,init-voltage = <1200000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa3 { - status = "okay"; - pm8110_l3: regulator-l3 { - regulator-min-microvolt = <750000>; - regulator-max-microvolt = <1275000>; - status = "okay"; - }; - - pm8110_l3_ao: regulator-l3-ao { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l3_ao"; - qcom,set = <1>; - regulator-min-microvolt = <750000>; - regulator-max-microvolt = <1275000>; - status = "okay"; - }; - - pm8110_l3_so: regulator-l3-so { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l3_so"; - qcom,set = <2>; - regulator-min-microvolt = <750000>; - regulator-max-microvolt = <1275000>; - qcom,init-voltage = <750000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa4 { - status = "okay"; - pm8110_l4: regulator-l4 { - regulator-min-microvolt = <1200000>; - regulator-max-microvolt = <1200000>; - qcom,init-voltage = <1200000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa5 { - status = "okay"; - pm8110_l5: regulator-l5 { - regulator-min-microvolt = <1300000>; - regulator-max-microvolt = <1300000>; - qcom,init-voltage = <1300000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa6 { - status = "okay"; - pm8110_l6: regulator-l6 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa7 { - status = "okay"; - pm8110_l7: regulator-l7 { - regulator-min-microvolt = <2050000>; - regulator-max-microvolt = <2050000>; - qcom,init-voltage = <2050000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa8 { - status = "okay"; - pm8110_l8: regulator-l8 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa9 { - status = "okay"; - pm8110_l9: regulator-l9 { - regulator-min-microvolt = <2050000>; - regulator-max-microvolt = <2050000>; - qcom,init-voltage = <2050000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa10 { - status = "okay"; - pm8110_l10: regulator-l10 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - status = "okay"; - }; - - pm8110_l10_ao: regulator-l10-ao { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l10_ao"; - qcom,set = <1>; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - qcom,consumer-supplies = "vdd_sr2_pll", ""; - }; - - pm8110_l10_so: regulator-l10-so { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l10_so"; - qcom,set = <2>; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - qcom,init-enable = <0>; - }; - }; - - rpm-regulator-ldoa12 { - status = "okay"; - pm8110_l12: regulator-l12 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <3300000>; - qcom,init-voltage = <3300000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa14 { - status = "okay"; - pm8110_l14: regulator-l14 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa15 { - status = "okay"; - pm8110_l15: regulator-l15 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <3300000>; - qcom,init-voltage = <3300000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa16 { - status = "okay"; - pm8110_l16: regulator-l16 { - regulator-min-microvolt = <3000000>; - regulator-max-microvolt = <3000000>; - qcom,init-voltage = <3000000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa17 { - status = "okay"; - pm8110_l17: regulator-l17 { - regulator-min-microvolt = <2900000>; - regulator-max-microvolt = <2900000>; - qcom,init-voltage = <2900000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa18 { - status = "okay"; - pm8110_l18: regulator-l18 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <2950000>; - qcom,init-voltage = <2950000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa19 { - status = "okay"; - pm8110_l19: regulator-l19 { - regulator-min-microvolt = <2850000>; - regulator-max-microvolt = <2850000>; - qcom,init-voltage = <2850000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa20 { - status = "okay"; - pm8110_l20: regulator-l20 { - regulator-min-microvolt = <3075000>; - regulator-max-microvolt = <3075000>; - qcom,init-voltage = <3075000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa21 { - status = "okay"; - pm8110_l21: regulator-l21 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <2950000>; - qcom,init-voltage = <2950000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa22 { - status = "okay"; - pm8110_l22: regulator-l22 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <3300000>; - qcom,init-voltage = <3300000>; - status = "okay"; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8610-rumi.dts b/kernel/arch/arm/boot/dts/m7350-un-v3/msm8610-rumi.dts deleted file mode 100644 index 7f0648541..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8610-rumi.dts +++ /dev/null @@ -1,31 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/dts-v1/; - -/include/ "msm8610.dtsi" - -/ { - model = "Qualcomm MSM 8610 Rumi"; - compatible = "qcom,msm8610-rumi", "qcom,msm8610", "qcom,rumi"; - qcom,msm-id = <147 15 0>; -}; - -&soc { - serial@f991f000 { - status = "ok"; - }; -}; - -&gfx_iommu { - status = "disabled"; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8610-sim.dts b/kernel/arch/arm/boot/dts/m7350-un-v3/msm8610-sim.dts deleted file mode 100644 index 7c57fe667..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8610-sim.dts +++ /dev/null @@ -1,72 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/dts-v1/; - -/include/ "msm8610.dtsi" - -/ { - model = "Qualcomm MSM 8610 Simulator"; - compatible = "qcom,msm8610-sim", "qcom,msm8610", "qcom,sim"; - qcom,msm-id = <147 16 0>; -}; - -&soc { - serial@f991f000 { - status = "ok"; - }; -}; - -&i2c_cdc { - msm8x10_wcd_codec@0d{ - compatible = "qcom,msm8x10-wcd-i2c"; - reg = <0x0d>; - cdc-vdda-cp-supply = <&pm8110_s4>; - qcom,cdc-vdda-cp-voltage = <2150000 2150000>; - qcom,cdc-vdda-cp-current = <650000>; - - cdc-vdda-h-supply = <&pm8110_l6>; - qcom,cdc-vdda-h-voltage = <1800000 1800000>; - qcom,cdc-vdda-h-current = <250000>; - - cdc-vdd-px-supply = <&pm8110_l6>; - qcom,cdc-vdd-px-voltage = <1800000 1800000>; - qcom,cdc-vdd-px-current = <10000>; - - cdc-vdd-1p2v-supply = <&pm8110_l4>; - qcom,cdc-vdd-1p2v-voltage = <1200000 1200000>; - qcom,cdc-vdd-1p2v-current = <5000>; - - cdc-vdd-mic-bias-supply = <&pm8110_l20>; - qcom,cdc-vdd-mic-bias-voltage = <3075000 3075000>; - qcom,cdc-vdd-mic-bias-current = <25000>; - - qcom,cdc-micbias-cfilt-sel = <0x0>; - qcom,cdc-micbias-cfilt-mv = <1800000>; - qcom,cdc-mclk-clk-rate = <12288000>; - }; - - msm8x10_wcd_codec@77{ - compatible = "qcom,msm8x10-wcd-i2c"; - reg = <0x77>; - }; - - msm8x10_wcd_codec@66{ - compatible = "qcom,msm8x10-wcd-i2c"; - reg = <0x66>; - }; - - msm8x10_wcd_codec@55{ - compatible = "qcom,msm8x10-wcd-i2c"; - reg = <0x55>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8610-smp2p.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v3/msm8610-smp2p.dtsi deleted file mode 100644 index 3921a686a..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8610-smp2p.dtsi +++ /dev/null @@ -1,225 +0,0 @@ -/* Copyright (c) 2013, 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. - */ -&soc { - qcom,smp2p-modem { - compatible = "qcom,smp2p"; - reg = <0xf9011008 0x4>; - qcom,remote-pid = <1>; - qcom,irq-bitmask = <0x4000>; - interrupts = <0 27 1>; - }; - - qcom,smp2p-adsp { - compatible = "qcom,smp2p"; - reg = <0xf9011008 0x4>; - qcom,remote-pid = <2>; - qcom,irq-bitmask = <0x400>; - interrupts = <0 158 1>; - }; - - qcom,smp2p-wcnss { - compatible = "qcom,smp2p"; - reg = <0xf9011008 0x4>; - qcom,remote-pid = <4>; - qcom,irq-bitmask = <0x40000>; - interrupts = <0 143 1>; - }; - - smp2pgpio_smp2p_7_in: qcom,smp2pgpio-smp2p-7-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <7>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_7_in { - compatible = "qcom,smp2pgpio_test_smp2p_7_in"; - gpios = <&smp2pgpio_smp2p_7_in 0 0>; - }; - - smp2pgpio_smp2p_7_out: qcom,smp2pgpio-smp2p-7-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <7>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_7_out { - compatible = "qcom,smp2pgpio_test_smp2p_7_out"; - gpios = <&smp2pgpio_smp2p_7_out 0 0>; - }; - - smp2pgpio_smp2p_1_in: qcom,smp2pgpio-smp2p-1-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <1>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_1_in { - compatible = "qcom,smp2pgpio_test_smp2p_1_in"; - gpios = <&smp2pgpio_smp2p_1_in 0 0>; - }; - - smp2pgpio_smp2p_1_out: qcom,smp2pgpio-smp2p-1-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <1>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_1_out { - compatible = "qcom,smp2pgpio_test_smp2p_1_out"; - gpios = <&smp2pgpio_smp2p_1_out 0 0>; - }; - - smp2pgpio_ssr_smp2p_1_in: qcom,smp2pgpio-ssr-smp2p-1-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "slave-kernel"; - qcom,remote-pid = <1>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - smp2pgpio_ssr_smp2p_1_out: qcom,smp2pgpio-ssr-smp2p-1-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "master-kernel"; - qcom,remote-pid = <1>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - smp2pgpio_smp2p_2_in: qcom,smp2pgpio-smp2p-2-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <2>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_2_in { - compatible = "qcom,smp2pgpio_test_smp2p_2_in"; - gpios = <&smp2pgpio_smp2p_2_in 0 0>; - }; - - smp2pgpio_smp2p_2_out: qcom,smp2pgpio-smp2p-2-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <2>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_2_out { - compatible = "qcom,smp2pgpio_test_smp2p_2_out"; - gpios = <&smp2pgpio_smp2p_2_out 0 0>; - }; - - /* SMP2P SSR Driver for inbound entry from lpass. */ - smp2pgpio_ssr_smp2p_2_in: qcom,smp2pgpio-ssr-smp2p-2-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "slave-kernel"; - qcom,remote-pid = <2>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - /* SMP2P SSR Driver for outbound entry to lpass */ - smp2pgpio_ssr_smp2p_2_out: qcom,smp2pgpio-ssr-smp2p-2-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "master-kernel"; - qcom,remote-pid = <2>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - smp2pgpio_smp2p_4_in: qcom,smp2pgpio-smp2p-4-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <4>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_4_in { - compatible = "qcom,smp2pgpio_test_smp2p_4_in"; - gpios = <&smp2pgpio_smp2p_4_in 0 0>; - }; - - smp2pgpio_smp2p_4_out: qcom,smp2pgpio-smp2p-4-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <4>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - smp2pgpio_ssr_smp2p_4_in: qcom,smp2pgpio-ssr-smp2p-4-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "slave-kernel"; - qcom,remote-pid = <4>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - smp2pgpio_ssr_smp2p_4_out: qcom,smp2pgpio-ssr-smp2p-4-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "master-kernel"; - qcom,remote-pid = <4>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_4_out { - compatible = "qcom,smp2pgpio_test_smp2p_4_out"; - gpios = <&smp2pgpio_smp2p_4_out 0 0>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8610.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v3/msm8610.dtsi deleted file mode 100644 index a62df58d9..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8610.dtsi +++ /dev/null @@ -1,1075 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/include/ "skeleton.dtsi" - -/ { - model = "Qualcomm MSM 8610"; - compatible = "qcom,msm8610"; - interrupt-parent = <&intc>; - - memory { - qsecom_mem: qsecom_region { - linux,contiguous-region; - reg = <0 0x100000>; - label = "qsecom_mem"; - }; - }; - - aliases { - sdhc1 = &sdhc_1; /* SDC1 eMMC slot */ - sdhc2 = &sdhc_2; /* SDC2 SD card slot */ - spi4 = &spi_4; - }; - - soc: soc { }; -}; - -/include/ "msm8610-camera.dtsi" -/include/ "msm-iommu-v0.dtsi" -/include/ "msm8610-ion.dtsi" -/include/ "msm8610-gpu.dtsi" -/include/ "msm-gdsc.dtsi" -/include/ "msm8610-coresight.dtsi" -/include/ "msm8610-pm.dtsi" -/include/ "msm8610-smp2p.dtsi" -/include/ "msm8610-bus.dtsi" -/include/ "msm8610-mdss.dtsi" - -&soc { - #address-cells = <1>; - #size-cells = <1>; - ranges; - - intc: interrupt-controller@f9000000 { - compatible = "qcom,msm-qgic2"; - interrupt-controller; - #interrupt-cells = <3>; - reg = <0xf9000000 0x1000>, - <0xf9002000 0x1000>; - }; - - msmgpio: gpio@fd510000 { - compatible = "qcom,msm-gpio"; - interrupt-controller; - #interrupt-cells = <2>; - reg = <0xfd510000 0x4000>; - gpio-controller; - #gpio-cells = <2>; - ngpio = <102>; - interrupts = <0 208 0>; - qcom,direct-connect-irqs = <8>; - }; - - qcom,mpm2-sleep-counter@fc4a3000 { - compatible = "qcom,mpm2-sleep-counter"; - reg = <0xfc4a3000 0x1000>; - clock-frequency = <32768>; - }; - - timer { - compatible = "arm,armv7-timer"; - interrupts = <1 2 0 1 3 0>; - clock-frequency = <19200000>; - }; - - 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 8 0x4>, - <0 7 0x4>; - reg = <0xf9021000 0x1000>, - <0xf9022000 0x1000>; - }; - - frame@f9023000 { - frame-number = <1>; - interrupts = <0 9 0x4>; - reg = <0xf9023000 0x1000>; - status = "disabled"; - }; - - frame@f9024000 { - frame-number = <2>; - interrupts = <0 10 0x4>; - reg = <0xf9024000 0x1000>; - status = "disabled"; - }; - - frame@f9025000 { - frame-number = <3>; - interrupts = <0 11 0x4>; - reg = <0xf9025000 0x1000>; - status = "disabled"; - }; - - frame@f9026000 { - frame-number = <4>; - interrupts = <0 12 0x4>; - reg = <0xf9026000 0x1000>; - status = "disabled"; - }; - - frame@f9027000 { - frame-number = <5>; - interrupts = <0 13 0x4>; - reg = <0xf9027000 0x1000>; - status = "disabled"; - }; - - frame@f9028000 { - frame-number = <6>; - interrupts = <0 14 0x4>; - reg = <0xf9028000 0x1000>; - status = "disabled"; - }; - }; - - qcom,msm-adsp-loader { - compatible = "qcom,adsp-loader"; - qcom,adsp-state = <0>; - }; - - qcom,msm-audio-ion { - compatible = "qcom,msm-audio-ion"; - qcom,smmu-enabled; - }; - - qcom,msm-imem@fe805000 { - compatible = "qcom,msm-imem"; - reg = <0xfe805000 0x1000>; /* Address and size of IMEM */ - }; - - serial@f991f000 { - compatible = "qcom,msm-lsuart-v14"; - reg = <0xf991f000 0x1000>; - interrupts = <0 109 0>; - status = "disabled"; - }; - - serial@f991e000 { - compatible = "qcom,msm-lsuart-v14"; - reg = <0xf991e000 0x1000>; - interrupts = <0 108 0>; - status = "disabled"; - }; - - qcom,vidc@fdc00000 { - compatible = "qcom,msm-vidc"; - qcom,vidc-ns-map = <0x40000000 0x40000000>; - qcom,iommu-groups = <&q6_domain_ns>; - qcom,iommu-group-buffer-types = <0xfff>; - qcom,buffer-type-tz-usage-map = <0x1 0x1>, - <0x1fe 0x2>; - qcom,hfi = "q6"; - qcom,max-hw-load = <108000>; /* 720p @ 30 * 1 */ - }; - - qcom,usbbam@f9a44000 { - compatible = "qcom,usb-bam-msm"; - reg = <0xf9a44000 0x11000>; - reg-names = "hsusb"; - interrupts = <0 135 0>; - interrupt-names = "hsusb"; - qcom,usb-bam-num-pipes = <16>; - qcom,usb-bam-fifo-baseaddr = <0xfe803000>; - qcom,ignore-core-reset-ack; - qcom,disable-clk-gating; - - qcom,pipe0 { - label = "hsusb-qdss-in-0"; - qcom,usb-bam-mem-type = <3>; - qcom,bam-type = <1>; - 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 = <0xf9a44000>; - qcom,dst-bam-pipe-index = <2>; - qcom,data-fifo-offset = <0x0>; - qcom,data-fifo-size = <0x600>; - qcom,descriptor-fifo-offset = <0x600>; - qcom,descriptor-fifo-size = <0x200>; - }; - }; - - usb@f9a55000 { - compatible = "qcom,hsusb-otg"; - reg = <0xf9a55000 0x400>; - interrupts = <0 134 0>, <0 140 0>; - interrupt-names = "core_irq", "async_irq"; - HSUSB_VDDCX-supply = <&pm8110_s1>; - HSUSB_1p8-supply = <&pm8110_l10>; - HSUSB_3p3-supply = <&pm8110_l20>; - - qcom,hsusb-otg-phy-type = <2>; - qcom,hsusb-otg-mode = <1>; - qcom,hsusb-otg-otg-control = <2>; - qcom,hsusb-otg-disable-reset; - qcom,dp-manual-pullup; - - qcom,msm-bus,name = "usb2"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,active-only = <0>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <87 512 0 0>, - <87 512 60000 960000>; - }; - - android_usb@fe8050c8 { - compatible = "qcom,android-usb"; - reg = <0xfe8050c8 0xc8>; - }; - - sdcc1: qcom,sdcc@f9824000 { - cell-index = <1>; /* SDC1 eMMC slot */ - compatible = "qcom,msm-sdcc"; - reg = <0xf9824000 0x800>, - <0xf9824800 0x100>, - <0xf9804000 0x7000>; - reg-names = "core_mem", "dml_mem", "bam_mem"; - interrupts = <0 123 0>, <0 137 0>; - interrupt-names = "core_irq", "bam_irq"; - - vdd-supply = <&pm8110_l17>; - qcom,vdd-always-on; - qcom,vdd-lpm-sup; - qcom,vdd-voltage-level = <2900000 2900000>; - qcom,vdd-current-level = <9000 400000>; - - vdd-io-supply = <&pm8110_l6>; - qcom,vdd-io-always-on; - qcom,vdd-io-lpm-sup; - qcom,vdd-io-voltage-level = <1800000 1800000>; - qcom,vdd-io-current-level = <9000 60000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - qcom,sup-voltages = <2900 2900>; - qcom,bus-width = <8>; - qcom,nonremovable; - qcom,bus-speed-mode = "HS200_1p8v", "DDR_1p8v"; - - status = "disabled"; - }; - - sdcc2: qcom,sdcc@f98a4000 { - cell-index = <2>; /* SDC2 SD card slot */ - compatible = "qcom,msm-sdcc"; - reg = <0xf98a4000 0x800>, - <0xf98a4800 0x100>, - <0xf9884000 0x7000>; - reg-names = "core_mem", "dml_mem", "bam_mem"; - interrupts = <0 125 0>, <0 220 0>; - interrupt-names = "core_irq", "bam_irq"; - - vdd-supply = <&pm8110_l18>; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <9000 400000>; - - vdd-io-supply = <&pm8110_l21>; - qcom,vdd-io-voltage-level = <1800000 2950000>; - qcom,vdd-io-current-level = <9000 50000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - qcom,sup-voltages = <2950 2950>; - qcom,bus-width = <4>; - qcom,xpc; - qcom,bus-speed-mode = "SDR12", "SDR25", "SDR50", "DDR50", "SDR104"; - qcom,current-limit = <800>; - - status = "disabled"; - }; - - sdhc_1: sdhci@f9824900 { - compatible = "qcom,sdhci-msm"; - reg = <0xf9824900 0x11c>, <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>; - 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"; - - qcom,bus-width = <4>; - status = "disabled"; - }; - - qcom,sps { - compatible = "qcom,msm_sps"; - qcom,device-type = <3>; - }; - - qcom,smem@d900000 { - compatible = "qcom,smem"; - reg = <0xd900000 0x100000>, - <0xf9011000 0x1000>, - <0xfc428000 0x4000>; - reg-names = "smem", "irq-reg-base", "aux-mem1"; - - qcom,smd-modem { - compatible = "qcom,smd"; - qcom,smd-edge = <0>; - qcom,smd-irq-offset = <0x8>; - qcom,smd-irq-bitmask = <0x1000>; - qcom,pil-string = "modem"; - interrupts = <0 25 1>; - }; - - qcom,smsm-modem { - compatible = "qcom,smsm"; - qcom,smsm-edge = <0>; - qcom,smsm-irq-offset = <0x8>; - qcom,smsm-irq-bitmask = <0x2000>; - interrupts = <0 26 1>; - }; - - qcom,smd-adsp { - compatible = "qcom,smd"; - qcom,smd-edge = <1>; - qcom,smd-irq-offset = <0x8>; - qcom,smd-irq-bitmask = <0x100>; - qcom,pil-string = "adsp"; - interrupts = <0 156 1>; - }; - - qcom,smsm-adsp { - compatible = "qcom,smsm"; - qcom,smsm-edge = <1>; - qcom,smsm-irq-offset = <0x8>; - qcom,smsm-irq-bitmask = <0x200>; - interrupts = <0 157 1>; - }; - - qcom,smd-wcnss { - compatible = "qcom,smd"; - qcom,smd-edge = <6>; - qcom,smd-irq-offset = <0x8>; - qcom,smd-irq-bitmask = <0x20000>; - qcom,pil-string = "wcnss"; - interrupts = <0 142 1>; - }; - - qcom,smsm-wcnss { - compatible = "qcom,smsm"; - qcom,smsm-edge = <6>; - qcom,smsm-irq-offset = <0x8>; - qcom,smsm-irq-bitmask = <0x80000>; - interrupts = <0 144 1>; - }; - - qcom,smd-rpm { - compatible = "qcom,smd"; - qcom,smd-edge = <15>; - qcom,smd-irq-offset = <0x8>; - qcom,smd-irq-bitmask = <0x1>; - interrupts = <0 168 1>; - qcom,irq-no-suspend; - }; - }; - - rpm_bus: qcom,rpm-smd { - compatible = "qcom,rpm-smd"; - rpm-channel-name = "rpm_requests"; - rpm-channel-type = <15>; /* SMD_APPS_RPM */ - rpm-standalone; - }; - - qcom,bcl { - compatible = "qcom,bcl"; - }; - - qcom,msm-mem-hole { - compatible = "qcom,msm-mem-hole"; - qcom,memblock-remove = <0x07B00000 0x6400000>; /* Address and Size of Hole */ - }; - - qcom,wdt@f9017000 { - compatible = "qcom,msm-watchdog"; - reg = <0xf9017000 0x1000>; - interrupts = <0 3 0>, <0 4 0>; - qcom,bark-time = <11000>; - qcom,pet-time = <10000>; - qcom,ipi-ping; - }; - - qcom,acpuclk@f9011050 { - compatible = "qcom,acpuclk-a7"; - reg = <0xf9011050 0x8>; - reg-names = "rcg_base"; - a7_cpu-supply = <&apc_vreg_corner>; - }; - - spmi_bus: qcom,spmi@fc4c0000 { - cell-index = <0>; - 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-ee = <0>; - qcom,pmic-arb-channel = <0>; - }; - - i2c@f9923000 { /* BLSP-1 QUP-1 */ - cell-index = <1>; - compatible = "qcom,i2c-qup"; - #address-cells = <1>; - #size-cells = <0>; - reg-names = "qup_phys_addr"; - reg = <0xf9923000 0x1000>; - interrupt-names = "qup_err_intr"; - interrupts = <0 95 0>; - qcom,i2c-bus-freq = <100000>; - qcom,i2c-src-freq = <19200000>; - qcom,sda-gpio = <&msmgpio 2 0>; - qcom,scl-gpio = <&msmgpio 3 0>; - }; - - i2c_cdc: i2c@f9927000 { /* BLSP1 QUP5 */ - cell-index = <5>; - compatible = "qcom,i2c-qup"; - #address-cells = <1>; - #size-cells = <0>; - reg-names = "qup_phys_addr"; - reg = <0xf9927000 0x1000>; - interrupt-names = "qup_err_intr"; - interrupts = <0 99 0>; - qcom,i2c-bus-freq = <100000>; - }; - - i2c: i2c@f9928000 { /* BLSP1 QUP6 */ - cell-index = <6>; - compatible = "qcom,i2c-qup"; - #address-cells = <1>; - #size-cells = <0>; - reg-names = "qup_phys_addr"; - reg = <0xf9928000 0x1000>; - interrupt-names = "qup_err_intr"; - interrupts = <0 100 0>; - qcom,i2c-bus-freq = <100000>; - qcom,i2c-src-freq = <19200000>; - qcom,sda-gpio = <&msmgpio 16 0>; - qcom,scl-gpio = <&msmgpio 17 0>; - }; - - i2c@f9925000 { /* BLSP-1 QUP-3 */ - cell-index = <0>; - compatible = "qcom,i2c-qup"; - #address-cells = <1>; - #size-cells = <0>; - reg-names = "qup_phys_addr"; - reg = <0xf9925000 0x1000>; - interrupt-names = "qup_err_intr"; - interrupts = <0 97 0>; - qcom,i2c-bus-freq = <100000>; - }; - - spi_4: spi@f9926000 { /* BLSP1 QUP4 */ - compatible = "qcom,spi-qup-v2"; - #address-cells = <1>; - #size-cells = <0>; - reg-names = "spi_physical", "spi_bam_physical"; - reg = <0xf9926000 0x1000>, - <0xf9904000 0x15000>; - interrupt-names = "spi_irq", "spi_bam_irq"; - interrupts = <0 98 0>, <0 238 0>; - spi-max-frequency = <50000000>; - - gpios = <&msmgpio 89 0>, /* CLK */ - <&msmgpio 87 0>, /* MISO */ - <&msmgpio 86 0>; /* MOSI */ - cs-gpios = <&msmgpio 88 0>; - - qcom,infinite-mode = <0>; - qcom,use-bam; - qcom,ver-reg-exists; - qcom,bam-consumer-pipe-index = <18>; - qcom,bam-producer-pipe-index = <19>; - }; - - qcom,pronto@fb21b000 { - compatible = "qcom,pil-pronto"; - reg = <0xfb21b000 0x3000>, - <0xfc401700 0x4>, - <0xfd485300 0xc>; - reg-names = "pmu_base", "clk_base", "halt_base"; - interrupts = <0 149 1>; - vdd_pronto_pll-supply = <&pm8110_l10>; - - qcom,firmware-name = "wcnss"; - - /* GPIO inputs from wcnss */ - qcom,gpio-err-fatal = <&smp2pgpio_ssr_smp2p_4_in 0 0>; - qcom,gpio-err-ready = <&smp2pgpio_ssr_smp2p_4_in 1 0>; - qcom,gpio-proxy-unvote = <&smp2pgpio_ssr_smp2p_4_in 2 0>; - - /* GPIO output to wcnss */ - qcom,gpio-force-stop = <&smp2pgpio_ssr_smp2p_4_out 0 0>; - }; - - qcom,iris-fm { - compatible = "qcom,iris_fm"; - }; - - sound { - compatible = "qcom,msm8x10-audio-codec"; - qcom,model = "msm8x10-snd-card"; - }; - - qcom,msm-pcm { - compatible = "qcom,msm-pcm-dsp"; - qcom,msm-pcm-dsp-id = <0>; - }; - - qcom,msm-pcm-low-latency { - compatible = "qcom,msm-pcm-dsp"; - qcom,msm-pcm-dsp-id = <1>; - qcom,msm-pcm-low-latency; - }; - - qcom,msm-pcm-routing { - compatible = "qcom,msm-pcm-routing"; - }; - - qcom,msm-pcm-lpa { - compatible = "qcom,msm-pcm-lpa"; - }; - - qcom,msm-compr-dsp { - compatible = "qcom,msm-compr-dsp"; - }; - - qcom,msm-voip-dsp { - compatible = "qcom,msm-voip-dsp"; - }; - - qcom,msm-pcm-voice { - compatible = "qcom,msm-pcm-voice"; - }; - - qcom,msm-stub-codec { - compatible = "qcom,msm-stub-codec"; - }; - - qcom,msm-dai-fe { - compatible = "qcom,msm-dai-fe"; - }; - - qcom,msm-pcm-afe { - compatible = "qcom,msm-pcm-afe"; - }; - - qcom,msm-dai-mi2s { - compatible = "qcom,msm-dai-mi2s"; - qcom,msm-dai-q6-mi2s-prim { - compatible = "qcom,msm-dai-q6-mi2s"; - qcom,msm-dai-q6-mi2s-dev-id = <0>; - qcom,msm-mi2s-rx-lines = <0>; - qcom,msm-mi2s-tx-lines = <3>; - }; - - qcom,msm-dai-q6-mi2s-sec { - compatible = "qcom,msm-dai-q6-mi2s"; - qcom,msm-dai-q6-mi2s-dev-id = <1>; - qcom,msm-mi2s-rx-lines = <3>; - qcom,msm-mi2s-tx-lines = <0>; - }; - }; - - qcom,msm-dai-q6 { - compatible = "qcom,msm-dai-q6"; - qcom,msm-dai-q6-bt-sco-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <12288>; - }; - - qcom,msm-dai-q6-bt-sco-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <12289>; - }; - - qcom,msm-dai-q6-int-fm-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <12292>; - }; - - qcom,msm-dai-q6-int-fm-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <12293>; - }; - - qcom,msm-dai-q6-be-afe-pcm-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <224>; - }; - - qcom,msm-dai-q6-be-afe-pcm-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <225>; - }; - - qcom,msm-dai-q6-afe-proxy-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <241>; - }; - - qcom,msm-dai-q6-afe-proxy-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <240>; - }; - - qcom,msm-dai-q6-incall-record-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <32771>; - }; - - qcom,msm-dai-q6-incall-record-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <32772>; - }; - - qcom,msm-dai-q6-incall-music-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <32773>; - }; - }; - - qcom,msm-pcm-hostless { - compatible = "qcom,msm-pcm-hostless"; - }; - - qcom,wcnss-wlan@fb000000 { - compatible = "qcom,wcnss_wlan"; - reg = <0xfb000000 0x280000>, - <0xf9011008 0x04>; - reg-names = "wcnss_mmio", "wcnss_fiq"; - interrupts = <0 145 0>, <0 146 0>; - interrupt-names = "wcnss_wlantx_irq", "wcnss_wlanrx_irq"; - - qcom,pronto-vddmx-supply = <&pm8110_l3>; - qcom,pronto-vddcx-supply = <&pm8110_s1>; - qcom,pronto-vddpx-supply = <&pm8110_l6>; - qcom,iris-vddxo-supply = <&pm8110_l10>; - qcom,iris-vddrfa-supply = <&pm8110_l5>; - qcom,iris-vddpa-supply = <&pm8110_l16>; - qcom,iris-vdddig-supply = <&pm8110_l5>; - - gpios = <&msmgpio 23 0>, <&msmgpio 24 0>, <&msmgpio 25 0>, <&msmgpio 26 0>, <&msmgpio 27 0>; - qcom,has-pronto-hw; - qcom,wlan-rx-buff-count = <256>; - }; - - qcom,mss@fc880000 { - compatible = "qcom,pil-q6v5-mss"; - reg = <0xfc880000 0x100>, - <0xfd485000 0x400>, - <0xfc820000 0x020>, - <0xfc401680 0x004>, - <0xfd485194 0x4>; - reg-names = "qdsp6_base", "halt_base", "rmb_base", - "restart_reg", "cxrail_bhs_reg"; - - interrupts = <0 24 1>; - vdd_cx-supply = <&pm8110_s1_corner>; - vdd_mx-supply = <&pm8110_l3>; - vdd_pll-supply = <&pm8110_l10>; - qcom,vdd_pll = <1800000>; - qcom,is-loadable; - qcom,firmware-name = "mba"; - qcom,pil-self-auth; - - /* 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>; - }; - - qcom,lpass@fe200000 { - compatible = "qcom,pil-q6v5-lpass"; - reg = <0xfe200000 0x00100>, - <0xfd485100 0x00010>, - <0xfc4016c0 0x00004>; - reg-names = "qdsp6_base", "halt_base", "restart_reg"; - interrupts = <0 162 1>; - vdd_cx-supply = <&pm8110_s1_corner>; - 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>; - - /* GPIO output to lpass */ - qcom,gpio-force-stop = <&smp2pgpio_ssr_smp2p_2_out 0 0>; - }; - - tsens: tsens@fc4a8000 { - compatible = "qcom,msm-tsens"; - reg = <0xfc4a8000 0x2000>, - <0xfc4b8000 0x1000>; - reg-names = "tsens_physical", "tsens_eeprom_physical"; - interrupts = <0 184 0>; - qcom,sensors = <2>; - qcom,slope = <2901 2846>; - qcom,calib-mode = "fuse_map3"; - qcom,sensor-id = <0 5>; - }; - - qcom,msm-thermal { - compatible = "qcom,msm-thermal"; - qcom,sensor-id = <5>; - qcom,poll-ms = <250>; - qcom,limit-temp = <60>; - qcom,temp-hysteresis = <10>; - qcom,freq-step = <2>; - qcom,freq-control-mask = <0xf>; - }; - - qcom,ipc-spinlock@fd484000 { - compatible = "qcom,ipc-spinlock-sfpb"; - reg = <0xfd484000 0x400>; - qcom,num-locks = <8>; - }; - - qcom,bam_dmux@fc834000 { - compatible = "qcom,bam_dmux"; - reg = <0xfc834000 0x7000>; - interrupts = <0 29 1>; - }; - - qcom,qseecom@7B00000 { - compatible = "qcom,qseecom"; - reg = <0x7B00000 0x500000>; - reg-names = "secapp-region"; - qcom,disk-encrypt-pipe-pair = <2>; - qcom,hlos-ce-hw-instance = <0>; - qcom,qsee-ce-hw-instance = <0>; - qcom,msm-bus,name = "qseecom-noc"; - qcom,msm-bus,num-cases = <4>; - qcom,msm-bus,active-only = <0>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <55 512 0 0>, - <55 512 3936000 393600>, - <55 512 3936000 393600>, - <55 512 3936000 393600>; - }; - - qcom,msm-rng@f9bff000 { - compatible = "qcom,msm-rng"; - reg = <0xf9bff000 0x200>; - qcom,msm-rng-iface-clk; - }; - - qcom,msm-rtb { - compatible = "qcom,msm-rtb"; - qcom,memory-reservation-type = "EBI1"; - qcom,memory-reservation-size = <0x100000>; /* 1M EBI1 buffer */ - }; - - jtag_mm0: jtagmm@fc34c000 { - compatible = "qcom,jtag-mm"; - reg = <0xfc34c000 0x1000>, - <0xfc340000 0x1000>; - reg-names = "etm-base","debug-base"; - }; - - jtag_mm1: jtagmm@fc34d000 { - compatible = "qcom,jtag-mm"; - reg = <0xfc34d000 0x1000>, - <0xfc342000 0x1000>; - reg-names = "etm-base","debug-base"; - }; - - jtag_mm2: jtagmm@fc34e000 { - compatible = "qcom,jtag-mm"; - reg = <0xfc34e000 0x1000>, - <0xfc344000 0x1000>; - reg-names = "etm-base","debug-base"; - }; - - jtag_mm3: jtagmm@fc34f000 { - compatible = "qcom,jtag-mm"; - reg = <0xfc34f000 0x1000>, - <0xfc346000 0x1000>; - reg-names = "etm-base","debug-base"; - }; - - qcom,tz-log@fe805720 { - compatible = "qcom,tz-log"; - reg = <0x0fe805720 0x1000>; - }; - - qcom,qcrypto@fd404000 { - compatible = "qcom,qcrypto"; - reg = <0xfd400000 0x20000>, - <0xfd404000 0x8000>; - reg-names = "crypto-base","crypto-bam-base"; - interrupts = <0 207 0>; - qcom,bam-pipe-pair = <2>; - qcom,ce-hw-instance = <1>; - qcom,ce-hw-shared; - qcom,msm-bus,name = "qcrypto-noc"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,active-only = <0>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <55 512 0 0>, - <55 512 393600 3936000>; - }; - - qcom,qcedev@fd400000 { - compatible = "qcom,qcedev"; - reg = <0xfd400000 0x20000>, - <0xfd404000 0x8000>; - reg-names = "crypto-base","crypto-bam-base"; - interrupts = <0 207 0>; - qcom,bam-pipe-pair = <1>; - qcom,ce-hw-instance = <1>; - qcom,ce-hw-shared; - qcom,msm-bus,name = "qcedev-noc"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,active-only = <0>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <55 512 0 0>, - <55 512 393600 3936000>; - }; - -}; - -&gdsc_vfe { - status = "ok"; -}; - -&gdsc_oxili_cx { - status = "ok"; -}; - -&lpass_iommu { - status = "ok"; -}; - -&copss_iommu { - status = "ok"; -}; - -&mdpe_iommu { - status = "ok"; -}; - -&mdps_iommu { - status = "ok"; -}; - -&gfx_iommu { - status = "ok"; -}; - -&vfe_iommu { - status = "ok"; -}; - -/include/ "msm8610-iommu-domains.dtsi" - -/include/ "msm-pm8110-rpm-regulator.dtsi" -/include/ "msm-pm8110.dtsi" -/include/ "msm8610-regulator.dtsi" - -&pm8110_vadc { - chan@0 { - label = "usb_in"; - reg = <0>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <4>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@2 { - label = "vchg_sns"; - reg = <2>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <2>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@5 { - label = "vcoin"; - reg = <5>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <1>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@6 { - label = "vbat_sns"; - reg = <6>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <1>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@7 { - label = "vph_pwr"; - reg = <7>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <1>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@30 { - label = "batt_therm"; - reg = <0x30>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <1>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@31 { - label = "batt_id"; - reg = <0x31>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@b2 { - label = "xo_therm_pu2"; - reg = <0xb2>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <4>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@13 { - label = "pa_therm0"; - reg = <0x13>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; -}; - -&pm8110_adc_tm { - /* Channel Node */ - chan@30 { - label = "batt_therm"; - reg = <0x30>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <1>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <3>; - qcom,btm-channel-number = <0x48>; - }; - - chan@8 { - label = "die_temp"; - reg = <8>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <3>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <3>; - qcom,btm-channel-number = <0x68>; - }; - - chan@6 { - label = "vbat_sns"; - reg = <6>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <1>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <3>; - qcom,btm-channel-number = <0x70>; - }; - - chan@13 { - label = "pa_therm0"; - reg = <0x13>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - qcom,btm-channel-number = <0x78>; - qcom,thermal-node; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8660-surf.dts b/kernel/arch/arm/boot/dts/m7350-un-v3/msm8660-surf.dts deleted file mode 100644 index 4518fc4a3..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8660-surf.dts +++ /dev/null @@ -1,24 +0,0 @@ -/dts-v1/; - -/include/ "skeleton.dtsi" - -/ { - model = "Qualcomm MSM8660 SURF"; - compatible = "qcom,msm8660-surf", "qcom,msm8660", "qcom,surf"; - interrupt-parent = <&intc>; - - intc: interrupt-controller@02080000 { - compatible = "qcom,msm-8660-qgic"; - interrupt-controller; - #interrupt-cells = <3>; - reg = < 0x02080000 0x1000 >, - < 0x02081000 0x1000 >; - }; - - serial@19c400000 { - compatible = "qcom,msm-hsuart", "qcom,msm-uart"; - reg = <0x19c40000 0x1000>, - <0x19c00000 0x1000>; - interrupts = <0 195 0x0>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8926-cdp.dts b/kernel/arch/arm/boot/dts/m7350-un-v3/msm8926-cdp.dts deleted file mode 100644 index 7a91d40ee..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8926-cdp.dts +++ /dev/null @@ -1,22 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - - -/dts-v1/; -/include/ "msm8926.dtsi" -/include/ "msm8226-cdp.dtsi" - -/ { - model = "Qualcomm MSM 8926 CDP"; - compatible = "qcom,msm8926-cdp", "qcom,msm8926", "qcom,cdp"; - qcom,msm-id = <200 1 0>; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8926-mtp.dts b/kernel/arch/arm/boot/dts/m7350-un-v3/msm8926-mtp.dts deleted file mode 100644 index fea925d62..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8926-mtp.dts +++ /dev/null @@ -1,22 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - - -/dts-v1/; -/include/ "msm8926.dtsi" -/include/ "msm8226-mtp.dtsi" - -/ { - model = "Qualcomm MSM 8926 MTP"; - compatible = "qcom,msm8926-mtp", "qcom,msm8926", "qcom,mtp"; - qcom,msm-id = <200 8 0>; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8926-qrd.dts b/kernel/arch/arm/boot/dts/m7350-un-v3/msm8926-qrd.dts deleted file mode 100644 index e056b7e87..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8926-qrd.dts +++ /dev/null @@ -1,21 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; -/include/ "msm8926.dtsi" -/include/ "msm8226-qrd.dtsi" - -/ { - model = "Qualcomm MSM 8926 QRD"; - compatible = "qcom,msm8926-qrd", "qcom,msm8926", "qcom,qrd"; - qcom,msm-id = <200 11 0>; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8926.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v3/msm8926.dtsi deleted file mode 100644 index 6f3f59251..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8926.dtsi +++ /dev/null @@ -1,30 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/* - * Only 8926-specific property overrides should be placed inside this - * file. Device definitions should be placed inside the msm8226.dtsi - * file. - */ - -/include/ "msm8226.dtsi" - -/ { - model = "Qualcomm MSM 8926"; - compatible = "qcom,msm8926"; -}; - -&soc { - qcom,mss@fc880000 { - vdd_mss-supply = <&pm8226_s5>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8974-bus.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v3/msm8974-bus.dtsi deleted file mode 100644 index 609a1b302..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8974-bus.dtsi +++ /dev/null @@ -1,1411 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -&soc { - msm-mmss-noc@fc478000 { - compatible = "msm-bus-fabric"; - reg = <0xfc478000 0x00004000>; - cell-id = <2048>; - label = "msm_mmss_noc"; - qcom,fabclk-dual = "bus_clk"; - qcom,fabclk-active = "bus_a_clk"; - qcom,ntieredslaves = <0>; - qcom,qos-freq = <4800>; - qcom,hw-sel = "NoC"; - qcom,rpm-en; - - coresight-id = <52>; - coresight-name = "coresight-mnoc"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_in0>; - coresight-child-ports = <5>; - - mas-gfx3d { - cell-id = <26>; - label = "mas-gfx3d"; - qcom,masterp = <2 3>; - qcom,tier = <2>; - qcom,hw-sel = "NoC"; - qcom,perm-mode = "Bypass"; - qcom,mode = "Bypass"; - qcom,ws = <10000>; - qcom,qport = <2 3>; - qcom,mas-hw-id = <6>; - }; - - mas-jpeg { - cell-id = <62>; - label = "mas-jpeg"; - qcom,masterp = <4>; - qcom,tier = <2>; - qcom,hw-sel = "NoC"; - qcom,perm-mode = "Bypass"; - qcom,mode = "Bypass"; - qcom,qport = <0>; - qcom,ws = <10000>; - qcom,mas-hw-id = <7>; - }; - - mas-mdp-port0 { - cell-id = <22>; - label = "mas-mdp-port0"; - qcom,masterp = <5>; - qcom,tier = <2>; - qcom,hw-sel = "NoC"; - qcom,perm-mode = "Bypass"; - qcom,mode = "Bypass"; - qcom,qport = <1>; - qcom,ws = <10000>; - qcom,mas-hw-id = <8>; - }; - - mas-video-p0 { - cell-id = <63>; - label = "mas-video-p0"; - qcom,masterp = <6 7>; - qcom,tier = <2>; - qcom,hw-sel = "NoC"; - qcom,perm-mode = "Bypass"; - qcom,mode = "Bypass"; - qcom,ws = <10000>; - qcom,qport = <4 5>; - qcom,mas-hw-id = <9>; - }; - - mas-vfe { - cell-id = <29>; - label = "mas-vfe"; - qcom,masterp = <16>; - qcom,tier = <2>; - qcom,hw-sel = "NoC"; - qcom,perm-mode = "Bypass"; - qcom,mode = "Bypass"; - qcom,ws = <10000>; - qcom,qport = <6>; - qcom,mas-hw-id = <11>; - }; - - fab-cnoc { - cell-id = <5120>; - label = "fab-cnoc"; - qcom,gateway; - qcom,masterp = <0 1>; - qcom,buswidth = <16>; - qcom,hw-sel = "RPM"; - qcom,mas-hw-id = <4>; - }; - - fab-bimc { - cell-id = <0>; - label = "fab-bimc"; - qcom,gateway; - qcom,slavep = <16 17>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <16>; - }; - - slv-camera-cfg { - cell-id = <589>; - label = "slv-camera-cfg"; - qcom,slavep = <0>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <3>; - }; - - slv-display-cfg { - cell-id = <590>; - label = "slv-display-cfg"; - qcom,slavep = <1>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <4>; - }; - - slv-ocmem-cfg { - cell-id = <591>; - label = "slv-ocmem-cfg"; - qcom,slavep = <2>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <5>; - }; - - slv-cpr-cfg { - cell-id = <592>; - label = "slv-cpr-cfg"; - qcom,slavep = <3>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <6>; - }; - - slv-cpr-xpu-cfg { - cell-id = <593>; - label = "slv-cpr-xpu-cfg"; - qcom,slavep = <4>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <7>; - }; - - slv-misc-cfg { - cell-id = <594>; - label = "slv-misc-cfg"; - qcom,slavep = <6>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <8>; - }; - - slv-misc-xpu-cfg { - cell-id = <595>; - label = "slv-misc-xpu-cfg"; - qcom,slavep = <7>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <9>; - }; - - slv-venus-cfg { - cell-id = <596>; - label = "slv-venus-cfg"; - qcom,slavep = <8>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <10>; - }; - - slv-gfx3d-cfg { - cell-id = <598>; - label = "slv-gfx3d-cfg"; - qcom,slavep = <9>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <11>; - }; - - slv-mmss-clk-cfg { - cell-id = <599>; - label = "slv-mmss-clk-cfg"; - qcom,slavep = <11>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <12>; - }; - - slv-mmss-clk-xpu-cfg { - cell-id = <600>; - label = "slv-mmss-clk-xpu-cfg"; - qcom,slavep = <12>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <13>; - }; - - slv-mnoc-mpu-cfg { - cell-id = <601>; - label = "slv-mnoc-mpu-cfg"; - qcom,slavep = <13>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <14>; - }; - - slv-onoc-mpu-cfg { - cell-id = <602>; - label = "slv-onoc-mpu-cfg"; - qcom,slavep = <14>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <15>; - }; - - slv-service-mnoc { - cell-id = <603>; - label = "slv-service-mnoc"; - qcom,slavep = <18>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <17>; - }; - - }; - - msm-sys-noc@fc460000 { - compatible = "msm-bus-fabric"; - reg = <0xfc460000 0x00004000>; - cell-id = <1024>; - label = "msm_sys_noc"; - qcom,fabclk-dual = "bus_clk"; - qcom,fabclk-active = "bus_a_clk"; - qcom,ntieredslaves = <0>; - qcom,qos-freq = <4800>; - qcom,hw-sel = "NoC"; - qcom,rpm-en; - - coresight-id = <50>; - coresight-name = "coresight-snoc"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_in0>; - coresight-child-ports = <3>; - - msm-lpass-ahb { - cell-id = <52>; - label = "mas-lpass-ahb"; - qcom,masterp = <0>; - qcom,tier = <2>; - qcom,qport = <0>; - qcom,mas-hw-id = <18>; - qcom,mode = "Fixed"; - qcom,prio1 = <2>; - qcom,prio0 = <2>; - }; - - mas-qdss-bam { - cell-id = <53>; - label = "mas-qdss-bam"; - qcom,masterp = <1>; - qcom,tier = <2>; - qcom,mode = "Fixed"; - qcom,qport = <1>; - qcom,mas-hw-id = <19>; - qcom,prio1 = <1>; - qcom,prio0 = <1>; - qcom,hw-sel = "NoC"; - }; - - mas-snoc-cfg { - cell-id = <54>; - label = "mas-snoc-cfg"; - qcom,masterp = <2>; - qcom,tier = <2>; - qcom,mas-hw-id = <20>; - }; - - fab-bimc { - cell-id = <0>; - label= "fab-bimc"; - qcom,gateway; - qcom,slavep = <7 8>; - qcom,masterp = <3>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <21>; - qcom,slv-hw-id = <24>; - }; - - fab-cnoc { - cell-id = <5120>; - label = "fab-cnoc"; - qcom,gateway; - qcom,slavep = <9>; - qcom,masterp = <4>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <22>; - qcom,slv-hw-id = <25>; - }; - - fab-pnoc { - cell-id = <4096>; - label = "fab-pnoc"; - qcom,gateway; - qcom,slavep = <12>; - qcom,masterp = <11>; - qcom,buswidth = <8>; - qcom,qport = <8>; - qcom,mas-hw-id = <29>; - qcom,slv-hw-id = <28>; - qcom,mode = "Fixed"; - qcom,prio1 = <2>; - qcom,prio0 = <2>; - }; - - fab-ovnoc { - cell-id = <6144>; - label = "fab-ovnoc"; - qcom,gateway; - qcom,buswidth = <8>; - qcom,mas-hw-id = <53>; - qcom,slv-hw-id = <77>; - }; - - mas-crypto-core0 { - cell-id = <55>; - label = "mas-crypto-core0"; - qcom,masterp = <5>; - qcom,tier = <2>; - qcom,mode = "Fixed"; - qcom,qport = <2>; - qcom,mas-hw-id = <23>; - qcom,hw-sel = "NoC"; - qcom,prio1 = <1>; - qcom,prio0 = <1>; - }; - - mas-crypto-core1 { - cell-id = <56>; - label = "mas-crypto-core1"; - qcom,masterp = <6>; - qcom,tier = <2>; - qcom,mode = "Fixed"; - qcom,qport = <3>; - qcom,mas-hw-id = <24>; - qcom,hw-sel = "NoC"; - qcom,prio1 = <1>; - qcom,prio0 = <1>; - }; - - mas-lpass-proc { - cell-id = <11>; - label = "mas-lpass-proc"; - qcom,masterp = <7>; - qcom,tier = <2>; - qcom,qport = <4>; - qcom,mas-hw-id = <25>; - qcom,mode = "Fixed"; - qcom,prio1 = <2>; - qcom,prio0 = <2>; - }; - - mas-mss { - cell-id = <38>; - label = "mas-mss"; - qcom,masterp = <8>; - qcom,tier = <2>; - qcom,mas-hw-id = <26>; - }; - - mas-mss-nav { - cell-id = <57>; - label = "mas-mss-nav"; - qcom,masterp = <9>; - qcom,tier = <2>; - qcom,mas-hw-id = <27>; - }; - - mas-ocmem-dma { - cell-id = <58>; - label = "mas-ocmem-dma"; - qcom,masterp = <10>; - qcom,tier = <2>; - qcom,mode = "Fixed"; - qcom,qport = <7>; - qcom,mas-hw-id = <28>; - }; - - mas-wcss { - cell-id = <59>; - label = "mas-wcss"; - qcom,masterp = <12>; - qcom,tier = <2>; - qcom,mas-hw-id = <30>; - }; - - mas-qdss-etr { - cell-id = <60>; - label = "mas-qdss-etr"; - qcom,masterp = <13>; - qcom,tier = <2>; - qcom,qport = <10>; - qcom,mode = "Fixed"; - qcom,mas-hw-id = <31>; - qcom,prio1 = <1>; - qcom,prio0 = <1>; - qcom,hw-sel = "NoC"; - }; - - mas-usb3 { - cell-id = <61>; - label = "mas-usb3"; - qcom,masterp = <14>; - qcom,tier = <2>; - qcom,mode = "Fixed"; - qcom,qport = <11>; - qcom,mas-hw-id = <32>; - qcom,prio1 = <1>; - qcom,prio0 = <1>; - qcom,hw-sel = "NoC"; - qcom,iface-clk-node = "msm_usb3"; - }; - - slv-ampss { - cell-id = <520>; - label = "slv-ampss"; - qcom,slavep = <1>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <20>; - }; - - slv-lpass { - cell-id = <522>; - label = "slv-lpass"; - qcom,slavep = <2>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <21>; - }; - - slv-usb3 { - cell-id = <583>; - label = "slv-usb3"; - qcom,slavep = <4>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <22>; - }; - - slv-wcss { - cell-id = <584>; - label = "slv-wcss"; - qcom,slavep = <6>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <23>; - }; - - slv-ocimem { - cell-id = <585>; - label = "slv-ocimem"; - qcom,slavep = <10>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <26>; - }; - - slv-snoc-ocmem { - cell-id = <586>; - label = "slv-snoc-ocmem"; - qcom,slavep = <11>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <27>; - }; - - slv-service-snoc { - cell-id = <587>; - label = "slv-service-snoc"; - qcom,slavep = <13>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <29>; - }; - - slv-qdss-stm { - cell-id = <588>; - label = "slv-qdss-stm"; - qcom,slavep = <14>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <30>; - }; - - }; - - msm-periph-noc@fc468000 { - compatible = "msm-bus-fabric"; - reg = <0xfc468000 0x00004000>; - cell-id = <4096>; - label = "msm_periph_noc"; - qcom,fabclk-dual = "bus_clk"; - qcom,fabclk-active = "bus_a_clk"; - qcom,ntieredslaves = <0>; - qcom,hw-sel = "NoC"; - qcom,rpm-en; - - coresight-id = <54>; - coresight-name = "coresight-pnoc"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_in0>; - coresight-child-ports = <6>; - - mas-pnoc-cfg { - cell-id = <88>; - label = "mas-pnoc-cfg"; - qcom,masterp = <10>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <43>; - }; - - mas-sdcc-1 { - cell-id = <78>; - label = "mas-sdcc-1"; - qcom,masterp = <0>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <33>; - }; - - mas-sdcc-3 { - cell-id = <79>; - label = "mas-sdcc-3"; - qcom,masterp = <1>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <34>; - }; - - mas-sdcc-4 { - cell-id = <80>; - label = "mas-sdcc-4"; - qcom,masterp = <3>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <36>; - }; - - mas-sdcc-2 { - cell-id = <81>; - label = "mas-sdcc-2"; - qcom,masterp = <2>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <35>; - }; - - mas-tsif { - cell-id = <82>; - label = "mas-tsif"; - qcom,masterp = <4>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <37>; - }; - - mas-bam-dma { - cell-id = <83>; - label = "mas-bam-dma"; - qcom,masterp = <5>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <38>; - }; - - mas-blsp-2 { - cell-id = <84>; - label = "mas-blsp-2"; - qcom,masterp = <6>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <39>; - }; - - mas-usb-hsic { - cell-id = <85>; - label = "mas-usb-hsic"; - qcom,masterp = <7>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <40>; - }; - - mas-blsp-1 { - cell-id = <86>; - label = "mas-blsp-1"; - qcom,masterp = <8>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <41>; - }; - - mas-usb-hs { - cell-id = <87>; - label = "mas-usb-hs"; - qcom,masterp = <9>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <42>; - }; - - fab-snoc { - cell-id = <1024>; - label = "fab-snoc"; - qcom,gateway; - qcom,slavep = <14>; - qcom,masterp = <11>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <45>; - qcom,mas-hw-id = <44>; - }; - - slv-sdcc-1 { - cell-id = <606>; - label = "slv-sdcc-1"; - qcom,slavep = <0>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <31>; - }; - - slv-sdcc-3 { - cell-id = <607>; - label = "slv-sdcc-3"; - qcom,slavep = <1>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <32>; - }; - - slv-sdcc-2 { - cell-id = <608>; - label = "slv-sdcc-2"; - qcom,slavep = <2>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <33>; - }; - - slv-sdcc-4 { - cell-id = <609>; - label = "slv-sdcc-4"; - qcom,slavep = <3>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <34>; - }; - - slv-tsif { - cell-id = <575>; - label = "slv-tsif"; - qcom,slavep = <4>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <35>; - }; - - slv-bam-dma { - cell-id = <610>; - label = "slv-bam-dma"; - qcom,slavep = <5>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <36>; - }; - - slv-blsp-2 { - cell-id = <611>; - label = "slv-blsp-2"; - qcom,slavep = <6>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <37>; - }; - - slv-usb-hsic { - cell-id = <612>; - label = "slv-usb-hsic"; - qcom,slavep = <7>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <38>; - }; - - slv-blsp-1 { - cell-id = <613>; - label = "slv-blsp-1"; - qcom,slavep = <8>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <39>; - }; - - slv-usb-hs { - cell-id = <614>; - label = "slv-usb-hs"; - qcom,slavep = <9>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <40>; - }; - - slv-pdm { - cell-id = <615>; - label = "slv-pdm"; - qcom,slavep = <10>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <41>; - }; - - slv-periph-apu-cfg { - cell-id = <616>; - label = "slv-periph-apu-cfg"; - qcom,slavep = <11>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <42>; - }; - - slv-pnoc-mpu-cfg { - cell-id = <617>; - label = "slv-pnoc-mpu-cfg"; - qcom,slavep = <12>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <43>; - }; - - slv-prng { - cell-id = <618>; - label = "slv-prng"; - qcom,slavep = <13>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <44>; - }; - - slv-service-pnoc { - cell-id = <619>; - label = "slv-service-pnoc"; - qcom,slavep = <15>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <46>; - }; - - }; - - msm-config-noc@fc480000 { - compatible = "msm-bus-fabric"; - reg = <0xfc480000 0x00004000>; - cell-id = <5120>; - label = "msm_config_noc"; - qcom,fabclk-dual = "bus_clk"; - qcom,fabclk-active = "bus_a_clk"; - qcom,ntieredslaves = <0>; - qcom,hw-sel = "NoC"; - qcom,rpm-en; - - mas-rpm-inst { - cell-id = <72>; - label = "mas-rpm-inst"; - qcom,masterp = <0>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <45>; - }; - - mas-rpm-data { - cell-id = <73>; - label = "mas-rpm-data"; - qcom,masterp = <1>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <46>; - }; - - mas-rpm-sys { - cell-id = <74>; - label = "mas-rpm-sys"; - qcom,masterp = <2>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <47>; - }; - - mas-dehr { - cell-id = <75>; - label = "mas-dehr"; - qcom,masterp = <3>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <48>; - }; - - mas-qdss-dsp { - cell-id = <76>; - label = "mas-qdss-dap"; - qcom,masterp = <4>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <49>; - }; - - mas-spdm { - cell-id = <36>; - label = "mas-spdm"; - qcom,masterp = <5>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <50>; - }; - - mas-tic { - cell-id = <77>; - label = "mas-tic"; - qcom,masterp = <6>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <51>; - }; - - slv-clk-ctl { - cell-id = <620>; - label = "slv-clk-ctl"; - qcom,slavep = <1>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <47>; - }; - - slv-cnoc-mss { - cell-id = <621>; - label = "slv-cnoc-mss"; - qcom,slavep = <2>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <48>; - }; - - slv-security { - cell-id = <622>; - label = "slv-security"; - qcom,slavep = <3>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <49>; - }; - - slv-tcsr { - cell-id = <623>; - label = "slv-tcsr"; - qcom,slavep = <4>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <50>; - }; - - slv-tlmm { - cell-id = <624>; - label = "slv-tlmm"; - qcom,slavep = <5>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <51>; - }; - - slv-crypto-0-cfg { - cell-id = <625>; - label = "slv-crypto-0-cfg"; - qcom,slavep = <6>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <52>; - }; - - slv-crypto-1-cfg { - cell-id = <626>; - label = "slv-crypto-1-cfg"; - qcom,slavep = <7>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <53>; - }; - - slv-imem-cfg { - cell-id = <627>; - label = "slv-imem-cfg"; - qcom,slavep = <8>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <54>; - }; - - slv-message-ram { - cell-id = <628>; - label = "slv-message-ram"; - qcom,slavep = <9>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <55>; - }; - - slv-bimc-cfg { - cell-id = <629>; - label = "slv-bimc-cfg"; - qcom,slavep = <10>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <56>; - }; - - slv-boot-rom { - cell-id = <630>; - label = "slv-boot-rom"; - qcom,slavep = <11>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <57>; - }; - - slv-pmic-arb { - cell-id = <632>; - label = "slv-pmic-arb"; - qcom,slavep = <13>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <59>; - }; - - slv-spdm-wrapper { - cell-id = <633>; - label = "slv-spdm-wrapper"; - qcom,slavep = <14>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <60>; - }; - - slv-dehr-cfg { - cell-id = <634>; - label = "slv-dehr-cfg"; - qcom,slavep = <15>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <61>; - }; - - slv-mpm { - cell-id = <536>; - label = "slv-mpm"; - qcom,slavep = <16>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <62>; - }; - - slv-qdss-cfg { - cell-id = <635>; - label = "slv-qdss-cfg"; - qcom,slavep = <17>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <63>; - }; - - slv-rbcpr-cfg { - cell-id = <636>; - label = "slv-rbcpr-cfg"; - qcom,slavep = <18>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <64>; - }; - - slv-rbcpr-qdss-apu-cfg { - cell-id = <637>; - label = "slv-rbcpr-qdss-apu-cfg"; - qcom,slavep = <19>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <65>; - }; - - fab-snoc { - cell-id = <1024>; - label = "fab-snoc"; - qcom,gateway; - qcom,slavep = <29>; - qcom,masterp = <7>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <52>; - qcom,slv-hw-id = <75>; - }; - - slv-cnoc-onoc-cfg { - cell-id = <639>; - label = "slv-cnoc-onoc-cfg"; - qcom,slavep = <22>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <68>; - }; - - slv-cnoc-mnoc-mmss-cfg { - cell-id = <631>; - label = "slv-cnoc-mnoc-mmss-cfg"; - qcom,slavep = <12>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <58>; - }; - - slv-cnoc-mnoc-cfg { - cell-id = <640>; - label = "slv-cnoc-mnoc-cfg"; - qcom,slavep = <20>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <66>; - }; - - slv-pnoc-cfg { - cell-id = <641>; - label = "slv-pnoc-cfg"; - qcom,slavep = <23>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <69>; - }; - - slv-snoc-mpu-cfg { - cell-id = <638>; - label = "slv-snoc-mpu-cfg"; - qcom,slavep = <21>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <67>; - }; - - slv-snoc-cfg { - cell-id = <642>; - label = "slv-snoc-cfg"; - qcom,slavep = <24>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <70>; - }; - - slv-ebi1-dll-cfg { - cell-id = <643>; - label = "slv-ebi1-dll-cfg"; - qcom,slavep = <25>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <71>; - }; - - slv-phy-apu-cfg { - cell-id = <644>; - label = "slv-phy-apu-cfg"; - qcom,slavep = <26>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <72>; - }; - - slv-ebi1-phy-cfg { - cell-id = <645>; - label = "slv-ebi1-phy-cfg"; - qcom,slavep = <27>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <73>; - }; - - slv-rpm { - cell-id = <534>; - label = "slv-rpm"; - qcom,slavep = <28>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <74>; - }; - - slv-service-cnoc { - cell-id = <646>; - label = "slv-service-cnoc"; - qcom,slavep = <30>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <76>; - }; - - }; - - msm-bimc@0xfc380000 { - compatible = "msm-bus-fabric"; - reg = <0xfc380000 0x0006A000>; - cell-id = <0>; - label = "msm_bimc"; - qcom,fabclk-dual = "mem_clk"; - qcom,fabclk-active = "mem_a_clk"; - qcom,ntieredslaves = <0>; - qcom,qos-freq = <19200>; - qcom,hw-sel = "BIMC"; - qcom,rpm-en; - - coresight-id = <55>; - coresight-name = "coresight-bimc"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_in1>; - coresight-child-ports = <3>; - - mas-ampss-m0 { - cell-id = <1>; - label = "mas-ampss-m0"; - qcom,masterp = <0>; - qcom,tier = <2>; - qcom,hw-sel = "BIMC"; - qcom,mode = "Limiter"; - qcom,qport = <0>; - qcom,ws = <10000>; - qcom,mas-hw-id = <0>; - qcom,prio-rd = <0>; - qcom,prio-wr = <0>; - qcom,mode-thresh = "Fixed"; - qcom,thresh = <2000000>; - qcom,dual-conf; - qcom,bimc,bw = <300000>; - qcom,bimc,gp = <5>; - qcom,bimc,thmp = <50>; - }; - - mas-ampss-m1 { - cell-id = <2>; - label = "mas-ampss-m1"; - qcom,masterp = <1>; - qcom,tier = <2>; - qcom,hw-sel = "BIMC"; - qcom,mode = "Limiter"; - qcom,qport = <1>; - qcom,ws = <10000>; - qcom,mas-hw-id = <0>; - qcom,prio-rd = <0>; - qcom,prio-wr = <0>; - qcom,mode-thresh = "Fixed"; - qcom,thresh = <2000000>; - qcom,dual-conf; - qcom,bimc,bw = <300000>; - qcom,bimc,gp = <5>; - qcom,bimc,thmp = <50>; - }; - - mas-mss-proc { - cell-id = <65>; - label = "mas-mss-proc"; - qcom,masterp = <2>; - qcom,tier = <2>; - qcom,hw-sel = "RPM"; - qcom,mas-hw-id = <1>; - }; - - fab-mmss-noc { - cell-id = <2048>; - label = "fab_mmss_noc"; - qcom,gateway; - qcom,masterp = <3 4>; - qcom,qport = <3 4>; - qcom,buswidth = <8>; - qcom,ws = <10000>; - qcom,mas-hw-id = <2>; - qcom,hw-sel = "BIMC"; - qcom,mode = "Bypass"; - }; - - fab-snoc { - cell-id = <1024>; - label = "fab-snoc"; - qcom,gateway; - qcom,slavep = <3>; - qcom,masterp = <5 6>; - qcom,qport = <5 6>; - qcom,buswidth = <8>; - qcom,ws = <10000>; - qcom,mas-hw-id = <3>; - qcom,slv-hw-id = <2>; - qcom,mode = "Bypass"; - qcom,hw-sel = "RPM"; - }; - - slv-ebi-ch0 { - cell-id = <512>; - label = "slv-ebi-ch0"; - qcom,slavep = <0 1>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <0>; - qcom,mode = "Bypass"; - }; - - slv-ampss-l2 { - cell-id = <514>; - label = "slv-ampss-l2"; - qcom,slavep = <2>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <1>; - }; - }; - - msm-ocmem-vnoc@6144 { - compatible = "msm-bus-fabric"; - reg = <0x6144 0x2>; - cell-id = <6144>; - label = "msm-ocmem-vnoc"; - qcom,ntieredslaves = <0>; - qcom,hw-sel = "NoC"; - qcom,rpm-en; - qcom,virt; - - mas-v-ocmem-gfx3d { - cell-id = <89>; - label = "mas-v-ocmem-gfx3d"; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <55>; - }; - - slv-ocmem { - cell-id = <604>; - label = "slv-ocmem"; - qcom,slavep = <0 1>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,slv-hw-id = <18>; - qcom,slaveclk-dual = "ocmem_clk"; - qcom,slaveclk-active = "ocmem_a_clk"; - }; - - fab-snoc { - cell-id = <1024>; - label = "fab-snoc"; - qcom,gateway; - qcom,buswidth = <8>; - qcom,ws = <10000>; - qcom,mas-hw-id = <57>; - qcom,slv-hw-id = <80>; - }; - - fab-onoc { - cell-id = <3072>; - label = "fab-onoc"; - qcom,gateway; - qcom,buswidth = <16>; - qcom,ws = <10000>; - qcom,mas-hw-id = <56>; - qcom,slv-hw-id = <79>; - }; - - }; - - msm-ocmem-noc@fc470000 { - compatible = "msm-bus-fabric"; - reg = <0xfc470000 0x00004000>; - cell-id = <3072>; - label = "msm_ocmem_noc"; - qcom,fabclk-dual = "bus_clk"; - qcom,fabclk-active = "bus_a_clk"; - qcom,ntieredslaves = <0>; - qcom,qos-freq = <4800>; - qcom,hw-sel = "NoC"; - qcom,rpm-en; - - coresight-id = <51>; - coresight-name = "coresight-onoc"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_in0>; - coresight-child-ports = <4>; - - fab-ocmem-vnoc { - cell-id = <6144>; - label = "fab-ocmem-vnoc"; - qcom,gateway; - qcom,buswidth = <16>; - qcom,mas-hw-id = <54>; - qcom,slv-hw-id = <78>; - }; - - mas-jpeg-ocmem { - cell-id = <66>; - label = "mas-jpeg-ocmem"; - qcom,masterp = <1>; - qcom,tier = <2>; - qcom,perm-mode = "Fixed"; - qcom,mode = "Fixed"; - qcom,qport = <0>; - qcom,mas-hw-id = <13>; - qcom,hw-sel = "NoC"; - }; - - mas-mdp-ocmem { - cell-id = <67>; - label = "mas-mdp-ocmem"; - qcom,masterp = <2>; - qcom,tier = <2>; - qcom,perm-mode = "Fixed"; - qcom,mode = "Fixed"; - qcom,mas-hw-id = <14>; - qcom,hw-sel = "NoC"; - }; - - mas-video-ocmem { - cell-id = <68>; - label = "mas-video-ocmem"; - qcom,masterp = <3 4>; - qcom,tier = <2>; - qcom,perm-mode = "Fixed"; - qcom,mode = "Fixed"; - qcom,qport = <2 3>; - qcom,mas-hw-id = <15>; - qcom,hw-sel = "NoC"; - }; - - mas-vfe-ocmem { - cell-id = <70>; - label = "mas-vfe-ocmem"; - qcom,masterp = <5>; - qcom,tier = <2>; - qcom,perm-mode = "Fixed"; - qcom,mode = "Fixed"; - qcom,qport = <4>; - qcom,mas-hw-id = <17>; - qcom,hw-sel = "NoC"; - qcom,prio-rd = <1>; - qcom,prio-wr = <1>; - }; - - mas-cnoc-onoc-cfg { - cell-id = <71>; - label = "mas-cnoc-onoc-cfg"; - qcom,masterp = <0>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,mas-hw-id = <12>; - qcom,hw-sel = "NoC"; - }; - - slv-service-onoc { - cell-id = <605>; - label = "slv-service-onoc"; - qcom,slavep = <2>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,slv-hw-id = <19>; - }; - }; -}; - - diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8974-camera-sensor-cdp.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v3/msm8974-camera-sensor-cdp.dtsi deleted file mode 100644 index 4a9820dab..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8974-camera-sensor-cdp.dtsi +++ /dev/null @@ -1,189 +0,0 @@ -/* - * Copyright (c) 2012-2013, 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. - */ - -&cci { - - actuator0: qcom,actuator@18 { - cell-index = <0>; - reg = <0x18 0x0>; - compatible = "qcom,actuator"; - qcom,cci-master = <0>; - }; - - actuator1: qcom,actuator@36 { - cell-index = <1>; - reg = <0x36>; - compatible = "qcom,actuator"; - qcom,cci-master = <0>; - }; - - qcom,camera@6e { - compatible = "qcom,s5k3l1yx"; - reg = <0x6e 0x0>; - qcom,slave-id = <0x6e 0x0 0x3121>; - qcom,csiphy-sd-index = <0>; - qcom,csid-sd-index = <0>; - qcom,actuator-src = <&actuator0>; - qcom,mount-angle = <90>; - qcom,sensor-name = "s5k3l1yx"; - qcom,vdd-cx-supply = <&pm8841_s2>; - qcom,vdd-cx-name = "qcom,vdd-cx"; - cam_vdig-supply = <&pm8941_l3>; - cam_vana-supply = <&pm8941_l17>; - cam_vio-supply = <&pm8941_lvs3>; - cam_vaf-supply = <&pm8941_l23>; - qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana", - "cam_vaf"; - qcom,cam-vreg-type = <0 1 0 0>; - qcom,cam-vreg-min-voltage = <1225000 0 2850000 3000000>; - qcom,cam-vreg-max-voltage = <1225000 0 2850000 3000000>; - qcom,cam-vreg-op-mode = <105000 0 80000 100000>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 15 0>, - <&msmgpio 90 0>, - <&msmgpio 89 0>; - qcom,gpio-reset = <1>; - qcom,gpio-standby = <2>; - qcom,gpio-req-tbl-num = <0 1 2>; - qcom,gpio-req-tbl-flags = <1 0 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1", - "CAM_STANDBY"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 30000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x1F>; - qcom,sensor-position = <0>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - status = "ok"; - }; - - qcom,camera@20 { - compatible = "qcom,imx135"; - reg = <0x20>; - qcom,slave-id = <0x20 0x0016 0x0135>; - qcom,csiphy-sd-index = <0>; - qcom,csid-sd-index = <0>; - qcom,mount-angle = <90>; - qcom,sensor-name = "imx135"; - qcom,actuator-src = <&actuator1>; - qcom,vdd-cx-supply = <&pm8841_s2>; - qcom,vdd-cx-name = "qcom,vdd-cx"; - cam_vdig-supply = <&pm8941_l3>; - cam_vana-supply = <&pm8941_l17>; - cam_vio-supply = <&pm8941_lvs3>; - cam_vaf-supply = <&pm8941_l23>; - qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana", - "cam_vaf"; - qcom,cam-vreg-type = <0 1 0 0>; - qcom,cam-vreg-min-voltage = <1225000 0 2850000 3000000>; - qcom,cam-vreg-max-voltage = <1225000 0 2850000 3000000>; - qcom,cam-vreg-op-mode = <105000 0 80000 100000>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 15 0>, - <&msmgpio 90 0>, - <&msmgpio 89 0>; - qcom,gpio-reset = <1>; - qcom,gpio-standby = <2>; - qcom,gpio-req-tbl-num = <0 1 2>; - qcom,gpio-req-tbl-flags = <1 0 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1", - "CAM_STANDBY"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 30000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x1F>; - qcom,sensor-position = <0>; - qcom,sensor-mode = <0>; - qcom,sensor-type = <0>; - qcom,cci-master = <0>; - status = "ok"; - }; - - qcom,camera@6c { - compatible = "qcom,ov2720"; - reg = <0x6c 0x0>; - qcom,slave-id = <0x6c 0x300A 0x2720>; - qcom,csiphy-sd-index = <2>; - qcom,csid-sd-index = <2>; - qcom,mount-angle = <90>; - qcom,sensor-name = "ov2720"; - qcom,vdd-cx-supply = <&pm8841_s2>; - qcom,vdd-cx-name = "qcom,vdd-cx"; - cam_vdig-supply = <&pm8941_l3>; - cam_vana-supply = <&pm8941_l17>; - cam_vio-supply = <&pm8941_lvs3>; - qcom,cam-vreg-name = "cam_vdig", "cam_vana", "cam_vio"; - qcom,cam-vreg-type = <0 0 1>; - qcom,cam-vreg-min-voltage = <1225000 2850000 0>; - qcom,cam-vreg-max-voltage = <1225000 2850000 0>; - qcom,cam-vreg-op-mode = <105000 80000 0>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 17 0>, - <&msmgpio 18 0>; - qcom,gpio-reset = <1>; - qcom,gpio-req-tbl-num = <0 1>; - qcom,gpio-req-tbl-flags = <1 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 4000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x7>; - qcom,sensor-position = <1>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - status = "ok"; - }; - - qcom,camera@90 { - compatible = "qcom,mt9m114"; - reg = <0x90 0x0>; - qcom,slave-id = <0x90 0x0 0x2481>; - qcom,csiphy-sd-index = <1>; - qcom,csid-sd-index = <0>; - qcom,mount-angle = <0>; - qcom,sensor-name = "mt9m114"; - qcom,vdd-cx-supply = <&pm8841_s2>; - qcom,vdd-cx-name = "qcom,vdd-cx"; - cam_vdig-supply = <&pm8941_l3>; - cam_vana-supply = <&pm8941_l17>; - cam_vio-supply = <&pm8941_lvs3>; - qcom,cam-vreg-name = "cam_vdig", "cam_vana", "cam_vio"; - qcom,cam-vreg-type = <0 0 1>; - qcom,cam-vreg-min-voltage = <1225000 2850000 0>; - qcom,cam-vreg-max-voltage = <1225000 2850000 0>; - qcom,cam-vreg-op-mode = <105000 80000 0>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 16 0>, - <&msmgpio 92 0>; - qcom,gpio-reset = <1>; - qcom,gpio-req-tbl-num = <0 1>; - qcom,gpio-req-tbl-flags = <1 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 4000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x3>; - qcom,sensor-position = <1>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8974-camera-sensor-dragonboard.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v3/msm8974-camera-sensor-dragonboard.dtsi deleted file mode 100644 index e84a47d62..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8974-camera-sensor-dragonboard.dtsi +++ /dev/null @@ -1,174 +0,0 @@ -/* - * Copyright (c) 2012-2013, 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. - */ - -&cci { - - actuator0: qcom,actuator@18 { - cell-index = <0>; - reg = <0x18 0x0>; - compatible = "qcom,actuator"; - qcom,cci-master = <0>; - }; - - actuator1: qcom,actuator@36 { - cell-index = <1>; - reg = <0x36>; - compatible = "qcom,actuator"; - qcom,cci-master = <0>; - }; - - qcom,camera@6e { - compatible = "qcom,s5k3l1yx"; - reg = <0x6e 0x0>; - qcom,slave-id = <0x6e 0x0 0x3121>; - qcom,csiphy-sd-index = <0>; - qcom,csid-sd-index = <0>; - qcom,mount-angle = <0>; - qcom,actuator-src = <&actuator0>; - qcom,sensor-name = "s5k3l1yx"; - cam_vdig-supply = <&pm8941_l3>; - cam_vana-supply = <&pm8941_l17>; - cam_vio-supply = <&pm8941_lvs3>; - cam_vaf-supply = <&pm8941_l23>; - qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana", - "cam_vaf"; - qcom,cam-vreg-type = <0 1 0 0>; - qcom,cam-vreg-min-voltage = <1225000 0 2850000 3000000>; - qcom,cam-vreg-max-voltage = <1225000 0 2850000 3000000>; - qcom,cam-vreg-op-mode = <105000 0 80000 100000>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 15 0>, - <&msmgpio 90 0>; - qcom,gpio-reset = <1>; - qcom,gpio-req-tbl-num = <0 1>; - qcom,gpio-req-tbl-flags = <1 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 30000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x1F>; - qcom,sensor-position = <0>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - status = "ok"; - }; - - qcom,camera@20 { - compatible = "qcom,imx135"; - reg = <0x20>; - qcom,slave-id = <0x20 0x0016 0x0135>; - qcom,csiphy-sd-index = <0>; - qcom,csid-sd-index = <0>; - qcom,mount-angle = <0>; - qcom,sensor-name = "imx135"; - qcom,actuator-src = <&actuator1>; - cam_vdig-supply = <&pm8941_l3>; - cam_vana-supply = <&pm8941_l17>; - cam_vio-supply = <&pm8941_lvs3>; - cam_vaf-supply = <&pm8941_l23>; - qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana", - "cam_vaf"; - qcom,cam-vreg-type = <0 1 0 0>; - qcom,cam-vreg-min-voltage = <1225000 0 2850000 3000000>; - qcom,cam-vreg-max-voltage = <1225000 0 2850000 3000000>; - qcom,cam-vreg-op-mode = <105000 0 80000 100000>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 15 0>, - <&msmgpio 90 0>; - qcom,gpio-reset = <1>; - qcom,gpio-req-tbl-num = <0 1>; - qcom,gpio-req-tbl-flags = <1 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 30000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x1F>; - qcom,sensor-position = <0>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - status = "ok"; - }; - - qcom,camera@6c { - compatible = "qcom,ov2720"; - reg = <0x6c 0x0>; - qcom,slave-id = <0x6c 0x300A 0x2720>; - qcom,csiphy-sd-index = <2>; - qcom,csid-sd-index = <0>; - qcom,mount-angle = <180>; - qcom,sensor-name = "ov2720"; - cam_vdig-supply = <&pm8941_l3>; - cam_vana-supply = <&pm8941_l17>; - cam_vio-supply = <&pm8941_lvs3>; - qcom,cam-vreg-name = "cam_vdig", "cam_vana", "cam_vio"; - qcom,cam-vreg-type = <0 0 1>; - qcom,cam-vreg-min-voltage = <1225000 2850000 0>; - qcom,cam-vreg-max-voltage = <1225000 2850000 0>; - qcom,cam-vreg-op-mode = <105000 80000 0>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 17 0>, - <&msmgpio 18 0>; - qcom,gpio-reset = <1>; - qcom,gpio-req-tbl-num = <0 1>; - qcom,gpio-req-tbl-flags = <1 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 4000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x7>; - qcom,sensor-position = <1>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - status = "ok"; - }; - - qcom,camera@90 { - compatible = "qcom,mt9m114"; - reg = <0x90 0x0>; - qcom,slave-id = <0x90 0x0 0x2481>; - qcom,csiphy-sd-index = <1>; - qcom,csid-sd-index = <0>; - qcom,mount-angle = <0>; - qcom,sensor-name = "mt9m114"; - cam_vdig-supply = <&pm8941_l3>; - cam_vana-supply = <&pm8941_l17>; - cam_vio-supply = <&pm8941_lvs3>; - qcom,cam-vreg-name = "cam_vdig", "cam_vana", "cam_vio"; - qcom,cam-vreg-type = <0 0 1>; - qcom,cam-vreg-min-voltage = <1225000 2850000 0>; - qcom,cam-vreg-max-voltage = <1225000 2850000 0>; - qcom,cam-vreg-op-mode = <105000 80000 0>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 16 0>, - <&msmgpio 94 0>; - qcom,gpio-reset = <1>; - qcom,gpio-req-tbl-num = <0 1>; - qcom,gpio-req-tbl-flags = <1 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 4000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x3>; - qcom,sensor-position = <1>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8974-camera-sensor-fluid.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v3/msm8974-camera-sensor-fluid.dtsi deleted file mode 100644 index f61b83a45..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8974-camera-sensor-fluid.dtsi +++ /dev/null @@ -1,190 +0,0 @@ -/* - * Copyright (c) 2012-2013, 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. - */ - -&cci { - - actuator0: qcom,actuator@18 { - cell-index = <0>; - reg = <0x18>; - compatible = "qcom,actuator"; - qcom,cci-master = <0>; - }; - - actuator1: qcom,actuator@36 { - cell-index = <1>; - reg = <0x36>; - compatible = "qcom,actuator"; - qcom,cci-master = <0>; - }; - - qcom,camera@6e { - compatible = "qcom,s5k3l1yx"; - reg = <0x6e>; - qcom,slave-id = <0x6e 0x0 0x3121>; - qcom,csiphy-sd-index = <0>; - qcom,csid-sd-index = <0>; - qcom,actuator-src = <&actuator0>; - qcom,led-flash-src = <&led_flash0>; - qcom,mount-angle = <270>; - qcom,sensor-name = "s5k3l1yx"; - qcom,vdd-cx-supply = <&pm8841_s2>; - qcom,vdd-cx-name = "qcom,vdd-cx"; - cam_vdig-supply = <&pm8941_l3>; - cam_vana-supply = <&pm8941_l17>; - cam_vio-supply = <&pm8941_lvs3>; - cam_vaf-supply = <&pm8941_l23>; - qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana", - "cam_vaf"; - qcom,cam-vreg-type = <0 1 0 0>; - qcom,cam-vreg-min-voltage = <1225000 0 2850000 3000000>; - qcom,cam-vreg-max-voltage = <1225000 0 2850000 3000000>; - qcom,cam-vreg-op-mode = <105000 0 80000 100000>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 15 0>, - <&msmgpio 90 0>, - <&msmgpio 89 0>; - qcom,gpio-reset = <1>; - qcom,gpio-standby = <2>; - qcom,gpio-req-tbl-num = <0 1 2>; - qcom,gpio-req-tbl-flags = <1 0 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1", - "CAM_STANDBY"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 30000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x1F>; - qcom,sensor-position = <0>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - status = "ok"; - }; - - qcom,camera@20 { - compatible = "qcom,imx135"; - reg = <0x20>; - qcom,slave-id = <0x20 0x0016 0x0135>; - qcom,csiphy-sd-index = <0>; - qcom,csid-sd-index = <0>; - qcom,mount-angle = <270>; - qcom,sensor-name = "imx135"; - qcom,actuator-src = <&actuator1>; - qcom,vdd-cx-supply = <&pm8841_s2>; - qcom,vdd-cx-name = "qcom,vdd-cx"; - cam_vdig-supply = <&pm8941_l3>; - cam_vana-supply = <&pm8941_l17>; - cam_vio-supply = <&pm8941_lvs3>; - cam_vaf-supply = <&pm8941_l23>; - qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana", - "cam_vaf"; - qcom,cam-vreg-type = <0 1 0 0>; - qcom,cam-vreg-min-voltage = <1225000 0 2850000 3000000>; - qcom,cam-vreg-max-voltage = <1225000 0 2850000 3000000>; - qcom,cam-vreg-op-mode = <105000 0 80000 100000>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 15 0>, - <&msmgpio 90 0>, - <&msmgpio 89 0>; - qcom,gpio-reset = <1>; - qcom,gpio-standby = <2>; - qcom,gpio-req-tbl-num = <0 1 2>; - qcom,gpio-req-tbl-flags = <1 0 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1", - "CAM_STANDBY"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 30000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x1F>; - qcom,sensor-position = <0>; - qcom,sensor-mode = <0>; - qcom,sensor-type = <0>; - qcom,cci-master = <0>; - status = "ok"; - }; - - qcom,camera@6c { - compatible = "qcom,ov2720"; - reg = <0x6c>; - qcom,slave-id = <0x6c 0x300A 0x2720>; - qcom,csiphy-sd-index = <2>; - qcom,csid-sd-index = <2>; - qcom,mount-angle = <90>; - qcom,sensor-name = "ov2720"; - qcom,vdd-cx-supply = <&pm8841_s2>; - qcom,vdd-cx-name = "qcom,vdd-cx"; - cam_vdig-supply = <&pm8941_l3>; - cam_vana-supply = <&pm8941_l17>; - cam_vio-supply = <&pm8941_lvs3>; - qcom,cam-vreg-name = "cam_vdig", "cam_vana", "cam_vio"; - qcom,cam-vreg-type = <0 0 1>; - qcom,cam-vreg-min-voltage = <1225000 2850000 0>; - qcom,cam-vreg-max-voltage = <1225000 2850000 0>; - qcom,cam-vreg-op-mode = <105000 80000 0>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 17 0>, - <&msmgpio 18 0>; - qcom,gpio-reset = <1>; - qcom,gpio-req-tbl-num = <0 1>; - qcom,gpio-req-tbl-flags = <1 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 4000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x7>; - qcom,sensor-position = <1>; - qcom,sensor-mode = <1>; - qcom,cci-master = <1>; - status = "ok"; - }; - - qcom,camera@90 { - compatible = "qcom,mt9m114"; - reg = <0x90>; - qcom,slave-id = <0x90 0x0 0x2481>; - qcom,csiphy-sd-index = <1>; - qcom,csid-sd-index = <0>; - qcom,mount-angle = <0>; - qcom,sensor-name = "mt9m114"; - qcom,vdd-cx-supply = <&pm8841_s2>; - qcom,vdd-cx-name = "qcom,vdd-cx"; - cam_vdig-supply = <&pm8941_l3>; - cam_vana-supply = <&pm8941_l17>; - cam_vio-supply = <&pm8941_lvs3>; - qcom,cam-vreg-name = "cam_vdig", "cam_vana", "cam_vio"; - qcom,cam-vreg-type = <0 0 1>; - qcom,cam-vreg-min-voltage = <1225000 2850000 0>; - qcom,cam-vreg-max-voltage = <1225000 2850000 0>; - qcom,cam-vreg-op-mode = <105000 80000 0>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 16 0>, - <&msmgpio 92 0>; - qcom,gpio-reset = <1>; - qcom,gpio-req-tbl-num = <0 1>; - qcom,gpio-req-tbl-flags = <1 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 4000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x3>; - qcom,sensor-position = <1>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8974-camera-sensor-liquid.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v3/msm8974-camera-sensor-liquid.dtsi deleted file mode 100644 index cf968d208..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8974-camera-sensor-liquid.dtsi +++ /dev/null @@ -1,190 +0,0 @@ - -/* - * Copyright (c) 2012-2013, 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. - */ - -&cci { - - actuator0: qcom,actuator@18 { - cell-index = <0>; - reg = <0x18>; - compatible = "qcom,actuator"; - qcom,cci-master = <0>; - }; - - actuator1: qcom,actuator@36 { - cell-index = <1>; - reg = <0x36>; - compatible = "qcom,actuator"; - qcom,cci-master = <0>; - }; - - qcom,camera@6e { - compatible = "qcom,s5k3l1yx"; - reg = <0x6e>; - qcom,slave-id = <0x6e 0x0 0x3121>; - qcom,csiphy-sd-index = <0>; - qcom,csid-sd-index = <0>; - qcom,mount-angle = <0>; - qcom,actuator-src = <&actuator0>; - qcom,sensor-name = "s5k3l1yx"; - qcom,vdd-cx-supply = <&pm8841_s2>; - qcom,vdd-cx-name = "qcom,vdd-cx"; - cam_vdig-supply = <&pm8941_l3>; - cam_vana-supply = <&pm8941_l17>; - cam_vio-supply = <&pm8941_lvs2>; - cam_vaf-supply = <&pm8941_l23>; - qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana", - "cam_vaf"; - qcom,cam-vreg-type = <0 1 0 0>; - qcom,cam-vreg-min-voltage = <1225000 0 2850000 3000000>; - qcom,cam-vreg-max-voltage = <1225000 0 2850000 3000000>; - qcom,cam-vreg-op-mode = <105000 0 80000 100000>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 15 0>, - <&msmgpio 90 0>, - <&msmgpio 89 0>; - qcom,gpio-reset = <1>; - qcom,gpio-standby = <2>; - qcom,gpio-req-tbl-num = <0 1 2>; - qcom,gpio-req-tbl-flags = <1 0 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1", - "CAM_STANDBY"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 30000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x1F>; - qcom,sensor-position = <0>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - status = "ok"; - }; - - qcom,camera@20 { - compatible = "qcom,imx135"; - reg = <0x20>; - qcom,slave-id = <0x20 0x0016 0x0135>; - qcom,csiphy-sd-index = <0>; - qcom,csid-sd-index = <0>; - qcom,mount-angle = <0>; - qcom,sensor-name = "imx135"; - qcom,vdd-cx-supply = <&pm8841_s2>; - qcom,vdd-cx-name = "qcom,vdd-cx"; - qcom,actuator-src = <&actuator1>; - cam_vdig-supply = <&pm8941_l3>; - cam_vana-supply = <&pm8941_l17>; - cam_vio-supply = <&pm8941_lvs2>; - cam_vaf-supply = <&pm8941_l23>; - qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana", - "cam_vaf"; - qcom,cam-vreg-type = <0 1 0 0>; - qcom,cam-vreg-min-voltage = <1225000 0 2850000 3000000>; - qcom,cam-vreg-max-voltage = <1225000 0 2850000 3000000>; - qcom,cam-vreg-op-mode = <105000 0 80000 100000>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 15 0>, - <&msmgpio 90 0>, - <&msmgpio 89 0>; - qcom,gpio-reset = <1>; - qcom,gpio-standby = <2>; - qcom,gpio-req-tbl-num = <0 1 2>; - qcom,gpio-req-tbl-flags = <1 0 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1", - "CAM_STANDBY"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 30000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x1F>; - qcom,sensor-position = <0>; - qcom,sensor-mode = <0>; - qcom,sensor-type = <0>; - qcom,cci-master = <0>; - status = "ok"; - }; - - qcom,camera@6c { - compatible = "qcom,ov2720"; - reg = <0x6c>; - qcom,slave-id = <0x6c 0x300A 0x2720>; - qcom,csiphy-sd-index = <2>; - qcom,csid-sd-index = <0>; - qcom,mount-angle = <180>; - qcom,sensor-name = "ov2720"; - qcom,vdd-cx-supply = <&pm8841_s2>; - qcom,vdd-cx-name = "qcom,vdd-cx"; - cam_vdig-supply = <&pm8941_l3>; - cam_vana-supply = <&pm8941_l17>; - cam_vio-supply = <&pm8941_lvs2>; - qcom,cam-vreg-name = "cam_vdig", "cam_vana", "cam_vio"; - qcom,cam-vreg-type = <0 0 1>; - qcom,cam-vreg-min-voltage = <1225000 2850000 0>; - qcom,cam-vreg-max-voltage = <1225000 2850000 0>; - qcom,cam-vreg-op-mode = <105000 80000 0>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 17 0>, - <&msmgpio 18 0>; - qcom,gpio-reset = <1>; - qcom,gpio-req-tbl-num = <0 1>; - qcom,gpio-req-tbl-flags = <1 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 4000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x7>; - qcom,sensor-position = <1>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - status = "ok"; - }; - - qcom,camera@90 { - compatible = "qcom,mt9m114"; - reg = <0x90>; - qcom,slave-id = <0x90 0x0 0x2481>; - qcom,csiphy-sd-index = <1>; - qcom,csid-sd-index = <0>; - qcom,mount-angle = <0>; - qcom,vdd-cx-supply = <&pm8841_s2>; - qcom,vdd-cx-name = "qcom,vdd-cx"; - qcom,sensor-name = "mt9m114"; - cam_vdig-supply = <&pm8941_l3>; - cam_vana-supply = <&pm8941_l17>; - cam_vio-supply = <&pm8941_lvs2>; - qcom,cam-vreg-name = "cam_vdig", "cam_vana", "cam_vio"; - qcom,cam-vreg-type = <0 0 1>; - qcom,cam-vreg-min-voltage = <1225000 2850000 0>; - qcom,cam-vreg-max-voltage = <1225000 2850000 0>; - qcom,cam-vreg-op-mode = <105000 80000 0>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 16 0>, - <&msmgpio 92 0>; - qcom,gpio-reset = <1>; - qcom,gpio-req-tbl-num = <0 1>; - qcom,gpio-req-tbl-flags = <1 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 4000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x3>; - qcom,sensor-position = <1>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8974-camera-sensor-mtp.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v3/msm8974-camera-sensor-mtp.dtsi deleted file mode 100644 index 6ad62137c..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8974-camera-sensor-mtp.dtsi +++ /dev/null @@ -1,191 +0,0 @@ -/* - * Copyright (c) 2012-2013, 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. - */ - -&cci { - - actuator0: qcom,actuator@18 { - cell-index = <0>; - reg = <0x18>; - compatible = "qcom,actuator"; - qcom,cci-master = <0>; - }; - - actuator1: qcom,actuator@36 { - cell-index = <1>; - reg = <0x36>; - compatible = "qcom,actuator"; - qcom,cci-master = <0>; - }; - - qcom,camera@6e { - compatible = "qcom,s5k3l1yx"; - reg = <0x6e>; - qcom,slave-id = <0x6e 0x0 0x3121>; - qcom,csiphy-sd-index = <0>; - qcom,csid-sd-index = <0>; - qcom,actuator-src = <&actuator0>; - qcom,led-flash-src = <&led_flash0>; - qcom,mount-angle = <90>; - qcom,sensor-name = "s5k3l1yx"; - qcom,vdd-cx-supply = <&pm8841_s2>; - qcom,vdd-cx-name = "qcom,vdd-cx"; - cam_vdig-supply = <&pm8941_l3>; - cam_vana-supply = <&pm8941_l17>; - cam_vio-supply = <&pm8941_lvs3>; - cam_vaf-supply = <&pm8941_l23>; - qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana", - "cam_vaf"; - qcom,cam-vreg-type = <0 1 0 0>; - qcom,cam-vreg-min-voltage = <1225000 0 2850000 3000000>; - qcom,cam-vreg-max-voltage = <1225000 0 2850000 3000000>; - qcom,cam-vreg-op-mode = <105000 0 80000 100000>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 15 0>, - <&msmgpio 90 0>, - <&msmgpio 89 0>; - qcom,gpio-reset = <1>; - qcom,gpio-standby = <2>; - qcom,gpio-req-tbl-num = <0 1 2>; - qcom,gpio-req-tbl-flags = <1 0 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1", - "CAM_STANDBY"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 30000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x1F>; - qcom,sensor-position = <0>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - status = "ok"; - }; - - qcom,camera@20 { - compatible = "qcom,imx135"; - reg = <0x20>; - qcom,slave-id = <0x20 0x0016 0x0135>; - qcom,csiphy-sd-index = <0>; - qcom,csid-sd-index = <0>; - qcom,mount-angle = <90>; - qcom,sensor-name = "imx135"; - qcom,vdd-cx-supply = <&pm8841_s2>; - qcom,vdd-cx-name = "qcom,vdd-cx"; - qcom,actuator-src = <&actuator1>; - cam_vdig-supply = <&pm8941_l3>; - cam_vana-supply = <&pm8941_l17>; - cam_vio-supply = <&pm8941_lvs3>; - cam_vaf-supply = <&pm8941_l23>; - qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana", - "cam_vaf"; - qcom,cam-vreg-type = <0 1 0 0>; - qcom,cam-vreg-min-voltage = <1225000 0 2850000 3000000>; - qcom,cam-vreg-max-voltage = <1225000 0 2850000 3000000>; - qcom,cam-vreg-op-mode = <105000 0 80000 100000>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 15 0>, - <&msmgpio 90 0>, - <&msmgpio 89 0>; - qcom,gpio-reset = <1>; - qcom,gpio-standby = <2>; - qcom,gpio-req-tbl-num = <0 1 2>; - qcom,gpio-req-tbl-flags = <1 0 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1", - "CAM_STANDBY"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 30000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x1F>; - qcom,sensor-position = <0>; - qcom,sensor-mode = <0>; - qcom,sensor-type = <0>; - qcom,cci-master = <0>; - status = "ok"; - }; - - - qcom,camera@6c { - compatible = "qcom,ov2720"; - reg = <0x6c>; - qcom,slave-id = <0x6c 0x300A 0x2720>; - qcom,csiphy-sd-index = <2>; - qcom,csid-sd-index = <2>; - qcom,mount-angle = <90>; - qcom,sensor-name = "ov2720"; - qcom,vdd-cx-supply = <&pm8841_s2>; - qcom,vdd-cx-name = "qcom,vdd-cx"; - cam_vdig-supply = <&pm8941_l3>; - cam_vana-supply = <&pm8941_l17>; - cam_vio-supply = <&pm8941_lvs3>; - qcom,cam-vreg-name = "cam_vdig", "cam_vana", "cam_vio"; - qcom,cam-vreg-type = <0 0 1>; - qcom,cam-vreg-min-voltage = <1225000 2850000 0>; - qcom,cam-vreg-max-voltage = <1225000 2850000 0>; - qcom,cam-vreg-op-mode = <105000 80000 0>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 17 0>, - <&msmgpio 18 0>; - qcom,gpio-reset = <1>; - qcom,gpio-req-tbl-num = <0 1>; - qcom,gpio-req-tbl-flags = <1 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 4000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x7>; - qcom,sensor-position = <1>; - qcom,sensor-mode = <1>; - qcom,cci-master = <1>; - status = "ok"; - }; - - qcom,camera@90 { - compatible = "qcom,mt9m114"; - reg = <0x90>; - qcom,slave-id = <0x90 0x0 0x2481>; - qcom,csiphy-sd-index = <1>; - qcom,csid-sd-index = <0>; - qcom,mount-angle = <0>; - qcom,sensor-name = "mt9m114"; - qcom,vdd-cx-supply = <&pm8841_s2>; - qcom,vdd-cx-name = "qcom,vdd-cx"; - cam_vdig-supply = <&pm8941_l3>; - cam_vana-supply = <&pm8941_l17>; - cam_vio-supply = <&pm8941_lvs3>; - qcom,cam-vreg-name = "cam_vdig", "cam_vana", "cam_vio"; - qcom,cam-vreg-type = <0 0 1>; - qcom,cam-vreg-min-voltage = <1225000 2850000 0>; - qcom,cam-vreg-max-voltage = <1225000 2850000 0>; - qcom,cam-vreg-op-mode = <105000 80000 0>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 16 0>, - <&msmgpio 92 0>; - qcom,gpio-reset = <1>; - qcom,gpio-req-tbl-num = <0 1>; - qcom,gpio-req-tbl-flags = <1 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 4000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x3>; - qcom,sensor-position = <1>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8974-camera.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v3/msm8974-camera.dtsi deleted file mode 100644 index 786e9e381..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8974-camera.dtsi +++ /dev/null @@ -1,215 +0,0 @@ -/* - * Copyright (c) 2012-2013, 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. - */ - -/include/ "skeleton.dtsi" - -&soc { - qcom,msm-cam@fd8C0000 { - compatible = "qcom,msm-cam"; - reg = <0xfd8C0000 0x10000>; - reg-names = "msm-cam"; - }; - - qcom,csiphy@fda0ac00 { - cell-index = <0>; - compatible = "qcom,csiphy"; - reg = <0xfda0ac00 0x200>, - <0xfda00030 0x4>; - reg-names = "csiphy", "csiphy_clk_mux"; - interrupts = <0 78 0>; - interrupt-names = "csiphy"; - }; - - qcom,csiphy@fda0b000 { - cell-index = <1>; - compatible = "qcom,csiphy"; - reg = <0xfda0b000 0x200>, - <0xfda00038 0x4>; - reg-names = "csiphy", "csiphy_clk_mux"; - interrupts = <0 79 0>; - interrupt-names = "csiphy"; - }; - - qcom,csiphy@fda0b400 { - cell-index = <2>; - compatible = "qcom,csiphy"; - reg = <0xfda0b400 0x200>, - <0xfda00040 0x4>; - reg-names = "csiphy", "csiphy_clk_mux"; - interrupts = <0 80 0>; - interrupt-names = "csiphy"; - }; - - qcom,csid@fda08000 { - cell-index = <0>; - compatible = "qcom,csid"; - reg = <0xfda08000 0x100>; - reg-names = "csid"; - interrupts = <0 51 0>; - interrupt-names = "csid"; - qcom,csi-vdd-voltage = <1800000>; - qcom,mipi-csi-vdd-supply = <&pm8941_l12>; - }; - - qcom,csid@fda08400 { - cell-index = <1>; - compatible = "qcom,csid"; - reg = <0xfda08400 0x100>; - reg-names = "csid"; - interrupts = <0 52 0>; - interrupt-names = "csid"; - qcom,csi-vdd-voltage = <1800000>; - qcom,mipi-csi-vdd-supply = <&pm8941_l12>; - }; - - qcom,csid@fda08800 { - cell-index = <2>; - compatible = "qcom,csid"; - reg = <0xfda08800 0x100>; - reg-names = "csid"; - interrupts = <0 53 0>; - interrupt-names = "csid"; - qcom,csi-vdd-voltage = <1800000>; - qcom,mipi-csi-vdd-supply = <&pm8941_l12>; - }; - - qcom,csid@fda08C00 { - cell-index = <3>; - compatible = "qcom,csid"; - reg = <0xfda08C00 0x100>; - reg-names = "csid"; - interrupts = <0 54 0>; - interrupt-names = "csid"; - qcom,csi-vdd-voltage = <1800000>; - qcom,mipi-csi-vdd-supply = <&pm8941_l12>; - }; - - qcom,ispif@fda0A000 { - cell-index = <0>; - compatible = "qcom,ispif"; - reg = <0xfda0A000 0x500>, - <0xfda00020 0x10>; - reg-names = "ispif", "csi_clk_mux"; - interrupts = <0 55 0>; - interrupt-names = "ispif"; - }; - - qcom,vfe@fda10000 { - cell-index = <0>; - compatible = "qcom,vfe40"; - reg = <0xfda10000 0x1000>, - <0xfda40000 0x200>; - reg-names = "vfe", "vfe_vbif"; - interrupts = <0 57 0>; - interrupt-names = "vfe"; - vdd-supply = <&gdsc_vfe>; - }; - - qcom,vfe@fda14000 { - cell-index = <1>; - compatible = "qcom,vfe40"; - reg = <0xfda14000 0x1000>, - <0xfda40000 0x200>; - reg-names = "vfe", "vfe_vbif"; - interrupts = <0 58 0>; - interrupt-names = "vfe"; - vdd-supply = <&gdsc_vfe>; - }; - - qcom,jpeg@fda1c000 { - cell-index = <0>; - compatible = "qcom,jpeg"; - reg = <0xfda1c000 0x400>; - reg-names = "jpeg"; - interrupts = <0 59 0>; - interrupt-names = "jpeg"; - vdd-supply = <&gdsc_jpeg>; - }; - - qcom,jpeg@fda20000 { - cell-index = <1>; - compatible = "qcom,jpeg"; - reg = <0xfda20000 0x400>; - reg-names = "jpeg"; - interrupts = <0 60 0>; - interrupt-names = "jpeg"; - vdd-supply = <&gdsc_jpeg>; - }; - - qcom,jpeg@fda24000 { - cell-index = <2>; - compatible = "qcom,jpeg"; - reg = <0xfda24000 0x400>; - reg-names = "jpeg"; - interrupts = <0 61 0>; - interrupt-names = "jpeg"; - vdd-supply = <&gdsc_jpeg>; - }; - - qcom,irqrouter@fda00000 { - cell-index = <0>; - compatible = "qcom,irqrouter"; - reg = <0xfda00000 0x100>; - reg-names = "irqrouter"; - }; - - qcom,cpp@fda04000 { - cell-index = <0>; - compatible = "qcom,cpp"; - reg = <0xfda04000 0x100>, - <0xfda40000 0x200>, - <0xfda18000 0x008>; - reg-names = "cpp", "cpp_vbif", "cpp_hw"; - interrupts = <0 49 0>; - interrupt-names = "cpp"; - vdd-supply = <&gdsc_vfe>; - }; - - led_flash0: qcom,camera-led-flash { - cell-index = <0>; - compatible = "qcom,camera-led-flash"; - qcom,flash-type = <1>; - qcom,flash-source = <&pm8941_flash0 &pm8941_flash1>; - }; - - cci: qcom,cci@fda0C000 { - cell-index = <0>; - compatible = "qcom,cci"; - reg = <0xfda0C000 0x1000>; - #address-cells = <1>; - #size-cells = <0>; - reg-names = "cci"; - interrupts = <0 50 0>; - interrupt-names = "cci"; - gpios = <&msmgpio 19 0>, - <&msmgpio 20 0>, - <&msmgpio 21 0>, - <&msmgpio 22 0>; - qcom,gpio-tbl-num = <0 1 2 3>; - qcom,gpio-tbl-flags = <1 1 1 1>; - qcom,gpio-tbl-label = "CCI_I2C_DATA0", - "CCI_I2C_CLK0", - "CCI_I2C_DATA1", - "CCI_I2C_CLK1"; - qcom,hw-thigh = <78>; - qcom,hw-tlow = <114>; - qcom,hw-tsu-sto = <28>; - qcom,hw-tsu-sta = <28>; - qcom,hw-thd-dat = <10>; - qcom,hw-thd-sta = <77>; - qcom,hw-tbuf = <118>; - qcom,hw-scl-stretch-en = <0>; - qcom,hw-trdhld = <6>; - qcom,hw-tsp = <1>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8974-cdp.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v3/msm8974-cdp.dtsi deleted file mode 100644 index 2a60df4f4..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8974-cdp.dtsi +++ /dev/null @@ -1,729 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/include/ "dsi-panel-toshiba-720p-video.dtsi" -/include/ "dsi-panel-orise-720p-video.dtsi" -/include/ "msm8974-leds.dtsi" -/include/ "msm8974-camera-sensor-cdp.dtsi" - -&soc { - serial@f991e000 { - status = "ok"; - }; - - qcom,mdss_dsi_toshiba_720p_video { - status = "ok"; - qcom,cont-splash-enabled; - }; - - qcom,mdss_dsi_orise_720p_video { - status = "disable"; - }; - - qcom,hdmi_tx@fd922100 { - status = "ok"; - }; - - i2c@f9924000 { - atmel_mxt_ts@4a { - compatible = "atmel,mxt-ts"; - reg = <0x4a>; - interrupt-parent = <&msmgpio>; - interrupts = <61 0x2>; - vdd_ana-supply = <&pm8941_l18>; - vcc_i2c-supply = <&pm8941_lvs1>; - atmel,reset-gpio = <&msmgpio 60 0x00>; - atmel,irq-gpio = <&msmgpio 61 0x00>; - atmel,panel-coords = <0 0 760 1424>; - atmel,display-coords = <0 0 720 1280>; - atmel,i2c-pull-up; - atmel,no-force-update; - atmel,cfg_1 { - atmel,family-id = <0x82>; - atmel,variant-id = <0x19>; - atmel,version = <0x10>; - atmel,build = <0xaa>; - atmel,config = [ - /* Object 6, Instance = 0 */ - 00 00 00 00 00 00 - /* Object 38, Instance = 0 */ - 15 01 00 03 0A 0C 00 00 - /* Object 7, Instance = 0 */ - 20 08 32 03 - /* Object 8, Instance = 0 */ - 0F 00 0A 0A 00 00 0A 0A 00 00 - /* Object 9, Instance = 0 */ - 83 00 00 18 0E 00 70 46 02 01 - 00 0A 03 31 04 05 0A 0A 90 05 - F8 02 05 F1 F1 0F 00 00 08 2D - 12 06 00 00 00 01 - /* Object 15, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 - /* Object 18, Instance = 0 */ - 00 00 - /* Object 19, Instance = 0 */ - 00 00 00 00 00 00 - /* Object 23, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 - /* Object 25, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 - /* Object 40, Instance = 0 */ - 00 00 00 00 00 - /* Object 42, Instance = 0 */ - 33 1E 19 10 80 00 00 00 FF 00 - /* Object 46, Instance = 0 */ - 00 00 10 10 00 00 03 00 00 01 - /* Object 47, Instance = 0 */ - 08 0A 28 0A 02 0A 00 8C 00 20 - 00 00 00 - /* Object 55, Instance = 0 */ - 00 00 00 00 00 00 - /* Object 56, Instance = 0 */ - 00 00 00 18 05 05 05 05 05 05 - 05 05 05 05 05 05 05 05 05 05 - 05 05 05 05 05 05 05 05 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 - /* Object 57, Instance = 0 */ - 00 00 00 - /* Object 61, Instance = 0 */ - 00 00 00 00 00 - /* Object 62, Instance = 0 */ - 01 2A 00 16 00 00 00 00 0B 01 - 02 03 04 08 00 00 08 10 18 05 - 00 0A 05 05 50 14 19 34 1A 7F - 00 00 00 00 00 00 00 00 00 30 - 05 02 00 01 00 05 00 00 00 00 - 00 00 00 00 - ]; - }; - }; - }; - - gen-vkeys { - compatible = "qcom,gen-vkeys"; - label = "atmel_mxt_ts"; - qcom,disp-maxx = <720>; - qcom,disp-maxy = <1280>; - qcom,panel-maxx = <760>; - qcom,panel-maxy = <1424>; - qcom,key-codes = <158 139 102 217>; - }; - - i2c@f9967000 { - isa1200@48 { - status = "okay"; - reg = <0x48>; - vcc_i2c-supply = <&pm8941_s3>; - compatible = "imagis,isa1200"; - label = "vibrator"; - imagis,chip-en; - imagis,smart-en; - imagis,need-pwm-clk; - imagis,ext-clk-en; - imagis,hap-en-gpio = <&msmgpio 86 0x00>; - imagis,max-timeout = <15000>; - imagis,pwm-div = <256>; - imagis,mode-ctrl = <2>; - imagis,regulator { - regulator-name = "vcc_i2c"; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - regulator-max-microamp = <9360>; - }; - }; - }; - - gpio_keys { - compatible = "gpio-keys"; - input-name = "gpio-keys"; - - camera_snapshot { - label = "camera_snapshot"; - gpios = <&pm8941_gpios 3 0x1>; - linux,input-type = <1>; - linux,code = <0x2fe>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - - camera_focus { - label = "camera_focus"; - gpios = <&pm8941_gpios 4 0x1>; - linux,input-type = <1>; - linux,code = <0x210>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - - vol_up { - label = "volume_up"; - gpios = <&pm8941_gpios 5 0x1>; - linux,input-type = <1>; - linux,code = <115>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - }; - - spi@f9923000 { - ethernet-switch@2 { - compatible = "micrel,ks8851"; - reg = <2>; - interrupt-parent = <&msmgpio>; - interrupts = <94 0>; - spi-max-frequency = <4800000>; - rst-gpio = <&pm8941_mpps 6 0>; - vdd-io-supply = <&spi_eth_vreg>; - vdd-phy-supply = <&spi_eth_vreg>; - }; - }; - - sound { - qcom,model = "msm8974-taiko-cdp-snd-card"; - qcom,hdmi-audio-rx; - qcom,us-euro-gpios = <&pm8941_gpios 20 0>; - qcom,cdc-micbias2-headset-only; - }; - - usb2_otg_sw: regulator-tpd4s214 { - compatible = "regulator-fixed"; - regulator-name = "usb2_otg_sw"; - gpio = <&pm8941_gpios 18 0>; - parent-supply = <&pm8941_boost>; - startup-delay-us = <17000>; - enable-active-high; - }; - - hsic_host: hsic@f9a00000 { - compatible = "qcom,hsic-host"; - reg = <0xf9a00000 0x400>; - #address-cells = <0>; - interrupt-parent = <&hsic_host>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 136 0 - 1 &intc 0 148 0 - 2 &msmgpio 144 0x8>; - interrupt-names = "core_irq", "async_irq", "wakeup"; - HSIC_VDDCX-supply = <&pm8841_s2>; - HSIC_GDSC-supply = <&gdsc_usb_hsic>; - hsic,strobe-gpio = <&msmgpio 144 0x00>; - hsic,data-gpio = <&msmgpio 145 0x00>; - hsic,resume-gpio = <&msmgpio 80 0x00>; - hsic,ignore-cal-pad-config; - hsic,strobe-pad-offset = <0x2050>; - hsic,data-pad-offset = <0x2054>; - - qcom,msm-bus,name = "hsic"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <85 512 0 0>, - <85 512 40000 160000>; - }; - - wlan0: qca,wlan { - compatible = "qca,ar6004-hsic"; - qcom,msm-bus,name = "wlan"; - qcom,msm-bus,num-cases = <5>; - qcom,msm-bus,active-only = <0>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <85 512 0 0>, - <85 512 40000 160000>, - <85 512 40000 320000>, - <85 512 40000 480000>, - <85 512 40000 800000>; - }; -}; - -&spmi_bus { - qcom,pm8941@1 { - qcom,leds@d800 { - status = "okay"; - qcom,wled_0 { - label = "wled"; - linux,name = "wled:backlight"; - linux,default-trigger = "bkl-trigger"; - qcom,cs-out-en; - qcom,op-fdbck = <1>; - qcom,default-state = "on"; - qcom,max-current = <25>; - qcom,ctrl-delay-us = <0>; - qcom,boost-curr-lim = <3>; - qcom,cp-sel = <0>; - qcom,switch-freq = <2>; - qcom,ovp-val = <2>; - qcom,num-strings = <1>; - qcom,id = <0>; - }; - }; - - qcom,leds@d900 { - status = "disabled"; - }; - - qcom,leds@da00 { - status = "disabled"; - }; - - qcom,leds@db00 { - status = "disabled"; - }; - - qcom,leds@dc00 { - status = "disabled"; - }; - - qcom,leds@dd00 { - status = "disabled"; - }; - - qcom,leds@de00 { - status = "disabled"; - }; - - qcom,leds@df00 { - status = "disabled"; - }; - - qcom,leds@e000 { - status = "disabled"; - }; - - qcom,leds@e100 { - status = "disabled"; - }; - }; -}; - -&sdcc1 { - status = "disabled"; -}; - -&sdcc2 { - #address-cells = <0>; - interrupt-parent = <&sdcc2>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 125 0 - 1 &intc 0 220 0 - 2 &msmgpio 62 0x3>; - interrupt-names = "core_irq", "bam_irq", "status_irq"; - cd-gpios = <&msmgpio 62 0x1>; - wp-gpios = <&pm8941_gpios 29 0x1>; - status = "disabled"; -}; - -&sdhc_1 { - vdd-supply = <&pm8941_l20>; - vdd-io-supply = <&pm8941_s3>; - - qcom,vdd-always-on; - qcom,vdd-lpm-sup; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <800 500000>; - - qcom,vdd-io-always-on; - qcom,vdd-io-voltage-level = <1800000 1800000>; - qcom,vdd-io-current-level = <250 154000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,nonremovable; - status = "ok"; -}; - -&sdhc_2 { - #address-cells = <0>; - interrupt-parent = <&sdhc_2>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 125 0 - 1 &intc 0 221 0 - 2 &msmgpio 62 0x3>; - interrupt-names = "hc_irq", "pwr_irq", "status_irq"; - cd-gpios = <&msmgpio 62 0x1>; - - vdd-supply = <&pm8941_l21>; - vdd-io-supply = <&pm8941_l13>; - - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <9000 800000>; - - qcom,vdd-io-voltage-level = <1800000 2950000>; - qcom,vdd-io-current-level = <6 22000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - status = "ok"; -}; - -/* Drive strength recommendations for clock line from hardware team is 10 mA. - * But since the driver has been been using the below values from the start - * without any problems, continue to use those. - */ -&sdcc1 { - qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */ -}; - -&sdcc2 { - qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */ -}; - -&sdhc_1 { - qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */ -}; - -&sdhc_2 { - qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */ -}; - -&uart7 { - status = "ok"; - qcom,tx-gpio = <&msmgpio 41 0x00>; - qcom,rx-gpio = <&msmgpio 42 0x00>; - qcom,cts-gpio = <&msmgpio 43 0x00>; - qcom,rfr-gpio = <&msmgpio 44 0x00>; -}; - -&usb3 { - qcom,otg-capability; -}; - -&pm8941_chg { - status = "ok"; - - qcom,chgr@1000 { - status = "ok"; - }; - - qcom,buck@1100 { - status = "ok"; - }; - - qcom,usb-chgpth@1300 { - status = "ok"; - }; - - qcom,dc-chgpth@1400 { - status = "ok"; - }; - - qcom,boost@1500 { - status = "ok"; - }; - - qcom,chg-misc@1600 { - status = "ok"; - }; -}; - -&pm8941_gpios { - gpio@c000 { /* GPIO 1 */ - }; - - gpio@c100 { /* GPIO 2 */ - }; - - gpio@c200 { /* GPIO 3 */ - qcom,mode = <0>; - qcom,pull = <0>; - qcom,vin-sel = <2>; - qcom,src-sel = <0>; - }; - - gpio@c300 { /* GPIO 4 */ - qcom,mode = <0>; - qcom,pull = <0>; - qcom,vin-sel = <2>; - qcom,src-sel = <0>; - }; - - gpio@c400 { /* GPIO 5 */ - qcom,mode = <0>; - qcom,pull = <0>; - qcom,vin-sel = <2>; - qcom,src-sel = <0>; - }; - - gpio@c500 { /* GPIO 6 */ - }; - - gpio@c600 { /* GPIO 7 */ - }; - - gpio@c700 { /* GPIO 8 */ - }; - - gpio@c800 { /* GPIO 9 */ - }; - - gpio@c900 { /* GPIO 10 */ - }; - - gpio@ca00 { /* GPIO 11 */ - }; - - gpio@cb00 { /* GPIO 12 */ - }; - - gpio@cc00 { /* GPIO 13 */ - }; - - gpio@cd00 { /* GPIO 14 */ - }; - - gpio@ce00 { /* GPIO 15 */ - qcom,mode = <1>; - qcom,output-type = <0>; - qcom,pull = <5>; - qcom,vin-sel = <2>; - qcom,out-strength = <1>; - qcom,src-sel = <2>; - qcom,master-en = <1>; - }; - - gpio@cf00 { /* GPIO 16 */ - qcom,mode = <1>; - qcom,output-type = <0>; - qcom,pull = <2>; - qcom,vin-sel = <2>; - qcom,out-strength = <2>; - qcom,src-sel = <2>; - qcom,master-en = <1>; - }; - - gpio@d000 { /* GPIO 17 */ - }; - - gpio@d100 { /* GPIO 18 */ - /* usb2_otg_sw regulator enable */ - qcom,mode = <1>; /* Digital output */ - qcom,output-type = <0>; /* CMOS logic */ - qcom,invert = <0>; /* Output low initially */ - qcom,vin-sel = <2>; /* PM8941 S3 = 1.8 V */ - qcom,src-sel = <0>; /* Constant */ - qcom,out-strength = <2>; /* Medium drive strength */ - qcom,master-en = <1>; /* Enable GPIO */ - }; - - gpio@d200 { /* GPIO 19 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,output-type = <0>; /* QPNP_PIN_OUT_BUF_CMOS */ - qcom,pull = <5>; /* QPNP_PIN_PULL_NO */ - qcom,vin-sel = <2>; /* QPNP_PIN_VIN2 */ - qcom,out-strength = <2>; /* QPNP_PIN_OUT_STRENGTH_MED */ - qcom,src-sel = <0>; /* QPNP_PIN_SEL_FUNC_CONSTANT */ - qcom,master-en = <1>; - }; - - gpio@d300 { /* GPIO 20 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,output-type = <0>; /* QPNP_PIN_OUT_BUF_CMOS */ - qcom,invert = <0>; /* Output low initially */ - qcom,pull = <5>; /* QPNP_PIN_PULL_NO */ - qcom,vin-sel = <2>; /* QPNP_PIN_VIN2 */ - qcom,out-strength = <2>; /* QPNP_PIN_OUT_STRENGTH_MED */ - qcom,src-sel = <0>; /* QPNP_PIN_SEL_FUNC_CONSTANT */ - qcom,master-en = <1>; - }; - - gpio@d400 { /* GPIO 21 */ - }; - - gpio@d500 { /* GPIO 22 */ - }; - - gpio@d600 { /* GPIO 23 */ - }; - - gpio@d700 { /* GPIO 24 */ - }; - - gpio@d800 { /* GPIO 25 */ - }; - - gpio@d900 { /* GPIO 26 */ - }; - - gpio@da00 { /* GPIO 27 */ - }; - - gpio@db00 { /* GPIO 28 */ - }; - - gpio@dc00 { /* GPIO 29 */ - qcom,pull = <0>; /* set to default pull */ - qcom,master-en = <1>; - qcom,vin-sel = <2>; /* select 1.8 V source */ - }; - - gpio@dd00 { /* GPIO 30 */ - }; - - gpio@de00 { /* GPIO 31 */ - }; - - gpio@df00 { /* GPIO 32 */ - }; - - gpio@e000 { /* GPIO 33 */ - }; - - gpio@e100 { /* GPIO 34 */ - }; - - gpio@e200 { /* GPIO 35 */ - }; - - gpio@e300 { /* GPIO 36 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,output-type = <0>; /* QPNP_PIN_OUT_BUF_CMOS */ - qcom,pull = <5>; /* QPNP_PIN_PULL_NO */ - qcom,vin-sel = <2>; /* QPNP_PIN_VIN2 */ - qcom,out-strength = <3>; /* QPNP_PIN_OUT_STRENGTH_HIGH */ - qcom,src-sel = <3>; /* QPNP_PIN_SEL_FUNC_2 */ - qcom,master-en = <1>; - }; -}; - -&pm8941_mpps { - - mpp@a000 { /* MPP 1 */ - status = "disabled"; - }; - - mpp@a100 { /* MPP 2 */ - }; - - mpp@a200 { /* MPP 3 */ - }; - - mpp@a300 { /* MPP 4 */ - }; - - mpp@a400 { /* MPP 5 */ - /* SPI_ETH config */ - qcom,mode = <1>; /* DIG_OUT */ - qcom,output-type = <0>; /* CMOS */ - qcom,vin-sel = <2>; /* PM8941_S3 1.8V > 1.6V */ - qcom,src-sel = <0>; /* CONSTANT */ - qcom,master-en = <1>; /* ENABLE MPP */ - }; - - mpp@a500 { /* MPP 6 */ - /* SPI_ETH_RST config */ - qcom,mode = <1>; /* DIG_OUT */ - qcom,output-type = <0>; /* CMOS */ - qcom,vin-sel = <2>; /* PM8941_S3 1.8V > 1.6V */ - qcom,src-sel = <0>; /* CONSTANT */ - qcom,master-en = <1>; /* ENABLE MPP */ - }; - - mpp@a600 { /* MPP 7 */ - }; - - mpp@a700 { /* MPP 8 */ - }; -}; - -&pm8841_mpps { - - mpp@a000 { /* MPP 1 */ - }; - - mpp@a100 { /* MPP 2 */ - }; - - mpp@a200 { /* MPP 3 */ - }; - - mpp@a300 { /* MPP 4 */ - }; -}; - -/* CoreSight */ -&tpiu { - qcom,seta-gpios = <&msmgpio 31 0>, - <&msmgpio 32 0>, - <&msmgpio 33 0>, - <&msmgpio 34 0>, - <&msmgpio 35 0>, - <&msmgpio 36 0>, - <&msmgpio 37 0>, - <&msmgpio 38 0>, - <&msmgpio 39 0>, - <&msmgpio 40 0>, - <&msmgpio 41 0>, - <&msmgpio 42 0>, - <&msmgpio 43 0>, - <&msmgpio 44 0>, - <&msmgpio 45 0>, - <&msmgpio 46 0>, - <&msmgpio 47 0>, - <&msmgpio 48 0>; - qcom,seta-gpios-func = <4 4 4 3 4 4 4 3 4 3 5 5 5 5 4 4 5 5>; - qcom,seta-gpios-drv = <7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7>; - qcom,seta-gpios-pull = <0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0>; - qcom,seta-gpios-dir = <2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2>; - - qcom,setb-gpios = <&msmgpio 15 0>, - <&msmgpio 16 0>, - <&msmgpio 17 0>, - <&msmgpio 18 0>, - <&msmgpio 19 0>, - <&msmgpio 20 0>, - <&msmgpio 21 0>, - <&msmgpio 22 0>, - <&msmgpio 23 0>, - <&msmgpio 24 0>, - <&msmgpio 25 0>, - <&msmgpio 26 0>, - <&msmgpio 27 0>, - <&msmgpio 28 0>, - <&msmgpio 89 0>, - <&msmgpio 90 0>, - <&msmgpio 91 0>, - <&msmgpio 92 0>; - qcom,setb-gpios-func = <2 2 2 2 5 5 5 5 6 6 6 7 7 5 2 3 3 3>; - qcom,setb-gpios-drv = <7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7>; - qcom,setb-gpios-pull = <0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0>; - qcom,setb-gpios-dir = <2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2>; -}; - -&slim_msm { - taiko_codec { - qcom,cdc-micbias1-ext-cap; - qcom,cdc-micbias3-ext-cap; - qcom,cdc-micbias4-ext-cap; - - /* If boot isn't available, vph_pwr_vreg can be used instead */ - cdc-vdd-spkdrv-supply = <&pm8941_boost>; - qcom,cdc-vdd-spkdrv-voltage = <5000000 5000000>; - qcom,cdc-vdd-spkdrv-current = <1250000>; - - qcom,cdc-on-demand-supplies = "cdc-vdd-spkdrv"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8974-clock.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v3/msm8974-clock.dtsi deleted file mode 100644 index bed5d70be..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8974-clock.dtsi +++ /dev/null @@ -1,27 +0,0 @@ -/* Copyright (c) 2012, 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. - */ - -&spmi_bus { - - qcom,pm8941@0 { - - pm8941_clkdiv1: clkdiv@5b00 { - qcom,cxo-div = <2>; - }; - - pm8941_clkdiv2: clkdiv@5c00 { - }; - - pm8941_clkdiv3: clkdiv@5d00 { - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8974-coresight.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v3/msm8974-coresight.dtsi deleted file mode 100644 index 1610f1f43..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8974-coresight.dtsi +++ /dev/null @@ -1,381 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&soc { - tmc_etr: tmc@fc322000 { - compatible = "arm,coresight-tmc"; - reg = <0xfc322000 0x1000>, - <0xfc37c000 0x3000>; - reg-names = "tmc-base", "bam-base"; - - qcom,memory-reservation-type = "EBI1"; - qcom,memory-reservation-size = <0x100000>; /* 1M EBI1 buffer */ - - coresight-id = <0>; - coresight-name = "coresight-tmc-etr"; - coresight-nr-inports = <1>; - coresight-ctis = <&cti0 &cti8>; - }; - - tpiu: tpiu@fc318000 { - compatible = "arm,coresight-tpiu"; - reg = <0xfc318000 0x1000>; - reg-names = "tpiu-base"; - - coresight-id = <1>; - coresight-name = "coresight-tpiu"; - coresight-nr-inports = <1>; - - vdd-supply = <&pm8941_l21>; - - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <9000 800000>; - }; - - replicator: replicator@fc31c000 { - compatible = "qcom,coresight-replicator"; - reg = <0xfc31c000 0x1000>; - reg-names = "replicator-base"; - - coresight-id = <2>; - coresight-name = "coresight-replicator"; - coresight-nr-inports = <1>; - coresight-outports = <0 1>; - coresight-child-list = <&tmc_etr &tpiu>; - coresight-child-ports = <0 0>; - }; - - tmc_etf: tmc@fc307000 { - compatible = "arm,coresight-tmc"; - reg = <0xfc307000 0x1000>; - reg-names = "tmc-base"; - - coresight-id = <3>; - coresight-name = "coresight-tmc-etf"; - coresight-nr-inports = <1>; - coresight-outports = <0>; - coresight-child-list = <&replicator>; - coresight-child-ports = <0>; - coresight-default-sink; - coresight-ctis = <&cti0 &cti8>; - }; - - funnel_merg: funnel@fc31b000 { - compatible = "arm,coresight-funnel"; - reg = <0xfc31b000 0x1000>; - reg-names = "funnel-base"; - - coresight-id = <4>; - coresight-name = "coresight-funnel-merg"; - coresight-nr-inports = <2>; - coresight-outports = <0>; - coresight-child-list = <&tmc_etf>; - coresight-child-ports = <0>; - }; - - funnel_in0: funnel@fc319000 { - compatible = "arm,coresight-funnel"; - reg = <0xfc319000 0x1000>; - reg-names = "funnel-base"; - - coresight-id = <5>; - coresight-name = "coresight-funnel-in0"; - coresight-nr-inports = <8>; - coresight-outports = <0>; - coresight-child-list = <&funnel_merg>; - coresight-child-ports = <0>; - }; - - funnel_in1: funnel@fc31a000 { - compatible = "arm,coresight-funnel"; - reg = <0xfc31a000 0x1000>; - reg-names = "funnel-base"; - - coresight-id = <6>; - coresight-name = "coresight-funnel-in1"; - coresight-nr-inports = <8>; - coresight-outports = <0>; - coresight-child-list = <&funnel_merg>; - coresight-child-ports = <1>; - }; - - funnel_kpss: funnel@fc345000 { - compatible = "arm,coresight-funnel"; - reg = <0xfc345000 0x1000>; - reg-names = "funnel-base"; - - coresight-id = <7>; - coresight-name = "coresight-funnel-kpss"; - coresight-nr-inports = <4>; - coresight-outports = <0>; - coresight-child-list = <&funnel_in1>; - coresight-child-ports = <5>; - }; - - funnel_mmss: funnel@fc364000 { - compatible = "arm,coresight-funnel"; - reg = <0xfc364000 0x1000>; - reg-names = "funnel-base"; - - - coresight-id = <8>; - coresight-name = "coresight-funnel-mmss"; - coresight-nr-inports = <8>; - coresight-outports = <0>; - coresight-child-list = <&funnel_in1>; - coresight-child-ports = <1>; - }; - - stm: stm@fc321000 { - compatible = "arm,coresight-stm"; - reg = <0xfc321000 0x1000>, - <0xfa280000 0x180000>; - reg-names = "stm-base", "stm-data-base"; - - coresight-id = <9>; - coresight-name = "coresight-stm"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_in1>; - coresight-child-ports = <7>; - }; - - etm0: etm@fc33c000 { - compatible = "arm,coresight-etm"; - reg = <0xfc33c000 0x1000>; - reg-names = "etm-base"; - - coresight-id = <10>; - coresight-name = "coresight-etm0"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_kpss>; - coresight-child-ports = <0>; - - qcom,pc-save; - qcom,round-robin; - }; - - etm1: etm@fc33d000 { - compatible = "arm,coresight-etm"; - reg = <0xfc33d000 0x1000>; - reg-names = "etm-base"; - - coresight-id = <11>; - coresight-name = "coresight-etm1"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_kpss>; - coresight-child-ports = <1>; - - qcom,pc-save; - qcom,round-robin; - }; - - etm2: etm@fc33e000 { - compatible = "arm,coresight-etm"; - reg = <0xfc33e000 0x1000>; - reg-names = "etm-base"; - - coresight-id = <12>; - coresight-name = "coresight-etm2"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_kpss>; - coresight-child-ports = <2>; - - qcom,pc-save; - qcom,round-robin; - }; - - etm3: etm@fc33f000 { - compatible = "arm,coresight-etm"; - reg = <0xfc33f000 0x1000>; - reg-names = "etm-base"; - - coresight-id = <13>; - coresight-name = "coresight-etm3"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_kpss>; - coresight-child-ports = <3>; - - qcom,pc-save; - qcom,round-robin; - }; - - csr: csr@fc302000 { - compatible = "qcom,coresight-csr"; - reg = <0xfc302000 0x1000>; - reg-names = "csr-base"; - - coresight-id = <14>; - coresight-name = "coresight-csr"; - coresight-nr-inports = <0>; - - qcom,blk-size = <3>; - }; - - cti0: cti@fc308000 { - compatible = "arm,coresight-cti"; - reg = <0xfc308000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <15>; - coresight-name = "coresight-cti0"; - coresight-nr-inports = <0>; - }; - - cti1: cti@fc309000 { - compatible = "arm,coresight-cti"; - reg = <0xfc309000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <16>; - coresight-name = "coresight-cti1"; - coresight-nr-inports = <0>; - }; - - cti2: cti@fc30a000 { - compatible = "arm,coresight-cti"; - reg = <0xfc30a000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <17>; - coresight-name = "coresight-cti2"; - coresight-nr-inports = <0>; - }; - - cti3: cti@fc30b000 { - compatible = "arm,coresight-cti"; - reg = <0xfc30b000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <18>; - coresight-name = "coresight-cti3"; - coresight-nr-inports = <0>; - }; - - cti4: cti@fc30c000 { - compatible = "arm,coresight-cti"; - reg = <0xfc30c000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <19>; - coresight-name = "coresight-cti4"; - coresight-nr-inports = <0>; - }; - - cti5: cti@fc30d000 { - compatible = "arm,coresight-cti"; - reg = <0xfc30d000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <20>; - coresight-name = "coresight-cti5"; - coresight-nr-inports = <0>; - }; - - cti6: cti@fc30e000 { - compatible = "arm,coresight-cti"; - reg = <0xfc30e000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <21>; - coresight-name = "coresight-cti6"; - coresight-nr-inports = <0>; - }; - - cti7: cti@fc30f000 { - compatible = "arm,coresight-cti"; - reg = <0xfc30f000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <22>; - coresight-name = "coresight-cti7"; - coresight-nr-inports = <0>; - }; - - cti8: cti@fc310000 { - compatible = "arm,coresight-cti"; - reg = <0xfc310000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <23>; - coresight-name = "coresight-cti8"; - coresight-nr-inports = <0>; - }; - - cti_l2: cti@fc340000 { - compatible = "arm,coresight-cti"; - reg = <0xfc340000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <24>; - coresight-name = "coresight-cti-l2"; - coresight-nr-inports = <0>; - }; - - cti_cpu0: cti@fc341000 { - compatible = "arm,coresight-cti"; - reg = <0xfc341000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <25>; - coresight-name = "coresight-cti-cpu0"; - coresight-nr-inports = <0>; - }; - - cti_cpu1: cti@fc342000 { - compatible = "arm,coresight-cti"; - reg = <0xfc342000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <26>; - coresight-name = "coresight-cti-cpu1"; - coresight-nr-inports = <0>; - }; - - cti_cpu2: cti@fc343000 { - compatible = "arm,coresight-cti"; - reg = <0xfc343000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <27>; - coresight-name = "coresight-cti-cpu2"; - coresight-nr-inports = <0>; - }; - - cti_cpu3: cti@fc344000 { - compatible = "arm,coresight-cti"; - reg = <0xfc344000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <28>; - coresight-name = "coresight-cti-cpu3"; - coresight-nr-inports = <0>; - }; - - hwevent: hwevent@fdf30018 { - compatible = "qcom,coresight-hwevent"; - reg = <0xfdf30018 0x80>, - <0xf9011080 0x80>, - <0xfd4ab160 0x80>; - reg-names = "mmss-mux", "apcs-mux", "ppss-mux"; - - coresight-id = <29>; - coresight-name = "coresight-hwevent"; - coresight-nr-inports = <0>; - - qcom,hwevent-clks = "core_mmss_clk"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8974-fluid.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v3/msm8974-fluid.dtsi deleted file mode 100644 index a822af5fa..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8974-fluid.dtsi +++ /dev/null @@ -1,667 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/include/ "dsi-panel-toshiba-720p-video.dtsi" -/include/ "msm8974-camera-sensor-fluid.dtsi" -/include/ "msm8974-leds.dtsi" - -&soc { - serial@f991e000 { - status = "ok"; - }; - - qcom,mdss_dsi_toshiba_720p_video { - status = "ok"; - qcom,cont-splash-enabled; - }; - - qcom,hdmi_tx@fd922100 { - status = "ok"; - }; - - i2c@f9924000 { - atmel_mxt_ts@4a { - compatible = "atmel,mxt-ts"; - reg = <0x4a>; - interrupt-parent = <&msmgpio>; - interrupts = <61 0x2>; - vdd_ana-supply = <&pm8941_l18>; - vcc_i2c-supply = <&pm8941_lvs1>; - atmel,reset-gpio = <&msmgpio 60 0x00>; - atmel,irq-gpio = <&msmgpio 61 0x00>; - atmel,panel-coords = <0 0 760 1424>; - atmel,display-coords = <0 0 720 1280>; - atmel,i2c-pull-up; - atmel,no-force-update; - atmel,cfg_1 { - atmel,family-id = <0x82>; - atmel,variant-id = <0x19>; - atmel,version = <0x10>; - atmel,build = <0xaa>; - atmel,config = [ - /* Object 6, Instance = 0 */ - 00 00 00 00 00 00 - /* Object 38, Instance = 0 */ - 15 01 00 03 0A 0C 00 00 - /* Object 7, Instance = 0 */ - 20 08 32 03 - /* Object 8, Instance = 0 */ - 0F 00 0A 0A 00 00 0A 0A 00 00 - /* Object 9, Instance = 0 */ - 83 00 00 18 0E 00 70 46 02 01 - 00 0A 03 31 04 05 0A 0A 90 05 - F8 02 05 F1 F1 0F 00 00 08 2D - 12 06 00 00 00 01 - /* Object 15, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 - /* Object 18, Instance = 0 */ - 00 00 - /* Object 19, Instance = 0 */ - 00 00 00 00 00 00 - /* Object 23, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 - /* Object 25, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 - /* Object 40, Instance = 0 */ - 00 00 00 00 00 - /* Object 42, Instance = 0 */ - 33 1E 19 10 80 00 00 00 FF 00 - /* Object 46, Instance = 0 */ - 00 00 10 10 00 00 03 00 00 01 - /* Object 47, Instance = 0 */ - 08 0A 28 0A 02 0A 00 8C 00 20 - 00 00 00 - /* Object 55, Instance = 0 */ - 00 00 00 00 00 00 - /* Object 56, Instance = 0 */ - 00 00 00 18 05 05 05 05 05 05 - 05 05 05 05 05 05 05 05 05 05 - 05 05 05 05 05 05 05 05 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 - /* Object 57, Instance = 0 */ - 00 00 00 - /* Object 61, Instance = 0 */ - 00 00 00 00 00 - /* Object 62, Instance = 0 */ - 01 2A 00 16 00 00 00 00 0B 01 - 02 03 04 08 00 00 08 10 18 05 - 00 0A 05 05 50 14 19 34 1A 7F - 00 00 00 00 00 00 00 00 00 30 - 05 02 00 01 00 05 00 00 00 00 - 00 00 00 00 - ]; - }; - }; - }; - - i2c@f9967000 { - sii8334@72 { - compatible = "qcom,mhl-sii8334"; - reg = <0x72>; - interrupt-parent = <&msmgpio>; - interrupts = <82 0x8>; - mhl-intr-gpio = <&msmgpio 82 0>; - mhl-pwr-gpio = <&msmgpio 12 0>; - mhl-rst-gpio = <&pm8941_mpps 8 0>; - avcc_18-supply = <&pm8941_l24>; - avcc_12-supply = <&pm8941_l2>; - smps3a-supply = <&pm8941_s3>; - vdda-supply = <&pm8941_l12>; - qcom,hdmi-tx-map = <&mdss_hdmi_tx>; - }; - - isa1200@48 { - status = "okay"; - reg = <0x48>; - vcc_i2c-supply = <&pm8941_s3>; - compatible = "imagis,isa1200"; - label = "vibrator"; - imagis,chip-en; - imagis,need-pwm-clk; - imagis,ext-clk-en; - imagis,hap-en-gpio = <&msmgpio 86 0x00>; - imagis,max-timeout = <15000>; - imagis,pwm-div = <256>; - imagis,mode-ctrl = <2>; - imagis,regulator { - regulator-name = "vcc_i2c"; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - regulator-max-microamp = <9360>; - }; - }; - }; - - gen-vkeys { - compatible = "qcom,gen-vkeys"; - label = "atmel_mxt_ts"; - qcom,disp-maxx = <720>; - qcom,disp-maxy = <1280>; - qcom,panel-maxx = <760>; - qcom,panel-maxy = <1424>; - qcom,key-codes = <158 139 102 217>; - }; - - gpio_keys { - compatible = "gpio-keys"; - input-name = "gpio-keys"; - - camera_snapshot { - label = "camera_snapshot"; - gpios = <&pm8941_gpios 3 0x1>; - linux,input-type = <1>; - linux,code = <0x2fe>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - - camera_focus { - label = "camera_focus"; - gpios = <&pm8941_gpios 4 0x1>; - linux,input-type = <1>; - linux,code = <0x210>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - - vol_up { - label = "volume_up"; - gpios = <&pm8941_gpios 5 0x1>; - linux,input-type = <1>; - linux,code = <115>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - }; - - spi@f9923000 { - ethernet-switch@2 { - compatible = "micrel,ks8851"; - reg = <2>; - interrupt-parent = <&msmgpio>; - interrupts = <94 0>; - spi-max-frequency = <4800000>; - rst-gpio = <&pm8941_mpps 6 0>; - vdd-io-supply = <&spi_eth_vreg>; - vdd-phy-supply = <&spi_eth_vreg>; - }; - }; - - sound { - qcom,model = "msm8974-taiko-fluid-snd-card"; - qcom,audio-routing = - "RX_BIAS", "MCLK", - "LDO_H", "MCLK", - "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", - "Lineout_1 amp", "LINEOUT1", - "Lineout_3 amp", "LINEOUT3"; - - qcom,hdmi-audio-rx; - qcom,ext-ult-lo-amp-gpio = <&pm8941_gpios 6 0>; - qcom,cdc-micbias2-headset-only; - }; -}; - -&slim_msm { - taiko_codec { - qcom,cdc-micbias1-ext-cap; - qcom,cdc-micbias2-ext-cap; - qcom,cdc-micbias3-ext-cap; - qcom,cdc-micbias4-ext-cap; - - /* If boot isn't available, vph_pwr_vreg can be used instead */ - cdc-vdd-spkdrv-supply = <&pm8941_boost>; - qcom,cdc-vdd-spkdrv-voltage = <5000000 5000000>; - qcom,cdc-vdd-spkdrv-current = <1250000>; - - qcom,cdc-on-demand-supplies = "cdc-vdd-spkdrv"; - }; -}; - -&spmi_bus { - qcom,pm8941@1 { - qcom,leds@d800 { - status = "okay"; - qcom,wled_0 { - label = "wled"; - linux,name = "wled:backlight"; - linux,default-trigger = "bkl-trigger"; - qcom,cs-out-en; - qcom,op-fdbck = <1>; - qcom,default-state = "on"; - qcom,max-current = <25>; - qcom,ctrl-delay-us = <0>; - qcom,boost-curr-lim = <3>; - qcom,cp-sel = <0>; - qcom,switch-freq = <2>; - qcom,ovp-val = <2>; - qcom,num-strings = <1>; - qcom,id = <0>; - }; - }; - - qcom,leds@d900 { - status = "disabled"; - }; - - qcom,leds@da00 { - status = "disabled"; - }; - - qcom,leds@db00 { - status = "disabled"; - }; - - qcom,leds@dc00 { - status = "disabled"; - }; - - qcom,leds@dd00 { - status = "disabled"; - }; - - qcom,leds@de00 { - status = "disabled"; - }; - - qcom,leds@df00 { - status = "disabled"; - }; - - qcom,leds@e000 { - status = "disabled"; - }; - - qcom,leds@e100 { - status = "disabled"; - }; - }; -}; - -&sdcc1 { - status = "disabled"; -}; - -&sdcc2 { - #address-cells = <0>; - interrupt-parent = <&sdcc2>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 125 0 - 1 &intc 0 220 0 - 2 &msmgpio 62 0x3>; - interrupt-names = "core_irq", "bam_irq", "status_irq"; - cd-gpios = <&msmgpio 62 0x1>; - status = "disabled"; -}; - -&sdhc_1 { - vdd-supply = <&pm8941_l20>; - vdd-io-supply = <&pm8941_s3>; - - qcom,vdd-always-on; - qcom,vdd-lpm-sup; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <800 500000>; - - qcom,vdd-io-always-on; - qcom,vdd-io-voltage-level = <1800000 1800000>; - qcom,vdd-io-current-level = <250 154000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,nonremovable; - status = "ok"; -}; - -&sdhc_2 { - #address-cells = <0>; - interrupt-parent = <&sdhc_2>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 125 0 - 1 &intc 0 221 0 - 2 &msmgpio 62 0x3>; - interrupt-names = "hc_irq", "pwr_irq", "status_irq"; - cd-gpios = <&msmgpio 62 0x1>; - - vdd-supply = <&pm8941_l21>; - vdd-io-supply = <&pm8941_l13>; - - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <9000 800000>; - - qcom,vdd-io-voltage-level = <1800000 2950000>; - qcom,vdd-io-current-level = <6 22000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - status = "ok"; -}; - -/* Drive strength recommendations for clock line from hardware team is 10 mA. - * But since the driver has been been using the below values from the start - * without any problems, continue to use those. - */ -&sdcc1 { - qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */ -}; - -&sdcc2 { - qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */ -}; - -&sdhc_1 { - qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */ -}; - -&sdhc_2 { - qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */ -}; - -&usb3 { - qcom,otg-capability; -}; - -&pm8941_bms { - status = "ok"; -}; - -&pm8941_chg { - status = "ok"; - qcom,charging-disabled; - - qcom,chgr@1000 { - status = "ok"; - }; - - qcom,buck@1100 { - status = "ok"; - }; - - qcom,bat-if@1200 { - status = "ok"; - }; - - qcom,usb-chgpth@1300 { - status = "ok"; - }; - - qcom,dc-chgpth@1400 { - status = "ok"; - }; - - qcom,boost@1500 { - status = "ok"; - }; - - qcom,chg-misc@1600 { - status = "ok"; - }; -}; - -&pm8941_gpios { - gpio@c000 { /* GPIO 1 */ - }; - - gpio@c100 { /* GPIO 2 */ - }; - - gpio@c200 { /* GPIO 3 */ - qcom,mode = <0>; - qcom,pull = <0>; - qcom,vin-sel = <2>; - qcom,src-sel = <0>; - }; - - gpio@c300 { /* GPIO 4 */ - qcom,mode = <0>; - qcom,pull = <0>; - qcom,vin-sel = <2>; - qcom,src-sel = <0>; - }; - - gpio@c400 { /* GPIO 5 */ - qcom,mode = <0>; - qcom,pull = <0>; - qcom,vin-sel = <2>; - qcom,src-sel = <0>; - }; - - gpio@c500 { /* GPIO 6 */ - }; - - gpio@c600 { /* GPIO 7 */ - }; - - gpio@c700 { /* GPIO 8 */ - }; - - gpio@c800 { /* GPIO 9 */ - }; - - gpio@c900 { /* GPIO 10 */ - }; - - gpio@ca00 { /* GPIO 11 */ - }; - - gpio@cb00 { /* GPIO 12 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,output-type = <0>; /* QPNP_PIN_OUT_BUF_CMOS */ - qcom,pull = <5>; /* QPNP_PIN_PULL_NO */ - qcom,vin-sel = <2>; /* QPNP_PIN_VIN2 */ - qcom,out-strength = <2>; /* QPNP_PIN_OUT_STRENGTH_MED */ - qcom,src-sel = <0>; /* QPNP_PIN_SEL_FUNC_CONSTANT */ - qcom,master-en = <1>; - }; - - gpio@cc00 { /* GPIO 13 */ - }; - - gpio@cd00 { /* GPIO 14 */ - }; - - gpio@ce00 { /* GPIO 15 */ - qcom,mode = <1>; - qcom,output-type = <0>; - qcom,pull = <5>; - qcom,vin-sel = <2>; - qcom,out-strength = <1>; - qcom,src-sel = <2>; - qcom,master-en = <1>; - }; - - gpio@cf00 { /* GPIO 16 */ - qcom,mode = <1>; - qcom,output-type = <0>; - qcom,pull = <5>; - qcom,vin-sel = <2>; - qcom,out-strength = <3>; - qcom,src-sel = <2>; - qcom,master-en = <1>; - }; - - gpio@d000 { /* GPIO 17 */ - }; - - gpio@d100 { /* GPIO 18 */ - }; - - gpio@d200 { /* GPIO 19 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,output-type = <0>; /* QPNP_PIN_OUT_BUF_CMOS */ - qcom,pull = <5>; /* QPNP_PIN_PULL_NO */ - qcom,vin-sel = <2>; /* QPNP_PIN_VIN2 */ - qcom,out-strength = <2>; /* QPNP_PIN_OUT_STRENGTH_MED */ - qcom,src-sel = <0>; /* QPNP_PIN_SEL_FUNC_CONSTANT */ - qcom,master-en = <1>; - }; - - gpio@d300 { /* GPIO 20 */ - }; - - gpio@d400 { /* GPIO 21 */ - }; - - gpio@d500 { /* GPIO 22 */ - }; - - gpio@d600 { /* GPIO 23 */ - }; - - gpio@d700 { /* GPIO 24 */ - }; - - gpio@d800 { /* GPIO 25 */ - }; - - gpio@d900 { /* GPIO 26 */ - }; - - gpio@da00 { /* GPIO 27 */ - }; - - gpio@db00 { /* GPIO 28 */ - }; - - gpio@dc00 { /* GPIO 29 */ - qcom,pull = <0>; /* set to default pull */ - qcom,master-en = <1>; - qcom,vin-sel = <2>; /* select 1.8 V source */ - }; - - gpio@dd00 { /* GPIO 30 */ - }; - - gpio@de00 { /* GPIO 31 */ - }; - - gpio@df00 { /* GPIO 32 */ - }; - - gpio@e000 { /* GPIO 33 */ - }; - - gpio@e100 { /* GPIO 34 */ - }; - - gpio@e200 { /* GPIO 35 */ - }; - - gpio@e300 { /* GPIO 36 */ - }; -}; - -&pm8941_mpps { - - mpp@a000 { /* MPP 1 */ - status = "disabled"; - }; - - mpp@a100 { /* MPP 2 */ - }; - - mpp@a200 { /* MPP 3 */ - }; - - mpp@a300 { /* MPP 4 */ - }; - - mpp@a400 { /* MPP 5 */ - }; - - mpp@a500 { /* MPP 6 */ - /* SPI_ETH_RST config */ - qcom,mode = <1>; /* DIG_OUT */ - qcom,output-type = <0>; /* CMOS */ - qcom,vin-sel = <2>; /* PM8941_S3 1.8V > 1.6V */ - qcom,src-sel = <0>; /* CONSTANT */ - qcom,master-en = <1>; /* ENABLE MPP */ - }; - - mpp@a600 { /* MPP 7 */ - }; - - mpp@a700 { /* MPP 8 */ - qcom,mode = <1>; /* DIG_OUT */ - qcom,output-type = <0>; /* CMOS */ - qcom,pull = <0>; - qcom,vin-sel = <2>; /* PM8941_S3 1.8V > 1.6V */ - qcom,src-sel = <0>; /* CONSTANT */ - qcom,master-en = <1>; /* ENABLE MPP */ - }; -}; - -&pm8841_mpps { - - mpp@a000 { /* MPP 1 */ - }; - - mpp@a100 { /* MPP 2 */ - }; - - mpp@a200 { /* MPP 3 */ - }; - - mpp@a300 { /* MPP 4 */ - }; -}; - -&spi_epm { - epm-adc@0 { - compatible = "cy,epm-adc-cy8c5568lti-114"; - reg = <0>; - interrupt-parent = <&msmgpio>; - spi-max-frequency = <960000>; - qcom,channels = <31>; - qcom,gain = <100 100 100 50 100 100 1 100 1 50 - 1 100 1 100 50 50 50 50 50 50 - 100 50 100 50 50 50 50 50 50 50 - 50>; - qcom,rsense = <2 2 2 200 20 2 1 2 1 30 - 1 10 1 30 50 30 500 30 100 30 - 100 500 20 200 1000 20 1000 1000 70 200 - 50>; - qcom,channel-type = <0x1540>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8974-gpu.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v3/msm8974-gpu.dtsi deleted file mode 100644 index 06b9c187b..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8974-gpu.dtsi +++ /dev/null @@ -1,185 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ -&soc { - msm_gpu: qcom,kgsl-3d0@fdb00000 { - label = "kgsl-3d0"; - compatible = "qcom,kgsl-3d0", "qcom,kgsl-3d"; - reg = <0xfdb00000 0x10000 - 0xfdb20000 0x10000>; - reg-names = "kgsl_3d0_reg_memory" , "kgsl_3d0_shader_memory"; - interrupts = <0 33 0>; - interrupt-names = "kgsl_3d0_irq"; - qcom,id = <0>; - - qcom,chipid = <0x03030000>; - - qcom,initial-pwrlevel = <2>; - qcom,step-pwrlevel = <2>; - - qcom,idle-timeout = <8>; // - qcom,strtstp-sleepwake; - qcom,clk-map = <0x0000006>; //KGSL_CLK_CORE | KGSL_CLK_IFACE - - /* Bus Scale Settings */ - qcom,msm-bus,name = "grp3d"; - qcom,msm-bus,num-cases = <6>; - qcom,msm-bus,num-paths = <2>; - qcom,msm-bus,vectors-KBps = - <26 512 0 0>, <89 604 0 0>, - <26 512 0 2200000>, <89 604 0 3000000>, - <26 512 0 4000000>, <89 604 0 3000000>, - <26 512 0 4000000>, <89 604 0 4500000>, - <26 512 0 6400000>, <89 604 0 4500000>, - <26 512 0 6400000>, <89 604 0 7600000>; - - /* GDSC oxili regulators */ - vddcx-supply = <&gdsc_oxili_cx>; - vdd-supply = <&gdsc_oxili_gx>; - - /* Power levels */ - - /* IOMMU Data */ - iommu = <&kgsl_iommu>; - - /* Trace bus */ - coresight-id = <67>; - coresight-name = "coresight-gfx"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_mmss>; - coresight-child-ports = <7>; - - qcom,gpu-pwrlevels { - #address-cells = <1>; - #size-cells = <0>; - - compatible = "qcom,gpu-pwrlevels"; - - qcom,gpu-pwrlevel@0 { - reg = <0>; - qcom,gpu-freq = <450000000>; - qcom,bus-freq = <5>; - qcom,io-fraction = <33>; - }; - - qcom,gpu-pwrlevel@1 { - reg = <1>; - qcom,gpu-freq = <320000000>; - qcom,bus-freq = <4>; - qcom,io-fraction = <66>; - }; - - qcom,gpu-pwrlevel@2 { - reg = <2>; - qcom,gpu-freq = <320000000>; - qcom,bus-freq = <3>; - qcom,io-fraction = <66>; - }; - - qcom,gpu-pwrlevel@3 { - reg = <3>; - qcom,gpu-freq = <200000000>; - qcom,bus-freq = <2>; - qcom,io-fraction = <100>; - }; - - qcom,gpu-pwrlevel@4 { - reg = <4>; - qcom,gpu-freq = <200000000>; - qcom,bus-freq = <1>; - qcom,io-fraction = <100>; - }; - - qcom,gpu-pwrlevel@5 { - reg = <5>; - qcom,gpu-freq = <27000000>; - qcom,bus-freq = <0>; - qcom,io-fraction = <0>; - }; - }; - - qcom,dcvs-core-info { - #address-cells = <1>; - #size-cells = <0>; - - compatible = "qcom,dcvs-core-info"; - - qcom,num-cores = <1>; - qcom,sensors = <0>; - - qcom,core-core-type = <1>; - - qcom,algo-disable-pc-threshold = <0>; - qcom,algo-em-win-size-min-us = <100000>; - qcom,algo-em-win-size-max-us = <300000>; - qcom,algo-em-max-util-pct = <97>; - qcom,algo-group-id = <95>; - qcom,algo-max-freq-chg-time-us = <100000>; - qcom,algo-slack-mode-dynamic = <100000>; - qcom,algo-slack-weight-thresh-pct = <0>; - qcom,algo-slack-time-min-us = <39000>; - qcom,algo-slack-time-max-us = <39000>; - qcom,algo-ss-win-size-min-us = <1000000>; - qcom,algo-ss-win-size-max-us = <1000000>; - qcom,algo-ss-util-pct = <95>; - qcom,algo-ss-no-corr-below-freq = <0>; - - qcom,energy-active-coeff-a = <2492>; - qcom,energy-active-coeff-b = <0>; - qcom,energy-active-coeff-c = <0>; - qcom,energy-leakage-coeff-a = <11>; - qcom,energy-leakage-coeff-b = <157150>; - qcom,energy-leakage-coeff-c = <0>; - qcom,energy-leakage-coeff-d = <0>; - - qcom,power-current-temp = <25>; - qcom,power-num-freq = <4>; - - qcom,dcvs-freq@0 { - reg = <0>; - qcom,freq = <0>; - qcom,voltage = <0>; - qcom,is_trans_level = <0>; - qcom,active-energy-offset = <100>; - qcom,leakage-energy-offset = <0>; - }; - - qcom,dcvs-freq@1 { - reg = <1>; - qcom,freq = <0>; - qcom,voltage = <0>; - qcom,is_trans_level = <0>; - qcom,active-energy-offset = <100>; - qcom,leakage-energy-offset = <0>; - }; - - qcom,dcvs-freq@2 { - reg = <2>; - qcom,freq = <0>; - qcom,voltage = <0>; - qcom,is_trans_level = <0>; - qcom,active-energy-offset = <100>; - qcom,leakage-energy-offset = <0>; - }; - - qcom,dcvs-freq@3 { - reg = <3>; - qcom,freq = <0>; - qcom,voltage = <0>; - qcom,is_trans_level = <0>; - qcom,active-energy-offset = <844545>; - qcom,leakage-energy-offset = <0>; - }; - }; - - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8974-ion.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v3/msm8974-ion.dtsi deleted file mode 100644 index 63f6d59c2..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8974-ion.dtsi +++ /dev/null @@ -1,59 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&soc { - qcom,ion { - compatible = "qcom,msm-ion"; - #address-cells = <1>; - #size-cells = <0>; - - qcom,ion-heap@30 { /* SYSTEM HEAP */ - reg = <30>; - }; - - qcom,ion-heap@21 { /* SYSTEM CONTIG HEAP */ - reg = <21>; - }; - - qcom,ion-heap@8 { /* CP_MM HEAP */ - compatible = "qcom,msm-ion-reserve"; - reg = <8>; - qcom,heap-align = <0x1000>; - linux,contiguous-region = <&secure_mem>; - }; - - qcom,ion-heap@22 { /* adsp heap */ - compatible = "qcom,msm-ion-reserve"; - reg = <22>; - qcom,heap-align = <0x1000>; - linux,contiguous-region = <&adsp_mem>; - }; - - qcom,ion-heap@25 { /* IOMMU HEAP */ - reg = <25>; - }; - - qcom,ion-heap@27 { /* QSECOM HEAP */ - compatible = "qcom,msm-ion-reserve"; - reg = <27>; - linux,contiguous-region = <&qsecom_mem>; - }; - - qcom,ion-heap@28 { /* AUDIO HEAP */ - compatible = "qcom,msm-ion-reserve"; - reg = <28>; - qcom,heap-align = <0x1000>; - qcom,memory-reservation-type = "EBI1"; /* reserve EBI memory */ - qcom,memory-reservation-size = <0x614000>; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8974-leds.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v3/msm8974-leds.dtsi deleted file mode 100644 index 5e91f4597..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8974-leds.dtsi +++ /dev/null @@ -1,129 +0,0 @@ -/* - * Copyright (c) 2012-2013, 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. - */ - -&spmi_bus { - qcom,pm8941@1 { - qcom,leds@d000 { - status = "okay"; - qcom,rgb_0 { - label = "rgb"; - linux,name = "led:rgb_red"; - qcom,mode = "pwm"; - qcom,pwm-channel = <6>; - qcom,pwm-us = <1000>; - qcom,max-current = <12>; - qcom,default-state = "off"; - qcom,id = <3>; - linux,default-trigger = - "battery-charging"; - }; - - qcom,rgb_1 { - label = "rgb"; - linux,name = "led:rgb_green"; - qcom,mode = "pwm"; - qcom,pwm-channel = <5>; - qcom,pwm-us = <1000>; - qcom,max-current = <12>; - qcom,default-state = "off"; - qcom,id = <4>; - linux,default-trigger = "battery-full"; - }; - - qcom,rgb_2 { - label = "rgb"; - linux,name = "led:rgb_blue"; - qcom,mode = "pwm"; - qcom,pwm-channel = <4>; - qcom,pwm-us = <1000>; - qcom,max-current = <12>; - qcom,id = <5>; - status = "disabled"; - }; - }; - - qcom,leds@d100 { - status = "disabled"; - }; - - qcom,leds@d200 { - status = "disabled"; - }; - - qcom,leds@d300 { - status = "okay"; - pm8941_flash0: qcom,flash_0 { - qcom,max-current = <1000>; - qcom,default-state = "off"; - qcom,headroom = <3>; - qcom,duration = <1280>; - qcom,clamp-curr = <200>; - qcom,startup-dly = <3>; - qcom,safety-timer; - label = "flash"; - linux,default-trigger = - "flash0_trigger"; - qcom,id = <1>; - linux,name = "led:flash_0"; - qcom,current = <625>; - }; - - pm8941_flash1: qcom,flash_1 { - qcom,max-current = <1000>; - qcom,default-state = "off"; - qcom,headroom = <3>; - qcom,duration = <1280>; - qcom,clamp-curr = <200>; - qcom,startup-dly = <3>; - qcom,safety-timer; - linux,default-trigger = - "flash1_trigger"; - label = "flash"; - qcom,id = <2>; - linux,name = "led:flash_1"; - qcom,current = <625>; - }; - - pm8941_torch: qcom,flash_torch { - qcom,max-current = <200>; - qcom,default-state = "off"; - qcom,headroom = <0>; - qcom,startup-dly = <1>; - linux,default-trigger = - "torch_trigger"; - label = "flash"; - qcom,id = <2>; - linux,name = "led:flash_torch"; - qcom,current = <200>; - qcom,torch-enable; - }; - }; - - qcom,leds@d400 { - status = "disabled"; - }; - - qcom,leds@d500 { - status = "disabled"; - }; - - qcom,leds@d600 { - status = "disabled"; - }; - - qcom,leds@d700 { - status = "disabled"; - }; - }; -}; - diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8974-liquid.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v3/msm8974-liquid.dtsi deleted file mode 100644 index 2dc52b6be..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8974-liquid.dtsi +++ /dev/null @@ -1,893 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/include/ "msm8974-leds.dtsi" -/include/ "msm8974-camera-sensor-liquid.dtsi" - -&soc { - serial@f991e000 { - status = "ok"; - }; - - qcom,mdss_edp@fd923400 { - status = "ok"; - }; - - i2c@f9967000 { - battery@b { - compatible = "ti,bq28400-battery"; - reg = <0xb>; - ti,temp-cold = <2>; /* degree celsius */ - ti,temp-hot = <43>; /* degree celsius */ - }; - - charger@2b { - compatible = "summit,smb350-charger"; - reg = <0x2b>; /* 0x56/0x57 */ - summit,stat-gpio = <&pm8941_gpios 30 0x00>; - summit,chg-en-n-gpio = <&pm8941_gpios 10 0x00>; - summit,chg-susp-n-gpio = <&pm8941_gpios 13 0x00>; - summit,chg-current-ma = <1600>; - summit,term-current-ma = <300>; - }; - }; - - gpio_keys { - compatible = "gpio-keys"; - input-name = "gpio-keys"; - - home { - label = "home"; - gpios = <&pm8941_gpios 1 0x1>; - linux,input-type = <1>; - linux,code = <102>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - - vol_down { - label = "volume_down"; - gpios = <&pm8941_gpios 2 0x1>; - linux,input-type = <1>; - linux,code = <114>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - - vol_up { - label = "volume_up"; - gpios = <&pm8941_gpios 5 0x1>; - linux,input-type = <1>; - linux,code = <115>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - }; - - qcom,hdmi_tx@fd922100 { - status = "ok"; - - qcom,hdmi-tx-mux-sel = <&pm8841_mpps 3 0>; - qcom,hdmi-tx-mux-en = <&pm8841_mpps 4 0>; - }; - - drv2667_vreg: drv2667_vdd_vreg { - compatible = "regulator-fixed"; - regulator-name = "vdd_drv2667"; - }; - - i2c@f9967000 { - ti-drv2667@59 { - compatible = "ti,drv2667"; - reg = <0x59>; - vdd-supply = <&drv2667_vreg>; - vdd-i2c-supply = <&pm8941_s3>; - ti,label = "vibrator"; - ti,gain = <2>; - ti,idle-timeout-ms = <20>; - ti,max-runtime-ms = <15000>; - ti,mode = <2>; - ti,wav-seq = [ - /* wave form id */ - 01 - /* header size, start and stop bytes */ - 05 80 06 00 09 - /* repeat, amp, freq, duration, envelope */ - 01 ff 19 02 00]; - }; - }; - - i2c@f9924000 { - atmel_mxt_ts@4a { - compatible = "atmel,mxt-ts"; - reg = <0x4a>; - interrupt-parent = <&msmgpio>; - interrupts = <61 0x2>; - vdd_ana-supply = <&pm8941_l22>; - vcc_i2c-supply = <&pm8941_s3>; - atmel,reset-gpio = <&msmgpio 60 0x00>; - atmel,irq-gpio = <&msmgpio 61 0x00>; - atmel,panel-coords = <0 0 1080 1920>; - atmel,display-coords = <0 0 1080 1920>; - atmel,i2c-pull-up; - atmel,no-force-update; - atmel,cfg_1 { - atmel,family-id = <0xa2>; - atmel,variant-id = <0x00>; - atmel,version = <0x11>; - atmel,build = <0xaa>; - atmel,config = [ - /* Object 6, Instance = 0 */ - 00 00 00 00 00 00 - /* Object 38, Instance = 0 */ - 16 00 00 14 09 0C 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 - /* Object 7, Instance = 0 */ - FF FF 0A 03 - /* Object 8, Instance = 0 */ - 5F 00 14 14 00 00 00 01 00 00 - /* Object 9, Instance = 0 */ - 8F 00 00 20 34 00 87 3C 08 03 - 00 05 03 80 0A 14 14 0A 80 07 - 38 04 00 00 00 00 00 00 00 00 - 0F 0F 2E 33 02 00 - /* Object 15, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 - /* Object 18, Instance = 0 */ - 04 00 - /* Object 24, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 - /* Object 25, Instance = 0 */ - 00 00 54 6F F0 55 00 00 00 00 - 00 00 00 00 00 - /* Object 27, Instance = 0 */ - 00 00 00 00 00 00 00 - /* Object 40, Instance = 0 */ - 00 14 14 14 14 - /* Object 42, Instance = 0 */ - 20 14 00 00 00 14 11 00 03 00 - /* Object 43, Instance = 0 */ - 09 00 01 01 91 00 80 00 00 00 - 00 00 - /* Object 46, Instance = 0 */ - 00 00 10 10 00 00 01 00 00 0F - 0A - /* Object 47, Instance = 0 */ - 00 14 23 02 05 1E 01 78 03 10 - 00 00 0C 00 00 00 00 00 00 00 - 00 00 - /* Object 55, Instance = 0 */ - 00 00 00 00 00 00 00 - /* Object 56, Instance = 0 */ - 02 00 01 30 13 14 14 14 15 15 - 15 15 15 15 15 16 16 16 16 16 - 16 16 16 16 16 15 14 14 14 14 - 15 14 14 14 14 13 00 00 01 02 - 05 05 00 00 00 00 00 00 00 00 - 00 - /* Object 57, Instance = 0 */ - 00 00 00 - /* Object 61, Instance = 0 */ - 00 00 00 00 00 - /* Object 62, Instance = 0 */ - 00 01 03 01 00 00 00 00 00 0A - 0F 14 19 23 05 00 0A 05 05 69 - 23 23 34 11 64 06 06 04 40 00 - 00 00 00 00 69 4B 02 00 00 80 - 0A 14 14 18 18 10 10 80 00 80 - 00 00 0F 02 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 - /* Object 63, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 00 - ]; - }; - atmel,cfg_2 { - atmel,family-id = <0xa2>; - atmel,variant-id = <0x00>; - atmel,version = <0x11>; - atmel,build = <0xaa>; - atmel,config = [ - /* Object 6, Instance = 0 */ - 00 00 00 00 00 00 - /* Object 38, Instance = 0 */ - 19 03 00 1E 05 0D 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 - /* Object 7, Instance = 0 */ - 20 08 32 C3 - /* Object 8, Instance = 0 */ - 41 00 14 14 00 00 00 01 00 00 - /* Object 9, Instance = 0 */ - 8F 00 00 20 34 00 87 4B 02 03 - 00 05 03 41 0A 14 14 0A 80 07 - 38 04 00 00 03 03 08 28 02 3C - 0F 0F 2E 33 01 00 - /* Object 15, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 - /* Object 18, Instance = 0 */ - 04 00 - /* Object 24, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 - /* Object 25, Instance = 0 */ - 00 00 54 6F F0 55 00 00 00 00 - 00 00 00 00 00 - /* Object 27, Instance = 0 */ - 00 00 00 00 00 00 00 - /* Object 40, Instance = 0 */ - 00 14 14 14 14 - /* Object 42, Instance = 0 */ - 23 32 14 14 80 00 0A 00 05 05 - /* Object 43, Instance = 0 */ - 08 00 01 01 91 00 80 00 00 00 - 00 00 - /* Object 46, Instance = 0 */ - 00 00 18 18 00 00 01 00 00 0F - 0A - /* Object 47, Instance = 0 */ - 00 14 28 02 05 28 01 78 03 10 - 00 00 0C 00 00 00 00 00 00 00 - 00 00 - /* Object 55, Instance = 0 */ - 00 00 00 00 00 00 00 - /* Object 56, Instance = 0 */ - 01 00 00 30 13 14 14 14 15 15 - 15 15 15 15 15 16 16 16 16 16 - 16 16 16 16 16 15 14 14 14 14 - 15 14 14 14 14 13 03 20 03 01 - 0A 04 00 00 00 00 00 00 00 00 - 1A - /* Object 57, Instance = 0 */ - 00 00 00 - /* Object 61, Instance = 0 */ - 00 00 00 00 00 - /* Object 62, Instance = 0 */ - 00 03 00 07 02 00 00 00 00 00 - 0F 17 23 2D 05 00 05 03 03 69 - 14 14 34 11 64 06 06 04 40 00 - 00 00 00 00 69 3C 02 04 01 00 - 0A 14 14 03 03 03 03 00 00 00 - 00 64 1E 01 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 - /* Object 63, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 00 - /* Object 65, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 - /* Object 66, Instance = 0 */ - 00 00 00 00 00 - ]; - }; - }; - }; - - ext_5v: regulator-smb210 { - compatible = "regulator-fixed"; - regulator-name = "ext_5v"; - gpio = <&pm8941_mpps 2 0>; - startup-delay-us = <12000>; - enable-active-high; - }; - - ath_chip_pwd_l: ath_chip_reset { - compatible = "regulator-fixed"; - regulator-name = "ath_chip_pwd_l"; - gpio = <&pm8941_gpios 33 0>; - enable-active-high; - }; - - bt_ar3002 { - compatible = "qca,ar3002"; - qca,bt-reset-gpio = <&pm8941_gpios 34 0>; - qca,bt-chip-pwd-supply = <&ath_chip_pwd_l>; - qca,bt-vdd-io-supply = <&pm8941_s3>; - qca,bt-vdd-pa-supply = <&pm8941_l19>; - }; - - bt_ar3002_sleep { - compatible = "qca,ar3002_bluesleep"; - host-wake-gpio = <&msmgpio 79 0>; - ext-wake-gpio = <&msmgpio 51 0>; - interrupt-parent = <&msmgpio>; - interrupts = <79 2>; - interrupt-names = "host_wake"; - }; - - sound { - qcom,model = "msm8974-taiko-liquid-snd-card"; - - qcom,audio-routing = - "RX_BIAS", "MCLK", - "LDO_H", "MCLK", - "Lineout_1 amp", "LINEOUT1", - "Lineout_3 amp", "LINEOUT3", - "Lineout_2 amp", "LINEOUT2", - "Lineout_4 amp", "LINEOUT4", - "SPK_ultrasound amp", "SPK_OUT", - "AMIC1", "MIC BIAS4 External", - "MIC BIAS4 External", "Analog Mic4", - "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", - "AMIC5", "MIC BIAS1 External", - "MIC BIAS1 External", "Analog Mic6", - "AMIC6", "MIC BIAS1 External", - "MIC BIAS1 External", "Analog Mic7", - "DMIC1", "MIC BIAS3 External", - "MIC BIAS3 External", "Digital Mic1", - "DMIC2", "MIC BIAS3 External", - "MIC BIAS3 External", "Digital Mic2", - "DMIC3", "MIC BIAS2 External", - "MIC BIAS2 External", "Digital Mic3", - "DMIC4", "MIC BIAS3 External", - "MIC BIAS3 External", "Digital Mic4", - "DMIC5", "MIC BIAS2 External", - "MIC BIAS2 External", "Digital Mic5", - "DMIC6", "MIC BIAS2 External", - "MIC BIAS2 External", "Digital Mic6"; - - qcom,ext-spk-amp-supply = <&ext_5v>; - qcom,ext-spk-amp-gpio = <&pm8841_mpps 1 0>; - qcom,dock-plug-det-irq = <&pm8841_mpps 2 0>; - qcom,ext-ult-spk-amp-gpio = <&pm8941_gpios 6 0>; - qcom,hdmi-audio-rx; - - qcom,prim-auxpcm-gpio-clk = <&msmgpio 74 0>; - qcom,prim-auxpcm-gpio-sync = <&msmgpio 75 0>; - qcom,prim-auxpcm-gpio-din = <&msmgpio 76 0>; - qcom,prim-auxpcm-gpio-dout = <&msmgpio 77 0>; - qcom,prim-auxpcm-gpio-set = "prim-gpio-tert"; - }; - - hsic_hub { - compatible = "qcom,hsic-smsc-hub"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - smsc,reset-gpio = <&pm8941_gpios 8 0x00>; - smsc,refclk-gpio = <&pm8941_gpios 16 0x00>; - smsc,int-gpio = <&msmgpio 50 0x00>; - hub_int-supply = <&pm8941_l10>; - hub_vbus-supply = <&ext_5v>; - - hsic_host: hsic@f9a00000 { - compatible = "qcom,hsic-host"; - reg = <0xf9a00000 0x400>; - #address-cells = <0>; - interrupt-parent = <&hsic_host>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 136 0 - 1 &intc 0 148 0 - 2 &msmgpio 144 0x8>; - interrupt-names = "core_irq", "async_irq", "wakeup"; - HSIC_VDDCX-supply = <&pm8841_s2>; - HSIC_GDSC-supply = <&gdsc_usb_hsic>; - hsic,strobe-gpio = <&msmgpio 144 0x00>; - hsic,data-gpio = <&msmgpio 145 0x00>; - hsic,ignore-cal-pad-config; - hsic,strobe-pad-offset = <0x2050>; - hsic,data-pad-offset = <0x2054>; - - qcom,msm-bus,name = "hsic"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <85 512 0 0>, - <85 512 40000 160000>; - }; - }; - - wlan0: qca,wlan { - compatible = "qca,ar6004-hsic"; - qcom,msm-bus,name = "wlan"; - qca,wifi-chip-pwd-supply = <&ath_chip_pwd_l>; - qca,wifi-vddpa-supply = <&pm8941_l19>; - qca,wifi-vddio-supply = <&pm8941_l10>; - qcom,msm-bus,num-cases = <5>; - qcom,msm-bus,active-only = <0>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <85 512 0 0>, - <85 512 40000 160000>, - <85 512 40000 320000>, - <85 512 40000 480000>, - <85 512 40000 800000>; - }; - - wlan_sdio:qca,wlan_sdio { - compatible = "qca,ar6004-sdio"; - qcom,msm-bus,name = "wlan_sdio"; - qca,wifi-chip-pwd-supply = <&ath_chip_pwd_l>; - }; -}; - -&mdss_fb0 { - qcom,memory-reservation-size = <0x1000000>; /* size 16MB */ -}; - -&uart7 { - status = "ok"; - qcom,tx-gpio = <&msmgpio 41 0x00>; - qcom,rx-gpio = <&msmgpio 42 0x00>; - qcom,cts-gpio = <&msmgpio 43 0x00>; - qcom,rfr-gpio = <&msmgpio 44 0x00>; -}; - -&usb3 { - qcom,otg-capability; -}; - -&pm8941_mvs2 { - parent-supply = <&ext_5v>; -}; - -&pm8941_gpios { - gpio@c000 { /* GPIO 1 */ - qcom,mode = <0>; - qcom,pull = <0>; - qcom,vin-sel = <2>; - qcom,src-sel = <0>; - }; - - gpio@c100 { /* GPIO 2 */ - qcom,mode = <0>; - qcom,pull = <0>; - qcom,vin-sel = <2>; - qcom,src-sel = <0>; - }; - - gpio@c200 { /* GPIO 3 */ - }; - - gpio@c300 { /* GPIO 4 */ - }; - - gpio@c400 { /* GPIO 5 */ - qcom,mode = <0>; - qcom,pull = <0>; - qcom,vin-sel = <2>; - qcom,src-sel = <0>; - }; - - gpio@c500 { /* GPIO 6 */ - /* ULTRASOUND_EN_1 PA AB enable */ - qcom,mode = <1>; /* DIG_OUT */ - qcom,output-type = <0>; /* CMOS */ - qcom,pull = <4>; /* PULL_DOWN */ - qcom,vin-sel = <0>; /* VPH */ - qcom,out-strength = <2>; /* STRENGTH_MED */ - qcom,src-sel = <0>; /* CONSTANT */ - qcom,master-en = <1>; - }; - - gpio@c600 { /* GPIO 7 */ - }; - - gpio@c700 { /* GPIO 8 */ - /* HSIC_HUB-RESET */ - qcom,mode = <1>; /* DIG_OUT */ - qcom,pull = <5>; /* PULL_NO */ - qcom,out-strength = <2>; /* STRENGTH_MED */ - qcom,master-en = <1>; - }; - - gpio@c800 { /* GPIO 9 */ - }; - - gpio@c900 { /* GPIO 10 */ - /* SMB350-CHG-EN-N */ - qcom,mode = <1>; /* DIG_OUT */ - qcom,output-type = <0>; /* CMOS */ - qcom,pull = <5>; /* PULL_NO */ - qcom,vin-sel = <0>; /* VPH */ - qcom,out-strength = <2>; /* STRENGTH_MED */ - qcom,src-sel = <0>; /* CONSTANT */ - qcom,master-en = <1>; - }; - - gpio@ca00 { /* GPIO 11 */ - }; - - gpio@cb00 { /* GPIO 12 */ - }; - - gpio@cc00 { /* GPIO 13 */ - /* SMB350-CHG-SUSP-N */ - qcom,mode = <1>; /* DIG_OUT */ - qcom,output-type = <0>; /* CMOS */ - qcom,pull = <5>; /* PULL_NO */ - qcom,vin-sel = <0>; /* VPH */ - qcom,out-strength = <2>; /* STRENGTH_MED */ - qcom,src-sel = <0>; /* CONSTANT */ - qcom,master-en = <1>; - }; - - gpio@cd00 { /* GPIO 14 */ - }; - - gpio@ce00 { /* GPIO 15 */ - qcom,mode = <1>; - qcom,output-type = <0>; - qcom,pull = <5>; - qcom,vin-sel = <2>; - qcom,out-strength = <1>; - qcom,src-sel = <2>; - qcom,master-en = <1>; - }; - - gpio@cf00 { /* GPIO 16 */ - /* HSIC_HUB-INT_N */ - qcom,mode = <1>; - qcom,output-type = <0>; - qcom,pull = <5>; - qcom,vin-sel = <2>; - qcom,out-strength = <3>; - qcom,src-sel = <2>; - qcom,master-en = <1>; - }; - - gpio@d000 { /* GPIO 17 */ - }; - - gpio@d100 { /* GPIO 18 */ - }; - - gpio@d200 { /* GPIO 19 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,output-type = <0>; /* QPNP_PIN_OUT_BUF_CMOS */ - qcom,pull = <5>; /* QPNP_PIN_PULL_NO */ - qcom,vin-sel = <2>; /* QPNP_PIN_VIN2 */ - qcom,out-strength = <2>; /* QPNP_PIN_OUT_STRENGTH_MED */ - qcom,src-sel = <0>; /* QPNP_PIN_SEL_FUNC_CONSTANT */ - qcom,master-en = <1>; - }; - - gpio@d300 { /* GPIO 20 */ - }; - - gpio@d400 { /* GPIO 21 */ - }; - - gpio@d500 { /* GPIO 22 */ - }; - - gpio@d600 { /* GPIO 23 */ - }; - - gpio@d700 { /* GPIO 24 */ - }; - - gpio@d800 { /* GPIO 25 */ - }; - - gpio@d900 { /* GPIO 26 */ - }; - - gpio@da00 { /* GPIO 27 */ - }; - - gpio@db00 { /* GPIO 28 */ - }; - - gpio@dc00 { /* GPIO 29 */ - qcom,pull = <0>; /* set to default pull */ - qcom,master-en = <1>; - qcom,vin-sel = <2>; /* select 1.8 V source */ - }; - - gpio@dd00 { /* GPIO 30 */ - /* SMB350-STAT */ - qcom,mode = <0>; /* DIG_IN */ - qcom,pull = <5>; /* PULL_NO */ - qcom,vin-sel = <2>; /* S3 1.8V */ - qcom,src-sel = <0>; /* CONSTANT */ - qcom,master-en = <1>; - }; - - gpio@de00 { /* GPIO 31 */ - }; - - gpio@df00 { /* GPIO 32 */ - }; - - gpio@e000 { /* GPIO 33 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,output-type = <0>; /* QPNP_PIN_OUT_BUF_CMOS */ - qcom,pull = <5>; /* QPNP_PIN_PULL_NO */ - qcom,vin-sel = <2>; /* QPNP_PIN_VIN2 */ - qcom,out-strength = <2>; /* QPNP_PIN_OUT_STRENGTH_MED */ - qcom,src-sel = <0>; /* QPNP_PIN_SEL_FUNC_CONSTANT */ - qcom,invert = <1>; - qcom,master-en = <1>; - }; - - gpio@e100 { /* GPIO 34 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,output-type = <0>; /* QPNP_PIN_OUT_BUF_CMOS */ - qcom,pull = <5>; /* QPNP_PIN_PULL_NO */ - qcom,vin-sel = <2>; /* QPNP_PIN_VIN2 */ - qcom,out-strength = <2>; /* QPNP_PIN_OUT_STRENGTH_MED */ - qcom,src-sel = <0>; /* QPNP_PIN_SEL_FUNC_CONSTANT */ - qcom,invert = <0>; - qcom,master-en = <1>; - }; - - gpio@e200 { /* GPIO 35 */ - }; - - gpio@e300 { /* GPIO 36 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,output-type = <0>; /* QPNP_PIN_OUT_BUF_CMOS */ - qcom,pull = <5>; /* QPNP_PIN_PULL_NO */ - qcom,vin-sel = <2>; /* QPNP_PIN_VIN2 */ - qcom,out-strength = <3>; /* QPNP_PIN_OUT_STRENGTH_HIGH */ - qcom,src-sel = <3>; /* QPNP_PIN_SEL_FUNC_2 */ - qcom,master-en = <1>; - }; -}; - -&pm8941_mpps { - - mpp@a000 { /* MPP 1 */ - status = "disabled"; - }; - - mpp@a100 { /* MPP 2 */ - /* ext_5v regulator enable */ - qcom,mode = <1>; /* Digital output */ - qcom,invert = <0>; /* Output low initially */ - qcom,vin-sel = <2>; /* PM8941 S3 = 1.8 V */ - qcom,src-sel = <0>; /* Constant */ - qcom,master-en = <1>; /* Enable MPP */ - }; - - mpp@a200 { /* MPP 3 */ - }; - - mpp@a300 { /* MPP 4 */ - }; - - mpp@a400 { /* MPP 5 */ - /* SPI_ETH config */ - qcom,mode = <1>; /* DIG_OUT */ - qcom,output-type = <0>; /* CMOS */ - qcom,vin-sel = <2>; /* PM8941_S3 1.8V > 1.6V */ - qcom,src-sel = <0>; /* CONSTANT */ - qcom,master-en = <1>; /* ENABLE MPP */ - }; - - mpp@a500 { /* MPP 6 */ - /* SPI_ETH_RST config */ - qcom,mode = <1>; /* DIG_OUT */ - qcom,output-type = <0>; /* CMOS */ - qcom,vin-sel = <2>; /* PM8941_S3 1.8V > 1.6V */ - qcom,src-sel = <0>; /* CONSTANT */ - qcom,master-en = <1>; /* ENABLE MPP */ - }; - - mpp@a600 { /* MPP 7 */ - }; - - mpp@a700 { /* MPP 8 */ - }; -}; - -&pm8841_mpps { - - mpp@a000 { /* MPP 1 */ - /* CLASS_D_EN speakers PA */ - qcom,mode = <1>; /* DIG_OUT */ - qcom,output-type = <0>; /* PNP_PIN_OUT_BUF_CMOS */ - qcom,vin-sel = <2>; /* S3A 1.8v */ - qcom,src-select = <0>; /* CONSTANT */ - qcom,master-en = <1>; /* ENABLE MPP */ - }; - - mpp@a100 { /* MPP 2 */ - /* DOCK_PLUG_DET speakers+docking detect irq*/ - qcom,mode = <0>; /* DIG_IN */ - qcom,vin-sel = <2>; /* S3A 1.8v */ - qcom,src-sel = <0>; /* CONSTANT */ - qcom,master-en = <1>; /* ENABLE MPP */ - }; - - mpp@a200 { /* HDMI_MUX_SEL MPP 3*/ - status = "ok"; - qcom,mode = <1>; /* DIG_OUT */ - qcom,output-type = <0>; /* CMOS */ - qcom,vin-sel = <2>; /* PM8841_S3A 1.8V */ - qcom,src-sel = <0>; /* CONSTANT */ - qcom,master-en = <1>; /* ENABLE MPP */ - }; - - mpp@a300 { /* HDMI_MUX_EN MPP 4*/ - status = "ok"; - qcom,mode = <1>; /* DIG_OUT */ - qcom,output-type = <0>; /* CMOS */ - qcom,vin-sel = <0>; /* PM8841_VPH 3.4V */ - qcom,src-sel = <0>; /* CONSTANT */ - qcom,master-en = <1>; /* ENABLE MPP */ - }; -}; - -&vph_pwr_vreg { - status = "ok"; -}; - -&slim_msm { - taiko_codec { - qcom,cdc-micbias1-ext-cap; - qcom,cdc-micbias2-ext-cap; - qcom,cdc-micbias3-ext-cap; - qcom,cdc-micbias4-ext-cap; - - /* - * Liquid has external spkrdrv supply. Give a dummy supply to - * make codec driver's happy. - */ - cdc-vdd-spkdrv-supply = <&vph_pwr_vreg>; - qcom,cdc-vdd-spkdrv-voltage = <0 0>; - qcom,cdc-vdd-spkdrv-current = <0>; - - qcom,cdc-on-demand-supplies = "cdc-vdd-spkdrv"; - }; -}; - -&spi_epm { - epm-adc@0 { - compatible = "cy,epm-adc-cy8c5568lti-114"; - reg = <0>; - interrupt-parent = <&msmgpio>; - spi-max-frequency = <960000>; - qcom,channels = <31>; - qcom,gain = <50 50 50 50 50 100 50 50 50 50 - 50 50 50 50 100 50 50 50 50 100 - 50 50 50 100 50 50 50 1 1 1 - 1>; - qcom,rsense = <40 10 10 25 10 1000 75 25 10 25 - 33 500 200 10 500 100 33 200 25 100 - 75 500 50 200 5 5 3 1 1 1 - 1>; - qcom,channel-type = <0xf0000000>; - }; -}; - -&spmi_bus { - qcom,pm8941@1 { - qcom,leds@d000 { - qcom,rgb_2 { - status = "ok"; - qcom,default-state = "on"; - qcom,turn-off-delay-ms = <1000>; - }; - }; - }; -}; - -&pm8941_chg { - status = "ok"; - otg-parent-supply = <&ext_5v>; - - qcom,charging-disabled; - - qcom,chgr@1000 { - status = "ok"; - }; - - qcom,buck@1100 { - status = "ok"; - }; - - qcom,usb-chgpth@1300 { - status = "ok"; - }; - - qcom,dc-chgpth@1400 { - status = "ok"; - }; - - qcom,boost@1500 { - status = "ok"; - }; - - qcom,chg-misc@1600 { - status = "ok"; - }; -}; - -&sdcc1 { - status = "disabled"; -}; - -&sdcc2 { - status = "disabled"; -}; - -&sdhc_1 { - vdd-supply = <&pm8941_l20>; - vdd-io-supply = <&pm8941_s3>; - - qcom,vdd-always-on; - qcom,vdd-lpm-sup; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <800 500000>; - - qcom,vdd-io-always-on; - qcom,vdd-io-voltage-level = <1800000 1800000>; - qcom,vdd-io-current-level = <250 154000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,nonremovable; - status = "ok"; -}; - -&sdhc_2 { - vdd-supply = <&pm8941_l21>; - vdd-io-supply = <&pm8941_l13>; - - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <9000 800000>; - - qcom,vdd-io-voltage-level = <1800000 2950000>; - qcom,vdd-io-current-level = <6 22000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - status = "ok"; -}; - -/* Drive strength recommendations for clock line from hardware team is 10 mA. - * But since the driver has been been using the below values from the start - * without any problems, continue to use those. - */ -&sdcc1 { - qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */ -}; - -&sdcc2 { - qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */ -}; - -&sdhc_1 { - qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */ -}; - -&sdhc_2 { - qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */ -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8974-mdss.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v3/msm8974-mdss.dtsi deleted file mode 100644 index 6b8d600ed..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8974-mdss.dtsi +++ /dev/null @@ -1,148 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&soc { - mdss_mdp: qcom,mdss_mdp@fd900000 { - compatible = "qcom,mdss_mdp"; - reg = <0xfd900000 0x22100>, - <0xfd924000 0x1000>; - reg-names = "mdp_phys", "vbif_phys"; - interrupts = <0 72 0>; - vdd-supply = <&gdsc_mdss>; - - qcom,max-clk-rate = <320000000>; - qcom,mdss-pipe-vig-off = <0x00001200 0x00001600 - 0x00001A00>; - qcom,mdss-pipe-rgb-off = <0x00001E00 0x00002200 - 0x00002600>; - qcom,mdss-pipe-dma-off = <0x00002A00 0x00002E00>; - qcom,mdss-pipe-vig-fetch-id = <1 4 7>; - qcom,mdss-pipe-rgb-fetch-id = <16 17 18>; - qcom,mdss-pipe-dma-fetch-id = <10 13>; - qcom,mdss-smp-data = <22 4096>; - - qcom,mdss-ctl-off = <0x00000600 0x00000700 0x00000800 - 0x00000900 0x0000A00>; - qcom,mdss-mixer-intf-off = <0x00003200 0x00003600 - 0x00003A00>; - qcom,mdss-mixer-wb-off = <0x00003E00 0x00004200>; - qcom,mdss-dspp-off = <0x00004600 0x00004A00 0x00004E00>; - qcom,mdss-wb-off = <0x00011100 0x00013100 0x00015100 - 0x00017100 0x00019100>; - qcom,mdss-intf-off = <0x00021100 0x00021300 - 0x00021500 0x00021700>; - - qcom,vbif-settings = <0x0004 0x00000001>, - <0x00D8 0x00000707>, - <0x00F0 0x00000030>, - <0x0124 0x00000001>, - <0x0178 0x00000FFF>, - <0x017C 0x0FFF0FFF>, - <0x0160 0x22222222>, - <0x0164 0x00002222>; - qcom,mdp-settings = <0x02E0 0x000000E9>, - <0x02E4 0x00000055>, - <0x03AC 0xC0000CCC>, - <0x03B4 0xC0000CCC>, - <0x03BC 0x00CCCCCC>, - <0x04A8 0x0CCCC0C0>, - <0x04B0 0xCCCCC0C0>, - <0x04B8 0xCCCCC000>; - - mdss_fb0: qcom,mdss_fb_primary { - cell-index = <0>; - compatible = "qcom,mdss-fb"; - qcom,memory-reservation-type = "EBI1"; - qcom,memory-reservation-size = <0x800000>; - }; - - mdss_fb1: qcom,mdss_fb_external { - cell-index = <1>; - compatible = "qcom,mdss-fb"; - }; - - mdss_fb2: qcom,mdss_fb_wfd { - cell-index = <2>; - compatible = "qcom,mdss-fb"; - }; - }; - - mdss_dsi0: qcom,mdss_dsi@fd922800 { - compatible = "qcom,mdss-dsi-ctrl"; - label = "MDSS DSI CTRL->0"; - cell-index = <0>; - reg = <0xfd922800 0x600>; - vdd-supply = <&pm8941_l22>; - vddio-supply = <&pm8941_l12>; - vdda-supply = <&pm8941_l2>; - qcom,mdss-fb-map = <&mdss_fb0>; - }; - - mdss_dsi1: qcom,mdss_dsi@fd922e00 { - compatible = "qcom,mdss-dsi-ctrl"; - label = "MDSS DSI CTRL->1"; - cell-index = <1>; - reg = <0xfd922e00 0x600>; - vdd-supply = <&pm8941_l22>; - vddio-supply = <&pm8941_l12>; - vdda-supply = <&pm8941_l2>; - qcom,mdss-fb-map = <&mdss_fb0>; - }; - - mdss_hdmi_tx: qcom,hdmi_tx@fd922100 { - cell-index = <0>; - compatible = "qcom,hdmi-tx"; - reg = <0xfd922100 0x35C>, - <0xfd922500 0x7C>, - <0xfc4b8000 0x60F0>; - reg-names = "core_physical", "phy_physical", "qfprom_physical"; - - hpd-gdsc-supply = <&gdsc_mdss>; - hpd-5v-supply = <&pm8941_mvs2>; - core-vdda-supply = <&pm8941_l12>; - core-vcc-supply = <&pm8941_s3>; - qcom,hdmi-tx-supply-names = "hpd-gdsc", "hpd-5v", "core-vdda", "core-vcc"; - qcom,hdmi-tx-min-voltage-level = <0 0 1800000 1800000>; - qcom,hdmi-tx-max-voltage-level = <0 0 1800000 1800000>; - qcom,hdmi-tx-peak-current = <0 0 1800000 0>; - - qcom,hdmi-tx-cec = <&msmgpio 31 0>; - qcom,hdmi-tx-ddc-clk = <&msmgpio 32 0>; - qcom,hdmi-tx-ddc-data = <&msmgpio 33 0>; - qcom,hdmi-tx-hpd = <&msmgpio 34 0>; - qcom,mdss-fb-map = <&mdss_fb1>; - qcom,msm-hdmi-audio-rx { - compatible = "qcom,msm-hdmi-audio-codec-rx"; - }; - }; - - qcom,mdss_wb_panel { - compatible = "qcom,mdss_wb"; - qcom,mdss_pan_res = <1920 1080>; - qcom,mdss_pan_bpp = <24>; - qcom,mdss-fb-map = <&mdss_fb2>; - }; - - mdss_edp: qcom,mdss_edp@fd923400 { - compatible = "qcom,mdss-edp"; - reg = <0xfd923400 0x700>, - <0xfd8c2000 0x1000>; - reg-names = "edp_base", "mmss_cc_base"; - vdda-supply = <&pm8941_l12>; - gpio-panel-en = <&msmgpio 58 0>; - gpio-panel-pwm = <&pm8941_gpios 36 0>; - qcom,panel-lpg-channel = <7>; /* LPG Channel 8 */ - qcom,panel-pwm-period = <53>; - status = "disable"; - qcom,mdss-fb-map = <&mdss_fb0>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8974-mtp.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v3/msm8974-mtp.dtsi deleted file mode 100644 index e798fc0f9..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8974-mtp.dtsi +++ /dev/null @@ -1,705 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/include/ "dsi-panel-toshiba-720p-video.dtsi" -/include/ "msm8974-camera-sensor-mtp.dtsi" -/include/ "msm8974-leds.dtsi" - -&soc { - serial@f991e000 { - status = "ok"; - }; - - qcom,mdss_dsi_toshiba_720p_video { - status = "ok"; - qcom,cont-splash-enabled; - }; - - qcom,hdmi_tx@fd922100 { - status = "disabled"; - }; - - i2c@f9924000 { - atmel_mxt_ts@4a { - compatible = "atmel,mxt-ts"; - reg = <0x4a>; - interrupt-parent = <&msmgpio>; - interrupts = <61 0x2>; - vdd_ana-supply = <&pm8941_l18>; - vcc_i2c-supply = <&pm8941_lvs1>; - atmel,reset-gpio = <&msmgpio 60 0x00>; - atmel,irq-gpio = <&msmgpio 61 0x00>; - atmel,panel-coords = <0 0 760 1424>; - atmel,display-coords = <0 0 720 1280>; - atmel,i2c-pull-up; - atmel,no-force-update; - atmel,cfg_1 { - atmel,family-id = <0x82>; - atmel,variant-id = <0x19>; - atmel,version = <0x10>; - atmel,build = <0xaa>; - atmel,config = [ - /* Object 6, Instance = 0 */ - 00 00 00 00 00 00 - /* Object 38, Instance = 0 */ - 15 01 00 03 0A 0C 00 00 - /* Object 7, Instance = 0 */ - 20 08 32 03 - /* Object 8, Instance = 0 */ - 0F 00 0A 0A 00 00 0A 0A 00 00 - /* Object 9, Instance = 0 */ - 83 00 00 18 0E 00 70 46 02 01 - 00 0A 03 31 04 05 0A 0A 90 05 - F8 02 05 F1 F1 0F 00 00 08 2D - 12 06 00 00 00 01 - /* Object 15, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 - /* Object 18, Instance = 0 */ - 00 00 - /* Object 19, Instance = 0 */ - 00 00 00 00 00 00 - /* Object 23, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 - /* Object 25, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 - /* Object 40, Instance = 0 */ - 00 00 00 00 00 - /* Object 42, Instance = 0 */ - 33 1E 19 10 80 00 00 00 FF 00 - /* Object 46, Instance = 0 */ - 00 00 10 10 00 00 03 00 00 01 - /* Object 47, Instance = 0 */ - 08 0A 28 0A 02 0A 00 8C 00 20 - 00 00 00 - /* Object 55, Instance = 0 */ - 00 00 00 00 00 00 - /* Object 56, Instance = 0 */ - 00 00 00 18 05 05 05 05 05 05 - 05 05 05 05 05 05 05 05 05 05 - 05 05 05 05 05 05 05 05 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 - /* Object 57, Instance = 0 */ - 00 00 00 - /* Object 61, Instance = 0 */ - 00 00 00 00 00 - /* Object 62, Instance = 0 */ - 01 2A 00 16 00 00 00 00 0B 01 - 02 03 04 08 00 00 08 10 18 05 - 00 0A 05 05 50 14 19 34 1A 7F - 00 00 00 00 00 00 00 00 00 30 - 05 02 00 01 00 05 00 00 00 00 - 00 00 00 00 - ]; - }; - }; - }; - - gen-vkeys { - compatible = "qcom,gen-vkeys"; - label = "atmel_mxt_ts"; - qcom,disp-maxx = <720>; - qcom,disp-maxy = <1280>; - qcom,panel-maxx = <760>; - qcom,panel-maxy = <1424>; - qcom,key-codes = <158 139 102 217>; - }; - - i2c@f9967000 { - isa1200@48 { - status = "okay"; - reg = <0x48>; - vcc_i2c-supply = <&pm8941_s3>; - compatible = "imagis,isa1200"; - label = "vibrator"; - imagis,chip-en; - imagis,need-pwm-clk; - imagis,ext-clk-en; - imagis,hap-en-gpio = <&msmgpio 86 0x00>; - imagis,max-timeout = <15000>; - imagis,pwm-div = <256>; - imagis,mode-ctrl = <2>; - imagis,regulator { - regulator-name = "vcc_i2c"; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - regulator-max-microamp = <9360>; - }; - }; - }; - - gpio_keys { - compatible = "gpio-keys"; - input-name = "gpio-keys"; - - camera_snapshot { - label = "camera_snapshot"; - gpios = <&pm8941_gpios 3 0x1>; - linux,input-type = <1>; - linux,code = <0x2fe>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - - camera_focus { - label = "camera_focus"; - gpios = <&pm8941_gpios 4 0x1>; - linux,input-type = <1>; - linux,code = <0x210>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - - vol_up { - label = "volume_up"; - gpios = <&pm8941_gpios 5 0x1>; - linux,input-type = <1>; - linux,code = <115>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - }; - - spi@f9923000 { - ethernet-switch@2 { - compatible = "micrel,ks8851"; - reg = <2>; - interrupt-parent = <&msmgpio>; - interrupts = <94 0>; - spi-max-frequency = <4800000>; - rst-gpio = <&pm8941_mpps 6 0>; - vdd-io-supply = <&spi_eth_vreg>; - vdd-phy-supply = <&spi_eth_vreg>; - }; - }; - - sound { - qcom,model = "msm8974-taiko-mtp-snd-card"; - qcom,cdc-micbias2-headset-only; - }; -}; - -&spmi_bus { - qcom,pm8941@1 { - qcom,leds@d800 { - status = "okay"; - qcom,wled_0 { - label = "wled"; - linux,name = "wled:backlight"; - linux,default-trigger = "bkl-trigger"; - qcom,cs-out-en; - qcom,op-fdbck = <1>; - qcom,default-state = "on"; - qcom,max-current = <25>; - qcom,ctrl-delay-us = <0>; - qcom,boost-curr-lim = <3>; - qcom,cp-sel = <0>; - qcom,switch-freq = <2>; - qcom,ovp-val = <2>; - qcom,num-strings = <1>; - qcom,id = <0>; - }; - }; - - qcom,leds@d900 { - status = "disabled"; - }; - - qcom,leds@da00 { - status = "disabled"; - }; - - qcom,leds@db00 { - status = "disabled"; - }; - - qcom,leds@dc00 { - status = "disabled"; - }; - - qcom,leds@dd00 { - status = "disabled"; - }; - - qcom,leds@de00 { - status = "disabled"; - }; - - qcom,leds@df00 { - status = "disabled"; - }; - - qcom,leds@e000 { - status = "disabled"; - }; - - qcom,leds@e100 { - status = "disabled"; - }; - }; -}; - -&sdcc1 { - status = "disabled"; -}; - -&sdcc2 { - #address-cells = <0>; - interrupt-parent = <&sdcc2>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 125 0 - 1 &intc 0 220 0 - 2 &msmgpio 62 0x3>; - interrupt-names = "core_irq", "bam_irq", "status_irq"; - cd-gpios = <&msmgpio 62 0x1>; - status = "disabled"; -}; - -&sdhc_1 { - vdd-supply = <&pm8941_l20>; - vdd-io-supply = <&pm8941_s3>; - - qcom,vdd-always-on; - qcom,vdd-lpm-sup; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <800 500000>; - - qcom,vdd-io-always-on; - qcom,vdd-io-voltage-level = <1800000 1800000>; - qcom,vdd-io-current-level = <250 154000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,nonremovable; - status = "ok"; -}; - -&sdhc_2 { - #address-cells = <0>; - interrupt-parent = <&sdhc_2>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 125 0 - 1 &intc 0 221 0 - 2 &msmgpio 62 0x3>; - interrupt-names = "hc_irq", "pwr_irq", "status_irq"; - cd-gpios = <&msmgpio 62 0x1>; - - vdd-supply = <&pm8941_l21>; - vdd-io-supply = <&pm8941_l13>; - - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <9000 800000>; - - qcom,vdd-io-voltage-level = <1800000 2950000>; - qcom,vdd-io-current-level = <6 22000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - status = "ok"; -}; - -/* Drive strength recommendations for clock line from hardware team is 10 mA. - * But since the driver has been been using the below values from the start - * without any problems, continue to use those. - */ -&sdcc1 { - qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */ -}; - -&sdcc2 { - qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */ -}; - -&sdhc_1 { - qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */ -}; - -&sdhc_2 { - qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */ -}; - -&usb_otg { - qcom,hsusb-otg-otg-control = <2>; -}; - -&uart7 { - status = "ok"; -}; - -&usb3 { - qcom,otg-capability; -}; - -&pm8941_bms { - status = "ok"; -}; - -&pm8941_chg { - status = "ok"; - qcom,charging-disabled; - - qcom,chgr@1000 { - status = "ok"; - }; - - qcom,buck@1100 { - status = "ok"; - }; - - qcom,bat-if@1200 { - status = "ok"; - }; - - qcom,usb-chgpth@1300 { - status = "ok"; - }; - - qcom,dc-chgpth@1400 { - status = "ok"; - }; - - qcom,boost@1500 { - status = "ok"; - }; - - qcom,chg-misc@1600 { - status = "ok"; - }; -}; - -&pm8941_gpios { - gpio@c000 { /* GPIO 1 */ - qcom,mode = <0>; /* QPNP_PIN_MODE_DIG_IN */ - qcom,pull = <0>; /* QPNP_PIN_PULL_UP_30 */ - qcom,master-en = <1>; - }; - - gpio@c100 { /* GPIO 2 */ - qcom,mode = <0>; /* QPNP_PIN_MODE_DIG_IN */ - qcom,pull = <0>; /* QPNP_PIN_PULL_UP_30 */ - qcom,master-en = <1>; - }; - - gpio@c200 { /* GPIO 3 */ - qcom,mode = <0>; /* QPNP_PIN_MODE_DIG_IN */ - qcom,pull = <0>; /* QPNP_PIN_PULL_UP_30 */ - qcom,vin-sel = <2>; - qcom,src-sel = <0>; /* QPNP_PIN_SEL_FUNC_CONSTANT */ - qcom,master-en = <1>; - }; - - gpio@c300 { /* GPIO 4 */ - qcom,mode = <0>; /* QPNP_PIN_MODE_DIG_IN */ - qcom,pull = <0>; /* QPNP_PIN_PULL_UP_30 */ - qcom,vin-sel = <2>; /* QPNP_PIN_VIN2 */ - qcom,src-sel = <0>; /* QPNP_PIN_SEL_FUNC_CONSTANT */ - qcom,master-en = <1>; - }; - - gpio@c400 { /* GPIO 5 */ - qcom,mode = <0>; /* QPNP_PIN_MODE_DIG_IN */ - qcom,pull = <0>; /* QPNP_PIN_PULL_UP_30 */ - qcom,vin-sel = <2>; /* QPNP_PIN_VIN2 */ - qcom,src-sel = <0>; /* QPNP_PIN_SEL_FUNC_CONSTANT */ - qcom,master-en = <1>; - }; - - gpio@c500 { /* GPIO 6 */ - qcom,mode = <0>; /* QPNP_PIN_MODE_DIG_IN */ - qcom,pull = <0>; /* QPNP_PIN_PULL_UP_30 */ - qcom,master-en = <1>; - }; - - gpio@c600 { /* GPIO 7 */ - qcom,mode = <0>; /* QPNP_PIN_MODE_DIG_IN */ - qcom,pull = <0>; /* QPNP_PIN_PULL_UP_30 */ - qcom,master-en = <1>; - }; - - gpio@c700 { /* GPIO 8 */ - qcom,mode = <0>; /* QPNP_PIN_MODE_DIG_IN */ - qcom,pull = <0>; /* QPNP_PIN_PULL_UP_30 */ - qcom,master-en = <1>; - }; - - gpio@c800 { /* GPIO 9 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */ - qcom,src-sel = <2>; /* QPNP_PIN_SEL_FUNC_1 */ - qcom,master-en = <1>; - }; - - gpio@c900 { /* GPIO 10 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */ - qcom,src-sel = <2>; /* QPNP_PIN_SEL_FUNC_1 */ - qcom,master-en = <1>; - }; - - gpio@ca00 { /* GPIO 11 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */ - qcom,src-sel = <2>; /* QPNP_PIN_SEL_FUNC_1 */ - qcom,master-en = <1>; - }; - - gpio@cb00 { /* GPIO 12 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */ - qcom,src-sel = <2>; /* QPNP_PIN_SEL_FUNC_1 */ - qcom,master-en = <1>; - }; - - gpio@cc00 { /* GPIO 13 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */ - qcom,src-sel = <2>; /* QPNP_PIN_SEL_FUNC_1 */ - qcom,master-en = <1>; - }; - - gpio@cd00 { /* GPIO 14 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */ - qcom,src-sel = <2>; /* QPNP_PIN_SEL_FUNC_1 */ - qcom,master-en = <1>; - }; - - gpio@ce00 { /* GPIO 15 */ - qcom,mode = <1>; - qcom,output-type = <0>; - qcom,pull = <5>; - qcom,vin-sel = <2>; - qcom,out-strength = <1>; - qcom,src-sel = <2>; - qcom,master-en = <1>; - }; - - gpio@cf00 { /* GPIO 16 */ - qcom,mode = <1>; - qcom,output-type = <0>; - qcom,pull = <5>; - qcom,vin-sel = <2>; - qcom,out-strength = <3>; - qcom,src-sel = <3>; /* QPNP_PIN_SEL_FUNC_2 */ - qcom,master-en = <1>; - }; - - gpio@d000 { /* GPIO 17 */ - }; - - gpio@d100 { /* GPIO 18 */ - }; - - gpio@d200 { /* GPIO 19 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,output-type = <0>; /* QPNP_PIN_OUT_BUF_CMOS */ - qcom,pull = <5>; /* QPNP_PIN_PULL_NO */ - qcom,vin-sel = <2>; /* QPNP_PIN_VIN2 */ - qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */ - qcom,src-sel = <0>; /* QPNP_PIN_SEL_FUNC_CONSTANT */ - qcom,master-en = <1>; - }; - - gpio@d300 { /* GPIO 20 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */ - qcom,src-sel = <2>; /* QPNP_PIN_SEL_FUNC_1 */ - qcom,master-en = <1>; - }; - - gpio@d400 { /* GPIO 21 */ - }; - - gpio@d500 { /* GPIO 22 */ - qcom,mode = <0>; /* QPNP_PIN_MODE_DIG_IN */ - qcom,pull = <4>; /* QPNP_PIN_PULL_DN */ - qcom,master-en = <1>; - }; - - gpio@d600 { /* GPIO 23 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */ - qcom,src-sel = <2>; /* QPNP_PIN_SEL_FUNC_1 */ - qcom,master-en = <1>; - }; - - gpio@d700 { /* GPIO 24 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */ - qcom,src-sel = <2>; /* QPNP_PIN_SEL_FUNC_1 */ - qcom,master-en = <1>; - }; - - gpio@d800 { /* GPIO 25 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */ - qcom,src-sel = <2>; /* QPNP_PIN_SEL_FUNC_1 */ - qcom,master-en = <1>; - }; - - gpio@d900 { /* GPIO 26 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */ - qcom,src-sel = <2>; /* QPNP_PIN_SEL_FUNC_1 */ - qcom,master-en = <1>; - }; - - gpio@da00 { /* GPIO 27 */ - qcom,mode = <0>; /* QPNP_PIN_MODE_DIG_IN */ - qcom,pull = <4>; /* QPNP_PIN_PULL_DN */ - qcom,master-en = <1>; - }; - - gpio@db00 { /* GPIO 28 */ - }; - - gpio@dc00 { /* GPIO 29 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */ - qcom,src-sel = <2>; /* QPNP_PIN_SEL_FUNC_1 */ - qcom,master-en = <1>; - }; - - gpio@dd00 { /* GPIO 30 */ - qcom,mode = <0>; /* QPNP_PIN_MODE_DIG_IN */ - qcom,pull = <4>; /* QPNP_PIN_PULL_DN */ - qcom,master-en = <1>; - }; - - gpio@de00 { /* GPIO 31 */ - }; - - gpio@df00 { /* GPIO 32 */ - qcom,mode = <0>; /* QPNP_PIN_MODE_DIG_IN */ - qcom,pull = <4>; /* QPNP_PIN_PULL_DN */ - qcom,master-en = <1>; - }; - - gpio@e000 { /* GPIO 33 */ - qcom,mode = <0>; /* QPNP_PIN_MODE_DIG_IN */ - qcom,pull = <4>; /* QPNP_PIN_PULL_DN */ - qcom,master-en = <1>; - }; - - gpio@e100 { /* GPIO 34 */ - qcom,mode = <0>; /* QPNP_PIN_MODE_DIG_IN */ - qcom,pull = <4>; /* QPNP_PIN_PULL_DN */ - qcom,master-en = <1>; - }; - - gpio@e200 { /* GPIO 35 */ - qcom,mode = <0>; /* QPNP_PIN_MODE_DIG_IN */ - qcom,pull = <4>; /* QPNP_PIN_PULL_DN */ - qcom,master-en = <1>; - }; - - gpio@e300 { /* GPIO 36 */ - }; -}; - -&pm8941_mpps { - - mpp@a000 { /* MPP 1 */ - status = "disabled"; - }; - - mpp@a100 { /* MPP 2 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */ - qcom,master-en = <1>; - }; - - mpp@a200 { /* MPP 3 */ - }; - - mpp@a300 { /* MPP 4 */ - }; - - mpp@a400 { /* MPP 5 */ - }; - - mpp@a500 { /* MPP 6 */ - /* SPI_ETH_RST config */ - qcom,mode = <1>; /* DIG_OUT */ - qcom,output-type = <0>; /* CMOS */ - qcom,vin-sel = <2>; /* PM8941_S3 1.8V > 1.6V */ - qcom,src-sel = <0>; /* CONSTANT */ - qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */ - qcom,master-en = <1>; /* ENABLE MPP */ - }; - - mpp@a600 { /* MPP 7 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */ - qcom,master-en = <1>; - }; - - mpp@a700 { /* MPP 8 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */ - qcom,master-en = <1>; - }; -}; - -&pm8841_mpps { - - mpp@a000 { /* MPP 1 */ - }; - - mpp@a100 { /* MPP 2 */ - }; - - mpp@a200 { /* MPP 3 */ - }; - - mpp@a300 { /* MPP 4 */ - }; -}; - -&slim_msm { - taiko_codec { - qcom,cdc-micbias1-ext-cap; - qcom,cdc-micbias2-ext-cap; - qcom,cdc-micbias4-ext-cap; - }; -}; - -&spi_epm { - epm-adc@0 { - compatible = "cy,epm-adc-cy8c5568lti-114"; - reg = <0>; - interrupt-parent = <&msmgpio>; - spi-max-frequency = <960000>; - qcom,channels = <31>; - qcom,gain = <100 100 100 50 100 100 1 100 1 50 - 1 100 1 100 50 50 50 50 50 50 - 100 50 100 50 50 50 50 50 50 50 - 50>; - qcom,rsense = <2 2 2 200 20 2 1 2 1 30 - 1 10 1 30 50 30 500 30 100 30 - 100 500 20 200 1000 20 1000 1000 70 200 - 50>; - qcom,channel-type = <0x1540>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8974-regulator.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v3/msm8974-regulator.dtsi deleted file mode 100644 index 2114686eb..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8974-regulator.dtsi +++ /dev/null @@ -1,568 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - - -/* QPNP controlled regulators: */ - -&spmi_bus { - - qcom,pm8941@1 { - - pm8941_boost: regulator@a000 { - regulator-min-microvolt = <5000000>; - regulator-max-microvolt = <5000000>; - qcom,enable-time = <500>; - status = "okay"; - }; - - pm8941_mvs1: regulator@8300 { - parent-supply = <&pm8941_chg_otg>; - qcom,enable-time = <1000>; - qcom,pull-down-enable = <1>; - interrupts = <0x1 0x83 0x2>; - interrupt-names = "ocp"; - qcom,ocp-enable = <1>; - qcom,ocp-max-retries = <10>; - qcom,ocp-retry-delay = <30>; - qcom,soft-start-enable = <1>; - qcom,vs-soft-start-strength = <0>; - qcom,hpm-enable = <1>; - qcom,auto-mode-enable = <0>; - status = "okay"; - }; - - pm8941_mvs2: regulator@8400 { - parent-supply = <&pm8941_boost>; - qcom,enable-time = <1000>; - qcom,pull-down-enable = <1>; - interrupts = <0x1 0x84 0x2>; - interrupt-names = "ocp"; - qcom,ocp-enable = <1>; - qcom,ocp-max-retries = <10>; - qcom,ocp-retry-delay = <30>; - qcom,soft-start-enable = <1>; - qcom,vs-soft-start-strength = <0>; - qcom,hpm-enable = <1>; - qcom,auto-mode-enable = <0>; - status = "okay"; - }; - }; -}; - -/* RPM controlled regulators: */ - -&rpm_bus { - rpm-regulator-smpb1 { - status = "okay"; - pm8841_s1: regulator-s1 { - regulator-min-microvolt = <675000>; - regulator-max-microvolt = <1050000>; - status = "okay"; - }; - pm8841_s1_ao: regulator-s1-ao { - regulator-name = "8841_s1_ao"; - qcom,set = <1>; - regulator-min-microvolt = <675000>; - regulator-max-microvolt = <1050000>; - status = "okay"; - compatible = "qcom,rpm-regulator-smd"; - }; - pm8841_s1_so: regulator-s1-so { - regulator-name = "8841_s1_so"; - qcom,set = <2>; - regulator-min-microvolt = <675000>; - regulator-max-microvolt = <1050000>; - qcom,init-voltage = <675000>; - status = "okay"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-smpb2 { - status = "okay"; - pm8841_s2: regulator-s2 { - regulator-min-microvolt = <500000>; - regulator-max-microvolt = <1050000>; - status = "okay"; - }; - pm8841_s2_corner: regulator-s2-corner { - regulator-name = "8841_s2_corner"; - qcom,set = <3>; - regulator-min-microvolt = <1>; - regulator-max-microvolt = <7>; - qcom,use-voltage-corner; - compatible = "qcom,rpm-regulator-smd"; - qcom,consumer-supplies = "vdd_dig", ""; - }; - pm8841_s2_corner_ao: regulator-s2-corner-ao { - regulator-name = "8841_s2_corner_ao"; - qcom,set = <1>; - regulator-min-microvolt = <1>; - regulator-max-microvolt = <7>; - qcom,use-voltage-corner; - compatible = "qcom,rpm-regulator-smd"; - }; - pm8841_s2_floor_corner: regulator-s2-floor-corner { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8841_s2_floor_corner"; - qcom,set = <3>; - regulator-min-microvolt = <1>; - regulator-max-microvolt = <7>; - qcom,use-voltage-floor-corner; - qcom,always-send-voltage; - }; - }; - - rpm-regulator-smpb3 { - status = "okay"; - pm8841_s3: regulator-s3 { - regulator-min-microvolt = <1050000>; - regulator-max-microvolt = <1050000>; - qcom,init-voltage = <1050000>; - status = "okay"; - }; - }; - - rpm-regulator-smpb4 { - status = "okay"; - pm8841_s4: regulator-s4 { - regulator-min-microvolt = <815000>; - regulator-max-microvolt = <900000>; - status = "okay"; - }; - pm8841_s4_corner: regulator-s4-corner { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8841_s4_corner"; - qcom,set = <3>; - qcom,use-voltage-corner; - regulator-min-microvolt = <1>; - regulator-max-microvolt = <7>; - qcom,init-voltage-corner = <3>; /* SVS SOC */ - }; - pm8841_s4_floor_corner: regulator-s4-floor-corner { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8841_s4_floor_corner"; - qcom,set = <3>; - regulator-min-microvolt = <1>; - regulator-max-microvolt = <7>; - qcom,use-voltage-floor-corner; - qcom,always-send-voltage; - }; - }; - - rpm-regulator-smpa1 { - status = "okay"; - pm8941_s1: regulator-s1 { - regulator-min-microvolt = <1300000>; - regulator-max-microvolt = <1300000>; - qcom,init-voltage = <1300000>; - status = "okay"; - }; - }; - - rpm-regulator-smpa2 { - status = "okay"; - pm8941_s2: regulator-s2 { - regulator-min-microvolt = <2150000>; - regulator-max-microvolt = <2150000>; - qcom,init-voltage = <2150000>; - status = "okay"; - }; - }; - - rpm-regulator-smpa3 { - status = "okay"; - pm8941_s3: regulator-s3 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa1 { - status = "okay"; - pm8941_l1: regulator-l1 { - regulator-min-microvolt = <1225000>; - regulator-max-microvolt = <1225000>; - qcom,init-voltage = <1225000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa2 { - status = "okay"; - pm8941_l2: regulator-l2 { - regulator-min-microvolt = <1200000>; - regulator-max-microvolt = <1200000>; - qcom,init-voltage = <1200000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa3 { - status = "okay"; - pm8941_l3: regulator-l3 { - regulator-min-microvolt = <1225000>; - regulator-max-microvolt = <1225000>; - qcom,init-voltage = <1225000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa4 { - status = "okay"; - pm8941_l4: regulator-l4 { - regulator-min-microvolt = <1225000>; - regulator-max-microvolt = <1225000>; - qcom,init-voltage = <1225000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa5 { - status = "okay"; - pm8941_l5: regulator-l5 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa6 { - status = "okay"; - pm8941_l6: regulator-l6 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa7 { - status = "okay"; - pm8941_l7: regulator-l7 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa8 { - status = "okay"; - pm8941_l8: regulator-l8 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa9 { - status = "okay"; - pm8941_l9: regulator-l9 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <2950000>; - qcom,init-voltage = <2950000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa10 { - status = "okay"; - pm8941_l10: regulator-l10 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <2950000>; - qcom,init-voltage = <2950000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa11 { - status = "okay"; - pm8941_l11: regulator-l11 { - regulator-min-microvolt = <1300000>; - regulator-max-microvolt = <1300000>; - qcom,init-voltage = <1300000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa12 { - status = "okay"; - pm8941_l12: regulator-l12 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - status = "okay"; - }; - pm8941_l12_ao: regulator-l12-ao { - regulator-name = "8941_l12_ao"; - qcom,set = <1>; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - status = "okay"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa13 { - status = "okay"; - pm8941_l13: regulator-l13 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <2950000>; - qcom,init-voltage = <2950000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa14 { - status = "okay"; - pm8941_l14: regulator-l14 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa15 { - status = "okay"; - pm8941_l15: regulator-l15 { - regulator-min-microvolt = <2050000>; - regulator-max-microvolt = <2050000>; - qcom,init-voltage = <2050000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa16 { - status = "okay"; - pm8941_l16: regulator-l16 { - regulator-min-microvolt = <2700000>; - regulator-max-microvolt = <2700000>; - qcom,init-voltage = <2700000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa17 { - status = "okay"; - pm8941_l17: regulator-l17 { - regulator-min-microvolt = <2850000>; - regulator-max-microvolt = <2850000>; - qcom,init-voltage = <2850000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa18 { - status = "okay"; - pm8941_l18: regulator-l18 { - regulator-min-microvolt = <2850000>; - regulator-max-microvolt = <2850000>; - qcom,init-voltage = <2850000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa19 { - status = "okay"; - pm8941_l19: regulator-l19 { - regulator-min-microvolt = <2900000>; - regulator-max-microvolt = <2900000>; - qcom,init-voltage = <2900000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa20 { - status = "okay"; - pm8941_l20: regulator-l20 { - regulator-min-microvolt = <2950000>; - regulator-max-microvolt = <2950000>; - qcom,init-voltage = <2950000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa21 { - status = "okay"; - pm8941_l21: regulator-l21 { - regulator-min-microvolt = <2950000>; - regulator-max-microvolt = <2950000>; - qcom,init-voltage = <2950000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa22 { - status = "okay"; - pm8941_l22: regulator-l22 { - regulator-min-microvolt = <3000000>; - regulator-max-microvolt = <3000000>; - qcom,init-voltage = <3000000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa23 { - status = "okay"; - pm8941_l23: regulator-l23 { - regulator-min-microvolt = <3000000>; - regulator-max-microvolt = <3000000>; - qcom,init-voltage = <3000000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa24 { - status = "okay"; - pm8941_l24: regulator-l24 { - regulator-min-microvolt = <3075000>; - regulator-max-microvolt = <3075000>; - qcom,init-voltage = <3075000>; - status = "okay"; - }; - }; - - rpm-regulator-vsa1 { - status = "okay"; - pm8941_lvs1: regulator-lvs1 { - status = "okay"; - }; - }; - - rpm-regulator-vsa2 { - status = "okay"; - pm8941_lvs2: regulator-lvs2 { - status = "okay"; - }; - }; - - rpm-regulator-vsa3 { - status = "okay"; - pm8941_lvs3: regulator-lvs3 { - status = "okay"; - }; - }; -}; - -&soc { - krait_pdn: krait-pdn@f9011000 { - reg = <0xf9011000 0x1000>, - <0xfc4b80b0 8>; - reg-names = "apcs_gcc", "phase-scaling-efuse"; - compatible = "qcom,krait-pdn"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - qcom,pfm-threshold = <73>; - - krait0_vreg: regulator@f9088000 { - compatible = "qcom,krait-regulator"; - regulator-name = "krait0"; - reg = <0xf9088000 0x1000>, /* APCS_ALIAS0_KPSS_ACS */ - <0xf908a800 0x1000>; /* APCS_ALIAS0_KPSS_MDD */ - reg-names = "acs", "mdd"; - regulator-min-microvolt = <500000>; - regulator-max-microvolt = <1100000>; - qcom,headroom-voltage = <150000>; - qcom,retention-voltage = <675000>; - qcom,ldo-default-voltage = <750000>; - qcom,ldo-threshold-voltage = <850000>; - qcom,ldo-delta-voltage = <50000>; - qcom,cpu-num = <0>; - }; - - krait1_vreg: regulator@f9098000 { - compatible = "qcom,krait-regulator"; - regulator-name = "krait1"; - reg = <0xf9098000 0x1000>, /* APCS_ALIAS1_KPSS_ACS */ - <0xf909a800 0x1000>; /* APCS_ALIAS1_KPSS_MDD */ - reg-names = "acs", "mdd"; - regulator-min-microvolt = <500000>; - regulator-max-microvolt = <1100000>; - qcom,headroom-voltage = <150000>; - qcom,retention-voltage = <675000>; - qcom,ldo-default-voltage = <750000>; - qcom,ldo-threshold-voltage = <850000>; - qcom,ldo-delta-voltage = <50000>; - qcom,cpu-num = <1>; - }; - - krait2_vreg: regulator@f90a8000 { - compatible = "qcom,krait-regulator"; - regulator-name = "krait2"; - reg = <0xf90a8000 0x1000>, /* APCS_ALIAS2_KPSS_ACS */ - <0xf90aa800 0x1000>; /* APCS_ALIAS2_KPSS_MDD */ - reg-names = "acs", "mdd"; - regulator-min-microvolt = <500000>; - regulator-max-microvolt = <1100000>; - qcom,headroom-voltage = <150000>; - qcom,retention-voltage = <675000>; - qcom,ldo-default-voltage = <750000>; - qcom,ldo-threshold-voltage = <850000>; - qcom,ldo-delta-voltage = <50000>; - qcom,cpu-num = <2>; - }; - - krait3_vreg: regulator@f90b8000 { - compatible = "qcom,krait-regulator"; - regulator-name = "krait3"; - reg = <0xf90b8000 0x1000>, /* APCS_ALIAS3_KPSS_ACS */ - <0xf90ba800 0x1000>; /* APCS_ALIAS3_KPSS_MDD */ - reg-names = "acs", "mdd"; - regulator-min-microvolt = <500000>; - regulator-max-microvolt = <1100000>; - qcom,headroom-voltage = <150000>; - qcom,retention-voltage = <675000>; - qcom,ldo-default-voltage = <750000>; - qcom,ldo-threshold-voltage = <850000>; - qcom,ldo-delta-voltage = <50000>; - qcom,cpu-num = <3>; - }; - }; - - spi_eth_vreg: spi_eth_phy_vreg { - compatible = "regulator-fixed"; - regulator-name = "ethernet_phy"; - gpio = <&pm8941_mpps 5 0>; - enable-active-high; - }; - - /* - * vph_pwr_vreg represents the unregulated battery voltage supply - * VPH_PWR that is present whenever the device is powered on. - */ - vph_pwr_vreg: vph_pwr_vreg { - compatible = "regulator-fixed"; - status = "disabled"; - regulator-name = "vph_pwr"; - regulator-always-on; - }; -}; - -&pm8941_chg { - otg-parent-supply = <&pm8941_boost>; -}; - -&pm8941_chg_boost { - regulator-min-microvolt = <5000000>; - regulator-max-microvolt = <5000000>; - regulator-name = "8941_smbb_boost"; -}; - -&pm8941_chg_otg { - regulator-name = "8941_smbb_otg"; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8974-rumi.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v3/msm8974-rumi.dtsi deleted file mode 100644 index c01a4e509..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8974-rumi.dtsi +++ /dev/null @@ -1,146 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/include/ "msm8974-leds.dtsi" -/include/ "msm8974-camera-sensor-cdp.dtsi" - -&soc { - timer { - clock-frequency = <5000000>; - }; - - serial@f995e000 { - status = "ok"; - }; - - usb@f9a55000 { - status = "disable"; - }; - - qcom,sdcc@f9824000 { - qcom,clk-rates = <400000 19200000>; - }; - - qcom,sdcc@f98a4000 { - qcom,clk-rates = <400000 19200000>; - }; - - qcom,sps@f998000 { - status = "disable"; - }; - - spi@f9924000 { - status = "disable"; - }; - - spi@f9923000 { - compatible = "qcom,spi-qup-v2"; - reg = <0xf9923000 0x1000>; - interrupts = <0 95 0>; - spi-max-frequency = <24000000>; - #address-cells = <1>; - #size-cells = <0>; - gpios = <&msmgpio 3 0>, /* CLK */ - <&msmgpio 1 0>, /* MISO */ - <&msmgpio 0 0>; /* MOSI */ - cs-gpios = <&msmgpio 9 0>; - - ethernet-switch@2 { - compatible = "simtec,ks8851"; - reg = <2>; - interrupt-parent = <&msmgpio>; - interrupts = <90 0>; - spi-max-frequency = <5000000>; - }; - }; - - i2c@f9966000 { - status = "disable"; - }; - - i2c@f9967000 { - cell-index = <0>; - compatible = "qcom,i2c-qup"; - reg = <0Xf9967000 0x1000>; - reg-names = "qup_phys_addr"; - interrupts = <0 105 0>; - interrupt-names = "qup_err_intr"; - qcom,i2c-bus-freq = <100000>; - qcom,i2c-src-freq = <19200000>; - gpios = <&msmgpio 83 0>, /* DAT */ - <&msmgpio 84 0>; /* CLK */ - }; - - slim@fe12f000 { - status = "disable"; - }; - - qcom,mdss_dsi@fd922800 { - status = "disable"; - }; - - qcom,spmi@fc4c0000 { - status = "disable"; - }; - - qcom,ssusb@F9200000 { - status = "disable"; - }; - - qcom,lpass@fe200000 { - status = "disable"; - }; - - qcom,pronto@fb21b000 { - status = "disable"; - }; - - qcom,mss@fc880000 { - status = "disable"; - }; - - qcom,kgsl-3d0@fdb00000 { - status = "disabled"; - }; -}; - -&gdsc_venus { - status = "disabled"; -}; - -&gdsc_mdss { - status = "disabled"; -}; - -&gdsc_jpeg { - status = "disabled"; -}; - -&gdsc_vfe { - status = "disabled"; -}; - -&gdsc_oxili_gx { - status = "disabled"; -}; - -&gdsc_oxili_cx { - status = "disabled"; -}; - -&gdsc_usb_hsic { - status = "disabled"; -}; - -&rpm_bus { - rpm-standalone; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8974-sim.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v3/msm8974-sim.dtsi deleted file mode 100644 index 24b8d18be..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8974-sim.dtsi +++ /dev/null @@ -1,93 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/include/ "dsi-panel-sim-video.dtsi" -/include/ "msm8974-leds.dtsi" -/include/ "msm8974-camera-sensor-cdp.dtsi" - -&soc { - qcom,mdss_dsi@fd922800 { - qcom,mdss_dsi_sim_video { - status = "ok"; - }; - }; - - serial@f991f000 { - status = "ok"; - }; - - serial@f995e000 { - status = "ok"; - }; -}; - -&jpeg_iommu { - qcom,iommu-ctx@fda6c000 { - interrupts = <0 69 0>; - }; - - qcom,iommu-ctx@fda6d000 { - interrupts = <0 70 0>; - }; - - qcom,iommu-ctx@fda6e000 { - interrupts = <0 71 0>; - }; -}; - -&mdp_iommu { - qcom,iommu-ctx@fd930000 { - interrupts = <0 46 0>; - }; - - qcom,iommu-ctx@fd931000 { - interrupts = <0 47 0>; - }; -}; - -&venus_iommu { - qcom,iommu-ctx@fdc8c000 { - interrupts = <0 43 0>; - }; - - qcom,iommu-ctx@fdc8d000 { - interrupts = <0 42 0>; - }; - - qcom,iommu-ctx@fdc8e000 { - interrupts = <0 41 0>; - }; -}; - -&kgsl_iommu { - qcom,iommu-ctx@fdb18000 { - interrupts = <0 240 0>; - }; - - qcom,iommu-ctx@fdb19000 { - interrupts = <0 241 0>; - }; -}; - -&vfe_iommu { - qcom,iommu-ctx@fda4c000 { - interrupts = <0 64 0>; - }; - - qcom,iommu-ctx@fda4d000 { - interrupts = <0 65 0>; - }; - - qcom,iommu-ctx@fda4e000 { - interrupts = <0 66 0>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8974-smp2p.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v3/msm8974-smp2p.dtsi deleted file mode 100644 index 3921a686a..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8974-smp2p.dtsi +++ /dev/null @@ -1,225 +0,0 @@ -/* Copyright (c) 2013, 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. - */ -&soc { - qcom,smp2p-modem { - compatible = "qcom,smp2p"; - reg = <0xf9011008 0x4>; - qcom,remote-pid = <1>; - qcom,irq-bitmask = <0x4000>; - interrupts = <0 27 1>; - }; - - qcom,smp2p-adsp { - compatible = "qcom,smp2p"; - reg = <0xf9011008 0x4>; - qcom,remote-pid = <2>; - qcom,irq-bitmask = <0x400>; - interrupts = <0 158 1>; - }; - - qcom,smp2p-wcnss { - compatible = "qcom,smp2p"; - reg = <0xf9011008 0x4>; - qcom,remote-pid = <4>; - qcom,irq-bitmask = <0x40000>; - interrupts = <0 143 1>; - }; - - smp2pgpio_smp2p_7_in: qcom,smp2pgpio-smp2p-7-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <7>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_7_in { - compatible = "qcom,smp2pgpio_test_smp2p_7_in"; - gpios = <&smp2pgpio_smp2p_7_in 0 0>; - }; - - smp2pgpio_smp2p_7_out: qcom,smp2pgpio-smp2p-7-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <7>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_7_out { - compatible = "qcom,smp2pgpio_test_smp2p_7_out"; - gpios = <&smp2pgpio_smp2p_7_out 0 0>; - }; - - smp2pgpio_smp2p_1_in: qcom,smp2pgpio-smp2p-1-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <1>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_1_in { - compatible = "qcom,smp2pgpio_test_smp2p_1_in"; - gpios = <&smp2pgpio_smp2p_1_in 0 0>; - }; - - smp2pgpio_smp2p_1_out: qcom,smp2pgpio-smp2p-1-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <1>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_1_out { - compatible = "qcom,smp2pgpio_test_smp2p_1_out"; - gpios = <&smp2pgpio_smp2p_1_out 0 0>; - }; - - smp2pgpio_ssr_smp2p_1_in: qcom,smp2pgpio-ssr-smp2p-1-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "slave-kernel"; - qcom,remote-pid = <1>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - smp2pgpio_ssr_smp2p_1_out: qcom,smp2pgpio-ssr-smp2p-1-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "master-kernel"; - qcom,remote-pid = <1>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - smp2pgpio_smp2p_2_in: qcom,smp2pgpio-smp2p-2-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <2>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_2_in { - compatible = "qcom,smp2pgpio_test_smp2p_2_in"; - gpios = <&smp2pgpio_smp2p_2_in 0 0>; - }; - - smp2pgpio_smp2p_2_out: qcom,smp2pgpio-smp2p-2-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <2>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_2_out { - compatible = "qcom,smp2pgpio_test_smp2p_2_out"; - gpios = <&smp2pgpio_smp2p_2_out 0 0>; - }; - - /* SMP2P SSR Driver for inbound entry from lpass. */ - smp2pgpio_ssr_smp2p_2_in: qcom,smp2pgpio-ssr-smp2p-2-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "slave-kernel"; - qcom,remote-pid = <2>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - /* SMP2P SSR Driver for outbound entry to lpass */ - smp2pgpio_ssr_smp2p_2_out: qcom,smp2pgpio-ssr-smp2p-2-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "master-kernel"; - qcom,remote-pid = <2>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - smp2pgpio_smp2p_4_in: qcom,smp2pgpio-smp2p-4-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <4>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_4_in { - compatible = "qcom,smp2pgpio_test_smp2p_4_in"; - gpios = <&smp2pgpio_smp2p_4_in 0 0>; - }; - - smp2pgpio_smp2p_4_out: qcom,smp2pgpio-smp2p-4-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <4>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - smp2pgpio_ssr_smp2p_4_in: qcom,smp2pgpio-ssr-smp2p-4-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "slave-kernel"; - qcom,remote-pid = <4>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - smp2pgpio_ssr_smp2p_4_out: qcom,smp2pgpio-ssr-smp2p-4-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "master-kernel"; - qcom,remote-pid = <4>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_4_out { - compatible = "qcom,smp2pgpio_test_smp2p_4_out"; - gpios = <&smp2pgpio_smp2p_4_out 0 0>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8974-v1-cdp.dts b/kernel/arch/arm/boot/dts/m7350-un-v3/msm8974-v1-cdp.dts deleted file mode 100644 index c3fd98d2b..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8974-v1-cdp.dts +++ /dev/null @@ -1,33 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/dts-v1/; - -/include/ "msm8974-v1.dtsi" -/include/ "msm8974-cdp.dtsi" - -/ { - model = "Qualcomm MSM 8974 CDP"; - compatible = "qcom,msm8974-cdp", "qcom,msm8974", "qcom,cdp"; - qcom,msm-id = <126 1 0>, - <185 1 0>, - <186 1 0>; -}; - -&ehci { - status = "ok"; - vbus-supply = <&usb2_otg_sw>; -}; - -&hsic_host { - qcom,phy-sof-workaround; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8974-v1-fluid.dts b/kernel/arch/arm/boot/dts/m7350-un-v3/msm8974-v1-fluid.dts deleted file mode 100644 index 2b96ecbd2..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8974-v1-fluid.dts +++ /dev/null @@ -1,33 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/dts-v1/; - -/include/ "msm8974-v1.dtsi" -/include/ "msm8974-fluid.dtsi" - -/ { - model = "Qualcomm MSM 8974 FLUID"; - compatible = "qcom,msm8974-fluid", "qcom,msm8974", "qcom,fluid"; - qcom,msm-id = <126 3 0>, - <185 3 0>, - <186 3 0>; - -}; - -&pm8941_chg { - qcom,charging-disabled; -}; - -&sdcc1 { - qcom,bus-width = <4>; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8974-v1-iommu-domains.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v3/msm8974-v1-iommu-domains.dtsi deleted file mode 100644 index 25fca2a54..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8974-v1-iommu-domains.dtsi +++ /dev/null @@ -1,31 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -&soc { - qcom,iommu-domains { - compatible = "qcom,iommu-domains"; - - venus_domain_ns: qcom,iommu-domain1 { - label = "venus_ns"; - qcom,iommu-contexts = <&venus_ns>; - qcom,virtual-addr-pool = <0x40000000 0x3f000000 - 0x7f000000 0x1000000>; - }; - - venus_domain_cp: qcom,iommu-domain2 { - label = "venus_cp"; - qcom,iommu-contexts = <&venus_cp>; - qcom,virtual-addr-pool = <0x1000000 0x3f000000>; - qcom,secure-domain; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8974-v1-iommu.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v3/msm8974-v1-iommu.dtsi deleted file mode 100644 index 56369dce3..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8974-v1-iommu.dtsi +++ /dev/null @@ -1,40 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/include/ "msm-iommu-v1.dtsi" - -&jpeg_iommu { - status = "ok"; - vdd-supply = <&gdsc_jpeg>; -}; - -&mdp_iommu { - status = "ok"; - vdd-supply = <&gdsc_mdss>; -}; - -&venus_iommu { - status = "ok"; - vdd-supply = <&gdsc_venus>; -}; - -&kgsl_iommu { - status = "ok"; - qcom,needs-alt-core-clk; - vdd-supply = <&gdsc_oxili_cx>; - qcom,alt-vdd-supply = <&gdsc_oxili_gx>; -}; - -&vfe_iommu { - status = "ok"; - vdd-supply = <&gdsc_vfe>; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8974-v1-liquid.dts b/kernel/arch/arm/boot/dts/m7350-un-v3/msm8974-v1-liquid.dts deleted file mode 100644 index 29d6150ba..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8974-v1-liquid.dts +++ /dev/null @@ -1,24 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/dts-v1/; - -/include/ "msm8974-v1.dtsi" -/include/ "msm8974-liquid.dtsi" - -/ { - model = "Qualcomm MSM 8974 LIQUID"; - compatible = "qcom,msm8974-liquid", "qcom,msm8974", "qcom,liquid"; - qcom,msm-id = <126 9 0>, - <185 9 0>, - <186 9 0>; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8974-v1-mtp.dts b/kernel/arch/arm/boot/dts/m7350-un-v3/msm8974-v1-mtp.dts deleted file mode 100644 index 8cbcca05a..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8974-v1-mtp.dts +++ /dev/null @@ -1,28 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/dts-v1/; - -/include/ "msm8974-v1.dtsi" -/include/ "msm8974-mtp.dtsi" - -/ { - model = "Qualcomm MSM 8974 MTP"; - compatible = "qcom,msm8974-mtp", "qcom,msm8974", "qcom,mtp"; - qcom,msm-id = <126 8 0>, - <185 8 0>, - <186 8 0>; -}; - -&pm8941_chg { - qcom,charging-disabled; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8974-v1-pm.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v3/msm8974-v1-pm.dtsi deleted file mode 100644 index 56a819ecc..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8974-v1-pm.dtsi +++ /dev/null @@ -1,456 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/include/ "skeleton.dtsi" - -&soc { - qcom,spm@f9089000 { - compatible = "qcom,spm-v2"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xf9089000 0x1000>; - qcom,core-id = <0>; - qcom,saw2-ver-reg = <0xfd0>; - qcom,saw2-cfg = <0x01>; - qcom,saw2-avs-ctl = <0>; - qcom,saw2-avs-hysteresis = <0>; - qcom,saw2-avs-limit = <0>; - qcom,saw2-avs-dly= <0>; - qcom,saw2-spm-dly= <0x20000400>; - qcom,saw2-spm-ctl = <0x1>; - qcom,saw2-spm-cmd-wfi = [03 0b 0f]; - qcom,saw2-spm-cmd-ret = [42 1b 00 d0 c0 a0 90 03 d0 98 a2 c0 - 0b 00 42 1b 0f]; - qcom,saw2-spm-cmd-spc = [00 20 80 10 90 a0 b0 03 3b 98 a2 b0 82 - 10 0b 30 06 26 30 0f]; - qcom,saw2-spm-cmd-pc = [00 20 80 10 90 a0 b0 07 3b 98 a2 b0 82 - 10 0b 30 06 26 30 0f]; - }; - - qcom,spm@f9099000 { - compatible = "qcom,spm-v2"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xf9099000 0x1000>; - qcom,core-id = <1>; - qcom,saw2-ver-reg = <0xfd0>; - qcom,saw2-cfg = <0x01>; - qcom,saw2-avs-ctl = <0>; - qcom,saw2-avs-hysteresis = <0>; - qcom,saw2-avs-limit = <0>; - qcom,saw2-avs-dly= <0>; - qcom,saw2-spm-dly= <0x20000400>; - qcom,saw2-spm-ctl = <0x1>; - qcom,saw2-spm-cmd-wfi = [03 0b 0f]; - qcom,saw2-spm-cmd-ret = [42 1b 00 d0 c0 a0 90 03 d0 98 a2 c0 - 0b 00 42 1b 0f]; - qcom,saw2-spm-cmd-spc = [00 20 80 10 90 a0 b0 03 3b 98 a2 b0 82 - 10 0b 30 06 26 30 0f]; - qcom,saw2-spm-cmd-pc = [00 20 80 10 90 a0 b0 07 3b 98 a2 b0 82 - 10 0b 30 06 26 30 0f]; - }; - - qcom,spm@f90a9000 { - compatible = "qcom,spm-v2"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xf90a9000 0x1000>; - qcom,core-id = <2>; - qcom,saw2-ver-reg = <0xfd0>; - qcom,saw2-cfg = <0x01>; - qcom,saw2-avs-ctl = <0>; - qcom,saw2-avs-hysteresis = <0>; - qcom,saw2-avs-limit = <0>; - qcom,saw2-avs-dly= <0>; - qcom,saw2-spm-dly= <0x20000400>; - qcom,saw2-spm-ctl = <0x1>; - qcom,saw2-spm-cmd-wfi = [03 0b 0f]; - qcom,saw2-spm-cmd-ret = [42 1b 00 d0 c0 a0 90 03 d0 98 a2 c0 - 0b 00 42 1b 0f]; - qcom,saw2-spm-cmd-spc = [00 20 80 10 90 a0 b0 03 3b 98 a2 b0 82 - 10 0b 30 06 26 30 0f]; - qcom,saw2-spm-cmd-pc = [00 20 80 10 90 a0 b0 07 3b 98 a2 b0 82 - 10 0b 30 06 26 30 0f]; - }; - - qcom,spm@f90b9000 { - compatible = "qcom,spm-v2"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xf90b9000 0x1000>; - qcom,core-id = <3>; - qcom,saw2-ver-reg = <0xfd0>; - qcom,saw2-cfg = <0x01>; - qcom,saw2-avs-ctl = <0>; - qcom,saw2-avs-hysteresis = <0>; - qcom,saw2-avs-limit = <0>; - qcom,saw2-avs-dly= <0>; - qcom,saw2-spm-dly= <0x20000400>; - qcom,saw2-spm-ctl = <0x1>; - qcom,saw2-spm-cmd-wfi = [03 0b 0f]; - qcom,saw2-spm-cmd-ret = [42 1b 00 d0 c0 a0 90 03 d0 98 a2 c0 - 0b 00 42 1b 0f]; - qcom,saw2-spm-cmd-spc = [00 20 80 10 90 a0 b0 03 3b 98 a2 b0 82 - 10 0b 30 06 26 30 0f]; - qcom,saw2-spm-cmd-pc = [00 20 80 10 90 a0 b0 07 3b 98 a2 b0 82 - 10 0b 30 06 26 30 0f]; - }; - - qcom,spm@f9012000 { - compatible = "qcom,spm-v2"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xf9012000 0x1000>; - qcom,core-id = <0xffff>; /* L2/APCS SAW */ - qcom,saw2-ver-reg = <0xfd0>; - qcom,saw2-cfg = <0x14>; - qcom,saw2-avs-ctl = <0>; - qcom,saw2-avs-hysteresis = <0>; - qcom,saw2-avs-limit = <0>; - qcom,saw2-avs-dly= <0>; - qcom,saw2-spm-dly= <0x20000400>; - qcom,saw2-spm-ctl = <0x1>; - qcom,saw2-pmic-data0 = <0x02030080>; - qcom,saw2-pmic-data1 = <0x00030000>; - qcom,vctl-timeout-us = <50>; - qcom,vctl-port = <0x0>; - qcom,phase-port = <0x1>; - qcom,pfm-port = <0x2>; - qcom,saw2-spm-cmd-ret = [1f 00 20 03 22 00 0f]; - qcom,saw2-spm-cmd-gdhs = [00 20 32 42 07 44 22 50 02 32 50 0f]; - qcom,saw2-spm-cmd-pc = [00 10 32 b0 11 42 07 01 b0 12 44 - 50 02 32 50 0f]; - }; - - qcom,lpm-resources { - compatible = "qcom,lpm-resources"; - #address-cells = <1>; - #size-cells = <0>; - - qcom,lpm-resources@0 { - reg = <0x0>; - qcom,name = "vdd-dig"; - qcom,type = <0x62706d73>; /* "smpb" */ - qcom,id = <0x02>; - qcom,key = <0x6e726f63>; /* "corn" */ - qcom,init-value = <6>; /* Super Turbo */ - }; - - qcom,lpm-resources@1 { - reg = <0x1>; - qcom,name = "vdd-mem"; - qcom,type = <0x62706d73>; /* "smpb" */ - qcom,id = <0x01>; - qcom,key = <0x7675>; /* "uv" */ - qcom,init-value = <1050000>; /* Super Turbo */ - }; - - qcom,lpm-resources@2 { - reg = <0x2>; - qcom,name = "pxo"; - qcom,type = <0x306b6c63>; /* "clk0" */ - qcom,id = <0x00>; - qcom,key = <0x62616e45>; /* "Enab" */ - qcom,init-value = "xo_on"; - }; - - qcom,lpm-resources@3 { - reg = <0x3>; - qcom,name = "l2"; - qcom,local-resource-type; - qcom,init-value = "l2_cache_retention"; - }; - }; - - qcom,lpm-levels { - compatible = "qcom,lpm-levels"; - #address-cells = <1>; - #size-cells = <0>; - - qcom,use-qtimer; - - qcom,lpm-level@0 { - reg = <0x0>; - qcom,mode = "wfi"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_active"; - qcom,vdd-mem-upper-bound = <1050000>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <950000>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <1>; - qcom,ss-power = <784>; - qcom,energy-overhead = <190000>; - qcom,time-overhead = <100>; - }; - - qcom,lpm-level@1 { - reg = <0x1>; - qcom,mode = "retention"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_active"; - qcom,vdd-mem-upper-bound = <1050000>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <950000>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <75>; - qcom,ss-power = <735>; - qcom,energy-overhead = <77341>; - qcom,time-overhead = <105>; - }; - - - qcom,lpm-level@2 { - reg = <0x2>; - qcom,mode = "standalone_pc"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_active"; - qcom,vdd-mem-upper-bound = <1050000>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <950000>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <95>; - qcom,ss-power = <725>; - qcom,energy-overhead = <99500>; - qcom,time-overhead = <130>; - }; - - qcom,lpm-level@3 { - reg = <0x3>; - qcom,mode = "pc"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_gdhs"; - qcom,vdd-mem-upper-bound = <1050000>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <950000>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <2000>; - qcom,ss-power = <138>; - qcom,energy-overhead = <1208400>; - qcom,time-overhead = <3200>; - }; - - qcom,lpm-level@4 { - reg = <0x4>; - qcom,mode = "pc"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_pc"; - qcom,vdd-mem-upper-bound = <1050000>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <950000>; /* SVS SOC */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <3>; /* SVS SOC */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <3000>; - qcom,ss-power = <110>; - qcom,energy-overhead = <1250300>; - qcom,time-overhead = <3500>; - }; - - qcom,lpm-level@5 { - reg = <0x5>; - qcom,mode = "pc"; - qcom,xo = "xo_off"; - qcom,l2 = "l2_cache_gdhs"; - qcom,vdd-mem-upper-bound = <1050000>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <950000>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,latency-us = <3000>; - qcom,ss-power = <68>; - qcom,energy-overhead = <1350200>; - qcom,time-overhead = <4000>; - }; - - qcom,lpm-level@6 { - reg = <0x6>; - qcom,mode = "pc"; - qcom,xo = "xo_off"; - qcom,l2 = "l2_cache_pc"; - qcom,vdd-mem-upper-bound = <1050000>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <950000>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,latency-us = <10300>; - qcom,ss-power = <63>; - qcom,energy-overhead = <2128000>; - qcom,time-overhead = <18200>; - }; - - qcom,lpm-level@7 { - reg = <0x7>; - qcom,mode= "pc"; - qcom,xo = "xo_off"; - qcom,l2 = "l2_cache_pc"; - qcom,vdd-mem-upper-bound = <950000>; /* NORMAL */ - qcom,vdd-mem-lower-bound = <950000>; /* SVS SOC */ - qcom,vdd-dig-upper-bound = <4>; /* NORMAL */ - qcom,vdd-dig-lower-bound = <3>; /* SVS SOC */ - qcom,latency-us = <18000>; - qcom,ss-power = <10>; - qcom,energy-overhead = <3202600>; - qcom,time-overhead = <27000>; - }; - - qcom,lpm-level@8 { - reg = <0x8>; - qcom,mode= "pc"; - qcom,xo = "xo_off"; - qcom,l2 = "l2_cache_pc"; - qcom,vdd-mem-upper-bound = <950000>; /* SVS SOC */ - qcom,vdd-mem-lower-bound = <675000>; /* RETENTION */ - qcom,vdd-dig-upper-bound = <3>; /* SVS SOC */ - qcom,vdd-dig-lower-bound = <1>; /* RETENTION */ - qcom,latency-us = <20000>; - qcom,ss-power = <2>; - qcom,energy-overhead = <4252000>; - qcom,time-overhead = <32000>; - }; - }; - - qcom,pm-boot { - compatible = "qcom,pm-boot"; - qcom,mode = "tz"; - }; - - qcom,mpm@fc4281d0 { - compatible = "qcom,mpm-v2"; - reg = <0xfc4281d0 0x1000>, /* MSM_RPM_MPM_BASE 4K */ - <0xf9011008 0x4>; /* MSM_APCS_GCC_BASE 4K */ - reg-names = "vmpm", "ipc"; - interrupts = <0 171 1>; - - qcom,ipc-bit-offset = <1>; - - qcom,gic-parent = <&intc>; - qcom,gic-map = <2 216>, /* tsens_upper_lower_int */ - <47 165>, /* usb30_hs_phy_irq */ - <50 172>, /* usb1_hs_async_wakeup_irq */ - <53 104>, /* mdss_irq */ - <62 222>, /* ee0_krait_hlos_spmi_periph_irq */ - <0xff 57>, /* mss_to_apps_irq(0) */ - <0xff 58>, /* mss_to_apps_irq(1) */ - <0xff 59>, /* mss_to_apps_irq(2) */ - <0xff 60>, /* mss_to_apps_irq(3) */ - <0xff 173>, /* o_wcss_apss_smd_hi */ - <0xff 174>, /* o_wcss_apss_smd_med */ - <0xff 175>, /* o_wcss_apss_smd_low */ - <0xff 176>, /* o_wcss_apss_smsm_irq */ - <0xff 177>, /* o_wcss_apss_wlan_data_xfer_done */ - <0xff 178>, /* o_wcss_apss_wlan_rx_data_avail */ - <0xff 179>, /* o_wcss_apss_asic_intr - - <0xff 188>, /* lpass_irq_out_apcs(0) */ - <0xff 189>, /* lpass_irq_out_apcs(1) */ - <0xff 190>, /* lpass_irq_out_apcs(2) */ - <0xff 191>, /* lpass_irq_out_apcs(3) */ - <0xff 192>, /* lpass_irq_out_apcs(4) */ - <0xff 193>, /* lpass_irq_out_apcs(5) */ - <0xff 194>, /* lpass_irq_out_apcs(6) */ - <0xff 195>, /* lpass_irq_out_apcs(7) */ - <0xff 196>, /* lpass_irq_out_apcs(8) */ - <0xff 197>, /* lpass_irq_out_apcs(9) */ - <0xff 200>, /* rpm_ipc(4) */ - <0xff 201>, /* rpm_ipc(5) */ - <0xff 202>, /* rpm_ipc(6) */ - <0xff 203>, /* rpm_ipc(7) */ - <0xff 204>, /* rpm_ipc(24) */ - <0xff 205>, /* rpm_ipc(25) */ - <0xff 206>, /* rpm_ipc(26) */ - <0xff 207>, /* rpm_ipc(27) */ - <0xff 240>; /* summary_irq_kpss */ - - qcom,gpio-parent = <&msmgpio>; - qcom,gpio-map = <3 102>, - <4 1 >, - <5 5 >, - <6 9 >, - <7 18>, - <8 20>, - <9 24>, - <10 27>, - <11 28>, - <12 34>, - <13 35>, - <14 37>, - <15 42>, - <16 44>, - <17 46>, - <18 50>, - <19 54>, - <20 59>, - <21 61>, - <22 62>, - <23 64>, - <24 65>, - <25 66>, - <26 67>, - <27 68>, - <28 71>, - <29 72>, - <30 73>, - <31 74>, - <32 75>, - <33 77>, - <34 79>, - <35 80>, - <36 82>, - <37 86>, - <38 92>, - <39 93>, - <40 95>, - <41 144>; - }; - - qcom,pm-8x60@fe805664 { - compatible = "qcom,pm-8x60"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - reg = <0xfe805664 0x40>; - qcom,pc-mode = "tz_l2_int"; - qcom,use-sync-timer; - }; - - qcom,cpu-sleep-status@f9088008 { - compatible = "qcom,cpu-sleep-status"; - reg = <0xf9088008 0x4>; - qcom,cpu-alias-addr = <0x10000>; - qcom,sleep-status-mask= <0x80000>; - }; - - qcom,rpm-log@fc19dc00 { - compatible = "qcom,rpm-log"; - reg = <0xfc19dc00 0x4000>; - qcom,rpm-addr-phys = <0xfc000000>; - qcom,offset-version = <4>; - qcom,offset-page-buffer-addr = <36>; - qcom,offset-log-len = <40>; - qcom,offset-log-len-mask = <44>; - qcom,offset-page-indices = <56>; - }; - - qcom,rpm-stats@fc19dba0 { - compatible = "qcom,rpm-stats"; - reg = <0xfc19dba0 0x1000>; - reg-names = "phys_addr_base"; - qcom,sleep-stats-version = <2>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8974-v1-rumi.dts b/kernel/arch/arm/boot/dts/m7350-un-v3/msm8974-v1-rumi.dts deleted file mode 100644 index 85aab17b1..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8974-v1-rumi.dts +++ /dev/null @@ -1,24 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/dts-v1/; - -/include/ "msm8974-v1.dtsi" -/include/ "msm8974-rumi.dtsi" - -/ { - model = "Qualcomm MSM 8974 RUMI"; - compatible = "qcom,msm8974-rumi", "qcom,msm8974", "qcom,rumi"; - qcom,msm-id = <126 15 0>, - <185 15 0>, - <186 15 0>; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8974-v1-sim.dts b/kernel/arch/arm/boot/dts/m7350-un-v3/msm8974-v1-sim.dts deleted file mode 100644 index fc9858de7..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8974-v1-sim.dts +++ /dev/null @@ -1,24 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/dts-v1/; - -/include/ "msm8974-v1.dtsi" -/include/ "msm8974-sim.dtsi" - -/ { - model = "Qualcomm MSM 8974 Simulator"; - compatible = "qcom,msm8974-sim", "qcom,msm8974", "qcom,sim"; - qcom,msm-id = <126 16 0>, - <185 16 0>, - <186 16 0>; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8974-v1.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v3/msm8974-v1.dtsi deleted file mode 100644 index caec2dc1b..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8974-v1.dtsi +++ /dev/null @@ -1,134 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/* - * As a general rule, only version-specific property overrides should be placed - * inside this file. However, device definitions should be placed inside the - * msm8974.dtsi file. - */ - -/include/ "msm8974.dtsi" -/include/ "msm8974-v1-iommu.dtsi" -/include/ "msm8974-v1-iommu-domains.dtsi" -/include/ "msm8974-v1-pm.dtsi" - -&soc { - android_usb@fc42b0c8 { - compatible = "qcom,android-usb"; - reg = <0xfc42b0c8 0xc8>; - qcom,android-usb-swfi-latency = <1>; - }; - - qcom,msm-imem@fc42b000 { - compatible = "qcom,msm-imem"; - reg = <0xfc42b000 0x1000>; /* Address and size of IMEM */ - }; -}; - -&tsens { - qcom,calibration-less-mode; -}; - -/* I2C clock frequency overrides */ -&i2c_0 { - qcom,i2c-src-freq = <19200000>; -}; - -&i2c_2 { - qcom,i2c-src-freq = <19200000>; -}; - -/* CoreSight */ -&tmc_etr { - qcom,reset-flush-race; -}; - -&stm { - qcom,write-64bit; -}; - -&mdss_mdp { - qcom,mdss-pingpong-off = <0x00021B00 0x00021C00 0x00021D00>; -}; - -&msm_vidc { - qcom,vidc-cp-map = <0x1000000 0x3f000000>; - qcom,vidc-ns-map = <0x40000000 0x40000000>; - qcom,load-freq-tbl = <979200 410000000>, - <783360 410000000>, - <489600 266670000>, - <244800 133330000>; - qcom,reg-presets = <0x80004 0x1>, - <0x80178 0x00001FFF>, - <0x8017c 0x1FFF1FFF>, - <0x800b0 0x10101001>, - <0x800b4 0x10101010>, - <0x800b8 0x10101010>, - <0x800bc 0x00000010>, - <0x800c0 0x1010100f>, - <0x800c4 0x10101010>, - <0x800c8 0x10101010>, - <0x800cc 0x00000010>, - <0x800d0 0x00001010>, - <0x800d4 0x00001010>, - <0x800f0 0x00000030>, - <0x800d8 0x00000707>, - <0x800dc 0x00000707>, - <0x80124 0x00000001>, - <0xE0020 0x5555556>, - <0xE0024 0x0>; - qcom,bus-ports = <1>; - qcom,enc-ocmem-ab-ib = <0 0>, - <138200 1222000>, - <414700 1222000>, - <940000 2444000>, - <1880000 2444000>, - <3008000 3910400>, - <3760000 4888000>; - qcom,dec-ocmem-ab-ib = <0 0>, - <176900 1556640>, - <456200 1556640>, - <864800 1556640>, - <1729600 3113280>, - <2767360 4981248>, - <3459200 6226560>; - qcom,enc-ddr-ab-ib = <0 0>, - <60000 664950>, - <181000 664950>, - <403000 664950>, - <806000 1329900>, - <1289600 2127840>, - <161200 6400000>; - qcom,dec-ddr-ab-ib = <0 0>, - <110000 909000>, - <268000 909000>, - <505000 909000>, - <1010000 1818000>, - <1616000 2908800>, - <2020000 6400000>; - qcom,iommu-groups = <&venus_domain_ns &venus_domain_cp>; - qcom,iommu-group-buffer-types = <0xfff 0x1ff>; - qcom,buffer-type-tz-usage-table = <0x1 0x1>, - <0x1fe 0x2>; -}; - -&sfpb_spinlock { - status = "disable"; -}; - -&ldrex_spinlock { - status = "ok"; -}; - -&usb_otg { - qcom,hsusb-otg-pnoc-errata-fix; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8974-v2-cdp.dts b/kernel/arch/arm/boot/dts/m7350-un-v3/msm8974-v2-cdp.dts deleted file mode 100644 index 85d478b73..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8974-v2-cdp.dts +++ /dev/null @@ -1,36 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; - -/include/ "msm8974-v2.dtsi" -/include/ "msm8974-cdp.dtsi" - -/ { - model = "Qualcomm MSM 8974v2 CDP"; - compatible = "qcom,msm8974-cdp", "qcom,msm8974", "qcom,cdp"; - qcom,msm-id = <126 1 0x20000>, - <185 1 0x20000>, - <186 1 0x20000>; -}; - -&usb3 { - interrupt-parent = <&usb3>; - interrupts = <0 1>; - #interrupt-cells = <1>; - interrupt-map-mask = <0x0 0xffffffff>; - interrupt-map = <0x0 0 &intc 0 133 0 - 0x0 1 &spmi_bus 0x0 0x0 0x9 0x0>; - interrupt-names = "hs_phy_irq", "pmic_id_irq"; - - qcom,misc-ref = <&pm8941_misc>; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8974-v2-fluid.dts b/kernel/arch/arm/boot/dts/m7350-un-v3/msm8974-v2-fluid.dts deleted file mode 100644 index d83d13048..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8974-v2-fluid.dts +++ /dev/null @@ -1,36 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; - -/include/ "msm8974-v2.dtsi" -/include/ "msm8974-fluid.dtsi" - -/ { - model = "Qualcomm MSM 8974v2 FLUID"; - compatible = "qcom,msm8974-fluid", "qcom,msm8974", "qcom,fluid"; - qcom,msm-id = <126 3 0x20000>, - <185 3 0x20000>, - <186 3 0x20000>; -}; - -&usb3 { - interrupt-parent = <&usb3>; - interrupts = <0 1>; - #interrupt-cells = <1>; - interrupt-map-mask = <0x0 0xffffffff>; - interrupt-map = <0x0 0 &intc 0 133 0 - 0x0 1 &spmi_bus 0x0 0x0 0x9 0x0>; - interrupt-names = "hs_phy_irq", "pmic_id_irq"; - - qcom,misc-ref = <&pm8941_misc>; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8974-v2-iommu-domains.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v3/msm8974-v2-iommu-domains.dtsi deleted file mode 100644 index 01c94d0ec..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8974-v2-iommu-domains.dtsi +++ /dev/null @@ -1,45 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -&soc { - qcom,iommu-domains { - compatible = "qcom,iommu-domains"; - - venus_domain_ns: qcom,iommu-domain1 { - label = "venus_ns"; - qcom,iommu-contexts = <&venus_ns>; - qcom,virtual-addr-pool = <0x5dc00000 0x7f000000 - 0xdcc00000 0x1000000>; - }; - - venus_domain_sec_bitstream: qcom,iommu-domain2 { - label = "venus_sec_bitstream"; - qcom,iommu-contexts = <&venus_sec_bitstream>; - qcom,virtual-addr-pool = <0x4b000000 0x12c00000>; - qcom,secure-domain; - }; - - venus_domain_sec_pixel: qcom,iommu-domain3 { - label = "venus_sec_pixel"; - qcom,iommu-contexts = <&venus_sec_pixel>; - qcom,virtual-addr-pool = <0x25800000 0x25800000>; - qcom,secure-domain; - }; - - venus_domain_sec_non_pixel: qcom,iommu-domain4 { - label = "venus_sec_non_pixel"; - qcom,iommu-contexts = <&venus_sec_non_pixel>; - qcom,virtual-addr-pool = <0x1000000 0x24800000>; - qcom,secure-domain; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8974-v2-iommu.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v3/msm8974-v2-iommu.dtsi deleted file mode 100644 index 03f7e807e..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8974-v2-iommu.dtsi +++ /dev/null @@ -1,256 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/include/ "msm-iommu-v1.dtsi" - -&venus_iommu { - status = "ok"; - vdd-supply = <&gdsc_venus>; - qcom,iommu-enable-halt; - - qcom,iommu-bfb-regs = <0x204c - 0x2050 - 0x2514 - 0x2540 - 0x256c - 0x20ac - 0x215c - 0x220c - 0x2314 - 0x2394 - 0x2414 - 0x2008 - 0x200c - 0x2010 - 0x2014 - 0x2018 - 0x201c - 0x2020 - 0x2024 - 0x2028 - 0x202c - 0x2030 - 0x2034 - 0x2038>; - - qcom,iommu-bfb-data = <0xFFFFFFFF - 0xFFFFFFFF - 0x00000004 - 0x00000008 - 0x00000000 - 0x00013205 - 0x00004000 - 0x00014020 - 0x0 - 0x94 - 0x114 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0>; - - venus_ns: qcom,iommu-ctx@fdc8c000 { - qcom,iommu-ctx-sids = <0 1 2 3 4 5 7>; - }; - - venus_sec_bitstream: qcom,iommu-ctx@fdc8d000 { - qcom,iommu-ctx-sids = <0x80 0x81 0x82 0x83 0x84>; - label = "venus_sec_bitstream"; - }; - - venus_sec_pixel: qcom,iommu-ctx@fdc8f000 { - compatible = "qcom,msm-smmu-v1-ctx"; - reg = <0xfdc8f000 0x1000>; - interrupts = <0 42 0>, <0 43 0>; - qcom,iommu-ctx-sids = <0x85>; - label = "venus_sec_pixel"; - qcom,secure-context; - }; - - venus_sec_non_pixel: qcom,iommu-ctx@fdc90000 { - compatible = "qcom,msm-smmu-v1-ctx"; - reg = <0xfdc90000 0x1000>; - interrupts = <0 42 0>, <0 43 0>; - qcom,iommu-ctx-sids = <0x87 0xA0>; - label = "venus_sec_non_pixel"; - qcom,secure-context; - }; -}; - -&jpeg_iommu { - status = "ok"; - vdd-supply = <&gdsc_jpeg>; - qcom,iommu-enable-halt; - - qcom,iommu-bfb-regs = <0x204c - 0x2050 - 0x2514 - 0x2540 - 0x256c - 0x2314 - 0x2394 - 0x2414 - 0x20ac - 0x215c - 0x220c - 0x2008 - 0x200c - 0x2010 - 0x2014>; - - qcom,iommu-bfb-data = <0x3FFF - 0x00000000 - 0x4 - 0x4 - 0x0 - 0x0 - 0x10 - 0x50 - 0x0 - 0x00002804 - 0x00009614 - 0x0 - 0x0 - 0x0 - 0x0>; -}; - -&mdp_iommu { - status = "ok"; - vdd-supply = <&gdsc_mdss>; - qcom,iommu-enable-halt; - - qcom,iommu-bfb-regs = <0x204c - 0x2050 - 0x2514 - 0x2540 - 0x256c - 0x20ac - 0x215c - 0x220c - 0x2314 - 0x2394 - 0x2414 - 0x2008 - 0x200c - 0x2010 - 0x2014 - 0x2018 - 0x201c - 0x2020>; - - qcom,iommu-bfb-data = <0xFFFFF - 0x00000000 - 0x00000004 - 0x00000010 - 0x00000000 - 0x00006800 - 0x00006221 - 0x00016231 - 0x0 - 0x34 - 0x74 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0>; -}; - -&kgsl_iommu { - status = "ok"; - vdd-supply = <&gdsc_oxili_cx>; - qcom,alt-vdd-supply = <&gdsc_oxili_gx>; - qcom,iommu-enable-halt; - qcom,needs-alt-core-clk; - - qcom,iommu-bfb-regs = <0x204c - 0x2050 - 0x2514 - 0x2540 - 0x256c - 0x20ac - 0x215c - 0x220c - 0x2314 - 0x2394 - 0x2414 - 0x2008>; - - qcom,iommu-bfb-data = <0x00000003 - 0x0 - 0x00000004 - 0x00000010 - 0x00000000 - 0x00000000 - 0x00000000 - 0x00000020 - 0x0 - 0x1 - 0x81 - 0x0>; -}; - -&vfe_iommu { - status = "ok"; - vdd-supply = <&gdsc_vfe>; - qcom,iommu-enable-halt; - - qcom,iommu-bfb-regs = <0x204c - 0x2050 - 0x2514 - 0x2540 - 0x256c - 0x2314 - 0x2394 - 0x2414 - 0x20ac - 0x215c - 0x220c - 0x2008 - 0x200c - 0x2010 - 0x2014 - 0x2018 - 0x201c - 0x2020>; - - qcom,iommu-bfb-data = <0xffffffff - 0x00000000 - 0x4 - 0x8 - 0x0 - 0x0 - 0x20 - 0x78 - 0x0 - 0x00003c08 - 0x0000b41e - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0>; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8974-v2-liquid.dts b/kernel/arch/arm/boot/dts/m7350-un-v3/msm8974-v2-liquid.dts deleted file mode 100644 index 53983dc1c..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8974-v2-liquid.dts +++ /dev/null @@ -1,36 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; - -/include/ "msm8974-v2.dtsi" -/include/ "msm8974-liquid.dtsi" - -/ { - model = "Qualcomm MSM 8974v2 LIQUID"; - compatible = "qcom,msm8974-liquid", "qcom,msm8974", "qcom,liquid"; - qcom,msm-id = <126 9 0x20000>, - <185 9 0x20000>, - <186 9 0x20000>; -}; - -&usb3 { - interrupt-parent = <&usb3>; - interrupts = <0 1>; - #interrupt-cells = <1>; - interrupt-map-mask = <0x0 0xffffffff>; - interrupt-map = <0x0 0 &intc 0 133 0 - 0x0 1 &spmi_bus 0x0 0x0 0x9 0x0>; - interrupt-names = "hs_phy_irq", "pmic_id_irq"; - - qcom,misc-ref = <&pm8941_misc>; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8974-v2-mtp.dts b/kernel/arch/arm/boot/dts/m7350-un-v3/msm8974-v2-mtp.dts deleted file mode 100644 index 792a78cbd..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8974-v2-mtp.dts +++ /dev/null @@ -1,40 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; - -/include/ "msm8974-v2.dtsi" -/include/ "msm8974-mtp.dtsi" - -/ { - model = "Qualcomm MSM 8974v2 MTP"; - compatible = "qcom,msm8974-mtp", "qcom,msm8974", "qcom,mtp"; - qcom,msm-id = <126 8 0x20000>, - <185 8 0x20000>, - <186 8 0x20000>; -}; - -&usb3 { - interrupt-parent = <&usb3>; - interrupts = <0 1>; - #interrupt-cells = <1>; - interrupt-map-mask = <0x0 0xffffffff>; - interrupt-map = <0x0 0 &intc 0 133 0 - 0x0 1 &spmi_bus 0x0 0x0 0x9 0x0>; - interrupt-names = "hs_phy_irq", "pmic_id_irq"; - - qcom,misc-ref = <&pm8941_misc>; -}; - -&pm8941_chg { - qcom,bpd-detection = "bpd_thm"; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8974-v2-pm.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v3/msm8974-v2-pm.dtsi deleted file mode 100644 index 8a46724ae..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8974-v2-pm.dtsi +++ /dev/null @@ -1,452 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/include/ "skeleton.dtsi" - -&soc { - qcom,spm@f9089000 { - compatible = "qcom,spm-v2"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xf9089000 0x1000>; - qcom,core-id = <0>; - qcom,saw2-ver-reg = <0xfd0>; - qcom,saw2-cfg = <0x01>; - qcom,saw2-avs-ctl = <0>; - qcom,saw2-avs-hysteresis = <0>; - qcom,saw2-avs-limit = <0>; - qcom,saw2-avs-dly= <0>; - qcom,saw2-spm-dly= <0x3C102800>; - qcom,saw2-spm-ctl = <0x1>; - qcom,saw2-spm-cmd-wfi = [03 0b 0f]; - qcom,saw2-spm-cmd-ret = [42 1b 00 d0 c0 a0 90 03 d0 98 a2 c0 - 0b 00 42 1b 0f]; - qcom,saw2-spm-cmd-spc = [00 20 80 10 90 a0 b0 03 3b 98 a2 b0 82 - 10 0b 30 06 26 30 0f]; - qcom,saw2-spm-cmd-pc = [00 20 80 10 90 a0 b0 07 3b 98 a2 b0 82 - 10 0b 30 06 26 30 0f]; - }; - - qcom,spm@f9099000 { - compatible = "qcom,spm-v2"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xf9099000 0x1000>; - qcom,core-id = <1>; - qcom,saw2-ver-reg = <0xfd0>; - qcom,saw2-cfg = <0x01>; - qcom,saw2-avs-ctl = <0>; - qcom,saw2-avs-hysteresis = <0>; - qcom,saw2-avs-limit = <0>; - qcom,saw2-avs-dly= <0>; - qcom,saw2-spm-dly= <0x3C102800>; - qcom,saw2-spm-ctl = <0x1>; - qcom,saw2-spm-cmd-wfi = [03 0b 0f]; - qcom,saw2-spm-cmd-ret = [42 1b 00 d0 c0 a0 90 03 d0 98 a2 c0 - 0b 00 42 1b 0f]; - qcom,saw2-spm-cmd-spc = [00 20 80 10 90 a0 b0 03 3b 98 a2 b0 82 - 10 0b 30 06 26 30 0f]; - qcom,saw2-spm-cmd-pc = [00 20 80 10 90 a0 b0 07 3b 98 a2 b0 82 - 10 0b 30 06 26 30 0f]; - }; - - qcom,spm@f90a9000 { - compatible = "qcom,spm-v2"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xf90a9000 0x1000>; - qcom,core-id = <2>; - qcom,saw2-ver-reg = <0xfd0>; - qcom,saw2-cfg = <0x01>; - qcom,saw2-avs-ctl = <0>; - qcom,saw2-avs-hysteresis = <0>; - qcom,saw2-avs-limit = <0>; - qcom,saw2-avs-dly= <0>; - qcom,saw2-spm-dly= <0x3C102800>; - qcom,saw2-spm-ctl = <0x1>; - qcom,saw2-spm-cmd-wfi = [03 0b 0f]; - qcom,saw2-spm-cmd-ret = [42 1b 00 d0 c0 a0 90 03 d0 98 a2 c0 - 0b 00 42 1b 0f]; - qcom,saw2-spm-cmd-spc = [00 20 80 10 90 a0 b0 03 3b 98 a2 b0 82 - 10 0b 30 06 26 30 0f]; - qcom,saw2-spm-cmd-pc = [00 20 80 10 90 a0 b0 07 3b 98 a2 b0 82 - 10 0b 30 06 26 30 0f]; - }; - - qcom,spm@f90b9000 { - compatible = "qcom,spm-v2"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xf90b9000 0x1000>; - qcom,core-id = <3>; - qcom,saw2-ver-reg = <0xfd0>; - qcom,saw2-cfg = <0x01>; - qcom,saw2-avs-ctl = <0>; - qcom,saw2-avs-hysteresis = <0>; - qcom,saw2-avs-limit = <0>; - qcom,saw2-avs-dly= <0>; - qcom,saw2-spm-dly= <0x3C102800>; - qcom,saw2-spm-ctl = <0x1>; - qcom,saw2-spm-cmd-wfi = [03 0b 0f]; - qcom,saw2-spm-cmd-ret = [42 1b 00 d0 c0 a0 90 03 d0 98 a2 c0 - 0b 00 42 1b 0f]; - qcom,saw2-spm-cmd-spc = [00 20 80 10 90 a0 b0 03 3b 98 a2 b0 82 - 10 0b 30 06 26 30 0f]; - qcom,saw2-spm-cmd-pc = [00 20 80 10 90 a0 b0 07 3b 98 a2 b0 82 - 10 0b 30 06 26 30 0f]; - }; - - qcom,spm@f9012000 { - compatible = "qcom,spm-v2"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xf9012000 0x1000>; - qcom,core-id = <0xffff>; /* L2/APCS SAW */ - qcom,saw2-ver-reg = <0xfd0>; - qcom,saw2-cfg = <0x14>; - qcom,saw2-avs-ctl = <0>; - qcom,saw2-avs-hysteresis = <0>; - qcom,saw2-avs-limit = <0>; - qcom,saw2-avs-dly= <0>; - qcom,saw2-spm-dly= <0x3C102800>; - qcom,saw2-spm-ctl = <0x1>; - qcom,saw2-pmic-data0 = <0x02030080>; - qcom,saw2-pmic-data1 = <0x00030000>; - qcom,vctl-timeout-us = <50>; - qcom,vctl-port = <0x0>; - qcom,phase-port = <0x1>; - qcom,pfm-port = <0x2>; - qcom,saw2-spm-cmd-ret = [1f 00 03 00 0f]; - qcom,saw2-spm-cmd-gdhs = [00 32 42 07 44 50 02 32 50 0f]; - qcom,saw2-spm-cmd-pc = [00 32 b0 11 42 07 01 b0 44 - 50 02 32 50 0f]; - }; - - qcom,lpm-resources { - compatible = "qcom,lpm-resources"; - #address-cells = <1>; - #size-cells = <0>; - - qcom,lpm-resources@0 { - reg = <0x0>; - qcom,name = "vdd-dig"; - qcom,type = <0x62706d73>; /* "smpb" */ - qcom,id = <0x02>; - qcom,key = <0x6e726f63>; /* "corn" */ - qcom,init-value = <6>; /* Super Turbo */ - }; - - qcom,lpm-resources@1 { - reg = <0x1>; - qcom,name = "vdd-mem"; - qcom,type = <0x62706d73>; /* "smpb" */ - qcom,id = <0x01>; - qcom,key = <0x7675>; /* "uv" */ - qcom,init-value = <1050000>; /* Super Turbo */ - }; - - qcom,lpm-resources@2 { - reg = <0x2>; - qcom,name = "pxo"; - qcom,type = <0x306b6c63>; /* "clk0" */ - qcom,id = <0x00>; - qcom,key = <0x62616e45>; /* "Enab" */ - qcom,init-value = "xo_on"; - }; - - qcom,lpm-resources@3 { - reg = <0x3>; - qcom,name = "l2"; - qcom,local-resource-type; - qcom,init-value = "l2_cache_retention"; - }; - }; - - qcom,lpm-levels { - compatible = "qcom,lpm-levels"; - #address-cells = <1>; - #size-cells = <0>; - - qcom,use-qtimer; - - qcom,lpm-level@0 { - reg = <0x0>; - qcom,mode = "wfi"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_active"; - qcom,vdd-mem-upper-bound = <1050000>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <950000>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <1>; - qcom,ss-power = <715>; - qcom,energy-overhead = <17700>; - qcom,time-overhead = <2>; - }; - - qcom,lpm-level@1 { - reg = <0x1>; - qcom,mode = "retention"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_active"; - qcom,vdd-mem-upper-bound = <1050000>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <950000>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <35>; - qcom,ss-power = <542>; - qcom,energy-overhead = <34920>; - qcom,time-overhead = <40>; - }; - - - qcom,lpm-level@2 { - reg = <0x2>; - qcom,mode = "standalone_pc"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_active"; - qcom,vdd-mem-upper-bound = <1050000>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <950000>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <300>; - qcom,ss-power = <476>; - qcom,energy-overhead = <225300>; - qcom,time-overhead = <350>; - }; - - qcom,lpm-level@3 { - reg = <0x3>; - qcom,mode = "pc"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_gdhs"; - qcom,vdd-mem-upper-bound = <1050000>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <950000>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <2817>; - qcom,ss-power = <163>; - qcom,energy-overhead = <1577736>; - qcom,time-overhead = <5067>; - }; - - qcom,lpm-level@4 { - reg = <0x4>; - qcom,mode = "pc"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_pc"; - qcom,vdd-mem-upper-bound = <1050000>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <950000>; /* SVS SOC */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <3>; /* SVS SOC */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <3922>; - qcom,ss-power = <83>; - qcom,energy-overhead = <2274420>; - qcom,time-overhead = <6605>; - }; - - qcom,lpm-level@5 { - reg = <0x5>; - qcom,mode = "pc"; - qcom,xo = "xo_off"; - qcom,l2 = "l2_cache_pc"; - qcom,vdd-mem-upper-bound = <1050000>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <950000>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,latency-us = <4922>; - qcom,ss-power = <68>; - qcom,energy-overhead = <2568180>; - qcom,time-overhead = <8812>; - }; - - qcom,lpm-level@6 { - reg = <0x6>; - qcom,mode= "pc"; - qcom,xo = "xo_off"; - qcom,l2 = "l2_cache_pc"; - qcom,vdd-mem-upper-bound = <950000>; /* NORMAL */ - qcom,vdd-mem-lower-bound = <950000>; /* SVS SOC */ - qcom,vdd-dig-upper-bound = <4>; /* NORMAL */ - qcom,vdd-dig-lower-bound = <3>; /* SVS SOC */ - qcom,latency-us = <5890>; - qcom,ss-power = <60>; - qcom,energy-overhead = <2675900>; - qcom,time-overhead = <10140>; - }; - - qcom,lpm-level@7 { - reg = <0x7>; - qcom,mode= "pc"; - qcom,xo = "xo_off"; - qcom,l2 = "l2_cache_pc"; - qcom,vdd-mem-upper-bound = <950000>; /* SVS SOC */ - qcom,vdd-mem-lower-bound = <675000>; /* RETENTION */ - qcom,vdd-dig-upper-bound = <3>; /* SVS SOC */ - qcom,vdd-dig-lower-bound = <1>; /* RETENTION */ - qcom,latency-us = <8500>; - qcom,ss-power = <18>; - qcom,energy-overhead = <3286600>; - qcom,time-overhead = <15760>; - }; - }; - - qcom,pm-boot { - compatible = "qcom,pm-boot"; - qcom,mode = "tz"; - }; - - qcom,mpm@fc4281d0 { - compatible = "qcom,mpm-v2"; - reg = <0xfc4281d0 0x1000>, /* MSM_RPM_MPM_BASE 4K */ - <0xf9011008 0x4>; /* MSM_APCS_GCC_BASE 4K */ - reg-names = "vmpm", "ipc"; - interrupts = <0 171 1>; - - qcom,ipc-bit-offset = <1>; - - qcom,gic-parent = <&intc>; - qcom,gic-map = <2 216>, /* tsens_upper_lower_int */ - <47 165>, /* usb30_hs_phy_irq */ - <50 172>, /* usb1_hs_async_wakeup_irq */ - <53 104>, /* mdss_irq */ - <62 222>, /* ee0_krait_hlos_spmi_periph_irq */ - <0xff 57>, /* mss_to_apps_irq(0) */ - <0xff 58>, /* mss_to_apps_irq(1) */ - <0xff 59>, /* mss_to_apps_irq(2) */ - <0xff 60>, /* mss_to_apps_irq(3) */ - <0xff 173>, /* o_wcss_apss_smd_hi */ - <0xff 174>, /* o_wcss_apss_smd_med */ - <0xff 175>, /* o_wcss_apss_smd_low */ - <0xff 176>, /* o_wcss_apss_smsm_irq */ - <0xff 177>, /* o_wcss_apss_wlan_data_xfer_done */ - <0xff 178>, /* o_wcss_apss_wlan_rx_data_avail */ - <0xff 179>, /* o_wcss_apss_asic_intr - - <0xff 188>, /* lpass_irq_out_apcs(0) */ - <0xff 189>, /* lpass_irq_out_apcs(1) */ - <0xff 190>, /* lpass_irq_out_apcs(2) */ - <0xff 191>, /* lpass_irq_out_apcs(3) */ - <0xff 192>, /* lpass_irq_out_apcs(4) */ - <0xff 193>, /* lpass_irq_out_apcs(5) */ - <0xff 194>, /* lpass_irq_out_apcs(6) */ - <0xff 195>, /* lpass_irq_out_apcs(7) */ - <0xff 196>, /* lpass_irq_out_apcs(8) */ - <0xff 197>, /* lpass_irq_out_apcs(9) */ - <0xff 200>, /* rpm_ipc(4) */ - <0xff 201>, /* rpm_ipc(5) */ - <0xff 202>, /* rpm_ipc(6) */ - <0xff 203>, /* rpm_ipc(7) */ - <0xff 204>, /* rpm_ipc(24) */ - <0xff 205>, /* rpm_ipc(25) */ - <0xff 206>, /* rpm_ipc(26) */ - <0xff 207>, /* rpm_ipc(27) */ - <0xff 240>; /* summary_irq_kpss */ - - qcom,gpio-parent = <&msmgpio>; - qcom,gpio-map = <3 102>, - <4 1 >, - <5 5 >, - <6 9 >, - <7 18>, - <8 20>, - <9 24>, - <10 27>, - <11 28>, - <12 34>, - <13 35>, - <14 37>, - <15 42>, - <16 44>, - <17 46>, - <18 50>, - <19 54>, - <20 59>, - <21 61>, - <22 62>, - <23 64>, - <24 65>, - <25 66>, - <26 67>, - <27 68>, - <28 71>, - <29 72>, - <30 73>, - <31 74>, - <32 75>, - <33 77>, - <34 79>, - <35 80>, - <36 82>, - <37 86>, - <38 92>, - <39 93>, - <40 95>, - <41 144>; - }; - - qcom,pm-8x60@fe805664 { - compatible = "qcom,pm-8x60"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - reg = <0xfe805664 0x40>; - qcom,pc-mode = "tz_l2_int"; - qcom,use-sync-timer; - - qcom,pm-snoc-client { - compatible = "qcom,pm-snoc-client"; - qcom,msm-bus,name = "ocimem_snoc"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,active-only; - qcom,msm-bus,vectors-KBps = - <54 585 0 0>, - <54 585 0 800000>; - }; - }; - - qcom,cpu-sleep-status@f9088008{ - compatible = "qcom,cpu-sleep-status"; - reg = <0xf9088008 0x100>; - qcom,cpu-alias-addr = <0x10000>; - qcom,sleep-status-mask= <0x80000>; - }; - - qcom,rpm-log@fc19dc00 { - compatible = "qcom,rpm-log"; - reg = <0xfc19dc00 0x4000>; - qcom,rpm-addr-phys = <0xfc000000>; - qcom,offset-version = <4>; - qcom,offset-page-buffer-addr = <36>; - qcom,offset-log-len = <40>; - qcom,offset-log-len-mask = <44>; - qcom,offset-page-indices = <56>; - }; - - qcom,rpm-stats@fc19dba0 { - compatible = "qcom,rpm-stats"; - reg = <0xfc19dba0 0x1000>; - reg-names = "phys_addr_base"; - qcom,sleep-stats-version = <2>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8974-v2.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v3/msm8974-v2.dtsi deleted file mode 100644 index 96e78ac28..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8974-v2.dtsi +++ /dev/null @@ -1,138 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/* - * As a general rule, only version-specific property overrides should be placed - * inside this file. However, device definitions should be placed inside the - * msm8974.dtsi file. - */ - -/include/ "msm8974.dtsi" -/include/ "msm8974-v2-iommu.dtsi" -/include/ "msm8974-v2-iommu-domains.dtsi" -/include/ "msm8974-v2-pm.dtsi" - -&soc { - android_usb@fe8050c8 { - compatible = "qcom,android-usb"; - reg = <0xfe8050c8 0xc8>; - qcom,android-usb-swfi-latency = <1>; - }; - - qcom,msm-imem@fe805000 { - compatible = "qcom,msm-imem"; - reg = <0xfe805000 0x1000>; /* Address and size of IMEM */ - }; -}; - -/* GPU overrides */ -&msm_gpu { - /* Updated chip ID */ - qcom,chipid = <0x03030001>; - - /* Updated bus bandwidth requirements */ - qcom,msm-bus,vectors-KBps = - /* Off */ - <26 512 0 0>, <89 604 0 0>, - /* SVS */ - <26 512 0 2400000>, <89 604 0 3000000>, - /* Nominal / SVS */ - <26 512 0 4656000>, <89 604 0 3000000>, - /* Nominal */ - <26 512 0 4656000>, <89 604 0 5120000>, - /* Turbo / Nominal */ - <26 512 0 7464000>, <89 604 0 5120000>, - /* Turbo */ - <26 512 0 7464000>, <89 604 0 6400000>; -}; - -&mdss_mdp { - qcom,vbif-settings = <0x0004 0x00000001>; - - qcom,mdss-wb-off = <0x00011100 0x00011500 - 0x00011900 0x00011D00 0x00012100>; - qcom,mdss-intf-off = <0x00012500 0x00012700 - 0x00012900 0x00012b00>; - qcom,mdss-pingpong-off = <0x00012D00 0x00012E00 0x00012F00>; - qcom,mdss-has-bwc; - qcom,mdss-has-decimation; - qcom,mdss-ad-off = <0x0013100 0x00013300>; -}; - -&mdss_hdmi_tx { - reg = <0xfd922100 0x370>, - <0xfd922500 0x7C>, - <0xfc4b8000 0x60F0>; - reg-names = "core_physical", "phy_physical", "qfprom_physical"; -}; - -&msm_vidc { - qcom,vidc-ns-map = <0x40000000 0x40000000>; - qcom,load-freq-tbl = <979200 465000000>, - <783360 465000000>, - <489600 266670000>, - <244800 133330000>; - qcom,reg-presets = <0x80004 0x1>, - <0x80070 0x11FFF>, - <0x80074 0xA4>, - <0x800A8 0x1FFF>, - <0x80124 0x3>, - <0xE0020 0x5555556>, - <0xE0024 0x0>; - qcom,bus-ports = <1>; - qcom,enc-ocmem-ab-ib = <0 0>, - <138000 1034000>, - <414000 1034000>, - <940000 1034000>, - <1880000 2068000>, - <3008000 3309000>, - <3760000 4136000>, - <4468000 2457000>; - qcom,dec-ocmem-ab-ib = <0 0>, - <176000 519000>, - <456000 519000>, - <864000 519000>, - <1728000 1038000>, - <2766000 1661000>, - <3456000 2076000>, - <3662000 2198000>; - qcom,enc-ddr-ab-ib = <0 0>, - <120000 302000>, - <364000 302000>, - <804000 302000>, - <1608000 604000>, - <2576000 967000>, - <4680000 1404000>, - <49880000 1496000>; - qcom,dec-ddr-ab-ib = <0 0>, - <208000 303000>, - <536000 303000>, - <1012000 303000>, - <2024000 606000>, - <3240000 970000>, - <4048000 1212000>, - <4264000 1279000>; - qcom,iommu-groups = <&venus_domain_ns &venus_domain_sec_bitstream - &venus_domain_sec_pixel &venus_domain_sec_non_pixel>; - qcom,iommu-group-buffer-types = <0xfff 0x91 0x42 0x120>; - qcom,buffer-type-tz-usage-table = <0x91 0x1>, - <0x42 0x2>, - <0x120 0x3>; -}; - -&krait_pdn { - qcom,use-phase-switching; -}; - -&tspp { - vdd_cx-supply = <&pm8841_s2_corner>; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8974.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v3/msm8974.dtsi deleted file mode 100644 index 6f164912e..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/msm8974.dtsi +++ /dev/null @@ -1,1745 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/include/ "skeleton.dtsi" - -/ { - model = "Qualcomm MSM 8974"; - compatible = "qcom,msm8974"; - interrupt-parent = <&intc>; - - aliases { - spi0 = &spi_0; - spi7 = &spi_7; - sdhc1 = &sdhc_1; /* SDC1 eMMC slot */ - sdhc2 = &sdhc_2; /* SDC2 SD card slot */ - sdhc3 = &sdhc_3; /* SDC3 SDIO slot */ - sdhc4 = &sdhc_4; /* SDC4 SDIO slot */ - - /* smdtty devices */ - smd1 = &smdtty_apps_fm; - smd2 = &smdtty_apps_riva_bt_acl; - smd3 = &smdtty_apps_riva_bt_cmd; - smd4 = &smdtty_mbalbridge; - smd5 = &smdtty_apps_riva_ant_cmd; - smd6 = &smdtty_apps_riva_ant_data; - smd7 = &smdtty_data1; - smd11 = &smdtty_data11; - smd21 = &smdtty_data21; - smd27 = &smdtty_gps_nmea; - smd36 = &smdtty_loopback; - }; - - cpus { - #size-cells = <0>; - #address-cells = <1>; - - CPU0: cpu@0 { - device_type = "cpu"; - compatible = "qcom,krait"; - reg = <0x0>; - }; - - CPU1: cpu@1 { - device_type = "cpu"; - compatible = "qcom,krait"; - reg = <0x1>; - }; - - CPU2: cpu@2 { - device_type = "cpu"; - compatible = "qcom,krait"; - reg = <0x2>; - }; - - CPU3: cpu@3 { - device_type = "cpu"; - compatible = "qcom,krait"; - reg = <0x3>; - }; - }; - - memory { - secure_mem: secure_region { - linux,contiguous-region; - reg = <0 0xFC00000>; - label = "secure_mem"; - }; - - adsp_mem: adsp_region { - linux,contiguous-region; - reg = <0 0x2F00000>; - label = "adsp_mem"; - }; - - qsecom_mem: qsecom_region { - linux,contiguous-region; - reg = <0 0x1100000>; - label = "qseecom_mem"; - }; - - }; - - soc: soc { }; -}; - -/include/ "msm8974-camera.dtsi" -/include/ "msm8974-coresight.dtsi" -/include/ "msm-gdsc.dtsi" -/include/ "msm8974-ion.dtsi" -/include/ "msm8974-gpu.dtsi" -/include/ "msm8974-mdss.dtsi" -/include/ "msm8974-smp2p.dtsi" -/include/ "msm8974-bus.dtsi" - -&soc { - #address-cells = <1>; - #size-cells = <1>; - ranges; - - intc: interrupt-controller@F9000000 { - compatible = "qcom,msm-qgic2"; - interrupt-controller; - #interrupt-cells = <3>; - reg = <0xF9000000 0x1000>, - <0xF9002000 0x1000>; - }; - - msmgpio: gpio@fd510000 { - compatible = "qcom,msm-gpio"; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - reg = <0xfd510000 0x4000>; - ngpio = <146>; - interrupts = <0 208 0>; - qcom,direct-connect-irqs = <8>; - }; - - wcd9xxx_intc: wcd9xxx-irq { - compatible = "qcom,wcd9xxx-irq"; - interrupt-controller; - #interrupt-cells = <1>; - interrupt-parent = <&msmgpio>; - interrupts = <72 0>; - interrupt-names = "cdc-int"; - }; - - timer { - compatible = "arm,armv7-timer"; - interrupts = <1 2 0 1 3 0>; - clock-frequency = <19200000>; - }; - - 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 8 0x4>, - <0 7 0x4>; - reg = <0xf9021000 0x1000>, - <0xf9022000 0x1000>; - }; - - frame@f9023000 { - frame-number = <1>; - interrupts = <0 9 0x4>; - reg = <0xf9023000 0x1000>; - status = "disabled"; - }; - - frame@f9024000 { - frame-number = <2>; - interrupts = <0 10 0x4>; - reg = <0xf9024000 0x1000>; - status = "disabled"; - }; - - frame@f9025000 { - frame-number = <3>; - interrupts = <0 11 0x4>; - reg = <0xf9025000 0x1000>; - status = "disabled"; - }; - - frame@f9026000 { - frame-number = <4>; - interrupts = <0 12 0x4>; - reg = <0xf9026000 0x1000>; - status = "disabled"; - }; - - frame@f9027000 { - frame-number = <5>; - interrupts = <0 13 0x4>; - reg = <0xf9027000 0x1000>; - status = "disabled"; - }; - - frame@f9028000 { - frame-number = <6>; - interrupts = <0 14 0x4>; - reg = <0xf9028000 0x1000>; - status = "disabled"; - }; - }; - - - qcom,mpm2-sleep-counter@fc4a3000 { - compatible = "qcom,mpm2-sleep-counter"; - reg = <0xfc4a3000 0x1000>; - clock-frequency = <32768>; - }; - - msm_vidc: qcom,vidc@fdc00000 { - compatible = "qcom,msm-vidc"; - reg = <0xfdc00000 0xff000>; - interrupts = <0 44 0>; - qcom,hfi = "venus"; - qcom,has-ocmem; - qcom,max-hw-load = <1224450>; /* 4k @ 30 + 1080p @ 30*/ - }; - - qcom,vidc { - compatible = "qcom,msm-vidc"; - qcom,hfi = "q6"; - qcom,max-hw-load = <108000>; /* 720p @ 30 */ - }; - - qcom,wfd { - compatible = "qcom,msm-wfd"; - }; - - serial@f991f000 { - compatible = "qcom,msm-lsuart-v14"; - reg = <0xf991f000 0x1000>; - interrupts = <0 109 0>; - status = "disabled"; - }; - - serial@f995e000 { - compatible = "qcom,msm-lsuart-v14"; - reg = <0xf995e000 0x1000>; - interrupts = <0 114 0>; - status = "disabled"; - }; - - serial@f991e000 { - compatible = "qcom,msm-lsuart-v14"; - reg = <0xf991e000 0x1000>; - interrupts = <0 108 0>; - status = "disabled"; - - qcom,msm-bus,name = "serial_uart2"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <86 512 0 0>, - <86 512 500 800>; - }; - - usb_otg: usb@f9a55000 { - compatible = "qcom,hsusb-otg"; - status = "disabled"; - - reg = <0xf9a55000 0x400>; - interrupts = <0 134 0 0 140 0>; - interrupt-names = "core_irq", "async_irq"; - HSUSB_VDDCX-supply = <&pm8841_s2_corner>; - HSUSB_1p8-supply = <&pm8941_l6>; - HSUSB_3p3-supply = <&pm8941_l24>; - qcom,vdd-voltage-level = <1 5 7>; - - 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>; - qcom,hsusb-otg-disable-reset; - - qcom,msm-bus,name = "usb2"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <87 512 0 0>, - <87 512 60000 960000>; - }; - - sdcc1: qcom,sdcc@f9824000 { - cell-index = <1>; /* SDC1 eMMC slot */ - compatible = "qcom,msm-sdcc"; - reg = <0xf9824000 0x800>, - <0xf9824800 0x100>, - <0xf9804000 0x7000>; - reg-names = "core_mem", "dml_mem", "bam_mem"; - interrupts = <0 123 0>, <0 137 0>; - interrupt-names = "core_irq", "bam_irq"; - vdd-supply = <&pm8941_l20>; - vdd-io-supply = <&pm8941_s3>; - - qcom,vdd-always-on; - qcom,vdd-lpm-sup; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <800 500000>; - - qcom,vdd-io-always-on; - qcom,vdd-io-voltage-level = <1800000 1800000>; - qcom,vdd-io-current-level = <250 154000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 20000000 25000000 50000000 100000000 200000000>; - qcom,sup-voltages = <2950 2950>; - qcom,bus-width = <8>; - qcom,nonremovable; - qcom,bus-speed-mode = "HS200_1p8v", "DDR_1p8v"; - - qcom,msm-bus,name = "sdcc1"; - qcom,msm-bus,num-cases = <8>; - 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 800000 1600000>, /* 200 MB/s */ - <78 512 2048000 4096000>; /* Max. bandwidth */ - qcom,bus-bw-vectors-bps = <0 400000 20000000 25000000 50000000 100000000 200000000 4294967295>; - qcom,dat1-mpm-int = <42>; - status = "disable"; - }; - - sdcc2: qcom,sdcc@f98a4000 { - cell-index = <2>; /* SDC2 SD card slot */ - compatible = "qcom,msm-sdcc"; - reg = <0xf98a4000 0x800>, - <0xf98a4800 0x100>, - <0xf9884000 0x7000>; - reg-names = "core_mem", "dml_mem", "bam_mem"; - interrupts = <0 125 0>, <0 220 0>; - interrupt-names = "core_irq", "bam_irq"; - vdd-supply = <&pm8941_l21>; - vdd-io-supply = <&pm8941_l13>; - - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <9000 800000>; - - qcom,vdd-io-voltage-level = <1800000 2950000>; - qcom,vdd-io-current-level = <6 22000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 20000000 25000000 50000000 100000000 200000000>; - qcom,sup-voltages = <2950 2950>; - qcom,bus-width = <4>; - qcom,xpc; - qcom,bus-speed-mode = "SDR12", "SDR25", "SDR50", "DDR50", "SDR104"; - qcom,current-limit = <800>; - - qcom,msm-bus,name = "sdcc2"; - 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 1600000>, /* 200 MB/s */ - <81 512 2048000 4096000>; /* Max. bandwidth */ - qcom,bus-bw-vectors-bps = <0 400000 20000000 25000000 50000000 100000000 200000000 4294967295>; - qcom,dat1-mpm-int = <44>; - status = "disable"; - }; - - sdcc3: qcom,sdcc@f9864000 { - cell-index = <3>; /* SDC3 SDIO slot */ - compatible = "qcom,msm-sdcc"; - reg = <0xf9864000 0x800>, - <0xf9864800 0x100>, - <0xf9844000 0x7000>; - reg-names = "core_mem", "dml_mem", "bam_mem"; - #address-cells = <0>; - interrupt-parent = <&sdcc3>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 127 0 - 1 &intc 0 223 0 - 2 &msmgpio 37 0x8>; - interrupt-names = "core_irq", "bam_irq", "sdiowakeup_irq"; - - gpios = <&msmgpio 40 0>, /* CLK */ - <&msmgpio 39 0>, /* CMD */ - <&msmgpio 38 0>, /* DATA0 */ - <&msmgpio 37 0>, /* DATA1 */ - <&msmgpio 36 0>, /* DATA2 */ - <&msmgpio 35 0>; /* DATA3 */ - qcom,gpio-names = "CLK", "CMD", "DAT0", "DAT1", "DAT2", "DAT3"; - - qcom,clk-rates = <400000 20000000 25000000 50000000 100000000>; - qcom,sup-voltages = <1800 1800>; - qcom,bus-width = <4>; - qcom,bus-speed-mode = "SDR12", "SDR25", "SDR50", "DDR50"; - - qcom,msm-bus,name = "sdcc3"; - 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 1600000>, /* 200 MB/s */ - <79 512 2048000 4096000>; /* Max. bandwidth */ - qcom,bus-bw-vectors-bps = <0 400000 20000000 25000000 50000000 100000000 200000000 4294967295>; - status = "disable"; - }; - - sdcc4: qcom,sdcc@f98e4000 { - cell-index = <4>; /* SDC4 SDIO slot */ - compatible = "qcom,msm-sdcc"; - reg = <0xf98e4000 0x800>, - <0xf98e4800 0x100>, - <0xf98c4000 0x7000>; - reg-names = "core_mem", "dml_mem", "bam_mem"; - #address-cells = <0>; - interrupt-parent = <&sdcc4>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 129 0 - 1 &intc 0 226 0 - 2 &msmgpio 95 0x8>; - interrupt-names = "core_irq", "bam_irq", "sdiowakeup_irq"; - - gpios = <&msmgpio 93 0>, /* CLK */ - <&msmgpio 91 0>, /* CMD */ - <&msmgpio 96 0>, /* DATA0 */ - <&msmgpio 95 0>, /* DATA1 */ - <&msmgpio 94 0>, /* DATA2 */ - <&msmgpio 92 0>; /* DATA3 */ - qcom,gpio-names = "CLK", "CMD", "DAT0", "DAT1", "DAT2", "DAT3"; - - qcom,clk-rates = <400000 20000000 25000000 50000000 100000000>; - qcom,sup-voltages = <1800 1800>; - qcom,bus-width = <4>; - qcom,bus-speed-mode = "SDR12", "SDR25", "SDR50", "DDR50"; - - qcom,msm-bus,name = "sdcc4"; - qcom,msm-bus,num-cases = <8>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = <80 512 0 0>, /* No vote */ - <80 512 1600 3200>, /* 400 KB/s*/ - <80 512 80000 160000>, /* 20 MB/s */ - <80 512 100000 200000>, /* 25 MB/s */ - <80 512 200000 400000>, /* 50 MB/s */ - <80 512 400000 800000>, /* 100 MB/s */ - <80 512 800000 1600000>, /* 200 MB/s */ - <80 512 2048000 4096000>; /* Max. bandwidth */ - qcom,bus-bw-vectors-bps = <0 400000 20000000 25000000 50000000 100000000 200000000 4294967295>; - status = "disable"; - }; - - sdhc_1: sdhci@f9824900 { - qcom,bus-width = <8>; - compatible = "qcom,sdhci-msm"; - reg = <0xf9824900 0x11c>, <0xf9824000 0x800>; - reg-names = "hc_mem", "core_mem"; - interrupts = <0 123 0>, <0 138 0>; - interrupt-names = "hc_irq", "pwr_irq"; - qcom,clk-rates = <400000 20000000 25000000 50000000 100000000 200000000>; - qcom,bus-speed-mode = "HS200_1p8v", "DDR_1p8v"; - qcom,cpu-dma-latency-us = <200>; - - qcom,msm-bus,name = "sdhc1"; - qcom,msm-bus,num-cases = <8>; - 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 800000 1600000>, /* 200 MB/s */ - <78 512 2048000 4096000>; /* Max. bandwidth */ - qcom,bus-bw-vectors-bps = <0 400000 20000000 25000000 50000000 100000000 200000000 4294967295>; - status = "disable"; - }; - - 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"; - - qcom,clk-rates = <400000 20000000 25000000 50000000 100000000 200000000>; - qcom,bus-width = <4>; - qcom,cpu-dma-latency-us = <200>; - - 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 1600000>, /* 200 MB/s */ - <81 512 2048000 4096000>; /* Max. bandwidth */ - qcom,bus-bw-vectors-bps = <0 400000 20000000 25000000 50000000 100000000 200000000 4294967295>; - status = "disable"; - }; - - 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"; - gpios = <&msmgpio 40 0>, /* CLK */ - <&msmgpio 39 0>, /* CMD */ - <&msmgpio 38 0>, /* DATA0 */ - <&msmgpio 37 0>, /* DATA1 */ - <&msmgpio 36 0>, /* DATA2 */ - <&msmgpio 35 0>; /* DATA3 */ - qcom,gpio-names = "CLK", "CMD", "DAT0", "DAT1", "DAT2", "DAT3"; - - qcom,clk-rates = <400000 20000000 25000000 50000000 100000000>; - qcom,bus-width = <4>; - qcom,cpu-dma-latency-us = <200>; - - 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 1600000>, /* 200 MB/s */ - <79 512 2048000 4096000>; /* Max. bandwidth */ - qcom,bus-bw-vectors-bps = <0 400000 20000000 25000000 50000000 100000000 200000000 4294967295>; - status = "disable"; - }; - - sdhc_4: sdhci@f98e4900 { - compatible = "qcom,sdhci-msm"; - reg = <0xf98e4900 0x11c>, <0xf98e4000 0x800>; - reg-names = "hc_mem", "core_mem"; - interrupts = <0 129 0>, <0 227 0>; - interrupt-names = "hc_irq", "pwr_irq"; - gpios = <&msmgpio 93 0>, /* CLK */ - <&msmgpio 91 0>, /* CMD */ - <&msmgpio 96 0>, /* DATA0 */ - <&msmgpio 95 0>, /* DATA1 */ - <&msmgpio 94 0>, /* DATA2 */ - <&msmgpio 92 0>; /* DATA3 */ - qcom,gpio-names = "CLK", "CMD", "DAT0", "DAT1", "DAT2", "DAT3"; - - qcom,clk-rates = <400000 20000000 25000000 50000000 100000000>; - qcom,bus-width = <4>; - qcom,cpu-dma-latency-us = <200>; - - qcom,msm-bus,name = "sdhc4"; - qcom,msm-bus,num-cases = <8>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = <80 512 0 0>, /* No vote */ - <80 512 1600 3200>, /* 400 KB/s*/ - <80 512 80000 160000>, /* 20 MB/s */ - <80 512 100000 200000>, /* 25 MB/s */ - <80 512 200000 400000>, /* 50 MB/s */ - <80 512 400000 800000>, /* 100 MB/s */ - <80 512 800000 1600000>, /* 200 MB/s */ - <80 512 2048000 4096000>; /* Max. bandwidth */ - qcom,bus-bw-vectors-bps = <0 400000 20000000 25000000 50000000 100000000 200000000 4294967295>; - status = "disable"; - }; - - qcom,sps@f9980000 { - compatible = "qcom,msm_sps"; - reg = <0xf9984000 0x15000>, - <0xf9999000 0xb000>; - interrupts = <0 94 0>; - - qcom,bam-dma-res-pipes = <6>; - }; - - spi_7: spi_epm: spi@f9966000 { - compatible = "qcom,spi-qup-v2"; - reg = <0xf9966000 0x1000>; - interrupts = <0 104 0>; - spi-max-frequency = <19200000>; - #address-cells = <1>; - #size-cells = <0>; - gpios = <&msmgpio 56 0>, /* CLK */ - <&msmgpio 54 0>, /* MISO */ - <&msmgpio 53 0>; /* MOSI */ - cs-gpios = <&msmgpio 55 0>; - qcom,master-id = <84>; - }; - - tspp: msm_tspp@f99d8000 { - compatible = "qcom,msm_tspp"; - cell-index = <0>; - reg = <0xf99d8000 0x1000>, /* MSM_TSIF0_PHYS */ - <0xf99d9000 0x1000>, /* MSM_TSIF1_PHYS */ - <0xf99da000 0x1000>, /* MSM_TSPP_PHYS */ - <0xf99c4000 0x14000>; /* MSM_TSPP_BAM_PHYS */ - reg-names = "MSM_TSIF0_PHYS", - "MSM_TSIF1_PHYS", - "MSM_TSPP_PHYS", - "MSM_TSPP_BAM_PHYS"; - interrupts = <0 153 0>, /* TSIF_TSPP_IRQ */ - <0 151 0>, /* TSIF0_IRQ */ - <0 152 0>, /* TSIF1_IRQ */ - <0 154 0>; /* TSIF_BAM_IRQ */ - interrupt-names = "TSIF_TSPP_IRQ", - "TSIF0_IRQ", - "TSIF1_IRQ", - "TSIF_BAM_IRQ"; - qcom,tsif-pclk = "iface_clk"; - qcom,tsif-ref-clk = "ref_clk"; - gpios = <&msmgpio 89 0>, /* TSIF0 CLK */ - <&msmgpio 90 0>, /* TSIF0 EN */ - <&msmgpio 91 0>, /* TSIF0 DATA */ - <&msmgpio 92 0>, /* TSIF0 SYNC */ - <&msmgpio 93 0>, /* TSIF1 CLK */ - <&msmgpio 94 0>, /* TSIF1 EN */ - <&msmgpio 95 0>, /* TSIF1 DATA */ - <&msmgpio 96 0>; /* TSIF1 SYNC */ - qcom,gpio-names = "tsif_clk", - "tsif_en", - "tsif_data", - "tsif_sync", - "tsif_clk", - "tsif_en", - "tsif_data", - "tsif_sync"; - qcom,gpios-func = <1>; - - qcom,msm-bus,name = "tsif"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,active-only = <0>; - 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 */ - }; - - slim_msm: slim@fe12f000 { - cell-index = <1>; - compatible = "qcom,slim-ngd"; - reg = <0xfe12f000 0x35000>, - <0xfe104000 0x20000>; - reg-names = "slimbus_physical", "slimbus_bam_physical"; - interrupts = <0 163 0 0 164 0>; - interrupt-names = "slimbus_irq", "slimbus_bam_irq"; - - taiko_codec { - compatible = "qcom,taiko-slim-pgd"; - elemental-addr = [00 01 A0 00 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>; - - qcom,cdc-reset-gpio = <&msmgpio 63 0>; - - cdc-vdd-buck-supply = <&pm8941_s2>; - qcom,cdc-vdd-buck-voltage = <2150000 2150000>; - qcom,cdc-vdd-buck-current = <650000>; - - cdc-vdd-tx-h-supply = <&pm8941_s3>; - qcom,cdc-vdd-tx-h-voltage = <1800000 1800000>; - qcom,cdc-vdd-tx-h-current = <25000>; - - cdc-vdd-rx-h-supply = <&pm8941_s3>; - qcom,cdc-vdd-rx-h-voltage = <1800000 1800000>; - qcom,cdc-vdd-rx-h-current = <25000>; - - cdc-vddpx-1-supply = <&pm8941_s3>; - qcom,cdc-vddpx-1-voltage = <1800000 1800000>; - qcom,cdc-vddpx-1-current = <10000>; - - cdc-vdd-a-1p2v-supply = <&pm8941_l1>; - qcom,cdc-vdd-a-1p2v-voltage = <1225000 1225000>; - qcom,cdc-vdd-a-1p2v-current = <10000>; - - cdc-vddcx-1-supply = <&pm8941_l1>; - qcom,cdc-vddcx-1-voltage = <1225000 1225000>; - qcom,cdc-vddcx-1-current = <10000>; - - cdc-vddcx-2-supply = <&pm8941_l1>; - qcom,cdc-vddcx-2-voltage = <1225000 1225000>; - qcom,cdc-vddcx-2-current = <10000>; - - 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>; - qcom,cdc-micbias-cfilt2-mv = <2700>; - 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 = "taiko-slim-ifd"; - qcom,cdc-slim-ifd-elemental-addr = [00 00 A0 00 17 02]; - qcom,cdc-dmic-sample-rate = <4800000>; - }; - }; - - sound { - compatible = "qcom,msm8974-audio-taiko"; - qcom,model = "msm8974-taiko-snd-card"; - - qcom,audio-routing = - "RX_BIAS", "MCLK", - "LDO_H", "MCLK", - "AIF4 MAD", "MCLK", - "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"; - - qcom,cdc-mclk-gpios = <&pm8941_gpios 15 0>; - qcom,taiko-mclk-clk-freq = <9600000>; - qcom,prim-auxpcm-gpio-clk = <&msmgpio 65 0>; - qcom,prim-auxpcm-gpio-sync = <&msmgpio 66 0>; - qcom,prim-auxpcm-gpio-din = <&msmgpio 67 0>; - qcom,prim-auxpcm-gpio-dout = <&msmgpio 68 0>; - qcom,prim-auxpcm-gpio-set = "prim-gpio-prim"; - qcom,sec-auxpcm-gpio-clk = <&msmgpio 79 0>; - qcom,sec-auxpcm-gpio-sync = <&msmgpio 80 0>; - qcom,sec-auxpcm-gpio-din = <&msmgpio 81 0>; - qcom,sec-auxpcm-gpio-dout = <&msmgpio 82 0>; - }; - - spmi_bus: qcom,spmi@fc4c0000 { - cell-index = <0>; - 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-ee = <0>; - qcom,pmic-arb-channel = <0>; - }; - - i2c_0: i2c@f9967000 { /* BLSP#11 */ - cell-index = <0>; - compatible = "qcom,i2c-qup"; - reg = <0Xf9967000 0x1000>; - #address-cells = <1>; - #size-cells = <0>; - reg-names = "qup_phys_addr"; - interrupts = <0 105 0>; - interrupt-names = "qup_err_intr"; - qcom,i2c-bus-freq = <100000>; - qcom,i2c-src-freq = <50000000>; - qcom,master-id = <84>; - }; - - i2c_1: i2c@f9923000 { - cell-index = <1>; - compatible = "qcom,i2c-qup"; - reg = <0xf9923000 0x1000>; - #address-cells = <1>; - #size-cells = <0>; - reg-names = "qup_phys_addr"; - interrupts = <0 95 0>; - interrupt-names = "qup_err_intr"; - qcom,i2c-bus-freq = <100000>; - qcom,i2c-src-freq = <19200000>; - qcom,scl-gpio = <&msmgpio 3 0>; - qcom,sda-gpio = <&msmgpio 2 0>; - qcom,master-id = <86>; - status = "disabled"; - }; - - i2c_2: i2c@f9924000 { - cell-index = <2>; - compatible = "qcom,i2c-qup"; - reg = <0xf9924000 0x1000>; - #address-cells = <1>; - #size-cells = <0>; - reg-names = "qup_phys_addr"; - interrupts = <0 96 0>; - interrupt-names = "qup_err_intr"; - qcom,i2c-bus-freq = <100000>; - qcom,i2c-src-freq = <50000000>; - qcom,master-id = <86>; - }; - - spi_0: spi@f9923000 { - compatible = "qcom,spi-qup-v2"; - reg = <0xf9923000 0x1000>; - interrupts = <0 95 0>; - spi-max-frequency = <19200000>; - #address-cells = <1>; - #size-cells = <0>; - gpios = <&msmgpio 3 0>, /* CLK */ - <&msmgpio 1 0>, /* MISO */ - <&msmgpio 0 0>; /* MOSI */ - cs-gpios = <&msmgpio 9 0>; - qcom,master-id = <86>; - }; - - qcom,acpuclk@f9000000 { - compatible = "qcom,acpuclk-8974"; - krait0-supply = <&krait0_vreg>; - krait1-supply = <&krait1_vreg>; - krait2-supply = <&krait2_vreg>; - krait3-supply = <&krait3_vreg>; - krait0_mem-supply = <&pm8841_s1_ao>; - krait1_mem-supply = <&pm8841_s1_ao>; - krait2_mem-supply = <&pm8841_s1_ao>; - krait3_mem-supply = <&pm8841_s1_ao>; - krait0_dig-supply = <&pm8841_s2_corner_ao>; - krait1_dig-supply = <&pm8841_s2_corner_ao>; - krait2_dig-supply = <&pm8841_s2_corner_ao>; - krait3_dig-supply = <&pm8841_s2_corner_ao>; - krait0_hfpll-supply = <&pm8941_l12_ao>; - krait1_hfpll-supply = <&pm8941_l12_ao>; - krait2_hfpll-supply = <&pm8941_l12_ao>; - krait3_hfpll-supply = <&pm8941_l12_ao>; - l2_hfpll-supply = <&pm8941_l12_ao>; - }; - - usb3: qcom,ssusb@f9200000 { - compatible = "qcom,dwc-usb3-msm"; - reg = <0xf9200000 0xfc000>, - <0xfd4ab000 0x4>; - #address-cells = <1>; - #size-cells = <1>; - ranges; - interrupts = <0 133 0>; - interrupt-names = "hs_phy_irq"; - ssusb_vdd_dig-supply = <&pm8841_s2_corner>; - SSUSB_1p8-supply = <&pm8941_l6>; - hsusb_vdd_dig-supply = <&pm8841_s2_corner>; - HSUSB_1p8-supply = <&pm8941_l6>; - HSUSB_3p3-supply = <&pm8941_l24>; - vbus_dwc3-supply = <&pm8941_mvs1>; - qcom,dwc-usb3-msm-dbm-eps = <4>; - qcom,vdd-voltage-level = <1 5 7>; - qcom,dwc-hsphy-init = <0x00D195A4>; - - 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>; - dwc3@f9200000 { - compatible = "synopsys,dwc3"; - reg = <0xf9200000 0xfc000>; - interrupt-parent = <&intc>; - interrupts = <0 131 0>, <0 179 0>; - interrupt-names = "irq", "otg_irq"; - tx-fifo-resize; - }; - }; - - ehci: qcom,ehci-host@f9a55000 { - compatible = "qcom,ehci-host"; - status = "disabled"; - reg = <0xf9a55000 0x400>; - interrupts = <0 134 0>, <0 140 0>; - interrupt-names = "core_irq", "async_irq"; - HSUSB_VDDCX-supply = <&pm8841_s2>; - HSUSB_1p8-supply = <&pm8941_l6>; - HSUSB_3p3-supply = <&pm8941_l24>; - qcom,usb2-enable-hsphy2; - qcom,usb2-power-budget = <500>; - }; - - gdsc_oxili_gx: qcom,gdsc@fd8c4024 { - parent-supply = <&pm8841_s4_corner>; - }; - - qcom,lpass@fe200000 { - compatible = "qcom,pil-q6v5-lpass"; - reg = <0xfe200000 0x00100>, - <0xfd485100 0x00010>, - <0xfc4016c0 0x00004>; - reg-names = "qdsp6_base", "halt_base", "restart_reg"; - vdd_cx-supply = <&pm8841_s2_corner>; - interrupts = <0 162 1>; - - 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>; - - /* GPIO output to lpass */ - qcom,gpio-force-stop = <&smp2pgpio_ssr_smp2p_2_out 0 0>; - }; - - qcom,msm-adsp-loader { - compatible = "qcom,adsp-loader"; - qcom,adsp-state = <0>; - }; - - qcom,msm-audio-ion { - compatible = "qcom,msm-audio-ion"; - }; - - qcom,msm-pcm { - compatible = "qcom,msm-pcm-dsp"; - qcom,msm-pcm-dsp-id = <0>; - }; - - qcom,msm-pcm-low-latency { - compatible = "qcom,msm-pcm-dsp"; - qcom,msm-pcm-dsp-id = <1>; - qcom,msm-pcm-low-latency; - }; - - qcom,msm-pcm-routing { - compatible = "qcom,msm-pcm-routing"; - }; - - qcom,msm-pcm-lpa { - compatible = "qcom,msm-pcm-lpa"; - }; - - qcom,msm-compr-dsp { - compatible = "qcom,msm-compr-dsp"; - }; - - qcom,msm-voip-dsp { - compatible = "qcom,msm-voip-dsp"; - }; - - qcom,msm-pcm-voice { - compatible = "qcom,msm-pcm-voice"; - }; - - qcom,msm-stub-codec { - compatible = "qcom,msm-stub-codec"; - }; - - qcom,msm-dai-fe { - compatible = "qcom,msm-dai-fe"; - }; - - qcom,msm-pcm-afe { - compatible = "qcom,msm-pcm-afe"; - }; - - qcom,msm-dai-q6-hdmi { - compatible = "qcom,msm-dai-q6-hdmi"; - qcom,msm-dai-q6-dev-id = <8>; - }; - - qcom,msm-lsm-client { - compatible = "qcom,msm-lsm-client"; - }; - - qcom,msm-dai-q6 { - compatible = "qcom,msm-dai-q6"; - qcom,msm-dai-q6-sb-0-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <16384>; - }; - - qcom,msm-dai-q6-sb-0-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <16385>; - }; - - qcom,msm-dai-q6-sb-1-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <16386>; - }; - - qcom,msm-dai-q6-sb-1-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <16387>; - }; - - qcom,msm-dai-q6-sb-2-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <16388>; - }; - - qcom,msm-dai-q6-sb-2-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <16389>; - }; - - qcom,msm-dai-q6-sb-3-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <16390>; - }; - - qcom,msm-dai-q6-sb-3-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <16391>; - }; - - qcom,msm-dai-q6-sb-4-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <16392>; - }; - - qcom,msm-dai-q6-sb-4-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <16393>; - }; - - qcom,msm-dai-q6-sb-5-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <16395>; - }; - - qcom,msm-dai-q6-bt-sco-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <12288>; - }; - - qcom,msm-dai-q6-bt-sco-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <12289>; - }; - - qcom,msm-dai-q6-int-fm-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <12292>; - }; - - qcom,msm-dai-q6-int-fm-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <12293>; - }; - - qcom,msm-dai-q6-be-afe-pcm-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <224>; - }; - - qcom,msm-dai-q6-be-afe-pcm-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <225>; - }; - - qcom,msm-dai-q6-afe-proxy-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <241>; - }; - - qcom,msm-dai-q6-afe-proxy-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <240>; - }; - - qcom,msm-dai-q6-incall-record-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <32771>; - }; - - qcom,msm-dai-q6-incall-record-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <32772>; - }; - - qcom,msm-dai-q6-incall-music-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <32773>; - }; - }; - - qcom,msm-auxpcm { - compatible = "qcom,msm-auxpcm-resource"; - qcom,msm-cpudai-auxpcm-clk = "pcm_clk"; - 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-slot = <1>, <1>; - qcom,msm-cpudai-auxpcm-data = <0>, <0>; - qcom,msm-cpudai-auxpcm-pcm-clk-rate = <2048000>, <2048000>; - - qcom,msm-prim-auxpcm-rx { - qcom,msm-auxpcm-dev-id = <4106>; - compatible = "qcom,msm-auxpcm-dev"; - }; - - qcom,msm-prim-auxpcm-tx { - qcom,msm-auxpcm-dev-id = <4107>; - compatible = "qcom,msm-auxpcm-dev"; - }; - - qcom,msm-sec-auxpcm-rx { - qcom,msm-auxpcm-dev-id = <4108>; - compatible = "qcom,msm-auxpcm-dev"; - }; - - qcom,msm-sec-auxpcm-tx { - qcom,msm-auxpcm-dev-id = <4109>; - compatible = "qcom,msm-auxpcm-dev"; - }; - }; - - qcom,msm-dai-mi2s { - compatible = "qcom,msm-dai-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>; - }; - }; - - qcom,msm-pcm-hostless { - compatible = "qcom,msm-pcm-hostless"; - }; - - qcom,msm-ocmem-audio { - compatible = "qcom,msm-ocmem-audio"; - qcom,msm-bus,name = "audio-ocmem"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <11 604 0 0>, - <11 604 32506 32506>; - }; - - qcom,msm-adsp-sensors { - compatible = "qcom,msm-adsp-sensors"; - qcom,src-id = <11>; - qcom,dst-id = <604>; - qcom,ab = <32505856>; - qcom,ib = <32505856>; - }; - - qcom,mss@fc880000 { - compatible = "qcom,pil-q6v5-mss"; - reg = <0xfc880000 0x100>, - <0xfd485000 0x400>, - <0xfc820000 0x020>, - <0xfc401680 0x004>; - reg-names = "qdsp6_base", "halt_base", "rmb_base", - "restart_reg"; - - interrupts = <0 24 1>; - vdd_mss-supply = <&pm8841_s3>; - vdd_cx-supply = <&pm8841_s2_corner>; - vdd_mx-supply = <&pm8841_s1>; - vdd_pll-supply = <&pm8941_l12>; - qcom,vdd_pll = <1800000>; - qcom,firmware-name = "mba"; - qcom,pil-self-auth; - - /* 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>; - }; - - qcom,pronto@fb21b000 { - compatible = "qcom,pil-pronto"; - reg = <0xfb21b000 0x3000>, - <0xfc401700 0x4>, - <0xfd485300 0xc>; - reg-names = "pmu_base", "clk_base", "halt_base"; - interrupts = <0 149 1>; - vdd_pronto_pll-supply = <&pm8941_l12>; - - qcom,firmware-name = "wcnss"; - - /* GPIO inputs from wcnss */ - qcom,gpio-err-fatal = <&smp2pgpio_ssr_smp2p_4_in 0 0>; - qcom,gpio-err-ready = <&smp2pgpio_ssr_smp2p_4_in 1 0>; - qcom,gpio-proxy-unvote = <&smp2pgpio_ssr_smp2p_4_in 2 0>; - - /* GPIO output to wcnss */ - qcom,gpio-force-stop = <&smp2pgpio_ssr_smp2p_4_out 0 0>; - }; - - qcom,iris-fm { - compatible = "qcom,iris_fm"; - }; - - qcom,wcnss-wlan@fb000000 { - compatible = "qcom,wcnss_wlan"; - reg = <0xfb000000 0x280000>, - <0xf9011008 0x04>; - reg-names = "wcnss_mmio", "wcnss_fiq"; - interrupts = <0 145 0 0 146 0>; - interrupt-names = "wcnss_wlantx_irq", "wcnss_wlanrx_irq"; - - qcom,pronto-vddmx-supply = <&pm8841_s1>; - qcom,pronto-vddcx-supply = <&pm8841_s2>; - qcom,pronto-vddpx-supply = <&pm8941_s3>; - qcom,iris-vddxo-supply = <&pm8941_l6>; - qcom,iris-vddrfa-supply = <&pm8941_l11>; - qcom,iris-vddpa-supply = <&pm8941_l19>; - qcom,iris-vdddig-supply = <&pm8941_l3>; - - gpios = <&msmgpio 36 0>, <&msmgpio 37 0>, <&msmgpio 38 0>, <&msmgpio 39 0>, <&msmgpio 40 0>; - qcom,has-48mhz-xo; - qcom,has-pronto-hw; - }; - - qcom,ocmem@fdd00000 { - compatible = "qcom,msm-ocmem"; - reg = <0xfdd00000 0x2000>, - <0xfdd02000 0x2000>, - <0xfe039000 0x400>, - <0xfec00000 0x180000>; - 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 = <0x3>; - qcom,ocmem-num-macros = <0x18>; - qcom,resource-type = <0x706d636f>; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0x0 0xfec00000 0x180000>; - - partition@0 { - reg = <0x0 0x100000>; - qcom,ocmem-part-name = "graphics"; - qcom,ocmem-part-min = <0x80000>; - }; - - partition@80000 { - reg = <0x100000 0x80000>; - qcom,ocmem-part-name = "lp_audio"; - qcom,ocmem-part-min = <0x80000>; - }; - - partition@100000 { - reg = <0x100000 0x80000>; - qcom,ocmem-part-name = "video"; - qcom,ocmem-part-min = <0x55000>; - }; - - }; - - 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>; - }; - - qseecom: qcom,qseecom@7f00000 { - compatible = "qcom,qseecom"; - reg = <0x7f00000 0x500000>; - reg-names = "secapp-region"; - qcom,disk-encrypt-pipe-pair = <2>; - qcom,hlos-ce-hw-instance = <1>; - 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,msm-bus,vectors-KBps = - <55 512 0 0>, - <55 512 3936000 393600>, - <55 512 3936000 393600>, - <55 512 3936000 393600>; - }; - - qcom,wdt@f9017000 { - compatible = "qcom,msm-watchdog"; - reg = <0xf9017000 0x1000>; - interrupts = <0 3 0>, <0 4 0>; - qcom,bark-time = <11000>; - qcom,pet-time = <10000>; - qcom,ipi-ping; - }; - - qcom,tz-log@fe805720 { - compatible = "qcom,tz-log"; - reg = <0xfe805720 0x1000>; - }; - - qcom,venus@fdce0000 { - compatible = "qcom,pil-venus"; - reg = <0xfdce0000 0x4000>, - <0xfdc80000 0x400>; - reg-names = "wrapper_base", "vbif_base"; - vdd-supply = <&gdsc_venus>; - - qcom,firmware-name = "venus"; - }; - - qcom,cache_erp@f9012000 { - reg = <0xf9012000 0x80>, - <0xf9089000 0x80>, - <0xf9099000 0x80>, - <0xf90a9000 0x80>, - <0xf90b9000 0x80>, - <0xf9088000 0x40>, - <0xf9098000 0x40>, - <0xf90a8000 0x40>, - <0xf90b8000 0x40>; - - reg-names = "l2_saw", - "krait0_saw", - "krait1_saw", - "krait2_saw", - "krait3_saw", - "krait0_acs", - "krait1_acs", - "krait2_acs", - "krait3_acs"; - - compatible = "qcom,cache_erp"; - interrupts = <1 9 0>, <0 2 0>; - interrupt-names = "l1_irq", "l2_irq"; - }; - - qcom,cache_dump { - compatible = "qcom,cache_dump"; - qcom,l1-dump-size = <0x100000>; - qcom,l2-dump-size = <0x500000>; - qcom,memory-reservation-type = "EBI1"; - qcom,memory-reservation-size = <0x600000>; /* 6M EBI1 buffer */ - }; - - tsens: tsens@fc4a8000 { - compatible = "qcom,msm-tsens"; - reg = <0xfc4a8000 0x2000>, - <0xfc4b8000 0x1000>; - reg-names = "tsens_physical", "tsens_eeprom_physical"; - interrupts = <0 184 0>; - qcom,sensors = <11>; - qcom,slope = <3200 3200 3200 3200 3200 3200 3200 3200 3200 - 3200 3200>; - qcom,calib-mode = "fuse_map1"; - }; - - qcom,msm-rtb { - compatible = "qcom,msm-rtb"; - qcom,memory-reservation-type = "EBI1"; - qcom,memory-reservation-size = <0x100000>; /* 1M EBI1 buffer */ - }; - - qcom,msm-contig-mem { - compatible = "qcom,msm-contig-mem"; - qcom,memory-reservation-type = "EBI1"; - qcom,memory-reservation-size = <0x280000>; /* 2.5M EBI1 buffer */ - }; - - qcom,qcedev@fd440000 { - compatible = "qcom,qcedev"; - reg = <0xfd440000 0x20000>, - <0xfd444000 0x8000>; - reg-names = "crypto-base","crypto-bam-base"; - interrupts = <0 236 0>; - qcom,bam-pipe-pair = <1>; - qcom,ce-hw-instance = <1>; - qcom,msm-bus,name = "qcedev-noc"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <56 512 0 0>, - <56 512 3936000 393600>; - }; - - qcom,qcrypto@fd444000 { - compatible = "qcom,qcrypto"; - reg = <0xfd440000 0x20000>, - <0xfd444000 0x8000>; - reg-names = "crypto-base","crypto-bam-base"; - interrupts = <0 236 0>; - qcom,bam-pipe-pair = <2>; - qcom,ce-hw-instance = <1>; - qcom,msm-bus,name = "qcrypto-noc"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <56 512 0 0>, - <56 512 3936000 393600>; - }; - - qcom,usbbam@f9304000 { - compatible = "qcom,usb-bam-msm"; - reg = <0xf9304000 0x5000>, - <0xf9a44000 0x11000>, - <0xf92f880c 0x4>; - reg-names = "ssusb", "hsusb", "qscratch_ram1_reg"; - interrupts = <0 132 0 0 135 0>; - interrupt-names = "ssusb", "hsusb"; - qcom,usb-bam-num-pipes = <16>; - qcom,usb-bam-fifo-baseaddr = <0xf9200000>; - qcom,ignore-core-reset-ack; - qcom,disable-clk-gating; - - qcom,pipe0 { - 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; - }; - - qcom,pipe1 { - label = "hsusb-qdss-in-0"; - qcom,usb-bam-mem-type = <1>; - qcom,bam-type = <1>; - 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 = <0xf9a44000>; - qcom,dst-bam-pipe-index = <2>; - qcom,data-fifo-offset = <0xf4000>; - qcom,data-fifo-size = <0x1000>; - qcom,descriptor-fifo-offset = <0xf5000>; - qcom,descriptor-fifo-size = <0x400>; - }; - }; - - qcom,msm-thermal { - compatible = "qcom,msm-thermal"; - qcom,sensor-id = <5>; - qcom,poll-ms = <250>; - qcom,limit-temp = <60>; - qcom,temp-hysteresis = <10>; - qcom,freq-step = <2>; - qcom,freq-control-mask = <0xf>; - qcom,core-limit-temp = <80>; - qcom,core-temp-hysteresis = <10>; - qcom,core-control-mask = <0xe>; - qcom,vdd-restriction-temp = <5>; - qcom,vdd-restriction-temp-hysteresis = <10>; - qcom,pmic-sw-mode-temp = <85>; - qcom,pmic-sw-mode-temp-hysteresis = <75>; - qcom,pmic-sw-mode-regs = "vdd_dig"; - vdd_dig-supply = <&pm8841_s2_floor_corner>; - vdd_gfx-supply = <&pm8841_s4_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 */ - }; - - qcom,vdd-apps-rstr{ - qcom,vdd-rstr-reg = "vdd_apps"; - qcom,levels = <1881600 1958400 2265600>; - qcom,freq-req; - }; - }; - - qcom,bam_dmux@fc834000 { - compatible = "qcom,bam_dmux"; - reg = <0xfc834000 0x7000>; - interrupts = <0 29 1>; - qcom,rx-ring-size = <64>; - }; - - memory_hole: qcom,msm-mem-hole { - compatible = "qcom,msm-mem-hole"; - qcom,memblock-remove = <0x7f00000 0x8000000>; /* Address and Size of Hole */ - }; - - uart7: uart@f995d000 { /*BLSP #2, UART #7 */ - compatible = "qcom,msm-hsuart-v14"; - status = "disabled"; - reg = <0xf995d000 0x1000>, - <0xf9944000 0x19000>; - reg-names = "core_mem", "bam_mem"; - interrupts = <0 113 0>, <0 239 0>; - interrupt-names = "core_irq", "bam_irq"; - - qcom,bam-tx-ep-pipe-index = <0>; - qcom,bam-rx-ep-pipe-index = <1>; - qcom,msm-bus,name = "uart7"; - 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,smem@fa00000 { - compatible = "qcom,smem"; - reg = <0xfa00000 0x200000>, - <0xf9011000 0x1000>, - <0xfc428000 0x4000>; - reg-names = "smem", "irq-reg-base", "aux-mem1"; - - qcom,smd-modem { - compatible = "qcom,smd"; - qcom,smd-edge = <0>; - qcom,smd-irq-offset = <0x8>; - qcom,smd-irq-bitmask = <0x1000>; - qcom,pil-string = "modem"; - interrupts = <0 25 1>; - }; - - qcom,smsm-modem { - compatible = "qcom,smsm"; - qcom,smsm-edge = <0>; - qcom,smsm-irq-offset = <0x8>; - qcom,smsm-irq-bitmask = <0x2000>; - interrupts = <0 26 1>; - }; - - qcom,smd-adsp { - compatible = "qcom,smd"; - qcom,smd-edge = <1>; - qcom,smd-irq-offset = <0x8>; - qcom,smd-irq-bitmask = <0x100>; - qcom,pil-string = "adsp"; - interrupts = <0 156 1>; - }; - - qcom,smsm-adsp { - compatible = "qcom,smsm"; - qcom,smsm-edge = <1>; - qcom,smsm-irq-offset = <0x8>; - qcom,smsm-irq-bitmask = <0x200>; - interrupts = <0 157 1>; - }; - - qcom,smd-wcnss { - compatible = "qcom,smd"; - qcom,smd-edge = <6>; - qcom,smd-irq-offset = <0x8>; - qcom,smd-irq-bitmask = <0x20000>; - qcom,pil-string = "wcnss"; - interrupts = <0 142 1>; - }; - - qcom,smsm-wcnss { - compatible = "qcom,smsm"; - qcom,smsm-edge = <6>; - qcom,smsm-irq-offset = <0x8>; - qcom,smsm-irq-bitmask = <0x80000>; - interrupts = <0 144 1>; - }; - - qcom,smd-rpm { - compatible = "qcom,smd"; - qcom,smd-edge = <15>; - qcom,smd-irq-offset = <0x8>; - qcom,smd-irq-bitmask = <0x1>; - interrupts = <0 168 1>; - qcom,irq-no-suspend; - }; - }; - - qcom,bcl { - compatible = "qcom,bcl"; - }; - - qcom,ssm { - compatible = "qcom,ssm"; - qcom,channel-name = "SSM_RTR"; - }; - - sfpb_spinlock: qcom,ipc-spinlock@fd484000 { - compatible = "qcom,ipc-spinlock-sfpb"; - reg = <0xfd484000 0x400>; - qcom,num-locks = <8>; - }; - - ldrex_spinlock: qcom,ipc-spinlock@fa00000 { - compatible = "qcom,ipc-spinlock-ldrex"; - reg = <0xfa00000 0x200000>; - status = "disable"; - }; - - cpu-pmu { - compatible = "qcom,krait-pmu"; - qcom,irq-is-percpu; - interrupts = <1 7 0xf00>; - }; - - l2-pmu { - compatible = "qcom,l2-pmu"; - interrupts = <0 1 0>; - }; - - qcom,smdtty { - compatible = "qcom,smdtty"; - - smdtty_apps_fm: qcom,smdtty-apps-fm { - qcom,smdtty-remote = "wcnss"; - qcom,smdtty-port-name = "APPS_FM"; - }; - - smdtty_apps_riva_bt_acl: smdtty-apps-riva-bt-acl { - qcom,smdtty-remote = "wcnss"; - qcom,smdtty-port-name = "APPS_RIVA_BT_ACL"; - }; - - smdtty_apps_riva_bt_cmd: qcom,smdtty-apps-riva-bt-cmd { - qcom,smdtty-remote = "wcnss"; - qcom,smdtty-port-name = "APPS_RIVA_BT_CMD"; - }; - - smdtty_mbalbridge: qcom,smdtty-mbalbridge { - qcom,smdtty-remote = "modem"; - qcom,smdtty-port-name = "MBALBRIDGE"; - }; - - smdtty_apps_riva_ant_cmd: smdtty-apps-riva-ant-cmd { - qcom,smdtty-remote = "wcnss"; - qcom,smdtty-port-name = "APPS_RIVA_ANT_CMD"; - }; - - smdtty_apps_riva_ant_data: smdtty-apps-riva-ant-data { - qcom,smdtty-remote = "wcnss"; - qcom,smdtty-port-name = "APPS_RIVA_ANT_DATA"; - }; - - smdtty_data1: qcom,smdtty-data1 { - qcom,smdtty-remote = "modem"; - qcom,smdtty-port-name = "DATA1"; - }; - - smdtty_data11: qcom,smdtty-data11 { - qcom,smdtty-remote = "modem"; - qcom,smdtty-port-name = "DATA11"; - }; - - smdtty_data21: qcom,smdtty-data21 { - qcom,smdtty-remote = "modem"; - qcom,smdtty-port-name = "DATA21"; - }; - - smdtty_gps_nmea: smdtty-gpsnmea { - qcom,smdtty-remote = "modem"; - qcom,smdtty-port-name = "GPSNMEA"; - }; - - smdtty_loopback: smdtty-loopback { - qcom,smdtty-remote = "modem"; - qcom,smdtty-port-name = "LOOPBACK"; - qcom,smdtty-dev-name = "LOOPBACK_TTY"; - }; - }; -}; - -&gdsc_venus { - qcom,clock-names = "core_clk"; - qcom,skip-logic-collapse; - status = "ok"; -}; - -&gdsc_mdss { - qcom,clock-names = "core_clk", "lut_clk"; - qcom,retain-periph; - status = "ok"; -}; - -&gdsc_jpeg { - qcom,clock-names = "core0_clk", "core1_clk", "core2_clk"; - status = "ok"; -}; - -&gdsc_vfe { - qcom,clock-names = "core0_clk", "core1_clk", "csi0_clk", "csi1_clk", - "cpp_clk"; - status = "ok"; -}; - -&gdsc_oxili_gx { - qcom,clock-names = "core_clk"; - qcom,retain-mem; - qcom,retain-periph; - status = "ok"; -}; - -&gdsc_oxili_cx { - status = "ok"; -}; - -&gdsc_usb_hsic { - status = "ok"; -}; - -/include/ "msm-pm8x41-rpm-regulator.dtsi" -/include/ "msm-pm8841.dtsi" -/include/ "msm-pm8941.dtsi" -/include/ "msm8974-regulator.dtsi" -/include/ "msm8974-clock.dtsi" diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/msm9625-cdp.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v3/msm9625-cdp.dtsi deleted file mode 100644 index 6ddb50b82..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/msm9625-cdp.dtsi +++ /dev/null @@ -1,100 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/include/ "msm9625-display.dtsi" -/include/ "qpic-panel-ili-qvga.dtsi" - -&soc { - i2c@f9925000 { - charger@57 { - compatible = "summit,smb137c"; - reg = <0x57>; - summit,chg-current-ma = <1500>; - summit,term-current-ma = <50>; - summit,pre-chg-current-ma = <100>; - summit,float-voltage-mv = <4200>; - summit,thresh-voltage-mv = <3000>; - summit,recharge-thresh-mv = <75>; - summit,system-voltage-mv = <4250>; - summit,charging-timeout = <382>; - summit,pre-charge-timeout = <48>; - summit,therm-current-ua = <10>; - summit,temperature-min = <4>; /* 0 C */ - summit,temperature-max = <3>; /* 45 C */ - }; - }; - - wlan0: qca,wlan { - cell-index = <0>; - compatible = "qca,ar6004-hsic"; - qca,chip-pwd-l-gpios = <&msmgpio 62 0>; - qca,pm-enable-gpios = <&pm8019_gpios 3 0x0>; - qca,vdd-io-supply = <&pm8019_l11>; - }; - - qca,wlan_ar6003 { - cell-index = <0>; - compatible = "qca,ar6003-sdio"; - qca,chip-pwd-l-gpios = <&msmgpio 62 0>; - qca,pm-enable-gpios = <&pm8019_gpios 3 0x0>; - qca,vdd-io-supply = <&pm8019_l11>; - }; -}; - -/* PM8019 GPIO and MPP configuration */ -&pm8019_gpios { - gpio@c000 { /* GPIO 1 */ - }; - - gpio@c100 { /* GPIO 2 */ - }; - - gpio@c200 { /* GPIO 3 */ - }; - - gpio@c300 { /* GPIO 4 */ - /* ext_2p95v regulator enable config */ - qcom,mode = <1>; /* Digital output */ - qcom,output-type = <0>; /* CMOS */ - qcom,invert = <0>; /* Output low */ - qcom,out-strength = <1>; /* Low */ - qcom,vin-sel = <2>; /* PM8019 L11 - 1.8V */ - qcom,src-sel = <0>; /* Constant */ - qcom,master-en = <1>; /* Enable GPIO */ - }; - - gpio@c400 { /* GPIO 5 */ - }; - - gpio@c500 { /* GPIO 6 */ - }; -}; - -&pm8019_mpps { - mpp@a000 { /* MPP 1 */ - }; - - mpp@a100 { /* MPP 2 */ - }; - - mpp@a200 { /* MPP 3 */ - }; - - mpp@a300 { /* MPP 4 */ - }; - - mpp@a400 { /* MPP 5 */ - }; - - mpp@a500 { /* MPP 6 */ - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/msm9625-coresight.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v3/msm9625-coresight.dtsi deleted file mode 100644 index 3c00ae8c2..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/msm9625-coresight.dtsi +++ /dev/null @@ -1,259 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&soc { - tmc_etr: tmc@fc322000 { - compatible = "arm,coresight-tmc"; - reg = <0xfc322000 0x1000>, - <0xfc37c000 0x3000>; - reg-names = "tmc-base", "bam-base"; - - qcom,memory-reservation-type = "EBI1"; - qcom,memory-reservation-size = <0x20000>; /* 128K EBI1 buffer */ - - coresight-id = <0>; - coresight-name = "coresight-tmc-etr"; - coresight-nr-inports = <1>; - coresight-ctis = <&cti0 &cti8>; - }; - - tpiu: tpiu@fc318000 { - compatible = "arm,coresight-tpiu"; - reg = <0xfc318000 0x1000>; - reg-names = "tpiu-base"; - - coresight-id = <1>; - coresight-name = "coresight-tpiu"; - coresight-nr-inports = <1>; - - vdd-supply = <&ext_2p95v>; - }; - - replicator: replicator@fc31c000 { - compatible = "qcom,coresight-replicator"; - reg = <0xfc31c000 0x1000>; - reg-names = "replicator-base"; - - coresight-id = <2>; - coresight-name = "coresight-replicator"; - coresight-nr-inports = <1>; - coresight-outports = <0 1>; - coresight-child-list = <&tmc_etr &tpiu>; - coresight-child-ports = <0 0>; - }; - - tmc_etf: tmc@fc307000 { - compatible = "arm,coresight-tmc"; - reg = <0xfc307000 0x1000>; - reg-names = "tmc-base"; - - coresight-id = <3>; - coresight-name = "coresight-tmc-etf"; - coresight-nr-inports = <1>; - coresight-outports = <0>; - coresight-child-list = <&replicator>; - coresight-child-ports = <0>; - coresight-default-sink; - coresight-ctis = <&cti0 &cti8>; - }; - - funnel_merg: funnel@fc31b000 { - compatible = "arm,coresight-funnel"; - reg = <0xfc31b000 0x1000>; - reg-names = "funnel-base"; - - coresight-id = <4>; - coresight-name = "coresight-funnel-merg"; - coresight-nr-inports = <2>; - coresight-outports = <0>; - coresight-child-list = <&tmc_etf>; - coresight-child-ports = <0>; - }; - - funnel_in0: funnel@fc319000 { - compatible = "arm,coresight-funnel"; - reg = <0xfc319000 0x1000>; - reg-names = "funnel-base"; - - coresight-id = <5>; - coresight-name = "coresight-funnel-in0"; - coresight-nr-inports = <8>; - coresight-outports = <0>; - coresight-child-list = <&funnel_merg>; - coresight-child-ports = <0>; - }; - - funnel_in1: funnel@fc31a000 { - compatible = "arm,coresight-funnel"; - reg = <0xfc31a000 0x1000>; - reg-names = "funnel-base"; - - coresight-id = <6>; - coresight-name = "coresight-funnel-in1"; - coresight-nr-inports = <8>; - coresight-outports = <0>; - coresight-child-list = <&funnel_merg>; - coresight-child-ports = <1>; - }; - - stm: stm@fc321000 { - compatible = "arm,coresight-stm"; - reg = <0xfc321000 0x1000>, - <0xfa280000 0x180000>; - reg-names = "stm-base", "stm-data-base"; - - coresight-id = <7>; - coresight-name = "coresight-stm"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_in1>; - coresight-child-ports = <7>; - }; - - etm0: etm@fc332000 { - compatible = "arm,coresight-etm"; - reg = <0xfc332000 0x1000>; - reg-names = "etm-base"; - - coresight-id = <8>; - coresight-name = "coresight-etm0"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_in0>; - coresight-child-ports = <4>; - - qcom,round-robin; - }; - - csr: csr@fc302000 { - compatible = "qcom,coresight-csr"; - reg = <0xfc302000 0x1000>; - reg-names = "csr-base"; - - coresight-id = <9>; - coresight-name = "coresight-csr"; - coresight-nr-inports = <0>; - - qcom,blk-size = <1>; - }; - - cti0: cti@fc308000 { - compatible = "arm,coresight-cti"; - reg = <0xfc308000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <10>; - coresight-name = "coresight-cti0"; - coresight-nr-inports = <0>; - }; - - cti1: cti@fc309000 { - compatible = "arm,coresight-cti"; - reg = <0xfc309000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <11>; - coresight-name = "coresight-cti1"; - coresight-nr-inports = <0>; - }; - - cti2: cti@fc30a000 { - compatible = "arm,coresight-cti"; - reg = <0xfc30a000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <12>; - coresight-name = "coresight-cti2"; - coresight-nr-inports = <0>; - }; - - cti3: cti@fc30b000 { - compatible = "arm,coresight-cti"; - reg = <0xfc30b000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <13>; - coresight-name = "coresight-cti3"; - coresight-nr-inports = <0>; - }; - - cti4: cti@fc30c000 { - compatible = "arm,coresight-cti"; - reg = <0xfc30c000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <14>; - coresight-name = "coresight-cti4"; - coresight-nr-inports = <0>; - }; - - cti5: cti@fc30d000 { - compatible = "arm,coresight-cti"; - reg = <0xfc30d000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <15>; - coresight-name = "coresight-cti5"; - coresight-nr-inports = <0>; - }; - - cti6: cti@fc30e000 { - compatible = "arm,coresight-cti"; - reg = <0xfc30e000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <16>; - coresight-name = "coresight-cti6"; - coresight-nr-inports = <0>; - }; - - cti7: cti@fc30f000 { - compatible = "arm,coresight-cti"; - reg = <0xfc30f000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <17>; - coresight-name = "coresight-cti7"; - coresight-nr-inports = <0>; - }; - - cti8: cti@fc310000 { - compatible = "arm,coresight-cti"; - reg = <0xfc310000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <18>; - coresight-name = "coresight-cti8"; - coresight-nr-inports = <0>; - }; - - cti_cpu: cti@fc333000 { - compatible = "arm,coresight-cti"; - reg = <0xfc333000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <19>; - coresight-name = "coresight-cti-cpu"; - coresight-nr-inports = <0>; - }; - - hwevent: hwevent@f9011038 { - compatible = "qcom,coresight-hwevent"; - reg = <0xf9011038 0x8>, - <0xfd4ab160 0x80>; - reg-names = "apcs-mux", "ppss-mux"; - - coresight-id = <20>; - coresight-name = "coresight-hwevent"; - coresight-nr-inports = <0>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/msm9625-display.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v3/msm9625-display.dtsi deleted file mode 100644 index 287a63aef..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/msm9625-display.dtsi +++ /dev/null @@ -1,20 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -&soc { - qcom,msm_qpic@f9ac0000 { - compatible = "qcom,mdss_qpic"; - reg = <0xf9ac0000 0x24000>; - reg-names = "qpic_base"; - interrupts = <0 251 0>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/msm9625-ion.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v3/msm9625-ion.dtsi deleted file mode 100644 index 6f9bb535d..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/msm9625-ion.dtsi +++ /dev/null @@ -1,35 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&soc { - qcom,ion { - compatible = "qcom,msm-ion"; - #address-cells = <1>; - #size-cells = <0>; - - qcom,ion-heap@30 { /* SYSTEM HEAP */ - reg = <30>; - }; - - qcom,ion-heap@25 { /* IOMMU HEAP */ - reg = <25>; - }; - - qcom,ion-heap@28 { /* AUDIO HEAP */ - compatible = "qcom,msm-ion-reserve"; - reg = <28>; - qcom,heap-align = <0x1000>; - qcom,memory-reservation-type = "EBI1"; /* reserve EBI memory */ - qcom,memory-reservation-size = <0xE9000>; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/msm9625-mtp.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v3/msm9625-mtp.dtsi deleted file mode 100755 index b2908c42b..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/msm9625-mtp.dtsi +++ /dev/null @@ -1,111 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&soc { - i2c@f9925000 { - }; - - wlan0: qca,wlan { - cell-index = <0>; - compatible = "qca,ar6004-hsic"; - qca,chip-pwd-l-gpios = <&msmgpio 62 0>; - qca,pm-enable-gpios = <&pm8019_gpios 3 0x0>; - qca,vdd-io-supply = <&pm8019_l11>; - }; - - qca,wlan_ar6003 { - cell-index = <0>; - compatible = "qca,ar6003-sdio"; - qca,chip-pwd-l-gpios = <&msmgpio 62 0>; - qca,pm-enable-gpios = <&pm8019_gpios 3 0x0>; - qca,vdd-io-supply = <&pm8019_l11>; - }; - - mp2617 { - cell-index = <0>; - compatible = "mps,mp2617"; - mps,chg-current-ma = <1000>; - mps,chg-vbat-div = <3>; /* Divided by 3 before input */ - mps,chg-en-gpio = <&msmgpio 13 0>; /* refer to board-9625-gpiomux.c */ - mps,chg-ok-gpio = <&msmgpio 71 0>; - mps,chg-m0-gpio = <&msmgpio 12 0>; - mps,chg-m1-gpio = <&msmgpio 17 0>; - }; -}; - -/* PM8019 GPIO and MPP configuration */ -&pm8019_gpios { - gpio@c000 { /* GPIO 1 */ - }; - - gpio@c100 { /* GPIO 2 */ - }; - - gpio@c200 { /* GPIO 3 */ - }; - - gpio@c300 { /* GPIO 4 */ - /* ext_2p95v regulator enable config */ - qcom,mode = <1>; /* Digital output */ - qcom,output-type = <0>; /* CMOS */ - qcom,invert = <0>; /* Output low */ - qcom,out-strength = <1>; /* Low */ - qcom,vin-sel = <2>; /* PM8019 L11 - 1.8V */ - qcom,src-sel = <0>; /* Constant */ - qcom,master-en = <1>; /* Enable GPIO */ - }; - - gpio@c400 { /* GPIO 5 */ - }; - - gpio@c500 { /* GPIO 6 */ - }; -}; - -&pm8019_mpps { - mpp@a000 { /* MPP 1 */ - }; - - /* [linyunfeng] Detect battery voltage */ - mpp@a100 { /* MPP 2 */ - /* channel 17 */ - qcom,mode = <4>; - qcom,ain-route = <1>; /* AMUX 6 */ - qcom,master-en = <1>; - qcom,src-sel = <0>; /* Function constant */ - qcom,invert = <1>; - }; - - mpp@a200 { /* MPP 3 */ - }; - - mpp@a300 { /* MPP 4 */ - /* VADC channel 19 */ - qcom,mode = <4>; - qcom,ain-route = <3>; /* AMUX 8 */ - qcom,master-en = <1>; - qcom,src-sel = <0>; /* Function constant */ - qcom,invert = <1>; - }; - - mpp@a400 { /* MPP 5 */ - }; - - mpp@a500 { /* MPP 6 */ - /* channel 21 */ - qcom,mode = <4>; - qcom,ain-route = <1>; /* AMUX 6 */ - qcom,master-en = <1>; - qcom,src-sel = <0>; /* Function constant */ - qcom,invert = <1>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/msm9625-pm.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v3/msm9625-pm.dtsi deleted file mode 100644 index 673b64053..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/msm9625-pm.dtsi +++ /dev/null @@ -1,299 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/include/ "skeleton.dtsi" - -&soc { - qcom,spm@f9009000 { - compatible = "qcom,spm-v2"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xf9009000 0x1000>; - qcom,core-id = <0>; - qcom,saw2-ver-reg = <0xfd0>; - qcom,saw2-cfg = <0x101>; - qcom,saw2-spm-dly= <0>; - qcom,saw2-spm-ctl = <0x1>; - qcom,saw2-spm-cmd-wfi = [04 03 04 0f]; - qcom,saw2-spm-cmd-spc = [34 04 44 14 24 54 03 54 44 14 04 24 - 3e 0f]; - qcom,saw2-spm-cmd-pc = [34 04 44 14 24 54 07 54 44 14 04 24 - 3e 0f]; - }; - - qcom,lpm-resources { - compatible = "qcom,lpm-resources"; - #address-cells = <1>; - #size-cells = <0>; - - qcom,lpm-resources@0 { - reg = <0x0>; - qcom,name = "vdd-dig"; - qcom,type = <0x616F646C>; /* "ldoa" */ - qcom,id = <0x0A>; - qcom,key = <0x6e726f63>; /* "corn" */ - qcom,init-value = <5>; /* Super Turbo */ - }; - - qcom,lpm-resources@1 { - reg = <0x1>; - qcom,name = "vdd-mem"; - qcom,type = <0x616F646C>; /* "ldoa" */ - qcom,id = <0x0C>; - qcom,key = <0x7675>; /* "uv" */ - qcom,init-value = <1050000>; /* Super Turbo */ - }; - - qcom,lpm-resources@2 { - reg = <0x2>; - qcom,name = "pxo"; - qcom,type = <0x306b6c63>; /* "clk0" */ - qcom,id = <0x00>; - qcom,key = <0x62616e45>; /* "Enab" */ - qcom,init-value = "xo_on"; - }; - }; - - qcom,lpm-levels { - compatible = "qcom,lpm-levels"; - #address-cells = <1>; - #size-cells = <0>; - - qcom,use-qtimer; - - qcom,lpm-level@0 { - reg = <0x0>; - qcom,mode = "wfi"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_active"; - qcom,vdd-mem-upper-bound = <1050000>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <950000>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <100>; - qcom,ss-power = <8000>; - qcom,energy-overhead = <100000>; - qcom,time-overhead = <1>; - }; - - qcom,lpm-level@1 { - reg = <0x1>; - qcom,mode = "standalone_pc"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_active"; - qcom,vdd-mem-upper-bound = <1050000>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <950000>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <2000>; - qcom,ss-power = <5000>; - qcom,energy-overhead = <60100000>; - qcom,time-overhead = <3000>; - }; - - qcom,lpm-level@2 { - reg = <0x2>; - qcom,mode = "pc"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_gdhs"; - qcom,vdd-mem-upper-bound = <1050000>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <950000>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <3500>; - qcom,ss-power = <5000>; - qcom,energy-overhead = <60350000>; - qcom,time-overhead = <6300>; - }; - - qcom,lpm-level@3 { - reg = <0x3>; - qcom,mode = "pc"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_pc"; - qcom,vdd-mem-upper-bound = <1050000>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <950000>; /* SVS SOC */ - qcom,vdd-dig-upper-bound = <4>; /* NORMAL */ - qcom,vdd-dig-lower-bound = <3>; /* SVS SOC */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <4500>; - qcom,ss-power = <5000>; - qcom,energy-overhead = <60350000>; - qcom,time-overhead = <7300>; - }; - - qcom,lpm-level@4 { - reg = <0x4>; - qcom,mode = "pc"; - qcom,xo = "xo_off"; - qcom,l2 = "l2_cache_pc"; - qcom,vdd-mem-upper-bound = <1050000>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <950000>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,irqs-detectable; - qcom,latency-us = <6800>; - qcom,ss-power = <2000>; - qcom,energy-overhead = <71850000>; - qcom,time-overhead = <13300>; - }; - - qcom,lpm-level@5 { - reg = <0x5>; - qcom,mode = "pc"; - qcom,xo = "xo_off"; - qcom,l2 = "l2_cache_pc"; - qcom,vdd-mem-upper-bound = <1050000>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <950000>; /* SVS SOC */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <3>; /* SVS SOC */ - qcom,irqs-detectable; - qcom,latency-us = <8000>; - qcom,ss-power = <1800>; - qcom,energy-overhead = <71950000>; - qcom,time-overhead = <15300>; - }; - - qcom,lpm-level@6 { - reg = <0x6>; - qcom,mode = "pc"; - qcom,xo = "xo_off"; - qcom,l2 = "l2_cache_pc"; - qcom,vdd-mem-upper-bound = <950000>; /* SVS SOC */ - qcom,vdd-mem-lower-bound = <675000>; /* RETENTION */ - qcom,vdd-dig-upper-bound = <3>; /* SVS SOC */ - qcom,vdd-dig-lower-bound = <1>; /* RETENTION */ - qcom,latency-us = <9800>; - qcom,ss-power = <0>; - qcom,energy-overhead = <76350000>; - qcom,time-overhead = <28300>; - }; - }; - - qcom,pm-boot { - compatible = "qcom,pm-boot"; - qcom,mode = "tz"; - }; - - qcom,mpm@fc4281d0 { - compatible = "qcom,mpm-v2"; - reg = <0xfc4281d0 0x1000>, /* MSM_RPM_MPM_BASE 4K */ - <0xf9011008 0x4>; /* MSM_APCS_GCC_BASE 4K */ - reg-names = "vmpm", "ipc"; - interrupts = <0 171 1>; - - qcom,ipc-bit-offset = <1>; - - qcom,gic-parent = <&intc>; - qcom,gic-map = <2 216>, /* tsens_upper_lower_int */ - <47 172>, /* usb2_hsic_async_wakeup_irq */ - <41 180>, /* usb_async_wakeup_irq */ - <62 222>, /* ee0_krait_hlos_spmi_periph_irq */ - <0xff 57>, /* mss_to_apps_irq(0) */ - <0xff 58>, /* mss_to_apps_irq(1) */ - <0xff 59>, /* mss_to_apps_irq(2) */ - <0xff 60>, /* mss_to_apps_irq(3) */ - <0xff 173>, /* o_wcss_apss_smd_hi */ - <0xff 174>, /* o_wcss_apss_smd_med */ - <0xff 175>, /* o_wcss_apss_smd_lo */ - <0xff 176>, /* o_wcss_apss_smsm_irq */ - <0xff 177>, /* o_wcss_apss_wlan_data_xfer_done */ - <0xff 178>, /* o_wcss_apss_wlan_rx_data_avail */ - <0xff 179>, /* o_wcss_apss_asic_intr */ - <0xff 188>, /* q6ss_irq_out(4) */ - <0xff 189>, /* q6ss_irq_out(5) */ - <0xff 190>, /* q6ss_irq_out(6) */ - <0xff 191>, /* q6ss_irq_out(7) */ - <0xff 192>, /* audio_out0_irq */ - <0xff 193>, /* midi_arm_irq */ - <0xff 194>, /* q6ss_wdog_exp_irq */ - <0xff 195>, /* slimbus_core_ee1_irq */ - <0xff 196>, /* bam_irq(1) */ - <0xff 197>, /* qdss_irq_out(7) */ - <0xff 200>, /* rpm_ipc(4) */ - <0xff 201>, /* rpm_ipc(5) */ - <0xff 202>, /* rpm_ipc(6) */ - <0xff 203>, /* rpm_ipc(7) */ - <0xff 204>, /* rpm_ipc(24) */ - <0xff 205>, /* rpm_ipc(25) */ - <0xff 206>, /* rpm_ipc(26) */ - <0xff 207>, /* rpm_ipc(27) */ - <0xff 240>; /* summary_irq_kpss */ - - qcom,gpio-parent = <&msmgpio>; - qcom,gpio-map = <4 0>, - <5 1>, - <6 2>, - <7 3>, - <8 4>, - <9 5>, - <10 6>, - <11 7>, - <12 8>, - <13 9>, - <14 10>, - <15 11>, - <16 12>, - <17 13>, - <18 14>, - <19 15>, - <20 16>, - <21 17>, - <22 18>, - <23 19>, - <24 20>, - <25 21>, - <26 24>, - <27 25>, - <28 51>, - <29 61>, - <30 62>, - <31 63>, - <32 64>, - <33 65>, - <34 66>, - <35 67>, - <36 69>, - <37 71>; - }; - - qcom,pm-8x60 { - compatible = "qcom,pm-8x60"; - qcom,pc-mode = "tz_l2_ext"; - qcom,use-sync-timer; - }; - - qcom,rpm-log@fc19dc00 { - compatible = "qcom,rpm-log"; - reg = <0xfc19dc00 0x4000>; - qcom,rpm-addr-phys = <0xfc000000>; - qcom,offset-version = <4>; - qcom,offset-page-buffer-addr = <36>; - qcom,offset-log-len = <40>; - qcom,offset-log-len-mask = <44>; - qcom,offset-page-indices = <56>; - }; - - qcom,rpm-stats@fc19dba0 { - compatible = "qcom,rpm-stats"; - reg = <0xfc19dba0 0x1000>; - reg-names = "phys_addr_base"; - qcom,sleep-stats-version = <2>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/msm9625-regulator.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v3/msm9625-regulator.dtsi deleted file mode 100644 index eb56d1c6a..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/msm9625-regulator.dtsi +++ /dev/null @@ -1,284 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&rpm_bus { - rpm-regulator-smpa1 { - status = "okay"; - pm8019_s1: regulator-s1 { - regulator-min-microvolt = <800000>; - regulator-max-microvolt = <1050000>; - qcom,init-voltage = <1050000>; - status = "okay"; - }; - }; - - rpm-regulator-smpa2 { - status = "okay"; - pm8019_s2: regulator-s2 { - regulator-min-microvolt = <1250000>; - regulator-max-microvolt = <1250000>; - qcom,init-voltage = <1250000>; - qcom,init-current = <100>; - qcom,system-load = <100000>; - regulator-always-on; - status = "okay"; - }; - }; - - rpm-regulator-smpa3 { - status = "okay"; - pm8019_s3: regulator-s3 { - regulator-min-microvolt = <1000000>; - regulator-max-microvolt = <1100000>; - qcom,init-voltage = <1100000>; - qcom,init-current = <100>; - qcom,system-load = <100000>; - regulator-always-on; - status = "okay"; - }; - pm8019_s3_ao: regulator-s3-ao { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8019_s3_ao"; - qcom,set = <1>; - regulator-min-microvolt = <1000000>; - regulator-max-microvolt = <1100000>; - status = "okay"; - }; - }; - - rpm-regulator-smpa4 { - status = "okay"; - pm8019_s4: regulator-s4 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <2075000>; - qcom,init-voltage = <2075000>; - qcom,init-current = <100>; - qcom,system-load = <100000>; - regulator-always-on; - status = "okay"; - }; - }; - - rpm-regulator-ldoa1 { - status = "okay"; - pm8019_l1: regulator-l1 { - parent-supply = <&pm8019_s2>; - regulator-min-microvolt = <1225000>; - regulator-max-microvolt = <1225000>; - qcom,init-voltage = <1225000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa2 { - status = "okay"; - pm8019_l2: regulator-l2 { - parent-supply = <&pm8019_s4>; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa3 { - status = "okay"; - pm8019_l3: regulator-l3 { - parent-supply = <&pm8019_s4>; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa4 { - status = "okay"; - pm8019_l4: regulator-l4 { - regulator-min-microvolt = <3075000>; - regulator-max-microvolt = <3075000>; - qcom,init-voltage = <3075000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa5 { - status = "okay"; - pm8019_l5: regulator-l5 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <2850000>; - qcom,init-voltage = <1800000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa6 { - status = "okay"; - pm8019_l6: regulator-l6 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <2850000>; - qcom,init-voltage = <1800000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa7 { - status = "okay"; - pm8019_l7: regulator-l7 { - parent-supply = <&pm8019_s4>; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa8 { - status = "okay"; - pm8019_l8: regulator-l8 { - parent-supply = <&pm8019_s4>; - regulator-min-microvolt = <2050000>; - regulator-max-microvolt = <2050000>; - qcom,init-voltage = <2050000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa9 { - status = "okay"; - pm8019_l9: regulator-l9 { - parent-supply = <&pm8019_s2>; - regulator-min-microvolt = <1200000>; - regulator-max-microvolt = <1200000>; - qcom,init-voltage = <1200000>; - qcom,init-current = <10>; - qcom,system-load = <10000>; - regulator-always-on; - status = "okay"; - }; - }; - - rpm-regulator-ldoa10 { - status = "okay"; - pm8019_l10: regulator-l10 { - parent-supply = <&pm8019_s3>; - regulator-min-microvolt = <500000>; - regulator-max-microvolt = <1050000>; - status = "okay"; - }; - pm8019_l10_corner: regulator-l10-corner { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8019_l10_corner"; - qcom,set = <3>; - regulator-min-microvolt = <1>; - regulator-max-microvolt = <7>; - qcom,use-voltage-corner; - status = "okay"; - qcom,consumer-supplies = "vdd_dig", ""; - }; - pm8019_l10_corner_ao: regulator-l10-corner-ao { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8019_l10_corner_ao"; - qcom,set = <1>; - regulator-min-microvolt = <1>; - regulator-max-microvolt = <7>; - qcom,use-voltage-corner; - status = "okay"; - }; - pm8019_l10_floor_corner: regulator-l10-floor-corner { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8019_l10_floor_corner"; - qcom,set = <3>; - regulator-min-microvolt = <1>; - regulator-max-microvolt = <7>; - qcom,use-voltage-floor-corner; - qcom,always-send-voltage; - }; - }; - - rpm-regulator-ldoa11 { - status = "okay"; - pm8019_l11: regulator-l11 { - parent-supply = <&pm8019_s4>; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - qcom,init-current = <10>; - qcom,system-load = <10000>; - regulator-always-on; - status = "okay"; - }; - }; - - rpm-regulator-ldoa12 { - status = "okay"; - pm8019_l12: regulator-l12 { - parent-supply = <&pm8019_s3>; - regulator-min-microvolt = <675000>; - regulator-max-microvolt = <1050000>; - status = "okay"; - }; - pm8019_l12_ao: regulator-l12-ao { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8019_l12_ao"; - qcom,set = <1>; - parent-supply = <&pm8019_s3_ao>; - regulator-min-microvolt = <675000>; - regulator-max-microvolt = <1050000>; - status = "okay"; - }; - pm8019_l12_so: regulator-l12-so { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8019_l12_so"; - qcom,set = <2>; - parent-supply = <&pm8019_s3>; - regulator-min-microvolt = <675000>; - regulator-max-microvolt = <1050000>; - qcom,init-voltage = <675000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa13 { - status = "okay"; - pm8019_l13: regulator-l13 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <2950000>; - qcom,init-voltage = <2950000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa14 { - status = "okay"; - pm8019_l14: regulator-l14 { - regulator-min-microvolt = <2700000>; - regulator-max-microvolt = <2700000>; - qcom,init-voltage = <2700000>; - status = "okay"; - }; - }; -}; - -&soc { - ext_2p95v: regulator-isl80101 { - compatible = "regulator-fixed"; - regulator-name = "ext_2p95v"; - gpio = <&pm8019_gpios 4 0>; - enable-active-high; - }; - - usb_vbus: regulator-usb-vbus { - compatible = "regulator-fixed"; - regulator-name = "usb_vbus"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/msm9625-smp2p.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v3/msm9625-smp2p.dtsi deleted file mode 100644 index f8ad351a4..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/msm9625-smp2p.dtsi +++ /dev/null @@ -1,142 +0,0 @@ -/* Copyright (c) 2013, 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. - */ -&soc { - qcom,smp2p-modem { - compatible = "qcom,smp2p"; - reg = <0xf9011008 0x4>; - qcom,remote-pid = <1>; - qcom,irq-bitmask = <0x4000>; - interrupts = <0 27 1>; - }; - - qcom,smp2p-adsp { - compatible = "qcom,smp2p"; - reg = <0xf9011008 0x4>; - qcom,remote-pid = <2>; - qcom,irq-bitmask = <0x400>; - interrupts = <0 158 1>; - }; - - smp2pgpio_smp2p_7_in: qcom,smp2pgpio-smp2p-7-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <7>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_7_in { - compatible = "qcom,smp2pgpio_test_smp2p_7_in"; - gpios = <&smp2pgpio_smp2p_7_in 0 0>; - }; - - smp2pgpio_smp2p_7_out: qcom,smp2pgpio-smp2p-7-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <7>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_7_out { - compatible = "qcom,smp2pgpio_test_smp2p_7_out"; - gpios = <&smp2pgpio_smp2p_7_out 0 0>; - }; - - smp2pgpio_smp2p_1_in: qcom,smp2pgpio-smp2p-1-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <1>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_1_in { - compatible = "qcom,smp2pgpio_test_smp2p_1_in"; - gpios = <&smp2pgpio_smp2p_1_in 0 0>; - }; - - smp2pgpio_smp2p_1_out: qcom,smp2pgpio-smp2p-1-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <1>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_1_out { - compatible = "qcom,smp2pgpio_test_smp2p_1_out"; - gpios = <&smp2pgpio_smp2p_1_out 0 0>; - }; - - smp2pgpio_ssr_smp2p_1_in: qcom,smp2pgpio-ssr-smp2p-1-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "slave-kernel"; - qcom,remote-pid = <1>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - smp2pgpio_ssr_smp2p_1_out: qcom,smp2pgpio-ssr-smp2p-1-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "master-kernel"; - qcom,remote-pid = <1>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - smp2pgpio_smp2p_2_in: qcom,smp2pgpio-smp2p-2-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <2>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_2_in { - compatible = "qcom,smp2pgpio_test_smp2p_2_in"; - gpios = <&smp2pgpio_smp2p_2_in 0 0>; - }; - - smp2pgpio_smp2p_2_out: qcom,smp2pgpio-smp2p-2-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <2>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_2_out { - compatible = "qcom,smp2pgpio_test_smp2p_2_out"; - gpios = <&smp2pgpio_smp2p_2_out 0 0>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/msm9625-v1-cdp.dts b/kernel/arch/arm/boot/dts/m7350-un-v3/msm9625-v1-cdp.dts deleted file mode 100644 index d7537eb35..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/msm9625-v1-cdp.dts +++ /dev/null @@ -1,24 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/dts-v1/; - -/include/ "msm9625-v1.dtsi" -/include/ "msm9625-cdp.dtsi" - -/ { - model = "Qualcomm MSM 9625V1 CDP"; - compatible = "qcom,msm9625-cdp", "qcom,msm9625", "qcom,cdp"; - qcom,msm-id = <134 1 0>, <152 1 0>, <149 1 0>, <150 1 0>, - <151 1 0>, <148 1 0>, <173 1 0>, <174 1 0>, - <175 1 0>; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/msm9625-v1-mtp.dts b/kernel/arch/arm/boot/dts/m7350-un-v3/msm9625-v1-mtp.dts deleted file mode 100644 index a70ec1aa7..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/msm9625-v1-mtp.dts +++ /dev/null @@ -1,24 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/dts-v1/; - -/include/ "msm9625-v1.dtsi" -/include/ "msm9625-mtp.dtsi" - -/ { - model = "Qualcomm MSM 9625V1 MTP"; - compatible = "qcom,msm9625-mtp", "qcom,msm9625", "qcom,mtp"; - qcom,msm-id = <134 7 0>, <152 7 0>, <149 7 0>, <150 7 0>, - <151 7 0>, <148 7 0>, <173 7 0>, <174 7 0>, - <175 7 0>; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/msm9625-v1-rumi.dts b/kernel/arch/arm/boot/dts/m7350-un-v3/msm9625-v1-rumi.dts deleted file mode 100644 index ef0068143..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/msm9625-v1-rumi.dts +++ /dev/null @@ -1,26 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/dts-v1/; - -/include/ "msm9625-v1.dtsi" - -/ { - model = "Qualcomm MSM 9625V1 RUMI"; - compatible = "qcom,msm9625-rumi", "qcom,msm9625", "qcom,rumi"; - qcom,msm-id = <134 15 0>; - - chosen{ - bootargs = "root=/dev/ram rw init=/init console=ttyHSL0,115200n8 initrd=0x00000000,0x00000000 mem=29M@0x00200000 mem=10M@0x07600000"; - - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/msm9625-v1.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v3/msm9625-v1.dtsi deleted file mode 100644 index b238ba549..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/msm9625-v1.dtsi +++ /dev/null @@ -1,67 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/* - * As a general rule, only version-specific property overrides should be placed - * inside this file. However, device definitions should be placed inside the - * msm9625.dtsi file. - */ - -/include/ "msm9625.dtsi" - -&soc { - qcom,msm-imem@fc42a800 { - compatible = "qcom,msm-imem"; - reg = <0xfc42a800 0x1000>; /* Address and size of IMEM */ - }; - - android_usb@fc42a8c8 { - compatible = "qcom,android-usb"; - reg = <0xfc42a8c8 0xc8>; - qcom,android-usb-swfi-latency = <100>; - }; - - qcom,bam_dmux@fc834000 { - compatible = "qcom,bam_dmux"; - reg = <0xfc834000 0x7000>; - interrupts = <0 29 1>; - }; -}; - -&hsic_host { - qcom,disable-park-mode; -}; - -&ipa_hw { - qcom,ipa-hw-ver = <1>; /* IPA h-w revision */ -}; - -/* CoreSight */ -&tmc_etr { - qcom,reset-flush-race; -}; - -&stm { - qcom,write-64bit; -}; - -&sfpb_spinlock { - status = "disable"; -}; - -&ldrex_spinlock { - status = "ok"; -}; - -&hsic_host { - qcom,phy-sof-workaround; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/msm9625-v2-cdp.dts b/kernel/arch/arm/boot/dts/m7350-un-v3/msm9625-v2-cdp.dts deleted file mode 100644 index 9fbe5ec8a..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/msm9625-v2-cdp.dts +++ /dev/null @@ -1,24 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; - -/include/ "msm9625-v2.dtsi" -/include/ "msm9625-cdp.dtsi" - -/ { - model = "Qualcomm MSM 9625V2 CDP"; - compatible = "qcom,msm9625-cdp", "qcom,msm9625", "qcom,cdp"; - qcom,msm-id = <134 1 0x20000>, <152 1 0x20000>, <149 1 0x20000>, - <150 1 0x20000>, <151 1 0x20000>, <148 1 0x20000>, - <173 1 0x20000>, <174 1 0x20000>, <175 1 0x20000>; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/msm9625-v2-mtp.dts b/kernel/arch/arm/boot/dts/m7350-un-v3/msm9625-v2-mtp.dts deleted file mode 100644 index 27d00664a..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/msm9625-v2-mtp.dts +++ /dev/null @@ -1,122 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; - -/include/ "msm9625-v2.dtsi" -/include/ "msm9625-mtp.dtsi" - -/ { - model = "Qualcomm MSM 9625V2 MTP"; - compatible = "qcom,msm9625-mtp", "qcom,msm9625", "qcom,mtp"; - qcom,msm-id = <134 7 0x20000>, <152 7 0x20000>, <149 7 0x20000>, - <150 7 0x20000>, <151 7 0x20000>, <148 7 0x20000>, - <173 7 0x20000>, <174 7 0x20000>, <175 7 0x20000>; -}; - -&soc { - i2c@f9925000 { - charger@57 { - compatible = "summit,smb137c"; - reg = <0x57>; - summit,chg-current-ma = <1500>; - summit,term-current-ma = <50>; - summit,pre-chg-current-ma = <100>; - summit,float-voltage-mv = <4200>; - summit,thresh-voltage-mv = <3000>; - summit,recharge-thresh-mv = <75>; - summit,system-voltage-mv = <4250>; - summit,charging-timeout = <382>; - summit,pre-charge-timeout = <48>; - summit,therm-current-ua = <10>; - summit,temperature-min = <4>; /* 0 C */ - summit,temperature-max = <3>; /* 45 C */ - }; - }; - - wlan0: qca,wlan { - cell-index = <0>; - compatible = "qca,ar6004-hsic"; - qca,chip-pwd-l-gpios = <&msmgpio 62 0>; - qca,pm-enable-gpios = <&pm8019_gpios 3 0x0>; - qca,vdd-io-supply = <&pm8019_l11>; - }; - - qca,wlan_ar6003 { - cell-index = <0>; - compatible = "qca,ar6003-sdio"; - qca,chip-pwd-l-gpios = <&msmgpio 62 0>; - qca,pm-enable-gpios = <&pm8019_gpios 3 0x0>; - qca,vdd-io-supply = <&pm8019_l11>; - }; -}; - -/* PM8019 GPIO and MPP configuration */ -&pm8019_gpios { - gpio@c000 { /* GPIO 1 */ - }; - - gpio@c100 { /* GPIO 2 */ - }; - - gpio@c200 { /* GPIO 3 */ - }; - - gpio@c300 { /* GPIO 4 */ - /* ext_2p95v regulator enable config */ - qcom,mode = <1>; /* Digital output */ - qcom,output-type = <0>; /* CMOS */ - qcom,invert = <0>; /* Output low */ - qcom,out-strength = <1>; /* Low */ - qcom,vin-sel = <2>; /* PM8019 L11 - 1.8V */ - qcom,src-sel = <0>; /* Constant */ - qcom,master-en = <1>; /* Enable GPIO */ - }; - - gpio@c400 { /* GPIO 5 */ - }; - - gpio@c500 { /* GPIO 6 */ - }; -}; - -&pm8019_mpps { - mpp@a000 { /* MPP 1 */ - }; - - mpp@a100 { /* MPP 2 */ - }; - - mpp@a200 { /* MPP 3 */ - }; - - mpp@a300 { /* MPP 4 */ - /* VADC channel 19 */ - qcom,mode = <4>; - qcom,ain-route = <3>; /* AMUX 8 */ - qcom,master-en = <1>; - qcom,src-sel = <0>; /* Function constant */ - qcom,invert = <1>; - }; - - mpp@a400 { /* MPP 5 */ - }; - - mpp@a500 { /* MPP 6 */ - /* channel 21 */ - qcom,mode = <4>; - qcom,ain-route = <1>; /* AMUX 6 */ - qcom,master-en = <1>; - qcom,src-sel = <0>; /* Function constant */ - qcom,invert = <1>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/msm9625-v2.1-cdp.dts b/kernel/arch/arm/boot/dts/m7350-un-v3/msm9625-v2.1-cdp.dts deleted file mode 100644 index b64359381..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/msm9625-v2.1-cdp.dts +++ /dev/null @@ -1,24 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; - -/include/ "msm9625-v2.1.dtsi" -/include/ "msm9625-cdp.dtsi" - -/ { - model = "Qualcomm MSM 9625V2.1 CDP"; - compatible = "qcom,msm9625-cdp", "qcom,msm9625", "qcom,cdp"; - qcom,msm-id = <134 1 0x20001>, <152 1 0x20001>, <149 1 0x20001>, - <150 1 0x20001>, <151 1 0x20001>, <148 1 0x20001>, - <173 1 0x20001>, <174 1 0x20001>, <175 1 0x20001>; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/msm9625-v2.1-mtp.dts b/kernel/arch/arm/boot/dts/m7350-un-v3/msm9625-v2.1-mtp.dts deleted file mode 100644 index 8bbcc0d55..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/msm9625-v2.1-mtp.dts +++ /dev/null @@ -1,24 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; - -/include/ "msm9625-v2.1.dtsi" -/include/ "msm9625-mtp.dtsi" - -/ { - model = "Qualcomm MSM 9625V2.1 MTP"; - compatible = "qcom,msm9625-mtp", "qcom,msm9625", "qcom,mtp"; - qcom,msm-id = <134 7 0x20001>, <152 7 0x20001>, <149 7 0x20001>, - <150 7 0x20001>, <151 7 0x20001>, <148 7 0x20001>, - <173 7 0x20001>, <174 7 0x20001>, <175 7 0x20001>; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/msm9625-v2.1.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v3/msm9625-v2.1.dtsi deleted file mode 100644 index 5720700e3..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/msm9625-v2.1.dtsi +++ /dev/null @@ -1,40 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/* - * As a general rule, only version-specific property overrides should be placed - * inside this file. However, device definitions should be placed inside the - * msm9625.dtsi file. - */ - -/include/ "msm9625.dtsi" - -&soc { - qcom,msm-imem@fe807800 { - compatible = "qcom,msm-imem"; - reg = <0xfe807800 0x1000>; /* Address and size of IMEM */ - }; - - android_usb@fe8078c8 { - compatible = "qcom,android-usb"; - reg = <0xfe8078c8 0xc8>; - qcom,android-usb-swfi-latency = <100>; - }; -}; - -&ipa_hw { - qcom,ipa-hw-ver = <2>; /* IPA h-w revision */ -}; - -&hsusb_otg { - qcom,hsusb-l1-supported; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/msm9625-v2.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v3/msm9625-v2.dtsi deleted file mode 100644 index 3eda3f896..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/msm9625-v2.dtsi +++ /dev/null @@ -1,54 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/* - * As a general rule, only version-specific property overrides should be placed - * inside this file. However, device definitions should be placed inside the - * msm9625.dtsi file. - */ - -/include/ "msm9625.dtsi" - -&soc { - qcom,msm-imem@fe807800 { - compatible = "qcom,msm-imem"; - reg = <0xfe807800 0x1000>; /* Address and size of IMEM */ - }; - - android_usb@fe8078c8 { - compatible = "qcom,android-usb"; - reg = <0xfe8078c8 0xc8>; - qcom,android-usb-swfi-latency = <100>; - }; -}; - -&ipa_hw { - qcom,ipa-hw-ver = <2>; /* IPA h-w revision */ -}; - -&hsic_host { - qcom,disable-park-mode; - qcom,phy-susp-sof-workaround; - qcom,phy-reset-sof-workaround; -}; - -&sfpb_spinlock { - status = "disable"; -}; - -&ldrex_spinlock { - status = "ok"; -}; - -&hsusb_otg { - qcom,hsusb-l1-supported; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/msm9625.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v3/msm9625.dtsi deleted file mode 100755 index e57b976e8..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/msm9625.dtsi +++ /dev/null @@ -1,895 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/include/ "skeleton.dtsi" - -/ { - model = "Qualcomm MSM 9625"; - compatible = "qcom,msm9625"; - interrupt-parent = <&intc>; - - aliases { - spi0 = &spi_0; - }; - - soc: soc { }; -}; - -/include/ "msm9625-ion.dtsi" -/include/ "msm9625-pm.dtsi" -/include/ "msm9625-coresight.dtsi" -/include/ "msm9625-smp2p.dtsi" - -&soc { - #address-cells = <1>; - #size-cells = <1>; - ranges; - - intc: interrupt-controller@F9000000 { - compatible = "qcom,msm-qgic2"; - interrupt-controller; - #interrupt-cells = <3>; - reg = <0xF9000000 0x1000>, - <0xF9002000 0x1000>; - }; - - l2: cache-controller@f9040000 { - compatible = "arm,pl310-cache"; - reg = <0xf9040000 0x1000>; - cache-unified; - cache-level = <2>; - }; - - msmgpio: gpio@fd510000 { - compatible = "qcom,msm-gpio"; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - reg = <0xfd510000 0x4000>; - ngpio = <76>; - interrupts = <0 208 0>; - qcom,direct-connect-irqs = <8>; - }; - - 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 7 0x4>, - <0 6 0x4>; - reg = <0xf9021000 0x1000>, - <0xf9022000 0x1000>; - }; - - frame@f9023000 { - frame-number = <1>; - interrupts = <0 8 0x4>; - reg = <0xf9023000 0x1000>; - status = "disabled"; - }; - - frame@f9024000 { - frame-number = <2>; - interrupts = <0 9 0x4>; - reg = <0xf9024000 0x1000>; - status = "disabled"; - }; - - frame@f9025000 { - frame-number = <3>; - interrupts = <0 10 0x4>; - reg = <0xf9025000 0x1000>; - status = "disabled"; - }; - - frame@f9026000 { - frame-number = <4>; - interrupts = <0 11 0x4>; - reg = <0xf9026000 0x1000>; - status = "disabled"; - }; - - frame@f9027000 { - frame-number = <5>; - interrupts = <0 12 0x4>; - reg = <0xf9027000 0x1000>; - status = "disabled"; - }; - - frame@f9028000 { - frame-number = <6>; - interrupts = <0 13 0x4>; - reg = <0xf9028000 0x1000>; - status = "disabled"; - }; - - frame@f9029000 { - frame-number = <7>; - interrupts = <0 14 0x4>; - reg = <0xf9029000 0x1000>; - status = "disabled"; - }; - }; - - qcom,sps@f9980000 { - compatible = "qcom,msm_sps"; - reg = <0xf9984000 0x15000>, - <0xf9999000 0xb000>, - <0xfe803000 0x4800>; - interrupts = <0 94 0>; - qcom,device-type = <2>; - }; - - serial@f991f000 { - compatible = "qcom,msm-lsuart-v14"; - reg = <0xf991f000 0x1000>; - interrupts = <0 109 0>; - qcom,msm-bus,name = "blsp1_uart3"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <86 512 0 0>, - <86 512 500 800>; - }; - - hsusb_otg: usb@f9a55000 { - compatible = "qcom,hsusb-otg"; - reg = <0xf9a55000 0x400>; - interrupts = <0 134 0 0 140 0>; - interrupt-names = "core_irq", "async_irq"; - HSUSB_VDDCX-supply = <&pm8019_l12>; - HSUSB_1p8-supply = <&pm8019_l2>; - HSUSB_3p3-supply = <&pm8019_l4>; - vbus_otg-supply = <&usb_vbus>; - - qcom,hsusb-otg-phy-type = <2>; - qcom,hsusb-otg-mode = <1>; - qcom,hsusb-otg-otg-control = <1>; - qcom,hsusb-otg-disable-reset; - qcom,hsusb-otg-delay-lpm-hndshk-on-disconnect; - qcom,hsusb-otg-delay-lpm; - qcom,hsusb-otg-mpm-dpsehv-int = <49>; - - qcom,msm-bus,name = "usb2"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <87 512 0 0>, - <87 512 40000 640000>; - qcom,hsusb-log2-itc = <4>; - }; - - hsic_host: hsic@f9a15000 { - compatible = "qcom,hsic-host"; - reg = <0xf9a15000 0x400>; - interrupts = <0 136 0>, <0 148 0>; - interrupt-names = "core_irq", "async_irq"; - HSIC_VDDCX-supply = <&pm8019_l12>; - HSIC_GDSC-supply = <&gdsc_usb_hsic>; - - qcom,msm-bus,name = "hsic"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <85 512 0 0>, - <85 512 40000 640000>; - qcom,pool-64-bit-align; - qcom,enable-hbm; - hsic,consider-ipa-handshake; - qcom,ahb-async-bridge-bypass; - hsic,disable-cerr; - qcom,disable-internal-clk-gating; - }; - - qcom,usbbam@f9a44000 { - compatible = "qcom,usb-bam-msm"; - reg = <0xf9a44000 0x11000>, - <0xf9a04000 0x11000>; - reg-names = "hsusb", "hsic"; - interrupts = <0 135 0 0 255 0>; - interrupt-names = "hsusb", "hsic"; - qcom,usb-bam-num-pipes = <16>; - qcom,ignore-core-reset-ack; - qcom,disable-clk-gating; - - qcom,pipe0 { - label = "hsusb-ipa-out-0"; - qcom,usb-bam-mem-type = <2>; - qcom,bam-type = <1>; - qcom,dir = <0>; - qcom,pipe-num = <0>; - qcom,peer-bam = <2>; - qcom,src-bam-physical-address = <0xf9a44000>; - qcom,src-bam-pipe-index = <1>; - qcom,data-fifo-size = <0x8000>; - qcom,descriptor-fifo-size = <0x2000>; - qcom,reset-bam-on-connect; - }; - qcom,pipe1 { - label = "hsusb-ipa-in-0"; - qcom,usb-bam-mem-type = <2>; - qcom,bam-type = <1>; - qcom,dir = <1>; - qcom,pipe-num = <0>; - qcom,peer-bam = <2>; - qcom,dst-bam-physical-address = <0xf9a44000>; - qcom,dst-bam-pipe-index = <0>; - qcom,data-fifo-size = <0x8000>; - qcom,descriptor-fifo-size = <0x2000>; - qcom,reset-bam-on-connect; - }; - qcom,pipe2 { - label = "hsusb-qdss-in-0"; - qcom,usb-bam-mem-type = <0>; - qcom,bam-type = <1>; - 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 = <0xf9a44000>; - qcom,dst-bam-pipe-index = <2>; - qcom,data-fifo-offset = <0x4100>; - qcom,data-fifo-size = <0x700>; - qcom,descriptor-fifo-offset = <0x4000>; - qcom,descriptor-fifo-size = <0x100>; - }; - qcom,pipe3 { - label = "hsic-ipa-in-0"; - qcom,usb-bam-mem-type = <2>; - qcom,bam-type = <2>; - qcom,dir = <1>; - qcom,pipe-num = <0>; - qcom,peer-bam = <2>; - qcom,dst-bam-physical-address = <0xf9a04000>; - qcom,dst-bam-pipe-index = <3>; - qcom,data-fifo-size = <0xF800>; - qcom,descriptor-fifo-size = <0x3A58>; - qcom,reset-bam-on-connect; - }; - qcom,pipe4 { - label = "hsic-ipa-in-1"; - qcom,bam-type = <2>; - qcom,dir = <1>; - qcom,pipe-num = <1>; - qcom,peer-bam = <2>; - qcom,usb-bam-mem-type = <2>; - qcom,dst-bam-physical-address = <0xf9a04000>; - qcom,dst-bam-pipe-index = <4>; - qcom,data-fifo-size = <0xF800>; - qcom,descriptor-fifo-size = <0x3A58>; - qcom,reset-bam-on-connect; - }; - qcom,pipe5 { - label = "hsic-ipa-in-2"; - qcom,usb-bam-mem-type = <2>; - qcom,bam-type = <2>; - qcom,dir = <1>; - qcom,pipe-num = <2>; - qcom,peer-bam = <2>; - qcom,dst-bam-physical-address = <0xf9a04000>; - qcom,dst-bam-pipe-index = <5>; - qcom,data-fifo-size = <0xF800>; - qcom,descriptor-fifo-size = <0x3A58>; - qcom,reset-bam-on-connect; - }; - qcom,pipe6 { - label = "hsic-ipa-in-3"; - qcom,usb-bam-mem-type = <2>; - qcom,bam-type = <2>; - qcom,dir = <1>; - qcom,pipe-num = <3>; - qcom,peer-bam = <2>; - qcom,dst-bam-physical-address = <0xf9a04000>; - qcom,dst-bam-pipe-index = <6>; - qcom,data-fifo-size = <0xF800>; - qcom,descriptor-fifo-size = <0x3A58>; - qcom,reset-bam-on-connect; - }; - qcom,pipe7 { - label = "hsic-ipa-out-0"; - qcom,usb-bam-mem-type = <2>; - qcom,bam-type = <2>; - qcom,dir = <0>; - qcom,pipe-num = <0>; - qcom,peer-bam = <2>; - qcom,src-bam-physical-address = <0xf9a04000>; - qcom,src-bam-pipe-index = <7>; - qcom,data-fifo-size = <0xDFE>; - qcom,descriptor-fifo-size = <0xB30>; - qcom,reset-bam-on-connect; - }; - - qcom,pipe8 { - label = "hsusb-ipa-out-1"; - qcom,usb-bam-mem-type = <2>; - qcom,bam-type = <1>; - qcom,dir = <0>; - qcom,pipe-num = <1>; - qcom,peer-bam = <2>; - qcom,src-bam-physical-address = <0xf9a44000>; - qcom,src-bam-pipe-index = <5>; - qcom,data-fifo-size = <0x8000>; - qcom,descriptor-fifo-size = <0x2000>; - qcom,reset-bam-on-connect; - }; - - qcom,pipe9 { - label = "hsusb-ipa-in-1"; - qcom,usb-bam-mem-type = <2>; - qcom,bam-type = <1>; - qcom,dir = <1>; - qcom,pipe-num = <1>; - qcom,peer-bam = <2>; - qcom,dst-bam-physical-address = <0xf9a44000>; - qcom,dst-bam-pipe-index = <4>; - qcom,data-fifo-size = <0x8000>; - qcom,descriptor-fifo-size = <0x2000>; - qcom,reset-bam-on-connect; - }; - - qcom,pipe10 { - label = "hsusb-ipa-out-2"; - qcom,usb-bam-mem-type = <2>; - qcom,bam-type = <1>; - qcom,dir = <0>; - qcom,pipe-num = <2>; - qcom,peer-bam = <2>; - qcom,src-bam-physical-address = <0xf9a44000>; - qcom,src-bam-pipe-index = <7>; - qcom,data-fifo-size = <0x8000>; - qcom,descriptor-fifo-size = <0x2000>; - qcom,reset-bam-on-connect; - }; - - qcom,pipe11 { - label = "hsusb-ipa-in-2"; - qcom,usb-bam-mem-type = <2>; - qcom,bam-type = <1>; - qcom,dir = <1>; - qcom,pipe-num = <2>; - qcom,peer-bam = <2>; - qcom,dst-bam-physical-address = <0xf9a44000>; - qcom,dst-bam-pipe-index = <6>; - qcom,data-fifo-size = <0x8000>; - qcom,descriptor-fifo-size = <0x2000>; - qcom,reset-bam-on-connect; - }; - - qcom,pipe12 { - label = "hsusb-ipa-out-3"; - qcom,usb-bam-mem-type = <2>; - qcom,bam-type = <1>; - qcom,dir = <0>; - qcom,pipe-num = <3>; - qcom,peer-bam = <2>; - qcom,src-bam-physical-address = <0xf9a44000>; - qcom,src-bam-pipe-index = <8>; - qcom,data-fifo-size = <0x8000>; - qcom,descriptor-fifo-size = <0x2000>; - qcom,reset-bam-on-connect; - }; - - qcom,pipe13 { - label = "hsusb-ipa-in-3"; - qcom,usb-bam-mem-type = <2>; - qcom,bam-type = <1>; - qcom,dir = <1>; - qcom,pipe-num = <3>; - qcom,peer-bam = <2>; - qcom,dst-bam-physical-address = <0xf9a44000>; - qcom,dst-bam-pipe-index = <9>; - qcom,data-fifo-size = <0x8000>; - qcom,descriptor-fifo-size = <0x2000>; - qcom,reset-bam-on-connect; - }; - }; - - qcom,nand@f9ac0000 { - compatible = "qcom,msm-nand"; - reg = <0xf9ac0000 0x1000>, - <0xf9ac4000 0x8000>; - reg-names = "nand_phys", - "bam_phys"; - interrupts = <0 247 0>; - interrupt-names = "bam_irq"; - }; - - spi_0: spi@f9924000 { - compatible = "qcom,spi-qup-v2"; - reg = <0xf9924000 0x1000>; - interrupts = <0 96 0>; - spi-max-frequency = <25000000>; - #address-cells = <1>; - #size-cells = <0>; - gpios = <&msmgpio 7 0>, /* CLK */ - <&msmgpio 5 0>, /* MISO */ - <&msmgpio 4 0>; /* MOSI */ - - cs-gpios = <&msmgpio 6 0>; - - qcom-spi-oled@1 { - compatible = "tplink,oleds90319"; - reg = <1>; - spi-max-frequency = <9600000>; - }; - - }; - - oled { - compatible = "tp,oled_pt"; - qcom,oled_s90319 { - compatible = "qcom,oled_s90319_pt"; - qcom,oled-cs-gpio = <&msmgpio 6 0>; /* refer to board-9625-gpiomux.c */ - qcom,oled-rsx-gpio = <&msmgpio 21 0>; - qcom,oled-reset-gpio = <&msmgpio 20 0>; - qcom,oled-vdd0-gpio = <&msmgpio 22 0>; - qcom,oled-vdd1-gpio = <&msmgpio 23 0>; - qcom,oled-boost-en-gpio = <&msmgpio 61 0>; - }; - }; - - - qcom,wdt@f9017000 { - compatible = "qcom,msm-watchdog"; - reg = <0xf9017000 0x1000>; - interrupts = <1 2 0>, <1 1 0>; - qcom,bark-time = <11000>; - qcom,pet-time = <10000>; - }; - - rpm_bus: qcom,rpm-smd { - compatible = "qcom,rpm-smd"; - rpm-channel-name = "rpm_requests"; - rpm-channel-type = <15>; /* SMD_APPS_RPM */ - }; - - spmi_bus: qcom,spmi@fc4c0000 { - cell-index = <0>; - 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-ee = <0>; - qcom,pmic-arb-channel = <0>; - }; - - sdcc2: qcom,sdcc@f98a4000 { - cell-index = <2>; /* SDC2 SD card slot */ - compatible = "qcom,msm-sdcc"; - reg = <0xf98a4000 0x800>, - <0xf98a4800 0x100>, - <0xf9884000 0x7000>; - reg-names = "core_mem", "dml_mem", "bam_mem"; - - vdd-supply = <&ext_2p95v>; - - vdd-io-supply = <&pm8019_l13>; - qcom,vdd-io-always-on; - qcom,vdd-io-lpm-sup; - qcom,vdd-io-voltage-level = <1800000 2950000>; - qcom,vdd-io-current-level = <6 22000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; - qcom,pad-pull-off = <0x0 0x3 0x3>; - qcom,pad-drv-on = <0x4 0x4 0x4>; - qcom,pad-drv-off = <0x0 0x0 0x0>; - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - qcom,sup-voltages = <2950 2950>; - qcom,bus-width = <4>; - qcom,xpc; - qcom,bus-speed-mode = "SDR12", "SDR25", "SDR50", "DDR50", "SDR104"; - qcom,current-limit = <800>; - - interrupt-parent = <&sdcc2>; - #address-cells = <0>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 125 0 - 1 &intc 0 220 0 - 2 &msmgpio 66 0x3>; - interrupt-names = "core_irq", "bam_irq", "status_irq"; - }; - - ipa_hw: qcom,ipa@fd4c0000 { - compatible = "qcom,ipa"; - reg = <0xfd4c0000 0x26000>, - <0xfd4c4000 0x14818>, - <0xfc834000 0x7000>; - reg-names = "ipa-base", "bam-base", "a2-bam-base"; - interrupts = <0 252 0>, - <0 253 0>, - <0 29 1>; - interrupt-names = "ipa-irq", "bam-irq", "a2-bam-irq"; - - qcom,pipe1 { - label = "a2-to-ipa"; - qcom,src-bam-physical-address = <0xfc834000>; - qcom,ipa-bam-mem-type = <0>; - qcom,src-bam-pipe-index = <1>; - qcom,dst-bam-physical-address = <0xfd4c0000>; - qcom,dst-bam-pipe-index = <6>; - qcom,data-fifo-offset = <0x1000>; - qcom,data-fifo-size = <0xd00>; - qcom,descriptor-fifo-offset = <0x1d00>; - qcom,descriptor-fifo-size = <0x300>; - }; - - qcom,pipe2 { - label = "ipa-to-a2"; - qcom,src-bam-physical-address = <0xfd4c0000>; - qcom,ipa-bam-mem-type = <0>; - qcom,src-bam-pipe-index = <7>; - qcom,dst-bam-physical-address = <0xfc834000>; - qcom,dst-bam-pipe-index = <0>; - qcom,data-fifo-offset = <0x00>; - qcom,data-fifo-size = <0xd00>; - qcom,descriptor-fifo-offset = <0xd00>; - qcom,descriptor-fifo-size = <0x300>; - }; - }; - - qcom,acpuclk@f9010000 { - compatible = "qcom,acpuclk-9625"; - reg = <0xf9010008 0x10>, - <0xf9008004 0x4>; - reg-names = "rcg_base", "pwr_base"; - a5_cpu-supply = <&pm8019_l10_corner_ao>; - a5_mem-supply = <&pm8019_l12_ao>; - }; - - gdsc_usb_hsic: qcom,gdsc@fc400404 { - compatible = "qcom,gdsc"; - reg = <0xfc400404 0x4>; - regulator-name = "gdsc_usb_hsic"; - }; - - tsens@fc4a8000 { - compatible = "qcom,msm-tsens"; - reg = <0xfc4a8000 0x2000>, - <0xfc4b8000 0x1000>; - reg-names = "tsens_physical", "tsens_eeprom_physical"; - interrupts = <0 184 0>; - qcom,sensors = <5>; - qcom,slope = <3200 3200 3200 3200 3200>; - qcom,calib-mode = "fuse_map1"; - }; - - qcom,msm-thermal { - compatible = "qcom,msm-thermal"; - qcom,sensor-id = <0>; - qcom,poll-ms = <250>; - qcom,limit-temp = <60>; - qcom,temp-hysteresis = <10>; - qcom,freq-step = <2>; - qcom,freq-control-mask = <0x0>; - qcom,vdd-restriction-temp = <5>; - qcom,vdd-restriction-temp-hysteresis = <10>; - vdd-dig-supply = <&pm8019_l10_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,msm-rng@f9bff000 { - compatible = "qcom,msm-rng"; - reg = <0xf9bff000 0x200>; - qcom,msm-rng-iface-clk; - }; - - i2c@f9925000 { - cell-index = <3>; - compatible = "qcom,i2c-qup"; - reg = <0xf9925000 0x1000>; - #address-cells = <1>; - #size-cells = <0>; - reg-names = "qup_phys_addr"; - interrupts = <0 97 0>; - interrupt-names = "qup_err_intr"; - qcom,i2c-bus-freq = <400000>; - qcom,i2c-src-freq = <19200000>; - }; - - qcom,mss { - compatible = "qcom,pil-q6v5-mss"; - interrupts = <0 24 1>; - qcom,is-not-loadable; - - /* 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>; - }; - - qcom,smem@0 { - compatible = "qcom,smem"; - reg = <0x0 0x100000>, - <0xf9011000 0x1000>, - <0xfc428000 0x4000>; - reg-names = "smem", "irq-reg-base", "aux-mem1"; - - qcom,smd-modem { - compatible = "qcom,smd"; - qcom,smd-edge = <0>; - qcom,smd-irq-offset = <0x8>; - qcom,smd-irq-bitmask = <0x1000>; - qcom,pil-string = "modem"; - interrupts = <0 25 1>; - }; - - qcom,smsm-modem { - compatible = "qcom,smsm"; - qcom,smsm-edge = <0>; - qcom,smsm-irq-offset = <0x8>; - qcom,smsm-irq-bitmask = <0x2000>; - interrupts = <0 26 1>; - }; - - qcom,smd-adsp { - compatible = "qcom,smd"; - qcom,smd-edge = <1>; - qcom,smd-irq-offset = <0x8>; - qcom,smd-irq-bitmask = <0x100>; - qcom,pil-string = "adsp"; - interrupts = <0 156 1>; - }; - - qcom,smsm-adsp { - compatible = "qcom,smsm"; - qcom,smsm-edge = <1>; - qcom,smsm-irq-offset = <0x8>; - qcom,smsm-irq-bitmask = <0x200>; - interrupts = <0 157 1>; - }; - - qcom,smd-rpm { - compatible = "qcom,smd"; - qcom,smd-edge = <15>; - qcom,smd-irq-offset = <0x8>; - qcom,smd-irq-bitmask = <0x1>; - interrupts = <0 168 1>; - qcom,irq-no-suspend; - }; - }; - - qcom,qcedev@fd400000 { - compatible = "qcom,qcedev"; - reg = <0xfd400000 0x20000>, - <0xfd404000 0x8000>; - reg-names = "crypto-base","crypto-bam-base"; - interrupts = <0 207 0>; - qcom,bam-pipe-pair = <1>; - }; - - qcom,qcrypto@fd440000 { - compatible = "qcom,qcrypto"; - reg = <0xfd400000 0x20000>, - <0xfd404000 0x8000>; - reg-names = "crypto-base","crypto-bam-base"; - interrupts = <0 207 0>; - qcom,bam-pipe-pair = <2>; - }; - - jtag_mm: jtagmm@fc332000 { - compatible = "qcom,jtag-mm"; - reg = <0xfc332000 0x1000>, - <0xfc330000 0x1000>; - reg-names = "etm-base","debug-base"; - }; - - qcom,msm-rtb { - compatible = "qcom,msm-rtb"; - qcom,memory-reservation-type = "EBI1"; - qcom,memory-reservation-size = <0x1000>; /* 4K EBI1 buffer */ - }; - - qcom,msm-mem-hole { - compatible = "qcom,msm-mem-hole"; - qcom,memblock-remove = <0x1c00000 0x4800000>; /* Address and Size of Hole */ - }; - - sfpb_spinlock: qcom,ipc-spinlock@fd484000 { - compatible = "qcom,ipc-spinlock-sfpb"; - reg = <0xfd484000 0x400>; - qcom,num-locks = <8>; - }; - - ldrex_spinlock: qcom,ipc-spinlock@fa00000 { - compatible = "qcom,ipc-spinlock-ldrex"; - reg = <0xfa00000 0x200000>; - status = "disable"; - }; - - cpu-pmu { - compatible = "arm,cortex-a5-pmu"; - qcom,irq-is-percpu; - interrupts = <1 7 0x00>; - }; - - l2-pmu { - compatible = "qcom,l2-pmu"; - interrupts = <0 1 0>; - }; - - /* [houjihai start] gpio keys */ - gpio-keys { - compatible = "gpio-keys"; - autorepeat; - input-name = "gpio-keys"; - key-up { - label = "WPS"; - linux,code = <103>; - gpios = <&msmgpio 14 1>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - key-back { - label = "RESET"; - linux,code = <158>; - gpios = <&msmgpio 15 1>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - }; - /* [houjihai end] */ - -}; - -/include/ "msm-pm8019-rpm-regulator.dtsi" -/include/ "msm-pm8019.dtsi" -/include/ "msm9625-regulator.dtsi" - -&pm8019_vadc { - chan@31 { - label = "batt_id_therm"; - reg = <0x31>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - /* [linyunfeng] Detect battery voltage */ - chan@11 { - label = "vbat"; - reg = <0x11>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@33 { - label = "pa_therm0"; - reg = <0x33>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@34 { - label = "pa_therm1"; - reg = <0x34>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@32 { - label = "xo_therm"; - reg = <0x32>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <4>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@3c { - label = "xo_therm_amux"; - reg = <0x3c>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <4>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@13 { - label = "case_therm"; - reg = <0x13>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@15 { - label = "ambient_therm"; - reg = <0x15>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; -}; - -&pm8019_adc_tm { - /* Channel Node */ - chan@33 { - label = "pa_therm0"; - reg = <0x33>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - qcom,btm-channel-number = <0x48>; - qcom,thermal-node; - }; - - chan@34 { - label = "pa_therm1"; - reg = <0x34>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - qcom,btm-channel-number = <0x68>; - qcom,thermal-node; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/msmkrypton-sim.dts b/kernel/arch/arm/boot/dts/m7350-un-v3/msmkrypton-sim.dts deleted file mode 100644 index 1872a36b9..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/msmkrypton-sim.dts +++ /dev/null @@ -1,25 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; - -/include/ "msmkrypton.dtsi" - -/ { - model = "Qualcomm MSM KRYPTON SIM"; - compatible = "qcom,msmkrypton-sim", "qcom,msmkrypton", "qcom,sim"; - qcom,msm-id = <187 16 0>; -}; - -&uartdm3{ - status = "ok"; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/msmkrypton.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v3/msmkrypton.dtsi deleted file mode 100644 index 4b032d86d..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/msmkrypton.dtsi +++ /dev/null @@ -1,120 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/include/ "skeleton.dtsi" - -/ { - model = "Qualcomm MSM KRYPTON"; - compatible = "qcom,msmkrypton"; - interrupt-parent = <&intc>; - - soc: soc { }; -}; - -&soc { - #address-cells = <1>; - #size-cells = <1>; - ranges; - - intc: interrupt-controller@f9000000 { - compatible = "qcom,msm-qgic2"; - interrupt-controller; - #interrupt-cells = <3>; - reg = <0xf9000000 0x1000>, - <0xf9002000 0x1000>; - }; - - msmgpio: gpio@fd510000 { - compatible = "qcom,msm-gpio"; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - reg = <0xfd510000 0x4000>; - ngpio = <89>; - interrupts = <0 208 0>; - qcom,direct-connect-irqs = <8>; - }; - - 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 7 0x4>, - <0 6 0x4>; - reg = <0xf9021000 0x1000>, - <0xf9022000 0x1000>; - }; - - frame@f9023000 { - frame-number = <1>; - interrupts = <0 8 0x4>; - reg = <0xf9023000 0x1000>; - status = "disabled"; - }; - - frame@f9024000 { - frame-number = <2>; - interrupts = <0 9 0x4>; - reg = <0xf9024000 0x1000>; - status = "disabled"; - }; - - frame@f9025000 { - frame-number = <3>; - interrupts = <0 10 0x4>; - reg = <0xf9025000 0x1000>; - status = "disabled"; - }; - - frame@f9026000 { - frame-number = <4>; - interrupts = <0 11 0x4>; - reg = <0xf9026000 0x1000>; - status = "disabled"; - }; - - frame@f9027000 { - frame-number = <5>; - interrupts = <0 12 0x4>; - reg = <0xf9027000 0x1000>; - status = "disabled"; - }; - - frame@f9028000 { - frame-number = <6>; - interrupts = <0 13 0x4>; - reg = <0xf9028000 0x1000>; - status = "disabled"; - }; - - frame@f9029000 { - frame-number = <7>; - interrupts = <0 14 0x4>; - reg = <0xf9029000 0x1000>; - status = "disabled"; - }; - }; - - uartdm3: serial@f991f000 { - compatible = "qcom,msm-lsuart-v14"; - reg = <0xf991f000 0x1000>; - interrupts = <0 109 0>; - status = "disabled"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/msmsamarium-ion.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v3/msmsamarium-ion.dtsi deleted file mode 100644 index ea954b89c..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/msmsamarium-ion.dtsi +++ /dev/null @@ -1,31 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -&soc { - qcom,ion { - compatible = "qcom,msm-ion"; - #address-cells = <1>; - #size-cells = <0>; - - qcom,ion-heap@30 { /* SYSTEM HEAP */ - reg = <30>; - }; - - qcom,ion-heap@21 { /* SYSTEM CONTIG HEAP */ - reg = <21>; - }; - - qcom,ion-heap@25 { /* IOMMU HEAP */ - reg = <25>; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/msmsamarium-rumi.dts b/kernel/arch/arm/boot/dts/m7350-un-v3/msmsamarium-rumi.dts deleted file mode 100644 index 9a679a4fd..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/msmsamarium-rumi.dts +++ /dev/null @@ -1,25 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; - -/include/ "msmsamarium.dtsi" - -/ { - model = "Qualcomm MSM SAMARIUM RUMI"; - compatible = "qcom,msmsamarium-rumi", "qcom,msmsamarium", "qcom,rumi"; - qcom,msm-id = <195 0 0>; -}; - -&uartblsp0dm2{ - status = "ok"; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/msmsamarium-sim.dts b/kernel/arch/arm/boot/dts/m7350-un-v3/msmsamarium-sim.dts deleted file mode 100644 index 4acffae18..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/msmsamarium-sim.dts +++ /dev/null @@ -1,55 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; - -/include/ "msmsamarium.dtsi" - -/ { - model = "Qualcomm MSM SAMARIUM SIM"; - compatible = "qcom,msmsamarium-sim", "qcom,msmsamarium", "qcom,sim"; - qcom,msm-id = <195 0 0>; -}; - -&uartblsp0dm2{ - status = "ok"; -}; - -&sdcc1 { - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - qcom,sup-voltages = <2950 2950>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,bus-speed-mode = "HS200_1p8v", "DDR_1p8v"; - qcom,nonremovable; - status = "ok"; -}; - -&sdcc2 { - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - qcom,sup-voltages = <2950 2950>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,xpc; - qcom,bus-speed-mode = "SDR12", "SDR25", "SDR50", "DDR50", "SDR104"; - qcom,current-limit = <800>; - - status = "ok"; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/msmsamarium.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v3/msmsamarium.dtsi deleted file mode 100644 index 81699b689..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/msmsamarium.dtsi +++ /dev/null @@ -1,90 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/include/ "skeleton.dtsi" - -/ { - model = "Qualcomm MSM SAMARIUM"; - compatible = "qcom,msmsamarium"; - interrupt-parent = <&intc>; - soc: soc { }; -}; - -/include/ "msmsamarium-ion.dtsi" - -&soc { - #address-cells = <1>; - #size-cells = <1>; - ranges; - - intc: interrupt-controller@f9000000 { - compatible = "qcom,msm-qgic2"; - interrupt-controller; - #interrupt-cells = <3>; - reg = <0xf9000000 0x1000>, - <0xf9002000 0x1000>; - }; - - msmgpio: gpio@fd510000 { - compatible = "qcom,msm-gpio"; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - reg = <0xfd510000 0x4000>; - ngpio = <145>; - interrupts = <0 208 0>; - qcom,direct-connect-irqs = <8>; - }; - - timer { - compatible = "arm,armv7-timer"; - interrupts = <1 2 0 1 3 0>; - clock-frequency = <19200000>; - }; - - uartblsp0dm2: serial@f991f000 { - compatible = "qcom,msm-lsuart-v14"; - reg = <0xf991f000 0x1000>; - interrupts = <0 109 0>; - status = "disabled"; - }; - - qcom,msm-imem@fe805000 { - compatible = "qcom,msm-imem"; - reg = <0xfe805000 0x1000>; /* Address and size of IMEM */ - }; - - sdcc1: qcom,sdcc@f9824000 { - cell-index = <1>; /* SDC1 eMMC slot */ - compatible = "qcom,msm-sdcc"; - reg = <0xf9824000 0x800>; - reg-names = "core_mem"; - interrupts = <0 123 0>; - interrupt-names = "core_irq"; - - qcom,bus-width = <8>; - status = "disabled"; - }; - - sdcc2: qcom,sdcc@f98a4000 { - cell-index = <2>; /* SDC2 SD card slot */ - compatible = "qcom,msm-sdcc"; - reg = <0xf98a4000 0x800>; - reg-names = "core_mem"; - interrupts = <0 125 0>; - interrupt-names = "core_irq"; - - qcom,bus-width = <4>; - status = "disabled"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/omap2.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v3/omap2.dtsi deleted file mode 100644 index f2ab4ea7c..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/omap2.dtsi +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Device Tree Source for OMAP2 SoC - * - * Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/ - * - * This file is licensed under the terms of the GNU General Public License - * version 2. This program is licensed "as is" without any warranty of any - * kind, whether express or implied. - */ - -/include/ "skeleton.dtsi" - -/ { - compatible = "ti,omap2430", "ti,omap2420", "ti,omap2"; - - aliases { - serial0 = &uart1; - serial1 = &uart2; - serial2 = &uart3; - }; - - cpus { - cpu@0 { - compatible = "arm,arm1136jf-s"; - }; - }; - - soc { - compatible = "ti,omap-infra"; - mpu { - compatible = "ti,omap2-mpu"; - ti,hwmods = "mpu"; - }; - }; - - ocp { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - ti,hwmods = "l3_main"; - - intc: interrupt-controller@1 { - compatible = "ti,omap2-intc"; - interrupt-controller; - #interrupt-cells = <1>; - }; - - uart1: serial@4806a000 { - compatible = "ti,omap2-uart"; - ti,hwmods = "uart1"; - clock-frequency = <48000000>; - }; - - uart2: serial@4806c000 { - compatible = "ti,omap2-uart"; - ti,hwmods = "uart2"; - clock-frequency = <48000000>; - }; - - uart3: serial@4806e000 { - compatible = "ti,omap2-uart"; - ti,hwmods = "uart3"; - clock-frequency = <48000000>; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/omap3-beagle.dts b/kernel/arch/arm/boot/dts/m7350-un-v3/omap3-beagle.dts deleted file mode 100644 index 9f72cd4cf..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/omap3-beagle.dts +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/ - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. - */ -/dts-v1/; - -/include/ "omap3.dtsi" - -/ { - model = "TI OMAP3 BeagleBoard"; - compatible = "ti,omap3-beagle", "ti,omap3"; - - memory { - device_type = "memory"; - reg = <0x80000000 0x20000000>; /* 512 MB */ - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/omap3-evm.dts b/kernel/arch/arm/boot/dts/m7350-un-v3/omap3-evm.dts deleted file mode 100644 index 2eee16ec5..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/omap3-evm.dts +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/ - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. - */ -/dts-v1/; - -/include/ "omap3.dtsi" - -/ { - model = "TI OMAP3 EVM (OMAP3530, AM/DM37x)"; - compatible = "ti,omap3-evm", "ti,omap3"; - - memory { - device_type = "memory"; - reg = <0x80000000 0x10000000>; /* 256 MB */ - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/omap3.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v3/omap3.dtsi deleted file mode 100644 index c6121357c..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/omap3.dtsi +++ /dev/null @@ -1,117 +0,0 @@ -/* - * Device Tree Source for OMAP3 SoC - * - * Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/ - * - * This file is licensed under the terms of the GNU General Public License - * version 2. This program is licensed "as is" without any warranty of any - * kind, whether express or implied. - */ - -/include/ "skeleton.dtsi" - -/ { - compatible = "ti,omap3430", "ti,omap3"; - - aliases { - serial0 = &uart1; - serial1 = &uart2; - serial2 = &uart3; - serial3 = &uart4; - }; - - cpus { - cpu@0 { - compatible = "arm,cortex-a8"; - }; - }; - - /* - * The soc node represents the soc top level view. It is uses for IPs - * that are not memory mapped in the MPU view or for the MPU itself. - */ - soc { - compatible = "ti,omap-infra"; - mpu { - compatible = "ti,omap3-mpu"; - ti,hwmods = "mpu"; - }; - - iva { - compatible = "ti,iva2.2"; - ti,hwmods = "iva"; - - dsp { - compatible = "ti,omap3-c64"; - }; - }; - }; - - /* - * XXX: Use a flat representation of the OMAP3 interconnect. - * The real OMAP interconnect network is quite complex. - * Since that will not bring real advantage to represent that in DT for - * the moment, just use a fake OCP bus entry to represent the whole bus - * hierarchy. - */ - ocp { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - ti,hwmods = "l3_main"; - - intc: interrupt-controller@48200000 { - compatible = "ti,omap2-intc"; - interrupt-controller; - #interrupt-cells = <1>; - ti,intc-size = <96>; - reg = <0x48200000 0x1000>; - }; - - uart1: serial@4806a000 { - compatible = "ti,omap3-uart"; - ti,hwmods = "uart1"; - clock-frequency = <48000000>; - }; - - uart2: serial@4806c000 { - compatible = "ti,omap3-uart"; - ti,hwmods = "uart2"; - clock-frequency = <48000000>; - }; - - uart3: serial@49020000 { - compatible = "ti,omap3-uart"; - ti,hwmods = "uart3"; - clock-frequency = <48000000>; - }; - - uart4: serial@49042000 { - compatible = "ti,omap3-uart"; - ti,hwmods = "uart4"; - clock-frequency = <48000000>; - }; - - i2c1: i2c@48070000 { - compatible = "ti,omap3-i2c"; - #address-cells = <1>; - #size-cells = <0>; - ti,hwmods = "i2c1"; - }; - - i2c2: i2c@48072000 { - compatible = "ti,omap3-i2c"; - #address-cells = <1>; - #size-cells = <0>; - ti,hwmods = "i2c2"; - }; - - i2c3: i2c@48060000 { - compatible = "ti,omap3-i2c"; - #address-cells = <1>; - #size-cells = <0>; - ti,hwmods = "i2c3"; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/omap4-panda.dts b/kernel/arch/arm/boot/dts/m7350-un-v3/omap4-panda.dts deleted file mode 100644 index 9755ad591..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/omap4-panda.dts +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/ - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. - */ -/dts-v1/; - -/include/ "omap4.dtsi" - -/ { - model = "TI OMAP4 PandaBoard"; - compatible = "ti,omap4-panda", "ti,omap4430", "ti,omap4"; - - memory { - device_type = "memory"; - reg = <0x80000000 0x40000000>; /* 1 GB */ - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/omap4-sdp.dts b/kernel/arch/arm/boot/dts/m7350-un-v3/omap4-sdp.dts deleted file mode 100644 index 63c6b2b2b..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/omap4-sdp.dts +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/ - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. - */ -/dts-v1/; - -/include/ "omap4.dtsi" - -/ { - model = "TI OMAP4 SDP board"; - compatible = "ti,omap4-sdp", "ti,omap4430", "ti,omap4"; - - memory { - device_type = "memory"; - reg = <0x80000000 0x40000000>; /* 1 GB */ - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/omap4.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v3/omap4.dtsi deleted file mode 100644 index 3d35559e7..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/omap4.dtsi +++ /dev/null @@ -1,159 +0,0 @@ -/* - * Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/ - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. - */ - -/* - * Carveout for multimedia usecases - * It should be the last 48MB of the first 512MB memory part - * In theory, it should not even exist. That zone should be reserved - * dynamically during the .reserve callback. - */ -/memreserve/ 0x9d000000 0x03000000; - -/include/ "skeleton.dtsi" - -/ { - compatible = "ti,omap4430", "ti,omap4"; - interrupt-parent = <&gic>; - - aliases { - serial0 = &uart1; - serial1 = &uart2; - serial2 = &uart3; - serial3 = &uart4; - }; - - cpus { - cpu@0 { - compatible = "arm,cortex-a9"; - }; - cpu@1 { - compatible = "arm,cortex-a9"; - }; - }; - - /* - * The soc node represents the soc top level view. It is uses for IPs - * that are not memory mapped in the MPU view or for the MPU itself. - */ - soc { - compatible = "ti,omap-infra"; - mpu { - compatible = "ti,omap4-mpu"; - ti,hwmods = "mpu"; - }; - - dsp { - compatible = "ti,omap3-c64"; - ti,hwmods = "dsp"; - }; - - iva { - compatible = "ti,ivahd"; - ti,hwmods = "iva"; - }; - }; - - /* - * XXX: Use a flat representation of the OMAP4 interconnect. - * The real OMAP interconnect network is quite complex. - * - * MPU -+-- MPU_PRIVATE - GIC, L2 - * | - * +----------------+----------+ - * | | | - * + +- EMIF - DDR | - * | | | - * | + +--------+ - * | | | - * | +- L4_ABE - AESS, MCBSP, TIMERs... - * | | - * +- L3_MAIN --+- L4_CORE - IPs... - * | - * +- L4_PER - IPs... - * | - * +- L4_CFG -+- L4_WKUP - IPs... - * | | - * | +- IPs... - * +- IPU ----+ - * | | - * +- DSP ----+ - * | | - * +- DSS ----+ - * - * Since that will not bring real advantage to represent that in DT for - * the moment, just use a fake OCP bus entry to represent the whole bus - * hierarchy. - */ - ocp { - compatible = "ti,omap4-l3-noc", "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - ti,hwmods = "l3_main_1", "l3_main_2", "l3_main_3"; - - gic: interrupt-controller@48241000 { - compatible = "arm,cortex-a9-gic"; - interrupt-controller; - #interrupt-cells = <3>; - reg = <0x48241000 0x1000>, - <0x48240100 0x0100>; - }; - - uart1: serial@4806a000 { - compatible = "ti,omap4-uart"; - ti,hwmods = "uart1"; - clock-frequency = <48000000>; - }; - - uart2: serial@4806c000 { - compatible = "ti,omap4-uart"; - ti,hwmods = "uart2"; - clock-frequency = <48000000>; - }; - - uart3: serial@48020000 { - compatible = "ti,omap4-uart"; - ti,hwmods = "uart3"; - clock-frequency = <48000000>; - }; - - uart4: serial@4806e000 { - compatible = "ti,omap4-uart"; - ti,hwmods = "uart4"; - clock-frequency = <48000000>; - }; - - i2c1: i2c@48070000 { - compatible = "ti,omap4-i2c"; - #address-cells = <1>; - #size-cells = <0>; - ti,hwmods = "i2c1"; - }; - - i2c2: i2c@48072000 { - compatible = "ti,omap4-i2c"; - #address-cells = <1>; - #size-cells = <0>; - ti,hwmods = "i2c2"; - }; - - i2c3: i2c@48060000 { - compatible = "ti,omap4-i2c"; - #address-cells = <1>; - #size-cells = <0>; - ti,hwmods = "i2c3"; - }; - - i2c4: i2c@48350000 { - compatible = "ti,omap4-i2c"; - #address-cells = <1>; - #size-cells = <0>; - ti,hwmods = "i2c4"; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/picoxcell-pc3x2.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v3/picoxcell-pc3x2.dtsi deleted file mode 100644 index f0a8c2068..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/picoxcell-pc3x2.dtsi +++ /dev/null @@ -1,249 +0,0 @@ -/* - * Copyright (C) 2011 Picochip, Jamie Iles - * - * This software is licensed under the terms of the GNU General Public - * License version 2, as published by the Free Software Foundation, and - * may be copied, distributed, and modified under those terms. - * - * 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. - */ -/include/ "skeleton.dtsi" -/ { - model = "Picochip picoXcell PC3X2"; - compatible = "picochip,pc3x2"; - #address-cells = <1>; - #size-cells = <1>; - - cpus { - #address-cells = <1>; - #size-cells = <0>; - - cpu@0 { - compatible = "arm,1176jz-s"; - clock-frequency = <400000000>; - reg = <0>; - d-cache-line-size = <32>; - d-cache-size = <32768>; - i-cache-line-size = <32>; - i-cache-size = <32768>; - }; - }; - - clocks { - #address-cells = <1>; - #size-cells = <1>; - ranges; - - pclk: clock@0 { - compatible = "fixed-clock"; - clock-outputs = "bus", "pclk"; - clock-frequency = <200000000>; - ref-clock = <&ref_clk>, "ref"; - }; - }; - - paxi { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0 0x80000000 0x400000>; - - emac: gem@30000 { - compatible = "cadence,gem"; - reg = <0x30000 0x10000>; - interrupts = <31>; - }; - - dmac1: dmac@40000 { - compatible = "snps,dw-dmac"; - reg = <0x40000 0x10000>; - interrupts = <25>; - }; - - dmac2: dmac@50000 { - compatible = "snps,dw-dmac"; - reg = <0x50000 0x10000>; - interrupts = <26>; - }; - - vic0: interrupt-controller@60000 { - compatible = "arm,pl192-vic"; - interrupt-controller; - reg = <0x60000 0x1000>; - #interrupt-cells = <1>; - }; - - vic1: interrupt-controller@64000 { - compatible = "arm,pl192-vic"; - interrupt-controller; - reg = <0x64000 0x1000>; - #interrupt-cells = <1>; - }; - - fuse: picoxcell-fuse@80000 { - compatible = "picoxcell,fuse-pc3x2"; - reg = <0x80000 0x10000>; - }; - - ssi: picoxcell-spi@90000 { - compatible = "picoxcell,spi"; - reg = <0x90000 0x10000>; - interrupt-parent = <&vic0>; - interrupts = <10>; - }; - - ipsec: spacc@100000 { - compatible = "picochip,spacc-ipsec"; - reg = <0x100000 0x10000>; - interrupt-parent = <&vic0>; - interrupts = <24>; - ref-clock = <&pclk>, "ref"; - }; - - srtp: spacc@140000 { - compatible = "picochip,spacc-srtp"; - reg = <0x140000 0x10000>; - interrupt-parent = <&vic0>; - interrupts = <23>; - }; - - l2_engine: spacc@180000 { - compatible = "picochip,spacc-l2"; - reg = <0x180000 0x10000>; - interrupt-parent = <&vic0>; - interrupts = <22>; - ref-clock = <&pclk>, "ref"; - }; - - apb { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0 0x200000 0x80000>; - - rtc0: rtc@00000 { - compatible = "picochip,pc3x2-rtc"; - clock-freq = <200000000>; - reg = <0x00000 0xf>; - interrupt-parent = <&vic1>; - interrupts = <8>; - }; - - timer0: timer@10000 { - compatible = "picochip,pc3x2-timer"; - interrupt-parent = <&vic0>; - interrupts = <4>; - clock-freq = <200000000>; - reg = <0x10000 0x14>; - }; - - timer1: timer@10014 { - compatible = "picochip,pc3x2-timer"; - interrupt-parent = <&vic0>; - interrupts = <5>; - clock-freq = <200000000>; - reg = <0x10014 0x14>; - }; - - timer2: timer@10028 { - compatible = "picochip,pc3x2-timer"; - interrupt-parent = <&vic0>; - interrupts = <6>; - clock-freq = <200000000>; - reg = <0x10028 0x14>; - }; - - timer3: timer@1003c { - compatible = "picochip,pc3x2-timer"; - interrupt-parent = <&vic0>; - interrupts = <7>; - clock-freq = <200000000>; - reg = <0x1003c 0x14>; - }; - - gpio: gpio@20000 { - compatible = "snps,dw-apb-gpio"; - reg = <0x20000 0x1000>; - #address-cells = <1>; - #size-cells = <0>; - reg-io-width = <4>; - - banka: gpio-controller@0 { - compatible = "snps,dw-apb-gpio-bank"; - gpio-controller; - #gpio-cells = <2>; - gpio-generic,nr-gpio = <8>; - - regoffset-dat = <0x50>; - regoffset-set = <0x00>; - regoffset-dirout = <0x04>; - }; - - bankb: gpio-controller@1 { - compatible = "snps,dw-apb-gpio-bank"; - gpio-controller; - #gpio-cells = <2>; - gpio-generic,nr-gpio = <8>; - - regoffset-dat = <0x54>; - regoffset-set = <0x0c>; - regoffset-dirout = <0x10>; - }; - }; - - uart0: uart@30000 { - compatible = "snps,dw-apb-uart"; - reg = <0x30000 0x1000>; - interrupt-parent = <&vic1>; - interrupts = <10>; - clock-frequency = <3686400>; - reg-shift = <2>; - reg-io-width = <4>; - }; - - uart1: uart@40000 { - compatible = "snps,dw-apb-uart"; - reg = <0x40000 0x1000>; - interrupt-parent = <&vic1>; - interrupts = <9>; - clock-frequency = <3686400>; - reg-shift = <2>; - reg-io-width = <4>; - }; - - wdog: watchdog@50000 { - compatible = "snps,dw-apb-wdg"; - reg = <0x50000 0x10000>; - interrupt-parent = <&vic0>; - interrupts = <11>; - bus-clock = <&pclk>, "bus"; - }; - }; - }; - - rwid-axi { - #address-cells = <1>; - #size-cells = <1>; - compatible = "simple-bus"; - ranges; - - ebi@50000000 { - compatible = "simple-bus"; - #address-cells = <2>; - #size-cells = <1>; - ranges = <0 0 0x40000000 0x08000000 - 1 0 0x48000000 0x08000000 - 2 0 0x50000000 0x08000000 - 3 0 0x58000000 0x08000000>; - }; - - axi2pico@c0000000 { - compatible = "picochip,axi2pico-pc3x2"; - reg = <0xc0000000 0x10000>; - interrupts = <13 14 15 16 17 18 19 20 21>; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/picoxcell-pc3x3.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v3/picoxcell-pc3x3.dtsi deleted file mode 100644 index daa962d19..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/picoxcell-pc3x3.dtsi +++ /dev/null @@ -1,365 +0,0 @@ -/* - * Copyright (C) 2011 Picochip, Jamie Iles - * - * This software is licensed under the terms of the GNU General Public - * License version 2, as published by the Free Software Foundation, and - * may be copied, distributed, and modified under those terms. - * - * 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. - */ -/include/ "skeleton.dtsi" -/ { - model = "Picochip picoXcell PC3X3"; - compatible = "picochip,pc3x3"; - #address-cells = <1>; - #size-cells = <1>; - - cpus { - #address-cells = <1>; - #size-cells = <0>; - - cpu@0 { - compatible = "arm,1176jz-s"; - cpu-clock = <&arm_clk>, "cpu"; - reg = <0>; - d-cache-line-size = <32>; - d-cache-size = <32768>; - i-cache-line-size = <32>; - i-cache-size = <32768>; - }; - }; - - clocks { - #address-cells = <1>; - #size-cells = <1>; - ranges; - - clkgate: clkgate@800a0048 { - #address-cells = <1>; - #size-cells = <0>; - reg = <0x800a0048 4>; - compatible = "picochip,pc3x3-clk-gate"; - - tzprot_clk: clock@0 { - compatible = "picochip,pc3x3-gated-clk"; - clock-outputs = "bus"; - picochip,clk-disable-bit = <0>; - clock-frequency = <200000000>; - ref-clock = <&ref_clk>, "ref"; - }; - - spi_clk: clock@1 { - compatible = "picochip,pc3x3-gated-clk"; - clock-outputs = "bus"; - picochip,clk-disable-bit = <1>; - clock-frequency = <200000000>; - ref-clock = <&ref_clk>, "ref"; - }; - - dmac0_clk: clock@2 { - compatible = "picochip,pc3x3-gated-clk"; - clock-outputs = "bus"; - picochip,clk-disable-bit = <2>; - clock-frequency = <200000000>; - ref-clock = <&ref_clk>, "ref"; - }; - - dmac1_clk: clock@3 { - compatible = "picochip,pc3x3-gated-clk"; - clock-outputs = "bus"; - picochip,clk-disable-bit = <3>; - clock-frequency = <200000000>; - ref-clock = <&ref_clk>, "ref"; - }; - - ebi_clk: clock@4 { - compatible = "picochip,pc3x3-gated-clk"; - clock-outputs = "bus"; - picochip,clk-disable-bit = <4>; - clock-frequency = <200000000>; - ref-clock = <&ref_clk>, "ref"; - }; - - ipsec_clk: clock@5 { - compatible = "picochip,pc3x3-gated-clk"; - clock-outputs = "bus"; - picochip,clk-disable-bit = <5>; - clock-frequency = <200000000>; - ref-clock = <&ref_clk>, "ref"; - }; - - l2_clk: clock@6 { - compatible = "picochip,pc3x3-gated-clk"; - clock-outputs = "bus"; - picochip,clk-disable-bit = <6>; - clock-frequency = <200000000>; - ref-clock = <&ref_clk>, "ref"; - }; - - trng_clk: clock@7 { - compatible = "picochip,pc3x3-gated-clk"; - clock-outputs = "bus"; - picochip,clk-disable-bit = <7>; - clock-frequency = <200000000>; - ref-clock = <&ref_clk>, "ref"; - }; - - fuse_clk: clock@8 { - compatible = "picochip,pc3x3-gated-clk"; - clock-outputs = "bus"; - picochip,clk-disable-bit = <8>; - clock-frequency = <200000000>; - ref-clock = <&ref_clk>, "ref"; - }; - - otp_clk: clock@9 { - compatible = "picochip,pc3x3-gated-clk"; - clock-outputs = "bus"; - picochip,clk-disable-bit = <9>; - clock-frequency = <200000000>; - ref-clock = <&ref_clk>, "ref"; - }; - }; - - arm_clk: clock@11 { - compatible = "picochip,pc3x3-pll"; - reg = <0x800a0050 0x8>; - picochip,min-freq = <140000000>; - picochip,max-freq = <700000000>; - ref-clock = <&ref_clk>, "ref"; - clock-outputs = "cpu"; - }; - - pclk: clock@12 { - compatible = "fixed-clock"; - clock-outputs = "bus", "pclk"; - clock-frequency = <200000000>; - ref-clock = <&ref_clk>, "ref"; - }; - }; - - paxi { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0 0x80000000 0x400000>; - - emac: gem@30000 { - compatible = "cadence,gem"; - reg = <0x30000 0x10000>; - interrupt-parent = <&vic0>; - interrupts = <31>; - }; - - dmac1: dmac@40000 { - compatible = "snps,dw-dmac"; - reg = <0x40000 0x10000>; - interrupt-parent = <&vic0>; - interrupts = <25>; - }; - - dmac2: dmac@50000 { - compatible = "snps,dw-dmac"; - reg = <0x50000 0x10000>; - interrupt-parent = <&vic0>; - interrupts = <26>; - }; - - vic0: interrupt-controller@60000 { - compatible = "arm,pl192-vic"; - interrupt-controller; - reg = <0x60000 0x1000>; - #interrupt-cells = <1>; - }; - - vic1: interrupt-controller@64000 { - compatible = "arm,pl192-vic"; - interrupt-controller; - reg = <0x64000 0x1000>; - #interrupt-cells = <1>; - }; - - fuse: picoxcell-fuse@80000 { - compatible = "picoxcell,fuse-pc3x3"; - reg = <0x80000 0x10000>; - }; - - ssi: picoxcell-spi@90000 { - compatible = "picoxcell,spi"; - reg = <0x90000 0x10000>; - interrupt-parent = <&vic0>; - interrupts = <10>; - }; - - ipsec: spacc@100000 { - compatible = "picochip,spacc-ipsec"; - reg = <0x100000 0x10000>; - interrupt-parent = <&vic0>; - interrupts = <24>; - ref-clock = <&ipsec_clk>, "ref"; - }; - - srtp: spacc@140000 { - compatible = "picochip,spacc-srtp"; - reg = <0x140000 0x10000>; - interrupt-parent = <&vic0>; - interrupts = <23>; - }; - - l2_engine: spacc@180000 { - compatible = "picochip,spacc-l2"; - reg = <0x180000 0x10000>; - interrupt-parent = <&vic0>; - interrupts = <22>; - ref-clock = <&l2_clk>, "ref"; - }; - - apb { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0 0x200000 0x80000>; - - rtc0: rtc@00000 { - compatible = "picochip,pc3x2-rtc"; - clock-freq = <200000000>; - reg = <0x00000 0xf>; - interrupt-parent = <&vic0>; - interrupts = <8>; - }; - - timer0: timer@10000 { - compatible = "picochip,pc3x2-timer"; - interrupt-parent = <&vic0>; - interrupts = <4>; - clock-freq = <200000000>; - reg = <0x10000 0x14>; - }; - - timer1: timer@10014 { - compatible = "picochip,pc3x2-timer"; - interrupt-parent = <&vic0>; - interrupts = <5>; - clock-freq = <200000000>; - reg = <0x10014 0x14>; - }; - - gpio: gpio@20000 { - compatible = "snps,dw-apb-gpio"; - reg = <0x20000 0x1000>; - #address-cells = <1>; - #size-cells = <0>; - reg-io-width = <4>; - - banka: gpio-controller@0 { - compatible = "snps,dw-apb-gpio-bank"; - gpio-controller; - #gpio-cells = <2>; - gpio-generic,nr-gpio = <8>; - - regoffset-dat = <0x50>; - regoffset-set = <0x00>; - regoffset-dirout = <0x04>; - }; - - bankb: gpio-controller@1 { - compatible = "snps,dw-apb-gpio-bank"; - gpio-controller; - #gpio-cells = <2>; - gpio-generic,nr-gpio = <16>; - - regoffset-dat = <0x54>; - regoffset-set = <0x0c>; - regoffset-dirout = <0x10>; - }; - - bankd: gpio-controller@2 { - compatible = "snps,dw-apb-gpio-bank"; - gpio-controller; - #gpio-cells = <2>; - gpio-generic,nr-gpio = <30>; - - regoffset-dat = <0x5c>; - regoffset-set = <0x24>; - regoffset-dirout = <0x28>; - }; - }; - - uart0: uart@30000 { - compatible = "snps,dw-apb-uart"; - reg = <0x30000 0x1000>; - interrupt-parent = <&vic1>; - interrupts = <10>; - clock-frequency = <3686400>; - reg-shift = <2>; - reg-io-width = <4>; - }; - - uart1: uart@40000 { - compatible = "snps,dw-apb-uart"; - reg = <0x40000 0x1000>; - interrupt-parent = <&vic1>; - interrupts = <9>; - clock-frequency = <3686400>; - reg-shift = <2>; - reg-io-width = <4>; - }; - - wdog: watchdog@50000 { - compatible = "snps,dw-apb-wdg"; - reg = <0x50000 0x10000>; - interrupt-parent = <&vic0>; - interrupts = <11>; - bus-clock = <&pclk>, "bus"; - }; - - timer2: timer@60000 { - compatible = "picochip,pc3x2-timer"; - interrupt-parent = <&vic0>; - interrupts = <6>; - clock-freq = <200000000>; - reg = <0x60000 0x14>; - }; - - timer3: timer@60014 { - compatible = "picochip,pc3x2-timer"; - interrupt-parent = <&vic0>; - interrupts = <7>; - clock-freq = <200000000>; - reg = <0x60014 0x14>; - }; - }; - }; - - rwid-axi { - #address-cells = <1>; - #size-cells = <1>; - compatible = "simple-bus"; - ranges; - - ebi@50000000 { - compatible = "simple-bus"; - #address-cells = <2>; - #size-cells = <1>; - ranges = <0 0 0x40000000 0x08000000 - 1 0 0x48000000 0x08000000 - 2 0 0x50000000 0x08000000 - 3 0 0x58000000 0x08000000>; - }; - - axi2pico@c0000000 { - compatible = "picochip,axi2pico-pc3x3"; - reg = <0xc0000000 0x10000>; - interrupt-parent = <&vic0>; - interrupts = <13 14 15 16 17 18 19 20 21>; - }; - - otp@ffff8000 { - compatible = "picochip,otp-pc3x3"; - reg = <0xffff8000 0x8000>; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/picoxcell-pc7302-pc3x2.dts b/kernel/arch/arm/boot/dts/m7350-un-v3/picoxcell-pc7302-pc3x2.dts deleted file mode 100644 index 1297414dd..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/picoxcell-pc7302-pc3x2.dts +++ /dev/null @@ -1,86 +0,0 @@ -/* - * Copyright (C) 2011 Picochip, Jamie Iles - * - * This software is licensed under the terms of the GNU General Public - * License version 2, as published by the Free Software Foundation, and - * may be copied, distributed, and modified under those terms. - * - * 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. - */ - -/dts-v1/; -/include/ "picoxcell-pc3x2.dtsi" -/ { - model = "Picochip PC7302 (PC3X2)"; - compatible = "picochip,pc7302-pc3x2", "picochip,pc3x2"; - - memory { - device_type = "memory"; - reg = <0x0 0x08000000>; - }; - - chosen { - linux,stdout-path = &uart0; - }; - - clocks { - ref_clk: clock@1 { - compatible = "fixed-clock"; - clock-outputs = "ref"; - clock-frequency = <20000000>; - }; - }; - - rwid-axi { - ebi@50000000 { - nand: gpio-nand@2,0 { - compatible = "gpio-control-nand"; - #address-cells = <1>; - #size-cells = <1>; - reg = <2 0x0000 0x1000>; - bus-clock = <&pclk>, "bus"; - gpio-control-nand,io-sync-reg = - <0x00000000 0x80220000>; - - gpios = <&banka 1 0 /* rdy */ - &banka 2 0 /* nce */ - &banka 3 0 /* ale */ - &banka 4 0 /* cle */ - 0 /* nwp */>; - - boot@100000 { - label = "Boot"; - reg = <0x100000 0x80000>; - }; - - redundant-boot@200000 { - label = "Redundant Boot"; - reg = <0x200000 0x80000>; - }; - - boot-env@300000 { - label = "Boot Evironment"; - reg = <0x300000 0x20000>; - }; - - redundant-boot-env@320000 { - label = "Redundant Boot Environment"; - reg = <0x300000 0x20000>; - }; - - kernel@380000 { - label = "Kernel"; - reg = <0x380000 0x800000>; - }; - - fs@b80000 { - label = "File System"; - reg = <0xb80000 0xf480000>; - }; - }; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/picoxcell-pc7302-pc3x3.dts b/kernel/arch/arm/boot/dts/m7350-un-v3/picoxcell-pc7302-pc3x3.dts deleted file mode 100644 index 9e317a4f4..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/picoxcell-pc7302-pc3x3.dts +++ /dev/null @@ -1,92 +0,0 @@ -/* - * Copyright (C) 2011 Picochip, Jamie Iles - * - * This software is licensed under the terms of the GNU General Public - * License version 2, as published by the Free Software Foundation, and - * may be copied, distributed, and modified under those terms. - * - * 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. - */ - -/dts-v1/; -/include/ "picoxcell-pc3x3.dtsi" -/ { - model = "Picochip PC7302 (PC3X3)"; - compatible = "picochip,pc7302-pc3x3", "picochip,pc3x3"; - - memory { - device_type = "memory"; - reg = <0x0 0x08000000>; - }; - - chosen { - linux,stdout-path = &uart0; - }; - - clocks { - ref_clk: clock@10 { - compatible = "fixed-clock"; - clock-outputs = "ref"; - clock-frequency = <20000000>; - }; - - clkgate: clkgate@800a0048 { - clock@4 { - picochip,clk-no-disable; - }; - }; - }; - - rwid-axi { - ebi@50000000 { - nand: gpio-nand@2,0 { - compatible = "gpio-control-nand"; - #address-cells = <1>; - #size-cells = <1>; - reg = <2 0x0000 0x1000>; - bus-clock = <&ebi_clk>, "bus"; - gpio-control-nand,io-sync-reg = - <0x00000000 0x80220000>; - - gpios = <&banka 1 0 /* rdy */ - &banka 2 0 /* nce */ - &banka 3 0 /* ale */ - &banka 4 0 /* cle */ - 0 /* nwp */>; - - boot@100000 { - label = "Boot"; - reg = <0x100000 0x80000>; - }; - - redundant-boot@200000 { - label = "Redundant Boot"; - reg = <0x200000 0x80000>; - }; - - boot-env@300000 { - label = "Boot Evironment"; - reg = <0x300000 0x20000>; - }; - - redundant-boot-env@320000 { - label = "Redundant Boot Environment"; - reg = <0x300000 0x20000>; - }; - - kernel@380000 { - label = "Kernel"; - reg = <0x380000 0x800000>; - }; - - fs@b80000 { - label = "File System"; - reg = <0xb80000 0xf480000>; - }; - }; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/prima2-cb.dts b/kernel/arch/arm/boot/dts/m7350-un-v3/prima2-cb.dts deleted file mode 100644 index 34ae3a64b..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/prima2-cb.dts +++ /dev/null @@ -1,424 +0,0 @@ -/dts-v1/; -/ { - model = "SiRF Prima2 eVB"; - compatible = "sirf,prima2-cb", "sirf,prima2"; - #address-cells = <1>; - #size-cells = <1>; - interrupt-parent = <&intc>; - - memory { - reg = <0x00000000 0x20000000>; - }; - - chosen { - bootargs = "mem=512M real_root=/dev/mmcblk0p2 console=ttyS0 panel=1 bootsplash=true bpp=16 androidboot.console=ttyS1"; - linux,stdout-path = &uart1; - }; - - cpus { - #address-cells = <1>; - #size-cells = <0>; - - cpu@0 { - reg = <0x0>; - d-cache-line-size = <32>; - i-cache-line-size = <32>; - d-cache-size = <32768>; - i-cache-size = <32768>; - /* from bootloader */ - timebase-frequency = <0>; - bus-frequency = <0>; - clock-frequency = <0>; - }; - }; - - axi { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0x40000000 0x40000000 0x80000000>; - - l2-cache-controller@80040000 { - compatible = "arm,pl310-cache", "sirf,prima2-pl310-cache"; - reg = <0x80040000 0x1000>; - interrupts = <59>; - arm,tag-latency = <1 1 1>; - arm,data-latency = <1 1 1>; - arm,filter-ranges = <0 0x40000000>; - }; - - intc: interrupt-controller@80020000 { - #interrupt-cells = <1>; - interrupt-controller; - compatible = "sirf,prima2-intc"; - reg = <0x80020000 0x1000>; - }; - - sys-iobg { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0x88000000 0x88000000 0x40000>; - - clock-controller@88000000 { - compatible = "sirf,prima2-clkc"; - reg = <0x88000000 0x1000>; - interrupts = <3>; - }; - - reset-controller@88010000 { - compatible = "sirf,prima2-rstc"; - reg = <0x88010000 0x1000>; - }; - - rsc-controller@88020000 { - compatible = "sirf,prima2-rsc"; - reg = <0x88020000 0x1000>; - }; - }; - - mem-iobg { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0x90000000 0x90000000 0x10000>; - - memory-controller@90000000 { - compatible = "sirf,prima2-memc"; - reg = <0x90000000 0x10000>; - interrupts = <27>; - }; - }; - - disp-iobg { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0x90010000 0x90010000 0x30000>; - - display@90010000 { - compatible = "sirf,prima2-lcd"; - reg = <0x90010000 0x20000>; - interrupts = <30>; - }; - - vpp@90020000 { - compatible = "sirf,prima2-vpp"; - reg = <0x90020000 0x10000>; - interrupts = <31>; - }; - }; - - graphics-iobg { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0x98000000 0x98000000 0x8000000>; - - graphics@98000000 { - compatible = "powervr,sgx531"; - reg = <0x98000000 0x8000000>; - interrupts = <6>; - }; - }; - - multimedia-iobg { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0xa0000000 0xa0000000 0x8000000>; - - multimedia@a0000000 { - compatible = "sirf,prima2-video-codec"; - reg = <0xa0000000 0x8000000>; - interrupts = <5>; - }; - }; - - dsp-iobg { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0xa8000000 0xa8000000 0x2000000>; - - dspif@a8000000 { - compatible = "sirf,prima2-dspif"; - reg = <0xa8000000 0x10000>; - interrupts = <9>; - }; - - gps@a8010000 { - compatible = "sirf,prima2-gps"; - reg = <0xa8010000 0x10000>; - interrupts = <7>; - }; - - dsp@a9000000 { - compatible = "sirf,prima2-dsp"; - reg = <0xa9000000 0x1000000>; - interrupts = <8>; - }; - }; - - peri-iobg { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0xb0000000 0xb0000000 0x180000>; - - timer@b0020000 { - compatible = "sirf,prima2-tick"; - reg = <0xb0020000 0x1000>; - interrupts = <0>; - }; - - nand@b0030000 { - compatible = "sirf,prima2-nand"; - reg = <0xb0030000 0x10000>; - interrupts = <41>; - }; - - audio@b0040000 { - compatible = "sirf,prima2-audio"; - reg = <0xb0040000 0x10000>; - interrupts = <35>; - }; - - uart0: uart@b0050000 { - cell-index = <0>; - compatible = "sirf,prima2-uart"; - reg = <0xb0050000 0x10000>; - interrupts = <17>; - }; - - uart1: uart@b0060000 { - cell-index = <1>; - compatible = "sirf,prima2-uart"; - reg = <0xb0060000 0x10000>; - interrupts = <18>; - }; - - uart2: uart@b0070000 { - cell-index = <2>; - compatible = "sirf,prima2-uart"; - reg = <0xb0070000 0x10000>; - interrupts = <19>; - }; - - usp0: usp@b0080000 { - cell-index = <0>; - compatible = "sirf,prima2-usp"; - reg = <0xb0080000 0x10000>; - interrupts = <20>; - }; - - usp1: usp@b0090000 { - cell-index = <1>; - compatible = "sirf,prima2-usp"; - reg = <0xb0090000 0x10000>; - interrupts = <21>; - }; - - usp2: usp@b00a0000 { - cell-index = <2>; - compatible = "sirf,prima2-usp"; - reg = <0xb00a0000 0x10000>; - interrupts = <22>; - }; - - dmac0: dma-controller@b00b0000 { - cell-index = <0>; - compatible = "sirf,prima2-dmac"; - reg = <0xb00b0000 0x10000>; - interrupts = <12>; - }; - - dmac1: dma-controller@b0160000 { - cell-index = <1>; - compatible = "sirf,prima2-dmac"; - reg = <0xb0160000 0x10000>; - interrupts = <13>; - }; - - vip@b00C0000 { - compatible = "sirf,prima2-vip"; - reg = <0xb00C0000 0x10000>; - }; - - spi0: spi@b00d0000 { - cell-index = <0>; - compatible = "sirf,prima2-spi"; - reg = <0xb00d0000 0x10000>; - interrupts = <15>; - }; - - spi1: spi@b0170000 { - cell-index = <1>; - compatible = "sirf,prima2-spi"; - reg = <0xb0170000 0x10000>; - interrupts = <16>; - }; - - i2c0: i2c@b00e0000 { - cell-index = <0>; - compatible = "sirf,prima2-i2c"; - reg = <0xb00e0000 0x10000>; - interrupts = <24>; - }; - - i2c1: i2c@b00f0000 { - cell-index = <1>; - compatible = "sirf,prima2-i2c"; - reg = <0xb00f0000 0x10000>; - interrupts = <25>; - }; - - tsc@b0110000 { - compatible = "sirf,prima2-tsc"; - reg = <0xb0110000 0x10000>; - interrupts = <33>; - }; - - gpio: gpio-controller@b0120000 { - #gpio-cells = <2>; - #interrupt-cells = <2>; - compatible = "sirf,prima2-gpio-pinmux"; - reg = <0xb0120000 0x10000>; - gpio-controller; - interrupt-controller; - }; - - pwm@b0130000 { - compatible = "sirf,prima2-pwm"; - reg = <0xb0130000 0x10000>; - }; - - efusesys@b0140000 { - compatible = "sirf,prima2-efuse"; - reg = <0xb0140000 0x10000>; - }; - - pulsec@b0150000 { - compatible = "sirf,prima2-pulsec"; - reg = <0xb0150000 0x10000>; - interrupts = <48>; - }; - - pci-iobg { - compatible = "sirf,prima2-pciiobg", "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0x56000000 0x56000000 0x1b00000>; - - sd0: sdhci@56000000 { - cell-index = <0>; - compatible = "sirf,prima2-sdhc"; - reg = <0x56000000 0x100000>; - interrupts = <38>; - }; - - sd1: sdhci@56100000 { - cell-index = <1>; - compatible = "sirf,prima2-sdhc"; - reg = <0x56100000 0x100000>; - interrupts = <38>; - }; - - sd2: sdhci@56200000 { - cell-index = <2>; - compatible = "sirf,prima2-sdhc"; - reg = <0x56200000 0x100000>; - interrupts = <23>; - }; - - sd3: sdhci@56300000 { - cell-index = <3>; - compatible = "sirf,prima2-sdhc"; - reg = <0x56300000 0x100000>; - interrupts = <23>; - }; - - sd4: sdhci@56400000 { - cell-index = <4>; - compatible = "sirf,prima2-sdhc"; - reg = <0x56400000 0x100000>; - interrupts = <39>; - }; - - sd5: sdhci@56500000 { - cell-index = <5>; - compatible = "sirf,prima2-sdhc"; - reg = <0x56500000 0x100000>; - interrupts = <39>; - }; - - pci-copy@57900000 { - compatible = "sirf,prima2-pcicp"; - reg = <0x57900000 0x100000>; - interrupts = <40>; - }; - - rom-interface@57a00000 { - compatible = "sirf,prima2-romif"; - reg = <0x57a00000 0x100000>; - }; - }; - }; - - rtc-iobg { - compatible = "sirf,prima2-rtciobg", "sirf-prima2-rtciobg-bus"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0x80030000 0x10000>; - - gpsrtc@1000 { - compatible = "sirf,prima2-gpsrtc"; - reg = <0x1000 0x1000>; - interrupts = <55 56 57>; - }; - - sysrtc@2000 { - compatible = "sirf,prima2-sysrtc"; - reg = <0x2000 0x1000>; - interrupts = <52 53 54>; - }; - - pwrc@3000 { - compatible = "sirf,prima2-pwrc"; - reg = <0x3000 0x1000>; - interrupts = <32>; - }; - }; - - uus-iobg { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0xb8000000 0xb8000000 0x40000>; - - usb0: usb@b00e0000 { - compatible = "chipidea,ci13611a-prima2"; - reg = <0xb8000000 0x10000>; - interrupts = <10>; - }; - - usb1: usb@b00f0000 { - compatible = "chipidea,ci13611a-prima2"; - reg = <0xb8010000 0x10000>; - interrupts = <11>; - }; - - sata@b00f0000 { - compatible = "synopsys,dwc-ahsata"; - reg = <0xb8020000 0x10000>; - interrupts = <37>; - }; - - security@b00f0000 { - compatible = "sirf,prima2-security"; - reg = <0xb8030000 0x10000>; - interrupts = <42>; - }; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/pxa168-aspenite.dts b/kernel/arch/arm/boot/dts/m7350-un-v3/pxa168-aspenite.dts deleted file mode 100644 index e762facb3..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/pxa168-aspenite.dts +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright (C) 2012 Marvell Technology Group Ltd. - * Author: Haojian Zhuang - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * publishhed by the Free Software Foundation. - */ - -/dts-v1/; -/include/ "pxa168.dtsi" - -/ { - model = "Marvell PXA168 Aspenite Development Board"; - compatible = "mrvl,pxa168-aspenite", "mrvl,pxa168"; - - chosen { - bootargs = "console=ttyS0,115200 root=/dev/nfs nfsroot=192.168.1.100:/nfsroot/ ip=192.168.1.101:192.168.1.100::255.255.255.0::eth0:on"; - }; - - memory { - reg = <0x00000000 0x04000000>; - }; - - soc { - apb@d4000000 { - uart1: uart@d4017000 { - status = "okay"; - }; - twsi1: i2c@d4011000 { - status = "okay"; - }; - rtc: rtc@d4010000 { - status = "okay"; - }; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/pxa168.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v3/pxa168.dtsi deleted file mode 100644 index d32d5128f..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/pxa168.dtsi +++ /dev/null @@ -1,98 +0,0 @@ -/* - * Copyright (C) 2012 Marvell Technology Group Ltd. - * Author: Haojian Zhuang - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * publishhed by the Free Software Foundation. - */ - -/include/ "skeleton.dtsi" - -/ { - aliases { - serial0 = &uart1; - serial1 = &uart2; - serial2 = &uart3; - i2c0 = &twsi1; - i2c1 = &twsi2; - }; - - intc: intc-interrupt-controller@d4282000 { - compatible = "mrvl,mmp-intc", "mrvl,intc"; - interrupt-controller; - #interrupt-cells = <1>; - reg = <0xd4282000 0x1000>; - }; - - soc { - #address-cells = <1>; - #size-cells = <1>; - compatible = "simple-bus"; - interrupt-parent = <&intc>; - ranges; - - apb@d4000000 { /* APB */ - compatible = "mrvl,apb-bus", "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xd4000000 0x00200000>; - ranges; - - uart1: uart@d4017000 { - compatible = "mrvl,mmp-uart", "mrvl,pxa-uart"; - reg = <0xd4017000 0x1000>; - interrupts = <27>; - status = "disabled"; - }; - - uart2: uart@d4018000 { - compatible = "mrvl,mmp-uart", "mrvl,pxa-uart"; - reg = <0xd4018000 0x1000>; - interrupts = <28>; - status = "disabled"; - }; - - uart3: uart@d4026000 { - compatible = "mrvl,mmp-uart", "mrvl,pxa-uart"; - reg = <0xd4026000 0x1000>; - interrupts = <29>; - status = "disabled"; - }; - - gpio: gpio@d4019000 { - compatible = "mrvl,mmp-gpio", "mrvl,pxa-gpio"; - reg = <0xd4019000 0x1000>; - interrupts = <49>; - interrupt-names = "gpio_mux"; - gpio-controller; - #gpio-cells = <1>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - twsi1: i2c@d4011000 { - compatible = "mrvl,mmp-twsi", "mrvl,pxa-i2c"; - reg = <0xd4011000 0x1000>; - interrupts = <7>; - mrvl,i2c-fast-mode; - status = "disabled"; - }; - - twsi2: i2c@d4025000 { - compatible = "mrvl,mmp-twsi", "mrvl,pxa-i2c"; - reg = <0xd4025000 0x1000>; - interrupts = <58>; - status = "disabled"; - }; - - rtc: rtc@d4010000 { - compatible = "mrvl,mmp-rtc"; - reg = <0xd4010000 0x1000>; - interrupts = <5 6>; - interrupt-names = "rtc 1Hz", "rtc alarm"; - status = "disabled"; - }; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/qpic-panel-ili-qvga.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v3/qpic-panel-ili-qvga.dtsi deleted file mode 100644 index 089f1125d..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/qpic-panel-ili-qvga.dtsi +++ /dev/null @@ -1,27 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -&soc { - qcom,mdss_lcdc_ili9341_qvga { - compatible = "qcom,mdss-qpic-panel"; - label = "ili qvga lcdc panel"; - vdd-supply = <&pm8019_l11>; - avdd-supply = <&pm8019_l14>; - qcom,cs-gpio = <&msmgpio 21 0>; - qcom,te-gpio = <&msmgpio 22 0>; - qcom,rst-gpio = <&msmgpio 23 0>; - qcom,ad8-gpio = <&msmgpio 20 0>; - qcom,mdss-pan-res = <240 320>; - qcom,mdss-pan-bpp = <18>; - qcom,refresh_rate = <60>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/skeleton.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v3/skeleton.dtsi deleted file mode 100644 index f9988cd78..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/skeleton.dtsi +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Skeleton device tree; the bare minimum needed to boot; just include and - * add a compatible value. The bootloader will typically populate the memory - * node. - */ - -/ { - #address-cells = <1>; - #size-cells = <1>; - chosen { }; - aliases { }; - memory { - #address-cells = <1>; - #size-cells = <1>; - device_type = "memory"; - reg = <0 0>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/skeleton64.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v3/skeleton64.dtsi deleted file mode 100644 index 5bf6a82f0..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/skeleton64.dtsi +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Skeleton device tree; the bare minimum needed to boot; just include and - * add a compatible value. The bootloader will typically populate the memory - * node. - */ - -/ { - #address-cells = <2>; - #size-cells = <2>; - chosen { }; - aliases { }; - memory { - #address-cells = <2>; - #size-cells = <2>; - device_type = "memory"; - reg = <0 0 0 0>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/snowball.dts b/kernel/arch/arm/boot/dts/m7350-un-v3/snowball.dts deleted file mode 100644 index 359c6d679..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/snowball.dts +++ /dev/null @@ -1,139 +0,0 @@ -/* - * Copyright 2011 ST-Ericsson AB - * - * The code contained herein is licensed under the GNU General Public - * License. You may obtain a copy of the GNU General Public License - * Version 2 or later at the following locations: - * - * http://www.opensource.org/licenses/gpl-license.html - * http://www.gnu.org/copyleft/gpl.html - */ - -/dts-v1/; -/include/ "db8500.dtsi" - -/ { - model = "Calao Systems Snowball platform with device tree"; - compatible = "calaosystems,snowball-a9500"; - - memory { - reg = <0x00000000 0x20000000>; - }; - - gpio_keys { - compatible = "gpio-keys"; - #address-cells = <1>; - #size-cells = <0>; - - button@1 { - debounce_interval = <50>; - wakeup = <1>; - linux,code = <2>; - label = "userpb"; - gpios = <&gpio1 0>; - }; - button@2 { - debounce_interval = <50>; - wakeup = <1>; - linux,code = <3>; - label = "userpb"; - gpios = <&gpio4 23>; - }; - button@3 { - debounce_interval = <50>; - wakeup = <1>; - linux,code = <4>; - label = "userpb"; - gpios = <&gpio4 23>; - }; - button@4 { - debounce_interval = <50>; - wakeup = <1>; - linux,code = <5>; - label = "userpb"; - gpios = <&gpio5 1>; - }; - button@5 { - debounce_interval = <50>; - wakeup = <1>; - linux,code = <6>; - label = "userpb"; - gpios = <&gpio5 2>; - }; - }; - - leds { - compatible = "gpio-leds"; - used-led { - label = "user_led"; - gpios = <&gpio4 14>; - }; - }; - - soc-u9500 { - - external-bus@50000000 { - compatible = "simple-bus"; - reg = <0x50000000 0x10000000>; - #address-cells = <1>; - #size-cells = <1>; - ranges; - - ethernet@50000000 { - compatible = "smsc,9111"; - reg = <0x50000000 0x10000>; - interrupts = <12>; - interrupt-parent = <&gpio4>; - }; - }; - - sdi@80126000 { - status = "enabled"; - cd-gpios = <&gpio6 26>; - }; - - sdi@80114000 { - status = "enabled"; - }; - - uart@80120000 { - status = "okay"; - }; - - uart@80121000 { - status = "okay"; - }; - - uart@80007000 { - status = "okay"; - }; - - i2c@80004000 { - tc3589x@42 { - //compatible = "tc3589x"; - reg = <0x42>; - interrupts = <25>; - interrupt-parent = <&gpio6>; - }; - tps61052@33 { - //compatible = "tps61052"; - reg = <0x33>; - }; - }; - - i2c@80128000 { - lp5521@0x33 { - // compatible = "lp5521"; - reg = <0x33>; - }; - lp5521@0x34 { - // compatible = "lp5521"; - reg = <0x34>; - }; - bh1780@0x29 { - // compatible = "rohm,bh1780gli"; - reg = <0x33>; - }; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/spear600-evb.dts b/kernel/arch/arm/boot/dts/m7350-un-v3/spear600-evb.dts deleted file mode 100644 index 636292e18..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/spear600-evb.dts +++ /dev/null @@ -1,47 +0,0 @@ -/* - * Copyright 2012 Stefan Roese - * - * The code contained herein is licensed under the GNU General Public - * License. You may obtain a copy of the GNU General Public License - * Version 2 or later at the following locations: - * - * http://www.opensource.org/licenses/gpl-license.html - * http://www.gnu.org/copyleft/gpl.html - */ - -/dts-v1/; -/include/ "spear600.dtsi" - -/ { - model = "ST SPEAr600 Evaluation Board"; - compatible = "st,spear600-evb", "st,spear600"; - #address-cells = <1>; - #size-cells = <1>; - - memory { - device_type = "memory"; - reg = <0 0x10000000>; - }; - - ahb { - gmac: ethernet@e0800000 { - phy-mode = "gmii"; - status = "okay"; - }; - - apb { - serial@d0000000 { - status = "okay"; - }; - - serial@d0080000 { - status = "okay"; - }; - - i2c@d0200000 { - clock-frequency = <400000>; - status = "okay"; - }; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/spear600.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v3/spear600.dtsi deleted file mode 100644 index ebe0885a2..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/spear600.dtsi +++ /dev/null @@ -1,174 +0,0 @@ -/* - * Copyright 2012 Stefan Roese - * - * The code contained herein is licensed under the GNU General Public - * License. You may obtain a copy of the GNU General Public License - * Version 2 or later at the following locations: - * - * http://www.opensource.org/licenses/gpl-license.html - * http://www.gnu.org/copyleft/gpl.html - */ - -/include/ "skeleton.dtsi" - -/ { - compatible = "st,spear600"; - - cpus { - cpu@0 { - compatible = "arm,arm926ejs"; - }; - }; - - memory { - device_type = "memory"; - reg = <0 0x40000000>; - }; - - ahb { - #address-cells = <1>; - #size-cells = <1>; - compatible = "simple-bus"; - ranges = <0xd0000000 0xd0000000 0x30000000>; - - vic0: interrupt-controller@f1100000 { - compatible = "arm,pl190-vic"; - interrupt-controller; - reg = <0xf1100000 0x1000>; - #interrupt-cells = <1>; - }; - - vic1: interrupt-controller@f1000000 { - compatible = "arm,pl190-vic"; - interrupt-controller; - reg = <0xf1000000 0x1000>; - #interrupt-cells = <1>; - }; - - gmac: ethernet@e0800000 { - compatible = "st,spear600-gmac"; - reg = <0xe0800000 0x8000>; - interrupt-parent = <&vic1>; - interrupts = <24 23>; - interrupt-names = "macirq", "eth_wake_irq"; - status = "disabled"; - }; - - fsmc: flash@d1800000 { - compatible = "st,spear600-fsmc-nand"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xd1800000 0x1000 /* FSMC Register */ - 0xd2000000 0x4000>; /* NAND Base */ - reg-names = "fsmc_regs", "nand_data"; - st,ale-off = <0x20000>; - st,cle-off = <0x10000>; - status = "disabled"; - }; - - smi: flash@fc000000 { - compatible = "st,spear600-smi"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xfc000000 0x1000>; - interrupt-parent = <&vic1>; - interrupts = <12>; - status = "disabled"; - }; - - ehci@e1800000 { - compatible = "st,spear600-ehci", "usb-ehci"; - reg = <0xe1800000 0x1000>; - interrupt-parent = <&vic1>; - interrupts = <27>; - status = "disabled"; - }; - - ehci@e2000000 { - compatible = "st,spear600-ehci", "usb-ehci"; - reg = <0xe2000000 0x1000>; - interrupt-parent = <&vic1>; - interrupts = <29>; - status = "disabled"; - }; - - ohci@e1900000 { - compatible = "st,spear600-ohci", "usb-ohci"; - reg = <0xe1900000 0x1000>; - interrupt-parent = <&vic1>; - interrupts = <26>; - status = "disabled"; - }; - - ohci@e2100000 { - compatible = "st,spear600-ohci", "usb-ohci"; - reg = <0xe2100000 0x1000>; - interrupt-parent = <&vic1>; - interrupts = <28>; - status = "disabled"; - }; - - apb { - #address-cells = <1>; - #size-cells = <1>; - compatible = "simple-bus"; - ranges = <0xd0000000 0xd0000000 0x30000000>; - - serial@d0000000 { - compatible = "arm,pl011", "arm,primecell"; - reg = <0xd0000000 0x1000>; - interrupt-parent = <&vic0>; - interrupts = <24>; - status = "disabled"; - }; - - serial@d0080000 { - compatible = "arm,pl011", "arm,primecell"; - reg = <0xd0080000 0x1000>; - interrupt-parent = <&vic0>; - interrupts = <25>; - status = "disabled"; - }; - - /* local/cpu GPIO */ - gpio0: gpio@f0100000 { - #gpio-cells = <2>; - compatible = "arm,pl061", "arm,primecell"; - gpio-controller; - reg = <0xf0100000 0x1000>; - interrupt-parent = <&vic0>; - interrupts = <18>; - }; - - /* basic GPIO */ - gpio1: gpio@fc980000 { - #gpio-cells = <2>; - compatible = "arm,pl061", "arm,primecell"; - gpio-controller; - reg = <0xfc980000 0x1000>; - interrupt-parent = <&vic1>; - interrupts = <19>; - }; - - /* appl GPIO */ - gpio2: gpio@d8100000 { - #gpio-cells = <2>; - compatible = "arm,pl061", "arm,primecell"; - gpio-controller; - reg = <0xd8100000 0x1000>; - interrupt-parent = <&vic1>; - interrupts = <4>; - }; - - i2c@d0200000 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "snps,designware-i2c"; - reg = <0xd0200000 0x1000>; - interrupt-parent = <&vic0>; - interrupts = <28>; - status = "disabled"; - }; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/tegra-cardhu.dts b/kernel/arch/arm/boot/dts/m7350-un-v3/tegra-cardhu.dts deleted file mode 100644 index ac3fb7558..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/tegra-cardhu.dts +++ /dev/null @@ -1,70 +0,0 @@ -/dts-v1/; - -/include/ "tegra30.dtsi" - -/ { - model = "NVIDIA Tegra30 Cardhu evaluation board"; - compatible = "nvidia,cardhu", "nvidia,tegra30"; - - memory { - reg = < 0x80000000 0x40000000 >; - }; - - serial@70006000 { - clock-frequency = < 408000000 >; - }; - - serial@70006040 { - status = "disable"; - }; - - serial@70006200 { - status = "disable"; - }; - - serial@70006300 { - status = "disable"; - }; - - serial@70006400 { - status = "disable"; - }; - - i2c@7000c000 { - clock-frequency = <100000>; - }; - - i2c@7000c400 { - clock-frequency = <100000>; - }; - - i2c@7000c500 { - clock-frequency = <100000>; - }; - - i2c@7000c700 { - clock-frequency = <100000>; - }; - - i2c@7000d000 { - clock-frequency = <100000>; - }; - - sdhci@78000000 { - cd-gpios = <&gpio 69 0>; /* gpio PI5 */ - wp-gpios = <&gpio 155 0>; /* gpio PT3 */ - power-gpios = <&gpio 31 0>; /* gpio PD7 */ - }; - - sdhci@78000200 { - status = "disable"; - }; - - sdhci@78000400 { - status = "disable"; - }; - - sdhci@78000400 { - support-8bit; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/tegra-harmony.dts b/kernel/arch/arm/boot/dts/m7350-un-v3/tegra-harmony.dts deleted file mode 100644 index 6e8447dc0..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/tegra-harmony.dts +++ /dev/null @@ -1,115 +0,0 @@ -/dts-v1/; - -/include/ "tegra20.dtsi" - -/ { - model = "NVIDIA Tegra2 Harmony evaluation board"; - compatible = "nvidia,harmony", "nvidia,tegra20"; - - memory@0 { - reg = < 0x00000000 0x40000000 >; - }; - - pmc@7000f400 { - nvidia,invert-interrupt; - }; - - i2c@7000c000 { - clock-frequency = <400000>; - - wm8903: wm8903@1a { - compatible = "wlf,wm8903"; - reg = <0x1a>; - interrupt-parent = <&gpio>; - interrupts = < 187 0x04 >; - - gpio-controller; - #gpio-cells = <2>; - - micdet-cfg = <0>; - micdet-delay = <100>; - gpio-cfg = < 0xffffffff 0xffffffff 0 0xffffffff 0xffffffff >; - }; - }; - - i2c@7000c400 { - clock-frequency = <400000>; - }; - - i2c@7000c500 { - clock-frequency = <400000>; - }; - - i2c@7000d000 { - clock-frequency = <400000>; - }; - - i2s@70002a00 { - status = "disable"; - }; - - sound { - compatible = "nvidia,tegra-audio-wm8903-harmony", - "nvidia,tegra-audio-wm8903"; - nvidia,model = "NVIDIA Tegra Harmony"; - - nvidia,audio-routing = - "Headphone Jack", "HPOUTR", - "Headphone Jack", "HPOUTL", - "Int Spk", "ROP", - "Int Spk", "RON", - "Int Spk", "LOP", - "Int Spk", "LON", - "Mic Jack", "MICBIAS", - "IN1L", "Mic Jack"; - - nvidia,i2s-controller = <&tegra_i2s1>; - nvidia,audio-codec = <&wm8903>; - - nvidia,spkr-en-gpios = <&wm8903 2 0>; - nvidia,hp-det-gpios = <&gpio 178 0>; /* gpio PW2 */ - nvidia,int-mic-en-gpios = <&gpio 184 0>; /*gpio PX0 */ - nvidia,ext-mic-en-gpios = <&gpio 185 0>; /* gpio PX1 */ - }; - - serial@70006000 { - status = "disable"; - }; - - serial@70006040 { - status = "disable"; - }; - - serial@70006200 { - status = "disable"; - }; - - serial@70006300 { - clock-frequency = < 216000000 >; - }; - - serial@70006400 { - status = "disable"; - }; - - sdhci@c8000000 { - status = "disable"; - }; - - sdhci@c8000200 { - cd-gpios = <&gpio 69 0>; /* gpio PI5 */ - wp-gpios = <&gpio 57 0>; /* gpio PH1 */ - power-gpios = <&gpio 155 0>; /* gpio PT3 */ - }; - - sdhci@c8000400 { - status = "disable"; - }; - - sdhci@c8000600 { - cd-gpios = <&gpio 58 0>; /* gpio PH2 */ - wp-gpios = <&gpio 59 0>; /* gpio PH3 */ - power-gpios = <&gpio 70 0>; /* gpio PI6 */ - support-8bit; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/tegra-paz00.dts b/kernel/arch/arm/boot/dts/m7350-un-v3/tegra-paz00.dts deleted file mode 100644 index 6c02abb46..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/tegra-paz00.dts +++ /dev/null @@ -1,134 +0,0 @@ -/dts-v1/; - -/include/ "tegra20.dtsi" - -/ { - model = "Toshiba AC100 / Dynabook AZ"; - compatible = "compal,paz00", "nvidia,tegra20"; - - memory@0 { - reg = <0x00000000 0x20000000>; - }; - - i2c@7000c000 { - clock-frequency = <400000>; - - alc5632: alc5632@1e { - compatible = "realtek,alc5632"; - reg = <0x1e>; - gpio-controller; - #gpio-cells = <2>; - }; - }; - - i2c@7000c400 { - clock-frequency = <400000>; - }; - - i2c@7000c500 { - status = "disable"; - }; - - nvec@7000c500 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "nvidia,nvec"; - reg = <0x7000C500 0x100>; - interrupts = <0 92 0x04>; - clock-frequency = <80000>; - request-gpios = <&gpio 170 0>; - slave-addr = <138>; - }; - - i2c@7000d000 { - clock-frequency = <400000>; - - adt7461@4c { - compatible = "adi,adt7461"; - reg = <0x4c>; - }; - }; - - i2s@70002a00 { - status = "disable"; - }; - - sound { - compatible = "nvidia,tegra-audio-alc5632-paz00", - "nvidia,tegra-audio-alc5632"; - - nvidia,model = "Compal PAZ00"; - - nvidia,audio-routing = - "Int Spk", "SPKOUT", - "Int Spk", "SPKOUTN", - "Headset Mic", "MICBIAS1", - "MIC1", "Headset Mic", - "Headset Stereophone", "HPR", - "Headset Stereophone", "HPL", - "DMICDAT", "Digital Mic"; - - nvidia,audio-codec = <&alc5632>; - nvidia,i2s-controller = <&tegra_i2s1>; - nvidia,hp-det-gpios = <&gpio 178 0>; /* gpio PW2 */ - }; - - serial@70006000 { - clock-frequency = <216000000>; - }; - - serial@70006040 { - status = "disable"; - }; - - serial@70006200 { - clock-frequency = <216000000>; - }; - - serial@70006300 { - status = "disable"; - }; - - serial@70006400 { - status = "disable"; - }; - - sdhci@c8000000 { - cd-gpios = <&gpio 173 0>; /* gpio PV5 */ - wp-gpios = <&gpio 57 0>; /* gpio PH1 */ - power-gpios = <&gpio 169 0>; /* gpio PV1 */ - }; - - sdhci@c8000200 { - status = "disable"; - }; - - sdhci@c8000400 { - status = "disable"; - }; - - sdhci@c8000600 { - support-8bit; - }; - - gpio-keys { - compatible = "gpio-keys"; - - power { - label = "Power"; - gpios = <&gpio 79 1>; /* gpio PJ7, active low */ - linux,code = <116>; /* KEY_POWER */ - gpio-key,wakeup; - }; - }; - - gpio-leds { - compatible = "gpio-leds"; - - wifi { - label = "wifi-led"; - gpios = <&gpio 24 0>; - linux,default-trigger = "rfkill0"; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/tegra-seaboard.dts b/kernel/arch/arm/boot/dts/m7350-un-v3/tegra-seaboard.dts deleted file mode 100644 index dbf1c5a17..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/tegra-seaboard.dts +++ /dev/null @@ -1,175 +0,0 @@ -/dts-v1/; - -/include/ "tegra20.dtsi" - -/ { - model = "NVIDIA Seaboard"; - compatible = "nvidia,seaboard", "nvidia,tegra20"; - - memory { - device_type = "memory"; - reg = < 0x00000000 0x40000000 >; - }; - - i2c@7000c000 { - clock-frequency = <400000>; - - wm8903: wm8903@1a { - compatible = "wlf,wm8903"; - reg = <0x1a>; - interrupt-parent = <&gpio>; - interrupts = < 187 0x04 >; - - gpio-controller; - #gpio-cells = <2>; - - micdet-cfg = <0>; - micdet-delay = <100>; - gpio-cfg = < 0xffffffff 0xffffffff 0 0xffffffff 0xffffffff >; - }; - }; - - i2c@7000c400 { - clock-frequency = <400000>; - }; - - i2c@7000c500 { - clock-frequency = <400000>; - }; - - i2c@7000d000 { - clock-frequency = <400000>; - - adt7461@4c { - compatible = "adt7461"; - reg = <0x4c>; - }; - }; - - i2s@70002a00 { - status = "disable"; - }; - - sound { - compatible = "nvidia,tegra-audio-wm8903-seaboard", - "nvidia,tegra-audio-wm8903"; - nvidia,model = "NVIDIA Tegra Seaboard"; - - nvidia,audio-routing = - "Headphone Jack", "HPOUTR", - "Headphone Jack", "HPOUTL", - "Int Spk", "ROP", - "Int Spk", "RON", - "Int Spk", "LOP", - "Int Spk", "LON", - "Mic Jack", "MICBIAS", - "IN1R", "Mic Jack"; - - nvidia,i2s-controller = <&tegra_i2s1>; - nvidia,audio-codec = <&wm8903>; - - nvidia,spkr-en-gpios = <&wm8903 2 0>; - nvidia,hp-det-gpios = <&gpio 185 0>; /* gpio PX1 */ - }; - - serial@70006000 { - status = "disable"; - }; - - serial@70006040 { - status = "disable"; - }; - - serial@70006200 { - status = "disable"; - }; - - serial@70006300 { - clock-frequency = < 216000000 >; - }; - - serial@70006400 { - status = "disable"; - }; - - sdhci@c8000000 { - status = "disable"; - }; - - sdhci@c8000200 { - status = "disable"; - }; - - sdhci@c8000400 { - cd-gpios = <&gpio 69 0>; /* gpio PI5 */ - wp-gpios = <&gpio 57 0>; /* gpio PH1 */ - power-gpios = <&gpio 70 0>; /* gpio PI6 */ - }; - - sdhci@c8000600 { - support-8bit; - }; - - usb@c5000000 { - nvidia,vbus-gpio = <&gpio 24 0>; /* PD0 */ - dr_mode = "otg"; - }; - - gpio-keys { - compatible = "gpio-keys"; - - power { - label = "Power"; - gpios = <&gpio 170 1>; /* gpio PV2, active low */ - linux,code = <116>; /* KEY_POWER */ - gpio-key,wakeup; - }; - - lid { - label = "Lid"; - gpios = <&gpio 23 0>; /* gpio PC7 */ - linux,input-type = <5>; /* EV_SW */ - linux,code = <0>; /* SW_LID */ - debounce-interval = <1>; - gpio-key,wakeup; - }; - }; - - emc@7000f400 { - emc-table@190000 { - reg = < 190000 >; - compatible = "nvidia,tegra20-emc-table"; - clock-frequency = < 190000 >; - nvidia,emc-registers = < 0x0000000c 0x00000026 - 0x00000009 0x00000003 0x00000004 0x00000004 - 0x00000002 0x0000000c 0x00000003 0x00000003 - 0x00000002 0x00000001 0x00000004 0x00000005 - 0x00000004 0x00000009 0x0000000d 0x0000059f - 0x00000000 0x00000003 0x00000003 0x00000003 - 0x00000003 0x00000001 0x0000000b 0x000000c8 - 0x00000003 0x00000007 0x00000004 0x0000000f - 0x00000002 0x00000000 0x00000000 0x00000002 - 0x00000000 0x00000000 0x00000083 0xa06204ae - 0x007dc010 0x00000000 0x00000000 0x00000000 - 0x00000000 0x00000000 0x00000000 0x00000000 >; - }; - - emc-table@380000 { - reg = < 380000 >; - compatible = "nvidia,tegra20-emc-table"; - clock-frequency = < 380000 >; - nvidia,emc-registers = < 0x00000017 0x0000004b - 0x00000012 0x00000006 0x00000004 0x00000005 - 0x00000003 0x0000000c 0x00000006 0x00000006 - 0x00000003 0x00000001 0x00000004 0x00000005 - 0x00000004 0x00000009 0x0000000d 0x00000b5f - 0x00000000 0x00000003 0x00000003 0x00000006 - 0x00000006 0x00000001 0x00000011 0x000000c8 - 0x00000003 0x0000000e 0x00000007 0x0000000f - 0x00000002 0x00000000 0x00000000 0x00000002 - 0x00000000 0x00000000 0x00000083 0xe044048b - 0x007d8010 0x00000000 0x00000000 0x00000000 - 0x00000000 0x00000000 0x00000000 0x00000000 >; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/tegra-trimslice.dts b/kernel/arch/arm/boot/dts/m7350-un-v3/tegra-trimslice.dts deleted file mode 100644 index 252476867..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/tegra-trimslice.dts +++ /dev/null @@ -1,77 +0,0 @@ -/dts-v1/; - -/include/ "tegra20.dtsi" - -/ { - model = "Compulab TrimSlice board"; - compatible = "compulab,trimslice", "nvidia,tegra20"; - - memory@0 { - reg = < 0x00000000 0x40000000 >; - }; - - i2c@7000c000 { - clock-frequency = <400000>; - }; - - i2c@7000c400 { - clock-frequency = <400000>; - }; - - i2c@7000c500 { - clock-frequency = <400000>; - }; - - i2c@7000d000 { - status = "disable"; - }; - - i2s@70002800 { - status = "disable"; - }; - - i2s@70002a00 { - status = "disable"; - }; - - das@70000c00 { - status = "disable"; - }; - - serial@70006000 { - clock-frequency = < 216000000 >; - }; - - serial@70006040 { - status = "disable"; - }; - - serial@70006200 { - status = "disable"; - }; - - serial@70006300 { - status = "disable"; - }; - - serial@70006400 { - status = "disable"; - }; - - sdhci@c8000000 { - status = "disable"; - }; - - sdhci@c8000200 { - status = "disable"; - }; - - sdhci@c8000400 { - status = "disable"; - }; - - sdhci@c8000600 { - cd-gpios = <&gpio 121 0>; - wp-gpios = <&gpio 122 0>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/tegra-ventana.dts b/kernel/arch/arm/boot/dts/m7350-un-v3/tegra-ventana.dts deleted file mode 100644 index 2dcff8728..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/tegra-ventana.dts +++ /dev/null @@ -1,108 +0,0 @@ -/dts-v1/; - -/include/ "tegra20.dtsi" - -/ { - model = "NVIDIA Tegra2 Ventana evaluation board"; - compatible = "nvidia,ventana", "nvidia,tegra20"; - - memory { - reg = < 0x00000000 0x40000000 >; - }; - - i2c@7000c000 { - clock-frequency = <400000>; - - wm8903: wm8903@1a { - compatible = "wlf,wm8903"; - reg = <0x1a>; - interrupt-parent = <&gpio>; - interrupts = < 187 0x04 >; - - gpio-controller; - #gpio-cells = <2>; - - micdet-cfg = <0>; - micdet-delay = <100>; - gpio-cfg = < 0xffffffff 0xffffffff 0 0xffffffff 0xffffffff >; - }; - }; - - i2c@7000c400 { - clock-frequency = <400000>; - }; - - i2c@7000c500 { - clock-frequency = <400000>; - }; - - i2c@7000d000 { - clock-frequency = <400000>; - }; - - i2s@70002a00 { - status = "disable"; - }; - - sound { - compatible = "nvidia,tegra-audio-wm8903-ventana", - "nvidia,tegra-audio-wm8903"; - nvidia,model = "NVIDIA Tegra Ventana"; - - nvidia,audio-routing = - "Headphone Jack", "HPOUTR", - "Headphone Jack", "HPOUTL", - "Int Spk", "ROP", - "Int Spk", "RON", - "Int Spk", "LOP", - "Int Spk", "LON", - "Mic Jack", "MICBIAS", - "IN1L", "Mic Jack"; - - nvidia,i2s-controller = <&tegra_i2s1>; - nvidia,audio-codec = <&wm8903>; - - nvidia,spkr-en-gpios = <&wm8903 2 0>; - nvidia,hp-det-gpios = <&gpio 178 0>; /* gpio PW2 */ - nvidia,int-mic-en-gpios = <&gpio 184 0>; /*gpio PX0 */ - nvidia,ext-mic-en-gpios = <&gpio 185 0>; /* gpio PX1 */ - }; - - serial@70006000 { - status = "disable"; - }; - - serial@70006040 { - status = "disable"; - }; - - serial@70006200 { - status = "disable"; - }; - - serial@70006300 { - clock-frequency = < 216000000 >; - }; - - serial@70006400 { - status = "disable"; - }; - - sdhci@c8000000 { - status = "disable"; - }; - - sdhci@c8000200 { - status = "disable"; - }; - - sdhci@c8000400 { - cd-gpios = <&gpio 69 0>; /* gpio PI5 */ - wp-gpios = <&gpio 57 0>; /* gpio PH1 */ - power-gpios = <&gpio 70 0>; /* gpio PI6 */ - }; - - sdhci@c8000600 { - support-8bit; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/tegra20.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v3/tegra20.dtsi deleted file mode 100644 index 108e894a8..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/tegra20.dtsi +++ /dev/null @@ -1,210 +0,0 @@ -/include/ "skeleton.dtsi" - -/ { - compatible = "nvidia,tegra20"; - interrupt-parent = <&intc>; - - pmc@7000f400 { - compatible = "nvidia,tegra20-pmc"; - reg = <0x7000e400 0x400>; - }; - - intc: interrupt-controller@50041000 { - compatible = "arm,cortex-a9-gic"; - interrupt-controller; - #interrupt-cells = <3>; - reg = < 0x50041000 0x1000 >, - < 0x50040100 0x0100 >; - }; - - pmu { - compatible = "arm,cortex-a9-pmu"; - interrupts = <0 56 0x04 - 0 57 0x04>; - }; - - apbdma: dma@6000a000 { - compatible = "nvidia,tegra20-apbdma"; - reg = <0x6000a000 0x1200>; - interrupts = < 0 104 0x04 - 0 105 0x04 - 0 106 0x04 - 0 107 0x04 - 0 108 0x04 - 0 109 0x04 - 0 110 0x04 - 0 111 0x04 - 0 112 0x04 - 0 113 0x04 - 0 114 0x04 - 0 115 0x04 - 0 116 0x04 - 0 117 0x04 - 0 118 0x04 - 0 119 0x04 >; - }; - - i2c@7000c000 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "nvidia,tegra20-i2c"; - reg = <0x7000C000 0x100>; - interrupts = < 0 38 0x04 >; - }; - - i2c@7000c400 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "nvidia,tegra20-i2c"; - reg = <0x7000C400 0x100>; - interrupts = < 0 84 0x04 >; - }; - - i2c@7000c500 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "nvidia,tegra20-i2c"; - reg = <0x7000C500 0x100>; - interrupts = < 0 92 0x04 >; - }; - - i2c@7000d000 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "nvidia,tegra20-i2c-dvc"; - reg = <0x7000D000 0x200>; - interrupts = < 0 53 0x04 >; - }; - - tegra_i2s1: i2s@70002800 { - compatible = "nvidia,tegra20-i2s"; - reg = <0x70002800 0x200>; - interrupts = < 0 13 0x04 >; - nvidia,dma-request-selector = < &apbdma 2 >; - }; - - tegra_i2s2: i2s@70002a00 { - compatible = "nvidia,tegra20-i2s"; - reg = <0x70002a00 0x200>; - interrupts = < 0 3 0x04 >; - nvidia,dma-request-selector = < &apbdma 1 >; - }; - - das@70000c00 { - compatible = "nvidia,tegra20-das"; - reg = <0x70000c00 0x80>; - }; - - gpio: gpio@6000d000 { - compatible = "nvidia,tegra20-gpio"; - reg = < 0x6000d000 0x1000 >; - interrupts = < 0 32 0x04 - 0 33 0x04 - 0 34 0x04 - 0 35 0x04 - 0 55 0x04 - 0 87 0x04 - 0 89 0x04 >; - #gpio-cells = <2>; - gpio-controller; - #interrupt-cells = <2>; - interrupt-controller; - }; - - pinmux: pinmux@70000000 { - compatible = "nvidia,tegra20-pinmux"; - reg = < 0x70000014 0x10 /* Tri-state registers */ - 0x70000080 0x20 /* Mux registers */ - 0x700000a0 0x14 /* Pull-up/down registers */ - 0x70000868 0xa8 >; /* Pad control registers */ - }; - - serial@70006000 { - compatible = "nvidia,tegra20-uart"; - reg = <0x70006000 0x40>; - reg-shift = <2>; - interrupts = < 0 36 0x04 >; - }; - - serial@70006040 { - compatible = "nvidia,tegra20-uart"; - reg = <0x70006040 0x40>; - reg-shift = <2>; - interrupts = < 0 37 0x04 >; - }; - - serial@70006200 { - compatible = "nvidia,tegra20-uart"; - reg = <0x70006200 0x100>; - reg-shift = <2>; - interrupts = < 0 46 0x04 >; - }; - - serial@70006300 { - compatible = "nvidia,tegra20-uart"; - reg = <0x70006300 0x100>; - reg-shift = <2>; - interrupts = < 0 90 0x04 >; - }; - - serial@70006400 { - compatible = "nvidia,tegra20-uart"; - reg = <0x70006400 0x100>; - reg-shift = <2>; - interrupts = < 0 91 0x04 >; - }; - - emc@7000f400 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "nvidia,tegra20-emc"; - reg = <0x7000f400 0x200>; - }; - - sdhci@c8000000 { - compatible = "nvidia,tegra20-sdhci"; - reg = <0xc8000000 0x200>; - interrupts = < 0 14 0x04 >; - }; - - sdhci@c8000200 { - compatible = "nvidia,tegra20-sdhci"; - reg = <0xc8000200 0x200>; - interrupts = < 0 15 0x04 >; - }; - - sdhci@c8000400 { - compatible = "nvidia,tegra20-sdhci"; - reg = <0xc8000400 0x200>; - interrupts = < 0 19 0x04 >; - }; - - sdhci@c8000600 { - compatible = "nvidia,tegra20-sdhci"; - reg = <0xc8000600 0x200>; - interrupts = < 0 31 0x04 >; - }; - - usb@c5000000 { - compatible = "nvidia,tegra20-ehci", "usb-ehci"; - reg = <0xc5000000 0x4000>; - interrupts = < 0 20 0x04 >; - phy_type = "utmi"; - nvidia,has-legacy-mode; - }; - - usb@c5004000 { - compatible = "nvidia,tegra20-ehci", "usb-ehci"; - reg = <0xc5004000 0x4000>; - interrupts = < 0 21 0x04 >; - phy_type = "ulpi"; - }; - - usb@c5008000 { - compatible = "nvidia,tegra20-ehci", "usb-ehci"; - reg = <0xc5008000 0x4000>; - interrupts = < 0 97 0x04 >; - phy_type = "utmi"; - }; -}; - diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/tegra30.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v3/tegra30.dtsi deleted file mode 100644 index 62a7b39f1..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/tegra30.dtsi +++ /dev/null @@ -1,186 +0,0 @@ -/include/ "skeleton.dtsi" - -/ { - compatible = "nvidia,tegra30"; - interrupt-parent = <&intc>; - - pmc@7000f400 { - compatible = "nvidia,tegra20-pmc", "nvidia,tegra30-pmc"; - reg = <0x7000e400 0x400>; - }; - - intc: interrupt-controller@50041000 { - compatible = "arm,cortex-a9-gic"; - interrupt-controller; - #interrupt-cells = <3>; - reg = < 0x50041000 0x1000 >, - < 0x50040100 0x0100 >; - }; - - pmu { - compatible = "arm,cortex-a9-pmu"; - interrupts = <0 144 0x04 - 0 145 0x04 - 0 146 0x04 - 0 147 0x04>; - }; - - apbdma: dma@6000a000 { - compatible = "nvidia,tegra30-apbdma", "nvidia,tegra20-apbdma"; - reg = <0x6000a000 0x1400>; - interrupts = < 0 104 0x04 - 0 105 0x04 - 0 106 0x04 - 0 107 0x04 - 0 108 0x04 - 0 109 0x04 - 0 110 0x04 - 0 111 0x04 - 0 112 0x04 - 0 113 0x04 - 0 114 0x04 - 0 115 0x04 - 0 116 0x04 - 0 117 0x04 - 0 118 0x04 - 0 119 0x04 - 0 128 0x04 - 0 129 0x04 - 0 130 0x04 - 0 131 0x04 - 0 132 0x04 - 0 133 0x04 - 0 134 0x04 - 0 135 0x04 - 0 136 0x04 - 0 137 0x04 - 0 138 0x04 - 0 139 0x04 - 0 140 0x04 - 0 141 0x04 - 0 142 0x04 - 0 143 0x04 >; - }; - - i2c@7000c000 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "nvidia,tegra30-i2c", "nvidia,tegra20-i2c"; - reg = <0x7000C000 0x100>; - interrupts = < 0 38 0x04 >; - }; - - i2c@7000c400 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "nvidia,tegra30-i2c", "nvidia,tegra20-i2c"; - reg = <0x7000C400 0x100>; - interrupts = < 0 84 0x04 >; - }; - - i2c@7000c500 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "nvidia,tegra30-i2c", "nvidia,tegra20-i2c"; - reg = <0x7000C500 0x100>; - interrupts = < 0 92 0x04 >; - }; - - i2c@7000c700 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "nvidia,tegra30-i2c", "nvidia,tegra20-i2c"; - reg = <0x7000c700 0x100>; - interrupts = < 0 120 0x04 >; - }; - - i2c@7000d000 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "nvidia,tegra30-i2c", "nvidia,tegra20-i2c"; - reg = <0x7000D000 0x100>; - interrupts = < 0 53 0x04 >; - }; - - gpio: gpio@6000d000 { - compatible = "nvidia,tegra30-gpio", "nvidia,tegra20-gpio"; - reg = < 0x6000d000 0x1000 >; - interrupts = < 0 32 0x04 - 0 33 0x04 - 0 34 0x04 - 0 35 0x04 - 0 55 0x04 - 0 87 0x04 - 0 89 0x04 - 0 125 0x04 >; - #gpio-cells = <2>; - gpio-controller; - #interrupt-cells = <2>; - interrupt-controller; - }; - - serial@70006000 { - compatible = "nvidia,tegra30-uart", "nvidia,tegra20-uart"; - reg = <0x70006000 0x40>; - reg-shift = <2>; - interrupts = < 0 36 0x04 >; - }; - - serial@70006040 { - compatible = "nvidia,tegra30-uart", "nvidia,tegra20-uart"; - reg = <0x70006040 0x40>; - reg-shift = <2>; - interrupts = < 0 37 0x04 >; - }; - - serial@70006200 { - compatible = "nvidia,tegra30-uart", "nvidia,tegra20-uart"; - reg = <0x70006200 0x100>; - reg-shift = <2>; - interrupts = < 0 46 0x04 >; - }; - - serial@70006300 { - compatible = "nvidia,tegra30-uart", "nvidia,tegra20-uart"; - reg = <0x70006300 0x100>; - reg-shift = <2>; - interrupts = < 0 90 0x04 >; - }; - - serial@70006400 { - compatible = "nvidia,tegra30-uart", "nvidia,tegra20-uart"; - reg = <0x70006400 0x100>; - reg-shift = <2>; - interrupts = < 0 91 0x04 >; - }; - - sdhci@78000000 { - compatible = "nvidia,tegra30-sdhci", "nvidia,tegra20-sdhci"; - reg = <0x78000000 0x200>; - interrupts = < 0 14 0x04 >; - }; - - sdhci@78000200 { - compatible = "nvidia,tegra30-sdhci", "nvidia,tegra20-sdhci"; - reg = <0x78000200 0x200>; - interrupts = < 0 15 0x04 >; - }; - - sdhci@78000400 { - compatible = "nvidia,tegra30-sdhci", "nvidia,tegra20-sdhci"; - reg = <0x78000400 0x200>; - interrupts = < 0 19 0x04 >; - }; - - sdhci@78000600 { - compatible = "nvidia,tegra30-sdhci", "nvidia,tegra20-sdhci"; - reg = <0x78000600 0x200>; - interrupts = < 0 31 0x04 >; - }; - - pinmux: pinmux@70000000 { - compatible = "nvidia,tegra30-pinmux"; - reg = < 0x70000868 0xd0 /* Pad control registers */ - 0x70003000 0x3e0 >; /* Mux registers */ - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/testcases/tests-phandle.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v3/testcases/tests-phandle.dtsi deleted file mode 100644 index 0007d3cd7..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/testcases/tests-phandle.dtsi +++ /dev/null @@ -1,39 +0,0 @@ - -/ { - testcase-data { - phandle-tests { - provider0: provider0 { - #phandle-cells = <0>; - }; - - provider1: provider1 { - #phandle-cells = <1>; - }; - - provider2: provider2 { - #phandle-cells = <2>; - }; - - provider3: provider3 { - #phandle-cells = <3>; - }; - - consumer-a { - phandle-list = <&provider1 1>, - <&provider2 2 0>, - <0>, - <&provider3 4 4 3>, - <&provider2 5 100>, - <&provider0>, - <&provider1 7>; - phandle-list-names = "first", "second", "third"; - - phandle-list-bad-phandle = <12345678 0 0>; - phandle-list-bad-args = <&provider2 1 0>, - <&provider3 0>; - empty-property; - unterminated-string = [40 41 42 43]; - }; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/testcases/tests.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v3/testcases/tests.dtsi deleted file mode 100644 index a7c506762..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/testcases/tests.dtsi +++ /dev/null @@ -1 +0,0 @@ -/include/ "tests-phandle.dtsi" diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/usb_a9g20-dab-mmx.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v3/usb_a9g20-dab-mmx.dtsi deleted file mode 100644 index ad3eca17c..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/usb_a9g20-dab-mmx.dtsi +++ /dev/null @@ -1,96 +0,0 @@ -/* - * calao-dab-mmx.dtsi - Device Tree Include file for Calao DAB-MMX Daughter Board - * - * Copyright (C) 2011 Jean-Christophe PLAGNIOL-VILLARD - * - * Licensed under GPLv2. - */ - -/ { - ahb { - apb { - usart1: serial@fffb4000 { - status = "okay"; - }; - - usart3: serial@fffd0000 { - status = "okay"; - }; - }; - }; - - i2c-gpio@0 { - status = "okay"; - }; - - leds { - compatible = "gpio-leds"; - - user_led1 { - label = "user_led1"; - gpios = <&pioB 20 1>; - }; - -/* -* led already used by mother board but active as high -* user_led2 { -* label = "user_led2"; -* gpios = <&pioB 21 1>; -* }; -*/ - user_led3 { - label = "user_led3"; - gpios = <&pioB 22 1>; - }; - - user_led4 { - label = "user_led4"; - gpios = <&pioB 23 1>; - }; - - red { - label = "red"; - gpios = <&pioB 24 1>; - }; - - orange { - label = "orange"; - gpios = <&pioB 30 1>; - }; - - green { - label = "green"; - gpios = <&pioB 31 1>; - }; - }; - - gpio_keys { - compatible = "gpio-keys"; - #address-cells = <1>; - #size-cells = <0>; - - user_pb1 { - label = "user_pb1"; - gpios = <&pioB 25 1>; - linux,code = <0x100>; - }; - - user_pb2 { - label = "user_pb2"; - gpios = <&pioB 13 1>; - linux,code = <0x101>; - }; - - user_pb3 { - label = "user_pb3"; - gpios = <&pioA 26 1>; - linux,code = <0x102>; - }; - - user_pb4 { - label = "user_pb4"; - gpios = <&pioC 9 1>; - linux,code = <0x103>; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/usb_a9g20.dts b/kernel/arch/arm/boot/dts/m7350-un-v3/usb_a9g20.dts deleted file mode 100644 index 7c2399c53..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/usb_a9g20.dts +++ /dev/null @@ -1,130 +0,0 @@ -/* - * usb_a9g20.dts - Device Tree file for Caloa USB A9G20 board - * - * Copyright (C) 2011 Jean-Christophe PLAGNIOL-VILLARD - * - * Licensed under GPLv2 or later. - */ -/dts-v1/; -/include/ "at91sam9g20.dtsi" - -/ { - model = "Calao USB A9G20"; - compatible = "calao,usb-a9g20", "atmel,at91sam9g20", "atmel,at91sam9"; - - chosen { - bootargs = "mem=64M console=ttyS0,115200 root=/dev/mtdblock5 rw rootfstype=ubifs"; - }; - - memory { - reg = <0x20000000 0x4000000>; - }; - - clocks { - #address-cells = <1>; - #size-cells = <1>; - ranges; - - main_clock: clock@0 { - compatible = "atmel,osc", "fixed-clock"; - clock-frequency = <12000000>; - }; - }; - - ahb { - apb { - dbgu: serial@fffff200 { - status = "okay"; - }; - - macb0: ethernet@fffc4000 { - phy-mode = "rmii"; - status = "okay"; - }; - - usb1: gadget@fffa4000 { - atmel,vbus-gpio = <&pioC 5 0>; - status = "okay"; - }; - }; - - nand0: nand@40000000 { - nand-bus-width = <8>; - nand-ecc-mode = "soft"; - nand-on-flash-bbt; - status = "okay"; - - at91bootstrap@0 { - label = "at91bootstrap"; - reg = <0x0 0x20000>; - }; - - barebox@20000 { - label = "barebox"; - reg = <0x20000 0x40000>; - }; - - bareboxenv@60000 { - label = "bareboxenv"; - reg = <0x60000 0x20000>; - }; - - bareboxenv2@80000 { - label = "bareboxenv2"; - reg = <0x80000 0x20000>; - }; - - kernel@a0000 { - label = "kernel"; - reg = <0xa0000 0x400000>; - }; - - rootfs@4a0000 { - label = "rootfs"; - reg = <0x4a0000 0x7800000>; - }; - - data@7ca0000 { - label = "data"; - reg = <0x7ca0000 0x8360000>; - }; - }; - - usb0: ohci@00500000 { - num-ports = <2>; - status = "okay"; - }; - }; - - leds { - compatible = "gpio-leds"; - - user_led { - label = "user_led"; - gpios = <&pioB 21 1>; - linux,default-trigger = "heartbeat"; - }; - }; - - gpio_keys { - compatible = "gpio-keys"; - #address-cells = <1>; - #size-cells = <0>; - - user_pb { - label = "user_pb"; - gpios = <&pioB 10 1>; - linux,code = <28>; - gpio-key,wakeup; - }; - }; - - i2c@0 { - status = "okay"; - - rv3029c2@56 { - compatible = "rv3029c2"; - reg = <0x56>; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/versatile-ab.dts b/kernel/arch/arm/boot/dts/m7350-un-v3/versatile-ab.dts deleted file mode 100644 index e2fe3195c..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/versatile-ab.dts +++ /dev/null @@ -1,192 +0,0 @@ -/dts-v1/; -/include/ "skeleton.dtsi" - -/ { - model = "ARM Versatile AB"; - compatible = "arm,versatile-ab"; - #address-cells = <1>; - #size-cells = <1>; - interrupt-parent = <&vic>; - - aliases { - serial0 = &uart0; - serial1 = &uart1; - serial2 = &uart2; - i2c0 = &i2c0; - }; - - memory { - reg = <0x0 0x08000000>; - }; - - flash@34000000 { - compatible = "arm,versatile-flash"; - reg = <0x34000000 0x4000000>; - bank-width = <4>; - }; - - i2c0: i2c@10002000 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "arm,versatile-i2c"; - reg = <0x10002000 0x1000>; - - rtc@68 { - compatible = "dallas,ds1338"; - reg = <0x68>; - }; - }; - - net@10010000 { - compatible = "smsc,lan91c111"; - reg = <0x10010000 0x10000>; - interrupts = <25>; - }; - - lcd@10008000 { - compatible = "arm,versatile-lcd"; - reg = <0x10008000 0x1000>; - }; - - amba { - compatible = "arm,amba-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - - vic: intc@10140000 { - compatible = "arm,versatile-vic"; - interrupt-controller; - #interrupt-cells = <1>; - reg = <0x10140000 0x1000>; - }; - - sic: intc@10003000 { - compatible = "arm,versatile-sic"; - interrupt-controller; - #interrupt-cells = <1>; - reg = <0x10003000 0x1000>; - interrupt-parent = <&vic>; - interrupts = <31>; /* Cascaded to vic */ - }; - - dma@10130000 { - compatible = "arm,pl081", "arm,primecell"; - reg = <0x10130000 0x1000>; - interrupts = <17>; - }; - - uart0: uart@101f1000 { - compatible = "arm,pl011", "arm,primecell"; - reg = <0x101f1000 0x1000>; - interrupts = <12>; - }; - - uart1: uart@101f2000 { - compatible = "arm,pl011", "arm,primecell"; - reg = <0x101f2000 0x1000>; - interrupts = <13>; - }; - - uart2: uart@101f3000 { - compatible = "arm,pl011", "arm,primecell"; - reg = <0x101f3000 0x1000>; - interrupts = <14>; - }; - - smc@10100000 { - compatible = "arm,primecell"; - reg = <0x10100000 0x1000>; - }; - - mpmc@10110000 { - compatible = "arm,primecell"; - reg = <0x10110000 0x1000>; - }; - - display@10120000 { - compatible = "arm,pl110", "arm,primecell"; - reg = <0x10120000 0x1000>; - interrupts = <16>; - }; - - sctl@101e0000 { - compatible = "arm,primecell"; - reg = <0x101e0000 0x1000>; - }; - - watchdog@101e1000 { - compatible = "arm,primecell"; - reg = <0x101e1000 0x1000>; - interrupts = <0>; - }; - - gpio0: gpio@101e4000 { - compatible = "arm,pl061", "arm,primecell"; - reg = <0x101e4000 0x1000>; - gpio-controller; - interrupts = <6>; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - gpio1: gpio@101e5000 { - compatible = "arm,pl061", "arm,primecell"; - reg = <0x101e5000 0x1000>; - interrupts = <7>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - rtc@101e8000 { - compatible = "arm,pl030", "arm,primecell"; - reg = <0x101e8000 0x1000>; - interrupts = <10>; - }; - - sci@101f0000 { - compatible = "arm,primecell"; - reg = <0x101f0000 0x1000>; - interrupts = <15>; - }; - - ssp@101f4000 { - compatible = "arm,pl022", "arm,primecell"; - reg = <0x101f4000 0x1000>; - interrupts = <11>; - }; - - fpga { - compatible = "arm,versatile-fpga", "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0 0x10000000 0x10000>; - - aaci@4000 { - compatible = "arm,primecell"; - reg = <0x4000 0x1000>; - interrupts = <24>; - }; - mmc@5000 { - compatible = "arm,primecell"; - reg = < 0x5000 0x1000>; - interrupts = <22 34>; - }; - kmi@6000 { - compatible = "arm,pl050", "arm,primecell"; - reg = <0x6000 0x1000>; - interrupt-parent = <&sic>; - interrupts = <3>; - }; - kmi@7000 { - compatible = "arm,pl050", "arm,primecell"; - reg = <0x7000 0x1000>; - interrupt-parent = <&sic>; - interrupts = <4>; - }; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/versatile-pb.dts b/kernel/arch/arm/boot/dts/m7350-un-v3/versatile-pb.dts deleted file mode 100644 index 7e8175269..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/versatile-pb.dts +++ /dev/null @@ -1,50 +0,0 @@ -/include/ "versatile-ab.dts" - -/ { - model = "ARM Versatile PB"; - compatible = "arm,versatile-pb"; - - amba { - gpio2: gpio@101e6000 { - compatible = "arm,pl061", "arm,primecell"; - reg = <0x101e6000 0x1000>; - interrupts = <8>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - gpio3: gpio@101e7000 { - compatible = "arm,pl061", "arm,primecell"; - reg = <0x101e7000 0x1000>; - interrupts = <9>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - fpga { - uart@9000 { - compatible = "arm,pl011", "arm,primecell"; - reg = <0x9000 0x1000>; - interrupt-parent = <&sic>; - interrupts = <6>; - }; - sci@a000 { - compatible = "arm,primecell"; - reg = <0xa000 0x1000>; - interrupt-parent = <&sic>; - interrupts = <5>; - }; - mmc@b000 { - compatible = "arm,primecell"; - reg = <0xb000 0x1000>; - interrupts = <23 34>; - }; - }; - }; -}; - -/include/ "testcases/tests.dtsi" diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/vexpress-v2m-rs1.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v3/vexpress-v2m-rs1.dtsi deleted file mode 100644 index 16076e2d0..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/vexpress-v2m-rs1.dtsi +++ /dev/null @@ -1,201 +0,0 @@ -/* - * ARM Ltd. Versatile Express - * - * Motherboard Express uATX - * V2M-P1 - * - * HBI-0190D - * - * RS1 memory map ("ARM Cortex-A Series memory map" in the board's - * Technical Reference Manual) - * - * WARNING! The hardware described in this file is independent from the - * original variant (vexpress-v2m.dtsi), but there is a strong - * correspondence between the two configurations. - * - * TAKE CARE WHEN MAINTAINING THIS FILE TO PROPAGATE ANY RELEVANT - * CHANGES TO vexpress-v2m.dtsi! - */ - -/ { - aliases { - arm,v2m_timer = &v2m_timer01; - }; - - motherboard { - compatible = "simple-bus"; - arm,v2m-memory-map = "rs1"; - #address-cells = <2>; /* SMB chipselect number and offset */ - #size-cells = <1>; - #interrupt-cells = <1>; - - flash@0,00000000 { - compatible = "arm,vexpress-flash", "cfi-flash"; - reg = <0 0x00000000 0x04000000>, - <4 0x00000000 0x04000000>; - bank-width = <4>; - }; - - psram@1,00000000 { - compatible = "arm,vexpress-psram", "mtd-ram"; - reg = <1 0x00000000 0x02000000>; - bank-width = <4>; - }; - - vram@2,00000000 { - compatible = "arm,vexpress-vram"; - reg = <2 0x00000000 0x00800000>; - }; - - ethernet@2,02000000 { - compatible = "smsc,lan9118", "smsc,lan9115"; - reg = <2 0x02000000 0x10000>; - interrupts = <15>; - phy-mode = "mii"; - reg-io-width = <4>; - smsc,irq-active-high; - smsc,irq-push-pull; - }; - - usb@2,03000000 { - compatible = "nxp,usb-isp1761"; - reg = <2 0x03000000 0x20000>; - interrupts = <16>; - port1-otg; - }; - - iofpga@3,00000000 { - compatible = "arm,amba-bus", "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0 3 0 0x200000>; - - sysreg@010000 { - compatible = "arm,vexpress-sysreg"; - reg = <0x010000 0x1000>; - }; - - sysctl@020000 { - compatible = "arm,sp810", "arm,primecell"; - reg = <0x020000 0x1000>; - }; - - /* PCI-E I2C bus */ - v2m_i2c_pcie: i2c@030000 { - compatible = "arm,versatile-i2c"; - reg = <0x030000 0x1000>; - - #address-cells = <1>; - #size-cells = <0>; - - pcie-switch@60 { - compatible = "idt,89hpes32h8"; - reg = <0x60>; - }; - }; - - aaci@040000 { - compatible = "arm,pl041", "arm,primecell"; - reg = <0x040000 0x1000>; - interrupts = <11>; - }; - - mmci@050000 { - compatible = "arm,pl180", "arm,primecell"; - reg = <0x050000 0x1000>; - interrupts = <9 10>; - }; - - kmi@060000 { - compatible = "arm,pl050", "arm,primecell"; - reg = <0x060000 0x1000>; - interrupts = <12>; - }; - - kmi@070000 { - compatible = "arm,pl050", "arm,primecell"; - reg = <0x070000 0x1000>; - interrupts = <13>; - }; - - v2m_serial0: uart@090000 { - compatible = "arm,pl011", "arm,primecell"; - reg = <0x090000 0x1000>; - interrupts = <5>; - }; - - v2m_serial1: uart@0a0000 { - compatible = "arm,pl011", "arm,primecell"; - reg = <0x0a0000 0x1000>; - interrupts = <6>; - }; - - v2m_serial2: uart@0b0000 { - compatible = "arm,pl011", "arm,primecell"; - reg = <0x0b0000 0x1000>; - interrupts = <7>; - }; - - v2m_serial3: uart@0c0000 { - compatible = "arm,pl011", "arm,primecell"; - reg = <0x0c0000 0x1000>; - interrupts = <8>; - }; - - wdt@0f0000 { - compatible = "arm,sp805", "arm,primecell"; - reg = <0x0f0000 0x1000>; - interrupts = <0>; - }; - - v2m_timer01: timer@110000 { - compatible = "arm,sp804", "arm,primecell"; - reg = <0x110000 0x1000>; - interrupts = <2>; - }; - - v2m_timer23: timer@120000 { - compatible = "arm,sp804", "arm,primecell"; - reg = <0x120000 0x1000>; - }; - - /* DVI I2C bus */ - v2m_i2c_dvi: i2c@160000 { - compatible = "arm,versatile-i2c"; - reg = <0x160000 0x1000>; - - #address-cells = <1>; - #size-cells = <0>; - - dvi-transmitter@39 { - compatible = "sil,sii9022-tpi", "sil,sii9022"; - reg = <0x39>; - }; - - dvi-transmitter@60 { - compatible = "sil,sii9022-cpi", "sil,sii9022"; - reg = <0x60>; - }; - }; - - rtc@170000 { - compatible = "arm,pl031", "arm,primecell"; - reg = <0x170000 0x1000>; - interrupts = <4>; - }; - - compact-flash@1a0000 { - compatible = "arm,vexpress-cf", "ata-generic"; - reg = <0x1a0000 0x100 - 0x1a0100 0xf00>; - reg-shift = <2>; - }; - - clcd@1f0000 { - compatible = "arm,pl111", "arm,primecell"; - reg = <0x1f0000 0x1000>; - interrupts = <14>; - }; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/vexpress-v2m.dtsi b/kernel/arch/arm/boot/dts/m7350-un-v3/vexpress-v2m.dtsi deleted file mode 100644 index a6c9c7c82..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/vexpress-v2m.dtsi +++ /dev/null @@ -1,200 +0,0 @@ -/* - * ARM Ltd. Versatile Express - * - * Motherboard Express uATX - * V2M-P1 - * - * HBI-0190D - * - * Original memory map ("Legacy memory map" in the board's - * Technical Reference Manual) - * - * WARNING! The hardware described in this file is independent from the - * RS1 variant (vexpress-v2m-rs1.dtsi), but there is a strong - * correspondence between the two configurations. - * - * TAKE CARE WHEN MAINTAINING THIS FILE TO PROPAGATE ANY RELEVANT - * CHANGES TO vexpress-v2m-rs1.dtsi! - */ - -/ { - aliases { - arm,v2m_timer = &v2m_timer01; - }; - - motherboard { - compatible = "simple-bus"; - #address-cells = <2>; /* SMB chipselect number and offset */ - #size-cells = <1>; - #interrupt-cells = <1>; - - flash@0,00000000 { - compatible = "arm,vexpress-flash", "cfi-flash"; - reg = <0 0x00000000 0x04000000>, - <1 0x00000000 0x04000000>; - bank-width = <4>; - }; - - psram@2,00000000 { - compatible = "arm,vexpress-psram", "mtd-ram"; - reg = <2 0x00000000 0x02000000>; - bank-width = <4>; - }; - - vram@3,00000000 { - compatible = "arm,vexpress-vram"; - reg = <3 0x00000000 0x00800000>; - }; - - ethernet@3,02000000 { - compatible = "smsc,lan9118", "smsc,lan9115"; - reg = <3 0x02000000 0x10000>; - interrupts = <15>; - phy-mode = "mii"; - reg-io-width = <4>; - smsc,irq-active-high; - smsc,irq-push-pull; - }; - - usb@3,03000000 { - compatible = "nxp,usb-isp1761"; - reg = <3 0x03000000 0x20000>; - interrupts = <16>; - port1-otg; - }; - - iofpga@7,00000000 { - compatible = "arm,amba-bus", "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0 7 0 0x20000>; - - sysreg@00000 { - compatible = "arm,vexpress-sysreg"; - reg = <0x00000 0x1000>; - }; - - sysctl@01000 { - compatible = "arm,sp810", "arm,primecell"; - reg = <0x01000 0x1000>; - }; - - /* PCI-E I2C bus */ - v2m_i2c_pcie: i2c@02000 { - compatible = "arm,versatile-i2c"; - reg = <0x02000 0x1000>; - - #address-cells = <1>; - #size-cells = <0>; - - pcie-switch@60 { - compatible = "idt,89hpes32h8"; - reg = <0x60>; - }; - }; - - aaci@04000 { - compatible = "arm,pl041", "arm,primecell"; - reg = <0x04000 0x1000>; - interrupts = <11>; - }; - - mmci@05000 { - compatible = "arm,pl180", "arm,primecell"; - reg = <0x05000 0x1000>; - interrupts = <9 10>; - }; - - kmi@06000 { - compatible = "arm,pl050", "arm,primecell"; - reg = <0x06000 0x1000>; - interrupts = <12>; - }; - - kmi@07000 { - compatible = "arm,pl050", "arm,primecell"; - reg = <0x07000 0x1000>; - interrupts = <13>; - }; - - v2m_serial0: uart@09000 { - compatible = "arm,pl011", "arm,primecell"; - reg = <0x09000 0x1000>; - interrupts = <5>; - }; - - v2m_serial1: uart@0a000 { - compatible = "arm,pl011", "arm,primecell"; - reg = <0x0a000 0x1000>; - interrupts = <6>; - }; - - v2m_serial2: uart@0b000 { - compatible = "arm,pl011", "arm,primecell"; - reg = <0x0b000 0x1000>; - interrupts = <7>; - }; - - v2m_serial3: uart@0c000 { - compatible = "arm,pl011", "arm,primecell"; - reg = <0x0c000 0x1000>; - interrupts = <8>; - }; - - wdt@0f000 { - compatible = "arm,sp805", "arm,primecell"; - reg = <0x0f000 0x1000>; - interrupts = <0>; - }; - - v2m_timer01: timer@11000 { - compatible = "arm,sp804", "arm,primecell"; - reg = <0x11000 0x1000>; - interrupts = <2>; - }; - - v2m_timer23: timer@12000 { - compatible = "arm,sp804", "arm,primecell"; - reg = <0x12000 0x1000>; - }; - - /* DVI I2C bus */ - v2m_i2c_dvi: i2c@16000 { - compatible = "arm,versatile-i2c"; - reg = <0x16000 0x1000>; - - #address-cells = <1>; - #size-cells = <0>; - - dvi-transmitter@39 { - compatible = "sil,sii9022-tpi", "sil,sii9022"; - reg = <0x39>; - }; - - dvi-transmitter@60 { - compatible = "sil,sii9022-cpi", "sil,sii9022"; - reg = <0x60>; - }; - }; - - rtc@17000 { - compatible = "arm,pl031", "arm,primecell"; - reg = <0x17000 0x1000>; - interrupts = <4>; - }; - - compact-flash@1a000 { - compatible = "arm,vexpress-cf", "ata-generic"; - reg = <0x1a000 0x100 - 0x1a100 0xf00>; - reg-shift = <2>; - }; - - clcd@1f000 { - compatible = "arm,pl111", "arm,primecell"; - reg = <0x1f000 0x1000>; - interrupts = <14>; - }; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/vexpress-v2p-ca15-tc1.dts b/kernel/arch/arm/boot/dts/m7350-un-v3/vexpress-v2p-ca15-tc1.dts deleted file mode 100644 index 941b161ab..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/vexpress-v2p-ca15-tc1.dts +++ /dev/null @@ -1,157 +0,0 @@ -/* - * ARM Ltd. Versatile Express - * - * CoreTile Express A15x2 (version with Test Chip 1) - * Cortex-A15 MPCore (V2P-CA15) - * - * HBI-0237A - */ - -/dts-v1/; - -/ { - model = "V2P-CA15"; - arm,hbi = <0x237>; - compatible = "arm,vexpress,v2p-ca15,tc1", "arm,vexpress,v2p-ca15", "arm,vexpress"; - interrupt-parent = <&gic>; - #address-cells = <1>; - #size-cells = <1>; - - chosen { }; - - aliases { - serial0 = &v2m_serial0; - serial1 = &v2m_serial1; - serial2 = &v2m_serial2; - serial3 = &v2m_serial3; - i2c0 = &v2m_i2c_dvi; - i2c1 = &v2m_i2c_pcie; - }; - - cpus { - #address-cells = <1>; - #size-cells = <0>; - - cpu@0 { - device_type = "cpu"; - compatible = "arm,cortex-a15"; - reg = <0>; - }; - - cpu@1 { - device_type = "cpu"; - compatible = "arm,cortex-a15"; - reg = <1>; - }; - }; - - memory@80000000 { - device_type = "memory"; - reg = <0x80000000 0x40000000>; - }; - - hdlcd@2b000000 { - compatible = "arm,hdlcd"; - reg = <0x2b000000 0x1000>; - interrupts = <0 85 4>; - }; - - memory-controller@2b0a0000 { - compatible = "arm,pl341", "arm,primecell"; - reg = <0x2b0a0000 0x1000>; - }; - - wdt@2b060000 { - compatible = "arm,sp805", "arm,primecell"; - reg = <0x2b060000 0x1000>; - interrupts = <98>; - }; - - gic: interrupt-controller@2c001000 { - compatible = "arm,cortex-a15-gic", "arm,cortex-a9-gic"; - #interrupt-cells = <3>; - #address-cells = <0>; - interrupt-controller; - reg = <0x2c001000 0x1000>, - <0x2c002000 0x100>; - }; - - memory-controller@7ffd0000 { - compatible = "arm,pl354", "arm,primecell"; - reg = <0x7ffd0000 0x1000>; - interrupts = <0 86 4>, - <0 87 4>; - }; - - dma@7ffb0000 { - compatible = "arm,pl330", "arm,primecell"; - reg = <0x7ffb0000 0x1000>; - interrupts = <0 92 4>, - <0 88 4>, - <0 89 4>, - <0 90 4>, - <0 91 4>; - }; - - pmu { - compatible = "arm,cortex-a15-pmu", "arm,cortex-a9-pmu"; - interrupts = <0 68 4>, - <0 69 4>; - }; - - motherboard { - ranges = <0 0 0x08000000 0x04000000>, - <1 0 0x14000000 0x04000000>, - <2 0 0x18000000 0x04000000>, - <3 0 0x1c000000 0x04000000>, - <4 0 0x0c000000 0x04000000>, - <5 0 0x10000000 0x04000000>; - - interrupt-map-mask = <0 0 63>; - interrupt-map = <0 0 0 &gic 0 0 4>, - <0 0 1 &gic 0 1 4>, - <0 0 2 &gic 0 2 4>, - <0 0 3 &gic 0 3 4>, - <0 0 4 &gic 0 4 4>, - <0 0 5 &gic 0 5 4>, - <0 0 6 &gic 0 6 4>, - <0 0 7 &gic 0 7 4>, - <0 0 8 &gic 0 8 4>, - <0 0 9 &gic 0 9 4>, - <0 0 10 &gic 0 10 4>, - <0 0 11 &gic 0 11 4>, - <0 0 12 &gic 0 12 4>, - <0 0 13 &gic 0 13 4>, - <0 0 14 &gic 0 14 4>, - <0 0 15 &gic 0 15 4>, - <0 0 16 &gic 0 16 4>, - <0 0 17 &gic 0 17 4>, - <0 0 18 &gic 0 18 4>, - <0 0 19 &gic 0 19 4>, - <0 0 20 &gic 0 20 4>, - <0 0 21 &gic 0 21 4>, - <0 0 22 &gic 0 22 4>, - <0 0 23 &gic 0 23 4>, - <0 0 24 &gic 0 24 4>, - <0 0 25 &gic 0 25 4>, - <0 0 26 &gic 0 26 4>, - <0 0 27 &gic 0 27 4>, - <0 0 28 &gic 0 28 4>, - <0 0 29 &gic 0 29 4>, - <0 0 30 &gic 0 30 4>, - <0 0 31 &gic 0 31 4>, - <0 0 32 &gic 0 32 4>, - <0 0 33 &gic 0 33 4>, - <0 0 34 &gic 0 34 4>, - <0 0 35 &gic 0 35 4>, - <0 0 36 &gic 0 36 4>, - <0 0 37 &gic 0 37 4>, - <0 0 38 &gic 0 38 4>, - <0 0 39 &gic 0 39 4>, - <0 0 40 &gic 0 40 4>, - <0 0 41 &gic 0 41 4>, - <0 0 42 &gic 0 42 4>; - }; -}; - -/include/ "vexpress-v2m-rs1.dtsi" diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/vexpress-v2p-ca5s.dts b/kernel/arch/arm/boot/dts/m7350-un-v3/vexpress-v2p-ca5s.dts deleted file mode 100644 index 6905e66d4..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/vexpress-v2p-ca5s.dts +++ /dev/null @@ -1,162 +0,0 @@ -/* - * ARM Ltd. Versatile Express - * - * CoreTile Express A5x2 - * Cortex-A5 MPCore (V2P-CA5s) - * - * HBI-0225B - */ - -/dts-v1/; - -/ { - model = "V2P-CA5s"; - arm,hbi = <0x225>; - compatible = "arm,vexpress,v2p-ca5s", "arm,vexpress"; - interrupt-parent = <&gic>; - #address-cells = <1>; - #size-cells = <1>; - - chosen { }; - - aliases { - serial0 = &v2m_serial0; - serial1 = &v2m_serial1; - serial2 = &v2m_serial2; - serial3 = &v2m_serial3; - i2c0 = &v2m_i2c_dvi; - i2c1 = &v2m_i2c_pcie; - }; - - cpus { - #address-cells = <1>; - #size-cells = <0>; - - cpu@0 { - device_type = "cpu"; - compatible = "arm,cortex-a5"; - reg = <0>; - next-level-cache = <&L2>; - }; - - cpu@1 { - device_type = "cpu"; - compatible = "arm,cortex-a5"; - reg = <1>; - next-level-cache = <&L2>; - }; - }; - - memory@80000000 { - device_type = "memory"; - reg = <0x80000000 0x40000000>; - }; - - hdlcd@2a110000 { - compatible = "arm,hdlcd"; - reg = <0x2a110000 0x1000>; - interrupts = <0 85 4>; - }; - - memory-controller@2a150000 { - compatible = "arm,pl341", "arm,primecell"; - reg = <0x2a150000 0x1000>; - }; - - memory-controller@2a190000 { - compatible = "arm,pl354", "arm,primecell"; - reg = <0x2a190000 0x1000>; - interrupts = <0 86 4>, - <0 87 4>; - }; - - scu@2c000000 { - compatible = "arm,cortex-a5-scu"; - reg = <0x2c000000 0x58>; - }; - - timer@2c000600 { - compatible = "arm,cortex-a5-twd-timer"; - reg = <0x2c000600 0x38>; - interrupts = <1 2 0x304>, - <1 3 0x304>; - }; - - gic: interrupt-controller@2c001000 { - compatible = "arm,corex-a5-gic", "arm,cortex-a9-gic"; - #interrupt-cells = <3>; - #address-cells = <0>; - interrupt-controller; - reg = <0x2c001000 0x1000>, - <0x2c000100 0x100>; - }; - - L2: cache-controller@2c0f0000 { - compatible = "arm,pl310-cache"; - reg = <0x2c0f0000 0x1000>; - interrupts = <0 84 4>; - cache-level = <2>; - }; - - pmu { - compatible = "arm,cortex-a5-pmu", "arm,cortex-a9-pmu"; - interrupts = <0 68 4>, - <0 69 4>; - }; - - motherboard { - ranges = <0 0 0x08000000 0x04000000>, - <1 0 0x14000000 0x04000000>, - <2 0 0x18000000 0x04000000>, - <3 0 0x1c000000 0x04000000>, - <4 0 0x0c000000 0x04000000>, - <5 0 0x10000000 0x04000000>; - - interrupt-map-mask = <0 0 63>; - interrupt-map = <0 0 0 &gic 0 0 4>, - <0 0 1 &gic 0 1 4>, - <0 0 2 &gic 0 2 4>, - <0 0 3 &gic 0 3 4>, - <0 0 4 &gic 0 4 4>, - <0 0 5 &gic 0 5 4>, - <0 0 6 &gic 0 6 4>, - <0 0 7 &gic 0 7 4>, - <0 0 8 &gic 0 8 4>, - <0 0 9 &gic 0 9 4>, - <0 0 10 &gic 0 10 4>, - <0 0 11 &gic 0 11 4>, - <0 0 12 &gic 0 12 4>, - <0 0 13 &gic 0 13 4>, - <0 0 14 &gic 0 14 4>, - <0 0 15 &gic 0 15 4>, - <0 0 16 &gic 0 16 4>, - <0 0 17 &gic 0 17 4>, - <0 0 18 &gic 0 18 4>, - <0 0 19 &gic 0 19 4>, - <0 0 20 &gic 0 20 4>, - <0 0 21 &gic 0 21 4>, - <0 0 22 &gic 0 22 4>, - <0 0 23 &gic 0 23 4>, - <0 0 24 &gic 0 24 4>, - <0 0 25 &gic 0 25 4>, - <0 0 26 &gic 0 26 4>, - <0 0 27 &gic 0 27 4>, - <0 0 28 &gic 0 28 4>, - <0 0 29 &gic 0 29 4>, - <0 0 30 &gic 0 30 4>, - <0 0 31 &gic 0 31 4>, - <0 0 32 &gic 0 32 4>, - <0 0 33 &gic 0 33 4>, - <0 0 34 &gic 0 34 4>, - <0 0 35 &gic 0 35 4>, - <0 0 36 &gic 0 36 4>, - <0 0 37 &gic 0 37 4>, - <0 0 38 &gic 0 38 4>, - <0 0 39 &gic 0 39 4>, - <0 0 40 &gic 0 40 4>, - <0 0 41 &gic 0 41 4>, - <0 0 42 &gic 0 42 4>; - }; -}; - -/include/ "vexpress-v2m-rs1.dtsi" diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/vexpress-v2p-ca9.dts b/kernel/arch/arm/boot/dts/m7350-un-v3/vexpress-v2p-ca9.dts deleted file mode 100644 index da778693b..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/vexpress-v2p-ca9.dts +++ /dev/null @@ -1,192 +0,0 @@ -/* - * ARM Ltd. Versatile Express - * - * CoreTile Express A9x4 - * Cortex-A9 MPCore (V2P-CA9) - * - * HBI-0191B - */ - -/dts-v1/; - -/ { - model = "V2P-CA9"; - arm,hbi = <0x191>; - compatible = "arm,vexpress,v2p-ca9", "arm,vexpress"; - interrupt-parent = <&gic>; - #address-cells = <1>; - #size-cells = <1>; - - chosen { }; - - aliases { - serial0 = &v2m_serial0; - serial1 = &v2m_serial1; - serial2 = &v2m_serial2; - serial3 = &v2m_serial3; - i2c0 = &v2m_i2c_dvi; - i2c1 = &v2m_i2c_pcie; - }; - - cpus { - #address-cells = <1>; - #size-cells = <0>; - - cpu@0 { - device_type = "cpu"; - compatible = "arm,cortex-a9"; - reg = <0>; - next-level-cache = <&L2>; - }; - - cpu@1 { - device_type = "cpu"; - compatible = "arm,cortex-a9"; - reg = <1>; - next-level-cache = <&L2>; - }; - - cpu@2 { - device_type = "cpu"; - compatible = "arm,cortex-a9"; - reg = <2>; - next-level-cache = <&L2>; - }; - - cpu@3 { - device_type = "cpu"; - compatible = "arm,cortex-a9"; - reg = <3>; - next-level-cache = <&L2>; - }; - }; - - memory@60000000 { - device_type = "memory"; - reg = <0x60000000 0x40000000>; - }; - - clcd@10020000 { - compatible = "arm,pl111", "arm,primecell"; - reg = <0x10020000 0x1000>; - interrupts = <0 44 4>; - }; - - memory-controller@100e0000 { - compatible = "arm,pl341", "arm,primecell"; - reg = <0x100e0000 0x1000>; - }; - - memory-controller@100e1000 { - compatible = "arm,pl354", "arm,primecell"; - reg = <0x100e1000 0x1000>; - interrupts = <0 45 4>, - <0 46 4>; - }; - - timer@100e4000 { - compatible = "arm,sp804", "arm,primecell"; - reg = <0x100e4000 0x1000>; - interrupts = <0 48 4>, - <0 49 4>; - }; - - watchdog@100e5000 { - compatible = "arm,sp805", "arm,primecell"; - reg = <0x100e5000 0x1000>; - interrupts = <0 51 4>; - }; - - scu@1e000000 { - compatible = "arm,cortex-a9-scu"; - reg = <0x1e000000 0x58>; - }; - - timer@1e000600 { - compatible = "arm,cortex-a9-twd-timer"; - reg = <0x1e000600 0x20>; - interrupts = <1 2 0xf04>, - <1 3 0xf04>; - }; - - gic: interrupt-controller@1e001000 { - compatible = "arm,cortex-a9-gic"; - #interrupt-cells = <3>; - #address-cells = <0>; - interrupt-controller; - reg = <0x1e001000 0x1000>, - <0x1e000100 0x100>; - }; - - L2: cache-controller@1e00a000 { - compatible = "arm,pl310-cache"; - reg = <0x1e00a000 0x1000>; - interrupts = <0 43 4>; - cache-level = <2>; - arm,data-latency = <1 1 1>; - arm,tag-latency = <1 1 1>; - }; - - pmu { - compatible = "arm,cortex-a9-pmu"; - interrupts = <0 60 4>, - <0 61 4>, - <0 62 4>, - <0 63 4>; - }; - - motherboard { - ranges = <0 0 0x40000000 0x04000000>, - <1 0 0x44000000 0x04000000>, - <2 0 0x48000000 0x04000000>, - <3 0 0x4c000000 0x04000000>, - <7 0 0x10000000 0x00020000>; - - interrupt-map-mask = <0 0 63>; - interrupt-map = <0 0 0 &gic 0 0 4>, - <0 0 1 &gic 0 1 4>, - <0 0 2 &gic 0 2 4>, - <0 0 3 &gic 0 3 4>, - <0 0 4 &gic 0 4 4>, - <0 0 5 &gic 0 5 4>, - <0 0 6 &gic 0 6 4>, - <0 0 7 &gic 0 7 4>, - <0 0 8 &gic 0 8 4>, - <0 0 9 &gic 0 9 4>, - <0 0 10 &gic 0 10 4>, - <0 0 11 &gic 0 11 4>, - <0 0 12 &gic 0 12 4>, - <0 0 13 &gic 0 13 4>, - <0 0 14 &gic 0 14 4>, - <0 0 15 &gic 0 15 4>, - <0 0 16 &gic 0 16 4>, - <0 0 17 &gic 0 17 4>, - <0 0 18 &gic 0 18 4>, - <0 0 19 &gic 0 19 4>, - <0 0 20 &gic 0 20 4>, - <0 0 21 &gic 0 21 4>, - <0 0 22 &gic 0 22 4>, - <0 0 23 &gic 0 23 4>, - <0 0 24 &gic 0 24 4>, - <0 0 25 &gic 0 25 4>, - <0 0 26 &gic 0 26 4>, - <0 0 27 &gic 0 27 4>, - <0 0 28 &gic 0 28 4>, - <0 0 29 &gic 0 29 4>, - <0 0 30 &gic 0 30 4>, - <0 0 31 &gic 0 31 4>, - <0 0 32 &gic 0 32 4>, - <0 0 33 &gic 0 33 4>, - <0 0 34 &gic 0 34 4>, - <0 0 35 &gic 0 35 4>, - <0 0 36 &gic 0 36 4>, - <0 0 37 &gic 0 37 4>, - <0 0 38 &gic 0 38 4>, - <0 0 39 &gic 0 39 4>, - <0 0 40 &gic 0 40 4>, - <0 0 41 &gic 0 41 4>, - <0 0 42 &gic 0 42 4>; - }; -}; - -/include/ "vexpress-v2m.dtsi" diff --git a/kernel/arch/arm/boot/dts/m7350-un-v3/zynq-ep107.dts b/kernel/arch/arm/boot/dts/m7350-un-v3/zynq-ep107.dts deleted file mode 100644 index 37ca192fb..000000000 --- a/kernel/arch/arm/boot/dts/m7350-un-v3/zynq-ep107.dts +++ /dev/null @@ -1,52 +0,0 @@ -/* - * Copyright (C) 2011 Xilinx - * - * This software is licensed under the terms of the GNU General Public - * License version 2, as published by the Free Software Foundation, and - * may be copied, distributed, and modified under those terms. - * - * 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. - */ - -/dts-v1/; -/ { - model = "Xilinx Zynq EP107"; - compatible = "xlnx,zynq-ep107"; - #address-cells = <1>; - #size-cells = <1>; - interrupt-parent = <&intc>; - - memory { - device_type = "memory"; - reg = <0x0 0x10000000>; - }; - - chosen { - bootargs = "console=ttyPS0,9600 root=/dev/ram rw initrd=0x800000,8M earlyprintk"; - linux,stdout-path = &uart0; - }; - - amba { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - - intc: interrupt-controller@f8f01000 { - interrupt-controller; - compatible = "arm,gic"; - reg = <0xF8F01000 0x1000>; - #interrupt-cells = <2>; - }; - - uart0: uart@e0000000 { - compatible = "xlnx,xuartps"; - reg = <0xE0000000 0x1000>; - interrupts = <59 0>; - clock = <50000000>; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/msm9625-mtp.dtsi b/kernel/arch/arm/boot/dts/msm9625-mtp.dtsi old mode 100755 new mode 100644 index b2908c42b..79c873fb6 --- a/kernel/arch/arm/boot/dts/msm9625-mtp.dtsi +++ b/kernel/arch/arm/boot/dts/msm9625-mtp.dtsi @@ -12,6 +12,22 @@ &soc { i2c@f9925000 { + charger@57 { + compatible = "summit,smb137c"; + reg = <0x57>; + summit,chg-current-ma = <1500>; + summit,term-current-ma = <50>; + summit,pre-chg-current-ma = <100>; + summit,float-voltage-mv = <4200>; + summit,thresh-voltage-mv = <3000>; + summit,recharge-thresh-mv = <75>; + summit,system-voltage-mv = <4250>; + summit,charging-timeout = <382>; + summit,pre-charge-timeout = <48>; + summit,therm-current-ua = <10>; + summit,temperature-min = <4>; /* 0 C */ + summit,temperature-max = <3>; /* 45 C */ + }; }; wlan0: qca,wlan { @@ -29,17 +45,6 @@ qca,pm-enable-gpios = <&pm8019_gpios 3 0x0>; qca,vdd-io-supply = <&pm8019_l11>; }; - - mp2617 { - cell-index = <0>; - compatible = "mps,mp2617"; - mps,chg-current-ma = <1000>; - mps,chg-vbat-div = <3>; /* Divided by 3 before input */ - mps,chg-en-gpio = <&msmgpio 13 0>; /* refer to board-9625-gpiomux.c */ - mps,chg-ok-gpio = <&msmgpio 71 0>; - mps,chg-m0-gpio = <&msmgpio 12 0>; - mps,chg-m1-gpio = <&msmgpio 17 0>; - }; }; /* PM8019 GPIO and MPP configuration */ @@ -75,14 +80,7 @@ mpp@a000 { /* MPP 1 */ }; - /* [linyunfeng] Detect battery voltage */ mpp@a100 { /* MPP 2 */ - /* channel 17 */ - qcom,mode = <4>; - qcom,ain-route = <1>; /* AMUX 6 */ - qcom,master-en = <1>; - qcom,src-sel = <0>; /* Function constant */ - qcom,invert = <1>; }; mpp@a200 { /* MPP 3 */ diff --git a/kernel/arch/arm/boot/dts/msm9625.dtsi b/kernel/arch/arm/boot/dts/msm9625.dtsi old mode 100755 new mode 100644 index e57b976e8..cfcdad6eb --- a/kernel/arch/arm/boot/dts/msm9625.dtsi +++ b/kernel/arch/arm/boot/dts/msm9625.dtsi @@ -165,9 +165,10 @@ vbus_otg-supply = <&usb_vbus>; qcom,hsusb-otg-phy-type = <2>; - qcom,hsusb-otg-mode = <1>; + qcom,hsusb-otg-mode = <3>; qcom,hsusb-otg-otg-control = <1>; qcom,hsusb-otg-disable-reset; + qcom,hsusb-otg-lpm-on-dev-suspend; qcom,hsusb-otg-delay-lpm-hndshk-on-disconnect; qcom,hsusb-otg-delay-lpm; qcom,hsusb-otg-mpm-dpsehv-int = <49>; @@ -430,28 +431,15 @@ cs-gpios = <&msmgpio 6 0>; - qcom-spi-oled@1 { - compatible = "tplink,oleds90319"; - reg = <1>; - spi-max-frequency = <9600000>; - }; - - }; - - oled { - compatible = "tp,oled_pt"; - qcom,oled_s90319 { - compatible = "qcom,oled_s90319_pt"; - qcom,oled-cs-gpio = <&msmgpio 6 0>; /* refer to board-9625-gpiomux.c */ - qcom,oled-rsx-gpio = <&msmgpio 21 0>; - qcom,oled-reset-gpio = <&msmgpio 20 0>; - qcom,oled-vdd0-gpio = <&msmgpio 22 0>; - qcom,oled-vdd1-gpio = <&msmgpio 23 0>; - qcom,oled-boost-en-gpio = <&msmgpio 61 0>; + ethernet-switch@0 { + compatible = "simtec,ks8851"; + reg = <0>; + interrupt-parent = <&msmgpio>; + interrupts = <75 0>; + spi-max-frequency = <4800000>; }; }; - qcom,wdt@f9017000 { compatible = "qcom,msm-watchdog"; reg = <0xf9017000 0x1000>; @@ -480,6 +468,19 @@ qcom,pmic-arb-channel = <0>; }; + i2c@f9925000 { + cell-index = <3>; + compatible = "qcom,i2c-qup"; + reg = <0xf9925000 0x1000>; + #address-cells = <1>; + #size-cells = <0>; + reg-names = "qup_phys_addr"; + interrupts = <0 97 0>; + interrupt-names = "qup_err_intr"; + qcom,i2c-bus-freq = <100000>; + qcom,i2c-src-freq = <24000000>; + }; + sdcc2: qcom,sdcc@f98a4000 { cell-index = <2>; /* SDC2 SD card slot */ compatible = "qcom,msm-sdcc"; @@ -517,6 +518,31 @@ 1 &intc 0 220 0 2 &msmgpio 66 0x3>; interrupt-names = "core_irq", "bam_irq", "status_irq"; + cd-gpios = <&msmgpio 66 0>; + }; + + sdcc3: qcom,sdcc@f9864000 { + cell-index = <3>; /* SDC3 SDIO slot */ + compatible = "qcom,msm-sdcc"; + reg = <0xf9864000 0x800>, + <0xf9864800 0x100>, + <0xf9844000 0x7000>; + reg-names = "core_mem", "dml_mem", "bam_mem"; + interrupts = <0 127 0>, <0 223 0>; + interrupt-names = "core_irq", "bam_irq"; + + gpios = <&msmgpio 25 0>, + <&msmgpio 24 0>, + <&msmgpio 16 0>, + <&msmgpio 17 0>, + <&msmgpio 18 0>, + <&msmgpio 19 0>; + qcom,gpio-names = "CLK", "CMD", "DAT0", "DAT1", "DAT2", "DAT3"; + + qcom,clk-rates = <400000 25000000 50000000 100000000>; + qcom,sup-voltages = <2950 2950>; + qcom,bus-width = <4>; + qcom,bus-speed-mode = "SDR12", "SDR25", "SDR50", "DDR50"; }; ipa_hw: qcom,ipa@fd4c0000 { @@ -608,6 +634,15 @@ qcom,msm-rng-iface-clk; }; + wcd9xxx_intc: wcd9xxx-irq { + compatible = "qcom,wcd9xxx-irq"; + interrupt-controller; + #interrupt-cells = <1>; + interrupt-parent = <&msmgpio>; + interrupts = <20 0>; + interrupt-names = "cdc-int"; + }; + i2c@f9925000 { cell-index = <3>; compatible = "qcom,i2c-qup"; @@ -617,8 +652,247 @@ reg-names = "qup_phys_addr"; interrupts = <0 97 0>; interrupt-names = "qup_err_intr"; - qcom,i2c-bus-freq = <400000>; - qcom,i2c-src-freq = <19200000>; + qcom,i2c-bus-freq = <100000>; + qcom,i2c-src-freq = <24000000>; + + wcd9xxx_codec@0d{ + compatible = "qcom,wcd9xxx-i2c"; + reg = <0x0d>; + qcom,cdc-reset-gpio = <&msmgpio 22 0>; + 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>; + cdc-vdd-buck-supply = <&pm8019_l11>; + qcom,cdc-vdd-buck-voltage = <1800000 1800000>; + qcom,cdc-vdd-buck-current = <25000>; + + cdc-vdd-tx-h-supply = <&pm8019_l11>; + qcom,cdc-vdd-tx-h-voltage = <1800000 1800000>; + qcom,cdc-vdd-tx-h-current = <25000>; + + cdc-vdd-rx-h-supply = <&pm8019_l11>; + qcom,cdc-vdd-rx-h-voltage = <1800000 1800000>; + qcom,cdc-vdd-rx-h-current = <25000>; + + cdc-vddpx-1-supply = <&pm8019_l11>; + qcom,cdc-vddpx-1-voltage = <1800000 1800000>; + qcom,cdc-vddpx-1-current = <10000>; + + cdc-vdd-a-1p2v-supply = <&pm8019_l9>; + qcom,cdc-vdd-a-1p2v-voltage = <1200000 1200000>; + qcom,cdc-vdd-a-1p2v-current = <10000>; + + cdc-vddcx-1-supply = <&pm8019_l9>; + qcom,cdc-vddcx-1-voltage = <1200000 1200000>; + qcom,cdc-vddcx-1-current = <10000>; + + cdc-vddcx-2-supply = <&pm8019_l9>; + qcom,cdc-vddcx-2-voltage = <1200000 1200000>; + qcom,cdc-vddcx-2-current = <10000>; + + 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>; + qcom,cdc-micbias-cfilt2-mv = <2700>; + 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 = <12288000>; + }; + + wcd9xxx_codec@77{ + compatible = "qcom,wcd9xxx-i2c"; + reg = <0x77>; + }; + + wcd9xxx_codec@66{ + compatible = "qcom,wcd9xxx-i2c"; + reg = <0x66>; + }; + + wcd9xxx_codec@55{ + compatible = "qcom,wcd9xxx-i2c"; + reg = <0x55>; + }; + }; + + sound { + compatible = "qcom,mdm9625-audio-taiko"; + qcom,model = "mdm9625-taiko-i2s-snd-card"; + + qcom,audio-routing = + "RX_BIAS", "MCLK", + "LDO_H", "MCLK", + "Ext Spk Bottom Pos", "LINEOUT1", + "Ext Spk Bottom Neg", "LINEOUT3", + "Ext Spk Top Pos", "LINEOUT2", + "Ext Spk Top Neg", "LINEOUT4", + "AMIC1", "MIC BIAS1 External", + "MIC BIAS1 External", "Handset Mic", + "AMIC2", "MIC BIAS2 External", + "MIC BIAS2 External", "Headset Mic", + "AMIC3", "MIC BIAS3 Internal1", + "MIC BIAS3 Internal1", "ANCRight Headset Mic", + "AMIC4", "MIC BIAS1 Internal2", + "MIC BIAS1 Internal2", "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"; + qcom,taiko-mclk-clk-freq = <12288000>; + prim-i2s-gpio-ws = <&msmgpio 12 0>; + prim-i2s-gpio-din = <&msmgpio 13 0>; + prim-i2s-gpio-dout = <&msmgpio 14 0>; + prim-i2s-gpio-sclk = <&msmgpio 15 0>; + prim-i2s-gpio-mclk = <&msmgpio 71 0>; + }; + + qcom,msm-adsp-loader { + compatible = "qcom,adsp-loader"; + qcom,adsp-state = <2>; + }; + + qcom,msm-pcm { + compatible = "qcom,msm-pcm-dsp"; + qcom,msm-pcm-dsp-id = <0>; + }; + + qcom,msm-pcm-routing { + compatible = "qcom,msm-pcm-routing"; + }; + + qcom,msm-compr-dsp { + compatible = "qcom,msm-compr-dsp"; + }; + + qcom,msm-voip-dsp { + compatible = "qcom,msm-voip-dsp"; + }; + + qcom,msm-pcm-voice { + compatible = "qcom,msm-pcm-voice"; + }; + + qcom,msm-stub-codec { + compatible = "qcom,msm-stub-codec"; + }; + + qcom,msm-dai-fe { + compatible = "qcom,msm-dai-fe"; + }; + + qcom,msm-pcm-afe { + compatible = "qcom,msm-pcm-afe"; + }; + + qcom,msm-pcm-hostless { + compatible = "qcom,msm-pcm-hostless"; + }; + + qcom,msm-voice-host-pcm { + compatible = "qcom,msm-voice-host-pcm"; + }; + + qcom,msm-dai-q6 { + compatible = "qcom,msm-dai-q6"; + qcom,msm-dai-q6-be-afe-pcm-rx { + compatible = "qcom,msm-dai-q6-dev"; + qcom,msm-dai-q6-dev-id = <224>; + }; + + qcom,msm-dai-q6-be-afe-pcm-tx { + compatible = "qcom,msm-dai-q6-dev"; + qcom,msm-dai-q6-dev-id = <225>; + }; + + qcom,msm-dai-q6-afe-proxy-rx { + compatible = "qcom,msm-dai-q6-dev"; + qcom,msm-dai-q6-dev-id = <241>; + }; + + qcom,msm-dai-q6-afe-proxy-tx { + compatible = "qcom,msm-dai-q6-dev"; + qcom,msm-dai-q6-dev-id = <240>; + }; + + qcom,msm-dai-q6-incall-record-rx { + compatible = "qcom,msm-dai-q6-dev"; + qcom,msm-dai-q6-dev-id = <32771>; + }; + + qcom,msm-dai-q6-incall-record-tx { + compatible = "qcom,msm-dai-q6-dev"; + qcom,msm-dai-q6-dev-id = <32772>; + }; + + qcom,msm-dai-q6-incall-music-rx { + compatible = "qcom,msm-dai-q6-dev"; + qcom,msm-dai-q6-dev-id = <32773>; + }; + }; + + qcom,msm-pcm-dtmf { + compatible = "qcom,msm-pcm-dtmf"; + }; + + qcom,msm-dai-stub { + compatible = "qcom,msm-dai-stub"; + }; + + qcom,msm-stub-codec { + compatible = "qcom,msm-stub-codec"; + }; + + qcom,msm-auxpcm { + compatible = "qcom,msm-auxpcm-resource"; + qcom,msm-cpudai-auxpcm-clk = "pcm_clk"; + 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-slot = <1>, <1>; + qcom,msm-cpudai-auxpcm-data = <0>, <0>; + qcom,msm-cpudai-auxpcm-pcm-clk-rate = <2048000>, <2048000>; + + qcom,msm-auxpcm-rx { + qcom,msm-auxpcm-dev-id = <4106>; + compatible = "qcom,msm-auxpcm-dev"; + }; + + qcom,msm-auxpcm-tx { + qcom,msm-auxpcm-dev-id = <4107>; + compatible = "qcom,msm-auxpcm-dev"; + }; + }; + + qcom,msm-dai-mi2s { + compatible = "qcom,msm-dai-mi2s"; + qcom,msm-dai-q6-mi2s-prim { + compatible = "qcom,msm-dai-q6-mi2s"; + qcom,msm-dai-q6-mi2s-dev-id = <0>; + qcom,msm-mi2s-rx-lines = <2>; + qcom,msm-mi2s-tx-lines = <1>; + }; + }; + + qcom,msm-dai-q6 { + compatible = "qcom,msm-dai-q6"; }; qcom,mss { @@ -720,7 +994,7 @@ qcom,msm-mem-hole { compatible = "qcom,msm-mem-hole"; - qcom,memblock-remove = <0x1c00000 0x4800000>; /* Address and Size of Hole */ + qcom,memblock-remove = <0x1300000 0x5500000>; /* Address and Size of Hole */ }; sfpb_spinlock: qcom,ipc-spinlock@fd484000 { @@ -746,28 +1020,6 @@ interrupts = <0 1 0>; }; - /* [houjihai start] gpio keys */ - gpio-keys { - compatible = "gpio-keys"; - autorepeat; - input-name = "gpio-keys"; - key-up { - label = "WPS"; - linux,code = <103>; - gpios = <&msmgpio 14 1>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - key-back { - label = "RESET"; - linux,code = <158>; - gpios = <&msmgpio 15 1>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - }; - /* [houjihai end] */ - }; /include/ "msm-pm8019-rpm-regulator.dtsi" @@ -786,18 +1038,6 @@ qcom,fast-avg-setup = <0>; }; - /* [linyunfeng] Detect battery voltage */ - chan@11 { - label = "vbat"; - reg = <0x11>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - chan@33 { label = "pa_therm0"; reg = <0x33>; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/am3517_mt_ventoux.dts b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/am3517_mt_ventoux.dts deleted file mode 100644 index 5eb26d7d9..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/am3517_mt_ventoux.dts +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Copyright (C) 2011 Ilya Yanok, EmCraft Systems - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. - */ -/dts-v1/; - -/include/ "omap3.dtsi" - -/ { - model = "TeeJet Mt.Ventoux"; - compatible = "teejet,mt_ventoux", "ti,omap3"; - - memory { - device_type = "memory"; - reg = <0x80000000 0x10000000>; /* 256 MB */ - }; - - /* AM35xx doesn't have IVA */ - soc { - iva { - status = "disabled"; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/apq8026-mtp.dts b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/apq8026-mtp.dts deleted file mode 100644 index e14a68568..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/apq8026-mtp.dts +++ /dev/null @@ -1,22 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - - -/dts-v1/; -/include/ "apq8026.dtsi" -/include/ "msm8226-mtp.dtsi" - -/ { - model = "Qualcomm APQ 8026 MTP"; - compatible = "qcom,apq8026-mtp", "qcom,apq8026", "qcom,mtp"; - qcom,msm-id = <199 8 0>; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/apq8026-xpm.dts b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/apq8026-xpm.dts deleted file mode 100644 index 67152af2d..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/apq8026-xpm.dts +++ /dev/null @@ -1,22 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - - -/dts-v1/; -/include/ "apq8026.dtsi" -/include/ "msm8226-cdp.dtsi" - -/ { - model = "Qualcomm APQ 8026 XPM"; - compatible = "qcom,apq8026-xpm", "qcom,apq8026", "qcom,xpm"; - qcom,msm-id = <199 14 0>; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/apq8026.dtsi b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/apq8026.dtsi deleted file mode 100644 index db6576a0d..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/apq8026.dtsi +++ /dev/null @@ -1,24 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/* - * Only 8026-specific property overrides should be placed inside this - * file. Device definitions should be placed inside the msm8226.dtsi - * file. - */ - -/include/ "msm8226.dtsi" - -/ { - model = "Qualcomm APQ 8026"; - compatible = "qcom,apq8026"; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/apq8074-dragonboard.dtsi b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/apq8074-dragonboard.dtsi deleted file mode 100644 index 6b4d1d339..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/apq8074-dragonboard.dtsi +++ /dev/null @@ -1,654 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/include/ "dsi-panel-sharp-qhd-video.dtsi" -/include/ "msm8974-camera-sensor-dragonboard.dtsi" -/include/ "msm8974-leds.dtsi" - -&soc { - serial@f991e000 { - status = "ok"; - }; - - qcom,mdss_dsi_sharp_qhd_video { - status = "ok"; - }; - - qcom,hdmi_tx@fd922100 { - status = "ok"; - }; - - gpio_keys { - compatible = "gpio-keys"; - input-name = "gpio-keys"; - - vol_up { - label = "volume_up"; - gpios = <&pm8941_gpios 5 0x1>; - linux,input-type = <1>; - linux,code = <115>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - - general { - label = "general"; - gpios = <&pm8941_gpios 23 0x1>; - linux,input-type = <1>; - linux,code = <102>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - }; - - bt_ar3002 { - compatible = "qca,ar3002"; - qca,bt-reset-gpio = <&pm8941_gpios 34 0>; - }; - - hsic_hub { - compatible = "qcom,hsic-smsc-hub"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - smsc,reset-gpio = <&pm8941_gpios 8 0x00>; - - hsic_host: hsic@f9a00000 { - compatible = "qcom,hsic-host"; - reg = <0xf9a00000 0x400>; - #address-cells = <0>; - interrupt-parent = <&hsic_host>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 136 0 - 1 &intc 0 148 0 - 2 &msmgpio 144 0x8>; - interrupt-names = "core_irq", "async_irq", "wakeup"; - HSIC_VDDCX-supply = <&pm8841_s2>; - HSIC_GDSC-supply = <&gdsc_usb_hsic>; - hsic,strobe-gpio = <&msmgpio 144 0x00>; - hsic,data-gpio = <&msmgpio 145 0x00>; - hsic,ignore-cal-pad-config; - hsic,strobe-pad-offset = <0x2050>; - hsic,data-pad-offset = <0x2054>; - - qcom,msm-bus,name = "hsic"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,active-only = <0>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <85 512 0 0>, - <85 512 40000 160000>; - }; - }; - - i2c@f9923000 { - status = "ok"; - atmel_mxt_ts@4a { - compatible = "atmel,mxt-ts"; - reg = <0x4a>; - interrupt-parent = <&msmgpio>; - interrupts = <61 0x2>; - vdd_ana-supply = <&pm8941_l18>; - vcc_i2c-supply = <&pm8941_s3>; - atmel,reset-gpio = <&msmgpio 60 0x00>; - atmel,irq-gpio = <&msmgpio 61 0x00>; - atmel,panel-coords = <0 0 566 1067>; - atmel,display-coords = <0 0 540 960>; - atmel,i2c-pull-up; - atmel,cfg_1 { - atmel,family-id = <0x81>; - atmel,variant-id = <0x19>; - atmel,version = <0x10>; - atmel,build = <0xaa>; - atmel,config = [ - /* Object 38, Instance = 0 */ - 0F 02 00 17 04 0C 00 00 - /* Object 7, Instance = 0 */ - 30 FF 19 - /* Object 8, Instance = 0 */ - 1B 00 05 01 00 00 08 08 00 00 - /* Object 9, Instance = 0 */ - 83 00 00 13 0B 00 10 23 01 03 - 0A 0F 01 0B 04 05 28 0A 2B 04 - 36 02 00 00 00 00 8F 28 8F 50 - 12 0F 32 32 02 - /* Object 15, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 - /* Object 18, Instance = 0 */ - 00 00 - /* Object 19, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 - /* Object 23, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 - /* Object 25, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 - /* Object 40, Instance = 0 */ - 00 00 00 00 00 - /* Object 42, Instance = 0 */ - 00 00 00 00 00 00 00 00 - /* Object 46, Instance = 0 */ - 00 03 10 30 00 00 01 00 00 - /* Object 47, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - /* Object 48, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 - ]; - }; - }; - }; - - gen-vkeys { - compatible = "qcom,gen-vkeys"; - label = "atmel_mxt_ts"; - qcom,disp-maxx = <540>; - qcom,disp-maxy = <960>; - qcom,panel-maxx = <566>; - qcom,panel-maxy = <1067>; - qcom,key-codes = <158 139 102 217>; - }; - - sound { - qcom,model = "apq8074-taiko-db-snd-card"; - qcom,hdmi-audio-rx; - - qcom,audio-routing = - "RX_BIAS", "MCLK", - "LDO_H", "MCLK", - "AMIC1", "MIC BIAS1 External", - "MIC BIAS1 External", "Analog Mic4", - "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", - "AMIC5", "MIC BIAS1 External", - "MIC BIAS1 External", "Analog Mic6", - "AMIC6", "MIC BIAS1 External", - "MIC BIAS1 External", "Analog Mic7", - "DMIC1", "MIC BIAS3 External", - "MIC BIAS3 External", "Digital Mic1", - "DMIC2", "MIC BIAS3 External", - "MIC BIAS3 External", "Digital Mic2", - "DMIC3", "MIC BIAS4 External", - "MIC BIAS4 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"; - }; - - qcom,pronto@fb21b000 { - status = "disabled"; - }; - - qcom,iris-fm { - status = "disabled"; - }; - - qcom,wcnss-wlan@fb000000 { - status = "disabled"; - }; - - qcom,smd-wcnss { - status = "disabled"; - }; - - qcom,smsm-wcnss { - status = "disabled"; - }; -}; - -&mdss_fb0 { - qcom,memory-reservation-size = <0x1000000>; /* size 16MB */ -}; - -&sdcc3 { - qcom,sup-voltages = <2000 2000>; - status = "ok"; -}; - -&pm8941_l19 { - regulator-min-microvolt = <3300000>; - regulator-max-microvolt = <3300000>; - qcom,init-voltage = <3300000>; - regulator-always-on; -}; - -&pm8941_l10 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - regulator-always-on; -}; - -&uart7 { - status = "ok"; - qcom,tx-gpio = <&msmgpio 41 0x00>; - qcom,rx-gpio = <&msmgpio 42 0x00>; - qcom,cts-gpio = <&msmgpio 43 0x00>; - qcom,rfr-gpio = <&msmgpio 44 0x00>; -}; - -&usb_otg { - status = "ok"; - qcom,hsusb-otg-otg-control = <2>; - qcom,hsusb-otg-mode = <3>; - vbus_otg-supply = <&pm8941_mvs1>; - qcom,usb2-enable-hsphy2; - qcom,dp-manual-pullup; - - #address-cells = <0>; - interrupt-parent = <&usb_otg>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 134 0 - 1 &intc 0 140 0 - 2 &spmi_bus 0x0 0x0 0x9 0x0>; - interrupt-names = "core_irq", "async_irq", "pmic_id_irq"; -}; - -&usb3 { - qcom,charging-disabled; - vbus_dwc3-supply = <0>; - dwc3@f9200000 { - host-only-mode; - }; -}; - -&slim_msm { - taiko_codec { - qcom,cdc-micbias2-ext-cap; - qcom,cdc-micbias3-ext-cap; - }; -}; - -&pm8941_gpios { - gpio@c000 { /* GPIO 1 */ - qcom,mode = <0>; - qcom,pull = <0>; - qcom,vin-sel = <2>; - qcom,src-sel = <0>; - }; - - gpio@c100 { /* GPIO 2 */ - qcom,mode = <0>; - qcom,pull = <0>; - qcom,vin-sel = <2>; - qcom,src-sel = <0>; - }; - - gpio@c200 { /* GPIO 3 */ - }; - - gpio@c300 { /* GPIO 4 */ - }; - - gpio@c400 { /* GPIO 5 */ - qcom,mode = <0>; - qcom,pull = <0>; - qcom,vin-sel = <2>; - qcom,src-sel = <0>; - }; - - gpio@c500 { /* GPIO 6 */ - /* TUSB3_HUB-RESET */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,output-type = <0>; /* QPNP_PIN_OUT_BUF_CMOS */ - qcom,pull = <0>; /* QPNP_PIN_PULL_30 */ - qcom,vin-sel = <0>; /* QPNP_PIN_VIN0 VPH */ - qcom,out-strength = <2>; /* QPNP_PIN_OUT_STRENGTH_MED */ - qcom,src-sel = <0>; /* QPNP_PIN_SEL_FUNC_CONSTANT */ - qcom,invert = <1>; /* Keep it out of reset */ - qcom,master-en = <1>; - }; - - gpio@c600 { /* GPIO 7 */ - }; - - gpio@c700 { /* GPIO 8 */ - /* HSIC_HUB-RESET */ - qcom,mode = <1>; /* DIG_OUT */ - qcom,pull = <5>; /* PULL_NO */ - qcom,out-strength = <2>; /* STRENGTH_MED */ - qcom,master-en = <1>; - }; - - gpio@c800 { /* GPIO 9 */ - /* GbE_RST_N */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,output-type = <0>; /* QPNP_PIN_OUT_BUF_CMOS */ - qcom,pull = <0>; /* QPNP_PIN_PULL_30 */ - qcom,vin-sel = <0>; /* QPNP_PIN_VIN0 VPH */ - qcom,out-strength = <2>; /* QPNP_PIN_OUT_STRENGTH_MED */ - qcom,src-sel = <0>; /* QPNP_PIN_SEL_FUNC_CONSTANT */ - qcom,invert = <1>; /* Keep it out of reset */ - qcom,master-en = <1>; - }; - - gpio@c900 { /* GPIO 10 */ - /* SATA_RST_N */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,output-type = <0>; /* QPNP_PIN_OUT_BUF_CMOS */ - qcom,pull = <0>; /* QPNP_PIN_PULL_30 */ - qcom,vin-sel = <0>; /* QPNP_PIN_VIN0 VPH */ - qcom,out-strength = <2>; /* QPNP_PIN_OUT_STRENGTH_MED */ - qcom,src-sel = <0>; /* QPNP_PIN_SEL_FUNC_CONSTANT */ - qcom,invert = <1>; /* Keep it out of reset */ - qcom,master-en = <1>; - }; - - gpio@ca00 { /* GPIO 11 */ - }; - - gpio@cb00 { /* GPIO 12 */ - }; - - gpio@cc00 { /* GPIO 13 */ - }; - - gpio@cd00 { /* GPIO 14 */ - }; - - gpio@ce00 { /* GPIO 15 */ - qcom,mode = <1>; - qcom,output-type = <0>; - qcom,pull = <5>; - qcom,vin-sel = <2>; - qcom,out-strength = <3>; - qcom,src-sel = <2>; - qcom,master-en = <1>; - }; - - gpio@cf00 { /* GPIO 16 */ - }; - - gpio@d000 { /* GPIO 17 */ - }; - - gpio@d100 { /* GPIO 18 */ - }; - - gpio@d200 { /* GPIO 19 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,output-type = <0>; /* QPNP_PIN_OUT_BUF_CMOS */ - qcom,pull = <5>; /* QPNP_PIN_PULL_NO */ - qcom,vin-sel = <2>; /* QPNP_PIN_VIN2 */ - qcom,out-strength = <2>; /* QPNP_PIN_OUT_STRENGTH_MED */ - qcom,src-sel = <0>; /* QPNP_PIN_SEL_FUNC_CONSTANT */ - qcom,master-en = <1>; - }; - - gpio@d300 { /* GPIO 20 */ - }; - - gpio@d400 { /* GPIO 21 */ - }; - - gpio@d500 { /* GPIO 22 */ - }; - - gpio@d600 { /* GPIO 23 */ - }; - - gpio@d700 { /* GPIO 24 */ - }; - - gpio@d800 { /* GPIO 25 */ - }; - - gpio@d900 { /* GPIO 26 */ - }; - - gpio@da00 { /* GPIO 27 */ - }; - - gpio@db00 { /* GPIO 28 */ - }; - - gpio@dc00 { /* GPIO 29 */ - qcom,pull = <0>; /* set to default pull */ - qcom,master-en = <1>; - qcom,vin-sel = <2>; /* select 1.8 V source */ - }; - - gpio@dd00 { /* GPIO 30 */ - }; - - gpio@de00 { /* GPIO 31 */ - }; - - gpio@df00 { /* GPIO 32 */ - }; - - gpio@e000 { /* GPIO 33 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,output-type = <0>; /* QPNP_PIN_OUT_BUF_CMOS */ - qcom,pull = <5>; /* QPNP_PIN_PULL_NO */ - qcom,vin-sel = <2>; /* QPNP_PIN_VIN2 */ - qcom,out-strength = <2>; /* QPNP_PIN_OUT_STRENGTH_MED */ - qcom,src-sel = <0>; /* QPNP_PIN_SEL_FUNC_CONSTANT */ - qcom,invert = <1>; - qcom,master-en = <1>; - }; - - gpio@e100 { /* GPIO 34 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,output-type = <0>; /* QPNP_PIN_OUT_BUF_CMOS */ - qcom,pull = <5>; /* QPNP_PIN_PULL_NO */ - qcom,vin-sel = <2>; /* QPNP_PIN_VIN2 */ - qcom,out-strength = <2>; /* QPNP_PIN_OUT_STRENGTH_MED */ - qcom,src-sel = <0>; /* QPNP_PIN_SEL_FUNC_CONSTANT */ - qcom,invert = <0>; - qcom,master-en = <1>; - }; - - gpio@e200 { /* GPIO 35 */ - }; - - gpio@e300 { /* GPIO 36 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,output-type = <0>; /* QPNP_PIN_OUT_BUF_CMOS */ - qcom,pull = <5>; /* QPNP_PIN_PULL_NO */ - qcom,vin-sel = <2>; /* QPNP_PIN_VIN2 */ - qcom,out-strength = <3>; /* QPNP_PIN_OUT_STRENGTH_HIGH */ - qcom,src-sel = <3>; /* QPNP_PIN_SEL_FUNC_2 */ - qcom,master-en = <1>; - }; -}; - -&pm8941_mpps { - - mpp@a000 { /* MPP 1 */ - }; - - mpp@a100 { /* MPP 2 */ - }; - - mpp@a200 { /* MPP 3 */ - }; - - mpp@a300 { /* MPP 4 */ - }; - - mpp@a400 { /* MPP 5 */ - }; - - mpp@a500 { /* MPP 6 */ - }; - - mpp@a600 { /* MPP 7 */ - }; - - mpp@a700 { /* MPP 8 */ - }; -}; - -&pm8841_mpps { - - mpp@a000 { /* MPP 1 */ - }; - - mpp@a100 { /* MPP 2 */ - }; - - mpp@a200 { /* MPP 3*/ - }; - - mpp@a300 { /* MPP 4*/ - }; -}; - -&spi_epm { - epm-adc@0 { - compatible = "cy,epm-adc-cy8c5568lti-114"; - reg = <0>; - interrupt-parent = <&msmgpio>; - spi-max-frequency = <960000>; - qcom,channels = <31>; - qcom,gain = <50 50 50 50 50 100 50 50 50 50 - 50 50 50 50 100 50 50 50 50 100 - 50 50 50 100 50 50 50 1 1 1 - 1>; - qcom,rsense = <40 10 10 25 10 1000 75 25 10 25 - 33 500 200 10 500 100 33 200 25 100 - 75 500 50 200 5 5 3 1 1 1 - 1>; - qcom,channel-type = <0xf0000000>; - }; -}; - -&spmi_bus { - qcom,pm8941@1 { - qcom,leds@d000 { - qcom,rgb_2 { - status = "ok"; - qcom,default-state = "on"; - qcom,turn-off-delay-ms = <1000>; - }; - }; - - qcom,leds@d800 { - status = "okay"; - qcom,wled_0 { - label = "wled"; - linux,name = "wled:backlight"; - linux,default-trigger = "bkl-trigger"; - qcom,cs-out-en; - qcom,op-fdbck = <1>; - qcom,default-state = "on"; - qcom,max-current = <20>; - qcom,ctrl-delay-us = <0>; - qcom,boost-curr-lim = <3>; - qcom,cp-sel = <0>; - qcom,switch-freq = <2>; - qcom,ovp-val = <1>; - qcom,num-strings = <1>; - qcom,id = <0>; - }; - }; - }; -}; - -&pm8941_chg { - status = "ok"; - - qcom,charging-disabled; - - qcom,chgr@1000 { - status = "ok"; - }; - - qcom,buck@1100 { - status = "ok"; - }; - - qcom,usb-chgpth@1300 { - status = "ok"; - }; - - qcom,dc-chgpth@1400 { - status = "ok"; - }; - - qcom,boost@1500 { - status = "ok"; - }; - - qcom,chg-misc@1600 { - status = "ok"; - }; -}; - -&sdhc_1 { - vdd-supply = <&pm8941_l20>; - vdd-io-supply = <&pm8941_s3>; - - qcom,vdd-always-on; - qcom,vdd-lpm-sup; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <800 500000>; - - qcom,vdd-io-always-on; - qcom,vdd-io-voltage-level = <1800000 1800000>; - qcom,vdd-io-current-level = <250 154000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,nonremovable; - status = "ok"; -}; - -&sdhc_2 { - #address-cells = <0>; - interrupt-parent = <&sdhc_2>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 125 0 - 1 &intc 0 221 0 - 2 &msmgpio 62 0x3>; - interrupt-names = "hc_irq", "pwr_irq", "status_irq"; - cd-gpios = <&msmgpio 62 0x1>; - - vdd-supply = <&pm8941_l21>; - vdd-io-supply = <&pm8941_l13>; - - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <9000 800000>; - - qcom,vdd-io-voltage-level = <1800000 2950000>; - qcom,vdd-io-current-level = <6 22000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - status = "ok"; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/apq8074-v1.dtsi b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/apq8074-v1.dtsi deleted file mode 100644 index c4e7b7c3c..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/apq8074-v1.dtsi +++ /dev/null @@ -1,48 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/* - * As a general rule, only version-specific property overrides should be placed - * inside this file. However, device definitions should be placed inside the - * msm8974.dtsi file. - */ - -/include/ "msm8974-v1.dtsi" - -&soc { - qcom,qseecom@a700000 { - compatible = "qcom,qseecom"; - reg = <0x0a700000 0x500000>; - reg-names = "secapp-region"; - qcom,disk-encrypt-pipe-pair = <2>; - qcom,hlos-ce-hw-instance = <1>; - qcom,qsee-ce-hw-instance = <0>; - qcom,msm-bus,name = "qseecom-noc"; - qcom,msm-bus,num-cases = <4>; - qcom,msm-bus,active-only = <0>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <55 512 0 0>, - <55 512 3936000 393600>, - <55 512 3936000 393600>, - <55 512 3936000 393600>; - }; -}; - -&memory_hole { - qcom,memblock-remove = <0x0a700000 0x5800000>; /* Address and size of the hole */ -}; - -&qseecom { - status = "disabled"; -}; - diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/apq8074-v2-dragonboard.dts b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/apq8074-v2-dragonboard.dts deleted file mode 100644 index 5a6f5f3bf..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/apq8074-v2-dragonboard.dts +++ /dev/null @@ -1,22 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; - -/include/ "apq8074-v2.dtsi" -/include/ "apq8074-dragonboard.dtsi" - -/ { - model = "Qualcomm APQ 8074v2 DRAGONBOARD"; - compatible = "qcom,apq8074-dragonboard", "qcom,apq8074", "qcom,dragonboard"; - qcom,msm-id = <184 10 0x20000>; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/apq8074-v2-liquid.dts b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/apq8074-v2-liquid.dts deleted file mode 100644 index 4ec1cdd17..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/apq8074-v2-liquid.dts +++ /dev/null @@ -1,34 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; - -/include/ "apq8074-v2.dtsi" -/include/ "msm8974-liquid.dtsi" - -/ { - model = "Qualcomm APQ 8074v2 LIQUID"; - compatible = "qcom,apq8074-liquid", "qcom,apq8074", "qcom,liquid"; - qcom,msm-id = <184 9 0x20000>; -}; - -&usb3 { - interrupt-parent = <&usb3>; - interrupts = <0 1>; - #interrupt-cells = <1>; - interrupt-map-mask = <0x0 0xffffffff>; - interrupt-map = <0x0 0 &intc 0 133 0 - 0x0 1 &spmi_bus 0x0 0x0 0x9 0x0>; - interrupt-names = "hs_phy_irq", "pmic_id_irq"; - - qcom,misc-ref = <&pm8941_misc>; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/apq8074-v2.dtsi b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/apq8074-v2.dtsi deleted file mode 100644 index 76eb14b96..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/apq8074-v2.dtsi +++ /dev/null @@ -1,52 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/* - * As a general rule, only version-specific property overrides should be placed - * inside this file. However, device definitions should be placed inside the - * msm8974.dtsi file. - */ - -/include/ "msm8974-v2.dtsi" - -&soc { - qcom,qseecom@a700000 { - compatible = "qcom,qseecom"; - reg = <0x0a700000 0x500000>; - reg-names = "secapp-region"; - qcom,disk-encrypt-pipe-pair = <2>; - qcom,hlos-ce-hw-instance = <1>; - qcom,qsee-ce-hw-instance = <0>; - qcom,msm-bus,name = "qseecom-noc"; - qcom,msm-bus,num-cases = <4>; - qcom,msm-bus,active-only = <0>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <55 512 0 0>, - <55 512 3936000 393600>, - <55 512 3936000 393600>, - <55 512 3936000 393600>; - }; - - sound { - compatible = "qcom,apq8074-audio-taiko"; - }; -}; - -&memory_hole { - qcom,memblock-remove = <0x0a700000 0x5800000>; /* Address and size of the hole */ -}; - -&qseecom { - status = "disabled"; -}; - diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/apq8084-ion.dtsi b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/apq8084-ion.dtsi deleted file mode 100644 index ea954b89c..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/apq8084-ion.dtsi +++ /dev/null @@ -1,31 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -&soc { - qcom,ion { - compatible = "qcom,msm-ion"; - #address-cells = <1>; - #size-cells = <0>; - - qcom,ion-heap@30 { /* SYSTEM HEAP */ - reg = <30>; - }; - - qcom,ion-heap@21 { /* SYSTEM CONTIG HEAP */ - reg = <21>; - }; - - qcom,ion-heap@25 { /* IOMMU HEAP */ - reg = <25>; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/apq8084-regulator.dtsi b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/apq8084-regulator.dtsi deleted file mode 100644 index 998b46906..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/apq8084-regulator.dtsi +++ /dev/null @@ -1,377 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - - -/* QPNP controlled regulators: */ - -&spmi_bus { - qcom,pma8084@1 { - pma8084_s1: regulator@1400 { - regulator-min-microvolt = <1050000>; - regulator-max-microvolt = <1050000>; - qcom,enable-time = <500>; - qcom,pull-down-enable = <1>; - regulator-always-on; - qcom,system-load = <100000>; - status = "okay"; - }; - - /* PMA8084 S2 + S12 = 2 phase VDD_CX supply */ - pma8084_s2: regulator@1700 { - regulator-min-microvolt = <1050000>; - regulator-max-microvolt = <1050000>; - qcom,enable-time = <500>; - qcom,pull-down-enable = <1>; - regulator-always-on; - qcom,system-load = <100000>; - status = "okay"; - }; - - pma8084_s3: regulator@1a00 { - regulator-min-microvolt = <1300000>; - regulator-max-microvolt = <1300000>; - qcom,enable-time = <500>; - qcom,pull-down-enable = <1>; - regulator-always-on; - qcom,system-load = <100000>; - status = "okay"; - }; - - pma8084_s4: regulator@1d00 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,enable-time = <500>; - qcom,pull-down-enable = <1>; - regulator-always-on; - qcom,system-load = <100000>; - status = "okay"; - }; - - pma8084_s5: regulator@2000 { - regulator-min-microvolt = <2150000>; - regulator-max-microvolt = <2150000>; - qcom,enable-time = <500>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - /* PMA8084 S6 + S7 = 2 phase VDD_GFX supply */ - pma8084_s6: regulator@2300 { - regulator-min-microvolt = <815000>; - regulator-max-microvolt = <900000>; - qcom,enable-time = <500>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - /* PMA8084 S8 + S9 + S10 + S11 = 4 phase VDD_APC supply */ - pma8084_s8: regulator@2900 { - regulator-min-microvolt = <500000>; - regulator-max-microvolt = <1100000>; - qcom,enable-time = <500>; - qcom,pull-down-enable = <1>; - regulator-always-on; - qcom,system-load = <100000>; - status = "okay"; - }; - - /* Output of PMA8084 L1 and L11 is tied together. */ - pma8084_l1: regulator@4000 { - parent-supply = <&pma8084_s3>; - regulator-min-microvolt = <1225000>; - regulator-max-microvolt = <1225000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - regulator-always-on; - qcom,system-load = <10000>; - status = "okay"; - }; - - pma8084_l2: regulator@4100 { - parent-supply = <&pma8084_s3>; - regulator-min-microvolt = <1200000>; - regulator-max-microvolt = <1200000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l3: regulator@4200 { - parent-supply = <&pma8084_s3>; - regulator-min-microvolt = <1225000>; - regulator-max-microvolt = <1225000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l4: regulator@4300 { - parent-supply = <&pma8084_s3>; - regulator-min-microvolt = <1000000>; - regulator-max-microvolt = <1000000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l6: regulator@4500 { - parent-supply = <&pma8084_s5>; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l8: regulator@4700 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l9: regulator@4800 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l10: regulator@4900 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l12: regulator@4b00 { - parent-supply = <&pma8084_s5>; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l13: regulator@4c00 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <2950000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l14: regulator@4d00 { - parent-supply = <&pma8084_s5>; - regulator-min-microvolt = <1225000>; - regulator-max-microvolt = <1225000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l15: regulator@4e00 { - parent-supply = <&pma8084_s5>; - regulator-min-microvolt = <1200000>; - regulator-max-microvolt = <1200000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l16: regulator@4f00 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l17: regulator@5000 { - regulator-min-microvolt = <2800000>; - regulator-max-microvolt = <2800000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l18: regulator@5100 { - regulator-min-microvolt = <2850000>; - regulator-max-microvolt = <2850000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l19: regulator@5200 { - regulator-min-microvolt = <2950000>; - regulator-max-microvolt = <2950000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l20: regulator@5300 { - regulator-min-microvolt = <2950000>; - regulator-max-microvolt = <2950000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l21: regulator@5400 { - regulator-min-microvolt = <2950000>; - regulator-max-microvolt = <2950000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l22: regulator@5500 { - regulator-min-microvolt = <3000000>; - regulator-max-microvolt = <3000000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l23: regulator@5600 { - regulator-min-microvolt = <2700000>; - regulator-max-microvolt = <2700000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l24: regulator@5700 { - regulator-min-microvolt = <3075000>; - regulator-max-microvolt = <3075000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l25: regulator@5800 { - regulator-min-microvolt = <2100000>; - regulator-max-microvolt = <2100000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l26: regulator@5900 { - parent-supply = <&pma8084_s5>; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l27: regulator@5a00 { - parent-supply = <&pma8084_s3>; - regulator-min-microvolt = <1050000>; - regulator-max-microvolt = <1050000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_lvs1: regulator@8000 { - parent-supply = <&pma8084_s4>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_lvs2: regulator@8100 { - parent-supply = <&pma8084_s4>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_lvs3: regulator@8200 { - parent-supply = <&pma8084_s4>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_lvs4: regulator@8300 { - parent-supply = <&pma8084_s4>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_mvs1: regulator@8400 { - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - }; -}; - -&rpm_bus { - rpm-regulator-smpb1 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "smpb"; - qcom,resource-id = <1>; - qcom,regulator-type = <1>; - qcom,hpm-min-load = <100000>; - - pma8084_s1_ao: regulator-s1-ao { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8084_s1_ao"; - qcom,set = <1>; - regulator-min-microvolt = <675000>; - regulator-max-microvolt = <1050000>; - }; - }; - - rpm-regulator-smpb2 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "smpb"; - qcom,resource-id = <2>; - qcom,regulator-type = <1>; - qcom,hpm-min-load = <100000>; - - pma8084_s2_corner_ao: regulator-s2-corner-ao { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8084_s2_corner_ao"; - qcom,set = <1>; - regulator-min-microvolt = <1>; - regulator-max-microvolt = <7>; - qcom,use-voltage-corner; - }; - }; - - rpm-regulator-ldoa12 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <12>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - - pma8084_l12_ao: regulator-l12-ao { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8084_l12_ao"; - qcom,set = <1>; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/apq8084-sim.dts b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/apq8084-sim.dts deleted file mode 100644 index e206d4dd0..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/apq8084-sim.dts +++ /dev/null @@ -1,173 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; - -/include/ "apq8084.dtsi" - -/ { - model = "Qualcomm APQ 8084 Simulator"; - compatible = "qcom,apq8084-sim", "qcom,apq8084", "qcom,sim"; - qcom,msm-id = <178 0 0>; - - aliases { - serial0 = &uart0; - }; -}; - -&soc { - uart0: serial@f991f000 { - status = "ok"; - }; -}; - -&sdcc1 { - qcom,vdd-always-on; - qcom,vdd-lpm-sup; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <800 500000>; - - qcom,vdd-io-always-on; - qcom,vdd-io-voltage-level = <1800000 1800000>; - qcom,vdd-io-current-level = <250 154000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 20000000 25000000 50000000 100000000 200000000>; - qcom,sup-voltages = <2950 2950>; - qcom,nonremovable; - qcom,bus-speed-mode = "HS200_1p8v", "DDR_1p8v"; - - status = "ok"; -}; - -&sdcc2 { - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <9000 800000>; - qcom,vdd-io-voltage-level = <1800000 2950000>; - qcom,vdd-io-current-level = <6 22000>; - qcom,vdd-io-lpm-sup; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 20000000 25000000 50000000 100000000 200000000>; - qcom,sup-voltages = <2950 2950>; - qcom,xpc; - qcom,bus-speed-mode = "SDR12", "SDR25", "SDR50", "DDR50", "SDR104"; - qcom,current-limit = <800>; - - status = "ok"; -}; - -&pma8084_gpios { - gpio@c000 { /* GPIO 1 */ - }; - - gpio@c100 { /* GPIO 2 */ - }; - - gpio@c200 { /* GPIO 3 */ - }; - - gpio@c300 { /* GPIO 4 */ - }; - - gpio@c400 { /* GPIO 5 */ - }; - - gpio@c500 { /* GPIO 6 */ - }; - - gpio@c600 { /* GPIO 7 */ - }; - - gpio@c700 { /* GPIO 8 */ - }; - - gpio@c800 { /* GPIO 9 */ - }; - - gpio@c900 { /* GPIO 10 */ - }; - - gpio@ca00 { /* GPIO 11 */ - }; - - gpio@cb00 { /* GPIO 12 */ - }; - - gpio@cc00 { /* GPIO 13 */ - }; - - gpio@cd00 { /* GPIO 14 */ - }; - - gpio@ce00 { /* GPIO 15 */ - }; - - gpio@cf00 { /* GPIO 16 */ - }; - - gpio@d000 { /* GPIO 17 */ - }; - - gpio@d100 { /* GPIO 18 */ - }; - - gpio@d200 { /* GPIO 19 */ - }; - - gpio@d300 { /* GPIO 20 */ - }; - - gpio@d400 { /* GPIO 21 */ - }; - - gpio@d500 { /* GPIO 22 */ - }; -}; - -&pma8084_mpps { - mpp@a000 { /* MPP 1 */ - }; - - mpp@a100 { /* MPP 2 */ - }; - - mpp@a200 { /* MPP 3 */ - }; - - mpp@a300 { /* MPP 4 */ - }; - - mpp@a400 { /* MPP 5 */ - }; - - mpp@a500 { /* MPP 6 */ - }; - - mpp@a600 { /* MPP 7 */ - }; - - mpp@a700 { /* MPP 8 */ - }; -}; - -&usb3 { - qcom,skip-charger-detection; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/apq8084-smp2p.dtsi b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/apq8084-smp2p.dtsi deleted file mode 100644 index b1d21ffd7..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/apq8084-smp2p.dtsi +++ /dev/null @@ -1,82 +0,0 @@ -/* Copyright (c) 2013, 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. - */ -&soc { - qcom,smp2p-adsp { - compatible = "qcom,smp2p"; - reg = <0xf9011008 0x4>; - qcom,remote-pid = <2>; - qcom,irq-bitmask = <0x400>; - interrupts = <0 158 1>; - }; - - smp2pgpio_smp2p_7_in: qcom,smp2pgpio-smp2p-7-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <7>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_7_in { - compatible = "qcom,smp2pgpio_test_smp2p_7_in"; - gpios = <&smp2pgpio_smp2p_7_in 0 0>; - }; - - smp2pgpio_smp2p_7_out: qcom,smp2pgpio-smp2p-7-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <7>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_7_out { - compatible = "qcom,smp2pgpio_test_smp2p_7_out"; - gpios = <&smp2pgpio_smp2p_7_out 0 0>; - }; - - smp2pgpio_smp2p_2_in: qcom,smp2pgpio-smp2p-2-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <2>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_2_in { - compatible = "qcom,smp2pgpio_test_smp2p_2_in"; - gpios = <&smp2pgpio_smp2p_2_in 0 0>; - }; - - smp2pgpio_smp2p_2_out: qcom,smp2pgpio-smp2p-2-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <2>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_2_out { - compatible = "qcom,smp2pgpio_test_smp2p_2_out"; - gpios = <&smp2pgpio_smp2p_2_out 0 0>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/apq8084.dtsi b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/apq8084.dtsi deleted file mode 100644 index b39f5690a..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/apq8084.dtsi +++ /dev/null @@ -1,276 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/include/ "skeleton64.dtsi" - -/ { - model = "Qualcomm APQ 8084"; - compatible = "qcom,apq8084"; - interrupt-parent = <&intc>; - soc: soc { }; -}; - -/include/ "apq8084-ion.dtsi" -/include/ "apq8084-smp2p.dtsi" - -&soc { - #address-cells = <1>; - #size-cells = <1>; - ranges = <0 0 0 0xffffffff>; - - intc: interrupt-controller@f9000000 { - compatible = "qcom,msm-qgic2"; - interrupt-controller; - #interrupt-cells = <3>; - reg = <0xF9000000 0x1000>, - <0xF9002000 0x1000>; - }; - - msmgpio: gpio@fd510000 { - compatible = "qcom,msm-gpio"; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - reg = <0xfd510000 0x4000>; - ngpio = <146>; - interrupts = <0 208 0>; - qcom,direct-connect-irqs = <8>; - }; - - timer { - compatible = "arm,armv7-timer"; - interrupts = <1 2 0 1 3 0>; - clock-frequency = <19200000>; - }; - - serial@f991f000 { - compatible = "qcom,msm-lsuart-v14"; - reg = <0xf991f000 0x1000>; - interrupts = <0 109 0>; - status = "disabled"; - }; - - qcom,cache_erp { - compatible = "qcom,cache_erp"; - interrupts = <1 9 0>, <0 2 0>; - interrupt-names = "l1_irq", "l2_irq"; - }; - - qcom,cache_dump { - compatible = "qcom,cache_dump"; - qcom,l1-dump-size = <0x100000>; - qcom,l2-dump-size = <0x500000>; - qcom,memory-reservation-type = "EBI1"; - qcom,memory-reservation-size = <0x600000>; /* 6M EBI1 buffer */ - }; - - rpm_bus: qcom,rpm-smd { - compatible = "qcom,rpm-smd"; - rpm-channel-name = "rpm_requests"; - rpm-channel-type = <15>; /* SMD_APPS_RPM */ - rpm-standalone; - }; - - qcom,msm-imem@fe805000 { - compatible = "qcom,msm-imem"; - reg = <0xfe805000 0x1000>; /* Address and size of IMEM */ - }; - - qcom,msm-rtb { - compatible = "qcom,msm-rtb"; - qcom,memory-reservation-type = "EBI1"; - qcom,memory-reservation-size = <0x100000>; /* 1M EBI1 buffer */ - }; - - sdcc1: qcom,sdcc@f9824000 { - cell-index = <1>; /* SDC1 eMMC slot */ - compatible = "qcom,msm-sdcc"; - reg = <0xf9824000 0x800>; - reg-names = "core_mem"; - interrupts = <0 123 0>; - interrupt-names = "core_irq"; - - qcom,bus-width = <8>; - status = "disabled"; - }; - - sdcc2: qcom,sdcc@f98a4000 { - cell-index = <2>; /* SDC2 SD card slot */ - compatible = "qcom,msm-sdcc"; - reg = <0xf98a4000 0x800>; - reg-names = "core_mem"; - interrupts = <0 125 0>; - interrupt-names = "core_irq"; - - - qcom,bus-width = <4>; - status = "disabled"; - }; - - qcom,sps@f9980000 { - compatible = "qcom,msm_sps"; - reg = <0xf9984000 0x15000>, - <0xf9999000 0xb000>; - interrupts = <0 94 0>; - qcom,pipe-attr-ee; - }; - - spmi_bus: qcom,spmi@fc4c0000 { - cell-index = <0>; - 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,not-wakeup; - qcom,pmic-arb-ee = <0>; - qcom,pmic-arb-channel = <0>; - #address-cells = <1>; - #size-cells = <0>; - interrupt-controller; - #interrupt-cells = <3>; - }; - - i2c_0: i2c@f9925000 { /* BLSP1 QUP3 */ - cell-index = <0>; - compatible = "qcom,i2c-qup"; - #address-cells = <1>; - #size-cells = <0>; - reg-names = "qup_phys_addr"; - reg = <0xf9925000 0x1000>; - interrupt-names = "qup_err_intr"; - interrupts = <0 97 0>; - qcom,i2c-bus-freq = <100000>; - qcom,i2c-src-freq = <50000000>; - qcom,sda-gpio = <&msmgpio 10 0>; - qcom,scl-gpio = <&msmgpio 11 0>; - }; - - usb3: qcom,ssusb@f9200000 { - compatible = "qcom,dwc-usb3-msm"; - reg = <0xf9200000 0xfc000>, - <0xfd4ab000 0x4>; - #address-cells = <1>; - #size-cells = <1>; - ranges; - interrupts = <0 133 0>; - interrupt-names = "hs_phy_irq"; - ssusb_vdd_dig-supply = <&pma8084_s1>; - SSUSB_1p8-supply = <&pma8084_l6>; - hsusb_vdd_dig-supply = <&pma8084_s1>; - HSUSB_1p8-supply = <&pma8084_l6>; - HSUSB_3p3-supply = <&pma8084_l24>; - qcom,dwc-usb3-msm-dbm-eps = <4>; - qcom,vdd-voltage-level = <0 900000 1050000>; - - dwc3@f9200000 { - compatible = "synopsys,dwc3"; - reg = <0xf9200000 0xfc000>; - interrupt-parent = <&intc>; - interrupts = <0 131 0>, <0 179 0>; - interrupt-names = "irq", "otg_irq"; - tx-fifo-resize; - }; - }; - - android_usb { - compatible = "qcom,android-usb"; - }; - - 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>; - - partition@0 { - reg = <0x0 0x180000>; - qcom,ocmem-part-name = "graphics"; - qcom,ocmem-part-min = <0x80000>; - }; - - partition@80000 { - reg = <0x180000 0x80000>; - qcom,ocmem-part-name = "lp_audio"; - qcom,ocmem-part-min = <0x80000>; - }; - - partition@100000 { - reg = <0x180000 0x80000>; - qcom,ocmem-part-name = "video"; - qcom,ocmem-part-min = <0x55000>; - }; - - }; - - memory_hole: qcom,msm-mem-hole { - compatible = "qcom,msm-mem-hole"; - qcom,memblock-remove = <0x0dc00000 0x2000000>; /* Address and Size of Hole */ - }; - - qcom,ipc-spinlock@fd484000 { - compatible = "qcom,ipc-spinlock-sfpb"; - reg = <0xfd484000 0x400>; - qcom,num-locks = <8>; - }; - - qcom,smem@fa00000 { - compatible = "qcom,smem"; - reg = <0xfa00000 0x200000>, - <0xf9011000 0x1000>, - <0xfc428000 0x4000>; - reg-names = "smem", "irq-reg-base", "aux-mem1"; - - qcom,smd-adsp { - compatible = "qcom,smd"; - qcom,smd-edge = <1>; - qcom,smd-irq-offset = <0x8>; - qcom,smd-irq-bitmask = <0x100>; - qcom,pil-string = "adsp"; - interrupts = <0 156 1>; - }; - - qcom,smsm-adsp { - compatible = "qcom,smsm"; - qcom,smsm-edge = <1>; - qcom,smsm-irq-offset = <0x8>; - qcom,smsm-irq-bitmask = <0x200>; - interrupts = <0 157 1>; - }; - - qcom,smd-rpm { - compatible = "qcom,smd"; - qcom,smd-edge = <15>; - qcom,smd-irq-offset = <0x8>; - qcom,smd-irq-bitmask = <0x1>; - interrupts = <0 168 1>; - qcom,irq-no-suspend; - }; - }; -}; - -/include/ "msm-pma8084.dtsi" -/include/ "apq8084-regulator.dtsi" diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/at91sam9g20.dtsi b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/at91sam9g20.dtsi deleted file mode 100644 index 773ef4840..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/at91sam9g20.dtsi +++ /dev/null @@ -1,238 +0,0 @@ -/* - * at91sam9g20.dtsi - Device Tree Include file for AT91SAM9G20 family SoC - * - * Copyright (C) 2011 Atmel, - * 2011 Nicolas Ferre , - * 2011 Jean-Christophe PLAGNIOL-VILLARD - * - * Licensed under GPLv2 or later. - */ - -/include/ "skeleton.dtsi" - -/ { - model = "Atmel AT91SAM9G20 family SoC"; - compatible = "atmel,at91sam9g20"; - interrupt-parent = <&aic>; - - aliases { - serial0 = &dbgu; - serial1 = &usart0; - serial2 = &usart1; - serial3 = &usart2; - serial4 = &usart3; - serial5 = &usart4; - serial6 = &usart5; - gpio0 = &pioA; - gpio1 = &pioB; - gpio2 = &pioC; - tcb0 = &tcb0; - tcb1 = &tcb1; - }; - cpus { - cpu@0 { - compatible = "arm,arm926ejs"; - }; - }; - - memory { - reg = <0x20000000 0x08000000>; - }; - - ahb { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - - apb { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - - aic: interrupt-controller@fffff000 { - #interrupt-cells = <2>; - compatible = "atmel,at91rm9200-aic"; - interrupt-controller; - reg = <0xfffff000 0x200>; - }; - - ramc0: ramc@ffffea00 { - compatible = "atmel,at91sam9260-sdramc"; - reg = <0xffffea00 0x200>; - }; - - pmc: pmc@fffffc00 { - compatible = "atmel,at91rm9200-pmc"; - reg = <0xfffffc00 0x100>; - }; - - rstc@fffffd00 { - compatible = "atmel,at91sam9260-rstc"; - reg = <0xfffffd00 0x10>; - }; - - shdwc@fffffd10 { - compatible = "atmel,at91sam9260-shdwc"; - reg = <0xfffffd10 0x10>; - }; - - pit: timer@fffffd30 { - compatible = "atmel,at91sam9260-pit"; - reg = <0xfffffd30 0xf>; - interrupts = <1 4>; - }; - - tcb0: timer@fffa0000 { - compatible = "atmel,at91rm9200-tcb"; - reg = <0xfffa0000 0x100>; - interrupts = <17 4 18 4 19 4>; - }; - - tcb1: timer@fffdc000 { - compatible = "atmel,at91rm9200-tcb"; - reg = <0xfffdc000 0x100>; - interrupts = <26 4 27 4 28 4>; - }; - - pioA: gpio@fffff400 { - compatible = "atmel,at91rm9200-gpio"; - reg = <0xfffff400 0x100>; - interrupts = <2 4>; - #gpio-cells = <2>; - gpio-controller; - interrupt-controller; - }; - - pioB: gpio@fffff600 { - compatible = "atmel,at91rm9200-gpio"; - reg = <0xfffff600 0x100>; - interrupts = <3 4>; - #gpio-cells = <2>; - gpio-controller; - interrupt-controller; - }; - - pioC: gpio@fffff800 { - compatible = "atmel,at91rm9200-gpio"; - reg = <0xfffff800 0x100>; - interrupts = <4 4>; - #gpio-cells = <2>; - gpio-controller; - interrupt-controller; - }; - - dbgu: serial@fffff200 { - compatible = "atmel,at91sam9260-usart"; - reg = <0xfffff200 0x200>; - interrupts = <1 4>; - status = "disabled"; - }; - - usart0: serial@fffb0000 { - compatible = "atmel,at91sam9260-usart"; - reg = <0xfffb0000 0x200>; - interrupts = <6 4>; - atmel,use-dma-rx; - atmel,use-dma-tx; - status = "disabled"; - }; - - usart1: serial@fffb4000 { - compatible = "atmel,at91sam9260-usart"; - reg = <0xfffb4000 0x200>; - interrupts = <7 4>; - atmel,use-dma-rx; - atmel,use-dma-tx; - status = "disabled"; - }; - - usart2: serial@fffb8000 { - compatible = "atmel,at91sam9260-usart"; - reg = <0xfffb8000 0x200>; - interrupts = <8 4>; - atmel,use-dma-rx; - atmel,use-dma-tx; - status = "disabled"; - }; - - usart3: serial@fffd0000 { - compatible = "atmel,at91sam9260-usart"; - reg = <0xfffd0000 0x200>; - interrupts = <23 4>; - atmel,use-dma-rx; - atmel,use-dma-tx; - status = "disabled"; - }; - - usart4: serial@fffd4000 { - compatible = "atmel,at91sam9260-usart"; - reg = <0xfffd4000 0x200>; - interrupts = <24 4>; - atmel,use-dma-rx; - atmel,use-dma-tx; - status = "disabled"; - }; - - usart5: serial@fffd8000 { - compatible = "atmel,at91sam9260-usart"; - reg = <0xfffd8000 0x200>; - interrupts = <25 4>; - atmel,use-dma-rx; - atmel,use-dma-tx; - status = "disabled"; - }; - - macb0: ethernet@fffc4000 { - compatible = "cdns,at32ap7000-macb", "cdns,macb"; - reg = <0xfffc4000 0x100>; - interrupts = <21 4>; - status = "disabled"; - }; - - usb1: gadget@fffa4000 { - compatible = "atmel,at91rm9200-udc"; - reg = <0xfffa4000 0x4000>; - interrupts = <10 4>; - status = "disabled"; - }; - }; - - nand0: nand@40000000 { - compatible = "atmel,at91rm9200-nand"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0x40000000 0x10000000 - 0xffffe800 0x200 - >; - atmel,nand-addr-offset = <21>; - atmel,nand-cmd-offset = <22>; - gpios = <&pioC 13 0 - &pioC 14 0 - 0 - >; - status = "disabled"; - }; - - usb0: ohci@00500000 { - compatible = "atmel,at91rm9200-ohci", "usb-ohci"; - reg = <0x00500000 0x100000>; - interrupts = <20 4>; - status = "disabled"; - }; - }; - - i2c@0 { - compatible = "i2c-gpio"; - gpios = <&pioA 23 0 /* sda */ - &pioA 24 0 /* scl */ - >; - i2c-gpio,sda-open-drain; - i2c-gpio,scl-open-drain; - i2c-gpio,delay-us = <2>; /* ~100 kHz */ - #address-cells = <1>; - #size-cells = <0>; - status = "disabled"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/at91sam9g25ek.dts b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/at91sam9g25ek.dts deleted file mode 100644 index 7829a4d0c..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/at91sam9g25ek.dts +++ /dev/null @@ -1,49 +0,0 @@ -/* - * at91sam9g25ek.dts - Device Tree file for AT91SAM9G25-EK board - * - * Copyright (C) 2012 Atmel, - * 2012 Nicolas Ferre - * - * Licensed under GPLv2 or later. - */ -/dts-v1/; -/include/ "at91sam9x5.dtsi" -/include/ "at91sam9x5cm.dtsi" - -/ { - model = "Atmel AT91SAM9G25-EK"; - compatible = "atmel,at91sam9g25ek", "atmel,at91sam9x5ek", "atmel,at91sam9x5", "atmel,at91sam9"; - - chosen { - bootargs = "128M console=ttyS0,115200 root=/dev/mtdblock1 rw rootfstype=ubifs ubi.mtd=1 root=ubi0:rootfs"; - }; - - ahb { - apb { - dbgu: serial@fffff200 { - status = "okay"; - }; - - usart0: serial@f801c000 { - status = "okay"; - }; - - macb0: ethernet@f802c000 { - phy-mode = "rmii"; - status = "okay"; - }; - }; - - usb0: ohci@00600000 { - status = "okay"; - num-ports = <2>; - atmel,vbus-gpio = <&pioD 19 1 - &pioD 20 1 - >; - }; - - usb1: ehci@00700000 { - status = "okay"; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/at91sam9g45.dtsi b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/at91sam9g45.dtsi deleted file mode 100644 index c8042147e..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/at91sam9g45.dtsi +++ /dev/null @@ -1,247 +0,0 @@ -/* - * at91sam9g45.dtsi - Device Tree Include file for AT91SAM9G45 family SoC - * applies to AT91SAM9G45, AT91SAM9M10, - * AT91SAM9G46, AT91SAM9M11 SoC - * - * Copyright (C) 2011 Atmel, - * 2011 Nicolas Ferre - * - * Licensed under GPLv2 or later. - */ - -/include/ "skeleton.dtsi" - -/ { - model = "Atmel AT91SAM9G45 family SoC"; - compatible = "atmel,at91sam9g45"; - interrupt-parent = <&aic>; - - aliases { - serial0 = &dbgu; - serial1 = &usart0; - serial2 = &usart1; - serial3 = &usart2; - serial4 = &usart3; - gpio0 = &pioA; - gpio1 = &pioB; - gpio2 = &pioC; - gpio3 = &pioD; - gpio4 = &pioE; - tcb0 = &tcb0; - tcb1 = &tcb1; - }; - cpus { - cpu@0 { - compatible = "arm,arm926ejs"; - }; - }; - - memory { - reg = <0x70000000 0x10000000>; - }; - - ahb { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - - apb { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - - aic: interrupt-controller@fffff000 { - #interrupt-cells = <2>; - compatible = "atmel,at91rm9200-aic"; - interrupt-controller; - reg = <0xfffff000 0x200>; - }; - - ramc0: ramc@ffffe400 { - compatible = "atmel,at91sam9g45-ddramc"; - reg = <0xffffe400 0x200 - 0xffffe600 0x200>; - }; - - pmc: pmc@fffffc00 { - compatible = "atmel,at91rm9200-pmc"; - reg = <0xfffffc00 0x100>; - }; - - rstc@fffffd00 { - compatible = "atmel,at91sam9g45-rstc"; - reg = <0xfffffd00 0x10>; - }; - - pit: timer@fffffd30 { - compatible = "atmel,at91sam9260-pit"; - reg = <0xfffffd30 0xf>; - interrupts = <1 4>; - }; - - - shdwc@fffffd10 { - compatible = "atmel,at91sam9rl-shdwc"; - reg = <0xfffffd10 0x10>; - }; - - tcb0: timer@fff7c000 { - compatible = "atmel,at91rm9200-tcb"; - reg = <0xfff7c000 0x100>; - interrupts = <18 4>; - }; - - tcb1: timer@fffd4000 { - compatible = "atmel,at91rm9200-tcb"; - reg = <0xfffd4000 0x100>; - interrupts = <18 4>; - }; - - dma: dma-controller@ffffec00 { - compatible = "atmel,at91sam9g45-dma"; - reg = <0xffffec00 0x200>; - interrupts = <21 4>; - }; - - pioA: gpio@fffff200 { - compatible = "atmel,at91rm9200-gpio"; - reg = <0xfffff200 0x100>; - interrupts = <2 4>; - #gpio-cells = <2>; - gpio-controller; - interrupt-controller; - }; - - pioB: gpio@fffff400 { - compatible = "atmel,at91rm9200-gpio"; - reg = <0xfffff400 0x100>; - interrupts = <3 4>; - #gpio-cells = <2>; - gpio-controller; - interrupt-controller; - }; - - pioC: gpio@fffff600 { - compatible = "atmel,at91rm9200-gpio"; - reg = <0xfffff600 0x100>; - interrupts = <4 4>; - #gpio-cells = <2>; - gpio-controller; - interrupt-controller; - }; - - pioD: gpio@fffff800 { - compatible = "atmel,at91rm9200-gpio"; - reg = <0xfffff800 0x100>; - interrupts = <5 4>; - #gpio-cells = <2>; - gpio-controller; - interrupt-controller; - }; - - pioE: gpio@fffffa00 { - compatible = "atmel,at91rm9200-gpio"; - reg = <0xfffffa00 0x100>; - interrupts = <5 4>; - #gpio-cells = <2>; - gpio-controller; - interrupt-controller; - }; - - dbgu: serial@ffffee00 { - compatible = "atmel,at91sam9260-usart"; - reg = <0xffffee00 0x200>; - interrupts = <1 4>; - status = "disabled"; - }; - - usart0: serial@fff8c000 { - compatible = "atmel,at91sam9260-usart"; - reg = <0xfff8c000 0x200>; - interrupts = <7 4>; - atmel,use-dma-rx; - atmel,use-dma-tx; - status = "disabled"; - }; - - usart1: serial@fff90000 { - compatible = "atmel,at91sam9260-usart"; - reg = <0xfff90000 0x200>; - interrupts = <8 4>; - atmel,use-dma-rx; - atmel,use-dma-tx; - status = "disabled"; - }; - - usart2: serial@fff94000 { - compatible = "atmel,at91sam9260-usart"; - reg = <0xfff94000 0x200>; - interrupts = <9 4>; - atmel,use-dma-rx; - atmel,use-dma-tx; - status = "disabled"; - }; - - usart3: serial@fff98000 { - compatible = "atmel,at91sam9260-usart"; - reg = <0xfff98000 0x200>; - interrupts = <10 4>; - atmel,use-dma-rx; - atmel,use-dma-tx; - status = "disabled"; - }; - - macb0: ethernet@fffbc000 { - compatible = "cdns,at32ap7000-macb", "cdns,macb"; - reg = <0xfffbc000 0x100>; - interrupts = <25 4>; - status = "disabled"; - }; - }; - - nand0: nand@40000000 { - compatible = "atmel,at91rm9200-nand"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0x40000000 0x10000000 - 0xffffe200 0x200 - >; - atmel,nand-addr-offset = <21>; - atmel,nand-cmd-offset = <22>; - gpios = <&pioC 8 0 - &pioC 14 0 - 0 - >; - status = "disabled"; - }; - - usb0: ohci@00700000 { - compatible = "atmel,at91rm9200-ohci", "usb-ohci"; - reg = <0x00700000 0x100000>; - interrupts = <22 4>; - status = "disabled"; - }; - - usb1: ehci@00800000 { - compatible = "atmel,at91sam9g45-ehci", "usb-ehci"; - reg = <0x00800000 0x100000>; - interrupts = <22 4>; - status = "disabled"; - }; - }; - - i2c@0 { - compatible = "i2c-gpio"; - gpios = <&pioA 20 0 /* sda */ - &pioA 21 0 /* scl */ - >; - i2c-gpio,sda-open-drain; - i2c-gpio,scl-open-drain; - i2c-gpio,delay-us = <5>; /* ~100 kHz */ - #address-cells = <1>; - #size-cells = <0>; - status = "disabled"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/at91sam9m10g45ek.dts b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/at91sam9m10g45ek.dts deleted file mode 100644 index a3633bd13..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/at91sam9m10g45ek.dts +++ /dev/null @@ -1,156 +0,0 @@ -/* - * at91sam9m10g45ek.dts - Device Tree file for AT91SAM9M10G45-EK board - * - * Copyright (C) 2011 Atmel, - * 2011 Nicolas Ferre - * - * Licensed under GPLv2 or later. - */ -/dts-v1/; -/include/ "at91sam9g45.dtsi" - -/ { - model = "Atmel AT91SAM9M10G45-EK"; - compatible = "atmel,at91sam9m10g45ek", "atmel,at91sam9g45", "atmel,at91sam9"; - - chosen { - bootargs = "mem=64M console=ttyS0,115200 root=/dev/mtdblock1 rw rootfstype=jffs2"; - }; - - memory { - reg = <0x70000000 0x4000000>; - }; - - clocks { - #address-cells = <1>; - #size-cells = <1>; - ranges; - - main_clock: clock@0 { - compatible = "atmel,osc", "fixed-clock"; - clock-frequency = <12000000>; - }; - }; - - ahb { - apb { - dbgu: serial@ffffee00 { - status = "okay"; - }; - - usart1: serial@fff90000 { - status = "okay"; - }; - - macb0: ethernet@fffbc000 { - phy-mode = "rmii"; - status = "okay"; - }; - }; - - nand0: nand@40000000 { - nand-bus-width = <8>; - nand-ecc-mode = "soft"; - nand-on-flash-bbt; - status = "okay"; - - boot@0 { - label = "bootstrap/uboot/kernel"; - reg = <0x0 0x400000>; - }; - - rootfs@400000 { - label = "rootfs"; - reg = <0x400000 0x3C00000>; - }; - - data@4000000 { - label = "data"; - reg = <0x4000000 0xC000000>; - }; - }; - - usb0: ohci@00700000 { - status = "okay"; - num-ports = <2>; - atmel,vbus-gpio = <&pioD 1 1 - &pioD 3 1>; - }; - - usb1: ehci@00800000 { - status = "okay"; - }; - }; - - leds { - compatible = "gpio-leds"; - - d8 { - label = "d8"; - gpios = <&pioD 30 0>; - linux,default-trigger = "heartbeat"; - }; - - d6 { - label = "d6"; - gpios = <&pioD 0 1>; - linux,default-trigger = "nand-disk"; - }; - - d7 { - label = "d7"; - gpios = <&pioD 31 1>; - linux,default-trigger = "mmc0"; - }; - }; - - gpio_keys { - compatible = "gpio-keys"; - #address-cells = <1>; - #size-cells = <0>; - - left_click { - label = "left_click"; - gpios = <&pioB 6 1>; - linux,code = <272>; - gpio-key,wakeup; - }; - - right_click { - label = "right_click"; - gpios = <&pioB 7 1>; - linux,code = <273>; - gpio-key,wakeup; - }; - - left { - label = "Joystick Left"; - gpios = <&pioB 14 1>; - linux,code = <105>; - }; - - right { - label = "Joystick Right"; - gpios = <&pioB 15 1>; - linux,code = <106>; - }; - - up { - label = "Joystick Up"; - gpios = <&pioB 16 1>; - linux,code = <103>; - }; - - down { - label = "Joystick Down"; - gpios = <&pioB 17 1>; - linux,code = <108>; - }; - - enter { - label = "Joystick Press"; - gpios = <&pioB 18 1>; - linux,code = <28>; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/at91sam9x5.dtsi b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/at91sam9x5.dtsi deleted file mode 100644 index dd4ed7484..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/at91sam9x5.dtsi +++ /dev/null @@ -1,263 +0,0 @@ -/* - * at91sam9x5.dtsi - Device Tree Include file for AT91SAM9x5 family SoC - * applies to AT91SAM9G15, AT91SAM9G25, AT91SAM9G35, - * AT91SAM9X25, AT91SAM9X35 SoC - * - * Copyright (C) 2012 Atmel, - * 2012 Nicolas Ferre - * - * Licensed under GPLv2 or later. - */ - -/include/ "skeleton.dtsi" - -/ { - model = "Atmel AT91SAM9x5 family SoC"; - compatible = "atmel,at91sam9x5"; - interrupt-parent = <&aic>; - - aliases { - serial0 = &dbgu; - serial1 = &usart0; - serial2 = &usart1; - serial3 = &usart2; - gpio0 = &pioA; - gpio1 = &pioB; - gpio2 = &pioC; - gpio3 = &pioD; - tcb0 = &tcb0; - tcb1 = &tcb1; - }; - cpus { - cpu@0 { - compatible = "arm,arm926ejs"; - }; - }; - - memory { - reg = <0x20000000 0x10000000>; - }; - - ahb { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - - apb { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - - aic: interrupt-controller@fffff000 { - #interrupt-cells = <2>; - compatible = "atmel,at91rm9200-aic"; - interrupt-controller; - reg = <0xfffff000 0x200>; - }; - - ramc0: ramc@ffffe800 { - compatible = "atmel,at91sam9g45-ddramc"; - reg = <0xffffe800 0x200>; - }; - - pmc: pmc@fffffc00 { - compatible = "atmel,at91rm9200-pmc"; - reg = <0xfffffc00 0x100>; - }; - - rstc@fffffe00 { - compatible = "atmel,at91sam9g45-rstc"; - reg = <0xfffffe00 0x10>; - }; - - shdwc@fffffe10 { - compatible = "atmel,at91sam9x5-shdwc"; - reg = <0xfffffe10 0x10>; - }; - - pit: timer@fffffe30 { - compatible = "atmel,at91sam9260-pit"; - reg = <0xfffffe30 0xf>; - interrupts = <1 4>; - }; - - tcb0: timer@f8008000 { - compatible = "atmel,at91sam9x5-tcb"; - reg = <0xf8008000 0x100>; - interrupts = <17 4>; - }; - - tcb1: timer@f800c000 { - compatible = "atmel,at91sam9x5-tcb"; - reg = <0xf800c000 0x100>; - interrupts = <17 4>; - }; - - dma0: dma-controller@ffffec00 { - compatible = "atmel,at91sam9g45-dma"; - reg = <0xffffec00 0x200>; - interrupts = <20 4>; - }; - - dma1: dma-controller@ffffee00 { - compatible = "atmel,at91sam9g45-dma"; - reg = <0xffffee00 0x200>; - interrupts = <21 4>; - }; - - pioA: gpio@fffff400 { - compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio"; - reg = <0xfffff400 0x100>; - interrupts = <2 4>; - #gpio-cells = <2>; - gpio-controller; - interrupt-controller; - }; - - pioB: gpio@fffff600 { - compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio"; - reg = <0xfffff600 0x100>; - interrupts = <2 4>; - #gpio-cells = <2>; - gpio-controller; - interrupt-controller; - }; - - pioC: gpio@fffff800 { - compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio"; - reg = <0xfffff800 0x100>; - interrupts = <3 4>; - #gpio-cells = <2>; - gpio-controller; - interrupt-controller; - }; - - pioD: gpio@fffffa00 { - compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio"; - reg = <0xfffffa00 0x100>; - interrupts = <3 4>; - #gpio-cells = <2>; - gpio-controller; - interrupt-controller; - }; - - dbgu: serial@fffff200 { - compatible = "atmel,at91sam9260-usart"; - reg = <0xfffff200 0x200>; - interrupts = <1 4>; - status = "disabled"; - }; - - usart0: serial@f801c000 { - compatible = "atmel,at91sam9260-usart"; - reg = <0xf801c000 0x200>; - interrupts = <5 4>; - atmel,use-dma-rx; - atmel,use-dma-tx; - status = "disabled"; - }; - - usart1: serial@f8020000 { - compatible = "atmel,at91sam9260-usart"; - reg = <0xf8020000 0x200>; - interrupts = <6 4>; - atmel,use-dma-rx; - atmel,use-dma-tx; - status = "disabled"; - }; - - usart2: serial@f8024000 { - compatible = "atmel,at91sam9260-usart"; - reg = <0xf8024000 0x200>; - interrupts = <7 4>; - atmel,use-dma-rx; - atmel,use-dma-tx; - status = "disabled"; - }; - - macb0: ethernet@f802c000 { - compatible = "cdns,at32ap7000-macb", "cdns,macb"; - reg = <0xf802c000 0x100>; - interrupts = <24 4>; - status = "disabled"; - }; - - macb1: ethernet@f8030000 { - compatible = "cdns,at32ap7000-macb", "cdns,macb"; - reg = <0xf8030000 0x100>; - interrupts = <27 4>; - status = "disabled"; - }; - }; - - nand0: nand@40000000 { - compatible = "atmel,at91rm9200-nand"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0x40000000 0x10000000 - >; - atmel,nand-addr-offset = <21>; - atmel,nand-cmd-offset = <22>; - gpios = <&pioD 5 0 - &pioD 4 0 - 0 - >; - status = "disabled"; - }; - - usb0: ohci@00600000 { - compatible = "atmel,at91rm9200-ohci", "usb-ohci"; - reg = <0x00600000 0x100000>; - interrupts = <22 4>; - status = "disabled"; - }; - - usb1: ehci@00700000 { - compatible = "atmel,at91sam9g45-ehci", "usb-ehci"; - reg = <0x00700000 0x100000>; - interrupts = <22 4>; - status = "disabled"; - }; - }; - - i2c@0 { - compatible = "i2c-gpio"; - gpios = <&pioA 30 0 /* sda */ - &pioA 31 0 /* scl */ - >; - i2c-gpio,sda-open-drain; - i2c-gpio,scl-open-drain; - i2c-gpio,delay-us = <2>; /* ~100 kHz */ - #address-cells = <1>; - #size-cells = <0>; - status = "disabled"; - }; - - i2c@1 { - compatible = "i2c-gpio"; - gpios = <&pioC 0 0 /* sda */ - &pioC 1 0 /* scl */ - >; - i2c-gpio,sda-open-drain; - i2c-gpio,scl-open-drain; - i2c-gpio,delay-us = <2>; /* ~100 kHz */ - #address-cells = <1>; - #size-cells = <0>; - status = "disabled"; - }; - - i2c@2 { - compatible = "i2c-gpio"; - gpios = <&pioB 4 0 /* sda */ - &pioB 5 0 /* scl */ - >; - i2c-gpio,sda-open-drain; - i2c-gpio,scl-open-drain; - i2c-gpio,delay-us = <2>; /* ~100 kHz */ - #address-cells = <1>; - #size-cells = <0>; - status = "disabled"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/at91sam9x5cm.dtsi b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/at91sam9x5cm.dtsi deleted file mode 100644 index 31e7be237..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/at91sam9x5cm.dtsi +++ /dev/null @@ -1,74 +0,0 @@ -/* - * at91sam9x5cm.dtsi - Device Tree Include file for AT91SAM9x5 CPU Module - * - * Copyright (C) 2012 Atmel, - * 2012 Nicolas Ferre - * - * Licensed under GPLv2 or later. - */ - -/ { - memory { - reg = <0x20000000 0x8000000>; - }; - - clocks { - #address-cells = <1>; - #size-cells = <1>; - ranges; - - main_clock: clock@0 { - compatible = "atmel,osc", "fixed-clock"; - clock-frequency = <12000000>; - }; - }; - - ahb { - nand0: nand@40000000 { - nand-bus-width = <8>; - nand-ecc-mode = "soft"; - nand-on-flash-bbt; - status = "okay"; - - at91bootstrap@0 { - label = "at91bootstrap"; - reg = <0x0 0x40000>; - }; - - uboot@40000 { - label = "u-boot"; - reg = <0x40000 0x80000>; - }; - - ubootenv@c0000 { - label = "U-Boot Env"; - reg = <0xc0000 0x140000>; - }; - - kernel@200000 { - label = "kernel"; - reg = <0x200000 0x600000>; - }; - - rootfs@800000 { - label = "rootfs"; - reg = <0x800000 0x1f800000>; - }; - }; - }; - - leds { - compatible = "gpio-leds"; - - pb18 { - label = "pb18"; - gpios = <&pioB 18 1>; - linux,default-trigger = "heartbeat"; - }; - - pd21 { - label = "pd21"; - gpios = <&pioD 21 0>; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/db8500.dtsi b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/db8500.dtsi deleted file mode 100644 index 14bc30705..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/db8500.dtsi +++ /dev/null @@ -1,274 +0,0 @@ -/* - * Copyright 2012 Linaro Ltd - * - * The code contained herein is licensed under the GNU General Public - * License. You may obtain a copy of the GNU General Public License - * Version 2 or later at the following locations: - * - * http://www.opensource.org/licenses/gpl-license.html - * http://www.gnu.org/copyleft/gpl.html - */ - -/include/ "skeleton.dtsi" - -/ { - soc-u9500 { - #address-cells = <1>; - #size-cells = <1>; - compatible = "stericsson,db8500"; - interrupt-parent = <&intc>; - ranges; - - intc: interrupt-controller@a0411000 { - compatible = "arm,cortex-a9-gic"; - #interrupt-cells = <3>; - #address-cells = <1>; - interrupt-controller; - reg = <0xa0411000 0x1000>, - <0xa0410100 0x100>; - }; - - L2: l2-cache { - compatible = "arm,pl310-cache"; - reg = <0xa0412000 0x1000>; - interrupts = <0 13 4>; - cache-unified; - cache-level = <2>; - }; - - pmu { - compatible = "arm,cortex-a9-pmu"; - interrupts = <0 7 0x4>; - }; - - timer@a0410600 { - compatible = "arm,cortex-a9-twd-timer"; - reg = <0xa0410600 0x20>; - interrupts = <1 13 0x304>; - }; - - rtc@80154000 { - compatible = "stericsson,db8500-rtc"; - reg = <0x80154000 0x1000>; - interrupts = <0 18 0x4>; - }; - - gpio0: gpio@8012e000 { - compatible = "stericsson,db8500-gpio", - "stmicroelectronics,nomadik-gpio"; - reg = <0x8012e000 0x80>; - interrupts = <0 119 0x4>; - supports-sleepmode; - gpio-controller; - }; - - gpio1: gpio@8012e080 { - compatible = "stericsson,db8500-gpio", - "stmicroelectronics,nomadik-gpio"; - reg = <0x8012e080 0x80>; - interrupts = <0 120 0x4>; - supports-sleepmode; - gpio-controller; - }; - - gpio2: gpio@8000e000 { - compatible = "stericsson,db8500-gpio", - "stmicroelectronics,nomadik-gpio"; - reg = <0x8000e000 0x80>; - interrupts = <0 121 0x4>; - supports-sleepmode; - gpio-controller; - }; - - gpio3: gpio@8000e080 { - compatible = "stericsson,db8500-gpio", - "stmicroelectronics,nomadik-gpio"; - reg = <0x8000e080 0x80>; - interrupts = <0 122 0x4>; - supports-sleepmode; - gpio-controller; - }; - - gpio4: gpio@8000e100 { - compatible = "stericsson,db8500-gpio", - "stmicroelectronics,nomadik-gpio"; - reg = <0x8000e100 0x80>; - interrupts = <0 123 0x4>; - supports-sleepmode; - gpio-controller; - }; - - gpio5: gpio@8000e180 { - compatible = "stericsson,db8500-gpio", - "stmicroelectronics,nomadik-gpio"; - reg = <0x8000e180 0x80>; - interrupts = <0 124 0x4>; - supports-sleepmode; - gpio-controller; - }; - - gpio6: gpio@8011e000 { - compatible = "stericsson,db8500-gpio", - "stmicroelectronics,nomadik-gpio"; - reg = <0x8011e000 0x80>; - interrupts = <0 125 0x4>; - supports-sleepmode; - gpio-controller; - }; - - gpio7: gpio@8011e080 { - compatible = "stericsson,db8500-gpio", - "stmicroelectronics,nomadik-gpio"; - reg = <0x8011e080 0x80>; - interrupts = <0 126 0x4>; - supports-sleepmode; - gpio-controller; - }; - - gpio8: gpio@a03fe000 { - compatible = "stericsson,db8500-gpio", - "stmicroelectronics,nomadik-gpio"; - reg = <0xa03fe000 0x80>; - interrupts = <0 127 0x4>; - supports-sleepmode; - gpio-controller; - }; - - usb@a03e0000 { - compatible = "stericsson,db8500-musb", - "mentor,musb"; - reg = <0xa03e0000 0x10000>; - interrupts = <0 23 0x4>; - }; - - dma-controller@801C0000 { - compatible = "stericsson,db8500-dma40", - "stericsson,dma40"; - reg = <0x801C0000 0x1000 0x40010000 0x800>; - interrupts = <0 25 0x4>; - }; - - prcmu@80157000 { - compatible = "stericsson,db8500-prcmu"; - reg = <0x80157000 0x1000>; - interrupts = <46 47>; - #address-cells = <1>; - #size-cells = <0>; - - ab8500@5 { - compatible = "stericsson,ab8500"; - reg = <5>; /* mailbox 5 is i2c */ - interrupts = <0 40 0x4>; - }; - }; - - i2c@80004000 { - compatible = "stericsson,db8500-i2c", "stmicroelectronics,nomadik-i2c"; - reg = <0x80004000 0x1000>; - interrupts = <0 21 0x4>; - #address-cells = <1>; - #size-cells = <0>; - }; - - i2c@80122000 { - compatible = "stericsson,db8500-i2c", "stmicroelectronics,nomadik-i2c"; - reg = <0x80122000 0x1000>; - interrupts = <0 22 0x4>; - #address-cells = <1>; - #size-cells = <0>; - }; - - i2c@80128000 { - compatible = "stericsson,db8500-i2c", "stmicroelectronics,nomadik-i2c"; - reg = <0x80128000 0x1000>; - interrupts = <0 55 0x4>; - #address-cells = <1>; - #size-cells = <0>; - }; - - i2c@80110000 { - compatible = "stericsson,db8500-i2c", "stmicroelectronics,nomadik-i2c"; - reg = <0x80110000 0x1000>; - interrupts = <0 12 0x4>; - #address-cells = <1>; - #size-cells = <0>; - }; - - i2c@8012a000 { - compatible = "stericsson,db8500-i2c", "stmicroelectronics,nomadik-i2c"; - reg = <0x8012a000 0x1000>; - interrupts = <0 51 0x4>; - #address-cells = <1>; - #size-cells = <0>; - }; - - ssp@80002000 { - compatible = "arm,pl022", "arm,primecell"; - reg = <80002000 0x1000>; - interrupts = <0 14 0x4>; - #address-cells = <1>; - #size-cells = <0>; - status = "disabled"; - - // Add one of these for each child device - cs-gpios = <&gpio0 31 &gpio4 14 &gpio4 16 &gpio6 22 &gpio7 0>; - - }; - - uart@80120000 { - compatible = "arm,pl011", "arm,primecell"; - reg = <0x80120000 0x1000>; - interrupts = <0 11 0x4>; - status = "disabled"; - }; - uart@80121000 { - compatible = "arm,pl011", "arm,primecell"; - reg = <0x80121000 0x1000>; - interrupts = <0 19 0x4>; - status = "disabled"; - }; - uart@80007000 { - compatible = "arm,pl011", "arm,primecell"; - reg = <0x80007000 0x1000>; - interrupts = <0 26 0x4>; - status = "disabled"; - }; - - sdi@80126000 { - compatible = "arm,pl18x", "arm,primecell"; - reg = <0x80126000 0x1000>; - interrupts = <0 60 0x4>; - status = "disabled"; - }; - sdi@80118000 { - compatible = "arm,pl18x", "arm,primecell"; - reg = <0x80118000 0x1000>; - interrupts = <0 50 0x4>; - status = "disabled"; - }; - sdi@80005000 { - compatible = "arm,pl18x", "arm,primecell"; - reg = <0x80005000 0x1000>; - interrupts = <0 41 0x4>; - status = "disabled"; - }; - sdi@80119000 { - compatible = "arm,pl18x", "arm,primecell"; - reg = <0x80119000 0x1000>; - interrupts = <0 59 0x4>; - status = "disabled"; - }; - sdi@80114000 { - compatible = "arm,pl18x", "arm,primecell"; - reg = <0x80114000 0x1000>; - interrupts = <0 99 0x4>; - status = "disabled"; - }; - sdi@80008000 { - compatible = "arm,pl18x", "arm,primecell"; - reg = <0x80114000 0x1000>; - interrupts = <0 100 0x4>; - status = "disabled"; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/dsi-panel-nt35590-720p-cmd.dtsi b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/dsi-panel-nt35590-720p-cmd.dtsi deleted file mode 100644 index 7942567cc..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/dsi-panel-nt35590-720p-cmd.dtsi +++ /dev/null @@ -1,530 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/ { - qcom,mdss_dsi_nt35590_720p_cmd { - compatible = "qcom,mdss-dsi-panel"; - label = "nt35590 720p command mode dsi panel"; - status = "disable"; - qcom,dsi-ctrl-phandle = <&mdss_dsi0>; - qcom,rst-gpio = <&msmgpio 25 0>; - qcom,te-gpio = <&msmgpio 24 0>; - qcom,mdss-pan-res = <720 1280>; - qcom,mdss-pan-bpp = <24>; - qcom,mdss-pan-dest = "display_1"; - qcom,mdss-pan-porch-values = <164 8 140 1 1 6>; - qcom,mdss-pan-underflow-clr = <0xff>; - qcom,mdss-pan-bl-ctrl = "bl_ctrl_wled"; - qcom,mdss-pan-bl-levels = <1 4095>; - qcom,mdss-pan-dsi-mode = <1>; - qcom,mdss-vsync-enable = <1>; - qcom,mdss-hw-vsync-mode = <1>; - qcom,mdss-pan-dsi-h-pulse-mode = <1>; - qcom,mdss-pan-dsi-h-power-stop = <0 0 0>; - qcom,mdss-pan-dsi-bllp-power-stop = <1 1>; - qcom,mdss-pan-dsi-traffic-mode = <2>; - qcom,mdss-pan-dsi-dst-format = <8>; - qcom,mdss-pan-insert-dcs-cmd = <1>; - qcom,mdss-pan-wr-mem-continue = <0x3c>; - qcom,mdss-pan-wr-mem-start = <0x2c>; - qcom,mdss-pan-te-sel = <1>; - qcom,mdss-pan-dsi-vc = <0>; - qcom,mdss-pan-dsi-rgb-swap = <0>; - qcom,mdss-pan-dsi-data-lanes = <1 1 1 1>; /* 4 lanes */ - qcom,mdss-pan-dsi-dlane-swap = <0>; - qcom,mdss-pan-dsi-t-clk = <0x2c 0x20>; - qcom,mdss-pan-dsi-stream = <0>; - qcom,mdss-pan-dsi-mdp-tr = <0x0>; - qcom,mdss-pan-dsi-dma-tr = <0x04>; - qcom,mdss-pan-dsi-frame-rate = <60>; - qcom,panel-phy-regulatorSettings = [07 09 03 00 /* Regualotor settings */ - 20 00 01]; - qcom,panel-phy-timingSettings = [7d 25 1d 00 37 33 - 22 27 1e 03 04 00]; - qcom,panel-phy-strengthCtrl = [ff 06]; - qcom,panel-phy-bistCtrl = [00 00 b1 ff /* BIST Ctrl settings */ - 00 00]; - qcom,panel-phy-laneConfig = [00 00 00 00 00 00 00 01 97 /* lane0 config */ - 00 00 00 00 05 00 00 01 97 /* lane1 config */ - 00 00 00 00 0a 00 00 01 97 /* lane2 config */ - 00 00 00 00 0f 00 00 01 97 /* lane3 config */ - 00 c0 00 00 00 00 00 01 bb]; /* Clk ln config */ - qcom,panel-on-cmds = [29 01 00 00 00 02 FF EE - 29 01 00 00 00 02 26 08 - 29 01 00 00 00 02 26 00 - 29 01 00 00 10 02 FF 00 - 29 01 00 00 00 02 BA 03 - 29 01 00 00 00 02 C2 08 - 29 01 00 00 00 02 FF 01 - 29 01 00 00 00 02 FB 01 - 29 01 00 00 00 02 00 4A - 29 01 00 00 00 02 01 33 - 29 01 00 00 00 02 02 53 - 29 01 00 00 00 02 03 55 - 29 01 00 00 00 02 04 55 - 29 01 00 00 00 02 05 33 - 29 01 00 00 00 02 06 22 - 29 01 00 00 00 02 08 56 - 29 01 00 00 00 02 09 8F - 29 01 00 00 00 02 36 73 - 29 01 00 00 00 02 0B 9F - 29 01 00 00 00 02 0C 9F - 29 01 00 00 00 02 0D 2F - 29 01 00 00 00 02 0E 24 - 29 01 00 00 00 02 11 83 - 29 01 00 00 00 02 12 03 - 29 01 00 00 00 02 71 2C - 29 01 00 00 00 02 6F 03 - 29 01 00 00 00 02 0F 0A - 29 01 00 00 00 02 FF 05 - 29 01 00 00 00 02 FB 01 - 29 01 00 00 00 02 01 00 - 29 01 00 00 00 02 02 8B - 29 01 00 00 00 02 03 82 - 29 01 00 00 00 02 04 82 - 29 01 00 00 00 02 05 30 - 29 01 00 00 00 02 06 33 - 29 01 00 00 00 02 07 01 - 29 01 00 00 00 02 08 00 - 29 01 00 00 00 02 09 46 - 29 01 00 00 00 02 0A 46 - 29 01 00 00 00 02 0D 0B - 29 01 00 00 00 02 0E 1D - 29 01 00 00 00 02 0F 08 - 29 01 00 00 00 02 10 53 - 29 01 00 00 00 02 11 00 - 29 01 00 00 00 02 12 00 - 29 01 00 00 00 02 14 01 - 29 01 00 00 00 02 15 00 - 29 01 00 00 00 02 16 05 - 29 01 00 00 00 02 17 00 - 29 01 00 00 00 02 19 7F - 29 01 00 00 00 02 1A FF - 29 01 00 00 00 02 1B 0F - 29 01 00 00 00 02 1C 00 - 29 01 00 00 00 02 1D 00 - 29 01 00 00 00 02 1E 00 - 29 01 00 00 00 02 1F 07 - 29 01 00 00 00 02 20 00 - 29 01 00 00 00 02 21 06 - 29 01 00 00 00 02 22 55 - 29 01 00 00 00 02 23 4D - 29 01 00 00 00 02 2D 02 - 29 01 00 00 00 02 28 01 - 29 01 00 00 00 02 2F 02 - 29 01 00 00 00 02 83 01 - 29 01 00 00 00 02 9E 58 - 29 01 00 00 00 02 9F 6A - 29 01 00 00 00 02 A0 01 - 29 01 00 00 00 02 A2 10 - 29 01 00 00 00 02 BB 0A - 29 01 00 00 00 02 BC 0A - 29 01 00 00 00 02 32 08 - 29 01 00 00 00 02 33 B8 - 29 01 00 00 00 02 36 01 - 29 01 00 00 00 02 37 00 - 29 01 00 00 00 02 43 00 - 29 01 00 00 00 02 4B 21 - 29 01 00 00 00 02 4C 03 - 29 01 00 00 00 02 50 21 - 29 01 00 00 00 02 51 03 - 29 01 00 00 00 02 58 21 - 29 01 00 00 00 02 59 03 - 29 01 00 00 00 02 5D 21 - 29 01 00 00 00 02 5E 03 - 29 01 00 00 00 02 6C 00 - 29 01 00 00 00 02 6D 00 - 29 01 00 00 00 02 FB 01 - 29 01 00 00 00 02 FF 01 - 29 01 00 00 00 02 FB 01 - 29 01 00 00 00 02 75 00 - 29 01 00 00 00 02 76 7D - 29 01 00 00 00 02 77 00 - 29 01 00 00 00 02 78 8A - 29 01 00 00 00 02 79 00 - 29 01 00 00 00 02 7A 9C - 29 01 00 00 00 02 7B 00 - 29 01 00 00 00 02 7C B1 - 29 01 00 00 00 02 7D 00 - 29 01 00 00 00 02 7E BF - 29 01 00 00 00 02 7F 00 - 29 01 00 00 00 02 80 CF - 29 01 00 00 00 02 81 00 - 29 01 00 00 00 02 82 DD - 29 01 00 00 00 02 83 00 - 29 01 00 00 00 02 84 E8 - 29 01 00 00 00 02 85 00 - 29 01 00 00 00 02 86 F2 - 29 01 00 00 00 02 87 01 - 29 01 00 00 00 02 88 1F - 29 01 00 00 00 02 89 01 - 29 01 00 00 00 02 8A 41 - 29 01 00 00 00 02 8B 01 - 29 01 00 00 00 02 8C 78 - 29 01 00 00 00 02 8D 01 - 29 01 00 00 00 02 8E A5 - 29 01 00 00 00 02 8F 01 - 29 01 00 00 00 02 90 EE - 29 01 00 00 00 02 91 02 - 29 01 00 00 00 02 92 29 - 29 01 00 00 00 02 93 02 - 29 01 00 00 00 02 94 2A - 29 01 00 00 00 02 95 02 - 29 01 00 00 00 02 96 5D - 29 01 00 00 00 02 97 02 - 29 01 00 00 00 02 98 93 - 29 01 00 00 00 02 99 02 - 29 01 00 00 00 02 9A B8 - 29 01 00 00 00 02 9B 02 - 29 01 00 00 00 02 9C E7 - 29 01 00 00 00 02 9D 03 - 29 01 00 00 00 02 9E 07 - 29 01 00 00 00 02 9F 03 - 29 01 00 00 00 02 A0 37 - 29 01 00 00 00 02 A2 03 - 29 01 00 00 00 02 A3 46 - 29 01 00 00 00 02 A4 03 - 29 01 00 00 00 02 A5 56 - 29 01 00 00 00 02 A6 03 - 29 01 00 00 00 02 A7 66 - 29 01 00 00 00 02 A9 03 - 29 01 00 00 00 02 AA 7A - 29 01 00 00 00 02 AB 03 - 29 01 00 00 00 02 AC 93 - 29 01 00 00 00 02 AD 03 - 29 01 00 00 00 02 AE A3 - 29 01 00 00 00 02 AF 03 - 29 01 00 00 00 02 B0 B4 - 29 01 00 00 00 02 B1 03 - 29 01 00 00 00 02 B2 CB - 29 01 00 00 00 02 B3 00 - 29 01 00 00 00 02 B4 7D - 29 01 00 00 00 02 B5 00 - 29 01 00 00 00 02 B6 8A - 29 01 00 00 00 02 B7 00 - 29 01 00 00 00 02 B8 9C - 29 01 00 00 00 02 B9 00 - 29 01 00 00 00 02 BA B1 - 29 01 00 00 00 02 BB 00 - 29 01 00 00 00 02 BC BF - 29 01 00 00 00 02 BD 00 - 29 01 00 00 00 02 BE CF - 29 01 00 00 00 02 BF 00 - 29 01 00 00 00 02 C0 DD - 29 01 00 00 00 02 C1 00 - 29 01 00 00 00 02 C2 E8 - 29 01 00 00 00 02 C3 00 - 29 01 00 00 00 02 C4 F2 - 29 01 00 00 00 02 C5 01 - 29 01 00 00 00 02 C6 1F - 29 01 00 00 00 02 C7 01 - 29 01 00 00 00 02 C8 41 - 29 01 00 00 00 02 C9 01 - 29 01 00 00 00 02 CA 78 - 29 01 00 00 00 02 CB 01 - 29 01 00 00 00 02 CC A5 - 29 01 00 00 00 02 CD 01 - 29 01 00 00 00 02 CE EE - 29 01 00 00 00 02 CF 02 - 29 01 00 00 00 02 D0 29 - 29 01 00 00 00 02 D1 02 - 29 01 00 00 00 02 D2 2A - 29 01 00 00 00 02 D3 02 - 29 01 00 00 00 02 D4 5D - 29 01 00 00 00 02 D5 02 - 29 01 00 00 00 02 D6 93 - 29 01 00 00 00 02 D7 02 - 29 01 00 00 00 02 D8 B8 - 29 01 00 00 00 02 D9 02 - 29 01 00 00 00 02 DA E7 - 29 01 00 00 00 02 DB 03 - 29 01 00 00 00 02 DC 07 - 29 01 00 00 00 02 DD 03 - 29 01 00 00 00 02 DE 37 - 29 01 00 00 00 02 DF 03 - 29 01 00 00 00 02 E0 46 - 29 01 00 00 00 02 E1 03 - 29 01 00 00 00 02 E2 56 - 29 01 00 00 00 02 E3 03 - 29 01 00 00 00 02 E4 66 - 29 01 00 00 00 02 E5 03 - 29 01 00 00 00 02 E6 7A - 29 01 00 00 00 02 E7 03 - 29 01 00 00 00 02 E8 93 - 29 01 00 00 00 02 E9 03 - 29 01 00 00 00 02 EA A3 - 29 01 00 00 00 02 EB 03 - 29 01 00 00 00 02 EC B4 - 29 01 00 00 00 02 ED 03 - 29 01 00 00 00 02 EE CB - 29 01 00 00 00 02 EF 00 - 29 01 00 00 00 02 F0 ED - 29 01 00 00 00 02 F1 00 - 29 01 00 00 00 02 F2 F3 - 29 01 00 00 00 02 F3 00 - 29 01 00 00 00 02 F4 FE - 29 01 00 00 00 02 F5 01 - 29 01 00 00 00 02 F6 09 - 29 01 00 00 00 02 F7 01 - 29 01 00 00 00 02 F8 13 - 29 01 00 00 00 02 F9 01 - 29 01 00 00 00 02 FA 1D - 29 01 00 00 00 02 FF 02 - 29 01 00 00 00 02 FB 01 - 29 01 00 00 00 02 00 01 - 29 01 00 00 00 02 01 26 - 29 01 00 00 00 02 02 01 - 29 01 00 00 00 02 03 2F - 29 01 00 00 00 02 04 01 - 29 01 00 00 00 02 05 37 - 29 01 00 00 00 02 06 01 - 29 01 00 00 00 02 07 56 - 29 01 00 00 00 02 08 01 - 29 01 00 00 00 02 09 70 - 29 01 00 00 00 02 0A 01 - 29 01 00 00 00 02 0B 9D - 29 01 00 00 00 02 0C 01 - 29 01 00 00 00 02 0D C2 - 29 01 00 00 00 02 0E 01 - 29 01 00 00 00 02 0F FF - 29 01 00 00 00 02 10 02 - 29 01 00 00 00 02 11 31 - 29 01 00 00 00 02 12 02 - 29 01 00 00 00 02 13 32 - 29 01 00 00 00 02 14 02 - 29 01 00 00 00 02 15 60 - 29 01 00 00 00 02 16 02 - 29 01 00 00 00 02 17 94 - 29 01 00 00 00 02 18 02 - 29 01 00 00 00 02 19 B5 - 29 01 00 00 00 02 1A 02 - 29 01 00 00 00 02 1B E3 - 29 01 00 00 00 02 1C 03 - 29 01 00 00 00 02 1D 03 - 29 01 00 00 00 02 1E 03 - 29 01 00 00 00 02 1F 2D - 29 01 00 00 00 02 20 03 - 29 01 00 00 00 02 21 3A - 29 01 00 00 00 02 22 03 - 29 01 00 00 00 02 23 48 - 29 01 00 00 00 02 24 03 - 29 01 00 00 00 02 25 57 - 29 01 00 00 00 02 26 03 - 29 01 00 00 00 02 27 68 - 29 01 00 00 00 02 28 03 - 29 01 00 00 00 02 29 7B - 29 01 00 00 00 02 2A 03 - 29 01 00 00 00 02 2B 90 - 29 01 00 00 00 02 2D 03 - 29 01 00 00 00 02 2F A0 - 29 01 00 00 00 02 30 03 - 29 01 00 00 00 02 31 CB - 29 01 00 00 00 02 32 00 - 29 01 00 00 00 02 33 ED - 29 01 00 00 00 02 34 00 - 29 01 00 00 00 02 35 F3 - 29 01 00 00 00 02 36 00 - 29 01 00 00 00 02 37 FE - 29 01 00 00 00 02 38 01 - 29 01 00 00 00 02 39 09 - 29 01 00 00 00 02 3A 01 - 29 01 00 00 00 02 3B 13 - 29 01 00 00 00 02 3D 01 - 29 01 00 00 00 02 3F 1D - 29 01 00 00 00 02 40 01 - 29 01 00 00 00 02 41 26 - 29 01 00 00 00 02 42 01 - 29 01 00 00 00 02 43 2F - 29 01 00 00 00 02 44 01 - 29 01 00 00 00 02 45 37 - 29 01 00 00 00 02 46 01 - 29 01 00 00 00 02 47 56 - 29 01 00 00 00 02 48 01 - 29 01 00 00 00 02 49 70 - 29 01 00 00 00 02 4A 01 - 29 01 00 00 00 02 4B 9D - 29 01 00 00 00 02 4C 01 - 29 01 00 00 00 02 4D C2 - 29 01 00 00 00 02 4E 01 - 29 01 00 00 00 02 4F FF - 29 01 00 00 00 02 50 02 - 29 01 00 00 00 02 51 31 - 29 01 00 00 00 02 52 02 - 29 01 00 00 00 02 53 32 - 29 01 00 00 00 02 54 02 - 29 01 00 00 00 02 55 60 - 29 01 00 00 00 02 56 02 - 29 01 00 00 00 02 58 94 - 29 01 00 00 00 02 59 02 - 29 01 00 00 00 02 5A B5 - 29 01 00 00 00 02 5B 02 - 29 01 00 00 00 02 5C E3 - 29 01 00 00 00 02 5D 03 - 29 01 00 00 00 02 5E 03 - 29 01 00 00 00 02 5F 03 - 29 01 00 00 00 02 60 2D - 29 01 00 00 00 02 61 03 - 29 01 00 00 00 02 62 3A - 29 01 00 00 00 02 63 03 - 29 01 00 00 00 02 64 48 - 29 01 00 00 00 02 65 03 - 29 01 00 00 00 02 66 57 - 29 01 00 00 00 02 67 03 - 29 01 00 00 00 02 68 68 - 29 01 00 00 00 02 69 03 - 29 01 00 00 00 02 6A 7B - 29 01 00 00 00 02 6B 03 - 29 01 00 00 00 02 6C 90 - 29 01 00 00 00 02 6D 03 - 29 01 00 00 00 02 6E A0 - 29 01 00 00 00 02 6F 03 - 29 01 00 00 00 02 70 CB - 29 01 00 00 00 02 71 00 - 29 01 00 00 00 02 72 19 - 29 01 00 00 00 02 73 00 - 29 01 00 00 00 02 74 36 - 29 01 00 00 00 02 75 00 - 29 01 00 00 00 02 76 55 - 29 01 00 00 00 02 77 00 - 29 01 00 00 00 02 78 70 - 29 01 00 00 00 02 79 00 - 29 01 00 00 00 02 7A 83 - 29 01 00 00 00 02 7B 00 - 29 01 00 00 00 02 7C 99 - 29 01 00 00 00 02 7D 00 - 29 01 00 00 00 02 7E A8 - 29 01 00 00 00 02 7F 00 - 29 01 00 00 00 02 80 B7 - 29 01 00 00 00 02 81 00 - 29 01 00 00 00 02 82 C5 - 29 01 00 00 00 02 83 00 - 29 01 00 00 00 02 84 F7 - 29 01 00 00 00 02 85 01 - 29 01 00 00 00 02 86 1E - 29 01 00 00 00 02 87 01 - 29 01 00 00 00 02 88 60 - 29 01 00 00 00 02 89 01 - 29 01 00 00 00 02 8A 95 - 29 01 00 00 00 02 8B 01 - 29 01 00 00 00 02 8C E1 - 29 01 00 00 00 02 8D 02 - 29 01 00 00 00 02 8E 20 - 29 01 00 00 00 02 8F 02 - 29 01 00 00 00 02 90 23 - 29 01 00 00 00 02 91 02 - 29 01 00 00 00 02 92 59 - 29 01 00 00 00 02 93 02 - 29 01 00 00 00 02 94 94 - 29 01 00 00 00 02 95 02 - 29 01 00 00 00 02 96 B4 - 29 01 00 00 00 02 97 02 - 29 01 00 00 00 02 98 E1 - 29 01 00 00 00 02 99 03 - 29 01 00 00 00 02 9A 01 - 29 01 00 00 00 02 9B 03 - 29 01 00 00 00 02 9C 28 - 29 01 00 00 00 02 9D 03 - 29 01 00 00 00 02 9E 30 - 29 01 00 00 00 02 9F 03 - 29 01 00 00 00 02 A0 37 - 29 01 00 00 00 02 A2 03 - 29 01 00 00 00 02 A3 3B - 29 01 00 00 00 02 A4 03 - 29 01 00 00 00 02 A5 40 - 29 01 00 00 00 02 A6 03 - 29 01 00 00 00 02 A7 50 - 29 01 00 00 00 02 A9 03 - 29 01 00 00 00 02 AA 6D - 29 01 00 00 00 02 AB 03 - 29 01 00 00 00 02 AC 80 - 29 01 00 00 00 02 AD 03 - 29 01 00 00 00 02 AE CB - 29 01 00 00 00 02 AF 00 - 29 01 00 00 00 02 B0 19 - 29 01 00 00 00 02 B1 00 - 29 01 00 00 00 02 B2 36 - 29 01 00 00 00 02 B3 00 - 29 01 00 00 00 02 B4 55 - 29 01 00 00 00 02 B5 00 - 29 01 00 00 00 02 B6 70 - 29 01 00 00 00 02 B7 00 - 29 01 00 00 00 02 B8 83 - 29 01 00 00 00 02 B9 00 - 29 01 00 00 00 02 BA 99 - 29 01 00 00 00 02 BB 00 - 29 01 00 00 00 02 BC A8 - 29 01 00 00 00 02 BD 00 - 29 01 00 00 00 02 BE B7 - 29 01 00 00 00 02 BF 00 - 29 01 00 00 00 02 C0 C5 - 29 01 00 00 00 02 C1 00 - 29 01 00 00 00 02 C2 F7 - 29 01 00 00 00 02 C3 01 - 29 01 00 00 00 02 C4 1E - 29 01 00 00 00 02 C5 01 - 29 01 00 00 00 02 C6 60 - 29 01 00 00 00 02 C7 01 - 29 01 00 00 00 02 C8 95 - 29 01 00 00 00 02 C9 01 - 29 01 00 00 00 02 CA E1 - 29 01 00 00 00 02 CB 02 - 29 01 00 00 00 02 CC 20 - 29 01 00 00 00 02 CD 02 - 29 01 00 00 00 02 CE 23 - 29 01 00 00 00 02 CF 02 - 29 01 00 00 00 02 D0 59 - 29 01 00 00 00 02 D1 02 - 29 01 00 00 00 02 D2 94 - 29 01 00 00 00 02 D3 02 - 29 01 00 00 00 02 D4 B4 - 29 01 00 00 00 02 D5 02 - 29 01 00 00 00 02 D6 E1 - 29 01 00 00 00 02 D7 03 - 29 01 00 00 00 02 D8 01 - 29 01 00 00 00 02 D9 03 - 29 01 00 00 00 02 DA 28 - 29 01 00 00 00 02 DB 03 - 29 01 00 00 00 02 DC 30 - 29 01 00 00 00 02 DD 03 - 29 01 00 00 00 02 DE 37 - 29 01 00 00 00 02 DF 03 - 29 01 00 00 00 02 E0 3B - 29 01 00 00 00 02 E1 03 - 29 01 00 00 00 02 E2 40 - 29 01 00 00 00 02 E3 03 - 29 01 00 00 00 02 E4 50 - 29 01 00 00 00 02 E5 03 - 29 01 00 00 00 02 E6 6D - 29 01 00 00 00 02 E7 03 - 29 01 00 00 00 02 E8 80 - 29 01 00 00 00 02 E9 03 - 29 01 00 00 00 02 EA CB - 29 01 00 00 00 02 FF 01 - 29 01 00 00 00 02 FB 01 - 29 01 00 00 00 02 FF 02 - 29 01 00 00 00 02 FB 01 - 29 01 00 00 00 02 FF 04 - 29 01 00 00 00 02 FB 01 - 29 01 00 00 00 02 FF 00 - 29 01 00 00 64 02 11 00 - 29 01 00 00 00 02 FF EE - 29 01 00 00 00 02 12 50 - 29 01 00 00 00 02 13 02 - 29 01 00 00 00 02 6A 60 - 29 01 00 00 00 02 FF 00 - 29 01 00 00 78 02 29 00]; - qcom,on-cmds-dsi-state = "DSI_LP_MODE"; - qcom,panel-off-cmds = [05 01 00 00 32 02 28 00 - 05 01 00 00 78 02 10 00]; - qcom,off-cmds-dsi-state = "DSI_HS_MODE"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/dsi-panel-nt35590-720p-video.dtsi b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/dsi-panel-nt35590-720p-video.dtsi deleted file mode 100644 index 7bc748d59..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/dsi-panel-nt35590-720p-video.dtsi +++ /dev/null @@ -1,524 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -&soc { - qcom,mdss_dsi_nt35590_720p_video { - compatible = "qcom,mdss-dsi-panel"; - label = "nt35590 720p video mode dsi panel"; - status = "disable"; - qcom,dsi-ctrl-phandle = <&mdss_dsi0>; - qcom,rst-gpio = <&msmgpio 25 0>; - qcom,mdss-pan-res = <720 1280>; - qcom,mdss-pan-bpp = <24>; - qcom,mdss-pan-dest = "display_1"; - qcom,mdss-pan-porch-values = <164 8 140 1 1 6>; - qcom,mdss-pan-underflow-clr = <0xff>; - qcom,mdss-pan-bl-ctrl = "bl_ctrl_wled"; - qcom,mdss-pan-bl-levels = <1 4095>; - qcom,mdss-pan-dsi-mode = <0>; - qcom,mdss-pan-dsi-h-pulse-mode = <1>; - qcom,mdss-pan-dsi-h-power-stop = <0 0 0>; - qcom,mdss-pan-dsi-bllp-power-stop = <1 1>; - qcom,mdss-pan-dsi-traffic-mode = <2>; - qcom,mdss-pan-dsi-dst-format = <3>; - qcom,mdss-pan-dsi-vc = <0>; - qcom,mdss-pan-dsi-rgb-swap = <0>; - qcom,mdss-pan-dsi-data-lanes = <1 1 1 1>; /* 4 lanes */ - qcom,mdss-pan-dsi-dlane-swap = <0>; - qcom,mdss-pan-dsi-t-clk = <0x2c 0x20>; - qcom,mdss-pan-dsi-stream = <0>; - qcom,mdss-pan-dsi-mdp-tr = <0x0>; - qcom,mdss-pan-dsi-dma-tr = <0x04>; - qcom,mdss-pan-dsi-frame-rate = <60>; - qcom,panel-phy-regulatorSettings = [07 09 03 00 /* Regualotor settings */ - 20 00 01]; - qcom,panel-phy-timingSettings = [7d 25 1d 00 37 33 - 22 27 1e 03 04 00]; - qcom,panel-phy-strengthCtrl = [ff 06]; - qcom,panel-phy-bistCtrl = [00 00 b1 ff /* BIST Ctrl settings */ - 00 00]; - qcom,panel-phy-laneConfig = [00 00 00 00 00 00 00 01 97 /* lane0 config */ - 00 00 00 00 05 00 00 01 97 /* lane1 config */ - 00 00 00 00 0a 00 00 01 97 /* lane2 config */ - 00 00 00 00 0f 00 00 01 97 /* lane3 config */ - 00 c0 00 00 00 00 00 01 bb]; /* Clk ln config */ - qcom,panel-on-cmds = [29 01 00 00 00 00 02 FF EE - 29 01 00 00 00 00 02 26 08 - 29 01 00 00 00 00 02 26 00 - 29 01 00 00 10 00 02 FF 00 - 29 01 00 00 00 00 02 BA 03 - 29 01 00 00 00 00 02 C2 03 - 29 01 00 00 00 00 02 FF 01 - 29 01 00 00 00 00 02 FB 01 - 29 01 00 00 00 00 02 00 4A - 29 01 00 00 00 00 02 01 33 - 29 01 00 00 00 00 02 02 53 - 29 01 00 00 00 00 02 03 55 - 29 01 00 00 00 00 02 04 55 - 29 01 00 00 00 00 02 05 33 - 29 01 00 00 00 00 02 06 22 - 29 01 00 00 00 00 02 08 56 - 29 01 00 00 00 00 02 09 8F - 29 01 00 00 00 00 02 36 73 - 29 01 00 00 00 00 02 0B 9F - 29 01 00 00 00 00 02 0C 9F - 29 01 00 00 00 00 02 0D 2F - 29 01 00 00 00 00 02 0E 24 - 29 01 00 00 00 00 02 11 83 - 29 01 00 00 00 00 02 12 03 - 29 01 00 00 00 00 02 71 2C - 29 01 00 00 00 00 02 6F 03 - 29 01 00 00 00 00 02 0F 0A - 29 01 00 00 00 00 02 FF 05 - 29 01 00 00 00 00 02 FB 01 - 29 01 00 00 00 00 02 01 00 - 29 01 00 00 00 00 02 02 8B - 29 01 00 00 00 00 02 03 82 - 29 01 00 00 00 00 02 04 82 - 29 01 00 00 00 00 02 05 30 - 29 01 00 00 00 00 02 06 33 - 29 01 00 00 00 00 02 07 01 - 29 01 00 00 00 00 02 08 00 - 29 01 00 00 00 00 02 09 46 - 29 01 00 00 00 00 02 0A 46 - 29 01 00 00 00 00 02 0D 0B - 29 01 00 00 00 00 02 0E 1D - 29 01 00 00 00 00 02 0F 08 - 29 01 00 00 00 00 02 10 53 - 29 01 00 00 00 00 02 11 00 - 29 01 00 00 00 00 02 12 00 - 29 01 00 00 00 00 02 14 01 - 29 01 00 00 00 00 02 15 00 - 29 01 00 00 00 00 02 16 05 - 29 01 00 00 00 00 02 17 00 - 29 01 00 00 00 00 02 19 7F - 29 01 00 00 00 00 02 1A FF - 29 01 00 00 00 00 02 1B 0F - 29 01 00 00 00 00 02 1C 00 - 29 01 00 00 00 00 02 1D 00 - 29 01 00 00 00 00 02 1E 00 - 29 01 00 00 00 00 02 1F 07 - 29 01 00 00 00 00 02 20 00 - 29 01 00 00 00 00 02 21 06 - 29 01 00 00 00 00 02 22 55 - 29 01 00 00 00 00 02 23 4D - 29 01 00 00 00 00 02 2D 02 - 29 01 00 00 00 00 02 28 01 - 29 01 00 00 00 00 02 2F 02 - 29 01 00 00 00 00 02 83 01 - 29 01 00 00 00 00 02 9E 58 - 29 01 00 00 00 00 02 9F 6A - 29 01 00 00 00 00 02 A0 01 - 29 01 00 00 00 00 02 A2 10 - 29 01 00 00 00 00 02 BB 0A - 29 01 00 00 00 00 02 BC 0A - 29 01 00 00 00 00 02 32 08 - 29 01 00 00 00 00 02 33 B8 - 29 01 00 00 00 00 02 36 01 - 29 01 00 00 00 00 02 37 00 - 29 01 00 00 00 00 02 43 00 - 29 01 00 00 00 00 02 4B 21 - 29 01 00 00 00 00 02 4C 03 - 29 01 00 00 00 00 02 50 21 - 29 01 00 00 00 00 02 51 03 - 29 01 00 00 00 00 02 58 21 - 29 01 00 00 00 00 02 59 03 - 29 01 00 00 00 00 02 5D 21 - 29 01 00 00 00 00 02 5E 03 - 29 01 00 00 00 00 02 6C 00 - 29 01 00 00 00 00 02 6D 00 - 29 01 00 00 00 00 02 FB 01 - 29 01 00 00 00 00 02 FF 01 - 29 01 00 00 00 00 02 FB 01 - 29 01 00 00 00 00 02 75 00 - 29 01 00 00 00 00 02 76 7D - 29 01 00 00 00 00 02 77 00 - 29 01 00 00 00 00 02 78 8A - 29 01 00 00 00 00 02 79 00 - 29 01 00 00 00 00 02 7A 9C - 29 01 00 00 00 00 02 7B 00 - 29 01 00 00 00 00 02 7C B1 - 29 01 00 00 00 00 02 7D 00 - 29 01 00 00 00 00 02 7E BF - 29 01 00 00 00 00 02 7F 00 - 29 01 00 00 00 00 02 80 CF - 29 01 00 00 00 00 02 81 00 - 29 01 00 00 00 00 02 82 DD - 29 01 00 00 00 00 02 83 00 - 29 01 00 00 00 00 02 84 E8 - 29 01 00 00 00 00 02 85 00 - 29 01 00 00 00 00 02 86 F2 - 29 01 00 00 00 00 02 87 01 - 29 01 00 00 00 00 02 88 1F - 29 01 00 00 00 00 02 89 01 - 29 01 00 00 00 00 02 8A 41 - 29 01 00 00 00 00 02 8B 01 - 29 01 00 00 00 00 02 8C 78 - 29 01 00 00 00 00 02 8D 01 - 29 01 00 00 00 00 02 8E A5 - 29 01 00 00 00 00 02 8F 01 - 29 01 00 00 00 00 02 90 EE - 29 01 00 00 00 00 02 91 02 - 29 01 00 00 00 00 02 92 29 - 29 01 00 00 00 00 02 93 02 - 29 01 00 00 00 00 02 94 2A - 29 01 00 00 00 00 02 95 02 - 29 01 00 00 00 00 02 96 5D - 29 01 00 00 00 00 02 97 02 - 29 01 00 00 00 00 02 98 93 - 29 01 00 00 00 00 02 99 02 - 29 01 00 00 00 00 02 9A B8 - 29 01 00 00 00 00 02 9B 02 - 29 01 00 00 00 00 02 9C E7 - 29 01 00 00 00 00 02 9D 03 - 29 01 00 00 00 00 02 9E 07 - 29 01 00 00 00 00 02 9F 03 - 29 01 00 00 00 00 02 A0 37 - 29 01 00 00 00 00 02 A2 03 - 29 01 00 00 00 00 02 A3 46 - 29 01 00 00 00 00 02 A4 03 - 29 01 00 00 00 00 02 A5 56 - 29 01 00 00 00 00 02 A6 03 - 29 01 00 00 00 00 02 A7 66 - 29 01 00 00 00 00 02 A9 03 - 29 01 00 00 00 00 02 AA 7A - 29 01 00 00 00 00 02 AB 03 - 29 01 00 00 00 00 02 AC 93 - 29 01 00 00 00 00 02 AD 03 - 29 01 00 00 00 00 02 AE A3 - 29 01 00 00 00 00 02 AF 03 - 29 01 00 00 00 00 02 B0 B4 - 29 01 00 00 00 00 02 B1 03 - 29 01 00 00 00 00 02 B2 CB - 29 01 00 00 00 00 02 B3 00 - 29 01 00 00 00 00 02 B4 7D - 29 01 00 00 00 00 02 B5 00 - 29 01 00 00 00 00 02 B6 8A - 29 01 00 00 00 00 02 B7 00 - 29 01 00 00 00 00 02 B8 9C - 29 01 00 00 00 00 02 B9 00 - 29 01 00 00 00 00 02 BA B1 - 29 01 00 00 00 00 02 BB 00 - 29 01 00 00 00 00 02 BC BF - 29 01 00 00 00 00 02 BD 00 - 29 01 00 00 00 00 02 BE CF - 29 01 00 00 00 00 02 BF 00 - 29 01 00 00 00 00 02 C0 DD - 29 01 00 00 00 00 02 C1 00 - 29 01 00 00 00 00 02 C2 E8 - 29 01 00 00 00 00 02 C3 00 - 29 01 00 00 00 00 02 C4 F2 - 29 01 00 00 00 00 02 C5 01 - 29 01 00 00 00 00 02 C6 1F - 29 01 00 00 00 00 02 C7 01 - 29 01 00 00 00 00 02 C8 41 - 29 01 00 00 00 00 02 C9 01 - 29 01 00 00 00 00 02 CA 78 - 29 01 00 00 00 00 02 CB 01 - 29 01 00 00 00 00 02 CC A5 - 29 01 00 00 00 00 02 CD 01 - 29 01 00 00 00 00 02 CE EE - 29 01 00 00 00 00 02 CF 02 - 29 01 00 00 00 00 02 D0 29 - 29 01 00 00 00 00 02 D1 02 - 29 01 00 00 00 00 02 D2 2A - 29 01 00 00 00 00 02 D3 02 - 29 01 00 00 00 00 02 D4 5D - 29 01 00 00 00 00 02 D5 02 - 29 01 00 00 00 00 02 D6 93 - 29 01 00 00 00 00 02 D7 02 - 29 01 00 00 00 00 02 D8 B8 - 29 01 00 00 00 00 02 D9 02 - 29 01 00 00 00 00 02 DA E7 - 29 01 00 00 00 00 02 DB 03 - 29 01 00 00 00 00 02 DC 07 - 29 01 00 00 00 00 02 DD 03 - 29 01 00 00 00 00 02 DE 37 - 29 01 00 00 00 00 02 DF 03 - 29 01 00 00 00 00 02 E0 46 - 29 01 00 00 00 00 02 E1 03 - 29 01 00 00 00 00 02 E2 56 - 29 01 00 00 00 00 02 E3 03 - 29 01 00 00 00 00 02 E4 66 - 29 01 00 00 00 00 02 E5 03 - 29 01 00 00 00 00 02 E6 7A - 29 01 00 00 00 00 02 E7 03 - 29 01 00 00 00 00 02 E8 93 - 29 01 00 00 00 00 02 E9 03 - 29 01 00 00 00 00 02 EA A3 - 29 01 00 00 00 00 02 EB 03 - 29 01 00 00 00 00 02 EC B4 - 29 01 00 00 00 00 02 ED 03 - 29 01 00 00 00 00 02 EE CB - 29 01 00 00 00 00 02 EF 00 - 29 01 00 00 00 00 02 F0 ED - 29 01 00 00 00 00 02 F1 00 - 29 01 00 00 00 00 02 F2 F3 - 29 01 00 00 00 00 02 F3 00 - 29 01 00 00 00 00 02 F4 FE - 29 01 00 00 00 00 02 F5 01 - 29 01 00 00 00 00 02 F6 09 - 29 01 00 00 00 00 02 F7 01 - 29 01 00 00 00 00 02 F8 13 - 29 01 00 00 00 00 02 F9 01 - 29 01 00 00 00 00 02 FA 1D - 29 01 00 00 00 00 02 FF 02 - 29 01 00 00 00 00 02 FB 01 - 29 01 00 00 00 00 02 00 01 - 29 01 00 00 00 00 02 01 26 - 29 01 00 00 00 00 02 02 01 - 29 01 00 00 00 00 02 03 2F - 29 01 00 00 00 00 02 04 01 - 29 01 00 00 00 00 02 05 37 - 29 01 00 00 00 00 02 06 01 - 29 01 00 00 00 00 02 07 56 - 29 01 00 00 00 00 02 08 01 - 29 01 00 00 00 00 02 09 70 - 29 01 00 00 00 00 02 0A 01 - 29 01 00 00 00 00 02 0B 9D - 29 01 00 00 00 00 02 0C 01 - 29 01 00 00 00 00 02 0D C2 - 29 01 00 00 00 00 02 0E 01 - 29 01 00 00 00 00 02 0F FF - 29 01 00 00 00 00 02 10 02 - 29 01 00 00 00 00 02 11 31 - 29 01 00 00 00 00 02 12 02 - 29 01 00 00 00 00 02 13 32 - 29 01 00 00 00 00 02 14 02 - 29 01 00 00 00 00 02 15 60 - 29 01 00 00 00 00 02 16 02 - 29 01 00 00 00 00 02 17 94 - 29 01 00 00 00 00 02 18 02 - 29 01 00 00 00 00 02 19 B5 - 29 01 00 00 00 00 02 1A 02 - 29 01 00 00 00 00 02 1B E3 - 29 01 00 00 00 00 02 1C 03 - 29 01 00 00 00 00 02 1D 03 - 29 01 00 00 00 00 02 1E 03 - 29 01 00 00 00 00 02 1F 2D - 29 01 00 00 00 00 02 20 03 - 29 01 00 00 00 00 02 21 3A - 29 01 00 00 00 00 02 22 03 - 29 01 00 00 00 00 02 23 48 - 29 01 00 00 00 00 02 24 03 - 29 01 00 00 00 00 02 25 57 - 29 01 00 00 00 00 02 26 03 - 29 01 00 00 00 00 02 27 68 - 29 01 00 00 00 00 02 28 03 - 29 01 00 00 00 00 02 29 7B - 29 01 00 00 00 00 02 2A 03 - 29 01 00 00 00 00 02 2B 90 - 29 01 00 00 00 00 02 2D 03 - 29 01 00 00 00 00 02 2F A0 - 29 01 00 00 00 00 02 30 03 - 29 01 00 00 00 00 02 31 CB - 29 01 00 00 00 00 02 32 00 - 29 01 00 00 00 00 02 33 ED - 29 01 00 00 00 00 02 34 00 - 29 01 00 00 00 00 02 35 F3 - 29 01 00 00 00 00 02 36 00 - 29 01 00 00 00 00 02 37 FE - 29 01 00 00 00 00 02 38 01 - 29 01 00 00 00 00 02 39 09 - 29 01 00 00 00 00 02 3A 01 - 29 01 00 00 00 00 02 3B 13 - 29 01 00 00 00 00 02 3D 01 - 29 01 00 00 00 00 02 3F 1D - 29 01 00 00 00 00 02 40 01 - 29 01 00 00 00 00 02 41 26 - 29 01 00 00 00 00 02 42 01 - 29 01 00 00 00 00 02 43 2F - 29 01 00 00 00 00 02 44 01 - 29 01 00 00 00 00 02 45 37 - 29 01 00 00 00 00 02 46 01 - 29 01 00 00 00 00 02 47 56 - 29 01 00 00 00 00 02 48 01 - 29 01 00 00 00 00 02 49 70 - 29 01 00 00 00 00 02 4A 01 - 29 01 00 00 00 00 02 4B 9D - 29 01 00 00 00 00 02 4C 01 - 29 01 00 00 00 00 02 4D C2 - 29 01 00 00 00 00 02 4E 01 - 29 01 00 00 00 00 02 4F FF - 29 01 00 00 00 00 02 50 02 - 29 01 00 00 00 00 02 51 31 - 29 01 00 00 00 00 02 52 02 - 29 01 00 00 00 00 02 53 32 - 29 01 00 00 00 00 02 54 02 - 29 01 00 00 00 00 02 55 60 - 29 01 00 00 00 00 02 56 02 - 29 01 00 00 00 00 02 58 94 - 29 01 00 00 00 00 02 59 02 - 29 01 00 00 00 00 02 5A B5 - 29 01 00 00 00 00 02 5B 02 - 29 01 00 00 00 00 02 5C E3 - 29 01 00 00 00 00 02 5D 03 - 29 01 00 00 00 00 02 5E 03 - 29 01 00 00 00 00 02 5F 03 - 29 01 00 00 00 00 02 60 2D - 29 01 00 00 00 00 02 61 03 - 29 01 00 00 00 00 02 62 3A - 29 01 00 00 00 00 02 63 03 - 29 01 00 00 00 00 02 64 48 - 29 01 00 00 00 00 02 65 03 - 29 01 00 00 00 00 02 66 57 - 29 01 00 00 00 00 02 67 03 - 29 01 00 00 00 00 02 68 68 - 29 01 00 00 00 00 02 69 03 - 29 01 00 00 00 00 02 6A 7B - 29 01 00 00 00 00 02 6B 03 - 29 01 00 00 00 00 02 6C 90 - 29 01 00 00 00 00 02 6D 03 - 29 01 00 00 00 00 02 6E A0 - 29 01 00 00 00 00 02 6F 03 - 29 01 00 00 00 00 02 70 CB - 29 01 00 00 00 00 02 71 00 - 29 01 00 00 00 00 02 72 19 - 29 01 00 00 00 00 02 73 00 - 29 01 00 00 00 00 02 74 36 - 29 01 00 00 00 00 02 75 00 - 29 01 00 00 00 00 02 76 55 - 29 01 00 00 00 00 02 77 00 - 29 01 00 00 00 00 02 78 70 - 29 01 00 00 00 00 02 79 00 - 29 01 00 00 00 00 02 7A 83 - 29 01 00 00 00 00 02 7B 00 - 29 01 00 00 00 00 02 7C 99 - 29 01 00 00 00 00 02 7D 00 - 29 01 00 00 00 00 02 7E A8 - 29 01 00 00 00 00 02 7F 00 - 29 01 00 00 00 00 02 80 B7 - 29 01 00 00 00 00 02 81 00 - 29 01 00 00 00 00 02 82 C5 - 29 01 00 00 00 00 02 83 00 - 29 01 00 00 00 00 02 84 F7 - 29 01 00 00 00 00 02 85 01 - 29 01 00 00 00 00 02 86 1E - 29 01 00 00 00 00 02 87 01 - 29 01 00 00 00 00 02 88 60 - 29 01 00 00 00 00 02 89 01 - 29 01 00 00 00 00 02 8A 95 - 29 01 00 00 00 00 02 8B 01 - 29 01 00 00 00 00 02 8C E1 - 29 01 00 00 00 00 02 8D 02 - 29 01 00 00 00 00 02 8E 20 - 29 01 00 00 00 00 02 8F 02 - 29 01 00 00 00 00 02 90 23 - 29 01 00 00 00 00 02 91 02 - 29 01 00 00 00 00 02 92 59 - 29 01 00 00 00 00 02 93 02 - 29 01 00 00 00 00 02 94 94 - 29 01 00 00 00 00 02 95 02 - 29 01 00 00 00 00 02 96 B4 - 29 01 00 00 00 00 02 97 02 - 29 01 00 00 00 00 02 98 E1 - 29 01 00 00 00 00 02 99 03 - 29 01 00 00 00 00 02 9A 01 - 29 01 00 00 00 00 02 9B 03 - 29 01 00 00 00 00 02 9C 28 - 29 01 00 00 00 00 02 9D 03 - 29 01 00 00 00 00 02 9E 30 - 29 01 00 00 00 00 02 9F 03 - 29 01 00 00 00 00 02 A0 37 - 29 01 00 00 00 00 02 A2 03 - 29 01 00 00 00 00 02 A3 3B - 29 01 00 00 00 00 02 A4 03 - 29 01 00 00 00 00 02 A5 40 - 29 01 00 00 00 00 02 A6 03 - 29 01 00 00 00 00 02 A7 50 - 29 01 00 00 00 00 02 A9 03 - 29 01 00 00 00 00 02 AA 6D - 29 01 00 00 00 00 02 AB 03 - 29 01 00 00 00 00 02 AC 80 - 29 01 00 00 00 00 02 AD 03 - 29 01 00 00 00 00 02 AE CB - 29 01 00 00 00 00 02 AF 00 - 29 01 00 00 00 00 02 B0 19 - 29 01 00 00 00 00 02 B1 00 - 29 01 00 00 00 00 02 B2 36 - 29 01 00 00 00 00 02 B3 00 - 29 01 00 00 00 00 02 B4 55 - 29 01 00 00 00 00 02 B5 00 - 29 01 00 00 00 00 02 B6 70 - 29 01 00 00 00 00 02 B7 00 - 29 01 00 00 00 00 02 B8 83 - 29 01 00 00 00 00 02 B9 00 - 29 01 00 00 00 00 02 BA 99 - 29 01 00 00 00 00 02 BB 00 - 29 01 00 00 00 00 02 BC A8 - 29 01 00 00 00 00 02 BD 00 - 29 01 00 00 00 00 02 BE B7 - 29 01 00 00 00 00 02 BF 00 - 29 01 00 00 00 00 02 C0 C5 - 29 01 00 00 00 00 02 C1 00 - 29 01 00 00 00 00 02 C2 F7 - 29 01 00 00 00 00 02 C3 01 - 29 01 00 00 00 00 02 C4 1E - 29 01 00 00 00 00 02 C5 01 - 29 01 00 00 00 00 02 C6 60 - 29 01 00 00 00 00 02 C7 01 - 29 01 00 00 00 00 02 C8 95 - 29 01 00 00 00 00 02 C9 01 - 29 01 00 00 00 00 02 CA E1 - 29 01 00 00 00 00 02 CB 02 - 29 01 00 00 00 00 02 CC 20 - 29 01 00 00 00 00 02 CD 02 - 29 01 00 00 00 00 02 CE 23 - 29 01 00 00 00 00 02 CF 02 - 29 01 00 00 00 00 02 D0 59 - 29 01 00 00 00 00 02 D1 02 - 29 01 00 00 00 00 02 D2 94 - 29 01 00 00 00 00 02 D3 02 - 29 01 00 00 00 00 02 D4 B4 - 29 01 00 00 00 00 02 D5 02 - 29 01 00 00 00 00 02 D6 E1 - 29 01 00 00 00 00 02 D7 03 - 29 01 00 00 00 00 02 D8 01 - 29 01 00 00 00 00 02 D9 03 - 29 01 00 00 00 00 02 DA 28 - 29 01 00 00 00 00 02 DB 03 - 29 01 00 00 00 00 02 DC 30 - 29 01 00 00 00 00 02 DD 03 - 29 01 00 00 00 00 02 DE 37 - 29 01 00 00 00 00 02 DF 03 - 29 01 00 00 00 00 02 E0 3B - 29 01 00 00 00 00 02 E1 03 - 29 01 00 00 00 00 02 E2 40 - 29 01 00 00 00 00 02 E3 03 - 29 01 00 00 00 00 02 E4 50 - 29 01 00 00 00 00 02 E5 03 - 29 01 00 00 00 00 02 E6 6D - 29 01 00 00 00 00 02 E7 03 - 29 01 00 00 00 00 02 E8 80 - 29 01 00 00 00 00 02 E9 03 - 29 01 00 00 00 00 02 EA CB - 29 01 00 00 00 00 02 FF 01 - 29 01 00 00 00 00 02 FB 01 - 29 01 00 00 00 00 02 FF 02 - 29 01 00 00 00 00 02 FB 01 - 29 01 00 00 00 00 02 FF 04 - 29 01 00 00 00 00 02 FB 01 - 29 01 00 00 00 00 02 FF 00 - 29 01 00 00 64 00 02 11 00 - 29 01 00 00 00 00 02 FF EE - 29 01 00 00 00 00 02 12 50 - 29 01 00 00 00 00 02 13 02 - 29 01 00 00 00 00 02 6A 60 - 29 01 00 00 00 00 02 FF 00 - 29 01 00 00 78 00 02 29 00]; - - qcom,on-cmds-dsi-state = "DSI_LP_MODE"; - qcom,panel-off-cmds = [05 01 00 00 32 00 02 28 00 - 05 01 00 00 78 00 02 10 00]; - qcom,off-cmds-dsi-state = "DSI_HS_MODE"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/dsi-panel-orise-720p-video.dtsi b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/dsi-panel-orise-720p-video.dtsi deleted file mode 100644 index 478541fb1..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/dsi-panel-orise-720p-video.dtsi +++ /dev/null @@ -1,60 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -&soc { - qcom,mdss_dsi_orise_720p_video { - compatible = "qcom,mdss-dsi-panel"; - label = "orise 720p video mode dsi panel"; - status = "disable"; - qcom,dsi-ctrl-phandle = <&mdss_dsi1>; - qcom,mdss-pan-res = <720 1280>; - qcom,mdss-pan-bpp = <24>; - qcom,mdss-pan-dest = "display_2"; - qcom,mdss-pan-porch-values = <32 12 144 3 4 9>; - qcom,mdss-pan-underflow-clr = <0xff>; - qcom,mdss-pan-bl-levels = <1 255>; - qcom,mdss-pan-dsi-mode = <0>; - qcom,mdss-pan-dsi-h-pulse-mode = <0>; - qcom,mdss-pan-dsi-h-power-stop = <0 0 0>; - qcom,mdss-pan-dsi-bllp-power-stop = <1 1>; - qcom,mdss-pan-dsi-traffic-mode = <1>; - qcom,mdss-pan-dsi-dst-format = <3>; - qcom,mdss-pan-dsi-vc = <0>; - qcom,mdss-pan-dsi-rgb-swap = <0>; - qcom,mdss-pan-dsi-data-lanes = <1 1 1 1>; - qcom,mdss-pan-dsi-dlane-swap = <0>; - qcom,mdss-pan-dsi-t-clk = <0x1b 0x04>; - qcom,mdss-pan-dsi-stream = <0>; - qcom,mdss-pan-dsi-mdp-tr = <0x0>; - qcom,mdss-pan-dsi-dma-tr = <0x04>; - qcom,mdss-pan-dsi-frame-rate = <60>; - qcom,panel-phy-regulatorSettings = [03 01 01 00 /* Regualotor settings */ - 20 00 01]; - qcom,panel-phy-timingSettings = [69 29 1f 00 55 55 - 19 2a 2a 03 04 00]; - qcom,panel-phy-strengthCtrl = [77 06]; - qcom,panel-phy-bistCtrl = [00 00 b1 ff /* BIST Ctrl settings */ - 00 00]; - qcom,panel-phy-laneConfig = [00 c2 45 00 00 00 00 01 75 /* lane0 config */ - 00 c2 45 00 00 00 00 01 75 /* lane1 config */ - 00 c2 45 00 00 00 00 01 75 /* lane2 config */ - 00 c2 45 00 00 00 00 01 75 /* lane3 config */ - 00 02 45 00 00 00 00 01 97]; /* Clk ln config */ - - qcom,panel-on-cmds = [05 01 00 00 78 00 02 11 00 - 05 01 00 00 78 00 02 29 00]; - qcom,on-cmds-dsi-state = "DSI_LP_MODE"; - qcom,panel-off-cmds = [05 01 00 00 32 00 02 28 00 - 05 01 00 00 78 00 02 10 00]; - qcom,off-cmds-dsi-state = "DSI_LP_MODE"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/dsi-panel-sharp-qhd-video.dtsi b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/dsi-panel-sharp-qhd-video.dtsi deleted file mode 100644 index 45d396cdc..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/dsi-panel-sharp-qhd-video.dtsi +++ /dev/null @@ -1,67 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -&soc { - qcom,mdss_dsi_sharp_qhd_video { - compatible = "qcom,mdss-dsi-panel"; - label = "sharp QHD LS043T1LE01 video mode dsi panel"; - status = "disable"; - qcom,dsi-ctrl-phandle = <&mdss_dsi0>; - qcom,enable-gpio = <&msmgpio 58 0>; - qcom,rst-gpio = <&pm8941_gpios 19 0>; - qcom,mdss-pan-res = <540 960>; - qcom,mdss-pan-bpp = <24>; - qcom,mdss-pan-dest = "display_1"; - qcom,mdss-pan-porch-values = <80 32 48 15 10 3>; /* HBP, HPW, HFP, VBP, VPW, VFP */ - qcom,mdss-pan-underflow-clr = <0xff>; - qcom,mdss-pan-bl-ctrl = "bl_ctrl_wled"; - qcom,mdss-pan-bl-levels = <1 4095>; - qcom,mdss-pan-dsi-mode = <0>; - qcom,mdss-pan-dsi-h-pulse-mode = <1>; - qcom,mdss-pan-dsi-h-power-stop = <0 0 0>; - qcom,mdss-pan-dsi-bllp-power-stop = <1 1>; - qcom,mdss-pan-dsi-traffic-mode = <0>; - qcom,mdss-pan-dsi-dst-format = <3>; - qcom,mdss-pan-dsi-vc = <0>; - qcom,mdss-pan-dsi-rgb-swap = <2>; - qcom,mdss-pan-dsi-data-lanes = <1 1 0 0>; - qcom,mdss-pan-dsi-dlane-swap = <0>; - qcom,mdss-pan-dsi-t-clk = <0x1c 0x04>; - qcom,mdss-pan-dsi-stream = <0>; - qcom,mdss-pan-dsi-mdp-tr = <0x04>; - qcom,mdss-pan-dsi-dma-tr = <0x04>; - qcom,mdss-pan-frame-rate = <60>; - qcom,panel-phy-regulatorSettings = [07 09 03 00 /* Regulator settings */ - 20 00 01]; - qcom,panel-phy-timingSettings = [46 1d 20 00 39 3a - 21 21 32 03 04 00]; - qcom,panel-phy-strengthCtrl = [ff 06]; - qcom,panel-phy-bistCtrl = [00 00 b1 ff /* BIST Ctrl settings */ - 00 00]; - qcom,panel-phy-laneConfig = [00 00 00 00 00 00 00 01 97 /* lane0 config */ - 00 00 00 00 05 00 00 01 97 /* lane1 config */ - 00 00 00 00 0a 00 00 01 97 /* lane2 config */ - 00 00 00 00 0f 00 00 01 97 /* lane3 config */ - 00 c0 00 00 00 00 00 01 bb]; /* Clk ln config */ - qcom,panel-on-cmds = [05 01 00 00 32 00 02 01 00 /* sw reset */ - 05 01 00 00 0a 00 02 11 00 /* exit sleep */ - 15 01 00 00 0a 00 02 53 2c /* backlight on */ - 15 01 00 00 0a 00 02 51 ff /* brightness max */ - 05 01 00 00 0a 00 02 29 00 /* display on */ - 15 01 00 00 0a 00 02 ae 03 /* set num of lanes */ - 15 01 00 00 0a 00 02 3a 77 /* rgb_888 */]; - qcom,on-cmds-dsi-state = "DSI_LP_MODE"; - qcom,panel-off-cmds = [05 01 00 00 0a 00 02 28 00 /* display off */ - 05 01 00 00 78 00 02 10 00 /* enter sleep */]; - qcom,off-cmds-dsi-state = "DSI_HS_MODE"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/dsi-panel-sim-video.dtsi b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/dsi-panel-sim-video.dtsi deleted file mode 100644 index 271e37316..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/dsi-panel-sim-video.dtsi +++ /dev/null @@ -1,46 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&soc { - - qcom,mdss_dsi_sim_video { - compatible = "qcom,mdss-dsi-panel"; - label = "simulator video mode dsi panel"; - status = "disable"; - qcom,dsi-ctrl-phandle = <&mdss_dsi0>; - qcom,mdss-pan-res = <640 480>; - qcom,mdss-pan-bpp = <24>; - qcom,mdss-pan-dest = "display_1"; - qcom,mdss-pan-porch-values = <6 2 6 6 2 6>; - qcom,mdss-pan-underflow-clr = <0xff>; - qcom,mdss-pan-bl-levels = <1 15>; - qcom,mdss-pan-dsi-mode = <0>; - qcom,mdss-pan-dsi-h-pulse-mode = <1>; - qcom,mdss-pan-dsi-h-power-stop = <1 1 1>; - qcom,mdss-pan-dsi-bllp-power-stop = <1 1>; - qcom,mdss-pan-dsi-traffic-mode = <0>; - qcom,mdss-pan-dsi-dst-format = <3>; - qcom,mdss-pan-dsi-vc = <0>; - qcom,mdss-pan-dsi-rgb-swap = <0>; - qcom,mdss-pan-dsi-data-lanes = <1 1 0 0>; - qcom,mdss-pan-dsi-dlane-swap = <0>; - qcom,mdss-pan-dsi-t-clk = <0x24 0x03>; - qcom,mdss-pan-dsi-stream = <0>; - qcom,mdss-pan-dsi-mdp-tr = <0x04>; - qcom,mdss-pan-dsi-dma-tr = <0x04>; - qcom,mdss-pan-dsi-frame-rate = <60>; - qcom,panel-on-cmds = [32 01 00 00 00 00 02 00 00]; - qcom,on-cmds-dsi-state = "DSI_LP_MODE"; - qcom,panel-off-cmds = [22 01 00 00 00 00 02 00 00]; - qcom,off-cmds-dsi-state = "DSI_LP_MODE"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/dsi-panel-toshiba-720p-video.dtsi b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/dsi-panel-toshiba-720p-video.dtsi deleted file mode 100644 index 5c37cf8dc..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/dsi-panel-toshiba-720p-video.dtsi +++ /dev/null @@ -1,124 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&soc { - - qcom,mdss_dsi_toshiba_720p_video { - compatible = "qcom,mdss-dsi-panel"; - label = "toshiba 720p video mode dsi panel"; - status = "disable"; - qcom,dsi-ctrl-phandle = <&mdss_dsi0>; - qcom,enable-gpio = <&msmgpio 58 0>; - qcom,rst-gpio = <&pm8941_gpios 19 0>; - qcom,mdss-pan-res = <720 1280>; - qcom,mdss-pan-bpp = <24>; - qcom,mdss-pan-dest = "display_1"; - qcom,mdss-pan-porch-values = <32 12 144 3 4 9>; - qcom,mdss-pan-underflow-clr = <0xff>; - qcom,mdss-pan-bl-ctrl = "bl_ctrl_wled"; - qcom,mdss-pan-bl-levels = <1 4095>; - qcom,mdss-pan-dsi-mode = <0>; - qcom,mdss-pan-dsi-h-pulse-mode = <0>; - qcom,mdss-pan-dsi-h-power-stop = <0 0 0>; - qcom,mdss-pan-dsi-bllp-power-stop = <1 1>; - qcom,mdss-pan-dsi-traffic-mode = <1>; - qcom,mdss-pan-dsi-dst-format = <3>; - qcom,mdss-pan-dsi-vc = <0>; - qcom,mdss-pan-dsi-rgb-swap = <0>; - qcom,mdss-pan-dsi-data-lanes = <1 1 1 1>; - qcom,mdss-pan-dsi-dlane-swap = <0>; - qcom,mdss-pan-dsi-t-clk = <0x1b 0x04>; - qcom,mdss-pan-dsi-stream = <0>; - qcom,mdss-pan-dsi-mdp-tr = <0x0>; - qcom,mdss-pan-dsi-dma-tr = <0x04>; - qcom,mdss-pan-dsi-frame-rate = <60>; - qcom,panel-phy-regulatorSettings = [07 09 03 00 /* Regualotor settings */ - 20 00 01]; - qcom,panel-phy-timingSettings = [b0 23 1b 00 94 93 - 1e 25 15 03 04 00]; - qcom,panel-phy-strengthCtrl = [ff 06]; - qcom,panel-phy-bistCtrl = [00 00 b1 ff /* BIST Ctrl settings */ - 00 00]; - qcom,panel-phy-laneConfig = [00 00 00 00 00 00 00 01 97 /* lane0 config */ - 00 00 00 00 05 00 00 01 97 /* lane1 config */ - 00 00 00 00 0a 00 00 01 97 /* lane2 config */ - 00 00 00 00 0f 00 00 01 97 /* lane3 config */ - 00 c0 00 00 00 00 00 01 bb]; /* Clk ln config */ - - qcom,panel-on-cmds = [23 01 00 00 0a 00 02 b0 00 - 23 01 00 00 0a 00 02 b2 00 - 23 01 00 00 0a 00 02 b3 0c - 23 01 00 00 0a 00 02 b4 02 - 29 01 00 00 00 00 06 - c0 40 02 7f c8 08 - 29 01 00 00 00 00 10 - c1 00 a8 00 00 00 - 00 00 9d 08 27 00 - 00 00 00 00 - 29 01 00 00 00 00 06 - c2 00 00 09 00 00 - 23 01 00 00 0a 00 02 c3 04 - 29 01 00 00 00 00 04 - c4 4d 83 00 - 29 01 00 00 00 00 0b - c6 12 00 08 71 00 - 00 00 80 00 04 - 23 01 00 00 0a 00 02 c7 22 - 29 01 00 00 00 00 05 - c8 4c 0c 0c 0c - 29 01 00 00 00 00 0e - c9 00 40 00 16 32 - 2e 3a 43 3e 3c 45 - 79 3f - 29 01 00 00 00 00 0e - ca 00 46 1a 23 21 - 1c 25 31 2d 49 5f - 7f 3f - 29 01 00 00 00 00 0e - cb 00 4c 20 3a 42 - 40 47 4b 42 3e 46 - 7e 3f - 29 01 00 00 00 00 0e - cc 00 41 19 21 1d - 14 18 1f 1d 25 3f - 73 3f - 29 01 00 00 00 00 0e - cd 23 79 5a 5f 57 - 4c 51 51 45 3f 4b - 7f 3f - 29 01 00 00 00 00 0e - ce 00 40 14 20 1a - 0e 0e 13 08 00 05 - 46 1c - 29 01 00 00 00 00 04 - d0 6a 64 01 - 29 01 00 00 00 00 03 d1 77 d4 - 23 01 00 00 0a 00 02 d3 33 - 29 01 00 00 00 00 03 d5 0f 0f - 29 01 00 00 00 00 07 - d8 34 64 23 25 62 - 32 - 29 01 00 00 00 00 0c - de 10 7b 11 0a 00 - 00 00 00 00 00 00 - 29 01 00 00 00 00 09 - fd 04 55 53 00 70 - ff 10 73 - 23 01 00 00 0a 00 02 e2 00 - 05 01 00 00 78 00 02 11 00 - 05 01 00 00 32 00 02 29 00]; - qcom,on-cmds-dsi-state = "DSI_LP_MODE"; - qcom,panel-off-cmds = [05 01 00 00 32 00 02 28 00 - 05 01 00 00 78 00 02 10 00]; - qcom,off-cmds-dsi-state = "DSI_HS_MODE"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/dsi-v2-panel-hx8379a-wvga-video.dtsi b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/dsi-v2-panel-hx8379a-wvga-video.dtsi deleted file mode 100644 index b9ed0506a..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/dsi-v2-panel-hx8379a-wvga-video.dtsi +++ /dev/null @@ -1,117 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/ { - qcom,dsi_v2_hx8379a_wvga_video { - compatible = "qcom,dsi-panel-v2"; - label = "HX8379A WVGA video mode dsi panel"; - qcom,dsi-ctrl-phandle = <&mdss_dsi0>; - qcom,rst-gpio = <&msmgpio 41 0>; - vdda-supply = <&pm8110_l19>; - vddio-supply=<&pm8110_l14>; - qcom,mdss-pan-res = <480 800>; - qcom,mdss-pan-bpp = <24>; - qcom,mdss-pan-dest = "display_1"; - qcom,mdss-pan-porch-values = <90 17 90 2 3 11>; - qcom,mdss-pan-underflow-clr = <0xff>; - qcom,mdss-pan-bl-levels = <1 255>; - qcom,mdss-pan-bl-ctrl = "bl_ctrl_wled"; - qcom,mdss-pan-dsi-mode = <0>; - qcom,mdss-pan-dsi-h-pulse-mode = <1>; - qcom,mdss-pan-dsi-h-power-stop = <0 0 0>; - qcom,mdss-pan-dsi-bllp-power-stop = <1 1>; - qcom,mdss-pan-dsi-traffic-mode = <2>; - qcom,mdss-pan-dsi-dst-format = <3>; - qcom,mdss-pan-dsi-vc = <0>; - qcom,mdss-pan-dsi-rgb-swap = <0>; - qcom,mdss-pan-dsi-data-lanes = <1 1 0 0>; - qcom,mdss-pan-dsi-dlane-swap = <1>; - qcom,mdss-pan-dsi-t-clk = <0x1b 0x04>; - qcom,mdss-pan-dsi-stream = <0>; - qcom,mdss-pan-dsi-mdp-tr = <0x0>;/*todo*/ - qcom,mdss-pan-dsi-dma-tr = <0x04>; - qcom,mdss-pan-dsi-frame-rate = <60>; - qcom,panel-phy-regulatorSettings =[09 08 05 00 20 03]; - qcom,panel-phy-timingSettings = [5D 12 0C 00 33 39 - 10 16 15 03 04 00]; - qcom,panel-phy-strengthCtrl = [ff 06]; - qcom,panel-phy-bistCtrl = [03 03 00 00 0f 00]; - qcom,panel-phy-laneConfig = - [80 45 00 00 01 66 /*lane0**/ - 80 45 00 00 01 66 /*lane1*/ - 80 45 00 00 01 66 /*lane2*/ - 80 45 00 00 01 66 /*lane3*/ - 40 67 00 00 01 88]; /*Clk*/ - - qcom,on-cmds-dsi-state = "DSI_LP_MODE"; - qcom,panel-on-cmds = [ - 29 01 00 00 01 04 - B9 FF 83 79 - 23 01 00 00 01 02 - BA 51 - 29 01 00 00 01 14 - B1 00 50 44 - EA 8D 08 11 - 0F 0F 24 2C - 9A 1A 42 0B - 6E F1 00 E6 - 29 01 00 00 01 0e - B2 00 00 3C - 08 04 19 22 - 00 FF 08 04 - 19 20 - 29 01 00 00 01 20 - B4 80 08 00 - 32 10 03 32 - 13 70 32 10 - 08 37 01 28 - 05 37 08 3C - 20 44 44 08 - 00 40 08 28 - 08 30 30 04 - 23 01 00 00 01 02 - cc 02 - 29 01 00 00 01 30 - D5 00 00 08 - 00 01 05 00 - 03 00 88 88 - 88 88 23 01 - 67 45 02 13 - 88 88 88 88 - 88 88 88 88 - 88 88 54 76 - 10 32 31 20 - 88 88 88 88 - 88 88 00 00 - 00 00 00 00 - 29 01 00 00 01 24 - E0 79 00 00 - 02 1C 1F 33 - 28 3E 07 0E - 0F 15 17 16 - 16 13 19 00 - 00 02 1C 1F - 33 28 3E 07 - 0E 0F 15 17 - 16 16 13 19 - 29 01 00 00 01 05 - B6 00 A6 00 A6 - 05 01 00 00 96 02 - 11 00 - 05 01 00 00 78 02 - 29 00 - ]; - qcom,panel-off-cmds = [05 01 00 00 32 02 28 00 - 05 01 00 00 78 02 10 00]; - qcom,off-cmds-dsi-state = "DSI_LP_MODE"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/dsi-v2-panel-truly-wvga-video.dtsi b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/dsi-v2-panel-truly-wvga-video.dtsi deleted file mode 100644 index 891eac3ad..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/dsi-v2-panel-truly-wvga-video.dtsi +++ /dev/null @@ -1,120 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/ { - qcom,dsi_v2_truly_wvga_video { - compatible = "qcom,dsi-panel-v2"; - label = "Truly WVGA video mode dsi panel"; - qcom,dsi-ctrl-phandle = <&mdss_dsi0>; - qcom,rst-gpio = <&msmgpio 41 0>; - qcom,mode-selection-gpio = <&msmgpio 7 0>; - vdda-supply = <&pm8110_l19>; - vddio-supply=<&pm8110_l14>; - qcom,mdss-pan-res = <480 800>; - qcom,mdss-pan-bpp = <24>; - qcom,mdss-pan-dest = "display_1"; - qcom,mdss-pan-porch-values = <40 8 160 10 2 12>; - qcom,mdss-pan-underflow-clr = <0xff>; - qcom,mdss-pan-bl-levels = <1 255>; - qcom,mdss-pan-bl-ctrl = "bl_ctrl_wled"; - qcom,mdss-pan-dsi-mode = <0>; - qcom,mdss-pan-dsi-h-pulse-mode = <0>; - qcom,mdss-pan-dsi-h-power-stop = <0 0 0>; - qcom,mdss-pan-dsi-bllp-power-stop = <1 1>; - qcom,mdss-pan-dsi-traffic-mode = <1>; - qcom,mdss-pan-dsi-dst-format = <3>; - qcom,mdss-pan-dsi-vc = <0>; - qcom,mdss-pan-dsi-rgb-swap = <0>; - qcom,mdss-pan-dsi-data-lanes = <1 1 0 0>; - qcom,mdss-pan-dsi-dlane-swap = <0>; - qcom,mdss-pan-dsi-t-clk = <0x1b 0x04>; - qcom,mdss-pan-dsi-stream = <0>; - qcom,mdss-pan-dsi-mdp-tr = <0x0>;/*todo*/ - qcom,mdss-pan-dsi-dma-tr = <0x04>; - qcom,mdss-pan-dsi-frame-rate = <60>; - qcom,panel-phy-regulatorSettings =[09 08 05 00 20 03]; - qcom,panel-phy-timingSettings = [5D 12 0C 00 33 38 - 10 16 1E 03 04 00]; - qcom,panel-phy-strengthCtrl = [ff 06]; - qcom,panel-phy-bistCtrl = [03 03 00 00 0f 00]; - qcom,panel-phy-laneConfig = - [80 45 00 00 01 66 /*lane0**/ - 80 45 00 00 01 66 /*lane1*/ - 80 45 00 00 01 66 /*lane2*/ - 80 45 00 00 01 66 /*lane3*/ - 40 67 00 00 01 88]; /*Clk*/ - - qcom,on-cmds-dsi-state = "DSI_LP_MODE"; - qcom,panel-on-cmds = [ - 05 01 00 00 00 02 - 01 00 - 23 01 00 00 00 02 - b0 04 - 29 01 00 00 00 03 - b3 02 00 - 23 01 00 00 00 02 - bd 00 - 29 01 00 00 00 03 - c0 18 66 - 29 01 00 00 00 10 - c1 23 31 99 21 20 00 30 28 0c 0c - 00 00 00 21 01 - 29 01 00 00 00 07 - c2 10 06 06 01 03 00 - 29 01 00 00 00 19 - c8 04 10 18 20 2e 46 3c 28 1f 18 - 10 04 04 10 18 20 2e 46 3c 28 1f 18 10 04 - 29 01 00 00 00 19 - c9 04 10 18 20 2e 46 3c 28 1f 18 - 10 04 04 10 18 20 2e 46 3c 28 1f 18 10 04 - 29 01 00 00 00 19 - ca 04 10 18 20 2e 46 3c 28 1f 18 - 10 04 04 10 18 20 2e 46 3c 28 1f 18 10 04 - 29 01 00 00 00 11 - d0 29 03 ce a6 00 43 20 10 01 00 - 01 01 00 03 01 00 - 29 01 00 00 00 08 - d1 18 0C 23 03 75 02 50 - 23 01 00 00 00 02 - d3 11 - 29 01 00 00 00 03 - d5 2a 2a - 29 01 00 00 00 03 - de 01 41 - 23 01 00 00 00 02 - e6 51 - 23 01 00 00 00 02 - fa 03 - 23 01 00 00 64 02 - d6 28 - 39 01 00 00 00 05 - 2a 00 00 01 df - 39 01 00 00 00 05 - 2b 00 00 03 1f - 15 01 00 00 00 02 - 35 00 - 39 01 00 00 00 03 - 44 00 50 - 15 01 00 00 00 02 - 36 c1 - 15 01 00 00 00 02 - 3a 77 - 05 01 00 00 7D 02 - 11 00 - 05 01 00 00 14 02 - 29 00 - ]; - qcom,panel-off-cmds = [05 01 00 00 32 02 28 00 - 05 01 00 00 78 02 10 00]; - qcom,off-cmds-dsi-state = "DSI_LP_MODE"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/exynos4210-origen.dts b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/exynos4210-origen.dts deleted file mode 100644 index b8c476384..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/exynos4210-origen.dts +++ /dev/null @@ -1,137 +0,0 @@ -/* - * Samsung's Exynos4210 based Origen board device tree source - * - * Copyright (c) 2010-2011 Samsung Electronics Co., Ltd. - * http://www.samsung.com - * Copyright (c) 2010-2011 Linaro Ltd. - * www.linaro.org - * - * Device tree source file for Insignal's Origen board which is based on - * Samsung's Exynos4210 SoC. - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. -*/ - -/dts-v1/; -/include/ "exynos4210.dtsi" - -/ { - model = "Insignal Origen evaluation board based on Exynos4210"; - compatible = "insignal,origen", "samsung,exynos4210"; - - memory { - reg = <0x40000000 0x40000000>; - }; - - chosen { - bootargs ="root=/dev/ram0 rw ramdisk=8192 initrd=0x41000000,8M console=ttySAC2,115200 init=/linuxrc"; - }; - - sdhci@12530000 { - samsung,sdhci-bus-width = <4>; - linux,mmc_cap_4_bit_data; - samsung,sdhci-cd-internal; - gpio-cd = <&gpk2 2 2 3 3>; - gpios = <&gpk2 0 2 0 3>, - <&gpk2 1 2 0 3>, - <&gpk2 3 2 3 3>, - <&gpk2 4 2 3 3>, - <&gpk2 5 2 3 3>, - <&gpk2 6 2 3 3>; - }; - - sdhci@12510000 { - samsung,sdhci-bus-width = <4>; - linux,mmc_cap_4_bit_data; - samsung,sdhci-cd-internal; - gpio-cd = <&gpk0 2 2 3 3>; - gpios = <&gpk0 0 2 0 3>, - <&gpk0 1 2 0 3>, - <&gpk0 3 2 3 3>, - <&gpk0 4 2 3 3>, - <&gpk0 5 2 3 3>, - <&gpk0 6 2 3 3>; - }; - - gpio_keys { - compatible = "gpio-keys"; - #address-cells = <1>; - #size-cells = <0>; - - up { - label = "Up"; - gpios = <&gpx2 0 0 0 2>; - linux,code = <103>; - }; - - down { - label = "Down"; - gpios = <&gpx2 1 0 0 2>; - linux,code = <108>; - }; - - back { - label = "Back"; - gpios = <&gpx1 7 0 0 2>; - linux,code = <158>; - }; - - home { - label = "Home"; - gpios = <&gpx1 6 0 0 2>; - linux,code = <102>; - }; - - menu { - label = "Menu"; - gpios = <&gpx1 5 0 0 2>; - linux,code = <139>; - }; - }; - - keypad@100A0000 { - status = "disabled"; - }; - - sdhci@12520000 { - status = "disabled"; - }; - - sdhci@12540000 { - status = "disabled"; - }; - - i2c@13860000 { - status = "disabled"; - }; - - i2c@13870000 { - status = "disabled"; - }; - - i2c@13880000 { - status = "disabled"; - }; - - i2c@13890000 { - status = "disabled"; - }; - - i2c@138A0000 { - status = "disabled"; - }; - - i2c@138B0000 { - status = "disabled"; - }; - - i2c@138C0000 { - status = "disabled"; - }; - - i2c@138D0000 { - status = "disabled"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/exynos4210-smdkv310.dts b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/exynos4210-smdkv310.dts deleted file mode 100644 index 27afc8e53..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/exynos4210-smdkv310.dts +++ /dev/null @@ -1,182 +0,0 @@ -/* - * Samsung's Exynos4210 based SMDKV310 board device tree source - * - * Copyright (c) 2010-2011 Samsung Electronics Co., Ltd. - * http://www.samsung.com - * Copyright (c) 2010-2011 Linaro Ltd. - * www.linaro.org - * - * Device tree source file for Samsung's SMDKV310 board which is based on - * Samsung's Exynos4210 SoC. - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. -*/ - -/dts-v1/; -/include/ "exynos4210.dtsi" - -/ { - model = "Samsung smdkv310 evaluation board based on Exynos4210"; - compatible = "samsung,smdkv310", "samsung,exynos4210"; - - memory { - reg = <0x40000000 0x80000000>; - }; - - chosen { - bootargs = "root=/dev/ram0 rw ramdisk=8192 initrd=0x41000000,8M console=ttySAC1,115200 init=/linuxrc"; - }; - - sdhci@12530000 { - samsung,sdhci-bus-width = <4>; - linux,mmc_cap_4_bit_data; - samsung,sdhci-cd-internal; - gpio-cd = <&gpk2 2 2 3 3>; - gpios = <&gpk2 0 2 0 3>, - <&gpk2 1 2 0 3>, - <&gpk2 3 2 3 3>, - <&gpk2 4 2 3 3>, - <&gpk2 5 2 3 3>, - <&gpk2 6 2 3 3>; - }; - - keypad@100A0000 { - samsung,keypad-num-rows = <2>; - samsung,keypad-num-columns = <8>; - linux,keypad-no-autorepeat; - linux,keypad-wakeup; - - row-gpios = <&gpx2 0 3 3 0>, - <&gpx2 1 3 3 0>; - - col-gpios = <&gpx1 0 3 0 0>, - <&gpx1 1 3 0 0>, - <&gpx1 2 3 0 0>, - <&gpx1 3 3 0 0>, - <&gpx1 4 3 0 0>, - <&gpx1 5 3 0 0>, - <&gpx1 6 3 0 0>, - <&gpx1 7 3 0 0>; - - key_1 { - keypad,row = <0>; - keypad,column = <3>; - linux,code = <2>; - }; - - key_2 { - keypad,row = <0>; - keypad,column = <4>; - linux,code = <3>; - }; - - key_3 { - keypad,row = <0>; - keypad,column = <5>; - linux,code = <4>; - }; - - key_4 { - keypad,row = <0>; - keypad,column = <6>; - linux,code = <5>; - }; - - key_5 { - keypad,row = <0>; - keypad,column = <7>; - linux,code = <6>; - }; - - key_a { - keypad,row = <1>; - keypad,column = <3>; - linux,code = <30>; - }; - - key_b { - keypad,row = <1>; - keypad,column = <4>; - linux,code = <48>; - }; - - key_c { - keypad,row = <1>; - keypad,column = <5>; - linux,code = <46>; - }; - - key_d { - keypad,row = <1>; - keypad,column = <6>; - linux,code = <32>; - }; - - key_e { - keypad,row = <1>; - keypad,column = <7>; - linux,code = <18>; - }; - }; - - i2c@13860000 { - #address-cells = <1>; - #size-cells = <0>; - samsung,i2c-sda-delay = <100>; - samsung,i2c-max-bus-freq = <20000>; - gpios = <&gpd1 0 2 3 0>, - <&gpd1 1 2 3 0>; - - eeprom@50 { - compatible = "samsung,24ad0xd1"; - reg = <0x50>; - }; - - eeprom@52 { - compatible = "samsung,24ad0xd1"; - reg = <0x52>; - }; - }; - - sdhci@12510000 { - status = "disabled"; - }; - - sdhci@12520000 { - status = "disabled"; - }; - - sdhci@12540000 { - status = "disabled"; - }; - - i2c@13870000 { - status = "disabled"; - }; - - i2c@13880000 { - status = "disabled"; - }; - - i2c@13890000 { - status = "disabled"; - }; - - i2c@138A0000 { - status = "disabled"; - }; - - i2c@138B0000 { - status = "disabled"; - }; - - i2c@138C0000 { - status = "disabled"; - }; - - i2c@138D0000 { - status = "disabled"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/exynos4210.dtsi b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/exynos4210.dtsi deleted file mode 100644 index a1dd2ee83..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/exynos4210.dtsi +++ /dev/null @@ -1,398 +0,0 @@ -/* - * Samsung's Exynos4210 SoC device tree source - * - * Copyright (c) 2010-2011 Samsung Electronics Co., Ltd. - * http://www.samsung.com - * Copyright (c) 2010-2011 Linaro Ltd. - * www.linaro.org - * - * Samsung's Exynos4210 SoC device nodes are listed in this file. Exynos4210 - * based board files can include this file and provide values for board specfic - * bindings. - * - * Note: This file does not include device nodes for all the controllers in - * Exynos4210 SoC. As device tree coverage for Exynos4210 increases, additional - * nodes can be added to this file. - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. -*/ - -/include/ "skeleton.dtsi" - -/ { - compatible = "samsung,exynos4210"; - interrupt-parent = <&gic>; - - gic:interrupt-controller@10490000 { - compatible = "arm,cortex-a9-gic"; - #interrupt-cells = <3>; - interrupt-controller; - cpu-offset = <0x8000>; - reg = <0x10490000 0x1000>, <0x10480000 0x100>; - }; - - watchdog@10060000 { - compatible = "samsung,s3c2410-wdt"; - reg = <0x10060000 0x100>; - interrupts = <0 43 0>; - }; - - rtc@10070000 { - compatible = "samsung,s3c6410-rtc"; - reg = <0x10070000 0x100>; - interrupts = <0 44 0>, <0 45 0>; - }; - - keypad@100A0000 { - compatible = "samsung,s5pv210-keypad"; - reg = <0x100A0000 0x100>; - interrupts = <0 109 0>; - }; - - sdhci@12510000 { - compatible = "samsung,exynos4210-sdhci"; - reg = <0x12510000 0x100>; - interrupts = <0 73 0>; - }; - - sdhci@12520000 { - compatible = "samsung,exynos4210-sdhci"; - reg = <0x12520000 0x100>; - interrupts = <0 74 0>; - }; - - sdhci@12530000 { - compatible = "samsung,exynos4210-sdhci"; - reg = <0x12530000 0x100>; - interrupts = <0 75 0>; - }; - - sdhci@12540000 { - compatible = "samsung,exynos4210-sdhci"; - reg = <0x12540000 0x100>; - interrupts = <0 76 0>; - }; - - serial@13800000 { - compatible = "samsung,exynos4210-uart"; - reg = <0x13800000 0x100>; - interrupts = <0 52 0>; - }; - - serial@13810000 { - compatible = "samsung,exynos4210-uart"; - reg = <0x13810000 0x100>; - interrupts = <0 53 0>; - }; - - serial@13820000 { - compatible = "samsung,exynos4210-uart"; - reg = <0x13820000 0x100>; - interrupts = <0 54 0>; - }; - - serial@13830000 { - compatible = "samsung,exynos4210-uart"; - reg = <0x13830000 0x100>; - interrupts = <0 55 0>; - }; - - i2c@13860000 { - compatible = "samsung,s3c2440-i2c"; - reg = <0x13860000 0x100>; - interrupts = <0 58 0>; - }; - - i2c@13870000 { - compatible = "samsung,s3c2440-i2c"; - reg = <0x13870000 0x100>; - interrupts = <0 59 0>; - }; - - i2c@13880000 { - compatible = "samsung,s3c2440-i2c"; - reg = <0x13880000 0x100>; - interrupts = <0 60 0>; - }; - - i2c@13890000 { - compatible = "samsung,s3c2440-i2c"; - reg = <0x13890000 0x100>; - interrupts = <0 61 0>; - }; - - i2c@138A0000 { - compatible = "samsung,s3c2440-i2c"; - reg = <0x138A0000 0x100>; - interrupts = <0 62 0>; - }; - - i2c@138B0000 { - compatible = "samsung,s3c2440-i2c"; - reg = <0x138B0000 0x100>; - interrupts = <0 63 0>; - }; - - i2c@138C0000 { - compatible = "samsung,s3c2440-i2c"; - reg = <0x138C0000 0x100>; - interrupts = <0 64 0>; - }; - - i2c@138D0000 { - compatible = "samsung,s3c2440-i2c"; - reg = <0x138D0000 0x100>; - interrupts = <0 65 0>; - }; - - amba { - #address-cells = <1>; - #size-cells = <1>; - compatible = "arm,amba-bus"; - interrupt-parent = <&gic>; - ranges; - - pdma0: pdma@12680000 { - compatible = "arm,pl330", "arm,primecell"; - reg = <0x12680000 0x1000>; - interrupts = <0 35 0>; - }; - - pdma1: pdma@12690000 { - compatible = "arm,pl330", "arm,primecell"; - reg = <0x12690000 0x1000>; - interrupts = <0 36 0>; - }; - }; - - gpio-controllers { - #address-cells = <1>; - #size-cells = <1>; - gpio-controller; - ranges; - - gpa0: gpio-controller@11400000 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400000 0x20>; - #gpio-cells = <4>; - }; - - gpa1: gpio-controller@11400020 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400020 0x20>; - #gpio-cells = <4>; - }; - - gpb: gpio-controller@11400040 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400040 0x20>; - #gpio-cells = <4>; - }; - - gpc0: gpio-controller@11400060 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400060 0x20>; - #gpio-cells = <4>; - }; - - gpc1: gpio-controller@11400080 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400080 0x20>; - #gpio-cells = <4>; - }; - - gpd0: gpio-controller@114000A0 { - compatible = "samsung,exynos4-gpio"; - reg = <0x114000A0 0x20>; - #gpio-cells = <4>; - }; - - gpd1: gpio-controller@114000C0 { - compatible = "samsung,exynos4-gpio"; - reg = <0x114000C0 0x20>; - #gpio-cells = <4>; - }; - - gpe0: gpio-controller@114000E0 { - compatible = "samsung,exynos4-gpio"; - reg = <0x114000E0 0x20>; - #gpio-cells = <4>; - }; - - gpe1: gpio-controller@11400100 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400100 0x20>; - #gpio-cells = <4>; - }; - - gpe2: gpio-controller@11400120 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400120 0x20>; - #gpio-cells = <4>; - }; - - gpe3: gpio-controller@11400140 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400140 0x20>; - #gpio-cells = <4>; - }; - - gpe4: gpio-controller@11400160 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400160 0x20>; - #gpio-cells = <4>; - }; - - gpf0: gpio-controller@11400180 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400180 0x20>; - #gpio-cells = <4>; - }; - - gpf1: gpio-controller@114001A0 { - compatible = "samsung,exynos4-gpio"; - reg = <0x114001A0 0x20>; - #gpio-cells = <4>; - }; - - gpf2: gpio-controller@114001C0 { - compatible = "samsung,exynos4-gpio"; - reg = <0x114001C0 0x20>; - #gpio-cells = <4>; - }; - - gpf3: gpio-controller@114001E0 { - compatible = "samsung,exynos4-gpio"; - reg = <0x114001E0 0x20>; - #gpio-cells = <4>; - }; - - gpj0: gpio-controller@11000000 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11000000 0x20>; - #gpio-cells = <4>; - }; - - gpj1: gpio-controller@11000020 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11000020 0x20>; - #gpio-cells = <4>; - }; - - gpk0: gpio-controller@11000040 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11000040 0x20>; - #gpio-cells = <4>; - }; - - gpk1: gpio-controller@11000060 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11000060 0x20>; - #gpio-cells = <4>; - }; - - gpk2: gpio-controller@11000080 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11000080 0x20>; - #gpio-cells = <4>; - }; - - gpk3: gpio-controller@110000A0 { - compatible = "samsung,exynos4-gpio"; - reg = <0x110000A0 0x20>; - #gpio-cells = <4>; - }; - - gpl0: gpio-controller@110000C0 { - compatible = "samsung,exynos4-gpio"; - reg = <0x110000C0 0x20>; - #gpio-cells = <4>; - }; - - gpl1: gpio-controller@110000E0 { - compatible = "samsung,exynos4-gpio"; - reg = <0x110000E0 0x20>; - #gpio-cells = <4>; - }; - - gpl2: gpio-controller@11000100 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11000100 0x20>; - #gpio-cells = <4>; - }; - - gpy0: gpio-controller@11000120 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11000120 0x20>; - #gpio-cells = <4>; - }; - - gpy1: gpio-controller@11000140 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11000140 0x20>; - #gpio-cells = <4>; - }; - - gpy2: gpio-controller@11000160 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11000160 0x20>; - #gpio-cells = <4>; - }; - - gpy3: gpio-controller@11000180 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11000180 0x20>; - #gpio-cells = <4>; - }; - - gpy4: gpio-controller@110001A0 { - compatible = "samsung,exynos4-gpio"; - reg = <0x110001A0 0x20>; - #gpio-cells = <4>; - }; - - gpy5: gpio-controller@110001C0 { - compatible = "samsung,exynos4-gpio"; - reg = <0x110001C0 0x20>; - #gpio-cells = <4>; - }; - - gpy6: gpio-controller@110001E0 { - compatible = "samsung,exynos4-gpio"; - reg = <0x110001E0 0x20>; - #gpio-cells = <4>; - }; - - gpx0: gpio-controller@11000C00 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11000C00 0x20>; - #gpio-cells = <4>; - }; - - gpx1: gpio-controller@11000C20 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11000C20 0x20>; - #gpio-cells = <4>; - }; - - gpx2: gpio-controller@11000C40 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11000C40 0x20>; - #gpio-cells = <4>; - }; - - gpx3: gpio-controller@11000C60 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11000C60 0x20>; - #gpio-cells = <4>; - }; - - gpz: gpio-controller@03860000 { - compatible = "samsung,exynos4-gpio"; - reg = <0x03860000 0x20>; - #gpio-cells = <4>; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/exynos5250-smdk5250.dts b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/exynos5250-smdk5250.dts deleted file mode 100644 index 399d17b23..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/exynos5250-smdk5250.dts +++ /dev/null @@ -1,26 +0,0 @@ -/* - * SAMSUNG SMDK5250 board device tree source - * - * Copyright (c) 2012 Samsung Electronics Co., Ltd. - * http://www.samsung.com - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. -*/ - -/dts-v1/; -/include/ "exynos5250.dtsi" - -/ { - model = "SAMSUNG SMDK5250 board based on EXYNOS5250"; - compatible = "samsung,smdk5250", "samsung,exynos5250"; - - memory { - reg = <0x40000000 0x80000000>; - }; - - chosen { - bootargs = "root=/dev/ram0 rw ramdisk=8192 console=ttySAC1,115200"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/exynos5250.dtsi b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/exynos5250.dtsi deleted file mode 100644 index dfc433599..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/exynos5250.dtsi +++ /dev/null @@ -1,413 +0,0 @@ -/* - * SAMSUNG EXYNOS5250 SoC device tree source - * - * Copyright (c) 2012 Samsung Electronics Co., Ltd. - * http://www.samsung.com - * - * SAMSUNG EXYNOS5250 SoC device nodes are listed in this file. - * EXYNOS5250 based board files can include this file and provide - * values for board specfic bindings. - * - * Note: This file does not include device nodes for all the controllers in - * EXYNOS5250 SoC. As device tree coverage for EXYNOS5250 increases, - * additional nodes can be added to this file. - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. -*/ - -/include/ "skeleton.dtsi" - -/ { - compatible = "samsung,exynos5250"; - interrupt-parent = <&gic>; - - gic:interrupt-controller@10490000 { - compatible = "arm,cortex-a9-gic"; - #interrupt-cells = <3>; - interrupt-controller; - reg = <0x10490000 0x1000>, <0x10480000 0x100>; - }; - - watchdog { - compatible = "samsung,s3c2410-wdt"; - reg = <0x101D0000 0x100>; - interrupts = <0 42 0>; - }; - - rtc { - compatible = "samsung,s3c6410-rtc"; - reg = <0x101E0000 0x100>; - interrupts = <0 43 0>, <0 44 0>; - }; - - sdhci@12200000 { - compatible = "samsung,exynos4210-sdhci"; - reg = <0x12200000 0x100>; - interrupts = <0 75 0>; - }; - - sdhci@12210000 { - compatible = "samsung,exynos4210-sdhci"; - reg = <0x12210000 0x100>; - interrupts = <0 76 0>; - }; - - sdhci@12220000 { - compatible = "samsung,exynos4210-sdhci"; - reg = <0x12220000 0x100>; - interrupts = <0 77 0>; - }; - - sdhci@12230000 { - compatible = "samsung,exynos4210-sdhci"; - reg = <0x12230000 0x100>; - interrupts = <0 78 0>; - }; - - serial@12C00000 { - compatible = "samsung,exynos4210-uart"; - reg = <0x12C00000 0x100>; - interrupts = <0 51 0>; - }; - - serial@12C10000 { - compatible = "samsung,exynos4210-uart"; - reg = <0x12C10000 0x100>; - interrupts = <0 52 0>; - }; - - serial@12C20000 { - compatible = "samsung,exynos4210-uart"; - reg = <0x12C20000 0x100>; - interrupts = <0 53 0>; - }; - - serial@12C30000 { - compatible = "samsung,exynos4210-uart"; - reg = <0x12C30000 0x100>; - interrupts = <0 54 0>; - }; - - i2c@12C60000 { - compatible = "samsung,s3c2440-i2c"; - reg = <0x12C60000 0x100>; - interrupts = <0 56 0>; - }; - - i2c@12C70000 { - compatible = "samsung,s3c2440-i2c"; - reg = <0x12C70000 0x100>; - interrupts = <0 57 0>; - }; - - i2c@12C80000 { - compatible = "samsung,s3c2440-i2c"; - reg = <0x12C80000 0x100>; - interrupts = <0 58 0>; - }; - - i2c@12C90000 { - compatible = "samsung,s3c2440-i2c"; - reg = <0x12C90000 0x100>; - interrupts = <0 59 0>; - }; - - i2c@12CA0000 { - compatible = "samsung,s3c2440-i2c"; - reg = <0x12CA0000 0x100>; - interrupts = <0 60 0>; - }; - - i2c@12CB0000 { - compatible = "samsung,s3c2440-i2c"; - reg = <0x12CB0000 0x100>; - interrupts = <0 61 0>; - }; - - i2c@12CC0000 { - compatible = "samsung,s3c2440-i2c"; - reg = <0x12CC0000 0x100>; - interrupts = <0 62 0>; - }; - - i2c@12CD0000 { - compatible = "samsung,s3c2440-i2c"; - reg = <0x12CD0000 0x100>; - interrupts = <0 63 0>; - }; - - amba { - #address-cells = <1>; - #size-cells = <1>; - compatible = "arm,amba-bus"; - interrupt-parent = <&gic>; - ranges; - - pdma0: pdma@121A0000 { - compatible = "arm,pl330", "arm,primecell"; - reg = <0x121A0000 0x1000>; - interrupts = <0 34 0>; - }; - - pdma1: pdma@121B0000 { - compatible = "arm,pl330", "arm,primecell"; - reg = <0x121B0000 0x1000>; - interrupts = <0 35 0>; - }; - - mdma0: pdma@10800000 { - compatible = "arm,pl330", "arm,primecell"; - reg = <0x10800000 0x1000>; - interrupts = <0 33 0>; - }; - - mdma1: pdma@11C10000 { - compatible = "arm,pl330", "arm,primecell"; - reg = <0x11C10000 0x1000>; - interrupts = <0 124 0>; - }; - }; - - gpio-controllers { - #address-cells = <1>; - #size-cells = <1>; - gpio-controller; - ranges; - - gpa0: gpio-controller@11400000 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400000 0x20>; - #gpio-cells = <4>; - }; - - gpa1: gpio-controller@11400020 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400020 0x20>; - #gpio-cells = <4>; - }; - - gpa2: gpio-controller@11400040 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400040 0x20>; - #gpio-cells = <4>; - }; - - gpb0: gpio-controller@11400060 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400060 0x20>; - #gpio-cells = <4>; - }; - - gpb1: gpio-controller@11400080 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400080 0x20>; - #gpio-cells = <4>; - }; - - gpb2: gpio-controller@114000A0 { - compatible = "samsung,exynos4-gpio"; - reg = <0x114000A0 0x20>; - #gpio-cells = <4>; - }; - - gpb3: gpio-controller@114000C0 { - compatible = "samsung,exynos4-gpio"; - reg = <0x114000C0 0x20>; - #gpio-cells = <4>; - }; - - gpc0: gpio-controller@114000E0 { - compatible = "samsung,exynos4-gpio"; - reg = <0x114000E0 0x20>; - #gpio-cells = <4>; - }; - - gpc1: gpio-controller@11400100 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400100 0x20>; - #gpio-cells = <4>; - }; - - gpc2: gpio-controller@11400120 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400120 0x20>; - #gpio-cells = <4>; - }; - - gpc3: gpio-controller@11400140 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400140 0x20>; - #gpio-cells = <4>; - }; - - gpd0: gpio-controller@11400160 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400160 0x20>; - #gpio-cells = <4>; - }; - - gpd1: gpio-controller@11400180 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400180 0x20>; - #gpio-cells = <4>; - }; - - gpy0: gpio-controller@114001A0 { - compatible = "samsung,exynos4-gpio"; - reg = <0x114001A0 0x20>; - #gpio-cells = <4>; - }; - - gpy1: gpio-controller@114001C0 { - compatible = "samsung,exynos4-gpio"; - reg = <0x114001C0 0x20>; - #gpio-cells = <4>; - }; - - gpy2: gpio-controller@114001E0 { - compatible = "samsung,exynos4-gpio"; - reg = <0x114001E0 0x20>; - #gpio-cells = <4>; - }; - - gpy3: gpio-controller@11400200 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400200 0x20>; - #gpio-cells = <4>; - }; - - gpy4: gpio-controller@11400220 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400220 0x20>; - #gpio-cells = <4>; - }; - - gpy5: gpio-controller@11400240 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400240 0x20>; - #gpio-cells = <4>; - }; - - gpy6: gpio-controller@11400260 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400260 0x20>; - #gpio-cells = <4>; - }; - - gpx0: gpio-controller@11400C00 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400C00 0x20>; - #gpio-cells = <4>; - }; - - gpx1: gpio-controller@11400C20 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400C20 0x20>; - #gpio-cells = <4>; - }; - - gpx2: gpio-controller@11400C40 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400C40 0x20>; - #gpio-cells = <4>; - }; - - gpx3: gpio-controller@11400C60 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400C60 0x20>; - #gpio-cells = <4>; - }; - - gpe0: gpio-controller@13400000 { - compatible = "samsung,exynos4-gpio"; - reg = <0x13400000 0x20>; - #gpio-cells = <4>; - }; - - gpe1: gpio-controller@13400020 { - compatible = "samsung,exynos4-gpio"; - reg = <0x13400020 0x20>; - #gpio-cells = <4>; - }; - - gpf0: gpio-controller@13400040 { - compatible = "samsung,exynos4-gpio"; - reg = <0x13400040 0x20>; - #gpio-cells = <4>; - }; - - gpf1: gpio-controller@13400060 { - compatible = "samsung,exynos4-gpio"; - reg = <0x13400060 0x20>; - #gpio-cells = <4>; - }; - - gpg0: gpio-controller@13400080 { - compatible = "samsung,exynos4-gpio"; - reg = <0x13400080 0x20>; - #gpio-cells = <4>; - }; - - gpg1: gpio-controller@134000A0 { - compatible = "samsung,exynos4-gpio"; - reg = <0x134000A0 0x20>; - #gpio-cells = <4>; - }; - - gpg2: gpio-controller@134000C0 { - compatible = "samsung,exynos4-gpio"; - reg = <0x134000C0 0x20>; - #gpio-cells = <4>; - }; - - gph0: gpio-controller@134000E0 { - compatible = "samsung,exynos4-gpio"; - reg = <0x134000E0 0x20>; - #gpio-cells = <4>; - }; - - gph1: gpio-controller@13400100 { - compatible = "samsung,exynos4-gpio"; - reg = <0x13400100 0x20>; - #gpio-cells = <4>; - }; - - gpv0: gpio-controller@10D10000 { - compatible = "samsung,exynos4-gpio"; - reg = <0x10D10000 0x20>; - #gpio-cells = <4>; - }; - - gpv1: gpio-controller@10D10020 { - compatible = "samsung,exynos4-gpio"; - reg = <0x10D10020 0x20>; - #gpio-cells = <4>; - }; - - gpv2: gpio-controller@10D10040 { - compatible = "samsung,exynos4-gpio"; - reg = <0x10D10040 0x20>; - #gpio-cells = <4>; - }; - - gpv3: gpio-controller@10D10060 { - compatible = "samsung,exynos4-gpio"; - reg = <0x10D10060 0x20>; - #gpio-cells = <4>; - }; - - gpv4: gpio-controller@10D10080 { - compatible = "samsung,exynos4-gpio"; - reg = <0x10D10080 0x20>; - #gpio-cells = <4>; - }; - - gpz: gpio-controller@03860000 { - compatible = "samsung,exynos4-gpio"; - reg = <0x03860000 0x20>; - #gpio-cells = <4>; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/fsm9900-rumi.dts b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/fsm9900-rumi.dts deleted file mode 100644 index 2b380c7b3..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/fsm9900-rumi.dts +++ /dev/null @@ -1,31 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; - -/include/ "fsm9900.dtsi" - -/ { - model = "Qualcomm FSM9900 Rumi"; - compatible = "qcom,fsm9900-rumi", "qcom,fsm9900", "qcom-sim"; - qcom,msm-id = <188 0 0>; - - aliases { - serial0 = &uart0; - }; -}; - -&soc { - uart0: serial@f9960000 { - status = "ok"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/fsm9900-sim.dts b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/fsm9900-sim.dts deleted file mode 100644 index 050929e60..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/fsm9900-sim.dts +++ /dev/null @@ -1,32 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; - -/include/ "fsm9900.dtsi" - -/ { - model = "Qualcomm FSM9900 Simulator"; - compatible = "qcom,fsm9900-sim", "qcom,fsm9900", "qcom-sim"; - qcom,msm-id = <188 0 0>; - - aliases { - serial0 = &uart0; - }; -}; - -&soc { - uart0: serial@f9960000 { - interrupts = <0 116 0>; - status = "ok"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/fsm9900.dtsi b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/fsm9900.dtsi deleted file mode 100644 index 766db368d..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/fsm9900.dtsi +++ /dev/null @@ -1,94 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/include/ "skeleton64.dtsi" - -/ { - model = "Qualcomm FSM9900"; - compatible = "qcom,fsm9900"; - interrupt-parent = <&intc>; - soc: soc { }; -}; - -&soc { - #address-cells = <1>; - #size-cells = <1>; - ranges = <0 0 0 0xffffffff>; - - intc: interrupt-controller@f9000000 { - compatible = "qcom,msm-qgic2"; - interrupt-controller; - #interrupt-cells = <3>; - reg = <0xF9000000 0x1000>, - <0xF9002000 0x1000>; - }; - - msmgpio: gpio@fd510000 { - compatible = "qcom,msm-gpio"; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - reg = <0xfd510000 0x4000>; - ngpio = <142>; - interrupts = <0 208 0>; - qcom,direct-connect-irqs = <5>; - }; - - timer { - compatible = "arm,armv7-timer"; - interrupts = <1 2 0 1 3 0>; - clock-frequency = <19200000>; - }; - - serial@f9960000 { - compatible = "qcom,msm-lsuart-v14"; - reg = <0xf9960000 0x1000>; - interrupts = <0 104 0>; - status = "disabled"; - }; - - cpu-pmu { - compatible = "qcom,krait-pmu"; - qcom,irq-is-percpu; - interrupts = <1 7 0xf00>; - }; - - qcom,msm-imem@fe805000 { - compatible = "qcom,msm-imem"; - reg = <0xfe805000 0x1000>; /* Address and size of IMEM */ - }; - - qcom,cache_erp { - compatible = "qcom,cache_erp"; - interrupts = <1 9 0>, <0 2 0>; - interrupt-names = "l1_irq", "l2_irq"; - }; - - qcom,cache_dump { - compatible = "qcom,cache_dump"; - qcom,l1-dump-size = <0x100000>; - qcom,l2-dump-size = <0x500000>; - qcom,memory-reservation-type = "EBI1"; - qcom,memory-reservation-size = <0x600000>; /* 6M EBI1 buffer */ - }; - - qcom,ion { - compatible = "qcom,msm-ion"; - #address-cells = <1>; - #size-cells = <0>; - - qcom,ion-heap@30 { /* SYSTEM HEAP */ - reg = <30>; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/highbank.dts b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/highbank.dts deleted file mode 100644 index 83e72294a..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/highbank.dts +++ /dev/null @@ -1,209 +0,0 @@ -/* - * Copyright 2011 Calxeda, Inc. - * - * This program is free software; you can redistribute it and/or modify it - * under the terms and conditions of the GNU General Public License, - * version 2, as published by the Free Software Foundation. - * - * This program is distributed in the hope 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. - * - * You should have received a copy of the GNU General Public License along with - * this program. If not, see . - */ - -/dts-v1/; - -/* First 4KB has pen for secondary cores. */ -/memreserve/ 0x00000000 0x0001000; - -/ { - model = "Calxeda Highbank"; - compatible = "calxeda,highbank"; - #address-cells = <1>; - #size-cells = <1>; - - cpus { - #address-cells = <1>; - #size-cells = <0>; - - cpu@0 { - compatible = "arm,cortex-a9"; - reg = <0>; - next-level-cache = <&L2>; - }; - - cpu@1 { - compatible = "arm,cortex-a9"; - reg = <1>; - next-level-cache = <&L2>; - }; - - cpu@2 { - compatible = "arm,cortex-a9"; - reg = <2>; - next-level-cache = <&L2>; - }; - - cpu@3 { - compatible = "arm,cortex-a9"; - reg = <3>; - next-level-cache = <&L2>; - }; - }; - - memory { - name = "memory"; - device_type = "memory"; - reg = <0x00000000 0xff900000>; - }; - - chosen { - bootargs = "console=ttyAMA0"; - }; - - soc { - #address-cells = <1>; - #size-cells = <1>; - compatible = "simple-bus"; - interrupt-parent = <&intc>; - ranges; - - timer@fff10600 { - compatible = "arm,cortex-a9-twd-timer"; - reg = <0xfff10600 0x20>; - interrupts = <1 13 0xf01>; - }; - - watchdog@fff10620 { - compatible = "arm,cortex-a9-twd-wdt"; - reg = <0xfff10620 0x20>; - interrupts = <1 14 0xf01>; - }; - - intc: interrupt-controller@fff11000 { - compatible = "arm,cortex-a9-gic"; - #interrupt-cells = <3>; - #size-cells = <0>; - #address-cells = <1>; - interrupt-controller; - reg = <0xfff11000 0x1000>, - <0xfff10100 0x100>; - }; - - L2: l2-cache { - compatible = "arm,pl310-cache"; - reg = <0xfff12000 0x1000>; - interrupts = <0 70 4>; - cache-unified; - cache-level = <2>; - }; - - pmu { - compatible = "arm,cortex-a9-pmu"; - interrupts = <0 76 4 0 75 4 0 74 4 0 73 4>; - }; - - sata@ffe08000 { - compatible = "calxeda,hb-ahci"; - reg = <0xffe08000 0x10000>; - interrupts = <0 83 4>; - }; - - sdhci@ffe0e000 { - compatible = "calxeda,hb-sdhci"; - reg = <0xffe0e000 0x1000>; - interrupts = <0 90 4>; - }; - - ipc@fff20000 { - compatible = "arm,pl320", "arm,primecell"; - reg = <0xfff20000 0x1000>; - interrupts = <0 7 4>; - }; - - gpioe: gpio@fff30000 { - #gpio-cells = <2>; - compatible = "arm,pl061", "arm,primecell"; - gpio-controller; - reg = <0xfff30000 0x1000>; - interrupts = <0 14 4>; - }; - - gpiof: gpio@fff31000 { - #gpio-cells = <2>; - compatible = "arm,pl061", "arm,primecell"; - gpio-controller; - reg = <0xfff31000 0x1000>; - interrupts = <0 15 4>; - }; - - gpiog: gpio@fff32000 { - #gpio-cells = <2>; - compatible = "arm,pl061", "arm,primecell"; - gpio-controller; - reg = <0xfff32000 0x1000>; - interrupts = <0 16 4>; - }; - - gpioh: gpio@fff33000 { - #gpio-cells = <2>; - compatible = "arm,pl061", "arm,primecell"; - gpio-controller; - reg = <0xfff33000 0x1000>; - interrupts = <0 17 4>; - }; - - timer { - compatible = "arm,sp804", "arm,primecell"; - reg = <0xfff34000 0x1000>; - interrupts = <0 18 4>; - }; - - rtc@fff35000 { - compatible = "arm,pl031", "arm,primecell"; - reg = <0xfff35000 0x1000>; - interrupts = <0 19 4>; - }; - - serial@fff36000 { - compatible = "arm,pl011", "arm,primecell"; - reg = <0xfff36000 0x1000>; - interrupts = <0 20 4>; - }; - - smic@fff3a000 { - compatible = "ipmi-smic"; - device_type = "ipmi"; - reg = <0xfff3a000 0x1000>; - interrupts = <0 24 4>; - reg-size = <4>; - reg-spacing = <4>; - }; - - sregs@fff3c000 { - compatible = "calxeda,hb-sregs"; - reg = <0xfff3c000 0x1000>; - }; - - dma@fff3d000 { - compatible = "arm,pl330", "arm,primecell"; - reg = <0xfff3d000 0x1000>; - interrupts = <0 92 4>; - }; - - ethernet@fff50000 { - compatible = "calxeda,hb-xgmac"; - reg = <0xfff50000 0x1000>; - interrupts = <0 77 4 0 78 4 0 79 4>; - }; - - ethernet@fff51000 { - compatible = "calxeda,hb-xgmac"; - reg = <0xfff51000 0x1000>; - interrupts = <0 80 4 0 81 4 0 82 4>; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/imx27-phytec-phycore.dts b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/imx27-phytec-phycore.dts deleted file mode 100644 index a51a08fc2..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/imx27-phytec-phycore.dts +++ /dev/null @@ -1,76 +0,0 @@ -/* - * Copyright 2012 Sascha Hauer, Pengutronix - * - * The code contained herein is licensed under the GNU General Public - * License. You may obtain a copy of the GNU General Public License - * Version 2 or later at the following locations: - * - * http://www.opensource.org/licenses/gpl-license.html - * http://www.gnu.org/copyleft/gpl.html - */ - -/dts-v1/; -/include/ "imx27.dtsi" - -/ { - model = "Phytec pcm038"; - compatible = "phytec,imx27-pcm038", "fsl,imx27"; - - memory { - reg = <0x0 0x0>; - }; - - soc { - aipi@10000000 { /* aipi */ - - wdog@10002000 { - status = "okay"; - }; - - uart@1000a000 { - fsl,uart-has-rtscts; - status = "okay"; - }; - - uart@1000b000 { - fsl,uart-has-rtscts; - status = "okay"; - }; - - uart@1000c000 { - fsl,uart-has-rtscts; - status = "okay"; - }; - - fec@1002b000 { - status = "okay"; - }; - - i2c@1001d000 { - clock-frequency = <400000>; - status = "okay"; - at24@4c { - compatible = "at,24c32"; - pagesize = <32>; - reg = <0x52>; - }; - pcf8563@51 { - compatible = "nxp,pcf8563"; - reg = <0x51>; - }; - lm75@4a { - compatible = "national,lm75"; - reg = <0x4a>; - }; - }; - }; - }; - - nor_flash@c0000000 { - compatible = "cfi-flash"; - bank-width = <2>; - reg = <0xc0000000 0x02000000>; - #address-cells = <1>; - #size-cells = <1>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/imx27.dtsi b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/imx27.dtsi deleted file mode 100644 index bc5e7d5dd..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/imx27.dtsi +++ /dev/null @@ -1,217 +0,0 @@ -/* - * Copyright 2012 Sascha Hauer, Pengutronix - * - * The code contained herein is licensed under the GNU General Public - * License. You may obtain a copy of the GNU General Public License - * Version 2 or later at the following locations: - * - * http://www.opensource.org/licenses/gpl-license.html - * http://www.gnu.org/copyleft/gpl.html - */ - -/include/ "skeleton.dtsi" - -/ { - aliases { - serial0 = &uart1; - serial1 = &uart2; - serial2 = &uart3; - serial3 = &uart4; - serial4 = &uart5; - serial5 = &uart6; - }; - - avic: avic-interrupt-controller@e0000000 { - compatible = "fsl,imx27-avic", "fsl,avic"; - interrupt-controller; - #interrupt-cells = <1>; - reg = <0x10040000 0x1000>; - }; - - clocks { - #address-cells = <1>; - #size-cells = <0>; - - osc26m { - compatible = "fsl,imx-osc26m", "fixed-clock"; - clock-frequency = <26000000>; - }; - }; - - soc { - #address-cells = <1>; - #size-cells = <1>; - compatible = "simple-bus"; - interrupt-parent = <&avic>; - ranges; - - aipi@10000000 { /* AIPI1 */ - compatible = "fsl,aipi-bus", "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0x10000000 0x10000000>; - ranges; - - wdog@10002000 { - compatible = "fsl,imx27-wdt", "fsl,imx21-wdt"; - reg = <0x10002000 0x4000>; - interrupts = <27>; - status = "disabled"; - }; - - uart1: uart@1000a000 { - compatible = "fsl,imx27-uart", "fsl,imx21-uart"; - reg = <0x1000a000 0x1000>; - interrupts = <20>; - status = "disabled"; - }; - - uart2: uart@1000b000 { - compatible = "fsl,imx27-uart", "fsl,imx21-uart"; - reg = <0x1000b000 0x1000>; - interrupts = <19>; - status = "disabled"; - }; - - uart3: uart@1000c000 { - compatible = "fsl,imx27-uart", "fsl,imx21-uart"; - reg = <0x1000c000 0x1000>; - interrupts = <18>; - status = "disabled"; - }; - - uart4: uart@1000d000 { - compatible = "fsl,imx27-uart", "fsl,imx21-uart"; - reg = <0x1000d000 0x1000>; - interrupts = <17>; - status = "disabled"; - }; - - cspi1: cspi@1000e000 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx27-cspi"; - reg = <0x1000e000 0x1000>; - interrupts = <16>; - status = "disabled"; - }; - - cspi2: cspi@1000f000 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx27-cspi"; - reg = <0x1000f000 0x1000>; - interrupts = <15>; - status = "disabled"; - }; - - i2c1: i2c@10012000 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx27-i2c", "fsl,imx1-i2c"; - reg = <0x10012000 0x1000>; - interrupts = <12>; - status = "disabled"; - }; - - gpio1: gpio@10015000 { - compatible = "fsl,imx27-gpio", "fsl,imx21-gpio"; - reg = <0x10015000 0x100>; - interrupts = <8>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - gpio2: gpio@10015100 { - compatible = "fsl,imx27-gpio", "fsl,imx21-gpio"; - reg = <0x10015100 0x100>; - interrupts = <8>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - gpio3: gpio@10015200 { - compatible = "fsl,imx27-gpio", "fsl,imx21-gpio"; - reg = <0x10015200 0x100>; - interrupts = <8>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - gpio4: gpio@10015300 { - compatible = "fsl,imx27-gpio", "fsl,imx21-gpio"; - reg = <0x10015300 0x100>; - interrupts = <8>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - gpio5: gpio@10015400 { - compatible = "fsl,imx27-gpio", "fsl,imx21-gpio"; - reg = <0x10015400 0x100>; - interrupts = <8>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - gpio6: gpio@10015500 { - compatible = "fsl,imx27-gpio", "fsl,imx21-gpio"; - reg = <0x10015500 0x100>; - interrupts = <8>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - cspi3: cspi@10017000 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx27-cspi"; - reg = <0x10017000 0x1000>; - interrupts = <6>; - status = "disabled"; - }; - - uart5: uart@1001b000 { - compatible = "fsl,imx27-uart", "fsl,imx21-uart"; - reg = <0x1001b000 0x1000>; - interrupts = <49>; - status = "disabled"; - }; - - uart6: uart@1001c000 { - compatible = "fsl,imx27-uart", "fsl,imx21-uart"; - reg = <0x1001c000 0x1000>; - interrupts = <48>; - status = "disabled"; - }; - - i2c2: i2c@1001d000 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx27-i2c", "fsl,imx1-i2c"; - reg = <0x1001d000 0x1000>; - interrupts = <1>; - status = "disabled"; - }; - - fec: fec@1002b000 { - compatible = "fsl,imx27-fec"; - reg = <0x1002b000 0x4000>; - interrupts = <50>; - status = "disabled"; - }; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/imx51-babbage.dts b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/imx51-babbage.dts deleted file mode 100644 index 9949e6060..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/imx51-babbage.dts +++ /dev/null @@ -1,221 +0,0 @@ -/* - * Copyright 2011 Freescale Semiconductor, Inc. - * Copyright 2011 Linaro Ltd. - * - * The code contained herein is licensed under the GNU General Public - * License. You may obtain a copy of the GNU General Public License - * Version 2 or later at the following locations: - * - * http://www.opensource.org/licenses/gpl-license.html - * http://www.gnu.org/copyleft/gpl.html - */ - -/dts-v1/; -/include/ "imx51.dtsi" - -/ { - model = "Freescale i.MX51 Babbage Board"; - compatible = "fsl,imx51-babbage", "fsl,imx51"; - - chosen { - bootargs = "console=ttymxc0,115200 root=/dev/mmcblk0p3 rootwait"; - }; - - memory { - reg = <0x90000000 0x20000000>; - }; - - soc { - aips@70000000 { /* aips-1 */ - spba@70000000 { - esdhc@70004000 { /* ESDHC1 */ - fsl,cd-internal; - fsl,wp-internal; - status = "okay"; - }; - - esdhc@70008000 { /* ESDHC2 */ - cd-gpios = <&gpio1 6 0>; - wp-gpios = <&gpio1 5 0>; - status = "okay"; - }; - - uart3: uart@7000c000 { - fsl,uart-has-rtscts; - status = "okay"; - }; - - ecspi@70010000 { /* ECSPI1 */ - fsl,spi-num-chipselects = <2>; - cs-gpios = <&gpio4 24 0>, <&gpio4 25 0>; - status = "okay"; - - pmic: mc13892@0 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,mc13892"; - spi-max-frequency = <6000000>; - reg = <0>; - interrupt-parent = <&gpio1>; - interrupts = <8>; - - regulators { - sw1_reg: sw1 { - regulator-min-microvolt = <600000>; - regulator-max-microvolt = <1375000>; - regulator-boot-on; - regulator-always-on; - }; - - sw2_reg: sw2 { - regulator-min-microvolt = <900000>; - regulator-max-microvolt = <1850000>; - regulator-boot-on; - regulator-always-on; - }; - - sw3_reg: sw3 { - regulator-min-microvolt = <1100000>; - regulator-max-microvolt = <1850000>; - regulator-boot-on; - regulator-always-on; - }; - - sw4_reg: sw4 { - regulator-min-microvolt = <1100000>; - regulator-max-microvolt = <1850000>; - regulator-boot-on; - regulator-always-on; - }; - - vpll_reg: vpll { - regulator-min-microvolt = <1050000>; - regulator-max-microvolt = <1800000>; - regulator-boot-on; - regulator-always-on; - }; - - vdig_reg: vdig { - regulator-min-microvolt = <1650000>; - regulator-max-microvolt = <1650000>; - regulator-boot-on; - }; - - vsd_reg: vsd { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <3150000>; - }; - - vusb2_reg: vusb2 { - regulator-min-microvolt = <2400000>; - regulator-max-microvolt = <2775000>; - regulator-boot-on; - regulator-always-on; - }; - - vvideo_reg: vvideo { - regulator-min-microvolt = <2775000>; - regulator-max-microvolt = <2775000>; - }; - - vaudio_reg: vaudio { - regulator-min-microvolt = <2300000>; - regulator-max-microvolt = <3000000>; - }; - - vcam_reg: vcam { - regulator-min-microvolt = <2500000>; - regulator-max-microvolt = <3000000>; - }; - - vgen1_reg: vgen1 { - regulator-min-microvolt = <1200000>; - regulator-max-microvolt = <1200000>; - }; - - vgen2_reg: vgen2 { - regulator-min-microvolt = <1200000>; - regulator-max-microvolt = <3150000>; - regulator-always-on; - }; - - vgen3_reg: vgen3 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <2900000>; - regulator-always-on; - }; - }; - }; - - flash: at45db321d@1 { - #address-cells = <1>; - #size-cells = <1>; - compatible = "atmel,at45db321d", "atmel,at45", "atmel,dataflash"; - spi-max-frequency = <25000000>; - reg = <1>; - - partition@0 { - label = "U-Boot"; - reg = <0x0 0x40000>; - read-only; - }; - - partition@40000 { - label = "Kernel"; - reg = <0x40000 0x3c0000>; - }; - }; - }; - }; - - wdog@73f98000 { /* WDOG1 */ - status = "okay"; - }; - - iomuxc@73fa8000 { - compatible = "fsl,imx51-iomuxc-babbage"; - reg = <0x73fa8000 0x4000>; - }; - - uart1: uart@73fbc000 { - fsl,uart-has-rtscts; - status = "okay"; - }; - - uart2: uart@73fc0000 { - status = "okay"; - }; - }; - - aips@80000000 { /* aips-2 */ - sdma@83fb0000 { - fsl,sdma-ram-script-name = "imx/sdma/sdma-imx51.bin"; - }; - - i2c@83fc4000 { /* I2C2 */ - status = "okay"; - - codec: sgtl5000@0a { - compatible = "fsl,sgtl5000"; - reg = <0x0a>; - }; - }; - - fec@83fec000 { - phy-mode = "mii"; - status = "okay"; - }; - }; - }; - - gpio-keys { - compatible = "gpio-keys"; - - power { - label = "Power Button"; - gpios = <&gpio2 21 0>; - linux,code = <116>; /* KEY_POWER */ - gpio-key,wakeup; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/imx51.dtsi b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/imx51.dtsi deleted file mode 100644 index 6663986fe..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/imx51.dtsi +++ /dev/null @@ -1,246 +0,0 @@ -/* - * Copyright 2011 Freescale Semiconductor, Inc. - * Copyright 2011 Linaro Ltd. - * - * The code contained herein is licensed under the GNU General Public - * License. You may obtain a copy of the GNU General Public License - * Version 2 or later at the following locations: - * - * http://www.opensource.org/licenses/gpl-license.html - * http://www.gnu.org/copyleft/gpl.html - */ - -/include/ "skeleton.dtsi" - -/ { - aliases { - serial0 = &uart1; - serial1 = &uart2; - serial2 = &uart3; - }; - - tzic: tz-interrupt-controller@e0000000 { - compatible = "fsl,imx51-tzic", "fsl,tzic"; - interrupt-controller; - #interrupt-cells = <1>; - reg = <0xe0000000 0x4000>; - }; - - clocks { - #address-cells = <1>; - #size-cells = <0>; - - ckil { - compatible = "fsl,imx-ckil", "fixed-clock"; - clock-frequency = <32768>; - }; - - ckih1 { - compatible = "fsl,imx-ckih1", "fixed-clock"; - clock-frequency = <22579200>; - }; - - ckih2 { - compatible = "fsl,imx-ckih2", "fixed-clock"; - clock-frequency = <0>; - }; - - osc { - compatible = "fsl,imx-osc", "fixed-clock"; - clock-frequency = <24000000>; - }; - }; - - soc { - #address-cells = <1>; - #size-cells = <1>; - compatible = "simple-bus"; - interrupt-parent = <&tzic>; - ranges; - - aips@70000000 { /* AIPS1 */ - compatible = "fsl,aips-bus", "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0x70000000 0x10000000>; - ranges; - - spba@70000000 { - compatible = "fsl,spba-bus", "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0x70000000 0x40000>; - ranges; - - esdhc@70004000 { /* ESDHC1 */ - compatible = "fsl,imx51-esdhc"; - reg = <0x70004000 0x4000>; - interrupts = <1>; - status = "disabled"; - }; - - esdhc@70008000 { /* ESDHC2 */ - compatible = "fsl,imx51-esdhc"; - reg = <0x70008000 0x4000>; - interrupts = <2>; - status = "disabled"; - }; - - uart3: uart@7000c000 { - compatible = "fsl,imx51-uart", "fsl,imx21-uart"; - reg = <0x7000c000 0x4000>; - interrupts = <33>; - status = "disabled"; - }; - - ecspi@70010000 { /* ECSPI1 */ - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx51-ecspi"; - reg = <0x70010000 0x4000>; - interrupts = <36>; - status = "disabled"; - }; - - esdhc@70020000 { /* ESDHC3 */ - compatible = "fsl,imx51-esdhc"; - reg = <0x70020000 0x4000>; - interrupts = <3>; - status = "disabled"; - }; - - esdhc@70024000 { /* ESDHC4 */ - compatible = "fsl,imx51-esdhc"; - reg = <0x70024000 0x4000>; - interrupts = <4>; - status = "disabled"; - }; - }; - - gpio1: gpio@73f84000 { - compatible = "fsl,imx51-gpio", "fsl,imx31-gpio"; - reg = <0x73f84000 0x4000>; - interrupts = <50 51>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - gpio2: gpio@73f88000 { - compatible = "fsl,imx51-gpio", "fsl,imx31-gpio"; - reg = <0x73f88000 0x4000>; - interrupts = <52 53>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - gpio3: gpio@73f8c000 { - compatible = "fsl,imx51-gpio", "fsl,imx31-gpio"; - reg = <0x73f8c000 0x4000>; - interrupts = <54 55>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - gpio4: gpio@73f90000 { - compatible = "fsl,imx51-gpio", "fsl,imx31-gpio"; - reg = <0x73f90000 0x4000>; - interrupts = <56 57>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - wdog@73f98000 { /* WDOG1 */ - compatible = "fsl,imx51-wdt", "fsl,imx21-wdt"; - reg = <0x73f98000 0x4000>; - interrupts = <58>; - status = "disabled"; - }; - - wdog@73f9c000 { /* WDOG2 */ - compatible = "fsl,imx51-wdt", "fsl,imx21-wdt"; - reg = <0x73f9c000 0x4000>; - interrupts = <59>; - status = "disabled"; - }; - - uart1: uart@73fbc000 { - compatible = "fsl,imx51-uart", "fsl,imx21-uart"; - reg = <0x73fbc000 0x4000>; - interrupts = <31>; - status = "disabled"; - }; - - uart2: uart@73fc0000 { - compatible = "fsl,imx51-uart", "fsl,imx21-uart"; - reg = <0x73fc0000 0x4000>; - interrupts = <32>; - status = "disabled"; - }; - }; - - aips@80000000 { /* AIPS2 */ - compatible = "fsl,aips-bus", "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0x80000000 0x10000000>; - ranges; - - ecspi@83fac000 { /* ECSPI2 */ - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx51-ecspi"; - reg = <0x83fac000 0x4000>; - interrupts = <37>; - status = "disabled"; - }; - - sdma@83fb0000 { - compatible = "fsl,imx51-sdma", "fsl,imx35-sdma"; - reg = <0x83fb0000 0x4000>; - interrupts = <6>; - }; - - cspi@83fc0000 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx51-cspi", "fsl,imx35-cspi"; - reg = <0x83fc0000 0x4000>; - interrupts = <38>; - status = "disabled"; - }; - - i2c@83fc4000 { /* I2C2 */ - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx51-i2c", "fsl,imx1-i2c"; - reg = <0x83fc4000 0x4000>; - interrupts = <63>; - status = "disabled"; - }; - - i2c@83fc8000 { /* I2C1 */ - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx51-i2c", "fsl,imx1-i2c"; - reg = <0x83fc8000 0x4000>; - interrupts = <62>; - status = "disabled"; - }; - - fec@83fec000 { - compatible = "fsl,imx51-fec", "fsl,imx27-fec"; - reg = <0x83fec000 0x4000>; - interrupts = <87>; - status = "disabled"; - }; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/imx53-ard.dts b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/imx53-ard.dts deleted file mode 100644 index 2dccce46e..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/imx53-ard.dts +++ /dev/null @@ -1,113 +0,0 @@ -/* - * Copyright 2011 Freescale Semiconductor, Inc. - * Copyright 2011 Linaro Ltd. - * - * The code contained herein is licensed under the GNU General Public - * License. You may obtain a copy of the GNU General Public License - * Version 2 or later at the following locations: - * - * http://www.opensource.org/licenses/gpl-license.html - * http://www.gnu.org/copyleft/gpl.html - */ - -/dts-v1/; -/include/ "imx53.dtsi" - -/ { - model = "Freescale i.MX53 Automotive Reference Design Board"; - compatible = "fsl,imx53-ard", "fsl,imx53"; - - chosen { - bootargs = "console=ttymxc0,115200 root=/dev/mmcblk0p3 rootwait"; - }; - - memory { - reg = <0x70000000 0x40000000>; - }; - - soc { - aips@50000000 { /* AIPS1 */ - spba@50000000 { - esdhc@50004000 { /* ESDHC1 */ - cd-gpios = <&gpio1 1 0>; - wp-gpios = <&gpio1 9 0>; - status = "okay"; - }; - }; - - wdog@53f98000 { /* WDOG1 */ - status = "okay"; - }; - - iomuxc@53fa8000 { - compatible = "fsl,imx53-iomuxc-ard"; - reg = <0x53fa8000 0x4000>; - }; - - uart1: uart@53fbc000 { - status = "okay"; - }; - }; - - aips@60000000 { /* AIPS2 */ - sdma@63fb0000 { - fsl,sdma-ram-script-name = "imx/sdma/sdma-imx53.bin"; - }; - }; - }; - - eim-cs1@f4000000 { - #address-cells = <1>; - #size-cells = <1>; - compatible = "fsl,eim-bus", "simple-bus"; - reg = <0xf4000000 0x3ff0000>; - ranges; - - lan9220@f4000000 { - compatible = "smsc,lan9220", "smsc,lan9115"; - reg = <0xf4000000 0x2000000>; - phy-mode = "mii"; - interrupt-parent = <&gpio2>; - interrupts = <31>; - reg-io-width = <4>; - smsc,irq-push-pull; - }; - }; - - gpio-keys { - compatible = "gpio-keys"; - - home { - label = "Home"; - gpios = <&gpio5 10 0>; - linux,code = <102>; /* KEY_HOME */ - gpio-key,wakeup; - }; - - back { - label = "Back"; - gpios = <&gpio5 11 0>; - linux,code = <158>; /* KEY_BACK */ - gpio-key,wakeup; - }; - - program { - label = "Program"; - gpios = <&gpio5 12 0>; - linux,code = <362>; /* KEY_PROGRAM */ - gpio-key,wakeup; - }; - - volume-up { - label = "Volume Up"; - gpios = <&gpio5 13 0>; - linux,code = <115>; /* KEY_VOLUMEUP */ - }; - - volume-down { - label = "Volume Down"; - gpios = <&gpio4 0 0>; - linux,code = <114>; /* KEY_VOLUMEDOWN */ - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/imx53-evk.dts b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/imx53-evk.dts deleted file mode 100644 index 5bac4aa48..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/imx53-evk.dts +++ /dev/null @@ -1,119 +0,0 @@ -/* - * Copyright 2011 Freescale Semiconductor, Inc. - * Copyright 2011 Linaro Ltd. - * - * The code contained herein is licensed under the GNU General Public - * License. You may obtain a copy of the GNU General Public License - * Version 2 or later at the following locations: - * - * http://www.opensource.org/licenses/gpl-license.html - * http://www.gnu.org/copyleft/gpl.html - */ - -/dts-v1/; -/include/ "imx53.dtsi" - -/ { - model = "Freescale i.MX53 Evaluation Kit"; - compatible = "fsl,imx53-evk", "fsl,imx53"; - - chosen { - bootargs = "console=ttymxc0,115200 root=/dev/mmcblk0p3 rootwait"; - }; - - memory { - reg = <0x70000000 0x80000000>; - }; - - soc { - aips@50000000 { /* AIPS1 */ - spba@50000000 { - esdhc@50004000 { /* ESDHC1 */ - cd-gpios = <&gpio3 13 0>; - wp-gpios = <&gpio3 14 0>; - status = "okay"; - }; - - ecspi@50010000 { /* ECSPI1 */ - fsl,spi-num-chipselects = <2>; - cs-gpios = <&gpio2 30 0>, <&gpio3 19 0>; - status = "okay"; - - flash: at45db321d@1 { - #address-cells = <1>; - #size-cells = <1>; - compatible = "atmel,at45db321d", "atmel,at45", "atmel,dataflash"; - spi-max-frequency = <25000000>; - reg = <1>; - - partition@0 { - label = "U-Boot"; - reg = <0x0 0x40000>; - read-only; - }; - - partition@40000 { - label = "Kernel"; - reg = <0x40000 0x3c0000>; - }; - }; - }; - - esdhc@50020000 { /* ESDHC3 */ - cd-gpios = <&gpio3 11 0>; - wp-gpios = <&gpio3 12 0>; - status = "okay"; - }; - }; - - wdog@53f98000 { /* WDOG1 */ - status = "okay"; - }; - - iomuxc@53fa8000 { - compatible = "fsl,imx53-iomuxc-evk"; - reg = <0x53fa8000 0x4000>; - }; - - uart1: uart@53fbc000 { - status = "okay"; - }; - }; - - aips@60000000 { /* AIPS2 */ - sdma@63fb0000 { - fsl,sdma-ram-script-name = "imx/sdma/sdma-imx53.bin"; - }; - - i2c@63fc4000 { /* I2C2 */ - status = "okay"; - - pmic: mc13892@08 { - compatible = "fsl,mc13892", "fsl,mc13xxx"; - reg = <0x08>; - }; - - codec: sgtl5000@0a { - compatible = "fsl,sgtl5000"; - reg = <0x0a>; - }; - }; - - fec@63fec000 { - phy-mode = "rmii"; - phy-reset-gpios = <&gpio7 6 0>; - status = "okay"; - }; - }; - }; - - leds { - compatible = "gpio-leds"; - - green { - label = "Heartbeat"; - gpios = <&gpio7 7 0>; - linux,default-trigger = "heartbeat"; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/imx53-qsb.dts b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/imx53-qsb.dts deleted file mode 100644 index 5c57c8672..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/imx53-qsb.dts +++ /dev/null @@ -1,125 +0,0 @@ -/* - * Copyright 2011 Freescale Semiconductor, Inc. - * Copyright 2011 Linaro Ltd. - * - * The code contained herein is licensed under the GNU General Public - * License. You may obtain a copy of the GNU General Public License - * Version 2 or later at the following locations: - * - * http://www.opensource.org/licenses/gpl-license.html - * http://www.gnu.org/copyleft/gpl.html - */ - -/dts-v1/; -/include/ "imx53.dtsi" - -/ { - model = "Freescale i.MX53 Quick Start Board"; - compatible = "fsl,imx53-qsb", "fsl,imx53"; - - chosen { - bootargs = "console=ttymxc0,115200 root=/dev/mmcblk0p3 rootwait"; - }; - - memory { - reg = <0x70000000 0x40000000>; - }; - - soc { - aips@50000000 { /* AIPS1 */ - spba@50000000 { - esdhc@50004000 { /* ESDHC1 */ - cd-gpios = <&gpio3 13 0>; - status = "okay"; - }; - - esdhc@50020000 { /* ESDHC3 */ - cd-gpios = <&gpio3 11 0>; - wp-gpios = <&gpio3 12 0>; - status = "okay"; - }; - }; - - wdog@53f98000 { /* WDOG1 */ - status = "okay"; - }; - - iomuxc@53fa8000 { - compatible = "fsl,imx53-iomuxc-qsb"; - reg = <0x53fa8000 0x4000>; - }; - - uart1: uart@53fbc000 { - status = "okay"; - }; - }; - - aips@60000000 { /* AIPS2 */ - sdma@63fb0000 { - fsl,sdma-ram-script-name = "imx/sdma/sdma-imx53.bin"; - }; - - i2c@63fc4000 { /* I2C2 */ - status = "okay"; - - codec: sgtl5000@0a { - compatible = "fsl,sgtl5000"; - reg = <0x0a>; - }; - }; - - i2c@63fc8000 { /* I2C1 */ - status = "okay"; - - accelerometer: mma8450@1c { - compatible = "fsl,mma8450"; - reg = <0x1c>; - }; - - pmic: dialog@48 { - compatible = "dialog,da9053", "dialog,da9052"; - reg = <0x48>; - }; - }; - - fec@63fec000 { - phy-mode = "rmii"; - phy-reset-gpios = <&gpio7 6 0>; - status = "okay"; - }; - }; - }; - - gpio-keys { - compatible = "gpio-keys"; - - power { - label = "Power Button"; - gpios = <&gpio1 8 0>; - linux,code = <116>; /* KEY_POWER */ - gpio-key,wakeup; - }; - - volume-up { - label = "Volume Up"; - gpios = <&gpio2 14 0>; - linux,code = <115>; /* KEY_VOLUMEUP */ - }; - - volume-down { - label = "Volume Down"; - gpios = <&gpio2 15 0>; - linux,code = <114>; /* KEY_VOLUMEDOWN */ - }; - }; - - leds { - compatible = "gpio-leds"; - - user { - label = "Heartbeat"; - gpios = <&gpio7 7 0>; - linux,default-trigger = "heartbeat"; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/imx53-smd.dts b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/imx53-smd.dts deleted file mode 100644 index c7ee86c2d..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/imx53-smd.dts +++ /dev/null @@ -1,168 +0,0 @@ -/* - * Copyright 2011 Freescale Semiconductor, Inc. - * Copyright 2011 Linaro Ltd. - * - * The code contained herein is licensed under the GNU General Public - * License. You may obtain a copy of the GNU General Public License - * Version 2 or later at the following locations: - * - * http://www.opensource.org/licenses/gpl-license.html - * http://www.gnu.org/copyleft/gpl.html - */ - -/dts-v1/; -/include/ "imx53.dtsi" - -/ { - model = "Freescale i.MX53 Smart Mobile Reference Design Board"; - compatible = "fsl,imx53-smd", "fsl,imx53"; - - chosen { - bootargs = "console=ttymxc0,115200 root=/dev/mmcblk0p3 rootwait"; - }; - - memory { - reg = <0x70000000 0x40000000>; - }; - - soc { - aips@50000000 { /* AIPS1 */ - spba@50000000 { - esdhc@50004000 { /* ESDHC1 */ - cd-gpios = <&gpio3 13 0>; - wp-gpios = <&gpio4 11 0>; - status = "okay"; - }; - - esdhc@50008000 { /* ESDHC2 */ - fsl,card-wired; - status = "okay"; - }; - - uart3: uart@5000c000 { - fsl,uart-has-rtscts; - status = "okay"; - }; - - ecspi@50010000 { /* ECSPI1 */ - fsl,spi-num-chipselects = <2>; - cs-gpios = <&gpio2 30 0>, <&gpio3 19 0>; - status = "okay"; - - zigbee: mc1323@0 { - compatible = "fsl,mc1323"; - spi-max-frequency = <8000000>; - reg = <0>; - }; - - flash: m25p32@1 { - #address-cells = <1>; - #size-cells = <1>; - compatible = "st,m25p32", "st,m25p"; - spi-max-frequency = <20000000>; - reg = <1>; - - partition@0 { - label = "U-Boot"; - reg = <0x0 0x40000>; - read-only; - }; - - partition@40000 { - label = "Kernel"; - reg = <0x40000 0x3c0000>; - }; - }; - }; - - esdhc@50020000 { /* ESDHC3 */ - fsl,card-wired; - status = "okay"; - }; - }; - - wdog@53f98000 { /* WDOG1 */ - status = "okay"; - }; - - iomuxc@53fa8000 { - compatible = "fsl,imx53-iomuxc-smd"; - reg = <0x53fa8000 0x4000>; - }; - - uart1: uart@53fbc000 { - status = "okay"; - }; - - uart2: uart@53fc0000 { - status = "okay"; - }; - }; - - aips@60000000 { /* AIPS2 */ - sdma@63fb0000 { - fsl,sdma-ram-script-name = "imx/sdma/sdma-imx53.bin"; - }; - - i2c@63fc4000 { /* I2C2 */ - status = "okay"; - - codec: sgtl5000@0a { - compatible = "fsl,sgtl5000"; - reg = <0x0a>; - }; - - magnetometer: mag3110@0e { - compatible = "fsl,mag3110"; - reg = <0x0e>; - }; - - touchkey: mpr121@5a { - compatible = "fsl,mpr121"; - reg = <0x5a>; - }; - }; - - i2c@63fc8000 { /* I2C1 */ - status = "okay"; - - accelerometer: mma8450@1c { - compatible = "fsl,mma8450"; - reg = <0x1c>; - }; - - camera: ov5642@3c { - compatible = "ovti,ov5642"; - reg = <0x3c>; - }; - - pmic: dialog@48 { - compatible = "dialog,da9053", "dialog,da9052"; - reg = <0x48>; - }; - }; - - fec@63fec000 { - phy-mode = "rmii"; - phy-reset-gpios = <&gpio7 6 0>; - status = "okay"; - }; - }; - }; - - gpio-keys { - compatible = "gpio-keys"; - - volume-up { - label = "Volume Up"; - gpios = <&gpio2 14 0>; - linux,code = <115>; /* KEY_VOLUMEUP */ - }; - - volume-down { - label = "Volume Down"; - gpios = <&gpio2 15 0>; - linux,code = <114>; /* KEY_VOLUMEDOWN */ - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/imx53.dtsi b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/imx53.dtsi deleted file mode 100644 index 5dd91b942..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/imx53.dtsi +++ /dev/null @@ -1,301 +0,0 @@ -/* - * Copyright 2011 Freescale Semiconductor, Inc. - * Copyright 2011 Linaro Ltd. - * - * The code contained herein is licensed under the GNU General Public - * License. You may obtain a copy of the GNU General Public License - * Version 2 or later at the following locations: - * - * http://www.opensource.org/licenses/gpl-license.html - * http://www.gnu.org/copyleft/gpl.html - */ - -/include/ "skeleton.dtsi" - -/ { - aliases { - serial0 = &uart1; - serial1 = &uart2; - serial2 = &uart3; - serial3 = &uart4; - serial4 = &uart5; - }; - - tzic: tz-interrupt-controller@0fffc000 { - compatible = "fsl,imx53-tzic", "fsl,tzic"; - interrupt-controller; - #interrupt-cells = <1>; - reg = <0x0fffc000 0x4000>; - }; - - clocks { - #address-cells = <1>; - #size-cells = <0>; - - ckil { - compatible = "fsl,imx-ckil", "fixed-clock"; - clock-frequency = <32768>; - }; - - ckih1 { - compatible = "fsl,imx-ckih1", "fixed-clock"; - clock-frequency = <22579200>; - }; - - ckih2 { - compatible = "fsl,imx-ckih2", "fixed-clock"; - clock-frequency = <0>; - }; - - osc { - compatible = "fsl,imx-osc", "fixed-clock"; - clock-frequency = <24000000>; - }; - }; - - soc { - #address-cells = <1>; - #size-cells = <1>; - compatible = "simple-bus"; - interrupt-parent = <&tzic>; - ranges; - - aips@50000000 { /* AIPS1 */ - compatible = "fsl,aips-bus", "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0x50000000 0x10000000>; - ranges; - - spba@50000000 { - compatible = "fsl,spba-bus", "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0x50000000 0x40000>; - ranges; - - esdhc@50004000 { /* ESDHC1 */ - compatible = "fsl,imx53-esdhc"; - reg = <0x50004000 0x4000>; - interrupts = <1>; - status = "disabled"; - }; - - esdhc@50008000 { /* ESDHC2 */ - compatible = "fsl,imx53-esdhc"; - reg = <0x50008000 0x4000>; - interrupts = <2>; - status = "disabled"; - }; - - uart3: uart@5000c000 { - compatible = "fsl,imx53-uart", "fsl,imx21-uart"; - reg = <0x5000c000 0x4000>; - interrupts = <33>; - status = "disabled"; - }; - - ecspi@50010000 { /* ECSPI1 */ - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx53-ecspi", "fsl,imx51-ecspi"; - reg = <0x50010000 0x4000>; - interrupts = <36>; - status = "disabled"; - }; - - esdhc@50020000 { /* ESDHC3 */ - compatible = "fsl,imx53-esdhc"; - reg = <0x50020000 0x4000>; - interrupts = <3>; - status = "disabled"; - }; - - esdhc@50024000 { /* ESDHC4 */ - compatible = "fsl,imx53-esdhc"; - reg = <0x50024000 0x4000>; - interrupts = <4>; - status = "disabled"; - }; - }; - - gpio1: gpio@53f84000 { - compatible = "fsl,imx53-gpio", "fsl,imx31-gpio"; - reg = <0x53f84000 0x4000>; - interrupts = <50 51>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - gpio2: gpio@53f88000 { - compatible = "fsl,imx53-gpio", "fsl,imx31-gpio"; - reg = <0x53f88000 0x4000>; - interrupts = <52 53>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - gpio3: gpio@53f8c000 { - compatible = "fsl,imx53-gpio", "fsl,imx31-gpio"; - reg = <0x53f8c000 0x4000>; - interrupts = <54 55>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - gpio4: gpio@53f90000 { - compatible = "fsl,imx53-gpio", "fsl,imx31-gpio"; - reg = <0x53f90000 0x4000>; - interrupts = <56 57>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - wdog@53f98000 { /* WDOG1 */ - compatible = "fsl,imx53-wdt", "fsl,imx21-wdt"; - reg = <0x53f98000 0x4000>; - interrupts = <58>; - status = "disabled"; - }; - - wdog@53f9c000 { /* WDOG2 */ - compatible = "fsl,imx53-wdt", "fsl,imx21-wdt"; - reg = <0x53f9c000 0x4000>; - interrupts = <59>; - status = "disabled"; - }; - - uart1: uart@53fbc000 { - compatible = "fsl,imx53-uart", "fsl,imx21-uart"; - reg = <0x53fbc000 0x4000>; - interrupts = <31>; - status = "disabled"; - }; - - uart2: uart@53fc0000 { - compatible = "fsl,imx53-uart", "fsl,imx21-uart"; - reg = <0x53fc0000 0x4000>; - interrupts = <32>; - status = "disabled"; - }; - - gpio5: gpio@53fdc000 { - compatible = "fsl,imx53-gpio", "fsl,imx31-gpio"; - reg = <0x53fdc000 0x4000>; - interrupts = <103 104>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - gpio6: gpio@53fe0000 { - compatible = "fsl,imx53-gpio", "fsl,imx31-gpio"; - reg = <0x53fe0000 0x4000>; - interrupts = <105 106>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - gpio7: gpio@53fe4000 { - compatible = "fsl,imx53-gpio", "fsl,imx31-gpio"; - reg = <0x53fe4000 0x4000>; - interrupts = <107 108>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - i2c@53fec000 { /* I2C3 */ - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx53-i2c", "fsl,imx1-i2c"; - reg = <0x53fec000 0x4000>; - interrupts = <64>; - status = "disabled"; - }; - - uart4: uart@53ff0000 { - compatible = "fsl,imx53-uart", "fsl,imx21-uart"; - reg = <0x53ff0000 0x4000>; - interrupts = <13>; - status = "disabled"; - }; - }; - - aips@60000000 { /* AIPS2 */ - compatible = "fsl,aips-bus", "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0x60000000 0x10000000>; - ranges; - - uart5: uart@63f90000 { - compatible = "fsl,imx53-uart", "fsl,imx21-uart"; - reg = <0x63f90000 0x4000>; - interrupts = <86>; - status = "disabled"; - }; - - ecspi@63fac000 { /* ECSPI2 */ - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx53-ecspi", "fsl,imx51-ecspi"; - reg = <0x63fac000 0x4000>; - interrupts = <37>; - status = "disabled"; - }; - - sdma@63fb0000 { - compatible = "fsl,imx53-sdma", "fsl,imx35-sdma"; - reg = <0x63fb0000 0x4000>; - interrupts = <6>; - }; - - cspi@63fc0000 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx53-cspi", "fsl,imx35-cspi"; - reg = <0x63fc0000 0x4000>; - interrupts = <38>; - status = "disabled"; - }; - - i2c@63fc4000 { /* I2C2 */ - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx53-i2c", "fsl,imx1-i2c"; - reg = <0x63fc4000 0x4000>; - interrupts = <63>; - status = "disabled"; - }; - - i2c@63fc8000 { /* I2C1 */ - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx53-i2c", "fsl,imx1-i2c"; - reg = <0x63fc8000 0x4000>; - interrupts = <62>; - status = "disabled"; - }; - - fec@63fec000 { - compatible = "fsl,imx53-fec", "fsl,imx25-fec"; - reg = <0x63fec000 0x4000>; - interrupts = <87>; - status = "disabled"; - }; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/imx6q-arm2.dts b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/imx6q-arm2.dts deleted file mode 100644 index ce1c8238c..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/imx6q-arm2.dts +++ /dev/null @@ -1,76 +0,0 @@ -/* - * Copyright 2011 Freescale Semiconductor, Inc. - * Copyright 2011 Linaro Ltd. - * - * The code contained herein is licensed under the GNU General Public - * License. You may obtain a copy of the GNU General Public License - * Version 2 or later at the following locations: - * - * http://www.opensource.org/licenses/gpl-license.html - * http://www.gnu.org/copyleft/gpl.html - */ - -/dts-v1/; -/include/ "imx6q.dtsi" - -/ { - model = "Freescale i.MX6 Quad Armadillo2 Board"; - compatible = "fsl,imx6q-arm2", "fsl,imx6q"; - - chosen { - bootargs = "console=ttymxc0,115200 root=/dev/mmcblk3p3 rootwait"; - }; - - memory { - reg = <0x10000000 0x80000000>; - }; - - soc { - aips-bus@02100000 { /* AIPS2 */ - enet@02188000 { - phy-mode = "rgmii"; - local-mac-address = [00 04 9F 01 1B 61]; - status = "okay"; - }; - - usdhc@02198000 { /* uSDHC3 */ - cd-gpios = <&gpio6 11 0>; - wp-gpios = <&gpio6 14 0>; - vmmc-supply = <®_3p3v>; - status = "okay"; - }; - - usdhc@0219c000 { /* uSDHC4 */ - fsl,card-wired; - vmmc-supply = <®_3p3v>; - status = "okay"; - }; - - uart4: uart@021f0000 { - status = "okay"; - }; - }; - }; - - regulators { - compatible = "simple-bus"; - - reg_3p3v: 3p3v { - compatible = "regulator-fixed"; - regulator-name = "3P3V"; - regulator-min-microvolt = <3300000>; - regulator-max-microvolt = <3300000>; - regulator-always-on; - }; - }; - - leds { - compatible = "gpio-leds"; - - debug-led { - label = "Heartbeat"; - gpios = <&gpio3 25 0>; - linux,default-trigger = "heartbeat"; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/imx6q-sabrelite.dts b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/imx6q-sabrelite.dts deleted file mode 100644 index 4663a4e5a..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/imx6q-sabrelite.dts +++ /dev/null @@ -1,83 +0,0 @@ -/* - * Copyright 2011 Freescale Semiconductor, Inc. - * Copyright 2011 Linaro Ltd. - * - * The code contained herein is licensed under the GNU General Public - * License. You may obtain a copy of the GNU General Public License - * Version 2 or later at the following locations: - * - * http://www.opensource.org/licenses/gpl-license.html - * http://www.gnu.org/copyleft/gpl.html - */ - -/dts-v1/; -/include/ "imx6q.dtsi" - -/ { - model = "Freescale i.MX6 Quad SABRE Lite Board"; - compatible = "fsl,imx6q-sabrelite", "fsl,imx6q"; - - memory { - reg = <0x10000000 0x40000000>; - }; - - soc { - aips-bus@02100000 { /* AIPS2 */ - enet@02188000 { - phy-mode = "rgmii"; - phy-reset-gpios = <&gpio3 23 0>; - status = "okay"; - }; - - usdhc@02198000 { /* uSDHC3 */ - cd-gpios = <&gpio7 0 0>; - wp-gpios = <&gpio7 1 0>; - vmmc-supply = <®_3p3v>; - status = "okay"; - }; - - usdhc@0219c000 { /* uSDHC4 */ - cd-gpios = <&gpio2 6 0>; - wp-gpios = <&gpio2 7 0>; - vmmc-supply = <®_3p3v>; - status = "okay"; - }; - - uart2: uart@021e8000 { - status = "okay"; - }; - - i2c@021a0000 { /* I2C1 */ - status = "okay"; - clock-frequency = <100000>; - - codec: sgtl5000@0a { - compatible = "fsl,sgtl5000"; - reg = <0x0a>; - VDDA-supply = <®_2p5v>; - VDDIO-supply = <®_3p3v>; - }; - }; - }; - }; - - regulators { - compatible = "simple-bus"; - - reg_2p5v: 2p5v { - compatible = "regulator-fixed"; - regulator-name = "2P5V"; - regulator-min-microvolt = <2500000>; - regulator-max-microvolt = <2500000>; - regulator-always-on; - }; - - reg_3p3v: 3p3v { - compatible = "regulator-fixed"; - regulator-name = "3P3V"; - regulator-min-microvolt = <3300000>; - regulator-max-microvolt = <3300000>; - regulator-always-on; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/imx6q.dtsi b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/imx6q.dtsi deleted file mode 100644 index 4905f51a1..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/imx6q.dtsi +++ /dev/null @@ -1,575 +0,0 @@ -/* - * Copyright 2011 Freescale Semiconductor, Inc. - * Copyright 2011 Linaro Ltd. - * - * The code contained herein is licensed under the GNU General Public - * License. You may obtain a copy of the GNU General Public License - * Version 2 or later at the following locations: - * - * http://www.opensource.org/licenses/gpl-license.html - * http://www.gnu.org/copyleft/gpl.html - */ - -/include/ "skeleton.dtsi" - -/ { - aliases { - serial0 = &uart1; - serial1 = &uart2; - serial2 = &uart3; - serial3 = &uart4; - serial4 = &uart5; - }; - - cpus { - #address-cells = <1>; - #size-cells = <0>; - - cpu@0 { - compatible = "arm,cortex-a9"; - reg = <0>; - next-level-cache = <&L2>; - }; - - cpu@1 { - compatible = "arm,cortex-a9"; - reg = <1>; - next-level-cache = <&L2>; - }; - - cpu@2 { - compatible = "arm,cortex-a9"; - reg = <2>; - next-level-cache = <&L2>; - }; - - cpu@3 { - compatible = "arm,cortex-a9"; - reg = <3>; - next-level-cache = <&L2>; - }; - }; - - intc: interrupt-controller@00a01000 { - compatible = "arm,cortex-a9-gic"; - #interrupt-cells = <3>; - #address-cells = <1>; - #size-cells = <1>; - interrupt-controller; - reg = <0x00a01000 0x1000>, - <0x00a00100 0x100>; - }; - - clocks { - #address-cells = <1>; - #size-cells = <0>; - - ckil { - compatible = "fsl,imx-ckil", "fixed-clock"; - clock-frequency = <32768>; - }; - - ckih1 { - compatible = "fsl,imx-ckih1", "fixed-clock"; - clock-frequency = <0>; - }; - - osc { - compatible = "fsl,imx-osc", "fixed-clock"; - clock-frequency = <24000000>; - }; - }; - - soc { - #address-cells = <1>; - #size-cells = <1>; - compatible = "simple-bus"; - interrupt-parent = <&intc>; - ranges; - - timer@00a00600 { - compatible = "arm,cortex-a9-twd-timer"; - reg = <0x00a00600 0x20>; - interrupts = <1 13 0xf01>; - }; - - L2: l2-cache@00a02000 { - compatible = "arm,pl310-cache"; - reg = <0x00a02000 0x1000>; - interrupts = <0 92 0x04>; - cache-unified; - cache-level = <2>; - }; - - aips-bus@02000000 { /* AIPS1 */ - compatible = "fsl,aips-bus", "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0x02000000 0x100000>; - ranges; - - spba-bus@02000000 { - compatible = "fsl,spba-bus", "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0x02000000 0x40000>; - ranges; - - spdif@02004000 { - reg = <0x02004000 0x4000>; - interrupts = <0 52 0x04>; - }; - - ecspi@02008000 { /* eCSPI1 */ - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx6q-ecspi", "fsl,imx51-ecspi"; - reg = <0x02008000 0x4000>; - interrupts = <0 31 0x04>; - status = "disabled"; - }; - - ecspi@0200c000 { /* eCSPI2 */ - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx6q-ecspi", "fsl,imx51-ecspi"; - reg = <0x0200c000 0x4000>; - interrupts = <0 32 0x04>; - status = "disabled"; - }; - - ecspi@02010000 { /* eCSPI3 */ - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx6q-ecspi", "fsl,imx51-ecspi"; - reg = <0x02010000 0x4000>; - interrupts = <0 33 0x04>; - status = "disabled"; - }; - - ecspi@02014000 { /* eCSPI4 */ - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx6q-ecspi", "fsl,imx51-ecspi"; - reg = <0x02014000 0x4000>; - interrupts = <0 34 0x04>; - status = "disabled"; - }; - - ecspi@02018000 { /* eCSPI5 */ - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx6q-ecspi", "fsl,imx51-ecspi"; - reg = <0x02018000 0x4000>; - interrupts = <0 35 0x04>; - status = "disabled"; - }; - - uart1: uart@02020000 { - compatible = "fsl,imx6q-uart", "fsl,imx21-uart"; - reg = <0x02020000 0x4000>; - interrupts = <0 26 0x04>; - status = "disabled"; - }; - - esai@02024000 { - reg = <0x02024000 0x4000>; - interrupts = <0 51 0x04>; - }; - - ssi@02028000 { /* SSI1 */ - reg = <0x02028000 0x4000>; - interrupts = <0 46 0x04>; - }; - - ssi@0202c000 { /* SSI2 */ - reg = <0x0202c000 0x4000>; - interrupts = <0 47 0x04>; - }; - - ssi@02030000 { /* SSI3 */ - reg = <0x02030000 0x4000>; - interrupts = <0 48 0x04>; - }; - - asrc@02034000 { - reg = <0x02034000 0x4000>; - interrupts = <0 50 0x04>; - }; - - spba@0203c000 { - reg = <0x0203c000 0x4000>; - }; - }; - - vpu@02040000 { - reg = <0x02040000 0x3c000>; - interrupts = <0 3 0x04 0 12 0x04>; - }; - - aipstz@0207c000 { /* AIPSTZ1 */ - reg = <0x0207c000 0x4000>; - }; - - pwm@02080000 { /* PWM1 */ - reg = <0x02080000 0x4000>; - interrupts = <0 83 0x04>; - }; - - pwm@02084000 { /* PWM2 */ - reg = <0x02084000 0x4000>; - interrupts = <0 84 0x04>; - }; - - pwm@02088000 { /* PWM3 */ - reg = <0x02088000 0x4000>; - interrupts = <0 85 0x04>; - }; - - pwm@0208c000 { /* PWM4 */ - reg = <0x0208c000 0x4000>; - interrupts = <0 86 0x04>; - }; - - flexcan@02090000 { /* CAN1 */ - reg = <0x02090000 0x4000>; - interrupts = <0 110 0x04>; - }; - - flexcan@02094000 { /* CAN2 */ - reg = <0x02094000 0x4000>; - interrupts = <0 111 0x04>; - }; - - gpt@02098000 { - compatible = "fsl,imx6q-gpt"; - reg = <0x02098000 0x4000>; - interrupts = <0 55 0x04>; - }; - - gpio1: gpio@0209c000 { - compatible = "fsl,imx6q-gpio", "fsl,imx31-gpio"; - reg = <0x0209c000 0x4000>; - interrupts = <0 66 0x04 0 67 0x04>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - gpio2: gpio@020a0000 { - compatible = "fsl,imx6q-gpio", "fsl,imx31-gpio"; - reg = <0x020a0000 0x4000>; - interrupts = <0 68 0x04 0 69 0x04>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - gpio3: gpio@020a4000 { - compatible = "fsl,imx6q-gpio", "fsl,imx31-gpio"; - reg = <0x020a4000 0x4000>; - interrupts = <0 70 0x04 0 71 0x04>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - gpio4: gpio@020a8000 { - compatible = "fsl,imx6q-gpio", "fsl,imx31-gpio"; - reg = <0x020a8000 0x4000>; - interrupts = <0 72 0x04 0 73 0x04>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - gpio5: gpio@020ac000 { - compatible = "fsl,imx6q-gpio", "fsl,imx31-gpio"; - reg = <0x020ac000 0x4000>; - interrupts = <0 74 0x04 0 75 0x04>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - gpio6: gpio@020b0000 { - compatible = "fsl,imx6q-gpio", "fsl,imx31-gpio"; - reg = <0x020b0000 0x4000>; - interrupts = <0 76 0x04 0 77 0x04>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - gpio7: gpio@020b4000 { - compatible = "fsl,imx6q-gpio", "fsl,imx31-gpio"; - reg = <0x020b4000 0x4000>; - interrupts = <0 78 0x04 0 79 0x04>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - kpp@020b8000 { - reg = <0x020b8000 0x4000>; - interrupts = <0 82 0x04>; - }; - - wdog@020bc000 { /* WDOG1 */ - compatible = "fsl,imx6q-wdt", "fsl,imx21-wdt"; - reg = <0x020bc000 0x4000>; - interrupts = <0 80 0x04>; - status = "disabled"; - }; - - wdog@020c0000 { /* WDOG2 */ - compatible = "fsl,imx6q-wdt", "fsl,imx21-wdt"; - reg = <0x020c0000 0x4000>; - interrupts = <0 81 0x04>; - status = "disabled"; - }; - - ccm@020c4000 { - compatible = "fsl,imx6q-ccm"; - reg = <0x020c4000 0x4000>; - interrupts = <0 87 0x04 0 88 0x04>; - }; - - anatop@020c8000 { - compatible = "fsl,imx6q-anatop"; - reg = <0x020c8000 0x1000>; - interrupts = <0 49 0x04 0 54 0x04 0 127 0x04>; - }; - - usbphy@020c9000 { /* USBPHY1 */ - reg = <0x020c9000 0x1000>; - interrupts = <0 44 0x04>; - }; - - usbphy@020ca000 { /* USBPHY2 */ - reg = <0x020ca000 0x1000>; - interrupts = <0 45 0x04>; - }; - - snvs@020cc000 { - reg = <0x020cc000 0x4000>; - interrupts = <0 19 0x04 0 20 0x04>; - }; - - epit@020d0000 { /* EPIT1 */ - reg = <0x020d0000 0x4000>; - interrupts = <0 56 0x04>; - }; - - epit@020d4000 { /* EPIT2 */ - reg = <0x020d4000 0x4000>; - interrupts = <0 57 0x04>; - }; - - src@020d8000 { - compatible = "fsl,imx6q-src"; - reg = <0x020d8000 0x4000>; - interrupts = <0 91 0x04 0 96 0x04>; - }; - - gpc@020dc000 { - compatible = "fsl,imx6q-gpc"; - reg = <0x020dc000 0x4000>; - interrupts = <0 89 0x04 0 90 0x04>; - }; - - iomuxc@020e0000 { - reg = <0x020e0000 0x4000>; - }; - - dcic@020e4000 { /* DCIC1 */ - reg = <0x020e4000 0x4000>; - interrupts = <0 124 0x04>; - }; - - dcic@020e8000 { /* DCIC2 */ - reg = <0x020e8000 0x4000>; - interrupts = <0 125 0x04>; - }; - - sdma@020ec000 { - compatible = "fsl,imx6q-sdma", "fsl,imx35-sdma"; - reg = <0x020ec000 0x4000>; - interrupts = <0 2 0x04>; - }; - }; - - aips-bus@02100000 { /* AIPS2 */ - compatible = "fsl,aips-bus", "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0x02100000 0x100000>; - ranges; - - caam@02100000 { - reg = <0x02100000 0x40000>; - interrupts = <0 105 0x04 0 106 0x04>; - }; - - aipstz@0217c000 { /* AIPSTZ2 */ - reg = <0x0217c000 0x4000>; - }; - - enet@02188000 { - compatible = "fsl,imx6q-fec"; - reg = <0x02188000 0x4000>; - interrupts = <0 118 0x04 0 119 0x04>; - status = "disabled"; - }; - - mlb@0218c000 { - reg = <0x0218c000 0x4000>; - interrupts = <0 53 0x04 0 117 0x04 0 126 0x04>; - }; - - usdhc@02190000 { /* uSDHC1 */ - compatible = "fsl,imx6q-usdhc"; - reg = <0x02190000 0x4000>; - interrupts = <0 22 0x04>; - status = "disabled"; - }; - - usdhc@02194000 { /* uSDHC2 */ - compatible = "fsl,imx6q-usdhc"; - reg = <0x02194000 0x4000>; - interrupts = <0 23 0x04>; - status = "disabled"; - }; - - usdhc@02198000 { /* uSDHC3 */ - compatible = "fsl,imx6q-usdhc"; - reg = <0x02198000 0x4000>; - interrupts = <0 24 0x04>; - status = "disabled"; - }; - - usdhc@0219c000 { /* uSDHC4 */ - compatible = "fsl,imx6q-usdhc"; - reg = <0x0219c000 0x4000>; - interrupts = <0 25 0x04>; - status = "disabled"; - }; - - i2c@021a0000 { /* I2C1 */ - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx6q-i2c", "fsl,imx1-i2c"; - reg = <0x021a0000 0x4000>; - interrupts = <0 36 0x04>; - status = "disabled"; - }; - - i2c@021a4000 { /* I2C2 */ - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx6q-i2c", "fsl,imx1-i2c"; - reg = <0x021a4000 0x4000>; - interrupts = <0 37 0x04>; - status = "disabled"; - }; - - i2c@021a8000 { /* I2C3 */ - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx6q-i2c", "fsl,imx1-i2c"; - reg = <0x021a8000 0x4000>; - interrupts = <0 38 0x04>; - status = "disabled"; - }; - - romcp@021ac000 { - reg = <0x021ac000 0x4000>; - }; - - mmdc@021b0000 { /* MMDC0 */ - compatible = "fsl,imx6q-mmdc"; - reg = <0x021b0000 0x4000>; - }; - - mmdc@021b4000 { /* MMDC1 */ - reg = <0x021b4000 0x4000>; - }; - - weim@021b8000 { - reg = <0x021b8000 0x4000>; - interrupts = <0 14 0x04>; - }; - - ocotp@021bc000 { - reg = <0x021bc000 0x4000>; - }; - - ocotp@021c0000 { - reg = <0x021c0000 0x4000>; - interrupts = <0 21 0x04>; - }; - - tzasc@021d0000 { /* TZASC1 */ - reg = <0x021d0000 0x4000>; - interrupts = <0 108 0x04>; - }; - - tzasc@021d4000 { /* TZASC2 */ - reg = <0x021d4000 0x4000>; - interrupts = <0 109 0x04>; - }; - - audmux@021d8000 { - reg = <0x021d8000 0x4000>; - }; - - mipi@021dc000 { /* MIPI-CSI */ - reg = <0x021dc000 0x4000>; - }; - - mipi@021e0000 { /* MIPI-DSI */ - reg = <0x021e0000 0x4000>; - }; - - vdoa@021e4000 { - reg = <0x021e4000 0x4000>; - interrupts = <0 18 0x04>; - }; - - uart2: uart@021e8000 { - compatible = "fsl,imx6q-uart", "fsl,imx21-uart"; - reg = <0x021e8000 0x4000>; - interrupts = <0 27 0x04>; - status = "disabled"; - }; - - uart3: uart@021ec000 { - compatible = "fsl,imx6q-uart", "fsl,imx21-uart"; - reg = <0x021ec000 0x4000>; - interrupts = <0 28 0x04>; - status = "disabled"; - }; - - uart4: uart@021f0000 { - compatible = "fsl,imx6q-uart", "fsl,imx21-uart"; - reg = <0x021f0000 0x4000>; - interrupts = <0 29 0x04>; - status = "disabled"; - }; - - uart5: uart@021f4000 { - compatible = "fsl,imx6q-uart", "fsl,imx21-uart"; - reg = <0x021f4000 0x4000>; - interrupts = <0 30 0x04>; - status = "disabled"; - }; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/kirkwood-dreamplug.dts b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/kirkwood-dreamplug.dts deleted file mode 100644 index a5376b842..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/kirkwood-dreamplug.dts +++ /dev/null @@ -1,24 +0,0 @@ -/dts-v1/; - -/include/ "kirkwood.dtsi" - -/ { - model = "Globalscale Technologies Dreamplug"; - compatible = "globalscale,dreamplug-003-ds2001", "globalscale,dreamplug", "mrvl,kirkwood-88f6281", "mrvl,kirkwood"; - - memory { - device_type = "memory"; - reg = <0x00000000 0x20000000>; - }; - - chosen { - bootargs = "console=ttyS0,115200n8 earlyprintk"; - }; - - ocp@f1000000 { - serial@12000 { - clock-frequency = <200000000>; - status = "ok"; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/kirkwood.dtsi b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/kirkwood.dtsi deleted file mode 100644 index 3474ef890..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/kirkwood.dtsi +++ /dev/null @@ -1,36 +0,0 @@ -/include/ "skeleton.dtsi" - -/ { - compatible = "mrvl,kirkwood"; - - ocp@f1000000 { - compatible = "simple-bus"; - ranges = <0 0xf1000000 0x1000000>; - #address-cells = <1>; - #size-cells = <1>; - - serial@12000 { - compatible = "ns16550a"; - reg = <0x12000 0x100>; - reg-shift = <2>; - interrupts = <33>; - /* set clock-frequency in board dts */ - status = "disabled"; - }; - - serial@12100 { - compatible = "ns16550a"; - reg = <0x12100 0x100>; - reg-shift = <2>; - interrupts = <34>; - /* set clock-frequency in board dts */ - status = "disabled"; - }; - - rtc@10300 { - compatible = "mrvl,kirkwood-rtc", "mrvl,orion-rtc"; - reg = <0x10300 0x20>; - interrupts = <53>; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/mpq8092-iommu.dtsi b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/mpq8092-iommu.dtsi deleted file mode 100644 index 56369dce3..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/mpq8092-iommu.dtsi +++ /dev/null @@ -1,40 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/include/ "msm-iommu-v1.dtsi" - -&jpeg_iommu { - status = "ok"; - vdd-supply = <&gdsc_jpeg>; -}; - -&mdp_iommu { - status = "ok"; - vdd-supply = <&gdsc_mdss>; -}; - -&venus_iommu { - status = "ok"; - vdd-supply = <&gdsc_venus>; -}; - -&kgsl_iommu { - status = "ok"; - qcom,needs-alt-core-clk; - vdd-supply = <&gdsc_oxili_cx>; - qcom,alt-vdd-supply = <&gdsc_oxili_gx>; -}; - -&vfe_iommu { - status = "ok"; - vdd-supply = <&gdsc_vfe>; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/mpq8092-ion.dtsi b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/mpq8092-ion.dtsi deleted file mode 100644 index f9f59850a..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/mpq8092-ion.dtsi +++ /dev/null @@ -1,33 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&soc { - qcom,ion { - compatible = "qcom,msm-ion"; - #address-cells = <1>; - #size-cells = <0>; - - qcom,ion-heap@30 { /* SYSTEM HEAP */ - reg = <30>; - }; - - qcom,ion-heap@21 { /* SYSTEM CONTIG HEAP */ - reg = <21>; - }; - - qcom,ion-heap@25 { /* IOMMU HEAP */ - reg = <25>; - }; - - }; -}; - diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/mpq8092-regulator.dtsi b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/mpq8092-regulator.dtsi deleted file mode 100644 index 63896e922..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/mpq8092-regulator.dtsi +++ /dev/null @@ -1,324 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - - -/* QPNP controlled regulators: */ - -&spmi_bus { - - qcom,pma8084@1 { - pma8084_s1: regulator@1400 { - regulator-min-microvolt = <900000>; - regulator-max-microvolt = <900000>; - qcom,enable-time = <500>; - qcom,pull-down-enable = <1>; - qcom,system-load = <100000>; - status = "okay"; - }; - - pma8084_s3: regulator@1a00 { - regulator-min-microvolt = <1350000>; - regulator-max-microvolt = <1350000>; - qcom,enable-time = <500>; - qcom,pull-down-enable = <1>; - regulator-always-on; - qcom,system-load = <100000>; - status = "okay"; - }; - - pma8084_s4: regulator@1d00 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,enable-time = <500>; - qcom,pull-down-enable = <1>; - regulator-always-on; - qcom,system-load = <100000>; - status = "okay"; - }; - - pma8084_s5: regulator@2000 { - regulator-min-microvolt = <2150000>; - regulator-max-microvolt = <2150000>; - qcom,enable-time = <500>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_s6: regulator@2300 { - regulator-min-microvolt = <900000>; - regulator-max-microvolt = <900000>; - qcom,enable-time = <500>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_s8: regulator@2900 { - regulator-min-microvolt = <1050000>; - regulator-max-microvolt = <1050000>; - qcom,enable-time = <500>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_s12: regulator@3500 { - regulator-min-microvolt = <900000>; - regulator-max-microvolt = <900000>; - qcom,enable-time = <500>; - qcom,pull-down-enable = <1>; - regulator-always-on; - qcom,system-load = <100000>; - status = "okay"; - }; - - pma8084_l1: regulator@4000 { - parent-supply = <&pma8084_s3>; - regulator-min-microvolt = <1225000>; - regulator-max-microvolt = <1225000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - regulator-always-on; - qcom,system-load = <10000>; - status = "okay"; - }; - - pma8084_l2: regulator@4100 { - parent-supply = <&pma8084_s3>; - regulator-min-microvolt = <1000000>; - regulator-max-microvolt = <1000000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l3: regulator@4200 { - parent-supply = <&pma8084_s3>; - regulator-min-microvolt = <1200000>; - regulator-max-microvolt = <1200000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l4: regulator@4300 { - parent-supply = <&pma8084_s3>; - regulator-min-microvolt = <1300000>; - regulator-max-microvolt = <1300000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l6: regulator@4500 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l9: regulator@4800 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <2950000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l10: regulator@4900 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l11: regulator@4a00 { - parent-supply = <&pma8084_s3>; - regulator-min-microvolt = <1200000>; - regulator-max-microvolt = <1200000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l12: regulator@4b00 { - regulator-min-microvolt = <2500000>; - regulator-max-microvolt = <2500000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l13: regulator@4c00 { - regulator-min-microvolt = <2950000>; - regulator-max-microvolt = <2950000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - regulator-always-on; - status = "okay"; - }; - - pma8084_l14: regulator@4d00 { - regulator-min-microvolt = <950000>; - regulator-max-microvolt = <950000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l15: regulator@4e00 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l16: regulator@4f00 { - parent-supply = <&pma8084_s5>; - regulator-min-microvolt = <750000>; - regulator-max-microvolt = <750000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l17: regulator@5000 { - regulator-min-microvolt = <3150000>; - regulator-max-microvolt = <3150000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - qcom,system-load = <100000>; - status = "okay"; - }; - - pma8084_l18: regulator@5100 { - regulator-min-microvolt = <2850000>; - regulator-max-microvolt = <2850000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l19: regulator@5200 { - parent-supply = <&pma8084_s5>; - regulator-min-microvolt = <1500000>; - regulator-max-microvolt = <1500000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l20: regulator@5300 { - regulator-min-microvolt = <2950000>; - regulator-max-microvolt = <2950000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - regulator-always-on; - status = "okay"; - }; - - pma8084_l21: regulator@5400 { - regulator-min-microvolt = <2950000>; - regulator-max-microvolt = <2950000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - regulator-always-on; - status = "okay"; - }; - - pma8084_l22: regulator@5500 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - regulator-always-on; - status = "okay"; - }; - - pma8084_l23: regulator@5600 { - regulator-min-microvolt = <3000000>; - regulator-max-microvolt = <3000000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l24: regulator@5700 { - regulator-min-microvolt = <3075000>; - regulator-max-microvolt = <3075000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - regulator-always-on; - status = "okay"; - }; - - pma8084_l25: regulator@5800 { - parent-supply = <&pma8084_s5>; - regulator-min-microvolt = <2000000>; - regulator-max-microvolt = <2000000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - pma8084_l26: regulator@5900 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - pma8084_l27: regulator@5A00 { - parent-supply = <&pma8084_s3>; - regulator-min-microvolt = <1000000>; - regulator-max-microvolt = <1000000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_lvs1: regulator@8000 { - parent-supply = <&pma8084_s4>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_lvs2: regulator@8100 { - parent-supply = <&pma8084_s4>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_lvs3: regulator@8200 { - parent-supply = <&pma8084_s4>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_lvs4: regulator@8300 { - parent-supply = <&pma8084_s4>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_mvs1: regulator@8400 { - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - }; -}; - diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/mpq8092-rumi.dts b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/mpq8092-rumi.dts deleted file mode 100644 index 1abaf5596..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/mpq8092-rumi.dts +++ /dev/null @@ -1,28 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; - -/include/ "mpq8092.dtsi" -/include/ "mpq8092-rumi.dtsi" - -/ { - model = "Qualcomm MPQ8092 RUMI"; - compatible = "qcom,mpq8092-rumi", "qcom,mpq8092", "qcom,rumi"; - qcom,msm-id = <146 16 0>; -}; - -&soc { - serial@f9922000 { - status = "ok"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/mpq8092-rumi.dtsi b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/mpq8092-rumi.dtsi deleted file mode 100644 index 201699882..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/mpq8092-rumi.dtsi +++ /dev/null @@ -1,134 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -&soc { - timer { - clock-frequency = <5000000>; - }; - - timer@f9020000 { - clock-frequency = <5000000>; - }; - - usb@f9a55000 { - status = "disable"; - }; - - qcom,sdcc@f9824000 { - status = "disabled"; - qcom,clk-rates = <400000 19200000>; - }; - - qcom,sdcc@f98a4000 { - status = "disabled"; - qcom,clk-rates = <400000 19200000>; - }; - - qcom,sps@f998000 { - status = "disable"; - }; - - spi@f9924000 { - status = "disable"; - }; - - spi@f9923000 { - compatible = "qcom,spi-qup-v2"; - reg = <0xf9923000 0x1000>; - interrupts = <0 95 0>; - spi-max-frequency = <24000000>; - #address-cells = <1>; - #size-cells = <0>; - gpios = <&msmgpio 3 0>, /* CLK */ - <&msmgpio 1 0>, /* MISO */ - <&msmgpio 0 0>; /* MOSI */ - cs-gpios = <&msmgpio 9 0>; - - ethernet-switch@2 { - compatible = "simtec,ks8851"; - reg = <2>; - interrupt-parent = <&msmgpio>; - interrupts = <90 0>; - spi-max-frequency = <5000000>; - }; - }; - - i2c@f9966000 { - status = "disable"; - }; - - i2c@f9967000 { - status = "disable"; - cell-index = <0>; - compatible = "qcom,i2c-qup"; - reg = <0Xf9967000 0x1000>; - reg-names = "qup_phys_addr"; - interrupts = <0 105 0>; - interrupt-names = "qup_err_intr"; - qcom,i2c-bus-freq = <100000>; - qcom,i2c-src-freq = <19200000>; - gpios = <&msmgpio 83 0>,/* DAT */ - <&msmgpio 84 0>;/* CLK */ - }; - - slim@fe12f000 { - status = "disable"; - }; - - qcom,mdss_dsi@fd922800 { - status = "disable"; - }; - - qcom,spmi@fc4c0000 { - status = "disable"; - }; - - qcom,ssusb@F9200000 { - status = "disable"; - }; - - qcom,lpass@fe200000 { - status = "disable"; - }; - - qcom,pronto@fb21b000 { - status = "disable"; - }; - - qcom,mss@fc880000 { - status = "disable"; - }; - - qcom,kgsl-3d0@fdb00000 { - status = "disabled"; - }; -}; - -&gdsc_venus { - status = "disabled"; -}; - -&gdsc_jpeg { - status = "disabled"; -}; - -&gdsc_oxili_gx { - status = "disabled"; -}; - -&gdsc_oxili_cx { - status = "disabled"; -}; - -&gdsc_usb_hsic { - status = "disabled"; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/mpq8092-sim.dts b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/mpq8092-sim.dts deleted file mode 100644 index 676ef3b17..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/mpq8092-sim.dts +++ /dev/null @@ -1,125 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/dts-v1/; - -/include/ "mpq8092.dtsi" - -/ { - model = "Qualcomm MPQ8092 Simulator"; - compatible = "qcom,mpq8092-sim", "qcom,mpq8092", "qcom,sim"; - qcom,msm-id = <126 16 0>; -}; - -&soc { - serial@f991f000 { - status = "ok"; - }; - - serial@f995e000 { - status = "ok"; - }; -}; - -&pma8084_gpios { - gpio@c000 { /* GPIO 1 */ - }; - - gpio@c100 { /* GPIO 2 */ - }; - - gpio@c200 { /* GPIO 3 */ - }; - - gpio@c300 { /* GPIO 4 */ - }; - - gpio@c400 { /* GPIO 5 */ - }; - - gpio@c500 { /* GPIO 6 */ - }; - - gpio@c600 { /* GPIO 7 */ - }; - - gpio@c700 { /* GPIO 8 */ - }; - - gpio@c800 { /* GPIO 9 */ - }; - - gpio@c900 { /* GPIO 10 */ - }; - - gpio@ca00 { /* GPIO 11 */ - }; - - gpio@cb00 { /* GPIO 12 */ - }; - - gpio@cc00 { /* GPIO 13 */ - }; - - gpio@cd00 { /* GPIO 14 */ - }; - - gpio@ce00 { /* GPIO 15 */ - }; - - gpio@cf00 { /* GPIO 16 */ - }; - - gpio@d000 { /* GPIO 17 */ - }; - - gpio@d100 { /* GPIO 18 */ - }; - - gpio@d200 { /* GPIO 19 */ - }; - - gpio@d300 { /* GPIO 20 */ - }; - - gpio@d400 { /* GPIO 21 */ - }; - - gpio@d500 { /* GPIO 22 */ - }; -}; - -&pma8084_mpps { - mpp@a000 { /* MPP 1 */ - }; - - mpp@a100 { /* MPP 2 */ - }; - - mpp@a200 { /* MPP 3 */ - }; - - mpp@a300 { /* MPP 4 */ - }; - - mpp@a400 { /* MPP5 */ - }; - - mpp@a500 { /* MPP 6 */ - }; - - mpp@a600 { /* MPP 7 */ - }; - - mpp@a700 { /* MPP 8 */ - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/mpq8092.dtsi b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/mpq8092.dtsi deleted file mode 100644 index e8674a055..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/mpq8092.dtsi +++ /dev/null @@ -1,240 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/include/ "skeleton.dtsi" - -/ { - model = "Qualcomm MPQ8092"; - compatible = "qcom,mpq8092"; - interrupt-parent = <&intc>; - - soc: soc { }; -}; - -/include/ "mpq8092-iommu.dtsi" -/include/ "msm-gdsc.dtsi" -/include/ "mpq8092-ion.dtsi" - -&soc { - #address-cells = <1>; - #size-cells = <1>; - ranges; - - intc: interrupt-controller@f9000000 { - compatible = "qcom,msm-qgic2"; - interrupt-controller; - #interrupt-cells = <3>; - reg = <0xf9000000 0x1000>, - <0xf9002000 0x1000>; - }; - - msmgpio: gpio@fd510000 { - compatible = "qcom,msm-gpio"; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - reg = <0xfd510000 0x4000>; - ngpio = <146>; - interrupts = <0 208 0>; - qcom,direct-connect-irqs = <8>; - }; - - timer { - compatible = "arm,armv7-timer"; - interrupts = <1 2 0>, <1 3 0>; - clock-frequency = <19200000>; - }; - - 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 8 0x4>, - <0 7 0x4>; - reg = <0xf9021000 0x1000>, - <0xf9022000 0x1000>; - }; - - frame@f9023000 { - frame-number = <1>; - interrupts = <0 9 0x4>; - reg = <0xf9023000 0x1000>; - status = "disabled"; - }; - - frame@f9024000 { - frame-number = <2>; - interrupts = <0 10 0x4>; - reg = <0xf9024000 0x1000>; - status = "disabled"; - }; - - frame@f9025000 { - frame-number = <3>; - interrupts = <0 11 0x4>; - reg = <0xf9025000 0x1000>; - status = "disabled"; - }; - - frame@f9026000 { - frame-number = <4>; - interrupts = <0 12 0x4>; - reg = <0xf9026000 0x1000>; - status = "disabled"; - }; - - frame@f9027000 { - frame-number = <5>; - interrupts = <0 13 0x4>; - reg = <0xf9027000 0x1000>; - status = "disabled"; - }; - - frame@f9028000 { - frame-number = <6>; - interrupts = <0 14 0x4>; - reg = <0xf9028000 0x1000>; - status = "disabled"; - }; - }; - - serial@f991f000 { - compatible = "qcom,msm-lsuart-v14"; - reg = <0xf991f000 0x1000>; - interrupts = <0 109 0>; - status = "disabled"; - }; - - serial@f9922000 { - compatible = "qcom,msm-lsuart-v14"; - reg = <0xf9922000 0x1000>; - interrupts = <0 112 0>; - status = "disabled"; - }; - - serial@f995e000 { - compatible = "qcom,msm-lsuart-v14"; - reg = <0xf995e000 0x1000>; - interrupts = <0 114 0>; - status = "disabled"; - }; - - qcom,msm-imem@fe805000 { - compatible = "qcom,msm-imem"; - reg = <0xfe805000 0x1000>; /* Address and size of IMEM */ - }; - - spmi_bus: qcom,spmi@fc4c0000 { - cell-index = <0>; - 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,not-wakeup; - qcom,pmic-arb-ee = <0>; - qcom,pmic-arb-channel = <0>; - }; - - sdcc1: qcom,sdcc@f9824000 { - cell-index = <1>; /* SDC1 eMMC slot */ - compatible = "qcom,msm-sdcc"; - reg = <0xf9824000 0x800>; - reg-names = "core_mem"; - interrupts = <0 123 0>; - interrupt-names = "core_irq"; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - qcom,sup-voltages = <2950 2950>; - qcom,bus-width = <8>; - qcom,nonremovable; - qcom,bus-speed-mode = "HS200_1p8v", "DDR_1p8v"; - }; - - sdcc2: qcom,sdcc@f98a4000 { - cell-index = <2>; /* SDC2 SD card slot */ - compatible = "qcom,msm-sdcc"; - reg = <0xf98a4000 0x800>; - reg-names = "core_mem"; - interrupts = <0 125 0>; - interrupt-names = "core_irq"; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - qcom,sup-voltages = <2950 2950>; - qcom,bus-width = <4>; - qcom,xpc; - qcom,bus-speed-mode = "SDR12", "SDR25", "SDR50", "DDR50", "SDR104"; - qcom,current-limit = <800>; - }; - - sata: sata@fc580000 { - compatible = "qcom,msm-ahci"; - reg = <0xfc580000 0x17c>; - interrupts = <0 243 0>; - }; - - qcom,wdt@f9017000 { - compatible = "qcom,msm-watchdog"; - reg = <0xf9017000 0x1000>; - interrupts = <0 3 0>, <0 4 0>; - qcom,bark-time = <11000>; - qcom,pet-time = <10000>; - qcom,ipi-ping; - }; -}; - -&gdsc_venus { - status = "ok"; -}; - -&gdsc_mdss { - status = "ok"; -}; - -&gdsc_jpeg { - status = "ok"; -}; - -&gdsc_oxili_gx { - status = "ok"; -}; - -&gdsc_oxili_cx { - status = "ok"; -}; - -&gdsc_usb_hsic { - status = "ok"; -}; - -/include/ "msm-pma8084.dtsi" -/include/ "mpq8092-regulator.dtsi" diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm-gdsc.dtsi b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm-gdsc.dtsi deleted file mode 100644 index 78234e858..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm-gdsc.dtsi +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Copyright (c) 2012-2013, 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. - */ - -&soc { - gdsc_venus: qcom,gdsc@fd8c1024 { - compatible = "qcom,gdsc"; - regulator-name = "gdsc_venus"; - reg = <0xfd8c1024 0x4>; - status = "disabled"; - }; - - gdsc_mdss: qcom,gdsc@fd8c2304 { - compatible = "qcom,gdsc"; - regulator-name = "gdsc_mdss"; - reg = <0xfd8c2304 0x4>; - status = "disabled"; - }; - - gdsc_jpeg: qcom,gdsc@fd8c35a4 { - compatible = "qcom,gdsc"; - regulator-name = "gdsc_jpeg"; - reg = <0xfd8c35a4 0x4>; - status = "disabled"; - }; - - gdsc_vfe: qcom,gdsc@fd8c36a4 { - compatible = "qcom,gdsc"; - regulator-name = "gdsc_vfe"; - reg = <0xfd8c36a4 0x4>; - status = "disabled"; - }; - - gdsc_oxili_gx: qcom,gdsc@fd8c4024 { - compatible = "qcom,gdsc"; - regulator-name = "gdsc_oxili_gx"; - reg = <0xfd8c4024 0x4>; - status = "disabled"; - }; - - gdsc_oxili_cx: qcom,gdsc@fd8c4034 { - compatible = "qcom,gdsc"; - regulator-name = "gdsc_oxili_cx"; - reg = <0xfd8c4034 0x4>; - status = "disabled"; - }; - - gdsc_usb_hsic: qcom,gdsc@fc400404 { - compatible = "qcom,gdsc"; - regulator-name = "gdsc_usb_hsic"; - reg = <0xfc400404 0x4>; - status = "disabled"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm-iommu-v0.dtsi b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm-iommu-v0.dtsi deleted file mode 100644 index 2cfc5cf07..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm-iommu-v0.dtsi +++ /dev/null @@ -1,333 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&soc { - lpass_iommu: qcom,iommu@fd000000 { - compatible = "qcom,msm-smmu-v0"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - reg = <0xfd000000 0x10000>; - interrupts = <0 248 0>; - qcom,glb-offset = <0xF000>; - label = "lpass_iommu"; - qcom,iommu-pmu-ngroups = <1>; - qcom,iommu-pmu-ncounters = <4>; - qcom,iommu-pmu-event-classes = <0x08 - 0x09 - 0x10 - 0x12 - 0x80>; - qcom,msm-bus,name = "lpass_ebi"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,active-only; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <11 512 0 0>, - <11 512 0 1000>; - status = "disabled"; - - lpass_q6_fw: qcom,iommu-ctx@fd000000 { - compatible = "qcom,msm-smmu-v0-ctx"; - reg = <0xfd000000 0x1000>; - interrupts = <0 250 0>; - qcom,iommu-ctx-mids = <0 15>; - label = "q6_fw"; - }; - - lpass_audio_shared: qcom,iommu-ctx@fd001000 { - compatible = "qcom,msm-smmu-v0-ctx"; - reg = <0xfd001000 0x1000>; - interrupts = <0 250 0>; - qcom,iommu-ctx-mids = <1>; - label = "audio_shared"; - }; - - lpass_video_shared: qcom,iommu-ctx@fd002000 { - compatible = "qcom,msm-smmu-v0-ctx"; - reg = <0xfd002000 0x1000>; - interrupts = <0 250 0>; - qcom,iommu-ctx-mids = <2>; - label = "video_shared"; - }; - - lpass_q6_spare: qcom,iommu-ctx@fd003000 { - compatible = "qcom,msm-smmu-v0-ctx"; - reg = <0xfd003000 0x1000>; - interrupts = <0 250 0>; - qcom,iommu-ctx-mids = <3 4 5 6 7 8 9 10 11 12 13 14>; - label = "q6_spare"; - }; - }; - - copss_iommu: qcom,iommu@fd010000 { - compatible = "qcom,msm-smmu-v0"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - reg = <0xfd010000 0x10000>; - interrupts = <0 252 0>; - qcom,glb-offset = <0xF000>; - label = "copss_iommu"; - qcom,iommu-pmu-ngroups = <1>; - qcom,iommu-pmu-ncounters = <4>; - qcom,iommu-pmu-event-classes = <0x08 - 0x09 - 0x10 - 0x12 - 0x80>; - qcom,msm-bus,name = "copss_ebi"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,active-only; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <88 512 0 0>, - <88 512 0 1000>; - - status = "disabled"; - - qcom,iommu-ctx@fd010000 { - compatible = "qcom,msm-smmu-v0-ctx"; - reg = <0xfd010000 0x1000>; - interrupts = <0 254 0>; - qcom,iommu-ctx-mids = <0>; - label = "copss_0"; - }; - - qcom,iommu-ctx@fd011000 { - compatible = "qcom,msm-smmu-v0-ctx"; - reg = <0xfd011000 0x1000>; - interrupts = <0 254 0>; - qcom,iommu-ctx-mids = <1>; - label = "copss_1"; - }; - - qcom,iommu-ctx@fd012000 { - compatible = "qcom,msm-smmu-v0-ctx"; - reg = <0xfd012000 0x1000>; - interrupts = <0 254 0>; - qcom,iommu-ctx-mids = <2>; - label = "copss_2"; - }; - - qcom,iommu-ctx@fd013000 { - compatible = "qcom,msm-smmu-v0-ctx"; - reg = <0xfd013000 0x1000>; - interrupts = <0 254 0>; - qcom,iommu-ctx-mids = <3>; - label = "copss_3"; - }; - - qcom,iommu-ctx@fd014000 { - compatible = "qcom,msm-smmu-v0-ctx"; - reg = <0xfd014000 0x1000>; - interrupts = <0 254 0>; - qcom,iommu-ctx-mids = <4>; - label = "copss_4"; - }; - - qcom,iommu-ctx@fd015000 { - compatible = "qcom,msm-smmu-v0-ctx"; - reg = <0xfd015000 0x1000>; - interrupts = <0 254 0>; - qcom,iommu-ctx-mids = <5>; - label = "copss_5"; - }; - - qcom,iommu-ctx@fd016000 { - compatible = "qcom,msm-smmu-v0-ctx"; - reg = <0xfd016000 0x1000>; - interrupts = <0 254 0>; - qcom,iommu-ctx-mids = <6>; - label = "copss_6"; - }; - - qcom,iommu-ctx@fd017000 { - compatible = "qcom,msm-smmu-v0-ctx"; - reg = <0xfd017000 0x1000>; - interrupts = <0 254 0>; - qcom,iommu-ctx-mids = <7>; - label = "copss_7"; - }; - }; - - mdpe_iommu: qcom,iommu@fd860000 { - compatible = "qcom,msm-smmu-v0"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - reg = <0xfd860000 0x10000>; - interrupts = <0 245 0>; - qcom,glb-offset = <0xF000>; - label = "mdpe_iommu"; - qcom,iommu-pmu-ngroups = <1>; - qcom,iommu-pmu-ncounters = <4>; - qcom,iommu-pmu-event-classes = <0x08 - 0x09 - 0x10 - 0x12 - 0x80>; - qcom,msm-bus,name = "mdpe_ebi"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,active-only; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <92 512 0 0>, - <92 512 0 1000>; - status = "disabled"; - - qcom,iommu-ctx@fd860000 { - compatible = "qcom,msm-smmu-v0-ctx"; - reg = <0xfd860000 0x1000>; - interrupts = <0 247 0>; - qcom,iommu-ctx-mids = <0 1 3>; - label = "mdpe_0"; - }; - - qcom,iommu-ctx@fd861000 { - compatible = "qcom,msm-smmu-v0-ctx"; - reg = <0xfd861000 0x1000>; - interrupts = <0 247 0>; - qcom,iommu-ctx-mids = <2>; - label = "mdpe_1"; - }; - }; - - mdps_iommu: qcom,iommu@fd870000 { - compatible = "qcom,msm-smmu-v0"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - reg = <0xfd870000 0x10000>; - interrupts = <0 73 0>; - qcom,glb-offset = <0xF000>; - label = "mdps_iommu"; - qcom,iommu-pmu-ngroups = <1>; - qcom,iommu-pmu-ncounters = <4>; - qcom,iommu-pmu-event-classes = <0x08 - 0x09 - 0x10 - 0x12 - 0x80>; - qcom,msm-bus,name = "mdps_ebi"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,active-only; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <22 512 0 0>, - <22 512 0 1000>; - status = "disabled"; - - qcom,iommu-ctx@fd870000 { - compatible = "qcom,msm-smmu-v0-ctx"; - reg = <0xfd870000 0x1000>; - interrupts = <0 47 0>; - qcom,iommu-ctx-mids = <0>; - label = "mdps_0"; - }; - - qcom,iommu-ctx@fd871000 { - compatible = "qcom,msm-smmu-v0-ctx"; - reg = <0xfd871000 0x1000>; - interrupts = <0 47 0>; - qcom,iommu-ctx-mids = <1>; - label = "mdps_1"; - }; - }; - - gfx_iommu: qcom,iommu@fd880000 { - compatible = "qcom,msm-smmu-v0"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - reg = <0xfd880000 0x10000>; - interrupts = <0 38 0>; - qcom,glb-offset = <0xF000>; - qcom,needs-alt-core-clk; - label = "gfx_iommu"; - qcom,iommu-pmu-ngroups = <1>; - qcom,iommu-pmu-ncounters = <4>; - qcom,iommu-pmu-event-classes = <0x08 - 0x09 - 0x10 - 0x12 - 0x80>; - qcom,msm-bus,name = "gfx_ebi"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,active-only; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <26 512 0 0>, - <26 512 0 1000>; - status = "disabled"; - - qcom,iommu-ctx@fd880000 { - compatible = "qcom,msm-smmu-v0-ctx"; - reg = <0xfd880000 0x1000>; - interrupts = <0 241 0>; - qcom,iommu-ctx-mids = <0 1 2 3 4 5 6 7 8 9 10 11 12 13 - 14 15>; - label = "gfx3d_user"; - }; - - qcom,iommu-ctx@fd881000 { - compatible = "qcom,msm-smmu-v0-ctx"; - reg = <0xfd881000 0x1000>; - interrupts = <0 241 0>; - qcom,iommu-ctx-mids = <16 17 18 19 20 21 22 23 24 25 - 26 27 28 29 30 31>; - label = "gfx3d_priv"; - }; - - qcom,iommu-ctx@fd882000 { - compatible = "qcom,msm-smmu-v0-ctx"; - reg = <0xfd882000 0x1000>; - interrupts = <0 241 0>; - qcom,iommu-ctx-mids = <>; - label = "gfx3d_spare"; - }; - }; - - vfe_iommu: qcom,iommu@fd890000 { - compatible = "qcom,msm-smmu-v0"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - reg = <0xfd890000 0x10000>; - interrupts = <0 62 0>; - qcom,glb-offset = <0xF000>; - label = "vfe_iommu"; - qcom,iommu-pmu-ngroups = <1>; - qcom,iommu-pmu-ncounters = <4>; - qcom,iommu-pmu-event-classes = <0x08 - 0x09 - 0x10 - 0x12 - 0x80>; - qcom,msm-bus,name = "vfe_ebi"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,active-only; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <29 512 0 0>, - <29 512 0 1000>; - status = "disabled"; - - qcom,iommu-ctx@fd890000 { - compatible = "qcom,msm-smmu-v0-ctx"; - reg = <0xfd890000 0x1000>; - interrupts = <0 65 0>; - qcom,iommu-ctx-mids = <0 1 2 3 4 5 6 7 8 9>; - label = "vfe0"; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm-iommu-v1.dtsi b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm-iommu-v1.dtsi deleted file mode 100644 index 44920778e..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm-iommu-v1.dtsi +++ /dev/null @@ -1,514 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&soc { - jpeg_iommu: qcom,iommu@fda64000 { - compatible = "qcom,msm-smmu-v1"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - reg = <0xfda64000 0x10000>; - reg-names = "iommu_base"; - interrupts = <0 67 0>; - qcom,needs-alt-core-clk; - label = "jpeg_iommu"; - status = "disabled"; - qcom,msm-bus,name = "jpeg_ebi"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,active-only; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <62 512 0 0>, - <62 512 0 1000>; - - qcom,iommu-pmu-ngroups = <1>; - qcom,iommu-pmu-ncounters = <8>; - qcom,iommu-pmu-event-classes = <0x00 - 0x01 - 0x08 - 0x09 - 0x0A - 0x10 - 0x11 - 0x12 - 0x80 - 0x81 - 0x82 - 0x83 - 0x90 - 0x91 - 0x92 - 0xb0 - 0xb1>; - - qcom,iommu-bfb-regs = <0x204c - 0x2050 - 0x2514 - 0x2540 - 0x256c - 0x2314 - 0x2394 - 0x2414 - 0x20ac - 0x215c - 0x220c - 0x2008 - 0x200c - 0x2010 - 0x2014>; - - qcom,iommu-bfb-data = <0x0000ffff - 0x0 - 0x4 - 0x4 - 0x0 - 0x0 - 0x10 - 0x50 - 0x0 - 0x10 - 0x20 - 0x0 - 0x0 - 0x0 - 0x0>; - - qcom,iommu-ctx@fda6c000 { - compatible = "qcom,msm-smmu-v1-ctx"; - reg = <0xfda6c000 0x1000>; - interrupts = <0 70 0>; - qcom,iommu-ctx-sids = <0>; - label = "jpeg_enc0"; - }; - - qcom,iommu-ctx@fda6d000 { - compatible = "qcom,msm-smmu-v1-ctx"; - reg = <0xfda6d000 0x1000>; - interrupts = <0 70 0>; - qcom,iommu-ctx-sids = <1>; - label = "jpeg_enc1"; - }; - - qcom,iommu-ctx@fda6e000 { - compatible = "qcom,msm-smmu-v1-ctx"; - reg = <0xfda6e000 0x1000>; - interrupts = <0 70 0>; - qcom,iommu-ctx-sids = <2>; - label = "jpeg_dec"; - }; - }; - - mdp_iommu: qcom,iommu@fd928000 { - compatible = "qcom,msm-smmu-v1"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - reg = <0xfd928000 0x10000>; - reg-names = "iommu_base"; - interrupts = <0 73 0>; - qcom,iommu-secure-id = <1>; - label = "mdp_iommu"; - qcom,msm-bus,name = "mdp_ebi"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,active-only; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <22 512 0 0>, - <22 512 0 1000>; - status = "disabled"; - - qcom,iommu-pmu-ngroups = <1>; - qcom,iommu-pmu-ncounters = <8>; - qcom,iommu-pmu-event-classes = <0x00 - 0x01 - 0x08 - 0x09 - 0x0A - 0x10 - 0x11 - 0x12 - 0x80 - 0x81 - 0x82 - 0x83 - 0x90 - 0x91 - 0x92 - 0xb0 - 0xb1>; - - qcom,iommu-bfb-regs = <0x204c - 0x2050 - 0x2514 - 0x2540 - 0x256c - 0x20ac - 0x215c - 0x220c - 0x2314 - 0x2394 - 0x2414 - 0x2008 - 0x200c - 0x2010 - 0x2014 - 0x2018 - 0x201c - 0x2020>; - - qcom,iommu-bfb-data = <0xffffffff - 0x0 - 0x00000004 - 0x00000010 - 0x00000000 - 0x00000000 - 0x00000034 - 0x00000044 - 0x0 - 0x34 - 0x74 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0>; - - qcom,iommu-ctx@fd930000 { - compatible = "qcom,msm-smmu-v1-ctx"; - reg = <0xfd930000 0x1000>; - interrupts = <0 47 0>; - qcom,iommu-ctx-sids = <0>; - label = "mdp_0"; - }; - - qcom,iommu-ctx@fd931000 { - compatible = "qcom,msm-smmu-v1-ctx"; - reg = <0xfd931000 0x1000>; - interrupts = <0 47 0>, <0 46 0>; - qcom,iommu-ctx-sids = <1>; - label = "mdp_1"; - qcom,secure-context; - }; - - qcom,iommu-ctx@fd932000 { - compatible = "qcom,msm-smmu-v1-ctx"; - reg = <0xfd932000 0x1000>; - interrupts = <0 47 0>, <0 46 0>; - qcom,iommu-ctx-sids = <>; - label = "mdp_2"; - qcom,secure-context; - }; - }; - - venus_iommu: qcom,iommu@fdc84000 { - compatible = "qcom,msm-smmu-v1"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - reg = <0xfdc84000 0x10000 - 0xfdce0004 0x4>; - reg-names = "iommu_base", "clk_base"; - interrupts = <0 45 0>; - qcom,iommu-secure-id = <0>; - qcom,needs-alt-core-clk; - label = "venus_iommu"; - qcom,msm-bus,name = "venus_ebi"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,active-only; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <63 512 0 0>, - <63 512 0 1000>; - status = "disabled"; - - qcom,iommu-pmu-ngroups = <1>; - qcom,iommu-pmu-ncounters = <8>; - qcom,iommu-pmu-event-classes = <0x00 - 0x01 - 0x08 - 0x09 - 0x0A - 0x10 - 0x11 - 0x12 - 0x80 - 0x81 - 0x82 - 0x83 - 0x90 - 0x91 - 0x92 - 0xb0 - 0xb1>; - - qcom,iommu-bfb-regs = <0x204c - 0x2050 - 0x2514 - 0x2540 - 0x256c - 0x20ac - 0x215c - 0x220c - 0x2314 - 0x2394 - 0x2414 - 0x2008 - 0x200c - 0x2010 - 0x2014 - 0x2018 - 0x201c - 0x2020 - 0x2024 - 0x2028 - 0x202c - 0x2030 - 0x2034 - 0x2038>; - - qcom,iommu-bfb-data = <0xffffffff - 0xffffffff - 0x00000004 - 0x00000008 - 0x00000000 - 0x00000000 - 0x00000094 - 0x000000b4 - 0x0 - 0x94 - 0x114 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0>; - - venus_ns: qcom,iommu-ctx@fdc8c000 { - compatible = "qcom,msm-smmu-v1-ctx"; - reg = <0xfdc8c000 0x1000>; - interrupts = <0 42 0>; - qcom,iommu-ctx-sids = <0 1 2 3 4 5>; - label = "venus_ns"; - }; - - venus_cp: qcom,iommu-ctx@fdc8d000 { - compatible = "qcom,msm-smmu-v1-ctx"; - reg = <0xfdc8d000 0x1000>; - interrupts = <0 42 0>, <0 43 0>; - qcom,iommu-ctx-sids = <0x80 0x81 0x82 0x83 0x84 0x85>; - label = "venus_cp"; - qcom,secure-context; - }; - - venus_fw: qcom,iommu-ctx@fdc8e000 { - compatible = "qcom,msm-smmu-v1-ctx"; - reg = <0xfdc8e000 0x1000>; - interrupts = <0 42 0>, <0 43 0>; - qcom,iommu-ctx-sids = <0xc0 0xc6>; - label = "venus_fw"; - qcom,secure-context; - }; - }; - - kgsl_iommu: qcom,iommu@fdb10000 { - compatible = "qcom,msm-smmu-v1"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - reg = <0xfdb10000 0x10000>; - reg-names = "iommu_base"; - interrupts = <0 38 0>; - label = "kgsl_iommu"; - qcom,msm-bus,name = "kgsl_ebi"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,active-only; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <26 512 0 0>, - <26 512 0 1000>; - status = "disabled"; - - qcom,iommu-pmu-ngroups = <1>; - qcom,iommu-pmu-ncounters = <8>; - qcom,iommu-pmu-event-classes = <0x00 - 0x01 - 0x08 - 0x09 - 0x0A - 0x10 - 0x11 - 0x12 - 0x80 - 0x81 - 0x82 - 0x83 - 0x90 - 0x91 - 0x92 - 0xb0 - 0xb1>; - - qcom,iommu-bfb-regs = <0x204c - 0x2050 - 0x2514 - 0x2540 - 0x256c - 0x20ac - 0x215c - 0x220c - 0x2314 - 0x2394 - 0x2414 - 0x2008>; - - qcom,iommu-bfb-data = <0x00000003 - 0x0 - 0x00000004 - 0x00000010 - 0x00000000 - 0x00000000 - 0x00000001 - 0x00000021 - 0x0 - 0x1 - 0x81 - 0x0>; - - qcom,iommu-ctx@fdb18000 { - compatible = "qcom,msm-smmu-v1-ctx"; - reg = <0xfdb18000 0x1000>; - interrupts = <0 241 0>; - qcom,iommu-ctx-sids = <0>; - label = "gfx3d_user"; - }; - - qcom,iommu-ctx@fdb19000 { - compatible = "qcom,msm-smmu-v1-ctx"; - reg = <0xfdb19000 0x1000>; - interrupts = <0 241 0>; - qcom,iommu-ctx-sids = <1>; - label = "gfx3d_priv"; - }; - }; - - vfe_iommu: qcom,iommu@fda44000 { - compatible = "qcom,msm-smmu-v1"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - reg = <0xfda44000 0x10000>; - reg-names = "iommu_base"; - interrupts = <0 62 0>; - qcom,needs-alt-core-clk; - label = "vfe_iommu"; - qcom,msm-bus,name = "vfe_ebi"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,active-only; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <29 512 0 0>, - <29 512 0 1000>; - status = "disabled"; - - qcom,iommu-pmu-ngroups = <1>; - qcom,iommu-pmu-ncounters = <8>; - qcom,iommu-pmu-event-classes = <0x00 - 0x01 - 0x08 - 0x09 - 0x0A - 0x10 - 0x11 - 0x12 - 0x80 - 0x81 - 0x82 - 0x83 - 0x90 - 0x91 - 0x92 - 0xb0 - 0xb1>; - - qcom,iommu-bfb-regs = <0x204c - 0x2050 - 0x2514 - 0x2540 - 0x256c - 0x2314 - 0x2394 - 0x2414 - 0x20ac - 0x215c - 0x220c - 0x2008 - 0x200c - 0x2010 - 0x2014 - 0x2018 - 0x201c - 0x2020>; - - qcom,iommu-bfb-data = <0xffffffff - 0x00000000 - 0x4 - 0x8 - 0x0 - 0x0 - 0x20 - 0x78 - 0x0 - 0x20 - 0x36 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0>; - - qcom,iommu-ctx@fda4c000 { - compatible = "qcom,msm-smmu-v1-ctx"; - reg = <0xfda4c000 0x1000>; - interrupts = <0 65 0>; - qcom,iommu-ctx-sids = <0>; - label = "vfe0"; - }; - - qcom,iommu-ctx@fda4d000 { - compatible = "qcom,msm-smmu-v1-ctx"; - reg = <0xfda4d000 0x1000>; - interrupts = <0 65 0>; - qcom,iommu-ctx-sids = <1>; - label = "vfe1"; - }; - - qcom,iommu-ctx@fda4e000 { - compatible = "qcom,msm-smmu-v1-ctx"; - reg = <0xfda4e000 0x1000>; - interrupts = <0 65 0>; - qcom,iommu-ctx-sids = <2>; - label = "cpp"; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm-pm8019-rpm-regulator.dtsi b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm-pm8019-rpm-regulator.dtsi deleted file mode 100644 index c48f67dca..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm-pm8019-rpm-regulator.dtsi +++ /dev/null @@ -1,301 +0,0 @@ -/* Copyright (c) 2012, 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. - */ - -&rpm_bus { - rpm-regulator-smpa1 { - qcom,resource-name = "smpa"; - qcom,resource-id = <1>; - qcom,regulator-type = <1>; - qcom,hpm-min-load = <100000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-s1 { - regulator-name = "8019_s1"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-smpa2 { - qcom,resource-name = "smpa"; - qcom,resource-id = <2>; - qcom,regulator-type = <1>; - qcom,hpm-min-load = <100000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-s2 { - regulator-name = "8019_s2"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-smpa3 { - qcom,resource-name = "smpa"; - qcom,resource-id = <3>; - qcom,regulator-type = <1>; - qcom,hpm-min-load = <100000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-s3 { - regulator-name = "8019_s3"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-smpa4 { - qcom,resource-name = "smpa"; - qcom,resource-id = <4>; - qcom,regulator-type = <1>; - qcom,hpm-min-load = <100000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-s4 { - regulator-name = "8019_s4"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa1 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <1>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l1 { - regulator-name = "8019_l1"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa2 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <2>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <5000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l2 { - regulator-name = "8019_l2"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa3 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <3>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l3 { - regulator-name = "8019_l3"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa4 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <4>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <5000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l4 { - regulator-name = "8019_l4"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa5 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <5>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l5 { - regulator-name = "8019_l5"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa6 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <6>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l6 { - regulator-name = "8019_l6"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa7 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <7>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l7 { - regulator-name = "8019_l7"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa8 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <8>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l8 { - regulator-name = "8019_l8"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa9 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <9>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l9 { - regulator-name = "8019_l9"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa10 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <10>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l10 { - regulator-name = "8019_l10"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa11 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <11>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l11 { - regulator-name = "8019_l11"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa12 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <12>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l12 { - regulator-name = "8019_l12"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa13 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <13>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <5000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l13 { - regulator-name = "8019_l13"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa14 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <14>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <5000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l14 { - regulator-name = "8019_l14"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm-pm8019.dtsi b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm-pm8019.dtsi deleted file mode 100755 index 6b5edf7ea..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm-pm8019.dtsi +++ /dev/null @@ -1,415 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&spmi_bus { - #address-cells = <1>; - #size-cells = <0>; - interrupt-controller; - #interrupt-cells = <3>; - - qcom,pm8019@0 { - spmi-slave-container; - reg = <0x0>; - #address-cells = <1>; - #size-cells = <1>; - - qcom,power_on@800 { - compatible = "qcom,qpnp-power-on"; - reg = <0x800 0x100>; - interrupts = <0x0 0x8 0x2>; - interrupt-names = "cblpwr"; - qcom,pon-dbc-delay = <15625>; - qcom,system-reset; - - qcom,pon_1 { - qcom,pon-type = <2>; - qcom,pull-up = <1>; - linux,code = <116>; - }; - }; - - clkdiv@5b00 { - reg = <0x5b00 0x100>; - compatible = "qcom,qpnp-clkdiv"; - qcom,cxo-freq = <19200000>; - }; - - clkdiv@5c00 { - reg = <0x5c00 0x100>; - compatible = "qcom,qpnp-clkdiv"; - qcom,cxo-freq = <19200000>; - }; - - clkdiv@5d00 { - reg = <0x5d00 0x100>; - compatible = "qcom,qpnp-clkdiv"; - qcom,cxo-freq = <19200000>; - }; - - rtc { - spmi-dev-container; - compatible = "qcom,qpnp-rtc"; - #address-cells = <1>; - #size-cells = <1>; - qcom,qpnp-rtc-write = <0>; - qcom,qpnp-rtc-alarm-pwrup = <0>; - - qcom,pm8019_rtc_rw@6000 { - reg = <0x6000 0x100>; - }; - - qcom,pm8019_rtc_alarm@6100 { - reg = <0x6100 0x100>; - interrupts = <0x0 0x61 0x1>; - }; - }; - - pm8019_gpios: gpios { - spmi-dev-container; - compatible = "qcom,qpnp-pin"; - gpio-controller; - #gpio-cells = <2>; - #address-cells = <1>; - #size-cells = <1>; - label = "pm8019-gpio"; - - gpio@c000 { - reg = <0xc000 0x100>; - qcom,pin-num = <1>; - }; - - gpio@c100 { - reg = <0xc100 0x100>; - qcom,pin-num = <2>; - }; - - gpio@c200 { - reg = <0xc200 0x100>; - qcom,pin-num = <3>; - }; - - gpio@c300 { - reg = <0xc300 0x100>; - qcom,pin-num = <4>; - }; - - gpio@c400 { - reg = <0xc400 0x100>; - qcom,pin-num = <5>; - }; - - gpio@c500 { - reg = <0xc500 0x100>; - qcom,pin-num = <6>; - }; - }; - - pm8019_mpps: mpps { - spmi-dev-container; - compatible = "qcom,qpnp-pin"; - gpio-controller; - #gpio-cells = <2>; - #address-cells = <1>; - #size-cells = <1>; - label = "pm8019-mpp"; - - mpp@a000 { - reg = <0xa000 0x100>; - qcom,pin-num = <1>; - }; - - mpp@a100 { - reg = <0xa100 0x100>; - qcom,pin-num = <2>; - }; - - mpp@a200 { - reg = <0xa200 0x100>; - qcom,pin-num = <3>; - }; - - mpp@a300 { - reg = <0xa300 0x100>; - qcom,pin-num = <4>; - }; - - mpp@a400 { - reg = <0xa400 0x100>; - qcom,pin-num = <5>; - }; - - mpp@a500 { - reg = <0xa500 0x100>; - qcom,pin-num = <6>; - }; - }; - - pm8019_vadc: vadc@3100 { - compatible = "qcom,qpnp-vadc"; - reg = <0x3100 0x100>; - #address-cells = <1>; - #size-cells = <0>; - interrupts = <0x0 0x31 0x0>; - interrupt-names = "eoc-int-en-set"; - qcom,adc-bit-resolution = <15>; - qcom,adc-vdd-reference = <1800>; - qcom,vadc-poll-eoc; - - chan@8 { - label = "die_temp"; - reg = <8>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <3>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@9 { - label = "ref_625mv"; - reg = <9>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@a { - label = "ref_1250v"; - reg = <0xa>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - }; - - pm8019_adc_tm: vadc@3400 { - compatible = "qcom,qpnp-adc-tm"; - reg = <0x3400 0x100>; - #address-cells = <1>; - #size-cells = <0>; - interrupts = <0x0 0x34 0x0>, - <0x0 0x34 0x3>, - <0x0 0x34 0x4>; - interrupt-names = "eoc-int-en-set", - "high-thr-en-set", - "low-thr-en-set"; - qcom,adc-bit-resolution = <15>; - qcom,adc-vdd-reference = <1800>; - }; - }; - - qcom,pm8019@1 { - spmi-slave-container; - reg = <0x1>; - #address-cells = <1>; - #size-cells = <1>; - - regulator@1400 { - regulator-name = "8019_s1"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x1400 0x300>; - status = "disabled"; - - qcom,ctl@1400 { - reg = <0x1400 0x100>; - }; - qcom,ps@1500 { - reg = <0x1500 0x100>; - }; - qcom,freq@1600 { - reg = <0x1600 0x100>; - }; - }; - - regulator@1700 { - regulator-name = "8019_s2"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x1700 0x300>; - status = "disabled"; - - qcom,ctl@1700 { - reg = <0x1700 0x100>; - }; - qcom,ps@1800 { - reg = <0x1800 0x100>; - }; - qcom,freq@1900 { - reg = <0x1900 0x100>; - }; - }; - - regulator@1a00 { - regulator-name = "8019_s3"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x1a00 0x300>; - status = "disabled"; - - qcom,ctl@1a00 { - reg = <0x1a00 0x100>; - }; - qcom,ps@1b00 { - reg = <0x1b00 0x100>; - }; - qcom,freq@1c00 { - reg = <0x1c00 0x100>; - }; - }; - - regulator@1d00 { - regulator-name = "8019_s4"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x1d00 0x300>; - status = "disabled"; - - qcom,ctl@1d00 { - reg = <0x1d00 0x100>; - }; - qcom,ps@1e00 { - reg = <0x1e00 0x100>; - }; - qcom,freq@1f00 { - reg = <0x1f00 0x100>; - }; - }; - - regulator@4000 { - regulator-name = "8019_l1"; - reg = <0x4000 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4100 { - regulator-name = "8019_l2"; - reg = <0x4100 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4200 { - regulator-name = "8019_l3"; - reg = <0x4200 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4300 { - regulator-name = "8019_l4"; - reg = <0x4300 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4400 { - regulator-name = "8019_l5"; - reg = <0x4400 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4500 { - regulator-name = "8019_l6"; - reg = <0x4500 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4600 { - regulator-name = "8019_l7"; - reg = <0x4600 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4700 { - regulator-name = "8019_l8"; - reg = <0x4700 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4800 { - regulator-name = "8019_l9"; - reg = <0x4800 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4900 { - regulator-name = "8019_l10"; - reg = <0x4900 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4a00 { - regulator-name = "8019_l11"; - reg = <0x4a00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4b00 { - regulator-name = "8019_l12"; - reg = <0x4b00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4c00 { - regulator-name = "8019_l13"; - reg = <0x4c00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4d00 { - regulator-name = "8019_l14"; - reg = <0x4d00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4e00 { - regulator-name = "8019_ldo_xo"; - reg = <0x4e00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4f00 { - regulator-name = "8019_ldo_rfclk"; - reg = <0x4f00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm-pm8110-rpm-regulator.dtsi b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm-pm8110-rpm-regulator.dtsi deleted file mode 100644 index 0de72b0de..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm-pm8110-rpm-regulator.dtsi +++ /dev/null @@ -1,381 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -&rpm_bus { - rpm-regulator-smpa1 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "smpa"; - qcom,resource-id = <1>; - qcom,regulator-type = <1>; - qcom,hpm-min-load = <100000>; - status = "disabled"; - - regulator-s1 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_s1"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-smpa3 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "smpa"; - qcom,resource-id = <3>; - qcom,regulator-type = <1>; - qcom,hpm-min-load = <100000>; - status = "disabled"; - - regulator-s3 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_s3"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-smpa4 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "smpa"; - qcom,resource-id = <4>; - qcom,regulator-type = <1>; - qcom,hpm-min-load = <100000>; - status = "disabled"; - - regulator-s4 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_s4"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa1 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <1>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l1 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l1"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa2 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <2>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l2 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l2"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa3 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <3>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l3 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l3"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa4 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <4>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l4 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l4"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa5 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <5>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l5 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l5"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa6 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <6>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l6 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l6"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa7 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <7>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l7 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l7"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa8 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <8>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <5000>; - status = "disabled"; - - regulator-l8 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l8"; - qcom,set = <1>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa9 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <9>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l9 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l9"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa10 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <10>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l10 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l10"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa12 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <12>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l12 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l12"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa14 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <14>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l14 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l14"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa15 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <15>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l15 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l15"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa16 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <16>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l16 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l16"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa17 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <17>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l17 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l17"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa18 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <18>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l18 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l18"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa19 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <19>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l19 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l19"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa20 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <20>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <5000>; - status = "disabled"; - - regulator-l20 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l20"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa21 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <21>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l21 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l21"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa22 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <22>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l22 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l22"; - qcom,set = <3>; - status = "disabled"; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm-pm8110.dtsi b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm-pm8110.dtsi deleted file mode 100644 index 1877f40d7..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm-pm8110.dtsi +++ /dev/null @@ -1,608 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&spmi_bus { - #address-cells = <1>; - #size-cells = <0>; - interrupt-controller; - #interrupt-cells = <3>; - - qcom,pm8110@0 { - spmi-slave-container; - reg = <0x0>; - #address-cells = <1>; - #size-cells = <1>; - - qcom,power-on@800 { - compatible = "qcom,qpnp-power-on"; - reg = <0x800 0x100>; - interrupts = <0x0 0x8 0x0>, - <0x0 0x8 0x1>, - <0x0 0x8 0x4>; - interrupt-names = "kpdpwr", "resin", "resin-bark"; - qcom,pon-dbc-delay = <15625>; - qcom,system-reset; - - qcom,pon_1 { - qcom,pon-type = <0>; - qcom,pull-up = <1>; - linux,code = <116>; - }; - - qcom,pon_2 { - qcom,pon-type = <1>; - qcom,pull-up = <1>; - linux,code = <114>; - }; - }; - - pm8110_chg: qcom,charger { - spmi-dev-container; - compatible = "qcom,qpnp-charger"; - #address-cells = <1>; - #size-cells = <1>; - status = "disabled"; - - qcom,vddmax-mv = <4200>; - qcom,vddsafe-mv = <4230>; - qcom,vinmin-mv = <4200>; - qcom,vbatdet-mv = <4100>; - qcom,ibatmax-ma = <1500>; - qcom,ibatterm-ma = <200>; - qcom,ibatsafe-ma = <1500>; - qcom,thermal-mitigation = <1500 700 600 325>; - qcom,vbatdet-delta-mv = <350>; - qcom,tchg-mins = <150>; - - qcom,chgr@1000 { - status = "disabled"; - reg = <0x1000 0x100>; - interrupts = <0x0 0x10 0x0>, - <0x0 0x10 0x1>, - <0x0 0x10 0x2>, - <0x0 0x10 0x3>, - <0x0 0x10 0x4>, - <0x0 0x10 0x5>, - <0x0 0x10 0x6>, - <0x0 0x10 0x7>; - - interrupt-names = "vbat-det-lo", - "vbat-det-hi", - "chgwdog", - "state-change", - "trkl-chg-on", - "fast-chg-on", - "chg-failed", - "chg-done"; - }; - - qcom,buck@1100 { - status = "disabled"; - reg = <0x1100 0x100>; - interrupts = <0x0 0x11 0x0>, - <0x0 0x11 0x1>, - <0x0 0x11 0x2>, - <0x0 0x11 0x3>, - <0x0 0x11 0x4>, - <0x0 0x11 0x5>, - <0x0 0x11 0x6>; - - interrupt-names = "vbat-ov", - "vreg-ov", - "overtemp", - "vchg-loop", - "ichg-loop", - "ibat-loop", - "vdd-loop"; - }; - - qcom,bat-if@1200 { - status = "disabled"; - reg = <0x1200 0x100>; - interrupts = <0x0 0x12 0x0>, - <0x0 0x12 0x1>, - <0x0 0x12 0x2>, - <0x0 0x12 0x3>, - <0x0 0x12 0x4>; - - interrupt-names = "batt-pres", - "bat-temp-ok", - "bat-fet-on", - "vcp-on", - "psi"; - }; - - qcom,usb-chgpth@1300 { - status = "disabled"; - reg = <0x1300 0x100>; - interrupts = <0 0x13 0x0>, - <0 0x13 0x1>, - <0x0 0x13 0x2>; - - interrupt-names = "coarse-det-usb", - "usbin-valid", - "chg-gone"; - }; - - qcom,chg-misc@1600 { - status = "disabled"; - reg = <0x1600 0x100>; - }; - }; - - pm8110_gpios: gpios { - spmi-dev-container; - compatible = "qcom,qpnp-pin"; - gpio-controller; - #gpio-cells = <2>; - #address-cells = <1>; - #size-cells = <1>; - label = "pm8110-gpio"; - - gpio@c000 { - reg = <0xc000 0x100>; - qcom,pin-num = <1>; - }; - - gpio@c100 { - reg = <0xc100 0x100>; - qcom,pin-num = <2>; - }; - - gpio@c200 { - reg = <0xc200 0x100>; - qcom,pin-num = <3>; - }; - - gpio@c300 { - reg = <0xc300 0x100>; - qcom,pin-num = <4>; - }; - }; - - pm8110_mpps: mpps { - spmi-dev-container; - compatible = "qcom,qpnp-pin"; - gpio-controller; - #gpio-cells = <2>; - #address-cells = <1>; - #size-cells = <1>; - label = "pm8110-mpp"; - - mpp@a000 { - reg = <0xa000 0x100>; - qcom,pin-num = <1>; - }; - - mpp@a100 { - reg = <0xa100 0x100>; - qcom,pin-num = <2>; - }; - - mpp@a200 { - reg = <0xa200 0x100>; - qcom,pin-num = <3>; - }; - - mpp@a300 { - reg = <0xa300 0x100>; - qcom,pin-num = <4>; - }; - }; - - pm8110_vadc: vadc@3100 { - compatible = "qcom,qpnp-vadc"; - reg = <0x3100 0x100>; - #address-cells = <1>; - #size-cells = <0>; - interrupts = <0x0 0x31 0x0>; - interrupt-names = "eoc-int-en-set"; - qcom,adc-bit-resolution = <15>; - qcom,adc-vdd-reference = <1800>; - - chan@8 { - label = "die_temp"; - reg = <8>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <3>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@9 { - label = "ref_625mv"; - reg = <9>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@a { - label = "ref_1250v"; - reg = <0xa>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - }; - - iadc@3600 { - compatible = "qcom,qpnp-iadc"; - reg = <0x3600 0x100>; - #address-cells = <1>; - #size-cells = <0>; - interrupts = <0x0 0x36 0x0>; - interrupt-names = "eoc-int-en-set"; - qcom,adc-bit-resolution = <16>; - qcom,adc-vdd-reference = <1800>; - - chan@0 { - label = "internal_rsense"; - reg = <0>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <1>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - }; - - pm8110_adc_tm: vadc@3400 { - compatible = "qcom,qpnp-adc-tm"; - reg = <0x3400 0x100>; - #address-cells = <1>; - #size-cells = <0>; - interrupts = <0x0 0x34 0x0>, - <0x0 0x34 0x3>, - <0x0 0x34 0x4>; - interrupt-names = "eoc-int-en-set", - "high-thr-en-set", - "low-thr-en-set"; - qcom,adc-bit-resolution = <15>; - qcom,adc-vdd-reference = <1800>; - }; - - qcom,temp-alarm@2400 { - compatible = "qcom,qpnp-temp-alarm"; - reg = <0x2400 0x100>; - interrupts = <0x0 0x24 0x0>; - label = "pm8110_tz"; - qcom,channel-num = <8>; - qcom,threshold-set = <0>; - }; - - pm8110_bms: qcom,bms { - spmi-dev-container; - compatible = "qcom,qpnp-bms"; - #address-cells = <1>; - #size-cells = <1>; - status = "disabled"; - - qcom,r-sense-uohm = <10000>; - qcom,v-cutoff-uv = <3400000>; - qcom,max-voltage-uv = <4200000>; - qcom,r-conn-mohm = <0>; - qcom,shutdown-soc-valid-limit = <20>; - qcom,adjust-soc-low-threshold = <15>; - qcom,ocv-voltage-high-threshold-uv = <3750000>; - qcom,ocv-voltage-low-threshold-uv = <3650000>; - qcom,low-soc-calculate-soc-threshold = <15>; - qcom,low-soc-calculate-soc-ms = <5000>; - qcom,calculate-soc-ms = <20000>; - qcom,chg-term-ua = <100000>; - qcom,batt-type = <0>; - qcom,low-voltage-threshold = <3420000>; - qcom,tm-temp-margin = <5000>; - qcom,low-ocv-correction-limit-uv = <100>; - qcom,high-ocv-correction-limit-uv = <50>; - qcom,hold-soc-est = <3>; - - qcom,bms-iadc@3800 { - reg = <0x3800 0x100>; - }; - - qcom,bms-bms@4000 { - reg = <0x4000 0x100>; - interrupts = <0x0 0x40 0x0>, - <0x0 0x40 0x1>, - <0x0 0x40 0x2>, - <0x0 0x40 0x3>, - <0x0 0x40 0x4>, - <0x0 0x40 0x5>, - <0x0 0x40 0x6>, - <0x0 0x40 0x7>; - - interrupt-names = "vsense_for_r", - "vsense_avg", - "sw_cc_thr", - "ocv_thr", - "charge_begin", - "good_ocv", - "ocv_for_r", - "cc_thr"; - }; - }; - - qcom,pm8110_rtc { - spmi-dev-container; - compatible = "qcom,qpnp-rtc"; - #address-cells = <1>; - #size-cells = <1>; - qcom,qpnp-rtc-write = <0>; - qcom,qpnp-rtc-alarm-pwrup = <0>; - - qcom,pm8110_rtc_rw@6000 { - reg = <0x6000 0x100>; - }; - - qcom,pm8110_rtc_alarm@6100 { - reg = <0x6100 0x100>; - interrupts = <0x0 0x61 0x1>; - }; - }; - - qcom,leds@a100 { - compatible = "qcom,leds-qpnp"; - reg = <0xa100 0x100>; - label = "mpp"; - }; - - qcom,leds@a200 { - compatible = "qcom,leds-qpnp"; - reg = <0xa200 0x100>; - label = "mpp"; - }; - }; - - qcom,pm8110@1 { - spmi-slave-container; - reg = <0x1>; - #address-cells = <1>; - #size-cells = <1>; - - regulator@1400 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_s1"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - reg = <0x1400 0x300>; - status = "disabled"; - - qcom,ctl@1400 { - reg = <0x1400 0x100>; - }; - qcom,ps@1500 { - reg = <0x1500 0x100>; - }; - qcom,freq@1600 { - reg = <0x1600 0x100>; - }; - }; - - regulator@1700 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_s2"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - reg = <0x1700 0x300>; - status = "disabled"; - - qcom,ctl@1700 { - reg = <0x1700 0x100>; - }; - qcom,ps@1800 { - reg = <0x1800 0x100>; - }; - qcom,freq@1900 { - reg = <0x1900 0x100>; - }; - }; - - regulator@1a00 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_s3"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - reg = <0x1a00 0x300>; - status = "disabled"; - - qcom,ctl@1a00 { - reg = <0x1a00 0x100>; - }; - qcom,ps@1b00 { - reg = <0x1b00 0x100>; - }; - qcom,freq@1c00 { - reg = <0x1c00 0x100>; - }; - }; - - regulator@1d00 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_s4"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - reg = <0x1d00 0x300>; - status = "disabled"; - - qcom,ctl@1d00 { - reg = <0x1d00 0x100>; - }; - qcom,ps@1e00 { - reg = <0x1e00 0x100>; - }; - qcom,freq@1f00 { - reg = <0x1f00 0x100>; - }; - }; - - regulator@4000 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_l1"; - reg = <0x4000 0x100>; - status = "disabled"; - }; - - regulator@4100 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_l2"; - reg = <0x4100 0x100>; - status = "disabled"; - }; - - regulator@4200 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_l3"; - reg = <0x4200 0x100>; - status = "disabled"; - }; - - regulator@4300 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_l4"; - reg = <0x4300 0x100>; - status = "disabled"; - }; - - regulator@4400 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_l5"; - reg = <0x4400 0x100>; - status = "disabled"; - }; - - regulator@4500 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_l6"; - reg = <0x4500 0x100>; - status = "disabled"; - }; - - regulator@4600 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_l7"; - reg = <0x4600 0x100>; - status = "disabled"; - }; - - regulator@4700 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_l8"; - reg = <0x4700 0x100>; - status = "disabled"; - }; - - regulator@4800 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_l9"; - reg = <0x4800 0x100>; - status = "disabled"; - }; - - regulator@4900 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_l10"; - reg = <0x4900 0x100>; - status = "disabled"; - }; - - regulator@4b00 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_l12"; - reg = <0x4b00 0x100>; - status = "disabled"; - }; - - regulator@4d00 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_l14"; - reg = <0x4d00 0x100>; - status = "disabled"; - }; - - regulator@4e00 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_l15"; - reg = <0x4e00 0x100>; - status = "disabled"; - }; - - regulator@4f00 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_l16"; - reg = <0x4f00 0x100>; - status = "disabled"; - }; - - regulator@5000 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_l17"; - reg = <0x5000 0x100>; - status = "disabled"; - }; - - regulator@5100 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_l18"; - reg = <0x5100 0x100>; - status = "disabled"; - }; - - regulator@5200 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_l19"; - reg = <0x5200 0x100>; - status = "disabled"; - }; - - regulator@5300 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_l20"; - reg = <0x5300 0x100>; - status = "disabled"; - }; - - regulator@5400 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_l21"; - reg = <0x5400 0x100>; - status = "disabled"; - }; - - regulator@5500 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_l22"; - reg = <0x5500 0x100>; - status = "disabled"; - }; - - qcom,vibrator@c000 { - compatible = "qcom,qpnp-vibrator"; - reg = <0xc000 0x100>; - label = "vibrator"; - status = "disabled"; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm-pm8226-rpm-regulator.dtsi b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm-pm8226-rpm-regulator.dtsi deleted file mode 100644 index ded949489..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm-pm8226-rpm-regulator.dtsi +++ /dev/null @@ -1,492 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -&rpm_bus { - rpm-regulator-smpa1 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "smpa"; - qcom,resource-id = <1>; - qcom,regulator-type = <1>; - qcom,hpm-min-load = <100000>; - status = "disabled"; - - regulator-s1 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_s1"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-smpa3 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "smpa"; - qcom,resource-id = <3>; - qcom,regulator-type = <1>; - qcom,hpm-min-load = <100000>; - status = "disabled"; - - regulator-s3 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_s3"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-smpa4 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "smpa"; - qcom,resource-id = <4>; - qcom,regulator-type = <1>; - qcom,hpm-min-load = <100000>; - status = "disabled"; - - regulator-s4 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_s4"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-smpa5 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "smpa"; - qcom,resource-id = <5>; - qcom,regulator-type = <1>; - qcom,hpm-min-load = <100000>; - status = "disabled"; - - regulator-s5 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_s5"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa1 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <1>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l1 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l1"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa2 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <2>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l2 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l2"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa3 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <3>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l3 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l3"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa4 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <4>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l4 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l4"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa5 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <5>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l5 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l5"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa6 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <6>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l6 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l6"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa7 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <7>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l7 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l7"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa8 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <8>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <5000>; - status = "disabled"; - - regulator-l8 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l8"; - qcom,set = <1>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa9 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <9>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l9 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l9"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa10 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <10>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <5000>; - status = "disabled"; - - regulator-l10 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l10"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa12 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <12>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l12 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l12"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa14 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <14>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <5000>; - status = "disabled"; - - regulator-l14 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l14"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa15 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <15>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l15 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l15"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa16 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <16>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l16 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l16"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa17 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <17>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l17 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l17"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa18 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <18>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l18 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l18"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa19 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <19>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l19 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l19"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa20 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <20>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <5000>; - status = "disabled"; - - regulator-l20 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l20"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa21 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <21>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <5000>; - status = "disabled"; - - regulator-l21 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l21"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa22 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <22>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l22 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l22"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa23 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <23>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l23 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l23"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa24 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <24>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l24 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l24"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa26 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <26>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l26 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l26"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa27 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <27>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l27 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l27"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa28 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <28>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l28 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l28"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-vsa1 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "vsa"; - qcom,resource-id = <1>; - qcom,regulator-type = <2>; - status = "disabled"; - - regulator-lvs1 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_lvs1"; - qcom,set = <3>; - status = "disabled"; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm-pm8226.dtsi b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm-pm8226.dtsi deleted file mode 100644 index d429f72b7..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm-pm8226.dtsi +++ /dev/null @@ -1,833 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&spmi_bus { - #address-cells = <1>; - #size-cells = <0>; - interrupt-controller; - #interrupt-cells = <3>; - - qcom,pm8226@0 { - spmi-slave-container; - reg = <0x0>; - #address-cells = <1>; - #size-cells = <1>; - - qcom,power-on@800 { - compatible = "qcom,qpnp-power-on"; - reg = <0x800 0x100>; - interrupts = <0x0 0x8 0x0>, - <0x0 0x8 0x1>, - <0x0 0x8 0x4>; - interrupt-names = "kpdpwr", "resin", "resin-bark"; - qcom,pon-dbc-delay = <15625>; - qcom,system-reset; - - qcom,pon_1 { - qcom,pon-type = <0>; - qcom,pull-up = <1>; - linux,code = <116>; - }; - - qcom,pon_2 { - qcom,pon-type = <1>; - qcom,support-reset = <1>; - qcom,pull-up = <1>; - qcom,s1-timer = <0>; - qcom,s2-timer = <2000>; - qcom,s2-type = <1>; - linux,code = <114>; - }; - }; - - pm8226_chg: qcom,charger { - spmi-dev-container; - compatible = "qcom,qpnp-charger"; - #address-cells = <1>; - #size-cells = <1>; - status = "disabled"; - - qcom,vddmax-mv = <4200>; - qcom,vddsafe-mv = <4230>; - qcom,vinmin-mv = <4200>; - qcom,vbatdet-delta-mv = <150>; - qcom,ibatmax-ma = <1500>; - qcom,ibatterm-ma = <100>; - qcom,ibatsafe-ma = <1500>; - qcom,thermal-mitigation = <1500 700 600 325>; - qcom,tchg-mins = <150>; - - qcom,chgr@1000 { - status = "disabled"; - reg = <0x1000 0x100>; - interrupts = <0x0 0x10 0x0>, - <0x0 0x10 0x1>, - <0x0 0x10 0x2>, - <0x0 0x10 0x3>, - <0x0 0x10 0x4>, - <0x0 0x10 0x5>, - <0x0 0x10 0x6>, - <0x0 0x10 0x7>; - - interrupt-names = "vbat-det-lo", - "vbat-det-hi", - "chgwdog", - "state-change", - "trkl-chg-on", - "fast-chg-on", - "chg-failed", - "chg-done"; - }; - - qcom,buck@1100 { - status = "disabled"; - reg = <0x1100 0x100>; - interrupts = <0x0 0x11 0x0>, - <0x0 0x11 0x1>, - <0x0 0x11 0x2>, - <0x0 0x11 0x3>, - <0x0 0x11 0x4>, - <0x0 0x11 0x5>, - <0x0 0x11 0x6>; - - interrupt-names = "vbat-ov", - "vreg-ov", - "overtemp", - "vchg-loop", - "ichg-loop", - "ibat-loop", - "vdd-loop"; - }; - - qcom,bat-if@1200 { - status = "disabled"; - reg = <0x1200 0x100>; - interrupts = <0x0 0x12 0x0>, - <0x0 0x12 0x1>, - <0x0 0x12 0x2>, - <0x0 0x12 0x3>, - <0x0 0x12 0x4>; - - interrupt-names = "batt-pres", - "bat-temp-ok", - "bat-fet-on", - "vcp-on", - "psi"; - - }; - - pm8226_chg_otg: qcom,usb-chgpth@1300 { - status = "disabled"; - reg = <0x1300 0x100>; - interrupts = <0 0x13 0x0>, - <0 0x13 0x1>, - <0x0 0x13 0x2>; - - interrupt-names = "coarse-det-usb", - "usbin-valid", - "chg-gone"; - }; - - pm8226_chg_boost: qcom,boost@1500 { - status = "disabled"; - reg = <0x1500 0x100>; - interrupts = <0x0 0x15 0x0>, - <0x0 0x15 0x1>; - - interrupt-names = "boost-pwr-ok", - "limit-error"; - }; - - qcom,chg-misc@1600 { - status = "disabled"; - reg = <0x1600 0x100>; - }; - }; - - pm8226_bms: qcom,bms { - spmi-dev-container; - compatible = "qcom,qpnp-bms"; - #address-cells = <1>; - #size-cells = <1>; - status = "disabled"; - - qcom,r-sense-uohm = <10000>; - qcom,v-cutoff-uv = <3400000>; - qcom,max-voltage-uv = <4200000>; - qcom,r-conn-mohm = <0>; - qcom,shutdown-soc-valid-limit = <20>; - qcom,adjust-soc-low-threshold = <15>; - qcom,ocv-voltage-high-threshold-uv = <3750000>; - qcom,ocv-voltage-low-threshold-uv = <3650000>; - qcom,low-soc-calculate-soc-threshold = <15>; - qcom,low-soc-calculate-soc-ms = <5000>; - qcom,calculate-soc-ms = <20000>; - qcom,chg-term-ua = <100000>; - qcom,batt-type = <0>; - qcom,tm-temp-margin = <5000>; - qcom,low-ocv-correction-limit-uv = <100>; - qcom,high-ocv-correction-limit-uv = <50>; - qcom,hold-soc-est = <3>; - qcom,low-voltage-threshold = <3420000>; - - qcom,bms-iadc@3800 { - reg = <0x3800 0x100>; - }; - - qcom,bms-bms@4000 { - reg = <0x4000 0x100>; - interrupts = <0x0 0x40 0x0>, - <0x0 0x40 0x1>, - <0x0 0x40 0x2>, - <0x0 0x40 0x3>, - <0x0 0x40 0x4>, - <0x0 0x40 0x5>, - <0x0 0x40 0x6>, - <0x0 0x40 0x7>; - - interrupt-names = "vsense_for_r", - "vsense_avg", - "sw_cc_thr", - "ocv_thr", - "charge_begin", - "good_ocv", - "ocv_for_r", - "cc_thr"; - }; - }; - - qcom,leds@a100 { - compatible = "qcom,leds-qpnp"; - reg = <0xa100 0x100>; - label = "mpp"; - }; - - qcom,leds@a300 { - compatible = "qcom,leds-qpnp"; - reg = <0xa300 0x100>; - label = "mpp"; - }; - - qcom,leds@a500 { - compatible = "qcom,leds-qpnp"; - reg = <0xa500 0x100>; - label = "mpp"; - }; - - pm8226_gpios: gpios { - spmi-dev-container; - compatible = "qcom,qpnp-pin"; - gpio-controller; - #gpio-cells = <2>; - #address-cells = <1>; - #size-cells = <1>; - label = "pm8226-gpio"; - - gpio@c000 { - reg = <0xc000 0x100>; - qcom,pin-num = <1>; - }; - - gpio@c100 { - reg = <0xc100 0x100>; - qcom,pin-num = <2>; - }; - - gpio@c200 { - reg = <0xc200 0x100>; - qcom,pin-num = <3>; - }; - - gpio@c300 { - reg = <0xc300 0x100>; - qcom,pin-num = <4>; - }; - - gpio@c400 { - reg = <0xc400 0x100>; - qcom,pin-num = <5>; - }; - - gpio@c500 { - reg = <0xc500 0x100>; - qcom,pin-num = <6>; - }; - - gpio@c600 { - reg = <0xc600 0x100>; - qcom,pin-num = <7>; - }; - - gpio@c700 { - reg = <0xc700 0x100>; - qcom,pin-num = <8>; - }; - }; - - pm8226_mpps: mpps { - spmi-dev-container; - compatible = "qcom,qpnp-pin"; - gpio-controller; - #gpio-cells = <2>; - #address-cells = <1>; - #size-cells = <1>; - label = "pm8226-mpp"; - - mpp@a000 { - reg = <0xa000 0x100>; - qcom,pin-num = <1>; - }; - - mpp@a100 { - reg = <0xa100 0x100>; - qcom,pin-num = <2>; - }; - - mpp@a200 { - reg = <0xa200 0x100>; - qcom,pin-num = <3>; - }; - - mpp@a300 { - reg = <0xa300 0x100>; - qcom,pin-num = <4>; - }; - - mpp@a400 { - reg = <0xa400 0x100>; - qcom,pin-num = <5>; - }; - - mpp@a500 { - reg = <0xa500 0x100>; - qcom,pin-num = <6>; - }; - - mpp@a600 { - reg = <0xa600 0x100>; - qcom,pin-num = <7>; - }; - - mpp@a700 { - reg = <0xa700 0x100>; - qcom,pin-num = <8>; - }; - }; - - pm8226_vadc: vadc@3100 { - compatible = "qcom,qpnp-vadc"; - reg = <0x3100 0x100>; - #address-cells = <1>; - #size-cells = <0>; - interrupts = <0x0 0x31 0x0>; - interrupt-names = "eoc-int-en-set"; - qcom,adc-bit-resolution = <15>; - qcom,adc-vdd-reference = <1800>; - - chan@8 { - label = "die_temp"; - reg = <8>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <3>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@9 { - label = "ref_625mv"; - reg = <9>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@a { - label = "ref_1250v"; - reg = <0xa>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@c { - label = "ref_buf_625mv"; - reg = <0xc>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - }; - - iadc@3600 { - compatible = "qcom,qpnp-iadc"; - reg = <0x3600 0x100>; - #address-cells = <1>; - #size-cells = <0>; - interrupts = <0x0 0x36 0x0>; - interrupt-names = "eoc-int-en-set"; - qcom,adc-bit-resolution = <16>; - qcom,adc-vdd-reference = <1800>; - - chan@0 { - label = "internal_rsense"; - reg = <0>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <1>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - }; - - pm8226_adc_tm: vadc@3400 { - compatible = "qcom,qpnp-adc-tm"; - reg = <0x3400 0x100>; - #address-cells = <1>; - #size-cells = <0>; - interrupts = <0x0 0x34 0x0>, - <0x0 0x34 0x3>, - <0x0 0x34 0x4>; - interrupt-names = "eoc-int-en-set", - "high-thr-en-set", - "low-thr-en-set"; - qcom,adc-bit-resolution = <15>; - qcom,adc-vdd-reference = <1800>; - }; - - qcom,temp-alarm@2400 { - compatible = "qcom,qpnp-temp-alarm"; - reg = <0x2400 0x100>; - interrupts = <0x0 0x24 0x0>; - label = "pm8226_tz"; - qcom,channel-num = <8>; - qcom,threshold-set = <0>; - }; - - qcom,pm8226_rtc { - spmi-dev-container; - compatible = "qcom,qpnp-rtc"; - #address-cells = <1>; - #size-cells = <1>; - qcom,qpnp-rtc-write = <0>; - qcom,qpnp-rtc-alarm-pwrup = <0>; - - qcom,pm8226_rtc_rw@6000 { - reg = <0x6000 0x100>; - }; - qcom,pm8226_rtc_alarm@6100 { - reg = <0x6100 0x100>; - interrupts = <0x0 0x61 0x1>; - }; - }; - }; - - qcom,pm8226@1 { - spmi-slave-container; - reg = <0x1>; - #address-cells = <1>; - #size-cells = <1>; - - regulator@1400 { - regulator-name = "8226_s1"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x1400 0x300>; - status = "disabled"; - - qcom,ctl@1400 { - reg = <0x1400 0x100>; - }; - qcom,ps@1500 { - reg = <0x1500 0x100>; - }; - qcom,freq@1600 { - reg = <0x1600 0x100>; - }; - }; - - regulator@1700 { - regulator-name = "8226_s2"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x1700 0x300>; - status = "disabled"; - - qcom,ctl@1700 { - reg = <0x1700 0x100>; - }; - qcom,ps@1800 { - reg = <0x1800 0x100>; - }; - qcom,freq@1900 { - reg = <0x1900 0x100>; - }; - }; - - regulator@1a00 { - regulator-name = "8226_s3"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x1a00 0x300>; - status = "disabled"; - - qcom,ctl@1a00 { - reg = <0x1a00 0x100>; - }; - qcom,ps@1b00 { - reg = <0x1b00 0x100>; - }; - qcom,freq@1c00 { - reg = <0x1c00 0x100>; - }; - }; - - regulator@1d00 { - regulator-name = "8226_s4"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x1d00 0x300>; - status = "disabled"; - - qcom,ctl@1d00 { - reg = <0x1d00 0x100>; - }; - qcom,ps@1e00 { - reg = <0x1e00 0x100>; - }; - qcom,freq@1f00 { - reg = <0x1f00 0x100>; - }; - }; - - regulator@2000 { - regulator-name = "8226_s5"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x2000 0x300>; - status = "disabled"; - - qcom,ctl@2000 { - reg = <0x2000 0x100>; - }; - qcom,ps@2100 { - reg = <0x2100 0x100>; - }; - qcom,freq@2200 { - reg = <0x2200 0x100>; - }; - }; - - regulator@4000 { - regulator-name = "8226_l1"; - reg = <0x4000 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4100 { - regulator-name = "8226_l2"; - reg = <0x4100 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4200 { - regulator-name = "8226_l3"; - reg = <0x4200 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4300 { - regulator-name = "8226_l4"; - reg = <0x4300 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4400 { - regulator-name = "8226_l5"; - reg = <0x4400 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4500 { - regulator-name = "8226_l6"; - reg = <0x4500 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4600 { - regulator-name = "8226_l7"; - reg = <0x4600 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4700 { - regulator-name = "8226_l8"; - reg = <0x4700 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4800 { - regulator-name = "8226_l9"; - reg = <0x4800 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4900 { - regulator-name = "8226_l10"; - reg = <0x4900 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4b00 { - regulator-name = "8226_l12"; - reg = <0x4b00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4d00 { - regulator-name = "8226_l14"; - reg = <0x4d00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4e00 { - regulator-name = "8226_l15"; - reg = <0x4e00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4f00 { - regulator-name = "8226_l16"; - reg = <0x4f00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5000 { - regulator-name = "8226_l17"; - reg = <0x5000 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5100 { - regulator-name = "8226_l18"; - reg = <0x5100 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5200 { - regulator-name = "8226_l19"; - reg = <0x5200 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5300 { - regulator-name = "8226_l20"; - reg = <0x5300 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5400 { - regulator-name = "8226_l21"; - reg = <0x5400 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5500 { - regulator-name = "8226_l22"; - reg = <0x5500 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5600 { - regulator-name = "8226_l23"; - reg = <0x5600 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5700 { - regulator-name = "8226_l24"; - reg = <0x5700 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5900 { - regulator-name = "8226_l26"; - reg = <0x5900 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5a00 { - regulator-name = "8226_l27"; - reg = <0x5a00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5b00 { - regulator-name = "8226_l28"; - reg = <0x5b00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - qcom,leds@d800 { - compatible = "qcom,leds-qpnp"; - reg = <0xd800 0x100>; - label = "wled"; - }; - - pwm@b100 { - compatible = "qcom,qpnp-pwm"; - reg = <0xb100 0x100>, - <0xb042 0x7e>; - reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base"; - qcom,channel-id = <0>; - }; - - pwm@b200 { - compatible = "qcom,qpnp-pwm"; - reg = <0xb200 0x100>, - <0xb042 0x7e>; - reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base"; - qcom,channel-id = <1>; - }; - - pwm@b300 { - compatible = "qcom,qpnp-pwm"; - reg = <0xb300 0x100>, - <0xb042 0x7e>; - reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base"; - qcom,channel-id = <2>; - }; - - pwm@b400 { - compatible = "qcom,qpnp-pwm"; - reg = <0xb400 0x100>, - <0xb042 0x7e>; - reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base"; - qcom,channel-id = <3>; - }; - - pwm@b500 { - compatible = "qcom,qpnp-pwm"; - reg = <0xb500 0x100>, - <0xb042 0x7e>; - reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base"; - qcom,channel-id = <4>; - }; - - pwm@b600 { - compatible = "qcom,qpnp-pwm"; - reg = <0xb600 0x100>, - <0xb042 0x7e>; - reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base"; - qcom,channel-id = <5>; - }; - - regulator@8000 { - regulator-name = "8226_lvs1"; - reg = <0x8000 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - qcom,vibrator@c000 { - compatible = "qcom,qpnp-vibrator"; - reg = <0xc000 0x100>; - label = "vibrator"; - status = "disabled"; - }; - - qcom,leds@d300 { - compatible = "qcom,leds-qpnp"; - status = "okay"; - reg = <0xd300 0x100>; - label = "flash"; - flash_boost-supply = <&pm8226_chg_boost>; - pm8226_flash0: qcom,flash_0 { - qcom,max-current = <1000>; - qcom,default-state = "off"; - qcom,headroom = <0>; - qcom,duration = <1280>; - qcom,clamp-curr = <200>; - qcom,startup-dly = <1>; - qcom,safety-timer; - label = "flash"; - linux,default-trigger = - "flash0_trigger"; - qcom,id = <1>; - linux,name = "led:flash_0"; - qcom,current = <625>; - }; - - pm8226_flash1: qcom,flash_1 { - qcom,max-current = <1000>; - qcom,default-state = "off"; - qcom,headroom = <0>; - qcom,duration = <1280>; - qcom,clamp-curr = <200>; - qcom,startup-dly = <1>; - qcom,safety-timer; - linux,default-trigger = - "flash1_trigger"; - label = "flash"; - qcom,id = <2>; - linux,name = "led:flash_1"; - qcom,current = <625>; - }; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm-pm8841.dtsi b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm-pm8841.dtsi deleted file mode 100644 index a2d80ec05..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm-pm8841.dtsi +++ /dev/null @@ -1,242 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&spmi_bus { - #address-cells = <1>; - #size-cells = <0>; - interrupt-controller; - #interrupt-cells = <3>; - - qcom,pm8841@4 { - spmi-slave-container; - reg = <0x4>; - #address-cells = <1>; - #size-cells = <1>; - - qcom,qpnp-revid@100 { - compatible = "qcom,qpnp-revid"; - reg = <0x100 0x100>; - }; - - qcom,temp-alarm@2400 { - compatible = "qcom,qpnp-temp-alarm"; - reg = <0x2400 0x100>; - interrupts = <0x4 0x24 0x0>; - label = "pm8841_tz"; - qcom,threshold-set = <0>; - qcom,default-temp = <37000>; - }; - - pm8841_mpps: mpps { - spmi-dev-container; - compatible = "qcom,qpnp-pin"; - gpio-controller; - #gpio-cells = <2>; - #address-cells = <1>; - #size-cells = <1>; - label = "pm8841-mpp"; - - mpp@a000 { - reg = <0xa000 0x100>; - qcom,pin-num = <1>; - }; - - mpp@a100 { - reg = <0xa100 0x100>; - qcom,pin-num = <2>; - }; - - mpp@a200 { - reg = <0xa200 0x100>; - qcom,pin-num = <3>; - }; - - mpp@a300 { - reg = <0xa300 0x100>; - qcom,pin-num = <4>; - }; - }; - }; - - qcom,pm8841@5 { - spmi-slave-container; - reg = <0x5>; - #address-cells = <1>; - #size-cells = <1>; - - regulator@1400 { - regulator-name = "8841_s1"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x1400 0x300>; - status = "disabled"; - - qcom,ctl@1400 { - reg = <0x1400 0x100>; - }; - qcom,ps@1500 { - reg = <0x1500 0x100>; - }; - qcom,freq@1600 { - reg = <0x1600 0x100>; - }; - }; - - regulator@1700 { - regulator-name = "8841_s2"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x1700 0x300>; - status = "disabled"; - qcom,force-type = <0x1c 0x08>; - - qcom,ctl@1700 { - reg = <0x1700 0x100>; - }; - qcom,ps@1800 { - reg = <0x1800 0x100>; - }; - qcom,freq@1900 { - reg = <0x1900 0x100>; - }; - }; - - regulator@1a00 { - regulator-name = "8841_s3"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x1a00 0x300>; - status = "disabled"; - - qcom,ctl@1a00 { - reg = <0x1a00 0x100>; - }; - qcom,ps@1b00 { - reg = <0x1b00 0x100>; - }; - qcom,freq@1c00 { - reg = <0x1c00 0x100>; - }; - }; - - regulator@1d00 { - regulator-name = "8841_s4"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x1d00 0x300>; - status = "disabled"; - qcom,force-type = <0x1c 0x08>; - - qcom,ctl@1d00 { - reg = <0x1d00 0x100>; - }; - qcom,ps@1e00 { - reg = <0x1e00 0x100>; - }; - qcom,freq@1f00 { - reg = <0x1f00 0x100>; - }; - }; - - regulator@2000 { - regulator-name = "8841_s5"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x2000 0x300>; - status = "disabled"; - qcom,force-type = <0x1c 0x08>; - - qcom,ctl@0 { - reg = <0x2000 0x100>; - }; - qcom,ps@100 { - reg = <0x2100 0x100>; - }; - qcom,freq@200 { - reg = <0x2200 0x100>; - }; - }; - - regulator@2300 { - regulator-name = "8841_s6"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x2300 0x300>; - status = "disabled"; - qcom,force-type = <0x1c 0x08>; - - qcom,ctl@2300 { - reg = <0x2300 0x100>; - }; - qcom,ps@2400 { - reg = <0x2400 0x100>; - }; - qcom,freq@2500 { - reg = <0x2500 0x100>; - }; - }; - - regulator@2600 { - regulator-name = "8841_s7"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x2600 0x300>; - status = "disabled"; - qcom,force-type = <0x1c 0x08>; - - qcom,ctl@2600 { - reg = <0x2600 0x100>; - }; - qcom,ps@2700 { - reg = <0x2700 0x100>; - }; - qcom,freq@2800 { - reg = <0x2800 0x100>; - }; - }; - - regulator@2900 { - regulator-name = "8841_s8"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x2900 0x300>; - status = "disabled"; - qcom,force-type = <0x1c 0x08>; - - qcom,ctl@2900 { - reg = <0x2900 0x100>; - }; - qcom,ps@2a000 { - reg = <0x2a00 0x100>; - }; - qcom,freq@2b00 { - reg = <0x2b00 0x100>; - }; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm-pm8941.dtsi b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm-pm8941.dtsi deleted file mode 100644 index b4e557e16..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm-pm8941.dtsi +++ /dev/null @@ -1,1384 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&spmi_bus { - #address-cells = <1>; - #size-cells = <0>; - interrupt-controller; - #interrupt-cells = <3>; - - qcom,pm8941@0 { - spmi-slave-container; - reg = <0x0>; - #address-cells = <1>; - #size-cells = <1>; - - pm8941_misc: qcom,misc@900 { - compatible = "qcom,qpnp-misc"; - reg = <0x900 0x100>; - }; - - qcom,revid@100 { - compatible = "qcom,qpnp-revid"; - reg = <0x100 0x100>; - }; - - qcom,temp-alarm@2400 { - compatible = "qcom,qpnp-temp-alarm"; - reg = <0x2400 0x100>; - interrupts = <0x0 0x24 0x0>; - label = "pm8941_tz"; - qcom,channel-num = <8>; - qcom,threshold-set = <0>; - }; - - qcom,power-on@800 { - compatible = "qcom,qpnp-power-on"; - reg = <0x800 0x100>; - interrupts = <0x0 0x8 0x0>, - <0x0 0x8 0x1>, - <0x0 0x8 0x4>; - interrupt-names = "kpdpwr", "resin", "resin-bark"; - qcom,pon-dbc-delay = <15625>; - qcom,system-reset; - - qcom,pon_1 { - qcom,pon-type = <0>; - qcom,pull-up = <1>; - linux,code = <116>; - }; - - qcom,pon_2 { - qcom,pon-type = <1>; - qcom,support-reset = <1>; - qcom,pull-up = <1>; - qcom,s1-timer = <0>; - qcom,s2-timer = <2000>; - qcom,s2-type = <1>; - linux,code = <114>; - }; - }; - - bif_ctrl: qcom,bsi@1b00 { - compatible = "qcom,qpnp-bsi"; - reg = <0x1b00 0x100>, - <0x1208 0x1>; - reg-names = "bsi-base", "batt-id-status"; - label = "pm8941-bsi"; - interrupts = <0x0 0x1b 0x0>, - <0x0 0x1b 0x1>, - <0x0 0x1b 0x2>, - <0x0 0x12 0x0>; - interrupt-names = "err", - "rx", - "tx", - "batt-present"; - qcom,channel-num = <0x31>; - qcom,pullup-ohms = <100000>; - qcom,vref-microvolts = <1800000>; - qcom,min-clock-period = <1000>; - qcom,max-clock-period = <160000>; - qcom,sample-rate = <4>; - }; - - pm8941_coincell: qcom,coincell@2800 { - compatible = "qcom,qpnp-coincell"; - reg = <0x2800 0x100>; - }; - - pm8941_bms: qcom,bms { - spmi-dev-container; - compatible = "qcom,qpnp-bms"; - #address-cells = <1>; - #size-cells = <1>; - status = "disabled"; - - qcom,r-sense-uohm = <10000>; - qcom,v-cutoff-uv = <3400000>; - qcom,max-voltage-uv = <4200000>; - qcom,r-conn-mohm = <0>; - qcom,shutdown-soc-valid-limit = <20>; - qcom,adjust-soc-low-threshold = <15>; - qcom,ocv-voltage-high-threshold-uv = <3750000>; - qcom,ocv-voltage-low-threshold-uv = <3650000>; - qcom,low-soc-calculate-soc-threshold = <15>; - qcom,low-soc-calculate-soc-ms = <5000>; - qcom,calculate-soc-ms = <20000>; - qcom,chg-term-ua = <100000>; - qcom,batt-type = <0>; - qcom,low-voltage-threshold = <3420000>; - qcom,tm-temp-margin = <5000>; - qcom,low-ocv-correction-limit-uv = <100>; - qcom,high-ocv-correction-limit-uv = <50>; - qcom,hold-soc-est = <3>; - - qcom,bms-iadc@3800 { - reg = <0x3800 0x100>; - }; - - qcom,bms-bms@4000 { - reg = <0x4000 0x100>; - interrupts = <0x0 0x40 0x0>, - <0x0 0x40 0x1>, - <0x0 0x40 0x2>, - <0x0 0x40 0x3>, - <0x0 0x40 0x4>, - <0x0 0x40 0x5>, - <0x0 0x40 0x6>, - <0x0 0x40 0x7>; - - interrupt-names = "vsense_for_r", - "vsense_avg", - "sw_cc_thr", - "ocv_thr", - "charge_begin", - "good_ocv", - "ocv_for_r", - "cc_thr"; - }; - }; - - clkdiv@5b00 { - reg = <0x5b00 0x100>; - compatible = "qcom,qpnp-clkdiv"; - qcom,cxo-freq = <19200000>; - }; - - clkdiv@5c00 { - reg = <0x5c00 0x100>; - compatible = "qcom,qpnp-clkdiv"; - qcom,cxo-freq = <19200000>; - }; - - clkdiv@5d00 { - reg = <0x5d00 0x1000>; - compatible = "qcom,qpnp-clkdiv"; - qcom,cxo-freq = <19200000>; - }; - - pm8941_chg: qcom,charger { - spmi-dev-container; - compatible = "qcom,qpnp-charger"; - #address-cells = <1>; - #size-cells = <1>; - status = "disabled"; - - qcom,vddmax-mv = <4200>; - qcom,vddsafe-mv = <4230>; - qcom,vinmin-mv = <4300>; - qcom,ibatmax-ma = <1500>; - qcom,ibatterm-ma = <100>; - qcom,ibatsafe-ma = <1500>; - qcom,thermal-mitigation = <1500 700 600 325>; - qcom,cool-bat-decidegc = <100>; - qcom,cool-bat-mv = <4100>; - qcom,ibatmax-warm-ma = <350>; - qcom,warm-bat-decidegc = <450>; - qcom,warm-bat-mv = <4100>; - qcom,ibatmax-cool-ma = <350>; - qcom,vbatdet-delta-mv = <100>; - qcom,tchg-mins = <150>; - - qcom,chgr@1000 { - status = "disabled"; - reg = <0x1000 0x100>; - interrupts = <0x0 0x10 0x0>, - <0x0 0x10 0x1>, - <0x0 0x10 0x2>, - <0x0 0x10 0x3>, - <0x0 0x10 0x4>, - <0x0 0x10 0x5>, - <0x0 0x10 0x6>, - <0x0 0x10 0x7>; - - interrupt-names = "vbat-det-lo", - "vbat-det-hi", - "chgwdog", - "state-change", - "trkl-chg-on", - "fast-chg-on", - "chg-failed", - "chg-done"; - }; - - qcom,buck@1100 { - status = "disabled"; - reg = <0x1100 0x100>; - interrupts = <0x0 0x11 0x0>, - <0x0 0x11 0x1>, - <0x0 0x11 0x2>, - <0x0 0x11 0x3>, - <0x0 0x11 0x4>, - <0x0 0x11 0x5>, - <0x0 0x11 0x6>; - - interrupt-names = "vbat-ov", - "vreg-ov", - "overtemp", - "vchg-loop", - "ichg-loop", - "ibat-loop", - "vdd-loop"; - }; - - qcom,bat-if@1200 { - status = "disabled"; - reg = <0x1200 0x100>; - interrupts = <0x0 0x12 0x0>, - <0x0 0x12 0x1>, - <0x0 0x12 0x2>, - <0x0 0x12 0x3>, - <0x0 0x12 0x4>; - - interrupt-names = "batt-pres", - "bat-temp-ok", - "bat-fet-on", - "vcp-on", - "psi"; - - }; - - pm8941_chg_otg: qcom,usb-chgpth@1300 { - status = "disabled"; - reg = <0x1300 0x100>; - interrupts = <0 0x13 0x0>, - <0 0x13 0x1>, - <0x0 0x13 0x2>; - - interrupt-names = "coarse-det-usb", - "usbin-valid", - "chg-gone"; - }; - - qcom,dc-chgpth@1400 { - status = "disabled"; - reg = <0x1400 0x100>; - interrupts = <0x0 0x14 0x0>, - <0x0 0x14 0x1>; - - interrupt-names = "coarse-det-dc", - "dcin-valid"; - }; - - pm8941_chg_boost: qcom,boost@1500 { - status = "disabled"; - reg = <0x1500 0x100>; - interrupts = <0x0 0x15 0x0>, - <0x0 0x15 0x1>; - - interrupt-names = "boost-pwr-ok", - "limit-error"; - }; - - qcom,chg-misc@1600 { - status = "disabled"; - reg = <0x1600 0x100>; - }; - }; - - pm8941_gpios: gpios { - spmi-dev-container; - compatible = "qcom,qpnp-pin"; - gpio-controller; - #gpio-cells = <2>; - #address-cells = <1>; - #size-cells = <1>; - label = "pm8941-gpio"; - - gpio@c000 { - reg = <0xc000 0x100>; - qcom,pin-num = <1>; - }; - - gpio@c100 { - reg = <0xc100 0x100>; - qcom,pin-num = <2>; - }; - - gpio@c200 { - reg = <0xc200 0x100>; - qcom,pin-num = <3>; - }; - - gpio@c300 { - reg = <0xc300 0x100>; - qcom,pin-num = <4>; - }; - - gpio@c400 { - reg = <0xc400 0x100>; - qcom,pin-num = <5>; - }; - - gpio@c500 { - reg = <0xc500 0x100>; - qcom,pin-num = <6>; - }; - - gpio@c600 { - reg = <0xc600 0x100>; - qcom,pin-num = <7>; - }; - - gpio@c700 { - reg = <0xc700 0x100>; - qcom,pin-num = <8>; - }; - - gpio@c800 { - reg = <0xc800 0x100>; - qcom,pin-num = <9>; - }; - - gpio@c900 { - reg = <0xc900 0x100>; - qcom,pin-num = <10>; - }; - - gpio@ca00 { - reg = <0xca00 0x100>; - qcom,pin-num = <11>; - }; - - gpio@cb00 { - reg = <0xcb00 0x100>; - qcom,pin-num = <12>; - }; - - gpio@cc00 { - reg = <0xcc00 0x100>; - qcom,pin-num = <13>; - }; - - gpio@cd00 { - reg = <0xcd00 0x100>; - qcom,pin-num = <14>; - }; - - gpio@ce00 { - reg = <0xce00 0x100>; - qcom,pin-num = <15>; - }; - - gpio@cf00 { - reg = <0xcf00 0x100>; - qcom,pin-num = <16>; - }; - - gpio@d000 { - reg = <0xd000 0x100>; - qcom,pin-num = <17>; - }; - - gpio@d100 { - reg = <0xd100 0x100>; - qcom,pin-num = <18>; - }; - - gpio@d200 { - reg = <0xd200 0x100>; - qcom,pin-num = <19>; - }; - - gpio@d300 { - reg = <0xd300 0x100>; - qcom,pin-num = <20>; - }; - - gpio@d400 { - reg = <0xd400 0x100>; - qcom,pin-num = <21>; - }; - - gpio@d500 { - reg = <0xd500 0x100>; - qcom,pin-num = <22>; - }; - - gpio@d600 { - reg = <0xd600 0x100>; - qcom,pin-num = <23>; - }; - - gpio@d700 { - reg = <0xd700 0x100>; - qcom,pin-num = <24>; - }; - - gpio@d800 { - reg = <0xd800 0x100>; - qcom,pin-num = <25>; - }; - - gpio@d900 { - reg = <0xd900 0x100>; - qcom,pin-num = <26>; - }; - - gpio@da00 { - reg = <0xda00 0x100>; - qcom,pin-num = <27>; - }; - - gpio@db00 { - reg = <0xdb00 0x100>; - qcom,pin-num = <28>; - }; - - gpio@dc00 { - reg = <0xdc00 0x100>; - qcom,pin-num = <29>; - }; - - gpio@dd00 { - reg = <0xdd00 0x100>; - qcom,pin-num = <30>; - }; - - gpio@de00 { - reg = <0xde00 0x100>; - qcom,pin-num = <31>; - }; - - gpio@df00 { - reg = <0xdf00 0x100>; - qcom,pin-num = <32>; - }; - - gpio@e000 { - reg = <0xe000 0x100>; - qcom,pin-num = <33>; - }; - - gpio@e100 { - reg = <0xe100 0x100>; - qcom,pin-num = <34>; - }; - - gpio@e200 { - reg = <0xe200 0x100>; - qcom,pin-num = <35>; - }; - - gpio@e300 { - reg = <0xe300 0x100>; - qcom,pin-num = <36>; - }; - }; - - pm8941_mpps: mpps { - spmi-dev-container; - compatible = "qcom,qpnp-pin"; - gpio-controller; - #gpio-cells = <2>; - #address-cells = <1>; - #size-cells = <1>; - label = "pm8941-mpp"; - - mpp@a000 { - reg = <0xa000 0x100>; - qcom,pin-num = <1>; - }; - - mpp@a100 { - reg = <0xa100 0x100>; - qcom,pin-num = <2>; - }; - - mpp@a200 { - reg = <0xa200 0x100>; - qcom,pin-num = <3>; - }; - - mpp@a300 { - reg = <0xa300 0x100>; - qcom,pin-num = <4>; - }; - - mpp@a400 { - reg = <0xa400 0x100>; - qcom,pin-num = <5>; - }; - - mpp@a500 { - reg = <0xa500 0x100>; - qcom,pin-num = <6>; - }; - - mpp@a600 { - reg = <0xa600 0x100>; - qcom,pin-num = <7>; - }; - - mpp@a700 { - reg = <0xa700 0x100>; - qcom,pin-num = <8>; - }; - }; - - qcom,pm8941_rtc { - spmi-dev-container; - compatible = "qcom,qpnp-rtc"; - #address-cells = <1>; - #size-cells = <1>; - qcom,qpnp-rtc-write = <0>; - qcom,qpnp-rtc-alarm-pwrup = <0>; - - qcom,pm8941_rtc_rw@6000 { - reg = <0x6000 0x100>; - }; - qcom,pm8941_rtc_alarm@6100 { - reg = <0x6100 0x100>; - interrupts = <0x0 0x61 0x1>; - }; - }; - - vadc@3100 { - compatible = "qcom,qpnp-vadc"; - reg = <0x3100 0x100>; - #address-cells = <1>; - #size-cells = <0>; - interrupts = <0x0 0x31 0x0>; - interrupt-names = "eoc-int-en-set"; - qcom,adc-bit-resolution = <15>; - qcom,adc-vdd-reference = <1800>; - - chan@0 { - label = "usb_in"; - reg = <0>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <4>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@1 { - label = "dc_in"; - reg = <1>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <4>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@2 { - label = "vchg_sns"; - reg = <2>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <3>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@3 { - label = "spare1_div3"; - reg = <3>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <1>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@4 { - label = "usb_id_mv"; - reg = <4>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <1>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@5 { - label = "vcoin"; - reg = <5>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <1>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@6 { - label = "vbat_sns"; - reg = <6>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <1>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@7 { - label = "vph_pwr"; - reg = <7>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <1>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@8 { - label = "die_temp"; - reg = <8>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <3>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@9 { - label = "ref_625mv"; - reg = <9>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@a { - label = "ref_1250v"; - reg = <0xa>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@30 { - label = "batt_therm"; - reg = <0x30>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <1>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@31 { - label = "batt_id"; - reg = <0x31>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@b2 { - label = "xo_therm_pu2"; - reg = <0xb2>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <4>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@b3 { - label = "msm_therm"; - reg = <0xb3>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@b4 { - label = "emmc_therm"; - reg = <0xb4>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@b5 { - label = "pa_therm0"; - reg = <0xb5>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@b7 { - label = "pa_therm1"; - reg = <0xb7>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@b8 { - label = "quiet_therm"; - reg = <0xb8>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@b9 { - label = "usb_id"; - reg = <0xb9>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@39 { - label = "usb_id_nopull"; - reg = <0x39>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - }; - - iadc@3600 { - compatible = "qcom,qpnp-iadc"; - reg = <0x3600 0x100>; - #address-cells = <1>; - #size-cells = <0>; - interrupts = <0x0 0x36 0x0>; - interrupt-names = "eoc-int-en-set"; - qcom,adc-bit-resolution = <16>; - qcom,adc-vdd-reference = <1800>; - - chan@0 { - label = "internal_rsense"; - reg = <0>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <1>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - }; - - qcom,vadc@3400 { - compatible = "qcom,qpnp-adc-tm"; - reg = <0x3400 0x100>; - #address-cells = <1>; - #size-cells = <0>; - interrupts = <0x0 0x34 0x0>, - <0x0 0x34 0x3>, - <0x0 0x34 0x4>; - interrupt-names = "eoc-int-en-set", - "high-thr-en-set", - "low-thr-en-set"; - qcom,adc-bit-resolution = <15>; - qcom,adc-vdd-reference = <1800>; - - /* Channel Node */ - chan@b9 { - label = "usb_id"; - reg = <0xb9>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <3>; - qcom,btm-channel-number = <0x48>; - }; - - chan@30 { - label = "batt_therm"; - reg = <0x30>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <1>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <3>; - qcom,btm-channel-number = <0x68>; - }; - - chan@8 { - label = "die_temp"; - reg = <8>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <3>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <3>; - qcom,btm-channel-number = <0x70>; - }; - - chan@6 { - label = "vbat_sns"; - reg = <6>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <1>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <3>; - qcom,btm-channel-number = <0x78>; - }; - - chan@b5 { - label = "pa_therm0"; - reg = <0xb5>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <3>; - qcom,btm-channel-number = <0x80>; - qcom,thermal-node; - }; - - chan@b7 { - label = "pa_therm1"; - reg = <0xb7>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <3>; - qcom,btm-channel-number = <0x88>; - qcom,thermal-node; - }; - - chan@b4 { - label = "emmc_therm"; - reg = <0xb4>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <3>; - qcom,btm-channel-number = <0x90>; - qcom,thermal-node; - }; - - chan@b3 { - label = "msm_therm"; - reg = <0xb3>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <3>; - qcom,btm-channel-number = <0x98>; - qcom,thermal-node; - }; - }; - }; - - qcom,pm8941@1 { - spmi-slave-container; - reg = <0x1>; - #address-cells = <1>; - #size-cells = <1>; - - regulator@1400 { - regulator-name = "8941_s1"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x1400 0x300>; - status = "disabled"; - - qcom,ctl@1400 { - reg = <0x1400 0x100>; - }; - qcom,ps@1500 { - reg = <0x1500 0x100>; - }; - qcom,freq@1600 { - reg = <0x1600 0x100>; - }; - }; - - regulator@1700 { - regulator-name = "8941_s2"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x1700 0x300>; - status = "disabled"; - - qcom,ctl@1700 { - reg = <0x1700 0x100>; - }; - qcom,ps@1800 { - reg = <0x1800 0x100>; - }; - qcom,freq@1900 { - reg = <0x1900 0x100>; - }; - }; - - regulator@1a00 { - regulator-name = "8941_s3"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x1a00 0x300>; - status = "disabled"; - - qcom,ctl@1a00 { - reg = <0x1a00 0x100>; - }; - qcom,ps@1b00 { - reg = <0x1b00 0x100>; - }; - qcom,freq@1c00 { - reg = <0x1c00 0x100>; - }; - }; - - regulator@a000 { - regulator-name = "8941_boost"; - reg = <0xa000 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4000 { - regulator-name = "8941_l1"; - reg = <0x4000 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4100 { - regulator-name = "8941_l2"; - reg = <0x4100 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4200 { - regulator-name = "8941_l3"; - reg = <0x4200 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4300 { - regulator-name = "8941_l4"; - reg = <0x4300 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4400 { - regulator-name = "8941_l5"; - reg = <0x4400 0x100>; - compatible = "qcom,qpnp-regulator"; - qcom,force-type = <0x04 0x10>; - status = "disabled"; - }; - - regulator@4500 { - regulator-name = "8941_l6"; - reg = <0x4500 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4600 { - regulator-name = "8941_l7"; - reg = <0x4600 0x100>; - compatible = "qcom,qpnp-regulator"; - qcom,force-type = <0x04 0x10>; - status = "disabled"; - }; - - regulator@4700 { - regulator-name = "8941_l8"; - reg = <0x4700 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4800 { - regulator-name = "8941_l9"; - reg = <0x4800 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4900 { - regulator-name = "8941_l10"; - reg = <0x4900 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4a00 { - regulator-name = "8941_l11"; - reg = <0x4a00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4b00 { - regulator-name = "8941_l12"; - reg = <0x4b00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4c00 { - regulator-name = "8941_l13"; - reg = <0x4c00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4d00 { - regulator-name = "8941_l14"; - reg = <0x4d00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4e00 { - regulator-name = "8941_l15"; - reg = <0x4e00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4f00 { - regulator-name = "8941_l16"; - reg = <0x4f00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5000 { - regulator-name = "8941_l17"; - reg = <0x5000 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5100 { - regulator-name = "8941_l18"; - reg = <0x5100 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5200 { - regulator-name = "8941_l19"; - reg = <0x5200 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5300 { - regulator-name = "8941_l20"; - reg = <0x5300 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5400 { - regulator-name = "8941_l21"; - reg = <0x5400 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5500 { - regulator-name = "8941_l22"; - reg = <0x5500 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5600 { - regulator-name = "8941_l23"; - reg = <0x5600 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5700 { - regulator-name = "8941_l24"; - reg = <0x5700 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@8000 { - regulator-name = "8941_lvs1"; - reg = <0x8000 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@8100 { - regulator-name = "8941_lvs2"; - reg = <0x8100 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@8200 { - regulator-name = "8941_lvs3"; - reg = <0x8200 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@8300 { - regulator-name = "8941_mvs1"; - reg = <0x8300 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@8400 { - regulator-name = "8941_mvs2"; - reg = <0x8400 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - qcom,vibrator@c000 { - compatible = "qcom,qpnp-vibrator"; - reg = <0xc000 0x100>; - label = "vibrator"; - status = "disabled"; - }; - - qcom,leds@d000 { - compatible = "qcom,leds-qpnp"; - reg = <0xd000 0x100>; - label = "rgb"; - }; - - qcom,leds@d100 { - compatible = "qcom,leds-qpnp"; - reg = <0xd100 0x100>; - label = "rgb"; - }; - - qcom,leds@d200 { - compatible = "qcom,leds-qpnp"; - reg = <0xd200 0x100>; - label = "rgb"; - }; - - qcom,leds@d300 { - compatible = "qcom,leds-qpnp"; - reg = <0xd300 0x100>; - label = "flash"; - flash_boost-supply = <&pm8941_chg_boost>; - }; - - qcom,leds@d400 { - compatible = "qcom,leds-qpnp"; - reg = <0xd400 0x100>; - label = "flash"; - }; - - qcom,leds@d500 { - compatible = "qcom,leds-qpnp"; - reg = <0xd500 0x100>; - label = "flash"; - }; - - qcom,leds@d600 { - compatible = "qcom,leds-qpnp"; - reg = <0xd600 0x100>; - label = "flash"; - }; - - qcom,leds@d700 { - compatible = "qcom,leds-qpnp"; - reg = <0xd700 0x100>; - label = "flash"; - }; - - qcom,leds@d800 { - compatible = "qcom,leds-qpnp"; - reg = <0xd800 0x100>; - label = "wled"; - }; - - qcom,leds@d900 { - compatible = "qcom,leds-qpnp"; - reg = <0xd900 0x100>; - label = "wled"; - }; - - qcom,leds@da00 { - compatible = "qcom,leds-qpnp"; - reg = <0xda00 0x100>; - label = "wled"; - }; - - qcom,leds@db00 { - compatible = "qcom,leds-qpnp"; - reg = <0xdb00 0x100>; - label = "wled"; - }; - - qcom,leds@dc00 { - compatible = "qcom,leds-qpnp"; - reg = <0xdc00 0x100>; - label = "wled"; - }; - - qcom,leds@dd00 { - compatible = "qcom,leds-qpnp"; - reg = <0xdd00 0x100>; - label = "wled"; - }; - - qcom,leds@de00 { - compatible = "qcom,leds-qpnp"; - reg = <0xde00 0x100>; - label = "wled"; - }; - - qcom,leds@df00 { - compatible = "qcom,leds-qpnp"; - reg = <0xdf00 0x100>; - label = "wled"; - }; - - qcom,leds@e000 { - compatible = "qcom,leds-qpnp"; - reg = <0xe000 0x100>; - label = "wled"; - }; - - qcom,leds@e100 { - compatible = "qcom,leds-qpnp"; - reg = <0xe100 0x100>; - label = "wled"; - }; - - pwm@b100 { - compatible = "qcom,qpnp-pwm"; - reg = <0xb100 0x100>, - <0xb042 0x7e>; - reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base"; - qcom,channel-id = <0>; - }; - - pwm@b200 { - compatible = "qcom,qpnp-pwm"; - reg = <0xb200 0x100>, - <0xb042 0x7e>; - reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base"; - qcom,channel-id = <1>; - }; - - pwm@b300 { - compatible = "qcom,qpnp-pwm"; - reg = <0xb300 0x100>, - <0xb042 0x7e>; - reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base"; - qcom,channel-id = <2>; - }; - - pwm@b400 { - compatible = "qcom,qpnp-pwm"; - reg = <0xb400 0x100>, - <0xb042 0x7e>; - reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base"; - qcom,channel-id = <3>; - }; - - pwm@b500 { - compatible = "qcom,qpnp-pwm"; - reg = <0xb500 0x100>, - <0xb042 0x7e>; - reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base"; - qcom,channel-id = <4>; - }; - - pwm@b600 { - compatible = "qcom,qpnp-pwm"; - reg = <0xb600 0x100>, - <0xb042 0x7e>; - reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base"; - qcom,channel-id = <5>; - }; - - pwm@b700 { - compatible = "qcom,qpnp-pwm"; - reg = <0xb700 0x100>, - <0xb042 0x7e>; - reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base"; - qcom,channel-id = <6>; - }; - - pwm@b800 { - compatible = "qcom,qpnp-pwm"; - reg = <0xb800 0x100>, - <0xb042 0x7e>; - reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base"; - qcom,channel-id = <7>; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm-pm8x41-rpm-regulator.dtsi b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm-pm8x41-rpm-regulator.dtsi deleted file mode 100644 index 6e67dd85c..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm-pm8x41-rpm-regulator.dtsi +++ /dev/null @@ -1,585 +0,0 @@ -/* Copyright (c) 2012, 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. - */ - -&rpm_bus { - rpm-regulator-smpb1 { - qcom,resource-name = "smpb"; - qcom,resource-id = <1>; - qcom,regulator-type = <1>; - qcom,hpm-min-load = <100000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-s1 { - regulator-name = "8841_s1"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-smpb2 { - qcom,resource-name = "smpb"; - qcom,resource-id = <2>; - qcom,regulator-type = <1>; - qcom,hpm-min-load = <100000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-s2 { - regulator-name = "8841_s2"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-smpb3 { - qcom,resource-name = "smpb"; - qcom,resource-id = <3>; - qcom,regulator-type = <1>; - qcom,hpm-min-load = <100000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-s3 { - regulator-name = "8841_s3"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-smpb4 { - qcom,resource-name = "smpb"; - qcom,resource-id = <4>; - qcom,regulator-type = <1>; - qcom,hpm-min-load = <100000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-s4 { - regulator-name = "8841_s4"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-smpa1 { - qcom,resource-name = "smpa"; - qcom,resource-id = <1>; - qcom,regulator-type = <1>; - qcom,hpm-min-load = <100000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-s1 { - regulator-name = "8941_s1"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-smpa2 { - qcom,resource-name = "smpa"; - qcom,resource-id = <2>; - qcom,regulator-type = <1>; - qcom,hpm-min-load = <100000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-s2 { - regulator-name = "8941_s2"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-smpa3 { - qcom,resource-name = "smpa"; - qcom,resource-id = <3>; - qcom,regulator-type = <1>; - qcom,hpm-min-load = <100000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-s3 { - regulator-name = "8941_s3"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa1 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <1>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l1 { - regulator-name = "8941_l1"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa2 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <2>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l2 { - regulator-name = "8941_l2"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa3 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <3>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l3 { - regulator-name = "8941_l3"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa4 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <4>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l4 { - regulator-name = "8941_l4"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa5 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <5>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l5 { - regulator-name = "8941_l5"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa6 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <6>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l6 { - regulator-name = "8941_l6"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa7 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <7>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l7 { - regulator-name = "8941_l7"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa8 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <8>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l8 { - regulator-name = "8941_l8"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa9 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <9>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l9 { - regulator-name = "8941_l9"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa10 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <10>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l10 { - regulator-name = "8941_l10"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa11 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <11>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l11 { - regulator-name = "8941_l11"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa12 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <12>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l12 { - regulator-name = "8941_l12"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa13 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <13>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l13 { - regulator-name = "8941_l13"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa14 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <14>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l14 { - regulator-name = "8941_l14"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa15 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <15>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l15 { - regulator-name = "8941_l15"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa16 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <16>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l16 { - regulator-name = "8941_l16"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa17 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <17>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l17 { - regulator-name = "8941_l17"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa18 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <18>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l18 { - regulator-name = "8941_l18"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa19 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <19>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l19 { - regulator-name = "8941_l19"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa20 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <20>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l20 { - regulator-name = "8941_l20"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa21 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <21>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l21 { - regulator-name = "8941_l21"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa22 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <22>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l22 { - regulator-name = "8941_l22"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa23 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <23>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l23 { - regulator-name = "8941_l23"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa24 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <24>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l24 { - regulator-name = "8941_l24"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - /* TODO: find out correct resource names for LVS vs MVS */ - rpm-regulator-vsa1 { - qcom,resource-name = "vsa"; - qcom,resource-id = <1>; - qcom,regulator-type = <2>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-lvs1 { - regulator-name = "8941_lvs1"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-vsa2 { - qcom,resource-name = "vsa"; - qcom,resource-id = <2>; - qcom,regulator-type = <2>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-lvs2 { - regulator-name = "8941_lvs2"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-vsa3 { - qcom,resource-name = "vsa"; - qcom,resource-id = <3>; - qcom,regulator-type = <2>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-lvs3 { - regulator-name = "8941_lvs3"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-vsa4 { - qcom,resource-name = "vsa"; - qcom,resource-id = <4>; - qcom,regulator-type = <2>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-mvs1 { - regulator-name = "8941_mvs1"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-vsa5 { - qcom,resource-name = "vsa"; - qcom,resource-id = <5>; - qcom,regulator-type = <2>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-mvs2 { - regulator-name = "8941_mvs2"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm-pma8084.dtsi b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm-pma8084.dtsi deleted file mode 100644 index 30525aac0..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm-pma8084.dtsi +++ /dev/null @@ -1,666 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&spmi_bus { - #address-cells = <1>; - #size-cells = <0>; - interrupt-controller; - #interrupt-cells = <3>; - - qcom,pma8084@0 { - spmi-slave-container; - reg = <0x0>; - #address-cells = <1>; - #size-cells = <1>; - - pma8084_gpios: gpios { - spmi-dev-container; - compatible = "qcom,qpnp-pin"; - gpio-controller; - #gpio-cells = <2>; - #address-cells = <1>; - #size-cells = <1>; - label = "pma8084-gpio"; - - gpio@c000 { - reg = <0xc000 0x100>; - qcom,pin-num = <1>; - }; - - gpio@c100 { - reg = <0xc100 0x100>; - qcom,pin-num = <2>; - }; - - gpio@c200 { - reg = <0xc200 0x100>; - qcom,pin-num = <3>; - }; - - gpio@c300 { - reg = <0xc300 0x100>; - qcom,pin-num = <4>; - }; - - gpio@c400 { - reg = <0xc400 0x100>; - qcom,pin-num = <5>; - }; - - gpio@c500 { - reg = <0xc500 0x100>; - qcom,pin-num = <6>; - }; - - gpio@c600 { - reg = <0xc600 0x100>; - qcom,pin-num = <7>; - }; - - gpio@c700 { - reg = <0xc700 0x100>; - qcom,pin-num = <8>; - }; - - gpio@c800 { - reg = <0xc800 0x100>; - qcom,pin-num = <9>; - }; - - gpio@c900 { - reg = <0xc900 0x100>; - qcom,pin-num = <10>; - }; - - gpio@ca00 { - reg = <0xca00 0x100>; - qcom,pin-num = <11>; - }; - - gpio@cb00 { - reg = <0xcb00 0x100>; - qcom,pin-num = <12>; - }; - - gpio@cc00 { - reg = <0xcc00 0x100>; - qcom,pin-num = <13>; - }; - - gpio@cd00 { - reg = <0xcd00 0x100>; - qcom,pin-num = <14>; - }; - - gpio@ce00 { - reg = <0xce00 0x100>; - qcom,pin-num = <15>; - }; - - gpio@cf00 { - reg = <0xcf00 0x100>; - qcom,pin-num = <16>; - }; - - gpio@d000 { - reg = <0xd000 0x100>; - qcom,pin-num = <17>; - }; - - gpio@d100 { - reg = <0xd100 0x100>; - qcom,pin-num = <18>; - }; - - gpio@d200 { - reg = <0xd200 0x100>; - qcom,pin-num = <19>; - }; - - gpio@d300 { - reg = <0xd300 0x100>; - qcom,pin-num = <20>; - }; - - gpio@d400 { - reg = <0xd400 0x100>; - qcom,pin-num = <21>; - }; - - gpio@d500 { - reg = <0xd500 0x100>; - qcom,pin-num = <22>; - }; - }; - - pma8084_mpps: mpps { - spmi-dev-container; - compatible = "qcom,qpnp-pin"; - gpio-controller; - #gpio-cells = <2>; - #address-cells = <1>; - #size-cells = <1>; - label = "pma8084-mpp"; - - mpp@a000 { - reg = <0xa000 0x100>; - qcom,pin-num = <1>; - }; - - mpp@a100 { - reg = <0xa100 0x100>; - qcom,pin-num = <2>; - }; - - mpp@a200 { - reg = <0xa200 0x100>; - qcom,pin-num = <3>; - }; - - mpp@a300 { - reg = <0xa300 0x100>; - qcom,pin-num = <4>; - }; - - mpp@a400 { - reg = <0xa400 0x100>; - qcom,pin-num = <5>; - }; - - mpp@a500 { - reg = <0xa500 0x100>; - qcom,pin-num = <6>; - }; - - mpp@a600 { - reg = <0xa600 0x100>; - qcom,pin-num = <7>; - }; - - mpp@a700 { - reg = <0xa700 0x100>; - qcom,pin-num = <8>; - }; - }; - }; - - qcom,pma8084@1 { - spmi-slave-container; - reg = <0x1>; - #address-cells = <1>; - #size-cells = <1>; - - regulator@1400 { - regulator-name = "8084_s1"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x1400 0x300>; - status = "disabled"; - - qcom,ctl@1400 { - reg = <0x1400 0x100>; - }; - qcom,ps@1500 { - reg = <0x1500 0x100>; - }; - qcom,freq@1600 { - reg = <0x1600 0x100>; - }; - }; - - regulator@1700 { - regulator-name = "8084_s2"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x1700 0x300>; - status = "disabled"; - - qcom,ctl@1700 { - reg = <0x1700 0x100>; - }; - qcom,ps@1800 { - reg = <0x1800 0x100>; - }; - qcom,freq@1900 { - reg = <0x1900 0x100>; - }; - }; - - regulator@1a00 { - regulator-name = "8084_s3"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x1a00 0x300>; - status = "disabled"; - - qcom,ctl@1a00 { - reg = <0x1a00 0x100>; - }; - qcom,ps@1b00 { - reg = <0x1b00 0x100>; - }; - qcom,freq@1c00 { - reg = <0x1c00 0x100>; - }; - }; - - regulator@1d00 { - regulator-name = "8084_s4"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x1d00 0x300>; - status = "disabled"; - - qcom,ctl@1d00 { - reg = <0x1d00 0x100>; - }; - qcom,ps@1e00 { - reg = <0x1e00 0x100>; - }; - qcom,freq@1f00 { - reg = <0x1f00 0x100>; - }; - }; - - regulator@2000 { - regulator-name = "8084_s5"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x2000 0x300>; - status = "disabled"; - - qcom,ctl@2000 { - reg = <0x2000 0x100>; - }; - qcom,ps@2100 { - reg = <0x2100 0x100>; - }; - qcom,freq@2200 { - reg = <0x2200 0x100>; - }; - }; - - regulator@2300 { - regulator-name = "8084_s6"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x2300 0x300>; - status = "disabled"; - - qcom,ctl@2300 { - reg = <0x2300 0x100>; - }; - qcom,ps@2400 { - reg = <0x2400 0x100>; - }; - qcom,freq@2500 { - reg = <0x2500 0x100>; - }; - }; - - regulator@2600 { - regulator-name = "8084_s7"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x2600 0x300>; - status = "disabled"; - - qcom,ctl@2600 { - reg = <0x2600 0x100>; - }; - qcom,ps@2700 { - reg = <0x2700 0x100>; - }; - qcom,freq@2800 { - reg = <0x2800 0x100>; - }; - }; - - regulator@2900 { - regulator-name = "8084_s8"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x2900 0x300>; - status = "disabled"; - - qcom,ctl@2900 { - reg = <0x2900 0x100>; - }; - qcom,ps@2a00 { - reg = <0x2a00 0x100>; - }; - qcom,freq@2b00 { - reg = <0x2b00 0x100>; - }; - }; - - regulator@2c00 { - regulator-name = "8084_s9"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x2c00 0x300>; - status = "disabled"; - - qcom,ctl@2c00 { - reg = <0x2c00 0x100>; - }; - qcom,ps@2d00 { - reg = <0x2d00 0x100>; - }; - qcom,freq@2e00 { - reg = <0x2e00 0x100>; - }; - }; - - regulator@2f00 { - regulator-name = "8084_s10"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x2f00 0x300>; - status = "disabled"; - - qcom,ctl@2f00 { - reg = <0x2f00 0x100>; - }; - qcom,ps@3000 { - reg = <0x3000 0x100>; - }; - qcom,freq@3100 { - reg = <0x3100 0x100>; - }; - }; - - regulator@3200 { - regulator-name = "8084_s11"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x3200 0x300>; - status = "disabled"; - - qcom,ctl@3200 { - reg = <0x3200 0x100>; - }; - qcom,ps@3300 { - reg = <0x3300 0x100>; - }; - qcom,freq@3400 { - reg = <0x3400 0x100>; - }; - }; - - regulator@3500 { - regulator-name = "8084_s12"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x3500 0x300>; - status = "disabled"; - - qcom,ctl@3500 { - reg = <0x3500 0x100>; - }; - qcom,ps@3600 { - reg = <0x3600 0x100>; - }; - qcom,freq@3700 { - reg = <0x3700 0x100>; - }; - }; - - regulator@4000 { - regulator-name = "8084_l1"; - reg = <0x4000 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4100 { - regulator-name = "8084_l2"; - reg = <0x4100 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4200 { - regulator-name = "8084_l3"; - reg = <0x4200 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4300 { - regulator-name = "8084_l4"; - reg = <0x4300 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4400 { - regulator-name = "8084_l5"; - reg = <0x4400 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4500 { - regulator-name = "8084_l6"; - reg = <0x4500 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4600 { - regulator-name = "8084_l7"; - reg = <0x4600 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4700 { - regulator-name = "8084_l8"; - reg = <0x4700 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4800 { - regulator-name = "8084_l9"; - reg = <0x4800 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4900 { - regulator-name = "8084_l10"; - reg = <0x4900 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4a00 { - regulator-name = "8084_l11"; - reg = <0x4a00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4b00 { - regulator-name = "8084_l12"; - reg = <0x4b00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4c00 { - regulator-name = "8084_l13"; - reg = <0x4c00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4d00 { - regulator-name = "8084_l14"; - reg = <0x4d00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4e00 { - regulator-name = "8084_l15"; - reg = <0x4e00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4f00 { - regulator-name = "8084_l16"; - reg = <0x4f00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5000 { - regulator-name = "8084_l17"; - reg = <0x5000 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5100 { - regulator-name = "8084_l18"; - reg = <0x5100 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5200 { - regulator-name = "8084_l19"; - reg = <0x5200 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5300 { - regulator-name = "8084_l20"; - reg = <0x5300 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5400 { - regulator-name = "8084_l21"; - reg = <0x5400 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5500 { - regulator-name = "8084_l22"; - reg = <0x5500 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5600 { - regulator-name = "8084_l23"; - reg = <0x5600 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5700 { - regulator-name = "8084_l24"; - reg = <0x5700 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5800 { - regulator-name = "8084_l25"; - reg = <0x5800 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5900 { - regulator-name = "8084_l26"; - reg = <0x5900 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5a00 { - regulator-name = "8084_l27"; - reg = <0x5a00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@8000 { - regulator-name = "8084_lvs1"; - reg = <0x8000 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@8100 { - regulator-name = "8084_lvs2"; - reg = <0x8100 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@8200 { - regulator-name = "8084_lvs3"; - reg = <0x8200 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@8300 { - regulator-name = "8084_lvs4"; - reg = <0x8300 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@8400 { - regulator-name = "8084_mvs1"; - reg = <0x8400 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8226-bus.dtsi b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8226-bus.dtsi deleted file mode 100644 index d87aa3ea5..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8226-bus.dtsi +++ /dev/null @@ -1,1128 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -&soc { - msm-mmss-noc@fc478000 { - compatible = "msm-bus-fabric"; - reg = <0xfc478000 0x00004000>; - cell-id = <2048>; - label = "msm_mmss_noc"; - qcom,fabclk-dual = "bus_clk"; - qcom,fabclk-active = "bus_a_clk"; - qcom,ntieredslaves = <0>; - qcom,qos-freq = <4800>; - qcom,hw-sel = "NoC"; - qcom,rpm-en; - - mas-gfx3d { - cell-id = <26>; - label = "mas-gfx3d"; - qcom,masterp = <2>; - qcom,tier = <2>; - qcom,hw-sel = "NoC"; - qcom,perm-mode = "Bypass"; - qcom,mode = "Bypass"; - qcom,ws = <10000>; - qcom,qport = <2>; - qcom,mas-hw-id = <6>; - }; - - mas-jpeg { - cell-id = <62>; - label = "mas-jpeg"; - qcom,masterp = <4>; - qcom,tier = <2>; - qcom,hw-sel = "NoC"; - qcom,perm-mode = "Bypass"; - qcom,mode = "Bypass"; - qcom,qport = <0>; - qcom,ws = <10000>; - qcom,mas-hw-id = <7>; - }; - - mas-mdp-port0 { - cell-id = <22>; - label = "mas-mdp-port0"; - qcom,masterp = <5>; - qcom,tier = <2>; - qcom,hw-sel = "NoC"; - qcom,perm-mode = "Bypass"; - qcom,mode = "Bypass"; - qcom,qport = <1>; - qcom,ws = <10000>; - qcom,mas-hw-id = <8>; - }; - - mas-video-p0 { - cell-id = <63>; - label = "mas-video-p0"; - qcom,masterp = <6>; - qcom,tier = <2>; - qcom,hw-sel = "NoC"; - qcom,perm-mode = "Bypass"; - qcom,mode = "Bypass"; - qcom,ws = <10000>; - qcom,qport = <4>; - qcom,mas-hw-id = <9>; - }; - - mas-vfe { - cell-id = <29>; - label = "mas-vfe"; - qcom,masterp = <16>; - qcom,tier = <2>; - qcom,hw-sel = "NoC"; - qcom,perm-mode = "Bypass"; - qcom,mode = "Bypass"; - qcom,ws = <10000>; - qcom,qport = <6>; - qcom,mas-hw-id = <11>; - }; - - fab-cnoc { - cell-id = <5120>; - label = "fab-cnoc"; - qcom,gateway; - qcom,masterp = <0 1>; - qcom,buswidth = <16>; - qcom,hw-sel = "RPM"; - qcom,mas-hw-id = <4>; - }; - - fab-bimc { - cell-id = <0>; - label = "fab-bimc"; - qcom,gateway; - qcom,slavep = <16>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <16>; - }; - - slv-camera-cfg { - cell-id = <589>; - label = "slv-camera-cfg"; - qcom,slavep = <0>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <3>; - }; - - slv-display-cfg { - cell-id = <590>; - label = "slv-display-cfg"; - qcom,slavep = <1>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <4>; - }; - - slv-ocmem-cfg { - cell-id = <591>; - label = "slv-ocmem-cfg"; - qcom,slavep = <2>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <5>; - }; - - slv-cpr-cfg { - cell-id = <592>; - label = "slv-cpr-cfg"; - qcom,slavep = <3>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <6>; - }; - - slv-cpr-xpu-cfg { - cell-id = <593>; - label = "slv-cpr-xpu-cfg"; - qcom,slavep = <4>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <7>; - }; - - slv-misc-cfg { - cell-id = <594>; - label = "slv-misc-cfg"; - qcom,slavep = <6>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <8>; - }; - - slv-misc-xpu-cfg { - cell-id = <595>; - label = "slv-misc-xpu-cfg"; - qcom,slavep = <7>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <9>; - }; - - slv-venus-cfg { - cell-id = <596>; - label = "slv-venus-cfg"; - qcom,slavep = <8>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <10>; - }; - - slv-gfx3d-cfg { - cell-id = <598>; - label = "slv-gfx3d-cfg"; - qcom,slavep = <9>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <11>; - }; - - slv-mmss-clk-cfg { - cell-id = <599>; - label = "slv-mmss-clk-cfg"; - qcom,slavep = <11>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <12>; - }; - - slv-mmss-clk-xpu-cfg { - cell-id = <600>; - label = "slv-mmss-clk-xpu-cfg"; - qcom,slavep = <12>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <13>; - }; - - slv-mnoc-mpu-cfg { - cell-id = <601>; - label = "slv-mnoc-mpu-cfg"; - qcom,slavep = <13>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <14>; - }; - - slv-onoc-mpu-cfg { - cell-id = <602>; - label = "slv-onoc-mpu-cfg"; - qcom,slavep = <14>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <15>; - }; - - slv-service-mnoc { - cell-id = <603>; - label = "slv-service-mnoc"; - qcom,slavep = <18>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <17>; - }; - - }; - - msm-sys-noc@fc460000 { - compatible = "msm-bus-fabric"; - reg = <0xfc460000 0x00004000>; - cell-id = <1024>; - label = "msm_sys_noc"; - qcom,fabclk-dual = "bus_clk"; - qcom,fabclk-active = "bus_a_clk"; - qcom,ntieredslaves = <0>; - qcom,qos-freq = <4800>; - qcom,hw-sel = "NoC"; - qcom,rpm-en; - - mas-lpass-ahb { - cell-id = <52>; - label = "mas-lpass-ahb"; - qcom,masterp = <0>; - qcom,tier = <2>; - qcom,qport = <0>; - qcom,mas-hw-id = <18>; - qcom,mode = "Fixed"; - qcom,prio-rd = <2>; - qcom,prio-wr = <2>; - }; - - mas-qdss-bam { - cell-id = <53>; - label = "mas-qdss-bam"; - qcom,masterp = <1>; - qcom,tier = <2>; - qcom,mode = "Fixed"; - qcom,qport = <1>; - qcom,mas-hw-id = <19>; - }; - - mas-snoc-cfg { - cell-id = <54>; - label = "mas-snoc-cfg"; - qcom,masterp = <2>; - qcom,tier = <2>; - qcom,mas-hw-id = <20>; - }; - - fab-bimc { - cell-id = <0>; - label= "fab-bimc"; - qcom,gateway; - qcom,slavep = <7>; - qcom,masterp = <3>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <21>; - qcom,slv-hw-id = <24>; - }; - - fab-cnoc { - cell-id = <5120>; - label = "fab-cnoc"; - qcom,gateway; - qcom,slavep = <8>; - qcom,masterp = <4>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <22>; - qcom,slv-hw-id = <25>; - }; - - fab-pnoc { - cell-id = <4096>; - label = "fab-pnoc"; - qcom,gateway; - qcom,slavep = <10>; - qcom,masterp = <10>; - qcom,buswidth = <8>; - qcom,qport = <8>; - qcom,mas-hw-id = <29>; - qcom,slv-hw-id = <28>; - qcom,mode = "Fixed"; - qcom,prio-rd = <2>; - qcom,prio-wr = <2>; - }; - - fab-ovnoc { - cell-id = <6144>; - label = "fab-ovnoc"; - qcom,gateway; - qcom,buswidth = <8>; - qcom,mas-hw-id = <53>; - qcom,slv-hw-id = <77>; - }; - - mas-crypto-core0 { - cell-id = <55>; - label = "mas-crypto-core0"; - qcom,masterp = <5>; - qcom,tier = <2>; - qcom,mode = "Fixed"; -/* qcom,qport = <2>;*/ - qcom,mas-hw-id = <23>; - qcom,hw-sel = "NoC"; - qcom,prio-rd = <1>; - qcom,prio-wr = <1>; - }; - - mas-lpass-proc { - cell-id = <11>; - label = "mas-lpass-proc"; - qcom,masterp = <6>; - qcom,tier = <2>; - qcom,qport = <4>; - qcom,mas-hw-id = <25>; - qcom,mode = "Fixed"; - qcom,prio-rd = <2>; - qcom,prio-wr = <2>; - }; - - mas-mss { - cell-id = <38>; - label = "mas-mss"; - qcom,masterp = <7>; - qcom,tier = <2>; - qcom,mas-hw-id = <26>; - }; - - mas-mss-nav { - cell-id = <57>; - label = "mas-mss-nav"; - qcom,masterp = <8>; - qcom,tier = <2>; - qcom,mas-hw-id = <27>; - }; - - mas-ocmem-dma { - cell-id = <58>; - label = "mas-ocmem-dma"; - qcom,masterp = <9>; - qcom,tier = <2>; - qcom,mode = "Fixed"; - qcom,qport = <7>; - qcom,mas-hw-id = <28>; - }; - - mas-wcss { - cell-id = <59>; - label = "mas-wcss"; - qcom,masterp = <11>; - qcom,tier = <2>; - qcom,mas-hw-id = <30>; - }; - - mas-qdss-etr { - cell-id = <60>; - label = "mas-qdss-etr"; - qcom,masterp = <12>; - qcom,tier = <2>; - qcom,qport = <10>; - qcom,mode = "Fixed"; - qcom,mas-hw-id = <31>; - }; - - slv-ampss { - cell-id = <520>; - label = "slv-ampss"; - qcom,slavep = <1>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <20>; - }; - - slv-lpass { - cell-id = <522>; - label = "slv-lpass"; - qcom,slavep = <2>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <21>; - }; - - slv-wcss { - cell-id = <584>; - label = "slv-wcss"; - qcom,slavep = <6>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <23>; - }; - - slv-ocimem { - cell-id = <585>; - label = "slv-ocimem"; - qcom,slavep = <9>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <26>; - }; - - slv-service-snoc { - cell-id = <587>; - label = "slv-service-snoc"; - qcom,slavep = <11>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <29>; - }; - - slv-qdss-stm { - cell-id = <588>; - label = "slv-qdss-stm"; - qcom,slavep = <12>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <30>; - }; - - }; - - msm-periph-noc@fc468000 { - compatible = "msm-bus-fabric"; - reg = <0xfc468000 0x00004000>; - cell-id = <4096>; - label = "msm_periph_noc"; - qcom,fabclk-dual = "bus_clk"; - qcom,fabclk-active = "bus_a_clk"; - qcom,ntieredslaves = <0>; - qcom,hw-sel = "NoC"; - qcom,rpm-en; - - mas-pnoc-cfg { - cell-id = <88>; - label = "mas-pnoc-cfg"; - qcom,masterp = <7>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <43>; - }; - - mas-sdcc-1 { - cell-id = <78>; - label = "mas-sdcc-1"; - qcom,masterp = <0>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <33>; - }; - - mas-sdcc-3 { - cell-id = <79>; - label = "mas-sdcc-3"; - qcom,masterp = <1>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <34>; - }; - - mas-sdcc-2 { - cell-id = <81>; - label = "mas-sdcc-2"; - qcom,masterp = <2>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <35>; - }; - - mas-bam-dma { - cell-id = <83>; - label = "mas-bam-dma"; - qcom,masterp = <3>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <38>; - }; - - mas-usb-hsic { - cell-id = <85>; - label = "mas-usb-hsic"; - qcom,masterp = <4>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <40>; - }; - - mas-blsp-1 { - cell-id = <86>; - label = "mas-blsp-1"; - qcom,masterp = <5>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <41>; - }; - - mas-usb-hs { - cell-id = <87>; - label = "mas-usb-hs"; - qcom,masterp = <6>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <42>; - }; - - fab-snoc { - cell-id = <1024>; - label = "fab-snoc"; - qcom,gateway; - qcom,slavep = <12>; - qcom,masterp = <8>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <45>; - qcom,mas-hw-id = <44>; - }; - - slv-sdcc-1 { - cell-id = <606>; - label = "slv-sdcc-1"; - qcom,slavep = <0>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <31>; - }; - - slv-sdcc-3 { - cell-id = <607>; - label = "slv-sdcc-3"; - qcom,slavep = <1>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <32>; - }; - - slv-sdcc-2 { - cell-id = <608>; - label = "slv-sdcc-2"; - qcom,slavep = <2>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <33>; - }; - - slv-bam-dma { - cell-id = <610>; - label = "slv-bam-dma"; - qcom,slavep = <3>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <36>; - }; - - slv-usb-hsic { - cell-id = <612>; - label = "slv-usb-hsic"; - qcom,slavep = <4>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <38>; - }; - - slv-blsp-1 { - cell-id = <613>; - label = "slv-blsp-1"; - qcom,slavep = <5>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <39>; - }; - - slv-usb-hs { - cell-id = <614>; - label = "slv-usb-hs"; - qcom,slavep = <6>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <40>; - }; - - slv-pdm { - cell-id = <615>; - label = "slv-pdm"; - qcom,slavep = <7>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <41>; - }; - - slv-periph-apu-cfg { - cell-id = <616>; - label = "slv-periph-apu-cfg"; - qcom,slavep = <8>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <42>; - }; - - slv-pnoc-mpu-cfg { - cell-id = <617>; - label = "slv-pnoc-mpu-cfg"; - qcom,slavep = <9>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <43>; - }; - - slv-prng { - cell-id = <618>; - label = "slv-prng"; - qcom,slavep = <10>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <44>; - }; - - slv-service-pnoc { - cell-id = <619>; - label = "slv-service-pnoc"; - qcom,slavep = <12>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <46>; - }; - - }; - - msm-config-noc@fc480000 { - compatible = "msm-bus-fabric"; - reg = <0xfc480000 0x00004000>; - cell-id = <5120>; - label = "msm_config_noc"; - qcom,fabclk-dual = "bus_clk"; - qcom,fabclk-active = "bus_a_clk"; - qcom,ntieredslaves = <0>; - qcom,hw-sel = "NoC"; - qcom,rpm-en; - - mas-rpm-inst { - cell-id = <72>; - label = "mas-rpm-inst"; - qcom,masterp = <0>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <45>; - }; - - mas-rpm-data { - cell-id = <73>; - label = "mas-rpm-data"; - qcom,masterp = <1>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <46>; - }; - - mas-rpm-sys { - cell-id = <74>; - label = "mas-rpm-sys"; - qcom,masterp = <2>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <47>; - }; - - mas-dehr { - cell-id = <75>; - label = "mas-dehr"; - qcom,masterp = <3>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <48>; - }; - - mas-qdss-dsp { - cell-id = <76>; - label = "mas-qdss-dap"; - qcom,masterp = <4>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <49>; - }; - - mas-spdm { - cell-id = <36>; - label = "mas-spdm"; - qcom,masterp = <5>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <50>; - }; - - mas-tic { - cell-id = <77>; - label = "mas-tic"; - qcom,masterp = <6>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <51>; - }; - - slv-clk-ctl { - cell-id = <620>; - label = "slv-clk-ctl"; - qcom,slavep = <1>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <47>; - }; - - slv-cnoc-mss { - cell-id = <621>; - label = "slv-cnoc-mss"; - qcom,slavep = <2>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <48>; - }; - - slv-security { - cell-id = <622>; - label = "slv-security"; - qcom,slavep = <3>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <49>; - }; - - slv-tcsr { - cell-id = <623>; - label = "slv-tcsr"; - qcom,slavep = <4>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <50>; - }; - - slv-tlmm { - cell-id = <624>; - label = "slv-tlmm"; - qcom,slavep = <5>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <51>; - }; - - slv-crypto-0-cfg { - cell-id = <625>; - label = "slv-crypto-0-cfg"; - qcom,slavep = <6>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <52>; - }; - - slv-imem-cfg { - cell-id = <627>; - label = "slv-imem-cfg"; - qcom,slavep = <7>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <54>; - }; - - slv-message-ram { - cell-id = <628>; - label = "slv-message-ram"; - qcom,slavep = <8>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <55>; - }; - - slv-bimc-cfg { - cell-id = <629>; - label = "slv-bimc-cfg"; - qcom,slavep = <9>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <56>; - }; - - slv-boot-rom { - cell-id = <630>; - label = "slv-boot-rom"; - qcom,slavep = <10>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <57>; - }; - - slv-pmic-arb { - cell-id = <632>; - label = "slv-pmic-arb"; - qcom,slavep = <12>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <59>; - }; - - slv-spdm-wrapper { - cell-id = <633>; - label = "slv-spdm-wrapper"; - qcom,slavep = <13>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <60>; - }; - - slv-dehr-cfg { - cell-id = <634>; - label = "slv-dehr-cfg"; - qcom,slavep = <14>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <61>; - }; - - slv-mpm { - cell-id = <536>; - label = "slv-mpm"; - qcom,slavep = <15>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <62>; - }; - - slv-qdss-cfg { - cell-id = <635>; - label = "slv-qdss-cfg"; - qcom,slavep = <16>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <63>; - }; - - slv-rbcpr-cfg { - cell-id = <636>; - label = "slv-rbcpr-cfg"; - qcom,slavep = <17>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <64>; - }; - - slv-rbcpr-qdss-apu-cfg { - cell-id = <637>; - label = "slv-rbcpr-qdss-apu-cfg"; - qcom,slavep = <18>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <65>; - }; - - fab-snoc { - cell-id = <1024>; - label = "fab-snoc"; - qcom,gateway; - qcom,slavep = <26>; - qcom,masterp = <7>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <52>; - qcom,slv-hw-id = <75>; - }; - - slv-cnoc-mnoc-mmss-cfg { - cell-id = <631>; - label = "slv-cnoc-mnoc-mmss-cfg"; - qcom,slavep = <11>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <58>; - }; - - slv-cnoc-mnoc-cfg { - cell-id = <640>; - label = "slv-cnoc-mnoc-cfg"; - qcom,slavep = <19>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <66>; - }; - - slv-pnoc-cfg { - cell-id = <641>; - label = "slv-pnoc-cfg"; - qcom,slavep = <21>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <69>; - }; - - slv-snoc-mpu-cfg { - cell-id = <638>; - label = "slv-snoc-mpu-cfg"; - qcom,slavep = <20>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <67>; - }; - - slv-snoc-cfg { - cell-id = <642>; - label = "slv-snoc-cfg"; - qcom,slavep = <22>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <70>; - }; - - slv-phy-apu-cfg { - cell-id = <644>; - label = "slv-phy-apu-cfg"; - qcom,slavep = <23>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <72>; - }; - - slv-ebi1-phy-cfg { - cell-id = <645>; - label = "slv-ebi1-phy-cfg"; - qcom,slavep = <24>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <73>; - }; - - slv-rpm { - cell-id = <534>; - label = "slv-rpm"; - qcom,slavep = <25>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <74>; - }; - - slv-service-cnoc { - cell-id = <646>; - label = "slv-service-cnoc"; - qcom,slavep = <27>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <76>; - }; - - }; - - msm-bimc@0xfc380000 { - compatible = "msm-bus-fabric"; - reg = <0xfc380000 0x0006A000>; - cell-id = <0>; - label = "msm_bimc"; - qcom,fabclk-dual = "mem_clk"; - qcom,fabclk-active = "mem_a_clk"; - qcom,ntieredslaves = <0>; - qcom,qos-freq = <4800>; - qcom,hw-sel = "BIMC"; - qcom,rpm-en; - - mas-ampss-m0 { - cell-id = <1>; - label = "mas-ampss-m0"; - qcom,masterp = <0>; - qcom,tier = <2>; - qcom,hw-sel = "BIMC"; - qcom,mode = "Fixed"; - qcom,qport = <0>; - qcom,ws = <10000>; - qcom,mas-hw-id = <0>; - qcom,prio-rd = <0>; - qcom,prio-wr = <0>; - }; - - mas-mss-proc { - cell-id = <65>; - label = "mas-mss-proc"; - qcom,masterp = <1>; - qcom,tier = <2>; - qcom,hw-sel = "RPM"; - qcom,mas-hw-id = <1>; - }; - - fab-mmss-noc { - cell-id = <2048>; - label = "fab_mmss_noc"; - qcom,gateway; - qcom,masterp = <2>; - qcom,qport = <2>; - qcom,buswidth = <8>; - qcom,ws = <10000>; - qcom,mas-hw-id = <2>; - qcom,hw-sel = "BIMC"; - qcom,mode = "Bypass"; - }; - - fab-snoc { - cell-id = <1024>; - label = "fab-snoc"; - qcom,gateway; - qcom,slavep = <2>; - qcom,masterp = <4>; - qcom,qport = <4>; - qcom,buswidth = <8>; - qcom,ws = <10000>; - qcom,mas-hw-id = <3>; - qcom,slv-hw-id = <2>; - qcom,mode = "Bypass"; - qcom,hw-sel = "RPM"; - }; - - slv-ebi-ch0 { - cell-id = <512>; - label = "slv-ebi-ch0"; - qcom,slavep = <0>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <0>; - qcom,mode = "Bypass"; - }; - - slv-ampss-l2 { - cell-id = <514>; - label = "slv-ampss-l2"; - qcom,slavep = <1>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <1>; - }; - }; - - msm-ocmem-vnoc@6144 { - compatible = "msm-bus-fabric"; - reg = <0x6144 0x2>; - cell-id = <6144>; - label = "msm-ocmem-vnoc"; - qcom,ntieredslaves = <0>; - qcom,hw-sel = "NoC"; - qcom,rpm-en; - qcom,virt; - - mas-v-ocmem-gfx3d { - cell-id = <89>; - label = "mas-v-ocmem-gfx3d"; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <55>; - }; - - slv-ocmem { - cell-id = <604>; - label = "slv-ocmem"; - qcom,slavep = <0 1>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,slv-hw-id = <18>; - qcom,slaveclk-dual = "ocmem_clk"; - qcom,slaveclk-active = "ocmem_a_clk"; - }; - - fab-snoc { - cell-id = <1024>; - label = "fab-snoc"; - qcom,gateway; - qcom,buswidth = <32>; - qcom,ws = <10000>; - qcom,mas-hw-id = <57>; - qcom,slv-hw-id = <80>; - }; - - fab-onoc { - cell-id = <3072>; - label = "fab-onoc"; - qcom,gateway; - qcom,buswidth = <16>; - qcom,ws = <10000>; - qcom,mas-hw-id = <56>; - qcom,slv-hw-id = <79>; - }; - - }; -}; - - diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8226-camera-sensor-cdp.dtsi b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8226-camera-sensor-cdp.dtsi deleted file mode 100644 index 41d6b7e79..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8226-camera-sensor-cdp.dtsi +++ /dev/null @@ -1,108 +0,0 @@ -/* - * Copyright (c) 2013, 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. - */ - -&soc { - - led_flash0: qcom,camera-led-flash { - cell-index = <0>; - compatible = "qcom,camera-led-flash"; - qcom,flash-type = <1>; - qcom,flash-source = <&pm8226_flash0 &pm8226_flash1>; - }; -}; - -&cci { - - actuator0: qcom,actuator@6e { - cell-index = <3>; - reg = <0x6c>; - compatible = "qcom,actuator"; - qcom,cci-master = <0>; - }; - - qcom,camera@6f { - compatible = "qcom,ov8825"; - reg = <0x6f>; - qcom,slave-id = <0x6c 0x300a 0x8825>; - qcom,csiphy-sd-index = <0>; - qcom,csid-sd-index = <0>; - qcom,actuator-src = <&actuator0>; - qcom,led-flash-src = <&led_flash0>; - qcom,mount-angle = <0>; - qcom,sensor-name = "ov8825"; - cam_vdig-supply = <&pm8226_l5>; - cam_vana-supply = <&pm8226_l19>; - cam_vio-supply = <&pm8226_lvs1>; - cam_vaf-supply = <&pm8226_l15>; - qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana", - "cam_vaf"; - qcom,cam-vreg-type = <0 1 0 0>; - qcom,cam-vreg-min-voltage = <1200000 0 2850000 2800000>; - qcom,cam-vreg-max-voltage = <1200000 0 2850000 2800000>; - qcom,cam-vreg-op-mode = <200000 0 80000 100000>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 26 0>, - <&msmgpio 37 0>, - <&msmgpio 36 0>; - qcom,gpio-reset = <1>; - qcom,gpio-standby = <2>; - qcom,gpio-req-tbl-num = <0 1 2>; - qcom,gpio-req-tbl-flags = <1 0 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1", - "CAM_STANDBY"; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x1f>; - qcom,sensor-position = <0>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - }; - - qcom,camera@6d { - compatible = "qcom,ov9724"; - reg = <0x6d>; - qcom,slave-id = <0x20 0x0 0x9724>; - qcom,csiphy-sd-index = <1>; - qcom,csid-sd-index = <1>; - qcom,mount-angle = <0>; - qcom,sensor-name = "ov9724"; - cam_vdig-supply = <&pm8226_l5>; - cam_vana-supply = <&pm8226_l19>; - cam_vio-supply = <&pm8226_lvs1>; - qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana"; - qcom,cam-vreg-type = <0 1 0>; - qcom,cam-vreg-min-voltage = <1200000 0 2850000>; - qcom,cam-vreg-max-voltage = <1200000 0 2850000>; - qcom,cam-vreg-op-mode = <200000 0 80000>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 26 0>, - <&msmgpio 28 0>, - <&msmgpio 35 0>; - qcom,gpio-reset = <1>; - qcom,gpio-standby = <2>; - qcom,gpio-req-tbl-num = <0 1 2>; - qcom,gpio-req-tbl-flags = <1 0 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET", - "CAM_STANDBY"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 4000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x3>; - qcom,sensor-position = <1>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - status = "ok"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8226-camera-sensor-mtp.dtsi b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8226-camera-sensor-mtp.dtsi deleted file mode 100644 index 53860ac85..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8226-camera-sensor-mtp.dtsi +++ /dev/null @@ -1,108 +0,0 @@ -/* - * Copyright (c) 2013, 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. - */ - -&soc { - - led_flash0: qcom,camera-led-flash { - cell-index = <0>; - compatible = "qcom,camera-led-flash"; - qcom,flash-type = <1>; - qcom,flash-source = <&pm8226_flash0 &pm8226_flash1>; - }; -}; - -&cci { - - actuator0: qcom,actuator@6e { - cell-index = <3>; - reg = <0x6c>; - compatible = "qcom,actuator"; - qcom,cci-master = <0>; - }; - - qcom,camera@6f { - compatible = "qcom,ov8825"; - reg = <0x6f>; - qcom,slave-id = <0x6c 0x300a 0x8825>; - qcom,csiphy-sd-index = <0>; - qcom,csid-sd-index = <0>; - qcom,actuator-src = <&actuator0>; - qcom,led-flash-src = <&led_flash0>; - qcom,mount-angle = <0>; - qcom,sensor-name = "ov8825"; - cam_vdig-supply = <&pm8226_l5>; - cam_vana-supply = <&pm8226_l19>; - cam_vio-supply = <&pm8226_lvs1>; - cam_vaf-supply = <&pm8226_l15>; - qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana", - "cam_vaf"; - qcom,cam-vreg-type = <0 1 0 0>; - qcom,cam-vreg-min-voltage = <1200000 0 2850000 2800000>; - qcom,cam-vreg-max-voltage = <1200000 0 2850000 2800000>; - qcom,cam-vreg-op-mode = <200000 0 80000 100000>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 26 0>, - <&msmgpio 37 0>, - <&msmgpio 35 0>; - qcom,gpio-reset = <1>; - qcom,gpio-standby = <2>; - qcom,gpio-req-tbl-num = <0 1 2>; - qcom,gpio-req-tbl-flags = <1 0 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1", - "CAM_STANDBY"; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x1f>; - qcom,sensor-position = <0>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - }; - - qcom,camera@6d { - compatible = "qcom,ov9724"; - reg = <0x6d>; - qcom,slave-id = <0x20 0x0 0x9724>; - qcom,csiphy-sd-index = <1>; - qcom,csid-sd-index = <1>; - qcom,mount-angle = <270>; - qcom,sensor-name = "ov9724"; - cam_vdig-supply = <&pm8226_l5>; - cam_vana-supply = <&pm8226_l19>; - cam_vio-supply = <&pm8226_lvs1>; - qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana"; - qcom,cam-vreg-type = <0 1 0>; - qcom,cam-vreg-min-voltage = <1200000 0 2850000>; - qcom,cam-vreg-max-voltage = <1200000 0 2850000>; - qcom,cam-vreg-op-mode = <200000 0 80000>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 26 0>, - <&msmgpio 28 0>, - <&msmgpio 36 0>; - qcom,gpio-reset = <1>; - qcom,gpio-standby = <2>; - qcom,gpio-req-tbl-num = <0 1 2>; - qcom,gpio-req-tbl-flags = <1 0 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET", - "CAM_STANDBY"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 4000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x3>; - qcom,sensor-position = <1>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - status = "ok"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8226-camera-sensor-qrd.dtsi b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8226-camera-sensor-qrd.dtsi deleted file mode 100644 index 3935dbb78..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8226-camera-sensor-qrd.dtsi +++ /dev/null @@ -1,108 +0,0 @@ -/* - * Copyright (c) 2013, 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. - */ - -&soc { - - led_flash0: qcom,camera-led-flash { - cell-index = <0>; - compatible = "qcom,camera-led-flash"; - qcom,flash-type = <1>; - qcom,flash-source = <&pm8226_flash0 &pm8226_flash1>; - }; -}; - -&cci { - - actuator0: qcom,actuator@6e { - cell-index = <3>; - reg = <0x6c>; - compatible = "qcom,actuator"; - qcom,cci-master = <0>; - }; - - qcom,camera@6f { - compatible = "qcom,ov8825"; - reg = <0x6f>; - qcom,slave-id = <0x6c 0x300a 0x8825>; - qcom,csiphy-sd-index = <0>; - qcom,csid-sd-index = <0>; - qcom,actuator-src = <&actuator0>; - qcom,led-flash-src = <&led_flash0>; - qcom,mount-angle = <270>; - qcom,sensor-name = "ov8825"; - cam_vdig-supply = <&pm8226_l5>; - cam_vana-supply = <&pm8226_l19>; - cam_vio-supply = <&pm8226_lvs1>; - cam_vaf-supply = <&pm8226_l15>; - qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana", - "cam_vaf"; - qcom,cam-vreg-type = <0 1 0 0>; - qcom,cam-vreg-min-voltage = <1200000 0 2850000 2800000>; - qcom,cam-vreg-max-voltage = <1200000 0 2850000 2800000>; - qcom,cam-vreg-op-mode = <200000 0 80000 100000>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 26 0>, - <&msmgpio 37 0>, - <&msmgpio 36 0>; - qcom,gpio-reset = <1>; - qcom,gpio-standby = <2>; - qcom,gpio-req-tbl-num = <0 1 2>; - qcom,gpio-req-tbl-flags = <1 0 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1", - "CAM_STANDBY"; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x1f>; - qcom,sensor-position = <0>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - }; - - qcom,camera@6d { - compatible = "qcom,ov9724"; - reg = <0x6d>; - qcom,slave-id = <0x20 0x0 0x9724>; - qcom,csiphy-sd-index = <1>; - qcom,csid-sd-index = <1>; - qcom,mount-angle = <270>; - qcom,sensor-name = "ov9724"; - cam_vdig-supply = <&pm8226_l5>; - cam_vana-supply = <&pm8226_l19>; - cam_vio-supply = <&pm8226_lvs1>; - qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana"; - qcom,cam-vreg-type = <0 1 0>; - qcom,cam-vreg-min-voltage = <1200000 0 2850000>; - qcom,cam-vreg-max-voltage = <1200000 0 2850000>; - qcom,cam-vreg-op-mode = <200000 0 80000>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 26 0>, - <&msmgpio 28 0>, - <&msmgpio 35 0>; - qcom,gpio-reset = <1>; - qcom,gpio-standby = <2>; - qcom,gpio-req-tbl-num = <0 1 2>; - qcom,gpio-req-tbl-flags = <1 0 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET", - "CAM_STANDBY"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 4000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x3>; - qcom,sensor-position = <1>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - status = "ok"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8226-camera.dtsi b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8226-camera.dtsi deleted file mode 100644 index ec0092d43..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8226-camera.dtsi +++ /dev/null @@ -1,139 +0,0 @@ -/* - * Copyright (c) 2012-2013, 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. - */ - -&soc { - qcom,msm-cam@fd8c0000 { - compatible = "qcom,msm-cam"; - reg = <0xfd8c0000 0x10000>; - reg-names = "msm-cam"; - }; - - qcom,csiphy@fda0ac00 { - cell-index = <0>; - compatible = "qcom,csiphy"; - reg = <0xfda0ac00 0x200>, - <0xfda00030 0x4>; - reg-names = "csiphy", "csiphy_clk_mux"; - interrupts = <0 78 0>; - interrupt-names = "csiphy"; - }; - - qcom,csiphy@fda0b000 { - cell-index = <1>; - compatible = "qcom,csiphy"; - reg = <0xfda0b000 0x200>, - <0xfda00038 0x4>; - reg-names = "csiphy", "csiphy_clk_mux"; - interrupts = <0 79 0>; - interrupt-names = "csiphy"; - }; - - qcom,csid@fda08000 { - cell-index = <0>; - compatible = "qcom,csid"; - reg = <0xfda08000 0x100>; - reg-names = "csid"; - interrupts = <0 51 0>; - interrupt-names = "csid"; - qcom,csi-vdd-voltage = <1200000>; - qcom,mipi-csi-vdd-supply = <&pm8226_l4>; - }; - - qcom,csid@fda08400 { - cell-index = <1>; - compatible = "qcom,csid"; - reg = <0xfda08400 0x100>; - reg-names = "csid"; - interrupts = <0 52 0>; - interrupt-names = "csid"; - qcom,csi-vdd-voltage = <1200000>; - qcom,mipi-csi-vdd-supply = <&pm8226_l4>; - }; - - qcom,ispif@fda0a000 { - cell-index = <0>; - compatible = "qcom,ispif"; - reg = <0xfda0a000 0x500>, - <0xfda00020 0x10>; - reg-names = "ispif", "csi_clk_mux"; - interrupts = <0 55 0>; - interrupt-names = "ispif"; - }; - - qcom,vfe@fda10000 { - cell-index = <0>; - compatible = "qcom,vfe40"; - reg = <0xfda10000 0x1000>, - <0xfda40000 0x200>; - reg-names = "vfe", "vfe_vbif"; - interrupts = <0 57 0>; - interrupt-names = "vfe"; - vdd-supply = <&gdsc_vfe>; - }; - - qcom,jpeg@fda1c000 { - cell-index = <0>; - compatible = "qcom,jpeg"; - reg = <0xfda1c000 0x400>; - reg-names = "jpeg"; - interrupts = <0 59 0>; - interrupt-names = "jpeg"; - vdd-supply = <&gdsc_jpeg>; - }; - - qcom,irqrouter@fda00000 { - cell-index = <0>; - compatible = "qcom,irqrouter"; - reg = <0xfda00000 0x100>; - reg-names = "irqrouter"; - }; - - qcom,cpp@fda04000 { - cell-index = <0>; - compatible = "qcom,cpp"; - reg = <0xfda04000 0x100>, - <0xfda40000 0x200>, - <0xfda18000 0x008>; - reg-names = "cpp", "cpp_vbif", "cpp_hw"; - interrupts = <0 49 0>; - interrupt-names = "cpp"; - vdd-supply = <&gdsc_vfe>; - }; - - cci: qcom,cci@fda0c000 { - cell-index = <0>; - compatible = "qcom,cci"; - reg = <0xfda0c000 0x1000>; - #address-cells = <1>; - #size-cells = <0>; - reg-names = "cci"; - interrupts = <0 50 0>; - interrupt-names = "cci"; - gpios = <&msmgpio 29 0>, - <&msmgpio 30 0>; - qcom,gpio-tbl-num = <0 1>; - qcom,gpio-tbl-flags = <1 1>; - qcom,gpio-tbl-label = "CCI_I2C_DATA0", - "CCI_I2C_CLK0"; - qcom,hw-thigh = <78>; - qcom,hw-tlow = <114>; - qcom,hw-tsu-sto = <28>; - qcom,hw-tsu-sta = <28>; - qcom,hw-thd-dat = <10>; - qcom,hw-thd-sta = <77>; - qcom,hw-tbuf = <118>; - qcom,hw-scl-stretch-en = <0>; - qcom,hw-trdhld = <6>; - qcom,hw-tsp = <1>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8226-cdp.dtsi b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8226-cdp.dtsi deleted file mode 100644 index da9ad8c0a..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8226-cdp.dtsi +++ /dev/null @@ -1,393 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/include/ "dsi-panel-nt35590-720p-video.dtsi" -/include/ "msm8226-camera-sensor-cdp.dtsi" - -&soc { - serial@f991f000 { - status = "ok"; - }; - - qcom,mdss_dsi_nt35590_720p_video { - status = "ok"; - }; - - i2c@f9927000 { /* BLSP1 QUP5 */ - synaptics@20 { - compatible = "synaptics,rmi4"; - reg = <0x20>; - interrupt-parent = <&msmgpio>; - interrupts = <17 0x2008>; - vdd-supply = <&pm8226_l19>; - vcc_i2c-supply = <&pm8226_lvs1>; - synaptics,reset-gpio = <&msmgpio 16 0x00>; - synaptics,irq-gpio = <&msmgpio 17 0x2008>; - synaptics,button-map = <139 102 158>; - synaptics,i2c-pull-up; - }; - }; - - gpio_keys { - compatible = "gpio-keys"; - input-name = "gpio-keys"; - - camera_focus { - label = "camera_focus"; - gpios = <&msmgpio 108 0x1>; - linux,input-type = <1>; - linux,code = <0x210>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - - camera_snapshot { - label = "camera_snapshot"; - gpios = <&msmgpio 107 0x1>; - linux,input-type = <1>; - linux,code = <0x2fe>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - - vol_up { - label = "volume_up"; - gpios = <&msmgpio 106 0x1>; - linux,input-type = <1>; - linux,code = <115>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - }; - - spi@f9923000 { - ethernet-switch@3 { - compatible = "micrel,ks8851"; - reg = <3>; - interrupt-parent = <&msmgpio>; - interrupts = <0 115 0>; - spi-max-frequency = <4800000>; - rst-gpio = <&msmgpio 114 0>; - vdd-io-supply = <&pm8226_lvs1>; - vdd-phy-supply = <&pm8226_lvs1>; - }; - }; - - sound { - qcom,audio-routing = - "RX_BIAS", "MCLK", - "LDO_H", "MCLK", - "SPK_OUT", "MCLK", - "SPK_OUT", "EXT_VDD_SPKR", - "AMIC1", "MIC BIAS1 Internal1", - "MIC BIAS1 Internal1", "Handset Mic", - "AMIC2", "MIC BIAS2 External", - "MIC BIAS2 External", "Headset Mic", - "AMIC4", "MIC BIAS2 External", - "MIC BIAS2 External", "ANCRight Headset Mic", - "AMIC5", "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"; - - qcom,cdc-mclk-gpios = <&pm8226_gpios 1 0>; - qcom,cdc-vdd-spkr-gpios = <&pm8226_gpios 2 0>; - qcom,headset-jack-type-NO; - }; -}; - -&sdcc1 { - vdd-supply = <&pm8226_l17>; - qcom,vdd-always-on; - qcom,vdd-lpm-sup; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <800 500000>; - - vdd-io-supply = <&pm8226_l6>; - qcom,vdd-io-always-on; - qcom,vdd-io-voltage-level = <1800000 1800000>; - qcom,vdd-io-current-level = <250 154000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - qcom,sup-voltages = <2950 2950>; - - qcom,bus-speed-mode = "HS200_1p8v", "DDR_1p8v"; - qcom,nonremovable; - - status = "disabled"; -}; - -&sdhc_1 { - vdd-supply = <&pm8226_l17>; - qcom,vdd-always-on; - qcom,vdd-lpm-sup; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <800 500000>; - - vdd-io-supply = <&pm8226_l6>; - qcom,vdd-io-always-on; - qcom,vdd-io-voltage-level = <1800000 1800000>; - qcom,vdd-io-current-level = <250 154000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - qcom,bus-speed-mode = "HS200_1p8v", "DDR_1p8v"; - qcom,nonremovable; - - status = "ok"; -}; - -&sdcc2 { - vdd-supply = <&pm8226_l18>; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <9000 800000>; - - vdd-io-supply = <&pm8226_l21>; - qcom,vdd-io-always-on; - qcom,vdd-io-lpm-sup; - qcom,vdd-io-voltage-level = <1800000 2950000>; - qcom,vdd-io-current-level = <6 22000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - qcom,sup-voltages = <2950 2950>; - - qcom,xpc; - qcom,bus-speed-mode = "SDR12", "SDR25", "SDR50", "DDR50", "SDR104"; - qcom,current-limit = <600>; - - #address-cells = <0>; - interrupt-parent = <&sdcc2>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 125 0 - 1 &intc 0 220 0 - 2 &msmgpio 38 0x3>; - interrupt-names = "core_irq", "bam_irq", "status_irq"; - cd-gpios = <&msmgpio 38 0x1>; - - status = "disabled"; -}; - -&sdhc_2 { - vdd-supply = <&pm8226_l18>; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <9000 800000>; - - vdd-io-supply = <&pm8226_l21>; - qcom,vdd-io-always-on; - qcom,vdd-io-lpm-sup; - qcom,vdd-io-voltage-level = <1800000 2950000>; - qcom,vdd-io-current-level = <6 22000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - - #address-cells = <0>; - interrupt-parent = <&sdhc_2>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 125 0 - 1 &intc 0 221 0 - 2 &msmgpio 38 0x3>; - interrupt-names = "hc_irq", "pwr_irq", "status_irq"; - cd-gpios = <&msmgpio 38 0x1>; - - status = "ok"; -}; - -&spmi_bus { - qcom,pm8226@0 { - qcom,leds@a100 { - status = "okay"; - qcom,led_mpp_2 { - label = "mpp"; - linux,name = "button-backlight"; - linux,default-trigger = "none"; - qcom,default-state = "off"; - qcom,max-current = <40>; - qcom,current-setting = <5>; - qcom,id = <6>; - qcom,mode = "manual"; - qcom,source-sel = <1>; - qcom,mode-ctrl = <0x60>; - }; - }; - - qcom,leds@a300 { - status = "okay"; - qcom,led_mpp_4 { - label = "mpp"; - linux,name = "green"; - linux,default-trigger = "none"; - qcom,default-state = "off"; - qcom,max-current = <40>; - qcom,current-setting = <5>; - qcom,id = <6>; - qcom,mode = "pwm"; - qcom,pwm-us = <1000>; - qcom,source-sel = <8>; - qcom,mode-ctrl = <0x60>; - qcom,pwm-channel = <0>; - qcom,start-idx = <1>; - qcom,duty-pcts = [00 00 00 00 64 - 64 00 00 00 00]; - qcom,use-blink; - }; - }; - - qcom,leds@a500 { - status = "okay"; - qcom,led_mpp_6 { - label = "mpp"; - linux,name = "red"; - linux,default-trigger = "none"; - qcom,default-state = "off"; - qcom,max-current = <40>; - qcom,current-setting = <5>; - qcom,id = <6>; - qcom,mode = "pwm"; - qcom,pwm-us = <1000>; - qcom,mode-ctrl = <0x60>; - qcom,source-sel = <10>; - qcom,pwm-channel = <5>; - qcom,start-idx = <1>; - qcom,duty-pcts = [00 00 00 00 64 - 64 00 00 00 00]; - qcom,use-blink; - }; - }; - }; - - qcom,pm8226@1 { - qcom,leds@d800 { - status = "okay"; - qcom,wled_0 { - label = "wled"; - linux,name = "wled:backlight"; - linux,default-trigger = "bkl-trigger"; - qcom,cs-out-en; - qcom,op-fdbck = <1>; - qcom,default-state = "on"; - qcom,max-current = <20>; - qcom,ctrl-delay-us = <0>; - qcom,boost-curr-lim = <3>; - qcom,cp-sel = <0>; - qcom,switch-freq = <2>; - qcom,ovp-val = <0>; - qcom,num-strings = <1>; - qcom,id = <0>; - }; - }; - }; -}; - -&pm8226_gpios { - gpio@c000 { /* GPIO 1 */ - /* XO_PMIC_CDC_MCLK enable for tapan codec */ - qcom,mode = <1>; /* Digital output */ - qcom,output-type = <0>; /* CMOS logic */ - qcom,pull = <5>; /* QPNP_PIN_PULL_NO*/ - qcom,vin-sel = <3>; /* QPNP_PIN_VIN3 */ - qcom,out-strength = <3>;/* QPNP_PIN_OUT_STRENGTH_HIGH */ - qcom,src-sel = <2>; /* QPNP_PIN_SEL_FUNC_1 */ - qcom,master-en = <1>; /* Enable GPIO */ - }; - - gpio@c100 { /* GPIO 2 */ - qcom,mode = <1>; - qcom,output-type = <0>; - qcom,pull = <5>; - qcom,vin-sel = <3>; - qcom,out-strength = <3>; - qcom,src-sel = <2>; - qcom,master-en = <1>; - }; - - gpio@c200 { /* GPIO 3 */ - }; - - gpio@c300 { /* GPIO 4 */ - }; - - gpio@c400 { /* GPIO 5 */ - }; - - gpio@c500 { /* GPIO 6 */ - }; - - gpio@c600 { /* GPIO 7 */ - }; - - gpio@c700 { /* GPIO 8 */ - }; -}; - -&pm8226_mpps { - mpp@a000 { /* MPP 1 */ - }; - - mpp@a100 { /* MPP 2 */ - }; - - mpp@a200 { /* MPP 3 */ - }; - - mpp@a300 { /* MPP 4 */ - }; - - mpp@a400 { /* MPP 5 */ - }; - - mpp@a500 { /* MPP 6 */ - }; - - mpp@a600 { /* MPP 7 */ - }; - - mpp@a700 { /* MPP 8 */ - }; -}; - -&pm8226_chg { - qcom,charging-disabled; - qcom,use-default-batt-values; -}; - -&usb_otg_sw { - status = "okay"; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8226-coresight.dtsi b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8226-coresight.dtsi deleted file mode 100644 index e11c963c6..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8226-coresight.dtsi +++ /dev/null @@ -1,377 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -&soc { - tmc_etr: tmc@fc322000 { - compatible = "arm,coresight-tmc"; - reg = <0xfc322000 0x1000>, - <0xfc37c000 0x3000>; - reg-names = "tmc-base", "bam-base"; - - qcom,memory-reservation-type = "EBI1"; - qcom,memory-reservation-size = <0x100000>; /* 1M EBI1 buffer */ - - coresight-id = <0>; - coresight-name = "coresight-tmc-etr"; - coresight-nr-inports = <1>; - coresight-ctis = <&cti0 &cti8>; - }; - - tpiu: tpiu@fc318000 { - compatible = "arm,coresight-tpiu"; - reg = <0xfc318000 0x1000>; - reg-names = "tpiu-base"; - - coresight-id = <1>; - coresight-name = "coresight-tpiu"; - coresight-nr-inports = <1>; - - vdd-supply = <&pm8226_l18>; - - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <9000 800000>; - }; - - replicator: replicator@fc31c000 { - compatible = "qcom,coresight-replicator"; - reg = <0xfc31c000 0x1000>; - reg-names = "replicator-base"; - - coresight-id = <2>; - coresight-name = "coresight-replicator"; - coresight-nr-inports = <1>; - coresight-outports = <0 1>; - coresight-child-list = <&tmc_etr &tpiu>; - coresight-child-ports = <0 0>; - }; - - tmc_etf: tmc@fc307000 { - compatible = "arm,coresight-tmc"; - reg = <0xfc307000 0x1000>; - reg-names = "tmc-base"; - - coresight-id = <3>; - coresight-name = "coresight-tmc-etf"; - coresight-nr-inports = <1>; - coresight-outports = <0>; - coresight-child-list = <&replicator>; - coresight-child-ports = <0>; - coresight-default-sink; - coresight-ctis = <&cti0 &cti8>; - }; - - funnel_merg: funnel@fc31b000 { - compatible = "arm,coresight-funnel"; - reg = <0xfc31b000 0x1000>; - reg-names = "funnel-base"; - - coresight-id = <4>; - coresight-name = "coresight-funnel-merg"; - coresight-nr-inports = <2>; - coresight-outports = <0>; - coresight-child-list = <&tmc_etf>; - coresight-child-ports = <0>; - }; - - funnel_in0: funnel@fc319000 { - compatible = "arm,coresight-funnel"; - reg = <0xfc319000 0x1000>; - reg-names = "funnel-base"; - - coresight-id = <5>; - coresight-name = "coresight-funnel-in0"; - coresight-nr-inports = <8>; - coresight-outports = <0>; - coresight-child-list = <&funnel_merg>; - coresight-child-ports = <0>; - }; - - funnel_in1: funnel@fc31a000 { - compatible = "arm,coresight-funnel"; - reg = <0xfc31a000 0x1000>; - reg-names = "funnel-base"; - - coresight-id = <6>; - coresight-name = "coresight-funnel-in1"; - coresight-nr-inports = <8>; - coresight-outports = <0>; - coresight-child-list = <&funnel_merg>; - coresight-child-ports = <1>; - }; - - funnel_a7ss: funnel@fc345000 { - compatible = "arm,coresight-funnel"; - reg = <0xfc345000 0x1000>; - reg-names = "funnel-base"; - - coresight-id = <7>; - coresight-name = "coresight-funnel-a7ss"; - coresight-nr-inports = <4>; - coresight-outports = <0>; - coresight-child-list = <&funnel_in1>; - coresight-child-ports = <5>; - }; - - funnel_mmss: funnel@fc364000 { - compatible = "arm,coresight-funnel"; - reg = <0xfc364000 0x1000>; - reg-names = "funnel-base"; - - - coresight-id = <8>; - coresight-name = "coresight-funnel-mmss"; - coresight-nr-inports = <8>; - coresight-outports = <0>; - coresight-child-list = <&funnel_in1>; - coresight-child-ports = <1>; - }; - - stm: stm@fc321000 { - compatible = "arm,coresight-stm"; - reg = <0xfc321000 0x1000>, - <0xfa280000 0x180000>; - reg-names = "stm-base", "stm-data-base"; - - coresight-id = <9>; - coresight-name = "coresight-stm"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_in1>; - coresight-child-ports = <7>; - }; - - etm0: etm@fc33c000 { - compatible = "arm,coresight-etm"; - reg = <0xfc33c000 0x1000>; - reg-names = "etm-base"; - - coresight-id = <10>; - coresight-name = "coresight-etm0"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_a7ss>; - coresight-child-ports = <0>; - - qcom,round-robin; - }; - - etm1: etm@fc33d000 { - compatible = "arm,coresight-etm"; - reg = <0xfc33d000 0x1000>; - reg-names = "etm-base"; - - coresight-id = <11>; - coresight-name = "coresight-etm1"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_a7ss>; - coresight-child-ports = <1>; - - qcom,round-robin; - }; - - etm2: etm@fc33e000 { - compatible = "arm,coresight-etm"; - reg = <0xfc33e000 0x1000>; - reg-names = "etm-base"; - - coresight-id = <12>; - coresight-name = "coresight-etm2"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_a7ss>; - coresight-child-ports = <2>; - - qcom,round-robin; - }; - - etm3: etm@fc33f000 { - compatible = "arm,coresight-etm"; - reg = <0xfc33f000 0x1000>; - reg-names = "etm-base"; - - coresight-id = <13>; - coresight-name = "coresight-etm3"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_a7ss>; - coresight-child-ports = <3>; - - qcom,round-robin; - }; - - csr: csr@fc302000 { - compatible = "qcom,coresight-csr"; - reg = <0xfc302000 0x1000>; - reg-names = "csr-base"; - - coresight-id = <14>; - coresight-name = "coresight-csr"; - coresight-nr-inports = <0>; - - qcom,blk-size = <1>; - }; - - cti0: cti@fc308000 { - compatible = "arm,coresight-cti"; - reg = <0xfc308000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <15>; - coresight-name = "coresight-cti0"; - coresight-nr-inports = <0>; - }; - - cti1: cti@fc309000 { - compatible = "arm,coresight-cti"; - reg = <0xfc309000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <16>; - coresight-name = "coresight-cti1"; - coresight-nr-inports = <0>; - }; - - cti2: cti@fc30a000 { - compatible = "arm,coresight-cti"; - reg = <0xfc30a000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <17>; - coresight-name = "coresight-cti2"; - coresight-nr-inports = <0>; - }; - - cti3: cti@fc30b000 { - compatible = "arm,coresight-cti"; - reg = <0xfc30b000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <18>; - coresight-name = "coresight-cti3"; - coresight-nr-inports = <0>; - }; - - cti4: cti@fc30c000 { - compatible = "arm,coresight-cti"; - reg = <0xfc30c000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <19>; - coresight-name = "coresight-cti4"; - coresight-nr-inports = <0>; - }; - - cti5: cti@fc30d000 { - compatible = "arm,coresight-cti"; - reg = <0xfc30d000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <20>; - coresight-name = "coresight-cti5"; - coresight-nr-inports = <0>; - }; - - cti6: cti@fc30e000 { - compatible = "arm,coresight-cti"; - reg = <0xfc30e000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <21>; - coresight-name = "coresight-cti6"; - coresight-nr-inports = <0>; - }; - - cti7: cti@fc30f000 { - compatible = "arm,coresight-cti"; - reg = <0xfc30f000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <22>; - coresight-name = "coresight-cti7"; - coresight-nr-inports = <0>; - }; - - cti8: cti@fc310000 { - compatible = "arm,coresight-cti"; - reg = <0xfc310000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <23>; - coresight-name = "coresight-cti8"; - coresight-nr-inports = <0>; - }; - - cti_l2: cti@fc340000 { - compatible = "arm,coresight-cti"; - reg = <0xfc340000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <24>; - coresight-name = "coresight-cti-l2"; - coresight-nr-inports = <0>; - }; - - cti_cpu0: cti@fc341000 { - compatible = "arm,coresight-cti"; - reg = <0xfc341000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <25>; - coresight-name = "coresight-cti-cpu0"; - coresight-nr-inports = <0>; - }; - - cti_cpu1: cti@fc342000 { - compatible = "arm,coresight-cti"; - reg = <0xfc342000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <26>; - coresight-name = "coresight-cti-cpu1"; - coresight-nr-inports = <0>; - }; - - cti_cpu2: cti@fc343000 { - compatible = "arm,coresight-cti"; - reg = <0xfc343000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <27>; - coresight-name = "coresight-cti-cpu2"; - coresight-nr-inports = <0>; - }; - - cti_cpu3: cti@fc344000 { - compatible = "arm,coresight-cti"; - reg = <0xfc344000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <28>; - coresight-name = "coresight-cti-cpu3"; - coresight-nr-inports = <0>; - }; - - hwevent: hwevent@fd828018 { - compatible = "qcom,coresight-hwevent"; - reg = <0xfd828018 0x80>, - <0xf9011080 0x80>, - <0xfd4ab160 0x80>; - reg-names = "mmss-mux", "apcs-mux", "ppss-mux"; - - coresight-id = <29>; - coresight-name = "coresight-hwevent"; - coresight-nr-inports = <0>; - - qcom,hwevent-clks = "core_mmss_clk"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8226-fluid.dts b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8226-fluid.dts deleted file mode 100644 index c58b43b4b..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8226-fluid.dts +++ /dev/null @@ -1,33 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; -/include/ "msm8226.dtsi" - -/ { - model = "Qualcomm MSM 8226 FLUID"; - compatible = "qcom,msm8226-fluid", "qcom,msm8226", "qcom,fluid"; - qcom,msm-id = <145 3 0>, - <158 3 0>, - <159 3 0>, - <198 3 0>; -}; - -&soc { - serial@f991f000 { - status = "disabled"; - }; -}; - -&pm8226_bms { - status = "ok"; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8226-gpu.dtsi b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8226-gpu.dtsi deleted file mode 100644 index 590f73395..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8226-gpu.dtsi +++ /dev/null @@ -1,161 +0,0 @@ -/* Copyright (c) 2013, 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. - */ -&soc { - msm_gpu: qcom,kgsl-3d0@fdb00000 { - label = "kgsl-3d0"; - compatible = "qcom,kgsl-3d0", "qcom,kgsl-3d"; - reg = <0xfdb00000 0x10000 - 0xfdb20000 0x10000>; - reg-names = "kgsl_3d0_reg_memory" , "kgsl_3d0_shader_memory"; - interrupts = <0 33 0>; - interrupt-names = "kgsl_3d0_irq"; - qcom,id = <0>; - - qcom,chipid = <0x03000510>; - - qcom,initial-pwrlevel = <1>; - - qcom,idle-timeout = <8>; // - qcom,strtstp-sleepwake; - qcom,clk-map = <0x00000016>; /* KGSL_CLK_CORE | KGSL_CLK_IFACE | KGSL_CLK_MEM_IFACE */ - - /* Bus Scale Settings */ - qcom,msm-bus,name = "grp3d"; - qcom,msm-bus,num-cases = <4>; - qcom,msm-bus,num-paths = <2>; - qcom,msm-bus,vectors-KBps = - <26 512 0 0>, <89 604 0 0>, - <26 512 0 1600000>, <89 604 0 3200000>, - <26 512 0 3200000>, <89 604 0 5120000>, - <26 512 0 4256000>, <89 604 0 6400000>; - - - /* GDSC oxili regulators */ - vddcx-supply = "\0"; - vdd-supply = <&gdsc_oxili_cx>; - - - /* IOMMU Data */ - iommu = <&kgsl_iommu>; - - /* Power levels */ - qcom,gpu-pwrlevels { - #address-cells = <1>; - #size-cells = <0>; - - compatible = "qcom,gpu-pwrlevels"; - - qcom,gpu-pwrlevel@0 { - reg = <0>; - qcom,gpu-freq = <450000000>; - qcom,bus-freq = <3>; - qcom,io-fraction = <0>; - }; - - qcom,gpu-pwrlevel@1 { - reg = <1>; - qcom,gpu-freq = <320000000>; - qcom,bus-freq = <2>; - qcom,io-fraction = <33>; - }; - - qcom,gpu-pwrlevel@2 { - reg = <2>; - qcom,gpu-freq = <200000000>; - qcom,bus-freq = <1>; - qcom,io-fraction = <100>; - }; - - qcom,gpu-pwrlevel@3 { - reg = <3>; - qcom,gpu-freq = <19000000>; - qcom,bus-freq = <0>; - qcom,io-fraction = <0>; - }; - }; - - qcom,dcvs-core-info { - #address-cells = <1>; - #size-cells = <0>; - - compatible = "qcom,dcvs-core-info"; - - qcom,num-cores = <1>; - qcom,sensors = <0>; - - qcom,core-core-type = <1>; - - qcom,algo-disable-pc-threshold = <0>; - qcom,algo-em-win-size-min-us = <100000>; - qcom,algo-em-win-size-max-us = <300000>; - qcom,algo-em-max-util-pct = <97>; - qcom,algo-group-id = <95>; - qcom,algo-max-freq-chg-time-us = <100000>; - qcom,algo-slack-mode-dynamic = <100000>; - qcom,algo-slack-weight-thresh-pct = <0>; - qcom,algo-slack-time-min-us = <39000>; - qcom,algo-slack-time-max-us = <39000>; - qcom,algo-ss-win-size-min-us = <1000000>; - qcom,algo-ss-win-size-max-us = <1000000>; - qcom,algo-ss-util-pct = <95>; - qcom,algo-ss-no-corr-below-freq = <0>; - - qcom,energy-active-coeff-a = <2492>; - qcom,energy-active-coeff-b = <0>; - qcom,energy-active-coeff-c = <0>; - qcom,energy-leakage-coeff-a = <11>; - qcom,energy-leakage-coeff-b = <157150>; - qcom,energy-leakage-coeff-c = <0>; - qcom,energy-leakage-coeff-d = <0>; - - qcom,power-current-temp = <25>; - qcom,power-num-freq = <4>; - - qcom,dcvs-freq@0 { - reg = <0>; - qcom,freq = <0>; - qcom,voltage = <0>; - qcom,is_trans_level = <0>; - qcom,active-energy-offset = <100>; - qcom,leakage-energy-offset = <0>; - }; - - qcom,dcvs-freq@1 { - reg = <1>; - qcom,freq = <0>; - qcom,voltage = <0>; - qcom,is_trans_level = <0>; - qcom,active-energy-offset = <100>; - qcom,leakage-energy-offset = <0>; - }; - - qcom,dcvs-freq@2 { - reg = <2>; - qcom,freq = <0>; - qcom,voltage = <0>; - qcom,is_trans_level = <0>; - qcom,active-energy-offset = <100>; - qcom,leakage-energy-offset = <0>; - }; - - qcom,dcvs-freq@3 { - reg = <3>; - qcom,freq = <0>; - qcom,voltage = <0>; - qcom,is_trans_level = <0>; - qcom,active-energy-offset = <844545>; - qcom,leakage-energy-offset = <0>; - }; - }; - - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8226-iommu-domains.dtsi b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8226-iommu-domains.dtsi deleted file mode 100644 index 25fca2a54..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8226-iommu-domains.dtsi +++ /dev/null @@ -1,31 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -&soc { - qcom,iommu-domains { - compatible = "qcom,iommu-domains"; - - venus_domain_ns: qcom,iommu-domain1 { - label = "venus_ns"; - qcom,iommu-contexts = <&venus_ns>; - qcom,virtual-addr-pool = <0x40000000 0x3f000000 - 0x7f000000 0x1000000>; - }; - - venus_domain_cp: qcom,iommu-domain2 { - label = "venus_cp"; - qcom,iommu-contexts = <&venus_cp>; - qcom,virtual-addr-pool = <0x1000000 0x3f000000>; - qcom,secure-domain; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8226-iommu.dtsi b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8226-iommu.dtsi deleted file mode 100644 index ff3e0a59d..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8226-iommu.dtsi +++ /dev/null @@ -1,237 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/include/ "msm-iommu-v1.dtsi" - -&jpeg_iommu { - status = "ok"; - vdd-supply = <&gdsc_jpeg>; - qcom,iommu-enable-halt; - - qcom,iommu-bfb-regs = <0x204c - 0x2050 - 0x2514 - 0x2540 - 0x256c - 0x2314 - 0x2394 - 0x2414 - 0x20ac - 0x215c - 0x220c - 0x2008 - 0x200c - 0x2010 - 0x2014>; - - qcom,iommu-bfb-data = <0x0000ffff - 0x00000000 - 0x4 - 0x4 - 0x0 - 0x0 - 0x10 - 0x50 - 0x0 - 0x10 - 0x20 - 0x0 - 0x0 - 0x0 - 0x0>; -}; - -&mdp_iommu { - status = "ok"; - vdd-supply = <&gdsc_mdss>; - qcom,iommu-enable-halt; - - qcom,iommu-bfb-regs = <0x204c - 0x2050 - 0x2514 - 0x2540 - 0x256c - 0x20ac - 0x215c - 0x220c - 0x2314 - 0x2394 - 0x2414 - 0x2008 - 0x200c - 0x2010 - 0x2014 - 0x2018 - 0x201c - 0x2020>; - - qcom,iommu-bfb-data = <0xffffffff - 0x00000000 - 0x00000004 - 0x00000010 - 0x00000000 - 0x00000000 - 0x00000013 - 0x00000017 - 0x0 - 0x13 - 0x23 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0>; -}; - -&venus_iommu { - status = "ok"; - vdd-supply = <&gdsc_venus>; - qcom,iommu-enable-halt; - - qcom,iommu-bfb-regs = <0x204c - 0x2050 - 0x2514 - 0x2540 - 0x256c - 0x20ac - 0x215c - 0x220c - 0x2314 - 0x2394 - 0x2414 - 0x2008 - 0x200c - 0x2010 - 0x2014 - 0x2018 - 0x201c - 0x2020 - 0x2024 - 0x2028 - 0x202c - 0x2030 - 0x2034 - 0x2038>; - - qcom,iommu-bfb-data = <0xffffffff - 0xffffffff - 0x00000004 - 0x00000008 - 0x00000000 - 0x00000000 - 0x00000094 - 0x000000b4 - 0x0 - 0x94 - 0x114 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0>; -}; - -&venus_ns { - qcom,iommu-ctx-sids = <0 1 2 3 4 5 7>; -}; - -&venus_cp { - qcom,iommu-ctx-sids = <0x80 0x81 0x82 0x83 0x84>; -}; - -&kgsl_iommu { - status = "ok"; - vdd-supply = <&gdsc_oxili_cx>; - qcom,alt-vdd-supply = <&gdsc_oxili_gx>; - qcom,iommu-enable-halt; - qcom,needs-alt-core-clk; - - qcom,iommu-bfb-regs = <0x204c - 0x2050 - 0x2514 - 0x2540 - 0x256c - 0x20ac - 0x215c - 0x220c - 0x2314 - 0x2394 - 0x2414 - 0x2008>; - - qcom,iommu-bfb-data = <0x00000003 - 0x0 - 0x00000004 - 0x00000010 - 0x00000000 - 0x00000000 - 0x00000001 - 0x00000011 - 0x0 - 0x1 - 0x41 - 0x0>; -}; - -&vfe_iommu { - status = "ok"; - vdd-supply = <&gdsc_vfe>; - qcom,iommu-enable-halt; - - qcom,iommu-bfb-regs = <0x204c - 0x2050 - 0x2514 - 0x2540 - 0x256c - 0x2314 - 0x2394 - 0x2414 - 0x20ac - 0x215c - 0x220c - 0x2008 - 0x200c - 0x2010 - 0x2014 - 0x2018 - 0x201c - 0x2020>; - - qcom,iommu-bfb-data = <0xffffffff - 0x00000000 - 0x4 - 0x8 - 0x0 - 0x0 - 0x1b - 0x5b - 0x0 - 0x1b - 0x2b - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0>; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8226-ion.dtsi b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8226-ion.dtsi deleted file mode 100644 index dee64e538..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8226-ion.dtsi +++ /dev/null @@ -1,66 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&soc { - qcom,ion { - compatible = "qcom,msm-ion"; - #address-cells = <1>; - #size-cells = <0>; - - qcom,ion-heap@30 { /* SYSTEM HEAP */ - reg = <30>; - }; - - qcom,ion-heap@21 { /* SYSTEM CONTIG HEAP */ - reg = <21>; - }; - - qcom,ion-heap@8 { /* CP_MM HEAP */ - compatible = "qcom,msm-ion-reserve"; - reg = <8>; - qcom,heap-align = <0x1000>; - linux,contiguous-region = <&secure_mem>; - }; - - qcom,ion-heap@25 { /* IOMMU HEAP */ - reg = <25>; - }; - - qcom,ion-heap@27 { /* QSECOM HEAP */ - compatible = "qcom,msm-ion-reserve"; - reg = <27>; - linux,contiguous-region = <&qsecom_mem>; - }; - - qcom,ion-heap@28 { /* AUDIO HEAP */ - compatible = "qcom,msm-ion-reserve"; - reg = <28>; - qcom,heap-align = <0x1000>; - qcom,memory-reservation-type = "EBI1"; /* reserve EBI memory */ - qcom,memory-reservation-size = <0x314000>; - }; - qcom,ion-heap@23 { /* OTHER PIL HEAP */ - compatible = "qcom,msm-ion-reserve"; - reg = <23>; - qcom,heap-align = <0x1000>; - qcom,memory-fixed = <0x06400000 0x2000000>; - }; - qcom,ion-heap@26 { /* MODEM PIL HEAP */ - compatible = "qcom,msm-ion-reserve"; - reg = <26>; - qcom,heap-align = <0x1000>; - qcom,memory-fixed = <0x08400000 0x4E00000>; - - }; - - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8226-mdss.dtsi b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8226-mdss.dtsi deleted file mode 100644 index f58089709..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8226-mdss.dtsi +++ /dev/null @@ -1,80 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -&soc { - qcom,mdss_mdp@fd900000 { - compatible = "qcom,mdss_mdp"; - reg = <0xfd900000 0x22100>, - <0xfd924000 0x1000>; - reg-names = "mdp_phys", "vbif_phys"; - interrupts = <0 72 0>; - vdd-supply = <&gdsc_mdss>; - - qcom,max-clk-rate = <200000000>; - qcom,mdss-pipe-vig-off = <0x00001200>; - qcom,mdss-pipe-rgb-off = <0x00001E00>; - qcom,mdss-pipe-dma-off = <0x00002A00>; - qcom,mdss-pipe-vig-fetch-id = <1>; - qcom,mdss-pipe-rgb-fetch-id = <7>; - qcom,mdss-pipe-dma-fetch-id = <4>; - qcom,mdss-smp-data = <7 4096>; - - qcom,mdss-ctl-off = <0x00000600 0x00000700>; - qcom,mdss-mixer-intf-off = <0x00003200>; - qcom,mdss-mixer-wb-off = <0x00003E00>; - qcom,mdss-dspp-off = <0x00004600>; - qcom,mdss-pingpong-off = <0x00021B00>; - qcom,mdss-wb-off = <0x00011100 0x00013100>; - qcom,mdss-intf-off = <0x00000000 0x00021300>; - qcom,mdss-rot-block-size = <64>; - - qcom,vbif-settings = <0x004 0x00000001>, - <0x0D8 0x00000707>, - <0x124 0x00000003>; - qcom,mdp-settings = <0x02E0 0x000000A9>, - <0x02E4 0x00000055>; - - mdss_fb0: qcom,mdss_fb_primary { - cell-index = <0>; - compatible = "qcom,mdss-fb"; - qcom,memory-reservation-type = "EBI1"; - qcom,memory-reservation-size = <0x800000>; - }; - - mdss_fb1: qcom,mdss_fb_wfd { - cell-index = <1>; - compatible = "qcom,mdss-fb"; - }; - }; - - mdss_dsi0: qcom,mdss_dsi@fd922800 { - compatible = "qcom,mdss-dsi-ctrl"; - label = "MDSS DSI CTRL->0"; - cell-index = <0>; - reg = <0xfd922800 0x600>; - vdd-supply = <&pm8226_l15>; - vddio-supply = <&pm8226_l8>; - vdda-supply = <&pm8226_l4>; - qcom,supply-names = "vdd", "vddio", "vdda"; - qcom,supply-min-voltage-level = <2800000 1800000 1200000>; - qcom,supply-max-voltage-level = <2800000 1800000 1200000>; - qcom,supply-peak-current = <150000 100000 100000>; - qcom,mdss-fb-map = <&mdss_fb0>; - }; - - qcom,mdss_wb_panel { - compatible = "qcom,mdss_wb"; - qcom,mdss_pan_res = <1280 720>; - qcom,mdss_pan_bpp = <24>; - qcom,mdss-fb-map = <&mdss_fb1>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8226-mtp.dtsi b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8226-mtp.dtsi deleted file mode 100644 index bcd1c41d6..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8226-mtp.dtsi +++ /dev/null @@ -1,445 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/include/ "dsi-panel-nt35590-720p-video.dtsi" -/include/ "msm8226-camera-sensor-mtp.dtsi" - -&soc { - serial@f991f000 { - status = "ok"; - }; - - qcom,mdss_dsi_nt35590_720p_video { - status = "ok"; - }; - - i2c@f9927000 { /* BLSP1 QUP5 */ - synaptics@20 { - compatible = "synaptics,rmi4"; - reg = <0x20>; - interrupt-parent = <&msmgpio>; - interrupts = <17 0x2008>; - vdd-supply = <&pm8226_l19>; - vcc_i2c-supply = <&pm8226_lvs1>; - synaptics,reset-gpio = <&msmgpio 16 0x00>; - synaptics,irq-gpio = <&msmgpio 17 0x2008>; - synaptics,button-map = <139 102 158>; - synaptics,i2c-pull-up; - }; - }; - - gpio_keys { - compatible = "gpio-keys"; - input-name = "gpio-keys"; - - camera_focus { - label = "camera_focus"; - gpios = <&msmgpio 108 0x1>; - linux,input-type = <1>; - linux,code = <0x210>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - - camera_snapshot { - label = "camera_snapshot"; - gpios = <&msmgpio 107 0x1>; - linux,input-type = <1>; - linux,code = <0x2fe>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - - vol_up { - label = "volume_up"; - gpios = <&msmgpio 106 0x1>; - linux,input-type = <1>; - linux,code = <115>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - }; - - spi@f9923000 { - ethernet-switch@3 { - compatible = "micrel,ks8851"; - reg = <3>; - interrupt-parent = <&msmgpio>; - interrupts = <0 115 0>; - spi-max-frequency = <4800000>; - rst-gpio = <&msmgpio 114 0>; - vdd-io-supply = <&pm8226_lvs1>; - vdd-phy-supply = <&pm8226_lvs1>; - }; - }; - - sound { - qcom,audio-routing = - "RX_BIAS", "MCLK", - "LDO_H", "MCLK", - "SPK_OUT", "MCLK", - "SPK_OUT", "EXT_VDD_SPKR", - "AMIC1", "MIC BIAS1 External", - "MIC BIAS1 External", "Handset Mic", - "AMIC2", "MIC BIAS2 External", - "MIC BIAS2 External", "Headset Mic", - "AMIC3", "MIC BIAS1 External", - "MIC BIAS1 External", "ANCRight Headset Mic", - "AMIC4", "MIC BIAS2 External", - "MIC BIAS2 External", "ANCLeft Headset Mic"; - - qcom,cdc-mclk-gpios = <&pm8226_gpios 1 0>; - qcom,cdc-vdd-spkr-gpios = <&pm8226_gpios 2 0>; - }; -}; - -&usb_otg { - #address-cells = <0>; - interrupt-parent = <&usb_otg>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 134 0 - 1 &intc 0 140 0 - 2 &spmi_bus 0x0 0x0 0x9 0x0>; - interrupt-names = "core_irq", "async_irq", "pmic_id_irq"; - - qcom,hsusb-otg-mode = <3>; - vbus_otg-supply = <&usb_otg_sw>; -}; - -&sdcc1 { - vdd-supply = <&pm8226_l17>; - qcom,vdd-always-on; - qcom,vdd-lpm-sup; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <800 500000>; - - vdd-io-supply = <&pm8226_l6>; - qcom,vdd-io-always-on; - qcom,vdd-io-voltage-level = <1800000 1800000>; - qcom,vdd-io-current-level = <250 154000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - qcom,sup-voltages = <2950 2950>; - - qcom,bus-speed-mode = "HS200_1p8v", "DDR_1p8v"; - qcom,nonremovable; - - status = "disabled"; -}; - -&sdhc_1 { - vdd-supply = <&pm8226_l17>; - qcom,vdd-always-on; - qcom,vdd-lpm-sup; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <800 500000>; - - vdd-io-supply = <&pm8226_l6>; - qcom,vdd-io-always-on; - qcom,vdd-io-voltage-level = <1800000 1800000>; - qcom,vdd-io-current-level = <250 154000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - qcom,bus-speed-mode = "HS200_1p8v", "DDR_1p8v"; - qcom,nonremovable; - - status = "ok"; -}; - -&sdcc2 { - vdd-supply = <&pm8226_l18>; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <9000 800000>; - - vdd-io-supply = <&pm8226_l21>; - qcom,vdd-io-always-on; - qcom,vdd-io-lpm-sup; - qcom,vdd-io-voltage-level = <1800000 2950000>; - qcom,vdd-io-current-level = <6 22000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - qcom,sup-voltages = <2950 2950>; - - qcom,xpc; - qcom,bus-speed-mode = "SDR12", "SDR25", "SDR50", "DDR50", "SDR104"; - qcom,current-limit = <600>; #address-cells = <0>; interrupt-parent = <&sdcc2>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 125 0 - 1 &intc 0 220 0 - 2 &msmgpio 38 0x3>; - interrupt-names = "core_irq", "bam_irq", "status_irq"; - cd-gpios = <&msmgpio 38 0x1>; - - status = "disabled"; -}; - -&sdhc_2 { - vdd-supply = <&pm8226_l18>; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <9000 800000>; - - vdd-io-supply = <&pm8226_l21>; - qcom,vdd-io-always-on; - qcom,vdd-io-lpm-sup; - qcom,vdd-io-voltage-level = <1800000 2950000>; - qcom,vdd-io-current-level = <6 22000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - - #address-cells = <0>; - interrupt-parent = <&sdhc_2>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 125 0 - 1 &intc 0 221 0 - 2 &msmgpio 38 0x3>; - interrupt-names = "hc_irq", "pwr_irq", "status_irq"; - cd-gpios = <&msmgpio 38 0x1>; - - status = "ok"; -}; - -&spmi_bus { - qcom,pm8226@0 { - qcom,leds@a100 { - status = "okay"; - qcom,led_mpp_2 { - label = "mpp"; - linux,name = "button-backlight"; - linux,default-trigger = "none"; - qcom,default-state = "off"; - qcom,max-current = <40>; - qcom,current-setting = <5>; - qcom,id = <6>; - qcom,mode = "manual"; - qcom,source-sel = <1>; - qcom,mode-ctrl = <0x60>; - }; - }; - - qcom,leds@a300 { - status = "okay"; - qcom,led_mpp_4 { - label = "mpp"; - linux,name = "green"; - linux,default-trigger = "none"; - qcom,default-state = "off"; - qcom,max-current = <40>; - qcom,current-setting = <5>; - qcom,id = <6>; - qcom,mode = "pwm"; - qcom,pwm-us = <1000>; - qcom,source-sel = <8>; - qcom,mode-ctrl = <0x60>; - qcom,pwm-channel = <0>; - qcom,start-idx = <1>; - qcom,duty-pcts = [00 00 00 00 64 - 64 00 00 00 00]; - qcom,use-blink; - }; - }; - - qcom,leds@a500 { - status = "okay"; - qcom,led_mpp_6 { - label = "mpp"; - linux,name = "red"; - linux,default-trigger = "none"; - qcom,default-state = "off"; - qcom,max-current = <40>; - qcom,current-setting = <5>; - qcom,id = <6>; - qcom,mode = "pwm"; - qcom,pwm-us = <1000>; - qcom,mode-ctrl = <0x60>; - qcom,source-sel = <10>; - qcom,pwm-channel = <5>; - qcom,start-idx = <1>; - qcom,duty-pcts = [00 00 00 00 64 - 64 00 00 00 00]; - qcom,use-blink; - }; - }; - }; - - qcom,pm8226@1 { - qcom,leds@d300 { - status = "okay"; - }; - - qcom,leds@d800 { - status = "okay"; - qcom,wled_0 { - label = "wled"; - linux,name = "wled:backlight"; - linux,default-trigger = "bkl-trigger"; - qcom,cs-out-en; - qcom,op-fdbck = <1>; - qcom,default-state = "on"; - qcom,max-current = <20>; - qcom,ctrl-delay-us = <0>; - qcom,boost-curr-lim = <3>; - qcom,cp-sel = <0>; - qcom,switch-freq = <2>; - qcom,ovp-val = <0>; - qcom,num-strings = <1>; - qcom,id = <0>; - }; - }; - }; -}; - -&pm8226_gpios { - gpio@c000 { /* GPIO 1 */ - /* XO_PMIC_CDC_MCLK enable for tapan codec */ - qcom,mode = <1>; /* Digital output */ - qcom,output-type = <0>; /* CMOS logic */ - qcom,pull = <5>; /* QPNP_PIN_PULL_NO*/ - qcom,vin-sel = <3>; /* QPNP_PIN_VIN3 */ - qcom,out-strength = <3>;/* QPNP_PIN_OUT_STRENGTH_HIGH */ - qcom,src-sel = <2>; /* QPNP_PIN_SEL_FUNC_1 */ - qcom,master-en = <1>; /* Enable GPIO */ - }; - - gpio@c100 { /* GPIO 2 */ - qcom,mode = <1>; - qcom,output-type = <0>; - qcom,pull = <5>; - qcom,vin-sel = <3>; - qcom,out-strength = <3>; - qcom,src-sel = <2>; - qcom,master-en = <1>; - }; - - gpio@c200 { /* GPIO 3 */ - }; - - gpio@c300 { /* GPIO 4 */ - }; - - gpio@c400 { /* GPIO 5 */ - }; - - gpio@c500 { /* GPIO 6 */ - }; - - gpio@c600 { /* GPIO 7 */ - }; - - gpio@c700 { /* GPIO 8 */ - }; -}; - -&pm8226_mpps { - mpp@a000 { /* MPP 1 */ - }; - - mpp@a100 { /* MPP 2 */ - }; - - mpp@a200 { /* MPP 3 */ - }; - - mpp@a300 { /* MPP 4 */ - }; - - mpp@a400 { /* MPP 5 */ - /* PA_THERM0 config */ - qcom,mode = <4>; /* AIN input */ - qcom,invert = <1>; /* Enable MPP */ - qcom,ain-route = <0>; /* AMUX 5 */ - qcom,master-en = <1>; - qcom,src-sel = <0>; /* Function constant */ - }; - - mpp@a500 { /* MPP 6 */ - }; - - mpp@a600 { /* MPP 7 */ - }; - - mpp@a700 { /* MPP 8 */ - /* PA_THERM1 config */ - qcom,mode = <4>; /* AIN input */ - qcom,invert = <1>; /* Enable MPP */ - qcom,ain-route = <3>; /* AMUX 8 */ - qcom,master-en = <1>; - qcom,src-sel = <0>; /* Function constant */ - }; -}; - -&pm8226_vadc { - chan@14 { - label = "pa_therm0"; - reg = <0x14>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@17 { - label = "pa_therm1"; - reg = <0x17>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; -}; - -&pm8226_bms { - status = "ok"; -}; - -&pm8226_chg { - qcom,charging-disabled; -}; - -&usb_otg_sw { - status = "okay"; -}; - -&slim_msm { - tapan_codec { - qcom,cdc-micbias1-ext-cap; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8226-pm.dtsi b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8226-pm.dtsi deleted file mode 100644 index 3240efb75..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8226-pm.dtsi +++ /dev/null @@ -1,389 +0,0 @@ -/* Copyright (c) 2013 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. - */ - -/include/ "skeleton.dtsi" - -&soc { - qcom,spm@f9089000 { - compatible = "qcom,spm-v2"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xf9089000 0x1000>; - qcom,core-id = <0>; - qcom,saw2-ver-reg = <0xfd0>; - qcom,saw2-cfg = <0x01>; - qcom,saw2-spm-dly= <0x3c102800>; - qcom,saw2-spm-ctl = <0x0>; - qcom,saw2-spm-cmd-wfi = [60 03 60 0b 0f]; - qcom,saw2-spm-cmd-spc = [00 20 10 80 30 90 5b 60 03 60 3b 76 76 - 0b 94 5b 80 10 06 26 30 0f]; - qcom,saw2-spm-cmd-pc = [00 20 10 80 30 90 5b 60 07 60 3b 76 76 - 0b 94 5b 80 10 06 26 30 0f]; - }; - - qcom,spm@f9099000 { - compatible = "qcom,spm-v2"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xf9099000 0x1000>; - qcom,core-id = <1>; - qcom,saw2-ver-reg = <0xfd0>; - qcom,saw2-cfg = <0x01>; - qcom,saw2-spm-dly= <0x3c102800>; - qcom,saw2-spm-ctl = <0x0>; - qcom,saw2-spm-cmd-wfi = [60 03 60 0b 0f]; - qcom,saw2-spm-cmd-spc = [00 20 10 80 30 90 5b 60 03 60 3b 76 76 - 0b 94 5b 80 10 06 26 30 0f]; - qcom,saw2-spm-cmd-pc = [00 20 10 80 30 90 5b 60 07 60 3b 76 76 - 0b 94 5b 80 10 06 26 30 0f]; - }; - - qcom,spm@f90a9000 { - compatible = "qcom,spm-v2"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xf90a9000 0x1000>; - qcom,core-id = <2>; - qcom,saw2-ver-reg = <0xfd0>; - qcom,saw2-cfg = <0x01>; - qcom,saw2-spm-dly= <0x3c102800>; - qcom,saw2-spm-ctl = <0x0>; - qcom,saw2-spm-cmd-wfi = [60 03 60 0b 0f]; - qcom,saw2-spm-cmd-spc = [00 20 10 80 30 90 5b 60 03 60 3b 76 76 - 0b 94 5b 80 10 06 26 30 0f]; - qcom,saw2-spm-cmd-pc = [00 20 10 80 30 90 5b 60 07 60 3b 76 76 - 0b 94 5b 80 10 06 26 30 0f]; - }; - - qcom,spm@f90b9000 { - compatible = "qcom,spm-v2"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xf90b9000 0x1000>; - qcom,core-id = <3>; - qcom,saw2-ver-reg = <0xfd0>; - qcom,saw2-cfg = <0x01>; - qcom,saw2-spm-dly= <0x3c102800>; - qcom,saw2-spm-ctl = <0x0>; - qcom,saw2-spm-cmd-wfi = [60 03 60 0b 0f]; - qcom,saw2-spm-cmd-spc = [00 20 10 80 30 90 5b 60 03 60 3b 76 76 - 0b 94 5b 80 10 06 26 30 0f]; - qcom,saw2-spm-cmd-pc = [00 20 10 80 30 90 5b 60 07 60 3b 76 76 - 0b 94 5b 80 10 06 26 30 0f]; - }; - - qcom,spm@f9012000 { - compatible = "qcom,spm-v2"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xf9012000 0x1000>; - qcom,core-id = <0xffff>; /* L2/APCS SAW */ - qcom,saw2-ver-reg = <0xfd0>; - qcom,saw2-cfg = <0x14>; - qcom,saw2-spm-dly= <0x3c102800>; - qcom,saw2-spm-ctl = <0x0>; - qcom,saw2-pmic-data0 = <0x02030080>; - qcom,saw2-pmic-data1 = <0x00030000>; - qcom,vctl-timeout-us = <50>; - qcom,vctl-port = <0x0>; - qcom,phase-port = <0x1>; - qcom,pfm-port = <0x2>; - qcom,saw2-spm-cmd-ret = [00 03 00 7b 0f]; - qcom,saw2-spm-cmd-pc = [00 32 b0 10 e0 d0 6b c0 42 f0 - 11 07 01 b0 4e c0 d0 12 e0 6b 50 02 32 - 50 f0 7b 0f]; /*APCS_PMIC_OFF_L2RAM_OFF*/ - }; - - qcom,lpm-resources { - compatible = "qcom,lpm-resources"; - #address-cells = <1>; - #size-cells = <0>; - - qcom,lpm-resources@0 { - reg = <0x0>; - qcom,name = "vdd-dig"; - qcom,type = <0x61706d73>; /* "smpa" */ - qcom,id = <0x01>; - qcom,key = <0x6e726f63>; /* "corn" */ - qcom,init-value = <3>; /* SVS SOC */ - }; - - qcom,lpm-resources@1 { - reg = <0x1>; - qcom,name = "vdd-mem"; - qcom,type = <0x616F646C>; /* "ldoa" */ - qcom,id = <0x03>; - qcom,key = <0x6e726f63>; /* "corn" */ - qcom,init-value = <3>; /* SVS SOC */ - }; - - qcom,lpm-resources@2 { - reg = <0x2>; - qcom,name = "pxo"; - qcom,type = <0x306b6c63>; /* "clk0" */ - qcom,id = <0x00>; - qcom,key = <0x62616e45>; /* "Enab" */ - qcom,init-value = "xo_on"; - }; - - qcom,lpm-resources@3 { - reg = <0x3>; - qcom,name = "l2"; - qcom,local-resource-type; - qcom,init-value = "l2_cache_retention"; - }; - }; - - qcom,lpm-levels { - compatible = "qcom,lpm-levels"; - #address-cells = <1>; - #size-cells = <0>; - - qcom,lpm-level@0 { - reg = <0x0>; - qcom,mode = "wfi"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_active"; - qcom,vdd-mem-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <4>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <1>; - qcom,ss-power = <784>; - qcom,energy-overhead = <190000>; - qcom,time-overhead = <100>; - }; - - qcom,lpm-level@1 { - reg = <0x1>; - qcom,mode = "standalone_pc"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_active"; - qcom,vdd-mem-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <4>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <3000>; - qcom,ss-power = <725>; - qcom,energy-overhead = <99500>; - qcom,time-overhead = <3130>; - }; - - qcom,lpm-level@2 { - reg = <0x2>; - qcom,mode = "pc"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_retention"; - qcom,vdd-mem-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <4>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <8000>; - qcom,ss-power = <138>; - qcom,energy-overhead = <1208400>; - qcom,time-overhead = <9200>; - }; - - qcom,lpm-level@3 { - reg = <0x3>; - qcom,mode = "pc"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_pc"; - qcom,vdd-mem-upper-bound = <4>; /* NORMAL */ - qcom,vdd-mem-lower-bound = <3>; /* SVS SOC */ - qcom,vdd-dig-upper-bound = <4>; /* NORMAL */ - qcom,vdd-dig-lower-bound = <3>; /* SVS SOC */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <9000>; - qcom,ss-power = <110>; - qcom,energy-overhead = <1250300>; - qcom,time-overhead = <9500>; - }; - - qcom,lpm-level@4 { - reg = <0x4>; - qcom,mode = "pc"; - qcom,xo = "xo_off"; - qcom,l2 = "l2_cache_pc"; - qcom,vdd-mem-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <4>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,latency-us = <16300>; - qcom,ss-power = <63>; - qcom,energy-overhead = <2128000>; - qcom,time-overhead = <24200>; - }; - - qcom,lpm-level@5 { - reg = <0x5>; - qcom,mode = "pc"; - qcom,xo = "xo_off"; - qcom,l2 = "l2_cache_pc"; - qcom,vdd-mem-upper-bound = <4>; /* NORMAL */ - qcom,vdd-mem-lower-bound = <3>; /* SVS SOC */ - qcom,vdd-dig-upper-bound = <4>; /* NORMAL */ - qcom,vdd-dig-lower-bound = <3>; /* SVS SOC */ - qcom,latency-us = <24000>; - qcom,ss-power = <10>; - qcom,energy-overhead = <3202600>; - qcom,time-overhead = <33000>; - }; - - qcom,lpm-level@6 { - reg = <0x6>; - qcom,mode = "pc"; - qcom,xo = "xo_off"; - qcom,l2 = "l2_cache_pc"; - qcom,vdd-mem-upper-bound = <3>; /* SVS SOC */ - qcom,vdd-mem-lower-bound = <1>; /* RETENTION */ - qcom,vdd-dig-upper-bound = <3>; /* SVS SOC */ - qcom,vdd-dig-lower-bound = <1>; /* RETENTION */ - qcom,latency-us = <26000>; - qcom,ss-power = <2>; - qcom,energy-overhead = <4252000>; - qcom,time-overhead = <38000>; - }; - }; - - qcom,pm-boot { - compatible = "qcom,pm-boot"; - qcom,mode = "tz"; - }; - - qcom,mpm@fc4281d0 { - compatible = "qcom,mpm-v2"; - reg = <0xfc4281d0 0x1000>, /* MSM_RPM_MPM_BASE 4K */ - <0xf9011008 0x4>; /* MSM_APCS_GCC_BASE 4K */ - reg-names = "vmpm", "ipc"; - interrupts = <0 171 1>; - - qcom,ipc-bit-offset = <1>; - - qcom,gic-parent = <&intc>; - qcom,gic-map = <47 172>, /* usb2_hsic_async_wakeup_irq */ - <53 104>, /* mdss_irq */ - <62 222>, /* ee0_krait_hlos_spmi_periph_irq */ - <2 216>, /* tsens_upper_lower_int */ - <0xff 56>, /* q6_wdog_expired_irq */ - <0xff 57>, /* mss_to_apps_irq(0) */ - <0xff 58>, /* mss_to_apps_irq(1) */ - <0xff 59>, /* mss_to_apps_irq(2) */ - <0xff 60>, /* mss_to_apps_irq(3) */ - <0xff 61>, /* mss_a2_bam_irq */ - <0xff 173>, /* o_wcss_apss_smd_hi */ - <0xff 174>, /* o_wcss_apss_smd_med */ - <0xff 175>, /* o_wcss_apss_smd_low */ - <0xff 176>, /* o_wcss_apss_smsm_irq */ - <0xff 177>, /* o_wcss_apss_wlan_data_xfer_done */ - <0xff 178>, /* o_wcss_apss_wlan_rx_data_avail */ - <0xff 179>, /* o_wcss_apss_asic_intr - <0xff 181>, /* o_wcss_apss_wdog_bite_and_reset_rdy */ - <0xff 188>, /* lpass_irq_out_apcs(0) */ - <0xff 189>, /* lpass_irq_out_apcs(1) */ - <0xff 190>, /* lpass_irq_out_apcs(2) */ - <0xff 191>, /* lpass_irq_out_apcs(3) */ - <0xff 192>, /* lpass_irq_out_apcs(4) */ - <0xff 194>, /* lpass_irq_out_apcs[6] */ - <0xff 195>, /* lpass_irq_out_apcs[7] */ - <0xff 196>, /* lpass_irq_out_apcs[8] */ - <0xff 200>, /* rpm_ipc(4) */ - <0xff 201>, /* rpm_ipc(5) */ - <0xff 202>, /* rpm_ipc(6) */ - <0xff 203>, /* rpm_ipc(7) */ - <0xff 204>, /* rpm_ipc(24) */ - <0xff 205>, /* rpm_ipc(25) */ - <0xff 206>, /* rpm_ipc(26) */ - <0xff 207>, /* rpm_ipc(27) */ - <0xff 258>, /* rpm_ipc(28) */ - <0xff 259>, /* rpm_ipc(29) */ - <0xff 275>, /* rpm_ipc(30) */ - <0xff 276>, /* rpm_ipc(31) */ - <0xff 269>, /* rpm_wdog_expired_irq */ - <0xff 240>; /* summary_irq_kpss */ - - qcom,gpio-parent = <&msmgpio>; - qcom,gpio-map = <3 1>, - <4 4 >, - <5 5 >, - <6 9 >, - <7 13>, - <8 17>, - <9 21>, - <10 27>, - <11 29>, - <12 31>, - <13 33>, - <14 35>, - <15 37>, - <16 38>, - <17 39>, - <18 41>, - <19 46>, - <20 48>, - <21 49>, - <22 50>, - <23 51>, - <24 52>, - <25 54>, - <26 62>, - <27 63>, - <28 64>, - <29 65>, - <30 66>, - <31 67>, - <32 68>, - <33 69>, - <34 71>, - <35 72>, - <36 106>, - <37 107>, - <38 108>, - <39 109>, - <40 110>, - <54 111>, - <55 113>; - }; - - qcom,pm-8x60@fe805664 { - compatible = "qcom,pm-8x60"; - reg = <0xfe805664 0x40>; - qcom,pc-mode = "tz_l2_int"; - qcom,use-sync-timer; - qcom,pc-resets-timer; - }; - - qcom,rpm-log@fc19dc00 { - compatible = "qcom,rpm-log"; - reg = <0xfc19dc00 0x4000>; - qcom,rpm-addr-phys = <0xfc000000>; - qcom,offset-version = <4>; - qcom,offset-page-buffer-addr = <36>; - qcom,offset-log-len = <40>; - qcom,offset-log-len-mask = <44>; - qcom,offset-page-indices = <56>; - }; - - qcom,rpm-stats@fc19dba0 { - compatible = "qcom,rpm-stats"; - reg = <0xfc19dba0 0x1000>; - reg-names = "phys_addr_base"; - qcom,sleep-stats-version = <2>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8226-qrd.dtsi b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8226-qrd.dtsi deleted file mode 100644 index fc9d9f9b9..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8226-qrd.dtsi +++ /dev/null @@ -1,406 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/include/ "dsi-panel-nt35590-720p-video.dtsi" -/include/ "msm8226-camera-sensor-qrd.dtsi" - -&soc { - serial@f991f000 { - status = "ok"; - }; - - qcom,mdss_dsi_nt35590_720p_video { - status = "ok"; - }; - - i2c@f9927000 { /* BLSP1 QUP5 */ - synaptics@20 { - compatible = "synaptics,rmi4"; - reg = <0x20>; - interrupt-parent = <&msmgpio>; - interrupts = <17 0x2008>; - vdd-supply = <&pm8226_l19>; - vcc_i2c-supply = <&pm8226_lvs1>; - synaptics,reset-gpio = <&msmgpio 16 0x00>; - synaptics,irq-gpio = <&msmgpio 17 0x2008>; - synaptics,button-map = <139 102 158>; - synaptics,i2c-pull-up; - }; - }; - - gpio_keys { - compatible = "gpio-keys"; - input-name = "gpio-keys"; - - camera_focus { - label = "camera_focus"; - gpios = <&msmgpio 108 0x1>; - linux,input-type = <1>; - linux,code = <0x210>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - - camera_snapshot { - label = "camera_snapshot"; - gpios = <&msmgpio 107 0x1>; - linux,input-type = <1>; - linux,code = <0x2fe>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - - vol_up { - label = "volume_up"; - gpios = <&msmgpio 106 0x1>; - linux,input-type = <1>; - linux,code = <115>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - }; - - spi@f9923000 { - ethernet-switch@3 { - compatible = "micrel,ks8851"; - reg = <3>; - interrupt-parent = <&msmgpio>; - interrupts = <0 115 0>; - spi-max-frequency = <4800000>; - rst-gpio = <&msmgpio 114 0>; - vdd-io-supply = <&pm8226_lvs1>; - vdd-phy-supply = <&pm8226_lvs1>; - }; - }; - - sound { - qcom,audio-routing = - "RX_BIAS", "MCLK", - "LDO_H", "MCLK", - "SPK_OUT", "MCLK", - "SPK_OUT", "EXT_VDD_SPKR", - "AMIC1", "MIC BIAS1 External", - "MIC BIAS1 External", "Handset Mic", - "AMIC2", "MIC BIAS2 External", - "MIC BIAS2 External", "Headset Mic", - "AMIC3", "MIC BIAS1 External", - "MIC BIAS1 External", "ANCRight Headset Mic", - "AMIC4", "MIC BIAS2 External", - "MIC BIAS2 External", "ANCLeft Headset Mic"; - - qcom,cdc-mclk-gpios = <&pm8226_gpios 1 0>; - qcom,cdc-vdd-spkr-gpios = <&pm8226_gpios 2 0>; - qcom,cdc-us-euro-gpios = <&msmgpio 69 0>; - }; -}; - -&sdcc1 { - vdd-supply = <&pm8226_l17>; - qcom,vdd-always-on; - qcom,vdd-lpm-sup; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <800 500000>; - - vdd-io-supply = <&pm8226_l6>; - qcom,vdd-io-always-on; - qcom,vdd-io-voltage-level = <1800000 1800000>; - qcom,vdd-io-current-level = <250 154000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - qcom,sup-voltages = <2950 2950>; - - qcom,bus-speed-mode = "HS200_1p8v", "DDR_1p8v"; - qcom,nonremovable; - - status = "disabled"; -}; - -&sdhc_1 { - vdd-supply = <&pm8226_l17>; - qcom,vdd-always-on; - qcom,vdd-lpm-sup; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <800 500000>; - - vdd-io-supply = <&pm8226_l6>; - qcom,vdd-io-always-on; - qcom,vdd-io-voltage-level = <1800000 1800000>; - qcom,vdd-io-current-level = <250 154000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - qcom,bus-speed-mode = "HS200_1p8v", "DDR_1p8v"; - qcom,nonremovable; - - status = "ok"; -}; - -&sdcc2 { - vdd-supply = <&pm8226_l18>; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <9000 800000>; - - vdd-io-supply = <&pm8226_l21>; - qcom,vdd-io-always-on; - qcom,vdd-io-lpm-sup; - qcom,vdd-io-voltage-level = <1800000 2950000>; - qcom,vdd-io-current-level = <6 22000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - qcom,sup-voltages = <2950 2950>; - - qcom,xpc; - qcom,bus-speed-mode = "SDR12", "SDR25", "SDR50", "DDR50", "SDR104"; - qcom,current-limit = <600>; - - #address-cells = <0>; - interrupt-parent = <&sdcc2>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 125 0 - 1 &intc 0 220 0 - 2 &msmgpio 38 0x3>; - interrupt-names = "core_irq", "bam_irq", "status_irq"; - cd-gpios = <&msmgpio 38 0x1>; - - status = "disabled"; -}; - -&sdhc_2 { - vdd-supply = <&pm8226_l18>; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <9000 800000>; - - vdd-io-supply = <&pm8226_l21>; - qcom,vdd-io-always-on; - qcom,vdd-io-lpm-sup; - qcom,vdd-io-voltage-level = <1800000 2950000>; - qcom,vdd-io-current-level = <6 22000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - - #address-cells = <0>; - interrupt-parent = <&sdhc_2>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 125 0 - 1 &intc 0 221 0 - 2 &msmgpio 38 0x3>; - interrupt-names = "hc_irq", "pwr_irq", "status_irq"; - cd-gpios = <&msmgpio 38 0x1>; - - status = "ok"; -}; - -&spmi_bus { - qcom,pm8226@0 { - qcom,leds@a100 { - status = "okay"; - qcom,led_mpp_2 { - label = "mpp"; - linux,name = "button-backlight"; - linux,default-trigger = "none"; - qcom,default-state = "off"; - qcom,max-current = <40>; - qcom,current-setting = <5>; - qcom,id = <6>; - qcom,mode = "manual"; - qcom,source-sel = <1>; - qcom,mode-ctrl = <0x60>; - }; - }; - - qcom,leds@a300 { - status = "okay"; - qcom,led_mpp_4 { - label = "mpp"; - linux,name = "green"; - linux,default-trigger = "none"; - qcom,default-state = "off"; - qcom,max-current = <40>; - qcom,current-setting = <5>; - qcom,id = <6>; - qcom,mode = "pwm"; - qcom,pwm-us = <1000>; - qcom,source-sel = <8>; - qcom,mode-ctrl = <0x60>; - qcom,pwm-channel = <0>; - qcom,start-idx = <1>; - qcom,duty-pcts = [00 00 00 00 64 - 64 00 00 00 00]; - qcom,use-blink; - }; - }; - - qcom,leds@a500 { - status = "okay"; - qcom,led_mpp_6 { - label = "mpp"; - linux,name = "red"; - linux,default-trigger = "none"; - qcom,default-state = "off"; - qcom,max-current = <40>; - qcom,current-setting = <5>; - qcom,id = <6>; - qcom,mode = "pwm"; - qcom,pwm-us = <1000>; - qcom,mode-ctrl = <0x60>; - qcom,source-sel = <10>; - qcom,pwm-channel = <5>; - qcom,start-idx = <1>; - qcom,duty-pcts = [00 00 00 00 64 - 64 00 00 00 00]; - qcom,use-blink; - }; - }; - }; - - qcom,pm8226@1 { - qcom,leds@d300 { - status = "okay"; - }; - - qcom,leds@d800 { - status = "okay"; - qcom,wled_0 { - label = "wled"; - linux,name = "wled:backlight"; - linux,default-trigger = "bkl-trigger"; - qcom,cs-out-en; - qcom,op-fdbck = <1>; - qcom,default-state = "on"; - qcom,max-current = <20>; - qcom,ctrl-delay-us = <0>; - qcom,boost-curr-lim = <3>; - qcom,cp-sel = <0>; - qcom,switch-freq = <2>; - qcom,ovp-val = <0>; - qcom,num-strings = <1>; - qcom,id = <0>; - }; - }; - - qcom,vibrator@c000 { - status = "okay"; - qcom,vib-timeout-ms = <15000>; - qcom,vib-vtg-level-mV = <3100>; - }; - - }; -}; - -&pm8226_bms { - status = "okay"; - qcom,batt-type = <4>; - qcom,max-voltage-uv = <4350000>; -}; - -&pm8226_chg { - status = "okay"; - qcom,chg-vddmax-mv = <4350>; - qcom,chg-vddsafe-mv = <4350>; -}; - -&pm8226_gpios { - gpio@c000 { /* GPIO 1 */ - /* XO_PMIC_CDC_MCLK enable for tapan codec */ - qcom,mode = <1>; /* Digital output */ - qcom,output-type = <0>; /* CMOS logic */ - qcom,pull = <5>; /* QPNP_PIN_PULL_NO*/ - qcom,vin-sel = <3>; /* QPNP_PIN_VIN3 */ - qcom,out-strength = <3>;/* QPNP_PIN_OUT_STRENGTH_HIGH */ - qcom,src-sel = <2>; /* QPNP_PIN_SEL_FUNC_1 */ - qcom,master-en = <1>; /* Enable GPIO */ - }; - - gpio@c100 { /* GPIO 2 */ - qcom,mode = <1>; - qcom,output-type = <0>; - qcom,pull = <5>; - qcom,vin-sel = <3>; - qcom,out-strength = <3>; - qcom,src-sel = <2>; - qcom,master-en = <1>; - }; - - gpio@c200 { /* GPIO 3 */ - }; - - gpio@c300 { /* GPIO 4 */ - }; - - gpio@c400 { /* GPIO 5 */ - }; - - gpio@c500 { /* GPIO 6 */ - }; - - gpio@c600 { /* GPIO 7 */ - }; - - gpio@c700 { /* GPIO 8 */ - }; -}; - -&pm8226_mpps { - mpp@a000 { /* MPP 1 */ - }; - - mpp@a100 { /* MPP 2 */ - }; - - mpp@a200 { /* MPP 3 */ - }; - - mpp@a300 { /* MPP 4 */ - }; - - mpp@a400 { /* MPP 5 */ - }; - - mpp@a500 { /* MPP 6 */ - }; - - mpp@a600 { /* MPP 7 */ - }; - - mpp@a700 { /* MPP 8 */ - }; -}; - -&slim_msm { - tapan_codec { - qcom,cdc-micbias1-ext-cap; - }; - -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8226-regulator.dtsi b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8226-regulator.dtsi deleted file mode 100644 index 3254d17c8..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8226-regulator.dtsi +++ /dev/null @@ -1,460 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/* SPM controlled regulators: */ - -&spmi_bus { - qcom,pm8226@1 { - pm8226_s2: spm-regulator@1700 { - compatible = "qcom,spm-regulator"; - regulator-name = "8226_s2"; - reg = <0x1700 0x100>; - regulator-min-microvolt = <900000>; - regulator-max-microvolt = <1275000>; - }; - }; -}; - -/* CPR controlled regulator */ - -&soc { - apc_vreg_corner: regulator@f9018000 { - status = "okay"; - compatible = "qcom,cpr-regulator"; - reg = <0xf9018000 0x1000>, <0xf9011064 4>, <0xfc4b80b0 8>, - <0xfc4bc450 16>; - reg-names = "rbcpr", "rbcpr_clk", "pvs_efuse", "cpr_efuse"; - interrupts = <0 15 0>; - regulator-name = "apc_corner"; - regulator-min-microvolt = <1>; - regulator-max-microvolt = <3>; - qcom,num-efuse-bits = <5>; - qcom,pvs-bin-process = <0 0 0 0 0 1 1 1 1 1 2 2 2 2 2 2 - 2 2 2 2 3 3 3 3 3 3 3 3 0 0 0 0>; - qcom,pvs-corner-ceiling-slow = <1155000 1160000 1275000>; - qcom,pvs-corner-ceiling-nom = <975000 1075000 1200000>; - qcom,pvs-corner-ceiling-fast = <900000 1000000 1140000>; - vdd-apc-supply = <&pm8226_s2>; - - vdd-mx-supply = <&pm8226_l3_ao>; - qcom,vdd-mx-vmax = <1350000>; - qcom,vdd-mx-vmin-method = <1>; - - qcom,cpr-ref-clk = <19200>; - qcom,cpr-timer-delay = <5000>; - qcom,cpr-timer-cons-up = <1>; - qcom,cpr-timer-cons-down = <2>; - qcom,cpr-irq-line = <0>; - qcom,cpr-step-quotient = <15>; - qcom,cpr-up-threshold = <1>; - qcom,cpr-down-threshold = <2>; - qcom,cpr-idle-clocks = <5>; - qcom,cpr-gcnt-time = <1>; - qcom,vdd-apc-step-up-limit = <1>; - qcom,vdd-apc-step-down-limit = <1>; - qcom,cpr-apc-volt-step = <5000>; - }; -}; - -/* RPM controlled regulators: */ - -&rpm_bus { - rpm-regulator-smpa1 { - status = "okay"; - pm8226_s1: regulator-s1 { - regulator-min-microvolt = <500000>; - regulator-max-microvolt = <1275000>; - status = "okay"; - }; - pm8226_s1_corner: regulator-s1-corner { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_s1_corner"; - qcom,set = <3>; - regulator-min-microvolt = <1>; - regulator-max-microvolt = <7>; - qcom,use-voltage-corner; - qcom,consumer-supplies = "vdd_dig", ""; - }; - pm8226_s1_corner_ao: regulator-s1-corner-ao { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_s1_corner_ao"; - qcom,set = <1>; - regulator-min-microvolt = <1>; - regulator-max-microvolt = <7>; - qcom,use-voltage-corner; - qcom,consumer-supplies = "vdd_sr2_dig", ""; - }; - }; - - rpm-regulator-smpa3 { - status = "okay"; - pm8226_s3: regulator-s3 { - regulator-min-microvolt = <1200000>; - regulator-max-microvolt = <1300000>; - qcom,init-voltage = <1200000>; - status = "okay"; - }; - }; - - rpm-regulator-smpa4 { - status = "okay"; - pm8226_s4: regulator-s4 { - regulator-min-microvolt = <2100000>; - regulator-max-microvolt = <2100000>; - qcom,init-voltage = <2100000>; - status = "okay"; - }; - }; - - rpm-regulator-smpa5 { - status = "okay"; - pm8226_s5: regulator-s5 { - regulator-min-microvolt = <1150000>; - regulator-max-microvolt = <1150000>; - qcom,init-voltage = <1150000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa1 { - status = "okay"; - pm8226_l1: regulator-l1 { - regulator-name = "8226_l1"; - regulator-min-microvolt = <1225000>; - regulator-max-microvolt = <1225000>; - qcom,init-voltage = <1225000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa2 { - status = "okay"; - pm8226_l2: regulator-l2 { - regulator-min-microvolt = <1200000>; - regulator-max-microvolt = <1200000>; - qcom,init-voltage = <1200000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa3 { - status = "okay"; - pm8226_l3: regulator-l3 { - regulator-name = "8226_l3"; - regulator-min-microvolt = <750000>; - regulator-max-microvolt = <1275000>; - status = "okay"; - }; - pm8226_l3_ao: regulator-3-ao { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l3_ao"; - qcom,set = <1>; - regulator-min-microvolt = <750000>; - regulator-max-microvolt = <1275000>; - status = "okay"; - }; - pm8226_l3_so: regulator-l3-so { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l3_so"; - qcom,set = <2>; - regulator-min-microvolt = <750000>; - regulator-max-microvolt = <1275000>; - qcom,init-voltage = <750000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa4 { - status = "okay"; - pm8226_l4: regulator-l4 { - regulator-name = "8226_l4"; - regulator-min-microvolt = <1200000>; - regulator-max-microvolt = <1200000>; - qcom,init-voltage = <1200000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa5 { - status = "okay"; - pm8226_l5: regulator-l5 { - regulator-name = "8226_l5"; - regulator-min-microvolt = <1200000>; - regulator-max-microvolt = <1200000>; - qcom,init-voltage = <1200000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa6 { - status = "okay"; - pm8226_l6: regulator-l6 { - regulator-name = "8226_l6"; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa7 { - status = "okay"; - pm8226_l7: regulator-l7 { - regulator-name = "8226_l7"; - regulator-min-microvolt = <1850000>; - regulator-max-microvolt = <1850000>; - qcom,init-voltage = <1850000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa8 { - status = "okay"; - pm8226_l8: regulator-l8 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - status = "okay"; - }; - - pm8226_l8_ao: regulator-l8-ao { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l8_ao"; - qcom,set = <1>; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - qcom,consumer-supplies = "vdd_sr2_pll", ""; - }; - - pm8226_l8_so: regulator-l8-so { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l8_so"; - qcom,set = <2>; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - qcom,init-enable = <0>; - }; - }; - - rpm-regulator-ldoa9 { - status = "okay"; - pm8226_l9: regulator-l9 { - regulator-name = "8226_l9"; - regulator-min-microvolt = <2050000>; - regulator-max-microvolt = <2050000>; - qcom,init-voltage = <2050000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa10 { - status = "okay"; - pm8226_l10: regulator-l10 { - regulator-name = "8226_l10"; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa12 { - status = "okay"; - pm8226_l12: regulator-l12 { - regulator-name = "8226_l12"; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa14 { - status = "okay"; - pm8226_l14: regulator-l14 { - regulator-name = "8226_l14"; - regulator-min-microvolt = <2750000>; - regulator-max-microvolt = <2750000>; - qcom,init-voltage = <2750000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa15 { - status = "okay"; - pm8226_l15: regulator-l15 { - regulator-name = "8226_l15"; - regulator-min-microvolt = <2800000>; - regulator-max-microvolt = <2800000>; - qcom,init-voltage = <2800000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa16 { - status = "okay"; - pm8226_l16: regulator-l16 { - regulator-name = "8226_l16"; - regulator-min-microvolt = <3000000>; - regulator-max-microvolt = <3300000>; - qcom,init-voltage = <3300000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa17 { - status = "okay"; - pm8226_l17: regulator-l17 { - regulator-min-microvolt = <2950000>; - regulator-max-microvolt = <2950000>; - qcom,init-voltage = <2950000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa18 { - status = "okay"; - pm8226_l18: regulator-l18 { - regulator-name = "8226_l18"; - regulator-min-microvolt = <2950000>; - regulator-max-microvolt = <2950000>; - qcom,init-voltage = <2950000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa19 { - status = "okay"; - pm8226_l19: regulator-l19 { - regulator-name = "8226_l19"; - regulator-min-microvolt = <2850000>; - regulator-max-microvolt = <2850000>; - qcom,init-voltage = <2850000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa20 { - status = "okay"; - pm8226_l20: regulator-l20 { - regulator-name = "8226_l20"; - regulator-min-microvolt = <3075000>; - regulator-max-microvolt = <3075000>; - qcom,init-voltage = <3075000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa21 { - status = "okay"; - pm8226_l21: regulator-l21 { - regulator-name = "8226_l21"; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <2950000>; - qcom,init-voltage = <2950000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa22 { - status = "okay"; - pm8226_l22: regulator-l22 { - regulator-name = "8226_l22"; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <2950000>; - qcom,init-voltage = <2950000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa23 { - status = "okay"; - pm8226_l23: regulator-l23 { - regulator-name = "8226_l23"; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <2950000>; - qcom,init-voltage = <2950000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa24 { - status = "okay"; - pm8226_l24: regulator-l24 { - regulator-name = "8226_l24"; - regulator-min-microvolt = <1300000>; - regulator-max-microvolt = <1300000>; - qcom,init-voltage = <1300000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa26 { - status = "okay"; - pm8226_l26: regulator-l26 { - regulator-name = "8226_l26"; - regulator-min-microvolt = <1225000>; - regulator-max-microvolt = <1225000>; - qcom,init-voltage = <1225000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa27 { - status = "okay"; - pm8226_l27: regulator-l27 { - regulator-name = "8226_l27"; - regulator-min-microvolt = <2050000>; - regulator-max-microvolt = <2050000>; - qcom,init-voltage = <2050000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa28 { - status = "okay"; - pm8226_l28: regulator-l28 { - regulator-name = "8226_l28"; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <2950000>; - qcom,init-voltage = <2950000>; - status = "okay"; - }; - }; - - rpm-regulator-vsa1 { - status = "okay"; - pm8226_lvs1: regulator-lvs1 { - status = "okay"; - }; - }; -}; - -&pm8226_chg_boost { - regulator-min-microvolt = <5000000>; - regulator-max-microvolt = <5000000>; - regulator-name = "8226_smbbp_boost"; -}; - -&soc { - usb_otg_sw: regulator-ncp380 { - compatible = "regulator-fixed"; - regulator-name = "usb_otg_sw"; - gpio = <&msmgpio 67 0>; - parent-supply = <&pm8226_chg_boost>; - startup-delay-us = <4000>; - enable-active-high; - status = "disabled"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8226-sim.dts b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8226-sim.dts deleted file mode 100644 index 240564632..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8226-sim.dts +++ /dev/null @@ -1,135 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/dts-v1/; -/include/ "msm8226.dtsi" -/include/ "msm8226-camera.dtsi" - -/ { - model = "Qualcomm MSM 8226 Simulator"; - compatible = "qcom,msm8226-sim", "qcom,msm8226", "qcom,sim"; - qcom,msm-id = <145 16 0>, - <158 16 0>, - <159 16 0>, - <198 16 0>; -}; - -&soc { - serial@f991f000 { - status = "ok"; - }; -}; - -&sdcc1 { - qcom,vdd-always-on; - qcom,vdd-lpm-sup; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <800 500000>; - - qcom,vdd-io-always-on; - qcom,vdd-io-voltage-level = <1800000 1800000>; - qcom,vdd-io-current-level = <250 154000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - vdd-supply = <&pm8226_l17>; - vdd-io-supply = <&pm8226_l6>; - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - qcom,sup-voltages = <2950 2950>; - - qcom,bus-speed-mode = "HS200_1p8v", "DDR_1p8v"; - qcom,nonremovable; - status = "ok"; -}; - -&sdcc2 { - vdd-supply = <&pm8226_l18>; - vdd-io-supply = <&pm8226_l21>; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <9000 800000>; - - qcom,vdd-io-always-on; - qcom,vdd-io-lpm-sup; - qcom,vdd-io-voltage-level = <1800000 2950000>; - qcom,vdd-io-current-level = <6 22000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - qcom,sup-voltages = <2950 2950>; - - qcom,xpc; - qcom,bus-speed-mode = "SDR12", "SDR25", "SDR50", "DDR50", "SDR104"; - qcom,current-limit = <800>; - - status = "ok"; -}; - -&pm8226_gpios { - gpio@c000 { /* GPIO 1 */ - }; - - gpio@c100 { /* GPIO 2 */ - }; - - gpio@c200 { /* GPIO 3 */ - }; - - gpio@c300 { /* GPIO 4 */ - }; - - gpio@c400 { /* GPIO 5 */ - }; - - gpio@c500 { /* GPIO 6 */ - }; - - gpio@c600 { /* GPIO 7 */ - }; - - gpio@c700 { /* GPIO 8 */ - }; -}; - -&pm8226_mpps { - mpp@a000 { /* MPP 1 */ - }; - - mpp@a100 { /* MPP 2 */ - }; - - mpp@a200 { /* MPP 3 */ - }; - - mpp@a300 { /* MPP 4 */ - }; - - mpp@a400 { /* MPP 5 */ - }; - - mpp@a500 { /* MPP 6 */ - }; - - mpp@a600 { /* MPP 7 */ - }; - - mpp@a700 { /* MPP 8 */ - }; -}; - - diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8226-smp2p.dtsi b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8226-smp2p.dtsi deleted file mode 100644 index 3921a686a..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8226-smp2p.dtsi +++ /dev/null @@ -1,225 +0,0 @@ -/* Copyright (c) 2013, 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. - */ -&soc { - qcom,smp2p-modem { - compatible = "qcom,smp2p"; - reg = <0xf9011008 0x4>; - qcom,remote-pid = <1>; - qcom,irq-bitmask = <0x4000>; - interrupts = <0 27 1>; - }; - - qcom,smp2p-adsp { - compatible = "qcom,smp2p"; - reg = <0xf9011008 0x4>; - qcom,remote-pid = <2>; - qcom,irq-bitmask = <0x400>; - interrupts = <0 158 1>; - }; - - qcom,smp2p-wcnss { - compatible = "qcom,smp2p"; - reg = <0xf9011008 0x4>; - qcom,remote-pid = <4>; - qcom,irq-bitmask = <0x40000>; - interrupts = <0 143 1>; - }; - - smp2pgpio_smp2p_7_in: qcom,smp2pgpio-smp2p-7-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <7>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_7_in { - compatible = "qcom,smp2pgpio_test_smp2p_7_in"; - gpios = <&smp2pgpio_smp2p_7_in 0 0>; - }; - - smp2pgpio_smp2p_7_out: qcom,smp2pgpio-smp2p-7-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <7>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_7_out { - compatible = "qcom,smp2pgpio_test_smp2p_7_out"; - gpios = <&smp2pgpio_smp2p_7_out 0 0>; - }; - - smp2pgpio_smp2p_1_in: qcom,smp2pgpio-smp2p-1-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <1>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_1_in { - compatible = "qcom,smp2pgpio_test_smp2p_1_in"; - gpios = <&smp2pgpio_smp2p_1_in 0 0>; - }; - - smp2pgpio_smp2p_1_out: qcom,smp2pgpio-smp2p-1-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <1>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_1_out { - compatible = "qcom,smp2pgpio_test_smp2p_1_out"; - gpios = <&smp2pgpio_smp2p_1_out 0 0>; - }; - - smp2pgpio_ssr_smp2p_1_in: qcom,smp2pgpio-ssr-smp2p-1-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "slave-kernel"; - qcom,remote-pid = <1>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - smp2pgpio_ssr_smp2p_1_out: qcom,smp2pgpio-ssr-smp2p-1-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "master-kernel"; - qcom,remote-pid = <1>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - smp2pgpio_smp2p_2_in: qcom,smp2pgpio-smp2p-2-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <2>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_2_in { - compatible = "qcom,smp2pgpio_test_smp2p_2_in"; - gpios = <&smp2pgpio_smp2p_2_in 0 0>; - }; - - smp2pgpio_smp2p_2_out: qcom,smp2pgpio-smp2p-2-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <2>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_2_out { - compatible = "qcom,smp2pgpio_test_smp2p_2_out"; - gpios = <&smp2pgpio_smp2p_2_out 0 0>; - }; - - /* SMP2P SSR Driver for inbound entry from lpass. */ - smp2pgpio_ssr_smp2p_2_in: qcom,smp2pgpio-ssr-smp2p-2-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "slave-kernel"; - qcom,remote-pid = <2>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - /* SMP2P SSR Driver for outbound entry to lpass */ - smp2pgpio_ssr_smp2p_2_out: qcom,smp2pgpio-ssr-smp2p-2-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "master-kernel"; - qcom,remote-pid = <2>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - smp2pgpio_smp2p_4_in: qcom,smp2pgpio-smp2p-4-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <4>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_4_in { - compatible = "qcom,smp2pgpio_test_smp2p_4_in"; - gpios = <&smp2pgpio_smp2p_4_in 0 0>; - }; - - smp2pgpio_smp2p_4_out: qcom,smp2pgpio-smp2p-4-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <4>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - smp2pgpio_ssr_smp2p_4_in: qcom,smp2pgpio-ssr-smp2p-4-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "slave-kernel"; - qcom,remote-pid = <4>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - smp2pgpio_ssr_smp2p_4_out: qcom,smp2pgpio-ssr-smp2p-4-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "master-kernel"; - qcom,remote-pid = <4>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_4_out { - compatible = "qcom,smp2pgpio_test_smp2p_4_out"; - gpios = <&smp2pgpio_smp2p_4_out 0 0>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8226-v1-cdp.dts b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8226-v1-cdp.dts deleted file mode 100644 index 9c49840d9..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8226-v1-cdp.dts +++ /dev/null @@ -1,25 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; -/include/ "msm8226-v1.dtsi" -/include/ "msm8226-cdp.dtsi" - -/ { - model = "Qualcomm MSM 8226 CDP"; - compatible = "qcom,msm8226-cdp", "qcom,msm8226", "qcom,cdp"; - qcom,msm-id = <145 1 0>, - <158 1 0>, - <159 1 0>, - <198 1 0>, - <205 1 0>; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8226-v1-mtp.dts b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8226-v1-mtp.dts deleted file mode 100644 index b1d46b1c4..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8226-v1-mtp.dts +++ /dev/null @@ -1,25 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; -/include/ "msm8226-v1.dtsi" -/include/ "msm8226-mtp.dtsi" - -/ { - model = "Qualcomm MSM 8226 MTP"; - compatible = "qcom,msm8226-mtp", "qcom,msm8226", "qcom,mtp"; - qcom,msm-id = <145 8 0>, - <158 8 0>, - <159 8 0>, - <198 8 0>, - <205 8 0>; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8226-v1-qrd.dts b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8226-v1-qrd.dts deleted file mode 100644 index d2aabac0c..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8226-v1-qrd.dts +++ /dev/null @@ -1,25 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; -/include/ "msm8226-v1.dtsi" -/include/ "msm8226-qrd.dtsi" - -/ { - model = "Qualcomm MSM 8226 QRD"; - compatible = "qcom,msm8226-qrd", "qcom,msm8226", "qcom,qrd"; - qcom,msm-id = <145 11 0>, - <158 11 0>, - <159 11 0>, - <198 11 0>, - <205 11 0>; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8226-v1.dtsi b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8226-v1.dtsi deleted file mode 100644 index d471bece9..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8226-v1.dtsi +++ /dev/null @@ -1,19 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/* - * As a general rule, only version-specific property overrides should be placed - * inside this file. However, device definitions should be placed inside the - * msm8226.dtsi file. - */ - -/include/ "msm8226.dtsi" diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8226-v2-cdp.dts b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8226-v2-cdp.dts deleted file mode 100644 index 2b18491d9..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8226-v2-cdp.dts +++ /dev/null @@ -1,25 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; -/include/ "msm8226-v2.dtsi" -/include/ "msm8226-cdp.dtsi" - -/ { - model = "Qualcomm MSM 8226v2 CDP"; - compatible = "qcom,msm8226-cdp", "qcom,msm8226", "qcom,cdp"; - qcom,msm-id = <145 1 0x20000>, - <158 1 0x20000>, - <159 1 0x20000>, - <198 1 0x20000>, - <205 1 0x20000>; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8226-v2-mtp.dts b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8226-v2-mtp.dts deleted file mode 100644 index f15dd4cb9..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8226-v2-mtp.dts +++ /dev/null @@ -1,25 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; -/include/ "msm8226-v2.dtsi" -/include/ "msm8226-mtp.dtsi" - -/ { - model = "Qualcomm MSM 8226v2 MTP"; - compatible = "qcom,msm8226-mtp", "qcom,msm8226", "qcom,mtp"; - qcom,msm-id = <145 8 0x20000>, - <158 8 0x20000>, - <159 8 0x20000>, - <198 8 0x20000>, - <205 8 0x20000>; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8226-v2-qrd.dts b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8226-v2-qrd.dts deleted file mode 100644 index 1a89d7894..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8226-v2-qrd.dts +++ /dev/null @@ -1,25 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; -/include/ "msm8226-v2.dtsi" -/include/ "msm8226-qrd.dtsi" - -/ { - model = "Qualcomm MSM 8226v2 QRD"; - compatible = "qcom,msm8226-qrd", "qcom,msm8226", "qcom,qrd"; - qcom,msm-id = <145 11 0x20000>, - <158 11 0x20000>, - <159 11 0x20000>, - <198 11 0x20000>, - <205 11 0x20000>; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8226-v2.dtsi b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8226-v2.dtsi deleted file mode 100644 index d471bece9..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8226-v2.dtsi +++ /dev/null @@ -1,19 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/* - * As a general rule, only version-specific property overrides should be placed - * inside this file. However, device definitions should be placed inside the - * msm8226.dtsi file. - */ - -/include/ "msm8226.dtsi" diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8226.dtsi b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8226.dtsi deleted file mode 100644 index 7c981043c..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8226.dtsi +++ /dev/null @@ -1,1248 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/include/ "skeleton.dtsi" - -/ { - model = "Qualcomm MSM 8226"; - compatible = "qcom,msm8226"; - interrupt-parent = <&intc>; - - aliases { - spi0 = &spi_0; - sdhc1 = &sdhc_1; /* SDC1 eMMC slot */ - sdhc2 = &sdhc_2; /* SDC2 SD card slot */ - }; - - memory { - secure_mem: secure_region { - linux,contiguous-region; - reg = <0 0x6D00000>; - label = "secure_mem"; - }; - - qsecom_mem: qsecom_region { - linux,contiguous-region; - reg = <0 0x780000>; - label = "qsecom_mem"; - }; - }; - - soc: soc { }; -}; - -/include/ "msm8226-ion.dtsi" -/include/ "msm8226-camera.dtsi" -/include/ "msm-gdsc.dtsi" -/include/ "msm8226-iommu.dtsi" -/include/ "msm8226-pm.dtsi" -/include/ "msm8226-smp2p.dtsi" -/include/ "msm8226-gpu.dtsi" -/include/ "msm8226-bus.dtsi" -/include/ "msm8226-mdss.dtsi" -/include/ "msm8226-coresight.dtsi" -/include/ "msm8226-iommu-domains.dtsi" - -&soc { - #address-cells = <1>; - #size-cells = <1>; - ranges; - - intc: interrupt-controller@f9000000 { - compatible = "qcom,msm-qgic2"; - interrupt-controller; - #interrupt-cells = <3>; - reg = <0xF9000000 0x1000>, - <0xF9002000 0x1000>; - }; - - msmgpio: gpio@fd510000 { - compatible = "qcom,msm-gpio"; - interrupt-controller; - #interrupt-cells = <2>; - reg = <0xfd510000 0x4000>; - gpio-controller; - #gpio-cells = <2>; - ngpio = <117>; - interrupts = <0 208 0>; - qcom,direct-connect-irqs = <8>; - }; - - qcom,mpm2-sleep-counter@fc4a3000 { - compatible = "qcom,mpm2-sleep-counter"; - reg = <0xfc4a3000 0x1000>; - clock-frequency = <32768>; - }; - - timer { - compatible = "arm,armv7-timer"; - interrupts = <1 2 0 1 3 0>; - clock-frequency = <19200000>; - }; - - 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 8 0x4>, - <0 7 0x4>; - reg = <0xf9021000 0x1000>, - <0xf9022000 0x1000>; - }; - - frame@f9023000 { - frame-number = <1>; - interrupts = <0 9 0x4>; - reg = <0xf9023000 0x1000>; - status = "disabled"; - }; - - frame@f9024000 { - frame-number = <2>; - interrupts = <0 10 0x4>; - reg = <0xf9024000 0x1000>; - status = "disabled"; - }; - - frame@f9025000 { - frame-number = <3>; - interrupts = <0 11 0x4>; - reg = <0xf9025000 0x1000>; - status = "disabled"; - }; - - frame@f9026000 { - frame-number = <4>; - interrupts = <0 12 0x4>; - reg = <0xf9026000 0x1000>; - status = "disabled"; - }; - - frame@f9027000 { - frame-number = <5>; - interrupts = <0 13 0x4>; - reg = <0xf9027000 0x1000>; - status = "disabled"; - }; - - frame@f9028000 { - frame-number = <6>; - interrupts = <0 14 0x4>; - reg = <0xf9028000 0x1000>; - status = "disabled"; - }; - }; - - qcom,vidc@fdc00000 { - compatible = "qcom,msm-vidc"; - reg = <0xfdc00000 0xff000>; - interrupts = <0 44 0>; - qcom,load-freq-tbl = <352800 160000000>, - <244800 133330000>, - <108000 66700000>; - qcom,hfi = "venus"; - qcom,bus-ports = <1>; - qcom,reg-presets = <0xE0024 0x0>, - <0x80124 0x3>, - <0xE0020 0x5555556>, - <0x800B0 0x10101001>, - <0x800B4 0x00101010>, - <0x800C0 0x1010100f>, - <0x800C4 0x00101010>, - <0x800D0 0x00000010>, - <0x800D4 0x00000010>, - <0x800D8 0x00000707>; - qcom,enc-ddr-ab-ib = <0 0>, - <129000 142000>, - <384000 422000>, - <866000 953000>; - qcom,dec-ddr-ab-ib = <0 0>, - <103000 134000>, - <268000 348000>, - <505000 657000>; - qcom,iommu-groups = <&venus_domain_ns &venus_domain_cp>; - qcom,iommu-group-buffer-types = <0xfff 0x1ff>; - qcom,buffer-type-tz-usage-table = <0x1 0x1>, - <0x1fe 0x2>; - qcom,max-hw-load = <352800>; /* 720p @ 30 + 1080p @ 30 */ - }; - - qcom,wfd { - compatible = "qcom,msm-wfd"; - }; - - serial@f991f000 { - compatible = "qcom,msm-lsuart-v14"; - reg = <0xf991f000 0x1000>; - interrupts = <0 109 0>; - status = "disabled"; - }; - - serial@f995e000 { - compatible = "qcom,msm-lsuart-v14"; - reg = <0xf995e000 0x1000>; - interrupts = <0 114 0>; - status = "disabled"; - }; - - qcom,msm-imem@fe805000 { - compatible = "qcom,msm-imem"; - reg = <0xfe805000 0x1000>; /* Address and size of IMEM */ - }; - - qcom,sps@f9984000 { - compatible = "qcom,msm_sps"; - reg = <0xf9984000 0x15000>, - <0xf9999000 0xb000>; - interrupts = <0 94 0>; - }; - - qcom,usbbam@f9a44000 { - compatible = "qcom,usb-bam-msm"; - reg = <0xf9a44000 0x11000>; - reg-names = "hsusb"; - interrupts = <0 135 0>; - interrupt-names = "hsusb"; - qcom,usb-bam-num-pipes = <16>; - qcom,usb-bam-fifo-baseaddr = <0xfe803000>; - qcom,ignore-core-reset-ack; - qcom,disable-clk-gating; - - qcom,pipe0 { - label = "hsusb-qdss-in-0"; - qcom,usb-bam-mem-type = <3>; - qcom,bam-type = <1>; - 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 = <0xf9a44000>; - qcom,dst-bam-pipe-index = <2>; - qcom,data-fifo-offset = <0x0>; - qcom,data-fifo-size = <0x600>; - qcom,descriptor-fifo-offset = <0x600>; - qcom,descriptor-fifo-size = <0x200>; - }; - }; - - usb_otg: usb@f9a55000 { - compatible = "qcom,hsusb-otg"; - reg = <0xf9a55000 0x400>; - interrupts = <0 134 0>, <0 140 0>; - interrupt-names = "core_irq", "async_irq"; - hsusb_vdd_dig-supply = <&pm8226_s1_corner>; - HSUSB_1p8-supply = <&pm8226_l10>; - HSUSB_3p3-supply = <&pm8226_l20>; - qcom,vdd-voltage-level = <1 5 7>; - - qcom,hsusb-otg-phy-init-seq = - <0x44 0x80 0x68 0x81 0x24 0x82 0x13 0x83 0xffffffff>; - qcom,hsusb-otg-phy-type = <2>; - qcom,hsusb-otg-mode = <1>; - qcom,hsusb-otg-otg-control = <2>; - qcom,hsusb-otg-disable-reset; - qcom,dp-manual-pullup; - - qcom,msm-bus,name = "usb"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <87 512 0 0>, - <87 512 60000 960000>; - }; - - android_usb@fe8050c8 { - compatible = "qcom,android-usb"; - reg = <0xfe8050c8 0xc8>; - qcom,android-usb-cdrom; - qcom,android-usb-swfi-latency = <1>; - }; - - wcd9xxx_intc: wcd9xxx-irq { - compatible = "qcom,wcd9xxx-irq"; - interrupt-controller; - #interrupt-cells = <1>; - interrupt-parent = <&msmgpio>; - interrupts = <68 0>; - interrupt-names = "cdc-int"; - }; - - slim_msm: slim@fe12f000 { - cell-index = <1>; - compatible = "qcom,slim-ngd"; - reg = <0xfe12f000 0x35000>, - <0xfe104000 0x20000>; - reg-names = "slimbus_physical", "slimbus_bam_physical"; - interrupts = <0 163 0>, <0 164 0>; - interrupt-names = "slimbus_irq", "slimbus_bam_irq"; - - tapan_codec { - compatible = "qcom,tapan-slim-pgd"; - elemental-addr = [00 01 E0 00 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>; - qcom,cdc-reset-gpio = <&msmgpio 72 0>; - - cdc-vdd-buck-supply = <&pm8226_s4>; - qcom,cdc-vdd-buck-voltage = <2100000 2100000>; - qcom,cdc-vdd-buck-current = <650000>; - - cdc-vdd-h-supply = <&pm8226_l6>; - qcom,cdc-vdd-h-voltage = <1800000 1800000>; - qcom,cdc-vdd-h-current = <25000>; - - cdc-vdd-px-supply = <&pm8226_l6>; - qcom,cdc-vdd-px-voltage = <1800000 1800000>; - qcom,cdc-vdd-px-current = <25000>; - - cdc-vdd-a-1p2v-supply = <&pm8226_l4>; - qcom,cdc-vdd-a-1p2v-voltage = <1200000 1200000>; - qcom,cdc-vdd-a-1p2v-current = <10000>; - - cdc-vdd-cx-supply = <&pm8226_l4>; - qcom,cdc-vdd-cx-voltage = <1200000 1200000>; - qcom,cdc-vdd-cx-current = <10000>; - - qcom,cdc-static-supplies = "cdc-vdd-buck", - "cdc-vdd-h", - "cdc-vdd-px", - "cdc-vdd-a-1p2v", - "cdc-vdd-cx"; - - qcom,cdc-micbias-ldoh-v = <0x3>; - qcom,cdc-micbias-cfilt1-mv = <1800>; - qcom,cdc-micbias-cfilt2-mv = <2700>; - 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-mclk-clk-rate = <9600000>; - qcom,cdc-slim-ifd = "tapan-slim-ifd"; - qcom,cdc-slim-ifd-elemental-addr = [00 00 E0 00 17 02]; - }; - }; - - qcom,msm-adsp-loader { - compatible = "qcom,adsp-loader"; - qcom,adsp-state = <0>; - }; - - sound { - compatible = "qcom,msm8226-audio-tapan"; - qcom,model = "msm8226-tapan-snd-card"; - qcom,tapan-mclk-clk-freq = <9600000>; - qcom,prim-auxpcm-gpio-clk = <&msmgpio 63 0>; - qcom,prim-auxpcm-gpio-sync = <&msmgpio 64 0>; - qcom,prim-auxpcm-gpio-din = <&msmgpio 65 0>; - qcom,prim-auxpcm-gpio-dout = <&msmgpio 66 0>; - qcom,prim-auxpcm-gpio-set = "prim-gpio-prim"; - }; - - qcom,msm-pcm { - compatible = "qcom,msm-pcm-dsp"; - qcom,msm-pcm-dsp-id = <0>; - }; - - qcom,msm-pcm-routing { - compatible = "qcom,msm-pcm-routing"; - }; - - qcom,msm-pcm-low-latency { - compatible = "qcom,msm-pcm-dsp"; - qcom,msm-pcm-dsp-id = <1>; - qcom,msm-pcm-low-latency; - }; - - qcom,msm-pcm-lpa { - compatible = "qcom,msm-pcm-lpa"; - }; - - qcom,msm-compr-dsp { - compatible = "qcom,msm-compr-dsp"; - }; - - qcom,msm-voip-dsp { - compatible = "qcom,msm-voip-dsp"; - }; - - qcom,msm-pcm-voice { - compatible = "qcom,msm-pcm-voice"; - }; - - qcom,msm-stub-codec { - compatible = "qcom,msm-stub-codec"; - }; - - qcom,msm-dai-fe { - compatible = "qcom,msm-dai-fe"; - }; - - qcom,msm-pcm-afe { - compatible = "qcom,msm-pcm-afe"; - }; - - qcom,msm-dai-q6-hdmi { - compatible = "qcom,msm-dai-q6-hdmi"; - qcom,msm-dai-q6-dev-id = <8>; - }; - - qcom,msm-dai-q6 { - compatible = "qcom,msm-dai-q6"; - qcom,msm-dai-q6-sb-0-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <16384>; - }; - - qcom,msm-dai-q6-sb-0-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <16385>; - }; - - qcom,msm-dai-q6-sb-1-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <16386>; - }; - - qcom,msm-dai-q6-sb-1-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <16387>; - }; - - qcom,msm-dai-q6-sb-3-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <16390>; - }; - - qcom,msm-dai-q6-sb-3-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <16391>; - }; - - qcom,msm-dai-q6-sb-4-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <16392>; - }; - - qcom,msm-dai-q6-sb-4-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <16393>; - }; - - qcom,msm-dai-q6-bt-sco-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <12288>; - }; - - qcom,msm-dai-q6-bt-sco-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <12289>; - }; - - qcom,msm-dai-q6-int-fm-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <12292>; - }; - - qcom,msm-dai-q6-int-fm-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <12293>; - }; - - qcom,msm-dai-q6-be-afe-pcm-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <224>; - }; - - qcom,msm-dai-q6-be-afe-pcm-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <225>; - }; - - qcom,msm-dai-q6-afe-proxy-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <241>; - }; - - qcom,msm-dai-q6-afe-proxy-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <240>; - }; - - qcom,msm-dai-q6-incall-record-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <32771>; - }; - - qcom,msm-dai-q6-incall-record-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <32772>; - }; - - qcom,msm-dai-q6-incall-music-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <32773>; - }; - }; - - qcom,msm-pcm-hostless { - compatible = "qcom,msm-pcm-hostless"; - }; - - qcom,msm-auxpcm { - compatible = "qcom,msm-auxpcm-resource"; - qcom,msm-cpudai-auxpcm-clk = "pcm_clk"; - 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-slot = <1>, <1>; - qcom,msm-cpudai-auxpcm-data = <0>, <0>; - qcom,msm-cpudai-auxpcm-pcm-clk-rate = <2048000>, <2048000>; - - qcom,msm-prim-auxpcm-rx { - qcom,msm-auxpcm-dev-id = <4106>; - compatible = "qcom,msm-auxpcm-dev"; - }; - - qcom,msm-prim-auxpcm-tx { - qcom,msm-auxpcm-dev-id = <4107>; - compatible = "qcom,msm-auxpcm-dev"; - }; - }; - - qcom,wcnss-wlan@fb000000 { - compatible = "qcom,wcnss_wlan"; - reg = <0xfb000000 0x280000>, - <0xf9011008 0x04>; - reg-names = "wcnss_mmio", "wcnss_fiq"; - interrupts = <0 145 0 0 146 0>; - interrupt-names = "wcnss_wlantx_irq", "wcnss_wlanrx_irq"; - - qcom,pronto-vddmx-supply = <&pm8226_l3>; - qcom,pronto-vddcx-supply = <&pm8226_s1>; - qcom,pronto-vddpx-supply = <&pm8226_l6>; - qcom,iris-vddxo-supply = <&pm8226_l10>; - qcom,iris-vddrfa-supply = <&pm8226_l24>; - qcom,iris-vddpa-supply = <&pm8226_l16>; - qcom,iris-vdddig-supply = <&pm8226_l24>; - - gpios = <&msmgpio 40 0>, <&msmgpio 41 0>, <&msmgpio 42 0>, <&msmgpio 43 0>, <&msmgpio 44 0>; - qcom,has-pronto-hw; - qcom,has-autodetect-xo; - }; - - qcom,msm-adsp-sensors { - compatible = "qcom,msm-adsp-sensors"; - qcom,src-id = <11>; - qcom,dst-id = <604>; - qcom,ab = <32505856>; - qcom,ib = <32505856>; - }; - - qcom,wdt@f9017000 { - compatible = "qcom,msm-watchdog"; - reg = <0xf9017000 0x1000>; - interrupts = <0 3 0>, <0 4 0>; - qcom,bark-time = <11000>; - qcom,pet-time = <10000>; - qcom,ipi-ping; - }; - - qcom,smem@fa00000 { - compatible = "qcom,smem"; - reg = <0xfa00000 0x100000>, - <0xf9011000 0x1000>, - <0xfc428000 0x4000>; - reg-names = "smem", "irq-reg-base", "aux-mem1"; - - qcom,smd-modem { - compatible = "qcom,smd"; - qcom,smd-edge = <0>; - qcom,smd-irq-offset = <0x8>; - qcom,smd-irq-bitmask = <0x1000>; - qcom,pil-string = "modem"; - interrupts = <0 25 1>; - }; - - qcom,smsm-modem { - compatible = "qcom,smsm"; - qcom,smsm-edge = <0>; - qcom,smsm-irq-offset = <0x8>; - qcom,smsm-irq-bitmask = <0x2000>; - interrupts = <0 26 1>; - }; - - qcom,smd-adsp { - compatible = "qcom,smd"; - qcom,smd-edge = <1>; - qcom,smd-irq-offset = <0x8>; - qcom,smd-irq-bitmask = <0x100>; - qcom,pil-string = "adsp"; - interrupts = <0 156 1>; - }; - - qcom,smsm-adsp { - compatible = "qcom,smsm"; - qcom,smsm-edge = <1>; - qcom,smsm-irq-offset = <0x8>; - qcom,smsm-irq-bitmask = <0x200>; - interrupts = <0 157 1>; - }; - - qcom,smd-wcnss { - compatible = "qcom,smd"; - qcom,smd-edge = <6>; - qcom,smd-irq-offset = <0x8>; - qcom,smd-irq-bitmask = <0x20000>; - qcom,pil-string = "wcnss"; - interrupts = <0 142 1>; - }; - - qcom,smsm-wcnss { - compatible = "qcom,smsm"; - qcom,smsm-edge = <6>; - qcom,smsm-irq-offset = <0x8>; - qcom,smsm-irq-bitmask = <0x80000>; - interrupts = <0 144 1>; - }; - - qcom,smd-rpm { - compatible = "qcom,smd"; - qcom,smd-edge = <15>; - qcom,smd-irq-offset = <0x8>; - qcom,smd-irq-bitmask = <0x1>; - interrupts = <0 168 1>; - qcom,irq-no-suspend; - }; - }; - - rpm_bus: qcom,rpm-smd { - compatible = "qcom,rpm-smd"; - rpm-channel-name = "rpm_requests"; - rpm-channel-type = <15>; /* SMD_APPS_RPM */ - }; - - qcom,bcl { - compatible = "qcom,bcl"; - }; - - sdcc1: qcom,sdcc@f9824000 { - cell-index = <1>; /* SDC1 eMMC slot */ - compatible = "qcom,msm-sdcc"; - - reg = <0xf9824000 0x800>, - <0xf9824800 0x100>, - <0xf9804000 0x7000>; - reg-names = "core_mem", "dml_mem", "bam_mem"; - interrupts = <0 123 0>, <0 137 0>; - interrupt-names = "core_irq", "bam_irq"; - - qcom,bus-width = <8>; - status = "disabled"; - }; - - sdhc_1: sdhci@f9824900 { - compatible = "qcom,sdhci-msm"; - reg = <0xf9824900 0x11c>, <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>; - status = "disabled"; - }; - - sdcc2: qcom,sdcc@f98a4000 { - cell-index = <2>; /* SDC2 SD card slot */ - compatible = "qcom,msm-sdcc"; - - reg = <0xf98a4000 0x800>, - <0xf98a4800 0x100>, - <0xf9884000 0x7000>; - reg-names = "core_mem", "dml_mem", "bam_mem"; - interrupts = <0 125 0>, <0 220 0>; - interrupt-names = "core_irq", "bam_irq"; - - qcom,bus-width = <4>; - 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"; - - qcom,bus-width = <4>; - status = "disabled"; - }; - - spmi_bus: qcom,spmi@fc4c0000 { - cell-index = <0>; - 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-ee = <0>; - qcom,pmic-arb-channel = <0>; - }; - - i2c@f9926000 { /* BLSP-1 QUP-4 */ - cell-index = <0>; - compatible = "qcom,i2c-qup"; - reg = <0xf9926000 0x1000>; - #address-cells = <1>; - #size-cells = <0>; - reg-names = "qup_phys_addr"; - interrupts = <0 98 0>; - interrupt-names = "qup_err_intr"; - qcom,i2c-bus-freq = <100000>; - }; - - i2c@f9927000 { /* BLSP1 QUP5 */ - cell-index = <5>; - compatible = "qcom,i2c-qup"; - #address-cells = <1>; - #size-cells = <0>; - reg-names = "qup_phys_addr"; - reg = <0xf9927000 0x1000>; - interrupt-names = "qup_err_intr"; - interrupts = <0 99 0>; - qcom,i2c-bus-freq = <384000>; - qcom,i2c-src-freq = <19200000>; - }; - - qcom,acpuclk@f9011050 { - compatible = "qcom,acpuclk-a7"; - reg = <0xf9011050 0x8>; - reg-names = "rcg_base"; - a7_cpu-supply = <&apc_vreg_corner>; - }; - - qcom,ocmem@fdd00000 { - compatible = "qcom,msm-ocmem"; - reg = <0xfdd00000 0x2000>, - <0xfdd02000 0x2000>, - <0xfe039000 0x400>, - <0xfec00000 0x20000>; - 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 = <0x1>; - qcom,ocmem-num-macros = <0x2>; - qcom,resource-type = <0x706d636f>; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0x0 0xfec00000 0x20000>; - - partition@0 { - reg = <0x0 0x20000>; - qcom,ocmem-part-name = "graphics"; - qcom,ocmem-part-min = <0x20000>; - }; - }; - - qcom,venus@fdce0000 { - compatible = "qcom,pil-venus"; - reg = <0xfdce0000 0x4000>, - <0xfdc80000 0x400>; - reg-names = "wrapper_base", "vbif_base"; - vdd-supply = <&gdsc_venus>; - - qcom,firmware-name = "venus"; - }; - - qcom,pronto@fb21b000 { - compatible = "qcom,pil-pronto"; - reg = <0xfb21b000 0x3000>, - <0xfc401700 0x4>, - <0xfd485300 0xc>; - reg-names = "pmu_base", "clk_base", "halt_base"; - interrupts = <0 149 1>; - vdd_pronto_pll-supply = <&pm8226_l8>; - - qcom,firmware-name = "wcnss"; - - /* GPIO inputs from wcnss */ - qcom,gpio-err-fatal = <&smp2pgpio_ssr_smp2p_4_in 0 0>; - qcom,gpio-err-ready = <&smp2pgpio_ssr_smp2p_4_in 1 0>; - qcom,gpio-proxy-unvote = <&smp2pgpio_ssr_smp2p_4_in 2 0>; - - /* GPIO output to wcnss */ - qcom,gpio-force-stop = <&smp2pgpio_ssr_smp2p_4_out 0 0>; - }; - - qcom,iris-fm { - compatible = "qcom,iris_fm"; - }; - - qcom,lpass@fe200000 { - compatible = "qcom,pil-q6v5-lpass"; - reg = <0xfe200000 0x00100>, - <0xfd485100 0x00010>, - <0xfc4016c0 0x00004>; - reg-names = "qdsp6_base", "halt_base", "restart_reg"; - vdd_cx-supply = <&pm8226_s1_corner>; - interrupts = <0 162 1>; - - 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>; - - /* GPIO output to lpass */ - qcom,gpio-force-stop = <&smp2pgpio_ssr_smp2p_2_out 0 0>; - }; - - qcom,mss@fc880000 { - compatible = "qcom,pil-q6v5-mss"; - reg = <0xfc880000 0x100>, - <0xfd485000 0x400>, - <0xfc820000 0x020>, - <0xfc401680 0x004>, - <0xfd485194 0x4>; - reg-names = "qdsp6_base", "halt_base", "rmb_base", - "restart_reg", "cxrail_bhs_reg"; - - interrupts = <0 24 1>; - vdd_cx-supply = <&pm8226_s1_corner>; - vdd_mx-supply = <&pm8226_l3>; - vdd_pll-supply = <&pm8226_l8>; - qcom,vdd_pll = <1800000>; - - qcom,is-loadable; - qcom,firmware-name = "mba"; - qcom,pil-self-auth; - - /* 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>; - }; - - qcom,msm-mem-hole { - compatible = "qcom,msm-mem-hole"; - qcom,memblock-remove = <0x6400000 0x9b00000>; /* Address and Size of Hole */ - }; - - tsens: tsens@fc4a8000 { - compatible = "qcom,msm-tsens"; - reg = <0xfc4a8000 0x2000>, - <0xfc4b8000 0x1000>; - reg-names = "tsens_physical", "tsens_eeprom_physical"; - interrupts = <0 184 0>; - qcom,sensors = <4>; - qcom,slope = <2901 2846 3038 2955>; - qcom,calib-mode = "fuse_map2"; - }; - - qcom,msm-thermal { - compatible = "qcom,msm-thermal"; - qcom,sensor-id = <0>; - qcom,poll-ms = <250>; - qcom,limit-temp = <60>; - qcom,temp-hysteresis = <10>; - qcom,freq-step = <2>; - qcom,freq-control-mask = <0xf>; - }; - - spi_0: 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 0xF000>; - interrupt-names = "spi_irq", "spi_bam_irq"; - interrupts = <0 95 0>, <0 238 0>; - spi-max-frequency = <19200000>; - - gpios = <&msmgpio 3 0>, /* CLK */ - <&msmgpio 1 0>, /* MISO */ - <&msmgpio 0 0>; /* MOSI */ - cs-gpios = <&msmgpio 22 0>; - - qcom,infinite-mode = <0>; - qcom,use-bam; - qcom,ver-reg-exists; - qcom,bam-consumer-pipe-index = <12>; - qcom,bam-producer-pipe-index = <13>; - }; - - qcom,bam_dmux@fc834000 { - compatible = "qcom,bam_dmux"; - reg = <0xfc834000 0x7000>; - interrupts = <0 29 1>; - }; - - qcom,msm-rtb { - compatible = "qcom,msm-rtb"; - qcom,memory-reservation-type = "EBI1"; - qcom,memory-reservation-size = <0x100000>; /* 1M EBI1 buffer */ - }; - - qcom,msm-rng@f9bff000 { - compatible = "qcom,msm-rng"; - reg = <0xf9bff000 0x200>; - qcom,msm-rng-iface-clk; - }; - - qcom,tz-log@fe805720 { - compatible = "qcom,tz-log"; - reg = <0x0fe805720 0x1000>; - }; - - jtag_mm0: jtagmm@fc33c000 { - compatible = "qcom,jtag-mm"; - reg = <0xfc33c000 0x1000>, - <0xfc330000 0x1000>; - reg-names = "etm-base","debug-base"; - }; - - jtag_mm1: jtagmm@fc33d000 { - compatible = "qcom,jtag-mm"; - reg = <0xfc33d000 0x1000>, - <0xfc332000 0x1000>; - reg-names = "etm-base","debug-base"; - }; - - jtag_mm2: jtagmm@fc33e000 { - compatible = "qcom,jtag-mm"; - reg = <0xfc33e000 0x1000>, - <0xfc334000 0x1000>; - reg-names = "etm-base","debug-base"; - }; - - jtag_mm3: jtagmm@fc33f000 { - compatible = "qcom,jtag-mm"; - reg = <0xfc33f000 0x1000>, - <0xfc336000 0x1000>; - reg-names = "etm-base","debug-base"; - }; - - qcom,ipc-spinlock@fd484000 { - compatible = "qcom,ipc-spinlock-sfpb"; - reg = <0xfd484000 0x400>; - qcom,num-locks = <8>; - }; - - qcom,qseecom@d980000 { - compatible = "qcom,qseecom"; - reg = <0xd980000 0x256000>; - reg-names = "secapp-region"; - qcom,disk-encrypt-pipe-pair = <2>; - qcom,hlos-ce-hw-instance = <0>; - qcom,qsee-ce-hw-instance = <0>; - qcom,msm-bus,name = "qseecom-noc"; - qcom,msm-bus,num-cases = <4>; - qcom,msm-bus,active-only = <0>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <55 512 0 0>, - <55 512 3936000 393600>, - <55 512 3936000 393600>, - <55 512 3936000 393600>; - }; - - qcom,qcrypto@fd404000 { - compatible = "qcom,qcrypto"; - reg = <0xfd400000 0x20000>, - <0xfd404000 0x8000>; - reg-names = "crypto-base","crypto-bam-base"; - interrupts = <0 207 0>; - qcom,bam-pipe-pair = <2>; - qcom,ce-hw-instance = <0>; - qcom,ce-hw-shared; - qcom,msm-bus,name = "qcrypto-noc"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,active-only = <0>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <55 512 0 0>, - <55 512 3936000 393600>; - }; - - qcom,qcedev@fd400000 { - compatible = "qcom,qcedev"; - reg = <0xfd400000 0x20000>, - <0xfd404000 0x8000>; - reg-names = "crypto-base","crypto-bam-base"; - interrupts = <0 207 0>; - qcom,bam-pipe-pair = <1>; - qcom,ce-hw-instance = <0>; - qcom,ce-hw-shared; - qcom,msm-bus,name = "qcedev-noc"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,active-only = <0>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <55 512 0 0>, - <55 512 3936000 393600>; - }; - - cpu-pmu { - compatible = "arm,cortex-a7-pmu"; - qcom,irq-is-percpu; - interrupts = <1 7 0xf00>; - }; -}; - -&gdsc_venus { - qcom,clock-names = "core_clk"; - status = "ok"; -}; - -&gdsc_mdss { - qcom,clock-names = "core_clk", "lut_clk"; - status = "ok"; -}; - -&gdsc_jpeg { - qcom,clock-names = "core_clk"; - status = "ok"; -}; - -&gdsc_vfe { - qcom,clock-names = "core_clk", "csi_clk", "cpp_clk"; - status = "ok"; -}; - -&gdsc_oxili_cx { - qcom,clock-names = "core_clk"; - status = "ok"; -}; - -&gdsc_usb_hsic { - status = "ok"; -}; - -/include/ "msm-pm8226-rpm-regulator.dtsi" -/include/ "msm-pm8226.dtsi" -/include/ "msm8226-regulator.dtsi" - -&pm8226_vadc { - chan@0 { - label = "usb_in"; - reg = <0>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <4>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@2 { - label = "vchg_sns"; - reg = <2>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <3>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@5 { - label = "vcoin"; - reg = <5>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <1>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@6 { - label = "vbat_sns"; - reg = <6>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <1>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@7 { - label = "vph_pwr"; - reg = <7>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <1>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@30 { - label = "batt_therm"; - reg = <0x30>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <1>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@31 { - label = "batt_id"; - reg = <0x31>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@b2 { - label = "xo_therm_pu2"; - reg = <0xb2>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <4>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@39 { - label = "usb_id_nopull"; - reg = <0x39>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; -}; - -&pm8226_adc_tm { - /* Channel Node */ - chan@30 { - label = "batt_therm"; - reg = <0x30>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <1>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <3>; - qcom,btm-channel-number = <0x48>; - }; - - chan@8 { - label = "die_temp"; - reg = <8>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <3>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <3>; - qcom,btm-channel-number = <0x68>; - }; - - chan@6 { - label = "vbat_sns"; - reg = <6>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <1>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <3>; - qcom,btm-channel-number = <0x70>; - }; - - chan@14 { - label = "pa_therm0"; - reg = <0x14>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - qcom,btm-channel-number = <0x78>; - qcom,thermal-node; - }; - - chan@17 { - label = "pa_therm1"; - reg = <0x17>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - qcom,btm-channel-number = <0x80>; - qcom,thermal-node; - }; -}; - -&pm8226_chg { - status = "ok"; - - qcom,chgr@1000 { - status = "ok"; - }; - - qcom,buck@1100 { - status = "ok"; - }; - - qcom,bat-if@1200 { - status = "ok"; - }; - - qcom,usb-chgpth@1300 { - status = "ok"; - }; - - qcom,boost@1500 { - status = "ok"; - }; - - qcom,chg-misc@1600 { - status = "ok"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8610-bus.dtsi b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8610-bus.dtsi deleted file mode 100644 index d9bb6ab20..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8610-bus.dtsi +++ /dev/null @@ -1,1014 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -&soc { - msm-mmss-noc@fc478000 { - compatible = "msm-bus-fabric"; - reg = <0xfc478000 0x00004000>; - cell-id = <2048>; - label = "msm_mmss_noc"; - qcom,fabclk-dual = "bus_clk"; - qcom,fabclk-active = "bus_a_clk"; - qcom,ntieredslaves = <0>; - qcom,qos-freq = <4800>; - qcom,hw-sel = "NoC"; - qcom,rpm-en; - - coresight-id = <52>; - coresight-name = "coresight-mnoc"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_in0>; - coresight-child-ports = <5>; - - mas-mdp-port0 { - cell-id = <22>; - label = "mas-mdp-port0"; - qcom,masterp = <2>; - qcom,tier = <2>; - qcom,hw-sel = "NoC"; - qcom,perm-mode = "Fixed"; - qcom,mode = "Fixed"; - qcom,qport = <0>; - qcom,ws = <10000>; - qcom,mas-hw-id = <8>; - qcom,prio1 = <2>; - qcom,prio0 = <2>; - }; - - mas-vfe { - cell-id = <29>; - label = "mas-vfe"; - qcom,masterp = <3>; - qcom,tier = <2>; - qcom,hw-sel = "NoC"; - qcom,perm-mode = "Bypass"; - qcom,mode = "Bypass"; - qcom,ws = <10000>; - qcom,qport = <2>; - qcom,mas-hw-id = <11>; - qcom,prio1 = <2>; - qcom,prio0 = <2>; - }; - - mas-mdpe { - cell-id = <92>; - label = "mas-mdpe"; - qcom,masterp = <4>; - qcom,tier = <2>; - qcom,hw-sel = "NoC"; - qcom,perm-mode = "Fixed"; - qcom,mode = "Fixed"; - qcom,ws = <10000>; - qcom,qport = <7>; - qcom,mas-hw-id = <11>; - qcom,prio1 = <2>; - qcom,prio0 = <2>; - }; - - fab-bimc { - cell-id = <0>; - label = "fab-bimc"; - qcom,gateway; - qcom,slavep = <16>; - qcom,buswidth = <8>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <16>; - }; - - slv-camera-cfg { - cell-id = <589>; - label = "slv-camera-cfg"; - qcom,slavep = <0>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <3>; - }; - - slv-display-cfg { - cell-id = <590>; - label = "slv-display-cfg"; - qcom,slavep = <1>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <4>; - }; - - slv-cpr-cfg { - cell-id = <592>; - label = "slv-cpr-cfg"; - qcom,slavep = <3>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <6>; - }; - - slv-cpr-xpu-cfg { - cell-id = <593>; - label = "slv-cpr-xpu-cfg"; - qcom,slavep = <4>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <7>; - }; - - slv-misc-cfg { - cell-id = <594>; - label = "slv-misc-cfg"; - qcom,slavep = <6>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <8>; - }; - - slv-misc-xpu-cfg { - cell-id = <595>; - label = "slv-misc-xpu-cfg"; - qcom,slavep = <7>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <9>; - }; - - slv-gfx3d-cfg { - cell-id = <598>; - label = "slv-gfx3d-cfg"; - qcom,slavep = <9>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <11>; - }; - - slv-mmss-clk-cfg { - cell-id = <599>; - label = "slv-mmss-clk-cfg"; - qcom,slavep = <11>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <12>; - }; - - slv-mmss-clk-xpu-cfg { - cell-id = <600>; - label = "slv-mmss-clk-xpu-cfg"; - qcom,slavep = <12>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <13>; - }; - - slv-mnoc-mpu-cfg { - cell-id = <601>; - label = "slv-mnoc-mpu-cfg"; - qcom,slavep = <13>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <14>; - }; - - slv-onoc-mpu-cfg { - cell-id = <602>; - label = "slv-onoc-mpu-cfg"; - qcom,slavep = <14>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <15>; - }; - - slv-service-mnoc { - cell-id = <603>; - label = "slv-service-mnoc"; - qcom,slavep = <18>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <17>; - }; - - slv-dsi-cfg { - cell-id = <649>; - label = "slv-dsi-cfg"; - qcom,slavep = <19>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <19>; - }; - }; - - msm-sys-noc@fc460000 { - compatible = "msm-bus-fabric"; - reg = <0xfc460000 0x00004000>; - cell-id = <1024>; - label = "msm_sys_noc"; - qcom,fabclk-dual = "bus_clk"; - qcom,fabclk-active = "bus_a_clk"; - qcom,ntieredslaves = <0>; - qcom,qos-freq = <4800>; - qcom,hw-sel = "NoC"; - qcom,rpm-en; - - coresight-id = <50>; - coresight-name = "coresight-snoc"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_in0>; - coresight-child-ports = <3>; - - mas-lpass-ahb { - cell-id = <52>; - label = "mas-lpass-ahb"; - qcom,masterp = <0>; - qcom,tier = <2>; - qcom,mas-hw-id = <18>; - }; - - mas-qdss-bam { - cell-id = <53>; - label = "mas-qdss-bam"; - qcom,masterp = <1>; - qcom,tier = <2>; - qcom,mas-hw-id = <19>; - }; - - mas-snoc-cfg { - cell-id = <54>; - label = "mas-snoc-cfg"; - qcom,masterp = <2>; - qcom,tier = <2>; - qcom,mas-hw-id = <20>; - }; - - fab-bimc { - cell-id = <0>; - label= "fab-bimc"; - qcom,gateway; - qcom,slavep = <7>; - qcom,masterp = <3>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <21>; - qcom,slv-hw-id = <24>; - }; - - fab-cnoc { - cell-id = <5120>; - label = "fab-cnoc"; - qcom,gateway; - qcom,slavep = <8>; - qcom,masterp = <4>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <22>; - qcom,slv-hw-id = <25>; - }; - - fab-pnoc { - cell-id = <4096>; - label = "fab-pnoc"; - qcom,gateway; - qcom,slavep = <10>; - qcom,masterp = <10>; - qcom,buswidth = <8>; - qcom,qport = <8>; - qcom,mas-hw-id = <29>; - qcom,slv-hw-id = <28>; - qcom,mode = "Fixed"; - qcom,prio0 = <2>; - qcom,prio1 = <2>; - }; - - fab-ovnoc { - cell-id = <6144>; - label = "fab-ovnoc"; - qcom,gateway; - qcom,buswidth = <8>; - qcom,mas-hw-id = <53>; - qcom,slv-hw-id = <77>; - }; - - mas-crypto-core0 { - cell-id = <55>; - label = "mas-crypto-core0"; - qcom,masterp = <5>; - qcom,tier = <2>; - qcom,mas-hw-id = <23>; - qcom,hw-sel = "NoC"; - qcom,prio0 = <1>; - qcom,prio1 = <1>; - }; - - mas-mss { - cell-id = <38>; - label = "mas-mss"; - qcom,masterp = <7>; - qcom,tier = <2>; - qcom,mas-hw-id = <26>; - }; - - mas-mss-nav { - cell-id = <57>; - label = "mas-mss-nav"; - qcom,masterp = <8>; - qcom,tier = <2>; - qcom,mas-hw-id = <27>; - }; - - mas-ocmem-dma { - cell-id = <58>; - label = "mas-ocmem-dma"; - qcom,masterp = <9>; - qcom,tier = <2>; - qcom,mode = "Fixed"; - qcom,qport = <7>; - qcom,mas-hw-id = <28>; - }; - - mas-wcss { - cell-id = <59>; - label = "mas-wcss"; - qcom,masterp = <11>; - qcom,tier = <2>; - qcom,mas-hw-id = <30>; - }; - - mas-qdss-etr { - cell-id = <60>; - label = "mas-qdss-etr"; - qcom,masterp = <12>; - qcom,tier = <2>; - qcom,qport = <10>; - qcom,mode = "Fixed"; - qcom,mas-hw-id = <31>; - }; - - slv-ocmem { - cell-id = <604>; - label = "slv-gmem"; - qcom,slavep = <15>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <18>; - }; - - slv-ampss { - cell-id = <520>; - label = "slv-ampss"; - qcom,slavep = <1>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <20>; - }; - - slv-lpass { - cell-id = <522>; - label = "slv-lpass"; - qcom,slavep = <2>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <21>; - }; - - slv-wcss { - cell-id = <584>; - label = "slv-wcss"; - qcom,slavep = <6>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <23>; - }; - - slv-ocimem { - cell-id = <585>; - label = "slv-ocimem"; - qcom,slavep = <10>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <26>; - }; - - slv-service-snoc { - cell-id = <587>; - label = "slv-service-snoc"; - qcom,slavep = <11>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <29>; - }; - - slv-qdss-stm { - cell-id = <588>; - label = "slv-qdss-stm"; - qcom,slavep = <12>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <30>; - }; - - }; - - msm-periph-noc@fc468000 { - compatible = "msm-bus-fabric"; - reg = <0xfc468000 0x00004000>; - cell-id = <4096>; - label = "msm_periph_noc"; - qcom,fabclk-dual = "bus_clk"; - qcom,fabclk-active = "bus_a_clk"; - qcom,ntieredslaves = <0>; - qcom,hw-sel = "NoC"; - qcom,rpm-en; - - coresight-id = <54>; - coresight-name = "coresight-pnoc"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_in0>; - coresight-child-ports = <6>; - - mas-pnoc-cfg { - cell-id = <88>; - label = "mas-pnoc-cfg"; - qcom,masterp = <7>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <43>; - }; - - mas-sdcc-1 { - cell-id = <78>; - label = "mas-sdcc-1"; - qcom,masterp = <0>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <33>; - }; - - mas-sdcc-2 { - cell-id = <81>; - label = "mas-sdcc-2"; - qcom,masterp = <2>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <35>; - }; - - mas-blsp-1 { - cell-id = <86>; - label = "mas-blsp-1"; - qcom,masterp = <5>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <41>; - }; - - mas-usb-hs { - cell-id = <87>; - label = "mas-usb-hs"; - qcom,masterp = <6>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <42>; - }; - - fab-snoc { - cell-id = <1024>; - label = "fab-snoc"; - qcom,gateway; - qcom,slavep = <12>; - qcom,masterp = <8>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <45>; - qcom,mas-hw-id = <44>; - }; - - slv-sdcc-1 { - cell-id = <606>; - label = "slv-sdcc-1"; - qcom,slavep = <0>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <31>; - }; - - slv-sdcc-2 { - cell-id = <608>; - label = "slv-sdcc-2"; - qcom,slavep = <2>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <33>; - }; - - slv-blsp-1 { - cell-id = <613>; - label = "slv-blsp-1"; - qcom,slavep = <5>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <39>; - }; - - slv-usb-hs { - cell-id = <614>; - label = "slv-usb-hs"; - qcom,slavep = <6>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <40>; - }; - - slv-pdm { - cell-id = <615>; - label = "slv-pdm"; - qcom,slavep = <7>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <41>; - }; - - slv-periph-apu-cfg { - cell-id = <616>; - label = "slv-periph-apu-cfg"; - qcom,slavep = <8>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <42>; - }; - - slv-pnoc-mpu-cfg { - cell-id = <617>; - label = "slv-pnoc-mpu-cfg"; - qcom,slavep = <9>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <43>; - }; - - slv-prng { - cell-id = <618>; - label = "slv-prng"; - qcom,slavep = <10>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <44>; - }; - - slv-service-pnoc { - cell-id = <619>; - label = "slv-service-pnoc"; - qcom,slavep = <12>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <46>; - }; - - }; - - msm-config-noc@fc480000 { - compatible = "msm-bus-fabric"; - reg = <0xfc480000 0x00004000>; - cell-id = <5120>; - label = "msm_config_noc"; - qcom,fabclk-dual = "bus_clk"; - qcom,fabclk-active = "bus_a_clk"; - qcom,ntieredslaves = <0>; - qcom,hw-sel = "NoC"; - qcom,rpm-en; - - mas-rpm-inst { - cell-id = <72>; - label = "mas-rpm-inst"; - qcom,masterp = <0>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <45>; - }; - - mas-rpm-data { - cell-id = <73>; - label = "mas-rpm-data"; - qcom,masterp = <1>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <46>; - }; - - mas-rpm-sys { - cell-id = <74>; - label = "mas-rpm-sys"; - qcom,masterp = <2>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <47>; - }; - - mas-dehr { - cell-id = <75>; - label = "mas-dehr"; - qcom,masterp = <3>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <48>; - }; - - mas-qdss-dsp { - cell-id = <76>; - label = "mas-qdss-dap"; - qcom,masterp = <4>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <49>; - }; - - mas-spdm { - cell-id = <36>; - label = "mas-spdm"; - qcom,masterp = <5>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <50>; - }; - - mas-tic { - cell-id = <77>; - label = "mas-tic"; - qcom,masterp = <6>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <51>; - }; - - slv-clk-ctl { - cell-id = <620>; - label = "slv-clk-ctl"; - qcom,slavep = <1>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <47>; - }; - - slv-cnoc-mss { - cell-id = <621>; - label = "slv-cnoc-mss"; - qcom,slavep = <2>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <48>; - }; - - slv-security { - cell-id = <622>; - label = "slv-security"; - qcom,slavep = <3>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <49>; - }; - - slv-tcsr { - cell-id = <623>; - label = "slv-tcsr"; - qcom,slavep = <4>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <50>; - }; - - slv-tlmm { - cell-id = <624>; - label = "slv-tlmm"; - qcom,slavep = <5>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <51>; - }; - - slv-crypto-0-cfg { - cell-id = <625>; - label = "slv-crypto-0-cfg"; - qcom,slavep = <6>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <52>; - }; - - slv-imem-cfg { - cell-id = <627>; - label = "slv-imem-cfg"; - qcom,slavep = <7>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <54>; - }; - - slv-message-ram { - cell-id = <628>; - label = "slv-message-ram"; - qcom,slavep = <8>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <55>; - }; - - slv-bimc-cfg { - cell-id = <629>; - label = "slv-bimc-cfg"; - qcom,slavep = <9>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <56>; - }; - - slv-boot-rom { - cell-id = <630>; - label = "slv-boot-rom"; - qcom,slavep = <10>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <57>; - }; - - slv-pmic-arb { - cell-id = <632>; - label = "slv-pmic-arb"; - qcom,slavep = <12>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <59>; - }; - - slv-spdm-wrapper { - cell-id = <633>; - label = "slv-spdm-wrapper"; - qcom,slavep = <13>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <60>; - }; - - slv-dehr-cfg { - cell-id = <634>; - label = "slv-dehr-cfg"; - qcom,slavep = <14>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <61>; - }; - - slv-mpm { - cell-id = <536>; - label = "slv-mpm"; - qcom,slavep = <15>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <62>; - }; - - slv-qdss-cfg { - cell-id = <635>; - label = "slv-qdss-cfg"; - qcom,slavep = <16>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <63>; - }; - - slv-rbcpr-cfg { - cell-id = <636>; - label = "slv-rbcpr-cfg"; - qcom,slavep = <17>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <64>; - }; - - slv-rbcpr-qdss-apu-cfg { - cell-id = <637>; - label = "slv-rbcpr-qdss-apu-cfg"; - qcom,slavep = <18>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <65>; - }; - - fab-snoc { - cell-id = <1024>; - label = "fab-snoc"; - qcom,gateway; - qcom,slavep = <26>; - qcom,masterp = <7>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <52>; - qcom,slv-hw-id = <75>; - }; - - slv-cnoc-mnoc-mmss-cfg { - cell-id = <631>; - label = "slv-cnoc-mnoc-mmss-cfg"; - qcom,slavep = <11>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <58>; - }; - - slv-cnoc-mnoc-cfg { - cell-id = <640>; - label = "slv-cnoc-mnoc-cfg"; - qcom,slavep = <19>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <66>; - }; - - slv-pnoc-cfg { - cell-id = <641>; - label = "slv-pnoc-cfg"; - qcom,slavep = <21>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <69>; - }; - - slv-snoc-mpu-cfg { - cell-id = <638>; - label = "slv-snoc-mpu-cfg"; - qcom,slavep = <20>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <67>; - }; - - slv-snoc-cfg { - cell-id = <642>; - label = "slv-snoc-cfg"; - qcom,slavep = <22>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <70>; - }; - - slv-phy-apu-cfg { - cell-id = <644>; - label = "slv-phy-apu-cfg"; - qcom,slavep = <23>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <72>; - }; - - slv-ebi1-phy-cfg { - cell-id = <645>; - label = "slv-ebi1-phy-cfg"; - qcom,slavep = <24>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <73>; - }; - - slv-rpm { - cell-id = <534>; - label = "slv-rpm"; - qcom,slavep = <25>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <74>; - }; - - slv-service-cnoc { - cell-id = <646>; - label = "slv-service-cnoc"; - qcom,slavep = <27>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <76>; - }; - - }; - - msm-bimc@0xfc380000 { - compatible = "msm-bus-fabric"; - reg = <0xfc380000 0x0006A000>; - cell-id = <0>; - label = "msm_bimc"; - qcom,fabclk-dual = "mem_clk"; - qcom,fabclk-active = "mem_a_clk"; - qcom,ntieredslaves = <0>; - qcom,qos-freq = <4800>; - qcom,hw-sel = "BIMC"; - qcom,rpm-en; - - coresight-id = <55>; - coresight-name = "coresight-bimc"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_in1>; - coresight-child-ports = <3>; - - mas-ampss-m0 { - cell-id = <1>; - label = "mas-ampss-m0"; - qcom,masterp = <0>; - qcom,tier = <2>; - qcom,hw-sel = "BIMC"; - qcom,mode = "Fixed"; - qcom,qport = <0>; - qcom,ws = <10000>; - qcom,mas-hw-id = <0>; - qcom,prio-rd = <1>; - qcom,prio-wr = <1>; - qcom,prio-lvl = <1>; - }; - - mas-mss-proc { - cell-id = <65>; - label = "mas-mss-proc"; - qcom,masterp = <3>; - qcom,tier = <2>; - qcom,hw-sel = "RPM"; - qcom,mas-hw-id = <1>; - }; - - fab-mmss-noc { - cell-id = <2048>; - label = "fab_mmss_noc"; - qcom,masterp = <1>; - qcom,qport = <1>; - qcom,buswidth = <8>; - qcom,ws = <10000>; - qcom,mas-hw-id = <2>; - qcom,hw-sel = "BIMC"; - qcom,mode = "Bypass"; - }; - - fab-snoc { - cell-id = <1024>; - label = "fab-snoc"; - qcom,gateway; - qcom,slavep = <2>; - qcom,masterp = <2>; - qcom,qport = <2>; - qcom,buswidth = <8>; - qcom,ws = <10000>; - qcom,mas-hw-id = <3>; - qcom,slv-hw-id = <2>; - }; - - mas-lpass-proc { - cell-id = <11>; - label = "mas-lpass-proc"; - qcom,masterp = <4>; - qcom,tier = <2>; - qcom,qport = <4>; - qcom,mas-hw-id = <25>; - qcom,mode = "Fixed"; - qcom,prio0 = <1>; - qcom,prio1 = <1>; - }; - - mas-gfx3d { - cell-id = <26>; - label = "mas-gfx3d"; - qcom,masterp = <5>; - qcom,tier = <2>; - qcom,hw-sel = "BIMC"; - qcom,perm-mode = "Fixed"; - qcom,mode = "Fixed"; - qcom,ws = <10000>; - qcom,qport = <5>; - qcom,mas-hw-id = <6>; - }; - - - slv-ebi-ch0 { - cell-id = <512>; - label = "slv-ebi-ch0"; - qcom,slavep = <0>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <0>; - }; - }; - -}; - - diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8610-camera-sensor-cdp-mtp.dtsi b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8610-camera-sensor-cdp-mtp.dtsi deleted file mode 100644 index d05726006..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8610-camera-sensor-cdp-mtp.dtsi +++ /dev/null @@ -1,116 +0,0 @@ -/* - * Copyright (c) 2013, 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. - */ - -&i2c { - - led_flash0: qcom,led-flash@60 { - cell-index = <0>; - reg = <0x60>; - qcom,slave-id = <0x60 0x00 0x0011>; - compatible = "qcom,led-flash"; - qcom,flash-name = "adp1600"; - qcom,flash-type = <1>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 18 0>, - <&msmgpio 19 0>; - qcom,gpio-flash-en = <0>; - qcom,gpio-flash-now = <1>; - qcom,gpio-req-tbl-num = <0 1>; - qcom,gpio-req-tbl-flags = <0 0>; - qcom,gpio-req-tbl-label = "FLASH_EN", - "FLASH_NOW"; - }; - - actuator0: qcom,actuator@6e { - cell-index = <3>; - reg = <0x6c>; - compatible = "qcom,actuator"; - qcom,cci-master = <0>; - }; - - qcom,camera@6f { - compatible = "qcom,ov8825"; - reg = <0x6f>; - qcom,slave-id = <0x6c 0x300a 0x8825>; - qcom,csiphy-sd-index = <0>; - qcom,csid-sd-index = <0>; - qcom,actuator-src = <&actuator0>; - qcom,led-flash-src = <&led_flash0>; - qcom,mount-angle = <90>; - qcom,sensor-name = "ov8825"; - cam_vdig-supply = <&pm8110_l2>; - cam_vana-supply = <&pm8110_l19>; - cam_vio-supply = <&pm8110_l14>; - cam_vaf-supply = <&pm8110_l16>; - qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana", - "cam_vaf"; - qcom,cam-vreg-type = <0 0 0 0>; - qcom,cam-vreg-min-voltage = <1200000 1800000 2850000 3000000>; - qcom,cam-vreg-max-voltage = <1200000 1800000 2850000 3000000>; - qcom,cam-vreg-op-mode = <200000 8000 80000 100000>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 13 0>, - <&msmgpio 21 0>, - <&msmgpio 20 0>; - qcom,gpio-reset = <1>; - qcom,gpio-standby = <2>; - qcom,gpio-req-tbl-num = <0 1 2>; - qcom,gpio-req-tbl-flags = <1 0 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1", - "CAM_STANDBY"; - qcom,csi-lane-assign = <0xe4>; - qcom,csi-lane-mask = <0x3>; - qcom,sensor-position = <0>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - }; - - qcom,camera@6d { - compatible = "qcom,ov9724"; - reg = <0x6d>; - qcom,slave-id = <0x20 0x0 0x9724>; - qcom,csiphy-sd-index = <1>; - qcom,csid-sd-index = <0>; - qcom,mount-angle = <90>; - qcom,sensor-name = "ov9724"; - cam_vdig-supply = <&pm8110_l4>; - cam_vana-supply = <&pm8110_l19>; - cam_vio-supply = <&pm8110_l14>; - qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana"; - qcom,cam-vreg-type = <0 1 0>; - qcom,cam-vreg-min-voltage = <1200000 0 2850000>; - qcom,cam-vreg-max-voltage = <1200000 0 2850000>; - qcom,cam-vreg-op-mode = <200000 0 80000>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 14 0>, - <&msmgpio 15 0>, - <&msmgpio 8 0>; - qcom,gpio-reset = <1>; - qcom,gpio-standby = <2>; - qcom,gpio-req-tbl-num = <0 1 2>; - qcom,gpio-req-tbl-flags = <1 0 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET", - "CAM_STANDBY"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 4000>; - qcom,csi-lane-assign = <0xe4>; - qcom,csi-lane-mask = <0x1>; - qcom,sensor-position = <1>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - status = "ok"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8610-camera.dtsi b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8610-camera.dtsi deleted file mode 100644 index b1c94dd24..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8610-camera.dtsi +++ /dev/null @@ -1,80 +0,0 @@ -/* - * Copyright (c) 2013, 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. - */ - -&soc{ - qcom,msm-cam@fd8c0000 { - compatible = "qcom,msm-cam"; - reg = <0xfd8C0000 0x10000>; - reg-names = "msm-cam"; - }; - - qcom,csiphy@fda00c00 { - cell-index = <0>; - compatible = "qcom,csiphy"; - reg = <0xfda00c00 0x1f4>; - reg-names = "csiphy"; - interrupts = <0 78 0>; - interrupt-names = "csiphy"; - }; - - qcom,csiphy@fda01000 { - cell-index = <1>; - compatible = "qcom,csiphy"; - reg = <0xfda01000 0x1f4>; - reg-names = "csiphy"; - interrupts = <0 79 0>; - interrupt-names = "csiphy"; - }; - - qcom,csid@fda00000 { - cell-index = <0>; - compatible = "qcom,csid"; - reg = <0xfda00000 0x100>; - reg-names = "csid"; - interrupts = <0 50 0>; - interrupt-names = "csid"; - qcom,csi-vdd-voltage = <1200000>; - qcom,mipi-csi-vdd-supply = <&pm8110_l4>; - }; - - qcom,csid@fda00400 { - cell-index = <1>; - compatible = "qcom,csid"; - reg = <0xfda00400 0x100>; - reg-names = "csid"; - interrupts = <0 51 0>; - interrupt-names = "csid"; - qcom,csi-vdd-voltage = <1200000>; - qcom,mipi-csi-vdd-supply = <&pm8110_l4>; - }; - - qcom,ispif@fda00800 { - cell-index = <0>; - compatible = "qcom,ispif"; - reg = <0xfda00800 0x200>; - reg-names = "ispif"; - interrupts = <0 52 0>; - interrupt-names = "ispif"; - }; - - qcom,vfe@fde00000 { - cell-index = <0>; - compatible = "qcom,vfe32"; - reg = <0xfde00000 0x800>; - reg-names = "vfe", "vfe_vbif"; - interrupts = <0 49 0>; - interrupt-names = "vfe"; - vdd-supply = <&gdsc_vfe>; - }; - -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8610-cdp.dts b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8610-cdp.dts deleted file mode 100644 index bbdc2b8df..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8610-cdp.dts +++ /dev/null @@ -1,396 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; - -/include/ "msm8610.dtsi" -/include/ "dsi-v2-panel-truly-wvga-video.dtsi" -/include/ "msm8610-camera-sensor-cdp-mtp.dtsi" - -/ { - model = "Qualcomm MSM 8610 CDP"; - compatible = "qcom,msm8610-cdp", "qcom,msm8610", "qcom,cdp"; - qcom,msm-id = <147 1 0>, <165 1 0>, <161 1 0>, <162 1 0>, - <163 1 0>, <164 1 0>, <166 1 0>; -}; - -&soc { - serial@f991e000 { - status = "ok"; - }; - - i2c@f9923000{ - atmel_mxt_ts@4a { - compatible = "atmel,mxt-ts"; - reg = <0x4a>; - interrupt-parent = <&msmgpio>; - interrupts = <1 0x2>; - vdd_ana-supply = <&pm8110_l19>; - vcc_i2c-supply = <&pm8110_l14>; - atmel,reset-gpio = <&msmgpio 0 0x00>; - atmel,irq-gpio = <&msmgpio 1 0x00>; - atmel,panel-coords = <0 0 508 880>; - atmel,display-coords = <0 0 480 800>; - atmel,i2c-pull-up; - atmel,no-force-update; - atmel,cfg_1 { - atmel,family-id = <0x81>; - atmel,variant-id = <0x15>; - atmel,version = <0x11>; - atmel,build = <0xaa>; - atmel,config = [ - /* Object 6, Instance = 0 */ - 00 00 00 00 00 00 - /* Object 38, Instance = 0 */ - 1D 01 00 0C 04 0D 00 00 - /* Object 7, Instance = 0 */ - 20 08 32 - /* Object 8, Instance = 0 */ - 19 00 14 14 FF 00 FF 00 00 00 - /* Object 9, Instance = 0 */ - 83 00 00 13 0B 00 20 32 01 03 - 00 32 05 30 0A 05 0A 00 70 03 - FC 01 00 36 2F 2C 00 00 40 00 - 00 0A 00 00 02 - /* Object 18, Instance = 0 */ - 00 00 - /* Object 19, Instance = 0 */ - 00 00 00 00 00 00 - /* Object 25, Instance = 0 */ - 03 00 18 79 A8 61 - /* Object 58, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 - /* Object 42, Instance = 0 */ - 00 00 00 00 00 00 00 00 - /* Object 46, Instance = 0 */ - 04 03 08 10 00 00 00 00 00 - /* Object 47, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - /* Object 48, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 - /* Object 55, Instance = 0 */ - 00 00 00 00 - ]; - }; - }; - }; - - gen-vkeys { - compatible = "qcom,gen-vkeys"; - label = "atmel_mxt_ts"; - qcom,disp-maxx = <480>; - qcom,disp-maxy = <800>; - qcom,panel-maxx = <508>; - qcom,panel-maxy = <880>; - qcom,key-codes = <158 102 139>; - qcom,y-offset = <35>; - }; - - gpio_keys { - compatible = "gpio-keys"; - input-name = "gpio-keys"; - - camera_snapshot { - label = "camera_snapshot"; - gpios = <&msmgpio 73 0x1>; - linux,input-type = <1>; - linux,code = <0x2fe>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - - camera_focus { - label = "camera_focus"; - gpios = <&msmgpio 74 0x1>; - linux,input-type = <1>; - linux,code = <0x210>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - - vol_up { - label = "volume_up"; - gpios = <&msmgpio 72 0x1>; - linux,input-type = <1>; - linux,code = <115>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - }; - - sound { - qcom,audio-routing = - "RX_BIAS", "MCLK", - "INT_LDO_H", "MCLK", - "MIC BIAS External", "Handset Mic", - "MIC BIAS Internal2", "Headset Mic", - "AMIC1", "MIC BIAS External", - "AMIC2", "MIC BIAS Internal2"; - }; -}; - -&i2c_cdc { - msm8x10_wcd_codec@0d{ - compatible = "qcom,msm8x10-wcd-i2c"; - reg = <0x0d>; - cdc-vdda-cp-supply = <&pm8110_s4>; - qcom,cdc-vdda-cp-voltage = <2150000 2150000>; - qcom,cdc-vdda-cp-current = <650000>; - - cdc-vdda-h-supply = <&pm8110_l6>; - qcom,cdc-vdda-h-voltage = <1800000 1800000>; - qcom,cdc-vdda-h-current = <250000>; - - cdc-vdd-px-supply = <&pm8110_l6>; - qcom,cdc-vdd-px-voltage = <1800000 1800000>; - qcom,cdc-vdd-px-current = <10000>; - - cdc-vdd-1p2v-supply = <&pm8110_l4>; - qcom,cdc-vdd-1p2v-voltage = <1200000 1200000>; - qcom,cdc-vdd-1p2v-current = <5000>; - - cdc-vdd-mic-bias-supply = <&pm8110_l20>; - qcom,cdc-vdd-mic-bias-voltage = <3075000 3075000>; - qcom,cdc-vdd-mic-bias-current = <25000>; - - qcom,cdc-micbias-cfilt-sel = <0x0>; - qcom,cdc-micbias-cfilt-mv = <1800000>; - qcom,cdc-mclk-clk-rate = <12288000>; - }; - - msm8x10_wcd_codec@77{ - compatible = "qcom,msm8x10-wcd-i2c"; - reg = <0x77>; - }; - - msm8x10_wcd_codec@66{ - compatible = "qcom,msm8x10-wcd-i2c"; - reg = <0x66>; - }; - - msm8x10_wcd_codec@55{ - compatible = "qcom,msm8x10-wcd-i2c"; - reg = <0x55>; - }; -}; - -&spmi_bus { - qcom,pm8110@0 { - qcom,leds@a100 { - status = "okay"; - qcom,led_mpp_2 { - label = "mpp"; - linux,name = "button-backlight"; - linux-default-trigger = "hr-trigger"; - qcom,default-state = "off"; - qcom,max-current = <40>; - qcom,id = <6>; - qcom,source-sel = <1>; - qcom,mode-ctrl = <0x60>; - qcom,mode = "manual"; - }; - }; - - qcom,leds@a200 { - status = "okay"; - qcom,led_mpp_3 { - label = "mpp"; - linux,name = "wled-backlight"; - linux,default-trigger = "bkl-trigger"; - qcom,default-state = "on"; - qcom,max-current = <40>; - qcom,id = <6>; - qcom,source-sel = <1>; - qcom,mode-ctrl = <0x10>; - qcom,mode = "manual"; - }; - }; - }; -}; - -&spmi_bus { - qcom,pm8110@1 { - qcom,vibrator@c000 { - status = "okay"; - qcom,vib-timeout-ms = <15000>; - qcom,vib-vtg-level-mV = <3100>; - }; - }; -}; - -&sdhc_1 { - vdd-supply = <&pm8110_l17>; - qcom,vdd-always-on; - qcom,vdd-lpm-sup; - qcom,vdd-voltage-level = <2900000 2900000>; - qcom,vdd-current-level = <200 400000>; - - vdd-io-supply = <&pm8110_l6>; - qcom,vdd-io-always-on; - qcom,vdd-io-lpm-sup; - qcom,vdd-io-voltage-level = <1800000 1800000>; - qcom,vdd-io-current-level = <200 60000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - qcom,bus-speed-mode = "HS200_1p8v", "DDR_1p8v"; - qcom,nonremovable; - - status = "ok"; -}; - -&sdhc_2 { - vdd-supply = <&pm8110_l18>; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <15000 400000>; - - vdd-io-supply = <&pm8110_l21>; - qcom,vdd-io-voltage-level = <1800000 2950000>; - qcom,vdd-io-current-level = <200 50000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - - #address-cells = <0>; - interrupt-parent = <&sdhc_2>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 125 0 - 1 &intc 0 221 0 - 2 &msmgpio 42 0x3>; - interrupt-names = "hc_irq", "pwr_irq", "status_irq"; - cd-gpios = <&msmgpio 42 0x1>; - - status = "ok"; -}; - -&pm8110_chg { - status = "ok"; - qcom,charging-disabled; - qcom,use-default-batt-values; - - qcom,chgr@1000 { - status = "ok"; - }; - - qcom,buck@1100 { - status = "ok"; - }; - - qcom,usb-chgpth@1300 { - status = "ok"; - }; - - qcom,chg-misc@1600 { - status = "ok"; - }; -}; - -&pm8110_gpios { - gpio@c000 { /* GPIO 1 */ - }; - - gpio@c100 { /* GPIO 2 */ - }; - - gpio@c200 { /* GPIO 3 */ - }; - - gpio@c300 { /* GPIO 4 */ - }; -}; - -&pm8110_mpps { - mpp@a000 { /* MPP 1 */ - }; - - mpp@a100 { /* MPP 2 */ - status = "disabled"; - }; - - mpp@a200 { /* MPP 3 */ - status = "disabled"; - }; - - mpp@a300 { /* MPP 4 */ - /* PA_THERM config */ - qcom,mode = <4>; /* AIN input */ - qcom,invert = <1>; /* Enable MPP */ - qcom,ain-route = <3>; /* AMUX 8 */ - qcom,master-en = <1>; - qcom,src-sel = <0>; /* Function constant */ - }; -}; - -/* CoreSight */ -&tpiu { - qcom,seta-gpios = <&msmgpio 4 0>, - <&msmgpio 5 0>, - <&msmgpio 6 0>, - <&msmgpio 7 0>, - <&msmgpio 22 0>, - <&msmgpio 23 0>, - <&msmgpio 24 0>, - <&msmgpio 25 0>, - <&msmgpio 26 0>, - <&msmgpio 27 0>, - <&msmgpio 28 0>, - <&msmgpio 29 0>, - <&msmgpio 30 0>, - <&msmgpio 31 0>, - <&msmgpio 94 0>, - <&msmgpio 95 0>, - <&msmgpio 96 0>, - <&msmgpio 97 0>; - qcom,seta-gpios-func = <9 9 8 11 2 2 2 2 2 2 3 2 3 3 4 4 4 4>; - qcom,seta-gpios-drv = <7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7>; - qcom,seta-gpios-pull = <0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0>; - qcom,seta-gpios-dir = <2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2>; - - qcom,setb-gpios = <&msmgpio 8 0>, - <&msmgpio 10 0>, - <&msmgpio 11 0>, - <&msmgpio 13 0>, - <&msmgpio 14 0>, - <&msmgpio 15 0>, - <&msmgpio 16 0>, - <&msmgpio 17 0>, - <&msmgpio 18 0>, - <&msmgpio 19 0>, - <&msmgpio 20 0>, - <&msmgpio 21 0>, - <&msmgpio 42 0>, - <&msmgpio 80 0>, - <&msmgpio 81 0>, - <&msmgpio 82 0>, - <&msmgpio 83 0>, - <&msmgpio 84 0>; - qcom,setb-gpios-func = <10 8 8 6 9 9 9 9 9 9 9 9 5 7 7 8 8 8>; - qcom,setb-gpios-drv = <7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7>; - qcom,setb-gpios-pull = <0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0>; - qcom,setb-gpios-dir = <2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2>; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8610-coresight.dtsi b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8610-coresight.dtsi deleted file mode 100644 index 516522eb0..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8610-coresight.dtsi +++ /dev/null @@ -1,357 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -&soc { - tmc_etr: tmc@fc326000 { - compatible = "arm,coresight-tmc"; - reg = <0xfc326000 0x1000>, - <0xfc37c000 0x3000>; - reg-names = "tmc-base", "bam-base"; - - qcom,memory-reservation-type = "EBI1"; - qcom,memory-reservation-size = <0x100000>; /* 1M EBI1 buffer */ - - coresight-id = <0>; - coresight-name = "coresight-tmc-etr"; - coresight-nr-inports = <1>; - coresight-ctis = <&cti0 &cti8>; - }; - - tpiu: tpiu@fc320000 { - compatible = "arm,coresight-tpiu"; - reg = <0xfc320000 0x1000>; - reg-names = "tpiu-base"; - - coresight-id = <1>; - coresight-name = "coresight-tpiu"; - coresight-nr-inports = <1>; - - vdd-supply = <&pm8110_l18>; - - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <15000 400000>; - }; - - replicator: replicator@fc324000 { - compatible = "qcom,coresight-replicator"; - reg = <0xfc324000 0x1000>; - reg-names = "replicator-base"; - - coresight-id = <2>; - coresight-name = "coresight-replicator"; - coresight-nr-inports = <1>; - coresight-outports = <0 1>; - coresight-child-list = <&tmc_etr &tpiu>; - coresight-child-ports = <0 0>; - }; - - tmc_etf: tmc@fc325000 { - compatible = "arm,coresight-tmc"; - reg = <0xfc325000 0x1000>; - reg-names = "tmc-base"; - - coresight-id = <3>; - coresight-name = "coresight-tmc-etf"; - coresight-nr-inports = <1>; - coresight-outports = <0>; - coresight-child-list = <&replicator>; - coresight-child-ports = <0>; - coresight-default-sink; - coresight-ctis = <&cti0 &cti8>; - }; - - funnel_merg: funnel@fc323000 { - compatible = "arm,coresight-funnel"; - reg = <0xfc323000 0x1000>; - reg-names = "funnel-base"; - - coresight-id = <4>; - coresight-name = "coresight-funnel-merg"; - coresight-nr-inports = <2>; - coresight-outports = <0>; - coresight-child-list = <&tmc_etf>; - coresight-child-ports = <0>; - }; - - funnel_in0: funnel@fc321000 { - compatible = "arm,coresight-funnel"; - reg = <0xfc321000 0x1000>; - reg-names = "funnel-base"; - - coresight-id = <5>; - coresight-name = "coresight-funnel-in0"; - coresight-nr-inports = <8>; - coresight-outports = <0>; - coresight-child-list = <&funnel_merg>; - coresight-child-ports = <0>; - }; - - funnel_in1: funnel@fc322000 { - compatible = "arm,coresight-funnel"; - reg = <0xfc322000 0x1000>; - reg-names = "funnel-base"; - - coresight-id = <6>; - coresight-name = "coresight-funnel-in1"; - coresight-nr-inports = <8>; - coresight-outports = <0>; - coresight-child-list = <&funnel_merg>; - coresight-child-ports = <1>; - }; - - funnel_a7ss: funnel@fc355000 { - compatible = "arm,coresight-funnel"; - reg = <0xfc355000 0x1000>; - reg-names = "funnel-base"; - - coresight-id = <7>; - coresight-name = "coresight-funnel-a7ss"; - coresight-nr-inports = <4>; - coresight-outports = <0>; - coresight-child-list = <&funnel_in1>; - coresight-child-ports = <6>; - }; - - stm: stm@fc302000 { - compatible = "arm,coresight-stm"; - reg = <0xfc302000 0x1000>, - <0xfa280000 0x180000>; - reg-names = "stm-base", "stm-data-base"; - - coresight-id = <8>; - coresight-name = "coresight-stm"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_in0>; - coresight-child-ports = <7>; - }; - - etm0: etm@fc34c000 { - compatible = "arm,coresight-etm"; - reg = <0xfc34c000 0x1000>; - reg-names = "etm-base"; - - coresight-id = <9>; - coresight-name = "coresight-etm0"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_a7ss>; - coresight-child-ports = <0>; - - qcom,pc-save; - qcom,round-robin; - }; - - etm1: etm@fc34d000 { - compatible = "arm,coresight-etm"; - reg = <0xfc34d000 0x1000>; - reg-names = "etm-base"; - - coresight-id = <10>; - coresight-name = "coresight-etm1"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_a7ss>; - coresight-child-ports = <1>; - - qcom,pc-save; - qcom,round-robin; - }; - - etm2: etm@fc34e000 { - compatible = "arm,coresight-etm"; - reg = <0xfc34e000 0x1000>; - reg-names = "etm-base"; - - coresight-id = <11>; - coresight-name = "coresight-etm2"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_a7ss>; - coresight-child-ports = <2>; - - qcom,pc-save; - qcom,round-robin; - }; - - etm3: etm@fc34f000 { - compatible = "arm,coresight-etm"; - reg = <0xfc34f000 0x1000>; - reg-names = "etm-base"; - - coresight-id = <12>; - coresight-name = "coresight-etm3"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_a7ss>; - coresight-child-ports = <3>; - - qcom,pc-save; - qcom,round-robin; - }; - - csr: csr@fc301000 { - compatible = "qcom,coresight-csr"; - reg = <0xfc301000 0x1000>; - reg-names = "csr-base"; - - coresight-id = <13>; - coresight-name = "coresight-csr"; - coresight-nr-inports = <0>; - - qcom,blk-size = <1>; - }; - - cti0: cti@fc310000 { - compatible = "arm,coresight-cti"; - reg = <0xfc310000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <14>; - coresight-name = "coresight-cti0"; - coresight-nr-inports = <0>; - }; - - cti1: cti@fc311000 { - compatible = "arm,coresight-cti"; - reg = <0xfc311000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <15>; - coresight-name = "coresight-cti1"; - coresight-nr-inports = <0>; - }; - - cti2: cti@fc312000 { - compatible = "arm,coresight-cti"; - reg = <0xfc312000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <16>; - coresight-name = "coresight-cti2"; - coresight-nr-inports = <0>; - }; - - cti3: cti@fc313000 { - compatible = "arm,coresight-cti"; - reg = <0xfc313000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <17>; - coresight-name = "coresight-cti3"; - coresight-nr-inports = <0>; - }; - - cti4: cti@fc314000 { - compatible = "arm,coresight-cti"; - reg = <0xfc314000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <18>; - coresight-name = "coresight-cti4"; - coresight-nr-inports = <0>; - }; - - cti5: cti@fc315000 { - compatible = "arm,coresight-cti"; - reg = <0xfc315000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <19>; - coresight-name = "coresight-cti5"; - coresight-nr-inports = <0>; - }; - - cti6: cti@fc316000 { - compatible = "arm,coresight-cti"; - reg = <0xfc316000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <20>; - coresight-name = "coresight-cti6"; - coresight-nr-inports = <0>; - }; - - cti7: cti@fc317000 { - compatible = "arm,coresight-cti"; - reg = <0xfc317000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <21>; - coresight-name = "coresight-cti7"; - coresight-nr-inports = <0>; - }; - - cti8: cti@fc318000 { - compatible = "arm,coresight-cti"; - reg = <0xfc318000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <22>; - coresight-name = "coresight-cti8"; - coresight-nr-inports = <0>; - }; - - cti_cpu0: cti@fc351000 { - compatible = "arm,coresight-cti"; - reg = <0xfc351000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <23>; - coresight-name = "coresight-cti-cpu0"; - coresight-nr-inports = <0>; - }; - - cti_cpu1: cti@fc352000 { - compatible = "arm,coresight-cti"; - reg = <0xfc352000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <24>; - coresight-name = "coresight-cti-cpu1"; - coresight-nr-inports = <0>; - }; - - cti_cpu2: cti@fc353000 { - compatible = "arm,coresight-cti"; - reg = <0xfc353000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <25>; - coresight-name = "coresight-cti-cpu2"; - coresight-nr-inports = <0>; - }; - - cti_cpu3: cti@fc354000 { - compatible = "arm,coresight-cti"; - reg = <0xfc354000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <26>; - coresight-name = "coresight-cti-cpu3"; - coresight-nr-inports = <0>; - }; - - hwevent: hwevent@fd820018 { - compatible = "qcom,coresight-hwevent"; - reg = <0xfd820018 0x80>, - <0xf9011080 0x80>, - <0xfd4ab160 0x80>; - reg-names = "mmss-mux", "apcs-mux", "ppss-mux"; - - coresight-id = <27>; - coresight-name = "coresight-hwevent"; - coresight-nr-inports = <0>; - - qcom,hwevent-clks = "core_mmss_clk"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8610-gpu.dtsi b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8610-gpu.dtsi deleted file mode 100644 index 7e3ee0dcb..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8610-gpu.dtsi +++ /dev/null @@ -1,167 +0,0 @@ -/* Copyright (c) 2013, 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. - */ -&soc { - msm_gpu: qcom,kgsl-3d0@fdc00000 { - label = "kgsl-3d0"; - compatible = "qcom,kgsl-3d0", "qcom,kgsl-3d"; - reg = <0xfdc00000 0x10000 - 0xfdc10000 0x10000>; - reg-names = "kgsl_3d0_reg_memory", "kgsl_3d0_shader_memory"; - interrupts = <0 33 0>; - interrupt-names = "kgsl_3d0_irq"; - qcom,id = <0>; - - qcom,chipid = <0x03000520>; - - qcom,initial-pwrlevel = <1>; - - qcom,idle-timeout = <8>; /* */ - qcom,strtstp-sleepwake; - qcom,clk-map = <0x000005E>; /* KGSL_CLK_CORE | - KGSL_CLK_IFACE | KGSL_CLK_MEM | KGSL_CLK_MEM_IFACE | - KGSL_CLK_ALT_MEM_IFACE */ - - /* Bus Scale Settings */ - qcom,msm-bus,name = "grp3d"; - qcom,msm-bus,num-cases = <4>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <26 512 0 0>, - <26 512 0 800000>, - <26 512 0 1600000>, - <26 512 0 2128000>; - - /* GDSC oxili regulators */ - vdd-supply = <&gdsc_oxili_cx>; - - /* IOMMU Data */ - iommu = <&gfx_iommu>; - - /* Power levels */ - qcom,gpu-pwrlevels { - #address-cells = <1>; - #size-cells = <0>; - - compatible = "qcom,gpu-pwrlevels"; - - qcom,gpu-pwrlevel@0 { - reg = <0>; - qcom,gpu-freq = <400000000>; - qcom,bus-freq = <3>; - qcom,io-fraction = <0>; - }; - - qcom,gpu-pwrlevel@1 { - reg = <1>; - qcom,gpu-freq = <300000000>; - qcom,bus-freq = <2>; - qcom,io-fraction = <33>; - }; - - qcom,gpu-pwrlevel@2 { - reg = <2>; - qcom,gpu-freq = <200000000>; - qcom,bus-freq = <2>; - qcom,io-fraction = <33>; - }; - - qcom,gpu-pwrlevel@3 { - reg = <3>; - qcom,gpu-freq = <150000000>; - qcom,bus-freq = <1>; - qcom,io-fraction = <100>; - }; - - qcom,gpu-pwrlevel@4 { - reg = <4>; - qcom,gpu-freq = <27000000>; - qcom,bus-freq = <0>; - qcom,io-fraction = <0>; - }; - }; - - /* DVCS Info */ - qcom,dcvs-core-info { - #address-cells = <1>; - #size-cells = <0>; - - compatible = "qcom,dcvs-core-info"; - - qcom,num-cores = <1>; - qcom,sensors = <0>; - - qcom,core-core-type = <1>; - - qcom,algo-disable-pc-threshold = <0>; - qcom,algo-em-win-size-min-us = <100000>; - qcom,algo-em-win-size-max-us = <300000>; - qcom,algo-em-max-util-pct = <97>; - qcom,algo-group-id = <95>; - qcom,algo-max-freq-chg-time-us = <100000>; - qcom,algo-slack-mode-dynamic = <100000>; - qcom,algo-slack-weight-thresh-pct = <0>; - qcom,algo-slack-time-min-us = <39000>; - qcom,algo-slack-time-max-us = <39000>; - qcom,algo-ss-win-size-min-us = <1000000>; - qcom,algo-ss-win-size-max-us = <1000000>; - qcom,algo-ss-util-pct = <95>; - qcom,algo-ss-no-corr-below-freq = <0>; - - qcom,energy-active-coeff-a = <2492>; - qcom,energy-active-coeff-b = <0>; - qcom,energy-active-coeff-c = <0>; - qcom,energy-leakage-coeff-a = <11>; - qcom,energy-leakage-coeff-b = <157150>; - qcom,energy-leakage-coeff-c = <0>; - qcom,energy-leakage-coeff-d = <0>; - - qcom,power-current-temp = <25>; - qcom,power-num-freq = <4>; - - qcom,dcvs-freq@0 { - reg = <0>; - qcom,freq = <0>; - qcom,voltage = <0>; - qcom,is_trans_level = <0>; - qcom,active-energy-offset = <100>; - qcom,leakage-energy-offset = <0>; - }; - - qcom,dcvs-freq@1 { - reg = <1>; - qcom,freq = <0>; - qcom,voltage = <0>; - qcom,is_trans_level = <0>; - qcom,active-energy-offset = <100>; - qcom,leakage-energy-offset = <0>; - }; - - qcom,dcvs-freq@2 { - reg = <2>; - qcom,freq = <0>; - qcom,voltage = <0>; - qcom,is_trans_level = <0>; - qcom,active-energy-offset = <100>; - qcom,leakage-energy-offset = <0>; - }; - - qcom,dcvs-freq@3 { - reg = <3>; - qcom,freq = <0>; - qcom,voltage = <0>; - qcom,is_trans_level = <0>; - qcom,active-energy-offset = <844545>; - qcom,leakage-energy-offset = <0>; - }; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8610-iommu-domains.dtsi b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8610-iommu-domains.dtsi deleted file mode 100644 index 6f438972d..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8610-iommu-domains.dtsi +++ /dev/null @@ -1,36 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&soc { - qcom,iommu-domains { - compatible = "qcom,iommu-domains"; - - qcom,iommu-domain1 { - label = "lpass_secure"; - qcom,iommu-contexts = <&lpass_q6_fw>; - qcom,virtual-addr-pool = <0x00000000 0x0FFFFFFF - 0xF0000000 0x0FFFFFFF>; - }; - - qcom,iommu-domain2 { - label = "lpass_audio"; - qcom,iommu-contexts = <&lpass_audio_shared>; - qcom,virtual-addr-pool = <0x10000000 0x0FFFFFFF>; - }; - - q6_domain_ns:qcom,iommu-domain3 { - label = "lpass_video"; - qcom,iommu-contexts = <&lpass_video_shared>; - qcom,virtual-addr-pool = <0x20000000 0x0FFFFFFF>; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8610-ion.dtsi b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8610-ion.dtsi deleted file mode 100644 index 456b60ced..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8610-ion.dtsi +++ /dev/null @@ -1,38 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&soc { - qcom,ion { - compatible = "qcom,msm-ion"; - #address-cells = <1>; - #size-cells = <0>; - - qcom,ion-heap@30 { /* SYSTEM HEAP */ - reg = <30>; - }; - - qcom,ion-heap@21 { /* SYSTEM CONTIG HEAP */ - reg = <21>; - }; - - qcom,ion-heap@25 { /* IOMMU HEAP */ - reg = <25>; - }; - - qcom,ion-heap@27 { /* QSECOM HEAP */ - compatible = "qcom,msm-ion-reserve"; - reg = <27>; - linux,contiguous-region = <&qsecom_mem>; - }; - }; -}; - diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8610-mdss.dtsi b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8610-mdss.dtsi deleted file mode 100644 index af0e3e4e3..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8610-mdss.dtsi +++ /dev/null @@ -1,37 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&soc { - qcom,mdss_mdp@fd900000 { - compatible = "qcom,mdss_mdp3"; - reg = <0xfd900000 0x100000>; - reg-names = "mdp_phys"; - interrupts = <0 72 0>; - - mdss_fb0: qcom,mdss_fb_primary { - cell-index = <0>; - compatible = "qcom,mdss-fb"; - qcom,memory-reservation-type = "EBI1"; - qcom,memory-reservation-size = <0x300000>; - }; - }; - - mdss_dsi0: qcom,mdss_dsi@fdd00000 { - compatible = "qcom,msm-dsi-v2"; - label = "MDSS DSI CTRL->0"; - cell-index = <0>; - reg = <0xfdd00000 0x100000>; - interrupts = <0 30 0>; - vdda-supply = <&pm8110_l4>; - qcom,mdss-fb-map = <&mdss_fb0>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8610-mtp.dts b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8610-mtp.dts deleted file mode 100644 index 9406a0911..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8610-mtp.dts +++ /dev/null @@ -1,354 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; - -/include/ "msm8610.dtsi" -/include/ "dsi-v2-panel-truly-wvga-video.dtsi" -/include/ "msm8610-camera-sensor-cdp-mtp.dtsi" - -/ { - model = "Qualcomm MSM 8610 MTP"; - compatible = "qcom,msm8610-mtp", "qcom,msm8610", "qcom,mtp"; - qcom,msm-id = <147 8 0>, <165 8 0>, <161 8 0>, <162 8 0>, - <163 8 0>, <164 8 0>, <166 8 0>; -}; - -&soc { - serial@f991e000 { - status = "ok"; - }; - - i2c@f9923000{ - atmel_mxt_ts@4a { - compatible = "atmel,mxt-ts"; - reg = <0x4a>; - interrupt-parent = <&msmgpio>; - interrupts = <1 0x2>; - vdd_ana-supply = <&pm8110_l19>; - vcc_i2c-supply = <&pm8110_l14>; - atmel,reset-gpio = <&msmgpio 0 0x00>; - atmel,irq-gpio = <&msmgpio 1 0x00>; - atmel,panel-coords = <0 0 508 880>; - atmel,display-coords = <0 0 480 800>; - atmel,i2c-pull-up; - atmel,no-force-update; - atmel,cfg_1 { - atmel,family-id = <0x81>; - atmel,variant-id = <0x15>; - atmel,version = <0x11>; - atmel,build = <0xaa>; - atmel,config = [ - /* Object 6, Instance = 0 */ - 00 00 00 00 00 00 - /* Object 38, Instance = 0 */ - 1D 01 00 0C 04 0D 00 00 - /* Object 7, Instance = 0 */ - 20 08 32 - /* Object 8, Instance = 0 */ - 19 00 14 14 FF 00 FF 00 00 00 - /* Object 9, Instance = 0 */ - 83 00 00 13 0B 00 20 32 01 03 - 00 32 05 30 0A 05 0A 00 70 03 - FC 01 00 36 2F 2C 00 00 40 00 - 00 0A 00 00 02 - /* Object 18, Instance = 0 */ - 00 00 - /* Object 19, Instance = 0 */ - 00 00 00 00 00 00 - /* Object 25, Instance = 0 */ - 03 00 18 79 A8 61 - /* Object 58, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 - /* Object 42, Instance = 0 */ - 00 00 00 00 00 00 00 00 - /* Object 46, Instance = 0 */ - 04 03 08 10 00 00 00 00 00 - /* Object 47, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - /* Object 48, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 - /* Object 55, Instance = 0 */ - 00 00 00 00 - ]; - }; - }; - }; - - gen-vkeys { - compatible = "qcom,gen-vkeys"; - label = "atmel_mxt_ts"; - qcom,disp-maxx = <480>; - qcom,disp-maxy = <800>; - qcom,panel-maxx = <508>; - qcom,panel-maxy = <880>; - qcom,key-codes = <158 102 139>; - qcom,y-offset = <35>; - }; - - gpio_keys { - compatible = "gpio-keys"; - input-name = "gpio-keys"; - - camera_snapshot { - label = "camera_snapshot"; - gpios = <&msmgpio 73 0x1>; - linux,input-type = <1>; - linux,code = <0x2fe>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - - camera_focus { - label = "camera_focus"; - gpios = <&msmgpio 74 0x1>; - linux,input-type = <1>; - linux,code = <0x210>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - - vol_up { - label = "volume_up"; - gpios = <&msmgpio 72 0x1>; - linux,input-type = <1>; - linux,code = <115>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - }; - - sound { - qcom,audio-routing = - "RX_BIAS", "MCLK", - "INT_LDO_H", "MCLK", - "MIC BIAS External", "Handset Mic", - "MIC BIAS Internal2", "Headset Mic", - "AMIC1", "MIC BIAS External", - "AMIC2", "MIC BIAS Internal2"; - }; -}; - -&i2c_cdc { - msm8x10_wcd_codec@0d{ - compatible = "qcom,msm8x10-wcd-i2c"; - reg = <0x0d>; - cdc-vdda-cp-supply = <&pm8110_s4>; - qcom,cdc-vdda-cp-voltage = <2150000 2150000>; - qcom,cdc-vdda-cp-current = <650000>; - - cdc-vdda-h-supply = <&pm8110_l6>; - qcom,cdc-vdda-h-voltage = <1800000 1800000>; - qcom,cdc-vdda-h-current = <250000>; - - cdc-vdd-px-supply = <&pm8110_l6>; - qcom,cdc-vdd-px-voltage = <1800000 1800000>; - qcom,cdc-vdd-px-current = <10000>; - - cdc-vdd-1p2v-supply = <&pm8110_l4>; - qcom,cdc-vdd-1p2v-voltage = <1200000 1200000>; - qcom,cdc-vdd-1p2v-current = <5000>; - - cdc-vdd-mic-bias-supply = <&pm8110_l20>; - qcom,cdc-vdd-mic-bias-voltage = <3075000 3075000>; - qcom,cdc-vdd-mic-bias-current = <25000>; - - qcom,cdc-micbias-cfilt-sel = <0x0>; - qcom,cdc-micbias-cfilt-mv = <1800000>; - qcom,cdc-mclk-clk-rate = <12288000>; - }; - - msm8x10_wcd_codec@77{ - compatible = "qcom,msm8x10-wcd-i2c"; - reg = <0x77>; - }; - - msm8x10_wcd_codec@66{ - compatible = "qcom,msm8x10-wcd-i2c"; - reg = <0x66>; - }; - - msm8x10_wcd_codec@55{ - compatible = "qcom,msm8x10-wcd-i2c"; - reg = <0x55>; - }; -}; - -&spmi_bus { - qcom,pm8110@0 { - qcom,leds@a100 { - status = "okay"; - qcom,led_mpp_2 { - label = "mpp"; - linux,name = "button-backlight"; - linux-default-trigger = "hr-trigger"; - qcom,default-state = "off"; - qcom,max-current = <40>; - qcom,id = <6>; - qcom,source-sel = <1>; - qcom,mode-ctrl = <0x60>; - qcom,mode = "manual"; - }; - }; - - qcom,leds@a200 { - status = "okay"; - qcom,led_mpp_3 { - label = "mpp"; - linux,name = "wled-backlight"; - linux,default-trigger = "bkl-trigger"; - qcom,default-state = "on"; - qcom,max-current = <40>; - qcom,id = <6>; - qcom,source-sel = <1>; - qcom,mode-ctrl = <0x10>; - qcom,mode = "manual"; - }; - }; - }; -}; - -&spmi_bus { - qcom,pm8110@1 { - qcom,vibrator@c000 { - status = "okay"; - qcom,vib-timeout-ms = <15000>; - qcom,vib-vtg-level-mV = <3100>; - }; - }; -}; - -&sdhc_1 { - vdd-supply = <&pm8110_l17>; - qcom,vdd-always-on; - qcom,vdd-lpm-sup; - qcom,vdd-voltage-level = <2900000 2900000>; - qcom,vdd-current-level = <200 400000>; - - vdd-io-supply = <&pm8110_l6>; - qcom,vdd-io-always-on; - qcom,vdd-io-lpm-sup; - qcom,vdd-io-voltage-level = <1800000 1800000>; - qcom,vdd-io-current-level = <200 60000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - qcom,bus-speed-mode = "HS200_1p8v", "DDR_1p8v"; - qcom,nonremovable; - - status = "ok"; -}; - -&sdhc_2 { - vdd-supply = <&pm8110_l18>; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <15000 400000>; - - vdd-io-supply = <&pm8110_l21>; - qcom,vdd-io-voltage-level = <1800000 2950000>; - qcom,vdd-io-current-level = <200 50000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - - #address-cells = <0>; - interrupt-parent = <&sdhc_2>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 125 0 - 1 &intc 0 221 0 - 2 &msmgpio 42 0x3>; - interrupt-names = "hc_irq", "pwr_irq", "status_irq"; - cd-gpios = <&msmgpio 42 0x1>; - - status = "ok"; -}; - -&pm8110_chg { - status = "ok"; - qcom,charging-disabled; - - qcom,chgr@1000 { - status = "ok"; - }; - - qcom,buck@1100 { - status = "ok"; - }; - - qcom,bat-if@1200 { - status = "ok"; - }; - - qcom,usb-chgpth@1300 { - status = "ok"; - }; - - qcom,chg-misc@1600 { - status = "ok"; - }; -}; - -&pm8110_gpios { - gpio@c000 { /* GPIO 1 */ - }; - - gpio@c100 { /* GPIO 2 */ - }; - - gpio@c200 { /* GPIO 3 */ - }; - - gpio@c300 { /* GPIO 4 */ - }; -}; - -&pm8110_mpps { - mpp@a000 { /* MPP 1 */ - }; - - mpp@a100 { /* MPP 2 */ - status = "disabled"; - }; - - mpp@a200 { /* MPP 3 */ - status = "disabled"; - }; - - mpp@a300 { /* MPP 4 */ - /* PA_THERM config */ - qcom,mode = <4>; /* AIN input */ - qcom,invert = <1>; /* Enable MPP */ - qcom,ain-route = <3>; /* AMUX 8 */ - qcom,master-en = <1>; - qcom,src-sel = <0>; /* Function constant */ - }; -}; - -&pm8110_bms { - status = "ok"; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8610-pm.dtsi b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8610-pm.dtsi deleted file mode 100644 index 938b2aa2a..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8610-pm.dtsi +++ /dev/null @@ -1,391 +0,0 @@ -/* Copyright (c) 2013 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. - */ - -/include/ "skeleton.dtsi" - -&soc { - qcom,spm@f9089000 { - compatible = "qcom,spm-v2"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xf9089000 0x1000>; - qcom,core-id = <0>; - qcom,saw2-ver-reg = <0xfd0>; - qcom,saw2-cfg = <0x01>; - qcom,saw2-spm-dly= <0x3c102800>; - qcom,saw2-spm-ctl = <0x0>; - qcom,saw2-spm-cmd-wfi = [60 03 60 0b 0f]; - qcom,saw2-spm-cmd-spc = [00 20 10 80 30 90 5b 60 03 60 3b 76 76 - 0b 94 5b 80 10 06 26 30 0f]; - qcom,saw2-spm-cmd-pc = [00 20 10 80 30 90 5b 60 07 60 3b 76 76 - 0b 94 5b 80 10 06 26 30 0f]; - }; - - qcom,spm@f9099000 { - compatible = "qcom,spm-v2"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xf9099000 0x1000>; - qcom,core-id = <1>; - qcom,saw2-ver-reg = <0xfd0>; - qcom,saw2-cfg = <0x01>; - qcom,saw2-spm-dly= <0x3c102800>; - qcom,saw2-spm-ctl = <0x0>; - qcom,saw2-spm-cmd-wfi = [60 03 60 0b 0f]; - qcom,saw2-spm-cmd-spc = [00 20 10 80 30 90 5b 60 03 60 3b 76 76 - 0b 94 5b 80 10 06 26 30 0f]; - qcom,saw2-spm-cmd-pc = [00 20 10 80 30 90 5b 60 07 60 3b 76 76 - 0b 94 5b 80 10 06 26 30 0f]; - }; - - qcom,spm@f90a9000 { - compatible = "qcom,spm-v2"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xf90a9000 0x1000>; - qcom,core-id = <2>; - qcom,saw2-ver-reg = <0xfd0>; - qcom,saw2-cfg = <0x01>; - qcom,saw2-spm-dly= <0x3c102800>; - qcom,saw2-spm-ctl = <0x0>; - qcom,saw2-spm-cmd-wfi = [60 03 60 0b 0f]; - qcom,saw2-spm-cmd-spc = [00 20 10 80 30 90 5b 60 03 60 3b 76 76 - 0b 94 5b 80 10 06 26 30 0f]; - qcom,saw2-spm-cmd-pc = [00 20 10 80 30 90 5b 60 07 60 3b 76 76 - 0b 94 5b 80 10 06 26 30 0f]; - }; - - qcom,spm@f90b9000 { - compatible = "qcom,spm-v2"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xf90b9000 0x1000>; - qcom,core-id = <3>; - qcom,saw2-ver-reg = <0xfd0>; - qcom,saw2-cfg = <0x01>; - qcom,saw2-spm-dly= <0x3c102800>; - qcom,saw2-spm-ctl = <0x0>; - qcom,saw2-spm-cmd-wfi = [60 03 60 0b 0f]; - qcom,saw2-spm-cmd-spc = [00 20 10 80 30 90 5b 60 03 60 3b 76 76 - 0b 94 5b 80 10 06 26 30 0f]; - qcom,saw2-spm-cmd-pc = [00 20 10 80 30 90 5b 60 07 60 3b 76 76 - 0b 94 5b 80 10 06 26 30 0f]; - }; - - qcom,spm@f9012000 { - compatible = "qcom,spm-v2"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xf9012000 0x1000>; - qcom,core-id = <0xffff>; /* L2/APCS SAW */ - qcom,saw2-ver-reg = <0xfd0>; - qcom,saw2-cfg = <0x14>; - qcom,saw2-spm-dly= <0x3c102800>; - qcom,saw2-spm-ctl = <0x0>; - qcom,saw2-pmic-data0 = <0x02030080>; - qcom,saw2-pmic-data1 = <0x00030000>; - qcom,vctl-timeout-us = <50>; - qcom,vctl-port = <0x0>; - qcom,phase-port = <0x1>; - qcom,pfm-port = <0x2>; - qcom,saw2-spm-cmd-ret = [00 03 00 7b 0f]; - qcom,saw2-spm-cmd-pc = [00 32 b0 10 e0 d0 6b c0 42 f0 - 11 07 01 b0 4e c0 d0 12 e0 6b 50 02 32 - 50 f0 7b 0f]; /*APCS_PMIC_OFF_L2RAM_OFF*/ - }; - - qcom,lpm-resources { - compatible = "qcom,lpm-resources"; - #address-cells = <1>; - #size-cells = <0>; - - qcom,lpm-resources@0 { - reg = <0x0>; - qcom,name = "vdd-dig"; - qcom,type = <0x61706d73>; /* "smpa" */ - qcom,id = <0x01>; - qcom,key = <0x6e726f63>; /* "corn" */ - qcom,init-value = <3>; /* SVS SOC */ - }; - - qcom,lpm-resources@1 { - reg = <0x1>; - qcom,name = "vdd-mem"; - qcom,type = <0x616F646C>; /* "ldoa" */ - qcom,id = <0x03>; - qcom,key = <0x6e726f63>; /* "corn" */ - qcom,init-value = <3>; /* SVS SOC */ - }; - - qcom,lpm-resources@2 { - reg = <0x2>; - qcom,name = "pxo"; - qcom,type = <0x306b6c63>; /* "clk0" */ - qcom,id = <0x00>; - qcom,key = <0x62616e45>; /* "Enab" */ - qcom,init-value = "xo_on"; - }; - - qcom,lpm-resources@3 { - reg = <0x3>; - qcom,name = "l2"; - qcom,local-resource-type; - qcom,init-value = "l2_cache_retention"; - }; - }; - - qcom,lpm-levels { - compatible = "qcom,lpm-levels"; - #address-cells = <1>; - #size-cells = <0>; - - qcom,lpm-level@0 { - reg = <0x0>; - qcom,mode = "wfi"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_active"; - qcom,vdd-mem-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <4>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <1>; - qcom,ss-power = <784>; - qcom,energy-overhead = <190000>; - qcom,time-overhead = <100>; - }; - - qcom,lpm-level@1 { - reg = <0x1>; - qcom,mode = "standalone_pc"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_active"; - qcom,vdd-mem-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <4>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <3000>; - qcom,ss-power = <725>; - qcom,energy-overhead = <99500>; - qcom,time-overhead = <3130>; - }; - - qcom,lpm-level@2 { - reg = <0x2>; - qcom,mode = "pc"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_retention"; - qcom,vdd-mem-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <4>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <8000>; - qcom,ss-power = <138>; - qcom,energy-overhead = <1208400>; - qcom,time-overhead = <9200>; - }; - - qcom,lpm-level@3 { - reg = <0x3>; - qcom,mode = "pc"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_pc"; - qcom,vdd-mem-upper-bound = <4>; /* NORMAL */ - qcom,vdd-mem-lower-bound = <3>; /* SVS SOC */ - qcom,vdd-dig-upper-bound = <4>; /* NORMAL */ - qcom,vdd-dig-lower-bound = <3>; /* SVS SOC */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <9000>; - qcom,ss-power = <110>; - qcom,energy-overhead = <1250300>; - qcom,time-overhead = <9500>; - }; - - qcom,lpm-level@4 { - reg = <0x4>; - qcom,mode = "pc"; - qcom,xo = "xo_off"; - qcom,l2 = "l2_cache_pc"; - qcom,vdd-mem-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <4>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,latency-us = <16300>; - qcom,ss-power = <63>; - qcom,energy-overhead = <2128000>; - qcom,time-overhead = <24200>; - }; - - qcom,lpm-level@5 { - reg = <0x5>; - qcom,mode = "pc"; - qcom,xo = "xo_off"; - qcom,l2 = "l2_cache_pc"; - qcom,vdd-mem-upper-bound = <4>; /* NORMAL */ - qcom,vdd-mem-lower-bound = <3>; /* SVS SOC */ - qcom,vdd-dig-upper-bound = <4>; /* NORMAL */ - qcom,vdd-dig-lower-bound = <3>; /* SVS SOC */ - qcom,latency-us = <24000>; - qcom,ss-power = <10>; - qcom,energy-overhead = <3202600>; - qcom,time-overhead = <33000>; - }; - - qcom,lpm-level@6 { - reg = <0x6>; - qcom,mode = "pc"; - qcom,xo = "xo_off"; - qcom,l2 = "l2_cache_pc"; - qcom,vdd-mem-upper-bound = <3>; /* SVS SOC */ - qcom,vdd-mem-lower-bound = <1>; /* RETENTION */ - qcom,vdd-dig-upper-bound = <3>; /* SVS SOC */ - qcom,vdd-dig-lower-bound = <1>; /* RETENTION */ - qcom,latency-us = <26000>; - qcom,ss-power = <2>; - qcom,energy-overhead = <4252000>; - qcom,time-overhead = <38000>; - }; - }; - - qcom,pm-boot { - compatible = "qcom,pm-boot"; - qcom,mode = "tz"; - }; - - qcom,mpm@fc4281d0 { - compatible = "qcom,mpm-v2"; - reg = <0xfc4281d0 0x1000>, /* MSM_RPM_MPM_BASE 4K */ - <0xf9011008 0x4>; /* MSM_APCS_GCC_BASE 4K */ - reg-names = "vmpm", "ipc"; - interrupts = <0 171 1>; - - qcom,ipc-bit-offset = <1>; - - qcom,gic-parent = <&intc>; - qcom,gic-map = <47 172>, /* usb2_hsic_async_wakeup_irq */ - <53 104>, /* mdss_irq */ - <62 222>, /* ee0_krait_hlos_spmi_periph_irq */ - <2 216>, /* tsens_upper_lower_int */ - <0xff 56>, /* q6_wdog_expired_irq */ - <0xff 57>, /* mss_to_apps_irq(0) */ - <0xff 58>, /* mss_to_apps_irq(1) */ - <0xff 59>, /* mss_to_apps_irq(2) */ - <0xff 60>, /* mss_to_apps_irq(3) */ - <0xff 61>, /* mss_a2_bam_irq */ - <0xff 173>, /* o_wcss_apss_smd_hi */ - <0xff 174>, /* o_wcss_apss_smd_med */ - <0xff 175>, /* o_wcss_apss_smd_low */ - <0xff 176>, /* o_wcss_apss_smsm_irq */ - <0xff 177>, /* o_wcss_apss_wlan_data_xfer_done */ - <0xff 178>, /* o_wcss_apss_wlan_rx_data_avail */ - <0xff 179>, /* o_wcss_apss_asic_intr - <0xff 181>, /* o_wcss_apss_wdog_bite_and_reset_rdy */ - <0xff 161>, /* lpass_irq_out_spare[4] / - <0xff 162>, /* lpass_irq_out_spare[5]*/ - <0xff 234>, /* lpass_irq_out_spare[6]*/ - <0xff 235>, /* lpass_irq_out_spare[7]*/ - <0xff 188>, /* lpass_irq_out_apcs(0) */ - <0xff 189>, /* lpass_irq_out_apcs(1) */ - <0xff 190>, /* lpass_irq_out_apcs(2) */ - <0xff 191>, /* lpass_irq_out_apcs(3) */ - <0xff 192>, /* lpass_irq_out_apcs(4) */ - <0xff 194>, /* lpass_irq_out_apcs(6) */ - <0xff 200>, /* rpm_ipc(4) */ - <0xff 201>, /* rpm_ipc(5) */ - <0xff 202>, /* rpm_ipc(6) */ - <0xff 203>, /* rpm_ipc(7) */ - <0xff 204>, /* rpm_ipc(24) */ - <0xff 205>, /* rpm_ipc(25) */ - <0xff 206>, /* rpm_ipc(26) */ - <0xff 207>, /* rpm_ipc(27) */ - <0xff 258>, /* rpm_ipc(28) */ - <0xff 259>, /* rpm_ipc(29) */ - <0xff 275>, /* rpm_ipc(30) */ - <0xff 276>, /* rpm_ipc(31) */ - <0xff 269>, /* rpm_wdog_expired_irq */ - <0xff 240>; /* summary_irq_kpss */ - - qcom,gpio-parent = <&msmgpio>; - qcom,gpio-map = <3 1>, - <4 4 >, - <5 5 >, - <6 9 >, - <7 13>, - <8 17>, - <9 21>, - <10 27>, - <11 29>, - <12 31>, - <13 33>, - <14 35>, - <15 37>, - <16 38>, - <17 39>, - <18 41>, - <19 46>, - <20 48>, - <21 49>, - <22 50>, - <23 51>, - <24 52>, - <25 54>, - <26 62>, - <27 63>, - <28 64>, - <29 65>, - <30 66>, - <31 67>, - <32 68>, - <33 69>, - <34 71>, - <35 72>, - <36 106>, - <37 107>, - <38 108>, - <39 109>, - <40 110>, - <54 111>, - <55 113>; - }; - - qcom,pm-8x60@fe805664 { - compatible = "qcom,pm-8x60"; - reg = <0xfe805664 0x40>; - qcom,pc-mode = "tz_l2_int"; - qcom,use-sync-timer; - qcom,pc-resets-timer; - }; - - qcom,rpm-log@fc19dc00 { - compatible = "qcom,rpm-log"; - reg = <0xfc19dc00 0x4000>; - qcom,rpm-addr-phys = <0xfc000000>; - qcom,offset-version = <4>; - qcom,offset-page-buffer-addr = <36>; - qcom,offset-log-len = <40>; - qcom,offset-log-len-mask = <44>; - qcom,offset-page-indices = <56>; - }; - - qcom,rpm-stats@fc19dba0 { - compatible = "qcom,rpm-stats"; - reg = <0xfc19dba0 0x1000>; - reg-names = "phys_addr_base"; - qcom,sleep-stats-version = <2>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8610-qrd.dts b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8610-qrd.dts deleted file mode 100644 index 5f9365a2a..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8610-qrd.dts +++ /dev/null @@ -1,267 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; - -/include/ "msm8610.dtsi" -/include/ "dsi-v2-panel-hx8379a-wvga-video.dtsi" - -/ { - model = "Qualcomm MSM 8610 QRD"; - compatible = "qcom,msm8610-qrd", "qcom,msm8610", "qcom,qrd"; - qcom,msm-id = <147 11 0>, <165 11 0>, <161 11 0>, <162 11 0>, - <163 11 0>, <164 11 0>, <166 11 0>; -}; - -&soc { - i2c@f9923000{ - focaltech@38{ - compatible = "focaltech,5x06"; - reg = <0x38>; - interrupt-parent = <&msmgpio>; - interrupts = <1 0x2>; - vdd-supply = <&pm8110_l19>; - vcc_i2c-supply = <&pm8110_l14>; - focaltech,family-id = <0x06>; - focaltech,reset-gpio = <&msmgpio 0 0x00>; - focaltech,irq-gpio = <&msmgpio 1 0x00>; - focaltech,display-coords = <0 0 480 800>; - focaltech,panel-coords = <0 0 480 800>; - focaltech,button-map= <139 102 158>; - focaltech,no-force-update; - focaltech,i2c-pull-up; - }; - }; - - gen-vkeys { - compatible = "qcom,gen-vkeys"; - label = "ft5x06_ts"; - qcom,disp-maxx = <480>; - qcom,disp-maxy = <800>; - qcom,panel-maxx = <481>; - qcom,panel-maxy = <940>; - qcom,key-codes = <139 0 102 158 0 0 0>; - qcom,y-offset = <0>; - }; - serial@f991e000 { - status = "ok"; - }; - - gpio_keys { - compatible = "gpio-keys"; - input-name = "gpio-keys"; - - camera_snapshot { - label = "camera_snapshot"; - gpios = <&msmgpio 73 0x1>; - linux,input-type = <1>; - linux,code = <0x2fe>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - - camera_focus { - label = "camera_focus"; - gpios = <&msmgpio 74 0x1>; - linux,input-type = <1>; - linux,code = <0x210>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - - vol_up { - label = "volume_up"; - gpios = <&msmgpio 72 0x1>; - linux,input-type = <1>; - linux,code = <115>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - }; - - i2c@f9927000 { - msm8x10_wcd_codec@0d{ - compatible = "qcom,msm8x10-wcd-i2c"; - reg = <0x0d>; - cdc-vdda-cp-supply = <&pm8110_s4>; - qcom,cdc-vdda-cp-voltage = <2150000 2150000>; - qcom,cdc-vdda-cp-current = <650000>; - - cdc-vdda-h-supply = <&pm8110_l6>; - qcom,cdc-vdda-h-voltage = <1800000 1800000>; - qcom,cdc-vdda-h-current = <250000>; - - cdc-vdd-px-supply = <&pm8110_l6>; - qcom,cdc-vdd-px-voltage = <1800000 1800000>; - qcom,cdc-vdd-px-current = <10000>; - - cdc-vdd-1p2v-supply = <&pm8110_l4>; - qcom,cdc-vdd-1p2v-voltage = <1200000 1200000>; - qcom,cdc-vdd-1p2v-current = <5000>; - - cdc-vdd-mic-bias-supply = <&pm8110_l20>; - qcom,cdc-vdd-mic-bias-voltage = <3075000 3075000>; - qcom,cdc-vdd-mic-bias-current = <25000>; - - qcom,cdc-micbias-cfilt-sel = <0x0>; - qcom,cdc-micbias-cfilt-mv = <1800000>; - qcom,cdc-mclk-clk-rate = <12288000>; - }; - - msm8x10_wcd_codec@77{ - compatible = "qcom,msm8x10-wcd-i2c"; - reg = <0x77>; - }; - - msm8x10_wcd_codec@66{ - compatible = "qcom,msm8x10-wcd-i2c"; - reg = <0x66>; - }; - - msm8x10_wcd_codec@55{ - compatible = "qcom,msm8x10-wcd-i2c"; - reg = <0x55>; - }; - }; - - sound { - qcom,audio-routing = - "RX_BIAS", "MCLK", - "INT_LDO_H", "MCLK", - "MIC BIAS Internal1", "Handset Mic", - "MIC BIAS Internal2", "Headset Mic", - "AMIC1", "MIC BIAS Internal1", - "AMIC2", "MIC BIAS Internal2"; - }; -}; - -&spmi_bus { - qcom,pm8110@0 { - qcom,leds@a100 { - status = "okay"; - qcom,led_mpp_2 { - label = "mpp"; - linux,name = "wled-homerow"; - linux-default-trigger = "hr-trigger"; - qcom,default-state = "off"; - qcom,max-current = <40>; - qcom,id = <6>; - qcom,source-sel = <1>; - qcom,mode-ctrl = <0x61>; - }; - }; - - qcom,leds@a200 { - status = "okay"; - qcom,led_mpp_3 { - label = "mpp"; - linux,name = "wled-backlight"; - linux,default-trigger = "bkl-trigger"; - qcom,default-state = "on"; - qcom,max-current = <40>; - qcom,id = <6>; - qcom,source-sel = <1>; - qcom,mode-ctrl = <0x10>; - }; - }; - }; -}; - -&spmi_bus { - qcom,pm8110@1 { - qcom,vibrator@c000 { - status = "okay"; - qcom,vib-timeout-ms = <15000>; - qcom,vib-vtg-level-mV = <3100>; - }; - }; -}; - -&sdhc_1 { - vdd-supply = <&pm8110_l17>; - qcom,vdd-always-on; - qcom,vdd-lpm-sup; - qcom,vdd-voltage-level = <2900000 2900000>; - qcom,vdd-current-level = <200 400000>; - - vdd-io-supply = <&pm8110_l6>; - qcom,vdd-io-always-on; - qcom,vdd-io-voltage-level = <1800000 1800000>; - qcom,vdd-io-current-level = <200 60000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - qcom,bus-speed-mode = "HS200_1p8v", "DDR_1p8v"; - qcom,nonremovable; - - status = "ok"; -}; - -&sdhc_2 { - vdd-supply = <&pm8110_l18>; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <15000 400000>; - - vdd-io-supply = <&pm8110_l21>; - qcom,vdd-io-always-on; - qcom,vdd-io-lpm-sup; - qcom,vdd-io-voltage-level = <1800000 2950000>; - qcom,vdd-io-current-level = <200 50000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - - #address-cells = <0>; - interrupt-parent = <&sdhc_2>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 125 0 - 1 &intc 0 221 0 - 2 &msmgpio 42 0x3>; - interrupt-names = "hc_irq", "pwr_irq", "status_irq"; - cd-gpios = <&msmgpio 42 0x1>; - - status = "ok"; -}; - -&pm8110_chg { - status = "ok"; - - qcom,chgr@1000 { - status = "ok"; - }; - - qcom,buck@1100 { - status = "ok"; - }; - - qcom,bat-if@1200 { - status = "ok"; - }; - - qcom,usb-chgpth@1300 { - status = "ok"; - }; - - qcom,chg-misc@1600 { - status = "ok"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8610-regulator.dtsi b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8610-regulator.dtsi deleted file mode 100644 index 09520c537..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8610-regulator.dtsi +++ /dev/null @@ -1,358 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/* SPM controlled regulators */ - -&spmi_bus { - qcom,pm8110@1 { - pm8110_s2: spm-regulator@1700 { - compatible = "qcom,spm-regulator"; - regulator-name = "8110_s2"; - reg = <0x1700 0x100>; - regulator-min-microvolt = <900000>; - regulator-max-microvolt = <1350000>; - }; - }; -}; - -/* CPR controlled regulator */ - -&soc { - apc_vreg_corner: regulator@f9018000 { - status = "okay"; - compatible = "qcom,cpr-regulator"; - reg = <0xf9018000 0x1000>, <0xf9011064 4>, <0xfc4b80b0 8>, - <0xfc4bc450 16>; - reg-names = "rbcpr", "rbcpr_clk", "pvs_efuse", "cpr_efuse"; - interrupts = <0 15 0>; - regulator-name = "apc_corner"; - regulator-min-microvolt = <1>; - regulator-max-microvolt = <3>; - qcom,num-efuse-bits = <5>; - qcom,pvs-bin-process = <0 0 0 0 0 1 1 1 1 1 2 2 2 2 2 2 - 2 2 2 2 3 3 3 3 3 3 3 3 0 0 0 0>; - qcom,pvs-corner-ceiling-slow = <1150000 1150000 1275000>; - qcom,pvs-corner-ceiling-nom = <975000 1075000 1200000>; - qcom,pvs-corner-ceiling-fast = <900000 1000000 1140000>; - vdd-apc-supply = <&pm8110_s2>; - - vdd-mx-supply = <&pm8110_l3_ao>; - qcom,vdd-mx-vmax = <1350000>; - qcom,vdd-mx-vmin-method = <1>; - - qcom,cpr-ref-clk = <19200>; - qcom,cpr-timer-delay = <5000>; - qcom,cpr-timer-cons-up = <1>; - qcom,cpr-timer-cons-down = <2>; - qcom,cpr-irq-line = <0>; - qcom,cpr-step-quotient = <15>; - qcom,cpr-up-threshold = <1>; - qcom,cpr-down-threshold = <2>; - qcom,cpr-idle-clocks = <5>; - qcom,cpr-gcnt-time = <1>; - qcom,vdd-apc-step-up-limit = <1>; - qcom,vdd-apc-step-down-limit = <1>; - qcom,cpr-apc-volt-step = <5000>; - }; -}; - -/* RPM controlled regulators: */ - -&rpm_bus { - - rpm-regulator-smpa1 { - status = "okay"; - pm8110_s1: regulator-s1 { - status = "okay"; - regulator-min-microvolt = <500000>; - regulator-max-microvolt = <1275000>; - }; - - pm8110_s1_corner: regulator-s1-corner { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_s1_corner"; - qcom,set = <3>; - regulator-min-microvolt = <1>; - regulator-max-microvolt = <7>; - qcom,use-voltage-corner; - qcom,consumer-supplies = "vdd_dig", ""; - }; - - pm8110_s1_corner_ao: regulator-s1-corner-ao { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_s1_corner_ao"; - qcom,set = <1>; - regulator-min-microvolt = <1>; - regulator-max-microvolt = <7>; - qcom,use-voltage-corner; - qcom,consumer-supplies = "vdd_sr2_dig", ""; - }; - }; - - rpm-regulator-smpa3 { - status = "okay"; - pm8110_s3: regulator-s3 { - regulator-min-microvolt = <1200000>; - regulator-max-microvolt = <1350000>; - qcom,init-voltage = <1200000>; - status = "okay"; - }; - }; - - rpm-regulator-smpa4 { - status = "okay"; - pm8110_s4: regulator-s4 { - regulator-min-microvolt = <2150000>; - regulator-max-microvolt = <2150000>; - qcom,init-voltage = <2150000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa1 { - status = "okay"; - pm8110_l1: regulator-l1 { - regulator-min-microvolt = <1225000>; - regulator-max-microvolt = <1225000>; - qcom,init-voltage = <1225000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa2 { - status = "okay"; - pm8110_l2: regulator-l2 { - regulator-min-microvolt = <1200000>; - regulator-max-microvolt = <1200000>; - qcom,init-voltage = <1200000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa3 { - status = "okay"; - pm8110_l3: regulator-l3 { - regulator-min-microvolt = <750000>; - regulator-max-microvolt = <1275000>; - status = "okay"; - }; - - pm8110_l3_ao: regulator-l3-ao { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l3_ao"; - qcom,set = <1>; - regulator-min-microvolt = <750000>; - regulator-max-microvolt = <1275000>; - status = "okay"; - }; - - pm8110_l3_so: regulator-l3-so { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l3_so"; - qcom,set = <2>; - regulator-min-microvolt = <750000>; - regulator-max-microvolt = <1275000>; - qcom,init-voltage = <750000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa4 { - status = "okay"; - pm8110_l4: regulator-l4 { - regulator-min-microvolt = <1200000>; - regulator-max-microvolt = <1200000>; - qcom,init-voltage = <1200000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa5 { - status = "okay"; - pm8110_l5: regulator-l5 { - regulator-min-microvolt = <1300000>; - regulator-max-microvolt = <1300000>; - qcom,init-voltage = <1300000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa6 { - status = "okay"; - pm8110_l6: regulator-l6 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa7 { - status = "okay"; - pm8110_l7: regulator-l7 { - regulator-min-microvolt = <2050000>; - regulator-max-microvolt = <2050000>; - qcom,init-voltage = <2050000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa8 { - status = "okay"; - pm8110_l8: regulator-l8 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa9 { - status = "okay"; - pm8110_l9: regulator-l9 { - regulator-min-microvolt = <2050000>; - regulator-max-microvolt = <2050000>; - qcom,init-voltage = <2050000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa10 { - status = "okay"; - pm8110_l10: regulator-l10 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - status = "okay"; - }; - - pm8110_l10_ao: regulator-l10-ao { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l10_ao"; - qcom,set = <1>; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - qcom,consumer-supplies = "vdd_sr2_pll", ""; - }; - - pm8110_l10_so: regulator-l10-so { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l10_so"; - qcom,set = <2>; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - qcom,init-enable = <0>; - }; - }; - - rpm-regulator-ldoa12 { - status = "okay"; - pm8110_l12: regulator-l12 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <3300000>; - qcom,init-voltage = <3300000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa14 { - status = "okay"; - pm8110_l14: regulator-l14 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa15 { - status = "okay"; - pm8110_l15: regulator-l15 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <3300000>; - qcom,init-voltage = <3300000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa16 { - status = "okay"; - pm8110_l16: regulator-l16 { - regulator-min-microvolt = <3000000>; - regulator-max-microvolt = <3000000>; - qcom,init-voltage = <3000000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa17 { - status = "okay"; - pm8110_l17: regulator-l17 { - regulator-min-microvolt = <2900000>; - regulator-max-microvolt = <2900000>; - qcom,init-voltage = <2900000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa18 { - status = "okay"; - pm8110_l18: regulator-l18 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <2950000>; - qcom,init-voltage = <2950000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa19 { - status = "okay"; - pm8110_l19: regulator-l19 { - regulator-min-microvolt = <2850000>; - regulator-max-microvolt = <2850000>; - qcom,init-voltage = <2850000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa20 { - status = "okay"; - pm8110_l20: regulator-l20 { - regulator-min-microvolt = <3075000>; - regulator-max-microvolt = <3075000>; - qcom,init-voltage = <3075000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa21 { - status = "okay"; - pm8110_l21: regulator-l21 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <2950000>; - qcom,init-voltage = <2950000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa22 { - status = "okay"; - pm8110_l22: regulator-l22 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <3300000>; - qcom,init-voltage = <3300000>; - status = "okay"; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8610-rumi.dts b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8610-rumi.dts deleted file mode 100644 index 7f0648541..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8610-rumi.dts +++ /dev/null @@ -1,31 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/dts-v1/; - -/include/ "msm8610.dtsi" - -/ { - model = "Qualcomm MSM 8610 Rumi"; - compatible = "qcom,msm8610-rumi", "qcom,msm8610", "qcom,rumi"; - qcom,msm-id = <147 15 0>; -}; - -&soc { - serial@f991f000 { - status = "ok"; - }; -}; - -&gfx_iommu { - status = "disabled"; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8610-sim.dts b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8610-sim.dts deleted file mode 100644 index 7c57fe667..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8610-sim.dts +++ /dev/null @@ -1,72 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/dts-v1/; - -/include/ "msm8610.dtsi" - -/ { - model = "Qualcomm MSM 8610 Simulator"; - compatible = "qcom,msm8610-sim", "qcom,msm8610", "qcom,sim"; - qcom,msm-id = <147 16 0>; -}; - -&soc { - serial@f991f000 { - status = "ok"; - }; -}; - -&i2c_cdc { - msm8x10_wcd_codec@0d{ - compatible = "qcom,msm8x10-wcd-i2c"; - reg = <0x0d>; - cdc-vdda-cp-supply = <&pm8110_s4>; - qcom,cdc-vdda-cp-voltage = <2150000 2150000>; - qcom,cdc-vdda-cp-current = <650000>; - - cdc-vdda-h-supply = <&pm8110_l6>; - qcom,cdc-vdda-h-voltage = <1800000 1800000>; - qcom,cdc-vdda-h-current = <250000>; - - cdc-vdd-px-supply = <&pm8110_l6>; - qcom,cdc-vdd-px-voltage = <1800000 1800000>; - qcom,cdc-vdd-px-current = <10000>; - - cdc-vdd-1p2v-supply = <&pm8110_l4>; - qcom,cdc-vdd-1p2v-voltage = <1200000 1200000>; - qcom,cdc-vdd-1p2v-current = <5000>; - - cdc-vdd-mic-bias-supply = <&pm8110_l20>; - qcom,cdc-vdd-mic-bias-voltage = <3075000 3075000>; - qcom,cdc-vdd-mic-bias-current = <25000>; - - qcom,cdc-micbias-cfilt-sel = <0x0>; - qcom,cdc-micbias-cfilt-mv = <1800000>; - qcom,cdc-mclk-clk-rate = <12288000>; - }; - - msm8x10_wcd_codec@77{ - compatible = "qcom,msm8x10-wcd-i2c"; - reg = <0x77>; - }; - - msm8x10_wcd_codec@66{ - compatible = "qcom,msm8x10-wcd-i2c"; - reg = <0x66>; - }; - - msm8x10_wcd_codec@55{ - compatible = "qcom,msm8x10-wcd-i2c"; - reg = <0x55>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8610-smp2p.dtsi b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8610-smp2p.dtsi deleted file mode 100644 index 3921a686a..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8610-smp2p.dtsi +++ /dev/null @@ -1,225 +0,0 @@ -/* Copyright (c) 2013, 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. - */ -&soc { - qcom,smp2p-modem { - compatible = "qcom,smp2p"; - reg = <0xf9011008 0x4>; - qcom,remote-pid = <1>; - qcom,irq-bitmask = <0x4000>; - interrupts = <0 27 1>; - }; - - qcom,smp2p-adsp { - compatible = "qcom,smp2p"; - reg = <0xf9011008 0x4>; - qcom,remote-pid = <2>; - qcom,irq-bitmask = <0x400>; - interrupts = <0 158 1>; - }; - - qcom,smp2p-wcnss { - compatible = "qcom,smp2p"; - reg = <0xf9011008 0x4>; - qcom,remote-pid = <4>; - qcom,irq-bitmask = <0x40000>; - interrupts = <0 143 1>; - }; - - smp2pgpio_smp2p_7_in: qcom,smp2pgpio-smp2p-7-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <7>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_7_in { - compatible = "qcom,smp2pgpio_test_smp2p_7_in"; - gpios = <&smp2pgpio_smp2p_7_in 0 0>; - }; - - smp2pgpio_smp2p_7_out: qcom,smp2pgpio-smp2p-7-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <7>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_7_out { - compatible = "qcom,smp2pgpio_test_smp2p_7_out"; - gpios = <&smp2pgpio_smp2p_7_out 0 0>; - }; - - smp2pgpio_smp2p_1_in: qcom,smp2pgpio-smp2p-1-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <1>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_1_in { - compatible = "qcom,smp2pgpio_test_smp2p_1_in"; - gpios = <&smp2pgpio_smp2p_1_in 0 0>; - }; - - smp2pgpio_smp2p_1_out: qcom,smp2pgpio-smp2p-1-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <1>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_1_out { - compatible = "qcom,smp2pgpio_test_smp2p_1_out"; - gpios = <&smp2pgpio_smp2p_1_out 0 0>; - }; - - smp2pgpio_ssr_smp2p_1_in: qcom,smp2pgpio-ssr-smp2p-1-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "slave-kernel"; - qcom,remote-pid = <1>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - smp2pgpio_ssr_smp2p_1_out: qcom,smp2pgpio-ssr-smp2p-1-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "master-kernel"; - qcom,remote-pid = <1>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - smp2pgpio_smp2p_2_in: qcom,smp2pgpio-smp2p-2-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <2>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_2_in { - compatible = "qcom,smp2pgpio_test_smp2p_2_in"; - gpios = <&smp2pgpio_smp2p_2_in 0 0>; - }; - - smp2pgpio_smp2p_2_out: qcom,smp2pgpio-smp2p-2-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <2>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_2_out { - compatible = "qcom,smp2pgpio_test_smp2p_2_out"; - gpios = <&smp2pgpio_smp2p_2_out 0 0>; - }; - - /* SMP2P SSR Driver for inbound entry from lpass. */ - smp2pgpio_ssr_smp2p_2_in: qcom,smp2pgpio-ssr-smp2p-2-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "slave-kernel"; - qcom,remote-pid = <2>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - /* SMP2P SSR Driver for outbound entry to lpass */ - smp2pgpio_ssr_smp2p_2_out: qcom,smp2pgpio-ssr-smp2p-2-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "master-kernel"; - qcom,remote-pid = <2>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - smp2pgpio_smp2p_4_in: qcom,smp2pgpio-smp2p-4-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <4>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_4_in { - compatible = "qcom,smp2pgpio_test_smp2p_4_in"; - gpios = <&smp2pgpio_smp2p_4_in 0 0>; - }; - - smp2pgpio_smp2p_4_out: qcom,smp2pgpio-smp2p-4-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <4>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - smp2pgpio_ssr_smp2p_4_in: qcom,smp2pgpio-ssr-smp2p-4-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "slave-kernel"; - qcom,remote-pid = <4>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - smp2pgpio_ssr_smp2p_4_out: qcom,smp2pgpio-ssr-smp2p-4-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "master-kernel"; - qcom,remote-pid = <4>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_4_out { - compatible = "qcom,smp2pgpio_test_smp2p_4_out"; - gpios = <&smp2pgpio_smp2p_4_out 0 0>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8610.dtsi b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8610.dtsi deleted file mode 100644 index a62df58d9..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8610.dtsi +++ /dev/null @@ -1,1075 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/include/ "skeleton.dtsi" - -/ { - model = "Qualcomm MSM 8610"; - compatible = "qcom,msm8610"; - interrupt-parent = <&intc>; - - memory { - qsecom_mem: qsecom_region { - linux,contiguous-region; - reg = <0 0x100000>; - label = "qsecom_mem"; - }; - }; - - aliases { - sdhc1 = &sdhc_1; /* SDC1 eMMC slot */ - sdhc2 = &sdhc_2; /* SDC2 SD card slot */ - spi4 = &spi_4; - }; - - soc: soc { }; -}; - -/include/ "msm8610-camera.dtsi" -/include/ "msm-iommu-v0.dtsi" -/include/ "msm8610-ion.dtsi" -/include/ "msm8610-gpu.dtsi" -/include/ "msm-gdsc.dtsi" -/include/ "msm8610-coresight.dtsi" -/include/ "msm8610-pm.dtsi" -/include/ "msm8610-smp2p.dtsi" -/include/ "msm8610-bus.dtsi" -/include/ "msm8610-mdss.dtsi" - -&soc { - #address-cells = <1>; - #size-cells = <1>; - ranges; - - intc: interrupt-controller@f9000000 { - compatible = "qcom,msm-qgic2"; - interrupt-controller; - #interrupt-cells = <3>; - reg = <0xf9000000 0x1000>, - <0xf9002000 0x1000>; - }; - - msmgpio: gpio@fd510000 { - compatible = "qcom,msm-gpio"; - interrupt-controller; - #interrupt-cells = <2>; - reg = <0xfd510000 0x4000>; - gpio-controller; - #gpio-cells = <2>; - ngpio = <102>; - interrupts = <0 208 0>; - qcom,direct-connect-irqs = <8>; - }; - - qcom,mpm2-sleep-counter@fc4a3000 { - compatible = "qcom,mpm2-sleep-counter"; - reg = <0xfc4a3000 0x1000>; - clock-frequency = <32768>; - }; - - timer { - compatible = "arm,armv7-timer"; - interrupts = <1 2 0 1 3 0>; - clock-frequency = <19200000>; - }; - - 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 8 0x4>, - <0 7 0x4>; - reg = <0xf9021000 0x1000>, - <0xf9022000 0x1000>; - }; - - frame@f9023000 { - frame-number = <1>; - interrupts = <0 9 0x4>; - reg = <0xf9023000 0x1000>; - status = "disabled"; - }; - - frame@f9024000 { - frame-number = <2>; - interrupts = <0 10 0x4>; - reg = <0xf9024000 0x1000>; - status = "disabled"; - }; - - frame@f9025000 { - frame-number = <3>; - interrupts = <0 11 0x4>; - reg = <0xf9025000 0x1000>; - status = "disabled"; - }; - - frame@f9026000 { - frame-number = <4>; - interrupts = <0 12 0x4>; - reg = <0xf9026000 0x1000>; - status = "disabled"; - }; - - frame@f9027000 { - frame-number = <5>; - interrupts = <0 13 0x4>; - reg = <0xf9027000 0x1000>; - status = "disabled"; - }; - - frame@f9028000 { - frame-number = <6>; - interrupts = <0 14 0x4>; - reg = <0xf9028000 0x1000>; - status = "disabled"; - }; - }; - - qcom,msm-adsp-loader { - compatible = "qcom,adsp-loader"; - qcom,adsp-state = <0>; - }; - - qcom,msm-audio-ion { - compatible = "qcom,msm-audio-ion"; - qcom,smmu-enabled; - }; - - qcom,msm-imem@fe805000 { - compatible = "qcom,msm-imem"; - reg = <0xfe805000 0x1000>; /* Address and size of IMEM */ - }; - - serial@f991f000 { - compatible = "qcom,msm-lsuart-v14"; - reg = <0xf991f000 0x1000>; - interrupts = <0 109 0>; - status = "disabled"; - }; - - serial@f991e000 { - compatible = "qcom,msm-lsuart-v14"; - reg = <0xf991e000 0x1000>; - interrupts = <0 108 0>; - status = "disabled"; - }; - - qcom,vidc@fdc00000 { - compatible = "qcom,msm-vidc"; - qcom,vidc-ns-map = <0x40000000 0x40000000>; - qcom,iommu-groups = <&q6_domain_ns>; - qcom,iommu-group-buffer-types = <0xfff>; - qcom,buffer-type-tz-usage-map = <0x1 0x1>, - <0x1fe 0x2>; - qcom,hfi = "q6"; - qcom,max-hw-load = <108000>; /* 720p @ 30 * 1 */ - }; - - qcom,usbbam@f9a44000 { - compatible = "qcom,usb-bam-msm"; - reg = <0xf9a44000 0x11000>; - reg-names = "hsusb"; - interrupts = <0 135 0>; - interrupt-names = "hsusb"; - qcom,usb-bam-num-pipes = <16>; - qcom,usb-bam-fifo-baseaddr = <0xfe803000>; - qcom,ignore-core-reset-ack; - qcom,disable-clk-gating; - - qcom,pipe0 { - label = "hsusb-qdss-in-0"; - qcom,usb-bam-mem-type = <3>; - qcom,bam-type = <1>; - 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 = <0xf9a44000>; - qcom,dst-bam-pipe-index = <2>; - qcom,data-fifo-offset = <0x0>; - qcom,data-fifo-size = <0x600>; - qcom,descriptor-fifo-offset = <0x600>; - qcom,descriptor-fifo-size = <0x200>; - }; - }; - - usb@f9a55000 { - compatible = "qcom,hsusb-otg"; - reg = <0xf9a55000 0x400>; - interrupts = <0 134 0>, <0 140 0>; - interrupt-names = "core_irq", "async_irq"; - HSUSB_VDDCX-supply = <&pm8110_s1>; - HSUSB_1p8-supply = <&pm8110_l10>; - HSUSB_3p3-supply = <&pm8110_l20>; - - qcom,hsusb-otg-phy-type = <2>; - qcom,hsusb-otg-mode = <1>; - qcom,hsusb-otg-otg-control = <2>; - qcom,hsusb-otg-disable-reset; - qcom,dp-manual-pullup; - - qcom,msm-bus,name = "usb2"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,active-only = <0>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <87 512 0 0>, - <87 512 60000 960000>; - }; - - android_usb@fe8050c8 { - compatible = "qcom,android-usb"; - reg = <0xfe8050c8 0xc8>; - }; - - sdcc1: qcom,sdcc@f9824000 { - cell-index = <1>; /* SDC1 eMMC slot */ - compatible = "qcom,msm-sdcc"; - reg = <0xf9824000 0x800>, - <0xf9824800 0x100>, - <0xf9804000 0x7000>; - reg-names = "core_mem", "dml_mem", "bam_mem"; - interrupts = <0 123 0>, <0 137 0>; - interrupt-names = "core_irq", "bam_irq"; - - vdd-supply = <&pm8110_l17>; - qcom,vdd-always-on; - qcom,vdd-lpm-sup; - qcom,vdd-voltage-level = <2900000 2900000>; - qcom,vdd-current-level = <9000 400000>; - - vdd-io-supply = <&pm8110_l6>; - qcom,vdd-io-always-on; - qcom,vdd-io-lpm-sup; - qcom,vdd-io-voltage-level = <1800000 1800000>; - qcom,vdd-io-current-level = <9000 60000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - qcom,sup-voltages = <2900 2900>; - qcom,bus-width = <8>; - qcom,nonremovable; - qcom,bus-speed-mode = "HS200_1p8v", "DDR_1p8v"; - - status = "disabled"; - }; - - sdcc2: qcom,sdcc@f98a4000 { - cell-index = <2>; /* SDC2 SD card slot */ - compatible = "qcom,msm-sdcc"; - reg = <0xf98a4000 0x800>, - <0xf98a4800 0x100>, - <0xf9884000 0x7000>; - reg-names = "core_mem", "dml_mem", "bam_mem"; - interrupts = <0 125 0>, <0 220 0>; - interrupt-names = "core_irq", "bam_irq"; - - vdd-supply = <&pm8110_l18>; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <9000 400000>; - - vdd-io-supply = <&pm8110_l21>; - qcom,vdd-io-voltage-level = <1800000 2950000>; - qcom,vdd-io-current-level = <9000 50000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - qcom,sup-voltages = <2950 2950>; - qcom,bus-width = <4>; - qcom,xpc; - qcom,bus-speed-mode = "SDR12", "SDR25", "SDR50", "DDR50", "SDR104"; - qcom,current-limit = <800>; - - status = "disabled"; - }; - - sdhc_1: sdhci@f9824900 { - compatible = "qcom,sdhci-msm"; - reg = <0xf9824900 0x11c>, <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>; - 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"; - - qcom,bus-width = <4>; - status = "disabled"; - }; - - qcom,sps { - compatible = "qcom,msm_sps"; - qcom,device-type = <3>; - }; - - qcom,smem@d900000 { - compatible = "qcom,smem"; - reg = <0xd900000 0x100000>, - <0xf9011000 0x1000>, - <0xfc428000 0x4000>; - reg-names = "smem", "irq-reg-base", "aux-mem1"; - - qcom,smd-modem { - compatible = "qcom,smd"; - qcom,smd-edge = <0>; - qcom,smd-irq-offset = <0x8>; - qcom,smd-irq-bitmask = <0x1000>; - qcom,pil-string = "modem"; - interrupts = <0 25 1>; - }; - - qcom,smsm-modem { - compatible = "qcom,smsm"; - qcom,smsm-edge = <0>; - qcom,smsm-irq-offset = <0x8>; - qcom,smsm-irq-bitmask = <0x2000>; - interrupts = <0 26 1>; - }; - - qcom,smd-adsp { - compatible = "qcom,smd"; - qcom,smd-edge = <1>; - qcom,smd-irq-offset = <0x8>; - qcom,smd-irq-bitmask = <0x100>; - qcom,pil-string = "adsp"; - interrupts = <0 156 1>; - }; - - qcom,smsm-adsp { - compatible = "qcom,smsm"; - qcom,smsm-edge = <1>; - qcom,smsm-irq-offset = <0x8>; - qcom,smsm-irq-bitmask = <0x200>; - interrupts = <0 157 1>; - }; - - qcom,smd-wcnss { - compatible = "qcom,smd"; - qcom,smd-edge = <6>; - qcom,smd-irq-offset = <0x8>; - qcom,smd-irq-bitmask = <0x20000>; - qcom,pil-string = "wcnss"; - interrupts = <0 142 1>; - }; - - qcom,smsm-wcnss { - compatible = "qcom,smsm"; - qcom,smsm-edge = <6>; - qcom,smsm-irq-offset = <0x8>; - qcom,smsm-irq-bitmask = <0x80000>; - interrupts = <0 144 1>; - }; - - qcom,smd-rpm { - compatible = "qcom,smd"; - qcom,smd-edge = <15>; - qcom,smd-irq-offset = <0x8>; - qcom,smd-irq-bitmask = <0x1>; - interrupts = <0 168 1>; - qcom,irq-no-suspend; - }; - }; - - rpm_bus: qcom,rpm-smd { - compatible = "qcom,rpm-smd"; - rpm-channel-name = "rpm_requests"; - rpm-channel-type = <15>; /* SMD_APPS_RPM */ - rpm-standalone; - }; - - qcom,bcl { - compatible = "qcom,bcl"; - }; - - qcom,msm-mem-hole { - compatible = "qcom,msm-mem-hole"; - qcom,memblock-remove = <0x07B00000 0x6400000>; /* Address and Size of Hole */ - }; - - qcom,wdt@f9017000 { - compatible = "qcom,msm-watchdog"; - reg = <0xf9017000 0x1000>; - interrupts = <0 3 0>, <0 4 0>; - qcom,bark-time = <11000>; - qcom,pet-time = <10000>; - qcom,ipi-ping; - }; - - qcom,acpuclk@f9011050 { - compatible = "qcom,acpuclk-a7"; - reg = <0xf9011050 0x8>; - reg-names = "rcg_base"; - a7_cpu-supply = <&apc_vreg_corner>; - }; - - spmi_bus: qcom,spmi@fc4c0000 { - cell-index = <0>; - 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-ee = <0>; - qcom,pmic-arb-channel = <0>; - }; - - i2c@f9923000 { /* BLSP-1 QUP-1 */ - cell-index = <1>; - compatible = "qcom,i2c-qup"; - #address-cells = <1>; - #size-cells = <0>; - reg-names = "qup_phys_addr"; - reg = <0xf9923000 0x1000>; - interrupt-names = "qup_err_intr"; - interrupts = <0 95 0>; - qcom,i2c-bus-freq = <100000>; - qcom,i2c-src-freq = <19200000>; - qcom,sda-gpio = <&msmgpio 2 0>; - qcom,scl-gpio = <&msmgpio 3 0>; - }; - - i2c_cdc: i2c@f9927000 { /* BLSP1 QUP5 */ - cell-index = <5>; - compatible = "qcom,i2c-qup"; - #address-cells = <1>; - #size-cells = <0>; - reg-names = "qup_phys_addr"; - reg = <0xf9927000 0x1000>; - interrupt-names = "qup_err_intr"; - interrupts = <0 99 0>; - qcom,i2c-bus-freq = <100000>; - }; - - i2c: i2c@f9928000 { /* BLSP1 QUP6 */ - cell-index = <6>; - compatible = "qcom,i2c-qup"; - #address-cells = <1>; - #size-cells = <0>; - reg-names = "qup_phys_addr"; - reg = <0xf9928000 0x1000>; - interrupt-names = "qup_err_intr"; - interrupts = <0 100 0>; - qcom,i2c-bus-freq = <100000>; - qcom,i2c-src-freq = <19200000>; - qcom,sda-gpio = <&msmgpio 16 0>; - qcom,scl-gpio = <&msmgpio 17 0>; - }; - - i2c@f9925000 { /* BLSP-1 QUP-3 */ - cell-index = <0>; - compatible = "qcom,i2c-qup"; - #address-cells = <1>; - #size-cells = <0>; - reg-names = "qup_phys_addr"; - reg = <0xf9925000 0x1000>; - interrupt-names = "qup_err_intr"; - interrupts = <0 97 0>; - qcom,i2c-bus-freq = <100000>; - }; - - spi_4: spi@f9926000 { /* BLSP1 QUP4 */ - compatible = "qcom,spi-qup-v2"; - #address-cells = <1>; - #size-cells = <0>; - reg-names = "spi_physical", "spi_bam_physical"; - reg = <0xf9926000 0x1000>, - <0xf9904000 0x15000>; - interrupt-names = "spi_irq", "spi_bam_irq"; - interrupts = <0 98 0>, <0 238 0>; - spi-max-frequency = <50000000>; - - gpios = <&msmgpio 89 0>, /* CLK */ - <&msmgpio 87 0>, /* MISO */ - <&msmgpio 86 0>; /* MOSI */ - cs-gpios = <&msmgpio 88 0>; - - qcom,infinite-mode = <0>; - qcom,use-bam; - qcom,ver-reg-exists; - qcom,bam-consumer-pipe-index = <18>; - qcom,bam-producer-pipe-index = <19>; - }; - - qcom,pronto@fb21b000 { - compatible = "qcom,pil-pronto"; - reg = <0xfb21b000 0x3000>, - <0xfc401700 0x4>, - <0xfd485300 0xc>; - reg-names = "pmu_base", "clk_base", "halt_base"; - interrupts = <0 149 1>; - vdd_pronto_pll-supply = <&pm8110_l10>; - - qcom,firmware-name = "wcnss"; - - /* GPIO inputs from wcnss */ - qcom,gpio-err-fatal = <&smp2pgpio_ssr_smp2p_4_in 0 0>; - qcom,gpio-err-ready = <&smp2pgpio_ssr_smp2p_4_in 1 0>; - qcom,gpio-proxy-unvote = <&smp2pgpio_ssr_smp2p_4_in 2 0>; - - /* GPIO output to wcnss */ - qcom,gpio-force-stop = <&smp2pgpio_ssr_smp2p_4_out 0 0>; - }; - - qcom,iris-fm { - compatible = "qcom,iris_fm"; - }; - - sound { - compatible = "qcom,msm8x10-audio-codec"; - qcom,model = "msm8x10-snd-card"; - }; - - qcom,msm-pcm { - compatible = "qcom,msm-pcm-dsp"; - qcom,msm-pcm-dsp-id = <0>; - }; - - qcom,msm-pcm-low-latency { - compatible = "qcom,msm-pcm-dsp"; - qcom,msm-pcm-dsp-id = <1>; - qcom,msm-pcm-low-latency; - }; - - qcom,msm-pcm-routing { - compatible = "qcom,msm-pcm-routing"; - }; - - qcom,msm-pcm-lpa { - compatible = "qcom,msm-pcm-lpa"; - }; - - qcom,msm-compr-dsp { - compatible = "qcom,msm-compr-dsp"; - }; - - qcom,msm-voip-dsp { - compatible = "qcom,msm-voip-dsp"; - }; - - qcom,msm-pcm-voice { - compatible = "qcom,msm-pcm-voice"; - }; - - qcom,msm-stub-codec { - compatible = "qcom,msm-stub-codec"; - }; - - qcom,msm-dai-fe { - compatible = "qcom,msm-dai-fe"; - }; - - qcom,msm-pcm-afe { - compatible = "qcom,msm-pcm-afe"; - }; - - qcom,msm-dai-mi2s { - compatible = "qcom,msm-dai-mi2s"; - qcom,msm-dai-q6-mi2s-prim { - compatible = "qcom,msm-dai-q6-mi2s"; - qcom,msm-dai-q6-mi2s-dev-id = <0>; - qcom,msm-mi2s-rx-lines = <0>; - qcom,msm-mi2s-tx-lines = <3>; - }; - - qcom,msm-dai-q6-mi2s-sec { - compatible = "qcom,msm-dai-q6-mi2s"; - qcom,msm-dai-q6-mi2s-dev-id = <1>; - qcom,msm-mi2s-rx-lines = <3>; - qcom,msm-mi2s-tx-lines = <0>; - }; - }; - - qcom,msm-dai-q6 { - compatible = "qcom,msm-dai-q6"; - qcom,msm-dai-q6-bt-sco-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <12288>; - }; - - qcom,msm-dai-q6-bt-sco-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <12289>; - }; - - qcom,msm-dai-q6-int-fm-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <12292>; - }; - - qcom,msm-dai-q6-int-fm-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <12293>; - }; - - qcom,msm-dai-q6-be-afe-pcm-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <224>; - }; - - qcom,msm-dai-q6-be-afe-pcm-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <225>; - }; - - qcom,msm-dai-q6-afe-proxy-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <241>; - }; - - qcom,msm-dai-q6-afe-proxy-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <240>; - }; - - qcom,msm-dai-q6-incall-record-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <32771>; - }; - - qcom,msm-dai-q6-incall-record-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <32772>; - }; - - qcom,msm-dai-q6-incall-music-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <32773>; - }; - }; - - qcom,msm-pcm-hostless { - compatible = "qcom,msm-pcm-hostless"; - }; - - qcom,wcnss-wlan@fb000000 { - compatible = "qcom,wcnss_wlan"; - reg = <0xfb000000 0x280000>, - <0xf9011008 0x04>; - reg-names = "wcnss_mmio", "wcnss_fiq"; - interrupts = <0 145 0>, <0 146 0>; - interrupt-names = "wcnss_wlantx_irq", "wcnss_wlanrx_irq"; - - qcom,pronto-vddmx-supply = <&pm8110_l3>; - qcom,pronto-vddcx-supply = <&pm8110_s1>; - qcom,pronto-vddpx-supply = <&pm8110_l6>; - qcom,iris-vddxo-supply = <&pm8110_l10>; - qcom,iris-vddrfa-supply = <&pm8110_l5>; - qcom,iris-vddpa-supply = <&pm8110_l16>; - qcom,iris-vdddig-supply = <&pm8110_l5>; - - gpios = <&msmgpio 23 0>, <&msmgpio 24 0>, <&msmgpio 25 0>, <&msmgpio 26 0>, <&msmgpio 27 0>; - qcom,has-pronto-hw; - qcom,wlan-rx-buff-count = <256>; - }; - - qcom,mss@fc880000 { - compatible = "qcom,pil-q6v5-mss"; - reg = <0xfc880000 0x100>, - <0xfd485000 0x400>, - <0xfc820000 0x020>, - <0xfc401680 0x004>, - <0xfd485194 0x4>; - reg-names = "qdsp6_base", "halt_base", "rmb_base", - "restart_reg", "cxrail_bhs_reg"; - - interrupts = <0 24 1>; - vdd_cx-supply = <&pm8110_s1_corner>; - vdd_mx-supply = <&pm8110_l3>; - vdd_pll-supply = <&pm8110_l10>; - qcom,vdd_pll = <1800000>; - qcom,is-loadable; - qcom,firmware-name = "mba"; - qcom,pil-self-auth; - - /* 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>; - }; - - qcom,lpass@fe200000 { - compatible = "qcom,pil-q6v5-lpass"; - reg = <0xfe200000 0x00100>, - <0xfd485100 0x00010>, - <0xfc4016c0 0x00004>; - reg-names = "qdsp6_base", "halt_base", "restart_reg"; - interrupts = <0 162 1>; - vdd_cx-supply = <&pm8110_s1_corner>; - 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>; - - /* GPIO output to lpass */ - qcom,gpio-force-stop = <&smp2pgpio_ssr_smp2p_2_out 0 0>; - }; - - tsens: tsens@fc4a8000 { - compatible = "qcom,msm-tsens"; - reg = <0xfc4a8000 0x2000>, - <0xfc4b8000 0x1000>; - reg-names = "tsens_physical", "tsens_eeprom_physical"; - interrupts = <0 184 0>; - qcom,sensors = <2>; - qcom,slope = <2901 2846>; - qcom,calib-mode = "fuse_map3"; - qcom,sensor-id = <0 5>; - }; - - qcom,msm-thermal { - compatible = "qcom,msm-thermal"; - qcom,sensor-id = <5>; - qcom,poll-ms = <250>; - qcom,limit-temp = <60>; - qcom,temp-hysteresis = <10>; - qcom,freq-step = <2>; - qcom,freq-control-mask = <0xf>; - }; - - qcom,ipc-spinlock@fd484000 { - compatible = "qcom,ipc-spinlock-sfpb"; - reg = <0xfd484000 0x400>; - qcom,num-locks = <8>; - }; - - qcom,bam_dmux@fc834000 { - compatible = "qcom,bam_dmux"; - reg = <0xfc834000 0x7000>; - interrupts = <0 29 1>; - }; - - qcom,qseecom@7B00000 { - compatible = "qcom,qseecom"; - reg = <0x7B00000 0x500000>; - reg-names = "secapp-region"; - qcom,disk-encrypt-pipe-pair = <2>; - qcom,hlos-ce-hw-instance = <0>; - qcom,qsee-ce-hw-instance = <0>; - qcom,msm-bus,name = "qseecom-noc"; - qcom,msm-bus,num-cases = <4>; - qcom,msm-bus,active-only = <0>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <55 512 0 0>, - <55 512 3936000 393600>, - <55 512 3936000 393600>, - <55 512 3936000 393600>; - }; - - qcom,msm-rng@f9bff000 { - compatible = "qcom,msm-rng"; - reg = <0xf9bff000 0x200>; - qcom,msm-rng-iface-clk; - }; - - qcom,msm-rtb { - compatible = "qcom,msm-rtb"; - qcom,memory-reservation-type = "EBI1"; - qcom,memory-reservation-size = <0x100000>; /* 1M EBI1 buffer */ - }; - - jtag_mm0: jtagmm@fc34c000 { - compatible = "qcom,jtag-mm"; - reg = <0xfc34c000 0x1000>, - <0xfc340000 0x1000>; - reg-names = "etm-base","debug-base"; - }; - - jtag_mm1: jtagmm@fc34d000 { - compatible = "qcom,jtag-mm"; - reg = <0xfc34d000 0x1000>, - <0xfc342000 0x1000>; - reg-names = "etm-base","debug-base"; - }; - - jtag_mm2: jtagmm@fc34e000 { - compatible = "qcom,jtag-mm"; - reg = <0xfc34e000 0x1000>, - <0xfc344000 0x1000>; - reg-names = "etm-base","debug-base"; - }; - - jtag_mm3: jtagmm@fc34f000 { - compatible = "qcom,jtag-mm"; - reg = <0xfc34f000 0x1000>, - <0xfc346000 0x1000>; - reg-names = "etm-base","debug-base"; - }; - - qcom,tz-log@fe805720 { - compatible = "qcom,tz-log"; - reg = <0x0fe805720 0x1000>; - }; - - qcom,qcrypto@fd404000 { - compatible = "qcom,qcrypto"; - reg = <0xfd400000 0x20000>, - <0xfd404000 0x8000>; - reg-names = "crypto-base","crypto-bam-base"; - interrupts = <0 207 0>; - qcom,bam-pipe-pair = <2>; - qcom,ce-hw-instance = <1>; - qcom,ce-hw-shared; - qcom,msm-bus,name = "qcrypto-noc"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,active-only = <0>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <55 512 0 0>, - <55 512 393600 3936000>; - }; - - qcom,qcedev@fd400000 { - compatible = "qcom,qcedev"; - reg = <0xfd400000 0x20000>, - <0xfd404000 0x8000>; - reg-names = "crypto-base","crypto-bam-base"; - interrupts = <0 207 0>; - qcom,bam-pipe-pair = <1>; - qcom,ce-hw-instance = <1>; - qcom,ce-hw-shared; - qcom,msm-bus,name = "qcedev-noc"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,active-only = <0>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <55 512 0 0>, - <55 512 393600 3936000>; - }; - -}; - -&gdsc_vfe { - status = "ok"; -}; - -&gdsc_oxili_cx { - status = "ok"; -}; - -&lpass_iommu { - status = "ok"; -}; - -&copss_iommu { - status = "ok"; -}; - -&mdpe_iommu { - status = "ok"; -}; - -&mdps_iommu { - status = "ok"; -}; - -&gfx_iommu { - status = "ok"; -}; - -&vfe_iommu { - status = "ok"; -}; - -/include/ "msm8610-iommu-domains.dtsi" - -/include/ "msm-pm8110-rpm-regulator.dtsi" -/include/ "msm-pm8110.dtsi" -/include/ "msm8610-regulator.dtsi" - -&pm8110_vadc { - chan@0 { - label = "usb_in"; - reg = <0>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <4>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@2 { - label = "vchg_sns"; - reg = <2>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <2>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@5 { - label = "vcoin"; - reg = <5>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <1>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@6 { - label = "vbat_sns"; - reg = <6>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <1>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@7 { - label = "vph_pwr"; - reg = <7>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <1>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@30 { - label = "batt_therm"; - reg = <0x30>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <1>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@31 { - label = "batt_id"; - reg = <0x31>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@b2 { - label = "xo_therm_pu2"; - reg = <0xb2>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <4>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@13 { - label = "pa_therm0"; - reg = <0x13>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; -}; - -&pm8110_adc_tm { - /* Channel Node */ - chan@30 { - label = "batt_therm"; - reg = <0x30>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <1>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <3>; - qcom,btm-channel-number = <0x48>; - }; - - chan@8 { - label = "die_temp"; - reg = <8>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <3>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <3>; - qcom,btm-channel-number = <0x68>; - }; - - chan@6 { - label = "vbat_sns"; - reg = <6>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <1>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <3>; - qcom,btm-channel-number = <0x70>; - }; - - chan@13 { - label = "pa_therm0"; - reg = <0x13>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - qcom,btm-channel-number = <0x78>; - qcom,thermal-node; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8660-surf.dts b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8660-surf.dts deleted file mode 100644 index 4518fc4a3..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8660-surf.dts +++ /dev/null @@ -1,24 +0,0 @@ -/dts-v1/; - -/include/ "skeleton.dtsi" - -/ { - model = "Qualcomm MSM8660 SURF"; - compatible = "qcom,msm8660-surf", "qcom,msm8660", "qcom,surf"; - interrupt-parent = <&intc>; - - intc: interrupt-controller@02080000 { - compatible = "qcom,msm-8660-qgic"; - interrupt-controller; - #interrupt-cells = <3>; - reg = < 0x02080000 0x1000 >, - < 0x02081000 0x1000 >; - }; - - serial@19c400000 { - compatible = "qcom,msm-hsuart", "qcom,msm-uart"; - reg = <0x19c40000 0x1000>, - <0x19c00000 0x1000>; - interrupts = <0 195 0x0>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8926-cdp.dts b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8926-cdp.dts deleted file mode 100644 index 7a91d40ee..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8926-cdp.dts +++ /dev/null @@ -1,22 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - - -/dts-v1/; -/include/ "msm8926.dtsi" -/include/ "msm8226-cdp.dtsi" - -/ { - model = "Qualcomm MSM 8926 CDP"; - compatible = "qcom,msm8926-cdp", "qcom,msm8926", "qcom,cdp"; - qcom,msm-id = <200 1 0>; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8926-mtp.dts b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8926-mtp.dts deleted file mode 100644 index fea925d62..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8926-mtp.dts +++ /dev/null @@ -1,22 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - - -/dts-v1/; -/include/ "msm8926.dtsi" -/include/ "msm8226-mtp.dtsi" - -/ { - model = "Qualcomm MSM 8926 MTP"; - compatible = "qcom,msm8926-mtp", "qcom,msm8926", "qcom,mtp"; - qcom,msm-id = <200 8 0>; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8926-qrd.dts b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8926-qrd.dts deleted file mode 100644 index e056b7e87..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8926-qrd.dts +++ /dev/null @@ -1,21 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; -/include/ "msm8926.dtsi" -/include/ "msm8226-qrd.dtsi" - -/ { - model = "Qualcomm MSM 8926 QRD"; - compatible = "qcom,msm8926-qrd", "qcom,msm8926", "qcom,qrd"; - qcom,msm-id = <200 11 0>; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8926.dtsi b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8926.dtsi deleted file mode 100644 index 6f3f59251..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8926.dtsi +++ /dev/null @@ -1,30 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/* - * Only 8926-specific property overrides should be placed inside this - * file. Device definitions should be placed inside the msm8226.dtsi - * file. - */ - -/include/ "msm8226.dtsi" - -/ { - model = "Qualcomm MSM 8926"; - compatible = "qcom,msm8926"; -}; - -&soc { - qcom,mss@fc880000 { - vdd_mss-supply = <&pm8226_s5>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8974-bus.dtsi b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8974-bus.dtsi deleted file mode 100644 index 609a1b302..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8974-bus.dtsi +++ /dev/null @@ -1,1411 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -&soc { - msm-mmss-noc@fc478000 { - compatible = "msm-bus-fabric"; - reg = <0xfc478000 0x00004000>; - cell-id = <2048>; - label = "msm_mmss_noc"; - qcom,fabclk-dual = "bus_clk"; - qcom,fabclk-active = "bus_a_clk"; - qcom,ntieredslaves = <0>; - qcom,qos-freq = <4800>; - qcom,hw-sel = "NoC"; - qcom,rpm-en; - - coresight-id = <52>; - coresight-name = "coresight-mnoc"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_in0>; - coresight-child-ports = <5>; - - mas-gfx3d { - cell-id = <26>; - label = "mas-gfx3d"; - qcom,masterp = <2 3>; - qcom,tier = <2>; - qcom,hw-sel = "NoC"; - qcom,perm-mode = "Bypass"; - qcom,mode = "Bypass"; - qcom,ws = <10000>; - qcom,qport = <2 3>; - qcom,mas-hw-id = <6>; - }; - - mas-jpeg { - cell-id = <62>; - label = "mas-jpeg"; - qcom,masterp = <4>; - qcom,tier = <2>; - qcom,hw-sel = "NoC"; - qcom,perm-mode = "Bypass"; - qcom,mode = "Bypass"; - qcom,qport = <0>; - qcom,ws = <10000>; - qcom,mas-hw-id = <7>; - }; - - mas-mdp-port0 { - cell-id = <22>; - label = "mas-mdp-port0"; - qcom,masterp = <5>; - qcom,tier = <2>; - qcom,hw-sel = "NoC"; - qcom,perm-mode = "Bypass"; - qcom,mode = "Bypass"; - qcom,qport = <1>; - qcom,ws = <10000>; - qcom,mas-hw-id = <8>; - }; - - mas-video-p0 { - cell-id = <63>; - label = "mas-video-p0"; - qcom,masterp = <6 7>; - qcom,tier = <2>; - qcom,hw-sel = "NoC"; - qcom,perm-mode = "Bypass"; - qcom,mode = "Bypass"; - qcom,ws = <10000>; - qcom,qport = <4 5>; - qcom,mas-hw-id = <9>; - }; - - mas-vfe { - cell-id = <29>; - label = "mas-vfe"; - qcom,masterp = <16>; - qcom,tier = <2>; - qcom,hw-sel = "NoC"; - qcom,perm-mode = "Bypass"; - qcom,mode = "Bypass"; - qcom,ws = <10000>; - qcom,qport = <6>; - qcom,mas-hw-id = <11>; - }; - - fab-cnoc { - cell-id = <5120>; - label = "fab-cnoc"; - qcom,gateway; - qcom,masterp = <0 1>; - qcom,buswidth = <16>; - qcom,hw-sel = "RPM"; - qcom,mas-hw-id = <4>; - }; - - fab-bimc { - cell-id = <0>; - label = "fab-bimc"; - qcom,gateway; - qcom,slavep = <16 17>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <16>; - }; - - slv-camera-cfg { - cell-id = <589>; - label = "slv-camera-cfg"; - qcom,slavep = <0>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <3>; - }; - - slv-display-cfg { - cell-id = <590>; - label = "slv-display-cfg"; - qcom,slavep = <1>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <4>; - }; - - slv-ocmem-cfg { - cell-id = <591>; - label = "slv-ocmem-cfg"; - qcom,slavep = <2>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <5>; - }; - - slv-cpr-cfg { - cell-id = <592>; - label = "slv-cpr-cfg"; - qcom,slavep = <3>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <6>; - }; - - slv-cpr-xpu-cfg { - cell-id = <593>; - label = "slv-cpr-xpu-cfg"; - qcom,slavep = <4>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <7>; - }; - - slv-misc-cfg { - cell-id = <594>; - label = "slv-misc-cfg"; - qcom,slavep = <6>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <8>; - }; - - slv-misc-xpu-cfg { - cell-id = <595>; - label = "slv-misc-xpu-cfg"; - qcom,slavep = <7>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <9>; - }; - - slv-venus-cfg { - cell-id = <596>; - label = "slv-venus-cfg"; - qcom,slavep = <8>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <10>; - }; - - slv-gfx3d-cfg { - cell-id = <598>; - label = "slv-gfx3d-cfg"; - qcom,slavep = <9>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <11>; - }; - - slv-mmss-clk-cfg { - cell-id = <599>; - label = "slv-mmss-clk-cfg"; - qcom,slavep = <11>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <12>; - }; - - slv-mmss-clk-xpu-cfg { - cell-id = <600>; - label = "slv-mmss-clk-xpu-cfg"; - qcom,slavep = <12>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <13>; - }; - - slv-mnoc-mpu-cfg { - cell-id = <601>; - label = "slv-mnoc-mpu-cfg"; - qcom,slavep = <13>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <14>; - }; - - slv-onoc-mpu-cfg { - cell-id = <602>; - label = "slv-onoc-mpu-cfg"; - qcom,slavep = <14>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <15>; - }; - - slv-service-mnoc { - cell-id = <603>; - label = "slv-service-mnoc"; - qcom,slavep = <18>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <17>; - }; - - }; - - msm-sys-noc@fc460000 { - compatible = "msm-bus-fabric"; - reg = <0xfc460000 0x00004000>; - cell-id = <1024>; - label = "msm_sys_noc"; - qcom,fabclk-dual = "bus_clk"; - qcom,fabclk-active = "bus_a_clk"; - qcom,ntieredslaves = <0>; - qcom,qos-freq = <4800>; - qcom,hw-sel = "NoC"; - qcom,rpm-en; - - coresight-id = <50>; - coresight-name = "coresight-snoc"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_in0>; - coresight-child-ports = <3>; - - msm-lpass-ahb { - cell-id = <52>; - label = "mas-lpass-ahb"; - qcom,masterp = <0>; - qcom,tier = <2>; - qcom,qport = <0>; - qcom,mas-hw-id = <18>; - qcom,mode = "Fixed"; - qcom,prio1 = <2>; - qcom,prio0 = <2>; - }; - - mas-qdss-bam { - cell-id = <53>; - label = "mas-qdss-bam"; - qcom,masterp = <1>; - qcom,tier = <2>; - qcom,mode = "Fixed"; - qcom,qport = <1>; - qcom,mas-hw-id = <19>; - qcom,prio1 = <1>; - qcom,prio0 = <1>; - qcom,hw-sel = "NoC"; - }; - - mas-snoc-cfg { - cell-id = <54>; - label = "mas-snoc-cfg"; - qcom,masterp = <2>; - qcom,tier = <2>; - qcom,mas-hw-id = <20>; - }; - - fab-bimc { - cell-id = <0>; - label= "fab-bimc"; - qcom,gateway; - qcom,slavep = <7 8>; - qcom,masterp = <3>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <21>; - qcom,slv-hw-id = <24>; - }; - - fab-cnoc { - cell-id = <5120>; - label = "fab-cnoc"; - qcom,gateway; - qcom,slavep = <9>; - qcom,masterp = <4>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <22>; - qcom,slv-hw-id = <25>; - }; - - fab-pnoc { - cell-id = <4096>; - label = "fab-pnoc"; - qcom,gateway; - qcom,slavep = <12>; - qcom,masterp = <11>; - qcom,buswidth = <8>; - qcom,qport = <8>; - qcom,mas-hw-id = <29>; - qcom,slv-hw-id = <28>; - qcom,mode = "Fixed"; - qcom,prio1 = <2>; - qcom,prio0 = <2>; - }; - - fab-ovnoc { - cell-id = <6144>; - label = "fab-ovnoc"; - qcom,gateway; - qcom,buswidth = <8>; - qcom,mas-hw-id = <53>; - qcom,slv-hw-id = <77>; - }; - - mas-crypto-core0 { - cell-id = <55>; - label = "mas-crypto-core0"; - qcom,masterp = <5>; - qcom,tier = <2>; - qcom,mode = "Fixed"; - qcom,qport = <2>; - qcom,mas-hw-id = <23>; - qcom,hw-sel = "NoC"; - qcom,prio1 = <1>; - qcom,prio0 = <1>; - }; - - mas-crypto-core1 { - cell-id = <56>; - label = "mas-crypto-core1"; - qcom,masterp = <6>; - qcom,tier = <2>; - qcom,mode = "Fixed"; - qcom,qport = <3>; - qcom,mas-hw-id = <24>; - qcom,hw-sel = "NoC"; - qcom,prio1 = <1>; - qcom,prio0 = <1>; - }; - - mas-lpass-proc { - cell-id = <11>; - label = "mas-lpass-proc"; - qcom,masterp = <7>; - qcom,tier = <2>; - qcom,qport = <4>; - qcom,mas-hw-id = <25>; - qcom,mode = "Fixed"; - qcom,prio1 = <2>; - qcom,prio0 = <2>; - }; - - mas-mss { - cell-id = <38>; - label = "mas-mss"; - qcom,masterp = <8>; - qcom,tier = <2>; - qcom,mas-hw-id = <26>; - }; - - mas-mss-nav { - cell-id = <57>; - label = "mas-mss-nav"; - qcom,masterp = <9>; - qcom,tier = <2>; - qcom,mas-hw-id = <27>; - }; - - mas-ocmem-dma { - cell-id = <58>; - label = "mas-ocmem-dma"; - qcom,masterp = <10>; - qcom,tier = <2>; - qcom,mode = "Fixed"; - qcom,qport = <7>; - qcom,mas-hw-id = <28>; - }; - - mas-wcss { - cell-id = <59>; - label = "mas-wcss"; - qcom,masterp = <12>; - qcom,tier = <2>; - qcom,mas-hw-id = <30>; - }; - - mas-qdss-etr { - cell-id = <60>; - label = "mas-qdss-etr"; - qcom,masterp = <13>; - qcom,tier = <2>; - qcom,qport = <10>; - qcom,mode = "Fixed"; - qcom,mas-hw-id = <31>; - qcom,prio1 = <1>; - qcom,prio0 = <1>; - qcom,hw-sel = "NoC"; - }; - - mas-usb3 { - cell-id = <61>; - label = "mas-usb3"; - qcom,masterp = <14>; - qcom,tier = <2>; - qcom,mode = "Fixed"; - qcom,qport = <11>; - qcom,mas-hw-id = <32>; - qcom,prio1 = <1>; - qcom,prio0 = <1>; - qcom,hw-sel = "NoC"; - qcom,iface-clk-node = "msm_usb3"; - }; - - slv-ampss { - cell-id = <520>; - label = "slv-ampss"; - qcom,slavep = <1>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <20>; - }; - - slv-lpass { - cell-id = <522>; - label = "slv-lpass"; - qcom,slavep = <2>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <21>; - }; - - slv-usb3 { - cell-id = <583>; - label = "slv-usb3"; - qcom,slavep = <4>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <22>; - }; - - slv-wcss { - cell-id = <584>; - label = "slv-wcss"; - qcom,slavep = <6>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <23>; - }; - - slv-ocimem { - cell-id = <585>; - label = "slv-ocimem"; - qcom,slavep = <10>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <26>; - }; - - slv-snoc-ocmem { - cell-id = <586>; - label = "slv-snoc-ocmem"; - qcom,slavep = <11>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <27>; - }; - - slv-service-snoc { - cell-id = <587>; - label = "slv-service-snoc"; - qcom,slavep = <13>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <29>; - }; - - slv-qdss-stm { - cell-id = <588>; - label = "slv-qdss-stm"; - qcom,slavep = <14>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <30>; - }; - - }; - - msm-periph-noc@fc468000 { - compatible = "msm-bus-fabric"; - reg = <0xfc468000 0x00004000>; - cell-id = <4096>; - label = "msm_periph_noc"; - qcom,fabclk-dual = "bus_clk"; - qcom,fabclk-active = "bus_a_clk"; - qcom,ntieredslaves = <0>; - qcom,hw-sel = "NoC"; - qcom,rpm-en; - - coresight-id = <54>; - coresight-name = "coresight-pnoc"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_in0>; - coresight-child-ports = <6>; - - mas-pnoc-cfg { - cell-id = <88>; - label = "mas-pnoc-cfg"; - qcom,masterp = <10>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <43>; - }; - - mas-sdcc-1 { - cell-id = <78>; - label = "mas-sdcc-1"; - qcom,masterp = <0>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <33>; - }; - - mas-sdcc-3 { - cell-id = <79>; - label = "mas-sdcc-3"; - qcom,masterp = <1>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <34>; - }; - - mas-sdcc-4 { - cell-id = <80>; - label = "mas-sdcc-4"; - qcom,masterp = <3>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <36>; - }; - - mas-sdcc-2 { - cell-id = <81>; - label = "mas-sdcc-2"; - qcom,masterp = <2>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <35>; - }; - - mas-tsif { - cell-id = <82>; - label = "mas-tsif"; - qcom,masterp = <4>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <37>; - }; - - mas-bam-dma { - cell-id = <83>; - label = "mas-bam-dma"; - qcom,masterp = <5>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <38>; - }; - - mas-blsp-2 { - cell-id = <84>; - label = "mas-blsp-2"; - qcom,masterp = <6>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <39>; - }; - - mas-usb-hsic { - cell-id = <85>; - label = "mas-usb-hsic"; - qcom,masterp = <7>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <40>; - }; - - mas-blsp-1 { - cell-id = <86>; - label = "mas-blsp-1"; - qcom,masterp = <8>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <41>; - }; - - mas-usb-hs { - cell-id = <87>; - label = "mas-usb-hs"; - qcom,masterp = <9>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <42>; - }; - - fab-snoc { - cell-id = <1024>; - label = "fab-snoc"; - qcom,gateway; - qcom,slavep = <14>; - qcom,masterp = <11>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <45>; - qcom,mas-hw-id = <44>; - }; - - slv-sdcc-1 { - cell-id = <606>; - label = "slv-sdcc-1"; - qcom,slavep = <0>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <31>; - }; - - slv-sdcc-3 { - cell-id = <607>; - label = "slv-sdcc-3"; - qcom,slavep = <1>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <32>; - }; - - slv-sdcc-2 { - cell-id = <608>; - label = "slv-sdcc-2"; - qcom,slavep = <2>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <33>; - }; - - slv-sdcc-4 { - cell-id = <609>; - label = "slv-sdcc-4"; - qcom,slavep = <3>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <34>; - }; - - slv-tsif { - cell-id = <575>; - label = "slv-tsif"; - qcom,slavep = <4>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <35>; - }; - - slv-bam-dma { - cell-id = <610>; - label = "slv-bam-dma"; - qcom,slavep = <5>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <36>; - }; - - slv-blsp-2 { - cell-id = <611>; - label = "slv-blsp-2"; - qcom,slavep = <6>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <37>; - }; - - slv-usb-hsic { - cell-id = <612>; - label = "slv-usb-hsic"; - qcom,slavep = <7>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <38>; - }; - - slv-blsp-1 { - cell-id = <613>; - label = "slv-blsp-1"; - qcom,slavep = <8>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <39>; - }; - - slv-usb-hs { - cell-id = <614>; - label = "slv-usb-hs"; - qcom,slavep = <9>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <40>; - }; - - slv-pdm { - cell-id = <615>; - label = "slv-pdm"; - qcom,slavep = <10>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <41>; - }; - - slv-periph-apu-cfg { - cell-id = <616>; - label = "slv-periph-apu-cfg"; - qcom,slavep = <11>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <42>; - }; - - slv-pnoc-mpu-cfg { - cell-id = <617>; - label = "slv-pnoc-mpu-cfg"; - qcom,slavep = <12>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <43>; - }; - - slv-prng { - cell-id = <618>; - label = "slv-prng"; - qcom,slavep = <13>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <44>; - }; - - slv-service-pnoc { - cell-id = <619>; - label = "slv-service-pnoc"; - qcom,slavep = <15>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <46>; - }; - - }; - - msm-config-noc@fc480000 { - compatible = "msm-bus-fabric"; - reg = <0xfc480000 0x00004000>; - cell-id = <5120>; - label = "msm_config_noc"; - qcom,fabclk-dual = "bus_clk"; - qcom,fabclk-active = "bus_a_clk"; - qcom,ntieredslaves = <0>; - qcom,hw-sel = "NoC"; - qcom,rpm-en; - - mas-rpm-inst { - cell-id = <72>; - label = "mas-rpm-inst"; - qcom,masterp = <0>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <45>; - }; - - mas-rpm-data { - cell-id = <73>; - label = "mas-rpm-data"; - qcom,masterp = <1>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <46>; - }; - - mas-rpm-sys { - cell-id = <74>; - label = "mas-rpm-sys"; - qcom,masterp = <2>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <47>; - }; - - mas-dehr { - cell-id = <75>; - label = "mas-dehr"; - qcom,masterp = <3>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <48>; - }; - - mas-qdss-dsp { - cell-id = <76>; - label = "mas-qdss-dap"; - qcom,masterp = <4>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <49>; - }; - - mas-spdm { - cell-id = <36>; - label = "mas-spdm"; - qcom,masterp = <5>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <50>; - }; - - mas-tic { - cell-id = <77>; - label = "mas-tic"; - qcom,masterp = <6>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <51>; - }; - - slv-clk-ctl { - cell-id = <620>; - label = "slv-clk-ctl"; - qcom,slavep = <1>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <47>; - }; - - slv-cnoc-mss { - cell-id = <621>; - label = "slv-cnoc-mss"; - qcom,slavep = <2>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <48>; - }; - - slv-security { - cell-id = <622>; - label = "slv-security"; - qcom,slavep = <3>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <49>; - }; - - slv-tcsr { - cell-id = <623>; - label = "slv-tcsr"; - qcom,slavep = <4>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <50>; - }; - - slv-tlmm { - cell-id = <624>; - label = "slv-tlmm"; - qcom,slavep = <5>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <51>; - }; - - slv-crypto-0-cfg { - cell-id = <625>; - label = "slv-crypto-0-cfg"; - qcom,slavep = <6>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <52>; - }; - - slv-crypto-1-cfg { - cell-id = <626>; - label = "slv-crypto-1-cfg"; - qcom,slavep = <7>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <53>; - }; - - slv-imem-cfg { - cell-id = <627>; - label = "slv-imem-cfg"; - qcom,slavep = <8>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <54>; - }; - - slv-message-ram { - cell-id = <628>; - label = "slv-message-ram"; - qcom,slavep = <9>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <55>; - }; - - slv-bimc-cfg { - cell-id = <629>; - label = "slv-bimc-cfg"; - qcom,slavep = <10>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <56>; - }; - - slv-boot-rom { - cell-id = <630>; - label = "slv-boot-rom"; - qcom,slavep = <11>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <57>; - }; - - slv-pmic-arb { - cell-id = <632>; - label = "slv-pmic-arb"; - qcom,slavep = <13>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <59>; - }; - - slv-spdm-wrapper { - cell-id = <633>; - label = "slv-spdm-wrapper"; - qcom,slavep = <14>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <60>; - }; - - slv-dehr-cfg { - cell-id = <634>; - label = "slv-dehr-cfg"; - qcom,slavep = <15>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <61>; - }; - - slv-mpm { - cell-id = <536>; - label = "slv-mpm"; - qcom,slavep = <16>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <62>; - }; - - slv-qdss-cfg { - cell-id = <635>; - label = "slv-qdss-cfg"; - qcom,slavep = <17>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <63>; - }; - - slv-rbcpr-cfg { - cell-id = <636>; - label = "slv-rbcpr-cfg"; - qcom,slavep = <18>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <64>; - }; - - slv-rbcpr-qdss-apu-cfg { - cell-id = <637>; - label = "slv-rbcpr-qdss-apu-cfg"; - qcom,slavep = <19>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <65>; - }; - - fab-snoc { - cell-id = <1024>; - label = "fab-snoc"; - qcom,gateway; - qcom,slavep = <29>; - qcom,masterp = <7>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <52>; - qcom,slv-hw-id = <75>; - }; - - slv-cnoc-onoc-cfg { - cell-id = <639>; - label = "slv-cnoc-onoc-cfg"; - qcom,slavep = <22>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <68>; - }; - - slv-cnoc-mnoc-mmss-cfg { - cell-id = <631>; - label = "slv-cnoc-mnoc-mmss-cfg"; - qcom,slavep = <12>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <58>; - }; - - slv-cnoc-mnoc-cfg { - cell-id = <640>; - label = "slv-cnoc-mnoc-cfg"; - qcom,slavep = <20>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <66>; - }; - - slv-pnoc-cfg { - cell-id = <641>; - label = "slv-pnoc-cfg"; - qcom,slavep = <23>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <69>; - }; - - slv-snoc-mpu-cfg { - cell-id = <638>; - label = "slv-snoc-mpu-cfg"; - qcom,slavep = <21>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <67>; - }; - - slv-snoc-cfg { - cell-id = <642>; - label = "slv-snoc-cfg"; - qcom,slavep = <24>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <70>; - }; - - slv-ebi1-dll-cfg { - cell-id = <643>; - label = "slv-ebi1-dll-cfg"; - qcom,slavep = <25>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <71>; - }; - - slv-phy-apu-cfg { - cell-id = <644>; - label = "slv-phy-apu-cfg"; - qcom,slavep = <26>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <72>; - }; - - slv-ebi1-phy-cfg { - cell-id = <645>; - label = "slv-ebi1-phy-cfg"; - qcom,slavep = <27>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <73>; - }; - - slv-rpm { - cell-id = <534>; - label = "slv-rpm"; - qcom,slavep = <28>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <74>; - }; - - slv-service-cnoc { - cell-id = <646>; - label = "slv-service-cnoc"; - qcom,slavep = <30>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <76>; - }; - - }; - - msm-bimc@0xfc380000 { - compatible = "msm-bus-fabric"; - reg = <0xfc380000 0x0006A000>; - cell-id = <0>; - label = "msm_bimc"; - qcom,fabclk-dual = "mem_clk"; - qcom,fabclk-active = "mem_a_clk"; - qcom,ntieredslaves = <0>; - qcom,qos-freq = <19200>; - qcom,hw-sel = "BIMC"; - qcom,rpm-en; - - coresight-id = <55>; - coresight-name = "coresight-bimc"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_in1>; - coresight-child-ports = <3>; - - mas-ampss-m0 { - cell-id = <1>; - label = "mas-ampss-m0"; - qcom,masterp = <0>; - qcom,tier = <2>; - qcom,hw-sel = "BIMC"; - qcom,mode = "Limiter"; - qcom,qport = <0>; - qcom,ws = <10000>; - qcom,mas-hw-id = <0>; - qcom,prio-rd = <0>; - qcom,prio-wr = <0>; - qcom,mode-thresh = "Fixed"; - qcom,thresh = <2000000>; - qcom,dual-conf; - qcom,bimc,bw = <300000>; - qcom,bimc,gp = <5>; - qcom,bimc,thmp = <50>; - }; - - mas-ampss-m1 { - cell-id = <2>; - label = "mas-ampss-m1"; - qcom,masterp = <1>; - qcom,tier = <2>; - qcom,hw-sel = "BIMC"; - qcom,mode = "Limiter"; - qcom,qport = <1>; - qcom,ws = <10000>; - qcom,mas-hw-id = <0>; - qcom,prio-rd = <0>; - qcom,prio-wr = <0>; - qcom,mode-thresh = "Fixed"; - qcom,thresh = <2000000>; - qcom,dual-conf; - qcom,bimc,bw = <300000>; - qcom,bimc,gp = <5>; - qcom,bimc,thmp = <50>; - }; - - mas-mss-proc { - cell-id = <65>; - label = "mas-mss-proc"; - qcom,masterp = <2>; - qcom,tier = <2>; - qcom,hw-sel = "RPM"; - qcom,mas-hw-id = <1>; - }; - - fab-mmss-noc { - cell-id = <2048>; - label = "fab_mmss_noc"; - qcom,gateway; - qcom,masterp = <3 4>; - qcom,qport = <3 4>; - qcom,buswidth = <8>; - qcom,ws = <10000>; - qcom,mas-hw-id = <2>; - qcom,hw-sel = "BIMC"; - qcom,mode = "Bypass"; - }; - - fab-snoc { - cell-id = <1024>; - label = "fab-snoc"; - qcom,gateway; - qcom,slavep = <3>; - qcom,masterp = <5 6>; - qcom,qport = <5 6>; - qcom,buswidth = <8>; - qcom,ws = <10000>; - qcom,mas-hw-id = <3>; - qcom,slv-hw-id = <2>; - qcom,mode = "Bypass"; - qcom,hw-sel = "RPM"; - }; - - slv-ebi-ch0 { - cell-id = <512>; - label = "slv-ebi-ch0"; - qcom,slavep = <0 1>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <0>; - qcom,mode = "Bypass"; - }; - - slv-ampss-l2 { - cell-id = <514>; - label = "slv-ampss-l2"; - qcom,slavep = <2>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <1>; - }; - }; - - msm-ocmem-vnoc@6144 { - compatible = "msm-bus-fabric"; - reg = <0x6144 0x2>; - cell-id = <6144>; - label = "msm-ocmem-vnoc"; - qcom,ntieredslaves = <0>; - qcom,hw-sel = "NoC"; - qcom,rpm-en; - qcom,virt; - - mas-v-ocmem-gfx3d { - cell-id = <89>; - label = "mas-v-ocmem-gfx3d"; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <55>; - }; - - slv-ocmem { - cell-id = <604>; - label = "slv-ocmem"; - qcom,slavep = <0 1>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,slv-hw-id = <18>; - qcom,slaveclk-dual = "ocmem_clk"; - qcom,slaveclk-active = "ocmem_a_clk"; - }; - - fab-snoc { - cell-id = <1024>; - label = "fab-snoc"; - qcom,gateway; - qcom,buswidth = <8>; - qcom,ws = <10000>; - qcom,mas-hw-id = <57>; - qcom,slv-hw-id = <80>; - }; - - fab-onoc { - cell-id = <3072>; - label = "fab-onoc"; - qcom,gateway; - qcom,buswidth = <16>; - qcom,ws = <10000>; - qcom,mas-hw-id = <56>; - qcom,slv-hw-id = <79>; - }; - - }; - - msm-ocmem-noc@fc470000 { - compatible = "msm-bus-fabric"; - reg = <0xfc470000 0x00004000>; - cell-id = <3072>; - label = "msm_ocmem_noc"; - qcom,fabclk-dual = "bus_clk"; - qcom,fabclk-active = "bus_a_clk"; - qcom,ntieredslaves = <0>; - qcom,qos-freq = <4800>; - qcom,hw-sel = "NoC"; - qcom,rpm-en; - - coresight-id = <51>; - coresight-name = "coresight-onoc"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_in0>; - coresight-child-ports = <4>; - - fab-ocmem-vnoc { - cell-id = <6144>; - label = "fab-ocmem-vnoc"; - qcom,gateway; - qcom,buswidth = <16>; - qcom,mas-hw-id = <54>; - qcom,slv-hw-id = <78>; - }; - - mas-jpeg-ocmem { - cell-id = <66>; - label = "mas-jpeg-ocmem"; - qcom,masterp = <1>; - qcom,tier = <2>; - qcom,perm-mode = "Fixed"; - qcom,mode = "Fixed"; - qcom,qport = <0>; - qcom,mas-hw-id = <13>; - qcom,hw-sel = "NoC"; - }; - - mas-mdp-ocmem { - cell-id = <67>; - label = "mas-mdp-ocmem"; - qcom,masterp = <2>; - qcom,tier = <2>; - qcom,perm-mode = "Fixed"; - qcom,mode = "Fixed"; - qcom,mas-hw-id = <14>; - qcom,hw-sel = "NoC"; - }; - - mas-video-ocmem { - cell-id = <68>; - label = "mas-video-ocmem"; - qcom,masterp = <3 4>; - qcom,tier = <2>; - qcom,perm-mode = "Fixed"; - qcom,mode = "Fixed"; - qcom,qport = <2 3>; - qcom,mas-hw-id = <15>; - qcom,hw-sel = "NoC"; - }; - - mas-vfe-ocmem { - cell-id = <70>; - label = "mas-vfe-ocmem"; - qcom,masterp = <5>; - qcom,tier = <2>; - qcom,perm-mode = "Fixed"; - qcom,mode = "Fixed"; - qcom,qport = <4>; - qcom,mas-hw-id = <17>; - qcom,hw-sel = "NoC"; - qcom,prio-rd = <1>; - qcom,prio-wr = <1>; - }; - - mas-cnoc-onoc-cfg { - cell-id = <71>; - label = "mas-cnoc-onoc-cfg"; - qcom,masterp = <0>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,mas-hw-id = <12>; - qcom,hw-sel = "NoC"; - }; - - slv-service-onoc { - cell-id = <605>; - label = "slv-service-onoc"; - qcom,slavep = <2>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,slv-hw-id = <19>; - }; - }; -}; - - diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8974-camera-sensor-cdp.dtsi b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8974-camera-sensor-cdp.dtsi deleted file mode 100644 index 4a9820dab..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8974-camera-sensor-cdp.dtsi +++ /dev/null @@ -1,189 +0,0 @@ -/* - * Copyright (c) 2012-2013, 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. - */ - -&cci { - - actuator0: qcom,actuator@18 { - cell-index = <0>; - reg = <0x18 0x0>; - compatible = "qcom,actuator"; - qcom,cci-master = <0>; - }; - - actuator1: qcom,actuator@36 { - cell-index = <1>; - reg = <0x36>; - compatible = "qcom,actuator"; - qcom,cci-master = <0>; - }; - - qcom,camera@6e { - compatible = "qcom,s5k3l1yx"; - reg = <0x6e 0x0>; - qcom,slave-id = <0x6e 0x0 0x3121>; - qcom,csiphy-sd-index = <0>; - qcom,csid-sd-index = <0>; - qcom,actuator-src = <&actuator0>; - qcom,mount-angle = <90>; - qcom,sensor-name = "s5k3l1yx"; - qcom,vdd-cx-supply = <&pm8841_s2>; - qcom,vdd-cx-name = "qcom,vdd-cx"; - cam_vdig-supply = <&pm8941_l3>; - cam_vana-supply = <&pm8941_l17>; - cam_vio-supply = <&pm8941_lvs3>; - cam_vaf-supply = <&pm8941_l23>; - qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana", - "cam_vaf"; - qcom,cam-vreg-type = <0 1 0 0>; - qcom,cam-vreg-min-voltage = <1225000 0 2850000 3000000>; - qcom,cam-vreg-max-voltage = <1225000 0 2850000 3000000>; - qcom,cam-vreg-op-mode = <105000 0 80000 100000>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 15 0>, - <&msmgpio 90 0>, - <&msmgpio 89 0>; - qcom,gpio-reset = <1>; - qcom,gpio-standby = <2>; - qcom,gpio-req-tbl-num = <0 1 2>; - qcom,gpio-req-tbl-flags = <1 0 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1", - "CAM_STANDBY"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 30000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x1F>; - qcom,sensor-position = <0>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - status = "ok"; - }; - - qcom,camera@20 { - compatible = "qcom,imx135"; - reg = <0x20>; - qcom,slave-id = <0x20 0x0016 0x0135>; - qcom,csiphy-sd-index = <0>; - qcom,csid-sd-index = <0>; - qcom,mount-angle = <90>; - qcom,sensor-name = "imx135"; - qcom,actuator-src = <&actuator1>; - qcom,vdd-cx-supply = <&pm8841_s2>; - qcom,vdd-cx-name = "qcom,vdd-cx"; - cam_vdig-supply = <&pm8941_l3>; - cam_vana-supply = <&pm8941_l17>; - cam_vio-supply = <&pm8941_lvs3>; - cam_vaf-supply = <&pm8941_l23>; - qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana", - "cam_vaf"; - qcom,cam-vreg-type = <0 1 0 0>; - qcom,cam-vreg-min-voltage = <1225000 0 2850000 3000000>; - qcom,cam-vreg-max-voltage = <1225000 0 2850000 3000000>; - qcom,cam-vreg-op-mode = <105000 0 80000 100000>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 15 0>, - <&msmgpio 90 0>, - <&msmgpio 89 0>; - qcom,gpio-reset = <1>; - qcom,gpio-standby = <2>; - qcom,gpio-req-tbl-num = <0 1 2>; - qcom,gpio-req-tbl-flags = <1 0 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1", - "CAM_STANDBY"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 30000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x1F>; - qcom,sensor-position = <0>; - qcom,sensor-mode = <0>; - qcom,sensor-type = <0>; - qcom,cci-master = <0>; - status = "ok"; - }; - - qcom,camera@6c { - compatible = "qcom,ov2720"; - reg = <0x6c 0x0>; - qcom,slave-id = <0x6c 0x300A 0x2720>; - qcom,csiphy-sd-index = <2>; - qcom,csid-sd-index = <2>; - qcom,mount-angle = <90>; - qcom,sensor-name = "ov2720"; - qcom,vdd-cx-supply = <&pm8841_s2>; - qcom,vdd-cx-name = "qcom,vdd-cx"; - cam_vdig-supply = <&pm8941_l3>; - cam_vana-supply = <&pm8941_l17>; - cam_vio-supply = <&pm8941_lvs3>; - qcom,cam-vreg-name = "cam_vdig", "cam_vana", "cam_vio"; - qcom,cam-vreg-type = <0 0 1>; - qcom,cam-vreg-min-voltage = <1225000 2850000 0>; - qcom,cam-vreg-max-voltage = <1225000 2850000 0>; - qcom,cam-vreg-op-mode = <105000 80000 0>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 17 0>, - <&msmgpio 18 0>; - qcom,gpio-reset = <1>; - qcom,gpio-req-tbl-num = <0 1>; - qcom,gpio-req-tbl-flags = <1 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 4000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x7>; - qcom,sensor-position = <1>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - status = "ok"; - }; - - qcom,camera@90 { - compatible = "qcom,mt9m114"; - reg = <0x90 0x0>; - qcom,slave-id = <0x90 0x0 0x2481>; - qcom,csiphy-sd-index = <1>; - qcom,csid-sd-index = <0>; - qcom,mount-angle = <0>; - qcom,sensor-name = "mt9m114"; - qcom,vdd-cx-supply = <&pm8841_s2>; - qcom,vdd-cx-name = "qcom,vdd-cx"; - cam_vdig-supply = <&pm8941_l3>; - cam_vana-supply = <&pm8941_l17>; - cam_vio-supply = <&pm8941_lvs3>; - qcom,cam-vreg-name = "cam_vdig", "cam_vana", "cam_vio"; - qcom,cam-vreg-type = <0 0 1>; - qcom,cam-vreg-min-voltage = <1225000 2850000 0>; - qcom,cam-vreg-max-voltage = <1225000 2850000 0>; - qcom,cam-vreg-op-mode = <105000 80000 0>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 16 0>, - <&msmgpio 92 0>; - qcom,gpio-reset = <1>; - qcom,gpio-req-tbl-num = <0 1>; - qcom,gpio-req-tbl-flags = <1 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 4000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x3>; - qcom,sensor-position = <1>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8974-camera-sensor-dragonboard.dtsi b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8974-camera-sensor-dragonboard.dtsi deleted file mode 100644 index e84a47d62..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8974-camera-sensor-dragonboard.dtsi +++ /dev/null @@ -1,174 +0,0 @@ -/* - * Copyright (c) 2012-2013, 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. - */ - -&cci { - - actuator0: qcom,actuator@18 { - cell-index = <0>; - reg = <0x18 0x0>; - compatible = "qcom,actuator"; - qcom,cci-master = <0>; - }; - - actuator1: qcom,actuator@36 { - cell-index = <1>; - reg = <0x36>; - compatible = "qcom,actuator"; - qcom,cci-master = <0>; - }; - - qcom,camera@6e { - compatible = "qcom,s5k3l1yx"; - reg = <0x6e 0x0>; - qcom,slave-id = <0x6e 0x0 0x3121>; - qcom,csiphy-sd-index = <0>; - qcom,csid-sd-index = <0>; - qcom,mount-angle = <0>; - qcom,actuator-src = <&actuator0>; - qcom,sensor-name = "s5k3l1yx"; - cam_vdig-supply = <&pm8941_l3>; - cam_vana-supply = <&pm8941_l17>; - cam_vio-supply = <&pm8941_lvs3>; - cam_vaf-supply = <&pm8941_l23>; - qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana", - "cam_vaf"; - qcom,cam-vreg-type = <0 1 0 0>; - qcom,cam-vreg-min-voltage = <1225000 0 2850000 3000000>; - qcom,cam-vreg-max-voltage = <1225000 0 2850000 3000000>; - qcom,cam-vreg-op-mode = <105000 0 80000 100000>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 15 0>, - <&msmgpio 90 0>; - qcom,gpio-reset = <1>; - qcom,gpio-req-tbl-num = <0 1>; - qcom,gpio-req-tbl-flags = <1 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 30000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x1F>; - qcom,sensor-position = <0>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - status = "ok"; - }; - - qcom,camera@20 { - compatible = "qcom,imx135"; - reg = <0x20>; - qcom,slave-id = <0x20 0x0016 0x0135>; - qcom,csiphy-sd-index = <0>; - qcom,csid-sd-index = <0>; - qcom,mount-angle = <0>; - qcom,sensor-name = "imx135"; - qcom,actuator-src = <&actuator1>; - cam_vdig-supply = <&pm8941_l3>; - cam_vana-supply = <&pm8941_l17>; - cam_vio-supply = <&pm8941_lvs3>; - cam_vaf-supply = <&pm8941_l23>; - qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana", - "cam_vaf"; - qcom,cam-vreg-type = <0 1 0 0>; - qcom,cam-vreg-min-voltage = <1225000 0 2850000 3000000>; - qcom,cam-vreg-max-voltage = <1225000 0 2850000 3000000>; - qcom,cam-vreg-op-mode = <105000 0 80000 100000>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 15 0>, - <&msmgpio 90 0>; - qcom,gpio-reset = <1>; - qcom,gpio-req-tbl-num = <0 1>; - qcom,gpio-req-tbl-flags = <1 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 30000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x1F>; - qcom,sensor-position = <0>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - status = "ok"; - }; - - qcom,camera@6c { - compatible = "qcom,ov2720"; - reg = <0x6c 0x0>; - qcom,slave-id = <0x6c 0x300A 0x2720>; - qcom,csiphy-sd-index = <2>; - qcom,csid-sd-index = <0>; - qcom,mount-angle = <180>; - qcom,sensor-name = "ov2720"; - cam_vdig-supply = <&pm8941_l3>; - cam_vana-supply = <&pm8941_l17>; - cam_vio-supply = <&pm8941_lvs3>; - qcom,cam-vreg-name = "cam_vdig", "cam_vana", "cam_vio"; - qcom,cam-vreg-type = <0 0 1>; - qcom,cam-vreg-min-voltage = <1225000 2850000 0>; - qcom,cam-vreg-max-voltage = <1225000 2850000 0>; - qcom,cam-vreg-op-mode = <105000 80000 0>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 17 0>, - <&msmgpio 18 0>; - qcom,gpio-reset = <1>; - qcom,gpio-req-tbl-num = <0 1>; - qcom,gpio-req-tbl-flags = <1 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 4000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x7>; - qcom,sensor-position = <1>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - status = "ok"; - }; - - qcom,camera@90 { - compatible = "qcom,mt9m114"; - reg = <0x90 0x0>; - qcom,slave-id = <0x90 0x0 0x2481>; - qcom,csiphy-sd-index = <1>; - qcom,csid-sd-index = <0>; - qcom,mount-angle = <0>; - qcom,sensor-name = "mt9m114"; - cam_vdig-supply = <&pm8941_l3>; - cam_vana-supply = <&pm8941_l17>; - cam_vio-supply = <&pm8941_lvs3>; - qcom,cam-vreg-name = "cam_vdig", "cam_vana", "cam_vio"; - qcom,cam-vreg-type = <0 0 1>; - qcom,cam-vreg-min-voltage = <1225000 2850000 0>; - qcom,cam-vreg-max-voltage = <1225000 2850000 0>; - qcom,cam-vreg-op-mode = <105000 80000 0>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 16 0>, - <&msmgpio 94 0>; - qcom,gpio-reset = <1>; - qcom,gpio-req-tbl-num = <0 1>; - qcom,gpio-req-tbl-flags = <1 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 4000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x3>; - qcom,sensor-position = <1>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8974-camera-sensor-fluid.dtsi b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8974-camera-sensor-fluid.dtsi deleted file mode 100644 index f61b83a45..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8974-camera-sensor-fluid.dtsi +++ /dev/null @@ -1,190 +0,0 @@ -/* - * Copyright (c) 2012-2013, 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. - */ - -&cci { - - actuator0: qcom,actuator@18 { - cell-index = <0>; - reg = <0x18>; - compatible = "qcom,actuator"; - qcom,cci-master = <0>; - }; - - actuator1: qcom,actuator@36 { - cell-index = <1>; - reg = <0x36>; - compatible = "qcom,actuator"; - qcom,cci-master = <0>; - }; - - qcom,camera@6e { - compatible = "qcom,s5k3l1yx"; - reg = <0x6e>; - qcom,slave-id = <0x6e 0x0 0x3121>; - qcom,csiphy-sd-index = <0>; - qcom,csid-sd-index = <0>; - qcom,actuator-src = <&actuator0>; - qcom,led-flash-src = <&led_flash0>; - qcom,mount-angle = <270>; - qcom,sensor-name = "s5k3l1yx"; - qcom,vdd-cx-supply = <&pm8841_s2>; - qcom,vdd-cx-name = "qcom,vdd-cx"; - cam_vdig-supply = <&pm8941_l3>; - cam_vana-supply = <&pm8941_l17>; - cam_vio-supply = <&pm8941_lvs3>; - cam_vaf-supply = <&pm8941_l23>; - qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana", - "cam_vaf"; - qcom,cam-vreg-type = <0 1 0 0>; - qcom,cam-vreg-min-voltage = <1225000 0 2850000 3000000>; - qcom,cam-vreg-max-voltage = <1225000 0 2850000 3000000>; - qcom,cam-vreg-op-mode = <105000 0 80000 100000>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 15 0>, - <&msmgpio 90 0>, - <&msmgpio 89 0>; - qcom,gpio-reset = <1>; - qcom,gpio-standby = <2>; - qcom,gpio-req-tbl-num = <0 1 2>; - qcom,gpio-req-tbl-flags = <1 0 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1", - "CAM_STANDBY"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 30000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x1F>; - qcom,sensor-position = <0>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - status = "ok"; - }; - - qcom,camera@20 { - compatible = "qcom,imx135"; - reg = <0x20>; - qcom,slave-id = <0x20 0x0016 0x0135>; - qcom,csiphy-sd-index = <0>; - qcom,csid-sd-index = <0>; - qcom,mount-angle = <270>; - qcom,sensor-name = "imx135"; - qcom,actuator-src = <&actuator1>; - qcom,vdd-cx-supply = <&pm8841_s2>; - qcom,vdd-cx-name = "qcom,vdd-cx"; - cam_vdig-supply = <&pm8941_l3>; - cam_vana-supply = <&pm8941_l17>; - cam_vio-supply = <&pm8941_lvs3>; - cam_vaf-supply = <&pm8941_l23>; - qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana", - "cam_vaf"; - qcom,cam-vreg-type = <0 1 0 0>; - qcom,cam-vreg-min-voltage = <1225000 0 2850000 3000000>; - qcom,cam-vreg-max-voltage = <1225000 0 2850000 3000000>; - qcom,cam-vreg-op-mode = <105000 0 80000 100000>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 15 0>, - <&msmgpio 90 0>, - <&msmgpio 89 0>; - qcom,gpio-reset = <1>; - qcom,gpio-standby = <2>; - qcom,gpio-req-tbl-num = <0 1 2>; - qcom,gpio-req-tbl-flags = <1 0 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1", - "CAM_STANDBY"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 30000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x1F>; - qcom,sensor-position = <0>; - qcom,sensor-mode = <0>; - qcom,sensor-type = <0>; - qcom,cci-master = <0>; - status = "ok"; - }; - - qcom,camera@6c { - compatible = "qcom,ov2720"; - reg = <0x6c>; - qcom,slave-id = <0x6c 0x300A 0x2720>; - qcom,csiphy-sd-index = <2>; - qcom,csid-sd-index = <2>; - qcom,mount-angle = <90>; - qcom,sensor-name = "ov2720"; - qcom,vdd-cx-supply = <&pm8841_s2>; - qcom,vdd-cx-name = "qcom,vdd-cx"; - cam_vdig-supply = <&pm8941_l3>; - cam_vana-supply = <&pm8941_l17>; - cam_vio-supply = <&pm8941_lvs3>; - qcom,cam-vreg-name = "cam_vdig", "cam_vana", "cam_vio"; - qcom,cam-vreg-type = <0 0 1>; - qcom,cam-vreg-min-voltage = <1225000 2850000 0>; - qcom,cam-vreg-max-voltage = <1225000 2850000 0>; - qcom,cam-vreg-op-mode = <105000 80000 0>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 17 0>, - <&msmgpio 18 0>; - qcom,gpio-reset = <1>; - qcom,gpio-req-tbl-num = <0 1>; - qcom,gpio-req-tbl-flags = <1 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 4000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x7>; - qcom,sensor-position = <1>; - qcom,sensor-mode = <1>; - qcom,cci-master = <1>; - status = "ok"; - }; - - qcom,camera@90 { - compatible = "qcom,mt9m114"; - reg = <0x90>; - qcom,slave-id = <0x90 0x0 0x2481>; - qcom,csiphy-sd-index = <1>; - qcom,csid-sd-index = <0>; - qcom,mount-angle = <0>; - qcom,sensor-name = "mt9m114"; - qcom,vdd-cx-supply = <&pm8841_s2>; - qcom,vdd-cx-name = "qcom,vdd-cx"; - cam_vdig-supply = <&pm8941_l3>; - cam_vana-supply = <&pm8941_l17>; - cam_vio-supply = <&pm8941_lvs3>; - qcom,cam-vreg-name = "cam_vdig", "cam_vana", "cam_vio"; - qcom,cam-vreg-type = <0 0 1>; - qcom,cam-vreg-min-voltage = <1225000 2850000 0>; - qcom,cam-vreg-max-voltage = <1225000 2850000 0>; - qcom,cam-vreg-op-mode = <105000 80000 0>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 16 0>, - <&msmgpio 92 0>; - qcom,gpio-reset = <1>; - qcom,gpio-req-tbl-num = <0 1>; - qcom,gpio-req-tbl-flags = <1 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 4000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x3>; - qcom,sensor-position = <1>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8974-camera-sensor-liquid.dtsi b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8974-camera-sensor-liquid.dtsi deleted file mode 100644 index cf968d208..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8974-camera-sensor-liquid.dtsi +++ /dev/null @@ -1,190 +0,0 @@ - -/* - * Copyright (c) 2012-2013, 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. - */ - -&cci { - - actuator0: qcom,actuator@18 { - cell-index = <0>; - reg = <0x18>; - compatible = "qcom,actuator"; - qcom,cci-master = <0>; - }; - - actuator1: qcom,actuator@36 { - cell-index = <1>; - reg = <0x36>; - compatible = "qcom,actuator"; - qcom,cci-master = <0>; - }; - - qcom,camera@6e { - compatible = "qcom,s5k3l1yx"; - reg = <0x6e>; - qcom,slave-id = <0x6e 0x0 0x3121>; - qcom,csiphy-sd-index = <0>; - qcom,csid-sd-index = <0>; - qcom,mount-angle = <0>; - qcom,actuator-src = <&actuator0>; - qcom,sensor-name = "s5k3l1yx"; - qcom,vdd-cx-supply = <&pm8841_s2>; - qcom,vdd-cx-name = "qcom,vdd-cx"; - cam_vdig-supply = <&pm8941_l3>; - cam_vana-supply = <&pm8941_l17>; - cam_vio-supply = <&pm8941_lvs2>; - cam_vaf-supply = <&pm8941_l23>; - qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana", - "cam_vaf"; - qcom,cam-vreg-type = <0 1 0 0>; - qcom,cam-vreg-min-voltage = <1225000 0 2850000 3000000>; - qcom,cam-vreg-max-voltage = <1225000 0 2850000 3000000>; - qcom,cam-vreg-op-mode = <105000 0 80000 100000>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 15 0>, - <&msmgpio 90 0>, - <&msmgpio 89 0>; - qcom,gpio-reset = <1>; - qcom,gpio-standby = <2>; - qcom,gpio-req-tbl-num = <0 1 2>; - qcom,gpio-req-tbl-flags = <1 0 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1", - "CAM_STANDBY"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 30000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x1F>; - qcom,sensor-position = <0>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - status = "ok"; - }; - - qcom,camera@20 { - compatible = "qcom,imx135"; - reg = <0x20>; - qcom,slave-id = <0x20 0x0016 0x0135>; - qcom,csiphy-sd-index = <0>; - qcom,csid-sd-index = <0>; - qcom,mount-angle = <0>; - qcom,sensor-name = "imx135"; - qcom,vdd-cx-supply = <&pm8841_s2>; - qcom,vdd-cx-name = "qcom,vdd-cx"; - qcom,actuator-src = <&actuator1>; - cam_vdig-supply = <&pm8941_l3>; - cam_vana-supply = <&pm8941_l17>; - cam_vio-supply = <&pm8941_lvs2>; - cam_vaf-supply = <&pm8941_l23>; - qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana", - "cam_vaf"; - qcom,cam-vreg-type = <0 1 0 0>; - qcom,cam-vreg-min-voltage = <1225000 0 2850000 3000000>; - qcom,cam-vreg-max-voltage = <1225000 0 2850000 3000000>; - qcom,cam-vreg-op-mode = <105000 0 80000 100000>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 15 0>, - <&msmgpio 90 0>, - <&msmgpio 89 0>; - qcom,gpio-reset = <1>; - qcom,gpio-standby = <2>; - qcom,gpio-req-tbl-num = <0 1 2>; - qcom,gpio-req-tbl-flags = <1 0 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1", - "CAM_STANDBY"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 30000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x1F>; - qcom,sensor-position = <0>; - qcom,sensor-mode = <0>; - qcom,sensor-type = <0>; - qcom,cci-master = <0>; - status = "ok"; - }; - - qcom,camera@6c { - compatible = "qcom,ov2720"; - reg = <0x6c>; - qcom,slave-id = <0x6c 0x300A 0x2720>; - qcom,csiphy-sd-index = <2>; - qcom,csid-sd-index = <0>; - qcom,mount-angle = <180>; - qcom,sensor-name = "ov2720"; - qcom,vdd-cx-supply = <&pm8841_s2>; - qcom,vdd-cx-name = "qcom,vdd-cx"; - cam_vdig-supply = <&pm8941_l3>; - cam_vana-supply = <&pm8941_l17>; - cam_vio-supply = <&pm8941_lvs2>; - qcom,cam-vreg-name = "cam_vdig", "cam_vana", "cam_vio"; - qcom,cam-vreg-type = <0 0 1>; - qcom,cam-vreg-min-voltage = <1225000 2850000 0>; - qcom,cam-vreg-max-voltage = <1225000 2850000 0>; - qcom,cam-vreg-op-mode = <105000 80000 0>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 17 0>, - <&msmgpio 18 0>; - qcom,gpio-reset = <1>; - qcom,gpio-req-tbl-num = <0 1>; - qcom,gpio-req-tbl-flags = <1 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 4000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x7>; - qcom,sensor-position = <1>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - status = "ok"; - }; - - qcom,camera@90 { - compatible = "qcom,mt9m114"; - reg = <0x90>; - qcom,slave-id = <0x90 0x0 0x2481>; - qcom,csiphy-sd-index = <1>; - qcom,csid-sd-index = <0>; - qcom,mount-angle = <0>; - qcom,vdd-cx-supply = <&pm8841_s2>; - qcom,vdd-cx-name = "qcom,vdd-cx"; - qcom,sensor-name = "mt9m114"; - cam_vdig-supply = <&pm8941_l3>; - cam_vana-supply = <&pm8941_l17>; - cam_vio-supply = <&pm8941_lvs2>; - qcom,cam-vreg-name = "cam_vdig", "cam_vana", "cam_vio"; - qcom,cam-vreg-type = <0 0 1>; - qcom,cam-vreg-min-voltage = <1225000 2850000 0>; - qcom,cam-vreg-max-voltage = <1225000 2850000 0>; - qcom,cam-vreg-op-mode = <105000 80000 0>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 16 0>, - <&msmgpio 92 0>; - qcom,gpio-reset = <1>; - qcom,gpio-req-tbl-num = <0 1>; - qcom,gpio-req-tbl-flags = <1 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 4000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x3>; - qcom,sensor-position = <1>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8974-camera-sensor-mtp.dtsi b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8974-camera-sensor-mtp.dtsi deleted file mode 100644 index 6ad62137c..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8974-camera-sensor-mtp.dtsi +++ /dev/null @@ -1,191 +0,0 @@ -/* - * Copyright (c) 2012-2013, 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. - */ - -&cci { - - actuator0: qcom,actuator@18 { - cell-index = <0>; - reg = <0x18>; - compatible = "qcom,actuator"; - qcom,cci-master = <0>; - }; - - actuator1: qcom,actuator@36 { - cell-index = <1>; - reg = <0x36>; - compatible = "qcom,actuator"; - qcom,cci-master = <0>; - }; - - qcom,camera@6e { - compatible = "qcom,s5k3l1yx"; - reg = <0x6e>; - qcom,slave-id = <0x6e 0x0 0x3121>; - qcom,csiphy-sd-index = <0>; - qcom,csid-sd-index = <0>; - qcom,actuator-src = <&actuator0>; - qcom,led-flash-src = <&led_flash0>; - qcom,mount-angle = <90>; - qcom,sensor-name = "s5k3l1yx"; - qcom,vdd-cx-supply = <&pm8841_s2>; - qcom,vdd-cx-name = "qcom,vdd-cx"; - cam_vdig-supply = <&pm8941_l3>; - cam_vana-supply = <&pm8941_l17>; - cam_vio-supply = <&pm8941_lvs3>; - cam_vaf-supply = <&pm8941_l23>; - qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana", - "cam_vaf"; - qcom,cam-vreg-type = <0 1 0 0>; - qcom,cam-vreg-min-voltage = <1225000 0 2850000 3000000>; - qcom,cam-vreg-max-voltage = <1225000 0 2850000 3000000>; - qcom,cam-vreg-op-mode = <105000 0 80000 100000>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 15 0>, - <&msmgpio 90 0>, - <&msmgpio 89 0>; - qcom,gpio-reset = <1>; - qcom,gpio-standby = <2>; - qcom,gpio-req-tbl-num = <0 1 2>; - qcom,gpio-req-tbl-flags = <1 0 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1", - "CAM_STANDBY"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 30000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x1F>; - qcom,sensor-position = <0>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - status = "ok"; - }; - - qcom,camera@20 { - compatible = "qcom,imx135"; - reg = <0x20>; - qcom,slave-id = <0x20 0x0016 0x0135>; - qcom,csiphy-sd-index = <0>; - qcom,csid-sd-index = <0>; - qcom,mount-angle = <90>; - qcom,sensor-name = "imx135"; - qcom,vdd-cx-supply = <&pm8841_s2>; - qcom,vdd-cx-name = "qcom,vdd-cx"; - qcom,actuator-src = <&actuator1>; - cam_vdig-supply = <&pm8941_l3>; - cam_vana-supply = <&pm8941_l17>; - cam_vio-supply = <&pm8941_lvs3>; - cam_vaf-supply = <&pm8941_l23>; - qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana", - "cam_vaf"; - qcom,cam-vreg-type = <0 1 0 0>; - qcom,cam-vreg-min-voltage = <1225000 0 2850000 3000000>; - qcom,cam-vreg-max-voltage = <1225000 0 2850000 3000000>; - qcom,cam-vreg-op-mode = <105000 0 80000 100000>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 15 0>, - <&msmgpio 90 0>, - <&msmgpio 89 0>; - qcom,gpio-reset = <1>; - qcom,gpio-standby = <2>; - qcom,gpio-req-tbl-num = <0 1 2>; - qcom,gpio-req-tbl-flags = <1 0 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1", - "CAM_STANDBY"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 30000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x1F>; - qcom,sensor-position = <0>; - qcom,sensor-mode = <0>; - qcom,sensor-type = <0>; - qcom,cci-master = <0>; - status = "ok"; - }; - - - qcom,camera@6c { - compatible = "qcom,ov2720"; - reg = <0x6c>; - qcom,slave-id = <0x6c 0x300A 0x2720>; - qcom,csiphy-sd-index = <2>; - qcom,csid-sd-index = <2>; - qcom,mount-angle = <90>; - qcom,sensor-name = "ov2720"; - qcom,vdd-cx-supply = <&pm8841_s2>; - qcom,vdd-cx-name = "qcom,vdd-cx"; - cam_vdig-supply = <&pm8941_l3>; - cam_vana-supply = <&pm8941_l17>; - cam_vio-supply = <&pm8941_lvs3>; - qcom,cam-vreg-name = "cam_vdig", "cam_vana", "cam_vio"; - qcom,cam-vreg-type = <0 0 1>; - qcom,cam-vreg-min-voltage = <1225000 2850000 0>; - qcom,cam-vreg-max-voltage = <1225000 2850000 0>; - qcom,cam-vreg-op-mode = <105000 80000 0>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 17 0>, - <&msmgpio 18 0>; - qcom,gpio-reset = <1>; - qcom,gpio-req-tbl-num = <0 1>; - qcom,gpio-req-tbl-flags = <1 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 4000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x7>; - qcom,sensor-position = <1>; - qcom,sensor-mode = <1>; - qcom,cci-master = <1>; - status = "ok"; - }; - - qcom,camera@90 { - compatible = "qcom,mt9m114"; - reg = <0x90>; - qcom,slave-id = <0x90 0x0 0x2481>; - qcom,csiphy-sd-index = <1>; - qcom,csid-sd-index = <0>; - qcom,mount-angle = <0>; - qcom,sensor-name = "mt9m114"; - qcom,vdd-cx-supply = <&pm8841_s2>; - qcom,vdd-cx-name = "qcom,vdd-cx"; - cam_vdig-supply = <&pm8941_l3>; - cam_vana-supply = <&pm8941_l17>; - cam_vio-supply = <&pm8941_lvs3>; - qcom,cam-vreg-name = "cam_vdig", "cam_vana", "cam_vio"; - qcom,cam-vreg-type = <0 0 1>; - qcom,cam-vreg-min-voltage = <1225000 2850000 0>; - qcom,cam-vreg-max-voltage = <1225000 2850000 0>; - qcom,cam-vreg-op-mode = <105000 80000 0>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 16 0>, - <&msmgpio 92 0>; - qcom,gpio-reset = <1>; - qcom,gpio-req-tbl-num = <0 1>; - qcom,gpio-req-tbl-flags = <1 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 4000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x3>; - qcom,sensor-position = <1>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8974-camera.dtsi b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8974-camera.dtsi deleted file mode 100644 index 786e9e381..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8974-camera.dtsi +++ /dev/null @@ -1,215 +0,0 @@ -/* - * Copyright (c) 2012-2013, 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. - */ - -/include/ "skeleton.dtsi" - -&soc { - qcom,msm-cam@fd8C0000 { - compatible = "qcom,msm-cam"; - reg = <0xfd8C0000 0x10000>; - reg-names = "msm-cam"; - }; - - qcom,csiphy@fda0ac00 { - cell-index = <0>; - compatible = "qcom,csiphy"; - reg = <0xfda0ac00 0x200>, - <0xfda00030 0x4>; - reg-names = "csiphy", "csiphy_clk_mux"; - interrupts = <0 78 0>; - interrupt-names = "csiphy"; - }; - - qcom,csiphy@fda0b000 { - cell-index = <1>; - compatible = "qcom,csiphy"; - reg = <0xfda0b000 0x200>, - <0xfda00038 0x4>; - reg-names = "csiphy", "csiphy_clk_mux"; - interrupts = <0 79 0>; - interrupt-names = "csiphy"; - }; - - qcom,csiphy@fda0b400 { - cell-index = <2>; - compatible = "qcom,csiphy"; - reg = <0xfda0b400 0x200>, - <0xfda00040 0x4>; - reg-names = "csiphy", "csiphy_clk_mux"; - interrupts = <0 80 0>; - interrupt-names = "csiphy"; - }; - - qcom,csid@fda08000 { - cell-index = <0>; - compatible = "qcom,csid"; - reg = <0xfda08000 0x100>; - reg-names = "csid"; - interrupts = <0 51 0>; - interrupt-names = "csid"; - qcom,csi-vdd-voltage = <1800000>; - qcom,mipi-csi-vdd-supply = <&pm8941_l12>; - }; - - qcom,csid@fda08400 { - cell-index = <1>; - compatible = "qcom,csid"; - reg = <0xfda08400 0x100>; - reg-names = "csid"; - interrupts = <0 52 0>; - interrupt-names = "csid"; - qcom,csi-vdd-voltage = <1800000>; - qcom,mipi-csi-vdd-supply = <&pm8941_l12>; - }; - - qcom,csid@fda08800 { - cell-index = <2>; - compatible = "qcom,csid"; - reg = <0xfda08800 0x100>; - reg-names = "csid"; - interrupts = <0 53 0>; - interrupt-names = "csid"; - qcom,csi-vdd-voltage = <1800000>; - qcom,mipi-csi-vdd-supply = <&pm8941_l12>; - }; - - qcom,csid@fda08C00 { - cell-index = <3>; - compatible = "qcom,csid"; - reg = <0xfda08C00 0x100>; - reg-names = "csid"; - interrupts = <0 54 0>; - interrupt-names = "csid"; - qcom,csi-vdd-voltage = <1800000>; - qcom,mipi-csi-vdd-supply = <&pm8941_l12>; - }; - - qcom,ispif@fda0A000 { - cell-index = <0>; - compatible = "qcom,ispif"; - reg = <0xfda0A000 0x500>, - <0xfda00020 0x10>; - reg-names = "ispif", "csi_clk_mux"; - interrupts = <0 55 0>; - interrupt-names = "ispif"; - }; - - qcom,vfe@fda10000 { - cell-index = <0>; - compatible = "qcom,vfe40"; - reg = <0xfda10000 0x1000>, - <0xfda40000 0x200>; - reg-names = "vfe", "vfe_vbif"; - interrupts = <0 57 0>; - interrupt-names = "vfe"; - vdd-supply = <&gdsc_vfe>; - }; - - qcom,vfe@fda14000 { - cell-index = <1>; - compatible = "qcom,vfe40"; - reg = <0xfda14000 0x1000>, - <0xfda40000 0x200>; - reg-names = "vfe", "vfe_vbif"; - interrupts = <0 58 0>; - interrupt-names = "vfe"; - vdd-supply = <&gdsc_vfe>; - }; - - qcom,jpeg@fda1c000 { - cell-index = <0>; - compatible = "qcom,jpeg"; - reg = <0xfda1c000 0x400>; - reg-names = "jpeg"; - interrupts = <0 59 0>; - interrupt-names = "jpeg"; - vdd-supply = <&gdsc_jpeg>; - }; - - qcom,jpeg@fda20000 { - cell-index = <1>; - compatible = "qcom,jpeg"; - reg = <0xfda20000 0x400>; - reg-names = "jpeg"; - interrupts = <0 60 0>; - interrupt-names = "jpeg"; - vdd-supply = <&gdsc_jpeg>; - }; - - qcom,jpeg@fda24000 { - cell-index = <2>; - compatible = "qcom,jpeg"; - reg = <0xfda24000 0x400>; - reg-names = "jpeg"; - interrupts = <0 61 0>; - interrupt-names = "jpeg"; - vdd-supply = <&gdsc_jpeg>; - }; - - qcom,irqrouter@fda00000 { - cell-index = <0>; - compatible = "qcom,irqrouter"; - reg = <0xfda00000 0x100>; - reg-names = "irqrouter"; - }; - - qcom,cpp@fda04000 { - cell-index = <0>; - compatible = "qcom,cpp"; - reg = <0xfda04000 0x100>, - <0xfda40000 0x200>, - <0xfda18000 0x008>; - reg-names = "cpp", "cpp_vbif", "cpp_hw"; - interrupts = <0 49 0>; - interrupt-names = "cpp"; - vdd-supply = <&gdsc_vfe>; - }; - - led_flash0: qcom,camera-led-flash { - cell-index = <0>; - compatible = "qcom,camera-led-flash"; - qcom,flash-type = <1>; - qcom,flash-source = <&pm8941_flash0 &pm8941_flash1>; - }; - - cci: qcom,cci@fda0C000 { - cell-index = <0>; - compatible = "qcom,cci"; - reg = <0xfda0C000 0x1000>; - #address-cells = <1>; - #size-cells = <0>; - reg-names = "cci"; - interrupts = <0 50 0>; - interrupt-names = "cci"; - gpios = <&msmgpio 19 0>, - <&msmgpio 20 0>, - <&msmgpio 21 0>, - <&msmgpio 22 0>; - qcom,gpio-tbl-num = <0 1 2 3>; - qcom,gpio-tbl-flags = <1 1 1 1>; - qcom,gpio-tbl-label = "CCI_I2C_DATA0", - "CCI_I2C_CLK0", - "CCI_I2C_DATA1", - "CCI_I2C_CLK1"; - qcom,hw-thigh = <78>; - qcom,hw-tlow = <114>; - qcom,hw-tsu-sto = <28>; - qcom,hw-tsu-sta = <28>; - qcom,hw-thd-dat = <10>; - qcom,hw-thd-sta = <77>; - qcom,hw-tbuf = <118>; - qcom,hw-scl-stretch-en = <0>; - qcom,hw-trdhld = <6>; - qcom,hw-tsp = <1>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8974-cdp.dtsi b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8974-cdp.dtsi deleted file mode 100644 index 2a60df4f4..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8974-cdp.dtsi +++ /dev/null @@ -1,729 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/include/ "dsi-panel-toshiba-720p-video.dtsi" -/include/ "dsi-panel-orise-720p-video.dtsi" -/include/ "msm8974-leds.dtsi" -/include/ "msm8974-camera-sensor-cdp.dtsi" - -&soc { - serial@f991e000 { - status = "ok"; - }; - - qcom,mdss_dsi_toshiba_720p_video { - status = "ok"; - qcom,cont-splash-enabled; - }; - - qcom,mdss_dsi_orise_720p_video { - status = "disable"; - }; - - qcom,hdmi_tx@fd922100 { - status = "ok"; - }; - - i2c@f9924000 { - atmel_mxt_ts@4a { - compatible = "atmel,mxt-ts"; - reg = <0x4a>; - interrupt-parent = <&msmgpio>; - interrupts = <61 0x2>; - vdd_ana-supply = <&pm8941_l18>; - vcc_i2c-supply = <&pm8941_lvs1>; - atmel,reset-gpio = <&msmgpio 60 0x00>; - atmel,irq-gpio = <&msmgpio 61 0x00>; - atmel,panel-coords = <0 0 760 1424>; - atmel,display-coords = <0 0 720 1280>; - atmel,i2c-pull-up; - atmel,no-force-update; - atmel,cfg_1 { - atmel,family-id = <0x82>; - atmel,variant-id = <0x19>; - atmel,version = <0x10>; - atmel,build = <0xaa>; - atmel,config = [ - /* Object 6, Instance = 0 */ - 00 00 00 00 00 00 - /* Object 38, Instance = 0 */ - 15 01 00 03 0A 0C 00 00 - /* Object 7, Instance = 0 */ - 20 08 32 03 - /* Object 8, Instance = 0 */ - 0F 00 0A 0A 00 00 0A 0A 00 00 - /* Object 9, Instance = 0 */ - 83 00 00 18 0E 00 70 46 02 01 - 00 0A 03 31 04 05 0A 0A 90 05 - F8 02 05 F1 F1 0F 00 00 08 2D - 12 06 00 00 00 01 - /* Object 15, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 - /* Object 18, Instance = 0 */ - 00 00 - /* Object 19, Instance = 0 */ - 00 00 00 00 00 00 - /* Object 23, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 - /* Object 25, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 - /* Object 40, Instance = 0 */ - 00 00 00 00 00 - /* Object 42, Instance = 0 */ - 33 1E 19 10 80 00 00 00 FF 00 - /* Object 46, Instance = 0 */ - 00 00 10 10 00 00 03 00 00 01 - /* Object 47, Instance = 0 */ - 08 0A 28 0A 02 0A 00 8C 00 20 - 00 00 00 - /* Object 55, Instance = 0 */ - 00 00 00 00 00 00 - /* Object 56, Instance = 0 */ - 00 00 00 18 05 05 05 05 05 05 - 05 05 05 05 05 05 05 05 05 05 - 05 05 05 05 05 05 05 05 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 - /* Object 57, Instance = 0 */ - 00 00 00 - /* Object 61, Instance = 0 */ - 00 00 00 00 00 - /* Object 62, Instance = 0 */ - 01 2A 00 16 00 00 00 00 0B 01 - 02 03 04 08 00 00 08 10 18 05 - 00 0A 05 05 50 14 19 34 1A 7F - 00 00 00 00 00 00 00 00 00 30 - 05 02 00 01 00 05 00 00 00 00 - 00 00 00 00 - ]; - }; - }; - }; - - gen-vkeys { - compatible = "qcom,gen-vkeys"; - label = "atmel_mxt_ts"; - qcom,disp-maxx = <720>; - qcom,disp-maxy = <1280>; - qcom,panel-maxx = <760>; - qcom,panel-maxy = <1424>; - qcom,key-codes = <158 139 102 217>; - }; - - i2c@f9967000 { - isa1200@48 { - status = "okay"; - reg = <0x48>; - vcc_i2c-supply = <&pm8941_s3>; - compatible = "imagis,isa1200"; - label = "vibrator"; - imagis,chip-en; - imagis,smart-en; - imagis,need-pwm-clk; - imagis,ext-clk-en; - imagis,hap-en-gpio = <&msmgpio 86 0x00>; - imagis,max-timeout = <15000>; - imagis,pwm-div = <256>; - imagis,mode-ctrl = <2>; - imagis,regulator { - regulator-name = "vcc_i2c"; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - regulator-max-microamp = <9360>; - }; - }; - }; - - gpio_keys { - compatible = "gpio-keys"; - input-name = "gpio-keys"; - - camera_snapshot { - label = "camera_snapshot"; - gpios = <&pm8941_gpios 3 0x1>; - linux,input-type = <1>; - linux,code = <0x2fe>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - - camera_focus { - label = "camera_focus"; - gpios = <&pm8941_gpios 4 0x1>; - linux,input-type = <1>; - linux,code = <0x210>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - - vol_up { - label = "volume_up"; - gpios = <&pm8941_gpios 5 0x1>; - linux,input-type = <1>; - linux,code = <115>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - }; - - spi@f9923000 { - ethernet-switch@2 { - compatible = "micrel,ks8851"; - reg = <2>; - interrupt-parent = <&msmgpio>; - interrupts = <94 0>; - spi-max-frequency = <4800000>; - rst-gpio = <&pm8941_mpps 6 0>; - vdd-io-supply = <&spi_eth_vreg>; - vdd-phy-supply = <&spi_eth_vreg>; - }; - }; - - sound { - qcom,model = "msm8974-taiko-cdp-snd-card"; - qcom,hdmi-audio-rx; - qcom,us-euro-gpios = <&pm8941_gpios 20 0>; - qcom,cdc-micbias2-headset-only; - }; - - usb2_otg_sw: regulator-tpd4s214 { - compatible = "regulator-fixed"; - regulator-name = "usb2_otg_sw"; - gpio = <&pm8941_gpios 18 0>; - parent-supply = <&pm8941_boost>; - startup-delay-us = <17000>; - enable-active-high; - }; - - hsic_host: hsic@f9a00000 { - compatible = "qcom,hsic-host"; - reg = <0xf9a00000 0x400>; - #address-cells = <0>; - interrupt-parent = <&hsic_host>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 136 0 - 1 &intc 0 148 0 - 2 &msmgpio 144 0x8>; - interrupt-names = "core_irq", "async_irq", "wakeup"; - HSIC_VDDCX-supply = <&pm8841_s2>; - HSIC_GDSC-supply = <&gdsc_usb_hsic>; - hsic,strobe-gpio = <&msmgpio 144 0x00>; - hsic,data-gpio = <&msmgpio 145 0x00>; - hsic,resume-gpio = <&msmgpio 80 0x00>; - hsic,ignore-cal-pad-config; - hsic,strobe-pad-offset = <0x2050>; - hsic,data-pad-offset = <0x2054>; - - qcom,msm-bus,name = "hsic"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <85 512 0 0>, - <85 512 40000 160000>; - }; - - wlan0: qca,wlan { - compatible = "qca,ar6004-hsic"; - qcom,msm-bus,name = "wlan"; - qcom,msm-bus,num-cases = <5>; - qcom,msm-bus,active-only = <0>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <85 512 0 0>, - <85 512 40000 160000>, - <85 512 40000 320000>, - <85 512 40000 480000>, - <85 512 40000 800000>; - }; -}; - -&spmi_bus { - qcom,pm8941@1 { - qcom,leds@d800 { - status = "okay"; - qcom,wled_0 { - label = "wled"; - linux,name = "wled:backlight"; - linux,default-trigger = "bkl-trigger"; - qcom,cs-out-en; - qcom,op-fdbck = <1>; - qcom,default-state = "on"; - qcom,max-current = <25>; - qcom,ctrl-delay-us = <0>; - qcom,boost-curr-lim = <3>; - qcom,cp-sel = <0>; - qcom,switch-freq = <2>; - qcom,ovp-val = <2>; - qcom,num-strings = <1>; - qcom,id = <0>; - }; - }; - - qcom,leds@d900 { - status = "disabled"; - }; - - qcom,leds@da00 { - status = "disabled"; - }; - - qcom,leds@db00 { - status = "disabled"; - }; - - qcom,leds@dc00 { - status = "disabled"; - }; - - qcom,leds@dd00 { - status = "disabled"; - }; - - qcom,leds@de00 { - status = "disabled"; - }; - - qcom,leds@df00 { - status = "disabled"; - }; - - qcom,leds@e000 { - status = "disabled"; - }; - - qcom,leds@e100 { - status = "disabled"; - }; - }; -}; - -&sdcc1 { - status = "disabled"; -}; - -&sdcc2 { - #address-cells = <0>; - interrupt-parent = <&sdcc2>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 125 0 - 1 &intc 0 220 0 - 2 &msmgpio 62 0x3>; - interrupt-names = "core_irq", "bam_irq", "status_irq"; - cd-gpios = <&msmgpio 62 0x1>; - wp-gpios = <&pm8941_gpios 29 0x1>; - status = "disabled"; -}; - -&sdhc_1 { - vdd-supply = <&pm8941_l20>; - vdd-io-supply = <&pm8941_s3>; - - qcom,vdd-always-on; - qcom,vdd-lpm-sup; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <800 500000>; - - qcom,vdd-io-always-on; - qcom,vdd-io-voltage-level = <1800000 1800000>; - qcom,vdd-io-current-level = <250 154000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,nonremovable; - status = "ok"; -}; - -&sdhc_2 { - #address-cells = <0>; - interrupt-parent = <&sdhc_2>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 125 0 - 1 &intc 0 221 0 - 2 &msmgpio 62 0x3>; - interrupt-names = "hc_irq", "pwr_irq", "status_irq"; - cd-gpios = <&msmgpio 62 0x1>; - - vdd-supply = <&pm8941_l21>; - vdd-io-supply = <&pm8941_l13>; - - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <9000 800000>; - - qcom,vdd-io-voltage-level = <1800000 2950000>; - qcom,vdd-io-current-level = <6 22000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - status = "ok"; -}; - -/* Drive strength recommendations for clock line from hardware team is 10 mA. - * But since the driver has been been using the below values from the start - * without any problems, continue to use those. - */ -&sdcc1 { - qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */ -}; - -&sdcc2 { - qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */ -}; - -&sdhc_1 { - qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */ -}; - -&sdhc_2 { - qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */ -}; - -&uart7 { - status = "ok"; - qcom,tx-gpio = <&msmgpio 41 0x00>; - qcom,rx-gpio = <&msmgpio 42 0x00>; - qcom,cts-gpio = <&msmgpio 43 0x00>; - qcom,rfr-gpio = <&msmgpio 44 0x00>; -}; - -&usb3 { - qcom,otg-capability; -}; - -&pm8941_chg { - status = "ok"; - - qcom,chgr@1000 { - status = "ok"; - }; - - qcom,buck@1100 { - status = "ok"; - }; - - qcom,usb-chgpth@1300 { - status = "ok"; - }; - - qcom,dc-chgpth@1400 { - status = "ok"; - }; - - qcom,boost@1500 { - status = "ok"; - }; - - qcom,chg-misc@1600 { - status = "ok"; - }; -}; - -&pm8941_gpios { - gpio@c000 { /* GPIO 1 */ - }; - - gpio@c100 { /* GPIO 2 */ - }; - - gpio@c200 { /* GPIO 3 */ - qcom,mode = <0>; - qcom,pull = <0>; - qcom,vin-sel = <2>; - qcom,src-sel = <0>; - }; - - gpio@c300 { /* GPIO 4 */ - qcom,mode = <0>; - qcom,pull = <0>; - qcom,vin-sel = <2>; - qcom,src-sel = <0>; - }; - - gpio@c400 { /* GPIO 5 */ - qcom,mode = <0>; - qcom,pull = <0>; - qcom,vin-sel = <2>; - qcom,src-sel = <0>; - }; - - gpio@c500 { /* GPIO 6 */ - }; - - gpio@c600 { /* GPIO 7 */ - }; - - gpio@c700 { /* GPIO 8 */ - }; - - gpio@c800 { /* GPIO 9 */ - }; - - gpio@c900 { /* GPIO 10 */ - }; - - gpio@ca00 { /* GPIO 11 */ - }; - - gpio@cb00 { /* GPIO 12 */ - }; - - gpio@cc00 { /* GPIO 13 */ - }; - - gpio@cd00 { /* GPIO 14 */ - }; - - gpio@ce00 { /* GPIO 15 */ - qcom,mode = <1>; - qcom,output-type = <0>; - qcom,pull = <5>; - qcom,vin-sel = <2>; - qcom,out-strength = <1>; - qcom,src-sel = <2>; - qcom,master-en = <1>; - }; - - gpio@cf00 { /* GPIO 16 */ - qcom,mode = <1>; - qcom,output-type = <0>; - qcom,pull = <2>; - qcom,vin-sel = <2>; - qcom,out-strength = <2>; - qcom,src-sel = <2>; - qcom,master-en = <1>; - }; - - gpio@d000 { /* GPIO 17 */ - }; - - gpio@d100 { /* GPIO 18 */ - /* usb2_otg_sw regulator enable */ - qcom,mode = <1>; /* Digital output */ - qcom,output-type = <0>; /* CMOS logic */ - qcom,invert = <0>; /* Output low initially */ - qcom,vin-sel = <2>; /* PM8941 S3 = 1.8 V */ - qcom,src-sel = <0>; /* Constant */ - qcom,out-strength = <2>; /* Medium drive strength */ - qcom,master-en = <1>; /* Enable GPIO */ - }; - - gpio@d200 { /* GPIO 19 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,output-type = <0>; /* QPNP_PIN_OUT_BUF_CMOS */ - qcom,pull = <5>; /* QPNP_PIN_PULL_NO */ - qcom,vin-sel = <2>; /* QPNP_PIN_VIN2 */ - qcom,out-strength = <2>; /* QPNP_PIN_OUT_STRENGTH_MED */ - qcom,src-sel = <0>; /* QPNP_PIN_SEL_FUNC_CONSTANT */ - qcom,master-en = <1>; - }; - - gpio@d300 { /* GPIO 20 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,output-type = <0>; /* QPNP_PIN_OUT_BUF_CMOS */ - qcom,invert = <0>; /* Output low initially */ - qcom,pull = <5>; /* QPNP_PIN_PULL_NO */ - qcom,vin-sel = <2>; /* QPNP_PIN_VIN2 */ - qcom,out-strength = <2>; /* QPNP_PIN_OUT_STRENGTH_MED */ - qcom,src-sel = <0>; /* QPNP_PIN_SEL_FUNC_CONSTANT */ - qcom,master-en = <1>; - }; - - gpio@d400 { /* GPIO 21 */ - }; - - gpio@d500 { /* GPIO 22 */ - }; - - gpio@d600 { /* GPIO 23 */ - }; - - gpio@d700 { /* GPIO 24 */ - }; - - gpio@d800 { /* GPIO 25 */ - }; - - gpio@d900 { /* GPIO 26 */ - }; - - gpio@da00 { /* GPIO 27 */ - }; - - gpio@db00 { /* GPIO 28 */ - }; - - gpio@dc00 { /* GPIO 29 */ - qcom,pull = <0>; /* set to default pull */ - qcom,master-en = <1>; - qcom,vin-sel = <2>; /* select 1.8 V source */ - }; - - gpio@dd00 { /* GPIO 30 */ - }; - - gpio@de00 { /* GPIO 31 */ - }; - - gpio@df00 { /* GPIO 32 */ - }; - - gpio@e000 { /* GPIO 33 */ - }; - - gpio@e100 { /* GPIO 34 */ - }; - - gpio@e200 { /* GPIO 35 */ - }; - - gpio@e300 { /* GPIO 36 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,output-type = <0>; /* QPNP_PIN_OUT_BUF_CMOS */ - qcom,pull = <5>; /* QPNP_PIN_PULL_NO */ - qcom,vin-sel = <2>; /* QPNP_PIN_VIN2 */ - qcom,out-strength = <3>; /* QPNP_PIN_OUT_STRENGTH_HIGH */ - qcom,src-sel = <3>; /* QPNP_PIN_SEL_FUNC_2 */ - qcom,master-en = <1>; - }; -}; - -&pm8941_mpps { - - mpp@a000 { /* MPP 1 */ - status = "disabled"; - }; - - mpp@a100 { /* MPP 2 */ - }; - - mpp@a200 { /* MPP 3 */ - }; - - mpp@a300 { /* MPP 4 */ - }; - - mpp@a400 { /* MPP 5 */ - /* SPI_ETH config */ - qcom,mode = <1>; /* DIG_OUT */ - qcom,output-type = <0>; /* CMOS */ - qcom,vin-sel = <2>; /* PM8941_S3 1.8V > 1.6V */ - qcom,src-sel = <0>; /* CONSTANT */ - qcom,master-en = <1>; /* ENABLE MPP */ - }; - - mpp@a500 { /* MPP 6 */ - /* SPI_ETH_RST config */ - qcom,mode = <1>; /* DIG_OUT */ - qcom,output-type = <0>; /* CMOS */ - qcom,vin-sel = <2>; /* PM8941_S3 1.8V > 1.6V */ - qcom,src-sel = <0>; /* CONSTANT */ - qcom,master-en = <1>; /* ENABLE MPP */ - }; - - mpp@a600 { /* MPP 7 */ - }; - - mpp@a700 { /* MPP 8 */ - }; -}; - -&pm8841_mpps { - - mpp@a000 { /* MPP 1 */ - }; - - mpp@a100 { /* MPP 2 */ - }; - - mpp@a200 { /* MPP 3 */ - }; - - mpp@a300 { /* MPP 4 */ - }; -}; - -/* CoreSight */ -&tpiu { - qcom,seta-gpios = <&msmgpio 31 0>, - <&msmgpio 32 0>, - <&msmgpio 33 0>, - <&msmgpio 34 0>, - <&msmgpio 35 0>, - <&msmgpio 36 0>, - <&msmgpio 37 0>, - <&msmgpio 38 0>, - <&msmgpio 39 0>, - <&msmgpio 40 0>, - <&msmgpio 41 0>, - <&msmgpio 42 0>, - <&msmgpio 43 0>, - <&msmgpio 44 0>, - <&msmgpio 45 0>, - <&msmgpio 46 0>, - <&msmgpio 47 0>, - <&msmgpio 48 0>; - qcom,seta-gpios-func = <4 4 4 3 4 4 4 3 4 3 5 5 5 5 4 4 5 5>; - qcom,seta-gpios-drv = <7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7>; - qcom,seta-gpios-pull = <0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0>; - qcom,seta-gpios-dir = <2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2>; - - qcom,setb-gpios = <&msmgpio 15 0>, - <&msmgpio 16 0>, - <&msmgpio 17 0>, - <&msmgpio 18 0>, - <&msmgpio 19 0>, - <&msmgpio 20 0>, - <&msmgpio 21 0>, - <&msmgpio 22 0>, - <&msmgpio 23 0>, - <&msmgpio 24 0>, - <&msmgpio 25 0>, - <&msmgpio 26 0>, - <&msmgpio 27 0>, - <&msmgpio 28 0>, - <&msmgpio 89 0>, - <&msmgpio 90 0>, - <&msmgpio 91 0>, - <&msmgpio 92 0>; - qcom,setb-gpios-func = <2 2 2 2 5 5 5 5 6 6 6 7 7 5 2 3 3 3>; - qcom,setb-gpios-drv = <7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7>; - qcom,setb-gpios-pull = <0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0>; - qcom,setb-gpios-dir = <2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2>; -}; - -&slim_msm { - taiko_codec { - qcom,cdc-micbias1-ext-cap; - qcom,cdc-micbias3-ext-cap; - qcom,cdc-micbias4-ext-cap; - - /* If boot isn't available, vph_pwr_vreg can be used instead */ - cdc-vdd-spkdrv-supply = <&pm8941_boost>; - qcom,cdc-vdd-spkdrv-voltage = <5000000 5000000>; - qcom,cdc-vdd-spkdrv-current = <1250000>; - - qcom,cdc-on-demand-supplies = "cdc-vdd-spkdrv"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8974-clock.dtsi b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8974-clock.dtsi deleted file mode 100644 index bed5d70be..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8974-clock.dtsi +++ /dev/null @@ -1,27 +0,0 @@ -/* Copyright (c) 2012, 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. - */ - -&spmi_bus { - - qcom,pm8941@0 { - - pm8941_clkdiv1: clkdiv@5b00 { - qcom,cxo-div = <2>; - }; - - pm8941_clkdiv2: clkdiv@5c00 { - }; - - pm8941_clkdiv3: clkdiv@5d00 { - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8974-coresight.dtsi b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8974-coresight.dtsi deleted file mode 100644 index 1610f1f43..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8974-coresight.dtsi +++ /dev/null @@ -1,381 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&soc { - tmc_etr: tmc@fc322000 { - compatible = "arm,coresight-tmc"; - reg = <0xfc322000 0x1000>, - <0xfc37c000 0x3000>; - reg-names = "tmc-base", "bam-base"; - - qcom,memory-reservation-type = "EBI1"; - qcom,memory-reservation-size = <0x100000>; /* 1M EBI1 buffer */ - - coresight-id = <0>; - coresight-name = "coresight-tmc-etr"; - coresight-nr-inports = <1>; - coresight-ctis = <&cti0 &cti8>; - }; - - tpiu: tpiu@fc318000 { - compatible = "arm,coresight-tpiu"; - reg = <0xfc318000 0x1000>; - reg-names = "tpiu-base"; - - coresight-id = <1>; - coresight-name = "coresight-tpiu"; - coresight-nr-inports = <1>; - - vdd-supply = <&pm8941_l21>; - - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <9000 800000>; - }; - - replicator: replicator@fc31c000 { - compatible = "qcom,coresight-replicator"; - reg = <0xfc31c000 0x1000>; - reg-names = "replicator-base"; - - coresight-id = <2>; - coresight-name = "coresight-replicator"; - coresight-nr-inports = <1>; - coresight-outports = <0 1>; - coresight-child-list = <&tmc_etr &tpiu>; - coresight-child-ports = <0 0>; - }; - - tmc_etf: tmc@fc307000 { - compatible = "arm,coresight-tmc"; - reg = <0xfc307000 0x1000>; - reg-names = "tmc-base"; - - coresight-id = <3>; - coresight-name = "coresight-tmc-etf"; - coresight-nr-inports = <1>; - coresight-outports = <0>; - coresight-child-list = <&replicator>; - coresight-child-ports = <0>; - coresight-default-sink; - coresight-ctis = <&cti0 &cti8>; - }; - - funnel_merg: funnel@fc31b000 { - compatible = "arm,coresight-funnel"; - reg = <0xfc31b000 0x1000>; - reg-names = "funnel-base"; - - coresight-id = <4>; - coresight-name = "coresight-funnel-merg"; - coresight-nr-inports = <2>; - coresight-outports = <0>; - coresight-child-list = <&tmc_etf>; - coresight-child-ports = <0>; - }; - - funnel_in0: funnel@fc319000 { - compatible = "arm,coresight-funnel"; - reg = <0xfc319000 0x1000>; - reg-names = "funnel-base"; - - coresight-id = <5>; - coresight-name = "coresight-funnel-in0"; - coresight-nr-inports = <8>; - coresight-outports = <0>; - coresight-child-list = <&funnel_merg>; - coresight-child-ports = <0>; - }; - - funnel_in1: funnel@fc31a000 { - compatible = "arm,coresight-funnel"; - reg = <0xfc31a000 0x1000>; - reg-names = "funnel-base"; - - coresight-id = <6>; - coresight-name = "coresight-funnel-in1"; - coresight-nr-inports = <8>; - coresight-outports = <0>; - coresight-child-list = <&funnel_merg>; - coresight-child-ports = <1>; - }; - - funnel_kpss: funnel@fc345000 { - compatible = "arm,coresight-funnel"; - reg = <0xfc345000 0x1000>; - reg-names = "funnel-base"; - - coresight-id = <7>; - coresight-name = "coresight-funnel-kpss"; - coresight-nr-inports = <4>; - coresight-outports = <0>; - coresight-child-list = <&funnel_in1>; - coresight-child-ports = <5>; - }; - - funnel_mmss: funnel@fc364000 { - compatible = "arm,coresight-funnel"; - reg = <0xfc364000 0x1000>; - reg-names = "funnel-base"; - - - coresight-id = <8>; - coresight-name = "coresight-funnel-mmss"; - coresight-nr-inports = <8>; - coresight-outports = <0>; - coresight-child-list = <&funnel_in1>; - coresight-child-ports = <1>; - }; - - stm: stm@fc321000 { - compatible = "arm,coresight-stm"; - reg = <0xfc321000 0x1000>, - <0xfa280000 0x180000>; - reg-names = "stm-base", "stm-data-base"; - - coresight-id = <9>; - coresight-name = "coresight-stm"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_in1>; - coresight-child-ports = <7>; - }; - - etm0: etm@fc33c000 { - compatible = "arm,coresight-etm"; - reg = <0xfc33c000 0x1000>; - reg-names = "etm-base"; - - coresight-id = <10>; - coresight-name = "coresight-etm0"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_kpss>; - coresight-child-ports = <0>; - - qcom,pc-save; - qcom,round-robin; - }; - - etm1: etm@fc33d000 { - compatible = "arm,coresight-etm"; - reg = <0xfc33d000 0x1000>; - reg-names = "etm-base"; - - coresight-id = <11>; - coresight-name = "coresight-etm1"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_kpss>; - coresight-child-ports = <1>; - - qcom,pc-save; - qcom,round-robin; - }; - - etm2: etm@fc33e000 { - compatible = "arm,coresight-etm"; - reg = <0xfc33e000 0x1000>; - reg-names = "etm-base"; - - coresight-id = <12>; - coresight-name = "coresight-etm2"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_kpss>; - coresight-child-ports = <2>; - - qcom,pc-save; - qcom,round-robin; - }; - - etm3: etm@fc33f000 { - compatible = "arm,coresight-etm"; - reg = <0xfc33f000 0x1000>; - reg-names = "etm-base"; - - coresight-id = <13>; - coresight-name = "coresight-etm3"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_kpss>; - coresight-child-ports = <3>; - - qcom,pc-save; - qcom,round-robin; - }; - - csr: csr@fc302000 { - compatible = "qcom,coresight-csr"; - reg = <0xfc302000 0x1000>; - reg-names = "csr-base"; - - coresight-id = <14>; - coresight-name = "coresight-csr"; - coresight-nr-inports = <0>; - - qcom,blk-size = <3>; - }; - - cti0: cti@fc308000 { - compatible = "arm,coresight-cti"; - reg = <0xfc308000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <15>; - coresight-name = "coresight-cti0"; - coresight-nr-inports = <0>; - }; - - cti1: cti@fc309000 { - compatible = "arm,coresight-cti"; - reg = <0xfc309000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <16>; - coresight-name = "coresight-cti1"; - coresight-nr-inports = <0>; - }; - - cti2: cti@fc30a000 { - compatible = "arm,coresight-cti"; - reg = <0xfc30a000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <17>; - coresight-name = "coresight-cti2"; - coresight-nr-inports = <0>; - }; - - cti3: cti@fc30b000 { - compatible = "arm,coresight-cti"; - reg = <0xfc30b000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <18>; - coresight-name = "coresight-cti3"; - coresight-nr-inports = <0>; - }; - - cti4: cti@fc30c000 { - compatible = "arm,coresight-cti"; - reg = <0xfc30c000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <19>; - coresight-name = "coresight-cti4"; - coresight-nr-inports = <0>; - }; - - cti5: cti@fc30d000 { - compatible = "arm,coresight-cti"; - reg = <0xfc30d000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <20>; - coresight-name = "coresight-cti5"; - coresight-nr-inports = <0>; - }; - - cti6: cti@fc30e000 { - compatible = "arm,coresight-cti"; - reg = <0xfc30e000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <21>; - coresight-name = "coresight-cti6"; - coresight-nr-inports = <0>; - }; - - cti7: cti@fc30f000 { - compatible = "arm,coresight-cti"; - reg = <0xfc30f000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <22>; - coresight-name = "coresight-cti7"; - coresight-nr-inports = <0>; - }; - - cti8: cti@fc310000 { - compatible = "arm,coresight-cti"; - reg = <0xfc310000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <23>; - coresight-name = "coresight-cti8"; - coresight-nr-inports = <0>; - }; - - cti_l2: cti@fc340000 { - compatible = "arm,coresight-cti"; - reg = <0xfc340000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <24>; - coresight-name = "coresight-cti-l2"; - coresight-nr-inports = <0>; - }; - - cti_cpu0: cti@fc341000 { - compatible = "arm,coresight-cti"; - reg = <0xfc341000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <25>; - coresight-name = "coresight-cti-cpu0"; - coresight-nr-inports = <0>; - }; - - cti_cpu1: cti@fc342000 { - compatible = "arm,coresight-cti"; - reg = <0xfc342000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <26>; - coresight-name = "coresight-cti-cpu1"; - coresight-nr-inports = <0>; - }; - - cti_cpu2: cti@fc343000 { - compatible = "arm,coresight-cti"; - reg = <0xfc343000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <27>; - coresight-name = "coresight-cti-cpu2"; - coresight-nr-inports = <0>; - }; - - cti_cpu3: cti@fc344000 { - compatible = "arm,coresight-cti"; - reg = <0xfc344000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <28>; - coresight-name = "coresight-cti-cpu3"; - coresight-nr-inports = <0>; - }; - - hwevent: hwevent@fdf30018 { - compatible = "qcom,coresight-hwevent"; - reg = <0xfdf30018 0x80>, - <0xf9011080 0x80>, - <0xfd4ab160 0x80>; - reg-names = "mmss-mux", "apcs-mux", "ppss-mux"; - - coresight-id = <29>; - coresight-name = "coresight-hwevent"; - coresight-nr-inports = <0>; - - qcom,hwevent-clks = "core_mmss_clk"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8974-fluid.dtsi b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8974-fluid.dtsi deleted file mode 100644 index a822af5fa..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8974-fluid.dtsi +++ /dev/null @@ -1,667 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/include/ "dsi-panel-toshiba-720p-video.dtsi" -/include/ "msm8974-camera-sensor-fluid.dtsi" -/include/ "msm8974-leds.dtsi" - -&soc { - serial@f991e000 { - status = "ok"; - }; - - qcom,mdss_dsi_toshiba_720p_video { - status = "ok"; - qcom,cont-splash-enabled; - }; - - qcom,hdmi_tx@fd922100 { - status = "ok"; - }; - - i2c@f9924000 { - atmel_mxt_ts@4a { - compatible = "atmel,mxt-ts"; - reg = <0x4a>; - interrupt-parent = <&msmgpio>; - interrupts = <61 0x2>; - vdd_ana-supply = <&pm8941_l18>; - vcc_i2c-supply = <&pm8941_lvs1>; - atmel,reset-gpio = <&msmgpio 60 0x00>; - atmel,irq-gpio = <&msmgpio 61 0x00>; - atmel,panel-coords = <0 0 760 1424>; - atmel,display-coords = <0 0 720 1280>; - atmel,i2c-pull-up; - atmel,no-force-update; - atmel,cfg_1 { - atmel,family-id = <0x82>; - atmel,variant-id = <0x19>; - atmel,version = <0x10>; - atmel,build = <0xaa>; - atmel,config = [ - /* Object 6, Instance = 0 */ - 00 00 00 00 00 00 - /* Object 38, Instance = 0 */ - 15 01 00 03 0A 0C 00 00 - /* Object 7, Instance = 0 */ - 20 08 32 03 - /* Object 8, Instance = 0 */ - 0F 00 0A 0A 00 00 0A 0A 00 00 - /* Object 9, Instance = 0 */ - 83 00 00 18 0E 00 70 46 02 01 - 00 0A 03 31 04 05 0A 0A 90 05 - F8 02 05 F1 F1 0F 00 00 08 2D - 12 06 00 00 00 01 - /* Object 15, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 - /* Object 18, Instance = 0 */ - 00 00 - /* Object 19, Instance = 0 */ - 00 00 00 00 00 00 - /* Object 23, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 - /* Object 25, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 - /* Object 40, Instance = 0 */ - 00 00 00 00 00 - /* Object 42, Instance = 0 */ - 33 1E 19 10 80 00 00 00 FF 00 - /* Object 46, Instance = 0 */ - 00 00 10 10 00 00 03 00 00 01 - /* Object 47, Instance = 0 */ - 08 0A 28 0A 02 0A 00 8C 00 20 - 00 00 00 - /* Object 55, Instance = 0 */ - 00 00 00 00 00 00 - /* Object 56, Instance = 0 */ - 00 00 00 18 05 05 05 05 05 05 - 05 05 05 05 05 05 05 05 05 05 - 05 05 05 05 05 05 05 05 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 - /* Object 57, Instance = 0 */ - 00 00 00 - /* Object 61, Instance = 0 */ - 00 00 00 00 00 - /* Object 62, Instance = 0 */ - 01 2A 00 16 00 00 00 00 0B 01 - 02 03 04 08 00 00 08 10 18 05 - 00 0A 05 05 50 14 19 34 1A 7F - 00 00 00 00 00 00 00 00 00 30 - 05 02 00 01 00 05 00 00 00 00 - 00 00 00 00 - ]; - }; - }; - }; - - i2c@f9967000 { - sii8334@72 { - compatible = "qcom,mhl-sii8334"; - reg = <0x72>; - interrupt-parent = <&msmgpio>; - interrupts = <82 0x8>; - mhl-intr-gpio = <&msmgpio 82 0>; - mhl-pwr-gpio = <&msmgpio 12 0>; - mhl-rst-gpio = <&pm8941_mpps 8 0>; - avcc_18-supply = <&pm8941_l24>; - avcc_12-supply = <&pm8941_l2>; - smps3a-supply = <&pm8941_s3>; - vdda-supply = <&pm8941_l12>; - qcom,hdmi-tx-map = <&mdss_hdmi_tx>; - }; - - isa1200@48 { - status = "okay"; - reg = <0x48>; - vcc_i2c-supply = <&pm8941_s3>; - compatible = "imagis,isa1200"; - label = "vibrator"; - imagis,chip-en; - imagis,need-pwm-clk; - imagis,ext-clk-en; - imagis,hap-en-gpio = <&msmgpio 86 0x00>; - imagis,max-timeout = <15000>; - imagis,pwm-div = <256>; - imagis,mode-ctrl = <2>; - imagis,regulator { - regulator-name = "vcc_i2c"; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - regulator-max-microamp = <9360>; - }; - }; - }; - - gen-vkeys { - compatible = "qcom,gen-vkeys"; - label = "atmel_mxt_ts"; - qcom,disp-maxx = <720>; - qcom,disp-maxy = <1280>; - qcom,panel-maxx = <760>; - qcom,panel-maxy = <1424>; - qcom,key-codes = <158 139 102 217>; - }; - - gpio_keys { - compatible = "gpio-keys"; - input-name = "gpio-keys"; - - camera_snapshot { - label = "camera_snapshot"; - gpios = <&pm8941_gpios 3 0x1>; - linux,input-type = <1>; - linux,code = <0x2fe>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - - camera_focus { - label = "camera_focus"; - gpios = <&pm8941_gpios 4 0x1>; - linux,input-type = <1>; - linux,code = <0x210>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - - vol_up { - label = "volume_up"; - gpios = <&pm8941_gpios 5 0x1>; - linux,input-type = <1>; - linux,code = <115>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - }; - - spi@f9923000 { - ethernet-switch@2 { - compatible = "micrel,ks8851"; - reg = <2>; - interrupt-parent = <&msmgpio>; - interrupts = <94 0>; - spi-max-frequency = <4800000>; - rst-gpio = <&pm8941_mpps 6 0>; - vdd-io-supply = <&spi_eth_vreg>; - vdd-phy-supply = <&spi_eth_vreg>; - }; - }; - - sound { - qcom,model = "msm8974-taiko-fluid-snd-card"; - qcom,audio-routing = - "RX_BIAS", "MCLK", - "LDO_H", "MCLK", - "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", - "Lineout_1 amp", "LINEOUT1", - "Lineout_3 amp", "LINEOUT3"; - - qcom,hdmi-audio-rx; - qcom,ext-ult-lo-amp-gpio = <&pm8941_gpios 6 0>; - qcom,cdc-micbias2-headset-only; - }; -}; - -&slim_msm { - taiko_codec { - qcom,cdc-micbias1-ext-cap; - qcom,cdc-micbias2-ext-cap; - qcom,cdc-micbias3-ext-cap; - qcom,cdc-micbias4-ext-cap; - - /* If boot isn't available, vph_pwr_vreg can be used instead */ - cdc-vdd-spkdrv-supply = <&pm8941_boost>; - qcom,cdc-vdd-spkdrv-voltage = <5000000 5000000>; - qcom,cdc-vdd-spkdrv-current = <1250000>; - - qcom,cdc-on-demand-supplies = "cdc-vdd-spkdrv"; - }; -}; - -&spmi_bus { - qcom,pm8941@1 { - qcom,leds@d800 { - status = "okay"; - qcom,wled_0 { - label = "wled"; - linux,name = "wled:backlight"; - linux,default-trigger = "bkl-trigger"; - qcom,cs-out-en; - qcom,op-fdbck = <1>; - qcom,default-state = "on"; - qcom,max-current = <25>; - qcom,ctrl-delay-us = <0>; - qcom,boost-curr-lim = <3>; - qcom,cp-sel = <0>; - qcom,switch-freq = <2>; - qcom,ovp-val = <2>; - qcom,num-strings = <1>; - qcom,id = <0>; - }; - }; - - qcom,leds@d900 { - status = "disabled"; - }; - - qcom,leds@da00 { - status = "disabled"; - }; - - qcom,leds@db00 { - status = "disabled"; - }; - - qcom,leds@dc00 { - status = "disabled"; - }; - - qcom,leds@dd00 { - status = "disabled"; - }; - - qcom,leds@de00 { - status = "disabled"; - }; - - qcom,leds@df00 { - status = "disabled"; - }; - - qcom,leds@e000 { - status = "disabled"; - }; - - qcom,leds@e100 { - status = "disabled"; - }; - }; -}; - -&sdcc1 { - status = "disabled"; -}; - -&sdcc2 { - #address-cells = <0>; - interrupt-parent = <&sdcc2>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 125 0 - 1 &intc 0 220 0 - 2 &msmgpio 62 0x3>; - interrupt-names = "core_irq", "bam_irq", "status_irq"; - cd-gpios = <&msmgpio 62 0x1>; - status = "disabled"; -}; - -&sdhc_1 { - vdd-supply = <&pm8941_l20>; - vdd-io-supply = <&pm8941_s3>; - - qcom,vdd-always-on; - qcom,vdd-lpm-sup; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <800 500000>; - - qcom,vdd-io-always-on; - qcom,vdd-io-voltage-level = <1800000 1800000>; - qcom,vdd-io-current-level = <250 154000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,nonremovable; - status = "ok"; -}; - -&sdhc_2 { - #address-cells = <0>; - interrupt-parent = <&sdhc_2>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 125 0 - 1 &intc 0 221 0 - 2 &msmgpio 62 0x3>; - interrupt-names = "hc_irq", "pwr_irq", "status_irq"; - cd-gpios = <&msmgpio 62 0x1>; - - vdd-supply = <&pm8941_l21>; - vdd-io-supply = <&pm8941_l13>; - - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <9000 800000>; - - qcom,vdd-io-voltage-level = <1800000 2950000>; - qcom,vdd-io-current-level = <6 22000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - status = "ok"; -}; - -/* Drive strength recommendations for clock line from hardware team is 10 mA. - * But since the driver has been been using the below values from the start - * without any problems, continue to use those. - */ -&sdcc1 { - qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */ -}; - -&sdcc2 { - qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */ -}; - -&sdhc_1 { - qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */ -}; - -&sdhc_2 { - qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */ -}; - -&usb3 { - qcom,otg-capability; -}; - -&pm8941_bms { - status = "ok"; -}; - -&pm8941_chg { - status = "ok"; - qcom,charging-disabled; - - qcom,chgr@1000 { - status = "ok"; - }; - - qcom,buck@1100 { - status = "ok"; - }; - - qcom,bat-if@1200 { - status = "ok"; - }; - - qcom,usb-chgpth@1300 { - status = "ok"; - }; - - qcom,dc-chgpth@1400 { - status = "ok"; - }; - - qcom,boost@1500 { - status = "ok"; - }; - - qcom,chg-misc@1600 { - status = "ok"; - }; -}; - -&pm8941_gpios { - gpio@c000 { /* GPIO 1 */ - }; - - gpio@c100 { /* GPIO 2 */ - }; - - gpio@c200 { /* GPIO 3 */ - qcom,mode = <0>; - qcom,pull = <0>; - qcom,vin-sel = <2>; - qcom,src-sel = <0>; - }; - - gpio@c300 { /* GPIO 4 */ - qcom,mode = <0>; - qcom,pull = <0>; - qcom,vin-sel = <2>; - qcom,src-sel = <0>; - }; - - gpio@c400 { /* GPIO 5 */ - qcom,mode = <0>; - qcom,pull = <0>; - qcom,vin-sel = <2>; - qcom,src-sel = <0>; - }; - - gpio@c500 { /* GPIO 6 */ - }; - - gpio@c600 { /* GPIO 7 */ - }; - - gpio@c700 { /* GPIO 8 */ - }; - - gpio@c800 { /* GPIO 9 */ - }; - - gpio@c900 { /* GPIO 10 */ - }; - - gpio@ca00 { /* GPIO 11 */ - }; - - gpio@cb00 { /* GPIO 12 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,output-type = <0>; /* QPNP_PIN_OUT_BUF_CMOS */ - qcom,pull = <5>; /* QPNP_PIN_PULL_NO */ - qcom,vin-sel = <2>; /* QPNP_PIN_VIN2 */ - qcom,out-strength = <2>; /* QPNP_PIN_OUT_STRENGTH_MED */ - qcom,src-sel = <0>; /* QPNP_PIN_SEL_FUNC_CONSTANT */ - qcom,master-en = <1>; - }; - - gpio@cc00 { /* GPIO 13 */ - }; - - gpio@cd00 { /* GPIO 14 */ - }; - - gpio@ce00 { /* GPIO 15 */ - qcom,mode = <1>; - qcom,output-type = <0>; - qcom,pull = <5>; - qcom,vin-sel = <2>; - qcom,out-strength = <1>; - qcom,src-sel = <2>; - qcom,master-en = <1>; - }; - - gpio@cf00 { /* GPIO 16 */ - qcom,mode = <1>; - qcom,output-type = <0>; - qcom,pull = <5>; - qcom,vin-sel = <2>; - qcom,out-strength = <3>; - qcom,src-sel = <2>; - qcom,master-en = <1>; - }; - - gpio@d000 { /* GPIO 17 */ - }; - - gpio@d100 { /* GPIO 18 */ - }; - - gpio@d200 { /* GPIO 19 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,output-type = <0>; /* QPNP_PIN_OUT_BUF_CMOS */ - qcom,pull = <5>; /* QPNP_PIN_PULL_NO */ - qcom,vin-sel = <2>; /* QPNP_PIN_VIN2 */ - qcom,out-strength = <2>; /* QPNP_PIN_OUT_STRENGTH_MED */ - qcom,src-sel = <0>; /* QPNP_PIN_SEL_FUNC_CONSTANT */ - qcom,master-en = <1>; - }; - - gpio@d300 { /* GPIO 20 */ - }; - - gpio@d400 { /* GPIO 21 */ - }; - - gpio@d500 { /* GPIO 22 */ - }; - - gpio@d600 { /* GPIO 23 */ - }; - - gpio@d700 { /* GPIO 24 */ - }; - - gpio@d800 { /* GPIO 25 */ - }; - - gpio@d900 { /* GPIO 26 */ - }; - - gpio@da00 { /* GPIO 27 */ - }; - - gpio@db00 { /* GPIO 28 */ - }; - - gpio@dc00 { /* GPIO 29 */ - qcom,pull = <0>; /* set to default pull */ - qcom,master-en = <1>; - qcom,vin-sel = <2>; /* select 1.8 V source */ - }; - - gpio@dd00 { /* GPIO 30 */ - }; - - gpio@de00 { /* GPIO 31 */ - }; - - gpio@df00 { /* GPIO 32 */ - }; - - gpio@e000 { /* GPIO 33 */ - }; - - gpio@e100 { /* GPIO 34 */ - }; - - gpio@e200 { /* GPIO 35 */ - }; - - gpio@e300 { /* GPIO 36 */ - }; -}; - -&pm8941_mpps { - - mpp@a000 { /* MPP 1 */ - status = "disabled"; - }; - - mpp@a100 { /* MPP 2 */ - }; - - mpp@a200 { /* MPP 3 */ - }; - - mpp@a300 { /* MPP 4 */ - }; - - mpp@a400 { /* MPP 5 */ - }; - - mpp@a500 { /* MPP 6 */ - /* SPI_ETH_RST config */ - qcom,mode = <1>; /* DIG_OUT */ - qcom,output-type = <0>; /* CMOS */ - qcom,vin-sel = <2>; /* PM8941_S3 1.8V > 1.6V */ - qcom,src-sel = <0>; /* CONSTANT */ - qcom,master-en = <1>; /* ENABLE MPP */ - }; - - mpp@a600 { /* MPP 7 */ - }; - - mpp@a700 { /* MPP 8 */ - qcom,mode = <1>; /* DIG_OUT */ - qcom,output-type = <0>; /* CMOS */ - qcom,pull = <0>; - qcom,vin-sel = <2>; /* PM8941_S3 1.8V > 1.6V */ - qcom,src-sel = <0>; /* CONSTANT */ - qcom,master-en = <1>; /* ENABLE MPP */ - }; -}; - -&pm8841_mpps { - - mpp@a000 { /* MPP 1 */ - }; - - mpp@a100 { /* MPP 2 */ - }; - - mpp@a200 { /* MPP 3 */ - }; - - mpp@a300 { /* MPP 4 */ - }; -}; - -&spi_epm { - epm-adc@0 { - compatible = "cy,epm-adc-cy8c5568lti-114"; - reg = <0>; - interrupt-parent = <&msmgpio>; - spi-max-frequency = <960000>; - qcom,channels = <31>; - qcom,gain = <100 100 100 50 100 100 1 100 1 50 - 1 100 1 100 50 50 50 50 50 50 - 100 50 100 50 50 50 50 50 50 50 - 50>; - qcom,rsense = <2 2 2 200 20 2 1 2 1 30 - 1 10 1 30 50 30 500 30 100 30 - 100 500 20 200 1000 20 1000 1000 70 200 - 50>; - qcom,channel-type = <0x1540>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8974-gpu.dtsi b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8974-gpu.dtsi deleted file mode 100644 index 06b9c187b..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8974-gpu.dtsi +++ /dev/null @@ -1,185 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ -&soc { - msm_gpu: qcom,kgsl-3d0@fdb00000 { - label = "kgsl-3d0"; - compatible = "qcom,kgsl-3d0", "qcom,kgsl-3d"; - reg = <0xfdb00000 0x10000 - 0xfdb20000 0x10000>; - reg-names = "kgsl_3d0_reg_memory" , "kgsl_3d0_shader_memory"; - interrupts = <0 33 0>; - interrupt-names = "kgsl_3d0_irq"; - qcom,id = <0>; - - qcom,chipid = <0x03030000>; - - qcom,initial-pwrlevel = <2>; - qcom,step-pwrlevel = <2>; - - qcom,idle-timeout = <8>; // - qcom,strtstp-sleepwake; - qcom,clk-map = <0x0000006>; //KGSL_CLK_CORE | KGSL_CLK_IFACE - - /* Bus Scale Settings */ - qcom,msm-bus,name = "grp3d"; - qcom,msm-bus,num-cases = <6>; - qcom,msm-bus,num-paths = <2>; - qcom,msm-bus,vectors-KBps = - <26 512 0 0>, <89 604 0 0>, - <26 512 0 2200000>, <89 604 0 3000000>, - <26 512 0 4000000>, <89 604 0 3000000>, - <26 512 0 4000000>, <89 604 0 4500000>, - <26 512 0 6400000>, <89 604 0 4500000>, - <26 512 0 6400000>, <89 604 0 7600000>; - - /* GDSC oxili regulators */ - vddcx-supply = <&gdsc_oxili_cx>; - vdd-supply = <&gdsc_oxili_gx>; - - /* Power levels */ - - /* IOMMU Data */ - iommu = <&kgsl_iommu>; - - /* Trace bus */ - coresight-id = <67>; - coresight-name = "coresight-gfx"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_mmss>; - coresight-child-ports = <7>; - - qcom,gpu-pwrlevels { - #address-cells = <1>; - #size-cells = <0>; - - compatible = "qcom,gpu-pwrlevels"; - - qcom,gpu-pwrlevel@0 { - reg = <0>; - qcom,gpu-freq = <450000000>; - qcom,bus-freq = <5>; - qcom,io-fraction = <33>; - }; - - qcom,gpu-pwrlevel@1 { - reg = <1>; - qcom,gpu-freq = <320000000>; - qcom,bus-freq = <4>; - qcom,io-fraction = <66>; - }; - - qcom,gpu-pwrlevel@2 { - reg = <2>; - qcom,gpu-freq = <320000000>; - qcom,bus-freq = <3>; - qcom,io-fraction = <66>; - }; - - qcom,gpu-pwrlevel@3 { - reg = <3>; - qcom,gpu-freq = <200000000>; - qcom,bus-freq = <2>; - qcom,io-fraction = <100>; - }; - - qcom,gpu-pwrlevel@4 { - reg = <4>; - qcom,gpu-freq = <200000000>; - qcom,bus-freq = <1>; - qcom,io-fraction = <100>; - }; - - qcom,gpu-pwrlevel@5 { - reg = <5>; - qcom,gpu-freq = <27000000>; - qcom,bus-freq = <0>; - qcom,io-fraction = <0>; - }; - }; - - qcom,dcvs-core-info { - #address-cells = <1>; - #size-cells = <0>; - - compatible = "qcom,dcvs-core-info"; - - qcom,num-cores = <1>; - qcom,sensors = <0>; - - qcom,core-core-type = <1>; - - qcom,algo-disable-pc-threshold = <0>; - qcom,algo-em-win-size-min-us = <100000>; - qcom,algo-em-win-size-max-us = <300000>; - qcom,algo-em-max-util-pct = <97>; - qcom,algo-group-id = <95>; - qcom,algo-max-freq-chg-time-us = <100000>; - qcom,algo-slack-mode-dynamic = <100000>; - qcom,algo-slack-weight-thresh-pct = <0>; - qcom,algo-slack-time-min-us = <39000>; - qcom,algo-slack-time-max-us = <39000>; - qcom,algo-ss-win-size-min-us = <1000000>; - qcom,algo-ss-win-size-max-us = <1000000>; - qcom,algo-ss-util-pct = <95>; - qcom,algo-ss-no-corr-below-freq = <0>; - - qcom,energy-active-coeff-a = <2492>; - qcom,energy-active-coeff-b = <0>; - qcom,energy-active-coeff-c = <0>; - qcom,energy-leakage-coeff-a = <11>; - qcom,energy-leakage-coeff-b = <157150>; - qcom,energy-leakage-coeff-c = <0>; - qcom,energy-leakage-coeff-d = <0>; - - qcom,power-current-temp = <25>; - qcom,power-num-freq = <4>; - - qcom,dcvs-freq@0 { - reg = <0>; - qcom,freq = <0>; - qcom,voltage = <0>; - qcom,is_trans_level = <0>; - qcom,active-energy-offset = <100>; - qcom,leakage-energy-offset = <0>; - }; - - qcom,dcvs-freq@1 { - reg = <1>; - qcom,freq = <0>; - qcom,voltage = <0>; - qcom,is_trans_level = <0>; - qcom,active-energy-offset = <100>; - qcom,leakage-energy-offset = <0>; - }; - - qcom,dcvs-freq@2 { - reg = <2>; - qcom,freq = <0>; - qcom,voltage = <0>; - qcom,is_trans_level = <0>; - qcom,active-energy-offset = <100>; - qcom,leakage-energy-offset = <0>; - }; - - qcom,dcvs-freq@3 { - reg = <3>; - qcom,freq = <0>; - qcom,voltage = <0>; - qcom,is_trans_level = <0>; - qcom,active-energy-offset = <844545>; - qcom,leakage-energy-offset = <0>; - }; - }; - - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8974-ion.dtsi b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8974-ion.dtsi deleted file mode 100644 index 63f6d59c2..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8974-ion.dtsi +++ /dev/null @@ -1,59 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&soc { - qcom,ion { - compatible = "qcom,msm-ion"; - #address-cells = <1>; - #size-cells = <0>; - - qcom,ion-heap@30 { /* SYSTEM HEAP */ - reg = <30>; - }; - - qcom,ion-heap@21 { /* SYSTEM CONTIG HEAP */ - reg = <21>; - }; - - qcom,ion-heap@8 { /* CP_MM HEAP */ - compatible = "qcom,msm-ion-reserve"; - reg = <8>; - qcom,heap-align = <0x1000>; - linux,contiguous-region = <&secure_mem>; - }; - - qcom,ion-heap@22 { /* adsp heap */ - compatible = "qcom,msm-ion-reserve"; - reg = <22>; - qcom,heap-align = <0x1000>; - linux,contiguous-region = <&adsp_mem>; - }; - - qcom,ion-heap@25 { /* IOMMU HEAP */ - reg = <25>; - }; - - qcom,ion-heap@27 { /* QSECOM HEAP */ - compatible = "qcom,msm-ion-reserve"; - reg = <27>; - linux,contiguous-region = <&qsecom_mem>; - }; - - qcom,ion-heap@28 { /* AUDIO HEAP */ - compatible = "qcom,msm-ion-reserve"; - reg = <28>; - qcom,heap-align = <0x1000>; - qcom,memory-reservation-type = "EBI1"; /* reserve EBI memory */ - qcom,memory-reservation-size = <0x614000>; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8974-leds.dtsi b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8974-leds.dtsi deleted file mode 100644 index 5e91f4597..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8974-leds.dtsi +++ /dev/null @@ -1,129 +0,0 @@ -/* - * Copyright (c) 2012-2013, 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. - */ - -&spmi_bus { - qcom,pm8941@1 { - qcom,leds@d000 { - status = "okay"; - qcom,rgb_0 { - label = "rgb"; - linux,name = "led:rgb_red"; - qcom,mode = "pwm"; - qcom,pwm-channel = <6>; - qcom,pwm-us = <1000>; - qcom,max-current = <12>; - qcom,default-state = "off"; - qcom,id = <3>; - linux,default-trigger = - "battery-charging"; - }; - - qcom,rgb_1 { - label = "rgb"; - linux,name = "led:rgb_green"; - qcom,mode = "pwm"; - qcom,pwm-channel = <5>; - qcom,pwm-us = <1000>; - qcom,max-current = <12>; - qcom,default-state = "off"; - qcom,id = <4>; - linux,default-trigger = "battery-full"; - }; - - qcom,rgb_2 { - label = "rgb"; - linux,name = "led:rgb_blue"; - qcom,mode = "pwm"; - qcom,pwm-channel = <4>; - qcom,pwm-us = <1000>; - qcom,max-current = <12>; - qcom,id = <5>; - status = "disabled"; - }; - }; - - qcom,leds@d100 { - status = "disabled"; - }; - - qcom,leds@d200 { - status = "disabled"; - }; - - qcom,leds@d300 { - status = "okay"; - pm8941_flash0: qcom,flash_0 { - qcom,max-current = <1000>; - qcom,default-state = "off"; - qcom,headroom = <3>; - qcom,duration = <1280>; - qcom,clamp-curr = <200>; - qcom,startup-dly = <3>; - qcom,safety-timer; - label = "flash"; - linux,default-trigger = - "flash0_trigger"; - qcom,id = <1>; - linux,name = "led:flash_0"; - qcom,current = <625>; - }; - - pm8941_flash1: qcom,flash_1 { - qcom,max-current = <1000>; - qcom,default-state = "off"; - qcom,headroom = <3>; - qcom,duration = <1280>; - qcom,clamp-curr = <200>; - qcom,startup-dly = <3>; - qcom,safety-timer; - linux,default-trigger = - "flash1_trigger"; - label = "flash"; - qcom,id = <2>; - linux,name = "led:flash_1"; - qcom,current = <625>; - }; - - pm8941_torch: qcom,flash_torch { - qcom,max-current = <200>; - qcom,default-state = "off"; - qcom,headroom = <0>; - qcom,startup-dly = <1>; - linux,default-trigger = - "torch_trigger"; - label = "flash"; - qcom,id = <2>; - linux,name = "led:flash_torch"; - qcom,current = <200>; - qcom,torch-enable; - }; - }; - - qcom,leds@d400 { - status = "disabled"; - }; - - qcom,leds@d500 { - status = "disabled"; - }; - - qcom,leds@d600 { - status = "disabled"; - }; - - qcom,leds@d700 { - status = "disabled"; - }; - }; -}; - diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8974-liquid.dtsi b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8974-liquid.dtsi deleted file mode 100644 index 2dc52b6be..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8974-liquid.dtsi +++ /dev/null @@ -1,893 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/include/ "msm8974-leds.dtsi" -/include/ "msm8974-camera-sensor-liquid.dtsi" - -&soc { - serial@f991e000 { - status = "ok"; - }; - - qcom,mdss_edp@fd923400 { - status = "ok"; - }; - - i2c@f9967000 { - battery@b { - compatible = "ti,bq28400-battery"; - reg = <0xb>; - ti,temp-cold = <2>; /* degree celsius */ - ti,temp-hot = <43>; /* degree celsius */ - }; - - charger@2b { - compatible = "summit,smb350-charger"; - reg = <0x2b>; /* 0x56/0x57 */ - summit,stat-gpio = <&pm8941_gpios 30 0x00>; - summit,chg-en-n-gpio = <&pm8941_gpios 10 0x00>; - summit,chg-susp-n-gpio = <&pm8941_gpios 13 0x00>; - summit,chg-current-ma = <1600>; - summit,term-current-ma = <300>; - }; - }; - - gpio_keys { - compatible = "gpio-keys"; - input-name = "gpio-keys"; - - home { - label = "home"; - gpios = <&pm8941_gpios 1 0x1>; - linux,input-type = <1>; - linux,code = <102>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - - vol_down { - label = "volume_down"; - gpios = <&pm8941_gpios 2 0x1>; - linux,input-type = <1>; - linux,code = <114>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - - vol_up { - label = "volume_up"; - gpios = <&pm8941_gpios 5 0x1>; - linux,input-type = <1>; - linux,code = <115>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - }; - - qcom,hdmi_tx@fd922100 { - status = "ok"; - - qcom,hdmi-tx-mux-sel = <&pm8841_mpps 3 0>; - qcom,hdmi-tx-mux-en = <&pm8841_mpps 4 0>; - }; - - drv2667_vreg: drv2667_vdd_vreg { - compatible = "regulator-fixed"; - regulator-name = "vdd_drv2667"; - }; - - i2c@f9967000 { - ti-drv2667@59 { - compatible = "ti,drv2667"; - reg = <0x59>; - vdd-supply = <&drv2667_vreg>; - vdd-i2c-supply = <&pm8941_s3>; - ti,label = "vibrator"; - ti,gain = <2>; - ti,idle-timeout-ms = <20>; - ti,max-runtime-ms = <15000>; - ti,mode = <2>; - ti,wav-seq = [ - /* wave form id */ - 01 - /* header size, start and stop bytes */ - 05 80 06 00 09 - /* repeat, amp, freq, duration, envelope */ - 01 ff 19 02 00]; - }; - }; - - i2c@f9924000 { - atmel_mxt_ts@4a { - compatible = "atmel,mxt-ts"; - reg = <0x4a>; - interrupt-parent = <&msmgpio>; - interrupts = <61 0x2>; - vdd_ana-supply = <&pm8941_l22>; - vcc_i2c-supply = <&pm8941_s3>; - atmel,reset-gpio = <&msmgpio 60 0x00>; - atmel,irq-gpio = <&msmgpio 61 0x00>; - atmel,panel-coords = <0 0 1080 1920>; - atmel,display-coords = <0 0 1080 1920>; - atmel,i2c-pull-up; - atmel,no-force-update; - atmel,cfg_1 { - atmel,family-id = <0xa2>; - atmel,variant-id = <0x00>; - atmel,version = <0x11>; - atmel,build = <0xaa>; - atmel,config = [ - /* Object 6, Instance = 0 */ - 00 00 00 00 00 00 - /* Object 38, Instance = 0 */ - 16 00 00 14 09 0C 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 - /* Object 7, Instance = 0 */ - FF FF 0A 03 - /* Object 8, Instance = 0 */ - 5F 00 14 14 00 00 00 01 00 00 - /* Object 9, Instance = 0 */ - 8F 00 00 20 34 00 87 3C 08 03 - 00 05 03 80 0A 14 14 0A 80 07 - 38 04 00 00 00 00 00 00 00 00 - 0F 0F 2E 33 02 00 - /* Object 15, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 - /* Object 18, Instance = 0 */ - 04 00 - /* Object 24, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 - /* Object 25, Instance = 0 */ - 00 00 54 6F F0 55 00 00 00 00 - 00 00 00 00 00 - /* Object 27, Instance = 0 */ - 00 00 00 00 00 00 00 - /* Object 40, Instance = 0 */ - 00 14 14 14 14 - /* Object 42, Instance = 0 */ - 20 14 00 00 00 14 11 00 03 00 - /* Object 43, Instance = 0 */ - 09 00 01 01 91 00 80 00 00 00 - 00 00 - /* Object 46, Instance = 0 */ - 00 00 10 10 00 00 01 00 00 0F - 0A - /* Object 47, Instance = 0 */ - 00 14 23 02 05 1E 01 78 03 10 - 00 00 0C 00 00 00 00 00 00 00 - 00 00 - /* Object 55, Instance = 0 */ - 00 00 00 00 00 00 00 - /* Object 56, Instance = 0 */ - 02 00 01 30 13 14 14 14 15 15 - 15 15 15 15 15 16 16 16 16 16 - 16 16 16 16 16 15 14 14 14 14 - 15 14 14 14 14 13 00 00 01 02 - 05 05 00 00 00 00 00 00 00 00 - 00 - /* Object 57, Instance = 0 */ - 00 00 00 - /* Object 61, Instance = 0 */ - 00 00 00 00 00 - /* Object 62, Instance = 0 */ - 00 01 03 01 00 00 00 00 00 0A - 0F 14 19 23 05 00 0A 05 05 69 - 23 23 34 11 64 06 06 04 40 00 - 00 00 00 00 69 4B 02 00 00 80 - 0A 14 14 18 18 10 10 80 00 80 - 00 00 0F 02 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 - /* Object 63, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 00 - ]; - }; - atmel,cfg_2 { - atmel,family-id = <0xa2>; - atmel,variant-id = <0x00>; - atmel,version = <0x11>; - atmel,build = <0xaa>; - atmel,config = [ - /* Object 6, Instance = 0 */ - 00 00 00 00 00 00 - /* Object 38, Instance = 0 */ - 19 03 00 1E 05 0D 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 - /* Object 7, Instance = 0 */ - 20 08 32 C3 - /* Object 8, Instance = 0 */ - 41 00 14 14 00 00 00 01 00 00 - /* Object 9, Instance = 0 */ - 8F 00 00 20 34 00 87 4B 02 03 - 00 05 03 41 0A 14 14 0A 80 07 - 38 04 00 00 03 03 08 28 02 3C - 0F 0F 2E 33 01 00 - /* Object 15, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 - /* Object 18, Instance = 0 */ - 04 00 - /* Object 24, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 - /* Object 25, Instance = 0 */ - 00 00 54 6F F0 55 00 00 00 00 - 00 00 00 00 00 - /* Object 27, Instance = 0 */ - 00 00 00 00 00 00 00 - /* Object 40, Instance = 0 */ - 00 14 14 14 14 - /* Object 42, Instance = 0 */ - 23 32 14 14 80 00 0A 00 05 05 - /* Object 43, Instance = 0 */ - 08 00 01 01 91 00 80 00 00 00 - 00 00 - /* Object 46, Instance = 0 */ - 00 00 18 18 00 00 01 00 00 0F - 0A - /* Object 47, Instance = 0 */ - 00 14 28 02 05 28 01 78 03 10 - 00 00 0C 00 00 00 00 00 00 00 - 00 00 - /* Object 55, Instance = 0 */ - 00 00 00 00 00 00 00 - /* Object 56, Instance = 0 */ - 01 00 00 30 13 14 14 14 15 15 - 15 15 15 15 15 16 16 16 16 16 - 16 16 16 16 16 15 14 14 14 14 - 15 14 14 14 14 13 03 20 03 01 - 0A 04 00 00 00 00 00 00 00 00 - 1A - /* Object 57, Instance = 0 */ - 00 00 00 - /* Object 61, Instance = 0 */ - 00 00 00 00 00 - /* Object 62, Instance = 0 */ - 00 03 00 07 02 00 00 00 00 00 - 0F 17 23 2D 05 00 05 03 03 69 - 14 14 34 11 64 06 06 04 40 00 - 00 00 00 00 69 3C 02 04 01 00 - 0A 14 14 03 03 03 03 00 00 00 - 00 64 1E 01 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 - /* Object 63, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 00 - /* Object 65, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 - /* Object 66, Instance = 0 */ - 00 00 00 00 00 - ]; - }; - }; - }; - - ext_5v: regulator-smb210 { - compatible = "regulator-fixed"; - regulator-name = "ext_5v"; - gpio = <&pm8941_mpps 2 0>; - startup-delay-us = <12000>; - enable-active-high; - }; - - ath_chip_pwd_l: ath_chip_reset { - compatible = "regulator-fixed"; - regulator-name = "ath_chip_pwd_l"; - gpio = <&pm8941_gpios 33 0>; - enable-active-high; - }; - - bt_ar3002 { - compatible = "qca,ar3002"; - qca,bt-reset-gpio = <&pm8941_gpios 34 0>; - qca,bt-chip-pwd-supply = <&ath_chip_pwd_l>; - qca,bt-vdd-io-supply = <&pm8941_s3>; - qca,bt-vdd-pa-supply = <&pm8941_l19>; - }; - - bt_ar3002_sleep { - compatible = "qca,ar3002_bluesleep"; - host-wake-gpio = <&msmgpio 79 0>; - ext-wake-gpio = <&msmgpio 51 0>; - interrupt-parent = <&msmgpio>; - interrupts = <79 2>; - interrupt-names = "host_wake"; - }; - - sound { - qcom,model = "msm8974-taiko-liquid-snd-card"; - - qcom,audio-routing = - "RX_BIAS", "MCLK", - "LDO_H", "MCLK", - "Lineout_1 amp", "LINEOUT1", - "Lineout_3 amp", "LINEOUT3", - "Lineout_2 amp", "LINEOUT2", - "Lineout_4 amp", "LINEOUT4", - "SPK_ultrasound amp", "SPK_OUT", - "AMIC1", "MIC BIAS4 External", - "MIC BIAS4 External", "Analog Mic4", - "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", - "AMIC5", "MIC BIAS1 External", - "MIC BIAS1 External", "Analog Mic6", - "AMIC6", "MIC BIAS1 External", - "MIC BIAS1 External", "Analog Mic7", - "DMIC1", "MIC BIAS3 External", - "MIC BIAS3 External", "Digital Mic1", - "DMIC2", "MIC BIAS3 External", - "MIC BIAS3 External", "Digital Mic2", - "DMIC3", "MIC BIAS2 External", - "MIC BIAS2 External", "Digital Mic3", - "DMIC4", "MIC BIAS3 External", - "MIC BIAS3 External", "Digital Mic4", - "DMIC5", "MIC BIAS2 External", - "MIC BIAS2 External", "Digital Mic5", - "DMIC6", "MIC BIAS2 External", - "MIC BIAS2 External", "Digital Mic6"; - - qcom,ext-spk-amp-supply = <&ext_5v>; - qcom,ext-spk-amp-gpio = <&pm8841_mpps 1 0>; - qcom,dock-plug-det-irq = <&pm8841_mpps 2 0>; - qcom,ext-ult-spk-amp-gpio = <&pm8941_gpios 6 0>; - qcom,hdmi-audio-rx; - - qcom,prim-auxpcm-gpio-clk = <&msmgpio 74 0>; - qcom,prim-auxpcm-gpio-sync = <&msmgpio 75 0>; - qcom,prim-auxpcm-gpio-din = <&msmgpio 76 0>; - qcom,prim-auxpcm-gpio-dout = <&msmgpio 77 0>; - qcom,prim-auxpcm-gpio-set = "prim-gpio-tert"; - }; - - hsic_hub { - compatible = "qcom,hsic-smsc-hub"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - smsc,reset-gpio = <&pm8941_gpios 8 0x00>; - smsc,refclk-gpio = <&pm8941_gpios 16 0x00>; - smsc,int-gpio = <&msmgpio 50 0x00>; - hub_int-supply = <&pm8941_l10>; - hub_vbus-supply = <&ext_5v>; - - hsic_host: hsic@f9a00000 { - compatible = "qcom,hsic-host"; - reg = <0xf9a00000 0x400>; - #address-cells = <0>; - interrupt-parent = <&hsic_host>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 136 0 - 1 &intc 0 148 0 - 2 &msmgpio 144 0x8>; - interrupt-names = "core_irq", "async_irq", "wakeup"; - HSIC_VDDCX-supply = <&pm8841_s2>; - HSIC_GDSC-supply = <&gdsc_usb_hsic>; - hsic,strobe-gpio = <&msmgpio 144 0x00>; - hsic,data-gpio = <&msmgpio 145 0x00>; - hsic,ignore-cal-pad-config; - hsic,strobe-pad-offset = <0x2050>; - hsic,data-pad-offset = <0x2054>; - - qcom,msm-bus,name = "hsic"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <85 512 0 0>, - <85 512 40000 160000>; - }; - }; - - wlan0: qca,wlan { - compatible = "qca,ar6004-hsic"; - qcom,msm-bus,name = "wlan"; - qca,wifi-chip-pwd-supply = <&ath_chip_pwd_l>; - qca,wifi-vddpa-supply = <&pm8941_l19>; - qca,wifi-vddio-supply = <&pm8941_l10>; - qcom,msm-bus,num-cases = <5>; - qcom,msm-bus,active-only = <0>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <85 512 0 0>, - <85 512 40000 160000>, - <85 512 40000 320000>, - <85 512 40000 480000>, - <85 512 40000 800000>; - }; - - wlan_sdio:qca,wlan_sdio { - compatible = "qca,ar6004-sdio"; - qcom,msm-bus,name = "wlan_sdio"; - qca,wifi-chip-pwd-supply = <&ath_chip_pwd_l>; - }; -}; - -&mdss_fb0 { - qcom,memory-reservation-size = <0x1000000>; /* size 16MB */ -}; - -&uart7 { - status = "ok"; - qcom,tx-gpio = <&msmgpio 41 0x00>; - qcom,rx-gpio = <&msmgpio 42 0x00>; - qcom,cts-gpio = <&msmgpio 43 0x00>; - qcom,rfr-gpio = <&msmgpio 44 0x00>; -}; - -&usb3 { - qcom,otg-capability; -}; - -&pm8941_mvs2 { - parent-supply = <&ext_5v>; -}; - -&pm8941_gpios { - gpio@c000 { /* GPIO 1 */ - qcom,mode = <0>; - qcom,pull = <0>; - qcom,vin-sel = <2>; - qcom,src-sel = <0>; - }; - - gpio@c100 { /* GPIO 2 */ - qcom,mode = <0>; - qcom,pull = <0>; - qcom,vin-sel = <2>; - qcom,src-sel = <0>; - }; - - gpio@c200 { /* GPIO 3 */ - }; - - gpio@c300 { /* GPIO 4 */ - }; - - gpio@c400 { /* GPIO 5 */ - qcom,mode = <0>; - qcom,pull = <0>; - qcom,vin-sel = <2>; - qcom,src-sel = <0>; - }; - - gpio@c500 { /* GPIO 6 */ - /* ULTRASOUND_EN_1 PA AB enable */ - qcom,mode = <1>; /* DIG_OUT */ - qcom,output-type = <0>; /* CMOS */ - qcom,pull = <4>; /* PULL_DOWN */ - qcom,vin-sel = <0>; /* VPH */ - qcom,out-strength = <2>; /* STRENGTH_MED */ - qcom,src-sel = <0>; /* CONSTANT */ - qcom,master-en = <1>; - }; - - gpio@c600 { /* GPIO 7 */ - }; - - gpio@c700 { /* GPIO 8 */ - /* HSIC_HUB-RESET */ - qcom,mode = <1>; /* DIG_OUT */ - qcom,pull = <5>; /* PULL_NO */ - qcom,out-strength = <2>; /* STRENGTH_MED */ - qcom,master-en = <1>; - }; - - gpio@c800 { /* GPIO 9 */ - }; - - gpio@c900 { /* GPIO 10 */ - /* SMB350-CHG-EN-N */ - qcom,mode = <1>; /* DIG_OUT */ - qcom,output-type = <0>; /* CMOS */ - qcom,pull = <5>; /* PULL_NO */ - qcom,vin-sel = <0>; /* VPH */ - qcom,out-strength = <2>; /* STRENGTH_MED */ - qcom,src-sel = <0>; /* CONSTANT */ - qcom,master-en = <1>; - }; - - gpio@ca00 { /* GPIO 11 */ - }; - - gpio@cb00 { /* GPIO 12 */ - }; - - gpio@cc00 { /* GPIO 13 */ - /* SMB350-CHG-SUSP-N */ - qcom,mode = <1>; /* DIG_OUT */ - qcom,output-type = <0>; /* CMOS */ - qcom,pull = <5>; /* PULL_NO */ - qcom,vin-sel = <0>; /* VPH */ - qcom,out-strength = <2>; /* STRENGTH_MED */ - qcom,src-sel = <0>; /* CONSTANT */ - qcom,master-en = <1>; - }; - - gpio@cd00 { /* GPIO 14 */ - }; - - gpio@ce00 { /* GPIO 15 */ - qcom,mode = <1>; - qcom,output-type = <0>; - qcom,pull = <5>; - qcom,vin-sel = <2>; - qcom,out-strength = <1>; - qcom,src-sel = <2>; - qcom,master-en = <1>; - }; - - gpio@cf00 { /* GPIO 16 */ - /* HSIC_HUB-INT_N */ - qcom,mode = <1>; - qcom,output-type = <0>; - qcom,pull = <5>; - qcom,vin-sel = <2>; - qcom,out-strength = <3>; - qcom,src-sel = <2>; - qcom,master-en = <1>; - }; - - gpio@d000 { /* GPIO 17 */ - }; - - gpio@d100 { /* GPIO 18 */ - }; - - gpio@d200 { /* GPIO 19 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,output-type = <0>; /* QPNP_PIN_OUT_BUF_CMOS */ - qcom,pull = <5>; /* QPNP_PIN_PULL_NO */ - qcom,vin-sel = <2>; /* QPNP_PIN_VIN2 */ - qcom,out-strength = <2>; /* QPNP_PIN_OUT_STRENGTH_MED */ - qcom,src-sel = <0>; /* QPNP_PIN_SEL_FUNC_CONSTANT */ - qcom,master-en = <1>; - }; - - gpio@d300 { /* GPIO 20 */ - }; - - gpio@d400 { /* GPIO 21 */ - }; - - gpio@d500 { /* GPIO 22 */ - }; - - gpio@d600 { /* GPIO 23 */ - }; - - gpio@d700 { /* GPIO 24 */ - }; - - gpio@d800 { /* GPIO 25 */ - }; - - gpio@d900 { /* GPIO 26 */ - }; - - gpio@da00 { /* GPIO 27 */ - }; - - gpio@db00 { /* GPIO 28 */ - }; - - gpio@dc00 { /* GPIO 29 */ - qcom,pull = <0>; /* set to default pull */ - qcom,master-en = <1>; - qcom,vin-sel = <2>; /* select 1.8 V source */ - }; - - gpio@dd00 { /* GPIO 30 */ - /* SMB350-STAT */ - qcom,mode = <0>; /* DIG_IN */ - qcom,pull = <5>; /* PULL_NO */ - qcom,vin-sel = <2>; /* S3 1.8V */ - qcom,src-sel = <0>; /* CONSTANT */ - qcom,master-en = <1>; - }; - - gpio@de00 { /* GPIO 31 */ - }; - - gpio@df00 { /* GPIO 32 */ - }; - - gpio@e000 { /* GPIO 33 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,output-type = <0>; /* QPNP_PIN_OUT_BUF_CMOS */ - qcom,pull = <5>; /* QPNP_PIN_PULL_NO */ - qcom,vin-sel = <2>; /* QPNP_PIN_VIN2 */ - qcom,out-strength = <2>; /* QPNP_PIN_OUT_STRENGTH_MED */ - qcom,src-sel = <0>; /* QPNP_PIN_SEL_FUNC_CONSTANT */ - qcom,invert = <1>; - qcom,master-en = <1>; - }; - - gpio@e100 { /* GPIO 34 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,output-type = <0>; /* QPNP_PIN_OUT_BUF_CMOS */ - qcom,pull = <5>; /* QPNP_PIN_PULL_NO */ - qcom,vin-sel = <2>; /* QPNP_PIN_VIN2 */ - qcom,out-strength = <2>; /* QPNP_PIN_OUT_STRENGTH_MED */ - qcom,src-sel = <0>; /* QPNP_PIN_SEL_FUNC_CONSTANT */ - qcom,invert = <0>; - qcom,master-en = <1>; - }; - - gpio@e200 { /* GPIO 35 */ - }; - - gpio@e300 { /* GPIO 36 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,output-type = <0>; /* QPNP_PIN_OUT_BUF_CMOS */ - qcom,pull = <5>; /* QPNP_PIN_PULL_NO */ - qcom,vin-sel = <2>; /* QPNP_PIN_VIN2 */ - qcom,out-strength = <3>; /* QPNP_PIN_OUT_STRENGTH_HIGH */ - qcom,src-sel = <3>; /* QPNP_PIN_SEL_FUNC_2 */ - qcom,master-en = <1>; - }; -}; - -&pm8941_mpps { - - mpp@a000 { /* MPP 1 */ - status = "disabled"; - }; - - mpp@a100 { /* MPP 2 */ - /* ext_5v regulator enable */ - qcom,mode = <1>; /* Digital output */ - qcom,invert = <0>; /* Output low initially */ - qcom,vin-sel = <2>; /* PM8941 S3 = 1.8 V */ - qcom,src-sel = <0>; /* Constant */ - qcom,master-en = <1>; /* Enable MPP */ - }; - - mpp@a200 { /* MPP 3 */ - }; - - mpp@a300 { /* MPP 4 */ - }; - - mpp@a400 { /* MPP 5 */ - /* SPI_ETH config */ - qcom,mode = <1>; /* DIG_OUT */ - qcom,output-type = <0>; /* CMOS */ - qcom,vin-sel = <2>; /* PM8941_S3 1.8V > 1.6V */ - qcom,src-sel = <0>; /* CONSTANT */ - qcom,master-en = <1>; /* ENABLE MPP */ - }; - - mpp@a500 { /* MPP 6 */ - /* SPI_ETH_RST config */ - qcom,mode = <1>; /* DIG_OUT */ - qcom,output-type = <0>; /* CMOS */ - qcom,vin-sel = <2>; /* PM8941_S3 1.8V > 1.6V */ - qcom,src-sel = <0>; /* CONSTANT */ - qcom,master-en = <1>; /* ENABLE MPP */ - }; - - mpp@a600 { /* MPP 7 */ - }; - - mpp@a700 { /* MPP 8 */ - }; -}; - -&pm8841_mpps { - - mpp@a000 { /* MPP 1 */ - /* CLASS_D_EN speakers PA */ - qcom,mode = <1>; /* DIG_OUT */ - qcom,output-type = <0>; /* PNP_PIN_OUT_BUF_CMOS */ - qcom,vin-sel = <2>; /* S3A 1.8v */ - qcom,src-select = <0>; /* CONSTANT */ - qcom,master-en = <1>; /* ENABLE MPP */ - }; - - mpp@a100 { /* MPP 2 */ - /* DOCK_PLUG_DET speakers+docking detect irq*/ - qcom,mode = <0>; /* DIG_IN */ - qcom,vin-sel = <2>; /* S3A 1.8v */ - qcom,src-sel = <0>; /* CONSTANT */ - qcom,master-en = <1>; /* ENABLE MPP */ - }; - - mpp@a200 { /* HDMI_MUX_SEL MPP 3*/ - status = "ok"; - qcom,mode = <1>; /* DIG_OUT */ - qcom,output-type = <0>; /* CMOS */ - qcom,vin-sel = <2>; /* PM8841_S3A 1.8V */ - qcom,src-sel = <0>; /* CONSTANT */ - qcom,master-en = <1>; /* ENABLE MPP */ - }; - - mpp@a300 { /* HDMI_MUX_EN MPP 4*/ - status = "ok"; - qcom,mode = <1>; /* DIG_OUT */ - qcom,output-type = <0>; /* CMOS */ - qcom,vin-sel = <0>; /* PM8841_VPH 3.4V */ - qcom,src-sel = <0>; /* CONSTANT */ - qcom,master-en = <1>; /* ENABLE MPP */ - }; -}; - -&vph_pwr_vreg { - status = "ok"; -}; - -&slim_msm { - taiko_codec { - qcom,cdc-micbias1-ext-cap; - qcom,cdc-micbias2-ext-cap; - qcom,cdc-micbias3-ext-cap; - qcom,cdc-micbias4-ext-cap; - - /* - * Liquid has external spkrdrv supply. Give a dummy supply to - * make codec driver's happy. - */ - cdc-vdd-spkdrv-supply = <&vph_pwr_vreg>; - qcom,cdc-vdd-spkdrv-voltage = <0 0>; - qcom,cdc-vdd-spkdrv-current = <0>; - - qcom,cdc-on-demand-supplies = "cdc-vdd-spkdrv"; - }; -}; - -&spi_epm { - epm-adc@0 { - compatible = "cy,epm-adc-cy8c5568lti-114"; - reg = <0>; - interrupt-parent = <&msmgpio>; - spi-max-frequency = <960000>; - qcom,channels = <31>; - qcom,gain = <50 50 50 50 50 100 50 50 50 50 - 50 50 50 50 100 50 50 50 50 100 - 50 50 50 100 50 50 50 1 1 1 - 1>; - qcom,rsense = <40 10 10 25 10 1000 75 25 10 25 - 33 500 200 10 500 100 33 200 25 100 - 75 500 50 200 5 5 3 1 1 1 - 1>; - qcom,channel-type = <0xf0000000>; - }; -}; - -&spmi_bus { - qcom,pm8941@1 { - qcom,leds@d000 { - qcom,rgb_2 { - status = "ok"; - qcom,default-state = "on"; - qcom,turn-off-delay-ms = <1000>; - }; - }; - }; -}; - -&pm8941_chg { - status = "ok"; - otg-parent-supply = <&ext_5v>; - - qcom,charging-disabled; - - qcom,chgr@1000 { - status = "ok"; - }; - - qcom,buck@1100 { - status = "ok"; - }; - - qcom,usb-chgpth@1300 { - status = "ok"; - }; - - qcom,dc-chgpth@1400 { - status = "ok"; - }; - - qcom,boost@1500 { - status = "ok"; - }; - - qcom,chg-misc@1600 { - status = "ok"; - }; -}; - -&sdcc1 { - status = "disabled"; -}; - -&sdcc2 { - status = "disabled"; -}; - -&sdhc_1 { - vdd-supply = <&pm8941_l20>; - vdd-io-supply = <&pm8941_s3>; - - qcom,vdd-always-on; - qcom,vdd-lpm-sup; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <800 500000>; - - qcom,vdd-io-always-on; - qcom,vdd-io-voltage-level = <1800000 1800000>; - qcom,vdd-io-current-level = <250 154000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,nonremovable; - status = "ok"; -}; - -&sdhc_2 { - vdd-supply = <&pm8941_l21>; - vdd-io-supply = <&pm8941_l13>; - - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <9000 800000>; - - qcom,vdd-io-voltage-level = <1800000 2950000>; - qcom,vdd-io-current-level = <6 22000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - status = "ok"; -}; - -/* Drive strength recommendations for clock line from hardware team is 10 mA. - * But since the driver has been been using the below values from the start - * without any problems, continue to use those. - */ -&sdcc1 { - qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */ -}; - -&sdcc2 { - qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */ -}; - -&sdhc_1 { - qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */ -}; - -&sdhc_2 { - qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */ -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8974-mdss.dtsi b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8974-mdss.dtsi deleted file mode 100644 index 6b8d600ed..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8974-mdss.dtsi +++ /dev/null @@ -1,148 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&soc { - mdss_mdp: qcom,mdss_mdp@fd900000 { - compatible = "qcom,mdss_mdp"; - reg = <0xfd900000 0x22100>, - <0xfd924000 0x1000>; - reg-names = "mdp_phys", "vbif_phys"; - interrupts = <0 72 0>; - vdd-supply = <&gdsc_mdss>; - - qcom,max-clk-rate = <320000000>; - qcom,mdss-pipe-vig-off = <0x00001200 0x00001600 - 0x00001A00>; - qcom,mdss-pipe-rgb-off = <0x00001E00 0x00002200 - 0x00002600>; - qcom,mdss-pipe-dma-off = <0x00002A00 0x00002E00>; - qcom,mdss-pipe-vig-fetch-id = <1 4 7>; - qcom,mdss-pipe-rgb-fetch-id = <16 17 18>; - qcom,mdss-pipe-dma-fetch-id = <10 13>; - qcom,mdss-smp-data = <22 4096>; - - qcom,mdss-ctl-off = <0x00000600 0x00000700 0x00000800 - 0x00000900 0x0000A00>; - qcom,mdss-mixer-intf-off = <0x00003200 0x00003600 - 0x00003A00>; - qcom,mdss-mixer-wb-off = <0x00003E00 0x00004200>; - qcom,mdss-dspp-off = <0x00004600 0x00004A00 0x00004E00>; - qcom,mdss-wb-off = <0x00011100 0x00013100 0x00015100 - 0x00017100 0x00019100>; - qcom,mdss-intf-off = <0x00021100 0x00021300 - 0x00021500 0x00021700>; - - qcom,vbif-settings = <0x0004 0x00000001>, - <0x00D8 0x00000707>, - <0x00F0 0x00000030>, - <0x0124 0x00000001>, - <0x0178 0x00000FFF>, - <0x017C 0x0FFF0FFF>, - <0x0160 0x22222222>, - <0x0164 0x00002222>; - qcom,mdp-settings = <0x02E0 0x000000E9>, - <0x02E4 0x00000055>, - <0x03AC 0xC0000CCC>, - <0x03B4 0xC0000CCC>, - <0x03BC 0x00CCCCCC>, - <0x04A8 0x0CCCC0C0>, - <0x04B0 0xCCCCC0C0>, - <0x04B8 0xCCCCC000>; - - mdss_fb0: qcom,mdss_fb_primary { - cell-index = <0>; - compatible = "qcom,mdss-fb"; - qcom,memory-reservation-type = "EBI1"; - qcom,memory-reservation-size = <0x800000>; - }; - - mdss_fb1: qcom,mdss_fb_external { - cell-index = <1>; - compatible = "qcom,mdss-fb"; - }; - - mdss_fb2: qcom,mdss_fb_wfd { - cell-index = <2>; - compatible = "qcom,mdss-fb"; - }; - }; - - mdss_dsi0: qcom,mdss_dsi@fd922800 { - compatible = "qcom,mdss-dsi-ctrl"; - label = "MDSS DSI CTRL->0"; - cell-index = <0>; - reg = <0xfd922800 0x600>; - vdd-supply = <&pm8941_l22>; - vddio-supply = <&pm8941_l12>; - vdda-supply = <&pm8941_l2>; - qcom,mdss-fb-map = <&mdss_fb0>; - }; - - mdss_dsi1: qcom,mdss_dsi@fd922e00 { - compatible = "qcom,mdss-dsi-ctrl"; - label = "MDSS DSI CTRL->1"; - cell-index = <1>; - reg = <0xfd922e00 0x600>; - vdd-supply = <&pm8941_l22>; - vddio-supply = <&pm8941_l12>; - vdda-supply = <&pm8941_l2>; - qcom,mdss-fb-map = <&mdss_fb0>; - }; - - mdss_hdmi_tx: qcom,hdmi_tx@fd922100 { - cell-index = <0>; - compatible = "qcom,hdmi-tx"; - reg = <0xfd922100 0x35C>, - <0xfd922500 0x7C>, - <0xfc4b8000 0x60F0>; - reg-names = "core_physical", "phy_physical", "qfprom_physical"; - - hpd-gdsc-supply = <&gdsc_mdss>; - hpd-5v-supply = <&pm8941_mvs2>; - core-vdda-supply = <&pm8941_l12>; - core-vcc-supply = <&pm8941_s3>; - qcom,hdmi-tx-supply-names = "hpd-gdsc", "hpd-5v", "core-vdda", "core-vcc"; - qcom,hdmi-tx-min-voltage-level = <0 0 1800000 1800000>; - qcom,hdmi-tx-max-voltage-level = <0 0 1800000 1800000>; - qcom,hdmi-tx-peak-current = <0 0 1800000 0>; - - qcom,hdmi-tx-cec = <&msmgpio 31 0>; - qcom,hdmi-tx-ddc-clk = <&msmgpio 32 0>; - qcom,hdmi-tx-ddc-data = <&msmgpio 33 0>; - qcom,hdmi-tx-hpd = <&msmgpio 34 0>; - qcom,mdss-fb-map = <&mdss_fb1>; - qcom,msm-hdmi-audio-rx { - compatible = "qcom,msm-hdmi-audio-codec-rx"; - }; - }; - - qcom,mdss_wb_panel { - compatible = "qcom,mdss_wb"; - qcom,mdss_pan_res = <1920 1080>; - qcom,mdss_pan_bpp = <24>; - qcom,mdss-fb-map = <&mdss_fb2>; - }; - - mdss_edp: qcom,mdss_edp@fd923400 { - compatible = "qcom,mdss-edp"; - reg = <0xfd923400 0x700>, - <0xfd8c2000 0x1000>; - reg-names = "edp_base", "mmss_cc_base"; - vdda-supply = <&pm8941_l12>; - gpio-panel-en = <&msmgpio 58 0>; - gpio-panel-pwm = <&pm8941_gpios 36 0>; - qcom,panel-lpg-channel = <7>; /* LPG Channel 8 */ - qcom,panel-pwm-period = <53>; - status = "disable"; - qcom,mdss-fb-map = <&mdss_fb0>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8974-mtp.dtsi b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8974-mtp.dtsi deleted file mode 100644 index e798fc0f9..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8974-mtp.dtsi +++ /dev/null @@ -1,705 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/include/ "dsi-panel-toshiba-720p-video.dtsi" -/include/ "msm8974-camera-sensor-mtp.dtsi" -/include/ "msm8974-leds.dtsi" - -&soc { - serial@f991e000 { - status = "ok"; - }; - - qcom,mdss_dsi_toshiba_720p_video { - status = "ok"; - qcom,cont-splash-enabled; - }; - - qcom,hdmi_tx@fd922100 { - status = "disabled"; - }; - - i2c@f9924000 { - atmel_mxt_ts@4a { - compatible = "atmel,mxt-ts"; - reg = <0x4a>; - interrupt-parent = <&msmgpio>; - interrupts = <61 0x2>; - vdd_ana-supply = <&pm8941_l18>; - vcc_i2c-supply = <&pm8941_lvs1>; - atmel,reset-gpio = <&msmgpio 60 0x00>; - atmel,irq-gpio = <&msmgpio 61 0x00>; - atmel,panel-coords = <0 0 760 1424>; - atmel,display-coords = <0 0 720 1280>; - atmel,i2c-pull-up; - atmel,no-force-update; - atmel,cfg_1 { - atmel,family-id = <0x82>; - atmel,variant-id = <0x19>; - atmel,version = <0x10>; - atmel,build = <0xaa>; - atmel,config = [ - /* Object 6, Instance = 0 */ - 00 00 00 00 00 00 - /* Object 38, Instance = 0 */ - 15 01 00 03 0A 0C 00 00 - /* Object 7, Instance = 0 */ - 20 08 32 03 - /* Object 8, Instance = 0 */ - 0F 00 0A 0A 00 00 0A 0A 00 00 - /* Object 9, Instance = 0 */ - 83 00 00 18 0E 00 70 46 02 01 - 00 0A 03 31 04 05 0A 0A 90 05 - F8 02 05 F1 F1 0F 00 00 08 2D - 12 06 00 00 00 01 - /* Object 15, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 - /* Object 18, Instance = 0 */ - 00 00 - /* Object 19, Instance = 0 */ - 00 00 00 00 00 00 - /* Object 23, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 - /* Object 25, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 - /* Object 40, Instance = 0 */ - 00 00 00 00 00 - /* Object 42, Instance = 0 */ - 33 1E 19 10 80 00 00 00 FF 00 - /* Object 46, Instance = 0 */ - 00 00 10 10 00 00 03 00 00 01 - /* Object 47, Instance = 0 */ - 08 0A 28 0A 02 0A 00 8C 00 20 - 00 00 00 - /* Object 55, Instance = 0 */ - 00 00 00 00 00 00 - /* Object 56, Instance = 0 */ - 00 00 00 18 05 05 05 05 05 05 - 05 05 05 05 05 05 05 05 05 05 - 05 05 05 05 05 05 05 05 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 - /* Object 57, Instance = 0 */ - 00 00 00 - /* Object 61, Instance = 0 */ - 00 00 00 00 00 - /* Object 62, Instance = 0 */ - 01 2A 00 16 00 00 00 00 0B 01 - 02 03 04 08 00 00 08 10 18 05 - 00 0A 05 05 50 14 19 34 1A 7F - 00 00 00 00 00 00 00 00 00 30 - 05 02 00 01 00 05 00 00 00 00 - 00 00 00 00 - ]; - }; - }; - }; - - gen-vkeys { - compatible = "qcom,gen-vkeys"; - label = "atmel_mxt_ts"; - qcom,disp-maxx = <720>; - qcom,disp-maxy = <1280>; - qcom,panel-maxx = <760>; - qcom,panel-maxy = <1424>; - qcom,key-codes = <158 139 102 217>; - }; - - i2c@f9967000 { - isa1200@48 { - status = "okay"; - reg = <0x48>; - vcc_i2c-supply = <&pm8941_s3>; - compatible = "imagis,isa1200"; - label = "vibrator"; - imagis,chip-en; - imagis,need-pwm-clk; - imagis,ext-clk-en; - imagis,hap-en-gpio = <&msmgpio 86 0x00>; - imagis,max-timeout = <15000>; - imagis,pwm-div = <256>; - imagis,mode-ctrl = <2>; - imagis,regulator { - regulator-name = "vcc_i2c"; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - regulator-max-microamp = <9360>; - }; - }; - }; - - gpio_keys { - compatible = "gpio-keys"; - input-name = "gpio-keys"; - - camera_snapshot { - label = "camera_snapshot"; - gpios = <&pm8941_gpios 3 0x1>; - linux,input-type = <1>; - linux,code = <0x2fe>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - - camera_focus { - label = "camera_focus"; - gpios = <&pm8941_gpios 4 0x1>; - linux,input-type = <1>; - linux,code = <0x210>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - - vol_up { - label = "volume_up"; - gpios = <&pm8941_gpios 5 0x1>; - linux,input-type = <1>; - linux,code = <115>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - }; - - spi@f9923000 { - ethernet-switch@2 { - compatible = "micrel,ks8851"; - reg = <2>; - interrupt-parent = <&msmgpio>; - interrupts = <94 0>; - spi-max-frequency = <4800000>; - rst-gpio = <&pm8941_mpps 6 0>; - vdd-io-supply = <&spi_eth_vreg>; - vdd-phy-supply = <&spi_eth_vreg>; - }; - }; - - sound { - qcom,model = "msm8974-taiko-mtp-snd-card"; - qcom,cdc-micbias2-headset-only; - }; -}; - -&spmi_bus { - qcom,pm8941@1 { - qcom,leds@d800 { - status = "okay"; - qcom,wled_0 { - label = "wled"; - linux,name = "wled:backlight"; - linux,default-trigger = "bkl-trigger"; - qcom,cs-out-en; - qcom,op-fdbck = <1>; - qcom,default-state = "on"; - qcom,max-current = <25>; - qcom,ctrl-delay-us = <0>; - qcom,boost-curr-lim = <3>; - qcom,cp-sel = <0>; - qcom,switch-freq = <2>; - qcom,ovp-val = <2>; - qcom,num-strings = <1>; - qcom,id = <0>; - }; - }; - - qcom,leds@d900 { - status = "disabled"; - }; - - qcom,leds@da00 { - status = "disabled"; - }; - - qcom,leds@db00 { - status = "disabled"; - }; - - qcom,leds@dc00 { - status = "disabled"; - }; - - qcom,leds@dd00 { - status = "disabled"; - }; - - qcom,leds@de00 { - status = "disabled"; - }; - - qcom,leds@df00 { - status = "disabled"; - }; - - qcom,leds@e000 { - status = "disabled"; - }; - - qcom,leds@e100 { - status = "disabled"; - }; - }; -}; - -&sdcc1 { - status = "disabled"; -}; - -&sdcc2 { - #address-cells = <0>; - interrupt-parent = <&sdcc2>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 125 0 - 1 &intc 0 220 0 - 2 &msmgpio 62 0x3>; - interrupt-names = "core_irq", "bam_irq", "status_irq"; - cd-gpios = <&msmgpio 62 0x1>; - status = "disabled"; -}; - -&sdhc_1 { - vdd-supply = <&pm8941_l20>; - vdd-io-supply = <&pm8941_s3>; - - qcom,vdd-always-on; - qcom,vdd-lpm-sup; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <800 500000>; - - qcom,vdd-io-always-on; - qcom,vdd-io-voltage-level = <1800000 1800000>; - qcom,vdd-io-current-level = <250 154000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,nonremovable; - status = "ok"; -}; - -&sdhc_2 { - #address-cells = <0>; - interrupt-parent = <&sdhc_2>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 125 0 - 1 &intc 0 221 0 - 2 &msmgpio 62 0x3>; - interrupt-names = "hc_irq", "pwr_irq", "status_irq"; - cd-gpios = <&msmgpio 62 0x1>; - - vdd-supply = <&pm8941_l21>; - vdd-io-supply = <&pm8941_l13>; - - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <9000 800000>; - - qcom,vdd-io-voltage-level = <1800000 2950000>; - qcom,vdd-io-current-level = <6 22000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - status = "ok"; -}; - -/* Drive strength recommendations for clock line from hardware team is 10 mA. - * But since the driver has been been using the below values from the start - * without any problems, continue to use those. - */ -&sdcc1 { - qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */ -}; - -&sdcc2 { - qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */ -}; - -&sdhc_1 { - qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */ -}; - -&sdhc_2 { - qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */ -}; - -&usb_otg { - qcom,hsusb-otg-otg-control = <2>; -}; - -&uart7 { - status = "ok"; -}; - -&usb3 { - qcom,otg-capability; -}; - -&pm8941_bms { - status = "ok"; -}; - -&pm8941_chg { - status = "ok"; - qcom,charging-disabled; - - qcom,chgr@1000 { - status = "ok"; - }; - - qcom,buck@1100 { - status = "ok"; - }; - - qcom,bat-if@1200 { - status = "ok"; - }; - - qcom,usb-chgpth@1300 { - status = "ok"; - }; - - qcom,dc-chgpth@1400 { - status = "ok"; - }; - - qcom,boost@1500 { - status = "ok"; - }; - - qcom,chg-misc@1600 { - status = "ok"; - }; -}; - -&pm8941_gpios { - gpio@c000 { /* GPIO 1 */ - qcom,mode = <0>; /* QPNP_PIN_MODE_DIG_IN */ - qcom,pull = <0>; /* QPNP_PIN_PULL_UP_30 */ - qcom,master-en = <1>; - }; - - gpio@c100 { /* GPIO 2 */ - qcom,mode = <0>; /* QPNP_PIN_MODE_DIG_IN */ - qcom,pull = <0>; /* QPNP_PIN_PULL_UP_30 */ - qcom,master-en = <1>; - }; - - gpio@c200 { /* GPIO 3 */ - qcom,mode = <0>; /* QPNP_PIN_MODE_DIG_IN */ - qcom,pull = <0>; /* QPNP_PIN_PULL_UP_30 */ - qcom,vin-sel = <2>; - qcom,src-sel = <0>; /* QPNP_PIN_SEL_FUNC_CONSTANT */ - qcom,master-en = <1>; - }; - - gpio@c300 { /* GPIO 4 */ - qcom,mode = <0>; /* QPNP_PIN_MODE_DIG_IN */ - qcom,pull = <0>; /* QPNP_PIN_PULL_UP_30 */ - qcom,vin-sel = <2>; /* QPNP_PIN_VIN2 */ - qcom,src-sel = <0>; /* QPNP_PIN_SEL_FUNC_CONSTANT */ - qcom,master-en = <1>; - }; - - gpio@c400 { /* GPIO 5 */ - qcom,mode = <0>; /* QPNP_PIN_MODE_DIG_IN */ - qcom,pull = <0>; /* QPNP_PIN_PULL_UP_30 */ - qcom,vin-sel = <2>; /* QPNP_PIN_VIN2 */ - qcom,src-sel = <0>; /* QPNP_PIN_SEL_FUNC_CONSTANT */ - qcom,master-en = <1>; - }; - - gpio@c500 { /* GPIO 6 */ - qcom,mode = <0>; /* QPNP_PIN_MODE_DIG_IN */ - qcom,pull = <0>; /* QPNP_PIN_PULL_UP_30 */ - qcom,master-en = <1>; - }; - - gpio@c600 { /* GPIO 7 */ - qcom,mode = <0>; /* QPNP_PIN_MODE_DIG_IN */ - qcom,pull = <0>; /* QPNP_PIN_PULL_UP_30 */ - qcom,master-en = <1>; - }; - - gpio@c700 { /* GPIO 8 */ - qcom,mode = <0>; /* QPNP_PIN_MODE_DIG_IN */ - qcom,pull = <0>; /* QPNP_PIN_PULL_UP_30 */ - qcom,master-en = <1>; - }; - - gpio@c800 { /* GPIO 9 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */ - qcom,src-sel = <2>; /* QPNP_PIN_SEL_FUNC_1 */ - qcom,master-en = <1>; - }; - - gpio@c900 { /* GPIO 10 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */ - qcom,src-sel = <2>; /* QPNP_PIN_SEL_FUNC_1 */ - qcom,master-en = <1>; - }; - - gpio@ca00 { /* GPIO 11 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */ - qcom,src-sel = <2>; /* QPNP_PIN_SEL_FUNC_1 */ - qcom,master-en = <1>; - }; - - gpio@cb00 { /* GPIO 12 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */ - qcom,src-sel = <2>; /* QPNP_PIN_SEL_FUNC_1 */ - qcom,master-en = <1>; - }; - - gpio@cc00 { /* GPIO 13 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */ - qcom,src-sel = <2>; /* QPNP_PIN_SEL_FUNC_1 */ - qcom,master-en = <1>; - }; - - gpio@cd00 { /* GPIO 14 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */ - qcom,src-sel = <2>; /* QPNP_PIN_SEL_FUNC_1 */ - qcom,master-en = <1>; - }; - - gpio@ce00 { /* GPIO 15 */ - qcom,mode = <1>; - qcom,output-type = <0>; - qcom,pull = <5>; - qcom,vin-sel = <2>; - qcom,out-strength = <1>; - qcom,src-sel = <2>; - qcom,master-en = <1>; - }; - - gpio@cf00 { /* GPIO 16 */ - qcom,mode = <1>; - qcom,output-type = <0>; - qcom,pull = <5>; - qcom,vin-sel = <2>; - qcom,out-strength = <3>; - qcom,src-sel = <3>; /* QPNP_PIN_SEL_FUNC_2 */ - qcom,master-en = <1>; - }; - - gpio@d000 { /* GPIO 17 */ - }; - - gpio@d100 { /* GPIO 18 */ - }; - - gpio@d200 { /* GPIO 19 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,output-type = <0>; /* QPNP_PIN_OUT_BUF_CMOS */ - qcom,pull = <5>; /* QPNP_PIN_PULL_NO */ - qcom,vin-sel = <2>; /* QPNP_PIN_VIN2 */ - qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */ - qcom,src-sel = <0>; /* QPNP_PIN_SEL_FUNC_CONSTANT */ - qcom,master-en = <1>; - }; - - gpio@d300 { /* GPIO 20 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */ - qcom,src-sel = <2>; /* QPNP_PIN_SEL_FUNC_1 */ - qcom,master-en = <1>; - }; - - gpio@d400 { /* GPIO 21 */ - }; - - gpio@d500 { /* GPIO 22 */ - qcom,mode = <0>; /* QPNP_PIN_MODE_DIG_IN */ - qcom,pull = <4>; /* QPNP_PIN_PULL_DN */ - qcom,master-en = <1>; - }; - - gpio@d600 { /* GPIO 23 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */ - qcom,src-sel = <2>; /* QPNP_PIN_SEL_FUNC_1 */ - qcom,master-en = <1>; - }; - - gpio@d700 { /* GPIO 24 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */ - qcom,src-sel = <2>; /* QPNP_PIN_SEL_FUNC_1 */ - qcom,master-en = <1>; - }; - - gpio@d800 { /* GPIO 25 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */ - qcom,src-sel = <2>; /* QPNP_PIN_SEL_FUNC_1 */ - qcom,master-en = <1>; - }; - - gpio@d900 { /* GPIO 26 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */ - qcom,src-sel = <2>; /* QPNP_PIN_SEL_FUNC_1 */ - qcom,master-en = <1>; - }; - - gpio@da00 { /* GPIO 27 */ - qcom,mode = <0>; /* QPNP_PIN_MODE_DIG_IN */ - qcom,pull = <4>; /* QPNP_PIN_PULL_DN */ - qcom,master-en = <1>; - }; - - gpio@db00 { /* GPIO 28 */ - }; - - gpio@dc00 { /* GPIO 29 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */ - qcom,src-sel = <2>; /* QPNP_PIN_SEL_FUNC_1 */ - qcom,master-en = <1>; - }; - - gpio@dd00 { /* GPIO 30 */ - qcom,mode = <0>; /* QPNP_PIN_MODE_DIG_IN */ - qcom,pull = <4>; /* QPNP_PIN_PULL_DN */ - qcom,master-en = <1>; - }; - - gpio@de00 { /* GPIO 31 */ - }; - - gpio@df00 { /* GPIO 32 */ - qcom,mode = <0>; /* QPNP_PIN_MODE_DIG_IN */ - qcom,pull = <4>; /* QPNP_PIN_PULL_DN */ - qcom,master-en = <1>; - }; - - gpio@e000 { /* GPIO 33 */ - qcom,mode = <0>; /* QPNP_PIN_MODE_DIG_IN */ - qcom,pull = <4>; /* QPNP_PIN_PULL_DN */ - qcom,master-en = <1>; - }; - - gpio@e100 { /* GPIO 34 */ - qcom,mode = <0>; /* QPNP_PIN_MODE_DIG_IN */ - qcom,pull = <4>; /* QPNP_PIN_PULL_DN */ - qcom,master-en = <1>; - }; - - gpio@e200 { /* GPIO 35 */ - qcom,mode = <0>; /* QPNP_PIN_MODE_DIG_IN */ - qcom,pull = <4>; /* QPNP_PIN_PULL_DN */ - qcom,master-en = <1>; - }; - - gpio@e300 { /* GPIO 36 */ - }; -}; - -&pm8941_mpps { - - mpp@a000 { /* MPP 1 */ - status = "disabled"; - }; - - mpp@a100 { /* MPP 2 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */ - qcom,master-en = <1>; - }; - - mpp@a200 { /* MPP 3 */ - }; - - mpp@a300 { /* MPP 4 */ - }; - - mpp@a400 { /* MPP 5 */ - }; - - mpp@a500 { /* MPP 6 */ - /* SPI_ETH_RST config */ - qcom,mode = <1>; /* DIG_OUT */ - qcom,output-type = <0>; /* CMOS */ - qcom,vin-sel = <2>; /* PM8941_S3 1.8V > 1.6V */ - qcom,src-sel = <0>; /* CONSTANT */ - qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */ - qcom,master-en = <1>; /* ENABLE MPP */ - }; - - mpp@a600 { /* MPP 7 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */ - qcom,master-en = <1>; - }; - - mpp@a700 { /* MPP 8 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */ - qcom,master-en = <1>; - }; -}; - -&pm8841_mpps { - - mpp@a000 { /* MPP 1 */ - }; - - mpp@a100 { /* MPP 2 */ - }; - - mpp@a200 { /* MPP 3 */ - }; - - mpp@a300 { /* MPP 4 */ - }; -}; - -&slim_msm { - taiko_codec { - qcom,cdc-micbias1-ext-cap; - qcom,cdc-micbias2-ext-cap; - qcom,cdc-micbias4-ext-cap; - }; -}; - -&spi_epm { - epm-adc@0 { - compatible = "cy,epm-adc-cy8c5568lti-114"; - reg = <0>; - interrupt-parent = <&msmgpio>; - spi-max-frequency = <960000>; - qcom,channels = <31>; - qcom,gain = <100 100 100 50 100 100 1 100 1 50 - 1 100 1 100 50 50 50 50 50 50 - 100 50 100 50 50 50 50 50 50 50 - 50>; - qcom,rsense = <2 2 2 200 20 2 1 2 1 30 - 1 10 1 30 50 30 500 30 100 30 - 100 500 20 200 1000 20 1000 1000 70 200 - 50>; - qcom,channel-type = <0x1540>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8974-regulator.dtsi b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8974-regulator.dtsi deleted file mode 100644 index 2114686eb..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8974-regulator.dtsi +++ /dev/null @@ -1,568 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - - -/* QPNP controlled regulators: */ - -&spmi_bus { - - qcom,pm8941@1 { - - pm8941_boost: regulator@a000 { - regulator-min-microvolt = <5000000>; - regulator-max-microvolt = <5000000>; - qcom,enable-time = <500>; - status = "okay"; - }; - - pm8941_mvs1: regulator@8300 { - parent-supply = <&pm8941_chg_otg>; - qcom,enable-time = <1000>; - qcom,pull-down-enable = <1>; - interrupts = <0x1 0x83 0x2>; - interrupt-names = "ocp"; - qcom,ocp-enable = <1>; - qcom,ocp-max-retries = <10>; - qcom,ocp-retry-delay = <30>; - qcom,soft-start-enable = <1>; - qcom,vs-soft-start-strength = <0>; - qcom,hpm-enable = <1>; - qcom,auto-mode-enable = <0>; - status = "okay"; - }; - - pm8941_mvs2: regulator@8400 { - parent-supply = <&pm8941_boost>; - qcom,enable-time = <1000>; - qcom,pull-down-enable = <1>; - interrupts = <0x1 0x84 0x2>; - interrupt-names = "ocp"; - qcom,ocp-enable = <1>; - qcom,ocp-max-retries = <10>; - qcom,ocp-retry-delay = <30>; - qcom,soft-start-enable = <1>; - qcom,vs-soft-start-strength = <0>; - qcom,hpm-enable = <1>; - qcom,auto-mode-enable = <0>; - status = "okay"; - }; - }; -}; - -/* RPM controlled regulators: */ - -&rpm_bus { - rpm-regulator-smpb1 { - status = "okay"; - pm8841_s1: regulator-s1 { - regulator-min-microvolt = <675000>; - regulator-max-microvolt = <1050000>; - status = "okay"; - }; - pm8841_s1_ao: regulator-s1-ao { - regulator-name = "8841_s1_ao"; - qcom,set = <1>; - regulator-min-microvolt = <675000>; - regulator-max-microvolt = <1050000>; - status = "okay"; - compatible = "qcom,rpm-regulator-smd"; - }; - pm8841_s1_so: regulator-s1-so { - regulator-name = "8841_s1_so"; - qcom,set = <2>; - regulator-min-microvolt = <675000>; - regulator-max-microvolt = <1050000>; - qcom,init-voltage = <675000>; - status = "okay"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-smpb2 { - status = "okay"; - pm8841_s2: regulator-s2 { - regulator-min-microvolt = <500000>; - regulator-max-microvolt = <1050000>; - status = "okay"; - }; - pm8841_s2_corner: regulator-s2-corner { - regulator-name = "8841_s2_corner"; - qcom,set = <3>; - regulator-min-microvolt = <1>; - regulator-max-microvolt = <7>; - qcom,use-voltage-corner; - compatible = "qcom,rpm-regulator-smd"; - qcom,consumer-supplies = "vdd_dig", ""; - }; - pm8841_s2_corner_ao: regulator-s2-corner-ao { - regulator-name = "8841_s2_corner_ao"; - qcom,set = <1>; - regulator-min-microvolt = <1>; - regulator-max-microvolt = <7>; - qcom,use-voltage-corner; - compatible = "qcom,rpm-regulator-smd"; - }; - pm8841_s2_floor_corner: regulator-s2-floor-corner { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8841_s2_floor_corner"; - qcom,set = <3>; - regulator-min-microvolt = <1>; - regulator-max-microvolt = <7>; - qcom,use-voltage-floor-corner; - qcom,always-send-voltage; - }; - }; - - rpm-regulator-smpb3 { - status = "okay"; - pm8841_s3: regulator-s3 { - regulator-min-microvolt = <1050000>; - regulator-max-microvolt = <1050000>; - qcom,init-voltage = <1050000>; - status = "okay"; - }; - }; - - rpm-regulator-smpb4 { - status = "okay"; - pm8841_s4: regulator-s4 { - regulator-min-microvolt = <815000>; - regulator-max-microvolt = <900000>; - status = "okay"; - }; - pm8841_s4_corner: regulator-s4-corner { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8841_s4_corner"; - qcom,set = <3>; - qcom,use-voltage-corner; - regulator-min-microvolt = <1>; - regulator-max-microvolt = <7>; - qcom,init-voltage-corner = <3>; /* SVS SOC */ - }; - pm8841_s4_floor_corner: regulator-s4-floor-corner { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8841_s4_floor_corner"; - qcom,set = <3>; - regulator-min-microvolt = <1>; - regulator-max-microvolt = <7>; - qcom,use-voltage-floor-corner; - qcom,always-send-voltage; - }; - }; - - rpm-regulator-smpa1 { - status = "okay"; - pm8941_s1: regulator-s1 { - regulator-min-microvolt = <1300000>; - regulator-max-microvolt = <1300000>; - qcom,init-voltage = <1300000>; - status = "okay"; - }; - }; - - rpm-regulator-smpa2 { - status = "okay"; - pm8941_s2: regulator-s2 { - regulator-min-microvolt = <2150000>; - regulator-max-microvolt = <2150000>; - qcom,init-voltage = <2150000>; - status = "okay"; - }; - }; - - rpm-regulator-smpa3 { - status = "okay"; - pm8941_s3: regulator-s3 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa1 { - status = "okay"; - pm8941_l1: regulator-l1 { - regulator-min-microvolt = <1225000>; - regulator-max-microvolt = <1225000>; - qcom,init-voltage = <1225000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa2 { - status = "okay"; - pm8941_l2: regulator-l2 { - regulator-min-microvolt = <1200000>; - regulator-max-microvolt = <1200000>; - qcom,init-voltage = <1200000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa3 { - status = "okay"; - pm8941_l3: regulator-l3 { - regulator-min-microvolt = <1225000>; - regulator-max-microvolt = <1225000>; - qcom,init-voltage = <1225000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa4 { - status = "okay"; - pm8941_l4: regulator-l4 { - regulator-min-microvolt = <1225000>; - regulator-max-microvolt = <1225000>; - qcom,init-voltage = <1225000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa5 { - status = "okay"; - pm8941_l5: regulator-l5 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa6 { - status = "okay"; - pm8941_l6: regulator-l6 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa7 { - status = "okay"; - pm8941_l7: regulator-l7 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa8 { - status = "okay"; - pm8941_l8: regulator-l8 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa9 { - status = "okay"; - pm8941_l9: regulator-l9 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <2950000>; - qcom,init-voltage = <2950000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa10 { - status = "okay"; - pm8941_l10: regulator-l10 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <2950000>; - qcom,init-voltage = <2950000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa11 { - status = "okay"; - pm8941_l11: regulator-l11 { - regulator-min-microvolt = <1300000>; - regulator-max-microvolt = <1300000>; - qcom,init-voltage = <1300000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa12 { - status = "okay"; - pm8941_l12: regulator-l12 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - status = "okay"; - }; - pm8941_l12_ao: regulator-l12-ao { - regulator-name = "8941_l12_ao"; - qcom,set = <1>; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - status = "okay"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa13 { - status = "okay"; - pm8941_l13: regulator-l13 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <2950000>; - qcom,init-voltage = <2950000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa14 { - status = "okay"; - pm8941_l14: regulator-l14 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa15 { - status = "okay"; - pm8941_l15: regulator-l15 { - regulator-min-microvolt = <2050000>; - regulator-max-microvolt = <2050000>; - qcom,init-voltage = <2050000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa16 { - status = "okay"; - pm8941_l16: regulator-l16 { - regulator-min-microvolt = <2700000>; - regulator-max-microvolt = <2700000>; - qcom,init-voltage = <2700000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa17 { - status = "okay"; - pm8941_l17: regulator-l17 { - regulator-min-microvolt = <2850000>; - regulator-max-microvolt = <2850000>; - qcom,init-voltage = <2850000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa18 { - status = "okay"; - pm8941_l18: regulator-l18 { - regulator-min-microvolt = <2850000>; - regulator-max-microvolt = <2850000>; - qcom,init-voltage = <2850000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa19 { - status = "okay"; - pm8941_l19: regulator-l19 { - regulator-min-microvolt = <2900000>; - regulator-max-microvolt = <2900000>; - qcom,init-voltage = <2900000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa20 { - status = "okay"; - pm8941_l20: regulator-l20 { - regulator-min-microvolt = <2950000>; - regulator-max-microvolt = <2950000>; - qcom,init-voltage = <2950000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa21 { - status = "okay"; - pm8941_l21: regulator-l21 { - regulator-min-microvolt = <2950000>; - regulator-max-microvolt = <2950000>; - qcom,init-voltage = <2950000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa22 { - status = "okay"; - pm8941_l22: regulator-l22 { - regulator-min-microvolt = <3000000>; - regulator-max-microvolt = <3000000>; - qcom,init-voltage = <3000000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa23 { - status = "okay"; - pm8941_l23: regulator-l23 { - regulator-min-microvolt = <3000000>; - regulator-max-microvolt = <3000000>; - qcom,init-voltage = <3000000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa24 { - status = "okay"; - pm8941_l24: regulator-l24 { - regulator-min-microvolt = <3075000>; - regulator-max-microvolt = <3075000>; - qcom,init-voltage = <3075000>; - status = "okay"; - }; - }; - - rpm-regulator-vsa1 { - status = "okay"; - pm8941_lvs1: regulator-lvs1 { - status = "okay"; - }; - }; - - rpm-regulator-vsa2 { - status = "okay"; - pm8941_lvs2: regulator-lvs2 { - status = "okay"; - }; - }; - - rpm-regulator-vsa3 { - status = "okay"; - pm8941_lvs3: regulator-lvs3 { - status = "okay"; - }; - }; -}; - -&soc { - krait_pdn: krait-pdn@f9011000 { - reg = <0xf9011000 0x1000>, - <0xfc4b80b0 8>; - reg-names = "apcs_gcc", "phase-scaling-efuse"; - compatible = "qcom,krait-pdn"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - qcom,pfm-threshold = <73>; - - krait0_vreg: regulator@f9088000 { - compatible = "qcom,krait-regulator"; - regulator-name = "krait0"; - reg = <0xf9088000 0x1000>, /* APCS_ALIAS0_KPSS_ACS */ - <0xf908a800 0x1000>; /* APCS_ALIAS0_KPSS_MDD */ - reg-names = "acs", "mdd"; - regulator-min-microvolt = <500000>; - regulator-max-microvolt = <1100000>; - qcom,headroom-voltage = <150000>; - qcom,retention-voltage = <675000>; - qcom,ldo-default-voltage = <750000>; - qcom,ldo-threshold-voltage = <850000>; - qcom,ldo-delta-voltage = <50000>; - qcom,cpu-num = <0>; - }; - - krait1_vreg: regulator@f9098000 { - compatible = "qcom,krait-regulator"; - regulator-name = "krait1"; - reg = <0xf9098000 0x1000>, /* APCS_ALIAS1_KPSS_ACS */ - <0xf909a800 0x1000>; /* APCS_ALIAS1_KPSS_MDD */ - reg-names = "acs", "mdd"; - regulator-min-microvolt = <500000>; - regulator-max-microvolt = <1100000>; - qcom,headroom-voltage = <150000>; - qcom,retention-voltage = <675000>; - qcom,ldo-default-voltage = <750000>; - qcom,ldo-threshold-voltage = <850000>; - qcom,ldo-delta-voltage = <50000>; - qcom,cpu-num = <1>; - }; - - krait2_vreg: regulator@f90a8000 { - compatible = "qcom,krait-regulator"; - regulator-name = "krait2"; - reg = <0xf90a8000 0x1000>, /* APCS_ALIAS2_KPSS_ACS */ - <0xf90aa800 0x1000>; /* APCS_ALIAS2_KPSS_MDD */ - reg-names = "acs", "mdd"; - regulator-min-microvolt = <500000>; - regulator-max-microvolt = <1100000>; - qcom,headroom-voltage = <150000>; - qcom,retention-voltage = <675000>; - qcom,ldo-default-voltage = <750000>; - qcom,ldo-threshold-voltage = <850000>; - qcom,ldo-delta-voltage = <50000>; - qcom,cpu-num = <2>; - }; - - krait3_vreg: regulator@f90b8000 { - compatible = "qcom,krait-regulator"; - regulator-name = "krait3"; - reg = <0xf90b8000 0x1000>, /* APCS_ALIAS3_KPSS_ACS */ - <0xf90ba800 0x1000>; /* APCS_ALIAS3_KPSS_MDD */ - reg-names = "acs", "mdd"; - regulator-min-microvolt = <500000>; - regulator-max-microvolt = <1100000>; - qcom,headroom-voltage = <150000>; - qcom,retention-voltage = <675000>; - qcom,ldo-default-voltage = <750000>; - qcom,ldo-threshold-voltage = <850000>; - qcom,ldo-delta-voltage = <50000>; - qcom,cpu-num = <3>; - }; - }; - - spi_eth_vreg: spi_eth_phy_vreg { - compatible = "regulator-fixed"; - regulator-name = "ethernet_phy"; - gpio = <&pm8941_mpps 5 0>; - enable-active-high; - }; - - /* - * vph_pwr_vreg represents the unregulated battery voltage supply - * VPH_PWR that is present whenever the device is powered on. - */ - vph_pwr_vreg: vph_pwr_vreg { - compatible = "regulator-fixed"; - status = "disabled"; - regulator-name = "vph_pwr"; - regulator-always-on; - }; -}; - -&pm8941_chg { - otg-parent-supply = <&pm8941_boost>; -}; - -&pm8941_chg_boost { - regulator-min-microvolt = <5000000>; - regulator-max-microvolt = <5000000>; - regulator-name = "8941_smbb_boost"; -}; - -&pm8941_chg_otg { - regulator-name = "8941_smbb_otg"; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8974-rumi.dtsi b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8974-rumi.dtsi deleted file mode 100644 index c01a4e509..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8974-rumi.dtsi +++ /dev/null @@ -1,146 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/include/ "msm8974-leds.dtsi" -/include/ "msm8974-camera-sensor-cdp.dtsi" - -&soc { - timer { - clock-frequency = <5000000>; - }; - - serial@f995e000 { - status = "ok"; - }; - - usb@f9a55000 { - status = "disable"; - }; - - qcom,sdcc@f9824000 { - qcom,clk-rates = <400000 19200000>; - }; - - qcom,sdcc@f98a4000 { - qcom,clk-rates = <400000 19200000>; - }; - - qcom,sps@f998000 { - status = "disable"; - }; - - spi@f9924000 { - status = "disable"; - }; - - spi@f9923000 { - compatible = "qcom,spi-qup-v2"; - reg = <0xf9923000 0x1000>; - interrupts = <0 95 0>; - spi-max-frequency = <24000000>; - #address-cells = <1>; - #size-cells = <0>; - gpios = <&msmgpio 3 0>, /* CLK */ - <&msmgpio 1 0>, /* MISO */ - <&msmgpio 0 0>; /* MOSI */ - cs-gpios = <&msmgpio 9 0>; - - ethernet-switch@2 { - compatible = "simtec,ks8851"; - reg = <2>; - interrupt-parent = <&msmgpio>; - interrupts = <90 0>; - spi-max-frequency = <5000000>; - }; - }; - - i2c@f9966000 { - status = "disable"; - }; - - i2c@f9967000 { - cell-index = <0>; - compatible = "qcom,i2c-qup"; - reg = <0Xf9967000 0x1000>; - reg-names = "qup_phys_addr"; - interrupts = <0 105 0>; - interrupt-names = "qup_err_intr"; - qcom,i2c-bus-freq = <100000>; - qcom,i2c-src-freq = <19200000>; - gpios = <&msmgpio 83 0>, /* DAT */ - <&msmgpio 84 0>; /* CLK */ - }; - - slim@fe12f000 { - status = "disable"; - }; - - qcom,mdss_dsi@fd922800 { - status = "disable"; - }; - - qcom,spmi@fc4c0000 { - status = "disable"; - }; - - qcom,ssusb@F9200000 { - status = "disable"; - }; - - qcom,lpass@fe200000 { - status = "disable"; - }; - - qcom,pronto@fb21b000 { - status = "disable"; - }; - - qcom,mss@fc880000 { - status = "disable"; - }; - - qcom,kgsl-3d0@fdb00000 { - status = "disabled"; - }; -}; - -&gdsc_venus { - status = "disabled"; -}; - -&gdsc_mdss { - status = "disabled"; -}; - -&gdsc_jpeg { - status = "disabled"; -}; - -&gdsc_vfe { - status = "disabled"; -}; - -&gdsc_oxili_gx { - status = "disabled"; -}; - -&gdsc_oxili_cx { - status = "disabled"; -}; - -&gdsc_usb_hsic { - status = "disabled"; -}; - -&rpm_bus { - rpm-standalone; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8974-sim.dtsi b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8974-sim.dtsi deleted file mode 100644 index 24b8d18be..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8974-sim.dtsi +++ /dev/null @@ -1,93 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/include/ "dsi-panel-sim-video.dtsi" -/include/ "msm8974-leds.dtsi" -/include/ "msm8974-camera-sensor-cdp.dtsi" - -&soc { - qcom,mdss_dsi@fd922800 { - qcom,mdss_dsi_sim_video { - status = "ok"; - }; - }; - - serial@f991f000 { - status = "ok"; - }; - - serial@f995e000 { - status = "ok"; - }; -}; - -&jpeg_iommu { - qcom,iommu-ctx@fda6c000 { - interrupts = <0 69 0>; - }; - - qcom,iommu-ctx@fda6d000 { - interrupts = <0 70 0>; - }; - - qcom,iommu-ctx@fda6e000 { - interrupts = <0 71 0>; - }; -}; - -&mdp_iommu { - qcom,iommu-ctx@fd930000 { - interrupts = <0 46 0>; - }; - - qcom,iommu-ctx@fd931000 { - interrupts = <0 47 0>; - }; -}; - -&venus_iommu { - qcom,iommu-ctx@fdc8c000 { - interrupts = <0 43 0>; - }; - - qcom,iommu-ctx@fdc8d000 { - interrupts = <0 42 0>; - }; - - qcom,iommu-ctx@fdc8e000 { - interrupts = <0 41 0>; - }; -}; - -&kgsl_iommu { - qcom,iommu-ctx@fdb18000 { - interrupts = <0 240 0>; - }; - - qcom,iommu-ctx@fdb19000 { - interrupts = <0 241 0>; - }; -}; - -&vfe_iommu { - qcom,iommu-ctx@fda4c000 { - interrupts = <0 64 0>; - }; - - qcom,iommu-ctx@fda4d000 { - interrupts = <0 65 0>; - }; - - qcom,iommu-ctx@fda4e000 { - interrupts = <0 66 0>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8974-smp2p.dtsi b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8974-smp2p.dtsi deleted file mode 100644 index 3921a686a..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8974-smp2p.dtsi +++ /dev/null @@ -1,225 +0,0 @@ -/* Copyright (c) 2013, 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. - */ -&soc { - qcom,smp2p-modem { - compatible = "qcom,smp2p"; - reg = <0xf9011008 0x4>; - qcom,remote-pid = <1>; - qcom,irq-bitmask = <0x4000>; - interrupts = <0 27 1>; - }; - - qcom,smp2p-adsp { - compatible = "qcom,smp2p"; - reg = <0xf9011008 0x4>; - qcom,remote-pid = <2>; - qcom,irq-bitmask = <0x400>; - interrupts = <0 158 1>; - }; - - qcom,smp2p-wcnss { - compatible = "qcom,smp2p"; - reg = <0xf9011008 0x4>; - qcom,remote-pid = <4>; - qcom,irq-bitmask = <0x40000>; - interrupts = <0 143 1>; - }; - - smp2pgpio_smp2p_7_in: qcom,smp2pgpio-smp2p-7-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <7>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_7_in { - compatible = "qcom,smp2pgpio_test_smp2p_7_in"; - gpios = <&smp2pgpio_smp2p_7_in 0 0>; - }; - - smp2pgpio_smp2p_7_out: qcom,smp2pgpio-smp2p-7-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <7>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_7_out { - compatible = "qcom,smp2pgpio_test_smp2p_7_out"; - gpios = <&smp2pgpio_smp2p_7_out 0 0>; - }; - - smp2pgpio_smp2p_1_in: qcom,smp2pgpio-smp2p-1-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <1>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_1_in { - compatible = "qcom,smp2pgpio_test_smp2p_1_in"; - gpios = <&smp2pgpio_smp2p_1_in 0 0>; - }; - - smp2pgpio_smp2p_1_out: qcom,smp2pgpio-smp2p-1-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <1>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_1_out { - compatible = "qcom,smp2pgpio_test_smp2p_1_out"; - gpios = <&smp2pgpio_smp2p_1_out 0 0>; - }; - - smp2pgpio_ssr_smp2p_1_in: qcom,smp2pgpio-ssr-smp2p-1-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "slave-kernel"; - qcom,remote-pid = <1>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - smp2pgpio_ssr_smp2p_1_out: qcom,smp2pgpio-ssr-smp2p-1-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "master-kernel"; - qcom,remote-pid = <1>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - smp2pgpio_smp2p_2_in: qcom,smp2pgpio-smp2p-2-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <2>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_2_in { - compatible = "qcom,smp2pgpio_test_smp2p_2_in"; - gpios = <&smp2pgpio_smp2p_2_in 0 0>; - }; - - smp2pgpio_smp2p_2_out: qcom,smp2pgpio-smp2p-2-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <2>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_2_out { - compatible = "qcom,smp2pgpio_test_smp2p_2_out"; - gpios = <&smp2pgpio_smp2p_2_out 0 0>; - }; - - /* SMP2P SSR Driver for inbound entry from lpass. */ - smp2pgpio_ssr_smp2p_2_in: qcom,smp2pgpio-ssr-smp2p-2-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "slave-kernel"; - qcom,remote-pid = <2>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - /* SMP2P SSR Driver for outbound entry to lpass */ - smp2pgpio_ssr_smp2p_2_out: qcom,smp2pgpio-ssr-smp2p-2-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "master-kernel"; - qcom,remote-pid = <2>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - smp2pgpio_smp2p_4_in: qcom,smp2pgpio-smp2p-4-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <4>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_4_in { - compatible = "qcom,smp2pgpio_test_smp2p_4_in"; - gpios = <&smp2pgpio_smp2p_4_in 0 0>; - }; - - smp2pgpio_smp2p_4_out: qcom,smp2pgpio-smp2p-4-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <4>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - smp2pgpio_ssr_smp2p_4_in: qcom,smp2pgpio-ssr-smp2p-4-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "slave-kernel"; - qcom,remote-pid = <4>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - smp2pgpio_ssr_smp2p_4_out: qcom,smp2pgpio-ssr-smp2p-4-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "master-kernel"; - qcom,remote-pid = <4>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_4_out { - compatible = "qcom,smp2pgpio_test_smp2p_4_out"; - gpios = <&smp2pgpio_smp2p_4_out 0 0>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8974-v1-cdp.dts b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8974-v1-cdp.dts deleted file mode 100644 index c3fd98d2b..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8974-v1-cdp.dts +++ /dev/null @@ -1,33 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/dts-v1/; - -/include/ "msm8974-v1.dtsi" -/include/ "msm8974-cdp.dtsi" - -/ { - model = "Qualcomm MSM 8974 CDP"; - compatible = "qcom,msm8974-cdp", "qcom,msm8974", "qcom,cdp"; - qcom,msm-id = <126 1 0>, - <185 1 0>, - <186 1 0>; -}; - -&ehci { - status = "ok"; - vbus-supply = <&usb2_otg_sw>; -}; - -&hsic_host { - qcom,phy-sof-workaround; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8974-v1-fluid.dts b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8974-v1-fluid.dts deleted file mode 100644 index 2b96ecbd2..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8974-v1-fluid.dts +++ /dev/null @@ -1,33 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/dts-v1/; - -/include/ "msm8974-v1.dtsi" -/include/ "msm8974-fluid.dtsi" - -/ { - model = "Qualcomm MSM 8974 FLUID"; - compatible = "qcom,msm8974-fluid", "qcom,msm8974", "qcom,fluid"; - qcom,msm-id = <126 3 0>, - <185 3 0>, - <186 3 0>; - -}; - -&pm8941_chg { - qcom,charging-disabled; -}; - -&sdcc1 { - qcom,bus-width = <4>; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8974-v1-iommu-domains.dtsi b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8974-v1-iommu-domains.dtsi deleted file mode 100644 index 25fca2a54..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8974-v1-iommu-domains.dtsi +++ /dev/null @@ -1,31 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -&soc { - qcom,iommu-domains { - compatible = "qcom,iommu-domains"; - - venus_domain_ns: qcom,iommu-domain1 { - label = "venus_ns"; - qcom,iommu-contexts = <&venus_ns>; - qcom,virtual-addr-pool = <0x40000000 0x3f000000 - 0x7f000000 0x1000000>; - }; - - venus_domain_cp: qcom,iommu-domain2 { - label = "venus_cp"; - qcom,iommu-contexts = <&venus_cp>; - qcom,virtual-addr-pool = <0x1000000 0x3f000000>; - qcom,secure-domain; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8974-v1-iommu.dtsi b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8974-v1-iommu.dtsi deleted file mode 100644 index 56369dce3..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8974-v1-iommu.dtsi +++ /dev/null @@ -1,40 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/include/ "msm-iommu-v1.dtsi" - -&jpeg_iommu { - status = "ok"; - vdd-supply = <&gdsc_jpeg>; -}; - -&mdp_iommu { - status = "ok"; - vdd-supply = <&gdsc_mdss>; -}; - -&venus_iommu { - status = "ok"; - vdd-supply = <&gdsc_venus>; -}; - -&kgsl_iommu { - status = "ok"; - qcom,needs-alt-core-clk; - vdd-supply = <&gdsc_oxili_cx>; - qcom,alt-vdd-supply = <&gdsc_oxili_gx>; -}; - -&vfe_iommu { - status = "ok"; - vdd-supply = <&gdsc_vfe>; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8974-v1-liquid.dts b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8974-v1-liquid.dts deleted file mode 100644 index 29d6150ba..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8974-v1-liquid.dts +++ /dev/null @@ -1,24 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/dts-v1/; - -/include/ "msm8974-v1.dtsi" -/include/ "msm8974-liquid.dtsi" - -/ { - model = "Qualcomm MSM 8974 LIQUID"; - compatible = "qcom,msm8974-liquid", "qcom,msm8974", "qcom,liquid"; - qcom,msm-id = <126 9 0>, - <185 9 0>, - <186 9 0>; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8974-v1-mtp.dts b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8974-v1-mtp.dts deleted file mode 100644 index 8cbcca05a..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8974-v1-mtp.dts +++ /dev/null @@ -1,28 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/dts-v1/; - -/include/ "msm8974-v1.dtsi" -/include/ "msm8974-mtp.dtsi" - -/ { - model = "Qualcomm MSM 8974 MTP"; - compatible = "qcom,msm8974-mtp", "qcom,msm8974", "qcom,mtp"; - qcom,msm-id = <126 8 0>, - <185 8 0>, - <186 8 0>; -}; - -&pm8941_chg { - qcom,charging-disabled; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8974-v1-pm.dtsi b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8974-v1-pm.dtsi deleted file mode 100644 index 56a819ecc..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8974-v1-pm.dtsi +++ /dev/null @@ -1,456 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/include/ "skeleton.dtsi" - -&soc { - qcom,spm@f9089000 { - compatible = "qcom,spm-v2"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xf9089000 0x1000>; - qcom,core-id = <0>; - qcom,saw2-ver-reg = <0xfd0>; - qcom,saw2-cfg = <0x01>; - qcom,saw2-avs-ctl = <0>; - qcom,saw2-avs-hysteresis = <0>; - qcom,saw2-avs-limit = <0>; - qcom,saw2-avs-dly= <0>; - qcom,saw2-spm-dly= <0x20000400>; - qcom,saw2-spm-ctl = <0x1>; - qcom,saw2-spm-cmd-wfi = [03 0b 0f]; - qcom,saw2-spm-cmd-ret = [42 1b 00 d0 c0 a0 90 03 d0 98 a2 c0 - 0b 00 42 1b 0f]; - qcom,saw2-spm-cmd-spc = [00 20 80 10 90 a0 b0 03 3b 98 a2 b0 82 - 10 0b 30 06 26 30 0f]; - qcom,saw2-spm-cmd-pc = [00 20 80 10 90 a0 b0 07 3b 98 a2 b0 82 - 10 0b 30 06 26 30 0f]; - }; - - qcom,spm@f9099000 { - compatible = "qcom,spm-v2"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xf9099000 0x1000>; - qcom,core-id = <1>; - qcom,saw2-ver-reg = <0xfd0>; - qcom,saw2-cfg = <0x01>; - qcom,saw2-avs-ctl = <0>; - qcom,saw2-avs-hysteresis = <0>; - qcom,saw2-avs-limit = <0>; - qcom,saw2-avs-dly= <0>; - qcom,saw2-spm-dly= <0x20000400>; - qcom,saw2-spm-ctl = <0x1>; - qcom,saw2-spm-cmd-wfi = [03 0b 0f]; - qcom,saw2-spm-cmd-ret = [42 1b 00 d0 c0 a0 90 03 d0 98 a2 c0 - 0b 00 42 1b 0f]; - qcom,saw2-spm-cmd-spc = [00 20 80 10 90 a0 b0 03 3b 98 a2 b0 82 - 10 0b 30 06 26 30 0f]; - qcom,saw2-spm-cmd-pc = [00 20 80 10 90 a0 b0 07 3b 98 a2 b0 82 - 10 0b 30 06 26 30 0f]; - }; - - qcom,spm@f90a9000 { - compatible = "qcom,spm-v2"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xf90a9000 0x1000>; - qcom,core-id = <2>; - qcom,saw2-ver-reg = <0xfd0>; - qcom,saw2-cfg = <0x01>; - qcom,saw2-avs-ctl = <0>; - qcom,saw2-avs-hysteresis = <0>; - qcom,saw2-avs-limit = <0>; - qcom,saw2-avs-dly= <0>; - qcom,saw2-spm-dly= <0x20000400>; - qcom,saw2-spm-ctl = <0x1>; - qcom,saw2-spm-cmd-wfi = [03 0b 0f]; - qcom,saw2-spm-cmd-ret = [42 1b 00 d0 c0 a0 90 03 d0 98 a2 c0 - 0b 00 42 1b 0f]; - qcom,saw2-spm-cmd-spc = [00 20 80 10 90 a0 b0 03 3b 98 a2 b0 82 - 10 0b 30 06 26 30 0f]; - qcom,saw2-spm-cmd-pc = [00 20 80 10 90 a0 b0 07 3b 98 a2 b0 82 - 10 0b 30 06 26 30 0f]; - }; - - qcom,spm@f90b9000 { - compatible = "qcom,spm-v2"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xf90b9000 0x1000>; - qcom,core-id = <3>; - qcom,saw2-ver-reg = <0xfd0>; - qcom,saw2-cfg = <0x01>; - qcom,saw2-avs-ctl = <0>; - qcom,saw2-avs-hysteresis = <0>; - qcom,saw2-avs-limit = <0>; - qcom,saw2-avs-dly= <0>; - qcom,saw2-spm-dly= <0x20000400>; - qcom,saw2-spm-ctl = <0x1>; - qcom,saw2-spm-cmd-wfi = [03 0b 0f]; - qcom,saw2-spm-cmd-ret = [42 1b 00 d0 c0 a0 90 03 d0 98 a2 c0 - 0b 00 42 1b 0f]; - qcom,saw2-spm-cmd-spc = [00 20 80 10 90 a0 b0 03 3b 98 a2 b0 82 - 10 0b 30 06 26 30 0f]; - qcom,saw2-spm-cmd-pc = [00 20 80 10 90 a0 b0 07 3b 98 a2 b0 82 - 10 0b 30 06 26 30 0f]; - }; - - qcom,spm@f9012000 { - compatible = "qcom,spm-v2"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xf9012000 0x1000>; - qcom,core-id = <0xffff>; /* L2/APCS SAW */ - qcom,saw2-ver-reg = <0xfd0>; - qcom,saw2-cfg = <0x14>; - qcom,saw2-avs-ctl = <0>; - qcom,saw2-avs-hysteresis = <0>; - qcom,saw2-avs-limit = <0>; - qcom,saw2-avs-dly= <0>; - qcom,saw2-spm-dly= <0x20000400>; - qcom,saw2-spm-ctl = <0x1>; - qcom,saw2-pmic-data0 = <0x02030080>; - qcom,saw2-pmic-data1 = <0x00030000>; - qcom,vctl-timeout-us = <50>; - qcom,vctl-port = <0x0>; - qcom,phase-port = <0x1>; - qcom,pfm-port = <0x2>; - qcom,saw2-spm-cmd-ret = [1f 00 20 03 22 00 0f]; - qcom,saw2-spm-cmd-gdhs = [00 20 32 42 07 44 22 50 02 32 50 0f]; - qcom,saw2-spm-cmd-pc = [00 10 32 b0 11 42 07 01 b0 12 44 - 50 02 32 50 0f]; - }; - - qcom,lpm-resources { - compatible = "qcom,lpm-resources"; - #address-cells = <1>; - #size-cells = <0>; - - qcom,lpm-resources@0 { - reg = <0x0>; - qcom,name = "vdd-dig"; - qcom,type = <0x62706d73>; /* "smpb" */ - qcom,id = <0x02>; - qcom,key = <0x6e726f63>; /* "corn" */ - qcom,init-value = <6>; /* Super Turbo */ - }; - - qcom,lpm-resources@1 { - reg = <0x1>; - qcom,name = "vdd-mem"; - qcom,type = <0x62706d73>; /* "smpb" */ - qcom,id = <0x01>; - qcom,key = <0x7675>; /* "uv" */ - qcom,init-value = <1050000>; /* Super Turbo */ - }; - - qcom,lpm-resources@2 { - reg = <0x2>; - qcom,name = "pxo"; - qcom,type = <0x306b6c63>; /* "clk0" */ - qcom,id = <0x00>; - qcom,key = <0x62616e45>; /* "Enab" */ - qcom,init-value = "xo_on"; - }; - - qcom,lpm-resources@3 { - reg = <0x3>; - qcom,name = "l2"; - qcom,local-resource-type; - qcom,init-value = "l2_cache_retention"; - }; - }; - - qcom,lpm-levels { - compatible = "qcom,lpm-levels"; - #address-cells = <1>; - #size-cells = <0>; - - qcom,use-qtimer; - - qcom,lpm-level@0 { - reg = <0x0>; - qcom,mode = "wfi"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_active"; - qcom,vdd-mem-upper-bound = <1050000>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <950000>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <1>; - qcom,ss-power = <784>; - qcom,energy-overhead = <190000>; - qcom,time-overhead = <100>; - }; - - qcom,lpm-level@1 { - reg = <0x1>; - qcom,mode = "retention"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_active"; - qcom,vdd-mem-upper-bound = <1050000>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <950000>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <75>; - qcom,ss-power = <735>; - qcom,energy-overhead = <77341>; - qcom,time-overhead = <105>; - }; - - - qcom,lpm-level@2 { - reg = <0x2>; - qcom,mode = "standalone_pc"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_active"; - qcom,vdd-mem-upper-bound = <1050000>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <950000>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <95>; - qcom,ss-power = <725>; - qcom,energy-overhead = <99500>; - qcom,time-overhead = <130>; - }; - - qcom,lpm-level@3 { - reg = <0x3>; - qcom,mode = "pc"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_gdhs"; - qcom,vdd-mem-upper-bound = <1050000>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <950000>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <2000>; - qcom,ss-power = <138>; - qcom,energy-overhead = <1208400>; - qcom,time-overhead = <3200>; - }; - - qcom,lpm-level@4 { - reg = <0x4>; - qcom,mode = "pc"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_pc"; - qcom,vdd-mem-upper-bound = <1050000>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <950000>; /* SVS SOC */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <3>; /* SVS SOC */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <3000>; - qcom,ss-power = <110>; - qcom,energy-overhead = <1250300>; - qcom,time-overhead = <3500>; - }; - - qcom,lpm-level@5 { - reg = <0x5>; - qcom,mode = "pc"; - qcom,xo = "xo_off"; - qcom,l2 = "l2_cache_gdhs"; - qcom,vdd-mem-upper-bound = <1050000>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <950000>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,latency-us = <3000>; - qcom,ss-power = <68>; - qcom,energy-overhead = <1350200>; - qcom,time-overhead = <4000>; - }; - - qcom,lpm-level@6 { - reg = <0x6>; - qcom,mode = "pc"; - qcom,xo = "xo_off"; - qcom,l2 = "l2_cache_pc"; - qcom,vdd-mem-upper-bound = <1050000>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <950000>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,latency-us = <10300>; - qcom,ss-power = <63>; - qcom,energy-overhead = <2128000>; - qcom,time-overhead = <18200>; - }; - - qcom,lpm-level@7 { - reg = <0x7>; - qcom,mode= "pc"; - qcom,xo = "xo_off"; - qcom,l2 = "l2_cache_pc"; - qcom,vdd-mem-upper-bound = <950000>; /* NORMAL */ - qcom,vdd-mem-lower-bound = <950000>; /* SVS SOC */ - qcom,vdd-dig-upper-bound = <4>; /* NORMAL */ - qcom,vdd-dig-lower-bound = <3>; /* SVS SOC */ - qcom,latency-us = <18000>; - qcom,ss-power = <10>; - qcom,energy-overhead = <3202600>; - qcom,time-overhead = <27000>; - }; - - qcom,lpm-level@8 { - reg = <0x8>; - qcom,mode= "pc"; - qcom,xo = "xo_off"; - qcom,l2 = "l2_cache_pc"; - qcom,vdd-mem-upper-bound = <950000>; /* SVS SOC */ - qcom,vdd-mem-lower-bound = <675000>; /* RETENTION */ - qcom,vdd-dig-upper-bound = <3>; /* SVS SOC */ - qcom,vdd-dig-lower-bound = <1>; /* RETENTION */ - qcom,latency-us = <20000>; - qcom,ss-power = <2>; - qcom,energy-overhead = <4252000>; - qcom,time-overhead = <32000>; - }; - }; - - qcom,pm-boot { - compatible = "qcom,pm-boot"; - qcom,mode = "tz"; - }; - - qcom,mpm@fc4281d0 { - compatible = "qcom,mpm-v2"; - reg = <0xfc4281d0 0x1000>, /* MSM_RPM_MPM_BASE 4K */ - <0xf9011008 0x4>; /* MSM_APCS_GCC_BASE 4K */ - reg-names = "vmpm", "ipc"; - interrupts = <0 171 1>; - - qcom,ipc-bit-offset = <1>; - - qcom,gic-parent = <&intc>; - qcom,gic-map = <2 216>, /* tsens_upper_lower_int */ - <47 165>, /* usb30_hs_phy_irq */ - <50 172>, /* usb1_hs_async_wakeup_irq */ - <53 104>, /* mdss_irq */ - <62 222>, /* ee0_krait_hlos_spmi_periph_irq */ - <0xff 57>, /* mss_to_apps_irq(0) */ - <0xff 58>, /* mss_to_apps_irq(1) */ - <0xff 59>, /* mss_to_apps_irq(2) */ - <0xff 60>, /* mss_to_apps_irq(3) */ - <0xff 173>, /* o_wcss_apss_smd_hi */ - <0xff 174>, /* o_wcss_apss_smd_med */ - <0xff 175>, /* o_wcss_apss_smd_low */ - <0xff 176>, /* o_wcss_apss_smsm_irq */ - <0xff 177>, /* o_wcss_apss_wlan_data_xfer_done */ - <0xff 178>, /* o_wcss_apss_wlan_rx_data_avail */ - <0xff 179>, /* o_wcss_apss_asic_intr - - <0xff 188>, /* lpass_irq_out_apcs(0) */ - <0xff 189>, /* lpass_irq_out_apcs(1) */ - <0xff 190>, /* lpass_irq_out_apcs(2) */ - <0xff 191>, /* lpass_irq_out_apcs(3) */ - <0xff 192>, /* lpass_irq_out_apcs(4) */ - <0xff 193>, /* lpass_irq_out_apcs(5) */ - <0xff 194>, /* lpass_irq_out_apcs(6) */ - <0xff 195>, /* lpass_irq_out_apcs(7) */ - <0xff 196>, /* lpass_irq_out_apcs(8) */ - <0xff 197>, /* lpass_irq_out_apcs(9) */ - <0xff 200>, /* rpm_ipc(4) */ - <0xff 201>, /* rpm_ipc(5) */ - <0xff 202>, /* rpm_ipc(6) */ - <0xff 203>, /* rpm_ipc(7) */ - <0xff 204>, /* rpm_ipc(24) */ - <0xff 205>, /* rpm_ipc(25) */ - <0xff 206>, /* rpm_ipc(26) */ - <0xff 207>, /* rpm_ipc(27) */ - <0xff 240>; /* summary_irq_kpss */ - - qcom,gpio-parent = <&msmgpio>; - qcom,gpio-map = <3 102>, - <4 1 >, - <5 5 >, - <6 9 >, - <7 18>, - <8 20>, - <9 24>, - <10 27>, - <11 28>, - <12 34>, - <13 35>, - <14 37>, - <15 42>, - <16 44>, - <17 46>, - <18 50>, - <19 54>, - <20 59>, - <21 61>, - <22 62>, - <23 64>, - <24 65>, - <25 66>, - <26 67>, - <27 68>, - <28 71>, - <29 72>, - <30 73>, - <31 74>, - <32 75>, - <33 77>, - <34 79>, - <35 80>, - <36 82>, - <37 86>, - <38 92>, - <39 93>, - <40 95>, - <41 144>; - }; - - qcom,pm-8x60@fe805664 { - compatible = "qcom,pm-8x60"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - reg = <0xfe805664 0x40>; - qcom,pc-mode = "tz_l2_int"; - qcom,use-sync-timer; - }; - - qcom,cpu-sleep-status@f9088008 { - compatible = "qcom,cpu-sleep-status"; - reg = <0xf9088008 0x4>; - qcom,cpu-alias-addr = <0x10000>; - qcom,sleep-status-mask= <0x80000>; - }; - - qcom,rpm-log@fc19dc00 { - compatible = "qcom,rpm-log"; - reg = <0xfc19dc00 0x4000>; - qcom,rpm-addr-phys = <0xfc000000>; - qcom,offset-version = <4>; - qcom,offset-page-buffer-addr = <36>; - qcom,offset-log-len = <40>; - qcom,offset-log-len-mask = <44>; - qcom,offset-page-indices = <56>; - }; - - qcom,rpm-stats@fc19dba0 { - compatible = "qcom,rpm-stats"; - reg = <0xfc19dba0 0x1000>; - reg-names = "phys_addr_base"; - qcom,sleep-stats-version = <2>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8974-v1-rumi.dts b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8974-v1-rumi.dts deleted file mode 100644 index 85aab17b1..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8974-v1-rumi.dts +++ /dev/null @@ -1,24 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/dts-v1/; - -/include/ "msm8974-v1.dtsi" -/include/ "msm8974-rumi.dtsi" - -/ { - model = "Qualcomm MSM 8974 RUMI"; - compatible = "qcom,msm8974-rumi", "qcom,msm8974", "qcom,rumi"; - qcom,msm-id = <126 15 0>, - <185 15 0>, - <186 15 0>; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8974-v1-sim.dts b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8974-v1-sim.dts deleted file mode 100644 index fc9858de7..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8974-v1-sim.dts +++ /dev/null @@ -1,24 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/dts-v1/; - -/include/ "msm8974-v1.dtsi" -/include/ "msm8974-sim.dtsi" - -/ { - model = "Qualcomm MSM 8974 Simulator"; - compatible = "qcom,msm8974-sim", "qcom,msm8974", "qcom,sim"; - qcom,msm-id = <126 16 0>, - <185 16 0>, - <186 16 0>; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8974-v1.dtsi b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8974-v1.dtsi deleted file mode 100644 index caec2dc1b..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8974-v1.dtsi +++ /dev/null @@ -1,134 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/* - * As a general rule, only version-specific property overrides should be placed - * inside this file. However, device definitions should be placed inside the - * msm8974.dtsi file. - */ - -/include/ "msm8974.dtsi" -/include/ "msm8974-v1-iommu.dtsi" -/include/ "msm8974-v1-iommu-domains.dtsi" -/include/ "msm8974-v1-pm.dtsi" - -&soc { - android_usb@fc42b0c8 { - compatible = "qcom,android-usb"; - reg = <0xfc42b0c8 0xc8>; - qcom,android-usb-swfi-latency = <1>; - }; - - qcom,msm-imem@fc42b000 { - compatible = "qcom,msm-imem"; - reg = <0xfc42b000 0x1000>; /* Address and size of IMEM */ - }; -}; - -&tsens { - qcom,calibration-less-mode; -}; - -/* I2C clock frequency overrides */ -&i2c_0 { - qcom,i2c-src-freq = <19200000>; -}; - -&i2c_2 { - qcom,i2c-src-freq = <19200000>; -}; - -/* CoreSight */ -&tmc_etr { - qcom,reset-flush-race; -}; - -&stm { - qcom,write-64bit; -}; - -&mdss_mdp { - qcom,mdss-pingpong-off = <0x00021B00 0x00021C00 0x00021D00>; -}; - -&msm_vidc { - qcom,vidc-cp-map = <0x1000000 0x3f000000>; - qcom,vidc-ns-map = <0x40000000 0x40000000>; - qcom,load-freq-tbl = <979200 410000000>, - <783360 410000000>, - <489600 266670000>, - <244800 133330000>; - qcom,reg-presets = <0x80004 0x1>, - <0x80178 0x00001FFF>, - <0x8017c 0x1FFF1FFF>, - <0x800b0 0x10101001>, - <0x800b4 0x10101010>, - <0x800b8 0x10101010>, - <0x800bc 0x00000010>, - <0x800c0 0x1010100f>, - <0x800c4 0x10101010>, - <0x800c8 0x10101010>, - <0x800cc 0x00000010>, - <0x800d0 0x00001010>, - <0x800d4 0x00001010>, - <0x800f0 0x00000030>, - <0x800d8 0x00000707>, - <0x800dc 0x00000707>, - <0x80124 0x00000001>, - <0xE0020 0x5555556>, - <0xE0024 0x0>; - qcom,bus-ports = <1>; - qcom,enc-ocmem-ab-ib = <0 0>, - <138200 1222000>, - <414700 1222000>, - <940000 2444000>, - <1880000 2444000>, - <3008000 3910400>, - <3760000 4888000>; - qcom,dec-ocmem-ab-ib = <0 0>, - <176900 1556640>, - <456200 1556640>, - <864800 1556640>, - <1729600 3113280>, - <2767360 4981248>, - <3459200 6226560>; - qcom,enc-ddr-ab-ib = <0 0>, - <60000 664950>, - <181000 664950>, - <403000 664950>, - <806000 1329900>, - <1289600 2127840>, - <161200 6400000>; - qcom,dec-ddr-ab-ib = <0 0>, - <110000 909000>, - <268000 909000>, - <505000 909000>, - <1010000 1818000>, - <1616000 2908800>, - <2020000 6400000>; - qcom,iommu-groups = <&venus_domain_ns &venus_domain_cp>; - qcom,iommu-group-buffer-types = <0xfff 0x1ff>; - qcom,buffer-type-tz-usage-table = <0x1 0x1>, - <0x1fe 0x2>; -}; - -&sfpb_spinlock { - status = "disable"; -}; - -&ldrex_spinlock { - status = "ok"; -}; - -&usb_otg { - qcom,hsusb-otg-pnoc-errata-fix; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8974-v2-cdp.dts b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8974-v2-cdp.dts deleted file mode 100644 index 85d478b73..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8974-v2-cdp.dts +++ /dev/null @@ -1,36 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; - -/include/ "msm8974-v2.dtsi" -/include/ "msm8974-cdp.dtsi" - -/ { - model = "Qualcomm MSM 8974v2 CDP"; - compatible = "qcom,msm8974-cdp", "qcom,msm8974", "qcom,cdp"; - qcom,msm-id = <126 1 0x20000>, - <185 1 0x20000>, - <186 1 0x20000>; -}; - -&usb3 { - interrupt-parent = <&usb3>; - interrupts = <0 1>; - #interrupt-cells = <1>; - interrupt-map-mask = <0x0 0xffffffff>; - interrupt-map = <0x0 0 &intc 0 133 0 - 0x0 1 &spmi_bus 0x0 0x0 0x9 0x0>; - interrupt-names = "hs_phy_irq", "pmic_id_irq"; - - qcom,misc-ref = <&pm8941_misc>; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8974-v2-fluid.dts b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8974-v2-fluid.dts deleted file mode 100644 index d83d13048..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8974-v2-fluid.dts +++ /dev/null @@ -1,36 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; - -/include/ "msm8974-v2.dtsi" -/include/ "msm8974-fluid.dtsi" - -/ { - model = "Qualcomm MSM 8974v2 FLUID"; - compatible = "qcom,msm8974-fluid", "qcom,msm8974", "qcom,fluid"; - qcom,msm-id = <126 3 0x20000>, - <185 3 0x20000>, - <186 3 0x20000>; -}; - -&usb3 { - interrupt-parent = <&usb3>; - interrupts = <0 1>; - #interrupt-cells = <1>; - interrupt-map-mask = <0x0 0xffffffff>; - interrupt-map = <0x0 0 &intc 0 133 0 - 0x0 1 &spmi_bus 0x0 0x0 0x9 0x0>; - interrupt-names = "hs_phy_irq", "pmic_id_irq"; - - qcom,misc-ref = <&pm8941_misc>; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8974-v2-iommu-domains.dtsi b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8974-v2-iommu-domains.dtsi deleted file mode 100644 index 01c94d0ec..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8974-v2-iommu-domains.dtsi +++ /dev/null @@ -1,45 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -&soc { - qcom,iommu-domains { - compatible = "qcom,iommu-domains"; - - venus_domain_ns: qcom,iommu-domain1 { - label = "venus_ns"; - qcom,iommu-contexts = <&venus_ns>; - qcom,virtual-addr-pool = <0x5dc00000 0x7f000000 - 0xdcc00000 0x1000000>; - }; - - venus_domain_sec_bitstream: qcom,iommu-domain2 { - label = "venus_sec_bitstream"; - qcom,iommu-contexts = <&venus_sec_bitstream>; - qcom,virtual-addr-pool = <0x4b000000 0x12c00000>; - qcom,secure-domain; - }; - - venus_domain_sec_pixel: qcom,iommu-domain3 { - label = "venus_sec_pixel"; - qcom,iommu-contexts = <&venus_sec_pixel>; - qcom,virtual-addr-pool = <0x25800000 0x25800000>; - qcom,secure-domain; - }; - - venus_domain_sec_non_pixel: qcom,iommu-domain4 { - label = "venus_sec_non_pixel"; - qcom,iommu-contexts = <&venus_sec_non_pixel>; - qcom,virtual-addr-pool = <0x1000000 0x24800000>; - qcom,secure-domain; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8974-v2-iommu.dtsi b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8974-v2-iommu.dtsi deleted file mode 100644 index 03f7e807e..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8974-v2-iommu.dtsi +++ /dev/null @@ -1,256 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/include/ "msm-iommu-v1.dtsi" - -&venus_iommu { - status = "ok"; - vdd-supply = <&gdsc_venus>; - qcom,iommu-enable-halt; - - qcom,iommu-bfb-regs = <0x204c - 0x2050 - 0x2514 - 0x2540 - 0x256c - 0x20ac - 0x215c - 0x220c - 0x2314 - 0x2394 - 0x2414 - 0x2008 - 0x200c - 0x2010 - 0x2014 - 0x2018 - 0x201c - 0x2020 - 0x2024 - 0x2028 - 0x202c - 0x2030 - 0x2034 - 0x2038>; - - qcom,iommu-bfb-data = <0xFFFFFFFF - 0xFFFFFFFF - 0x00000004 - 0x00000008 - 0x00000000 - 0x00013205 - 0x00004000 - 0x00014020 - 0x0 - 0x94 - 0x114 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0>; - - venus_ns: qcom,iommu-ctx@fdc8c000 { - qcom,iommu-ctx-sids = <0 1 2 3 4 5 7>; - }; - - venus_sec_bitstream: qcom,iommu-ctx@fdc8d000 { - qcom,iommu-ctx-sids = <0x80 0x81 0x82 0x83 0x84>; - label = "venus_sec_bitstream"; - }; - - venus_sec_pixel: qcom,iommu-ctx@fdc8f000 { - compatible = "qcom,msm-smmu-v1-ctx"; - reg = <0xfdc8f000 0x1000>; - interrupts = <0 42 0>, <0 43 0>; - qcom,iommu-ctx-sids = <0x85>; - label = "venus_sec_pixel"; - qcom,secure-context; - }; - - venus_sec_non_pixel: qcom,iommu-ctx@fdc90000 { - compatible = "qcom,msm-smmu-v1-ctx"; - reg = <0xfdc90000 0x1000>; - interrupts = <0 42 0>, <0 43 0>; - qcom,iommu-ctx-sids = <0x87 0xA0>; - label = "venus_sec_non_pixel"; - qcom,secure-context; - }; -}; - -&jpeg_iommu { - status = "ok"; - vdd-supply = <&gdsc_jpeg>; - qcom,iommu-enable-halt; - - qcom,iommu-bfb-regs = <0x204c - 0x2050 - 0x2514 - 0x2540 - 0x256c - 0x2314 - 0x2394 - 0x2414 - 0x20ac - 0x215c - 0x220c - 0x2008 - 0x200c - 0x2010 - 0x2014>; - - qcom,iommu-bfb-data = <0x3FFF - 0x00000000 - 0x4 - 0x4 - 0x0 - 0x0 - 0x10 - 0x50 - 0x0 - 0x00002804 - 0x00009614 - 0x0 - 0x0 - 0x0 - 0x0>; -}; - -&mdp_iommu { - status = "ok"; - vdd-supply = <&gdsc_mdss>; - qcom,iommu-enable-halt; - - qcom,iommu-bfb-regs = <0x204c - 0x2050 - 0x2514 - 0x2540 - 0x256c - 0x20ac - 0x215c - 0x220c - 0x2314 - 0x2394 - 0x2414 - 0x2008 - 0x200c - 0x2010 - 0x2014 - 0x2018 - 0x201c - 0x2020>; - - qcom,iommu-bfb-data = <0xFFFFF - 0x00000000 - 0x00000004 - 0x00000010 - 0x00000000 - 0x00006800 - 0x00006221 - 0x00016231 - 0x0 - 0x34 - 0x74 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0>; -}; - -&kgsl_iommu { - status = "ok"; - vdd-supply = <&gdsc_oxili_cx>; - qcom,alt-vdd-supply = <&gdsc_oxili_gx>; - qcom,iommu-enable-halt; - qcom,needs-alt-core-clk; - - qcom,iommu-bfb-regs = <0x204c - 0x2050 - 0x2514 - 0x2540 - 0x256c - 0x20ac - 0x215c - 0x220c - 0x2314 - 0x2394 - 0x2414 - 0x2008>; - - qcom,iommu-bfb-data = <0x00000003 - 0x0 - 0x00000004 - 0x00000010 - 0x00000000 - 0x00000000 - 0x00000000 - 0x00000020 - 0x0 - 0x1 - 0x81 - 0x0>; -}; - -&vfe_iommu { - status = "ok"; - vdd-supply = <&gdsc_vfe>; - qcom,iommu-enable-halt; - - qcom,iommu-bfb-regs = <0x204c - 0x2050 - 0x2514 - 0x2540 - 0x256c - 0x2314 - 0x2394 - 0x2414 - 0x20ac - 0x215c - 0x220c - 0x2008 - 0x200c - 0x2010 - 0x2014 - 0x2018 - 0x201c - 0x2020>; - - qcom,iommu-bfb-data = <0xffffffff - 0x00000000 - 0x4 - 0x8 - 0x0 - 0x0 - 0x20 - 0x78 - 0x0 - 0x00003c08 - 0x0000b41e - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0>; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8974-v2-liquid.dts b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8974-v2-liquid.dts deleted file mode 100644 index 53983dc1c..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8974-v2-liquid.dts +++ /dev/null @@ -1,36 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; - -/include/ "msm8974-v2.dtsi" -/include/ "msm8974-liquid.dtsi" - -/ { - model = "Qualcomm MSM 8974v2 LIQUID"; - compatible = "qcom,msm8974-liquid", "qcom,msm8974", "qcom,liquid"; - qcom,msm-id = <126 9 0x20000>, - <185 9 0x20000>, - <186 9 0x20000>; -}; - -&usb3 { - interrupt-parent = <&usb3>; - interrupts = <0 1>; - #interrupt-cells = <1>; - interrupt-map-mask = <0x0 0xffffffff>; - interrupt-map = <0x0 0 &intc 0 133 0 - 0x0 1 &spmi_bus 0x0 0x0 0x9 0x0>; - interrupt-names = "hs_phy_irq", "pmic_id_irq"; - - qcom,misc-ref = <&pm8941_misc>; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8974-v2-mtp.dts b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8974-v2-mtp.dts deleted file mode 100644 index 792a78cbd..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8974-v2-mtp.dts +++ /dev/null @@ -1,40 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; - -/include/ "msm8974-v2.dtsi" -/include/ "msm8974-mtp.dtsi" - -/ { - model = "Qualcomm MSM 8974v2 MTP"; - compatible = "qcom,msm8974-mtp", "qcom,msm8974", "qcom,mtp"; - qcom,msm-id = <126 8 0x20000>, - <185 8 0x20000>, - <186 8 0x20000>; -}; - -&usb3 { - interrupt-parent = <&usb3>; - interrupts = <0 1>; - #interrupt-cells = <1>; - interrupt-map-mask = <0x0 0xffffffff>; - interrupt-map = <0x0 0 &intc 0 133 0 - 0x0 1 &spmi_bus 0x0 0x0 0x9 0x0>; - interrupt-names = "hs_phy_irq", "pmic_id_irq"; - - qcom,misc-ref = <&pm8941_misc>; -}; - -&pm8941_chg { - qcom,bpd-detection = "bpd_thm"; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8974-v2-pm.dtsi b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8974-v2-pm.dtsi deleted file mode 100644 index 8a46724ae..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8974-v2-pm.dtsi +++ /dev/null @@ -1,452 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/include/ "skeleton.dtsi" - -&soc { - qcom,spm@f9089000 { - compatible = "qcom,spm-v2"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xf9089000 0x1000>; - qcom,core-id = <0>; - qcom,saw2-ver-reg = <0xfd0>; - qcom,saw2-cfg = <0x01>; - qcom,saw2-avs-ctl = <0>; - qcom,saw2-avs-hysteresis = <0>; - qcom,saw2-avs-limit = <0>; - qcom,saw2-avs-dly= <0>; - qcom,saw2-spm-dly= <0x3C102800>; - qcom,saw2-spm-ctl = <0x1>; - qcom,saw2-spm-cmd-wfi = [03 0b 0f]; - qcom,saw2-spm-cmd-ret = [42 1b 00 d0 c0 a0 90 03 d0 98 a2 c0 - 0b 00 42 1b 0f]; - qcom,saw2-spm-cmd-spc = [00 20 80 10 90 a0 b0 03 3b 98 a2 b0 82 - 10 0b 30 06 26 30 0f]; - qcom,saw2-spm-cmd-pc = [00 20 80 10 90 a0 b0 07 3b 98 a2 b0 82 - 10 0b 30 06 26 30 0f]; - }; - - qcom,spm@f9099000 { - compatible = "qcom,spm-v2"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xf9099000 0x1000>; - qcom,core-id = <1>; - qcom,saw2-ver-reg = <0xfd0>; - qcom,saw2-cfg = <0x01>; - qcom,saw2-avs-ctl = <0>; - qcom,saw2-avs-hysteresis = <0>; - qcom,saw2-avs-limit = <0>; - qcom,saw2-avs-dly= <0>; - qcom,saw2-spm-dly= <0x3C102800>; - qcom,saw2-spm-ctl = <0x1>; - qcom,saw2-spm-cmd-wfi = [03 0b 0f]; - qcom,saw2-spm-cmd-ret = [42 1b 00 d0 c0 a0 90 03 d0 98 a2 c0 - 0b 00 42 1b 0f]; - qcom,saw2-spm-cmd-spc = [00 20 80 10 90 a0 b0 03 3b 98 a2 b0 82 - 10 0b 30 06 26 30 0f]; - qcom,saw2-spm-cmd-pc = [00 20 80 10 90 a0 b0 07 3b 98 a2 b0 82 - 10 0b 30 06 26 30 0f]; - }; - - qcom,spm@f90a9000 { - compatible = "qcom,spm-v2"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xf90a9000 0x1000>; - qcom,core-id = <2>; - qcom,saw2-ver-reg = <0xfd0>; - qcom,saw2-cfg = <0x01>; - qcom,saw2-avs-ctl = <0>; - qcom,saw2-avs-hysteresis = <0>; - qcom,saw2-avs-limit = <0>; - qcom,saw2-avs-dly= <0>; - qcom,saw2-spm-dly= <0x3C102800>; - qcom,saw2-spm-ctl = <0x1>; - qcom,saw2-spm-cmd-wfi = [03 0b 0f]; - qcom,saw2-spm-cmd-ret = [42 1b 00 d0 c0 a0 90 03 d0 98 a2 c0 - 0b 00 42 1b 0f]; - qcom,saw2-spm-cmd-spc = [00 20 80 10 90 a0 b0 03 3b 98 a2 b0 82 - 10 0b 30 06 26 30 0f]; - qcom,saw2-spm-cmd-pc = [00 20 80 10 90 a0 b0 07 3b 98 a2 b0 82 - 10 0b 30 06 26 30 0f]; - }; - - qcom,spm@f90b9000 { - compatible = "qcom,spm-v2"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xf90b9000 0x1000>; - qcom,core-id = <3>; - qcom,saw2-ver-reg = <0xfd0>; - qcom,saw2-cfg = <0x01>; - qcom,saw2-avs-ctl = <0>; - qcom,saw2-avs-hysteresis = <0>; - qcom,saw2-avs-limit = <0>; - qcom,saw2-avs-dly= <0>; - qcom,saw2-spm-dly= <0x3C102800>; - qcom,saw2-spm-ctl = <0x1>; - qcom,saw2-spm-cmd-wfi = [03 0b 0f]; - qcom,saw2-spm-cmd-ret = [42 1b 00 d0 c0 a0 90 03 d0 98 a2 c0 - 0b 00 42 1b 0f]; - qcom,saw2-spm-cmd-spc = [00 20 80 10 90 a0 b0 03 3b 98 a2 b0 82 - 10 0b 30 06 26 30 0f]; - qcom,saw2-spm-cmd-pc = [00 20 80 10 90 a0 b0 07 3b 98 a2 b0 82 - 10 0b 30 06 26 30 0f]; - }; - - qcom,spm@f9012000 { - compatible = "qcom,spm-v2"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xf9012000 0x1000>; - qcom,core-id = <0xffff>; /* L2/APCS SAW */ - qcom,saw2-ver-reg = <0xfd0>; - qcom,saw2-cfg = <0x14>; - qcom,saw2-avs-ctl = <0>; - qcom,saw2-avs-hysteresis = <0>; - qcom,saw2-avs-limit = <0>; - qcom,saw2-avs-dly= <0>; - qcom,saw2-spm-dly= <0x3C102800>; - qcom,saw2-spm-ctl = <0x1>; - qcom,saw2-pmic-data0 = <0x02030080>; - qcom,saw2-pmic-data1 = <0x00030000>; - qcom,vctl-timeout-us = <50>; - qcom,vctl-port = <0x0>; - qcom,phase-port = <0x1>; - qcom,pfm-port = <0x2>; - qcom,saw2-spm-cmd-ret = [1f 00 03 00 0f]; - qcom,saw2-spm-cmd-gdhs = [00 32 42 07 44 50 02 32 50 0f]; - qcom,saw2-spm-cmd-pc = [00 32 b0 11 42 07 01 b0 44 - 50 02 32 50 0f]; - }; - - qcom,lpm-resources { - compatible = "qcom,lpm-resources"; - #address-cells = <1>; - #size-cells = <0>; - - qcom,lpm-resources@0 { - reg = <0x0>; - qcom,name = "vdd-dig"; - qcom,type = <0x62706d73>; /* "smpb" */ - qcom,id = <0x02>; - qcom,key = <0x6e726f63>; /* "corn" */ - qcom,init-value = <6>; /* Super Turbo */ - }; - - qcom,lpm-resources@1 { - reg = <0x1>; - qcom,name = "vdd-mem"; - qcom,type = <0x62706d73>; /* "smpb" */ - qcom,id = <0x01>; - qcom,key = <0x7675>; /* "uv" */ - qcom,init-value = <1050000>; /* Super Turbo */ - }; - - qcom,lpm-resources@2 { - reg = <0x2>; - qcom,name = "pxo"; - qcom,type = <0x306b6c63>; /* "clk0" */ - qcom,id = <0x00>; - qcom,key = <0x62616e45>; /* "Enab" */ - qcom,init-value = "xo_on"; - }; - - qcom,lpm-resources@3 { - reg = <0x3>; - qcom,name = "l2"; - qcom,local-resource-type; - qcom,init-value = "l2_cache_retention"; - }; - }; - - qcom,lpm-levels { - compatible = "qcom,lpm-levels"; - #address-cells = <1>; - #size-cells = <0>; - - qcom,use-qtimer; - - qcom,lpm-level@0 { - reg = <0x0>; - qcom,mode = "wfi"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_active"; - qcom,vdd-mem-upper-bound = <1050000>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <950000>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <1>; - qcom,ss-power = <715>; - qcom,energy-overhead = <17700>; - qcom,time-overhead = <2>; - }; - - qcom,lpm-level@1 { - reg = <0x1>; - qcom,mode = "retention"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_active"; - qcom,vdd-mem-upper-bound = <1050000>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <950000>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <35>; - qcom,ss-power = <542>; - qcom,energy-overhead = <34920>; - qcom,time-overhead = <40>; - }; - - - qcom,lpm-level@2 { - reg = <0x2>; - qcom,mode = "standalone_pc"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_active"; - qcom,vdd-mem-upper-bound = <1050000>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <950000>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <300>; - qcom,ss-power = <476>; - qcom,energy-overhead = <225300>; - qcom,time-overhead = <350>; - }; - - qcom,lpm-level@3 { - reg = <0x3>; - qcom,mode = "pc"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_gdhs"; - qcom,vdd-mem-upper-bound = <1050000>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <950000>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <2817>; - qcom,ss-power = <163>; - qcom,energy-overhead = <1577736>; - qcom,time-overhead = <5067>; - }; - - qcom,lpm-level@4 { - reg = <0x4>; - qcom,mode = "pc"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_pc"; - qcom,vdd-mem-upper-bound = <1050000>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <950000>; /* SVS SOC */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <3>; /* SVS SOC */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <3922>; - qcom,ss-power = <83>; - qcom,energy-overhead = <2274420>; - qcom,time-overhead = <6605>; - }; - - qcom,lpm-level@5 { - reg = <0x5>; - qcom,mode = "pc"; - qcom,xo = "xo_off"; - qcom,l2 = "l2_cache_pc"; - qcom,vdd-mem-upper-bound = <1050000>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <950000>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,latency-us = <4922>; - qcom,ss-power = <68>; - qcom,energy-overhead = <2568180>; - qcom,time-overhead = <8812>; - }; - - qcom,lpm-level@6 { - reg = <0x6>; - qcom,mode= "pc"; - qcom,xo = "xo_off"; - qcom,l2 = "l2_cache_pc"; - qcom,vdd-mem-upper-bound = <950000>; /* NORMAL */ - qcom,vdd-mem-lower-bound = <950000>; /* SVS SOC */ - qcom,vdd-dig-upper-bound = <4>; /* NORMAL */ - qcom,vdd-dig-lower-bound = <3>; /* SVS SOC */ - qcom,latency-us = <5890>; - qcom,ss-power = <60>; - qcom,energy-overhead = <2675900>; - qcom,time-overhead = <10140>; - }; - - qcom,lpm-level@7 { - reg = <0x7>; - qcom,mode= "pc"; - qcom,xo = "xo_off"; - qcom,l2 = "l2_cache_pc"; - qcom,vdd-mem-upper-bound = <950000>; /* SVS SOC */ - qcom,vdd-mem-lower-bound = <675000>; /* RETENTION */ - qcom,vdd-dig-upper-bound = <3>; /* SVS SOC */ - qcom,vdd-dig-lower-bound = <1>; /* RETENTION */ - qcom,latency-us = <8500>; - qcom,ss-power = <18>; - qcom,energy-overhead = <3286600>; - qcom,time-overhead = <15760>; - }; - }; - - qcom,pm-boot { - compatible = "qcom,pm-boot"; - qcom,mode = "tz"; - }; - - qcom,mpm@fc4281d0 { - compatible = "qcom,mpm-v2"; - reg = <0xfc4281d0 0x1000>, /* MSM_RPM_MPM_BASE 4K */ - <0xf9011008 0x4>; /* MSM_APCS_GCC_BASE 4K */ - reg-names = "vmpm", "ipc"; - interrupts = <0 171 1>; - - qcom,ipc-bit-offset = <1>; - - qcom,gic-parent = <&intc>; - qcom,gic-map = <2 216>, /* tsens_upper_lower_int */ - <47 165>, /* usb30_hs_phy_irq */ - <50 172>, /* usb1_hs_async_wakeup_irq */ - <53 104>, /* mdss_irq */ - <62 222>, /* ee0_krait_hlos_spmi_periph_irq */ - <0xff 57>, /* mss_to_apps_irq(0) */ - <0xff 58>, /* mss_to_apps_irq(1) */ - <0xff 59>, /* mss_to_apps_irq(2) */ - <0xff 60>, /* mss_to_apps_irq(3) */ - <0xff 173>, /* o_wcss_apss_smd_hi */ - <0xff 174>, /* o_wcss_apss_smd_med */ - <0xff 175>, /* o_wcss_apss_smd_low */ - <0xff 176>, /* o_wcss_apss_smsm_irq */ - <0xff 177>, /* o_wcss_apss_wlan_data_xfer_done */ - <0xff 178>, /* o_wcss_apss_wlan_rx_data_avail */ - <0xff 179>, /* o_wcss_apss_asic_intr - - <0xff 188>, /* lpass_irq_out_apcs(0) */ - <0xff 189>, /* lpass_irq_out_apcs(1) */ - <0xff 190>, /* lpass_irq_out_apcs(2) */ - <0xff 191>, /* lpass_irq_out_apcs(3) */ - <0xff 192>, /* lpass_irq_out_apcs(4) */ - <0xff 193>, /* lpass_irq_out_apcs(5) */ - <0xff 194>, /* lpass_irq_out_apcs(6) */ - <0xff 195>, /* lpass_irq_out_apcs(7) */ - <0xff 196>, /* lpass_irq_out_apcs(8) */ - <0xff 197>, /* lpass_irq_out_apcs(9) */ - <0xff 200>, /* rpm_ipc(4) */ - <0xff 201>, /* rpm_ipc(5) */ - <0xff 202>, /* rpm_ipc(6) */ - <0xff 203>, /* rpm_ipc(7) */ - <0xff 204>, /* rpm_ipc(24) */ - <0xff 205>, /* rpm_ipc(25) */ - <0xff 206>, /* rpm_ipc(26) */ - <0xff 207>, /* rpm_ipc(27) */ - <0xff 240>; /* summary_irq_kpss */ - - qcom,gpio-parent = <&msmgpio>; - qcom,gpio-map = <3 102>, - <4 1 >, - <5 5 >, - <6 9 >, - <7 18>, - <8 20>, - <9 24>, - <10 27>, - <11 28>, - <12 34>, - <13 35>, - <14 37>, - <15 42>, - <16 44>, - <17 46>, - <18 50>, - <19 54>, - <20 59>, - <21 61>, - <22 62>, - <23 64>, - <24 65>, - <25 66>, - <26 67>, - <27 68>, - <28 71>, - <29 72>, - <30 73>, - <31 74>, - <32 75>, - <33 77>, - <34 79>, - <35 80>, - <36 82>, - <37 86>, - <38 92>, - <39 93>, - <40 95>, - <41 144>; - }; - - qcom,pm-8x60@fe805664 { - compatible = "qcom,pm-8x60"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - reg = <0xfe805664 0x40>; - qcom,pc-mode = "tz_l2_int"; - qcom,use-sync-timer; - - qcom,pm-snoc-client { - compatible = "qcom,pm-snoc-client"; - qcom,msm-bus,name = "ocimem_snoc"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,active-only; - qcom,msm-bus,vectors-KBps = - <54 585 0 0>, - <54 585 0 800000>; - }; - }; - - qcom,cpu-sleep-status@f9088008{ - compatible = "qcom,cpu-sleep-status"; - reg = <0xf9088008 0x100>; - qcom,cpu-alias-addr = <0x10000>; - qcom,sleep-status-mask= <0x80000>; - }; - - qcom,rpm-log@fc19dc00 { - compatible = "qcom,rpm-log"; - reg = <0xfc19dc00 0x4000>; - qcom,rpm-addr-phys = <0xfc000000>; - qcom,offset-version = <4>; - qcom,offset-page-buffer-addr = <36>; - qcom,offset-log-len = <40>; - qcom,offset-log-len-mask = <44>; - qcom,offset-page-indices = <56>; - }; - - qcom,rpm-stats@fc19dba0 { - compatible = "qcom,rpm-stats"; - reg = <0xfc19dba0 0x1000>; - reg-names = "phys_addr_base"; - qcom,sleep-stats-version = <2>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8974-v2.dtsi b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8974-v2.dtsi deleted file mode 100644 index 96e78ac28..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8974-v2.dtsi +++ /dev/null @@ -1,138 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/* - * As a general rule, only version-specific property overrides should be placed - * inside this file. However, device definitions should be placed inside the - * msm8974.dtsi file. - */ - -/include/ "msm8974.dtsi" -/include/ "msm8974-v2-iommu.dtsi" -/include/ "msm8974-v2-iommu-domains.dtsi" -/include/ "msm8974-v2-pm.dtsi" - -&soc { - android_usb@fe8050c8 { - compatible = "qcom,android-usb"; - reg = <0xfe8050c8 0xc8>; - qcom,android-usb-swfi-latency = <1>; - }; - - qcom,msm-imem@fe805000 { - compatible = "qcom,msm-imem"; - reg = <0xfe805000 0x1000>; /* Address and size of IMEM */ - }; -}; - -/* GPU overrides */ -&msm_gpu { - /* Updated chip ID */ - qcom,chipid = <0x03030001>; - - /* Updated bus bandwidth requirements */ - qcom,msm-bus,vectors-KBps = - /* Off */ - <26 512 0 0>, <89 604 0 0>, - /* SVS */ - <26 512 0 2400000>, <89 604 0 3000000>, - /* Nominal / SVS */ - <26 512 0 4656000>, <89 604 0 3000000>, - /* Nominal */ - <26 512 0 4656000>, <89 604 0 5120000>, - /* Turbo / Nominal */ - <26 512 0 7464000>, <89 604 0 5120000>, - /* Turbo */ - <26 512 0 7464000>, <89 604 0 6400000>; -}; - -&mdss_mdp { - qcom,vbif-settings = <0x0004 0x00000001>; - - qcom,mdss-wb-off = <0x00011100 0x00011500 - 0x00011900 0x00011D00 0x00012100>; - qcom,mdss-intf-off = <0x00012500 0x00012700 - 0x00012900 0x00012b00>; - qcom,mdss-pingpong-off = <0x00012D00 0x00012E00 0x00012F00>; - qcom,mdss-has-bwc; - qcom,mdss-has-decimation; - qcom,mdss-ad-off = <0x0013100 0x00013300>; -}; - -&mdss_hdmi_tx { - reg = <0xfd922100 0x370>, - <0xfd922500 0x7C>, - <0xfc4b8000 0x60F0>; - reg-names = "core_physical", "phy_physical", "qfprom_physical"; -}; - -&msm_vidc { - qcom,vidc-ns-map = <0x40000000 0x40000000>; - qcom,load-freq-tbl = <979200 465000000>, - <783360 465000000>, - <489600 266670000>, - <244800 133330000>; - qcom,reg-presets = <0x80004 0x1>, - <0x80070 0x11FFF>, - <0x80074 0xA4>, - <0x800A8 0x1FFF>, - <0x80124 0x3>, - <0xE0020 0x5555556>, - <0xE0024 0x0>; - qcom,bus-ports = <1>; - qcom,enc-ocmem-ab-ib = <0 0>, - <138000 1034000>, - <414000 1034000>, - <940000 1034000>, - <1880000 2068000>, - <3008000 3309000>, - <3760000 4136000>, - <4468000 2457000>; - qcom,dec-ocmem-ab-ib = <0 0>, - <176000 519000>, - <456000 519000>, - <864000 519000>, - <1728000 1038000>, - <2766000 1661000>, - <3456000 2076000>, - <3662000 2198000>; - qcom,enc-ddr-ab-ib = <0 0>, - <120000 302000>, - <364000 302000>, - <804000 302000>, - <1608000 604000>, - <2576000 967000>, - <4680000 1404000>, - <49880000 1496000>; - qcom,dec-ddr-ab-ib = <0 0>, - <208000 303000>, - <536000 303000>, - <1012000 303000>, - <2024000 606000>, - <3240000 970000>, - <4048000 1212000>, - <4264000 1279000>; - qcom,iommu-groups = <&venus_domain_ns &venus_domain_sec_bitstream - &venus_domain_sec_pixel &venus_domain_sec_non_pixel>; - qcom,iommu-group-buffer-types = <0xfff 0x91 0x42 0x120>; - qcom,buffer-type-tz-usage-table = <0x91 0x1>, - <0x42 0x2>, - <0x120 0x3>; -}; - -&krait_pdn { - qcom,use-phase-switching; -}; - -&tspp { - vdd_cx-supply = <&pm8841_s2_corner>; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8974.dtsi b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8974.dtsi deleted file mode 100644 index 6f164912e..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm8974.dtsi +++ /dev/null @@ -1,1745 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/include/ "skeleton.dtsi" - -/ { - model = "Qualcomm MSM 8974"; - compatible = "qcom,msm8974"; - interrupt-parent = <&intc>; - - aliases { - spi0 = &spi_0; - spi7 = &spi_7; - sdhc1 = &sdhc_1; /* SDC1 eMMC slot */ - sdhc2 = &sdhc_2; /* SDC2 SD card slot */ - sdhc3 = &sdhc_3; /* SDC3 SDIO slot */ - sdhc4 = &sdhc_4; /* SDC4 SDIO slot */ - - /* smdtty devices */ - smd1 = &smdtty_apps_fm; - smd2 = &smdtty_apps_riva_bt_acl; - smd3 = &smdtty_apps_riva_bt_cmd; - smd4 = &smdtty_mbalbridge; - smd5 = &smdtty_apps_riva_ant_cmd; - smd6 = &smdtty_apps_riva_ant_data; - smd7 = &smdtty_data1; - smd11 = &smdtty_data11; - smd21 = &smdtty_data21; - smd27 = &smdtty_gps_nmea; - smd36 = &smdtty_loopback; - }; - - cpus { - #size-cells = <0>; - #address-cells = <1>; - - CPU0: cpu@0 { - device_type = "cpu"; - compatible = "qcom,krait"; - reg = <0x0>; - }; - - CPU1: cpu@1 { - device_type = "cpu"; - compatible = "qcom,krait"; - reg = <0x1>; - }; - - CPU2: cpu@2 { - device_type = "cpu"; - compatible = "qcom,krait"; - reg = <0x2>; - }; - - CPU3: cpu@3 { - device_type = "cpu"; - compatible = "qcom,krait"; - reg = <0x3>; - }; - }; - - memory { - secure_mem: secure_region { - linux,contiguous-region; - reg = <0 0xFC00000>; - label = "secure_mem"; - }; - - adsp_mem: adsp_region { - linux,contiguous-region; - reg = <0 0x2F00000>; - label = "adsp_mem"; - }; - - qsecom_mem: qsecom_region { - linux,contiguous-region; - reg = <0 0x1100000>; - label = "qseecom_mem"; - }; - - }; - - soc: soc { }; -}; - -/include/ "msm8974-camera.dtsi" -/include/ "msm8974-coresight.dtsi" -/include/ "msm-gdsc.dtsi" -/include/ "msm8974-ion.dtsi" -/include/ "msm8974-gpu.dtsi" -/include/ "msm8974-mdss.dtsi" -/include/ "msm8974-smp2p.dtsi" -/include/ "msm8974-bus.dtsi" - -&soc { - #address-cells = <1>; - #size-cells = <1>; - ranges; - - intc: interrupt-controller@F9000000 { - compatible = "qcom,msm-qgic2"; - interrupt-controller; - #interrupt-cells = <3>; - reg = <0xF9000000 0x1000>, - <0xF9002000 0x1000>; - }; - - msmgpio: gpio@fd510000 { - compatible = "qcom,msm-gpio"; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - reg = <0xfd510000 0x4000>; - ngpio = <146>; - interrupts = <0 208 0>; - qcom,direct-connect-irqs = <8>; - }; - - wcd9xxx_intc: wcd9xxx-irq { - compatible = "qcom,wcd9xxx-irq"; - interrupt-controller; - #interrupt-cells = <1>; - interrupt-parent = <&msmgpio>; - interrupts = <72 0>; - interrupt-names = "cdc-int"; - }; - - timer { - compatible = "arm,armv7-timer"; - interrupts = <1 2 0 1 3 0>; - clock-frequency = <19200000>; - }; - - 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 8 0x4>, - <0 7 0x4>; - reg = <0xf9021000 0x1000>, - <0xf9022000 0x1000>; - }; - - frame@f9023000 { - frame-number = <1>; - interrupts = <0 9 0x4>; - reg = <0xf9023000 0x1000>; - status = "disabled"; - }; - - frame@f9024000 { - frame-number = <2>; - interrupts = <0 10 0x4>; - reg = <0xf9024000 0x1000>; - status = "disabled"; - }; - - frame@f9025000 { - frame-number = <3>; - interrupts = <0 11 0x4>; - reg = <0xf9025000 0x1000>; - status = "disabled"; - }; - - frame@f9026000 { - frame-number = <4>; - interrupts = <0 12 0x4>; - reg = <0xf9026000 0x1000>; - status = "disabled"; - }; - - frame@f9027000 { - frame-number = <5>; - interrupts = <0 13 0x4>; - reg = <0xf9027000 0x1000>; - status = "disabled"; - }; - - frame@f9028000 { - frame-number = <6>; - interrupts = <0 14 0x4>; - reg = <0xf9028000 0x1000>; - status = "disabled"; - }; - }; - - - qcom,mpm2-sleep-counter@fc4a3000 { - compatible = "qcom,mpm2-sleep-counter"; - reg = <0xfc4a3000 0x1000>; - clock-frequency = <32768>; - }; - - msm_vidc: qcom,vidc@fdc00000 { - compatible = "qcom,msm-vidc"; - reg = <0xfdc00000 0xff000>; - interrupts = <0 44 0>; - qcom,hfi = "venus"; - qcom,has-ocmem; - qcom,max-hw-load = <1224450>; /* 4k @ 30 + 1080p @ 30*/ - }; - - qcom,vidc { - compatible = "qcom,msm-vidc"; - qcom,hfi = "q6"; - qcom,max-hw-load = <108000>; /* 720p @ 30 */ - }; - - qcom,wfd { - compatible = "qcom,msm-wfd"; - }; - - serial@f991f000 { - compatible = "qcom,msm-lsuart-v14"; - reg = <0xf991f000 0x1000>; - interrupts = <0 109 0>; - status = "disabled"; - }; - - serial@f995e000 { - compatible = "qcom,msm-lsuart-v14"; - reg = <0xf995e000 0x1000>; - interrupts = <0 114 0>; - status = "disabled"; - }; - - serial@f991e000 { - compatible = "qcom,msm-lsuart-v14"; - reg = <0xf991e000 0x1000>; - interrupts = <0 108 0>; - status = "disabled"; - - qcom,msm-bus,name = "serial_uart2"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <86 512 0 0>, - <86 512 500 800>; - }; - - usb_otg: usb@f9a55000 { - compatible = "qcom,hsusb-otg"; - status = "disabled"; - - reg = <0xf9a55000 0x400>; - interrupts = <0 134 0 0 140 0>; - interrupt-names = "core_irq", "async_irq"; - HSUSB_VDDCX-supply = <&pm8841_s2_corner>; - HSUSB_1p8-supply = <&pm8941_l6>; - HSUSB_3p3-supply = <&pm8941_l24>; - qcom,vdd-voltage-level = <1 5 7>; - - 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>; - qcom,hsusb-otg-disable-reset; - - qcom,msm-bus,name = "usb2"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <87 512 0 0>, - <87 512 60000 960000>; - }; - - sdcc1: qcom,sdcc@f9824000 { - cell-index = <1>; /* SDC1 eMMC slot */ - compatible = "qcom,msm-sdcc"; - reg = <0xf9824000 0x800>, - <0xf9824800 0x100>, - <0xf9804000 0x7000>; - reg-names = "core_mem", "dml_mem", "bam_mem"; - interrupts = <0 123 0>, <0 137 0>; - interrupt-names = "core_irq", "bam_irq"; - vdd-supply = <&pm8941_l20>; - vdd-io-supply = <&pm8941_s3>; - - qcom,vdd-always-on; - qcom,vdd-lpm-sup; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <800 500000>; - - qcom,vdd-io-always-on; - qcom,vdd-io-voltage-level = <1800000 1800000>; - qcom,vdd-io-current-level = <250 154000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 20000000 25000000 50000000 100000000 200000000>; - qcom,sup-voltages = <2950 2950>; - qcom,bus-width = <8>; - qcom,nonremovable; - qcom,bus-speed-mode = "HS200_1p8v", "DDR_1p8v"; - - qcom,msm-bus,name = "sdcc1"; - qcom,msm-bus,num-cases = <8>; - 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 800000 1600000>, /* 200 MB/s */ - <78 512 2048000 4096000>; /* Max. bandwidth */ - qcom,bus-bw-vectors-bps = <0 400000 20000000 25000000 50000000 100000000 200000000 4294967295>; - qcom,dat1-mpm-int = <42>; - status = "disable"; - }; - - sdcc2: qcom,sdcc@f98a4000 { - cell-index = <2>; /* SDC2 SD card slot */ - compatible = "qcom,msm-sdcc"; - reg = <0xf98a4000 0x800>, - <0xf98a4800 0x100>, - <0xf9884000 0x7000>; - reg-names = "core_mem", "dml_mem", "bam_mem"; - interrupts = <0 125 0>, <0 220 0>; - interrupt-names = "core_irq", "bam_irq"; - vdd-supply = <&pm8941_l21>; - vdd-io-supply = <&pm8941_l13>; - - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <9000 800000>; - - qcom,vdd-io-voltage-level = <1800000 2950000>; - qcom,vdd-io-current-level = <6 22000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 20000000 25000000 50000000 100000000 200000000>; - qcom,sup-voltages = <2950 2950>; - qcom,bus-width = <4>; - qcom,xpc; - qcom,bus-speed-mode = "SDR12", "SDR25", "SDR50", "DDR50", "SDR104"; - qcom,current-limit = <800>; - - qcom,msm-bus,name = "sdcc2"; - 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 1600000>, /* 200 MB/s */ - <81 512 2048000 4096000>; /* Max. bandwidth */ - qcom,bus-bw-vectors-bps = <0 400000 20000000 25000000 50000000 100000000 200000000 4294967295>; - qcom,dat1-mpm-int = <44>; - status = "disable"; - }; - - sdcc3: qcom,sdcc@f9864000 { - cell-index = <3>; /* SDC3 SDIO slot */ - compatible = "qcom,msm-sdcc"; - reg = <0xf9864000 0x800>, - <0xf9864800 0x100>, - <0xf9844000 0x7000>; - reg-names = "core_mem", "dml_mem", "bam_mem"; - #address-cells = <0>; - interrupt-parent = <&sdcc3>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 127 0 - 1 &intc 0 223 0 - 2 &msmgpio 37 0x8>; - interrupt-names = "core_irq", "bam_irq", "sdiowakeup_irq"; - - gpios = <&msmgpio 40 0>, /* CLK */ - <&msmgpio 39 0>, /* CMD */ - <&msmgpio 38 0>, /* DATA0 */ - <&msmgpio 37 0>, /* DATA1 */ - <&msmgpio 36 0>, /* DATA2 */ - <&msmgpio 35 0>; /* DATA3 */ - qcom,gpio-names = "CLK", "CMD", "DAT0", "DAT1", "DAT2", "DAT3"; - - qcom,clk-rates = <400000 20000000 25000000 50000000 100000000>; - qcom,sup-voltages = <1800 1800>; - qcom,bus-width = <4>; - qcom,bus-speed-mode = "SDR12", "SDR25", "SDR50", "DDR50"; - - qcom,msm-bus,name = "sdcc3"; - 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 1600000>, /* 200 MB/s */ - <79 512 2048000 4096000>; /* Max. bandwidth */ - qcom,bus-bw-vectors-bps = <0 400000 20000000 25000000 50000000 100000000 200000000 4294967295>; - status = "disable"; - }; - - sdcc4: qcom,sdcc@f98e4000 { - cell-index = <4>; /* SDC4 SDIO slot */ - compatible = "qcom,msm-sdcc"; - reg = <0xf98e4000 0x800>, - <0xf98e4800 0x100>, - <0xf98c4000 0x7000>; - reg-names = "core_mem", "dml_mem", "bam_mem"; - #address-cells = <0>; - interrupt-parent = <&sdcc4>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 129 0 - 1 &intc 0 226 0 - 2 &msmgpio 95 0x8>; - interrupt-names = "core_irq", "bam_irq", "sdiowakeup_irq"; - - gpios = <&msmgpio 93 0>, /* CLK */ - <&msmgpio 91 0>, /* CMD */ - <&msmgpio 96 0>, /* DATA0 */ - <&msmgpio 95 0>, /* DATA1 */ - <&msmgpio 94 0>, /* DATA2 */ - <&msmgpio 92 0>; /* DATA3 */ - qcom,gpio-names = "CLK", "CMD", "DAT0", "DAT1", "DAT2", "DAT3"; - - qcom,clk-rates = <400000 20000000 25000000 50000000 100000000>; - qcom,sup-voltages = <1800 1800>; - qcom,bus-width = <4>; - qcom,bus-speed-mode = "SDR12", "SDR25", "SDR50", "DDR50"; - - qcom,msm-bus,name = "sdcc4"; - qcom,msm-bus,num-cases = <8>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = <80 512 0 0>, /* No vote */ - <80 512 1600 3200>, /* 400 KB/s*/ - <80 512 80000 160000>, /* 20 MB/s */ - <80 512 100000 200000>, /* 25 MB/s */ - <80 512 200000 400000>, /* 50 MB/s */ - <80 512 400000 800000>, /* 100 MB/s */ - <80 512 800000 1600000>, /* 200 MB/s */ - <80 512 2048000 4096000>; /* Max. bandwidth */ - qcom,bus-bw-vectors-bps = <0 400000 20000000 25000000 50000000 100000000 200000000 4294967295>; - status = "disable"; - }; - - sdhc_1: sdhci@f9824900 { - qcom,bus-width = <8>; - compatible = "qcom,sdhci-msm"; - reg = <0xf9824900 0x11c>, <0xf9824000 0x800>; - reg-names = "hc_mem", "core_mem"; - interrupts = <0 123 0>, <0 138 0>; - interrupt-names = "hc_irq", "pwr_irq"; - qcom,clk-rates = <400000 20000000 25000000 50000000 100000000 200000000>; - qcom,bus-speed-mode = "HS200_1p8v", "DDR_1p8v"; - qcom,cpu-dma-latency-us = <200>; - - qcom,msm-bus,name = "sdhc1"; - qcom,msm-bus,num-cases = <8>; - 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 800000 1600000>, /* 200 MB/s */ - <78 512 2048000 4096000>; /* Max. bandwidth */ - qcom,bus-bw-vectors-bps = <0 400000 20000000 25000000 50000000 100000000 200000000 4294967295>; - status = "disable"; - }; - - 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"; - - qcom,clk-rates = <400000 20000000 25000000 50000000 100000000 200000000>; - qcom,bus-width = <4>; - qcom,cpu-dma-latency-us = <200>; - - 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 1600000>, /* 200 MB/s */ - <81 512 2048000 4096000>; /* Max. bandwidth */ - qcom,bus-bw-vectors-bps = <0 400000 20000000 25000000 50000000 100000000 200000000 4294967295>; - status = "disable"; - }; - - 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"; - gpios = <&msmgpio 40 0>, /* CLK */ - <&msmgpio 39 0>, /* CMD */ - <&msmgpio 38 0>, /* DATA0 */ - <&msmgpio 37 0>, /* DATA1 */ - <&msmgpio 36 0>, /* DATA2 */ - <&msmgpio 35 0>; /* DATA3 */ - qcom,gpio-names = "CLK", "CMD", "DAT0", "DAT1", "DAT2", "DAT3"; - - qcom,clk-rates = <400000 20000000 25000000 50000000 100000000>; - qcom,bus-width = <4>; - qcom,cpu-dma-latency-us = <200>; - - 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 1600000>, /* 200 MB/s */ - <79 512 2048000 4096000>; /* Max. bandwidth */ - qcom,bus-bw-vectors-bps = <0 400000 20000000 25000000 50000000 100000000 200000000 4294967295>; - status = "disable"; - }; - - sdhc_4: sdhci@f98e4900 { - compatible = "qcom,sdhci-msm"; - reg = <0xf98e4900 0x11c>, <0xf98e4000 0x800>; - reg-names = "hc_mem", "core_mem"; - interrupts = <0 129 0>, <0 227 0>; - interrupt-names = "hc_irq", "pwr_irq"; - gpios = <&msmgpio 93 0>, /* CLK */ - <&msmgpio 91 0>, /* CMD */ - <&msmgpio 96 0>, /* DATA0 */ - <&msmgpio 95 0>, /* DATA1 */ - <&msmgpio 94 0>, /* DATA2 */ - <&msmgpio 92 0>; /* DATA3 */ - qcom,gpio-names = "CLK", "CMD", "DAT0", "DAT1", "DAT2", "DAT3"; - - qcom,clk-rates = <400000 20000000 25000000 50000000 100000000>; - qcom,bus-width = <4>; - qcom,cpu-dma-latency-us = <200>; - - qcom,msm-bus,name = "sdhc4"; - qcom,msm-bus,num-cases = <8>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = <80 512 0 0>, /* No vote */ - <80 512 1600 3200>, /* 400 KB/s*/ - <80 512 80000 160000>, /* 20 MB/s */ - <80 512 100000 200000>, /* 25 MB/s */ - <80 512 200000 400000>, /* 50 MB/s */ - <80 512 400000 800000>, /* 100 MB/s */ - <80 512 800000 1600000>, /* 200 MB/s */ - <80 512 2048000 4096000>; /* Max. bandwidth */ - qcom,bus-bw-vectors-bps = <0 400000 20000000 25000000 50000000 100000000 200000000 4294967295>; - status = "disable"; - }; - - qcom,sps@f9980000 { - compatible = "qcom,msm_sps"; - reg = <0xf9984000 0x15000>, - <0xf9999000 0xb000>; - interrupts = <0 94 0>; - - qcom,bam-dma-res-pipes = <6>; - }; - - spi_7: spi_epm: spi@f9966000 { - compatible = "qcom,spi-qup-v2"; - reg = <0xf9966000 0x1000>; - interrupts = <0 104 0>; - spi-max-frequency = <19200000>; - #address-cells = <1>; - #size-cells = <0>; - gpios = <&msmgpio 56 0>, /* CLK */ - <&msmgpio 54 0>, /* MISO */ - <&msmgpio 53 0>; /* MOSI */ - cs-gpios = <&msmgpio 55 0>; - qcom,master-id = <84>; - }; - - tspp: msm_tspp@f99d8000 { - compatible = "qcom,msm_tspp"; - cell-index = <0>; - reg = <0xf99d8000 0x1000>, /* MSM_TSIF0_PHYS */ - <0xf99d9000 0x1000>, /* MSM_TSIF1_PHYS */ - <0xf99da000 0x1000>, /* MSM_TSPP_PHYS */ - <0xf99c4000 0x14000>; /* MSM_TSPP_BAM_PHYS */ - reg-names = "MSM_TSIF0_PHYS", - "MSM_TSIF1_PHYS", - "MSM_TSPP_PHYS", - "MSM_TSPP_BAM_PHYS"; - interrupts = <0 153 0>, /* TSIF_TSPP_IRQ */ - <0 151 0>, /* TSIF0_IRQ */ - <0 152 0>, /* TSIF1_IRQ */ - <0 154 0>; /* TSIF_BAM_IRQ */ - interrupt-names = "TSIF_TSPP_IRQ", - "TSIF0_IRQ", - "TSIF1_IRQ", - "TSIF_BAM_IRQ"; - qcom,tsif-pclk = "iface_clk"; - qcom,tsif-ref-clk = "ref_clk"; - gpios = <&msmgpio 89 0>, /* TSIF0 CLK */ - <&msmgpio 90 0>, /* TSIF0 EN */ - <&msmgpio 91 0>, /* TSIF0 DATA */ - <&msmgpio 92 0>, /* TSIF0 SYNC */ - <&msmgpio 93 0>, /* TSIF1 CLK */ - <&msmgpio 94 0>, /* TSIF1 EN */ - <&msmgpio 95 0>, /* TSIF1 DATA */ - <&msmgpio 96 0>; /* TSIF1 SYNC */ - qcom,gpio-names = "tsif_clk", - "tsif_en", - "tsif_data", - "tsif_sync", - "tsif_clk", - "tsif_en", - "tsif_data", - "tsif_sync"; - qcom,gpios-func = <1>; - - qcom,msm-bus,name = "tsif"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,active-only = <0>; - 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 */ - }; - - slim_msm: slim@fe12f000 { - cell-index = <1>; - compatible = "qcom,slim-ngd"; - reg = <0xfe12f000 0x35000>, - <0xfe104000 0x20000>; - reg-names = "slimbus_physical", "slimbus_bam_physical"; - interrupts = <0 163 0 0 164 0>; - interrupt-names = "slimbus_irq", "slimbus_bam_irq"; - - taiko_codec { - compatible = "qcom,taiko-slim-pgd"; - elemental-addr = [00 01 A0 00 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>; - - qcom,cdc-reset-gpio = <&msmgpio 63 0>; - - cdc-vdd-buck-supply = <&pm8941_s2>; - qcom,cdc-vdd-buck-voltage = <2150000 2150000>; - qcom,cdc-vdd-buck-current = <650000>; - - cdc-vdd-tx-h-supply = <&pm8941_s3>; - qcom,cdc-vdd-tx-h-voltage = <1800000 1800000>; - qcom,cdc-vdd-tx-h-current = <25000>; - - cdc-vdd-rx-h-supply = <&pm8941_s3>; - qcom,cdc-vdd-rx-h-voltage = <1800000 1800000>; - qcom,cdc-vdd-rx-h-current = <25000>; - - cdc-vddpx-1-supply = <&pm8941_s3>; - qcom,cdc-vddpx-1-voltage = <1800000 1800000>; - qcom,cdc-vddpx-1-current = <10000>; - - cdc-vdd-a-1p2v-supply = <&pm8941_l1>; - qcom,cdc-vdd-a-1p2v-voltage = <1225000 1225000>; - qcom,cdc-vdd-a-1p2v-current = <10000>; - - cdc-vddcx-1-supply = <&pm8941_l1>; - qcom,cdc-vddcx-1-voltage = <1225000 1225000>; - qcom,cdc-vddcx-1-current = <10000>; - - cdc-vddcx-2-supply = <&pm8941_l1>; - qcom,cdc-vddcx-2-voltage = <1225000 1225000>; - qcom,cdc-vddcx-2-current = <10000>; - - 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>; - qcom,cdc-micbias-cfilt2-mv = <2700>; - 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 = "taiko-slim-ifd"; - qcom,cdc-slim-ifd-elemental-addr = [00 00 A0 00 17 02]; - qcom,cdc-dmic-sample-rate = <4800000>; - }; - }; - - sound { - compatible = "qcom,msm8974-audio-taiko"; - qcom,model = "msm8974-taiko-snd-card"; - - qcom,audio-routing = - "RX_BIAS", "MCLK", - "LDO_H", "MCLK", - "AIF4 MAD", "MCLK", - "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"; - - qcom,cdc-mclk-gpios = <&pm8941_gpios 15 0>; - qcom,taiko-mclk-clk-freq = <9600000>; - qcom,prim-auxpcm-gpio-clk = <&msmgpio 65 0>; - qcom,prim-auxpcm-gpio-sync = <&msmgpio 66 0>; - qcom,prim-auxpcm-gpio-din = <&msmgpio 67 0>; - qcom,prim-auxpcm-gpio-dout = <&msmgpio 68 0>; - qcom,prim-auxpcm-gpio-set = "prim-gpio-prim"; - qcom,sec-auxpcm-gpio-clk = <&msmgpio 79 0>; - qcom,sec-auxpcm-gpio-sync = <&msmgpio 80 0>; - qcom,sec-auxpcm-gpio-din = <&msmgpio 81 0>; - qcom,sec-auxpcm-gpio-dout = <&msmgpio 82 0>; - }; - - spmi_bus: qcom,spmi@fc4c0000 { - cell-index = <0>; - 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-ee = <0>; - qcom,pmic-arb-channel = <0>; - }; - - i2c_0: i2c@f9967000 { /* BLSP#11 */ - cell-index = <0>; - compatible = "qcom,i2c-qup"; - reg = <0Xf9967000 0x1000>; - #address-cells = <1>; - #size-cells = <0>; - reg-names = "qup_phys_addr"; - interrupts = <0 105 0>; - interrupt-names = "qup_err_intr"; - qcom,i2c-bus-freq = <100000>; - qcom,i2c-src-freq = <50000000>; - qcom,master-id = <84>; - }; - - i2c_1: i2c@f9923000 { - cell-index = <1>; - compatible = "qcom,i2c-qup"; - reg = <0xf9923000 0x1000>; - #address-cells = <1>; - #size-cells = <0>; - reg-names = "qup_phys_addr"; - interrupts = <0 95 0>; - interrupt-names = "qup_err_intr"; - qcom,i2c-bus-freq = <100000>; - qcom,i2c-src-freq = <19200000>; - qcom,scl-gpio = <&msmgpio 3 0>; - qcom,sda-gpio = <&msmgpio 2 0>; - qcom,master-id = <86>; - status = "disabled"; - }; - - i2c_2: i2c@f9924000 { - cell-index = <2>; - compatible = "qcom,i2c-qup"; - reg = <0xf9924000 0x1000>; - #address-cells = <1>; - #size-cells = <0>; - reg-names = "qup_phys_addr"; - interrupts = <0 96 0>; - interrupt-names = "qup_err_intr"; - qcom,i2c-bus-freq = <100000>; - qcom,i2c-src-freq = <50000000>; - qcom,master-id = <86>; - }; - - spi_0: spi@f9923000 { - compatible = "qcom,spi-qup-v2"; - reg = <0xf9923000 0x1000>; - interrupts = <0 95 0>; - spi-max-frequency = <19200000>; - #address-cells = <1>; - #size-cells = <0>; - gpios = <&msmgpio 3 0>, /* CLK */ - <&msmgpio 1 0>, /* MISO */ - <&msmgpio 0 0>; /* MOSI */ - cs-gpios = <&msmgpio 9 0>; - qcom,master-id = <86>; - }; - - qcom,acpuclk@f9000000 { - compatible = "qcom,acpuclk-8974"; - krait0-supply = <&krait0_vreg>; - krait1-supply = <&krait1_vreg>; - krait2-supply = <&krait2_vreg>; - krait3-supply = <&krait3_vreg>; - krait0_mem-supply = <&pm8841_s1_ao>; - krait1_mem-supply = <&pm8841_s1_ao>; - krait2_mem-supply = <&pm8841_s1_ao>; - krait3_mem-supply = <&pm8841_s1_ao>; - krait0_dig-supply = <&pm8841_s2_corner_ao>; - krait1_dig-supply = <&pm8841_s2_corner_ao>; - krait2_dig-supply = <&pm8841_s2_corner_ao>; - krait3_dig-supply = <&pm8841_s2_corner_ao>; - krait0_hfpll-supply = <&pm8941_l12_ao>; - krait1_hfpll-supply = <&pm8941_l12_ao>; - krait2_hfpll-supply = <&pm8941_l12_ao>; - krait3_hfpll-supply = <&pm8941_l12_ao>; - l2_hfpll-supply = <&pm8941_l12_ao>; - }; - - usb3: qcom,ssusb@f9200000 { - compatible = "qcom,dwc-usb3-msm"; - reg = <0xf9200000 0xfc000>, - <0xfd4ab000 0x4>; - #address-cells = <1>; - #size-cells = <1>; - ranges; - interrupts = <0 133 0>; - interrupt-names = "hs_phy_irq"; - ssusb_vdd_dig-supply = <&pm8841_s2_corner>; - SSUSB_1p8-supply = <&pm8941_l6>; - hsusb_vdd_dig-supply = <&pm8841_s2_corner>; - HSUSB_1p8-supply = <&pm8941_l6>; - HSUSB_3p3-supply = <&pm8941_l24>; - vbus_dwc3-supply = <&pm8941_mvs1>; - qcom,dwc-usb3-msm-dbm-eps = <4>; - qcom,vdd-voltage-level = <1 5 7>; - qcom,dwc-hsphy-init = <0x00D195A4>; - - 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>; - dwc3@f9200000 { - compatible = "synopsys,dwc3"; - reg = <0xf9200000 0xfc000>; - interrupt-parent = <&intc>; - interrupts = <0 131 0>, <0 179 0>; - interrupt-names = "irq", "otg_irq"; - tx-fifo-resize; - }; - }; - - ehci: qcom,ehci-host@f9a55000 { - compatible = "qcom,ehci-host"; - status = "disabled"; - reg = <0xf9a55000 0x400>; - interrupts = <0 134 0>, <0 140 0>; - interrupt-names = "core_irq", "async_irq"; - HSUSB_VDDCX-supply = <&pm8841_s2>; - HSUSB_1p8-supply = <&pm8941_l6>; - HSUSB_3p3-supply = <&pm8941_l24>; - qcom,usb2-enable-hsphy2; - qcom,usb2-power-budget = <500>; - }; - - gdsc_oxili_gx: qcom,gdsc@fd8c4024 { - parent-supply = <&pm8841_s4_corner>; - }; - - qcom,lpass@fe200000 { - compatible = "qcom,pil-q6v5-lpass"; - reg = <0xfe200000 0x00100>, - <0xfd485100 0x00010>, - <0xfc4016c0 0x00004>; - reg-names = "qdsp6_base", "halt_base", "restart_reg"; - vdd_cx-supply = <&pm8841_s2_corner>; - interrupts = <0 162 1>; - - 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>; - - /* GPIO output to lpass */ - qcom,gpio-force-stop = <&smp2pgpio_ssr_smp2p_2_out 0 0>; - }; - - qcom,msm-adsp-loader { - compatible = "qcom,adsp-loader"; - qcom,adsp-state = <0>; - }; - - qcom,msm-audio-ion { - compatible = "qcom,msm-audio-ion"; - }; - - qcom,msm-pcm { - compatible = "qcom,msm-pcm-dsp"; - qcom,msm-pcm-dsp-id = <0>; - }; - - qcom,msm-pcm-low-latency { - compatible = "qcom,msm-pcm-dsp"; - qcom,msm-pcm-dsp-id = <1>; - qcom,msm-pcm-low-latency; - }; - - qcom,msm-pcm-routing { - compatible = "qcom,msm-pcm-routing"; - }; - - qcom,msm-pcm-lpa { - compatible = "qcom,msm-pcm-lpa"; - }; - - qcom,msm-compr-dsp { - compatible = "qcom,msm-compr-dsp"; - }; - - qcom,msm-voip-dsp { - compatible = "qcom,msm-voip-dsp"; - }; - - qcom,msm-pcm-voice { - compatible = "qcom,msm-pcm-voice"; - }; - - qcom,msm-stub-codec { - compatible = "qcom,msm-stub-codec"; - }; - - qcom,msm-dai-fe { - compatible = "qcom,msm-dai-fe"; - }; - - qcom,msm-pcm-afe { - compatible = "qcom,msm-pcm-afe"; - }; - - qcom,msm-dai-q6-hdmi { - compatible = "qcom,msm-dai-q6-hdmi"; - qcom,msm-dai-q6-dev-id = <8>; - }; - - qcom,msm-lsm-client { - compatible = "qcom,msm-lsm-client"; - }; - - qcom,msm-dai-q6 { - compatible = "qcom,msm-dai-q6"; - qcom,msm-dai-q6-sb-0-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <16384>; - }; - - qcom,msm-dai-q6-sb-0-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <16385>; - }; - - qcom,msm-dai-q6-sb-1-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <16386>; - }; - - qcom,msm-dai-q6-sb-1-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <16387>; - }; - - qcom,msm-dai-q6-sb-2-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <16388>; - }; - - qcom,msm-dai-q6-sb-2-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <16389>; - }; - - qcom,msm-dai-q6-sb-3-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <16390>; - }; - - qcom,msm-dai-q6-sb-3-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <16391>; - }; - - qcom,msm-dai-q6-sb-4-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <16392>; - }; - - qcom,msm-dai-q6-sb-4-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <16393>; - }; - - qcom,msm-dai-q6-sb-5-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <16395>; - }; - - qcom,msm-dai-q6-bt-sco-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <12288>; - }; - - qcom,msm-dai-q6-bt-sco-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <12289>; - }; - - qcom,msm-dai-q6-int-fm-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <12292>; - }; - - qcom,msm-dai-q6-int-fm-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <12293>; - }; - - qcom,msm-dai-q6-be-afe-pcm-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <224>; - }; - - qcom,msm-dai-q6-be-afe-pcm-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <225>; - }; - - qcom,msm-dai-q6-afe-proxy-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <241>; - }; - - qcom,msm-dai-q6-afe-proxy-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <240>; - }; - - qcom,msm-dai-q6-incall-record-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <32771>; - }; - - qcom,msm-dai-q6-incall-record-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <32772>; - }; - - qcom,msm-dai-q6-incall-music-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <32773>; - }; - }; - - qcom,msm-auxpcm { - compatible = "qcom,msm-auxpcm-resource"; - qcom,msm-cpudai-auxpcm-clk = "pcm_clk"; - 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-slot = <1>, <1>; - qcom,msm-cpudai-auxpcm-data = <0>, <0>; - qcom,msm-cpudai-auxpcm-pcm-clk-rate = <2048000>, <2048000>; - - qcom,msm-prim-auxpcm-rx { - qcom,msm-auxpcm-dev-id = <4106>; - compatible = "qcom,msm-auxpcm-dev"; - }; - - qcom,msm-prim-auxpcm-tx { - qcom,msm-auxpcm-dev-id = <4107>; - compatible = "qcom,msm-auxpcm-dev"; - }; - - qcom,msm-sec-auxpcm-rx { - qcom,msm-auxpcm-dev-id = <4108>; - compatible = "qcom,msm-auxpcm-dev"; - }; - - qcom,msm-sec-auxpcm-tx { - qcom,msm-auxpcm-dev-id = <4109>; - compatible = "qcom,msm-auxpcm-dev"; - }; - }; - - qcom,msm-dai-mi2s { - compatible = "qcom,msm-dai-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>; - }; - }; - - qcom,msm-pcm-hostless { - compatible = "qcom,msm-pcm-hostless"; - }; - - qcom,msm-ocmem-audio { - compatible = "qcom,msm-ocmem-audio"; - qcom,msm-bus,name = "audio-ocmem"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <11 604 0 0>, - <11 604 32506 32506>; - }; - - qcom,msm-adsp-sensors { - compatible = "qcom,msm-adsp-sensors"; - qcom,src-id = <11>; - qcom,dst-id = <604>; - qcom,ab = <32505856>; - qcom,ib = <32505856>; - }; - - qcom,mss@fc880000 { - compatible = "qcom,pil-q6v5-mss"; - reg = <0xfc880000 0x100>, - <0xfd485000 0x400>, - <0xfc820000 0x020>, - <0xfc401680 0x004>; - reg-names = "qdsp6_base", "halt_base", "rmb_base", - "restart_reg"; - - interrupts = <0 24 1>; - vdd_mss-supply = <&pm8841_s3>; - vdd_cx-supply = <&pm8841_s2_corner>; - vdd_mx-supply = <&pm8841_s1>; - vdd_pll-supply = <&pm8941_l12>; - qcom,vdd_pll = <1800000>; - qcom,firmware-name = "mba"; - qcom,pil-self-auth; - - /* 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>; - }; - - qcom,pronto@fb21b000 { - compatible = "qcom,pil-pronto"; - reg = <0xfb21b000 0x3000>, - <0xfc401700 0x4>, - <0xfd485300 0xc>; - reg-names = "pmu_base", "clk_base", "halt_base"; - interrupts = <0 149 1>; - vdd_pronto_pll-supply = <&pm8941_l12>; - - qcom,firmware-name = "wcnss"; - - /* GPIO inputs from wcnss */ - qcom,gpio-err-fatal = <&smp2pgpio_ssr_smp2p_4_in 0 0>; - qcom,gpio-err-ready = <&smp2pgpio_ssr_smp2p_4_in 1 0>; - qcom,gpio-proxy-unvote = <&smp2pgpio_ssr_smp2p_4_in 2 0>; - - /* GPIO output to wcnss */ - qcom,gpio-force-stop = <&smp2pgpio_ssr_smp2p_4_out 0 0>; - }; - - qcom,iris-fm { - compatible = "qcom,iris_fm"; - }; - - qcom,wcnss-wlan@fb000000 { - compatible = "qcom,wcnss_wlan"; - reg = <0xfb000000 0x280000>, - <0xf9011008 0x04>; - reg-names = "wcnss_mmio", "wcnss_fiq"; - interrupts = <0 145 0 0 146 0>; - interrupt-names = "wcnss_wlantx_irq", "wcnss_wlanrx_irq"; - - qcom,pronto-vddmx-supply = <&pm8841_s1>; - qcom,pronto-vddcx-supply = <&pm8841_s2>; - qcom,pronto-vddpx-supply = <&pm8941_s3>; - qcom,iris-vddxo-supply = <&pm8941_l6>; - qcom,iris-vddrfa-supply = <&pm8941_l11>; - qcom,iris-vddpa-supply = <&pm8941_l19>; - qcom,iris-vdddig-supply = <&pm8941_l3>; - - gpios = <&msmgpio 36 0>, <&msmgpio 37 0>, <&msmgpio 38 0>, <&msmgpio 39 0>, <&msmgpio 40 0>; - qcom,has-48mhz-xo; - qcom,has-pronto-hw; - }; - - qcom,ocmem@fdd00000 { - compatible = "qcom,msm-ocmem"; - reg = <0xfdd00000 0x2000>, - <0xfdd02000 0x2000>, - <0xfe039000 0x400>, - <0xfec00000 0x180000>; - 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 = <0x3>; - qcom,ocmem-num-macros = <0x18>; - qcom,resource-type = <0x706d636f>; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0x0 0xfec00000 0x180000>; - - partition@0 { - reg = <0x0 0x100000>; - qcom,ocmem-part-name = "graphics"; - qcom,ocmem-part-min = <0x80000>; - }; - - partition@80000 { - reg = <0x100000 0x80000>; - qcom,ocmem-part-name = "lp_audio"; - qcom,ocmem-part-min = <0x80000>; - }; - - partition@100000 { - reg = <0x100000 0x80000>; - qcom,ocmem-part-name = "video"; - qcom,ocmem-part-min = <0x55000>; - }; - - }; - - 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>; - }; - - qseecom: qcom,qseecom@7f00000 { - compatible = "qcom,qseecom"; - reg = <0x7f00000 0x500000>; - reg-names = "secapp-region"; - qcom,disk-encrypt-pipe-pair = <2>; - qcom,hlos-ce-hw-instance = <1>; - 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,msm-bus,vectors-KBps = - <55 512 0 0>, - <55 512 3936000 393600>, - <55 512 3936000 393600>, - <55 512 3936000 393600>; - }; - - qcom,wdt@f9017000 { - compatible = "qcom,msm-watchdog"; - reg = <0xf9017000 0x1000>; - interrupts = <0 3 0>, <0 4 0>; - qcom,bark-time = <11000>; - qcom,pet-time = <10000>; - qcom,ipi-ping; - }; - - qcom,tz-log@fe805720 { - compatible = "qcom,tz-log"; - reg = <0xfe805720 0x1000>; - }; - - qcom,venus@fdce0000 { - compatible = "qcom,pil-venus"; - reg = <0xfdce0000 0x4000>, - <0xfdc80000 0x400>; - reg-names = "wrapper_base", "vbif_base"; - vdd-supply = <&gdsc_venus>; - - qcom,firmware-name = "venus"; - }; - - qcom,cache_erp@f9012000 { - reg = <0xf9012000 0x80>, - <0xf9089000 0x80>, - <0xf9099000 0x80>, - <0xf90a9000 0x80>, - <0xf90b9000 0x80>, - <0xf9088000 0x40>, - <0xf9098000 0x40>, - <0xf90a8000 0x40>, - <0xf90b8000 0x40>; - - reg-names = "l2_saw", - "krait0_saw", - "krait1_saw", - "krait2_saw", - "krait3_saw", - "krait0_acs", - "krait1_acs", - "krait2_acs", - "krait3_acs"; - - compatible = "qcom,cache_erp"; - interrupts = <1 9 0>, <0 2 0>; - interrupt-names = "l1_irq", "l2_irq"; - }; - - qcom,cache_dump { - compatible = "qcom,cache_dump"; - qcom,l1-dump-size = <0x100000>; - qcom,l2-dump-size = <0x500000>; - qcom,memory-reservation-type = "EBI1"; - qcom,memory-reservation-size = <0x600000>; /* 6M EBI1 buffer */ - }; - - tsens: tsens@fc4a8000 { - compatible = "qcom,msm-tsens"; - reg = <0xfc4a8000 0x2000>, - <0xfc4b8000 0x1000>; - reg-names = "tsens_physical", "tsens_eeprom_physical"; - interrupts = <0 184 0>; - qcom,sensors = <11>; - qcom,slope = <3200 3200 3200 3200 3200 3200 3200 3200 3200 - 3200 3200>; - qcom,calib-mode = "fuse_map1"; - }; - - qcom,msm-rtb { - compatible = "qcom,msm-rtb"; - qcom,memory-reservation-type = "EBI1"; - qcom,memory-reservation-size = <0x100000>; /* 1M EBI1 buffer */ - }; - - qcom,msm-contig-mem { - compatible = "qcom,msm-contig-mem"; - qcom,memory-reservation-type = "EBI1"; - qcom,memory-reservation-size = <0x280000>; /* 2.5M EBI1 buffer */ - }; - - qcom,qcedev@fd440000 { - compatible = "qcom,qcedev"; - reg = <0xfd440000 0x20000>, - <0xfd444000 0x8000>; - reg-names = "crypto-base","crypto-bam-base"; - interrupts = <0 236 0>; - qcom,bam-pipe-pair = <1>; - qcom,ce-hw-instance = <1>; - qcom,msm-bus,name = "qcedev-noc"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <56 512 0 0>, - <56 512 3936000 393600>; - }; - - qcom,qcrypto@fd444000 { - compatible = "qcom,qcrypto"; - reg = <0xfd440000 0x20000>, - <0xfd444000 0x8000>; - reg-names = "crypto-base","crypto-bam-base"; - interrupts = <0 236 0>; - qcom,bam-pipe-pair = <2>; - qcom,ce-hw-instance = <1>; - qcom,msm-bus,name = "qcrypto-noc"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <56 512 0 0>, - <56 512 3936000 393600>; - }; - - qcom,usbbam@f9304000 { - compatible = "qcom,usb-bam-msm"; - reg = <0xf9304000 0x5000>, - <0xf9a44000 0x11000>, - <0xf92f880c 0x4>; - reg-names = "ssusb", "hsusb", "qscratch_ram1_reg"; - interrupts = <0 132 0 0 135 0>; - interrupt-names = "ssusb", "hsusb"; - qcom,usb-bam-num-pipes = <16>; - qcom,usb-bam-fifo-baseaddr = <0xf9200000>; - qcom,ignore-core-reset-ack; - qcom,disable-clk-gating; - - qcom,pipe0 { - 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; - }; - - qcom,pipe1 { - label = "hsusb-qdss-in-0"; - qcom,usb-bam-mem-type = <1>; - qcom,bam-type = <1>; - 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 = <0xf9a44000>; - qcom,dst-bam-pipe-index = <2>; - qcom,data-fifo-offset = <0xf4000>; - qcom,data-fifo-size = <0x1000>; - qcom,descriptor-fifo-offset = <0xf5000>; - qcom,descriptor-fifo-size = <0x400>; - }; - }; - - qcom,msm-thermal { - compatible = "qcom,msm-thermal"; - qcom,sensor-id = <5>; - qcom,poll-ms = <250>; - qcom,limit-temp = <60>; - qcom,temp-hysteresis = <10>; - qcom,freq-step = <2>; - qcom,freq-control-mask = <0xf>; - qcom,core-limit-temp = <80>; - qcom,core-temp-hysteresis = <10>; - qcom,core-control-mask = <0xe>; - qcom,vdd-restriction-temp = <5>; - qcom,vdd-restriction-temp-hysteresis = <10>; - qcom,pmic-sw-mode-temp = <85>; - qcom,pmic-sw-mode-temp-hysteresis = <75>; - qcom,pmic-sw-mode-regs = "vdd_dig"; - vdd_dig-supply = <&pm8841_s2_floor_corner>; - vdd_gfx-supply = <&pm8841_s4_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 */ - }; - - qcom,vdd-apps-rstr{ - qcom,vdd-rstr-reg = "vdd_apps"; - qcom,levels = <1881600 1958400 2265600>; - qcom,freq-req; - }; - }; - - qcom,bam_dmux@fc834000 { - compatible = "qcom,bam_dmux"; - reg = <0xfc834000 0x7000>; - interrupts = <0 29 1>; - qcom,rx-ring-size = <64>; - }; - - memory_hole: qcom,msm-mem-hole { - compatible = "qcom,msm-mem-hole"; - qcom,memblock-remove = <0x7f00000 0x8000000>; /* Address and Size of Hole */ - }; - - uart7: uart@f995d000 { /*BLSP #2, UART #7 */ - compatible = "qcom,msm-hsuart-v14"; - status = "disabled"; - reg = <0xf995d000 0x1000>, - <0xf9944000 0x19000>; - reg-names = "core_mem", "bam_mem"; - interrupts = <0 113 0>, <0 239 0>; - interrupt-names = "core_irq", "bam_irq"; - - qcom,bam-tx-ep-pipe-index = <0>; - qcom,bam-rx-ep-pipe-index = <1>; - qcom,msm-bus,name = "uart7"; - 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,smem@fa00000 { - compatible = "qcom,smem"; - reg = <0xfa00000 0x200000>, - <0xf9011000 0x1000>, - <0xfc428000 0x4000>; - reg-names = "smem", "irq-reg-base", "aux-mem1"; - - qcom,smd-modem { - compatible = "qcom,smd"; - qcom,smd-edge = <0>; - qcom,smd-irq-offset = <0x8>; - qcom,smd-irq-bitmask = <0x1000>; - qcom,pil-string = "modem"; - interrupts = <0 25 1>; - }; - - qcom,smsm-modem { - compatible = "qcom,smsm"; - qcom,smsm-edge = <0>; - qcom,smsm-irq-offset = <0x8>; - qcom,smsm-irq-bitmask = <0x2000>; - interrupts = <0 26 1>; - }; - - qcom,smd-adsp { - compatible = "qcom,smd"; - qcom,smd-edge = <1>; - qcom,smd-irq-offset = <0x8>; - qcom,smd-irq-bitmask = <0x100>; - qcom,pil-string = "adsp"; - interrupts = <0 156 1>; - }; - - qcom,smsm-adsp { - compatible = "qcom,smsm"; - qcom,smsm-edge = <1>; - qcom,smsm-irq-offset = <0x8>; - qcom,smsm-irq-bitmask = <0x200>; - interrupts = <0 157 1>; - }; - - qcom,smd-wcnss { - compatible = "qcom,smd"; - qcom,smd-edge = <6>; - qcom,smd-irq-offset = <0x8>; - qcom,smd-irq-bitmask = <0x20000>; - qcom,pil-string = "wcnss"; - interrupts = <0 142 1>; - }; - - qcom,smsm-wcnss { - compatible = "qcom,smsm"; - qcom,smsm-edge = <6>; - qcom,smsm-irq-offset = <0x8>; - qcom,smsm-irq-bitmask = <0x80000>; - interrupts = <0 144 1>; - }; - - qcom,smd-rpm { - compatible = "qcom,smd"; - qcom,smd-edge = <15>; - qcom,smd-irq-offset = <0x8>; - qcom,smd-irq-bitmask = <0x1>; - interrupts = <0 168 1>; - qcom,irq-no-suspend; - }; - }; - - qcom,bcl { - compatible = "qcom,bcl"; - }; - - qcom,ssm { - compatible = "qcom,ssm"; - qcom,channel-name = "SSM_RTR"; - }; - - sfpb_spinlock: qcom,ipc-spinlock@fd484000 { - compatible = "qcom,ipc-spinlock-sfpb"; - reg = <0xfd484000 0x400>; - qcom,num-locks = <8>; - }; - - ldrex_spinlock: qcom,ipc-spinlock@fa00000 { - compatible = "qcom,ipc-spinlock-ldrex"; - reg = <0xfa00000 0x200000>; - status = "disable"; - }; - - cpu-pmu { - compatible = "qcom,krait-pmu"; - qcom,irq-is-percpu; - interrupts = <1 7 0xf00>; - }; - - l2-pmu { - compatible = "qcom,l2-pmu"; - interrupts = <0 1 0>; - }; - - qcom,smdtty { - compatible = "qcom,smdtty"; - - smdtty_apps_fm: qcom,smdtty-apps-fm { - qcom,smdtty-remote = "wcnss"; - qcom,smdtty-port-name = "APPS_FM"; - }; - - smdtty_apps_riva_bt_acl: smdtty-apps-riva-bt-acl { - qcom,smdtty-remote = "wcnss"; - qcom,smdtty-port-name = "APPS_RIVA_BT_ACL"; - }; - - smdtty_apps_riva_bt_cmd: qcom,smdtty-apps-riva-bt-cmd { - qcom,smdtty-remote = "wcnss"; - qcom,smdtty-port-name = "APPS_RIVA_BT_CMD"; - }; - - smdtty_mbalbridge: qcom,smdtty-mbalbridge { - qcom,smdtty-remote = "modem"; - qcom,smdtty-port-name = "MBALBRIDGE"; - }; - - smdtty_apps_riva_ant_cmd: smdtty-apps-riva-ant-cmd { - qcom,smdtty-remote = "wcnss"; - qcom,smdtty-port-name = "APPS_RIVA_ANT_CMD"; - }; - - smdtty_apps_riva_ant_data: smdtty-apps-riva-ant-data { - qcom,smdtty-remote = "wcnss"; - qcom,smdtty-port-name = "APPS_RIVA_ANT_DATA"; - }; - - smdtty_data1: qcom,smdtty-data1 { - qcom,smdtty-remote = "modem"; - qcom,smdtty-port-name = "DATA1"; - }; - - smdtty_data11: qcom,smdtty-data11 { - qcom,smdtty-remote = "modem"; - qcom,smdtty-port-name = "DATA11"; - }; - - smdtty_data21: qcom,smdtty-data21 { - qcom,smdtty-remote = "modem"; - qcom,smdtty-port-name = "DATA21"; - }; - - smdtty_gps_nmea: smdtty-gpsnmea { - qcom,smdtty-remote = "modem"; - qcom,smdtty-port-name = "GPSNMEA"; - }; - - smdtty_loopback: smdtty-loopback { - qcom,smdtty-remote = "modem"; - qcom,smdtty-port-name = "LOOPBACK"; - qcom,smdtty-dev-name = "LOOPBACK_TTY"; - }; - }; -}; - -&gdsc_venus { - qcom,clock-names = "core_clk"; - qcom,skip-logic-collapse; - status = "ok"; -}; - -&gdsc_mdss { - qcom,clock-names = "core_clk", "lut_clk"; - qcom,retain-periph; - status = "ok"; -}; - -&gdsc_jpeg { - qcom,clock-names = "core0_clk", "core1_clk", "core2_clk"; - status = "ok"; -}; - -&gdsc_vfe { - qcom,clock-names = "core0_clk", "core1_clk", "csi0_clk", "csi1_clk", - "cpp_clk"; - status = "ok"; -}; - -&gdsc_oxili_gx { - qcom,clock-names = "core_clk"; - qcom,retain-mem; - qcom,retain-periph; - status = "ok"; -}; - -&gdsc_oxili_cx { - status = "ok"; -}; - -&gdsc_usb_hsic { - status = "ok"; -}; - -/include/ "msm-pm8x41-rpm-regulator.dtsi" -/include/ "msm-pm8841.dtsi" -/include/ "msm-pm8941.dtsi" -/include/ "msm8974-regulator.dtsi" -/include/ "msm8974-clock.dtsi" diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm9625-cdp.dtsi b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm9625-cdp.dtsi deleted file mode 100644 index 6ddb50b82..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm9625-cdp.dtsi +++ /dev/null @@ -1,100 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/include/ "msm9625-display.dtsi" -/include/ "qpic-panel-ili-qvga.dtsi" - -&soc { - i2c@f9925000 { - charger@57 { - compatible = "summit,smb137c"; - reg = <0x57>; - summit,chg-current-ma = <1500>; - summit,term-current-ma = <50>; - summit,pre-chg-current-ma = <100>; - summit,float-voltage-mv = <4200>; - summit,thresh-voltage-mv = <3000>; - summit,recharge-thresh-mv = <75>; - summit,system-voltage-mv = <4250>; - summit,charging-timeout = <382>; - summit,pre-charge-timeout = <48>; - summit,therm-current-ua = <10>; - summit,temperature-min = <4>; /* 0 C */ - summit,temperature-max = <3>; /* 45 C */ - }; - }; - - wlan0: qca,wlan { - cell-index = <0>; - compatible = "qca,ar6004-hsic"; - qca,chip-pwd-l-gpios = <&msmgpio 62 0>; - qca,pm-enable-gpios = <&pm8019_gpios 3 0x0>; - qca,vdd-io-supply = <&pm8019_l11>; - }; - - qca,wlan_ar6003 { - cell-index = <0>; - compatible = "qca,ar6003-sdio"; - qca,chip-pwd-l-gpios = <&msmgpio 62 0>; - qca,pm-enable-gpios = <&pm8019_gpios 3 0x0>; - qca,vdd-io-supply = <&pm8019_l11>; - }; -}; - -/* PM8019 GPIO and MPP configuration */ -&pm8019_gpios { - gpio@c000 { /* GPIO 1 */ - }; - - gpio@c100 { /* GPIO 2 */ - }; - - gpio@c200 { /* GPIO 3 */ - }; - - gpio@c300 { /* GPIO 4 */ - /* ext_2p95v regulator enable config */ - qcom,mode = <1>; /* Digital output */ - qcom,output-type = <0>; /* CMOS */ - qcom,invert = <0>; /* Output low */ - qcom,out-strength = <1>; /* Low */ - qcom,vin-sel = <2>; /* PM8019 L11 - 1.8V */ - qcom,src-sel = <0>; /* Constant */ - qcom,master-en = <1>; /* Enable GPIO */ - }; - - gpio@c400 { /* GPIO 5 */ - }; - - gpio@c500 { /* GPIO 6 */ - }; -}; - -&pm8019_mpps { - mpp@a000 { /* MPP 1 */ - }; - - mpp@a100 { /* MPP 2 */ - }; - - mpp@a200 { /* MPP 3 */ - }; - - mpp@a300 { /* MPP 4 */ - }; - - mpp@a400 { /* MPP 5 */ - }; - - mpp@a500 { /* MPP 6 */ - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm9625-coresight.dtsi b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm9625-coresight.dtsi deleted file mode 100644 index 3c00ae8c2..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm9625-coresight.dtsi +++ /dev/null @@ -1,259 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&soc { - tmc_etr: tmc@fc322000 { - compatible = "arm,coresight-tmc"; - reg = <0xfc322000 0x1000>, - <0xfc37c000 0x3000>; - reg-names = "tmc-base", "bam-base"; - - qcom,memory-reservation-type = "EBI1"; - qcom,memory-reservation-size = <0x20000>; /* 128K EBI1 buffer */ - - coresight-id = <0>; - coresight-name = "coresight-tmc-etr"; - coresight-nr-inports = <1>; - coresight-ctis = <&cti0 &cti8>; - }; - - tpiu: tpiu@fc318000 { - compatible = "arm,coresight-tpiu"; - reg = <0xfc318000 0x1000>; - reg-names = "tpiu-base"; - - coresight-id = <1>; - coresight-name = "coresight-tpiu"; - coresight-nr-inports = <1>; - - vdd-supply = <&ext_2p95v>; - }; - - replicator: replicator@fc31c000 { - compatible = "qcom,coresight-replicator"; - reg = <0xfc31c000 0x1000>; - reg-names = "replicator-base"; - - coresight-id = <2>; - coresight-name = "coresight-replicator"; - coresight-nr-inports = <1>; - coresight-outports = <0 1>; - coresight-child-list = <&tmc_etr &tpiu>; - coresight-child-ports = <0 0>; - }; - - tmc_etf: tmc@fc307000 { - compatible = "arm,coresight-tmc"; - reg = <0xfc307000 0x1000>; - reg-names = "tmc-base"; - - coresight-id = <3>; - coresight-name = "coresight-tmc-etf"; - coresight-nr-inports = <1>; - coresight-outports = <0>; - coresight-child-list = <&replicator>; - coresight-child-ports = <0>; - coresight-default-sink; - coresight-ctis = <&cti0 &cti8>; - }; - - funnel_merg: funnel@fc31b000 { - compatible = "arm,coresight-funnel"; - reg = <0xfc31b000 0x1000>; - reg-names = "funnel-base"; - - coresight-id = <4>; - coresight-name = "coresight-funnel-merg"; - coresight-nr-inports = <2>; - coresight-outports = <0>; - coresight-child-list = <&tmc_etf>; - coresight-child-ports = <0>; - }; - - funnel_in0: funnel@fc319000 { - compatible = "arm,coresight-funnel"; - reg = <0xfc319000 0x1000>; - reg-names = "funnel-base"; - - coresight-id = <5>; - coresight-name = "coresight-funnel-in0"; - coresight-nr-inports = <8>; - coresight-outports = <0>; - coresight-child-list = <&funnel_merg>; - coresight-child-ports = <0>; - }; - - funnel_in1: funnel@fc31a000 { - compatible = "arm,coresight-funnel"; - reg = <0xfc31a000 0x1000>; - reg-names = "funnel-base"; - - coresight-id = <6>; - coresight-name = "coresight-funnel-in1"; - coresight-nr-inports = <8>; - coresight-outports = <0>; - coresight-child-list = <&funnel_merg>; - coresight-child-ports = <1>; - }; - - stm: stm@fc321000 { - compatible = "arm,coresight-stm"; - reg = <0xfc321000 0x1000>, - <0xfa280000 0x180000>; - reg-names = "stm-base", "stm-data-base"; - - coresight-id = <7>; - coresight-name = "coresight-stm"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_in1>; - coresight-child-ports = <7>; - }; - - etm0: etm@fc332000 { - compatible = "arm,coresight-etm"; - reg = <0xfc332000 0x1000>; - reg-names = "etm-base"; - - coresight-id = <8>; - coresight-name = "coresight-etm0"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_in0>; - coresight-child-ports = <4>; - - qcom,round-robin; - }; - - csr: csr@fc302000 { - compatible = "qcom,coresight-csr"; - reg = <0xfc302000 0x1000>; - reg-names = "csr-base"; - - coresight-id = <9>; - coresight-name = "coresight-csr"; - coresight-nr-inports = <0>; - - qcom,blk-size = <1>; - }; - - cti0: cti@fc308000 { - compatible = "arm,coresight-cti"; - reg = <0xfc308000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <10>; - coresight-name = "coresight-cti0"; - coresight-nr-inports = <0>; - }; - - cti1: cti@fc309000 { - compatible = "arm,coresight-cti"; - reg = <0xfc309000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <11>; - coresight-name = "coresight-cti1"; - coresight-nr-inports = <0>; - }; - - cti2: cti@fc30a000 { - compatible = "arm,coresight-cti"; - reg = <0xfc30a000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <12>; - coresight-name = "coresight-cti2"; - coresight-nr-inports = <0>; - }; - - cti3: cti@fc30b000 { - compatible = "arm,coresight-cti"; - reg = <0xfc30b000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <13>; - coresight-name = "coresight-cti3"; - coresight-nr-inports = <0>; - }; - - cti4: cti@fc30c000 { - compatible = "arm,coresight-cti"; - reg = <0xfc30c000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <14>; - coresight-name = "coresight-cti4"; - coresight-nr-inports = <0>; - }; - - cti5: cti@fc30d000 { - compatible = "arm,coresight-cti"; - reg = <0xfc30d000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <15>; - coresight-name = "coresight-cti5"; - coresight-nr-inports = <0>; - }; - - cti6: cti@fc30e000 { - compatible = "arm,coresight-cti"; - reg = <0xfc30e000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <16>; - coresight-name = "coresight-cti6"; - coresight-nr-inports = <0>; - }; - - cti7: cti@fc30f000 { - compatible = "arm,coresight-cti"; - reg = <0xfc30f000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <17>; - coresight-name = "coresight-cti7"; - coresight-nr-inports = <0>; - }; - - cti8: cti@fc310000 { - compatible = "arm,coresight-cti"; - reg = <0xfc310000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <18>; - coresight-name = "coresight-cti8"; - coresight-nr-inports = <0>; - }; - - cti_cpu: cti@fc333000 { - compatible = "arm,coresight-cti"; - reg = <0xfc333000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <19>; - coresight-name = "coresight-cti-cpu"; - coresight-nr-inports = <0>; - }; - - hwevent: hwevent@f9011038 { - compatible = "qcom,coresight-hwevent"; - reg = <0xf9011038 0x8>, - <0xfd4ab160 0x80>; - reg-names = "apcs-mux", "ppss-mux"; - - coresight-id = <20>; - coresight-name = "coresight-hwevent"; - coresight-nr-inports = <0>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm9625-display.dtsi b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm9625-display.dtsi deleted file mode 100644 index 287a63aef..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm9625-display.dtsi +++ /dev/null @@ -1,20 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -&soc { - qcom,msm_qpic@f9ac0000 { - compatible = "qcom,mdss_qpic"; - reg = <0xf9ac0000 0x24000>; - reg-names = "qpic_base"; - interrupts = <0 251 0>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm9625-ion.dtsi b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm9625-ion.dtsi deleted file mode 100644 index 6f9bb535d..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm9625-ion.dtsi +++ /dev/null @@ -1,35 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&soc { - qcom,ion { - compatible = "qcom,msm-ion"; - #address-cells = <1>; - #size-cells = <0>; - - qcom,ion-heap@30 { /* SYSTEM HEAP */ - reg = <30>; - }; - - qcom,ion-heap@25 { /* IOMMU HEAP */ - reg = <25>; - }; - - qcom,ion-heap@28 { /* AUDIO HEAP */ - compatible = "qcom,msm-ion-reserve"; - reg = <28>; - qcom,heap-align = <0x1000>; - qcom,memory-reservation-type = "EBI1"; /* reserve EBI memory */ - qcom,memory-reservation-size = <0xE9000>; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm9625-mtp.dtsi b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm9625-mtp.dtsi deleted file mode 100755 index cfbae7a22..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm9625-mtp.dtsi +++ /dev/null @@ -1,113 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&soc { - i2c@f9925000 { - }; - - wlan0: qca,wlan { - cell-index = <0>; - compatible = "qca,ar6004-hsic"; - qca,chip-pwd-l-gpios = <&msmgpio 62 0>; - qca,pm-enable-gpios = <&pm8019_gpios 3 0x0>; - qca,vdd-io-supply = <&pm8019_l11>; - }; - - qca,wlan_ar6003 { - cell-index = <0>; - compatible = "qca,ar6003-sdio"; - qca,chip-pwd-l-gpios = <&msmgpio 62 0>; - qca,pm-enable-gpios = <&pm8019_gpios 3 0x0>; - qca,vdd-io-supply = <&pm8019_l11>; - }; - - mp2617 { - cell-index = <0>; - compatible = "mps,mp2617"; - mps,chg-current-ma = <1000>; - mps,chg-vbat-div = <3>; /* Divided by 3 before input */ - mps,chg-en-gpio = <&msmgpio 13 0>; /* refer to board-9625-gpiomux.c */ - mps,chg-ok-gpio = <&msmgpio 71 0>; - mps,chg-m0-gpio = <&msmgpio 12 0>; - mps,chg-m1-gpio = <&msmgpio 17 0>; - }; -}; - -/* PM8019 GPIO and MPP configuration */ -&pm8019_gpios { - gpio@c000 { /* GPIO 1 */ - }; - - gpio@c100 { /* GPIO 2 */ - }; - - gpio@c200 { /* GPIO 3 */ - }; - - gpio@c300 { /* GPIO 4 */ - /* ext_2p95v regulator enable config */ - qcom,mode = <1>; /* Digital output */ - qcom,output-type = <0>; /* CMOS */ - qcom,invert = <0>; /* Output low */ - qcom,out-strength = <1>; /* Low */ - qcom,vin-sel = <2>; /* PM8019 L11 - 1.8V */ - qcom,src-sel = <0>; /* Constant */ - qcom,master-en = <1>; /* Enable GPIO */ - }; - - gpio@c400 { /* GPIO 5 */ - }; - - gpio@c500 { /* GPIO 6 */ - }; -}; - -&pm8019_mpps { - - mpp@a000 { /* MPP 1 */ - - }; - - /* [linyunfeng] Detect battery voltage */ - mpp@a100 { /* MPP 2 */ - /* channel 17 */ - qcom,mode = <4>; - qcom,ain-route = <1>; /* AMUX 6 */ - qcom,master-en = <1>; - qcom,src-sel = <0>; /* Function constant */ - qcom,invert = <1>; - }; - - mpp@a200 { /* MPP 3 */ - }; - - mpp@a300 { /* MPP 4 */ - /* VADC channel 19 */ - qcom,mode = <4>; - qcom,ain-route = <3>; /* AMUX 8 */ - qcom,master-en = <1>; - qcom,src-sel = <0>; /* Function constant */ - qcom,invert = <1>; - }; - - mpp@a400 { /* MPP 5 */ - }; - - mpp@a500 { /* MPP 6 */ - /* channel 21 */ - qcom,mode = <4>; - qcom,ain-route = <1>; /* AMUX 6 */ - qcom,master-en = <1>; - qcom,src-sel = <0>; /* Function constant */ - qcom,invert = <1>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm9625-pm.dtsi b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm9625-pm.dtsi deleted file mode 100644 index 673b64053..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm9625-pm.dtsi +++ /dev/null @@ -1,299 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/include/ "skeleton.dtsi" - -&soc { - qcom,spm@f9009000 { - compatible = "qcom,spm-v2"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xf9009000 0x1000>; - qcom,core-id = <0>; - qcom,saw2-ver-reg = <0xfd0>; - qcom,saw2-cfg = <0x101>; - qcom,saw2-spm-dly= <0>; - qcom,saw2-spm-ctl = <0x1>; - qcom,saw2-spm-cmd-wfi = [04 03 04 0f]; - qcom,saw2-spm-cmd-spc = [34 04 44 14 24 54 03 54 44 14 04 24 - 3e 0f]; - qcom,saw2-spm-cmd-pc = [34 04 44 14 24 54 07 54 44 14 04 24 - 3e 0f]; - }; - - qcom,lpm-resources { - compatible = "qcom,lpm-resources"; - #address-cells = <1>; - #size-cells = <0>; - - qcom,lpm-resources@0 { - reg = <0x0>; - qcom,name = "vdd-dig"; - qcom,type = <0x616F646C>; /* "ldoa" */ - qcom,id = <0x0A>; - qcom,key = <0x6e726f63>; /* "corn" */ - qcom,init-value = <5>; /* Super Turbo */ - }; - - qcom,lpm-resources@1 { - reg = <0x1>; - qcom,name = "vdd-mem"; - qcom,type = <0x616F646C>; /* "ldoa" */ - qcom,id = <0x0C>; - qcom,key = <0x7675>; /* "uv" */ - qcom,init-value = <1050000>; /* Super Turbo */ - }; - - qcom,lpm-resources@2 { - reg = <0x2>; - qcom,name = "pxo"; - qcom,type = <0x306b6c63>; /* "clk0" */ - qcom,id = <0x00>; - qcom,key = <0x62616e45>; /* "Enab" */ - qcom,init-value = "xo_on"; - }; - }; - - qcom,lpm-levels { - compatible = "qcom,lpm-levels"; - #address-cells = <1>; - #size-cells = <0>; - - qcom,use-qtimer; - - qcom,lpm-level@0 { - reg = <0x0>; - qcom,mode = "wfi"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_active"; - qcom,vdd-mem-upper-bound = <1050000>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <950000>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <100>; - qcom,ss-power = <8000>; - qcom,energy-overhead = <100000>; - qcom,time-overhead = <1>; - }; - - qcom,lpm-level@1 { - reg = <0x1>; - qcom,mode = "standalone_pc"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_active"; - qcom,vdd-mem-upper-bound = <1050000>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <950000>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <2000>; - qcom,ss-power = <5000>; - qcom,energy-overhead = <60100000>; - qcom,time-overhead = <3000>; - }; - - qcom,lpm-level@2 { - reg = <0x2>; - qcom,mode = "pc"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_gdhs"; - qcom,vdd-mem-upper-bound = <1050000>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <950000>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <3500>; - qcom,ss-power = <5000>; - qcom,energy-overhead = <60350000>; - qcom,time-overhead = <6300>; - }; - - qcom,lpm-level@3 { - reg = <0x3>; - qcom,mode = "pc"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_pc"; - qcom,vdd-mem-upper-bound = <1050000>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <950000>; /* SVS SOC */ - qcom,vdd-dig-upper-bound = <4>; /* NORMAL */ - qcom,vdd-dig-lower-bound = <3>; /* SVS SOC */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <4500>; - qcom,ss-power = <5000>; - qcom,energy-overhead = <60350000>; - qcom,time-overhead = <7300>; - }; - - qcom,lpm-level@4 { - reg = <0x4>; - qcom,mode = "pc"; - qcom,xo = "xo_off"; - qcom,l2 = "l2_cache_pc"; - qcom,vdd-mem-upper-bound = <1050000>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <950000>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,irqs-detectable; - qcom,latency-us = <6800>; - qcom,ss-power = <2000>; - qcom,energy-overhead = <71850000>; - qcom,time-overhead = <13300>; - }; - - qcom,lpm-level@5 { - reg = <0x5>; - qcom,mode = "pc"; - qcom,xo = "xo_off"; - qcom,l2 = "l2_cache_pc"; - qcom,vdd-mem-upper-bound = <1050000>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <950000>; /* SVS SOC */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <3>; /* SVS SOC */ - qcom,irqs-detectable; - qcom,latency-us = <8000>; - qcom,ss-power = <1800>; - qcom,energy-overhead = <71950000>; - qcom,time-overhead = <15300>; - }; - - qcom,lpm-level@6 { - reg = <0x6>; - qcom,mode = "pc"; - qcom,xo = "xo_off"; - qcom,l2 = "l2_cache_pc"; - qcom,vdd-mem-upper-bound = <950000>; /* SVS SOC */ - qcom,vdd-mem-lower-bound = <675000>; /* RETENTION */ - qcom,vdd-dig-upper-bound = <3>; /* SVS SOC */ - qcom,vdd-dig-lower-bound = <1>; /* RETENTION */ - qcom,latency-us = <9800>; - qcom,ss-power = <0>; - qcom,energy-overhead = <76350000>; - qcom,time-overhead = <28300>; - }; - }; - - qcom,pm-boot { - compatible = "qcom,pm-boot"; - qcom,mode = "tz"; - }; - - qcom,mpm@fc4281d0 { - compatible = "qcom,mpm-v2"; - reg = <0xfc4281d0 0x1000>, /* MSM_RPM_MPM_BASE 4K */ - <0xf9011008 0x4>; /* MSM_APCS_GCC_BASE 4K */ - reg-names = "vmpm", "ipc"; - interrupts = <0 171 1>; - - qcom,ipc-bit-offset = <1>; - - qcom,gic-parent = <&intc>; - qcom,gic-map = <2 216>, /* tsens_upper_lower_int */ - <47 172>, /* usb2_hsic_async_wakeup_irq */ - <41 180>, /* usb_async_wakeup_irq */ - <62 222>, /* ee0_krait_hlos_spmi_periph_irq */ - <0xff 57>, /* mss_to_apps_irq(0) */ - <0xff 58>, /* mss_to_apps_irq(1) */ - <0xff 59>, /* mss_to_apps_irq(2) */ - <0xff 60>, /* mss_to_apps_irq(3) */ - <0xff 173>, /* o_wcss_apss_smd_hi */ - <0xff 174>, /* o_wcss_apss_smd_med */ - <0xff 175>, /* o_wcss_apss_smd_lo */ - <0xff 176>, /* o_wcss_apss_smsm_irq */ - <0xff 177>, /* o_wcss_apss_wlan_data_xfer_done */ - <0xff 178>, /* o_wcss_apss_wlan_rx_data_avail */ - <0xff 179>, /* o_wcss_apss_asic_intr */ - <0xff 188>, /* q6ss_irq_out(4) */ - <0xff 189>, /* q6ss_irq_out(5) */ - <0xff 190>, /* q6ss_irq_out(6) */ - <0xff 191>, /* q6ss_irq_out(7) */ - <0xff 192>, /* audio_out0_irq */ - <0xff 193>, /* midi_arm_irq */ - <0xff 194>, /* q6ss_wdog_exp_irq */ - <0xff 195>, /* slimbus_core_ee1_irq */ - <0xff 196>, /* bam_irq(1) */ - <0xff 197>, /* qdss_irq_out(7) */ - <0xff 200>, /* rpm_ipc(4) */ - <0xff 201>, /* rpm_ipc(5) */ - <0xff 202>, /* rpm_ipc(6) */ - <0xff 203>, /* rpm_ipc(7) */ - <0xff 204>, /* rpm_ipc(24) */ - <0xff 205>, /* rpm_ipc(25) */ - <0xff 206>, /* rpm_ipc(26) */ - <0xff 207>, /* rpm_ipc(27) */ - <0xff 240>; /* summary_irq_kpss */ - - qcom,gpio-parent = <&msmgpio>; - qcom,gpio-map = <4 0>, - <5 1>, - <6 2>, - <7 3>, - <8 4>, - <9 5>, - <10 6>, - <11 7>, - <12 8>, - <13 9>, - <14 10>, - <15 11>, - <16 12>, - <17 13>, - <18 14>, - <19 15>, - <20 16>, - <21 17>, - <22 18>, - <23 19>, - <24 20>, - <25 21>, - <26 24>, - <27 25>, - <28 51>, - <29 61>, - <30 62>, - <31 63>, - <32 64>, - <33 65>, - <34 66>, - <35 67>, - <36 69>, - <37 71>; - }; - - qcom,pm-8x60 { - compatible = "qcom,pm-8x60"; - qcom,pc-mode = "tz_l2_ext"; - qcom,use-sync-timer; - }; - - qcom,rpm-log@fc19dc00 { - compatible = "qcom,rpm-log"; - reg = <0xfc19dc00 0x4000>; - qcom,rpm-addr-phys = <0xfc000000>; - qcom,offset-version = <4>; - qcom,offset-page-buffer-addr = <36>; - qcom,offset-log-len = <40>; - qcom,offset-log-len-mask = <44>; - qcom,offset-page-indices = <56>; - }; - - qcom,rpm-stats@fc19dba0 { - compatible = "qcom,rpm-stats"; - reg = <0xfc19dba0 0x1000>; - reg-names = "phys_addr_base"; - qcom,sleep-stats-version = <2>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm9625-regulator.dtsi b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm9625-regulator.dtsi deleted file mode 100644 index eb56d1c6a..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm9625-regulator.dtsi +++ /dev/null @@ -1,284 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&rpm_bus { - rpm-regulator-smpa1 { - status = "okay"; - pm8019_s1: regulator-s1 { - regulator-min-microvolt = <800000>; - regulator-max-microvolt = <1050000>; - qcom,init-voltage = <1050000>; - status = "okay"; - }; - }; - - rpm-regulator-smpa2 { - status = "okay"; - pm8019_s2: regulator-s2 { - regulator-min-microvolt = <1250000>; - regulator-max-microvolt = <1250000>; - qcom,init-voltage = <1250000>; - qcom,init-current = <100>; - qcom,system-load = <100000>; - regulator-always-on; - status = "okay"; - }; - }; - - rpm-regulator-smpa3 { - status = "okay"; - pm8019_s3: regulator-s3 { - regulator-min-microvolt = <1000000>; - regulator-max-microvolt = <1100000>; - qcom,init-voltage = <1100000>; - qcom,init-current = <100>; - qcom,system-load = <100000>; - regulator-always-on; - status = "okay"; - }; - pm8019_s3_ao: regulator-s3-ao { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8019_s3_ao"; - qcom,set = <1>; - regulator-min-microvolt = <1000000>; - regulator-max-microvolt = <1100000>; - status = "okay"; - }; - }; - - rpm-regulator-smpa4 { - status = "okay"; - pm8019_s4: regulator-s4 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <2075000>; - qcom,init-voltage = <2075000>; - qcom,init-current = <100>; - qcom,system-load = <100000>; - regulator-always-on; - status = "okay"; - }; - }; - - rpm-regulator-ldoa1 { - status = "okay"; - pm8019_l1: regulator-l1 { - parent-supply = <&pm8019_s2>; - regulator-min-microvolt = <1225000>; - regulator-max-microvolt = <1225000>; - qcom,init-voltage = <1225000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa2 { - status = "okay"; - pm8019_l2: regulator-l2 { - parent-supply = <&pm8019_s4>; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa3 { - status = "okay"; - pm8019_l3: regulator-l3 { - parent-supply = <&pm8019_s4>; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa4 { - status = "okay"; - pm8019_l4: regulator-l4 { - regulator-min-microvolt = <3075000>; - regulator-max-microvolt = <3075000>; - qcom,init-voltage = <3075000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa5 { - status = "okay"; - pm8019_l5: regulator-l5 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <2850000>; - qcom,init-voltage = <1800000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa6 { - status = "okay"; - pm8019_l6: regulator-l6 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <2850000>; - qcom,init-voltage = <1800000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa7 { - status = "okay"; - pm8019_l7: regulator-l7 { - parent-supply = <&pm8019_s4>; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa8 { - status = "okay"; - pm8019_l8: regulator-l8 { - parent-supply = <&pm8019_s4>; - regulator-min-microvolt = <2050000>; - regulator-max-microvolt = <2050000>; - qcom,init-voltage = <2050000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa9 { - status = "okay"; - pm8019_l9: regulator-l9 { - parent-supply = <&pm8019_s2>; - regulator-min-microvolt = <1200000>; - regulator-max-microvolt = <1200000>; - qcom,init-voltage = <1200000>; - qcom,init-current = <10>; - qcom,system-load = <10000>; - regulator-always-on; - status = "okay"; - }; - }; - - rpm-regulator-ldoa10 { - status = "okay"; - pm8019_l10: regulator-l10 { - parent-supply = <&pm8019_s3>; - regulator-min-microvolt = <500000>; - regulator-max-microvolt = <1050000>; - status = "okay"; - }; - pm8019_l10_corner: regulator-l10-corner { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8019_l10_corner"; - qcom,set = <3>; - regulator-min-microvolt = <1>; - regulator-max-microvolt = <7>; - qcom,use-voltage-corner; - status = "okay"; - qcom,consumer-supplies = "vdd_dig", ""; - }; - pm8019_l10_corner_ao: regulator-l10-corner-ao { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8019_l10_corner_ao"; - qcom,set = <1>; - regulator-min-microvolt = <1>; - regulator-max-microvolt = <7>; - qcom,use-voltage-corner; - status = "okay"; - }; - pm8019_l10_floor_corner: regulator-l10-floor-corner { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8019_l10_floor_corner"; - qcom,set = <3>; - regulator-min-microvolt = <1>; - regulator-max-microvolt = <7>; - qcom,use-voltage-floor-corner; - qcom,always-send-voltage; - }; - }; - - rpm-regulator-ldoa11 { - status = "okay"; - pm8019_l11: regulator-l11 { - parent-supply = <&pm8019_s4>; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - qcom,init-current = <10>; - qcom,system-load = <10000>; - regulator-always-on; - status = "okay"; - }; - }; - - rpm-regulator-ldoa12 { - status = "okay"; - pm8019_l12: regulator-l12 { - parent-supply = <&pm8019_s3>; - regulator-min-microvolt = <675000>; - regulator-max-microvolt = <1050000>; - status = "okay"; - }; - pm8019_l12_ao: regulator-l12-ao { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8019_l12_ao"; - qcom,set = <1>; - parent-supply = <&pm8019_s3_ao>; - regulator-min-microvolt = <675000>; - regulator-max-microvolt = <1050000>; - status = "okay"; - }; - pm8019_l12_so: regulator-l12-so { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8019_l12_so"; - qcom,set = <2>; - parent-supply = <&pm8019_s3>; - regulator-min-microvolt = <675000>; - regulator-max-microvolt = <1050000>; - qcom,init-voltage = <675000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa13 { - status = "okay"; - pm8019_l13: regulator-l13 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <2950000>; - qcom,init-voltage = <2950000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa14 { - status = "okay"; - pm8019_l14: regulator-l14 { - regulator-min-microvolt = <2700000>; - regulator-max-microvolt = <2700000>; - qcom,init-voltage = <2700000>; - status = "okay"; - }; - }; -}; - -&soc { - ext_2p95v: regulator-isl80101 { - compatible = "regulator-fixed"; - regulator-name = "ext_2p95v"; - gpio = <&pm8019_gpios 4 0>; - enable-active-high; - }; - - usb_vbus: regulator-usb-vbus { - compatible = "regulator-fixed"; - regulator-name = "usb_vbus"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm9625-smp2p.dtsi b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm9625-smp2p.dtsi deleted file mode 100644 index f8ad351a4..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm9625-smp2p.dtsi +++ /dev/null @@ -1,142 +0,0 @@ -/* Copyright (c) 2013, 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. - */ -&soc { - qcom,smp2p-modem { - compatible = "qcom,smp2p"; - reg = <0xf9011008 0x4>; - qcom,remote-pid = <1>; - qcom,irq-bitmask = <0x4000>; - interrupts = <0 27 1>; - }; - - qcom,smp2p-adsp { - compatible = "qcom,smp2p"; - reg = <0xf9011008 0x4>; - qcom,remote-pid = <2>; - qcom,irq-bitmask = <0x400>; - interrupts = <0 158 1>; - }; - - smp2pgpio_smp2p_7_in: qcom,smp2pgpio-smp2p-7-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <7>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_7_in { - compatible = "qcom,smp2pgpio_test_smp2p_7_in"; - gpios = <&smp2pgpio_smp2p_7_in 0 0>; - }; - - smp2pgpio_smp2p_7_out: qcom,smp2pgpio-smp2p-7-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <7>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_7_out { - compatible = "qcom,smp2pgpio_test_smp2p_7_out"; - gpios = <&smp2pgpio_smp2p_7_out 0 0>; - }; - - smp2pgpio_smp2p_1_in: qcom,smp2pgpio-smp2p-1-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <1>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_1_in { - compatible = "qcom,smp2pgpio_test_smp2p_1_in"; - gpios = <&smp2pgpio_smp2p_1_in 0 0>; - }; - - smp2pgpio_smp2p_1_out: qcom,smp2pgpio-smp2p-1-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <1>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_1_out { - compatible = "qcom,smp2pgpio_test_smp2p_1_out"; - gpios = <&smp2pgpio_smp2p_1_out 0 0>; - }; - - smp2pgpio_ssr_smp2p_1_in: qcom,smp2pgpio-ssr-smp2p-1-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "slave-kernel"; - qcom,remote-pid = <1>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - smp2pgpio_ssr_smp2p_1_out: qcom,smp2pgpio-ssr-smp2p-1-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "master-kernel"; - qcom,remote-pid = <1>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - smp2pgpio_smp2p_2_in: qcom,smp2pgpio-smp2p-2-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <2>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_2_in { - compatible = "qcom,smp2pgpio_test_smp2p_2_in"; - gpios = <&smp2pgpio_smp2p_2_in 0 0>; - }; - - smp2pgpio_smp2p_2_out: qcom,smp2pgpio-smp2p-2-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <2>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_2_out { - compatible = "qcom,smp2pgpio_test_smp2p_2_out"; - gpios = <&smp2pgpio_smp2p_2_out 0 0>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm9625-v1-cdp.dts b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm9625-v1-cdp.dts deleted file mode 100644 index d7537eb35..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm9625-v1-cdp.dts +++ /dev/null @@ -1,24 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/dts-v1/; - -/include/ "msm9625-v1.dtsi" -/include/ "msm9625-cdp.dtsi" - -/ { - model = "Qualcomm MSM 9625V1 CDP"; - compatible = "qcom,msm9625-cdp", "qcom,msm9625", "qcom,cdp"; - qcom,msm-id = <134 1 0>, <152 1 0>, <149 1 0>, <150 1 0>, - <151 1 0>, <148 1 0>, <173 1 0>, <174 1 0>, - <175 1 0>; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm9625-v1-mtp.dts b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm9625-v1-mtp.dts deleted file mode 100644 index a70ec1aa7..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm9625-v1-mtp.dts +++ /dev/null @@ -1,24 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/dts-v1/; - -/include/ "msm9625-v1.dtsi" -/include/ "msm9625-mtp.dtsi" - -/ { - model = "Qualcomm MSM 9625V1 MTP"; - compatible = "qcom,msm9625-mtp", "qcom,msm9625", "qcom,mtp"; - qcom,msm-id = <134 7 0>, <152 7 0>, <149 7 0>, <150 7 0>, - <151 7 0>, <148 7 0>, <173 7 0>, <174 7 0>, - <175 7 0>; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm9625-v1-rumi.dts b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm9625-v1-rumi.dts deleted file mode 100644 index ef0068143..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm9625-v1-rumi.dts +++ /dev/null @@ -1,26 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/dts-v1/; - -/include/ "msm9625-v1.dtsi" - -/ { - model = "Qualcomm MSM 9625V1 RUMI"; - compatible = "qcom,msm9625-rumi", "qcom,msm9625", "qcom,rumi"; - qcom,msm-id = <134 15 0>; - - chosen{ - bootargs = "root=/dev/ram rw init=/init console=ttyHSL0,115200n8 initrd=0x00000000,0x00000000 mem=29M@0x00200000 mem=10M@0x07600000"; - - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm9625-v1.dtsi b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm9625-v1.dtsi deleted file mode 100644 index b238ba549..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm9625-v1.dtsi +++ /dev/null @@ -1,67 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/* - * As a general rule, only version-specific property overrides should be placed - * inside this file. However, device definitions should be placed inside the - * msm9625.dtsi file. - */ - -/include/ "msm9625.dtsi" - -&soc { - qcom,msm-imem@fc42a800 { - compatible = "qcom,msm-imem"; - reg = <0xfc42a800 0x1000>; /* Address and size of IMEM */ - }; - - android_usb@fc42a8c8 { - compatible = "qcom,android-usb"; - reg = <0xfc42a8c8 0xc8>; - qcom,android-usb-swfi-latency = <100>; - }; - - qcom,bam_dmux@fc834000 { - compatible = "qcom,bam_dmux"; - reg = <0xfc834000 0x7000>; - interrupts = <0 29 1>; - }; -}; - -&hsic_host { - qcom,disable-park-mode; -}; - -&ipa_hw { - qcom,ipa-hw-ver = <1>; /* IPA h-w revision */ -}; - -/* CoreSight */ -&tmc_etr { - qcom,reset-flush-race; -}; - -&stm { - qcom,write-64bit; -}; - -&sfpb_spinlock { - status = "disable"; -}; - -&ldrex_spinlock { - status = "ok"; -}; - -&hsic_host { - qcom,phy-sof-workaround; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm9625-v2-cdp.dts b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm9625-v2-cdp.dts deleted file mode 100644 index 9fbe5ec8a..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm9625-v2-cdp.dts +++ /dev/null @@ -1,24 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; - -/include/ "msm9625-v2.dtsi" -/include/ "msm9625-cdp.dtsi" - -/ { - model = "Qualcomm MSM 9625V2 CDP"; - compatible = "qcom,msm9625-cdp", "qcom,msm9625", "qcom,cdp"; - qcom,msm-id = <134 1 0x20000>, <152 1 0x20000>, <149 1 0x20000>, - <150 1 0x20000>, <151 1 0x20000>, <148 1 0x20000>, - <173 1 0x20000>, <174 1 0x20000>, <175 1 0x20000>; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm9625-v2-mtp.dts b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm9625-v2-mtp.dts deleted file mode 100644 index 27d00664a..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm9625-v2-mtp.dts +++ /dev/null @@ -1,122 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; - -/include/ "msm9625-v2.dtsi" -/include/ "msm9625-mtp.dtsi" - -/ { - model = "Qualcomm MSM 9625V2 MTP"; - compatible = "qcom,msm9625-mtp", "qcom,msm9625", "qcom,mtp"; - qcom,msm-id = <134 7 0x20000>, <152 7 0x20000>, <149 7 0x20000>, - <150 7 0x20000>, <151 7 0x20000>, <148 7 0x20000>, - <173 7 0x20000>, <174 7 0x20000>, <175 7 0x20000>; -}; - -&soc { - i2c@f9925000 { - charger@57 { - compatible = "summit,smb137c"; - reg = <0x57>; - summit,chg-current-ma = <1500>; - summit,term-current-ma = <50>; - summit,pre-chg-current-ma = <100>; - summit,float-voltage-mv = <4200>; - summit,thresh-voltage-mv = <3000>; - summit,recharge-thresh-mv = <75>; - summit,system-voltage-mv = <4250>; - summit,charging-timeout = <382>; - summit,pre-charge-timeout = <48>; - summit,therm-current-ua = <10>; - summit,temperature-min = <4>; /* 0 C */ - summit,temperature-max = <3>; /* 45 C */ - }; - }; - - wlan0: qca,wlan { - cell-index = <0>; - compatible = "qca,ar6004-hsic"; - qca,chip-pwd-l-gpios = <&msmgpio 62 0>; - qca,pm-enable-gpios = <&pm8019_gpios 3 0x0>; - qca,vdd-io-supply = <&pm8019_l11>; - }; - - qca,wlan_ar6003 { - cell-index = <0>; - compatible = "qca,ar6003-sdio"; - qca,chip-pwd-l-gpios = <&msmgpio 62 0>; - qca,pm-enable-gpios = <&pm8019_gpios 3 0x0>; - qca,vdd-io-supply = <&pm8019_l11>; - }; -}; - -/* PM8019 GPIO and MPP configuration */ -&pm8019_gpios { - gpio@c000 { /* GPIO 1 */ - }; - - gpio@c100 { /* GPIO 2 */ - }; - - gpio@c200 { /* GPIO 3 */ - }; - - gpio@c300 { /* GPIO 4 */ - /* ext_2p95v regulator enable config */ - qcom,mode = <1>; /* Digital output */ - qcom,output-type = <0>; /* CMOS */ - qcom,invert = <0>; /* Output low */ - qcom,out-strength = <1>; /* Low */ - qcom,vin-sel = <2>; /* PM8019 L11 - 1.8V */ - qcom,src-sel = <0>; /* Constant */ - qcom,master-en = <1>; /* Enable GPIO */ - }; - - gpio@c400 { /* GPIO 5 */ - }; - - gpio@c500 { /* GPIO 6 */ - }; -}; - -&pm8019_mpps { - mpp@a000 { /* MPP 1 */ - }; - - mpp@a100 { /* MPP 2 */ - }; - - mpp@a200 { /* MPP 3 */ - }; - - mpp@a300 { /* MPP 4 */ - /* VADC channel 19 */ - qcom,mode = <4>; - qcom,ain-route = <3>; /* AMUX 8 */ - qcom,master-en = <1>; - qcom,src-sel = <0>; /* Function constant */ - qcom,invert = <1>; - }; - - mpp@a400 { /* MPP 5 */ - }; - - mpp@a500 { /* MPP 6 */ - /* channel 21 */ - qcom,mode = <4>; - qcom,ain-route = <1>; /* AMUX 6 */ - qcom,master-en = <1>; - qcom,src-sel = <0>; /* Function constant */ - qcom,invert = <1>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm9625-v2.1-cdp.dts b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm9625-v2.1-cdp.dts deleted file mode 100644 index b64359381..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm9625-v2.1-cdp.dts +++ /dev/null @@ -1,24 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; - -/include/ "msm9625-v2.1.dtsi" -/include/ "msm9625-cdp.dtsi" - -/ { - model = "Qualcomm MSM 9625V2.1 CDP"; - compatible = "qcom,msm9625-cdp", "qcom,msm9625", "qcom,cdp"; - qcom,msm-id = <134 1 0x20001>, <152 1 0x20001>, <149 1 0x20001>, - <150 1 0x20001>, <151 1 0x20001>, <148 1 0x20001>, - <173 1 0x20001>, <174 1 0x20001>, <175 1 0x20001>; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm9625-v2.1-mtp.dts b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm9625-v2.1-mtp.dts deleted file mode 100644 index 8bbcc0d55..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm9625-v2.1-mtp.dts +++ /dev/null @@ -1,24 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; - -/include/ "msm9625-v2.1.dtsi" -/include/ "msm9625-mtp.dtsi" - -/ { - model = "Qualcomm MSM 9625V2.1 MTP"; - compatible = "qcom,msm9625-mtp", "qcom,msm9625", "qcom,mtp"; - qcom,msm-id = <134 7 0x20001>, <152 7 0x20001>, <149 7 0x20001>, - <150 7 0x20001>, <151 7 0x20001>, <148 7 0x20001>, - <173 7 0x20001>, <174 7 0x20001>, <175 7 0x20001>; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm9625-v2.1.dtsi b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm9625-v2.1.dtsi deleted file mode 100644 index 07548f949..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm9625-v2.1.dtsi +++ /dev/null @@ -1,41 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/* - * As a general rule, only version-specific property overrides should be placed - * inside this file. However, device definitions should be placed inside the - * msm9625.dtsi file. - */ - -/include/ "msm9625.dtsi" - -&soc { - qcom,msm-imem@fe807800 { - compatible = "qcom,msm-imem"; - reg = <0xfe807800 0x1000>; /* Address and size of IMEM */ - }; - - android_usb@fe8078c8 { - compatible = "qcom,android-usb"; - reg = <0xfe8078c8 0xc8>; - qcom,android-usb-cdrom; - qcom,android-usb-swfi-latency = <100>; - }; -}; - -&ipa_hw { - qcom,ipa-hw-ver = <2>; /* IPA h-w revision */ -}; - -&hsusb_otg { - qcom,hsusb-l1-supported; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm9625-v2.dtsi b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm9625-v2.dtsi deleted file mode 100644 index 3eda3f896..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm9625-v2.dtsi +++ /dev/null @@ -1,54 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/* - * As a general rule, only version-specific property overrides should be placed - * inside this file. However, device definitions should be placed inside the - * msm9625.dtsi file. - */ - -/include/ "msm9625.dtsi" - -&soc { - qcom,msm-imem@fe807800 { - compatible = "qcom,msm-imem"; - reg = <0xfe807800 0x1000>; /* Address and size of IMEM */ - }; - - android_usb@fe8078c8 { - compatible = "qcom,android-usb"; - reg = <0xfe8078c8 0xc8>; - qcom,android-usb-swfi-latency = <100>; - }; -}; - -&ipa_hw { - qcom,ipa-hw-ver = <2>; /* IPA h-w revision */ -}; - -&hsic_host { - qcom,disable-park-mode; - qcom,phy-susp-sof-workaround; - qcom,phy-reset-sof-workaround; -}; - -&sfpb_spinlock { - status = "disable"; -}; - -&ldrex_spinlock { - status = "ok"; -}; - -&hsusb_otg { - qcom,hsusb-l1-supported; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm9625.dtsi b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm9625.dtsi deleted file mode 100755 index b1f722d95..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msm9625.dtsi +++ /dev/null @@ -1,895 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/include/ "skeleton.dtsi" - -/ { - model = "Qualcomm MSM 9625"; - compatible = "qcom,msm9625"; - interrupt-parent = <&intc>; - - aliases { - spi0 = &spi_0; - }; - - soc: soc { }; -}; - -/include/ "msm9625-ion.dtsi" -/include/ "msm9625-pm.dtsi" -/include/ "msm9625-coresight.dtsi" -/include/ "msm9625-smp2p.dtsi" - -&soc { - #address-cells = <1>; - #size-cells = <1>; - ranges; - - intc: interrupt-controller@F9000000 { - compatible = "qcom,msm-qgic2"; - interrupt-controller; - #interrupt-cells = <3>; - reg = <0xF9000000 0x1000>, - <0xF9002000 0x1000>; - }; - - l2: cache-controller@f9040000 { - compatible = "arm,pl310-cache"; - reg = <0xf9040000 0x1000>; - cache-unified; - cache-level = <2>; - }; - - msmgpio: gpio@fd510000 { - compatible = "qcom,msm-gpio"; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - reg = <0xfd510000 0x4000>; - ngpio = <76>; - interrupts = <0 208 0>; - qcom,direct-connect-irqs = <8>; - }; - - 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 7 0x4>, - <0 6 0x4>; - reg = <0xf9021000 0x1000>, - <0xf9022000 0x1000>; - }; - - frame@f9023000 { - frame-number = <1>; - interrupts = <0 8 0x4>; - reg = <0xf9023000 0x1000>; - status = "disabled"; - }; - - frame@f9024000 { - frame-number = <2>; - interrupts = <0 9 0x4>; - reg = <0xf9024000 0x1000>; - status = "disabled"; - }; - - frame@f9025000 { - frame-number = <3>; - interrupts = <0 10 0x4>; - reg = <0xf9025000 0x1000>; - status = "disabled"; - }; - - frame@f9026000 { - frame-number = <4>; - interrupts = <0 11 0x4>; - reg = <0xf9026000 0x1000>; - status = "disabled"; - }; - - frame@f9027000 { - frame-number = <5>; - interrupts = <0 12 0x4>; - reg = <0xf9027000 0x1000>; - status = "disabled"; - }; - - frame@f9028000 { - frame-number = <6>; - interrupts = <0 13 0x4>; - reg = <0xf9028000 0x1000>; - status = "disabled"; - }; - - frame@f9029000 { - frame-number = <7>; - interrupts = <0 14 0x4>; - reg = <0xf9029000 0x1000>; - status = "disabled"; - }; - }; - - qcom,sps@f9980000 { - compatible = "qcom,msm_sps"; - reg = <0xf9984000 0x15000>, - <0xf9999000 0xb000>, - <0xfe803000 0x4800>; - interrupts = <0 94 0>; - qcom,device-type = <2>; - }; - - serial@f991f000 { - compatible = "qcom,msm-lsuart-v14"; - reg = <0xf991f000 0x1000>; - interrupts = <0 109 0>; - qcom,msm-bus,name = "blsp1_uart3"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <86 512 0 0>, - <86 512 500 800>; - }; - - hsusb_otg: usb@f9a55000 { - compatible = "qcom,hsusb-otg"; - reg = <0xf9a55000 0x400>; - interrupts = <0 134 0 0 140 0>; - interrupt-names = "core_irq", "async_irq"; - HSUSB_VDDCX-supply = <&pm8019_l12>; - HSUSB_1p8-supply = <&pm8019_l2>; - HSUSB_3p3-supply = <&pm8019_l4>; - vbus_otg-supply = <&usb_vbus>; - - qcom,hsusb-otg-phy-type = <2>; - qcom,hsusb-otg-mode = <1>; - qcom,hsusb-otg-otg-control = <1>; - qcom,hsusb-otg-disable-reset; - qcom,hsusb-otg-delay-lpm-hndshk-on-disconnect; - qcom,hsusb-otg-delay-lpm; - qcom,hsusb-otg-mpm-dpsehv-int = <49>; - - qcom,msm-bus,name = "usb2"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <87 512 0 0>, - <87 512 40000 640000>; - qcom,hsusb-log2-itc = <4>; - }; - - hsic_host: hsic@f9a15000 { - compatible = "qcom,hsic-host"; - reg = <0xf9a15000 0x400>; - interrupts = <0 136 0>, <0 148 0>; - interrupt-names = "core_irq", "async_irq"; - HSIC_VDDCX-supply = <&pm8019_l12>; - HSIC_GDSC-supply = <&gdsc_usb_hsic>; - - qcom,msm-bus,name = "hsic"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <85 512 0 0>, - <85 512 40000 640000>; - qcom,pool-64-bit-align; - qcom,enable-hbm; - hsic,consider-ipa-handshake; - qcom,ahb-async-bridge-bypass; - hsic,disable-cerr; - qcom,disable-internal-clk-gating; - }; - - qcom,usbbam@f9a44000 { - compatible = "qcom,usb-bam-msm"; - reg = <0xf9a44000 0x11000>, - <0xf9a04000 0x11000>; - reg-names = "hsusb", "hsic"; - interrupts = <0 135 0 0 255 0>; - interrupt-names = "hsusb", "hsic"; - qcom,usb-bam-num-pipes = <16>; - qcom,ignore-core-reset-ack; - qcom,disable-clk-gating; - - qcom,pipe0 { - label = "hsusb-ipa-out-0"; - qcom,usb-bam-mem-type = <2>; - qcom,bam-type = <1>; - qcom,dir = <0>; - qcom,pipe-num = <0>; - qcom,peer-bam = <2>; - qcom,src-bam-physical-address = <0xf9a44000>; - qcom,src-bam-pipe-index = <1>; - qcom,data-fifo-size = <0x8000>; - qcom,descriptor-fifo-size = <0x2000>; - qcom,reset-bam-on-connect; - }; - qcom,pipe1 { - label = "hsusb-ipa-in-0"; - qcom,usb-bam-mem-type = <2>; - qcom,bam-type = <1>; - qcom,dir = <1>; - qcom,pipe-num = <0>; - qcom,peer-bam = <2>; - qcom,dst-bam-physical-address = <0xf9a44000>; - qcom,dst-bam-pipe-index = <0>; - qcom,data-fifo-size = <0x8000>; - qcom,descriptor-fifo-size = <0x2000>; - qcom,reset-bam-on-connect; - }; - qcom,pipe2 { - label = "hsusb-qdss-in-0"; - qcom,usb-bam-mem-type = <0>; - qcom,bam-type = <1>; - 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 = <0xf9a44000>; - qcom,dst-bam-pipe-index = <2>; - qcom,data-fifo-offset = <0x4100>; - qcom,data-fifo-size = <0x700>; - qcom,descriptor-fifo-offset = <0x4000>; - qcom,descriptor-fifo-size = <0x100>; - }; - qcom,pipe3 { - label = "hsic-ipa-in-0"; - qcom,usb-bam-mem-type = <2>; - qcom,bam-type = <2>; - qcom,dir = <1>; - qcom,pipe-num = <0>; - qcom,peer-bam = <2>; - qcom,dst-bam-physical-address = <0xf9a04000>; - qcom,dst-bam-pipe-index = <3>; - qcom,data-fifo-size = <0xF800>; - qcom,descriptor-fifo-size = <0x3A58>; - qcom,reset-bam-on-connect; - }; - qcom,pipe4 { - label = "hsic-ipa-in-1"; - qcom,bam-type = <2>; - qcom,dir = <1>; - qcom,pipe-num = <1>; - qcom,peer-bam = <2>; - qcom,usb-bam-mem-type = <2>; - qcom,dst-bam-physical-address = <0xf9a04000>; - qcom,dst-bam-pipe-index = <4>; - qcom,data-fifo-size = <0xF800>; - qcom,descriptor-fifo-size = <0x3A58>; - qcom,reset-bam-on-connect; - }; - qcom,pipe5 { - label = "hsic-ipa-in-2"; - qcom,usb-bam-mem-type = <2>; - qcom,bam-type = <2>; - qcom,dir = <1>; - qcom,pipe-num = <2>; - qcom,peer-bam = <2>; - qcom,dst-bam-physical-address = <0xf9a04000>; - qcom,dst-bam-pipe-index = <5>; - qcom,data-fifo-size = <0xF800>; - qcom,descriptor-fifo-size = <0x3A58>; - qcom,reset-bam-on-connect; - }; - qcom,pipe6 { - label = "hsic-ipa-in-3"; - qcom,usb-bam-mem-type = <2>; - qcom,bam-type = <2>; - qcom,dir = <1>; - qcom,pipe-num = <3>; - qcom,peer-bam = <2>; - qcom,dst-bam-physical-address = <0xf9a04000>; - qcom,dst-bam-pipe-index = <6>; - qcom,data-fifo-size = <0xF800>; - qcom,descriptor-fifo-size = <0x3A58>; - qcom,reset-bam-on-connect; - }; - qcom,pipe7 { - label = "hsic-ipa-out-0"; - qcom,usb-bam-mem-type = <2>; - qcom,bam-type = <2>; - qcom,dir = <0>; - qcom,pipe-num = <0>; - qcom,peer-bam = <2>; - qcom,src-bam-physical-address = <0xf9a04000>; - qcom,src-bam-pipe-index = <7>; - qcom,data-fifo-size = <0xDFE>; - qcom,descriptor-fifo-size = <0xB30>; - qcom,reset-bam-on-connect; - }; - - qcom,pipe8 { - label = "hsusb-ipa-out-1"; - qcom,usb-bam-mem-type = <2>; - qcom,bam-type = <1>; - qcom,dir = <0>; - qcom,pipe-num = <1>; - qcom,peer-bam = <2>; - qcom,src-bam-physical-address = <0xf9a44000>; - qcom,src-bam-pipe-index = <5>; - qcom,data-fifo-size = <0x8000>; - qcom,descriptor-fifo-size = <0x2000>; - qcom,reset-bam-on-connect; - }; - - qcom,pipe9 { - label = "hsusb-ipa-in-1"; - qcom,usb-bam-mem-type = <2>; - qcom,bam-type = <1>; - qcom,dir = <1>; - qcom,pipe-num = <1>; - qcom,peer-bam = <2>; - qcom,dst-bam-physical-address = <0xf9a44000>; - qcom,dst-bam-pipe-index = <4>; - qcom,data-fifo-size = <0x8000>; - qcom,descriptor-fifo-size = <0x2000>; - qcom,reset-bam-on-connect; - }; - - qcom,pipe10 { - label = "hsusb-ipa-out-2"; - qcom,usb-bam-mem-type = <2>; - qcom,bam-type = <1>; - qcom,dir = <0>; - qcom,pipe-num = <2>; - qcom,peer-bam = <2>; - qcom,src-bam-physical-address = <0xf9a44000>; - qcom,src-bam-pipe-index = <7>; - qcom,data-fifo-size = <0x8000>; - qcom,descriptor-fifo-size = <0x2000>; - qcom,reset-bam-on-connect; - }; - - qcom,pipe11 { - label = "hsusb-ipa-in-2"; - qcom,usb-bam-mem-type = <2>; - qcom,bam-type = <1>; - qcom,dir = <1>; - qcom,pipe-num = <2>; - qcom,peer-bam = <2>; - qcom,dst-bam-physical-address = <0xf9a44000>; - qcom,dst-bam-pipe-index = <6>; - qcom,data-fifo-size = <0x8000>; - qcom,descriptor-fifo-size = <0x2000>; - qcom,reset-bam-on-connect; - }; - - qcom,pipe12 { - label = "hsusb-ipa-out-3"; - qcom,usb-bam-mem-type = <2>; - qcom,bam-type = <1>; - qcom,dir = <0>; - qcom,pipe-num = <3>; - qcom,peer-bam = <2>; - qcom,src-bam-physical-address = <0xf9a44000>; - qcom,src-bam-pipe-index = <8>; - qcom,data-fifo-size = <0x8000>; - qcom,descriptor-fifo-size = <0x2000>; - qcom,reset-bam-on-connect; - }; - - qcom,pipe13 { - label = "hsusb-ipa-in-3"; - qcom,usb-bam-mem-type = <2>; - qcom,bam-type = <1>; - qcom,dir = <1>; - qcom,pipe-num = <3>; - qcom,peer-bam = <2>; - qcom,dst-bam-physical-address = <0xf9a44000>; - qcom,dst-bam-pipe-index = <9>; - qcom,data-fifo-size = <0x8000>; - qcom,descriptor-fifo-size = <0x2000>; - qcom,reset-bam-on-connect; - }; - }; - - qcom,nand@f9ac0000 { - compatible = "qcom,msm-nand"; - reg = <0xf9ac0000 0x1000>, - <0xf9ac4000 0x8000>; - reg-names = "nand_phys", - "bam_phys"; - interrupts = <0 247 0>; - interrupt-names = "bam_irq"; - }; - - spi_0: spi@f9924000 { - compatible = "qcom,spi-qup-v2"; - reg = <0xf9924000 0x1000>; - interrupts = <0 96 0>; - spi-max-frequency = <25000000>; - #address-cells = <1>; - #size-cells = <0>; - gpios = <&msmgpio 7 0>, /* CLK */ - <&msmgpio 5 0>, /* MISO */ - <&msmgpio 4 0>; /* MOSI */ - - cs-gpios = <&msmgpio 6 0>; - - qcom-spi-oled@1 { - compatible = "tplink,oleds90319"; - reg = <1>; - spi-max-frequency = <9600000>; - }; - - }; - - oled { - compatible = "tp,oled_pt"; - qcom,oled_s90319 { - compatible = "qcom,oled_s90319_pt"; - qcom,oled-cs-gpio = <&msmgpio 6 0>; /* refer to board-9625-gpiomux.c */ - qcom,oled-rsx-gpio = <&msmgpio 21 0>; - qcom,oled-reset-gpio = <&msmgpio 20 0>; - qcom,oled-vdd0-gpio = <&msmgpio 22 0>; - qcom,oled-vdd1-gpio = <&msmgpio 23 0>; - qcom,oled-boost-en-gpio = <&msmgpio 61 0>; - }; - }; - - - qcom,wdt@f9017000 { - compatible = "qcom,msm-watchdog"; - reg = <0xf9017000 0x1000>; - interrupts = <1 2 0>, <1 1 0>; - qcom,bark-time = <11000>; - qcom,pet-time = <10000>; - }; - - rpm_bus: qcom,rpm-smd { - compatible = "qcom,rpm-smd"; - rpm-channel-name = "rpm_requests"; - rpm-channel-type = <15>; /* SMD_APPS_RPM */ - }; - - spmi_bus: qcom,spmi@fc4c0000 { - cell-index = <0>; - 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-ee = <0>; - qcom,pmic-arb-channel = <0>; - }; - - sdcc2: qcom,sdcc@f98a4000 { - cell-index = <2>; /* SDC2 SD card slot */ - compatible = "qcom,msm-sdcc"; - reg = <0xf98a4000 0x800>, - <0xf98a4800 0x100>, - <0xf9884000 0x7000>; - reg-names = "core_mem", "dml_mem", "bam_mem"; - - vdd-supply = <&ext_2p95v>; - - vdd-io-supply = <&pm8019_l13>; - qcom,vdd-io-always-on; - qcom,vdd-io-lpm-sup; - qcom,vdd-io-voltage-level = <1800000 2950000>; - qcom,vdd-io-current-level = <6 22000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; - qcom,pad-pull-off = <0x0 0x3 0x3>; - qcom,pad-drv-on = <0x4 0x4 0x4>; - qcom,pad-drv-off = <0x0 0x0 0x0>; - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - qcom,sup-voltages = <2950 2950>; - qcom,bus-width = <4>; - qcom,xpc; - qcom,bus-speed-mode = "SDR12", "SDR25", "SDR50", "DDR50", "SDR104"; - qcom,current-limit = <800>; - - interrupt-parent = <&sdcc2>; - #address-cells = <0>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 125 0 - 1 &intc 0 220 0 - 2 &msmgpio 66 0x3>; - interrupt-names = "core_irq", "bam_irq", "status_irq"; - }; - - ipa_hw: qcom,ipa@fd4c0000 { - compatible = "qcom,ipa"; - reg = <0xfd4c0000 0x26000>, - <0xfd4c4000 0x14818>, - <0xfc834000 0x7000>; - reg-names = "ipa-base", "bam-base", "a2-bam-base"; - interrupts = <0 252 0>, - <0 253 0>, - <0 29 1>; - interrupt-names = "ipa-irq", "bam-irq", "a2-bam-irq"; - - qcom,pipe1 { - label = "a2-to-ipa"; - qcom,src-bam-physical-address = <0xfc834000>; - qcom,ipa-bam-mem-type = <0>; - qcom,src-bam-pipe-index = <1>; - qcom,dst-bam-physical-address = <0xfd4c0000>; - qcom,dst-bam-pipe-index = <6>; - qcom,data-fifo-offset = <0x1000>; - qcom,data-fifo-size = <0xd00>; - qcom,descriptor-fifo-offset = <0x1d00>; - qcom,descriptor-fifo-size = <0x300>; - }; - - qcom,pipe2 { - label = "ipa-to-a2"; - qcom,src-bam-physical-address = <0xfd4c0000>; - qcom,ipa-bam-mem-type = <0>; - qcom,src-bam-pipe-index = <7>; - qcom,dst-bam-physical-address = <0xfc834000>; - qcom,dst-bam-pipe-index = <0>; - qcom,data-fifo-offset = <0x00>; - qcom,data-fifo-size = <0xd00>; - qcom,descriptor-fifo-offset = <0xd00>; - qcom,descriptor-fifo-size = <0x300>; - }; - }; - - qcom,acpuclk@f9010000 { - compatible = "qcom,acpuclk-9625"; - reg = <0xf9010008 0x10>, - <0xf9008004 0x4>; - reg-names = "rcg_base", "pwr_base"; - a5_cpu-supply = <&pm8019_l10_corner_ao>; - a5_mem-supply = <&pm8019_l12_ao>; - }; - - gdsc_usb_hsic: qcom,gdsc@fc400404 { - compatible = "qcom,gdsc"; - reg = <0xfc400404 0x4>; - regulator-name = "gdsc_usb_hsic"; - }; - - tsens@fc4a8000 { - compatible = "qcom,msm-tsens"; - reg = <0xfc4a8000 0x2000>, - <0xfc4b8000 0x1000>; - reg-names = "tsens_physical", "tsens_eeprom_physical"; - interrupts = <0 184 0>; - qcom,sensors = <5>; - qcom,slope = <3200 3200 3200 3200 3200>; - qcom,calib-mode = "fuse_map1"; - }; - - qcom,msm-thermal { - compatible = "qcom,msm-thermal"; - qcom,sensor-id = <0>; - qcom,poll-ms = <250>; - qcom,limit-temp = <60>; - qcom,temp-hysteresis = <10>; - qcom,freq-step = <2>; - qcom,freq-control-mask = <0x0>; - qcom,vdd-restriction-temp = <5>; - qcom,vdd-restriction-temp-hysteresis = <10>; - vdd-dig-supply = <&pm8019_l10_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,msm-rng@f9bff000 { - compatible = "qcom,msm-rng"; - reg = <0xf9bff000 0x200>; - qcom,msm-rng-iface-clk; - }; - - i2c@f9925000 { - cell-index = <3>; - compatible = "qcom,i2c-qup"; - reg = <0xf9925000 0x1000>; - #address-cells = <1>; - #size-cells = <0>; - reg-names = "qup_phys_addr"; - interrupts = <0 97 0>; - interrupt-names = "qup_err_intr"; - qcom,i2c-bus-freq = <400000>; - qcom,i2c-src-freq = <19200000>; - }; - - qcom,mss { - compatible = "qcom,pil-q6v5-mss"; - interrupts = <0 24 1>; - qcom,is-not-loadable; - - /* 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>; - }; - - qcom,smem@0 { - compatible = "qcom,smem"; - reg = <0x0 0x100000>, - <0xf9011000 0x1000>, - <0xfc428000 0x4000>; - reg-names = "smem", "irq-reg-base", "aux-mem1"; - - qcom,smd-modem { - compatible = "qcom,smd"; - qcom,smd-edge = <0>; - qcom,smd-irq-offset = <0x8>; - qcom,smd-irq-bitmask = <0x1000>; - qcom,pil-string = "modem"; - interrupts = <0 25 1>; - }; - - qcom,smsm-modem { - compatible = "qcom,smsm"; - qcom,smsm-edge = <0>; - qcom,smsm-irq-offset = <0x8>; - qcom,smsm-irq-bitmask = <0x2000>; - interrupts = <0 26 1>; - }; - - qcom,smd-adsp { - compatible = "qcom,smd"; - qcom,smd-edge = <1>; - qcom,smd-irq-offset = <0x8>; - qcom,smd-irq-bitmask = <0x100>; - qcom,pil-string = "adsp"; - interrupts = <0 156 1>; - }; - - qcom,smsm-adsp { - compatible = "qcom,smsm"; - qcom,smsm-edge = <1>; - qcom,smsm-irq-offset = <0x8>; - qcom,smsm-irq-bitmask = <0x200>; - interrupts = <0 157 1>; - }; - - qcom,smd-rpm { - compatible = "qcom,smd"; - qcom,smd-edge = <15>; - qcom,smd-irq-offset = <0x8>; - qcom,smd-irq-bitmask = <0x1>; - interrupts = <0 168 1>; - qcom,irq-no-suspend; - }; - }; - - qcom,qcedev@fd400000 { - compatible = "qcom,qcedev"; - reg = <0xfd400000 0x20000>, - <0xfd404000 0x8000>; - reg-names = "crypto-base","crypto-bam-base"; - interrupts = <0 207 0>; - qcom,bam-pipe-pair = <1>; - }; - - qcom,qcrypto@fd440000 { - compatible = "qcom,qcrypto"; - reg = <0xfd400000 0x20000>, - <0xfd404000 0x8000>; - reg-names = "crypto-base","crypto-bam-base"; - interrupts = <0 207 0>; - qcom,bam-pipe-pair = <2>; - }; - - jtag_mm: jtagmm@fc332000 { - compatible = "qcom,jtag-mm"; - reg = <0xfc332000 0x1000>, - <0xfc330000 0x1000>; - reg-names = "etm-base","debug-base"; - }; - - qcom,msm-rtb { - compatible = "qcom,msm-rtb"; - qcom,memory-reservation-type = "EBI1"; - qcom,memory-reservation-size = <0x1000>; /* 4K EBI1 buffer */ - }; - - qcom,msm-mem-hole { - compatible = "qcom,msm-mem-hole"; - qcom,memblock-remove = <0x1c00000 0x4c00000>; /* Address and Size of Hole */ - }; - - sfpb_spinlock: qcom,ipc-spinlock@fd484000 { - compatible = "qcom,ipc-spinlock-sfpb"; - reg = <0xfd484000 0x400>; - qcom,num-locks = <8>; - }; - - ldrex_spinlock: qcom,ipc-spinlock@fa00000 { - compatible = "qcom,ipc-spinlock-ldrex"; - reg = <0xfa00000 0x200000>; - status = "disable"; - }; - - cpu-pmu { - compatible = "arm,cortex-a5-pmu"; - qcom,irq-is-percpu; - interrupts = <1 7 0x00>; - }; - - l2-pmu { - compatible = "qcom,l2-pmu"; - interrupts = <0 1 0>; - }; - - /* [houjihai start] gpio keys */ - gpio-keys { - compatible = "gpio-keys"; - autorepeat; - input-name = "gpio-keys"; - key-up { - label = "WPS"; - linux,code = <103>; - gpios = <&msmgpio 14 1>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - key-back { - label = "RESET"; - linux,code = <158>; - gpios = <&msmgpio 15 1>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - }; - /* [houjihai end] */ - -}; - -/include/ "msm-pm8019-rpm-regulator.dtsi" -/include/ "msm-pm8019.dtsi" -/include/ "msm9625-regulator.dtsi" - -&pm8019_vadc { - chan@31 { - label = "batt_id_therm"; - reg = <0x31>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - /* [linyunfeng] Detect battery voltage */ - chan@11 { - label = "vbat"; - reg = <0x11>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@33 { - label = "pa_therm0"; - reg = <0x33>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@34 { - label = "pa_therm1"; - reg = <0x34>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@32 { - label = "xo_therm"; - reg = <0x32>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <4>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@3c { - label = "xo_therm_amux"; - reg = <0x3c>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <4>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@13 { - label = "case_therm"; - reg = <0x13>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@15 { - label = "ambient_therm"; - reg = <0x15>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; -}; - -&pm8019_adc_tm { - /* Channel Node */ - chan@33 { - label = "pa_therm0"; - reg = <0x33>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - qcom,btm-channel-number = <0x48>; - qcom,thermal-node; - }; - - chan@34 { - label = "pa_therm1"; - reg = <0x34>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - qcom,btm-channel-number = <0x68>; - qcom,thermal-node; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msmkrypton-sim.dts b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msmkrypton-sim.dts deleted file mode 100644 index 1872a36b9..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msmkrypton-sim.dts +++ /dev/null @@ -1,25 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; - -/include/ "msmkrypton.dtsi" - -/ { - model = "Qualcomm MSM KRYPTON SIM"; - compatible = "qcom,msmkrypton-sim", "qcom,msmkrypton", "qcom,sim"; - qcom,msm-id = <187 16 0>; -}; - -&uartdm3{ - status = "ok"; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msmkrypton.dtsi b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msmkrypton.dtsi deleted file mode 100644 index 4b032d86d..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msmkrypton.dtsi +++ /dev/null @@ -1,120 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/include/ "skeleton.dtsi" - -/ { - model = "Qualcomm MSM KRYPTON"; - compatible = "qcom,msmkrypton"; - interrupt-parent = <&intc>; - - soc: soc { }; -}; - -&soc { - #address-cells = <1>; - #size-cells = <1>; - ranges; - - intc: interrupt-controller@f9000000 { - compatible = "qcom,msm-qgic2"; - interrupt-controller; - #interrupt-cells = <3>; - reg = <0xf9000000 0x1000>, - <0xf9002000 0x1000>; - }; - - msmgpio: gpio@fd510000 { - compatible = "qcom,msm-gpio"; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - reg = <0xfd510000 0x4000>; - ngpio = <89>; - interrupts = <0 208 0>; - qcom,direct-connect-irqs = <8>; - }; - - 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 7 0x4>, - <0 6 0x4>; - reg = <0xf9021000 0x1000>, - <0xf9022000 0x1000>; - }; - - frame@f9023000 { - frame-number = <1>; - interrupts = <0 8 0x4>; - reg = <0xf9023000 0x1000>; - status = "disabled"; - }; - - frame@f9024000 { - frame-number = <2>; - interrupts = <0 9 0x4>; - reg = <0xf9024000 0x1000>; - status = "disabled"; - }; - - frame@f9025000 { - frame-number = <3>; - interrupts = <0 10 0x4>; - reg = <0xf9025000 0x1000>; - status = "disabled"; - }; - - frame@f9026000 { - frame-number = <4>; - interrupts = <0 11 0x4>; - reg = <0xf9026000 0x1000>; - status = "disabled"; - }; - - frame@f9027000 { - frame-number = <5>; - interrupts = <0 12 0x4>; - reg = <0xf9027000 0x1000>; - status = "disabled"; - }; - - frame@f9028000 { - frame-number = <6>; - interrupts = <0 13 0x4>; - reg = <0xf9028000 0x1000>; - status = "disabled"; - }; - - frame@f9029000 { - frame-number = <7>; - interrupts = <0 14 0x4>; - reg = <0xf9029000 0x1000>; - status = "disabled"; - }; - }; - - uartdm3: serial@f991f000 { - compatible = "qcom,msm-lsuart-v14"; - reg = <0xf991f000 0x1000>; - interrupts = <0 109 0>; - status = "disabled"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msmsamarium-ion.dtsi b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msmsamarium-ion.dtsi deleted file mode 100644 index ea954b89c..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msmsamarium-ion.dtsi +++ /dev/null @@ -1,31 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -&soc { - qcom,ion { - compatible = "qcom,msm-ion"; - #address-cells = <1>; - #size-cells = <0>; - - qcom,ion-heap@30 { /* SYSTEM HEAP */ - reg = <30>; - }; - - qcom,ion-heap@21 { /* SYSTEM CONTIG HEAP */ - reg = <21>; - }; - - qcom,ion-heap@25 { /* IOMMU HEAP */ - reg = <25>; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msmsamarium-rumi.dts b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msmsamarium-rumi.dts deleted file mode 100644 index 9a679a4fd..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msmsamarium-rumi.dts +++ /dev/null @@ -1,25 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; - -/include/ "msmsamarium.dtsi" - -/ { - model = "Qualcomm MSM SAMARIUM RUMI"; - compatible = "qcom,msmsamarium-rumi", "qcom,msmsamarium", "qcom,rumi"; - qcom,msm-id = <195 0 0>; -}; - -&uartblsp0dm2{ - status = "ok"; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msmsamarium-sim.dts b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msmsamarium-sim.dts deleted file mode 100644 index 4acffae18..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msmsamarium-sim.dts +++ /dev/null @@ -1,55 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; - -/include/ "msmsamarium.dtsi" - -/ { - model = "Qualcomm MSM SAMARIUM SIM"; - compatible = "qcom,msmsamarium-sim", "qcom,msmsamarium", "qcom,sim"; - qcom,msm-id = <195 0 0>; -}; - -&uartblsp0dm2{ - status = "ok"; -}; - -&sdcc1 { - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - qcom,sup-voltages = <2950 2950>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,bus-speed-mode = "HS200_1p8v", "DDR_1p8v"; - qcom,nonremovable; - status = "ok"; -}; - -&sdcc2 { - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - qcom,sup-voltages = <2950 2950>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,xpc; - qcom,bus-speed-mode = "SDR12", "SDR25", "SDR50", "DDR50", "SDR104"; - qcom,current-limit = <800>; - - status = "ok"; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msmsamarium.dtsi b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msmsamarium.dtsi deleted file mode 100644 index 81699b689..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/msmsamarium.dtsi +++ /dev/null @@ -1,90 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/include/ "skeleton.dtsi" - -/ { - model = "Qualcomm MSM SAMARIUM"; - compatible = "qcom,msmsamarium"; - interrupt-parent = <&intc>; - soc: soc { }; -}; - -/include/ "msmsamarium-ion.dtsi" - -&soc { - #address-cells = <1>; - #size-cells = <1>; - ranges; - - intc: interrupt-controller@f9000000 { - compatible = "qcom,msm-qgic2"; - interrupt-controller; - #interrupt-cells = <3>; - reg = <0xf9000000 0x1000>, - <0xf9002000 0x1000>; - }; - - msmgpio: gpio@fd510000 { - compatible = "qcom,msm-gpio"; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - reg = <0xfd510000 0x4000>; - ngpio = <145>; - interrupts = <0 208 0>; - qcom,direct-connect-irqs = <8>; - }; - - timer { - compatible = "arm,armv7-timer"; - interrupts = <1 2 0 1 3 0>; - clock-frequency = <19200000>; - }; - - uartblsp0dm2: serial@f991f000 { - compatible = "qcom,msm-lsuart-v14"; - reg = <0xf991f000 0x1000>; - interrupts = <0 109 0>; - status = "disabled"; - }; - - qcom,msm-imem@fe805000 { - compatible = "qcom,msm-imem"; - reg = <0xfe805000 0x1000>; /* Address and size of IMEM */ - }; - - sdcc1: qcom,sdcc@f9824000 { - cell-index = <1>; /* SDC1 eMMC slot */ - compatible = "qcom,msm-sdcc"; - reg = <0xf9824000 0x800>; - reg-names = "core_mem"; - interrupts = <0 123 0>; - interrupt-names = "core_irq"; - - qcom,bus-width = <8>; - status = "disabled"; - }; - - sdcc2: qcom,sdcc@f98a4000 { - cell-index = <2>; /* SDC2 SD card slot */ - compatible = "qcom,msm-sdcc"; - reg = <0xf98a4000 0x800>; - reg-names = "core_mem"; - interrupts = <0 125 0>; - interrupt-names = "core_irq"; - - qcom,bus-width = <4>; - status = "disabled"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/omap2.dtsi b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/omap2.dtsi deleted file mode 100644 index f2ab4ea7c..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/omap2.dtsi +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Device Tree Source for OMAP2 SoC - * - * Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/ - * - * This file is licensed under the terms of the GNU General Public License - * version 2. This program is licensed "as is" without any warranty of any - * kind, whether express or implied. - */ - -/include/ "skeleton.dtsi" - -/ { - compatible = "ti,omap2430", "ti,omap2420", "ti,omap2"; - - aliases { - serial0 = &uart1; - serial1 = &uart2; - serial2 = &uart3; - }; - - cpus { - cpu@0 { - compatible = "arm,arm1136jf-s"; - }; - }; - - soc { - compatible = "ti,omap-infra"; - mpu { - compatible = "ti,omap2-mpu"; - ti,hwmods = "mpu"; - }; - }; - - ocp { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - ti,hwmods = "l3_main"; - - intc: interrupt-controller@1 { - compatible = "ti,omap2-intc"; - interrupt-controller; - #interrupt-cells = <1>; - }; - - uart1: serial@4806a000 { - compatible = "ti,omap2-uart"; - ti,hwmods = "uart1"; - clock-frequency = <48000000>; - }; - - uart2: serial@4806c000 { - compatible = "ti,omap2-uart"; - ti,hwmods = "uart2"; - clock-frequency = <48000000>; - }; - - uart3: serial@4806e000 { - compatible = "ti,omap2-uart"; - ti,hwmods = "uart3"; - clock-frequency = <48000000>; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/omap3-beagle.dts b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/omap3-beagle.dts deleted file mode 100644 index 9f72cd4cf..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/omap3-beagle.dts +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/ - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. - */ -/dts-v1/; - -/include/ "omap3.dtsi" - -/ { - model = "TI OMAP3 BeagleBoard"; - compatible = "ti,omap3-beagle", "ti,omap3"; - - memory { - device_type = "memory"; - reg = <0x80000000 0x20000000>; /* 512 MB */ - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/omap3-evm.dts b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/omap3-evm.dts deleted file mode 100644 index 2eee16ec5..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/omap3-evm.dts +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/ - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. - */ -/dts-v1/; - -/include/ "omap3.dtsi" - -/ { - model = "TI OMAP3 EVM (OMAP3530, AM/DM37x)"; - compatible = "ti,omap3-evm", "ti,omap3"; - - memory { - device_type = "memory"; - reg = <0x80000000 0x10000000>; /* 256 MB */ - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/omap3.dtsi b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/omap3.dtsi deleted file mode 100644 index c6121357c..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/omap3.dtsi +++ /dev/null @@ -1,117 +0,0 @@ -/* - * Device Tree Source for OMAP3 SoC - * - * Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/ - * - * This file is licensed under the terms of the GNU General Public License - * version 2. This program is licensed "as is" without any warranty of any - * kind, whether express or implied. - */ - -/include/ "skeleton.dtsi" - -/ { - compatible = "ti,omap3430", "ti,omap3"; - - aliases { - serial0 = &uart1; - serial1 = &uart2; - serial2 = &uart3; - serial3 = &uart4; - }; - - cpus { - cpu@0 { - compatible = "arm,cortex-a8"; - }; - }; - - /* - * The soc node represents the soc top level view. It is uses for IPs - * that are not memory mapped in the MPU view or for the MPU itself. - */ - soc { - compatible = "ti,omap-infra"; - mpu { - compatible = "ti,omap3-mpu"; - ti,hwmods = "mpu"; - }; - - iva { - compatible = "ti,iva2.2"; - ti,hwmods = "iva"; - - dsp { - compatible = "ti,omap3-c64"; - }; - }; - }; - - /* - * XXX: Use a flat representation of the OMAP3 interconnect. - * The real OMAP interconnect network is quite complex. - * Since that will not bring real advantage to represent that in DT for - * the moment, just use a fake OCP bus entry to represent the whole bus - * hierarchy. - */ - ocp { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - ti,hwmods = "l3_main"; - - intc: interrupt-controller@48200000 { - compatible = "ti,omap2-intc"; - interrupt-controller; - #interrupt-cells = <1>; - ti,intc-size = <96>; - reg = <0x48200000 0x1000>; - }; - - uart1: serial@4806a000 { - compatible = "ti,omap3-uart"; - ti,hwmods = "uart1"; - clock-frequency = <48000000>; - }; - - uart2: serial@4806c000 { - compatible = "ti,omap3-uart"; - ti,hwmods = "uart2"; - clock-frequency = <48000000>; - }; - - uart3: serial@49020000 { - compatible = "ti,omap3-uart"; - ti,hwmods = "uart3"; - clock-frequency = <48000000>; - }; - - uart4: serial@49042000 { - compatible = "ti,omap3-uart"; - ti,hwmods = "uart4"; - clock-frequency = <48000000>; - }; - - i2c1: i2c@48070000 { - compatible = "ti,omap3-i2c"; - #address-cells = <1>; - #size-cells = <0>; - ti,hwmods = "i2c1"; - }; - - i2c2: i2c@48072000 { - compatible = "ti,omap3-i2c"; - #address-cells = <1>; - #size-cells = <0>; - ti,hwmods = "i2c2"; - }; - - i2c3: i2c@48060000 { - compatible = "ti,omap3-i2c"; - #address-cells = <1>; - #size-cells = <0>; - ti,hwmods = "i2c3"; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/omap4-panda.dts b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/omap4-panda.dts deleted file mode 100644 index 9755ad591..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/omap4-panda.dts +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/ - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. - */ -/dts-v1/; - -/include/ "omap4.dtsi" - -/ { - model = "TI OMAP4 PandaBoard"; - compatible = "ti,omap4-panda", "ti,omap4430", "ti,omap4"; - - memory { - device_type = "memory"; - reg = <0x80000000 0x40000000>; /* 1 GB */ - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/omap4-sdp.dts b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/omap4-sdp.dts deleted file mode 100644 index 63c6b2b2b..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/omap4-sdp.dts +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/ - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. - */ -/dts-v1/; - -/include/ "omap4.dtsi" - -/ { - model = "TI OMAP4 SDP board"; - compatible = "ti,omap4-sdp", "ti,omap4430", "ti,omap4"; - - memory { - device_type = "memory"; - reg = <0x80000000 0x40000000>; /* 1 GB */ - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/omap4.dtsi b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/omap4.dtsi deleted file mode 100644 index 3d35559e7..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/omap4.dtsi +++ /dev/null @@ -1,159 +0,0 @@ -/* - * Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/ - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. - */ - -/* - * Carveout for multimedia usecases - * It should be the last 48MB of the first 512MB memory part - * In theory, it should not even exist. That zone should be reserved - * dynamically during the .reserve callback. - */ -/memreserve/ 0x9d000000 0x03000000; - -/include/ "skeleton.dtsi" - -/ { - compatible = "ti,omap4430", "ti,omap4"; - interrupt-parent = <&gic>; - - aliases { - serial0 = &uart1; - serial1 = &uart2; - serial2 = &uart3; - serial3 = &uart4; - }; - - cpus { - cpu@0 { - compatible = "arm,cortex-a9"; - }; - cpu@1 { - compatible = "arm,cortex-a9"; - }; - }; - - /* - * The soc node represents the soc top level view. It is uses for IPs - * that are not memory mapped in the MPU view or for the MPU itself. - */ - soc { - compatible = "ti,omap-infra"; - mpu { - compatible = "ti,omap4-mpu"; - ti,hwmods = "mpu"; - }; - - dsp { - compatible = "ti,omap3-c64"; - ti,hwmods = "dsp"; - }; - - iva { - compatible = "ti,ivahd"; - ti,hwmods = "iva"; - }; - }; - - /* - * XXX: Use a flat representation of the OMAP4 interconnect. - * The real OMAP interconnect network is quite complex. - * - * MPU -+-- MPU_PRIVATE - GIC, L2 - * | - * +----------------+----------+ - * | | | - * + +- EMIF - DDR | - * | | | - * | + +--------+ - * | | | - * | +- L4_ABE - AESS, MCBSP, TIMERs... - * | | - * +- L3_MAIN --+- L4_CORE - IPs... - * | - * +- L4_PER - IPs... - * | - * +- L4_CFG -+- L4_WKUP - IPs... - * | | - * | +- IPs... - * +- IPU ----+ - * | | - * +- DSP ----+ - * | | - * +- DSS ----+ - * - * Since that will not bring real advantage to represent that in DT for - * the moment, just use a fake OCP bus entry to represent the whole bus - * hierarchy. - */ - ocp { - compatible = "ti,omap4-l3-noc", "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - ti,hwmods = "l3_main_1", "l3_main_2", "l3_main_3"; - - gic: interrupt-controller@48241000 { - compatible = "arm,cortex-a9-gic"; - interrupt-controller; - #interrupt-cells = <3>; - reg = <0x48241000 0x1000>, - <0x48240100 0x0100>; - }; - - uart1: serial@4806a000 { - compatible = "ti,omap4-uart"; - ti,hwmods = "uart1"; - clock-frequency = <48000000>; - }; - - uart2: serial@4806c000 { - compatible = "ti,omap4-uart"; - ti,hwmods = "uart2"; - clock-frequency = <48000000>; - }; - - uart3: serial@48020000 { - compatible = "ti,omap4-uart"; - ti,hwmods = "uart3"; - clock-frequency = <48000000>; - }; - - uart4: serial@4806e000 { - compatible = "ti,omap4-uart"; - ti,hwmods = "uart4"; - clock-frequency = <48000000>; - }; - - i2c1: i2c@48070000 { - compatible = "ti,omap4-i2c"; - #address-cells = <1>; - #size-cells = <0>; - ti,hwmods = "i2c1"; - }; - - i2c2: i2c@48072000 { - compatible = "ti,omap4-i2c"; - #address-cells = <1>; - #size-cells = <0>; - ti,hwmods = "i2c2"; - }; - - i2c3: i2c@48060000 { - compatible = "ti,omap4-i2c"; - #address-cells = <1>; - #size-cells = <0>; - ti,hwmods = "i2c3"; - }; - - i2c4: i2c@48350000 { - compatible = "ti,omap4-i2c"; - #address-cells = <1>; - #size-cells = <0>; - ti,hwmods = "i2c4"; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/picoxcell-pc3x2.dtsi b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/picoxcell-pc3x2.dtsi deleted file mode 100644 index f0a8c2068..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/picoxcell-pc3x2.dtsi +++ /dev/null @@ -1,249 +0,0 @@ -/* - * Copyright (C) 2011 Picochip, Jamie Iles - * - * This software is licensed under the terms of the GNU General Public - * License version 2, as published by the Free Software Foundation, and - * may be copied, distributed, and modified under those terms. - * - * 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. - */ -/include/ "skeleton.dtsi" -/ { - model = "Picochip picoXcell PC3X2"; - compatible = "picochip,pc3x2"; - #address-cells = <1>; - #size-cells = <1>; - - cpus { - #address-cells = <1>; - #size-cells = <0>; - - cpu@0 { - compatible = "arm,1176jz-s"; - clock-frequency = <400000000>; - reg = <0>; - d-cache-line-size = <32>; - d-cache-size = <32768>; - i-cache-line-size = <32>; - i-cache-size = <32768>; - }; - }; - - clocks { - #address-cells = <1>; - #size-cells = <1>; - ranges; - - pclk: clock@0 { - compatible = "fixed-clock"; - clock-outputs = "bus", "pclk"; - clock-frequency = <200000000>; - ref-clock = <&ref_clk>, "ref"; - }; - }; - - paxi { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0 0x80000000 0x400000>; - - emac: gem@30000 { - compatible = "cadence,gem"; - reg = <0x30000 0x10000>; - interrupts = <31>; - }; - - dmac1: dmac@40000 { - compatible = "snps,dw-dmac"; - reg = <0x40000 0x10000>; - interrupts = <25>; - }; - - dmac2: dmac@50000 { - compatible = "snps,dw-dmac"; - reg = <0x50000 0x10000>; - interrupts = <26>; - }; - - vic0: interrupt-controller@60000 { - compatible = "arm,pl192-vic"; - interrupt-controller; - reg = <0x60000 0x1000>; - #interrupt-cells = <1>; - }; - - vic1: interrupt-controller@64000 { - compatible = "arm,pl192-vic"; - interrupt-controller; - reg = <0x64000 0x1000>; - #interrupt-cells = <1>; - }; - - fuse: picoxcell-fuse@80000 { - compatible = "picoxcell,fuse-pc3x2"; - reg = <0x80000 0x10000>; - }; - - ssi: picoxcell-spi@90000 { - compatible = "picoxcell,spi"; - reg = <0x90000 0x10000>; - interrupt-parent = <&vic0>; - interrupts = <10>; - }; - - ipsec: spacc@100000 { - compatible = "picochip,spacc-ipsec"; - reg = <0x100000 0x10000>; - interrupt-parent = <&vic0>; - interrupts = <24>; - ref-clock = <&pclk>, "ref"; - }; - - srtp: spacc@140000 { - compatible = "picochip,spacc-srtp"; - reg = <0x140000 0x10000>; - interrupt-parent = <&vic0>; - interrupts = <23>; - }; - - l2_engine: spacc@180000 { - compatible = "picochip,spacc-l2"; - reg = <0x180000 0x10000>; - interrupt-parent = <&vic0>; - interrupts = <22>; - ref-clock = <&pclk>, "ref"; - }; - - apb { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0 0x200000 0x80000>; - - rtc0: rtc@00000 { - compatible = "picochip,pc3x2-rtc"; - clock-freq = <200000000>; - reg = <0x00000 0xf>; - interrupt-parent = <&vic1>; - interrupts = <8>; - }; - - timer0: timer@10000 { - compatible = "picochip,pc3x2-timer"; - interrupt-parent = <&vic0>; - interrupts = <4>; - clock-freq = <200000000>; - reg = <0x10000 0x14>; - }; - - timer1: timer@10014 { - compatible = "picochip,pc3x2-timer"; - interrupt-parent = <&vic0>; - interrupts = <5>; - clock-freq = <200000000>; - reg = <0x10014 0x14>; - }; - - timer2: timer@10028 { - compatible = "picochip,pc3x2-timer"; - interrupt-parent = <&vic0>; - interrupts = <6>; - clock-freq = <200000000>; - reg = <0x10028 0x14>; - }; - - timer3: timer@1003c { - compatible = "picochip,pc3x2-timer"; - interrupt-parent = <&vic0>; - interrupts = <7>; - clock-freq = <200000000>; - reg = <0x1003c 0x14>; - }; - - gpio: gpio@20000 { - compatible = "snps,dw-apb-gpio"; - reg = <0x20000 0x1000>; - #address-cells = <1>; - #size-cells = <0>; - reg-io-width = <4>; - - banka: gpio-controller@0 { - compatible = "snps,dw-apb-gpio-bank"; - gpio-controller; - #gpio-cells = <2>; - gpio-generic,nr-gpio = <8>; - - regoffset-dat = <0x50>; - regoffset-set = <0x00>; - regoffset-dirout = <0x04>; - }; - - bankb: gpio-controller@1 { - compatible = "snps,dw-apb-gpio-bank"; - gpio-controller; - #gpio-cells = <2>; - gpio-generic,nr-gpio = <8>; - - regoffset-dat = <0x54>; - regoffset-set = <0x0c>; - regoffset-dirout = <0x10>; - }; - }; - - uart0: uart@30000 { - compatible = "snps,dw-apb-uart"; - reg = <0x30000 0x1000>; - interrupt-parent = <&vic1>; - interrupts = <10>; - clock-frequency = <3686400>; - reg-shift = <2>; - reg-io-width = <4>; - }; - - uart1: uart@40000 { - compatible = "snps,dw-apb-uart"; - reg = <0x40000 0x1000>; - interrupt-parent = <&vic1>; - interrupts = <9>; - clock-frequency = <3686400>; - reg-shift = <2>; - reg-io-width = <4>; - }; - - wdog: watchdog@50000 { - compatible = "snps,dw-apb-wdg"; - reg = <0x50000 0x10000>; - interrupt-parent = <&vic0>; - interrupts = <11>; - bus-clock = <&pclk>, "bus"; - }; - }; - }; - - rwid-axi { - #address-cells = <1>; - #size-cells = <1>; - compatible = "simple-bus"; - ranges; - - ebi@50000000 { - compatible = "simple-bus"; - #address-cells = <2>; - #size-cells = <1>; - ranges = <0 0 0x40000000 0x08000000 - 1 0 0x48000000 0x08000000 - 2 0 0x50000000 0x08000000 - 3 0 0x58000000 0x08000000>; - }; - - axi2pico@c0000000 { - compatible = "picochip,axi2pico-pc3x2"; - reg = <0xc0000000 0x10000>; - interrupts = <13 14 15 16 17 18 19 20 21>; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/picoxcell-pc3x3.dtsi b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/picoxcell-pc3x3.dtsi deleted file mode 100644 index daa962d19..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/picoxcell-pc3x3.dtsi +++ /dev/null @@ -1,365 +0,0 @@ -/* - * Copyright (C) 2011 Picochip, Jamie Iles - * - * This software is licensed under the terms of the GNU General Public - * License version 2, as published by the Free Software Foundation, and - * may be copied, distributed, and modified under those terms. - * - * 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. - */ -/include/ "skeleton.dtsi" -/ { - model = "Picochip picoXcell PC3X3"; - compatible = "picochip,pc3x3"; - #address-cells = <1>; - #size-cells = <1>; - - cpus { - #address-cells = <1>; - #size-cells = <0>; - - cpu@0 { - compatible = "arm,1176jz-s"; - cpu-clock = <&arm_clk>, "cpu"; - reg = <0>; - d-cache-line-size = <32>; - d-cache-size = <32768>; - i-cache-line-size = <32>; - i-cache-size = <32768>; - }; - }; - - clocks { - #address-cells = <1>; - #size-cells = <1>; - ranges; - - clkgate: clkgate@800a0048 { - #address-cells = <1>; - #size-cells = <0>; - reg = <0x800a0048 4>; - compatible = "picochip,pc3x3-clk-gate"; - - tzprot_clk: clock@0 { - compatible = "picochip,pc3x3-gated-clk"; - clock-outputs = "bus"; - picochip,clk-disable-bit = <0>; - clock-frequency = <200000000>; - ref-clock = <&ref_clk>, "ref"; - }; - - spi_clk: clock@1 { - compatible = "picochip,pc3x3-gated-clk"; - clock-outputs = "bus"; - picochip,clk-disable-bit = <1>; - clock-frequency = <200000000>; - ref-clock = <&ref_clk>, "ref"; - }; - - dmac0_clk: clock@2 { - compatible = "picochip,pc3x3-gated-clk"; - clock-outputs = "bus"; - picochip,clk-disable-bit = <2>; - clock-frequency = <200000000>; - ref-clock = <&ref_clk>, "ref"; - }; - - dmac1_clk: clock@3 { - compatible = "picochip,pc3x3-gated-clk"; - clock-outputs = "bus"; - picochip,clk-disable-bit = <3>; - clock-frequency = <200000000>; - ref-clock = <&ref_clk>, "ref"; - }; - - ebi_clk: clock@4 { - compatible = "picochip,pc3x3-gated-clk"; - clock-outputs = "bus"; - picochip,clk-disable-bit = <4>; - clock-frequency = <200000000>; - ref-clock = <&ref_clk>, "ref"; - }; - - ipsec_clk: clock@5 { - compatible = "picochip,pc3x3-gated-clk"; - clock-outputs = "bus"; - picochip,clk-disable-bit = <5>; - clock-frequency = <200000000>; - ref-clock = <&ref_clk>, "ref"; - }; - - l2_clk: clock@6 { - compatible = "picochip,pc3x3-gated-clk"; - clock-outputs = "bus"; - picochip,clk-disable-bit = <6>; - clock-frequency = <200000000>; - ref-clock = <&ref_clk>, "ref"; - }; - - trng_clk: clock@7 { - compatible = "picochip,pc3x3-gated-clk"; - clock-outputs = "bus"; - picochip,clk-disable-bit = <7>; - clock-frequency = <200000000>; - ref-clock = <&ref_clk>, "ref"; - }; - - fuse_clk: clock@8 { - compatible = "picochip,pc3x3-gated-clk"; - clock-outputs = "bus"; - picochip,clk-disable-bit = <8>; - clock-frequency = <200000000>; - ref-clock = <&ref_clk>, "ref"; - }; - - otp_clk: clock@9 { - compatible = "picochip,pc3x3-gated-clk"; - clock-outputs = "bus"; - picochip,clk-disable-bit = <9>; - clock-frequency = <200000000>; - ref-clock = <&ref_clk>, "ref"; - }; - }; - - arm_clk: clock@11 { - compatible = "picochip,pc3x3-pll"; - reg = <0x800a0050 0x8>; - picochip,min-freq = <140000000>; - picochip,max-freq = <700000000>; - ref-clock = <&ref_clk>, "ref"; - clock-outputs = "cpu"; - }; - - pclk: clock@12 { - compatible = "fixed-clock"; - clock-outputs = "bus", "pclk"; - clock-frequency = <200000000>; - ref-clock = <&ref_clk>, "ref"; - }; - }; - - paxi { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0 0x80000000 0x400000>; - - emac: gem@30000 { - compatible = "cadence,gem"; - reg = <0x30000 0x10000>; - interrupt-parent = <&vic0>; - interrupts = <31>; - }; - - dmac1: dmac@40000 { - compatible = "snps,dw-dmac"; - reg = <0x40000 0x10000>; - interrupt-parent = <&vic0>; - interrupts = <25>; - }; - - dmac2: dmac@50000 { - compatible = "snps,dw-dmac"; - reg = <0x50000 0x10000>; - interrupt-parent = <&vic0>; - interrupts = <26>; - }; - - vic0: interrupt-controller@60000 { - compatible = "arm,pl192-vic"; - interrupt-controller; - reg = <0x60000 0x1000>; - #interrupt-cells = <1>; - }; - - vic1: interrupt-controller@64000 { - compatible = "arm,pl192-vic"; - interrupt-controller; - reg = <0x64000 0x1000>; - #interrupt-cells = <1>; - }; - - fuse: picoxcell-fuse@80000 { - compatible = "picoxcell,fuse-pc3x3"; - reg = <0x80000 0x10000>; - }; - - ssi: picoxcell-spi@90000 { - compatible = "picoxcell,spi"; - reg = <0x90000 0x10000>; - interrupt-parent = <&vic0>; - interrupts = <10>; - }; - - ipsec: spacc@100000 { - compatible = "picochip,spacc-ipsec"; - reg = <0x100000 0x10000>; - interrupt-parent = <&vic0>; - interrupts = <24>; - ref-clock = <&ipsec_clk>, "ref"; - }; - - srtp: spacc@140000 { - compatible = "picochip,spacc-srtp"; - reg = <0x140000 0x10000>; - interrupt-parent = <&vic0>; - interrupts = <23>; - }; - - l2_engine: spacc@180000 { - compatible = "picochip,spacc-l2"; - reg = <0x180000 0x10000>; - interrupt-parent = <&vic0>; - interrupts = <22>; - ref-clock = <&l2_clk>, "ref"; - }; - - apb { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0 0x200000 0x80000>; - - rtc0: rtc@00000 { - compatible = "picochip,pc3x2-rtc"; - clock-freq = <200000000>; - reg = <0x00000 0xf>; - interrupt-parent = <&vic0>; - interrupts = <8>; - }; - - timer0: timer@10000 { - compatible = "picochip,pc3x2-timer"; - interrupt-parent = <&vic0>; - interrupts = <4>; - clock-freq = <200000000>; - reg = <0x10000 0x14>; - }; - - timer1: timer@10014 { - compatible = "picochip,pc3x2-timer"; - interrupt-parent = <&vic0>; - interrupts = <5>; - clock-freq = <200000000>; - reg = <0x10014 0x14>; - }; - - gpio: gpio@20000 { - compatible = "snps,dw-apb-gpio"; - reg = <0x20000 0x1000>; - #address-cells = <1>; - #size-cells = <0>; - reg-io-width = <4>; - - banka: gpio-controller@0 { - compatible = "snps,dw-apb-gpio-bank"; - gpio-controller; - #gpio-cells = <2>; - gpio-generic,nr-gpio = <8>; - - regoffset-dat = <0x50>; - regoffset-set = <0x00>; - regoffset-dirout = <0x04>; - }; - - bankb: gpio-controller@1 { - compatible = "snps,dw-apb-gpio-bank"; - gpio-controller; - #gpio-cells = <2>; - gpio-generic,nr-gpio = <16>; - - regoffset-dat = <0x54>; - regoffset-set = <0x0c>; - regoffset-dirout = <0x10>; - }; - - bankd: gpio-controller@2 { - compatible = "snps,dw-apb-gpio-bank"; - gpio-controller; - #gpio-cells = <2>; - gpio-generic,nr-gpio = <30>; - - regoffset-dat = <0x5c>; - regoffset-set = <0x24>; - regoffset-dirout = <0x28>; - }; - }; - - uart0: uart@30000 { - compatible = "snps,dw-apb-uart"; - reg = <0x30000 0x1000>; - interrupt-parent = <&vic1>; - interrupts = <10>; - clock-frequency = <3686400>; - reg-shift = <2>; - reg-io-width = <4>; - }; - - uart1: uart@40000 { - compatible = "snps,dw-apb-uart"; - reg = <0x40000 0x1000>; - interrupt-parent = <&vic1>; - interrupts = <9>; - clock-frequency = <3686400>; - reg-shift = <2>; - reg-io-width = <4>; - }; - - wdog: watchdog@50000 { - compatible = "snps,dw-apb-wdg"; - reg = <0x50000 0x10000>; - interrupt-parent = <&vic0>; - interrupts = <11>; - bus-clock = <&pclk>, "bus"; - }; - - timer2: timer@60000 { - compatible = "picochip,pc3x2-timer"; - interrupt-parent = <&vic0>; - interrupts = <6>; - clock-freq = <200000000>; - reg = <0x60000 0x14>; - }; - - timer3: timer@60014 { - compatible = "picochip,pc3x2-timer"; - interrupt-parent = <&vic0>; - interrupts = <7>; - clock-freq = <200000000>; - reg = <0x60014 0x14>; - }; - }; - }; - - rwid-axi { - #address-cells = <1>; - #size-cells = <1>; - compatible = "simple-bus"; - ranges; - - ebi@50000000 { - compatible = "simple-bus"; - #address-cells = <2>; - #size-cells = <1>; - ranges = <0 0 0x40000000 0x08000000 - 1 0 0x48000000 0x08000000 - 2 0 0x50000000 0x08000000 - 3 0 0x58000000 0x08000000>; - }; - - axi2pico@c0000000 { - compatible = "picochip,axi2pico-pc3x3"; - reg = <0xc0000000 0x10000>; - interrupt-parent = <&vic0>; - interrupts = <13 14 15 16 17 18 19 20 21>; - }; - - otp@ffff8000 { - compatible = "picochip,otp-pc3x3"; - reg = <0xffff8000 0x8000>; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/picoxcell-pc7302-pc3x2.dts b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/picoxcell-pc7302-pc3x2.dts deleted file mode 100644 index 1297414dd..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/picoxcell-pc7302-pc3x2.dts +++ /dev/null @@ -1,86 +0,0 @@ -/* - * Copyright (C) 2011 Picochip, Jamie Iles - * - * This software is licensed under the terms of the GNU General Public - * License version 2, as published by the Free Software Foundation, and - * may be copied, distributed, and modified under those terms. - * - * 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. - */ - -/dts-v1/; -/include/ "picoxcell-pc3x2.dtsi" -/ { - model = "Picochip PC7302 (PC3X2)"; - compatible = "picochip,pc7302-pc3x2", "picochip,pc3x2"; - - memory { - device_type = "memory"; - reg = <0x0 0x08000000>; - }; - - chosen { - linux,stdout-path = &uart0; - }; - - clocks { - ref_clk: clock@1 { - compatible = "fixed-clock"; - clock-outputs = "ref"; - clock-frequency = <20000000>; - }; - }; - - rwid-axi { - ebi@50000000 { - nand: gpio-nand@2,0 { - compatible = "gpio-control-nand"; - #address-cells = <1>; - #size-cells = <1>; - reg = <2 0x0000 0x1000>; - bus-clock = <&pclk>, "bus"; - gpio-control-nand,io-sync-reg = - <0x00000000 0x80220000>; - - gpios = <&banka 1 0 /* rdy */ - &banka 2 0 /* nce */ - &banka 3 0 /* ale */ - &banka 4 0 /* cle */ - 0 /* nwp */>; - - boot@100000 { - label = "Boot"; - reg = <0x100000 0x80000>; - }; - - redundant-boot@200000 { - label = "Redundant Boot"; - reg = <0x200000 0x80000>; - }; - - boot-env@300000 { - label = "Boot Evironment"; - reg = <0x300000 0x20000>; - }; - - redundant-boot-env@320000 { - label = "Redundant Boot Environment"; - reg = <0x300000 0x20000>; - }; - - kernel@380000 { - label = "Kernel"; - reg = <0x380000 0x800000>; - }; - - fs@b80000 { - label = "File System"; - reg = <0xb80000 0xf480000>; - }; - }; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/picoxcell-pc7302-pc3x3.dts b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/picoxcell-pc7302-pc3x3.dts deleted file mode 100644 index 9e317a4f4..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/picoxcell-pc7302-pc3x3.dts +++ /dev/null @@ -1,92 +0,0 @@ -/* - * Copyright (C) 2011 Picochip, Jamie Iles - * - * This software is licensed under the terms of the GNU General Public - * License version 2, as published by the Free Software Foundation, and - * may be copied, distributed, and modified under those terms. - * - * 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. - */ - -/dts-v1/; -/include/ "picoxcell-pc3x3.dtsi" -/ { - model = "Picochip PC7302 (PC3X3)"; - compatible = "picochip,pc7302-pc3x3", "picochip,pc3x3"; - - memory { - device_type = "memory"; - reg = <0x0 0x08000000>; - }; - - chosen { - linux,stdout-path = &uart0; - }; - - clocks { - ref_clk: clock@10 { - compatible = "fixed-clock"; - clock-outputs = "ref"; - clock-frequency = <20000000>; - }; - - clkgate: clkgate@800a0048 { - clock@4 { - picochip,clk-no-disable; - }; - }; - }; - - rwid-axi { - ebi@50000000 { - nand: gpio-nand@2,0 { - compatible = "gpio-control-nand"; - #address-cells = <1>; - #size-cells = <1>; - reg = <2 0x0000 0x1000>; - bus-clock = <&ebi_clk>, "bus"; - gpio-control-nand,io-sync-reg = - <0x00000000 0x80220000>; - - gpios = <&banka 1 0 /* rdy */ - &banka 2 0 /* nce */ - &banka 3 0 /* ale */ - &banka 4 0 /* cle */ - 0 /* nwp */>; - - boot@100000 { - label = "Boot"; - reg = <0x100000 0x80000>; - }; - - redundant-boot@200000 { - label = "Redundant Boot"; - reg = <0x200000 0x80000>; - }; - - boot-env@300000 { - label = "Boot Evironment"; - reg = <0x300000 0x20000>; - }; - - redundant-boot-env@320000 { - label = "Redundant Boot Environment"; - reg = <0x300000 0x20000>; - }; - - kernel@380000 { - label = "Kernel"; - reg = <0x380000 0x800000>; - }; - - fs@b80000 { - label = "File System"; - reg = <0xb80000 0xf480000>; - }; - }; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/prima2-cb.dts b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/prima2-cb.dts deleted file mode 100644 index 34ae3a64b..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/prima2-cb.dts +++ /dev/null @@ -1,424 +0,0 @@ -/dts-v1/; -/ { - model = "SiRF Prima2 eVB"; - compatible = "sirf,prima2-cb", "sirf,prima2"; - #address-cells = <1>; - #size-cells = <1>; - interrupt-parent = <&intc>; - - memory { - reg = <0x00000000 0x20000000>; - }; - - chosen { - bootargs = "mem=512M real_root=/dev/mmcblk0p2 console=ttyS0 panel=1 bootsplash=true bpp=16 androidboot.console=ttyS1"; - linux,stdout-path = &uart1; - }; - - cpus { - #address-cells = <1>; - #size-cells = <0>; - - cpu@0 { - reg = <0x0>; - d-cache-line-size = <32>; - i-cache-line-size = <32>; - d-cache-size = <32768>; - i-cache-size = <32768>; - /* from bootloader */ - timebase-frequency = <0>; - bus-frequency = <0>; - clock-frequency = <0>; - }; - }; - - axi { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0x40000000 0x40000000 0x80000000>; - - l2-cache-controller@80040000 { - compatible = "arm,pl310-cache", "sirf,prima2-pl310-cache"; - reg = <0x80040000 0x1000>; - interrupts = <59>; - arm,tag-latency = <1 1 1>; - arm,data-latency = <1 1 1>; - arm,filter-ranges = <0 0x40000000>; - }; - - intc: interrupt-controller@80020000 { - #interrupt-cells = <1>; - interrupt-controller; - compatible = "sirf,prima2-intc"; - reg = <0x80020000 0x1000>; - }; - - sys-iobg { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0x88000000 0x88000000 0x40000>; - - clock-controller@88000000 { - compatible = "sirf,prima2-clkc"; - reg = <0x88000000 0x1000>; - interrupts = <3>; - }; - - reset-controller@88010000 { - compatible = "sirf,prima2-rstc"; - reg = <0x88010000 0x1000>; - }; - - rsc-controller@88020000 { - compatible = "sirf,prima2-rsc"; - reg = <0x88020000 0x1000>; - }; - }; - - mem-iobg { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0x90000000 0x90000000 0x10000>; - - memory-controller@90000000 { - compatible = "sirf,prima2-memc"; - reg = <0x90000000 0x10000>; - interrupts = <27>; - }; - }; - - disp-iobg { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0x90010000 0x90010000 0x30000>; - - display@90010000 { - compatible = "sirf,prima2-lcd"; - reg = <0x90010000 0x20000>; - interrupts = <30>; - }; - - vpp@90020000 { - compatible = "sirf,prima2-vpp"; - reg = <0x90020000 0x10000>; - interrupts = <31>; - }; - }; - - graphics-iobg { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0x98000000 0x98000000 0x8000000>; - - graphics@98000000 { - compatible = "powervr,sgx531"; - reg = <0x98000000 0x8000000>; - interrupts = <6>; - }; - }; - - multimedia-iobg { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0xa0000000 0xa0000000 0x8000000>; - - multimedia@a0000000 { - compatible = "sirf,prima2-video-codec"; - reg = <0xa0000000 0x8000000>; - interrupts = <5>; - }; - }; - - dsp-iobg { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0xa8000000 0xa8000000 0x2000000>; - - dspif@a8000000 { - compatible = "sirf,prima2-dspif"; - reg = <0xa8000000 0x10000>; - interrupts = <9>; - }; - - gps@a8010000 { - compatible = "sirf,prima2-gps"; - reg = <0xa8010000 0x10000>; - interrupts = <7>; - }; - - dsp@a9000000 { - compatible = "sirf,prima2-dsp"; - reg = <0xa9000000 0x1000000>; - interrupts = <8>; - }; - }; - - peri-iobg { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0xb0000000 0xb0000000 0x180000>; - - timer@b0020000 { - compatible = "sirf,prima2-tick"; - reg = <0xb0020000 0x1000>; - interrupts = <0>; - }; - - nand@b0030000 { - compatible = "sirf,prima2-nand"; - reg = <0xb0030000 0x10000>; - interrupts = <41>; - }; - - audio@b0040000 { - compatible = "sirf,prima2-audio"; - reg = <0xb0040000 0x10000>; - interrupts = <35>; - }; - - uart0: uart@b0050000 { - cell-index = <0>; - compatible = "sirf,prima2-uart"; - reg = <0xb0050000 0x10000>; - interrupts = <17>; - }; - - uart1: uart@b0060000 { - cell-index = <1>; - compatible = "sirf,prima2-uart"; - reg = <0xb0060000 0x10000>; - interrupts = <18>; - }; - - uart2: uart@b0070000 { - cell-index = <2>; - compatible = "sirf,prima2-uart"; - reg = <0xb0070000 0x10000>; - interrupts = <19>; - }; - - usp0: usp@b0080000 { - cell-index = <0>; - compatible = "sirf,prima2-usp"; - reg = <0xb0080000 0x10000>; - interrupts = <20>; - }; - - usp1: usp@b0090000 { - cell-index = <1>; - compatible = "sirf,prima2-usp"; - reg = <0xb0090000 0x10000>; - interrupts = <21>; - }; - - usp2: usp@b00a0000 { - cell-index = <2>; - compatible = "sirf,prima2-usp"; - reg = <0xb00a0000 0x10000>; - interrupts = <22>; - }; - - dmac0: dma-controller@b00b0000 { - cell-index = <0>; - compatible = "sirf,prima2-dmac"; - reg = <0xb00b0000 0x10000>; - interrupts = <12>; - }; - - dmac1: dma-controller@b0160000 { - cell-index = <1>; - compatible = "sirf,prima2-dmac"; - reg = <0xb0160000 0x10000>; - interrupts = <13>; - }; - - vip@b00C0000 { - compatible = "sirf,prima2-vip"; - reg = <0xb00C0000 0x10000>; - }; - - spi0: spi@b00d0000 { - cell-index = <0>; - compatible = "sirf,prima2-spi"; - reg = <0xb00d0000 0x10000>; - interrupts = <15>; - }; - - spi1: spi@b0170000 { - cell-index = <1>; - compatible = "sirf,prima2-spi"; - reg = <0xb0170000 0x10000>; - interrupts = <16>; - }; - - i2c0: i2c@b00e0000 { - cell-index = <0>; - compatible = "sirf,prima2-i2c"; - reg = <0xb00e0000 0x10000>; - interrupts = <24>; - }; - - i2c1: i2c@b00f0000 { - cell-index = <1>; - compatible = "sirf,prima2-i2c"; - reg = <0xb00f0000 0x10000>; - interrupts = <25>; - }; - - tsc@b0110000 { - compatible = "sirf,prima2-tsc"; - reg = <0xb0110000 0x10000>; - interrupts = <33>; - }; - - gpio: gpio-controller@b0120000 { - #gpio-cells = <2>; - #interrupt-cells = <2>; - compatible = "sirf,prima2-gpio-pinmux"; - reg = <0xb0120000 0x10000>; - gpio-controller; - interrupt-controller; - }; - - pwm@b0130000 { - compatible = "sirf,prima2-pwm"; - reg = <0xb0130000 0x10000>; - }; - - efusesys@b0140000 { - compatible = "sirf,prima2-efuse"; - reg = <0xb0140000 0x10000>; - }; - - pulsec@b0150000 { - compatible = "sirf,prima2-pulsec"; - reg = <0xb0150000 0x10000>; - interrupts = <48>; - }; - - pci-iobg { - compatible = "sirf,prima2-pciiobg", "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0x56000000 0x56000000 0x1b00000>; - - sd0: sdhci@56000000 { - cell-index = <0>; - compatible = "sirf,prima2-sdhc"; - reg = <0x56000000 0x100000>; - interrupts = <38>; - }; - - sd1: sdhci@56100000 { - cell-index = <1>; - compatible = "sirf,prima2-sdhc"; - reg = <0x56100000 0x100000>; - interrupts = <38>; - }; - - sd2: sdhci@56200000 { - cell-index = <2>; - compatible = "sirf,prima2-sdhc"; - reg = <0x56200000 0x100000>; - interrupts = <23>; - }; - - sd3: sdhci@56300000 { - cell-index = <3>; - compatible = "sirf,prima2-sdhc"; - reg = <0x56300000 0x100000>; - interrupts = <23>; - }; - - sd4: sdhci@56400000 { - cell-index = <4>; - compatible = "sirf,prima2-sdhc"; - reg = <0x56400000 0x100000>; - interrupts = <39>; - }; - - sd5: sdhci@56500000 { - cell-index = <5>; - compatible = "sirf,prima2-sdhc"; - reg = <0x56500000 0x100000>; - interrupts = <39>; - }; - - pci-copy@57900000 { - compatible = "sirf,prima2-pcicp"; - reg = <0x57900000 0x100000>; - interrupts = <40>; - }; - - rom-interface@57a00000 { - compatible = "sirf,prima2-romif"; - reg = <0x57a00000 0x100000>; - }; - }; - }; - - rtc-iobg { - compatible = "sirf,prima2-rtciobg", "sirf-prima2-rtciobg-bus"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0x80030000 0x10000>; - - gpsrtc@1000 { - compatible = "sirf,prima2-gpsrtc"; - reg = <0x1000 0x1000>; - interrupts = <55 56 57>; - }; - - sysrtc@2000 { - compatible = "sirf,prima2-sysrtc"; - reg = <0x2000 0x1000>; - interrupts = <52 53 54>; - }; - - pwrc@3000 { - compatible = "sirf,prima2-pwrc"; - reg = <0x3000 0x1000>; - interrupts = <32>; - }; - }; - - uus-iobg { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0xb8000000 0xb8000000 0x40000>; - - usb0: usb@b00e0000 { - compatible = "chipidea,ci13611a-prima2"; - reg = <0xb8000000 0x10000>; - interrupts = <10>; - }; - - usb1: usb@b00f0000 { - compatible = "chipidea,ci13611a-prima2"; - reg = <0xb8010000 0x10000>; - interrupts = <11>; - }; - - sata@b00f0000 { - compatible = "synopsys,dwc-ahsata"; - reg = <0xb8020000 0x10000>; - interrupts = <37>; - }; - - security@b00f0000 { - compatible = "sirf,prima2-security"; - reg = <0xb8030000 0x10000>; - interrupts = <42>; - }; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/pxa168-aspenite.dts b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/pxa168-aspenite.dts deleted file mode 100644 index e762facb3..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/pxa168-aspenite.dts +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright (C) 2012 Marvell Technology Group Ltd. - * Author: Haojian Zhuang - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * publishhed by the Free Software Foundation. - */ - -/dts-v1/; -/include/ "pxa168.dtsi" - -/ { - model = "Marvell PXA168 Aspenite Development Board"; - compatible = "mrvl,pxa168-aspenite", "mrvl,pxa168"; - - chosen { - bootargs = "console=ttyS0,115200 root=/dev/nfs nfsroot=192.168.1.100:/nfsroot/ ip=192.168.1.101:192.168.1.100::255.255.255.0::eth0:on"; - }; - - memory { - reg = <0x00000000 0x04000000>; - }; - - soc { - apb@d4000000 { - uart1: uart@d4017000 { - status = "okay"; - }; - twsi1: i2c@d4011000 { - status = "okay"; - }; - rtc: rtc@d4010000 { - status = "okay"; - }; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/pxa168.dtsi b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/pxa168.dtsi deleted file mode 100644 index d32d5128f..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/pxa168.dtsi +++ /dev/null @@ -1,98 +0,0 @@ -/* - * Copyright (C) 2012 Marvell Technology Group Ltd. - * Author: Haojian Zhuang - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * publishhed by the Free Software Foundation. - */ - -/include/ "skeleton.dtsi" - -/ { - aliases { - serial0 = &uart1; - serial1 = &uart2; - serial2 = &uart3; - i2c0 = &twsi1; - i2c1 = &twsi2; - }; - - intc: intc-interrupt-controller@d4282000 { - compatible = "mrvl,mmp-intc", "mrvl,intc"; - interrupt-controller; - #interrupt-cells = <1>; - reg = <0xd4282000 0x1000>; - }; - - soc { - #address-cells = <1>; - #size-cells = <1>; - compatible = "simple-bus"; - interrupt-parent = <&intc>; - ranges; - - apb@d4000000 { /* APB */ - compatible = "mrvl,apb-bus", "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xd4000000 0x00200000>; - ranges; - - uart1: uart@d4017000 { - compatible = "mrvl,mmp-uart", "mrvl,pxa-uart"; - reg = <0xd4017000 0x1000>; - interrupts = <27>; - status = "disabled"; - }; - - uart2: uart@d4018000 { - compatible = "mrvl,mmp-uart", "mrvl,pxa-uart"; - reg = <0xd4018000 0x1000>; - interrupts = <28>; - status = "disabled"; - }; - - uart3: uart@d4026000 { - compatible = "mrvl,mmp-uart", "mrvl,pxa-uart"; - reg = <0xd4026000 0x1000>; - interrupts = <29>; - status = "disabled"; - }; - - gpio: gpio@d4019000 { - compatible = "mrvl,mmp-gpio", "mrvl,pxa-gpio"; - reg = <0xd4019000 0x1000>; - interrupts = <49>; - interrupt-names = "gpio_mux"; - gpio-controller; - #gpio-cells = <1>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - twsi1: i2c@d4011000 { - compatible = "mrvl,mmp-twsi", "mrvl,pxa-i2c"; - reg = <0xd4011000 0x1000>; - interrupts = <7>; - mrvl,i2c-fast-mode; - status = "disabled"; - }; - - twsi2: i2c@d4025000 { - compatible = "mrvl,mmp-twsi", "mrvl,pxa-i2c"; - reg = <0xd4025000 0x1000>; - interrupts = <58>; - status = "disabled"; - }; - - rtc: rtc@d4010000 { - compatible = "mrvl,mmp-rtc"; - reg = <0xd4010000 0x1000>; - interrupts = <5 6>; - interrupt-names = "rtc 1Hz", "rtc alarm"; - status = "disabled"; - }; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/qpic-panel-ili-qvga.dtsi b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/qpic-panel-ili-qvga.dtsi deleted file mode 100644 index 089f1125d..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/qpic-panel-ili-qvga.dtsi +++ /dev/null @@ -1,27 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -&soc { - qcom,mdss_lcdc_ili9341_qvga { - compatible = "qcom,mdss-qpic-panel"; - label = "ili qvga lcdc panel"; - vdd-supply = <&pm8019_l11>; - avdd-supply = <&pm8019_l14>; - qcom,cs-gpio = <&msmgpio 21 0>; - qcom,te-gpio = <&msmgpio 22 0>; - qcom,rst-gpio = <&msmgpio 23 0>; - qcom,ad8-gpio = <&msmgpio 20 0>; - qcom,mdss-pan-res = <240 320>; - qcom,mdss-pan-bpp = <18>; - qcom,refresh_rate = <60>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/skeleton.dtsi b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/skeleton.dtsi deleted file mode 100644 index f9988cd78..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/skeleton.dtsi +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Skeleton device tree; the bare minimum needed to boot; just include and - * add a compatible value. The bootloader will typically populate the memory - * node. - */ - -/ { - #address-cells = <1>; - #size-cells = <1>; - chosen { }; - aliases { }; - memory { - #address-cells = <1>; - #size-cells = <1>; - device_type = "memory"; - reg = <0 0>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/skeleton64.dtsi b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/skeleton64.dtsi deleted file mode 100644 index 5bf6a82f0..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/skeleton64.dtsi +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Skeleton device tree; the bare minimum needed to boot; just include and - * add a compatible value. The bootloader will typically populate the memory - * node. - */ - -/ { - #address-cells = <2>; - #size-cells = <2>; - chosen { }; - aliases { }; - memory { - #address-cells = <2>; - #size-cells = <2>; - device_type = "memory"; - reg = <0 0 0 0>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/snowball.dts b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/snowball.dts deleted file mode 100644 index 359c6d679..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/snowball.dts +++ /dev/null @@ -1,139 +0,0 @@ -/* - * Copyright 2011 ST-Ericsson AB - * - * The code contained herein is licensed under the GNU General Public - * License. You may obtain a copy of the GNU General Public License - * Version 2 or later at the following locations: - * - * http://www.opensource.org/licenses/gpl-license.html - * http://www.gnu.org/copyleft/gpl.html - */ - -/dts-v1/; -/include/ "db8500.dtsi" - -/ { - model = "Calao Systems Snowball platform with device tree"; - compatible = "calaosystems,snowball-a9500"; - - memory { - reg = <0x00000000 0x20000000>; - }; - - gpio_keys { - compatible = "gpio-keys"; - #address-cells = <1>; - #size-cells = <0>; - - button@1 { - debounce_interval = <50>; - wakeup = <1>; - linux,code = <2>; - label = "userpb"; - gpios = <&gpio1 0>; - }; - button@2 { - debounce_interval = <50>; - wakeup = <1>; - linux,code = <3>; - label = "userpb"; - gpios = <&gpio4 23>; - }; - button@3 { - debounce_interval = <50>; - wakeup = <1>; - linux,code = <4>; - label = "userpb"; - gpios = <&gpio4 23>; - }; - button@4 { - debounce_interval = <50>; - wakeup = <1>; - linux,code = <5>; - label = "userpb"; - gpios = <&gpio5 1>; - }; - button@5 { - debounce_interval = <50>; - wakeup = <1>; - linux,code = <6>; - label = "userpb"; - gpios = <&gpio5 2>; - }; - }; - - leds { - compatible = "gpio-leds"; - used-led { - label = "user_led"; - gpios = <&gpio4 14>; - }; - }; - - soc-u9500 { - - external-bus@50000000 { - compatible = "simple-bus"; - reg = <0x50000000 0x10000000>; - #address-cells = <1>; - #size-cells = <1>; - ranges; - - ethernet@50000000 { - compatible = "smsc,9111"; - reg = <0x50000000 0x10000>; - interrupts = <12>; - interrupt-parent = <&gpio4>; - }; - }; - - sdi@80126000 { - status = "enabled"; - cd-gpios = <&gpio6 26>; - }; - - sdi@80114000 { - status = "enabled"; - }; - - uart@80120000 { - status = "okay"; - }; - - uart@80121000 { - status = "okay"; - }; - - uart@80007000 { - status = "okay"; - }; - - i2c@80004000 { - tc3589x@42 { - //compatible = "tc3589x"; - reg = <0x42>; - interrupts = <25>; - interrupt-parent = <&gpio6>; - }; - tps61052@33 { - //compatible = "tps61052"; - reg = <0x33>; - }; - }; - - i2c@80128000 { - lp5521@0x33 { - // compatible = "lp5521"; - reg = <0x33>; - }; - lp5521@0x34 { - // compatible = "lp5521"; - reg = <0x34>; - }; - bh1780@0x29 { - // compatible = "rohm,bh1780gli"; - reg = <0x33>; - }; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/spear600-evb.dts b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/spear600-evb.dts deleted file mode 100644 index 636292e18..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/spear600-evb.dts +++ /dev/null @@ -1,47 +0,0 @@ -/* - * Copyright 2012 Stefan Roese - * - * The code contained herein is licensed under the GNU General Public - * License. You may obtain a copy of the GNU General Public License - * Version 2 or later at the following locations: - * - * http://www.opensource.org/licenses/gpl-license.html - * http://www.gnu.org/copyleft/gpl.html - */ - -/dts-v1/; -/include/ "spear600.dtsi" - -/ { - model = "ST SPEAr600 Evaluation Board"; - compatible = "st,spear600-evb", "st,spear600"; - #address-cells = <1>; - #size-cells = <1>; - - memory { - device_type = "memory"; - reg = <0 0x10000000>; - }; - - ahb { - gmac: ethernet@e0800000 { - phy-mode = "gmii"; - status = "okay"; - }; - - apb { - serial@d0000000 { - status = "okay"; - }; - - serial@d0080000 { - status = "okay"; - }; - - i2c@d0200000 { - clock-frequency = <400000>; - status = "okay"; - }; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/spear600.dtsi b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/spear600.dtsi deleted file mode 100644 index ebe0885a2..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/spear600.dtsi +++ /dev/null @@ -1,174 +0,0 @@ -/* - * Copyright 2012 Stefan Roese - * - * The code contained herein is licensed under the GNU General Public - * License. You may obtain a copy of the GNU General Public License - * Version 2 or later at the following locations: - * - * http://www.opensource.org/licenses/gpl-license.html - * http://www.gnu.org/copyleft/gpl.html - */ - -/include/ "skeleton.dtsi" - -/ { - compatible = "st,spear600"; - - cpus { - cpu@0 { - compatible = "arm,arm926ejs"; - }; - }; - - memory { - device_type = "memory"; - reg = <0 0x40000000>; - }; - - ahb { - #address-cells = <1>; - #size-cells = <1>; - compatible = "simple-bus"; - ranges = <0xd0000000 0xd0000000 0x30000000>; - - vic0: interrupt-controller@f1100000 { - compatible = "arm,pl190-vic"; - interrupt-controller; - reg = <0xf1100000 0x1000>; - #interrupt-cells = <1>; - }; - - vic1: interrupt-controller@f1000000 { - compatible = "arm,pl190-vic"; - interrupt-controller; - reg = <0xf1000000 0x1000>; - #interrupt-cells = <1>; - }; - - gmac: ethernet@e0800000 { - compatible = "st,spear600-gmac"; - reg = <0xe0800000 0x8000>; - interrupt-parent = <&vic1>; - interrupts = <24 23>; - interrupt-names = "macirq", "eth_wake_irq"; - status = "disabled"; - }; - - fsmc: flash@d1800000 { - compatible = "st,spear600-fsmc-nand"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xd1800000 0x1000 /* FSMC Register */ - 0xd2000000 0x4000>; /* NAND Base */ - reg-names = "fsmc_regs", "nand_data"; - st,ale-off = <0x20000>; - st,cle-off = <0x10000>; - status = "disabled"; - }; - - smi: flash@fc000000 { - compatible = "st,spear600-smi"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xfc000000 0x1000>; - interrupt-parent = <&vic1>; - interrupts = <12>; - status = "disabled"; - }; - - ehci@e1800000 { - compatible = "st,spear600-ehci", "usb-ehci"; - reg = <0xe1800000 0x1000>; - interrupt-parent = <&vic1>; - interrupts = <27>; - status = "disabled"; - }; - - ehci@e2000000 { - compatible = "st,spear600-ehci", "usb-ehci"; - reg = <0xe2000000 0x1000>; - interrupt-parent = <&vic1>; - interrupts = <29>; - status = "disabled"; - }; - - ohci@e1900000 { - compatible = "st,spear600-ohci", "usb-ohci"; - reg = <0xe1900000 0x1000>; - interrupt-parent = <&vic1>; - interrupts = <26>; - status = "disabled"; - }; - - ohci@e2100000 { - compatible = "st,spear600-ohci", "usb-ohci"; - reg = <0xe2100000 0x1000>; - interrupt-parent = <&vic1>; - interrupts = <28>; - status = "disabled"; - }; - - apb { - #address-cells = <1>; - #size-cells = <1>; - compatible = "simple-bus"; - ranges = <0xd0000000 0xd0000000 0x30000000>; - - serial@d0000000 { - compatible = "arm,pl011", "arm,primecell"; - reg = <0xd0000000 0x1000>; - interrupt-parent = <&vic0>; - interrupts = <24>; - status = "disabled"; - }; - - serial@d0080000 { - compatible = "arm,pl011", "arm,primecell"; - reg = <0xd0080000 0x1000>; - interrupt-parent = <&vic0>; - interrupts = <25>; - status = "disabled"; - }; - - /* local/cpu GPIO */ - gpio0: gpio@f0100000 { - #gpio-cells = <2>; - compatible = "arm,pl061", "arm,primecell"; - gpio-controller; - reg = <0xf0100000 0x1000>; - interrupt-parent = <&vic0>; - interrupts = <18>; - }; - - /* basic GPIO */ - gpio1: gpio@fc980000 { - #gpio-cells = <2>; - compatible = "arm,pl061", "arm,primecell"; - gpio-controller; - reg = <0xfc980000 0x1000>; - interrupt-parent = <&vic1>; - interrupts = <19>; - }; - - /* appl GPIO */ - gpio2: gpio@d8100000 { - #gpio-cells = <2>; - compatible = "arm,pl061", "arm,primecell"; - gpio-controller; - reg = <0xd8100000 0x1000>; - interrupt-parent = <&vic1>; - interrupts = <4>; - }; - - i2c@d0200000 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "snps,designware-i2c"; - reg = <0xd0200000 0x1000>; - interrupt-parent = <&vic0>; - interrupts = <28>; - status = "disabled"; - }; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/tegra-cardhu.dts b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/tegra-cardhu.dts deleted file mode 100644 index ac3fb7558..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/tegra-cardhu.dts +++ /dev/null @@ -1,70 +0,0 @@ -/dts-v1/; - -/include/ "tegra30.dtsi" - -/ { - model = "NVIDIA Tegra30 Cardhu evaluation board"; - compatible = "nvidia,cardhu", "nvidia,tegra30"; - - memory { - reg = < 0x80000000 0x40000000 >; - }; - - serial@70006000 { - clock-frequency = < 408000000 >; - }; - - serial@70006040 { - status = "disable"; - }; - - serial@70006200 { - status = "disable"; - }; - - serial@70006300 { - status = "disable"; - }; - - serial@70006400 { - status = "disable"; - }; - - i2c@7000c000 { - clock-frequency = <100000>; - }; - - i2c@7000c400 { - clock-frequency = <100000>; - }; - - i2c@7000c500 { - clock-frequency = <100000>; - }; - - i2c@7000c700 { - clock-frequency = <100000>; - }; - - i2c@7000d000 { - clock-frequency = <100000>; - }; - - sdhci@78000000 { - cd-gpios = <&gpio 69 0>; /* gpio PI5 */ - wp-gpios = <&gpio 155 0>; /* gpio PT3 */ - power-gpios = <&gpio 31 0>; /* gpio PD7 */ - }; - - sdhci@78000200 { - status = "disable"; - }; - - sdhci@78000400 { - status = "disable"; - }; - - sdhci@78000400 { - support-8bit; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/tegra-harmony.dts b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/tegra-harmony.dts deleted file mode 100644 index 6e8447dc0..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/tegra-harmony.dts +++ /dev/null @@ -1,115 +0,0 @@ -/dts-v1/; - -/include/ "tegra20.dtsi" - -/ { - model = "NVIDIA Tegra2 Harmony evaluation board"; - compatible = "nvidia,harmony", "nvidia,tegra20"; - - memory@0 { - reg = < 0x00000000 0x40000000 >; - }; - - pmc@7000f400 { - nvidia,invert-interrupt; - }; - - i2c@7000c000 { - clock-frequency = <400000>; - - wm8903: wm8903@1a { - compatible = "wlf,wm8903"; - reg = <0x1a>; - interrupt-parent = <&gpio>; - interrupts = < 187 0x04 >; - - gpio-controller; - #gpio-cells = <2>; - - micdet-cfg = <0>; - micdet-delay = <100>; - gpio-cfg = < 0xffffffff 0xffffffff 0 0xffffffff 0xffffffff >; - }; - }; - - i2c@7000c400 { - clock-frequency = <400000>; - }; - - i2c@7000c500 { - clock-frequency = <400000>; - }; - - i2c@7000d000 { - clock-frequency = <400000>; - }; - - i2s@70002a00 { - status = "disable"; - }; - - sound { - compatible = "nvidia,tegra-audio-wm8903-harmony", - "nvidia,tegra-audio-wm8903"; - nvidia,model = "NVIDIA Tegra Harmony"; - - nvidia,audio-routing = - "Headphone Jack", "HPOUTR", - "Headphone Jack", "HPOUTL", - "Int Spk", "ROP", - "Int Spk", "RON", - "Int Spk", "LOP", - "Int Spk", "LON", - "Mic Jack", "MICBIAS", - "IN1L", "Mic Jack"; - - nvidia,i2s-controller = <&tegra_i2s1>; - nvidia,audio-codec = <&wm8903>; - - nvidia,spkr-en-gpios = <&wm8903 2 0>; - nvidia,hp-det-gpios = <&gpio 178 0>; /* gpio PW2 */ - nvidia,int-mic-en-gpios = <&gpio 184 0>; /*gpio PX0 */ - nvidia,ext-mic-en-gpios = <&gpio 185 0>; /* gpio PX1 */ - }; - - serial@70006000 { - status = "disable"; - }; - - serial@70006040 { - status = "disable"; - }; - - serial@70006200 { - status = "disable"; - }; - - serial@70006300 { - clock-frequency = < 216000000 >; - }; - - serial@70006400 { - status = "disable"; - }; - - sdhci@c8000000 { - status = "disable"; - }; - - sdhci@c8000200 { - cd-gpios = <&gpio 69 0>; /* gpio PI5 */ - wp-gpios = <&gpio 57 0>; /* gpio PH1 */ - power-gpios = <&gpio 155 0>; /* gpio PT3 */ - }; - - sdhci@c8000400 { - status = "disable"; - }; - - sdhci@c8000600 { - cd-gpios = <&gpio 58 0>; /* gpio PH2 */ - wp-gpios = <&gpio 59 0>; /* gpio PH3 */ - power-gpios = <&gpio 70 0>; /* gpio PI6 */ - support-8bit; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/tegra-paz00.dts b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/tegra-paz00.dts deleted file mode 100644 index 6c02abb46..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/tegra-paz00.dts +++ /dev/null @@ -1,134 +0,0 @@ -/dts-v1/; - -/include/ "tegra20.dtsi" - -/ { - model = "Toshiba AC100 / Dynabook AZ"; - compatible = "compal,paz00", "nvidia,tegra20"; - - memory@0 { - reg = <0x00000000 0x20000000>; - }; - - i2c@7000c000 { - clock-frequency = <400000>; - - alc5632: alc5632@1e { - compatible = "realtek,alc5632"; - reg = <0x1e>; - gpio-controller; - #gpio-cells = <2>; - }; - }; - - i2c@7000c400 { - clock-frequency = <400000>; - }; - - i2c@7000c500 { - status = "disable"; - }; - - nvec@7000c500 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "nvidia,nvec"; - reg = <0x7000C500 0x100>; - interrupts = <0 92 0x04>; - clock-frequency = <80000>; - request-gpios = <&gpio 170 0>; - slave-addr = <138>; - }; - - i2c@7000d000 { - clock-frequency = <400000>; - - adt7461@4c { - compatible = "adi,adt7461"; - reg = <0x4c>; - }; - }; - - i2s@70002a00 { - status = "disable"; - }; - - sound { - compatible = "nvidia,tegra-audio-alc5632-paz00", - "nvidia,tegra-audio-alc5632"; - - nvidia,model = "Compal PAZ00"; - - nvidia,audio-routing = - "Int Spk", "SPKOUT", - "Int Spk", "SPKOUTN", - "Headset Mic", "MICBIAS1", - "MIC1", "Headset Mic", - "Headset Stereophone", "HPR", - "Headset Stereophone", "HPL", - "DMICDAT", "Digital Mic"; - - nvidia,audio-codec = <&alc5632>; - nvidia,i2s-controller = <&tegra_i2s1>; - nvidia,hp-det-gpios = <&gpio 178 0>; /* gpio PW2 */ - }; - - serial@70006000 { - clock-frequency = <216000000>; - }; - - serial@70006040 { - status = "disable"; - }; - - serial@70006200 { - clock-frequency = <216000000>; - }; - - serial@70006300 { - status = "disable"; - }; - - serial@70006400 { - status = "disable"; - }; - - sdhci@c8000000 { - cd-gpios = <&gpio 173 0>; /* gpio PV5 */ - wp-gpios = <&gpio 57 0>; /* gpio PH1 */ - power-gpios = <&gpio 169 0>; /* gpio PV1 */ - }; - - sdhci@c8000200 { - status = "disable"; - }; - - sdhci@c8000400 { - status = "disable"; - }; - - sdhci@c8000600 { - support-8bit; - }; - - gpio-keys { - compatible = "gpio-keys"; - - power { - label = "Power"; - gpios = <&gpio 79 1>; /* gpio PJ7, active low */ - linux,code = <116>; /* KEY_POWER */ - gpio-key,wakeup; - }; - }; - - gpio-leds { - compatible = "gpio-leds"; - - wifi { - label = "wifi-led"; - gpios = <&gpio 24 0>; - linux,default-trigger = "rfkill0"; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/tegra-seaboard.dts b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/tegra-seaboard.dts deleted file mode 100644 index dbf1c5a17..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/tegra-seaboard.dts +++ /dev/null @@ -1,175 +0,0 @@ -/dts-v1/; - -/include/ "tegra20.dtsi" - -/ { - model = "NVIDIA Seaboard"; - compatible = "nvidia,seaboard", "nvidia,tegra20"; - - memory { - device_type = "memory"; - reg = < 0x00000000 0x40000000 >; - }; - - i2c@7000c000 { - clock-frequency = <400000>; - - wm8903: wm8903@1a { - compatible = "wlf,wm8903"; - reg = <0x1a>; - interrupt-parent = <&gpio>; - interrupts = < 187 0x04 >; - - gpio-controller; - #gpio-cells = <2>; - - micdet-cfg = <0>; - micdet-delay = <100>; - gpio-cfg = < 0xffffffff 0xffffffff 0 0xffffffff 0xffffffff >; - }; - }; - - i2c@7000c400 { - clock-frequency = <400000>; - }; - - i2c@7000c500 { - clock-frequency = <400000>; - }; - - i2c@7000d000 { - clock-frequency = <400000>; - - adt7461@4c { - compatible = "adt7461"; - reg = <0x4c>; - }; - }; - - i2s@70002a00 { - status = "disable"; - }; - - sound { - compatible = "nvidia,tegra-audio-wm8903-seaboard", - "nvidia,tegra-audio-wm8903"; - nvidia,model = "NVIDIA Tegra Seaboard"; - - nvidia,audio-routing = - "Headphone Jack", "HPOUTR", - "Headphone Jack", "HPOUTL", - "Int Spk", "ROP", - "Int Spk", "RON", - "Int Spk", "LOP", - "Int Spk", "LON", - "Mic Jack", "MICBIAS", - "IN1R", "Mic Jack"; - - nvidia,i2s-controller = <&tegra_i2s1>; - nvidia,audio-codec = <&wm8903>; - - nvidia,spkr-en-gpios = <&wm8903 2 0>; - nvidia,hp-det-gpios = <&gpio 185 0>; /* gpio PX1 */ - }; - - serial@70006000 { - status = "disable"; - }; - - serial@70006040 { - status = "disable"; - }; - - serial@70006200 { - status = "disable"; - }; - - serial@70006300 { - clock-frequency = < 216000000 >; - }; - - serial@70006400 { - status = "disable"; - }; - - sdhci@c8000000 { - status = "disable"; - }; - - sdhci@c8000200 { - status = "disable"; - }; - - sdhci@c8000400 { - cd-gpios = <&gpio 69 0>; /* gpio PI5 */ - wp-gpios = <&gpio 57 0>; /* gpio PH1 */ - power-gpios = <&gpio 70 0>; /* gpio PI6 */ - }; - - sdhci@c8000600 { - support-8bit; - }; - - usb@c5000000 { - nvidia,vbus-gpio = <&gpio 24 0>; /* PD0 */ - dr_mode = "otg"; - }; - - gpio-keys { - compatible = "gpio-keys"; - - power { - label = "Power"; - gpios = <&gpio 170 1>; /* gpio PV2, active low */ - linux,code = <116>; /* KEY_POWER */ - gpio-key,wakeup; - }; - - lid { - label = "Lid"; - gpios = <&gpio 23 0>; /* gpio PC7 */ - linux,input-type = <5>; /* EV_SW */ - linux,code = <0>; /* SW_LID */ - debounce-interval = <1>; - gpio-key,wakeup; - }; - }; - - emc@7000f400 { - emc-table@190000 { - reg = < 190000 >; - compatible = "nvidia,tegra20-emc-table"; - clock-frequency = < 190000 >; - nvidia,emc-registers = < 0x0000000c 0x00000026 - 0x00000009 0x00000003 0x00000004 0x00000004 - 0x00000002 0x0000000c 0x00000003 0x00000003 - 0x00000002 0x00000001 0x00000004 0x00000005 - 0x00000004 0x00000009 0x0000000d 0x0000059f - 0x00000000 0x00000003 0x00000003 0x00000003 - 0x00000003 0x00000001 0x0000000b 0x000000c8 - 0x00000003 0x00000007 0x00000004 0x0000000f - 0x00000002 0x00000000 0x00000000 0x00000002 - 0x00000000 0x00000000 0x00000083 0xa06204ae - 0x007dc010 0x00000000 0x00000000 0x00000000 - 0x00000000 0x00000000 0x00000000 0x00000000 >; - }; - - emc-table@380000 { - reg = < 380000 >; - compatible = "nvidia,tegra20-emc-table"; - clock-frequency = < 380000 >; - nvidia,emc-registers = < 0x00000017 0x0000004b - 0x00000012 0x00000006 0x00000004 0x00000005 - 0x00000003 0x0000000c 0x00000006 0x00000006 - 0x00000003 0x00000001 0x00000004 0x00000005 - 0x00000004 0x00000009 0x0000000d 0x00000b5f - 0x00000000 0x00000003 0x00000003 0x00000006 - 0x00000006 0x00000001 0x00000011 0x000000c8 - 0x00000003 0x0000000e 0x00000007 0x0000000f - 0x00000002 0x00000000 0x00000000 0x00000002 - 0x00000000 0x00000000 0x00000083 0xe044048b - 0x007d8010 0x00000000 0x00000000 0x00000000 - 0x00000000 0x00000000 0x00000000 0x00000000 >; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/tegra-trimslice.dts b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/tegra-trimslice.dts deleted file mode 100644 index 252476867..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/tegra-trimslice.dts +++ /dev/null @@ -1,77 +0,0 @@ -/dts-v1/; - -/include/ "tegra20.dtsi" - -/ { - model = "Compulab TrimSlice board"; - compatible = "compulab,trimslice", "nvidia,tegra20"; - - memory@0 { - reg = < 0x00000000 0x40000000 >; - }; - - i2c@7000c000 { - clock-frequency = <400000>; - }; - - i2c@7000c400 { - clock-frequency = <400000>; - }; - - i2c@7000c500 { - clock-frequency = <400000>; - }; - - i2c@7000d000 { - status = "disable"; - }; - - i2s@70002800 { - status = "disable"; - }; - - i2s@70002a00 { - status = "disable"; - }; - - das@70000c00 { - status = "disable"; - }; - - serial@70006000 { - clock-frequency = < 216000000 >; - }; - - serial@70006040 { - status = "disable"; - }; - - serial@70006200 { - status = "disable"; - }; - - serial@70006300 { - status = "disable"; - }; - - serial@70006400 { - status = "disable"; - }; - - sdhci@c8000000 { - status = "disable"; - }; - - sdhci@c8000200 { - status = "disable"; - }; - - sdhci@c8000400 { - status = "disable"; - }; - - sdhci@c8000600 { - cd-gpios = <&gpio 121 0>; - wp-gpios = <&gpio 122 0>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/tegra-ventana.dts b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/tegra-ventana.dts deleted file mode 100644 index 2dcff8728..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/tegra-ventana.dts +++ /dev/null @@ -1,108 +0,0 @@ -/dts-v1/; - -/include/ "tegra20.dtsi" - -/ { - model = "NVIDIA Tegra2 Ventana evaluation board"; - compatible = "nvidia,ventana", "nvidia,tegra20"; - - memory { - reg = < 0x00000000 0x40000000 >; - }; - - i2c@7000c000 { - clock-frequency = <400000>; - - wm8903: wm8903@1a { - compatible = "wlf,wm8903"; - reg = <0x1a>; - interrupt-parent = <&gpio>; - interrupts = < 187 0x04 >; - - gpio-controller; - #gpio-cells = <2>; - - micdet-cfg = <0>; - micdet-delay = <100>; - gpio-cfg = < 0xffffffff 0xffffffff 0 0xffffffff 0xffffffff >; - }; - }; - - i2c@7000c400 { - clock-frequency = <400000>; - }; - - i2c@7000c500 { - clock-frequency = <400000>; - }; - - i2c@7000d000 { - clock-frequency = <400000>; - }; - - i2s@70002a00 { - status = "disable"; - }; - - sound { - compatible = "nvidia,tegra-audio-wm8903-ventana", - "nvidia,tegra-audio-wm8903"; - nvidia,model = "NVIDIA Tegra Ventana"; - - nvidia,audio-routing = - "Headphone Jack", "HPOUTR", - "Headphone Jack", "HPOUTL", - "Int Spk", "ROP", - "Int Spk", "RON", - "Int Spk", "LOP", - "Int Spk", "LON", - "Mic Jack", "MICBIAS", - "IN1L", "Mic Jack"; - - nvidia,i2s-controller = <&tegra_i2s1>; - nvidia,audio-codec = <&wm8903>; - - nvidia,spkr-en-gpios = <&wm8903 2 0>; - nvidia,hp-det-gpios = <&gpio 178 0>; /* gpio PW2 */ - nvidia,int-mic-en-gpios = <&gpio 184 0>; /*gpio PX0 */ - nvidia,ext-mic-en-gpios = <&gpio 185 0>; /* gpio PX1 */ - }; - - serial@70006000 { - status = "disable"; - }; - - serial@70006040 { - status = "disable"; - }; - - serial@70006200 { - status = "disable"; - }; - - serial@70006300 { - clock-frequency = < 216000000 >; - }; - - serial@70006400 { - status = "disable"; - }; - - sdhci@c8000000 { - status = "disable"; - }; - - sdhci@c8000200 { - status = "disable"; - }; - - sdhci@c8000400 { - cd-gpios = <&gpio 69 0>; /* gpio PI5 */ - wp-gpios = <&gpio 57 0>; /* gpio PH1 */ - power-gpios = <&gpio 70 0>; /* gpio PI6 */ - }; - - sdhci@c8000600 { - support-8bit; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/tegra20.dtsi b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/tegra20.dtsi deleted file mode 100644 index 108e894a8..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/tegra20.dtsi +++ /dev/null @@ -1,210 +0,0 @@ -/include/ "skeleton.dtsi" - -/ { - compatible = "nvidia,tegra20"; - interrupt-parent = <&intc>; - - pmc@7000f400 { - compatible = "nvidia,tegra20-pmc"; - reg = <0x7000e400 0x400>; - }; - - intc: interrupt-controller@50041000 { - compatible = "arm,cortex-a9-gic"; - interrupt-controller; - #interrupt-cells = <3>; - reg = < 0x50041000 0x1000 >, - < 0x50040100 0x0100 >; - }; - - pmu { - compatible = "arm,cortex-a9-pmu"; - interrupts = <0 56 0x04 - 0 57 0x04>; - }; - - apbdma: dma@6000a000 { - compatible = "nvidia,tegra20-apbdma"; - reg = <0x6000a000 0x1200>; - interrupts = < 0 104 0x04 - 0 105 0x04 - 0 106 0x04 - 0 107 0x04 - 0 108 0x04 - 0 109 0x04 - 0 110 0x04 - 0 111 0x04 - 0 112 0x04 - 0 113 0x04 - 0 114 0x04 - 0 115 0x04 - 0 116 0x04 - 0 117 0x04 - 0 118 0x04 - 0 119 0x04 >; - }; - - i2c@7000c000 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "nvidia,tegra20-i2c"; - reg = <0x7000C000 0x100>; - interrupts = < 0 38 0x04 >; - }; - - i2c@7000c400 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "nvidia,tegra20-i2c"; - reg = <0x7000C400 0x100>; - interrupts = < 0 84 0x04 >; - }; - - i2c@7000c500 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "nvidia,tegra20-i2c"; - reg = <0x7000C500 0x100>; - interrupts = < 0 92 0x04 >; - }; - - i2c@7000d000 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "nvidia,tegra20-i2c-dvc"; - reg = <0x7000D000 0x200>; - interrupts = < 0 53 0x04 >; - }; - - tegra_i2s1: i2s@70002800 { - compatible = "nvidia,tegra20-i2s"; - reg = <0x70002800 0x200>; - interrupts = < 0 13 0x04 >; - nvidia,dma-request-selector = < &apbdma 2 >; - }; - - tegra_i2s2: i2s@70002a00 { - compatible = "nvidia,tegra20-i2s"; - reg = <0x70002a00 0x200>; - interrupts = < 0 3 0x04 >; - nvidia,dma-request-selector = < &apbdma 1 >; - }; - - das@70000c00 { - compatible = "nvidia,tegra20-das"; - reg = <0x70000c00 0x80>; - }; - - gpio: gpio@6000d000 { - compatible = "nvidia,tegra20-gpio"; - reg = < 0x6000d000 0x1000 >; - interrupts = < 0 32 0x04 - 0 33 0x04 - 0 34 0x04 - 0 35 0x04 - 0 55 0x04 - 0 87 0x04 - 0 89 0x04 >; - #gpio-cells = <2>; - gpio-controller; - #interrupt-cells = <2>; - interrupt-controller; - }; - - pinmux: pinmux@70000000 { - compatible = "nvidia,tegra20-pinmux"; - reg = < 0x70000014 0x10 /* Tri-state registers */ - 0x70000080 0x20 /* Mux registers */ - 0x700000a0 0x14 /* Pull-up/down registers */ - 0x70000868 0xa8 >; /* Pad control registers */ - }; - - serial@70006000 { - compatible = "nvidia,tegra20-uart"; - reg = <0x70006000 0x40>; - reg-shift = <2>; - interrupts = < 0 36 0x04 >; - }; - - serial@70006040 { - compatible = "nvidia,tegra20-uart"; - reg = <0x70006040 0x40>; - reg-shift = <2>; - interrupts = < 0 37 0x04 >; - }; - - serial@70006200 { - compatible = "nvidia,tegra20-uart"; - reg = <0x70006200 0x100>; - reg-shift = <2>; - interrupts = < 0 46 0x04 >; - }; - - serial@70006300 { - compatible = "nvidia,tegra20-uart"; - reg = <0x70006300 0x100>; - reg-shift = <2>; - interrupts = < 0 90 0x04 >; - }; - - serial@70006400 { - compatible = "nvidia,tegra20-uart"; - reg = <0x70006400 0x100>; - reg-shift = <2>; - interrupts = < 0 91 0x04 >; - }; - - emc@7000f400 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "nvidia,tegra20-emc"; - reg = <0x7000f400 0x200>; - }; - - sdhci@c8000000 { - compatible = "nvidia,tegra20-sdhci"; - reg = <0xc8000000 0x200>; - interrupts = < 0 14 0x04 >; - }; - - sdhci@c8000200 { - compatible = "nvidia,tegra20-sdhci"; - reg = <0xc8000200 0x200>; - interrupts = < 0 15 0x04 >; - }; - - sdhci@c8000400 { - compatible = "nvidia,tegra20-sdhci"; - reg = <0xc8000400 0x200>; - interrupts = < 0 19 0x04 >; - }; - - sdhci@c8000600 { - compatible = "nvidia,tegra20-sdhci"; - reg = <0xc8000600 0x200>; - interrupts = < 0 31 0x04 >; - }; - - usb@c5000000 { - compatible = "nvidia,tegra20-ehci", "usb-ehci"; - reg = <0xc5000000 0x4000>; - interrupts = < 0 20 0x04 >; - phy_type = "utmi"; - nvidia,has-legacy-mode; - }; - - usb@c5004000 { - compatible = "nvidia,tegra20-ehci", "usb-ehci"; - reg = <0xc5004000 0x4000>; - interrupts = < 0 21 0x04 >; - phy_type = "ulpi"; - }; - - usb@c5008000 { - compatible = "nvidia,tegra20-ehci", "usb-ehci"; - reg = <0xc5008000 0x4000>; - interrupts = < 0 97 0x04 >; - phy_type = "utmi"; - }; -}; - diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/tegra30.dtsi b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/tegra30.dtsi deleted file mode 100644 index 62a7b39f1..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/tegra30.dtsi +++ /dev/null @@ -1,186 +0,0 @@ -/include/ "skeleton.dtsi" - -/ { - compatible = "nvidia,tegra30"; - interrupt-parent = <&intc>; - - pmc@7000f400 { - compatible = "nvidia,tegra20-pmc", "nvidia,tegra30-pmc"; - reg = <0x7000e400 0x400>; - }; - - intc: interrupt-controller@50041000 { - compatible = "arm,cortex-a9-gic"; - interrupt-controller; - #interrupt-cells = <3>; - reg = < 0x50041000 0x1000 >, - < 0x50040100 0x0100 >; - }; - - pmu { - compatible = "arm,cortex-a9-pmu"; - interrupts = <0 144 0x04 - 0 145 0x04 - 0 146 0x04 - 0 147 0x04>; - }; - - apbdma: dma@6000a000 { - compatible = "nvidia,tegra30-apbdma", "nvidia,tegra20-apbdma"; - reg = <0x6000a000 0x1400>; - interrupts = < 0 104 0x04 - 0 105 0x04 - 0 106 0x04 - 0 107 0x04 - 0 108 0x04 - 0 109 0x04 - 0 110 0x04 - 0 111 0x04 - 0 112 0x04 - 0 113 0x04 - 0 114 0x04 - 0 115 0x04 - 0 116 0x04 - 0 117 0x04 - 0 118 0x04 - 0 119 0x04 - 0 128 0x04 - 0 129 0x04 - 0 130 0x04 - 0 131 0x04 - 0 132 0x04 - 0 133 0x04 - 0 134 0x04 - 0 135 0x04 - 0 136 0x04 - 0 137 0x04 - 0 138 0x04 - 0 139 0x04 - 0 140 0x04 - 0 141 0x04 - 0 142 0x04 - 0 143 0x04 >; - }; - - i2c@7000c000 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "nvidia,tegra30-i2c", "nvidia,tegra20-i2c"; - reg = <0x7000C000 0x100>; - interrupts = < 0 38 0x04 >; - }; - - i2c@7000c400 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "nvidia,tegra30-i2c", "nvidia,tegra20-i2c"; - reg = <0x7000C400 0x100>; - interrupts = < 0 84 0x04 >; - }; - - i2c@7000c500 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "nvidia,tegra30-i2c", "nvidia,tegra20-i2c"; - reg = <0x7000C500 0x100>; - interrupts = < 0 92 0x04 >; - }; - - i2c@7000c700 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "nvidia,tegra30-i2c", "nvidia,tegra20-i2c"; - reg = <0x7000c700 0x100>; - interrupts = < 0 120 0x04 >; - }; - - i2c@7000d000 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "nvidia,tegra30-i2c", "nvidia,tegra20-i2c"; - reg = <0x7000D000 0x100>; - interrupts = < 0 53 0x04 >; - }; - - gpio: gpio@6000d000 { - compatible = "nvidia,tegra30-gpio", "nvidia,tegra20-gpio"; - reg = < 0x6000d000 0x1000 >; - interrupts = < 0 32 0x04 - 0 33 0x04 - 0 34 0x04 - 0 35 0x04 - 0 55 0x04 - 0 87 0x04 - 0 89 0x04 - 0 125 0x04 >; - #gpio-cells = <2>; - gpio-controller; - #interrupt-cells = <2>; - interrupt-controller; - }; - - serial@70006000 { - compatible = "nvidia,tegra30-uart", "nvidia,tegra20-uart"; - reg = <0x70006000 0x40>; - reg-shift = <2>; - interrupts = < 0 36 0x04 >; - }; - - serial@70006040 { - compatible = "nvidia,tegra30-uart", "nvidia,tegra20-uart"; - reg = <0x70006040 0x40>; - reg-shift = <2>; - interrupts = < 0 37 0x04 >; - }; - - serial@70006200 { - compatible = "nvidia,tegra30-uart", "nvidia,tegra20-uart"; - reg = <0x70006200 0x100>; - reg-shift = <2>; - interrupts = < 0 46 0x04 >; - }; - - serial@70006300 { - compatible = "nvidia,tegra30-uart", "nvidia,tegra20-uart"; - reg = <0x70006300 0x100>; - reg-shift = <2>; - interrupts = < 0 90 0x04 >; - }; - - serial@70006400 { - compatible = "nvidia,tegra30-uart", "nvidia,tegra20-uart"; - reg = <0x70006400 0x100>; - reg-shift = <2>; - interrupts = < 0 91 0x04 >; - }; - - sdhci@78000000 { - compatible = "nvidia,tegra30-sdhci", "nvidia,tegra20-sdhci"; - reg = <0x78000000 0x200>; - interrupts = < 0 14 0x04 >; - }; - - sdhci@78000200 { - compatible = "nvidia,tegra30-sdhci", "nvidia,tegra20-sdhci"; - reg = <0x78000200 0x200>; - interrupts = < 0 15 0x04 >; - }; - - sdhci@78000400 { - compatible = "nvidia,tegra30-sdhci", "nvidia,tegra20-sdhci"; - reg = <0x78000400 0x200>; - interrupts = < 0 19 0x04 >; - }; - - sdhci@78000600 { - compatible = "nvidia,tegra30-sdhci", "nvidia,tegra20-sdhci"; - reg = <0x78000600 0x200>; - interrupts = < 0 31 0x04 >; - }; - - pinmux: pinmux@70000000 { - compatible = "nvidia,tegra30-pinmux"; - reg = < 0x70000868 0xd0 /* Pad control registers */ - 0x70003000 0x3e0 >; /* Mux registers */ - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/testcases/tests-phandle.dtsi b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/testcases/tests-phandle.dtsi deleted file mode 100644 index 0007d3cd7..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/testcases/tests-phandle.dtsi +++ /dev/null @@ -1,39 +0,0 @@ - -/ { - testcase-data { - phandle-tests { - provider0: provider0 { - #phandle-cells = <0>; - }; - - provider1: provider1 { - #phandle-cells = <1>; - }; - - provider2: provider2 { - #phandle-cells = <2>; - }; - - provider3: provider3 { - #phandle-cells = <3>; - }; - - consumer-a { - phandle-list = <&provider1 1>, - <&provider2 2 0>, - <0>, - <&provider3 4 4 3>, - <&provider2 5 100>, - <&provider0>, - <&provider1 7>; - phandle-list-names = "first", "second", "third"; - - phandle-list-bad-phandle = <12345678 0 0>; - phandle-list-bad-args = <&provider2 1 0>, - <&provider3 0>; - empty-property; - unterminated-string = [40 41 42 43]; - }; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/testcases/tests.dtsi b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/testcases/tests.dtsi deleted file mode 100644 index a7c506762..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/testcases/tests.dtsi +++ /dev/null @@ -1 +0,0 @@ -/include/ "tests-phandle.dtsi" diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/usb_a9g20-dab-mmx.dtsi b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/usb_a9g20-dab-mmx.dtsi deleted file mode 100644 index ad3eca17c..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/usb_a9g20-dab-mmx.dtsi +++ /dev/null @@ -1,96 +0,0 @@ -/* - * calao-dab-mmx.dtsi - Device Tree Include file for Calao DAB-MMX Daughter Board - * - * Copyright (C) 2011 Jean-Christophe PLAGNIOL-VILLARD - * - * Licensed under GPLv2. - */ - -/ { - ahb { - apb { - usart1: serial@fffb4000 { - status = "okay"; - }; - - usart3: serial@fffd0000 { - status = "okay"; - }; - }; - }; - - i2c-gpio@0 { - status = "okay"; - }; - - leds { - compatible = "gpio-leds"; - - user_led1 { - label = "user_led1"; - gpios = <&pioB 20 1>; - }; - -/* -* led already used by mother board but active as high -* user_led2 { -* label = "user_led2"; -* gpios = <&pioB 21 1>; -* }; -*/ - user_led3 { - label = "user_led3"; - gpios = <&pioB 22 1>; - }; - - user_led4 { - label = "user_led4"; - gpios = <&pioB 23 1>; - }; - - red { - label = "red"; - gpios = <&pioB 24 1>; - }; - - orange { - label = "orange"; - gpios = <&pioB 30 1>; - }; - - green { - label = "green"; - gpios = <&pioB 31 1>; - }; - }; - - gpio_keys { - compatible = "gpio-keys"; - #address-cells = <1>; - #size-cells = <0>; - - user_pb1 { - label = "user_pb1"; - gpios = <&pioB 25 1>; - linux,code = <0x100>; - }; - - user_pb2 { - label = "user_pb2"; - gpios = <&pioB 13 1>; - linux,code = <0x101>; - }; - - user_pb3 { - label = "user_pb3"; - gpios = <&pioA 26 1>; - linux,code = <0x102>; - }; - - user_pb4 { - label = "user_pb4"; - gpios = <&pioC 9 1>; - linux,code = <0x103>; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/usb_a9g20.dts b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/usb_a9g20.dts deleted file mode 100644 index 7c2399c53..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/usb_a9g20.dts +++ /dev/null @@ -1,130 +0,0 @@ -/* - * usb_a9g20.dts - Device Tree file for Caloa USB A9G20 board - * - * Copyright (C) 2011 Jean-Christophe PLAGNIOL-VILLARD - * - * Licensed under GPLv2 or later. - */ -/dts-v1/; -/include/ "at91sam9g20.dtsi" - -/ { - model = "Calao USB A9G20"; - compatible = "calao,usb-a9g20", "atmel,at91sam9g20", "atmel,at91sam9"; - - chosen { - bootargs = "mem=64M console=ttyS0,115200 root=/dev/mtdblock5 rw rootfstype=ubifs"; - }; - - memory { - reg = <0x20000000 0x4000000>; - }; - - clocks { - #address-cells = <1>; - #size-cells = <1>; - ranges; - - main_clock: clock@0 { - compatible = "atmel,osc", "fixed-clock"; - clock-frequency = <12000000>; - }; - }; - - ahb { - apb { - dbgu: serial@fffff200 { - status = "okay"; - }; - - macb0: ethernet@fffc4000 { - phy-mode = "rmii"; - status = "okay"; - }; - - usb1: gadget@fffa4000 { - atmel,vbus-gpio = <&pioC 5 0>; - status = "okay"; - }; - }; - - nand0: nand@40000000 { - nand-bus-width = <8>; - nand-ecc-mode = "soft"; - nand-on-flash-bbt; - status = "okay"; - - at91bootstrap@0 { - label = "at91bootstrap"; - reg = <0x0 0x20000>; - }; - - barebox@20000 { - label = "barebox"; - reg = <0x20000 0x40000>; - }; - - bareboxenv@60000 { - label = "bareboxenv"; - reg = <0x60000 0x20000>; - }; - - bareboxenv2@80000 { - label = "bareboxenv2"; - reg = <0x80000 0x20000>; - }; - - kernel@a0000 { - label = "kernel"; - reg = <0xa0000 0x400000>; - }; - - rootfs@4a0000 { - label = "rootfs"; - reg = <0x4a0000 0x7800000>; - }; - - data@7ca0000 { - label = "data"; - reg = <0x7ca0000 0x8360000>; - }; - }; - - usb0: ohci@00500000 { - num-ports = <2>; - status = "okay"; - }; - }; - - leds { - compatible = "gpio-leds"; - - user_led { - label = "user_led"; - gpios = <&pioB 21 1>; - linux,default-trigger = "heartbeat"; - }; - }; - - gpio_keys { - compatible = "gpio-keys"; - #address-cells = <1>; - #size-cells = <0>; - - user_pb { - label = "user_pb"; - gpios = <&pioB 10 1>; - linux,code = <28>; - gpio-key,wakeup; - }; - }; - - i2c@0 { - status = "okay"; - - rv3029c2@56 { - compatible = "rv3029c2"; - reg = <0x56>; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/versatile-ab.dts b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/versatile-ab.dts deleted file mode 100644 index e2fe3195c..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/versatile-ab.dts +++ /dev/null @@ -1,192 +0,0 @@ -/dts-v1/; -/include/ "skeleton.dtsi" - -/ { - model = "ARM Versatile AB"; - compatible = "arm,versatile-ab"; - #address-cells = <1>; - #size-cells = <1>; - interrupt-parent = <&vic>; - - aliases { - serial0 = &uart0; - serial1 = &uart1; - serial2 = &uart2; - i2c0 = &i2c0; - }; - - memory { - reg = <0x0 0x08000000>; - }; - - flash@34000000 { - compatible = "arm,versatile-flash"; - reg = <0x34000000 0x4000000>; - bank-width = <4>; - }; - - i2c0: i2c@10002000 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "arm,versatile-i2c"; - reg = <0x10002000 0x1000>; - - rtc@68 { - compatible = "dallas,ds1338"; - reg = <0x68>; - }; - }; - - net@10010000 { - compatible = "smsc,lan91c111"; - reg = <0x10010000 0x10000>; - interrupts = <25>; - }; - - lcd@10008000 { - compatible = "arm,versatile-lcd"; - reg = <0x10008000 0x1000>; - }; - - amba { - compatible = "arm,amba-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - - vic: intc@10140000 { - compatible = "arm,versatile-vic"; - interrupt-controller; - #interrupt-cells = <1>; - reg = <0x10140000 0x1000>; - }; - - sic: intc@10003000 { - compatible = "arm,versatile-sic"; - interrupt-controller; - #interrupt-cells = <1>; - reg = <0x10003000 0x1000>; - interrupt-parent = <&vic>; - interrupts = <31>; /* Cascaded to vic */ - }; - - dma@10130000 { - compatible = "arm,pl081", "arm,primecell"; - reg = <0x10130000 0x1000>; - interrupts = <17>; - }; - - uart0: uart@101f1000 { - compatible = "arm,pl011", "arm,primecell"; - reg = <0x101f1000 0x1000>; - interrupts = <12>; - }; - - uart1: uart@101f2000 { - compatible = "arm,pl011", "arm,primecell"; - reg = <0x101f2000 0x1000>; - interrupts = <13>; - }; - - uart2: uart@101f3000 { - compatible = "arm,pl011", "arm,primecell"; - reg = <0x101f3000 0x1000>; - interrupts = <14>; - }; - - smc@10100000 { - compatible = "arm,primecell"; - reg = <0x10100000 0x1000>; - }; - - mpmc@10110000 { - compatible = "arm,primecell"; - reg = <0x10110000 0x1000>; - }; - - display@10120000 { - compatible = "arm,pl110", "arm,primecell"; - reg = <0x10120000 0x1000>; - interrupts = <16>; - }; - - sctl@101e0000 { - compatible = "arm,primecell"; - reg = <0x101e0000 0x1000>; - }; - - watchdog@101e1000 { - compatible = "arm,primecell"; - reg = <0x101e1000 0x1000>; - interrupts = <0>; - }; - - gpio0: gpio@101e4000 { - compatible = "arm,pl061", "arm,primecell"; - reg = <0x101e4000 0x1000>; - gpio-controller; - interrupts = <6>; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - gpio1: gpio@101e5000 { - compatible = "arm,pl061", "arm,primecell"; - reg = <0x101e5000 0x1000>; - interrupts = <7>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - rtc@101e8000 { - compatible = "arm,pl030", "arm,primecell"; - reg = <0x101e8000 0x1000>; - interrupts = <10>; - }; - - sci@101f0000 { - compatible = "arm,primecell"; - reg = <0x101f0000 0x1000>; - interrupts = <15>; - }; - - ssp@101f4000 { - compatible = "arm,pl022", "arm,primecell"; - reg = <0x101f4000 0x1000>; - interrupts = <11>; - }; - - fpga { - compatible = "arm,versatile-fpga", "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0 0x10000000 0x10000>; - - aaci@4000 { - compatible = "arm,primecell"; - reg = <0x4000 0x1000>; - interrupts = <24>; - }; - mmc@5000 { - compatible = "arm,primecell"; - reg = < 0x5000 0x1000>; - interrupts = <22 34>; - }; - kmi@6000 { - compatible = "arm,pl050", "arm,primecell"; - reg = <0x6000 0x1000>; - interrupt-parent = <&sic>; - interrupts = <3>; - }; - kmi@7000 { - compatible = "arm,pl050", "arm,primecell"; - reg = <0x7000 0x1000>; - interrupt-parent = <&sic>; - interrupts = <4>; - }; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/versatile-pb.dts b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/versatile-pb.dts deleted file mode 100644 index 7e8175269..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/versatile-pb.dts +++ /dev/null @@ -1,50 +0,0 @@ -/include/ "versatile-ab.dts" - -/ { - model = "ARM Versatile PB"; - compatible = "arm,versatile-pb"; - - amba { - gpio2: gpio@101e6000 { - compatible = "arm,pl061", "arm,primecell"; - reg = <0x101e6000 0x1000>; - interrupts = <8>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - gpio3: gpio@101e7000 { - compatible = "arm,pl061", "arm,primecell"; - reg = <0x101e7000 0x1000>; - interrupts = <9>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - fpga { - uart@9000 { - compatible = "arm,pl011", "arm,primecell"; - reg = <0x9000 0x1000>; - interrupt-parent = <&sic>; - interrupts = <6>; - }; - sci@a000 { - compatible = "arm,primecell"; - reg = <0xa000 0x1000>; - interrupt-parent = <&sic>; - interrupts = <5>; - }; - mmc@b000 { - compatible = "arm,primecell"; - reg = <0xb000 0x1000>; - interrupts = <23 34>; - }; - }; - }; -}; - -/include/ "testcases/tests.dtsi" diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/vexpress-v2m-rs1.dtsi b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/vexpress-v2m-rs1.dtsi deleted file mode 100644 index 16076e2d0..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/vexpress-v2m-rs1.dtsi +++ /dev/null @@ -1,201 +0,0 @@ -/* - * ARM Ltd. Versatile Express - * - * Motherboard Express uATX - * V2M-P1 - * - * HBI-0190D - * - * RS1 memory map ("ARM Cortex-A Series memory map" in the board's - * Technical Reference Manual) - * - * WARNING! The hardware described in this file is independent from the - * original variant (vexpress-v2m.dtsi), but there is a strong - * correspondence between the two configurations. - * - * TAKE CARE WHEN MAINTAINING THIS FILE TO PROPAGATE ANY RELEVANT - * CHANGES TO vexpress-v2m.dtsi! - */ - -/ { - aliases { - arm,v2m_timer = &v2m_timer01; - }; - - motherboard { - compatible = "simple-bus"; - arm,v2m-memory-map = "rs1"; - #address-cells = <2>; /* SMB chipselect number and offset */ - #size-cells = <1>; - #interrupt-cells = <1>; - - flash@0,00000000 { - compatible = "arm,vexpress-flash", "cfi-flash"; - reg = <0 0x00000000 0x04000000>, - <4 0x00000000 0x04000000>; - bank-width = <4>; - }; - - psram@1,00000000 { - compatible = "arm,vexpress-psram", "mtd-ram"; - reg = <1 0x00000000 0x02000000>; - bank-width = <4>; - }; - - vram@2,00000000 { - compatible = "arm,vexpress-vram"; - reg = <2 0x00000000 0x00800000>; - }; - - ethernet@2,02000000 { - compatible = "smsc,lan9118", "smsc,lan9115"; - reg = <2 0x02000000 0x10000>; - interrupts = <15>; - phy-mode = "mii"; - reg-io-width = <4>; - smsc,irq-active-high; - smsc,irq-push-pull; - }; - - usb@2,03000000 { - compatible = "nxp,usb-isp1761"; - reg = <2 0x03000000 0x20000>; - interrupts = <16>; - port1-otg; - }; - - iofpga@3,00000000 { - compatible = "arm,amba-bus", "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0 3 0 0x200000>; - - sysreg@010000 { - compatible = "arm,vexpress-sysreg"; - reg = <0x010000 0x1000>; - }; - - sysctl@020000 { - compatible = "arm,sp810", "arm,primecell"; - reg = <0x020000 0x1000>; - }; - - /* PCI-E I2C bus */ - v2m_i2c_pcie: i2c@030000 { - compatible = "arm,versatile-i2c"; - reg = <0x030000 0x1000>; - - #address-cells = <1>; - #size-cells = <0>; - - pcie-switch@60 { - compatible = "idt,89hpes32h8"; - reg = <0x60>; - }; - }; - - aaci@040000 { - compatible = "arm,pl041", "arm,primecell"; - reg = <0x040000 0x1000>; - interrupts = <11>; - }; - - mmci@050000 { - compatible = "arm,pl180", "arm,primecell"; - reg = <0x050000 0x1000>; - interrupts = <9 10>; - }; - - kmi@060000 { - compatible = "arm,pl050", "arm,primecell"; - reg = <0x060000 0x1000>; - interrupts = <12>; - }; - - kmi@070000 { - compatible = "arm,pl050", "arm,primecell"; - reg = <0x070000 0x1000>; - interrupts = <13>; - }; - - v2m_serial0: uart@090000 { - compatible = "arm,pl011", "arm,primecell"; - reg = <0x090000 0x1000>; - interrupts = <5>; - }; - - v2m_serial1: uart@0a0000 { - compatible = "arm,pl011", "arm,primecell"; - reg = <0x0a0000 0x1000>; - interrupts = <6>; - }; - - v2m_serial2: uart@0b0000 { - compatible = "arm,pl011", "arm,primecell"; - reg = <0x0b0000 0x1000>; - interrupts = <7>; - }; - - v2m_serial3: uart@0c0000 { - compatible = "arm,pl011", "arm,primecell"; - reg = <0x0c0000 0x1000>; - interrupts = <8>; - }; - - wdt@0f0000 { - compatible = "arm,sp805", "arm,primecell"; - reg = <0x0f0000 0x1000>; - interrupts = <0>; - }; - - v2m_timer01: timer@110000 { - compatible = "arm,sp804", "arm,primecell"; - reg = <0x110000 0x1000>; - interrupts = <2>; - }; - - v2m_timer23: timer@120000 { - compatible = "arm,sp804", "arm,primecell"; - reg = <0x120000 0x1000>; - }; - - /* DVI I2C bus */ - v2m_i2c_dvi: i2c@160000 { - compatible = "arm,versatile-i2c"; - reg = <0x160000 0x1000>; - - #address-cells = <1>; - #size-cells = <0>; - - dvi-transmitter@39 { - compatible = "sil,sii9022-tpi", "sil,sii9022"; - reg = <0x39>; - }; - - dvi-transmitter@60 { - compatible = "sil,sii9022-cpi", "sil,sii9022"; - reg = <0x60>; - }; - }; - - rtc@170000 { - compatible = "arm,pl031", "arm,primecell"; - reg = <0x170000 0x1000>; - interrupts = <4>; - }; - - compact-flash@1a0000 { - compatible = "arm,vexpress-cf", "ata-generic"; - reg = <0x1a0000 0x100 - 0x1a0100 0xf00>; - reg-shift = <2>; - }; - - clcd@1f0000 { - compatible = "arm,pl111", "arm,primecell"; - reg = <0x1f0000 0x1000>; - interrupts = <14>; - }; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/vexpress-v2m.dtsi b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/vexpress-v2m.dtsi deleted file mode 100644 index a6c9c7c82..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/vexpress-v2m.dtsi +++ /dev/null @@ -1,200 +0,0 @@ -/* - * ARM Ltd. Versatile Express - * - * Motherboard Express uATX - * V2M-P1 - * - * HBI-0190D - * - * Original memory map ("Legacy memory map" in the board's - * Technical Reference Manual) - * - * WARNING! The hardware described in this file is independent from the - * RS1 variant (vexpress-v2m-rs1.dtsi), but there is a strong - * correspondence between the two configurations. - * - * TAKE CARE WHEN MAINTAINING THIS FILE TO PROPAGATE ANY RELEVANT - * CHANGES TO vexpress-v2m-rs1.dtsi! - */ - -/ { - aliases { - arm,v2m_timer = &v2m_timer01; - }; - - motherboard { - compatible = "simple-bus"; - #address-cells = <2>; /* SMB chipselect number and offset */ - #size-cells = <1>; - #interrupt-cells = <1>; - - flash@0,00000000 { - compatible = "arm,vexpress-flash", "cfi-flash"; - reg = <0 0x00000000 0x04000000>, - <1 0x00000000 0x04000000>; - bank-width = <4>; - }; - - psram@2,00000000 { - compatible = "arm,vexpress-psram", "mtd-ram"; - reg = <2 0x00000000 0x02000000>; - bank-width = <4>; - }; - - vram@3,00000000 { - compatible = "arm,vexpress-vram"; - reg = <3 0x00000000 0x00800000>; - }; - - ethernet@3,02000000 { - compatible = "smsc,lan9118", "smsc,lan9115"; - reg = <3 0x02000000 0x10000>; - interrupts = <15>; - phy-mode = "mii"; - reg-io-width = <4>; - smsc,irq-active-high; - smsc,irq-push-pull; - }; - - usb@3,03000000 { - compatible = "nxp,usb-isp1761"; - reg = <3 0x03000000 0x20000>; - interrupts = <16>; - port1-otg; - }; - - iofpga@7,00000000 { - compatible = "arm,amba-bus", "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0 7 0 0x20000>; - - sysreg@00000 { - compatible = "arm,vexpress-sysreg"; - reg = <0x00000 0x1000>; - }; - - sysctl@01000 { - compatible = "arm,sp810", "arm,primecell"; - reg = <0x01000 0x1000>; - }; - - /* PCI-E I2C bus */ - v2m_i2c_pcie: i2c@02000 { - compatible = "arm,versatile-i2c"; - reg = <0x02000 0x1000>; - - #address-cells = <1>; - #size-cells = <0>; - - pcie-switch@60 { - compatible = "idt,89hpes32h8"; - reg = <0x60>; - }; - }; - - aaci@04000 { - compatible = "arm,pl041", "arm,primecell"; - reg = <0x04000 0x1000>; - interrupts = <11>; - }; - - mmci@05000 { - compatible = "arm,pl180", "arm,primecell"; - reg = <0x05000 0x1000>; - interrupts = <9 10>; - }; - - kmi@06000 { - compatible = "arm,pl050", "arm,primecell"; - reg = <0x06000 0x1000>; - interrupts = <12>; - }; - - kmi@07000 { - compatible = "arm,pl050", "arm,primecell"; - reg = <0x07000 0x1000>; - interrupts = <13>; - }; - - v2m_serial0: uart@09000 { - compatible = "arm,pl011", "arm,primecell"; - reg = <0x09000 0x1000>; - interrupts = <5>; - }; - - v2m_serial1: uart@0a000 { - compatible = "arm,pl011", "arm,primecell"; - reg = <0x0a000 0x1000>; - interrupts = <6>; - }; - - v2m_serial2: uart@0b000 { - compatible = "arm,pl011", "arm,primecell"; - reg = <0x0b000 0x1000>; - interrupts = <7>; - }; - - v2m_serial3: uart@0c000 { - compatible = "arm,pl011", "arm,primecell"; - reg = <0x0c000 0x1000>; - interrupts = <8>; - }; - - wdt@0f000 { - compatible = "arm,sp805", "arm,primecell"; - reg = <0x0f000 0x1000>; - interrupts = <0>; - }; - - v2m_timer01: timer@11000 { - compatible = "arm,sp804", "arm,primecell"; - reg = <0x11000 0x1000>; - interrupts = <2>; - }; - - v2m_timer23: timer@12000 { - compatible = "arm,sp804", "arm,primecell"; - reg = <0x12000 0x1000>; - }; - - /* DVI I2C bus */ - v2m_i2c_dvi: i2c@16000 { - compatible = "arm,versatile-i2c"; - reg = <0x16000 0x1000>; - - #address-cells = <1>; - #size-cells = <0>; - - dvi-transmitter@39 { - compatible = "sil,sii9022-tpi", "sil,sii9022"; - reg = <0x39>; - }; - - dvi-transmitter@60 { - compatible = "sil,sii9022-cpi", "sil,sii9022"; - reg = <0x60>; - }; - }; - - rtc@17000 { - compatible = "arm,pl031", "arm,primecell"; - reg = <0x17000 0x1000>; - interrupts = <4>; - }; - - compact-flash@1a000 { - compatible = "arm,vexpress-cf", "ata-generic"; - reg = <0x1a000 0x100 - 0x1a100 0xf00>; - reg-shift = <2>; - }; - - clcd@1f000 { - compatible = "arm,pl111", "arm,primecell"; - reg = <0x1f000 0x1000>; - interrupts = <14>; - }; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/vexpress-v2p-ca15-tc1.dts b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/vexpress-v2p-ca15-tc1.dts deleted file mode 100644 index 941b161ab..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/vexpress-v2p-ca15-tc1.dts +++ /dev/null @@ -1,157 +0,0 @@ -/* - * ARM Ltd. Versatile Express - * - * CoreTile Express A15x2 (version with Test Chip 1) - * Cortex-A15 MPCore (V2P-CA15) - * - * HBI-0237A - */ - -/dts-v1/; - -/ { - model = "V2P-CA15"; - arm,hbi = <0x237>; - compatible = "arm,vexpress,v2p-ca15,tc1", "arm,vexpress,v2p-ca15", "arm,vexpress"; - interrupt-parent = <&gic>; - #address-cells = <1>; - #size-cells = <1>; - - chosen { }; - - aliases { - serial0 = &v2m_serial0; - serial1 = &v2m_serial1; - serial2 = &v2m_serial2; - serial3 = &v2m_serial3; - i2c0 = &v2m_i2c_dvi; - i2c1 = &v2m_i2c_pcie; - }; - - cpus { - #address-cells = <1>; - #size-cells = <0>; - - cpu@0 { - device_type = "cpu"; - compatible = "arm,cortex-a15"; - reg = <0>; - }; - - cpu@1 { - device_type = "cpu"; - compatible = "arm,cortex-a15"; - reg = <1>; - }; - }; - - memory@80000000 { - device_type = "memory"; - reg = <0x80000000 0x40000000>; - }; - - hdlcd@2b000000 { - compatible = "arm,hdlcd"; - reg = <0x2b000000 0x1000>; - interrupts = <0 85 4>; - }; - - memory-controller@2b0a0000 { - compatible = "arm,pl341", "arm,primecell"; - reg = <0x2b0a0000 0x1000>; - }; - - wdt@2b060000 { - compatible = "arm,sp805", "arm,primecell"; - reg = <0x2b060000 0x1000>; - interrupts = <98>; - }; - - gic: interrupt-controller@2c001000 { - compatible = "arm,cortex-a15-gic", "arm,cortex-a9-gic"; - #interrupt-cells = <3>; - #address-cells = <0>; - interrupt-controller; - reg = <0x2c001000 0x1000>, - <0x2c002000 0x100>; - }; - - memory-controller@7ffd0000 { - compatible = "arm,pl354", "arm,primecell"; - reg = <0x7ffd0000 0x1000>; - interrupts = <0 86 4>, - <0 87 4>; - }; - - dma@7ffb0000 { - compatible = "arm,pl330", "arm,primecell"; - reg = <0x7ffb0000 0x1000>; - interrupts = <0 92 4>, - <0 88 4>, - <0 89 4>, - <0 90 4>, - <0 91 4>; - }; - - pmu { - compatible = "arm,cortex-a15-pmu", "arm,cortex-a9-pmu"; - interrupts = <0 68 4>, - <0 69 4>; - }; - - motherboard { - ranges = <0 0 0x08000000 0x04000000>, - <1 0 0x14000000 0x04000000>, - <2 0 0x18000000 0x04000000>, - <3 0 0x1c000000 0x04000000>, - <4 0 0x0c000000 0x04000000>, - <5 0 0x10000000 0x04000000>; - - interrupt-map-mask = <0 0 63>; - interrupt-map = <0 0 0 &gic 0 0 4>, - <0 0 1 &gic 0 1 4>, - <0 0 2 &gic 0 2 4>, - <0 0 3 &gic 0 3 4>, - <0 0 4 &gic 0 4 4>, - <0 0 5 &gic 0 5 4>, - <0 0 6 &gic 0 6 4>, - <0 0 7 &gic 0 7 4>, - <0 0 8 &gic 0 8 4>, - <0 0 9 &gic 0 9 4>, - <0 0 10 &gic 0 10 4>, - <0 0 11 &gic 0 11 4>, - <0 0 12 &gic 0 12 4>, - <0 0 13 &gic 0 13 4>, - <0 0 14 &gic 0 14 4>, - <0 0 15 &gic 0 15 4>, - <0 0 16 &gic 0 16 4>, - <0 0 17 &gic 0 17 4>, - <0 0 18 &gic 0 18 4>, - <0 0 19 &gic 0 19 4>, - <0 0 20 &gic 0 20 4>, - <0 0 21 &gic 0 21 4>, - <0 0 22 &gic 0 22 4>, - <0 0 23 &gic 0 23 4>, - <0 0 24 &gic 0 24 4>, - <0 0 25 &gic 0 25 4>, - <0 0 26 &gic 0 26 4>, - <0 0 27 &gic 0 27 4>, - <0 0 28 &gic 0 28 4>, - <0 0 29 &gic 0 29 4>, - <0 0 30 &gic 0 30 4>, - <0 0 31 &gic 0 31 4>, - <0 0 32 &gic 0 32 4>, - <0 0 33 &gic 0 33 4>, - <0 0 34 &gic 0 34 4>, - <0 0 35 &gic 0 35 4>, - <0 0 36 &gic 0 36 4>, - <0 0 37 &gic 0 37 4>, - <0 0 38 &gic 0 38 4>, - <0 0 39 &gic 0 39 4>, - <0 0 40 &gic 0 40 4>, - <0 0 41 &gic 0 41 4>, - <0 0 42 &gic 0 42 4>; - }; -}; - -/include/ "vexpress-v2m-rs1.dtsi" diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/vexpress-v2p-ca5s.dts b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/vexpress-v2p-ca5s.dts deleted file mode 100644 index 6905e66d4..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/vexpress-v2p-ca5s.dts +++ /dev/null @@ -1,162 +0,0 @@ -/* - * ARM Ltd. Versatile Express - * - * CoreTile Express A5x2 - * Cortex-A5 MPCore (V2P-CA5s) - * - * HBI-0225B - */ - -/dts-v1/; - -/ { - model = "V2P-CA5s"; - arm,hbi = <0x225>; - compatible = "arm,vexpress,v2p-ca5s", "arm,vexpress"; - interrupt-parent = <&gic>; - #address-cells = <1>; - #size-cells = <1>; - - chosen { }; - - aliases { - serial0 = &v2m_serial0; - serial1 = &v2m_serial1; - serial2 = &v2m_serial2; - serial3 = &v2m_serial3; - i2c0 = &v2m_i2c_dvi; - i2c1 = &v2m_i2c_pcie; - }; - - cpus { - #address-cells = <1>; - #size-cells = <0>; - - cpu@0 { - device_type = "cpu"; - compatible = "arm,cortex-a5"; - reg = <0>; - next-level-cache = <&L2>; - }; - - cpu@1 { - device_type = "cpu"; - compatible = "arm,cortex-a5"; - reg = <1>; - next-level-cache = <&L2>; - }; - }; - - memory@80000000 { - device_type = "memory"; - reg = <0x80000000 0x40000000>; - }; - - hdlcd@2a110000 { - compatible = "arm,hdlcd"; - reg = <0x2a110000 0x1000>; - interrupts = <0 85 4>; - }; - - memory-controller@2a150000 { - compatible = "arm,pl341", "arm,primecell"; - reg = <0x2a150000 0x1000>; - }; - - memory-controller@2a190000 { - compatible = "arm,pl354", "arm,primecell"; - reg = <0x2a190000 0x1000>; - interrupts = <0 86 4>, - <0 87 4>; - }; - - scu@2c000000 { - compatible = "arm,cortex-a5-scu"; - reg = <0x2c000000 0x58>; - }; - - timer@2c000600 { - compatible = "arm,cortex-a5-twd-timer"; - reg = <0x2c000600 0x38>; - interrupts = <1 2 0x304>, - <1 3 0x304>; - }; - - gic: interrupt-controller@2c001000 { - compatible = "arm,corex-a5-gic", "arm,cortex-a9-gic"; - #interrupt-cells = <3>; - #address-cells = <0>; - interrupt-controller; - reg = <0x2c001000 0x1000>, - <0x2c000100 0x100>; - }; - - L2: cache-controller@2c0f0000 { - compatible = "arm,pl310-cache"; - reg = <0x2c0f0000 0x1000>; - interrupts = <0 84 4>; - cache-level = <2>; - }; - - pmu { - compatible = "arm,cortex-a5-pmu", "arm,cortex-a9-pmu"; - interrupts = <0 68 4>, - <0 69 4>; - }; - - motherboard { - ranges = <0 0 0x08000000 0x04000000>, - <1 0 0x14000000 0x04000000>, - <2 0 0x18000000 0x04000000>, - <3 0 0x1c000000 0x04000000>, - <4 0 0x0c000000 0x04000000>, - <5 0 0x10000000 0x04000000>; - - interrupt-map-mask = <0 0 63>; - interrupt-map = <0 0 0 &gic 0 0 4>, - <0 0 1 &gic 0 1 4>, - <0 0 2 &gic 0 2 4>, - <0 0 3 &gic 0 3 4>, - <0 0 4 &gic 0 4 4>, - <0 0 5 &gic 0 5 4>, - <0 0 6 &gic 0 6 4>, - <0 0 7 &gic 0 7 4>, - <0 0 8 &gic 0 8 4>, - <0 0 9 &gic 0 9 4>, - <0 0 10 &gic 0 10 4>, - <0 0 11 &gic 0 11 4>, - <0 0 12 &gic 0 12 4>, - <0 0 13 &gic 0 13 4>, - <0 0 14 &gic 0 14 4>, - <0 0 15 &gic 0 15 4>, - <0 0 16 &gic 0 16 4>, - <0 0 17 &gic 0 17 4>, - <0 0 18 &gic 0 18 4>, - <0 0 19 &gic 0 19 4>, - <0 0 20 &gic 0 20 4>, - <0 0 21 &gic 0 21 4>, - <0 0 22 &gic 0 22 4>, - <0 0 23 &gic 0 23 4>, - <0 0 24 &gic 0 24 4>, - <0 0 25 &gic 0 25 4>, - <0 0 26 &gic 0 26 4>, - <0 0 27 &gic 0 27 4>, - <0 0 28 &gic 0 28 4>, - <0 0 29 &gic 0 29 4>, - <0 0 30 &gic 0 30 4>, - <0 0 31 &gic 0 31 4>, - <0 0 32 &gic 0 32 4>, - <0 0 33 &gic 0 33 4>, - <0 0 34 &gic 0 34 4>, - <0 0 35 &gic 0 35 4>, - <0 0 36 &gic 0 36 4>, - <0 0 37 &gic 0 37 4>, - <0 0 38 &gic 0 38 4>, - <0 0 39 &gic 0 39 4>, - <0 0 40 &gic 0 40 4>, - <0 0 41 &gic 0 41 4>, - <0 0 42 &gic 0 42 4>; - }; -}; - -/include/ "vexpress-v2m-rs1.dtsi" diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/vexpress-v2p-ca9.dts b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/vexpress-v2p-ca9.dts deleted file mode 100644 index da778693b..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/vexpress-v2p-ca9.dts +++ /dev/null @@ -1,192 +0,0 @@ -/* - * ARM Ltd. Versatile Express - * - * CoreTile Express A9x4 - * Cortex-A9 MPCore (V2P-CA9) - * - * HBI-0191B - */ - -/dts-v1/; - -/ { - model = "V2P-CA9"; - arm,hbi = <0x191>; - compatible = "arm,vexpress,v2p-ca9", "arm,vexpress"; - interrupt-parent = <&gic>; - #address-cells = <1>; - #size-cells = <1>; - - chosen { }; - - aliases { - serial0 = &v2m_serial0; - serial1 = &v2m_serial1; - serial2 = &v2m_serial2; - serial3 = &v2m_serial3; - i2c0 = &v2m_i2c_dvi; - i2c1 = &v2m_i2c_pcie; - }; - - cpus { - #address-cells = <1>; - #size-cells = <0>; - - cpu@0 { - device_type = "cpu"; - compatible = "arm,cortex-a9"; - reg = <0>; - next-level-cache = <&L2>; - }; - - cpu@1 { - device_type = "cpu"; - compatible = "arm,cortex-a9"; - reg = <1>; - next-level-cache = <&L2>; - }; - - cpu@2 { - device_type = "cpu"; - compatible = "arm,cortex-a9"; - reg = <2>; - next-level-cache = <&L2>; - }; - - cpu@3 { - device_type = "cpu"; - compatible = "arm,cortex-a9"; - reg = <3>; - next-level-cache = <&L2>; - }; - }; - - memory@60000000 { - device_type = "memory"; - reg = <0x60000000 0x40000000>; - }; - - clcd@10020000 { - compatible = "arm,pl111", "arm,primecell"; - reg = <0x10020000 0x1000>; - interrupts = <0 44 4>; - }; - - memory-controller@100e0000 { - compatible = "arm,pl341", "arm,primecell"; - reg = <0x100e0000 0x1000>; - }; - - memory-controller@100e1000 { - compatible = "arm,pl354", "arm,primecell"; - reg = <0x100e1000 0x1000>; - interrupts = <0 45 4>, - <0 46 4>; - }; - - timer@100e4000 { - compatible = "arm,sp804", "arm,primecell"; - reg = <0x100e4000 0x1000>; - interrupts = <0 48 4>, - <0 49 4>; - }; - - watchdog@100e5000 { - compatible = "arm,sp805", "arm,primecell"; - reg = <0x100e5000 0x1000>; - interrupts = <0 51 4>; - }; - - scu@1e000000 { - compatible = "arm,cortex-a9-scu"; - reg = <0x1e000000 0x58>; - }; - - timer@1e000600 { - compatible = "arm,cortex-a9-twd-timer"; - reg = <0x1e000600 0x20>; - interrupts = <1 2 0xf04>, - <1 3 0xf04>; - }; - - gic: interrupt-controller@1e001000 { - compatible = "arm,cortex-a9-gic"; - #interrupt-cells = <3>; - #address-cells = <0>; - interrupt-controller; - reg = <0x1e001000 0x1000>, - <0x1e000100 0x100>; - }; - - L2: cache-controller@1e00a000 { - compatible = "arm,pl310-cache"; - reg = <0x1e00a000 0x1000>; - interrupts = <0 43 4>; - cache-level = <2>; - arm,data-latency = <1 1 1>; - arm,tag-latency = <1 1 1>; - }; - - pmu { - compatible = "arm,cortex-a9-pmu"; - interrupts = <0 60 4>, - <0 61 4>, - <0 62 4>, - <0 63 4>; - }; - - motherboard { - ranges = <0 0 0x40000000 0x04000000>, - <1 0 0x44000000 0x04000000>, - <2 0 0x48000000 0x04000000>, - <3 0 0x4c000000 0x04000000>, - <7 0 0x10000000 0x00020000>; - - interrupt-map-mask = <0 0 63>; - interrupt-map = <0 0 0 &gic 0 0 4>, - <0 0 1 &gic 0 1 4>, - <0 0 2 &gic 0 2 4>, - <0 0 3 &gic 0 3 4>, - <0 0 4 &gic 0 4 4>, - <0 0 5 &gic 0 5 4>, - <0 0 6 &gic 0 6 4>, - <0 0 7 &gic 0 7 4>, - <0 0 8 &gic 0 8 4>, - <0 0 9 &gic 0 9 4>, - <0 0 10 &gic 0 10 4>, - <0 0 11 &gic 0 11 4>, - <0 0 12 &gic 0 12 4>, - <0 0 13 &gic 0 13 4>, - <0 0 14 &gic 0 14 4>, - <0 0 15 &gic 0 15 4>, - <0 0 16 &gic 0 16 4>, - <0 0 17 &gic 0 17 4>, - <0 0 18 &gic 0 18 4>, - <0 0 19 &gic 0 19 4>, - <0 0 20 &gic 0 20 4>, - <0 0 21 &gic 0 21 4>, - <0 0 22 &gic 0 22 4>, - <0 0 23 &gic 0 23 4>, - <0 0 24 &gic 0 24 4>, - <0 0 25 &gic 0 25 4>, - <0 0 26 &gic 0 26 4>, - <0 0 27 &gic 0 27 4>, - <0 0 28 &gic 0 28 4>, - <0 0 29 &gic 0 29 4>, - <0 0 30 &gic 0 30 4>, - <0 0 31 &gic 0 31 4>, - <0 0 32 &gic 0 32 4>, - <0 0 33 &gic 0 33 4>, - <0 0 34 &gic 0 34 4>, - <0 0 35 &gic 0 35 4>, - <0 0 36 &gic 0 36 4>, - <0 0 37 &gic 0 37 4>, - <0 0 38 &gic 0 38 4>, - <0 0 39 &gic 0 39 4>, - <0 0 40 &gic 0 40 4>, - <0 0 41 &gic 0 41 4>, - <0 0 42 &gic 0 42 4>; - }; -}; - -/include/ "vexpress-v2m.dtsi" diff --git a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/zynq-ep107.dts b/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/zynq-ep107.dts deleted file mode 100644 index 37ca192fb..000000000 --- a/kernel/arch/arm/boot/dts/tr961-2500l-mobile-unicom-v1/zynq-ep107.dts +++ /dev/null @@ -1,52 +0,0 @@ -/* - * Copyright (C) 2011 Xilinx - * - * This software is licensed under the terms of the GNU General Public - * License version 2, as published by the Free Software Foundation, and - * may be copied, distributed, and modified under those terms. - * - * 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. - */ - -/dts-v1/; -/ { - model = "Xilinx Zynq EP107"; - compatible = "xlnx,zynq-ep107"; - #address-cells = <1>; - #size-cells = <1>; - interrupt-parent = <&intc>; - - memory { - device_type = "memory"; - reg = <0x0 0x10000000>; - }; - - chosen { - bootargs = "console=ttyPS0,9600 root=/dev/ram rw initrd=0x800000,8M earlyprintk"; - linux,stdout-path = &uart0; - }; - - amba { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - - intc: interrupt-controller@f8f01000 { - interrupt-controller; - compatible = "arm,gic"; - reg = <0xF8F01000 0x1000>; - #interrupt-cells = <2>; - }; - - uart0: uart@e0000000 { - compatible = "xlnx,xuartps"; - reg = <0xE0000000 0x1000>; - interrupts = <59 0>; - clock = <50000000>; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/am3517_mt_ventoux.dts b/kernel/arch/arm/boot/dts/tr961-5200l-v1/am3517_mt_ventoux.dts deleted file mode 100644 index 5eb26d7d9..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/am3517_mt_ventoux.dts +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Copyright (C) 2011 Ilya Yanok, EmCraft Systems - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. - */ -/dts-v1/; - -/include/ "omap3.dtsi" - -/ { - model = "TeeJet Mt.Ventoux"; - compatible = "teejet,mt_ventoux", "ti,omap3"; - - memory { - device_type = "memory"; - reg = <0x80000000 0x10000000>; /* 256 MB */ - }; - - /* AM35xx doesn't have IVA */ - soc { - iva { - status = "disabled"; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/apq8026-mtp.dts b/kernel/arch/arm/boot/dts/tr961-5200l-v1/apq8026-mtp.dts deleted file mode 100644 index e14a68568..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/apq8026-mtp.dts +++ /dev/null @@ -1,22 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - - -/dts-v1/; -/include/ "apq8026.dtsi" -/include/ "msm8226-mtp.dtsi" - -/ { - model = "Qualcomm APQ 8026 MTP"; - compatible = "qcom,apq8026-mtp", "qcom,apq8026", "qcom,mtp"; - qcom,msm-id = <199 8 0>; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/apq8026-xpm.dts b/kernel/arch/arm/boot/dts/tr961-5200l-v1/apq8026-xpm.dts deleted file mode 100644 index 67152af2d..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/apq8026-xpm.dts +++ /dev/null @@ -1,22 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - - -/dts-v1/; -/include/ "apq8026.dtsi" -/include/ "msm8226-cdp.dtsi" - -/ { - model = "Qualcomm APQ 8026 XPM"; - compatible = "qcom,apq8026-xpm", "qcom,apq8026", "qcom,xpm"; - qcom,msm-id = <199 14 0>; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/apq8026.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v1/apq8026.dtsi deleted file mode 100644 index db6576a0d..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/apq8026.dtsi +++ /dev/null @@ -1,24 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/* - * Only 8026-specific property overrides should be placed inside this - * file. Device definitions should be placed inside the msm8226.dtsi - * file. - */ - -/include/ "msm8226.dtsi" - -/ { - model = "Qualcomm APQ 8026"; - compatible = "qcom,apq8026"; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/apq8074-dragonboard.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v1/apq8074-dragonboard.dtsi deleted file mode 100644 index 6b4d1d339..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/apq8074-dragonboard.dtsi +++ /dev/null @@ -1,654 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/include/ "dsi-panel-sharp-qhd-video.dtsi" -/include/ "msm8974-camera-sensor-dragonboard.dtsi" -/include/ "msm8974-leds.dtsi" - -&soc { - serial@f991e000 { - status = "ok"; - }; - - qcom,mdss_dsi_sharp_qhd_video { - status = "ok"; - }; - - qcom,hdmi_tx@fd922100 { - status = "ok"; - }; - - gpio_keys { - compatible = "gpio-keys"; - input-name = "gpio-keys"; - - vol_up { - label = "volume_up"; - gpios = <&pm8941_gpios 5 0x1>; - linux,input-type = <1>; - linux,code = <115>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - - general { - label = "general"; - gpios = <&pm8941_gpios 23 0x1>; - linux,input-type = <1>; - linux,code = <102>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - }; - - bt_ar3002 { - compatible = "qca,ar3002"; - qca,bt-reset-gpio = <&pm8941_gpios 34 0>; - }; - - hsic_hub { - compatible = "qcom,hsic-smsc-hub"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - smsc,reset-gpio = <&pm8941_gpios 8 0x00>; - - hsic_host: hsic@f9a00000 { - compatible = "qcom,hsic-host"; - reg = <0xf9a00000 0x400>; - #address-cells = <0>; - interrupt-parent = <&hsic_host>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 136 0 - 1 &intc 0 148 0 - 2 &msmgpio 144 0x8>; - interrupt-names = "core_irq", "async_irq", "wakeup"; - HSIC_VDDCX-supply = <&pm8841_s2>; - HSIC_GDSC-supply = <&gdsc_usb_hsic>; - hsic,strobe-gpio = <&msmgpio 144 0x00>; - hsic,data-gpio = <&msmgpio 145 0x00>; - hsic,ignore-cal-pad-config; - hsic,strobe-pad-offset = <0x2050>; - hsic,data-pad-offset = <0x2054>; - - qcom,msm-bus,name = "hsic"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,active-only = <0>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <85 512 0 0>, - <85 512 40000 160000>; - }; - }; - - i2c@f9923000 { - status = "ok"; - atmel_mxt_ts@4a { - compatible = "atmel,mxt-ts"; - reg = <0x4a>; - interrupt-parent = <&msmgpio>; - interrupts = <61 0x2>; - vdd_ana-supply = <&pm8941_l18>; - vcc_i2c-supply = <&pm8941_s3>; - atmel,reset-gpio = <&msmgpio 60 0x00>; - atmel,irq-gpio = <&msmgpio 61 0x00>; - atmel,panel-coords = <0 0 566 1067>; - atmel,display-coords = <0 0 540 960>; - atmel,i2c-pull-up; - atmel,cfg_1 { - atmel,family-id = <0x81>; - atmel,variant-id = <0x19>; - atmel,version = <0x10>; - atmel,build = <0xaa>; - atmel,config = [ - /* Object 38, Instance = 0 */ - 0F 02 00 17 04 0C 00 00 - /* Object 7, Instance = 0 */ - 30 FF 19 - /* Object 8, Instance = 0 */ - 1B 00 05 01 00 00 08 08 00 00 - /* Object 9, Instance = 0 */ - 83 00 00 13 0B 00 10 23 01 03 - 0A 0F 01 0B 04 05 28 0A 2B 04 - 36 02 00 00 00 00 8F 28 8F 50 - 12 0F 32 32 02 - /* Object 15, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 - /* Object 18, Instance = 0 */ - 00 00 - /* Object 19, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 - /* Object 23, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 - /* Object 25, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 - /* Object 40, Instance = 0 */ - 00 00 00 00 00 - /* Object 42, Instance = 0 */ - 00 00 00 00 00 00 00 00 - /* Object 46, Instance = 0 */ - 00 03 10 30 00 00 01 00 00 - /* Object 47, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - /* Object 48, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 - ]; - }; - }; - }; - - gen-vkeys { - compatible = "qcom,gen-vkeys"; - label = "atmel_mxt_ts"; - qcom,disp-maxx = <540>; - qcom,disp-maxy = <960>; - qcom,panel-maxx = <566>; - qcom,panel-maxy = <1067>; - qcom,key-codes = <158 139 102 217>; - }; - - sound { - qcom,model = "apq8074-taiko-db-snd-card"; - qcom,hdmi-audio-rx; - - qcom,audio-routing = - "RX_BIAS", "MCLK", - "LDO_H", "MCLK", - "AMIC1", "MIC BIAS1 External", - "MIC BIAS1 External", "Analog Mic4", - "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", - "AMIC5", "MIC BIAS1 External", - "MIC BIAS1 External", "Analog Mic6", - "AMIC6", "MIC BIAS1 External", - "MIC BIAS1 External", "Analog Mic7", - "DMIC1", "MIC BIAS3 External", - "MIC BIAS3 External", "Digital Mic1", - "DMIC2", "MIC BIAS3 External", - "MIC BIAS3 External", "Digital Mic2", - "DMIC3", "MIC BIAS4 External", - "MIC BIAS4 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"; - }; - - qcom,pronto@fb21b000 { - status = "disabled"; - }; - - qcom,iris-fm { - status = "disabled"; - }; - - qcom,wcnss-wlan@fb000000 { - status = "disabled"; - }; - - qcom,smd-wcnss { - status = "disabled"; - }; - - qcom,smsm-wcnss { - status = "disabled"; - }; -}; - -&mdss_fb0 { - qcom,memory-reservation-size = <0x1000000>; /* size 16MB */ -}; - -&sdcc3 { - qcom,sup-voltages = <2000 2000>; - status = "ok"; -}; - -&pm8941_l19 { - regulator-min-microvolt = <3300000>; - regulator-max-microvolt = <3300000>; - qcom,init-voltage = <3300000>; - regulator-always-on; -}; - -&pm8941_l10 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - regulator-always-on; -}; - -&uart7 { - status = "ok"; - qcom,tx-gpio = <&msmgpio 41 0x00>; - qcom,rx-gpio = <&msmgpio 42 0x00>; - qcom,cts-gpio = <&msmgpio 43 0x00>; - qcom,rfr-gpio = <&msmgpio 44 0x00>; -}; - -&usb_otg { - status = "ok"; - qcom,hsusb-otg-otg-control = <2>; - qcom,hsusb-otg-mode = <3>; - vbus_otg-supply = <&pm8941_mvs1>; - qcom,usb2-enable-hsphy2; - qcom,dp-manual-pullup; - - #address-cells = <0>; - interrupt-parent = <&usb_otg>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 134 0 - 1 &intc 0 140 0 - 2 &spmi_bus 0x0 0x0 0x9 0x0>; - interrupt-names = "core_irq", "async_irq", "pmic_id_irq"; -}; - -&usb3 { - qcom,charging-disabled; - vbus_dwc3-supply = <0>; - dwc3@f9200000 { - host-only-mode; - }; -}; - -&slim_msm { - taiko_codec { - qcom,cdc-micbias2-ext-cap; - qcom,cdc-micbias3-ext-cap; - }; -}; - -&pm8941_gpios { - gpio@c000 { /* GPIO 1 */ - qcom,mode = <0>; - qcom,pull = <0>; - qcom,vin-sel = <2>; - qcom,src-sel = <0>; - }; - - gpio@c100 { /* GPIO 2 */ - qcom,mode = <0>; - qcom,pull = <0>; - qcom,vin-sel = <2>; - qcom,src-sel = <0>; - }; - - gpio@c200 { /* GPIO 3 */ - }; - - gpio@c300 { /* GPIO 4 */ - }; - - gpio@c400 { /* GPIO 5 */ - qcom,mode = <0>; - qcom,pull = <0>; - qcom,vin-sel = <2>; - qcom,src-sel = <0>; - }; - - gpio@c500 { /* GPIO 6 */ - /* TUSB3_HUB-RESET */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,output-type = <0>; /* QPNP_PIN_OUT_BUF_CMOS */ - qcom,pull = <0>; /* QPNP_PIN_PULL_30 */ - qcom,vin-sel = <0>; /* QPNP_PIN_VIN0 VPH */ - qcom,out-strength = <2>; /* QPNP_PIN_OUT_STRENGTH_MED */ - qcom,src-sel = <0>; /* QPNP_PIN_SEL_FUNC_CONSTANT */ - qcom,invert = <1>; /* Keep it out of reset */ - qcom,master-en = <1>; - }; - - gpio@c600 { /* GPIO 7 */ - }; - - gpio@c700 { /* GPIO 8 */ - /* HSIC_HUB-RESET */ - qcom,mode = <1>; /* DIG_OUT */ - qcom,pull = <5>; /* PULL_NO */ - qcom,out-strength = <2>; /* STRENGTH_MED */ - qcom,master-en = <1>; - }; - - gpio@c800 { /* GPIO 9 */ - /* GbE_RST_N */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,output-type = <0>; /* QPNP_PIN_OUT_BUF_CMOS */ - qcom,pull = <0>; /* QPNP_PIN_PULL_30 */ - qcom,vin-sel = <0>; /* QPNP_PIN_VIN0 VPH */ - qcom,out-strength = <2>; /* QPNP_PIN_OUT_STRENGTH_MED */ - qcom,src-sel = <0>; /* QPNP_PIN_SEL_FUNC_CONSTANT */ - qcom,invert = <1>; /* Keep it out of reset */ - qcom,master-en = <1>; - }; - - gpio@c900 { /* GPIO 10 */ - /* SATA_RST_N */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,output-type = <0>; /* QPNP_PIN_OUT_BUF_CMOS */ - qcom,pull = <0>; /* QPNP_PIN_PULL_30 */ - qcom,vin-sel = <0>; /* QPNP_PIN_VIN0 VPH */ - qcom,out-strength = <2>; /* QPNP_PIN_OUT_STRENGTH_MED */ - qcom,src-sel = <0>; /* QPNP_PIN_SEL_FUNC_CONSTANT */ - qcom,invert = <1>; /* Keep it out of reset */ - qcom,master-en = <1>; - }; - - gpio@ca00 { /* GPIO 11 */ - }; - - gpio@cb00 { /* GPIO 12 */ - }; - - gpio@cc00 { /* GPIO 13 */ - }; - - gpio@cd00 { /* GPIO 14 */ - }; - - gpio@ce00 { /* GPIO 15 */ - qcom,mode = <1>; - qcom,output-type = <0>; - qcom,pull = <5>; - qcom,vin-sel = <2>; - qcom,out-strength = <3>; - qcom,src-sel = <2>; - qcom,master-en = <1>; - }; - - gpio@cf00 { /* GPIO 16 */ - }; - - gpio@d000 { /* GPIO 17 */ - }; - - gpio@d100 { /* GPIO 18 */ - }; - - gpio@d200 { /* GPIO 19 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,output-type = <0>; /* QPNP_PIN_OUT_BUF_CMOS */ - qcom,pull = <5>; /* QPNP_PIN_PULL_NO */ - qcom,vin-sel = <2>; /* QPNP_PIN_VIN2 */ - qcom,out-strength = <2>; /* QPNP_PIN_OUT_STRENGTH_MED */ - qcom,src-sel = <0>; /* QPNP_PIN_SEL_FUNC_CONSTANT */ - qcom,master-en = <1>; - }; - - gpio@d300 { /* GPIO 20 */ - }; - - gpio@d400 { /* GPIO 21 */ - }; - - gpio@d500 { /* GPIO 22 */ - }; - - gpio@d600 { /* GPIO 23 */ - }; - - gpio@d700 { /* GPIO 24 */ - }; - - gpio@d800 { /* GPIO 25 */ - }; - - gpio@d900 { /* GPIO 26 */ - }; - - gpio@da00 { /* GPIO 27 */ - }; - - gpio@db00 { /* GPIO 28 */ - }; - - gpio@dc00 { /* GPIO 29 */ - qcom,pull = <0>; /* set to default pull */ - qcom,master-en = <1>; - qcom,vin-sel = <2>; /* select 1.8 V source */ - }; - - gpio@dd00 { /* GPIO 30 */ - }; - - gpio@de00 { /* GPIO 31 */ - }; - - gpio@df00 { /* GPIO 32 */ - }; - - gpio@e000 { /* GPIO 33 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,output-type = <0>; /* QPNP_PIN_OUT_BUF_CMOS */ - qcom,pull = <5>; /* QPNP_PIN_PULL_NO */ - qcom,vin-sel = <2>; /* QPNP_PIN_VIN2 */ - qcom,out-strength = <2>; /* QPNP_PIN_OUT_STRENGTH_MED */ - qcom,src-sel = <0>; /* QPNP_PIN_SEL_FUNC_CONSTANT */ - qcom,invert = <1>; - qcom,master-en = <1>; - }; - - gpio@e100 { /* GPIO 34 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,output-type = <0>; /* QPNP_PIN_OUT_BUF_CMOS */ - qcom,pull = <5>; /* QPNP_PIN_PULL_NO */ - qcom,vin-sel = <2>; /* QPNP_PIN_VIN2 */ - qcom,out-strength = <2>; /* QPNP_PIN_OUT_STRENGTH_MED */ - qcom,src-sel = <0>; /* QPNP_PIN_SEL_FUNC_CONSTANT */ - qcom,invert = <0>; - qcom,master-en = <1>; - }; - - gpio@e200 { /* GPIO 35 */ - }; - - gpio@e300 { /* GPIO 36 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,output-type = <0>; /* QPNP_PIN_OUT_BUF_CMOS */ - qcom,pull = <5>; /* QPNP_PIN_PULL_NO */ - qcom,vin-sel = <2>; /* QPNP_PIN_VIN2 */ - qcom,out-strength = <3>; /* QPNP_PIN_OUT_STRENGTH_HIGH */ - qcom,src-sel = <3>; /* QPNP_PIN_SEL_FUNC_2 */ - qcom,master-en = <1>; - }; -}; - -&pm8941_mpps { - - mpp@a000 { /* MPP 1 */ - }; - - mpp@a100 { /* MPP 2 */ - }; - - mpp@a200 { /* MPP 3 */ - }; - - mpp@a300 { /* MPP 4 */ - }; - - mpp@a400 { /* MPP 5 */ - }; - - mpp@a500 { /* MPP 6 */ - }; - - mpp@a600 { /* MPP 7 */ - }; - - mpp@a700 { /* MPP 8 */ - }; -}; - -&pm8841_mpps { - - mpp@a000 { /* MPP 1 */ - }; - - mpp@a100 { /* MPP 2 */ - }; - - mpp@a200 { /* MPP 3*/ - }; - - mpp@a300 { /* MPP 4*/ - }; -}; - -&spi_epm { - epm-adc@0 { - compatible = "cy,epm-adc-cy8c5568lti-114"; - reg = <0>; - interrupt-parent = <&msmgpio>; - spi-max-frequency = <960000>; - qcom,channels = <31>; - qcom,gain = <50 50 50 50 50 100 50 50 50 50 - 50 50 50 50 100 50 50 50 50 100 - 50 50 50 100 50 50 50 1 1 1 - 1>; - qcom,rsense = <40 10 10 25 10 1000 75 25 10 25 - 33 500 200 10 500 100 33 200 25 100 - 75 500 50 200 5 5 3 1 1 1 - 1>; - qcom,channel-type = <0xf0000000>; - }; -}; - -&spmi_bus { - qcom,pm8941@1 { - qcom,leds@d000 { - qcom,rgb_2 { - status = "ok"; - qcom,default-state = "on"; - qcom,turn-off-delay-ms = <1000>; - }; - }; - - qcom,leds@d800 { - status = "okay"; - qcom,wled_0 { - label = "wled"; - linux,name = "wled:backlight"; - linux,default-trigger = "bkl-trigger"; - qcom,cs-out-en; - qcom,op-fdbck = <1>; - qcom,default-state = "on"; - qcom,max-current = <20>; - qcom,ctrl-delay-us = <0>; - qcom,boost-curr-lim = <3>; - qcom,cp-sel = <0>; - qcom,switch-freq = <2>; - qcom,ovp-val = <1>; - qcom,num-strings = <1>; - qcom,id = <0>; - }; - }; - }; -}; - -&pm8941_chg { - status = "ok"; - - qcom,charging-disabled; - - qcom,chgr@1000 { - status = "ok"; - }; - - qcom,buck@1100 { - status = "ok"; - }; - - qcom,usb-chgpth@1300 { - status = "ok"; - }; - - qcom,dc-chgpth@1400 { - status = "ok"; - }; - - qcom,boost@1500 { - status = "ok"; - }; - - qcom,chg-misc@1600 { - status = "ok"; - }; -}; - -&sdhc_1 { - vdd-supply = <&pm8941_l20>; - vdd-io-supply = <&pm8941_s3>; - - qcom,vdd-always-on; - qcom,vdd-lpm-sup; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <800 500000>; - - qcom,vdd-io-always-on; - qcom,vdd-io-voltage-level = <1800000 1800000>; - qcom,vdd-io-current-level = <250 154000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,nonremovable; - status = "ok"; -}; - -&sdhc_2 { - #address-cells = <0>; - interrupt-parent = <&sdhc_2>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 125 0 - 1 &intc 0 221 0 - 2 &msmgpio 62 0x3>; - interrupt-names = "hc_irq", "pwr_irq", "status_irq"; - cd-gpios = <&msmgpio 62 0x1>; - - vdd-supply = <&pm8941_l21>; - vdd-io-supply = <&pm8941_l13>; - - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <9000 800000>; - - qcom,vdd-io-voltage-level = <1800000 2950000>; - qcom,vdd-io-current-level = <6 22000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - status = "ok"; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/apq8074-v1.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v1/apq8074-v1.dtsi deleted file mode 100644 index c4e7b7c3c..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/apq8074-v1.dtsi +++ /dev/null @@ -1,48 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/* - * As a general rule, only version-specific property overrides should be placed - * inside this file. However, device definitions should be placed inside the - * msm8974.dtsi file. - */ - -/include/ "msm8974-v1.dtsi" - -&soc { - qcom,qseecom@a700000 { - compatible = "qcom,qseecom"; - reg = <0x0a700000 0x500000>; - reg-names = "secapp-region"; - qcom,disk-encrypt-pipe-pair = <2>; - qcom,hlos-ce-hw-instance = <1>; - qcom,qsee-ce-hw-instance = <0>; - qcom,msm-bus,name = "qseecom-noc"; - qcom,msm-bus,num-cases = <4>; - qcom,msm-bus,active-only = <0>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <55 512 0 0>, - <55 512 3936000 393600>, - <55 512 3936000 393600>, - <55 512 3936000 393600>; - }; -}; - -&memory_hole { - qcom,memblock-remove = <0x0a700000 0x5800000>; /* Address and size of the hole */ -}; - -&qseecom { - status = "disabled"; -}; - diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/apq8074-v2-dragonboard.dts b/kernel/arch/arm/boot/dts/tr961-5200l-v1/apq8074-v2-dragonboard.dts deleted file mode 100644 index 5a6f5f3bf..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/apq8074-v2-dragonboard.dts +++ /dev/null @@ -1,22 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; - -/include/ "apq8074-v2.dtsi" -/include/ "apq8074-dragonboard.dtsi" - -/ { - model = "Qualcomm APQ 8074v2 DRAGONBOARD"; - compatible = "qcom,apq8074-dragonboard", "qcom,apq8074", "qcom,dragonboard"; - qcom,msm-id = <184 10 0x20000>; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/apq8074-v2-liquid.dts b/kernel/arch/arm/boot/dts/tr961-5200l-v1/apq8074-v2-liquid.dts deleted file mode 100644 index 4ec1cdd17..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/apq8074-v2-liquid.dts +++ /dev/null @@ -1,34 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; - -/include/ "apq8074-v2.dtsi" -/include/ "msm8974-liquid.dtsi" - -/ { - model = "Qualcomm APQ 8074v2 LIQUID"; - compatible = "qcom,apq8074-liquid", "qcom,apq8074", "qcom,liquid"; - qcom,msm-id = <184 9 0x20000>; -}; - -&usb3 { - interrupt-parent = <&usb3>; - interrupts = <0 1>; - #interrupt-cells = <1>; - interrupt-map-mask = <0x0 0xffffffff>; - interrupt-map = <0x0 0 &intc 0 133 0 - 0x0 1 &spmi_bus 0x0 0x0 0x9 0x0>; - interrupt-names = "hs_phy_irq", "pmic_id_irq"; - - qcom,misc-ref = <&pm8941_misc>; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/apq8074-v2.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v1/apq8074-v2.dtsi deleted file mode 100644 index 76eb14b96..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/apq8074-v2.dtsi +++ /dev/null @@ -1,52 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/* - * As a general rule, only version-specific property overrides should be placed - * inside this file. However, device definitions should be placed inside the - * msm8974.dtsi file. - */ - -/include/ "msm8974-v2.dtsi" - -&soc { - qcom,qseecom@a700000 { - compatible = "qcom,qseecom"; - reg = <0x0a700000 0x500000>; - reg-names = "secapp-region"; - qcom,disk-encrypt-pipe-pair = <2>; - qcom,hlos-ce-hw-instance = <1>; - qcom,qsee-ce-hw-instance = <0>; - qcom,msm-bus,name = "qseecom-noc"; - qcom,msm-bus,num-cases = <4>; - qcom,msm-bus,active-only = <0>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <55 512 0 0>, - <55 512 3936000 393600>, - <55 512 3936000 393600>, - <55 512 3936000 393600>; - }; - - sound { - compatible = "qcom,apq8074-audio-taiko"; - }; -}; - -&memory_hole { - qcom,memblock-remove = <0x0a700000 0x5800000>; /* Address and size of the hole */ -}; - -&qseecom { - status = "disabled"; -}; - diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/apq8084-ion.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v1/apq8084-ion.dtsi deleted file mode 100644 index ea954b89c..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/apq8084-ion.dtsi +++ /dev/null @@ -1,31 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -&soc { - qcom,ion { - compatible = "qcom,msm-ion"; - #address-cells = <1>; - #size-cells = <0>; - - qcom,ion-heap@30 { /* SYSTEM HEAP */ - reg = <30>; - }; - - qcom,ion-heap@21 { /* SYSTEM CONTIG HEAP */ - reg = <21>; - }; - - qcom,ion-heap@25 { /* IOMMU HEAP */ - reg = <25>; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/apq8084-regulator.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v1/apq8084-regulator.dtsi deleted file mode 100644 index 998b46906..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/apq8084-regulator.dtsi +++ /dev/null @@ -1,377 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - - -/* QPNP controlled regulators: */ - -&spmi_bus { - qcom,pma8084@1 { - pma8084_s1: regulator@1400 { - regulator-min-microvolt = <1050000>; - regulator-max-microvolt = <1050000>; - qcom,enable-time = <500>; - qcom,pull-down-enable = <1>; - regulator-always-on; - qcom,system-load = <100000>; - status = "okay"; - }; - - /* PMA8084 S2 + S12 = 2 phase VDD_CX supply */ - pma8084_s2: regulator@1700 { - regulator-min-microvolt = <1050000>; - regulator-max-microvolt = <1050000>; - qcom,enable-time = <500>; - qcom,pull-down-enable = <1>; - regulator-always-on; - qcom,system-load = <100000>; - status = "okay"; - }; - - pma8084_s3: regulator@1a00 { - regulator-min-microvolt = <1300000>; - regulator-max-microvolt = <1300000>; - qcom,enable-time = <500>; - qcom,pull-down-enable = <1>; - regulator-always-on; - qcom,system-load = <100000>; - status = "okay"; - }; - - pma8084_s4: regulator@1d00 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,enable-time = <500>; - qcom,pull-down-enable = <1>; - regulator-always-on; - qcom,system-load = <100000>; - status = "okay"; - }; - - pma8084_s5: regulator@2000 { - regulator-min-microvolt = <2150000>; - regulator-max-microvolt = <2150000>; - qcom,enable-time = <500>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - /* PMA8084 S6 + S7 = 2 phase VDD_GFX supply */ - pma8084_s6: regulator@2300 { - regulator-min-microvolt = <815000>; - regulator-max-microvolt = <900000>; - qcom,enable-time = <500>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - /* PMA8084 S8 + S9 + S10 + S11 = 4 phase VDD_APC supply */ - pma8084_s8: regulator@2900 { - regulator-min-microvolt = <500000>; - regulator-max-microvolt = <1100000>; - qcom,enable-time = <500>; - qcom,pull-down-enable = <1>; - regulator-always-on; - qcom,system-load = <100000>; - status = "okay"; - }; - - /* Output of PMA8084 L1 and L11 is tied together. */ - pma8084_l1: regulator@4000 { - parent-supply = <&pma8084_s3>; - regulator-min-microvolt = <1225000>; - regulator-max-microvolt = <1225000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - regulator-always-on; - qcom,system-load = <10000>; - status = "okay"; - }; - - pma8084_l2: regulator@4100 { - parent-supply = <&pma8084_s3>; - regulator-min-microvolt = <1200000>; - regulator-max-microvolt = <1200000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l3: regulator@4200 { - parent-supply = <&pma8084_s3>; - regulator-min-microvolt = <1225000>; - regulator-max-microvolt = <1225000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l4: regulator@4300 { - parent-supply = <&pma8084_s3>; - regulator-min-microvolt = <1000000>; - regulator-max-microvolt = <1000000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l6: regulator@4500 { - parent-supply = <&pma8084_s5>; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l8: regulator@4700 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l9: regulator@4800 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l10: regulator@4900 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l12: regulator@4b00 { - parent-supply = <&pma8084_s5>; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l13: regulator@4c00 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <2950000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l14: regulator@4d00 { - parent-supply = <&pma8084_s5>; - regulator-min-microvolt = <1225000>; - regulator-max-microvolt = <1225000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l15: regulator@4e00 { - parent-supply = <&pma8084_s5>; - regulator-min-microvolt = <1200000>; - regulator-max-microvolt = <1200000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l16: regulator@4f00 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l17: regulator@5000 { - regulator-min-microvolt = <2800000>; - regulator-max-microvolt = <2800000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l18: regulator@5100 { - regulator-min-microvolt = <2850000>; - regulator-max-microvolt = <2850000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l19: regulator@5200 { - regulator-min-microvolt = <2950000>; - regulator-max-microvolt = <2950000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l20: regulator@5300 { - regulator-min-microvolt = <2950000>; - regulator-max-microvolt = <2950000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l21: regulator@5400 { - regulator-min-microvolt = <2950000>; - regulator-max-microvolt = <2950000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l22: regulator@5500 { - regulator-min-microvolt = <3000000>; - regulator-max-microvolt = <3000000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l23: regulator@5600 { - regulator-min-microvolt = <2700000>; - regulator-max-microvolt = <2700000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l24: regulator@5700 { - regulator-min-microvolt = <3075000>; - regulator-max-microvolt = <3075000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l25: regulator@5800 { - regulator-min-microvolt = <2100000>; - regulator-max-microvolt = <2100000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l26: regulator@5900 { - parent-supply = <&pma8084_s5>; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l27: regulator@5a00 { - parent-supply = <&pma8084_s3>; - regulator-min-microvolt = <1050000>; - regulator-max-microvolt = <1050000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_lvs1: regulator@8000 { - parent-supply = <&pma8084_s4>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_lvs2: regulator@8100 { - parent-supply = <&pma8084_s4>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_lvs3: regulator@8200 { - parent-supply = <&pma8084_s4>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_lvs4: regulator@8300 { - parent-supply = <&pma8084_s4>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_mvs1: regulator@8400 { - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - }; -}; - -&rpm_bus { - rpm-regulator-smpb1 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "smpb"; - qcom,resource-id = <1>; - qcom,regulator-type = <1>; - qcom,hpm-min-load = <100000>; - - pma8084_s1_ao: regulator-s1-ao { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8084_s1_ao"; - qcom,set = <1>; - regulator-min-microvolt = <675000>; - regulator-max-microvolt = <1050000>; - }; - }; - - rpm-regulator-smpb2 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "smpb"; - qcom,resource-id = <2>; - qcom,regulator-type = <1>; - qcom,hpm-min-load = <100000>; - - pma8084_s2_corner_ao: regulator-s2-corner-ao { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8084_s2_corner_ao"; - qcom,set = <1>; - regulator-min-microvolt = <1>; - regulator-max-microvolt = <7>; - qcom,use-voltage-corner; - }; - }; - - rpm-regulator-ldoa12 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <12>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - - pma8084_l12_ao: regulator-l12-ao { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8084_l12_ao"; - qcom,set = <1>; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/apq8084-sim.dts b/kernel/arch/arm/boot/dts/tr961-5200l-v1/apq8084-sim.dts deleted file mode 100644 index e206d4dd0..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/apq8084-sim.dts +++ /dev/null @@ -1,173 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; - -/include/ "apq8084.dtsi" - -/ { - model = "Qualcomm APQ 8084 Simulator"; - compatible = "qcom,apq8084-sim", "qcom,apq8084", "qcom,sim"; - qcom,msm-id = <178 0 0>; - - aliases { - serial0 = &uart0; - }; -}; - -&soc { - uart0: serial@f991f000 { - status = "ok"; - }; -}; - -&sdcc1 { - qcom,vdd-always-on; - qcom,vdd-lpm-sup; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <800 500000>; - - qcom,vdd-io-always-on; - qcom,vdd-io-voltage-level = <1800000 1800000>; - qcom,vdd-io-current-level = <250 154000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 20000000 25000000 50000000 100000000 200000000>; - qcom,sup-voltages = <2950 2950>; - qcom,nonremovable; - qcom,bus-speed-mode = "HS200_1p8v", "DDR_1p8v"; - - status = "ok"; -}; - -&sdcc2 { - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <9000 800000>; - qcom,vdd-io-voltage-level = <1800000 2950000>; - qcom,vdd-io-current-level = <6 22000>; - qcom,vdd-io-lpm-sup; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 20000000 25000000 50000000 100000000 200000000>; - qcom,sup-voltages = <2950 2950>; - qcom,xpc; - qcom,bus-speed-mode = "SDR12", "SDR25", "SDR50", "DDR50", "SDR104"; - qcom,current-limit = <800>; - - status = "ok"; -}; - -&pma8084_gpios { - gpio@c000 { /* GPIO 1 */ - }; - - gpio@c100 { /* GPIO 2 */ - }; - - gpio@c200 { /* GPIO 3 */ - }; - - gpio@c300 { /* GPIO 4 */ - }; - - gpio@c400 { /* GPIO 5 */ - }; - - gpio@c500 { /* GPIO 6 */ - }; - - gpio@c600 { /* GPIO 7 */ - }; - - gpio@c700 { /* GPIO 8 */ - }; - - gpio@c800 { /* GPIO 9 */ - }; - - gpio@c900 { /* GPIO 10 */ - }; - - gpio@ca00 { /* GPIO 11 */ - }; - - gpio@cb00 { /* GPIO 12 */ - }; - - gpio@cc00 { /* GPIO 13 */ - }; - - gpio@cd00 { /* GPIO 14 */ - }; - - gpio@ce00 { /* GPIO 15 */ - }; - - gpio@cf00 { /* GPIO 16 */ - }; - - gpio@d000 { /* GPIO 17 */ - }; - - gpio@d100 { /* GPIO 18 */ - }; - - gpio@d200 { /* GPIO 19 */ - }; - - gpio@d300 { /* GPIO 20 */ - }; - - gpio@d400 { /* GPIO 21 */ - }; - - gpio@d500 { /* GPIO 22 */ - }; -}; - -&pma8084_mpps { - mpp@a000 { /* MPP 1 */ - }; - - mpp@a100 { /* MPP 2 */ - }; - - mpp@a200 { /* MPP 3 */ - }; - - mpp@a300 { /* MPP 4 */ - }; - - mpp@a400 { /* MPP 5 */ - }; - - mpp@a500 { /* MPP 6 */ - }; - - mpp@a600 { /* MPP 7 */ - }; - - mpp@a700 { /* MPP 8 */ - }; -}; - -&usb3 { - qcom,skip-charger-detection; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/apq8084-smp2p.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v1/apq8084-smp2p.dtsi deleted file mode 100644 index b1d21ffd7..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/apq8084-smp2p.dtsi +++ /dev/null @@ -1,82 +0,0 @@ -/* Copyright (c) 2013, 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. - */ -&soc { - qcom,smp2p-adsp { - compatible = "qcom,smp2p"; - reg = <0xf9011008 0x4>; - qcom,remote-pid = <2>; - qcom,irq-bitmask = <0x400>; - interrupts = <0 158 1>; - }; - - smp2pgpio_smp2p_7_in: qcom,smp2pgpio-smp2p-7-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <7>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_7_in { - compatible = "qcom,smp2pgpio_test_smp2p_7_in"; - gpios = <&smp2pgpio_smp2p_7_in 0 0>; - }; - - smp2pgpio_smp2p_7_out: qcom,smp2pgpio-smp2p-7-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <7>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_7_out { - compatible = "qcom,smp2pgpio_test_smp2p_7_out"; - gpios = <&smp2pgpio_smp2p_7_out 0 0>; - }; - - smp2pgpio_smp2p_2_in: qcom,smp2pgpio-smp2p-2-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <2>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_2_in { - compatible = "qcom,smp2pgpio_test_smp2p_2_in"; - gpios = <&smp2pgpio_smp2p_2_in 0 0>; - }; - - smp2pgpio_smp2p_2_out: qcom,smp2pgpio-smp2p-2-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <2>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_2_out { - compatible = "qcom,smp2pgpio_test_smp2p_2_out"; - gpios = <&smp2pgpio_smp2p_2_out 0 0>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/apq8084.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v1/apq8084.dtsi deleted file mode 100644 index b39f5690a..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/apq8084.dtsi +++ /dev/null @@ -1,276 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/include/ "skeleton64.dtsi" - -/ { - model = "Qualcomm APQ 8084"; - compatible = "qcom,apq8084"; - interrupt-parent = <&intc>; - soc: soc { }; -}; - -/include/ "apq8084-ion.dtsi" -/include/ "apq8084-smp2p.dtsi" - -&soc { - #address-cells = <1>; - #size-cells = <1>; - ranges = <0 0 0 0xffffffff>; - - intc: interrupt-controller@f9000000 { - compatible = "qcom,msm-qgic2"; - interrupt-controller; - #interrupt-cells = <3>; - reg = <0xF9000000 0x1000>, - <0xF9002000 0x1000>; - }; - - msmgpio: gpio@fd510000 { - compatible = "qcom,msm-gpio"; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - reg = <0xfd510000 0x4000>; - ngpio = <146>; - interrupts = <0 208 0>; - qcom,direct-connect-irqs = <8>; - }; - - timer { - compatible = "arm,armv7-timer"; - interrupts = <1 2 0 1 3 0>; - clock-frequency = <19200000>; - }; - - serial@f991f000 { - compatible = "qcom,msm-lsuart-v14"; - reg = <0xf991f000 0x1000>; - interrupts = <0 109 0>; - status = "disabled"; - }; - - qcom,cache_erp { - compatible = "qcom,cache_erp"; - interrupts = <1 9 0>, <0 2 0>; - interrupt-names = "l1_irq", "l2_irq"; - }; - - qcom,cache_dump { - compatible = "qcom,cache_dump"; - qcom,l1-dump-size = <0x100000>; - qcom,l2-dump-size = <0x500000>; - qcom,memory-reservation-type = "EBI1"; - qcom,memory-reservation-size = <0x600000>; /* 6M EBI1 buffer */ - }; - - rpm_bus: qcom,rpm-smd { - compatible = "qcom,rpm-smd"; - rpm-channel-name = "rpm_requests"; - rpm-channel-type = <15>; /* SMD_APPS_RPM */ - rpm-standalone; - }; - - qcom,msm-imem@fe805000 { - compatible = "qcom,msm-imem"; - reg = <0xfe805000 0x1000>; /* Address and size of IMEM */ - }; - - qcom,msm-rtb { - compatible = "qcom,msm-rtb"; - qcom,memory-reservation-type = "EBI1"; - qcom,memory-reservation-size = <0x100000>; /* 1M EBI1 buffer */ - }; - - sdcc1: qcom,sdcc@f9824000 { - cell-index = <1>; /* SDC1 eMMC slot */ - compatible = "qcom,msm-sdcc"; - reg = <0xf9824000 0x800>; - reg-names = "core_mem"; - interrupts = <0 123 0>; - interrupt-names = "core_irq"; - - qcom,bus-width = <8>; - status = "disabled"; - }; - - sdcc2: qcom,sdcc@f98a4000 { - cell-index = <2>; /* SDC2 SD card slot */ - compatible = "qcom,msm-sdcc"; - reg = <0xf98a4000 0x800>; - reg-names = "core_mem"; - interrupts = <0 125 0>; - interrupt-names = "core_irq"; - - - qcom,bus-width = <4>; - status = "disabled"; - }; - - qcom,sps@f9980000 { - compatible = "qcom,msm_sps"; - reg = <0xf9984000 0x15000>, - <0xf9999000 0xb000>; - interrupts = <0 94 0>; - qcom,pipe-attr-ee; - }; - - spmi_bus: qcom,spmi@fc4c0000 { - cell-index = <0>; - 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,not-wakeup; - qcom,pmic-arb-ee = <0>; - qcom,pmic-arb-channel = <0>; - #address-cells = <1>; - #size-cells = <0>; - interrupt-controller; - #interrupt-cells = <3>; - }; - - i2c_0: i2c@f9925000 { /* BLSP1 QUP3 */ - cell-index = <0>; - compatible = "qcom,i2c-qup"; - #address-cells = <1>; - #size-cells = <0>; - reg-names = "qup_phys_addr"; - reg = <0xf9925000 0x1000>; - interrupt-names = "qup_err_intr"; - interrupts = <0 97 0>; - qcom,i2c-bus-freq = <100000>; - qcom,i2c-src-freq = <50000000>; - qcom,sda-gpio = <&msmgpio 10 0>; - qcom,scl-gpio = <&msmgpio 11 0>; - }; - - usb3: qcom,ssusb@f9200000 { - compatible = "qcom,dwc-usb3-msm"; - reg = <0xf9200000 0xfc000>, - <0xfd4ab000 0x4>; - #address-cells = <1>; - #size-cells = <1>; - ranges; - interrupts = <0 133 0>; - interrupt-names = "hs_phy_irq"; - ssusb_vdd_dig-supply = <&pma8084_s1>; - SSUSB_1p8-supply = <&pma8084_l6>; - hsusb_vdd_dig-supply = <&pma8084_s1>; - HSUSB_1p8-supply = <&pma8084_l6>; - HSUSB_3p3-supply = <&pma8084_l24>; - qcom,dwc-usb3-msm-dbm-eps = <4>; - qcom,vdd-voltage-level = <0 900000 1050000>; - - dwc3@f9200000 { - compatible = "synopsys,dwc3"; - reg = <0xf9200000 0xfc000>; - interrupt-parent = <&intc>; - interrupts = <0 131 0>, <0 179 0>; - interrupt-names = "irq", "otg_irq"; - tx-fifo-resize; - }; - }; - - android_usb { - compatible = "qcom,android-usb"; - }; - - 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>; - - partition@0 { - reg = <0x0 0x180000>; - qcom,ocmem-part-name = "graphics"; - qcom,ocmem-part-min = <0x80000>; - }; - - partition@80000 { - reg = <0x180000 0x80000>; - qcom,ocmem-part-name = "lp_audio"; - qcom,ocmem-part-min = <0x80000>; - }; - - partition@100000 { - reg = <0x180000 0x80000>; - qcom,ocmem-part-name = "video"; - qcom,ocmem-part-min = <0x55000>; - }; - - }; - - memory_hole: qcom,msm-mem-hole { - compatible = "qcom,msm-mem-hole"; - qcom,memblock-remove = <0x0dc00000 0x2000000>; /* Address and Size of Hole */ - }; - - qcom,ipc-spinlock@fd484000 { - compatible = "qcom,ipc-spinlock-sfpb"; - reg = <0xfd484000 0x400>; - qcom,num-locks = <8>; - }; - - qcom,smem@fa00000 { - compatible = "qcom,smem"; - reg = <0xfa00000 0x200000>, - <0xf9011000 0x1000>, - <0xfc428000 0x4000>; - reg-names = "smem", "irq-reg-base", "aux-mem1"; - - qcom,smd-adsp { - compatible = "qcom,smd"; - qcom,smd-edge = <1>; - qcom,smd-irq-offset = <0x8>; - qcom,smd-irq-bitmask = <0x100>; - qcom,pil-string = "adsp"; - interrupts = <0 156 1>; - }; - - qcom,smsm-adsp { - compatible = "qcom,smsm"; - qcom,smsm-edge = <1>; - qcom,smsm-irq-offset = <0x8>; - qcom,smsm-irq-bitmask = <0x200>; - interrupts = <0 157 1>; - }; - - qcom,smd-rpm { - compatible = "qcom,smd"; - qcom,smd-edge = <15>; - qcom,smd-irq-offset = <0x8>; - qcom,smd-irq-bitmask = <0x1>; - interrupts = <0 168 1>; - qcom,irq-no-suspend; - }; - }; -}; - -/include/ "msm-pma8084.dtsi" -/include/ "apq8084-regulator.dtsi" diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/at91sam9g20.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v1/at91sam9g20.dtsi deleted file mode 100644 index 773ef4840..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/at91sam9g20.dtsi +++ /dev/null @@ -1,238 +0,0 @@ -/* - * at91sam9g20.dtsi - Device Tree Include file for AT91SAM9G20 family SoC - * - * Copyright (C) 2011 Atmel, - * 2011 Nicolas Ferre , - * 2011 Jean-Christophe PLAGNIOL-VILLARD - * - * Licensed under GPLv2 or later. - */ - -/include/ "skeleton.dtsi" - -/ { - model = "Atmel AT91SAM9G20 family SoC"; - compatible = "atmel,at91sam9g20"; - interrupt-parent = <&aic>; - - aliases { - serial0 = &dbgu; - serial1 = &usart0; - serial2 = &usart1; - serial3 = &usart2; - serial4 = &usart3; - serial5 = &usart4; - serial6 = &usart5; - gpio0 = &pioA; - gpio1 = &pioB; - gpio2 = &pioC; - tcb0 = &tcb0; - tcb1 = &tcb1; - }; - cpus { - cpu@0 { - compatible = "arm,arm926ejs"; - }; - }; - - memory { - reg = <0x20000000 0x08000000>; - }; - - ahb { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - - apb { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - - aic: interrupt-controller@fffff000 { - #interrupt-cells = <2>; - compatible = "atmel,at91rm9200-aic"; - interrupt-controller; - reg = <0xfffff000 0x200>; - }; - - ramc0: ramc@ffffea00 { - compatible = "atmel,at91sam9260-sdramc"; - reg = <0xffffea00 0x200>; - }; - - pmc: pmc@fffffc00 { - compatible = "atmel,at91rm9200-pmc"; - reg = <0xfffffc00 0x100>; - }; - - rstc@fffffd00 { - compatible = "atmel,at91sam9260-rstc"; - reg = <0xfffffd00 0x10>; - }; - - shdwc@fffffd10 { - compatible = "atmel,at91sam9260-shdwc"; - reg = <0xfffffd10 0x10>; - }; - - pit: timer@fffffd30 { - compatible = "atmel,at91sam9260-pit"; - reg = <0xfffffd30 0xf>; - interrupts = <1 4>; - }; - - tcb0: timer@fffa0000 { - compatible = "atmel,at91rm9200-tcb"; - reg = <0xfffa0000 0x100>; - interrupts = <17 4 18 4 19 4>; - }; - - tcb1: timer@fffdc000 { - compatible = "atmel,at91rm9200-tcb"; - reg = <0xfffdc000 0x100>; - interrupts = <26 4 27 4 28 4>; - }; - - pioA: gpio@fffff400 { - compatible = "atmel,at91rm9200-gpio"; - reg = <0xfffff400 0x100>; - interrupts = <2 4>; - #gpio-cells = <2>; - gpio-controller; - interrupt-controller; - }; - - pioB: gpio@fffff600 { - compatible = "atmel,at91rm9200-gpio"; - reg = <0xfffff600 0x100>; - interrupts = <3 4>; - #gpio-cells = <2>; - gpio-controller; - interrupt-controller; - }; - - pioC: gpio@fffff800 { - compatible = "atmel,at91rm9200-gpio"; - reg = <0xfffff800 0x100>; - interrupts = <4 4>; - #gpio-cells = <2>; - gpio-controller; - interrupt-controller; - }; - - dbgu: serial@fffff200 { - compatible = "atmel,at91sam9260-usart"; - reg = <0xfffff200 0x200>; - interrupts = <1 4>; - status = "disabled"; - }; - - usart0: serial@fffb0000 { - compatible = "atmel,at91sam9260-usart"; - reg = <0xfffb0000 0x200>; - interrupts = <6 4>; - atmel,use-dma-rx; - atmel,use-dma-tx; - status = "disabled"; - }; - - usart1: serial@fffb4000 { - compatible = "atmel,at91sam9260-usart"; - reg = <0xfffb4000 0x200>; - interrupts = <7 4>; - atmel,use-dma-rx; - atmel,use-dma-tx; - status = "disabled"; - }; - - usart2: serial@fffb8000 { - compatible = "atmel,at91sam9260-usart"; - reg = <0xfffb8000 0x200>; - interrupts = <8 4>; - atmel,use-dma-rx; - atmel,use-dma-tx; - status = "disabled"; - }; - - usart3: serial@fffd0000 { - compatible = "atmel,at91sam9260-usart"; - reg = <0xfffd0000 0x200>; - interrupts = <23 4>; - atmel,use-dma-rx; - atmel,use-dma-tx; - status = "disabled"; - }; - - usart4: serial@fffd4000 { - compatible = "atmel,at91sam9260-usart"; - reg = <0xfffd4000 0x200>; - interrupts = <24 4>; - atmel,use-dma-rx; - atmel,use-dma-tx; - status = "disabled"; - }; - - usart5: serial@fffd8000 { - compatible = "atmel,at91sam9260-usart"; - reg = <0xfffd8000 0x200>; - interrupts = <25 4>; - atmel,use-dma-rx; - atmel,use-dma-tx; - status = "disabled"; - }; - - macb0: ethernet@fffc4000 { - compatible = "cdns,at32ap7000-macb", "cdns,macb"; - reg = <0xfffc4000 0x100>; - interrupts = <21 4>; - status = "disabled"; - }; - - usb1: gadget@fffa4000 { - compatible = "atmel,at91rm9200-udc"; - reg = <0xfffa4000 0x4000>; - interrupts = <10 4>; - status = "disabled"; - }; - }; - - nand0: nand@40000000 { - compatible = "atmel,at91rm9200-nand"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0x40000000 0x10000000 - 0xffffe800 0x200 - >; - atmel,nand-addr-offset = <21>; - atmel,nand-cmd-offset = <22>; - gpios = <&pioC 13 0 - &pioC 14 0 - 0 - >; - status = "disabled"; - }; - - usb0: ohci@00500000 { - compatible = "atmel,at91rm9200-ohci", "usb-ohci"; - reg = <0x00500000 0x100000>; - interrupts = <20 4>; - status = "disabled"; - }; - }; - - i2c@0 { - compatible = "i2c-gpio"; - gpios = <&pioA 23 0 /* sda */ - &pioA 24 0 /* scl */ - >; - i2c-gpio,sda-open-drain; - i2c-gpio,scl-open-drain; - i2c-gpio,delay-us = <2>; /* ~100 kHz */ - #address-cells = <1>; - #size-cells = <0>; - status = "disabled"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/at91sam9g25ek.dts b/kernel/arch/arm/boot/dts/tr961-5200l-v1/at91sam9g25ek.dts deleted file mode 100644 index 7829a4d0c..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/at91sam9g25ek.dts +++ /dev/null @@ -1,49 +0,0 @@ -/* - * at91sam9g25ek.dts - Device Tree file for AT91SAM9G25-EK board - * - * Copyright (C) 2012 Atmel, - * 2012 Nicolas Ferre - * - * Licensed under GPLv2 or later. - */ -/dts-v1/; -/include/ "at91sam9x5.dtsi" -/include/ "at91sam9x5cm.dtsi" - -/ { - model = "Atmel AT91SAM9G25-EK"; - compatible = "atmel,at91sam9g25ek", "atmel,at91sam9x5ek", "atmel,at91sam9x5", "atmel,at91sam9"; - - chosen { - bootargs = "128M console=ttyS0,115200 root=/dev/mtdblock1 rw rootfstype=ubifs ubi.mtd=1 root=ubi0:rootfs"; - }; - - ahb { - apb { - dbgu: serial@fffff200 { - status = "okay"; - }; - - usart0: serial@f801c000 { - status = "okay"; - }; - - macb0: ethernet@f802c000 { - phy-mode = "rmii"; - status = "okay"; - }; - }; - - usb0: ohci@00600000 { - status = "okay"; - num-ports = <2>; - atmel,vbus-gpio = <&pioD 19 1 - &pioD 20 1 - >; - }; - - usb1: ehci@00700000 { - status = "okay"; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/at91sam9g45.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v1/at91sam9g45.dtsi deleted file mode 100644 index c8042147e..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/at91sam9g45.dtsi +++ /dev/null @@ -1,247 +0,0 @@ -/* - * at91sam9g45.dtsi - Device Tree Include file for AT91SAM9G45 family SoC - * applies to AT91SAM9G45, AT91SAM9M10, - * AT91SAM9G46, AT91SAM9M11 SoC - * - * Copyright (C) 2011 Atmel, - * 2011 Nicolas Ferre - * - * Licensed under GPLv2 or later. - */ - -/include/ "skeleton.dtsi" - -/ { - model = "Atmel AT91SAM9G45 family SoC"; - compatible = "atmel,at91sam9g45"; - interrupt-parent = <&aic>; - - aliases { - serial0 = &dbgu; - serial1 = &usart0; - serial2 = &usart1; - serial3 = &usart2; - serial4 = &usart3; - gpio0 = &pioA; - gpio1 = &pioB; - gpio2 = &pioC; - gpio3 = &pioD; - gpio4 = &pioE; - tcb0 = &tcb0; - tcb1 = &tcb1; - }; - cpus { - cpu@0 { - compatible = "arm,arm926ejs"; - }; - }; - - memory { - reg = <0x70000000 0x10000000>; - }; - - ahb { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - - apb { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - - aic: interrupt-controller@fffff000 { - #interrupt-cells = <2>; - compatible = "atmel,at91rm9200-aic"; - interrupt-controller; - reg = <0xfffff000 0x200>; - }; - - ramc0: ramc@ffffe400 { - compatible = "atmel,at91sam9g45-ddramc"; - reg = <0xffffe400 0x200 - 0xffffe600 0x200>; - }; - - pmc: pmc@fffffc00 { - compatible = "atmel,at91rm9200-pmc"; - reg = <0xfffffc00 0x100>; - }; - - rstc@fffffd00 { - compatible = "atmel,at91sam9g45-rstc"; - reg = <0xfffffd00 0x10>; - }; - - pit: timer@fffffd30 { - compatible = "atmel,at91sam9260-pit"; - reg = <0xfffffd30 0xf>; - interrupts = <1 4>; - }; - - - shdwc@fffffd10 { - compatible = "atmel,at91sam9rl-shdwc"; - reg = <0xfffffd10 0x10>; - }; - - tcb0: timer@fff7c000 { - compatible = "atmel,at91rm9200-tcb"; - reg = <0xfff7c000 0x100>; - interrupts = <18 4>; - }; - - tcb1: timer@fffd4000 { - compatible = "atmel,at91rm9200-tcb"; - reg = <0xfffd4000 0x100>; - interrupts = <18 4>; - }; - - dma: dma-controller@ffffec00 { - compatible = "atmel,at91sam9g45-dma"; - reg = <0xffffec00 0x200>; - interrupts = <21 4>; - }; - - pioA: gpio@fffff200 { - compatible = "atmel,at91rm9200-gpio"; - reg = <0xfffff200 0x100>; - interrupts = <2 4>; - #gpio-cells = <2>; - gpio-controller; - interrupt-controller; - }; - - pioB: gpio@fffff400 { - compatible = "atmel,at91rm9200-gpio"; - reg = <0xfffff400 0x100>; - interrupts = <3 4>; - #gpio-cells = <2>; - gpio-controller; - interrupt-controller; - }; - - pioC: gpio@fffff600 { - compatible = "atmel,at91rm9200-gpio"; - reg = <0xfffff600 0x100>; - interrupts = <4 4>; - #gpio-cells = <2>; - gpio-controller; - interrupt-controller; - }; - - pioD: gpio@fffff800 { - compatible = "atmel,at91rm9200-gpio"; - reg = <0xfffff800 0x100>; - interrupts = <5 4>; - #gpio-cells = <2>; - gpio-controller; - interrupt-controller; - }; - - pioE: gpio@fffffa00 { - compatible = "atmel,at91rm9200-gpio"; - reg = <0xfffffa00 0x100>; - interrupts = <5 4>; - #gpio-cells = <2>; - gpio-controller; - interrupt-controller; - }; - - dbgu: serial@ffffee00 { - compatible = "atmel,at91sam9260-usart"; - reg = <0xffffee00 0x200>; - interrupts = <1 4>; - status = "disabled"; - }; - - usart0: serial@fff8c000 { - compatible = "atmel,at91sam9260-usart"; - reg = <0xfff8c000 0x200>; - interrupts = <7 4>; - atmel,use-dma-rx; - atmel,use-dma-tx; - status = "disabled"; - }; - - usart1: serial@fff90000 { - compatible = "atmel,at91sam9260-usart"; - reg = <0xfff90000 0x200>; - interrupts = <8 4>; - atmel,use-dma-rx; - atmel,use-dma-tx; - status = "disabled"; - }; - - usart2: serial@fff94000 { - compatible = "atmel,at91sam9260-usart"; - reg = <0xfff94000 0x200>; - interrupts = <9 4>; - atmel,use-dma-rx; - atmel,use-dma-tx; - status = "disabled"; - }; - - usart3: serial@fff98000 { - compatible = "atmel,at91sam9260-usart"; - reg = <0xfff98000 0x200>; - interrupts = <10 4>; - atmel,use-dma-rx; - atmel,use-dma-tx; - status = "disabled"; - }; - - macb0: ethernet@fffbc000 { - compatible = "cdns,at32ap7000-macb", "cdns,macb"; - reg = <0xfffbc000 0x100>; - interrupts = <25 4>; - status = "disabled"; - }; - }; - - nand0: nand@40000000 { - compatible = "atmel,at91rm9200-nand"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0x40000000 0x10000000 - 0xffffe200 0x200 - >; - atmel,nand-addr-offset = <21>; - atmel,nand-cmd-offset = <22>; - gpios = <&pioC 8 0 - &pioC 14 0 - 0 - >; - status = "disabled"; - }; - - usb0: ohci@00700000 { - compatible = "atmel,at91rm9200-ohci", "usb-ohci"; - reg = <0x00700000 0x100000>; - interrupts = <22 4>; - status = "disabled"; - }; - - usb1: ehci@00800000 { - compatible = "atmel,at91sam9g45-ehci", "usb-ehci"; - reg = <0x00800000 0x100000>; - interrupts = <22 4>; - status = "disabled"; - }; - }; - - i2c@0 { - compatible = "i2c-gpio"; - gpios = <&pioA 20 0 /* sda */ - &pioA 21 0 /* scl */ - >; - i2c-gpio,sda-open-drain; - i2c-gpio,scl-open-drain; - i2c-gpio,delay-us = <5>; /* ~100 kHz */ - #address-cells = <1>; - #size-cells = <0>; - status = "disabled"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/at91sam9m10g45ek.dts b/kernel/arch/arm/boot/dts/tr961-5200l-v1/at91sam9m10g45ek.dts deleted file mode 100644 index a3633bd13..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/at91sam9m10g45ek.dts +++ /dev/null @@ -1,156 +0,0 @@ -/* - * at91sam9m10g45ek.dts - Device Tree file for AT91SAM9M10G45-EK board - * - * Copyright (C) 2011 Atmel, - * 2011 Nicolas Ferre - * - * Licensed under GPLv2 or later. - */ -/dts-v1/; -/include/ "at91sam9g45.dtsi" - -/ { - model = "Atmel AT91SAM9M10G45-EK"; - compatible = "atmel,at91sam9m10g45ek", "atmel,at91sam9g45", "atmel,at91sam9"; - - chosen { - bootargs = "mem=64M console=ttyS0,115200 root=/dev/mtdblock1 rw rootfstype=jffs2"; - }; - - memory { - reg = <0x70000000 0x4000000>; - }; - - clocks { - #address-cells = <1>; - #size-cells = <1>; - ranges; - - main_clock: clock@0 { - compatible = "atmel,osc", "fixed-clock"; - clock-frequency = <12000000>; - }; - }; - - ahb { - apb { - dbgu: serial@ffffee00 { - status = "okay"; - }; - - usart1: serial@fff90000 { - status = "okay"; - }; - - macb0: ethernet@fffbc000 { - phy-mode = "rmii"; - status = "okay"; - }; - }; - - nand0: nand@40000000 { - nand-bus-width = <8>; - nand-ecc-mode = "soft"; - nand-on-flash-bbt; - status = "okay"; - - boot@0 { - label = "bootstrap/uboot/kernel"; - reg = <0x0 0x400000>; - }; - - rootfs@400000 { - label = "rootfs"; - reg = <0x400000 0x3C00000>; - }; - - data@4000000 { - label = "data"; - reg = <0x4000000 0xC000000>; - }; - }; - - usb0: ohci@00700000 { - status = "okay"; - num-ports = <2>; - atmel,vbus-gpio = <&pioD 1 1 - &pioD 3 1>; - }; - - usb1: ehci@00800000 { - status = "okay"; - }; - }; - - leds { - compatible = "gpio-leds"; - - d8 { - label = "d8"; - gpios = <&pioD 30 0>; - linux,default-trigger = "heartbeat"; - }; - - d6 { - label = "d6"; - gpios = <&pioD 0 1>; - linux,default-trigger = "nand-disk"; - }; - - d7 { - label = "d7"; - gpios = <&pioD 31 1>; - linux,default-trigger = "mmc0"; - }; - }; - - gpio_keys { - compatible = "gpio-keys"; - #address-cells = <1>; - #size-cells = <0>; - - left_click { - label = "left_click"; - gpios = <&pioB 6 1>; - linux,code = <272>; - gpio-key,wakeup; - }; - - right_click { - label = "right_click"; - gpios = <&pioB 7 1>; - linux,code = <273>; - gpio-key,wakeup; - }; - - left { - label = "Joystick Left"; - gpios = <&pioB 14 1>; - linux,code = <105>; - }; - - right { - label = "Joystick Right"; - gpios = <&pioB 15 1>; - linux,code = <106>; - }; - - up { - label = "Joystick Up"; - gpios = <&pioB 16 1>; - linux,code = <103>; - }; - - down { - label = "Joystick Down"; - gpios = <&pioB 17 1>; - linux,code = <108>; - }; - - enter { - label = "Joystick Press"; - gpios = <&pioB 18 1>; - linux,code = <28>; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/at91sam9x5.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v1/at91sam9x5.dtsi deleted file mode 100644 index dd4ed7484..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/at91sam9x5.dtsi +++ /dev/null @@ -1,263 +0,0 @@ -/* - * at91sam9x5.dtsi - Device Tree Include file for AT91SAM9x5 family SoC - * applies to AT91SAM9G15, AT91SAM9G25, AT91SAM9G35, - * AT91SAM9X25, AT91SAM9X35 SoC - * - * Copyright (C) 2012 Atmel, - * 2012 Nicolas Ferre - * - * Licensed under GPLv2 or later. - */ - -/include/ "skeleton.dtsi" - -/ { - model = "Atmel AT91SAM9x5 family SoC"; - compatible = "atmel,at91sam9x5"; - interrupt-parent = <&aic>; - - aliases { - serial0 = &dbgu; - serial1 = &usart0; - serial2 = &usart1; - serial3 = &usart2; - gpio0 = &pioA; - gpio1 = &pioB; - gpio2 = &pioC; - gpio3 = &pioD; - tcb0 = &tcb0; - tcb1 = &tcb1; - }; - cpus { - cpu@0 { - compatible = "arm,arm926ejs"; - }; - }; - - memory { - reg = <0x20000000 0x10000000>; - }; - - ahb { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - - apb { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - - aic: interrupt-controller@fffff000 { - #interrupt-cells = <2>; - compatible = "atmel,at91rm9200-aic"; - interrupt-controller; - reg = <0xfffff000 0x200>; - }; - - ramc0: ramc@ffffe800 { - compatible = "atmel,at91sam9g45-ddramc"; - reg = <0xffffe800 0x200>; - }; - - pmc: pmc@fffffc00 { - compatible = "atmel,at91rm9200-pmc"; - reg = <0xfffffc00 0x100>; - }; - - rstc@fffffe00 { - compatible = "atmel,at91sam9g45-rstc"; - reg = <0xfffffe00 0x10>; - }; - - shdwc@fffffe10 { - compatible = "atmel,at91sam9x5-shdwc"; - reg = <0xfffffe10 0x10>; - }; - - pit: timer@fffffe30 { - compatible = "atmel,at91sam9260-pit"; - reg = <0xfffffe30 0xf>; - interrupts = <1 4>; - }; - - tcb0: timer@f8008000 { - compatible = "atmel,at91sam9x5-tcb"; - reg = <0xf8008000 0x100>; - interrupts = <17 4>; - }; - - tcb1: timer@f800c000 { - compatible = "atmel,at91sam9x5-tcb"; - reg = <0xf800c000 0x100>; - interrupts = <17 4>; - }; - - dma0: dma-controller@ffffec00 { - compatible = "atmel,at91sam9g45-dma"; - reg = <0xffffec00 0x200>; - interrupts = <20 4>; - }; - - dma1: dma-controller@ffffee00 { - compatible = "atmel,at91sam9g45-dma"; - reg = <0xffffee00 0x200>; - interrupts = <21 4>; - }; - - pioA: gpio@fffff400 { - compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio"; - reg = <0xfffff400 0x100>; - interrupts = <2 4>; - #gpio-cells = <2>; - gpio-controller; - interrupt-controller; - }; - - pioB: gpio@fffff600 { - compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio"; - reg = <0xfffff600 0x100>; - interrupts = <2 4>; - #gpio-cells = <2>; - gpio-controller; - interrupt-controller; - }; - - pioC: gpio@fffff800 { - compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio"; - reg = <0xfffff800 0x100>; - interrupts = <3 4>; - #gpio-cells = <2>; - gpio-controller; - interrupt-controller; - }; - - pioD: gpio@fffffa00 { - compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio"; - reg = <0xfffffa00 0x100>; - interrupts = <3 4>; - #gpio-cells = <2>; - gpio-controller; - interrupt-controller; - }; - - dbgu: serial@fffff200 { - compatible = "atmel,at91sam9260-usart"; - reg = <0xfffff200 0x200>; - interrupts = <1 4>; - status = "disabled"; - }; - - usart0: serial@f801c000 { - compatible = "atmel,at91sam9260-usart"; - reg = <0xf801c000 0x200>; - interrupts = <5 4>; - atmel,use-dma-rx; - atmel,use-dma-tx; - status = "disabled"; - }; - - usart1: serial@f8020000 { - compatible = "atmel,at91sam9260-usart"; - reg = <0xf8020000 0x200>; - interrupts = <6 4>; - atmel,use-dma-rx; - atmel,use-dma-tx; - status = "disabled"; - }; - - usart2: serial@f8024000 { - compatible = "atmel,at91sam9260-usart"; - reg = <0xf8024000 0x200>; - interrupts = <7 4>; - atmel,use-dma-rx; - atmel,use-dma-tx; - status = "disabled"; - }; - - macb0: ethernet@f802c000 { - compatible = "cdns,at32ap7000-macb", "cdns,macb"; - reg = <0xf802c000 0x100>; - interrupts = <24 4>; - status = "disabled"; - }; - - macb1: ethernet@f8030000 { - compatible = "cdns,at32ap7000-macb", "cdns,macb"; - reg = <0xf8030000 0x100>; - interrupts = <27 4>; - status = "disabled"; - }; - }; - - nand0: nand@40000000 { - compatible = "atmel,at91rm9200-nand"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0x40000000 0x10000000 - >; - atmel,nand-addr-offset = <21>; - atmel,nand-cmd-offset = <22>; - gpios = <&pioD 5 0 - &pioD 4 0 - 0 - >; - status = "disabled"; - }; - - usb0: ohci@00600000 { - compatible = "atmel,at91rm9200-ohci", "usb-ohci"; - reg = <0x00600000 0x100000>; - interrupts = <22 4>; - status = "disabled"; - }; - - usb1: ehci@00700000 { - compatible = "atmel,at91sam9g45-ehci", "usb-ehci"; - reg = <0x00700000 0x100000>; - interrupts = <22 4>; - status = "disabled"; - }; - }; - - i2c@0 { - compatible = "i2c-gpio"; - gpios = <&pioA 30 0 /* sda */ - &pioA 31 0 /* scl */ - >; - i2c-gpio,sda-open-drain; - i2c-gpio,scl-open-drain; - i2c-gpio,delay-us = <2>; /* ~100 kHz */ - #address-cells = <1>; - #size-cells = <0>; - status = "disabled"; - }; - - i2c@1 { - compatible = "i2c-gpio"; - gpios = <&pioC 0 0 /* sda */ - &pioC 1 0 /* scl */ - >; - i2c-gpio,sda-open-drain; - i2c-gpio,scl-open-drain; - i2c-gpio,delay-us = <2>; /* ~100 kHz */ - #address-cells = <1>; - #size-cells = <0>; - status = "disabled"; - }; - - i2c@2 { - compatible = "i2c-gpio"; - gpios = <&pioB 4 0 /* sda */ - &pioB 5 0 /* scl */ - >; - i2c-gpio,sda-open-drain; - i2c-gpio,scl-open-drain; - i2c-gpio,delay-us = <2>; /* ~100 kHz */ - #address-cells = <1>; - #size-cells = <0>; - status = "disabled"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/at91sam9x5cm.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v1/at91sam9x5cm.dtsi deleted file mode 100644 index 31e7be237..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/at91sam9x5cm.dtsi +++ /dev/null @@ -1,74 +0,0 @@ -/* - * at91sam9x5cm.dtsi - Device Tree Include file for AT91SAM9x5 CPU Module - * - * Copyright (C) 2012 Atmel, - * 2012 Nicolas Ferre - * - * Licensed under GPLv2 or later. - */ - -/ { - memory { - reg = <0x20000000 0x8000000>; - }; - - clocks { - #address-cells = <1>; - #size-cells = <1>; - ranges; - - main_clock: clock@0 { - compatible = "atmel,osc", "fixed-clock"; - clock-frequency = <12000000>; - }; - }; - - ahb { - nand0: nand@40000000 { - nand-bus-width = <8>; - nand-ecc-mode = "soft"; - nand-on-flash-bbt; - status = "okay"; - - at91bootstrap@0 { - label = "at91bootstrap"; - reg = <0x0 0x40000>; - }; - - uboot@40000 { - label = "u-boot"; - reg = <0x40000 0x80000>; - }; - - ubootenv@c0000 { - label = "U-Boot Env"; - reg = <0xc0000 0x140000>; - }; - - kernel@200000 { - label = "kernel"; - reg = <0x200000 0x600000>; - }; - - rootfs@800000 { - label = "rootfs"; - reg = <0x800000 0x1f800000>; - }; - }; - }; - - leds { - compatible = "gpio-leds"; - - pb18 { - label = "pb18"; - gpios = <&pioB 18 1>; - linux,default-trigger = "heartbeat"; - }; - - pd21 { - label = "pd21"; - gpios = <&pioD 21 0>; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/db8500.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v1/db8500.dtsi deleted file mode 100644 index 14bc30705..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/db8500.dtsi +++ /dev/null @@ -1,274 +0,0 @@ -/* - * Copyright 2012 Linaro Ltd - * - * The code contained herein is licensed under the GNU General Public - * License. You may obtain a copy of the GNU General Public License - * Version 2 or later at the following locations: - * - * http://www.opensource.org/licenses/gpl-license.html - * http://www.gnu.org/copyleft/gpl.html - */ - -/include/ "skeleton.dtsi" - -/ { - soc-u9500 { - #address-cells = <1>; - #size-cells = <1>; - compatible = "stericsson,db8500"; - interrupt-parent = <&intc>; - ranges; - - intc: interrupt-controller@a0411000 { - compatible = "arm,cortex-a9-gic"; - #interrupt-cells = <3>; - #address-cells = <1>; - interrupt-controller; - reg = <0xa0411000 0x1000>, - <0xa0410100 0x100>; - }; - - L2: l2-cache { - compatible = "arm,pl310-cache"; - reg = <0xa0412000 0x1000>; - interrupts = <0 13 4>; - cache-unified; - cache-level = <2>; - }; - - pmu { - compatible = "arm,cortex-a9-pmu"; - interrupts = <0 7 0x4>; - }; - - timer@a0410600 { - compatible = "arm,cortex-a9-twd-timer"; - reg = <0xa0410600 0x20>; - interrupts = <1 13 0x304>; - }; - - rtc@80154000 { - compatible = "stericsson,db8500-rtc"; - reg = <0x80154000 0x1000>; - interrupts = <0 18 0x4>; - }; - - gpio0: gpio@8012e000 { - compatible = "stericsson,db8500-gpio", - "stmicroelectronics,nomadik-gpio"; - reg = <0x8012e000 0x80>; - interrupts = <0 119 0x4>; - supports-sleepmode; - gpio-controller; - }; - - gpio1: gpio@8012e080 { - compatible = "stericsson,db8500-gpio", - "stmicroelectronics,nomadik-gpio"; - reg = <0x8012e080 0x80>; - interrupts = <0 120 0x4>; - supports-sleepmode; - gpio-controller; - }; - - gpio2: gpio@8000e000 { - compatible = "stericsson,db8500-gpio", - "stmicroelectronics,nomadik-gpio"; - reg = <0x8000e000 0x80>; - interrupts = <0 121 0x4>; - supports-sleepmode; - gpio-controller; - }; - - gpio3: gpio@8000e080 { - compatible = "stericsson,db8500-gpio", - "stmicroelectronics,nomadik-gpio"; - reg = <0x8000e080 0x80>; - interrupts = <0 122 0x4>; - supports-sleepmode; - gpio-controller; - }; - - gpio4: gpio@8000e100 { - compatible = "stericsson,db8500-gpio", - "stmicroelectronics,nomadik-gpio"; - reg = <0x8000e100 0x80>; - interrupts = <0 123 0x4>; - supports-sleepmode; - gpio-controller; - }; - - gpio5: gpio@8000e180 { - compatible = "stericsson,db8500-gpio", - "stmicroelectronics,nomadik-gpio"; - reg = <0x8000e180 0x80>; - interrupts = <0 124 0x4>; - supports-sleepmode; - gpio-controller; - }; - - gpio6: gpio@8011e000 { - compatible = "stericsson,db8500-gpio", - "stmicroelectronics,nomadik-gpio"; - reg = <0x8011e000 0x80>; - interrupts = <0 125 0x4>; - supports-sleepmode; - gpio-controller; - }; - - gpio7: gpio@8011e080 { - compatible = "stericsson,db8500-gpio", - "stmicroelectronics,nomadik-gpio"; - reg = <0x8011e080 0x80>; - interrupts = <0 126 0x4>; - supports-sleepmode; - gpio-controller; - }; - - gpio8: gpio@a03fe000 { - compatible = "stericsson,db8500-gpio", - "stmicroelectronics,nomadik-gpio"; - reg = <0xa03fe000 0x80>; - interrupts = <0 127 0x4>; - supports-sleepmode; - gpio-controller; - }; - - usb@a03e0000 { - compatible = "stericsson,db8500-musb", - "mentor,musb"; - reg = <0xa03e0000 0x10000>; - interrupts = <0 23 0x4>; - }; - - dma-controller@801C0000 { - compatible = "stericsson,db8500-dma40", - "stericsson,dma40"; - reg = <0x801C0000 0x1000 0x40010000 0x800>; - interrupts = <0 25 0x4>; - }; - - prcmu@80157000 { - compatible = "stericsson,db8500-prcmu"; - reg = <0x80157000 0x1000>; - interrupts = <46 47>; - #address-cells = <1>; - #size-cells = <0>; - - ab8500@5 { - compatible = "stericsson,ab8500"; - reg = <5>; /* mailbox 5 is i2c */ - interrupts = <0 40 0x4>; - }; - }; - - i2c@80004000 { - compatible = "stericsson,db8500-i2c", "stmicroelectronics,nomadik-i2c"; - reg = <0x80004000 0x1000>; - interrupts = <0 21 0x4>; - #address-cells = <1>; - #size-cells = <0>; - }; - - i2c@80122000 { - compatible = "stericsson,db8500-i2c", "stmicroelectronics,nomadik-i2c"; - reg = <0x80122000 0x1000>; - interrupts = <0 22 0x4>; - #address-cells = <1>; - #size-cells = <0>; - }; - - i2c@80128000 { - compatible = "stericsson,db8500-i2c", "stmicroelectronics,nomadik-i2c"; - reg = <0x80128000 0x1000>; - interrupts = <0 55 0x4>; - #address-cells = <1>; - #size-cells = <0>; - }; - - i2c@80110000 { - compatible = "stericsson,db8500-i2c", "stmicroelectronics,nomadik-i2c"; - reg = <0x80110000 0x1000>; - interrupts = <0 12 0x4>; - #address-cells = <1>; - #size-cells = <0>; - }; - - i2c@8012a000 { - compatible = "stericsson,db8500-i2c", "stmicroelectronics,nomadik-i2c"; - reg = <0x8012a000 0x1000>; - interrupts = <0 51 0x4>; - #address-cells = <1>; - #size-cells = <0>; - }; - - ssp@80002000 { - compatible = "arm,pl022", "arm,primecell"; - reg = <80002000 0x1000>; - interrupts = <0 14 0x4>; - #address-cells = <1>; - #size-cells = <0>; - status = "disabled"; - - // Add one of these for each child device - cs-gpios = <&gpio0 31 &gpio4 14 &gpio4 16 &gpio6 22 &gpio7 0>; - - }; - - uart@80120000 { - compatible = "arm,pl011", "arm,primecell"; - reg = <0x80120000 0x1000>; - interrupts = <0 11 0x4>; - status = "disabled"; - }; - uart@80121000 { - compatible = "arm,pl011", "arm,primecell"; - reg = <0x80121000 0x1000>; - interrupts = <0 19 0x4>; - status = "disabled"; - }; - uart@80007000 { - compatible = "arm,pl011", "arm,primecell"; - reg = <0x80007000 0x1000>; - interrupts = <0 26 0x4>; - status = "disabled"; - }; - - sdi@80126000 { - compatible = "arm,pl18x", "arm,primecell"; - reg = <0x80126000 0x1000>; - interrupts = <0 60 0x4>; - status = "disabled"; - }; - sdi@80118000 { - compatible = "arm,pl18x", "arm,primecell"; - reg = <0x80118000 0x1000>; - interrupts = <0 50 0x4>; - status = "disabled"; - }; - sdi@80005000 { - compatible = "arm,pl18x", "arm,primecell"; - reg = <0x80005000 0x1000>; - interrupts = <0 41 0x4>; - status = "disabled"; - }; - sdi@80119000 { - compatible = "arm,pl18x", "arm,primecell"; - reg = <0x80119000 0x1000>; - interrupts = <0 59 0x4>; - status = "disabled"; - }; - sdi@80114000 { - compatible = "arm,pl18x", "arm,primecell"; - reg = <0x80114000 0x1000>; - interrupts = <0 99 0x4>; - status = "disabled"; - }; - sdi@80008000 { - compatible = "arm,pl18x", "arm,primecell"; - reg = <0x80114000 0x1000>; - interrupts = <0 100 0x4>; - status = "disabled"; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/dsi-panel-nt35590-720p-cmd.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v1/dsi-panel-nt35590-720p-cmd.dtsi deleted file mode 100644 index 7942567cc..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/dsi-panel-nt35590-720p-cmd.dtsi +++ /dev/null @@ -1,530 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/ { - qcom,mdss_dsi_nt35590_720p_cmd { - compatible = "qcom,mdss-dsi-panel"; - label = "nt35590 720p command mode dsi panel"; - status = "disable"; - qcom,dsi-ctrl-phandle = <&mdss_dsi0>; - qcom,rst-gpio = <&msmgpio 25 0>; - qcom,te-gpio = <&msmgpio 24 0>; - qcom,mdss-pan-res = <720 1280>; - qcom,mdss-pan-bpp = <24>; - qcom,mdss-pan-dest = "display_1"; - qcom,mdss-pan-porch-values = <164 8 140 1 1 6>; - qcom,mdss-pan-underflow-clr = <0xff>; - qcom,mdss-pan-bl-ctrl = "bl_ctrl_wled"; - qcom,mdss-pan-bl-levels = <1 4095>; - qcom,mdss-pan-dsi-mode = <1>; - qcom,mdss-vsync-enable = <1>; - qcom,mdss-hw-vsync-mode = <1>; - qcom,mdss-pan-dsi-h-pulse-mode = <1>; - qcom,mdss-pan-dsi-h-power-stop = <0 0 0>; - qcom,mdss-pan-dsi-bllp-power-stop = <1 1>; - qcom,mdss-pan-dsi-traffic-mode = <2>; - qcom,mdss-pan-dsi-dst-format = <8>; - qcom,mdss-pan-insert-dcs-cmd = <1>; - qcom,mdss-pan-wr-mem-continue = <0x3c>; - qcom,mdss-pan-wr-mem-start = <0x2c>; - qcom,mdss-pan-te-sel = <1>; - qcom,mdss-pan-dsi-vc = <0>; - qcom,mdss-pan-dsi-rgb-swap = <0>; - qcom,mdss-pan-dsi-data-lanes = <1 1 1 1>; /* 4 lanes */ - qcom,mdss-pan-dsi-dlane-swap = <0>; - qcom,mdss-pan-dsi-t-clk = <0x2c 0x20>; - qcom,mdss-pan-dsi-stream = <0>; - qcom,mdss-pan-dsi-mdp-tr = <0x0>; - qcom,mdss-pan-dsi-dma-tr = <0x04>; - qcom,mdss-pan-dsi-frame-rate = <60>; - qcom,panel-phy-regulatorSettings = [07 09 03 00 /* Regualotor settings */ - 20 00 01]; - qcom,panel-phy-timingSettings = [7d 25 1d 00 37 33 - 22 27 1e 03 04 00]; - qcom,panel-phy-strengthCtrl = [ff 06]; - qcom,panel-phy-bistCtrl = [00 00 b1 ff /* BIST Ctrl settings */ - 00 00]; - qcom,panel-phy-laneConfig = [00 00 00 00 00 00 00 01 97 /* lane0 config */ - 00 00 00 00 05 00 00 01 97 /* lane1 config */ - 00 00 00 00 0a 00 00 01 97 /* lane2 config */ - 00 00 00 00 0f 00 00 01 97 /* lane3 config */ - 00 c0 00 00 00 00 00 01 bb]; /* Clk ln config */ - qcom,panel-on-cmds = [29 01 00 00 00 02 FF EE - 29 01 00 00 00 02 26 08 - 29 01 00 00 00 02 26 00 - 29 01 00 00 10 02 FF 00 - 29 01 00 00 00 02 BA 03 - 29 01 00 00 00 02 C2 08 - 29 01 00 00 00 02 FF 01 - 29 01 00 00 00 02 FB 01 - 29 01 00 00 00 02 00 4A - 29 01 00 00 00 02 01 33 - 29 01 00 00 00 02 02 53 - 29 01 00 00 00 02 03 55 - 29 01 00 00 00 02 04 55 - 29 01 00 00 00 02 05 33 - 29 01 00 00 00 02 06 22 - 29 01 00 00 00 02 08 56 - 29 01 00 00 00 02 09 8F - 29 01 00 00 00 02 36 73 - 29 01 00 00 00 02 0B 9F - 29 01 00 00 00 02 0C 9F - 29 01 00 00 00 02 0D 2F - 29 01 00 00 00 02 0E 24 - 29 01 00 00 00 02 11 83 - 29 01 00 00 00 02 12 03 - 29 01 00 00 00 02 71 2C - 29 01 00 00 00 02 6F 03 - 29 01 00 00 00 02 0F 0A - 29 01 00 00 00 02 FF 05 - 29 01 00 00 00 02 FB 01 - 29 01 00 00 00 02 01 00 - 29 01 00 00 00 02 02 8B - 29 01 00 00 00 02 03 82 - 29 01 00 00 00 02 04 82 - 29 01 00 00 00 02 05 30 - 29 01 00 00 00 02 06 33 - 29 01 00 00 00 02 07 01 - 29 01 00 00 00 02 08 00 - 29 01 00 00 00 02 09 46 - 29 01 00 00 00 02 0A 46 - 29 01 00 00 00 02 0D 0B - 29 01 00 00 00 02 0E 1D - 29 01 00 00 00 02 0F 08 - 29 01 00 00 00 02 10 53 - 29 01 00 00 00 02 11 00 - 29 01 00 00 00 02 12 00 - 29 01 00 00 00 02 14 01 - 29 01 00 00 00 02 15 00 - 29 01 00 00 00 02 16 05 - 29 01 00 00 00 02 17 00 - 29 01 00 00 00 02 19 7F - 29 01 00 00 00 02 1A FF - 29 01 00 00 00 02 1B 0F - 29 01 00 00 00 02 1C 00 - 29 01 00 00 00 02 1D 00 - 29 01 00 00 00 02 1E 00 - 29 01 00 00 00 02 1F 07 - 29 01 00 00 00 02 20 00 - 29 01 00 00 00 02 21 06 - 29 01 00 00 00 02 22 55 - 29 01 00 00 00 02 23 4D - 29 01 00 00 00 02 2D 02 - 29 01 00 00 00 02 28 01 - 29 01 00 00 00 02 2F 02 - 29 01 00 00 00 02 83 01 - 29 01 00 00 00 02 9E 58 - 29 01 00 00 00 02 9F 6A - 29 01 00 00 00 02 A0 01 - 29 01 00 00 00 02 A2 10 - 29 01 00 00 00 02 BB 0A - 29 01 00 00 00 02 BC 0A - 29 01 00 00 00 02 32 08 - 29 01 00 00 00 02 33 B8 - 29 01 00 00 00 02 36 01 - 29 01 00 00 00 02 37 00 - 29 01 00 00 00 02 43 00 - 29 01 00 00 00 02 4B 21 - 29 01 00 00 00 02 4C 03 - 29 01 00 00 00 02 50 21 - 29 01 00 00 00 02 51 03 - 29 01 00 00 00 02 58 21 - 29 01 00 00 00 02 59 03 - 29 01 00 00 00 02 5D 21 - 29 01 00 00 00 02 5E 03 - 29 01 00 00 00 02 6C 00 - 29 01 00 00 00 02 6D 00 - 29 01 00 00 00 02 FB 01 - 29 01 00 00 00 02 FF 01 - 29 01 00 00 00 02 FB 01 - 29 01 00 00 00 02 75 00 - 29 01 00 00 00 02 76 7D - 29 01 00 00 00 02 77 00 - 29 01 00 00 00 02 78 8A - 29 01 00 00 00 02 79 00 - 29 01 00 00 00 02 7A 9C - 29 01 00 00 00 02 7B 00 - 29 01 00 00 00 02 7C B1 - 29 01 00 00 00 02 7D 00 - 29 01 00 00 00 02 7E BF - 29 01 00 00 00 02 7F 00 - 29 01 00 00 00 02 80 CF - 29 01 00 00 00 02 81 00 - 29 01 00 00 00 02 82 DD - 29 01 00 00 00 02 83 00 - 29 01 00 00 00 02 84 E8 - 29 01 00 00 00 02 85 00 - 29 01 00 00 00 02 86 F2 - 29 01 00 00 00 02 87 01 - 29 01 00 00 00 02 88 1F - 29 01 00 00 00 02 89 01 - 29 01 00 00 00 02 8A 41 - 29 01 00 00 00 02 8B 01 - 29 01 00 00 00 02 8C 78 - 29 01 00 00 00 02 8D 01 - 29 01 00 00 00 02 8E A5 - 29 01 00 00 00 02 8F 01 - 29 01 00 00 00 02 90 EE - 29 01 00 00 00 02 91 02 - 29 01 00 00 00 02 92 29 - 29 01 00 00 00 02 93 02 - 29 01 00 00 00 02 94 2A - 29 01 00 00 00 02 95 02 - 29 01 00 00 00 02 96 5D - 29 01 00 00 00 02 97 02 - 29 01 00 00 00 02 98 93 - 29 01 00 00 00 02 99 02 - 29 01 00 00 00 02 9A B8 - 29 01 00 00 00 02 9B 02 - 29 01 00 00 00 02 9C E7 - 29 01 00 00 00 02 9D 03 - 29 01 00 00 00 02 9E 07 - 29 01 00 00 00 02 9F 03 - 29 01 00 00 00 02 A0 37 - 29 01 00 00 00 02 A2 03 - 29 01 00 00 00 02 A3 46 - 29 01 00 00 00 02 A4 03 - 29 01 00 00 00 02 A5 56 - 29 01 00 00 00 02 A6 03 - 29 01 00 00 00 02 A7 66 - 29 01 00 00 00 02 A9 03 - 29 01 00 00 00 02 AA 7A - 29 01 00 00 00 02 AB 03 - 29 01 00 00 00 02 AC 93 - 29 01 00 00 00 02 AD 03 - 29 01 00 00 00 02 AE A3 - 29 01 00 00 00 02 AF 03 - 29 01 00 00 00 02 B0 B4 - 29 01 00 00 00 02 B1 03 - 29 01 00 00 00 02 B2 CB - 29 01 00 00 00 02 B3 00 - 29 01 00 00 00 02 B4 7D - 29 01 00 00 00 02 B5 00 - 29 01 00 00 00 02 B6 8A - 29 01 00 00 00 02 B7 00 - 29 01 00 00 00 02 B8 9C - 29 01 00 00 00 02 B9 00 - 29 01 00 00 00 02 BA B1 - 29 01 00 00 00 02 BB 00 - 29 01 00 00 00 02 BC BF - 29 01 00 00 00 02 BD 00 - 29 01 00 00 00 02 BE CF - 29 01 00 00 00 02 BF 00 - 29 01 00 00 00 02 C0 DD - 29 01 00 00 00 02 C1 00 - 29 01 00 00 00 02 C2 E8 - 29 01 00 00 00 02 C3 00 - 29 01 00 00 00 02 C4 F2 - 29 01 00 00 00 02 C5 01 - 29 01 00 00 00 02 C6 1F - 29 01 00 00 00 02 C7 01 - 29 01 00 00 00 02 C8 41 - 29 01 00 00 00 02 C9 01 - 29 01 00 00 00 02 CA 78 - 29 01 00 00 00 02 CB 01 - 29 01 00 00 00 02 CC A5 - 29 01 00 00 00 02 CD 01 - 29 01 00 00 00 02 CE EE - 29 01 00 00 00 02 CF 02 - 29 01 00 00 00 02 D0 29 - 29 01 00 00 00 02 D1 02 - 29 01 00 00 00 02 D2 2A - 29 01 00 00 00 02 D3 02 - 29 01 00 00 00 02 D4 5D - 29 01 00 00 00 02 D5 02 - 29 01 00 00 00 02 D6 93 - 29 01 00 00 00 02 D7 02 - 29 01 00 00 00 02 D8 B8 - 29 01 00 00 00 02 D9 02 - 29 01 00 00 00 02 DA E7 - 29 01 00 00 00 02 DB 03 - 29 01 00 00 00 02 DC 07 - 29 01 00 00 00 02 DD 03 - 29 01 00 00 00 02 DE 37 - 29 01 00 00 00 02 DF 03 - 29 01 00 00 00 02 E0 46 - 29 01 00 00 00 02 E1 03 - 29 01 00 00 00 02 E2 56 - 29 01 00 00 00 02 E3 03 - 29 01 00 00 00 02 E4 66 - 29 01 00 00 00 02 E5 03 - 29 01 00 00 00 02 E6 7A - 29 01 00 00 00 02 E7 03 - 29 01 00 00 00 02 E8 93 - 29 01 00 00 00 02 E9 03 - 29 01 00 00 00 02 EA A3 - 29 01 00 00 00 02 EB 03 - 29 01 00 00 00 02 EC B4 - 29 01 00 00 00 02 ED 03 - 29 01 00 00 00 02 EE CB - 29 01 00 00 00 02 EF 00 - 29 01 00 00 00 02 F0 ED - 29 01 00 00 00 02 F1 00 - 29 01 00 00 00 02 F2 F3 - 29 01 00 00 00 02 F3 00 - 29 01 00 00 00 02 F4 FE - 29 01 00 00 00 02 F5 01 - 29 01 00 00 00 02 F6 09 - 29 01 00 00 00 02 F7 01 - 29 01 00 00 00 02 F8 13 - 29 01 00 00 00 02 F9 01 - 29 01 00 00 00 02 FA 1D - 29 01 00 00 00 02 FF 02 - 29 01 00 00 00 02 FB 01 - 29 01 00 00 00 02 00 01 - 29 01 00 00 00 02 01 26 - 29 01 00 00 00 02 02 01 - 29 01 00 00 00 02 03 2F - 29 01 00 00 00 02 04 01 - 29 01 00 00 00 02 05 37 - 29 01 00 00 00 02 06 01 - 29 01 00 00 00 02 07 56 - 29 01 00 00 00 02 08 01 - 29 01 00 00 00 02 09 70 - 29 01 00 00 00 02 0A 01 - 29 01 00 00 00 02 0B 9D - 29 01 00 00 00 02 0C 01 - 29 01 00 00 00 02 0D C2 - 29 01 00 00 00 02 0E 01 - 29 01 00 00 00 02 0F FF - 29 01 00 00 00 02 10 02 - 29 01 00 00 00 02 11 31 - 29 01 00 00 00 02 12 02 - 29 01 00 00 00 02 13 32 - 29 01 00 00 00 02 14 02 - 29 01 00 00 00 02 15 60 - 29 01 00 00 00 02 16 02 - 29 01 00 00 00 02 17 94 - 29 01 00 00 00 02 18 02 - 29 01 00 00 00 02 19 B5 - 29 01 00 00 00 02 1A 02 - 29 01 00 00 00 02 1B E3 - 29 01 00 00 00 02 1C 03 - 29 01 00 00 00 02 1D 03 - 29 01 00 00 00 02 1E 03 - 29 01 00 00 00 02 1F 2D - 29 01 00 00 00 02 20 03 - 29 01 00 00 00 02 21 3A - 29 01 00 00 00 02 22 03 - 29 01 00 00 00 02 23 48 - 29 01 00 00 00 02 24 03 - 29 01 00 00 00 02 25 57 - 29 01 00 00 00 02 26 03 - 29 01 00 00 00 02 27 68 - 29 01 00 00 00 02 28 03 - 29 01 00 00 00 02 29 7B - 29 01 00 00 00 02 2A 03 - 29 01 00 00 00 02 2B 90 - 29 01 00 00 00 02 2D 03 - 29 01 00 00 00 02 2F A0 - 29 01 00 00 00 02 30 03 - 29 01 00 00 00 02 31 CB - 29 01 00 00 00 02 32 00 - 29 01 00 00 00 02 33 ED - 29 01 00 00 00 02 34 00 - 29 01 00 00 00 02 35 F3 - 29 01 00 00 00 02 36 00 - 29 01 00 00 00 02 37 FE - 29 01 00 00 00 02 38 01 - 29 01 00 00 00 02 39 09 - 29 01 00 00 00 02 3A 01 - 29 01 00 00 00 02 3B 13 - 29 01 00 00 00 02 3D 01 - 29 01 00 00 00 02 3F 1D - 29 01 00 00 00 02 40 01 - 29 01 00 00 00 02 41 26 - 29 01 00 00 00 02 42 01 - 29 01 00 00 00 02 43 2F - 29 01 00 00 00 02 44 01 - 29 01 00 00 00 02 45 37 - 29 01 00 00 00 02 46 01 - 29 01 00 00 00 02 47 56 - 29 01 00 00 00 02 48 01 - 29 01 00 00 00 02 49 70 - 29 01 00 00 00 02 4A 01 - 29 01 00 00 00 02 4B 9D - 29 01 00 00 00 02 4C 01 - 29 01 00 00 00 02 4D C2 - 29 01 00 00 00 02 4E 01 - 29 01 00 00 00 02 4F FF - 29 01 00 00 00 02 50 02 - 29 01 00 00 00 02 51 31 - 29 01 00 00 00 02 52 02 - 29 01 00 00 00 02 53 32 - 29 01 00 00 00 02 54 02 - 29 01 00 00 00 02 55 60 - 29 01 00 00 00 02 56 02 - 29 01 00 00 00 02 58 94 - 29 01 00 00 00 02 59 02 - 29 01 00 00 00 02 5A B5 - 29 01 00 00 00 02 5B 02 - 29 01 00 00 00 02 5C E3 - 29 01 00 00 00 02 5D 03 - 29 01 00 00 00 02 5E 03 - 29 01 00 00 00 02 5F 03 - 29 01 00 00 00 02 60 2D - 29 01 00 00 00 02 61 03 - 29 01 00 00 00 02 62 3A - 29 01 00 00 00 02 63 03 - 29 01 00 00 00 02 64 48 - 29 01 00 00 00 02 65 03 - 29 01 00 00 00 02 66 57 - 29 01 00 00 00 02 67 03 - 29 01 00 00 00 02 68 68 - 29 01 00 00 00 02 69 03 - 29 01 00 00 00 02 6A 7B - 29 01 00 00 00 02 6B 03 - 29 01 00 00 00 02 6C 90 - 29 01 00 00 00 02 6D 03 - 29 01 00 00 00 02 6E A0 - 29 01 00 00 00 02 6F 03 - 29 01 00 00 00 02 70 CB - 29 01 00 00 00 02 71 00 - 29 01 00 00 00 02 72 19 - 29 01 00 00 00 02 73 00 - 29 01 00 00 00 02 74 36 - 29 01 00 00 00 02 75 00 - 29 01 00 00 00 02 76 55 - 29 01 00 00 00 02 77 00 - 29 01 00 00 00 02 78 70 - 29 01 00 00 00 02 79 00 - 29 01 00 00 00 02 7A 83 - 29 01 00 00 00 02 7B 00 - 29 01 00 00 00 02 7C 99 - 29 01 00 00 00 02 7D 00 - 29 01 00 00 00 02 7E A8 - 29 01 00 00 00 02 7F 00 - 29 01 00 00 00 02 80 B7 - 29 01 00 00 00 02 81 00 - 29 01 00 00 00 02 82 C5 - 29 01 00 00 00 02 83 00 - 29 01 00 00 00 02 84 F7 - 29 01 00 00 00 02 85 01 - 29 01 00 00 00 02 86 1E - 29 01 00 00 00 02 87 01 - 29 01 00 00 00 02 88 60 - 29 01 00 00 00 02 89 01 - 29 01 00 00 00 02 8A 95 - 29 01 00 00 00 02 8B 01 - 29 01 00 00 00 02 8C E1 - 29 01 00 00 00 02 8D 02 - 29 01 00 00 00 02 8E 20 - 29 01 00 00 00 02 8F 02 - 29 01 00 00 00 02 90 23 - 29 01 00 00 00 02 91 02 - 29 01 00 00 00 02 92 59 - 29 01 00 00 00 02 93 02 - 29 01 00 00 00 02 94 94 - 29 01 00 00 00 02 95 02 - 29 01 00 00 00 02 96 B4 - 29 01 00 00 00 02 97 02 - 29 01 00 00 00 02 98 E1 - 29 01 00 00 00 02 99 03 - 29 01 00 00 00 02 9A 01 - 29 01 00 00 00 02 9B 03 - 29 01 00 00 00 02 9C 28 - 29 01 00 00 00 02 9D 03 - 29 01 00 00 00 02 9E 30 - 29 01 00 00 00 02 9F 03 - 29 01 00 00 00 02 A0 37 - 29 01 00 00 00 02 A2 03 - 29 01 00 00 00 02 A3 3B - 29 01 00 00 00 02 A4 03 - 29 01 00 00 00 02 A5 40 - 29 01 00 00 00 02 A6 03 - 29 01 00 00 00 02 A7 50 - 29 01 00 00 00 02 A9 03 - 29 01 00 00 00 02 AA 6D - 29 01 00 00 00 02 AB 03 - 29 01 00 00 00 02 AC 80 - 29 01 00 00 00 02 AD 03 - 29 01 00 00 00 02 AE CB - 29 01 00 00 00 02 AF 00 - 29 01 00 00 00 02 B0 19 - 29 01 00 00 00 02 B1 00 - 29 01 00 00 00 02 B2 36 - 29 01 00 00 00 02 B3 00 - 29 01 00 00 00 02 B4 55 - 29 01 00 00 00 02 B5 00 - 29 01 00 00 00 02 B6 70 - 29 01 00 00 00 02 B7 00 - 29 01 00 00 00 02 B8 83 - 29 01 00 00 00 02 B9 00 - 29 01 00 00 00 02 BA 99 - 29 01 00 00 00 02 BB 00 - 29 01 00 00 00 02 BC A8 - 29 01 00 00 00 02 BD 00 - 29 01 00 00 00 02 BE B7 - 29 01 00 00 00 02 BF 00 - 29 01 00 00 00 02 C0 C5 - 29 01 00 00 00 02 C1 00 - 29 01 00 00 00 02 C2 F7 - 29 01 00 00 00 02 C3 01 - 29 01 00 00 00 02 C4 1E - 29 01 00 00 00 02 C5 01 - 29 01 00 00 00 02 C6 60 - 29 01 00 00 00 02 C7 01 - 29 01 00 00 00 02 C8 95 - 29 01 00 00 00 02 C9 01 - 29 01 00 00 00 02 CA E1 - 29 01 00 00 00 02 CB 02 - 29 01 00 00 00 02 CC 20 - 29 01 00 00 00 02 CD 02 - 29 01 00 00 00 02 CE 23 - 29 01 00 00 00 02 CF 02 - 29 01 00 00 00 02 D0 59 - 29 01 00 00 00 02 D1 02 - 29 01 00 00 00 02 D2 94 - 29 01 00 00 00 02 D3 02 - 29 01 00 00 00 02 D4 B4 - 29 01 00 00 00 02 D5 02 - 29 01 00 00 00 02 D6 E1 - 29 01 00 00 00 02 D7 03 - 29 01 00 00 00 02 D8 01 - 29 01 00 00 00 02 D9 03 - 29 01 00 00 00 02 DA 28 - 29 01 00 00 00 02 DB 03 - 29 01 00 00 00 02 DC 30 - 29 01 00 00 00 02 DD 03 - 29 01 00 00 00 02 DE 37 - 29 01 00 00 00 02 DF 03 - 29 01 00 00 00 02 E0 3B - 29 01 00 00 00 02 E1 03 - 29 01 00 00 00 02 E2 40 - 29 01 00 00 00 02 E3 03 - 29 01 00 00 00 02 E4 50 - 29 01 00 00 00 02 E5 03 - 29 01 00 00 00 02 E6 6D - 29 01 00 00 00 02 E7 03 - 29 01 00 00 00 02 E8 80 - 29 01 00 00 00 02 E9 03 - 29 01 00 00 00 02 EA CB - 29 01 00 00 00 02 FF 01 - 29 01 00 00 00 02 FB 01 - 29 01 00 00 00 02 FF 02 - 29 01 00 00 00 02 FB 01 - 29 01 00 00 00 02 FF 04 - 29 01 00 00 00 02 FB 01 - 29 01 00 00 00 02 FF 00 - 29 01 00 00 64 02 11 00 - 29 01 00 00 00 02 FF EE - 29 01 00 00 00 02 12 50 - 29 01 00 00 00 02 13 02 - 29 01 00 00 00 02 6A 60 - 29 01 00 00 00 02 FF 00 - 29 01 00 00 78 02 29 00]; - qcom,on-cmds-dsi-state = "DSI_LP_MODE"; - qcom,panel-off-cmds = [05 01 00 00 32 02 28 00 - 05 01 00 00 78 02 10 00]; - qcom,off-cmds-dsi-state = "DSI_HS_MODE"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/dsi-panel-nt35590-720p-video.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v1/dsi-panel-nt35590-720p-video.dtsi deleted file mode 100644 index 7bc748d59..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/dsi-panel-nt35590-720p-video.dtsi +++ /dev/null @@ -1,524 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -&soc { - qcom,mdss_dsi_nt35590_720p_video { - compatible = "qcom,mdss-dsi-panel"; - label = "nt35590 720p video mode dsi panel"; - status = "disable"; - qcom,dsi-ctrl-phandle = <&mdss_dsi0>; - qcom,rst-gpio = <&msmgpio 25 0>; - qcom,mdss-pan-res = <720 1280>; - qcom,mdss-pan-bpp = <24>; - qcom,mdss-pan-dest = "display_1"; - qcom,mdss-pan-porch-values = <164 8 140 1 1 6>; - qcom,mdss-pan-underflow-clr = <0xff>; - qcom,mdss-pan-bl-ctrl = "bl_ctrl_wled"; - qcom,mdss-pan-bl-levels = <1 4095>; - qcom,mdss-pan-dsi-mode = <0>; - qcom,mdss-pan-dsi-h-pulse-mode = <1>; - qcom,mdss-pan-dsi-h-power-stop = <0 0 0>; - qcom,mdss-pan-dsi-bllp-power-stop = <1 1>; - qcom,mdss-pan-dsi-traffic-mode = <2>; - qcom,mdss-pan-dsi-dst-format = <3>; - qcom,mdss-pan-dsi-vc = <0>; - qcom,mdss-pan-dsi-rgb-swap = <0>; - qcom,mdss-pan-dsi-data-lanes = <1 1 1 1>; /* 4 lanes */ - qcom,mdss-pan-dsi-dlane-swap = <0>; - qcom,mdss-pan-dsi-t-clk = <0x2c 0x20>; - qcom,mdss-pan-dsi-stream = <0>; - qcom,mdss-pan-dsi-mdp-tr = <0x0>; - qcom,mdss-pan-dsi-dma-tr = <0x04>; - qcom,mdss-pan-dsi-frame-rate = <60>; - qcom,panel-phy-regulatorSettings = [07 09 03 00 /* Regualotor settings */ - 20 00 01]; - qcom,panel-phy-timingSettings = [7d 25 1d 00 37 33 - 22 27 1e 03 04 00]; - qcom,panel-phy-strengthCtrl = [ff 06]; - qcom,panel-phy-bistCtrl = [00 00 b1 ff /* BIST Ctrl settings */ - 00 00]; - qcom,panel-phy-laneConfig = [00 00 00 00 00 00 00 01 97 /* lane0 config */ - 00 00 00 00 05 00 00 01 97 /* lane1 config */ - 00 00 00 00 0a 00 00 01 97 /* lane2 config */ - 00 00 00 00 0f 00 00 01 97 /* lane3 config */ - 00 c0 00 00 00 00 00 01 bb]; /* Clk ln config */ - qcom,panel-on-cmds = [29 01 00 00 00 00 02 FF EE - 29 01 00 00 00 00 02 26 08 - 29 01 00 00 00 00 02 26 00 - 29 01 00 00 10 00 02 FF 00 - 29 01 00 00 00 00 02 BA 03 - 29 01 00 00 00 00 02 C2 03 - 29 01 00 00 00 00 02 FF 01 - 29 01 00 00 00 00 02 FB 01 - 29 01 00 00 00 00 02 00 4A - 29 01 00 00 00 00 02 01 33 - 29 01 00 00 00 00 02 02 53 - 29 01 00 00 00 00 02 03 55 - 29 01 00 00 00 00 02 04 55 - 29 01 00 00 00 00 02 05 33 - 29 01 00 00 00 00 02 06 22 - 29 01 00 00 00 00 02 08 56 - 29 01 00 00 00 00 02 09 8F - 29 01 00 00 00 00 02 36 73 - 29 01 00 00 00 00 02 0B 9F - 29 01 00 00 00 00 02 0C 9F - 29 01 00 00 00 00 02 0D 2F - 29 01 00 00 00 00 02 0E 24 - 29 01 00 00 00 00 02 11 83 - 29 01 00 00 00 00 02 12 03 - 29 01 00 00 00 00 02 71 2C - 29 01 00 00 00 00 02 6F 03 - 29 01 00 00 00 00 02 0F 0A - 29 01 00 00 00 00 02 FF 05 - 29 01 00 00 00 00 02 FB 01 - 29 01 00 00 00 00 02 01 00 - 29 01 00 00 00 00 02 02 8B - 29 01 00 00 00 00 02 03 82 - 29 01 00 00 00 00 02 04 82 - 29 01 00 00 00 00 02 05 30 - 29 01 00 00 00 00 02 06 33 - 29 01 00 00 00 00 02 07 01 - 29 01 00 00 00 00 02 08 00 - 29 01 00 00 00 00 02 09 46 - 29 01 00 00 00 00 02 0A 46 - 29 01 00 00 00 00 02 0D 0B - 29 01 00 00 00 00 02 0E 1D - 29 01 00 00 00 00 02 0F 08 - 29 01 00 00 00 00 02 10 53 - 29 01 00 00 00 00 02 11 00 - 29 01 00 00 00 00 02 12 00 - 29 01 00 00 00 00 02 14 01 - 29 01 00 00 00 00 02 15 00 - 29 01 00 00 00 00 02 16 05 - 29 01 00 00 00 00 02 17 00 - 29 01 00 00 00 00 02 19 7F - 29 01 00 00 00 00 02 1A FF - 29 01 00 00 00 00 02 1B 0F - 29 01 00 00 00 00 02 1C 00 - 29 01 00 00 00 00 02 1D 00 - 29 01 00 00 00 00 02 1E 00 - 29 01 00 00 00 00 02 1F 07 - 29 01 00 00 00 00 02 20 00 - 29 01 00 00 00 00 02 21 06 - 29 01 00 00 00 00 02 22 55 - 29 01 00 00 00 00 02 23 4D - 29 01 00 00 00 00 02 2D 02 - 29 01 00 00 00 00 02 28 01 - 29 01 00 00 00 00 02 2F 02 - 29 01 00 00 00 00 02 83 01 - 29 01 00 00 00 00 02 9E 58 - 29 01 00 00 00 00 02 9F 6A - 29 01 00 00 00 00 02 A0 01 - 29 01 00 00 00 00 02 A2 10 - 29 01 00 00 00 00 02 BB 0A - 29 01 00 00 00 00 02 BC 0A - 29 01 00 00 00 00 02 32 08 - 29 01 00 00 00 00 02 33 B8 - 29 01 00 00 00 00 02 36 01 - 29 01 00 00 00 00 02 37 00 - 29 01 00 00 00 00 02 43 00 - 29 01 00 00 00 00 02 4B 21 - 29 01 00 00 00 00 02 4C 03 - 29 01 00 00 00 00 02 50 21 - 29 01 00 00 00 00 02 51 03 - 29 01 00 00 00 00 02 58 21 - 29 01 00 00 00 00 02 59 03 - 29 01 00 00 00 00 02 5D 21 - 29 01 00 00 00 00 02 5E 03 - 29 01 00 00 00 00 02 6C 00 - 29 01 00 00 00 00 02 6D 00 - 29 01 00 00 00 00 02 FB 01 - 29 01 00 00 00 00 02 FF 01 - 29 01 00 00 00 00 02 FB 01 - 29 01 00 00 00 00 02 75 00 - 29 01 00 00 00 00 02 76 7D - 29 01 00 00 00 00 02 77 00 - 29 01 00 00 00 00 02 78 8A - 29 01 00 00 00 00 02 79 00 - 29 01 00 00 00 00 02 7A 9C - 29 01 00 00 00 00 02 7B 00 - 29 01 00 00 00 00 02 7C B1 - 29 01 00 00 00 00 02 7D 00 - 29 01 00 00 00 00 02 7E BF - 29 01 00 00 00 00 02 7F 00 - 29 01 00 00 00 00 02 80 CF - 29 01 00 00 00 00 02 81 00 - 29 01 00 00 00 00 02 82 DD - 29 01 00 00 00 00 02 83 00 - 29 01 00 00 00 00 02 84 E8 - 29 01 00 00 00 00 02 85 00 - 29 01 00 00 00 00 02 86 F2 - 29 01 00 00 00 00 02 87 01 - 29 01 00 00 00 00 02 88 1F - 29 01 00 00 00 00 02 89 01 - 29 01 00 00 00 00 02 8A 41 - 29 01 00 00 00 00 02 8B 01 - 29 01 00 00 00 00 02 8C 78 - 29 01 00 00 00 00 02 8D 01 - 29 01 00 00 00 00 02 8E A5 - 29 01 00 00 00 00 02 8F 01 - 29 01 00 00 00 00 02 90 EE - 29 01 00 00 00 00 02 91 02 - 29 01 00 00 00 00 02 92 29 - 29 01 00 00 00 00 02 93 02 - 29 01 00 00 00 00 02 94 2A - 29 01 00 00 00 00 02 95 02 - 29 01 00 00 00 00 02 96 5D - 29 01 00 00 00 00 02 97 02 - 29 01 00 00 00 00 02 98 93 - 29 01 00 00 00 00 02 99 02 - 29 01 00 00 00 00 02 9A B8 - 29 01 00 00 00 00 02 9B 02 - 29 01 00 00 00 00 02 9C E7 - 29 01 00 00 00 00 02 9D 03 - 29 01 00 00 00 00 02 9E 07 - 29 01 00 00 00 00 02 9F 03 - 29 01 00 00 00 00 02 A0 37 - 29 01 00 00 00 00 02 A2 03 - 29 01 00 00 00 00 02 A3 46 - 29 01 00 00 00 00 02 A4 03 - 29 01 00 00 00 00 02 A5 56 - 29 01 00 00 00 00 02 A6 03 - 29 01 00 00 00 00 02 A7 66 - 29 01 00 00 00 00 02 A9 03 - 29 01 00 00 00 00 02 AA 7A - 29 01 00 00 00 00 02 AB 03 - 29 01 00 00 00 00 02 AC 93 - 29 01 00 00 00 00 02 AD 03 - 29 01 00 00 00 00 02 AE A3 - 29 01 00 00 00 00 02 AF 03 - 29 01 00 00 00 00 02 B0 B4 - 29 01 00 00 00 00 02 B1 03 - 29 01 00 00 00 00 02 B2 CB - 29 01 00 00 00 00 02 B3 00 - 29 01 00 00 00 00 02 B4 7D - 29 01 00 00 00 00 02 B5 00 - 29 01 00 00 00 00 02 B6 8A - 29 01 00 00 00 00 02 B7 00 - 29 01 00 00 00 00 02 B8 9C - 29 01 00 00 00 00 02 B9 00 - 29 01 00 00 00 00 02 BA B1 - 29 01 00 00 00 00 02 BB 00 - 29 01 00 00 00 00 02 BC BF - 29 01 00 00 00 00 02 BD 00 - 29 01 00 00 00 00 02 BE CF - 29 01 00 00 00 00 02 BF 00 - 29 01 00 00 00 00 02 C0 DD - 29 01 00 00 00 00 02 C1 00 - 29 01 00 00 00 00 02 C2 E8 - 29 01 00 00 00 00 02 C3 00 - 29 01 00 00 00 00 02 C4 F2 - 29 01 00 00 00 00 02 C5 01 - 29 01 00 00 00 00 02 C6 1F - 29 01 00 00 00 00 02 C7 01 - 29 01 00 00 00 00 02 C8 41 - 29 01 00 00 00 00 02 C9 01 - 29 01 00 00 00 00 02 CA 78 - 29 01 00 00 00 00 02 CB 01 - 29 01 00 00 00 00 02 CC A5 - 29 01 00 00 00 00 02 CD 01 - 29 01 00 00 00 00 02 CE EE - 29 01 00 00 00 00 02 CF 02 - 29 01 00 00 00 00 02 D0 29 - 29 01 00 00 00 00 02 D1 02 - 29 01 00 00 00 00 02 D2 2A - 29 01 00 00 00 00 02 D3 02 - 29 01 00 00 00 00 02 D4 5D - 29 01 00 00 00 00 02 D5 02 - 29 01 00 00 00 00 02 D6 93 - 29 01 00 00 00 00 02 D7 02 - 29 01 00 00 00 00 02 D8 B8 - 29 01 00 00 00 00 02 D9 02 - 29 01 00 00 00 00 02 DA E7 - 29 01 00 00 00 00 02 DB 03 - 29 01 00 00 00 00 02 DC 07 - 29 01 00 00 00 00 02 DD 03 - 29 01 00 00 00 00 02 DE 37 - 29 01 00 00 00 00 02 DF 03 - 29 01 00 00 00 00 02 E0 46 - 29 01 00 00 00 00 02 E1 03 - 29 01 00 00 00 00 02 E2 56 - 29 01 00 00 00 00 02 E3 03 - 29 01 00 00 00 00 02 E4 66 - 29 01 00 00 00 00 02 E5 03 - 29 01 00 00 00 00 02 E6 7A - 29 01 00 00 00 00 02 E7 03 - 29 01 00 00 00 00 02 E8 93 - 29 01 00 00 00 00 02 E9 03 - 29 01 00 00 00 00 02 EA A3 - 29 01 00 00 00 00 02 EB 03 - 29 01 00 00 00 00 02 EC B4 - 29 01 00 00 00 00 02 ED 03 - 29 01 00 00 00 00 02 EE CB - 29 01 00 00 00 00 02 EF 00 - 29 01 00 00 00 00 02 F0 ED - 29 01 00 00 00 00 02 F1 00 - 29 01 00 00 00 00 02 F2 F3 - 29 01 00 00 00 00 02 F3 00 - 29 01 00 00 00 00 02 F4 FE - 29 01 00 00 00 00 02 F5 01 - 29 01 00 00 00 00 02 F6 09 - 29 01 00 00 00 00 02 F7 01 - 29 01 00 00 00 00 02 F8 13 - 29 01 00 00 00 00 02 F9 01 - 29 01 00 00 00 00 02 FA 1D - 29 01 00 00 00 00 02 FF 02 - 29 01 00 00 00 00 02 FB 01 - 29 01 00 00 00 00 02 00 01 - 29 01 00 00 00 00 02 01 26 - 29 01 00 00 00 00 02 02 01 - 29 01 00 00 00 00 02 03 2F - 29 01 00 00 00 00 02 04 01 - 29 01 00 00 00 00 02 05 37 - 29 01 00 00 00 00 02 06 01 - 29 01 00 00 00 00 02 07 56 - 29 01 00 00 00 00 02 08 01 - 29 01 00 00 00 00 02 09 70 - 29 01 00 00 00 00 02 0A 01 - 29 01 00 00 00 00 02 0B 9D - 29 01 00 00 00 00 02 0C 01 - 29 01 00 00 00 00 02 0D C2 - 29 01 00 00 00 00 02 0E 01 - 29 01 00 00 00 00 02 0F FF - 29 01 00 00 00 00 02 10 02 - 29 01 00 00 00 00 02 11 31 - 29 01 00 00 00 00 02 12 02 - 29 01 00 00 00 00 02 13 32 - 29 01 00 00 00 00 02 14 02 - 29 01 00 00 00 00 02 15 60 - 29 01 00 00 00 00 02 16 02 - 29 01 00 00 00 00 02 17 94 - 29 01 00 00 00 00 02 18 02 - 29 01 00 00 00 00 02 19 B5 - 29 01 00 00 00 00 02 1A 02 - 29 01 00 00 00 00 02 1B E3 - 29 01 00 00 00 00 02 1C 03 - 29 01 00 00 00 00 02 1D 03 - 29 01 00 00 00 00 02 1E 03 - 29 01 00 00 00 00 02 1F 2D - 29 01 00 00 00 00 02 20 03 - 29 01 00 00 00 00 02 21 3A - 29 01 00 00 00 00 02 22 03 - 29 01 00 00 00 00 02 23 48 - 29 01 00 00 00 00 02 24 03 - 29 01 00 00 00 00 02 25 57 - 29 01 00 00 00 00 02 26 03 - 29 01 00 00 00 00 02 27 68 - 29 01 00 00 00 00 02 28 03 - 29 01 00 00 00 00 02 29 7B - 29 01 00 00 00 00 02 2A 03 - 29 01 00 00 00 00 02 2B 90 - 29 01 00 00 00 00 02 2D 03 - 29 01 00 00 00 00 02 2F A0 - 29 01 00 00 00 00 02 30 03 - 29 01 00 00 00 00 02 31 CB - 29 01 00 00 00 00 02 32 00 - 29 01 00 00 00 00 02 33 ED - 29 01 00 00 00 00 02 34 00 - 29 01 00 00 00 00 02 35 F3 - 29 01 00 00 00 00 02 36 00 - 29 01 00 00 00 00 02 37 FE - 29 01 00 00 00 00 02 38 01 - 29 01 00 00 00 00 02 39 09 - 29 01 00 00 00 00 02 3A 01 - 29 01 00 00 00 00 02 3B 13 - 29 01 00 00 00 00 02 3D 01 - 29 01 00 00 00 00 02 3F 1D - 29 01 00 00 00 00 02 40 01 - 29 01 00 00 00 00 02 41 26 - 29 01 00 00 00 00 02 42 01 - 29 01 00 00 00 00 02 43 2F - 29 01 00 00 00 00 02 44 01 - 29 01 00 00 00 00 02 45 37 - 29 01 00 00 00 00 02 46 01 - 29 01 00 00 00 00 02 47 56 - 29 01 00 00 00 00 02 48 01 - 29 01 00 00 00 00 02 49 70 - 29 01 00 00 00 00 02 4A 01 - 29 01 00 00 00 00 02 4B 9D - 29 01 00 00 00 00 02 4C 01 - 29 01 00 00 00 00 02 4D C2 - 29 01 00 00 00 00 02 4E 01 - 29 01 00 00 00 00 02 4F FF - 29 01 00 00 00 00 02 50 02 - 29 01 00 00 00 00 02 51 31 - 29 01 00 00 00 00 02 52 02 - 29 01 00 00 00 00 02 53 32 - 29 01 00 00 00 00 02 54 02 - 29 01 00 00 00 00 02 55 60 - 29 01 00 00 00 00 02 56 02 - 29 01 00 00 00 00 02 58 94 - 29 01 00 00 00 00 02 59 02 - 29 01 00 00 00 00 02 5A B5 - 29 01 00 00 00 00 02 5B 02 - 29 01 00 00 00 00 02 5C E3 - 29 01 00 00 00 00 02 5D 03 - 29 01 00 00 00 00 02 5E 03 - 29 01 00 00 00 00 02 5F 03 - 29 01 00 00 00 00 02 60 2D - 29 01 00 00 00 00 02 61 03 - 29 01 00 00 00 00 02 62 3A - 29 01 00 00 00 00 02 63 03 - 29 01 00 00 00 00 02 64 48 - 29 01 00 00 00 00 02 65 03 - 29 01 00 00 00 00 02 66 57 - 29 01 00 00 00 00 02 67 03 - 29 01 00 00 00 00 02 68 68 - 29 01 00 00 00 00 02 69 03 - 29 01 00 00 00 00 02 6A 7B - 29 01 00 00 00 00 02 6B 03 - 29 01 00 00 00 00 02 6C 90 - 29 01 00 00 00 00 02 6D 03 - 29 01 00 00 00 00 02 6E A0 - 29 01 00 00 00 00 02 6F 03 - 29 01 00 00 00 00 02 70 CB - 29 01 00 00 00 00 02 71 00 - 29 01 00 00 00 00 02 72 19 - 29 01 00 00 00 00 02 73 00 - 29 01 00 00 00 00 02 74 36 - 29 01 00 00 00 00 02 75 00 - 29 01 00 00 00 00 02 76 55 - 29 01 00 00 00 00 02 77 00 - 29 01 00 00 00 00 02 78 70 - 29 01 00 00 00 00 02 79 00 - 29 01 00 00 00 00 02 7A 83 - 29 01 00 00 00 00 02 7B 00 - 29 01 00 00 00 00 02 7C 99 - 29 01 00 00 00 00 02 7D 00 - 29 01 00 00 00 00 02 7E A8 - 29 01 00 00 00 00 02 7F 00 - 29 01 00 00 00 00 02 80 B7 - 29 01 00 00 00 00 02 81 00 - 29 01 00 00 00 00 02 82 C5 - 29 01 00 00 00 00 02 83 00 - 29 01 00 00 00 00 02 84 F7 - 29 01 00 00 00 00 02 85 01 - 29 01 00 00 00 00 02 86 1E - 29 01 00 00 00 00 02 87 01 - 29 01 00 00 00 00 02 88 60 - 29 01 00 00 00 00 02 89 01 - 29 01 00 00 00 00 02 8A 95 - 29 01 00 00 00 00 02 8B 01 - 29 01 00 00 00 00 02 8C E1 - 29 01 00 00 00 00 02 8D 02 - 29 01 00 00 00 00 02 8E 20 - 29 01 00 00 00 00 02 8F 02 - 29 01 00 00 00 00 02 90 23 - 29 01 00 00 00 00 02 91 02 - 29 01 00 00 00 00 02 92 59 - 29 01 00 00 00 00 02 93 02 - 29 01 00 00 00 00 02 94 94 - 29 01 00 00 00 00 02 95 02 - 29 01 00 00 00 00 02 96 B4 - 29 01 00 00 00 00 02 97 02 - 29 01 00 00 00 00 02 98 E1 - 29 01 00 00 00 00 02 99 03 - 29 01 00 00 00 00 02 9A 01 - 29 01 00 00 00 00 02 9B 03 - 29 01 00 00 00 00 02 9C 28 - 29 01 00 00 00 00 02 9D 03 - 29 01 00 00 00 00 02 9E 30 - 29 01 00 00 00 00 02 9F 03 - 29 01 00 00 00 00 02 A0 37 - 29 01 00 00 00 00 02 A2 03 - 29 01 00 00 00 00 02 A3 3B - 29 01 00 00 00 00 02 A4 03 - 29 01 00 00 00 00 02 A5 40 - 29 01 00 00 00 00 02 A6 03 - 29 01 00 00 00 00 02 A7 50 - 29 01 00 00 00 00 02 A9 03 - 29 01 00 00 00 00 02 AA 6D - 29 01 00 00 00 00 02 AB 03 - 29 01 00 00 00 00 02 AC 80 - 29 01 00 00 00 00 02 AD 03 - 29 01 00 00 00 00 02 AE CB - 29 01 00 00 00 00 02 AF 00 - 29 01 00 00 00 00 02 B0 19 - 29 01 00 00 00 00 02 B1 00 - 29 01 00 00 00 00 02 B2 36 - 29 01 00 00 00 00 02 B3 00 - 29 01 00 00 00 00 02 B4 55 - 29 01 00 00 00 00 02 B5 00 - 29 01 00 00 00 00 02 B6 70 - 29 01 00 00 00 00 02 B7 00 - 29 01 00 00 00 00 02 B8 83 - 29 01 00 00 00 00 02 B9 00 - 29 01 00 00 00 00 02 BA 99 - 29 01 00 00 00 00 02 BB 00 - 29 01 00 00 00 00 02 BC A8 - 29 01 00 00 00 00 02 BD 00 - 29 01 00 00 00 00 02 BE B7 - 29 01 00 00 00 00 02 BF 00 - 29 01 00 00 00 00 02 C0 C5 - 29 01 00 00 00 00 02 C1 00 - 29 01 00 00 00 00 02 C2 F7 - 29 01 00 00 00 00 02 C3 01 - 29 01 00 00 00 00 02 C4 1E - 29 01 00 00 00 00 02 C5 01 - 29 01 00 00 00 00 02 C6 60 - 29 01 00 00 00 00 02 C7 01 - 29 01 00 00 00 00 02 C8 95 - 29 01 00 00 00 00 02 C9 01 - 29 01 00 00 00 00 02 CA E1 - 29 01 00 00 00 00 02 CB 02 - 29 01 00 00 00 00 02 CC 20 - 29 01 00 00 00 00 02 CD 02 - 29 01 00 00 00 00 02 CE 23 - 29 01 00 00 00 00 02 CF 02 - 29 01 00 00 00 00 02 D0 59 - 29 01 00 00 00 00 02 D1 02 - 29 01 00 00 00 00 02 D2 94 - 29 01 00 00 00 00 02 D3 02 - 29 01 00 00 00 00 02 D4 B4 - 29 01 00 00 00 00 02 D5 02 - 29 01 00 00 00 00 02 D6 E1 - 29 01 00 00 00 00 02 D7 03 - 29 01 00 00 00 00 02 D8 01 - 29 01 00 00 00 00 02 D9 03 - 29 01 00 00 00 00 02 DA 28 - 29 01 00 00 00 00 02 DB 03 - 29 01 00 00 00 00 02 DC 30 - 29 01 00 00 00 00 02 DD 03 - 29 01 00 00 00 00 02 DE 37 - 29 01 00 00 00 00 02 DF 03 - 29 01 00 00 00 00 02 E0 3B - 29 01 00 00 00 00 02 E1 03 - 29 01 00 00 00 00 02 E2 40 - 29 01 00 00 00 00 02 E3 03 - 29 01 00 00 00 00 02 E4 50 - 29 01 00 00 00 00 02 E5 03 - 29 01 00 00 00 00 02 E6 6D - 29 01 00 00 00 00 02 E7 03 - 29 01 00 00 00 00 02 E8 80 - 29 01 00 00 00 00 02 E9 03 - 29 01 00 00 00 00 02 EA CB - 29 01 00 00 00 00 02 FF 01 - 29 01 00 00 00 00 02 FB 01 - 29 01 00 00 00 00 02 FF 02 - 29 01 00 00 00 00 02 FB 01 - 29 01 00 00 00 00 02 FF 04 - 29 01 00 00 00 00 02 FB 01 - 29 01 00 00 00 00 02 FF 00 - 29 01 00 00 64 00 02 11 00 - 29 01 00 00 00 00 02 FF EE - 29 01 00 00 00 00 02 12 50 - 29 01 00 00 00 00 02 13 02 - 29 01 00 00 00 00 02 6A 60 - 29 01 00 00 00 00 02 FF 00 - 29 01 00 00 78 00 02 29 00]; - - qcom,on-cmds-dsi-state = "DSI_LP_MODE"; - qcom,panel-off-cmds = [05 01 00 00 32 00 02 28 00 - 05 01 00 00 78 00 02 10 00]; - qcom,off-cmds-dsi-state = "DSI_HS_MODE"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/dsi-panel-orise-720p-video.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v1/dsi-panel-orise-720p-video.dtsi deleted file mode 100644 index 478541fb1..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/dsi-panel-orise-720p-video.dtsi +++ /dev/null @@ -1,60 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -&soc { - qcom,mdss_dsi_orise_720p_video { - compatible = "qcom,mdss-dsi-panel"; - label = "orise 720p video mode dsi panel"; - status = "disable"; - qcom,dsi-ctrl-phandle = <&mdss_dsi1>; - qcom,mdss-pan-res = <720 1280>; - qcom,mdss-pan-bpp = <24>; - qcom,mdss-pan-dest = "display_2"; - qcom,mdss-pan-porch-values = <32 12 144 3 4 9>; - qcom,mdss-pan-underflow-clr = <0xff>; - qcom,mdss-pan-bl-levels = <1 255>; - qcom,mdss-pan-dsi-mode = <0>; - qcom,mdss-pan-dsi-h-pulse-mode = <0>; - qcom,mdss-pan-dsi-h-power-stop = <0 0 0>; - qcom,mdss-pan-dsi-bllp-power-stop = <1 1>; - qcom,mdss-pan-dsi-traffic-mode = <1>; - qcom,mdss-pan-dsi-dst-format = <3>; - qcom,mdss-pan-dsi-vc = <0>; - qcom,mdss-pan-dsi-rgb-swap = <0>; - qcom,mdss-pan-dsi-data-lanes = <1 1 1 1>; - qcom,mdss-pan-dsi-dlane-swap = <0>; - qcom,mdss-pan-dsi-t-clk = <0x1b 0x04>; - qcom,mdss-pan-dsi-stream = <0>; - qcom,mdss-pan-dsi-mdp-tr = <0x0>; - qcom,mdss-pan-dsi-dma-tr = <0x04>; - qcom,mdss-pan-dsi-frame-rate = <60>; - qcom,panel-phy-regulatorSettings = [03 01 01 00 /* Regualotor settings */ - 20 00 01]; - qcom,panel-phy-timingSettings = [69 29 1f 00 55 55 - 19 2a 2a 03 04 00]; - qcom,panel-phy-strengthCtrl = [77 06]; - qcom,panel-phy-bistCtrl = [00 00 b1 ff /* BIST Ctrl settings */ - 00 00]; - qcom,panel-phy-laneConfig = [00 c2 45 00 00 00 00 01 75 /* lane0 config */ - 00 c2 45 00 00 00 00 01 75 /* lane1 config */ - 00 c2 45 00 00 00 00 01 75 /* lane2 config */ - 00 c2 45 00 00 00 00 01 75 /* lane3 config */ - 00 02 45 00 00 00 00 01 97]; /* Clk ln config */ - - qcom,panel-on-cmds = [05 01 00 00 78 00 02 11 00 - 05 01 00 00 78 00 02 29 00]; - qcom,on-cmds-dsi-state = "DSI_LP_MODE"; - qcom,panel-off-cmds = [05 01 00 00 32 00 02 28 00 - 05 01 00 00 78 00 02 10 00]; - qcom,off-cmds-dsi-state = "DSI_LP_MODE"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/dsi-panel-sharp-qhd-video.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v1/dsi-panel-sharp-qhd-video.dtsi deleted file mode 100644 index 45d396cdc..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/dsi-panel-sharp-qhd-video.dtsi +++ /dev/null @@ -1,67 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -&soc { - qcom,mdss_dsi_sharp_qhd_video { - compatible = "qcom,mdss-dsi-panel"; - label = "sharp QHD LS043T1LE01 video mode dsi panel"; - status = "disable"; - qcom,dsi-ctrl-phandle = <&mdss_dsi0>; - qcom,enable-gpio = <&msmgpio 58 0>; - qcom,rst-gpio = <&pm8941_gpios 19 0>; - qcom,mdss-pan-res = <540 960>; - qcom,mdss-pan-bpp = <24>; - qcom,mdss-pan-dest = "display_1"; - qcom,mdss-pan-porch-values = <80 32 48 15 10 3>; /* HBP, HPW, HFP, VBP, VPW, VFP */ - qcom,mdss-pan-underflow-clr = <0xff>; - qcom,mdss-pan-bl-ctrl = "bl_ctrl_wled"; - qcom,mdss-pan-bl-levels = <1 4095>; - qcom,mdss-pan-dsi-mode = <0>; - qcom,mdss-pan-dsi-h-pulse-mode = <1>; - qcom,mdss-pan-dsi-h-power-stop = <0 0 0>; - qcom,mdss-pan-dsi-bllp-power-stop = <1 1>; - qcom,mdss-pan-dsi-traffic-mode = <0>; - qcom,mdss-pan-dsi-dst-format = <3>; - qcom,mdss-pan-dsi-vc = <0>; - qcom,mdss-pan-dsi-rgb-swap = <2>; - qcom,mdss-pan-dsi-data-lanes = <1 1 0 0>; - qcom,mdss-pan-dsi-dlane-swap = <0>; - qcom,mdss-pan-dsi-t-clk = <0x1c 0x04>; - qcom,mdss-pan-dsi-stream = <0>; - qcom,mdss-pan-dsi-mdp-tr = <0x04>; - qcom,mdss-pan-dsi-dma-tr = <0x04>; - qcom,mdss-pan-frame-rate = <60>; - qcom,panel-phy-regulatorSettings = [07 09 03 00 /* Regulator settings */ - 20 00 01]; - qcom,panel-phy-timingSettings = [46 1d 20 00 39 3a - 21 21 32 03 04 00]; - qcom,panel-phy-strengthCtrl = [ff 06]; - qcom,panel-phy-bistCtrl = [00 00 b1 ff /* BIST Ctrl settings */ - 00 00]; - qcom,panel-phy-laneConfig = [00 00 00 00 00 00 00 01 97 /* lane0 config */ - 00 00 00 00 05 00 00 01 97 /* lane1 config */ - 00 00 00 00 0a 00 00 01 97 /* lane2 config */ - 00 00 00 00 0f 00 00 01 97 /* lane3 config */ - 00 c0 00 00 00 00 00 01 bb]; /* Clk ln config */ - qcom,panel-on-cmds = [05 01 00 00 32 00 02 01 00 /* sw reset */ - 05 01 00 00 0a 00 02 11 00 /* exit sleep */ - 15 01 00 00 0a 00 02 53 2c /* backlight on */ - 15 01 00 00 0a 00 02 51 ff /* brightness max */ - 05 01 00 00 0a 00 02 29 00 /* display on */ - 15 01 00 00 0a 00 02 ae 03 /* set num of lanes */ - 15 01 00 00 0a 00 02 3a 77 /* rgb_888 */]; - qcom,on-cmds-dsi-state = "DSI_LP_MODE"; - qcom,panel-off-cmds = [05 01 00 00 0a 00 02 28 00 /* display off */ - 05 01 00 00 78 00 02 10 00 /* enter sleep */]; - qcom,off-cmds-dsi-state = "DSI_HS_MODE"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/dsi-panel-sim-video.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v1/dsi-panel-sim-video.dtsi deleted file mode 100644 index 271e37316..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/dsi-panel-sim-video.dtsi +++ /dev/null @@ -1,46 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&soc { - - qcom,mdss_dsi_sim_video { - compatible = "qcom,mdss-dsi-panel"; - label = "simulator video mode dsi panel"; - status = "disable"; - qcom,dsi-ctrl-phandle = <&mdss_dsi0>; - qcom,mdss-pan-res = <640 480>; - qcom,mdss-pan-bpp = <24>; - qcom,mdss-pan-dest = "display_1"; - qcom,mdss-pan-porch-values = <6 2 6 6 2 6>; - qcom,mdss-pan-underflow-clr = <0xff>; - qcom,mdss-pan-bl-levels = <1 15>; - qcom,mdss-pan-dsi-mode = <0>; - qcom,mdss-pan-dsi-h-pulse-mode = <1>; - qcom,mdss-pan-dsi-h-power-stop = <1 1 1>; - qcom,mdss-pan-dsi-bllp-power-stop = <1 1>; - qcom,mdss-pan-dsi-traffic-mode = <0>; - qcom,mdss-pan-dsi-dst-format = <3>; - qcom,mdss-pan-dsi-vc = <0>; - qcom,mdss-pan-dsi-rgb-swap = <0>; - qcom,mdss-pan-dsi-data-lanes = <1 1 0 0>; - qcom,mdss-pan-dsi-dlane-swap = <0>; - qcom,mdss-pan-dsi-t-clk = <0x24 0x03>; - qcom,mdss-pan-dsi-stream = <0>; - qcom,mdss-pan-dsi-mdp-tr = <0x04>; - qcom,mdss-pan-dsi-dma-tr = <0x04>; - qcom,mdss-pan-dsi-frame-rate = <60>; - qcom,panel-on-cmds = [32 01 00 00 00 00 02 00 00]; - qcom,on-cmds-dsi-state = "DSI_LP_MODE"; - qcom,panel-off-cmds = [22 01 00 00 00 00 02 00 00]; - qcom,off-cmds-dsi-state = "DSI_LP_MODE"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/dsi-panel-toshiba-720p-video.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v1/dsi-panel-toshiba-720p-video.dtsi deleted file mode 100644 index 5c37cf8dc..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/dsi-panel-toshiba-720p-video.dtsi +++ /dev/null @@ -1,124 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&soc { - - qcom,mdss_dsi_toshiba_720p_video { - compatible = "qcom,mdss-dsi-panel"; - label = "toshiba 720p video mode dsi panel"; - status = "disable"; - qcom,dsi-ctrl-phandle = <&mdss_dsi0>; - qcom,enable-gpio = <&msmgpio 58 0>; - qcom,rst-gpio = <&pm8941_gpios 19 0>; - qcom,mdss-pan-res = <720 1280>; - qcom,mdss-pan-bpp = <24>; - qcom,mdss-pan-dest = "display_1"; - qcom,mdss-pan-porch-values = <32 12 144 3 4 9>; - qcom,mdss-pan-underflow-clr = <0xff>; - qcom,mdss-pan-bl-ctrl = "bl_ctrl_wled"; - qcom,mdss-pan-bl-levels = <1 4095>; - qcom,mdss-pan-dsi-mode = <0>; - qcom,mdss-pan-dsi-h-pulse-mode = <0>; - qcom,mdss-pan-dsi-h-power-stop = <0 0 0>; - qcom,mdss-pan-dsi-bllp-power-stop = <1 1>; - qcom,mdss-pan-dsi-traffic-mode = <1>; - qcom,mdss-pan-dsi-dst-format = <3>; - qcom,mdss-pan-dsi-vc = <0>; - qcom,mdss-pan-dsi-rgb-swap = <0>; - qcom,mdss-pan-dsi-data-lanes = <1 1 1 1>; - qcom,mdss-pan-dsi-dlane-swap = <0>; - qcom,mdss-pan-dsi-t-clk = <0x1b 0x04>; - qcom,mdss-pan-dsi-stream = <0>; - qcom,mdss-pan-dsi-mdp-tr = <0x0>; - qcom,mdss-pan-dsi-dma-tr = <0x04>; - qcom,mdss-pan-dsi-frame-rate = <60>; - qcom,panel-phy-regulatorSettings = [07 09 03 00 /* Regualotor settings */ - 20 00 01]; - qcom,panel-phy-timingSettings = [b0 23 1b 00 94 93 - 1e 25 15 03 04 00]; - qcom,panel-phy-strengthCtrl = [ff 06]; - qcom,panel-phy-bistCtrl = [00 00 b1 ff /* BIST Ctrl settings */ - 00 00]; - qcom,panel-phy-laneConfig = [00 00 00 00 00 00 00 01 97 /* lane0 config */ - 00 00 00 00 05 00 00 01 97 /* lane1 config */ - 00 00 00 00 0a 00 00 01 97 /* lane2 config */ - 00 00 00 00 0f 00 00 01 97 /* lane3 config */ - 00 c0 00 00 00 00 00 01 bb]; /* Clk ln config */ - - qcom,panel-on-cmds = [23 01 00 00 0a 00 02 b0 00 - 23 01 00 00 0a 00 02 b2 00 - 23 01 00 00 0a 00 02 b3 0c - 23 01 00 00 0a 00 02 b4 02 - 29 01 00 00 00 00 06 - c0 40 02 7f c8 08 - 29 01 00 00 00 00 10 - c1 00 a8 00 00 00 - 00 00 9d 08 27 00 - 00 00 00 00 - 29 01 00 00 00 00 06 - c2 00 00 09 00 00 - 23 01 00 00 0a 00 02 c3 04 - 29 01 00 00 00 00 04 - c4 4d 83 00 - 29 01 00 00 00 00 0b - c6 12 00 08 71 00 - 00 00 80 00 04 - 23 01 00 00 0a 00 02 c7 22 - 29 01 00 00 00 00 05 - c8 4c 0c 0c 0c - 29 01 00 00 00 00 0e - c9 00 40 00 16 32 - 2e 3a 43 3e 3c 45 - 79 3f - 29 01 00 00 00 00 0e - ca 00 46 1a 23 21 - 1c 25 31 2d 49 5f - 7f 3f - 29 01 00 00 00 00 0e - cb 00 4c 20 3a 42 - 40 47 4b 42 3e 46 - 7e 3f - 29 01 00 00 00 00 0e - cc 00 41 19 21 1d - 14 18 1f 1d 25 3f - 73 3f - 29 01 00 00 00 00 0e - cd 23 79 5a 5f 57 - 4c 51 51 45 3f 4b - 7f 3f - 29 01 00 00 00 00 0e - ce 00 40 14 20 1a - 0e 0e 13 08 00 05 - 46 1c - 29 01 00 00 00 00 04 - d0 6a 64 01 - 29 01 00 00 00 00 03 d1 77 d4 - 23 01 00 00 0a 00 02 d3 33 - 29 01 00 00 00 00 03 d5 0f 0f - 29 01 00 00 00 00 07 - d8 34 64 23 25 62 - 32 - 29 01 00 00 00 00 0c - de 10 7b 11 0a 00 - 00 00 00 00 00 00 - 29 01 00 00 00 00 09 - fd 04 55 53 00 70 - ff 10 73 - 23 01 00 00 0a 00 02 e2 00 - 05 01 00 00 78 00 02 11 00 - 05 01 00 00 32 00 02 29 00]; - qcom,on-cmds-dsi-state = "DSI_LP_MODE"; - qcom,panel-off-cmds = [05 01 00 00 32 00 02 28 00 - 05 01 00 00 78 00 02 10 00]; - qcom,off-cmds-dsi-state = "DSI_HS_MODE"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/dsi-v2-panel-hx8379a-wvga-video.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v1/dsi-v2-panel-hx8379a-wvga-video.dtsi deleted file mode 100644 index b9ed0506a..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/dsi-v2-panel-hx8379a-wvga-video.dtsi +++ /dev/null @@ -1,117 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/ { - qcom,dsi_v2_hx8379a_wvga_video { - compatible = "qcom,dsi-panel-v2"; - label = "HX8379A WVGA video mode dsi panel"; - qcom,dsi-ctrl-phandle = <&mdss_dsi0>; - qcom,rst-gpio = <&msmgpio 41 0>; - vdda-supply = <&pm8110_l19>; - vddio-supply=<&pm8110_l14>; - qcom,mdss-pan-res = <480 800>; - qcom,mdss-pan-bpp = <24>; - qcom,mdss-pan-dest = "display_1"; - qcom,mdss-pan-porch-values = <90 17 90 2 3 11>; - qcom,mdss-pan-underflow-clr = <0xff>; - qcom,mdss-pan-bl-levels = <1 255>; - qcom,mdss-pan-bl-ctrl = "bl_ctrl_wled"; - qcom,mdss-pan-dsi-mode = <0>; - qcom,mdss-pan-dsi-h-pulse-mode = <1>; - qcom,mdss-pan-dsi-h-power-stop = <0 0 0>; - qcom,mdss-pan-dsi-bllp-power-stop = <1 1>; - qcom,mdss-pan-dsi-traffic-mode = <2>; - qcom,mdss-pan-dsi-dst-format = <3>; - qcom,mdss-pan-dsi-vc = <0>; - qcom,mdss-pan-dsi-rgb-swap = <0>; - qcom,mdss-pan-dsi-data-lanes = <1 1 0 0>; - qcom,mdss-pan-dsi-dlane-swap = <1>; - qcom,mdss-pan-dsi-t-clk = <0x1b 0x04>; - qcom,mdss-pan-dsi-stream = <0>; - qcom,mdss-pan-dsi-mdp-tr = <0x0>;/*todo*/ - qcom,mdss-pan-dsi-dma-tr = <0x04>; - qcom,mdss-pan-dsi-frame-rate = <60>; - qcom,panel-phy-regulatorSettings =[09 08 05 00 20 03]; - qcom,panel-phy-timingSettings = [5D 12 0C 00 33 39 - 10 16 15 03 04 00]; - qcom,panel-phy-strengthCtrl = [ff 06]; - qcom,panel-phy-bistCtrl = [03 03 00 00 0f 00]; - qcom,panel-phy-laneConfig = - [80 45 00 00 01 66 /*lane0**/ - 80 45 00 00 01 66 /*lane1*/ - 80 45 00 00 01 66 /*lane2*/ - 80 45 00 00 01 66 /*lane3*/ - 40 67 00 00 01 88]; /*Clk*/ - - qcom,on-cmds-dsi-state = "DSI_LP_MODE"; - qcom,panel-on-cmds = [ - 29 01 00 00 01 04 - B9 FF 83 79 - 23 01 00 00 01 02 - BA 51 - 29 01 00 00 01 14 - B1 00 50 44 - EA 8D 08 11 - 0F 0F 24 2C - 9A 1A 42 0B - 6E F1 00 E6 - 29 01 00 00 01 0e - B2 00 00 3C - 08 04 19 22 - 00 FF 08 04 - 19 20 - 29 01 00 00 01 20 - B4 80 08 00 - 32 10 03 32 - 13 70 32 10 - 08 37 01 28 - 05 37 08 3C - 20 44 44 08 - 00 40 08 28 - 08 30 30 04 - 23 01 00 00 01 02 - cc 02 - 29 01 00 00 01 30 - D5 00 00 08 - 00 01 05 00 - 03 00 88 88 - 88 88 23 01 - 67 45 02 13 - 88 88 88 88 - 88 88 88 88 - 88 88 54 76 - 10 32 31 20 - 88 88 88 88 - 88 88 00 00 - 00 00 00 00 - 29 01 00 00 01 24 - E0 79 00 00 - 02 1C 1F 33 - 28 3E 07 0E - 0F 15 17 16 - 16 13 19 00 - 00 02 1C 1F - 33 28 3E 07 - 0E 0F 15 17 - 16 16 13 19 - 29 01 00 00 01 05 - B6 00 A6 00 A6 - 05 01 00 00 96 02 - 11 00 - 05 01 00 00 78 02 - 29 00 - ]; - qcom,panel-off-cmds = [05 01 00 00 32 02 28 00 - 05 01 00 00 78 02 10 00]; - qcom,off-cmds-dsi-state = "DSI_LP_MODE"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/dsi-v2-panel-truly-wvga-video.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v1/dsi-v2-panel-truly-wvga-video.dtsi deleted file mode 100644 index 891eac3ad..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/dsi-v2-panel-truly-wvga-video.dtsi +++ /dev/null @@ -1,120 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/ { - qcom,dsi_v2_truly_wvga_video { - compatible = "qcom,dsi-panel-v2"; - label = "Truly WVGA video mode dsi panel"; - qcom,dsi-ctrl-phandle = <&mdss_dsi0>; - qcom,rst-gpio = <&msmgpio 41 0>; - qcom,mode-selection-gpio = <&msmgpio 7 0>; - vdda-supply = <&pm8110_l19>; - vddio-supply=<&pm8110_l14>; - qcom,mdss-pan-res = <480 800>; - qcom,mdss-pan-bpp = <24>; - qcom,mdss-pan-dest = "display_1"; - qcom,mdss-pan-porch-values = <40 8 160 10 2 12>; - qcom,mdss-pan-underflow-clr = <0xff>; - qcom,mdss-pan-bl-levels = <1 255>; - qcom,mdss-pan-bl-ctrl = "bl_ctrl_wled"; - qcom,mdss-pan-dsi-mode = <0>; - qcom,mdss-pan-dsi-h-pulse-mode = <0>; - qcom,mdss-pan-dsi-h-power-stop = <0 0 0>; - qcom,mdss-pan-dsi-bllp-power-stop = <1 1>; - qcom,mdss-pan-dsi-traffic-mode = <1>; - qcom,mdss-pan-dsi-dst-format = <3>; - qcom,mdss-pan-dsi-vc = <0>; - qcom,mdss-pan-dsi-rgb-swap = <0>; - qcom,mdss-pan-dsi-data-lanes = <1 1 0 0>; - qcom,mdss-pan-dsi-dlane-swap = <0>; - qcom,mdss-pan-dsi-t-clk = <0x1b 0x04>; - qcom,mdss-pan-dsi-stream = <0>; - qcom,mdss-pan-dsi-mdp-tr = <0x0>;/*todo*/ - qcom,mdss-pan-dsi-dma-tr = <0x04>; - qcom,mdss-pan-dsi-frame-rate = <60>; - qcom,panel-phy-regulatorSettings =[09 08 05 00 20 03]; - qcom,panel-phy-timingSettings = [5D 12 0C 00 33 38 - 10 16 1E 03 04 00]; - qcom,panel-phy-strengthCtrl = [ff 06]; - qcom,panel-phy-bistCtrl = [03 03 00 00 0f 00]; - qcom,panel-phy-laneConfig = - [80 45 00 00 01 66 /*lane0**/ - 80 45 00 00 01 66 /*lane1*/ - 80 45 00 00 01 66 /*lane2*/ - 80 45 00 00 01 66 /*lane3*/ - 40 67 00 00 01 88]; /*Clk*/ - - qcom,on-cmds-dsi-state = "DSI_LP_MODE"; - qcom,panel-on-cmds = [ - 05 01 00 00 00 02 - 01 00 - 23 01 00 00 00 02 - b0 04 - 29 01 00 00 00 03 - b3 02 00 - 23 01 00 00 00 02 - bd 00 - 29 01 00 00 00 03 - c0 18 66 - 29 01 00 00 00 10 - c1 23 31 99 21 20 00 30 28 0c 0c - 00 00 00 21 01 - 29 01 00 00 00 07 - c2 10 06 06 01 03 00 - 29 01 00 00 00 19 - c8 04 10 18 20 2e 46 3c 28 1f 18 - 10 04 04 10 18 20 2e 46 3c 28 1f 18 10 04 - 29 01 00 00 00 19 - c9 04 10 18 20 2e 46 3c 28 1f 18 - 10 04 04 10 18 20 2e 46 3c 28 1f 18 10 04 - 29 01 00 00 00 19 - ca 04 10 18 20 2e 46 3c 28 1f 18 - 10 04 04 10 18 20 2e 46 3c 28 1f 18 10 04 - 29 01 00 00 00 11 - d0 29 03 ce a6 00 43 20 10 01 00 - 01 01 00 03 01 00 - 29 01 00 00 00 08 - d1 18 0C 23 03 75 02 50 - 23 01 00 00 00 02 - d3 11 - 29 01 00 00 00 03 - d5 2a 2a - 29 01 00 00 00 03 - de 01 41 - 23 01 00 00 00 02 - e6 51 - 23 01 00 00 00 02 - fa 03 - 23 01 00 00 64 02 - d6 28 - 39 01 00 00 00 05 - 2a 00 00 01 df - 39 01 00 00 00 05 - 2b 00 00 03 1f - 15 01 00 00 00 02 - 35 00 - 39 01 00 00 00 03 - 44 00 50 - 15 01 00 00 00 02 - 36 c1 - 15 01 00 00 00 02 - 3a 77 - 05 01 00 00 7D 02 - 11 00 - 05 01 00 00 14 02 - 29 00 - ]; - qcom,panel-off-cmds = [05 01 00 00 32 02 28 00 - 05 01 00 00 78 02 10 00]; - qcom,off-cmds-dsi-state = "DSI_LP_MODE"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/exynos4210-origen.dts b/kernel/arch/arm/boot/dts/tr961-5200l-v1/exynos4210-origen.dts deleted file mode 100644 index b8c476384..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/exynos4210-origen.dts +++ /dev/null @@ -1,137 +0,0 @@ -/* - * Samsung's Exynos4210 based Origen board device tree source - * - * Copyright (c) 2010-2011 Samsung Electronics Co., Ltd. - * http://www.samsung.com - * Copyright (c) 2010-2011 Linaro Ltd. - * www.linaro.org - * - * Device tree source file for Insignal's Origen board which is based on - * Samsung's Exynos4210 SoC. - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. -*/ - -/dts-v1/; -/include/ "exynos4210.dtsi" - -/ { - model = "Insignal Origen evaluation board based on Exynos4210"; - compatible = "insignal,origen", "samsung,exynos4210"; - - memory { - reg = <0x40000000 0x40000000>; - }; - - chosen { - bootargs ="root=/dev/ram0 rw ramdisk=8192 initrd=0x41000000,8M console=ttySAC2,115200 init=/linuxrc"; - }; - - sdhci@12530000 { - samsung,sdhci-bus-width = <4>; - linux,mmc_cap_4_bit_data; - samsung,sdhci-cd-internal; - gpio-cd = <&gpk2 2 2 3 3>; - gpios = <&gpk2 0 2 0 3>, - <&gpk2 1 2 0 3>, - <&gpk2 3 2 3 3>, - <&gpk2 4 2 3 3>, - <&gpk2 5 2 3 3>, - <&gpk2 6 2 3 3>; - }; - - sdhci@12510000 { - samsung,sdhci-bus-width = <4>; - linux,mmc_cap_4_bit_data; - samsung,sdhci-cd-internal; - gpio-cd = <&gpk0 2 2 3 3>; - gpios = <&gpk0 0 2 0 3>, - <&gpk0 1 2 0 3>, - <&gpk0 3 2 3 3>, - <&gpk0 4 2 3 3>, - <&gpk0 5 2 3 3>, - <&gpk0 6 2 3 3>; - }; - - gpio_keys { - compatible = "gpio-keys"; - #address-cells = <1>; - #size-cells = <0>; - - up { - label = "Up"; - gpios = <&gpx2 0 0 0 2>; - linux,code = <103>; - }; - - down { - label = "Down"; - gpios = <&gpx2 1 0 0 2>; - linux,code = <108>; - }; - - back { - label = "Back"; - gpios = <&gpx1 7 0 0 2>; - linux,code = <158>; - }; - - home { - label = "Home"; - gpios = <&gpx1 6 0 0 2>; - linux,code = <102>; - }; - - menu { - label = "Menu"; - gpios = <&gpx1 5 0 0 2>; - linux,code = <139>; - }; - }; - - keypad@100A0000 { - status = "disabled"; - }; - - sdhci@12520000 { - status = "disabled"; - }; - - sdhci@12540000 { - status = "disabled"; - }; - - i2c@13860000 { - status = "disabled"; - }; - - i2c@13870000 { - status = "disabled"; - }; - - i2c@13880000 { - status = "disabled"; - }; - - i2c@13890000 { - status = "disabled"; - }; - - i2c@138A0000 { - status = "disabled"; - }; - - i2c@138B0000 { - status = "disabled"; - }; - - i2c@138C0000 { - status = "disabled"; - }; - - i2c@138D0000 { - status = "disabled"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/exynos4210-smdkv310.dts b/kernel/arch/arm/boot/dts/tr961-5200l-v1/exynos4210-smdkv310.dts deleted file mode 100644 index 27afc8e53..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/exynos4210-smdkv310.dts +++ /dev/null @@ -1,182 +0,0 @@ -/* - * Samsung's Exynos4210 based SMDKV310 board device tree source - * - * Copyright (c) 2010-2011 Samsung Electronics Co., Ltd. - * http://www.samsung.com - * Copyright (c) 2010-2011 Linaro Ltd. - * www.linaro.org - * - * Device tree source file for Samsung's SMDKV310 board which is based on - * Samsung's Exynos4210 SoC. - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. -*/ - -/dts-v1/; -/include/ "exynos4210.dtsi" - -/ { - model = "Samsung smdkv310 evaluation board based on Exynos4210"; - compatible = "samsung,smdkv310", "samsung,exynos4210"; - - memory { - reg = <0x40000000 0x80000000>; - }; - - chosen { - bootargs = "root=/dev/ram0 rw ramdisk=8192 initrd=0x41000000,8M console=ttySAC1,115200 init=/linuxrc"; - }; - - sdhci@12530000 { - samsung,sdhci-bus-width = <4>; - linux,mmc_cap_4_bit_data; - samsung,sdhci-cd-internal; - gpio-cd = <&gpk2 2 2 3 3>; - gpios = <&gpk2 0 2 0 3>, - <&gpk2 1 2 0 3>, - <&gpk2 3 2 3 3>, - <&gpk2 4 2 3 3>, - <&gpk2 5 2 3 3>, - <&gpk2 6 2 3 3>; - }; - - keypad@100A0000 { - samsung,keypad-num-rows = <2>; - samsung,keypad-num-columns = <8>; - linux,keypad-no-autorepeat; - linux,keypad-wakeup; - - row-gpios = <&gpx2 0 3 3 0>, - <&gpx2 1 3 3 0>; - - col-gpios = <&gpx1 0 3 0 0>, - <&gpx1 1 3 0 0>, - <&gpx1 2 3 0 0>, - <&gpx1 3 3 0 0>, - <&gpx1 4 3 0 0>, - <&gpx1 5 3 0 0>, - <&gpx1 6 3 0 0>, - <&gpx1 7 3 0 0>; - - key_1 { - keypad,row = <0>; - keypad,column = <3>; - linux,code = <2>; - }; - - key_2 { - keypad,row = <0>; - keypad,column = <4>; - linux,code = <3>; - }; - - key_3 { - keypad,row = <0>; - keypad,column = <5>; - linux,code = <4>; - }; - - key_4 { - keypad,row = <0>; - keypad,column = <6>; - linux,code = <5>; - }; - - key_5 { - keypad,row = <0>; - keypad,column = <7>; - linux,code = <6>; - }; - - key_a { - keypad,row = <1>; - keypad,column = <3>; - linux,code = <30>; - }; - - key_b { - keypad,row = <1>; - keypad,column = <4>; - linux,code = <48>; - }; - - key_c { - keypad,row = <1>; - keypad,column = <5>; - linux,code = <46>; - }; - - key_d { - keypad,row = <1>; - keypad,column = <6>; - linux,code = <32>; - }; - - key_e { - keypad,row = <1>; - keypad,column = <7>; - linux,code = <18>; - }; - }; - - i2c@13860000 { - #address-cells = <1>; - #size-cells = <0>; - samsung,i2c-sda-delay = <100>; - samsung,i2c-max-bus-freq = <20000>; - gpios = <&gpd1 0 2 3 0>, - <&gpd1 1 2 3 0>; - - eeprom@50 { - compatible = "samsung,24ad0xd1"; - reg = <0x50>; - }; - - eeprom@52 { - compatible = "samsung,24ad0xd1"; - reg = <0x52>; - }; - }; - - sdhci@12510000 { - status = "disabled"; - }; - - sdhci@12520000 { - status = "disabled"; - }; - - sdhci@12540000 { - status = "disabled"; - }; - - i2c@13870000 { - status = "disabled"; - }; - - i2c@13880000 { - status = "disabled"; - }; - - i2c@13890000 { - status = "disabled"; - }; - - i2c@138A0000 { - status = "disabled"; - }; - - i2c@138B0000 { - status = "disabled"; - }; - - i2c@138C0000 { - status = "disabled"; - }; - - i2c@138D0000 { - status = "disabled"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/exynos4210.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v1/exynos4210.dtsi deleted file mode 100644 index a1dd2ee83..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/exynos4210.dtsi +++ /dev/null @@ -1,398 +0,0 @@ -/* - * Samsung's Exynos4210 SoC device tree source - * - * Copyright (c) 2010-2011 Samsung Electronics Co., Ltd. - * http://www.samsung.com - * Copyright (c) 2010-2011 Linaro Ltd. - * www.linaro.org - * - * Samsung's Exynos4210 SoC device nodes are listed in this file. Exynos4210 - * based board files can include this file and provide values for board specfic - * bindings. - * - * Note: This file does not include device nodes for all the controllers in - * Exynos4210 SoC. As device tree coverage for Exynos4210 increases, additional - * nodes can be added to this file. - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. -*/ - -/include/ "skeleton.dtsi" - -/ { - compatible = "samsung,exynos4210"; - interrupt-parent = <&gic>; - - gic:interrupt-controller@10490000 { - compatible = "arm,cortex-a9-gic"; - #interrupt-cells = <3>; - interrupt-controller; - cpu-offset = <0x8000>; - reg = <0x10490000 0x1000>, <0x10480000 0x100>; - }; - - watchdog@10060000 { - compatible = "samsung,s3c2410-wdt"; - reg = <0x10060000 0x100>; - interrupts = <0 43 0>; - }; - - rtc@10070000 { - compatible = "samsung,s3c6410-rtc"; - reg = <0x10070000 0x100>; - interrupts = <0 44 0>, <0 45 0>; - }; - - keypad@100A0000 { - compatible = "samsung,s5pv210-keypad"; - reg = <0x100A0000 0x100>; - interrupts = <0 109 0>; - }; - - sdhci@12510000 { - compatible = "samsung,exynos4210-sdhci"; - reg = <0x12510000 0x100>; - interrupts = <0 73 0>; - }; - - sdhci@12520000 { - compatible = "samsung,exynos4210-sdhci"; - reg = <0x12520000 0x100>; - interrupts = <0 74 0>; - }; - - sdhci@12530000 { - compatible = "samsung,exynos4210-sdhci"; - reg = <0x12530000 0x100>; - interrupts = <0 75 0>; - }; - - sdhci@12540000 { - compatible = "samsung,exynos4210-sdhci"; - reg = <0x12540000 0x100>; - interrupts = <0 76 0>; - }; - - serial@13800000 { - compatible = "samsung,exynos4210-uart"; - reg = <0x13800000 0x100>; - interrupts = <0 52 0>; - }; - - serial@13810000 { - compatible = "samsung,exynos4210-uart"; - reg = <0x13810000 0x100>; - interrupts = <0 53 0>; - }; - - serial@13820000 { - compatible = "samsung,exynos4210-uart"; - reg = <0x13820000 0x100>; - interrupts = <0 54 0>; - }; - - serial@13830000 { - compatible = "samsung,exynos4210-uart"; - reg = <0x13830000 0x100>; - interrupts = <0 55 0>; - }; - - i2c@13860000 { - compatible = "samsung,s3c2440-i2c"; - reg = <0x13860000 0x100>; - interrupts = <0 58 0>; - }; - - i2c@13870000 { - compatible = "samsung,s3c2440-i2c"; - reg = <0x13870000 0x100>; - interrupts = <0 59 0>; - }; - - i2c@13880000 { - compatible = "samsung,s3c2440-i2c"; - reg = <0x13880000 0x100>; - interrupts = <0 60 0>; - }; - - i2c@13890000 { - compatible = "samsung,s3c2440-i2c"; - reg = <0x13890000 0x100>; - interrupts = <0 61 0>; - }; - - i2c@138A0000 { - compatible = "samsung,s3c2440-i2c"; - reg = <0x138A0000 0x100>; - interrupts = <0 62 0>; - }; - - i2c@138B0000 { - compatible = "samsung,s3c2440-i2c"; - reg = <0x138B0000 0x100>; - interrupts = <0 63 0>; - }; - - i2c@138C0000 { - compatible = "samsung,s3c2440-i2c"; - reg = <0x138C0000 0x100>; - interrupts = <0 64 0>; - }; - - i2c@138D0000 { - compatible = "samsung,s3c2440-i2c"; - reg = <0x138D0000 0x100>; - interrupts = <0 65 0>; - }; - - amba { - #address-cells = <1>; - #size-cells = <1>; - compatible = "arm,amba-bus"; - interrupt-parent = <&gic>; - ranges; - - pdma0: pdma@12680000 { - compatible = "arm,pl330", "arm,primecell"; - reg = <0x12680000 0x1000>; - interrupts = <0 35 0>; - }; - - pdma1: pdma@12690000 { - compatible = "arm,pl330", "arm,primecell"; - reg = <0x12690000 0x1000>; - interrupts = <0 36 0>; - }; - }; - - gpio-controllers { - #address-cells = <1>; - #size-cells = <1>; - gpio-controller; - ranges; - - gpa0: gpio-controller@11400000 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400000 0x20>; - #gpio-cells = <4>; - }; - - gpa1: gpio-controller@11400020 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400020 0x20>; - #gpio-cells = <4>; - }; - - gpb: gpio-controller@11400040 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400040 0x20>; - #gpio-cells = <4>; - }; - - gpc0: gpio-controller@11400060 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400060 0x20>; - #gpio-cells = <4>; - }; - - gpc1: gpio-controller@11400080 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400080 0x20>; - #gpio-cells = <4>; - }; - - gpd0: gpio-controller@114000A0 { - compatible = "samsung,exynos4-gpio"; - reg = <0x114000A0 0x20>; - #gpio-cells = <4>; - }; - - gpd1: gpio-controller@114000C0 { - compatible = "samsung,exynos4-gpio"; - reg = <0x114000C0 0x20>; - #gpio-cells = <4>; - }; - - gpe0: gpio-controller@114000E0 { - compatible = "samsung,exynos4-gpio"; - reg = <0x114000E0 0x20>; - #gpio-cells = <4>; - }; - - gpe1: gpio-controller@11400100 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400100 0x20>; - #gpio-cells = <4>; - }; - - gpe2: gpio-controller@11400120 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400120 0x20>; - #gpio-cells = <4>; - }; - - gpe3: gpio-controller@11400140 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400140 0x20>; - #gpio-cells = <4>; - }; - - gpe4: gpio-controller@11400160 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400160 0x20>; - #gpio-cells = <4>; - }; - - gpf0: gpio-controller@11400180 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400180 0x20>; - #gpio-cells = <4>; - }; - - gpf1: gpio-controller@114001A0 { - compatible = "samsung,exynos4-gpio"; - reg = <0x114001A0 0x20>; - #gpio-cells = <4>; - }; - - gpf2: gpio-controller@114001C0 { - compatible = "samsung,exynos4-gpio"; - reg = <0x114001C0 0x20>; - #gpio-cells = <4>; - }; - - gpf3: gpio-controller@114001E0 { - compatible = "samsung,exynos4-gpio"; - reg = <0x114001E0 0x20>; - #gpio-cells = <4>; - }; - - gpj0: gpio-controller@11000000 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11000000 0x20>; - #gpio-cells = <4>; - }; - - gpj1: gpio-controller@11000020 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11000020 0x20>; - #gpio-cells = <4>; - }; - - gpk0: gpio-controller@11000040 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11000040 0x20>; - #gpio-cells = <4>; - }; - - gpk1: gpio-controller@11000060 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11000060 0x20>; - #gpio-cells = <4>; - }; - - gpk2: gpio-controller@11000080 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11000080 0x20>; - #gpio-cells = <4>; - }; - - gpk3: gpio-controller@110000A0 { - compatible = "samsung,exynos4-gpio"; - reg = <0x110000A0 0x20>; - #gpio-cells = <4>; - }; - - gpl0: gpio-controller@110000C0 { - compatible = "samsung,exynos4-gpio"; - reg = <0x110000C0 0x20>; - #gpio-cells = <4>; - }; - - gpl1: gpio-controller@110000E0 { - compatible = "samsung,exynos4-gpio"; - reg = <0x110000E0 0x20>; - #gpio-cells = <4>; - }; - - gpl2: gpio-controller@11000100 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11000100 0x20>; - #gpio-cells = <4>; - }; - - gpy0: gpio-controller@11000120 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11000120 0x20>; - #gpio-cells = <4>; - }; - - gpy1: gpio-controller@11000140 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11000140 0x20>; - #gpio-cells = <4>; - }; - - gpy2: gpio-controller@11000160 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11000160 0x20>; - #gpio-cells = <4>; - }; - - gpy3: gpio-controller@11000180 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11000180 0x20>; - #gpio-cells = <4>; - }; - - gpy4: gpio-controller@110001A0 { - compatible = "samsung,exynos4-gpio"; - reg = <0x110001A0 0x20>; - #gpio-cells = <4>; - }; - - gpy5: gpio-controller@110001C0 { - compatible = "samsung,exynos4-gpio"; - reg = <0x110001C0 0x20>; - #gpio-cells = <4>; - }; - - gpy6: gpio-controller@110001E0 { - compatible = "samsung,exynos4-gpio"; - reg = <0x110001E0 0x20>; - #gpio-cells = <4>; - }; - - gpx0: gpio-controller@11000C00 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11000C00 0x20>; - #gpio-cells = <4>; - }; - - gpx1: gpio-controller@11000C20 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11000C20 0x20>; - #gpio-cells = <4>; - }; - - gpx2: gpio-controller@11000C40 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11000C40 0x20>; - #gpio-cells = <4>; - }; - - gpx3: gpio-controller@11000C60 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11000C60 0x20>; - #gpio-cells = <4>; - }; - - gpz: gpio-controller@03860000 { - compatible = "samsung,exynos4-gpio"; - reg = <0x03860000 0x20>; - #gpio-cells = <4>; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/exynos5250-smdk5250.dts b/kernel/arch/arm/boot/dts/tr961-5200l-v1/exynos5250-smdk5250.dts deleted file mode 100644 index 399d17b23..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/exynos5250-smdk5250.dts +++ /dev/null @@ -1,26 +0,0 @@ -/* - * SAMSUNG SMDK5250 board device tree source - * - * Copyright (c) 2012 Samsung Electronics Co., Ltd. - * http://www.samsung.com - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. -*/ - -/dts-v1/; -/include/ "exynos5250.dtsi" - -/ { - model = "SAMSUNG SMDK5250 board based on EXYNOS5250"; - compatible = "samsung,smdk5250", "samsung,exynos5250"; - - memory { - reg = <0x40000000 0x80000000>; - }; - - chosen { - bootargs = "root=/dev/ram0 rw ramdisk=8192 console=ttySAC1,115200"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/exynos5250.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v1/exynos5250.dtsi deleted file mode 100644 index dfc433599..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/exynos5250.dtsi +++ /dev/null @@ -1,413 +0,0 @@ -/* - * SAMSUNG EXYNOS5250 SoC device tree source - * - * Copyright (c) 2012 Samsung Electronics Co., Ltd. - * http://www.samsung.com - * - * SAMSUNG EXYNOS5250 SoC device nodes are listed in this file. - * EXYNOS5250 based board files can include this file and provide - * values for board specfic bindings. - * - * Note: This file does not include device nodes for all the controllers in - * EXYNOS5250 SoC. As device tree coverage for EXYNOS5250 increases, - * additional nodes can be added to this file. - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. -*/ - -/include/ "skeleton.dtsi" - -/ { - compatible = "samsung,exynos5250"; - interrupt-parent = <&gic>; - - gic:interrupt-controller@10490000 { - compatible = "arm,cortex-a9-gic"; - #interrupt-cells = <3>; - interrupt-controller; - reg = <0x10490000 0x1000>, <0x10480000 0x100>; - }; - - watchdog { - compatible = "samsung,s3c2410-wdt"; - reg = <0x101D0000 0x100>; - interrupts = <0 42 0>; - }; - - rtc { - compatible = "samsung,s3c6410-rtc"; - reg = <0x101E0000 0x100>; - interrupts = <0 43 0>, <0 44 0>; - }; - - sdhci@12200000 { - compatible = "samsung,exynos4210-sdhci"; - reg = <0x12200000 0x100>; - interrupts = <0 75 0>; - }; - - sdhci@12210000 { - compatible = "samsung,exynos4210-sdhci"; - reg = <0x12210000 0x100>; - interrupts = <0 76 0>; - }; - - sdhci@12220000 { - compatible = "samsung,exynos4210-sdhci"; - reg = <0x12220000 0x100>; - interrupts = <0 77 0>; - }; - - sdhci@12230000 { - compatible = "samsung,exynos4210-sdhci"; - reg = <0x12230000 0x100>; - interrupts = <0 78 0>; - }; - - serial@12C00000 { - compatible = "samsung,exynos4210-uart"; - reg = <0x12C00000 0x100>; - interrupts = <0 51 0>; - }; - - serial@12C10000 { - compatible = "samsung,exynos4210-uart"; - reg = <0x12C10000 0x100>; - interrupts = <0 52 0>; - }; - - serial@12C20000 { - compatible = "samsung,exynos4210-uart"; - reg = <0x12C20000 0x100>; - interrupts = <0 53 0>; - }; - - serial@12C30000 { - compatible = "samsung,exynos4210-uart"; - reg = <0x12C30000 0x100>; - interrupts = <0 54 0>; - }; - - i2c@12C60000 { - compatible = "samsung,s3c2440-i2c"; - reg = <0x12C60000 0x100>; - interrupts = <0 56 0>; - }; - - i2c@12C70000 { - compatible = "samsung,s3c2440-i2c"; - reg = <0x12C70000 0x100>; - interrupts = <0 57 0>; - }; - - i2c@12C80000 { - compatible = "samsung,s3c2440-i2c"; - reg = <0x12C80000 0x100>; - interrupts = <0 58 0>; - }; - - i2c@12C90000 { - compatible = "samsung,s3c2440-i2c"; - reg = <0x12C90000 0x100>; - interrupts = <0 59 0>; - }; - - i2c@12CA0000 { - compatible = "samsung,s3c2440-i2c"; - reg = <0x12CA0000 0x100>; - interrupts = <0 60 0>; - }; - - i2c@12CB0000 { - compatible = "samsung,s3c2440-i2c"; - reg = <0x12CB0000 0x100>; - interrupts = <0 61 0>; - }; - - i2c@12CC0000 { - compatible = "samsung,s3c2440-i2c"; - reg = <0x12CC0000 0x100>; - interrupts = <0 62 0>; - }; - - i2c@12CD0000 { - compatible = "samsung,s3c2440-i2c"; - reg = <0x12CD0000 0x100>; - interrupts = <0 63 0>; - }; - - amba { - #address-cells = <1>; - #size-cells = <1>; - compatible = "arm,amba-bus"; - interrupt-parent = <&gic>; - ranges; - - pdma0: pdma@121A0000 { - compatible = "arm,pl330", "arm,primecell"; - reg = <0x121A0000 0x1000>; - interrupts = <0 34 0>; - }; - - pdma1: pdma@121B0000 { - compatible = "arm,pl330", "arm,primecell"; - reg = <0x121B0000 0x1000>; - interrupts = <0 35 0>; - }; - - mdma0: pdma@10800000 { - compatible = "arm,pl330", "arm,primecell"; - reg = <0x10800000 0x1000>; - interrupts = <0 33 0>; - }; - - mdma1: pdma@11C10000 { - compatible = "arm,pl330", "arm,primecell"; - reg = <0x11C10000 0x1000>; - interrupts = <0 124 0>; - }; - }; - - gpio-controllers { - #address-cells = <1>; - #size-cells = <1>; - gpio-controller; - ranges; - - gpa0: gpio-controller@11400000 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400000 0x20>; - #gpio-cells = <4>; - }; - - gpa1: gpio-controller@11400020 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400020 0x20>; - #gpio-cells = <4>; - }; - - gpa2: gpio-controller@11400040 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400040 0x20>; - #gpio-cells = <4>; - }; - - gpb0: gpio-controller@11400060 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400060 0x20>; - #gpio-cells = <4>; - }; - - gpb1: gpio-controller@11400080 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400080 0x20>; - #gpio-cells = <4>; - }; - - gpb2: gpio-controller@114000A0 { - compatible = "samsung,exynos4-gpio"; - reg = <0x114000A0 0x20>; - #gpio-cells = <4>; - }; - - gpb3: gpio-controller@114000C0 { - compatible = "samsung,exynos4-gpio"; - reg = <0x114000C0 0x20>; - #gpio-cells = <4>; - }; - - gpc0: gpio-controller@114000E0 { - compatible = "samsung,exynos4-gpio"; - reg = <0x114000E0 0x20>; - #gpio-cells = <4>; - }; - - gpc1: gpio-controller@11400100 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400100 0x20>; - #gpio-cells = <4>; - }; - - gpc2: gpio-controller@11400120 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400120 0x20>; - #gpio-cells = <4>; - }; - - gpc3: gpio-controller@11400140 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400140 0x20>; - #gpio-cells = <4>; - }; - - gpd0: gpio-controller@11400160 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400160 0x20>; - #gpio-cells = <4>; - }; - - gpd1: gpio-controller@11400180 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400180 0x20>; - #gpio-cells = <4>; - }; - - gpy0: gpio-controller@114001A0 { - compatible = "samsung,exynos4-gpio"; - reg = <0x114001A0 0x20>; - #gpio-cells = <4>; - }; - - gpy1: gpio-controller@114001C0 { - compatible = "samsung,exynos4-gpio"; - reg = <0x114001C0 0x20>; - #gpio-cells = <4>; - }; - - gpy2: gpio-controller@114001E0 { - compatible = "samsung,exynos4-gpio"; - reg = <0x114001E0 0x20>; - #gpio-cells = <4>; - }; - - gpy3: gpio-controller@11400200 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400200 0x20>; - #gpio-cells = <4>; - }; - - gpy4: gpio-controller@11400220 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400220 0x20>; - #gpio-cells = <4>; - }; - - gpy5: gpio-controller@11400240 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400240 0x20>; - #gpio-cells = <4>; - }; - - gpy6: gpio-controller@11400260 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400260 0x20>; - #gpio-cells = <4>; - }; - - gpx0: gpio-controller@11400C00 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400C00 0x20>; - #gpio-cells = <4>; - }; - - gpx1: gpio-controller@11400C20 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400C20 0x20>; - #gpio-cells = <4>; - }; - - gpx2: gpio-controller@11400C40 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400C40 0x20>; - #gpio-cells = <4>; - }; - - gpx3: gpio-controller@11400C60 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400C60 0x20>; - #gpio-cells = <4>; - }; - - gpe0: gpio-controller@13400000 { - compatible = "samsung,exynos4-gpio"; - reg = <0x13400000 0x20>; - #gpio-cells = <4>; - }; - - gpe1: gpio-controller@13400020 { - compatible = "samsung,exynos4-gpio"; - reg = <0x13400020 0x20>; - #gpio-cells = <4>; - }; - - gpf0: gpio-controller@13400040 { - compatible = "samsung,exynos4-gpio"; - reg = <0x13400040 0x20>; - #gpio-cells = <4>; - }; - - gpf1: gpio-controller@13400060 { - compatible = "samsung,exynos4-gpio"; - reg = <0x13400060 0x20>; - #gpio-cells = <4>; - }; - - gpg0: gpio-controller@13400080 { - compatible = "samsung,exynos4-gpio"; - reg = <0x13400080 0x20>; - #gpio-cells = <4>; - }; - - gpg1: gpio-controller@134000A0 { - compatible = "samsung,exynos4-gpio"; - reg = <0x134000A0 0x20>; - #gpio-cells = <4>; - }; - - gpg2: gpio-controller@134000C0 { - compatible = "samsung,exynos4-gpio"; - reg = <0x134000C0 0x20>; - #gpio-cells = <4>; - }; - - gph0: gpio-controller@134000E0 { - compatible = "samsung,exynos4-gpio"; - reg = <0x134000E0 0x20>; - #gpio-cells = <4>; - }; - - gph1: gpio-controller@13400100 { - compatible = "samsung,exynos4-gpio"; - reg = <0x13400100 0x20>; - #gpio-cells = <4>; - }; - - gpv0: gpio-controller@10D10000 { - compatible = "samsung,exynos4-gpio"; - reg = <0x10D10000 0x20>; - #gpio-cells = <4>; - }; - - gpv1: gpio-controller@10D10020 { - compatible = "samsung,exynos4-gpio"; - reg = <0x10D10020 0x20>; - #gpio-cells = <4>; - }; - - gpv2: gpio-controller@10D10040 { - compatible = "samsung,exynos4-gpio"; - reg = <0x10D10040 0x20>; - #gpio-cells = <4>; - }; - - gpv3: gpio-controller@10D10060 { - compatible = "samsung,exynos4-gpio"; - reg = <0x10D10060 0x20>; - #gpio-cells = <4>; - }; - - gpv4: gpio-controller@10D10080 { - compatible = "samsung,exynos4-gpio"; - reg = <0x10D10080 0x20>; - #gpio-cells = <4>; - }; - - gpz: gpio-controller@03860000 { - compatible = "samsung,exynos4-gpio"; - reg = <0x03860000 0x20>; - #gpio-cells = <4>; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/fsm9900-rumi.dts b/kernel/arch/arm/boot/dts/tr961-5200l-v1/fsm9900-rumi.dts deleted file mode 100644 index 2b380c7b3..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/fsm9900-rumi.dts +++ /dev/null @@ -1,31 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; - -/include/ "fsm9900.dtsi" - -/ { - model = "Qualcomm FSM9900 Rumi"; - compatible = "qcom,fsm9900-rumi", "qcom,fsm9900", "qcom-sim"; - qcom,msm-id = <188 0 0>; - - aliases { - serial0 = &uart0; - }; -}; - -&soc { - uart0: serial@f9960000 { - status = "ok"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/fsm9900-sim.dts b/kernel/arch/arm/boot/dts/tr961-5200l-v1/fsm9900-sim.dts deleted file mode 100644 index 050929e60..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/fsm9900-sim.dts +++ /dev/null @@ -1,32 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; - -/include/ "fsm9900.dtsi" - -/ { - model = "Qualcomm FSM9900 Simulator"; - compatible = "qcom,fsm9900-sim", "qcom,fsm9900", "qcom-sim"; - qcom,msm-id = <188 0 0>; - - aliases { - serial0 = &uart0; - }; -}; - -&soc { - uart0: serial@f9960000 { - interrupts = <0 116 0>; - status = "ok"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/fsm9900.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v1/fsm9900.dtsi deleted file mode 100644 index 766db368d..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/fsm9900.dtsi +++ /dev/null @@ -1,94 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/include/ "skeleton64.dtsi" - -/ { - model = "Qualcomm FSM9900"; - compatible = "qcom,fsm9900"; - interrupt-parent = <&intc>; - soc: soc { }; -}; - -&soc { - #address-cells = <1>; - #size-cells = <1>; - ranges = <0 0 0 0xffffffff>; - - intc: interrupt-controller@f9000000 { - compatible = "qcom,msm-qgic2"; - interrupt-controller; - #interrupt-cells = <3>; - reg = <0xF9000000 0x1000>, - <0xF9002000 0x1000>; - }; - - msmgpio: gpio@fd510000 { - compatible = "qcom,msm-gpio"; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - reg = <0xfd510000 0x4000>; - ngpio = <142>; - interrupts = <0 208 0>; - qcom,direct-connect-irqs = <5>; - }; - - timer { - compatible = "arm,armv7-timer"; - interrupts = <1 2 0 1 3 0>; - clock-frequency = <19200000>; - }; - - serial@f9960000 { - compatible = "qcom,msm-lsuart-v14"; - reg = <0xf9960000 0x1000>; - interrupts = <0 104 0>; - status = "disabled"; - }; - - cpu-pmu { - compatible = "qcom,krait-pmu"; - qcom,irq-is-percpu; - interrupts = <1 7 0xf00>; - }; - - qcom,msm-imem@fe805000 { - compatible = "qcom,msm-imem"; - reg = <0xfe805000 0x1000>; /* Address and size of IMEM */ - }; - - qcom,cache_erp { - compatible = "qcom,cache_erp"; - interrupts = <1 9 0>, <0 2 0>; - interrupt-names = "l1_irq", "l2_irq"; - }; - - qcom,cache_dump { - compatible = "qcom,cache_dump"; - qcom,l1-dump-size = <0x100000>; - qcom,l2-dump-size = <0x500000>; - qcom,memory-reservation-type = "EBI1"; - qcom,memory-reservation-size = <0x600000>; /* 6M EBI1 buffer */ - }; - - qcom,ion { - compatible = "qcom,msm-ion"; - #address-cells = <1>; - #size-cells = <0>; - - qcom,ion-heap@30 { /* SYSTEM HEAP */ - reg = <30>; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/highbank.dts b/kernel/arch/arm/boot/dts/tr961-5200l-v1/highbank.dts deleted file mode 100644 index 83e72294a..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/highbank.dts +++ /dev/null @@ -1,209 +0,0 @@ -/* - * Copyright 2011 Calxeda, Inc. - * - * This program is free software; you can redistribute it and/or modify it - * under the terms and conditions of the GNU General Public License, - * version 2, as published by the Free Software Foundation. - * - * This program is distributed in the hope 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. - * - * You should have received a copy of the GNU General Public License along with - * this program. If not, see . - */ - -/dts-v1/; - -/* First 4KB has pen for secondary cores. */ -/memreserve/ 0x00000000 0x0001000; - -/ { - model = "Calxeda Highbank"; - compatible = "calxeda,highbank"; - #address-cells = <1>; - #size-cells = <1>; - - cpus { - #address-cells = <1>; - #size-cells = <0>; - - cpu@0 { - compatible = "arm,cortex-a9"; - reg = <0>; - next-level-cache = <&L2>; - }; - - cpu@1 { - compatible = "arm,cortex-a9"; - reg = <1>; - next-level-cache = <&L2>; - }; - - cpu@2 { - compatible = "arm,cortex-a9"; - reg = <2>; - next-level-cache = <&L2>; - }; - - cpu@3 { - compatible = "arm,cortex-a9"; - reg = <3>; - next-level-cache = <&L2>; - }; - }; - - memory { - name = "memory"; - device_type = "memory"; - reg = <0x00000000 0xff900000>; - }; - - chosen { - bootargs = "console=ttyAMA0"; - }; - - soc { - #address-cells = <1>; - #size-cells = <1>; - compatible = "simple-bus"; - interrupt-parent = <&intc>; - ranges; - - timer@fff10600 { - compatible = "arm,cortex-a9-twd-timer"; - reg = <0xfff10600 0x20>; - interrupts = <1 13 0xf01>; - }; - - watchdog@fff10620 { - compatible = "arm,cortex-a9-twd-wdt"; - reg = <0xfff10620 0x20>; - interrupts = <1 14 0xf01>; - }; - - intc: interrupt-controller@fff11000 { - compatible = "arm,cortex-a9-gic"; - #interrupt-cells = <3>; - #size-cells = <0>; - #address-cells = <1>; - interrupt-controller; - reg = <0xfff11000 0x1000>, - <0xfff10100 0x100>; - }; - - L2: l2-cache { - compatible = "arm,pl310-cache"; - reg = <0xfff12000 0x1000>; - interrupts = <0 70 4>; - cache-unified; - cache-level = <2>; - }; - - pmu { - compatible = "arm,cortex-a9-pmu"; - interrupts = <0 76 4 0 75 4 0 74 4 0 73 4>; - }; - - sata@ffe08000 { - compatible = "calxeda,hb-ahci"; - reg = <0xffe08000 0x10000>; - interrupts = <0 83 4>; - }; - - sdhci@ffe0e000 { - compatible = "calxeda,hb-sdhci"; - reg = <0xffe0e000 0x1000>; - interrupts = <0 90 4>; - }; - - ipc@fff20000 { - compatible = "arm,pl320", "arm,primecell"; - reg = <0xfff20000 0x1000>; - interrupts = <0 7 4>; - }; - - gpioe: gpio@fff30000 { - #gpio-cells = <2>; - compatible = "arm,pl061", "arm,primecell"; - gpio-controller; - reg = <0xfff30000 0x1000>; - interrupts = <0 14 4>; - }; - - gpiof: gpio@fff31000 { - #gpio-cells = <2>; - compatible = "arm,pl061", "arm,primecell"; - gpio-controller; - reg = <0xfff31000 0x1000>; - interrupts = <0 15 4>; - }; - - gpiog: gpio@fff32000 { - #gpio-cells = <2>; - compatible = "arm,pl061", "arm,primecell"; - gpio-controller; - reg = <0xfff32000 0x1000>; - interrupts = <0 16 4>; - }; - - gpioh: gpio@fff33000 { - #gpio-cells = <2>; - compatible = "arm,pl061", "arm,primecell"; - gpio-controller; - reg = <0xfff33000 0x1000>; - interrupts = <0 17 4>; - }; - - timer { - compatible = "arm,sp804", "arm,primecell"; - reg = <0xfff34000 0x1000>; - interrupts = <0 18 4>; - }; - - rtc@fff35000 { - compatible = "arm,pl031", "arm,primecell"; - reg = <0xfff35000 0x1000>; - interrupts = <0 19 4>; - }; - - serial@fff36000 { - compatible = "arm,pl011", "arm,primecell"; - reg = <0xfff36000 0x1000>; - interrupts = <0 20 4>; - }; - - smic@fff3a000 { - compatible = "ipmi-smic"; - device_type = "ipmi"; - reg = <0xfff3a000 0x1000>; - interrupts = <0 24 4>; - reg-size = <4>; - reg-spacing = <4>; - }; - - sregs@fff3c000 { - compatible = "calxeda,hb-sregs"; - reg = <0xfff3c000 0x1000>; - }; - - dma@fff3d000 { - compatible = "arm,pl330", "arm,primecell"; - reg = <0xfff3d000 0x1000>; - interrupts = <0 92 4>; - }; - - ethernet@fff50000 { - compatible = "calxeda,hb-xgmac"; - reg = <0xfff50000 0x1000>; - interrupts = <0 77 4 0 78 4 0 79 4>; - }; - - ethernet@fff51000 { - compatible = "calxeda,hb-xgmac"; - reg = <0xfff51000 0x1000>; - interrupts = <0 80 4 0 81 4 0 82 4>; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/imx27-phytec-phycore.dts b/kernel/arch/arm/boot/dts/tr961-5200l-v1/imx27-phytec-phycore.dts deleted file mode 100644 index a51a08fc2..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/imx27-phytec-phycore.dts +++ /dev/null @@ -1,76 +0,0 @@ -/* - * Copyright 2012 Sascha Hauer, Pengutronix - * - * The code contained herein is licensed under the GNU General Public - * License. You may obtain a copy of the GNU General Public License - * Version 2 or later at the following locations: - * - * http://www.opensource.org/licenses/gpl-license.html - * http://www.gnu.org/copyleft/gpl.html - */ - -/dts-v1/; -/include/ "imx27.dtsi" - -/ { - model = "Phytec pcm038"; - compatible = "phytec,imx27-pcm038", "fsl,imx27"; - - memory { - reg = <0x0 0x0>; - }; - - soc { - aipi@10000000 { /* aipi */ - - wdog@10002000 { - status = "okay"; - }; - - uart@1000a000 { - fsl,uart-has-rtscts; - status = "okay"; - }; - - uart@1000b000 { - fsl,uart-has-rtscts; - status = "okay"; - }; - - uart@1000c000 { - fsl,uart-has-rtscts; - status = "okay"; - }; - - fec@1002b000 { - status = "okay"; - }; - - i2c@1001d000 { - clock-frequency = <400000>; - status = "okay"; - at24@4c { - compatible = "at,24c32"; - pagesize = <32>; - reg = <0x52>; - }; - pcf8563@51 { - compatible = "nxp,pcf8563"; - reg = <0x51>; - }; - lm75@4a { - compatible = "national,lm75"; - reg = <0x4a>; - }; - }; - }; - }; - - nor_flash@c0000000 { - compatible = "cfi-flash"; - bank-width = <2>; - reg = <0xc0000000 0x02000000>; - #address-cells = <1>; - #size-cells = <1>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/imx27.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v1/imx27.dtsi deleted file mode 100644 index bc5e7d5dd..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/imx27.dtsi +++ /dev/null @@ -1,217 +0,0 @@ -/* - * Copyright 2012 Sascha Hauer, Pengutronix - * - * The code contained herein is licensed under the GNU General Public - * License. You may obtain a copy of the GNU General Public License - * Version 2 or later at the following locations: - * - * http://www.opensource.org/licenses/gpl-license.html - * http://www.gnu.org/copyleft/gpl.html - */ - -/include/ "skeleton.dtsi" - -/ { - aliases { - serial0 = &uart1; - serial1 = &uart2; - serial2 = &uart3; - serial3 = &uart4; - serial4 = &uart5; - serial5 = &uart6; - }; - - avic: avic-interrupt-controller@e0000000 { - compatible = "fsl,imx27-avic", "fsl,avic"; - interrupt-controller; - #interrupt-cells = <1>; - reg = <0x10040000 0x1000>; - }; - - clocks { - #address-cells = <1>; - #size-cells = <0>; - - osc26m { - compatible = "fsl,imx-osc26m", "fixed-clock"; - clock-frequency = <26000000>; - }; - }; - - soc { - #address-cells = <1>; - #size-cells = <1>; - compatible = "simple-bus"; - interrupt-parent = <&avic>; - ranges; - - aipi@10000000 { /* AIPI1 */ - compatible = "fsl,aipi-bus", "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0x10000000 0x10000000>; - ranges; - - wdog@10002000 { - compatible = "fsl,imx27-wdt", "fsl,imx21-wdt"; - reg = <0x10002000 0x4000>; - interrupts = <27>; - status = "disabled"; - }; - - uart1: uart@1000a000 { - compatible = "fsl,imx27-uart", "fsl,imx21-uart"; - reg = <0x1000a000 0x1000>; - interrupts = <20>; - status = "disabled"; - }; - - uart2: uart@1000b000 { - compatible = "fsl,imx27-uart", "fsl,imx21-uart"; - reg = <0x1000b000 0x1000>; - interrupts = <19>; - status = "disabled"; - }; - - uart3: uart@1000c000 { - compatible = "fsl,imx27-uart", "fsl,imx21-uart"; - reg = <0x1000c000 0x1000>; - interrupts = <18>; - status = "disabled"; - }; - - uart4: uart@1000d000 { - compatible = "fsl,imx27-uart", "fsl,imx21-uart"; - reg = <0x1000d000 0x1000>; - interrupts = <17>; - status = "disabled"; - }; - - cspi1: cspi@1000e000 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx27-cspi"; - reg = <0x1000e000 0x1000>; - interrupts = <16>; - status = "disabled"; - }; - - cspi2: cspi@1000f000 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx27-cspi"; - reg = <0x1000f000 0x1000>; - interrupts = <15>; - status = "disabled"; - }; - - i2c1: i2c@10012000 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx27-i2c", "fsl,imx1-i2c"; - reg = <0x10012000 0x1000>; - interrupts = <12>; - status = "disabled"; - }; - - gpio1: gpio@10015000 { - compatible = "fsl,imx27-gpio", "fsl,imx21-gpio"; - reg = <0x10015000 0x100>; - interrupts = <8>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - gpio2: gpio@10015100 { - compatible = "fsl,imx27-gpio", "fsl,imx21-gpio"; - reg = <0x10015100 0x100>; - interrupts = <8>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - gpio3: gpio@10015200 { - compatible = "fsl,imx27-gpio", "fsl,imx21-gpio"; - reg = <0x10015200 0x100>; - interrupts = <8>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - gpio4: gpio@10015300 { - compatible = "fsl,imx27-gpio", "fsl,imx21-gpio"; - reg = <0x10015300 0x100>; - interrupts = <8>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - gpio5: gpio@10015400 { - compatible = "fsl,imx27-gpio", "fsl,imx21-gpio"; - reg = <0x10015400 0x100>; - interrupts = <8>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - gpio6: gpio@10015500 { - compatible = "fsl,imx27-gpio", "fsl,imx21-gpio"; - reg = <0x10015500 0x100>; - interrupts = <8>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - cspi3: cspi@10017000 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx27-cspi"; - reg = <0x10017000 0x1000>; - interrupts = <6>; - status = "disabled"; - }; - - uart5: uart@1001b000 { - compatible = "fsl,imx27-uart", "fsl,imx21-uart"; - reg = <0x1001b000 0x1000>; - interrupts = <49>; - status = "disabled"; - }; - - uart6: uart@1001c000 { - compatible = "fsl,imx27-uart", "fsl,imx21-uart"; - reg = <0x1001c000 0x1000>; - interrupts = <48>; - status = "disabled"; - }; - - i2c2: i2c@1001d000 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx27-i2c", "fsl,imx1-i2c"; - reg = <0x1001d000 0x1000>; - interrupts = <1>; - status = "disabled"; - }; - - fec: fec@1002b000 { - compatible = "fsl,imx27-fec"; - reg = <0x1002b000 0x4000>; - interrupts = <50>; - status = "disabled"; - }; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/imx51-babbage.dts b/kernel/arch/arm/boot/dts/tr961-5200l-v1/imx51-babbage.dts deleted file mode 100644 index 9949e6060..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/imx51-babbage.dts +++ /dev/null @@ -1,221 +0,0 @@ -/* - * Copyright 2011 Freescale Semiconductor, Inc. - * Copyright 2011 Linaro Ltd. - * - * The code contained herein is licensed under the GNU General Public - * License. You may obtain a copy of the GNU General Public License - * Version 2 or later at the following locations: - * - * http://www.opensource.org/licenses/gpl-license.html - * http://www.gnu.org/copyleft/gpl.html - */ - -/dts-v1/; -/include/ "imx51.dtsi" - -/ { - model = "Freescale i.MX51 Babbage Board"; - compatible = "fsl,imx51-babbage", "fsl,imx51"; - - chosen { - bootargs = "console=ttymxc0,115200 root=/dev/mmcblk0p3 rootwait"; - }; - - memory { - reg = <0x90000000 0x20000000>; - }; - - soc { - aips@70000000 { /* aips-1 */ - spba@70000000 { - esdhc@70004000 { /* ESDHC1 */ - fsl,cd-internal; - fsl,wp-internal; - status = "okay"; - }; - - esdhc@70008000 { /* ESDHC2 */ - cd-gpios = <&gpio1 6 0>; - wp-gpios = <&gpio1 5 0>; - status = "okay"; - }; - - uart3: uart@7000c000 { - fsl,uart-has-rtscts; - status = "okay"; - }; - - ecspi@70010000 { /* ECSPI1 */ - fsl,spi-num-chipselects = <2>; - cs-gpios = <&gpio4 24 0>, <&gpio4 25 0>; - status = "okay"; - - pmic: mc13892@0 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,mc13892"; - spi-max-frequency = <6000000>; - reg = <0>; - interrupt-parent = <&gpio1>; - interrupts = <8>; - - regulators { - sw1_reg: sw1 { - regulator-min-microvolt = <600000>; - regulator-max-microvolt = <1375000>; - regulator-boot-on; - regulator-always-on; - }; - - sw2_reg: sw2 { - regulator-min-microvolt = <900000>; - regulator-max-microvolt = <1850000>; - regulator-boot-on; - regulator-always-on; - }; - - sw3_reg: sw3 { - regulator-min-microvolt = <1100000>; - regulator-max-microvolt = <1850000>; - regulator-boot-on; - regulator-always-on; - }; - - sw4_reg: sw4 { - regulator-min-microvolt = <1100000>; - regulator-max-microvolt = <1850000>; - regulator-boot-on; - regulator-always-on; - }; - - vpll_reg: vpll { - regulator-min-microvolt = <1050000>; - regulator-max-microvolt = <1800000>; - regulator-boot-on; - regulator-always-on; - }; - - vdig_reg: vdig { - regulator-min-microvolt = <1650000>; - regulator-max-microvolt = <1650000>; - regulator-boot-on; - }; - - vsd_reg: vsd { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <3150000>; - }; - - vusb2_reg: vusb2 { - regulator-min-microvolt = <2400000>; - regulator-max-microvolt = <2775000>; - regulator-boot-on; - regulator-always-on; - }; - - vvideo_reg: vvideo { - regulator-min-microvolt = <2775000>; - regulator-max-microvolt = <2775000>; - }; - - vaudio_reg: vaudio { - regulator-min-microvolt = <2300000>; - regulator-max-microvolt = <3000000>; - }; - - vcam_reg: vcam { - regulator-min-microvolt = <2500000>; - regulator-max-microvolt = <3000000>; - }; - - vgen1_reg: vgen1 { - regulator-min-microvolt = <1200000>; - regulator-max-microvolt = <1200000>; - }; - - vgen2_reg: vgen2 { - regulator-min-microvolt = <1200000>; - regulator-max-microvolt = <3150000>; - regulator-always-on; - }; - - vgen3_reg: vgen3 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <2900000>; - regulator-always-on; - }; - }; - }; - - flash: at45db321d@1 { - #address-cells = <1>; - #size-cells = <1>; - compatible = "atmel,at45db321d", "atmel,at45", "atmel,dataflash"; - spi-max-frequency = <25000000>; - reg = <1>; - - partition@0 { - label = "U-Boot"; - reg = <0x0 0x40000>; - read-only; - }; - - partition@40000 { - label = "Kernel"; - reg = <0x40000 0x3c0000>; - }; - }; - }; - }; - - wdog@73f98000 { /* WDOG1 */ - status = "okay"; - }; - - iomuxc@73fa8000 { - compatible = "fsl,imx51-iomuxc-babbage"; - reg = <0x73fa8000 0x4000>; - }; - - uart1: uart@73fbc000 { - fsl,uart-has-rtscts; - status = "okay"; - }; - - uart2: uart@73fc0000 { - status = "okay"; - }; - }; - - aips@80000000 { /* aips-2 */ - sdma@83fb0000 { - fsl,sdma-ram-script-name = "imx/sdma/sdma-imx51.bin"; - }; - - i2c@83fc4000 { /* I2C2 */ - status = "okay"; - - codec: sgtl5000@0a { - compatible = "fsl,sgtl5000"; - reg = <0x0a>; - }; - }; - - fec@83fec000 { - phy-mode = "mii"; - status = "okay"; - }; - }; - }; - - gpio-keys { - compatible = "gpio-keys"; - - power { - label = "Power Button"; - gpios = <&gpio2 21 0>; - linux,code = <116>; /* KEY_POWER */ - gpio-key,wakeup; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/imx51.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v1/imx51.dtsi deleted file mode 100644 index 6663986fe..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/imx51.dtsi +++ /dev/null @@ -1,246 +0,0 @@ -/* - * Copyright 2011 Freescale Semiconductor, Inc. - * Copyright 2011 Linaro Ltd. - * - * The code contained herein is licensed under the GNU General Public - * License. You may obtain a copy of the GNU General Public License - * Version 2 or later at the following locations: - * - * http://www.opensource.org/licenses/gpl-license.html - * http://www.gnu.org/copyleft/gpl.html - */ - -/include/ "skeleton.dtsi" - -/ { - aliases { - serial0 = &uart1; - serial1 = &uart2; - serial2 = &uart3; - }; - - tzic: tz-interrupt-controller@e0000000 { - compatible = "fsl,imx51-tzic", "fsl,tzic"; - interrupt-controller; - #interrupt-cells = <1>; - reg = <0xe0000000 0x4000>; - }; - - clocks { - #address-cells = <1>; - #size-cells = <0>; - - ckil { - compatible = "fsl,imx-ckil", "fixed-clock"; - clock-frequency = <32768>; - }; - - ckih1 { - compatible = "fsl,imx-ckih1", "fixed-clock"; - clock-frequency = <22579200>; - }; - - ckih2 { - compatible = "fsl,imx-ckih2", "fixed-clock"; - clock-frequency = <0>; - }; - - osc { - compatible = "fsl,imx-osc", "fixed-clock"; - clock-frequency = <24000000>; - }; - }; - - soc { - #address-cells = <1>; - #size-cells = <1>; - compatible = "simple-bus"; - interrupt-parent = <&tzic>; - ranges; - - aips@70000000 { /* AIPS1 */ - compatible = "fsl,aips-bus", "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0x70000000 0x10000000>; - ranges; - - spba@70000000 { - compatible = "fsl,spba-bus", "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0x70000000 0x40000>; - ranges; - - esdhc@70004000 { /* ESDHC1 */ - compatible = "fsl,imx51-esdhc"; - reg = <0x70004000 0x4000>; - interrupts = <1>; - status = "disabled"; - }; - - esdhc@70008000 { /* ESDHC2 */ - compatible = "fsl,imx51-esdhc"; - reg = <0x70008000 0x4000>; - interrupts = <2>; - status = "disabled"; - }; - - uart3: uart@7000c000 { - compatible = "fsl,imx51-uart", "fsl,imx21-uart"; - reg = <0x7000c000 0x4000>; - interrupts = <33>; - status = "disabled"; - }; - - ecspi@70010000 { /* ECSPI1 */ - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx51-ecspi"; - reg = <0x70010000 0x4000>; - interrupts = <36>; - status = "disabled"; - }; - - esdhc@70020000 { /* ESDHC3 */ - compatible = "fsl,imx51-esdhc"; - reg = <0x70020000 0x4000>; - interrupts = <3>; - status = "disabled"; - }; - - esdhc@70024000 { /* ESDHC4 */ - compatible = "fsl,imx51-esdhc"; - reg = <0x70024000 0x4000>; - interrupts = <4>; - status = "disabled"; - }; - }; - - gpio1: gpio@73f84000 { - compatible = "fsl,imx51-gpio", "fsl,imx31-gpio"; - reg = <0x73f84000 0x4000>; - interrupts = <50 51>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - gpio2: gpio@73f88000 { - compatible = "fsl,imx51-gpio", "fsl,imx31-gpio"; - reg = <0x73f88000 0x4000>; - interrupts = <52 53>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - gpio3: gpio@73f8c000 { - compatible = "fsl,imx51-gpio", "fsl,imx31-gpio"; - reg = <0x73f8c000 0x4000>; - interrupts = <54 55>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - gpio4: gpio@73f90000 { - compatible = "fsl,imx51-gpio", "fsl,imx31-gpio"; - reg = <0x73f90000 0x4000>; - interrupts = <56 57>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - wdog@73f98000 { /* WDOG1 */ - compatible = "fsl,imx51-wdt", "fsl,imx21-wdt"; - reg = <0x73f98000 0x4000>; - interrupts = <58>; - status = "disabled"; - }; - - wdog@73f9c000 { /* WDOG2 */ - compatible = "fsl,imx51-wdt", "fsl,imx21-wdt"; - reg = <0x73f9c000 0x4000>; - interrupts = <59>; - status = "disabled"; - }; - - uart1: uart@73fbc000 { - compatible = "fsl,imx51-uart", "fsl,imx21-uart"; - reg = <0x73fbc000 0x4000>; - interrupts = <31>; - status = "disabled"; - }; - - uart2: uart@73fc0000 { - compatible = "fsl,imx51-uart", "fsl,imx21-uart"; - reg = <0x73fc0000 0x4000>; - interrupts = <32>; - status = "disabled"; - }; - }; - - aips@80000000 { /* AIPS2 */ - compatible = "fsl,aips-bus", "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0x80000000 0x10000000>; - ranges; - - ecspi@83fac000 { /* ECSPI2 */ - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx51-ecspi"; - reg = <0x83fac000 0x4000>; - interrupts = <37>; - status = "disabled"; - }; - - sdma@83fb0000 { - compatible = "fsl,imx51-sdma", "fsl,imx35-sdma"; - reg = <0x83fb0000 0x4000>; - interrupts = <6>; - }; - - cspi@83fc0000 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx51-cspi", "fsl,imx35-cspi"; - reg = <0x83fc0000 0x4000>; - interrupts = <38>; - status = "disabled"; - }; - - i2c@83fc4000 { /* I2C2 */ - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx51-i2c", "fsl,imx1-i2c"; - reg = <0x83fc4000 0x4000>; - interrupts = <63>; - status = "disabled"; - }; - - i2c@83fc8000 { /* I2C1 */ - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx51-i2c", "fsl,imx1-i2c"; - reg = <0x83fc8000 0x4000>; - interrupts = <62>; - status = "disabled"; - }; - - fec@83fec000 { - compatible = "fsl,imx51-fec", "fsl,imx27-fec"; - reg = <0x83fec000 0x4000>; - interrupts = <87>; - status = "disabled"; - }; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/imx53-ard.dts b/kernel/arch/arm/boot/dts/tr961-5200l-v1/imx53-ard.dts deleted file mode 100644 index 2dccce46e..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/imx53-ard.dts +++ /dev/null @@ -1,113 +0,0 @@ -/* - * Copyright 2011 Freescale Semiconductor, Inc. - * Copyright 2011 Linaro Ltd. - * - * The code contained herein is licensed under the GNU General Public - * License. You may obtain a copy of the GNU General Public License - * Version 2 or later at the following locations: - * - * http://www.opensource.org/licenses/gpl-license.html - * http://www.gnu.org/copyleft/gpl.html - */ - -/dts-v1/; -/include/ "imx53.dtsi" - -/ { - model = "Freescale i.MX53 Automotive Reference Design Board"; - compatible = "fsl,imx53-ard", "fsl,imx53"; - - chosen { - bootargs = "console=ttymxc0,115200 root=/dev/mmcblk0p3 rootwait"; - }; - - memory { - reg = <0x70000000 0x40000000>; - }; - - soc { - aips@50000000 { /* AIPS1 */ - spba@50000000 { - esdhc@50004000 { /* ESDHC1 */ - cd-gpios = <&gpio1 1 0>; - wp-gpios = <&gpio1 9 0>; - status = "okay"; - }; - }; - - wdog@53f98000 { /* WDOG1 */ - status = "okay"; - }; - - iomuxc@53fa8000 { - compatible = "fsl,imx53-iomuxc-ard"; - reg = <0x53fa8000 0x4000>; - }; - - uart1: uart@53fbc000 { - status = "okay"; - }; - }; - - aips@60000000 { /* AIPS2 */ - sdma@63fb0000 { - fsl,sdma-ram-script-name = "imx/sdma/sdma-imx53.bin"; - }; - }; - }; - - eim-cs1@f4000000 { - #address-cells = <1>; - #size-cells = <1>; - compatible = "fsl,eim-bus", "simple-bus"; - reg = <0xf4000000 0x3ff0000>; - ranges; - - lan9220@f4000000 { - compatible = "smsc,lan9220", "smsc,lan9115"; - reg = <0xf4000000 0x2000000>; - phy-mode = "mii"; - interrupt-parent = <&gpio2>; - interrupts = <31>; - reg-io-width = <4>; - smsc,irq-push-pull; - }; - }; - - gpio-keys { - compatible = "gpio-keys"; - - home { - label = "Home"; - gpios = <&gpio5 10 0>; - linux,code = <102>; /* KEY_HOME */ - gpio-key,wakeup; - }; - - back { - label = "Back"; - gpios = <&gpio5 11 0>; - linux,code = <158>; /* KEY_BACK */ - gpio-key,wakeup; - }; - - program { - label = "Program"; - gpios = <&gpio5 12 0>; - linux,code = <362>; /* KEY_PROGRAM */ - gpio-key,wakeup; - }; - - volume-up { - label = "Volume Up"; - gpios = <&gpio5 13 0>; - linux,code = <115>; /* KEY_VOLUMEUP */ - }; - - volume-down { - label = "Volume Down"; - gpios = <&gpio4 0 0>; - linux,code = <114>; /* KEY_VOLUMEDOWN */ - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/imx53-evk.dts b/kernel/arch/arm/boot/dts/tr961-5200l-v1/imx53-evk.dts deleted file mode 100644 index 5bac4aa48..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/imx53-evk.dts +++ /dev/null @@ -1,119 +0,0 @@ -/* - * Copyright 2011 Freescale Semiconductor, Inc. - * Copyright 2011 Linaro Ltd. - * - * The code contained herein is licensed under the GNU General Public - * License. You may obtain a copy of the GNU General Public License - * Version 2 or later at the following locations: - * - * http://www.opensource.org/licenses/gpl-license.html - * http://www.gnu.org/copyleft/gpl.html - */ - -/dts-v1/; -/include/ "imx53.dtsi" - -/ { - model = "Freescale i.MX53 Evaluation Kit"; - compatible = "fsl,imx53-evk", "fsl,imx53"; - - chosen { - bootargs = "console=ttymxc0,115200 root=/dev/mmcblk0p3 rootwait"; - }; - - memory { - reg = <0x70000000 0x80000000>; - }; - - soc { - aips@50000000 { /* AIPS1 */ - spba@50000000 { - esdhc@50004000 { /* ESDHC1 */ - cd-gpios = <&gpio3 13 0>; - wp-gpios = <&gpio3 14 0>; - status = "okay"; - }; - - ecspi@50010000 { /* ECSPI1 */ - fsl,spi-num-chipselects = <2>; - cs-gpios = <&gpio2 30 0>, <&gpio3 19 0>; - status = "okay"; - - flash: at45db321d@1 { - #address-cells = <1>; - #size-cells = <1>; - compatible = "atmel,at45db321d", "atmel,at45", "atmel,dataflash"; - spi-max-frequency = <25000000>; - reg = <1>; - - partition@0 { - label = "U-Boot"; - reg = <0x0 0x40000>; - read-only; - }; - - partition@40000 { - label = "Kernel"; - reg = <0x40000 0x3c0000>; - }; - }; - }; - - esdhc@50020000 { /* ESDHC3 */ - cd-gpios = <&gpio3 11 0>; - wp-gpios = <&gpio3 12 0>; - status = "okay"; - }; - }; - - wdog@53f98000 { /* WDOG1 */ - status = "okay"; - }; - - iomuxc@53fa8000 { - compatible = "fsl,imx53-iomuxc-evk"; - reg = <0x53fa8000 0x4000>; - }; - - uart1: uart@53fbc000 { - status = "okay"; - }; - }; - - aips@60000000 { /* AIPS2 */ - sdma@63fb0000 { - fsl,sdma-ram-script-name = "imx/sdma/sdma-imx53.bin"; - }; - - i2c@63fc4000 { /* I2C2 */ - status = "okay"; - - pmic: mc13892@08 { - compatible = "fsl,mc13892", "fsl,mc13xxx"; - reg = <0x08>; - }; - - codec: sgtl5000@0a { - compatible = "fsl,sgtl5000"; - reg = <0x0a>; - }; - }; - - fec@63fec000 { - phy-mode = "rmii"; - phy-reset-gpios = <&gpio7 6 0>; - status = "okay"; - }; - }; - }; - - leds { - compatible = "gpio-leds"; - - green { - label = "Heartbeat"; - gpios = <&gpio7 7 0>; - linux,default-trigger = "heartbeat"; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/imx53-qsb.dts b/kernel/arch/arm/boot/dts/tr961-5200l-v1/imx53-qsb.dts deleted file mode 100644 index 5c57c8672..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/imx53-qsb.dts +++ /dev/null @@ -1,125 +0,0 @@ -/* - * Copyright 2011 Freescale Semiconductor, Inc. - * Copyright 2011 Linaro Ltd. - * - * The code contained herein is licensed under the GNU General Public - * License. You may obtain a copy of the GNU General Public License - * Version 2 or later at the following locations: - * - * http://www.opensource.org/licenses/gpl-license.html - * http://www.gnu.org/copyleft/gpl.html - */ - -/dts-v1/; -/include/ "imx53.dtsi" - -/ { - model = "Freescale i.MX53 Quick Start Board"; - compatible = "fsl,imx53-qsb", "fsl,imx53"; - - chosen { - bootargs = "console=ttymxc0,115200 root=/dev/mmcblk0p3 rootwait"; - }; - - memory { - reg = <0x70000000 0x40000000>; - }; - - soc { - aips@50000000 { /* AIPS1 */ - spba@50000000 { - esdhc@50004000 { /* ESDHC1 */ - cd-gpios = <&gpio3 13 0>; - status = "okay"; - }; - - esdhc@50020000 { /* ESDHC3 */ - cd-gpios = <&gpio3 11 0>; - wp-gpios = <&gpio3 12 0>; - status = "okay"; - }; - }; - - wdog@53f98000 { /* WDOG1 */ - status = "okay"; - }; - - iomuxc@53fa8000 { - compatible = "fsl,imx53-iomuxc-qsb"; - reg = <0x53fa8000 0x4000>; - }; - - uart1: uart@53fbc000 { - status = "okay"; - }; - }; - - aips@60000000 { /* AIPS2 */ - sdma@63fb0000 { - fsl,sdma-ram-script-name = "imx/sdma/sdma-imx53.bin"; - }; - - i2c@63fc4000 { /* I2C2 */ - status = "okay"; - - codec: sgtl5000@0a { - compatible = "fsl,sgtl5000"; - reg = <0x0a>; - }; - }; - - i2c@63fc8000 { /* I2C1 */ - status = "okay"; - - accelerometer: mma8450@1c { - compatible = "fsl,mma8450"; - reg = <0x1c>; - }; - - pmic: dialog@48 { - compatible = "dialog,da9053", "dialog,da9052"; - reg = <0x48>; - }; - }; - - fec@63fec000 { - phy-mode = "rmii"; - phy-reset-gpios = <&gpio7 6 0>; - status = "okay"; - }; - }; - }; - - gpio-keys { - compatible = "gpio-keys"; - - power { - label = "Power Button"; - gpios = <&gpio1 8 0>; - linux,code = <116>; /* KEY_POWER */ - gpio-key,wakeup; - }; - - volume-up { - label = "Volume Up"; - gpios = <&gpio2 14 0>; - linux,code = <115>; /* KEY_VOLUMEUP */ - }; - - volume-down { - label = "Volume Down"; - gpios = <&gpio2 15 0>; - linux,code = <114>; /* KEY_VOLUMEDOWN */ - }; - }; - - leds { - compatible = "gpio-leds"; - - user { - label = "Heartbeat"; - gpios = <&gpio7 7 0>; - linux,default-trigger = "heartbeat"; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/imx53-smd.dts b/kernel/arch/arm/boot/dts/tr961-5200l-v1/imx53-smd.dts deleted file mode 100644 index c7ee86c2d..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/imx53-smd.dts +++ /dev/null @@ -1,168 +0,0 @@ -/* - * Copyright 2011 Freescale Semiconductor, Inc. - * Copyright 2011 Linaro Ltd. - * - * The code contained herein is licensed under the GNU General Public - * License. You may obtain a copy of the GNU General Public License - * Version 2 or later at the following locations: - * - * http://www.opensource.org/licenses/gpl-license.html - * http://www.gnu.org/copyleft/gpl.html - */ - -/dts-v1/; -/include/ "imx53.dtsi" - -/ { - model = "Freescale i.MX53 Smart Mobile Reference Design Board"; - compatible = "fsl,imx53-smd", "fsl,imx53"; - - chosen { - bootargs = "console=ttymxc0,115200 root=/dev/mmcblk0p3 rootwait"; - }; - - memory { - reg = <0x70000000 0x40000000>; - }; - - soc { - aips@50000000 { /* AIPS1 */ - spba@50000000 { - esdhc@50004000 { /* ESDHC1 */ - cd-gpios = <&gpio3 13 0>; - wp-gpios = <&gpio4 11 0>; - status = "okay"; - }; - - esdhc@50008000 { /* ESDHC2 */ - fsl,card-wired; - status = "okay"; - }; - - uart3: uart@5000c000 { - fsl,uart-has-rtscts; - status = "okay"; - }; - - ecspi@50010000 { /* ECSPI1 */ - fsl,spi-num-chipselects = <2>; - cs-gpios = <&gpio2 30 0>, <&gpio3 19 0>; - status = "okay"; - - zigbee: mc1323@0 { - compatible = "fsl,mc1323"; - spi-max-frequency = <8000000>; - reg = <0>; - }; - - flash: m25p32@1 { - #address-cells = <1>; - #size-cells = <1>; - compatible = "st,m25p32", "st,m25p"; - spi-max-frequency = <20000000>; - reg = <1>; - - partition@0 { - label = "U-Boot"; - reg = <0x0 0x40000>; - read-only; - }; - - partition@40000 { - label = "Kernel"; - reg = <0x40000 0x3c0000>; - }; - }; - }; - - esdhc@50020000 { /* ESDHC3 */ - fsl,card-wired; - status = "okay"; - }; - }; - - wdog@53f98000 { /* WDOG1 */ - status = "okay"; - }; - - iomuxc@53fa8000 { - compatible = "fsl,imx53-iomuxc-smd"; - reg = <0x53fa8000 0x4000>; - }; - - uart1: uart@53fbc000 { - status = "okay"; - }; - - uart2: uart@53fc0000 { - status = "okay"; - }; - }; - - aips@60000000 { /* AIPS2 */ - sdma@63fb0000 { - fsl,sdma-ram-script-name = "imx/sdma/sdma-imx53.bin"; - }; - - i2c@63fc4000 { /* I2C2 */ - status = "okay"; - - codec: sgtl5000@0a { - compatible = "fsl,sgtl5000"; - reg = <0x0a>; - }; - - magnetometer: mag3110@0e { - compatible = "fsl,mag3110"; - reg = <0x0e>; - }; - - touchkey: mpr121@5a { - compatible = "fsl,mpr121"; - reg = <0x5a>; - }; - }; - - i2c@63fc8000 { /* I2C1 */ - status = "okay"; - - accelerometer: mma8450@1c { - compatible = "fsl,mma8450"; - reg = <0x1c>; - }; - - camera: ov5642@3c { - compatible = "ovti,ov5642"; - reg = <0x3c>; - }; - - pmic: dialog@48 { - compatible = "dialog,da9053", "dialog,da9052"; - reg = <0x48>; - }; - }; - - fec@63fec000 { - phy-mode = "rmii"; - phy-reset-gpios = <&gpio7 6 0>; - status = "okay"; - }; - }; - }; - - gpio-keys { - compatible = "gpio-keys"; - - volume-up { - label = "Volume Up"; - gpios = <&gpio2 14 0>; - linux,code = <115>; /* KEY_VOLUMEUP */ - }; - - volume-down { - label = "Volume Down"; - gpios = <&gpio2 15 0>; - linux,code = <114>; /* KEY_VOLUMEDOWN */ - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/imx53.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v1/imx53.dtsi deleted file mode 100644 index 5dd91b942..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/imx53.dtsi +++ /dev/null @@ -1,301 +0,0 @@ -/* - * Copyright 2011 Freescale Semiconductor, Inc. - * Copyright 2011 Linaro Ltd. - * - * The code contained herein is licensed under the GNU General Public - * License. You may obtain a copy of the GNU General Public License - * Version 2 or later at the following locations: - * - * http://www.opensource.org/licenses/gpl-license.html - * http://www.gnu.org/copyleft/gpl.html - */ - -/include/ "skeleton.dtsi" - -/ { - aliases { - serial0 = &uart1; - serial1 = &uart2; - serial2 = &uart3; - serial3 = &uart4; - serial4 = &uart5; - }; - - tzic: tz-interrupt-controller@0fffc000 { - compatible = "fsl,imx53-tzic", "fsl,tzic"; - interrupt-controller; - #interrupt-cells = <1>; - reg = <0x0fffc000 0x4000>; - }; - - clocks { - #address-cells = <1>; - #size-cells = <0>; - - ckil { - compatible = "fsl,imx-ckil", "fixed-clock"; - clock-frequency = <32768>; - }; - - ckih1 { - compatible = "fsl,imx-ckih1", "fixed-clock"; - clock-frequency = <22579200>; - }; - - ckih2 { - compatible = "fsl,imx-ckih2", "fixed-clock"; - clock-frequency = <0>; - }; - - osc { - compatible = "fsl,imx-osc", "fixed-clock"; - clock-frequency = <24000000>; - }; - }; - - soc { - #address-cells = <1>; - #size-cells = <1>; - compatible = "simple-bus"; - interrupt-parent = <&tzic>; - ranges; - - aips@50000000 { /* AIPS1 */ - compatible = "fsl,aips-bus", "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0x50000000 0x10000000>; - ranges; - - spba@50000000 { - compatible = "fsl,spba-bus", "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0x50000000 0x40000>; - ranges; - - esdhc@50004000 { /* ESDHC1 */ - compatible = "fsl,imx53-esdhc"; - reg = <0x50004000 0x4000>; - interrupts = <1>; - status = "disabled"; - }; - - esdhc@50008000 { /* ESDHC2 */ - compatible = "fsl,imx53-esdhc"; - reg = <0x50008000 0x4000>; - interrupts = <2>; - status = "disabled"; - }; - - uart3: uart@5000c000 { - compatible = "fsl,imx53-uart", "fsl,imx21-uart"; - reg = <0x5000c000 0x4000>; - interrupts = <33>; - status = "disabled"; - }; - - ecspi@50010000 { /* ECSPI1 */ - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx53-ecspi", "fsl,imx51-ecspi"; - reg = <0x50010000 0x4000>; - interrupts = <36>; - status = "disabled"; - }; - - esdhc@50020000 { /* ESDHC3 */ - compatible = "fsl,imx53-esdhc"; - reg = <0x50020000 0x4000>; - interrupts = <3>; - status = "disabled"; - }; - - esdhc@50024000 { /* ESDHC4 */ - compatible = "fsl,imx53-esdhc"; - reg = <0x50024000 0x4000>; - interrupts = <4>; - status = "disabled"; - }; - }; - - gpio1: gpio@53f84000 { - compatible = "fsl,imx53-gpio", "fsl,imx31-gpio"; - reg = <0x53f84000 0x4000>; - interrupts = <50 51>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - gpio2: gpio@53f88000 { - compatible = "fsl,imx53-gpio", "fsl,imx31-gpio"; - reg = <0x53f88000 0x4000>; - interrupts = <52 53>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - gpio3: gpio@53f8c000 { - compatible = "fsl,imx53-gpio", "fsl,imx31-gpio"; - reg = <0x53f8c000 0x4000>; - interrupts = <54 55>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - gpio4: gpio@53f90000 { - compatible = "fsl,imx53-gpio", "fsl,imx31-gpio"; - reg = <0x53f90000 0x4000>; - interrupts = <56 57>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - wdog@53f98000 { /* WDOG1 */ - compatible = "fsl,imx53-wdt", "fsl,imx21-wdt"; - reg = <0x53f98000 0x4000>; - interrupts = <58>; - status = "disabled"; - }; - - wdog@53f9c000 { /* WDOG2 */ - compatible = "fsl,imx53-wdt", "fsl,imx21-wdt"; - reg = <0x53f9c000 0x4000>; - interrupts = <59>; - status = "disabled"; - }; - - uart1: uart@53fbc000 { - compatible = "fsl,imx53-uart", "fsl,imx21-uart"; - reg = <0x53fbc000 0x4000>; - interrupts = <31>; - status = "disabled"; - }; - - uart2: uart@53fc0000 { - compatible = "fsl,imx53-uart", "fsl,imx21-uart"; - reg = <0x53fc0000 0x4000>; - interrupts = <32>; - status = "disabled"; - }; - - gpio5: gpio@53fdc000 { - compatible = "fsl,imx53-gpio", "fsl,imx31-gpio"; - reg = <0x53fdc000 0x4000>; - interrupts = <103 104>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - gpio6: gpio@53fe0000 { - compatible = "fsl,imx53-gpio", "fsl,imx31-gpio"; - reg = <0x53fe0000 0x4000>; - interrupts = <105 106>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - gpio7: gpio@53fe4000 { - compatible = "fsl,imx53-gpio", "fsl,imx31-gpio"; - reg = <0x53fe4000 0x4000>; - interrupts = <107 108>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - i2c@53fec000 { /* I2C3 */ - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx53-i2c", "fsl,imx1-i2c"; - reg = <0x53fec000 0x4000>; - interrupts = <64>; - status = "disabled"; - }; - - uart4: uart@53ff0000 { - compatible = "fsl,imx53-uart", "fsl,imx21-uart"; - reg = <0x53ff0000 0x4000>; - interrupts = <13>; - status = "disabled"; - }; - }; - - aips@60000000 { /* AIPS2 */ - compatible = "fsl,aips-bus", "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0x60000000 0x10000000>; - ranges; - - uart5: uart@63f90000 { - compatible = "fsl,imx53-uart", "fsl,imx21-uart"; - reg = <0x63f90000 0x4000>; - interrupts = <86>; - status = "disabled"; - }; - - ecspi@63fac000 { /* ECSPI2 */ - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx53-ecspi", "fsl,imx51-ecspi"; - reg = <0x63fac000 0x4000>; - interrupts = <37>; - status = "disabled"; - }; - - sdma@63fb0000 { - compatible = "fsl,imx53-sdma", "fsl,imx35-sdma"; - reg = <0x63fb0000 0x4000>; - interrupts = <6>; - }; - - cspi@63fc0000 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx53-cspi", "fsl,imx35-cspi"; - reg = <0x63fc0000 0x4000>; - interrupts = <38>; - status = "disabled"; - }; - - i2c@63fc4000 { /* I2C2 */ - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx53-i2c", "fsl,imx1-i2c"; - reg = <0x63fc4000 0x4000>; - interrupts = <63>; - status = "disabled"; - }; - - i2c@63fc8000 { /* I2C1 */ - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx53-i2c", "fsl,imx1-i2c"; - reg = <0x63fc8000 0x4000>; - interrupts = <62>; - status = "disabled"; - }; - - fec@63fec000 { - compatible = "fsl,imx53-fec", "fsl,imx25-fec"; - reg = <0x63fec000 0x4000>; - interrupts = <87>; - status = "disabled"; - }; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/imx6q-arm2.dts b/kernel/arch/arm/boot/dts/tr961-5200l-v1/imx6q-arm2.dts deleted file mode 100644 index ce1c8238c..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/imx6q-arm2.dts +++ /dev/null @@ -1,76 +0,0 @@ -/* - * Copyright 2011 Freescale Semiconductor, Inc. - * Copyright 2011 Linaro Ltd. - * - * The code contained herein is licensed under the GNU General Public - * License. You may obtain a copy of the GNU General Public License - * Version 2 or later at the following locations: - * - * http://www.opensource.org/licenses/gpl-license.html - * http://www.gnu.org/copyleft/gpl.html - */ - -/dts-v1/; -/include/ "imx6q.dtsi" - -/ { - model = "Freescale i.MX6 Quad Armadillo2 Board"; - compatible = "fsl,imx6q-arm2", "fsl,imx6q"; - - chosen { - bootargs = "console=ttymxc0,115200 root=/dev/mmcblk3p3 rootwait"; - }; - - memory { - reg = <0x10000000 0x80000000>; - }; - - soc { - aips-bus@02100000 { /* AIPS2 */ - enet@02188000 { - phy-mode = "rgmii"; - local-mac-address = [00 04 9F 01 1B 61]; - status = "okay"; - }; - - usdhc@02198000 { /* uSDHC3 */ - cd-gpios = <&gpio6 11 0>; - wp-gpios = <&gpio6 14 0>; - vmmc-supply = <®_3p3v>; - status = "okay"; - }; - - usdhc@0219c000 { /* uSDHC4 */ - fsl,card-wired; - vmmc-supply = <®_3p3v>; - status = "okay"; - }; - - uart4: uart@021f0000 { - status = "okay"; - }; - }; - }; - - regulators { - compatible = "simple-bus"; - - reg_3p3v: 3p3v { - compatible = "regulator-fixed"; - regulator-name = "3P3V"; - regulator-min-microvolt = <3300000>; - regulator-max-microvolt = <3300000>; - regulator-always-on; - }; - }; - - leds { - compatible = "gpio-leds"; - - debug-led { - label = "Heartbeat"; - gpios = <&gpio3 25 0>; - linux,default-trigger = "heartbeat"; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/imx6q-sabrelite.dts b/kernel/arch/arm/boot/dts/tr961-5200l-v1/imx6q-sabrelite.dts deleted file mode 100644 index 4663a4e5a..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/imx6q-sabrelite.dts +++ /dev/null @@ -1,83 +0,0 @@ -/* - * Copyright 2011 Freescale Semiconductor, Inc. - * Copyright 2011 Linaro Ltd. - * - * The code contained herein is licensed under the GNU General Public - * License. You may obtain a copy of the GNU General Public License - * Version 2 or later at the following locations: - * - * http://www.opensource.org/licenses/gpl-license.html - * http://www.gnu.org/copyleft/gpl.html - */ - -/dts-v1/; -/include/ "imx6q.dtsi" - -/ { - model = "Freescale i.MX6 Quad SABRE Lite Board"; - compatible = "fsl,imx6q-sabrelite", "fsl,imx6q"; - - memory { - reg = <0x10000000 0x40000000>; - }; - - soc { - aips-bus@02100000 { /* AIPS2 */ - enet@02188000 { - phy-mode = "rgmii"; - phy-reset-gpios = <&gpio3 23 0>; - status = "okay"; - }; - - usdhc@02198000 { /* uSDHC3 */ - cd-gpios = <&gpio7 0 0>; - wp-gpios = <&gpio7 1 0>; - vmmc-supply = <®_3p3v>; - status = "okay"; - }; - - usdhc@0219c000 { /* uSDHC4 */ - cd-gpios = <&gpio2 6 0>; - wp-gpios = <&gpio2 7 0>; - vmmc-supply = <®_3p3v>; - status = "okay"; - }; - - uart2: uart@021e8000 { - status = "okay"; - }; - - i2c@021a0000 { /* I2C1 */ - status = "okay"; - clock-frequency = <100000>; - - codec: sgtl5000@0a { - compatible = "fsl,sgtl5000"; - reg = <0x0a>; - VDDA-supply = <®_2p5v>; - VDDIO-supply = <®_3p3v>; - }; - }; - }; - }; - - regulators { - compatible = "simple-bus"; - - reg_2p5v: 2p5v { - compatible = "regulator-fixed"; - regulator-name = "2P5V"; - regulator-min-microvolt = <2500000>; - regulator-max-microvolt = <2500000>; - regulator-always-on; - }; - - reg_3p3v: 3p3v { - compatible = "regulator-fixed"; - regulator-name = "3P3V"; - regulator-min-microvolt = <3300000>; - regulator-max-microvolt = <3300000>; - regulator-always-on; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/imx6q.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v1/imx6q.dtsi deleted file mode 100644 index 4905f51a1..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/imx6q.dtsi +++ /dev/null @@ -1,575 +0,0 @@ -/* - * Copyright 2011 Freescale Semiconductor, Inc. - * Copyright 2011 Linaro Ltd. - * - * The code contained herein is licensed under the GNU General Public - * License. You may obtain a copy of the GNU General Public License - * Version 2 or later at the following locations: - * - * http://www.opensource.org/licenses/gpl-license.html - * http://www.gnu.org/copyleft/gpl.html - */ - -/include/ "skeleton.dtsi" - -/ { - aliases { - serial0 = &uart1; - serial1 = &uart2; - serial2 = &uart3; - serial3 = &uart4; - serial4 = &uart5; - }; - - cpus { - #address-cells = <1>; - #size-cells = <0>; - - cpu@0 { - compatible = "arm,cortex-a9"; - reg = <0>; - next-level-cache = <&L2>; - }; - - cpu@1 { - compatible = "arm,cortex-a9"; - reg = <1>; - next-level-cache = <&L2>; - }; - - cpu@2 { - compatible = "arm,cortex-a9"; - reg = <2>; - next-level-cache = <&L2>; - }; - - cpu@3 { - compatible = "arm,cortex-a9"; - reg = <3>; - next-level-cache = <&L2>; - }; - }; - - intc: interrupt-controller@00a01000 { - compatible = "arm,cortex-a9-gic"; - #interrupt-cells = <3>; - #address-cells = <1>; - #size-cells = <1>; - interrupt-controller; - reg = <0x00a01000 0x1000>, - <0x00a00100 0x100>; - }; - - clocks { - #address-cells = <1>; - #size-cells = <0>; - - ckil { - compatible = "fsl,imx-ckil", "fixed-clock"; - clock-frequency = <32768>; - }; - - ckih1 { - compatible = "fsl,imx-ckih1", "fixed-clock"; - clock-frequency = <0>; - }; - - osc { - compatible = "fsl,imx-osc", "fixed-clock"; - clock-frequency = <24000000>; - }; - }; - - soc { - #address-cells = <1>; - #size-cells = <1>; - compatible = "simple-bus"; - interrupt-parent = <&intc>; - ranges; - - timer@00a00600 { - compatible = "arm,cortex-a9-twd-timer"; - reg = <0x00a00600 0x20>; - interrupts = <1 13 0xf01>; - }; - - L2: l2-cache@00a02000 { - compatible = "arm,pl310-cache"; - reg = <0x00a02000 0x1000>; - interrupts = <0 92 0x04>; - cache-unified; - cache-level = <2>; - }; - - aips-bus@02000000 { /* AIPS1 */ - compatible = "fsl,aips-bus", "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0x02000000 0x100000>; - ranges; - - spba-bus@02000000 { - compatible = "fsl,spba-bus", "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0x02000000 0x40000>; - ranges; - - spdif@02004000 { - reg = <0x02004000 0x4000>; - interrupts = <0 52 0x04>; - }; - - ecspi@02008000 { /* eCSPI1 */ - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx6q-ecspi", "fsl,imx51-ecspi"; - reg = <0x02008000 0x4000>; - interrupts = <0 31 0x04>; - status = "disabled"; - }; - - ecspi@0200c000 { /* eCSPI2 */ - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx6q-ecspi", "fsl,imx51-ecspi"; - reg = <0x0200c000 0x4000>; - interrupts = <0 32 0x04>; - status = "disabled"; - }; - - ecspi@02010000 { /* eCSPI3 */ - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx6q-ecspi", "fsl,imx51-ecspi"; - reg = <0x02010000 0x4000>; - interrupts = <0 33 0x04>; - status = "disabled"; - }; - - ecspi@02014000 { /* eCSPI4 */ - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx6q-ecspi", "fsl,imx51-ecspi"; - reg = <0x02014000 0x4000>; - interrupts = <0 34 0x04>; - status = "disabled"; - }; - - ecspi@02018000 { /* eCSPI5 */ - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx6q-ecspi", "fsl,imx51-ecspi"; - reg = <0x02018000 0x4000>; - interrupts = <0 35 0x04>; - status = "disabled"; - }; - - uart1: uart@02020000 { - compatible = "fsl,imx6q-uart", "fsl,imx21-uart"; - reg = <0x02020000 0x4000>; - interrupts = <0 26 0x04>; - status = "disabled"; - }; - - esai@02024000 { - reg = <0x02024000 0x4000>; - interrupts = <0 51 0x04>; - }; - - ssi@02028000 { /* SSI1 */ - reg = <0x02028000 0x4000>; - interrupts = <0 46 0x04>; - }; - - ssi@0202c000 { /* SSI2 */ - reg = <0x0202c000 0x4000>; - interrupts = <0 47 0x04>; - }; - - ssi@02030000 { /* SSI3 */ - reg = <0x02030000 0x4000>; - interrupts = <0 48 0x04>; - }; - - asrc@02034000 { - reg = <0x02034000 0x4000>; - interrupts = <0 50 0x04>; - }; - - spba@0203c000 { - reg = <0x0203c000 0x4000>; - }; - }; - - vpu@02040000 { - reg = <0x02040000 0x3c000>; - interrupts = <0 3 0x04 0 12 0x04>; - }; - - aipstz@0207c000 { /* AIPSTZ1 */ - reg = <0x0207c000 0x4000>; - }; - - pwm@02080000 { /* PWM1 */ - reg = <0x02080000 0x4000>; - interrupts = <0 83 0x04>; - }; - - pwm@02084000 { /* PWM2 */ - reg = <0x02084000 0x4000>; - interrupts = <0 84 0x04>; - }; - - pwm@02088000 { /* PWM3 */ - reg = <0x02088000 0x4000>; - interrupts = <0 85 0x04>; - }; - - pwm@0208c000 { /* PWM4 */ - reg = <0x0208c000 0x4000>; - interrupts = <0 86 0x04>; - }; - - flexcan@02090000 { /* CAN1 */ - reg = <0x02090000 0x4000>; - interrupts = <0 110 0x04>; - }; - - flexcan@02094000 { /* CAN2 */ - reg = <0x02094000 0x4000>; - interrupts = <0 111 0x04>; - }; - - gpt@02098000 { - compatible = "fsl,imx6q-gpt"; - reg = <0x02098000 0x4000>; - interrupts = <0 55 0x04>; - }; - - gpio1: gpio@0209c000 { - compatible = "fsl,imx6q-gpio", "fsl,imx31-gpio"; - reg = <0x0209c000 0x4000>; - interrupts = <0 66 0x04 0 67 0x04>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - gpio2: gpio@020a0000 { - compatible = "fsl,imx6q-gpio", "fsl,imx31-gpio"; - reg = <0x020a0000 0x4000>; - interrupts = <0 68 0x04 0 69 0x04>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - gpio3: gpio@020a4000 { - compatible = "fsl,imx6q-gpio", "fsl,imx31-gpio"; - reg = <0x020a4000 0x4000>; - interrupts = <0 70 0x04 0 71 0x04>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - gpio4: gpio@020a8000 { - compatible = "fsl,imx6q-gpio", "fsl,imx31-gpio"; - reg = <0x020a8000 0x4000>; - interrupts = <0 72 0x04 0 73 0x04>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - gpio5: gpio@020ac000 { - compatible = "fsl,imx6q-gpio", "fsl,imx31-gpio"; - reg = <0x020ac000 0x4000>; - interrupts = <0 74 0x04 0 75 0x04>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - gpio6: gpio@020b0000 { - compatible = "fsl,imx6q-gpio", "fsl,imx31-gpio"; - reg = <0x020b0000 0x4000>; - interrupts = <0 76 0x04 0 77 0x04>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - gpio7: gpio@020b4000 { - compatible = "fsl,imx6q-gpio", "fsl,imx31-gpio"; - reg = <0x020b4000 0x4000>; - interrupts = <0 78 0x04 0 79 0x04>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - kpp@020b8000 { - reg = <0x020b8000 0x4000>; - interrupts = <0 82 0x04>; - }; - - wdog@020bc000 { /* WDOG1 */ - compatible = "fsl,imx6q-wdt", "fsl,imx21-wdt"; - reg = <0x020bc000 0x4000>; - interrupts = <0 80 0x04>; - status = "disabled"; - }; - - wdog@020c0000 { /* WDOG2 */ - compatible = "fsl,imx6q-wdt", "fsl,imx21-wdt"; - reg = <0x020c0000 0x4000>; - interrupts = <0 81 0x04>; - status = "disabled"; - }; - - ccm@020c4000 { - compatible = "fsl,imx6q-ccm"; - reg = <0x020c4000 0x4000>; - interrupts = <0 87 0x04 0 88 0x04>; - }; - - anatop@020c8000 { - compatible = "fsl,imx6q-anatop"; - reg = <0x020c8000 0x1000>; - interrupts = <0 49 0x04 0 54 0x04 0 127 0x04>; - }; - - usbphy@020c9000 { /* USBPHY1 */ - reg = <0x020c9000 0x1000>; - interrupts = <0 44 0x04>; - }; - - usbphy@020ca000 { /* USBPHY2 */ - reg = <0x020ca000 0x1000>; - interrupts = <0 45 0x04>; - }; - - snvs@020cc000 { - reg = <0x020cc000 0x4000>; - interrupts = <0 19 0x04 0 20 0x04>; - }; - - epit@020d0000 { /* EPIT1 */ - reg = <0x020d0000 0x4000>; - interrupts = <0 56 0x04>; - }; - - epit@020d4000 { /* EPIT2 */ - reg = <0x020d4000 0x4000>; - interrupts = <0 57 0x04>; - }; - - src@020d8000 { - compatible = "fsl,imx6q-src"; - reg = <0x020d8000 0x4000>; - interrupts = <0 91 0x04 0 96 0x04>; - }; - - gpc@020dc000 { - compatible = "fsl,imx6q-gpc"; - reg = <0x020dc000 0x4000>; - interrupts = <0 89 0x04 0 90 0x04>; - }; - - iomuxc@020e0000 { - reg = <0x020e0000 0x4000>; - }; - - dcic@020e4000 { /* DCIC1 */ - reg = <0x020e4000 0x4000>; - interrupts = <0 124 0x04>; - }; - - dcic@020e8000 { /* DCIC2 */ - reg = <0x020e8000 0x4000>; - interrupts = <0 125 0x04>; - }; - - sdma@020ec000 { - compatible = "fsl,imx6q-sdma", "fsl,imx35-sdma"; - reg = <0x020ec000 0x4000>; - interrupts = <0 2 0x04>; - }; - }; - - aips-bus@02100000 { /* AIPS2 */ - compatible = "fsl,aips-bus", "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0x02100000 0x100000>; - ranges; - - caam@02100000 { - reg = <0x02100000 0x40000>; - interrupts = <0 105 0x04 0 106 0x04>; - }; - - aipstz@0217c000 { /* AIPSTZ2 */ - reg = <0x0217c000 0x4000>; - }; - - enet@02188000 { - compatible = "fsl,imx6q-fec"; - reg = <0x02188000 0x4000>; - interrupts = <0 118 0x04 0 119 0x04>; - status = "disabled"; - }; - - mlb@0218c000 { - reg = <0x0218c000 0x4000>; - interrupts = <0 53 0x04 0 117 0x04 0 126 0x04>; - }; - - usdhc@02190000 { /* uSDHC1 */ - compatible = "fsl,imx6q-usdhc"; - reg = <0x02190000 0x4000>; - interrupts = <0 22 0x04>; - status = "disabled"; - }; - - usdhc@02194000 { /* uSDHC2 */ - compatible = "fsl,imx6q-usdhc"; - reg = <0x02194000 0x4000>; - interrupts = <0 23 0x04>; - status = "disabled"; - }; - - usdhc@02198000 { /* uSDHC3 */ - compatible = "fsl,imx6q-usdhc"; - reg = <0x02198000 0x4000>; - interrupts = <0 24 0x04>; - status = "disabled"; - }; - - usdhc@0219c000 { /* uSDHC4 */ - compatible = "fsl,imx6q-usdhc"; - reg = <0x0219c000 0x4000>; - interrupts = <0 25 0x04>; - status = "disabled"; - }; - - i2c@021a0000 { /* I2C1 */ - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx6q-i2c", "fsl,imx1-i2c"; - reg = <0x021a0000 0x4000>; - interrupts = <0 36 0x04>; - status = "disabled"; - }; - - i2c@021a4000 { /* I2C2 */ - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx6q-i2c", "fsl,imx1-i2c"; - reg = <0x021a4000 0x4000>; - interrupts = <0 37 0x04>; - status = "disabled"; - }; - - i2c@021a8000 { /* I2C3 */ - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx6q-i2c", "fsl,imx1-i2c"; - reg = <0x021a8000 0x4000>; - interrupts = <0 38 0x04>; - status = "disabled"; - }; - - romcp@021ac000 { - reg = <0x021ac000 0x4000>; - }; - - mmdc@021b0000 { /* MMDC0 */ - compatible = "fsl,imx6q-mmdc"; - reg = <0x021b0000 0x4000>; - }; - - mmdc@021b4000 { /* MMDC1 */ - reg = <0x021b4000 0x4000>; - }; - - weim@021b8000 { - reg = <0x021b8000 0x4000>; - interrupts = <0 14 0x04>; - }; - - ocotp@021bc000 { - reg = <0x021bc000 0x4000>; - }; - - ocotp@021c0000 { - reg = <0x021c0000 0x4000>; - interrupts = <0 21 0x04>; - }; - - tzasc@021d0000 { /* TZASC1 */ - reg = <0x021d0000 0x4000>; - interrupts = <0 108 0x04>; - }; - - tzasc@021d4000 { /* TZASC2 */ - reg = <0x021d4000 0x4000>; - interrupts = <0 109 0x04>; - }; - - audmux@021d8000 { - reg = <0x021d8000 0x4000>; - }; - - mipi@021dc000 { /* MIPI-CSI */ - reg = <0x021dc000 0x4000>; - }; - - mipi@021e0000 { /* MIPI-DSI */ - reg = <0x021e0000 0x4000>; - }; - - vdoa@021e4000 { - reg = <0x021e4000 0x4000>; - interrupts = <0 18 0x04>; - }; - - uart2: uart@021e8000 { - compatible = "fsl,imx6q-uart", "fsl,imx21-uart"; - reg = <0x021e8000 0x4000>; - interrupts = <0 27 0x04>; - status = "disabled"; - }; - - uart3: uart@021ec000 { - compatible = "fsl,imx6q-uart", "fsl,imx21-uart"; - reg = <0x021ec000 0x4000>; - interrupts = <0 28 0x04>; - status = "disabled"; - }; - - uart4: uart@021f0000 { - compatible = "fsl,imx6q-uart", "fsl,imx21-uart"; - reg = <0x021f0000 0x4000>; - interrupts = <0 29 0x04>; - status = "disabled"; - }; - - uart5: uart@021f4000 { - compatible = "fsl,imx6q-uart", "fsl,imx21-uart"; - reg = <0x021f4000 0x4000>; - interrupts = <0 30 0x04>; - status = "disabled"; - }; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/kirkwood-dreamplug.dts b/kernel/arch/arm/boot/dts/tr961-5200l-v1/kirkwood-dreamplug.dts deleted file mode 100644 index a5376b842..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/kirkwood-dreamplug.dts +++ /dev/null @@ -1,24 +0,0 @@ -/dts-v1/; - -/include/ "kirkwood.dtsi" - -/ { - model = "Globalscale Technologies Dreamplug"; - compatible = "globalscale,dreamplug-003-ds2001", "globalscale,dreamplug", "mrvl,kirkwood-88f6281", "mrvl,kirkwood"; - - memory { - device_type = "memory"; - reg = <0x00000000 0x20000000>; - }; - - chosen { - bootargs = "console=ttyS0,115200n8 earlyprintk"; - }; - - ocp@f1000000 { - serial@12000 { - clock-frequency = <200000000>; - status = "ok"; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/kirkwood.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v1/kirkwood.dtsi deleted file mode 100644 index 3474ef890..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/kirkwood.dtsi +++ /dev/null @@ -1,36 +0,0 @@ -/include/ "skeleton.dtsi" - -/ { - compatible = "mrvl,kirkwood"; - - ocp@f1000000 { - compatible = "simple-bus"; - ranges = <0 0xf1000000 0x1000000>; - #address-cells = <1>; - #size-cells = <1>; - - serial@12000 { - compatible = "ns16550a"; - reg = <0x12000 0x100>; - reg-shift = <2>; - interrupts = <33>; - /* set clock-frequency in board dts */ - status = "disabled"; - }; - - serial@12100 { - compatible = "ns16550a"; - reg = <0x12100 0x100>; - reg-shift = <2>; - interrupts = <34>; - /* set clock-frequency in board dts */ - status = "disabled"; - }; - - rtc@10300 { - compatible = "mrvl,kirkwood-rtc", "mrvl,orion-rtc"; - reg = <0x10300 0x20>; - interrupts = <53>; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/mpq8092-iommu.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v1/mpq8092-iommu.dtsi deleted file mode 100644 index 56369dce3..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/mpq8092-iommu.dtsi +++ /dev/null @@ -1,40 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/include/ "msm-iommu-v1.dtsi" - -&jpeg_iommu { - status = "ok"; - vdd-supply = <&gdsc_jpeg>; -}; - -&mdp_iommu { - status = "ok"; - vdd-supply = <&gdsc_mdss>; -}; - -&venus_iommu { - status = "ok"; - vdd-supply = <&gdsc_venus>; -}; - -&kgsl_iommu { - status = "ok"; - qcom,needs-alt-core-clk; - vdd-supply = <&gdsc_oxili_cx>; - qcom,alt-vdd-supply = <&gdsc_oxili_gx>; -}; - -&vfe_iommu { - status = "ok"; - vdd-supply = <&gdsc_vfe>; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/mpq8092-ion.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v1/mpq8092-ion.dtsi deleted file mode 100644 index f9f59850a..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/mpq8092-ion.dtsi +++ /dev/null @@ -1,33 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&soc { - qcom,ion { - compatible = "qcom,msm-ion"; - #address-cells = <1>; - #size-cells = <0>; - - qcom,ion-heap@30 { /* SYSTEM HEAP */ - reg = <30>; - }; - - qcom,ion-heap@21 { /* SYSTEM CONTIG HEAP */ - reg = <21>; - }; - - qcom,ion-heap@25 { /* IOMMU HEAP */ - reg = <25>; - }; - - }; -}; - diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/mpq8092-regulator.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v1/mpq8092-regulator.dtsi deleted file mode 100644 index 63896e922..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/mpq8092-regulator.dtsi +++ /dev/null @@ -1,324 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - - -/* QPNP controlled regulators: */ - -&spmi_bus { - - qcom,pma8084@1 { - pma8084_s1: regulator@1400 { - regulator-min-microvolt = <900000>; - regulator-max-microvolt = <900000>; - qcom,enable-time = <500>; - qcom,pull-down-enable = <1>; - qcom,system-load = <100000>; - status = "okay"; - }; - - pma8084_s3: regulator@1a00 { - regulator-min-microvolt = <1350000>; - regulator-max-microvolt = <1350000>; - qcom,enable-time = <500>; - qcom,pull-down-enable = <1>; - regulator-always-on; - qcom,system-load = <100000>; - status = "okay"; - }; - - pma8084_s4: regulator@1d00 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,enable-time = <500>; - qcom,pull-down-enable = <1>; - regulator-always-on; - qcom,system-load = <100000>; - status = "okay"; - }; - - pma8084_s5: regulator@2000 { - regulator-min-microvolt = <2150000>; - regulator-max-microvolt = <2150000>; - qcom,enable-time = <500>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_s6: regulator@2300 { - regulator-min-microvolt = <900000>; - regulator-max-microvolt = <900000>; - qcom,enable-time = <500>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_s8: regulator@2900 { - regulator-min-microvolt = <1050000>; - regulator-max-microvolt = <1050000>; - qcom,enable-time = <500>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_s12: regulator@3500 { - regulator-min-microvolt = <900000>; - regulator-max-microvolt = <900000>; - qcom,enable-time = <500>; - qcom,pull-down-enable = <1>; - regulator-always-on; - qcom,system-load = <100000>; - status = "okay"; - }; - - pma8084_l1: regulator@4000 { - parent-supply = <&pma8084_s3>; - regulator-min-microvolt = <1225000>; - regulator-max-microvolt = <1225000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - regulator-always-on; - qcom,system-load = <10000>; - status = "okay"; - }; - - pma8084_l2: regulator@4100 { - parent-supply = <&pma8084_s3>; - regulator-min-microvolt = <1000000>; - regulator-max-microvolt = <1000000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l3: regulator@4200 { - parent-supply = <&pma8084_s3>; - regulator-min-microvolt = <1200000>; - regulator-max-microvolt = <1200000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l4: regulator@4300 { - parent-supply = <&pma8084_s3>; - regulator-min-microvolt = <1300000>; - regulator-max-microvolt = <1300000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l6: regulator@4500 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l9: regulator@4800 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <2950000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l10: regulator@4900 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l11: regulator@4a00 { - parent-supply = <&pma8084_s3>; - regulator-min-microvolt = <1200000>; - regulator-max-microvolt = <1200000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l12: regulator@4b00 { - regulator-min-microvolt = <2500000>; - regulator-max-microvolt = <2500000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l13: regulator@4c00 { - regulator-min-microvolt = <2950000>; - regulator-max-microvolt = <2950000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - regulator-always-on; - status = "okay"; - }; - - pma8084_l14: regulator@4d00 { - regulator-min-microvolt = <950000>; - regulator-max-microvolt = <950000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l15: regulator@4e00 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l16: regulator@4f00 { - parent-supply = <&pma8084_s5>; - regulator-min-microvolt = <750000>; - regulator-max-microvolt = <750000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l17: regulator@5000 { - regulator-min-microvolt = <3150000>; - regulator-max-microvolt = <3150000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - qcom,system-load = <100000>; - status = "okay"; - }; - - pma8084_l18: regulator@5100 { - regulator-min-microvolt = <2850000>; - regulator-max-microvolt = <2850000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l19: regulator@5200 { - parent-supply = <&pma8084_s5>; - regulator-min-microvolt = <1500000>; - regulator-max-microvolt = <1500000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l20: regulator@5300 { - regulator-min-microvolt = <2950000>; - regulator-max-microvolt = <2950000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - regulator-always-on; - status = "okay"; - }; - - pma8084_l21: regulator@5400 { - regulator-min-microvolt = <2950000>; - regulator-max-microvolt = <2950000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - regulator-always-on; - status = "okay"; - }; - - pma8084_l22: regulator@5500 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - regulator-always-on; - status = "okay"; - }; - - pma8084_l23: regulator@5600 { - regulator-min-microvolt = <3000000>; - regulator-max-microvolt = <3000000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l24: regulator@5700 { - regulator-min-microvolt = <3075000>; - regulator-max-microvolt = <3075000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - regulator-always-on; - status = "okay"; - }; - - pma8084_l25: regulator@5800 { - parent-supply = <&pma8084_s5>; - regulator-min-microvolt = <2000000>; - regulator-max-microvolt = <2000000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - pma8084_l26: regulator@5900 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - pma8084_l27: regulator@5A00 { - parent-supply = <&pma8084_s3>; - regulator-min-microvolt = <1000000>; - regulator-max-microvolt = <1000000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_lvs1: regulator@8000 { - parent-supply = <&pma8084_s4>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_lvs2: regulator@8100 { - parent-supply = <&pma8084_s4>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_lvs3: regulator@8200 { - parent-supply = <&pma8084_s4>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_lvs4: regulator@8300 { - parent-supply = <&pma8084_s4>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_mvs1: regulator@8400 { - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - }; -}; - diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/mpq8092-rumi.dts b/kernel/arch/arm/boot/dts/tr961-5200l-v1/mpq8092-rumi.dts deleted file mode 100644 index 1abaf5596..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/mpq8092-rumi.dts +++ /dev/null @@ -1,28 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; - -/include/ "mpq8092.dtsi" -/include/ "mpq8092-rumi.dtsi" - -/ { - model = "Qualcomm MPQ8092 RUMI"; - compatible = "qcom,mpq8092-rumi", "qcom,mpq8092", "qcom,rumi"; - qcom,msm-id = <146 16 0>; -}; - -&soc { - serial@f9922000 { - status = "ok"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/mpq8092-rumi.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v1/mpq8092-rumi.dtsi deleted file mode 100644 index 201699882..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/mpq8092-rumi.dtsi +++ /dev/null @@ -1,134 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -&soc { - timer { - clock-frequency = <5000000>; - }; - - timer@f9020000 { - clock-frequency = <5000000>; - }; - - usb@f9a55000 { - status = "disable"; - }; - - qcom,sdcc@f9824000 { - status = "disabled"; - qcom,clk-rates = <400000 19200000>; - }; - - qcom,sdcc@f98a4000 { - status = "disabled"; - qcom,clk-rates = <400000 19200000>; - }; - - qcom,sps@f998000 { - status = "disable"; - }; - - spi@f9924000 { - status = "disable"; - }; - - spi@f9923000 { - compatible = "qcom,spi-qup-v2"; - reg = <0xf9923000 0x1000>; - interrupts = <0 95 0>; - spi-max-frequency = <24000000>; - #address-cells = <1>; - #size-cells = <0>; - gpios = <&msmgpio 3 0>, /* CLK */ - <&msmgpio 1 0>, /* MISO */ - <&msmgpio 0 0>; /* MOSI */ - cs-gpios = <&msmgpio 9 0>; - - ethernet-switch@2 { - compatible = "simtec,ks8851"; - reg = <2>; - interrupt-parent = <&msmgpio>; - interrupts = <90 0>; - spi-max-frequency = <5000000>; - }; - }; - - i2c@f9966000 { - status = "disable"; - }; - - i2c@f9967000 { - status = "disable"; - cell-index = <0>; - compatible = "qcom,i2c-qup"; - reg = <0Xf9967000 0x1000>; - reg-names = "qup_phys_addr"; - interrupts = <0 105 0>; - interrupt-names = "qup_err_intr"; - qcom,i2c-bus-freq = <100000>; - qcom,i2c-src-freq = <19200000>; - gpios = <&msmgpio 83 0>,/* DAT */ - <&msmgpio 84 0>;/* CLK */ - }; - - slim@fe12f000 { - status = "disable"; - }; - - qcom,mdss_dsi@fd922800 { - status = "disable"; - }; - - qcom,spmi@fc4c0000 { - status = "disable"; - }; - - qcom,ssusb@F9200000 { - status = "disable"; - }; - - qcom,lpass@fe200000 { - status = "disable"; - }; - - qcom,pronto@fb21b000 { - status = "disable"; - }; - - qcom,mss@fc880000 { - status = "disable"; - }; - - qcom,kgsl-3d0@fdb00000 { - status = "disabled"; - }; -}; - -&gdsc_venus { - status = "disabled"; -}; - -&gdsc_jpeg { - status = "disabled"; -}; - -&gdsc_oxili_gx { - status = "disabled"; -}; - -&gdsc_oxili_cx { - status = "disabled"; -}; - -&gdsc_usb_hsic { - status = "disabled"; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/mpq8092-sim.dts b/kernel/arch/arm/boot/dts/tr961-5200l-v1/mpq8092-sim.dts deleted file mode 100644 index 676ef3b17..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/mpq8092-sim.dts +++ /dev/null @@ -1,125 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/dts-v1/; - -/include/ "mpq8092.dtsi" - -/ { - model = "Qualcomm MPQ8092 Simulator"; - compatible = "qcom,mpq8092-sim", "qcom,mpq8092", "qcom,sim"; - qcom,msm-id = <126 16 0>; -}; - -&soc { - serial@f991f000 { - status = "ok"; - }; - - serial@f995e000 { - status = "ok"; - }; -}; - -&pma8084_gpios { - gpio@c000 { /* GPIO 1 */ - }; - - gpio@c100 { /* GPIO 2 */ - }; - - gpio@c200 { /* GPIO 3 */ - }; - - gpio@c300 { /* GPIO 4 */ - }; - - gpio@c400 { /* GPIO 5 */ - }; - - gpio@c500 { /* GPIO 6 */ - }; - - gpio@c600 { /* GPIO 7 */ - }; - - gpio@c700 { /* GPIO 8 */ - }; - - gpio@c800 { /* GPIO 9 */ - }; - - gpio@c900 { /* GPIO 10 */ - }; - - gpio@ca00 { /* GPIO 11 */ - }; - - gpio@cb00 { /* GPIO 12 */ - }; - - gpio@cc00 { /* GPIO 13 */ - }; - - gpio@cd00 { /* GPIO 14 */ - }; - - gpio@ce00 { /* GPIO 15 */ - }; - - gpio@cf00 { /* GPIO 16 */ - }; - - gpio@d000 { /* GPIO 17 */ - }; - - gpio@d100 { /* GPIO 18 */ - }; - - gpio@d200 { /* GPIO 19 */ - }; - - gpio@d300 { /* GPIO 20 */ - }; - - gpio@d400 { /* GPIO 21 */ - }; - - gpio@d500 { /* GPIO 22 */ - }; -}; - -&pma8084_mpps { - mpp@a000 { /* MPP 1 */ - }; - - mpp@a100 { /* MPP 2 */ - }; - - mpp@a200 { /* MPP 3 */ - }; - - mpp@a300 { /* MPP 4 */ - }; - - mpp@a400 { /* MPP5 */ - }; - - mpp@a500 { /* MPP 6 */ - }; - - mpp@a600 { /* MPP 7 */ - }; - - mpp@a700 { /* MPP 8 */ - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/mpq8092.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v1/mpq8092.dtsi deleted file mode 100644 index e8674a055..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/mpq8092.dtsi +++ /dev/null @@ -1,240 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/include/ "skeleton.dtsi" - -/ { - model = "Qualcomm MPQ8092"; - compatible = "qcom,mpq8092"; - interrupt-parent = <&intc>; - - soc: soc { }; -}; - -/include/ "mpq8092-iommu.dtsi" -/include/ "msm-gdsc.dtsi" -/include/ "mpq8092-ion.dtsi" - -&soc { - #address-cells = <1>; - #size-cells = <1>; - ranges; - - intc: interrupt-controller@f9000000 { - compatible = "qcom,msm-qgic2"; - interrupt-controller; - #interrupt-cells = <3>; - reg = <0xf9000000 0x1000>, - <0xf9002000 0x1000>; - }; - - msmgpio: gpio@fd510000 { - compatible = "qcom,msm-gpio"; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - reg = <0xfd510000 0x4000>; - ngpio = <146>; - interrupts = <0 208 0>; - qcom,direct-connect-irqs = <8>; - }; - - timer { - compatible = "arm,armv7-timer"; - interrupts = <1 2 0>, <1 3 0>; - clock-frequency = <19200000>; - }; - - 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 8 0x4>, - <0 7 0x4>; - reg = <0xf9021000 0x1000>, - <0xf9022000 0x1000>; - }; - - frame@f9023000 { - frame-number = <1>; - interrupts = <0 9 0x4>; - reg = <0xf9023000 0x1000>; - status = "disabled"; - }; - - frame@f9024000 { - frame-number = <2>; - interrupts = <0 10 0x4>; - reg = <0xf9024000 0x1000>; - status = "disabled"; - }; - - frame@f9025000 { - frame-number = <3>; - interrupts = <0 11 0x4>; - reg = <0xf9025000 0x1000>; - status = "disabled"; - }; - - frame@f9026000 { - frame-number = <4>; - interrupts = <0 12 0x4>; - reg = <0xf9026000 0x1000>; - status = "disabled"; - }; - - frame@f9027000 { - frame-number = <5>; - interrupts = <0 13 0x4>; - reg = <0xf9027000 0x1000>; - status = "disabled"; - }; - - frame@f9028000 { - frame-number = <6>; - interrupts = <0 14 0x4>; - reg = <0xf9028000 0x1000>; - status = "disabled"; - }; - }; - - serial@f991f000 { - compatible = "qcom,msm-lsuart-v14"; - reg = <0xf991f000 0x1000>; - interrupts = <0 109 0>; - status = "disabled"; - }; - - serial@f9922000 { - compatible = "qcom,msm-lsuart-v14"; - reg = <0xf9922000 0x1000>; - interrupts = <0 112 0>; - status = "disabled"; - }; - - serial@f995e000 { - compatible = "qcom,msm-lsuart-v14"; - reg = <0xf995e000 0x1000>; - interrupts = <0 114 0>; - status = "disabled"; - }; - - qcom,msm-imem@fe805000 { - compatible = "qcom,msm-imem"; - reg = <0xfe805000 0x1000>; /* Address and size of IMEM */ - }; - - spmi_bus: qcom,spmi@fc4c0000 { - cell-index = <0>; - 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,not-wakeup; - qcom,pmic-arb-ee = <0>; - qcom,pmic-arb-channel = <0>; - }; - - sdcc1: qcom,sdcc@f9824000 { - cell-index = <1>; /* SDC1 eMMC slot */ - compatible = "qcom,msm-sdcc"; - reg = <0xf9824000 0x800>; - reg-names = "core_mem"; - interrupts = <0 123 0>; - interrupt-names = "core_irq"; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - qcom,sup-voltages = <2950 2950>; - qcom,bus-width = <8>; - qcom,nonremovable; - qcom,bus-speed-mode = "HS200_1p8v", "DDR_1p8v"; - }; - - sdcc2: qcom,sdcc@f98a4000 { - cell-index = <2>; /* SDC2 SD card slot */ - compatible = "qcom,msm-sdcc"; - reg = <0xf98a4000 0x800>; - reg-names = "core_mem"; - interrupts = <0 125 0>; - interrupt-names = "core_irq"; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - qcom,sup-voltages = <2950 2950>; - qcom,bus-width = <4>; - qcom,xpc; - qcom,bus-speed-mode = "SDR12", "SDR25", "SDR50", "DDR50", "SDR104"; - qcom,current-limit = <800>; - }; - - sata: sata@fc580000 { - compatible = "qcom,msm-ahci"; - reg = <0xfc580000 0x17c>; - interrupts = <0 243 0>; - }; - - qcom,wdt@f9017000 { - compatible = "qcom,msm-watchdog"; - reg = <0xf9017000 0x1000>; - interrupts = <0 3 0>, <0 4 0>; - qcom,bark-time = <11000>; - qcom,pet-time = <10000>; - qcom,ipi-ping; - }; -}; - -&gdsc_venus { - status = "ok"; -}; - -&gdsc_mdss { - status = "ok"; -}; - -&gdsc_jpeg { - status = "ok"; -}; - -&gdsc_oxili_gx { - status = "ok"; -}; - -&gdsc_oxili_cx { - status = "ok"; -}; - -&gdsc_usb_hsic { - status = "ok"; -}; - -/include/ "msm-pma8084.dtsi" -/include/ "mpq8092-regulator.dtsi" diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm-gdsc.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm-gdsc.dtsi deleted file mode 100644 index 78234e858..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm-gdsc.dtsi +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Copyright (c) 2012-2013, 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. - */ - -&soc { - gdsc_venus: qcom,gdsc@fd8c1024 { - compatible = "qcom,gdsc"; - regulator-name = "gdsc_venus"; - reg = <0xfd8c1024 0x4>; - status = "disabled"; - }; - - gdsc_mdss: qcom,gdsc@fd8c2304 { - compatible = "qcom,gdsc"; - regulator-name = "gdsc_mdss"; - reg = <0xfd8c2304 0x4>; - status = "disabled"; - }; - - gdsc_jpeg: qcom,gdsc@fd8c35a4 { - compatible = "qcom,gdsc"; - regulator-name = "gdsc_jpeg"; - reg = <0xfd8c35a4 0x4>; - status = "disabled"; - }; - - gdsc_vfe: qcom,gdsc@fd8c36a4 { - compatible = "qcom,gdsc"; - regulator-name = "gdsc_vfe"; - reg = <0xfd8c36a4 0x4>; - status = "disabled"; - }; - - gdsc_oxili_gx: qcom,gdsc@fd8c4024 { - compatible = "qcom,gdsc"; - regulator-name = "gdsc_oxili_gx"; - reg = <0xfd8c4024 0x4>; - status = "disabled"; - }; - - gdsc_oxili_cx: qcom,gdsc@fd8c4034 { - compatible = "qcom,gdsc"; - regulator-name = "gdsc_oxili_cx"; - reg = <0xfd8c4034 0x4>; - status = "disabled"; - }; - - gdsc_usb_hsic: qcom,gdsc@fc400404 { - compatible = "qcom,gdsc"; - regulator-name = "gdsc_usb_hsic"; - reg = <0xfc400404 0x4>; - status = "disabled"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm-iommu-v0.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm-iommu-v0.dtsi deleted file mode 100644 index 2cfc5cf07..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm-iommu-v0.dtsi +++ /dev/null @@ -1,333 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&soc { - lpass_iommu: qcom,iommu@fd000000 { - compatible = "qcom,msm-smmu-v0"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - reg = <0xfd000000 0x10000>; - interrupts = <0 248 0>; - qcom,glb-offset = <0xF000>; - label = "lpass_iommu"; - qcom,iommu-pmu-ngroups = <1>; - qcom,iommu-pmu-ncounters = <4>; - qcom,iommu-pmu-event-classes = <0x08 - 0x09 - 0x10 - 0x12 - 0x80>; - qcom,msm-bus,name = "lpass_ebi"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,active-only; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <11 512 0 0>, - <11 512 0 1000>; - status = "disabled"; - - lpass_q6_fw: qcom,iommu-ctx@fd000000 { - compatible = "qcom,msm-smmu-v0-ctx"; - reg = <0xfd000000 0x1000>; - interrupts = <0 250 0>; - qcom,iommu-ctx-mids = <0 15>; - label = "q6_fw"; - }; - - lpass_audio_shared: qcom,iommu-ctx@fd001000 { - compatible = "qcom,msm-smmu-v0-ctx"; - reg = <0xfd001000 0x1000>; - interrupts = <0 250 0>; - qcom,iommu-ctx-mids = <1>; - label = "audio_shared"; - }; - - lpass_video_shared: qcom,iommu-ctx@fd002000 { - compatible = "qcom,msm-smmu-v0-ctx"; - reg = <0xfd002000 0x1000>; - interrupts = <0 250 0>; - qcom,iommu-ctx-mids = <2>; - label = "video_shared"; - }; - - lpass_q6_spare: qcom,iommu-ctx@fd003000 { - compatible = "qcom,msm-smmu-v0-ctx"; - reg = <0xfd003000 0x1000>; - interrupts = <0 250 0>; - qcom,iommu-ctx-mids = <3 4 5 6 7 8 9 10 11 12 13 14>; - label = "q6_spare"; - }; - }; - - copss_iommu: qcom,iommu@fd010000 { - compatible = "qcom,msm-smmu-v0"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - reg = <0xfd010000 0x10000>; - interrupts = <0 252 0>; - qcom,glb-offset = <0xF000>; - label = "copss_iommu"; - qcom,iommu-pmu-ngroups = <1>; - qcom,iommu-pmu-ncounters = <4>; - qcom,iommu-pmu-event-classes = <0x08 - 0x09 - 0x10 - 0x12 - 0x80>; - qcom,msm-bus,name = "copss_ebi"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,active-only; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <88 512 0 0>, - <88 512 0 1000>; - - status = "disabled"; - - qcom,iommu-ctx@fd010000 { - compatible = "qcom,msm-smmu-v0-ctx"; - reg = <0xfd010000 0x1000>; - interrupts = <0 254 0>; - qcom,iommu-ctx-mids = <0>; - label = "copss_0"; - }; - - qcom,iommu-ctx@fd011000 { - compatible = "qcom,msm-smmu-v0-ctx"; - reg = <0xfd011000 0x1000>; - interrupts = <0 254 0>; - qcom,iommu-ctx-mids = <1>; - label = "copss_1"; - }; - - qcom,iommu-ctx@fd012000 { - compatible = "qcom,msm-smmu-v0-ctx"; - reg = <0xfd012000 0x1000>; - interrupts = <0 254 0>; - qcom,iommu-ctx-mids = <2>; - label = "copss_2"; - }; - - qcom,iommu-ctx@fd013000 { - compatible = "qcom,msm-smmu-v0-ctx"; - reg = <0xfd013000 0x1000>; - interrupts = <0 254 0>; - qcom,iommu-ctx-mids = <3>; - label = "copss_3"; - }; - - qcom,iommu-ctx@fd014000 { - compatible = "qcom,msm-smmu-v0-ctx"; - reg = <0xfd014000 0x1000>; - interrupts = <0 254 0>; - qcom,iommu-ctx-mids = <4>; - label = "copss_4"; - }; - - qcom,iommu-ctx@fd015000 { - compatible = "qcom,msm-smmu-v0-ctx"; - reg = <0xfd015000 0x1000>; - interrupts = <0 254 0>; - qcom,iommu-ctx-mids = <5>; - label = "copss_5"; - }; - - qcom,iommu-ctx@fd016000 { - compatible = "qcom,msm-smmu-v0-ctx"; - reg = <0xfd016000 0x1000>; - interrupts = <0 254 0>; - qcom,iommu-ctx-mids = <6>; - label = "copss_6"; - }; - - qcom,iommu-ctx@fd017000 { - compatible = "qcom,msm-smmu-v0-ctx"; - reg = <0xfd017000 0x1000>; - interrupts = <0 254 0>; - qcom,iommu-ctx-mids = <7>; - label = "copss_7"; - }; - }; - - mdpe_iommu: qcom,iommu@fd860000 { - compatible = "qcom,msm-smmu-v0"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - reg = <0xfd860000 0x10000>; - interrupts = <0 245 0>; - qcom,glb-offset = <0xF000>; - label = "mdpe_iommu"; - qcom,iommu-pmu-ngroups = <1>; - qcom,iommu-pmu-ncounters = <4>; - qcom,iommu-pmu-event-classes = <0x08 - 0x09 - 0x10 - 0x12 - 0x80>; - qcom,msm-bus,name = "mdpe_ebi"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,active-only; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <92 512 0 0>, - <92 512 0 1000>; - status = "disabled"; - - qcom,iommu-ctx@fd860000 { - compatible = "qcom,msm-smmu-v0-ctx"; - reg = <0xfd860000 0x1000>; - interrupts = <0 247 0>; - qcom,iommu-ctx-mids = <0 1 3>; - label = "mdpe_0"; - }; - - qcom,iommu-ctx@fd861000 { - compatible = "qcom,msm-smmu-v0-ctx"; - reg = <0xfd861000 0x1000>; - interrupts = <0 247 0>; - qcom,iommu-ctx-mids = <2>; - label = "mdpe_1"; - }; - }; - - mdps_iommu: qcom,iommu@fd870000 { - compatible = "qcom,msm-smmu-v0"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - reg = <0xfd870000 0x10000>; - interrupts = <0 73 0>; - qcom,glb-offset = <0xF000>; - label = "mdps_iommu"; - qcom,iommu-pmu-ngroups = <1>; - qcom,iommu-pmu-ncounters = <4>; - qcom,iommu-pmu-event-classes = <0x08 - 0x09 - 0x10 - 0x12 - 0x80>; - qcom,msm-bus,name = "mdps_ebi"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,active-only; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <22 512 0 0>, - <22 512 0 1000>; - status = "disabled"; - - qcom,iommu-ctx@fd870000 { - compatible = "qcom,msm-smmu-v0-ctx"; - reg = <0xfd870000 0x1000>; - interrupts = <0 47 0>; - qcom,iommu-ctx-mids = <0>; - label = "mdps_0"; - }; - - qcom,iommu-ctx@fd871000 { - compatible = "qcom,msm-smmu-v0-ctx"; - reg = <0xfd871000 0x1000>; - interrupts = <0 47 0>; - qcom,iommu-ctx-mids = <1>; - label = "mdps_1"; - }; - }; - - gfx_iommu: qcom,iommu@fd880000 { - compatible = "qcom,msm-smmu-v0"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - reg = <0xfd880000 0x10000>; - interrupts = <0 38 0>; - qcom,glb-offset = <0xF000>; - qcom,needs-alt-core-clk; - label = "gfx_iommu"; - qcom,iommu-pmu-ngroups = <1>; - qcom,iommu-pmu-ncounters = <4>; - qcom,iommu-pmu-event-classes = <0x08 - 0x09 - 0x10 - 0x12 - 0x80>; - qcom,msm-bus,name = "gfx_ebi"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,active-only; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <26 512 0 0>, - <26 512 0 1000>; - status = "disabled"; - - qcom,iommu-ctx@fd880000 { - compatible = "qcom,msm-smmu-v0-ctx"; - reg = <0xfd880000 0x1000>; - interrupts = <0 241 0>; - qcom,iommu-ctx-mids = <0 1 2 3 4 5 6 7 8 9 10 11 12 13 - 14 15>; - label = "gfx3d_user"; - }; - - qcom,iommu-ctx@fd881000 { - compatible = "qcom,msm-smmu-v0-ctx"; - reg = <0xfd881000 0x1000>; - interrupts = <0 241 0>; - qcom,iommu-ctx-mids = <16 17 18 19 20 21 22 23 24 25 - 26 27 28 29 30 31>; - label = "gfx3d_priv"; - }; - - qcom,iommu-ctx@fd882000 { - compatible = "qcom,msm-smmu-v0-ctx"; - reg = <0xfd882000 0x1000>; - interrupts = <0 241 0>; - qcom,iommu-ctx-mids = <>; - label = "gfx3d_spare"; - }; - }; - - vfe_iommu: qcom,iommu@fd890000 { - compatible = "qcom,msm-smmu-v0"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - reg = <0xfd890000 0x10000>; - interrupts = <0 62 0>; - qcom,glb-offset = <0xF000>; - label = "vfe_iommu"; - qcom,iommu-pmu-ngroups = <1>; - qcom,iommu-pmu-ncounters = <4>; - qcom,iommu-pmu-event-classes = <0x08 - 0x09 - 0x10 - 0x12 - 0x80>; - qcom,msm-bus,name = "vfe_ebi"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,active-only; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <29 512 0 0>, - <29 512 0 1000>; - status = "disabled"; - - qcom,iommu-ctx@fd890000 { - compatible = "qcom,msm-smmu-v0-ctx"; - reg = <0xfd890000 0x1000>; - interrupts = <0 65 0>; - qcom,iommu-ctx-mids = <0 1 2 3 4 5 6 7 8 9>; - label = "vfe0"; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm-iommu-v1.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm-iommu-v1.dtsi deleted file mode 100644 index 44920778e..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm-iommu-v1.dtsi +++ /dev/null @@ -1,514 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&soc { - jpeg_iommu: qcom,iommu@fda64000 { - compatible = "qcom,msm-smmu-v1"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - reg = <0xfda64000 0x10000>; - reg-names = "iommu_base"; - interrupts = <0 67 0>; - qcom,needs-alt-core-clk; - label = "jpeg_iommu"; - status = "disabled"; - qcom,msm-bus,name = "jpeg_ebi"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,active-only; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <62 512 0 0>, - <62 512 0 1000>; - - qcom,iommu-pmu-ngroups = <1>; - qcom,iommu-pmu-ncounters = <8>; - qcom,iommu-pmu-event-classes = <0x00 - 0x01 - 0x08 - 0x09 - 0x0A - 0x10 - 0x11 - 0x12 - 0x80 - 0x81 - 0x82 - 0x83 - 0x90 - 0x91 - 0x92 - 0xb0 - 0xb1>; - - qcom,iommu-bfb-regs = <0x204c - 0x2050 - 0x2514 - 0x2540 - 0x256c - 0x2314 - 0x2394 - 0x2414 - 0x20ac - 0x215c - 0x220c - 0x2008 - 0x200c - 0x2010 - 0x2014>; - - qcom,iommu-bfb-data = <0x0000ffff - 0x0 - 0x4 - 0x4 - 0x0 - 0x0 - 0x10 - 0x50 - 0x0 - 0x10 - 0x20 - 0x0 - 0x0 - 0x0 - 0x0>; - - qcom,iommu-ctx@fda6c000 { - compatible = "qcom,msm-smmu-v1-ctx"; - reg = <0xfda6c000 0x1000>; - interrupts = <0 70 0>; - qcom,iommu-ctx-sids = <0>; - label = "jpeg_enc0"; - }; - - qcom,iommu-ctx@fda6d000 { - compatible = "qcom,msm-smmu-v1-ctx"; - reg = <0xfda6d000 0x1000>; - interrupts = <0 70 0>; - qcom,iommu-ctx-sids = <1>; - label = "jpeg_enc1"; - }; - - qcom,iommu-ctx@fda6e000 { - compatible = "qcom,msm-smmu-v1-ctx"; - reg = <0xfda6e000 0x1000>; - interrupts = <0 70 0>; - qcom,iommu-ctx-sids = <2>; - label = "jpeg_dec"; - }; - }; - - mdp_iommu: qcom,iommu@fd928000 { - compatible = "qcom,msm-smmu-v1"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - reg = <0xfd928000 0x10000>; - reg-names = "iommu_base"; - interrupts = <0 73 0>; - qcom,iommu-secure-id = <1>; - label = "mdp_iommu"; - qcom,msm-bus,name = "mdp_ebi"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,active-only; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <22 512 0 0>, - <22 512 0 1000>; - status = "disabled"; - - qcom,iommu-pmu-ngroups = <1>; - qcom,iommu-pmu-ncounters = <8>; - qcom,iommu-pmu-event-classes = <0x00 - 0x01 - 0x08 - 0x09 - 0x0A - 0x10 - 0x11 - 0x12 - 0x80 - 0x81 - 0x82 - 0x83 - 0x90 - 0x91 - 0x92 - 0xb0 - 0xb1>; - - qcom,iommu-bfb-regs = <0x204c - 0x2050 - 0x2514 - 0x2540 - 0x256c - 0x20ac - 0x215c - 0x220c - 0x2314 - 0x2394 - 0x2414 - 0x2008 - 0x200c - 0x2010 - 0x2014 - 0x2018 - 0x201c - 0x2020>; - - qcom,iommu-bfb-data = <0xffffffff - 0x0 - 0x00000004 - 0x00000010 - 0x00000000 - 0x00000000 - 0x00000034 - 0x00000044 - 0x0 - 0x34 - 0x74 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0>; - - qcom,iommu-ctx@fd930000 { - compatible = "qcom,msm-smmu-v1-ctx"; - reg = <0xfd930000 0x1000>; - interrupts = <0 47 0>; - qcom,iommu-ctx-sids = <0>; - label = "mdp_0"; - }; - - qcom,iommu-ctx@fd931000 { - compatible = "qcom,msm-smmu-v1-ctx"; - reg = <0xfd931000 0x1000>; - interrupts = <0 47 0>, <0 46 0>; - qcom,iommu-ctx-sids = <1>; - label = "mdp_1"; - qcom,secure-context; - }; - - qcom,iommu-ctx@fd932000 { - compatible = "qcom,msm-smmu-v1-ctx"; - reg = <0xfd932000 0x1000>; - interrupts = <0 47 0>, <0 46 0>; - qcom,iommu-ctx-sids = <>; - label = "mdp_2"; - qcom,secure-context; - }; - }; - - venus_iommu: qcom,iommu@fdc84000 { - compatible = "qcom,msm-smmu-v1"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - reg = <0xfdc84000 0x10000 - 0xfdce0004 0x4>; - reg-names = "iommu_base", "clk_base"; - interrupts = <0 45 0>; - qcom,iommu-secure-id = <0>; - qcom,needs-alt-core-clk; - label = "venus_iommu"; - qcom,msm-bus,name = "venus_ebi"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,active-only; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <63 512 0 0>, - <63 512 0 1000>; - status = "disabled"; - - qcom,iommu-pmu-ngroups = <1>; - qcom,iommu-pmu-ncounters = <8>; - qcom,iommu-pmu-event-classes = <0x00 - 0x01 - 0x08 - 0x09 - 0x0A - 0x10 - 0x11 - 0x12 - 0x80 - 0x81 - 0x82 - 0x83 - 0x90 - 0x91 - 0x92 - 0xb0 - 0xb1>; - - qcom,iommu-bfb-regs = <0x204c - 0x2050 - 0x2514 - 0x2540 - 0x256c - 0x20ac - 0x215c - 0x220c - 0x2314 - 0x2394 - 0x2414 - 0x2008 - 0x200c - 0x2010 - 0x2014 - 0x2018 - 0x201c - 0x2020 - 0x2024 - 0x2028 - 0x202c - 0x2030 - 0x2034 - 0x2038>; - - qcom,iommu-bfb-data = <0xffffffff - 0xffffffff - 0x00000004 - 0x00000008 - 0x00000000 - 0x00000000 - 0x00000094 - 0x000000b4 - 0x0 - 0x94 - 0x114 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0>; - - venus_ns: qcom,iommu-ctx@fdc8c000 { - compatible = "qcom,msm-smmu-v1-ctx"; - reg = <0xfdc8c000 0x1000>; - interrupts = <0 42 0>; - qcom,iommu-ctx-sids = <0 1 2 3 4 5>; - label = "venus_ns"; - }; - - venus_cp: qcom,iommu-ctx@fdc8d000 { - compatible = "qcom,msm-smmu-v1-ctx"; - reg = <0xfdc8d000 0x1000>; - interrupts = <0 42 0>, <0 43 0>; - qcom,iommu-ctx-sids = <0x80 0x81 0x82 0x83 0x84 0x85>; - label = "venus_cp"; - qcom,secure-context; - }; - - venus_fw: qcom,iommu-ctx@fdc8e000 { - compatible = "qcom,msm-smmu-v1-ctx"; - reg = <0xfdc8e000 0x1000>; - interrupts = <0 42 0>, <0 43 0>; - qcom,iommu-ctx-sids = <0xc0 0xc6>; - label = "venus_fw"; - qcom,secure-context; - }; - }; - - kgsl_iommu: qcom,iommu@fdb10000 { - compatible = "qcom,msm-smmu-v1"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - reg = <0xfdb10000 0x10000>; - reg-names = "iommu_base"; - interrupts = <0 38 0>; - label = "kgsl_iommu"; - qcom,msm-bus,name = "kgsl_ebi"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,active-only; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <26 512 0 0>, - <26 512 0 1000>; - status = "disabled"; - - qcom,iommu-pmu-ngroups = <1>; - qcom,iommu-pmu-ncounters = <8>; - qcom,iommu-pmu-event-classes = <0x00 - 0x01 - 0x08 - 0x09 - 0x0A - 0x10 - 0x11 - 0x12 - 0x80 - 0x81 - 0x82 - 0x83 - 0x90 - 0x91 - 0x92 - 0xb0 - 0xb1>; - - qcom,iommu-bfb-regs = <0x204c - 0x2050 - 0x2514 - 0x2540 - 0x256c - 0x20ac - 0x215c - 0x220c - 0x2314 - 0x2394 - 0x2414 - 0x2008>; - - qcom,iommu-bfb-data = <0x00000003 - 0x0 - 0x00000004 - 0x00000010 - 0x00000000 - 0x00000000 - 0x00000001 - 0x00000021 - 0x0 - 0x1 - 0x81 - 0x0>; - - qcom,iommu-ctx@fdb18000 { - compatible = "qcom,msm-smmu-v1-ctx"; - reg = <0xfdb18000 0x1000>; - interrupts = <0 241 0>; - qcom,iommu-ctx-sids = <0>; - label = "gfx3d_user"; - }; - - qcom,iommu-ctx@fdb19000 { - compatible = "qcom,msm-smmu-v1-ctx"; - reg = <0xfdb19000 0x1000>; - interrupts = <0 241 0>; - qcom,iommu-ctx-sids = <1>; - label = "gfx3d_priv"; - }; - }; - - vfe_iommu: qcom,iommu@fda44000 { - compatible = "qcom,msm-smmu-v1"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - reg = <0xfda44000 0x10000>; - reg-names = "iommu_base"; - interrupts = <0 62 0>; - qcom,needs-alt-core-clk; - label = "vfe_iommu"; - qcom,msm-bus,name = "vfe_ebi"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,active-only; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <29 512 0 0>, - <29 512 0 1000>; - status = "disabled"; - - qcom,iommu-pmu-ngroups = <1>; - qcom,iommu-pmu-ncounters = <8>; - qcom,iommu-pmu-event-classes = <0x00 - 0x01 - 0x08 - 0x09 - 0x0A - 0x10 - 0x11 - 0x12 - 0x80 - 0x81 - 0x82 - 0x83 - 0x90 - 0x91 - 0x92 - 0xb0 - 0xb1>; - - qcom,iommu-bfb-regs = <0x204c - 0x2050 - 0x2514 - 0x2540 - 0x256c - 0x2314 - 0x2394 - 0x2414 - 0x20ac - 0x215c - 0x220c - 0x2008 - 0x200c - 0x2010 - 0x2014 - 0x2018 - 0x201c - 0x2020>; - - qcom,iommu-bfb-data = <0xffffffff - 0x00000000 - 0x4 - 0x8 - 0x0 - 0x0 - 0x20 - 0x78 - 0x0 - 0x20 - 0x36 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0>; - - qcom,iommu-ctx@fda4c000 { - compatible = "qcom,msm-smmu-v1-ctx"; - reg = <0xfda4c000 0x1000>; - interrupts = <0 65 0>; - qcom,iommu-ctx-sids = <0>; - label = "vfe0"; - }; - - qcom,iommu-ctx@fda4d000 { - compatible = "qcom,msm-smmu-v1-ctx"; - reg = <0xfda4d000 0x1000>; - interrupts = <0 65 0>; - qcom,iommu-ctx-sids = <1>; - label = "vfe1"; - }; - - qcom,iommu-ctx@fda4e000 { - compatible = "qcom,msm-smmu-v1-ctx"; - reg = <0xfda4e000 0x1000>; - interrupts = <0 65 0>; - qcom,iommu-ctx-sids = <2>; - label = "cpp"; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm-pm8019-rpm-regulator.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm-pm8019-rpm-regulator.dtsi deleted file mode 100644 index c48f67dca..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm-pm8019-rpm-regulator.dtsi +++ /dev/null @@ -1,301 +0,0 @@ -/* Copyright (c) 2012, 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. - */ - -&rpm_bus { - rpm-regulator-smpa1 { - qcom,resource-name = "smpa"; - qcom,resource-id = <1>; - qcom,regulator-type = <1>; - qcom,hpm-min-load = <100000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-s1 { - regulator-name = "8019_s1"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-smpa2 { - qcom,resource-name = "smpa"; - qcom,resource-id = <2>; - qcom,regulator-type = <1>; - qcom,hpm-min-load = <100000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-s2 { - regulator-name = "8019_s2"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-smpa3 { - qcom,resource-name = "smpa"; - qcom,resource-id = <3>; - qcom,regulator-type = <1>; - qcom,hpm-min-load = <100000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-s3 { - regulator-name = "8019_s3"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-smpa4 { - qcom,resource-name = "smpa"; - qcom,resource-id = <4>; - qcom,regulator-type = <1>; - qcom,hpm-min-load = <100000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-s4 { - regulator-name = "8019_s4"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa1 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <1>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l1 { - regulator-name = "8019_l1"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa2 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <2>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <5000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l2 { - regulator-name = "8019_l2"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa3 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <3>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l3 { - regulator-name = "8019_l3"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa4 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <4>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <5000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l4 { - regulator-name = "8019_l4"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa5 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <5>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l5 { - regulator-name = "8019_l5"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa6 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <6>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l6 { - regulator-name = "8019_l6"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa7 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <7>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l7 { - regulator-name = "8019_l7"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa8 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <8>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l8 { - regulator-name = "8019_l8"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa9 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <9>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l9 { - regulator-name = "8019_l9"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa10 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <10>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l10 { - regulator-name = "8019_l10"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa11 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <11>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l11 { - regulator-name = "8019_l11"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa12 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <12>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l12 { - regulator-name = "8019_l12"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa13 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <13>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <5000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l13 { - regulator-name = "8019_l13"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa14 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <14>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <5000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l14 { - regulator-name = "8019_l14"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm-pm8019.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm-pm8019.dtsi deleted file mode 100755 index 6b5edf7ea..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm-pm8019.dtsi +++ /dev/null @@ -1,415 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&spmi_bus { - #address-cells = <1>; - #size-cells = <0>; - interrupt-controller; - #interrupt-cells = <3>; - - qcom,pm8019@0 { - spmi-slave-container; - reg = <0x0>; - #address-cells = <1>; - #size-cells = <1>; - - qcom,power_on@800 { - compatible = "qcom,qpnp-power-on"; - reg = <0x800 0x100>; - interrupts = <0x0 0x8 0x2>; - interrupt-names = "cblpwr"; - qcom,pon-dbc-delay = <15625>; - qcom,system-reset; - - qcom,pon_1 { - qcom,pon-type = <2>; - qcom,pull-up = <1>; - linux,code = <116>; - }; - }; - - clkdiv@5b00 { - reg = <0x5b00 0x100>; - compatible = "qcom,qpnp-clkdiv"; - qcom,cxo-freq = <19200000>; - }; - - clkdiv@5c00 { - reg = <0x5c00 0x100>; - compatible = "qcom,qpnp-clkdiv"; - qcom,cxo-freq = <19200000>; - }; - - clkdiv@5d00 { - reg = <0x5d00 0x100>; - compatible = "qcom,qpnp-clkdiv"; - qcom,cxo-freq = <19200000>; - }; - - rtc { - spmi-dev-container; - compatible = "qcom,qpnp-rtc"; - #address-cells = <1>; - #size-cells = <1>; - qcom,qpnp-rtc-write = <0>; - qcom,qpnp-rtc-alarm-pwrup = <0>; - - qcom,pm8019_rtc_rw@6000 { - reg = <0x6000 0x100>; - }; - - qcom,pm8019_rtc_alarm@6100 { - reg = <0x6100 0x100>; - interrupts = <0x0 0x61 0x1>; - }; - }; - - pm8019_gpios: gpios { - spmi-dev-container; - compatible = "qcom,qpnp-pin"; - gpio-controller; - #gpio-cells = <2>; - #address-cells = <1>; - #size-cells = <1>; - label = "pm8019-gpio"; - - gpio@c000 { - reg = <0xc000 0x100>; - qcom,pin-num = <1>; - }; - - gpio@c100 { - reg = <0xc100 0x100>; - qcom,pin-num = <2>; - }; - - gpio@c200 { - reg = <0xc200 0x100>; - qcom,pin-num = <3>; - }; - - gpio@c300 { - reg = <0xc300 0x100>; - qcom,pin-num = <4>; - }; - - gpio@c400 { - reg = <0xc400 0x100>; - qcom,pin-num = <5>; - }; - - gpio@c500 { - reg = <0xc500 0x100>; - qcom,pin-num = <6>; - }; - }; - - pm8019_mpps: mpps { - spmi-dev-container; - compatible = "qcom,qpnp-pin"; - gpio-controller; - #gpio-cells = <2>; - #address-cells = <1>; - #size-cells = <1>; - label = "pm8019-mpp"; - - mpp@a000 { - reg = <0xa000 0x100>; - qcom,pin-num = <1>; - }; - - mpp@a100 { - reg = <0xa100 0x100>; - qcom,pin-num = <2>; - }; - - mpp@a200 { - reg = <0xa200 0x100>; - qcom,pin-num = <3>; - }; - - mpp@a300 { - reg = <0xa300 0x100>; - qcom,pin-num = <4>; - }; - - mpp@a400 { - reg = <0xa400 0x100>; - qcom,pin-num = <5>; - }; - - mpp@a500 { - reg = <0xa500 0x100>; - qcom,pin-num = <6>; - }; - }; - - pm8019_vadc: vadc@3100 { - compatible = "qcom,qpnp-vadc"; - reg = <0x3100 0x100>; - #address-cells = <1>; - #size-cells = <0>; - interrupts = <0x0 0x31 0x0>; - interrupt-names = "eoc-int-en-set"; - qcom,adc-bit-resolution = <15>; - qcom,adc-vdd-reference = <1800>; - qcom,vadc-poll-eoc; - - chan@8 { - label = "die_temp"; - reg = <8>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <3>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@9 { - label = "ref_625mv"; - reg = <9>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@a { - label = "ref_1250v"; - reg = <0xa>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - }; - - pm8019_adc_tm: vadc@3400 { - compatible = "qcom,qpnp-adc-tm"; - reg = <0x3400 0x100>; - #address-cells = <1>; - #size-cells = <0>; - interrupts = <0x0 0x34 0x0>, - <0x0 0x34 0x3>, - <0x0 0x34 0x4>; - interrupt-names = "eoc-int-en-set", - "high-thr-en-set", - "low-thr-en-set"; - qcom,adc-bit-resolution = <15>; - qcom,adc-vdd-reference = <1800>; - }; - }; - - qcom,pm8019@1 { - spmi-slave-container; - reg = <0x1>; - #address-cells = <1>; - #size-cells = <1>; - - regulator@1400 { - regulator-name = "8019_s1"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x1400 0x300>; - status = "disabled"; - - qcom,ctl@1400 { - reg = <0x1400 0x100>; - }; - qcom,ps@1500 { - reg = <0x1500 0x100>; - }; - qcom,freq@1600 { - reg = <0x1600 0x100>; - }; - }; - - regulator@1700 { - regulator-name = "8019_s2"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x1700 0x300>; - status = "disabled"; - - qcom,ctl@1700 { - reg = <0x1700 0x100>; - }; - qcom,ps@1800 { - reg = <0x1800 0x100>; - }; - qcom,freq@1900 { - reg = <0x1900 0x100>; - }; - }; - - regulator@1a00 { - regulator-name = "8019_s3"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x1a00 0x300>; - status = "disabled"; - - qcom,ctl@1a00 { - reg = <0x1a00 0x100>; - }; - qcom,ps@1b00 { - reg = <0x1b00 0x100>; - }; - qcom,freq@1c00 { - reg = <0x1c00 0x100>; - }; - }; - - regulator@1d00 { - regulator-name = "8019_s4"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x1d00 0x300>; - status = "disabled"; - - qcom,ctl@1d00 { - reg = <0x1d00 0x100>; - }; - qcom,ps@1e00 { - reg = <0x1e00 0x100>; - }; - qcom,freq@1f00 { - reg = <0x1f00 0x100>; - }; - }; - - regulator@4000 { - regulator-name = "8019_l1"; - reg = <0x4000 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4100 { - regulator-name = "8019_l2"; - reg = <0x4100 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4200 { - regulator-name = "8019_l3"; - reg = <0x4200 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4300 { - regulator-name = "8019_l4"; - reg = <0x4300 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4400 { - regulator-name = "8019_l5"; - reg = <0x4400 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4500 { - regulator-name = "8019_l6"; - reg = <0x4500 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4600 { - regulator-name = "8019_l7"; - reg = <0x4600 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4700 { - regulator-name = "8019_l8"; - reg = <0x4700 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4800 { - regulator-name = "8019_l9"; - reg = <0x4800 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4900 { - regulator-name = "8019_l10"; - reg = <0x4900 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4a00 { - regulator-name = "8019_l11"; - reg = <0x4a00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4b00 { - regulator-name = "8019_l12"; - reg = <0x4b00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4c00 { - regulator-name = "8019_l13"; - reg = <0x4c00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4d00 { - regulator-name = "8019_l14"; - reg = <0x4d00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4e00 { - regulator-name = "8019_ldo_xo"; - reg = <0x4e00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4f00 { - regulator-name = "8019_ldo_rfclk"; - reg = <0x4f00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm-pm8110-rpm-regulator.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm-pm8110-rpm-regulator.dtsi deleted file mode 100644 index 0de72b0de..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm-pm8110-rpm-regulator.dtsi +++ /dev/null @@ -1,381 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -&rpm_bus { - rpm-regulator-smpa1 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "smpa"; - qcom,resource-id = <1>; - qcom,regulator-type = <1>; - qcom,hpm-min-load = <100000>; - status = "disabled"; - - regulator-s1 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_s1"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-smpa3 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "smpa"; - qcom,resource-id = <3>; - qcom,regulator-type = <1>; - qcom,hpm-min-load = <100000>; - status = "disabled"; - - regulator-s3 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_s3"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-smpa4 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "smpa"; - qcom,resource-id = <4>; - qcom,regulator-type = <1>; - qcom,hpm-min-load = <100000>; - status = "disabled"; - - regulator-s4 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_s4"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa1 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <1>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l1 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l1"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa2 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <2>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l2 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l2"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa3 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <3>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l3 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l3"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa4 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <4>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l4 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l4"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa5 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <5>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l5 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l5"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa6 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <6>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l6 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l6"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa7 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <7>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l7 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l7"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa8 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <8>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <5000>; - status = "disabled"; - - regulator-l8 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l8"; - qcom,set = <1>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa9 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <9>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l9 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l9"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa10 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <10>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l10 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l10"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa12 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <12>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l12 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l12"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa14 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <14>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l14 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l14"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa15 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <15>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l15 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l15"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa16 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <16>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l16 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l16"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa17 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <17>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l17 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l17"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa18 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <18>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l18 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l18"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa19 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <19>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l19 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l19"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa20 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <20>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <5000>; - status = "disabled"; - - regulator-l20 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l20"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa21 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <21>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l21 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l21"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa22 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <22>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l22 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l22"; - qcom,set = <3>; - status = "disabled"; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm-pm8110.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm-pm8110.dtsi deleted file mode 100644 index 1877f40d7..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm-pm8110.dtsi +++ /dev/null @@ -1,608 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&spmi_bus { - #address-cells = <1>; - #size-cells = <0>; - interrupt-controller; - #interrupt-cells = <3>; - - qcom,pm8110@0 { - spmi-slave-container; - reg = <0x0>; - #address-cells = <1>; - #size-cells = <1>; - - qcom,power-on@800 { - compatible = "qcom,qpnp-power-on"; - reg = <0x800 0x100>; - interrupts = <0x0 0x8 0x0>, - <0x0 0x8 0x1>, - <0x0 0x8 0x4>; - interrupt-names = "kpdpwr", "resin", "resin-bark"; - qcom,pon-dbc-delay = <15625>; - qcom,system-reset; - - qcom,pon_1 { - qcom,pon-type = <0>; - qcom,pull-up = <1>; - linux,code = <116>; - }; - - qcom,pon_2 { - qcom,pon-type = <1>; - qcom,pull-up = <1>; - linux,code = <114>; - }; - }; - - pm8110_chg: qcom,charger { - spmi-dev-container; - compatible = "qcom,qpnp-charger"; - #address-cells = <1>; - #size-cells = <1>; - status = "disabled"; - - qcom,vddmax-mv = <4200>; - qcom,vddsafe-mv = <4230>; - qcom,vinmin-mv = <4200>; - qcom,vbatdet-mv = <4100>; - qcom,ibatmax-ma = <1500>; - qcom,ibatterm-ma = <200>; - qcom,ibatsafe-ma = <1500>; - qcom,thermal-mitigation = <1500 700 600 325>; - qcom,vbatdet-delta-mv = <350>; - qcom,tchg-mins = <150>; - - qcom,chgr@1000 { - status = "disabled"; - reg = <0x1000 0x100>; - interrupts = <0x0 0x10 0x0>, - <0x0 0x10 0x1>, - <0x0 0x10 0x2>, - <0x0 0x10 0x3>, - <0x0 0x10 0x4>, - <0x0 0x10 0x5>, - <0x0 0x10 0x6>, - <0x0 0x10 0x7>; - - interrupt-names = "vbat-det-lo", - "vbat-det-hi", - "chgwdog", - "state-change", - "trkl-chg-on", - "fast-chg-on", - "chg-failed", - "chg-done"; - }; - - qcom,buck@1100 { - status = "disabled"; - reg = <0x1100 0x100>; - interrupts = <0x0 0x11 0x0>, - <0x0 0x11 0x1>, - <0x0 0x11 0x2>, - <0x0 0x11 0x3>, - <0x0 0x11 0x4>, - <0x0 0x11 0x5>, - <0x0 0x11 0x6>; - - interrupt-names = "vbat-ov", - "vreg-ov", - "overtemp", - "vchg-loop", - "ichg-loop", - "ibat-loop", - "vdd-loop"; - }; - - qcom,bat-if@1200 { - status = "disabled"; - reg = <0x1200 0x100>; - interrupts = <0x0 0x12 0x0>, - <0x0 0x12 0x1>, - <0x0 0x12 0x2>, - <0x0 0x12 0x3>, - <0x0 0x12 0x4>; - - interrupt-names = "batt-pres", - "bat-temp-ok", - "bat-fet-on", - "vcp-on", - "psi"; - }; - - qcom,usb-chgpth@1300 { - status = "disabled"; - reg = <0x1300 0x100>; - interrupts = <0 0x13 0x0>, - <0 0x13 0x1>, - <0x0 0x13 0x2>; - - interrupt-names = "coarse-det-usb", - "usbin-valid", - "chg-gone"; - }; - - qcom,chg-misc@1600 { - status = "disabled"; - reg = <0x1600 0x100>; - }; - }; - - pm8110_gpios: gpios { - spmi-dev-container; - compatible = "qcom,qpnp-pin"; - gpio-controller; - #gpio-cells = <2>; - #address-cells = <1>; - #size-cells = <1>; - label = "pm8110-gpio"; - - gpio@c000 { - reg = <0xc000 0x100>; - qcom,pin-num = <1>; - }; - - gpio@c100 { - reg = <0xc100 0x100>; - qcom,pin-num = <2>; - }; - - gpio@c200 { - reg = <0xc200 0x100>; - qcom,pin-num = <3>; - }; - - gpio@c300 { - reg = <0xc300 0x100>; - qcom,pin-num = <4>; - }; - }; - - pm8110_mpps: mpps { - spmi-dev-container; - compatible = "qcom,qpnp-pin"; - gpio-controller; - #gpio-cells = <2>; - #address-cells = <1>; - #size-cells = <1>; - label = "pm8110-mpp"; - - mpp@a000 { - reg = <0xa000 0x100>; - qcom,pin-num = <1>; - }; - - mpp@a100 { - reg = <0xa100 0x100>; - qcom,pin-num = <2>; - }; - - mpp@a200 { - reg = <0xa200 0x100>; - qcom,pin-num = <3>; - }; - - mpp@a300 { - reg = <0xa300 0x100>; - qcom,pin-num = <4>; - }; - }; - - pm8110_vadc: vadc@3100 { - compatible = "qcom,qpnp-vadc"; - reg = <0x3100 0x100>; - #address-cells = <1>; - #size-cells = <0>; - interrupts = <0x0 0x31 0x0>; - interrupt-names = "eoc-int-en-set"; - qcom,adc-bit-resolution = <15>; - qcom,adc-vdd-reference = <1800>; - - chan@8 { - label = "die_temp"; - reg = <8>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <3>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@9 { - label = "ref_625mv"; - reg = <9>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@a { - label = "ref_1250v"; - reg = <0xa>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - }; - - iadc@3600 { - compatible = "qcom,qpnp-iadc"; - reg = <0x3600 0x100>; - #address-cells = <1>; - #size-cells = <0>; - interrupts = <0x0 0x36 0x0>; - interrupt-names = "eoc-int-en-set"; - qcom,adc-bit-resolution = <16>; - qcom,adc-vdd-reference = <1800>; - - chan@0 { - label = "internal_rsense"; - reg = <0>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <1>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - }; - - pm8110_adc_tm: vadc@3400 { - compatible = "qcom,qpnp-adc-tm"; - reg = <0x3400 0x100>; - #address-cells = <1>; - #size-cells = <0>; - interrupts = <0x0 0x34 0x0>, - <0x0 0x34 0x3>, - <0x0 0x34 0x4>; - interrupt-names = "eoc-int-en-set", - "high-thr-en-set", - "low-thr-en-set"; - qcom,adc-bit-resolution = <15>; - qcom,adc-vdd-reference = <1800>; - }; - - qcom,temp-alarm@2400 { - compatible = "qcom,qpnp-temp-alarm"; - reg = <0x2400 0x100>; - interrupts = <0x0 0x24 0x0>; - label = "pm8110_tz"; - qcom,channel-num = <8>; - qcom,threshold-set = <0>; - }; - - pm8110_bms: qcom,bms { - spmi-dev-container; - compatible = "qcom,qpnp-bms"; - #address-cells = <1>; - #size-cells = <1>; - status = "disabled"; - - qcom,r-sense-uohm = <10000>; - qcom,v-cutoff-uv = <3400000>; - qcom,max-voltage-uv = <4200000>; - qcom,r-conn-mohm = <0>; - qcom,shutdown-soc-valid-limit = <20>; - qcom,adjust-soc-low-threshold = <15>; - qcom,ocv-voltage-high-threshold-uv = <3750000>; - qcom,ocv-voltage-low-threshold-uv = <3650000>; - qcom,low-soc-calculate-soc-threshold = <15>; - qcom,low-soc-calculate-soc-ms = <5000>; - qcom,calculate-soc-ms = <20000>; - qcom,chg-term-ua = <100000>; - qcom,batt-type = <0>; - qcom,low-voltage-threshold = <3420000>; - qcom,tm-temp-margin = <5000>; - qcom,low-ocv-correction-limit-uv = <100>; - qcom,high-ocv-correction-limit-uv = <50>; - qcom,hold-soc-est = <3>; - - qcom,bms-iadc@3800 { - reg = <0x3800 0x100>; - }; - - qcom,bms-bms@4000 { - reg = <0x4000 0x100>; - interrupts = <0x0 0x40 0x0>, - <0x0 0x40 0x1>, - <0x0 0x40 0x2>, - <0x0 0x40 0x3>, - <0x0 0x40 0x4>, - <0x0 0x40 0x5>, - <0x0 0x40 0x6>, - <0x0 0x40 0x7>; - - interrupt-names = "vsense_for_r", - "vsense_avg", - "sw_cc_thr", - "ocv_thr", - "charge_begin", - "good_ocv", - "ocv_for_r", - "cc_thr"; - }; - }; - - qcom,pm8110_rtc { - spmi-dev-container; - compatible = "qcom,qpnp-rtc"; - #address-cells = <1>; - #size-cells = <1>; - qcom,qpnp-rtc-write = <0>; - qcom,qpnp-rtc-alarm-pwrup = <0>; - - qcom,pm8110_rtc_rw@6000 { - reg = <0x6000 0x100>; - }; - - qcom,pm8110_rtc_alarm@6100 { - reg = <0x6100 0x100>; - interrupts = <0x0 0x61 0x1>; - }; - }; - - qcom,leds@a100 { - compatible = "qcom,leds-qpnp"; - reg = <0xa100 0x100>; - label = "mpp"; - }; - - qcom,leds@a200 { - compatible = "qcom,leds-qpnp"; - reg = <0xa200 0x100>; - label = "mpp"; - }; - }; - - qcom,pm8110@1 { - spmi-slave-container; - reg = <0x1>; - #address-cells = <1>; - #size-cells = <1>; - - regulator@1400 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_s1"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - reg = <0x1400 0x300>; - status = "disabled"; - - qcom,ctl@1400 { - reg = <0x1400 0x100>; - }; - qcom,ps@1500 { - reg = <0x1500 0x100>; - }; - qcom,freq@1600 { - reg = <0x1600 0x100>; - }; - }; - - regulator@1700 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_s2"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - reg = <0x1700 0x300>; - status = "disabled"; - - qcom,ctl@1700 { - reg = <0x1700 0x100>; - }; - qcom,ps@1800 { - reg = <0x1800 0x100>; - }; - qcom,freq@1900 { - reg = <0x1900 0x100>; - }; - }; - - regulator@1a00 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_s3"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - reg = <0x1a00 0x300>; - status = "disabled"; - - qcom,ctl@1a00 { - reg = <0x1a00 0x100>; - }; - qcom,ps@1b00 { - reg = <0x1b00 0x100>; - }; - qcom,freq@1c00 { - reg = <0x1c00 0x100>; - }; - }; - - regulator@1d00 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_s4"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - reg = <0x1d00 0x300>; - status = "disabled"; - - qcom,ctl@1d00 { - reg = <0x1d00 0x100>; - }; - qcom,ps@1e00 { - reg = <0x1e00 0x100>; - }; - qcom,freq@1f00 { - reg = <0x1f00 0x100>; - }; - }; - - regulator@4000 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_l1"; - reg = <0x4000 0x100>; - status = "disabled"; - }; - - regulator@4100 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_l2"; - reg = <0x4100 0x100>; - status = "disabled"; - }; - - regulator@4200 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_l3"; - reg = <0x4200 0x100>; - status = "disabled"; - }; - - regulator@4300 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_l4"; - reg = <0x4300 0x100>; - status = "disabled"; - }; - - regulator@4400 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_l5"; - reg = <0x4400 0x100>; - status = "disabled"; - }; - - regulator@4500 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_l6"; - reg = <0x4500 0x100>; - status = "disabled"; - }; - - regulator@4600 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_l7"; - reg = <0x4600 0x100>; - status = "disabled"; - }; - - regulator@4700 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_l8"; - reg = <0x4700 0x100>; - status = "disabled"; - }; - - regulator@4800 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_l9"; - reg = <0x4800 0x100>; - status = "disabled"; - }; - - regulator@4900 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_l10"; - reg = <0x4900 0x100>; - status = "disabled"; - }; - - regulator@4b00 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_l12"; - reg = <0x4b00 0x100>; - status = "disabled"; - }; - - regulator@4d00 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_l14"; - reg = <0x4d00 0x100>; - status = "disabled"; - }; - - regulator@4e00 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_l15"; - reg = <0x4e00 0x100>; - status = "disabled"; - }; - - regulator@4f00 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_l16"; - reg = <0x4f00 0x100>; - status = "disabled"; - }; - - regulator@5000 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_l17"; - reg = <0x5000 0x100>; - status = "disabled"; - }; - - regulator@5100 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_l18"; - reg = <0x5100 0x100>; - status = "disabled"; - }; - - regulator@5200 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_l19"; - reg = <0x5200 0x100>; - status = "disabled"; - }; - - regulator@5300 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_l20"; - reg = <0x5300 0x100>; - status = "disabled"; - }; - - regulator@5400 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_l21"; - reg = <0x5400 0x100>; - status = "disabled"; - }; - - regulator@5500 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_l22"; - reg = <0x5500 0x100>; - status = "disabled"; - }; - - qcom,vibrator@c000 { - compatible = "qcom,qpnp-vibrator"; - reg = <0xc000 0x100>; - label = "vibrator"; - status = "disabled"; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm-pm8226-rpm-regulator.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm-pm8226-rpm-regulator.dtsi deleted file mode 100644 index ded949489..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm-pm8226-rpm-regulator.dtsi +++ /dev/null @@ -1,492 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -&rpm_bus { - rpm-regulator-smpa1 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "smpa"; - qcom,resource-id = <1>; - qcom,regulator-type = <1>; - qcom,hpm-min-load = <100000>; - status = "disabled"; - - regulator-s1 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_s1"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-smpa3 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "smpa"; - qcom,resource-id = <3>; - qcom,regulator-type = <1>; - qcom,hpm-min-load = <100000>; - status = "disabled"; - - regulator-s3 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_s3"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-smpa4 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "smpa"; - qcom,resource-id = <4>; - qcom,regulator-type = <1>; - qcom,hpm-min-load = <100000>; - status = "disabled"; - - regulator-s4 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_s4"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-smpa5 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "smpa"; - qcom,resource-id = <5>; - qcom,regulator-type = <1>; - qcom,hpm-min-load = <100000>; - status = "disabled"; - - regulator-s5 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_s5"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa1 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <1>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l1 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l1"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa2 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <2>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l2 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l2"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa3 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <3>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l3 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l3"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa4 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <4>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l4 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l4"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa5 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <5>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l5 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l5"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa6 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <6>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l6 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l6"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa7 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <7>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l7 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l7"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa8 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <8>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <5000>; - status = "disabled"; - - regulator-l8 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l8"; - qcom,set = <1>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa9 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <9>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l9 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l9"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa10 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <10>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <5000>; - status = "disabled"; - - regulator-l10 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l10"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa12 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <12>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l12 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l12"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa14 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <14>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <5000>; - status = "disabled"; - - regulator-l14 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l14"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa15 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <15>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l15 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l15"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa16 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <16>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l16 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l16"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa17 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <17>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l17 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l17"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa18 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <18>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l18 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l18"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa19 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <19>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l19 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l19"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa20 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <20>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <5000>; - status = "disabled"; - - regulator-l20 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l20"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa21 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <21>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <5000>; - status = "disabled"; - - regulator-l21 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l21"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa22 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <22>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l22 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l22"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa23 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <23>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l23 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l23"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa24 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <24>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l24 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l24"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa26 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <26>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l26 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l26"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa27 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <27>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l27 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l27"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa28 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <28>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l28 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l28"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-vsa1 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "vsa"; - qcom,resource-id = <1>; - qcom,regulator-type = <2>; - status = "disabled"; - - regulator-lvs1 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_lvs1"; - qcom,set = <3>; - status = "disabled"; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm-pm8226.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm-pm8226.dtsi deleted file mode 100644 index d429f72b7..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm-pm8226.dtsi +++ /dev/null @@ -1,833 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&spmi_bus { - #address-cells = <1>; - #size-cells = <0>; - interrupt-controller; - #interrupt-cells = <3>; - - qcom,pm8226@0 { - spmi-slave-container; - reg = <0x0>; - #address-cells = <1>; - #size-cells = <1>; - - qcom,power-on@800 { - compatible = "qcom,qpnp-power-on"; - reg = <0x800 0x100>; - interrupts = <0x0 0x8 0x0>, - <0x0 0x8 0x1>, - <0x0 0x8 0x4>; - interrupt-names = "kpdpwr", "resin", "resin-bark"; - qcom,pon-dbc-delay = <15625>; - qcom,system-reset; - - qcom,pon_1 { - qcom,pon-type = <0>; - qcom,pull-up = <1>; - linux,code = <116>; - }; - - qcom,pon_2 { - qcom,pon-type = <1>; - qcom,support-reset = <1>; - qcom,pull-up = <1>; - qcom,s1-timer = <0>; - qcom,s2-timer = <2000>; - qcom,s2-type = <1>; - linux,code = <114>; - }; - }; - - pm8226_chg: qcom,charger { - spmi-dev-container; - compatible = "qcom,qpnp-charger"; - #address-cells = <1>; - #size-cells = <1>; - status = "disabled"; - - qcom,vddmax-mv = <4200>; - qcom,vddsafe-mv = <4230>; - qcom,vinmin-mv = <4200>; - qcom,vbatdet-delta-mv = <150>; - qcom,ibatmax-ma = <1500>; - qcom,ibatterm-ma = <100>; - qcom,ibatsafe-ma = <1500>; - qcom,thermal-mitigation = <1500 700 600 325>; - qcom,tchg-mins = <150>; - - qcom,chgr@1000 { - status = "disabled"; - reg = <0x1000 0x100>; - interrupts = <0x0 0x10 0x0>, - <0x0 0x10 0x1>, - <0x0 0x10 0x2>, - <0x0 0x10 0x3>, - <0x0 0x10 0x4>, - <0x0 0x10 0x5>, - <0x0 0x10 0x6>, - <0x0 0x10 0x7>; - - interrupt-names = "vbat-det-lo", - "vbat-det-hi", - "chgwdog", - "state-change", - "trkl-chg-on", - "fast-chg-on", - "chg-failed", - "chg-done"; - }; - - qcom,buck@1100 { - status = "disabled"; - reg = <0x1100 0x100>; - interrupts = <0x0 0x11 0x0>, - <0x0 0x11 0x1>, - <0x0 0x11 0x2>, - <0x0 0x11 0x3>, - <0x0 0x11 0x4>, - <0x0 0x11 0x5>, - <0x0 0x11 0x6>; - - interrupt-names = "vbat-ov", - "vreg-ov", - "overtemp", - "vchg-loop", - "ichg-loop", - "ibat-loop", - "vdd-loop"; - }; - - qcom,bat-if@1200 { - status = "disabled"; - reg = <0x1200 0x100>; - interrupts = <0x0 0x12 0x0>, - <0x0 0x12 0x1>, - <0x0 0x12 0x2>, - <0x0 0x12 0x3>, - <0x0 0x12 0x4>; - - interrupt-names = "batt-pres", - "bat-temp-ok", - "bat-fet-on", - "vcp-on", - "psi"; - - }; - - pm8226_chg_otg: qcom,usb-chgpth@1300 { - status = "disabled"; - reg = <0x1300 0x100>; - interrupts = <0 0x13 0x0>, - <0 0x13 0x1>, - <0x0 0x13 0x2>; - - interrupt-names = "coarse-det-usb", - "usbin-valid", - "chg-gone"; - }; - - pm8226_chg_boost: qcom,boost@1500 { - status = "disabled"; - reg = <0x1500 0x100>; - interrupts = <0x0 0x15 0x0>, - <0x0 0x15 0x1>; - - interrupt-names = "boost-pwr-ok", - "limit-error"; - }; - - qcom,chg-misc@1600 { - status = "disabled"; - reg = <0x1600 0x100>; - }; - }; - - pm8226_bms: qcom,bms { - spmi-dev-container; - compatible = "qcom,qpnp-bms"; - #address-cells = <1>; - #size-cells = <1>; - status = "disabled"; - - qcom,r-sense-uohm = <10000>; - qcom,v-cutoff-uv = <3400000>; - qcom,max-voltage-uv = <4200000>; - qcom,r-conn-mohm = <0>; - qcom,shutdown-soc-valid-limit = <20>; - qcom,adjust-soc-low-threshold = <15>; - qcom,ocv-voltage-high-threshold-uv = <3750000>; - qcom,ocv-voltage-low-threshold-uv = <3650000>; - qcom,low-soc-calculate-soc-threshold = <15>; - qcom,low-soc-calculate-soc-ms = <5000>; - qcom,calculate-soc-ms = <20000>; - qcom,chg-term-ua = <100000>; - qcom,batt-type = <0>; - qcom,tm-temp-margin = <5000>; - qcom,low-ocv-correction-limit-uv = <100>; - qcom,high-ocv-correction-limit-uv = <50>; - qcom,hold-soc-est = <3>; - qcom,low-voltage-threshold = <3420000>; - - qcom,bms-iadc@3800 { - reg = <0x3800 0x100>; - }; - - qcom,bms-bms@4000 { - reg = <0x4000 0x100>; - interrupts = <0x0 0x40 0x0>, - <0x0 0x40 0x1>, - <0x0 0x40 0x2>, - <0x0 0x40 0x3>, - <0x0 0x40 0x4>, - <0x0 0x40 0x5>, - <0x0 0x40 0x6>, - <0x0 0x40 0x7>; - - interrupt-names = "vsense_for_r", - "vsense_avg", - "sw_cc_thr", - "ocv_thr", - "charge_begin", - "good_ocv", - "ocv_for_r", - "cc_thr"; - }; - }; - - qcom,leds@a100 { - compatible = "qcom,leds-qpnp"; - reg = <0xa100 0x100>; - label = "mpp"; - }; - - qcom,leds@a300 { - compatible = "qcom,leds-qpnp"; - reg = <0xa300 0x100>; - label = "mpp"; - }; - - qcom,leds@a500 { - compatible = "qcom,leds-qpnp"; - reg = <0xa500 0x100>; - label = "mpp"; - }; - - pm8226_gpios: gpios { - spmi-dev-container; - compatible = "qcom,qpnp-pin"; - gpio-controller; - #gpio-cells = <2>; - #address-cells = <1>; - #size-cells = <1>; - label = "pm8226-gpio"; - - gpio@c000 { - reg = <0xc000 0x100>; - qcom,pin-num = <1>; - }; - - gpio@c100 { - reg = <0xc100 0x100>; - qcom,pin-num = <2>; - }; - - gpio@c200 { - reg = <0xc200 0x100>; - qcom,pin-num = <3>; - }; - - gpio@c300 { - reg = <0xc300 0x100>; - qcom,pin-num = <4>; - }; - - gpio@c400 { - reg = <0xc400 0x100>; - qcom,pin-num = <5>; - }; - - gpio@c500 { - reg = <0xc500 0x100>; - qcom,pin-num = <6>; - }; - - gpio@c600 { - reg = <0xc600 0x100>; - qcom,pin-num = <7>; - }; - - gpio@c700 { - reg = <0xc700 0x100>; - qcom,pin-num = <8>; - }; - }; - - pm8226_mpps: mpps { - spmi-dev-container; - compatible = "qcom,qpnp-pin"; - gpio-controller; - #gpio-cells = <2>; - #address-cells = <1>; - #size-cells = <1>; - label = "pm8226-mpp"; - - mpp@a000 { - reg = <0xa000 0x100>; - qcom,pin-num = <1>; - }; - - mpp@a100 { - reg = <0xa100 0x100>; - qcom,pin-num = <2>; - }; - - mpp@a200 { - reg = <0xa200 0x100>; - qcom,pin-num = <3>; - }; - - mpp@a300 { - reg = <0xa300 0x100>; - qcom,pin-num = <4>; - }; - - mpp@a400 { - reg = <0xa400 0x100>; - qcom,pin-num = <5>; - }; - - mpp@a500 { - reg = <0xa500 0x100>; - qcom,pin-num = <6>; - }; - - mpp@a600 { - reg = <0xa600 0x100>; - qcom,pin-num = <7>; - }; - - mpp@a700 { - reg = <0xa700 0x100>; - qcom,pin-num = <8>; - }; - }; - - pm8226_vadc: vadc@3100 { - compatible = "qcom,qpnp-vadc"; - reg = <0x3100 0x100>; - #address-cells = <1>; - #size-cells = <0>; - interrupts = <0x0 0x31 0x0>; - interrupt-names = "eoc-int-en-set"; - qcom,adc-bit-resolution = <15>; - qcom,adc-vdd-reference = <1800>; - - chan@8 { - label = "die_temp"; - reg = <8>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <3>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@9 { - label = "ref_625mv"; - reg = <9>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@a { - label = "ref_1250v"; - reg = <0xa>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@c { - label = "ref_buf_625mv"; - reg = <0xc>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - }; - - iadc@3600 { - compatible = "qcom,qpnp-iadc"; - reg = <0x3600 0x100>; - #address-cells = <1>; - #size-cells = <0>; - interrupts = <0x0 0x36 0x0>; - interrupt-names = "eoc-int-en-set"; - qcom,adc-bit-resolution = <16>; - qcom,adc-vdd-reference = <1800>; - - chan@0 { - label = "internal_rsense"; - reg = <0>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <1>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - }; - - pm8226_adc_tm: vadc@3400 { - compatible = "qcom,qpnp-adc-tm"; - reg = <0x3400 0x100>; - #address-cells = <1>; - #size-cells = <0>; - interrupts = <0x0 0x34 0x0>, - <0x0 0x34 0x3>, - <0x0 0x34 0x4>; - interrupt-names = "eoc-int-en-set", - "high-thr-en-set", - "low-thr-en-set"; - qcom,adc-bit-resolution = <15>; - qcom,adc-vdd-reference = <1800>; - }; - - qcom,temp-alarm@2400 { - compatible = "qcom,qpnp-temp-alarm"; - reg = <0x2400 0x100>; - interrupts = <0x0 0x24 0x0>; - label = "pm8226_tz"; - qcom,channel-num = <8>; - qcom,threshold-set = <0>; - }; - - qcom,pm8226_rtc { - spmi-dev-container; - compatible = "qcom,qpnp-rtc"; - #address-cells = <1>; - #size-cells = <1>; - qcom,qpnp-rtc-write = <0>; - qcom,qpnp-rtc-alarm-pwrup = <0>; - - qcom,pm8226_rtc_rw@6000 { - reg = <0x6000 0x100>; - }; - qcom,pm8226_rtc_alarm@6100 { - reg = <0x6100 0x100>; - interrupts = <0x0 0x61 0x1>; - }; - }; - }; - - qcom,pm8226@1 { - spmi-slave-container; - reg = <0x1>; - #address-cells = <1>; - #size-cells = <1>; - - regulator@1400 { - regulator-name = "8226_s1"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x1400 0x300>; - status = "disabled"; - - qcom,ctl@1400 { - reg = <0x1400 0x100>; - }; - qcom,ps@1500 { - reg = <0x1500 0x100>; - }; - qcom,freq@1600 { - reg = <0x1600 0x100>; - }; - }; - - regulator@1700 { - regulator-name = "8226_s2"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x1700 0x300>; - status = "disabled"; - - qcom,ctl@1700 { - reg = <0x1700 0x100>; - }; - qcom,ps@1800 { - reg = <0x1800 0x100>; - }; - qcom,freq@1900 { - reg = <0x1900 0x100>; - }; - }; - - regulator@1a00 { - regulator-name = "8226_s3"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x1a00 0x300>; - status = "disabled"; - - qcom,ctl@1a00 { - reg = <0x1a00 0x100>; - }; - qcom,ps@1b00 { - reg = <0x1b00 0x100>; - }; - qcom,freq@1c00 { - reg = <0x1c00 0x100>; - }; - }; - - regulator@1d00 { - regulator-name = "8226_s4"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x1d00 0x300>; - status = "disabled"; - - qcom,ctl@1d00 { - reg = <0x1d00 0x100>; - }; - qcom,ps@1e00 { - reg = <0x1e00 0x100>; - }; - qcom,freq@1f00 { - reg = <0x1f00 0x100>; - }; - }; - - regulator@2000 { - regulator-name = "8226_s5"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x2000 0x300>; - status = "disabled"; - - qcom,ctl@2000 { - reg = <0x2000 0x100>; - }; - qcom,ps@2100 { - reg = <0x2100 0x100>; - }; - qcom,freq@2200 { - reg = <0x2200 0x100>; - }; - }; - - regulator@4000 { - regulator-name = "8226_l1"; - reg = <0x4000 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4100 { - regulator-name = "8226_l2"; - reg = <0x4100 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4200 { - regulator-name = "8226_l3"; - reg = <0x4200 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4300 { - regulator-name = "8226_l4"; - reg = <0x4300 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4400 { - regulator-name = "8226_l5"; - reg = <0x4400 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4500 { - regulator-name = "8226_l6"; - reg = <0x4500 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4600 { - regulator-name = "8226_l7"; - reg = <0x4600 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4700 { - regulator-name = "8226_l8"; - reg = <0x4700 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4800 { - regulator-name = "8226_l9"; - reg = <0x4800 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4900 { - regulator-name = "8226_l10"; - reg = <0x4900 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4b00 { - regulator-name = "8226_l12"; - reg = <0x4b00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4d00 { - regulator-name = "8226_l14"; - reg = <0x4d00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4e00 { - regulator-name = "8226_l15"; - reg = <0x4e00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4f00 { - regulator-name = "8226_l16"; - reg = <0x4f00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5000 { - regulator-name = "8226_l17"; - reg = <0x5000 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5100 { - regulator-name = "8226_l18"; - reg = <0x5100 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5200 { - regulator-name = "8226_l19"; - reg = <0x5200 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5300 { - regulator-name = "8226_l20"; - reg = <0x5300 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5400 { - regulator-name = "8226_l21"; - reg = <0x5400 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5500 { - regulator-name = "8226_l22"; - reg = <0x5500 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5600 { - regulator-name = "8226_l23"; - reg = <0x5600 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5700 { - regulator-name = "8226_l24"; - reg = <0x5700 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5900 { - regulator-name = "8226_l26"; - reg = <0x5900 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5a00 { - regulator-name = "8226_l27"; - reg = <0x5a00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5b00 { - regulator-name = "8226_l28"; - reg = <0x5b00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - qcom,leds@d800 { - compatible = "qcom,leds-qpnp"; - reg = <0xd800 0x100>; - label = "wled"; - }; - - pwm@b100 { - compatible = "qcom,qpnp-pwm"; - reg = <0xb100 0x100>, - <0xb042 0x7e>; - reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base"; - qcom,channel-id = <0>; - }; - - pwm@b200 { - compatible = "qcom,qpnp-pwm"; - reg = <0xb200 0x100>, - <0xb042 0x7e>; - reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base"; - qcom,channel-id = <1>; - }; - - pwm@b300 { - compatible = "qcom,qpnp-pwm"; - reg = <0xb300 0x100>, - <0xb042 0x7e>; - reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base"; - qcom,channel-id = <2>; - }; - - pwm@b400 { - compatible = "qcom,qpnp-pwm"; - reg = <0xb400 0x100>, - <0xb042 0x7e>; - reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base"; - qcom,channel-id = <3>; - }; - - pwm@b500 { - compatible = "qcom,qpnp-pwm"; - reg = <0xb500 0x100>, - <0xb042 0x7e>; - reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base"; - qcom,channel-id = <4>; - }; - - pwm@b600 { - compatible = "qcom,qpnp-pwm"; - reg = <0xb600 0x100>, - <0xb042 0x7e>; - reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base"; - qcom,channel-id = <5>; - }; - - regulator@8000 { - regulator-name = "8226_lvs1"; - reg = <0x8000 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - qcom,vibrator@c000 { - compatible = "qcom,qpnp-vibrator"; - reg = <0xc000 0x100>; - label = "vibrator"; - status = "disabled"; - }; - - qcom,leds@d300 { - compatible = "qcom,leds-qpnp"; - status = "okay"; - reg = <0xd300 0x100>; - label = "flash"; - flash_boost-supply = <&pm8226_chg_boost>; - pm8226_flash0: qcom,flash_0 { - qcom,max-current = <1000>; - qcom,default-state = "off"; - qcom,headroom = <0>; - qcom,duration = <1280>; - qcom,clamp-curr = <200>; - qcom,startup-dly = <1>; - qcom,safety-timer; - label = "flash"; - linux,default-trigger = - "flash0_trigger"; - qcom,id = <1>; - linux,name = "led:flash_0"; - qcom,current = <625>; - }; - - pm8226_flash1: qcom,flash_1 { - qcom,max-current = <1000>; - qcom,default-state = "off"; - qcom,headroom = <0>; - qcom,duration = <1280>; - qcom,clamp-curr = <200>; - qcom,startup-dly = <1>; - qcom,safety-timer; - linux,default-trigger = - "flash1_trigger"; - label = "flash"; - qcom,id = <2>; - linux,name = "led:flash_1"; - qcom,current = <625>; - }; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm-pm8841.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm-pm8841.dtsi deleted file mode 100644 index a2d80ec05..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm-pm8841.dtsi +++ /dev/null @@ -1,242 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&spmi_bus { - #address-cells = <1>; - #size-cells = <0>; - interrupt-controller; - #interrupt-cells = <3>; - - qcom,pm8841@4 { - spmi-slave-container; - reg = <0x4>; - #address-cells = <1>; - #size-cells = <1>; - - qcom,qpnp-revid@100 { - compatible = "qcom,qpnp-revid"; - reg = <0x100 0x100>; - }; - - qcom,temp-alarm@2400 { - compatible = "qcom,qpnp-temp-alarm"; - reg = <0x2400 0x100>; - interrupts = <0x4 0x24 0x0>; - label = "pm8841_tz"; - qcom,threshold-set = <0>; - qcom,default-temp = <37000>; - }; - - pm8841_mpps: mpps { - spmi-dev-container; - compatible = "qcom,qpnp-pin"; - gpio-controller; - #gpio-cells = <2>; - #address-cells = <1>; - #size-cells = <1>; - label = "pm8841-mpp"; - - mpp@a000 { - reg = <0xa000 0x100>; - qcom,pin-num = <1>; - }; - - mpp@a100 { - reg = <0xa100 0x100>; - qcom,pin-num = <2>; - }; - - mpp@a200 { - reg = <0xa200 0x100>; - qcom,pin-num = <3>; - }; - - mpp@a300 { - reg = <0xa300 0x100>; - qcom,pin-num = <4>; - }; - }; - }; - - qcom,pm8841@5 { - spmi-slave-container; - reg = <0x5>; - #address-cells = <1>; - #size-cells = <1>; - - regulator@1400 { - regulator-name = "8841_s1"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x1400 0x300>; - status = "disabled"; - - qcom,ctl@1400 { - reg = <0x1400 0x100>; - }; - qcom,ps@1500 { - reg = <0x1500 0x100>; - }; - qcom,freq@1600 { - reg = <0x1600 0x100>; - }; - }; - - regulator@1700 { - regulator-name = "8841_s2"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x1700 0x300>; - status = "disabled"; - qcom,force-type = <0x1c 0x08>; - - qcom,ctl@1700 { - reg = <0x1700 0x100>; - }; - qcom,ps@1800 { - reg = <0x1800 0x100>; - }; - qcom,freq@1900 { - reg = <0x1900 0x100>; - }; - }; - - regulator@1a00 { - regulator-name = "8841_s3"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x1a00 0x300>; - status = "disabled"; - - qcom,ctl@1a00 { - reg = <0x1a00 0x100>; - }; - qcom,ps@1b00 { - reg = <0x1b00 0x100>; - }; - qcom,freq@1c00 { - reg = <0x1c00 0x100>; - }; - }; - - regulator@1d00 { - regulator-name = "8841_s4"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x1d00 0x300>; - status = "disabled"; - qcom,force-type = <0x1c 0x08>; - - qcom,ctl@1d00 { - reg = <0x1d00 0x100>; - }; - qcom,ps@1e00 { - reg = <0x1e00 0x100>; - }; - qcom,freq@1f00 { - reg = <0x1f00 0x100>; - }; - }; - - regulator@2000 { - regulator-name = "8841_s5"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x2000 0x300>; - status = "disabled"; - qcom,force-type = <0x1c 0x08>; - - qcom,ctl@0 { - reg = <0x2000 0x100>; - }; - qcom,ps@100 { - reg = <0x2100 0x100>; - }; - qcom,freq@200 { - reg = <0x2200 0x100>; - }; - }; - - regulator@2300 { - regulator-name = "8841_s6"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x2300 0x300>; - status = "disabled"; - qcom,force-type = <0x1c 0x08>; - - qcom,ctl@2300 { - reg = <0x2300 0x100>; - }; - qcom,ps@2400 { - reg = <0x2400 0x100>; - }; - qcom,freq@2500 { - reg = <0x2500 0x100>; - }; - }; - - regulator@2600 { - regulator-name = "8841_s7"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x2600 0x300>; - status = "disabled"; - qcom,force-type = <0x1c 0x08>; - - qcom,ctl@2600 { - reg = <0x2600 0x100>; - }; - qcom,ps@2700 { - reg = <0x2700 0x100>; - }; - qcom,freq@2800 { - reg = <0x2800 0x100>; - }; - }; - - regulator@2900 { - regulator-name = "8841_s8"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x2900 0x300>; - status = "disabled"; - qcom,force-type = <0x1c 0x08>; - - qcom,ctl@2900 { - reg = <0x2900 0x100>; - }; - qcom,ps@2a000 { - reg = <0x2a00 0x100>; - }; - qcom,freq@2b00 { - reg = <0x2b00 0x100>; - }; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm-pm8941.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm-pm8941.dtsi deleted file mode 100644 index b4e557e16..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm-pm8941.dtsi +++ /dev/null @@ -1,1384 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&spmi_bus { - #address-cells = <1>; - #size-cells = <0>; - interrupt-controller; - #interrupt-cells = <3>; - - qcom,pm8941@0 { - spmi-slave-container; - reg = <0x0>; - #address-cells = <1>; - #size-cells = <1>; - - pm8941_misc: qcom,misc@900 { - compatible = "qcom,qpnp-misc"; - reg = <0x900 0x100>; - }; - - qcom,revid@100 { - compatible = "qcom,qpnp-revid"; - reg = <0x100 0x100>; - }; - - qcom,temp-alarm@2400 { - compatible = "qcom,qpnp-temp-alarm"; - reg = <0x2400 0x100>; - interrupts = <0x0 0x24 0x0>; - label = "pm8941_tz"; - qcom,channel-num = <8>; - qcom,threshold-set = <0>; - }; - - qcom,power-on@800 { - compatible = "qcom,qpnp-power-on"; - reg = <0x800 0x100>; - interrupts = <0x0 0x8 0x0>, - <0x0 0x8 0x1>, - <0x0 0x8 0x4>; - interrupt-names = "kpdpwr", "resin", "resin-bark"; - qcom,pon-dbc-delay = <15625>; - qcom,system-reset; - - qcom,pon_1 { - qcom,pon-type = <0>; - qcom,pull-up = <1>; - linux,code = <116>; - }; - - qcom,pon_2 { - qcom,pon-type = <1>; - qcom,support-reset = <1>; - qcom,pull-up = <1>; - qcom,s1-timer = <0>; - qcom,s2-timer = <2000>; - qcom,s2-type = <1>; - linux,code = <114>; - }; - }; - - bif_ctrl: qcom,bsi@1b00 { - compatible = "qcom,qpnp-bsi"; - reg = <0x1b00 0x100>, - <0x1208 0x1>; - reg-names = "bsi-base", "batt-id-status"; - label = "pm8941-bsi"; - interrupts = <0x0 0x1b 0x0>, - <0x0 0x1b 0x1>, - <0x0 0x1b 0x2>, - <0x0 0x12 0x0>; - interrupt-names = "err", - "rx", - "tx", - "batt-present"; - qcom,channel-num = <0x31>; - qcom,pullup-ohms = <100000>; - qcom,vref-microvolts = <1800000>; - qcom,min-clock-period = <1000>; - qcom,max-clock-period = <160000>; - qcom,sample-rate = <4>; - }; - - pm8941_coincell: qcom,coincell@2800 { - compatible = "qcom,qpnp-coincell"; - reg = <0x2800 0x100>; - }; - - pm8941_bms: qcom,bms { - spmi-dev-container; - compatible = "qcom,qpnp-bms"; - #address-cells = <1>; - #size-cells = <1>; - status = "disabled"; - - qcom,r-sense-uohm = <10000>; - qcom,v-cutoff-uv = <3400000>; - qcom,max-voltage-uv = <4200000>; - qcom,r-conn-mohm = <0>; - qcom,shutdown-soc-valid-limit = <20>; - qcom,adjust-soc-low-threshold = <15>; - qcom,ocv-voltage-high-threshold-uv = <3750000>; - qcom,ocv-voltage-low-threshold-uv = <3650000>; - qcom,low-soc-calculate-soc-threshold = <15>; - qcom,low-soc-calculate-soc-ms = <5000>; - qcom,calculate-soc-ms = <20000>; - qcom,chg-term-ua = <100000>; - qcom,batt-type = <0>; - qcom,low-voltage-threshold = <3420000>; - qcom,tm-temp-margin = <5000>; - qcom,low-ocv-correction-limit-uv = <100>; - qcom,high-ocv-correction-limit-uv = <50>; - qcom,hold-soc-est = <3>; - - qcom,bms-iadc@3800 { - reg = <0x3800 0x100>; - }; - - qcom,bms-bms@4000 { - reg = <0x4000 0x100>; - interrupts = <0x0 0x40 0x0>, - <0x0 0x40 0x1>, - <0x0 0x40 0x2>, - <0x0 0x40 0x3>, - <0x0 0x40 0x4>, - <0x0 0x40 0x5>, - <0x0 0x40 0x6>, - <0x0 0x40 0x7>; - - interrupt-names = "vsense_for_r", - "vsense_avg", - "sw_cc_thr", - "ocv_thr", - "charge_begin", - "good_ocv", - "ocv_for_r", - "cc_thr"; - }; - }; - - clkdiv@5b00 { - reg = <0x5b00 0x100>; - compatible = "qcom,qpnp-clkdiv"; - qcom,cxo-freq = <19200000>; - }; - - clkdiv@5c00 { - reg = <0x5c00 0x100>; - compatible = "qcom,qpnp-clkdiv"; - qcom,cxo-freq = <19200000>; - }; - - clkdiv@5d00 { - reg = <0x5d00 0x1000>; - compatible = "qcom,qpnp-clkdiv"; - qcom,cxo-freq = <19200000>; - }; - - pm8941_chg: qcom,charger { - spmi-dev-container; - compatible = "qcom,qpnp-charger"; - #address-cells = <1>; - #size-cells = <1>; - status = "disabled"; - - qcom,vddmax-mv = <4200>; - qcom,vddsafe-mv = <4230>; - qcom,vinmin-mv = <4300>; - qcom,ibatmax-ma = <1500>; - qcom,ibatterm-ma = <100>; - qcom,ibatsafe-ma = <1500>; - qcom,thermal-mitigation = <1500 700 600 325>; - qcom,cool-bat-decidegc = <100>; - qcom,cool-bat-mv = <4100>; - qcom,ibatmax-warm-ma = <350>; - qcom,warm-bat-decidegc = <450>; - qcom,warm-bat-mv = <4100>; - qcom,ibatmax-cool-ma = <350>; - qcom,vbatdet-delta-mv = <100>; - qcom,tchg-mins = <150>; - - qcom,chgr@1000 { - status = "disabled"; - reg = <0x1000 0x100>; - interrupts = <0x0 0x10 0x0>, - <0x0 0x10 0x1>, - <0x0 0x10 0x2>, - <0x0 0x10 0x3>, - <0x0 0x10 0x4>, - <0x0 0x10 0x5>, - <0x0 0x10 0x6>, - <0x0 0x10 0x7>; - - interrupt-names = "vbat-det-lo", - "vbat-det-hi", - "chgwdog", - "state-change", - "trkl-chg-on", - "fast-chg-on", - "chg-failed", - "chg-done"; - }; - - qcom,buck@1100 { - status = "disabled"; - reg = <0x1100 0x100>; - interrupts = <0x0 0x11 0x0>, - <0x0 0x11 0x1>, - <0x0 0x11 0x2>, - <0x0 0x11 0x3>, - <0x0 0x11 0x4>, - <0x0 0x11 0x5>, - <0x0 0x11 0x6>; - - interrupt-names = "vbat-ov", - "vreg-ov", - "overtemp", - "vchg-loop", - "ichg-loop", - "ibat-loop", - "vdd-loop"; - }; - - qcom,bat-if@1200 { - status = "disabled"; - reg = <0x1200 0x100>; - interrupts = <0x0 0x12 0x0>, - <0x0 0x12 0x1>, - <0x0 0x12 0x2>, - <0x0 0x12 0x3>, - <0x0 0x12 0x4>; - - interrupt-names = "batt-pres", - "bat-temp-ok", - "bat-fet-on", - "vcp-on", - "psi"; - - }; - - pm8941_chg_otg: qcom,usb-chgpth@1300 { - status = "disabled"; - reg = <0x1300 0x100>; - interrupts = <0 0x13 0x0>, - <0 0x13 0x1>, - <0x0 0x13 0x2>; - - interrupt-names = "coarse-det-usb", - "usbin-valid", - "chg-gone"; - }; - - qcom,dc-chgpth@1400 { - status = "disabled"; - reg = <0x1400 0x100>; - interrupts = <0x0 0x14 0x0>, - <0x0 0x14 0x1>; - - interrupt-names = "coarse-det-dc", - "dcin-valid"; - }; - - pm8941_chg_boost: qcom,boost@1500 { - status = "disabled"; - reg = <0x1500 0x100>; - interrupts = <0x0 0x15 0x0>, - <0x0 0x15 0x1>; - - interrupt-names = "boost-pwr-ok", - "limit-error"; - }; - - qcom,chg-misc@1600 { - status = "disabled"; - reg = <0x1600 0x100>; - }; - }; - - pm8941_gpios: gpios { - spmi-dev-container; - compatible = "qcom,qpnp-pin"; - gpio-controller; - #gpio-cells = <2>; - #address-cells = <1>; - #size-cells = <1>; - label = "pm8941-gpio"; - - gpio@c000 { - reg = <0xc000 0x100>; - qcom,pin-num = <1>; - }; - - gpio@c100 { - reg = <0xc100 0x100>; - qcom,pin-num = <2>; - }; - - gpio@c200 { - reg = <0xc200 0x100>; - qcom,pin-num = <3>; - }; - - gpio@c300 { - reg = <0xc300 0x100>; - qcom,pin-num = <4>; - }; - - gpio@c400 { - reg = <0xc400 0x100>; - qcom,pin-num = <5>; - }; - - gpio@c500 { - reg = <0xc500 0x100>; - qcom,pin-num = <6>; - }; - - gpio@c600 { - reg = <0xc600 0x100>; - qcom,pin-num = <7>; - }; - - gpio@c700 { - reg = <0xc700 0x100>; - qcom,pin-num = <8>; - }; - - gpio@c800 { - reg = <0xc800 0x100>; - qcom,pin-num = <9>; - }; - - gpio@c900 { - reg = <0xc900 0x100>; - qcom,pin-num = <10>; - }; - - gpio@ca00 { - reg = <0xca00 0x100>; - qcom,pin-num = <11>; - }; - - gpio@cb00 { - reg = <0xcb00 0x100>; - qcom,pin-num = <12>; - }; - - gpio@cc00 { - reg = <0xcc00 0x100>; - qcom,pin-num = <13>; - }; - - gpio@cd00 { - reg = <0xcd00 0x100>; - qcom,pin-num = <14>; - }; - - gpio@ce00 { - reg = <0xce00 0x100>; - qcom,pin-num = <15>; - }; - - gpio@cf00 { - reg = <0xcf00 0x100>; - qcom,pin-num = <16>; - }; - - gpio@d000 { - reg = <0xd000 0x100>; - qcom,pin-num = <17>; - }; - - gpio@d100 { - reg = <0xd100 0x100>; - qcom,pin-num = <18>; - }; - - gpio@d200 { - reg = <0xd200 0x100>; - qcom,pin-num = <19>; - }; - - gpio@d300 { - reg = <0xd300 0x100>; - qcom,pin-num = <20>; - }; - - gpio@d400 { - reg = <0xd400 0x100>; - qcom,pin-num = <21>; - }; - - gpio@d500 { - reg = <0xd500 0x100>; - qcom,pin-num = <22>; - }; - - gpio@d600 { - reg = <0xd600 0x100>; - qcom,pin-num = <23>; - }; - - gpio@d700 { - reg = <0xd700 0x100>; - qcom,pin-num = <24>; - }; - - gpio@d800 { - reg = <0xd800 0x100>; - qcom,pin-num = <25>; - }; - - gpio@d900 { - reg = <0xd900 0x100>; - qcom,pin-num = <26>; - }; - - gpio@da00 { - reg = <0xda00 0x100>; - qcom,pin-num = <27>; - }; - - gpio@db00 { - reg = <0xdb00 0x100>; - qcom,pin-num = <28>; - }; - - gpio@dc00 { - reg = <0xdc00 0x100>; - qcom,pin-num = <29>; - }; - - gpio@dd00 { - reg = <0xdd00 0x100>; - qcom,pin-num = <30>; - }; - - gpio@de00 { - reg = <0xde00 0x100>; - qcom,pin-num = <31>; - }; - - gpio@df00 { - reg = <0xdf00 0x100>; - qcom,pin-num = <32>; - }; - - gpio@e000 { - reg = <0xe000 0x100>; - qcom,pin-num = <33>; - }; - - gpio@e100 { - reg = <0xe100 0x100>; - qcom,pin-num = <34>; - }; - - gpio@e200 { - reg = <0xe200 0x100>; - qcom,pin-num = <35>; - }; - - gpio@e300 { - reg = <0xe300 0x100>; - qcom,pin-num = <36>; - }; - }; - - pm8941_mpps: mpps { - spmi-dev-container; - compatible = "qcom,qpnp-pin"; - gpio-controller; - #gpio-cells = <2>; - #address-cells = <1>; - #size-cells = <1>; - label = "pm8941-mpp"; - - mpp@a000 { - reg = <0xa000 0x100>; - qcom,pin-num = <1>; - }; - - mpp@a100 { - reg = <0xa100 0x100>; - qcom,pin-num = <2>; - }; - - mpp@a200 { - reg = <0xa200 0x100>; - qcom,pin-num = <3>; - }; - - mpp@a300 { - reg = <0xa300 0x100>; - qcom,pin-num = <4>; - }; - - mpp@a400 { - reg = <0xa400 0x100>; - qcom,pin-num = <5>; - }; - - mpp@a500 { - reg = <0xa500 0x100>; - qcom,pin-num = <6>; - }; - - mpp@a600 { - reg = <0xa600 0x100>; - qcom,pin-num = <7>; - }; - - mpp@a700 { - reg = <0xa700 0x100>; - qcom,pin-num = <8>; - }; - }; - - qcom,pm8941_rtc { - spmi-dev-container; - compatible = "qcom,qpnp-rtc"; - #address-cells = <1>; - #size-cells = <1>; - qcom,qpnp-rtc-write = <0>; - qcom,qpnp-rtc-alarm-pwrup = <0>; - - qcom,pm8941_rtc_rw@6000 { - reg = <0x6000 0x100>; - }; - qcom,pm8941_rtc_alarm@6100 { - reg = <0x6100 0x100>; - interrupts = <0x0 0x61 0x1>; - }; - }; - - vadc@3100 { - compatible = "qcom,qpnp-vadc"; - reg = <0x3100 0x100>; - #address-cells = <1>; - #size-cells = <0>; - interrupts = <0x0 0x31 0x0>; - interrupt-names = "eoc-int-en-set"; - qcom,adc-bit-resolution = <15>; - qcom,adc-vdd-reference = <1800>; - - chan@0 { - label = "usb_in"; - reg = <0>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <4>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@1 { - label = "dc_in"; - reg = <1>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <4>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@2 { - label = "vchg_sns"; - reg = <2>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <3>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@3 { - label = "spare1_div3"; - reg = <3>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <1>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@4 { - label = "usb_id_mv"; - reg = <4>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <1>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@5 { - label = "vcoin"; - reg = <5>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <1>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@6 { - label = "vbat_sns"; - reg = <6>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <1>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@7 { - label = "vph_pwr"; - reg = <7>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <1>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@8 { - label = "die_temp"; - reg = <8>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <3>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@9 { - label = "ref_625mv"; - reg = <9>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@a { - label = "ref_1250v"; - reg = <0xa>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@30 { - label = "batt_therm"; - reg = <0x30>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <1>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@31 { - label = "batt_id"; - reg = <0x31>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@b2 { - label = "xo_therm_pu2"; - reg = <0xb2>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <4>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@b3 { - label = "msm_therm"; - reg = <0xb3>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@b4 { - label = "emmc_therm"; - reg = <0xb4>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@b5 { - label = "pa_therm0"; - reg = <0xb5>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@b7 { - label = "pa_therm1"; - reg = <0xb7>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@b8 { - label = "quiet_therm"; - reg = <0xb8>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@b9 { - label = "usb_id"; - reg = <0xb9>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@39 { - label = "usb_id_nopull"; - reg = <0x39>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - }; - - iadc@3600 { - compatible = "qcom,qpnp-iadc"; - reg = <0x3600 0x100>; - #address-cells = <1>; - #size-cells = <0>; - interrupts = <0x0 0x36 0x0>; - interrupt-names = "eoc-int-en-set"; - qcom,adc-bit-resolution = <16>; - qcom,adc-vdd-reference = <1800>; - - chan@0 { - label = "internal_rsense"; - reg = <0>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <1>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - }; - - qcom,vadc@3400 { - compatible = "qcom,qpnp-adc-tm"; - reg = <0x3400 0x100>; - #address-cells = <1>; - #size-cells = <0>; - interrupts = <0x0 0x34 0x0>, - <0x0 0x34 0x3>, - <0x0 0x34 0x4>; - interrupt-names = "eoc-int-en-set", - "high-thr-en-set", - "low-thr-en-set"; - qcom,adc-bit-resolution = <15>; - qcom,adc-vdd-reference = <1800>; - - /* Channel Node */ - chan@b9 { - label = "usb_id"; - reg = <0xb9>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <3>; - qcom,btm-channel-number = <0x48>; - }; - - chan@30 { - label = "batt_therm"; - reg = <0x30>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <1>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <3>; - qcom,btm-channel-number = <0x68>; - }; - - chan@8 { - label = "die_temp"; - reg = <8>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <3>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <3>; - qcom,btm-channel-number = <0x70>; - }; - - chan@6 { - label = "vbat_sns"; - reg = <6>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <1>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <3>; - qcom,btm-channel-number = <0x78>; - }; - - chan@b5 { - label = "pa_therm0"; - reg = <0xb5>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <3>; - qcom,btm-channel-number = <0x80>; - qcom,thermal-node; - }; - - chan@b7 { - label = "pa_therm1"; - reg = <0xb7>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <3>; - qcom,btm-channel-number = <0x88>; - qcom,thermal-node; - }; - - chan@b4 { - label = "emmc_therm"; - reg = <0xb4>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <3>; - qcom,btm-channel-number = <0x90>; - qcom,thermal-node; - }; - - chan@b3 { - label = "msm_therm"; - reg = <0xb3>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <3>; - qcom,btm-channel-number = <0x98>; - qcom,thermal-node; - }; - }; - }; - - qcom,pm8941@1 { - spmi-slave-container; - reg = <0x1>; - #address-cells = <1>; - #size-cells = <1>; - - regulator@1400 { - regulator-name = "8941_s1"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x1400 0x300>; - status = "disabled"; - - qcom,ctl@1400 { - reg = <0x1400 0x100>; - }; - qcom,ps@1500 { - reg = <0x1500 0x100>; - }; - qcom,freq@1600 { - reg = <0x1600 0x100>; - }; - }; - - regulator@1700 { - regulator-name = "8941_s2"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x1700 0x300>; - status = "disabled"; - - qcom,ctl@1700 { - reg = <0x1700 0x100>; - }; - qcom,ps@1800 { - reg = <0x1800 0x100>; - }; - qcom,freq@1900 { - reg = <0x1900 0x100>; - }; - }; - - regulator@1a00 { - regulator-name = "8941_s3"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x1a00 0x300>; - status = "disabled"; - - qcom,ctl@1a00 { - reg = <0x1a00 0x100>; - }; - qcom,ps@1b00 { - reg = <0x1b00 0x100>; - }; - qcom,freq@1c00 { - reg = <0x1c00 0x100>; - }; - }; - - regulator@a000 { - regulator-name = "8941_boost"; - reg = <0xa000 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4000 { - regulator-name = "8941_l1"; - reg = <0x4000 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4100 { - regulator-name = "8941_l2"; - reg = <0x4100 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4200 { - regulator-name = "8941_l3"; - reg = <0x4200 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4300 { - regulator-name = "8941_l4"; - reg = <0x4300 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4400 { - regulator-name = "8941_l5"; - reg = <0x4400 0x100>; - compatible = "qcom,qpnp-regulator"; - qcom,force-type = <0x04 0x10>; - status = "disabled"; - }; - - regulator@4500 { - regulator-name = "8941_l6"; - reg = <0x4500 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4600 { - regulator-name = "8941_l7"; - reg = <0x4600 0x100>; - compatible = "qcom,qpnp-regulator"; - qcom,force-type = <0x04 0x10>; - status = "disabled"; - }; - - regulator@4700 { - regulator-name = "8941_l8"; - reg = <0x4700 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4800 { - regulator-name = "8941_l9"; - reg = <0x4800 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4900 { - regulator-name = "8941_l10"; - reg = <0x4900 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4a00 { - regulator-name = "8941_l11"; - reg = <0x4a00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4b00 { - regulator-name = "8941_l12"; - reg = <0x4b00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4c00 { - regulator-name = "8941_l13"; - reg = <0x4c00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4d00 { - regulator-name = "8941_l14"; - reg = <0x4d00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4e00 { - regulator-name = "8941_l15"; - reg = <0x4e00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4f00 { - regulator-name = "8941_l16"; - reg = <0x4f00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5000 { - regulator-name = "8941_l17"; - reg = <0x5000 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5100 { - regulator-name = "8941_l18"; - reg = <0x5100 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5200 { - regulator-name = "8941_l19"; - reg = <0x5200 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5300 { - regulator-name = "8941_l20"; - reg = <0x5300 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5400 { - regulator-name = "8941_l21"; - reg = <0x5400 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5500 { - regulator-name = "8941_l22"; - reg = <0x5500 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5600 { - regulator-name = "8941_l23"; - reg = <0x5600 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5700 { - regulator-name = "8941_l24"; - reg = <0x5700 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@8000 { - regulator-name = "8941_lvs1"; - reg = <0x8000 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@8100 { - regulator-name = "8941_lvs2"; - reg = <0x8100 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@8200 { - regulator-name = "8941_lvs3"; - reg = <0x8200 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@8300 { - regulator-name = "8941_mvs1"; - reg = <0x8300 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@8400 { - regulator-name = "8941_mvs2"; - reg = <0x8400 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - qcom,vibrator@c000 { - compatible = "qcom,qpnp-vibrator"; - reg = <0xc000 0x100>; - label = "vibrator"; - status = "disabled"; - }; - - qcom,leds@d000 { - compatible = "qcom,leds-qpnp"; - reg = <0xd000 0x100>; - label = "rgb"; - }; - - qcom,leds@d100 { - compatible = "qcom,leds-qpnp"; - reg = <0xd100 0x100>; - label = "rgb"; - }; - - qcom,leds@d200 { - compatible = "qcom,leds-qpnp"; - reg = <0xd200 0x100>; - label = "rgb"; - }; - - qcom,leds@d300 { - compatible = "qcom,leds-qpnp"; - reg = <0xd300 0x100>; - label = "flash"; - flash_boost-supply = <&pm8941_chg_boost>; - }; - - qcom,leds@d400 { - compatible = "qcom,leds-qpnp"; - reg = <0xd400 0x100>; - label = "flash"; - }; - - qcom,leds@d500 { - compatible = "qcom,leds-qpnp"; - reg = <0xd500 0x100>; - label = "flash"; - }; - - qcom,leds@d600 { - compatible = "qcom,leds-qpnp"; - reg = <0xd600 0x100>; - label = "flash"; - }; - - qcom,leds@d700 { - compatible = "qcom,leds-qpnp"; - reg = <0xd700 0x100>; - label = "flash"; - }; - - qcom,leds@d800 { - compatible = "qcom,leds-qpnp"; - reg = <0xd800 0x100>; - label = "wled"; - }; - - qcom,leds@d900 { - compatible = "qcom,leds-qpnp"; - reg = <0xd900 0x100>; - label = "wled"; - }; - - qcom,leds@da00 { - compatible = "qcom,leds-qpnp"; - reg = <0xda00 0x100>; - label = "wled"; - }; - - qcom,leds@db00 { - compatible = "qcom,leds-qpnp"; - reg = <0xdb00 0x100>; - label = "wled"; - }; - - qcom,leds@dc00 { - compatible = "qcom,leds-qpnp"; - reg = <0xdc00 0x100>; - label = "wled"; - }; - - qcom,leds@dd00 { - compatible = "qcom,leds-qpnp"; - reg = <0xdd00 0x100>; - label = "wled"; - }; - - qcom,leds@de00 { - compatible = "qcom,leds-qpnp"; - reg = <0xde00 0x100>; - label = "wled"; - }; - - qcom,leds@df00 { - compatible = "qcom,leds-qpnp"; - reg = <0xdf00 0x100>; - label = "wled"; - }; - - qcom,leds@e000 { - compatible = "qcom,leds-qpnp"; - reg = <0xe000 0x100>; - label = "wled"; - }; - - qcom,leds@e100 { - compatible = "qcom,leds-qpnp"; - reg = <0xe100 0x100>; - label = "wled"; - }; - - pwm@b100 { - compatible = "qcom,qpnp-pwm"; - reg = <0xb100 0x100>, - <0xb042 0x7e>; - reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base"; - qcom,channel-id = <0>; - }; - - pwm@b200 { - compatible = "qcom,qpnp-pwm"; - reg = <0xb200 0x100>, - <0xb042 0x7e>; - reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base"; - qcom,channel-id = <1>; - }; - - pwm@b300 { - compatible = "qcom,qpnp-pwm"; - reg = <0xb300 0x100>, - <0xb042 0x7e>; - reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base"; - qcom,channel-id = <2>; - }; - - pwm@b400 { - compatible = "qcom,qpnp-pwm"; - reg = <0xb400 0x100>, - <0xb042 0x7e>; - reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base"; - qcom,channel-id = <3>; - }; - - pwm@b500 { - compatible = "qcom,qpnp-pwm"; - reg = <0xb500 0x100>, - <0xb042 0x7e>; - reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base"; - qcom,channel-id = <4>; - }; - - pwm@b600 { - compatible = "qcom,qpnp-pwm"; - reg = <0xb600 0x100>, - <0xb042 0x7e>; - reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base"; - qcom,channel-id = <5>; - }; - - pwm@b700 { - compatible = "qcom,qpnp-pwm"; - reg = <0xb700 0x100>, - <0xb042 0x7e>; - reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base"; - qcom,channel-id = <6>; - }; - - pwm@b800 { - compatible = "qcom,qpnp-pwm"; - reg = <0xb800 0x100>, - <0xb042 0x7e>; - reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base"; - qcom,channel-id = <7>; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm-pm8x41-rpm-regulator.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm-pm8x41-rpm-regulator.dtsi deleted file mode 100644 index 6e67dd85c..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm-pm8x41-rpm-regulator.dtsi +++ /dev/null @@ -1,585 +0,0 @@ -/* Copyright (c) 2012, 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. - */ - -&rpm_bus { - rpm-regulator-smpb1 { - qcom,resource-name = "smpb"; - qcom,resource-id = <1>; - qcom,regulator-type = <1>; - qcom,hpm-min-load = <100000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-s1 { - regulator-name = "8841_s1"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-smpb2 { - qcom,resource-name = "smpb"; - qcom,resource-id = <2>; - qcom,regulator-type = <1>; - qcom,hpm-min-load = <100000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-s2 { - regulator-name = "8841_s2"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-smpb3 { - qcom,resource-name = "smpb"; - qcom,resource-id = <3>; - qcom,regulator-type = <1>; - qcom,hpm-min-load = <100000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-s3 { - regulator-name = "8841_s3"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-smpb4 { - qcom,resource-name = "smpb"; - qcom,resource-id = <4>; - qcom,regulator-type = <1>; - qcom,hpm-min-load = <100000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-s4 { - regulator-name = "8841_s4"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-smpa1 { - qcom,resource-name = "smpa"; - qcom,resource-id = <1>; - qcom,regulator-type = <1>; - qcom,hpm-min-load = <100000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-s1 { - regulator-name = "8941_s1"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-smpa2 { - qcom,resource-name = "smpa"; - qcom,resource-id = <2>; - qcom,regulator-type = <1>; - qcom,hpm-min-load = <100000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-s2 { - regulator-name = "8941_s2"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-smpa3 { - qcom,resource-name = "smpa"; - qcom,resource-id = <3>; - qcom,regulator-type = <1>; - qcom,hpm-min-load = <100000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-s3 { - regulator-name = "8941_s3"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa1 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <1>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l1 { - regulator-name = "8941_l1"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa2 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <2>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l2 { - regulator-name = "8941_l2"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa3 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <3>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l3 { - regulator-name = "8941_l3"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa4 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <4>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l4 { - regulator-name = "8941_l4"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa5 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <5>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l5 { - regulator-name = "8941_l5"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa6 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <6>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l6 { - regulator-name = "8941_l6"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa7 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <7>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l7 { - regulator-name = "8941_l7"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa8 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <8>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l8 { - regulator-name = "8941_l8"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa9 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <9>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l9 { - regulator-name = "8941_l9"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa10 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <10>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l10 { - regulator-name = "8941_l10"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa11 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <11>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l11 { - regulator-name = "8941_l11"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa12 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <12>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l12 { - regulator-name = "8941_l12"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa13 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <13>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l13 { - regulator-name = "8941_l13"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa14 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <14>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l14 { - regulator-name = "8941_l14"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa15 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <15>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l15 { - regulator-name = "8941_l15"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa16 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <16>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l16 { - regulator-name = "8941_l16"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa17 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <17>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l17 { - regulator-name = "8941_l17"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa18 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <18>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l18 { - regulator-name = "8941_l18"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa19 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <19>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l19 { - regulator-name = "8941_l19"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa20 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <20>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l20 { - regulator-name = "8941_l20"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa21 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <21>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l21 { - regulator-name = "8941_l21"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa22 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <22>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l22 { - regulator-name = "8941_l22"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa23 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <23>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l23 { - regulator-name = "8941_l23"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa24 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <24>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l24 { - regulator-name = "8941_l24"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - /* TODO: find out correct resource names for LVS vs MVS */ - rpm-regulator-vsa1 { - qcom,resource-name = "vsa"; - qcom,resource-id = <1>; - qcom,regulator-type = <2>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-lvs1 { - regulator-name = "8941_lvs1"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-vsa2 { - qcom,resource-name = "vsa"; - qcom,resource-id = <2>; - qcom,regulator-type = <2>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-lvs2 { - regulator-name = "8941_lvs2"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-vsa3 { - qcom,resource-name = "vsa"; - qcom,resource-id = <3>; - qcom,regulator-type = <2>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-lvs3 { - regulator-name = "8941_lvs3"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-vsa4 { - qcom,resource-name = "vsa"; - qcom,resource-id = <4>; - qcom,regulator-type = <2>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-mvs1 { - regulator-name = "8941_mvs1"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-vsa5 { - qcom,resource-name = "vsa"; - qcom,resource-id = <5>; - qcom,regulator-type = <2>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-mvs2 { - regulator-name = "8941_mvs2"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm-pma8084.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm-pma8084.dtsi deleted file mode 100644 index 30525aac0..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm-pma8084.dtsi +++ /dev/null @@ -1,666 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&spmi_bus { - #address-cells = <1>; - #size-cells = <0>; - interrupt-controller; - #interrupt-cells = <3>; - - qcom,pma8084@0 { - spmi-slave-container; - reg = <0x0>; - #address-cells = <1>; - #size-cells = <1>; - - pma8084_gpios: gpios { - spmi-dev-container; - compatible = "qcom,qpnp-pin"; - gpio-controller; - #gpio-cells = <2>; - #address-cells = <1>; - #size-cells = <1>; - label = "pma8084-gpio"; - - gpio@c000 { - reg = <0xc000 0x100>; - qcom,pin-num = <1>; - }; - - gpio@c100 { - reg = <0xc100 0x100>; - qcom,pin-num = <2>; - }; - - gpio@c200 { - reg = <0xc200 0x100>; - qcom,pin-num = <3>; - }; - - gpio@c300 { - reg = <0xc300 0x100>; - qcom,pin-num = <4>; - }; - - gpio@c400 { - reg = <0xc400 0x100>; - qcom,pin-num = <5>; - }; - - gpio@c500 { - reg = <0xc500 0x100>; - qcom,pin-num = <6>; - }; - - gpio@c600 { - reg = <0xc600 0x100>; - qcom,pin-num = <7>; - }; - - gpio@c700 { - reg = <0xc700 0x100>; - qcom,pin-num = <8>; - }; - - gpio@c800 { - reg = <0xc800 0x100>; - qcom,pin-num = <9>; - }; - - gpio@c900 { - reg = <0xc900 0x100>; - qcom,pin-num = <10>; - }; - - gpio@ca00 { - reg = <0xca00 0x100>; - qcom,pin-num = <11>; - }; - - gpio@cb00 { - reg = <0xcb00 0x100>; - qcom,pin-num = <12>; - }; - - gpio@cc00 { - reg = <0xcc00 0x100>; - qcom,pin-num = <13>; - }; - - gpio@cd00 { - reg = <0xcd00 0x100>; - qcom,pin-num = <14>; - }; - - gpio@ce00 { - reg = <0xce00 0x100>; - qcom,pin-num = <15>; - }; - - gpio@cf00 { - reg = <0xcf00 0x100>; - qcom,pin-num = <16>; - }; - - gpio@d000 { - reg = <0xd000 0x100>; - qcom,pin-num = <17>; - }; - - gpio@d100 { - reg = <0xd100 0x100>; - qcom,pin-num = <18>; - }; - - gpio@d200 { - reg = <0xd200 0x100>; - qcom,pin-num = <19>; - }; - - gpio@d300 { - reg = <0xd300 0x100>; - qcom,pin-num = <20>; - }; - - gpio@d400 { - reg = <0xd400 0x100>; - qcom,pin-num = <21>; - }; - - gpio@d500 { - reg = <0xd500 0x100>; - qcom,pin-num = <22>; - }; - }; - - pma8084_mpps: mpps { - spmi-dev-container; - compatible = "qcom,qpnp-pin"; - gpio-controller; - #gpio-cells = <2>; - #address-cells = <1>; - #size-cells = <1>; - label = "pma8084-mpp"; - - mpp@a000 { - reg = <0xa000 0x100>; - qcom,pin-num = <1>; - }; - - mpp@a100 { - reg = <0xa100 0x100>; - qcom,pin-num = <2>; - }; - - mpp@a200 { - reg = <0xa200 0x100>; - qcom,pin-num = <3>; - }; - - mpp@a300 { - reg = <0xa300 0x100>; - qcom,pin-num = <4>; - }; - - mpp@a400 { - reg = <0xa400 0x100>; - qcom,pin-num = <5>; - }; - - mpp@a500 { - reg = <0xa500 0x100>; - qcom,pin-num = <6>; - }; - - mpp@a600 { - reg = <0xa600 0x100>; - qcom,pin-num = <7>; - }; - - mpp@a700 { - reg = <0xa700 0x100>; - qcom,pin-num = <8>; - }; - }; - }; - - qcom,pma8084@1 { - spmi-slave-container; - reg = <0x1>; - #address-cells = <1>; - #size-cells = <1>; - - regulator@1400 { - regulator-name = "8084_s1"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x1400 0x300>; - status = "disabled"; - - qcom,ctl@1400 { - reg = <0x1400 0x100>; - }; - qcom,ps@1500 { - reg = <0x1500 0x100>; - }; - qcom,freq@1600 { - reg = <0x1600 0x100>; - }; - }; - - regulator@1700 { - regulator-name = "8084_s2"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x1700 0x300>; - status = "disabled"; - - qcom,ctl@1700 { - reg = <0x1700 0x100>; - }; - qcom,ps@1800 { - reg = <0x1800 0x100>; - }; - qcom,freq@1900 { - reg = <0x1900 0x100>; - }; - }; - - regulator@1a00 { - regulator-name = "8084_s3"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x1a00 0x300>; - status = "disabled"; - - qcom,ctl@1a00 { - reg = <0x1a00 0x100>; - }; - qcom,ps@1b00 { - reg = <0x1b00 0x100>; - }; - qcom,freq@1c00 { - reg = <0x1c00 0x100>; - }; - }; - - regulator@1d00 { - regulator-name = "8084_s4"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x1d00 0x300>; - status = "disabled"; - - qcom,ctl@1d00 { - reg = <0x1d00 0x100>; - }; - qcom,ps@1e00 { - reg = <0x1e00 0x100>; - }; - qcom,freq@1f00 { - reg = <0x1f00 0x100>; - }; - }; - - regulator@2000 { - regulator-name = "8084_s5"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x2000 0x300>; - status = "disabled"; - - qcom,ctl@2000 { - reg = <0x2000 0x100>; - }; - qcom,ps@2100 { - reg = <0x2100 0x100>; - }; - qcom,freq@2200 { - reg = <0x2200 0x100>; - }; - }; - - regulator@2300 { - regulator-name = "8084_s6"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x2300 0x300>; - status = "disabled"; - - qcom,ctl@2300 { - reg = <0x2300 0x100>; - }; - qcom,ps@2400 { - reg = <0x2400 0x100>; - }; - qcom,freq@2500 { - reg = <0x2500 0x100>; - }; - }; - - regulator@2600 { - regulator-name = "8084_s7"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x2600 0x300>; - status = "disabled"; - - qcom,ctl@2600 { - reg = <0x2600 0x100>; - }; - qcom,ps@2700 { - reg = <0x2700 0x100>; - }; - qcom,freq@2800 { - reg = <0x2800 0x100>; - }; - }; - - regulator@2900 { - regulator-name = "8084_s8"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x2900 0x300>; - status = "disabled"; - - qcom,ctl@2900 { - reg = <0x2900 0x100>; - }; - qcom,ps@2a00 { - reg = <0x2a00 0x100>; - }; - qcom,freq@2b00 { - reg = <0x2b00 0x100>; - }; - }; - - regulator@2c00 { - regulator-name = "8084_s9"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x2c00 0x300>; - status = "disabled"; - - qcom,ctl@2c00 { - reg = <0x2c00 0x100>; - }; - qcom,ps@2d00 { - reg = <0x2d00 0x100>; - }; - qcom,freq@2e00 { - reg = <0x2e00 0x100>; - }; - }; - - regulator@2f00 { - regulator-name = "8084_s10"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x2f00 0x300>; - status = "disabled"; - - qcom,ctl@2f00 { - reg = <0x2f00 0x100>; - }; - qcom,ps@3000 { - reg = <0x3000 0x100>; - }; - qcom,freq@3100 { - reg = <0x3100 0x100>; - }; - }; - - regulator@3200 { - regulator-name = "8084_s11"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x3200 0x300>; - status = "disabled"; - - qcom,ctl@3200 { - reg = <0x3200 0x100>; - }; - qcom,ps@3300 { - reg = <0x3300 0x100>; - }; - qcom,freq@3400 { - reg = <0x3400 0x100>; - }; - }; - - regulator@3500 { - regulator-name = "8084_s12"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x3500 0x300>; - status = "disabled"; - - qcom,ctl@3500 { - reg = <0x3500 0x100>; - }; - qcom,ps@3600 { - reg = <0x3600 0x100>; - }; - qcom,freq@3700 { - reg = <0x3700 0x100>; - }; - }; - - regulator@4000 { - regulator-name = "8084_l1"; - reg = <0x4000 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4100 { - regulator-name = "8084_l2"; - reg = <0x4100 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4200 { - regulator-name = "8084_l3"; - reg = <0x4200 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4300 { - regulator-name = "8084_l4"; - reg = <0x4300 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4400 { - regulator-name = "8084_l5"; - reg = <0x4400 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4500 { - regulator-name = "8084_l6"; - reg = <0x4500 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4600 { - regulator-name = "8084_l7"; - reg = <0x4600 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4700 { - regulator-name = "8084_l8"; - reg = <0x4700 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4800 { - regulator-name = "8084_l9"; - reg = <0x4800 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4900 { - regulator-name = "8084_l10"; - reg = <0x4900 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4a00 { - regulator-name = "8084_l11"; - reg = <0x4a00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4b00 { - regulator-name = "8084_l12"; - reg = <0x4b00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4c00 { - regulator-name = "8084_l13"; - reg = <0x4c00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4d00 { - regulator-name = "8084_l14"; - reg = <0x4d00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4e00 { - regulator-name = "8084_l15"; - reg = <0x4e00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4f00 { - regulator-name = "8084_l16"; - reg = <0x4f00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5000 { - regulator-name = "8084_l17"; - reg = <0x5000 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5100 { - regulator-name = "8084_l18"; - reg = <0x5100 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5200 { - regulator-name = "8084_l19"; - reg = <0x5200 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5300 { - regulator-name = "8084_l20"; - reg = <0x5300 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5400 { - regulator-name = "8084_l21"; - reg = <0x5400 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5500 { - regulator-name = "8084_l22"; - reg = <0x5500 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5600 { - regulator-name = "8084_l23"; - reg = <0x5600 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5700 { - regulator-name = "8084_l24"; - reg = <0x5700 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5800 { - regulator-name = "8084_l25"; - reg = <0x5800 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5900 { - regulator-name = "8084_l26"; - reg = <0x5900 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5a00 { - regulator-name = "8084_l27"; - reg = <0x5a00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@8000 { - regulator-name = "8084_lvs1"; - reg = <0x8000 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@8100 { - regulator-name = "8084_lvs2"; - reg = <0x8100 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@8200 { - regulator-name = "8084_lvs3"; - reg = <0x8200 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@8300 { - regulator-name = "8084_lvs4"; - reg = <0x8300 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@8400 { - regulator-name = "8084_mvs1"; - reg = <0x8400 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8226-bus.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8226-bus.dtsi deleted file mode 100644 index d87aa3ea5..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8226-bus.dtsi +++ /dev/null @@ -1,1128 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -&soc { - msm-mmss-noc@fc478000 { - compatible = "msm-bus-fabric"; - reg = <0xfc478000 0x00004000>; - cell-id = <2048>; - label = "msm_mmss_noc"; - qcom,fabclk-dual = "bus_clk"; - qcom,fabclk-active = "bus_a_clk"; - qcom,ntieredslaves = <0>; - qcom,qos-freq = <4800>; - qcom,hw-sel = "NoC"; - qcom,rpm-en; - - mas-gfx3d { - cell-id = <26>; - label = "mas-gfx3d"; - qcom,masterp = <2>; - qcom,tier = <2>; - qcom,hw-sel = "NoC"; - qcom,perm-mode = "Bypass"; - qcom,mode = "Bypass"; - qcom,ws = <10000>; - qcom,qport = <2>; - qcom,mas-hw-id = <6>; - }; - - mas-jpeg { - cell-id = <62>; - label = "mas-jpeg"; - qcom,masterp = <4>; - qcom,tier = <2>; - qcom,hw-sel = "NoC"; - qcom,perm-mode = "Bypass"; - qcom,mode = "Bypass"; - qcom,qport = <0>; - qcom,ws = <10000>; - qcom,mas-hw-id = <7>; - }; - - mas-mdp-port0 { - cell-id = <22>; - label = "mas-mdp-port0"; - qcom,masterp = <5>; - qcom,tier = <2>; - qcom,hw-sel = "NoC"; - qcom,perm-mode = "Bypass"; - qcom,mode = "Bypass"; - qcom,qport = <1>; - qcom,ws = <10000>; - qcom,mas-hw-id = <8>; - }; - - mas-video-p0 { - cell-id = <63>; - label = "mas-video-p0"; - qcom,masterp = <6>; - qcom,tier = <2>; - qcom,hw-sel = "NoC"; - qcom,perm-mode = "Bypass"; - qcom,mode = "Bypass"; - qcom,ws = <10000>; - qcom,qport = <4>; - qcom,mas-hw-id = <9>; - }; - - mas-vfe { - cell-id = <29>; - label = "mas-vfe"; - qcom,masterp = <16>; - qcom,tier = <2>; - qcom,hw-sel = "NoC"; - qcom,perm-mode = "Bypass"; - qcom,mode = "Bypass"; - qcom,ws = <10000>; - qcom,qport = <6>; - qcom,mas-hw-id = <11>; - }; - - fab-cnoc { - cell-id = <5120>; - label = "fab-cnoc"; - qcom,gateway; - qcom,masterp = <0 1>; - qcom,buswidth = <16>; - qcom,hw-sel = "RPM"; - qcom,mas-hw-id = <4>; - }; - - fab-bimc { - cell-id = <0>; - label = "fab-bimc"; - qcom,gateway; - qcom,slavep = <16>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <16>; - }; - - slv-camera-cfg { - cell-id = <589>; - label = "slv-camera-cfg"; - qcom,slavep = <0>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <3>; - }; - - slv-display-cfg { - cell-id = <590>; - label = "slv-display-cfg"; - qcom,slavep = <1>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <4>; - }; - - slv-ocmem-cfg { - cell-id = <591>; - label = "slv-ocmem-cfg"; - qcom,slavep = <2>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <5>; - }; - - slv-cpr-cfg { - cell-id = <592>; - label = "slv-cpr-cfg"; - qcom,slavep = <3>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <6>; - }; - - slv-cpr-xpu-cfg { - cell-id = <593>; - label = "slv-cpr-xpu-cfg"; - qcom,slavep = <4>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <7>; - }; - - slv-misc-cfg { - cell-id = <594>; - label = "slv-misc-cfg"; - qcom,slavep = <6>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <8>; - }; - - slv-misc-xpu-cfg { - cell-id = <595>; - label = "slv-misc-xpu-cfg"; - qcom,slavep = <7>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <9>; - }; - - slv-venus-cfg { - cell-id = <596>; - label = "slv-venus-cfg"; - qcom,slavep = <8>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <10>; - }; - - slv-gfx3d-cfg { - cell-id = <598>; - label = "slv-gfx3d-cfg"; - qcom,slavep = <9>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <11>; - }; - - slv-mmss-clk-cfg { - cell-id = <599>; - label = "slv-mmss-clk-cfg"; - qcom,slavep = <11>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <12>; - }; - - slv-mmss-clk-xpu-cfg { - cell-id = <600>; - label = "slv-mmss-clk-xpu-cfg"; - qcom,slavep = <12>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <13>; - }; - - slv-mnoc-mpu-cfg { - cell-id = <601>; - label = "slv-mnoc-mpu-cfg"; - qcom,slavep = <13>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <14>; - }; - - slv-onoc-mpu-cfg { - cell-id = <602>; - label = "slv-onoc-mpu-cfg"; - qcom,slavep = <14>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <15>; - }; - - slv-service-mnoc { - cell-id = <603>; - label = "slv-service-mnoc"; - qcom,slavep = <18>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <17>; - }; - - }; - - msm-sys-noc@fc460000 { - compatible = "msm-bus-fabric"; - reg = <0xfc460000 0x00004000>; - cell-id = <1024>; - label = "msm_sys_noc"; - qcom,fabclk-dual = "bus_clk"; - qcom,fabclk-active = "bus_a_clk"; - qcom,ntieredslaves = <0>; - qcom,qos-freq = <4800>; - qcom,hw-sel = "NoC"; - qcom,rpm-en; - - mas-lpass-ahb { - cell-id = <52>; - label = "mas-lpass-ahb"; - qcom,masterp = <0>; - qcom,tier = <2>; - qcom,qport = <0>; - qcom,mas-hw-id = <18>; - qcom,mode = "Fixed"; - qcom,prio-rd = <2>; - qcom,prio-wr = <2>; - }; - - mas-qdss-bam { - cell-id = <53>; - label = "mas-qdss-bam"; - qcom,masterp = <1>; - qcom,tier = <2>; - qcom,mode = "Fixed"; - qcom,qport = <1>; - qcom,mas-hw-id = <19>; - }; - - mas-snoc-cfg { - cell-id = <54>; - label = "mas-snoc-cfg"; - qcom,masterp = <2>; - qcom,tier = <2>; - qcom,mas-hw-id = <20>; - }; - - fab-bimc { - cell-id = <0>; - label= "fab-bimc"; - qcom,gateway; - qcom,slavep = <7>; - qcom,masterp = <3>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <21>; - qcom,slv-hw-id = <24>; - }; - - fab-cnoc { - cell-id = <5120>; - label = "fab-cnoc"; - qcom,gateway; - qcom,slavep = <8>; - qcom,masterp = <4>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <22>; - qcom,slv-hw-id = <25>; - }; - - fab-pnoc { - cell-id = <4096>; - label = "fab-pnoc"; - qcom,gateway; - qcom,slavep = <10>; - qcom,masterp = <10>; - qcom,buswidth = <8>; - qcom,qport = <8>; - qcom,mas-hw-id = <29>; - qcom,slv-hw-id = <28>; - qcom,mode = "Fixed"; - qcom,prio-rd = <2>; - qcom,prio-wr = <2>; - }; - - fab-ovnoc { - cell-id = <6144>; - label = "fab-ovnoc"; - qcom,gateway; - qcom,buswidth = <8>; - qcom,mas-hw-id = <53>; - qcom,slv-hw-id = <77>; - }; - - mas-crypto-core0 { - cell-id = <55>; - label = "mas-crypto-core0"; - qcom,masterp = <5>; - qcom,tier = <2>; - qcom,mode = "Fixed"; -/* qcom,qport = <2>;*/ - qcom,mas-hw-id = <23>; - qcom,hw-sel = "NoC"; - qcom,prio-rd = <1>; - qcom,prio-wr = <1>; - }; - - mas-lpass-proc { - cell-id = <11>; - label = "mas-lpass-proc"; - qcom,masterp = <6>; - qcom,tier = <2>; - qcom,qport = <4>; - qcom,mas-hw-id = <25>; - qcom,mode = "Fixed"; - qcom,prio-rd = <2>; - qcom,prio-wr = <2>; - }; - - mas-mss { - cell-id = <38>; - label = "mas-mss"; - qcom,masterp = <7>; - qcom,tier = <2>; - qcom,mas-hw-id = <26>; - }; - - mas-mss-nav { - cell-id = <57>; - label = "mas-mss-nav"; - qcom,masterp = <8>; - qcom,tier = <2>; - qcom,mas-hw-id = <27>; - }; - - mas-ocmem-dma { - cell-id = <58>; - label = "mas-ocmem-dma"; - qcom,masterp = <9>; - qcom,tier = <2>; - qcom,mode = "Fixed"; - qcom,qport = <7>; - qcom,mas-hw-id = <28>; - }; - - mas-wcss { - cell-id = <59>; - label = "mas-wcss"; - qcom,masterp = <11>; - qcom,tier = <2>; - qcom,mas-hw-id = <30>; - }; - - mas-qdss-etr { - cell-id = <60>; - label = "mas-qdss-etr"; - qcom,masterp = <12>; - qcom,tier = <2>; - qcom,qport = <10>; - qcom,mode = "Fixed"; - qcom,mas-hw-id = <31>; - }; - - slv-ampss { - cell-id = <520>; - label = "slv-ampss"; - qcom,slavep = <1>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <20>; - }; - - slv-lpass { - cell-id = <522>; - label = "slv-lpass"; - qcom,slavep = <2>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <21>; - }; - - slv-wcss { - cell-id = <584>; - label = "slv-wcss"; - qcom,slavep = <6>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <23>; - }; - - slv-ocimem { - cell-id = <585>; - label = "slv-ocimem"; - qcom,slavep = <9>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <26>; - }; - - slv-service-snoc { - cell-id = <587>; - label = "slv-service-snoc"; - qcom,slavep = <11>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <29>; - }; - - slv-qdss-stm { - cell-id = <588>; - label = "slv-qdss-stm"; - qcom,slavep = <12>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <30>; - }; - - }; - - msm-periph-noc@fc468000 { - compatible = "msm-bus-fabric"; - reg = <0xfc468000 0x00004000>; - cell-id = <4096>; - label = "msm_periph_noc"; - qcom,fabclk-dual = "bus_clk"; - qcom,fabclk-active = "bus_a_clk"; - qcom,ntieredslaves = <0>; - qcom,hw-sel = "NoC"; - qcom,rpm-en; - - mas-pnoc-cfg { - cell-id = <88>; - label = "mas-pnoc-cfg"; - qcom,masterp = <7>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <43>; - }; - - mas-sdcc-1 { - cell-id = <78>; - label = "mas-sdcc-1"; - qcom,masterp = <0>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <33>; - }; - - mas-sdcc-3 { - cell-id = <79>; - label = "mas-sdcc-3"; - qcom,masterp = <1>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <34>; - }; - - mas-sdcc-2 { - cell-id = <81>; - label = "mas-sdcc-2"; - qcom,masterp = <2>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <35>; - }; - - mas-bam-dma { - cell-id = <83>; - label = "mas-bam-dma"; - qcom,masterp = <3>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <38>; - }; - - mas-usb-hsic { - cell-id = <85>; - label = "mas-usb-hsic"; - qcom,masterp = <4>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <40>; - }; - - mas-blsp-1 { - cell-id = <86>; - label = "mas-blsp-1"; - qcom,masterp = <5>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <41>; - }; - - mas-usb-hs { - cell-id = <87>; - label = "mas-usb-hs"; - qcom,masterp = <6>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <42>; - }; - - fab-snoc { - cell-id = <1024>; - label = "fab-snoc"; - qcom,gateway; - qcom,slavep = <12>; - qcom,masterp = <8>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <45>; - qcom,mas-hw-id = <44>; - }; - - slv-sdcc-1 { - cell-id = <606>; - label = "slv-sdcc-1"; - qcom,slavep = <0>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <31>; - }; - - slv-sdcc-3 { - cell-id = <607>; - label = "slv-sdcc-3"; - qcom,slavep = <1>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <32>; - }; - - slv-sdcc-2 { - cell-id = <608>; - label = "slv-sdcc-2"; - qcom,slavep = <2>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <33>; - }; - - slv-bam-dma { - cell-id = <610>; - label = "slv-bam-dma"; - qcom,slavep = <3>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <36>; - }; - - slv-usb-hsic { - cell-id = <612>; - label = "slv-usb-hsic"; - qcom,slavep = <4>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <38>; - }; - - slv-blsp-1 { - cell-id = <613>; - label = "slv-blsp-1"; - qcom,slavep = <5>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <39>; - }; - - slv-usb-hs { - cell-id = <614>; - label = "slv-usb-hs"; - qcom,slavep = <6>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <40>; - }; - - slv-pdm { - cell-id = <615>; - label = "slv-pdm"; - qcom,slavep = <7>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <41>; - }; - - slv-periph-apu-cfg { - cell-id = <616>; - label = "slv-periph-apu-cfg"; - qcom,slavep = <8>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <42>; - }; - - slv-pnoc-mpu-cfg { - cell-id = <617>; - label = "slv-pnoc-mpu-cfg"; - qcom,slavep = <9>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <43>; - }; - - slv-prng { - cell-id = <618>; - label = "slv-prng"; - qcom,slavep = <10>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <44>; - }; - - slv-service-pnoc { - cell-id = <619>; - label = "slv-service-pnoc"; - qcom,slavep = <12>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <46>; - }; - - }; - - msm-config-noc@fc480000 { - compatible = "msm-bus-fabric"; - reg = <0xfc480000 0x00004000>; - cell-id = <5120>; - label = "msm_config_noc"; - qcom,fabclk-dual = "bus_clk"; - qcom,fabclk-active = "bus_a_clk"; - qcom,ntieredslaves = <0>; - qcom,hw-sel = "NoC"; - qcom,rpm-en; - - mas-rpm-inst { - cell-id = <72>; - label = "mas-rpm-inst"; - qcom,masterp = <0>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <45>; - }; - - mas-rpm-data { - cell-id = <73>; - label = "mas-rpm-data"; - qcom,masterp = <1>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <46>; - }; - - mas-rpm-sys { - cell-id = <74>; - label = "mas-rpm-sys"; - qcom,masterp = <2>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <47>; - }; - - mas-dehr { - cell-id = <75>; - label = "mas-dehr"; - qcom,masterp = <3>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <48>; - }; - - mas-qdss-dsp { - cell-id = <76>; - label = "mas-qdss-dap"; - qcom,masterp = <4>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <49>; - }; - - mas-spdm { - cell-id = <36>; - label = "mas-spdm"; - qcom,masterp = <5>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <50>; - }; - - mas-tic { - cell-id = <77>; - label = "mas-tic"; - qcom,masterp = <6>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <51>; - }; - - slv-clk-ctl { - cell-id = <620>; - label = "slv-clk-ctl"; - qcom,slavep = <1>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <47>; - }; - - slv-cnoc-mss { - cell-id = <621>; - label = "slv-cnoc-mss"; - qcom,slavep = <2>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <48>; - }; - - slv-security { - cell-id = <622>; - label = "slv-security"; - qcom,slavep = <3>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <49>; - }; - - slv-tcsr { - cell-id = <623>; - label = "slv-tcsr"; - qcom,slavep = <4>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <50>; - }; - - slv-tlmm { - cell-id = <624>; - label = "slv-tlmm"; - qcom,slavep = <5>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <51>; - }; - - slv-crypto-0-cfg { - cell-id = <625>; - label = "slv-crypto-0-cfg"; - qcom,slavep = <6>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <52>; - }; - - slv-imem-cfg { - cell-id = <627>; - label = "slv-imem-cfg"; - qcom,slavep = <7>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <54>; - }; - - slv-message-ram { - cell-id = <628>; - label = "slv-message-ram"; - qcom,slavep = <8>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <55>; - }; - - slv-bimc-cfg { - cell-id = <629>; - label = "slv-bimc-cfg"; - qcom,slavep = <9>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <56>; - }; - - slv-boot-rom { - cell-id = <630>; - label = "slv-boot-rom"; - qcom,slavep = <10>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <57>; - }; - - slv-pmic-arb { - cell-id = <632>; - label = "slv-pmic-arb"; - qcom,slavep = <12>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <59>; - }; - - slv-spdm-wrapper { - cell-id = <633>; - label = "slv-spdm-wrapper"; - qcom,slavep = <13>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <60>; - }; - - slv-dehr-cfg { - cell-id = <634>; - label = "slv-dehr-cfg"; - qcom,slavep = <14>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <61>; - }; - - slv-mpm { - cell-id = <536>; - label = "slv-mpm"; - qcom,slavep = <15>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <62>; - }; - - slv-qdss-cfg { - cell-id = <635>; - label = "slv-qdss-cfg"; - qcom,slavep = <16>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <63>; - }; - - slv-rbcpr-cfg { - cell-id = <636>; - label = "slv-rbcpr-cfg"; - qcom,slavep = <17>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <64>; - }; - - slv-rbcpr-qdss-apu-cfg { - cell-id = <637>; - label = "slv-rbcpr-qdss-apu-cfg"; - qcom,slavep = <18>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <65>; - }; - - fab-snoc { - cell-id = <1024>; - label = "fab-snoc"; - qcom,gateway; - qcom,slavep = <26>; - qcom,masterp = <7>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <52>; - qcom,slv-hw-id = <75>; - }; - - slv-cnoc-mnoc-mmss-cfg { - cell-id = <631>; - label = "slv-cnoc-mnoc-mmss-cfg"; - qcom,slavep = <11>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <58>; - }; - - slv-cnoc-mnoc-cfg { - cell-id = <640>; - label = "slv-cnoc-mnoc-cfg"; - qcom,slavep = <19>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <66>; - }; - - slv-pnoc-cfg { - cell-id = <641>; - label = "slv-pnoc-cfg"; - qcom,slavep = <21>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <69>; - }; - - slv-snoc-mpu-cfg { - cell-id = <638>; - label = "slv-snoc-mpu-cfg"; - qcom,slavep = <20>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <67>; - }; - - slv-snoc-cfg { - cell-id = <642>; - label = "slv-snoc-cfg"; - qcom,slavep = <22>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <70>; - }; - - slv-phy-apu-cfg { - cell-id = <644>; - label = "slv-phy-apu-cfg"; - qcom,slavep = <23>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <72>; - }; - - slv-ebi1-phy-cfg { - cell-id = <645>; - label = "slv-ebi1-phy-cfg"; - qcom,slavep = <24>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <73>; - }; - - slv-rpm { - cell-id = <534>; - label = "slv-rpm"; - qcom,slavep = <25>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <74>; - }; - - slv-service-cnoc { - cell-id = <646>; - label = "slv-service-cnoc"; - qcom,slavep = <27>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <76>; - }; - - }; - - msm-bimc@0xfc380000 { - compatible = "msm-bus-fabric"; - reg = <0xfc380000 0x0006A000>; - cell-id = <0>; - label = "msm_bimc"; - qcom,fabclk-dual = "mem_clk"; - qcom,fabclk-active = "mem_a_clk"; - qcom,ntieredslaves = <0>; - qcom,qos-freq = <4800>; - qcom,hw-sel = "BIMC"; - qcom,rpm-en; - - mas-ampss-m0 { - cell-id = <1>; - label = "mas-ampss-m0"; - qcom,masterp = <0>; - qcom,tier = <2>; - qcom,hw-sel = "BIMC"; - qcom,mode = "Fixed"; - qcom,qport = <0>; - qcom,ws = <10000>; - qcom,mas-hw-id = <0>; - qcom,prio-rd = <0>; - qcom,prio-wr = <0>; - }; - - mas-mss-proc { - cell-id = <65>; - label = "mas-mss-proc"; - qcom,masterp = <1>; - qcom,tier = <2>; - qcom,hw-sel = "RPM"; - qcom,mas-hw-id = <1>; - }; - - fab-mmss-noc { - cell-id = <2048>; - label = "fab_mmss_noc"; - qcom,gateway; - qcom,masterp = <2>; - qcom,qport = <2>; - qcom,buswidth = <8>; - qcom,ws = <10000>; - qcom,mas-hw-id = <2>; - qcom,hw-sel = "BIMC"; - qcom,mode = "Bypass"; - }; - - fab-snoc { - cell-id = <1024>; - label = "fab-snoc"; - qcom,gateway; - qcom,slavep = <2>; - qcom,masterp = <4>; - qcom,qport = <4>; - qcom,buswidth = <8>; - qcom,ws = <10000>; - qcom,mas-hw-id = <3>; - qcom,slv-hw-id = <2>; - qcom,mode = "Bypass"; - qcom,hw-sel = "RPM"; - }; - - slv-ebi-ch0 { - cell-id = <512>; - label = "slv-ebi-ch0"; - qcom,slavep = <0>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <0>; - qcom,mode = "Bypass"; - }; - - slv-ampss-l2 { - cell-id = <514>; - label = "slv-ampss-l2"; - qcom,slavep = <1>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <1>; - }; - }; - - msm-ocmem-vnoc@6144 { - compatible = "msm-bus-fabric"; - reg = <0x6144 0x2>; - cell-id = <6144>; - label = "msm-ocmem-vnoc"; - qcom,ntieredslaves = <0>; - qcom,hw-sel = "NoC"; - qcom,rpm-en; - qcom,virt; - - mas-v-ocmem-gfx3d { - cell-id = <89>; - label = "mas-v-ocmem-gfx3d"; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <55>; - }; - - slv-ocmem { - cell-id = <604>; - label = "slv-ocmem"; - qcom,slavep = <0 1>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,slv-hw-id = <18>; - qcom,slaveclk-dual = "ocmem_clk"; - qcom,slaveclk-active = "ocmem_a_clk"; - }; - - fab-snoc { - cell-id = <1024>; - label = "fab-snoc"; - qcom,gateway; - qcom,buswidth = <32>; - qcom,ws = <10000>; - qcom,mas-hw-id = <57>; - qcom,slv-hw-id = <80>; - }; - - fab-onoc { - cell-id = <3072>; - label = "fab-onoc"; - qcom,gateway; - qcom,buswidth = <16>; - qcom,ws = <10000>; - qcom,mas-hw-id = <56>; - qcom,slv-hw-id = <79>; - }; - - }; -}; - - diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8226-camera-sensor-cdp.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8226-camera-sensor-cdp.dtsi deleted file mode 100644 index 41d6b7e79..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8226-camera-sensor-cdp.dtsi +++ /dev/null @@ -1,108 +0,0 @@ -/* - * Copyright (c) 2013, 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. - */ - -&soc { - - led_flash0: qcom,camera-led-flash { - cell-index = <0>; - compatible = "qcom,camera-led-flash"; - qcom,flash-type = <1>; - qcom,flash-source = <&pm8226_flash0 &pm8226_flash1>; - }; -}; - -&cci { - - actuator0: qcom,actuator@6e { - cell-index = <3>; - reg = <0x6c>; - compatible = "qcom,actuator"; - qcom,cci-master = <0>; - }; - - qcom,camera@6f { - compatible = "qcom,ov8825"; - reg = <0x6f>; - qcom,slave-id = <0x6c 0x300a 0x8825>; - qcom,csiphy-sd-index = <0>; - qcom,csid-sd-index = <0>; - qcom,actuator-src = <&actuator0>; - qcom,led-flash-src = <&led_flash0>; - qcom,mount-angle = <0>; - qcom,sensor-name = "ov8825"; - cam_vdig-supply = <&pm8226_l5>; - cam_vana-supply = <&pm8226_l19>; - cam_vio-supply = <&pm8226_lvs1>; - cam_vaf-supply = <&pm8226_l15>; - qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana", - "cam_vaf"; - qcom,cam-vreg-type = <0 1 0 0>; - qcom,cam-vreg-min-voltage = <1200000 0 2850000 2800000>; - qcom,cam-vreg-max-voltage = <1200000 0 2850000 2800000>; - qcom,cam-vreg-op-mode = <200000 0 80000 100000>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 26 0>, - <&msmgpio 37 0>, - <&msmgpio 36 0>; - qcom,gpio-reset = <1>; - qcom,gpio-standby = <2>; - qcom,gpio-req-tbl-num = <0 1 2>; - qcom,gpio-req-tbl-flags = <1 0 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1", - "CAM_STANDBY"; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x1f>; - qcom,sensor-position = <0>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - }; - - qcom,camera@6d { - compatible = "qcom,ov9724"; - reg = <0x6d>; - qcom,slave-id = <0x20 0x0 0x9724>; - qcom,csiphy-sd-index = <1>; - qcom,csid-sd-index = <1>; - qcom,mount-angle = <0>; - qcom,sensor-name = "ov9724"; - cam_vdig-supply = <&pm8226_l5>; - cam_vana-supply = <&pm8226_l19>; - cam_vio-supply = <&pm8226_lvs1>; - qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana"; - qcom,cam-vreg-type = <0 1 0>; - qcom,cam-vreg-min-voltage = <1200000 0 2850000>; - qcom,cam-vreg-max-voltage = <1200000 0 2850000>; - qcom,cam-vreg-op-mode = <200000 0 80000>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 26 0>, - <&msmgpio 28 0>, - <&msmgpio 35 0>; - qcom,gpio-reset = <1>; - qcom,gpio-standby = <2>; - qcom,gpio-req-tbl-num = <0 1 2>; - qcom,gpio-req-tbl-flags = <1 0 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET", - "CAM_STANDBY"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 4000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x3>; - qcom,sensor-position = <1>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - status = "ok"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8226-camera-sensor-mtp.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8226-camera-sensor-mtp.dtsi deleted file mode 100644 index 53860ac85..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8226-camera-sensor-mtp.dtsi +++ /dev/null @@ -1,108 +0,0 @@ -/* - * Copyright (c) 2013, 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. - */ - -&soc { - - led_flash0: qcom,camera-led-flash { - cell-index = <0>; - compatible = "qcom,camera-led-flash"; - qcom,flash-type = <1>; - qcom,flash-source = <&pm8226_flash0 &pm8226_flash1>; - }; -}; - -&cci { - - actuator0: qcom,actuator@6e { - cell-index = <3>; - reg = <0x6c>; - compatible = "qcom,actuator"; - qcom,cci-master = <0>; - }; - - qcom,camera@6f { - compatible = "qcom,ov8825"; - reg = <0x6f>; - qcom,slave-id = <0x6c 0x300a 0x8825>; - qcom,csiphy-sd-index = <0>; - qcom,csid-sd-index = <0>; - qcom,actuator-src = <&actuator0>; - qcom,led-flash-src = <&led_flash0>; - qcom,mount-angle = <0>; - qcom,sensor-name = "ov8825"; - cam_vdig-supply = <&pm8226_l5>; - cam_vana-supply = <&pm8226_l19>; - cam_vio-supply = <&pm8226_lvs1>; - cam_vaf-supply = <&pm8226_l15>; - qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana", - "cam_vaf"; - qcom,cam-vreg-type = <0 1 0 0>; - qcom,cam-vreg-min-voltage = <1200000 0 2850000 2800000>; - qcom,cam-vreg-max-voltage = <1200000 0 2850000 2800000>; - qcom,cam-vreg-op-mode = <200000 0 80000 100000>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 26 0>, - <&msmgpio 37 0>, - <&msmgpio 35 0>; - qcom,gpio-reset = <1>; - qcom,gpio-standby = <2>; - qcom,gpio-req-tbl-num = <0 1 2>; - qcom,gpio-req-tbl-flags = <1 0 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1", - "CAM_STANDBY"; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x1f>; - qcom,sensor-position = <0>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - }; - - qcom,camera@6d { - compatible = "qcom,ov9724"; - reg = <0x6d>; - qcom,slave-id = <0x20 0x0 0x9724>; - qcom,csiphy-sd-index = <1>; - qcom,csid-sd-index = <1>; - qcom,mount-angle = <270>; - qcom,sensor-name = "ov9724"; - cam_vdig-supply = <&pm8226_l5>; - cam_vana-supply = <&pm8226_l19>; - cam_vio-supply = <&pm8226_lvs1>; - qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana"; - qcom,cam-vreg-type = <0 1 0>; - qcom,cam-vreg-min-voltage = <1200000 0 2850000>; - qcom,cam-vreg-max-voltage = <1200000 0 2850000>; - qcom,cam-vreg-op-mode = <200000 0 80000>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 26 0>, - <&msmgpio 28 0>, - <&msmgpio 36 0>; - qcom,gpio-reset = <1>; - qcom,gpio-standby = <2>; - qcom,gpio-req-tbl-num = <0 1 2>; - qcom,gpio-req-tbl-flags = <1 0 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET", - "CAM_STANDBY"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 4000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x3>; - qcom,sensor-position = <1>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - status = "ok"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8226-camera-sensor-qrd.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8226-camera-sensor-qrd.dtsi deleted file mode 100644 index 3935dbb78..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8226-camera-sensor-qrd.dtsi +++ /dev/null @@ -1,108 +0,0 @@ -/* - * Copyright (c) 2013, 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. - */ - -&soc { - - led_flash0: qcom,camera-led-flash { - cell-index = <0>; - compatible = "qcom,camera-led-flash"; - qcom,flash-type = <1>; - qcom,flash-source = <&pm8226_flash0 &pm8226_flash1>; - }; -}; - -&cci { - - actuator0: qcom,actuator@6e { - cell-index = <3>; - reg = <0x6c>; - compatible = "qcom,actuator"; - qcom,cci-master = <0>; - }; - - qcom,camera@6f { - compatible = "qcom,ov8825"; - reg = <0x6f>; - qcom,slave-id = <0x6c 0x300a 0x8825>; - qcom,csiphy-sd-index = <0>; - qcom,csid-sd-index = <0>; - qcom,actuator-src = <&actuator0>; - qcom,led-flash-src = <&led_flash0>; - qcom,mount-angle = <270>; - qcom,sensor-name = "ov8825"; - cam_vdig-supply = <&pm8226_l5>; - cam_vana-supply = <&pm8226_l19>; - cam_vio-supply = <&pm8226_lvs1>; - cam_vaf-supply = <&pm8226_l15>; - qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana", - "cam_vaf"; - qcom,cam-vreg-type = <0 1 0 0>; - qcom,cam-vreg-min-voltage = <1200000 0 2850000 2800000>; - qcom,cam-vreg-max-voltage = <1200000 0 2850000 2800000>; - qcom,cam-vreg-op-mode = <200000 0 80000 100000>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 26 0>, - <&msmgpio 37 0>, - <&msmgpio 36 0>; - qcom,gpio-reset = <1>; - qcom,gpio-standby = <2>; - qcom,gpio-req-tbl-num = <0 1 2>; - qcom,gpio-req-tbl-flags = <1 0 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1", - "CAM_STANDBY"; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x1f>; - qcom,sensor-position = <0>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - }; - - qcom,camera@6d { - compatible = "qcom,ov9724"; - reg = <0x6d>; - qcom,slave-id = <0x20 0x0 0x9724>; - qcom,csiphy-sd-index = <1>; - qcom,csid-sd-index = <1>; - qcom,mount-angle = <270>; - qcom,sensor-name = "ov9724"; - cam_vdig-supply = <&pm8226_l5>; - cam_vana-supply = <&pm8226_l19>; - cam_vio-supply = <&pm8226_lvs1>; - qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana"; - qcom,cam-vreg-type = <0 1 0>; - qcom,cam-vreg-min-voltage = <1200000 0 2850000>; - qcom,cam-vreg-max-voltage = <1200000 0 2850000>; - qcom,cam-vreg-op-mode = <200000 0 80000>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 26 0>, - <&msmgpio 28 0>, - <&msmgpio 35 0>; - qcom,gpio-reset = <1>; - qcom,gpio-standby = <2>; - qcom,gpio-req-tbl-num = <0 1 2>; - qcom,gpio-req-tbl-flags = <1 0 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET", - "CAM_STANDBY"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 4000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x3>; - qcom,sensor-position = <1>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - status = "ok"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8226-camera.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8226-camera.dtsi deleted file mode 100644 index ec0092d43..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8226-camera.dtsi +++ /dev/null @@ -1,139 +0,0 @@ -/* - * Copyright (c) 2012-2013, 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. - */ - -&soc { - qcom,msm-cam@fd8c0000 { - compatible = "qcom,msm-cam"; - reg = <0xfd8c0000 0x10000>; - reg-names = "msm-cam"; - }; - - qcom,csiphy@fda0ac00 { - cell-index = <0>; - compatible = "qcom,csiphy"; - reg = <0xfda0ac00 0x200>, - <0xfda00030 0x4>; - reg-names = "csiphy", "csiphy_clk_mux"; - interrupts = <0 78 0>; - interrupt-names = "csiphy"; - }; - - qcom,csiphy@fda0b000 { - cell-index = <1>; - compatible = "qcom,csiphy"; - reg = <0xfda0b000 0x200>, - <0xfda00038 0x4>; - reg-names = "csiphy", "csiphy_clk_mux"; - interrupts = <0 79 0>; - interrupt-names = "csiphy"; - }; - - qcom,csid@fda08000 { - cell-index = <0>; - compatible = "qcom,csid"; - reg = <0xfda08000 0x100>; - reg-names = "csid"; - interrupts = <0 51 0>; - interrupt-names = "csid"; - qcom,csi-vdd-voltage = <1200000>; - qcom,mipi-csi-vdd-supply = <&pm8226_l4>; - }; - - qcom,csid@fda08400 { - cell-index = <1>; - compatible = "qcom,csid"; - reg = <0xfda08400 0x100>; - reg-names = "csid"; - interrupts = <0 52 0>; - interrupt-names = "csid"; - qcom,csi-vdd-voltage = <1200000>; - qcom,mipi-csi-vdd-supply = <&pm8226_l4>; - }; - - qcom,ispif@fda0a000 { - cell-index = <0>; - compatible = "qcom,ispif"; - reg = <0xfda0a000 0x500>, - <0xfda00020 0x10>; - reg-names = "ispif", "csi_clk_mux"; - interrupts = <0 55 0>; - interrupt-names = "ispif"; - }; - - qcom,vfe@fda10000 { - cell-index = <0>; - compatible = "qcom,vfe40"; - reg = <0xfda10000 0x1000>, - <0xfda40000 0x200>; - reg-names = "vfe", "vfe_vbif"; - interrupts = <0 57 0>; - interrupt-names = "vfe"; - vdd-supply = <&gdsc_vfe>; - }; - - qcom,jpeg@fda1c000 { - cell-index = <0>; - compatible = "qcom,jpeg"; - reg = <0xfda1c000 0x400>; - reg-names = "jpeg"; - interrupts = <0 59 0>; - interrupt-names = "jpeg"; - vdd-supply = <&gdsc_jpeg>; - }; - - qcom,irqrouter@fda00000 { - cell-index = <0>; - compatible = "qcom,irqrouter"; - reg = <0xfda00000 0x100>; - reg-names = "irqrouter"; - }; - - qcom,cpp@fda04000 { - cell-index = <0>; - compatible = "qcom,cpp"; - reg = <0xfda04000 0x100>, - <0xfda40000 0x200>, - <0xfda18000 0x008>; - reg-names = "cpp", "cpp_vbif", "cpp_hw"; - interrupts = <0 49 0>; - interrupt-names = "cpp"; - vdd-supply = <&gdsc_vfe>; - }; - - cci: qcom,cci@fda0c000 { - cell-index = <0>; - compatible = "qcom,cci"; - reg = <0xfda0c000 0x1000>; - #address-cells = <1>; - #size-cells = <0>; - reg-names = "cci"; - interrupts = <0 50 0>; - interrupt-names = "cci"; - gpios = <&msmgpio 29 0>, - <&msmgpio 30 0>; - qcom,gpio-tbl-num = <0 1>; - qcom,gpio-tbl-flags = <1 1>; - qcom,gpio-tbl-label = "CCI_I2C_DATA0", - "CCI_I2C_CLK0"; - qcom,hw-thigh = <78>; - qcom,hw-tlow = <114>; - qcom,hw-tsu-sto = <28>; - qcom,hw-tsu-sta = <28>; - qcom,hw-thd-dat = <10>; - qcom,hw-thd-sta = <77>; - qcom,hw-tbuf = <118>; - qcom,hw-scl-stretch-en = <0>; - qcom,hw-trdhld = <6>; - qcom,hw-tsp = <1>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8226-cdp.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8226-cdp.dtsi deleted file mode 100644 index da9ad8c0a..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8226-cdp.dtsi +++ /dev/null @@ -1,393 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/include/ "dsi-panel-nt35590-720p-video.dtsi" -/include/ "msm8226-camera-sensor-cdp.dtsi" - -&soc { - serial@f991f000 { - status = "ok"; - }; - - qcom,mdss_dsi_nt35590_720p_video { - status = "ok"; - }; - - i2c@f9927000 { /* BLSP1 QUP5 */ - synaptics@20 { - compatible = "synaptics,rmi4"; - reg = <0x20>; - interrupt-parent = <&msmgpio>; - interrupts = <17 0x2008>; - vdd-supply = <&pm8226_l19>; - vcc_i2c-supply = <&pm8226_lvs1>; - synaptics,reset-gpio = <&msmgpio 16 0x00>; - synaptics,irq-gpio = <&msmgpio 17 0x2008>; - synaptics,button-map = <139 102 158>; - synaptics,i2c-pull-up; - }; - }; - - gpio_keys { - compatible = "gpio-keys"; - input-name = "gpio-keys"; - - camera_focus { - label = "camera_focus"; - gpios = <&msmgpio 108 0x1>; - linux,input-type = <1>; - linux,code = <0x210>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - - camera_snapshot { - label = "camera_snapshot"; - gpios = <&msmgpio 107 0x1>; - linux,input-type = <1>; - linux,code = <0x2fe>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - - vol_up { - label = "volume_up"; - gpios = <&msmgpio 106 0x1>; - linux,input-type = <1>; - linux,code = <115>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - }; - - spi@f9923000 { - ethernet-switch@3 { - compatible = "micrel,ks8851"; - reg = <3>; - interrupt-parent = <&msmgpio>; - interrupts = <0 115 0>; - spi-max-frequency = <4800000>; - rst-gpio = <&msmgpio 114 0>; - vdd-io-supply = <&pm8226_lvs1>; - vdd-phy-supply = <&pm8226_lvs1>; - }; - }; - - sound { - qcom,audio-routing = - "RX_BIAS", "MCLK", - "LDO_H", "MCLK", - "SPK_OUT", "MCLK", - "SPK_OUT", "EXT_VDD_SPKR", - "AMIC1", "MIC BIAS1 Internal1", - "MIC BIAS1 Internal1", "Handset Mic", - "AMIC2", "MIC BIAS2 External", - "MIC BIAS2 External", "Headset Mic", - "AMIC4", "MIC BIAS2 External", - "MIC BIAS2 External", "ANCRight Headset Mic", - "AMIC5", "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"; - - qcom,cdc-mclk-gpios = <&pm8226_gpios 1 0>; - qcom,cdc-vdd-spkr-gpios = <&pm8226_gpios 2 0>; - qcom,headset-jack-type-NO; - }; -}; - -&sdcc1 { - vdd-supply = <&pm8226_l17>; - qcom,vdd-always-on; - qcom,vdd-lpm-sup; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <800 500000>; - - vdd-io-supply = <&pm8226_l6>; - qcom,vdd-io-always-on; - qcom,vdd-io-voltage-level = <1800000 1800000>; - qcom,vdd-io-current-level = <250 154000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - qcom,sup-voltages = <2950 2950>; - - qcom,bus-speed-mode = "HS200_1p8v", "DDR_1p8v"; - qcom,nonremovable; - - status = "disabled"; -}; - -&sdhc_1 { - vdd-supply = <&pm8226_l17>; - qcom,vdd-always-on; - qcom,vdd-lpm-sup; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <800 500000>; - - vdd-io-supply = <&pm8226_l6>; - qcom,vdd-io-always-on; - qcom,vdd-io-voltage-level = <1800000 1800000>; - qcom,vdd-io-current-level = <250 154000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - qcom,bus-speed-mode = "HS200_1p8v", "DDR_1p8v"; - qcom,nonremovable; - - status = "ok"; -}; - -&sdcc2 { - vdd-supply = <&pm8226_l18>; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <9000 800000>; - - vdd-io-supply = <&pm8226_l21>; - qcom,vdd-io-always-on; - qcom,vdd-io-lpm-sup; - qcom,vdd-io-voltage-level = <1800000 2950000>; - qcom,vdd-io-current-level = <6 22000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - qcom,sup-voltages = <2950 2950>; - - qcom,xpc; - qcom,bus-speed-mode = "SDR12", "SDR25", "SDR50", "DDR50", "SDR104"; - qcom,current-limit = <600>; - - #address-cells = <0>; - interrupt-parent = <&sdcc2>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 125 0 - 1 &intc 0 220 0 - 2 &msmgpio 38 0x3>; - interrupt-names = "core_irq", "bam_irq", "status_irq"; - cd-gpios = <&msmgpio 38 0x1>; - - status = "disabled"; -}; - -&sdhc_2 { - vdd-supply = <&pm8226_l18>; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <9000 800000>; - - vdd-io-supply = <&pm8226_l21>; - qcom,vdd-io-always-on; - qcom,vdd-io-lpm-sup; - qcom,vdd-io-voltage-level = <1800000 2950000>; - qcom,vdd-io-current-level = <6 22000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - - #address-cells = <0>; - interrupt-parent = <&sdhc_2>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 125 0 - 1 &intc 0 221 0 - 2 &msmgpio 38 0x3>; - interrupt-names = "hc_irq", "pwr_irq", "status_irq"; - cd-gpios = <&msmgpio 38 0x1>; - - status = "ok"; -}; - -&spmi_bus { - qcom,pm8226@0 { - qcom,leds@a100 { - status = "okay"; - qcom,led_mpp_2 { - label = "mpp"; - linux,name = "button-backlight"; - linux,default-trigger = "none"; - qcom,default-state = "off"; - qcom,max-current = <40>; - qcom,current-setting = <5>; - qcom,id = <6>; - qcom,mode = "manual"; - qcom,source-sel = <1>; - qcom,mode-ctrl = <0x60>; - }; - }; - - qcom,leds@a300 { - status = "okay"; - qcom,led_mpp_4 { - label = "mpp"; - linux,name = "green"; - linux,default-trigger = "none"; - qcom,default-state = "off"; - qcom,max-current = <40>; - qcom,current-setting = <5>; - qcom,id = <6>; - qcom,mode = "pwm"; - qcom,pwm-us = <1000>; - qcom,source-sel = <8>; - qcom,mode-ctrl = <0x60>; - qcom,pwm-channel = <0>; - qcom,start-idx = <1>; - qcom,duty-pcts = [00 00 00 00 64 - 64 00 00 00 00]; - qcom,use-blink; - }; - }; - - qcom,leds@a500 { - status = "okay"; - qcom,led_mpp_6 { - label = "mpp"; - linux,name = "red"; - linux,default-trigger = "none"; - qcom,default-state = "off"; - qcom,max-current = <40>; - qcom,current-setting = <5>; - qcom,id = <6>; - qcom,mode = "pwm"; - qcom,pwm-us = <1000>; - qcom,mode-ctrl = <0x60>; - qcom,source-sel = <10>; - qcom,pwm-channel = <5>; - qcom,start-idx = <1>; - qcom,duty-pcts = [00 00 00 00 64 - 64 00 00 00 00]; - qcom,use-blink; - }; - }; - }; - - qcom,pm8226@1 { - qcom,leds@d800 { - status = "okay"; - qcom,wled_0 { - label = "wled"; - linux,name = "wled:backlight"; - linux,default-trigger = "bkl-trigger"; - qcom,cs-out-en; - qcom,op-fdbck = <1>; - qcom,default-state = "on"; - qcom,max-current = <20>; - qcom,ctrl-delay-us = <0>; - qcom,boost-curr-lim = <3>; - qcom,cp-sel = <0>; - qcom,switch-freq = <2>; - qcom,ovp-val = <0>; - qcom,num-strings = <1>; - qcom,id = <0>; - }; - }; - }; -}; - -&pm8226_gpios { - gpio@c000 { /* GPIO 1 */ - /* XO_PMIC_CDC_MCLK enable for tapan codec */ - qcom,mode = <1>; /* Digital output */ - qcom,output-type = <0>; /* CMOS logic */ - qcom,pull = <5>; /* QPNP_PIN_PULL_NO*/ - qcom,vin-sel = <3>; /* QPNP_PIN_VIN3 */ - qcom,out-strength = <3>;/* QPNP_PIN_OUT_STRENGTH_HIGH */ - qcom,src-sel = <2>; /* QPNP_PIN_SEL_FUNC_1 */ - qcom,master-en = <1>; /* Enable GPIO */ - }; - - gpio@c100 { /* GPIO 2 */ - qcom,mode = <1>; - qcom,output-type = <0>; - qcom,pull = <5>; - qcom,vin-sel = <3>; - qcom,out-strength = <3>; - qcom,src-sel = <2>; - qcom,master-en = <1>; - }; - - gpio@c200 { /* GPIO 3 */ - }; - - gpio@c300 { /* GPIO 4 */ - }; - - gpio@c400 { /* GPIO 5 */ - }; - - gpio@c500 { /* GPIO 6 */ - }; - - gpio@c600 { /* GPIO 7 */ - }; - - gpio@c700 { /* GPIO 8 */ - }; -}; - -&pm8226_mpps { - mpp@a000 { /* MPP 1 */ - }; - - mpp@a100 { /* MPP 2 */ - }; - - mpp@a200 { /* MPP 3 */ - }; - - mpp@a300 { /* MPP 4 */ - }; - - mpp@a400 { /* MPP 5 */ - }; - - mpp@a500 { /* MPP 6 */ - }; - - mpp@a600 { /* MPP 7 */ - }; - - mpp@a700 { /* MPP 8 */ - }; -}; - -&pm8226_chg { - qcom,charging-disabled; - qcom,use-default-batt-values; -}; - -&usb_otg_sw { - status = "okay"; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8226-coresight.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8226-coresight.dtsi deleted file mode 100644 index e11c963c6..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8226-coresight.dtsi +++ /dev/null @@ -1,377 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -&soc { - tmc_etr: tmc@fc322000 { - compatible = "arm,coresight-tmc"; - reg = <0xfc322000 0x1000>, - <0xfc37c000 0x3000>; - reg-names = "tmc-base", "bam-base"; - - qcom,memory-reservation-type = "EBI1"; - qcom,memory-reservation-size = <0x100000>; /* 1M EBI1 buffer */ - - coresight-id = <0>; - coresight-name = "coresight-tmc-etr"; - coresight-nr-inports = <1>; - coresight-ctis = <&cti0 &cti8>; - }; - - tpiu: tpiu@fc318000 { - compatible = "arm,coresight-tpiu"; - reg = <0xfc318000 0x1000>; - reg-names = "tpiu-base"; - - coresight-id = <1>; - coresight-name = "coresight-tpiu"; - coresight-nr-inports = <1>; - - vdd-supply = <&pm8226_l18>; - - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <9000 800000>; - }; - - replicator: replicator@fc31c000 { - compatible = "qcom,coresight-replicator"; - reg = <0xfc31c000 0x1000>; - reg-names = "replicator-base"; - - coresight-id = <2>; - coresight-name = "coresight-replicator"; - coresight-nr-inports = <1>; - coresight-outports = <0 1>; - coresight-child-list = <&tmc_etr &tpiu>; - coresight-child-ports = <0 0>; - }; - - tmc_etf: tmc@fc307000 { - compatible = "arm,coresight-tmc"; - reg = <0xfc307000 0x1000>; - reg-names = "tmc-base"; - - coresight-id = <3>; - coresight-name = "coresight-tmc-etf"; - coresight-nr-inports = <1>; - coresight-outports = <0>; - coresight-child-list = <&replicator>; - coresight-child-ports = <0>; - coresight-default-sink; - coresight-ctis = <&cti0 &cti8>; - }; - - funnel_merg: funnel@fc31b000 { - compatible = "arm,coresight-funnel"; - reg = <0xfc31b000 0x1000>; - reg-names = "funnel-base"; - - coresight-id = <4>; - coresight-name = "coresight-funnel-merg"; - coresight-nr-inports = <2>; - coresight-outports = <0>; - coresight-child-list = <&tmc_etf>; - coresight-child-ports = <0>; - }; - - funnel_in0: funnel@fc319000 { - compatible = "arm,coresight-funnel"; - reg = <0xfc319000 0x1000>; - reg-names = "funnel-base"; - - coresight-id = <5>; - coresight-name = "coresight-funnel-in0"; - coresight-nr-inports = <8>; - coresight-outports = <0>; - coresight-child-list = <&funnel_merg>; - coresight-child-ports = <0>; - }; - - funnel_in1: funnel@fc31a000 { - compatible = "arm,coresight-funnel"; - reg = <0xfc31a000 0x1000>; - reg-names = "funnel-base"; - - coresight-id = <6>; - coresight-name = "coresight-funnel-in1"; - coresight-nr-inports = <8>; - coresight-outports = <0>; - coresight-child-list = <&funnel_merg>; - coresight-child-ports = <1>; - }; - - funnel_a7ss: funnel@fc345000 { - compatible = "arm,coresight-funnel"; - reg = <0xfc345000 0x1000>; - reg-names = "funnel-base"; - - coresight-id = <7>; - coresight-name = "coresight-funnel-a7ss"; - coresight-nr-inports = <4>; - coresight-outports = <0>; - coresight-child-list = <&funnel_in1>; - coresight-child-ports = <5>; - }; - - funnel_mmss: funnel@fc364000 { - compatible = "arm,coresight-funnel"; - reg = <0xfc364000 0x1000>; - reg-names = "funnel-base"; - - - coresight-id = <8>; - coresight-name = "coresight-funnel-mmss"; - coresight-nr-inports = <8>; - coresight-outports = <0>; - coresight-child-list = <&funnel_in1>; - coresight-child-ports = <1>; - }; - - stm: stm@fc321000 { - compatible = "arm,coresight-stm"; - reg = <0xfc321000 0x1000>, - <0xfa280000 0x180000>; - reg-names = "stm-base", "stm-data-base"; - - coresight-id = <9>; - coresight-name = "coresight-stm"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_in1>; - coresight-child-ports = <7>; - }; - - etm0: etm@fc33c000 { - compatible = "arm,coresight-etm"; - reg = <0xfc33c000 0x1000>; - reg-names = "etm-base"; - - coresight-id = <10>; - coresight-name = "coresight-etm0"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_a7ss>; - coresight-child-ports = <0>; - - qcom,round-robin; - }; - - etm1: etm@fc33d000 { - compatible = "arm,coresight-etm"; - reg = <0xfc33d000 0x1000>; - reg-names = "etm-base"; - - coresight-id = <11>; - coresight-name = "coresight-etm1"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_a7ss>; - coresight-child-ports = <1>; - - qcom,round-robin; - }; - - etm2: etm@fc33e000 { - compatible = "arm,coresight-etm"; - reg = <0xfc33e000 0x1000>; - reg-names = "etm-base"; - - coresight-id = <12>; - coresight-name = "coresight-etm2"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_a7ss>; - coresight-child-ports = <2>; - - qcom,round-robin; - }; - - etm3: etm@fc33f000 { - compatible = "arm,coresight-etm"; - reg = <0xfc33f000 0x1000>; - reg-names = "etm-base"; - - coresight-id = <13>; - coresight-name = "coresight-etm3"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_a7ss>; - coresight-child-ports = <3>; - - qcom,round-robin; - }; - - csr: csr@fc302000 { - compatible = "qcom,coresight-csr"; - reg = <0xfc302000 0x1000>; - reg-names = "csr-base"; - - coresight-id = <14>; - coresight-name = "coresight-csr"; - coresight-nr-inports = <0>; - - qcom,blk-size = <1>; - }; - - cti0: cti@fc308000 { - compatible = "arm,coresight-cti"; - reg = <0xfc308000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <15>; - coresight-name = "coresight-cti0"; - coresight-nr-inports = <0>; - }; - - cti1: cti@fc309000 { - compatible = "arm,coresight-cti"; - reg = <0xfc309000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <16>; - coresight-name = "coresight-cti1"; - coresight-nr-inports = <0>; - }; - - cti2: cti@fc30a000 { - compatible = "arm,coresight-cti"; - reg = <0xfc30a000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <17>; - coresight-name = "coresight-cti2"; - coresight-nr-inports = <0>; - }; - - cti3: cti@fc30b000 { - compatible = "arm,coresight-cti"; - reg = <0xfc30b000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <18>; - coresight-name = "coresight-cti3"; - coresight-nr-inports = <0>; - }; - - cti4: cti@fc30c000 { - compatible = "arm,coresight-cti"; - reg = <0xfc30c000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <19>; - coresight-name = "coresight-cti4"; - coresight-nr-inports = <0>; - }; - - cti5: cti@fc30d000 { - compatible = "arm,coresight-cti"; - reg = <0xfc30d000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <20>; - coresight-name = "coresight-cti5"; - coresight-nr-inports = <0>; - }; - - cti6: cti@fc30e000 { - compatible = "arm,coresight-cti"; - reg = <0xfc30e000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <21>; - coresight-name = "coresight-cti6"; - coresight-nr-inports = <0>; - }; - - cti7: cti@fc30f000 { - compatible = "arm,coresight-cti"; - reg = <0xfc30f000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <22>; - coresight-name = "coresight-cti7"; - coresight-nr-inports = <0>; - }; - - cti8: cti@fc310000 { - compatible = "arm,coresight-cti"; - reg = <0xfc310000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <23>; - coresight-name = "coresight-cti8"; - coresight-nr-inports = <0>; - }; - - cti_l2: cti@fc340000 { - compatible = "arm,coresight-cti"; - reg = <0xfc340000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <24>; - coresight-name = "coresight-cti-l2"; - coresight-nr-inports = <0>; - }; - - cti_cpu0: cti@fc341000 { - compatible = "arm,coresight-cti"; - reg = <0xfc341000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <25>; - coresight-name = "coresight-cti-cpu0"; - coresight-nr-inports = <0>; - }; - - cti_cpu1: cti@fc342000 { - compatible = "arm,coresight-cti"; - reg = <0xfc342000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <26>; - coresight-name = "coresight-cti-cpu1"; - coresight-nr-inports = <0>; - }; - - cti_cpu2: cti@fc343000 { - compatible = "arm,coresight-cti"; - reg = <0xfc343000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <27>; - coresight-name = "coresight-cti-cpu2"; - coresight-nr-inports = <0>; - }; - - cti_cpu3: cti@fc344000 { - compatible = "arm,coresight-cti"; - reg = <0xfc344000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <28>; - coresight-name = "coresight-cti-cpu3"; - coresight-nr-inports = <0>; - }; - - hwevent: hwevent@fd828018 { - compatible = "qcom,coresight-hwevent"; - reg = <0xfd828018 0x80>, - <0xf9011080 0x80>, - <0xfd4ab160 0x80>; - reg-names = "mmss-mux", "apcs-mux", "ppss-mux"; - - coresight-id = <29>; - coresight-name = "coresight-hwevent"; - coresight-nr-inports = <0>; - - qcom,hwevent-clks = "core_mmss_clk"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8226-fluid.dts b/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8226-fluid.dts deleted file mode 100644 index c58b43b4b..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8226-fluid.dts +++ /dev/null @@ -1,33 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; -/include/ "msm8226.dtsi" - -/ { - model = "Qualcomm MSM 8226 FLUID"; - compatible = "qcom,msm8226-fluid", "qcom,msm8226", "qcom,fluid"; - qcom,msm-id = <145 3 0>, - <158 3 0>, - <159 3 0>, - <198 3 0>; -}; - -&soc { - serial@f991f000 { - status = "disabled"; - }; -}; - -&pm8226_bms { - status = "ok"; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8226-gpu.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8226-gpu.dtsi deleted file mode 100644 index 590f73395..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8226-gpu.dtsi +++ /dev/null @@ -1,161 +0,0 @@ -/* Copyright (c) 2013, 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. - */ -&soc { - msm_gpu: qcom,kgsl-3d0@fdb00000 { - label = "kgsl-3d0"; - compatible = "qcom,kgsl-3d0", "qcom,kgsl-3d"; - reg = <0xfdb00000 0x10000 - 0xfdb20000 0x10000>; - reg-names = "kgsl_3d0_reg_memory" , "kgsl_3d0_shader_memory"; - interrupts = <0 33 0>; - interrupt-names = "kgsl_3d0_irq"; - qcom,id = <0>; - - qcom,chipid = <0x03000510>; - - qcom,initial-pwrlevel = <1>; - - qcom,idle-timeout = <8>; // - qcom,strtstp-sleepwake; - qcom,clk-map = <0x00000016>; /* KGSL_CLK_CORE | KGSL_CLK_IFACE | KGSL_CLK_MEM_IFACE */ - - /* Bus Scale Settings */ - qcom,msm-bus,name = "grp3d"; - qcom,msm-bus,num-cases = <4>; - qcom,msm-bus,num-paths = <2>; - qcom,msm-bus,vectors-KBps = - <26 512 0 0>, <89 604 0 0>, - <26 512 0 1600000>, <89 604 0 3200000>, - <26 512 0 3200000>, <89 604 0 5120000>, - <26 512 0 4256000>, <89 604 0 6400000>; - - - /* GDSC oxili regulators */ - vddcx-supply = "\0"; - vdd-supply = <&gdsc_oxili_cx>; - - - /* IOMMU Data */ - iommu = <&kgsl_iommu>; - - /* Power levels */ - qcom,gpu-pwrlevels { - #address-cells = <1>; - #size-cells = <0>; - - compatible = "qcom,gpu-pwrlevels"; - - qcom,gpu-pwrlevel@0 { - reg = <0>; - qcom,gpu-freq = <450000000>; - qcom,bus-freq = <3>; - qcom,io-fraction = <0>; - }; - - qcom,gpu-pwrlevel@1 { - reg = <1>; - qcom,gpu-freq = <320000000>; - qcom,bus-freq = <2>; - qcom,io-fraction = <33>; - }; - - qcom,gpu-pwrlevel@2 { - reg = <2>; - qcom,gpu-freq = <200000000>; - qcom,bus-freq = <1>; - qcom,io-fraction = <100>; - }; - - qcom,gpu-pwrlevel@3 { - reg = <3>; - qcom,gpu-freq = <19000000>; - qcom,bus-freq = <0>; - qcom,io-fraction = <0>; - }; - }; - - qcom,dcvs-core-info { - #address-cells = <1>; - #size-cells = <0>; - - compatible = "qcom,dcvs-core-info"; - - qcom,num-cores = <1>; - qcom,sensors = <0>; - - qcom,core-core-type = <1>; - - qcom,algo-disable-pc-threshold = <0>; - qcom,algo-em-win-size-min-us = <100000>; - qcom,algo-em-win-size-max-us = <300000>; - qcom,algo-em-max-util-pct = <97>; - qcom,algo-group-id = <95>; - qcom,algo-max-freq-chg-time-us = <100000>; - qcom,algo-slack-mode-dynamic = <100000>; - qcom,algo-slack-weight-thresh-pct = <0>; - qcom,algo-slack-time-min-us = <39000>; - qcom,algo-slack-time-max-us = <39000>; - qcom,algo-ss-win-size-min-us = <1000000>; - qcom,algo-ss-win-size-max-us = <1000000>; - qcom,algo-ss-util-pct = <95>; - qcom,algo-ss-no-corr-below-freq = <0>; - - qcom,energy-active-coeff-a = <2492>; - qcom,energy-active-coeff-b = <0>; - qcom,energy-active-coeff-c = <0>; - qcom,energy-leakage-coeff-a = <11>; - qcom,energy-leakage-coeff-b = <157150>; - qcom,energy-leakage-coeff-c = <0>; - qcom,energy-leakage-coeff-d = <0>; - - qcom,power-current-temp = <25>; - qcom,power-num-freq = <4>; - - qcom,dcvs-freq@0 { - reg = <0>; - qcom,freq = <0>; - qcom,voltage = <0>; - qcom,is_trans_level = <0>; - qcom,active-energy-offset = <100>; - qcom,leakage-energy-offset = <0>; - }; - - qcom,dcvs-freq@1 { - reg = <1>; - qcom,freq = <0>; - qcom,voltage = <0>; - qcom,is_trans_level = <0>; - qcom,active-energy-offset = <100>; - qcom,leakage-energy-offset = <0>; - }; - - qcom,dcvs-freq@2 { - reg = <2>; - qcom,freq = <0>; - qcom,voltage = <0>; - qcom,is_trans_level = <0>; - qcom,active-energy-offset = <100>; - qcom,leakage-energy-offset = <0>; - }; - - qcom,dcvs-freq@3 { - reg = <3>; - qcom,freq = <0>; - qcom,voltage = <0>; - qcom,is_trans_level = <0>; - qcom,active-energy-offset = <844545>; - qcom,leakage-energy-offset = <0>; - }; - }; - - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8226-iommu-domains.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8226-iommu-domains.dtsi deleted file mode 100644 index 25fca2a54..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8226-iommu-domains.dtsi +++ /dev/null @@ -1,31 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -&soc { - qcom,iommu-domains { - compatible = "qcom,iommu-domains"; - - venus_domain_ns: qcom,iommu-domain1 { - label = "venus_ns"; - qcom,iommu-contexts = <&venus_ns>; - qcom,virtual-addr-pool = <0x40000000 0x3f000000 - 0x7f000000 0x1000000>; - }; - - venus_domain_cp: qcom,iommu-domain2 { - label = "venus_cp"; - qcom,iommu-contexts = <&venus_cp>; - qcom,virtual-addr-pool = <0x1000000 0x3f000000>; - qcom,secure-domain; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8226-iommu.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8226-iommu.dtsi deleted file mode 100644 index ff3e0a59d..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8226-iommu.dtsi +++ /dev/null @@ -1,237 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/include/ "msm-iommu-v1.dtsi" - -&jpeg_iommu { - status = "ok"; - vdd-supply = <&gdsc_jpeg>; - qcom,iommu-enable-halt; - - qcom,iommu-bfb-regs = <0x204c - 0x2050 - 0x2514 - 0x2540 - 0x256c - 0x2314 - 0x2394 - 0x2414 - 0x20ac - 0x215c - 0x220c - 0x2008 - 0x200c - 0x2010 - 0x2014>; - - qcom,iommu-bfb-data = <0x0000ffff - 0x00000000 - 0x4 - 0x4 - 0x0 - 0x0 - 0x10 - 0x50 - 0x0 - 0x10 - 0x20 - 0x0 - 0x0 - 0x0 - 0x0>; -}; - -&mdp_iommu { - status = "ok"; - vdd-supply = <&gdsc_mdss>; - qcom,iommu-enable-halt; - - qcom,iommu-bfb-regs = <0x204c - 0x2050 - 0x2514 - 0x2540 - 0x256c - 0x20ac - 0x215c - 0x220c - 0x2314 - 0x2394 - 0x2414 - 0x2008 - 0x200c - 0x2010 - 0x2014 - 0x2018 - 0x201c - 0x2020>; - - qcom,iommu-bfb-data = <0xffffffff - 0x00000000 - 0x00000004 - 0x00000010 - 0x00000000 - 0x00000000 - 0x00000013 - 0x00000017 - 0x0 - 0x13 - 0x23 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0>; -}; - -&venus_iommu { - status = "ok"; - vdd-supply = <&gdsc_venus>; - qcom,iommu-enable-halt; - - qcom,iommu-bfb-regs = <0x204c - 0x2050 - 0x2514 - 0x2540 - 0x256c - 0x20ac - 0x215c - 0x220c - 0x2314 - 0x2394 - 0x2414 - 0x2008 - 0x200c - 0x2010 - 0x2014 - 0x2018 - 0x201c - 0x2020 - 0x2024 - 0x2028 - 0x202c - 0x2030 - 0x2034 - 0x2038>; - - qcom,iommu-bfb-data = <0xffffffff - 0xffffffff - 0x00000004 - 0x00000008 - 0x00000000 - 0x00000000 - 0x00000094 - 0x000000b4 - 0x0 - 0x94 - 0x114 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0>; -}; - -&venus_ns { - qcom,iommu-ctx-sids = <0 1 2 3 4 5 7>; -}; - -&venus_cp { - qcom,iommu-ctx-sids = <0x80 0x81 0x82 0x83 0x84>; -}; - -&kgsl_iommu { - status = "ok"; - vdd-supply = <&gdsc_oxili_cx>; - qcom,alt-vdd-supply = <&gdsc_oxili_gx>; - qcom,iommu-enable-halt; - qcom,needs-alt-core-clk; - - qcom,iommu-bfb-regs = <0x204c - 0x2050 - 0x2514 - 0x2540 - 0x256c - 0x20ac - 0x215c - 0x220c - 0x2314 - 0x2394 - 0x2414 - 0x2008>; - - qcom,iommu-bfb-data = <0x00000003 - 0x0 - 0x00000004 - 0x00000010 - 0x00000000 - 0x00000000 - 0x00000001 - 0x00000011 - 0x0 - 0x1 - 0x41 - 0x0>; -}; - -&vfe_iommu { - status = "ok"; - vdd-supply = <&gdsc_vfe>; - qcom,iommu-enable-halt; - - qcom,iommu-bfb-regs = <0x204c - 0x2050 - 0x2514 - 0x2540 - 0x256c - 0x2314 - 0x2394 - 0x2414 - 0x20ac - 0x215c - 0x220c - 0x2008 - 0x200c - 0x2010 - 0x2014 - 0x2018 - 0x201c - 0x2020>; - - qcom,iommu-bfb-data = <0xffffffff - 0x00000000 - 0x4 - 0x8 - 0x0 - 0x0 - 0x1b - 0x5b - 0x0 - 0x1b - 0x2b - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0>; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8226-ion.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8226-ion.dtsi deleted file mode 100644 index dee64e538..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8226-ion.dtsi +++ /dev/null @@ -1,66 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&soc { - qcom,ion { - compatible = "qcom,msm-ion"; - #address-cells = <1>; - #size-cells = <0>; - - qcom,ion-heap@30 { /* SYSTEM HEAP */ - reg = <30>; - }; - - qcom,ion-heap@21 { /* SYSTEM CONTIG HEAP */ - reg = <21>; - }; - - qcom,ion-heap@8 { /* CP_MM HEAP */ - compatible = "qcom,msm-ion-reserve"; - reg = <8>; - qcom,heap-align = <0x1000>; - linux,contiguous-region = <&secure_mem>; - }; - - qcom,ion-heap@25 { /* IOMMU HEAP */ - reg = <25>; - }; - - qcom,ion-heap@27 { /* QSECOM HEAP */ - compatible = "qcom,msm-ion-reserve"; - reg = <27>; - linux,contiguous-region = <&qsecom_mem>; - }; - - qcom,ion-heap@28 { /* AUDIO HEAP */ - compatible = "qcom,msm-ion-reserve"; - reg = <28>; - qcom,heap-align = <0x1000>; - qcom,memory-reservation-type = "EBI1"; /* reserve EBI memory */ - qcom,memory-reservation-size = <0x314000>; - }; - qcom,ion-heap@23 { /* OTHER PIL HEAP */ - compatible = "qcom,msm-ion-reserve"; - reg = <23>; - qcom,heap-align = <0x1000>; - qcom,memory-fixed = <0x06400000 0x2000000>; - }; - qcom,ion-heap@26 { /* MODEM PIL HEAP */ - compatible = "qcom,msm-ion-reserve"; - reg = <26>; - qcom,heap-align = <0x1000>; - qcom,memory-fixed = <0x08400000 0x4E00000>; - - }; - - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8226-mdss.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8226-mdss.dtsi deleted file mode 100644 index f58089709..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8226-mdss.dtsi +++ /dev/null @@ -1,80 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -&soc { - qcom,mdss_mdp@fd900000 { - compatible = "qcom,mdss_mdp"; - reg = <0xfd900000 0x22100>, - <0xfd924000 0x1000>; - reg-names = "mdp_phys", "vbif_phys"; - interrupts = <0 72 0>; - vdd-supply = <&gdsc_mdss>; - - qcom,max-clk-rate = <200000000>; - qcom,mdss-pipe-vig-off = <0x00001200>; - qcom,mdss-pipe-rgb-off = <0x00001E00>; - qcom,mdss-pipe-dma-off = <0x00002A00>; - qcom,mdss-pipe-vig-fetch-id = <1>; - qcom,mdss-pipe-rgb-fetch-id = <7>; - qcom,mdss-pipe-dma-fetch-id = <4>; - qcom,mdss-smp-data = <7 4096>; - - qcom,mdss-ctl-off = <0x00000600 0x00000700>; - qcom,mdss-mixer-intf-off = <0x00003200>; - qcom,mdss-mixer-wb-off = <0x00003E00>; - qcom,mdss-dspp-off = <0x00004600>; - qcom,mdss-pingpong-off = <0x00021B00>; - qcom,mdss-wb-off = <0x00011100 0x00013100>; - qcom,mdss-intf-off = <0x00000000 0x00021300>; - qcom,mdss-rot-block-size = <64>; - - qcom,vbif-settings = <0x004 0x00000001>, - <0x0D8 0x00000707>, - <0x124 0x00000003>; - qcom,mdp-settings = <0x02E0 0x000000A9>, - <0x02E4 0x00000055>; - - mdss_fb0: qcom,mdss_fb_primary { - cell-index = <0>; - compatible = "qcom,mdss-fb"; - qcom,memory-reservation-type = "EBI1"; - qcom,memory-reservation-size = <0x800000>; - }; - - mdss_fb1: qcom,mdss_fb_wfd { - cell-index = <1>; - compatible = "qcom,mdss-fb"; - }; - }; - - mdss_dsi0: qcom,mdss_dsi@fd922800 { - compatible = "qcom,mdss-dsi-ctrl"; - label = "MDSS DSI CTRL->0"; - cell-index = <0>; - reg = <0xfd922800 0x600>; - vdd-supply = <&pm8226_l15>; - vddio-supply = <&pm8226_l8>; - vdda-supply = <&pm8226_l4>; - qcom,supply-names = "vdd", "vddio", "vdda"; - qcom,supply-min-voltage-level = <2800000 1800000 1200000>; - qcom,supply-max-voltage-level = <2800000 1800000 1200000>; - qcom,supply-peak-current = <150000 100000 100000>; - qcom,mdss-fb-map = <&mdss_fb0>; - }; - - qcom,mdss_wb_panel { - compatible = "qcom,mdss_wb"; - qcom,mdss_pan_res = <1280 720>; - qcom,mdss_pan_bpp = <24>; - qcom,mdss-fb-map = <&mdss_fb1>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8226-mtp.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8226-mtp.dtsi deleted file mode 100644 index bcd1c41d6..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8226-mtp.dtsi +++ /dev/null @@ -1,445 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/include/ "dsi-panel-nt35590-720p-video.dtsi" -/include/ "msm8226-camera-sensor-mtp.dtsi" - -&soc { - serial@f991f000 { - status = "ok"; - }; - - qcom,mdss_dsi_nt35590_720p_video { - status = "ok"; - }; - - i2c@f9927000 { /* BLSP1 QUP5 */ - synaptics@20 { - compatible = "synaptics,rmi4"; - reg = <0x20>; - interrupt-parent = <&msmgpio>; - interrupts = <17 0x2008>; - vdd-supply = <&pm8226_l19>; - vcc_i2c-supply = <&pm8226_lvs1>; - synaptics,reset-gpio = <&msmgpio 16 0x00>; - synaptics,irq-gpio = <&msmgpio 17 0x2008>; - synaptics,button-map = <139 102 158>; - synaptics,i2c-pull-up; - }; - }; - - gpio_keys { - compatible = "gpio-keys"; - input-name = "gpio-keys"; - - camera_focus { - label = "camera_focus"; - gpios = <&msmgpio 108 0x1>; - linux,input-type = <1>; - linux,code = <0x210>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - - camera_snapshot { - label = "camera_snapshot"; - gpios = <&msmgpio 107 0x1>; - linux,input-type = <1>; - linux,code = <0x2fe>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - - vol_up { - label = "volume_up"; - gpios = <&msmgpio 106 0x1>; - linux,input-type = <1>; - linux,code = <115>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - }; - - spi@f9923000 { - ethernet-switch@3 { - compatible = "micrel,ks8851"; - reg = <3>; - interrupt-parent = <&msmgpio>; - interrupts = <0 115 0>; - spi-max-frequency = <4800000>; - rst-gpio = <&msmgpio 114 0>; - vdd-io-supply = <&pm8226_lvs1>; - vdd-phy-supply = <&pm8226_lvs1>; - }; - }; - - sound { - qcom,audio-routing = - "RX_BIAS", "MCLK", - "LDO_H", "MCLK", - "SPK_OUT", "MCLK", - "SPK_OUT", "EXT_VDD_SPKR", - "AMIC1", "MIC BIAS1 External", - "MIC BIAS1 External", "Handset Mic", - "AMIC2", "MIC BIAS2 External", - "MIC BIAS2 External", "Headset Mic", - "AMIC3", "MIC BIAS1 External", - "MIC BIAS1 External", "ANCRight Headset Mic", - "AMIC4", "MIC BIAS2 External", - "MIC BIAS2 External", "ANCLeft Headset Mic"; - - qcom,cdc-mclk-gpios = <&pm8226_gpios 1 0>; - qcom,cdc-vdd-spkr-gpios = <&pm8226_gpios 2 0>; - }; -}; - -&usb_otg { - #address-cells = <0>; - interrupt-parent = <&usb_otg>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 134 0 - 1 &intc 0 140 0 - 2 &spmi_bus 0x0 0x0 0x9 0x0>; - interrupt-names = "core_irq", "async_irq", "pmic_id_irq"; - - qcom,hsusb-otg-mode = <3>; - vbus_otg-supply = <&usb_otg_sw>; -}; - -&sdcc1 { - vdd-supply = <&pm8226_l17>; - qcom,vdd-always-on; - qcom,vdd-lpm-sup; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <800 500000>; - - vdd-io-supply = <&pm8226_l6>; - qcom,vdd-io-always-on; - qcom,vdd-io-voltage-level = <1800000 1800000>; - qcom,vdd-io-current-level = <250 154000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - qcom,sup-voltages = <2950 2950>; - - qcom,bus-speed-mode = "HS200_1p8v", "DDR_1p8v"; - qcom,nonremovable; - - status = "disabled"; -}; - -&sdhc_1 { - vdd-supply = <&pm8226_l17>; - qcom,vdd-always-on; - qcom,vdd-lpm-sup; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <800 500000>; - - vdd-io-supply = <&pm8226_l6>; - qcom,vdd-io-always-on; - qcom,vdd-io-voltage-level = <1800000 1800000>; - qcom,vdd-io-current-level = <250 154000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - qcom,bus-speed-mode = "HS200_1p8v", "DDR_1p8v"; - qcom,nonremovable; - - status = "ok"; -}; - -&sdcc2 { - vdd-supply = <&pm8226_l18>; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <9000 800000>; - - vdd-io-supply = <&pm8226_l21>; - qcom,vdd-io-always-on; - qcom,vdd-io-lpm-sup; - qcom,vdd-io-voltage-level = <1800000 2950000>; - qcom,vdd-io-current-level = <6 22000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - qcom,sup-voltages = <2950 2950>; - - qcom,xpc; - qcom,bus-speed-mode = "SDR12", "SDR25", "SDR50", "DDR50", "SDR104"; - qcom,current-limit = <600>; #address-cells = <0>; interrupt-parent = <&sdcc2>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 125 0 - 1 &intc 0 220 0 - 2 &msmgpio 38 0x3>; - interrupt-names = "core_irq", "bam_irq", "status_irq"; - cd-gpios = <&msmgpio 38 0x1>; - - status = "disabled"; -}; - -&sdhc_2 { - vdd-supply = <&pm8226_l18>; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <9000 800000>; - - vdd-io-supply = <&pm8226_l21>; - qcom,vdd-io-always-on; - qcom,vdd-io-lpm-sup; - qcom,vdd-io-voltage-level = <1800000 2950000>; - qcom,vdd-io-current-level = <6 22000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - - #address-cells = <0>; - interrupt-parent = <&sdhc_2>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 125 0 - 1 &intc 0 221 0 - 2 &msmgpio 38 0x3>; - interrupt-names = "hc_irq", "pwr_irq", "status_irq"; - cd-gpios = <&msmgpio 38 0x1>; - - status = "ok"; -}; - -&spmi_bus { - qcom,pm8226@0 { - qcom,leds@a100 { - status = "okay"; - qcom,led_mpp_2 { - label = "mpp"; - linux,name = "button-backlight"; - linux,default-trigger = "none"; - qcom,default-state = "off"; - qcom,max-current = <40>; - qcom,current-setting = <5>; - qcom,id = <6>; - qcom,mode = "manual"; - qcom,source-sel = <1>; - qcom,mode-ctrl = <0x60>; - }; - }; - - qcom,leds@a300 { - status = "okay"; - qcom,led_mpp_4 { - label = "mpp"; - linux,name = "green"; - linux,default-trigger = "none"; - qcom,default-state = "off"; - qcom,max-current = <40>; - qcom,current-setting = <5>; - qcom,id = <6>; - qcom,mode = "pwm"; - qcom,pwm-us = <1000>; - qcom,source-sel = <8>; - qcom,mode-ctrl = <0x60>; - qcom,pwm-channel = <0>; - qcom,start-idx = <1>; - qcom,duty-pcts = [00 00 00 00 64 - 64 00 00 00 00]; - qcom,use-blink; - }; - }; - - qcom,leds@a500 { - status = "okay"; - qcom,led_mpp_6 { - label = "mpp"; - linux,name = "red"; - linux,default-trigger = "none"; - qcom,default-state = "off"; - qcom,max-current = <40>; - qcom,current-setting = <5>; - qcom,id = <6>; - qcom,mode = "pwm"; - qcom,pwm-us = <1000>; - qcom,mode-ctrl = <0x60>; - qcom,source-sel = <10>; - qcom,pwm-channel = <5>; - qcom,start-idx = <1>; - qcom,duty-pcts = [00 00 00 00 64 - 64 00 00 00 00]; - qcom,use-blink; - }; - }; - }; - - qcom,pm8226@1 { - qcom,leds@d300 { - status = "okay"; - }; - - qcom,leds@d800 { - status = "okay"; - qcom,wled_0 { - label = "wled"; - linux,name = "wled:backlight"; - linux,default-trigger = "bkl-trigger"; - qcom,cs-out-en; - qcom,op-fdbck = <1>; - qcom,default-state = "on"; - qcom,max-current = <20>; - qcom,ctrl-delay-us = <0>; - qcom,boost-curr-lim = <3>; - qcom,cp-sel = <0>; - qcom,switch-freq = <2>; - qcom,ovp-val = <0>; - qcom,num-strings = <1>; - qcom,id = <0>; - }; - }; - }; -}; - -&pm8226_gpios { - gpio@c000 { /* GPIO 1 */ - /* XO_PMIC_CDC_MCLK enable for tapan codec */ - qcom,mode = <1>; /* Digital output */ - qcom,output-type = <0>; /* CMOS logic */ - qcom,pull = <5>; /* QPNP_PIN_PULL_NO*/ - qcom,vin-sel = <3>; /* QPNP_PIN_VIN3 */ - qcom,out-strength = <3>;/* QPNP_PIN_OUT_STRENGTH_HIGH */ - qcom,src-sel = <2>; /* QPNP_PIN_SEL_FUNC_1 */ - qcom,master-en = <1>; /* Enable GPIO */ - }; - - gpio@c100 { /* GPIO 2 */ - qcom,mode = <1>; - qcom,output-type = <0>; - qcom,pull = <5>; - qcom,vin-sel = <3>; - qcom,out-strength = <3>; - qcom,src-sel = <2>; - qcom,master-en = <1>; - }; - - gpio@c200 { /* GPIO 3 */ - }; - - gpio@c300 { /* GPIO 4 */ - }; - - gpio@c400 { /* GPIO 5 */ - }; - - gpio@c500 { /* GPIO 6 */ - }; - - gpio@c600 { /* GPIO 7 */ - }; - - gpio@c700 { /* GPIO 8 */ - }; -}; - -&pm8226_mpps { - mpp@a000 { /* MPP 1 */ - }; - - mpp@a100 { /* MPP 2 */ - }; - - mpp@a200 { /* MPP 3 */ - }; - - mpp@a300 { /* MPP 4 */ - }; - - mpp@a400 { /* MPP 5 */ - /* PA_THERM0 config */ - qcom,mode = <4>; /* AIN input */ - qcom,invert = <1>; /* Enable MPP */ - qcom,ain-route = <0>; /* AMUX 5 */ - qcom,master-en = <1>; - qcom,src-sel = <0>; /* Function constant */ - }; - - mpp@a500 { /* MPP 6 */ - }; - - mpp@a600 { /* MPP 7 */ - }; - - mpp@a700 { /* MPP 8 */ - /* PA_THERM1 config */ - qcom,mode = <4>; /* AIN input */ - qcom,invert = <1>; /* Enable MPP */ - qcom,ain-route = <3>; /* AMUX 8 */ - qcom,master-en = <1>; - qcom,src-sel = <0>; /* Function constant */ - }; -}; - -&pm8226_vadc { - chan@14 { - label = "pa_therm0"; - reg = <0x14>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@17 { - label = "pa_therm1"; - reg = <0x17>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; -}; - -&pm8226_bms { - status = "ok"; -}; - -&pm8226_chg { - qcom,charging-disabled; -}; - -&usb_otg_sw { - status = "okay"; -}; - -&slim_msm { - tapan_codec { - qcom,cdc-micbias1-ext-cap; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8226-pm.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8226-pm.dtsi deleted file mode 100644 index 3240efb75..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8226-pm.dtsi +++ /dev/null @@ -1,389 +0,0 @@ -/* Copyright (c) 2013 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. - */ - -/include/ "skeleton.dtsi" - -&soc { - qcom,spm@f9089000 { - compatible = "qcom,spm-v2"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xf9089000 0x1000>; - qcom,core-id = <0>; - qcom,saw2-ver-reg = <0xfd0>; - qcom,saw2-cfg = <0x01>; - qcom,saw2-spm-dly= <0x3c102800>; - qcom,saw2-spm-ctl = <0x0>; - qcom,saw2-spm-cmd-wfi = [60 03 60 0b 0f]; - qcom,saw2-spm-cmd-spc = [00 20 10 80 30 90 5b 60 03 60 3b 76 76 - 0b 94 5b 80 10 06 26 30 0f]; - qcom,saw2-spm-cmd-pc = [00 20 10 80 30 90 5b 60 07 60 3b 76 76 - 0b 94 5b 80 10 06 26 30 0f]; - }; - - qcom,spm@f9099000 { - compatible = "qcom,spm-v2"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xf9099000 0x1000>; - qcom,core-id = <1>; - qcom,saw2-ver-reg = <0xfd0>; - qcom,saw2-cfg = <0x01>; - qcom,saw2-spm-dly= <0x3c102800>; - qcom,saw2-spm-ctl = <0x0>; - qcom,saw2-spm-cmd-wfi = [60 03 60 0b 0f]; - qcom,saw2-spm-cmd-spc = [00 20 10 80 30 90 5b 60 03 60 3b 76 76 - 0b 94 5b 80 10 06 26 30 0f]; - qcom,saw2-spm-cmd-pc = [00 20 10 80 30 90 5b 60 07 60 3b 76 76 - 0b 94 5b 80 10 06 26 30 0f]; - }; - - qcom,spm@f90a9000 { - compatible = "qcom,spm-v2"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xf90a9000 0x1000>; - qcom,core-id = <2>; - qcom,saw2-ver-reg = <0xfd0>; - qcom,saw2-cfg = <0x01>; - qcom,saw2-spm-dly= <0x3c102800>; - qcom,saw2-spm-ctl = <0x0>; - qcom,saw2-spm-cmd-wfi = [60 03 60 0b 0f]; - qcom,saw2-spm-cmd-spc = [00 20 10 80 30 90 5b 60 03 60 3b 76 76 - 0b 94 5b 80 10 06 26 30 0f]; - qcom,saw2-spm-cmd-pc = [00 20 10 80 30 90 5b 60 07 60 3b 76 76 - 0b 94 5b 80 10 06 26 30 0f]; - }; - - qcom,spm@f90b9000 { - compatible = "qcom,spm-v2"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xf90b9000 0x1000>; - qcom,core-id = <3>; - qcom,saw2-ver-reg = <0xfd0>; - qcom,saw2-cfg = <0x01>; - qcom,saw2-spm-dly= <0x3c102800>; - qcom,saw2-spm-ctl = <0x0>; - qcom,saw2-spm-cmd-wfi = [60 03 60 0b 0f]; - qcom,saw2-spm-cmd-spc = [00 20 10 80 30 90 5b 60 03 60 3b 76 76 - 0b 94 5b 80 10 06 26 30 0f]; - qcom,saw2-spm-cmd-pc = [00 20 10 80 30 90 5b 60 07 60 3b 76 76 - 0b 94 5b 80 10 06 26 30 0f]; - }; - - qcom,spm@f9012000 { - compatible = "qcom,spm-v2"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xf9012000 0x1000>; - qcom,core-id = <0xffff>; /* L2/APCS SAW */ - qcom,saw2-ver-reg = <0xfd0>; - qcom,saw2-cfg = <0x14>; - qcom,saw2-spm-dly= <0x3c102800>; - qcom,saw2-spm-ctl = <0x0>; - qcom,saw2-pmic-data0 = <0x02030080>; - qcom,saw2-pmic-data1 = <0x00030000>; - qcom,vctl-timeout-us = <50>; - qcom,vctl-port = <0x0>; - qcom,phase-port = <0x1>; - qcom,pfm-port = <0x2>; - qcom,saw2-spm-cmd-ret = [00 03 00 7b 0f]; - qcom,saw2-spm-cmd-pc = [00 32 b0 10 e0 d0 6b c0 42 f0 - 11 07 01 b0 4e c0 d0 12 e0 6b 50 02 32 - 50 f0 7b 0f]; /*APCS_PMIC_OFF_L2RAM_OFF*/ - }; - - qcom,lpm-resources { - compatible = "qcom,lpm-resources"; - #address-cells = <1>; - #size-cells = <0>; - - qcom,lpm-resources@0 { - reg = <0x0>; - qcom,name = "vdd-dig"; - qcom,type = <0x61706d73>; /* "smpa" */ - qcom,id = <0x01>; - qcom,key = <0x6e726f63>; /* "corn" */ - qcom,init-value = <3>; /* SVS SOC */ - }; - - qcom,lpm-resources@1 { - reg = <0x1>; - qcom,name = "vdd-mem"; - qcom,type = <0x616F646C>; /* "ldoa" */ - qcom,id = <0x03>; - qcom,key = <0x6e726f63>; /* "corn" */ - qcom,init-value = <3>; /* SVS SOC */ - }; - - qcom,lpm-resources@2 { - reg = <0x2>; - qcom,name = "pxo"; - qcom,type = <0x306b6c63>; /* "clk0" */ - qcom,id = <0x00>; - qcom,key = <0x62616e45>; /* "Enab" */ - qcom,init-value = "xo_on"; - }; - - qcom,lpm-resources@3 { - reg = <0x3>; - qcom,name = "l2"; - qcom,local-resource-type; - qcom,init-value = "l2_cache_retention"; - }; - }; - - qcom,lpm-levels { - compatible = "qcom,lpm-levels"; - #address-cells = <1>; - #size-cells = <0>; - - qcom,lpm-level@0 { - reg = <0x0>; - qcom,mode = "wfi"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_active"; - qcom,vdd-mem-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <4>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <1>; - qcom,ss-power = <784>; - qcom,energy-overhead = <190000>; - qcom,time-overhead = <100>; - }; - - qcom,lpm-level@1 { - reg = <0x1>; - qcom,mode = "standalone_pc"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_active"; - qcom,vdd-mem-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <4>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <3000>; - qcom,ss-power = <725>; - qcom,energy-overhead = <99500>; - qcom,time-overhead = <3130>; - }; - - qcom,lpm-level@2 { - reg = <0x2>; - qcom,mode = "pc"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_retention"; - qcom,vdd-mem-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <4>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <8000>; - qcom,ss-power = <138>; - qcom,energy-overhead = <1208400>; - qcom,time-overhead = <9200>; - }; - - qcom,lpm-level@3 { - reg = <0x3>; - qcom,mode = "pc"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_pc"; - qcom,vdd-mem-upper-bound = <4>; /* NORMAL */ - qcom,vdd-mem-lower-bound = <3>; /* SVS SOC */ - qcom,vdd-dig-upper-bound = <4>; /* NORMAL */ - qcom,vdd-dig-lower-bound = <3>; /* SVS SOC */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <9000>; - qcom,ss-power = <110>; - qcom,energy-overhead = <1250300>; - qcom,time-overhead = <9500>; - }; - - qcom,lpm-level@4 { - reg = <0x4>; - qcom,mode = "pc"; - qcom,xo = "xo_off"; - qcom,l2 = "l2_cache_pc"; - qcom,vdd-mem-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <4>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,latency-us = <16300>; - qcom,ss-power = <63>; - qcom,energy-overhead = <2128000>; - qcom,time-overhead = <24200>; - }; - - qcom,lpm-level@5 { - reg = <0x5>; - qcom,mode = "pc"; - qcom,xo = "xo_off"; - qcom,l2 = "l2_cache_pc"; - qcom,vdd-mem-upper-bound = <4>; /* NORMAL */ - qcom,vdd-mem-lower-bound = <3>; /* SVS SOC */ - qcom,vdd-dig-upper-bound = <4>; /* NORMAL */ - qcom,vdd-dig-lower-bound = <3>; /* SVS SOC */ - qcom,latency-us = <24000>; - qcom,ss-power = <10>; - qcom,energy-overhead = <3202600>; - qcom,time-overhead = <33000>; - }; - - qcom,lpm-level@6 { - reg = <0x6>; - qcom,mode = "pc"; - qcom,xo = "xo_off"; - qcom,l2 = "l2_cache_pc"; - qcom,vdd-mem-upper-bound = <3>; /* SVS SOC */ - qcom,vdd-mem-lower-bound = <1>; /* RETENTION */ - qcom,vdd-dig-upper-bound = <3>; /* SVS SOC */ - qcom,vdd-dig-lower-bound = <1>; /* RETENTION */ - qcom,latency-us = <26000>; - qcom,ss-power = <2>; - qcom,energy-overhead = <4252000>; - qcom,time-overhead = <38000>; - }; - }; - - qcom,pm-boot { - compatible = "qcom,pm-boot"; - qcom,mode = "tz"; - }; - - qcom,mpm@fc4281d0 { - compatible = "qcom,mpm-v2"; - reg = <0xfc4281d0 0x1000>, /* MSM_RPM_MPM_BASE 4K */ - <0xf9011008 0x4>; /* MSM_APCS_GCC_BASE 4K */ - reg-names = "vmpm", "ipc"; - interrupts = <0 171 1>; - - qcom,ipc-bit-offset = <1>; - - qcom,gic-parent = <&intc>; - qcom,gic-map = <47 172>, /* usb2_hsic_async_wakeup_irq */ - <53 104>, /* mdss_irq */ - <62 222>, /* ee0_krait_hlos_spmi_periph_irq */ - <2 216>, /* tsens_upper_lower_int */ - <0xff 56>, /* q6_wdog_expired_irq */ - <0xff 57>, /* mss_to_apps_irq(0) */ - <0xff 58>, /* mss_to_apps_irq(1) */ - <0xff 59>, /* mss_to_apps_irq(2) */ - <0xff 60>, /* mss_to_apps_irq(3) */ - <0xff 61>, /* mss_a2_bam_irq */ - <0xff 173>, /* o_wcss_apss_smd_hi */ - <0xff 174>, /* o_wcss_apss_smd_med */ - <0xff 175>, /* o_wcss_apss_smd_low */ - <0xff 176>, /* o_wcss_apss_smsm_irq */ - <0xff 177>, /* o_wcss_apss_wlan_data_xfer_done */ - <0xff 178>, /* o_wcss_apss_wlan_rx_data_avail */ - <0xff 179>, /* o_wcss_apss_asic_intr - <0xff 181>, /* o_wcss_apss_wdog_bite_and_reset_rdy */ - <0xff 188>, /* lpass_irq_out_apcs(0) */ - <0xff 189>, /* lpass_irq_out_apcs(1) */ - <0xff 190>, /* lpass_irq_out_apcs(2) */ - <0xff 191>, /* lpass_irq_out_apcs(3) */ - <0xff 192>, /* lpass_irq_out_apcs(4) */ - <0xff 194>, /* lpass_irq_out_apcs[6] */ - <0xff 195>, /* lpass_irq_out_apcs[7] */ - <0xff 196>, /* lpass_irq_out_apcs[8] */ - <0xff 200>, /* rpm_ipc(4) */ - <0xff 201>, /* rpm_ipc(5) */ - <0xff 202>, /* rpm_ipc(6) */ - <0xff 203>, /* rpm_ipc(7) */ - <0xff 204>, /* rpm_ipc(24) */ - <0xff 205>, /* rpm_ipc(25) */ - <0xff 206>, /* rpm_ipc(26) */ - <0xff 207>, /* rpm_ipc(27) */ - <0xff 258>, /* rpm_ipc(28) */ - <0xff 259>, /* rpm_ipc(29) */ - <0xff 275>, /* rpm_ipc(30) */ - <0xff 276>, /* rpm_ipc(31) */ - <0xff 269>, /* rpm_wdog_expired_irq */ - <0xff 240>; /* summary_irq_kpss */ - - qcom,gpio-parent = <&msmgpio>; - qcom,gpio-map = <3 1>, - <4 4 >, - <5 5 >, - <6 9 >, - <7 13>, - <8 17>, - <9 21>, - <10 27>, - <11 29>, - <12 31>, - <13 33>, - <14 35>, - <15 37>, - <16 38>, - <17 39>, - <18 41>, - <19 46>, - <20 48>, - <21 49>, - <22 50>, - <23 51>, - <24 52>, - <25 54>, - <26 62>, - <27 63>, - <28 64>, - <29 65>, - <30 66>, - <31 67>, - <32 68>, - <33 69>, - <34 71>, - <35 72>, - <36 106>, - <37 107>, - <38 108>, - <39 109>, - <40 110>, - <54 111>, - <55 113>; - }; - - qcom,pm-8x60@fe805664 { - compatible = "qcom,pm-8x60"; - reg = <0xfe805664 0x40>; - qcom,pc-mode = "tz_l2_int"; - qcom,use-sync-timer; - qcom,pc-resets-timer; - }; - - qcom,rpm-log@fc19dc00 { - compatible = "qcom,rpm-log"; - reg = <0xfc19dc00 0x4000>; - qcom,rpm-addr-phys = <0xfc000000>; - qcom,offset-version = <4>; - qcom,offset-page-buffer-addr = <36>; - qcom,offset-log-len = <40>; - qcom,offset-log-len-mask = <44>; - qcom,offset-page-indices = <56>; - }; - - qcom,rpm-stats@fc19dba0 { - compatible = "qcom,rpm-stats"; - reg = <0xfc19dba0 0x1000>; - reg-names = "phys_addr_base"; - qcom,sleep-stats-version = <2>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8226-qrd.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8226-qrd.dtsi deleted file mode 100644 index fc9d9f9b9..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8226-qrd.dtsi +++ /dev/null @@ -1,406 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/include/ "dsi-panel-nt35590-720p-video.dtsi" -/include/ "msm8226-camera-sensor-qrd.dtsi" - -&soc { - serial@f991f000 { - status = "ok"; - }; - - qcom,mdss_dsi_nt35590_720p_video { - status = "ok"; - }; - - i2c@f9927000 { /* BLSP1 QUP5 */ - synaptics@20 { - compatible = "synaptics,rmi4"; - reg = <0x20>; - interrupt-parent = <&msmgpio>; - interrupts = <17 0x2008>; - vdd-supply = <&pm8226_l19>; - vcc_i2c-supply = <&pm8226_lvs1>; - synaptics,reset-gpio = <&msmgpio 16 0x00>; - synaptics,irq-gpio = <&msmgpio 17 0x2008>; - synaptics,button-map = <139 102 158>; - synaptics,i2c-pull-up; - }; - }; - - gpio_keys { - compatible = "gpio-keys"; - input-name = "gpio-keys"; - - camera_focus { - label = "camera_focus"; - gpios = <&msmgpio 108 0x1>; - linux,input-type = <1>; - linux,code = <0x210>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - - camera_snapshot { - label = "camera_snapshot"; - gpios = <&msmgpio 107 0x1>; - linux,input-type = <1>; - linux,code = <0x2fe>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - - vol_up { - label = "volume_up"; - gpios = <&msmgpio 106 0x1>; - linux,input-type = <1>; - linux,code = <115>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - }; - - spi@f9923000 { - ethernet-switch@3 { - compatible = "micrel,ks8851"; - reg = <3>; - interrupt-parent = <&msmgpio>; - interrupts = <0 115 0>; - spi-max-frequency = <4800000>; - rst-gpio = <&msmgpio 114 0>; - vdd-io-supply = <&pm8226_lvs1>; - vdd-phy-supply = <&pm8226_lvs1>; - }; - }; - - sound { - qcom,audio-routing = - "RX_BIAS", "MCLK", - "LDO_H", "MCLK", - "SPK_OUT", "MCLK", - "SPK_OUT", "EXT_VDD_SPKR", - "AMIC1", "MIC BIAS1 External", - "MIC BIAS1 External", "Handset Mic", - "AMIC2", "MIC BIAS2 External", - "MIC BIAS2 External", "Headset Mic", - "AMIC3", "MIC BIAS1 External", - "MIC BIAS1 External", "ANCRight Headset Mic", - "AMIC4", "MIC BIAS2 External", - "MIC BIAS2 External", "ANCLeft Headset Mic"; - - qcom,cdc-mclk-gpios = <&pm8226_gpios 1 0>; - qcom,cdc-vdd-spkr-gpios = <&pm8226_gpios 2 0>; - qcom,cdc-us-euro-gpios = <&msmgpio 69 0>; - }; -}; - -&sdcc1 { - vdd-supply = <&pm8226_l17>; - qcom,vdd-always-on; - qcom,vdd-lpm-sup; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <800 500000>; - - vdd-io-supply = <&pm8226_l6>; - qcom,vdd-io-always-on; - qcom,vdd-io-voltage-level = <1800000 1800000>; - qcom,vdd-io-current-level = <250 154000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - qcom,sup-voltages = <2950 2950>; - - qcom,bus-speed-mode = "HS200_1p8v", "DDR_1p8v"; - qcom,nonremovable; - - status = "disabled"; -}; - -&sdhc_1 { - vdd-supply = <&pm8226_l17>; - qcom,vdd-always-on; - qcom,vdd-lpm-sup; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <800 500000>; - - vdd-io-supply = <&pm8226_l6>; - qcom,vdd-io-always-on; - qcom,vdd-io-voltage-level = <1800000 1800000>; - qcom,vdd-io-current-level = <250 154000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - qcom,bus-speed-mode = "HS200_1p8v", "DDR_1p8v"; - qcom,nonremovable; - - status = "ok"; -}; - -&sdcc2 { - vdd-supply = <&pm8226_l18>; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <9000 800000>; - - vdd-io-supply = <&pm8226_l21>; - qcom,vdd-io-always-on; - qcom,vdd-io-lpm-sup; - qcom,vdd-io-voltage-level = <1800000 2950000>; - qcom,vdd-io-current-level = <6 22000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - qcom,sup-voltages = <2950 2950>; - - qcom,xpc; - qcom,bus-speed-mode = "SDR12", "SDR25", "SDR50", "DDR50", "SDR104"; - qcom,current-limit = <600>; - - #address-cells = <0>; - interrupt-parent = <&sdcc2>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 125 0 - 1 &intc 0 220 0 - 2 &msmgpio 38 0x3>; - interrupt-names = "core_irq", "bam_irq", "status_irq"; - cd-gpios = <&msmgpio 38 0x1>; - - status = "disabled"; -}; - -&sdhc_2 { - vdd-supply = <&pm8226_l18>; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <9000 800000>; - - vdd-io-supply = <&pm8226_l21>; - qcom,vdd-io-always-on; - qcom,vdd-io-lpm-sup; - qcom,vdd-io-voltage-level = <1800000 2950000>; - qcom,vdd-io-current-level = <6 22000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - - #address-cells = <0>; - interrupt-parent = <&sdhc_2>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 125 0 - 1 &intc 0 221 0 - 2 &msmgpio 38 0x3>; - interrupt-names = "hc_irq", "pwr_irq", "status_irq"; - cd-gpios = <&msmgpio 38 0x1>; - - status = "ok"; -}; - -&spmi_bus { - qcom,pm8226@0 { - qcom,leds@a100 { - status = "okay"; - qcom,led_mpp_2 { - label = "mpp"; - linux,name = "button-backlight"; - linux,default-trigger = "none"; - qcom,default-state = "off"; - qcom,max-current = <40>; - qcom,current-setting = <5>; - qcom,id = <6>; - qcom,mode = "manual"; - qcom,source-sel = <1>; - qcom,mode-ctrl = <0x60>; - }; - }; - - qcom,leds@a300 { - status = "okay"; - qcom,led_mpp_4 { - label = "mpp"; - linux,name = "green"; - linux,default-trigger = "none"; - qcom,default-state = "off"; - qcom,max-current = <40>; - qcom,current-setting = <5>; - qcom,id = <6>; - qcom,mode = "pwm"; - qcom,pwm-us = <1000>; - qcom,source-sel = <8>; - qcom,mode-ctrl = <0x60>; - qcom,pwm-channel = <0>; - qcom,start-idx = <1>; - qcom,duty-pcts = [00 00 00 00 64 - 64 00 00 00 00]; - qcom,use-blink; - }; - }; - - qcom,leds@a500 { - status = "okay"; - qcom,led_mpp_6 { - label = "mpp"; - linux,name = "red"; - linux,default-trigger = "none"; - qcom,default-state = "off"; - qcom,max-current = <40>; - qcom,current-setting = <5>; - qcom,id = <6>; - qcom,mode = "pwm"; - qcom,pwm-us = <1000>; - qcom,mode-ctrl = <0x60>; - qcom,source-sel = <10>; - qcom,pwm-channel = <5>; - qcom,start-idx = <1>; - qcom,duty-pcts = [00 00 00 00 64 - 64 00 00 00 00]; - qcom,use-blink; - }; - }; - }; - - qcom,pm8226@1 { - qcom,leds@d300 { - status = "okay"; - }; - - qcom,leds@d800 { - status = "okay"; - qcom,wled_0 { - label = "wled"; - linux,name = "wled:backlight"; - linux,default-trigger = "bkl-trigger"; - qcom,cs-out-en; - qcom,op-fdbck = <1>; - qcom,default-state = "on"; - qcom,max-current = <20>; - qcom,ctrl-delay-us = <0>; - qcom,boost-curr-lim = <3>; - qcom,cp-sel = <0>; - qcom,switch-freq = <2>; - qcom,ovp-val = <0>; - qcom,num-strings = <1>; - qcom,id = <0>; - }; - }; - - qcom,vibrator@c000 { - status = "okay"; - qcom,vib-timeout-ms = <15000>; - qcom,vib-vtg-level-mV = <3100>; - }; - - }; -}; - -&pm8226_bms { - status = "okay"; - qcom,batt-type = <4>; - qcom,max-voltage-uv = <4350000>; -}; - -&pm8226_chg { - status = "okay"; - qcom,chg-vddmax-mv = <4350>; - qcom,chg-vddsafe-mv = <4350>; -}; - -&pm8226_gpios { - gpio@c000 { /* GPIO 1 */ - /* XO_PMIC_CDC_MCLK enable for tapan codec */ - qcom,mode = <1>; /* Digital output */ - qcom,output-type = <0>; /* CMOS logic */ - qcom,pull = <5>; /* QPNP_PIN_PULL_NO*/ - qcom,vin-sel = <3>; /* QPNP_PIN_VIN3 */ - qcom,out-strength = <3>;/* QPNP_PIN_OUT_STRENGTH_HIGH */ - qcom,src-sel = <2>; /* QPNP_PIN_SEL_FUNC_1 */ - qcom,master-en = <1>; /* Enable GPIO */ - }; - - gpio@c100 { /* GPIO 2 */ - qcom,mode = <1>; - qcom,output-type = <0>; - qcom,pull = <5>; - qcom,vin-sel = <3>; - qcom,out-strength = <3>; - qcom,src-sel = <2>; - qcom,master-en = <1>; - }; - - gpio@c200 { /* GPIO 3 */ - }; - - gpio@c300 { /* GPIO 4 */ - }; - - gpio@c400 { /* GPIO 5 */ - }; - - gpio@c500 { /* GPIO 6 */ - }; - - gpio@c600 { /* GPIO 7 */ - }; - - gpio@c700 { /* GPIO 8 */ - }; -}; - -&pm8226_mpps { - mpp@a000 { /* MPP 1 */ - }; - - mpp@a100 { /* MPP 2 */ - }; - - mpp@a200 { /* MPP 3 */ - }; - - mpp@a300 { /* MPP 4 */ - }; - - mpp@a400 { /* MPP 5 */ - }; - - mpp@a500 { /* MPP 6 */ - }; - - mpp@a600 { /* MPP 7 */ - }; - - mpp@a700 { /* MPP 8 */ - }; -}; - -&slim_msm { - tapan_codec { - qcom,cdc-micbias1-ext-cap; - }; - -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8226-regulator.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8226-regulator.dtsi deleted file mode 100644 index 3254d17c8..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8226-regulator.dtsi +++ /dev/null @@ -1,460 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/* SPM controlled regulators: */ - -&spmi_bus { - qcom,pm8226@1 { - pm8226_s2: spm-regulator@1700 { - compatible = "qcom,spm-regulator"; - regulator-name = "8226_s2"; - reg = <0x1700 0x100>; - regulator-min-microvolt = <900000>; - regulator-max-microvolt = <1275000>; - }; - }; -}; - -/* CPR controlled regulator */ - -&soc { - apc_vreg_corner: regulator@f9018000 { - status = "okay"; - compatible = "qcom,cpr-regulator"; - reg = <0xf9018000 0x1000>, <0xf9011064 4>, <0xfc4b80b0 8>, - <0xfc4bc450 16>; - reg-names = "rbcpr", "rbcpr_clk", "pvs_efuse", "cpr_efuse"; - interrupts = <0 15 0>; - regulator-name = "apc_corner"; - regulator-min-microvolt = <1>; - regulator-max-microvolt = <3>; - qcom,num-efuse-bits = <5>; - qcom,pvs-bin-process = <0 0 0 0 0 1 1 1 1 1 2 2 2 2 2 2 - 2 2 2 2 3 3 3 3 3 3 3 3 0 0 0 0>; - qcom,pvs-corner-ceiling-slow = <1155000 1160000 1275000>; - qcom,pvs-corner-ceiling-nom = <975000 1075000 1200000>; - qcom,pvs-corner-ceiling-fast = <900000 1000000 1140000>; - vdd-apc-supply = <&pm8226_s2>; - - vdd-mx-supply = <&pm8226_l3_ao>; - qcom,vdd-mx-vmax = <1350000>; - qcom,vdd-mx-vmin-method = <1>; - - qcom,cpr-ref-clk = <19200>; - qcom,cpr-timer-delay = <5000>; - qcom,cpr-timer-cons-up = <1>; - qcom,cpr-timer-cons-down = <2>; - qcom,cpr-irq-line = <0>; - qcom,cpr-step-quotient = <15>; - qcom,cpr-up-threshold = <1>; - qcom,cpr-down-threshold = <2>; - qcom,cpr-idle-clocks = <5>; - qcom,cpr-gcnt-time = <1>; - qcom,vdd-apc-step-up-limit = <1>; - qcom,vdd-apc-step-down-limit = <1>; - qcom,cpr-apc-volt-step = <5000>; - }; -}; - -/* RPM controlled regulators: */ - -&rpm_bus { - rpm-regulator-smpa1 { - status = "okay"; - pm8226_s1: regulator-s1 { - regulator-min-microvolt = <500000>; - regulator-max-microvolt = <1275000>; - status = "okay"; - }; - pm8226_s1_corner: regulator-s1-corner { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_s1_corner"; - qcom,set = <3>; - regulator-min-microvolt = <1>; - regulator-max-microvolt = <7>; - qcom,use-voltage-corner; - qcom,consumer-supplies = "vdd_dig", ""; - }; - pm8226_s1_corner_ao: regulator-s1-corner-ao { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_s1_corner_ao"; - qcom,set = <1>; - regulator-min-microvolt = <1>; - regulator-max-microvolt = <7>; - qcom,use-voltage-corner; - qcom,consumer-supplies = "vdd_sr2_dig", ""; - }; - }; - - rpm-regulator-smpa3 { - status = "okay"; - pm8226_s3: regulator-s3 { - regulator-min-microvolt = <1200000>; - regulator-max-microvolt = <1300000>; - qcom,init-voltage = <1200000>; - status = "okay"; - }; - }; - - rpm-regulator-smpa4 { - status = "okay"; - pm8226_s4: regulator-s4 { - regulator-min-microvolt = <2100000>; - regulator-max-microvolt = <2100000>; - qcom,init-voltage = <2100000>; - status = "okay"; - }; - }; - - rpm-regulator-smpa5 { - status = "okay"; - pm8226_s5: regulator-s5 { - regulator-min-microvolt = <1150000>; - regulator-max-microvolt = <1150000>; - qcom,init-voltage = <1150000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa1 { - status = "okay"; - pm8226_l1: regulator-l1 { - regulator-name = "8226_l1"; - regulator-min-microvolt = <1225000>; - regulator-max-microvolt = <1225000>; - qcom,init-voltage = <1225000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa2 { - status = "okay"; - pm8226_l2: regulator-l2 { - regulator-min-microvolt = <1200000>; - regulator-max-microvolt = <1200000>; - qcom,init-voltage = <1200000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa3 { - status = "okay"; - pm8226_l3: regulator-l3 { - regulator-name = "8226_l3"; - regulator-min-microvolt = <750000>; - regulator-max-microvolt = <1275000>; - status = "okay"; - }; - pm8226_l3_ao: regulator-3-ao { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l3_ao"; - qcom,set = <1>; - regulator-min-microvolt = <750000>; - regulator-max-microvolt = <1275000>; - status = "okay"; - }; - pm8226_l3_so: regulator-l3-so { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l3_so"; - qcom,set = <2>; - regulator-min-microvolt = <750000>; - regulator-max-microvolt = <1275000>; - qcom,init-voltage = <750000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa4 { - status = "okay"; - pm8226_l4: regulator-l4 { - regulator-name = "8226_l4"; - regulator-min-microvolt = <1200000>; - regulator-max-microvolt = <1200000>; - qcom,init-voltage = <1200000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa5 { - status = "okay"; - pm8226_l5: regulator-l5 { - regulator-name = "8226_l5"; - regulator-min-microvolt = <1200000>; - regulator-max-microvolt = <1200000>; - qcom,init-voltage = <1200000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa6 { - status = "okay"; - pm8226_l6: regulator-l6 { - regulator-name = "8226_l6"; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa7 { - status = "okay"; - pm8226_l7: regulator-l7 { - regulator-name = "8226_l7"; - regulator-min-microvolt = <1850000>; - regulator-max-microvolt = <1850000>; - qcom,init-voltage = <1850000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa8 { - status = "okay"; - pm8226_l8: regulator-l8 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - status = "okay"; - }; - - pm8226_l8_ao: regulator-l8-ao { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l8_ao"; - qcom,set = <1>; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - qcom,consumer-supplies = "vdd_sr2_pll", ""; - }; - - pm8226_l8_so: regulator-l8-so { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l8_so"; - qcom,set = <2>; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - qcom,init-enable = <0>; - }; - }; - - rpm-regulator-ldoa9 { - status = "okay"; - pm8226_l9: regulator-l9 { - regulator-name = "8226_l9"; - regulator-min-microvolt = <2050000>; - regulator-max-microvolt = <2050000>; - qcom,init-voltage = <2050000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa10 { - status = "okay"; - pm8226_l10: regulator-l10 { - regulator-name = "8226_l10"; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa12 { - status = "okay"; - pm8226_l12: regulator-l12 { - regulator-name = "8226_l12"; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa14 { - status = "okay"; - pm8226_l14: regulator-l14 { - regulator-name = "8226_l14"; - regulator-min-microvolt = <2750000>; - regulator-max-microvolt = <2750000>; - qcom,init-voltage = <2750000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa15 { - status = "okay"; - pm8226_l15: regulator-l15 { - regulator-name = "8226_l15"; - regulator-min-microvolt = <2800000>; - regulator-max-microvolt = <2800000>; - qcom,init-voltage = <2800000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa16 { - status = "okay"; - pm8226_l16: regulator-l16 { - regulator-name = "8226_l16"; - regulator-min-microvolt = <3000000>; - regulator-max-microvolt = <3300000>; - qcom,init-voltage = <3300000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa17 { - status = "okay"; - pm8226_l17: regulator-l17 { - regulator-min-microvolt = <2950000>; - regulator-max-microvolt = <2950000>; - qcom,init-voltage = <2950000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa18 { - status = "okay"; - pm8226_l18: regulator-l18 { - regulator-name = "8226_l18"; - regulator-min-microvolt = <2950000>; - regulator-max-microvolt = <2950000>; - qcom,init-voltage = <2950000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa19 { - status = "okay"; - pm8226_l19: regulator-l19 { - regulator-name = "8226_l19"; - regulator-min-microvolt = <2850000>; - regulator-max-microvolt = <2850000>; - qcom,init-voltage = <2850000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa20 { - status = "okay"; - pm8226_l20: regulator-l20 { - regulator-name = "8226_l20"; - regulator-min-microvolt = <3075000>; - regulator-max-microvolt = <3075000>; - qcom,init-voltage = <3075000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa21 { - status = "okay"; - pm8226_l21: regulator-l21 { - regulator-name = "8226_l21"; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <2950000>; - qcom,init-voltage = <2950000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa22 { - status = "okay"; - pm8226_l22: regulator-l22 { - regulator-name = "8226_l22"; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <2950000>; - qcom,init-voltage = <2950000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa23 { - status = "okay"; - pm8226_l23: regulator-l23 { - regulator-name = "8226_l23"; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <2950000>; - qcom,init-voltage = <2950000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa24 { - status = "okay"; - pm8226_l24: regulator-l24 { - regulator-name = "8226_l24"; - regulator-min-microvolt = <1300000>; - regulator-max-microvolt = <1300000>; - qcom,init-voltage = <1300000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa26 { - status = "okay"; - pm8226_l26: regulator-l26 { - regulator-name = "8226_l26"; - regulator-min-microvolt = <1225000>; - regulator-max-microvolt = <1225000>; - qcom,init-voltage = <1225000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa27 { - status = "okay"; - pm8226_l27: regulator-l27 { - regulator-name = "8226_l27"; - regulator-min-microvolt = <2050000>; - regulator-max-microvolt = <2050000>; - qcom,init-voltage = <2050000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa28 { - status = "okay"; - pm8226_l28: regulator-l28 { - regulator-name = "8226_l28"; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <2950000>; - qcom,init-voltage = <2950000>; - status = "okay"; - }; - }; - - rpm-regulator-vsa1 { - status = "okay"; - pm8226_lvs1: regulator-lvs1 { - status = "okay"; - }; - }; -}; - -&pm8226_chg_boost { - regulator-min-microvolt = <5000000>; - regulator-max-microvolt = <5000000>; - regulator-name = "8226_smbbp_boost"; -}; - -&soc { - usb_otg_sw: regulator-ncp380 { - compatible = "regulator-fixed"; - regulator-name = "usb_otg_sw"; - gpio = <&msmgpio 67 0>; - parent-supply = <&pm8226_chg_boost>; - startup-delay-us = <4000>; - enable-active-high; - status = "disabled"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8226-sim.dts b/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8226-sim.dts deleted file mode 100644 index 240564632..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8226-sim.dts +++ /dev/null @@ -1,135 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/dts-v1/; -/include/ "msm8226.dtsi" -/include/ "msm8226-camera.dtsi" - -/ { - model = "Qualcomm MSM 8226 Simulator"; - compatible = "qcom,msm8226-sim", "qcom,msm8226", "qcom,sim"; - qcom,msm-id = <145 16 0>, - <158 16 0>, - <159 16 0>, - <198 16 0>; -}; - -&soc { - serial@f991f000 { - status = "ok"; - }; -}; - -&sdcc1 { - qcom,vdd-always-on; - qcom,vdd-lpm-sup; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <800 500000>; - - qcom,vdd-io-always-on; - qcom,vdd-io-voltage-level = <1800000 1800000>; - qcom,vdd-io-current-level = <250 154000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - vdd-supply = <&pm8226_l17>; - vdd-io-supply = <&pm8226_l6>; - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - qcom,sup-voltages = <2950 2950>; - - qcom,bus-speed-mode = "HS200_1p8v", "DDR_1p8v"; - qcom,nonremovable; - status = "ok"; -}; - -&sdcc2 { - vdd-supply = <&pm8226_l18>; - vdd-io-supply = <&pm8226_l21>; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <9000 800000>; - - qcom,vdd-io-always-on; - qcom,vdd-io-lpm-sup; - qcom,vdd-io-voltage-level = <1800000 2950000>; - qcom,vdd-io-current-level = <6 22000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - qcom,sup-voltages = <2950 2950>; - - qcom,xpc; - qcom,bus-speed-mode = "SDR12", "SDR25", "SDR50", "DDR50", "SDR104"; - qcom,current-limit = <800>; - - status = "ok"; -}; - -&pm8226_gpios { - gpio@c000 { /* GPIO 1 */ - }; - - gpio@c100 { /* GPIO 2 */ - }; - - gpio@c200 { /* GPIO 3 */ - }; - - gpio@c300 { /* GPIO 4 */ - }; - - gpio@c400 { /* GPIO 5 */ - }; - - gpio@c500 { /* GPIO 6 */ - }; - - gpio@c600 { /* GPIO 7 */ - }; - - gpio@c700 { /* GPIO 8 */ - }; -}; - -&pm8226_mpps { - mpp@a000 { /* MPP 1 */ - }; - - mpp@a100 { /* MPP 2 */ - }; - - mpp@a200 { /* MPP 3 */ - }; - - mpp@a300 { /* MPP 4 */ - }; - - mpp@a400 { /* MPP 5 */ - }; - - mpp@a500 { /* MPP 6 */ - }; - - mpp@a600 { /* MPP 7 */ - }; - - mpp@a700 { /* MPP 8 */ - }; -}; - - diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8226-smp2p.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8226-smp2p.dtsi deleted file mode 100644 index 3921a686a..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8226-smp2p.dtsi +++ /dev/null @@ -1,225 +0,0 @@ -/* Copyright (c) 2013, 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. - */ -&soc { - qcom,smp2p-modem { - compatible = "qcom,smp2p"; - reg = <0xf9011008 0x4>; - qcom,remote-pid = <1>; - qcom,irq-bitmask = <0x4000>; - interrupts = <0 27 1>; - }; - - qcom,smp2p-adsp { - compatible = "qcom,smp2p"; - reg = <0xf9011008 0x4>; - qcom,remote-pid = <2>; - qcom,irq-bitmask = <0x400>; - interrupts = <0 158 1>; - }; - - qcom,smp2p-wcnss { - compatible = "qcom,smp2p"; - reg = <0xf9011008 0x4>; - qcom,remote-pid = <4>; - qcom,irq-bitmask = <0x40000>; - interrupts = <0 143 1>; - }; - - smp2pgpio_smp2p_7_in: qcom,smp2pgpio-smp2p-7-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <7>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_7_in { - compatible = "qcom,smp2pgpio_test_smp2p_7_in"; - gpios = <&smp2pgpio_smp2p_7_in 0 0>; - }; - - smp2pgpio_smp2p_7_out: qcom,smp2pgpio-smp2p-7-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <7>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_7_out { - compatible = "qcom,smp2pgpio_test_smp2p_7_out"; - gpios = <&smp2pgpio_smp2p_7_out 0 0>; - }; - - smp2pgpio_smp2p_1_in: qcom,smp2pgpio-smp2p-1-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <1>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_1_in { - compatible = "qcom,smp2pgpio_test_smp2p_1_in"; - gpios = <&smp2pgpio_smp2p_1_in 0 0>; - }; - - smp2pgpio_smp2p_1_out: qcom,smp2pgpio-smp2p-1-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <1>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_1_out { - compatible = "qcom,smp2pgpio_test_smp2p_1_out"; - gpios = <&smp2pgpio_smp2p_1_out 0 0>; - }; - - smp2pgpio_ssr_smp2p_1_in: qcom,smp2pgpio-ssr-smp2p-1-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "slave-kernel"; - qcom,remote-pid = <1>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - smp2pgpio_ssr_smp2p_1_out: qcom,smp2pgpio-ssr-smp2p-1-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "master-kernel"; - qcom,remote-pid = <1>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - smp2pgpio_smp2p_2_in: qcom,smp2pgpio-smp2p-2-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <2>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_2_in { - compatible = "qcom,smp2pgpio_test_smp2p_2_in"; - gpios = <&smp2pgpio_smp2p_2_in 0 0>; - }; - - smp2pgpio_smp2p_2_out: qcom,smp2pgpio-smp2p-2-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <2>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_2_out { - compatible = "qcom,smp2pgpio_test_smp2p_2_out"; - gpios = <&smp2pgpio_smp2p_2_out 0 0>; - }; - - /* SMP2P SSR Driver for inbound entry from lpass. */ - smp2pgpio_ssr_smp2p_2_in: qcom,smp2pgpio-ssr-smp2p-2-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "slave-kernel"; - qcom,remote-pid = <2>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - /* SMP2P SSR Driver for outbound entry to lpass */ - smp2pgpio_ssr_smp2p_2_out: qcom,smp2pgpio-ssr-smp2p-2-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "master-kernel"; - qcom,remote-pid = <2>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - smp2pgpio_smp2p_4_in: qcom,smp2pgpio-smp2p-4-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <4>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_4_in { - compatible = "qcom,smp2pgpio_test_smp2p_4_in"; - gpios = <&smp2pgpio_smp2p_4_in 0 0>; - }; - - smp2pgpio_smp2p_4_out: qcom,smp2pgpio-smp2p-4-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <4>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - smp2pgpio_ssr_smp2p_4_in: qcom,smp2pgpio-ssr-smp2p-4-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "slave-kernel"; - qcom,remote-pid = <4>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - smp2pgpio_ssr_smp2p_4_out: qcom,smp2pgpio-ssr-smp2p-4-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "master-kernel"; - qcom,remote-pid = <4>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_4_out { - compatible = "qcom,smp2pgpio_test_smp2p_4_out"; - gpios = <&smp2pgpio_smp2p_4_out 0 0>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8226-v1-cdp.dts b/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8226-v1-cdp.dts deleted file mode 100644 index 9c49840d9..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8226-v1-cdp.dts +++ /dev/null @@ -1,25 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; -/include/ "msm8226-v1.dtsi" -/include/ "msm8226-cdp.dtsi" - -/ { - model = "Qualcomm MSM 8226 CDP"; - compatible = "qcom,msm8226-cdp", "qcom,msm8226", "qcom,cdp"; - qcom,msm-id = <145 1 0>, - <158 1 0>, - <159 1 0>, - <198 1 0>, - <205 1 0>; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8226-v1-mtp.dts b/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8226-v1-mtp.dts deleted file mode 100644 index b1d46b1c4..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8226-v1-mtp.dts +++ /dev/null @@ -1,25 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; -/include/ "msm8226-v1.dtsi" -/include/ "msm8226-mtp.dtsi" - -/ { - model = "Qualcomm MSM 8226 MTP"; - compatible = "qcom,msm8226-mtp", "qcom,msm8226", "qcom,mtp"; - qcom,msm-id = <145 8 0>, - <158 8 0>, - <159 8 0>, - <198 8 0>, - <205 8 0>; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8226-v1-qrd.dts b/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8226-v1-qrd.dts deleted file mode 100644 index d2aabac0c..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8226-v1-qrd.dts +++ /dev/null @@ -1,25 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; -/include/ "msm8226-v1.dtsi" -/include/ "msm8226-qrd.dtsi" - -/ { - model = "Qualcomm MSM 8226 QRD"; - compatible = "qcom,msm8226-qrd", "qcom,msm8226", "qcom,qrd"; - qcom,msm-id = <145 11 0>, - <158 11 0>, - <159 11 0>, - <198 11 0>, - <205 11 0>; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8226-v1.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8226-v1.dtsi deleted file mode 100644 index d471bece9..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8226-v1.dtsi +++ /dev/null @@ -1,19 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/* - * As a general rule, only version-specific property overrides should be placed - * inside this file. However, device definitions should be placed inside the - * msm8226.dtsi file. - */ - -/include/ "msm8226.dtsi" diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8226-v2-cdp.dts b/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8226-v2-cdp.dts deleted file mode 100644 index 2b18491d9..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8226-v2-cdp.dts +++ /dev/null @@ -1,25 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; -/include/ "msm8226-v2.dtsi" -/include/ "msm8226-cdp.dtsi" - -/ { - model = "Qualcomm MSM 8226v2 CDP"; - compatible = "qcom,msm8226-cdp", "qcom,msm8226", "qcom,cdp"; - qcom,msm-id = <145 1 0x20000>, - <158 1 0x20000>, - <159 1 0x20000>, - <198 1 0x20000>, - <205 1 0x20000>; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8226-v2-mtp.dts b/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8226-v2-mtp.dts deleted file mode 100644 index f15dd4cb9..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8226-v2-mtp.dts +++ /dev/null @@ -1,25 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; -/include/ "msm8226-v2.dtsi" -/include/ "msm8226-mtp.dtsi" - -/ { - model = "Qualcomm MSM 8226v2 MTP"; - compatible = "qcom,msm8226-mtp", "qcom,msm8226", "qcom,mtp"; - qcom,msm-id = <145 8 0x20000>, - <158 8 0x20000>, - <159 8 0x20000>, - <198 8 0x20000>, - <205 8 0x20000>; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8226-v2-qrd.dts b/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8226-v2-qrd.dts deleted file mode 100644 index 1a89d7894..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8226-v2-qrd.dts +++ /dev/null @@ -1,25 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; -/include/ "msm8226-v2.dtsi" -/include/ "msm8226-qrd.dtsi" - -/ { - model = "Qualcomm MSM 8226v2 QRD"; - compatible = "qcom,msm8226-qrd", "qcom,msm8226", "qcom,qrd"; - qcom,msm-id = <145 11 0x20000>, - <158 11 0x20000>, - <159 11 0x20000>, - <198 11 0x20000>, - <205 11 0x20000>; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8226-v2.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8226-v2.dtsi deleted file mode 100644 index d471bece9..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8226-v2.dtsi +++ /dev/null @@ -1,19 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/* - * As a general rule, only version-specific property overrides should be placed - * inside this file. However, device definitions should be placed inside the - * msm8226.dtsi file. - */ - -/include/ "msm8226.dtsi" diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8226.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8226.dtsi deleted file mode 100644 index 7c981043c..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8226.dtsi +++ /dev/null @@ -1,1248 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/include/ "skeleton.dtsi" - -/ { - model = "Qualcomm MSM 8226"; - compatible = "qcom,msm8226"; - interrupt-parent = <&intc>; - - aliases { - spi0 = &spi_0; - sdhc1 = &sdhc_1; /* SDC1 eMMC slot */ - sdhc2 = &sdhc_2; /* SDC2 SD card slot */ - }; - - memory { - secure_mem: secure_region { - linux,contiguous-region; - reg = <0 0x6D00000>; - label = "secure_mem"; - }; - - qsecom_mem: qsecom_region { - linux,contiguous-region; - reg = <0 0x780000>; - label = "qsecom_mem"; - }; - }; - - soc: soc { }; -}; - -/include/ "msm8226-ion.dtsi" -/include/ "msm8226-camera.dtsi" -/include/ "msm-gdsc.dtsi" -/include/ "msm8226-iommu.dtsi" -/include/ "msm8226-pm.dtsi" -/include/ "msm8226-smp2p.dtsi" -/include/ "msm8226-gpu.dtsi" -/include/ "msm8226-bus.dtsi" -/include/ "msm8226-mdss.dtsi" -/include/ "msm8226-coresight.dtsi" -/include/ "msm8226-iommu-domains.dtsi" - -&soc { - #address-cells = <1>; - #size-cells = <1>; - ranges; - - intc: interrupt-controller@f9000000 { - compatible = "qcom,msm-qgic2"; - interrupt-controller; - #interrupt-cells = <3>; - reg = <0xF9000000 0x1000>, - <0xF9002000 0x1000>; - }; - - msmgpio: gpio@fd510000 { - compatible = "qcom,msm-gpio"; - interrupt-controller; - #interrupt-cells = <2>; - reg = <0xfd510000 0x4000>; - gpio-controller; - #gpio-cells = <2>; - ngpio = <117>; - interrupts = <0 208 0>; - qcom,direct-connect-irqs = <8>; - }; - - qcom,mpm2-sleep-counter@fc4a3000 { - compatible = "qcom,mpm2-sleep-counter"; - reg = <0xfc4a3000 0x1000>; - clock-frequency = <32768>; - }; - - timer { - compatible = "arm,armv7-timer"; - interrupts = <1 2 0 1 3 0>; - clock-frequency = <19200000>; - }; - - 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 8 0x4>, - <0 7 0x4>; - reg = <0xf9021000 0x1000>, - <0xf9022000 0x1000>; - }; - - frame@f9023000 { - frame-number = <1>; - interrupts = <0 9 0x4>; - reg = <0xf9023000 0x1000>; - status = "disabled"; - }; - - frame@f9024000 { - frame-number = <2>; - interrupts = <0 10 0x4>; - reg = <0xf9024000 0x1000>; - status = "disabled"; - }; - - frame@f9025000 { - frame-number = <3>; - interrupts = <0 11 0x4>; - reg = <0xf9025000 0x1000>; - status = "disabled"; - }; - - frame@f9026000 { - frame-number = <4>; - interrupts = <0 12 0x4>; - reg = <0xf9026000 0x1000>; - status = "disabled"; - }; - - frame@f9027000 { - frame-number = <5>; - interrupts = <0 13 0x4>; - reg = <0xf9027000 0x1000>; - status = "disabled"; - }; - - frame@f9028000 { - frame-number = <6>; - interrupts = <0 14 0x4>; - reg = <0xf9028000 0x1000>; - status = "disabled"; - }; - }; - - qcom,vidc@fdc00000 { - compatible = "qcom,msm-vidc"; - reg = <0xfdc00000 0xff000>; - interrupts = <0 44 0>; - qcom,load-freq-tbl = <352800 160000000>, - <244800 133330000>, - <108000 66700000>; - qcom,hfi = "venus"; - qcom,bus-ports = <1>; - qcom,reg-presets = <0xE0024 0x0>, - <0x80124 0x3>, - <0xE0020 0x5555556>, - <0x800B0 0x10101001>, - <0x800B4 0x00101010>, - <0x800C0 0x1010100f>, - <0x800C4 0x00101010>, - <0x800D0 0x00000010>, - <0x800D4 0x00000010>, - <0x800D8 0x00000707>; - qcom,enc-ddr-ab-ib = <0 0>, - <129000 142000>, - <384000 422000>, - <866000 953000>; - qcom,dec-ddr-ab-ib = <0 0>, - <103000 134000>, - <268000 348000>, - <505000 657000>; - qcom,iommu-groups = <&venus_domain_ns &venus_domain_cp>; - qcom,iommu-group-buffer-types = <0xfff 0x1ff>; - qcom,buffer-type-tz-usage-table = <0x1 0x1>, - <0x1fe 0x2>; - qcom,max-hw-load = <352800>; /* 720p @ 30 + 1080p @ 30 */ - }; - - qcom,wfd { - compatible = "qcom,msm-wfd"; - }; - - serial@f991f000 { - compatible = "qcom,msm-lsuart-v14"; - reg = <0xf991f000 0x1000>; - interrupts = <0 109 0>; - status = "disabled"; - }; - - serial@f995e000 { - compatible = "qcom,msm-lsuart-v14"; - reg = <0xf995e000 0x1000>; - interrupts = <0 114 0>; - status = "disabled"; - }; - - qcom,msm-imem@fe805000 { - compatible = "qcom,msm-imem"; - reg = <0xfe805000 0x1000>; /* Address and size of IMEM */ - }; - - qcom,sps@f9984000 { - compatible = "qcom,msm_sps"; - reg = <0xf9984000 0x15000>, - <0xf9999000 0xb000>; - interrupts = <0 94 0>; - }; - - qcom,usbbam@f9a44000 { - compatible = "qcom,usb-bam-msm"; - reg = <0xf9a44000 0x11000>; - reg-names = "hsusb"; - interrupts = <0 135 0>; - interrupt-names = "hsusb"; - qcom,usb-bam-num-pipes = <16>; - qcom,usb-bam-fifo-baseaddr = <0xfe803000>; - qcom,ignore-core-reset-ack; - qcom,disable-clk-gating; - - qcom,pipe0 { - label = "hsusb-qdss-in-0"; - qcom,usb-bam-mem-type = <3>; - qcom,bam-type = <1>; - 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 = <0xf9a44000>; - qcom,dst-bam-pipe-index = <2>; - qcom,data-fifo-offset = <0x0>; - qcom,data-fifo-size = <0x600>; - qcom,descriptor-fifo-offset = <0x600>; - qcom,descriptor-fifo-size = <0x200>; - }; - }; - - usb_otg: usb@f9a55000 { - compatible = "qcom,hsusb-otg"; - reg = <0xf9a55000 0x400>; - interrupts = <0 134 0>, <0 140 0>; - interrupt-names = "core_irq", "async_irq"; - hsusb_vdd_dig-supply = <&pm8226_s1_corner>; - HSUSB_1p8-supply = <&pm8226_l10>; - HSUSB_3p3-supply = <&pm8226_l20>; - qcom,vdd-voltage-level = <1 5 7>; - - qcom,hsusb-otg-phy-init-seq = - <0x44 0x80 0x68 0x81 0x24 0x82 0x13 0x83 0xffffffff>; - qcom,hsusb-otg-phy-type = <2>; - qcom,hsusb-otg-mode = <1>; - qcom,hsusb-otg-otg-control = <2>; - qcom,hsusb-otg-disable-reset; - qcom,dp-manual-pullup; - - qcom,msm-bus,name = "usb"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <87 512 0 0>, - <87 512 60000 960000>; - }; - - android_usb@fe8050c8 { - compatible = "qcom,android-usb"; - reg = <0xfe8050c8 0xc8>; - qcom,android-usb-cdrom; - qcom,android-usb-swfi-latency = <1>; - }; - - wcd9xxx_intc: wcd9xxx-irq { - compatible = "qcom,wcd9xxx-irq"; - interrupt-controller; - #interrupt-cells = <1>; - interrupt-parent = <&msmgpio>; - interrupts = <68 0>; - interrupt-names = "cdc-int"; - }; - - slim_msm: slim@fe12f000 { - cell-index = <1>; - compatible = "qcom,slim-ngd"; - reg = <0xfe12f000 0x35000>, - <0xfe104000 0x20000>; - reg-names = "slimbus_physical", "slimbus_bam_physical"; - interrupts = <0 163 0>, <0 164 0>; - interrupt-names = "slimbus_irq", "slimbus_bam_irq"; - - tapan_codec { - compatible = "qcom,tapan-slim-pgd"; - elemental-addr = [00 01 E0 00 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>; - qcom,cdc-reset-gpio = <&msmgpio 72 0>; - - cdc-vdd-buck-supply = <&pm8226_s4>; - qcom,cdc-vdd-buck-voltage = <2100000 2100000>; - qcom,cdc-vdd-buck-current = <650000>; - - cdc-vdd-h-supply = <&pm8226_l6>; - qcom,cdc-vdd-h-voltage = <1800000 1800000>; - qcom,cdc-vdd-h-current = <25000>; - - cdc-vdd-px-supply = <&pm8226_l6>; - qcom,cdc-vdd-px-voltage = <1800000 1800000>; - qcom,cdc-vdd-px-current = <25000>; - - cdc-vdd-a-1p2v-supply = <&pm8226_l4>; - qcom,cdc-vdd-a-1p2v-voltage = <1200000 1200000>; - qcom,cdc-vdd-a-1p2v-current = <10000>; - - cdc-vdd-cx-supply = <&pm8226_l4>; - qcom,cdc-vdd-cx-voltage = <1200000 1200000>; - qcom,cdc-vdd-cx-current = <10000>; - - qcom,cdc-static-supplies = "cdc-vdd-buck", - "cdc-vdd-h", - "cdc-vdd-px", - "cdc-vdd-a-1p2v", - "cdc-vdd-cx"; - - qcom,cdc-micbias-ldoh-v = <0x3>; - qcom,cdc-micbias-cfilt1-mv = <1800>; - qcom,cdc-micbias-cfilt2-mv = <2700>; - 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-mclk-clk-rate = <9600000>; - qcom,cdc-slim-ifd = "tapan-slim-ifd"; - qcom,cdc-slim-ifd-elemental-addr = [00 00 E0 00 17 02]; - }; - }; - - qcom,msm-adsp-loader { - compatible = "qcom,adsp-loader"; - qcom,adsp-state = <0>; - }; - - sound { - compatible = "qcom,msm8226-audio-tapan"; - qcom,model = "msm8226-tapan-snd-card"; - qcom,tapan-mclk-clk-freq = <9600000>; - qcom,prim-auxpcm-gpio-clk = <&msmgpio 63 0>; - qcom,prim-auxpcm-gpio-sync = <&msmgpio 64 0>; - qcom,prim-auxpcm-gpio-din = <&msmgpio 65 0>; - qcom,prim-auxpcm-gpio-dout = <&msmgpio 66 0>; - qcom,prim-auxpcm-gpio-set = "prim-gpio-prim"; - }; - - qcom,msm-pcm { - compatible = "qcom,msm-pcm-dsp"; - qcom,msm-pcm-dsp-id = <0>; - }; - - qcom,msm-pcm-routing { - compatible = "qcom,msm-pcm-routing"; - }; - - qcom,msm-pcm-low-latency { - compatible = "qcom,msm-pcm-dsp"; - qcom,msm-pcm-dsp-id = <1>; - qcom,msm-pcm-low-latency; - }; - - qcom,msm-pcm-lpa { - compatible = "qcom,msm-pcm-lpa"; - }; - - qcom,msm-compr-dsp { - compatible = "qcom,msm-compr-dsp"; - }; - - qcom,msm-voip-dsp { - compatible = "qcom,msm-voip-dsp"; - }; - - qcom,msm-pcm-voice { - compatible = "qcom,msm-pcm-voice"; - }; - - qcom,msm-stub-codec { - compatible = "qcom,msm-stub-codec"; - }; - - qcom,msm-dai-fe { - compatible = "qcom,msm-dai-fe"; - }; - - qcom,msm-pcm-afe { - compatible = "qcom,msm-pcm-afe"; - }; - - qcom,msm-dai-q6-hdmi { - compatible = "qcom,msm-dai-q6-hdmi"; - qcom,msm-dai-q6-dev-id = <8>; - }; - - qcom,msm-dai-q6 { - compatible = "qcom,msm-dai-q6"; - qcom,msm-dai-q6-sb-0-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <16384>; - }; - - qcom,msm-dai-q6-sb-0-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <16385>; - }; - - qcom,msm-dai-q6-sb-1-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <16386>; - }; - - qcom,msm-dai-q6-sb-1-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <16387>; - }; - - qcom,msm-dai-q6-sb-3-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <16390>; - }; - - qcom,msm-dai-q6-sb-3-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <16391>; - }; - - qcom,msm-dai-q6-sb-4-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <16392>; - }; - - qcom,msm-dai-q6-sb-4-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <16393>; - }; - - qcom,msm-dai-q6-bt-sco-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <12288>; - }; - - qcom,msm-dai-q6-bt-sco-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <12289>; - }; - - qcom,msm-dai-q6-int-fm-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <12292>; - }; - - qcom,msm-dai-q6-int-fm-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <12293>; - }; - - qcom,msm-dai-q6-be-afe-pcm-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <224>; - }; - - qcom,msm-dai-q6-be-afe-pcm-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <225>; - }; - - qcom,msm-dai-q6-afe-proxy-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <241>; - }; - - qcom,msm-dai-q6-afe-proxy-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <240>; - }; - - qcom,msm-dai-q6-incall-record-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <32771>; - }; - - qcom,msm-dai-q6-incall-record-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <32772>; - }; - - qcom,msm-dai-q6-incall-music-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <32773>; - }; - }; - - qcom,msm-pcm-hostless { - compatible = "qcom,msm-pcm-hostless"; - }; - - qcom,msm-auxpcm { - compatible = "qcom,msm-auxpcm-resource"; - qcom,msm-cpudai-auxpcm-clk = "pcm_clk"; - 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-slot = <1>, <1>; - qcom,msm-cpudai-auxpcm-data = <0>, <0>; - qcom,msm-cpudai-auxpcm-pcm-clk-rate = <2048000>, <2048000>; - - qcom,msm-prim-auxpcm-rx { - qcom,msm-auxpcm-dev-id = <4106>; - compatible = "qcom,msm-auxpcm-dev"; - }; - - qcom,msm-prim-auxpcm-tx { - qcom,msm-auxpcm-dev-id = <4107>; - compatible = "qcom,msm-auxpcm-dev"; - }; - }; - - qcom,wcnss-wlan@fb000000 { - compatible = "qcom,wcnss_wlan"; - reg = <0xfb000000 0x280000>, - <0xf9011008 0x04>; - reg-names = "wcnss_mmio", "wcnss_fiq"; - interrupts = <0 145 0 0 146 0>; - interrupt-names = "wcnss_wlantx_irq", "wcnss_wlanrx_irq"; - - qcom,pronto-vddmx-supply = <&pm8226_l3>; - qcom,pronto-vddcx-supply = <&pm8226_s1>; - qcom,pronto-vddpx-supply = <&pm8226_l6>; - qcom,iris-vddxo-supply = <&pm8226_l10>; - qcom,iris-vddrfa-supply = <&pm8226_l24>; - qcom,iris-vddpa-supply = <&pm8226_l16>; - qcom,iris-vdddig-supply = <&pm8226_l24>; - - gpios = <&msmgpio 40 0>, <&msmgpio 41 0>, <&msmgpio 42 0>, <&msmgpio 43 0>, <&msmgpio 44 0>; - qcom,has-pronto-hw; - qcom,has-autodetect-xo; - }; - - qcom,msm-adsp-sensors { - compatible = "qcom,msm-adsp-sensors"; - qcom,src-id = <11>; - qcom,dst-id = <604>; - qcom,ab = <32505856>; - qcom,ib = <32505856>; - }; - - qcom,wdt@f9017000 { - compatible = "qcom,msm-watchdog"; - reg = <0xf9017000 0x1000>; - interrupts = <0 3 0>, <0 4 0>; - qcom,bark-time = <11000>; - qcom,pet-time = <10000>; - qcom,ipi-ping; - }; - - qcom,smem@fa00000 { - compatible = "qcom,smem"; - reg = <0xfa00000 0x100000>, - <0xf9011000 0x1000>, - <0xfc428000 0x4000>; - reg-names = "smem", "irq-reg-base", "aux-mem1"; - - qcom,smd-modem { - compatible = "qcom,smd"; - qcom,smd-edge = <0>; - qcom,smd-irq-offset = <0x8>; - qcom,smd-irq-bitmask = <0x1000>; - qcom,pil-string = "modem"; - interrupts = <0 25 1>; - }; - - qcom,smsm-modem { - compatible = "qcom,smsm"; - qcom,smsm-edge = <0>; - qcom,smsm-irq-offset = <0x8>; - qcom,smsm-irq-bitmask = <0x2000>; - interrupts = <0 26 1>; - }; - - qcom,smd-adsp { - compatible = "qcom,smd"; - qcom,smd-edge = <1>; - qcom,smd-irq-offset = <0x8>; - qcom,smd-irq-bitmask = <0x100>; - qcom,pil-string = "adsp"; - interrupts = <0 156 1>; - }; - - qcom,smsm-adsp { - compatible = "qcom,smsm"; - qcom,smsm-edge = <1>; - qcom,smsm-irq-offset = <0x8>; - qcom,smsm-irq-bitmask = <0x200>; - interrupts = <0 157 1>; - }; - - qcom,smd-wcnss { - compatible = "qcom,smd"; - qcom,smd-edge = <6>; - qcom,smd-irq-offset = <0x8>; - qcom,smd-irq-bitmask = <0x20000>; - qcom,pil-string = "wcnss"; - interrupts = <0 142 1>; - }; - - qcom,smsm-wcnss { - compatible = "qcom,smsm"; - qcom,smsm-edge = <6>; - qcom,smsm-irq-offset = <0x8>; - qcom,smsm-irq-bitmask = <0x80000>; - interrupts = <0 144 1>; - }; - - qcom,smd-rpm { - compatible = "qcom,smd"; - qcom,smd-edge = <15>; - qcom,smd-irq-offset = <0x8>; - qcom,smd-irq-bitmask = <0x1>; - interrupts = <0 168 1>; - qcom,irq-no-suspend; - }; - }; - - rpm_bus: qcom,rpm-smd { - compatible = "qcom,rpm-smd"; - rpm-channel-name = "rpm_requests"; - rpm-channel-type = <15>; /* SMD_APPS_RPM */ - }; - - qcom,bcl { - compatible = "qcom,bcl"; - }; - - sdcc1: qcom,sdcc@f9824000 { - cell-index = <1>; /* SDC1 eMMC slot */ - compatible = "qcom,msm-sdcc"; - - reg = <0xf9824000 0x800>, - <0xf9824800 0x100>, - <0xf9804000 0x7000>; - reg-names = "core_mem", "dml_mem", "bam_mem"; - interrupts = <0 123 0>, <0 137 0>; - interrupt-names = "core_irq", "bam_irq"; - - qcom,bus-width = <8>; - status = "disabled"; - }; - - sdhc_1: sdhci@f9824900 { - compatible = "qcom,sdhci-msm"; - reg = <0xf9824900 0x11c>, <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>; - status = "disabled"; - }; - - sdcc2: qcom,sdcc@f98a4000 { - cell-index = <2>; /* SDC2 SD card slot */ - compatible = "qcom,msm-sdcc"; - - reg = <0xf98a4000 0x800>, - <0xf98a4800 0x100>, - <0xf9884000 0x7000>; - reg-names = "core_mem", "dml_mem", "bam_mem"; - interrupts = <0 125 0>, <0 220 0>; - interrupt-names = "core_irq", "bam_irq"; - - qcom,bus-width = <4>; - 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"; - - qcom,bus-width = <4>; - status = "disabled"; - }; - - spmi_bus: qcom,spmi@fc4c0000 { - cell-index = <0>; - 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-ee = <0>; - qcom,pmic-arb-channel = <0>; - }; - - i2c@f9926000 { /* BLSP-1 QUP-4 */ - cell-index = <0>; - compatible = "qcom,i2c-qup"; - reg = <0xf9926000 0x1000>; - #address-cells = <1>; - #size-cells = <0>; - reg-names = "qup_phys_addr"; - interrupts = <0 98 0>; - interrupt-names = "qup_err_intr"; - qcom,i2c-bus-freq = <100000>; - }; - - i2c@f9927000 { /* BLSP1 QUP5 */ - cell-index = <5>; - compatible = "qcom,i2c-qup"; - #address-cells = <1>; - #size-cells = <0>; - reg-names = "qup_phys_addr"; - reg = <0xf9927000 0x1000>; - interrupt-names = "qup_err_intr"; - interrupts = <0 99 0>; - qcom,i2c-bus-freq = <384000>; - qcom,i2c-src-freq = <19200000>; - }; - - qcom,acpuclk@f9011050 { - compatible = "qcom,acpuclk-a7"; - reg = <0xf9011050 0x8>; - reg-names = "rcg_base"; - a7_cpu-supply = <&apc_vreg_corner>; - }; - - qcom,ocmem@fdd00000 { - compatible = "qcom,msm-ocmem"; - reg = <0xfdd00000 0x2000>, - <0xfdd02000 0x2000>, - <0xfe039000 0x400>, - <0xfec00000 0x20000>; - 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 = <0x1>; - qcom,ocmem-num-macros = <0x2>; - qcom,resource-type = <0x706d636f>; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0x0 0xfec00000 0x20000>; - - partition@0 { - reg = <0x0 0x20000>; - qcom,ocmem-part-name = "graphics"; - qcom,ocmem-part-min = <0x20000>; - }; - }; - - qcom,venus@fdce0000 { - compatible = "qcom,pil-venus"; - reg = <0xfdce0000 0x4000>, - <0xfdc80000 0x400>; - reg-names = "wrapper_base", "vbif_base"; - vdd-supply = <&gdsc_venus>; - - qcom,firmware-name = "venus"; - }; - - qcom,pronto@fb21b000 { - compatible = "qcom,pil-pronto"; - reg = <0xfb21b000 0x3000>, - <0xfc401700 0x4>, - <0xfd485300 0xc>; - reg-names = "pmu_base", "clk_base", "halt_base"; - interrupts = <0 149 1>; - vdd_pronto_pll-supply = <&pm8226_l8>; - - qcom,firmware-name = "wcnss"; - - /* GPIO inputs from wcnss */ - qcom,gpio-err-fatal = <&smp2pgpio_ssr_smp2p_4_in 0 0>; - qcom,gpio-err-ready = <&smp2pgpio_ssr_smp2p_4_in 1 0>; - qcom,gpio-proxy-unvote = <&smp2pgpio_ssr_smp2p_4_in 2 0>; - - /* GPIO output to wcnss */ - qcom,gpio-force-stop = <&smp2pgpio_ssr_smp2p_4_out 0 0>; - }; - - qcom,iris-fm { - compatible = "qcom,iris_fm"; - }; - - qcom,lpass@fe200000 { - compatible = "qcom,pil-q6v5-lpass"; - reg = <0xfe200000 0x00100>, - <0xfd485100 0x00010>, - <0xfc4016c0 0x00004>; - reg-names = "qdsp6_base", "halt_base", "restart_reg"; - vdd_cx-supply = <&pm8226_s1_corner>; - interrupts = <0 162 1>; - - 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>; - - /* GPIO output to lpass */ - qcom,gpio-force-stop = <&smp2pgpio_ssr_smp2p_2_out 0 0>; - }; - - qcom,mss@fc880000 { - compatible = "qcom,pil-q6v5-mss"; - reg = <0xfc880000 0x100>, - <0xfd485000 0x400>, - <0xfc820000 0x020>, - <0xfc401680 0x004>, - <0xfd485194 0x4>; - reg-names = "qdsp6_base", "halt_base", "rmb_base", - "restart_reg", "cxrail_bhs_reg"; - - interrupts = <0 24 1>; - vdd_cx-supply = <&pm8226_s1_corner>; - vdd_mx-supply = <&pm8226_l3>; - vdd_pll-supply = <&pm8226_l8>; - qcom,vdd_pll = <1800000>; - - qcom,is-loadable; - qcom,firmware-name = "mba"; - qcom,pil-self-auth; - - /* 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>; - }; - - qcom,msm-mem-hole { - compatible = "qcom,msm-mem-hole"; - qcom,memblock-remove = <0x6400000 0x9b00000>; /* Address and Size of Hole */ - }; - - tsens: tsens@fc4a8000 { - compatible = "qcom,msm-tsens"; - reg = <0xfc4a8000 0x2000>, - <0xfc4b8000 0x1000>; - reg-names = "tsens_physical", "tsens_eeprom_physical"; - interrupts = <0 184 0>; - qcom,sensors = <4>; - qcom,slope = <2901 2846 3038 2955>; - qcom,calib-mode = "fuse_map2"; - }; - - qcom,msm-thermal { - compatible = "qcom,msm-thermal"; - qcom,sensor-id = <0>; - qcom,poll-ms = <250>; - qcom,limit-temp = <60>; - qcom,temp-hysteresis = <10>; - qcom,freq-step = <2>; - qcom,freq-control-mask = <0xf>; - }; - - spi_0: 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 0xF000>; - interrupt-names = "spi_irq", "spi_bam_irq"; - interrupts = <0 95 0>, <0 238 0>; - spi-max-frequency = <19200000>; - - gpios = <&msmgpio 3 0>, /* CLK */ - <&msmgpio 1 0>, /* MISO */ - <&msmgpio 0 0>; /* MOSI */ - cs-gpios = <&msmgpio 22 0>; - - qcom,infinite-mode = <0>; - qcom,use-bam; - qcom,ver-reg-exists; - qcom,bam-consumer-pipe-index = <12>; - qcom,bam-producer-pipe-index = <13>; - }; - - qcom,bam_dmux@fc834000 { - compatible = "qcom,bam_dmux"; - reg = <0xfc834000 0x7000>; - interrupts = <0 29 1>; - }; - - qcom,msm-rtb { - compatible = "qcom,msm-rtb"; - qcom,memory-reservation-type = "EBI1"; - qcom,memory-reservation-size = <0x100000>; /* 1M EBI1 buffer */ - }; - - qcom,msm-rng@f9bff000 { - compatible = "qcom,msm-rng"; - reg = <0xf9bff000 0x200>; - qcom,msm-rng-iface-clk; - }; - - qcom,tz-log@fe805720 { - compatible = "qcom,tz-log"; - reg = <0x0fe805720 0x1000>; - }; - - jtag_mm0: jtagmm@fc33c000 { - compatible = "qcom,jtag-mm"; - reg = <0xfc33c000 0x1000>, - <0xfc330000 0x1000>; - reg-names = "etm-base","debug-base"; - }; - - jtag_mm1: jtagmm@fc33d000 { - compatible = "qcom,jtag-mm"; - reg = <0xfc33d000 0x1000>, - <0xfc332000 0x1000>; - reg-names = "etm-base","debug-base"; - }; - - jtag_mm2: jtagmm@fc33e000 { - compatible = "qcom,jtag-mm"; - reg = <0xfc33e000 0x1000>, - <0xfc334000 0x1000>; - reg-names = "etm-base","debug-base"; - }; - - jtag_mm3: jtagmm@fc33f000 { - compatible = "qcom,jtag-mm"; - reg = <0xfc33f000 0x1000>, - <0xfc336000 0x1000>; - reg-names = "etm-base","debug-base"; - }; - - qcom,ipc-spinlock@fd484000 { - compatible = "qcom,ipc-spinlock-sfpb"; - reg = <0xfd484000 0x400>; - qcom,num-locks = <8>; - }; - - qcom,qseecom@d980000 { - compatible = "qcom,qseecom"; - reg = <0xd980000 0x256000>; - reg-names = "secapp-region"; - qcom,disk-encrypt-pipe-pair = <2>; - qcom,hlos-ce-hw-instance = <0>; - qcom,qsee-ce-hw-instance = <0>; - qcom,msm-bus,name = "qseecom-noc"; - qcom,msm-bus,num-cases = <4>; - qcom,msm-bus,active-only = <0>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <55 512 0 0>, - <55 512 3936000 393600>, - <55 512 3936000 393600>, - <55 512 3936000 393600>; - }; - - qcom,qcrypto@fd404000 { - compatible = "qcom,qcrypto"; - reg = <0xfd400000 0x20000>, - <0xfd404000 0x8000>; - reg-names = "crypto-base","crypto-bam-base"; - interrupts = <0 207 0>; - qcom,bam-pipe-pair = <2>; - qcom,ce-hw-instance = <0>; - qcom,ce-hw-shared; - qcom,msm-bus,name = "qcrypto-noc"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,active-only = <0>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <55 512 0 0>, - <55 512 3936000 393600>; - }; - - qcom,qcedev@fd400000 { - compatible = "qcom,qcedev"; - reg = <0xfd400000 0x20000>, - <0xfd404000 0x8000>; - reg-names = "crypto-base","crypto-bam-base"; - interrupts = <0 207 0>; - qcom,bam-pipe-pair = <1>; - qcom,ce-hw-instance = <0>; - qcom,ce-hw-shared; - qcom,msm-bus,name = "qcedev-noc"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,active-only = <0>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <55 512 0 0>, - <55 512 3936000 393600>; - }; - - cpu-pmu { - compatible = "arm,cortex-a7-pmu"; - qcom,irq-is-percpu; - interrupts = <1 7 0xf00>; - }; -}; - -&gdsc_venus { - qcom,clock-names = "core_clk"; - status = "ok"; -}; - -&gdsc_mdss { - qcom,clock-names = "core_clk", "lut_clk"; - status = "ok"; -}; - -&gdsc_jpeg { - qcom,clock-names = "core_clk"; - status = "ok"; -}; - -&gdsc_vfe { - qcom,clock-names = "core_clk", "csi_clk", "cpp_clk"; - status = "ok"; -}; - -&gdsc_oxili_cx { - qcom,clock-names = "core_clk"; - status = "ok"; -}; - -&gdsc_usb_hsic { - status = "ok"; -}; - -/include/ "msm-pm8226-rpm-regulator.dtsi" -/include/ "msm-pm8226.dtsi" -/include/ "msm8226-regulator.dtsi" - -&pm8226_vadc { - chan@0 { - label = "usb_in"; - reg = <0>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <4>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@2 { - label = "vchg_sns"; - reg = <2>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <3>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@5 { - label = "vcoin"; - reg = <5>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <1>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@6 { - label = "vbat_sns"; - reg = <6>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <1>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@7 { - label = "vph_pwr"; - reg = <7>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <1>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@30 { - label = "batt_therm"; - reg = <0x30>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <1>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@31 { - label = "batt_id"; - reg = <0x31>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@b2 { - label = "xo_therm_pu2"; - reg = <0xb2>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <4>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@39 { - label = "usb_id_nopull"; - reg = <0x39>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; -}; - -&pm8226_adc_tm { - /* Channel Node */ - chan@30 { - label = "batt_therm"; - reg = <0x30>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <1>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <3>; - qcom,btm-channel-number = <0x48>; - }; - - chan@8 { - label = "die_temp"; - reg = <8>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <3>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <3>; - qcom,btm-channel-number = <0x68>; - }; - - chan@6 { - label = "vbat_sns"; - reg = <6>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <1>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <3>; - qcom,btm-channel-number = <0x70>; - }; - - chan@14 { - label = "pa_therm0"; - reg = <0x14>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - qcom,btm-channel-number = <0x78>; - qcom,thermal-node; - }; - - chan@17 { - label = "pa_therm1"; - reg = <0x17>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - qcom,btm-channel-number = <0x80>; - qcom,thermal-node; - }; -}; - -&pm8226_chg { - status = "ok"; - - qcom,chgr@1000 { - status = "ok"; - }; - - qcom,buck@1100 { - status = "ok"; - }; - - qcom,bat-if@1200 { - status = "ok"; - }; - - qcom,usb-chgpth@1300 { - status = "ok"; - }; - - qcom,boost@1500 { - status = "ok"; - }; - - qcom,chg-misc@1600 { - status = "ok"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8610-bus.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8610-bus.dtsi deleted file mode 100644 index d9bb6ab20..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8610-bus.dtsi +++ /dev/null @@ -1,1014 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -&soc { - msm-mmss-noc@fc478000 { - compatible = "msm-bus-fabric"; - reg = <0xfc478000 0x00004000>; - cell-id = <2048>; - label = "msm_mmss_noc"; - qcom,fabclk-dual = "bus_clk"; - qcom,fabclk-active = "bus_a_clk"; - qcom,ntieredslaves = <0>; - qcom,qos-freq = <4800>; - qcom,hw-sel = "NoC"; - qcom,rpm-en; - - coresight-id = <52>; - coresight-name = "coresight-mnoc"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_in0>; - coresight-child-ports = <5>; - - mas-mdp-port0 { - cell-id = <22>; - label = "mas-mdp-port0"; - qcom,masterp = <2>; - qcom,tier = <2>; - qcom,hw-sel = "NoC"; - qcom,perm-mode = "Fixed"; - qcom,mode = "Fixed"; - qcom,qport = <0>; - qcom,ws = <10000>; - qcom,mas-hw-id = <8>; - qcom,prio1 = <2>; - qcom,prio0 = <2>; - }; - - mas-vfe { - cell-id = <29>; - label = "mas-vfe"; - qcom,masterp = <3>; - qcom,tier = <2>; - qcom,hw-sel = "NoC"; - qcom,perm-mode = "Bypass"; - qcom,mode = "Bypass"; - qcom,ws = <10000>; - qcom,qport = <2>; - qcom,mas-hw-id = <11>; - qcom,prio1 = <2>; - qcom,prio0 = <2>; - }; - - mas-mdpe { - cell-id = <92>; - label = "mas-mdpe"; - qcom,masterp = <4>; - qcom,tier = <2>; - qcom,hw-sel = "NoC"; - qcom,perm-mode = "Fixed"; - qcom,mode = "Fixed"; - qcom,ws = <10000>; - qcom,qport = <7>; - qcom,mas-hw-id = <11>; - qcom,prio1 = <2>; - qcom,prio0 = <2>; - }; - - fab-bimc { - cell-id = <0>; - label = "fab-bimc"; - qcom,gateway; - qcom,slavep = <16>; - qcom,buswidth = <8>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <16>; - }; - - slv-camera-cfg { - cell-id = <589>; - label = "slv-camera-cfg"; - qcom,slavep = <0>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <3>; - }; - - slv-display-cfg { - cell-id = <590>; - label = "slv-display-cfg"; - qcom,slavep = <1>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <4>; - }; - - slv-cpr-cfg { - cell-id = <592>; - label = "slv-cpr-cfg"; - qcom,slavep = <3>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <6>; - }; - - slv-cpr-xpu-cfg { - cell-id = <593>; - label = "slv-cpr-xpu-cfg"; - qcom,slavep = <4>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <7>; - }; - - slv-misc-cfg { - cell-id = <594>; - label = "slv-misc-cfg"; - qcom,slavep = <6>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <8>; - }; - - slv-misc-xpu-cfg { - cell-id = <595>; - label = "slv-misc-xpu-cfg"; - qcom,slavep = <7>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <9>; - }; - - slv-gfx3d-cfg { - cell-id = <598>; - label = "slv-gfx3d-cfg"; - qcom,slavep = <9>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <11>; - }; - - slv-mmss-clk-cfg { - cell-id = <599>; - label = "slv-mmss-clk-cfg"; - qcom,slavep = <11>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <12>; - }; - - slv-mmss-clk-xpu-cfg { - cell-id = <600>; - label = "slv-mmss-clk-xpu-cfg"; - qcom,slavep = <12>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <13>; - }; - - slv-mnoc-mpu-cfg { - cell-id = <601>; - label = "slv-mnoc-mpu-cfg"; - qcom,slavep = <13>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <14>; - }; - - slv-onoc-mpu-cfg { - cell-id = <602>; - label = "slv-onoc-mpu-cfg"; - qcom,slavep = <14>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <15>; - }; - - slv-service-mnoc { - cell-id = <603>; - label = "slv-service-mnoc"; - qcom,slavep = <18>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <17>; - }; - - slv-dsi-cfg { - cell-id = <649>; - label = "slv-dsi-cfg"; - qcom,slavep = <19>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <19>; - }; - }; - - msm-sys-noc@fc460000 { - compatible = "msm-bus-fabric"; - reg = <0xfc460000 0x00004000>; - cell-id = <1024>; - label = "msm_sys_noc"; - qcom,fabclk-dual = "bus_clk"; - qcom,fabclk-active = "bus_a_clk"; - qcom,ntieredslaves = <0>; - qcom,qos-freq = <4800>; - qcom,hw-sel = "NoC"; - qcom,rpm-en; - - coresight-id = <50>; - coresight-name = "coresight-snoc"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_in0>; - coresight-child-ports = <3>; - - mas-lpass-ahb { - cell-id = <52>; - label = "mas-lpass-ahb"; - qcom,masterp = <0>; - qcom,tier = <2>; - qcom,mas-hw-id = <18>; - }; - - mas-qdss-bam { - cell-id = <53>; - label = "mas-qdss-bam"; - qcom,masterp = <1>; - qcom,tier = <2>; - qcom,mas-hw-id = <19>; - }; - - mas-snoc-cfg { - cell-id = <54>; - label = "mas-snoc-cfg"; - qcom,masterp = <2>; - qcom,tier = <2>; - qcom,mas-hw-id = <20>; - }; - - fab-bimc { - cell-id = <0>; - label= "fab-bimc"; - qcom,gateway; - qcom,slavep = <7>; - qcom,masterp = <3>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <21>; - qcom,slv-hw-id = <24>; - }; - - fab-cnoc { - cell-id = <5120>; - label = "fab-cnoc"; - qcom,gateway; - qcom,slavep = <8>; - qcom,masterp = <4>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <22>; - qcom,slv-hw-id = <25>; - }; - - fab-pnoc { - cell-id = <4096>; - label = "fab-pnoc"; - qcom,gateway; - qcom,slavep = <10>; - qcom,masterp = <10>; - qcom,buswidth = <8>; - qcom,qport = <8>; - qcom,mas-hw-id = <29>; - qcom,slv-hw-id = <28>; - qcom,mode = "Fixed"; - qcom,prio0 = <2>; - qcom,prio1 = <2>; - }; - - fab-ovnoc { - cell-id = <6144>; - label = "fab-ovnoc"; - qcom,gateway; - qcom,buswidth = <8>; - qcom,mas-hw-id = <53>; - qcom,slv-hw-id = <77>; - }; - - mas-crypto-core0 { - cell-id = <55>; - label = "mas-crypto-core0"; - qcom,masterp = <5>; - qcom,tier = <2>; - qcom,mas-hw-id = <23>; - qcom,hw-sel = "NoC"; - qcom,prio0 = <1>; - qcom,prio1 = <1>; - }; - - mas-mss { - cell-id = <38>; - label = "mas-mss"; - qcom,masterp = <7>; - qcom,tier = <2>; - qcom,mas-hw-id = <26>; - }; - - mas-mss-nav { - cell-id = <57>; - label = "mas-mss-nav"; - qcom,masterp = <8>; - qcom,tier = <2>; - qcom,mas-hw-id = <27>; - }; - - mas-ocmem-dma { - cell-id = <58>; - label = "mas-ocmem-dma"; - qcom,masterp = <9>; - qcom,tier = <2>; - qcom,mode = "Fixed"; - qcom,qport = <7>; - qcom,mas-hw-id = <28>; - }; - - mas-wcss { - cell-id = <59>; - label = "mas-wcss"; - qcom,masterp = <11>; - qcom,tier = <2>; - qcom,mas-hw-id = <30>; - }; - - mas-qdss-etr { - cell-id = <60>; - label = "mas-qdss-etr"; - qcom,masterp = <12>; - qcom,tier = <2>; - qcom,qport = <10>; - qcom,mode = "Fixed"; - qcom,mas-hw-id = <31>; - }; - - slv-ocmem { - cell-id = <604>; - label = "slv-gmem"; - qcom,slavep = <15>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <18>; - }; - - slv-ampss { - cell-id = <520>; - label = "slv-ampss"; - qcom,slavep = <1>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <20>; - }; - - slv-lpass { - cell-id = <522>; - label = "slv-lpass"; - qcom,slavep = <2>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <21>; - }; - - slv-wcss { - cell-id = <584>; - label = "slv-wcss"; - qcom,slavep = <6>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <23>; - }; - - slv-ocimem { - cell-id = <585>; - label = "slv-ocimem"; - qcom,slavep = <10>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <26>; - }; - - slv-service-snoc { - cell-id = <587>; - label = "slv-service-snoc"; - qcom,slavep = <11>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <29>; - }; - - slv-qdss-stm { - cell-id = <588>; - label = "slv-qdss-stm"; - qcom,slavep = <12>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <30>; - }; - - }; - - msm-periph-noc@fc468000 { - compatible = "msm-bus-fabric"; - reg = <0xfc468000 0x00004000>; - cell-id = <4096>; - label = "msm_periph_noc"; - qcom,fabclk-dual = "bus_clk"; - qcom,fabclk-active = "bus_a_clk"; - qcom,ntieredslaves = <0>; - qcom,hw-sel = "NoC"; - qcom,rpm-en; - - coresight-id = <54>; - coresight-name = "coresight-pnoc"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_in0>; - coresight-child-ports = <6>; - - mas-pnoc-cfg { - cell-id = <88>; - label = "mas-pnoc-cfg"; - qcom,masterp = <7>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <43>; - }; - - mas-sdcc-1 { - cell-id = <78>; - label = "mas-sdcc-1"; - qcom,masterp = <0>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <33>; - }; - - mas-sdcc-2 { - cell-id = <81>; - label = "mas-sdcc-2"; - qcom,masterp = <2>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <35>; - }; - - mas-blsp-1 { - cell-id = <86>; - label = "mas-blsp-1"; - qcom,masterp = <5>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <41>; - }; - - mas-usb-hs { - cell-id = <87>; - label = "mas-usb-hs"; - qcom,masterp = <6>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <42>; - }; - - fab-snoc { - cell-id = <1024>; - label = "fab-snoc"; - qcom,gateway; - qcom,slavep = <12>; - qcom,masterp = <8>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <45>; - qcom,mas-hw-id = <44>; - }; - - slv-sdcc-1 { - cell-id = <606>; - label = "slv-sdcc-1"; - qcom,slavep = <0>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <31>; - }; - - slv-sdcc-2 { - cell-id = <608>; - label = "slv-sdcc-2"; - qcom,slavep = <2>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <33>; - }; - - slv-blsp-1 { - cell-id = <613>; - label = "slv-blsp-1"; - qcom,slavep = <5>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <39>; - }; - - slv-usb-hs { - cell-id = <614>; - label = "slv-usb-hs"; - qcom,slavep = <6>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <40>; - }; - - slv-pdm { - cell-id = <615>; - label = "slv-pdm"; - qcom,slavep = <7>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <41>; - }; - - slv-periph-apu-cfg { - cell-id = <616>; - label = "slv-periph-apu-cfg"; - qcom,slavep = <8>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <42>; - }; - - slv-pnoc-mpu-cfg { - cell-id = <617>; - label = "slv-pnoc-mpu-cfg"; - qcom,slavep = <9>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <43>; - }; - - slv-prng { - cell-id = <618>; - label = "slv-prng"; - qcom,slavep = <10>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <44>; - }; - - slv-service-pnoc { - cell-id = <619>; - label = "slv-service-pnoc"; - qcom,slavep = <12>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <46>; - }; - - }; - - msm-config-noc@fc480000 { - compatible = "msm-bus-fabric"; - reg = <0xfc480000 0x00004000>; - cell-id = <5120>; - label = "msm_config_noc"; - qcom,fabclk-dual = "bus_clk"; - qcom,fabclk-active = "bus_a_clk"; - qcom,ntieredslaves = <0>; - qcom,hw-sel = "NoC"; - qcom,rpm-en; - - mas-rpm-inst { - cell-id = <72>; - label = "mas-rpm-inst"; - qcom,masterp = <0>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <45>; - }; - - mas-rpm-data { - cell-id = <73>; - label = "mas-rpm-data"; - qcom,masterp = <1>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <46>; - }; - - mas-rpm-sys { - cell-id = <74>; - label = "mas-rpm-sys"; - qcom,masterp = <2>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <47>; - }; - - mas-dehr { - cell-id = <75>; - label = "mas-dehr"; - qcom,masterp = <3>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <48>; - }; - - mas-qdss-dsp { - cell-id = <76>; - label = "mas-qdss-dap"; - qcom,masterp = <4>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <49>; - }; - - mas-spdm { - cell-id = <36>; - label = "mas-spdm"; - qcom,masterp = <5>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <50>; - }; - - mas-tic { - cell-id = <77>; - label = "mas-tic"; - qcom,masterp = <6>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <51>; - }; - - slv-clk-ctl { - cell-id = <620>; - label = "slv-clk-ctl"; - qcom,slavep = <1>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <47>; - }; - - slv-cnoc-mss { - cell-id = <621>; - label = "slv-cnoc-mss"; - qcom,slavep = <2>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <48>; - }; - - slv-security { - cell-id = <622>; - label = "slv-security"; - qcom,slavep = <3>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <49>; - }; - - slv-tcsr { - cell-id = <623>; - label = "slv-tcsr"; - qcom,slavep = <4>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <50>; - }; - - slv-tlmm { - cell-id = <624>; - label = "slv-tlmm"; - qcom,slavep = <5>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <51>; - }; - - slv-crypto-0-cfg { - cell-id = <625>; - label = "slv-crypto-0-cfg"; - qcom,slavep = <6>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <52>; - }; - - slv-imem-cfg { - cell-id = <627>; - label = "slv-imem-cfg"; - qcom,slavep = <7>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <54>; - }; - - slv-message-ram { - cell-id = <628>; - label = "slv-message-ram"; - qcom,slavep = <8>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <55>; - }; - - slv-bimc-cfg { - cell-id = <629>; - label = "slv-bimc-cfg"; - qcom,slavep = <9>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <56>; - }; - - slv-boot-rom { - cell-id = <630>; - label = "slv-boot-rom"; - qcom,slavep = <10>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <57>; - }; - - slv-pmic-arb { - cell-id = <632>; - label = "slv-pmic-arb"; - qcom,slavep = <12>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <59>; - }; - - slv-spdm-wrapper { - cell-id = <633>; - label = "slv-spdm-wrapper"; - qcom,slavep = <13>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <60>; - }; - - slv-dehr-cfg { - cell-id = <634>; - label = "slv-dehr-cfg"; - qcom,slavep = <14>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <61>; - }; - - slv-mpm { - cell-id = <536>; - label = "slv-mpm"; - qcom,slavep = <15>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <62>; - }; - - slv-qdss-cfg { - cell-id = <635>; - label = "slv-qdss-cfg"; - qcom,slavep = <16>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <63>; - }; - - slv-rbcpr-cfg { - cell-id = <636>; - label = "slv-rbcpr-cfg"; - qcom,slavep = <17>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <64>; - }; - - slv-rbcpr-qdss-apu-cfg { - cell-id = <637>; - label = "slv-rbcpr-qdss-apu-cfg"; - qcom,slavep = <18>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <65>; - }; - - fab-snoc { - cell-id = <1024>; - label = "fab-snoc"; - qcom,gateway; - qcom,slavep = <26>; - qcom,masterp = <7>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <52>; - qcom,slv-hw-id = <75>; - }; - - slv-cnoc-mnoc-mmss-cfg { - cell-id = <631>; - label = "slv-cnoc-mnoc-mmss-cfg"; - qcom,slavep = <11>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <58>; - }; - - slv-cnoc-mnoc-cfg { - cell-id = <640>; - label = "slv-cnoc-mnoc-cfg"; - qcom,slavep = <19>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <66>; - }; - - slv-pnoc-cfg { - cell-id = <641>; - label = "slv-pnoc-cfg"; - qcom,slavep = <21>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <69>; - }; - - slv-snoc-mpu-cfg { - cell-id = <638>; - label = "slv-snoc-mpu-cfg"; - qcom,slavep = <20>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <67>; - }; - - slv-snoc-cfg { - cell-id = <642>; - label = "slv-snoc-cfg"; - qcom,slavep = <22>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <70>; - }; - - slv-phy-apu-cfg { - cell-id = <644>; - label = "slv-phy-apu-cfg"; - qcom,slavep = <23>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <72>; - }; - - slv-ebi1-phy-cfg { - cell-id = <645>; - label = "slv-ebi1-phy-cfg"; - qcom,slavep = <24>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <73>; - }; - - slv-rpm { - cell-id = <534>; - label = "slv-rpm"; - qcom,slavep = <25>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <74>; - }; - - slv-service-cnoc { - cell-id = <646>; - label = "slv-service-cnoc"; - qcom,slavep = <27>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <76>; - }; - - }; - - msm-bimc@0xfc380000 { - compatible = "msm-bus-fabric"; - reg = <0xfc380000 0x0006A000>; - cell-id = <0>; - label = "msm_bimc"; - qcom,fabclk-dual = "mem_clk"; - qcom,fabclk-active = "mem_a_clk"; - qcom,ntieredslaves = <0>; - qcom,qos-freq = <4800>; - qcom,hw-sel = "BIMC"; - qcom,rpm-en; - - coresight-id = <55>; - coresight-name = "coresight-bimc"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_in1>; - coresight-child-ports = <3>; - - mas-ampss-m0 { - cell-id = <1>; - label = "mas-ampss-m0"; - qcom,masterp = <0>; - qcom,tier = <2>; - qcom,hw-sel = "BIMC"; - qcom,mode = "Fixed"; - qcom,qport = <0>; - qcom,ws = <10000>; - qcom,mas-hw-id = <0>; - qcom,prio-rd = <1>; - qcom,prio-wr = <1>; - qcom,prio-lvl = <1>; - }; - - mas-mss-proc { - cell-id = <65>; - label = "mas-mss-proc"; - qcom,masterp = <3>; - qcom,tier = <2>; - qcom,hw-sel = "RPM"; - qcom,mas-hw-id = <1>; - }; - - fab-mmss-noc { - cell-id = <2048>; - label = "fab_mmss_noc"; - qcom,masterp = <1>; - qcom,qport = <1>; - qcom,buswidth = <8>; - qcom,ws = <10000>; - qcom,mas-hw-id = <2>; - qcom,hw-sel = "BIMC"; - qcom,mode = "Bypass"; - }; - - fab-snoc { - cell-id = <1024>; - label = "fab-snoc"; - qcom,gateway; - qcom,slavep = <2>; - qcom,masterp = <2>; - qcom,qport = <2>; - qcom,buswidth = <8>; - qcom,ws = <10000>; - qcom,mas-hw-id = <3>; - qcom,slv-hw-id = <2>; - }; - - mas-lpass-proc { - cell-id = <11>; - label = "mas-lpass-proc"; - qcom,masterp = <4>; - qcom,tier = <2>; - qcom,qport = <4>; - qcom,mas-hw-id = <25>; - qcom,mode = "Fixed"; - qcom,prio0 = <1>; - qcom,prio1 = <1>; - }; - - mas-gfx3d { - cell-id = <26>; - label = "mas-gfx3d"; - qcom,masterp = <5>; - qcom,tier = <2>; - qcom,hw-sel = "BIMC"; - qcom,perm-mode = "Fixed"; - qcom,mode = "Fixed"; - qcom,ws = <10000>; - qcom,qport = <5>; - qcom,mas-hw-id = <6>; - }; - - - slv-ebi-ch0 { - cell-id = <512>; - label = "slv-ebi-ch0"; - qcom,slavep = <0>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <0>; - }; - }; - -}; - - diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8610-camera-sensor-cdp-mtp.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8610-camera-sensor-cdp-mtp.dtsi deleted file mode 100644 index d05726006..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8610-camera-sensor-cdp-mtp.dtsi +++ /dev/null @@ -1,116 +0,0 @@ -/* - * Copyright (c) 2013, 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. - */ - -&i2c { - - led_flash0: qcom,led-flash@60 { - cell-index = <0>; - reg = <0x60>; - qcom,slave-id = <0x60 0x00 0x0011>; - compatible = "qcom,led-flash"; - qcom,flash-name = "adp1600"; - qcom,flash-type = <1>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 18 0>, - <&msmgpio 19 0>; - qcom,gpio-flash-en = <0>; - qcom,gpio-flash-now = <1>; - qcom,gpio-req-tbl-num = <0 1>; - qcom,gpio-req-tbl-flags = <0 0>; - qcom,gpio-req-tbl-label = "FLASH_EN", - "FLASH_NOW"; - }; - - actuator0: qcom,actuator@6e { - cell-index = <3>; - reg = <0x6c>; - compatible = "qcom,actuator"; - qcom,cci-master = <0>; - }; - - qcom,camera@6f { - compatible = "qcom,ov8825"; - reg = <0x6f>; - qcom,slave-id = <0x6c 0x300a 0x8825>; - qcom,csiphy-sd-index = <0>; - qcom,csid-sd-index = <0>; - qcom,actuator-src = <&actuator0>; - qcom,led-flash-src = <&led_flash0>; - qcom,mount-angle = <90>; - qcom,sensor-name = "ov8825"; - cam_vdig-supply = <&pm8110_l2>; - cam_vana-supply = <&pm8110_l19>; - cam_vio-supply = <&pm8110_l14>; - cam_vaf-supply = <&pm8110_l16>; - qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana", - "cam_vaf"; - qcom,cam-vreg-type = <0 0 0 0>; - qcom,cam-vreg-min-voltage = <1200000 1800000 2850000 3000000>; - qcom,cam-vreg-max-voltage = <1200000 1800000 2850000 3000000>; - qcom,cam-vreg-op-mode = <200000 8000 80000 100000>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 13 0>, - <&msmgpio 21 0>, - <&msmgpio 20 0>; - qcom,gpio-reset = <1>; - qcom,gpio-standby = <2>; - qcom,gpio-req-tbl-num = <0 1 2>; - qcom,gpio-req-tbl-flags = <1 0 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1", - "CAM_STANDBY"; - qcom,csi-lane-assign = <0xe4>; - qcom,csi-lane-mask = <0x3>; - qcom,sensor-position = <0>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - }; - - qcom,camera@6d { - compatible = "qcom,ov9724"; - reg = <0x6d>; - qcom,slave-id = <0x20 0x0 0x9724>; - qcom,csiphy-sd-index = <1>; - qcom,csid-sd-index = <0>; - qcom,mount-angle = <90>; - qcom,sensor-name = "ov9724"; - cam_vdig-supply = <&pm8110_l4>; - cam_vana-supply = <&pm8110_l19>; - cam_vio-supply = <&pm8110_l14>; - qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana"; - qcom,cam-vreg-type = <0 1 0>; - qcom,cam-vreg-min-voltage = <1200000 0 2850000>; - qcom,cam-vreg-max-voltage = <1200000 0 2850000>; - qcom,cam-vreg-op-mode = <200000 0 80000>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 14 0>, - <&msmgpio 15 0>, - <&msmgpio 8 0>; - qcom,gpio-reset = <1>; - qcom,gpio-standby = <2>; - qcom,gpio-req-tbl-num = <0 1 2>; - qcom,gpio-req-tbl-flags = <1 0 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET", - "CAM_STANDBY"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 4000>; - qcom,csi-lane-assign = <0xe4>; - qcom,csi-lane-mask = <0x1>; - qcom,sensor-position = <1>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - status = "ok"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8610-camera.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8610-camera.dtsi deleted file mode 100644 index b1c94dd24..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8610-camera.dtsi +++ /dev/null @@ -1,80 +0,0 @@ -/* - * Copyright (c) 2013, 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. - */ - -&soc{ - qcom,msm-cam@fd8c0000 { - compatible = "qcom,msm-cam"; - reg = <0xfd8C0000 0x10000>; - reg-names = "msm-cam"; - }; - - qcom,csiphy@fda00c00 { - cell-index = <0>; - compatible = "qcom,csiphy"; - reg = <0xfda00c00 0x1f4>; - reg-names = "csiphy"; - interrupts = <0 78 0>; - interrupt-names = "csiphy"; - }; - - qcom,csiphy@fda01000 { - cell-index = <1>; - compatible = "qcom,csiphy"; - reg = <0xfda01000 0x1f4>; - reg-names = "csiphy"; - interrupts = <0 79 0>; - interrupt-names = "csiphy"; - }; - - qcom,csid@fda00000 { - cell-index = <0>; - compatible = "qcom,csid"; - reg = <0xfda00000 0x100>; - reg-names = "csid"; - interrupts = <0 50 0>; - interrupt-names = "csid"; - qcom,csi-vdd-voltage = <1200000>; - qcom,mipi-csi-vdd-supply = <&pm8110_l4>; - }; - - qcom,csid@fda00400 { - cell-index = <1>; - compatible = "qcom,csid"; - reg = <0xfda00400 0x100>; - reg-names = "csid"; - interrupts = <0 51 0>; - interrupt-names = "csid"; - qcom,csi-vdd-voltage = <1200000>; - qcom,mipi-csi-vdd-supply = <&pm8110_l4>; - }; - - qcom,ispif@fda00800 { - cell-index = <0>; - compatible = "qcom,ispif"; - reg = <0xfda00800 0x200>; - reg-names = "ispif"; - interrupts = <0 52 0>; - interrupt-names = "ispif"; - }; - - qcom,vfe@fde00000 { - cell-index = <0>; - compatible = "qcom,vfe32"; - reg = <0xfde00000 0x800>; - reg-names = "vfe", "vfe_vbif"; - interrupts = <0 49 0>; - interrupt-names = "vfe"; - vdd-supply = <&gdsc_vfe>; - }; - -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8610-cdp.dts b/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8610-cdp.dts deleted file mode 100644 index bbdc2b8df..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8610-cdp.dts +++ /dev/null @@ -1,396 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; - -/include/ "msm8610.dtsi" -/include/ "dsi-v2-panel-truly-wvga-video.dtsi" -/include/ "msm8610-camera-sensor-cdp-mtp.dtsi" - -/ { - model = "Qualcomm MSM 8610 CDP"; - compatible = "qcom,msm8610-cdp", "qcom,msm8610", "qcom,cdp"; - qcom,msm-id = <147 1 0>, <165 1 0>, <161 1 0>, <162 1 0>, - <163 1 0>, <164 1 0>, <166 1 0>; -}; - -&soc { - serial@f991e000 { - status = "ok"; - }; - - i2c@f9923000{ - atmel_mxt_ts@4a { - compatible = "atmel,mxt-ts"; - reg = <0x4a>; - interrupt-parent = <&msmgpio>; - interrupts = <1 0x2>; - vdd_ana-supply = <&pm8110_l19>; - vcc_i2c-supply = <&pm8110_l14>; - atmel,reset-gpio = <&msmgpio 0 0x00>; - atmel,irq-gpio = <&msmgpio 1 0x00>; - atmel,panel-coords = <0 0 508 880>; - atmel,display-coords = <0 0 480 800>; - atmel,i2c-pull-up; - atmel,no-force-update; - atmel,cfg_1 { - atmel,family-id = <0x81>; - atmel,variant-id = <0x15>; - atmel,version = <0x11>; - atmel,build = <0xaa>; - atmel,config = [ - /* Object 6, Instance = 0 */ - 00 00 00 00 00 00 - /* Object 38, Instance = 0 */ - 1D 01 00 0C 04 0D 00 00 - /* Object 7, Instance = 0 */ - 20 08 32 - /* Object 8, Instance = 0 */ - 19 00 14 14 FF 00 FF 00 00 00 - /* Object 9, Instance = 0 */ - 83 00 00 13 0B 00 20 32 01 03 - 00 32 05 30 0A 05 0A 00 70 03 - FC 01 00 36 2F 2C 00 00 40 00 - 00 0A 00 00 02 - /* Object 18, Instance = 0 */ - 00 00 - /* Object 19, Instance = 0 */ - 00 00 00 00 00 00 - /* Object 25, Instance = 0 */ - 03 00 18 79 A8 61 - /* Object 58, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 - /* Object 42, Instance = 0 */ - 00 00 00 00 00 00 00 00 - /* Object 46, Instance = 0 */ - 04 03 08 10 00 00 00 00 00 - /* Object 47, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - /* Object 48, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 - /* Object 55, Instance = 0 */ - 00 00 00 00 - ]; - }; - }; - }; - - gen-vkeys { - compatible = "qcom,gen-vkeys"; - label = "atmel_mxt_ts"; - qcom,disp-maxx = <480>; - qcom,disp-maxy = <800>; - qcom,panel-maxx = <508>; - qcom,panel-maxy = <880>; - qcom,key-codes = <158 102 139>; - qcom,y-offset = <35>; - }; - - gpio_keys { - compatible = "gpio-keys"; - input-name = "gpio-keys"; - - camera_snapshot { - label = "camera_snapshot"; - gpios = <&msmgpio 73 0x1>; - linux,input-type = <1>; - linux,code = <0x2fe>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - - camera_focus { - label = "camera_focus"; - gpios = <&msmgpio 74 0x1>; - linux,input-type = <1>; - linux,code = <0x210>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - - vol_up { - label = "volume_up"; - gpios = <&msmgpio 72 0x1>; - linux,input-type = <1>; - linux,code = <115>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - }; - - sound { - qcom,audio-routing = - "RX_BIAS", "MCLK", - "INT_LDO_H", "MCLK", - "MIC BIAS External", "Handset Mic", - "MIC BIAS Internal2", "Headset Mic", - "AMIC1", "MIC BIAS External", - "AMIC2", "MIC BIAS Internal2"; - }; -}; - -&i2c_cdc { - msm8x10_wcd_codec@0d{ - compatible = "qcom,msm8x10-wcd-i2c"; - reg = <0x0d>; - cdc-vdda-cp-supply = <&pm8110_s4>; - qcom,cdc-vdda-cp-voltage = <2150000 2150000>; - qcom,cdc-vdda-cp-current = <650000>; - - cdc-vdda-h-supply = <&pm8110_l6>; - qcom,cdc-vdda-h-voltage = <1800000 1800000>; - qcom,cdc-vdda-h-current = <250000>; - - cdc-vdd-px-supply = <&pm8110_l6>; - qcom,cdc-vdd-px-voltage = <1800000 1800000>; - qcom,cdc-vdd-px-current = <10000>; - - cdc-vdd-1p2v-supply = <&pm8110_l4>; - qcom,cdc-vdd-1p2v-voltage = <1200000 1200000>; - qcom,cdc-vdd-1p2v-current = <5000>; - - cdc-vdd-mic-bias-supply = <&pm8110_l20>; - qcom,cdc-vdd-mic-bias-voltage = <3075000 3075000>; - qcom,cdc-vdd-mic-bias-current = <25000>; - - qcom,cdc-micbias-cfilt-sel = <0x0>; - qcom,cdc-micbias-cfilt-mv = <1800000>; - qcom,cdc-mclk-clk-rate = <12288000>; - }; - - msm8x10_wcd_codec@77{ - compatible = "qcom,msm8x10-wcd-i2c"; - reg = <0x77>; - }; - - msm8x10_wcd_codec@66{ - compatible = "qcom,msm8x10-wcd-i2c"; - reg = <0x66>; - }; - - msm8x10_wcd_codec@55{ - compatible = "qcom,msm8x10-wcd-i2c"; - reg = <0x55>; - }; -}; - -&spmi_bus { - qcom,pm8110@0 { - qcom,leds@a100 { - status = "okay"; - qcom,led_mpp_2 { - label = "mpp"; - linux,name = "button-backlight"; - linux-default-trigger = "hr-trigger"; - qcom,default-state = "off"; - qcom,max-current = <40>; - qcom,id = <6>; - qcom,source-sel = <1>; - qcom,mode-ctrl = <0x60>; - qcom,mode = "manual"; - }; - }; - - qcom,leds@a200 { - status = "okay"; - qcom,led_mpp_3 { - label = "mpp"; - linux,name = "wled-backlight"; - linux,default-trigger = "bkl-trigger"; - qcom,default-state = "on"; - qcom,max-current = <40>; - qcom,id = <6>; - qcom,source-sel = <1>; - qcom,mode-ctrl = <0x10>; - qcom,mode = "manual"; - }; - }; - }; -}; - -&spmi_bus { - qcom,pm8110@1 { - qcom,vibrator@c000 { - status = "okay"; - qcom,vib-timeout-ms = <15000>; - qcom,vib-vtg-level-mV = <3100>; - }; - }; -}; - -&sdhc_1 { - vdd-supply = <&pm8110_l17>; - qcom,vdd-always-on; - qcom,vdd-lpm-sup; - qcom,vdd-voltage-level = <2900000 2900000>; - qcom,vdd-current-level = <200 400000>; - - vdd-io-supply = <&pm8110_l6>; - qcom,vdd-io-always-on; - qcom,vdd-io-lpm-sup; - qcom,vdd-io-voltage-level = <1800000 1800000>; - qcom,vdd-io-current-level = <200 60000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - qcom,bus-speed-mode = "HS200_1p8v", "DDR_1p8v"; - qcom,nonremovable; - - status = "ok"; -}; - -&sdhc_2 { - vdd-supply = <&pm8110_l18>; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <15000 400000>; - - vdd-io-supply = <&pm8110_l21>; - qcom,vdd-io-voltage-level = <1800000 2950000>; - qcom,vdd-io-current-level = <200 50000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - - #address-cells = <0>; - interrupt-parent = <&sdhc_2>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 125 0 - 1 &intc 0 221 0 - 2 &msmgpio 42 0x3>; - interrupt-names = "hc_irq", "pwr_irq", "status_irq"; - cd-gpios = <&msmgpio 42 0x1>; - - status = "ok"; -}; - -&pm8110_chg { - status = "ok"; - qcom,charging-disabled; - qcom,use-default-batt-values; - - qcom,chgr@1000 { - status = "ok"; - }; - - qcom,buck@1100 { - status = "ok"; - }; - - qcom,usb-chgpth@1300 { - status = "ok"; - }; - - qcom,chg-misc@1600 { - status = "ok"; - }; -}; - -&pm8110_gpios { - gpio@c000 { /* GPIO 1 */ - }; - - gpio@c100 { /* GPIO 2 */ - }; - - gpio@c200 { /* GPIO 3 */ - }; - - gpio@c300 { /* GPIO 4 */ - }; -}; - -&pm8110_mpps { - mpp@a000 { /* MPP 1 */ - }; - - mpp@a100 { /* MPP 2 */ - status = "disabled"; - }; - - mpp@a200 { /* MPP 3 */ - status = "disabled"; - }; - - mpp@a300 { /* MPP 4 */ - /* PA_THERM config */ - qcom,mode = <4>; /* AIN input */ - qcom,invert = <1>; /* Enable MPP */ - qcom,ain-route = <3>; /* AMUX 8 */ - qcom,master-en = <1>; - qcom,src-sel = <0>; /* Function constant */ - }; -}; - -/* CoreSight */ -&tpiu { - qcom,seta-gpios = <&msmgpio 4 0>, - <&msmgpio 5 0>, - <&msmgpio 6 0>, - <&msmgpio 7 0>, - <&msmgpio 22 0>, - <&msmgpio 23 0>, - <&msmgpio 24 0>, - <&msmgpio 25 0>, - <&msmgpio 26 0>, - <&msmgpio 27 0>, - <&msmgpio 28 0>, - <&msmgpio 29 0>, - <&msmgpio 30 0>, - <&msmgpio 31 0>, - <&msmgpio 94 0>, - <&msmgpio 95 0>, - <&msmgpio 96 0>, - <&msmgpio 97 0>; - qcom,seta-gpios-func = <9 9 8 11 2 2 2 2 2 2 3 2 3 3 4 4 4 4>; - qcom,seta-gpios-drv = <7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7>; - qcom,seta-gpios-pull = <0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0>; - qcom,seta-gpios-dir = <2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2>; - - qcom,setb-gpios = <&msmgpio 8 0>, - <&msmgpio 10 0>, - <&msmgpio 11 0>, - <&msmgpio 13 0>, - <&msmgpio 14 0>, - <&msmgpio 15 0>, - <&msmgpio 16 0>, - <&msmgpio 17 0>, - <&msmgpio 18 0>, - <&msmgpio 19 0>, - <&msmgpio 20 0>, - <&msmgpio 21 0>, - <&msmgpio 42 0>, - <&msmgpio 80 0>, - <&msmgpio 81 0>, - <&msmgpio 82 0>, - <&msmgpio 83 0>, - <&msmgpio 84 0>; - qcom,setb-gpios-func = <10 8 8 6 9 9 9 9 9 9 9 9 5 7 7 8 8 8>; - qcom,setb-gpios-drv = <7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7>; - qcom,setb-gpios-pull = <0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0>; - qcom,setb-gpios-dir = <2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2>; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8610-coresight.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8610-coresight.dtsi deleted file mode 100644 index 516522eb0..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8610-coresight.dtsi +++ /dev/null @@ -1,357 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -&soc { - tmc_etr: tmc@fc326000 { - compatible = "arm,coresight-tmc"; - reg = <0xfc326000 0x1000>, - <0xfc37c000 0x3000>; - reg-names = "tmc-base", "bam-base"; - - qcom,memory-reservation-type = "EBI1"; - qcom,memory-reservation-size = <0x100000>; /* 1M EBI1 buffer */ - - coresight-id = <0>; - coresight-name = "coresight-tmc-etr"; - coresight-nr-inports = <1>; - coresight-ctis = <&cti0 &cti8>; - }; - - tpiu: tpiu@fc320000 { - compatible = "arm,coresight-tpiu"; - reg = <0xfc320000 0x1000>; - reg-names = "tpiu-base"; - - coresight-id = <1>; - coresight-name = "coresight-tpiu"; - coresight-nr-inports = <1>; - - vdd-supply = <&pm8110_l18>; - - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <15000 400000>; - }; - - replicator: replicator@fc324000 { - compatible = "qcom,coresight-replicator"; - reg = <0xfc324000 0x1000>; - reg-names = "replicator-base"; - - coresight-id = <2>; - coresight-name = "coresight-replicator"; - coresight-nr-inports = <1>; - coresight-outports = <0 1>; - coresight-child-list = <&tmc_etr &tpiu>; - coresight-child-ports = <0 0>; - }; - - tmc_etf: tmc@fc325000 { - compatible = "arm,coresight-tmc"; - reg = <0xfc325000 0x1000>; - reg-names = "tmc-base"; - - coresight-id = <3>; - coresight-name = "coresight-tmc-etf"; - coresight-nr-inports = <1>; - coresight-outports = <0>; - coresight-child-list = <&replicator>; - coresight-child-ports = <0>; - coresight-default-sink; - coresight-ctis = <&cti0 &cti8>; - }; - - funnel_merg: funnel@fc323000 { - compatible = "arm,coresight-funnel"; - reg = <0xfc323000 0x1000>; - reg-names = "funnel-base"; - - coresight-id = <4>; - coresight-name = "coresight-funnel-merg"; - coresight-nr-inports = <2>; - coresight-outports = <0>; - coresight-child-list = <&tmc_etf>; - coresight-child-ports = <0>; - }; - - funnel_in0: funnel@fc321000 { - compatible = "arm,coresight-funnel"; - reg = <0xfc321000 0x1000>; - reg-names = "funnel-base"; - - coresight-id = <5>; - coresight-name = "coresight-funnel-in0"; - coresight-nr-inports = <8>; - coresight-outports = <0>; - coresight-child-list = <&funnel_merg>; - coresight-child-ports = <0>; - }; - - funnel_in1: funnel@fc322000 { - compatible = "arm,coresight-funnel"; - reg = <0xfc322000 0x1000>; - reg-names = "funnel-base"; - - coresight-id = <6>; - coresight-name = "coresight-funnel-in1"; - coresight-nr-inports = <8>; - coresight-outports = <0>; - coresight-child-list = <&funnel_merg>; - coresight-child-ports = <1>; - }; - - funnel_a7ss: funnel@fc355000 { - compatible = "arm,coresight-funnel"; - reg = <0xfc355000 0x1000>; - reg-names = "funnel-base"; - - coresight-id = <7>; - coresight-name = "coresight-funnel-a7ss"; - coresight-nr-inports = <4>; - coresight-outports = <0>; - coresight-child-list = <&funnel_in1>; - coresight-child-ports = <6>; - }; - - stm: stm@fc302000 { - compatible = "arm,coresight-stm"; - reg = <0xfc302000 0x1000>, - <0xfa280000 0x180000>; - reg-names = "stm-base", "stm-data-base"; - - coresight-id = <8>; - coresight-name = "coresight-stm"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_in0>; - coresight-child-ports = <7>; - }; - - etm0: etm@fc34c000 { - compatible = "arm,coresight-etm"; - reg = <0xfc34c000 0x1000>; - reg-names = "etm-base"; - - coresight-id = <9>; - coresight-name = "coresight-etm0"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_a7ss>; - coresight-child-ports = <0>; - - qcom,pc-save; - qcom,round-robin; - }; - - etm1: etm@fc34d000 { - compatible = "arm,coresight-etm"; - reg = <0xfc34d000 0x1000>; - reg-names = "etm-base"; - - coresight-id = <10>; - coresight-name = "coresight-etm1"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_a7ss>; - coresight-child-ports = <1>; - - qcom,pc-save; - qcom,round-robin; - }; - - etm2: etm@fc34e000 { - compatible = "arm,coresight-etm"; - reg = <0xfc34e000 0x1000>; - reg-names = "etm-base"; - - coresight-id = <11>; - coresight-name = "coresight-etm2"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_a7ss>; - coresight-child-ports = <2>; - - qcom,pc-save; - qcom,round-robin; - }; - - etm3: etm@fc34f000 { - compatible = "arm,coresight-etm"; - reg = <0xfc34f000 0x1000>; - reg-names = "etm-base"; - - coresight-id = <12>; - coresight-name = "coresight-etm3"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_a7ss>; - coresight-child-ports = <3>; - - qcom,pc-save; - qcom,round-robin; - }; - - csr: csr@fc301000 { - compatible = "qcom,coresight-csr"; - reg = <0xfc301000 0x1000>; - reg-names = "csr-base"; - - coresight-id = <13>; - coresight-name = "coresight-csr"; - coresight-nr-inports = <0>; - - qcom,blk-size = <1>; - }; - - cti0: cti@fc310000 { - compatible = "arm,coresight-cti"; - reg = <0xfc310000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <14>; - coresight-name = "coresight-cti0"; - coresight-nr-inports = <0>; - }; - - cti1: cti@fc311000 { - compatible = "arm,coresight-cti"; - reg = <0xfc311000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <15>; - coresight-name = "coresight-cti1"; - coresight-nr-inports = <0>; - }; - - cti2: cti@fc312000 { - compatible = "arm,coresight-cti"; - reg = <0xfc312000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <16>; - coresight-name = "coresight-cti2"; - coresight-nr-inports = <0>; - }; - - cti3: cti@fc313000 { - compatible = "arm,coresight-cti"; - reg = <0xfc313000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <17>; - coresight-name = "coresight-cti3"; - coresight-nr-inports = <0>; - }; - - cti4: cti@fc314000 { - compatible = "arm,coresight-cti"; - reg = <0xfc314000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <18>; - coresight-name = "coresight-cti4"; - coresight-nr-inports = <0>; - }; - - cti5: cti@fc315000 { - compatible = "arm,coresight-cti"; - reg = <0xfc315000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <19>; - coresight-name = "coresight-cti5"; - coresight-nr-inports = <0>; - }; - - cti6: cti@fc316000 { - compatible = "arm,coresight-cti"; - reg = <0xfc316000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <20>; - coresight-name = "coresight-cti6"; - coresight-nr-inports = <0>; - }; - - cti7: cti@fc317000 { - compatible = "arm,coresight-cti"; - reg = <0xfc317000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <21>; - coresight-name = "coresight-cti7"; - coresight-nr-inports = <0>; - }; - - cti8: cti@fc318000 { - compatible = "arm,coresight-cti"; - reg = <0xfc318000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <22>; - coresight-name = "coresight-cti8"; - coresight-nr-inports = <0>; - }; - - cti_cpu0: cti@fc351000 { - compatible = "arm,coresight-cti"; - reg = <0xfc351000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <23>; - coresight-name = "coresight-cti-cpu0"; - coresight-nr-inports = <0>; - }; - - cti_cpu1: cti@fc352000 { - compatible = "arm,coresight-cti"; - reg = <0xfc352000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <24>; - coresight-name = "coresight-cti-cpu1"; - coresight-nr-inports = <0>; - }; - - cti_cpu2: cti@fc353000 { - compatible = "arm,coresight-cti"; - reg = <0xfc353000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <25>; - coresight-name = "coresight-cti-cpu2"; - coresight-nr-inports = <0>; - }; - - cti_cpu3: cti@fc354000 { - compatible = "arm,coresight-cti"; - reg = <0xfc354000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <26>; - coresight-name = "coresight-cti-cpu3"; - coresight-nr-inports = <0>; - }; - - hwevent: hwevent@fd820018 { - compatible = "qcom,coresight-hwevent"; - reg = <0xfd820018 0x80>, - <0xf9011080 0x80>, - <0xfd4ab160 0x80>; - reg-names = "mmss-mux", "apcs-mux", "ppss-mux"; - - coresight-id = <27>; - coresight-name = "coresight-hwevent"; - coresight-nr-inports = <0>; - - qcom,hwevent-clks = "core_mmss_clk"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8610-gpu.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8610-gpu.dtsi deleted file mode 100644 index 7e3ee0dcb..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8610-gpu.dtsi +++ /dev/null @@ -1,167 +0,0 @@ -/* Copyright (c) 2013, 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. - */ -&soc { - msm_gpu: qcom,kgsl-3d0@fdc00000 { - label = "kgsl-3d0"; - compatible = "qcom,kgsl-3d0", "qcom,kgsl-3d"; - reg = <0xfdc00000 0x10000 - 0xfdc10000 0x10000>; - reg-names = "kgsl_3d0_reg_memory", "kgsl_3d0_shader_memory"; - interrupts = <0 33 0>; - interrupt-names = "kgsl_3d0_irq"; - qcom,id = <0>; - - qcom,chipid = <0x03000520>; - - qcom,initial-pwrlevel = <1>; - - qcom,idle-timeout = <8>; /* */ - qcom,strtstp-sleepwake; - qcom,clk-map = <0x000005E>; /* KGSL_CLK_CORE | - KGSL_CLK_IFACE | KGSL_CLK_MEM | KGSL_CLK_MEM_IFACE | - KGSL_CLK_ALT_MEM_IFACE */ - - /* Bus Scale Settings */ - qcom,msm-bus,name = "grp3d"; - qcom,msm-bus,num-cases = <4>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <26 512 0 0>, - <26 512 0 800000>, - <26 512 0 1600000>, - <26 512 0 2128000>; - - /* GDSC oxili regulators */ - vdd-supply = <&gdsc_oxili_cx>; - - /* IOMMU Data */ - iommu = <&gfx_iommu>; - - /* Power levels */ - qcom,gpu-pwrlevels { - #address-cells = <1>; - #size-cells = <0>; - - compatible = "qcom,gpu-pwrlevels"; - - qcom,gpu-pwrlevel@0 { - reg = <0>; - qcom,gpu-freq = <400000000>; - qcom,bus-freq = <3>; - qcom,io-fraction = <0>; - }; - - qcom,gpu-pwrlevel@1 { - reg = <1>; - qcom,gpu-freq = <300000000>; - qcom,bus-freq = <2>; - qcom,io-fraction = <33>; - }; - - qcom,gpu-pwrlevel@2 { - reg = <2>; - qcom,gpu-freq = <200000000>; - qcom,bus-freq = <2>; - qcom,io-fraction = <33>; - }; - - qcom,gpu-pwrlevel@3 { - reg = <3>; - qcom,gpu-freq = <150000000>; - qcom,bus-freq = <1>; - qcom,io-fraction = <100>; - }; - - qcom,gpu-pwrlevel@4 { - reg = <4>; - qcom,gpu-freq = <27000000>; - qcom,bus-freq = <0>; - qcom,io-fraction = <0>; - }; - }; - - /* DVCS Info */ - qcom,dcvs-core-info { - #address-cells = <1>; - #size-cells = <0>; - - compatible = "qcom,dcvs-core-info"; - - qcom,num-cores = <1>; - qcom,sensors = <0>; - - qcom,core-core-type = <1>; - - qcom,algo-disable-pc-threshold = <0>; - qcom,algo-em-win-size-min-us = <100000>; - qcom,algo-em-win-size-max-us = <300000>; - qcom,algo-em-max-util-pct = <97>; - qcom,algo-group-id = <95>; - qcom,algo-max-freq-chg-time-us = <100000>; - qcom,algo-slack-mode-dynamic = <100000>; - qcom,algo-slack-weight-thresh-pct = <0>; - qcom,algo-slack-time-min-us = <39000>; - qcom,algo-slack-time-max-us = <39000>; - qcom,algo-ss-win-size-min-us = <1000000>; - qcom,algo-ss-win-size-max-us = <1000000>; - qcom,algo-ss-util-pct = <95>; - qcom,algo-ss-no-corr-below-freq = <0>; - - qcom,energy-active-coeff-a = <2492>; - qcom,energy-active-coeff-b = <0>; - qcom,energy-active-coeff-c = <0>; - qcom,energy-leakage-coeff-a = <11>; - qcom,energy-leakage-coeff-b = <157150>; - qcom,energy-leakage-coeff-c = <0>; - qcom,energy-leakage-coeff-d = <0>; - - qcom,power-current-temp = <25>; - qcom,power-num-freq = <4>; - - qcom,dcvs-freq@0 { - reg = <0>; - qcom,freq = <0>; - qcom,voltage = <0>; - qcom,is_trans_level = <0>; - qcom,active-energy-offset = <100>; - qcom,leakage-energy-offset = <0>; - }; - - qcom,dcvs-freq@1 { - reg = <1>; - qcom,freq = <0>; - qcom,voltage = <0>; - qcom,is_trans_level = <0>; - qcom,active-energy-offset = <100>; - qcom,leakage-energy-offset = <0>; - }; - - qcom,dcvs-freq@2 { - reg = <2>; - qcom,freq = <0>; - qcom,voltage = <0>; - qcom,is_trans_level = <0>; - qcom,active-energy-offset = <100>; - qcom,leakage-energy-offset = <0>; - }; - - qcom,dcvs-freq@3 { - reg = <3>; - qcom,freq = <0>; - qcom,voltage = <0>; - qcom,is_trans_level = <0>; - qcom,active-energy-offset = <844545>; - qcom,leakage-energy-offset = <0>; - }; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8610-iommu-domains.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8610-iommu-domains.dtsi deleted file mode 100644 index 6f438972d..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8610-iommu-domains.dtsi +++ /dev/null @@ -1,36 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&soc { - qcom,iommu-domains { - compatible = "qcom,iommu-domains"; - - qcom,iommu-domain1 { - label = "lpass_secure"; - qcom,iommu-contexts = <&lpass_q6_fw>; - qcom,virtual-addr-pool = <0x00000000 0x0FFFFFFF - 0xF0000000 0x0FFFFFFF>; - }; - - qcom,iommu-domain2 { - label = "lpass_audio"; - qcom,iommu-contexts = <&lpass_audio_shared>; - qcom,virtual-addr-pool = <0x10000000 0x0FFFFFFF>; - }; - - q6_domain_ns:qcom,iommu-domain3 { - label = "lpass_video"; - qcom,iommu-contexts = <&lpass_video_shared>; - qcom,virtual-addr-pool = <0x20000000 0x0FFFFFFF>; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8610-ion.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8610-ion.dtsi deleted file mode 100644 index 456b60ced..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8610-ion.dtsi +++ /dev/null @@ -1,38 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&soc { - qcom,ion { - compatible = "qcom,msm-ion"; - #address-cells = <1>; - #size-cells = <0>; - - qcom,ion-heap@30 { /* SYSTEM HEAP */ - reg = <30>; - }; - - qcom,ion-heap@21 { /* SYSTEM CONTIG HEAP */ - reg = <21>; - }; - - qcom,ion-heap@25 { /* IOMMU HEAP */ - reg = <25>; - }; - - qcom,ion-heap@27 { /* QSECOM HEAP */ - compatible = "qcom,msm-ion-reserve"; - reg = <27>; - linux,contiguous-region = <&qsecom_mem>; - }; - }; -}; - diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8610-mdss.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8610-mdss.dtsi deleted file mode 100644 index af0e3e4e3..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8610-mdss.dtsi +++ /dev/null @@ -1,37 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&soc { - qcom,mdss_mdp@fd900000 { - compatible = "qcom,mdss_mdp3"; - reg = <0xfd900000 0x100000>; - reg-names = "mdp_phys"; - interrupts = <0 72 0>; - - mdss_fb0: qcom,mdss_fb_primary { - cell-index = <0>; - compatible = "qcom,mdss-fb"; - qcom,memory-reservation-type = "EBI1"; - qcom,memory-reservation-size = <0x300000>; - }; - }; - - mdss_dsi0: qcom,mdss_dsi@fdd00000 { - compatible = "qcom,msm-dsi-v2"; - label = "MDSS DSI CTRL->0"; - cell-index = <0>; - reg = <0xfdd00000 0x100000>; - interrupts = <0 30 0>; - vdda-supply = <&pm8110_l4>; - qcom,mdss-fb-map = <&mdss_fb0>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8610-mtp.dts b/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8610-mtp.dts deleted file mode 100644 index 9406a0911..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8610-mtp.dts +++ /dev/null @@ -1,354 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; - -/include/ "msm8610.dtsi" -/include/ "dsi-v2-panel-truly-wvga-video.dtsi" -/include/ "msm8610-camera-sensor-cdp-mtp.dtsi" - -/ { - model = "Qualcomm MSM 8610 MTP"; - compatible = "qcom,msm8610-mtp", "qcom,msm8610", "qcom,mtp"; - qcom,msm-id = <147 8 0>, <165 8 0>, <161 8 0>, <162 8 0>, - <163 8 0>, <164 8 0>, <166 8 0>; -}; - -&soc { - serial@f991e000 { - status = "ok"; - }; - - i2c@f9923000{ - atmel_mxt_ts@4a { - compatible = "atmel,mxt-ts"; - reg = <0x4a>; - interrupt-parent = <&msmgpio>; - interrupts = <1 0x2>; - vdd_ana-supply = <&pm8110_l19>; - vcc_i2c-supply = <&pm8110_l14>; - atmel,reset-gpio = <&msmgpio 0 0x00>; - atmel,irq-gpio = <&msmgpio 1 0x00>; - atmel,panel-coords = <0 0 508 880>; - atmel,display-coords = <0 0 480 800>; - atmel,i2c-pull-up; - atmel,no-force-update; - atmel,cfg_1 { - atmel,family-id = <0x81>; - atmel,variant-id = <0x15>; - atmel,version = <0x11>; - atmel,build = <0xaa>; - atmel,config = [ - /* Object 6, Instance = 0 */ - 00 00 00 00 00 00 - /* Object 38, Instance = 0 */ - 1D 01 00 0C 04 0D 00 00 - /* Object 7, Instance = 0 */ - 20 08 32 - /* Object 8, Instance = 0 */ - 19 00 14 14 FF 00 FF 00 00 00 - /* Object 9, Instance = 0 */ - 83 00 00 13 0B 00 20 32 01 03 - 00 32 05 30 0A 05 0A 00 70 03 - FC 01 00 36 2F 2C 00 00 40 00 - 00 0A 00 00 02 - /* Object 18, Instance = 0 */ - 00 00 - /* Object 19, Instance = 0 */ - 00 00 00 00 00 00 - /* Object 25, Instance = 0 */ - 03 00 18 79 A8 61 - /* Object 58, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 - /* Object 42, Instance = 0 */ - 00 00 00 00 00 00 00 00 - /* Object 46, Instance = 0 */ - 04 03 08 10 00 00 00 00 00 - /* Object 47, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - /* Object 48, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 - /* Object 55, Instance = 0 */ - 00 00 00 00 - ]; - }; - }; - }; - - gen-vkeys { - compatible = "qcom,gen-vkeys"; - label = "atmel_mxt_ts"; - qcom,disp-maxx = <480>; - qcom,disp-maxy = <800>; - qcom,panel-maxx = <508>; - qcom,panel-maxy = <880>; - qcom,key-codes = <158 102 139>; - qcom,y-offset = <35>; - }; - - gpio_keys { - compatible = "gpio-keys"; - input-name = "gpio-keys"; - - camera_snapshot { - label = "camera_snapshot"; - gpios = <&msmgpio 73 0x1>; - linux,input-type = <1>; - linux,code = <0x2fe>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - - camera_focus { - label = "camera_focus"; - gpios = <&msmgpio 74 0x1>; - linux,input-type = <1>; - linux,code = <0x210>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - - vol_up { - label = "volume_up"; - gpios = <&msmgpio 72 0x1>; - linux,input-type = <1>; - linux,code = <115>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - }; - - sound { - qcom,audio-routing = - "RX_BIAS", "MCLK", - "INT_LDO_H", "MCLK", - "MIC BIAS External", "Handset Mic", - "MIC BIAS Internal2", "Headset Mic", - "AMIC1", "MIC BIAS External", - "AMIC2", "MIC BIAS Internal2"; - }; -}; - -&i2c_cdc { - msm8x10_wcd_codec@0d{ - compatible = "qcom,msm8x10-wcd-i2c"; - reg = <0x0d>; - cdc-vdda-cp-supply = <&pm8110_s4>; - qcom,cdc-vdda-cp-voltage = <2150000 2150000>; - qcom,cdc-vdda-cp-current = <650000>; - - cdc-vdda-h-supply = <&pm8110_l6>; - qcom,cdc-vdda-h-voltage = <1800000 1800000>; - qcom,cdc-vdda-h-current = <250000>; - - cdc-vdd-px-supply = <&pm8110_l6>; - qcom,cdc-vdd-px-voltage = <1800000 1800000>; - qcom,cdc-vdd-px-current = <10000>; - - cdc-vdd-1p2v-supply = <&pm8110_l4>; - qcom,cdc-vdd-1p2v-voltage = <1200000 1200000>; - qcom,cdc-vdd-1p2v-current = <5000>; - - cdc-vdd-mic-bias-supply = <&pm8110_l20>; - qcom,cdc-vdd-mic-bias-voltage = <3075000 3075000>; - qcom,cdc-vdd-mic-bias-current = <25000>; - - qcom,cdc-micbias-cfilt-sel = <0x0>; - qcom,cdc-micbias-cfilt-mv = <1800000>; - qcom,cdc-mclk-clk-rate = <12288000>; - }; - - msm8x10_wcd_codec@77{ - compatible = "qcom,msm8x10-wcd-i2c"; - reg = <0x77>; - }; - - msm8x10_wcd_codec@66{ - compatible = "qcom,msm8x10-wcd-i2c"; - reg = <0x66>; - }; - - msm8x10_wcd_codec@55{ - compatible = "qcom,msm8x10-wcd-i2c"; - reg = <0x55>; - }; -}; - -&spmi_bus { - qcom,pm8110@0 { - qcom,leds@a100 { - status = "okay"; - qcom,led_mpp_2 { - label = "mpp"; - linux,name = "button-backlight"; - linux-default-trigger = "hr-trigger"; - qcom,default-state = "off"; - qcom,max-current = <40>; - qcom,id = <6>; - qcom,source-sel = <1>; - qcom,mode-ctrl = <0x60>; - qcom,mode = "manual"; - }; - }; - - qcom,leds@a200 { - status = "okay"; - qcom,led_mpp_3 { - label = "mpp"; - linux,name = "wled-backlight"; - linux,default-trigger = "bkl-trigger"; - qcom,default-state = "on"; - qcom,max-current = <40>; - qcom,id = <6>; - qcom,source-sel = <1>; - qcom,mode-ctrl = <0x10>; - qcom,mode = "manual"; - }; - }; - }; -}; - -&spmi_bus { - qcom,pm8110@1 { - qcom,vibrator@c000 { - status = "okay"; - qcom,vib-timeout-ms = <15000>; - qcom,vib-vtg-level-mV = <3100>; - }; - }; -}; - -&sdhc_1 { - vdd-supply = <&pm8110_l17>; - qcom,vdd-always-on; - qcom,vdd-lpm-sup; - qcom,vdd-voltage-level = <2900000 2900000>; - qcom,vdd-current-level = <200 400000>; - - vdd-io-supply = <&pm8110_l6>; - qcom,vdd-io-always-on; - qcom,vdd-io-lpm-sup; - qcom,vdd-io-voltage-level = <1800000 1800000>; - qcom,vdd-io-current-level = <200 60000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - qcom,bus-speed-mode = "HS200_1p8v", "DDR_1p8v"; - qcom,nonremovable; - - status = "ok"; -}; - -&sdhc_2 { - vdd-supply = <&pm8110_l18>; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <15000 400000>; - - vdd-io-supply = <&pm8110_l21>; - qcom,vdd-io-voltage-level = <1800000 2950000>; - qcom,vdd-io-current-level = <200 50000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - - #address-cells = <0>; - interrupt-parent = <&sdhc_2>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 125 0 - 1 &intc 0 221 0 - 2 &msmgpio 42 0x3>; - interrupt-names = "hc_irq", "pwr_irq", "status_irq"; - cd-gpios = <&msmgpio 42 0x1>; - - status = "ok"; -}; - -&pm8110_chg { - status = "ok"; - qcom,charging-disabled; - - qcom,chgr@1000 { - status = "ok"; - }; - - qcom,buck@1100 { - status = "ok"; - }; - - qcom,bat-if@1200 { - status = "ok"; - }; - - qcom,usb-chgpth@1300 { - status = "ok"; - }; - - qcom,chg-misc@1600 { - status = "ok"; - }; -}; - -&pm8110_gpios { - gpio@c000 { /* GPIO 1 */ - }; - - gpio@c100 { /* GPIO 2 */ - }; - - gpio@c200 { /* GPIO 3 */ - }; - - gpio@c300 { /* GPIO 4 */ - }; -}; - -&pm8110_mpps { - mpp@a000 { /* MPP 1 */ - }; - - mpp@a100 { /* MPP 2 */ - status = "disabled"; - }; - - mpp@a200 { /* MPP 3 */ - status = "disabled"; - }; - - mpp@a300 { /* MPP 4 */ - /* PA_THERM config */ - qcom,mode = <4>; /* AIN input */ - qcom,invert = <1>; /* Enable MPP */ - qcom,ain-route = <3>; /* AMUX 8 */ - qcom,master-en = <1>; - qcom,src-sel = <0>; /* Function constant */ - }; -}; - -&pm8110_bms { - status = "ok"; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8610-pm.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8610-pm.dtsi deleted file mode 100644 index 938b2aa2a..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8610-pm.dtsi +++ /dev/null @@ -1,391 +0,0 @@ -/* Copyright (c) 2013 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. - */ - -/include/ "skeleton.dtsi" - -&soc { - qcom,spm@f9089000 { - compatible = "qcom,spm-v2"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xf9089000 0x1000>; - qcom,core-id = <0>; - qcom,saw2-ver-reg = <0xfd0>; - qcom,saw2-cfg = <0x01>; - qcom,saw2-spm-dly= <0x3c102800>; - qcom,saw2-spm-ctl = <0x0>; - qcom,saw2-spm-cmd-wfi = [60 03 60 0b 0f]; - qcom,saw2-spm-cmd-spc = [00 20 10 80 30 90 5b 60 03 60 3b 76 76 - 0b 94 5b 80 10 06 26 30 0f]; - qcom,saw2-spm-cmd-pc = [00 20 10 80 30 90 5b 60 07 60 3b 76 76 - 0b 94 5b 80 10 06 26 30 0f]; - }; - - qcom,spm@f9099000 { - compatible = "qcom,spm-v2"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xf9099000 0x1000>; - qcom,core-id = <1>; - qcom,saw2-ver-reg = <0xfd0>; - qcom,saw2-cfg = <0x01>; - qcom,saw2-spm-dly= <0x3c102800>; - qcom,saw2-spm-ctl = <0x0>; - qcom,saw2-spm-cmd-wfi = [60 03 60 0b 0f]; - qcom,saw2-spm-cmd-spc = [00 20 10 80 30 90 5b 60 03 60 3b 76 76 - 0b 94 5b 80 10 06 26 30 0f]; - qcom,saw2-spm-cmd-pc = [00 20 10 80 30 90 5b 60 07 60 3b 76 76 - 0b 94 5b 80 10 06 26 30 0f]; - }; - - qcom,spm@f90a9000 { - compatible = "qcom,spm-v2"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xf90a9000 0x1000>; - qcom,core-id = <2>; - qcom,saw2-ver-reg = <0xfd0>; - qcom,saw2-cfg = <0x01>; - qcom,saw2-spm-dly= <0x3c102800>; - qcom,saw2-spm-ctl = <0x0>; - qcom,saw2-spm-cmd-wfi = [60 03 60 0b 0f]; - qcom,saw2-spm-cmd-spc = [00 20 10 80 30 90 5b 60 03 60 3b 76 76 - 0b 94 5b 80 10 06 26 30 0f]; - qcom,saw2-spm-cmd-pc = [00 20 10 80 30 90 5b 60 07 60 3b 76 76 - 0b 94 5b 80 10 06 26 30 0f]; - }; - - qcom,spm@f90b9000 { - compatible = "qcom,spm-v2"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xf90b9000 0x1000>; - qcom,core-id = <3>; - qcom,saw2-ver-reg = <0xfd0>; - qcom,saw2-cfg = <0x01>; - qcom,saw2-spm-dly= <0x3c102800>; - qcom,saw2-spm-ctl = <0x0>; - qcom,saw2-spm-cmd-wfi = [60 03 60 0b 0f]; - qcom,saw2-spm-cmd-spc = [00 20 10 80 30 90 5b 60 03 60 3b 76 76 - 0b 94 5b 80 10 06 26 30 0f]; - qcom,saw2-spm-cmd-pc = [00 20 10 80 30 90 5b 60 07 60 3b 76 76 - 0b 94 5b 80 10 06 26 30 0f]; - }; - - qcom,spm@f9012000 { - compatible = "qcom,spm-v2"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xf9012000 0x1000>; - qcom,core-id = <0xffff>; /* L2/APCS SAW */ - qcom,saw2-ver-reg = <0xfd0>; - qcom,saw2-cfg = <0x14>; - qcom,saw2-spm-dly= <0x3c102800>; - qcom,saw2-spm-ctl = <0x0>; - qcom,saw2-pmic-data0 = <0x02030080>; - qcom,saw2-pmic-data1 = <0x00030000>; - qcom,vctl-timeout-us = <50>; - qcom,vctl-port = <0x0>; - qcom,phase-port = <0x1>; - qcom,pfm-port = <0x2>; - qcom,saw2-spm-cmd-ret = [00 03 00 7b 0f]; - qcom,saw2-spm-cmd-pc = [00 32 b0 10 e0 d0 6b c0 42 f0 - 11 07 01 b0 4e c0 d0 12 e0 6b 50 02 32 - 50 f0 7b 0f]; /*APCS_PMIC_OFF_L2RAM_OFF*/ - }; - - qcom,lpm-resources { - compatible = "qcom,lpm-resources"; - #address-cells = <1>; - #size-cells = <0>; - - qcom,lpm-resources@0 { - reg = <0x0>; - qcom,name = "vdd-dig"; - qcom,type = <0x61706d73>; /* "smpa" */ - qcom,id = <0x01>; - qcom,key = <0x6e726f63>; /* "corn" */ - qcom,init-value = <3>; /* SVS SOC */ - }; - - qcom,lpm-resources@1 { - reg = <0x1>; - qcom,name = "vdd-mem"; - qcom,type = <0x616F646C>; /* "ldoa" */ - qcom,id = <0x03>; - qcom,key = <0x6e726f63>; /* "corn" */ - qcom,init-value = <3>; /* SVS SOC */ - }; - - qcom,lpm-resources@2 { - reg = <0x2>; - qcom,name = "pxo"; - qcom,type = <0x306b6c63>; /* "clk0" */ - qcom,id = <0x00>; - qcom,key = <0x62616e45>; /* "Enab" */ - qcom,init-value = "xo_on"; - }; - - qcom,lpm-resources@3 { - reg = <0x3>; - qcom,name = "l2"; - qcom,local-resource-type; - qcom,init-value = "l2_cache_retention"; - }; - }; - - qcom,lpm-levels { - compatible = "qcom,lpm-levels"; - #address-cells = <1>; - #size-cells = <0>; - - qcom,lpm-level@0 { - reg = <0x0>; - qcom,mode = "wfi"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_active"; - qcom,vdd-mem-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <4>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <1>; - qcom,ss-power = <784>; - qcom,energy-overhead = <190000>; - qcom,time-overhead = <100>; - }; - - qcom,lpm-level@1 { - reg = <0x1>; - qcom,mode = "standalone_pc"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_active"; - qcom,vdd-mem-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <4>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <3000>; - qcom,ss-power = <725>; - qcom,energy-overhead = <99500>; - qcom,time-overhead = <3130>; - }; - - qcom,lpm-level@2 { - reg = <0x2>; - qcom,mode = "pc"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_retention"; - qcom,vdd-mem-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <4>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <8000>; - qcom,ss-power = <138>; - qcom,energy-overhead = <1208400>; - qcom,time-overhead = <9200>; - }; - - qcom,lpm-level@3 { - reg = <0x3>; - qcom,mode = "pc"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_pc"; - qcom,vdd-mem-upper-bound = <4>; /* NORMAL */ - qcom,vdd-mem-lower-bound = <3>; /* SVS SOC */ - qcom,vdd-dig-upper-bound = <4>; /* NORMAL */ - qcom,vdd-dig-lower-bound = <3>; /* SVS SOC */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <9000>; - qcom,ss-power = <110>; - qcom,energy-overhead = <1250300>; - qcom,time-overhead = <9500>; - }; - - qcom,lpm-level@4 { - reg = <0x4>; - qcom,mode = "pc"; - qcom,xo = "xo_off"; - qcom,l2 = "l2_cache_pc"; - qcom,vdd-mem-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <4>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,latency-us = <16300>; - qcom,ss-power = <63>; - qcom,energy-overhead = <2128000>; - qcom,time-overhead = <24200>; - }; - - qcom,lpm-level@5 { - reg = <0x5>; - qcom,mode = "pc"; - qcom,xo = "xo_off"; - qcom,l2 = "l2_cache_pc"; - qcom,vdd-mem-upper-bound = <4>; /* NORMAL */ - qcom,vdd-mem-lower-bound = <3>; /* SVS SOC */ - qcom,vdd-dig-upper-bound = <4>; /* NORMAL */ - qcom,vdd-dig-lower-bound = <3>; /* SVS SOC */ - qcom,latency-us = <24000>; - qcom,ss-power = <10>; - qcom,energy-overhead = <3202600>; - qcom,time-overhead = <33000>; - }; - - qcom,lpm-level@6 { - reg = <0x6>; - qcom,mode = "pc"; - qcom,xo = "xo_off"; - qcom,l2 = "l2_cache_pc"; - qcom,vdd-mem-upper-bound = <3>; /* SVS SOC */ - qcom,vdd-mem-lower-bound = <1>; /* RETENTION */ - qcom,vdd-dig-upper-bound = <3>; /* SVS SOC */ - qcom,vdd-dig-lower-bound = <1>; /* RETENTION */ - qcom,latency-us = <26000>; - qcom,ss-power = <2>; - qcom,energy-overhead = <4252000>; - qcom,time-overhead = <38000>; - }; - }; - - qcom,pm-boot { - compatible = "qcom,pm-boot"; - qcom,mode = "tz"; - }; - - qcom,mpm@fc4281d0 { - compatible = "qcom,mpm-v2"; - reg = <0xfc4281d0 0x1000>, /* MSM_RPM_MPM_BASE 4K */ - <0xf9011008 0x4>; /* MSM_APCS_GCC_BASE 4K */ - reg-names = "vmpm", "ipc"; - interrupts = <0 171 1>; - - qcom,ipc-bit-offset = <1>; - - qcom,gic-parent = <&intc>; - qcom,gic-map = <47 172>, /* usb2_hsic_async_wakeup_irq */ - <53 104>, /* mdss_irq */ - <62 222>, /* ee0_krait_hlos_spmi_periph_irq */ - <2 216>, /* tsens_upper_lower_int */ - <0xff 56>, /* q6_wdog_expired_irq */ - <0xff 57>, /* mss_to_apps_irq(0) */ - <0xff 58>, /* mss_to_apps_irq(1) */ - <0xff 59>, /* mss_to_apps_irq(2) */ - <0xff 60>, /* mss_to_apps_irq(3) */ - <0xff 61>, /* mss_a2_bam_irq */ - <0xff 173>, /* o_wcss_apss_smd_hi */ - <0xff 174>, /* o_wcss_apss_smd_med */ - <0xff 175>, /* o_wcss_apss_smd_low */ - <0xff 176>, /* o_wcss_apss_smsm_irq */ - <0xff 177>, /* o_wcss_apss_wlan_data_xfer_done */ - <0xff 178>, /* o_wcss_apss_wlan_rx_data_avail */ - <0xff 179>, /* o_wcss_apss_asic_intr - <0xff 181>, /* o_wcss_apss_wdog_bite_and_reset_rdy */ - <0xff 161>, /* lpass_irq_out_spare[4] / - <0xff 162>, /* lpass_irq_out_spare[5]*/ - <0xff 234>, /* lpass_irq_out_spare[6]*/ - <0xff 235>, /* lpass_irq_out_spare[7]*/ - <0xff 188>, /* lpass_irq_out_apcs(0) */ - <0xff 189>, /* lpass_irq_out_apcs(1) */ - <0xff 190>, /* lpass_irq_out_apcs(2) */ - <0xff 191>, /* lpass_irq_out_apcs(3) */ - <0xff 192>, /* lpass_irq_out_apcs(4) */ - <0xff 194>, /* lpass_irq_out_apcs(6) */ - <0xff 200>, /* rpm_ipc(4) */ - <0xff 201>, /* rpm_ipc(5) */ - <0xff 202>, /* rpm_ipc(6) */ - <0xff 203>, /* rpm_ipc(7) */ - <0xff 204>, /* rpm_ipc(24) */ - <0xff 205>, /* rpm_ipc(25) */ - <0xff 206>, /* rpm_ipc(26) */ - <0xff 207>, /* rpm_ipc(27) */ - <0xff 258>, /* rpm_ipc(28) */ - <0xff 259>, /* rpm_ipc(29) */ - <0xff 275>, /* rpm_ipc(30) */ - <0xff 276>, /* rpm_ipc(31) */ - <0xff 269>, /* rpm_wdog_expired_irq */ - <0xff 240>; /* summary_irq_kpss */ - - qcom,gpio-parent = <&msmgpio>; - qcom,gpio-map = <3 1>, - <4 4 >, - <5 5 >, - <6 9 >, - <7 13>, - <8 17>, - <9 21>, - <10 27>, - <11 29>, - <12 31>, - <13 33>, - <14 35>, - <15 37>, - <16 38>, - <17 39>, - <18 41>, - <19 46>, - <20 48>, - <21 49>, - <22 50>, - <23 51>, - <24 52>, - <25 54>, - <26 62>, - <27 63>, - <28 64>, - <29 65>, - <30 66>, - <31 67>, - <32 68>, - <33 69>, - <34 71>, - <35 72>, - <36 106>, - <37 107>, - <38 108>, - <39 109>, - <40 110>, - <54 111>, - <55 113>; - }; - - qcom,pm-8x60@fe805664 { - compatible = "qcom,pm-8x60"; - reg = <0xfe805664 0x40>; - qcom,pc-mode = "tz_l2_int"; - qcom,use-sync-timer; - qcom,pc-resets-timer; - }; - - qcom,rpm-log@fc19dc00 { - compatible = "qcom,rpm-log"; - reg = <0xfc19dc00 0x4000>; - qcom,rpm-addr-phys = <0xfc000000>; - qcom,offset-version = <4>; - qcom,offset-page-buffer-addr = <36>; - qcom,offset-log-len = <40>; - qcom,offset-log-len-mask = <44>; - qcom,offset-page-indices = <56>; - }; - - qcom,rpm-stats@fc19dba0 { - compatible = "qcom,rpm-stats"; - reg = <0xfc19dba0 0x1000>; - reg-names = "phys_addr_base"; - qcom,sleep-stats-version = <2>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8610-qrd.dts b/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8610-qrd.dts deleted file mode 100644 index 5f9365a2a..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8610-qrd.dts +++ /dev/null @@ -1,267 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; - -/include/ "msm8610.dtsi" -/include/ "dsi-v2-panel-hx8379a-wvga-video.dtsi" - -/ { - model = "Qualcomm MSM 8610 QRD"; - compatible = "qcom,msm8610-qrd", "qcom,msm8610", "qcom,qrd"; - qcom,msm-id = <147 11 0>, <165 11 0>, <161 11 0>, <162 11 0>, - <163 11 0>, <164 11 0>, <166 11 0>; -}; - -&soc { - i2c@f9923000{ - focaltech@38{ - compatible = "focaltech,5x06"; - reg = <0x38>; - interrupt-parent = <&msmgpio>; - interrupts = <1 0x2>; - vdd-supply = <&pm8110_l19>; - vcc_i2c-supply = <&pm8110_l14>; - focaltech,family-id = <0x06>; - focaltech,reset-gpio = <&msmgpio 0 0x00>; - focaltech,irq-gpio = <&msmgpio 1 0x00>; - focaltech,display-coords = <0 0 480 800>; - focaltech,panel-coords = <0 0 480 800>; - focaltech,button-map= <139 102 158>; - focaltech,no-force-update; - focaltech,i2c-pull-up; - }; - }; - - gen-vkeys { - compatible = "qcom,gen-vkeys"; - label = "ft5x06_ts"; - qcom,disp-maxx = <480>; - qcom,disp-maxy = <800>; - qcom,panel-maxx = <481>; - qcom,panel-maxy = <940>; - qcom,key-codes = <139 0 102 158 0 0 0>; - qcom,y-offset = <0>; - }; - serial@f991e000 { - status = "ok"; - }; - - gpio_keys { - compatible = "gpio-keys"; - input-name = "gpio-keys"; - - camera_snapshot { - label = "camera_snapshot"; - gpios = <&msmgpio 73 0x1>; - linux,input-type = <1>; - linux,code = <0x2fe>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - - camera_focus { - label = "camera_focus"; - gpios = <&msmgpio 74 0x1>; - linux,input-type = <1>; - linux,code = <0x210>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - - vol_up { - label = "volume_up"; - gpios = <&msmgpio 72 0x1>; - linux,input-type = <1>; - linux,code = <115>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - }; - - i2c@f9927000 { - msm8x10_wcd_codec@0d{ - compatible = "qcom,msm8x10-wcd-i2c"; - reg = <0x0d>; - cdc-vdda-cp-supply = <&pm8110_s4>; - qcom,cdc-vdda-cp-voltage = <2150000 2150000>; - qcom,cdc-vdda-cp-current = <650000>; - - cdc-vdda-h-supply = <&pm8110_l6>; - qcom,cdc-vdda-h-voltage = <1800000 1800000>; - qcom,cdc-vdda-h-current = <250000>; - - cdc-vdd-px-supply = <&pm8110_l6>; - qcom,cdc-vdd-px-voltage = <1800000 1800000>; - qcom,cdc-vdd-px-current = <10000>; - - cdc-vdd-1p2v-supply = <&pm8110_l4>; - qcom,cdc-vdd-1p2v-voltage = <1200000 1200000>; - qcom,cdc-vdd-1p2v-current = <5000>; - - cdc-vdd-mic-bias-supply = <&pm8110_l20>; - qcom,cdc-vdd-mic-bias-voltage = <3075000 3075000>; - qcom,cdc-vdd-mic-bias-current = <25000>; - - qcom,cdc-micbias-cfilt-sel = <0x0>; - qcom,cdc-micbias-cfilt-mv = <1800000>; - qcom,cdc-mclk-clk-rate = <12288000>; - }; - - msm8x10_wcd_codec@77{ - compatible = "qcom,msm8x10-wcd-i2c"; - reg = <0x77>; - }; - - msm8x10_wcd_codec@66{ - compatible = "qcom,msm8x10-wcd-i2c"; - reg = <0x66>; - }; - - msm8x10_wcd_codec@55{ - compatible = "qcom,msm8x10-wcd-i2c"; - reg = <0x55>; - }; - }; - - sound { - qcom,audio-routing = - "RX_BIAS", "MCLK", - "INT_LDO_H", "MCLK", - "MIC BIAS Internal1", "Handset Mic", - "MIC BIAS Internal2", "Headset Mic", - "AMIC1", "MIC BIAS Internal1", - "AMIC2", "MIC BIAS Internal2"; - }; -}; - -&spmi_bus { - qcom,pm8110@0 { - qcom,leds@a100 { - status = "okay"; - qcom,led_mpp_2 { - label = "mpp"; - linux,name = "wled-homerow"; - linux-default-trigger = "hr-trigger"; - qcom,default-state = "off"; - qcom,max-current = <40>; - qcom,id = <6>; - qcom,source-sel = <1>; - qcom,mode-ctrl = <0x61>; - }; - }; - - qcom,leds@a200 { - status = "okay"; - qcom,led_mpp_3 { - label = "mpp"; - linux,name = "wled-backlight"; - linux,default-trigger = "bkl-trigger"; - qcom,default-state = "on"; - qcom,max-current = <40>; - qcom,id = <6>; - qcom,source-sel = <1>; - qcom,mode-ctrl = <0x10>; - }; - }; - }; -}; - -&spmi_bus { - qcom,pm8110@1 { - qcom,vibrator@c000 { - status = "okay"; - qcom,vib-timeout-ms = <15000>; - qcom,vib-vtg-level-mV = <3100>; - }; - }; -}; - -&sdhc_1 { - vdd-supply = <&pm8110_l17>; - qcom,vdd-always-on; - qcom,vdd-lpm-sup; - qcom,vdd-voltage-level = <2900000 2900000>; - qcom,vdd-current-level = <200 400000>; - - vdd-io-supply = <&pm8110_l6>; - qcom,vdd-io-always-on; - qcom,vdd-io-voltage-level = <1800000 1800000>; - qcom,vdd-io-current-level = <200 60000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - qcom,bus-speed-mode = "HS200_1p8v", "DDR_1p8v"; - qcom,nonremovable; - - status = "ok"; -}; - -&sdhc_2 { - vdd-supply = <&pm8110_l18>; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <15000 400000>; - - vdd-io-supply = <&pm8110_l21>; - qcom,vdd-io-always-on; - qcom,vdd-io-lpm-sup; - qcom,vdd-io-voltage-level = <1800000 2950000>; - qcom,vdd-io-current-level = <200 50000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - - #address-cells = <0>; - interrupt-parent = <&sdhc_2>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 125 0 - 1 &intc 0 221 0 - 2 &msmgpio 42 0x3>; - interrupt-names = "hc_irq", "pwr_irq", "status_irq"; - cd-gpios = <&msmgpio 42 0x1>; - - status = "ok"; -}; - -&pm8110_chg { - status = "ok"; - - qcom,chgr@1000 { - status = "ok"; - }; - - qcom,buck@1100 { - status = "ok"; - }; - - qcom,bat-if@1200 { - status = "ok"; - }; - - qcom,usb-chgpth@1300 { - status = "ok"; - }; - - qcom,chg-misc@1600 { - status = "ok"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8610-regulator.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8610-regulator.dtsi deleted file mode 100644 index 09520c537..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8610-regulator.dtsi +++ /dev/null @@ -1,358 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/* SPM controlled regulators */ - -&spmi_bus { - qcom,pm8110@1 { - pm8110_s2: spm-regulator@1700 { - compatible = "qcom,spm-regulator"; - regulator-name = "8110_s2"; - reg = <0x1700 0x100>; - regulator-min-microvolt = <900000>; - regulator-max-microvolt = <1350000>; - }; - }; -}; - -/* CPR controlled regulator */ - -&soc { - apc_vreg_corner: regulator@f9018000 { - status = "okay"; - compatible = "qcom,cpr-regulator"; - reg = <0xf9018000 0x1000>, <0xf9011064 4>, <0xfc4b80b0 8>, - <0xfc4bc450 16>; - reg-names = "rbcpr", "rbcpr_clk", "pvs_efuse", "cpr_efuse"; - interrupts = <0 15 0>; - regulator-name = "apc_corner"; - regulator-min-microvolt = <1>; - regulator-max-microvolt = <3>; - qcom,num-efuse-bits = <5>; - qcom,pvs-bin-process = <0 0 0 0 0 1 1 1 1 1 2 2 2 2 2 2 - 2 2 2 2 3 3 3 3 3 3 3 3 0 0 0 0>; - qcom,pvs-corner-ceiling-slow = <1150000 1150000 1275000>; - qcom,pvs-corner-ceiling-nom = <975000 1075000 1200000>; - qcom,pvs-corner-ceiling-fast = <900000 1000000 1140000>; - vdd-apc-supply = <&pm8110_s2>; - - vdd-mx-supply = <&pm8110_l3_ao>; - qcom,vdd-mx-vmax = <1350000>; - qcom,vdd-mx-vmin-method = <1>; - - qcom,cpr-ref-clk = <19200>; - qcom,cpr-timer-delay = <5000>; - qcom,cpr-timer-cons-up = <1>; - qcom,cpr-timer-cons-down = <2>; - qcom,cpr-irq-line = <0>; - qcom,cpr-step-quotient = <15>; - qcom,cpr-up-threshold = <1>; - qcom,cpr-down-threshold = <2>; - qcom,cpr-idle-clocks = <5>; - qcom,cpr-gcnt-time = <1>; - qcom,vdd-apc-step-up-limit = <1>; - qcom,vdd-apc-step-down-limit = <1>; - qcom,cpr-apc-volt-step = <5000>; - }; -}; - -/* RPM controlled regulators: */ - -&rpm_bus { - - rpm-regulator-smpa1 { - status = "okay"; - pm8110_s1: regulator-s1 { - status = "okay"; - regulator-min-microvolt = <500000>; - regulator-max-microvolt = <1275000>; - }; - - pm8110_s1_corner: regulator-s1-corner { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_s1_corner"; - qcom,set = <3>; - regulator-min-microvolt = <1>; - regulator-max-microvolt = <7>; - qcom,use-voltage-corner; - qcom,consumer-supplies = "vdd_dig", ""; - }; - - pm8110_s1_corner_ao: regulator-s1-corner-ao { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_s1_corner_ao"; - qcom,set = <1>; - regulator-min-microvolt = <1>; - regulator-max-microvolt = <7>; - qcom,use-voltage-corner; - qcom,consumer-supplies = "vdd_sr2_dig", ""; - }; - }; - - rpm-regulator-smpa3 { - status = "okay"; - pm8110_s3: regulator-s3 { - regulator-min-microvolt = <1200000>; - regulator-max-microvolt = <1350000>; - qcom,init-voltage = <1200000>; - status = "okay"; - }; - }; - - rpm-regulator-smpa4 { - status = "okay"; - pm8110_s4: regulator-s4 { - regulator-min-microvolt = <2150000>; - regulator-max-microvolt = <2150000>; - qcom,init-voltage = <2150000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa1 { - status = "okay"; - pm8110_l1: regulator-l1 { - regulator-min-microvolt = <1225000>; - regulator-max-microvolt = <1225000>; - qcom,init-voltage = <1225000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa2 { - status = "okay"; - pm8110_l2: regulator-l2 { - regulator-min-microvolt = <1200000>; - regulator-max-microvolt = <1200000>; - qcom,init-voltage = <1200000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa3 { - status = "okay"; - pm8110_l3: regulator-l3 { - regulator-min-microvolt = <750000>; - regulator-max-microvolt = <1275000>; - status = "okay"; - }; - - pm8110_l3_ao: regulator-l3-ao { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l3_ao"; - qcom,set = <1>; - regulator-min-microvolt = <750000>; - regulator-max-microvolt = <1275000>; - status = "okay"; - }; - - pm8110_l3_so: regulator-l3-so { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l3_so"; - qcom,set = <2>; - regulator-min-microvolt = <750000>; - regulator-max-microvolt = <1275000>; - qcom,init-voltage = <750000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa4 { - status = "okay"; - pm8110_l4: regulator-l4 { - regulator-min-microvolt = <1200000>; - regulator-max-microvolt = <1200000>; - qcom,init-voltage = <1200000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa5 { - status = "okay"; - pm8110_l5: regulator-l5 { - regulator-min-microvolt = <1300000>; - regulator-max-microvolt = <1300000>; - qcom,init-voltage = <1300000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa6 { - status = "okay"; - pm8110_l6: regulator-l6 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa7 { - status = "okay"; - pm8110_l7: regulator-l7 { - regulator-min-microvolt = <2050000>; - regulator-max-microvolt = <2050000>; - qcom,init-voltage = <2050000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa8 { - status = "okay"; - pm8110_l8: regulator-l8 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa9 { - status = "okay"; - pm8110_l9: regulator-l9 { - regulator-min-microvolt = <2050000>; - regulator-max-microvolt = <2050000>; - qcom,init-voltage = <2050000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa10 { - status = "okay"; - pm8110_l10: regulator-l10 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - status = "okay"; - }; - - pm8110_l10_ao: regulator-l10-ao { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l10_ao"; - qcom,set = <1>; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - qcom,consumer-supplies = "vdd_sr2_pll", ""; - }; - - pm8110_l10_so: regulator-l10-so { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l10_so"; - qcom,set = <2>; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - qcom,init-enable = <0>; - }; - }; - - rpm-regulator-ldoa12 { - status = "okay"; - pm8110_l12: regulator-l12 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <3300000>; - qcom,init-voltage = <3300000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa14 { - status = "okay"; - pm8110_l14: regulator-l14 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa15 { - status = "okay"; - pm8110_l15: regulator-l15 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <3300000>; - qcom,init-voltage = <3300000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa16 { - status = "okay"; - pm8110_l16: regulator-l16 { - regulator-min-microvolt = <3000000>; - regulator-max-microvolt = <3000000>; - qcom,init-voltage = <3000000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa17 { - status = "okay"; - pm8110_l17: regulator-l17 { - regulator-min-microvolt = <2900000>; - regulator-max-microvolt = <2900000>; - qcom,init-voltage = <2900000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa18 { - status = "okay"; - pm8110_l18: regulator-l18 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <2950000>; - qcom,init-voltage = <2950000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa19 { - status = "okay"; - pm8110_l19: regulator-l19 { - regulator-min-microvolt = <2850000>; - regulator-max-microvolt = <2850000>; - qcom,init-voltage = <2850000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa20 { - status = "okay"; - pm8110_l20: regulator-l20 { - regulator-min-microvolt = <3075000>; - regulator-max-microvolt = <3075000>; - qcom,init-voltage = <3075000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa21 { - status = "okay"; - pm8110_l21: regulator-l21 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <2950000>; - qcom,init-voltage = <2950000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa22 { - status = "okay"; - pm8110_l22: regulator-l22 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <3300000>; - qcom,init-voltage = <3300000>; - status = "okay"; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8610-rumi.dts b/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8610-rumi.dts deleted file mode 100644 index 7f0648541..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8610-rumi.dts +++ /dev/null @@ -1,31 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/dts-v1/; - -/include/ "msm8610.dtsi" - -/ { - model = "Qualcomm MSM 8610 Rumi"; - compatible = "qcom,msm8610-rumi", "qcom,msm8610", "qcom,rumi"; - qcom,msm-id = <147 15 0>; -}; - -&soc { - serial@f991f000 { - status = "ok"; - }; -}; - -&gfx_iommu { - status = "disabled"; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8610-sim.dts b/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8610-sim.dts deleted file mode 100644 index 7c57fe667..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8610-sim.dts +++ /dev/null @@ -1,72 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/dts-v1/; - -/include/ "msm8610.dtsi" - -/ { - model = "Qualcomm MSM 8610 Simulator"; - compatible = "qcom,msm8610-sim", "qcom,msm8610", "qcom,sim"; - qcom,msm-id = <147 16 0>; -}; - -&soc { - serial@f991f000 { - status = "ok"; - }; -}; - -&i2c_cdc { - msm8x10_wcd_codec@0d{ - compatible = "qcom,msm8x10-wcd-i2c"; - reg = <0x0d>; - cdc-vdda-cp-supply = <&pm8110_s4>; - qcom,cdc-vdda-cp-voltage = <2150000 2150000>; - qcom,cdc-vdda-cp-current = <650000>; - - cdc-vdda-h-supply = <&pm8110_l6>; - qcom,cdc-vdda-h-voltage = <1800000 1800000>; - qcom,cdc-vdda-h-current = <250000>; - - cdc-vdd-px-supply = <&pm8110_l6>; - qcom,cdc-vdd-px-voltage = <1800000 1800000>; - qcom,cdc-vdd-px-current = <10000>; - - cdc-vdd-1p2v-supply = <&pm8110_l4>; - qcom,cdc-vdd-1p2v-voltage = <1200000 1200000>; - qcom,cdc-vdd-1p2v-current = <5000>; - - cdc-vdd-mic-bias-supply = <&pm8110_l20>; - qcom,cdc-vdd-mic-bias-voltage = <3075000 3075000>; - qcom,cdc-vdd-mic-bias-current = <25000>; - - qcom,cdc-micbias-cfilt-sel = <0x0>; - qcom,cdc-micbias-cfilt-mv = <1800000>; - qcom,cdc-mclk-clk-rate = <12288000>; - }; - - msm8x10_wcd_codec@77{ - compatible = "qcom,msm8x10-wcd-i2c"; - reg = <0x77>; - }; - - msm8x10_wcd_codec@66{ - compatible = "qcom,msm8x10-wcd-i2c"; - reg = <0x66>; - }; - - msm8x10_wcd_codec@55{ - compatible = "qcom,msm8x10-wcd-i2c"; - reg = <0x55>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8610-smp2p.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8610-smp2p.dtsi deleted file mode 100644 index 3921a686a..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8610-smp2p.dtsi +++ /dev/null @@ -1,225 +0,0 @@ -/* Copyright (c) 2013, 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. - */ -&soc { - qcom,smp2p-modem { - compatible = "qcom,smp2p"; - reg = <0xf9011008 0x4>; - qcom,remote-pid = <1>; - qcom,irq-bitmask = <0x4000>; - interrupts = <0 27 1>; - }; - - qcom,smp2p-adsp { - compatible = "qcom,smp2p"; - reg = <0xf9011008 0x4>; - qcom,remote-pid = <2>; - qcom,irq-bitmask = <0x400>; - interrupts = <0 158 1>; - }; - - qcom,smp2p-wcnss { - compatible = "qcom,smp2p"; - reg = <0xf9011008 0x4>; - qcom,remote-pid = <4>; - qcom,irq-bitmask = <0x40000>; - interrupts = <0 143 1>; - }; - - smp2pgpio_smp2p_7_in: qcom,smp2pgpio-smp2p-7-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <7>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_7_in { - compatible = "qcom,smp2pgpio_test_smp2p_7_in"; - gpios = <&smp2pgpio_smp2p_7_in 0 0>; - }; - - smp2pgpio_smp2p_7_out: qcom,smp2pgpio-smp2p-7-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <7>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_7_out { - compatible = "qcom,smp2pgpio_test_smp2p_7_out"; - gpios = <&smp2pgpio_smp2p_7_out 0 0>; - }; - - smp2pgpio_smp2p_1_in: qcom,smp2pgpio-smp2p-1-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <1>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_1_in { - compatible = "qcom,smp2pgpio_test_smp2p_1_in"; - gpios = <&smp2pgpio_smp2p_1_in 0 0>; - }; - - smp2pgpio_smp2p_1_out: qcom,smp2pgpio-smp2p-1-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <1>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_1_out { - compatible = "qcom,smp2pgpio_test_smp2p_1_out"; - gpios = <&smp2pgpio_smp2p_1_out 0 0>; - }; - - smp2pgpio_ssr_smp2p_1_in: qcom,smp2pgpio-ssr-smp2p-1-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "slave-kernel"; - qcom,remote-pid = <1>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - smp2pgpio_ssr_smp2p_1_out: qcom,smp2pgpio-ssr-smp2p-1-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "master-kernel"; - qcom,remote-pid = <1>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - smp2pgpio_smp2p_2_in: qcom,smp2pgpio-smp2p-2-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <2>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_2_in { - compatible = "qcom,smp2pgpio_test_smp2p_2_in"; - gpios = <&smp2pgpio_smp2p_2_in 0 0>; - }; - - smp2pgpio_smp2p_2_out: qcom,smp2pgpio-smp2p-2-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <2>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_2_out { - compatible = "qcom,smp2pgpio_test_smp2p_2_out"; - gpios = <&smp2pgpio_smp2p_2_out 0 0>; - }; - - /* SMP2P SSR Driver for inbound entry from lpass. */ - smp2pgpio_ssr_smp2p_2_in: qcom,smp2pgpio-ssr-smp2p-2-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "slave-kernel"; - qcom,remote-pid = <2>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - /* SMP2P SSR Driver for outbound entry to lpass */ - smp2pgpio_ssr_smp2p_2_out: qcom,smp2pgpio-ssr-smp2p-2-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "master-kernel"; - qcom,remote-pid = <2>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - smp2pgpio_smp2p_4_in: qcom,smp2pgpio-smp2p-4-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <4>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_4_in { - compatible = "qcom,smp2pgpio_test_smp2p_4_in"; - gpios = <&smp2pgpio_smp2p_4_in 0 0>; - }; - - smp2pgpio_smp2p_4_out: qcom,smp2pgpio-smp2p-4-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <4>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - smp2pgpio_ssr_smp2p_4_in: qcom,smp2pgpio-ssr-smp2p-4-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "slave-kernel"; - qcom,remote-pid = <4>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - smp2pgpio_ssr_smp2p_4_out: qcom,smp2pgpio-ssr-smp2p-4-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "master-kernel"; - qcom,remote-pid = <4>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_4_out { - compatible = "qcom,smp2pgpio_test_smp2p_4_out"; - gpios = <&smp2pgpio_smp2p_4_out 0 0>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8610.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8610.dtsi deleted file mode 100644 index a62df58d9..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8610.dtsi +++ /dev/null @@ -1,1075 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/include/ "skeleton.dtsi" - -/ { - model = "Qualcomm MSM 8610"; - compatible = "qcom,msm8610"; - interrupt-parent = <&intc>; - - memory { - qsecom_mem: qsecom_region { - linux,contiguous-region; - reg = <0 0x100000>; - label = "qsecom_mem"; - }; - }; - - aliases { - sdhc1 = &sdhc_1; /* SDC1 eMMC slot */ - sdhc2 = &sdhc_2; /* SDC2 SD card slot */ - spi4 = &spi_4; - }; - - soc: soc { }; -}; - -/include/ "msm8610-camera.dtsi" -/include/ "msm-iommu-v0.dtsi" -/include/ "msm8610-ion.dtsi" -/include/ "msm8610-gpu.dtsi" -/include/ "msm-gdsc.dtsi" -/include/ "msm8610-coresight.dtsi" -/include/ "msm8610-pm.dtsi" -/include/ "msm8610-smp2p.dtsi" -/include/ "msm8610-bus.dtsi" -/include/ "msm8610-mdss.dtsi" - -&soc { - #address-cells = <1>; - #size-cells = <1>; - ranges; - - intc: interrupt-controller@f9000000 { - compatible = "qcom,msm-qgic2"; - interrupt-controller; - #interrupt-cells = <3>; - reg = <0xf9000000 0x1000>, - <0xf9002000 0x1000>; - }; - - msmgpio: gpio@fd510000 { - compatible = "qcom,msm-gpio"; - interrupt-controller; - #interrupt-cells = <2>; - reg = <0xfd510000 0x4000>; - gpio-controller; - #gpio-cells = <2>; - ngpio = <102>; - interrupts = <0 208 0>; - qcom,direct-connect-irqs = <8>; - }; - - qcom,mpm2-sleep-counter@fc4a3000 { - compatible = "qcom,mpm2-sleep-counter"; - reg = <0xfc4a3000 0x1000>; - clock-frequency = <32768>; - }; - - timer { - compatible = "arm,armv7-timer"; - interrupts = <1 2 0 1 3 0>; - clock-frequency = <19200000>; - }; - - 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 8 0x4>, - <0 7 0x4>; - reg = <0xf9021000 0x1000>, - <0xf9022000 0x1000>; - }; - - frame@f9023000 { - frame-number = <1>; - interrupts = <0 9 0x4>; - reg = <0xf9023000 0x1000>; - status = "disabled"; - }; - - frame@f9024000 { - frame-number = <2>; - interrupts = <0 10 0x4>; - reg = <0xf9024000 0x1000>; - status = "disabled"; - }; - - frame@f9025000 { - frame-number = <3>; - interrupts = <0 11 0x4>; - reg = <0xf9025000 0x1000>; - status = "disabled"; - }; - - frame@f9026000 { - frame-number = <4>; - interrupts = <0 12 0x4>; - reg = <0xf9026000 0x1000>; - status = "disabled"; - }; - - frame@f9027000 { - frame-number = <5>; - interrupts = <0 13 0x4>; - reg = <0xf9027000 0x1000>; - status = "disabled"; - }; - - frame@f9028000 { - frame-number = <6>; - interrupts = <0 14 0x4>; - reg = <0xf9028000 0x1000>; - status = "disabled"; - }; - }; - - qcom,msm-adsp-loader { - compatible = "qcom,adsp-loader"; - qcom,adsp-state = <0>; - }; - - qcom,msm-audio-ion { - compatible = "qcom,msm-audio-ion"; - qcom,smmu-enabled; - }; - - qcom,msm-imem@fe805000 { - compatible = "qcom,msm-imem"; - reg = <0xfe805000 0x1000>; /* Address and size of IMEM */ - }; - - serial@f991f000 { - compatible = "qcom,msm-lsuart-v14"; - reg = <0xf991f000 0x1000>; - interrupts = <0 109 0>; - status = "disabled"; - }; - - serial@f991e000 { - compatible = "qcom,msm-lsuart-v14"; - reg = <0xf991e000 0x1000>; - interrupts = <0 108 0>; - status = "disabled"; - }; - - qcom,vidc@fdc00000 { - compatible = "qcom,msm-vidc"; - qcom,vidc-ns-map = <0x40000000 0x40000000>; - qcom,iommu-groups = <&q6_domain_ns>; - qcom,iommu-group-buffer-types = <0xfff>; - qcom,buffer-type-tz-usage-map = <0x1 0x1>, - <0x1fe 0x2>; - qcom,hfi = "q6"; - qcom,max-hw-load = <108000>; /* 720p @ 30 * 1 */ - }; - - qcom,usbbam@f9a44000 { - compatible = "qcom,usb-bam-msm"; - reg = <0xf9a44000 0x11000>; - reg-names = "hsusb"; - interrupts = <0 135 0>; - interrupt-names = "hsusb"; - qcom,usb-bam-num-pipes = <16>; - qcom,usb-bam-fifo-baseaddr = <0xfe803000>; - qcom,ignore-core-reset-ack; - qcom,disable-clk-gating; - - qcom,pipe0 { - label = "hsusb-qdss-in-0"; - qcom,usb-bam-mem-type = <3>; - qcom,bam-type = <1>; - 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 = <0xf9a44000>; - qcom,dst-bam-pipe-index = <2>; - qcom,data-fifo-offset = <0x0>; - qcom,data-fifo-size = <0x600>; - qcom,descriptor-fifo-offset = <0x600>; - qcom,descriptor-fifo-size = <0x200>; - }; - }; - - usb@f9a55000 { - compatible = "qcom,hsusb-otg"; - reg = <0xf9a55000 0x400>; - interrupts = <0 134 0>, <0 140 0>; - interrupt-names = "core_irq", "async_irq"; - HSUSB_VDDCX-supply = <&pm8110_s1>; - HSUSB_1p8-supply = <&pm8110_l10>; - HSUSB_3p3-supply = <&pm8110_l20>; - - qcom,hsusb-otg-phy-type = <2>; - qcom,hsusb-otg-mode = <1>; - qcom,hsusb-otg-otg-control = <2>; - qcom,hsusb-otg-disable-reset; - qcom,dp-manual-pullup; - - qcom,msm-bus,name = "usb2"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,active-only = <0>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <87 512 0 0>, - <87 512 60000 960000>; - }; - - android_usb@fe8050c8 { - compatible = "qcom,android-usb"; - reg = <0xfe8050c8 0xc8>; - }; - - sdcc1: qcom,sdcc@f9824000 { - cell-index = <1>; /* SDC1 eMMC slot */ - compatible = "qcom,msm-sdcc"; - reg = <0xf9824000 0x800>, - <0xf9824800 0x100>, - <0xf9804000 0x7000>; - reg-names = "core_mem", "dml_mem", "bam_mem"; - interrupts = <0 123 0>, <0 137 0>; - interrupt-names = "core_irq", "bam_irq"; - - vdd-supply = <&pm8110_l17>; - qcom,vdd-always-on; - qcom,vdd-lpm-sup; - qcom,vdd-voltage-level = <2900000 2900000>; - qcom,vdd-current-level = <9000 400000>; - - vdd-io-supply = <&pm8110_l6>; - qcom,vdd-io-always-on; - qcom,vdd-io-lpm-sup; - qcom,vdd-io-voltage-level = <1800000 1800000>; - qcom,vdd-io-current-level = <9000 60000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - qcom,sup-voltages = <2900 2900>; - qcom,bus-width = <8>; - qcom,nonremovable; - qcom,bus-speed-mode = "HS200_1p8v", "DDR_1p8v"; - - status = "disabled"; - }; - - sdcc2: qcom,sdcc@f98a4000 { - cell-index = <2>; /* SDC2 SD card slot */ - compatible = "qcom,msm-sdcc"; - reg = <0xf98a4000 0x800>, - <0xf98a4800 0x100>, - <0xf9884000 0x7000>; - reg-names = "core_mem", "dml_mem", "bam_mem"; - interrupts = <0 125 0>, <0 220 0>; - interrupt-names = "core_irq", "bam_irq"; - - vdd-supply = <&pm8110_l18>; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <9000 400000>; - - vdd-io-supply = <&pm8110_l21>; - qcom,vdd-io-voltage-level = <1800000 2950000>; - qcom,vdd-io-current-level = <9000 50000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - qcom,sup-voltages = <2950 2950>; - qcom,bus-width = <4>; - qcom,xpc; - qcom,bus-speed-mode = "SDR12", "SDR25", "SDR50", "DDR50", "SDR104"; - qcom,current-limit = <800>; - - status = "disabled"; - }; - - sdhc_1: sdhci@f9824900 { - compatible = "qcom,sdhci-msm"; - reg = <0xf9824900 0x11c>, <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>; - 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"; - - qcom,bus-width = <4>; - status = "disabled"; - }; - - qcom,sps { - compatible = "qcom,msm_sps"; - qcom,device-type = <3>; - }; - - qcom,smem@d900000 { - compatible = "qcom,smem"; - reg = <0xd900000 0x100000>, - <0xf9011000 0x1000>, - <0xfc428000 0x4000>; - reg-names = "smem", "irq-reg-base", "aux-mem1"; - - qcom,smd-modem { - compatible = "qcom,smd"; - qcom,smd-edge = <0>; - qcom,smd-irq-offset = <0x8>; - qcom,smd-irq-bitmask = <0x1000>; - qcom,pil-string = "modem"; - interrupts = <0 25 1>; - }; - - qcom,smsm-modem { - compatible = "qcom,smsm"; - qcom,smsm-edge = <0>; - qcom,smsm-irq-offset = <0x8>; - qcom,smsm-irq-bitmask = <0x2000>; - interrupts = <0 26 1>; - }; - - qcom,smd-adsp { - compatible = "qcom,smd"; - qcom,smd-edge = <1>; - qcom,smd-irq-offset = <0x8>; - qcom,smd-irq-bitmask = <0x100>; - qcom,pil-string = "adsp"; - interrupts = <0 156 1>; - }; - - qcom,smsm-adsp { - compatible = "qcom,smsm"; - qcom,smsm-edge = <1>; - qcom,smsm-irq-offset = <0x8>; - qcom,smsm-irq-bitmask = <0x200>; - interrupts = <0 157 1>; - }; - - qcom,smd-wcnss { - compatible = "qcom,smd"; - qcom,smd-edge = <6>; - qcom,smd-irq-offset = <0x8>; - qcom,smd-irq-bitmask = <0x20000>; - qcom,pil-string = "wcnss"; - interrupts = <0 142 1>; - }; - - qcom,smsm-wcnss { - compatible = "qcom,smsm"; - qcom,smsm-edge = <6>; - qcom,smsm-irq-offset = <0x8>; - qcom,smsm-irq-bitmask = <0x80000>; - interrupts = <0 144 1>; - }; - - qcom,smd-rpm { - compatible = "qcom,smd"; - qcom,smd-edge = <15>; - qcom,smd-irq-offset = <0x8>; - qcom,smd-irq-bitmask = <0x1>; - interrupts = <0 168 1>; - qcom,irq-no-suspend; - }; - }; - - rpm_bus: qcom,rpm-smd { - compatible = "qcom,rpm-smd"; - rpm-channel-name = "rpm_requests"; - rpm-channel-type = <15>; /* SMD_APPS_RPM */ - rpm-standalone; - }; - - qcom,bcl { - compatible = "qcom,bcl"; - }; - - qcom,msm-mem-hole { - compatible = "qcom,msm-mem-hole"; - qcom,memblock-remove = <0x07B00000 0x6400000>; /* Address and Size of Hole */ - }; - - qcom,wdt@f9017000 { - compatible = "qcom,msm-watchdog"; - reg = <0xf9017000 0x1000>; - interrupts = <0 3 0>, <0 4 0>; - qcom,bark-time = <11000>; - qcom,pet-time = <10000>; - qcom,ipi-ping; - }; - - qcom,acpuclk@f9011050 { - compatible = "qcom,acpuclk-a7"; - reg = <0xf9011050 0x8>; - reg-names = "rcg_base"; - a7_cpu-supply = <&apc_vreg_corner>; - }; - - spmi_bus: qcom,spmi@fc4c0000 { - cell-index = <0>; - 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-ee = <0>; - qcom,pmic-arb-channel = <0>; - }; - - i2c@f9923000 { /* BLSP-1 QUP-1 */ - cell-index = <1>; - compatible = "qcom,i2c-qup"; - #address-cells = <1>; - #size-cells = <0>; - reg-names = "qup_phys_addr"; - reg = <0xf9923000 0x1000>; - interrupt-names = "qup_err_intr"; - interrupts = <0 95 0>; - qcom,i2c-bus-freq = <100000>; - qcom,i2c-src-freq = <19200000>; - qcom,sda-gpio = <&msmgpio 2 0>; - qcom,scl-gpio = <&msmgpio 3 0>; - }; - - i2c_cdc: i2c@f9927000 { /* BLSP1 QUP5 */ - cell-index = <5>; - compatible = "qcom,i2c-qup"; - #address-cells = <1>; - #size-cells = <0>; - reg-names = "qup_phys_addr"; - reg = <0xf9927000 0x1000>; - interrupt-names = "qup_err_intr"; - interrupts = <0 99 0>; - qcom,i2c-bus-freq = <100000>; - }; - - i2c: i2c@f9928000 { /* BLSP1 QUP6 */ - cell-index = <6>; - compatible = "qcom,i2c-qup"; - #address-cells = <1>; - #size-cells = <0>; - reg-names = "qup_phys_addr"; - reg = <0xf9928000 0x1000>; - interrupt-names = "qup_err_intr"; - interrupts = <0 100 0>; - qcom,i2c-bus-freq = <100000>; - qcom,i2c-src-freq = <19200000>; - qcom,sda-gpio = <&msmgpio 16 0>; - qcom,scl-gpio = <&msmgpio 17 0>; - }; - - i2c@f9925000 { /* BLSP-1 QUP-3 */ - cell-index = <0>; - compatible = "qcom,i2c-qup"; - #address-cells = <1>; - #size-cells = <0>; - reg-names = "qup_phys_addr"; - reg = <0xf9925000 0x1000>; - interrupt-names = "qup_err_intr"; - interrupts = <0 97 0>; - qcom,i2c-bus-freq = <100000>; - }; - - spi_4: spi@f9926000 { /* BLSP1 QUP4 */ - compatible = "qcom,spi-qup-v2"; - #address-cells = <1>; - #size-cells = <0>; - reg-names = "spi_physical", "spi_bam_physical"; - reg = <0xf9926000 0x1000>, - <0xf9904000 0x15000>; - interrupt-names = "spi_irq", "spi_bam_irq"; - interrupts = <0 98 0>, <0 238 0>; - spi-max-frequency = <50000000>; - - gpios = <&msmgpio 89 0>, /* CLK */ - <&msmgpio 87 0>, /* MISO */ - <&msmgpio 86 0>; /* MOSI */ - cs-gpios = <&msmgpio 88 0>; - - qcom,infinite-mode = <0>; - qcom,use-bam; - qcom,ver-reg-exists; - qcom,bam-consumer-pipe-index = <18>; - qcom,bam-producer-pipe-index = <19>; - }; - - qcom,pronto@fb21b000 { - compatible = "qcom,pil-pronto"; - reg = <0xfb21b000 0x3000>, - <0xfc401700 0x4>, - <0xfd485300 0xc>; - reg-names = "pmu_base", "clk_base", "halt_base"; - interrupts = <0 149 1>; - vdd_pronto_pll-supply = <&pm8110_l10>; - - qcom,firmware-name = "wcnss"; - - /* GPIO inputs from wcnss */ - qcom,gpio-err-fatal = <&smp2pgpio_ssr_smp2p_4_in 0 0>; - qcom,gpio-err-ready = <&smp2pgpio_ssr_smp2p_4_in 1 0>; - qcom,gpio-proxy-unvote = <&smp2pgpio_ssr_smp2p_4_in 2 0>; - - /* GPIO output to wcnss */ - qcom,gpio-force-stop = <&smp2pgpio_ssr_smp2p_4_out 0 0>; - }; - - qcom,iris-fm { - compatible = "qcom,iris_fm"; - }; - - sound { - compatible = "qcom,msm8x10-audio-codec"; - qcom,model = "msm8x10-snd-card"; - }; - - qcom,msm-pcm { - compatible = "qcom,msm-pcm-dsp"; - qcom,msm-pcm-dsp-id = <0>; - }; - - qcom,msm-pcm-low-latency { - compatible = "qcom,msm-pcm-dsp"; - qcom,msm-pcm-dsp-id = <1>; - qcom,msm-pcm-low-latency; - }; - - qcom,msm-pcm-routing { - compatible = "qcom,msm-pcm-routing"; - }; - - qcom,msm-pcm-lpa { - compatible = "qcom,msm-pcm-lpa"; - }; - - qcom,msm-compr-dsp { - compatible = "qcom,msm-compr-dsp"; - }; - - qcom,msm-voip-dsp { - compatible = "qcom,msm-voip-dsp"; - }; - - qcom,msm-pcm-voice { - compatible = "qcom,msm-pcm-voice"; - }; - - qcom,msm-stub-codec { - compatible = "qcom,msm-stub-codec"; - }; - - qcom,msm-dai-fe { - compatible = "qcom,msm-dai-fe"; - }; - - qcom,msm-pcm-afe { - compatible = "qcom,msm-pcm-afe"; - }; - - qcom,msm-dai-mi2s { - compatible = "qcom,msm-dai-mi2s"; - qcom,msm-dai-q6-mi2s-prim { - compatible = "qcom,msm-dai-q6-mi2s"; - qcom,msm-dai-q6-mi2s-dev-id = <0>; - qcom,msm-mi2s-rx-lines = <0>; - qcom,msm-mi2s-tx-lines = <3>; - }; - - qcom,msm-dai-q6-mi2s-sec { - compatible = "qcom,msm-dai-q6-mi2s"; - qcom,msm-dai-q6-mi2s-dev-id = <1>; - qcom,msm-mi2s-rx-lines = <3>; - qcom,msm-mi2s-tx-lines = <0>; - }; - }; - - qcom,msm-dai-q6 { - compatible = "qcom,msm-dai-q6"; - qcom,msm-dai-q6-bt-sco-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <12288>; - }; - - qcom,msm-dai-q6-bt-sco-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <12289>; - }; - - qcom,msm-dai-q6-int-fm-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <12292>; - }; - - qcom,msm-dai-q6-int-fm-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <12293>; - }; - - qcom,msm-dai-q6-be-afe-pcm-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <224>; - }; - - qcom,msm-dai-q6-be-afe-pcm-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <225>; - }; - - qcom,msm-dai-q6-afe-proxy-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <241>; - }; - - qcom,msm-dai-q6-afe-proxy-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <240>; - }; - - qcom,msm-dai-q6-incall-record-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <32771>; - }; - - qcom,msm-dai-q6-incall-record-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <32772>; - }; - - qcom,msm-dai-q6-incall-music-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <32773>; - }; - }; - - qcom,msm-pcm-hostless { - compatible = "qcom,msm-pcm-hostless"; - }; - - qcom,wcnss-wlan@fb000000 { - compatible = "qcom,wcnss_wlan"; - reg = <0xfb000000 0x280000>, - <0xf9011008 0x04>; - reg-names = "wcnss_mmio", "wcnss_fiq"; - interrupts = <0 145 0>, <0 146 0>; - interrupt-names = "wcnss_wlantx_irq", "wcnss_wlanrx_irq"; - - qcom,pronto-vddmx-supply = <&pm8110_l3>; - qcom,pronto-vddcx-supply = <&pm8110_s1>; - qcom,pronto-vddpx-supply = <&pm8110_l6>; - qcom,iris-vddxo-supply = <&pm8110_l10>; - qcom,iris-vddrfa-supply = <&pm8110_l5>; - qcom,iris-vddpa-supply = <&pm8110_l16>; - qcom,iris-vdddig-supply = <&pm8110_l5>; - - gpios = <&msmgpio 23 0>, <&msmgpio 24 0>, <&msmgpio 25 0>, <&msmgpio 26 0>, <&msmgpio 27 0>; - qcom,has-pronto-hw; - qcom,wlan-rx-buff-count = <256>; - }; - - qcom,mss@fc880000 { - compatible = "qcom,pil-q6v5-mss"; - reg = <0xfc880000 0x100>, - <0xfd485000 0x400>, - <0xfc820000 0x020>, - <0xfc401680 0x004>, - <0xfd485194 0x4>; - reg-names = "qdsp6_base", "halt_base", "rmb_base", - "restart_reg", "cxrail_bhs_reg"; - - interrupts = <0 24 1>; - vdd_cx-supply = <&pm8110_s1_corner>; - vdd_mx-supply = <&pm8110_l3>; - vdd_pll-supply = <&pm8110_l10>; - qcom,vdd_pll = <1800000>; - qcom,is-loadable; - qcom,firmware-name = "mba"; - qcom,pil-self-auth; - - /* 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>; - }; - - qcom,lpass@fe200000 { - compatible = "qcom,pil-q6v5-lpass"; - reg = <0xfe200000 0x00100>, - <0xfd485100 0x00010>, - <0xfc4016c0 0x00004>; - reg-names = "qdsp6_base", "halt_base", "restart_reg"; - interrupts = <0 162 1>; - vdd_cx-supply = <&pm8110_s1_corner>; - 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>; - - /* GPIO output to lpass */ - qcom,gpio-force-stop = <&smp2pgpio_ssr_smp2p_2_out 0 0>; - }; - - tsens: tsens@fc4a8000 { - compatible = "qcom,msm-tsens"; - reg = <0xfc4a8000 0x2000>, - <0xfc4b8000 0x1000>; - reg-names = "tsens_physical", "tsens_eeprom_physical"; - interrupts = <0 184 0>; - qcom,sensors = <2>; - qcom,slope = <2901 2846>; - qcom,calib-mode = "fuse_map3"; - qcom,sensor-id = <0 5>; - }; - - qcom,msm-thermal { - compatible = "qcom,msm-thermal"; - qcom,sensor-id = <5>; - qcom,poll-ms = <250>; - qcom,limit-temp = <60>; - qcom,temp-hysteresis = <10>; - qcom,freq-step = <2>; - qcom,freq-control-mask = <0xf>; - }; - - qcom,ipc-spinlock@fd484000 { - compatible = "qcom,ipc-spinlock-sfpb"; - reg = <0xfd484000 0x400>; - qcom,num-locks = <8>; - }; - - qcom,bam_dmux@fc834000 { - compatible = "qcom,bam_dmux"; - reg = <0xfc834000 0x7000>; - interrupts = <0 29 1>; - }; - - qcom,qseecom@7B00000 { - compatible = "qcom,qseecom"; - reg = <0x7B00000 0x500000>; - reg-names = "secapp-region"; - qcom,disk-encrypt-pipe-pair = <2>; - qcom,hlos-ce-hw-instance = <0>; - qcom,qsee-ce-hw-instance = <0>; - qcom,msm-bus,name = "qseecom-noc"; - qcom,msm-bus,num-cases = <4>; - qcom,msm-bus,active-only = <0>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <55 512 0 0>, - <55 512 3936000 393600>, - <55 512 3936000 393600>, - <55 512 3936000 393600>; - }; - - qcom,msm-rng@f9bff000 { - compatible = "qcom,msm-rng"; - reg = <0xf9bff000 0x200>; - qcom,msm-rng-iface-clk; - }; - - qcom,msm-rtb { - compatible = "qcom,msm-rtb"; - qcom,memory-reservation-type = "EBI1"; - qcom,memory-reservation-size = <0x100000>; /* 1M EBI1 buffer */ - }; - - jtag_mm0: jtagmm@fc34c000 { - compatible = "qcom,jtag-mm"; - reg = <0xfc34c000 0x1000>, - <0xfc340000 0x1000>; - reg-names = "etm-base","debug-base"; - }; - - jtag_mm1: jtagmm@fc34d000 { - compatible = "qcom,jtag-mm"; - reg = <0xfc34d000 0x1000>, - <0xfc342000 0x1000>; - reg-names = "etm-base","debug-base"; - }; - - jtag_mm2: jtagmm@fc34e000 { - compatible = "qcom,jtag-mm"; - reg = <0xfc34e000 0x1000>, - <0xfc344000 0x1000>; - reg-names = "etm-base","debug-base"; - }; - - jtag_mm3: jtagmm@fc34f000 { - compatible = "qcom,jtag-mm"; - reg = <0xfc34f000 0x1000>, - <0xfc346000 0x1000>; - reg-names = "etm-base","debug-base"; - }; - - qcom,tz-log@fe805720 { - compatible = "qcom,tz-log"; - reg = <0x0fe805720 0x1000>; - }; - - qcom,qcrypto@fd404000 { - compatible = "qcom,qcrypto"; - reg = <0xfd400000 0x20000>, - <0xfd404000 0x8000>; - reg-names = "crypto-base","crypto-bam-base"; - interrupts = <0 207 0>; - qcom,bam-pipe-pair = <2>; - qcom,ce-hw-instance = <1>; - qcom,ce-hw-shared; - qcom,msm-bus,name = "qcrypto-noc"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,active-only = <0>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <55 512 0 0>, - <55 512 393600 3936000>; - }; - - qcom,qcedev@fd400000 { - compatible = "qcom,qcedev"; - reg = <0xfd400000 0x20000>, - <0xfd404000 0x8000>; - reg-names = "crypto-base","crypto-bam-base"; - interrupts = <0 207 0>; - qcom,bam-pipe-pair = <1>; - qcom,ce-hw-instance = <1>; - qcom,ce-hw-shared; - qcom,msm-bus,name = "qcedev-noc"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,active-only = <0>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <55 512 0 0>, - <55 512 393600 3936000>; - }; - -}; - -&gdsc_vfe { - status = "ok"; -}; - -&gdsc_oxili_cx { - status = "ok"; -}; - -&lpass_iommu { - status = "ok"; -}; - -&copss_iommu { - status = "ok"; -}; - -&mdpe_iommu { - status = "ok"; -}; - -&mdps_iommu { - status = "ok"; -}; - -&gfx_iommu { - status = "ok"; -}; - -&vfe_iommu { - status = "ok"; -}; - -/include/ "msm8610-iommu-domains.dtsi" - -/include/ "msm-pm8110-rpm-regulator.dtsi" -/include/ "msm-pm8110.dtsi" -/include/ "msm8610-regulator.dtsi" - -&pm8110_vadc { - chan@0 { - label = "usb_in"; - reg = <0>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <4>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@2 { - label = "vchg_sns"; - reg = <2>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <2>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@5 { - label = "vcoin"; - reg = <5>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <1>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@6 { - label = "vbat_sns"; - reg = <6>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <1>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@7 { - label = "vph_pwr"; - reg = <7>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <1>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@30 { - label = "batt_therm"; - reg = <0x30>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <1>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@31 { - label = "batt_id"; - reg = <0x31>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@b2 { - label = "xo_therm_pu2"; - reg = <0xb2>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <4>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@13 { - label = "pa_therm0"; - reg = <0x13>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; -}; - -&pm8110_adc_tm { - /* Channel Node */ - chan@30 { - label = "batt_therm"; - reg = <0x30>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <1>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <3>; - qcom,btm-channel-number = <0x48>; - }; - - chan@8 { - label = "die_temp"; - reg = <8>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <3>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <3>; - qcom,btm-channel-number = <0x68>; - }; - - chan@6 { - label = "vbat_sns"; - reg = <6>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <1>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <3>; - qcom,btm-channel-number = <0x70>; - }; - - chan@13 { - label = "pa_therm0"; - reg = <0x13>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - qcom,btm-channel-number = <0x78>; - qcom,thermal-node; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8660-surf.dts b/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8660-surf.dts deleted file mode 100644 index 4518fc4a3..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8660-surf.dts +++ /dev/null @@ -1,24 +0,0 @@ -/dts-v1/; - -/include/ "skeleton.dtsi" - -/ { - model = "Qualcomm MSM8660 SURF"; - compatible = "qcom,msm8660-surf", "qcom,msm8660", "qcom,surf"; - interrupt-parent = <&intc>; - - intc: interrupt-controller@02080000 { - compatible = "qcom,msm-8660-qgic"; - interrupt-controller; - #interrupt-cells = <3>; - reg = < 0x02080000 0x1000 >, - < 0x02081000 0x1000 >; - }; - - serial@19c400000 { - compatible = "qcom,msm-hsuart", "qcom,msm-uart"; - reg = <0x19c40000 0x1000>, - <0x19c00000 0x1000>; - interrupts = <0 195 0x0>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8926-cdp.dts b/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8926-cdp.dts deleted file mode 100644 index 7a91d40ee..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8926-cdp.dts +++ /dev/null @@ -1,22 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - - -/dts-v1/; -/include/ "msm8926.dtsi" -/include/ "msm8226-cdp.dtsi" - -/ { - model = "Qualcomm MSM 8926 CDP"; - compatible = "qcom,msm8926-cdp", "qcom,msm8926", "qcom,cdp"; - qcom,msm-id = <200 1 0>; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8926-mtp.dts b/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8926-mtp.dts deleted file mode 100644 index fea925d62..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8926-mtp.dts +++ /dev/null @@ -1,22 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - - -/dts-v1/; -/include/ "msm8926.dtsi" -/include/ "msm8226-mtp.dtsi" - -/ { - model = "Qualcomm MSM 8926 MTP"; - compatible = "qcom,msm8926-mtp", "qcom,msm8926", "qcom,mtp"; - qcom,msm-id = <200 8 0>; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8926-qrd.dts b/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8926-qrd.dts deleted file mode 100644 index e056b7e87..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8926-qrd.dts +++ /dev/null @@ -1,21 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; -/include/ "msm8926.dtsi" -/include/ "msm8226-qrd.dtsi" - -/ { - model = "Qualcomm MSM 8926 QRD"; - compatible = "qcom,msm8926-qrd", "qcom,msm8926", "qcom,qrd"; - qcom,msm-id = <200 11 0>; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8926.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8926.dtsi deleted file mode 100644 index 6f3f59251..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8926.dtsi +++ /dev/null @@ -1,30 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/* - * Only 8926-specific property overrides should be placed inside this - * file. Device definitions should be placed inside the msm8226.dtsi - * file. - */ - -/include/ "msm8226.dtsi" - -/ { - model = "Qualcomm MSM 8926"; - compatible = "qcom,msm8926"; -}; - -&soc { - qcom,mss@fc880000 { - vdd_mss-supply = <&pm8226_s5>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8974-bus.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8974-bus.dtsi deleted file mode 100644 index 609a1b302..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8974-bus.dtsi +++ /dev/null @@ -1,1411 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -&soc { - msm-mmss-noc@fc478000 { - compatible = "msm-bus-fabric"; - reg = <0xfc478000 0x00004000>; - cell-id = <2048>; - label = "msm_mmss_noc"; - qcom,fabclk-dual = "bus_clk"; - qcom,fabclk-active = "bus_a_clk"; - qcom,ntieredslaves = <0>; - qcom,qos-freq = <4800>; - qcom,hw-sel = "NoC"; - qcom,rpm-en; - - coresight-id = <52>; - coresight-name = "coresight-mnoc"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_in0>; - coresight-child-ports = <5>; - - mas-gfx3d { - cell-id = <26>; - label = "mas-gfx3d"; - qcom,masterp = <2 3>; - qcom,tier = <2>; - qcom,hw-sel = "NoC"; - qcom,perm-mode = "Bypass"; - qcom,mode = "Bypass"; - qcom,ws = <10000>; - qcom,qport = <2 3>; - qcom,mas-hw-id = <6>; - }; - - mas-jpeg { - cell-id = <62>; - label = "mas-jpeg"; - qcom,masterp = <4>; - qcom,tier = <2>; - qcom,hw-sel = "NoC"; - qcom,perm-mode = "Bypass"; - qcom,mode = "Bypass"; - qcom,qport = <0>; - qcom,ws = <10000>; - qcom,mas-hw-id = <7>; - }; - - mas-mdp-port0 { - cell-id = <22>; - label = "mas-mdp-port0"; - qcom,masterp = <5>; - qcom,tier = <2>; - qcom,hw-sel = "NoC"; - qcom,perm-mode = "Bypass"; - qcom,mode = "Bypass"; - qcom,qport = <1>; - qcom,ws = <10000>; - qcom,mas-hw-id = <8>; - }; - - mas-video-p0 { - cell-id = <63>; - label = "mas-video-p0"; - qcom,masterp = <6 7>; - qcom,tier = <2>; - qcom,hw-sel = "NoC"; - qcom,perm-mode = "Bypass"; - qcom,mode = "Bypass"; - qcom,ws = <10000>; - qcom,qport = <4 5>; - qcom,mas-hw-id = <9>; - }; - - mas-vfe { - cell-id = <29>; - label = "mas-vfe"; - qcom,masterp = <16>; - qcom,tier = <2>; - qcom,hw-sel = "NoC"; - qcom,perm-mode = "Bypass"; - qcom,mode = "Bypass"; - qcom,ws = <10000>; - qcom,qport = <6>; - qcom,mas-hw-id = <11>; - }; - - fab-cnoc { - cell-id = <5120>; - label = "fab-cnoc"; - qcom,gateway; - qcom,masterp = <0 1>; - qcom,buswidth = <16>; - qcom,hw-sel = "RPM"; - qcom,mas-hw-id = <4>; - }; - - fab-bimc { - cell-id = <0>; - label = "fab-bimc"; - qcom,gateway; - qcom,slavep = <16 17>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <16>; - }; - - slv-camera-cfg { - cell-id = <589>; - label = "slv-camera-cfg"; - qcom,slavep = <0>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <3>; - }; - - slv-display-cfg { - cell-id = <590>; - label = "slv-display-cfg"; - qcom,slavep = <1>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <4>; - }; - - slv-ocmem-cfg { - cell-id = <591>; - label = "slv-ocmem-cfg"; - qcom,slavep = <2>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <5>; - }; - - slv-cpr-cfg { - cell-id = <592>; - label = "slv-cpr-cfg"; - qcom,slavep = <3>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <6>; - }; - - slv-cpr-xpu-cfg { - cell-id = <593>; - label = "slv-cpr-xpu-cfg"; - qcom,slavep = <4>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <7>; - }; - - slv-misc-cfg { - cell-id = <594>; - label = "slv-misc-cfg"; - qcom,slavep = <6>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <8>; - }; - - slv-misc-xpu-cfg { - cell-id = <595>; - label = "slv-misc-xpu-cfg"; - qcom,slavep = <7>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <9>; - }; - - slv-venus-cfg { - cell-id = <596>; - label = "slv-venus-cfg"; - qcom,slavep = <8>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <10>; - }; - - slv-gfx3d-cfg { - cell-id = <598>; - label = "slv-gfx3d-cfg"; - qcom,slavep = <9>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <11>; - }; - - slv-mmss-clk-cfg { - cell-id = <599>; - label = "slv-mmss-clk-cfg"; - qcom,slavep = <11>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <12>; - }; - - slv-mmss-clk-xpu-cfg { - cell-id = <600>; - label = "slv-mmss-clk-xpu-cfg"; - qcom,slavep = <12>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <13>; - }; - - slv-mnoc-mpu-cfg { - cell-id = <601>; - label = "slv-mnoc-mpu-cfg"; - qcom,slavep = <13>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <14>; - }; - - slv-onoc-mpu-cfg { - cell-id = <602>; - label = "slv-onoc-mpu-cfg"; - qcom,slavep = <14>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <15>; - }; - - slv-service-mnoc { - cell-id = <603>; - label = "slv-service-mnoc"; - qcom,slavep = <18>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <17>; - }; - - }; - - msm-sys-noc@fc460000 { - compatible = "msm-bus-fabric"; - reg = <0xfc460000 0x00004000>; - cell-id = <1024>; - label = "msm_sys_noc"; - qcom,fabclk-dual = "bus_clk"; - qcom,fabclk-active = "bus_a_clk"; - qcom,ntieredslaves = <0>; - qcom,qos-freq = <4800>; - qcom,hw-sel = "NoC"; - qcom,rpm-en; - - coresight-id = <50>; - coresight-name = "coresight-snoc"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_in0>; - coresight-child-ports = <3>; - - msm-lpass-ahb { - cell-id = <52>; - label = "mas-lpass-ahb"; - qcom,masterp = <0>; - qcom,tier = <2>; - qcom,qport = <0>; - qcom,mas-hw-id = <18>; - qcom,mode = "Fixed"; - qcom,prio1 = <2>; - qcom,prio0 = <2>; - }; - - mas-qdss-bam { - cell-id = <53>; - label = "mas-qdss-bam"; - qcom,masterp = <1>; - qcom,tier = <2>; - qcom,mode = "Fixed"; - qcom,qport = <1>; - qcom,mas-hw-id = <19>; - qcom,prio1 = <1>; - qcom,prio0 = <1>; - qcom,hw-sel = "NoC"; - }; - - mas-snoc-cfg { - cell-id = <54>; - label = "mas-snoc-cfg"; - qcom,masterp = <2>; - qcom,tier = <2>; - qcom,mas-hw-id = <20>; - }; - - fab-bimc { - cell-id = <0>; - label= "fab-bimc"; - qcom,gateway; - qcom,slavep = <7 8>; - qcom,masterp = <3>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <21>; - qcom,slv-hw-id = <24>; - }; - - fab-cnoc { - cell-id = <5120>; - label = "fab-cnoc"; - qcom,gateway; - qcom,slavep = <9>; - qcom,masterp = <4>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <22>; - qcom,slv-hw-id = <25>; - }; - - fab-pnoc { - cell-id = <4096>; - label = "fab-pnoc"; - qcom,gateway; - qcom,slavep = <12>; - qcom,masterp = <11>; - qcom,buswidth = <8>; - qcom,qport = <8>; - qcom,mas-hw-id = <29>; - qcom,slv-hw-id = <28>; - qcom,mode = "Fixed"; - qcom,prio1 = <2>; - qcom,prio0 = <2>; - }; - - fab-ovnoc { - cell-id = <6144>; - label = "fab-ovnoc"; - qcom,gateway; - qcom,buswidth = <8>; - qcom,mas-hw-id = <53>; - qcom,slv-hw-id = <77>; - }; - - mas-crypto-core0 { - cell-id = <55>; - label = "mas-crypto-core0"; - qcom,masterp = <5>; - qcom,tier = <2>; - qcom,mode = "Fixed"; - qcom,qport = <2>; - qcom,mas-hw-id = <23>; - qcom,hw-sel = "NoC"; - qcom,prio1 = <1>; - qcom,prio0 = <1>; - }; - - mas-crypto-core1 { - cell-id = <56>; - label = "mas-crypto-core1"; - qcom,masterp = <6>; - qcom,tier = <2>; - qcom,mode = "Fixed"; - qcom,qport = <3>; - qcom,mas-hw-id = <24>; - qcom,hw-sel = "NoC"; - qcom,prio1 = <1>; - qcom,prio0 = <1>; - }; - - mas-lpass-proc { - cell-id = <11>; - label = "mas-lpass-proc"; - qcom,masterp = <7>; - qcom,tier = <2>; - qcom,qport = <4>; - qcom,mas-hw-id = <25>; - qcom,mode = "Fixed"; - qcom,prio1 = <2>; - qcom,prio0 = <2>; - }; - - mas-mss { - cell-id = <38>; - label = "mas-mss"; - qcom,masterp = <8>; - qcom,tier = <2>; - qcom,mas-hw-id = <26>; - }; - - mas-mss-nav { - cell-id = <57>; - label = "mas-mss-nav"; - qcom,masterp = <9>; - qcom,tier = <2>; - qcom,mas-hw-id = <27>; - }; - - mas-ocmem-dma { - cell-id = <58>; - label = "mas-ocmem-dma"; - qcom,masterp = <10>; - qcom,tier = <2>; - qcom,mode = "Fixed"; - qcom,qport = <7>; - qcom,mas-hw-id = <28>; - }; - - mas-wcss { - cell-id = <59>; - label = "mas-wcss"; - qcom,masterp = <12>; - qcom,tier = <2>; - qcom,mas-hw-id = <30>; - }; - - mas-qdss-etr { - cell-id = <60>; - label = "mas-qdss-etr"; - qcom,masterp = <13>; - qcom,tier = <2>; - qcom,qport = <10>; - qcom,mode = "Fixed"; - qcom,mas-hw-id = <31>; - qcom,prio1 = <1>; - qcom,prio0 = <1>; - qcom,hw-sel = "NoC"; - }; - - mas-usb3 { - cell-id = <61>; - label = "mas-usb3"; - qcom,masterp = <14>; - qcom,tier = <2>; - qcom,mode = "Fixed"; - qcom,qport = <11>; - qcom,mas-hw-id = <32>; - qcom,prio1 = <1>; - qcom,prio0 = <1>; - qcom,hw-sel = "NoC"; - qcom,iface-clk-node = "msm_usb3"; - }; - - slv-ampss { - cell-id = <520>; - label = "slv-ampss"; - qcom,slavep = <1>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <20>; - }; - - slv-lpass { - cell-id = <522>; - label = "slv-lpass"; - qcom,slavep = <2>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <21>; - }; - - slv-usb3 { - cell-id = <583>; - label = "slv-usb3"; - qcom,slavep = <4>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <22>; - }; - - slv-wcss { - cell-id = <584>; - label = "slv-wcss"; - qcom,slavep = <6>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <23>; - }; - - slv-ocimem { - cell-id = <585>; - label = "slv-ocimem"; - qcom,slavep = <10>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <26>; - }; - - slv-snoc-ocmem { - cell-id = <586>; - label = "slv-snoc-ocmem"; - qcom,slavep = <11>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <27>; - }; - - slv-service-snoc { - cell-id = <587>; - label = "slv-service-snoc"; - qcom,slavep = <13>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <29>; - }; - - slv-qdss-stm { - cell-id = <588>; - label = "slv-qdss-stm"; - qcom,slavep = <14>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <30>; - }; - - }; - - msm-periph-noc@fc468000 { - compatible = "msm-bus-fabric"; - reg = <0xfc468000 0x00004000>; - cell-id = <4096>; - label = "msm_periph_noc"; - qcom,fabclk-dual = "bus_clk"; - qcom,fabclk-active = "bus_a_clk"; - qcom,ntieredslaves = <0>; - qcom,hw-sel = "NoC"; - qcom,rpm-en; - - coresight-id = <54>; - coresight-name = "coresight-pnoc"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_in0>; - coresight-child-ports = <6>; - - mas-pnoc-cfg { - cell-id = <88>; - label = "mas-pnoc-cfg"; - qcom,masterp = <10>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <43>; - }; - - mas-sdcc-1 { - cell-id = <78>; - label = "mas-sdcc-1"; - qcom,masterp = <0>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <33>; - }; - - mas-sdcc-3 { - cell-id = <79>; - label = "mas-sdcc-3"; - qcom,masterp = <1>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <34>; - }; - - mas-sdcc-4 { - cell-id = <80>; - label = "mas-sdcc-4"; - qcom,masterp = <3>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <36>; - }; - - mas-sdcc-2 { - cell-id = <81>; - label = "mas-sdcc-2"; - qcom,masterp = <2>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <35>; - }; - - mas-tsif { - cell-id = <82>; - label = "mas-tsif"; - qcom,masterp = <4>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <37>; - }; - - mas-bam-dma { - cell-id = <83>; - label = "mas-bam-dma"; - qcom,masterp = <5>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <38>; - }; - - mas-blsp-2 { - cell-id = <84>; - label = "mas-blsp-2"; - qcom,masterp = <6>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <39>; - }; - - mas-usb-hsic { - cell-id = <85>; - label = "mas-usb-hsic"; - qcom,masterp = <7>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <40>; - }; - - mas-blsp-1 { - cell-id = <86>; - label = "mas-blsp-1"; - qcom,masterp = <8>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <41>; - }; - - mas-usb-hs { - cell-id = <87>; - label = "mas-usb-hs"; - qcom,masterp = <9>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <42>; - }; - - fab-snoc { - cell-id = <1024>; - label = "fab-snoc"; - qcom,gateway; - qcom,slavep = <14>; - qcom,masterp = <11>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <45>; - qcom,mas-hw-id = <44>; - }; - - slv-sdcc-1 { - cell-id = <606>; - label = "slv-sdcc-1"; - qcom,slavep = <0>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <31>; - }; - - slv-sdcc-3 { - cell-id = <607>; - label = "slv-sdcc-3"; - qcom,slavep = <1>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <32>; - }; - - slv-sdcc-2 { - cell-id = <608>; - label = "slv-sdcc-2"; - qcom,slavep = <2>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <33>; - }; - - slv-sdcc-4 { - cell-id = <609>; - label = "slv-sdcc-4"; - qcom,slavep = <3>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <34>; - }; - - slv-tsif { - cell-id = <575>; - label = "slv-tsif"; - qcom,slavep = <4>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <35>; - }; - - slv-bam-dma { - cell-id = <610>; - label = "slv-bam-dma"; - qcom,slavep = <5>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <36>; - }; - - slv-blsp-2 { - cell-id = <611>; - label = "slv-blsp-2"; - qcom,slavep = <6>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <37>; - }; - - slv-usb-hsic { - cell-id = <612>; - label = "slv-usb-hsic"; - qcom,slavep = <7>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <38>; - }; - - slv-blsp-1 { - cell-id = <613>; - label = "slv-blsp-1"; - qcom,slavep = <8>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <39>; - }; - - slv-usb-hs { - cell-id = <614>; - label = "slv-usb-hs"; - qcom,slavep = <9>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <40>; - }; - - slv-pdm { - cell-id = <615>; - label = "slv-pdm"; - qcom,slavep = <10>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <41>; - }; - - slv-periph-apu-cfg { - cell-id = <616>; - label = "slv-periph-apu-cfg"; - qcom,slavep = <11>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <42>; - }; - - slv-pnoc-mpu-cfg { - cell-id = <617>; - label = "slv-pnoc-mpu-cfg"; - qcom,slavep = <12>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <43>; - }; - - slv-prng { - cell-id = <618>; - label = "slv-prng"; - qcom,slavep = <13>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <44>; - }; - - slv-service-pnoc { - cell-id = <619>; - label = "slv-service-pnoc"; - qcom,slavep = <15>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <46>; - }; - - }; - - msm-config-noc@fc480000 { - compatible = "msm-bus-fabric"; - reg = <0xfc480000 0x00004000>; - cell-id = <5120>; - label = "msm_config_noc"; - qcom,fabclk-dual = "bus_clk"; - qcom,fabclk-active = "bus_a_clk"; - qcom,ntieredslaves = <0>; - qcom,hw-sel = "NoC"; - qcom,rpm-en; - - mas-rpm-inst { - cell-id = <72>; - label = "mas-rpm-inst"; - qcom,masterp = <0>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <45>; - }; - - mas-rpm-data { - cell-id = <73>; - label = "mas-rpm-data"; - qcom,masterp = <1>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <46>; - }; - - mas-rpm-sys { - cell-id = <74>; - label = "mas-rpm-sys"; - qcom,masterp = <2>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <47>; - }; - - mas-dehr { - cell-id = <75>; - label = "mas-dehr"; - qcom,masterp = <3>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <48>; - }; - - mas-qdss-dsp { - cell-id = <76>; - label = "mas-qdss-dap"; - qcom,masterp = <4>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <49>; - }; - - mas-spdm { - cell-id = <36>; - label = "mas-spdm"; - qcom,masterp = <5>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <50>; - }; - - mas-tic { - cell-id = <77>; - label = "mas-tic"; - qcom,masterp = <6>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <51>; - }; - - slv-clk-ctl { - cell-id = <620>; - label = "slv-clk-ctl"; - qcom,slavep = <1>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <47>; - }; - - slv-cnoc-mss { - cell-id = <621>; - label = "slv-cnoc-mss"; - qcom,slavep = <2>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <48>; - }; - - slv-security { - cell-id = <622>; - label = "slv-security"; - qcom,slavep = <3>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <49>; - }; - - slv-tcsr { - cell-id = <623>; - label = "slv-tcsr"; - qcom,slavep = <4>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <50>; - }; - - slv-tlmm { - cell-id = <624>; - label = "slv-tlmm"; - qcom,slavep = <5>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <51>; - }; - - slv-crypto-0-cfg { - cell-id = <625>; - label = "slv-crypto-0-cfg"; - qcom,slavep = <6>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <52>; - }; - - slv-crypto-1-cfg { - cell-id = <626>; - label = "slv-crypto-1-cfg"; - qcom,slavep = <7>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <53>; - }; - - slv-imem-cfg { - cell-id = <627>; - label = "slv-imem-cfg"; - qcom,slavep = <8>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <54>; - }; - - slv-message-ram { - cell-id = <628>; - label = "slv-message-ram"; - qcom,slavep = <9>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <55>; - }; - - slv-bimc-cfg { - cell-id = <629>; - label = "slv-bimc-cfg"; - qcom,slavep = <10>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <56>; - }; - - slv-boot-rom { - cell-id = <630>; - label = "slv-boot-rom"; - qcom,slavep = <11>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <57>; - }; - - slv-pmic-arb { - cell-id = <632>; - label = "slv-pmic-arb"; - qcom,slavep = <13>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <59>; - }; - - slv-spdm-wrapper { - cell-id = <633>; - label = "slv-spdm-wrapper"; - qcom,slavep = <14>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <60>; - }; - - slv-dehr-cfg { - cell-id = <634>; - label = "slv-dehr-cfg"; - qcom,slavep = <15>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <61>; - }; - - slv-mpm { - cell-id = <536>; - label = "slv-mpm"; - qcom,slavep = <16>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <62>; - }; - - slv-qdss-cfg { - cell-id = <635>; - label = "slv-qdss-cfg"; - qcom,slavep = <17>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <63>; - }; - - slv-rbcpr-cfg { - cell-id = <636>; - label = "slv-rbcpr-cfg"; - qcom,slavep = <18>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <64>; - }; - - slv-rbcpr-qdss-apu-cfg { - cell-id = <637>; - label = "slv-rbcpr-qdss-apu-cfg"; - qcom,slavep = <19>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <65>; - }; - - fab-snoc { - cell-id = <1024>; - label = "fab-snoc"; - qcom,gateway; - qcom,slavep = <29>; - qcom,masterp = <7>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <52>; - qcom,slv-hw-id = <75>; - }; - - slv-cnoc-onoc-cfg { - cell-id = <639>; - label = "slv-cnoc-onoc-cfg"; - qcom,slavep = <22>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <68>; - }; - - slv-cnoc-mnoc-mmss-cfg { - cell-id = <631>; - label = "slv-cnoc-mnoc-mmss-cfg"; - qcom,slavep = <12>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <58>; - }; - - slv-cnoc-mnoc-cfg { - cell-id = <640>; - label = "slv-cnoc-mnoc-cfg"; - qcom,slavep = <20>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <66>; - }; - - slv-pnoc-cfg { - cell-id = <641>; - label = "slv-pnoc-cfg"; - qcom,slavep = <23>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <69>; - }; - - slv-snoc-mpu-cfg { - cell-id = <638>; - label = "slv-snoc-mpu-cfg"; - qcom,slavep = <21>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <67>; - }; - - slv-snoc-cfg { - cell-id = <642>; - label = "slv-snoc-cfg"; - qcom,slavep = <24>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <70>; - }; - - slv-ebi1-dll-cfg { - cell-id = <643>; - label = "slv-ebi1-dll-cfg"; - qcom,slavep = <25>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <71>; - }; - - slv-phy-apu-cfg { - cell-id = <644>; - label = "slv-phy-apu-cfg"; - qcom,slavep = <26>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <72>; - }; - - slv-ebi1-phy-cfg { - cell-id = <645>; - label = "slv-ebi1-phy-cfg"; - qcom,slavep = <27>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <73>; - }; - - slv-rpm { - cell-id = <534>; - label = "slv-rpm"; - qcom,slavep = <28>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <74>; - }; - - slv-service-cnoc { - cell-id = <646>; - label = "slv-service-cnoc"; - qcom,slavep = <30>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <76>; - }; - - }; - - msm-bimc@0xfc380000 { - compatible = "msm-bus-fabric"; - reg = <0xfc380000 0x0006A000>; - cell-id = <0>; - label = "msm_bimc"; - qcom,fabclk-dual = "mem_clk"; - qcom,fabclk-active = "mem_a_clk"; - qcom,ntieredslaves = <0>; - qcom,qos-freq = <19200>; - qcom,hw-sel = "BIMC"; - qcom,rpm-en; - - coresight-id = <55>; - coresight-name = "coresight-bimc"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_in1>; - coresight-child-ports = <3>; - - mas-ampss-m0 { - cell-id = <1>; - label = "mas-ampss-m0"; - qcom,masterp = <0>; - qcom,tier = <2>; - qcom,hw-sel = "BIMC"; - qcom,mode = "Limiter"; - qcom,qport = <0>; - qcom,ws = <10000>; - qcom,mas-hw-id = <0>; - qcom,prio-rd = <0>; - qcom,prio-wr = <0>; - qcom,mode-thresh = "Fixed"; - qcom,thresh = <2000000>; - qcom,dual-conf; - qcom,bimc,bw = <300000>; - qcom,bimc,gp = <5>; - qcom,bimc,thmp = <50>; - }; - - mas-ampss-m1 { - cell-id = <2>; - label = "mas-ampss-m1"; - qcom,masterp = <1>; - qcom,tier = <2>; - qcom,hw-sel = "BIMC"; - qcom,mode = "Limiter"; - qcom,qport = <1>; - qcom,ws = <10000>; - qcom,mas-hw-id = <0>; - qcom,prio-rd = <0>; - qcom,prio-wr = <0>; - qcom,mode-thresh = "Fixed"; - qcom,thresh = <2000000>; - qcom,dual-conf; - qcom,bimc,bw = <300000>; - qcom,bimc,gp = <5>; - qcom,bimc,thmp = <50>; - }; - - mas-mss-proc { - cell-id = <65>; - label = "mas-mss-proc"; - qcom,masterp = <2>; - qcom,tier = <2>; - qcom,hw-sel = "RPM"; - qcom,mas-hw-id = <1>; - }; - - fab-mmss-noc { - cell-id = <2048>; - label = "fab_mmss_noc"; - qcom,gateway; - qcom,masterp = <3 4>; - qcom,qport = <3 4>; - qcom,buswidth = <8>; - qcom,ws = <10000>; - qcom,mas-hw-id = <2>; - qcom,hw-sel = "BIMC"; - qcom,mode = "Bypass"; - }; - - fab-snoc { - cell-id = <1024>; - label = "fab-snoc"; - qcom,gateway; - qcom,slavep = <3>; - qcom,masterp = <5 6>; - qcom,qport = <5 6>; - qcom,buswidth = <8>; - qcom,ws = <10000>; - qcom,mas-hw-id = <3>; - qcom,slv-hw-id = <2>; - qcom,mode = "Bypass"; - qcom,hw-sel = "RPM"; - }; - - slv-ebi-ch0 { - cell-id = <512>; - label = "slv-ebi-ch0"; - qcom,slavep = <0 1>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <0>; - qcom,mode = "Bypass"; - }; - - slv-ampss-l2 { - cell-id = <514>; - label = "slv-ampss-l2"; - qcom,slavep = <2>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <1>; - }; - }; - - msm-ocmem-vnoc@6144 { - compatible = "msm-bus-fabric"; - reg = <0x6144 0x2>; - cell-id = <6144>; - label = "msm-ocmem-vnoc"; - qcom,ntieredslaves = <0>; - qcom,hw-sel = "NoC"; - qcom,rpm-en; - qcom,virt; - - mas-v-ocmem-gfx3d { - cell-id = <89>; - label = "mas-v-ocmem-gfx3d"; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <55>; - }; - - slv-ocmem { - cell-id = <604>; - label = "slv-ocmem"; - qcom,slavep = <0 1>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,slv-hw-id = <18>; - qcom,slaveclk-dual = "ocmem_clk"; - qcom,slaveclk-active = "ocmem_a_clk"; - }; - - fab-snoc { - cell-id = <1024>; - label = "fab-snoc"; - qcom,gateway; - qcom,buswidth = <8>; - qcom,ws = <10000>; - qcom,mas-hw-id = <57>; - qcom,slv-hw-id = <80>; - }; - - fab-onoc { - cell-id = <3072>; - label = "fab-onoc"; - qcom,gateway; - qcom,buswidth = <16>; - qcom,ws = <10000>; - qcom,mas-hw-id = <56>; - qcom,slv-hw-id = <79>; - }; - - }; - - msm-ocmem-noc@fc470000 { - compatible = "msm-bus-fabric"; - reg = <0xfc470000 0x00004000>; - cell-id = <3072>; - label = "msm_ocmem_noc"; - qcom,fabclk-dual = "bus_clk"; - qcom,fabclk-active = "bus_a_clk"; - qcom,ntieredslaves = <0>; - qcom,qos-freq = <4800>; - qcom,hw-sel = "NoC"; - qcom,rpm-en; - - coresight-id = <51>; - coresight-name = "coresight-onoc"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_in0>; - coresight-child-ports = <4>; - - fab-ocmem-vnoc { - cell-id = <6144>; - label = "fab-ocmem-vnoc"; - qcom,gateway; - qcom,buswidth = <16>; - qcom,mas-hw-id = <54>; - qcom,slv-hw-id = <78>; - }; - - mas-jpeg-ocmem { - cell-id = <66>; - label = "mas-jpeg-ocmem"; - qcom,masterp = <1>; - qcom,tier = <2>; - qcom,perm-mode = "Fixed"; - qcom,mode = "Fixed"; - qcom,qport = <0>; - qcom,mas-hw-id = <13>; - qcom,hw-sel = "NoC"; - }; - - mas-mdp-ocmem { - cell-id = <67>; - label = "mas-mdp-ocmem"; - qcom,masterp = <2>; - qcom,tier = <2>; - qcom,perm-mode = "Fixed"; - qcom,mode = "Fixed"; - qcom,mas-hw-id = <14>; - qcom,hw-sel = "NoC"; - }; - - mas-video-ocmem { - cell-id = <68>; - label = "mas-video-ocmem"; - qcom,masterp = <3 4>; - qcom,tier = <2>; - qcom,perm-mode = "Fixed"; - qcom,mode = "Fixed"; - qcom,qport = <2 3>; - qcom,mas-hw-id = <15>; - qcom,hw-sel = "NoC"; - }; - - mas-vfe-ocmem { - cell-id = <70>; - label = "mas-vfe-ocmem"; - qcom,masterp = <5>; - qcom,tier = <2>; - qcom,perm-mode = "Fixed"; - qcom,mode = "Fixed"; - qcom,qport = <4>; - qcom,mas-hw-id = <17>; - qcom,hw-sel = "NoC"; - qcom,prio-rd = <1>; - qcom,prio-wr = <1>; - }; - - mas-cnoc-onoc-cfg { - cell-id = <71>; - label = "mas-cnoc-onoc-cfg"; - qcom,masterp = <0>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,mas-hw-id = <12>; - qcom,hw-sel = "NoC"; - }; - - slv-service-onoc { - cell-id = <605>; - label = "slv-service-onoc"; - qcom,slavep = <2>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,slv-hw-id = <19>; - }; - }; -}; - - diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8974-camera-sensor-cdp.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8974-camera-sensor-cdp.dtsi deleted file mode 100644 index 4a9820dab..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8974-camera-sensor-cdp.dtsi +++ /dev/null @@ -1,189 +0,0 @@ -/* - * Copyright (c) 2012-2013, 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. - */ - -&cci { - - actuator0: qcom,actuator@18 { - cell-index = <0>; - reg = <0x18 0x0>; - compatible = "qcom,actuator"; - qcom,cci-master = <0>; - }; - - actuator1: qcom,actuator@36 { - cell-index = <1>; - reg = <0x36>; - compatible = "qcom,actuator"; - qcom,cci-master = <0>; - }; - - qcom,camera@6e { - compatible = "qcom,s5k3l1yx"; - reg = <0x6e 0x0>; - qcom,slave-id = <0x6e 0x0 0x3121>; - qcom,csiphy-sd-index = <0>; - qcom,csid-sd-index = <0>; - qcom,actuator-src = <&actuator0>; - qcom,mount-angle = <90>; - qcom,sensor-name = "s5k3l1yx"; - qcom,vdd-cx-supply = <&pm8841_s2>; - qcom,vdd-cx-name = "qcom,vdd-cx"; - cam_vdig-supply = <&pm8941_l3>; - cam_vana-supply = <&pm8941_l17>; - cam_vio-supply = <&pm8941_lvs3>; - cam_vaf-supply = <&pm8941_l23>; - qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana", - "cam_vaf"; - qcom,cam-vreg-type = <0 1 0 0>; - qcom,cam-vreg-min-voltage = <1225000 0 2850000 3000000>; - qcom,cam-vreg-max-voltage = <1225000 0 2850000 3000000>; - qcom,cam-vreg-op-mode = <105000 0 80000 100000>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 15 0>, - <&msmgpio 90 0>, - <&msmgpio 89 0>; - qcom,gpio-reset = <1>; - qcom,gpio-standby = <2>; - qcom,gpio-req-tbl-num = <0 1 2>; - qcom,gpio-req-tbl-flags = <1 0 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1", - "CAM_STANDBY"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 30000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x1F>; - qcom,sensor-position = <0>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - status = "ok"; - }; - - qcom,camera@20 { - compatible = "qcom,imx135"; - reg = <0x20>; - qcom,slave-id = <0x20 0x0016 0x0135>; - qcom,csiphy-sd-index = <0>; - qcom,csid-sd-index = <0>; - qcom,mount-angle = <90>; - qcom,sensor-name = "imx135"; - qcom,actuator-src = <&actuator1>; - qcom,vdd-cx-supply = <&pm8841_s2>; - qcom,vdd-cx-name = "qcom,vdd-cx"; - cam_vdig-supply = <&pm8941_l3>; - cam_vana-supply = <&pm8941_l17>; - cam_vio-supply = <&pm8941_lvs3>; - cam_vaf-supply = <&pm8941_l23>; - qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana", - "cam_vaf"; - qcom,cam-vreg-type = <0 1 0 0>; - qcom,cam-vreg-min-voltage = <1225000 0 2850000 3000000>; - qcom,cam-vreg-max-voltage = <1225000 0 2850000 3000000>; - qcom,cam-vreg-op-mode = <105000 0 80000 100000>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 15 0>, - <&msmgpio 90 0>, - <&msmgpio 89 0>; - qcom,gpio-reset = <1>; - qcom,gpio-standby = <2>; - qcom,gpio-req-tbl-num = <0 1 2>; - qcom,gpio-req-tbl-flags = <1 0 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1", - "CAM_STANDBY"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 30000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x1F>; - qcom,sensor-position = <0>; - qcom,sensor-mode = <0>; - qcom,sensor-type = <0>; - qcom,cci-master = <0>; - status = "ok"; - }; - - qcom,camera@6c { - compatible = "qcom,ov2720"; - reg = <0x6c 0x0>; - qcom,slave-id = <0x6c 0x300A 0x2720>; - qcom,csiphy-sd-index = <2>; - qcom,csid-sd-index = <2>; - qcom,mount-angle = <90>; - qcom,sensor-name = "ov2720"; - qcom,vdd-cx-supply = <&pm8841_s2>; - qcom,vdd-cx-name = "qcom,vdd-cx"; - cam_vdig-supply = <&pm8941_l3>; - cam_vana-supply = <&pm8941_l17>; - cam_vio-supply = <&pm8941_lvs3>; - qcom,cam-vreg-name = "cam_vdig", "cam_vana", "cam_vio"; - qcom,cam-vreg-type = <0 0 1>; - qcom,cam-vreg-min-voltage = <1225000 2850000 0>; - qcom,cam-vreg-max-voltage = <1225000 2850000 0>; - qcom,cam-vreg-op-mode = <105000 80000 0>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 17 0>, - <&msmgpio 18 0>; - qcom,gpio-reset = <1>; - qcom,gpio-req-tbl-num = <0 1>; - qcom,gpio-req-tbl-flags = <1 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 4000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x7>; - qcom,sensor-position = <1>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - status = "ok"; - }; - - qcom,camera@90 { - compatible = "qcom,mt9m114"; - reg = <0x90 0x0>; - qcom,slave-id = <0x90 0x0 0x2481>; - qcom,csiphy-sd-index = <1>; - qcom,csid-sd-index = <0>; - qcom,mount-angle = <0>; - qcom,sensor-name = "mt9m114"; - qcom,vdd-cx-supply = <&pm8841_s2>; - qcom,vdd-cx-name = "qcom,vdd-cx"; - cam_vdig-supply = <&pm8941_l3>; - cam_vana-supply = <&pm8941_l17>; - cam_vio-supply = <&pm8941_lvs3>; - qcom,cam-vreg-name = "cam_vdig", "cam_vana", "cam_vio"; - qcom,cam-vreg-type = <0 0 1>; - qcom,cam-vreg-min-voltage = <1225000 2850000 0>; - qcom,cam-vreg-max-voltage = <1225000 2850000 0>; - qcom,cam-vreg-op-mode = <105000 80000 0>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 16 0>, - <&msmgpio 92 0>; - qcom,gpio-reset = <1>; - qcom,gpio-req-tbl-num = <0 1>; - qcom,gpio-req-tbl-flags = <1 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 4000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x3>; - qcom,sensor-position = <1>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8974-camera-sensor-dragonboard.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8974-camera-sensor-dragonboard.dtsi deleted file mode 100644 index e84a47d62..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8974-camera-sensor-dragonboard.dtsi +++ /dev/null @@ -1,174 +0,0 @@ -/* - * Copyright (c) 2012-2013, 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. - */ - -&cci { - - actuator0: qcom,actuator@18 { - cell-index = <0>; - reg = <0x18 0x0>; - compatible = "qcom,actuator"; - qcom,cci-master = <0>; - }; - - actuator1: qcom,actuator@36 { - cell-index = <1>; - reg = <0x36>; - compatible = "qcom,actuator"; - qcom,cci-master = <0>; - }; - - qcom,camera@6e { - compatible = "qcom,s5k3l1yx"; - reg = <0x6e 0x0>; - qcom,slave-id = <0x6e 0x0 0x3121>; - qcom,csiphy-sd-index = <0>; - qcom,csid-sd-index = <0>; - qcom,mount-angle = <0>; - qcom,actuator-src = <&actuator0>; - qcom,sensor-name = "s5k3l1yx"; - cam_vdig-supply = <&pm8941_l3>; - cam_vana-supply = <&pm8941_l17>; - cam_vio-supply = <&pm8941_lvs3>; - cam_vaf-supply = <&pm8941_l23>; - qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana", - "cam_vaf"; - qcom,cam-vreg-type = <0 1 0 0>; - qcom,cam-vreg-min-voltage = <1225000 0 2850000 3000000>; - qcom,cam-vreg-max-voltage = <1225000 0 2850000 3000000>; - qcom,cam-vreg-op-mode = <105000 0 80000 100000>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 15 0>, - <&msmgpio 90 0>; - qcom,gpio-reset = <1>; - qcom,gpio-req-tbl-num = <0 1>; - qcom,gpio-req-tbl-flags = <1 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 30000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x1F>; - qcom,sensor-position = <0>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - status = "ok"; - }; - - qcom,camera@20 { - compatible = "qcom,imx135"; - reg = <0x20>; - qcom,slave-id = <0x20 0x0016 0x0135>; - qcom,csiphy-sd-index = <0>; - qcom,csid-sd-index = <0>; - qcom,mount-angle = <0>; - qcom,sensor-name = "imx135"; - qcom,actuator-src = <&actuator1>; - cam_vdig-supply = <&pm8941_l3>; - cam_vana-supply = <&pm8941_l17>; - cam_vio-supply = <&pm8941_lvs3>; - cam_vaf-supply = <&pm8941_l23>; - qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana", - "cam_vaf"; - qcom,cam-vreg-type = <0 1 0 0>; - qcom,cam-vreg-min-voltage = <1225000 0 2850000 3000000>; - qcom,cam-vreg-max-voltage = <1225000 0 2850000 3000000>; - qcom,cam-vreg-op-mode = <105000 0 80000 100000>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 15 0>, - <&msmgpio 90 0>; - qcom,gpio-reset = <1>; - qcom,gpio-req-tbl-num = <0 1>; - qcom,gpio-req-tbl-flags = <1 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 30000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x1F>; - qcom,sensor-position = <0>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - status = "ok"; - }; - - qcom,camera@6c { - compatible = "qcom,ov2720"; - reg = <0x6c 0x0>; - qcom,slave-id = <0x6c 0x300A 0x2720>; - qcom,csiphy-sd-index = <2>; - qcom,csid-sd-index = <0>; - qcom,mount-angle = <180>; - qcom,sensor-name = "ov2720"; - cam_vdig-supply = <&pm8941_l3>; - cam_vana-supply = <&pm8941_l17>; - cam_vio-supply = <&pm8941_lvs3>; - qcom,cam-vreg-name = "cam_vdig", "cam_vana", "cam_vio"; - qcom,cam-vreg-type = <0 0 1>; - qcom,cam-vreg-min-voltage = <1225000 2850000 0>; - qcom,cam-vreg-max-voltage = <1225000 2850000 0>; - qcom,cam-vreg-op-mode = <105000 80000 0>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 17 0>, - <&msmgpio 18 0>; - qcom,gpio-reset = <1>; - qcom,gpio-req-tbl-num = <0 1>; - qcom,gpio-req-tbl-flags = <1 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 4000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x7>; - qcom,sensor-position = <1>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - status = "ok"; - }; - - qcom,camera@90 { - compatible = "qcom,mt9m114"; - reg = <0x90 0x0>; - qcom,slave-id = <0x90 0x0 0x2481>; - qcom,csiphy-sd-index = <1>; - qcom,csid-sd-index = <0>; - qcom,mount-angle = <0>; - qcom,sensor-name = "mt9m114"; - cam_vdig-supply = <&pm8941_l3>; - cam_vana-supply = <&pm8941_l17>; - cam_vio-supply = <&pm8941_lvs3>; - qcom,cam-vreg-name = "cam_vdig", "cam_vana", "cam_vio"; - qcom,cam-vreg-type = <0 0 1>; - qcom,cam-vreg-min-voltage = <1225000 2850000 0>; - qcom,cam-vreg-max-voltage = <1225000 2850000 0>; - qcom,cam-vreg-op-mode = <105000 80000 0>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 16 0>, - <&msmgpio 94 0>; - qcom,gpio-reset = <1>; - qcom,gpio-req-tbl-num = <0 1>; - qcom,gpio-req-tbl-flags = <1 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 4000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x3>; - qcom,sensor-position = <1>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8974-camera-sensor-fluid.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8974-camera-sensor-fluid.dtsi deleted file mode 100644 index f61b83a45..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8974-camera-sensor-fluid.dtsi +++ /dev/null @@ -1,190 +0,0 @@ -/* - * Copyright (c) 2012-2013, 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. - */ - -&cci { - - actuator0: qcom,actuator@18 { - cell-index = <0>; - reg = <0x18>; - compatible = "qcom,actuator"; - qcom,cci-master = <0>; - }; - - actuator1: qcom,actuator@36 { - cell-index = <1>; - reg = <0x36>; - compatible = "qcom,actuator"; - qcom,cci-master = <0>; - }; - - qcom,camera@6e { - compatible = "qcom,s5k3l1yx"; - reg = <0x6e>; - qcom,slave-id = <0x6e 0x0 0x3121>; - qcom,csiphy-sd-index = <0>; - qcom,csid-sd-index = <0>; - qcom,actuator-src = <&actuator0>; - qcom,led-flash-src = <&led_flash0>; - qcom,mount-angle = <270>; - qcom,sensor-name = "s5k3l1yx"; - qcom,vdd-cx-supply = <&pm8841_s2>; - qcom,vdd-cx-name = "qcom,vdd-cx"; - cam_vdig-supply = <&pm8941_l3>; - cam_vana-supply = <&pm8941_l17>; - cam_vio-supply = <&pm8941_lvs3>; - cam_vaf-supply = <&pm8941_l23>; - qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana", - "cam_vaf"; - qcom,cam-vreg-type = <0 1 0 0>; - qcom,cam-vreg-min-voltage = <1225000 0 2850000 3000000>; - qcom,cam-vreg-max-voltage = <1225000 0 2850000 3000000>; - qcom,cam-vreg-op-mode = <105000 0 80000 100000>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 15 0>, - <&msmgpio 90 0>, - <&msmgpio 89 0>; - qcom,gpio-reset = <1>; - qcom,gpio-standby = <2>; - qcom,gpio-req-tbl-num = <0 1 2>; - qcom,gpio-req-tbl-flags = <1 0 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1", - "CAM_STANDBY"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 30000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x1F>; - qcom,sensor-position = <0>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - status = "ok"; - }; - - qcom,camera@20 { - compatible = "qcom,imx135"; - reg = <0x20>; - qcom,slave-id = <0x20 0x0016 0x0135>; - qcom,csiphy-sd-index = <0>; - qcom,csid-sd-index = <0>; - qcom,mount-angle = <270>; - qcom,sensor-name = "imx135"; - qcom,actuator-src = <&actuator1>; - qcom,vdd-cx-supply = <&pm8841_s2>; - qcom,vdd-cx-name = "qcom,vdd-cx"; - cam_vdig-supply = <&pm8941_l3>; - cam_vana-supply = <&pm8941_l17>; - cam_vio-supply = <&pm8941_lvs3>; - cam_vaf-supply = <&pm8941_l23>; - qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana", - "cam_vaf"; - qcom,cam-vreg-type = <0 1 0 0>; - qcom,cam-vreg-min-voltage = <1225000 0 2850000 3000000>; - qcom,cam-vreg-max-voltage = <1225000 0 2850000 3000000>; - qcom,cam-vreg-op-mode = <105000 0 80000 100000>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 15 0>, - <&msmgpio 90 0>, - <&msmgpio 89 0>; - qcom,gpio-reset = <1>; - qcom,gpio-standby = <2>; - qcom,gpio-req-tbl-num = <0 1 2>; - qcom,gpio-req-tbl-flags = <1 0 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1", - "CAM_STANDBY"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 30000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x1F>; - qcom,sensor-position = <0>; - qcom,sensor-mode = <0>; - qcom,sensor-type = <0>; - qcom,cci-master = <0>; - status = "ok"; - }; - - qcom,camera@6c { - compatible = "qcom,ov2720"; - reg = <0x6c>; - qcom,slave-id = <0x6c 0x300A 0x2720>; - qcom,csiphy-sd-index = <2>; - qcom,csid-sd-index = <2>; - qcom,mount-angle = <90>; - qcom,sensor-name = "ov2720"; - qcom,vdd-cx-supply = <&pm8841_s2>; - qcom,vdd-cx-name = "qcom,vdd-cx"; - cam_vdig-supply = <&pm8941_l3>; - cam_vana-supply = <&pm8941_l17>; - cam_vio-supply = <&pm8941_lvs3>; - qcom,cam-vreg-name = "cam_vdig", "cam_vana", "cam_vio"; - qcom,cam-vreg-type = <0 0 1>; - qcom,cam-vreg-min-voltage = <1225000 2850000 0>; - qcom,cam-vreg-max-voltage = <1225000 2850000 0>; - qcom,cam-vreg-op-mode = <105000 80000 0>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 17 0>, - <&msmgpio 18 0>; - qcom,gpio-reset = <1>; - qcom,gpio-req-tbl-num = <0 1>; - qcom,gpio-req-tbl-flags = <1 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 4000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x7>; - qcom,sensor-position = <1>; - qcom,sensor-mode = <1>; - qcom,cci-master = <1>; - status = "ok"; - }; - - qcom,camera@90 { - compatible = "qcom,mt9m114"; - reg = <0x90>; - qcom,slave-id = <0x90 0x0 0x2481>; - qcom,csiphy-sd-index = <1>; - qcom,csid-sd-index = <0>; - qcom,mount-angle = <0>; - qcom,sensor-name = "mt9m114"; - qcom,vdd-cx-supply = <&pm8841_s2>; - qcom,vdd-cx-name = "qcom,vdd-cx"; - cam_vdig-supply = <&pm8941_l3>; - cam_vana-supply = <&pm8941_l17>; - cam_vio-supply = <&pm8941_lvs3>; - qcom,cam-vreg-name = "cam_vdig", "cam_vana", "cam_vio"; - qcom,cam-vreg-type = <0 0 1>; - qcom,cam-vreg-min-voltage = <1225000 2850000 0>; - qcom,cam-vreg-max-voltage = <1225000 2850000 0>; - qcom,cam-vreg-op-mode = <105000 80000 0>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 16 0>, - <&msmgpio 92 0>; - qcom,gpio-reset = <1>; - qcom,gpio-req-tbl-num = <0 1>; - qcom,gpio-req-tbl-flags = <1 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 4000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x3>; - qcom,sensor-position = <1>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8974-camera-sensor-liquid.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8974-camera-sensor-liquid.dtsi deleted file mode 100644 index cf968d208..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8974-camera-sensor-liquid.dtsi +++ /dev/null @@ -1,190 +0,0 @@ - -/* - * Copyright (c) 2012-2013, 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. - */ - -&cci { - - actuator0: qcom,actuator@18 { - cell-index = <0>; - reg = <0x18>; - compatible = "qcom,actuator"; - qcom,cci-master = <0>; - }; - - actuator1: qcom,actuator@36 { - cell-index = <1>; - reg = <0x36>; - compatible = "qcom,actuator"; - qcom,cci-master = <0>; - }; - - qcom,camera@6e { - compatible = "qcom,s5k3l1yx"; - reg = <0x6e>; - qcom,slave-id = <0x6e 0x0 0x3121>; - qcom,csiphy-sd-index = <0>; - qcom,csid-sd-index = <0>; - qcom,mount-angle = <0>; - qcom,actuator-src = <&actuator0>; - qcom,sensor-name = "s5k3l1yx"; - qcom,vdd-cx-supply = <&pm8841_s2>; - qcom,vdd-cx-name = "qcom,vdd-cx"; - cam_vdig-supply = <&pm8941_l3>; - cam_vana-supply = <&pm8941_l17>; - cam_vio-supply = <&pm8941_lvs2>; - cam_vaf-supply = <&pm8941_l23>; - qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana", - "cam_vaf"; - qcom,cam-vreg-type = <0 1 0 0>; - qcom,cam-vreg-min-voltage = <1225000 0 2850000 3000000>; - qcom,cam-vreg-max-voltage = <1225000 0 2850000 3000000>; - qcom,cam-vreg-op-mode = <105000 0 80000 100000>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 15 0>, - <&msmgpio 90 0>, - <&msmgpio 89 0>; - qcom,gpio-reset = <1>; - qcom,gpio-standby = <2>; - qcom,gpio-req-tbl-num = <0 1 2>; - qcom,gpio-req-tbl-flags = <1 0 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1", - "CAM_STANDBY"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 30000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x1F>; - qcom,sensor-position = <0>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - status = "ok"; - }; - - qcom,camera@20 { - compatible = "qcom,imx135"; - reg = <0x20>; - qcom,slave-id = <0x20 0x0016 0x0135>; - qcom,csiphy-sd-index = <0>; - qcom,csid-sd-index = <0>; - qcom,mount-angle = <0>; - qcom,sensor-name = "imx135"; - qcom,vdd-cx-supply = <&pm8841_s2>; - qcom,vdd-cx-name = "qcom,vdd-cx"; - qcom,actuator-src = <&actuator1>; - cam_vdig-supply = <&pm8941_l3>; - cam_vana-supply = <&pm8941_l17>; - cam_vio-supply = <&pm8941_lvs2>; - cam_vaf-supply = <&pm8941_l23>; - qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana", - "cam_vaf"; - qcom,cam-vreg-type = <0 1 0 0>; - qcom,cam-vreg-min-voltage = <1225000 0 2850000 3000000>; - qcom,cam-vreg-max-voltage = <1225000 0 2850000 3000000>; - qcom,cam-vreg-op-mode = <105000 0 80000 100000>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 15 0>, - <&msmgpio 90 0>, - <&msmgpio 89 0>; - qcom,gpio-reset = <1>; - qcom,gpio-standby = <2>; - qcom,gpio-req-tbl-num = <0 1 2>; - qcom,gpio-req-tbl-flags = <1 0 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1", - "CAM_STANDBY"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 30000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x1F>; - qcom,sensor-position = <0>; - qcom,sensor-mode = <0>; - qcom,sensor-type = <0>; - qcom,cci-master = <0>; - status = "ok"; - }; - - qcom,camera@6c { - compatible = "qcom,ov2720"; - reg = <0x6c>; - qcom,slave-id = <0x6c 0x300A 0x2720>; - qcom,csiphy-sd-index = <2>; - qcom,csid-sd-index = <0>; - qcom,mount-angle = <180>; - qcom,sensor-name = "ov2720"; - qcom,vdd-cx-supply = <&pm8841_s2>; - qcom,vdd-cx-name = "qcom,vdd-cx"; - cam_vdig-supply = <&pm8941_l3>; - cam_vana-supply = <&pm8941_l17>; - cam_vio-supply = <&pm8941_lvs2>; - qcom,cam-vreg-name = "cam_vdig", "cam_vana", "cam_vio"; - qcom,cam-vreg-type = <0 0 1>; - qcom,cam-vreg-min-voltage = <1225000 2850000 0>; - qcom,cam-vreg-max-voltage = <1225000 2850000 0>; - qcom,cam-vreg-op-mode = <105000 80000 0>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 17 0>, - <&msmgpio 18 0>; - qcom,gpio-reset = <1>; - qcom,gpio-req-tbl-num = <0 1>; - qcom,gpio-req-tbl-flags = <1 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 4000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x7>; - qcom,sensor-position = <1>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - status = "ok"; - }; - - qcom,camera@90 { - compatible = "qcom,mt9m114"; - reg = <0x90>; - qcom,slave-id = <0x90 0x0 0x2481>; - qcom,csiphy-sd-index = <1>; - qcom,csid-sd-index = <0>; - qcom,mount-angle = <0>; - qcom,vdd-cx-supply = <&pm8841_s2>; - qcom,vdd-cx-name = "qcom,vdd-cx"; - qcom,sensor-name = "mt9m114"; - cam_vdig-supply = <&pm8941_l3>; - cam_vana-supply = <&pm8941_l17>; - cam_vio-supply = <&pm8941_lvs2>; - qcom,cam-vreg-name = "cam_vdig", "cam_vana", "cam_vio"; - qcom,cam-vreg-type = <0 0 1>; - qcom,cam-vreg-min-voltage = <1225000 2850000 0>; - qcom,cam-vreg-max-voltage = <1225000 2850000 0>; - qcom,cam-vreg-op-mode = <105000 80000 0>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 16 0>, - <&msmgpio 92 0>; - qcom,gpio-reset = <1>; - qcom,gpio-req-tbl-num = <0 1>; - qcom,gpio-req-tbl-flags = <1 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 4000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x3>; - qcom,sensor-position = <1>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8974-camera-sensor-mtp.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8974-camera-sensor-mtp.dtsi deleted file mode 100644 index 6ad62137c..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8974-camera-sensor-mtp.dtsi +++ /dev/null @@ -1,191 +0,0 @@ -/* - * Copyright (c) 2012-2013, 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. - */ - -&cci { - - actuator0: qcom,actuator@18 { - cell-index = <0>; - reg = <0x18>; - compatible = "qcom,actuator"; - qcom,cci-master = <0>; - }; - - actuator1: qcom,actuator@36 { - cell-index = <1>; - reg = <0x36>; - compatible = "qcom,actuator"; - qcom,cci-master = <0>; - }; - - qcom,camera@6e { - compatible = "qcom,s5k3l1yx"; - reg = <0x6e>; - qcom,slave-id = <0x6e 0x0 0x3121>; - qcom,csiphy-sd-index = <0>; - qcom,csid-sd-index = <0>; - qcom,actuator-src = <&actuator0>; - qcom,led-flash-src = <&led_flash0>; - qcom,mount-angle = <90>; - qcom,sensor-name = "s5k3l1yx"; - qcom,vdd-cx-supply = <&pm8841_s2>; - qcom,vdd-cx-name = "qcom,vdd-cx"; - cam_vdig-supply = <&pm8941_l3>; - cam_vana-supply = <&pm8941_l17>; - cam_vio-supply = <&pm8941_lvs3>; - cam_vaf-supply = <&pm8941_l23>; - qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana", - "cam_vaf"; - qcom,cam-vreg-type = <0 1 0 0>; - qcom,cam-vreg-min-voltage = <1225000 0 2850000 3000000>; - qcom,cam-vreg-max-voltage = <1225000 0 2850000 3000000>; - qcom,cam-vreg-op-mode = <105000 0 80000 100000>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 15 0>, - <&msmgpio 90 0>, - <&msmgpio 89 0>; - qcom,gpio-reset = <1>; - qcom,gpio-standby = <2>; - qcom,gpio-req-tbl-num = <0 1 2>; - qcom,gpio-req-tbl-flags = <1 0 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1", - "CAM_STANDBY"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 30000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x1F>; - qcom,sensor-position = <0>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - status = "ok"; - }; - - qcom,camera@20 { - compatible = "qcom,imx135"; - reg = <0x20>; - qcom,slave-id = <0x20 0x0016 0x0135>; - qcom,csiphy-sd-index = <0>; - qcom,csid-sd-index = <0>; - qcom,mount-angle = <90>; - qcom,sensor-name = "imx135"; - qcom,vdd-cx-supply = <&pm8841_s2>; - qcom,vdd-cx-name = "qcom,vdd-cx"; - qcom,actuator-src = <&actuator1>; - cam_vdig-supply = <&pm8941_l3>; - cam_vana-supply = <&pm8941_l17>; - cam_vio-supply = <&pm8941_lvs3>; - cam_vaf-supply = <&pm8941_l23>; - qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana", - "cam_vaf"; - qcom,cam-vreg-type = <0 1 0 0>; - qcom,cam-vreg-min-voltage = <1225000 0 2850000 3000000>; - qcom,cam-vreg-max-voltage = <1225000 0 2850000 3000000>; - qcom,cam-vreg-op-mode = <105000 0 80000 100000>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 15 0>, - <&msmgpio 90 0>, - <&msmgpio 89 0>; - qcom,gpio-reset = <1>; - qcom,gpio-standby = <2>; - qcom,gpio-req-tbl-num = <0 1 2>; - qcom,gpio-req-tbl-flags = <1 0 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1", - "CAM_STANDBY"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 30000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x1F>; - qcom,sensor-position = <0>; - qcom,sensor-mode = <0>; - qcom,sensor-type = <0>; - qcom,cci-master = <0>; - status = "ok"; - }; - - - qcom,camera@6c { - compatible = "qcom,ov2720"; - reg = <0x6c>; - qcom,slave-id = <0x6c 0x300A 0x2720>; - qcom,csiphy-sd-index = <2>; - qcom,csid-sd-index = <2>; - qcom,mount-angle = <90>; - qcom,sensor-name = "ov2720"; - qcom,vdd-cx-supply = <&pm8841_s2>; - qcom,vdd-cx-name = "qcom,vdd-cx"; - cam_vdig-supply = <&pm8941_l3>; - cam_vana-supply = <&pm8941_l17>; - cam_vio-supply = <&pm8941_lvs3>; - qcom,cam-vreg-name = "cam_vdig", "cam_vana", "cam_vio"; - qcom,cam-vreg-type = <0 0 1>; - qcom,cam-vreg-min-voltage = <1225000 2850000 0>; - qcom,cam-vreg-max-voltage = <1225000 2850000 0>; - qcom,cam-vreg-op-mode = <105000 80000 0>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 17 0>, - <&msmgpio 18 0>; - qcom,gpio-reset = <1>; - qcom,gpio-req-tbl-num = <0 1>; - qcom,gpio-req-tbl-flags = <1 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 4000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x7>; - qcom,sensor-position = <1>; - qcom,sensor-mode = <1>; - qcom,cci-master = <1>; - status = "ok"; - }; - - qcom,camera@90 { - compatible = "qcom,mt9m114"; - reg = <0x90>; - qcom,slave-id = <0x90 0x0 0x2481>; - qcom,csiphy-sd-index = <1>; - qcom,csid-sd-index = <0>; - qcom,mount-angle = <0>; - qcom,sensor-name = "mt9m114"; - qcom,vdd-cx-supply = <&pm8841_s2>; - qcom,vdd-cx-name = "qcom,vdd-cx"; - cam_vdig-supply = <&pm8941_l3>; - cam_vana-supply = <&pm8941_l17>; - cam_vio-supply = <&pm8941_lvs3>; - qcom,cam-vreg-name = "cam_vdig", "cam_vana", "cam_vio"; - qcom,cam-vreg-type = <0 0 1>; - qcom,cam-vreg-min-voltage = <1225000 2850000 0>; - qcom,cam-vreg-max-voltage = <1225000 2850000 0>; - qcom,cam-vreg-op-mode = <105000 80000 0>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 16 0>, - <&msmgpio 92 0>; - qcom,gpio-reset = <1>; - qcom,gpio-req-tbl-num = <0 1>; - qcom,gpio-req-tbl-flags = <1 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 4000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x3>; - qcom,sensor-position = <1>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8974-camera.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8974-camera.dtsi deleted file mode 100644 index 786e9e381..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8974-camera.dtsi +++ /dev/null @@ -1,215 +0,0 @@ -/* - * Copyright (c) 2012-2013, 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. - */ - -/include/ "skeleton.dtsi" - -&soc { - qcom,msm-cam@fd8C0000 { - compatible = "qcom,msm-cam"; - reg = <0xfd8C0000 0x10000>; - reg-names = "msm-cam"; - }; - - qcom,csiphy@fda0ac00 { - cell-index = <0>; - compatible = "qcom,csiphy"; - reg = <0xfda0ac00 0x200>, - <0xfda00030 0x4>; - reg-names = "csiphy", "csiphy_clk_mux"; - interrupts = <0 78 0>; - interrupt-names = "csiphy"; - }; - - qcom,csiphy@fda0b000 { - cell-index = <1>; - compatible = "qcom,csiphy"; - reg = <0xfda0b000 0x200>, - <0xfda00038 0x4>; - reg-names = "csiphy", "csiphy_clk_mux"; - interrupts = <0 79 0>; - interrupt-names = "csiphy"; - }; - - qcom,csiphy@fda0b400 { - cell-index = <2>; - compatible = "qcom,csiphy"; - reg = <0xfda0b400 0x200>, - <0xfda00040 0x4>; - reg-names = "csiphy", "csiphy_clk_mux"; - interrupts = <0 80 0>; - interrupt-names = "csiphy"; - }; - - qcom,csid@fda08000 { - cell-index = <0>; - compatible = "qcom,csid"; - reg = <0xfda08000 0x100>; - reg-names = "csid"; - interrupts = <0 51 0>; - interrupt-names = "csid"; - qcom,csi-vdd-voltage = <1800000>; - qcom,mipi-csi-vdd-supply = <&pm8941_l12>; - }; - - qcom,csid@fda08400 { - cell-index = <1>; - compatible = "qcom,csid"; - reg = <0xfda08400 0x100>; - reg-names = "csid"; - interrupts = <0 52 0>; - interrupt-names = "csid"; - qcom,csi-vdd-voltage = <1800000>; - qcom,mipi-csi-vdd-supply = <&pm8941_l12>; - }; - - qcom,csid@fda08800 { - cell-index = <2>; - compatible = "qcom,csid"; - reg = <0xfda08800 0x100>; - reg-names = "csid"; - interrupts = <0 53 0>; - interrupt-names = "csid"; - qcom,csi-vdd-voltage = <1800000>; - qcom,mipi-csi-vdd-supply = <&pm8941_l12>; - }; - - qcom,csid@fda08C00 { - cell-index = <3>; - compatible = "qcom,csid"; - reg = <0xfda08C00 0x100>; - reg-names = "csid"; - interrupts = <0 54 0>; - interrupt-names = "csid"; - qcom,csi-vdd-voltage = <1800000>; - qcom,mipi-csi-vdd-supply = <&pm8941_l12>; - }; - - qcom,ispif@fda0A000 { - cell-index = <0>; - compatible = "qcom,ispif"; - reg = <0xfda0A000 0x500>, - <0xfda00020 0x10>; - reg-names = "ispif", "csi_clk_mux"; - interrupts = <0 55 0>; - interrupt-names = "ispif"; - }; - - qcom,vfe@fda10000 { - cell-index = <0>; - compatible = "qcom,vfe40"; - reg = <0xfda10000 0x1000>, - <0xfda40000 0x200>; - reg-names = "vfe", "vfe_vbif"; - interrupts = <0 57 0>; - interrupt-names = "vfe"; - vdd-supply = <&gdsc_vfe>; - }; - - qcom,vfe@fda14000 { - cell-index = <1>; - compatible = "qcom,vfe40"; - reg = <0xfda14000 0x1000>, - <0xfda40000 0x200>; - reg-names = "vfe", "vfe_vbif"; - interrupts = <0 58 0>; - interrupt-names = "vfe"; - vdd-supply = <&gdsc_vfe>; - }; - - qcom,jpeg@fda1c000 { - cell-index = <0>; - compatible = "qcom,jpeg"; - reg = <0xfda1c000 0x400>; - reg-names = "jpeg"; - interrupts = <0 59 0>; - interrupt-names = "jpeg"; - vdd-supply = <&gdsc_jpeg>; - }; - - qcom,jpeg@fda20000 { - cell-index = <1>; - compatible = "qcom,jpeg"; - reg = <0xfda20000 0x400>; - reg-names = "jpeg"; - interrupts = <0 60 0>; - interrupt-names = "jpeg"; - vdd-supply = <&gdsc_jpeg>; - }; - - qcom,jpeg@fda24000 { - cell-index = <2>; - compatible = "qcom,jpeg"; - reg = <0xfda24000 0x400>; - reg-names = "jpeg"; - interrupts = <0 61 0>; - interrupt-names = "jpeg"; - vdd-supply = <&gdsc_jpeg>; - }; - - qcom,irqrouter@fda00000 { - cell-index = <0>; - compatible = "qcom,irqrouter"; - reg = <0xfda00000 0x100>; - reg-names = "irqrouter"; - }; - - qcom,cpp@fda04000 { - cell-index = <0>; - compatible = "qcom,cpp"; - reg = <0xfda04000 0x100>, - <0xfda40000 0x200>, - <0xfda18000 0x008>; - reg-names = "cpp", "cpp_vbif", "cpp_hw"; - interrupts = <0 49 0>; - interrupt-names = "cpp"; - vdd-supply = <&gdsc_vfe>; - }; - - led_flash0: qcom,camera-led-flash { - cell-index = <0>; - compatible = "qcom,camera-led-flash"; - qcom,flash-type = <1>; - qcom,flash-source = <&pm8941_flash0 &pm8941_flash1>; - }; - - cci: qcom,cci@fda0C000 { - cell-index = <0>; - compatible = "qcom,cci"; - reg = <0xfda0C000 0x1000>; - #address-cells = <1>; - #size-cells = <0>; - reg-names = "cci"; - interrupts = <0 50 0>; - interrupt-names = "cci"; - gpios = <&msmgpio 19 0>, - <&msmgpio 20 0>, - <&msmgpio 21 0>, - <&msmgpio 22 0>; - qcom,gpio-tbl-num = <0 1 2 3>; - qcom,gpio-tbl-flags = <1 1 1 1>; - qcom,gpio-tbl-label = "CCI_I2C_DATA0", - "CCI_I2C_CLK0", - "CCI_I2C_DATA1", - "CCI_I2C_CLK1"; - qcom,hw-thigh = <78>; - qcom,hw-tlow = <114>; - qcom,hw-tsu-sto = <28>; - qcom,hw-tsu-sta = <28>; - qcom,hw-thd-dat = <10>; - qcom,hw-thd-sta = <77>; - qcom,hw-tbuf = <118>; - qcom,hw-scl-stretch-en = <0>; - qcom,hw-trdhld = <6>; - qcom,hw-tsp = <1>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8974-cdp.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8974-cdp.dtsi deleted file mode 100644 index 2a60df4f4..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8974-cdp.dtsi +++ /dev/null @@ -1,729 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/include/ "dsi-panel-toshiba-720p-video.dtsi" -/include/ "dsi-panel-orise-720p-video.dtsi" -/include/ "msm8974-leds.dtsi" -/include/ "msm8974-camera-sensor-cdp.dtsi" - -&soc { - serial@f991e000 { - status = "ok"; - }; - - qcom,mdss_dsi_toshiba_720p_video { - status = "ok"; - qcom,cont-splash-enabled; - }; - - qcom,mdss_dsi_orise_720p_video { - status = "disable"; - }; - - qcom,hdmi_tx@fd922100 { - status = "ok"; - }; - - i2c@f9924000 { - atmel_mxt_ts@4a { - compatible = "atmel,mxt-ts"; - reg = <0x4a>; - interrupt-parent = <&msmgpio>; - interrupts = <61 0x2>; - vdd_ana-supply = <&pm8941_l18>; - vcc_i2c-supply = <&pm8941_lvs1>; - atmel,reset-gpio = <&msmgpio 60 0x00>; - atmel,irq-gpio = <&msmgpio 61 0x00>; - atmel,panel-coords = <0 0 760 1424>; - atmel,display-coords = <0 0 720 1280>; - atmel,i2c-pull-up; - atmel,no-force-update; - atmel,cfg_1 { - atmel,family-id = <0x82>; - atmel,variant-id = <0x19>; - atmel,version = <0x10>; - atmel,build = <0xaa>; - atmel,config = [ - /* Object 6, Instance = 0 */ - 00 00 00 00 00 00 - /* Object 38, Instance = 0 */ - 15 01 00 03 0A 0C 00 00 - /* Object 7, Instance = 0 */ - 20 08 32 03 - /* Object 8, Instance = 0 */ - 0F 00 0A 0A 00 00 0A 0A 00 00 - /* Object 9, Instance = 0 */ - 83 00 00 18 0E 00 70 46 02 01 - 00 0A 03 31 04 05 0A 0A 90 05 - F8 02 05 F1 F1 0F 00 00 08 2D - 12 06 00 00 00 01 - /* Object 15, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 - /* Object 18, Instance = 0 */ - 00 00 - /* Object 19, Instance = 0 */ - 00 00 00 00 00 00 - /* Object 23, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 - /* Object 25, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 - /* Object 40, Instance = 0 */ - 00 00 00 00 00 - /* Object 42, Instance = 0 */ - 33 1E 19 10 80 00 00 00 FF 00 - /* Object 46, Instance = 0 */ - 00 00 10 10 00 00 03 00 00 01 - /* Object 47, Instance = 0 */ - 08 0A 28 0A 02 0A 00 8C 00 20 - 00 00 00 - /* Object 55, Instance = 0 */ - 00 00 00 00 00 00 - /* Object 56, Instance = 0 */ - 00 00 00 18 05 05 05 05 05 05 - 05 05 05 05 05 05 05 05 05 05 - 05 05 05 05 05 05 05 05 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 - /* Object 57, Instance = 0 */ - 00 00 00 - /* Object 61, Instance = 0 */ - 00 00 00 00 00 - /* Object 62, Instance = 0 */ - 01 2A 00 16 00 00 00 00 0B 01 - 02 03 04 08 00 00 08 10 18 05 - 00 0A 05 05 50 14 19 34 1A 7F - 00 00 00 00 00 00 00 00 00 30 - 05 02 00 01 00 05 00 00 00 00 - 00 00 00 00 - ]; - }; - }; - }; - - gen-vkeys { - compatible = "qcom,gen-vkeys"; - label = "atmel_mxt_ts"; - qcom,disp-maxx = <720>; - qcom,disp-maxy = <1280>; - qcom,panel-maxx = <760>; - qcom,panel-maxy = <1424>; - qcom,key-codes = <158 139 102 217>; - }; - - i2c@f9967000 { - isa1200@48 { - status = "okay"; - reg = <0x48>; - vcc_i2c-supply = <&pm8941_s3>; - compatible = "imagis,isa1200"; - label = "vibrator"; - imagis,chip-en; - imagis,smart-en; - imagis,need-pwm-clk; - imagis,ext-clk-en; - imagis,hap-en-gpio = <&msmgpio 86 0x00>; - imagis,max-timeout = <15000>; - imagis,pwm-div = <256>; - imagis,mode-ctrl = <2>; - imagis,regulator { - regulator-name = "vcc_i2c"; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - regulator-max-microamp = <9360>; - }; - }; - }; - - gpio_keys { - compatible = "gpio-keys"; - input-name = "gpio-keys"; - - camera_snapshot { - label = "camera_snapshot"; - gpios = <&pm8941_gpios 3 0x1>; - linux,input-type = <1>; - linux,code = <0x2fe>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - - camera_focus { - label = "camera_focus"; - gpios = <&pm8941_gpios 4 0x1>; - linux,input-type = <1>; - linux,code = <0x210>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - - vol_up { - label = "volume_up"; - gpios = <&pm8941_gpios 5 0x1>; - linux,input-type = <1>; - linux,code = <115>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - }; - - spi@f9923000 { - ethernet-switch@2 { - compatible = "micrel,ks8851"; - reg = <2>; - interrupt-parent = <&msmgpio>; - interrupts = <94 0>; - spi-max-frequency = <4800000>; - rst-gpio = <&pm8941_mpps 6 0>; - vdd-io-supply = <&spi_eth_vreg>; - vdd-phy-supply = <&spi_eth_vreg>; - }; - }; - - sound { - qcom,model = "msm8974-taiko-cdp-snd-card"; - qcom,hdmi-audio-rx; - qcom,us-euro-gpios = <&pm8941_gpios 20 0>; - qcom,cdc-micbias2-headset-only; - }; - - usb2_otg_sw: regulator-tpd4s214 { - compatible = "regulator-fixed"; - regulator-name = "usb2_otg_sw"; - gpio = <&pm8941_gpios 18 0>; - parent-supply = <&pm8941_boost>; - startup-delay-us = <17000>; - enable-active-high; - }; - - hsic_host: hsic@f9a00000 { - compatible = "qcom,hsic-host"; - reg = <0xf9a00000 0x400>; - #address-cells = <0>; - interrupt-parent = <&hsic_host>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 136 0 - 1 &intc 0 148 0 - 2 &msmgpio 144 0x8>; - interrupt-names = "core_irq", "async_irq", "wakeup"; - HSIC_VDDCX-supply = <&pm8841_s2>; - HSIC_GDSC-supply = <&gdsc_usb_hsic>; - hsic,strobe-gpio = <&msmgpio 144 0x00>; - hsic,data-gpio = <&msmgpio 145 0x00>; - hsic,resume-gpio = <&msmgpio 80 0x00>; - hsic,ignore-cal-pad-config; - hsic,strobe-pad-offset = <0x2050>; - hsic,data-pad-offset = <0x2054>; - - qcom,msm-bus,name = "hsic"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <85 512 0 0>, - <85 512 40000 160000>; - }; - - wlan0: qca,wlan { - compatible = "qca,ar6004-hsic"; - qcom,msm-bus,name = "wlan"; - qcom,msm-bus,num-cases = <5>; - qcom,msm-bus,active-only = <0>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <85 512 0 0>, - <85 512 40000 160000>, - <85 512 40000 320000>, - <85 512 40000 480000>, - <85 512 40000 800000>; - }; -}; - -&spmi_bus { - qcom,pm8941@1 { - qcom,leds@d800 { - status = "okay"; - qcom,wled_0 { - label = "wled"; - linux,name = "wled:backlight"; - linux,default-trigger = "bkl-trigger"; - qcom,cs-out-en; - qcom,op-fdbck = <1>; - qcom,default-state = "on"; - qcom,max-current = <25>; - qcom,ctrl-delay-us = <0>; - qcom,boost-curr-lim = <3>; - qcom,cp-sel = <0>; - qcom,switch-freq = <2>; - qcom,ovp-val = <2>; - qcom,num-strings = <1>; - qcom,id = <0>; - }; - }; - - qcom,leds@d900 { - status = "disabled"; - }; - - qcom,leds@da00 { - status = "disabled"; - }; - - qcom,leds@db00 { - status = "disabled"; - }; - - qcom,leds@dc00 { - status = "disabled"; - }; - - qcom,leds@dd00 { - status = "disabled"; - }; - - qcom,leds@de00 { - status = "disabled"; - }; - - qcom,leds@df00 { - status = "disabled"; - }; - - qcom,leds@e000 { - status = "disabled"; - }; - - qcom,leds@e100 { - status = "disabled"; - }; - }; -}; - -&sdcc1 { - status = "disabled"; -}; - -&sdcc2 { - #address-cells = <0>; - interrupt-parent = <&sdcc2>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 125 0 - 1 &intc 0 220 0 - 2 &msmgpio 62 0x3>; - interrupt-names = "core_irq", "bam_irq", "status_irq"; - cd-gpios = <&msmgpio 62 0x1>; - wp-gpios = <&pm8941_gpios 29 0x1>; - status = "disabled"; -}; - -&sdhc_1 { - vdd-supply = <&pm8941_l20>; - vdd-io-supply = <&pm8941_s3>; - - qcom,vdd-always-on; - qcom,vdd-lpm-sup; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <800 500000>; - - qcom,vdd-io-always-on; - qcom,vdd-io-voltage-level = <1800000 1800000>; - qcom,vdd-io-current-level = <250 154000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,nonremovable; - status = "ok"; -}; - -&sdhc_2 { - #address-cells = <0>; - interrupt-parent = <&sdhc_2>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 125 0 - 1 &intc 0 221 0 - 2 &msmgpio 62 0x3>; - interrupt-names = "hc_irq", "pwr_irq", "status_irq"; - cd-gpios = <&msmgpio 62 0x1>; - - vdd-supply = <&pm8941_l21>; - vdd-io-supply = <&pm8941_l13>; - - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <9000 800000>; - - qcom,vdd-io-voltage-level = <1800000 2950000>; - qcom,vdd-io-current-level = <6 22000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - status = "ok"; -}; - -/* Drive strength recommendations for clock line from hardware team is 10 mA. - * But since the driver has been been using the below values from the start - * without any problems, continue to use those. - */ -&sdcc1 { - qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */ -}; - -&sdcc2 { - qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */ -}; - -&sdhc_1 { - qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */ -}; - -&sdhc_2 { - qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */ -}; - -&uart7 { - status = "ok"; - qcom,tx-gpio = <&msmgpio 41 0x00>; - qcom,rx-gpio = <&msmgpio 42 0x00>; - qcom,cts-gpio = <&msmgpio 43 0x00>; - qcom,rfr-gpio = <&msmgpio 44 0x00>; -}; - -&usb3 { - qcom,otg-capability; -}; - -&pm8941_chg { - status = "ok"; - - qcom,chgr@1000 { - status = "ok"; - }; - - qcom,buck@1100 { - status = "ok"; - }; - - qcom,usb-chgpth@1300 { - status = "ok"; - }; - - qcom,dc-chgpth@1400 { - status = "ok"; - }; - - qcom,boost@1500 { - status = "ok"; - }; - - qcom,chg-misc@1600 { - status = "ok"; - }; -}; - -&pm8941_gpios { - gpio@c000 { /* GPIO 1 */ - }; - - gpio@c100 { /* GPIO 2 */ - }; - - gpio@c200 { /* GPIO 3 */ - qcom,mode = <0>; - qcom,pull = <0>; - qcom,vin-sel = <2>; - qcom,src-sel = <0>; - }; - - gpio@c300 { /* GPIO 4 */ - qcom,mode = <0>; - qcom,pull = <0>; - qcom,vin-sel = <2>; - qcom,src-sel = <0>; - }; - - gpio@c400 { /* GPIO 5 */ - qcom,mode = <0>; - qcom,pull = <0>; - qcom,vin-sel = <2>; - qcom,src-sel = <0>; - }; - - gpio@c500 { /* GPIO 6 */ - }; - - gpio@c600 { /* GPIO 7 */ - }; - - gpio@c700 { /* GPIO 8 */ - }; - - gpio@c800 { /* GPIO 9 */ - }; - - gpio@c900 { /* GPIO 10 */ - }; - - gpio@ca00 { /* GPIO 11 */ - }; - - gpio@cb00 { /* GPIO 12 */ - }; - - gpio@cc00 { /* GPIO 13 */ - }; - - gpio@cd00 { /* GPIO 14 */ - }; - - gpio@ce00 { /* GPIO 15 */ - qcom,mode = <1>; - qcom,output-type = <0>; - qcom,pull = <5>; - qcom,vin-sel = <2>; - qcom,out-strength = <1>; - qcom,src-sel = <2>; - qcom,master-en = <1>; - }; - - gpio@cf00 { /* GPIO 16 */ - qcom,mode = <1>; - qcom,output-type = <0>; - qcom,pull = <2>; - qcom,vin-sel = <2>; - qcom,out-strength = <2>; - qcom,src-sel = <2>; - qcom,master-en = <1>; - }; - - gpio@d000 { /* GPIO 17 */ - }; - - gpio@d100 { /* GPIO 18 */ - /* usb2_otg_sw regulator enable */ - qcom,mode = <1>; /* Digital output */ - qcom,output-type = <0>; /* CMOS logic */ - qcom,invert = <0>; /* Output low initially */ - qcom,vin-sel = <2>; /* PM8941 S3 = 1.8 V */ - qcom,src-sel = <0>; /* Constant */ - qcom,out-strength = <2>; /* Medium drive strength */ - qcom,master-en = <1>; /* Enable GPIO */ - }; - - gpio@d200 { /* GPIO 19 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,output-type = <0>; /* QPNP_PIN_OUT_BUF_CMOS */ - qcom,pull = <5>; /* QPNP_PIN_PULL_NO */ - qcom,vin-sel = <2>; /* QPNP_PIN_VIN2 */ - qcom,out-strength = <2>; /* QPNP_PIN_OUT_STRENGTH_MED */ - qcom,src-sel = <0>; /* QPNP_PIN_SEL_FUNC_CONSTANT */ - qcom,master-en = <1>; - }; - - gpio@d300 { /* GPIO 20 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,output-type = <0>; /* QPNP_PIN_OUT_BUF_CMOS */ - qcom,invert = <0>; /* Output low initially */ - qcom,pull = <5>; /* QPNP_PIN_PULL_NO */ - qcom,vin-sel = <2>; /* QPNP_PIN_VIN2 */ - qcom,out-strength = <2>; /* QPNP_PIN_OUT_STRENGTH_MED */ - qcom,src-sel = <0>; /* QPNP_PIN_SEL_FUNC_CONSTANT */ - qcom,master-en = <1>; - }; - - gpio@d400 { /* GPIO 21 */ - }; - - gpio@d500 { /* GPIO 22 */ - }; - - gpio@d600 { /* GPIO 23 */ - }; - - gpio@d700 { /* GPIO 24 */ - }; - - gpio@d800 { /* GPIO 25 */ - }; - - gpio@d900 { /* GPIO 26 */ - }; - - gpio@da00 { /* GPIO 27 */ - }; - - gpio@db00 { /* GPIO 28 */ - }; - - gpio@dc00 { /* GPIO 29 */ - qcom,pull = <0>; /* set to default pull */ - qcom,master-en = <1>; - qcom,vin-sel = <2>; /* select 1.8 V source */ - }; - - gpio@dd00 { /* GPIO 30 */ - }; - - gpio@de00 { /* GPIO 31 */ - }; - - gpio@df00 { /* GPIO 32 */ - }; - - gpio@e000 { /* GPIO 33 */ - }; - - gpio@e100 { /* GPIO 34 */ - }; - - gpio@e200 { /* GPIO 35 */ - }; - - gpio@e300 { /* GPIO 36 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,output-type = <0>; /* QPNP_PIN_OUT_BUF_CMOS */ - qcom,pull = <5>; /* QPNP_PIN_PULL_NO */ - qcom,vin-sel = <2>; /* QPNP_PIN_VIN2 */ - qcom,out-strength = <3>; /* QPNP_PIN_OUT_STRENGTH_HIGH */ - qcom,src-sel = <3>; /* QPNP_PIN_SEL_FUNC_2 */ - qcom,master-en = <1>; - }; -}; - -&pm8941_mpps { - - mpp@a000 { /* MPP 1 */ - status = "disabled"; - }; - - mpp@a100 { /* MPP 2 */ - }; - - mpp@a200 { /* MPP 3 */ - }; - - mpp@a300 { /* MPP 4 */ - }; - - mpp@a400 { /* MPP 5 */ - /* SPI_ETH config */ - qcom,mode = <1>; /* DIG_OUT */ - qcom,output-type = <0>; /* CMOS */ - qcom,vin-sel = <2>; /* PM8941_S3 1.8V > 1.6V */ - qcom,src-sel = <0>; /* CONSTANT */ - qcom,master-en = <1>; /* ENABLE MPP */ - }; - - mpp@a500 { /* MPP 6 */ - /* SPI_ETH_RST config */ - qcom,mode = <1>; /* DIG_OUT */ - qcom,output-type = <0>; /* CMOS */ - qcom,vin-sel = <2>; /* PM8941_S3 1.8V > 1.6V */ - qcom,src-sel = <0>; /* CONSTANT */ - qcom,master-en = <1>; /* ENABLE MPP */ - }; - - mpp@a600 { /* MPP 7 */ - }; - - mpp@a700 { /* MPP 8 */ - }; -}; - -&pm8841_mpps { - - mpp@a000 { /* MPP 1 */ - }; - - mpp@a100 { /* MPP 2 */ - }; - - mpp@a200 { /* MPP 3 */ - }; - - mpp@a300 { /* MPP 4 */ - }; -}; - -/* CoreSight */ -&tpiu { - qcom,seta-gpios = <&msmgpio 31 0>, - <&msmgpio 32 0>, - <&msmgpio 33 0>, - <&msmgpio 34 0>, - <&msmgpio 35 0>, - <&msmgpio 36 0>, - <&msmgpio 37 0>, - <&msmgpio 38 0>, - <&msmgpio 39 0>, - <&msmgpio 40 0>, - <&msmgpio 41 0>, - <&msmgpio 42 0>, - <&msmgpio 43 0>, - <&msmgpio 44 0>, - <&msmgpio 45 0>, - <&msmgpio 46 0>, - <&msmgpio 47 0>, - <&msmgpio 48 0>; - qcom,seta-gpios-func = <4 4 4 3 4 4 4 3 4 3 5 5 5 5 4 4 5 5>; - qcom,seta-gpios-drv = <7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7>; - qcom,seta-gpios-pull = <0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0>; - qcom,seta-gpios-dir = <2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2>; - - qcom,setb-gpios = <&msmgpio 15 0>, - <&msmgpio 16 0>, - <&msmgpio 17 0>, - <&msmgpio 18 0>, - <&msmgpio 19 0>, - <&msmgpio 20 0>, - <&msmgpio 21 0>, - <&msmgpio 22 0>, - <&msmgpio 23 0>, - <&msmgpio 24 0>, - <&msmgpio 25 0>, - <&msmgpio 26 0>, - <&msmgpio 27 0>, - <&msmgpio 28 0>, - <&msmgpio 89 0>, - <&msmgpio 90 0>, - <&msmgpio 91 0>, - <&msmgpio 92 0>; - qcom,setb-gpios-func = <2 2 2 2 5 5 5 5 6 6 6 7 7 5 2 3 3 3>; - qcom,setb-gpios-drv = <7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7>; - qcom,setb-gpios-pull = <0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0>; - qcom,setb-gpios-dir = <2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2>; -}; - -&slim_msm { - taiko_codec { - qcom,cdc-micbias1-ext-cap; - qcom,cdc-micbias3-ext-cap; - qcom,cdc-micbias4-ext-cap; - - /* If boot isn't available, vph_pwr_vreg can be used instead */ - cdc-vdd-spkdrv-supply = <&pm8941_boost>; - qcom,cdc-vdd-spkdrv-voltage = <5000000 5000000>; - qcom,cdc-vdd-spkdrv-current = <1250000>; - - qcom,cdc-on-demand-supplies = "cdc-vdd-spkdrv"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8974-clock.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8974-clock.dtsi deleted file mode 100644 index bed5d70be..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8974-clock.dtsi +++ /dev/null @@ -1,27 +0,0 @@ -/* Copyright (c) 2012, 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. - */ - -&spmi_bus { - - qcom,pm8941@0 { - - pm8941_clkdiv1: clkdiv@5b00 { - qcom,cxo-div = <2>; - }; - - pm8941_clkdiv2: clkdiv@5c00 { - }; - - pm8941_clkdiv3: clkdiv@5d00 { - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8974-coresight.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8974-coresight.dtsi deleted file mode 100644 index 1610f1f43..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8974-coresight.dtsi +++ /dev/null @@ -1,381 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&soc { - tmc_etr: tmc@fc322000 { - compatible = "arm,coresight-tmc"; - reg = <0xfc322000 0x1000>, - <0xfc37c000 0x3000>; - reg-names = "tmc-base", "bam-base"; - - qcom,memory-reservation-type = "EBI1"; - qcom,memory-reservation-size = <0x100000>; /* 1M EBI1 buffer */ - - coresight-id = <0>; - coresight-name = "coresight-tmc-etr"; - coresight-nr-inports = <1>; - coresight-ctis = <&cti0 &cti8>; - }; - - tpiu: tpiu@fc318000 { - compatible = "arm,coresight-tpiu"; - reg = <0xfc318000 0x1000>; - reg-names = "tpiu-base"; - - coresight-id = <1>; - coresight-name = "coresight-tpiu"; - coresight-nr-inports = <1>; - - vdd-supply = <&pm8941_l21>; - - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <9000 800000>; - }; - - replicator: replicator@fc31c000 { - compatible = "qcom,coresight-replicator"; - reg = <0xfc31c000 0x1000>; - reg-names = "replicator-base"; - - coresight-id = <2>; - coresight-name = "coresight-replicator"; - coresight-nr-inports = <1>; - coresight-outports = <0 1>; - coresight-child-list = <&tmc_etr &tpiu>; - coresight-child-ports = <0 0>; - }; - - tmc_etf: tmc@fc307000 { - compatible = "arm,coresight-tmc"; - reg = <0xfc307000 0x1000>; - reg-names = "tmc-base"; - - coresight-id = <3>; - coresight-name = "coresight-tmc-etf"; - coresight-nr-inports = <1>; - coresight-outports = <0>; - coresight-child-list = <&replicator>; - coresight-child-ports = <0>; - coresight-default-sink; - coresight-ctis = <&cti0 &cti8>; - }; - - funnel_merg: funnel@fc31b000 { - compatible = "arm,coresight-funnel"; - reg = <0xfc31b000 0x1000>; - reg-names = "funnel-base"; - - coresight-id = <4>; - coresight-name = "coresight-funnel-merg"; - coresight-nr-inports = <2>; - coresight-outports = <0>; - coresight-child-list = <&tmc_etf>; - coresight-child-ports = <0>; - }; - - funnel_in0: funnel@fc319000 { - compatible = "arm,coresight-funnel"; - reg = <0xfc319000 0x1000>; - reg-names = "funnel-base"; - - coresight-id = <5>; - coresight-name = "coresight-funnel-in0"; - coresight-nr-inports = <8>; - coresight-outports = <0>; - coresight-child-list = <&funnel_merg>; - coresight-child-ports = <0>; - }; - - funnel_in1: funnel@fc31a000 { - compatible = "arm,coresight-funnel"; - reg = <0xfc31a000 0x1000>; - reg-names = "funnel-base"; - - coresight-id = <6>; - coresight-name = "coresight-funnel-in1"; - coresight-nr-inports = <8>; - coresight-outports = <0>; - coresight-child-list = <&funnel_merg>; - coresight-child-ports = <1>; - }; - - funnel_kpss: funnel@fc345000 { - compatible = "arm,coresight-funnel"; - reg = <0xfc345000 0x1000>; - reg-names = "funnel-base"; - - coresight-id = <7>; - coresight-name = "coresight-funnel-kpss"; - coresight-nr-inports = <4>; - coresight-outports = <0>; - coresight-child-list = <&funnel_in1>; - coresight-child-ports = <5>; - }; - - funnel_mmss: funnel@fc364000 { - compatible = "arm,coresight-funnel"; - reg = <0xfc364000 0x1000>; - reg-names = "funnel-base"; - - - coresight-id = <8>; - coresight-name = "coresight-funnel-mmss"; - coresight-nr-inports = <8>; - coresight-outports = <0>; - coresight-child-list = <&funnel_in1>; - coresight-child-ports = <1>; - }; - - stm: stm@fc321000 { - compatible = "arm,coresight-stm"; - reg = <0xfc321000 0x1000>, - <0xfa280000 0x180000>; - reg-names = "stm-base", "stm-data-base"; - - coresight-id = <9>; - coresight-name = "coresight-stm"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_in1>; - coresight-child-ports = <7>; - }; - - etm0: etm@fc33c000 { - compatible = "arm,coresight-etm"; - reg = <0xfc33c000 0x1000>; - reg-names = "etm-base"; - - coresight-id = <10>; - coresight-name = "coresight-etm0"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_kpss>; - coresight-child-ports = <0>; - - qcom,pc-save; - qcom,round-robin; - }; - - etm1: etm@fc33d000 { - compatible = "arm,coresight-etm"; - reg = <0xfc33d000 0x1000>; - reg-names = "etm-base"; - - coresight-id = <11>; - coresight-name = "coresight-etm1"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_kpss>; - coresight-child-ports = <1>; - - qcom,pc-save; - qcom,round-robin; - }; - - etm2: etm@fc33e000 { - compatible = "arm,coresight-etm"; - reg = <0xfc33e000 0x1000>; - reg-names = "etm-base"; - - coresight-id = <12>; - coresight-name = "coresight-etm2"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_kpss>; - coresight-child-ports = <2>; - - qcom,pc-save; - qcom,round-robin; - }; - - etm3: etm@fc33f000 { - compatible = "arm,coresight-etm"; - reg = <0xfc33f000 0x1000>; - reg-names = "etm-base"; - - coresight-id = <13>; - coresight-name = "coresight-etm3"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_kpss>; - coresight-child-ports = <3>; - - qcom,pc-save; - qcom,round-robin; - }; - - csr: csr@fc302000 { - compatible = "qcom,coresight-csr"; - reg = <0xfc302000 0x1000>; - reg-names = "csr-base"; - - coresight-id = <14>; - coresight-name = "coresight-csr"; - coresight-nr-inports = <0>; - - qcom,blk-size = <3>; - }; - - cti0: cti@fc308000 { - compatible = "arm,coresight-cti"; - reg = <0xfc308000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <15>; - coresight-name = "coresight-cti0"; - coresight-nr-inports = <0>; - }; - - cti1: cti@fc309000 { - compatible = "arm,coresight-cti"; - reg = <0xfc309000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <16>; - coresight-name = "coresight-cti1"; - coresight-nr-inports = <0>; - }; - - cti2: cti@fc30a000 { - compatible = "arm,coresight-cti"; - reg = <0xfc30a000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <17>; - coresight-name = "coresight-cti2"; - coresight-nr-inports = <0>; - }; - - cti3: cti@fc30b000 { - compatible = "arm,coresight-cti"; - reg = <0xfc30b000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <18>; - coresight-name = "coresight-cti3"; - coresight-nr-inports = <0>; - }; - - cti4: cti@fc30c000 { - compatible = "arm,coresight-cti"; - reg = <0xfc30c000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <19>; - coresight-name = "coresight-cti4"; - coresight-nr-inports = <0>; - }; - - cti5: cti@fc30d000 { - compatible = "arm,coresight-cti"; - reg = <0xfc30d000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <20>; - coresight-name = "coresight-cti5"; - coresight-nr-inports = <0>; - }; - - cti6: cti@fc30e000 { - compatible = "arm,coresight-cti"; - reg = <0xfc30e000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <21>; - coresight-name = "coresight-cti6"; - coresight-nr-inports = <0>; - }; - - cti7: cti@fc30f000 { - compatible = "arm,coresight-cti"; - reg = <0xfc30f000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <22>; - coresight-name = "coresight-cti7"; - coresight-nr-inports = <0>; - }; - - cti8: cti@fc310000 { - compatible = "arm,coresight-cti"; - reg = <0xfc310000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <23>; - coresight-name = "coresight-cti8"; - coresight-nr-inports = <0>; - }; - - cti_l2: cti@fc340000 { - compatible = "arm,coresight-cti"; - reg = <0xfc340000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <24>; - coresight-name = "coresight-cti-l2"; - coresight-nr-inports = <0>; - }; - - cti_cpu0: cti@fc341000 { - compatible = "arm,coresight-cti"; - reg = <0xfc341000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <25>; - coresight-name = "coresight-cti-cpu0"; - coresight-nr-inports = <0>; - }; - - cti_cpu1: cti@fc342000 { - compatible = "arm,coresight-cti"; - reg = <0xfc342000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <26>; - coresight-name = "coresight-cti-cpu1"; - coresight-nr-inports = <0>; - }; - - cti_cpu2: cti@fc343000 { - compatible = "arm,coresight-cti"; - reg = <0xfc343000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <27>; - coresight-name = "coresight-cti-cpu2"; - coresight-nr-inports = <0>; - }; - - cti_cpu3: cti@fc344000 { - compatible = "arm,coresight-cti"; - reg = <0xfc344000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <28>; - coresight-name = "coresight-cti-cpu3"; - coresight-nr-inports = <0>; - }; - - hwevent: hwevent@fdf30018 { - compatible = "qcom,coresight-hwevent"; - reg = <0xfdf30018 0x80>, - <0xf9011080 0x80>, - <0xfd4ab160 0x80>; - reg-names = "mmss-mux", "apcs-mux", "ppss-mux"; - - coresight-id = <29>; - coresight-name = "coresight-hwevent"; - coresight-nr-inports = <0>; - - qcom,hwevent-clks = "core_mmss_clk"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8974-fluid.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8974-fluid.dtsi deleted file mode 100644 index a822af5fa..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8974-fluid.dtsi +++ /dev/null @@ -1,667 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/include/ "dsi-panel-toshiba-720p-video.dtsi" -/include/ "msm8974-camera-sensor-fluid.dtsi" -/include/ "msm8974-leds.dtsi" - -&soc { - serial@f991e000 { - status = "ok"; - }; - - qcom,mdss_dsi_toshiba_720p_video { - status = "ok"; - qcom,cont-splash-enabled; - }; - - qcom,hdmi_tx@fd922100 { - status = "ok"; - }; - - i2c@f9924000 { - atmel_mxt_ts@4a { - compatible = "atmel,mxt-ts"; - reg = <0x4a>; - interrupt-parent = <&msmgpio>; - interrupts = <61 0x2>; - vdd_ana-supply = <&pm8941_l18>; - vcc_i2c-supply = <&pm8941_lvs1>; - atmel,reset-gpio = <&msmgpio 60 0x00>; - atmel,irq-gpio = <&msmgpio 61 0x00>; - atmel,panel-coords = <0 0 760 1424>; - atmel,display-coords = <0 0 720 1280>; - atmel,i2c-pull-up; - atmel,no-force-update; - atmel,cfg_1 { - atmel,family-id = <0x82>; - atmel,variant-id = <0x19>; - atmel,version = <0x10>; - atmel,build = <0xaa>; - atmel,config = [ - /* Object 6, Instance = 0 */ - 00 00 00 00 00 00 - /* Object 38, Instance = 0 */ - 15 01 00 03 0A 0C 00 00 - /* Object 7, Instance = 0 */ - 20 08 32 03 - /* Object 8, Instance = 0 */ - 0F 00 0A 0A 00 00 0A 0A 00 00 - /* Object 9, Instance = 0 */ - 83 00 00 18 0E 00 70 46 02 01 - 00 0A 03 31 04 05 0A 0A 90 05 - F8 02 05 F1 F1 0F 00 00 08 2D - 12 06 00 00 00 01 - /* Object 15, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 - /* Object 18, Instance = 0 */ - 00 00 - /* Object 19, Instance = 0 */ - 00 00 00 00 00 00 - /* Object 23, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 - /* Object 25, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 - /* Object 40, Instance = 0 */ - 00 00 00 00 00 - /* Object 42, Instance = 0 */ - 33 1E 19 10 80 00 00 00 FF 00 - /* Object 46, Instance = 0 */ - 00 00 10 10 00 00 03 00 00 01 - /* Object 47, Instance = 0 */ - 08 0A 28 0A 02 0A 00 8C 00 20 - 00 00 00 - /* Object 55, Instance = 0 */ - 00 00 00 00 00 00 - /* Object 56, Instance = 0 */ - 00 00 00 18 05 05 05 05 05 05 - 05 05 05 05 05 05 05 05 05 05 - 05 05 05 05 05 05 05 05 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 - /* Object 57, Instance = 0 */ - 00 00 00 - /* Object 61, Instance = 0 */ - 00 00 00 00 00 - /* Object 62, Instance = 0 */ - 01 2A 00 16 00 00 00 00 0B 01 - 02 03 04 08 00 00 08 10 18 05 - 00 0A 05 05 50 14 19 34 1A 7F - 00 00 00 00 00 00 00 00 00 30 - 05 02 00 01 00 05 00 00 00 00 - 00 00 00 00 - ]; - }; - }; - }; - - i2c@f9967000 { - sii8334@72 { - compatible = "qcom,mhl-sii8334"; - reg = <0x72>; - interrupt-parent = <&msmgpio>; - interrupts = <82 0x8>; - mhl-intr-gpio = <&msmgpio 82 0>; - mhl-pwr-gpio = <&msmgpio 12 0>; - mhl-rst-gpio = <&pm8941_mpps 8 0>; - avcc_18-supply = <&pm8941_l24>; - avcc_12-supply = <&pm8941_l2>; - smps3a-supply = <&pm8941_s3>; - vdda-supply = <&pm8941_l12>; - qcom,hdmi-tx-map = <&mdss_hdmi_tx>; - }; - - isa1200@48 { - status = "okay"; - reg = <0x48>; - vcc_i2c-supply = <&pm8941_s3>; - compatible = "imagis,isa1200"; - label = "vibrator"; - imagis,chip-en; - imagis,need-pwm-clk; - imagis,ext-clk-en; - imagis,hap-en-gpio = <&msmgpio 86 0x00>; - imagis,max-timeout = <15000>; - imagis,pwm-div = <256>; - imagis,mode-ctrl = <2>; - imagis,regulator { - regulator-name = "vcc_i2c"; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - regulator-max-microamp = <9360>; - }; - }; - }; - - gen-vkeys { - compatible = "qcom,gen-vkeys"; - label = "atmel_mxt_ts"; - qcom,disp-maxx = <720>; - qcom,disp-maxy = <1280>; - qcom,panel-maxx = <760>; - qcom,panel-maxy = <1424>; - qcom,key-codes = <158 139 102 217>; - }; - - gpio_keys { - compatible = "gpio-keys"; - input-name = "gpio-keys"; - - camera_snapshot { - label = "camera_snapshot"; - gpios = <&pm8941_gpios 3 0x1>; - linux,input-type = <1>; - linux,code = <0x2fe>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - - camera_focus { - label = "camera_focus"; - gpios = <&pm8941_gpios 4 0x1>; - linux,input-type = <1>; - linux,code = <0x210>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - - vol_up { - label = "volume_up"; - gpios = <&pm8941_gpios 5 0x1>; - linux,input-type = <1>; - linux,code = <115>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - }; - - spi@f9923000 { - ethernet-switch@2 { - compatible = "micrel,ks8851"; - reg = <2>; - interrupt-parent = <&msmgpio>; - interrupts = <94 0>; - spi-max-frequency = <4800000>; - rst-gpio = <&pm8941_mpps 6 0>; - vdd-io-supply = <&spi_eth_vreg>; - vdd-phy-supply = <&spi_eth_vreg>; - }; - }; - - sound { - qcom,model = "msm8974-taiko-fluid-snd-card"; - qcom,audio-routing = - "RX_BIAS", "MCLK", - "LDO_H", "MCLK", - "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", - "Lineout_1 amp", "LINEOUT1", - "Lineout_3 amp", "LINEOUT3"; - - qcom,hdmi-audio-rx; - qcom,ext-ult-lo-amp-gpio = <&pm8941_gpios 6 0>; - qcom,cdc-micbias2-headset-only; - }; -}; - -&slim_msm { - taiko_codec { - qcom,cdc-micbias1-ext-cap; - qcom,cdc-micbias2-ext-cap; - qcom,cdc-micbias3-ext-cap; - qcom,cdc-micbias4-ext-cap; - - /* If boot isn't available, vph_pwr_vreg can be used instead */ - cdc-vdd-spkdrv-supply = <&pm8941_boost>; - qcom,cdc-vdd-spkdrv-voltage = <5000000 5000000>; - qcom,cdc-vdd-spkdrv-current = <1250000>; - - qcom,cdc-on-demand-supplies = "cdc-vdd-spkdrv"; - }; -}; - -&spmi_bus { - qcom,pm8941@1 { - qcom,leds@d800 { - status = "okay"; - qcom,wled_0 { - label = "wled"; - linux,name = "wled:backlight"; - linux,default-trigger = "bkl-trigger"; - qcom,cs-out-en; - qcom,op-fdbck = <1>; - qcom,default-state = "on"; - qcom,max-current = <25>; - qcom,ctrl-delay-us = <0>; - qcom,boost-curr-lim = <3>; - qcom,cp-sel = <0>; - qcom,switch-freq = <2>; - qcom,ovp-val = <2>; - qcom,num-strings = <1>; - qcom,id = <0>; - }; - }; - - qcom,leds@d900 { - status = "disabled"; - }; - - qcom,leds@da00 { - status = "disabled"; - }; - - qcom,leds@db00 { - status = "disabled"; - }; - - qcom,leds@dc00 { - status = "disabled"; - }; - - qcom,leds@dd00 { - status = "disabled"; - }; - - qcom,leds@de00 { - status = "disabled"; - }; - - qcom,leds@df00 { - status = "disabled"; - }; - - qcom,leds@e000 { - status = "disabled"; - }; - - qcom,leds@e100 { - status = "disabled"; - }; - }; -}; - -&sdcc1 { - status = "disabled"; -}; - -&sdcc2 { - #address-cells = <0>; - interrupt-parent = <&sdcc2>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 125 0 - 1 &intc 0 220 0 - 2 &msmgpio 62 0x3>; - interrupt-names = "core_irq", "bam_irq", "status_irq"; - cd-gpios = <&msmgpio 62 0x1>; - status = "disabled"; -}; - -&sdhc_1 { - vdd-supply = <&pm8941_l20>; - vdd-io-supply = <&pm8941_s3>; - - qcom,vdd-always-on; - qcom,vdd-lpm-sup; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <800 500000>; - - qcom,vdd-io-always-on; - qcom,vdd-io-voltage-level = <1800000 1800000>; - qcom,vdd-io-current-level = <250 154000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,nonremovable; - status = "ok"; -}; - -&sdhc_2 { - #address-cells = <0>; - interrupt-parent = <&sdhc_2>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 125 0 - 1 &intc 0 221 0 - 2 &msmgpio 62 0x3>; - interrupt-names = "hc_irq", "pwr_irq", "status_irq"; - cd-gpios = <&msmgpio 62 0x1>; - - vdd-supply = <&pm8941_l21>; - vdd-io-supply = <&pm8941_l13>; - - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <9000 800000>; - - qcom,vdd-io-voltage-level = <1800000 2950000>; - qcom,vdd-io-current-level = <6 22000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - status = "ok"; -}; - -/* Drive strength recommendations for clock line from hardware team is 10 mA. - * But since the driver has been been using the below values from the start - * without any problems, continue to use those. - */ -&sdcc1 { - qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */ -}; - -&sdcc2 { - qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */ -}; - -&sdhc_1 { - qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */ -}; - -&sdhc_2 { - qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */ -}; - -&usb3 { - qcom,otg-capability; -}; - -&pm8941_bms { - status = "ok"; -}; - -&pm8941_chg { - status = "ok"; - qcom,charging-disabled; - - qcom,chgr@1000 { - status = "ok"; - }; - - qcom,buck@1100 { - status = "ok"; - }; - - qcom,bat-if@1200 { - status = "ok"; - }; - - qcom,usb-chgpth@1300 { - status = "ok"; - }; - - qcom,dc-chgpth@1400 { - status = "ok"; - }; - - qcom,boost@1500 { - status = "ok"; - }; - - qcom,chg-misc@1600 { - status = "ok"; - }; -}; - -&pm8941_gpios { - gpio@c000 { /* GPIO 1 */ - }; - - gpio@c100 { /* GPIO 2 */ - }; - - gpio@c200 { /* GPIO 3 */ - qcom,mode = <0>; - qcom,pull = <0>; - qcom,vin-sel = <2>; - qcom,src-sel = <0>; - }; - - gpio@c300 { /* GPIO 4 */ - qcom,mode = <0>; - qcom,pull = <0>; - qcom,vin-sel = <2>; - qcom,src-sel = <0>; - }; - - gpio@c400 { /* GPIO 5 */ - qcom,mode = <0>; - qcom,pull = <0>; - qcom,vin-sel = <2>; - qcom,src-sel = <0>; - }; - - gpio@c500 { /* GPIO 6 */ - }; - - gpio@c600 { /* GPIO 7 */ - }; - - gpio@c700 { /* GPIO 8 */ - }; - - gpio@c800 { /* GPIO 9 */ - }; - - gpio@c900 { /* GPIO 10 */ - }; - - gpio@ca00 { /* GPIO 11 */ - }; - - gpio@cb00 { /* GPIO 12 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,output-type = <0>; /* QPNP_PIN_OUT_BUF_CMOS */ - qcom,pull = <5>; /* QPNP_PIN_PULL_NO */ - qcom,vin-sel = <2>; /* QPNP_PIN_VIN2 */ - qcom,out-strength = <2>; /* QPNP_PIN_OUT_STRENGTH_MED */ - qcom,src-sel = <0>; /* QPNP_PIN_SEL_FUNC_CONSTANT */ - qcom,master-en = <1>; - }; - - gpio@cc00 { /* GPIO 13 */ - }; - - gpio@cd00 { /* GPIO 14 */ - }; - - gpio@ce00 { /* GPIO 15 */ - qcom,mode = <1>; - qcom,output-type = <0>; - qcom,pull = <5>; - qcom,vin-sel = <2>; - qcom,out-strength = <1>; - qcom,src-sel = <2>; - qcom,master-en = <1>; - }; - - gpio@cf00 { /* GPIO 16 */ - qcom,mode = <1>; - qcom,output-type = <0>; - qcom,pull = <5>; - qcom,vin-sel = <2>; - qcom,out-strength = <3>; - qcom,src-sel = <2>; - qcom,master-en = <1>; - }; - - gpio@d000 { /* GPIO 17 */ - }; - - gpio@d100 { /* GPIO 18 */ - }; - - gpio@d200 { /* GPIO 19 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,output-type = <0>; /* QPNP_PIN_OUT_BUF_CMOS */ - qcom,pull = <5>; /* QPNP_PIN_PULL_NO */ - qcom,vin-sel = <2>; /* QPNP_PIN_VIN2 */ - qcom,out-strength = <2>; /* QPNP_PIN_OUT_STRENGTH_MED */ - qcom,src-sel = <0>; /* QPNP_PIN_SEL_FUNC_CONSTANT */ - qcom,master-en = <1>; - }; - - gpio@d300 { /* GPIO 20 */ - }; - - gpio@d400 { /* GPIO 21 */ - }; - - gpio@d500 { /* GPIO 22 */ - }; - - gpio@d600 { /* GPIO 23 */ - }; - - gpio@d700 { /* GPIO 24 */ - }; - - gpio@d800 { /* GPIO 25 */ - }; - - gpio@d900 { /* GPIO 26 */ - }; - - gpio@da00 { /* GPIO 27 */ - }; - - gpio@db00 { /* GPIO 28 */ - }; - - gpio@dc00 { /* GPIO 29 */ - qcom,pull = <0>; /* set to default pull */ - qcom,master-en = <1>; - qcom,vin-sel = <2>; /* select 1.8 V source */ - }; - - gpio@dd00 { /* GPIO 30 */ - }; - - gpio@de00 { /* GPIO 31 */ - }; - - gpio@df00 { /* GPIO 32 */ - }; - - gpio@e000 { /* GPIO 33 */ - }; - - gpio@e100 { /* GPIO 34 */ - }; - - gpio@e200 { /* GPIO 35 */ - }; - - gpio@e300 { /* GPIO 36 */ - }; -}; - -&pm8941_mpps { - - mpp@a000 { /* MPP 1 */ - status = "disabled"; - }; - - mpp@a100 { /* MPP 2 */ - }; - - mpp@a200 { /* MPP 3 */ - }; - - mpp@a300 { /* MPP 4 */ - }; - - mpp@a400 { /* MPP 5 */ - }; - - mpp@a500 { /* MPP 6 */ - /* SPI_ETH_RST config */ - qcom,mode = <1>; /* DIG_OUT */ - qcom,output-type = <0>; /* CMOS */ - qcom,vin-sel = <2>; /* PM8941_S3 1.8V > 1.6V */ - qcom,src-sel = <0>; /* CONSTANT */ - qcom,master-en = <1>; /* ENABLE MPP */ - }; - - mpp@a600 { /* MPP 7 */ - }; - - mpp@a700 { /* MPP 8 */ - qcom,mode = <1>; /* DIG_OUT */ - qcom,output-type = <0>; /* CMOS */ - qcom,pull = <0>; - qcom,vin-sel = <2>; /* PM8941_S3 1.8V > 1.6V */ - qcom,src-sel = <0>; /* CONSTANT */ - qcom,master-en = <1>; /* ENABLE MPP */ - }; -}; - -&pm8841_mpps { - - mpp@a000 { /* MPP 1 */ - }; - - mpp@a100 { /* MPP 2 */ - }; - - mpp@a200 { /* MPP 3 */ - }; - - mpp@a300 { /* MPP 4 */ - }; -}; - -&spi_epm { - epm-adc@0 { - compatible = "cy,epm-adc-cy8c5568lti-114"; - reg = <0>; - interrupt-parent = <&msmgpio>; - spi-max-frequency = <960000>; - qcom,channels = <31>; - qcom,gain = <100 100 100 50 100 100 1 100 1 50 - 1 100 1 100 50 50 50 50 50 50 - 100 50 100 50 50 50 50 50 50 50 - 50>; - qcom,rsense = <2 2 2 200 20 2 1 2 1 30 - 1 10 1 30 50 30 500 30 100 30 - 100 500 20 200 1000 20 1000 1000 70 200 - 50>; - qcom,channel-type = <0x1540>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8974-gpu.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8974-gpu.dtsi deleted file mode 100644 index 06b9c187b..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8974-gpu.dtsi +++ /dev/null @@ -1,185 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ -&soc { - msm_gpu: qcom,kgsl-3d0@fdb00000 { - label = "kgsl-3d0"; - compatible = "qcom,kgsl-3d0", "qcom,kgsl-3d"; - reg = <0xfdb00000 0x10000 - 0xfdb20000 0x10000>; - reg-names = "kgsl_3d0_reg_memory" , "kgsl_3d0_shader_memory"; - interrupts = <0 33 0>; - interrupt-names = "kgsl_3d0_irq"; - qcom,id = <0>; - - qcom,chipid = <0x03030000>; - - qcom,initial-pwrlevel = <2>; - qcom,step-pwrlevel = <2>; - - qcom,idle-timeout = <8>; // - qcom,strtstp-sleepwake; - qcom,clk-map = <0x0000006>; //KGSL_CLK_CORE | KGSL_CLK_IFACE - - /* Bus Scale Settings */ - qcom,msm-bus,name = "grp3d"; - qcom,msm-bus,num-cases = <6>; - qcom,msm-bus,num-paths = <2>; - qcom,msm-bus,vectors-KBps = - <26 512 0 0>, <89 604 0 0>, - <26 512 0 2200000>, <89 604 0 3000000>, - <26 512 0 4000000>, <89 604 0 3000000>, - <26 512 0 4000000>, <89 604 0 4500000>, - <26 512 0 6400000>, <89 604 0 4500000>, - <26 512 0 6400000>, <89 604 0 7600000>; - - /* GDSC oxili regulators */ - vddcx-supply = <&gdsc_oxili_cx>; - vdd-supply = <&gdsc_oxili_gx>; - - /* Power levels */ - - /* IOMMU Data */ - iommu = <&kgsl_iommu>; - - /* Trace bus */ - coresight-id = <67>; - coresight-name = "coresight-gfx"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_mmss>; - coresight-child-ports = <7>; - - qcom,gpu-pwrlevels { - #address-cells = <1>; - #size-cells = <0>; - - compatible = "qcom,gpu-pwrlevels"; - - qcom,gpu-pwrlevel@0 { - reg = <0>; - qcom,gpu-freq = <450000000>; - qcom,bus-freq = <5>; - qcom,io-fraction = <33>; - }; - - qcom,gpu-pwrlevel@1 { - reg = <1>; - qcom,gpu-freq = <320000000>; - qcom,bus-freq = <4>; - qcom,io-fraction = <66>; - }; - - qcom,gpu-pwrlevel@2 { - reg = <2>; - qcom,gpu-freq = <320000000>; - qcom,bus-freq = <3>; - qcom,io-fraction = <66>; - }; - - qcom,gpu-pwrlevel@3 { - reg = <3>; - qcom,gpu-freq = <200000000>; - qcom,bus-freq = <2>; - qcom,io-fraction = <100>; - }; - - qcom,gpu-pwrlevel@4 { - reg = <4>; - qcom,gpu-freq = <200000000>; - qcom,bus-freq = <1>; - qcom,io-fraction = <100>; - }; - - qcom,gpu-pwrlevel@5 { - reg = <5>; - qcom,gpu-freq = <27000000>; - qcom,bus-freq = <0>; - qcom,io-fraction = <0>; - }; - }; - - qcom,dcvs-core-info { - #address-cells = <1>; - #size-cells = <0>; - - compatible = "qcom,dcvs-core-info"; - - qcom,num-cores = <1>; - qcom,sensors = <0>; - - qcom,core-core-type = <1>; - - qcom,algo-disable-pc-threshold = <0>; - qcom,algo-em-win-size-min-us = <100000>; - qcom,algo-em-win-size-max-us = <300000>; - qcom,algo-em-max-util-pct = <97>; - qcom,algo-group-id = <95>; - qcom,algo-max-freq-chg-time-us = <100000>; - qcom,algo-slack-mode-dynamic = <100000>; - qcom,algo-slack-weight-thresh-pct = <0>; - qcom,algo-slack-time-min-us = <39000>; - qcom,algo-slack-time-max-us = <39000>; - qcom,algo-ss-win-size-min-us = <1000000>; - qcom,algo-ss-win-size-max-us = <1000000>; - qcom,algo-ss-util-pct = <95>; - qcom,algo-ss-no-corr-below-freq = <0>; - - qcom,energy-active-coeff-a = <2492>; - qcom,energy-active-coeff-b = <0>; - qcom,energy-active-coeff-c = <0>; - qcom,energy-leakage-coeff-a = <11>; - qcom,energy-leakage-coeff-b = <157150>; - qcom,energy-leakage-coeff-c = <0>; - qcom,energy-leakage-coeff-d = <0>; - - qcom,power-current-temp = <25>; - qcom,power-num-freq = <4>; - - qcom,dcvs-freq@0 { - reg = <0>; - qcom,freq = <0>; - qcom,voltage = <0>; - qcom,is_trans_level = <0>; - qcom,active-energy-offset = <100>; - qcom,leakage-energy-offset = <0>; - }; - - qcom,dcvs-freq@1 { - reg = <1>; - qcom,freq = <0>; - qcom,voltage = <0>; - qcom,is_trans_level = <0>; - qcom,active-energy-offset = <100>; - qcom,leakage-energy-offset = <0>; - }; - - qcom,dcvs-freq@2 { - reg = <2>; - qcom,freq = <0>; - qcom,voltage = <0>; - qcom,is_trans_level = <0>; - qcom,active-energy-offset = <100>; - qcom,leakage-energy-offset = <0>; - }; - - qcom,dcvs-freq@3 { - reg = <3>; - qcom,freq = <0>; - qcom,voltage = <0>; - qcom,is_trans_level = <0>; - qcom,active-energy-offset = <844545>; - qcom,leakage-energy-offset = <0>; - }; - }; - - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8974-ion.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8974-ion.dtsi deleted file mode 100644 index 63f6d59c2..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8974-ion.dtsi +++ /dev/null @@ -1,59 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&soc { - qcom,ion { - compatible = "qcom,msm-ion"; - #address-cells = <1>; - #size-cells = <0>; - - qcom,ion-heap@30 { /* SYSTEM HEAP */ - reg = <30>; - }; - - qcom,ion-heap@21 { /* SYSTEM CONTIG HEAP */ - reg = <21>; - }; - - qcom,ion-heap@8 { /* CP_MM HEAP */ - compatible = "qcom,msm-ion-reserve"; - reg = <8>; - qcom,heap-align = <0x1000>; - linux,contiguous-region = <&secure_mem>; - }; - - qcom,ion-heap@22 { /* adsp heap */ - compatible = "qcom,msm-ion-reserve"; - reg = <22>; - qcom,heap-align = <0x1000>; - linux,contiguous-region = <&adsp_mem>; - }; - - qcom,ion-heap@25 { /* IOMMU HEAP */ - reg = <25>; - }; - - qcom,ion-heap@27 { /* QSECOM HEAP */ - compatible = "qcom,msm-ion-reserve"; - reg = <27>; - linux,contiguous-region = <&qsecom_mem>; - }; - - qcom,ion-heap@28 { /* AUDIO HEAP */ - compatible = "qcom,msm-ion-reserve"; - reg = <28>; - qcom,heap-align = <0x1000>; - qcom,memory-reservation-type = "EBI1"; /* reserve EBI memory */ - qcom,memory-reservation-size = <0x614000>; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8974-leds.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8974-leds.dtsi deleted file mode 100644 index 5e91f4597..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8974-leds.dtsi +++ /dev/null @@ -1,129 +0,0 @@ -/* - * Copyright (c) 2012-2013, 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. - */ - -&spmi_bus { - qcom,pm8941@1 { - qcom,leds@d000 { - status = "okay"; - qcom,rgb_0 { - label = "rgb"; - linux,name = "led:rgb_red"; - qcom,mode = "pwm"; - qcom,pwm-channel = <6>; - qcom,pwm-us = <1000>; - qcom,max-current = <12>; - qcom,default-state = "off"; - qcom,id = <3>; - linux,default-trigger = - "battery-charging"; - }; - - qcom,rgb_1 { - label = "rgb"; - linux,name = "led:rgb_green"; - qcom,mode = "pwm"; - qcom,pwm-channel = <5>; - qcom,pwm-us = <1000>; - qcom,max-current = <12>; - qcom,default-state = "off"; - qcom,id = <4>; - linux,default-trigger = "battery-full"; - }; - - qcom,rgb_2 { - label = "rgb"; - linux,name = "led:rgb_blue"; - qcom,mode = "pwm"; - qcom,pwm-channel = <4>; - qcom,pwm-us = <1000>; - qcom,max-current = <12>; - qcom,id = <5>; - status = "disabled"; - }; - }; - - qcom,leds@d100 { - status = "disabled"; - }; - - qcom,leds@d200 { - status = "disabled"; - }; - - qcom,leds@d300 { - status = "okay"; - pm8941_flash0: qcom,flash_0 { - qcom,max-current = <1000>; - qcom,default-state = "off"; - qcom,headroom = <3>; - qcom,duration = <1280>; - qcom,clamp-curr = <200>; - qcom,startup-dly = <3>; - qcom,safety-timer; - label = "flash"; - linux,default-trigger = - "flash0_trigger"; - qcom,id = <1>; - linux,name = "led:flash_0"; - qcom,current = <625>; - }; - - pm8941_flash1: qcom,flash_1 { - qcom,max-current = <1000>; - qcom,default-state = "off"; - qcom,headroom = <3>; - qcom,duration = <1280>; - qcom,clamp-curr = <200>; - qcom,startup-dly = <3>; - qcom,safety-timer; - linux,default-trigger = - "flash1_trigger"; - label = "flash"; - qcom,id = <2>; - linux,name = "led:flash_1"; - qcom,current = <625>; - }; - - pm8941_torch: qcom,flash_torch { - qcom,max-current = <200>; - qcom,default-state = "off"; - qcom,headroom = <0>; - qcom,startup-dly = <1>; - linux,default-trigger = - "torch_trigger"; - label = "flash"; - qcom,id = <2>; - linux,name = "led:flash_torch"; - qcom,current = <200>; - qcom,torch-enable; - }; - }; - - qcom,leds@d400 { - status = "disabled"; - }; - - qcom,leds@d500 { - status = "disabled"; - }; - - qcom,leds@d600 { - status = "disabled"; - }; - - qcom,leds@d700 { - status = "disabled"; - }; - }; -}; - diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8974-liquid.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8974-liquid.dtsi deleted file mode 100644 index 2dc52b6be..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8974-liquid.dtsi +++ /dev/null @@ -1,893 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/include/ "msm8974-leds.dtsi" -/include/ "msm8974-camera-sensor-liquid.dtsi" - -&soc { - serial@f991e000 { - status = "ok"; - }; - - qcom,mdss_edp@fd923400 { - status = "ok"; - }; - - i2c@f9967000 { - battery@b { - compatible = "ti,bq28400-battery"; - reg = <0xb>; - ti,temp-cold = <2>; /* degree celsius */ - ti,temp-hot = <43>; /* degree celsius */ - }; - - charger@2b { - compatible = "summit,smb350-charger"; - reg = <0x2b>; /* 0x56/0x57 */ - summit,stat-gpio = <&pm8941_gpios 30 0x00>; - summit,chg-en-n-gpio = <&pm8941_gpios 10 0x00>; - summit,chg-susp-n-gpio = <&pm8941_gpios 13 0x00>; - summit,chg-current-ma = <1600>; - summit,term-current-ma = <300>; - }; - }; - - gpio_keys { - compatible = "gpio-keys"; - input-name = "gpio-keys"; - - home { - label = "home"; - gpios = <&pm8941_gpios 1 0x1>; - linux,input-type = <1>; - linux,code = <102>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - - vol_down { - label = "volume_down"; - gpios = <&pm8941_gpios 2 0x1>; - linux,input-type = <1>; - linux,code = <114>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - - vol_up { - label = "volume_up"; - gpios = <&pm8941_gpios 5 0x1>; - linux,input-type = <1>; - linux,code = <115>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - }; - - qcom,hdmi_tx@fd922100 { - status = "ok"; - - qcom,hdmi-tx-mux-sel = <&pm8841_mpps 3 0>; - qcom,hdmi-tx-mux-en = <&pm8841_mpps 4 0>; - }; - - drv2667_vreg: drv2667_vdd_vreg { - compatible = "regulator-fixed"; - regulator-name = "vdd_drv2667"; - }; - - i2c@f9967000 { - ti-drv2667@59 { - compatible = "ti,drv2667"; - reg = <0x59>; - vdd-supply = <&drv2667_vreg>; - vdd-i2c-supply = <&pm8941_s3>; - ti,label = "vibrator"; - ti,gain = <2>; - ti,idle-timeout-ms = <20>; - ti,max-runtime-ms = <15000>; - ti,mode = <2>; - ti,wav-seq = [ - /* wave form id */ - 01 - /* header size, start and stop bytes */ - 05 80 06 00 09 - /* repeat, amp, freq, duration, envelope */ - 01 ff 19 02 00]; - }; - }; - - i2c@f9924000 { - atmel_mxt_ts@4a { - compatible = "atmel,mxt-ts"; - reg = <0x4a>; - interrupt-parent = <&msmgpio>; - interrupts = <61 0x2>; - vdd_ana-supply = <&pm8941_l22>; - vcc_i2c-supply = <&pm8941_s3>; - atmel,reset-gpio = <&msmgpio 60 0x00>; - atmel,irq-gpio = <&msmgpio 61 0x00>; - atmel,panel-coords = <0 0 1080 1920>; - atmel,display-coords = <0 0 1080 1920>; - atmel,i2c-pull-up; - atmel,no-force-update; - atmel,cfg_1 { - atmel,family-id = <0xa2>; - atmel,variant-id = <0x00>; - atmel,version = <0x11>; - atmel,build = <0xaa>; - atmel,config = [ - /* Object 6, Instance = 0 */ - 00 00 00 00 00 00 - /* Object 38, Instance = 0 */ - 16 00 00 14 09 0C 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 - /* Object 7, Instance = 0 */ - FF FF 0A 03 - /* Object 8, Instance = 0 */ - 5F 00 14 14 00 00 00 01 00 00 - /* Object 9, Instance = 0 */ - 8F 00 00 20 34 00 87 3C 08 03 - 00 05 03 80 0A 14 14 0A 80 07 - 38 04 00 00 00 00 00 00 00 00 - 0F 0F 2E 33 02 00 - /* Object 15, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 - /* Object 18, Instance = 0 */ - 04 00 - /* Object 24, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 - /* Object 25, Instance = 0 */ - 00 00 54 6F F0 55 00 00 00 00 - 00 00 00 00 00 - /* Object 27, Instance = 0 */ - 00 00 00 00 00 00 00 - /* Object 40, Instance = 0 */ - 00 14 14 14 14 - /* Object 42, Instance = 0 */ - 20 14 00 00 00 14 11 00 03 00 - /* Object 43, Instance = 0 */ - 09 00 01 01 91 00 80 00 00 00 - 00 00 - /* Object 46, Instance = 0 */ - 00 00 10 10 00 00 01 00 00 0F - 0A - /* Object 47, Instance = 0 */ - 00 14 23 02 05 1E 01 78 03 10 - 00 00 0C 00 00 00 00 00 00 00 - 00 00 - /* Object 55, Instance = 0 */ - 00 00 00 00 00 00 00 - /* Object 56, Instance = 0 */ - 02 00 01 30 13 14 14 14 15 15 - 15 15 15 15 15 16 16 16 16 16 - 16 16 16 16 16 15 14 14 14 14 - 15 14 14 14 14 13 00 00 01 02 - 05 05 00 00 00 00 00 00 00 00 - 00 - /* Object 57, Instance = 0 */ - 00 00 00 - /* Object 61, Instance = 0 */ - 00 00 00 00 00 - /* Object 62, Instance = 0 */ - 00 01 03 01 00 00 00 00 00 0A - 0F 14 19 23 05 00 0A 05 05 69 - 23 23 34 11 64 06 06 04 40 00 - 00 00 00 00 69 4B 02 00 00 80 - 0A 14 14 18 18 10 10 80 00 80 - 00 00 0F 02 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 - /* Object 63, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 00 - ]; - }; - atmel,cfg_2 { - atmel,family-id = <0xa2>; - atmel,variant-id = <0x00>; - atmel,version = <0x11>; - atmel,build = <0xaa>; - atmel,config = [ - /* Object 6, Instance = 0 */ - 00 00 00 00 00 00 - /* Object 38, Instance = 0 */ - 19 03 00 1E 05 0D 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 - /* Object 7, Instance = 0 */ - 20 08 32 C3 - /* Object 8, Instance = 0 */ - 41 00 14 14 00 00 00 01 00 00 - /* Object 9, Instance = 0 */ - 8F 00 00 20 34 00 87 4B 02 03 - 00 05 03 41 0A 14 14 0A 80 07 - 38 04 00 00 03 03 08 28 02 3C - 0F 0F 2E 33 01 00 - /* Object 15, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 - /* Object 18, Instance = 0 */ - 04 00 - /* Object 24, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 - /* Object 25, Instance = 0 */ - 00 00 54 6F F0 55 00 00 00 00 - 00 00 00 00 00 - /* Object 27, Instance = 0 */ - 00 00 00 00 00 00 00 - /* Object 40, Instance = 0 */ - 00 14 14 14 14 - /* Object 42, Instance = 0 */ - 23 32 14 14 80 00 0A 00 05 05 - /* Object 43, Instance = 0 */ - 08 00 01 01 91 00 80 00 00 00 - 00 00 - /* Object 46, Instance = 0 */ - 00 00 18 18 00 00 01 00 00 0F - 0A - /* Object 47, Instance = 0 */ - 00 14 28 02 05 28 01 78 03 10 - 00 00 0C 00 00 00 00 00 00 00 - 00 00 - /* Object 55, Instance = 0 */ - 00 00 00 00 00 00 00 - /* Object 56, Instance = 0 */ - 01 00 00 30 13 14 14 14 15 15 - 15 15 15 15 15 16 16 16 16 16 - 16 16 16 16 16 15 14 14 14 14 - 15 14 14 14 14 13 03 20 03 01 - 0A 04 00 00 00 00 00 00 00 00 - 1A - /* Object 57, Instance = 0 */ - 00 00 00 - /* Object 61, Instance = 0 */ - 00 00 00 00 00 - /* Object 62, Instance = 0 */ - 00 03 00 07 02 00 00 00 00 00 - 0F 17 23 2D 05 00 05 03 03 69 - 14 14 34 11 64 06 06 04 40 00 - 00 00 00 00 69 3C 02 04 01 00 - 0A 14 14 03 03 03 03 00 00 00 - 00 64 1E 01 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 - /* Object 63, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 00 - /* Object 65, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 - /* Object 66, Instance = 0 */ - 00 00 00 00 00 - ]; - }; - }; - }; - - ext_5v: regulator-smb210 { - compatible = "regulator-fixed"; - regulator-name = "ext_5v"; - gpio = <&pm8941_mpps 2 0>; - startup-delay-us = <12000>; - enable-active-high; - }; - - ath_chip_pwd_l: ath_chip_reset { - compatible = "regulator-fixed"; - regulator-name = "ath_chip_pwd_l"; - gpio = <&pm8941_gpios 33 0>; - enable-active-high; - }; - - bt_ar3002 { - compatible = "qca,ar3002"; - qca,bt-reset-gpio = <&pm8941_gpios 34 0>; - qca,bt-chip-pwd-supply = <&ath_chip_pwd_l>; - qca,bt-vdd-io-supply = <&pm8941_s3>; - qca,bt-vdd-pa-supply = <&pm8941_l19>; - }; - - bt_ar3002_sleep { - compatible = "qca,ar3002_bluesleep"; - host-wake-gpio = <&msmgpio 79 0>; - ext-wake-gpio = <&msmgpio 51 0>; - interrupt-parent = <&msmgpio>; - interrupts = <79 2>; - interrupt-names = "host_wake"; - }; - - sound { - qcom,model = "msm8974-taiko-liquid-snd-card"; - - qcom,audio-routing = - "RX_BIAS", "MCLK", - "LDO_H", "MCLK", - "Lineout_1 amp", "LINEOUT1", - "Lineout_3 amp", "LINEOUT3", - "Lineout_2 amp", "LINEOUT2", - "Lineout_4 amp", "LINEOUT4", - "SPK_ultrasound amp", "SPK_OUT", - "AMIC1", "MIC BIAS4 External", - "MIC BIAS4 External", "Analog Mic4", - "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", - "AMIC5", "MIC BIAS1 External", - "MIC BIAS1 External", "Analog Mic6", - "AMIC6", "MIC BIAS1 External", - "MIC BIAS1 External", "Analog Mic7", - "DMIC1", "MIC BIAS3 External", - "MIC BIAS3 External", "Digital Mic1", - "DMIC2", "MIC BIAS3 External", - "MIC BIAS3 External", "Digital Mic2", - "DMIC3", "MIC BIAS2 External", - "MIC BIAS2 External", "Digital Mic3", - "DMIC4", "MIC BIAS3 External", - "MIC BIAS3 External", "Digital Mic4", - "DMIC5", "MIC BIAS2 External", - "MIC BIAS2 External", "Digital Mic5", - "DMIC6", "MIC BIAS2 External", - "MIC BIAS2 External", "Digital Mic6"; - - qcom,ext-spk-amp-supply = <&ext_5v>; - qcom,ext-spk-amp-gpio = <&pm8841_mpps 1 0>; - qcom,dock-plug-det-irq = <&pm8841_mpps 2 0>; - qcom,ext-ult-spk-amp-gpio = <&pm8941_gpios 6 0>; - qcom,hdmi-audio-rx; - - qcom,prim-auxpcm-gpio-clk = <&msmgpio 74 0>; - qcom,prim-auxpcm-gpio-sync = <&msmgpio 75 0>; - qcom,prim-auxpcm-gpio-din = <&msmgpio 76 0>; - qcom,prim-auxpcm-gpio-dout = <&msmgpio 77 0>; - qcom,prim-auxpcm-gpio-set = "prim-gpio-tert"; - }; - - hsic_hub { - compatible = "qcom,hsic-smsc-hub"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - smsc,reset-gpio = <&pm8941_gpios 8 0x00>; - smsc,refclk-gpio = <&pm8941_gpios 16 0x00>; - smsc,int-gpio = <&msmgpio 50 0x00>; - hub_int-supply = <&pm8941_l10>; - hub_vbus-supply = <&ext_5v>; - - hsic_host: hsic@f9a00000 { - compatible = "qcom,hsic-host"; - reg = <0xf9a00000 0x400>; - #address-cells = <0>; - interrupt-parent = <&hsic_host>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 136 0 - 1 &intc 0 148 0 - 2 &msmgpio 144 0x8>; - interrupt-names = "core_irq", "async_irq", "wakeup"; - HSIC_VDDCX-supply = <&pm8841_s2>; - HSIC_GDSC-supply = <&gdsc_usb_hsic>; - hsic,strobe-gpio = <&msmgpio 144 0x00>; - hsic,data-gpio = <&msmgpio 145 0x00>; - hsic,ignore-cal-pad-config; - hsic,strobe-pad-offset = <0x2050>; - hsic,data-pad-offset = <0x2054>; - - qcom,msm-bus,name = "hsic"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <85 512 0 0>, - <85 512 40000 160000>; - }; - }; - - wlan0: qca,wlan { - compatible = "qca,ar6004-hsic"; - qcom,msm-bus,name = "wlan"; - qca,wifi-chip-pwd-supply = <&ath_chip_pwd_l>; - qca,wifi-vddpa-supply = <&pm8941_l19>; - qca,wifi-vddio-supply = <&pm8941_l10>; - qcom,msm-bus,num-cases = <5>; - qcom,msm-bus,active-only = <0>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <85 512 0 0>, - <85 512 40000 160000>, - <85 512 40000 320000>, - <85 512 40000 480000>, - <85 512 40000 800000>; - }; - - wlan_sdio:qca,wlan_sdio { - compatible = "qca,ar6004-sdio"; - qcom,msm-bus,name = "wlan_sdio"; - qca,wifi-chip-pwd-supply = <&ath_chip_pwd_l>; - }; -}; - -&mdss_fb0 { - qcom,memory-reservation-size = <0x1000000>; /* size 16MB */ -}; - -&uart7 { - status = "ok"; - qcom,tx-gpio = <&msmgpio 41 0x00>; - qcom,rx-gpio = <&msmgpio 42 0x00>; - qcom,cts-gpio = <&msmgpio 43 0x00>; - qcom,rfr-gpio = <&msmgpio 44 0x00>; -}; - -&usb3 { - qcom,otg-capability; -}; - -&pm8941_mvs2 { - parent-supply = <&ext_5v>; -}; - -&pm8941_gpios { - gpio@c000 { /* GPIO 1 */ - qcom,mode = <0>; - qcom,pull = <0>; - qcom,vin-sel = <2>; - qcom,src-sel = <0>; - }; - - gpio@c100 { /* GPIO 2 */ - qcom,mode = <0>; - qcom,pull = <0>; - qcom,vin-sel = <2>; - qcom,src-sel = <0>; - }; - - gpio@c200 { /* GPIO 3 */ - }; - - gpio@c300 { /* GPIO 4 */ - }; - - gpio@c400 { /* GPIO 5 */ - qcom,mode = <0>; - qcom,pull = <0>; - qcom,vin-sel = <2>; - qcom,src-sel = <0>; - }; - - gpio@c500 { /* GPIO 6 */ - /* ULTRASOUND_EN_1 PA AB enable */ - qcom,mode = <1>; /* DIG_OUT */ - qcom,output-type = <0>; /* CMOS */ - qcom,pull = <4>; /* PULL_DOWN */ - qcom,vin-sel = <0>; /* VPH */ - qcom,out-strength = <2>; /* STRENGTH_MED */ - qcom,src-sel = <0>; /* CONSTANT */ - qcom,master-en = <1>; - }; - - gpio@c600 { /* GPIO 7 */ - }; - - gpio@c700 { /* GPIO 8 */ - /* HSIC_HUB-RESET */ - qcom,mode = <1>; /* DIG_OUT */ - qcom,pull = <5>; /* PULL_NO */ - qcom,out-strength = <2>; /* STRENGTH_MED */ - qcom,master-en = <1>; - }; - - gpio@c800 { /* GPIO 9 */ - }; - - gpio@c900 { /* GPIO 10 */ - /* SMB350-CHG-EN-N */ - qcom,mode = <1>; /* DIG_OUT */ - qcom,output-type = <0>; /* CMOS */ - qcom,pull = <5>; /* PULL_NO */ - qcom,vin-sel = <0>; /* VPH */ - qcom,out-strength = <2>; /* STRENGTH_MED */ - qcom,src-sel = <0>; /* CONSTANT */ - qcom,master-en = <1>; - }; - - gpio@ca00 { /* GPIO 11 */ - }; - - gpio@cb00 { /* GPIO 12 */ - }; - - gpio@cc00 { /* GPIO 13 */ - /* SMB350-CHG-SUSP-N */ - qcom,mode = <1>; /* DIG_OUT */ - qcom,output-type = <0>; /* CMOS */ - qcom,pull = <5>; /* PULL_NO */ - qcom,vin-sel = <0>; /* VPH */ - qcom,out-strength = <2>; /* STRENGTH_MED */ - qcom,src-sel = <0>; /* CONSTANT */ - qcom,master-en = <1>; - }; - - gpio@cd00 { /* GPIO 14 */ - }; - - gpio@ce00 { /* GPIO 15 */ - qcom,mode = <1>; - qcom,output-type = <0>; - qcom,pull = <5>; - qcom,vin-sel = <2>; - qcom,out-strength = <1>; - qcom,src-sel = <2>; - qcom,master-en = <1>; - }; - - gpio@cf00 { /* GPIO 16 */ - /* HSIC_HUB-INT_N */ - qcom,mode = <1>; - qcom,output-type = <0>; - qcom,pull = <5>; - qcom,vin-sel = <2>; - qcom,out-strength = <3>; - qcom,src-sel = <2>; - qcom,master-en = <1>; - }; - - gpio@d000 { /* GPIO 17 */ - }; - - gpio@d100 { /* GPIO 18 */ - }; - - gpio@d200 { /* GPIO 19 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,output-type = <0>; /* QPNP_PIN_OUT_BUF_CMOS */ - qcom,pull = <5>; /* QPNP_PIN_PULL_NO */ - qcom,vin-sel = <2>; /* QPNP_PIN_VIN2 */ - qcom,out-strength = <2>; /* QPNP_PIN_OUT_STRENGTH_MED */ - qcom,src-sel = <0>; /* QPNP_PIN_SEL_FUNC_CONSTANT */ - qcom,master-en = <1>; - }; - - gpio@d300 { /* GPIO 20 */ - }; - - gpio@d400 { /* GPIO 21 */ - }; - - gpio@d500 { /* GPIO 22 */ - }; - - gpio@d600 { /* GPIO 23 */ - }; - - gpio@d700 { /* GPIO 24 */ - }; - - gpio@d800 { /* GPIO 25 */ - }; - - gpio@d900 { /* GPIO 26 */ - }; - - gpio@da00 { /* GPIO 27 */ - }; - - gpio@db00 { /* GPIO 28 */ - }; - - gpio@dc00 { /* GPIO 29 */ - qcom,pull = <0>; /* set to default pull */ - qcom,master-en = <1>; - qcom,vin-sel = <2>; /* select 1.8 V source */ - }; - - gpio@dd00 { /* GPIO 30 */ - /* SMB350-STAT */ - qcom,mode = <0>; /* DIG_IN */ - qcom,pull = <5>; /* PULL_NO */ - qcom,vin-sel = <2>; /* S3 1.8V */ - qcom,src-sel = <0>; /* CONSTANT */ - qcom,master-en = <1>; - }; - - gpio@de00 { /* GPIO 31 */ - }; - - gpio@df00 { /* GPIO 32 */ - }; - - gpio@e000 { /* GPIO 33 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,output-type = <0>; /* QPNP_PIN_OUT_BUF_CMOS */ - qcom,pull = <5>; /* QPNP_PIN_PULL_NO */ - qcom,vin-sel = <2>; /* QPNP_PIN_VIN2 */ - qcom,out-strength = <2>; /* QPNP_PIN_OUT_STRENGTH_MED */ - qcom,src-sel = <0>; /* QPNP_PIN_SEL_FUNC_CONSTANT */ - qcom,invert = <1>; - qcom,master-en = <1>; - }; - - gpio@e100 { /* GPIO 34 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,output-type = <0>; /* QPNP_PIN_OUT_BUF_CMOS */ - qcom,pull = <5>; /* QPNP_PIN_PULL_NO */ - qcom,vin-sel = <2>; /* QPNP_PIN_VIN2 */ - qcom,out-strength = <2>; /* QPNP_PIN_OUT_STRENGTH_MED */ - qcom,src-sel = <0>; /* QPNP_PIN_SEL_FUNC_CONSTANT */ - qcom,invert = <0>; - qcom,master-en = <1>; - }; - - gpio@e200 { /* GPIO 35 */ - }; - - gpio@e300 { /* GPIO 36 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,output-type = <0>; /* QPNP_PIN_OUT_BUF_CMOS */ - qcom,pull = <5>; /* QPNP_PIN_PULL_NO */ - qcom,vin-sel = <2>; /* QPNP_PIN_VIN2 */ - qcom,out-strength = <3>; /* QPNP_PIN_OUT_STRENGTH_HIGH */ - qcom,src-sel = <3>; /* QPNP_PIN_SEL_FUNC_2 */ - qcom,master-en = <1>; - }; -}; - -&pm8941_mpps { - - mpp@a000 { /* MPP 1 */ - status = "disabled"; - }; - - mpp@a100 { /* MPP 2 */ - /* ext_5v regulator enable */ - qcom,mode = <1>; /* Digital output */ - qcom,invert = <0>; /* Output low initially */ - qcom,vin-sel = <2>; /* PM8941 S3 = 1.8 V */ - qcom,src-sel = <0>; /* Constant */ - qcom,master-en = <1>; /* Enable MPP */ - }; - - mpp@a200 { /* MPP 3 */ - }; - - mpp@a300 { /* MPP 4 */ - }; - - mpp@a400 { /* MPP 5 */ - /* SPI_ETH config */ - qcom,mode = <1>; /* DIG_OUT */ - qcom,output-type = <0>; /* CMOS */ - qcom,vin-sel = <2>; /* PM8941_S3 1.8V > 1.6V */ - qcom,src-sel = <0>; /* CONSTANT */ - qcom,master-en = <1>; /* ENABLE MPP */ - }; - - mpp@a500 { /* MPP 6 */ - /* SPI_ETH_RST config */ - qcom,mode = <1>; /* DIG_OUT */ - qcom,output-type = <0>; /* CMOS */ - qcom,vin-sel = <2>; /* PM8941_S3 1.8V > 1.6V */ - qcom,src-sel = <0>; /* CONSTANT */ - qcom,master-en = <1>; /* ENABLE MPP */ - }; - - mpp@a600 { /* MPP 7 */ - }; - - mpp@a700 { /* MPP 8 */ - }; -}; - -&pm8841_mpps { - - mpp@a000 { /* MPP 1 */ - /* CLASS_D_EN speakers PA */ - qcom,mode = <1>; /* DIG_OUT */ - qcom,output-type = <0>; /* PNP_PIN_OUT_BUF_CMOS */ - qcom,vin-sel = <2>; /* S3A 1.8v */ - qcom,src-select = <0>; /* CONSTANT */ - qcom,master-en = <1>; /* ENABLE MPP */ - }; - - mpp@a100 { /* MPP 2 */ - /* DOCK_PLUG_DET speakers+docking detect irq*/ - qcom,mode = <0>; /* DIG_IN */ - qcom,vin-sel = <2>; /* S3A 1.8v */ - qcom,src-sel = <0>; /* CONSTANT */ - qcom,master-en = <1>; /* ENABLE MPP */ - }; - - mpp@a200 { /* HDMI_MUX_SEL MPP 3*/ - status = "ok"; - qcom,mode = <1>; /* DIG_OUT */ - qcom,output-type = <0>; /* CMOS */ - qcom,vin-sel = <2>; /* PM8841_S3A 1.8V */ - qcom,src-sel = <0>; /* CONSTANT */ - qcom,master-en = <1>; /* ENABLE MPP */ - }; - - mpp@a300 { /* HDMI_MUX_EN MPP 4*/ - status = "ok"; - qcom,mode = <1>; /* DIG_OUT */ - qcom,output-type = <0>; /* CMOS */ - qcom,vin-sel = <0>; /* PM8841_VPH 3.4V */ - qcom,src-sel = <0>; /* CONSTANT */ - qcom,master-en = <1>; /* ENABLE MPP */ - }; -}; - -&vph_pwr_vreg { - status = "ok"; -}; - -&slim_msm { - taiko_codec { - qcom,cdc-micbias1-ext-cap; - qcom,cdc-micbias2-ext-cap; - qcom,cdc-micbias3-ext-cap; - qcom,cdc-micbias4-ext-cap; - - /* - * Liquid has external spkrdrv supply. Give a dummy supply to - * make codec driver's happy. - */ - cdc-vdd-spkdrv-supply = <&vph_pwr_vreg>; - qcom,cdc-vdd-spkdrv-voltage = <0 0>; - qcom,cdc-vdd-spkdrv-current = <0>; - - qcom,cdc-on-demand-supplies = "cdc-vdd-spkdrv"; - }; -}; - -&spi_epm { - epm-adc@0 { - compatible = "cy,epm-adc-cy8c5568lti-114"; - reg = <0>; - interrupt-parent = <&msmgpio>; - spi-max-frequency = <960000>; - qcom,channels = <31>; - qcom,gain = <50 50 50 50 50 100 50 50 50 50 - 50 50 50 50 100 50 50 50 50 100 - 50 50 50 100 50 50 50 1 1 1 - 1>; - qcom,rsense = <40 10 10 25 10 1000 75 25 10 25 - 33 500 200 10 500 100 33 200 25 100 - 75 500 50 200 5 5 3 1 1 1 - 1>; - qcom,channel-type = <0xf0000000>; - }; -}; - -&spmi_bus { - qcom,pm8941@1 { - qcom,leds@d000 { - qcom,rgb_2 { - status = "ok"; - qcom,default-state = "on"; - qcom,turn-off-delay-ms = <1000>; - }; - }; - }; -}; - -&pm8941_chg { - status = "ok"; - otg-parent-supply = <&ext_5v>; - - qcom,charging-disabled; - - qcom,chgr@1000 { - status = "ok"; - }; - - qcom,buck@1100 { - status = "ok"; - }; - - qcom,usb-chgpth@1300 { - status = "ok"; - }; - - qcom,dc-chgpth@1400 { - status = "ok"; - }; - - qcom,boost@1500 { - status = "ok"; - }; - - qcom,chg-misc@1600 { - status = "ok"; - }; -}; - -&sdcc1 { - status = "disabled"; -}; - -&sdcc2 { - status = "disabled"; -}; - -&sdhc_1 { - vdd-supply = <&pm8941_l20>; - vdd-io-supply = <&pm8941_s3>; - - qcom,vdd-always-on; - qcom,vdd-lpm-sup; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <800 500000>; - - qcom,vdd-io-always-on; - qcom,vdd-io-voltage-level = <1800000 1800000>; - qcom,vdd-io-current-level = <250 154000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,nonremovable; - status = "ok"; -}; - -&sdhc_2 { - vdd-supply = <&pm8941_l21>; - vdd-io-supply = <&pm8941_l13>; - - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <9000 800000>; - - qcom,vdd-io-voltage-level = <1800000 2950000>; - qcom,vdd-io-current-level = <6 22000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - status = "ok"; -}; - -/* Drive strength recommendations for clock line from hardware team is 10 mA. - * But since the driver has been been using the below values from the start - * without any problems, continue to use those. - */ -&sdcc1 { - qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */ -}; - -&sdcc2 { - qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */ -}; - -&sdhc_1 { - qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */ -}; - -&sdhc_2 { - qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */ -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8974-mdss.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8974-mdss.dtsi deleted file mode 100644 index 6b8d600ed..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8974-mdss.dtsi +++ /dev/null @@ -1,148 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&soc { - mdss_mdp: qcom,mdss_mdp@fd900000 { - compatible = "qcom,mdss_mdp"; - reg = <0xfd900000 0x22100>, - <0xfd924000 0x1000>; - reg-names = "mdp_phys", "vbif_phys"; - interrupts = <0 72 0>; - vdd-supply = <&gdsc_mdss>; - - qcom,max-clk-rate = <320000000>; - qcom,mdss-pipe-vig-off = <0x00001200 0x00001600 - 0x00001A00>; - qcom,mdss-pipe-rgb-off = <0x00001E00 0x00002200 - 0x00002600>; - qcom,mdss-pipe-dma-off = <0x00002A00 0x00002E00>; - qcom,mdss-pipe-vig-fetch-id = <1 4 7>; - qcom,mdss-pipe-rgb-fetch-id = <16 17 18>; - qcom,mdss-pipe-dma-fetch-id = <10 13>; - qcom,mdss-smp-data = <22 4096>; - - qcom,mdss-ctl-off = <0x00000600 0x00000700 0x00000800 - 0x00000900 0x0000A00>; - qcom,mdss-mixer-intf-off = <0x00003200 0x00003600 - 0x00003A00>; - qcom,mdss-mixer-wb-off = <0x00003E00 0x00004200>; - qcom,mdss-dspp-off = <0x00004600 0x00004A00 0x00004E00>; - qcom,mdss-wb-off = <0x00011100 0x00013100 0x00015100 - 0x00017100 0x00019100>; - qcom,mdss-intf-off = <0x00021100 0x00021300 - 0x00021500 0x00021700>; - - qcom,vbif-settings = <0x0004 0x00000001>, - <0x00D8 0x00000707>, - <0x00F0 0x00000030>, - <0x0124 0x00000001>, - <0x0178 0x00000FFF>, - <0x017C 0x0FFF0FFF>, - <0x0160 0x22222222>, - <0x0164 0x00002222>; - qcom,mdp-settings = <0x02E0 0x000000E9>, - <0x02E4 0x00000055>, - <0x03AC 0xC0000CCC>, - <0x03B4 0xC0000CCC>, - <0x03BC 0x00CCCCCC>, - <0x04A8 0x0CCCC0C0>, - <0x04B0 0xCCCCC0C0>, - <0x04B8 0xCCCCC000>; - - mdss_fb0: qcom,mdss_fb_primary { - cell-index = <0>; - compatible = "qcom,mdss-fb"; - qcom,memory-reservation-type = "EBI1"; - qcom,memory-reservation-size = <0x800000>; - }; - - mdss_fb1: qcom,mdss_fb_external { - cell-index = <1>; - compatible = "qcom,mdss-fb"; - }; - - mdss_fb2: qcom,mdss_fb_wfd { - cell-index = <2>; - compatible = "qcom,mdss-fb"; - }; - }; - - mdss_dsi0: qcom,mdss_dsi@fd922800 { - compatible = "qcom,mdss-dsi-ctrl"; - label = "MDSS DSI CTRL->0"; - cell-index = <0>; - reg = <0xfd922800 0x600>; - vdd-supply = <&pm8941_l22>; - vddio-supply = <&pm8941_l12>; - vdda-supply = <&pm8941_l2>; - qcom,mdss-fb-map = <&mdss_fb0>; - }; - - mdss_dsi1: qcom,mdss_dsi@fd922e00 { - compatible = "qcom,mdss-dsi-ctrl"; - label = "MDSS DSI CTRL->1"; - cell-index = <1>; - reg = <0xfd922e00 0x600>; - vdd-supply = <&pm8941_l22>; - vddio-supply = <&pm8941_l12>; - vdda-supply = <&pm8941_l2>; - qcom,mdss-fb-map = <&mdss_fb0>; - }; - - mdss_hdmi_tx: qcom,hdmi_tx@fd922100 { - cell-index = <0>; - compatible = "qcom,hdmi-tx"; - reg = <0xfd922100 0x35C>, - <0xfd922500 0x7C>, - <0xfc4b8000 0x60F0>; - reg-names = "core_physical", "phy_physical", "qfprom_physical"; - - hpd-gdsc-supply = <&gdsc_mdss>; - hpd-5v-supply = <&pm8941_mvs2>; - core-vdda-supply = <&pm8941_l12>; - core-vcc-supply = <&pm8941_s3>; - qcom,hdmi-tx-supply-names = "hpd-gdsc", "hpd-5v", "core-vdda", "core-vcc"; - qcom,hdmi-tx-min-voltage-level = <0 0 1800000 1800000>; - qcom,hdmi-tx-max-voltage-level = <0 0 1800000 1800000>; - qcom,hdmi-tx-peak-current = <0 0 1800000 0>; - - qcom,hdmi-tx-cec = <&msmgpio 31 0>; - qcom,hdmi-tx-ddc-clk = <&msmgpio 32 0>; - qcom,hdmi-tx-ddc-data = <&msmgpio 33 0>; - qcom,hdmi-tx-hpd = <&msmgpio 34 0>; - qcom,mdss-fb-map = <&mdss_fb1>; - qcom,msm-hdmi-audio-rx { - compatible = "qcom,msm-hdmi-audio-codec-rx"; - }; - }; - - qcom,mdss_wb_panel { - compatible = "qcom,mdss_wb"; - qcom,mdss_pan_res = <1920 1080>; - qcom,mdss_pan_bpp = <24>; - qcom,mdss-fb-map = <&mdss_fb2>; - }; - - mdss_edp: qcom,mdss_edp@fd923400 { - compatible = "qcom,mdss-edp"; - reg = <0xfd923400 0x700>, - <0xfd8c2000 0x1000>; - reg-names = "edp_base", "mmss_cc_base"; - vdda-supply = <&pm8941_l12>; - gpio-panel-en = <&msmgpio 58 0>; - gpio-panel-pwm = <&pm8941_gpios 36 0>; - qcom,panel-lpg-channel = <7>; /* LPG Channel 8 */ - qcom,panel-pwm-period = <53>; - status = "disable"; - qcom,mdss-fb-map = <&mdss_fb0>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8974-mtp.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8974-mtp.dtsi deleted file mode 100644 index e798fc0f9..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8974-mtp.dtsi +++ /dev/null @@ -1,705 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/include/ "dsi-panel-toshiba-720p-video.dtsi" -/include/ "msm8974-camera-sensor-mtp.dtsi" -/include/ "msm8974-leds.dtsi" - -&soc { - serial@f991e000 { - status = "ok"; - }; - - qcom,mdss_dsi_toshiba_720p_video { - status = "ok"; - qcom,cont-splash-enabled; - }; - - qcom,hdmi_tx@fd922100 { - status = "disabled"; - }; - - i2c@f9924000 { - atmel_mxt_ts@4a { - compatible = "atmel,mxt-ts"; - reg = <0x4a>; - interrupt-parent = <&msmgpio>; - interrupts = <61 0x2>; - vdd_ana-supply = <&pm8941_l18>; - vcc_i2c-supply = <&pm8941_lvs1>; - atmel,reset-gpio = <&msmgpio 60 0x00>; - atmel,irq-gpio = <&msmgpio 61 0x00>; - atmel,panel-coords = <0 0 760 1424>; - atmel,display-coords = <0 0 720 1280>; - atmel,i2c-pull-up; - atmel,no-force-update; - atmel,cfg_1 { - atmel,family-id = <0x82>; - atmel,variant-id = <0x19>; - atmel,version = <0x10>; - atmel,build = <0xaa>; - atmel,config = [ - /* Object 6, Instance = 0 */ - 00 00 00 00 00 00 - /* Object 38, Instance = 0 */ - 15 01 00 03 0A 0C 00 00 - /* Object 7, Instance = 0 */ - 20 08 32 03 - /* Object 8, Instance = 0 */ - 0F 00 0A 0A 00 00 0A 0A 00 00 - /* Object 9, Instance = 0 */ - 83 00 00 18 0E 00 70 46 02 01 - 00 0A 03 31 04 05 0A 0A 90 05 - F8 02 05 F1 F1 0F 00 00 08 2D - 12 06 00 00 00 01 - /* Object 15, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 - /* Object 18, Instance = 0 */ - 00 00 - /* Object 19, Instance = 0 */ - 00 00 00 00 00 00 - /* Object 23, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 - /* Object 25, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 - /* Object 40, Instance = 0 */ - 00 00 00 00 00 - /* Object 42, Instance = 0 */ - 33 1E 19 10 80 00 00 00 FF 00 - /* Object 46, Instance = 0 */ - 00 00 10 10 00 00 03 00 00 01 - /* Object 47, Instance = 0 */ - 08 0A 28 0A 02 0A 00 8C 00 20 - 00 00 00 - /* Object 55, Instance = 0 */ - 00 00 00 00 00 00 - /* Object 56, Instance = 0 */ - 00 00 00 18 05 05 05 05 05 05 - 05 05 05 05 05 05 05 05 05 05 - 05 05 05 05 05 05 05 05 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 - /* Object 57, Instance = 0 */ - 00 00 00 - /* Object 61, Instance = 0 */ - 00 00 00 00 00 - /* Object 62, Instance = 0 */ - 01 2A 00 16 00 00 00 00 0B 01 - 02 03 04 08 00 00 08 10 18 05 - 00 0A 05 05 50 14 19 34 1A 7F - 00 00 00 00 00 00 00 00 00 30 - 05 02 00 01 00 05 00 00 00 00 - 00 00 00 00 - ]; - }; - }; - }; - - gen-vkeys { - compatible = "qcom,gen-vkeys"; - label = "atmel_mxt_ts"; - qcom,disp-maxx = <720>; - qcom,disp-maxy = <1280>; - qcom,panel-maxx = <760>; - qcom,panel-maxy = <1424>; - qcom,key-codes = <158 139 102 217>; - }; - - i2c@f9967000 { - isa1200@48 { - status = "okay"; - reg = <0x48>; - vcc_i2c-supply = <&pm8941_s3>; - compatible = "imagis,isa1200"; - label = "vibrator"; - imagis,chip-en; - imagis,need-pwm-clk; - imagis,ext-clk-en; - imagis,hap-en-gpio = <&msmgpio 86 0x00>; - imagis,max-timeout = <15000>; - imagis,pwm-div = <256>; - imagis,mode-ctrl = <2>; - imagis,regulator { - regulator-name = "vcc_i2c"; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - regulator-max-microamp = <9360>; - }; - }; - }; - - gpio_keys { - compatible = "gpio-keys"; - input-name = "gpio-keys"; - - camera_snapshot { - label = "camera_snapshot"; - gpios = <&pm8941_gpios 3 0x1>; - linux,input-type = <1>; - linux,code = <0x2fe>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - - camera_focus { - label = "camera_focus"; - gpios = <&pm8941_gpios 4 0x1>; - linux,input-type = <1>; - linux,code = <0x210>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - - vol_up { - label = "volume_up"; - gpios = <&pm8941_gpios 5 0x1>; - linux,input-type = <1>; - linux,code = <115>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - }; - - spi@f9923000 { - ethernet-switch@2 { - compatible = "micrel,ks8851"; - reg = <2>; - interrupt-parent = <&msmgpio>; - interrupts = <94 0>; - spi-max-frequency = <4800000>; - rst-gpio = <&pm8941_mpps 6 0>; - vdd-io-supply = <&spi_eth_vreg>; - vdd-phy-supply = <&spi_eth_vreg>; - }; - }; - - sound { - qcom,model = "msm8974-taiko-mtp-snd-card"; - qcom,cdc-micbias2-headset-only; - }; -}; - -&spmi_bus { - qcom,pm8941@1 { - qcom,leds@d800 { - status = "okay"; - qcom,wled_0 { - label = "wled"; - linux,name = "wled:backlight"; - linux,default-trigger = "bkl-trigger"; - qcom,cs-out-en; - qcom,op-fdbck = <1>; - qcom,default-state = "on"; - qcom,max-current = <25>; - qcom,ctrl-delay-us = <0>; - qcom,boost-curr-lim = <3>; - qcom,cp-sel = <0>; - qcom,switch-freq = <2>; - qcom,ovp-val = <2>; - qcom,num-strings = <1>; - qcom,id = <0>; - }; - }; - - qcom,leds@d900 { - status = "disabled"; - }; - - qcom,leds@da00 { - status = "disabled"; - }; - - qcom,leds@db00 { - status = "disabled"; - }; - - qcom,leds@dc00 { - status = "disabled"; - }; - - qcom,leds@dd00 { - status = "disabled"; - }; - - qcom,leds@de00 { - status = "disabled"; - }; - - qcom,leds@df00 { - status = "disabled"; - }; - - qcom,leds@e000 { - status = "disabled"; - }; - - qcom,leds@e100 { - status = "disabled"; - }; - }; -}; - -&sdcc1 { - status = "disabled"; -}; - -&sdcc2 { - #address-cells = <0>; - interrupt-parent = <&sdcc2>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 125 0 - 1 &intc 0 220 0 - 2 &msmgpio 62 0x3>; - interrupt-names = "core_irq", "bam_irq", "status_irq"; - cd-gpios = <&msmgpio 62 0x1>; - status = "disabled"; -}; - -&sdhc_1 { - vdd-supply = <&pm8941_l20>; - vdd-io-supply = <&pm8941_s3>; - - qcom,vdd-always-on; - qcom,vdd-lpm-sup; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <800 500000>; - - qcom,vdd-io-always-on; - qcom,vdd-io-voltage-level = <1800000 1800000>; - qcom,vdd-io-current-level = <250 154000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,nonremovable; - status = "ok"; -}; - -&sdhc_2 { - #address-cells = <0>; - interrupt-parent = <&sdhc_2>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 125 0 - 1 &intc 0 221 0 - 2 &msmgpio 62 0x3>; - interrupt-names = "hc_irq", "pwr_irq", "status_irq"; - cd-gpios = <&msmgpio 62 0x1>; - - vdd-supply = <&pm8941_l21>; - vdd-io-supply = <&pm8941_l13>; - - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <9000 800000>; - - qcom,vdd-io-voltage-level = <1800000 2950000>; - qcom,vdd-io-current-level = <6 22000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - status = "ok"; -}; - -/* Drive strength recommendations for clock line from hardware team is 10 mA. - * But since the driver has been been using the below values from the start - * without any problems, continue to use those. - */ -&sdcc1 { - qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */ -}; - -&sdcc2 { - qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */ -}; - -&sdhc_1 { - qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */ -}; - -&sdhc_2 { - qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */ -}; - -&usb_otg { - qcom,hsusb-otg-otg-control = <2>; -}; - -&uart7 { - status = "ok"; -}; - -&usb3 { - qcom,otg-capability; -}; - -&pm8941_bms { - status = "ok"; -}; - -&pm8941_chg { - status = "ok"; - qcom,charging-disabled; - - qcom,chgr@1000 { - status = "ok"; - }; - - qcom,buck@1100 { - status = "ok"; - }; - - qcom,bat-if@1200 { - status = "ok"; - }; - - qcom,usb-chgpth@1300 { - status = "ok"; - }; - - qcom,dc-chgpth@1400 { - status = "ok"; - }; - - qcom,boost@1500 { - status = "ok"; - }; - - qcom,chg-misc@1600 { - status = "ok"; - }; -}; - -&pm8941_gpios { - gpio@c000 { /* GPIO 1 */ - qcom,mode = <0>; /* QPNP_PIN_MODE_DIG_IN */ - qcom,pull = <0>; /* QPNP_PIN_PULL_UP_30 */ - qcom,master-en = <1>; - }; - - gpio@c100 { /* GPIO 2 */ - qcom,mode = <0>; /* QPNP_PIN_MODE_DIG_IN */ - qcom,pull = <0>; /* QPNP_PIN_PULL_UP_30 */ - qcom,master-en = <1>; - }; - - gpio@c200 { /* GPIO 3 */ - qcom,mode = <0>; /* QPNP_PIN_MODE_DIG_IN */ - qcom,pull = <0>; /* QPNP_PIN_PULL_UP_30 */ - qcom,vin-sel = <2>; - qcom,src-sel = <0>; /* QPNP_PIN_SEL_FUNC_CONSTANT */ - qcom,master-en = <1>; - }; - - gpio@c300 { /* GPIO 4 */ - qcom,mode = <0>; /* QPNP_PIN_MODE_DIG_IN */ - qcom,pull = <0>; /* QPNP_PIN_PULL_UP_30 */ - qcom,vin-sel = <2>; /* QPNP_PIN_VIN2 */ - qcom,src-sel = <0>; /* QPNP_PIN_SEL_FUNC_CONSTANT */ - qcom,master-en = <1>; - }; - - gpio@c400 { /* GPIO 5 */ - qcom,mode = <0>; /* QPNP_PIN_MODE_DIG_IN */ - qcom,pull = <0>; /* QPNP_PIN_PULL_UP_30 */ - qcom,vin-sel = <2>; /* QPNP_PIN_VIN2 */ - qcom,src-sel = <0>; /* QPNP_PIN_SEL_FUNC_CONSTANT */ - qcom,master-en = <1>; - }; - - gpio@c500 { /* GPIO 6 */ - qcom,mode = <0>; /* QPNP_PIN_MODE_DIG_IN */ - qcom,pull = <0>; /* QPNP_PIN_PULL_UP_30 */ - qcom,master-en = <1>; - }; - - gpio@c600 { /* GPIO 7 */ - qcom,mode = <0>; /* QPNP_PIN_MODE_DIG_IN */ - qcom,pull = <0>; /* QPNP_PIN_PULL_UP_30 */ - qcom,master-en = <1>; - }; - - gpio@c700 { /* GPIO 8 */ - qcom,mode = <0>; /* QPNP_PIN_MODE_DIG_IN */ - qcom,pull = <0>; /* QPNP_PIN_PULL_UP_30 */ - qcom,master-en = <1>; - }; - - gpio@c800 { /* GPIO 9 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */ - qcom,src-sel = <2>; /* QPNP_PIN_SEL_FUNC_1 */ - qcom,master-en = <1>; - }; - - gpio@c900 { /* GPIO 10 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */ - qcom,src-sel = <2>; /* QPNP_PIN_SEL_FUNC_1 */ - qcom,master-en = <1>; - }; - - gpio@ca00 { /* GPIO 11 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */ - qcom,src-sel = <2>; /* QPNP_PIN_SEL_FUNC_1 */ - qcom,master-en = <1>; - }; - - gpio@cb00 { /* GPIO 12 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */ - qcom,src-sel = <2>; /* QPNP_PIN_SEL_FUNC_1 */ - qcom,master-en = <1>; - }; - - gpio@cc00 { /* GPIO 13 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */ - qcom,src-sel = <2>; /* QPNP_PIN_SEL_FUNC_1 */ - qcom,master-en = <1>; - }; - - gpio@cd00 { /* GPIO 14 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */ - qcom,src-sel = <2>; /* QPNP_PIN_SEL_FUNC_1 */ - qcom,master-en = <1>; - }; - - gpio@ce00 { /* GPIO 15 */ - qcom,mode = <1>; - qcom,output-type = <0>; - qcom,pull = <5>; - qcom,vin-sel = <2>; - qcom,out-strength = <1>; - qcom,src-sel = <2>; - qcom,master-en = <1>; - }; - - gpio@cf00 { /* GPIO 16 */ - qcom,mode = <1>; - qcom,output-type = <0>; - qcom,pull = <5>; - qcom,vin-sel = <2>; - qcom,out-strength = <3>; - qcom,src-sel = <3>; /* QPNP_PIN_SEL_FUNC_2 */ - qcom,master-en = <1>; - }; - - gpio@d000 { /* GPIO 17 */ - }; - - gpio@d100 { /* GPIO 18 */ - }; - - gpio@d200 { /* GPIO 19 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,output-type = <0>; /* QPNP_PIN_OUT_BUF_CMOS */ - qcom,pull = <5>; /* QPNP_PIN_PULL_NO */ - qcom,vin-sel = <2>; /* QPNP_PIN_VIN2 */ - qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */ - qcom,src-sel = <0>; /* QPNP_PIN_SEL_FUNC_CONSTANT */ - qcom,master-en = <1>; - }; - - gpio@d300 { /* GPIO 20 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */ - qcom,src-sel = <2>; /* QPNP_PIN_SEL_FUNC_1 */ - qcom,master-en = <1>; - }; - - gpio@d400 { /* GPIO 21 */ - }; - - gpio@d500 { /* GPIO 22 */ - qcom,mode = <0>; /* QPNP_PIN_MODE_DIG_IN */ - qcom,pull = <4>; /* QPNP_PIN_PULL_DN */ - qcom,master-en = <1>; - }; - - gpio@d600 { /* GPIO 23 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */ - qcom,src-sel = <2>; /* QPNP_PIN_SEL_FUNC_1 */ - qcom,master-en = <1>; - }; - - gpio@d700 { /* GPIO 24 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */ - qcom,src-sel = <2>; /* QPNP_PIN_SEL_FUNC_1 */ - qcom,master-en = <1>; - }; - - gpio@d800 { /* GPIO 25 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */ - qcom,src-sel = <2>; /* QPNP_PIN_SEL_FUNC_1 */ - qcom,master-en = <1>; - }; - - gpio@d900 { /* GPIO 26 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */ - qcom,src-sel = <2>; /* QPNP_PIN_SEL_FUNC_1 */ - qcom,master-en = <1>; - }; - - gpio@da00 { /* GPIO 27 */ - qcom,mode = <0>; /* QPNP_PIN_MODE_DIG_IN */ - qcom,pull = <4>; /* QPNP_PIN_PULL_DN */ - qcom,master-en = <1>; - }; - - gpio@db00 { /* GPIO 28 */ - }; - - gpio@dc00 { /* GPIO 29 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */ - qcom,src-sel = <2>; /* QPNP_PIN_SEL_FUNC_1 */ - qcom,master-en = <1>; - }; - - gpio@dd00 { /* GPIO 30 */ - qcom,mode = <0>; /* QPNP_PIN_MODE_DIG_IN */ - qcom,pull = <4>; /* QPNP_PIN_PULL_DN */ - qcom,master-en = <1>; - }; - - gpio@de00 { /* GPIO 31 */ - }; - - gpio@df00 { /* GPIO 32 */ - qcom,mode = <0>; /* QPNP_PIN_MODE_DIG_IN */ - qcom,pull = <4>; /* QPNP_PIN_PULL_DN */ - qcom,master-en = <1>; - }; - - gpio@e000 { /* GPIO 33 */ - qcom,mode = <0>; /* QPNP_PIN_MODE_DIG_IN */ - qcom,pull = <4>; /* QPNP_PIN_PULL_DN */ - qcom,master-en = <1>; - }; - - gpio@e100 { /* GPIO 34 */ - qcom,mode = <0>; /* QPNP_PIN_MODE_DIG_IN */ - qcom,pull = <4>; /* QPNP_PIN_PULL_DN */ - qcom,master-en = <1>; - }; - - gpio@e200 { /* GPIO 35 */ - qcom,mode = <0>; /* QPNP_PIN_MODE_DIG_IN */ - qcom,pull = <4>; /* QPNP_PIN_PULL_DN */ - qcom,master-en = <1>; - }; - - gpio@e300 { /* GPIO 36 */ - }; -}; - -&pm8941_mpps { - - mpp@a000 { /* MPP 1 */ - status = "disabled"; - }; - - mpp@a100 { /* MPP 2 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */ - qcom,master-en = <1>; - }; - - mpp@a200 { /* MPP 3 */ - }; - - mpp@a300 { /* MPP 4 */ - }; - - mpp@a400 { /* MPP 5 */ - }; - - mpp@a500 { /* MPP 6 */ - /* SPI_ETH_RST config */ - qcom,mode = <1>; /* DIG_OUT */ - qcom,output-type = <0>; /* CMOS */ - qcom,vin-sel = <2>; /* PM8941_S3 1.8V > 1.6V */ - qcom,src-sel = <0>; /* CONSTANT */ - qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */ - qcom,master-en = <1>; /* ENABLE MPP */ - }; - - mpp@a600 { /* MPP 7 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */ - qcom,master-en = <1>; - }; - - mpp@a700 { /* MPP 8 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */ - qcom,master-en = <1>; - }; -}; - -&pm8841_mpps { - - mpp@a000 { /* MPP 1 */ - }; - - mpp@a100 { /* MPP 2 */ - }; - - mpp@a200 { /* MPP 3 */ - }; - - mpp@a300 { /* MPP 4 */ - }; -}; - -&slim_msm { - taiko_codec { - qcom,cdc-micbias1-ext-cap; - qcom,cdc-micbias2-ext-cap; - qcom,cdc-micbias4-ext-cap; - }; -}; - -&spi_epm { - epm-adc@0 { - compatible = "cy,epm-adc-cy8c5568lti-114"; - reg = <0>; - interrupt-parent = <&msmgpio>; - spi-max-frequency = <960000>; - qcom,channels = <31>; - qcom,gain = <100 100 100 50 100 100 1 100 1 50 - 1 100 1 100 50 50 50 50 50 50 - 100 50 100 50 50 50 50 50 50 50 - 50>; - qcom,rsense = <2 2 2 200 20 2 1 2 1 30 - 1 10 1 30 50 30 500 30 100 30 - 100 500 20 200 1000 20 1000 1000 70 200 - 50>; - qcom,channel-type = <0x1540>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8974-regulator.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8974-regulator.dtsi deleted file mode 100644 index 2114686eb..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8974-regulator.dtsi +++ /dev/null @@ -1,568 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - - -/* QPNP controlled regulators: */ - -&spmi_bus { - - qcom,pm8941@1 { - - pm8941_boost: regulator@a000 { - regulator-min-microvolt = <5000000>; - regulator-max-microvolt = <5000000>; - qcom,enable-time = <500>; - status = "okay"; - }; - - pm8941_mvs1: regulator@8300 { - parent-supply = <&pm8941_chg_otg>; - qcom,enable-time = <1000>; - qcom,pull-down-enable = <1>; - interrupts = <0x1 0x83 0x2>; - interrupt-names = "ocp"; - qcom,ocp-enable = <1>; - qcom,ocp-max-retries = <10>; - qcom,ocp-retry-delay = <30>; - qcom,soft-start-enable = <1>; - qcom,vs-soft-start-strength = <0>; - qcom,hpm-enable = <1>; - qcom,auto-mode-enable = <0>; - status = "okay"; - }; - - pm8941_mvs2: regulator@8400 { - parent-supply = <&pm8941_boost>; - qcom,enable-time = <1000>; - qcom,pull-down-enable = <1>; - interrupts = <0x1 0x84 0x2>; - interrupt-names = "ocp"; - qcom,ocp-enable = <1>; - qcom,ocp-max-retries = <10>; - qcom,ocp-retry-delay = <30>; - qcom,soft-start-enable = <1>; - qcom,vs-soft-start-strength = <0>; - qcom,hpm-enable = <1>; - qcom,auto-mode-enable = <0>; - status = "okay"; - }; - }; -}; - -/* RPM controlled regulators: */ - -&rpm_bus { - rpm-regulator-smpb1 { - status = "okay"; - pm8841_s1: regulator-s1 { - regulator-min-microvolt = <675000>; - regulator-max-microvolt = <1050000>; - status = "okay"; - }; - pm8841_s1_ao: regulator-s1-ao { - regulator-name = "8841_s1_ao"; - qcom,set = <1>; - regulator-min-microvolt = <675000>; - regulator-max-microvolt = <1050000>; - status = "okay"; - compatible = "qcom,rpm-regulator-smd"; - }; - pm8841_s1_so: regulator-s1-so { - regulator-name = "8841_s1_so"; - qcom,set = <2>; - regulator-min-microvolt = <675000>; - regulator-max-microvolt = <1050000>; - qcom,init-voltage = <675000>; - status = "okay"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-smpb2 { - status = "okay"; - pm8841_s2: regulator-s2 { - regulator-min-microvolt = <500000>; - regulator-max-microvolt = <1050000>; - status = "okay"; - }; - pm8841_s2_corner: regulator-s2-corner { - regulator-name = "8841_s2_corner"; - qcom,set = <3>; - regulator-min-microvolt = <1>; - regulator-max-microvolt = <7>; - qcom,use-voltage-corner; - compatible = "qcom,rpm-regulator-smd"; - qcom,consumer-supplies = "vdd_dig", ""; - }; - pm8841_s2_corner_ao: regulator-s2-corner-ao { - regulator-name = "8841_s2_corner_ao"; - qcom,set = <1>; - regulator-min-microvolt = <1>; - regulator-max-microvolt = <7>; - qcom,use-voltage-corner; - compatible = "qcom,rpm-regulator-smd"; - }; - pm8841_s2_floor_corner: regulator-s2-floor-corner { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8841_s2_floor_corner"; - qcom,set = <3>; - regulator-min-microvolt = <1>; - regulator-max-microvolt = <7>; - qcom,use-voltage-floor-corner; - qcom,always-send-voltage; - }; - }; - - rpm-regulator-smpb3 { - status = "okay"; - pm8841_s3: regulator-s3 { - regulator-min-microvolt = <1050000>; - regulator-max-microvolt = <1050000>; - qcom,init-voltage = <1050000>; - status = "okay"; - }; - }; - - rpm-regulator-smpb4 { - status = "okay"; - pm8841_s4: regulator-s4 { - regulator-min-microvolt = <815000>; - regulator-max-microvolt = <900000>; - status = "okay"; - }; - pm8841_s4_corner: regulator-s4-corner { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8841_s4_corner"; - qcom,set = <3>; - qcom,use-voltage-corner; - regulator-min-microvolt = <1>; - regulator-max-microvolt = <7>; - qcom,init-voltage-corner = <3>; /* SVS SOC */ - }; - pm8841_s4_floor_corner: regulator-s4-floor-corner { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8841_s4_floor_corner"; - qcom,set = <3>; - regulator-min-microvolt = <1>; - regulator-max-microvolt = <7>; - qcom,use-voltage-floor-corner; - qcom,always-send-voltage; - }; - }; - - rpm-regulator-smpa1 { - status = "okay"; - pm8941_s1: regulator-s1 { - regulator-min-microvolt = <1300000>; - regulator-max-microvolt = <1300000>; - qcom,init-voltage = <1300000>; - status = "okay"; - }; - }; - - rpm-regulator-smpa2 { - status = "okay"; - pm8941_s2: regulator-s2 { - regulator-min-microvolt = <2150000>; - regulator-max-microvolt = <2150000>; - qcom,init-voltage = <2150000>; - status = "okay"; - }; - }; - - rpm-regulator-smpa3 { - status = "okay"; - pm8941_s3: regulator-s3 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa1 { - status = "okay"; - pm8941_l1: regulator-l1 { - regulator-min-microvolt = <1225000>; - regulator-max-microvolt = <1225000>; - qcom,init-voltage = <1225000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa2 { - status = "okay"; - pm8941_l2: regulator-l2 { - regulator-min-microvolt = <1200000>; - regulator-max-microvolt = <1200000>; - qcom,init-voltage = <1200000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa3 { - status = "okay"; - pm8941_l3: regulator-l3 { - regulator-min-microvolt = <1225000>; - regulator-max-microvolt = <1225000>; - qcom,init-voltage = <1225000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa4 { - status = "okay"; - pm8941_l4: regulator-l4 { - regulator-min-microvolt = <1225000>; - regulator-max-microvolt = <1225000>; - qcom,init-voltage = <1225000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa5 { - status = "okay"; - pm8941_l5: regulator-l5 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa6 { - status = "okay"; - pm8941_l6: regulator-l6 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa7 { - status = "okay"; - pm8941_l7: regulator-l7 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa8 { - status = "okay"; - pm8941_l8: regulator-l8 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa9 { - status = "okay"; - pm8941_l9: regulator-l9 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <2950000>; - qcom,init-voltage = <2950000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa10 { - status = "okay"; - pm8941_l10: regulator-l10 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <2950000>; - qcom,init-voltage = <2950000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa11 { - status = "okay"; - pm8941_l11: regulator-l11 { - regulator-min-microvolt = <1300000>; - regulator-max-microvolt = <1300000>; - qcom,init-voltage = <1300000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa12 { - status = "okay"; - pm8941_l12: regulator-l12 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - status = "okay"; - }; - pm8941_l12_ao: regulator-l12-ao { - regulator-name = "8941_l12_ao"; - qcom,set = <1>; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - status = "okay"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa13 { - status = "okay"; - pm8941_l13: regulator-l13 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <2950000>; - qcom,init-voltage = <2950000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa14 { - status = "okay"; - pm8941_l14: regulator-l14 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa15 { - status = "okay"; - pm8941_l15: regulator-l15 { - regulator-min-microvolt = <2050000>; - regulator-max-microvolt = <2050000>; - qcom,init-voltage = <2050000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa16 { - status = "okay"; - pm8941_l16: regulator-l16 { - regulator-min-microvolt = <2700000>; - regulator-max-microvolt = <2700000>; - qcom,init-voltage = <2700000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa17 { - status = "okay"; - pm8941_l17: regulator-l17 { - regulator-min-microvolt = <2850000>; - regulator-max-microvolt = <2850000>; - qcom,init-voltage = <2850000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa18 { - status = "okay"; - pm8941_l18: regulator-l18 { - regulator-min-microvolt = <2850000>; - regulator-max-microvolt = <2850000>; - qcom,init-voltage = <2850000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa19 { - status = "okay"; - pm8941_l19: regulator-l19 { - regulator-min-microvolt = <2900000>; - regulator-max-microvolt = <2900000>; - qcom,init-voltage = <2900000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa20 { - status = "okay"; - pm8941_l20: regulator-l20 { - regulator-min-microvolt = <2950000>; - regulator-max-microvolt = <2950000>; - qcom,init-voltage = <2950000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa21 { - status = "okay"; - pm8941_l21: regulator-l21 { - regulator-min-microvolt = <2950000>; - regulator-max-microvolt = <2950000>; - qcom,init-voltage = <2950000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa22 { - status = "okay"; - pm8941_l22: regulator-l22 { - regulator-min-microvolt = <3000000>; - regulator-max-microvolt = <3000000>; - qcom,init-voltage = <3000000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa23 { - status = "okay"; - pm8941_l23: regulator-l23 { - regulator-min-microvolt = <3000000>; - regulator-max-microvolt = <3000000>; - qcom,init-voltage = <3000000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa24 { - status = "okay"; - pm8941_l24: regulator-l24 { - regulator-min-microvolt = <3075000>; - regulator-max-microvolt = <3075000>; - qcom,init-voltage = <3075000>; - status = "okay"; - }; - }; - - rpm-regulator-vsa1 { - status = "okay"; - pm8941_lvs1: regulator-lvs1 { - status = "okay"; - }; - }; - - rpm-regulator-vsa2 { - status = "okay"; - pm8941_lvs2: regulator-lvs2 { - status = "okay"; - }; - }; - - rpm-regulator-vsa3 { - status = "okay"; - pm8941_lvs3: regulator-lvs3 { - status = "okay"; - }; - }; -}; - -&soc { - krait_pdn: krait-pdn@f9011000 { - reg = <0xf9011000 0x1000>, - <0xfc4b80b0 8>; - reg-names = "apcs_gcc", "phase-scaling-efuse"; - compatible = "qcom,krait-pdn"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - qcom,pfm-threshold = <73>; - - krait0_vreg: regulator@f9088000 { - compatible = "qcom,krait-regulator"; - regulator-name = "krait0"; - reg = <0xf9088000 0x1000>, /* APCS_ALIAS0_KPSS_ACS */ - <0xf908a800 0x1000>; /* APCS_ALIAS0_KPSS_MDD */ - reg-names = "acs", "mdd"; - regulator-min-microvolt = <500000>; - regulator-max-microvolt = <1100000>; - qcom,headroom-voltage = <150000>; - qcom,retention-voltage = <675000>; - qcom,ldo-default-voltage = <750000>; - qcom,ldo-threshold-voltage = <850000>; - qcom,ldo-delta-voltage = <50000>; - qcom,cpu-num = <0>; - }; - - krait1_vreg: regulator@f9098000 { - compatible = "qcom,krait-regulator"; - regulator-name = "krait1"; - reg = <0xf9098000 0x1000>, /* APCS_ALIAS1_KPSS_ACS */ - <0xf909a800 0x1000>; /* APCS_ALIAS1_KPSS_MDD */ - reg-names = "acs", "mdd"; - regulator-min-microvolt = <500000>; - regulator-max-microvolt = <1100000>; - qcom,headroom-voltage = <150000>; - qcom,retention-voltage = <675000>; - qcom,ldo-default-voltage = <750000>; - qcom,ldo-threshold-voltage = <850000>; - qcom,ldo-delta-voltage = <50000>; - qcom,cpu-num = <1>; - }; - - krait2_vreg: regulator@f90a8000 { - compatible = "qcom,krait-regulator"; - regulator-name = "krait2"; - reg = <0xf90a8000 0x1000>, /* APCS_ALIAS2_KPSS_ACS */ - <0xf90aa800 0x1000>; /* APCS_ALIAS2_KPSS_MDD */ - reg-names = "acs", "mdd"; - regulator-min-microvolt = <500000>; - regulator-max-microvolt = <1100000>; - qcom,headroom-voltage = <150000>; - qcom,retention-voltage = <675000>; - qcom,ldo-default-voltage = <750000>; - qcom,ldo-threshold-voltage = <850000>; - qcom,ldo-delta-voltage = <50000>; - qcom,cpu-num = <2>; - }; - - krait3_vreg: regulator@f90b8000 { - compatible = "qcom,krait-regulator"; - regulator-name = "krait3"; - reg = <0xf90b8000 0x1000>, /* APCS_ALIAS3_KPSS_ACS */ - <0xf90ba800 0x1000>; /* APCS_ALIAS3_KPSS_MDD */ - reg-names = "acs", "mdd"; - regulator-min-microvolt = <500000>; - regulator-max-microvolt = <1100000>; - qcom,headroom-voltage = <150000>; - qcom,retention-voltage = <675000>; - qcom,ldo-default-voltage = <750000>; - qcom,ldo-threshold-voltage = <850000>; - qcom,ldo-delta-voltage = <50000>; - qcom,cpu-num = <3>; - }; - }; - - spi_eth_vreg: spi_eth_phy_vreg { - compatible = "regulator-fixed"; - regulator-name = "ethernet_phy"; - gpio = <&pm8941_mpps 5 0>; - enable-active-high; - }; - - /* - * vph_pwr_vreg represents the unregulated battery voltage supply - * VPH_PWR that is present whenever the device is powered on. - */ - vph_pwr_vreg: vph_pwr_vreg { - compatible = "regulator-fixed"; - status = "disabled"; - regulator-name = "vph_pwr"; - regulator-always-on; - }; -}; - -&pm8941_chg { - otg-parent-supply = <&pm8941_boost>; -}; - -&pm8941_chg_boost { - regulator-min-microvolt = <5000000>; - regulator-max-microvolt = <5000000>; - regulator-name = "8941_smbb_boost"; -}; - -&pm8941_chg_otg { - regulator-name = "8941_smbb_otg"; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8974-rumi.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8974-rumi.dtsi deleted file mode 100644 index c01a4e509..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8974-rumi.dtsi +++ /dev/null @@ -1,146 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/include/ "msm8974-leds.dtsi" -/include/ "msm8974-camera-sensor-cdp.dtsi" - -&soc { - timer { - clock-frequency = <5000000>; - }; - - serial@f995e000 { - status = "ok"; - }; - - usb@f9a55000 { - status = "disable"; - }; - - qcom,sdcc@f9824000 { - qcom,clk-rates = <400000 19200000>; - }; - - qcom,sdcc@f98a4000 { - qcom,clk-rates = <400000 19200000>; - }; - - qcom,sps@f998000 { - status = "disable"; - }; - - spi@f9924000 { - status = "disable"; - }; - - spi@f9923000 { - compatible = "qcom,spi-qup-v2"; - reg = <0xf9923000 0x1000>; - interrupts = <0 95 0>; - spi-max-frequency = <24000000>; - #address-cells = <1>; - #size-cells = <0>; - gpios = <&msmgpio 3 0>, /* CLK */ - <&msmgpio 1 0>, /* MISO */ - <&msmgpio 0 0>; /* MOSI */ - cs-gpios = <&msmgpio 9 0>; - - ethernet-switch@2 { - compatible = "simtec,ks8851"; - reg = <2>; - interrupt-parent = <&msmgpio>; - interrupts = <90 0>; - spi-max-frequency = <5000000>; - }; - }; - - i2c@f9966000 { - status = "disable"; - }; - - i2c@f9967000 { - cell-index = <0>; - compatible = "qcom,i2c-qup"; - reg = <0Xf9967000 0x1000>; - reg-names = "qup_phys_addr"; - interrupts = <0 105 0>; - interrupt-names = "qup_err_intr"; - qcom,i2c-bus-freq = <100000>; - qcom,i2c-src-freq = <19200000>; - gpios = <&msmgpio 83 0>, /* DAT */ - <&msmgpio 84 0>; /* CLK */ - }; - - slim@fe12f000 { - status = "disable"; - }; - - qcom,mdss_dsi@fd922800 { - status = "disable"; - }; - - qcom,spmi@fc4c0000 { - status = "disable"; - }; - - qcom,ssusb@F9200000 { - status = "disable"; - }; - - qcom,lpass@fe200000 { - status = "disable"; - }; - - qcom,pronto@fb21b000 { - status = "disable"; - }; - - qcom,mss@fc880000 { - status = "disable"; - }; - - qcom,kgsl-3d0@fdb00000 { - status = "disabled"; - }; -}; - -&gdsc_venus { - status = "disabled"; -}; - -&gdsc_mdss { - status = "disabled"; -}; - -&gdsc_jpeg { - status = "disabled"; -}; - -&gdsc_vfe { - status = "disabled"; -}; - -&gdsc_oxili_gx { - status = "disabled"; -}; - -&gdsc_oxili_cx { - status = "disabled"; -}; - -&gdsc_usb_hsic { - status = "disabled"; -}; - -&rpm_bus { - rpm-standalone; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8974-sim.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8974-sim.dtsi deleted file mode 100644 index 24b8d18be..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8974-sim.dtsi +++ /dev/null @@ -1,93 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/include/ "dsi-panel-sim-video.dtsi" -/include/ "msm8974-leds.dtsi" -/include/ "msm8974-camera-sensor-cdp.dtsi" - -&soc { - qcom,mdss_dsi@fd922800 { - qcom,mdss_dsi_sim_video { - status = "ok"; - }; - }; - - serial@f991f000 { - status = "ok"; - }; - - serial@f995e000 { - status = "ok"; - }; -}; - -&jpeg_iommu { - qcom,iommu-ctx@fda6c000 { - interrupts = <0 69 0>; - }; - - qcom,iommu-ctx@fda6d000 { - interrupts = <0 70 0>; - }; - - qcom,iommu-ctx@fda6e000 { - interrupts = <0 71 0>; - }; -}; - -&mdp_iommu { - qcom,iommu-ctx@fd930000 { - interrupts = <0 46 0>; - }; - - qcom,iommu-ctx@fd931000 { - interrupts = <0 47 0>; - }; -}; - -&venus_iommu { - qcom,iommu-ctx@fdc8c000 { - interrupts = <0 43 0>; - }; - - qcom,iommu-ctx@fdc8d000 { - interrupts = <0 42 0>; - }; - - qcom,iommu-ctx@fdc8e000 { - interrupts = <0 41 0>; - }; -}; - -&kgsl_iommu { - qcom,iommu-ctx@fdb18000 { - interrupts = <0 240 0>; - }; - - qcom,iommu-ctx@fdb19000 { - interrupts = <0 241 0>; - }; -}; - -&vfe_iommu { - qcom,iommu-ctx@fda4c000 { - interrupts = <0 64 0>; - }; - - qcom,iommu-ctx@fda4d000 { - interrupts = <0 65 0>; - }; - - qcom,iommu-ctx@fda4e000 { - interrupts = <0 66 0>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8974-smp2p.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8974-smp2p.dtsi deleted file mode 100644 index 3921a686a..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8974-smp2p.dtsi +++ /dev/null @@ -1,225 +0,0 @@ -/* Copyright (c) 2013, 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. - */ -&soc { - qcom,smp2p-modem { - compatible = "qcom,smp2p"; - reg = <0xf9011008 0x4>; - qcom,remote-pid = <1>; - qcom,irq-bitmask = <0x4000>; - interrupts = <0 27 1>; - }; - - qcom,smp2p-adsp { - compatible = "qcom,smp2p"; - reg = <0xf9011008 0x4>; - qcom,remote-pid = <2>; - qcom,irq-bitmask = <0x400>; - interrupts = <0 158 1>; - }; - - qcom,smp2p-wcnss { - compatible = "qcom,smp2p"; - reg = <0xf9011008 0x4>; - qcom,remote-pid = <4>; - qcom,irq-bitmask = <0x40000>; - interrupts = <0 143 1>; - }; - - smp2pgpio_smp2p_7_in: qcom,smp2pgpio-smp2p-7-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <7>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_7_in { - compatible = "qcom,smp2pgpio_test_smp2p_7_in"; - gpios = <&smp2pgpio_smp2p_7_in 0 0>; - }; - - smp2pgpio_smp2p_7_out: qcom,smp2pgpio-smp2p-7-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <7>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_7_out { - compatible = "qcom,smp2pgpio_test_smp2p_7_out"; - gpios = <&smp2pgpio_smp2p_7_out 0 0>; - }; - - smp2pgpio_smp2p_1_in: qcom,smp2pgpio-smp2p-1-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <1>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_1_in { - compatible = "qcom,smp2pgpio_test_smp2p_1_in"; - gpios = <&smp2pgpio_smp2p_1_in 0 0>; - }; - - smp2pgpio_smp2p_1_out: qcom,smp2pgpio-smp2p-1-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <1>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_1_out { - compatible = "qcom,smp2pgpio_test_smp2p_1_out"; - gpios = <&smp2pgpio_smp2p_1_out 0 0>; - }; - - smp2pgpio_ssr_smp2p_1_in: qcom,smp2pgpio-ssr-smp2p-1-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "slave-kernel"; - qcom,remote-pid = <1>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - smp2pgpio_ssr_smp2p_1_out: qcom,smp2pgpio-ssr-smp2p-1-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "master-kernel"; - qcom,remote-pid = <1>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - smp2pgpio_smp2p_2_in: qcom,smp2pgpio-smp2p-2-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <2>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_2_in { - compatible = "qcom,smp2pgpio_test_smp2p_2_in"; - gpios = <&smp2pgpio_smp2p_2_in 0 0>; - }; - - smp2pgpio_smp2p_2_out: qcom,smp2pgpio-smp2p-2-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <2>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_2_out { - compatible = "qcom,smp2pgpio_test_smp2p_2_out"; - gpios = <&smp2pgpio_smp2p_2_out 0 0>; - }; - - /* SMP2P SSR Driver for inbound entry from lpass. */ - smp2pgpio_ssr_smp2p_2_in: qcom,smp2pgpio-ssr-smp2p-2-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "slave-kernel"; - qcom,remote-pid = <2>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - /* SMP2P SSR Driver for outbound entry to lpass */ - smp2pgpio_ssr_smp2p_2_out: qcom,smp2pgpio-ssr-smp2p-2-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "master-kernel"; - qcom,remote-pid = <2>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - smp2pgpio_smp2p_4_in: qcom,smp2pgpio-smp2p-4-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <4>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_4_in { - compatible = "qcom,smp2pgpio_test_smp2p_4_in"; - gpios = <&smp2pgpio_smp2p_4_in 0 0>; - }; - - smp2pgpio_smp2p_4_out: qcom,smp2pgpio-smp2p-4-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <4>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - smp2pgpio_ssr_smp2p_4_in: qcom,smp2pgpio-ssr-smp2p-4-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "slave-kernel"; - qcom,remote-pid = <4>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - smp2pgpio_ssr_smp2p_4_out: qcom,smp2pgpio-ssr-smp2p-4-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "master-kernel"; - qcom,remote-pid = <4>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_4_out { - compatible = "qcom,smp2pgpio_test_smp2p_4_out"; - gpios = <&smp2pgpio_smp2p_4_out 0 0>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8974-v1-cdp.dts b/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8974-v1-cdp.dts deleted file mode 100644 index c3fd98d2b..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8974-v1-cdp.dts +++ /dev/null @@ -1,33 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/dts-v1/; - -/include/ "msm8974-v1.dtsi" -/include/ "msm8974-cdp.dtsi" - -/ { - model = "Qualcomm MSM 8974 CDP"; - compatible = "qcom,msm8974-cdp", "qcom,msm8974", "qcom,cdp"; - qcom,msm-id = <126 1 0>, - <185 1 0>, - <186 1 0>; -}; - -&ehci { - status = "ok"; - vbus-supply = <&usb2_otg_sw>; -}; - -&hsic_host { - qcom,phy-sof-workaround; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8974-v1-fluid.dts b/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8974-v1-fluid.dts deleted file mode 100644 index 2b96ecbd2..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8974-v1-fluid.dts +++ /dev/null @@ -1,33 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/dts-v1/; - -/include/ "msm8974-v1.dtsi" -/include/ "msm8974-fluid.dtsi" - -/ { - model = "Qualcomm MSM 8974 FLUID"; - compatible = "qcom,msm8974-fluid", "qcom,msm8974", "qcom,fluid"; - qcom,msm-id = <126 3 0>, - <185 3 0>, - <186 3 0>; - -}; - -&pm8941_chg { - qcom,charging-disabled; -}; - -&sdcc1 { - qcom,bus-width = <4>; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8974-v1-iommu-domains.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8974-v1-iommu-domains.dtsi deleted file mode 100644 index 25fca2a54..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8974-v1-iommu-domains.dtsi +++ /dev/null @@ -1,31 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -&soc { - qcom,iommu-domains { - compatible = "qcom,iommu-domains"; - - venus_domain_ns: qcom,iommu-domain1 { - label = "venus_ns"; - qcom,iommu-contexts = <&venus_ns>; - qcom,virtual-addr-pool = <0x40000000 0x3f000000 - 0x7f000000 0x1000000>; - }; - - venus_domain_cp: qcom,iommu-domain2 { - label = "venus_cp"; - qcom,iommu-contexts = <&venus_cp>; - qcom,virtual-addr-pool = <0x1000000 0x3f000000>; - qcom,secure-domain; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8974-v1-iommu.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8974-v1-iommu.dtsi deleted file mode 100644 index 56369dce3..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8974-v1-iommu.dtsi +++ /dev/null @@ -1,40 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/include/ "msm-iommu-v1.dtsi" - -&jpeg_iommu { - status = "ok"; - vdd-supply = <&gdsc_jpeg>; -}; - -&mdp_iommu { - status = "ok"; - vdd-supply = <&gdsc_mdss>; -}; - -&venus_iommu { - status = "ok"; - vdd-supply = <&gdsc_venus>; -}; - -&kgsl_iommu { - status = "ok"; - qcom,needs-alt-core-clk; - vdd-supply = <&gdsc_oxili_cx>; - qcom,alt-vdd-supply = <&gdsc_oxili_gx>; -}; - -&vfe_iommu { - status = "ok"; - vdd-supply = <&gdsc_vfe>; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8974-v1-liquid.dts b/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8974-v1-liquid.dts deleted file mode 100644 index 29d6150ba..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8974-v1-liquid.dts +++ /dev/null @@ -1,24 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/dts-v1/; - -/include/ "msm8974-v1.dtsi" -/include/ "msm8974-liquid.dtsi" - -/ { - model = "Qualcomm MSM 8974 LIQUID"; - compatible = "qcom,msm8974-liquid", "qcom,msm8974", "qcom,liquid"; - qcom,msm-id = <126 9 0>, - <185 9 0>, - <186 9 0>; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8974-v1-mtp.dts b/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8974-v1-mtp.dts deleted file mode 100644 index 8cbcca05a..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8974-v1-mtp.dts +++ /dev/null @@ -1,28 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/dts-v1/; - -/include/ "msm8974-v1.dtsi" -/include/ "msm8974-mtp.dtsi" - -/ { - model = "Qualcomm MSM 8974 MTP"; - compatible = "qcom,msm8974-mtp", "qcom,msm8974", "qcom,mtp"; - qcom,msm-id = <126 8 0>, - <185 8 0>, - <186 8 0>; -}; - -&pm8941_chg { - qcom,charging-disabled; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8974-v1-pm.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8974-v1-pm.dtsi deleted file mode 100644 index 56a819ecc..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8974-v1-pm.dtsi +++ /dev/null @@ -1,456 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/include/ "skeleton.dtsi" - -&soc { - qcom,spm@f9089000 { - compatible = "qcom,spm-v2"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xf9089000 0x1000>; - qcom,core-id = <0>; - qcom,saw2-ver-reg = <0xfd0>; - qcom,saw2-cfg = <0x01>; - qcom,saw2-avs-ctl = <0>; - qcom,saw2-avs-hysteresis = <0>; - qcom,saw2-avs-limit = <0>; - qcom,saw2-avs-dly= <0>; - qcom,saw2-spm-dly= <0x20000400>; - qcom,saw2-spm-ctl = <0x1>; - qcom,saw2-spm-cmd-wfi = [03 0b 0f]; - qcom,saw2-spm-cmd-ret = [42 1b 00 d0 c0 a0 90 03 d0 98 a2 c0 - 0b 00 42 1b 0f]; - qcom,saw2-spm-cmd-spc = [00 20 80 10 90 a0 b0 03 3b 98 a2 b0 82 - 10 0b 30 06 26 30 0f]; - qcom,saw2-spm-cmd-pc = [00 20 80 10 90 a0 b0 07 3b 98 a2 b0 82 - 10 0b 30 06 26 30 0f]; - }; - - qcom,spm@f9099000 { - compatible = "qcom,spm-v2"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xf9099000 0x1000>; - qcom,core-id = <1>; - qcom,saw2-ver-reg = <0xfd0>; - qcom,saw2-cfg = <0x01>; - qcom,saw2-avs-ctl = <0>; - qcom,saw2-avs-hysteresis = <0>; - qcom,saw2-avs-limit = <0>; - qcom,saw2-avs-dly= <0>; - qcom,saw2-spm-dly= <0x20000400>; - qcom,saw2-spm-ctl = <0x1>; - qcom,saw2-spm-cmd-wfi = [03 0b 0f]; - qcom,saw2-spm-cmd-ret = [42 1b 00 d0 c0 a0 90 03 d0 98 a2 c0 - 0b 00 42 1b 0f]; - qcom,saw2-spm-cmd-spc = [00 20 80 10 90 a0 b0 03 3b 98 a2 b0 82 - 10 0b 30 06 26 30 0f]; - qcom,saw2-spm-cmd-pc = [00 20 80 10 90 a0 b0 07 3b 98 a2 b0 82 - 10 0b 30 06 26 30 0f]; - }; - - qcom,spm@f90a9000 { - compatible = "qcom,spm-v2"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xf90a9000 0x1000>; - qcom,core-id = <2>; - qcom,saw2-ver-reg = <0xfd0>; - qcom,saw2-cfg = <0x01>; - qcom,saw2-avs-ctl = <0>; - qcom,saw2-avs-hysteresis = <0>; - qcom,saw2-avs-limit = <0>; - qcom,saw2-avs-dly= <0>; - qcom,saw2-spm-dly= <0x20000400>; - qcom,saw2-spm-ctl = <0x1>; - qcom,saw2-spm-cmd-wfi = [03 0b 0f]; - qcom,saw2-spm-cmd-ret = [42 1b 00 d0 c0 a0 90 03 d0 98 a2 c0 - 0b 00 42 1b 0f]; - qcom,saw2-spm-cmd-spc = [00 20 80 10 90 a0 b0 03 3b 98 a2 b0 82 - 10 0b 30 06 26 30 0f]; - qcom,saw2-spm-cmd-pc = [00 20 80 10 90 a0 b0 07 3b 98 a2 b0 82 - 10 0b 30 06 26 30 0f]; - }; - - qcom,spm@f90b9000 { - compatible = "qcom,spm-v2"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xf90b9000 0x1000>; - qcom,core-id = <3>; - qcom,saw2-ver-reg = <0xfd0>; - qcom,saw2-cfg = <0x01>; - qcom,saw2-avs-ctl = <0>; - qcom,saw2-avs-hysteresis = <0>; - qcom,saw2-avs-limit = <0>; - qcom,saw2-avs-dly= <0>; - qcom,saw2-spm-dly= <0x20000400>; - qcom,saw2-spm-ctl = <0x1>; - qcom,saw2-spm-cmd-wfi = [03 0b 0f]; - qcom,saw2-spm-cmd-ret = [42 1b 00 d0 c0 a0 90 03 d0 98 a2 c0 - 0b 00 42 1b 0f]; - qcom,saw2-spm-cmd-spc = [00 20 80 10 90 a0 b0 03 3b 98 a2 b0 82 - 10 0b 30 06 26 30 0f]; - qcom,saw2-spm-cmd-pc = [00 20 80 10 90 a0 b0 07 3b 98 a2 b0 82 - 10 0b 30 06 26 30 0f]; - }; - - qcom,spm@f9012000 { - compatible = "qcom,spm-v2"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xf9012000 0x1000>; - qcom,core-id = <0xffff>; /* L2/APCS SAW */ - qcom,saw2-ver-reg = <0xfd0>; - qcom,saw2-cfg = <0x14>; - qcom,saw2-avs-ctl = <0>; - qcom,saw2-avs-hysteresis = <0>; - qcom,saw2-avs-limit = <0>; - qcom,saw2-avs-dly= <0>; - qcom,saw2-spm-dly= <0x20000400>; - qcom,saw2-spm-ctl = <0x1>; - qcom,saw2-pmic-data0 = <0x02030080>; - qcom,saw2-pmic-data1 = <0x00030000>; - qcom,vctl-timeout-us = <50>; - qcom,vctl-port = <0x0>; - qcom,phase-port = <0x1>; - qcom,pfm-port = <0x2>; - qcom,saw2-spm-cmd-ret = [1f 00 20 03 22 00 0f]; - qcom,saw2-spm-cmd-gdhs = [00 20 32 42 07 44 22 50 02 32 50 0f]; - qcom,saw2-spm-cmd-pc = [00 10 32 b0 11 42 07 01 b0 12 44 - 50 02 32 50 0f]; - }; - - qcom,lpm-resources { - compatible = "qcom,lpm-resources"; - #address-cells = <1>; - #size-cells = <0>; - - qcom,lpm-resources@0 { - reg = <0x0>; - qcom,name = "vdd-dig"; - qcom,type = <0x62706d73>; /* "smpb" */ - qcom,id = <0x02>; - qcom,key = <0x6e726f63>; /* "corn" */ - qcom,init-value = <6>; /* Super Turbo */ - }; - - qcom,lpm-resources@1 { - reg = <0x1>; - qcom,name = "vdd-mem"; - qcom,type = <0x62706d73>; /* "smpb" */ - qcom,id = <0x01>; - qcom,key = <0x7675>; /* "uv" */ - qcom,init-value = <1050000>; /* Super Turbo */ - }; - - qcom,lpm-resources@2 { - reg = <0x2>; - qcom,name = "pxo"; - qcom,type = <0x306b6c63>; /* "clk0" */ - qcom,id = <0x00>; - qcom,key = <0x62616e45>; /* "Enab" */ - qcom,init-value = "xo_on"; - }; - - qcom,lpm-resources@3 { - reg = <0x3>; - qcom,name = "l2"; - qcom,local-resource-type; - qcom,init-value = "l2_cache_retention"; - }; - }; - - qcom,lpm-levels { - compatible = "qcom,lpm-levels"; - #address-cells = <1>; - #size-cells = <0>; - - qcom,use-qtimer; - - qcom,lpm-level@0 { - reg = <0x0>; - qcom,mode = "wfi"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_active"; - qcom,vdd-mem-upper-bound = <1050000>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <950000>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <1>; - qcom,ss-power = <784>; - qcom,energy-overhead = <190000>; - qcom,time-overhead = <100>; - }; - - qcom,lpm-level@1 { - reg = <0x1>; - qcom,mode = "retention"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_active"; - qcom,vdd-mem-upper-bound = <1050000>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <950000>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <75>; - qcom,ss-power = <735>; - qcom,energy-overhead = <77341>; - qcom,time-overhead = <105>; - }; - - - qcom,lpm-level@2 { - reg = <0x2>; - qcom,mode = "standalone_pc"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_active"; - qcom,vdd-mem-upper-bound = <1050000>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <950000>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <95>; - qcom,ss-power = <725>; - qcom,energy-overhead = <99500>; - qcom,time-overhead = <130>; - }; - - qcom,lpm-level@3 { - reg = <0x3>; - qcom,mode = "pc"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_gdhs"; - qcom,vdd-mem-upper-bound = <1050000>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <950000>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <2000>; - qcom,ss-power = <138>; - qcom,energy-overhead = <1208400>; - qcom,time-overhead = <3200>; - }; - - qcom,lpm-level@4 { - reg = <0x4>; - qcom,mode = "pc"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_pc"; - qcom,vdd-mem-upper-bound = <1050000>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <950000>; /* SVS SOC */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <3>; /* SVS SOC */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <3000>; - qcom,ss-power = <110>; - qcom,energy-overhead = <1250300>; - qcom,time-overhead = <3500>; - }; - - qcom,lpm-level@5 { - reg = <0x5>; - qcom,mode = "pc"; - qcom,xo = "xo_off"; - qcom,l2 = "l2_cache_gdhs"; - qcom,vdd-mem-upper-bound = <1050000>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <950000>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,latency-us = <3000>; - qcom,ss-power = <68>; - qcom,energy-overhead = <1350200>; - qcom,time-overhead = <4000>; - }; - - qcom,lpm-level@6 { - reg = <0x6>; - qcom,mode = "pc"; - qcom,xo = "xo_off"; - qcom,l2 = "l2_cache_pc"; - qcom,vdd-mem-upper-bound = <1050000>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <950000>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,latency-us = <10300>; - qcom,ss-power = <63>; - qcom,energy-overhead = <2128000>; - qcom,time-overhead = <18200>; - }; - - qcom,lpm-level@7 { - reg = <0x7>; - qcom,mode= "pc"; - qcom,xo = "xo_off"; - qcom,l2 = "l2_cache_pc"; - qcom,vdd-mem-upper-bound = <950000>; /* NORMAL */ - qcom,vdd-mem-lower-bound = <950000>; /* SVS SOC */ - qcom,vdd-dig-upper-bound = <4>; /* NORMAL */ - qcom,vdd-dig-lower-bound = <3>; /* SVS SOC */ - qcom,latency-us = <18000>; - qcom,ss-power = <10>; - qcom,energy-overhead = <3202600>; - qcom,time-overhead = <27000>; - }; - - qcom,lpm-level@8 { - reg = <0x8>; - qcom,mode= "pc"; - qcom,xo = "xo_off"; - qcom,l2 = "l2_cache_pc"; - qcom,vdd-mem-upper-bound = <950000>; /* SVS SOC */ - qcom,vdd-mem-lower-bound = <675000>; /* RETENTION */ - qcom,vdd-dig-upper-bound = <3>; /* SVS SOC */ - qcom,vdd-dig-lower-bound = <1>; /* RETENTION */ - qcom,latency-us = <20000>; - qcom,ss-power = <2>; - qcom,energy-overhead = <4252000>; - qcom,time-overhead = <32000>; - }; - }; - - qcom,pm-boot { - compatible = "qcom,pm-boot"; - qcom,mode = "tz"; - }; - - qcom,mpm@fc4281d0 { - compatible = "qcom,mpm-v2"; - reg = <0xfc4281d0 0x1000>, /* MSM_RPM_MPM_BASE 4K */ - <0xf9011008 0x4>; /* MSM_APCS_GCC_BASE 4K */ - reg-names = "vmpm", "ipc"; - interrupts = <0 171 1>; - - qcom,ipc-bit-offset = <1>; - - qcom,gic-parent = <&intc>; - qcom,gic-map = <2 216>, /* tsens_upper_lower_int */ - <47 165>, /* usb30_hs_phy_irq */ - <50 172>, /* usb1_hs_async_wakeup_irq */ - <53 104>, /* mdss_irq */ - <62 222>, /* ee0_krait_hlos_spmi_periph_irq */ - <0xff 57>, /* mss_to_apps_irq(0) */ - <0xff 58>, /* mss_to_apps_irq(1) */ - <0xff 59>, /* mss_to_apps_irq(2) */ - <0xff 60>, /* mss_to_apps_irq(3) */ - <0xff 173>, /* o_wcss_apss_smd_hi */ - <0xff 174>, /* o_wcss_apss_smd_med */ - <0xff 175>, /* o_wcss_apss_smd_low */ - <0xff 176>, /* o_wcss_apss_smsm_irq */ - <0xff 177>, /* o_wcss_apss_wlan_data_xfer_done */ - <0xff 178>, /* o_wcss_apss_wlan_rx_data_avail */ - <0xff 179>, /* o_wcss_apss_asic_intr - - <0xff 188>, /* lpass_irq_out_apcs(0) */ - <0xff 189>, /* lpass_irq_out_apcs(1) */ - <0xff 190>, /* lpass_irq_out_apcs(2) */ - <0xff 191>, /* lpass_irq_out_apcs(3) */ - <0xff 192>, /* lpass_irq_out_apcs(4) */ - <0xff 193>, /* lpass_irq_out_apcs(5) */ - <0xff 194>, /* lpass_irq_out_apcs(6) */ - <0xff 195>, /* lpass_irq_out_apcs(7) */ - <0xff 196>, /* lpass_irq_out_apcs(8) */ - <0xff 197>, /* lpass_irq_out_apcs(9) */ - <0xff 200>, /* rpm_ipc(4) */ - <0xff 201>, /* rpm_ipc(5) */ - <0xff 202>, /* rpm_ipc(6) */ - <0xff 203>, /* rpm_ipc(7) */ - <0xff 204>, /* rpm_ipc(24) */ - <0xff 205>, /* rpm_ipc(25) */ - <0xff 206>, /* rpm_ipc(26) */ - <0xff 207>, /* rpm_ipc(27) */ - <0xff 240>; /* summary_irq_kpss */ - - qcom,gpio-parent = <&msmgpio>; - qcom,gpio-map = <3 102>, - <4 1 >, - <5 5 >, - <6 9 >, - <7 18>, - <8 20>, - <9 24>, - <10 27>, - <11 28>, - <12 34>, - <13 35>, - <14 37>, - <15 42>, - <16 44>, - <17 46>, - <18 50>, - <19 54>, - <20 59>, - <21 61>, - <22 62>, - <23 64>, - <24 65>, - <25 66>, - <26 67>, - <27 68>, - <28 71>, - <29 72>, - <30 73>, - <31 74>, - <32 75>, - <33 77>, - <34 79>, - <35 80>, - <36 82>, - <37 86>, - <38 92>, - <39 93>, - <40 95>, - <41 144>; - }; - - qcom,pm-8x60@fe805664 { - compatible = "qcom,pm-8x60"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - reg = <0xfe805664 0x40>; - qcom,pc-mode = "tz_l2_int"; - qcom,use-sync-timer; - }; - - qcom,cpu-sleep-status@f9088008 { - compatible = "qcom,cpu-sleep-status"; - reg = <0xf9088008 0x4>; - qcom,cpu-alias-addr = <0x10000>; - qcom,sleep-status-mask= <0x80000>; - }; - - qcom,rpm-log@fc19dc00 { - compatible = "qcom,rpm-log"; - reg = <0xfc19dc00 0x4000>; - qcom,rpm-addr-phys = <0xfc000000>; - qcom,offset-version = <4>; - qcom,offset-page-buffer-addr = <36>; - qcom,offset-log-len = <40>; - qcom,offset-log-len-mask = <44>; - qcom,offset-page-indices = <56>; - }; - - qcom,rpm-stats@fc19dba0 { - compatible = "qcom,rpm-stats"; - reg = <0xfc19dba0 0x1000>; - reg-names = "phys_addr_base"; - qcom,sleep-stats-version = <2>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8974-v1-rumi.dts b/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8974-v1-rumi.dts deleted file mode 100644 index 85aab17b1..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8974-v1-rumi.dts +++ /dev/null @@ -1,24 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/dts-v1/; - -/include/ "msm8974-v1.dtsi" -/include/ "msm8974-rumi.dtsi" - -/ { - model = "Qualcomm MSM 8974 RUMI"; - compatible = "qcom,msm8974-rumi", "qcom,msm8974", "qcom,rumi"; - qcom,msm-id = <126 15 0>, - <185 15 0>, - <186 15 0>; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8974-v1-sim.dts b/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8974-v1-sim.dts deleted file mode 100644 index fc9858de7..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8974-v1-sim.dts +++ /dev/null @@ -1,24 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/dts-v1/; - -/include/ "msm8974-v1.dtsi" -/include/ "msm8974-sim.dtsi" - -/ { - model = "Qualcomm MSM 8974 Simulator"; - compatible = "qcom,msm8974-sim", "qcom,msm8974", "qcom,sim"; - qcom,msm-id = <126 16 0>, - <185 16 0>, - <186 16 0>; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8974-v1.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8974-v1.dtsi deleted file mode 100644 index caec2dc1b..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8974-v1.dtsi +++ /dev/null @@ -1,134 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/* - * As a general rule, only version-specific property overrides should be placed - * inside this file. However, device definitions should be placed inside the - * msm8974.dtsi file. - */ - -/include/ "msm8974.dtsi" -/include/ "msm8974-v1-iommu.dtsi" -/include/ "msm8974-v1-iommu-domains.dtsi" -/include/ "msm8974-v1-pm.dtsi" - -&soc { - android_usb@fc42b0c8 { - compatible = "qcom,android-usb"; - reg = <0xfc42b0c8 0xc8>; - qcom,android-usb-swfi-latency = <1>; - }; - - qcom,msm-imem@fc42b000 { - compatible = "qcom,msm-imem"; - reg = <0xfc42b000 0x1000>; /* Address and size of IMEM */ - }; -}; - -&tsens { - qcom,calibration-less-mode; -}; - -/* I2C clock frequency overrides */ -&i2c_0 { - qcom,i2c-src-freq = <19200000>; -}; - -&i2c_2 { - qcom,i2c-src-freq = <19200000>; -}; - -/* CoreSight */ -&tmc_etr { - qcom,reset-flush-race; -}; - -&stm { - qcom,write-64bit; -}; - -&mdss_mdp { - qcom,mdss-pingpong-off = <0x00021B00 0x00021C00 0x00021D00>; -}; - -&msm_vidc { - qcom,vidc-cp-map = <0x1000000 0x3f000000>; - qcom,vidc-ns-map = <0x40000000 0x40000000>; - qcom,load-freq-tbl = <979200 410000000>, - <783360 410000000>, - <489600 266670000>, - <244800 133330000>; - qcom,reg-presets = <0x80004 0x1>, - <0x80178 0x00001FFF>, - <0x8017c 0x1FFF1FFF>, - <0x800b0 0x10101001>, - <0x800b4 0x10101010>, - <0x800b8 0x10101010>, - <0x800bc 0x00000010>, - <0x800c0 0x1010100f>, - <0x800c4 0x10101010>, - <0x800c8 0x10101010>, - <0x800cc 0x00000010>, - <0x800d0 0x00001010>, - <0x800d4 0x00001010>, - <0x800f0 0x00000030>, - <0x800d8 0x00000707>, - <0x800dc 0x00000707>, - <0x80124 0x00000001>, - <0xE0020 0x5555556>, - <0xE0024 0x0>; - qcom,bus-ports = <1>; - qcom,enc-ocmem-ab-ib = <0 0>, - <138200 1222000>, - <414700 1222000>, - <940000 2444000>, - <1880000 2444000>, - <3008000 3910400>, - <3760000 4888000>; - qcom,dec-ocmem-ab-ib = <0 0>, - <176900 1556640>, - <456200 1556640>, - <864800 1556640>, - <1729600 3113280>, - <2767360 4981248>, - <3459200 6226560>; - qcom,enc-ddr-ab-ib = <0 0>, - <60000 664950>, - <181000 664950>, - <403000 664950>, - <806000 1329900>, - <1289600 2127840>, - <161200 6400000>; - qcom,dec-ddr-ab-ib = <0 0>, - <110000 909000>, - <268000 909000>, - <505000 909000>, - <1010000 1818000>, - <1616000 2908800>, - <2020000 6400000>; - qcom,iommu-groups = <&venus_domain_ns &venus_domain_cp>; - qcom,iommu-group-buffer-types = <0xfff 0x1ff>; - qcom,buffer-type-tz-usage-table = <0x1 0x1>, - <0x1fe 0x2>; -}; - -&sfpb_spinlock { - status = "disable"; -}; - -&ldrex_spinlock { - status = "ok"; -}; - -&usb_otg { - qcom,hsusb-otg-pnoc-errata-fix; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8974-v2-cdp.dts b/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8974-v2-cdp.dts deleted file mode 100644 index 85d478b73..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8974-v2-cdp.dts +++ /dev/null @@ -1,36 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; - -/include/ "msm8974-v2.dtsi" -/include/ "msm8974-cdp.dtsi" - -/ { - model = "Qualcomm MSM 8974v2 CDP"; - compatible = "qcom,msm8974-cdp", "qcom,msm8974", "qcom,cdp"; - qcom,msm-id = <126 1 0x20000>, - <185 1 0x20000>, - <186 1 0x20000>; -}; - -&usb3 { - interrupt-parent = <&usb3>; - interrupts = <0 1>; - #interrupt-cells = <1>; - interrupt-map-mask = <0x0 0xffffffff>; - interrupt-map = <0x0 0 &intc 0 133 0 - 0x0 1 &spmi_bus 0x0 0x0 0x9 0x0>; - interrupt-names = "hs_phy_irq", "pmic_id_irq"; - - qcom,misc-ref = <&pm8941_misc>; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8974-v2-fluid.dts b/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8974-v2-fluid.dts deleted file mode 100644 index d83d13048..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8974-v2-fluid.dts +++ /dev/null @@ -1,36 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; - -/include/ "msm8974-v2.dtsi" -/include/ "msm8974-fluid.dtsi" - -/ { - model = "Qualcomm MSM 8974v2 FLUID"; - compatible = "qcom,msm8974-fluid", "qcom,msm8974", "qcom,fluid"; - qcom,msm-id = <126 3 0x20000>, - <185 3 0x20000>, - <186 3 0x20000>; -}; - -&usb3 { - interrupt-parent = <&usb3>; - interrupts = <0 1>; - #interrupt-cells = <1>; - interrupt-map-mask = <0x0 0xffffffff>; - interrupt-map = <0x0 0 &intc 0 133 0 - 0x0 1 &spmi_bus 0x0 0x0 0x9 0x0>; - interrupt-names = "hs_phy_irq", "pmic_id_irq"; - - qcom,misc-ref = <&pm8941_misc>; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8974-v2-iommu-domains.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8974-v2-iommu-domains.dtsi deleted file mode 100644 index 01c94d0ec..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8974-v2-iommu-domains.dtsi +++ /dev/null @@ -1,45 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -&soc { - qcom,iommu-domains { - compatible = "qcom,iommu-domains"; - - venus_domain_ns: qcom,iommu-domain1 { - label = "venus_ns"; - qcom,iommu-contexts = <&venus_ns>; - qcom,virtual-addr-pool = <0x5dc00000 0x7f000000 - 0xdcc00000 0x1000000>; - }; - - venus_domain_sec_bitstream: qcom,iommu-domain2 { - label = "venus_sec_bitstream"; - qcom,iommu-contexts = <&venus_sec_bitstream>; - qcom,virtual-addr-pool = <0x4b000000 0x12c00000>; - qcom,secure-domain; - }; - - venus_domain_sec_pixel: qcom,iommu-domain3 { - label = "venus_sec_pixel"; - qcom,iommu-contexts = <&venus_sec_pixel>; - qcom,virtual-addr-pool = <0x25800000 0x25800000>; - qcom,secure-domain; - }; - - venus_domain_sec_non_pixel: qcom,iommu-domain4 { - label = "venus_sec_non_pixel"; - qcom,iommu-contexts = <&venus_sec_non_pixel>; - qcom,virtual-addr-pool = <0x1000000 0x24800000>; - qcom,secure-domain; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8974-v2-iommu.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8974-v2-iommu.dtsi deleted file mode 100644 index 03f7e807e..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8974-v2-iommu.dtsi +++ /dev/null @@ -1,256 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/include/ "msm-iommu-v1.dtsi" - -&venus_iommu { - status = "ok"; - vdd-supply = <&gdsc_venus>; - qcom,iommu-enable-halt; - - qcom,iommu-bfb-regs = <0x204c - 0x2050 - 0x2514 - 0x2540 - 0x256c - 0x20ac - 0x215c - 0x220c - 0x2314 - 0x2394 - 0x2414 - 0x2008 - 0x200c - 0x2010 - 0x2014 - 0x2018 - 0x201c - 0x2020 - 0x2024 - 0x2028 - 0x202c - 0x2030 - 0x2034 - 0x2038>; - - qcom,iommu-bfb-data = <0xFFFFFFFF - 0xFFFFFFFF - 0x00000004 - 0x00000008 - 0x00000000 - 0x00013205 - 0x00004000 - 0x00014020 - 0x0 - 0x94 - 0x114 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0>; - - venus_ns: qcom,iommu-ctx@fdc8c000 { - qcom,iommu-ctx-sids = <0 1 2 3 4 5 7>; - }; - - venus_sec_bitstream: qcom,iommu-ctx@fdc8d000 { - qcom,iommu-ctx-sids = <0x80 0x81 0x82 0x83 0x84>; - label = "venus_sec_bitstream"; - }; - - venus_sec_pixel: qcom,iommu-ctx@fdc8f000 { - compatible = "qcom,msm-smmu-v1-ctx"; - reg = <0xfdc8f000 0x1000>; - interrupts = <0 42 0>, <0 43 0>; - qcom,iommu-ctx-sids = <0x85>; - label = "venus_sec_pixel"; - qcom,secure-context; - }; - - venus_sec_non_pixel: qcom,iommu-ctx@fdc90000 { - compatible = "qcom,msm-smmu-v1-ctx"; - reg = <0xfdc90000 0x1000>; - interrupts = <0 42 0>, <0 43 0>; - qcom,iommu-ctx-sids = <0x87 0xA0>; - label = "venus_sec_non_pixel"; - qcom,secure-context; - }; -}; - -&jpeg_iommu { - status = "ok"; - vdd-supply = <&gdsc_jpeg>; - qcom,iommu-enable-halt; - - qcom,iommu-bfb-regs = <0x204c - 0x2050 - 0x2514 - 0x2540 - 0x256c - 0x2314 - 0x2394 - 0x2414 - 0x20ac - 0x215c - 0x220c - 0x2008 - 0x200c - 0x2010 - 0x2014>; - - qcom,iommu-bfb-data = <0x3FFF - 0x00000000 - 0x4 - 0x4 - 0x0 - 0x0 - 0x10 - 0x50 - 0x0 - 0x00002804 - 0x00009614 - 0x0 - 0x0 - 0x0 - 0x0>; -}; - -&mdp_iommu { - status = "ok"; - vdd-supply = <&gdsc_mdss>; - qcom,iommu-enable-halt; - - qcom,iommu-bfb-regs = <0x204c - 0x2050 - 0x2514 - 0x2540 - 0x256c - 0x20ac - 0x215c - 0x220c - 0x2314 - 0x2394 - 0x2414 - 0x2008 - 0x200c - 0x2010 - 0x2014 - 0x2018 - 0x201c - 0x2020>; - - qcom,iommu-bfb-data = <0xFFFFF - 0x00000000 - 0x00000004 - 0x00000010 - 0x00000000 - 0x00006800 - 0x00006221 - 0x00016231 - 0x0 - 0x34 - 0x74 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0>; -}; - -&kgsl_iommu { - status = "ok"; - vdd-supply = <&gdsc_oxili_cx>; - qcom,alt-vdd-supply = <&gdsc_oxili_gx>; - qcom,iommu-enable-halt; - qcom,needs-alt-core-clk; - - qcom,iommu-bfb-regs = <0x204c - 0x2050 - 0x2514 - 0x2540 - 0x256c - 0x20ac - 0x215c - 0x220c - 0x2314 - 0x2394 - 0x2414 - 0x2008>; - - qcom,iommu-bfb-data = <0x00000003 - 0x0 - 0x00000004 - 0x00000010 - 0x00000000 - 0x00000000 - 0x00000000 - 0x00000020 - 0x0 - 0x1 - 0x81 - 0x0>; -}; - -&vfe_iommu { - status = "ok"; - vdd-supply = <&gdsc_vfe>; - qcom,iommu-enable-halt; - - qcom,iommu-bfb-regs = <0x204c - 0x2050 - 0x2514 - 0x2540 - 0x256c - 0x2314 - 0x2394 - 0x2414 - 0x20ac - 0x215c - 0x220c - 0x2008 - 0x200c - 0x2010 - 0x2014 - 0x2018 - 0x201c - 0x2020>; - - qcom,iommu-bfb-data = <0xffffffff - 0x00000000 - 0x4 - 0x8 - 0x0 - 0x0 - 0x20 - 0x78 - 0x0 - 0x00003c08 - 0x0000b41e - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0>; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8974-v2-liquid.dts b/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8974-v2-liquid.dts deleted file mode 100644 index 53983dc1c..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8974-v2-liquid.dts +++ /dev/null @@ -1,36 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; - -/include/ "msm8974-v2.dtsi" -/include/ "msm8974-liquid.dtsi" - -/ { - model = "Qualcomm MSM 8974v2 LIQUID"; - compatible = "qcom,msm8974-liquid", "qcom,msm8974", "qcom,liquid"; - qcom,msm-id = <126 9 0x20000>, - <185 9 0x20000>, - <186 9 0x20000>; -}; - -&usb3 { - interrupt-parent = <&usb3>; - interrupts = <0 1>; - #interrupt-cells = <1>; - interrupt-map-mask = <0x0 0xffffffff>; - interrupt-map = <0x0 0 &intc 0 133 0 - 0x0 1 &spmi_bus 0x0 0x0 0x9 0x0>; - interrupt-names = "hs_phy_irq", "pmic_id_irq"; - - qcom,misc-ref = <&pm8941_misc>; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8974-v2-mtp.dts b/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8974-v2-mtp.dts deleted file mode 100644 index 792a78cbd..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8974-v2-mtp.dts +++ /dev/null @@ -1,40 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; - -/include/ "msm8974-v2.dtsi" -/include/ "msm8974-mtp.dtsi" - -/ { - model = "Qualcomm MSM 8974v2 MTP"; - compatible = "qcom,msm8974-mtp", "qcom,msm8974", "qcom,mtp"; - qcom,msm-id = <126 8 0x20000>, - <185 8 0x20000>, - <186 8 0x20000>; -}; - -&usb3 { - interrupt-parent = <&usb3>; - interrupts = <0 1>; - #interrupt-cells = <1>; - interrupt-map-mask = <0x0 0xffffffff>; - interrupt-map = <0x0 0 &intc 0 133 0 - 0x0 1 &spmi_bus 0x0 0x0 0x9 0x0>; - interrupt-names = "hs_phy_irq", "pmic_id_irq"; - - qcom,misc-ref = <&pm8941_misc>; -}; - -&pm8941_chg { - qcom,bpd-detection = "bpd_thm"; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8974-v2-pm.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8974-v2-pm.dtsi deleted file mode 100644 index 8a46724ae..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8974-v2-pm.dtsi +++ /dev/null @@ -1,452 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/include/ "skeleton.dtsi" - -&soc { - qcom,spm@f9089000 { - compatible = "qcom,spm-v2"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xf9089000 0x1000>; - qcom,core-id = <0>; - qcom,saw2-ver-reg = <0xfd0>; - qcom,saw2-cfg = <0x01>; - qcom,saw2-avs-ctl = <0>; - qcom,saw2-avs-hysteresis = <0>; - qcom,saw2-avs-limit = <0>; - qcom,saw2-avs-dly= <0>; - qcom,saw2-spm-dly= <0x3C102800>; - qcom,saw2-spm-ctl = <0x1>; - qcom,saw2-spm-cmd-wfi = [03 0b 0f]; - qcom,saw2-spm-cmd-ret = [42 1b 00 d0 c0 a0 90 03 d0 98 a2 c0 - 0b 00 42 1b 0f]; - qcom,saw2-spm-cmd-spc = [00 20 80 10 90 a0 b0 03 3b 98 a2 b0 82 - 10 0b 30 06 26 30 0f]; - qcom,saw2-spm-cmd-pc = [00 20 80 10 90 a0 b0 07 3b 98 a2 b0 82 - 10 0b 30 06 26 30 0f]; - }; - - qcom,spm@f9099000 { - compatible = "qcom,spm-v2"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xf9099000 0x1000>; - qcom,core-id = <1>; - qcom,saw2-ver-reg = <0xfd0>; - qcom,saw2-cfg = <0x01>; - qcom,saw2-avs-ctl = <0>; - qcom,saw2-avs-hysteresis = <0>; - qcom,saw2-avs-limit = <0>; - qcom,saw2-avs-dly= <0>; - qcom,saw2-spm-dly= <0x3C102800>; - qcom,saw2-spm-ctl = <0x1>; - qcom,saw2-spm-cmd-wfi = [03 0b 0f]; - qcom,saw2-spm-cmd-ret = [42 1b 00 d0 c0 a0 90 03 d0 98 a2 c0 - 0b 00 42 1b 0f]; - qcom,saw2-spm-cmd-spc = [00 20 80 10 90 a0 b0 03 3b 98 a2 b0 82 - 10 0b 30 06 26 30 0f]; - qcom,saw2-spm-cmd-pc = [00 20 80 10 90 a0 b0 07 3b 98 a2 b0 82 - 10 0b 30 06 26 30 0f]; - }; - - qcom,spm@f90a9000 { - compatible = "qcom,spm-v2"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xf90a9000 0x1000>; - qcom,core-id = <2>; - qcom,saw2-ver-reg = <0xfd0>; - qcom,saw2-cfg = <0x01>; - qcom,saw2-avs-ctl = <0>; - qcom,saw2-avs-hysteresis = <0>; - qcom,saw2-avs-limit = <0>; - qcom,saw2-avs-dly= <0>; - qcom,saw2-spm-dly= <0x3C102800>; - qcom,saw2-spm-ctl = <0x1>; - qcom,saw2-spm-cmd-wfi = [03 0b 0f]; - qcom,saw2-spm-cmd-ret = [42 1b 00 d0 c0 a0 90 03 d0 98 a2 c0 - 0b 00 42 1b 0f]; - qcom,saw2-spm-cmd-spc = [00 20 80 10 90 a0 b0 03 3b 98 a2 b0 82 - 10 0b 30 06 26 30 0f]; - qcom,saw2-spm-cmd-pc = [00 20 80 10 90 a0 b0 07 3b 98 a2 b0 82 - 10 0b 30 06 26 30 0f]; - }; - - qcom,spm@f90b9000 { - compatible = "qcom,spm-v2"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xf90b9000 0x1000>; - qcom,core-id = <3>; - qcom,saw2-ver-reg = <0xfd0>; - qcom,saw2-cfg = <0x01>; - qcom,saw2-avs-ctl = <0>; - qcom,saw2-avs-hysteresis = <0>; - qcom,saw2-avs-limit = <0>; - qcom,saw2-avs-dly= <0>; - qcom,saw2-spm-dly= <0x3C102800>; - qcom,saw2-spm-ctl = <0x1>; - qcom,saw2-spm-cmd-wfi = [03 0b 0f]; - qcom,saw2-spm-cmd-ret = [42 1b 00 d0 c0 a0 90 03 d0 98 a2 c0 - 0b 00 42 1b 0f]; - qcom,saw2-spm-cmd-spc = [00 20 80 10 90 a0 b0 03 3b 98 a2 b0 82 - 10 0b 30 06 26 30 0f]; - qcom,saw2-spm-cmd-pc = [00 20 80 10 90 a0 b0 07 3b 98 a2 b0 82 - 10 0b 30 06 26 30 0f]; - }; - - qcom,spm@f9012000 { - compatible = "qcom,spm-v2"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xf9012000 0x1000>; - qcom,core-id = <0xffff>; /* L2/APCS SAW */ - qcom,saw2-ver-reg = <0xfd0>; - qcom,saw2-cfg = <0x14>; - qcom,saw2-avs-ctl = <0>; - qcom,saw2-avs-hysteresis = <0>; - qcom,saw2-avs-limit = <0>; - qcom,saw2-avs-dly= <0>; - qcom,saw2-spm-dly= <0x3C102800>; - qcom,saw2-spm-ctl = <0x1>; - qcom,saw2-pmic-data0 = <0x02030080>; - qcom,saw2-pmic-data1 = <0x00030000>; - qcom,vctl-timeout-us = <50>; - qcom,vctl-port = <0x0>; - qcom,phase-port = <0x1>; - qcom,pfm-port = <0x2>; - qcom,saw2-spm-cmd-ret = [1f 00 03 00 0f]; - qcom,saw2-spm-cmd-gdhs = [00 32 42 07 44 50 02 32 50 0f]; - qcom,saw2-spm-cmd-pc = [00 32 b0 11 42 07 01 b0 44 - 50 02 32 50 0f]; - }; - - qcom,lpm-resources { - compatible = "qcom,lpm-resources"; - #address-cells = <1>; - #size-cells = <0>; - - qcom,lpm-resources@0 { - reg = <0x0>; - qcom,name = "vdd-dig"; - qcom,type = <0x62706d73>; /* "smpb" */ - qcom,id = <0x02>; - qcom,key = <0x6e726f63>; /* "corn" */ - qcom,init-value = <6>; /* Super Turbo */ - }; - - qcom,lpm-resources@1 { - reg = <0x1>; - qcom,name = "vdd-mem"; - qcom,type = <0x62706d73>; /* "smpb" */ - qcom,id = <0x01>; - qcom,key = <0x7675>; /* "uv" */ - qcom,init-value = <1050000>; /* Super Turbo */ - }; - - qcom,lpm-resources@2 { - reg = <0x2>; - qcom,name = "pxo"; - qcom,type = <0x306b6c63>; /* "clk0" */ - qcom,id = <0x00>; - qcom,key = <0x62616e45>; /* "Enab" */ - qcom,init-value = "xo_on"; - }; - - qcom,lpm-resources@3 { - reg = <0x3>; - qcom,name = "l2"; - qcom,local-resource-type; - qcom,init-value = "l2_cache_retention"; - }; - }; - - qcom,lpm-levels { - compatible = "qcom,lpm-levels"; - #address-cells = <1>; - #size-cells = <0>; - - qcom,use-qtimer; - - qcom,lpm-level@0 { - reg = <0x0>; - qcom,mode = "wfi"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_active"; - qcom,vdd-mem-upper-bound = <1050000>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <950000>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <1>; - qcom,ss-power = <715>; - qcom,energy-overhead = <17700>; - qcom,time-overhead = <2>; - }; - - qcom,lpm-level@1 { - reg = <0x1>; - qcom,mode = "retention"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_active"; - qcom,vdd-mem-upper-bound = <1050000>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <950000>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <35>; - qcom,ss-power = <542>; - qcom,energy-overhead = <34920>; - qcom,time-overhead = <40>; - }; - - - qcom,lpm-level@2 { - reg = <0x2>; - qcom,mode = "standalone_pc"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_active"; - qcom,vdd-mem-upper-bound = <1050000>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <950000>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <300>; - qcom,ss-power = <476>; - qcom,energy-overhead = <225300>; - qcom,time-overhead = <350>; - }; - - qcom,lpm-level@3 { - reg = <0x3>; - qcom,mode = "pc"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_gdhs"; - qcom,vdd-mem-upper-bound = <1050000>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <950000>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <2817>; - qcom,ss-power = <163>; - qcom,energy-overhead = <1577736>; - qcom,time-overhead = <5067>; - }; - - qcom,lpm-level@4 { - reg = <0x4>; - qcom,mode = "pc"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_pc"; - qcom,vdd-mem-upper-bound = <1050000>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <950000>; /* SVS SOC */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <3>; /* SVS SOC */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <3922>; - qcom,ss-power = <83>; - qcom,energy-overhead = <2274420>; - qcom,time-overhead = <6605>; - }; - - qcom,lpm-level@5 { - reg = <0x5>; - qcom,mode = "pc"; - qcom,xo = "xo_off"; - qcom,l2 = "l2_cache_pc"; - qcom,vdd-mem-upper-bound = <1050000>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <950000>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,latency-us = <4922>; - qcom,ss-power = <68>; - qcom,energy-overhead = <2568180>; - qcom,time-overhead = <8812>; - }; - - qcom,lpm-level@6 { - reg = <0x6>; - qcom,mode= "pc"; - qcom,xo = "xo_off"; - qcom,l2 = "l2_cache_pc"; - qcom,vdd-mem-upper-bound = <950000>; /* NORMAL */ - qcom,vdd-mem-lower-bound = <950000>; /* SVS SOC */ - qcom,vdd-dig-upper-bound = <4>; /* NORMAL */ - qcom,vdd-dig-lower-bound = <3>; /* SVS SOC */ - qcom,latency-us = <5890>; - qcom,ss-power = <60>; - qcom,energy-overhead = <2675900>; - qcom,time-overhead = <10140>; - }; - - qcom,lpm-level@7 { - reg = <0x7>; - qcom,mode= "pc"; - qcom,xo = "xo_off"; - qcom,l2 = "l2_cache_pc"; - qcom,vdd-mem-upper-bound = <950000>; /* SVS SOC */ - qcom,vdd-mem-lower-bound = <675000>; /* RETENTION */ - qcom,vdd-dig-upper-bound = <3>; /* SVS SOC */ - qcom,vdd-dig-lower-bound = <1>; /* RETENTION */ - qcom,latency-us = <8500>; - qcom,ss-power = <18>; - qcom,energy-overhead = <3286600>; - qcom,time-overhead = <15760>; - }; - }; - - qcom,pm-boot { - compatible = "qcom,pm-boot"; - qcom,mode = "tz"; - }; - - qcom,mpm@fc4281d0 { - compatible = "qcom,mpm-v2"; - reg = <0xfc4281d0 0x1000>, /* MSM_RPM_MPM_BASE 4K */ - <0xf9011008 0x4>; /* MSM_APCS_GCC_BASE 4K */ - reg-names = "vmpm", "ipc"; - interrupts = <0 171 1>; - - qcom,ipc-bit-offset = <1>; - - qcom,gic-parent = <&intc>; - qcom,gic-map = <2 216>, /* tsens_upper_lower_int */ - <47 165>, /* usb30_hs_phy_irq */ - <50 172>, /* usb1_hs_async_wakeup_irq */ - <53 104>, /* mdss_irq */ - <62 222>, /* ee0_krait_hlos_spmi_periph_irq */ - <0xff 57>, /* mss_to_apps_irq(0) */ - <0xff 58>, /* mss_to_apps_irq(1) */ - <0xff 59>, /* mss_to_apps_irq(2) */ - <0xff 60>, /* mss_to_apps_irq(3) */ - <0xff 173>, /* o_wcss_apss_smd_hi */ - <0xff 174>, /* o_wcss_apss_smd_med */ - <0xff 175>, /* o_wcss_apss_smd_low */ - <0xff 176>, /* o_wcss_apss_smsm_irq */ - <0xff 177>, /* o_wcss_apss_wlan_data_xfer_done */ - <0xff 178>, /* o_wcss_apss_wlan_rx_data_avail */ - <0xff 179>, /* o_wcss_apss_asic_intr - - <0xff 188>, /* lpass_irq_out_apcs(0) */ - <0xff 189>, /* lpass_irq_out_apcs(1) */ - <0xff 190>, /* lpass_irq_out_apcs(2) */ - <0xff 191>, /* lpass_irq_out_apcs(3) */ - <0xff 192>, /* lpass_irq_out_apcs(4) */ - <0xff 193>, /* lpass_irq_out_apcs(5) */ - <0xff 194>, /* lpass_irq_out_apcs(6) */ - <0xff 195>, /* lpass_irq_out_apcs(7) */ - <0xff 196>, /* lpass_irq_out_apcs(8) */ - <0xff 197>, /* lpass_irq_out_apcs(9) */ - <0xff 200>, /* rpm_ipc(4) */ - <0xff 201>, /* rpm_ipc(5) */ - <0xff 202>, /* rpm_ipc(6) */ - <0xff 203>, /* rpm_ipc(7) */ - <0xff 204>, /* rpm_ipc(24) */ - <0xff 205>, /* rpm_ipc(25) */ - <0xff 206>, /* rpm_ipc(26) */ - <0xff 207>, /* rpm_ipc(27) */ - <0xff 240>; /* summary_irq_kpss */ - - qcom,gpio-parent = <&msmgpio>; - qcom,gpio-map = <3 102>, - <4 1 >, - <5 5 >, - <6 9 >, - <7 18>, - <8 20>, - <9 24>, - <10 27>, - <11 28>, - <12 34>, - <13 35>, - <14 37>, - <15 42>, - <16 44>, - <17 46>, - <18 50>, - <19 54>, - <20 59>, - <21 61>, - <22 62>, - <23 64>, - <24 65>, - <25 66>, - <26 67>, - <27 68>, - <28 71>, - <29 72>, - <30 73>, - <31 74>, - <32 75>, - <33 77>, - <34 79>, - <35 80>, - <36 82>, - <37 86>, - <38 92>, - <39 93>, - <40 95>, - <41 144>; - }; - - qcom,pm-8x60@fe805664 { - compatible = "qcom,pm-8x60"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - reg = <0xfe805664 0x40>; - qcom,pc-mode = "tz_l2_int"; - qcom,use-sync-timer; - - qcom,pm-snoc-client { - compatible = "qcom,pm-snoc-client"; - qcom,msm-bus,name = "ocimem_snoc"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,active-only; - qcom,msm-bus,vectors-KBps = - <54 585 0 0>, - <54 585 0 800000>; - }; - }; - - qcom,cpu-sleep-status@f9088008{ - compatible = "qcom,cpu-sleep-status"; - reg = <0xf9088008 0x100>; - qcom,cpu-alias-addr = <0x10000>; - qcom,sleep-status-mask= <0x80000>; - }; - - qcom,rpm-log@fc19dc00 { - compatible = "qcom,rpm-log"; - reg = <0xfc19dc00 0x4000>; - qcom,rpm-addr-phys = <0xfc000000>; - qcom,offset-version = <4>; - qcom,offset-page-buffer-addr = <36>; - qcom,offset-log-len = <40>; - qcom,offset-log-len-mask = <44>; - qcom,offset-page-indices = <56>; - }; - - qcom,rpm-stats@fc19dba0 { - compatible = "qcom,rpm-stats"; - reg = <0xfc19dba0 0x1000>; - reg-names = "phys_addr_base"; - qcom,sleep-stats-version = <2>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8974-v2.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8974-v2.dtsi deleted file mode 100644 index 96e78ac28..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8974-v2.dtsi +++ /dev/null @@ -1,138 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/* - * As a general rule, only version-specific property overrides should be placed - * inside this file. However, device definitions should be placed inside the - * msm8974.dtsi file. - */ - -/include/ "msm8974.dtsi" -/include/ "msm8974-v2-iommu.dtsi" -/include/ "msm8974-v2-iommu-domains.dtsi" -/include/ "msm8974-v2-pm.dtsi" - -&soc { - android_usb@fe8050c8 { - compatible = "qcom,android-usb"; - reg = <0xfe8050c8 0xc8>; - qcom,android-usb-swfi-latency = <1>; - }; - - qcom,msm-imem@fe805000 { - compatible = "qcom,msm-imem"; - reg = <0xfe805000 0x1000>; /* Address and size of IMEM */ - }; -}; - -/* GPU overrides */ -&msm_gpu { - /* Updated chip ID */ - qcom,chipid = <0x03030001>; - - /* Updated bus bandwidth requirements */ - qcom,msm-bus,vectors-KBps = - /* Off */ - <26 512 0 0>, <89 604 0 0>, - /* SVS */ - <26 512 0 2400000>, <89 604 0 3000000>, - /* Nominal / SVS */ - <26 512 0 4656000>, <89 604 0 3000000>, - /* Nominal */ - <26 512 0 4656000>, <89 604 0 5120000>, - /* Turbo / Nominal */ - <26 512 0 7464000>, <89 604 0 5120000>, - /* Turbo */ - <26 512 0 7464000>, <89 604 0 6400000>; -}; - -&mdss_mdp { - qcom,vbif-settings = <0x0004 0x00000001>; - - qcom,mdss-wb-off = <0x00011100 0x00011500 - 0x00011900 0x00011D00 0x00012100>; - qcom,mdss-intf-off = <0x00012500 0x00012700 - 0x00012900 0x00012b00>; - qcom,mdss-pingpong-off = <0x00012D00 0x00012E00 0x00012F00>; - qcom,mdss-has-bwc; - qcom,mdss-has-decimation; - qcom,mdss-ad-off = <0x0013100 0x00013300>; -}; - -&mdss_hdmi_tx { - reg = <0xfd922100 0x370>, - <0xfd922500 0x7C>, - <0xfc4b8000 0x60F0>; - reg-names = "core_physical", "phy_physical", "qfprom_physical"; -}; - -&msm_vidc { - qcom,vidc-ns-map = <0x40000000 0x40000000>; - qcom,load-freq-tbl = <979200 465000000>, - <783360 465000000>, - <489600 266670000>, - <244800 133330000>; - qcom,reg-presets = <0x80004 0x1>, - <0x80070 0x11FFF>, - <0x80074 0xA4>, - <0x800A8 0x1FFF>, - <0x80124 0x3>, - <0xE0020 0x5555556>, - <0xE0024 0x0>; - qcom,bus-ports = <1>; - qcom,enc-ocmem-ab-ib = <0 0>, - <138000 1034000>, - <414000 1034000>, - <940000 1034000>, - <1880000 2068000>, - <3008000 3309000>, - <3760000 4136000>, - <4468000 2457000>; - qcom,dec-ocmem-ab-ib = <0 0>, - <176000 519000>, - <456000 519000>, - <864000 519000>, - <1728000 1038000>, - <2766000 1661000>, - <3456000 2076000>, - <3662000 2198000>; - qcom,enc-ddr-ab-ib = <0 0>, - <120000 302000>, - <364000 302000>, - <804000 302000>, - <1608000 604000>, - <2576000 967000>, - <4680000 1404000>, - <49880000 1496000>; - qcom,dec-ddr-ab-ib = <0 0>, - <208000 303000>, - <536000 303000>, - <1012000 303000>, - <2024000 606000>, - <3240000 970000>, - <4048000 1212000>, - <4264000 1279000>; - qcom,iommu-groups = <&venus_domain_ns &venus_domain_sec_bitstream - &venus_domain_sec_pixel &venus_domain_sec_non_pixel>; - qcom,iommu-group-buffer-types = <0xfff 0x91 0x42 0x120>; - qcom,buffer-type-tz-usage-table = <0x91 0x1>, - <0x42 0x2>, - <0x120 0x3>; -}; - -&krait_pdn { - qcom,use-phase-switching; -}; - -&tspp { - vdd_cx-supply = <&pm8841_s2_corner>; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8974.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8974.dtsi deleted file mode 100644 index 6f164912e..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm8974.dtsi +++ /dev/null @@ -1,1745 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/include/ "skeleton.dtsi" - -/ { - model = "Qualcomm MSM 8974"; - compatible = "qcom,msm8974"; - interrupt-parent = <&intc>; - - aliases { - spi0 = &spi_0; - spi7 = &spi_7; - sdhc1 = &sdhc_1; /* SDC1 eMMC slot */ - sdhc2 = &sdhc_2; /* SDC2 SD card slot */ - sdhc3 = &sdhc_3; /* SDC3 SDIO slot */ - sdhc4 = &sdhc_4; /* SDC4 SDIO slot */ - - /* smdtty devices */ - smd1 = &smdtty_apps_fm; - smd2 = &smdtty_apps_riva_bt_acl; - smd3 = &smdtty_apps_riva_bt_cmd; - smd4 = &smdtty_mbalbridge; - smd5 = &smdtty_apps_riva_ant_cmd; - smd6 = &smdtty_apps_riva_ant_data; - smd7 = &smdtty_data1; - smd11 = &smdtty_data11; - smd21 = &smdtty_data21; - smd27 = &smdtty_gps_nmea; - smd36 = &smdtty_loopback; - }; - - cpus { - #size-cells = <0>; - #address-cells = <1>; - - CPU0: cpu@0 { - device_type = "cpu"; - compatible = "qcom,krait"; - reg = <0x0>; - }; - - CPU1: cpu@1 { - device_type = "cpu"; - compatible = "qcom,krait"; - reg = <0x1>; - }; - - CPU2: cpu@2 { - device_type = "cpu"; - compatible = "qcom,krait"; - reg = <0x2>; - }; - - CPU3: cpu@3 { - device_type = "cpu"; - compatible = "qcom,krait"; - reg = <0x3>; - }; - }; - - memory { - secure_mem: secure_region { - linux,contiguous-region; - reg = <0 0xFC00000>; - label = "secure_mem"; - }; - - adsp_mem: adsp_region { - linux,contiguous-region; - reg = <0 0x2F00000>; - label = "adsp_mem"; - }; - - qsecom_mem: qsecom_region { - linux,contiguous-region; - reg = <0 0x1100000>; - label = "qseecom_mem"; - }; - - }; - - soc: soc { }; -}; - -/include/ "msm8974-camera.dtsi" -/include/ "msm8974-coresight.dtsi" -/include/ "msm-gdsc.dtsi" -/include/ "msm8974-ion.dtsi" -/include/ "msm8974-gpu.dtsi" -/include/ "msm8974-mdss.dtsi" -/include/ "msm8974-smp2p.dtsi" -/include/ "msm8974-bus.dtsi" - -&soc { - #address-cells = <1>; - #size-cells = <1>; - ranges; - - intc: interrupt-controller@F9000000 { - compatible = "qcom,msm-qgic2"; - interrupt-controller; - #interrupt-cells = <3>; - reg = <0xF9000000 0x1000>, - <0xF9002000 0x1000>; - }; - - msmgpio: gpio@fd510000 { - compatible = "qcom,msm-gpio"; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - reg = <0xfd510000 0x4000>; - ngpio = <146>; - interrupts = <0 208 0>; - qcom,direct-connect-irqs = <8>; - }; - - wcd9xxx_intc: wcd9xxx-irq { - compatible = "qcom,wcd9xxx-irq"; - interrupt-controller; - #interrupt-cells = <1>; - interrupt-parent = <&msmgpio>; - interrupts = <72 0>; - interrupt-names = "cdc-int"; - }; - - timer { - compatible = "arm,armv7-timer"; - interrupts = <1 2 0 1 3 0>; - clock-frequency = <19200000>; - }; - - 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 8 0x4>, - <0 7 0x4>; - reg = <0xf9021000 0x1000>, - <0xf9022000 0x1000>; - }; - - frame@f9023000 { - frame-number = <1>; - interrupts = <0 9 0x4>; - reg = <0xf9023000 0x1000>; - status = "disabled"; - }; - - frame@f9024000 { - frame-number = <2>; - interrupts = <0 10 0x4>; - reg = <0xf9024000 0x1000>; - status = "disabled"; - }; - - frame@f9025000 { - frame-number = <3>; - interrupts = <0 11 0x4>; - reg = <0xf9025000 0x1000>; - status = "disabled"; - }; - - frame@f9026000 { - frame-number = <4>; - interrupts = <0 12 0x4>; - reg = <0xf9026000 0x1000>; - status = "disabled"; - }; - - frame@f9027000 { - frame-number = <5>; - interrupts = <0 13 0x4>; - reg = <0xf9027000 0x1000>; - status = "disabled"; - }; - - frame@f9028000 { - frame-number = <6>; - interrupts = <0 14 0x4>; - reg = <0xf9028000 0x1000>; - status = "disabled"; - }; - }; - - - qcom,mpm2-sleep-counter@fc4a3000 { - compatible = "qcom,mpm2-sleep-counter"; - reg = <0xfc4a3000 0x1000>; - clock-frequency = <32768>; - }; - - msm_vidc: qcom,vidc@fdc00000 { - compatible = "qcom,msm-vidc"; - reg = <0xfdc00000 0xff000>; - interrupts = <0 44 0>; - qcom,hfi = "venus"; - qcom,has-ocmem; - qcom,max-hw-load = <1224450>; /* 4k @ 30 + 1080p @ 30*/ - }; - - qcom,vidc { - compatible = "qcom,msm-vidc"; - qcom,hfi = "q6"; - qcom,max-hw-load = <108000>; /* 720p @ 30 */ - }; - - qcom,wfd { - compatible = "qcom,msm-wfd"; - }; - - serial@f991f000 { - compatible = "qcom,msm-lsuart-v14"; - reg = <0xf991f000 0x1000>; - interrupts = <0 109 0>; - status = "disabled"; - }; - - serial@f995e000 { - compatible = "qcom,msm-lsuart-v14"; - reg = <0xf995e000 0x1000>; - interrupts = <0 114 0>; - status = "disabled"; - }; - - serial@f991e000 { - compatible = "qcom,msm-lsuart-v14"; - reg = <0xf991e000 0x1000>; - interrupts = <0 108 0>; - status = "disabled"; - - qcom,msm-bus,name = "serial_uart2"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <86 512 0 0>, - <86 512 500 800>; - }; - - usb_otg: usb@f9a55000 { - compatible = "qcom,hsusb-otg"; - status = "disabled"; - - reg = <0xf9a55000 0x400>; - interrupts = <0 134 0 0 140 0>; - interrupt-names = "core_irq", "async_irq"; - HSUSB_VDDCX-supply = <&pm8841_s2_corner>; - HSUSB_1p8-supply = <&pm8941_l6>; - HSUSB_3p3-supply = <&pm8941_l24>; - qcom,vdd-voltage-level = <1 5 7>; - - 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>; - qcom,hsusb-otg-disable-reset; - - qcom,msm-bus,name = "usb2"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <87 512 0 0>, - <87 512 60000 960000>; - }; - - sdcc1: qcom,sdcc@f9824000 { - cell-index = <1>; /* SDC1 eMMC slot */ - compatible = "qcom,msm-sdcc"; - reg = <0xf9824000 0x800>, - <0xf9824800 0x100>, - <0xf9804000 0x7000>; - reg-names = "core_mem", "dml_mem", "bam_mem"; - interrupts = <0 123 0>, <0 137 0>; - interrupt-names = "core_irq", "bam_irq"; - vdd-supply = <&pm8941_l20>; - vdd-io-supply = <&pm8941_s3>; - - qcom,vdd-always-on; - qcom,vdd-lpm-sup; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <800 500000>; - - qcom,vdd-io-always-on; - qcom,vdd-io-voltage-level = <1800000 1800000>; - qcom,vdd-io-current-level = <250 154000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 20000000 25000000 50000000 100000000 200000000>; - qcom,sup-voltages = <2950 2950>; - qcom,bus-width = <8>; - qcom,nonremovable; - qcom,bus-speed-mode = "HS200_1p8v", "DDR_1p8v"; - - qcom,msm-bus,name = "sdcc1"; - qcom,msm-bus,num-cases = <8>; - 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 800000 1600000>, /* 200 MB/s */ - <78 512 2048000 4096000>; /* Max. bandwidth */ - qcom,bus-bw-vectors-bps = <0 400000 20000000 25000000 50000000 100000000 200000000 4294967295>; - qcom,dat1-mpm-int = <42>; - status = "disable"; - }; - - sdcc2: qcom,sdcc@f98a4000 { - cell-index = <2>; /* SDC2 SD card slot */ - compatible = "qcom,msm-sdcc"; - reg = <0xf98a4000 0x800>, - <0xf98a4800 0x100>, - <0xf9884000 0x7000>; - reg-names = "core_mem", "dml_mem", "bam_mem"; - interrupts = <0 125 0>, <0 220 0>; - interrupt-names = "core_irq", "bam_irq"; - vdd-supply = <&pm8941_l21>; - vdd-io-supply = <&pm8941_l13>; - - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <9000 800000>; - - qcom,vdd-io-voltage-level = <1800000 2950000>; - qcom,vdd-io-current-level = <6 22000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 20000000 25000000 50000000 100000000 200000000>; - qcom,sup-voltages = <2950 2950>; - qcom,bus-width = <4>; - qcom,xpc; - qcom,bus-speed-mode = "SDR12", "SDR25", "SDR50", "DDR50", "SDR104"; - qcom,current-limit = <800>; - - qcom,msm-bus,name = "sdcc2"; - 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 1600000>, /* 200 MB/s */ - <81 512 2048000 4096000>; /* Max. bandwidth */ - qcom,bus-bw-vectors-bps = <0 400000 20000000 25000000 50000000 100000000 200000000 4294967295>; - qcom,dat1-mpm-int = <44>; - status = "disable"; - }; - - sdcc3: qcom,sdcc@f9864000 { - cell-index = <3>; /* SDC3 SDIO slot */ - compatible = "qcom,msm-sdcc"; - reg = <0xf9864000 0x800>, - <0xf9864800 0x100>, - <0xf9844000 0x7000>; - reg-names = "core_mem", "dml_mem", "bam_mem"; - #address-cells = <0>; - interrupt-parent = <&sdcc3>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 127 0 - 1 &intc 0 223 0 - 2 &msmgpio 37 0x8>; - interrupt-names = "core_irq", "bam_irq", "sdiowakeup_irq"; - - gpios = <&msmgpio 40 0>, /* CLK */ - <&msmgpio 39 0>, /* CMD */ - <&msmgpio 38 0>, /* DATA0 */ - <&msmgpio 37 0>, /* DATA1 */ - <&msmgpio 36 0>, /* DATA2 */ - <&msmgpio 35 0>; /* DATA3 */ - qcom,gpio-names = "CLK", "CMD", "DAT0", "DAT1", "DAT2", "DAT3"; - - qcom,clk-rates = <400000 20000000 25000000 50000000 100000000>; - qcom,sup-voltages = <1800 1800>; - qcom,bus-width = <4>; - qcom,bus-speed-mode = "SDR12", "SDR25", "SDR50", "DDR50"; - - qcom,msm-bus,name = "sdcc3"; - 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 1600000>, /* 200 MB/s */ - <79 512 2048000 4096000>; /* Max. bandwidth */ - qcom,bus-bw-vectors-bps = <0 400000 20000000 25000000 50000000 100000000 200000000 4294967295>; - status = "disable"; - }; - - sdcc4: qcom,sdcc@f98e4000 { - cell-index = <4>; /* SDC4 SDIO slot */ - compatible = "qcom,msm-sdcc"; - reg = <0xf98e4000 0x800>, - <0xf98e4800 0x100>, - <0xf98c4000 0x7000>; - reg-names = "core_mem", "dml_mem", "bam_mem"; - #address-cells = <0>; - interrupt-parent = <&sdcc4>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 129 0 - 1 &intc 0 226 0 - 2 &msmgpio 95 0x8>; - interrupt-names = "core_irq", "bam_irq", "sdiowakeup_irq"; - - gpios = <&msmgpio 93 0>, /* CLK */ - <&msmgpio 91 0>, /* CMD */ - <&msmgpio 96 0>, /* DATA0 */ - <&msmgpio 95 0>, /* DATA1 */ - <&msmgpio 94 0>, /* DATA2 */ - <&msmgpio 92 0>; /* DATA3 */ - qcom,gpio-names = "CLK", "CMD", "DAT0", "DAT1", "DAT2", "DAT3"; - - qcom,clk-rates = <400000 20000000 25000000 50000000 100000000>; - qcom,sup-voltages = <1800 1800>; - qcom,bus-width = <4>; - qcom,bus-speed-mode = "SDR12", "SDR25", "SDR50", "DDR50"; - - qcom,msm-bus,name = "sdcc4"; - qcom,msm-bus,num-cases = <8>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = <80 512 0 0>, /* No vote */ - <80 512 1600 3200>, /* 400 KB/s*/ - <80 512 80000 160000>, /* 20 MB/s */ - <80 512 100000 200000>, /* 25 MB/s */ - <80 512 200000 400000>, /* 50 MB/s */ - <80 512 400000 800000>, /* 100 MB/s */ - <80 512 800000 1600000>, /* 200 MB/s */ - <80 512 2048000 4096000>; /* Max. bandwidth */ - qcom,bus-bw-vectors-bps = <0 400000 20000000 25000000 50000000 100000000 200000000 4294967295>; - status = "disable"; - }; - - sdhc_1: sdhci@f9824900 { - qcom,bus-width = <8>; - compatible = "qcom,sdhci-msm"; - reg = <0xf9824900 0x11c>, <0xf9824000 0x800>; - reg-names = "hc_mem", "core_mem"; - interrupts = <0 123 0>, <0 138 0>; - interrupt-names = "hc_irq", "pwr_irq"; - qcom,clk-rates = <400000 20000000 25000000 50000000 100000000 200000000>; - qcom,bus-speed-mode = "HS200_1p8v", "DDR_1p8v"; - qcom,cpu-dma-latency-us = <200>; - - qcom,msm-bus,name = "sdhc1"; - qcom,msm-bus,num-cases = <8>; - 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 800000 1600000>, /* 200 MB/s */ - <78 512 2048000 4096000>; /* Max. bandwidth */ - qcom,bus-bw-vectors-bps = <0 400000 20000000 25000000 50000000 100000000 200000000 4294967295>; - status = "disable"; - }; - - 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"; - - qcom,clk-rates = <400000 20000000 25000000 50000000 100000000 200000000>; - qcom,bus-width = <4>; - qcom,cpu-dma-latency-us = <200>; - - 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 1600000>, /* 200 MB/s */ - <81 512 2048000 4096000>; /* Max. bandwidth */ - qcom,bus-bw-vectors-bps = <0 400000 20000000 25000000 50000000 100000000 200000000 4294967295>; - status = "disable"; - }; - - 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"; - gpios = <&msmgpio 40 0>, /* CLK */ - <&msmgpio 39 0>, /* CMD */ - <&msmgpio 38 0>, /* DATA0 */ - <&msmgpio 37 0>, /* DATA1 */ - <&msmgpio 36 0>, /* DATA2 */ - <&msmgpio 35 0>; /* DATA3 */ - qcom,gpio-names = "CLK", "CMD", "DAT0", "DAT1", "DAT2", "DAT3"; - - qcom,clk-rates = <400000 20000000 25000000 50000000 100000000>; - qcom,bus-width = <4>; - qcom,cpu-dma-latency-us = <200>; - - 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 1600000>, /* 200 MB/s */ - <79 512 2048000 4096000>; /* Max. bandwidth */ - qcom,bus-bw-vectors-bps = <0 400000 20000000 25000000 50000000 100000000 200000000 4294967295>; - status = "disable"; - }; - - sdhc_4: sdhci@f98e4900 { - compatible = "qcom,sdhci-msm"; - reg = <0xf98e4900 0x11c>, <0xf98e4000 0x800>; - reg-names = "hc_mem", "core_mem"; - interrupts = <0 129 0>, <0 227 0>; - interrupt-names = "hc_irq", "pwr_irq"; - gpios = <&msmgpio 93 0>, /* CLK */ - <&msmgpio 91 0>, /* CMD */ - <&msmgpio 96 0>, /* DATA0 */ - <&msmgpio 95 0>, /* DATA1 */ - <&msmgpio 94 0>, /* DATA2 */ - <&msmgpio 92 0>; /* DATA3 */ - qcom,gpio-names = "CLK", "CMD", "DAT0", "DAT1", "DAT2", "DAT3"; - - qcom,clk-rates = <400000 20000000 25000000 50000000 100000000>; - qcom,bus-width = <4>; - qcom,cpu-dma-latency-us = <200>; - - qcom,msm-bus,name = "sdhc4"; - qcom,msm-bus,num-cases = <8>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = <80 512 0 0>, /* No vote */ - <80 512 1600 3200>, /* 400 KB/s*/ - <80 512 80000 160000>, /* 20 MB/s */ - <80 512 100000 200000>, /* 25 MB/s */ - <80 512 200000 400000>, /* 50 MB/s */ - <80 512 400000 800000>, /* 100 MB/s */ - <80 512 800000 1600000>, /* 200 MB/s */ - <80 512 2048000 4096000>; /* Max. bandwidth */ - qcom,bus-bw-vectors-bps = <0 400000 20000000 25000000 50000000 100000000 200000000 4294967295>; - status = "disable"; - }; - - qcom,sps@f9980000 { - compatible = "qcom,msm_sps"; - reg = <0xf9984000 0x15000>, - <0xf9999000 0xb000>; - interrupts = <0 94 0>; - - qcom,bam-dma-res-pipes = <6>; - }; - - spi_7: spi_epm: spi@f9966000 { - compatible = "qcom,spi-qup-v2"; - reg = <0xf9966000 0x1000>; - interrupts = <0 104 0>; - spi-max-frequency = <19200000>; - #address-cells = <1>; - #size-cells = <0>; - gpios = <&msmgpio 56 0>, /* CLK */ - <&msmgpio 54 0>, /* MISO */ - <&msmgpio 53 0>; /* MOSI */ - cs-gpios = <&msmgpio 55 0>; - qcom,master-id = <84>; - }; - - tspp: msm_tspp@f99d8000 { - compatible = "qcom,msm_tspp"; - cell-index = <0>; - reg = <0xf99d8000 0x1000>, /* MSM_TSIF0_PHYS */ - <0xf99d9000 0x1000>, /* MSM_TSIF1_PHYS */ - <0xf99da000 0x1000>, /* MSM_TSPP_PHYS */ - <0xf99c4000 0x14000>; /* MSM_TSPP_BAM_PHYS */ - reg-names = "MSM_TSIF0_PHYS", - "MSM_TSIF1_PHYS", - "MSM_TSPP_PHYS", - "MSM_TSPP_BAM_PHYS"; - interrupts = <0 153 0>, /* TSIF_TSPP_IRQ */ - <0 151 0>, /* TSIF0_IRQ */ - <0 152 0>, /* TSIF1_IRQ */ - <0 154 0>; /* TSIF_BAM_IRQ */ - interrupt-names = "TSIF_TSPP_IRQ", - "TSIF0_IRQ", - "TSIF1_IRQ", - "TSIF_BAM_IRQ"; - qcom,tsif-pclk = "iface_clk"; - qcom,tsif-ref-clk = "ref_clk"; - gpios = <&msmgpio 89 0>, /* TSIF0 CLK */ - <&msmgpio 90 0>, /* TSIF0 EN */ - <&msmgpio 91 0>, /* TSIF0 DATA */ - <&msmgpio 92 0>, /* TSIF0 SYNC */ - <&msmgpio 93 0>, /* TSIF1 CLK */ - <&msmgpio 94 0>, /* TSIF1 EN */ - <&msmgpio 95 0>, /* TSIF1 DATA */ - <&msmgpio 96 0>; /* TSIF1 SYNC */ - qcom,gpio-names = "tsif_clk", - "tsif_en", - "tsif_data", - "tsif_sync", - "tsif_clk", - "tsif_en", - "tsif_data", - "tsif_sync"; - qcom,gpios-func = <1>; - - qcom,msm-bus,name = "tsif"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,active-only = <0>; - 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 */ - }; - - slim_msm: slim@fe12f000 { - cell-index = <1>; - compatible = "qcom,slim-ngd"; - reg = <0xfe12f000 0x35000>, - <0xfe104000 0x20000>; - reg-names = "slimbus_physical", "slimbus_bam_physical"; - interrupts = <0 163 0 0 164 0>; - interrupt-names = "slimbus_irq", "slimbus_bam_irq"; - - taiko_codec { - compatible = "qcom,taiko-slim-pgd"; - elemental-addr = [00 01 A0 00 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>; - - qcom,cdc-reset-gpio = <&msmgpio 63 0>; - - cdc-vdd-buck-supply = <&pm8941_s2>; - qcom,cdc-vdd-buck-voltage = <2150000 2150000>; - qcom,cdc-vdd-buck-current = <650000>; - - cdc-vdd-tx-h-supply = <&pm8941_s3>; - qcom,cdc-vdd-tx-h-voltage = <1800000 1800000>; - qcom,cdc-vdd-tx-h-current = <25000>; - - cdc-vdd-rx-h-supply = <&pm8941_s3>; - qcom,cdc-vdd-rx-h-voltage = <1800000 1800000>; - qcom,cdc-vdd-rx-h-current = <25000>; - - cdc-vddpx-1-supply = <&pm8941_s3>; - qcom,cdc-vddpx-1-voltage = <1800000 1800000>; - qcom,cdc-vddpx-1-current = <10000>; - - cdc-vdd-a-1p2v-supply = <&pm8941_l1>; - qcom,cdc-vdd-a-1p2v-voltage = <1225000 1225000>; - qcom,cdc-vdd-a-1p2v-current = <10000>; - - cdc-vddcx-1-supply = <&pm8941_l1>; - qcom,cdc-vddcx-1-voltage = <1225000 1225000>; - qcom,cdc-vddcx-1-current = <10000>; - - cdc-vddcx-2-supply = <&pm8941_l1>; - qcom,cdc-vddcx-2-voltage = <1225000 1225000>; - qcom,cdc-vddcx-2-current = <10000>; - - 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>; - qcom,cdc-micbias-cfilt2-mv = <2700>; - 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 = "taiko-slim-ifd"; - qcom,cdc-slim-ifd-elemental-addr = [00 00 A0 00 17 02]; - qcom,cdc-dmic-sample-rate = <4800000>; - }; - }; - - sound { - compatible = "qcom,msm8974-audio-taiko"; - qcom,model = "msm8974-taiko-snd-card"; - - qcom,audio-routing = - "RX_BIAS", "MCLK", - "LDO_H", "MCLK", - "AIF4 MAD", "MCLK", - "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"; - - qcom,cdc-mclk-gpios = <&pm8941_gpios 15 0>; - qcom,taiko-mclk-clk-freq = <9600000>; - qcom,prim-auxpcm-gpio-clk = <&msmgpio 65 0>; - qcom,prim-auxpcm-gpio-sync = <&msmgpio 66 0>; - qcom,prim-auxpcm-gpio-din = <&msmgpio 67 0>; - qcom,prim-auxpcm-gpio-dout = <&msmgpio 68 0>; - qcom,prim-auxpcm-gpio-set = "prim-gpio-prim"; - qcom,sec-auxpcm-gpio-clk = <&msmgpio 79 0>; - qcom,sec-auxpcm-gpio-sync = <&msmgpio 80 0>; - qcom,sec-auxpcm-gpio-din = <&msmgpio 81 0>; - qcom,sec-auxpcm-gpio-dout = <&msmgpio 82 0>; - }; - - spmi_bus: qcom,spmi@fc4c0000 { - cell-index = <0>; - 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-ee = <0>; - qcom,pmic-arb-channel = <0>; - }; - - i2c_0: i2c@f9967000 { /* BLSP#11 */ - cell-index = <0>; - compatible = "qcom,i2c-qup"; - reg = <0Xf9967000 0x1000>; - #address-cells = <1>; - #size-cells = <0>; - reg-names = "qup_phys_addr"; - interrupts = <0 105 0>; - interrupt-names = "qup_err_intr"; - qcom,i2c-bus-freq = <100000>; - qcom,i2c-src-freq = <50000000>; - qcom,master-id = <84>; - }; - - i2c_1: i2c@f9923000 { - cell-index = <1>; - compatible = "qcom,i2c-qup"; - reg = <0xf9923000 0x1000>; - #address-cells = <1>; - #size-cells = <0>; - reg-names = "qup_phys_addr"; - interrupts = <0 95 0>; - interrupt-names = "qup_err_intr"; - qcom,i2c-bus-freq = <100000>; - qcom,i2c-src-freq = <19200000>; - qcom,scl-gpio = <&msmgpio 3 0>; - qcom,sda-gpio = <&msmgpio 2 0>; - qcom,master-id = <86>; - status = "disabled"; - }; - - i2c_2: i2c@f9924000 { - cell-index = <2>; - compatible = "qcom,i2c-qup"; - reg = <0xf9924000 0x1000>; - #address-cells = <1>; - #size-cells = <0>; - reg-names = "qup_phys_addr"; - interrupts = <0 96 0>; - interrupt-names = "qup_err_intr"; - qcom,i2c-bus-freq = <100000>; - qcom,i2c-src-freq = <50000000>; - qcom,master-id = <86>; - }; - - spi_0: spi@f9923000 { - compatible = "qcom,spi-qup-v2"; - reg = <0xf9923000 0x1000>; - interrupts = <0 95 0>; - spi-max-frequency = <19200000>; - #address-cells = <1>; - #size-cells = <0>; - gpios = <&msmgpio 3 0>, /* CLK */ - <&msmgpio 1 0>, /* MISO */ - <&msmgpio 0 0>; /* MOSI */ - cs-gpios = <&msmgpio 9 0>; - qcom,master-id = <86>; - }; - - qcom,acpuclk@f9000000 { - compatible = "qcom,acpuclk-8974"; - krait0-supply = <&krait0_vreg>; - krait1-supply = <&krait1_vreg>; - krait2-supply = <&krait2_vreg>; - krait3-supply = <&krait3_vreg>; - krait0_mem-supply = <&pm8841_s1_ao>; - krait1_mem-supply = <&pm8841_s1_ao>; - krait2_mem-supply = <&pm8841_s1_ao>; - krait3_mem-supply = <&pm8841_s1_ao>; - krait0_dig-supply = <&pm8841_s2_corner_ao>; - krait1_dig-supply = <&pm8841_s2_corner_ao>; - krait2_dig-supply = <&pm8841_s2_corner_ao>; - krait3_dig-supply = <&pm8841_s2_corner_ao>; - krait0_hfpll-supply = <&pm8941_l12_ao>; - krait1_hfpll-supply = <&pm8941_l12_ao>; - krait2_hfpll-supply = <&pm8941_l12_ao>; - krait3_hfpll-supply = <&pm8941_l12_ao>; - l2_hfpll-supply = <&pm8941_l12_ao>; - }; - - usb3: qcom,ssusb@f9200000 { - compatible = "qcom,dwc-usb3-msm"; - reg = <0xf9200000 0xfc000>, - <0xfd4ab000 0x4>; - #address-cells = <1>; - #size-cells = <1>; - ranges; - interrupts = <0 133 0>; - interrupt-names = "hs_phy_irq"; - ssusb_vdd_dig-supply = <&pm8841_s2_corner>; - SSUSB_1p8-supply = <&pm8941_l6>; - hsusb_vdd_dig-supply = <&pm8841_s2_corner>; - HSUSB_1p8-supply = <&pm8941_l6>; - HSUSB_3p3-supply = <&pm8941_l24>; - vbus_dwc3-supply = <&pm8941_mvs1>; - qcom,dwc-usb3-msm-dbm-eps = <4>; - qcom,vdd-voltage-level = <1 5 7>; - qcom,dwc-hsphy-init = <0x00D195A4>; - - 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>; - dwc3@f9200000 { - compatible = "synopsys,dwc3"; - reg = <0xf9200000 0xfc000>; - interrupt-parent = <&intc>; - interrupts = <0 131 0>, <0 179 0>; - interrupt-names = "irq", "otg_irq"; - tx-fifo-resize; - }; - }; - - ehci: qcom,ehci-host@f9a55000 { - compatible = "qcom,ehci-host"; - status = "disabled"; - reg = <0xf9a55000 0x400>; - interrupts = <0 134 0>, <0 140 0>; - interrupt-names = "core_irq", "async_irq"; - HSUSB_VDDCX-supply = <&pm8841_s2>; - HSUSB_1p8-supply = <&pm8941_l6>; - HSUSB_3p3-supply = <&pm8941_l24>; - qcom,usb2-enable-hsphy2; - qcom,usb2-power-budget = <500>; - }; - - gdsc_oxili_gx: qcom,gdsc@fd8c4024 { - parent-supply = <&pm8841_s4_corner>; - }; - - qcom,lpass@fe200000 { - compatible = "qcom,pil-q6v5-lpass"; - reg = <0xfe200000 0x00100>, - <0xfd485100 0x00010>, - <0xfc4016c0 0x00004>; - reg-names = "qdsp6_base", "halt_base", "restart_reg"; - vdd_cx-supply = <&pm8841_s2_corner>; - interrupts = <0 162 1>; - - 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>; - - /* GPIO output to lpass */ - qcom,gpio-force-stop = <&smp2pgpio_ssr_smp2p_2_out 0 0>; - }; - - qcom,msm-adsp-loader { - compatible = "qcom,adsp-loader"; - qcom,adsp-state = <0>; - }; - - qcom,msm-audio-ion { - compatible = "qcom,msm-audio-ion"; - }; - - qcom,msm-pcm { - compatible = "qcom,msm-pcm-dsp"; - qcom,msm-pcm-dsp-id = <0>; - }; - - qcom,msm-pcm-low-latency { - compatible = "qcom,msm-pcm-dsp"; - qcom,msm-pcm-dsp-id = <1>; - qcom,msm-pcm-low-latency; - }; - - qcom,msm-pcm-routing { - compatible = "qcom,msm-pcm-routing"; - }; - - qcom,msm-pcm-lpa { - compatible = "qcom,msm-pcm-lpa"; - }; - - qcom,msm-compr-dsp { - compatible = "qcom,msm-compr-dsp"; - }; - - qcom,msm-voip-dsp { - compatible = "qcom,msm-voip-dsp"; - }; - - qcom,msm-pcm-voice { - compatible = "qcom,msm-pcm-voice"; - }; - - qcom,msm-stub-codec { - compatible = "qcom,msm-stub-codec"; - }; - - qcom,msm-dai-fe { - compatible = "qcom,msm-dai-fe"; - }; - - qcom,msm-pcm-afe { - compatible = "qcom,msm-pcm-afe"; - }; - - qcom,msm-dai-q6-hdmi { - compatible = "qcom,msm-dai-q6-hdmi"; - qcom,msm-dai-q6-dev-id = <8>; - }; - - qcom,msm-lsm-client { - compatible = "qcom,msm-lsm-client"; - }; - - qcom,msm-dai-q6 { - compatible = "qcom,msm-dai-q6"; - qcom,msm-dai-q6-sb-0-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <16384>; - }; - - qcom,msm-dai-q6-sb-0-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <16385>; - }; - - qcom,msm-dai-q6-sb-1-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <16386>; - }; - - qcom,msm-dai-q6-sb-1-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <16387>; - }; - - qcom,msm-dai-q6-sb-2-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <16388>; - }; - - qcom,msm-dai-q6-sb-2-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <16389>; - }; - - qcom,msm-dai-q6-sb-3-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <16390>; - }; - - qcom,msm-dai-q6-sb-3-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <16391>; - }; - - qcom,msm-dai-q6-sb-4-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <16392>; - }; - - qcom,msm-dai-q6-sb-4-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <16393>; - }; - - qcom,msm-dai-q6-sb-5-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <16395>; - }; - - qcom,msm-dai-q6-bt-sco-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <12288>; - }; - - qcom,msm-dai-q6-bt-sco-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <12289>; - }; - - qcom,msm-dai-q6-int-fm-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <12292>; - }; - - qcom,msm-dai-q6-int-fm-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <12293>; - }; - - qcom,msm-dai-q6-be-afe-pcm-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <224>; - }; - - qcom,msm-dai-q6-be-afe-pcm-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <225>; - }; - - qcom,msm-dai-q6-afe-proxy-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <241>; - }; - - qcom,msm-dai-q6-afe-proxy-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <240>; - }; - - qcom,msm-dai-q6-incall-record-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <32771>; - }; - - qcom,msm-dai-q6-incall-record-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <32772>; - }; - - qcom,msm-dai-q6-incall-music-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <32773>; - }; - }; - - qcom,msm-auxpcm { - compatible = "qcom,msm-auxpcm-resource"; - qcom,msm-cpudai-auxpcm-clk = "pcm_clk"; - 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-slot = <1>, <1>; - qcom,msm-cpudai-auxpcm-data = <0>, <0>; - qcom,msm-cpudai-auxpcm-pcm-clk-rate = <2048000>, <2048000>; - - qcom,msm-prim-auxpcm-rx { - qcom,msm-auxpcm-dev-id = <4106>; - compatible = "qcom,msm-auxpcm-dev"; - }; - - qcom,msm-prim-auxpcm-tx { - qcom,msm-auxpcm-dev-id = <4107>; - compatible = "qcom,msm-auxpcm-dev"; - }; - - qcom,msm-sec-auxpcm-rx { - qcom,msm-auxpcm-dev-id = <4108>; - compatible = "qcom,msm-auxpcm-dev"; - }; - - qcom,msm-sec-auxpcm-tx { - qcom,msm-auxpcm-dev-id = <4109>; - compatible = "qcom,msm-auxpcm-dev"; - }; - }; - - qcom,msm-dai-mi2s { - compatible = "qcom,msm-dai-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>; - }; - }; - - qcom,msm-pcm-hostless { - compatible = "qcom,msm-pcm-hostless"; - }; - - qcom,msm-ocmem-audio { - compatible = "qcom,msm-ocmem-audio"; - qcom,msm-bus,name = "audio-ocmem"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <11 604 0 0>, - <11 604 32506 32506>; - }; - - qcom,msm-adsp-sensors { - compatible = "qcom,msm-adsp-sensors"; - qcom,src-id = <11>; - qcom,dst-id = <604>; - qcom,ab = <32505856>; - qcom,ib = <32505856>; - }; - - qcom,mss@fc880000 { - compatible = "qcom,pil-q6v5-mss"; - reg = <0xfc880000 0x100>, - <0xfd485000 0x400>, - <0xfc820000 0x020>, - <0xfc401680 0x004>; - reg-names = "qdsp6_base", "halt_base", "rmb_base", - "restart_reg"; - - interrupts = <0 24 1>; - vdd_mss-supply = <&pm8841_s3>; - vdd_cx-supply = <&pm8841_s2_corner>; - vdd_mx-supply = <&pm8841_s1>; - vdd_pll-supply = <&pm8941_l12>; - qcom,vdd_pll = <1800000>; - qcom,firmware-name = "mba"; - qcom,pil-self-auth; - - /* 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>; - }; - - qcom,pronto@fb21b000 { - compatible = "qcom,pil-pronto"; - reg = <0xfb21b000 0x3000>, - <0xfc401700 0x4>, - <0xfd485300 0xc>; - reg-names = "pmu_base", "clk_base", "halt_base"; - interrupts = <0 149 1>; - vdd_pronto_pll-supply = <&pm8941_l12>; - - qcom,firmware-name = "wcnss"; - - /* GPIO inputs from wcnss */ - qcom,gpio-err-fatal = <&smp2pgpio_ssr_smp2p_4_in 0 0>; - qcom,gpio-err-ready = <&smp2pgpio_ssr_smp2p_4_in 1 0>; - qcom,gpio-proxy-unvote = <&smp2pgpio_ssr_smp2p_4_in 2 0>; - - /* GPIO output to wcnss */ - qcom,gpio-force-stop = <&smp2pgpio_ssr_smp2p_4_out 0 0>; - }; - - qcom,iris-fm { - compatible = "qcom,iris_fm"; - }; - - qcom,wcnss-wlan@fb000000 { - compatible = "qcom,wcnss_wlan"; - reg = <0xfb000000 0x280000>, - <0xf9011008 0x04>; - reg-names = "wcnss_mmio", "wcnss_fiq"; - interrupts = <0 145 0 0 146 0>; - interrupt-names = "wcnss_wlantx_irq", "wcnss_wlanrx_irq"; - - qcom,pronto-vddmx-supply = <&pm8841_s1>; - qcom,pronto-vddcx-supply = <&pm8841_s2>; - qcom,pronto-vddpx-supply = <&pm8941_s3>; - qcom,iris-vddxo-supply = <&pm8941_l6>; - qcom,iris-vddrfa-supply = <&pm8941_l11>; - qcom,iris-vddpa-supply = <&pm8941_l19>; - qcom,iris-vdddig-supply = <&pm8941_l3>; - - gpios = <&msmgpio 36 0>, <&msmgpio 37 0>, <&msmgpio 38 0>, <&msmgpio 39 0>, <&msmgpio 40 0>; - qcom,has-48mhz-xo; - qcom,has-pronto-hw; - }; - - qcom,ocmem@fdd00000 { - compatible = "qcom,msm-ocmem"; - reg = <0xfdd00000 0x2000>, - <0xfdd02000 0x2000>, - <0xfe039000 0x400>, - <0xfec00000 0x180000>; - 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 = <0x3>; - qcom,ocmem-num-macros = <0x18>; - qcom,resource-type = <0x706d636f>; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0x0 0xfec00000 0x180000>; - - partition@0 { - reg = <0x0 0x100000>; - qcom,ocmem-part-name = "graphics"; - qcom,ocmem-part-min = <0x80000>; - }; - - partition@80000 { - reg = <0x100000 0x80000>; - qcom,ocmem-part-name = "lp_audio"; - qcom,ocmem-part-min = <0x80000>; - }; - - partition@100000 { - reg = <0x100000 0x80000>; - qcom,ocmem-part-name = "video"; - qcom,ocmem-part-min = <0x55000>; - }; - - }; - - 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>; - }; - - qseecom: qcom,qseecom@7f00000 { - compatible = "qcom,qseecom"; - reg = <0x7f00000 0x500000>; - reg-names = "secapp-region"; - qcom,disk-encrypt-pipe-pair = <2>; - qcom,hlos-ce-hw-instance = <1>; - 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,msm-bus,vectors-KBps = - <55 512 0 0>, - <55 512 3936000 393600>, - <55 512 3936000 393600>, - <55 512 3936000 393600>; - }; - - qcom,wdt@f9017000 { - compatible = "qcom,msm-watchdog"; - reg = <0xf9017000 0x1000>; - interrupts = <0 3 0>, <0 4 0>; - qcom,bark-time = <11000>; - qcom,pet-time = <10000>; - qcom,ipi-ping; - }; - - qcom,tz-log@fe805720 { - compatible = "qcom,tz-log"; - reg = <0xfe805720 0x1000>; - }; - - qcom,venus@fdce0000 { - compatible = "qcom,pil-venus"; - reg = <0xfdce0000 0x4000>, - <0xfdc80000 0x400>; - reg-names = "wrapper_base", "vbif_base"; - vdd-supply = <&gdsc_venus>; - - qcom,firmware-name = "venus"; - }; - - qcom,cache_erp@f9012000 { - reg = <0xf9012000 0x80>, - <0xf9089000 0x80>, - <0xf9099000 0x80>, - <0xf90a9000 0x80>, - <0xf90b9000 0x80>, - <0xf9088000 0x40>, - <0xf9098000 0x40>, - <0xf90a8000 0x40>, - <0xf90b8000 0x40>; - - reg-names = "l2_saw", - "krait0_saw", - "krait1_saw", - "krait2_saw", - "krait3_saw", - "krait0_acs", - "krait1_acs", - "krait2_acs", - "krait3_acs"; - - compatible = "qcom,cache_erp"; - interrupts = <1 9 0>, <0 2 0>; - interrupt-names = "l1_irq", "l2_irq"; - }; - - qcom,cache_dump { - compatible = "qcom,cache_dump"; - qcom,l1-dump-size = <0x100000>; - qcom,l2-dump-size = <0x500000>; - qcom,memory-reservation-type = "EBI1"; - qcom,memory-reservation-size = <0x600000>; /* 6M EBI1 buffer */ - }; - - tsens: tsens@fc4a8000 { - compatible = "qcom,msm-tsens"; - reg = <0xfc4a8000 0x2000>, - <0xfc4b8000 0x1000>; - reg-names = "tsens_physical", "tsens_eeprom_physical"; - interrupts = <0 184 0>; - qcom,sensors = <11>; - qcom,slope = <3200 3200 3200 3200 3200 3200 3200 3200 3200 - 3200 3200>; - qcom,calib-mode = "fuse_map1"; - }; - - qcom,msm-rtb { - compatible = "qcom,msm-rtb"; - qcom,memory-reservation-type = "EBI1"; - qcom,memory-reservation-size = <0x100000>; /* 1M EBI1 buffer */ - }; - - qcom,msm-contig-mem { - compatible = "qcom,msm-contig-mem"; - qcom,memory-reservation-type = "EBI1"; - qcom,memory-reservation-size = <0x280000>; /* 2.5M EBI1 buffer */ - }; - - qcom,qcedev@fd440000 { - compatible = "qcom,qcedev"; - reg = <0xfd440000 0x20000>, - <0xfd444000 0x8000>; - reg-names = "crypto-base","crypto-bam-base"; - interrupts = <0 236 0>; - qcom,bam-pipe-pair = <1>; - qcom,ce-hw-instance = <1>; - qcom,msm-bus,name = "qcedev-noc"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <56 512 0 0>, - <56 512 3936000 393600>; - }; - - qcom,qcrypto@fd444000 { - compatible = "qcom,qcrypto"; - reg = <0xfd440000 0x20000>, - <0xfd444000 0x8000>; - reg-names = "crypto-base","crypto-bam-base"; - interrupts = <0 236 0>; - qcom,bam-pipe-pair = <2>; - qcom,ce-hw-instance = <1>; - qcom,msm-bus,name = "qcrypto-noc"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <56 512 0 0>, - <56 512 3936000 393600>; - }; - - qcom,usbbam@f9304000 { - compatible = "qcom,usb-bam-msm"; - reg = <0xf9304000 0x5000>, - <0xf9a44000 0x11000>, - <0xf92f880c 0x4>; - reg-names = "ssusb", "hsusb", "qscratch_ram1_reg"; - interrupts = <0 132 0 0 135 0>; - interrupt-names = "ssusb", "hsusb"; - qcom,usb-bam-num-pipes = <16>; - qcom,usb-bam-fifo-baseaddr = <0xf9200000>; - qcom,ignore-core-reset-ack; - qcom,disable-clk-gating; - - qcom,pipe0 { - 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; - }; - - qcom,pipe1 { - label = "hsusb-qdss-in-0"; - qcom,usb-bam-mem-type = <1>; - qcom,bam-type = <1>; - 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 = <0xf9a44000>; - qcom,dst-bam-pipe-index = <2>; - qcom,data-fifo-offset = <0xf4000>; - qcom,data-fifo-size = <0x1000>; - qcom,descriptor-fifo-offset = <0xf5000>; - qcom,descriptor-fifo-size = <0x400>; - }; - }; - - qcom,msm-thermal { - compatible = "qcom,msm-thermal"; - qcom,sensor-id = <5>; - qcom,poll-ms = <250>; - qcom,limit-temp = <60>; - qcom,temp-hysteresis = <10>; - qcom,freq-step = <2>; - qcom,freq-control-mask = <0xf>; - qcom,core-limit-temp = <80>; - qcom,core-temp-hysteresis = <10>; - qcom,core-control-mask = <0xe>; - qcom,vdd-restriction-temp = <5>; - qcom,vdd-restriction-temp-hysteresis = <10>; - qcom,pmic-sw-mode-temp = <85>; - qcom,pmic-sw-mode-temp-hysteresis = <75>; - qcom,pmic-sw-mode-regs = "vdd_dig"; - vdd_dig-supply = <&pm8841_s2_floor_corner>; - vdd_gfx-supply = <&pm8841_s4_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 */ - }; - - qcom,vdd-apps-rstr{ - qcom,vdd-rstr-reg = "vdd_apps"; - qcom,levels = <1881600 1958400 2265600>; - qcom,freq-req; - }; - }; - - qcom,bam_dmux@fc834000 { - compatible = "qcom,bam_dmux"; - reg = <0xfc834000 0x7000>; - interrupts = <0 29 1>; - qcom,rx-ring-size = <64>; - }; - - memory_hole: qcom,msm-mem-hole { - compatible = "qcom,msm-mem-hole"; - qcom,memblock-remove = <0x7f00000 0x8000000>; /* Address and Size of Hole */ - }; - - uart7: uart@f995d000 { /*BLSP #2, UART #7 */ - compatible = "qcom,msm-hsuart-v14"; - status = "disabled"; - reg = <0xf995d000 0x1000>, - <0xf9944000 0x19000>; - reg-names = "core_mem", "bam_mem"; - interrupts = <0 113 0>, <0 239 0>; - interrupt-names = "core_irq", "bam_irq"; - - qcom,bam-tx-ep-pipe-index = <0>; - qcom,bam-rx-ep-pipe-index = <1>; - qcom,msm-bus,name = "uart7"; - 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,smem@fa00000 { - compatible = "qcom,smem"; - reg = <0xfa00000 0x200000>, - <0xf9011000 0x1000>, - <0xfc428000 0x4000>; - reg-names = "smem", "irq-reg-base", "aux-mem1"; - - qcom,smd-modem { - compatible = "qcom,smd"; - qcom,smd-edge = <0>; - qcom,smd-irq-offset = <0x8>; - qcom,smd-irq-bitmask = <0x1000>; - qcom,pil-string = "modem"; - interrupts = <0 25 1>; - }; - - qcom,smsm-modem { - compatible = "qcom,smsm"; - qcom,smsm-edge = <0>; - qcom,smsm-irq-offset = <0x8>; - qcom,smsm-irq-bitmask = <0x2000>; - interrupts = <0 26 1>; - }; - - qcom,smd-adsp { - compatible = "qcom,smd"; - qcom,smd-edge = <1>; - qcom,smd-irq-offset = <0x8>; - qcom,smd-irq-bitmask = <0x100>; - qcom,pil-string = "adsp"; - interrupts = <0 156 1>; - }; - - qcom,smsm-adsp { - compatible = "qcom,smsm"; - qcom,smsm-edge = <1>; - qcom,smsm-irq-offset = <0x8>; - qcom,smsm-irq-bitmask = <0x200>; - interrupts = <0 157 1>; - }; - - qcom,smd-wcnss { - compatible = "qcom,smd"; - qcom,smd-edge = <6>; - qcom,smd-irq-offset = <0x8>; - qcom,smd-irq-bitmask = <0x20000>; - qcom,pil-string = "wcnss"; - interrupts = <0 142 1>; - }; - - qcom,smsm-wcnss { - compatible = "qcom,smsm"; - qcom,smsm-edge = <6>; - qcom,smsm-irq-offset = <0x8>; - qcom,smsm-irq-bitmask = <0x80000>; - interrupts = <0 144 1>; - }; - - qcom,smd-rpm { - compatible = "qcom,smd"; - qcom,smd-edge = <15>; - qcom,smd-irq-offset = <0x8>; - qcom,smd-irq-bitmask = <0x1>; - interrupts = <0 168 1>; - qcom,irq-no-suspend; - }; - }; - - qcom,bcl { - compatible = "qcom,bcl"; - }; - - qcom,ssm { - compatible = "qcom,ssm"; - qcom,channel-name = "SSM_RTR"; - }; - - sfpb_spinlock: qcom,ipc-spinlock@fd484000 { - compatible = "qcom,ipc-spinlock-sfpb"; - reg = <0xfd484000 0x400>; - qcom,num-locks = <8>; - }; - - ldrex_spinlock: qcom,ipc-spinlock@fa00000 { - compatible = "qcom,ipc-spinlock-ldrex"; - reg = <0xfa00000 0x200000>; - status = "disable"; - }; - - cpu-pmu { - compatible = "qcom,krait-pmu"; - qcom,irq-is-percpu; - interrupts = <1 7 0xf00>; - }; - - l2-pmu { - compatible = "qcom,l2-pmu"; - interrupts = <0 1 0>; - }; - - qcom,smdtty { - compatible = "qcom,smdtty"; - - smdtty_apps_fm: qcom,smdtty-apps-fm { - qcom,smdtty-remote = "wcnss"; - qcom,smdtty-port-name = "APPS_FM"; - }; - - smdtty_apps_riva_bt_acl: smdtty-apps-riva-bt-acl { - qcom,smdtty-remote = "wcnss"; - qcom,smdtty-port-name = "APPS_RIVA_BT_ACL"; - }; - - smdtty_apps_riva_bt_cmd: qcom,smdtty-apps-riva-bt-cmd { - qcom,smdtty-remote = "wcnss"; - qcom,smdtty-port-name = "APPS_RIVA_BT_CMD"; - }; - - smdtty_mbalbridge: qcom,smdtty-mbalbridge { - qcom,smdtty-remote = "modem"; - qcom,smdtty-port-name = "MBALBRIDGE"; - }; - - smdtty_apps_riva_ant_cmd: smdtty-apps-riva-ant-cmd { - qcom,smdtty-remote = "wcnss"; - qcom,smdtty-port-name = "APPS_RIVA_ANT_CMD"; - }; - - smdtty_apps_riva_ant_data: smdtty-apps-riva-ant-data { - qcom,smdtty-remote = "wcnss"; - qcom,smdtty-port-name = "APPS_RIVA_ANT_DATA"; - }; - - smdtty_data1: qcom,smdtty-data1 { - qcom,smdtty-remote = "modem"; - qcom,smdtty-port-name = "DATA1"; - }; - - smdtty_data11: qcom,smdtty-data11 { - qcom,smdtty-remote = "modem"; - qcom,smdtty-port-name = "DATA11"; - }; - - smdtty_data21: qcom,smdtty-data21 { - qcom,smdtty-remote = "modem"; - qcom,smdtty-port-name = "DATA21"; - }; - - smdtty_gps_nmea: smdtty-gpsnmea { - qcom,smdtty-remote = "modem"; - qcom,smdtty-port-name = "GPSNMEA"; - }; - - smdtty_loopback: smdtty-loopback { - qcom,smdtty-remote = "modem"; - qcom,smdtty-port-name = "LOOPBACK"; - qcom,smdtty-dev-name = "LOOPBACK_TTY"; - }; - }; -}; - -&gdsc_venus { - qcom,clock-names = "core_clk"; - qcom,skip-logic-collapse; - status = "ok"; -}; - -&gdsc_mdss { - qcom,clock-names = "core_clk", "lut_clk"; - qcom,retain-periph; - status = "ok"; -}; - -&gdsc_jpeg { - qcom,clock-names = "core0_clk", "core1_clk", "core2_clk"; - status = "ok"; -}; - -&gdsc_vfe { - qcom,clock-names = "core0_clk", "core1_clk", "csi0_clk", "csi1_clk", - "cpp_clk"; - status = "ok"; -}; - -&gdsc_oxili_gx { - qcom,clock-names = "core_clk"; - qcom,retain-mem; - qcom,retain-periph; - status = "ok"; -}; - -&gdsc_oxili_cx { - status = "ok"; -}; - -&gdsc_usb_hsic { - status = "ok"; -}; - -/include/ "msm-pm8x41-rpm-regulator.dtsi" -/include/ "msm-pm8841.dtsi" -/include/ "msm-pm8941.dtsi" -/include/ "msm8974-regulator.dtsi" -/include/ "msm8974-clock.dtsi" diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm9625-cdp.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm9625-cdp.dtsi deleted file mode 100644 index 6ddb50b82..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm9625-cdp.dtsi +++ /dev/null @@ -1,100 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/include/ "msm9625-display.dtsi" -/include/ "qpic-panel-ili-qvga.dtsi" - -&soc { - i2c@f9925000 { - charger@57 { - compatible = "summit,smb137c"; - reg = <0x57>; - summit,chg-current-ma = <1500>; - summit,term-current-ma = <50>; - summit,pre-chg-current-ma = <100>; - summit,float-voltage-mv = <4200>; - summit,thresh-voltage-mv = <3000>; - summit,recharge-thresh-mv = <75>; - summit,system-voltage-mv = <4250>; - summit,charging-timeout = <382>; - summit,pre-charge-timeout = <48>; - summit,therm-current-ua = <10>; - summit,temperature-min = <4>; /* 0 C */ - summit,temperature-max = <3>; /* 45 C */ - }; - }; - - wlan0: qca,wlan { - cell-index = <0>; - compatible = "qca,ar6004-hsic"; - qca,chip-pwd-l-gpios = <&msmgpio 62 0>; - qca,pm-enable-gpios = <&pm8019_gpios 3 0x0>; - qca,vdd-io-supply = <&pm8019_l11>; - }; - - qca,wlan_ar6003 { - cell-index = <0>; - compatible = "qca,ar6003-sdio"; - qca,chip-pwd-l-gpios = <&msmgpio 62 0>; - qca,pm-enable-gpios = <&pm8019_gpios 3 0x0>; - qca,vdd-io-supply = <&pm8019_l11>; - }; -}; - -/* PM8019 GPIO and MPP configuration */ -&pm8019_gpios { - gpio@c000 { /* GPIO 1 */ - }; - - gpio@c100 { /* GPIO 2 */ - }; - - gpio@c200 { /* GPIO 3 */ - }; - - gpio@c300 { /* GPIO 4 */ - /* ext_2p95v regulator enable config */ - qcom,mode = <1>; /* Digital output */ - qcom,output-type = <0>; /* CMOS */ - qcom,invert = <0>; /* Output low */ - qcom,out-strength = <1>; /* Low */ - qcom,vin-sel = <2>; /* PM8019 L11 - 1.8V */ - qcom,src-sel = <0>; /* Constant */ - qcom,master-en = <1>; /* Enable GPIO */ - }; - - gpio@c400 { /* GPIO 5 */ - }; - - gpio@c500 { /* GPIO 6 */ - }; -}; - -&pm8019_mpps { - mpp@a000 { /* MPP 1 */ - }; - - mpp@a100 { /* MPP 2 */ - }; - - mpp@a200 { /* MPP 3 */ - }; - - mpp@a300 { /* MPP 4 */ - }; - - mpp@a400 { /* MPP 5 */ - }; - - mpp@a500 { /* MPP 6 */ - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm9625-coresight.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm9625-coresight.dtsi deleted file mode 100644 index 3c00ae8c2..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm9625-coresight.dtsi +++ /dev/null @@ -1,259 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&soc { - tmc_etr: tmc@fc322000 { - compatible = "arm,coresight-tmc"; - reg = <0xfc322000 0x1000>, - <0xfc37c000 0x3000>; - reg-names = "tmc-base", "bam-base"; - - qcom,memory-reservation-type = "EBI1"; - qcom,memory-reservation-size = <0x20000>; /* 128K EBI1 buffer */ - - coresight-id = <0>; - coresight-name = "coresight-tmc-etr"; - coresight-nr-inports = <1>; - coresight-ctis = <&cti0 &cti8>; - }; - - tpiu: tpiu@fc318000 { - compatible = "arm,coresight-tpiu"; - reg = <0xfc318000 0x1000>; - reg-names = "tpiu-base"; - - coresight-id = <1>; - coresight-name = "coresight-tpiu"; - coresight-nr-inports = <1>; - - vdd-supply = <&ext_2p95v>; - }; - - replicator: replicator@fc31c000 { - compatible = "qcom,coresight-replicator"; - reg = <0xfc31c000 0x1000>; - reg-names = "replicator-base"; - - coresight-id = <2>; - coresight-name = "coresight-replicator"; - coresight-nr-inports = <1>; - coresight-outports = <0 1>; - coresight-child-list = <&tmc_etr &tpiu>; - coresight-child-ports = <0 0>; - }; - - tmc_etf: tmc@fc307000 { - compatible = "arm,coresight-tmc"; - reg = <0xfc307000 0x1000>; - reg-names = "tmc-base"; - - coresight-id = <3>; - coresight-name = "coresight-tmc-etf"; - coresight-nr-inports = <1>; - coresight-outports = <0>; - coresight-child-list = <&replicator>; - coresight-child-ports = <0>; - coresight-default-sink; - coresight-ctis = <&cti0 &cti8>; - }; - - funnel_merg: funnel@fc31b000 { - compatible = "arm,coresight-funnel"; - reg = <0xfc31b000 0x1000>; - reg-names = "funnel-base"; - - coresight-id = <4>; - coresight-name = "coresight-funnel-merg"; - coresight-nr-inports = <2>; - coresight-outports = <0>; - coresight-child-list = <&tmc_etf>; - coresight-child-ports = <0>; - }; - - funnel_in0: funnel@fc319000 { - compatible = "arm,coresight-funnel"; - reg = <0xfc319000 0x1000>; - reg-names = "funnel-base"; - - coresight-id = <5>; - coresight-name = "coresight-funnel-in0"; - coresight-nr-inports = <8>; - coresight-outports = <0>; - coresight-child-list = <&funnel_merg>; - coresight-child-ports = <0>; - }; - - funnel_in1: funnel@fc31a000 { - compatible = "arm,coresight-funnel"; - reg = <0xfc31a000 0x1000>; - reg-names = "funnel-base"; - - coresight-id = <6>; - coresight-name = "coresight-funnel-in1"; - coresight-nr-inports = <8>; - coresight-outports = <0>; - coresight-child-list = <&funnel_merg>; - coresight-child-ports = <1>; - }; - - stm: stm@fc321000 { - compatible = "arm,coresight-stm"; - reg = <0xfc321000 0x1000>, - <0xfa280000 0x180000>; - reg-names = "stm-base", "stm-data-base"; - - coresight-id = <7>; - coresight-name = "coresight-stm"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_in1>; - coresight-child-ports = <7>; - }; - - etm0: etm@fc332000 { - compatible = "arm,coresight-etm"; - reg = <0xfc332000 0x1000>; - reg-names = "etm-base"; - - coresight-id = <8>; - coresight-name = "coresight-etm0"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_in0>; - coresight-child-ports = <4>; - - qcom,round-robin; - }; - - csr: csr@fc302000 { - compatible = "qcom,coresight-csr"; - reg = <0xfc302000 0x1000>; - reg-names = "csr-base"; - - coresight-id = <9>; - coresight-name = "coresight-csr"; - coresight-nr-inports = <0>; - - qcom,blk-size = <1>; - }; - - cti0: cti@fc308000 { - compatible = "arm,coresight-cti"; - reg = <0xfc308000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <10>; - coresight-name = "coresight-cti0"; - coresight-nr-inports = <0>; - }; - - cti1: cti@fc309000 { - compatible = "arm,coresight-cti"; - reg = <0xfc309000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <11>; - coresight-name = "coresight-cti1"; - coresight-nr-inports = <0>; - }; - - cti2: cti@fc30a000 { - compatible = "arm,coresight-cti"; - reg = <0xfc30a000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <12>; - coresight-name = "coresight-cti2"; - coresight-nr-inports = <0>; - }; - - cti3: cti@fc30b000 { - compatible = "arm,coresight-cti"; - reg = <0xfc30b000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <13>; - coresight-name = "coresight-cti3"; - coresight-nr-inports = <0>; - }; - - cti4: cti@fc30c000 { - compatible = "arm,coresight-cti"; - reg = <0xfc30c000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <14>; - coresight-name = "coresight-cti4"; - coresight-nr-inports = <0>; - }; - - cti5: cti@fc30d000 { - compatible = "arm,coresight-cti"; - reg = <0xfc30d000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <15>; - coresight-name = "coresight-cti5"; - coresight-nr-inports = <0>; - }; - - cti6: cti@fc30e000 { - compatible = "arm,coresight-cti"; - reg = <0xfc30e000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <16>; - coresight-name = "coresight-cti6"; - coresight-nr-inports = <0>; - }; - - cti7: cti@fc30f000 { - compatible = "arm,coresight-cti"; - reg = <0xfc30f000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <17>; - coresight-name = "coresight-cti7"; - coresight-nr-inports = <0>; - }; - - cti8: cti@fc310000 { - compatible = "arm,coresight-cti"; - reg = <0xfc310000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <18>; - coresight-name = "coresight-cti8"; - coresight-nr-inports = <0>; - }; - - cti_cpu: cti@fc333000 { - compatible = "arm,coresight-cti"; - reg = <0xfc333000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <19>; - coresight-name = "coresight-cti-cpu"; - coresight-nr-inports = <0>; - }; - - hwevent: hwevent@f9011038 { - compatible = "qcom,coresight-hwevent"; - reg = <0xf9011038 0x8>, - <0xfd4ab160 0x80>; - reg-names = "apcs-mux", "ppss-mux"; - - coresight-id = <20>; - coresight-name = "coresight-hwevent"; - coresight-nr-inports = <0>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm9625-display.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm9625-display.dtsi deleted file mode 100644 index 287a63aef..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm9625-display.dtsi +++ /dev/null @@ -1,20 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -&soc { - qcom,msm_qpic@f9ac0000 { - compatible = "qcom,mdss_qpic"; - reg = <0xf9ac0000 0x24000>; - reg-names = "qpic_base"; - interrupts = <0 251 0>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm9625-ion.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm9625-ion.dtsi deleted file mode 100644 index 6f9bb535d..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm9625-ion.dtsi +++ /dev/null @@ -1,35 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&soc { - qcom,ion { - compatible = "qcom,msm-ion"; - #address-cells = <1>; - #size-cells = <0>; - - qcom,ion-heap@30 { /* SYSTEM HEAP */ - reg = <30>; - }; - - qcom,ion-heap@25 { /* IOMMU HEAP */ - reg = <25>; - }; - - qcom,ion-heap@28 { /* AUDIO HEAP */ - compatible = "qcom,msm-ion-reserve"; - reg = <28>; - qcom,heap-align = <0x1000>; - qcom,memory-reservation-type = "EBI1"; /* reserve EBI memory */ - qcom,memory-reservation-size = <0xE9000>; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm9625-mtp.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm9625-mtp.dtsi deleted file mode 100755 index da183fa17..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm9625-mtp.dtsi +++ /dev/null @@ -1,138 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&soc { - i2c@f9925000 { - qcom_ssd1306@3C { - compatible = "qcom,ssd1306"; - reg = <0x3C>; - }; - }; - - oled { - compatible = "tp,oled_pt"; - qcom,oled_ssd1306 { - compatible = "qcom,oled_ssd1306_pt"; - qcom,oled-cs-gpio = <&msmgpio 4 0>; - qcom,oled-a0-gpio = <&msmgpio 5 0>; - qcom,oled-res-gpio = <&msmgpio 6 0>; - qcom,oled-boost-en-gpio = <&msmgpio 7 0>; - }; - }; - - wlan0: qca,wlan { - cell-index = <0>; - compatible = "qca,ar6004-hsic"; - qca,chip-pwd-l-gpios = <&msmgpio 62 0>; - qca,pm-enable-gpios = <&pm8019_gpios 3 0x0>; - qca,vdd-io-supply = <&pm8019_l11>; - }; - - qca,wlan_ar6003 { - cell-index = <0>; - compatible = "qca,ar6003-sdio"; - qca,chip-pwd-l-gpios = <&msmgpio 62 0>; - qca,pm-enable-gpios = <&pm8019_gpios 3 0x0>; - qca,vdd-io-supply = <&pm8019_l11>; - }; - - mp2617 { - cell-index = <0>; - compatible = "mps,mp2617"; - mps,chg-current-ma = <1000>; - mps,chg-vbat-div = <3>; /* Divided by 3 before input */ - mps,chg-en-gpio = <&msmgpio 13 0>; /* refer to board-9625-gpiomux.c */ - mps,chg-ok-gpio = <&msmgpio 70 0>; - mps,chg-m0-gpio = <&msmgpio 16 0>; - mps,chg-m1-gpio = <&msmgpio 17 0>; - - /* The following is for power bank */ - mps,chg-det-resistor = <100>; /* 100m Ohm */ - mps,chg-batt-resistor = <120>; /* 120m Ohm */ - mps,chg-boost-en-gpio = <&msmgpio 14 0>; - }; -}; - -/* PM8019 GPIO and MPP configuration */ -&pm8019_gpios { - gpio@c000 { /* GPIO 1 */ - }; - - gpio@c100 { /* GPIO 2 */ - }; - - gpio@c200 { /* GPIO 3 */ - }; - - gpio@c300 { /* GPIO 4 */ - /* ext_2p95v regulator enable config */ - qcom,mode = <1>; /* Digital output */ - qcom,output-type = <0>; /* CMOS */ - qcom,invert = <0>; /* Output low */ - qcom,out-strength = <1>; /* Low */ - qcom,vin-sel = <2>; /* PM8019 L11 - 1.8V */ - qcom,src-sel = <0>; /* Constant */ - qcom,master-en = <1>; /* Enable GPIO */ - }; - - gpio@c400 { /* GPIO 5 */ - }; - - gpio@c500 { /* GPIO 6 */ - }; -}; - -&pm8019_mpps { - /* [linyunfeng] Detect voltage on resistor*/ - mpp@a000 { /* MPP 1 */ - /* channel 16 */ - qcom,mode = <4>; - qcom,ain-route = <0>; /* AMUX 5 */ - qcom,master-en = <1>; - qcom,src-sel = <0>; /* Function constant */ - qcom,invert = <1>; - }; - - /* [linyunfeng] Detect battery voltage */ - mpp@a100 { /* MPP 2 */ - /* channel 17 */ - qcom,mode = <4>; - qcom,ain-route = <1>; /* AMUX 6 */ - qcom,master-en = <1>; - qcom,src-sel = <0>; /* Function constant */ - qcom,invert = <1>; - }; - - mpp@a200 { /* MPP 3 */ - }; - - mpp@a300 { /* MPP 4 */ - /* VADC channel 19 */ - qcom,mode = <4>; - qcom,ain-route = <3>; /* AMUX 8 */ - qcom,master-en = <1>; - qcom,src-sel = <0>; /* Function constant */ - qcom,invert = <1>; - }; - - mpp@a400 { /* MPP 5 */ - }; - - mpp@a500 { /* MPP 6 */ - /* channel 21 */ - qcom,mode = <4>; - qcom,ain-route = <1>; /* AMUX 6 */ - qcom,master-en = <1>; - qcom,src-sel = <0>; /* Function constant */ - qcom,invert = <1>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm9625-pm.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm9625-pm.dtsi deleted file mode 100644 index 673b64053..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm9625-pm.dtsi +++ /dev/null @@ -1,299 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/include/ "skeleton.dtsi" - -&soc { - qcom,spm@f9009000 { - compatible = "qcom,spm-v2"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xf9009000 0x1000>; - qcom,core-id = <0>; - qcom,saw2-ver-reg = <0xfd0>; - qcom,saw2-cfg = <0x101>; - qcom,saw2-spm-dly= <0>; - qcom,saw2-spm-ctl = <0x1>; - qcom,saw2-spm-cmd-wfi = [04 03 04 0f]; - qcom,saw2-spm-cmd-spc = [34 04 44 14 24 54 03 54 44 14 04 24 - 3e 0f]; - qcom,saw2-spm-cmd-pc = [34 04 44 14 24 54 07 54 44 14 04 24 - 3e 0f]; - }; - - qcom,lpm-resources { - compatible = "qcom,lpm-resources"; - #address-cells = <1>; - #size-cells = <0>; - - qcom,lpm-resources@0 { - reg = <0x0>; - qcom,name = "vdd-dig"; - qcom,type = <0x616F646C>; /* "ldoa" */ - qcom,id = <0x0A>; - qcom,key = <0x6e726f63>; /* "corn" */ - qcom,init-value = <5>; /* Super Turbo */ - }; - - qcom,lpm-resources@1 { - reg = <0x1>; - qcom,name = "vdd-mem"; - qcom,type = <0x616F646C>; /* "ldoa" */ - qcom,id = <0x0C>; - qcom,key = <0x7675>; /* "uv" */ - qcom,init-value = <1050000>; /* Super Turbo */ - }; - - qcom,lpm-resources@2 { - reg = <0x2>; - qcom,name = "pxo"; - qcom,type = <0x306b6c63>; /* "clk0" */ - qcom,id = <0x00>; - qcom,key = <0x62616e45>; /* "Enab" */ - qcom,init-value = "xo_on"; - }; - }; - - qcom,lpm-levels { - compatible = "qcom,lpm-levels"; - #address-cells = <1>; - #size-cells = <0>; - - qcom,use-qtimer; - - qcom,lpm-level@0 { - reg = <0x0>; - qcom,mode = "wfi"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_active"; - qcom,vdd-mem-upper-bound = <1050000>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <950000>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <100>; - qcom,ss-power = <8000>; - qcom,energy-overhead = <100000>; - qcom,time-overhead = <1>; - }; - - qcom,lpm-level@1 { - reg = <0x1>; - qcom,mode = "standalone_pc"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_active"; - qcom,vdd-mem-upper-bound = <1050000>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <950000>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <2000>; - qcom,ss-power = <5000>; - qcom,energy-overhead = <60100000>; - qcom,time-overhead = <3000>; - }; - - qcom,lpm-level@2 { - reg = <0x2>; - qcom,mode = "pc"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_gdhs"; - qcom,vdd-mem-upper-bound = <1050000>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <950000>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <3500>; - qcom,ss-power = <5000>; - qcom,energy-overhead = <60350000>; - qcom,time-overhead = <6300>; - }; - - qcom,lpm-level@3 { - reg = <0x3>; - qcom,mode = "pc"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_pc"; - qcom,vdd-mem-upper-bound = <1050000>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <950000>; /* SVS SOC */ - qcom,vdd-dig-upper-bound = <4>; /* NORMAL */ - qcom,vdd-dig-lower-bound = <3>; /* SVS SOC */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <4500>; - qcom,ss-power = <5000>; - qcom,energy-overhead = <60350000>; - qcom,time-overhead = <7300>; - }; - - qcom,lpm-level@4 { - reg = <0x4>; - qcom,mode = "pc"; - qcom,xo = "xo_off"; - qcom,l2 = "l2_cache_pc"; - qcom,vdd-mem-upper-bound = <1050000>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <950000>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,irqs-detectable; - qcom,latency-us = <6800>; - qcom,ss-power = <2000>; - qcom,energy-overhead = <71850000>; - qcom,time-overhead = <13300>; - }; - - qcom,lpm-level@5 { - reg = <0x5>; - qcom,mode = "pc"; - qcom,xo = "xo_off"; - qcom,l2 = "l2_cache_pc"; - qcom,vdd-mem-upper-bound = <1050000>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <950000>; /* SVS SOC */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <3>; /* SVS SOC */ - qcom,irqs-detectable; - qcom,latency-us = <8000>; - qcom,ss-power = <1800>; - qcom,energy-overhead = <71950000>; - qcom,time-overhead = <15300>; - }; - - qcom,lpm-level@6 { - reg = <0x6>; - qcom,mode = "pc"; - qcom,xo = "xo_off"; - qcom,l2 = "l2_cache_pc"; - qcom,vdd-mem-upper-bound = <950000>; /* SVS SOC */ - qcom,vdd-mem-lower-bound = <675000>; /* RETENTION */ - qcom,vdd-dig-upper-bound = <3>; /* SVS SOC */ - qcom,vdd-dig-lower-bound = <1>; /* RETENTION */ - qcom,latency-us = <9800>; - qcom,ss-power = <0>; - qcom,energy-overhead = <76350000>; - qcom,time-overhead = <28300>; - }; - }; - - qcom,pm-boot { - compatible = "qcom,pm-boot"; - qcom,mode = "tz"; - }; - - qcom,mpm@fc4281d0 { - compatible = "qcom,mpm-v2"; - reg = <0xfc4281d0 0x1000>, /* MSM_RPM_MPM_BASE 4K */ - <0xf9011008 0x4>; /* MSM_APCS_GCC_BASE 4K */ - reg-names = "vmpm", "ipc"; - interrupts = <0 171 1>; - - qcom,ipc-bit-offset = <1>; - - qcom,gic-parent = <&intc>; - qcom,gic-map = <2 216>, /* tsens_upper_lower_int */ - <47 172>, /* usb2_hsic_async_wakeup_irq */ - <41 180>, /* usb_async_wakeup_irq */ - <62 222>, /* ee0_krait_hlos_spmi_periph_irq */ - <0xff 57>, /* mss_to_apps_irq(0) */ - <0xff 58>, /* mss_to_apps_irq(1) */ - <0xff 59>, /* mss_to_apps_irq(2) */ - <0xff 60>, /* mss_to_apps_irq(3) */ - <0xff 173>, /* o_wcss_apss_smd_hi */ - <0xff 174>, /* o_wcss_apss_smd_med */ - <0xff 175>, /* o_wcss_apss_smd_lo */ - <0xff 176>, /* o_wcss_apss_smsm_irq */ - <0xff 177>, /* o_wcss_apss_wlan_data_xfer_done */ - <0xff 178>, /* o_wcss_apss_wlan_rx_data_avail */ - <0xff 179>, /* o_wcss_apss_asic_intr */ - <0xff 188>, /* q6ss_irq_out(4) */ - <0xff 189>, /* q6ss_irq_out(5) */ - <0xff 190>, /* q6ss_irq_out(6) */ - <0xff 191>, /* q6ss_irq_out(7) */ - <0xff 192>, /* audio_out0_irq */ - <0xff 193>, /* midi_arm_irq */ - <0xff 194>, /* q6ss_wdog_exp_irq */ - <0xff 195>, /* slimbus_core_ee1_irq */ - <0xff 196>, /* bam_irq(1) */ - <0xff 197>, /* qdss_irq_out(7) */ - <0xff 200>, /* rpm_ipc(4) */ - <0xff 201>, /* rpm_ipc(5) */ - <0xff 202>, /* rpm_ipc(6) */ - <0xff 203>, /* rpm_ipc(7) */ - <0xff 204>, /* rpm_ipc(24) */ - <0xff 205>, /* rpm_ipc(25) */ - <0xff 206>, /* rpm_ipc(26) */ - <0xff 207>, /* rpm_ipc(27) */ - <0xff 240>; /* summary_irq_kpss */ - - qcom,gpio-parent = <&msmgpio>; - qcom,gpio-map = <4 0>, - <5 1>, - <6 2>, - <7 3>, - <8 4>, - <9 5>, - <10 6>, - <11 7>, - <12 8>, - <13 9>, - <14 10>, - <15 11>, - <16 12>, - <17 13>, - <18 14>, - <19 15>, - <20 16>, - <21 17>, - <22 18>, - <23 19>, - <24 20>, - <25 21>, - <26 24>, - <27 25>, - <28 51>, - <29 61>, - <30 62>, - <31 63>, - <32 64>, - <33 65>, - <34 66>, - <35 67>, - <36 69>, - <37 71>; - }; - - qcom,pm-8x60 { - compatible = "qcom,pm-8x60"; - qcom,pc-mode = "tz_l2_ext"; - qcom,use-sync-timer; - }; - - qcom,rpm-log@fc19dc00 { - compatible = "qcom,rpm-log"; - reg = <0xfc19dc00 0x4000>; - qcom,rpm-addr-phys = <0xfc000000>; - qcom,offset-version = <4>; - qcom,offset-page-buffer-addr = <36>; - qcom,offset-log-len = <40>; - qcom,offset-log-len-mask = <44>; - qcom,offset-page-indices = <56>; - }; - - qcom,rpm-stats@fc19dba0 { - compatible = "qcom,rpm-stats"; - reg = <0xfc19dba0 0x1000>; - reg-names = "phys_addr_base"; - qcom,sleep-stats-version = <2>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm9625-regulator.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm9625-regulator.dtsi deleted file mode 100644 index eb56d1c6a..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm9625-regulator.dtsi +++ /dev/null @@ -1,284 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&rpm_bus { - rpm-regulator-smpa1 { - status = "okay"; - pm8019_s1: regulator-s1 { - regulator-min-microvolt = <800000>; - regulator-max-microvolt = <1050000>; - qcom,init-voltage = <1050000>; - status = "okay"; - }; - }; - - rpm-regulator-smpa2 { - status = "okay"; - pm8019_s2: regulator-s2 { - regulator-min-microvolt = <1250000>; - regulator-max-microvolt = <1250000>; - qcom,init-voltage = <1250000>; - qcom,init-current = <100>; - qcom,system-load = <100000>; - regulator-always-on; - status = "okay"; - }; - }; - - rpm-regulator-smpa3 { - status = "okay"; - pm8019_s3: regulator-s3 { - regulator-min-microvolt = <1000000>; - regulator-max-microvolt = <1100000>; - qcom,init-voltage = <1100000>; - qcom,init-current = <100>; - qcom,system-load = <100000>; - regulator-always-on; - status = "okay"; - }; - pm8019_s3_ao: regulator-s3-ao { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8019_s3_ao"; - qcom,set = <1>; - regulator-min-microvolt = <1000000>; - regulator-max-microvolt = <1100000>; - status = "okay"; - }; - }; - - rpm-regulator-smpa4 { - status = "okay"; - pm8019_s4: regulator-s4 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <2075000>; - qcom,init-voltage = <2075000>; - qcom,init-current = <100>; - qcom,system-load = <100000>; - regulator-always-on; - status = "okay"; - }; - }; - - rpm-regulator-ldoa1 { - status = "okay"; - pm8019_l1: regulator-l1 { - parent-supply = <&pm8019_s2>; - regulator-min-microvolt = <1225000>; - regulator-max-microvolt = <1225000>; - qcom,init-voltage = <1225000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa2 { - status = "okay"; - pm8019_l2: regulator-l2 { - parent-supply = <&pm8019_s4>; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa3 { - status = "okay"; - pm8019_l3: regulator-l3 { - parent-supply = <&pm8019_s4>; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa4 { - status = "okay"; - pm8019_l4: regulator-l4 { - regulator-min-microvolt = <3075000>; - regulator-max-microvolt = <3075000>; - qcom,init-voltage = <3075000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa5 { - status = "okay"; - pm8019_l5: regulator-l5 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <2850000>; - qcom,init-voltage = <1800000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa6 { - status = "okay"; - pm8019_l6: regulator-l6 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <2850000>; - qcom,init-voltage = <1800000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa7 { - status = "okay"; - pm8019_l7: regulator-l7 { - parent-supply = <&pm8019_s4>; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa8 { - status = "okay"; - pm8019_l8: regulator-l8 { - parent-supply = <&pm8019_s4>; - regulator-min-microvolt = <2050000>; - regulator-max-microvolt = <2050000>; - qcom,init-voltage = <2050000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa9 { - status = "okay"; - pm8019_l9: regulator-l9 { - parent-supply = <&pm8019_s2>; - regulator-min-microvolt = <1200000>; - regulator-max-microvolt = <1200000>; - qcom,init-voltage = <1200000>; - qcom,init-current = <10>; - qcom,system-load = <10000>; - regulator-always-on; - status = "okay"; - }; - }; - - rpm-regulator-ldoa10 { - status = "okay"; - pm8019_l10: regulator-l10 { - parent-supply = <&pm8019_s3>; - regulator-min-microvolt = <500000>; - regulator-max-microvolt = <1050000>; - status = "okay"; - }; - pm8019_l10_corner: regulator-l10-corner { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8019_l10_corner"; - qcom,set = <3>; - regulator-min-microvolt = <1>; - regulator-max-microvolt = <7>; - qcom,use-voltage-corner; - status = "okay"; - qcom,consumer-supplies = "vdd_dig", ""; - }; - pm8019_l10_corner_ao: regulator-l10-corner-ao { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8019_l10_corner_ao"; - qcom,set = <1>; - regulator-min-microvolt = <1>; - regulator-max-microvolt = <7>; - qcom,use-voltage-corner; - status = "okay"; - }; - pm8019_l10_floor_corner: regulator-l10-floor-corner { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8019_l10_floor_corner"; - qcom,set = <3>; - regulator-min-microvolt = <1>; - regulator-max-microvolt = <7>; - qcom,use-voltage-floor-corner; - qcom,always-send-voltage; - }; - }; - - rpm-regulator-ldoa11 { - status = "okay"; - pm8019_l11: regulator-l11 { - parent-supply = <&pm8019_s4>; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - qcom,init-current = <10>; - qcom,system-load = <10000>; - regulator-always-on; - status = "okay"; - }; - }; - - rpm-regulator-ldoa12 { - status = "okay"; - pm8019_l12: regulator-l12 { - parent-supply = <&pm8019_s3>; - regulator-min-microvolt = <675000>; - regulator-max-microvolt = <1050000>; - status = "okay"; - }; - pm8019_l12_ao: regulator-l12-ao { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8019_l12_ao"; - qcom,set = <1>; - parent-supply = <&pm8019_s3_ao>; - regulator-min-microvolt = <675000>; - regulator-max-microvolt = <1050000>; - status = "okay"; - }; - pm8019_l12_so: regulator-l12-so { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8019_l12_so"; - qcom,set = <2>; - parent-supply = <&pm8019_s3>; - regulator-min-microvolt = <675000>; - regulator-max-microvolt = <1050000>; - qcom,init-voltage = <675000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa13 { - status = "okay"; - pm8019_l13: regulator-l13 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <2950000>; - qcom,init-voltage = <2950000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa14 { - status = "okay"; - pm8019_l14: regulator-l14 { - regulator-min-microvolt = <2700000>; - regulator-max-microvolt = <2700000>; - qcom,init-voltage = <2700000>; - status = "okay"; - }; - }; -}; - -&soc { - ext_2p95v: regulator-isl80101 { - compatible = "regulator-fixed"; - regulator-name = "ext_2p95v"; - gpio = <&pm8019_gpios 4 0>; - enable-active-high; - }; - - usb_vbus: regulator-usb-vbus { - compatible = "regulator-fixed"; - regulator-name = "usb_vbus"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm9625-smp2p.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm9625-smp2p.dtsi deleted file mode 100644 index f8ad351a4..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm9625-smp2p.dtsi +++ /dev/null @@ -1,142 +0,0 @@ -/* Copyright (c) 2013, 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. - */ -&soc { - qcom,smp2p-modem { - compatible = "qcom,smp2p"; - reg = <0xf9011008 0x4>; - qcom,remote-pid = <1>; - qcom,irq-bitmask = <0x4000>; - interrupts = <0 27 1>; - }; - - qcom,smp2p-adsp { - compatible = "qcom,smp2p"; - reg = <0xf9011008 0x4>; - qcom,remote-pid = <2>; - qcom,irq-bitmask = <0x400>; - interrupts = <0 158 1>; - }; - - smp2pgpio_smp2p_7_in: qcom,smp2pgpio-smp2p-7-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <7>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_7_in { - compatible = "qcom,smp2pgpio_test_smp2p_7_in"; - gpios = <&smp2pgpio_smp2p_7_in 0 0>; - }; - - smp2pgpio_smp2p_7_out: qcom,smp2pgpio-smp2p-7-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <7>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_7_out { - compatible = "qcom,smp2pgpio_test_smp2p_7_out"; - gpios = <&smp2pgpio_smp2p_7_out 0 0>; - }; - - smp2pgpio_smp2p_1_in: qcom,smp2pgpio-smp2p-1-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <1>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_1_in { - compatible = "qcom,smp2pgpio_test_smp2p_1_in"; - gpios = <&smp2pgpio_smp2p_1_in 0 0>; - }; - - smp2pgpio_smp2p_1_out: qcom,smp2pgpio-smp2p-1-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <1>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_1_out { - compatible = "qcom,smp2pgpio_test_smp2p_1_out"; - gpios = <&smp2pgpio_smp2p_1_out 0 0>; - }; - - smp2pgpio_ssr_smp2p_1_in: qcom,smp2pgpio-ssr-smp2p-1-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "slave-kernel"; - qcom,remote-pid = <1>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - smp2pgpio_ssr_smp2p_1_out: qcom,smp2pgpio-ssr-smp2p-1-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "master-kernel"; - qcom,remote-pid = <1>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - smp2pgpio_smp2p_2_in: qcom,smp2pgpio-smp2p-2-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <2>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_2_in { - compatible = "qcom,smp2pgpio_test_smp2p_2_in"; - gpios = <&smp2pgpio_smp2p_2_in 0 0>; - }; - - smp2pgpio_smp2p_2_out: qcom,smp2pgpio-smp2p-2-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <2>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_2_out { - compatible = "qcom,smp2pgpio_test_smp2p_2_out"; - gpios = <&smp2pgpio_smp2p_2_out 0 0>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm9625-v1-cdp.dts b/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm9625-v1-cdp.dts deleted file mode 100644 index d7537eb35..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm9625-v1-cdp.dts +++ /dev/null @@ -1,24 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/dts-v1/; - -/include/ "msm9625-v1.dtsi" -/include/ "msm9625-cdp.dtsi" - -/ { - model = "Qualcomm MSM 9625V1 CDP"; - compatible = "qcom,msm9625-cdp", "qcom,msm9625", "qcom,cdp"; - qcom,msm-id = <134 1 0>, <152 1 0>, <149 1 0>, <150 1 0>, - <151 1 0>, <148 1 0>, <173 1 0>, <174 1 0>, - <175 1 0>; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm9625-v1-mtp.dts b/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm9625-v1-mtp.dts deleted file mode 100644 index a70ec1aa7..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm9625-v1-mtp.dts +++ /dev/null @@ -1,24 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/dts-v1/; - -/include/ "msm9625-v1.dtsi" -/include/ "msm9625-mtp.dtsi" - -/ { - model = "Qualcomm MSM 9625V1 MTP"; - compatible = "qcom,msm9625-mtp", "qcom,msm9625", "qcom,mtp"; - qcom,msm-id = <134 7 0>, <152 7 0>, <149 7 0>, <150 7 0>, - <151 7 0>, <148 7 0>, <173 7 0>, <174 7 0>, - <175 7 0>; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm9625-v1-rumi.dts b/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm9625-v1-rumi.dts deleted file mode 100644 index ef0068143..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm9625-v1-rumi.dts +++ /dev/null @@ -1,26 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/dts-v1/; - -/include/ "msm9625-v1.dtsi" - -/ { - model = "Qualcomm MSM 9625V1 RUMI"; - compatible = "qcom,msm9625-rumi", "qcom,msm9625", "qcom,rumi"; - qcom,msm-id = <134 15 0>; - - chosen{ - bootargs = "root=/dev/ram rw init=/init console=ttyHSL0,115200n8 initrd=0x00000000,0x00000000 mem=29M@0x00200000 mem=10M@0x07600000"; - - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm9625-v1.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm9625-v1.dtsi deleted file mode 100644 index b238ba549..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm9625-v1.dtsi +++ /dev/null @@ -1,67 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/* - * As a general rule, only version-specific property overrides should be placed - * inside this file. However, device definitions should be placed inside the - * msm9625.dtsi file. - */ - -/include/ "msm9625.dtsi" - -&soc { - qcom,msm-imem@fc42a800 { - compatible = "qcom,msm-imem"; - reg = <0xfc42a800 0x1000>; /* Address and size of IMEM */ - }; - - android_usb@fc42a8c8 { - compatible = "qcom,android-usb"; - reg = <0xfc42a8c8 0xc8>; - qcom,android-usb-swfi-latency = <100>; - }; - - qcom,bam_dmux@fc834000 { - compatible = "qcom,bam_dmux"; - reg = <0xfc834000 0x7000>; - interrupts = <0 29 1>; - }; -}; - -&hsic_host { - qcom,disable-park-mode; -}; - -&ipa_hw { - qcom,ipa-hw-ver = <1>; /* IPA h-w revision */ -}; - -/* CoreSight */ -&tmc_etr { - qcom,reset-flush-race; -}; - -&stm { - qcom,write-64bit; -}; - -&sfpb_spinlock { - status = "disable"; -}; - -&ldrex_spinlock { - status = "ok"; -}; - -&hsic_host { - qcom,phy-sof-workaround; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm9625-v2-cdp.dts b/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm9625-v2-cdp.dts deleted file mode 100644 index 9fbe5ec8a..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm9625-v2-cdp.dts +++ /dev/null @@ -1,24 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; - -/include/ "msm9625-v2.dtsi" -/include/ "msm9625-cdp.dtsi" - -/ { - model = "Qualcomm MSM 9625V2 CDP"; - compatible = "qcom,msm9625-cdp", "qcom,msm9625", "qcom,cdp"; - qcom,msm-id = <134 1 0x20000>, <152 1 0x20000>, <149 1 0x20000>, - <150 1 0x20000>, <151 1 0x20000>, <148 1 0x20000>, - <173 1 0x20000>, <174 1 0x20000>, <175 1 0x20000>; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm9625-v2-mtp.dts b/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm9625-v2-mtp.dts deleted file mode 100644 index 27d00664a..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm9625-v2-mtp.dts +++ /dev/null @@ -1,122 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; - -/include/ "msm9625-v2.dtsi" -/include/ "msm9625-mtp.dtsi" - -/ { - model = "Qualcomm MSM 9625V2 MTP"; - compatible = "qcom,msm9625-mtp", "qcom,msm9625", "qcom,mtp"; - qcom,msm-id = <134 7 0x20000>, <152 7 0x20000>, <149 7 0x20000>, - <150 7 0x20000>, <151 7 0x20000>, <148 7 0x20000>, - <173 7 0x20000>, <174 7 0x20000>, <175 7 0x20000>; -}; - -&soc { - i2c@f9925000 { - charger@57 { - compatible = "summit,smb137c"; - reg = <0x57>; - summit,chg-current-ma = <1500>; - summit,term-current-ma = <50>; - summit,pre-chg-current-ma = <100>; - summit,float-voltage-mv = <4200>; - summit,thresh-voltage-mv = <3000>; - summit,recharge-thresh-mv = <75>; - summit,system-voltage-mv = <4250>; - summit,charging-timeout = <382>; - summit,pre-charge-timeout = <48>; - summit,therm-current-ua = <10>; - summit,temperature-min = <4>; /* 0 C */ - summit,temperature-max = <3>; /* 45 C */ - }; - }; - - wlan0: qca,wlan { - cell-index = <0>; - compatible = "qca,ar6004-hsic"; - qca,chip-pwd-l-gpios = <&msmgpio 62 0>; - qca,pm-enable-gpios = <&pm8019_gpios 3 0x0>; - qca,vdd-io-supply = <&pm8019_l11>; - }; - - qca,wlan_ar6003 { - cell-index = <0>; - compatible = "qca,ar6003-sdio"; - qca,chip-pwd-l-gpios = <&msmgpio 62 0>; - qca,pm-enable-gpios = <&pm8019_gpios 3 0x0>; - qca,vdd-io-supply = <&pm8019_l11>; - }; -}; - -/* PM8019 GPIO and MPP configuration */ -&pm8019_gpios { - gpio@c000 { /* GPIO 1 */ - }; - - gpio@c100 { /* GPIO 2 */ - }; - - gpio@c200 { /* GPIO 3 */ - }; - - gpio@c300 { /* GPIO 4 */ - /* ext_2p95v regulator enable config */ - qcom,mode = <1>; /* Digital output */ - qcom,output-type = <0>; /* CMOS */ - qcom,invert = <0>; /* Output low */ - qcom,out-strength = <1>; /* Low */ - qcom,vin-sel = <2>; /* PM8019 L11 - 1.8V */ - qcom,src-sel = <0>; /* Constant */ - qcom,master-en = <1>; /* Enable GPIO */ - }; - - gpio@c400 { /* GPIO 5 */ - }; - - gpio@c500 { /* GPIO 6 */ - }; -}; - -&pm8019_mpps { - mpp@a000 { /* MPP 1 */ - }; - - mpp@a100 { /* MPP 2 */ - }; - - mpp@a200 { /* MPP 3 */ - }; - - mpp@a300 { /* MPP 4 */ - /* VADC channel 19 */ - qcom,mode = <4>; - qcom,ain-route = <3>; /* AMUX 8 */ - qcom,master-en = <1>; - qcom,src-sel = <0>; /* Function constant */ - qcom,invert = <1>; - }; - - mpp@a400 { /* MPP 5 */ - }; - - mpp@a500 { /* MPP 6 */ - /* channel 21 */ - qcom,mode = <4>; - qcom,ain-route = <1>; /* AMUX 6 */ - qcom,master-en = <1>; - qcom,src-sel = <0>; /* Function constant */ - qcom,invert = <1>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm9625-v2.1-cdp.dts b/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm9625-v2.1-cdp.dts deleted file mode 100644 index b64359381..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm9625-v2.1-cdp.dts +++ /dev/null @@ -1,24 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; - -/include/ "msm9625-v2.1.dtsi" -/include/ "msm9625-cdp.dtsi" - -/ { - model = "Qualcomm MSM 9625V2.1 CDP"; - compatible = "qcom,msm9625-cdp", "qcom,msm9625", "qcom,cdp"; - qcom,msm-id = <134 1 0x20001>, <152 1 0x20001>, <149 1 0x20001>, - <150 1 0x20001>, <151 1 0x20001>, <148 1 0x20001>, - <173 1 0x20001>, <174 1 0x20001>, <175 1 0x20001>; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm9625-v2.1-mtp.dts b/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm9625-v2.1-mtp.dts deleted file mode 100644 index 8bbcc0d55..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm9625-v2.1-mtp.dts +++ /dev/null @@ -1,24 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; - -/include/ "msm9625-v2.1.dtsi" -/include/ "msm9625-mtp.dtsi" - -/ { - model = "Qualcomm MSM 9625V2.1 MTP"; - compatible = "qcom,msm9625-mtp", "qcom,msm9625", "qcom,mtp"; - qcom,msm-id = <134 7 0x20001>, <152 7 0x20001>, <149 7 0x20001>, - <150 7 0x20001>, <151 7 0x20001>, <148 7 0x20001>, - <173 7 0x20001>, <174 7 0x20001>, <175 7 0x20001>; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm9625-v2.1.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm9625-v2.1.dtsi deleted file mode 100644 index 07548f949..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm9625-v2.1.dtsi +++ /dev/null @@ -1,41 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/* - * As a general rule, only version-specific property overrides should be placed - * inside this file. However, device definitions should be placed inside the - * msm9625.dtsi file. - */ - -/include/ "msm9625.dtsi" - -&soc { - qcom,msm-imem@fe807800 { - compatible = "qcom,msm-imem"; - reg = <0xfe807800 0x1000>; /* Address and size of IMEM */ - }; - - android_usb@fe8078c8 { - compatible = "qcom,android-usb"; - reg = <0xfe8078c8 0xc8>; - qcom,android-usb-cdrom; - qcom,android-usb-swfi-latency = <100>; - }; -}; - -&ipa_hw { - qcom,ipa-hw-ver = <2>; /* IPA h-w revision */ -}; - -&hsusb_otg { - qcom,hsusb-l1-supported; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm9625-v2.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm9625-v2.dtsi deleted file mode 100644 index 3eda3f896..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm9625-v2.dtsi +++ /dev/null @@ -1,54 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/* - * As a general rule, only version-specific property overrides should be placed - * inside this file. However, device definitions should be placed inside the - * msm9625.dtsi file. - */ - -/include/ "msm9625.dtsi" - -&soc { - qcom,msm-imem@fe807800 { - compatible = "qcom,msm-imem"; - reg = <0xfe807800 0x1000>; /* Address and size of IMEM */ - }; - - android_usb@fe8078c8 { - compatible = "qcom,android-usb"; - reg = <0xfe8078c8 0xc8>; - qcom,android-usb-swfi-latency = <100>; - }; -}; - -&ipa_hw { - qcom,ipa-hw-ver = <2>; /* IPA h-w revision */ -}; - -&hsic_host { - qcom,disable-park-mode; - qcom,phy-susp-sof-workaround; - qcom,phy-reset-sof-workaround; -}; - -&sfpb_spinlock { - status = "disable"; -}; - -&ldrex_spinlock { - status = "ok"; -}; - -&hsusb_otg { - qcom,hsusb-l1-supported; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm9625.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm9625.dtsi deleted file mode 100644 index 6200b0a8c..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msm9625.dtsi +++ /dev/null @@ -1,864 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/include/ "skeleton.dtsi" - -/ { - model = "Qualcomm MSM 9625"; - compatible = "qcom,msm9625"; - interrupt-parent = <&intc>; - - aliases { - }; - - soc: soc { }; -}; - -/include/ "msm9625-ion.dtsi" -/include/ "msm9625-pm.dtsi" -/include/ "msm9625-coresight.dtsi" -/include/ "msm9625-smp2p.dtsi" - -&soc { - #address-cells = <1>; - #size-cells = <1>; - ranges; - - intc: interrupt-controller@F9000000 { - compatible = "qcom,msm-qgic2"; - interrupt-controller; - #interrupt-cells = <3>; - reg = <0xF9000000 0x1000>, - <0xF9002000 0x1000>; - }; - - l2: cache-controller@f9040000 { - compatible = "arm,pl310-cache"; - reg = <0xf9040000 0x1000>; - cache-unified; - cache-level = <2>; - }; - - msmgpio: gpio@fd510000 { - compatible = "qcom,msm-gpio"; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - reg = <0xfd510000 0x4000>; - ngpio = <76>; - interrupts = <0 208 0>; - qcom,direct-connect-irqs = <8>; - }; - - 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 7 0x4>, - <0 6 0x4>; - reg = <0xf9021000 0x1000>, - <0xf9022000 0x1000>; - }; - - frame@f9023000 { - frame-number = <1>; - interrupts = <0 8 0x4>; - reg = <0xf9023000 0x1000>; - status = "disabled"; - }; - - frame@f9024000 { - frame-number = <2>; - interrupts = <0 9 0x4>; - reg = <0xf9024000 0x1000>; - status = "disabled"; - }; - - frame@f9025000 { - frame-number = <3>; - interrupts = <0 10 0x4>; - reg = <0xf9025000 0x1000>; - status = "disabled"; - }; - - frame@f9026000 { - frame-number = <4>; - interrupts = <0 11 0x4>; - reg = <0xf9026000 0x1000>; - status = "disabled"; - }; - - frame@f9027000 { - frame-number = <5>; - interrupts = <0 12 0x4>; - reg = <0xf9027000 0x1000>; - status = "disabled"; - }; - - frame@f9028000 { - frame-number = <6>; - interrupts = <0 13 0x4>; - reg = <0xf9028000 0x1000>; - status = "disabled"; - }; - - frame@f9029000 { - frame-number = <7>; - interrupts = <0 14 0x4>; - reg = <0xf9029000 0x1000>; - status = "disabled"; - }; - }; - - qcom,sps@f9980000 { - compatible = "qcom,msm_sps"; - reg = <0xf9984000 0x15000>, - <0xf9999000 0xb000>, - <0xfe803000 0x4800>; - interrupts = <0 94 0>; - qcom,device-type = <2>; - }; - - serial@f991f000 { - compatible = "qcom,msm-lsuart-v14"; - reg = <0xf991f000 0x1000>; - interrupts = <0 109 0>; - qcom,msm-bus,name = "blsp1_uart3"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <86 512 0 0>, - <86 512 500 800>; - }; - - hsusb_otg: usb@f9a55000 { - compatible = "qcom,hsusb-otg"; - reg = <0xf9a55000 0x400>; - interrupts = <0 134 0 0 140 0>; - interrupt-names = "core_irq", "async_irq"; - HSUSB_VDDCX-supply = <&pm8019_l12>; - HSUSB_1p8-supply = <&pm8019_l2>; - HSUSB_3p3-supply = <&pm8019_l4>; - vbus_otg-supply = <&usb_vbus>; - - qcom,hsusb-otg-phy-type = <2>; - qcom,hsusb-otg-mode = <1>; - qcom,hsusb-otg-otg-control = <1>; - qcom,hsusb-otg-disable-reset; - qcom,hsusb-otg-delay-lpm-hndshk-on-disconnect; - qcom,hsusb-otg-delay-lpm; - qcom,hsusb-otg-mpm-dpsehv-int = <49>; - - qcom,msm-bus,name = "usb2"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <87 512 0 0>, - <87 512 40000 640000>; - qcom,hsusb-log2-itc = <4>; - }; - - hsic_host: hsic@f9a15000 { - compatible = "qcom,hsic-host"; - reg = <0xf9a15000 0x400>; - interrupts = <0 136 0>, <0 148 0>; - interrupt-names = "core_irq", "async_irq"; - HSIC_VDDCX-supply = <&pm8019_l12>; - HSIC_GDSC-supply = <&gdsc_usb_hsic>; - - qcom,msm-bus,name = "hsic"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <85 512 0 0>, - <85 512 40000 640000>; - qcom,pool-64-bit-align; - qcom,enable-hbm; - hsic,consider-ipa-handshake; - qcom,ahb-async-bridge-bypass; - hsic,disable-cerr; - qcom,disable-internal-clk-gating; - }; - - qcom,usbbam@f9a44000 { - compatible = "qcom,usb-bam-msm"; - reg = <0xf9a44000 0x11000>, - <0xf9a04000 0x11000>; - reg-names = "hsusb", "hsic"; - interrupts = <0 135 0 0 255 0>; - interrupt-names = "hsusb", "hsic"; - qcom,usb-bam-num-pipes = <16>; - qcom,ignore-core-reset-ack; - qcom,disable-clk-gating; - - qcom,pipe0 { - label = "hsusb-ipa-out-0"; - qcom,usb-bam-mem-type = <2>; - qcom,bam-type = <1>; - qcom,dir = <0>; - qcom,pipe-num = <0>; - qcom,peer-bam = <2>; - qcom,src-bam-physical-address = <0xf9a44000>; - qcom,src-bam-pipe-index = <1>; - qcom,data-fifo-size = <0x8000>; - qcom,descriptor-fifo-size = <0x2000>; - qcom,reset-bam-on-connect; - }; - qcom,pipe1 { - label = "hsusb-ipa-in-0"; - qcom,usb-bam-mem-type = <2>; - qcom,bam-type = <1>; - qcom,dir = <1>; - qcom,pipe-num = <0>; - qcom,peer-bam = <2>; - qcom,dst-bam-physical-address = <0xf9a44000>; - qcom,dst-bam-pipe-index = <0>; - qcom,data-fifo-size = <0x8000>; - qcom,descriptor-fifo-size = <0x2000>; - qcom,reset-bam-on-connect; - }; - qcom,pipe2 { - label = "hsusb-qdss-in-0"; - qcom,usb-bam-mem-type = <0>; - qcom,bam-type = <1>; - 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 = <0xf9a44000>; - qcom,dst-bam-pipe-index = <2>; - qcom,data-fifo-offset = <0x4100>; - qcom,data-fifo-size = <0x700>; - qcom,descriptor-fifo-offset = <0x4000>; - qcom,descriptor-fifo-size = <0x100>; - }; - qcom,pipe3 { - label = "hsic-ipa-in-0"; - qcom,usb-bam-mem-type = <2>; - qcom,bam-type = <2>; - qcom,dir = <1>; - qcom,pipe-num = <0>; - qcom,peer-bam = <2>; - qcom,dst-bam-physical-address = <0xf9a04000>; - qcom,dst-bam-pipe-index = <3>; - qcom,data-fifo-size = <0xF800>; - qcom,descriptor-fifo-size = <0x3A58>; - qcom,reset-bam-on-connect; - }; - qcom,pipe4 { - label = "hsic-ipa-in-1"; - qcom,bam-type = <2>; - qcom,dir = <1>; - qcom,pipe-num = <1>; - qcom,peer-bam = <2>; - qcom,usb-bam-mem-type = <2>; - qcom,dst-bam-physical-address = <0xf9a04000>; - qcom,dst-bam-pipe-index = <4>; - qcom,data-fifo-size = <0xF800>; - qcom,descriptor-fifo-size = <0x3A58>; - qcom,reset-bam-on-connect; - }; - qcom,pipe5 { - label = "hsic-ipa-in-2"; - qcom,usb-bam-mem-type = <2>; - qcom,bam-type = <2>; - qcom,dir = <1>; - qcom,pipe-num = <2>; - qcom,peer-bam = <2>; - qcom,dst-bam-physical-address = <0xf9a04000>; - qcom,dst-bam-pipe-index = <5>; - qcom,data-fifo-size = <0xF800>; - qcom,descriptor-fifo-size = <0x3A58>; - qcom,reset-bam-on-connect; - }; - qcom,pipe6 { - label = "hsic-ipa-in-3"; - qcom,usb-bam-mem-type = <2>; - qcom,bam-type = <2>; - qcom,dir = <1>; - qcom,pipe-num = <3>; - qcom,peer-bam = <2>; - qcom,dst-bam-physical-address = <0xf9a04000>; - qcom,dst-bam-pipe-index = <6>; - qcom,data-fifo-size = <0xF800>; - qcom,descriptor-fifo-size = <0x3A58>; - qcom,reset-bam-on-connect; - }; - qcom,pipe7 { - label = "hsic-ipa-out-0"; - qcom,usb-bam-mem-type = <2>; - qcom,bam-type = <2>; - qcom,dir = <0>; - qcom,pipe-num = <0>; - qcom,peer-bam = <2>; - qcom,src-bam-physical-address = <0xf9a04000>; - qcom,src-bam-pipe-index = <7>; - qcom,data-fifo-size = <0xDFE>; - qcom,descriptor-fifo-size = <0xB30>; - qcom,reset-bam-on-connect; - }; - - qcom,pipe8 { - label = "hsusb-ipa-out-1"; - qcom,usb-bam-mem-type = <2>; - qcom,bam-type = <1>; - qcom,dir = <0>; - qcom,pipe-num = <1>; - qcom,peer-bam = <2>; - qcom,src-bam-physical-address = <0xf9a44000>; - qcom,src-bam-pipe-index = <5>; - qcom,data-fifo-size = <0x8000>; - qcom,descriptor-fifo-size = <0x2000>; - qcom,reset-bam-on-connect; - }; - - qcom,pipe9 { - label = "hsusb-ipa-in-1"; - qcom,usb-bam-mem-type = <2>; - qcom,bam-type = <1>; - qcom,dir = <1>; - qcom,pipe-num = <1>; - qcom,peer-bam = <2>; - qcom,dst-bam-physical-address = <0xf9a44000>; - qcom,dst-bam-pipe-index = <4>; - qcom,data-fifo-size = <0x8000>; - qcom,descriptor-fifo-size = <0x2000>; - qcom,reset-bam-on-connect; - }; - - qcom,pipe10 { - label = "hsusb-ipa-out-2"; - qcom,usb-bam-mem-type = <2>; - qcom,bam-type = <1>; - qcom,dir = <0>; - qcom,pipe-num = <2>; - qcom,peer-bam = <2>; - qcom,src-bam-physical-address = <0xf9a44000>; - qcom,src-bam-pipe-index = <7>; - qcom,data-fifo-size = <0x8000>; - qcom,descriptor-fifo-size = <0x2000>; - qcom,reset-bam-on-connect; - }; - - qcom,pipe11 { - label = "hsusb-ipa-in-2"; - qcom,usb-bam-mem-type = <2>; - qcom,bam-type = <1>; - qcom,dir = <1>; - qcom,pipe-num = <2>; - qcom,peer-bam = <2>; - qcom,dst-bam-physical-address = <0xf9a44000>; - qcom,dst-bam-pipe-index = <6>; - qcom,data-fifo-size = <0x8000>; - qcom,descriptor-fifo-size = <0x2000>; - qcom,reset-bam-on-connect; - }; - - qcom,pipe12 { - label = "hsusb-ipa-out-3"; - qcom,usb-bam-mem-type = <2>; - qcom,bam-type = <1>; - qcom,dir = <0>; - qcom,pipe-num = <3>; - qcom,peer-bam = <2>; - qcom,src-bam-physical-address = <0xf9a44000>; - qcom,src-bam-pipe-index = <8>; - qcom,data-fifo-size = <0x8000>; - qcom,descriptor-fifo-size = <0x2000>; - qcom,reset-bam-on-connect; - }; - - qcom,pipe13 { - label = "hsusb-ipa-in-3"; - qcom,usb-bam-mem-type = <2>; - qcom,bam-type = <1>; - qcom,dir = <1>; - qcom,pipe-num = <3>; - qcom,peer-bam = <2>; - qcom,dst-bam-physical-address = <0xf9a44000>; - qcom,dst-bam-pipe-index = <9>; - qcom,data-fifo-size = <0x8000>; - qcom,descriptor-fifo-size = <0x2000>; - qcom,reset-bam-on-connect; - }; - }; - - qcom,nand@f9ac0000 { - compatible = "qcom,msm-nand"; - reg = <0xf9ac0000 0x1000>, - <0xf9ac4000 0x8000>; - reg-names = "nand_phys", - "bam_phys"; - interrupts = <0 247 0>; - interrupt-names = "bam_irq"; - }; - - qcom,wdt@f9017000 { - compatible = "qcom,msm-watchdog"; - reg = <0xf9017000 0x1000>; - interrupts = <1 2 0>, <1 1 0>; - qcom,bark-time = <11000>; - qcom,pet-time = <10000>; - }; - - rpm_bus: qcom,rpm-smd { - compatible = "qcom,rpm-smd"; - rpm-channel-name = "rpm_requests"; - rpm-channel-type = <15>; /* SMD_APPS_RPM */ - }; - - spmi_bus: qcom,spmi@fc4c0000 { - cell-index = <0>; - 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-ee = <0>; - qcom,pmic-arb-channel = <0>; - }; - - sdcc2: qcom,sdcc@f98a4000 { - cell-index = <2>; /* SDC2 SD card slot */ - compatible = "qcom,msm-sdcc"; - reg = <0xf98a4000 0x800>, - <0xf98a4800 0x100>, - <0xf9884000 0x7000>; - reg-names = "core_mem", "dml_mem", "bam_mem"; - - vdd-supply = <&ext_2p95v>; - - vdd-io-supply = <&pm8019_l13>; - qcom,vdd-io-always-on; - qcom,vdd-io-lpm-sup; - qcom,vdd-io-voltage-level = <1800000 2950000>; - qcom,vdd-io-current-level = <6 22000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; - qcom,pad-pull-off = <0x0 0x3 0x3>; - qcom,pad-drv-on = <0x4 0x4 0x4>; - qcom,pad-drv-off = <0x0 0x0 0x0>; - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - qcom,sup-voltages = <2950 2950>; - qcom,bus-width = <4>; - qcom,xpc; - qcom,bus-speed-mode = "SDR12", "SDR25", "SDR50", "DDR50", "SDR104"; - qcom,current-limit = <800>; - - interrupt-parent = <&sdcc2>; - #address-cells = <0>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 125 0 - 1 &intc 0 220 0 - 2 &msmgpio 66 0x3>; - interrupt-names = "core_irq", "bam_irq", "status_irq"; - cd-gpios = <&msmgpio 66 0>; - }; - - ipa_hw: qcom,ipa@fd4c0000 { - compatible = "qcom,ipa"; - reg = <0xfd4c0000 0x26000>, - <0xfd4c4000 0x14818>, - <0xfc834000 0x7000>; - reg-names = "ipa-base", "bam-base", "a2-bam-base"; - interrupts = <0 252 0>, - <0 253 0>, - <0 29 1>; - interrupt-names = "ipa-irq", "bam-irq", "a2-bam-irq"; - - qcom,pipe1 { - label = "a2-to-ipa"; - qcom,src-bam-physical-address = <0xfc834000>; - qcom,ipa-bam-mem-type = <0>; - qcom,src-bam-pipe-index = <1>; - qcom,dst-bam-physical-address = <0xfd4c0000>; - qcom,dst-bam-pipe-index = <6>; - qcom,data-fifo-offset = <0x1000>; - qcom,data-fifo-size = <0xd00>; - qcom,descriptor-fifo-offset = <0x1d00>; - qcom,descriptor-fifo-size = <0x300>; - }; - - qcom,pipe2 { - label = "ipa-to-a2"; - qcom,src-bam-physical-address = <0xfd4c0000>; - qcom,ipa-bam-mem-type = <0>; - qcom,src-bam-pipe-index = <7>; - qcom,dst-bam-physical-address = <0xfc834000>; - qcom,dst-bam-pipe-index = <0>; - qcom,data-fifo-offset = <0x00>; - qcom,data-fifo-size = <0xd00>; - qcom,descriptor-fifo-offset = <0xd00>; - qcom,descriptor-fifo-size = <0x300>; - }; - }; - - qcom,acpuclk@f9010000 { - compatible = "qcom,acpuclk-9625"; - reg = <0xf9010008 0x10>, - <0xf9008004 0x4>; - reg-names = "rcg_base", "pwr_base"; - a5_cpu-supply = <&pm8019_l10_corner_ao>; - a5_mem-supply = <&pm8019_l12_ao>; - }; - - gdsc_usb_hsic: qcom,gdsc@fc400404 { - compatible = "qcom,gdsc"; - reg = <0xfc400404 0x4>; - regulator-name = "gdsc_usb_hsic"; - }; - - tsens@fc4a8000 { - compatible = "qcom,msm-tsens"; - reg = <0xfc4a8000 0x2000>, - <0xfc4b8000 0x1000>; - reg-names = "tsens_physical", "tsens_eeprom_physical"; - interrupts = <0 184 0>; - qcom,sensors = <5>; - qcom,slope = <3200 3200 3200 3200 3200>; - qcom,calib-mode = "fuse_map1"; - }; - - qcom,msm-thermal { - compatible = "qcom,msm-thermal"; - qcom,sensor-id = <0>; - qcom,poll-ms = <250>; - qcom,limit-temp = <60>; - qcom,temp-hysteresis = <10>; - qcom,freq-step = <2>; - qcom,freq-control-mask = <0x0>; - qcom,vdd-restriction-temp = <5>; - qcom,vdd-restriction-temp-hysteresis = <10>; - vdd-dig-supply = <&pm8019_l10_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,msm-rng@f9bff000 { - compatible = "qcom,msm-rng"; - reg = <0xf9bff000 0x200>; - qcom,msm-rng-iface-clk; - }; - - i2c@f9925000 { - cell-index = <3>; - compatible = "qcom,i2c-qup"; - reg = <0xf9925000 0x1000>; - #address-cells = <1>; - #size-cells = <0>; - reg-names = "qup_phys_addr"; - interrupts = <0 97 0>; - interrupt-names = "qup_err_intr"; - qcom,i2c-bus-freq = <400000>; - qcom,i2c-src-freq = <19200000>; - }; - - qcom,mss { - compatible = "qcom,pil-q6v5-mss"; - interrupts = <0 24 1>; - qcom,is-not-loadable; - - /* 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>; - }; - - qcom,smem@0 { - compatible = "qcom,smem"; - reg = <0x0 0x100000>, - <0xf9011000 0x1000>, - <0xfc428000 0x4000>; - reg-names = "smem", "irq-reg-base", "aux-mem1"; - - qcom,smd-modem { - compatible = "qcom,smd"; - qcom,smd-edge = <0>; - qcom,smd-irq-offset = <0x8>; - qcom,smd-irq-bitmask = <0x1000>; - qcom,pil-string = "modem"; - interrupts = <0 25 1>; - }; - - qcom,smsm-modem { - compatible = "qcom,smsm"; - qcom,smsm-edge = <0>; - qcom,smsm-irq-offset = <0x8>; - qcom,smsm-irq-bitmask = <0x2000>; - interrupts = <0 26 1>; - }; - - qcom,smd-adsp { - compatible = "qcom,smd"; - qcom,smd-edge = <1>; - qcom,smd-irq-offset = <0x8>; - qcom,smd-irq-bitmask = <0x100>; - qcom,pil-string = "adsp"; - interrupts = <0 156 1>; - }; - - qcom,smsm-adsp { - compatible = "qcom,smsm"; - qcom,smsm-edge = <1>; - qcom,smsm-irq-offset = <0x8>; - qcom,smsm-irq-bitmask = <0x200>; - interrupts = <0 157 1>; - }; - - qcom,smd-rpm { - compatible = "qcom,smd"; - qcom,smd-edge = <15>; - qcom,smd-irq-offset = <0x8>; - qcom,smd-irq-bitmask = <0x1>; - interrupts = <0 168 1>; - qcom,irq-no-suspend; - }; - }; - - qcom,qcedev@fd400000 { - compatible = "qcom,qcedev"; - reg = <0xfd400000 0x20000>, - <0xfd404000 0x8000>; - reg-names = "crypto-base","crypto-bam-base"; - interrupts = <0 207 0>; - qcom,bam-pipe-pair = <1>; - }; - - qcom,qcrypto@fd440000 { - compatible = "qcom,qcrypto"; - reg = <0xfd400000 0x20000>, - <0xfd404000 0x8000>; - reg-names = "crypto-base","crypto-bam-base"; - interrupts = <0 207 0>; - qcom,bam-pipe-pair = <2>; - }; - - jtag_mm: jtagmm@fc332000 { - compatible = "qcom,jtag-mm"; - reg = <0xfc332000 0x1000>, - <0xfc330000 0x1000>; - reg-names = "etm-base","debug-base"; - }; - - qcom,msm-rtb { - compatible = "qcom,msm-rtb"; - qcom,memory-reservation-type = "EBI1"; - qcom,memory-reservation-size = <0x1000>; /* 4K EBI1 buffer */ - }; - - qcom,msm-mem-hole { - compatible = "qcom,msm-mem-hole"; - qcom,memblock-remove = <0x1c00000 0x4c00000>; /* Address and Size of Hole */ - }; - - sfpb_spinlock: qcom,ipc-spinlock@fd484000 { - compatible = "qcom,ipc-spinlock-sfpb"; - reg = <0xfd484000 0x400>; - qcom,num-locks = <8>; - }; - - ldrex_spinlock: qcom,ipc-spinlock@fa00000 { - compatible = "qcom,ipc-spinlock-ldrex"; - reg = <0xfa00000 0x200000>; - status = "disable"; - }; - - cpu-pmu { - compatible = "arm,cortex-a5-pmu"; - qcom,irq-is-percpu; - interrupts = <1 7 0x00>; - }; - - l2-pmu { - compatible = "qcom,l2-pmu"; - interrupts = <0 1 0>; - }; - - /* [houjihai start] gpio keys */ - gpio-keys { - compatible = "gpio-keys"; - autorepeat; - input-name = "gpio-keys"; - key-back { - label = "RESET"; - linux,code = <158>; - gpios = <&msmgpio 15 1>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - }; - /* [houjihai end] */ -}; - -/include/ "msm-pm8019-rpm-regulator.dtsi" -/include/ "msm-pm8019.dtsi" -/include/ "msm9625-regulator.dtsi" - -&pm8019_vadc { - chan@31 { - label = "batt_id_therm"; - reg = <0x31>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - /* [linyunfeng] Detect voltage on resistor*/ - chan@10 { - label = "vol_detect"; - reg = <0x10>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - /* [linyunfeng] Detect battery voltage */ - chan@11 { - label = "vbat"; - reg = <0x11>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@33 { - label = "pa_therm0"; - reg = <0x33>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@34 { - label = "pa_therm1"; - reg = <0x34>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@32 { - label = "xo_therm"; - reg = <0x32>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <4>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@3c { - label = "xo_therm_amux"; - reg = <0x3c>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <4>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@13 { - label = "case_therm"; - reg = <0x13>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@15 { - label = "ambient_therm"; - reg = <0x15>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; -}; - -&pm8019_adc_tm { - /* Channel Node */ - chan@33 { - label = "pa_therm0"; - reg = <0x33>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - qcom,btm-channel-number = <0x48>; - qcom,thermal-node; - }; - - chan@34 { - label = "pa_therm1"; - reg = <0x34>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - qcom,btm-channel-number = <0x68>; - qcom,thermal-node; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msmkrypton-sim.dts b/kernel/arch/arm/boot/dts/tr961-5200l-v1/msmkrypton-sim.dts deleted file mode 100644 index 1872a36b9..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msmkrypton-sim.dts +++ /dev/null @@ -1,25 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; - -/include/ "msmkrypton.dtsi" - -/ { - model = "Qualcomm MSM KRYPTON SIM"; - compatible = "qcom,msmkrypton-sim", "qcom,msmkrypton", "qcom,sim"; - qcom,msm-id = <187 16 0>; -}; - -&uartdm3{ - status = "ok"; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msmkrypton.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v1/msmkrypton.dtsi deleted file mode 100644 index 4b032d86d..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msmkrypton.dtsi +++ /dev/null @@ -1,120 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/include/ "skeleton.dtsi" - -/ { - model = "Qualcomm MSM KRYPTON"; - compatible = "qcom,msmkrypton"; - interrupt-parent = <&intc>; - - soc: soc { }; -}; - -&soc { - #address-cells = <1>; - #size-cells = <1>; - ranges; - - intc: interrupt-controller@f9000000 { - compatible = "qcom,msm-qgic2"; - interrupt-controller; - #interrupt-cells = <3>; - reg = <0xf9000000 0x1000>, - <0xf9002000 0x1000>; - }; - - msmgpio: gpio@fd510000 { - compatible = "qcom,msm-gpio"; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - reg = <0xfd510000 0x4000>; - ngpio = <89>; - interrupts = <0 208 0>; - qcom,direct-connect-irqs = <8>; - }; - - 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 7 0x4>, - <0 6 0x4>; - reg = <0xf9021000 0x1000>, - <0xf9022000 0x1000>; - }; - - frame@f9023000 { - frame-number = <1>; - interrupts = <0 8 0x4>; - reg = <0xf9023000 0x1000>; - status = "disabled"; - }; - - frame@f9024000 { - frame-number = <2>; - interrupts = <0 9 0x4>; - reg = <0xf9024000 0x1000>; - status = "disabled"; - }; - - frame@f9025000 { - frame-number = <3>; - interrupts = <0 10 0x4>; - reg = <0xf9025000 0x1000>; - status = "disabled"; - }; - - frame@f9026000 { - frame-number = <4>; - interrupts = <0 11 0x4>; - reg = <0xf9026000 0x1000>; - status = "disabled"; - }; - - frame@f9027000 { - frame-number = <5>; - interrupts = <0 12 0x4>; - reg = <0xf9027000 0x1000>; - status = "disabled"; - }; - - frame@f9028000 { - frame-number = <6>; - interrupts = <0 13 0x4>; - reg = <0xf9028000 0x1000>; - status = "disabled"; - }; - - frame@f9029000 { - frame-number = <7>; - interrupts = <0 14 0x4>; - reg = <0xf9029000 0x1000>; - status = "disabled"; - }; - }; - - uartdm3: serial@f991f000 { - compatible = "qcom,msm-lsuart-v14"; - reg = <0xf991f000 0x1000>; - interrupts = <0 109 0>; - status = "disabled"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msmsamarium-ion.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v1/msmsamarium-ion.dtsi deleted file mode 100644 index ea954b89c..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msmsamarium-ion.dtsi +++ /dev/null @@ -1,31 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -&soc { - qcom,ion { - compatible = "qcom,msm-ion"; - #address-cells = <1>; - #size-cells = <0>; - - qcom,ion-heap@30 { /* SYSTEM HEAP */ - reg = <30>; - }; - - qcom,ion-heap@21 { /* SYSTEM CONTIG HEAP */ - reg = <21>; - }; - - qcom,ion-heap@25 { /* IOMMU HEAP */ - reg = <25>; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msmsamarium-rumi.dts b/kernel/arch/arm/boot/dts/tr961-5200l-v1/msmsamarium-rumi.dts deleted file mode 100644 index 9a679a4fd..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msmsamarium-rumi.dts +++ /dev/null @@ -1,25 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; - -/include/ "msmsamarium.dtsi" - -/ { - model = "Qualcomm MSM SAMARIUM RUMI"; - compatible = "qcom,msmsamarium-rumi", "qcom,msmsamarium", "qcom,rumi"; - qcom,msm-id = <195 0 0>; -}; - -&uartblsp0dm2{ - status = "ok"; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msmsamarium-sim.dts b/kernel/arch/arm/boot/dts/tr961-5200l-v1/msmsamarium-sim.dts deleted file mode 100644 index 4acffae18..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msmsamarium-sim.dts +++ /dev/null @@ -1,55 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; - -/include/ "msmsamarium.dtsi" - -/ { - model = "Qualcomm MSM SAMARIUM SIM"; - compatible = "qcom,msmsamarium-sim", "qcom,msmsamarium", "qcom,sim"; - qcom,msm-id = <195 0 0>; -}; - -&uartblsp0dm2{ - status = "ok"; -}; - -&sdcc1 { - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - qcom,sup-voltages = <2950 2950>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,bus-speed-mode = "HS200_1p8v", "DDR_1p8v"; - qcom,nonremovable; - status = "ok"; -}; - -&sdcc2 { - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - qcom,sup-voltages = <2950 2950>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,xpc; - qcom,bus-speed-mode = "SDR12", "SDR25", "SDR50", "DDR50", "SDR104"; - qcom,current-limit = <800>; - - status = "ok"; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msmsamarium.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v1/msmsamarium.dtsi deleted file mode 100644 index 81699b689..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/msmsamarium.dtsi +++ /dev/null @@ -1,90 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/include/ "skeleton.dtsi" - -/ { - model = "Qualcomm MSM SAMARIUM"; - compatible = "qcom,msmsamarium"; - interrupt-parent = <&intc>; - soc: soc { }; -}; - -/include/ "msmsamarium-ion.dtsi" - -&soc { - #address-cells = <1>; - #size-cells = <1>; - ranges; - - intc: interrupt-controller@f9000000 { - compatible = "qcom,msm-qgic2"; - interrupt-controller; - #interrupt-cells = <3>; - reg = <0xf9000000 0x1000>, - <0xf9002000 0x1000>; - }; - - msmgpio: gpio@fd510000 { - compatible = "qcom,msm-gpio"; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - reg = <0xfd510000 0x4000>; - ngpio = <145>; - interrupts = <0 208 0>; - qcom,direct-connect-irqs = <8>; - }; - - timer { - compatible = "arm,armv7-timer"; - interrupts = <1 2 0 1 3 0>; - clock-frequency = <19200000>; - }; - - uartblsp0dm2: serial@f991f000 { - compatible = "qcom,msm-lsuart-v14"; - reg = <0xf991f000 0x1000>; - interrupts = <0 109 0>; - status = "disabled"; - }; - - qcom,msm-imem@fe805000 { - compatible = "qcom,msm-imem"; - reg = <0xfe805000 0x1000>; /* Address and size of IMEM */ - }; - - sdcc1: qcom,sdcc@f9824000 { - cell-index = <1>; /* SDC1 eMMC slot */ - compatible = "qcom,msm-sdcc"; - reg = <0xf9824000 0x800>; - reg-names = "core_mem"; - interrupts = <0 123 0>; - interrupt-names = "core_irq"; - - qcom,bus-width = <8>; - status = "disabled"; - }; - - sdcc2: qcom,sdcc@f98a4000 { - cell-index = <2>; /* SDC2 SD card slot */ - compatible = "qcom,msm-sdcc"; - reg = <0xf98a4000 0x800>; - reg-names = "core_mem"; - interrupts = <0 125 0>; - interrupt-names = "core_irq"; - - qcom,bus-width = <4>; - status = "disabled"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/omap2.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v1/omap2.dtsi deleted file mode 100644 index f2ab4ea7c..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/omap2.dtsi +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Device Tree Source for OMAP2 SoC - * - * Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/ - * - * This file is licensed under the terms of the GNU General Public License - * version 2. This program is licensed "as is" without any warranty of any - * kind, whether express or implied. - */ - -/include/ "skeleton.dtsi" - -/ { - compatible = "ti,omap2430", "ti,omap2420", "ti,omap2"; - - aliases { - serial0 = &uart1; - serial1 = &uart2; - serial2 = &uart3; - }; - - cpus { - cpu@0 { - compatible = "arm,arm1136jf-s"; - }; - }; - - soc { - compatible = "ti,omap-infra"; - mpu { - compatible = "ti,omap2-mpu"; - ti,hwmods = "mpu"; - }; - }; - - ocp { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - ti,hwmods = "l3_main"; - - intc: interrupt-controller@1 { - compatible = "ti,omap2-intc"; - interrupt-controller; - #interrupt-cells = <1>; - }; - - uart1: serial@4806a000 { - compatible = "ti,omap2-uart"; - ti,hwmods = "uart1"; - clock-frequency = <48000000>; - }; - - uart2: serial@4806c000 { - compatible = "ti,omap2-uart"; - ti,hwmods = "uart2"; - clock-frequency = <48000000>; - }; - - uart3: serial@4806e000 { - compatible = "ti,omap2-uart"; - ti,hwmods = "uart3"; - clock-frequency = <48000000>; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/omap3-beagle.dts b/kernel/arch/arm/boot/dts/tr961-5200l-v1/omap3-beagle.dts deleted file mode 100644 index 9f72cd4cf..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/omap3-beagle.dts +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/ - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. - */ -/dts-v1/; - -/include/ "omap3.dtsi" - -/ { - model = "TI OMAP3 BeagleBoard"; - compatible = "ti,omap3-beagle", "ti,omap3"; - - memory { - device_type = "memory"; - reg = <0x80000000 0x20000000>; /* 512 MB */ - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/omap3-evm.dts b/kernel/arch/arm/boot/dts/tr961-5200l-v1/omap3-evm.dts deleted file mode 100644 index 2eee16ec5..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/omap3-evm.dts +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/ - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. - */ -/dts-v1/; - -/include/ "omap3.dtsi" - -/ { - model = "TI OMAP3 EVM (OMAP3530, AM/DM37x)"; - compatible = "ti,omap3-evm", "ti,omap3"; - - memory { - device_type = "memory"; - reg = <0x80000000 0x10000000>; /* 256 MB */ - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/omap3.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v1/omap3.dtsi deleted file mode 100644 index c6121357c..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/omap3.dtsi +++ /dev/null @@ -1,117 +0,0 @@ -/* - * Device Tree Source for OMAP3 SoC - * - * Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/ - * - * This file is licensed under the terms of the GNU General Public License - * version 2. This program is licensed "as is" without any warranty of any - * kind, whether express or implied. - */ - -/include/ "skeleton.dtsi" - -/ { - compatible = "ti,omap3430", "ti,omap3"; - - aliases { - serial0 = &uart1; - serial1 = &uart2; - serial2 = &uart3; - serial3 = &uart4; - }; - - cpus { - cpu@0 { - compatible = "arm,cortex-a8"; - }; - }; - - /* - * The soc node represents the soc top level view. It is uses for IPs - * that are not memory mapped in the MPU view or for the MPU itself. - */ - soc { - compatible = "ti,omap-infra"; - mpu { - compatible = "ti,omap3-mpu"; - ti,hwmods = "mpu"; - }; - - iva { - compatible = "ti,iva2.2"; - ti,hwmods = "iva"; - - dsp { - compatible = "ti,omap3-c64"; - }; - }; - }; - - /* - * XXX: Use a flat representation of the OMAP3 interconnect. - * The real OMAP interconnect network is quite complex. - * Since that will not bring real advantage to represent that in DT for - * the moment, just use a fake OCP bus entry to represent the whole bus - * hierarchy. - */ - ocp { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - ti,hwmods = "l3_main"; - - intc: interrupt-controller@48200000 { - compatible = "ti,omap2-intc"; - interrupt-controller; - #interrupt-cells = <1>; - ti,intc-size = <96>; - reg = <0x48200000 0x1000>; - }; - - uart1: serial@4806a000 { - compatible = "ti,omap3-uart"; - ti,hwmods = "uart1"; - clock-frequency = <48000000>; - }; - - uart2: serial@4806c000 { - compatible = "ti,omap3-uart"; - ti,hwmods = "uart2"; - clock-frequency = <48000000>; - }; - - uart3: serial@49020000 { - compatible = "ti,omap3-uart"; - ti,hwmods = "uart3"; - clock-frequency = <48000000>; - }; - - uart4: serial@49042000 { - compatible = "ti,omap3-uart"; - ti,hwmods = "uart4"; - clock-frequency = <48000000>; - }; - - i2c1: i2c@48070000 { - compatible = "ti,omap3-i2c"; - #address-cells = <1>; - #size-cells = <0>; - ti,hwmods = "i2c1"; - }; - - i2c2: i2c@48072000 { - compatible = "ti,omap3-i2c"; - #address-cells = <1>; - #size-cells = <0>; - ti,hwmods = "i2c2"; - }; - - i2c3: i2c@48060000 { - compatible = "ti,omap3-i2c"; - #address-cells = <1>; - #size-cells = <0>; - ti,hwmods = "i2c3"; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/omap4-panda.dts b/kernel/arch/arm/boot/dts/tr961-5200l-v1/omap4-panda.dts deleted file mode 100644 index 9755ad591..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/omap4-panda.dts +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/ - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. - */ -/dts-v1/; - -/include/ "omap4.dtsi" - -/ { - model = "TI OMAP4 PandaBoard"; - compatible = "ti,omap4-panda", "ti,omap4430", "ti,omap4"; - - memory { - device_type = "memory"; - reg = <0x80000000 0x40000000>; /* 1 GB */ - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/omap4-sdp.dts b/kernel/arch/arm/boot/dts/tr961-5200l-v1/omap4-sdp.dts deleted file mode 100644 index 63c6b2b2b..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/omap4-sdp.dts +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/ - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. - */ -/dts-v1/; - -/include/ "omap4.dtsi" - -/ { - model = "TI OMAP4 SDP board"; - compatible = "ti,omap4-sdp", "ti,omap4430", "ti,omap4"; - - memory { - device_type = "memory"; - reg = <0x80000000 0x40000000>; /* 1 GB */ - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/omap4.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v1/omap4.dtsi deleted file mode 100644 index 3d35559e7..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/omap4.dtsi +++ /dev/null @@ -1,159 +0,0 @@ -/* - * Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/ - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. - */ - -/* - * Carveout for multimedia usecases - * It should be the last 48MB of the first 512MB memory part - * In theory, it should not even exist. That zone should be reserved - * dynamically during the .reserve callback. - */ -/memreserve/ 0x9d000000 0x03000000; - -/include/ "skeleton.dtsi" - -/ { - compatible = "ti,omap4430", "ti,omap4"; - interrupt-parent = <&gic>; - - aliases { - serial0 = &uart1; - serial1 = &uart2; - serial2 = &uart3; - serial3 = &uart4; - }; - - cpus { - cpu@0 { - compatible = "arm,cortex-a9"; - }; - cpu@1 { - compatible = "arm,cortex-a9"; - }; - }; - - /* - * The soc node represents the soc top level view. It is uses for IPs - * that are not memory mapped in the MPU view or for the MPU itself. - */ - soc { - compatible = "ti,omap-infra"; - mpu { - compatible = "ti,omap4-mpu"; - ti,hwmods = "mpu"; - }; - - dsp { - compatible = "ti,omap3-c64"; - ti,hwmods = "dsp"; - }; - - iva { - compatible = "ti,ivahd"; - ti,hwmods = "iva"; - }; - }; - - /* - * XXX: Use a flat representation of the OMAP4 interconnect. - * The real OMAP interconnect network is quite complex. - * - * MPU -+-- MPU_PRIVATE - GIC, L2 - * | - * +----------------+----------+ - * | | | - * + +- EMIF - DDR | - * | | | - * | + +--------+ - * | | | - * | +- L4_ABE - AESS, MCBSP, TIMERs... - * | | - * +- L3_MAIN --+- L4_CORE - IPs... - * | - * +- L4_PER - IPs... - * | - * +- L4_CFG -+- L4_WKUP - IPs... - * | | - * | +- IPs... - * +- IPU ----+ - * | | - * +- DSP ----+ - * | | - * +- DSS ----+ - * - * Since that will not bring real advantage to represent that in DT for - * the moment, just use a fake OCP bus entry to represent the whole bus - * hierarchy. - */ - ocp { - compatible = "ti,omap4-l3-noc", "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - ti,hwmods = "l3_main_1", "l3_main_2", "l3_main_3"; - - gic: interrupt-controller@48241000 { - compatible = "arm,cortex-a9-gic"; - interrupt-controller; - #interrupt-cells = <3>; - reg = <0x48241000 0x1000>, - <0x48240100 0x0100>; - }; - - uart1: serial@4806a000 { - compatible = "ti,omap4-uart"; - ti,hwmods = "uart1"; - clock-frequency = <48000000>; - }; - - uart2: serial@4806c000 { - compatible = "ti,omap4-uart"; - ti,hwmods = "uart2"; - clock-frequency = <48000000>; - }; - - uart3: serial@48020000 { - compatible = "ti,omap4-uart"; - ti,hwmods = "uart3"; - clock-frequency = <48000000>; - }; - - uart4: serial@4806e000 { - compatible = "ti,omap4-uart"; - ti,hwmods = "uart4"; - clock-frequency = <48000000>; - }; - - i2c1: i2c@48070000 { - compatible = "ti,omap4-i2c"; - #address-cells = <1>; - #size-cells = <0>; - ti,hwmods = "i2c1"; - }; - - i2c2: i2c@48072000 { - compatible = "ti,omap4-i2c"; - #address-cells = <1>; - #size-cells = <0>; - ti,hwmods = "i2c2"; - }; - - i2c3: i2c@48060000 { - compatible = "ti,omap4-i2c"; - #address-cells = <1>; - #size-cells = <0>; - ti,hwmods = "i2c3"; - }; - - i2c4: i2c@48350000 { - compatible = "ti,omap4-i2c"; - #address-cells = <1>; - #size-cells = <0>; - ti,hwmods = "i2c4"; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/picoxcell-pc3x2.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v1/picoxcell-pc3x2.dtsi deleted file mode 100644 index f0a8c2068..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/picoxcell-pc3x2.dtsi +++ /dev/null @@ -1,249 +0,0 @@ -/* - * Copyright (C) 2011 Picochip, Jamie Iles - * - * This software is licensed under the terms of the GNU General Public - * License version 2, as published by the Free Software Foundation, and - * may be copied, distributed, and modified under those terms. - * - * 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. - */ -/include/ "skeleton.dtsi" -/ { - model = "Picochip picoXcell PC3X2"; - compatible = "picochip,pc3x2"; - #address-cells = <1>; - #size-cells = <1>; - - cpus { - #address-cells = <1>; - #size-cells = <0>; - - cpu@0 { - compatible = "arm,1176jz-s"; - clock-frequency = <400000000>; - reg = <0>; - d-cache-line-size = <32>; - d-cache-size = <32768>; - i-cache-line-size = <32>; - i-cache-size = <32768>; - }; - }; - - clocks { - #address-cells = <1>; - #size-cells = <1>; - ranges; - - pclk: clock@0 { - compatible = "fixed-clock"; - clock-outputs = "bus", "pclk"; - clock-frequency = <200000000>; - ref-clock = <&ref_clk>, "ref"; - }; - }; - - paxi { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0 0x80000000 0x400000>; - - emac: gem@30000 { - compatible = "cadence,gem"; - reg = <0x30000 0x10000>; - interrupts = <31>; - }; - - dmac1: dmac@40000 { - compatible = "snps,dw-dmac"; - reg = <0x40000 0x10000>; - interrupts = <25>; - }; - - dmac2: dmac@50000 { - compatible = "snps,dw-dmac"; - reg = <0x50000 0x10000>; - interrupts = <26>; - }; - - vic0: interrupt-controller@60000 { - compatible = "arm,pl192-vic"; - interrupt-controller; - reg = <0x60000 0x1000>; - #interrupt-cells = <1>; - }; - - vic1: interrupt-controller@64000 { - compatible = "arm,pl192-vic"; - interrupt-controller; - reg = <0x64000 0x1000>; - #interrupt-cells = <1>; - }; - - fuse: picoxcell-fuse@80000 { - compatible = "picoxcell,fuse-pc3x2"; - reg = <0x80000 0x10000>; - }; - - ssi: picoxcell-spi@90000 { - compatible = "picoxcell,spi"; - reg = <0x90000 0x10000>; - interrupt-parent = <&vic0>; - interrupts = <10>; - }; - - ipsec: spacc@100000 { - compatible = "picochip,spacc-ipsec"; - reg = <0x100000 0x10000>; - interrupt-parent = <&vic0>; - interrupts = <24>; - ref-clock = <&pclk>, "ref"; - }; - - srtp: spacc@140000 { - compatible = "picochip,spacc-srtp"; - reg = <0x140000 0x10000>; - interrupt-parent = <&vic0>; - interrupts = <23>; - }; - - l2_engine: spacc@180000 { - compatible = "picochip,spacc-l2"; - reg = <0x180000 0x10000>; - interrupt-parent = <&vic0>; - interrupts = <22>; - ref-clock = <&pclk>, "ref"; - }; - - apb { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0 0x200000 0x80000>; - - rtc0: rtc@00000 { - compatible = "picochip,pc3x2-rtc"; - clock-freq = <200000000>; - reg = <0x00000 0xf>; - interrupt-parent = <&vic1>; - interrupts = <8>; - }; - - timer0: timer@10000 { - compatible = "picochip,pc3x2-timer"; - interrupt-parent = <&vic0>; - interrupts = <4>; - clock-freq = <200000000>; - reg = <0x10000 0x14>; - }; - - timer1: timer@10014 { - compatible = "picochip,pc3x2-timer"; - interrupt-parent = <&vic0>; - interrupts = <5>; - clock-freq = <200000000>; - reg = <0x10014 0x14>; - }; - - timer2: timer@10028 { - compatible = "picochip,pc3x2-timer"; - interrupt-parent = <&vic0>; - interrupts = <6>; - clock-freq = <200000000>; - reg = <0x10028 0x14>; - }; - - timer3: timer@1003c { - compatible = "picochip,pc3x2-timer"; - interrupt-parent = <&vic0>; - interrupts = <7>; - clock-freq = <200000000>; - reg = <0x1003c 0x14>; - }; - - gpio: gpio@20000 { - compatible = "snps,dw-apb-gpio"; - reg = <0x20000 0x1000>; - #address-cells = <1>; - #size-cells = <0>; - reg-io-width = <4>; - - banka: gpio-controller@0 { - compatible = "snps,dw-apb-gpio-bank"; - gpio-controller; - #gpio-cells = <2>; - gpio-generic,nr-gpio = <8>; - - regoffset-dat = <0x50>; - regoffset-set = <0x00>; - regoffset-dirout = <0x04>; - }; - - bankb: gpio-controller@1 { - compatible = "snps,dw-apb-gpio-bank"; - gpio-controller; - #gpio-cells = <2>; - gpio-generic,nr-gpio = <8>; - - regoffset-dat = <0x54>; - regoffset-set = <0x0c>; - regoffset-dirout = <0x10>; - }; - }; - - uart0: uart@30000 { - compatible = "snps,dw-apb-uart"; - reg = <0x30000 0x1000>; - interrupt-parent = <&vic1>; - interrupts = <10>; - clock-frequency = <3686400>; - reg-shift = <2>; - reg-io-width = <4>; - }; - - uart1: uart@40000 { - compatible = "snps,dw-apb-uart"; - reg = <0x40000 0x1000>; - interrupt-parent = <&vic1>; - interrupts = <9>; - clock-frequency = <3686400>; - reg-shift = <2>; - reg-io-width = <4>; - }; - - wdog: watchdog@50000 { - compatible = "snps,dw-apb-wdg"; - reg = <0x50000 0x10000>; - interrupt-parent = <&vic0>; - interrupts = <11>; - bus-clock = <&pclk>, "bus"; - }; - }; - }; - - rwid-axi { - #address-cells = <1>; - #size-cells = <1>; - compatible = "simple-bus"; - ranges; - - ebi@50000000 { - compatible = "simple-bus"; - #address-cells = <2>; - #size-cells = <1>; - ranges = <0 0 0x40000000 0x08000000 - 1 0 0x48000000 0x08000000 - 2 0 0x50000000 0x08000000 - 3 0 0x58000000 0x08000000>; - }; - - axi2pico@c0000000 { - compatible = "picochip,axi2pico-pc3x2"; - reg = <0xc0000000 0x10000>; - interrupts = <13 14 15 16 17 18 19 20 21>; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/picoxcell-pc3x3.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v1/picoxcell-pc3x3.dtsi deleted file mode 100644 index daa962d19..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/picoxcell-pc3x3.dtsi +++ /dev/null @@ -1,365 +0,0 @@ -/* - * Copyright (C) 2011 Picochip, Jamie Iles - * - * This software is licensed under the terms of the GNU General Public - * License version 2, as published by the Free Software Foundation, and - * may be copied, distributed, and modified under those terms. - * - * 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. - */ -/include/ "skeleton.dtsi" -/ { - model = "Picochip picoXcell PC3X3"; - compatible = "picochip,pc3x3"; - #address-cells = <1>; - #size-cells = <1>; - - cpus { - #address-cells = <1>; - #size-cells = <0>; - - cpu@0 { - compatible = "arm,1176jz-s"; - cpu-clock = <&arm_clk>, "cpu"; - reg = <0>; - d-cache-line-size = <32>; - d-cache-size = <32768>; - i-cache-line-size = <32>; - i-cache-size = <32768>; - }; - }; - - clocks { - #address-cells = <1>; - #size-cells = <1>; - ranges; - - clkgate: clkgate@800a0048 { - #address-cells = <1>; - #size-cells = <0>; - reg = <0x800a0048 4>; - compatible = "picochip,pc3x3-clk-gate"; - - tzprot_clk: clock@0 { - compatible = "picochip,pc3x3-gated-clk"; - clock-outputs = "bus"; - picochip,clk-disable-bit = <0>; - clock-frequency = <200000000>; - ref-clock = <&ref_clk>, "ref"; - }; - - spi_clk: clock@1 { - compatible = "picochip,pc3x3-gated-clk"; - clock-outputs = "bus"; - picochip,clk-disable-bit = <1>; - clock-frequency = <200000000>; - ref-clock = <&ref_clk>, "ref"; - }; - - dmac0_clk: clock@2 { - compatible = "picochip,pc3x3-gated-clk"; - clock-outputs = "bus"; - picochip,clk-disable-bit = <2>; - clock-frequency = <200000000>; - ref-clock = <&ref_clk>, "ref"; - }; - - dmac1_clk: clock@3 { - compatible = "picochip,pc3x3-gated-clk"; - clock-outputs = "bus"; - picochip,clk-disable-bit = <3>; - clock-frequency = <200000000>; - ref-clock = <&ref_clk>, "ref"; - }; - - ebi_clk: clock@4 { - compatible = "picochip,pc3x3-gated-clk"; - clock-outputs = "bus"; - picochip,clk-disable-bit = <4>; - clock-frequency = <200000000>; - ref-clock = <&ref_clk>, "ref"; - }; - - ipsec_clk: clock@5 { - compatible = "picochip,pc3x3-gated-clk"; - clock-outputs = "bus"; - picochip,clk-disable-bit = <5>; - clock-frequency = <200000000>; - ref-clock = <&ref_clk>, "ref"; - }; - - l2_clk: clock@6 { - compatible = "picochip,pc3x3-gated-clk"; - clock-outputs = "bus"; - picochip,clk-disable-bit = <6>; - clock-frequency = <200000000>; - ref-clock = <&ref_clk>, "ref"; - }; - - trng_clk: clock@7 { - compatible = "picochip,pc3x3-gated-clk"; - clock-outputs = "bus"; - picochip,clk-disable-bit = <7>; - clock-frequency = <200000000>; - ref-clock = <&ref_clk>, "ref"; - }; - - fuse_clk: clock@8 { - compatible = "picochip,pc3x3-gated-clk"; - clock-outputs = "bus"; - picochip,clk-disable-bit = <8>; - clock-frequency = <200000000>; - ref-clock = <&ref_clk>, "ref"; - }; - - otp_clk: clock@9 { - compatible = "picochip,pc3x3-gated-clk"; - clock-outputs = "bus"; - picochip,clk-disable-bit = <9>; - clock-frequency = <200000000>; - ref-clock = <&ref_clk>, "ref"; - }; - }; - - arm_clk: clock@11 { - compatible = "picochip,pc3x3-pll"; - reg = <0x800a0050 0x8>; - picochip,min-freq = <140000000>; - picochip,max-freq = <700000000>; - ref-clock = <&ref_clk>, "ref"; - clock-outputs = "cpu"; - }; - - pclk: clock@12 { - compatible = "fixed-clock"; - clock-outputs = "bus", "pclk"; - clock-frequency = <200000000>; - ref-clock = <&ref_clk>, "ref"; - }; - }; - - paxi { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0 0x80000000 0x400000>; - - emac: gem@30000 { - compatible = "cadence,gem"; - reg = <0x30000 0x10000>; - interrupt-parent = <&vic0>; - interrupts = <31>; - }; - - dmac1: dmac@40000 { - compatible = "snps,dw-dmac"; - reg = <0x40000 0x10000>; - interrupt-parent = <&vic0>; - interrupts = <25>; - }; - - dmac2: dmac@50000 { - compatible = "snps,dw-dmac"; - reg = <0x50000 0x10000>; - interrupt-parent = <&vic0>; - interrupts = <26>; - }; - - vic0: interrupt-controller@60000 { - compatible = "arm,pl192-vic"; - interrupt-controller; - reg = <0x60000 0x1000>; - #interrupt-cells = <1>; - }; - - vic1: interrupt-controller@64000 { - compatible = "arm,pl192-vic"; - interrupt-controller; - reg = <0x64000 0x1000>; - #interrupt-cells = <1>; - }; - - fuse: picoxcell-fuse@80000 { - compatible = "picoxcell,fuse-pc3x3"; - reg = <0x80000 0x10000>; - }; - - ssi: picoxcell-spi@90000 { - compatible = "picoxcell,spi"; - reg = <0x90000 0x10000>; - interrupt-parent = <&vic0>; - interrupts = <10>; - }; - - ipsec: spacc@100000 { - compatible = "picochip,spacc-ipsec"; - reg = <0x100000 0x10000>; - interrupt-parent = <&vic0>; - interrupts = <24>; - ref-clock = <&ipsec_clk>, "ref"; - }; - - srtp: spacc@140000 { - compatible = "picochip,spacc-srtp"; - reg = <0x140000 0x10000>; - interrupt-parent = <&vic0>; - interrupts = <23>; - }; - - l2_engine: spacc@180000 { - compatible = "picochip,spacc-l2"; - reg = <0x180000 0x10000>; - interrupt-parent = <&vic0>; - interrupts = <22>; - ref-clock = <&l2_clk>, "ref"; - }; - - apb { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0 0x200000 0x80000>; - - rtc0: rtc@00000 { - compatible = "picochip,pc3x2-rtc"; - clock-freq = <200000000>; - reg = <0x00000 0xf>; - interrupt-parent = <&vic0>; - interrupts = <8>; - }; - - timer0: timer@10000 { - compatible = "picochip,pc3x2-timer"; - interrupt-parent = <&vic0>; - interrupts = <4>; - clock-freq = <200000000>; - reg = <0x10000 0x14>; - }; - - timer1: timer@10014 { - compatible = "picochip,pc3x2-timer"; - interrupt-parent = <&vic0>; - interrupts = <5>; - clock-freq = <200000000>; - reg = <0x10014 0x14>; - }; - - gpio: gpio@20000 { - compatible = "snps,dw-apb-gpio"; - reg = <0x20000 0x1000>; - #address-cells = <1>; - #size-cells = <0>; - reg-io-width = <4>; - - banka: gpio-controller@0 { - compatible = "snps,dw-apb-gpio-bank"; - gpio-controller; - #gpio-cells = <2>; - gpio-generic,nr-gpio = <8>; - - regoffset-dat = <0x50>; - regoffset-set = <0x00>; - regoffset-dirout = <0x04>; - }; - - bankb: gpio-controller@1 { - compatible = "snps,dw-apb-gpio-bank"; - gpio-controller; - #gpio-cells = <2>; - gpio-generic,nr-gpio = <16>; - - regoffset-dat = <0x54>; - regoffset-set = <0x0c>; - regoffset-dirout = <0x10>; - }; - - bankd: gpio-controller@2 { - compatible = "snps,dw-apb-gpio-bank"; - gpio-controller; - #gpio-cells = <2>; - gpio-generic,nr-gpio = <30>; - - regoffset-dat = <0x5c>; - regoffset-set = <0x24>; - regoffset-dirout = <0x28>; - }; - }; - - uart0: uart@30000 { - compatible = "snps,dw-apb-uart"; - reg = <0x30000 0x1000>; - interrupt-parent = <&vic1>; - interrupts = <10>; - clock-frequency = <3686400>; - reg-shift = <2>; - reg-io-width = <4>; - }; - - uart1: uart@40000 { - compatible = "snps,dw-apb-uart"; - reg = <0x40000 0x1000>; - interrupt-parent = <&vic1>; - interrupts = <9>; - clock-frequency = <3686400>; - reg-shift = <2>; - reg-io-width = <4>; - }; - - wdog: watchdog@50000 { - compatible = "snps,dw-apb-wdg"; - reg = <0x50000 0x10000>; - interrupt-parent = <&vic0>; - interrupts = <11>; - bus-clock = <&pclk>, "bus"; - }; - - timer2: timer@60000 { - compatible = "picochip,pc3x2-timer"; - interrupt-parent = <&vic0>; - interrupts = <6>; - clock-freq = <200000000>; - reg = <0x60000 0x14>; - }; - - timer3: timer@60014 { - compatible = "picochip,pc3x2-timer"; - interrupt-parent = <&vic0>; - interrupts = <7>; - clock-freq = <200000000>; - reg = <0x60014 0x14>; - }; - }; - }; - - rwid-axi { - #address-cells = <1>; - #size-cells = <1>; - compatible = "simple-bus"; - ranges; - - ebi@50000000 { - compatible = "simple-bus"; - #address-cells = <2>; - #size-cells = <1>; - ranges = <0 0 0x40000000 0x08000000 - 1 0 0x48000000 0x08000000 - 2 0 0x50000000 0x08000000 - 3 0 0x58000000 0x08000000>; - }; - - axi2pico@c0000000 { - compatible = "picochip,axi2pico-pc3x3"; - reg = <0xc0000000 0x10000>; - interrupt-parent = <&vic0>; - interrupts = <13 14 15 16 17 18 19 20 21>; - }; - - otp@ffff8000 { - compatible = "picochip,otp-pc3x3"; - reg = <0xffff8000 0x8000>; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/picoxcell-pc7302-pc3x2.dts b/kernel/arch/arm/boot/dts/tr961-5200l-v1/picoxcell-pc7302-pc3x2.dts deleted file mode 100644 index 1297414dd..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/picoxcell-pc7302-pc3x2.dts +++ /dev/null @@ -1,86 +0,0 @@ -/* - * Copyright (C) 2011 Picochip, Jamie Iles - * - * This software is licensed under the terms of the GNU General Public - * License version 2, as published by the Free Software Foundation, and - * may be copied, distributed, and modified under those terms. - * - * 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. - */ - -/dts-v1/; -/include/ "picoxcell-pc3x2.dtsi" -/ { - model = "Picochip PC7302 (PC3X2)"; - compatible = "picochip,pc7302-pc3x2", "picochip,pc3x2"; - - memory { - device_type = "memory"; - reg = <0x0 0x08000000>; - }; - - chosen { - linux,stdout-path = &uart0; - }; - - clocks { - ref_clk: clock@1 { - compatible = "fixed-clock"; - clock-outputs = "ref"; - clock-frequency = <20000000>; - }; - }; - - rwid-axi { - ebi@50000000 { - nand: gpio-nand@2,0 { - compatible = "gpio-control-nand"; - #address-cells = <1>; - #size-cells = <1>; - reg = <2 0x0000 0x1000>; - bus-clock = <&pclk>, "bus"; - gpio-control-nand,io-sync-reg = - <0x00000000 0x80220000>; - - gpios = <&banka 1 0 /* rdy */ - &banka 2 0 /* nce */ - &banka 3 0 /* ale */ - &banka 4 0 /* cle */ - 0 /* nwp */>; - - boot@100000 { - label = "Boot"; - reg = <0x100000 0x80000>; - }; - - redundant-boot@200000 { - label = "Redundant Boot"; - reg = <0x200000 0x80000>; - }; - - boot-env@300000 { - label = "Boot Evironment"; - reg = <0x300000 0x20000>; - }; - - redundant-boot-env@320000 { - label = "Redundant Boot Environment"; - reg = <0x300000 0x20000>; - }; - - kernel@380000 { - label = "Kernel"; - reg = <0x380000 0x800000>; - }; - - fs@b80000 { - label = "File System"; - reg = <0xb80000 0xf480000>; - }; - }; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/picoxcell-pc7302-pc3x3.dts b/kernel/arch/arm/boot/dts/tr961-5200l-v1/picoxcell-pc7302-pc3x3.dts deleted file mode 100644 index 9e317a4f4..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/picoxcell-pc7302-pc3x3.dts +++ /dev/null @@ -1,92 +0,0 @@ -/* - * Copyright (C) 2011 Picochip, Jamie Iles - * - * This software is licensed under the terms of the GNU General Public - * License version 2, as published by the Free Software Foundation, and - * may be copied, distributed, and modified under those terms. - * - * 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. - */ - -/dts-v1/; -/include/ "picoxcell-pc3x3.dtsi" -/ { - model = "Picochip PC7302 (PC3X3)"; - compatible = "picochip,pc7302-pc3x3", "picochip,pc3x3"; - - memory { - device_type = "memory"; - reg = <0x0 0x08000000>; - }; - - chosen { - linux,stdout-path = &uart0; - }; - - clocks { - ref_clk: clock@10 { - compatible = "fixed-clock"; - clock-outputs = "ref"; - clock-frequency = <20000000>; - }; - - clkgate: clkgate@800a0048 { - clock@4 { - picochip,clk-no-disable; - }; - }; - }; - - rwid-axi { - ebi@50000000 { - nand: gpio-nand@2,0 { - compatible = "gpio-control-nand"; - #address-cells = <1>; - #size-cells = <1>; - reg = <2 0x0000 0x1000>; - bus-clock = <&ebi_clk>, "bus"; - gpio-control-nand,io-sync-reg = - <0x00000000 0x80220000>; - - gpios = <&banka 1 0 /* rdy */ - &banka 2 0 /* nce */ - &banka 3 0 /* ale */ - &banka 4 0 /* cle */ - 0 /* nwp */>; - - boot@100000 { - label = "Boot"; - reg = <0x100000 0x80000>; - }; - - redundant-boot@200000 { - label = "Redundant Boot"; - reg = <0x200000 0x80000>; - }; - - boot-env@300000 { - label = "Boot Evironment"; - reg = <0x300000 0x20000>; - }; - - redundant-boot-env@320000 { - label = "Redundant Boot Environment"; - reg = <0x300000 0x20000>; - }; - - kernel@380000 { - label = "Kernel"; - reg = <0x380000 0x800000>; - }; - - fs@b80000 { - label = "File System"; - reg = <0xb80000 0xf480000>; - }; - }; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/prima2-cb.dts b/kernel/arch/arm/boot/dts/tr961-5200l-v1/prima2-cb.dts deleted file mode 100644 index 34ae3a64b..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/prima2-cb.dts +++ /dev/null @@ -1,424 +0,0 @@ -/dts-v1/; -/ { - model = "SiRF Prima2 eVB"; - compatible = "sirf,prima2-cb", "sirf,prima2"; - #address-cells = <1>; - #size-cells = <1>; - interrupt-parent = <&intc>; - - memory { - reg = <0x00000000 0x20000000>; - }; - - chosen { - bootargs = "mem=512M real_root=/dev/mmcblk0p2 console=ttyS0 panel=1 bootsplash=true bpp=16 androidboot.console=ttyS1"; - linux,stdout-path = &uart1; - }; - - cpus { - #address-cells = <1>; - #size-cells = <0>; - - cpu@0 { - reg = <0x0>; - d-cache-line-size = <32>; - i-cache-line-size = <32>; - d-cache-size = <32768>; - i-cache-size = <32768>; - /* from bootloader */ - timebase-frequency = <0>; - bus-frequency = <0>; - clock-frequency = <0>; - }; - }; - - axi { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0x40000000 0x40000000 0x80000000>; - - l2-cache-controller@80040000 { - compatible = "arm,pl310-cache", "sirf,prima2-pl310-cache"; - reg = <0x80040000 0x1000>; - interrupts = <59>; - arm,tag-latency = <1 1 1>; - arm,data-latency = <1 1 1>; - arm,filter-ranges = <0 0x40000000>; - }; - - intc: interrupt-controller@80020000 { - #interrupt-cells = <1>; - interrupt-controller; - compatible = "sirf,prima2-intc"; - reg = <0x80020000 0x1000>; - }; - - sys-iobg { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0x88000000 0x88000000 0x40000>; - - clock-controller@88000000 { - compatible = "sirf,prima2-clkc"; - reg = <0x88000000 0x1000>; - interrupts = <3>; - }; - - reset-controller@88010000 { - compatible = "sirf,prima2-rstc"; - reg = <0x88010000 0x1000>; - }; - - rsc-controller@88020000 { - compatible = "sirf,prima2-rsc"; - reg = <0x88020000 0x1000>; - }; - }; - - mem-iobg { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0x90000000 0x90000000 0x10000>; - - memory-controller@90000000 { - compatible = "sirf,prima2-memc"; - reg = <0x90000000 0x10000>; - interrupts = <27>; - }; - }; - - disp-iobg { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0x90010000 0x90010000 0x30000>; - - display@90010000 { - compatible = "sirf,prima2-lcd"; - reg = <0x90010000 0x20000>; - interrupts = <30>; - }; - - vpp@90020000 { - compatible = "sirf,prima2-vpp"; - reg = <0x90020000 0x10000>; - interrupts = <31>; - }; - }; - - graphics-iobg { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0x98000000 0x98000000 0x8000000>; - - graphics@98000000 { - compatible = "powervr,sgx531"; - reg = <0x98000000 0x8000000>; - interrupts = <6>; - }; - }; - - multimedia-iobg { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0xa0000000 0xa0000000 0x8000000>; - - multimedia@a0000000 { - compatible = "sirf,prima2-video-codec"; - reg = <0xa0000000 0x8000000>; - interrupts = <5>; - }; - }; - - dsp-iobg { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0xa8000000 0xa8000000 0x2000000>; - - dspif@a8000000 { - compatible = "sirf,prima2-dspif"; - reg = <0xa8000000 0x10000>; - interrupts = <9>; - }; - - gps@a8010000 { - compatible = "sirf,prima2-gps"; - reg = <0xa8010000 0x10000>; - interrupts = <7>; - }; - - dsp@a9000000 { - compatible = "sirf,prima2-dsp"; - reg = <0xa9000000 0x1000000>; - interrupts = <8>; - }; - }; - - peri-iobg { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0xb0000000 0xb0000000 0x180000>; - - timer@b0020000 { - compatible = "sirf,prima2-tick"; - reg = <0xb0020000 0x1000>; - interrupts = <0>; - }; - - nand@b0030000 { - compatible = "sirf,prima2-nand"; - reg = <0xb0030000 0x10000>; - interrupts = <41>; - }; - - audio@b0040000 { - compatible = "sirf,prima2-audio"; - reg = <0xb0040000 0x10000>; - interrupts = <35>; - }; - - uart0: uart@b0050000 { - cell-index = <0>; - compatible = "sirf,prima2-uart"; - reg = <0xb0050000 0x10000>; - interrupts = <17>; - }; - - uart1: uart@b0060000 { - cell-index = <1>; - compatible = "sirf,prima2-uart"; - reg = <0xb0060000 0x10000>; - interrupts = <18>; - }; - - uart2: uart@b0070000 { - cell-index = <2>; - compatible = "sirf,prima2-uart"; - reg = <0xb0070000 0x10000>; - interrupts = <19>; - }; - - usp0: usp@b0080000 { - cell-index = <0>; - compatible = "sirf,prima2-usp"; - reg = <0xb0080000 0x10000>; - interrupts = <20>; - }; - - usp1: usp@b0090000 { - cell-index = <1>; - compatible = "sirf,prima2-usp"; - reg = <0xb0090000 0x10000>; - interrupts = <21>; - }; - - usp2: usp@b00a0000 { - cell-index = <2>; - compatible = "sirf,prima2-usp"; - reg = <0xb00a0000 0x10000>; - interrupts = <22>; - }; - - dmac0: dma-controller@b00b0000 { - cell-index = <0>; - compatible = "sirf,prima2-dmac"; - reg = <0xb00b0000 0x10000>; - interrupts = <12>; - }; - - dmac1: dma-controller@b0160000 { - cell-index = <1>; - compatible = "sirf,prima2-dmac"; - reg = <0xb0160000 0x10000>; - interrupts = <13>; - }; - - vip@b00C0000 { - compatible = "sirf,prima2-vip"; - reg = <0xb00C0000 0x10000>; - }; - - spi0: spi@b00d0000 { - cell-index = <0>; - compatible = "sirf,prima2-spi"; - reg = <0xb00d0000 0x10000>; - interrupts = <15>; - }; - - spi1: spi@b0170000 { - cell-index = <1>; - compatible = "sirf,prima2-spi"; - reg = <0xb0170000 0x10000>; - interrupts = <16>; - }; - - i2c0: i2c@b00e0000 { - cell-index = <0>; - compatible = "sirf,prima2-i2c"; - reg = <0xb00e0000 0x10000>; - interrupts = <24>; - }; - - i2c1: i2c@b00f0000 { - cell-index = <1>; - compatible = "sirf,prima2-i2c"; - reg = <0xb00f0000 0x10000>; - interrupts = <25>; - }; - - tsc@b0110000 { - compatible = "sirf,prima2-tsc"; - reg = <0xb0110000 0x10000>; - interrupts = <33>; - }; - - gpio: gpio-controller@b0120000 { - #gpio-cells = <2>; - #interrupt-cells = <2>; - compatible = "sirf,prima2-gpio-pinmux"; - reg = <0xb0120000 0x10000>; - gpio-controller; - interrupt-controller; - }; - - pwm@b0130000 { - compatible = "sirf,prima2-pwm"; - reg = <0xb0130000 0x10000>; - }; - - efusesys@b0140000 { - compatible = "sirf,prima2-efuse"; - reg = <0xb0140000 0x10000>; - }; - - pulsec@b0150000 { - compatible = "sirf,prima2-pulsec"; - reg = <0xb0150000 0x10000>; - interrupts = <48>; - }; - - pci-iobg { - compatible = "sirf,prima2-pciiobg", "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0x56000000 0x56000000 0x1b00000>; - - sd0: sdhci@56000000 { - cell-index = <0>; - compatible = "sirf,prima2-sdhc"; - reg = <0x56000000 0x100000>; - interrupts = <38>; - }; - - sd1: sdhci@56100000 { - cell-index = <1>; - compatible = "sirf,prima2-sdhc"; - reg = <0x56100000 0x100000>; - interrupts = <38>; - }; - - sd2: sdhci@56200000 { - cell-index = <2>; - compatible = "sirf,prima2-sdhc"; - reg = <0x56200000 0x100000>; - interrupts = <23>; - }; - - sd3: sdhci@56300000 { - cell-index = <3>; - compatible = "sirf,prima2-sdhc"; - reg = <0x56300000 0x100000>; - interrupts = <23>; - }; - - sd4: sdhci@56400000 { - cell-index = <4>; - compatible = "sirf,prima2-sdhc"; - reg = <0x56400000 0x100000>; - interrupts = <39>; - }; - - sd5: sdhci@56500000 { - cell-index = <5>; - compatible = "sirf,prima2-sdhc"; - reg = <0x56500000 0x100000>; - interrupts = <39>; - }; - - pci-copy@57900000 { - compatible = "sirf,prima2-pcicp"; - reg = <0x57900000 0x100000>; - interrupts = <40>; - }; - - rom-interface@57a00000 { - compatible = "sirf,prima2-romif"; - reg = <0x57a00000 0x100000>; - }; - }; - }; - - rtc-iobg { - compatible = "sirf,prima2-rtciobg", "sirf-prima2-rtciobg-bus"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0x80030000 0x10000>; - - gpsrtc@1000 { - compatible = "sirf,prima2-gpsrtc"; - reg = <0x1000 0x1000>; - interrupts = <55 56 57>; - }; - - sysrtc@2000 { - compatible = "sirf,prima2-sysrtc"; - reg = <0x2000 0x1000>; - interrupts = <52 53 54>; - }; - - pwrc@3000 { - compatible = "sirf,prima2-pwrc"; - reg = <0x3000 0x1000>; - interrupts = <32>; - }; - }; - - uus-iobg { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0xb8000000 0xb8000000 0x40000>; - - usb0: usb@b00e0000 { - compatible = "chipidea,ci13611a-prima2"; - reg = <0xb8000000 0x10000>; - interrupts = <10>; - }; - - usb1: usb@b00f0000 { - compatible = "chipidea,ci13611a-prima2"; - reg = <0xb8010000 0x10000>; - interrupts = <11>; - }; - - sata@b00f0000 { - compatible = "synopsys,dwc-ahsata"; - reg = <0xb8020000 0x10000>; - interrupts = <37>; - }; - - security@b00f0000 { - compatible = "sirf,prima2-security"; - reg = <0xb8030000 0x10000>; - interrupts = <42>; - }; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/pxa168-aspenite.dts b/kernel/arch/arm/boot/dts/tr961-5200l-v1/pxa168-aspenite.dts deleted file mode 100644 index e762facb3..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/pxa168-aspenite.dts +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright (C) 2012 Marvell Technology Group Ltd. - * Author: Haojian Zhuang - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * publishhed by the Free Software Foundation. - */ - -/dts-v1/; -/include/ "pxa168.dtsi" - -/ { - model = "Marvell PXA168 Aspenite Development Board"; - compatible = "mrvl,pxa168-aspenite", "mrvl,pxa168"; - - chosen { - bootargs = "console=ttyS0,115200 root=/dev/nfs nfsroot=192.168.1.100:/nfsroot/ ip=192.168.1.101:192.168.1.100::255.255.255.0::eth0:on"; - }; - - memory { - reg = <0x00000000 0x04000000>; - }; - - soc { - apb@d4000000 { - uart1: uart@d4017000 { - status = "okay"; - }; - twsi1: i2c@d4011000 { - status = "okay"; - }; - rtc: rtc@d4010000 { - status = "okay"; - }; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/pxa168.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v1/pxa168.dtsi deleted file mode 100644 index d32d5128f..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/pxa168.dtsi +++ /dev/null @@ -1,98 +0,0 @@ -/* - * Copyright (C) 2012 Marvell Technology Group Ltd. - * Author: Haojian Zhuang - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * publishhed by the Free Software Foundation. - */ - -/include/ "skeleton.dtsi" - -/ { - aliases { - serial0 = &uart1; - serial1 = &uart2; - serial2 = &uart3; - i2c0 = &twsi1; - i2c1 = &twsi2; - }; - - intc: intc-interrupt-controller@d4282000 { - compatible = "mrvl,mmp-intc", "mrvl,intc"; - interrupt-controller; - #interrupt-cells = <1>; - reg = <0xd4282000 0x1000>; - }; - - soc { - #address-cells = <1>; - #size-cells = <1>; - compatible = "simple-bus"; - interrupt-parent = <&intc>; - ranges; - - apb@d4000000 { /* APB */ - compatible = "mrvl,apb-bus", "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xd4000000 0x00200000>; - ranges; - - uart1: uart@d4017000 { - compatible = "mrvl,mmp-uart", "mrvl,pxa-uart"; - reg = <0xd4017000 0x1000>; - interrupts = <27>; - status = "disabled"; - }; - - uart2: uart@d4018000 { - compatible = "mrvl,mmp-uart", "mrvl,pxa-uart"; - reg = <0xd4018000 0x1000>; - interrupts = <28>; - status = "disabled"; - }; - - uart3: uart@d4026000 { - compatible = "mrvl,mmp-uart", "mrvl,pxa-uart"; - reg = <0xd4026000 0x1000>; - interrupts = <29>; - status = "disabled"; - }; - - gpio: gpio@d4019000 { - compatible = "mrvl,mmp-gpio", "mrvl,pxa-gpio"; - reg = <0xd4019000 0x1000>; - interrupts = <49>; - interrupt-names = "gpio_mux"; - gpio-controller; - #gpio-cells = <1>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - twsi1: i2c@d4011000 { - compatible = "mrvl,mmp-twsi", "mrvl,pxa-i2c"; - reg = <0xd4011000 0x1000>; - interrupts = <7>; - mrvl,i2c-fast-mode; - status = "disabled"; - }; - - twsi2: i2c@d4025000 { - compatible = "mrvl,mmp-twsi", "mrvl,pxa-i2c"; - reg = <0xd4025000 0x1000>; - interrupts = <58>; - status = "disabled"; - }; - - rtc: rtc@d4010000 { - compatible = "mrvl,mmp-rtc"; - reg = <0xd4010000 0x1000>; - interrupts = <5 6>; - interrupt-names = "rtc 1Hz", "rtc alarm"; - status = "disabled"; - }; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/qpic-panel-ili-qvga.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v1/qpic-panel-ili-qvga.dtsi deleted file mode 100644 index 089f1125d..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/qpic-panel-ili-qvga.dtsi +++ /dev/null @@ -1,27 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -&soc { - qcom,mdss_lcdc_ili9341_qvga { - compatible = "qcom,mdss-qpic-panel"; - label = "ili qvga lcdc panel"; - vdd-supply = <&pm8019_l11>; - avdd-supply = <&pm8019_l14>; - qcom,cs-gpio = <&msmgpio 21 0>; - qcom,te-gpio = <&msmgpio 22 0>; - qcom,rst-gpio = <&msmgpio 23 0>; - qcom,ad8-gpio = <&msmgpio 20 0>; - qcom,mdss-pan-res = <240 320>; - qcom,mdss-pan-bpp = <18>; - qcom,refresh_rate = <60>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/skeleton.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v1/skeleton.dtsi deleted file mode 100644 index f9988cd78..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/skeleton.dtsi +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Skeleton device tree; the bare minimum needed to boot; just include and - * add a compatible value. The bootloader will typically populate the memory - * node. - */ - -/ { - #address-cells = <1>; - #size-cells = <1>; - chosen { }; - aliases { }; - memory { - #address-cells = <1>; - #size-cells = <1>; - device_type = "memory"; - reg = <0 0>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/skeleton64.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v1/skeleton64.dtsi deleted file mode 100644 index 5bf6a82f0..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/skeleton64.dtsi +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Skeleton device tree; the bare minimum needed to boot; just include and - * add a compatible value. The bootloader will typically populate the memory - * node. - */ - -/ { - #address-cells = <2>; - #size-cells = <2>; - chosen { }; - aliases { }; - memory { - #address-cells = <2>; - #size-cells = <2>; - device_type = "memory"; - reg = <0 0 0 0>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/snowball.dts b/kernel/arch/arm/boot/dts/tr961-5200l-v1/snowball.dts deleted file mode 100644 index 359c6d679..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/snowball.dts +++ /dev/null @@ -1,139 +0,0 @@ -/* - * Copyright 2011 ST-Ericsson AB - * - * The code contained herein is licensed under the GNU General Public - * License. You may obtain a copy of the GNU General Public License - * Version 2 or later at the following locations: - * - * http://www.opensource.org/licenses/gpl-license.html - * http://www.gnu.org/copyleft/gpl.html - */ - -/dts-v1/; -/include/ "db8500.dtsi" - -/ { - model = "Calao Systems Snowball platform with device tree"; - compatible = "calaosystems,snowball-a9500"; - - memory { - reg = <0x00000000 0x20000000>; - }; - - gpio_keys { - compatible = "gpio-keys"; - #address-cells = <1>; - #size-cells = <0>; - - button@1 { - debounce_interval = <50>; - wakeup = <1>; - linux,code = <2>; - label = "userpb"; - gpios = <&gpio1 0>; - }; - button@2 { - debounce_interval = <50>; - wakeup = <1>; - linux,code = <3>; - label = "userpb"; - gpios = <&gpio4 23>; - }; - button@3 { - debounce_interval = <50>; - wakeup = <1>; - linux,code = <4>; - label = "userpb"; - gpios = <&gpio4 23>; - }; - button@4 { - debounce_interval = <50>; - wakeup = <1>; - linux,code = <5>; - label = "userpb"; - gpios = <&gpio5 1>; - }; - button@5 { - debounce_interval = <50>; - wakeup = <1>; - linux,code = <6>; - label = "userpb"; - gpios = <&gpio5 2>; - }; - }; - - leds { - compatible = "gpio-leds"; - used-led { - label = "user_led"; - gpios = <&gpio4 14>; - }; - }; - - soc-u9500 { - - external-bus@50000000 { - compatible = "simple-bus"; - reg = <0x50000000 0x10000000>; - #address-cells = <1>; - #size-cells = <1>; - ranges; - - ethernet@50000000 { - compatible = "smsc,9111"; - reg = <0x50000000 0x10000>; - interrupts = <12>; - interrupt-parent = <&gpio4>; - }; - }; - - sdi@80126000 { - status = "enabled"; - cd-gpios = <&gpio6 26>; - }; - - sdi@80114000 { - status = "enabled"; - }; - - uart@80120000 { - status = "okay"; - }; - - uart@80121000 { - status = "okay"; - }; - - uart@80007000 { - status = "okay"; - }; - - i2c@80004000 { - tc3589x@42 { - //compatible = "tc3589x"; - reg = <0x42>; - interrupts = <25>; - interrupt-parent = <&gpio6>; - }; - tps61052@33 { - //compatible = "tps61052"; - reg = <0x33>; - }; - }; - - i2c@80128000 { - lp5521@0x33 { - // compatible = "lp5521"; - reg = <0x33>; - }; - lp5521@0x34 { - // compatible = "lp5521"; - reg = <0x34>; - }; - bh1780@0x29 { - // compatible = "rohm,bh1780gli"; - reg = <0x33>; - }; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/spear600-evb.dts b/kernel/arch/arm/boot/dts/tr961-5200l-v1/spear600-evb.dts deleted file mode 100644 index 636292e18..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/spear600-evb.dts +++ /dev/null @@ -1,47 +0,0 @@ -/* - * Copyright 2012 Stefan Roese - * - * The code contained herein is licensed under the GNU General Public - * License. You may obtain a copy of the GNU General Public License - * Version 2 or later at the following locations: - * - * http://www.opensource.org/licenses/gpl-license.html - * http://www.gnu.org/copyleft/gpl.html - */ - -/dts-v1/; -/include/ "spear600.dtsi" - -/ { - model = "ST SPEAr600 Evaluation Board"; - compatible = "st,spear600-evb", "st,spear600"; - #address-cells = <1>; - #size-cells = <1>; - - memory { - device_type = "memory"; - reg = <0 0x10000000>; - }; - - ahb { - gmac: ethernet@e0800000 { - phy-mode = "gmii"; - status = "okay"; - }; - - apb { - serial@d0000000 { - status = "okay"; - }; - - serial@d0080000 { - status = "okay"; - }; - - i2c@d0200000 { - clock-frequency = <400000>; - status = "okay"; - }; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/spear600.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v1/spear600.dtsi deleted file mode 100644 index ebe0885a2..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/spear600.dtsi +++ /dev/null @@ -1,174 +0,0 @@ -/* - * Copyright 2012 Stefan Roese - * - * The code contained herein is licensed under the GNU General Public - * License. You may obtain a copy of the GNU General Public License - * Version 2 or later at the following locations: - * - * http://www.opensource.org/licenses/gpl-license.html - * http://www.gnu.org/copyleft/gpl.html - */ - -/include/ "skeleton.dtsi" - -/ { - compatible = "st,spear600"; - - cpus { - cpu@0 { - compatible = "arm,arm926ejs"; - }; - }; - - memory { - device_type = "memory"; - reg = <0 0x40000000>; - }; - - ahb { - #address-cells = <1>; - #size-cells = <1>; - compatible = "simple-bus"; - ranges = <0xd0000000 0xd0000000 0x30000000>; - - vic0: interrupt-controller@f1100000 { - compatible = "arm,pl190-vic"; - interrupt-controller; - reg = <0xf1100000 0x1000>; - #interrupt-cells = <1>; - }; - - vic1: interrupt-controller@f1000000 { - compatible = "arm,pl190-vic"; - interrupt-controller; - reg = <0xf1000000 0x1000>; - #interrupt-cells = <1>; - }; - - gmac: ethernet@e0800000 { - compatible = "st,spear600-gmac"; - reg = <0xe0800000 0x8000>; - interrupt-parent = <&vic1>; - interrupts = <24 23>; - interrupt-names = "macirq", "eth_wake_irq"; - status = "disabled"; - }; - - fsmc: flash@d1800000 { - compatible = "st,spear600-fsmc-nand"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xd1800000 0x1000 /* FSMC Register */ - 0xd2000000 0x4000>; /* NAND Base */ - reg-names = "fsmc_regs", "nand_data"; - st,ale-off = <0x20000>; - st,cle-off = <0x10000>; - status = "disabled"; - }; - - smi: flash@fc000000 { - compatible = "st,spear600-smi"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xfc000000 0x1000>; - interrupt-parent = <&vic1>; - interrupts = <12>; - status = "disabled"; - }; - - ehci@e1800000 { - compatible = "st,spear600-ehci", "usb-ehci"; - reg = <0xe1800000 0x1000>; - interrupt-parent = <&vic1>; - interrupts = <27>; - status = "disabled"; - }; - - ehci@e2000000 { - compatible = "st,spear600-ehci", "usb-ehci"; - reg = <0xe2000000 0x1000>; - interrupt-parent = <&vic1>; - interrupts = <29>; - status = "disabled"; - }; - - ohci@e1900000 { - compatible = "st,spear600-ohci", "usb-ohci"; - reg = <0xe1900000 0x1000>; - interrupt-parent = <&vic1>; - interrupts = <26>; - status = "disabled"; - }; - - ohci@e2100000 { - compatible = "st,spear600-ohci", "usb-ohci"; - reg = <0xe2100000 0x1000>; - interrupt-parent = <&vic1>; - interrupts = <28>; - status = "disabled"; - }; - - apb { - #address-cells = <1>; - #size-cells = <1>; - compatible = "simple-bus"; - ranges = <0xd0000000 0xd0000000 0x30000000>; - - serial@d0000000 { - compatible = "arm,pl011", "arm,primecell"; - reg = <0xd0000000 0x1000>; - interrupt-parent = <&vic0>; - interrupts = <24>; - status = "disabled"; - }; - - serial@d0080000 { - compatible = "arm,pl011", "arm,primecell"; - reg = <0xd0080000 0x1000>; - interrupt-parent = <&vic0>; - interrupts = <25>; - status = "disabled"; - }; - - /* local/cpu GPIO */ - gpio0: gpio@f0100000 { - #gpio-cells = <2>; - compatible = "arm,pl061", "arm,primecell"; - gpio-controller; - reg = <0xf0100000 0x1000>; - interrupt-parent = <&vic0>; - interrupts = <18>; - }; - - /* basic GPIO */ - gpio1: gpio@fc980000 { - #gpio-cells = <2>; - compatible = "arm,pl061", "arm,primecell"; - gpio-controller; - reg = <0xfc980000 0x1000>; - interrupt-parent = <&vic1>; - interrupts = <19>; - }; - - /* appl GPIO */ - gpio2: gpio@d8100000 { - #gpio-cells = <2>; - compatible = "arm,pl061", "arm,primecell"; - gpio-controller; - reg = <0xd8100000 0x1000>; - interrupt-parent = <&vic1>; - interrupts = <4>; - }; - - i2c@d0200000 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "snps,designware-i2c"; - reg = <0xd0200000 0x1000>; - interrupt-parent = <&vic0>; - interrupts = <28>; - status = "disabled"; - }; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/tegra-cardhu.dts b/kernel/arch/arm/boot/dts/tr961-5200l-v1/tegra-cardhu.dts deleted file mode 100644 index ac3fb7558..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/tegra-cardhu.dts +++ /dev/null @@ -1,70 +0,0 @@ -/dts-v1/; - -/include/ "tegra30.dtsi" - -/ { - model = "NVIDIA Tegra30 Cardhu evaluation board"; - compatible = "nvidia,cardhu", "nvidia,tegra30"; - - memory { - reg = < 0x80000000 0x40000000 >; - }; - - serial@70006000 { - clock-frequency = < 408000000 >; - }; - - serial@70006040 { - status = "disable"; - }; - - serial@70006200 { - status = "disable"; - }; - - serial@70006300 { - status = "disable"; - }; - - serial@70006400 { - status = "disable"; - }; - - i2c@7000c000 { - clock-frequency = <100000>; - }; - - i2c@7000c400 { - clock-frequency = <100000>; - }; - - i2c@7000c500 { - clock-frequency = <100000>; - }; - - i2c@7000c700 { - clock-frequency = <100000>; - }; - - i2c@7000d000 { - clock-frequency = <100000>; - }; - - sdhci@78000000 { - cd-gpios = <&gpio 69 0>; /* gpio PI5 */ - wp-gpios = <&gpio 155 0>; /* gpio PT3 */ - power-gpios = <&gpio 31 0>; /* gpio PD7 */ - }; - - sdhci@78000200 { - status = "disable"; - }; - - sdhci@78000400 { - status = "disable"; - }; - - sdhci@78000400 { - support-8bit; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/tegra-harmony.dts b/kernel/arch/arm/boot/dts/tr961-5200l-v1/tegra-harmony.dts deleted file mode 100644 index 6e8447dc0..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/tegra-harmony.dts +++ /dev/null @@ -1,115 +0,0 @@ -/dts-v1/; - -/include/ "tegra20.dtsi" - -/ { - model = "NVIDIA Tegra2 Harmony evaluation board"; - compatible = "nvidia,harmony", "nvidia,tegra20"; - - memory@0 { - reg = < 0x00000000 0x40000000 >; - }; - - pmc@7000f400 { - nvidia,invert-interrupt; - }; - - i2c@7000c000 { - clock-frequency = <400000>; - - wm8903: wm8903@1a { - compatible = "wlf,wm8903"; - reg = <0x1a>; - interrupt-parent = <&gpio>; - interrupts = < 187 0x04 >; - - gpio-controller; - #gpio-cells = <2>; - - micdet-cfg = <0>; - micdet-delay = <100>; - gpio-cfg = < 0xffffffff 0xffffffff 0 0xffffffff 0xffffffff >; - }; - }; - - i2c@7000c400 { - clock-frequency = <400000>; - }; - - i2c@7000c500 { - clock-frequency = <400000>; - }; - - i2c@7000d000 { - clock-frequency = <400000>; - }; - - i2s@70002a00 { - status = "disable"; - }; - - sound { - compatible = "nvidia,tegra-audio-wm8903-harmony", - "nvidia,tegra-audio-wm8903"; - nvidia,model = "NVIDIA Tegra Harmony"; - - nvidia,audio-routing = - "Headphone Jack", "HPOUTR", - "Headphone Jack", "HPOUTL", - "Int Spk", "ROP", - "Int Spk", "RON", - "Int Spk", "LOP", - "Int Spk", "LON", - "Mic Jack", "MICBIAS", - "IN1L", "Mic Jack"; - - nvidia,i2s-controller = <&tegra_i2s1>; - nvidia,audio-codec = <&wm8903>; - - nvidia,spkr-en-gpios = <&wm8903 2 0>; - nvidia,hp-det-gpios = <&gpio 178 0>; /* gpio PW2 */ - nvidia,int-mic-en-gpios = <&gpio 184 0>; /*gpio PX0 */ - nvidia,ext-mic-en-gpios = <&gpio 185 0>; /* gpio PX1 */ - }; - - serial@70006000 { - status = "disable"; - }; - - serial@70006040 { - status = "disable"; - }; - - serial@70006200 { - status = "disable"; - }; - - serial@70006300 { - clock-frequency = < 216000000 >; - }; - - serial@70006400 { - status = "disable"; - }; - - sdhci@c8000000 { - status = "disable"; - }; - - sdhci@c8000200 { - cd-gpios = <&gpio 69 0>; /* gpio PI5 */ - wp-gpios = <&gpio 57 0>; /* gpio PH1 */ - power-gpios = <&gpio 155 0>; /* gpio PT3 */ - }; - - sdhci@c8000400 { - status = "disable"; - }; - - sdhci@c8000600 { - cd-gpios = <&gpio 58 0>; /* gpio PH2 */ - wp-gpios = <&gpio 59 0>; /* gpio PH3 */ - power-gpios = <&gpio 70 0>; /* gpio PI6 */ - support-8bit; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/tegra-paz00.dts b/kernel/arch/arm/boot/dts/tr961-5200l-v1/tegra-paz00.dts deleted file mode 100644 index 6c02abb46..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/tegra-paz00.dts +++ /dev/null @@ -1,134 +0,0 @@ -/dts-v1/; - -/include/ "tegra20.dtsi" - -/ { - model = "Toshiba AC100 / Dynabook AZ"; - compatible = "compal,paz00", "nvidia,tegra20"; - - memory@0 { - reg = <0x00000000 0x20000000>; - }; - - i2c@7000c000 { - clock-frequency = <400000>; - - alc5632: alc5632@1e { - compatible = "realtek,alc5632"; - reg = <0x1e>; - gpio-controller; - #gpio-cells = <2>; - }; - }; - - i2c@7000c400 { - clock-frequency = <400000>; - }; - - i2c@7000c500 { - status = "disable"; - }; - - nvec@7000c500 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "nvidia,nvec"; - reg = <0x7000C500 0x100>; - interrupts = <0 92 0x04>; - clock-frequency = <80000>; - request-gpios = <&gpio 170 0>; - slave-addr = <138>; - }; - - i2c@7000d000 { - clock-frequency = <400000>; - - adt7461@4c { - compatible = "adi,adt7461"; - reg = <0x4c>; - }; - }; - - i2s@70002a00 { - status = "disable"; - }; - - sound { - compatible = "nvidia,tegra-audio-alc5632-paz00", - "nvidia,tegra-audio-alc5632"; - - nvidia,model = "Compal PAZ00"; - - nvidia,audio-routing = - "Int Spk", "SPKOUT", - "Int Spk", "SPKOUTN", - "Headset Mic", "MICBIAS1", - "MIC1", "Headset Mic", - "Headset Stereophone", "HPR", - "Headset Stereophone", "HPL", - "DMICDAT", "Digital Mic"; - - nvidia,audio-codec = <&alc5632>; - nvidia,i2s-controller = <&tegra_i2s1>; - nvidia,hp-det-gpios = <&gpio 178 0>; /* gpio PW2 */ - }; - - serial@70006000 { - clock-frequency = <216000000>; - }; - - serial@70006040 { - status = "disable"; - }; - - serial@70006200 { - clock-frequency = <216000000>; - }; - - serial@70006300 { - status = "disable"; - }; - - serial@70006400 { - status = "disable"; - }; - - sdhci@c8000000 { - cd-gpios = <&gpio 173 0>; /* gpio PV5 */ - wp-gpios = <&gpio 57 0>; /* gpio PH1 */ - power-gpios = <&gpio 169 0>; /* gpio PV1 */ - }; - - sdhci@c8000200 { - status = "disable"; - }; - - sdhci@c8000400 { - status = "disable"; - }; - - sdhci@c8000600 { - support-8bit; - }; - - gpio-keys { - compatible = "gpio-keys"; - - power { - label = "Power"; - gpios = <&gpio 79 1>; /* gpio PJ7, active low */ - linux,code = <116>; /* KEY_POWER */ - gpio-key,wakeup; - }; - }; - - gpio-leds { - compatible = "gpio-leds"; - - wifi { - label = "wifi-led"; - gpios = <&gpio 24 0>; - linux,default-trigger = "rfkill0"; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/tegra-seaboard.dts b/kernel/arch/arm/boot/dts/tr961-5200l-v1/tegra-seaboard.dts deleted file mode 100644 index dbf1c5a17..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/tegra-seaboard.dts +++ /dev/null @@ -1,175 +0,0 @@ -/dts-v1/; - -/include/ "tegra20.dtsi" - -/ { - model = "NVIDIA Seaboard"; - compatible = "nvidia,seaboard", "nvidia,tegra20"; - - memory { - device_type = "memory"; - reg = < 0x00000000 0x40000000 >; - }; - - i2c@7000c000 { - clock-frequency = <400000>; - - wm8903: wm8903@1a { - compatible = "wlf,wm8903"; - reg = <0x1a>; - interrupt-parent = <&gpio>; - interrupts = < 187 0x04 >; - - gpio-controller; - #gpio-cells = <2>; - - micdet-cfg = <0>; - micdet-delay = <100>; - gpio-cfg = < 0xffffffff 0xffffffff 0 0xffffffff 0xffffffff >; - }; - }; - - i2c@7000c400 { - clock-frequency = <400000>; - }; - - i2c@7000c500 { - clock-frequency = <400000>; - }; - - i2c@7000d000 { - clock-frequency = <400000>; - - adt7461@4c { - compatible = "adt7461"; - reg = <0x4c>; - }; - }; - - i2s@70002a00 { - status = "disable"; - }; - - sound { - compatible = "nvidia,tegra-audio-wm8903-seaboard", - "nvidia,tegra-audio-wm8903"; - nvidia,model = "NVIDIA Tegra Seaboard"; - - nvidia,audio-routing = - "Headphone Jack", "HPOUTR", - "Headphone Jack", "HPOUTL", - "Int Spk", "ROP", - "Int Spk", "RON", - "Int Spk", "LOP", - "Int Spk", "LON", - "Mic Jack", "MICBIAS", - "IN1R", "Mic Jack"; - - nvidia,i2s-controller = <&tegra_i2s1>; - nvidia,audio-codec = <&wm8903>; - - nvidia,spkr-en-gpios = <&wm8903 2 0>; - nvidia,hp-det-gpios = <&gpio 185 0>; /* gpio PX1 */ - }; - - serial@70006000 { - status = "disable"; - }; - - serial@70006040 { - status = "disable"; - }; - - serial@70006200 { - status = "disable"; - }; - - serial@70006300 { - clock-frequency = < 216000000 >; - }; - - serial@70006400 { - status = "disable"; - }; - - sdhci@c8000000 { - status = "disable"; - }; - - sdhci@c8000200 { - status = "disable"; - }; - - sdhci@c8000400 { - cd-gpios = <&gpio 69 0>; /* gpio PI5 */ - wp-gpios = <&gpio 57 0>; /* gpio PH1 */ - power-gpios = <&gpio 70 0>; /* gpio PI6 */ - }; - - sdhci@c8000600 { - support-8bit; - }; - - usb@c5000000 { - nvidia,vbus-gpio = <&gpio 24 0>; /* PD0 */ - dr_mode = "otg"; - }; - - gpio-keys { - compatible = "gpio-keys"; - - power { - label = "Power"; - gpios = <&gpio 170 1>; /* gpio PV2, active low */ - linux,code = <116>; /* KEY_POWER */ - gpio-key,wakeup; - }; - - lid { - label = "Lid"; - gpios = <&gpio 23 0>; /* gpio PC7 */ - linux,input-type = <5>; /* EV_SW */ - linux,code = <0>; /* SW_LID */ - debounce-interval = <1>; - gpio-key,wakeup; - }; - }; - - emc@7000f400 { - emc-table@190000 { - reg = < 190000 >; - compatible = "nvidia,tegra20-emc-table"; - clock-frequency = < 190000 >; - nvidia,emc-registers = < 0x0000000c 0x00000026 - 0x00000009 0x00000003 0x00000004 0x00000004 - 0x00000002 0x0000000c 0x00000003 0x00000003 - 0x00000002 0x00000001 0x00000004 0x00000005 - 0x00000004 0x00000009 0x0000000d 0x0000059f - 0x00000000 0x00000003 0x00000003 0x00000003 - 0x00000003 0x00000001 0x0000000b 0x000000c8 - 0x00000003 0x00000007 0x00000004 0x0000000f - 0x00000002 0x00000000 0x00000000 0x00000002 - 0x00000000 0x00000000 0x00000083 0xa06204ae - 0x007dc010 0x00000000 0x00000000 0x00000000 - 0x00000000 0x00000000 0x00000000 0x00000000 >; - }; - - emc-table@380000 { - reg = < 380000 >; - compatible = "nvidia,tegra20-emc-table"; - clock-frequency = < 380000 >; - nvidia,emc-registers = < 0x00000017 0x0000004b - 0x00000012 0x00000006 0x00000004 0x00000005 - 0x00000003 0x0000000c 0x00000006 0x00000006 - 0x00000003 0x00000001 0x00000004 0x00000005 - 0x00000004 0x00000009 0x0000000d 0x00000b5f - 0x00000000 0x00000003 0x00000003 0x00000006 - 0x00000006 0x00000001 0x00000011 0x000000c8 - 0x00000003 0x0000000e 0x00000007 0x0000000f - 0x00000002 0x00000000 0x00000000 0x00000002 - 0x00000000 0x00000000 0x00000083 0xe044048b - 0x007d8010 0x00000000 0x00000000 0x00000000 - 0x00000000 0x00000000 0x00000000 0x00000000 >; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/tegra-trimslice.dts b/kernel/arch/arm/boot/dts/tr961-5200l-v1/tegra-trimslice.dts deleted file mode 100644 index 252476867..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/tegra-trimslice.dts +++ /dev/null @@ -1,77 +0,0 @@ -/dts-v1/; - -/include/ "tegra20.dtsi" - -/ { - model = "Compulab TrimSlice board"; - compatible = "compulab,trimslice", "nvidia,tegra20"; - - memory@0 { - reg = < 0x00000000 0x40000000 >; - }; - - i2c@7000c000 { - clock-frequency = <400000>; - }; - - i2c@7000c400 { - clock-frequency = <400000>; - }; - - i2c@7000c500 { - clock-frequency = <400000>; - }; - - i2c@7000d000 { - status = "disable"; - }; - - i2s@70002800 { - status = "disable"; - }; - - i2s@70002a00 { - status = "disable"; - }; - - das@70000c00 { - status = "disable"; - }; - - serial@70006000 { - clock-frequency = < 216000000 >; - }; - - serial@70006040 { - status = "disable"; - }; - - serial@70006200 { - status = "disable"; - }; - - serial@70006300 { - status = "disable"; - }; - - serial@70006400 { - status = "disable"; - }; - - sdhci@c8000000 { - status = "disable"; - }; - - sdhci@c8000200 { - status = "disable"; - }; - - sdhci@c8000400 { - status = "disable"; - }; - - sdhci@c8000600 { - cd-gpios = <&gpio 121 0>; - wp-gpios = <&gpio 122 0>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/tegra-ventana.dts b/kernel/arch/arm/boot/dts/tr961-5200l-v1/tegra-ventana.dts deleted file mode 100644 index 2dcff8728..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/tegra-ventana.dts +++ /dev/null @@ -1,108 +0,0 @@ -/dts-v1/; - -/include/ "tegra20.dtsi" - -/ { - model = "NVIDIA Tegra2 Ventana evaluation board"; - compatible = "nvidia,ventana", "nvidia,tegra20"; - - memory { - reg = < 0x00000000 0x40000000 >; - }; - - i2c@7000c000 { - clock-frequency = <400000>; - - wm8903: wm8903@1a { - compatible = "wlf,wm8903"; - reg = <0x1a>; - interrupt-parent = <&gpio>; - interrupts = < 187 0x04 >; - - gpio-controller; - #gpio-cells = <2>; - - micdet-cfg = <0>; - micdet-delay = <100>; - gpio-cfg = < 0xffffffff 0xffffffff 0 0xffffffff 0xffffffff >; - }; - }; - - i2c@7000c400 { - clock-frequency = <400000>; - }; - - i2c@7000c500 { - clock-frequency = <400000>; - }; - - i2c@7000d000 { - clock-frequency = <400000>; - }; - - i2s@70002a00 { - status = "disable"; - }; - - sound { - compatible = "nvidia,tegra-audio-wm8903-ventana", - "nvidia,tegra-audio-wm8903"; - nvidia,model = "NVIDIA Tegra Ventana"; - - nvidia,audio-routing = - "Headphone Jack", "HPOUTR", - "Headphone Jack", "HPOUTL", - "Int Spk", "ROP", - "Int Spk", "RON", - "Int Spk", "LOP", - "Int Spk", "LON", - "Mic Jack", "MICBIAS", - "IN1L", "Mic Jack"; - - nvidia,i2s-controller = <&tegra_i2s1>; - nvidia,audio-codec = <&wm8903>; - - nvidia,spkr-en-gpios = <&wm8903 2 0>; - nvidia,hp-det-gpios = <&gpio 178 0>; /* gpio PW2 */ - nvidia,int-mic-en-gpios = <&gpio 184 0>; /*gpio PX0 */ - nvidia,ext-mic-en-gpios = <&gpio 185 0>; /* gpio PX1 */ - }; - - serial@70006000 { - status = "disable"; - }; - - serial@70006040 { - status = "disable"; - }; - - serial@70006200 { - status = "disable"; - }; - - serial@70006300 { - clock-frequency = < 216000000 >; - }; - - serial@70006400 { - status = "disable"; - }; - - sdhci@c8000000 { - status = "disable"; - }; - - sdhci@c8000200 { - status = "disable"; - }; - - sdhci@c8000400 { - cd-gpios = <&gpio 69 0>; /* gpio PI5 */ - wp-gpios = <&gpio 57 0>; /* gpio PH1 */ - power-gpios = <&gpio 70 0>; /* gpio PI6 */ - }; - - sdhci@c8000600 { - support-8bit; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/tegra20.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v1/tegra20.dtsi deleted file mode 100644 index 108e894a8..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/tegra20.dtsi +++ /dev/null @@ -1,210 +0,0 @@ -/include/ "skeleton.dtsi" - -/ { - compatible = "nvidia,tegra20"; - interrupt-parent = <&intc>; - - pmc@7000f400 { - compatible = "nvidia,tegra20-pmc"; - reg = <0x7000e400 0x400>; - }; - - intc: interrupt-controller@50041000 { - compatible = "arm,cortex-a9-gic"; - interrupt-controller; - #interrupt-cells = <3>; - reg = < 0x50041000 0x1000 >, - < 0x50040100 0x0100 >; - }; - - pmu { - compatible = "arm,cortex-a9-pmu"; - interrupts = <0 56 0x04 - 0 57 0x04>; - }; - - apbdma: dma@6000a000 { - compatible = "nvidia,tegra20-apbdma"; - reg = <0x6000a000 0x1200>; - interrupts = < 0 104 0x04 - 0 105 0x04 - 0 106 0x04 - 0 107 0x04 - 0 108 0x04 - 0 109 0x04 - 0 110 0x04 - 0 111 0x04 - 0 112 0x04 - 0 113 0x04 - 0 114 0x04 - 0 115 0x04 - 0 116 0x04 - 0 117 0x04 - 0 118 0x04 - 0 119 0x04 >; - }; - - i2c@7000c000 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "nvidia,tegra20-i2c"; - reg = <0x7000C000 0x100>; - interrupts = < 0 38 0x04 >; - }; - - i2c@7000c400 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "nvidia,tegra20-i2c"; - reg = <0x7000C400 0x100>; - interrupts = < 0 84 0x04 >; - }; - - i2c@7000c500 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "nvidia,tegra20-i2c"; - reg = <0x7000C500 0x100>; - interrupts = < 0 92 0x04 >; - }; - - i2c@7000d000 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "nvidia,tegra20-i2c-dvc"; - reg = <0x7000D000 0x200>; - interrupts = < 0 53 0x04 >; - }; - - tegra_i2s1: i2s@70002800 { - compatible = "nvidia,tegra20-i2s"; - reg = <0x70002800 0x200>; - interrupts = < 0 13 0x04 >; - nvidia,dma-request-selector = < &apbdma 2 >; - }; - - tegra_i2s2: i2s@70002a00 { - compatible = "nvidia,tegra20-i2s"; - reg = <0x70002a00 0x200>; - interrupts = < 0 3 0x04 >; - nvidia,dma-request-selector = < &apbdma 1 >; - }; - - das@70000c00 { - compatible = "nvidia,tegra20-das"; - reg = <0x70000c00 0x80>; - }; - - gpio: gpio@6000d000 { - compatible = "nvidia,tegra20-gpio"; - reg = < 0x6000d000 0x1000 >; - interrupts = < 0 32 0x04 - 0 33 0x04 - 0 34 0x04 - 0 35 0x04 - 0 55 0x04 - 0 87 0x04 - 0 89 0x04 >; - #gpio-cells = <2>; - gpio-controller; - #interrupt-cells = <2>; - interrupt-controller; - }; - - pinmux: pinmux@70000000 { - compatible = "nvidia,tegra20-pinmux"; - reg = < 0x70000014 0x10 /* Tri-state registers */ - 0x70000080 0x20 /* Mux registers */ - 0x700000a0 0x14 /* Pull-up/down registers */ - 0x70000868 0xa8 >; /* Pad control registers */ - }; - - serial@70006000 { - compatible = "nvidia,tegra20-uart"; - reg = <0x70006000 0x40>; - reg-shift = <2>; - interrupts = < 0 36 0x04 >; - }; - - serial@70006040 { - compatible = "nvidia,tegra20-uart"; - reg = <0x70006040 0x40>; - reg-shift = <2>; - interrupts = < 0 37 0x04 >; - }; - - serial@70006200 { - compatible = "nvidia,tegra20-uart"; - reg = <0x70006200 0x100>; - reg-shift = <2>; - interrupts = < 0 46 0x04 >; - }; - - serial@70006300 { - compatible = "nvidia,tegra20-uart"; - reg = <0x70006300 0x100>; - reg-shift = <2>; - interrupts = < 0 90 0x04 >; - }; - - serial@70006400 { - compatible = "nvidia,tegra20-uart"; - reg = <0x70006400 0x100>; - reg-shift = <2>; - interrupts = < 0 91 0x04 >; - }; - - emc@7000f400 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "nvidia,tegra20-emc"; - reg = <0x7000f400 0x200>; - }; - - sdhci@c8000000 { - compatible = "nvidia,tegra20-sdhci"; - reg = <0xc8000000 0x200>; - interrupts = < 0 14 0x04 >; - }; - - sdhci@c8000200 { - compatible = "nvidia,tegra20-sdhci"; - reg = <0xc8000200 0x200>; - interrupts = < 0 15 0x04 >; - }; - - sdhci@c8000400 { - compatible = "nvidia,tegra20-sdhci"; - reg = <0xc8000400 0x200>; - interrupts = < 0 19 0x04 >; - }; - - sdhci@c8000600 { - compatible = "nvidia,tegra20-sdhci"; - reg = <0xc8000600 0x200>; - interrupts = < 0 31 0x04 >; - }; - - usb@c5000000 { - compatible = "nvidia,tegra20-ehci", "usb-ehci"; - reg = <0xc5000000 0x4000>; - interrupts = < 0 20 0x04 >; - phy_type = "utmi"; - nvidia,has-legacy-mode; - }; - - usb@c5004000 { - compatible = "nvidia,tegra20-ehci", "usb-ehci"; - reg = <0xc5004000 0x4000>; - interrupts = < 0 21 0x04 >; - phy_type = "ulpi"; - }; - - usb@c5008000 { - compatible = "nvidia,tegra20-ehci", "usb-ehci"; - reg = <0xc5008000 0x4000>; - interrupts = < 0 97 0x04 >; - phy_type = "utmi"; - }; -}; - diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/tegra30.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v1/tegra30.dtsi deleted file mode 100644 index 62a7b39f1..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/tegra30.dtsi +++ /dev/null @@ -1,186 +0,0 @@ -/include/ "skeleton.dtsi" - -/ { - compatible = "nvidia,tegra30"; - interrupt-parent = <&intc>; - - pmc@7000f400 { - compatible = "nvidia,tegra20-pmc", "nvidia,tegra30-pmc"; - reg = <0x7000e400 0x400>; - }; - - intc: interrupt-controller@50041000 { - compatible = "arm,cortex-a9-gic"; - interrupt-controller; - #interrupt-cells = <3>; - reg = < 0x50041000 0x1000 >, - < 0x50040100 0x0100 >; - }; - - pmu { - compatible = "arm,cortex-a9-pmu"; - interrupts = <0 144 0x04 - 0 145 0x04 - 0 146 0x04 - 0 147 0x04>; - }; - - apbdma: dma@6000a000 { - compatible = "nvidia,tegra30-apbdma", "nvidia,tegra20-apbdma"; - reg = <0x6000a000 0x1400>; - interrupts = < 0 104 0x04 - 0 105 0x04 - 0 106 0x04 - 0 107 0x04 - 0 108 0x04 - 0 109 0x04 - 0 110 0x04 - 0 111 0x04 - 0 112 0x04 - 0 113 0x04 - 0 114 0x04 - 0 115 0x04 - 0 116 0x04 - 0 117 0x04 - 0 118 0x04 - 0 119 0x04 - 0 128 0x04 - 0 129 0x04 - 0 130 0x04 - 0 131 0x04 - 0 132 0x04 - 0 133 0x04 - 0 134 0x04 - 0 135 0x04 - 0 136 0x04 - 0 137 0x04 - 0 138 0x04 - 0 139 0x04 - 0 140 0x04 - 0 141 0x04 - 0 142 0x04 - 0 143 0x04 >; - }; - - i2c@7000c000 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "nvidia,tegra30-i2c", "nvidia,tegra20-i2c"; - reg = <0x7000C000 0x100>; - interrupts = < 0 38 0x04 >; - }; - - i2c@7000c400 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "nvidia,tegra30-i2c", "nvidia,tegra20-i2c"; - reg = <0x7000C400 0x100>; - interrupts = < 0 84 0x04 >; - }; - - i2c@7000c500 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "nvidia,tegra30-i2c", "nvidia,tegra20-i2c"; - reg = <0x7000C500 0x100>; - interrupts = < 0 92 0x04 >; - }; - - i2c@7000c700 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "nvidia,tegra30-i2c", "nvidia,tegra20-i2c"; - reg = <0x7000c700 0x100>; - interrupts = < 0 120 0x04 >; - }; - - i2c@7000d000 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "nvidia,tegra30-i2c", "nvidia,tegra20-i2c"; - reg = <0x7000D000 0x100>; - interrupts = < 0 53 0x04 >; - }; - - gpio: gpio@6000d000 { - compatible = "nvidia,tegra30-gpio", "nvidia,tegra20-gpio"; - reg = < 0x6000d000 0x1000 >; - interrupts = < 0 32 0x04 - 0 33 0x04 - 0 34 0x04 - 0 35 0x04 - 0 55 0x04 - 0 87 0x04 - 0 89 0x04 - 0 125 0x04 >; - #gpio-cells = <2>; - gpio-controller; - #interrupt-cells = <2>; - interrupt-controller; - }; - - serial@70006000 { - compatible = "nvidia,tegra30-uart", "nvidia,tegra20-uart"; - reg = <0x70006000 0x40>; - reg-shift = <2>; - interrupts = < 0 36 0x04 >; - }; - - serial@70006040 { - compatible = "nvidia,tegra30-uart", "nvidia,tegra20-uart"; - reg = <0x70006040 0x40>; - reg-shift = <2>; - interrupts = < 0 37 0x04 >; - }; - - serial@70006200 { - compatible = "nvidia,tegra30-uart", "nvidia,tegra20-uart"; - reg = <0x70006200 0x100>; - reg-shift = <2>; - interrupts = < 0 46 0x04 >; - }; - - serial@70006300 { - compatible = "nvidia,tegra30-uart", "nvidia,tegra20-uart"; - reg = <0x70006300 0x100>; - reg-shift = <2>; - interrupts = < 0 90 0x04 >; - }; - - serial@70006400 { - compatible = "nvidia,tegra30-uart", "nvidia,tegra20-uart"; - reg = <0x70006400 0x100>; - reg-shift = <2>; - interrupts = < 0 91 0x04 >; - }; - - sdhci@78000000 { - compatible = "nvidia,tegra30-sdhci", "nvidia,tegra20-sdhci"; - reg = <0x78000000 0x200>; - interrupts = < 0 14 0x04 >; - }; - - sdhci@78000200 { - compatible = "nvidia,tegra30-sdhci", "nvidia,tegra20-sdhci"; - reg = <0x78000200 0x200>; - interrupts = < 0 15 0x04 >; - }; - - sdhci@78000400 { - compatible = "nvidia,tegra30-sdhci", "nvidia,tegra20-sdhci"; - reg = <0x78000400 0x200>; - interrupts = < 0 19 0x04 >; - }; - - sdhci@78000600 { - compatible = "nvidia,tegra30-sdhci", "nvidia,tegra20-sdhci"; - reg = <0x78000600 0x200>; - interrupts = < 0 31 0x04 >; - }; - - pinmux: pinmux@70000000 { - compatible = "nvidia,tegra30-pinmux"; - reg = < 0x70000868 0xd0 /* Pad control registers */ - 0x70003000 0x3e0 >; /* Mux registers */ - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/testcases/tests-phandle.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v1/testcases/tests-phandle.dtsi deleted file mode 100644 index 0007d3cd7..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/testcases/tests-phandle.dtsi +++ /dev/null @@ -1,39 +0,0 @@ - -/ { - testcase-data { - phandle-tests { - provider0: provider0 { - #phandle-cells = <0>; - }; - - provider1: provider1 { - #phandle-cells = <1>; - }; - - provider2: provider2 { - #phandle-cells = <2>; - }; - - provider3: provider3 { - #phandle-cells = <3>; - }; - - consumer-a { - phandle-list = <&provider1 1>, - <&provider2 2 0>, - <0>, - <&provider3 4 4 3>, - <&provider2 5 100>, - <&provider0>, - <&provider1 7>; - phandle-list-names = "first", "second", "third"; - - phandle-list-bad-phandle = <12345678 0 0>; - phandle-list-bad-args = <&provider2 1 0>, - <&provider3 0>; - empty-property; - unterminated-string = [40 41 42 43]; - }; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/testcases/tests.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v1/testcases/tests.dtsi deleted file mode 100644 index a7c506762..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/testcases/tests.dtsi +++ /dev/null @@ -1 +0,0 @@ -/include/ "tests-phandle.dtsi" diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/usb_a9g20-dab-mmx.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v1/usb_a9g20-dab-mmx.dtsi deleted file mode 100644 index ad3eca17c..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/usb_a9g20-dab-mmx.dtsi +++ /dev/null @@ -1,96 +0,0 @@ -/* - * calao-dab-mmx.dtsi - Device Tree Include file for Calao DAB-MMX Daughter Board - * - * Copyright (C) 2011 Jean-Christophe PLAGNIOL-VILLARD - * - * Licensed under GPLv2. - */ - -/ { - ahb { - apb { - usart1: serial@fffb4000 { - status = "okay"; - }; - - usart3: serial@fffd0000 { - status = "okay"; - }; - }; - }; - - i2c-gpio@0 { - status = "okay"; - }; - - leds { - compatible = "gpio-leds"; - - user_led1 { - label = "user_led1"; - gpios = <&pioB 20 1>; - }; - -/* -* led already used by mother board but active as high -* user_led2 { -* label = "user_led2"; -* gpios = <&pioB 21 1>; -* }; -*/ - user_led3 { - label = "user_led3"; - gpios = <&pioB 22 1>; - }; - - user_led4 { - label = "user_led4"; - gpios = <&pioB 23 1>; - }; - - red { - label = "red"; - gpios = <&pioB 24 1>; - }; - - orange { - label = "orange"; - gpios = <&pioB 30 1>; - }; - - green { - label = "green"; - gpios = <&pioB 31 1>; - }; - }; - - gpio_keys { - compatible = "gpio-keys"; - #address-cells = <1>; - #size-cells = <0>; - - user_pb1 { - label = "user_pb1"; - gpios = <&pioB 25 1>; - linux,code = <0x100>; - }; - - user_pb2 { - label = "user_pb2"; - gpios = <&pioB 13 1>; - linux,code = <0x101>; - }; - - user_pb3 { - label = "user_pb3"; - gpios = <&pioA 26 1>; - linux,code = <0x102>; - }; - - user_pb4 { - label = "user_pb4"; - gpios = <&pioC 9 1>; - linux,code = <0x103>; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/usb_a9g20.dts b/kernel/arch/arm/boot/dts/tr961-5200l-v1/usb_a9g20.dts deleted file mode 100644 index 7c2399c53..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/usb_a9g20.dts +++ /dev/null @@ -1,130 +0,0 @@ -/* - * usb_a9g20.dts - Device Tree file for Caloa USB A9G20 board - * - * Copyright (C) 2011 Jean-Christophe PLAGNIOL-VILLARD - * - * Licensed under GPLv2 or later. - */ -/dts-v1/; -/include/ "at91sam9g20.dtsi" - -/ { - model = "Calao USB A9G20"; - compatible = "calao,usb-a9g20", "atmel,at91sam9g20", "atmel,at91sam9"; - - chosen { - bootargs = "mem=64M console=ttyS0,115200 root=/dev/mtdblock5 rw rootfstype=ubifs"; - }; - - memory { - reg = <0x20000000 0x4000000>; - }; - - clocks { - #address-cells = <1>; - #size-cells = <1>; - ranges; - - main_clock: clock@0 { - compatible = "atmel,osc", "fixed-clock"; - clock-frequency = <12000000>; - }; - }; - - ahb { - apb { - dbgu: serial@fffff200 { - status = "okay"; - }; - - macb0: ethernet@fffc4000 { - phy-mode = "rmii"; - status = "okay"; - }; - - usb1: gadget@fffa4000 { - atmel,vbus-gpio = <&pioC 5 0>; - status = "okay"; - }; - }; - - nand0: nand@40000000 { - nand-bus-width = <8>; - nand-ecc-mode = "soft"; - nand-on-flash-bbt; - status = "okay"; - - at91bootstrap@0 { - label = "at91bootstrap"; - reg = <0x0 0x20000>; - }; - - barebox@20000 { - label = "barebox"; - reg = <0x20000 0x40000>; - }; - - bareboxenv@60000 { - label = "bareboxenv"; - reg = <0x60000 0x20000>; - }; - - bareboxenv2@80000 { - label = "bareboxenv2"; - reg = <0x80000 0x20000>; - }; - - kernel@a0000 { - label = "kernel"; - reg = <0xa0000 0x400000>; - }; - - rootfs@4a0000 { - label = "rootfs"; - reg = <0x4a0000 0x7800000>; - }; - - data@7ca0000 { - label = "data"; - reg = <0x7ca0000 0x8360000>; - }; - }; - - usb0: ohci@00500000 { - num-ports = <2>; - status = "okay"; - }; - }; - - leds { - compatible = "gpio-leds"; - - user_led { - label = "user_led"; - gpios = <&pioB 21 1>; - linux,default-trigger = "heartbeat"; - }; - }; - - gpio_keys { - compatible = "gpio-keys"; - #address-cells = <1>; - #size-cells = <0>; - - user_pb { - label = "user_pb"; - gpios = <&pioB 10 1>; - linux,code = <28>; - gpio-key,wakeup; - }; - }; - - i2c@0 { - status = "okay"; - - rv3029c2@56 { - compatible = "rv3029c2"; - reg = <0x56>; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/versatile-ab.dts b/kernel/arch/arm/boot/dts/tr961-5200l-v1/versatile-ab.dts deleted file mode 100644 index e2fe3195c..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/versatile-ab.dts +++ /dev/null @@ -1,192 +0,0 @@ -/dts-v1/; -/include/ "skeleton.dtsi" - -/ { - model = "ARM Versatile AB"; - compatible = "arm,versatile-ab"; - #address-cells = <1>; - #size-cells = <1>; - interrupt-parent = <&vic>; - - aliases { - serial0 = &uart0; - serial1 = &uart1; - serial2 = &uart2; - i2c0 = &i2c0; - }; - - memory { - reg = <0x0 0x08000000>; - }; - - flash@34000000 { - compatible = "arm,versatile-flash"; - reg = <0x34000000 0x4000000>; - bank-width = <4>; - }; - - i2c0: i2c@10002000 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "arm,versatile-i2c"; - reg = <0x10002000 0x1000>; - - rtc@68 { - compatible = "dallas,ds1338"; - reg = <0x68>; - }; - }; - - net@10010000 { - compatible = "smsc,lan91c111"; - reg = <0x10010000 0x10000>; - interrupts = <25>; - }; - - lcd@10008000 { - compatible = "arm,versatile-lcd"; - reg = <0x10008000 0x1000>; - }; - - amba { - compatible = "arm,amba-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - - vic: intc@10140000 { - compatible = "arm,versatile-vic"; - interrupt-controller; - #interrupt-cells = <1>; - reg = <0x10140000 0x1000>; - }; - - sic: intc@10003000 { - compatible = "arm,versatile-sic"; - interrupt-controller; - #interrupt-cells = <1>; - reg = <0x10003000 0x1000>; - interrupt-parent = <&vic>; - interrupts = <31>; /* Cascaded to vic */ - }; - - dma@10130000 { - compatible = "arm,pl081", "arm,primecell"; - reg = <0x10130000 0x1000>; - interrupts = <17>; - }; - - uart0: uart@101f1000 { - compatible = "arm,pl011", "arm,primecell"; - reg = <0x101f1000 0x1000>; - interrupts = <12>; - }; - - uart1: uart@101f2000 { - compatible = "arm,pl011", "arm,primecell"; - reg = <0x101f2000 0x1000>; - interrupts = <13>; - }; - - uart2: uart@101f3000 { - compatible = "arm,pl011", "arm,primecell"; - reg = <0x101f3000 0x1000>; - interrupts = <14>; - }; - - smc@10100000 { - compatible = "arm,primecell"; - reg = <0x10100000 0x1000>; - }; - - mpmc@10110000 { - compatible = "arm,primecell"; - reg = <0x10110000 0x1000>; - }; - - display@10120000 { - compatible = "arm,pl110", "arm,primecell"; - reg = <0x10120000 0x1000>; - interrupts = <16>; - }; - - sctl@101e0000 { - compatible = "arm,primecell"; - reg = <0x101e0000 0x1000>; - }; - - watchdog@101e1000 { - compatible = "arm,primecell"; - reg = <0x101e1000 0x1000>; - interrupts = <0>; - }; - - gpio0: gpio@101e4000 { - compatible = "arm,pl061", "arm,primecell"; - reg = <0x101e4000 0x1000>; - gpio-controller; - interrupts = <6>; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - gpio1: gpio@101e5000 { - compatible = "arm,pl061", "arm,primecell"; - reg = <0x101e5000 0x1000>; - interrupts = <7>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - rtc@101e8000 { - compatible = "arm,pl030", "arm,primecell"; - reg = <0x101e8000 0x1000>; - interrupts = <10>; - }; - - sci@101f0000 { - compatible = "arm,primecell"; - reg = <0x101f0000 0x1000>; - interrupts = <15>; - }; - - ssp@101f4000 { - compatible = "arm,pl022", "arm,primecell"; - reg = <0x101f4000 0x1000>; - interrupts = <11>; - }; - - fpga { - compatible = "arm,versatile-fpga", "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0 0x10000000 0x10000>; - - aaci@4000 { - compatible = "arm,primecell"; - reg = <0x4000 0x1000>; - interrupts = <24>; - }; - mmc@5000 { - compatible = "arm,primecell"; - reg = < 0x5000 0x1000>; - interrupts = <22 34>; - }; - kmi@6000 { - compatible = "arm,pl050", "arm,primecell"; - reg = <0x6000 0x1000>; - interrupt-parent = <&sic>; - interrupts = <3>; - }; - kmi@7000 { - compatible = "arm,pl050", "arm,primecell"; - reg = <0x7000 0x1000>; - interrupt-parent = <&sic>; - interrupts = <4>; - }; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/versatile-pb.dts b/kernel/arch/arm/boot/dts/tr961-5200l-v1/versatile-pb.dts deleted file mode 100644 index 7e8175269..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/versatile-pb.dts +++ /dev/null @@ -1,50 +0,0 @@ -/include/ "versatile-ab.dts" - -/ { - model = "ARM Versatile PB"; - compatible = "arm,versatile-pb"; - - amba { - gpio2: gpio@101e6000 { - compatible = "arm,pl061", "arm,primecell"; - reg = <0x101e6000 0x1000>; - interrupts = <8>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - gpio3: gpio@101e7000 { - compatible = "arm,pl061", "arm,primecell"; - reg = <0x101e7000 0x1000>; - interrupts = <9>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - fpga { - uart@9000 { - compatible = "arm,pl011", "arm,primecell"; - reg = <0x9000 0x1000>; - interrupt-parent = <&sic>; - interrupts = <6>; - }; - sci@a000 { - compatible = "arm,primecell"; - reg = <0xa000 0x1000>; - interrupt-parent = <&sic>; - interrupts = <5>; - }; - mmc@b000 { - compatible = "arm,primecell"; - reg = <0xb000 0x1000>; - interrupts = <23 34>; - }; - }; - }; -}; - -/include/ "testcases/tests.dtsi" diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/vexpress-v2m-rs1.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v1/vexpress-v2m-rs1.dtsi deleted file mode 100644 index 16076e2d0..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/vexpress-v2m-rs1.dtsi +++ /dev/null @@ -1,201 +0,0 @@ -/* - * ARM Ltd. Versatile Express - * - * Motherboard Express uATX - * V2M-P1 - * - * HBI-0190D - * - * RS1 memory map ("ARM Cortex-A Series memory map" in the board's - * Technical Reference Manual) - * - * WARNING! The hardware described in this file is independent from the - * original variant (vexpress-v2m.dtsi), but there is a strong - * correspondence between the two configurations. - * - * TAKE CARE WHEN MAINTAINING THIS FILE TO PROPAGATE ANY RELEVANT - * CHANGES TO vexpress-v2m.dtsi! - */ - -/ { - aliases { - arm,v2m_timer = &v2m_timer01; - }; - - motherboard { - compatible = "simple-bus"; - arm,v2m-memory-map = "rs1"; - #address-cells = <2>; /* SMB chipselect number and offset */ - #size-cells = <1>; - #interrupt-cells = <1>; - - flash@0,00000000 { - compatible = "arm,vexpress-flash", "cfi-flash"; - reg = <0 0x00000000 0x04000000>, - <4 0x00000000 0x04000000>; - bank-width = <4>; - }; - - psram@1,00000000 { - compatible = "arm,vexpress-psram", "mtd-ram"; - reg = <1 0x00000000 0x02000000>; - bank-width = <4>; - }; - - vram@2,00000000 { - compatible = "arm,vexpress-vram"; - reg = <2 0x00000000 0x00800000>; - }; - - ethernet@2,02000000 { - compatible = "smsc,lan9118", "smsc,lan9115"; - reg = <2 0x02000000 0x10000>; - interrupts = <15>; - phy-mode = "mii"; - reg-io-width = <4>; - smsc,irq-active-high; - smsc,irq-push-pull; - }; - - usb@2,03000000 { - compatible = "nxp,usb-isp1761"; - reg = <2 0x03000000 0x20000>; - interrupts = <16>; - port1-otg; - }; - - iofpga@3,00000000 { - compatible = "arm,amba-bus", "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0 3 0 0x200000>; - - sysreg@010000 { - compatible = "arm,vexpress-sysreg"; - reg = <0x010000 0x1000>; - }; - - sysctl@020000 { - compatible = "arm,sp810", "arm,primecell"; - reg = <0x020000 0x1000>; - }; - - /* PCI-E I2C bus */ - v2m_i2c_pcie: i2c@030000 { - compatible = "arm,versatile-i2c"; - reg = <0x030000 0x1000>; - - #address-cells = <1>; - #size-cells = <0>; - - pcie-switch@60 { - compatible = "idt,89hpes32h8"; - reg = <0x60>; - }; - }; - - aaci@040000 { - compatible = "arm,pl041", "arm,primecell"; - reg = <0x040000 0x1000>; - interrupts = <11>; - }; - - mmci@050000 { - compatible = "arm,pl180", "arm,primecell"; - reg = <0x050000 0x1000>; - interrupts = <9 10>; - }; - - kmi@060000 { - compatible = "arm,pl050", "arm,primecell"; - reg = <0x060000 0x1000>; - interrupts = <12>; - }; - - kmi@070000 { - compatible = "arm,pl050", "arm,primecell"; - reg = <0x070000 0x1000>; - interrupts = <13>; - }; - - v2m_serial0: uart@090000 { - compatible = "arm,pl011", "arm,primecell"; - reg = <0x090000 0x1000>; - interrupts = <5>; - }; - - v2m_serial1: uart@0a0000 { - compatible = "arm,pl011", "arm,primecell"; - reg = <0x0a0000 0x1000>; - interrupts = <6>; - }; - - v2m_serial2: uart@0b0000 { - compatible = "arm,pl011", "arm,primecell"; - reg = <0x0b0000 0x1000>; - interrupts = <7>; - }; - - v2m_serial3: uart@0c0000 { - compatible = "arm,pl011", "arm,primecell"; - reg = <0x0c0000 0x1000>; - interrupts = <8>; - }; - - wdt@0f0000 { - compatible = "arm,sp805", "arm,primecell"; - reg = <0x0f0000 0x1000>; - interrupts = <0>; - }; - - v2m_timer01: timer@110000 { - compatible = "arm,sp804", "arm,primecell"; - reg = <0x110000 0x1000>; - interrupts = <2>; - }; - - v2m_timer23: timer@120000 { - compatible = "arm,sp804", "arm,primecell"; - reg = <0x120000 0x1000>; - }; - - /* DVI I2C bus */ - v2m_i2c_dvi: i2c@160000 { - compatible = "arm,versatile-i2c"; - reg = <0x160000 0x1000>; - - #address-cells = <1>; - #size-cells = <0>; - - dvi-transmitter@39 { - compatible = "sil,sii9022-tpi", "sil,sii9022"; - reg = <0x39>; - }; - - dvi-transmitter@60 { - compatible = "sil,sii9022-cpi", "sil,sii9022"; - reg = <0x60>; - }; - }; - - rtc@170000 { - compatible = "arm,pl031", "arm,primecell"; - reg = <0x170000 0x1000>; - interrupts = <4>; - }; - - compact-flash@1a0000 { - compatible = "arm,vexpress-cf", "ata-generic"; - reg = <0x1a0000 0x100 - 0x1a0100 0xf00>; - reg-shift = <2>; - }; - - clcd@1f0000 { - compatible = "arm,pl111", "arm,primecell"; - reg = <0x1f0000 0x1000>; - interrupts = <14>; - }; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/vexpress-v2m.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v1/vexpress-v2m.dtsi deleted file mode 100644 index a6c9c7c82..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/vexpress-v2m.dtsi +++ /dev/null @@ -1,200 +0,0 @@ -/* - * ARM Ltd. Versatile Express - * - * Motherboard Express uATX - * V2M-P1 - * - * HBI-0190D - * - * Original memory map ("Legacy memory map" in the board's - * Technical Reference Manual) - * - * WARNING! The hardware described in this file is independent from the - * RS1 variant (vexpress-v2m-rs1.dtsi), but there is a strong - * correspondence between the two configurations. - * - * TAKE CARE WHEN MAINTAINING THIS FILE TO PROPAGATE ANY RELEVANT - * CHANGES TO vexpress-v2m-rs1.dtsi! - */ - -/ { - aliases { - arm,v2m_timer = &v2m_timer01; - }; - - motherboard { - compatible = "simple-bus"; - #address-cells = <2>; /* SMB chipselect number and offset */ - #size-cells = <1>; - #interrupt-cells = <1>; - - flash@0,00000000 { - compatible = "arm,vexpress-flash", "cfi-flash"; - reg = <0 0x00000000 0x04000000>, - <1 0x00000000 0x04000000>; - bank-width = <4>; - }; - - psram@2,00000000 { - compatible = "arm,vexpress-psram", "mtd-ram"; - reg = <2 0x00000000 0x02000000>; - bank-width = <4>; - }; - - vram@3,00000000 { - compatible = "arm,vexpress-vram"; - reg = <3 0x00000000 0x00800000>; - }; - - ethernet@3,02000000 { - compatible = "smsc,lan9118", "smsc,lan9115"; - reg = <3 0x02000000 0x10000>; - interrupts = <15>; - phy-mode = "mii"; - reg-io-width = <4>; - smsc,irq-active-high; - smsc,irq-push-pull; - }; - - usb@3,03000000 { - compatible = "nxp,usb-isp1761"; - reg = <3 0x03000000 0x20000>; - interrupts = <16>; - port1-otg; - }; - - iofpga@7,00000000 { - compatible = "arm,amba-bus", "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0 7 0 0x20000>; - - sysreg@00000 { - compatible = "arm,vexpress-sysreg"; - reg = <0x00000 0x1000>; - }; - - sysctl@01000 { - compatible = "arm,sp810", "arm,primecell"; - reg = <0x01000 0x1000>; - }; - - /* PCI-E I2C bus */ - v2m_i2c_pcie: i2c@02000 { - compatible = "arm,versatile-i2c"; - reg = <0x02000 0x1000>; - - #address-cells = <1>; - #size-cells = <0>; - - pcie-switch@60 { - compatible = "idt,89hpes32h8"; - reg = <0x60>; - }; - }; - - aaci@04000 { - compatible = "arm,pl041", "arm,primecell"; - reg = <0x04000 0x1000>; - interrupts = <11>; - }; - - mmci@05000 { - compatible = "arm,pl180", "arm,primecell"; - reg = <0x05000 0x1000>; - interrupts = <9 10>; - }; - - kmi@06000 { - compatible = "arm,pl050", "arm,primecell"; - reg = <0x06000 0x1000>; - interrupts = <12>; - }; - - kmi@07000 { - compatible = "arm,pl050", "arm,primecell"; - reg = <0x07000 0x1000>; - interrupts = <13>; - }; - - v2m_serial0: uart@09000 { - compatible = "arm,pl011", "arm,primecell"; - reg = <0x09000 0x1000>; - interrupts = <5>; - }; - - v2m_serial1: uart@0a000 { - compatible = "arm,pl011", "arm,primecell"; - reg = <0x0a000 0x1000>; - interrupts = <6>; - }; - - v2m_serial2: uart@0b000 { - compatible = "arm,pl011", "arm,primecell"; - reg = <0x0b000 0x1000>; - interrupts = <7>; - }; - - v2m_serial3: uart@0c000 { - compatible = "arm,pl011", "arm,primecell"; - reg = <0x0c000 0x1000>; - interrupts = <8>; - }; - - wdt@0f000 { - compatible = "arm,sp805", "arm,primecell"; - reg = <0x0f000 0x1000>; - interrupts = <0>; - }; - - v2m_timer01: timer@11000 { - compatible = "arm,sp804", "arm,primecell"; - reg = <0x11000 0x1000>; - interrupts = <2>; - }; - - v2m_timer23: timer@12000 { - compatible = "arm,sp804", "arm,primecell"; - reg = <0x12000 0x1000>; - }; - - /* DVI I2C bus */ - v2m_i2c_dvi: i2c@16000 { - compatible = "arm,versatile-i2c"; - reg = <0x16000 0x1000>; - - #address-cells = <1>; - #size-cells = <0>; - - dvi-transmitter@39 { - compatible = "sil,sii9022-tpi", "sil,sii9022"; - reg = <0x39>; - }; - - dvi-transmitter@60 { - compatible = "sil,sii9022-cpi", "sil,sii9022"; - reg = <0x60>; - }; - }; - - rtc@17000 { - compatible = "arm,pl031", "arm,primecell"; - reg = <0x17000 0x1000>; - interrupts = <4>; - }; - - compact-flash@1a000 { - compatible = "arm,vexpress-cf", "ata-generic"; - reg = <0x1a000 0x100 - 0x1a100 0xf00>; - reg-shift = <2>; - }; - - clcd@1f000 { - compatible = "arm,pl111", "arm,primecell"; - reg = <0x1f000 0x1000>; - interrupts = <14>; - }; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/vexpress-v2p-ca15-tc1.dts b/kernel/arch/arm/boot/dts/tr961-5200l-v1/vexpress-v2p-ca15-tc1.dts deleted file mode 100644 index 941b161ab..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/vexpress-v2p-ca15-tc1.dts +++ /dev/null @@ -1,157 +0,0 @@ -/* - * ARM Ltd. Versatile Express - * - * CoreTile Express A15x2 (version with Test Chip 1) - * Cortex-A15 MPCore (V2P-CA15) - * - * HBI-0237A - */ - -/dts-v1/; - -/ { - model = "V2P-CA15"; - arm,hbi = <0x237>; - compatible = "arm,vexpress,v2p-ca15,tc1", "arm,vexpress,v2p-ca15", "arm,vexpress"; - interrupt-parent = <&gic>; - #address-cells = <1>; - #size-cells = <1>; - - chosen { }; - - aliases { - serial0 = &v2m_serial0; - serial1 = &v2m_serial1; - serial2 = &v2m_serial2; - serial3 = &v2m_serial3; - i2c0 = &v2m_i2c_dvi; - i2c1 = &v2m_i2c_pcie; - }; - - cpus { - #address-cells = <1>; - #size-cells = <0>; - - cpu@0 { - device_type = "cpu"; - compatible = "arm,cortex-a15"; - reg = <0>; - }; - - cpu@1 { - device_type = "cpu"; - compatible = "arm,cortex-a15"; - reg = <1>; - }; - }; - - memory@80000000 { - device_type = "memory"; - reg = <0x80000000 0x40000000>; - }; - - hdlcd@2b000000 { - compatible = "arm,hdlcd"; - reg = <0x2b000000 0x1000>; - interrupts = <0 85 4>; - }; - - memory-controller@2b0a0000 { - compatible = "arm,pl341", "arm,primecell"; - reg = <0x2b0a0000 0x1000>; - }; - - wdt@2b060000 { - compatible = "arm,sp805", "arm,primecell"; - reg = <0x2b060000 0x1000>; - interrupts = <98>; - }; - - gic: interrupt-controller@2c001000 { - compatible = "arm,cortex-a15-gic", "arm,cortex-a9-gic"; - #interrupt-cells = <3>; - #address-cells = <0>; - interrupt-controller; - reg = <0x2c001000 0x1000>, - <0x2c002000 0x100>; - }; - - memory-controller@7ffd0000 { - compatible = "arm,pl354", "arm,primecell"; - reg = <0x7ffd0000 0x1000>; - interrupts = <0 86 4>, - <0 87 4>; - }; - - dma@7ffb0000 { - compatible = "arm,pl330", "arm,primecell"; - reg = <0x7ffb0000 0x1000>; - interrupts = <0 92 4>, - <0 88 4>, - <0 89 4>, - <0 90 4>, - <0 91 4>; - }; - - pmu { - compatible = "arm,cortex-a15-pmu", "arm,cortex-a9-pmu"; - interrupts = <0 68 4>, - <0 69 4>; - }; - - motherboard { - ranges = <0 0 0x08000000 0x04000000>, - <1 0 0x14000000 0x04000000>, - <2 0 0x18000000 0x04000000>, - <3 0 0x1c000000 0x04000000>, - <4 0 0x0c000000 0x04000000>, - <5 0 0x10000000 0x04000000>; - - interrupt-map-mask = <0 0 63>; - interrupt-map = <0 0 0 &gic 0 0 4>, - <0 0 1 &gic 0 1 4>, - <0 0 2 &gic 0 2 4>, - <0 0 3 &gic 0 3 4>, - <0 0 4 &gic 0 4 4>, - <0 0 5 &gic 0 5 4>, - <0 0 6 &gic 0 6 4>, - <0 0 7 &gic 0 7 4>, - <0 0 8 &gic 0 8 4>, - <0 0 9 &gic 0 9 4>, - <0 0 10 &gic 0 10 4>, - <0 0 11 &gic 0 11 4>, - <0 0 12 &gic 0 12 4>, - <0 0 13 &gic 0 13 4>, - <0 0 14 &gic 0 14 4>, - <0 0 15 &gic 0 15 4>, - <0 0 16 &gic 0 16 4>, - <0 0 17 &gic 0 17 4>, - <0 0 18 &gic 0 18 4>, - <0 0 19 &gic 0 19 4>, - <0 0 20 &gic 0 20 4>, - <0 0 21 &gic 0 21 4>, - <0 0 22 &gic 0 22 4>, - <0 0 23 &gic 0 23 4>, - <0 0 24 &gic 0 24 4>, - <0 0 25 &gic 0 25 4>, - <0 0 26 &gic 0 26 4>, - <0 0 27 &gic 0 27 4>, - <0 0 28 &gic 0 28 4>, - <0 0 29 &gic 0 29 4>, - <0 0 30 &gic 0 30 4>, - <0 0 31 &gic 0 31 4>, - <0 0 32 &gic 0 32 4>, - <0 0 33 &gic 0 33 4>, - <0 0 34 &gic 0 34 4>, - <0 0 35 &gic 0 35 4>, - <0 0 36 &gic 0 36 4>, - <0 0 37 &gic 0 37 4>, - <0 0 38 &gic 0 38 4>, - <0 0 39 &gic 0 39 4>, - <0 0 40 &gic 0 40 4>, - <0 0 41 &gic 0 41 4>, - <0 0 42 &gic 0 42 4>; - }; -}; - -/include/ "vexpress-v2m-rs1.dtsi" diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/vexpress-v2p-ca5s.dts b/kernel/arch/arm/boot/dts/tr961-5200l-v1/vexpress-v2p-ca5s.dts deleted file mode 100644 index 6905e66d4..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/vexpress-v2p-ca5s.dts +++ /dev/null @@ -1,162 +0,0 @@ -/* - * ARM Ltd. Versatile Express - * - * CoreTile Express A5x2 - * Cortex-A5 MPCore (V2P-CA5s) - * - * HBI-0225B - */ - -/dts-v1/; - -/ { - model = "V2P-CA5s"; - arm,hbi = <0x225>; - compatible = "arm,vexpress,v2p-ca5s", "arm,vexpress"; - interrupt-parent = <&gic>; - #address-cells = <1>; - #size-cells = <1>; - - chosen { }; - - aliases { - serial0 = &v2m_serial0; - serial1 = &v2m_serial1; - serial2 = &v2m_serial2; - serial3 = &v2m_serial3; - i2c0 = &v2m_i2c_dvi; - i2c1 = &v2m_i2c_pcie; - }; - - cpus { - #address-cells = <1>; - #size-cells = <0>; - - cpu@0 { - device_type = "cpu"; - compatible = "arm,cortex-a5"; - reg = <0>; - next-level-cache = <&L2>; - }; - - cpu@1 { - device_type = "cpu"; - compatible = "arm,cortex-a5"; - reg = <1>; - next-level-cache = <&L2>; - }; - }; - - memory@80000000 { - device_type = "memory"; - reg = <0x80000000 0x40000000>; - }; - - hdlcd@2a110000 { - compatible = "arm,hdlcd"; - reg = <0x2a110000 0x1000>; - interrupts = <0 85 4>; - }; - - memory-controller@2a150000 { - compatible = "arm,pl341", "arm,primecell"; - reg = <0x2a150000 0x1000>; - }; - - memory-controller@2a190000 { - compatible = "arm,pl354", "arm,primecell"; - reg = <0x2a190000 0x1000>; - interrupts = <0 86 4>, - <0 87 4>; - }; - - scu@2c000000 { - compatible = "arm,cortex-a5-scu"; - reg = <0x2c000000 0x58>; - }; - - timer@2c000600 { - compatible = "arm,cortex-a5-twd-timer"; - reg = <0x2c000600 0x38>; - interrupts = <1 2 0x304>, - <1 3 0x304>; - }; - - gic: interrupt-controller@2c001000 { - compatible = "arm,corex-a5-gic", "arm,cortex-a9-gic"; - #interrupt-cells = <3>; - #address-cells = <0>; - interrupt-controller; - reg = <0x2c001000 0x1000>, - <0x2c000100 0x100>; - }; - - L2: cache-controller@2c0f0000 { - compatible = "arm,pl310-cache"; - reg = <0x2c0f0000 0x1000>; - interrupts = <0 84 4>; - cache-level = <2>; - }; - - pmu { - compatible = "arm,cortex-a5-pmu", "arm,cortex-a9-pmu"; - interrupts = <0 68 4>, - <0 69 4>; - }; - - motherboard { - ranges = <0 0 0x08000000 0x04000000>, - <1 0 0x14000000 0x04000000>, - <2 0 0x18000000 0x04000000>, - <3 0 0x1c000000 0x04000000>, - <4 0 0x0c000000 0x04000000>, - <5 0 0x10000000 0x04000000>; - - interrupt-map-mask = <0 0 63>; - interrupt-map = <0 0 0 &gic 0 0 4>, - <0 0 1 &gic 0 1 4>, - <0 0 2 &gic 0 2 4>, - <0 0 3 &gic 0 3 4>, - <0 0 4 &gic 0 4 4>, - <0 0 5 &gic 0 5 4>, - <0 0 6 &gic 0 6 4>, - <0 0 7 &gic 0 7 4>, - <0 0 8 &gic 0 8 4>, - <0 0 9 &gic 0 9 4>, - <0 0 10 &gic 0 10 4>, - <0 0 11 &gic 0 11 4>, - <0 0 12 &gic 0 12 4>, - <0 0 13 &gic 0 13 4>, - <0 0 14 &gic 0 14 4>, - <0 0 15 &gic 0 15 4>, - <0 0 16 &gic 0 16 4>, - <0 0 17 &gic 0 17 4>, - <0 0 18 &gic 0 18 4>, - <0 0 19 &gic 0 19 4>, - <0 0 20 &gic 0 20 4>, - <0 0 21 &gic 0 21 4>, - <0 0 22 &gic 0 22 4>, - <0 0 23 &gic 0 23 4>, - <0 0 24 &gic 0 24 4>, - <0 0 25 &gic 0 25 4>, - <0 0 26 &gic 0 26 4>, - <0 0 27 &gic 0 27 4>, - <0 0 28 &gic 0 28 4>, - <0 0 29 &gic 0 29 4>, - <0 0 30 &gic 0 30 4>, - <0 0 31 &gic 0 31 4>, - <0 0 32 &gic 0 32 4>, - <0 0 33 &gic 0 33 4>, - <0 0 34 &gic 0 34 4>, - <0 0 35 &gic 0 35 4>, - <0 0 36 &gic 0 36 4>, - <0 0 37 &gic 0 37 4>, - <0 0 38 &gic 0 38 4>, - <0 0 39 &gic 0 39 4>, - <0 0 40 &gic 0 40 4>, - <0 0 41 &gic 0 41 4>, - <0 0 42 &gic 0 42 4>; - }; -}; - -/include/ "vexpress-v2m-rs1.dtsi" diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/vexpress-v2p-ca9.dts b/kernel/arch/arm/boot/dts/tr961-5200l-v1/vexpress-v2p-ca9.dts deleted file mode 100644 index da778693b..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/vexpress-v2p-ca9.dts +++ /dev/null @@ -1,192 +0,0 @@ -/* - * ARM Ltd. Versatile Express - * - * CoreTile Express A9x4 - * Cortex-A9 MPCore (V2P-CA9) - * - * HBI-0191B - */ - -/dts-v1/; - -/ { - model = "V2P-CA9"; - arm,hbi = <0x191>; - compatible = "arm,vexpress,v2p-ca9", "arm,vexpress"; - interrupt-parent = <&gic>; - #address-cells = <1>; - #size-cells = <1>; - - chosen { }; - - aliases { - serial0 = &v2m_serial0; - serial1 = &v2m_serial1; - serial2 = &v2m_serial2; - serial3 = &v2m_serial3; - i2c0 = &v2m_i2c_dvi; - i2c1 = &v2m_i2c_pcie; - }; - - cpus { - #address-cells = <1>; - #size-cells = <0>; - - cpu@0 { - device_type = "cpu"; - compatible = "arm,cortex-a9"; - reg = <0>; - next-level-cache = <&L2>; - }; - - cpu@1 { - device_type = "cpu"; - compatible = "arm,cortex-a9"; - reg = <1>; - next-level-cache = <&L2>; - }; - - cpu@2 { - device_type = "cpu"; - compatible = "arm,cortex-a9"; - reg = <2>; - next-level-cache = <&L2>; - }; - - cpu@3 { - device_type = "cpu"; - compatible = "arm,cortex-a9"; - reg = <3>; - next-level-cache = <&L2>; - }; - }; - - memory@60000000 { - device_type = "memory"; - reg = <0x60000000 0x40000000>; - }; - - clcd@10020000 { - compatible = "arm,pl111", "arm,primecell"; - reg = <0x10020000 0x1000>; - interrupts = <0 44 4>; - }; - - memory-controller@100e0000 { - compatible = "arm,pl341", "arm,primecell"; - reg = <0x100e0000 0x1000>; - }; - - memory-controller@100e1000 { - compatible = "arm,pl354", "arm,primecell"; - reg = <0x100e1000 0x1000>; - interrupts = <0 45 4>, - <0 46 4>; - }; - - timer@100e4000 { - compatible = "arm,sp804", "arm,primecell"; - reg = <0x100e4000 0x1000>; - interrupts = <0 48 4>, - <0 49 4>; - }; - - watchdog@100e5000 { - compatible = "arm,sp805", "arm,primecell"; - reg = <0x100e5000 0x1000>; - interrupts = <0 51 4>; - }; - - scu@1e000000 { - compatible = "arm,cortex-a9-scu"; - reg = <0x1e000000 0x58>; - }; - - timer@1e000600 { - compatible = "arm,cortex-a9-twd-timer"; - reg = <0x1e000600 0x20>; - interrupts = <1 2 0xf04>, - <1 3 0xf04>; - }; - - gic: interrupt-controller@1e001000 { - compatible = "arm,cortex-a9-gic"; - #interrupt-cells = <3>; - #address-cells = <0>; - interrupt-controller; - reg = <0x1e001000 0x1000>, - <0x1e000100 0x100>; - }; - - L2: cache-controller@1e00a000 { - compatible = "arm,pl310-cache"; - reg = <0x1e00a000 0x1000>; - interrupts = <0 43 4>; - cache-level = <2>; - arm,data-latency = <1 1 1>; - arm,tag-latency = <1 1 1>; - }; - - pmu { - compatible = "arm,cortex-a9-pmu"; - interrupts = <0 60 4>, - <0 61 4>, - <0 62 4>, - <0 63 4>; - }; - - motherboard { - ranges = <0 0 0x40000000 0x04000000>, - <1 0 0x44000000 0x04000000>, - <2 0 0x48000000 0x04000000>, - <3 0 0x4c000000 0x04000000>, - <7 0 0x10000000 0x00020000>; - - interrupt-map-mask = <0 0 63>; - interrupt-map = <0 0 0 &gic 0 0 4>, - <0 0 1 &gic 0 1 4>, - <0 0 2 &gic 0 2 4>, - <0 0 3 &gic 0 3 4>, - <0 0 4 &gic 0 4 4>, - <0 0 5 &gic 0 5 4>, - <0 0 6 &gic 0 6 4>, - <0 0 7 &gic 0 7 4>, - <0 0 8 &gic 0 8 4>, - <0 0 9 &gic 0 9 4>, - <0 0 10 &gic 0 10 4>, - <0 0 11 &gic 0 11 4>, - <0 0 12 &gic 0 12 4>, - <0 0 13 &gic 0 13 4>, - <0 0 14 &gic 0 14 4>, - <0 0 15 &gic 0 15 4>, - <0 0 16 &gic 0 16 4>, - <0 0 17 &gic 0 17 4>, - <0 0 18 &gic 0 18 4>, - <0 0 19 &gic 0 19 4>, - <0 0 20 &gic 0 20 4>, - <0 0 21 &gic 0 21 4>, - <0 0 22 &gic 0 22 4>, - <0 0 23 &gic 0 23 4>, - <0 0 24 &gic 0 24 4>, - <0 0 25 &gic 0 25 4>, - <0 0 26 &gic 0 26 4>, - <0 0 27 &gic 0 27 4>, - <0 0 28 &gic 0 28 4>, - <0 0 29 &gic 0 29 4>, - <0 0 30 &gic 0 30 4>, - <0 0 31 &gic 0 31 4>, - <0 0 32 &gic 0 32 4>, - <0 0 33 &gic 0 33 4>, - <0 0 34 &gic 0 34 4>, - <0 0 35 &gic 0 35 4>, - <0 0 36 &gic 0 36 4>, - <0 0 37 &gic 0 37 4>, - <0 0 38 &gic 0 38 4>, - <0 0 39 &gic 0 39 4>, - <0 0 40 &gic 0 40 4>, - <0 0 41 &gic 0 41 4>, - <0 0 42 &gic 0 42 4>; - }; -}; - -/include/ "vexpress-v2m.dtsi" diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v1/zynq-ep107.dts b/kernel/arch/arm/boot/dts/tr961-5200l-v1/zynq-ep107.dts deleted file mode 100644 index 37ca192fb..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v1/zynq-ep107.dts +++ /dev/null @@ -1,52 +0,0 @@ -/* - * Copyright (C) 2011 Xilinx - * - * This software is licensed under the terms of the GNU General Public - * License version 2, as published by the Free Software Foundation, and - * may be copied, distributed, and modified under those terms. - * - * 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. - */ - -/dts-v1/; -/ { - model = "Xilinx Zynq EP107"; - compatible = "xlnx,zynq-ep107"; - #address-cells = <1>; - #size-cells = <1>; - interrupt-parent = <&intc>; - - memory { - device_type = "memory"; - reg = <0x0 0x10000000>; - }; - - chosen { - bootargs = "console=ttyPS0,9600 root=/dev/ram rw initrd=0x800000,8M earlyprintk"; - linux,stdout-path = &uart0; - }; - - amba { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - - intc: interrupt-controller@f8f01000 { - interrupt-controller; - compatible = "arm,gic"; - reg = <0xF8F01000 0x1000>; - #interrupt-cells = <2>; - }; - - uart0: uart@e0000000 { - compatible = "xlnx,xuartps"; - reg = <0xE0000000 0x1000>; - interrupts = <59 0>; - clock = <50000000>; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/am3517_mt_ventoux.dts b/kernel/arch/arm/boot/dts/tr961-5200l-v2/am3517_mt_ventoux.dts deleted file mode 100644 index 5eb26d7d9..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/am3517_mt_ventoux.dts +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Copyright (C) 2011 Ilya Yanok, EmCraft Systems - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. - */ -/dts-v1/; - -/include/ "omap3.dtsi" - -/ { - model = "TeeJet Mt.Ventoux"; - compatible = "teejet,mt_ventoux", "ti,omap3"; - - memory { - device_type = "memory"; - reg = <0x80000000 0x10000000>; /* 256 MB */ - }; - - /* AM35xx doesn't have IVA */ - soc { - iva { - status = "disabled"; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/apq8026-mtp.dts b/kernel/arch/arm/boot/dts/tr961-5200l-v2/apq8026-mtp.dts deleted file mode 100644 index e14a68568..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/apq8026-mtp.dts +++ /dev/null @@ -1,22 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - - -/dts-v1/; -/include/ "apq8026.dtsi" -/include/ "msm8226-mtp.dtsi" - -/ { - model = "Qualcomm APQ 8026 MTP"; - compatible = "qcom,apq8026-mtp", "qcom,apq8026", "qcom,mtp"; - qcom,msm-id = <199 8 0>; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/apq8026-xpm.dts b/kernel/arch/arm/boot/dts/tr961-5200l-v2/apq8026-xpm.dts deleted file mode 100644 index 67152af2d..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/apq8026-xpm.dts +++ /dev/null @@ -1,22 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - - -/dts-v1/; -/include/ "apq8026.dtsi" -/include/ "msm8226-cdp.dtsi" - -/ { - model = "Qualcomm APQ 8026 XPM"; - compatible = "qcom,apq8026-xpm", "qcom,apq8026", "qcom,xpm"; - qcom,msm-id = <199 14 0>; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/apq8026.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v2/apq8026.dtsi deleted file mode 100644 index db6576a0d..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/apq8026.dtsi +++ /dev/null @@ -1,24 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/* - * Only 8026-specific property overrides should be placed inside this - * file. Device definitions should be placed inside the msm8226.dtsi - * file. - */ - -/include/ "msm8226.dtsi" - -/ { - model = "Qualcomm APQ 8026"; - compatible = "qcom,apq8026"; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/apq8074-dragonboard.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v2/apq8074-dragonboard.dtsi deleted file mode 100644 index 6b4d1d339..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/apq8074-dragonboard.dtsi +++ /dev/null @@ -1,654 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/include/ "dsi-panel-sharp-qhd-video.dtsi" -/include/ "msm8974-camera-sensor-dragonboard.dtsi" -/include/ "msm8974-leds.dtsi" - -&soc { - serial@f991e000 { - status = "ok"; - }; - - qcom,mdss_dsi_sharp_qhd_video { - status = "ok"; - }; - - qcom,hdmi_tx@fd922100 { - status = "ok"; - }; - - gpio_keys { - compatible = "gpio-keys"; - input-name = "gpio-keys"; - - vol_up { - label = "volume_up"; - gpios = <&pm8941_gpios 5 0x1>; - linux,input-type = <1>; - linux,code = <115>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - - general { - label = "general"; - gpios = <&pm8941_gpios 23 0x1>; - linux,input-type = <1>; - linux,code = <102>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - }; - - bt_ar3002 { - compatible = "qca,ar3002"; - qca,bt-reset-gpio = <&pm8941_gpios 34 0>; - }; - - hsic_hub { - compatible = "qcom,hsic-smsc-hub"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - smsc,reset-gpio = <&pm8941_gpios 8 0x00>; - - hsic_host: hsic@f9a00000 { - compatible = "qcom,hsic-host"; - reg = <0xf9a00000 0x400>; - #address-cells = <0>; - interrupt-parent = <&hsic_host>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 136 0 - 1 &intc 0 148 0 - 2 &msmgpio 144 0x8>; - interrupt-names = "core_irq", "async_irq", "wakeup"; - HSIC_VDDCX-supply = <&pm8841_s2>; - HSIC_GDSC-supply = <&gdsc_usb_hsic>; - hsic,strobe-gpio = <&msmgpio 144 0x00>; - hsic,data-gpio = <&msmgpio 145 0x00>; - hsic,ignore-cal-pad-config; - hsic,strobe-pad-offset = <0x2050>; - hsic,data-pad-offset = <0x2054>; - - qcom,msm-bus,name = "hsic"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,active-only = <0>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <85 512 0 0>, - <85 512 40000 160000>; - }; - }; - - i2c@f9923000 { - status = "ok"; - atmel_mxt_ts@4a { - compatible = "atmel,mxt-ts"; - reg = <0x4a>; - interrupt-parent = <&msmgpio>; - interrupts = <61 0x2>; - vdd_ana-supply = <&pm8941_l18>; - vcc_i2c-supply = <&pm8941_s3>; - atmel,reset-gpio = <&msmgpio 60 0x00>; - atmel,irq-gpio = <&msmgpio 61 0x00>; - atmel,panel-coords = <0 0 566 1067>; - atmel,display-coords = <0 0 540 960>; - atmel,i2c-pull-up; - atmel,cfg_1 { - atmel,family-id = <0x81>; - atmel,variant-id = <0x19>; - atmel,version = <0x10>; - atmel,build = <0xaa>; - atmel,config = [ - /* Object 38, Instance = 0 */ - 0F 02 00 17 04 0C 00 00 - /* Object 7, Instance = 0 */ - 30 FF 19 - /* Object 8, Instance = 0 */ - 1B 00 05 01 00 00 08 08 00 00 - /* Object 9, Instance = 0 */ - 83 00 00 13 0B 00 10 23 01 03 - 0A 0F 01 0B 04 05 28 0A 2B 04 - 36 02 00 00 00 00 8F 28 8F 50 - 12 0F 32 32 02 - /* Object 15, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 - /* Object 18, Instance = 0 */ - 00 00 - /* Object 19, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 - /* Object 23, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 - /* Object 25, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 - /* Object 40, Instance = 0 */ - 00 00 00 00 00 - /* Object 42, Instance = 0 */ - 00 00 00 00 00 00 00 00 - /* Object 46, Instance = 0 */ - 00 03 10 30 00 00 01 00 00 - /* Object 47, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - /* Object 48, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 - ]; - }; - }; - }; - - gen-vkeys { - compatible = "qcom,gen-vkeys"; - label = "atmel_mxt_ts"; - qcom,disp-maxx = <540>; - qcom,disp-maxy = <960>; - qcom,panel-maxx = <566>; - qcom,panel-maxy = <1067>; - qcom,key-codes = <158 139 102 217>; - }; - - sound { - qcom,model = "apq8074-taiko-db-snd-card"; - qcom,hdmi-audio-rx; - - qcom,audio-routing = - "RX_BIAS", "MCLK", - "LDO_H", "MCLK", - "AMIC1", "MIC BIAS1 External", - "MIC BIAS1 External", "Analog Mic4", - "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", - "AMIC5", "MIC BIAS1 External", - "MIC BIAS1 External", "Analog Mic6", - "AMIC6", "MIC BIAS1 External", - "MIC BIAS1 External", "Analog Mic7", - "DMIC1", "MIC BIAS3 External", - "MIC BIAS3 External", "Digital Mic1", - "DMIC2", "MIC BIAS3 External", - "MIC BIAS3 External", "Digital Mic2", - "DMIC3", "MIC BIAS4 External", - "MIC BIAS4 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"; - }; - - qcom,pronto@fb21b000 { - status = "disabled"; - }; - - qcom,iris-fm { - status = "disabled"; - }; - - qcom,wcnss-wlan@fb000000 { - status = "disabled"; - }; - - qcom,smd-wcnss { - status = "disabled"; - }; - - qcom,smsm-wcnss { - status = "disabled"; - }; -}; - -&mdss_fb0 { - qcom,memory-reservation-size = <0x1000000>; /* size 16MB */ -}; - -&sdcc3 { - qcom,sup-voltages = <2000 2000>; - status = "ok"; -}; - -&pm8941_l19 { - regulator-min-microvolt = <3300000>; - regulator-max-microvolt = <3300000>; - qcom,init-voltage = <3300000>; - regulator-always-on; -}; - -&pm8941_l10 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - regulator-always-on; -}; - -&uart7 { - status = "ok"; - qcom,tx-gpio = <&msmgpio 41 0x00>; - qcom,rx-gpio = <&msmgpio 42 0x00>; - qcom,cts-gpio = <&msmgpio 43 0x00>; - qcom,rfr-gpio = <&msmgpio 44 0x00>; -}; - -&usb_otg { - status = "ok"; - qcom,hsusb-otg-otg-control = <2>; - qcom,hsusb-otg-mode = <3>; - vbus_otg-supply = <&pm8941_mvs1>; - qcom,usb2-enable-hsphy2; - qcom,dp-manual-pullup; - - #address-cells = <0>; - interrupt-parent = <&usb_otg>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 134 0 - 1 &intc 0 140 0 - 2 &spmi_bus 0x0 0x0 0x9 0x0>; - interrupt-names = "core_irq", "async_irq", "pmic_id_irq"; -}; - -&usb3 { - qcom,charging-disabled; - vbus_dwc3-supply = <0>; - dwc3@f9200000 { - host-only-mode; - }; -}; - -&slim_msm { - taiko_codec { - qcom,cdc-micbias2-ext-cap; - qcom,cdc-micbias3-ext-cap; - }; -}; - -&pm8941_gpios { - gpio@c000 { /* GPIO 1 */ - qcom,mode = <0>; - qcom,pull = <0>; - qcom,vin-sel = <2>; - qcom,src-sel = <0>; - }; - - gpio@c100 { /* GPIO 2 */ - qcom,mode = <0>; - qcom,pull = <0>; - qcom,vin-sel = <2>; - qcom,src-sel = <0>; - }; - - gpio@c200 { /* GPIO 3 */ - }; - - gpio@c300 { /* GPIO 4 */ - }; - - gpio@c400 { /* GPIO 5 */ - qcom,mode = <0>; - qcom,pull = <0>; - qcom,vin-sel = <2>; - qcom,src-sel = <0>; - }; - - gpio@c500 { /* GPIO 6 */ - /* TUSB3_HUB-RESET */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,output-type = <0>; /* QPNP_PIN_OUT_BUF_CMOS */ - qcom,pull = <0>; /* QPNP_PIN_PULL_30 */ - qcom,vin-sel = <0>; /* QPNP_PIN_VIN0 VPH */ - qcom,out-strength = <2>; /* QPNP_PIN_OUT_STRENGTH_MED */ - qcom,src-sel = <0>; /* QPNP_PIN_SEL_FUNC_CONSTANT */ - qcom,invert = <1>; /* Keep it out of reset */ - qcom,master-en = <1>; - }; - - gpio@c600 { /* GPIO 7 */ - }; - - gpio@c700 { /* GPIO 8 */ - /* HSIC_HUB-RESET */ - qcom,mode = <1>; /* DIG_OUT */ - qcom,pull = <5>; /* PULL_NO */ - qcom,out-strength = <2>; /* STRENGTH_MED */ - qcom,master-en = <1>; - }; - - gpio@c800 { /* GPIO 9 */ - /* GbE_RST_N */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,output-type = <0>; /* QPNP_PIN_OUT_BUF_CMOS */ - qcom,pull = <0>; /* QPNP_PIN_PULL_30 */ - qcom,vin-sel = <0>; /* QPNP_PIN_VIN0 VPH */ - qcom,out-strength = <2>; /* QPNP_PIN_OUT_STRENGTH_MED */ - qcom,src-sel = <0>; /* QPNP_PIN_SEL_FUNC_CONSTANT */ - qcom,invert = <1>; /* Keep it out of reset */ - qcom,master-en = <1>; - }; - - gpio@c900 { /* GPIO 10 */ - /* SATA_RST_N */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,output-type = <0>; /* QPNP_PIN_OUT_BUF_CMOS */ - qcom,pull = <0>; /* QPNP_PIN_PULL_30 */ - qcom,vin-sel = <0>; /* QPNP_PIN_VIN0 VPH */ - qcom,out-strength = <2>; /* QPNP_PIN_OUT_STRENGTH_MED */ - qcom,src-sel = <0>; /* QPNP_PIN_SEL_FUNC_CONSTANT */ - qcom,invert = <1>; /* Keep it out of reset */ - qcom,master-en = <1>; - }; - - gpio@ca00 { /* GPIO 11 */ - }; - - gpio@cb00 { /* GPIO 12 */ - }; - - gpio@cc00 { /* GPIO 13 */ - }; - - gpio@cd00 { /* GPIO 14 */ - }; - - gpio@ce00 { /* GPIO 15 */ - qcom,mode = <1>; - qcom,output-type = <0>; - qcom,pull = <5>; - qcom,vin-sel = <2>; - qcom,out-strength = <3>; - qcom,src-sel = <2>; - qcom,master-en = <1>; - }; - - gpio@cf00 { /* GPIO 16 */ - }; - - gpio@d000 { /* GPIO 17 */ - }; - - gpio@d100 { /* GPIO 18 */ - }; - - gpio@d200 { /* GPIO 19 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,output-type = <0>; /* QPNP_PIN_OUT_BUF_CMOS */ - qcom,pull = <5>; /* QPNP_PIN_PULL_NO */ - qcom,vin-sel = <2>; /* QPNP_PIN_VIN2 */ - qcom,out-strength = <2>; /* QPNP_PIN_OUT_STRENGTH_MED */ - qcom,src-sel = <0>; /* QPNP_PIN_SEL_FUNC_CONSTANT */ - qcom,master-en = <1>; - }; - - gpio@d300 { /* GPIO 20 */ - }; - - gpio@d400 { /* GPIO 21 */ - }; - - gpio@d500 { /* GPIO 22 */ - }; - - gpio@d600 { /* GPIO 23 */ - }; - - gpio@d700 { /* GPIO 24 */ - }; - - gpio@d800 { /* GPIO 25 */ - }; - - gpio@d900 { /* GPIO 26 */ - }; - - gpio@da00 { /* GPIO 27 */ - }; - - gpio@db00 { /* GPIO 28 */ - }; - - gpio@dc00 { /* GPIO 29 */ - qcom,pull = <0>; /* set to default pull */ - qcom,master-en = <1>; - qcom,vin-sel = <2>; /* select 1.8 V source */ - }; - - gpio@dd00 { /* GPIO 30 */ - }; - - gpio@de00 { /* GPIO 31 */ - }; - - gpio@df00 { /* GPIO 32 */ - }; - - gpio@e000 { /* GPIO 33 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,output-type = <0>; /* QPNP_PIN_OUT_BUF_CMOS */ - qcom,pull = <5>; /* QPNP_PIN_PULL_NO */ - qcom,vin-sel = <2>; /* QPNP_PIN_VIN2 */ - qcom,out-strength = <2>; /* QPNP_PIN_OUT_STRENGTH_MED */ - qcom,src-sel = <0>; /* QPNP_PIN_SEL_FUNC_CONSTANT */ - qcom,invert = <1>; - qcom,master-en = <1>; - }; - - gpio@e100 { /* GPIO 34 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,output-type = <0>; /* QPNP_PIN_OUT_BUF_CMOS */ - qcom,pull = <5>; /* QPNP_PIN_PULL_NO */ - qcom,vin-sel = <2>; /* QPNP_PIN_VIN2 */ - qcom,out-strength = <2>; /* QPNP_PIN_OUT_STRENGTH_MED */ - qcom,src-sel = <0>; /* QPNP_PIN_SEL_FUNC_CONSTANT */ - qcom,invert = <0>; - qcom,master-en = <1>; - }; - - gpio@e200 { /* GPIO 35 */ - }; - - gpio@e300 { /* GPIO 36 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,output-type = <0>; /* QPNP_PIN_OUT_BUF_CMOS */ - qcom,pull = <5>; /* QPNP_PIN_PULL_NO */ - qcom,vin-sel = <2>; /* QPNP_PIN_VIN2 */ - qcom,out-strength = <3>; /* QPNP_PIN_OUT_STRENGTH_HIGH */ - qcom,src-sel = <3>; /* QPNP_PIN_SEL_FUNC_2 */ - qcom,master-en = <1>; - }; -}; - -&pm8941_mpps { - - mpp@a000 { /* MPP 1 */ - }; - - mpp@a100 { /* MPP 2 */ - }; - - mpp@a200 { /* MPP 3 */ - }; - - mpp@a300 { /* MPP 4 */ - }; - - mpp@a400 { /* MPP 5 */ - }; - - mpp@a500 { /* MPP 6 */ - }; - - mpp@a600 { /* MPP 7 */ - }; - - mpp@a700 { /* MPP 8 */ - }; -}; - -&pm8841_mpps { - - mpp@a000 { /* MPP 1 */ - }; - - mpp@a100 { /* MPP 2 */ - }; - - mpp@a200 { /* MPP 3*/ - }; - - mpp@a300 { /* MPP 4*/ - }; -}; - -&spi_epm { - epm-adc@0 { - compatible = "cy,epm-adc-cy8c5568lti-114"; - reg = <0>; - interrupt-parent = <&msmgpio>; - spi-max-frequency = <960000>; - qcom,channels = <31>; - qcom,gain = <50 50 50 50 50 100 50 50 50 50 - 50 50 50 50 100 50 50 50 50 100 - 50 50 50 100 50 50 50 1 1 1 - 1>; - qcom,rsense = <40 10 10 25 10 1000 75 25 10 25 - 33 500 200 10 500 100 33 200 25 100 - 75 500 50 200 5 5 3 1 1 1 - 1>; - qcom,channel-type = <0xf0000000>; - }; -}; - -&spmi_bus { - qcom,pm8941@1 { - qcom,leds@d000 { - qcom,rgb_2 { - status = "ok"; - qcom,default-state = "on"; - qcom,turn-off-delay-ms = <1000>; - }; - }; - - qcom,leds@d800 { - status = "okay"; - qcom,wled_0 { - label = "wled"; - linux,name = "wled:backlight"; - linux,default-trigger = "bkl-trigger"; - qcom,cs-out-en; - qcom,op-fdbck = <1>; - qcom,default-state = "on"; - qcom,max-current = <20>; - qcom,ctrl-delay-us = <0>; - qcom,boost-curr-lim = <3>; - qcom,cp-sel = <0>; - qcom,switch-freq = <2>; - qcom,ovp-val = <1>; - qcom,num-strings = <1>; - qcom,id = <0>; - }; - }; - }; -}; - -&pm8941_chg { - status = "ok"; - - qcom,charging-disabled; - - qcom,chgr@1000 { - status = "ok"; - }; - - qcom,buck@1100 { - status = "ok"; - }; - - qcom,usb-chgpth@1300 { - status = "ok"; - }; - - qcom,dc-chgpth@1400 { - status = "ok"; - }; - - qcom,boost@1500 { - status = "ok"; - }; - - qcom,chg-misc@1600 { - status = "ok"; - }; -}; - -&sdhc_1 { - vdd-supply = <&pm8941_l20>; - vdd-io-supply = <&pm8941_s3>; - - qcom,vdd-always-on; - qcom,vdd-lpm-sup; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <800 500000>; - - qcom,vdd-io-always-on; - qcom,vdd-io-voltage-level = <1800000 1800000>; - qcom,vdd-io-current-level = <250 154000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,nonremovable; - status = "ok"; -}; - -&sdhc_2 { - #address-cells = <0>; - interrupt-parent = <&sdhc_2>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 125 0 - 1 &intc 0 221 0 - 2 &msmgpio 62 0x3>; - interrupt-names = "hc_irq", "pwr_irq", "status_irq"; - cd-gpios = <&msmgpio 62 0x1>; - - vdd-supply = <&pm8941_l21>; - vdd-io-supply = <&pm8941_l13>; - - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <9000 800000>; - - qcom,vdd-io-voltage-level = <1800000 2950000>; - qcom,vdd-io-current-level = <6 22000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - status = "ok"; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/apq8074-v1.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v2/apq8074-v1.dtsi deleted file mode 100644 index c4e7b7c3c..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/apq8074-v1.dtsi +++ /dev/null @@ -1,48 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/* - * As a general rule, only version-specific property overrides should be placed - * inside this file. However, device definitions should be placed inside the - * msm8974.dtsi file. - */ - -/include/ "msm8974-v1.dtsi" - -&soc { - qcom,qseecom@a700000 { - compatible = "qcom,qseecom"; - reg = <0x0a700000 0x500000>; - reg-names = "secapp-region"; - qcom,disk-encrypt-pipe-pair = <2>; - qcom,hlos-ce-hw-instance = <1>; - qcom,qsee-ce-hw-instance = <0>; - qcom,msm-bus,name = "qseecom-noc"; - qcom,msm-bus,num-cases = <4>; - qcom,msm-bus,active-only = <0>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <55 512 0 0>, - <55 512 3936000 393600>, - <55 512 3936000 393600>, - <55 512 3936000 393600>; - }; -}; - -&memory_hole { - qcom,memblock-remove = <0x0a700000 0x5800000>; /* Address and size of the hole */ -}; - -&qseecom { - status = "disabled"; -}; - diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/apq8074-v2-dragonboard.dts b/kernel/arch/arm/boot/dts/tr961-5200l-v2/apq8074-v2-dragonboard.dts deleted file mode 100644 index 5a6f5f3bf..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/apq8074-v2-dragonboard.dts +++ /dev/null @@ -1,22 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; - -/include/ "apq8074-v2.dtsi" -/include/ "apq8074-dragonboard.dtsi" - -/ { - model = "Qualcomm APQ 8074v2 DRAGONBOARD"; - compatible = "qcom,apq8074-dragonboard", "qcom,apq8074", "qcom,dragonboard"; - qcom,msm-id = <184 10 0x20000>; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/apq8074-v2-liquid.dts b/kernel/arch/arm/boot/dts/tr961-5200l-v2/apq8074-v2-liquid.dts deleted file mode 100644 index 4ec1cdd17..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/apq8074-v2-liquid.dts +++ /dev/null @@ -1,34 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; - -/include/ "apq8074-v2.dtsi" -/include/ "msm8974-liquid.dtsi" - -/ { - model = "Qualcomm APQ 8074v2 LIQUID"; - compatible = "qcom,apq8074-liquid", "qcom,apq8074", "qcom,liquid"; - qcom,msm-id = <184 9 0x20000>; -}; - -&usb3 { - interrupt-parent = <&usb3>; - interrupts = <0 1>; - #interrupt-cells = <1>; - interrupt-map-mask = <0x0 0xffffffff>; - interrupt-map = <0x0 0 &intc 0 133 0 - 0x0 1 &spmi_bus 0x0 0x0 0x9 0x0>; - interrupt-names = "hs_phy_irq", "pmic_id_irq"; - - qcom,misc-ref = <&pm8941_misc>; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/apq8074-v2.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v2/apq8074-v2.dtsi deleted file mode 100644 index 76eb14b96..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/apq8074-v2.dtsi +++ /dev/null @@ -1,52 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/* - * As a general rule, only version-specific property overrides should be placed - * inside this file. However, device definitions should be placed inside the - * msm8974.dtsi file. - */ - -/include/ "msm8974-v2.dtsi" - -&soc { - qcom,qseecom@a700000 { - compatible = "qcom,qseecom"; - reg = <0x0a700000 0x500000>; - reg-names = "secapp-region"; - qcom,disk-encrypt-pipe-pair = <2>; - qcom,hlos-ce-hw-instance = <1>; - qcom,qsee-ce-hw-instance = <0>; - qcom,msm-bus,name = "qseecom-noc"; - qcom,msm-bus,num-cases = <4>; - qcom,msm-bus,active-only = <0>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <55 512 0 0>, - <55 512 3936000 393600>, - <55 512 3936000 393600>, - <55 512 3936000 393600>; - }; - - sound { - compatible = "qcom,apq8074-audio-taiko"; - }; -}; - -&memory_hole { - qcom,memblock-remove = <0x0a700000 0x5800000>; /* Address and size of the hole */ -}; - -&qseecom { - status = "disabled"; -}; - diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/apq8084-ion.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v2/apq8084-ion.dtsi deleted file mode 100644 index ea954b89c..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/apq8084-ion.dtsi +++ /dev/null @@ -1,31 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -&soc { - qcom,ion { - compatible = "qcom,msm-ion"; - #address-cells = <1>; - #size-cells = <0>; - - qcom,ion-heap@30 { /* SYSTEM HEAP */ - reg = <30>; - }; - - qcom,ion-heap@21 { /* SYSTEM CONTIG HEAP */ - reg = <21>; - }; - - qcom,ion-heap@25 { /* IOMMU HEAP */ - reg = <25>; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/apq8084-regulator.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v2/apq8084-regulator.dtsi deleted file mode 100644 index 998b46906..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/apq8084-regulator.dtsi +++ /dev/null @@ -1,377 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - - -/* QPNP controlled regulators: */ - -&spmi_bus { - qcom,pma8084@1 { - pma8084_s1: regulator@1400 { - regulator-min-microvolt = <1050000>; - regulator-max-microvolt = <1050000>; - qcom,enable-time = <500>; - qcom,pull-down-enable = <1>; - regulator-always-on; - qcom,system-load = <100000>; - status = "okay"; - }; - - /* PMA8084 S2 + S12 = 2 phase VDD_CX supply */ - pma8084_s2: regulator@1700 { - regulator-min-microvolt = <1050000>; - regulator-max-microvolt = <1050000>; - qcom,enable-time = <500>; - qcom,pull-down-enable = <1>; - regulator-always-on; - qcom,system-load = <100000>; - status = "okay"; - }; - - pma8084_s3: regulator@1a00 { - regulator-min-microvolt = <1300000>; - regulator-max-microvolt = <1300000>; - qcom,enable-time = <500>; - qcom,pull-down-enable = <1>; - regulator-always-on; - qcom,system-load = <100000>; - status = "okay"; - }; - - pma8084_s4: regulator@1d00 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,enable-time = <500>; - qcom,pull-down-enable = <1>; - regulator-always-on; - qcom,system-load = <100000>; - status = "okay"; - }; - - pma8084_s5: regulator@2000 { - regulator-min-microvolt = <2150000>; - regulator-max-microvolt = <2150000>; - qcom,enable-time = <500>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - /* PMA8084 S6 + S7 = 2 phase VDD_GFX supply */ - pma8084_s6: regulator@2300 { - regulator-min-microvolt = <815000>; - regulator-max-microvolt = <900000>; - qcom,enable-time = <500>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - /* PMA8084 S8 + S9 + S10 + S11 = 4 phase VDD_APC supply */ - pma8084_s8: regulator@2900 { - regulator-min-microvolt = <500000>; - regulator-max-microvolt = <1100000>; - qcom,enable-time = <500>; - qcom,pull-down-enable = <1>; - regulator-always-on; - qcom,system-load = <100000>; - status = "okay"; - }; - - /* Output of PMA8084 L1 and L11 is tied together. */ - pma8084_l1: regulator@4000 { - parent-supply = <&pma8084_s3>; - regulator-min-microvolt = <1225000>; - regulator-max-microvolt = <1225000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - regulator-always-on; - qcom,system-load = <10000>; - status = "okay"; - }; - - pma8084_l2: regulator@4100 { - parent-supply = <&pma8084_s3>; - regulator-min-microvolt = <1200000>; - regulator-max-microvolt = <1200000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l3: regulator@4200 { - parent-supply = <&pma8084_s3>; - regulator-min-microvolt = <1225000>; - regulator-max-microvolt = <1225000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l4: regulator@4300 { - parent-supply = <&pma8084_s3>; - regulator-min-microvolt = <1000000>; - regulator-max-microvolt = <1000000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l6: regulator@4500 { - parent-supply = <&pma8084_s5>; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l8: regulator@4700 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l9: regulator@4800 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l10: regulator@4900 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l12: regulator@4b00 { - parent-supply = <&pma8084_s5>; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l13: regulator@4c00 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <2950000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l14: regulator@4d00 { - parent-supply = <&pma8084_s5>; - regulator-min-microvolt = <1225000>; - regulator-max-microvolt = <1225000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l15: regulator@4e00 { - parent-supply = <&pma8084_s5>; - regulator-min-microvolt = <1200000>; - regulator-max-microvolt = <1200000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l16: regulator@4f00 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l17: regulator@5000 { - regulator-min-microvolt = <2800000>; - regulator-max-microvolt = <2800000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l18: regulator@5100 { - regulator-min-microvolt = <2850000>; - regulator-max-microvolt = <2850000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l19: regulator@5200 { - regulator-min-microvolt = <2950000>; - regulator-max-microvolt = <2950000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l20: regulator@5300 { - regulator-min-microvolt = <2950000>; - regulator-max-microvolt = <2950000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l21: regulator@5400 { - regulator-min-microvolt = <2950000>; - regulator-max-microvolt = <2950000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l22: regulator@5500 { - regulator-min-microvolt = <3000000>; - regulator-max-microvolt = <3000000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l23: regulator@5600 { - regulator-min-microvolt = <2700000>; - regulator-max-microvolt = <2700000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l24: regulator@5700 { - regulator-min-microvolt = <3075000>; - regulator-max-microvolt = <3075000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l25: regulator@5800 { - regulator-min-microvolt = <2100000>; - regulator-max-microvolt = <2100000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l26: regulator@5900 { - parent-supply = <&pma8084_s5>; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l27: regulator@5a00 { - parent-supply = <&pma8084_s3>; - regulator-min-microvolt = <1050000>; - regulator-max-microvolt = <1050000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_lvs1: regulator@8000 { - parent-supply = <&pma8084_s4>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_lvs2: regulator@8100 { - parent-supply = <&pma8084_s4>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_lvs3: regulator@8200 { - parent-supply = <&pma8084_s4>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_lvs4: regulator@8300 { - parent-supply = <&pma8084_s4>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_mvs1: regulator@8400 { - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - }; -}; - -&rpm_bus { - rpm-regulator-smpb1 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "smpb"; - qcom,resource-id = <1>; - qcom,regulator-type = <1>; - qcom,hpm-min-load = <100000>; - - pma8084_s1_ao: regulator-s1-ao { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8084_s1_ao"; - qcom,set = <1>; - regulator-min-microvolt = <675000>; - regulator-max-microvolt = <1050000>; - }; - }; - - rpm-regulator-smpb2 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "smpb"; - qcom,resource-id = <2>; - qcom,regulator-type = <1>; - qcom,hpm-min-load = <100000>; - - pma8084_s2_corner_ao: regulator-s2-corner-ao { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8084_s2_corner_ao"; - qcom,set = <1>; - regulator-min-microvolt = <1>; - regulator-max-microvolt = <7>; - qcom,use-voltage-corner; - }; - }; - - rpm-regulator-ldoa12 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <12>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - - pma8084_l12_ao: regulator-l12-ao { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8084_l12_ao"; - qcom,set = <1>; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/apq8084-sim.dts b/kernel/arch/arm/boot/dts/tr961-5200l-v2/apq8084-sim.dts deleted file mode 100644 index e206d4dd0..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/apq8084-sim.dts +++ /dev/null @@ -1,173 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; - -/include/ "apq8084.dtsi" - -/ { - model = "Qualcomm APQ 8084 Simulator"; - compatible = "qcom,apq8084-sim", "qcom,apq8084", "qcom,sim"; - qcom,msm-id = <178 0 0>; - - aliases { - serial0 = &uart0; - }; -}; - -&soc { - uart0: serial@f991f000 { - status = "ok"; - }; -}; - -&sdcc1 { - qcom,vdd-always-on; - qcom,vdd-lpm-sup; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <800 500000>; - - qcom,vdd-io-always-on; - qcom,vdd-io-voltage-level = <1800000 1800000>; - qcom,vdd-io-current-level = <250 154000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 20000000 25000000 50000000 100000000 200000000>; - qcom,sup-voltages = <2950 2950>; - qcom,nonremovable; - qcom,bus-speed-mode = "HS200_1p8v", "DDR_1p8v"; - - status = "ok"; -}; - -&sdcc2 { - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <9000 800000>; - qcom,vdd-io-voltage-level = <1800000 2950000>; - qcom,vdd-io-current-level = <6 22000>; - qcom,vdd-io-lpm-sup; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 20000000 25000000 50000000 100000000 200000000>; - qcom,sup-voltages = <2950 2950>; - qcom,xpc; - qcom,bus-speed-mode = "SDR12", "SDR25", "SDR50", "DDR50", "SDR104"; - qcom,current-limit = <800>; - - status = "ok"; -}; - -&pma8084_gpios { - gpio@c000 { /* GPIO 1 */ - }; - - gpio@c100 { /* GPIO 2 */ - }; - - gpio@c200 { /* GPIO 3 */ - }; - - gpio@c300 { /* GPIO 4 */ - }; - - gpio@c400 { /* GPIO 5 */ - }; - - gpio@c500 { /* GPIO 6 */ - }; - - gpio@c600 { /* GPIO 7 */ - }; - - gpio@c700 { /* GPIO 8 */ - }; - - gpio@c800 { /* GPIO 9 */ - }; - - gpio@c900 { /* GPIO 10 */ - }; - - gpio@ca00 { /* GPIO 11 */ - }; - - gpio@cb00 { /* GPIO 12 */ - }; - - gpio@cc00 { /* GPIO 13 */ - }; - - gpio@cd00 { /* GPIO 14 */ - }; - - gpio@ce00 { /* GPIO 15 */ - }; - - gpio@cf00 { /* GPIO 16 */ - }; - - gpio@d000 { /* GPIO 17 */ - }; - - gpio@d100 { /* GPIO 18 */ - }; - - gpio@d200 { /* GPIO 19 */ - }; - - gpio@d300 { /* GPIO 20 */ - }; - - gpio@d400 { /* GPIO 21 */ - }; - - gpio@d500 { /* GPIO 22 */ - }; -}; - -&pma8084_mpps { - mpp@a000 { /* MPP 1 */ - }; - - mpp@a100 { /* MPP 2 */ - }; - - mpp@a200 { /* MPP 3 */ - }; - - mpp@a300 { /* MPP 4 */ - }; - - mpp@a400 { /* MPP 5 */ - }; - - mpp@a500 { /* MPP 6 */ - }; - - mpp@a600 { /* MPP 7 */ - }; - - mpp@a700 { /* MPP 8 */ - }; -}; - -&usb3 { - qcom,skip-charger-detection; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/apq8084-smp2p.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v2/apq8084-smp2p.dtsi deleted file mode 100644 index b1d21ffd7..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/apq8084-smp2p.dtsi +++ /dev/null @@ -1,82 +0,0 @@ -/* Copyright (c) 2013, 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. - */ -&soc { - qcom,smp2p-adsp { - compatible = "qcom,smp2p"; - reg = <0xf9011008 0x4>; - qcom,remote-pid = <2>; - qcom,irq-bitmask = <0x400>; - interrupts = <0 158 1>; - }; - - smp2pgpio_smp2p_7_in: qcom,smp2pgpio-smp2p-7-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <7>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_7_in { - compatible = "qcom,smp2pgpio_test_smp2p_7_in"; - gpios = <&smp2pgpio_smp2p_7_in 0 0>; - }; - - smp2pgpio_smp2p_7_out: qcom,smp2pgpio-smp2p-7-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <7>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_7_out { - compatible = "qcom,smp2pgpio_test_smp2p_7_out"; - gpios = <&smp2pgpio_smp2p_7_out 0 0>; - }; - - smp2pgpio_smp2p_2_in: qcom,smp2pgpio-smp2p-2-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <2>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_2_in { - compatible = "qcom,smp2pgpio_test_smp2p_2_in"; - gpios = <&smp2pgpio_smp2p_2_in 0 0>; - }; - - smp2pgpio_smp2p_2_out: qcom,smp2pgpio-smp2p-2-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <2>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_2_out { - compatible = "qcom,smp2pgpio_test_smp2p_2_out"; - gpios = <&smp2pgpio_smp2p_2_out 0 0>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/apq8084.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v2/apq8084.dtsi deleted file mode 100644 index b39f5690a..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/apq8084.dtsi +++ /dev/null @@ -1,276 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/include/ "skeleton64.dtsi" - -/ { - model = "Qualcomm APQ 8084"; - compatible = "qcom,apq8084"; - interrupt-parent = <&intc>; - soc: soc { }; -}; - -/include/ "apq8084-ion.dtsi" -/include/ "apq8084-smp2p.dtsi" - -&soc { - #address-cells = <1>; - #size-cells = <1>; - ranges = <0 0 0 0xffffffff>; - - intc: interrupt-controller@f9000000 { - compatible = "qcom,msm-qgic2"; - interrupt-controller; - #interrupt-cells = <3>; - reg = <0xF9000000 0x1000>, - <0xF9002000 0x1000>; - }; - - msmgpio: gpio@fd510000 { - compatible = "qcom,msm-gpio"; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - reg = <0xfd510000 0x4000>; - ngpio = <146>; - interrupts = <0 208 0>; - qcom,direct-connect-irqs = <8>; - }; - - timer { - compatible = "arm,armv7-timer"; - interrupts = <1 2 0 1 3 0>; - clock-frequency = <19200000>; - }; - - serial@f991f000 { - compatible = "qcom,msm-lsuart-v14"; - reg = <0xf991f000 0x1000>; - interrupts = <0 109 0>; - status = "disabled"; - }; - - qcom,cache_erp { - compatible = "qcom,cache_erp"; - interrupts = <1 9 0>, <0 2 0>; - interrupt-names = "l1_irq", "l2_irq"; - }; - - qcom,cache_dump { - compatible = "qcom,cache_dump"; - qcom,l1-dump-size = <0x100000>; - qcom,l2-dump-size = <0x500000>; - qcom,memory-reservation-type = "EBI1"; - qcom,memory-reservation-size = <0x600000>; /* 6M EBI1 buffer */ - }; - - rpm_bus: qcom,rpm-smd { - compatible = "qcom,rpm-smd"; - rpm-channel-name = "rpm_requests"; - rpm-channel-type = <15>; /* SMD_APPS_RPM */ - rpm-standalone; - }; - - qcom,msm-imem@fe805000 { - compatible = "qcom,msm-imem"; - reg = <0xfe805000 0x1000>; /* Address and size of IMEM */ - }; - - qcom,msm-rtb { - compatible = "qcom,msm-rtb"; - qcom,memory-reservation-type = "EBI1"; - qcom,memory-reservation-size = <0x100000>; /* 1M EBI1 buffer */ - }; - - sdcc1: qcom,sdcc@f9824000 { - cell-index = <1>; /* SDC1 eMMC slot */ - compatible = "qcom,msm-sdcc"; - reg = <0xf9824000 0x800>; - reg-names = "core_mem"; - interrupts = <0 123 0>; - interrupt-names = "core_irq"; - - qcom,bus-width = <8>; - status = "disabled"; - }; - - sdcc2: qcom,sdcc@f98a4000 { - cell-index = <2>; /* SDC2 SD card slot */ - compatible = "qcom,msm-sdcc"; - reg = <0xf98a4000 0x800>; - reg-names = "core_mem"; - interrupts = <0 125 0>; - interrupt-names = "core_irq"; - - - qcom,bus-width = <4>; - status = "disabled"; - }; - - qcom,sps@f9980000 { - compatible = "qcom,msm_sps"; - reg = <0xf9984000 0x15000>, - <0xf9999000 0xb000>; - interrupts = <0 94 0>; - qcom,pipe-attr-ee; - }; - - spmi_bus: qcom,spmi@fc4c0000 { - cell-index = <0>; - 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,not-wakeup; - qcom,pmic-arb-ee = <0>; - qcom,pmic-arb-channel = <0>; - #address-cells = <1>; - #size-cells = <0>; - interrupt-controller; - #interrupt-cells = <3>; - }; - - i2c_0: i2c@f9925000 { /* BLSP1 QUP3 */ - cell-index = <0>; - compatible = "qcom,i2c-qup"; - #address-cells = <1>; - #size-cells = <0>; - reg-names = "qup_phys_addr"; - reg = <0xf9925000 0x1000>; - interrupt-names = "qup_err_intr"; - interrupts = <0 97 0>; - qcom,i2c-bus-freq = <100000>; - qcom,i2c-src-freq = <50000000>; - qcom,sda-gpio = <&msmgpio 10 0>; - qcom,scl-gpio = <&msmgpio 11 0>; - }; - - usb3: qcom,ssusb@f9200000 { - compatible = "qcom,dwc-usb3-msm"; - reg = <0xf9200000 0xfc000>, - <0xfd4ab000 0x4>; - #address-cells = <1>; - #size-cells = <1>; - ranges; - interrupts = <0 133 0>; - interrupt-names = "hs_phy_irq"; - ssusb_vdd_dig-supply = <&pma8084_s1>; - SSUSB_1p8-supply = <&pma8084_l6>; - hsusb_vdd_dig-supply = <&pma8084_s1>; - HSUSB_1p8-supply = <&pma8084_l6>; - HSUSB_3p3-supply = <&pma8084_l24>; - qcom,dwc-usb3-msm-dbm-eps = <4>; - qcom,vdd-voltage-level = <0 900000 1050000>; - - dwc3@f9200000 { - compatible = "synopsys,dwc3"; - reg = <0xf9200000 0xfc000>; - interrupt-parent = <&intc>; - interrupts = <0 131 0>, <0 179 0>; - interrupt-names = "irq", "otg_irq"; - tx-fifo-resize; - }; - }; - - android_usb { - compatible = "qcom,android-usb"; - }; - - 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>; - - partition@0 { - reg = <0x0 0x180000>; - qcom,ocmem-part-name = "graphics"; - qcom,ocmem-part-min = <0x80000>; - }; - - partition@80000 { - reg = <0x180000 0x80000>; - qcom,ocmem-part-name = "lp_audio"; - qcom,ocmem-part-min = <0x80000>; - }; - - partition@100000 { - reg = <0x180000 0x80000>; - qcom,ocmem-part-name = "video"; - qcom,ocmem-part-min = <0x55000>; - }; - - }; - - memory_hole: qcom,msm-mem-hole { - compatible = "qcom,msm-mem-hole"; - qcom,memblock-remove = <0x0dc00000 0x2000000>; /* Address and Size of Hole */ - }; - - qcom,ipc-spinlock@fd484000 { - compatible = "qcom,ipc-spinlock-sfpb"; - reg = <0xfd484000 0x400>; - qcom,num-locks = <8>; - }; - - qcom,smem@fa00000 { - compatible = "qcom,smem"; - reg = <0xfa00000 0x200000>, - <0xf9011000 0x1000>, - <0xfc428000 0x4000>; - reg-names = "smem", "irq-reg-base", "aux-mem1"; - - qcom,smd-adsp { - compatible = "qcom,smd"; - qcom,smd-edge = <1>; - qcom,smd-irq-offset = <0x8>; - qcom,smd-irq-bitmask = <0x100>; - qcom,pil-string = "adsp"; - interrupts = <0 156 1>; - }; - - qcom,smsm-adsp { - compatible = "qcom,smsm"; - qcom,smsm-edge = <1>; - qcom,smsm-irq-offset = <0x8>; - qcom,smsm-irq-bitmask = <0x200>; - interrupts = <0 157 1>; - }; - - qcom,smd-rpm { - compatible = "qcom,smd"; - qcom,smd-edge = <15>; - qcom,smd-irq-offset = <0x8>; - qcom,smd-irq-bitmask = <0x1>; - interrupts = <0 168 1>; - qcom,irq-no-suspend; - }; - }; -}; - -/include/ "msm-pma8084.dtsi" -/include/ "apq8084-regulator.dtsi" diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/at91sam9g20.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v2/at91sam9g20.dtsi deleted file mode 100644 index 773ef4840..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/at91sam9g20.dtsi +++ /dev/null @@ -1,238 +0,0 @@ -/* - * at91sam9g20.dtsi - Device Tree Include file for AT91SAM9G20 family SoC - * - * Copyright (C) 2011 Atmel, - * 2011 Nicolas Ferre , - * 2011 Jean-Christophe PLAGNIOL-VILLARD - * - * Licensed under GPLv2 or later. - */ - -/include/ "skeleton.dtsi" - -/ { - model = "Atmel AT91SAM9G20 family SoC"; - compatible = "atmel,at91sam9g20"; - interrupt-parent = <&aic>; - - aliases { - serial0 = &dbgu; - serial1 = &usart0; - serial2 = &usart1; - serial3 = &usart2; - serial4 = &usart3; - serial5 = &usart4; - serial6 = &usart5; - gpio0 = &pioA; - gpio1 = &pioB; - gpio2 = &pioC; - tcb0 = &tcb0; - tcb1 = &tcb1; - }; - cpus { - cpu@0 { - compatible = "arm,arm926ejs"; - }; - }; - - memory { - reg = <0x20000000 0x08000000>; - }; - - ahb { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - - apb { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - - aic: interrupt-controller@fffff000 { - #interrupt-cells = <2>; - compatible = "atmel,at91rm9200-aic"; - interrupt-controller; - reg = <0xfffff000 0x200>; - }; - - ramc0: ramc@ffffea00 { - compatible = "atmel,at91sam9260-sdramc"; - reg = <0xffffea00 0x200>; - }; - - pmc: pmc@fffffc00 { - compatible = "atmel,at91rm9200-pmc"; - reg = <0xfffffc00 0x100>; - }; - - rstc@fffffd00 { - compatible = "atmel,at91sam9260-rstc"; - reg = <0xfffffd00 0x10>; - }; - - shdwc@fffffd10 { - compatible = "atmel,at91sam9260-shdwc"; - reg = <0xfffffd10 0x10>; - }; - - pit: timer@fffffd30 { - compatible = "atmel,at91sam9260-pit"; - reg = <0xfffffd30 0xf>; - interrupts = <1 4>; - }; - - tcb0: timer@fffa0000 { - compatible = "atmel,at91rm9200-tcb"; - reg = <0xfffa0000 0x100>; - interrupts = <17 4 18 4 19 4>; - }; - - tcb1: timer@fffdc000 { - compatible = "atmel,at91rm9200-tcb"; - reg = <0xfffdc000 0x100>; - interrupts = <26 4 27 4 28 4>; - }; - - pioA: gpio@fffff400 { - compatible = "atmel,at91rm9200-gpio"; - reg = <0xfffff400 0x100>; - interrupts = <2 4>; - #gpio-cells = <2>; - gpio-controller; - interrupt-controller; - }; - - pioB: gpio@fffff600 { - compatible = "atmel,at91rm9200-gpio"; - reg = <0xfffff600 0x100>; - interrupts = <3 4>; - #gpio-cells = <2>; - gpio-controller; - interrupt-controller; - }; - - pioC: gpio@fffff800 { - compatible = "atmel,at91rm9200-gpio"; - reg = <0xfffff800 0x100>; - interrupts = <4 4>; - #gpio-cells = <2>; - gpio-controller; - interrupt-controller; - }; - - dbgu: serial@fffff200 { - compatible = "atmel,at91sam9260-usart"; - reg = <0xfffff200 0x200>; - interrupts = <1 4>; - status = "disabled"; - }; - - usart0: serial@fffb0000 { - compatible = "atmel,at91sam9260-usart"; - reg = <0xfffb0000 0x200>; - interrupts = <6 4>; - atmel,use-dma-rx; - atmel,use-dma-tx; - status = "disabled"; - }; - - usart1: serial@fffb4000 { - compatible = "atmel,at91sam9260-usart"; - reg = <0xfffb4000 0x200>; - interrupts = <7 4>; - atmel,use-dma-rx; - atmel,use-dma-tx; - status = "disabled"; - }; - - usart2: serial@fffb8000 { - compatible = "atmel,at91sam9260-usart"; - reg = <0xfffb8000 0x200>; - interrupts = <8 4>; - atmel,use-dma-rx; - atmel,use-dma-tx; - status = "disabled"; - }; - - usart3: serial@fffd0000 { - compatible = "atmel,at91sam9260-usart"; - reg = <0xfffd0000 0x200>; - interrupts = <23 4>; - atmel,use-dma-rx; - atmel,use-dma-tx; - status = "disabled"; - }; - - usart4: serial@fffd4000 { - compatible = "atmel,at91sam9260-usart"; - reg = <0xfffd4000 0x200>; - interrupts = <24 4>; - atmel,use-dma-rx; - atmel,use-dma-tx; - status = "disabled"; - }; - - usart5: serial@fffd8000 { - compatible = "atmel,at91sam9260-usart"; - reg = <0xfffd8000 0x200>; - interrupts = <25 4>; - atmel,use-dma-rx; - atmel,use-dma-tx; - status = "disabled"; - }; - - macb0: ethernet@fffc4000 { - compatible = "cdns,at32ap7000-macb", "cdns,macb"; - reg = <0xfffc4000 0x100>; - interrupts = <21 4>; - status = "disabled"; - }; - - usb1: gadget@fffa4000 { - compatible = "atmel,at91rm9200-udc"; - reg = <0xfffa4000 0x4000>; - interrupts = <10 4>; - status = "disabled"; - }; - }; - - nand0: nand@40000000 { - compatible = "atmel,at91rm9200-nand"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0x40000000 0x10000000 - 0xffffe800 0x200 - >; - atmel,nand-addr-offset = <21>; - atmel,nand-cmd-offset = <22>; - gpios = <&pioC 13 0 - &pioC 14 0 - 0 - >; - status = "disabled"; - }; - - usb0: ohci@00500000 { - compatible = "atmel,at91rm9200-ohci", "usb-ohci"; - reg = <0x00500000 0x100000>; - interrupts = <20 4>; - status = "disabled"; - }; - }; - - i2c@0 { - compatible = "i2c-gpio"; - gpios = <&pioA 23 0 /* sda */ - &pioA 24 0 /* scl */ - >; - i2c-gpio,sda-open-drain; - i2c-gpio,scl-open-drain; - i2c-gpio,delay-us = <2>; /* ~100 kHz */ - #address-cells = <1>; - #size-cells = <0>; - status = "disabled"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/at91sam9g25ek.dts b/kernel/arch/arm/boot/dts/tr961-5200l-v2/at91sam9g25ek.dts deleted file mode 100644 index 7829a4d0c..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/at91sam9g25ek.dts +++ /dev/null @@ -1,49 +0,0 @@ -/* - * at91sam9g25ek.dts - Device Tree file for AT91SAM9G25-EK board - * - * Copyright (C) 2012 Atmel, - * 2012 Nicolas Ferre - * - * Licensed under GPLv2 or later. - */ -/dts-v1/; -/include/ "at91sam9x5.dtsi" -/include/ "at91sam9x5cm.dtsi" - -/ { - model = "Atmel AT91SAM9G25-EK"; - compatible = "atmel,at91sam9g25ek", "atmel,at91sam9x5ek", "atmel,at91sam9x5", "atmel,at91sam9"; - - chosen { - bootargs = "128M console=ttyS0,115200 root=/dev/mtdblock1 rw rootfstype=ubifs ubi.mtd=1 root=ubi0:rootfs"; - }; - - ahb { - apb { - dbgu: serial@fffff200 { - status = "okay"; - }; - - usart0: serial@f801c000 { - status = "okay"; - }; - - macb0: ethernet@f802c000 { - phy-mode = "rmii"; - status = "okay"; - }; - }; - - usb0: ohci@00600000 { - status = "okay"; - num-ports = <2>; - atmel,vbus-gpio = <&pioD 19 1 - &pioD 20 1 - >; - }; - - usb1: ehci@00700000 { - status = "okay"; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/at91sam9g45.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v2/at91sam9g45.dtsi deleted file mode 100644 index c8042147e..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/at91sam9g45.dtsi +++ /dev/null @@ -1,247 +0,0 @@ -/* - * at91sam9g45.dtsi - Device Tree Include file for AT91SAM9G45 family SoC - * applies to AT91SAM9G45, AT91SAM9M10, - * AT91SAM9G46, AT91SAM9M11 SoC - * - * Copyright (C) 2011 Atmel, - * 2011 Nicolas Ferre - * - * Licensed under GPLv2 or later. - */ - -/include/ "skeleton.dtsi" - -/ { - model = "Atmel AT91SAM9G45 family SoC"; - compatible = "atmel,at91sam9g45"; - interrupt-parent = <&aic>; - - aliases { - serial0 = &dbgu; - serial1 = &usart0; - serial2 = &usart1; - serial3 = &usart2; - serial4 = &usart3; - gpio0 = &pioA; - gpio1 = &pioB; - gpio2 = &pioC; - gpio3 = &pioD; - gpio4 = &pioE; - tcb0 = &tcb0; - tcb1 = &tcb1; - }; - cpus { - cpu@0 { - compatible = "arm,arm926ejs"; - }; - }; - - memory { - reg = <0x70000000 0x10000000>; - }; - - ahb { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - - apb { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - - aic: interrupt-controller@fffff000 { - #interrupt-cells = <2>; - compatible = "atmel,at91rm9200-aic"; - interrupt-controller; - reg = <0xfffff000 0x200>; - }; - - ramc0: ramc@ffffe400 { - compatible = "atmel,at91sam9g45-ddramc"; - reg = <0xffffe400 0x200 - 0xffffe600 0x200>; - }; - - pmc: pmc@fffffc00 { - compatible = "atmel,at91rm9200-pmc"; - reg = <0xfffffc00 0x100>; - }; - - rstc@fffffd00 { - compatible = "atmel,at91sam9g45-rstc"; - reg = <0xfffffd00 0x10>; - }; - - pit: timer@fffffd30 { - compatible = "atmel,at91sam9260-pit"; - reg = <0xfffffd30 0xf>; - interrupts = <1 4>; - }; - - - shdwc@fffffd10 { - compatible = "atmel,at91sam9rl-shdwc"; - reg = <0xfffffd10 0x10>; - }; - - tcb0: timer@fff7c000 { - compatible = "atmel,at91rm9200-tcb"; - reg = <0xfff7c000 0x100>; - interrupts = <18 4>; - }; - - tcb1: timer@fffd4000 { - compatible = "atmel,at91rm9200-tcb"; - reg = <0xfffd4000 0x100>; - interrupts = <18 4>; - }; - - dma: dma-controller@ffffec00 { - compatible = "atmel,at91sam9g45-dma"; - reg = <0xffffec00 0x200>; - interrupts = <21 4>; - }; - - pioA: gpio@fffff200 { - compatible = "atmel,at91rm9200-gpio"; - reg = <0xfffff200 0x100>; - interrupts = <2 4>; - #gpio-cells = <2>; - gpio-controller; - interrupt-controller; - }; - - pioB: gpio@fffff400 { - compatible = "atmel,at91rm9200-gpio"; - reg = <0xfffff400 0x100>; - interrupts = <3 4>; - #gpio-cells = <2>; - gpio-controller; - interrupt-controller; - }; - - pioC: gpio@fffff600 { - compatible = "atmel,at91rm9200-gpio"; - reg = <0xfffff600 0x100>; - interrupts = <4 4>; - #gpio-cells = <2>; - gpio-controller; - interrupt-controller; - }; - - pioD: gpio@fffff800 { - compatible = "atmel,at91rm9200-gpio"; - reg = <0xfffff800 0x100>; - interrupts = <5 4>; - #gpio-cells = <2>; - gpio-controller; - interrupt-controller; - }; - - pioE: gpio@fffffa00 { - compatible = "atmel,at91rm9200-gpio"; - reg = <0xfffffa00 0x100>; - interrupts = <5 4>; - #gpio-cells = <2>; - gpio-controller; - interrupt-controller; - }; - - dbgu: serial@ffffee00 { - compatible = "atmel,at91sam9260-usart"; - reg = <0xffffee00 0x200>; - interrupts = <1 4>; - status = "disabled"; - }; - - usart0: serial@fff8c000 { - compatible = "atmel,at91sam9260-usart"; - reg = <0xfff8c000 0x200>; - interrupts = <7 4>; - atmel,use-dma-rx; - atmel,use-dma-tx; - status = "disabled"; - }; - - usart1: serial@fff90000 { - compatible = "atmel,at91sam9260-usart"; - reg = <0xfff90000 0x200>; - interrupts = <8 4>; - atmel,use-dma-rx; - atmel,use-dma-tx; - status = "disabled"; - }; - - usart2: serial@fff94000 { - compatible = "atmel,at91sam9260-usart"; - reg = <0xfff94000 0x200>; - interrupts = <9 4>; - atmel,use-dma-rx; - atmel,use-dma-tx; - status = "disabled"; - }; - - usart3: serial@fff98000 { - compatible = "atmel,at91sam9260-usart"; - reg = <0xfff98000 0x200>; - interrupts = <10 4>; - atmel,use-dma-rx; - atmel,use-dma-tx; - status = "disabled"; - }; - - macb0: ethernet@fffbc000 { - compatible = "cdns,at32ap7000-macb", "cdns,macb"; - reg = <0xfffbc000 0x100>; - interrupts = <25 4>; - status = "disabled"; - }; - }; - - nand0: nand@40000000 { - compatible = "atmel,at91rm9200-nand"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0x40000000 0x10000000 - 0xffffe200 0x200 - >; - atmel,nand-addr-offset = <21>; - atmel,nand-cmd-offset = <22>; - gpios = <&pioC 8 0 - &pioC 14 0 - 0 - >; - status = "disabled"; - }; - - usb0: ohci@00700000 { - compatible = "atmel,at91rm9200-ohci", "usb-ohci"; - reg = <0x00700000 0x100000>; - interrupts = <22 4>; - status = "disabled"; - }; - - usb1: ehci@00800000 { - compatible = "atmel,at91sam9g45-ehci", "usb-ehci"; - reg = <0x00800000 0x100000>; - interrupts = <22 4>; - status = "disabled"; - }; - }; - - i2c@0 { - compatible = "i2c-gpio"; - gpios = <&pioA 20 0 /* sda */ - &pioA 21 0 /* scl */ - >; - i2c-gpio,sda-open-drain; - i2c-gpio,scl-open-drain; - i2c-gpio,delay-us = <5>; /* ~100 kHz */ - #address-cells = <1>; - #size-cells = <0>; - status = "disabled"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/at91sam9m10g45ek.dts b/kernel/arch/arm/boot/dts/tr961-5200l-v2/at91sam9m10g45ek.dts deleted file mode 100644 index a3633bd13..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/at91sam9m10g45ek.dts +++ /dev/null @@ -1,156 +0,0 @@ -/* - * at91sam9m10g45ek.dts - Device Tree file for AT91SAM9M10G45-EK board - * - * Copyright (C) 2011 Atmel, - * 2011 Nicolas Ferre - * - * Licensed under GPLv2 or later. - */ -/dts-v1/; -/include/ "at91sam9g45.dtsi" - -/ { - model = "Atmel AT91SAM9M10G45-EK"; - compatible = "atmel,at91sam9m10g45ek", "atmel,at91sam9g45", "atmel,at91sam9"; - - chosen { - bootargs = "mem=64M console=ttyS0,115200 root=/dev/mtdblock1 rw rootfstype=jffs2"; - }; - - memory { - reg = <0x70000000 0x4000000>; - }; - - clocks { - #address-cells = <1>; - #size-cells = <1>; - ranges; - - main_clock: clock@0 { - compatible = "atmel,osc", "fixed-clock"; - clock-frequency = <12000000>; - }; - }; - - ahb { - apb { - dbgu: serial@ffffee00 { - status = "okay"; - }; - - usart1: serial@fff90000 { - status = "okay"; - }; - - macb0: ethernet@fffbc000 { - phy-mode = "rmii"; - status = "okay"; - }; - }; - - nand0: nand@40000000 { - nand-bus-width = <8>; - nand-ecc-mode = "soft"; - nand-on-flash-bbt; - status = "okay"; - - boot@0 { - label = "bootstrap/uboot/kernel"; - reg = <0x0 0x400000>; - }; - - rootfs@400000 { - label = "rootfs"; - reg = <0x400000 0x3C00000>; - }; - - data@4000000 { - label = "data"; - reg = <0x4000000 0xC000000>; - }; - }; - - usb0: ohci@00700000 { - status = "okay"; - num-ports = <2>; - atmel,vbus-gpio = <&pioD 1 1 - &pioD 3 1>; - }; - - usb1: ehci@00800000 { - status = "okay"; - }; - }; - - leds { - compatible = "gpio-leds"; - - d8 { - label = "d8"; - gpios = <&pioD 30 0>; - linux,default-trigger = "heartbeat"; - }; - - d6 { - label = "d6"; - gpios = <&pioD 0 1>; - linux,default-trigger = "nand-disk"; - }; - - d7 { - label = "d7"; - gpios = <&pioD 31 1>; - linux,default-trigger = "mmc0"; - }; - }; - - gpio_keys { - compatible = "gpio-keys"; - #address-cells = <1>; - #size-cells = <0>; - - left_click { - label = "left_click"; - gpios = <&pioB 6 1>; - linux,code = <272>; - gpio-key,wakeup; - }; - - right_click { - label = "right_click"; - gpios = <&pioB 7 1>; - linux,code = <273>; - gpio-key,wakeup; - }; - - left { - label = "Joystick Left"; - gpios = <&pioB 14 1>; - linux,code = <105>; - }; - - right { - label = "Joystick Right"; - gpios = <&pioB 15 1>; - linux,code = <106>; - }; - - up { - label = "Joystick Up"; - gpios = <&pioB 16 1>; - linux,code = <103>; - }; - - down { - label = "Joystick Down"; - gpios = <&pioB 17 1>; - linux,code = <108>; - }; - - enter { - label = "Joystick Press"; - gpios = <&pioB 18 1>; - linux,code = <28>; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/at91sam9x5.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v2/at91sam9x5.dtsi deleted file mode 100644 index dd4ed7484..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/at91sam9x5.dtsi +++ /dev/null @@ -1,263 +0,0 @@ -/* - * at91sam9x5.dtsi - Device Tree Include file for AT91SAM9x5 family SoC - * applies to AT91SAM9G15, AT91SAM9G25, AT91SAM9G35, - * AT91SAM9X25, AT91SAM9X35 SoC - * - * Copyright (C) 2012 Atmel, - * 2012 Nicolas Ferre - * - * Licensed under GPLv2 or later. - */ - -/include/ "skeleton.dtsi" - -/ { - model = "Atmel AT91SAM9x5 family SoC"; - compatible = "atmel,at91sam9x5"; - interrupt-parent = <&aic>; - - aliases { - serial0 = &dbgu; - serial1 = &usart0; - serial2 = &usart1; - serial3 = &usart2; - gpio0 = &pioA; - gpio1 = &pioB; - gpio2 = &pioC; - gpio3 = &pioD; - tcb0 = &tcb0; - tcb1 = &tcb1; - }; - cpus { - cpu@0 { - compatible = "arm,arm926ejs"; - }; - }; - - memory { - reg = <0x20000000 0x10000000>; - }; - - ahb { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - - apb { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - - aic: interrupt-controller@fffff000 { - #interrupt-cells = <2>; - compatible = "atmel,at91rm9200-aic"; - interrupt-controller; - reg = <0xfffff000 0x200>; - }; - - ramc0: ramc@ffffe800 { - compatible = "atmel,at91sam9g45-ddramc"; - reg = <0xffffe800 0x200>; - }; - - pmc: pmc@fffffc00 { - compatible = "atmel,at91rm9200-pmc"; - reg = <0xfffffc00 0x100>; - }; - - rstc@fffffe00 { - compatible = "atmel,at91sam9g45-rstc"; - reg = <0xfffffe00 0x10>; - }; - - shdwc@fffffe10 { - compatible = "atmel,at91sam9x5-shdwc"; - reg = <0xfffffe10 0x10>; - }; - - pit: timer@fffffe30 { - compatible = "atmel,at91sam9260-pit"; - reg = <0xfffffe30 0xf>; - interrupts = <1 4>; - }; - - tcb0: timer@f8008000 { - compatible = "atmel,at91sam9x5-tcb"; - reg = <0xf8008000 0x100>; - interrupts = <17 4>; - }; - - tcb1: timer@f800c000 { - compatible = "atmel,at91sam9x5-tcb"; - reg = <0xf800c000 0x100>; - interrupts = <17 4>; - }; - - dma0: dma-controller@ffffec00 { - compatible = "atmel,at91sam9g45-dma"; - reg = <0xffffec00 0x200>; - interrupts = <20 4>; - }; - - dma1: dma-controller@ffffee00 { - compatible = "atmel,at91sam9g45-dma"; - reg = <0xffffee00 0x200>; - interrupts = <21 4>; - }; - - pioA: gpio@fffff400 { - compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio"; - reg = <0xfffff400 0x100>; - interrupts = <2 4>; - #gpio-cells = <2>; - gpio-controller; - interrupt-controller; - }; - - pioB: gpio@fffff600 { - compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio"; - reg = <0xfffff600 0x100>; - interrupts = <2 4>; - #gpio-cells = <2>; - gpio-controller; - interrupt-controller; - }; - - pioC: gpio@fffff800 { - compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio"; - reg = <0xfffff800 0x100>; - interrupts = <3 4>; - #gpio-cells = <2>; - gpio-controller; - interrupt-controller; - }; - - pioD: gpio@fffffa00 { - compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio"; - reg = <0xfffffa00 0x100>; - interrupts = <3 4>; - #gpio-cells = <2>; - gpio-controller; - interrupt-controller; - }; - - dbgu: serial@fffff200 { - compatible = "atmel,at91sam9260-usart"; - reg = <0xfffff200 0x200>; - interrupts = <1 4>; - status = "disabled"; - }; - - usart0: serial@f801c000 { - compatible = "atmel,at91sam9260-usart"; - reg = <0xf801c000 0x200>; - interrupts = <5 4>; - atmel,use-dma-rx; - atmel,use-dma-tx; - status = "disabled"; - }; - - usart1: serial@f8020000 { - compatible = "atmel,at91sam9260-usart"; - reg = <0xf8020000 0x200>; - interrupts = <6 4>; - atmel,use-dma-rx; - atmel,use-dma-tx; - status = "disabled"; - }; - - usart2: serial@f8024000 { - compatible = "atmel,at91sam9260-usart"; - reg = <0xf8024000 0x200>; - interrupts = <7 4>; - atmel,use-dma-rx; - atmel,use-dma-tx; - status = "disabled"; - }; - - macb0: ethernet@f802c000 { - compatible = "cdns,at32ap7000-macb", "cdns,macb"; - reg = <0xf802c000 0x100>; - interrupts = <24 4>; - status = "disabled"; - }; - - macb1: ethernet@f8030000 { - compatible = "cdns,at32ap7000-macb", "cdns,macb"; - reg = <0xf8030000 0x100>; - interrupts = <27 4>; - status = "disabled"; - }; - }; - - nand0: nand@40000000 { - compatible = "atmel,at91rm9200-nand"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0x40000000 0x10000000 - >; - atmel,nand-addr-offset = <21>; - atmel,nand-cmd-offset = <22>; - gpios = <&pioD 5 0 - &pioD 4 0 - 0 - >; - status = "disabled"; - }; - - usb0: ohci@00600000 { - compatible = "atmel,at91rm9200-ohci", "usb-ohci"; - reg = <0x00600000 0x100000>; - interrupts = <22 4>; - status = "disabled"; - }; - - usb1: ehci@00700000 { - compatible = "atmel,at91sam9g45-ehci", "usb-ehci"; - reg = <0x00700000 0x100000>; - interrupts = <22 4>; - status = "disabled"; - }; - }; - - i2c@0 { - compatible = "i2c-gpio"; - gpios = <&pioA 30 0 /* sda */ - &pioA 31 0 /* scl */ - >; - i2c-gpio,sda-open-drain; - i2c-gpio,scl-open-drain; - i2c-gpio,delay-us = <2>; /* ~100 kHz */ - #address-cells = <1>; - #size-cells = <0>; - status = "disabled"; - }; - - i2c@1 { - compatible = "i2c-gpio"; - gpios = <&pioC 0 0 /* sda */ - &pioC 1 0 /* scl */ - >; - i2c-gpio,sda-open-drain; - i2c-gpio,scl-open-drain; - i2c-gpio,delay-us = <2>; /* ~100 kHz */ - #address-cells = <1>; - #size-cells = <0>; - status = "disabled"; - }; - - i2c@2 { - compatible = "i2c-gpio"; - gpios = <&pioB 4 0 /* sda */ - &pioB 5 0 /* scl */ - >; - i2c-gpio,sda-open-drain; - i2c-gpio,scl-open-drain; - i2c-gpio,delay-us = <2>; /* ~100 kHz */ - #address-cells = <1>; - #size-cells = <0>; - status = "disabled"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/at91sam9x5cm.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v2/at91sam9x5cm.dtsi deleted file mode 100644 index 31e7be237..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/at91sam9x5cm.dtsi +++ /dev/null @@ -1,74 +0,0 @@ -/* - * at91sam9x5cm.dtsi - Device Tree Include file for AT91SAM9x5 CPU Module - * - * Copyright (C) 2012 Atmel, - * 2012 Nicolas Ferre - * - * Licensed under GPLv2 or later. - */ - -/ { - memory { - reg = <0x20000000 0x8000000>; - }; - - clocks { - #address-cells = <1>; - #size-cells = <1>; - ranges; - - main_clock: clock@0 { - compatible = "atmel,osc", "fixed-clock"; - clock-frequency = <12000000>; - }; - }; - - ahb { - nand0: nand@40000000 { - nand-bus-width = <8>; - nand-ecc-mode = "soft"; - nand-on-flash-bbt; - status = "okay"; - - at91bootstrap@0 { - label = "at91bootstrap"; - reg = <0x0 0x40000>; - }; - - uboot@40000 { - label = "u-boot"; - reg = <0x40000 0x80000>; - }; - - ubootenv@c0000 { - label = "U-Boot Env"; - reg = <0xc0000 0x140000>; - }; - - kernel@200000 { - label = "kernel"; - reg = <0x200000 0x600000>; - }; - - rootfs@800000 { - label = "rootfs"; - reg = <0x800000 0x1f800000>; - }; - }; - }; - - leds { - compatible = "gpio-leds"; - - pb18 { - label = "pb18"; - gpios = <&pioB 18 1>; - linux,default-trigger = "heartbeat"; - }; - - pd21 { - label = "pd21"; - gpios = <&pioD 21 0>; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/db8500.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v2/db8500.dtsi deleted file mode 100644 index 14bc30705..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/db8500.dtsi +++ /dev/null @@ -1,274 +0,0 @@ -/* - * Copyright 2012 Linaro Ltd - * - * The code contained herein is licensed under the GNU General Public - * License. You may obtain a copy of the GNU General Public License - * Version 2 or later at the following locations: - * - * http://www.opensource.org/licenses/gpl-license.html - * http://www.gnu.org/copyleft/gpl.html - */ - -/include/ "skeleton.dtsi" - -/ { - soc-u9500 { - #address-cells = <1>; - #size-cells = <1>; - compatible = "stericsson,db8500"; - interrupt-parent = <&intc>; - ranges; - - intc: interrupt-controller@a0411000 { - compatible = "arm,cortex-a9-gic"; - #interrupt-cells = <3>; - #address-cells = <1>; - interrupt-controller; - reg = <0xa0411000 0x1000>, - <0xa0410100 0x100>; - }; - - L2: l2-cache { - compatible = "arm,pl310-cache"; - reg = <0xa0412000 0x1000>; - interrupts = <0 13 4>; - cache-unified; - cache-level = <2>; - }; - - pmu { - compatible = "arm,cortex-a9-pmu"; - interrupts = <0 7 0x4>; - }; - - timer@a0410600 { - compatible = "arm,cortex-a9-twd-timer"; - reg = <0xa0410600 0x20>; - interrupts = <1 13 0x304>; - }; - - rtc@80154000 { - compatible = "stericsson,db8500-rtc"; - reg = <0x80154000 0x1000>; - interrupts = <0 18 0x4>; - }; - - gpio0: gpio@8012e000 { - compatible = "stericsson,db8500-gpio", - "stmicroelectronics,nomadik-gpio"; - reg = <0x8012e000 0x80>; - interrupts = <0 119 0x4>; - supports-sleepmode; - gpio-controller; - }; - - gpio1: gpio@8012e080 { - compatible = "stericsson,db8500-gpio", - "stmicroelectronics,nomadik-gpio"; - reg = <0x8012e080 0x80>; - interrupts = <0 120 0x4>; - supports-sleepmode; - gpio-controller; - }; - - gpio2: gpio@8000e000 { - compatible = "stericsson,db8500-gpio", - "stmicroelectronics,nomadik-gpio"; - reg = <0x8000e000 0x80>; - interrupts = <0 121 0x4>; - supports-sleepmode; - gpio-controller; - }; - - gpio3: gpio@8000e080 { - compatible = "stericsson,db8500-gpio", - "stmicroelectronics,nomadik-gpio"; - reg = <0x8000e080 0x80>; - interrupts = <0 122 0x4>; - supports-sleepmode; - gpio-controller; - }; - - gpio4: gpio@8000e100 { - compatible = "stericsson,db8500-gpio", - "stmicroelectronics,nomadik-gpio"; - reg = <0x8000e100 0x80>; - interrupts = <0 123 0x4>; - supports-sleepmode; - gpio-controller; - }; - - gpio5: gpio@8000e180 { - compatible = "stericsson,db8500-gpio", - "stmicroelectronics,nomadik-gpio"; - reg = <0x8000e180 0x80>; - interrupts = <0 124 0x4>; - supports-sleepmode; - gpio-controller; - }; - - gpio6: gpio@8011e000 { - compatible = "stericsson,db8500-gpio", - "stmicroelectronics,nomadik-gpio"; - reg = <0x8011e000 0x80>; - interrupts = <0 125 0x4>; - supports-sleepmode; - gpio-controller; - }; - - gpio7: gpio@8011e080 { - compatible = "stericsson,db8500-gpio", - "stmicroelectronics,nomadik-gpio"; - reg = <0x8011e080 0x80>; - interrupts = <0 126 0x4>; - supports-sleepmode; - gpio-controller; - }; - - gpio8: gpio@a03fe000 { - compatible = "stericsson,db8500-gpio", - "stmicroelectronics,nomadik-gpio"; - reg = <0xa03fe000 0x80>; - interrupts = <0 127 0x4>; - supports-sleepmode; - gpio-controller; - }; - - usb@a03e0000 { - compatible = "stericsson,db8500-musb", - "mentor,musb"; - reg = <0xa03e0000 0x10000>; - interrupts = <0 23 0x4>; - }; - - dma-controller@801C0000 { - compatible = "stericsson,db8500-dma40", - "stericsson,dma40"; - reg = <0x801C0000 0x1000 0x40010000 0x800>; - interrupts = <0 25 0x4>; - }; - - prcmu@80157000 { - compatible = "stericsson,db8500-prcmu"; - reg = <0x80157000 0x1000>; - interrupts = <46 47>; - #address-cells = <1>; - #size-cells = <0>; - - ab8500@5 { - compatible = "stericsson,ab8500"; - reg = <5>; /* mailbox 5 is i2c */ - interrupts = <0 40 0x4>; - }; - }; - - i2c@80004000 { - compatible = "stericsson,db8500-i2c", "stmicroelectronics,nomadik-i2c"; - reg = <0x80004000 0x1000>; - interrupts = <0 21 0x4>; - #address-cells = <1>; - #size-cells = <0>; - }; - - i2c@80122000 { - compatible = "stericsson,db8500-i2c", "stmicroelectronics,nomadik-i2c"; - reg = <0x80122000 0x1000>; - interrupts = <0 22 0x4>; - #address-cells = <1>; - #size-cells = <0>; - }; - - i2c@80128000 { - compatible = "stericsson,db8500-i2c", "stmicroelectronics,nomadik-i2c"; - reg = <0x80128000 0x1000>; - interrupts = <0 55 0x4>; - #address-cells = <1>; - #size-cells = <0>; - }; - - i2c@80110000 { - compatible = "stericsson,db8500-i2c", "stmicroelectronics,nomadik-i2c"; - reg = <0x80110000 0x1000>; - interrupts = <0 12 0x4>; - #address-cells = <1>; - #size-cells = <0>; - }; - - i2c@8012a000 { - compatible = "stericsson,db8500-i2c", "stmicroelectronics,nomadik-i2c"; - reg = <0x8012a000 0x1000>; - interrupts = <0 51 0x4>; - #address-cells = <1>; - #size-cells = <0>; - }; - - ssp@80002000 { - compatible = "arm,pl022", "arm,primecell"; - reg = <80002000 0x1000>; - interrupts = <0 14 0x4>; - #address-cells = <1>; - #size-cells = <0>; - status = "disabled"; - - // Add one of these for each child device - cs-gpios = <&gpio0 31 &gpio4 14 &gpio4 16 &gpio6 22 &gpio7 0>; - - }; - - uart@80120000 { - compatible = "arm,pl011", "arm,primecell"; - reg = <0x80120000 0x1000>; - interrupts = <0 11 0x4>; - status = "disabled"; - }; - uart@80121000 { - compatible = "arm,pl011", "arm,primecell"; - reg = <0x80121000 0x1000>; - interrupts = <0 19 0x4>; - status = "disabled"; - }; - uart@80007000 { - compatible = "arm,pl011", "arm,primecell"; - reg = <0x80007000 0x1000>; - interrupts = <0 26 0x4>; - status = "disabled"; - }; - - sdi@80126000 { - compatible = "arm,pl18x", "arm,primecell"; - reg = <0x80126000 0x1000>; - interrupts = <0 60 0x4>; - status = "disabled"; - }; - sdi@80118000 { - compatible = "arm,pl18x", "arm,primecell"; - reg = <0x80118000 0x1000>; - interrupts = <0 50 0x4>; - status = "disabled"; - }; - sdi@80005000 { - compatible = "arm,pl18x", "arm,primecell"; - reg = <0x80005000 0x1000>; - interrupts = <0 41 0x4>; - status = "disabled"; - }; - sdi@80119000 { - compatible = "arm,pl18x", "arm,primecell"; - reg = <0x80119000 0x1000>; - interrupts = <0 59 0x4>; - status = "disabled"; - }; - sdi@80114000 { - compatible = "arm,pl18x", "arm,primecell"; - reg = <0x80114000 0x1000>; - interrupts = <0 99 0x4>; - status = "disabled"; - }; - sdi@80008000 { - compatible = "arm,pl18x", "arm,primecell"; - reg = <0x80114000 0x1000>; - interrupts = <0 100 0x4>; - status = "disabled"; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/dsi-panel-nt35590-720p-cmd.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v2/dsi-panel-nt35590-720p-cmd.dtsi deleted file mode 100644 index 7942567cc..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/dsi-panel-nt35590-720p-cmd.dtsi +++ /dev/null @@ -1,530 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/ { - qcom,mdss_dsi_nt35590_720p_cmd { - compatible = "qcom,mdss-dsi-panel"; - label = "nt35590 720p command mode dsi panel"; - status = "disable"; - qcom,dsi-ctrl-phandle = <&mdss_dsi0>; - qcom,rst-gpio = <&msmgpio 25 0>; - qcom,te-gpio = <&msmgpio 24 0>; - qcom,mdss-pan-res = <720 1280>; - qcom,mdss-pan-bpp = <24>; - qcom,mdss-pan-dest = "display_1"; - qcom,mdss-pan-porch-values = <164 8 140 1 1 6>; - qcom,mdss-pan-underflow-clr = <0xff>; - qcom,mdss-pan-bl-ctrl = "bl_ctrl_wled"; - qcom,mdss-pan-bl-levels = <1 4095>; - qcom,mdss-pan-dsi-mode = <1>; - qcom,mdss-vsync-enable = <1>; - qcom,mdss-hw-vsync-mode = <1>; - qcom,mdss-pan-dsi-h-pulse-mode = <1>; - qcom,mdss-pan-dsi-h-power-stop = <0 0 0>; - qcom,mdss-pan-dsi-bllp-power-stop = <1 1>; - qcom,mdss-pan-dsi-traffic-mode = <2>; - qcom,mdss-pan-dsi-dst-format = <8>; - qcom,mdss-pan-insert-dcs-cmd = <1>; - qcom,mdss-pan-wr-mem-continue = <0x3c>; - qcom,mdss-pan-wr-mem-start = <0x2c>; - qcom,mdss-pan-te-sel = <1>; - qcom,mdss-pan-dsi-vc = <0>; - qcom,mdss-pan-dsi-rgb-swap = <0>; - qcom,mdss-pan-dsi-data-lanes = <1 1 1 1>; /* 4 lanes */ - qcom,mdss-pan-dsi-dlane-swap = <0>; - qcom,mdss-pan-dsi-t-clk = <0x2c 0x20>; - qcom,mdss-pan-dsi-stream = <0>; - qcom,mdss-pan-dsi-mdp-tr = <0x0>; - qcom,mdss-pan-dsi-dma-tr = <0x04>; - qcom,mdss-pan-dsi-frame-rate = <60>; - qcom,panel-phy-regulatorSettings = [07 09 03 00 /* Regualotor settings */ - 20 00 01]; - qcom,panel-phy-timingSettings = [7d 25 1d 00 37 33 - 22 27 1e 03 04 00]; - qcom,panel-phy-strengthCtrl = [ff 06]; - qcom,panel-phy-bistCtrl = [00 00 b1 ff /* BIST Ctrl settings */ - 00 00]; - qcom,panel-phy-laneConfig = [00 00 00 00 00 00 00 01 97 /* lane0 config */ - 00 00 00 00 05 00 00 01 97 /* lane1 config */ - 00 00 00 00 0a 00 00 01 97 /* lane2 config */ - 00 00 00 00 0f 00 00 01 97 /* lane3 config */ - 00 c0 00 00 00 00 00 01 bb]; /* Clk ln config */ - qcom,panel-on-cmds = [29 01 00 00 00 02 FF EE - 29 01 00 00 00 02 26 08 - 29 01 00 00 00 02 26 00 - 29 01 00 00 10 02 FF 00 - 29 01 00 00 00 02 BA 03 - 29 01 00 00 00 02 C2 08 - 29 01 00 00 00 02 FF 01 - 29 01 00 00 00 02 FB 01 - 29 01 00 00 00 02 00 4A - 29 01 00 00 00 02 01 33 - 29 01 00 00 00 02 02 53 - 29 01 00 00 00 02 03 55 - 29 01 00 00 00 02 04 55 - 29 01 00 00 00 02 05 33 - 29 01 00 00 00 02 06 22 - 29 01 00 00 00 02 08 56 - 29 01 00 00 00 02 09 8F - 29 01 00 00 00 02 36 73 - 29 01 00 00 00 02 0B 9F - 29 01 00 00 00 02 0C 9F - 29 01 00 00 00 02 0D 2F - 29 01 00 00 00 02 0E 24 - 29 01 00 00 00 02 11 83 - 29 01 00 00 00 02 12 03 - 29 01 00 00 00 02 71 2C - 29 01 00 00 00 02 6F 03 - 29 01 00 00 00 02 0F 0A - 29 01 00 00 00 02 FF 05 - 29 01 00 00 00 02 FB 01 - 29 01 00 00 00 02 01 00 - 29 01 00 00 00 02 02 8B - 29 01 00 00 00 02 03 82 - 29 01 00 00 00 02 04 82 - 29 01 00 00 00 02 05 30 - 29 01 00 00 00 02 06 33 - 29 01 00 00 00 02 07 01 - 29 01 00 00 00 02 08 00 - 29 01 00 00 00 02 09 46 - 29 01 00 00 00 02 0A 46 - 29 01 00 00 00 02 0D 0B - 29 01 00 00 00 02 0E 1D - 29 01 00 00 00 02 0F 08 - 29 01 00 00 00 02 10 53 - 29 01 00 00 00 02 11 00 - 29 01 00 00 00 02 12 00 - 29 01 00 00 00 02 14 01 - 29 01 00 00 00 02 15 00 - 29 01 00 00 00 02 16 05 - 29 01 00 00 00 02 17 00 - 29 01 00 00 00 02 19 7F - 29 01 00 00 00 02 1A FF - 29 01 00 00 00 02 1B 0F - 29 01 00 00 00 02 1C 00 - 29 01 00 00 00 02 1D 00 - 29 01 00 00 00 02 1E 00 - 29 01 00 00 00 02 1F 07 - 29 01 00 00 00 02 20 00 - 29 01 00 00 00 02 21 06 - 29 01 00 00 00 02 22 55 - 29 01 00 00 00 02 23 4D - 29 01 00 00 00 02 2D 02 - 29 01 00 00 00 02 28 01 - 29 01 00 00 00 02 2F 02 - 29 01 00 00 00 02 83 01 - 29 01 00 00 00 02 9E 58 - 29 01 00 00 00 02 9F 6A - 29 01 00 00 00 02 A0 01 - 29 01 00 00 00 02 A2 10 - 29 01 00 00 00 02 BB 0A - 29 01 00 00 00 02 BC 0A - 29 01 00 00 00 02 32 08 - 29 01 00 00 00 02 33 B8 - 29 01 00 00 00 02 36 01 - 29 01 00 00 00 02 37 00 - 29 01 00 00 00 02 43 00 - 29 01 00 00 00 02 4B 21 - 29 01 00 00 00 02 4C 03 - 29 01 00 00 00 02 50 21 - 29 01 00 00 00 02 51 03 - 29 01 00 00 00 02 58 21 - 29 01 00 00 00 02 59 03 - 29 01 00 00 00 02 5D 21 - 29 01 00 00 00 02 5E 03 - 29 01 00 00 00 02 6C 00 - 29 01 00 00 00 02 6D 00 - 29 01 00 00 00 02 FB 01 - 29 01 00 00 00 02 FF 01 - 29 01 00 00 00 02 FB 01 - 29 01 00 00 00 02 75 00 - 29 01 00 00 00 02 76 7D - 29 01 00 00 00 02 77 00 - 29 01 00 00 00 02 78 8A - 29 01 00 00 00 02 79 00 - 29 01 00 00 00 02 7A 9C - 29 01 00 00 00 02 7B 00 - 29 01 00 00 00 02 7C B1 - 29 01 00 00 00 02 7D 00 - 29 01 00 00 00 02 7E BF - 29 01 00 00 00 02 7F 00 - 29 01 00 00 00 02 80 CF - 29 01 00 00 00 02 81 00 - 29 01 00 00 00 02 82 DD - 29 01 00 00 00 02 83 00 - 29 01 00 00 00 02 84 E8 - 29 01 00 00 00 02 85 00 - 29 01 00 00 00 02 86 F2 - 29 01 00 00 00 02 87 01 - 29 01 00 00 00 02 88 1F - 29 01 00 00 00 02 89 01 - 29 01 00 00 00 02 8A 41 - 29 01 00 00 00 02 8B 01 - 29 01 00 00 00 02 8C 78 - 29 01 00 00 00 02 8D 01 - 29 01 00 00 00 02 8E A5 - 29 01 00 00 00 02 8F 01 - 29 01 00 00 00 02 90 EE - 29 01 00 00 00 02 91 02 - 29 01 00 00 00 02 92 29 - 29 01 00 00 00 02 93 02 - 29 01 00 00 00 02 94 2A - 29 01 00 00 00 02 95 02 - 29 01 00 00 00 02 96 5D - 29 01 00 00 00 02 97 02 - 29 01 00 00 00 02 98 93 - 29 01 00 00 00 02 99 02 - 29 01 00 00 00 02 9A B8 - 29 01 00 00 00 02 9B 02 - 29 01 00 00 00 02 9C E7 - 29 01 00 00 00 02 9D 03 - 29 01 00 00 00 02 9E 07 - 29 01 00 00 00 02 9F 03 - 29 01 00 00 00 02 A0 37 - 29 01 00 00 00 02 A2 03 - 29 01 00 00 00 02 A3 46 - 29 01 00 00 00 02 A4 03 - 29 01 00 00 00 02 A5 56 - 29 01 00 00 00 02 A6 03 - 29 01 00 00 00 02 A7 66 - 29 01 00 00 00 02 A9 03 - 29 01 00 00 00 02 AA 7A - 29 01 00 00 00 02 AB 03 - 29 01 00 00 00 02 AC 93 - 29 01 00 00 00 02 AD 03 - 29 01 00 00 00 02 AE A3 - 29 01 00 00 00 02 AF 03 - 29 01 00 00 00 02 B0 B4 - 29 01 00 00 00 02 B1 03 - 29 01 00 00 00 02 B2 CB - 29 01 00 00 00 02 B3 00 - 29 01 00 00 00 02 B4 7D - 29 01 00 00 00 02 B5 00 - 29 01 00 00 00 02 B6 8A - 29 01 00 00 00 02 B7 00 - 29 01 00 00 00 02 B8 9C - 29 01 00 00 00 02 B9 00 - 29 01 00 00 00 02 BA B1 - 29 01 00 00 00 02 BB 00 - 29 01 00 00 00 02 BC BF - 29 01 00 00 00 02 BD 00 - 29 01 00 00 00 02 BE CF - 29 01 00 00 00 02 BF 00 - 29 01 00 00 00 02 C0 DD - 29 01 00 00 00 02 C1 00 - 29 01 00 00 00 02 C2 E8 - 29 01 00 00 00 02 C3 00 - 29 01 00 00 00 02 C4 F2 - 29 01 00 00 00 02 C5 01 - 29 01 00 00 00 02 C6 1F - 29 01 00 00 00 02 C7 01 - 29 01 00 00 00 02 C8 41 - 29 01 00 00 00 02 C9 01 - 29 01 00 00 00 02 CA 78 - 29 01 00 00 00 02 CB 01 - 29 01 00 00 00 02 CC A5 - 29 01 00 00 00 02 CD 01 - 29 01 00 00 00 02 CE EE - 29 01 00 00 00 02 CF 02 - 29 01 00 00 00 02 D0 29 - 29 01 00 00 00 02 D1 02 - 29 01 00 00 00 02 D2 2A - 29 01 00 00 00 02 D3 02 - 29 01 00 00 00 02 D4 5D - 29 01 00 00 00 02 D5 02 - 29 01 00 00 00 02 D6 93 - 29 01 00 00 00 02 D7 02 - 29 01 00 00 00 02 D8 B8 - 29 01 00 00 00 02 D9 02 - 29 01 00 00 00 02 DA E7 - 29 01 00 00 00 02 DB 03 - 29 01 00 00 00 02 DC 07 - 29 01 00 00 00 02 DD 03 - 29 01 00 00 00 02 DE 37 - 29 01 00 00 00 02 DF 03 - 29 01 00 00 00 02 E0 46 - 29 01 00 00 00 02 E1 03 - 29 01 00 00 00 02 E2 56 - 29 01 00 00 00 02 E3 03 - 29 01 00 00 00 02 E4 66 - 29 01 00 00 00 02 E5 03 - 29 01 00 00 00 02 E6 7A - 29 01 00 00 00 02 E7 03 - 29 01 00 00 00 02 E8 93 - 29 01 00 00 00 02 E9 03 - 29 01 00 00 00 02 EA A3 - 29 01 00 00 00 02 EB 03 - 29 01 00 00 00 02 EC B4 - 29 01 00 00 00 02 ED 03 - 29 01 00 00 00 02 EE CB - 29 01 00 00 00 02 EF 00 - 29 01 00 00 00 02 F0 ED - 29 01 00 00 00 02 F1 00 - 29 01 00 00 00 02 F2 F3 - 29 01 00 00 00 02 F3 00 - 29 01 00 00 00 02 F4 FE - 29 01 00 00 00 02 F5 01 - 29 01 00 00 00 02 F6 09 - 29 01 00 00 00 02 F7 01 - 29 01 00 00 00 02 F8 13 - 29 01 00 00 00 02 F9 01 - 29 01 00 00 00 02 FA 1D - 29 01 00 00 00 02 FF 02 - 29 01 00 00 00 02 FB 01 - 29 01 00 00 00 02 00 01 - 29 01 00 00 00 02 01 26 - 29 01 00 00 00 02 02 01 - 29 01 00 00 00 02 03 2F - 29 01 00 00 00 02 04 01 - 29 01 00 00 00 02 05 37 - 29 01 00 00 00 02 06 01 - 29 01 00 00 00 02 07 56 - 29 01 00 00 00 02 08 01 - 29 01 00 00 00 02 09 70 - 29 01 00 00 00 02 0A 01 - 29 01 00 00 00 02 0B 9D - 29 01 00 00 00 02 0C 01 - 29 01 00 00 00 02 0D C2 - 29 01 00 00 00 02 0E 01 - 29 01 00 00 00 02 0F FF - 29 01 00 00 00 02 10 02 - 29 01 00 00 00 02 11 31 - 29 01 00 00 00 02 12 02 - 29 01 00 00 00 02 13 32 - 29 01 00 00 00 02 14 02 - 29 01 00 00 00 02 15 60 - 29 01 00 00 00 02 16 02 - 29 01 00 00 00 02 17 94 - 29 01 00 00 00 02 18 02 - 29 01 00 00 00 02 19 B5 - 29 01 00 00 00 02 1A 02 - 29 01 00 00 00 02 1B E3 - 29 01 00 00 00 02 1C 03 - 29 01 00 00 00 02 1D 03 - 29 01 00 00 00 02 1E 03 - 29 01 00 00 00 02 1F 2D - 29 01 00 00 00 02 20 03 - 29 01 00 00 00 02 21 3A - 29 01 00 00 00 02 22 03 - 29 01 00 00 00 02 23 48 - 29 01 00 00 00 02 24 03 - 29 01 00 00 00 02 25 57 - 29 01 00 00 00 02 26 03 - 29 01 00 00 00 02 27 68 - 29 01 00 00 00 02 28 03 - 29 01 00 00 00 02 29 7B - 29 01 00 00 00 02 2A 03 - 29 01 00 00 00 02 2B 90 - 29 01 00 00 00 02 2D 03 - 29 01 00 00 00 02 2F A0 - 29 01 00 00 00 02 30 03 - 29 01 00 00 00 02 31 CB - 29 01 00 00 00 02 32 00 - 29 01 00 00 00 02 33 ED - 29 01 00 00 00 02 34 00 - 29 01 00 00 00 02 35 F3 - 29 01 00 00 00 02 36 00 - 29 01 00 00 00 02 37 FE - 29 01 00 00 00 02 38 01 - 29 01 00 00 00 02 39 09 - 29 01 00 00 00 02 3A 01 - 29 01 00 00 00 02 3B 13 - 29 01 00 00 00 02 3D 01 - 29 01 00 00 00 02 3F 1D - 29 01 00 00 00 02 40 01 - 29 01 00 00 00 02 41 26 - 29 01 00 00 00 02 42 01 - 29 01 00 00 00 02 43 2F - 29 01 00 00 00 02 44 01 - 29 01 00 00 00 02 45 37 - 29 01 00 00 00 02 46 01 - 29 01 00 00 00 02 47 56 - 29 01 00 00 00 02 48 01 - 29 01 00 00 00 02 49 70 - 29 01 00 00 00 02 4A 01 - 29 01 00 00 00 02 4B 9D - 29 01 00 00 00 02 4C 01 - 29 01 00 00 00 02 4D C2 - 29 01 00 00 00 02 4E 01 - 29 01 00 00 00 02 4F FF - 29 01 00 00 00 02 50 02 - 29 01 00 00 00 02 51 31 - 29 01 00 00 00 02 52 02 - 29 01 00 00 00 02 53 32 - 29 01 00 00 00 02 54 02 - 29 01 00 00 00 02 55 60 - 29 01 00 00 00 02 56 02 - 29 01 00 00 00 02 58 94 - 29 01 00 00 00 02 59 02 - 29 01 00 00 00 02 5A B5 - 29 01 00 00 00 02 5B 02 - 29 01 00 00 00 02 5C E3 - 29 01 00 00 00 02 5D 03 - 29 01 00 00 00 02 5E 03 - 29 01 00 00 00 02 5F 03 - 29 01 00 00 00 02 60 2D - 29 01 00 00 00 02 61 03 - 29 01 00 00 00 02 62 3A - 29 01 00 00 00 02 63 03 - 29 01 00 00 00 02 64 48 - 29 01 00 00 00 02 65 03 - 29 01 00 00 00 02 66 57 - 29 01 00 00 00 02 67 03 - 29 01 00 00 00 02 68 68 - 29 01 00 00 00 02 69 03 - 29 01 00 00 00 02 6A 7B - 29 01 00 00 00 02 6B 03 - 29 01 00 00 00 02 6C 90 - 29 01 00 00 00 02 6D 03 - 29 01 00 00 00 02 6E A0 - 29 01 00 00 00 02 6F 03 - 29 01 00 00 00 02 70 CB - 29 01 00 00 00 02 71 00 - 29 01 00 00 00 02 72 19 - 29 01 00 00 00 02 73 00 - 29 01 00 00 00 02 74 36 - 29 01 00 00 00 02 75 00 - 29 01 00 00 00 02 76 55 - 29 01 00 00 00 02 77 00 - 29 01 00 00 00 02 78 70 - 29 01 00 00 00 02 79 00 - 29 01 00 00 00 02 7A 83 - 29 01 00 00 00 02 7B 00 - 29 01 00 00 00 02 7C 99 - 29 01 00 00 00 02 7D 00 - 29 01 00 00 00 02 7E A8 - 29 01 00 00 00 02 7F 00 - 29 01 00 00 00 02 80 B7 - 29 01 00 00 00 02 81 00 - 29 01 00 00 00 02 82 C5 - 29 01 00 00 00 02 83 00 - 29 01 00 00 00 02 84 F7 - 29 01 00 00 00 02 85 01 - 29 01 00 00 00 02 86 1E - 29 01 00 00 00 02 87 01 - 29 01 00 00 00 02 88 60 - 29 01 00 00 00 02 89 01 - 29 01 00 00 00 02 8A 95 - 29 01 00 00 00 02 8B 01 - 29 01 00 00 00 02 8C E1 - 29 01 00 00 00 02 8D 02 - 29 01 00 00 00 02 8E 20 - 29 01 00 00 00 02 8F 02 - 29 01 00 00 00 02 90 23 - 29 01 00 00 00 02 91 02 - 29 01 00 00 00 02 92 59 - 29 01 00 00 00 02 93 02 - 29 01 00 00 00 02 94 94 - 29 01 00 00 00 02 95 02 - 29 01 00 00 00 02 96 B4 - 29 01 00 00 00 02 97 02 - 29 01 00 00 00 02 98 E1 - 29 01 00 00 00 02 99 03 - 29 01 00 00 00 02 9A 01 - 29 01 00 00 00 02 9B 03 - 29 01 00 00 00 02 9C 28 - 29 01 00 00 00 02 9D 03 - 29 01 00 00 00 02 9E 30 - 29 01 00 00 00 02 9F 03 - 29 01 00 00 00 02 A0 37 - 29 01 00 00 00 02 A2 03 - 29 01 00 00 00 02 A3 3B - 29 01 00 00 00 02 A4 03 - 29 01 00 00 00 02 A5 40 - 29 01 00 00 00 02 A6 03 - 29 01 00 00 00 02 A7 50 - 29 01 00 00 00 02 A9 03 - 29 01 00 00 00 02 AA 6D - 29 01 00 00 00 02 AB 03 - 29 01 00 00 00 02 AC 80 - 29 01 00 00 00 02 AD 03 - 29 01 00 00 00 02 AE CB - 29 01 00 00 00 02 AF 00 - 29 01 00 00 00 02 B0 19 - 29 01 00 00 00 02 B1 00 - 29 01 00 00 00 02 B2 36 - 29 01 00 00 00 02 B3 00 - 29 01 00 00 00 02 B4 55 - 29 01 00 00 00 02 B5 00 - 29 01 00 00 00 02 B6 70 - 29 01 00 00 00 02 B7 00 - 29 01 00 00 00 02 B8 83 - 29 01 00 00 00 02 B9 00 - 29 01 00 00 00 02 BA 99 - 29 01 00 00 00 02 BB 00 - 29 01 00 00 00 02 BC A8 - 29 01 00 00 00 02 BD 00 - 29 01 00 00 00 02 BE B7 - 29 01 00 00 00 02 BF 00 - 29 01 00 00 00 02 C0 C5 - 29 01 00 00 00 02 C1 00 - 29 01 00 00 00 02 C2 F7 - 29 01 00 00 00 02 C3 01 - 29 01 00 00 00 02 C4 1E - 29 01 00 00 00 02 C5 01 - 29 01 00 00 00 02 C6 60 - 29 01 00 00 00 02 C7 01 - 29 01 00 00 00 02 C8 95 - 29 01 00 00 00 02 C9 01 - 29 01 00 00 00 02 CA E1 - 29 01 00 00 00 02 CB 02 - 29 01 00 00 00 02 CC 20 - 29 01 00 00 00 02 CD 02 - 29 01 00 00 00 02 CE 23 - 29 01 00 00 00 02 CF 02 - 29 01 00 00 00 02 D0 59 - 29 01 00 00 00 02 D1 02 - 29 01 00 00 00 02 D2 94 - 29 01 00 00 00 02 D3 02 - 29 01 00 00 00 02 D4 B4 - 29 01 00 00 00 02 D5 02 - 29 01 00 00 00 02 D6 E1 - 29 01 00 00 00 02 D7 03 - 29 01 00 00 00 02 D8 01 - 29 01 00 00 00 02 D9 03 - 29 01 00 00 00 02 DA 28 - 29 01 00 00 00 02 DB 03 - 29 01 00 00 00 02 DC 30 - 29 01 00 00 00 02 DD 03 - 29 01 00 00 00 02 DE 37 - 29 01 00 00 00 02 DF 03 - 29 01 00 00 00 02 E0 3B - 29 01 00 00 00 02 E1 03 - 29 01 00 00 00 02 E2 40 - 29 01 00 00 00 02 E3 03 - 29 01 00 00 00 02 E4 50 - 29 01 00 00 00 02 E5 03 - 29 01 00 00 00 02 E6 6D - 29 01 00 00 00 02 E7 03 - 29 01 00 00 00 02 E8 80 - 29 01 00 00 00 02 E9 03 - 29 01 00 00 00 02 EA CB - 29 01 00 00 00 02 FF 01 - 29 01 00 00 00 02 FB 01 - 29 01 00 00 00 02 FF 02 - 29 01 00 00 00 02 FB 01 - 29 01 00 00 00 02 FF 04 - 29 01 00 00 00 02 FB 01 - 29 01 00 00 00 02 FF 00 - 29 01 00 00 64 02 11 00 - 29 01 00 00 00 02 FF EE - 29 01 00 00 00 02 12 50 - 29 01 00 00 00 02 13 02 - 29 01 00 00 00 02 6A 60 - 29 01 00 00 00 02 FF 00 - 29 01 00 00 78 02 29 00]; - qcom,on-cmds-dsi-state = "DSI_LP_MODE"; - qcom,panel-off-cmds = [05 01 00 00 32 02 28 00 - 05 01 00 00 78 02 10 00]; - qcom,off-cmds-dsi-state = "DSI_HS_MODE"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/dsi-panel-nt35590-720p-video.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v2/dsi-panel-nt35590-720p-video.dtsi deleted file mode 100644 index 7bc748d59..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/dsi-panel-nt35590-720p-video.dtsi +++ /dev/null @@ -1,524 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -&soc { - qcom,mdss_dsi_nt35590_720p_video { - compatible = "qcom,mdss-dsi-panel"; - label = "nt35590 720p video mode dsi panel"; - status = "disable"; - qcom,dsi-ctrl-phandle = <&mdss_dsi0>; - qcom,rst-gpio = <&msmgpio 25 0>; - qcom,mdss-pan-res = <720 1280>; - qcom,mdss-pan-bpp = <24>; - qcom,mdss-pan-dest = "display_1"; - qcom,mdss-pan-porch-values = <164 8 140 1 1 6>; - qcom,mdss-pan-underflow-clr = <0xff>; - qcom,mdss-pan-bl-ctrl = "bl_ctrl_wled"; - qcom,mdss-pan-bl-levels = <1 4095>; - qcom,mdss-pan-dsi-mode = <0>; - qcom,mdss-pan-dsi-h-pulse-mode = <1>; - qcom,mdss-pan-dsi-h-power-stop = <0 0 0>; - qcom,mdss-pan-dsi-bllp-power-stop = <1 1>; - qcom,mdss-pan-dsi-traffic-mode = <2>; - qcom,mdss-pan-dsi-dst-format = <3>; - qcom,mdss-pan-dsi-vc = <0>; - qcom,mdss-pan-dsi-rgb-swap = <0>; - qcom,mdss-pan-dsi-data-lanes = <1 1 1 1>; /* 4 lanes */ - qcom,mdss-pan-dsi-dlane-swap = <0>; - qcom,mdss-pan-dsi-t-clk = <0x2c 0x20>; - qcom,mdss-pan-dsi-stream = <0>; - qcom,mdss-pan-dsi-mdp-tr = <0x0>; - qcom,mdss-pan-dsi-dma-tr = <0x04>; - qcom,mdss-pan-dsi-frame-rate = <60>; - qcom,panel-phy-regulatorSettings = [07 09 03 00 /* Regualotor settings */ - 20 00 01]; - qcom,panel-phy-timingSettings = [7d 25 1d 00 37 33 - 22 27 1e 03 04 00]; - qcom,panel-phy-strengthCtrl = [ff 06]; - qcom,panel-phy-bistCtrl = [00 00 b1 ff /* BIST Ctrl settings */ - 00 00]; - qcom,panel-phy-laneConfig = [00 00 00 00 00 00 00 01 97 /* lane0 config */ - 00 00 00 00 05 00 00 01 97 /* lane1 config */ - 00 00 00 00 0a 00 00 01 97 /* lane2 config */ - 00 00 00 00 0f 00 00 01 97 /* lane3 config */ - 00 c0 00 00 00 00 00 01 bb]; /* Clk ln config */ - qcom,panel-on-cmds = [29 01 00 00 00 00 02 FF EE - 29 01 00 00 00 00 02 26 08 - 29 01 00 00 00 00 02 26 00 - 29 01 00 00 10 00 02 FF 00 - 29 01 00 00 00 00 02 BA 03 - 29 01 00 00 00 00 02 C2 03 - 29 01 00 00 00 00 02 FF 01 - 29 01 00 00 00 00 02 FB 01 - 29 01 00 00 00 00 02 00 4A - 29 01 00 00 00 00 02 01 33 - 29 01 00 00 00 00 02 02 53 - 29 01 00 00 00 00 02 03 55 - 29 01 00 00 00 00 02 04 55 - 29 01 00 00 00 00 02 05 33 - 29 01 00 00 00 00 02 06 22 - 29 01 00 00 00 00 02 08 56 - 29 01 00 00 00 00 02 09 8F - 29 01 00 00 00 00 02 36 73 - 29 01 00 00 00 00 02 0B 9F - 29 01 00 00 00 00 02 0C 9F - 29 01 00 00 00 00 02 0D 2F - 29 01 00 00 00 00 02 0E 24 - 29 01 00 00 00 00 02 11 83 - 29 01 00 00 00 00 02 12 03 - 29 01 00 00 00 00 02 71 2C - 29 01 00 00 00 00 02 6F 03 - 29 01 00 00 00 00 02 0F 0A - 29 01 00 00 00 00 02 FF 05 - 29 01 00 00 00 00 02 FB 01 - 29 01 00 00 00 00 02 01 00 - 29 01 00 00 00 00 02 02 8B - 29 01 00 00 00 00 02 03 82 - 29 01 00 00 00 00 02 04 82 - 29 01 00 00 00 00 02 05 30 - 29 01 00 00 00 00 02 06 33 - 29 01 00 00 00 00 02 07 01 - 29 01 00 00 00 00 02 08 00 - 29 01 00 00 00 00 02 09 46 - 29 01 00 00 00 00 02 0A 46 - 29 01 00 00 00 00 02 0D 0B - 29 01 00 00 00 00 02 0E 1D - 29 01 00 00 00 00 02 0F 08 - 29 01 00 00 00 00 02 10 53 - 29 01 00 00 00 00 02 11 00 - 29 01 00 00 00 00 02 12 00 - 29 01 00 00 00 00 02 14 01 - 29 01 00 00 00 00 02 15 00 - 29 01 00 00 00 00 02 16 05 - 29 01 00 00 00 00 02 17 00 - 29 01 00 00 00 00 02 19 7F - 29 01 00 00 00 00 02 1A FF - 29 01 00 00 00 00 02 1B 0F - 29 01 00 00 00 00 02 1C 00 - 29 01 00 00 00 00 02 1D 00 - 29 01 00 00 00 00 02 1E 00 - 29 01 00 00 00 00 02 1F 07 - 29 01 00 00 00 00 02 20 00 - 29 01 00 00 00 00 02 21 06 - 29 01 00 00 00 00 02 22 55 - 29 01 00 00 00 00 02 23 4D - 29 01 00 00 00 00 02 2D 02 - 29 01 00 00 00 00 02 28 01 - 29 01 00 00 00 00 02 2F 02 - 29 01 00 00 00 00 02 83 01 - 29 01 00 00 00 00 02 9E 58 - 29 01 00 00 00 00 02 9F 6A - 29 01 00 00 00 00 02 A0 01 - 29 01 00 00 00 00 02 A2 10 - 29 01 00 00 00 00 02 BB 0A - 29 01 00 00 00 00 02 BC 0A - 29 01 00 00 00 00 02 32 08 - 29 01 00 00 00 00 02 33 B8 - 29 01 00 00 00 00 02 36 01 - 29 01 00 00 00 00 02 37 00 - 29 01 00 00 00 00 02 43 00 - 29 01 00 00 00 00 02 4B 21 - 29 01 00 00 00 00 02 4C 03 - 29 01 00 00 00 00 02 50 21 - 29 01 00 00 00 00 02 51 03 - 29 01 00 00 00 00 02 58 21 - 29 01 00 00 00 00 02 59 03 - 29 01 00 00 00 00 02 5D 21 - 29 01 00 00 00 00 02 5E 03 - 29 01 00 00 00 00 02 6C 00 - 29 01 00 00 00 00 02 6D 00 - 29 01 00 00 00 00 02 FB 01 - 29 01 00 00 00 00 02 FF 01 - 29 01 00 00 00 00 02 FB 01 - 29 01 00 00 00 00 02 75 00 - 29 01 00 00 00 00 02 76 7D - 29 01 00 00 00 00 02 77 00 - 29 01 00 00 00 00 02 78 8A - 29 01 00 00 00 00 02 79 00 - 29 01 00 00 00 00 02 7A 9C - 29 01 00 00 00 00 02 7B 00 - 29 01 00 00 00 00 02 7C B1 - 29 01 00 00 00 00 02 7D 00 - 29 01 00 00 00 00 02 7E BF - 29 01 00 00 00 00 02 7F 00 - 29 01 00 00 00 00 02 80 CF - 29 01 00 00 00 00 02 81 00 - 29 01 00 00 00 00 02 82 DD - 29 01 00 00 00 00 02 83 00 - 29 01 00 00 00 00 02 84 E8 - 29 01 00 00 00 00 02 85 00 - 29 01 00 00 00 00 02 86 F2 - 29 01 00 00 00 00 02 87 01 - 29 01 00 00 00 00 02 88 1F - 29 01 00 00 00 00 02 89 01 - 29 01 00 00 00 00 02 8A 41 - 29 01 00 00 00 00 02 8B 01 - 29 01 00 00 00 00 02 8C 78 - 29 01 00 00 00 00 02 8D 01 - 29 01 00 00 00 00 02 8E A5 - 29 01 00 00 00 00 02 8F 01 - 29 01 00 00 00 00 02 90 EE - 29 01 00 00 00 00 02 91 02 - 29 01 00 00 00 00 02 92 29 - 29 01 00 00 00 00 02 93 02 - 29 01 00 00 00 00 02 94 2A - 29 01 00 00 00 00 02 95 02 - 29 01 00 00 00 00 02 96 5D - 29 01 00 00 00 00 02 97 02 - 29 01 00 00 00 00 02 98 93 - 29 01 00 00 00 00 02 99 02 - 29 01 00 00 00 00 02 9A B8 - 29 01 00 00 00 00 02 9B 02 - 29 01 00 00 00 00 02 9C E7 - 29 01 00 00 00 00 02 9D 03 - 29 01 00 00 00 00 02 9E 07 - 29 01 00 00 00 00 02 9F 03 - 29 01 00 00 00 00 02 A0 37 - 29 01 00 00 00 00 02 A2 03 - 29 01 00 00 00 00 02 A3 46 - 29 01 00 00 00 00 02 A4 03 - 29 01 00 00 00 00 02 A5 56 - 29 01 00 00 00 00 02 A6 03 - 29 01 00 00 00 00 02 A7 66 - 29 01 00 00 00 00 02 A9 03 - 29 01 00 00 00 00 02 AA 7A - 29 01 00 00 00 00 02 AB 03 - 29 01 00 00 00 00 02 AC 93 - 29 01 00 00 00 00 02 AD 03 - 29 01 00 00 00 00 02 AE A3 - 29 01 00 00 00 00 02 AF 03 - 29 01 00 00 00 00 02 B0 B4 - 29 01 00 00 00 00 02 B1 03 - 29 01 00 00 00 00 02 B2 CB - 29 01 00 00 00 00 02 B3 00 - 29 01 00 00 00 00 02 B4 7D - 29 01 00 00 00 00 02 B5 00 - 29 01 00 00 00 00 02 B6 8A - 29 01 00 00 00 00 02 B7 00 - 29 01 00 00 00 00 02 B8 9C - 29 01 00 00 00 00 02 B9 00 - 29 01 00 00 00 00 02 BA B1 - 29 01 00 00 00 00 02 BB 00 - 29 01 00 00 00 00 02 BC BF - 29 01 00 00 00 00 02 BD 00 - 29 01 00 00 00 00 02 BE CF - 29 01 00 00 00 00 02 BF 00 - 29 01 00 00 00 00 02 C0 DD - 29 01 00 00 00 00 02 C1 00 - 29 01 00 00 00 00 02 C2 E8 - 29 01 00 00 00 00 02 C3 00 - 29 01 00 00 00 00 02 C4 F2 - 29 01 00 00 00 00 02 C5 01 - 29 01 00 00 00 00 02 C6 1F - 29 01 00 00 00 00 02 C7 01 - 29 01 00 00 00 00 02 C8 41 - 29 01 00 00 00 00 02 C9 01 - 29 01 00 00 00 00 02 CA 78 - 29 01 00 00 00 00 02 CB 01 - 29 01 00 00 00 00 02 CC A5 - 29 01 00 00 00 00 02 CD 01 - 29 01 00 00 00 00 02 CE EE - 29 01 00 00 00 00 02 CF 02 - 29 01 00 00 00 00 02 D0 29 - 29 01 00 00 00 00 02 D1 02 - 29 01 00 00 00 00 02 D2 2A - 29 01 00 00 00 00 02 D3 02 - 29 01 00 00 00 00 02 D4 5D - 29 01 00 00 00 00 02 D5 02 - 29 01 00 00 00 00 02 D6 93 - 29 01 00 00 00 00 02 D7 02 - 29 01 00 00 00 00 02 D8 B8 - 29 01 00 00 00 00 02 D9 02 - 29 01 00 00 00 00 02 DA E7 - 29 01 00 00 00 00 02 DB 03 - 29 01 00 00 00 00 02 DC 07 - 29 01 00 00 00 00 02 DD 03 - 29 01 00 00 00 00 02 DE 37 - 29 01 00 00 00 00 02 DF 03 - 29 01 00 00 00 00 02 E0 46 - 29 01 00 00 00 00 02 E1 03 - 29 01 00 00 00 00 02 E2 56 - 29 01 00 00 00 00 02 E3 03 - 29 01 00 00 00 00 02 E4 66 - 29 01 00 00 00 00 02 E5 03 - 29 01 00 00 00 00 02 E6 7A - 29 01 00 00 00 00 02 E7 03 - 29 01 00 00 00 00 02 E8 93 - 29 01 00 00 00 00 02 E9 03 - 29 01 00 00 00 00 02 EA A3 - 29 01 00 00 00 00 02 EB 03 - 29 01 00 00 00 00 02 EC B4 - 29 01 00 00 00 00 02 ED 03 - 29 01 00 00 00 00 02 EE CB - 29 01 00 00 00 00 02 EF 00 - 29 01 00 00 00 00 02 F0 ED - 29 01 00 00 00 00 02 F1 00 - 29 01 00 00 00 00 02 F2 F3 - 29 01 00 00 00 00 02 F3 00 - 29 01 00 00 00 00 02 F4 FE - 29 01 00 00 00 00 02 F5 01 - 29 01 00 00 00 00 02 F6 09 - 29 01 00 00 00 00 02 F7 01 - 29 01 00 00 00 00 02 F8 13 - 29 01 00 00 00 00 02 F9 01 - 29 01 00 00 00 00 02 FA 1D - 29 01 00 00 00 00 02 FF 02 - 29 01 00 00 00 00 02 FB 01 - 29 01 00 00 00 00 02 00 01 - 29 01 00 00 00 00 02 01 26 - 29 01 00 00 00 00 02 02 01 - 29 01 00 00 00 00 02 03 2F - 29 01 00 00 00 00 02 04 01 - 29 01 00 00 00 00 02 05 37 - 29 01 00 00 00 00 02 06 01 - 29 01 00 00 00 00 02 07 56 - 29 01 00 00 00 00 02 08 01 - 29 01 00 00 00 00 02 09 70 - 29 01 00 00 00 00 02 0A 01 - 29 01 00 00 00 00 02 0B 9D - 29 01 00 00 00 00 02 0C 01 - 29 01 00 00 00 00 02 0D C2 - 29 01 00 00 00 00 02 0E 01 - 29 01 00 00 00 00 02 0F FF - 29 01 00 00 00 00 02 10 02 - 29 01 00 00 00 00 02 11 31 - 29 01 00 00 00 00 02 12 02 - 29 01 00 00 00 00 02 13 32 - 29 01 00 00 00 00 02 14 02 - 29 01 00 00 00 00 02 15 60 - 29 01 00 00 00 00 02 16 02 - 29 01 00 00 00 00 02 17 94 - 29 01 00 00 00 00 02 18 02 - 29 01 00 00 00 00 02 19 B5 - 29 01 00 00 00 00 02 1A 02 - 29 01 00 00 00 00 02 1B E3 - 29 01 00 00 00 00 02 1C 03 - 29 01 00 00 00 00 02 1D 03 - 29 01 00 00 00 00 02 1E 03 - 29 01 00 00 00 00 02 1F 2D - 29 01 00 00 00 00 02 20 03 - 29 01 00 00 00 00 02 21 3A - 29 01 00 00 00 00 02 22 03 - 29 01 00 00 00 00 02 23 48 - 29 01 00 00 00 00 02 24 03 - 29 01 00 00 00 00 02 25 57 - 29 01 00 00 00 00 02 26 03 - 29 01 00 00 00 00 02 27 68 - 29 01 00 00 00 00 02 28 03 - 29 01 00 00 00 00 02 29 7B - 29 01 00 00 00 00 02 2A 03 - 29 01 00 00 00 00 02 2B 90 - 29 01 00 00 00 00 02 2D 03 - 29 01 00 00 00 00 02 2F A0 - 29 01 00 00 00 00 02 30 03 - 29 01 00 00 00 00 02 31 CB - 29 01 00 00 00 00 02 32 00 - 29 01 00 00 00 00 02 33 ED - 29 01 00 00 00 00 02 34 00 - 29 01 00 00 00 00 02 35 F3 - 29 01 00 00 00 00 02 36 00 - 29 01 00 00 00 00 02 37 FE - 29 01 00 00 00 00 02 38 01 - 29 01 00 00 00 00 02 39 09 - 29 01 00 00 00 00 02 3A 01 - 29 01 00 00 00 00 02 3B 13 - 29 01 00 00 00 00 02 3D 01 - 29 01 00 00 00 00 02 3F 1D - 29 01 00 00 00 00 02 40 01 - 29 01 00 00 00 00 02 41 26 - 29 01 00 00 00 00 02 42 01 - 29 01 00 00 00 00 02 43 2F - 29 01 00 00 00 00 02 44 01 - 29 01 00 00 00 00 02 45 37 - 29 01 00 00 00 00 02 46 01 - 29 01 00 00 00 00 02 47 56 - 29 01 00 00 00 00 02 48 01 - 29 01 00 00 00 00 02 49 70 - 29 01 00 00 00 00 02 4A 01 - 29 01 00 00 00 00 02 4B 9D - 29 01 00 00 00 00 02 4C 01 - 29 01 00 00 00 00 02 4D C2 - 29 01 00 00 00 00 02 4E 01 - 29 01 00 00 00 00 02 4F FF - 29 01 00 00 00 00 02 50 02 - 29 01 00 00 00 00 02 51 31 - 29 01 00 00 00 00 02 52 02 - 29 01 00 00 00 00 02 53 32 - 29 01 00 00 00 00 02 54 02 - 29 01 00 00 00 00 02 55 60 - 29 01 00 00 00 00 02 56 02 - 29 01 00 00 00 00 02 58 94 - 29 01 00 00 00 00 02 59 02 - 29 01 00 00 00 00 02 5A B5 - 29 01 00 00 00 00 02 5B 02 - 29 01 00 00 00 00 02 5C E3 - 29 01 00 00 00 00 02 5D 03 - 29 01 00 00 00 00 02 5E 03 - 29 01 00 00 00 00 02 5F 03 - 29 01 00 00 00 00 02 60 2D - 29 01 00 00 00 00 02 61 03 - 29 01 00 00 00 00 02 62 3A - 29 01 00 00 00 00 02 63 03 - 29 01 00 00 00 00 02 64 48 - 29 01 00 00 00 00 02 65 03 - 29 01 00 00 00 00 02 66 57 - 29 01 00 00 00 00 02 67 03 - 29 01 00 00 00 00 02 68 68 - 29 01 00 00 00 00 02 69 03 - 29 01 00 00 00 00 02 6A 7B - 29 01 00 00 00 00 02 6B 03 - 29 01 00 00 00 00 02 6C 90 - 29 01 00 00 00 00 02 6D 03 - 29 01 00 00 00 00 02 6E A0 - 29 01 00 00 00 00 02 6F 03 - 29 01 00 00 00 00 02 70 CB - 29 01 00 00 00 00 02 71 00 - 29 01 00 00 00 00 02 72 19 - 29 01 00 00 00 00 02 73 00 - 29 01 00 00 00 00 02 74 36 - 29 01 00 00 00 00 02 75 00 - 29 01 00 00 00 00 02 76 55 - 29 01 00 00 00 00 02 77 00 - 29 01 00 00 00 00 02 78 70 - 29 01 00 00 00 00 02 79 00 - 29 01 00 00 00 00 02 7A 83 - 29 01 00 00 00 00 02 7B 00 - 29 01 00 00 00 00 02 7C 99 - 29 01 00 00 00 00 02 7D 00 - 29 01 00 00 00 00 02 7E A8 - 29 01 00 00 00 00 02 7F 00 - 29 01 00 00 00 00 02 80 B7 - 29 01 00 00 00 00 02 81 00 - 29 01 00 00 00 00 02 82 C5 - 29 01 00 00 00 00 02 83 00 - 29 01 00 00 00 00 02 84 F7 - 29 01 00 00 00 00 02 85 01 - 29 01 00 00 00 00 02 86 1E - 29 01 00 00 00 00 02 87 01 - 29 01 00 00 00 00 02 88 60 - 29 01 00 00 00 00 02 89 01 - 29 01 00 00 00 00 02 8A 95 - 29 01 00 00 00 00 02 8B 01 - 29 01 00 00 00 00 02 8C E1 - 29 01 00 00 00 00 02 8D 02 - 29 01 00 00 00 00 02 8E 20 - 29 01 00 00 00 00 02 8F 02 - 29 01 00 00 00 00 02 90 23 - 29 01 00 00 00 00 02 91 02 - 29 01 00 00 00 00 02 92 59 - 29 01 00 00 00 00 02 93 02 - 29 01 00 00 00 00 02 94 94 - 29 01 00 00 00 00 02 95 02 - 29 01 00 00 00 00 02 96 B4 - 29 01 00 00 00 00 02 97 02 - 29 01 00 00 00 00 02 98 E1 - 29 01 00 00 00 00 02 99 03 - 29 01 00 00 00 00 02 9A 01 - 29 01 00 00 00 00 02 9B 03 - 29 01 00 00 00 00 02 9C 28 - 29 01 00 00 00 00 02 9D 03 - 29 01 00 00 00 00 02 9E 30 - 29 01 00 00 00 00 02 9F 03 - 29 01 00 00 00 00 02 A0 37 - 29 01 00 00 00 00 02 A2 03 - 29 01 00 00 00 00 02 A3 3B - 29 01 00 00 00 00 02 A4 03 - 29 01 00 00 00 00 02 A5 40 - 29 01 00 00 00 00 02 A6 03 - 29 01 00 00 00 00 02 A7 50 - 29 01 00 00 00 00 02 A9 03 - 29 01 00 00 00 00 02 AA 6D - 29 01 00 00 00 00 02 AB 03 - 29 01 00 00 00 00 02 AC 80 - 29 01 00 00 00 00 02 AD 03 - 29 01 00 00 00 00 02 AE CB - 29 01 00 00 00 00 02 AF 00 - 29 01 00 00 00 00 02 B0 19 - 29 01 00 00 00 00 02 B1 00 - 29 01 00 00 00 00 02 B2 36 - 29 01 00 00 00 00 02 B3 00 - 29 01 00 00 00 00 02 B4 55 - 29 01 00 00 00 00 02 B5 00 - 29 01 00 00 00 00 02 B6 70 - 29 01 00 00 00 00 02 B7 00 - 29 01 00 00 00 00 02 B8 83 - 29 01 00 00 00 00 02 B9 00 - 29 01 00 00 00 00 02 BA 99 - 29 01 00 00 00 00 02 BB 00 - 29 01 00 00 00 00 02 BC A8 - 29 01 00 00 00 00 02 BD 00 - 29 01 00 00 00 00 02 BE B7 - 29 01 00 00 00 00 02 BF 00 - 29 01 00 00 00 00 02 C0 C5 - 29 01 00 00 00 00 02 C1 00 - 29 01 00 00 00 00 02 C2 F7 - 29 01 00 00 00 00 02 C3 01 - 29 01 00 00 00 00 02 C4 1E - 29 01 00 00 00 00 02 C5 01 - 29 01 00 00 00 00 02 C6 60 - 29 01 00 00 00 00 02 C7 01 - 29 01 00 00 00 00 02 C8 95 - 29 01 00 00 00 00 02 C9 01 - 29 01 00 00 00 00 02 CA E1 - 29 01 00 00 00 00 02 CB 02 - 29 01 00 00 00 00 02 CC 20 - 29 01 00 00 00 00 02 CD 02 - 29 01 00 00 00 00 02 CE 23 - 29 01 00 00 00 00 02 CF 02 - 29 01 00 00 00 00 02 D0 59 - 29 01 00 00 00 00 02 D1 02 - 29 01 00 00 00 00 02 D2 94 - 29 01 00 00 00 00 02 D3 02 - 29 01 00 00 00 00 02 D4 B4 - 29 01 00 00 00 00 02 D5 02 - 29 01 00 00 00 00 02 D6 E1 - 29 01 00 00 00 00 02 D7 03 - 29 01 00 00 00 00 02 D8 01 - 29 01 00 00 00 00 02 D9 03 - 29 01 00 00 00 00 02 DA 28 - 29 01 00 00 00 00 02 DB 03 - 29 01 00 00 00 00 02 DC 30 - 29 01 00 00 00 00 02 DD 03 - 29 01 00 00 00 00 02 DE 37 - 29 01 00 00 00 00 02 DF 03 - 29 01 00 00 00 00 02 E0 3B - 29 01 00 00 00 00 02 E1 03 - 29 01 00 00 00 00 02 E2 40 - 29 01 00 00 00 00 02 E3 03 - 29 01 00 00 00 00 02 E4 50 - 29 01 00 00 00 00 02 E5 03 - 29 01 00 00 00 00 02 E6 6D - 29 01 00 00 00 00 02 E7 03 - 29 01 00 00 00 00 02 E8 80 - 29 01 00 00 00 00 02 E9 03 - 29 01 00 00 00 00 02 EA CB - 29 01 00 00 00 00 02 FF 01 - 29 01 00 00 00 00 02 FB 01 - 29 01 00 00 00 00 02 FF 02 - 29 01 00 00 00 00 02 FB 01 - 29 01 00 00 00 00 02 FF 04 - 29 01 00 00 00 00 02 FB 01 - 29 01 00 00 00 00 02 FF 00 - 29 01 00 00 64 00 02 11 00 - 29 01 00 00 00 00 02 FF EE - 29 01 00 00 00 00 02 12 50 - 29 01 00 00 00 00 02 13 02 - 29 01 00 00 00 00 02 6A 60 - 29 01 00 00 00 00 02 FF 00 - 29 01 00 00 78 00 02 29 00]; - - qcom,on-cmds-dsi-state = "DSI_LP_MODE"; - qcom,panel-off-cmds = [05 01 00 00 32 00 02 28 00 - 05 01 00 00 78 00 02 10 00]; - qcom,off-cmds-dsi-state = "DSI_HS_MODE"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/dsi-panel-orise-720p-video.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v2/dsi-panel-orise-720p-video.dtsi deleted file mode 100644 index 478541fb1..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/dsi-panel-orise-720p-video.dtsi +++ /dev/null @@ -1,60 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -&soc { - qcom,mdss_dsi_orise_720p_video { - compatible = "qcom,mdss-dsi-panel"; - label = "orise 720p video mode dsi panel"; - status = "disable"; - qcom,dsi-ctrl-phandle = <&mdss_dsi1>; - qcom,mdss-pan-res = <720 1280>; - qcom,mdss-pan-bpp = <24>; - qcom,mdss-pan-dest = "display_2"; - qcom,mdss-pan-porch-values = <32 12 144 3 4 9>; - qcom,mdss-pan-underflow-clr = <0xff>; - qcom,mdss-pan-bl-levels = <1 255>; - qcom,mdss-pan-dsi-mode = <0>; - qcom,mdss-pan-dsi-h-pulse-mode = <0>; - qcom,mdss-pan-dsi-h-power-stop = <0 0 0>; - qcom,mdss-pan-dsi-bllp-power-stop = <1 1>; - qcom,mdss-pan-dsi-traffic-mode = <1>; - qcom,mdss-pan-dsi-dst-format = <3>; - qcom,mdss-pan-dsi-vc = <0>; - qcom,mdss-pan-dsi-rgb-swap = <0>; - qcom,mdss-pan-dsi-data-lanes = <1 1 1 1>; - qcom,mdss-pan-dsi-dlane-swap = <0>; - qcom,mdss-pan-dsi-t-clk = <0x1b 0x04>; - qcom,mdss-pan-dsi-stream = <0>; - qcom,mdss-pan-dsi-mdp-tr = <0x0>; - qcom,mdss-pan-dsi-dma-tr = <0x04>; - qcom,mdss-pan-dsi-frame-rate = <60>; - qcom,panel-phy-regulatorSettings = [03 01 01 00 /* Regualotor settings */ - 20 00 01]; - qcom,panel-phy-timingSettings = [69 29 1f 00 55 55 - 19 2a 2a 03 04 00]; - qcom,panel-phy-strengthCtrl = [77 06]; - qcom,panel-phy-bistCtrl = [00 00 b1 ff /* BIST Ctrl settings */ - 00 00]; - qcom,panel-phy-laneConfig = [00 c2 45 00 00 00 00 01 75 /* lane0 config */ - 00 c2 45 00 00 00 00 01 75 /* lane1 config */ - 00 c2 45 00 00 00 00 01 75 /* lane2 config */ - 00 c2 45 00 00 00 00 01 75 /* lane3 config */ - 00 02 45 00 00 00 00 01 97]; /* Clk ln config */ - - qcom,panel-on-cmds = [05 01 00 00 78 00 02 11 00 - 05 01 00 00 78 00 02 29 00]; - qcom,on-cmds-dsi-state = "DSI_LP_MODE"; - qcom,panel-off-cmds = [05 01 00 00 32 00 02 28 00 - 05 01 00 00 78 00 02 10 00]; - qcom,off-cmds-dsi-state = "DSI_LP_MODE"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/dsi-panel-sharp-qhd-video.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v2/dsi-panel-sharp-qhd-video.dtsi deleted file mode 100644 index 45d396cdc..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/dsi-panel-sharp-qhd-video.dtsi +++ /dev/null @@ -1,67 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -&soc { - qcom,mdss_dsi_sharp_qhd_video { - compatible = "qcom,mdss-dsi-panel"; - label = "sharp QHD LS043T1LE01 video mode dsi panel"; - status = "disable"; - qcom,dsi-ctrl-phandle = <&mdss_dsi0>; - qcom,enable-gpio = <&msmgpio 58 0>; - qcom,rst-gpio = <&pm8941_gpios 19 0>; - qcom,mdss-pan-res = <540 960>; - qcom,mdss-pan-bpp = <24>; - qcom,mdss-pan-dest = "display_1"; - qcom,mdss-pan-porch-values = <80 32 48 15 10 3>; /* HBP, HPW, HFP, VBP, VPW, VFP */ - qcom,mdss-pan-underflow-clr = <0xff>; - qcom,mdss-pan-bl-ctrl = "bl_ctrl_wled"; - qcom,mdss-pan-bl-levels = <1 4095>; - qcom,mdss-pan-dsi-mode = <0>; - qcom,mdss-pan-dsi-h-pulse-mode = <1>; - qcom,mdss-pan-dsi-h-power-stop = <0 0 0>; - qcom,mdss-pan-dsi-bllp-power-stop = <1 1>; - qcom,mdss-pan-dsi-traffic-mode = <0>; - qcom,mdss-pan-dsi-dst-format = <3>; - qcom,mdss-pan-dsi-vc = <0>; - qcom,mdss-pan-dsi-rgb-swap = <2>; - qcom,mdss-pan-dsi-data-lanes = <1 1 0 0>; - qcom,mdss-pan-dsi-dlane-swap = <0>; - qcom,mdss-pan-dsi-t-clk = <0x1c 0x04>; - qcom,mdss-pan-dsi-stream = <0>; - qcom,mdss-pan-dsi-mdp-tr = <0x04>; - qcom,mdss-pan-dsi-dma-tr = <0x04>; - qcom,mdss-pan-frame-rate = <60>; - qcom,panel-phy-regulatorSettings = [07 09 03 00 /* Regulator settings */ - 20 00 01]; - qcom,panel-phy-timingSettings = [46 1d 20 00 39 3a - 21 21 32 03 04 00]; - qcom,panel-phy-strengthCtrl = [ff 06]; - qcom,panel-phy-bistCtrl = [00 00 b1 ff /* BIST Ctrl settings */ - 00 00]; - qcom,panel-phy-laneConfig = [00 00 00 00 00 00 00 01 97 /* lane0 config */ - 00 00 00 00 05 00 00 01 97 /* lane1 config */ - 00 00 00 00 0a 00 00 01 97 /* lane2 config */ - 00 00 00 00 0f 00 00 01 97 /* lane3 config */ - 00 c0 00 00 00 00 00 01 bb]; /* Clk ln config */ - qcom,panel-on-cmds = [05 01 00 00 32 00 02 01 00 /* sw reset */ - 05 01 00 00 0a 00 02 11 00 /* exit sleep */ - 15 01 00 00 0a 00 02 53 2c /* backlight on */ - 15 01 00 00 0a 00 02 51 ff /* brightness max */ - 05 01 00 00 0a 00 02 29 00 /* display on */ - 15 01 00 00 0a 00 02 ae 03 /* set num of lanes */ - 15 01 00 00 0a 00 02 3a 77 /* rgb_888 */]; - qcom,on-cmds-dsi-state = "DSI_LP_MODE"; - qcom,panel-off-cmds = [05 01 00 00 0a 00 02 28 00 /* display off */ - 05 01 00 00 78 00 02 10 00 /* enter sleep */]; - qcom,off-cmds-dsi-state = "DSI_HS_MODE"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/dsi-panel-sim-video.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v2/dsi-panel-sim-video.dtsi deleted file mode 100644 index 271e37316..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/dsi-panel-sim-video.dtsi +++ /dev/null @@ -1,46 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&soc { - - qcom,mdss_dsi_sim_video { - compatible = "qcom,mdss-dsi-panel"; - label = "simulator video mode dsi panel"; - status = "disable"; - qcom,dsi-ctrl-phandle = <&mdss_dsi0>; - qcom,mdss-pan-res = <640 480>; - qcom,mdss-pan-bpp = <24>; - qcom,mdss-pan-dest = "display_1"; - qcom,mdss-pan-porch-values = <6 2 6 6 2 6>; - qcom,mdss-pan-underflow-clr = <0xff>; - qcom,mdss-pan-bl-levels = <1 15>; - qcom,mdss-pan-dsi-mode = <0>; - qcom,mdss-pan-dsi-h-pulse-mode = <1>; - qcom,mdss-pan-dsi-h-power-stop = <1 1 1>; - qcom,mdss-pan-dsi-bllp-power-stop = <1 1>; - qcom,mdss-pan-dsi-traffic-mode = <0>; - qcom,mdss-pan-dsi-dst-format = <3>; - qcom,mdss-pan-dsi-vc = <0>; - qcom,mdss-pan-dsi-rgb-swap = <0>; - qcom,mdss-pan-dsi-data-lanes = <1 1 0 0>; - qcom,mdss-pan-dsi-dlane-swap = <0>; - qcom,mdss-pan-dsi-t-clk = <0x24 0x03>; - qcom,mdss-pan-dsi-stream = <0>; - qcom,mdss-pan-dsi-mdp-tr = <0x04>; - qcom,mdss-pan-dsi-dma-tr = <0x04>; - qcom,mdss-pan-dsi-frame-rate = <60>; - qcom,panel-on-cmds = [32 01 00 00 00 00 02 00 00]; - qcom,on-cmds-dsi-state = "DSI_LP_MODE"; - qcom,panel-off-cmds = [22 01 00 00 00 00 02 00 00]; - qcom,off-cmds-dsi-state = "DSI_LP_MODE"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/dsi-panel-toshiba-720p-video.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v2/dsi-panel-toshiba-720p-video.dtsi deleted file mode 100644 index 5c37cf8dc..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/dsi-panel-toshiba-720p-video.dtsi +++ /dev/null @@ -1,124 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&soc { - - qcom,mdss_dsi_toshiba_720p_video { - compatible = "qcom,mdss-dsi-panel"; - label = "toshiba 720p video mode dsi panel"; - status = "disable"; - qcom,dsi-ctrl-phandle = <&mdss_dsi0>; - qcom,enable-gpio = <&msmgpio 58 0>; - qcom,rst-gpio = <&pm8941_gpios 19 0>; - qcom,mdss-pan-res = <720 1280>; - qcom,mdss-pan-bpp = <24>; - qcom,mdss-pan-dest = "display_1"; - qcom,mdss-pan-porch-values = <32 12 144 3 4 9>; - qcom,mdss-pan-underflow-clr = <0xff>; - qcom,mdss-pan-bl-ctrl = "bl_ctrl_wled"; - qcom,mdss-pan-bl-levels = <1 4095>; - qcom,mdss-pan-dsi-mode = <0>; - qcom,mdss-pan-dsi-h-pulse-mode = <0>; - qcom,mdss-pan-dsi-h-power-stop = <0 0 0>; - qcom,mdss-pan-dsi-bllp-power-stop = <1 1>; - qcom,mdss-pan-dsi-traffic-mode = <1>; - qcom,mdss-pan-dsi-dst-format = <3>; - qcom,mdss-pan-dsi-vc = <0>; - qcom,mdss-pan-dsi-rgb-swap = <0>; - qcom,mdss-pan-dsi-data-lanes = <1 1 1 1>; - qcom,mdss-pan-dsi-dlane-swap = <0>; - qcom,mdss-pan-dsi-t-clk = <0x1b 0x04>; - qcom,mdss-pan-dsi-stream = <0>; - qcom,mdss-pan-dsi-mdp-tr = <0x0>; - qcom,mdss-pan-dsi-dma-tr = <0x04>; - qcom,mdss-pan-dsi-frame-rate = <60>; - qcom,panel-phy-regulatorSettings = [07 09 03 00 /* Regualotor settings */ - 20 00 01]; - qcom,panel-phy-timingSettings = [b0 23 1b 00 94 93 - 1e 25 15 03 04 00]; - qcom,panel-phy-strengthCtrl = [ff 06]; - qcom,panel-phy-bistCtrl = [00 00 b1 ff /* BIST Ctrl settings */ - 00 00]; - qcom,panel-phy-laneConfig = [00 00 00 00 00 00 00 01 97 /* lane0 config */ - 00 00 00 00 05 00 00 01 97 /* lane1 config */ - 00 00 00 00 0a 00 00 01 97 /* lane2 config */ - 00 00 00 00 0f 00 00 01 97 /* lane3 config */ - 00 c0 00 00 00 00 00 01 bb]; /* Clk ln config */ - - qcom,panel-on-cmds = [23 01 00 00 0a 00 02 b0 00 - 23 01 00 00 0a 00 02 b2 00 - 23 01 00 00 0a 00 02 b3 0c - 23 01 00 00 0a 00 02 b4 02 - 29 01 00 00 00 00 06 - c0 40 02 7f c8 08 - 29 01 00 00 00 00 10 - c1 00 a8 00 00 00 - 00 00 9d 08 27 00 - 00 00 00 00 - 29 01 00 00 00 00 06 - c2 00 00 09 00 00 - 23 01 00 00 0a 00 02 c3 04 - 29 01 00 00 00 00 04 - c4 4d 83 00 - 29 01 00 00 00 00 0b - c6 12 00 08 71 00 - 00 00 80 00 04 - 23 01 00 00 0a 00 02 c7 22 - 29 01 00 00 00 00 05 - c8 4c 0c 0c 0c - 29 01 00 00 00 00 0e - c9 00 40 00 16 32 - 2e 3a 43 3e 3c 45 - 79 3f - 29 01 00 00 00 00 0e - ca 00 46 1a 23 21 - 1c 25 31 2d 49 5f - 7f 3f - 29 01 00 00 00 00 0e - cb 00 4c 20 3a 42 - 40 47 4b 42 3e 46 - 7e 3f - 29 01 00 00 00 00 0e - cc 00 41 19 21 1d - 14 18 1f 1d 25 3f - 73 3f - 29 01 00 00 00 00 0e - cd 23 79 5a 5f 57 - 4c 51 51 45 3f 4b - 7f 3f - 29 01 00 00 00 00 0e - ce 00 40 14 20 1a - 0e 0e 13 08 00 05 - 46 1c - 29 01 00 00 00 00 04 - d0 6a 64 01 - 29 01 00 00 00 00 03 d1 77 d4 - 23 01 00 00 0a 00 02 d3 33 - 29 01 00 00 00 00 03 d5 0f 0f - 29 01 00 00 00 00 07 - d8 34 64 23 25 62 - 32 - 29 01 00 00 00 00 0c - de 10 7b 11 0a 00 - 00 00 00 00 00 00 - 29 01 00 00 00 00 09 - fd 04 55 53 00 70 - ff 10 73 - 23 01 00 00 0a 00 02 e2 00 - 05 01 00 00 78 00 02 11 00 - 05 01 00 00 32 00 02 29 00]; - qcom,on-cmds-dsi-state = "DSI_LP_MODE"; - qcom,panel-off-cmds = [05 01 00 00 32 00 02 28 00 - 05 01 00 00 78 00 02 10 00]; - qcom,off-cmds-dsi-state = "DSI_HS_MODE"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/dsi-v2-panel-hx8379a-wvga-video.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v2/dsi-v2-panel-hx8379a-wvga-video.dtsi deleted file mode 100644 index b9ed0506a..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/dsi-v2-panel-hx8379a-wvga-video.dtsi +++ /dev/null @@ -1,117 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/ { - qcom,dsi_v2_hx8379a_wvga_video { - compatible = "qcom,dsi-panel-v2"; - label = "HX8379A WVGA video mode dsi panel"; - qcom,dsi-ctrl-phandle = <&mdss_dsi0>; - qcom,rst-gpio = <&msmgpio 41 0>; - vdda-supply = <&pm8110_l19>; - vddio-supply=<&pm8110_l14>; - qcom,mdss-pan-res = <480 800>; - qcom,mdss-pan-bpp = <24>; - qcom,mdss-pan-dest = "display_1"; - qcom,mdss-pan-porch-values = <90 17 90 2 3 11>; - qcom,mdss-pan-underflow-clr = <0xff>; - qcom,mdss-pan-bl-levels = <1 255>; - qcom,mdss-pan-bl-ctrl = "bl_ctrl_wled"; - qcom,mdss-pan-dsi-mode = <0>; - qcom,mdss-pan-dsi-h-pulse-mode = <1>; - qcom,mdss-pan-dsi-h-power-stop = <0 0 0>; - qcom,mdss-pan-dsi-bllp-power-stop = <1 1>; - qcom,mdss-pan-dsi-traffic-mode = <2>; - qcom,mdss-pan-dsi-dst-format = <3>; - qcom,mdss-pan-dsi-vc = <0>; - qcom,mdss-pan-dsi-rgb-swap = <0>; - qcom,mdss-pan-dsi-data-lanes = <1 1 0 0>; - qcom,mdss-pan-dsi-dlane-swap = <1>; - qcom,mdss-pan-dsi-t-clk = <0x1b 0x04>; - qcom,mdss-pan-dsi-stream = <0>; - qcom,mdss-pan-dsi-mdp-tr = <0x0>;/*todo*/ - qcom,mdss-pan-dsi-dma-tr = <0x04>; - qcom,mdss-pan-dsi-frame-rate = <60>; - qcom,panel-phy-regulatorSettings =[09 08 05 00 20 03]; - qcom,panel-phy-timingSettings = [5D 12 0C 00 33 39 - 10 16 15 03 04 00]; - qcom,panel-phy-strengthCtrl = [ff 06]; - qcom,panel-phy-bistCtrl = [03 03 00 00 0f 00]; - qcom,panel-phy-laneConfig = - [80 45 00 00 01 66 /*lane0**/ - 80 45 00 00 01 66 /*lane1*/ - 80 45 00 00 01 66 /*lane2*/ - 80 45 00 00 01 66 /*lane3*/ - 40 67 00 00 01 88]; /*Clk*/ - - qcom,on-cmds-dsi-state = "DSI_LP_MODE"; - qcom,panel-on-cmds = [ - 29 01 00 00 01 04 - B9 FF 83 79 - 23 01 00 00 01 02 - BA 51 - 29 01 00 00 01 14 - B1 00 50 44 - EA 8D 08 11 - 0F 0F 24 2C - 9A 1A 42 0B - 6E F1 00 E6 - 29 01 00 00 01 0e - B2 00 00 3C - 08 04 19 22 - 00 FF 08 04 - 19 20 - 29 01 00 00 01 20 - B4 80 08 00 - 32 10 03 32 - 13 70 32 10 - 08 37 01 28 - 05 37 08 3C - 20 44 44 08 - 00 40 08 28 - 08 30 30 04 - 23 01 00 00 01 02 - cc 02 - 29 01 00 00 01 30 - D5 00 00 08 - 00 01 05 00 - 03 00 88 88 - 88 88 23 01 - 67 45 02 13 - 88 88 88 88 - 88 88 88 88 - 88 88 54 76 - 10 32 31 20 - 88 88 88 88 - 88 88 00 00 - 00 00 00 00 - 29 01 00 00 01 24 - E0 79 00 00 - 02 1C 1F 33 - 28 3E 07 0E - 0F 15 17 16 - 16 13 19 00 - 00 02 1C 1F - 33 28 3E 07 - 0E 0F 15 17 - 16 16 13 19 - 29 01 00 00 01 05 - B6 00 A6 00 A6 - 05 01 00 00 96 02 - 11 00 - 05 01 00 00 78 02 - 29 00 - ]; - qcom,panel-off-cmds = [05 01 00 00 32 02 28 00 - 05 01 00 00 78 02 10 00]; - qcom,off-cmds-dsi-state = "DSI_LP_MODE"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/dsi-v2-panel-truly-wvga-video.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v2/dsi-v2-panel-truly-wvga-video.dtsi deleted file mode 100644 index 891eac3ad..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/dsi-v2-panel-truly-wvga-video.dtsi +++ /dev/null @@ -1,120 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/ { - qcom,dsi_v2_truly_wvga_video { - compatible = "qcom,dsi-panel-v2"; - label = "Truly WVGA video mode dsi panel"; - qcom,dsi-ctrl-phandle = <&mdss_dsi0>; - qcom,rst-gpio = <&msmgpio 41 0>; - qcom,mode-selection-gpio = <&msmgpio 7 0>; - vdda-supply = <&pm8110_l19>; - vddio-supply=<&pm8110_l14>; - qcom,mdss-pan-res = <480 800>; - qcom,mdss-pan-bpp = <24>; - qcom,mdss-pan-dest = "display_1"; - qcom,mdss-pan-porch-values = <40 8 160 10 2 12>; - qcom,mdss-pan-underflow-clr = <0xff>; - qcom,mdss-pan-bl-levels = <1 255>; - qcom,mdss-pan-bl-ctrl = "bl_ctrl_wled"; - qcom,mdss-pan-dsi-mode = <0>; - qcom,mdss-pan-dsi-h-pulse-mode = <0>; - qcom,mdss-pan-dsi-h-power-stop = <0 0 0>; - qcom,mdss-pan-dsi-bllp-power-stop = <1 1>; - qcom,mdss-pan-dsi-traffic-mode = <1>; - qcom,mdss-pan-dsi-dst-format = <3>; - qcom,mdss-pan-dsi-vc = <0>; - qcom,mdss-pan-dsi-rgb-swap = <0>; - qcom,mdss-pan-dsi-data-lanes = <1 1 0 0>; - qcom,mdss-pan-dsi-dlane-swap = <0>; - qcom,mdss-pan-dsi-t-clk = <0x1b 0x04>; - qcom,mdss-pan-dsi-stream = <0>; - qcom,mdss-pan-dsi-mdp-tr = <0x0>;/*todo*/ - qcom,mdss-pan-dsi-dma-tr = <0x04>; - qcom,mdss-pan-dsi-frame-rate = <60>; - qcom,panel-phy-regulatorSettings =[09 08 05 00 20 03]; - qcom,panel-phy-timingSettings = [5D 12 0C 00 33 38 - 10 16 1E 03 04 00]; - qcom,panel-phy-strengthCtrl = [ff 06]; - qcom,panel-phy-bistCtrl = [03 03 00 00 0f 00]; - qcom,panel-phy-laneConfig = - [80 45 00 00 01 66 /*lane0**/ - 80 45 00 00 01 66 /*lane1*/ - 80 45 00 00 01 66 /*lane2*/ - 80 45 00 00 01 66 /*lane3*/ - 40 67 00 00 01 88]; /*Clk*/ - - qcom,on-cmds-dsi-state = "DSI_LP_MODE"; - qcom,panel-on-cmds = [ - 05 01 00 00 00 02 - 01 00 - 23 01 00 00 00 02 - b0 04 - 29 01 00 00 00 03 - b3 02 00 - 23 01 00 00 00 02 - bd 00 - 29 01 00 00 00 03 - c0 18 66 - 29 01 00 00 00 10 - c1 23 31 99 21 20 00 30 28 0c 0c - 00 00 00 21 01 - 29 01 00 00 00 07 - c2 10 06 06 01 03 00 - 29 01 00 00 00 19 - c8 04 10 18 20 2e 46 3c 28 1f 18 - 10 04 04 10 18 20 2e 46 3c 28 1f 18 10 04 - 29 01 00 00 00 19 - c9 04 10 18 20 2e 46 3c 28 1f 18 - 10 04 04 10 18 20 2e 46 3c 28 1f 18 10 04 - 29 01 00 00 00 19 - ca 04 10 18 20 2e 46 3c 28 1f 18 - 10 04 04 10 18 20 2e 46 3c 28 1f 18 10 04 - 29 01 00 00 00 11 - d0 29 03 ce a6 00 43 20 10 01 00 - 01 01 00 03 01 00 - 29 01 00 00 00 08 - d1 18 0C 23 03 75 02 50 - 23 01 00 00 00 02 - d3 11 - 29 01 00 00 00 03 - d5 2a 2a - 29 01 00 00 00 03 - de 01 41 - 23 01 00 00 00 02 - e6 51 - 23 01 00 00 00 02 - fa 03 - 23 01 00 00 64 02 - d6 28 - 39 01 00 00 00 05 - 2a 00 00 01 df - 39 01 00 00 00 05 - 2b 00 00 03 1f - 15 01 00 00 00 02 - 35 00 - 39 01 00 00 00 03 - 44 00 50 - 15 01 00 00 00 02 - 36 c1 - 15 01 00 00 00 02 - 3a 77 - 05 01 00 00 7D 02 - 11 00 - 05 01 00 00 14 02 - 29 00 - ]; - qcom,panel-off-cmds = [05 01 00 00 32 02 28 00 - 05 01 00 00 78 02 10 00]; - qcom,off-cmds-dsi-state = "DSI_LP_MODE"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/exynos4210-origen.dts b/kernel/arch/arm/boot/dts/tr961-5200l-v2/exynos4210-origen.dts deleted file mode 100644 index b8c476384..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/exynos4210-origen.dts +++ /dev/null @@ -1,137 +0,0 @@ -/* - * Samsung's Exynos4210 based Origen board device tree source - * - * Copyright (c) 2010-2011 Samsung Electronics Co., Ltd. - * http://www.samsung.com - * Copyright (c) 2010-2011 Linaro Ltd. - * www.linaro.org - * - * Device tree source file for Insignal's Origen board which is based on - * Samsung's Exynos4210 SoC. - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. -*/ - -/dts-v1/; -/include/ "exynos4210.dtsi" - -/ { - model = "Insignal Origen evaluation board based on Exynos4210"; - compatible = "insignal,origen", "samsung,exynos4210"; - - memory { - reg = <0x40000000 0x40000000>; - }; - - chosen { - bootargs ="root=/dev/ram0 rw ramdisk=8192 initrd=0x41000000,8M console=ttySAC2,115200 init=/linuxrc"; - }; - - sdhci@12530000 { - samsung,sdhci-bus-width = <4>; - linux,mmc_cap_4_bit_data; - samsung,sdhci-cd-internal; - gpio-cd = <&gpk2 2 2 3 3>; - gpios = <&gpk2 0 2 0 3>, - <&gpk2 1 2 0 3>, - <&gpk2 3 2 3 3>, - <&gpk2 4 2 3 3>, - <&gpk2 5 2 3 3>, - <&gpk2 6 2 3 3>; - }; - - sdhci@12510000 { - samsung,sdhci-bus-width = <4>; - linux,mmc_cap_4_bit_data; - samsung,sdhci-cd-internal; - gpio-cd = <&gpk0 2 2 3 3>; - gpios = <&gpk0 0 2 0 3>, - <&gpk0 1 2 0 3>, - <&gpk0 3 2 3 3>, - <&gpk0 4 2 3 3>, - <&gpk0 5 2 3 3>, - <&gpk0 6 2 3 3>; - }; - - gpio_keys { - compatible = "gpio-keys"; - #address-cells = <1>; - #size-cells = <0>; - - up { - label = "Up"; - gpios = <&gpx2 0 0 0 2>; - linux,code = <103>; - }; - - down { - label = "Down"; - gpios = <&gpx2 1 0 0 2>; - linux,code = <108>; - }; - - back { - label = "Back"; - gpios = <&gpx1 7 0 0 2>; - linux,code = <158>; - }; - - home { - label = "Home"; - gpios = <&gpx1 6 0 0 2>; - linux,code = <102>; - }; - - menu { - label = "Menu"; - gpios = <&gpx1 5 0 0 2>; - linux,code = <139>; - }; - }; - - keypad@100A0000 { - status = "disabled"; - }; - - sdhci@12520000 { - status = "disabled"; - }; - - sdhci@12540000 { - status = "disabled"; - }; - - i2c@13860000 { - status = "disabled"; - }; - - i2c@13870000 { - status = "disabled"; - }; - - i2c@13880000 { - status = "disabled"; - }; - - i2c@13890000 { - status = "disabled"; - }; - - i2c@138A0000 { - status = "disabled"; - }; - - i2c@138B0000 { - status = "disabled"; - }; - - i2c@138C0000 { - status = "disabled"; - }; - - i2c@138D0000 { - status = "disabled"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/exynos4210-smdkv310.dts b/kernel/arch/arm/boot/dts/tr961-5200l-v2/exynos4210-smdkv310.dts deleted file mode 100644 index 27afc8e53..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/exynos4210-smdkv310.dts +++ /dev/null @@ -1,182 +0,0 @@ -/* - * Samsung's Exynos4210 based SMDKV310 board device tree source - * - * Copyright (c) 2010-2011 Samsung Electronics Co., Ltd. - * http://www.samsung.com - * Copyright (c) 2010-2011 Linaro Ltd. - * www.linaro.org - * - * Device tree source file for Samsung's SMDKV310 board which is based on - * Samsung's Exynos4210 SoC. - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. -*/ - -/dts-v1/; -/include/ "exynos4210.dtsi" - -/ { - model = "Samsung smdkv310 evaluation board based on Exynos4210"; - compatible = "samsung,smdkv310", "samsung,exynos4210"; - - memory { - reg = <0x40000000 0x80000000>; - }; - - chosen { - bootargs = "root=/dev/ram0 rw ramdisk=8192 initrd=0x41000000,8M console=ttySAC1,115200 init=/linuxrc"; - }; - - sdhci@12530000 { - samsung,sdhci-bus-width = <4>; - linux,mmc_cap_4_bit_data; - samsung,sdhci-cd-internal; - gpio-cd = <&gpk2 2 2 3 3>; - gpios = <&gpk2 0 2 0 3>, - <&gpk2 1 2 0 3>, - <&gpk2 3 2 3 3>, - <&gpk2 4 2 3 3>, - <&gpk2 5 2 3 3>, - <&gpk2 6 2 3 3>; - }; - - keypad@100A0000 { - samsung,keypad-num-rows = <2>; - samsung,keypad-num-columns = <8>; - linux,keypad-no-autorepeat; - linux,keypad-wakeup; - - row-gpios = <&gpx2 0 3 3 0>, - <&gpx2 1 3 3 0>; - - col-gpios = <&gpx1 0 3 0 0>, - <&gpx1 1 3 0 0>, - <&gpx1 2 3 0 0>, - <&gpx1 3 3 0 0>, - <&gpx1 4 3 0 0>, - <&gpx1 5 3 0 0>, - <&gpx1 6 3 0 0>, - <&gpx1 7 3 0 0>; - - key_1 { - keypad,row = <0>; - keypad,column = <3>; - linux,code = <2>; - }; - - key_2 { - keypad,row = <0>; - keypad,column = <4>; - linux,code = <3>; - }; - - key_3 { - keypad,row = <0>; - keypad,column = <5>; - linux,code = <4>; - }; - - key_4 { - keypad,row = <0>; - keypad,column = <6>; - linux,code = <5>; - }; - - key_5 { - keypad,row = <0>; - keypad,column = <7>; - linux,code = <6>; - }; - - key_a { - keypad,row = <1>; - keypad,column = <3>; - linux,code = <30>; - }; - - key_b { - keypad,row = <1>; - keypad,column = <4>; - linux,code = <48>; - }; - - key_c { - keypad,row = <1>; - keypad,column = <5>; - linux,code = <46>; - }; - - key_d { - keypad,row = <1>; - keypad,column = <6>; - linux,code = <32>; - }; - - key_e { - keypad,row = <1>; - keypad,column = <7>; - linux,code = <18>; - }; - }; - - i2c@13860000 { - #address-cells = <1>; - #size-cells = <0>; - samsung,i2c-sda-delay = <100>; - samsung,i2c-max-bus-freq = <20000>; - gpios = <&gpd1 0 2 3 0>, - <&gpd1 1 2 3 0>; - - eeprom@50 { - compatible = "samsung,24ad0xd1"; - reg = <0x50>; - }; - - eeprom@52 { - compatible = "samsung,24ad0xd1"; - reg = <0x52>; - }; - }; - - sdhci@12510000 { - status = "disabled"; - }; - - sdhci@12520000 { - status = "disabled"; - }; - - sdhci@12540000 { - status = "disabled"; - }; - - i2c@13870000 { - status = "disabled"; - }; - - i2c@13880000 { - status = "disabled"; - }; - - i2c@13890000 { - status = "disabled"; - }; - - i2c@138A0000 { - status = "disabled"; - }; - - i2c@138B0000 { - status = "disabled"; - }; - - i2c@138C0000 { - status = "disabled"; - }; - - i2c@138D0000 { - status = "disabled"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/exynos4210.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v2/exynos4210.dtsi deleted file mode 100644 index a1dd2ee83..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/exynos4210.dtsi +++ /dev/null @@ -1,398 +0,0 @@ -/* - * Samsung's Exynos4210 SoC device tree source - * - * Copyright (c) 2010-2011 Samsung Electronics Co., Ltd. - * http://www.samsung.com - * Copyright (c) 2010-2011 Linaro Ltd. - * www.linaro.org - * - * Samsung's Exynos4210 SoC device nodes are listed in this file. Exynos4210 - * based board files can include this file and provide values for board specfic - * bindings. - * - * Note: This file does not include device nodes for all the controllers in - * Exynos4210 SoC. As device tree coverage for Exynos4210 increases, additional - * nodes can be added to this file. - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. -*/ - -/include/ "skeleton.dtsi" - -/ { - compatible = "samsung,exynos4210"; - interrupt-parent = <&gic>; - - gic:interrupt-controller@10490000 { - compatible = "arm,cortex-a9-gic"; - #interrupt-cells = <3>; - interrupt-controller; - cpu-offset = <0x8000>; - reg = <0x10490000 0x1000>, <0x10480000 0x100>; - }; - - watchdog@10060000 { - compatible = "samsung,s3c2410-wdt"; - reg = <0x10060000 0x100>; - interrupts = <0 43 0>; - }; - - rtc@10070000 { - compatible = "samsung,s3c6410-rtc"; - reg = <0x10070000 0x100>; - interrupts = <0 44 0>, <0 45 0>; - }; - - keypad@100A0000 { - compatible = "samsung,s5pv210-keypad"; - reg = <0x100A0000 0x100>; - interrupts = <0 109 0>; - }; - - sdhci@12510000 { - compatible = "samsung,exynos4210-sdhci"; - reg = <0x12510000 0x100>; - interrupts = <0 73 0>; - }; - - sdhci@12520000 { - compatible = "samsung,exynos4210-sdhci"; - reg = <0x12520000 0x100>; - interrupts = <0 74 0>; - }; - - sdhci@12530000 { - compatible = "samsung,exynos4210-sdhci"; - reg = <0x12530000 0x100>; - interrupts = <0 75 0>; - }; - - sdhci@12540000 { - compatible = "samsung,exynos4210-sdhci"; - reg = <0x12540000 0x100>; - interrupts = <0 76 0>; - }; - - serial@13800000 { - compatible = "samsung,exynos4210-uart"; - reg = <0x13800000 0x100>; - interrupts = <0 52 0>; - }; - - serial@13810000 { - compatible = "samsung,exynos4210-uart"; - reg = <0x13810000 0x100>; - interrupts = <0 53 0>; - }; - - serial@13820000 { - compatible = "samsung,exynos4210-uart"; - reg = <0x13820000 0x100>; - interrupts = <0 54 0>; - }; - - serial@13830000 { - compatible = "samsung,exynos4210-uart"; - reg = <0x13830000 0x100>; - interrupts = <0 55 0>; - }; - - i2c@13860000 { - compatible = "samsung,s3c2440-i2c"; - reg = <0x13860000 0x100>; - interrupts = <0 58 0>; - }; - - i2c@13870000 { - compatible = "samsung,s3c2440-i2c"; - reg = <0x13870000 0x100>; - interrupts = <0 59 0>; - }; - - i2c@13880000 { - compatible = "samsung,s3c2440-i2c"; - reg = <0x13880000 0x100>; - interrupts = <0 60 0>; - }; - - i2c@13890000 { - compatible = "samsung,s3c2440-i2c"; - reg = <0x13890000 0x100>; - interrupts = <0 61 0>; - }; - - i2c@138A0000 { - compatible = "samsung,s3c2440-i2c"; - reg = <0x138A0000 0x100>; - interrupts = <0 62 0>; - }; - - i2c@138B0000 { - compatible = "samsung,s3c2440-i2c"; - reg = <0x138B0000 0x100>; - interrupts = <0 63 0>; - }; - - i2c@138C0000 { - compatible = "samsung,s3c2440-i2c"; - reg = <0x138C0000 0x100>; - interrupts = <0 64 0>; - }; - - i2c@138D0000 { - compatible = "samsung,s3c2440-i2c"; - reg = <0x138D0000 0x100>; - interrupts = <0 65 0>; - }; - - amba { - #address-cells = <1>; - #size-cells = <1>; - compatible = "arm,amba-bus"; - interrupt-parent = <&gic>; - ranges; - - pdma0: pdma@12680000 { - compatible = "arm,pl330", "arm,primecell"; - reg = <0x12680000 0x1000>; - interrupts = <0 35 0>; - }; - - pdma1: pdma@12690000 { - compatible = "arm,pl330", "arm,primecell"; - reg = <0x12690000 0x1000>; - interrupts = <0 36 0>; - }; - }; - - gpio-controllers { - #address-cells = <1>; - #size-cells = <1>; - gpio-controller; - ranges; - - gpa0: gpio-controller@11400000 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400000 0x20>; - #gpio-cells = <4>; - }; - - gpa1: gpio-controller@11400020 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400020 0x20>; - #gpio-cells = <4>; - }; - - gpb: gpio-controller@11400040 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400040 0x20>; - #gpio-cells = <4>; - }; - - gpc0: gpio-controller@11400060 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400060 0x20>; - #gpio-cells = <4>; - }; - - gpc1: gpio-controller@11400080 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400080 0x20>; - #gpio-cells = <4>; - }; - - gpd0: gpio-controller@114000A0 { - compatible = "samsung,exynos4-gpio"; - reg = <0x114000A0 0x20>; - #gpio-cells = <4>; - }; - - gpd1: gpio-controller@114000C0 { - compatible = "samsung,exynos4-gpio"; - reg = <0x114000C0 0x20>; - #gpio-cells = <4>; - }; - - gpe0: gpio-controller@114000E0 { - compatible = "samsung,exynos4-gpio"; - reg = <0x114000E0 0x20>; - #gpio-cells = <4>; - }; - - gpe1: gpio-controller@11400100 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400100 0x20>; - #gpio-cells = <4>; - }; - - gpe2: gpio-controller@11400120 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400120 0x20>; - #gpio-cells = <4>; - }; - - gpe3: gpio-controller@11400140 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400140 0x20>; - #gpio-cells = <4>; - }; - - gpe4: gpio-controller@11400160 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400160 0x20>; - #gpio-cells = <4>; - }; - - gpf0: gpio-controller@11400180 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400180 0x20>; - #gpio-cells = <4>; - }; - - gpf1: gpio-controller@114001A0 { - compatible = "samsung,exynos4-gpio"; - reg = <0x114001A0 0x20>; - #gpio-cells = <4>; - }; - - gpf2: gpio-controller@114001C0 { - compatible = "samsung,exynos4-gpio"; - reg = <0x114001C0 0x20>; - #gpio-cells = <4>; - }; - - gpf3: gpio-controller@114001E0 { - compatible = "samsung,exynos4-gpio"; - reg = <0x114001E0 0x20>; - #gpio-cells = <4>; - }; - - gpj0: gpio-controller@11000000 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11000000 0x20>; - #gpio-cells = <4>; - }; - - gpj1: gpio-controller@11000020 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11000020 0x20>; - #gpio-cells = <4>; - }; - - gpk0: gpio-controller@11000040 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11000040 0x20>; - #gpio-cells = <4>; - }; - - gpk1: gpio-controller@11000060 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11000060 0x20>; - #gpio-cells = <4>; - }; - - gpk2: gpio-controller@11000080 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11000080 0x20>; - #gpio-cells = <4>; - }; - - gpk3: gpio-controller@110000A0 { - compatible = "samsung,exynos4-gpio"; - reg = <0x110000A0 0x20>; - #gpio-cells = <4>; - }; - - gpl0: gpio-controller@110000C0 { - compatible = "samsung,exynos4-gpio"; - reg = <0x110000C0 0x20>; - #gpio-cells = <4>; - }; - - gpl1: gpio-controller@110000E0 { - compatible = "samsung,exynos4-gpio"; - reg = <0x110000E0 0x20>; - #gpio-cells = <4>; - }; - - gpl2: gpio-controller@11000100 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11000100 0x20>; - #gpio-cells = <4>; - }; - - gpy0: gpio-controller@11000120 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11000120 0x20>; - #gpio-cells = <4>; - }; - - gpy1: gpio-controller@11000140 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11000140 0x20>; - #gpio-cells = <4>; - }; - - gpy2: gpio-controller@11000160 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11000160 0x20>; - #gpio-cells = <4>; - }; - - gpy3: gpio-controller@11000180 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11000180 0x20>; - #gpio-cells = <4>; - }; - - gpy4: gpio-controller@110001A0 { - compatible = "samsung,exynos4-gpio"; - reg = <0x110001A0 0x20>; - #gpio-cells = <4>; - }; - - gpy5: gpio-controller@110001C0 { - compatible = "samsung,exynos4-gpio"; - reg = <0x110001C0 0x20>; - #gpio-cells = <4>; - }; - - gpy6: gpio-controller@110001E0 { - compatible = "samsung,exynos4-gpio"; - reg = <0x110001E0 0x20>; - #gpio-cells = <4>; - }; - - gpx0: gpio-controller@11000C00 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11000C00 0x20>; - #gpio-cells = <4>; - }; - - gpx1: gpio-controller@11000C20 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11000C20 0x20>; - #gpio-cells = <4>; - }; - - gpx2: gpio-controller@11000C40 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11000C40 0x20>; - #gpio-cells = <4>; - }; - - gpx3: gpio-controller@11000C60 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11000C60 0x20>; - #gpio-cells = <4>; - }; - - gpz: gpio-controller@03860000 { - compatible = "samsung,exynos4-gpio"; - reg = <0x03860000 0x20>; - #gpio-cells = <4>; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/exynos5250-smdk5250.dts b/kernel/arch/arm/boot/dts/tr961-5200l-v2/exynos5250-smdk5250.dts deleted file mode 100644 index 399d17b23..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/exynos5250-smdk5250.dts +++ /dev/null @@ -1,26 +0,0 @@ -/* - * SAMSUNG SMDK5250 board device tree source - * - * Copyright (c) 2012 Samsung Electronics Co., Ltd. - * http://www.samsung.com - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. -*/ - -/dts-v1/; -/include/ "exynos5250.dtsi" - -/ { - model = "SAMSUNG SMDK5250 board based on EXYNOS5250"; - compatible = "samsung,smdk5250", "samsung,exynos5250"; - - memory { - reg = <0x40000000 0x80000000>; - }; - - chosen { - bootargs = "root=/dev/ram0 rw ramdisk=8192 console=ttySAC1,115200"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/exynos5250.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v2/exynos5250.dtsi deleted file mode 100644 index dfc433599..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/exynos5250.dtsi +++ /dev/null @@ -1,413 +0,0 @@ -/* - * SAMSUNG EXYNOS5250 SoC device tree source - * - * Copyright (c) 2012 Samsung Electronics Co., Ltd. - * http://www.samsung.com - * - * SAMSUNG EXYNOS5250 SoC device nodes are listed in this file. - * EXYNOS5250 based board files can include this file and provide - * values for board specfic bindings. - * - * Note: This file does not include device nodes for all the controllers in - * EXYNOS5250 SoC. As device tree coverage for EXYNOS5250 increases, - * additional nodes can be added to this file. - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. -*/ - -/include/ "skeleton.dtsi" - -/ { - compatible = "samsung,exynos5250"; - interrupt-parent = <&gic>; - - gic:interrupt-controller@10490000 { - compatible = "arm,cortex-a9-gic"; - #interrupt-cells = <3>; - interrupt-controller; - reg = <0x10490000 0x1000>, <0x10480000 0x100>; - }; - - watchdog { - compatible = "samsung,s3c2410-wdt"; - reg = <0x101D0000 0x100>; - interrupts = <0 42 0>; - }; - - rtc { - compatible = "samsung,s3c6410-rtc"; - reg = <0x101E0000 0x100>; - interrupts = <0 43 0>, <0 44 0>; - }; - - sdhci@12200000 { - compatible = "samsung,exynos4210-sdhci"; - reg = <0x12200000 0x100>; - interrupts = <0 75 0>; - }; - - sdhci@12210000 { - compatible = "samsung,exynos4210-sdhci"; - reg = <0x12210000 0x100>; - interrupts = <0 76 0>; - }; - - sdhci@12220000 { - compatible = "samsung,exynos4210-sdhci"; - reg = <0x12220000 0x100>; - interrupts = <0 77 0>; - }; - - sdhci@12230000 { - compatible = "samsung,exynos4210-sdhci"; - reg = <0x12230000 0x100>; - interrupts = <0 78 0>; - }; - - serial@12C00000 { - compatible = "samsung,exynos4210-uart"; - reg = <0x12C00000 0x100>; - interrupts = <0 51 0>; - }; - - serial@12C10000 { - compatible = "samsung,exynos4210-uart"; - reg = <0x12C10000 0x100>; - interrupts = <0 52 0>; - }; - - serial@12C20000 { - compatible = "samsung,exynos4210-uart"; - reg = <0x12C20000 0x100>; - interrupts = <0 53 0>; - }; - - serial@12C30000 { - compatible = "samsung,exynos4210-uart"; - reg = <0x12C30000 0x100>; - interrupts = <0 54 0>; - }; - - i2c@12C60000 { - compatible = "samsung,s3c2440-i2c"; - reg = <0x12C60000 0x100>; - interrupts = <0 56 0>; - }; - - i2c@12C70000 { - compatible = "samsung,s3c2440-i2c"; - reg = <0x12C70000 0x100>; - interrupts = <0 57 0>; - }; - - i2c@12C80000 { - compatible = "samsung,s3c2440-i2c"; - reg = <0x12C80000 0x100>; - interrupts = <0 58 0>; - }; - - i2c@12C90000 { - compatible = "samsung,s3c2440-i2c"; - reg = <0x12C90000 0x100>; - interrupts = <0 59 0>; - }; - - i2c@12CA0000 { - compatible = "samsung,s3c2440-i2c"; - reg = <0x12CA0000 0x100>; - interrupts = <0 60 0>; - }; - - i2c@12CB0000 { - compatible = "samsung,s3c2440-i2c"; - reg = <0x12CB0000 0x100>; - interrupts = <0 61 0>; - }; - - i2c@12CC0000 { - compatible = "samsung,s3c2440-i2c"; - reg = <0x12CC0000 0x100>; - interrupts = <0 62 0>; - }; - - i2c@12CD0000 { - compatible = "samsung,s3c2440-i2c"; - reg = <0x12CD0000 0x100>; - interrupts = <0 63 0>; - }; - - amba { - #address-cells = <1>; - #size-cells = <1>; - compatible = "arm,amba-bus"; - interrupt-parent = <&gic>; - ranges; - - pdma0: pdma@121A0000 { - compatible = "arm,pl330", "arm,primecell"; - reg = <0x121A0000 0x1000>; - interrupts = <0 34 0>; - }; - - pdma1: pdma@121B0000 { - compatible = "arm,pl330", "arm,primecell"; - reg = <0x121B0000 0x1000>; - interrupts = <0 35 0>; - }; - - mdma0: pdma@10800000 { - compatible = "arm,pl330", "arm,primecell"; - reg = <0x10800000 0x1000>; - interrupts = <0 33 0>; - }; - - mdma1: pdma@11C10000 { - compatible = "arm,pl330", "arm,primecell"; - reg = <0x11C10000 0x1000>; - interrupts = <0 124 0>; - }; - }; - - gpio-controllers { - #address-cells = <1>; - #size-cells = <1>; - gpio-controller; - ranges; - - gpa0: gpio-controller@11400000 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400000 0x20>; - #gpio-cells = <4>; - }; - - gpa1: gpio-controller@11400020 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400020 0x20>; - #gpio-cells = <4>; - }; - - gpa2: gpio-controller@11400040 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400040 0x20>; - #gpio-cells = <4>; - }; - - gpb0: gpio-controller@11400060 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400060 0x20>; - #gpio-cells = <4>; - }; - - gpb1: gpio-controller@11400080 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400080 0x20>; - #gpio-cells = <4>; - }; - - gpb2: gpio-controller@114000A0 { - compatible = "samsung,exynos4-gpio"; - reg = <0x114000A0 0x20>; - #gpio-cells = <4>; - }; - - gpb3: gpio-controller@114000C0 { - compatible = "samsung,exynos4-gpio"; - reg = <0x114000C0 0x20>; - #gpio-cells = <4>; - }; - - gpc0: gpio-controller@114000E0 { - compatible = "samsung,exynos4-gpio"; - reg = <0x114000E0 0x20>; - #gpio-cells = <4>; - }; - - gpc1: gpio-controller@11400100 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400100 0x20>; - #gpio-cells = <4>; - }; - - gpc2: gpio-controller@11400120 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400120 0x20>; - #gpio-cells = <4>; - }; - - gpc3: gpio-controller@11400140 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400140 0x20>; - #gpio-cells = <4>; - }; - - gpd0: gpio-controller@11400160 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400160 0x20>; - #gpio-cells = <4>; - }; - - gpd1: gpio-controller@11400180 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400180 0x20>; - #gpio-cells = <4>; - }; - - gpy0: gpio-controller@114001A0 { - compatible = "samsung,exynos4-gpio"; - reg = <0x114001A0 0x20>; - #gpio-cells = <4>; - }; - - gpy1: gpio-controller@114001C0 { - compatible = "samsung,exynos4-gpio"; - reg = <0x114001C0 0x20>; - #gpio-cells = <4>; - }; - - gpy2: gpio-controller@114001E0 { - compatible = "samsung,exynos4-gpio"; - reg = <0x114001E0 0x20>; - #gpio-cells = <4>; - }; - - gpy3: gpio-controller@11400200 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400200 0x20>; - #gpio-cells = <4>; - }; - - gpy4: gpio-controller@11400220 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400220 0x20>; - #gpio-cells = <4>; - }; - - gpy5: gpio-controller@11400240 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400240 0x20>; - #gpio-cells = <4>; - }; - - gpy6: gpio-controller@11400260 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400260 0x20>; - #gpio-cells = <4>; - }; - - gpx0: gpio-controller@11400C00 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400C00 0x20>; - #gpio-cells = <4>; - }; - - gpx1: gpio-controller@11400C20 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400C20 0x20>; - #gpio-cells = <4>; - }; - - gpx2: gpio-controller@11400C40 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400C40 0x20>; - #gpio-cells = <4>; - }; - - gpx3: gpio-controller@11400C60 { - compatible = "samsung,exynos4-gpio"; - reg = <0x11400C60 0x20>; - #gpio-cells = <4>; - }; - - gpe0: gpio-controller@13400000 { - compatible = "samsung,exynos4-gpio"; - reg = <0x13400000 0x20>; - #gpio-cells = <4>; - }; - - gpe1: gpio-controller@13400020 { - compatible = "samsung,exynos4-gpio"; - reg = <0x13400020 0x20>; - #gpio-cells = <4>; - }; - - gpf0: gpio-controller@13400040 { - compatible = "samsung,exynos4-gpio"; - reg = <0x13400040 0x20>; - #gpio-cells = <4>; - }; - - gpf1: gpio-controller@13400060 { - compatible = "samsung,exynos4-gpio"; - reg = <0x13400060 0x20>; - #gpio-cells = <4>; - }; - - gpg0: gpio-controller@13400080 { - compatible = "samsung,exynos4-gpio"; - reg = <0x13400080 0x20>; - #gpio-cells = <4>; - }; - - gpg1: gpio-controller@134000A0 { - compatible = "samsung,exynos4-gpio"; - reg = <0x134000A0 0x20>; - #gpio-cells = <4>; - }; - - gpg2: gpio-controller@134000C0 { - compatible = "samsung,exynos4-gpio"; - reg = <0x134000C0 0x20>; - #gpio-cells = <4>; - }; - - gph0: gpio-controller@134000E0 { - compatible = "samsung,exynos4-gpio"; - reg = <0x134000E0 0x20>; - #gpio-cells = <4>; - }; - - gph1: gpio-controller@13400100 { - compatible = "samsung,exynos4-gpio"; - reg = <0x13400100 0x20>; - #gpio-cells = <4>; - }; - - gpv0: gpio-controller@10D10000 { - compatible = "samsung,exynos4-gpio"; - reg = <0x10D10000 0x20>; - #gpio-cells = <4>; - }; - - gpv1: gpio-controller@10D10020 { - compatible = "samsung,exynos4-gpio"; - reg = <0x10D10020 0x20>; - #gpio-cells = <4>; - }; - - gpv2: gpio-controller@10D10040 { - compatible = "samsung,exynos4-gpio"; - reg = <0x10D10040 0x20>; - #gpio-cells = <4>; - }; - - gpv3: gpio-controller@10D10060 { - compatible = "samsung,exynos4-gpio"; - reg = <0x10D10060 0x20>; - #gpio-cells = <4>; - }; - - gpv4: gpio-controller@10D10080 { - compatible = "samsung,exynos4-gpio"; - reg = <0x10D10080 0x20>; - #gpio-cells = <4>; - }; - - gpz: gpio-controller@03860000 { - compatible = "samsung,exynos4-gpio"; - reg = <0x03860000 0x20>; - #gpio-cells = <4>; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/fsm9900-rumi.dts b/kernel/arch/arm/boot/dts/tr961-5200l-v2/fsm9900-rumi.dts deleted file mode 100644 index 2b380c7b3..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/fsm9900-rumi.dts +++ /dev/null @@ -1,31 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; - -/include/ "fsm9900.dtsi" - -/ { - model = "Qualcomm FSM9900 Rumi"; - compatible = "qcom,fsm9900-rumi", "qcom,fsm9900", "qcom-sim"; - qcom,msm-id = <188 0 0>; - - aliases { - serial0 = &uart0; - }; -}; - -&soc { - uart0: serial@f9960000 { - status = "ok"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/fsm9900-sim.dts b/kernel/arch/arm/boot/dts/tr961-5200l-v2/fsm9900-sim.dts deleted file mode 100644 index 050929e60..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/fsm9900-sim.dts +++ /dev/null @@ -1,32 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; - -/include/ "fsm9900.dtsi" - -/ { - model = "Qualcomm FSM9900 Simulator"; - compatible = "qcom,fsm9900-sim", "qcom,fsm9900", "qcom-sim"; - qcom,msm-id = <188 0 0>; - - aliases { - serial0 = &uart0; - }; -}; - -&soc { - uart0: serial@f9960000 { - interrupts = <0 116 0>; - status = "ok"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/fsm9900.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v2/fsm9900.dtsi deleted file mode 100644 index 766db368d..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/fsm9900.dtsi +++ /dev/null @@ -1,94 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/include/ "skeleton64.dtsi" - -/ { - model = "Qualcomm FSM9900"; - compatible = "qcom,fsm9900"; - interrupt-parent = <&intc>; - soc: soc { }; -}; - -&soc { - #address-cells = <1>; - #size-cells = <1>; - ranges = <0 0 0 0xffffffff>; - - intc: interrupt-controller@f9000000 { - compatible = "qcom,msm-qgic2"; - interrupt-controller; - #interrupt-cells = <3>; - reg = <0xF9000000 0x1000>, - <0xF9002000 0x1000>; - }; - - msmgpio: gpio@fd510000 { - compatible = "qcom,msm-gpio"; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - reg = <0xfd510000 0x4000>; - ngpio = <142>; - interrupts = <0 208 0>; - qcom,direct-connect-irqs = <5>; - }; - - timer { - compatible = "arm,armv7-timer"; - interrupts = <1 2 0 1 3 0>; - clock-frequency = <19200000>; - }; - - serial@f9960000 { - compatible = "qcom,msm-lsuart-v14"; - reg = <0xf9960000 0x1000>; - interrupts = <0 104 0>; - status = "disabled"; - }; - - cpu-pmu { - compatible = "qcom,krait-pmu"; - qcom,irq-is-percpu; - interrupts = <1 7 0xf00>; - }; - - qcom,msm-imem@fe805000 { - compatible = "qcom,msm-imem"; - reg = <0xfe805000 0x1000>; /* Address and size of IMEM */ - }; - - qcom,cache_erp { - compatible = "qcom,cache_erp"; - interrupts = <1 9 0>, <0 2 0>; - interrupt-names = "l1_irq", "l2_irq"; - }; - - qcom,cache_dump { - compatible = "qcom,cache_dump"; - qcom,l1-dump-size = <0x100000>; - qcom,l2-dump-size = <0x500000>; - qcom,memory-reservation-type = "EBI1"; - qcom,memory-reservation-size = <0x600000>; /* 6M EBI1 buffer */ - }; - - qcom,ion { - compatible = "qcom,msm-ion"; - #address-cells = <1>; - #size-cells = <0>; - - qcom,ion-heap@30 { /* SYSTEM HEAP */ - reg = <30>; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/highbank.dts b/kernel/arch/arm/boot/dts/tr961-5200l-v2/highbank.dts deleted file mode 100644 index 83e72294a..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/highbank.dts +++ /dev/null @@ -1,209 +0,0 @@ -/* - * Copyright 2011 Calxeda, Inc. - * - * This program is free software; you can redistribute it and/or modify it - * under the terms and conditions of the GNU General Public License, - * version 2, as published by the Free Software Foundation. - * - * This program is distributed in the hope 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. - * - * You should have received a copy of the GNU General Public License along with - * this program. If not, see . - */ - -/dts-v1/; - -/* First 4KB has pen for secondary cores. */ -/memreserve/ 0x00000000 0x0001000; - -/ { - model = "Calxeda Highbank"; - compatible = "calxeda,highbank"; - #address-cells = <1>; - #size-cells = <1>; - - cpus { - #address-cells = <1>; - #size-cells = <0>; - - cpu@0 { - compatible = "arm,cortex-a9"; - reg = <0>; - next-level-cache = <&L2>; - }; - - cpu@1 { - compatible = "arm,cortex-a9"; - reg = <1>; - next-level-cache = <&L2>; - }; - - cpu@2 { - compatible = "arm,cortex-a9"; - reg = <2>; - next-level-cache = <&L2>; - }; - - cpu@3 { - compatible = "arm,cortex-a9"; - reg = <3>; - next-level-cache = <&L2>; - }; - }; - - memory { - name = "memory"; - device_type = "memory"; - reg = <0x00000000 0xff900000>; - }; - - chosen { - bootargs = "console=ttyAMA0"; - }; - - soc { - #address-cells = <1>; - #size-cells = <1>; - compatible = "simple-bus"; - interrupt-parent = <&intc>; - ranges; - - timer@fff10600 { - compatible = "arm,cortex-a9-twd-timer"; - reg = <0xfff10600 0x20>; - interrupts = <1 13 0xf01>; - }; - - watchdog@fff10620 { - compatible = "arm,cortex-a9-twd-wdt"; - reg = <0xfff10620 0x20>; - interrupts = <1 14 0xf01>; - }; - - intc: interrupt-controller@fff11000 { - compatible = "arm,cortex-a9-gic"; - #interrupt-cells = <3>; - #size-cells = <0>; - #address-cells = <1>; - interrupt-controller; - reg = <0xfff11000 0x1000>, - <0xfff10100 0x100>; - }; - - L2: l2-cache { - compatible = "arm,pl310-cache"; - reg = <0xfff12000 0x1000>; - interrupts = <0 70 4>; - cache-unified; - cache-level = <2>; - }; - - pmu { - compatible = "arm,cortex-a9-pmu"; - interrupts = <0 76 4 0 75 4 0 74 4 0 73 4>; - }; - - sata@ffe08000 { - compatible = "calxeda,hb-ahci"; - reg = <0xffe08000 0x10000>; - interrupts = <0 83 4>; - }; - - sdhci@ffe0e000 { - compatible = "calxeda,hb-sdhci"; - reg = <0xffe0e000 0x1000>; - interrupts = <0 90 4>; - }; - - ipc@fff20000 { - compatible = "arm,pl320", "arm,primecell"; - reg = <0xfff20000 0x1000>; - interrupts = <0 7 4>; - }; - - gpioe: gpio@fff30000 { - #gpio-cells = <2>; - compatible = "arm,pl061", "arm,primecell"; - gpio-controller; - reg = <0xfff30000 0x1000>; - interrupts = <0 14 4>; - }; - - gpiof: gpio@fff31000 { - #gpio-cells = <2>; - compatible = "arm,pl061", "arm,primecell"; - gpio-controller; - reg = <0xfff31000 0x1000>; - interrupts = <0 15 4>; - }; - - gpiog: gpio@fff32000 { - #gpio-cells = <2>; - compatible = "arm,pl061", "arm,primecell"; - gpio-controller; - reg = <0xfff32000 0x1000>; - interrupts = <0 16 4>; - }; - - gpioh: gpio@fff33000 { - #gpio-cells = <2>; - compatible = "arm,pl061", "arm,primecell"; - gpio-controller; - reg = <0xfff33000 0x1000>; - interrupts = <0 17 4>; - }; - - timer { - compatible = "arm,sp804", "arm,primecell"; - reg = <0xfff34000 0x1000>; - interrupts = <0 18 4>; - }; - - rtc@fff35000 { - compatible = "arm,pl031", "arm,primecell"; - reg = <0xfff35000 0x1000>; - interrupts = <0 19 4>; - }; - - serial@fff36000 { - compatible = "arm,pl011", "arm,primecell"; - reg = <0xfff36000 0x1000>; - interrupts = <0 20 4>; - }; - - smic@fff3a000 { - compatible = "ipmi-smic"; - device_type = "ipmi"; - reg = <0xfff3a000 0x1000>; - interrupts = <0 24 4>; - reg-size = <4>; - reg-spacing = <4>; - }; - - sregs@fff3c000 { - compatible = "calxeda,hb-sregs"; - reg = <0xfff3c000 0x1000>; - }; - - dma@fff3d000 { - compatible = "arm,pl330", "arm,primecell"; - reg = <0xfff3d000 0x1000>; - interrupts = <0 92 4>; - }; - - ethernet@fff50000 { - compatible = "calxeda,hb-xgmac"; - reg = <0xfff50000 0x1000>; - interrupts = <0 77 4 0 78 4 0 79 4>; - }; - - ethernet@fff51000 { - compatible = "calxeda,hb-xgmac"; - reg = <0xfff51000 0x1000>; - interrupts = <0 80 4 0 81 4 0 82 4>; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/imx27-phytec-phycore.dts b/kernel/arch/arm/boot/dts/tr961-5200l-v2/imx27-phytec-phycore.dts deleted file mode 100644 index a51a08fc2..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/imx27-phytec-phycore.dts +++ /dev/null @@ -1,76 +0,0 @@ -/* - * Copyright 2012 Sascha Hauer, Pengutronix - * - * The code contained herein is licensed under the GNU General Public - * License. You may obtain a copy of the GNU General Public License - * Version 2 or later at the following locations: - * - * http://www.opensource.org/licenses/gpl-license.html - * http://www.gnu.org/copyleft/gpl.html - */ - -/dts-v1/; -/include/ "imx27.dtsi" - -/ { - model = "Phytec pcm038"; - compatible = "phytec,imx27-pcm038", "fsl,imx27"; - - memory { - reg = <0x0 0x0>; - }; - - soc { - aipi@10000000 { /* aipi */ - - wdog@10002000 { - status = "okay"; - }; - - uart@1000a000 { - fsl,uart-has-rtscts; - status = "okay"; - }; - - uart@1000b000 { - fsl,uart-has-rtscts; - status = "okay"; - }; - - uart@1000c000 { - fsl,uart-has-rtscts; - status = "okay"; - }; - - fec@1002b000 { - status = "okay"; - }; - - i2c@1001d000 { - clock-frequency = <400000>; - status = "okay"; - at24@4c { - compatible = "at,24c32"; - pagesize = <32>; - reg = <0x52>; - }; - pcf8563@51 { - compatible = "nxp,pcf8563"; - reg = <0x51>; - }; - lm75@4a { - compatible = "national,lm75"; - reg = <0x4a>; - }; - }; - }; - }; - - nor_flash@c0000000 { - compatible = "cfi-flash"; - bank-width = <2>; - reg = <0xc0000000 0x02000000>; - #address-cells = <1>; - #size-cells = <1>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/imx27.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v2/imx27.dtsi deleted file mode 100644 index bc5e7d5dd..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/imx27.dtsi +++ /dev/null @@ -1,217 +0,0 @@ -/* - * Copyright 2012 Sascha Hauer, Pengutronix - * - * The code contained herein is licensed under the GNU General Public - * License. You may obtain a copy of the GNU General Public License - * Version 2 or later at the following locations: - * - * http://www.opensource.org/licenses/gpl-license.html - * http://www.gnu.org/copyleft/gpl.html - */ - -/include/ "skeleton.dtsi" - -/ { - aliases { - serial0 = &uart1; - serial1 = &uart2; - serial2 = &uart3; - serial3 = &uart4; - serial4 = &uart5; - serial5 = &uart6; - }; - - avic: avic-interrupt-controller@e0000000 { - compatible = "fsl,imx27-avic", "fsl,avic"; - interrupt-controller; - #interrupt-cells = <1>; - reg = <0x10040000 0x1000>; - }; - - clocks { - #address-cells = <1>; - #size-cells = <0>; - - osc26m { - compatible = "fsl,imx-osc26m", "fixed-clock"; - clock-frequency = <26000000>; - }; - }; - - soc { - #address-cells = <1>; - #size-cells = <1>; - compatible = "simple-bus"; - interrupt-parent = <&avic>; - ranges; - - aipi@10000000 { /* AIPI1 */ - compatible = "fsl,aipi-bus", "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0x10000000 0x10000000>; - ranges; - - wdog@10002000 { - compatible = "fsl,imx27-wdt", "fsl,imx21-wdt"; - reg = <0x10002000 0x4000>; - interrupts = <27>; - status = "disabled"; - }; - - uart1: uart@1000a000 { - compatible = "fsl,imx27-uart", "fsl,imx21-uart"; - reg = <0x1000a000 0x1000>; - interrupts = <20>; - status = "disabled"; - }; - - uart2: uart@1000b000 { - compatible = "fsl,imx27-uart", "fsl,imx21-uart"; - reg = <0x1000b000 0x1000>; - interrupts = <19>; - status = "disabled"; - }; - - uart3: uart@1000c000 { - compatible = "fsl,imx27-uart", "fsl,imx21-uart"; - reg = <0x1000c000 0x1000>; - interrupts = <18>; - status = "disabled"; - }; - - uart4: uart@1000d000 { - compatible = "fsl,imx27-uart", "fsl,imx21-uart"; - reg = <0x1000d000 0x1000>; - interrupts = <17>; - status = "disabled"; - }; - - cspi1: cspi@1000e000 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx27-cspi"; - reg = <0x1000e000 0x1000>; - interrupts = <16>; - status = "disabled"; - }; - - cspi2: cspi@1000f000 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx27-cspi"; - reg = <0x1000f000 0x1000>; - interrupts = <15>; - status = "disabled"; - }; - - i2c1: i2c@10012000 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx27-i2c", "fsl,imx1-i2c"; - reg = <0x10012000 0x1000>; - interrupts = <12>; - status = "disabled"; - }; - - gpio1: gpio@10015000 { - compatible = "fsl,imx27-gpio", "fsl,imx21-gpio"; - reg = <0x10015000 0x100>; - interrupts = <8>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - gpio2: gpio@10015100 { - compatible = "fsl,imx27-gpio", "fsl,imx21-gpio"; - reg = <0x10015100 0x100>; - interrupts = <8>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - gpio3: gpio@10015200 { - compatible = "fsl,imx27-gpio", "fsl,imx21-gpio"; - reg = <0x10015200 0x100>; - interrupts = <8>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - gpio4: gpio@10015300 { - compatible = "fsl,imx27-gpio", "fsl,imx21-gpio"; - reg = <0x10015300 0x100>; - interrupts = <8>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - gpio5: gpio@10015400 { - compatible = "fsl,imx27-gpio", "fsl,imx21-gpio"; - reg = <0x10015400 0x100>; - interrupts = <8>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - gpio6: gpio@10015500 { - compatible = "fsl,imx27-gpio", "fsl,imx21-gpio"; - reg = <0x10015500 0x100>; - interrupts = <8>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - cspi3: cspi@10017000 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx27-cspi"; - reg = <0x10017000 0x1000>; - interrupts = <6>; - status = "disabled"; - }; - - uart5: uart@1001b000 { - compatible = "fsl,imx27-uart", "fsl,imx21-uart"; - reg = <0x1001b000 0x1000>; - interrupts = <49>; - status = "disabled"; - }; - - uart6: uart@1001c000 { - compatible = "fsl,imx27-uart", "fsl,imx21-uart"; - reg = <0x1001c000 0x1000>; - interrupts = <48>; - status = "disabled"; - }; - - i2c2: i2c@1001d000 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx27-i2c", "fsl,imx1-i2c"; - reg = <0x1001d000 0x1000>; - interrupts = <1>; - status = "disabled"; - }; - - fec: fec@1002b000 { - compatible = "fsl,imx27-fec"; - reg = <0x1002b000 0x4000>; - interrupts = <50>; - status = "disabled"; - }; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/imx51-babbage.dts b/kernel/arch/arm/boot/dts/tr961-5200l-v2/imx51-babbage.dts deleted file mode 100644 index 9949e6060..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/imx51-babbage.dts +++ /dev/null @@ -1,221 +0,0 @@ -/* - * Copyright 2011 Freescale Semiconductor, Inc. - * Copyright 2011 Linaro Ltd. - * - * The code contained herein is licensed under the GNU General Public - * License. You may obtain a copy of the GNU General Public License - * Version 2 or later at the following locations: - * - * http://www.opensource.org/licenses/gpl-license.html - * http://www.gnu.org/copyleft/gpl.html - */ - -/dts-v1/; -/include/ "imx51.dtsi" - -/ { - model = "Freescale i.MX51 Babbage Board"; - compatible = "fsl,imx51-babbage", "fsl,imx51"; - - chosen { - bootargs = "console=ttymxc0,115200 root=/dev/mmcblk0p3 rootwait"; - }; - - memory { - reg = <0x90000000 0x20000000>; - }; - - soc { - aips@70000000 { /* aips-1 */ - spba@70000000 { - esdhc@70004000 { /* ESDHC1 */ - fsl,cd-internal; - fsl,wp-internal; - status = "okay"; - }; - - esdhc@70008000 { /* ESDHC2 */ - cd-gpios = <&gpio1 6 0>; - wp-gpios = <&gpio1 5 0>; - status = "okay"; - }; - - uart3: uart@7000c000 { - fsl,uart-has-rtscts; - status = "okay"; - }; - - ecspi@70010000 { /* ECSPI1 */ - fsl,spi-num-chipselects = <2>; - cs-gpios = <&gpio4 24 0>, <&gpio4 25 0>; - status = "okay"; - - pmic: mc13892@0 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,mc13892"; - spi-max-frequency = <6000000>; - reg = <0>; - interrupt-parent = <&gpio1>; - interrupts = <8>; - - regulators { - sw1_reg: sw1 { - regulator-min-microvolt = <600000>; - regulator-max-microvolt = <1375000>; - regulator-boot-on; - regulator-always-on; - }; - - sw2_reg: sw2 { - regulator-min-microvolt = <900000>; - regulator-max-microvolt = <1850000>; - regulator-boot-on; - regulator-always-on; - }; - - sw3_reg: sw3 { - regulator-min-microvolt = <1100000>; - regulator-max-microvolt = <1850000>; - regulator-boot-on; - regulator-always-on; - }; - - sw4_reg: sw4 { - regulator-min-microvolt = <1100000>; - regulator-max-microvolt = <1850000>; - regulator-boot-on; - regulator-always-on; - }; - - vpll_reg: vpll { - regulator-min-microvolt = <1050000>; - regulator-max-microvolt = <1800000>; - regulator-boot-on; - regulator-always-on; - }; - - vdig_reg: vdig { - regulator-min-microvolt = <1650000>; - regulator-max-microvolt = <1650000>; - regulator-boot-on; - }; - - vsd_reg: vsd { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <3150000>; - }; - - vusb2_reg: vusb2 { - regulator-min-microvolt = <2400000>; - regulator-max-microvolt = <2775000>; - regulator-boot-on; - regulator-always-on; - }; - - vvideo_reg: vvideo { - regulator-min-microvolt = <2775000>; - regulator-max-microvolt = <2775000>; - }; - - vaudio_reg: vaudio { - regulator-min-microvolt = <2300000>; - regulator-max-microvolt = <3000000>; - }; - - vcam_reg: vcam { - regulator-min-microvolt = <2500000>; - regulator-max-microvolt = <3000000>; - }; - - vgen1_reg: vgen1 { - regulator-min-microvolt = <1200000>; - regulator-max-microvolt = <1200000>; - }; - - vgen2_reg: vgen2 { - regulator-min-microvolt = <1200000>; - regulator-max-microvolt = <3150000>; - regulator-always-on; - }; - - vgen3_reg: vgen3 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <2900000>; - regulator-always-on; - }; - }; - }; - - flash: at45db321d@1 { - #address-cells = <1>; - #size-cells = <1>; - compatible = "atmel,at45db321d", "atmel,at45", "atmel,dataflash"; - spi-max-frequency = <25000000>; - reg = <1>; - - partition@0 { - label = "U-Boot"; - reg = <0x0 0x40000>; - read-only; - }; - - partition@40000 { - label = "Kernel"; - reg = <0x40000 0x3c0000>; - }; - }; - }; - }; - - wdog@73f98000 { /* WDOG1 */ - status = "okay"; - }; - - iomuxc@73fa8000 { - compatible = "fsl,imx51-iomuxc-babbage"; - reg = <0x73fa8000 0x4000>; - }; - - uart1: uart@73fbc000 { - fsl,uart-has-rtscts; - status = "okay"; - }; - - uart2: uart@73fc0000 { - status = "okay"; - }; - }; - - aips@80000000 { /* aips-2 */ - sdma@83fb0000 { - fsl,sdma-ram-script-name = "imx/sdma/sdma-imx51.bin"; - }; - - i2c@83fc4000 { /* I2C2 */ - status = "okay"; - - codec: sgtl5000@0a { - compatible = "fsl,sgtl5000"; - reg = <0x0a>; - }; - }; - - fec@83fec000 { - phy-mode = "mii"; - status = "okay"; - }; - }; - }; - - gpio-keys { - compatible = "gpio-keys"; - - power { - label = "Power Button"; - gpios = <&gpio2 21 0>; - linux,code = <116>; /* KEY_POWER */ - gpio-key,wakeup; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/imx51.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v2/imx51.dtsi deleted file mode 100644 index 6663986fe..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/imx51.dtsi +++ /dev/null @@ -1,246 +0,0 @@ -/* - * Copyright 2011 Freescale Semiconductor, Inc. - * Copyright 2011 Linaro Ltd. - * - * The code contained herein is licensed under the GNU General Public - * License. You may obtain a copy of the GNU General Public License - * Version 2 or later at the following locations: - * - * http://www.opensource.org/licenses/gpl-license.html - * http://www.gnu.org/copyleft/gpl.html - */ - -/include/ "skeleton.dtsi" - -/ { - aliases { - serial0 = &uart1; - serial1 = &uart2; - serial2 = &uart3; - }; - - tzic: tz-interrupt-controller@e0000000 { - compatible = "fsl,imx51-tzic", "fsl,tzic"; - interrupt-controller; - #interrupt-cells = <1>; - reg = <0xe0000000 0x4000>; - }; - - clocks { - #address-cells = <1>; - #size-cells = <0>; - - ckil { - compatible = "fsl,imx-ckil", "fixed-clock"; - clock-frequency = <32768>; - }; - - ckih1 { - compatible = "fsl,imx-ckih1", "fixed-clock"; - clock-frequency = <22579200>; - }; - - ckih2 { - compatible = "fsl,imx-ckih2", "fixed-clock"; - clock-frequency = <0>; - }; - - osc { - compatible = "fsl,imx-osc", "fixed-clock"; - clock-frequency = <24000000>; - }; - }; - - soc { - #address-cells = <1>; - #size-cells = <1>; - compatible = "simple-bus"; - interrupt-parent = <&tzic>; - ranges; - - aips@70000000 { /* AIPS1 */ - compatible = "fsl,aips-bus", "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0x70000000 0x10000000>; - ranges; - - spba@70000000 { - compatible = "fsl,spba-bus", "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0x70000000 0x40000>; - ranges; - - esdhc@70004000 { /* ESDHC1 */ - compatible = "fsl,imx51-esdhc"; - reg = <0x70004000 0x4000>; - interrupts = <1>; - status = "disabled"; - }; - - esdhc@70008000 { /* ESDHC2 */ - compatible = "fsl,imx51-esdhc"; - reg = <0x70008000 0x4000>; - interrupts = <2>; - status = "disabled"; - }; - - uart3: uart@7000c000 { - compatible = "fsl,imx51-uart", "fsl,imx21-uart"; - reg = <0x7000c000 0x4000>; - interrupts = <33>; - status = "disabled"; - }; - - ecspi@70010000 { /* ECSPI1 */ - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx51-ecspi"; - reg = <0x70010000 0x4000>; - interrupts = <36>; - status = "disabled"; - }; - - esdhc@70020000 { /* ESDHC3 */ - compatible = "fsl,imx51-esdhc"; - reg = <0x70020000 0x4000>; - interrupts = <3>; - status = "disabled"; - }; - - esdhc@70024000 { /* ESDHC4 */ - compatible = "fsl,imx51-esdhc"; - reg = <0x70024000 0x4000>; - interrupts = <4>; - status = "disabled"; - }; - }; - - gpio1: gpio@73f84000 { - compatible = "fsl,imx51-gpio", "fsl,imx31-gpio"; - reg = <0x73f84000 0x4000>; - interrupts = <50 51>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - gpio2: gpio@73f88000 { - compatible = "fsl,imx51-gpio", "fsl,imx31-gpio"; - reg = <0x73f88000 0x4000>; - interrupts = <52 53>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - gpio3: gpio@73f8c000 { - compatible = "fsl,imx51-gpio", "fsl,imx31-gpio"; - reg = <0x73f8c000 0x4000>; - interrupts = <54 55>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - gpio4: gpio@73f90000 { - compatible = "fsl,imx51-gpio", "fsl,imx31-gpio"; - reg = <0x73f90000 0x4000>; - interrupts = <56 57>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - wdog@73f98000 { /* WDOG1 */ - compatible = "fsl,imx51-wdt", "fsl,imx21-wdt"; - reg = <0x73f98000 0x4000>; - interrupts = <58>; - status = "disabled"; - }; - - wdog@73f9c000 { /* WDOG2 */ - compatible = "fsl,imx51-wdt", "fsl,imx21-wdt"; - reg = <0x73f9c000 0x4000>; - interrupts = <59>; - status = "disabled"; - }; - - uart1: uart@73fbc000 { - compatible = "fsl,imx51-uart", "fsl,imx21-uart"; - reg = <0x73fbc000 0x4000>; - interrupts = <31>; - status = "disabled"; - }; - - uart2: uart@73fc0000 { - compatible = "fsl,imx51-uart", "fsl,imx21-uart"; - reg = <0x73fc0000 0x4000>; - interrupts = <32>; - status = "disabled"; - }; - }; - - aips@80000000 { /* AIPS2 */ - compatible = "fsl,aips-bus", "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0x80000000 0x10000000>; - ranges; - - ecspi@83fac000 { /* ECSPI2 */ - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx51-ecspi"; - reg = <0x83fac000 0x4000>; - interrupts = <37>; - status = "disabled"; - }; - - sdma@83fb0000 { - compatible = "fsl,imx51-sdma", "fsl,imx35-sdma"; - reg = <0x83fb0000 0x4000>; - interrupts = <6>; - }; - - cspi@83fc0000 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx51-cspi", "fsl,imx35-cspi"; - reg = <0x83fc0000 0x4000>; - interrupts = <38>; - status = "disabled"; - }; - - i2c@83fc4000 { /* I2C2 */ - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx51-i2c", "fsl,imx1-i2c"; - reg = <0x83fc4000 0x4000>; - interrupts = <63>; - status = "disabled"; - }; - - i2c@83fc8000 { /* I2C1 */ - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx51-i2c", "fsl,imx1-i2c"; - reg = <0x83fc8000 0x4000>; - interrupts = <62>; - status = "disabled"; - }; - - fec@83fec000 { - compatible = "fsl,imx51-fec", "fsl,imx27-fec"; - reg = <0x83fec000 0x4000>; - interrupts = <87>; - status = "disabled"; - }; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/imx53-ard.dts b/kernel/arch/arm/boot/dts/tr961-5200l-v2/imx53-ard.dts deleted file mode 100644 index 2dccce46e..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/imx53-ard.dts +++ /dev/null @@ -1,113 +0,0 @@ -/* - * Copyright 2011 Freescale Semiconductor, Inc. - * Copyright 2011 Linaro Ltd. - * - * The code contained herein is licensed under the GNU General Public - * License. You may obtain a copy of the GNU General Public License - * Version 2 or later at the following locations: - * - * http://www.opensource.org/licenses/gpl-license.html - * http://www.gnu.org/copyleft/gpl.html - */ - -/dts-v1/; -/include/ "imx53.dtsi" - -/ { - model = "Freescale i.MX53 Automotive Reference Design Board"; - compatible = "fsl,imx53-ard", "fsl,imx53"; - - chosen { - bootargs = "console=ttymxc0,115200 root=/dev/mmcblk0p3 rootwait"; - }; - - memory { - reg = <0x70000000 0x40000000>; - }; - - soc { - aips@50000000 { /* AIPS1 */ - spba@50000000 { - esdhc@50004000 { /* ESDHC1 */ - cd-gpios = <&gpio1 1 0>; - wp-gpios = <&gpio1 9 0>; - status = "okay"; - }; - }; - - wdog@53f98000 { /* WDOG1 */ - status = "okay"; - }; - - iomuxc@53fa8000 { - compatible = "fsl,imx53-iomuxc-ard"; - reg = <0x53fa8000 0x4000>; - }; - - uart1: uart@53fbc000 { - status = "okay"; - }; - }; - - aips@60000000 { /* AIPS2 */ - sdma@63fb0000 { - fsl,sdma-ram-script-name = "imx/sdma/sdma-imx53.bin"; - }; - }; - }; - - eim-cs1@f4000000 { - #address-cells = <1>; - #size-cells = <1>; - compatible = "fsl,eim-bus", "simple-bus"; - reg = <0xf4000000 0x3ff0000>; - ranges; - - lan9220@f4000000 { - compatible = "smsc,lan9220", "smsc,lan9115"; - reg = <0xf4000000 0x2000000>; - phy-mode = "mii"; - interrupt-parent = <&gpio2>; - interrupts = <31>; - reg-io-width = <4>; - smsc,irq-push-pull; - }; - }; - - gpio-keys { - compatible = "gpio-keys"; - - home { - label = "Home"; - gpios = <&gpio5 10 0>; - linux,code = <102>; /* KEY_HOME */ - gpio-key,wakeup; - }; - - back { - label = "Back"; - gpios = <&gpio5 11 0>; - linux,code = <158>; /* KEY_BACK */ - gpio-key,wakeup; - }; - - program { - label = "Program"; - gpios = <&gpio5 12 0>; - linux,code = <362>; /* KEY_PROGRAM */ - gpio-key,wakeup; - }; - - volume-up { - label = "Volume Up"; - gpios = <&gpio5 13 0>; - linux,code = <115>; /* KEY_VOLUMEUP */ - }; - - volume-down { - label = "Volume Down"; - gpios = <&gpio4 0 0>; - linux,code = <114>; /* KEY_VOLUMEDOWN */ - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/imx53-evk.dts b/kernel/arch/arm/boot/dts/tr961-5200l-v2/imx53-evk.dts deleted file mode 100644 index 5bac4aa48..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/imx53-evk.dts +++ /dev/null @@ -1,119 +0,0 @@ -/* - * Copyright 2011 Freescale Semiconductor, Inc. - * Copyright 2011 Linaro Ltd. - * - * The code contained herein is licensed under the GNU General Public - * License. You may obtain a copy of the GNU General Public License - * Version 2 or later at the following locations: - * - * http://www.opensource.org/licenses/gpl-license.html - * http://www.gnu.org/copyleft/gpl.html - */ - -/dts-v1/; -/include/ "imx53.dtsi" - -/ { - model = "Freescale i.MX53 Evaluation Kit"; - compatible = "fsl,imx53-evk", "fsl,imx53"; - - chosen { - bootargs = "console=ttymxc0,115200 root=/dev/mmcblk0p3 rootwait"; - }; - - memory { - reg = <0x70000000 0x80000000>; - }; - - soc { - aips@50000000 { /* AIPS1 */ - spba@50000000 { - esdhc@50004000 { /* ESDHC1 */ - cd-gpios = <&gpio3 13 0>; - wp-gpios = <&gpio3 14 0>; - status = "okay"; - }; - - ecspi@50010000 { /* ECSPI1 */ - fsl,spi-num-chipselects = <2>; - cs-gpios = <&gpio2 30 0>, <&gpio3 19 0>; - status = "okay"; - - flash: at45db321d@1 { - #address-cells = <1>; - #size-cells = <1>; - compatible = "atmel,at45db321d", "atmel,at45", "atmel,dataflash"; - spi-max-frequency = <25000000>; - reg = <1>; - - partition@0 { - label = "U-Boot"; - reg = <0x0 0x40000>; - read-only; - }; - - partition@40000 { - label = "Kernel"; - reg = <0x40000 0x3c0000>; - }; - }; - }; - - esdhc@50020000 { /* ESDHC3 */ - cd-gpios = <&gpio3 11 0>; - wp-gpios = <&gpio3 12 0>; - status = "okay"; - }; - }; - - wdog@53f98000 { /* WDOG1 */ - status = "okay"; - }; - - iomuxc@53fa8000 { - compatible = "fsl,imx53-iomuxc-evk"; - reg = <0x53fa8000 0x4000>; - }; - - uart1: uart@53fbc000 { - status = "okay"; - }; - }; - - aips@60000000 { /* AIPS2 */ - sdma@63fb0000 { - fsl,sdma-ram-script-name = "imx/sdma/sdma-imx53.bin"; - }; - - i2c@63fc4000 { /* I2C2 */ - status = "okay"; - - pmic: mc13892@08 { - compatible = "fsl,mc13892", "fsl,mc13xxx"; - reg = <0x08>; - }; - - codec: sgtl5000@0a { - compatible = "fsl,sgtl5000"; - reg = <0x0a>; - }; - }; - - fec@63fec000 { - phy-mode = "rmii"; - phy-reset-gpios = <&gpio7 6 0>; - status = "okay"; - }; - }; - }; - - leds { - compatible = "gpio-leds"; - - green { - label = "Heartbeat"; - gpios = <&gpio7 7 0>; - linux,default-trigger = "heartbeat"; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/imx53-qsb.dts b/kernel/arch/arm/boot/dts/tr961-5200l-v2/imx53-qsb.dts deleted file mode 100644 index 5c57c8672..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/imx53-qsb.dts +++ /dev/null @@ -1,125 +0,0 @@ -/* - * Copyright 2011 Freescale Semiconductor, Inc. - * Copyright 2011 Linaro Ltd. - * - * The code contained herein is licensed under the GNU General Public - * License. You may obtain a copy of the GNU General Public License - * Version 2 or later at the following locations: - * - * http://www.opensource.org/licenses/gpl-license.html - * http://www.gnu.org/copyleft/gpl.html - */ - -/dts-v1/; -/include/ "imx53.dtsi" - -/ { - model = "Freescale i.MX53 Quick Start Board"; - compatible = "fsl,imx53-qsb", "fsl,imx53"; - - chosen { - bootargs = "console=ttymxc0,115200 root=/dev/mmcblk0p3 rootwait"; - }; - - memory { - reg = <0x70000000 0x40000000>; - }; - - soc { - aips@50000000 { /* AIPS1 */ - spba@50000000 { - esdhc@50004000 { /* ESDHC1 */ - cd-gpios = <&gpio3 13 0>; - status = "okay"; - }; - - esdhc@50020000 { /* ESDHC3 */ - cd-gpios = <&gpio3 11 0>; - wp-gpios = <&gpio3 12 0>; - status = "okay"; - }; - }; - - wdog@53f98000 { /* WDOG1 */ - status = "okay"; - }; - - iomuxc@53fa8000 { - compatible = "fsl,imx53-iomuxc-qsb"; - reg = <0x53fa8000 0x4000>; - }; - - uart1: uart@53fbc000 { - status = "okay"; - }; - }; - - aips@60000000 { /* AIPS2 */ - sdma@63fb0000 { - fsl,sdma-ram-script-name = "imx/sdma/sdma-imx53.bin"; - }; - - i2c@63fc4000 { /* I2C2 */ - status = "okay"; - - codec: sgtl5000@0a { - compatible = "fsl,sgtl5000"; - reg = <0x0a>; - }; - }; - - i2c@63fc8000 { /* I2C1 */ - status = "okay"; - - accelerometer: mma8450@1c { - compatible = "fsl,mma8450"; - reg = <0x1c>; - }; - - pmic: dialog@48 { - compatible = "dialog,da9053", "dialog,da9052"; - reg = <0x48>; - }; - }; - - fec@63fec000 { - phy-mode = "rmii"; - phy-reset-gpios = <&gpio7 6 0>; - status = "okay"; - }; - }; - }; - - gpio-keys { - compatible = "gpio-keys"; - - power { - label = "Power Button"; - gpios = <&gpio1 8 0>; - linux,code = <116>; /* KEY_POWER */ - gpio-key,wakeup; - }; - - volume-up { - label = "Volume Up"; - gpios = <&gpio2 14 0>; - linux,code = <115>; /* KEY_VOLUMEUP */ - }; - - volume-down { - label = "Volume Down"; - gpios = <&gpio2 15 0>; - linux,code = <114>; /* KEY_VOLUMEDOWN */ - }; - }; - - leds { - compatible = "gpio-leds"; - - user { - label = "Heartbeat"; - gpios = <&gpio7 7 0>; - linux,default-trigger = "heartbeat"; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/imx53-smd.dts b/kernel/arch/arm/boot/dts/tr961-5200l-v2/imx53-smd.dts deleted file mode 100644 index c7ee86c2d..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/imx53-smd.dts +++ /dev/null @@ -1,168 +0,0 @@ -/* - * Copyright 2011 Freescale Semiconductor, Inc. - * Copyright 2011 Linaro Ltd. - * - * The code contained herein is licensed under the GNU General Public - * License. You may obtain a copy of the GNU General Public License - * Version 2 or later at the following locations: - * - * http://www.opensource.org/licenses/gpl-license.html - * http://www.gnu.org/copyleft/gpl.html - */ - -/dts-v1/; -/include/ "imx53.dtsi" - -/ { - model = "Freescale i.MX53 Smart Mobile Reference Design Board"; - compatible = "fsl,imx53-smd", "fsl,imx53"; - - chosen { - bootargs = "console=ttymxc0,115200 root=/dev/mmcblk0p3 rootwait"; - }; - - memory { - reg = <0x70000000 0x40000000>; - }; - - soc { - aips@50000000 { /* AIPS1 */ - spba@50000000 { - esdhc@50004000 { /* ESDHC1 */ - cd-gpios = <&gpio3 13 0>; - wp-gpios = <&gpio4 11 0>; - status = "okay"; - }; - - esdhc@50008000 { /* ESDHC2 */ - fsl,card-wired; - status = "okay"; - }; - - uart3: uart@5000c000 { - fsl,uart-has-rtscts; - status = "okay"; - }; - - ecspi@50010000 { /* ECSPI1 */ - fsl,spi-num-chipselects = <2>; - cs-gpios = <&gpio2 30 0>, <&gpio3 19 0>; - status = "okay"; - - zigbee: mc1323@0 { - compatible = "fsl,mc1323"; - spi-max-frequency = <8000000>; - reg = <0>; - }; - - flash: m25p32@1 { - #address-cells = <1>; - #size-cells = <1>; - compatible = "st,m25p32", "st,m25p"; - spi-max-frequency = <20000000>; - reg = <1>; - - partition@0 { - label = "U-Boot"; - reg = <0x0 0x40000>; - read-only; - }; - - partition@40000 { - label = "Kernel"; - reg = <0x40000 0x3c0000>; - }; - }; - }; - - esdhc@50020000 { /* ESDHC3 */ - fsl,card-wired; - status = "okay"; - }; - }; - - wdog@53f98000 { /* WDOG1 */ - status = "okay"; - }; - - iomuxc@53fa8000 { - compatible = "fsl,imx53-iomuxc-smd"; - reg = <0x53fa8000 0x4000>; - }; - - uart1: uart@53fbc000 { - status = "okay"; - }; - - uart2: uart@53fc0000 { - status = "okay"; - }; - }; - - aips@60000000 { /* AIPS2 */ - sdma@63fb0000 { - fsl,sdma-ram-script-name = "imx/sdma/sdma-imx53.bin"; - }; - - i2c@63fc4000 { /* I2C2 */ - status = "okay"; - - codec: sgtl5000@0a { - compatible = "fsl,sgtl5000"; - reg = <0x0a>; - }; - - magnetometer: mag3110@0e { - compatible = "fsl,mag3110"; - reg = <0x0e>; - }; - - touchkey: mpr121@5a { - compatible = "fsl,mpr121"; - reg = <0x5a>; - }; - }; - - i2c@63fc8000 { /* I2C1 */ - status = "okay"; - - accelerometer: mma8450@1c { - compatible = "fsl,mma8450"; - reg = <0x1c>; - }; - - camera: ov5642@3c { - compatible = "ovti,ov5642"; - reg = <0x3c>; - }; - - pmic: dialog@48 { - compatible = "dialog,da9053", "dialog,da9052"; - reg = <0x48>; - }; - }; - - fec@63fec000 { - phy-mode = "rmii"; - phy-reset-gpios = <&gpio7 6 0>; - status = "okay"; - }; - }; - }; - - gpio-keys { - compatible = "gpio-keys"; - - volume-up { - label = "Volume Up"; - gpios = <&gpio2 14 0>; - linux,code = <115>; /* KEY_VOLUMEUP */ - }; - - volume-down { - label = "Volume Down"; - gpios = <&gpio2 15 0>; - linux,code = <114>; /* KEY_VOLUMEDOWN */ - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/imx53.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v2/imx53.dtsi deleted file mode 100644 index 5dd91b942..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/imx53.dtsi +++ /dev/null @@ -1,301 +0,0 @@ -/* - * Copyright 2011 Freescale Semiconductor, Inc. - * Copyright 2011 Linaro Ltd. - * - * The code contained herein is licensed under the GNU General Public - * License. You may obtain a copy of the GNU General Public License - * Version 2 or later at the following locations: - * - * http://www.opensource.org/licenses/gpl-license.html - * http://www.gnu.org/copyleft/gpl.html - */ - -/include/ "skeleton.dtsi" - -/ { - aliases { - serial0 = &uart1; - serial1 = &uart2; - serial2 = &uart3; - serial3 = &uart4; - serial4 = &uart5; - }; - - tzic: tz-interrupt-controller@0fffc000 { - compatible = "fsl,imx53-tzic", "fsl,tzic"; - interrupt-controller; - #interrupt-cells = <1>; - reg = <0x0fffc000 0x4000>; - }; - - clocks { - #address-cells = <1>; - #size-cells = <0>; - - ckil { - compatible = "fsl,imx-ckil", "fixed-clock"; - clock-frequency = <32768>; - }; - - ckih1 { - compatible = "fsl,imx-ckih1", "fixed-clock"; - clock-frequency = <22579200>; - }; - - ckih2 { - compatible = "fsl,imx-ckih2", "fixed-clock"; - clock-frequency = <0>; - }; - - osc { - compatible = "fsl,imx-osc", "fixed-clock"; - clock-frequency = <24000000>; - }; - }; - - soc { - #address-cells = <1>; - #size-cells = <1>; - compatible = "simple-bus"; - interrupt-parent = <&tzic>; - ranges; - - aips@50000000 { /* AIPS1 */ - compatible = "fsl,aips-bus", "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0x50000000 0x10000000>; - ranges; - - spba@50000000 { - compatible = "fsl,spba-bus", "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0x50000000 0x40000>; - ranges; - - esdhc@50004000 { /* ESDHC1 */ - compatible = "fsl,imx53-esdhc"; - reg = <0x50004000 0x4000>; - interrupts = <1>; - status = "disabled"; - }; - - esdhc@50008000 { /* ESDHC2 */ - compatible = "fsl,imx53-esdhc"; - reg = <0x50008000 0x4000>; - interrupts = <2>; - status = "disabled"; - }; - - uart3: uart@5000c000 { - compatible = "fsl,imx53-uart", "fsl,imx21-uart"; - reg = <0x5000c000 0x4000>; - interrupts = <33>; - status = "disabled"; - }; - - ecspi@50010000 { /* ECSPI1 */ - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx53-ecspi", "fsl,imx51-ecspi"; - reg = <0x50010000 0x4000>; - interrupts = <36>; - status = "disabled"; - }; - - esdhc@50020000 { /* ESDHC3 */ - compatible = "fsl,imx53-esdhc"; - reg = <0x50020000 0x4000>; - interrupts = <3>; - status = "disabled"; - }; - - esdhc@50024000 { /* ESDHC4 */ - compatible = "fsl,imx53-esdhc"; - reg = <0x50024000 0x4000>; - interrupts = <4>; - status = "disabled"; - }; - }; - - gpio1: gpio@53f84000 { - compatible = "fsl,imx53-gpio", "fsl,imx31-gpio"; - reg = <0x53f84000 0x4000>; - interrupts = <50 51>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - gpio2: gpio@53f88000 { - compatible = "fsl,imx53-gpio", "fsl,imx31-gpio"; - reg = <0x53f88000 0x4000>; - interrupts = <52 53>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - gpio3: gpio@53f8c000 { - compatible = "fsl,imx53-gpio", "fsl,imx31-gpio"; - reg = <0x53f8c000 0x4000>; - interrupts = <54 55>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - gpio4: gpio@53f90000 { - compatible = "fsl,imx53-gpio", "fsl,imx31-gpio"; - reg = <0x53f90000 0x4000>; - interrupts = <56 57>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - wdog@53f98000 { /* WDOG1 */ - compatible = "fsl,imx53-wdt", "fsl,imx21-wdt"; - reg = <0x53f98000 0x4000>; - interrupts = <58>; - status = "disabled"; - }; - - wdog@53f9c000 { /* WDOG2 */ - compatible = "fsl,imx53-wdt", "fsl,imx21-wdt"; - reg = <0x53f9c000 0x4000>; - interrupts = <59>; - status = "disabled"; - }; - - uart1: uart@53fbc000 { - compatible = "fsl,imx53-uart", "fsl,imx21-uart"; - reg = <0x53fbc000 0x4000>; - interrupts = <31>; - status = "disabled"; - }; - - uart2: uart@53fc0000 { - compatible = "fsl,imx53-uart", "fsl,imx21-uart"; - reg = <0x53fc0000 0x4000>; - interrupts = <32>; - status = "disabled"; - }; - - gpio5: gpio@53fdc000 { - compatible = "fsl,imx53-gpio", "fsl,imx31-gpio"; - reg = <0x53fdc000 0x4000>; - interrupts = <103 104>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - gpio6: gpio@53fe0000 { - compatible = "fsl,imx53-gpio", "fsl,imx31-gpio"; - reg = <0x53fe0000 0x4000>; - interrupts = <105 106>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - gpio7: gpio@53fe4000 { - compatible = "fsl,imx53-gpio", "fsl,imx31-gpio"; - reg = <0x53fe4000 0x4000>; - interrupts = <107 108>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - i2c@53fec000 { /* I2C3 */ - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx53-i2c", "fsl,imx1-i2c"; - reg = <0x53fec000 0x4000>; - interrupts = <64>; - status = "disabled"; - }; - - uart4: uart@53ff0000 { - compatible = "fsl,imx53-uart", "fsl,imx21-uart"; - reg = <0x53ff0000 0x4000>; - interrupts = <13>; - status = "disabled"; - }; - }; - - aips@60000000 { /* AIPS2 */ - compatible = "fsl,aips-bus", "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0x60000000 0x10000000>; - ranges; - - uart5: uart@63f90000 { - compatible = "fsl,imx53-uart", "fsl,imx21-uart"; - reg = <0x63f90000 0x4000>; - interrupts = <86>; - status = "disabled"; - }; - - ecspi@63fac000 { /* ECSPI2 */ - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx53-ecspi", "fsl,imx51-ecspi"; - reg = <0x63fac000 0x4000>; - interrupts = <37>; - status = "disabled"; - }; - - sdma@63fb0000 { - compatible = "fsl,imx53-sdma", "fsl,imx35-sdma"; - reg = <0x63fb0000 0x4000>; - interrupts = <6>; - }; - - cspi@63fc0000 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx53-cspi", "fsl,imx35-cspi"; - reg = <0x63fc0000 0x4000>; - interrupts = <38>; - status = "disabled"; - }; - - i2c@63fc4000 { /* I2C2 */ - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx53-i2c", "fsl,imx1-i2c"; - reg = <0x63fc4000 0x4000>; - interrupts = <63>; - status = "disabled"; - }; - - i2c@63fc8000 { /* I2C1 */ - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx53-i2c", "fsl,imx1-i2c"; - reg = <0x63fc8000 0x4000>; - interrupts = <62>; - status = "disabled"; - }; - - fec@63fec000 { - compatible = "fsl,imx53-fec", "fsl,imx25-fec"; - reg = <0x63fec000 0x4000>; - interrupts = <87>; - status = "disabled"; - }; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/imx6q-arm2.dts b/kernel/arch/arm/boot/dts/tr961-5200l-v2/imx6q-arm2.dts deleted file mode 100644 index ce1c8238c..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/imx6q-arm2.dts +++ /dev/null @@ -1,76 +0,0 @@ -/* - * Copyright 2011 Freescale Semiconductor, Inc. - * Copyright 2011 Linaro Ltd. - * - * The code contained herein is licensed under the GNU General Public - * License. You may obtain a copy of the GNU General Public License - * Version 2 or later at the following locations: - * - * http://www.opensource.org/licenses/gpl-license.html - * http://www.gnu.org/copyleft/gpl.html - */ - -/dts-v1/; -/include/ "imx6q.dtsi" - -/ { - model = "Freescale i.MX6 Quad Armadillo2 Board"; - compatible = "fsl,imx6q-arm2", "fsl,imx6q"; - - chosen { - bootargs = "console=ttymxc0,115200 root=/dev/mmcblk3p3 rootwait"; - }; - - memory { - reg = <0x10000000 0x80000000>; - }; - - soc { - aips-bus@02100000 { /* AIPS2 */ - enet@02188000 { - phy-mode = "rgmii"; - local-mac-address = [00 04 9F 01 1B 61]; - status = "okay"; - }; - - usdhc@02198000 { /* uSDHC3 */ - cd-gpios = <&gpio6 11 0>; - wp-gpios = <&gpio6 14 0>; - vmmc-supply = <®_3p3v>; - status = "okay"; - }; - - usdhc@0219c000 { /* uSDHC4 */ - fsl,card-wired; - vmmc-supply = <®_3p3v>; - status = "okay"; - }; - - uart4: uart@021f0000 { - status = "okay"; - }; - }; - }; - - regulators { - compatible = "simple-bus"; - - reg_3p3v: 3p3v { - compatible = "regulator-fixed"; - regulator-name = "3P3V"; - regulator-min-microvolt = <3300000>; - regulator-max-microvolt = <3300000>; - regulator-always-on; - }; - }; - - leds { - compatible = "gpio-leds"; - - debug-led { - label = "Heartbeat"; - gpios = <&gpio3 25 0>; - linux,default-trigger = "heartbeat"; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/imx6q-sabrelite.dts b/kernel/arch/arm/boot/dts/tr961-5200l-v2/imx6q-sabrelite.dts deleted file mode 100644 index 4663a4e5a..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/imx6q-sabrelite.dts +++ /dev/null @@ -1,83 +0,0 @@ -/* - * Copyright 2011 Freescale Semiconductor, Inc. - * Copyright 2011 Linaro Ltd. - * - * The code contained herein is licensed under the GNU General Public - * License. You may obtain a copy of the GNU General Public License - * Version 2 or later at the following locations: - * - * http://www.opensource.org/licenses/gpl-license.html - * http://www.gnu.org/copyleft/gpl.html - */ - -/dts-v1/; -/include/ "imx6q.dtsi" - -/ { - model = "Freescale i.MX6 Quad SABRE Lite Board"; - compatible = "fsl,imx6q-sabrelite", "fsl,imx6q"; - - memory { - reg = <0x10000000 0x40000000>; - }; - - soc { - aips-bus@02100000 { /* AIPS2 */ - enet@02188000 { - phy-mode = "rgmii"; - phy-reset-gpios = <&gpio3 23 0>; - status = "okay"; - }; - - usdhc@02198000 { /* uSDHC3 */ - cd-gpios = <&gpio7 0 0>; - wp-gpios = <&gpio7 1 0>; - vmmc-supply = <®_3p3v>; - status = "okay"; - }; - - usdhc@0219c000 { /* uSDHC4 */ - cd-gpios = <&gpio2 6 0>; - wp-gpios = <&gpio2 7 0>; - vmmc-supply = <®_3p3v>; - status = "okay"; - }; - - uart2: uart@021e8000 { - status = "okay"; - }; - - i2c@021a0000 { /* I2C1 */ - status = "okay"; - clock-frequency = <100000>; - - codec: sgtl5000@0a { - compatible = "fsl,sgtl5000"; - reg = <0x0a>; - VDDA-supply = <®_2p5v>; - VDDIO-supply = <®_3p3v>; - }; - }; - }; - }; - - regulators { - compatible = "simple-bus"; - - reg_2p5v: 2p5v { - compatible = "regulator-fixed"; - regulator-name = "2P5V"; - regulator-min-microvolt = <2500000>; - regulator-max-microvolt = <2500000>; - regulator-always-on; - }; - - reg_3p3v: 3p3v { - compatible = "regulator-fixed"; - regulator-name = "3P3V"; - regulator-min-microvolt = <3300000>; - regulator-max-microvolt = <3300000>; - regulator-always-on; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/imx6q.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v2/imx6q.dtsi deleted file mode 100644 index 4905f51a1..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/imx6q.dtsi +++ /dev/null @@ -1,575 +0,0 @@ -/* - * Copyright 2011 Freescale Semiconductor, Inc. - * Copyright 2011 Linaro Ltd. - * - * The code contained herein is licensed under the GNU General Public - * License. You may obtain a copy of the GNU General Public License - * Version 2 or later at the following locations: - * - * http://www.opensource.org/licenses/gpl-license.html - * http://www.gnu.org/copyleft/gpl.html - */ - -/include/ "skeleton.dtsi" - -/ { - aliases { - serial0 = &uart1; - serial1 = &uart2; - serial2 = &uart3; - serial3 = &uart4; - serial4 = &uart5; - }; - - cpus { - #address-cells = <1>; - #size-cells = <0>; - - cpu@0 { - compatible = "arm,cortex-a9"; - reg = <0>; - next-level-cache = <&L2>; - }; - - cpu@1 { - compatible = "arm,cortex-a9"; - reg = <1>; - next-level-cache = <&L2>; - }; - - cpu@2 { - compatible = "arm,cortex-a9"; - reg = <2>; - next-level-cache = <&L2>; - }; - - cpu@3 { - compatible = "arm,cortex-a9"; - reg = <3>; - next-level-cache = <&L2>; - }; - }; - - intc: interrupt-controller@00a01000 { - compatible = "arm,cortex-a9-gic"; - #interrupt-cells = <3>; - #address-cells = <1>; - #size-cells = <1>; - interrupt-controller; - reg = <0x00a01000 0x1000>, - <0x00a00100 0x100>; - }; - - clocks { - #address-cells = <1>; - #size-cells = <0>; - - ckil { - compatible = "fsl,imx-ckil", "fixed-clock"; - clock-frequency = <32768>; - }; - - ckih1 { - compatible = "fsl,imx-ckih1", "fixed-clock"; - clock-frequency = <0>; - }; - - osc { - compatible = "fsl,imx-osc", "fixed-clock"; - clock-frequency = <24000000>; - }; - }; - - soc { - #address-cells = <1>; - #size-cells = <1>; - compatible = "simple-bus"; - interrupt-parent = <&intc>; - ranges; - - timer@00a00600 { - compatible = "arm,cortex-a9-twd-timer"; - reg = <0x00a00600 0x20>; - interrupts = <1 13 0xf01>; - }; - - L2: l2-cache@00a02000 { - compatible = "arm,pl310-cache"; - reg = <0x00a02000 0x1000>; - interrupts = <0 92 0x04>; - cache-unified; - cache-level = <2>; - }; - - aips-bus@02000000 { /* AIPS1 */ - compatible = "fsl,aips-bus", "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0x02000000 0x100000>; - ranges; - - spba-bus@02000000 { - compatible = "fsl,spba-bus", "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0x02000000 0x40000>; - ranges; - - spdif@02004000 { - reg = <0x02004000 0x4000>; - interrupts = <0 52 0x04>; - }; - - ecspi@02008000 { /* eCSPI1 */ - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx6q-ecspi", "fsl,imx51-ecspi"; - reg = <0x02008000 0x4000>; - interrupts = <0 31 0x04>; - status = "disabled"; - }; - - ecspi@0200c000 { /* eCSPI2 */ - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx6q-ecspi", "fsl,imx51-ecspi"; - reg = <0x0200c000 0x4000>; - interrupts = <0 32 0x04>; - status = "disabled"; - }; - - ecspi@02010000 { /* eCSPI3 */ - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx6q-ecspi", "fsl,imx51-ecspi"; - reg = <0x02010000 0x4000>; - interrupts = <0 33 0x04>; - status = "disabled"; - }; - - ecspi@02014000 { /* eCSPI4 */ - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx6q-ecspi", "fsl,imx51-ecspi"; - reg = <0x02014000 0x4000>; - interrupts = <0 34 0x04>; - status = "disabled"; - }; - - ecspi@02018000 { /* eCSPI5 */ - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx6q-ecspi", "fsl,imx51-ecspi"; - reg = <0x02018000 0x4000>; - interrupts = <0 35 0x04>; - status = "disabled"; - }; - - uart1: uart@02020000 { - compatible = "fsl,imx6q-uart", "fsl,imx21-uart"; - reg = <0x02020000 0x4000>; - interrupts = <0 26 0x04>; - status = "disabled"; - }; - - esai@02024000 { - reg = <0x02024000 0x4000>; - interrupts = <0 51 0x04>; - }; - - ssi@02028000 { /* SSI1 */ - reg = <0x02028000 0x4000>; - interrupts = <0 46 0x04>; - }; - - ssi@0202c000 { /* SSI2 */ - reg = <0x0202c000 0x4000>; - interrupts = <0 47 0x04>; - }; - - ssi@02030000 { /* SSI3 */ - reg = <0x02030000 0x4000>; - interrupts = <0 48 0x04>; - }; - - asrc@02034000 { - reg = <0x02034000 0x4000>; - interrupts = <0 50 0x04>; - }; - - spba@0203c000 { - reg = <0x0203c000 0x4000>; - }; - }; - - vpu@02040000 { - reg = <0x02040000 0x3c000>; - interrupts = <0 3 0x04 0 12 0x04>; - }; - - aipstz@0207c000 { /* AIPSTZ1 */ - reg = <0x0207c000 0x4000>; - }; - - pwm@02080000 { /* PWM1 */ - reg = <0x02080000 0x4000>; - interrupts = <0 83 0x04>; - }; - - pwm@02084000 { /* PWM2 */ - reg = <0x02084000 0x4000>; - interrupts = <0 84 0x04>; - }; - - pwm@02088000 { /* PWM3 */ - reg = <0x02088000 0x4000>; - interrupts = <0 85 0x04>; - }; - - pwm@0208c000 { /* PWM4 */ - reg = <0x0208c000 0x4000>; - interrupts = <0 86 0x04>; - }; - - flexcan@02090000 { /* CAN1 */ - reg = <0x02090000 0x4000>; - interrupts = <0 110 0x04>; - }; - - flexcan@02094000 { /* CAN2 */ - reg = <0x02094000 0x4000>; - interrupts = <0 111 0x04>; - }; - - gpt@02098000 { - compatible = "fsl,imx6q-gpt"; - reg = <0x02098000 0x4000>; - interrupts = <0 55 0x04>; - }; - - gpio1: gpio@0209c000 { - compatible = "fsl,imx6q-gpio", "fsl,imx31-gpio"; - reg = <0x0209c000 0x4000>; - interrupts = <0 66 0x04 0 67 0x04>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - gpio2: gpio@020a0000 { - compatible = "fsl,imx6q-gpio", "fsl,imx31-gpio"; - reg = <0x020a0000 0x4000>; - interrupts = <0 68 0x04 0 69 0x04>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - gpio3: gpio@020a4000 { - compatible = "fsl,imx6q-gpio", "fsl,imx31-gpio"; - reg = <0x020a4000 0x4000>; - interrupts = <0 70 0x04 0 71 0x04>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - gpio4: gpio@020a8000 { - compatible = "fsl,imx6q-gpio", "fsl,imx31-gpio"; - reg = <0x020a8000 0x4000>; - interrupts = <0 72 0x04 0 73 0x04>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - gpio5: gpio@020ac000 { - compatible = "fsl,imx6q-gpio", "fsl,imx31-gpio"; - reg = <0x020ac000 0x4000>; - interrupts = <0 74 0x04 0 75 0x04>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - gpio6: gpio@020b0000 { - compatible = "fsl,imx6q-gpio", "fsl,imx31-gpio"; - reg = <0x020b0000 0x4000>; - interrupts = <0 76 0x04 0 77 0x04>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - gpio7: gpio@020b4000 { - compatible = "fsl,imx6q-gpio", "fsl,imx31-gpio"; - reg = <0x020b4000 0x4000>; - interrupts = <0 78 0x04 0 79 0x04>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - kpp@020b8000 { - reg = <0x020b8000 0x4000>; - interrupts = <0 82 0x04>; - }; - - wdog@020bc000 { /* WDOG1 */ - compatible = "fsl,imx6q-wdt", "fsl,imx21-wdt"; - reg = <0x020bc000 0x4000>; - interrupts = <0 80 0x04>; - status = "disabled"; - }; - - wdog@020c0000 { /* WDOG2 */ - compatible = "fsl,imx6q-wdt", "fsl,imx21-wdt"; - reg = <0x020c0000 0x4000>; - interrupts = <0 81 0x04>; - status = "disabled"; - }; - - ccm@020c4000 { - compatible = "fsl,imx6q-ccm"; - reg = <0x020c4000 0x4000>; - interrupts = <0 87 0x04 0 88 0x04>; - }; - - anatop@020c8000 { - compatible = "fsl,imx6q-anatop"; - reg = <0x020c8000 0x1000>; - interrupts = <0 49 0x04 0 54 0x04 0 127 0x04>; - }; - - usbphy@020c9000 { /* USBPHY1 */ - reg = <0x020c9000 0x1000>; - interrupts = <0 44 0x04>; - }; - - usbphy@020ca000 { /* USBPHY2 */ - reg = <0x020ca000 0x1000>; - interrupts = <0 45 0x04>; - }; - - snvs@020cc000 { - reg = <0x020cc000 0x4000>; - interrupts = <0 19 0x04 0 20 0x04>; - }; - - epit@020d0000 { /* EPIT1 */ - reg = <0x020d0000 0x4000>; - interrupts = <0 56 0x04>; - }; - - epit@020d4000 { /* EPIT2 */ - reg = <0x020d4000 0x4000>; - interrupts = <0 57 0x04>; - }; - - src@020d8000 { - compatible = "fsl,imx6q-src"; - reg = <0x020d8000 0x4000>; - interrupts = <0 91 0x04 0 96 0x04>; - }; - - gpc@020dc000 { - compatible = "fsl,imx6q-gpc"; - reg = <0x020dc000 0x4000>; - interrupts = <0 89 0x04 0 90 0x04>; - }; - - iomuxc@020e0000 { - reg = <0x020e0000 0x4000>; - }; - - dcic@020e4000 { /* DCIC1 */ - reg = <0x020e4000 0x4000>; - interrupts = <0 124 0x04>; - }; - - dcic@020e8000 { /* DCIC2 */ - reg = <0x020e8000 0x4000>; - interrupts = <0 125 0x04>; - }; - - sdma@020ec000 { - compatible = "fsl,imx6q-sdma", "fsl,imx35-sdma"; - reg = <0x020ec000 0x4000>; - interrupts = <0 2 0x04>; - }; - }; - - aips-bus@02100000 { /* AIPS2 */ - compatible = "fsl,aips-bus", "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0x02100000 0x100000>; - ranges; - - caam@02100000 { - reg = <0x02100000 0x40000>; - interrupts = <0 105 0x04 0 106 0x04>; - }; - - aipstz@0217c000 { /* AIPSTZ2 */ - reg = <0x0217c000 0x4000>; - }; - - enet@02188000 { - compatible = "fsl,imx6q-fec"; - reg = <0x02188000 0x4000>; - interrupts = <0 118 0x04 0 119 0x04>; - status = "disabled"; - }; - - mlb@0218c000 { - reg = <0x0218c000 0x4000>; - interrupts = <0 53 0x04 0 117 0x04 0 126 0x04>; - }; - - usdhc@02190000 { /* uSDHC1 */ - compatible = "fsl,imx6q-usdhc"; - reg = <0x02190000 0x4000>; - interrupts = <0 22 0x04>; - status = "disabled"; - }; - - usdhc@02194000 { /* uSDHC2 */ - compatible = "fsl,imx6q-usdhc"; - reg = <0x02194000 0x4000>; - interrupts = <0 23 0x04>; - status = "disabled"; - }; - - usdhc@02198000 { /* uSDHC3 */ - compatible = "fsl,imx6q-usdhc"; - reg = <0x02198000 0x4000>; - interrupts = <0 24 0x04>; - status = "disabled"; - }; - - usdhc@0219c000 { /* uSDHC4 */ - compatible = "fsl,imx6q-usdhc"; - reg = <0x0219c000 0x4000>; - interrupts = <0 25 0x04>; - status = "disabled"; - }; - - i2c@021a0000 { /* I2C1 */ - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx6q-i2c", "fsl,imx1-i2c"; - reg = <0x021a0000 0x4000>; - interrupts = <0 36 0x04>; - status = "disabled"; - }; - - i2c@021a4000 { /* I2C2 */ - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx6q-i2c", "fsl,imx1-i2c"; - reg = <0x021a4000 0x4000>; - interrupts = <0 37 0x04>; - status = "disabled"; - }; - - i2c@021a8000 { /* I2C3 */ - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx6q-i2c", "fsl,imx1-i2c"; - reg = <0x021a8000 0x4000>; - interrupts = <0 38 0x04>; - status = "disabled"; - }; - - romcp@021ac000 { - reg = <0x021ac000 0x4000>; - }; - - mmdc@021b0000 { /* MMDC0 */ - compatible = "fsl,imx6q-mmdc"; - reg = <0x021b0000 0x4000>; - }; - - mmdc@021b4000 { /* MMDC1 */ - reg = <0x021b4000 0x4000>; - }; - - weim@021b8000 { - reg = <0x021b8000 0x4000>; - interrupts = <0 14 0x04>; - }; - - ocotp@021bc000 { - reg = <0x021bc000 0x4000>; - }; - - ocotp@021c0000 { - reg = <0x021c0000 0x4000>; - interrupts = <0 21 0x04>; - }; - - tzasc@021d0000 { /* TZASC1 */ - reg = <0x021d0000 0x4000>; - interrupts = <0 108 0x04>; - }; - - tzasc@021d4000 { /* TZASC2 */ - reg = <0x021d4000 0x4000>; - interrupts = <0 109 0x04>; - }; - - audmux@021d8000 { - reg = <0x021d8000 0x4000>; - }; - - mipi@021dc000 { /* MIPI-CSI */ - reg = <0x021dc000 0x4000>; - }; - - mipi@021e0000 { /* MIPI-DSI */ - reg = <0x021e0000 0x4000>; - }; - - vdoa@021e4000 { - reg = <0x021e4000 0x4000>; - interrupts = <0 18 0x04>; - }; - - uart2: uart@021e8000 { - compatible = "fsl,imx6q-uart", "fsl,imx21-uart"; - reg = <0x021e8000 0x4000>; - interrupts = <0 27 0x04>; - status = "disabled"; - }; - - uart3: uart@021ec000 { - compatible = "fsl,imx6q-uart", "fsl,imx21-uart"; - reg = <0x021ec000 0x4000>; - interrupts = <0 28 0x04>; - status = "disabled"; - }; - - uart4: uart@021f0000 { - compatible = "fsl,imx6q-uart", "fsl,imx21-uart"; - reg = <0x021f0000 0x4000>; - interrupts = <0 29 0x04>; - status = "disabled"; - }; - - uart5: uart@021f4000 { - compatible = "fsl,imx6q-uart", "fsl,imx21-uart"; - reg = <0x021f4000 0x4000>; - interrupts = <0 30 0x04>; - status = "disabled"; - }; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/kirkwood-dreamplug.dts b/kernel/arch/arm/boot/dts/tr961-5200l-v2/kirkwood-dreamplug.dts deleted file mode 100644 index a5376b842..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/kirkwood-dreamplug.dts +++ /dev/null @@ -1,24 +0,0 @@ -/dts-v1/; - -/include/ "kirkwood.dtsi" - -/ { - model = "Globalscale Technologies Dreamplug"; - compatible = "globalscale,dreamplug-003-ds2001", "globalscale,dreamplug", "mrvl,kirkwood-88f6281", "mrvl,kirkwood"; - - memory { - device_type = "memory"; - reg = <0x00000000 0x20000000>; - }; - - chosen { - bootargs = "console=ttyS0,115200n8 earlyprintk"; - }; - - ocp@f1000000 { - serial@12000 { - clock-frequency = <200000000>; - status = "ok"; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/kirkwood.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v2/kirkwood.dtsi deleted file mode 100644 index 3474ef890..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/kirkwood.dtsi +++ /dev/null @@ -1,36 +0,0 @@ -/include/ "skeleton.dtsi" - -/ { - compatible = "mrvl,kirkwood"; - - ocp@f1000000 { - compatible = "simple-bus"; - ranges = <0 0xf1000000 0x1000000>; - #address-cells = <1>; - #size-cells = <1>; - - serial@12000 { - compatible = "ns16550a"; - reg = <0x12000 0x100>; - reg-shift = <2>; - interrupts = <33>; - /* set clock-frequency in board dts */ - status = "disabled"; - }; - - serial@12100 { - compatible = "ns16550a"; - reg = <0x12100 0x100>; - reg-shift = <2>; - interrupts = <34>; - /* set clock-frequency in board dts */ - status = "disabled"; - }; - - rtc@10300 { - compatible = "mrvl,kirkwood-rtc", "mrvl,orion-rtc"; - reg = <0x10300 0x20>; - interrupts = <53>; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/mpq8092-iommu.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v2/mpq8092-iommu.dtsi deleted file mode 100644 index 56369dce3..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/mpq8092-iommu.dtsi +++ /dev/null @@ -1,40 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/include/ "msm-iommu-v1.dtsi" - -&jpeg_iommu { - status = "ok"; - vdd-supply = <&gdsc_jpeg>; -}; - -&mdp_iommu { - status = "ok"; - vdd-supply = <&gdsc_mdss>; -}; - -&venus_iommu { - status = "ok"; - vdd-supply = <&gdsc_venus>; -}; - -&kgsl_iommu { - status = "ok"; - qcom,needs-alt-core-clk; - vdd-supply = <&gdsc_oxili_cx>; - qcom,alt-vdd-supply = <&gdsc_oxili_gx>; -}; - -&vfe_iommu { - status = "ok"; - vdd-supply = <&gdsc_vfe>; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/mpq8092-ion.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v2/mpq8092-ion.dtsi deleted file mode 100644 index f9f59850a..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/mpq8092-ion.dtsi +++ /dev/null @@ -1,33 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&soc { - qcom,ion { - compatible = "qcom,msm-ion"; - #address-cells = <1>; - #size-cells = <0>; - - qcom,ion-heap@30 { /* SYSTEM HEAP */ - reg = <30>; - }; - - qcom,ion-heap@21 { /* SYSTEM CONTIG HEAP */ - reg = <21>; - }; - - qcom,ion-heap@25 { /* IOMMU HEAP */ - reg = <25>; - }; - - }; -}; - diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/mpq8092-regulator.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v2/mpq8092-regulator.dtsi deleted file mode 100644 index 63896e922..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/mpq8092-regulator.dtsi +++ /dev/null @@ -1,324 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - - -/* QPNP controlled regulators: */ - -&spmi_bus { - - qcom,pma8084@1 { - pma8084_s1: regulator@1400 { - regulator-min-microvolt = <900000>; - regulator-max-microvolt = <900000>; - qcom,enable-time = <500>; - qcom,pull-down-enable = <1>; - qcom,system-load = <100000>; - status = "okay"; - }; - - pma8084_s3: regulator@1a00 { - regulator-min-microvolt = <1350000>; - regulator-max-microvolt = <1350000>; - qcom,enable-time = <500>; - qcom,pull-down-enable = <1>; - regulator-always-on; - qcom,system-load = <100000>; - status = "okay"; - }; - - pma8084_s4: regulator@1d00 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,enable-time = <500>; - qcom,pull-down-enable = <1>; - regulator-always-on; - qcom,system-load = <100000>; - status = "okay"; - }; - - pma8084_s5: regulator@2000 { - regulator-min-microvolt = <2150000>; - regulator-max-microvolt = <2150000>; - qcom,enable-time = <500>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_s6: regulator@2300 { - regulator-min-microvolt = <900000>; - regulator-max-microvolt = <900000>; - qcom,enable-time = <500>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_s8: regulator@2900 { - regulator-min-microvolt = <1050000>; - regulator-max-microvolt = <1050000>; - qcom,enable-time = <500>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_s12: regulator@3500 { - regulator-min-microvolt = <900000>; - regulator-max-microvolt = <900000>; - qcom,enable-time = <500>; - qcom,pull-down-enable = <1>; - regulator-always-on; - qcom,system-load = <100000>; - status = "okay"; - }; - - pma8084_l1: regulator@4000 { - parent-supply = <&pma8084_s3>; - regulator-min-microvolt = <1225000>; - regulator-max-microvolt = <1225000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - regulator-always-on; - qcom,system-load = <10000>; - status = "okay"; - }; - - pma8084_l2: regulator@4100 { - parent-supply = <&pma8084_s3>; - regulator-min-microvolt = <1000000>; - regulator-max-microvolt = <1000000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l3: regulator@4200 { - parent-supply = <&pma8084_s3>; - regulator-min-microvolt = <1200000>; - regulator-max-microvolt = <1200000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l4: regulator@4300 { - parent-supply = <&pma8084_s3>; - regulator-min-microvolt = <1300000>; - regulator-max-microvolt = <1300000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l6: regulator@4500 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l9: regulator@4800 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <2950000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l10: regulator@4900 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l11: regulator@4a00 { - parent-supply = <&pma8084_s3>; - regulator-min-microvolt = <1200000>; - regulator-max-microvolt = <1200000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l12: regulator@4b00 { - regulator-min-microvolt = <2500000>; - regulator-max-microvolt = <2500000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l13: regulator@4c00 { - regulator-min-microvolt = <2950000>; - regulator-max-microvolt = <2950000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - regulator-always-on; - status = "okay"; - }; - - pma8084_l14: regulator@4d00 { - regulator-min-microvolt = <950000>; - regulator-max-microvolt = <950000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l15: regulator@4e00 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l16: regulator@4f00 { - parent-supply = <&pma8084_s5>; - regulator-min-microvolt = <750000>; - regulator-max-microvolt = <750000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l17: regulator@5000 { - regulator-min-microvolt = <3150000>; - regulator-max-microvolt = <3150000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - qcom,system-load = <100000>; - status = "okay"; - }; - - pma8084_l18: regulator@5100 { - regulator-min-microvolt = <2850000>; - regulator-max-microvolt = <2850000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l19: regulator@5200 { - parent-supply = <&pma8084_s5>; - regulator-min-microvolt = <1500000>; - regulator-max-microvolt = <1500000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l20: regulator@5300 { - regulator-min-microvolt = <2950000>; - regulator-max-microvolt = <2950000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - regulator-always-on; - status = "okay"; - }; - - pma8084_l21: regulator@5400 { - regulator-min-microvolt = <2950000>; - regulator-max-microvolt = <2950000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - regulator-always-on; - status = "okay"; - }; - - pma8084_l22: regulator@5500 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - regulator-always-on; - status = "okay"; - }; - - pma8084_l23: regulator@5600 { - regulator-min-microvolt = <3000000>; - regulator-max-microvolt = <3000000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_l24: regulator@5700 { - regulator-min-microvolt = <3075000>; - regulator-max-microvolt = <3075000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - regulator-always-on; - status = "okay"; - }; - - pma8084_l25: regulator@5800 { - parent-supply = <&pma8084_s5>; - regulator-min-microvolt = <2000000>; - regulator-max-microvolt = <2000000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - pma8084_l26: regulator@5900 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - pma8084_l27: regulator@5A00 { - parent-supply = <&pma8084_s3>; - regulator-min-microvolt = <1000000>; - regulator-max-microvolt = <1000000>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_lvs1: regulator@8000 { - parent-supply = <&pma8084_s4>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_lvs2: regulator@8100 { - parent-supply = <&pma8084_s4>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_lvs3: regulator@8200 { - parent-supply = <&pma8084_s4>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_lvs4: regulator@8300 { - parent-supply = <&pma8084_s4>; - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - - pma8084_mvs1: regulator@8400 { - qcom,enable-time = <200>; - qcom,pull-down-enable = <1>; - status = "okay"; - }; - }; -}; - diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/mpq8092-rumi.dts b/kernel/arch/arm/boot/dts/tr961-5200l-v2/mpq8092-rumi.dts deleted file mode 100644 index 1abaf5596..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/mpq8092-rumi.dts +++ /dev/null @@ -1,28 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; - -/include/ "mpq8092.dtsi" -/include/ "mpq8092-rumi.dtsi" - -/ { - model = "Qualcomm MPQ8092 RUMI"; - compatible = "qcom,mpq8092-rumi", "qcom,mpq8092", "qcom,rumi"; - qcom,msm-id = <146 16 0>; -}; - -&soc { - serial@f9922000 { - status = "ok"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/mpq8092-rumi.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v2/mpq8092-rumi.dtsi deleted file mode 100644 index 201699882..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/mpq8092-rumi.dtsi +++ /dev/null @@ -1,134 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -&soc { - timer { - clock-frequency = <5000000>; - }; - - timer@f9020000 { - clock-frequency = <5000000>; - }; - - usb@f9a55000 { - status = "disable"; - }; - - qcom,sdcc@f9824000 { - status = "disabled"; - qcom,clk-rates = <400000 19200000>; - }; - - qcom,sdcc@f98a4000 { - status = "disabled"; - qcom,clk-rates = <400000 19200000>; - }; - - qcom,sps@f998000 { - status = "disable"; - }; - - spi@f9924000 { - status = "disable"; - }; - - spi@f9923000 { - compatible = "qcom,spi-qup-v2"; - reg = <0xf9923000 0x1000>; - interrupts = <0 95 0>; - spi-max-frequency = <24000000>; - #address-cells = <1>; - #size-cells = <0>; - gpios = <&msmgpio 3 0>, /* CLK */ - <&msmgpio 1 0>, /* MISO */ - <&msmgpio 0 0>; /* MOSI */ - cs-gpios = <&msmgpio 9 0>; - - ethernet-switch@2 { - compatible = "simtec,ks8851"; - reg = <2>; - interrupt-parent = <&msmgpio>; - interrupts = <90 0>; - spi-max-frequency = <5000000>; - }; - }; - - i2c@f9966000 { - status = "disable"; - }; - - i2c@f9967000 { - status = "disable"; - cell-index = <0>; - compatible = "qcom,i2c-qup"; - reg = <0Xf9967000 0x1000>; - reg-names = "qup_phys_addr"; - interrupts = <0 105 0>; - interrupt-names = "qup_err_intr"; - qcom,i2c-bus-freq = <100000>; - qcom,i2c-src-freq = <19200000>; - gpios = <&msmgpio 83 0>,/* DAT */ - <&msmgpio 84 0>;/* CLK */ - }; - - slim@fe12f000 { - status = "disable"; - }; - - qcom,mdss_dsi@fd922800 { - status = "disable"; - }; - - qcom,spmi@fc4c0000 { - status = "disable"; - }; - - qcom,ssusb@F9200000 { - status = "disable"; - }; - - qcom,lpass@fe200000 { - status = "disable"; - }; - - qcom,pronto@fb21b000 { - status = "disable"; - }; - - qcom,mss@fc880000 { - status = "disable"; - }; - - qcom,kgsl-3d0@fdb00000 { - status = "disabled"; - }; -}; - -&gdsc_venus { - status = "disabled"; -}; - -&gdsc_jpeg { - status = "disabled"; -}; - -&gdsc_oxili_gx { - status = "disabled"; -}; - -&gdsc_oxili_cx { - status = "disabled"; -}; - -&gdsc_usb_hsic { - status = "disabled"; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/mpq8092-sim.dts b/kernel/arch/arm/boot/dts/tr961-5200l-v2/mpq8092-sim.dts deleted file mode 100644 index 676ef3b17..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/mpq8092-sim.dts +++ /dev/null @@ -1,125 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/dts-v1/; - -/include/ "mpq8092.dtsi" - -/ { - model = "Qualcomm MPQ8092 Simulator"; - compatible = "qcom,mpq8092-sim", "qcom,mpq8092", "qcom,sim"; - qcom,msm-id = <126 16 0>; -}; - -&soc { - serial@f991f000 { - status = "ok"; - }; - - serial@f995e000 { - status = "ok"; - }; -}; - -&pma8084_gpios { - gpio@c000 { /* GPIO 1 */ - }; - - gpio@c100 { /* GPIO 2 */ - }; - - gpio@c200 { /* GPIO 3 */ - }; - - gpio@c300 { /* GPIO 4 */ - }; - - gpio@c400 { /* GPIO 5 */ - }; - - gpio@c500 { /* GPIO 6 */ - }; - - gpio@c600 { /* GPIO 7 */ - }; - - gpio@c700 { /* GPIO 8 */ - }; - - gpio@c800 { /* GPIO 9 */ - }; - - gpio@c900 { /* GPIO 10 */ - }; - - gpio@ca00 { /* GPIO 11 */ - }; - - gpio@cb00 { /* GPIO 12 */ - }; - - gpio@cc00 { /* GPIO 13 */ - }; - - gpio@cd00 { /* GPIO 14 */ - }; - - gpio@ce00 { /* GPIO 15 */ - }; - - gpio@cf00 { /* GPIO 16 */ - }; - - gpio@d000 { /* GPIO 17 */ - }; - - gpio@d100 { /* GPIO 18 */ - }; - - gpio@d200 { /* GPIO 19 */ - }; - - gpio@d300 { /* GPIO 20 */ - }; - - gpio@d400 { /* GPIO 21 */ - }; - - gpio@d500 { /* GPIO 22 */ - }; -}; - -&pma8084_mpps { - mpp@a000 { /* MPP 1 */ - }; - - mpp@a100 { /* MPP 2 */ - }; - - mpp@a200 { /* MPP 3 */ - }; - - mpp@a300 { /* MPP 4 */ - }; - - mpp@a400 { /* MPP5 */ - }; - - mpp@a500 { /* MPP 6 */ - }; - - mpp@a600 { /* MPP 7 */ - }; - - mpp@a700 { /* MPP 8 */ - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/mpq8092.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v2/mpq8092.dtsi deleted file mode 100644 index e8674a055..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/mpq8092.dtsi +++ /dev/null @@ -1,240 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/include/ "skeleton.dtsi" - -/ { - model = "Qualcomm MPQ8092"; - compatible = "qcom,mpq8092"; - interrupt-parent = <&intc>; - - soc: soc { }; -}; - -/include/ "mpq8092-iommu.dtsi" -/include/ "msm-gdsc.dtsi" -/include/ "mpq8092-ion.dtsi" - -&soc { - #address-cells = <1>; - #size-cells = <1>; - ranges; - - intc: interrupt-controller@f9000000 { - compatible = "qcom,msm-qgic2"; - interrupt-controller; - #interrupt-cells = <3>; - reg = <0xf9000000 0x1000>, - <0xf9002000 0x1000>; - }; - - msmgpio: gpio@fd510000 { - compatible = "qcom,msm-gpio"; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - reg = <0xfd510000 0x4000>; - ngpio = <146>; - interrupts = <0 208 0>; - qcom,direct-connect-irqs = <8>; - }; - - timer { - compatible = "arm,armv7-timer"; - interrupts = <1 2 0>, <1 3 0>; - clock-frequency = <19200000>; - }; - - 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 8 0x4>, - <0 7 0x4>; - reg = <0xf9021000 0x1000>, - <0xf9022000 0x1000>; - }; - - frame@f9023000 { - frame-number = <1>; - interrupts = <0 9 0x4>; - reg = <0xf9023000 0x1000>; - status = "disabled"; - }; - - frame@f9024000 { - frame-number = <2>; - interrupts = <0 10 0x4>; - reg = <0xf9024000 0x1000>; - status = "disabled"; - }; - - frame@f9025000 { - frame-number = <3>; - interrupts = <0 11 0x4>; - reg = <0xf9025000 0x1000>; - status = "disabled"; - }; - - frame@f9026000 { - frame-number = <4>; - interrupts = <0 12 0x4>; - reg = <0xf9026000 0x1000>; - status = "disabled"; - }; - - frame@f9027000 { - frame-number = <5>; - interrupts = <0 13 0x4>; - reg = <0xf9027000 0x1000>; - status = "disabled"; - }; - - frame@f9028000 { - frame-number = <6>; - interrupts = <0 14 0x4>; - reg = <0xf9028000 0x1000>; - status = "disabled"; - }; - }; - - serial@f991f000 { - compatible = "qcom,msm-lsuart-v14"; - reg = <0xf991f000 0x1000>; - interrupts = <0 109 0>; - status = "disabled"; - }; - - serial@f9922000 { - compatible = "qcom,msm-lsuart-v14"; - reg = <0xf9922000 0x1000>; - interrupts = <0 112 0>; - status = "disabled"; - }; - - serial@f995e000 { - compatible = "qcom,msm-lsuart-v14"; - reg = <0xf995e000 0x1000>; - interrupts = <0 114 0>; - status = "disabled"; - }; - - qcom,msm-imem@fe805000 { - compatible = "qcom,msm-imem"; - reg = <0xfe805000 0x1000>; /* Address and size of IMEM */ - }; - - spmi_bus: qcom,spmi@fc4c0000 { - cell-index = <0>; - 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,not-wakeup; - qcom,pmic-arb-ee = <0>; - qcom,pmic-arb-channel = <0>; - }; - - sdcc1: qcom,sdcc@f9824000 { - cell-index = <1>; /* SDC1 eMMC slot */ - compatible = "qcom,msm-sdcc"; - reg = <0xf9824000 0x800>; - reg-names = "core_mem"; - interrupts = <0 123 0>; - interrupt-names = "core_irq"; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - qcom,sup-voltages = <2950 2950>; - qcom,bus-width = <8>; - qcom,nonremovable; - qcom,bus-speed-mode = "HS200_1p8v", "DDR_1p8v"; - }; - - sdcc2: qcom,sdcc@f98a4000 { - cell-index = <2>; /* SDC2 SD card slot */ - compatible = "qcom,msm-sdcc"; - reg = <0xf98a4000 0x800>; - reg-names = "core_mem"; - interrupts = <0 125 0>; - interrupt-names = "core_irq"; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - qcom,sup-voltages = <2950 2950>; - qcom,bus-width = <4>; - qcom,xpc; - qcom,bus-speed-mode = "SDR12", "SDR25", "SDR50", "DDR50", "SDR104"; - qcom,current-limit = <800>; - }; - - sata: sata@fc580000 { - compatible = "qcom,msm-ahci"; - reg = <0xfc580000 0x17c>; - interrupts = <0 243 0>; - }; - - qcom,wdt@f9017000 { - compatible = "qcom,msm-watchdog"; - reg = <0xf9017000 0x1000>; - interrupts = <0 3 0>, <0 4 0>; - qcom,bark-time = <11000>; - qcom,pet-time = <10000>; - qcom,ipi-ping; - }; -}; - -&gdsc_venus { - status = "ok"; -}; - -&gdsc_mdss { - status = "ok"; -}; - -&gdsc_jpeg { - status = "ok"; -}; - -&gdsc_oxili_gx { - status = "ok"; -}; - -&gdsc_oxili_cx { - status = "ok"; -}; - -&gdsc_usb_hsic { - status = "ok"; -}; - -/include/ "msm-pma8084.dtsi" -/include/ "mpq8092-regulator.dtsi" diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm-gdsc.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm-gdsc.dtsi deleted file mode 100644 index 78234e858..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm-gdsc.dtsi +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Copyright (c) 2012-2013, 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. - */ - -&soc { - gdsc_venus: qcom,gdsc@fd8c1024 { - compatible = "qcom,gdsc"; - regulator-name = "gdsc_venus"; - reg = <0xfd8c1024 0x4>; - status = "disabled"; - }; - - gdsc_mdss: qcom,gdsc@fd8c2304 { - compatible = "qcom,gdsc"; - regulator-name = "gdsc_mdss"; - reg = <0xfd8c2304 0x4>; - status = "disabled"; - }; - - gdsc_jpeg: qcom,gdsc@fd8c35a4 { - compatible = "qcom,gdsc"; - regulator-name = "gdsc_jpeg"; - reg = <0xfd8c35a4 0x4>; - status = "disabled"; - }; - - gdsc_vfe: qcom,gdsc@fd8c36a4 { - compatible = "qcom,gdsc"; - regulator-name = "gdsc_vfe"; - reg = <0xfd8c36a4 0x4>; - status = "disabled"; - }; - - gdsc_oxili_gx: qcom,gdsc@fd8c4024 { - compatible = "qcom,gdsc"; - regulator-name = "gdsc_oxili_gx"; - reg = <0xfd8c4024 0x4>; - status = "disabled"; - }; - - gdsc_oxili_cx: qcom,gdsc@fd8c4034 { - compatible = "qcom,gdsc"; - regulator-name = "gdsc_oxili_cx"; - reg = <0xfd8c4034 0x4>; - status = "disabled"; - }; - - gdsc_usb_hsic: qcom,gdsc@fc400404 { - compatible = "qcom,gdsc"; - regulator-name = "gdsc_usb_hsic"; - reg = <0xfc400404 0x4>; - status = "disabled"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm-iommu-v0.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm-iommu-v0.dtsi deleted file mode 100644 index 2cfc5cf07..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm-iommu-v0.dtsi +++ /dev/null @@ -1,333 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&soc { - lpass_iommu: qcom,iommu@fd000000 { - compatible = "qcom,msm-smmu-v0"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - reg = <0xfd000000 0x10000>; - interrupts = <0 248 0>; - qcom,glb-offset = <0xF000>; - label = "lpass_iommu"; - qcom,iommu-pmu-ngroups = <1>; - qcom,iommu-pmu-ncounters = <4>; - qcom,iommu-pmu-event-classes = <0x08 - 0x09 - 0x10 - 0x12 - 0x80>; - qcom,msm-bus,name = "lpass_ebi"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,active-only; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <11 512 0 0>, - <11 512 0 1000>; - status = "disabled"; - - lpass_q6_fw: qcom,iommu-ctx@fd000000 { - compatible = "qcom,msm-smmu-v0-ctx"; - reg = <0xfd000000 0x1000>; - interrupts = <0 250 0>; - qcom,iommu-ctx-mids = <0 15>; - label = "q6_fw"; - }; - - lpass_audio_shared: qcom,iommu-ctx@fd001000 { - compatible = "qcom,msm-smmu-v0-ctx"; - reg = <0xfd001000 0x1000>; - interrupts = <0 250 0>; - qcom,iommu-ctx-mids = <1>; - label = "audio_shared"; - }; - - lpass_video_shared: qcom,iommu-ctx@fd002000 { - compatible = "qcom,msm-smmu-v0-ctx"; - reg = <0xfd002000 0x1000>; - interrupts = <0 250 0>; - qcom,iommu-ctx-mids = <2>; - label = "video_shared"; - }; - - lpass_q6_spare: qcom,iommu-ctx@fd003000 { - compatible = "qcom,msm-smmu-v0-ctx"; - reg = <0xfd003000 0x1000>; - interrupts = <0 250 0>; - qcom,iommu-ctx-mids = <3 4 5 6 7 8 9 10 11 12 13 14>; - label = "q6_spare"; - }; - }; - - copss_iommu: qcom,iommu@fd010000 { - compatible = "qcom,msm-smmu-v0"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - reg = <0xfd010000 0x10000>; - interrupts = <0 252 0>; - qcom,glb-offset = <0xF000>; - label = "copss_iommu"; - qcom,iommu-pmu-ngroups = <1>; - qcom,iommu-pmu-ncounters = <4>; - qcom,iommu-pmu-event-classes = <0x08 - 0x09 - 0x10 - 0x12 - 0x80>; - qcom,msm-bus,name = "copss_ebi"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,active-only; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <88 512 0 0>, - <88 512 0 1000>; - - status = "disabled"; - - qcom,iommu-ctx@fd010000 { - compatible = "qcom,msm-smmu-v0-ctx"; - reg = <0xfd010000 0x1000>; - interrupts = <0 254 0>; - qcom,iommu-ctx-mids = <0>; - label = "copss_0"; - }; - - qcom,iommu-ctx@fd011000 { - compatible = "qcom,msm-smmu-v0-ctx"; - reg = <0xfd011000 0x1000>; - interrupts = <0 254 0>; - qcom,iommu-ctx-mids = <1>; - label = "copss_1"; - }; - - qcom,iommu-ctx@fd012000 { - compatible = "qcom,msm-smmu-v0-ctx"; - reg = <0xfd012000 0x1000>; - interrupts = <0 254 0>; - qcom,iommu-ctx-mids = <2>; - label = "copss_2"; - }; - - qcom,iommu-ctx@fd013000 { - compatible = "qcom,msm-smmu-v0-ctx"; - reg = <0xfd013000 0x1000>; - interrupts = <0 254 0>; - qcom,iommu-ctx-mids = <3>; - label = "copss_3"; - }; - - qcom,iommu-ctx@fd014000 { - compatible = "qcom,msm-smmu-v0-ctx"; - reg = <0xfd014000 0x1000>; - interrupts = <0 254 0>; - qcom,iommu-ctx-mids = <4>; - label = "copss_4"; - }; - - qcom,iommu-ctx@fd015000 { - compatible = "qcom,msm-smmu-v0-ctx"; - reg = <0xfd015000 0x1000>; - interrupts = <0 254 0>; - qcom,iommu-ctx-mids = <5>; - label = "copss_5"; - }; - - qcom,iommu-ctx@fd016000 { - compatible = "qcom,msm-smmu-v0-ctx"; - reg = <0xfd016000 0x1000>; - interrupts = <0 254 0>; - qcom,iommu-ctx-mids = <6>; - label = "copss_6"; - }; - - qcom,iommu-ctx@fd017000 { - compatible = "qcom,msm-smmu-v0-ctx"; - reg = <0xfd017000 0x1000>; - interrupts = <0 254 0>; - qcom,iommu-ctx-mids = <7>; - label = "copss_7"; - }; - }; - - mdpe_iommu: qcom,iommu@fd860000 { - compatible = "qcom,msm-smmu-v0"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - reg = <0xfd860000 0x10000>; - interrupts = <0 245 0>; - qcom,glb-offset = <0xF000>; - label = "mdpe_iommu"; - qcom,iommu-pmu-ngroups = <1>; - qcom,iommu-pmu-ncounters = <4>; - qcom,iommu-pmu-event-classes = <0x08 - 0x09 - 0x10 - 0x12 - 0x80>; - qcom,msm-bus,name = "mdpe_ebi"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,active-only; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <92 512 0 0>, - <92 512 0 1000>; - status = "disabled"; - - qcom,iommu-ctx@fd860000 { - compatible = "qcom,msm-smmu-v0-ctx"; - reg = <0xfd860000 0x1000>; - interrupts = <0 247 0>; - qcom,iommu-ctx-mids = <0 1 3>; - label = "mdpe_0"; - }; - - qcom,iommu-ctx@fd861000 { - compatible = "qcom,msm-smmu-v0-ctx"; - reg = <0xfd861000 0x1000>; - interrupts = <0 247 0>; - qcom,iommu-ctx-mids = <2>; - label = "mdpe_1"; - }; - }; - - mdps_iommu: qcom,iommu@fd870000 { - compatible = "qcom,msm-smmu-v0"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - reg = <0xfd870000 0x10000>; - interrupts = <0 73 0>; - qcom,glb-offset = <0xF000>; - label = "mdps_iommu"; - qcom,iommu-pmu-ngroups = <1>; - qcom,iommu-pmu-ncounters = <4>; - qcom,iommu-pmu-event-classes = <0x08 - 0x09 - 0x10 - 0x12 - 0x80>; - qcom,msm-bus,name = "mdps_ebi"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,active-only; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <22 512 0 0>, - <22 512 0 1000>; - status = "disabled"; - - qcom,iommu-ctx@fd870000 { - compatible = "qcom,msm-smmu-v0-ctx"; - reg = <0xfd870000 0x1000>; - interrupts = <0 47 0>; - qcom,iommu-ctx-mids = <0>; - label = "mdps_0"; - }; - - qcom,iommu-ctx@fd871000 { - compatible = "qcom,msm-smmu-v0-ctx"; - reg = <0xfd871000 0x1000>; - interrupts = <0 47 0>; - qcom,iommu-ctx-mids = <1>; - label = "mdps_1"; - }; - }; - - gfx_iommu: qcom,iommu@fd880000 { - compatible = "qcom,msm-smmu-v0"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - reg = <0xfd880000 0x10000>; - interrupts = <0 38 0>; - qcom,glb-offset = <0xF000>; - qcom,needs-alt-core-clk; - label = "gfx_iommu"; - qcom,iommu-pmu-ngroups = <1>; - qcom,iommu-pmu-ncounters = <4>; - qcom,iommu-pmu-event-classes = <0x08 - 0x09 - 0x10 - 0x12 - 0x80>; - qcom,msm-bus,name = "gfx_ebi"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,active-only; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <26 512 0 0>, - <26 512 0 1000>; - status = "disabled"; - - qcom,iommu-ctx@fd880000 { - compatible = "qcom,msm-smmu-v0-ctx"; - reg = <0xfd880000 0x1000>; - interrupts = <0 241 0>; - qcom,iommu-ctx-mids = <0 1 2 3 4 5 6 7 8 9 10 11 12 13 - 14 15>; - label = "gfx3d_user"; - }; - - qcom,iommu-ctx@fd881000 { - compatible = "qcom,msm-smmu-v0-ctx"; - reg = <0xfd881000 0x1000>; - interrupts = <0 241 0>; - qcom,iommu-ctx-mids = <16 17 18 19 20 21 22 23 24 25 - 26 27 28 29 30 31>; - label = "gfx3d_priv"; - }; - - qcom,iommu-ctx@fd882000 { - compatible = "qcom,msm-smmu-v0-ctx"; - reg = <0xfd882000 0x1000>; - interrupts = <0 241 0>; - qcom,iommu-ctx-mids = <>; - label = "gfx3d_spare"; - }; - }; - - vfe_iommu: qcom,iommu@fd890000 { - compatible = "qcom,msm-smmu-v0"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - reg = <0xfd890000 0x10000>; - interrupts = <0 62 0>; - qcom,glb-offset = <0xF000>; - label = "vfe_iommu"; - qcom,iommu-pmu-ngroups = <1>; - qcom,iommu-pmu-ncounters = <4>; - qcom,iommu-pmu-event-classes = <0x08 - 0x09 - 0x10 - 0x12 - 0x80>; - qcom,msm-bus,name = "vfe_ebi"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,active-only; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <29 512 0 0>, - <29 512 0 1000>; - status = "disabled"; - - qcom,iommu-ctx@fd890000 { - compatible = "qcom,msm-smmu-v0-ctx"; - reg = <0xfd890000 0x1000>; - interrupts = <0 65 0>; - qcom,iommu-ctx-mids = <0 1 2 3 4 5 6 7 8 9>; - label = "vfe0"; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm-iommu-v1.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm-iommu-v1.dtsi deleted file mode 100644 index 44920778e..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm-iommu-v1.dtsi +++ /dev/null @@ -1,514 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&soc { - jpeg_iommu: qcom,iommu@fda64000 { - compatible = "qcom,msm-smmu-v1"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - reg = <0xfda64000 0x10000>; - reg-names = "iommu_base"; - interrupts = <0 67 0>; - qcom,needs-alt-core-clk; - label = "jpeg_iommu"; - status = "disabled"; - qcom,msm-bus,name = "jpeg_ebi"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,active-only; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <62 512 0 0>, - <62 512 0 1000>; - - qcom,iommu-pmu-ngroups = <1>; - qcom,iommu-pmu-ncounters = <8>; - qcom,iommu-pmu-event-classes = <0x00 - 0x01 - 0x08 - 0x09 - 0x0A - 0x10 - 0x11 - 0x12 - 0x80 - 0x81 - 0x82 - 0x83 - 0x90 - 0x91 - 0x92 - 0xb0 - 0xb1>; - - qcom,iommu-bfb-regs = <0x204c - 0x2050 - 0x2514 - 0x2540 - 0x256c - 0x2314 - 0x2394 - 0x2414 - 0x20ac - 0x215c - 0x220c - 0x2008 - 0x200c - 0x2010 - 0x2014>; - - qcom,iommu-bfb-data = <0x0000ffff - 0x0 - 0x4 - 0x4 - 0x0 - 0x0 - 0x10 - 0x50 - 0x0 - 0x10 - 0x20 - 0x0 - 0x0 - 0x0 - 0x0>; - - qcom,iommu-ctx@fda6c000 { - compatible = "qcom,msm-smmu-v1-ctx"; - reg = <0xfda6c000 0x1000>; - interrupts = <0 70 0>; - qcom,iommu-ctx-sids = <0>; - label = "jpeg_enc0"; - }; - - qcom,iommu-ctx@fda6d000 { - compatible = "qcom,msm-smmu-v1-ctx"; - reg = <0xfda6d000 0x1000>; - interrupts = <0 70 0>; - qcom,iommu-ctx-sids = <1>; - label = "jpeg_enc1"; - }; - - qcom,iommu-ctx@fda6e000 { - compatible = "qcom,msm-smmu-v1-ctx"; - reg = <0xfda6e000 0x1000>; - interrupts = <0 70 0>; - qcom,iommu-ctx-sids = <2>; - label = "jpeg_dec"; - }; - }; - - mdp_iommu: qcom,iommu@fd928000 { - compatible = "qcom,msm-smmu-v1"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - reg = <0xfd928000 0x10000>; - reg-names = "iommu_base"; - interrupts = <0 73 0>; - qcom,iommu-secure-id = <1>; - label = "mdp_iommu"; - qcom,msm-bus,name = "mdp_ebi"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,active-only; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <22 512 0 0>, - <22 512 0 1000>; - status = "disabled"; - - qcom,iommu-pmu-ngroups = <1>; - qcom,iommu-pmu-ncounters = <8>; - qcom,iommu-pmu-event-classes = <0x00 - 0x01 - 0x08 - 0x09 - 0x0A - 0x10 - 0x11 - 0x12 - 0x80 - 0x81 - 0x82 - 0x83 - 0x90 - 0x91 - 0x92 - 0xb0 - 0xb1>; - - qcom,iommu-bfb-regs = <0x204c - 0x2050 - 0x2514 - 0x2540 - 0x256c - 0x20ac - 0x215c - 0x220c - 0x2314 - 0x2394 - 0x2414 - 0x2008 - 0x200c - 0x2010 - 0x2014 - 0x2018 - 0x201c - 0x2020>; - - qcom,iommu-bfb-data = <0xffffffff - 0x0 - 0x00000004 - 0x00000010 - 0x00000000 - 0x00000000 - 0x00000034 - 0x00000044 - 0x0 - 0x34 - 0x74 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0>; - - qcom,iommu-ctx@fd930000 { - compatible = "qcom,msm-smmu-v1-ctx"; - reg = <0xfd930000 0x1000>; - interrupts = <0 47 0>; - qcom,iommu-ctx-sids = <0>; - label = "mdp_0"; - }; - - qcom,iommu-ctx@fd931000 { - compatible = "qcom,msm-smmu-v1-ctx"; - reg = <0xfd931000 0x1000>; - interrupts = <0 47 0>, <0 46 0>; - qcom,iommu-ctx-sids = <1>; - label = "mdp_1"; - qcom,secure-context; - }; - - qcom,iommu-ctx@fd932000 { - compatible = "qcom,msm-smmu-v1-ctx"; - reg = <0xfd932000 0x1000>; - interrupts = <0 47 0>, <0 46 0>; - qcom,iommu-ctx-sids = <>; - label = "mdp_2"; - qcom,secure-context; - }; - }; - - venus_iommu: qcom,iommu@fdc84000 { - compatible = "qcom,msm-smmu-v1"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - reg = <0xfdc84000 0x10000 - 0xfdce0004 0x4>; - reg-names = "iommu_base", "clk_base"; - interrupts = <0 45 0>; - qcom,iommu-secure-id = <0>; - qcom,needs-alt-core-clk; - label = "venus_iommu"; - qcom,msm-bus,name = "venus_ebi"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,active-only; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <63 512 0 0>, - <63 512 0 1000>; - status = "disabled"; - - qcom,iommu-pmu-ngroups = <1>; - qcom,iommu-pmu-ncounters = <8>; - qcom,iommu-pmu-event-classes = <0x00 - 0x01 - 0x08 - 0x09 - 0x0A - 0x10 - 0x11 - 0x12 - 0x80 - 0x81 - 0x82 - 0x83 - 0x90 - 0x91 - 0x92 - 0xb0 - 0xb1>; - - qcom,iommu-bfb-regs = <0x204c - 0x2050 - 0x2514 - 0x2540 - 0x256c - 0x20ac - 0x215c - 0x220c - 0x2314 - 0x2394 - 0x2414 - 0x2008 - 0x200c - 0x2010 - 0x2014 - 0x2018 - 0x201c - 0x2020 - 0x2024 - 0x2028 - 0x202c - 0x2030 - 0x2034 - 0x2038>; - - qcom,iommu-bfb-data = <0xffffffff - 0xffffffff - 0x00000004 - 0x00000008 - 0x00000000 - 0x00000000 - 0x00000094 - 0x000000b4 - 0x0 - 0x94 - 0x114 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0>; - - venus_ns: qcom,iommu-ctx@fdc8c000 { - compatible = "qcom,msm-smmu-v1-ctx"; - reg = <0xfdc8c000 0x1000>; - interrupts = <0 42 0>; - qcom,iommu-ctx-sids = <0 1 2 3 4 5>; - label = "venus_ns"; - }; - - venus_cp: qcom,iommu-ctx@fdc8d000 { - compatible = "qcom,msm-smmu-v1-ctx"; - reg = <0xfdc8d000 0x1000>; - interrupts = <0 42 0>, <0 43 0>; - qcom,iommu-ctx-sids = <0x80 0x81 0x82 0x83 0x84 0x85>; - label = "venus_cp"; - qcom,secure-context; - }; - - venus_fw: qcom,iommu-ctx@fdc8e000 { - compatible = "qcom,msm-smmu-v1-ctx"; - reg = <0xfdc8e000 0x1000>; - interrupts = <0 42 0>, <0 43 0>; - qcom,iommu-ctx-sids = <0xc0 0xc6>; - label = "venus_fw"; - qcom,secure-context; - }; - }; - - kgsl_iommu: qcom,iommu@fdb10000 { - compatible = "qcom,msm-smmu-v1"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - reg = <0xfdb10000 0x10000>; - reg-names = "iommu_base"; - interrupts = <0 38 0>; - label = "kgsl_iommu"; - qcom,msm-bus,name = "kgsl_ebi"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,active-only; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <26 512 0 0>, - <26 512 0 1000>; - status = "disabled"; - - qcom,iommu-pmu-ngroups = <1>; - qcom,iommu-pmu-ncounters = <8>; - qcom,iommu-pmu-event-classes = <0x00 - 0x01 - 0x08 - 0x09 - 0x0A - 0x10 - 0x11 - 0x12 - 0x80 - 0x81 - 0x82 - 0x83 - 0x90 - 0x91 - 0x92 - 0xb0 - 0xb1>; - - qcom,iommu-bfb-regs = <0x204c - 0x2050 - 0x2514 - 0x2540 - 0x256c - 0x20ac - 0x215c - 0x220c - 0x2314 - 0x2394 - 0x2414 - 0x2008>; - - qcom,iommu-bfb-data = <0x00000003 - 0x0 - 0x00000004 - 0x00000010 - 0x00000000 - 0x00000000 - 0x00000001 - 0x00000021 - 0x0 - 0x1 - 0x81 - 0x0>; - - qcom,iommu-ctx@fdb18000 { - compatible = "qcom,msm-smmu-v1-ctx"; - reg = <0xfdb18000 0x1000>; - interrupts = <0 241 0>; - qcom,iommu-ctx-sids = <0>; - label = "gfx3d_user"; - }; - - qcom,iommu-ctx@fdb19000 { - compatible = "qcom,msm-smmu-v1-ctx"; - reg = <0xfdb19000 0x1000>; - interrupts = <0 241 0>; - qcom,iommu-ctx-sids = <1>; - label = "gfx3d_priv"; - }; - }; - - vfe_iommu: qcom,iommu@fda44000 { - compatible = "qcom,msm-smmu-v1"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - reg = <0xfda44000 0x10000>; - reg-names = "iommu_base"; - interrupts = <0 62 0>; - qcom,needs-alt-core-clk; - label = "vfe_iommu"; - qcom,msm-bus,name = "vfe_ebi"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,active-only; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <29 512 0 0>, - <29 512 0 1000>; - status = "disabled"; - - qcom,iommu-pmu-ngroups = <1>; - qcom,iommu-pmu-ncounters = <8>; - qcom,iommu-pmu-event-classes = <0x00 - 0x01 - 0x08 - 0x09 - 0x0A - 0x10 - 0x11 - 0x12 - 0x80 - 0x81 - 0x82 - 0x83 - 0x90 - 0x91 - 0x92 - 0xb0 - 0xb1>; - - qcom,iommu-bfb-regs = <0x204c - 0x2050 - 0x2514 - 0x2540 - 0x256c - 0x2314 - 0x2394 - 0x2414 - 0x20ac - 0x215c - 0x220c - 0x2008 - 0x200c - 0x2010 - 0x2014 - 0x2018 - 0x201c - 0x2020>; - - qcom,iommu-bfb-data = <0xffffffff - 0x00000000 - 0x4 - 0x8 - 0x0 - 0x0 - 0x20 - 0x78 - 0x0 - 0x20 - 0x36 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0>; - - qcom,iommu-ctx@fda4c000 { - compatible = "qcom,msm-smmu-v1-ctx"; - reg = <0xfda4c000 0x1000>; - interrupts = <0 65 0>; - qcom,iommu-ctx-sids = <0>; - label = "vfe0"; - }; - - qcom,iommu-ctx@fda4d000 { - compatible = "qcom,msm-smmu-v1-ctx"; - reg = <0xfda4d000 0x1000>; - interrupts = <0 65 0>; - qcom,iommu-ctx-sids = <1>; - label = "vfe1"; - }; - - qcom,iommu-ctx@fda4e000 { - compatible = "qcom,msm-smmu-v1-ctx"; - reg = <0xfda4e000 0x1000>; - interrupts = <0 65 0>; - qcom,iommu-ctx-sids = <2>; - label = "cpp"; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm-pm8019-rpm-regulator.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm-pm8019-rpm-regulator.dtsi deleted file mode 100644 index c48f67dca..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm-pm8019-rpm-regulator.dtsi +++ /dev/null @@ -1,301 +0,0 @@ -/* Copyright (c) 2012, 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. - */ - -&rpm_bus { - rpm-regulator-smpa1 { - qcom,resource-name = "smpa"; - qcom,resource-id = <1>; - qcom,regulator-type = <1>; - qcom,hpm-min-load = <100000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-s1 { - regulator-name = "8019_s1"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-smpa2 { - qcom,resource-name = "smpa"; - qcom,resource-id = <2>; - qcom,regulator-type = <1>; - qcom,hpm-min-load = <100000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-s2 { - regulator-name = "8019_s2"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-smpa3 { - qcom,resource-name = "smpa"; - qcom,resource-id = <3>; - qcom,regulator-type = <1>; - qcom,hpm-min-load = <100000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-s3 { - regulator-name = "8019_s3"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-smpa4 { - qcom,resource-name = "smpa"; - qcom,resource-id = <4>; - qcom,regulator-type = <1>; - qcom,hpm-min-load = <100000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-s4 { - regulator-name = "8019_s4"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa1 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <1>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l1 { - regulator-name = "8019_l1"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa2 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <2>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <5000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l2 { - regulator-name = "8019_l2"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa3 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <3>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l3 { - regulator-name = "8019_l3"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa4 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <4>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <5000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l4 { - regulator-name = "8019_l4"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa5 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <5>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l5 { - regulator-name = "8019_l5"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa6 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <6>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l6 { - regulator-name = "8019_l6"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa7 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <7>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l7 { - regulator-name = "8019_l7"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa8 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <8>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l8 { - regulator-name = "8019_l8"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa9 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <9>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l9 { - regulator-name = "8019_l9"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa10 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <10>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l10 { - regulator-name = "8019_l10"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa11 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <11>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l11 { - regulator-name = "8019_l11"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa12 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <12>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l12 { - regulator-name = "8019_l12"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa13 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <13>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <5000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l13 { - regulator-name = "8019_l13"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa14 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <14>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <5000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l14 { - regulator-name = "8019_l14"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm-pm8019.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm-pm8019.dtsi deleted file mode 100755 index 6b5edf7ea..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm-pm8019.dtsi +++ /dev/null @@ -1,415 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&spmi_bus { - #address-cells = <1>; - #size-cells = <0>; - interrupt-controller; - #interrupt-cells = <3>; - - qcom,pm8019@0 { - spmi-slave-container; - reg = <0x0>; - #address-cells = <1>; - #size-cells = <1>; - - qcom,power_on@800 { - compatible = "qcom,qpnp-power-on"; - reg = <0x800 0x100>; - interrupts = <0x0 0x8 0x2>; - interrupt-names = "cblpwr"; - qcom,pon-dbc-delay = <15625>; - qcom,system-reset; - - qcom,pon_1 { - qcom,pon-type = <2>; - qcom,pull-up = <1>; - linux,code = <116>; - }; - }; - - clkdiv@5b00 { - reg = <0x5b00 0x100>; - compatible = "qcom,qpnp-clkdiv"; - qcom,cxo-freq = <19200000>; - }; - - clkdiv@5c00 { - reg = <0x5c00 0x100>; - compatible = "qcom,qpnp-clkdiv"; - qcom,cxo-freq = <19200000>; - }; - - clkdiv@5d00 { - reg = <0x5d00 0x100>; - compatible = "qcom,qpnp-clkdiv"; - qcom,cxo-freq = <19200000>; - }; - - rtc { - spmi-dev-container; - compatible = "qcom,qpnp-rtc"; - #address-cells = <1>; - #size-cells = <1>; - qcom,qpnp-rtc-write = <0>; - qcom,qpnp-rtc-alarm-pwrup = <0>; - - qcom,pm8019_rtc_rw@6000 { - reg = <0x6000 0x100>; - }; - - qcom,pm8019_rtc_alarm@6100 { - reg = <0x6100 0x100>; - interrupts = <0x0 0x61 0x1>; - }; - }; - - pm8019_gpios: gpios { - spmi-dev-container; - compatible = "qcom,qpnp-pin"; - gpio-controller; - #gpio-cells = <2>; - #address-cells = <1>; - #size-cells = <1>; - label = "pm8019-gpio"; - - gpio@c000 { - reg = <0xc000 0x100>; - qcom,pin-num = <1>; - }; - - gpio@c100 { - reg = <0xc100 0x100>; - qcom,pin-num = <2>; - }; - - gpio@c200 { - reg = <0xc200 0x100>; - qcom,pin-num = <3>; - }; - - gpio@c300 { - reg = <0xc300 0x100>; - qcom,pin-num = <4>; - }; - - gpio@c400 { - reg = <0xc400 0x100>; - qcom,pin-num = <5>; - }; - - gpio@c500 { - reg = <0xc500 0x100>; - qcom,pin-num = <6>; - }; - }; - - pm8019_mpps: mpps { - spmi-dev-container; - compatible = "qcom,qpnp-pin"; - gpio-controller; - #gpio-cells = <2>; - #address-cells = <1>; - #size-cells = <1>; - label = "pm8019-mpp"; - - mpp@a000 { - reg = <0xa000 0x100>; - qcom,pin-num = <1>; - }; - - mpp@a100 { - reg = <0xa100 0x100>; - qcom,pin-num = <2>; - }; - - mpp@a200 { - reg = <0xa200 0x100>; - qcom,pin-num = <3>; - }; - - mpp@a300 { - reg = <0xa300 0x100>; - qcom,pin-num = <4>; - }; - - mpp@a400 { - reg = <0xa400 0x100>; - qcom,pin-num = <5>; - }; - - mpp@a500 { - reg = <0xa500 0x100>; - qcom,pin-num = <6>; - }; - }; - - pm8019_vadc: vadc@3100 { - compatible = "qcom,qpnp-vadc"; - reg = <0x3100 0x100>; - #address-cells = <1>; - #size-cells = <0>; - interrupts = <0x0 0x31 0x0>; - interrupt-names = "eoc-int-en-set"; - qcom,adc-bit-resolution = <15>; - qcom,adc-vdd-reference = <1800>; - qcom,vadc-poll-eoc; - - chan@8 { - label = "die_temp"; - reg = <8>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <3>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@9 { - label = "ref_625mv"; - reg = <9>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@a { - label = "ref_1250v"; - reg = <0xa>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - }; - - pm8019_adc_tm: vadc@3400 { - compatible = "qcom,qpnp-adc-tm"; - reg = <0x3400 0x100>; - #address-cells = <1>; - #size-cells = <0>; - interrupts = <0x0 0x34 0x0>, - <0x0 0x34 0x3>, - <0x0 0x34 0x4>; - interrupt-names = "eoc-int-en-set", - "high-thr-en-set", - "low-thr-en-set"; - qcom,adc-bit-resolution = <15>; - qcom,adc-vdd-reference = <1800>; - }; - }; - - qcom,pm8019@1 { - spmi-slave-container; - reg = <0x1>; - #address-cells = <1>; - #size-cells = <1>; - - regulator@1400 { - regulator-name = "8019_s1"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x1400 0x300>; - status = "disabled"; - - qcom,ctl@1400 { - reg = <0x1400 0x100>; - }; - qcom,ps@1500 { - reg = <0x1500 0x100>; - }; - qcom,freq@1600 { - reg = <0x1600 0x100>; - }; - }; - - regulator@1700 { - regulator-name = "8019_s2"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x1700 0x300>; - status = "disabled"; - - qcom,ctl@1700 { - reg = <0x1700 0x100>; - }; - qcom,ps@1800 { - reg = <0x1800 0x100>; - }; - qcom,freq@1900 { - reg = <0x1900 0x100>; - }; - }; - - regulator@1a00 { - regulator-name = "8019_s3"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x1a00 0x300>; - status = "disabled"; - - qcom,ctl@1a00 { - reg = <0x1a00 0x100>; - }; - qcom,ps@1b00 { - reg = <0x1b00 0x100>; - }; - qcom,freq@1c00 { - reg = <0x1c00 0x100>; - }; - }; - - regulator@1d00 { - regulator-name = "8019_s4"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x1d00 0x300>; - status = "disabled"; - - qcom,ctl@1d00 { - reg = <0x1d00 0x100>; - }; - qcom,ps@1e00 { - reg = <0x1e00 0x100>; - }; - qcom,freq@1f00 { - reg = <0x1f00 0x100>; - }; - }; - - regulator@4000 { - regulator-name = "8019_l1"; - reg = <0x4000 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4100 { - regulator-name = "8019_l2"; - reg = <0x4100 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4200 { - regulator-name = "8019_l3"; - reg = <0x4200 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4300 { - regulator-name = "8019_l4"; - reg = <0x4300 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4400 { - regulator-name = "8019_l5"; - reg = <0x4400 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4500 { - regulator-name = "8019_l6"; - reg = <0x4500 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4600 { - regulator-name = "8019_l7"; - reg = <0x4600 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4700 { - regulator-name = "8019_l8"; - reg = <0x4700 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4800 { - regulator-name = "8019_l9"; - reg = <0x4800 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4900 { - regulator-name = "8019_l10"; - reg = <0x4900 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4a00 { - regulator-name = "8019_l11"; - reg = <0x4a00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4b00 { - regulator-name = "8019_l12"; - reg = <0x4b00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4c00 { - regulator-name = "8019_l13"; - reg = <0x4c00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4d00 { - regulator-name = "8019_l14"; - reg = <0x4d00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4e00 { - regulator-name = "8019_ldo_xo"; - reg = <0x4e00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4f00 { - regulator-name = "8019_ldo_rfclk"; - reg = <0x4f00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm-pm8110-rpm-regulator.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm-pm8110-rpm-regulator.dtsi deleted file mode 100644 index 0de72b0de..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm-pm8110-rpm-regulator.dtsi +++ /dev/null @@ -1,381 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -&rpm_bus { - rpm-regulator-smpa1 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "smpa"; - qcom,resource-id = <1>; - qcom,regulator-type = <1>; - qcom,hpm-min-load = <100000>; - status = "disabled"; - - regulator-s1 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_s1"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-smpa3 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "smpa"; - qcom,resource-id = <3>; - qcom,regulator-type = <1>; - qcom,hpm-min-load = <100000>; - status = "disabled"; - - regulator-s3 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_s3"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-smpa4 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "smpa"; - qcom,resource-id = <4>; - qcom,regulator-type = <1>; - qcom,hpm-min-load = <100000>; - status = "disabled"; - - regulator-s4 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_s4"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa1 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <1>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l1 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l1"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa2 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <2>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l2 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l2"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa3 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <3>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l3 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l3"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa4 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <4>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l4 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l4"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa5 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <5>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l5 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l5"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa6 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <6>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l6 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l6"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa7 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <7>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l7 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l7"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa8 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <8>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <5000>; - status = "disabled"; - - regulator-l8 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l8"; - qcom,set = <1>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa9 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <9>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l9 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l9"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa10 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <10>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l10 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l10"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa12 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <12>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l12 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l12"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa14 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <14>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l14 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l14"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa15 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <15>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l15 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l15"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa16 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <16>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l16 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l16"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa17 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <17>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l17 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l17"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa18 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <18>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l18 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l18"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa19 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <19>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l19 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l19"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa20 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <20>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <5000>; - status = "disabled"; - - regulator-l20 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l20"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa21 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <21>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l21 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l21"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa22 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <22>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l22 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l22"; - qcom,set = <3>; - status = "disabled"; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm-pm8110.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm-pm8110.dtsi deleted file mode 100644 index 1877f40d7..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm-pm8110.dtsi +++ /dev/null @@ -1,608 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&spmi_bus { - #address-cells = <1>; - #size-cells = <0>; - interrupt-controller; - #interrupt-cells = <3>; - - qcom,pm8110@0 { - spmi-slave-container; - reg = <0x0>; - #address-cells = <1>; - #size-cells = <1>; - - qcom,power-on@800 { - compatible = "qcom,qpnp-power-on"; - reg = <0x800 0x100>; - interrupts = <0x0 0x8 0x0>, - <0x0 0x8 0x1>, - <0x0 0x8 0x4>; - interrupt-names = "kpdpwr", "resin", "resin-bark"; - qcom,pon-dbc-delay = <15625>; - qcom,system-reset; - - qcom,pon_1 { - qcom,pon-type = <0>; - qcom,pull-up = <1>; - linux,code = <116>; - }; - - qcom,pon_2 { - qcom,pon-type = <1>; - qcom,pull-up = <1>; - linux,code = <114>; - }; - }; - - pm8110_chg: qcom,charger { - spmi-dev-container; - compatible = "qcom,qpnp-charger"; - #address-cells = <1>; - #size-cells = <1>; - status = "disabled"; - - qcom,vddmax-mv = <4200>; - qcom,vddsafe-mv = <4230>; - qcom,vinmin-mv = <4200>; - qcom,vbatdet-mv = <4100>; - qcom,ibatmax-ma = <1500>; - qcom,ibatterm-ma = <200>; - qcom,ibatsafe-ma = <1500>; - qcom,thermal-mitigation = <1500 700 600 325>; - qcom,vbatdet-delta-mv = <350>; - qcom,tchg-mins = <150>; - - qcom,chgr@1000 { - status = "disabled"; - reg = <0x1000 0x100>; - interrupts = <0x0 0x10 0x0>, - <0x0 0x10 0x1>, - <0x0 0x10 0x2>, - <0x0 0x10 0x3>, - <0x0 0x10 0x4>, - <0x0 0x10 0x5>, - <0x0 0x10 0x6>, - <0x0 0x10 0x7>; - - interrupt-names = "vbat-det-lo", - "vbat-det-hi", - "chgwdog", - "state-change", - "trkl-chg-on", - "fast-chg-on", - "chg-failed", - "chg-done"; - }; - - qcom,buck@1100 { - status = "disabled"; - reg = <0x1100 0x100>; - interrupts = <0x0 0x11 0x0>, - <0x0 0x11 0x1>, - <0x0 0x11 0x2>, - <0x0 0x11 0x3>, - <0x0 0x11 0x4>, - <0x0 0x11 0x5>, - <0x0 0x11 0x6>; - - interrupt-names = "vbat-ov", - "vreg-ov", - "overtemp", - "vchg-loop", - "ichg-loop", - "ibat-loop", - "vdd-loop"; - }; - - qcom,bat-if@1200 { - status = "disabled"; - reg = <0x1200 0x100>; - interrupts = <0x0 0x12 0x0>, - <0x0 0x12 0x1>, - <0x0 0x12 0x2>, - <0x0 0x12 0x3>, - <0x0 0x12 0x4>; - - interrupt-names = "batt-pres", - "bat-temp-ok", - "bat-fet-on", - "vcp-on", - "psi"; - }; - - qcom,usb-chgpth@1300 { - status = "disabled"; - reg = <0x1300 0x100>; - interrupts = <0 0x13 0x0>, - <0 0x13 0x1>, - <0x0 0x13 0x2>; - - interrupt-names = "coarse-det-usb", - "usbin-valid", - "chg-gone"; - }; - - qcom,chg-misc@1600 { - status = "disabled"; - reg = <0x1600 0x100>; - }; - }; - - pm8110_gpios: gpios { - spmi-dev-container; - compatible = "qcom,qpnp-pin"; - gpio-controller; - #gpio-cells = <2>; - #address-cells = <1>; - #size-cells = <1>; - label = "pm8110-gpio"; - - gpio@c000 { - reg = <0xc000 0x100>; - qcom,pin-num = <1>; - }; - - gpio@c100 { - reg = <0xc100 0x100>; - qcom,pin-num = <2>; - }; - - gpio@c200 { - reg = <0xc200 0x100>; - qcom,pin-num = <3>; - }; - - gpio@c300 { - reg = <0xc300 0x100>; - qcom,pin-num = <4>; - }; - }; - - pm8110_mpps: mpps { - spmi-dev-container; - compatible = "qcom,qpnp-pin"; - gpio-controller; - #gpio-cells = <2>; - #address-cells = <1>; - #size-cells = <1>; - label = "pm8110-mpp"; - - mpp@a000 { - reg = <0xa000 0x100>; - qcom,pin-num = <1>; - }; - - mpp@a100 { - reg = <0xa100 0x100>; - qcom,pin-num = <2>; - }; - - mpp@a200 { - reg = <0xa200 0x100>; - qcom,pin-num = <3>; - }; - - mpp@a300 { - reg = <0xa300 0x100>; - qcom,pin-num = <4>; - }; - }; - - pm8110_vadc: vadc@3100 { - compatible = "qcom,qpnp-vadc"; - reg = <0x3100 0x100>; - #address-cells = <1>; - #size-cells = <0>; - interrupts = <0x0 0x31 0x0>; - interrupt-names = "eoc-int-en-set"; - qcom,adc-bit-resolution = <15>; - qcom,adc-vdd-reference = <1800>; - - chan@8 { - label = "die_temp"; - reg = <8>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <3>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@9 { - label = "ref_625mv"; - reg = <9>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@a { - label = "ref_1250v"; - reg = <0xa>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - }; - - iadc@3600 { - compatible = "qcom,qpnp-iadc"; - reg = <0x3600 0x100>; - #address-cells = <1>; - #size-cells = <0>; - interrupts = <0x0 0x36 0x0>; - interrupt-names = "eoc-int-en-set"; - qcom,adc-bit-resolution = <16>; - qcom,adc-vdd-reference = <1800>; - - chan@0 { - label = "internal_rsense"; - reg = <0>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <1>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - }; - - pm8110_adc_tm: vadc@3400 { - compatible = "qcom,qpnp-adc-tm"; - reg = <0x3400 0x100>; - #address-cells = <1>; - #size-cells = <0>; - interrupts = <0x0 0x34 0x0>, - <0x0 0x34 0x3>, - <0x0 0x34 0x4>; - interrupt-names = "eoc-int-en-set", - "high-thr-en-set", - "low-thr-en-set"; - qcom,adc-bit-resolution = <15>; - qcom,adc-vdd-reference = <1800>; - }; - - qcom,temp-alarm@2400 { - compatible = "qcom,qpnp-temp-alarm"; - reg = <0x2400 0x100>; - interrupts = <0x0 0x24 0x0>; - label = "pm8110_tz"; - qcom,channel-num = <8>; - qcom,threshold-set = <0>; - }; - - pm8110_bms: qcom,bms { - spmi-dev-container; - compatible = "qcom,qpnp-bms"; - #address-cells = <1>; - #size-cells = <1>; - status = "disabled"; - - qcom,r-sense-uohm = <10000>; - qcom,v-cutoff-uv = <3400000>; - qcom,max-voltage-uv = <4200000>; - qcom,r-conn-mohm = <0>; - qcom,shutdown-soc-valid-limit = <20>; - qcom,adjust-soc-low-threshold = <15>; - qcom,ocv-voltage-high-threshold-uv = <3750000>; - qcom,ocv-voltage-low-threshold-uv = <3650000>; - qcom,low-soc-calculate-soc-threshold = <15>; - qcom,low-soc-calculate-soc-ms = <5000>; - qcom,calculate-soc-ms = <20000>; - qcom,chg-term-ua = <100000>; - qcom,batt-type = <0>; - qcom,low-voltage-threshold = <3420000>; - qcom,tm-temp-margin = <5000>; - qcom,low-ocv-correction-limit-uv = <100>; - qcom,high-ocv-correction-limit-uv = <50>; - qcom,hold-soc-est = <3>; - - qcom,bms-iadc@3800 { - reg = <0x3800 0x100>; - }; - - qcom,bms-bms@4000 { - reg = <0x4000 0x100>; - interrupts = <0x0 0x40 0x0>, - <0x0 0x40 0x1>, - <0x0 0x40 0x2>, - <0x0 0x40 0x3>, - <0x0 0x40 0x4>, - <0x0 0x40 0x5>, - <0x0 0x40 0x6>, - <0x0 0x40 0x7>; - - interrupt-names = "vsense_for_r", - "vsense_avg", - "sw_cc_thr", - "ocv_thr", - "charge_begin", - "good_ocv", - "ocv_for_r", - "cc_thr"; - }; - }; - - qcom,pm8110_rtc { - spmi-dev-container; - compatible = "qcom,qpnp-rtc"; - #address-cells = <1>; - #size-cells = <1>; - qcom,qpnp-rtc-write = <0>; - qcom,qpnp-rtc-alarm-pwrup = <0>; - - qcom,pm8110_rtc_rw@6000 { - reg = <0x6000 0x100>; - }; - - qcom,pm8110_rtc_alarm@6100 { - reg = <0x6100 0x100>; - interrupts = <0x0 0x61 0x1>; - }; - }; - - qcom,leds@a100 { - compatible = "qcom,leds-qpnp"; - reg = <0xa100 0x100>; - label = "mpp"; - }; - - qcom,leds@a200 { - compatible = "qcom,leds-qpnp"; - reg = <0xa200 0x100>; - label = "mpp"; - }; - }; - - qcom,pm8110@1 { - spmi-slave-container; - reg = <0x1>; - #address-cells = <1>; - #size-cells = <1>; - - regulator@1400 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_s1"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - reg = <0x1400 0x300>; - status = "disabled"; - - qcom,ctl@1400 { - reg = <0x1400 0x100>; - }; - qcom,ps@1500 { - reg = <0x1500 0x100>; - }; - qcom,freq@1600 { - reg = <0x1600 0x100>; - }; - }; - - regulator@1700 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_s2"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - reg = <0x1700 0x300>; - status = "disabled"; - - qcom,ctl@1700 { - reg = <0x1700 0x100>; - }; - qcom,ps@1800 { - reg = <0x1800 0x100>; - }; - qcom,freq@1900 { - reg = <0x1900 0x100>; - }; - }; - - regulator@1a00 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_s3"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - reg = <0x1a00 0x300>; - status = "disabled"; - - qcom,ctl@1a00 { - reg = <0x1a00 0x100>; - }; - qcom,ps@1b00 { - reg = <0x1b00 0x100>; - }; - qcom,freq@1c00 { - reg = <0x1c00 0x100>; - }; - }; - - regulator@1d00 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_s4"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - reg = <0x1d00 0x300>; - status = "disabled"; - - qcom,ctl@1d00 { - reg = <0x1d00 0x100>; - }; - qcom,ps@1e00 { - reg = <0x1e00 0x100>; - }; - qcom,freq@1f00 { - reg = <0x1f00 0x100>; - }; - }; - - regulator@4000 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_l1"; - reg = <0x4000 0x100>; - status = "disabled"; - }; - - regulator@4100 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_l2"; - reg = <0x4100 0x100>; - status = "disabled"; - }; - - regulator@4200 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_l3"; - reg = <0x4200 0x100>; - status = "disabled"; - }; - - regulator@4300 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_l4"; - reg = <0x4300 0x100>; - status = "disabled"; - }; - - regulator@4400 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_l5"; - reg = <0x4400 0x100>; - status = "disabled"; - }; - - regulator@4500 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_l6"; - reg = <0x4500 0x100>; - status = "disabled"; - }; - - regulator@4600 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_l7"; - reg = <0x4600 0x100>; - status = "disabled"; - }; - - regulator@4700 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_l8"; - reg = <0x4700 0x100>; - status = "disabled"; - }; - - regulator@4800 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_l9"; - reg = <0x4800 0x100>; - status = "disabled"; - }; - - regulator@4900 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_l10"; - reg = <0x4900 0x100>; - status = "disabled"; - }; - - regulator@4b00 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_l12"; - reg = <0x4b00 0x100>; - status = "disabled"; - }; - - regulator@4d00 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_l14"; - reg = <0x4d00 0x100>; - status = "disabled"; - }; - - regulator@4e00 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_l15"; - reg = <0x4e00 0x100>; - status = "disabled"; - }; - - regulator@4f00 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_l16"; - reg = <0x4f00 0x100>; - status = "disabled"; - }; - - regulator@5000 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_l17"; - reg = <0x5000 0x100>; - status = "disabled"; - }; - - regulator@5100 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_l18"; - reg = <0x5100 0x100>; - status = "disabled"; - }; - - regulator@5200 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_l19"; - reg = <0x5200 0x100>; - status = "disabled"; - }; - - regulator@5300 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_l20"; - reg = <0x5300 0x100>; - status = "disabled"; - }; - - regulator@5400 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_l21"; - reg = <0x5400 0x100>; - status = "disabled"; - }; - - regulator@5500 { - compatible = "qcom,qpnp-regulator"; - regulator-name = "8110_l22"; - reg = <0x5500 0x100>; - status = "disabled"; - }; - - qcom,vibrator@c000 { - compatible = "qcom,qpnp-vibrator"; - reg = <0xc000 0x100>; - label = "vibrator"; - status = "disabled"; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm-pm8226-rpm-regulator.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm-pm8226-rpm-regulator.dtsi deleted file mode 100644 index ded949489..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm-pm8226-rpm-regulator.dtsi +++ /dev/null @@ -1,492 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -&rpm_bus { - rpm-regulator-smpa1 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "smpa"; - qcom,resource-id = <1>; - qcom,regulator-type = <1>; - qcom,hpm-min-load = <100000>; - status = "disabled"; - - regulator-s1 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_s1"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-smpa3 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "smpa"; - qcom,resource-id = <3>; - qcom,regulator-type = <1>; - qcom,hpm-min-load = <100000>; - status = "disabled"; - - regulator-s3 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_s3"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-smpa4 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "smpa"; - qcom,resource-id = <4>; - qcom,regulator-type = <1>; - qcom,hpm-min-load = <100000>; - status = "disabled"; - - regulator-s4 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_s4"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-smpa5 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "smpa"; - qcom,resource-id = <5>; - qcom,regulator-type = <1>; - qcom,hpm-min-load = <100000>; - status = "disabled"; - - regulator-s5 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_s5"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa1 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <1>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l1 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l1"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa2 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <2>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l2 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l2"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa3 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <3>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l3 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l3"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa4 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <4>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l4 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l4"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa5 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <5>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l5 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l5"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa6 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <6>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l6 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l6"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa7 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <7>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l7 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l7"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa8 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <8>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <5000>; - status = "disabled"; - - regulator-l8 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l8"; - qcom,set = <1>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa9 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <9>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l9 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l9"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa10 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <10>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <5000>; - status = "disabled"; - - regulator-l10 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l10"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa12 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <12>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l12 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l12"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa14 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <14>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <5000>; - status = "disabled"; - - regulator-l14 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l14"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa15 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <15>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l15 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l15"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa16 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <16>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l16 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l16"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa17 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <17>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l17 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l17"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa18 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <18>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l18 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l18"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa19 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <19>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l19 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l19"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa20 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <20>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <5000>; - status = "disabled"; - - regulator-l20 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l20"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa21 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <21>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <5000>; - status = "disabled"; - - regulator-l21 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l21"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa22 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <22>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l22 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l22"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa23 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <23>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l23 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l23"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa24 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <24>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l24 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l24"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa26 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <26>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l26 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l26"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa27 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <27>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l27 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l27"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-ldoa28 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "ldoa"; - qcom,resource-id = <28>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - status = "disabled"; - - regulator-l28 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l28"; - qcom,set = <3>; - status = "disabled"; - }; - }; - - rpm-regulator-vsa1 { - compatible = "qcom,rpm-regulator-smd-resource"; - qcom,resource-name = "vsa"; - qcom,resource-id = <1>; - qcom,regulator-type = <2>; - status = "disabled"; - - regulator-lvs1 { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_lvs1"; - qcom,set = <3>; - status = "disabled"; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm-pm8226.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm-pm8226.dtsi deleted file mode 100644 index d429f72b7..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm-pm8226.dtsi +++ /dev/null @@ -1,833 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&spmi_bus { - #address-cells = <1>; - #size-cells = <0>; - interrupt-controller; - #interrupt-cells = <3>; - - qcom,pm8226@0 { - spmi-slave-container; - reg = <0x0>; - #address-cells = <1>; - #size-cells = <1>; - - qcom,power-on@800 { - compatible = "qcom,qpnp-power-on"; - reg = <0x800 0x100>; - interrupts = <0x0 0x8 0x0>, - <0x0 0x8 0x1>, - <0x0 0x8 0x4>; - interrupt-names = "kpdpwr", "resin", "resin-bark"; - qcom,pon-dbc-delay = <15625>; - qcom,system-reset; - - qcom,pon_1 { - qcom,pon-type = <0>; - qcom,pull-up = <1>; - linux,code = <116>; - }; - - qcom,pon_2 { - qcom,pon-type = <1>; - qcom,support-reset = <1>; - qcom,pull-up = <1>; - qcom,s1-timer = <0>; - qcom,s2-timer = <2000>; - qcom,s2-type = <1>; - linux,code = <114>; - }; - }; - - pm8226_chg: qcom,charger { - spmi-dev-container; - compatible = "qcom,qpnp-charger"; - #address-cells = <1>; - #size-cells = <1>; - status = "disabled"; - - qcom,vddmax-mv = <4200>; - qcom,vddsafe-mv = <4230>; - qcom,vinmin-mv = <4200>; - qcom,vbatdet-delta-mv = <150>; - qcom,ibatmax-ma = <1500>; - qcom,ibatterm-ma = <100>; - qcom,ibatsafe-ma = <1500>; - qcom,thermal-mitigation = <1500 700 600 325>; - qcom,tchg-mins = <150>; - - qcom,chgr@1000 { - status = "disabled"; - reg = <0x1000 0x100>; - interrupts = <0x0 0x10 0x0>, - <0x0 0x10 0x1>, - <0x0 0x10 0x2>, - <0x0 0x10 0x3>, - <0x0 0x10 0x4>, - <0x0 0x10 0x5>, - <0x0 0x10 0x6>, - <0x0 0x10 0x7>; - - interrupt-names = "vbat-det-lo", - "vbat-det-hi", - "chgwdog", - "state-change", - "trkl-chg-on", - "fast-chg-on", - "chg-failed", - "chg-done"; - }; - - qcom,buck@1100 { - status = "disabled"; - reg = <0x1100 0x100>; - interrupts = <0x0 0x11 0x0>, - <0x0 0x11 0x1>, - <0x0 0x11 0x2>, - <0x0 0x11 0x3>, - <0x0 0x11 0x4>, - <0x0 0x11 0x5>, - <0x0 0x11 0x6>; - - interrupt-names = "vbat-ov", - "vreg-ov", - "overtemp", - "vchg-loop", - "ichg-loop", - "ibat-loop", - "vdd-loop"; - }; - - qcom,bat-if@1200 { - status = "disabled"; - reg = <0x1200 0x100>; - interrupts = <0x0 0x12 0x0>, - <0x0 0x12 0x1>, - <0x0 0x12 0x2>, - <0x0 0x12 0x3>, - <0x0 0x12 0x4>; - - interrupt-names = "batt-pres", - "bat-temp-ok", - "bat-fet-on", - "vcp-on", - "psi"; - - }; - - pm8226_chg_otg: qcom,usb-chgpth@1300 { - status = "disabled"; - reg = <0x1300 0x100>; - interrupts = <0 0x13 0x0>, - <0 0x13 0x1>, - <0x0 0x13 0x2>; - - interrupt-names = "coarse-det-usb", - "usbin-valid", - "chg-gone"; - }; - - pm8226_chg_boost: qcom,boost@1500 { - status = "disabled"; - reg = <0x1500 0x100>; - interrupts = <0x0 0x15 0x0>, - <0x0 0x15 0x1>; - - interrupt-names = "boost-pwr-ok", - "limit-error"; - }; - - qcom,chg-misc@1600 { - status = "disabled"; - reg = <0x1600 0x100>; - }; - }; - - pm8226_bms: qcom,bms { - spmi-dev-container; - compatible = "qcom,qpnp-bms"; - #address-cells = <1>; - #size-cells = <1>; - status = "disabled"; - - qcom,r-sense-uohm = <10000>; - qcom,v-cutoff-uv = <3400000>; - qcom,max-voltage-uv = <4200000>; - qcom,r-conn-mohm = <0>; - qcom,shutdown-soc-valid-limit = <20>; - qcom,adjust-soc-low-threshold = <15>; - qcom,ocv-voltage-high-threshold-uv = <3750000>; - qcom,ocv-voltage-low-threshold-uv = <3650000>; - qcom,low-soc-calculate-soc-threshold = <15>; - qcom,low-soc-calculate-soc-ms = <5000>; - qcom,calculate-soc-ms = <20000>; - qcom,chg-term-ua = <100000>; - qcom,batt-type = <0>; - qcom,tm-temp-margin = <5000>; - qcom,low-ocv-correction-limit-uv = <100>; - qcom,high-ocv-correction-limit-uv = <50>; - qcom,hold-soc-est = <3>; - qcom,low-voltage-threshold = <3420000>; - - qcom,bms-iadc@3800 { - reg = <0x3800 0x100>; - }; - - qcom,bms-bms@4000 { - reg = <0x4000 0x100>; - interrupts = <0x0 0x40 0x0>, - <0x0 0x40 0x1>, - <0x0 0x40 0x2>, - <0x0 0x40 0x3>, - <0x0 0x40 0x4>, - <0x0 0x40 0x5>, - <0x0 0x40 0x6>, - <0x0 0x40 0x7>; - - interrupt-names = "vsense_for_r", - "vsense_avg", - "sw_cc_thr", - "ocv_thr", - "charge_begin", - "good_ocv", - "ocv_for_r", - "cc_thr"; - }; - }; - - qcom,leds@a100 { - compatible = "qcom,leds-qpnp"; - reg = <0xa100 0x100>; - label = "mpp"; - }; - - qcom,leds@a300 { - compatible = "qcom,leds-qpnp"; - reg = <0xa300 0x100>; - label = "mpp"; - }; - - qcom,leds@a500 { - compatible = "qcom,leds-qpnp"; - reg = <0xa500 0x100>; - label = "mpp"; - }; - - pm8226_gpios: gpios { - spmi-dev-container; - compatible = "qcom,qpnp-pin"; - gpio-controller; - #gpio-cells = <2>; - #address-cells = <1>; - #size-cells = <1>; - label = "pm8226-gpio"; - - gpio@c000 { - reg = <0xc000 0x100>; - qcom,pin-num = <1>; - }; - - gpio@c100 { - reg = <0xc100 0x100>; - qcom,pin-num = <2>; - }; - - gpio@c200 { - reg = <0xc200 0x100>; - qcom,pin-num = <3>; - }; - - gpio@c300 { - reg = <0xc300 0x100>; - qcom,pin-num = <4>; - }; - - gpio@c400 { - reg = <0xc400 0x100>; - qcom,pin-num = <5>; - }; - - gpio@c500 { - reg = <0xc500 0x100>; - qcom,pin-num = <6>; - }; - - gpio@c600 { - reg = <0xc600 0x100>; - qcom,pin-num = <7>; - }; - - gpio@c700 { - reg = <0xc700 0x100>; - qcom,pin-num = <8>; - }; - }; - - pm8226_mpps: mpps { - spmi-dev-container; - compatible = "qcom,qpnp-pin"; - gpio-controller; - #gpio-cells = <2>; - #address-cells = <1>; - #size-cells = <1>; - label = "pm8226-mpp"; - - mpp@a000 { - reg = <0xa000 0x100>; - qcom,pin-num = <1>; - }; - - mpp@a100 { - reg = <0xa100 0x100>; - qcom,pin-num = <2>; - }; - - mpp@a200 { - reg = <0xa200 0x100>; - qcom,pin-num = <3>; - }; - - mpp@a300 { - reg = <0xa300 0x100>; - qcom,pin-num = <4>; - }; - - mpp@a400 { - reg = <0xa400 0x100>; - qcom,pin-num = <5>; - }; - - mpp@a500 { - reg = <0xa500 0x100>; - qcom,pin-num = <6>; - }; - - mpp@a600 { - reg = <0xa600 0x100>; - qcom,pin-num = <7>; - }; - - mpp@a700 { - reg = <0xa700 0x100>; - qcom,pin-num = <8>; - }; - }; - - pm8226_vadc: vadc@3100 { - compatible = "qcom,qpnp-vadc"; - reg = <0x3100 0x100>; - #address-cells = <1>; - #size-cells = <0>; - interrupts = <0x0 0x31 0x0>; - interrupt-names = "eoc-int-en-set"; - qcom,adc-bit-resolution = <15>; - qcom,adc-vdd-reference = <1800>; - - chan@8 { - label = "die_temp"; - reg = <8>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <3>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@9 { - label = "ref_625mv"; - reg = <9>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@a { - label = "ref_1250v"; - reg = <0xa>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@c { - label = "ref_buf_625mv"; - reg = <0xc>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - }; - - iadc@3600 { - compatible = "qcom,qpnp-iadc"; - reg = <0x3600 0x100>; - #address-cells = <1>; - #size-cells = <0>; - interrupts = <0x0 0x36 0x0>; - interrupt-names = "eoc-int-en-set"; - qcom,adc-bit-resolution = <16>; - qcom,adc-vdd-reference = <1800>; - - chan@0 { - label = "internal_rsense"; - reg = <0>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <1>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - }; - - pm8226_adc_tm: vadc@3400 { - compatible = "qcom,qpnp-adc-tm"; - reg = <0x3400 0x100>; - #address-cells = <1>; - #size-cells = <0>; - interrupts = <0x0 0x34 0x0>, - <0x0 0x34 0x3>, - <0x0 0x34 0x4>; - interrupt-names = "eoc-int-en-set", - "high-thr-en-set", - "low-thr-en-set"; - qcom,adc-bit-resolution = <15>; - qcom,adc-vdd-reference = <1800>; - }; - - qcom,temp-alarm@2400 { - compatible = "qcom,qpnp-temp-alarm"; - reg = <0x2400 0x100>; - interrupts = <0x0 0x24 0x0>; - label = "pm8226_tz"; - qcom,channel-num = <8>; - qcom,threshold-set = <0>; - }; - - qcom,pm8226_rtc { - spmi-dev-container; - compatible = "qcom,qpnp-rtc"; - #address-cells = <1>; - #size-cells = <1>; - qcom,qpnp-rtc-write = <0>; - qcom,qpnp-rtc-alarm-pwrup = <0>; - - qcom,pm8226_rtc_rw@6000 { - reg = <0x6000 0x100>; - }; - qcom,pm8226_rtc_alarm@6100 { - reg = <0x6100 0x100>; - interrupts = <0x0 0x61 0x1>; - }; - }; - }; - - qcom,pm8226@1 { - spmi-slave-container; - reg = <0x1>; - #address-cells = <1>; - #size-cells = <1>; - - regulator@1400 { - regulator-name = "8226_s1"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x1400 0x300>; - status = "disabled"; - - qcom,ctl@1400 { - reg = <0x1400 0x100>; - }; - qcom,ps@1500 { - reg = <0x1500 0x100>; - }; - qcom,freq@1600 { - reg = <0x1600 0x100>; - }; - }; - - regulator@1700 { - regulator-name = "8226_s2"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x1700 0x300>; - status = "disabled"; - - qcom,ctl@1700 { - reg = <0x1700 0x100>; - }; - qcom,ps@1800 { - reg = <0x1800 0x100>; - }; - qcom,freq@1900 { - reg = <0x1900 0x100>; - }; - }; - - regulator@1a00 { - regulator-name = "8226_s3"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x1a00 0x300>; - status = "disabled"; - - qcom,ctl@1a00 { - reg = <0x1a00 0x100>; - }; - qcom,ps@1b00 { - reg = <0x1b00 0x100>; - }; - qcom,freq@1c00 { - reg = <0x1c00 0x100>; - }; - }; - - regulator@1d00 { - regulator-name = "8226_s4"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x1d00 0x300>; - status = "disabled"; - - qcom,ctl@1d00 { - reg = <0x1d00 0x100>; - }; - qcom,ps@1e00 { - reg = <0x1e00 0x100>; - }; - qcom,freq@1f00 { - reg = <0x1f00 0x100>; - }; - }; - - regulator@2000 { - regulator-name = "8226_s5"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x2000 0x300>; - status = "disabled"; - - qcom,ctl@2000 { - reg = <0x2000 0x100>; - }; - qcom,ps@2100 { - reg = <0x2100 0x100>; - }; - qcom,freq@2200 { - reg = <0x2200 0x100>; - }; - }; - - regulator@4000 { - regulator-name = "8226_l1"; - reg = <0x4000 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4100 { - regulator-name = "8226_l2"; - reg = <0x4100 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4200 { - regulator-name = "8226_l3"; - reg = <0x4200 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4300 { - regulator-name = "8226_l4"; - reg = <0x4300 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4400 { - regulator-name = "8226_l5"; - reg = <0x4400 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4500 { - regulator-name = "8226_l6"; - reg = <0x4500 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4600 { - regulator-name = "8226_l7"; - reg = <0x4600 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4700 { - regulator-name = "8226_l8"; - reg = <0x4700 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4800 { - regulator-name = "8226_l9"; - reg = <0x4800 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4900 { - regulator-name = "8226_l10"; - reg = <0x4900 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4b00 { - regulator-name = "8226_l12"; - reg = <0x4b00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4d00 { - regulator-name = "8226_l14"; - reg = <0x4d00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4e00 { - regulator-name = "8226_l15"; - reg = <0x4e00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4f00 { - regulator-name = "8226_l16"; - reg = <0x4f00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5000 { - regulator-name = "8226_l17"; - reg = <0x5000 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5100 { - regulator-name = "8226_l18"; - reg = <0x5100 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5200 { - regulator-name = "8226_l19"; - reg = <0x5200 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5300 { - regulator-name = "8226_l20"; - reg = <0x5300 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5400 { - regulator-name = "8226_l21"; - reg = <0x5400 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5500 { - regulator-name = "8226_l22"; - reg = <0x5500 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5600 { - regulator-name = "8226_l23"; - reg = <0x5600 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5700 { - regulator-name = "8226_l24"; - reg = <0x5700 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5900 { - regulator-name = "8226_l26"; - reg = <0x5900 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5a00 { - regulator-name = "8226_l27"; - reg = <0x5a00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5b00 { - regulator-name = "8226_l28"; - reg = <0x5b00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - qcom,leds@d800 { - compatible = "qcom,leds-qpnp"; - reg = <0xd800 0x100>; - label = "wled"; - }; - - pwm@b100 { - compatible = "qcom,qpnp-pwm"; - reg = <0xb100 0x100>, - <0xb042 0x7e>; - reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base"; - qcom,channel-id = <0>; - }; - - pwm@b200 { - compatible = "qcom,qpnp-pwm"; - reg = <0xb200 0x100>, - <0xb042 0x7e>; - reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base"; - qcom,channel-id = <1>; - }; - - pwm@b300 { - compatible = "qcom,qpnp-pwm"; - reg = <0xb300 0x100>, - <0xb042 0x7e>; - reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base"; - qcom,channel-id = <2>; - }; - - pwm@b400 { - compatible = "qcom,qpnp-pwm"; - reg = <0xb400 0x100>, - <0xb042 0x7e>; - reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base"; - qcom,channel-id = <3>; - }; - - pwm@b500 { - compatible = "qcom,qpnp-pwm"; - reg = <0xb500 0x100>, - <0xb042 0x7e>; - reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base"; - qcom,channel-id = <4>; - }; - - pwm@b600 { - compatible = "qcom,qpnp-pwm"; - reg = <0xb600 0x100>, - <0xb042 0x7e>; - reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base"; - qcom,channel-id = <5>; - }; - - regulator@8000 { - regulator-name = "8226_lvs1"; - reg = <0x8000 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - qcom,vibrator@c000 { - compatible = "qcom,qpnp-vibrator"; - reg = <0xc000 0x100>; - label = "vibrator"; - status = "disabled"; - }; - - qcom,leds@d300 { - compatible = "qcom,leds-qpnp"; - status = "okay"; - reg = <0xd300 0x100>; - label = "flash"; - flash_boost-supply = <&pm8226_chg_boost>; - pm8226_flash0: qcom,flash_0 { - qcom,max-current = <1000>; - qcom,default-state = "off"; - qcom,headroom = <0>; - qcom,duration = <1280>; - qcom,clamp-curr = <200>; - qcom,startup-dly = <1>; - qcom,safety-timer; - label = "flash"; - linux,default-trigger = - "flash0_trigger"; - qcom,id = <1>; - linux,name = "led:flash_0"; - qcom,current = <625>; - }; - - pm8226_flash1: qcom,flash_1 { - qcom,max-current = <1000>; - qcom,default-state = "off"; - qcom,headroom = <0>; - qcom,duration = <1280>; - qcom,clamp-curr = <200>; - qcom,startup-dly = <1>; - qcom,safety-timer; - linux,default-trigger = - "flash1_trigger"; - label = "flash"; - qcom,id = <2>; - linux,name = "led:flash_1"; - qcom,current = <625>; - }; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm-pm8841.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm-pm8841.dtsi deleted file mode 100644 index a2d80ec05..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm-pm8841.dtsi +++ /dev/null @@ -1,242 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&spmi_bus { - #address-cells = <1>; - #size-cells = <0>; - interrupt-controller; - #interrupt-cells = <3>; - - qcom,pm8841@4 { - spmi-slave-container; - reg = <0x4>; - #address-cells = <1>; - #size-cells = <1>; - - qcom,qpnp-revid@100 { - compatible = "qcom,qpnp-revid"; - reg = <0x100 0x100>; - }; - - qcom,temp-alarm@2400 { - compatible = "qcom,qpnp-temp-alarm"; - reg = <0x2400 0x100>; - interrupts = <0x4 0x24 0x0>; - label = "pm8841_tz"; - qcom,threshold-set = <0>; - qcom,default-temp = <37000>; - }; - - pm8841_mpps: mpps { - spmi-dev-container; - compatible = "qcom,qpnp-pin"; - gpio-controller; - #gpio-cells = <2>; - #address-cells = <1>; - #size-cells = <1>; - label = "pm8841-mpp"; - - mpp@a000 { - reg = <0xa000 0x100>; - qcom,pin-num = <1>; - }; - - mpp@a100 { - reg = <0xa100 0x100>; - qcom,pin-num = <2>; - }; - - mpp@a200 { - reg = <0xa200 0x100>; - qcom,pin-num = <3>; - }; - - mpp@a300 { - reg = <0xa300 0x100>; - qcom,pin-num = <4>; - }; - }; - }; - - qcom,pm8841@5 { - spmi-slave-container; - reg = <0x5>; - #address-cells = <1>; - #size-cells = <1>; - - regulator@1400 { - regulator-name = "8841_s1"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x1400 0x300>; - status = "disabled"; - - qcom,ctl@1400 { - reg = <0x1400 0x100>; - }; - qcom,ps@1500 { - reg = <0x1500 0x100>; - }; - qcom,freq@1600 { - reg = <0x1600 0x100>; - }; - }; - - regulator@1700 { - regulator-name = "8841_s2"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x1700 0x300>; - status = "disabled"; - qcom,force-type = <0x1c 0x08>; - - qcom,ctl@1700 { - reg = <0x1700 0x100>; - }; - qcom,ps@1800 { - reg = <0x1800 0x100>; - }; - qcom,freq@1900 { - reg = <0x1900 0x100>; - }; - }; - - regulator@1a00 { - regulator-name = "8841_s3"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x1a00 0x300>; - status = "disabled"; - - qcom,ctl@1a00 { - reg = <0x1a00 0x100>; - }; - qcom,ps@1b00 { - reg = <0x1b00 0x100>; - }; - qcom,freq@1c00 { - reg = <0x1c00 0x100>; - }; - }; - - regulator@1d00 { - regulator-name = "8841_s4"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x1d00 0x300>; - status = "disabled"; - qcom,force-type = <0x1c 0x08>; - - qcom,ctl@1d00 { - reg = <0x1d00 0x100>; - }; - qcom,ps@1e00 { - reg = <0x1e00 0x100>; - }; - qcom,freq@1f00 { - reg = <0x1f00 0x100>; - }; - }; - - regulator@2000 { - regulator-name = "8841_s5"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x2000 0x300>; - status = "disabled"; - qcom,force-type = <0x1c 0x08>; - - qcom,ctl@0 { - reg = <0x2000 0x100>; - }; - qcom,ps@100 { - reg = <0x2100 0x100>; - }; - qcom,freq@200 { - reg = <0x2200 0x100>; - }; - }; - - regulator@2300 { - regulator-name = "8841_s6"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x2300 0x300>; - status = "disabled"; - qcom,force-type = <0x1c 0x08>; - - qcom,ctl@2300 { - reg = <0x2300 0x100>; - }; - qcom,ps@2400 { - reg = <0x2400 0x100>; - }; - qcom,freq@2500 { - reg = <0x2500 0x100>; - }; - }; - - regulator@2600 { - regulator-name = "8841_s7"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x2600 0x300>; - status = "disabled"; - qcom,force-type = <0x1c 0x08>; - - qcom,ctl@2600 { - reg = <0x2600 0x100>; - }; - qcom,ps@2700 { - reg = <0x2700 0x100>; - }; - qcom,freq@2800 { - reg = <0x2800 0x100>; - }; - }; - - regulator@2900 { - regulator-name = "8841_s8"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x2900 0x300>; - status = "disabled"; - qcom,force-type = <0x1c 0x08>; - - qcom,ctl@2900 { - reg = <0x2900 0x100>; - }; - qcom,ps@2a000 { - reg = <0x2a00 0x100>; - }; - qcom,freq@2b00 { - reg = <0x2b00 0x100>; - }; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm-pm8941.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm-pm8941.dtsi deleted file mode 100644 index b4e557e16..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm-pm8941.dtsi +++ /dev/null @@ -1,1384 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&spmi_bus { - #address-cells = <1>; - #size-cells = <0>; - interrupt-controller; - #interrupt-cells = <3>; - - qcom,pm8941@0 { - spmi-slave-container; - reg = <0x0>; - #address-cells = <1>; - #size-cells = <1>; - - pm8941_misc: qcom,misc@900 { - compatible = "qcom,qpnp-misc"; - reg = <0x900 0x100>; - }; - - qcom,revid@100 { - compatible = "qcom,qpnp-revid"; - reg = <0x100 0x100>; - }; - - qcom,temp-alarm@2400 { - compatible = "qcom,qpnp-temp-alarm"; - reg = <0x2400 0x100>; - interrupts = <0x0 0x24 0x0>; - label = "pm8941_tz"; - qcom,channel-num = <8>; - qcom,threshold-set = <0>; - }; - - qcom,power-on@800 { - compatible = "qcom,qpnp-power-on"; - reg = <0x800 0x100>; - interrupts = <0x0 0x8 0x0>, - <0x0 0x8 0x1>, - <0x0 0x8 0x4>; - interrupt-names = "kpdpwr", "resin", "resin-bark"; - qcom,pon-dbc-delay = <15625>; - qcom,system-reset; - - qcom,pon_1 { - qcom,pon-type = <0>; - qcom,pull-up = <1>; - linux,code = <116>; - }; - - qcom,pon_2 { - qcom,pon-type = <1>; - qcom,support-reset = <1>; - qcom,pull-up = <1>; - qcom,s1-timer = <0>; - qcom,s2-timer = <2000>; - qcom,s2-type = <1>; - linux,code = <114>; - }; - }; - - bif_ctrl: qcom,bsi@1b00 { - compatible = "qcom,qpnp-bsi"; - reg = <0x1b00 0x100>, - <0x1208 0x1>; - reg-names = "bsi-base", "batt-id-status"; - label = "pm8941-bsi"; - interrupts = <0x0 0x1b 0x0>, - <0x0 0x1b 0x1>, - <0x0 0x1b 0x2>, - <0x0 0x12 0x0>; - interrupt-names = "err", - "rx", - "tx", - "batt-present"; - qcom,channel-num = <0x31>; - qcom,pullup-ohms = <100000>; - qcom,vref-microvolts = <1800000>; - qcom,min-clock-period = <1000>; - qcom,max-clock-period = <160000>; - qcom,sample-rate = <4>; - }; - - pm8941_coincell: qcom,coincell@2800 { - compatible = "qcom,qpnp-coincell"; - reg = <0x2800 0x100>; - }; - - pm8941_bms: qcom,bms { - spmi-dev-container; - compatible = "qcom,qpnp-bms"; - #address-cells = <1>; - #size-cells = <1>; - status = "disabled"; - - qcom,r-sense-uohm = <10000>; - qcom,v-cutoff-uv = <3400000>; - qcom,max-voltage-uv = <4200000>; - qcom,r-conn-mohm = <0>; - qcom,shutdown-soc-valid-limit = <20>; - qcom,adjust-soc-low-threshold = <15>; - qcom,ocv-voltage-high-threshold-uv = <3750000>; - qcom,ocv-voltage-low-threshold-uv = <3650000>; - qcom,low-soc-calculate-soc-threshold = <15>; - qcom,low-soc-calculate-soc-ms = <5000>; - qcom,calculate-soc-ms = <20000>; - qcom,chg-term-ua = <100000>; - qcom,batt-type = <0>; - qcom,low-voltage-threshold = <3420000>; - qcom,tm-temp-margin = <5000>; - qcom,low-ocv-correction-limit-uv = <100>; - qcom,high-ocv-correction-limit-uv = <50>; - qcom,hold-soc-est = <3>; - - qcom,bms-iadc@3800 { - reg = <0x3800 0x100>; - }; - - qcom,bms-bms@4000 { - reg = <0x4000 0x100>; - interrupts = <0x0 0x40 0x0>, - <0x0 0x40 0x1>, - <0x0 0x40 0x2>, - <0x0 0x40 0x3>, - <0x0 0x40 0x4>, - <0x0 0x40 0x5>, - <0x0 0x40 0x6>, - <0x0 0x40 0x7>; - - interrupt-names = "vsense_for_r", - "vsense_avg", - "sw_cc_thr", - "ocv_thr", - "charge_begin", - "good_ocv", - "ocv_for_r", - "cc_thr"; - }; - }; - - clkdiv@5b00 { - reg = <0x5b00 0x100>; - compatible = "qcom,qpnp-clkdiv"; - qcom,cxo-freq = <19200000>; - }; - - clkdiv@5c00 { - reg = <0x5c00 0x100>; - compatible = "qcom,qpnp-clkdiv"; - qcom,cxo-freq = <19200000>; - }; - - clkdiv@5d00 { - reg = <0x5d00 0x1000>; - compatible = "qcom,qpnp-clkdiv"; - qcom,cxo-freq = <19200000>; - }; - - pm8941_chg: qcom,charger { - spmi-dev-container; - compatible = "qcom,qpnp-charger"; - #address-cells = <1>; - #size-cells = <1>; - status = "disabled"; - - qcom,vddmax-mv = <4200>; - qcom,vddsafe-mv = <4230>; - qcom,vinmin-mv = <4300>; - qcom,ibatmax-ma = <1500>; - qcom,ibatterm-ma = <100>; - qcom,ibatsafe-ma = <1500>; - qcom,thermal-mitigation = <1500 700 600 325>; - qcom,cool-bat-decidegc = <100>; - qcom,cool-bat-mv = <4100>; - qcom,ibatmax-warm-ma = <350>; - qcom,warm-bat-decidegc = <450>; - qcom,warm-bat-mv = <4100>; - qcom,ibatmax-cool-ma = <350>; - qcom,vbatdet-delta-mv = <100>; - qcom,tchg-mins = <150>; - - qcom,chgr@1000 { - status = "disabled"; - reg = <0x1000 0x100>; - interrupts = <0x0 0x10 0x0>, - <0x0 0x10 0x1>, - <0x0 0x10 0x2>, - <0x0 0x10 0x3>, - <0x0 0x10 0x4>, - <0x0 0x10 0x5>, - <0x0 0x10 0x6>, - <0x0 0x10 0x7>; - - interrupt-names = "vbat-det-lo", - "vbat-det-hi", - "chgwdog", - "state-change", - "trkl-chg-on", - "fast-chg-on", - "chg-failed", - "chg-done"; - }; - - qcom,buck@1100 { - status = "disabled"; - reg = <0x1100 0x100>; - interrupts = <0x0 0x11 0x0>, - <0x0 0x11 0x1>, - <0x0 0x11 0x2>, - <0x0 0x11 0x3>, - <0x0 0x11 0x4>, - <0x0 0x11 0x5>, - <0x0 0x11 0x6>; - - interrupt-names = "vbat-ov", - "vreg-ov", - "overtemp", - "vchg-loop", - "ichg-loop", - "ibat-loop", - "vdd-loop"; - }; - - qcom,bat-if@1200 { - status = "disabled"; - reg = <0x1200 0x100>; - interrupts = <0x0 0x12 0x0>, - <0x0 0x12 0x1>, - <0x0 0x12 0x2>, - <0x0 0x12 0x3>, - <0x0 0x12 0x4>; - - interrupt-names = "batt-pres", - "bat-temp-ok", - "bat-fet-on", - "vcp-on", - "psi"; - - }; - - pm8941_chg_otg: qcom,usb-chgpth@1300 { - status = "disabled"; - reg = <0x1300 0x100>; - interrupts = <0 0x13 0x0>, - <0 0x13 0x1>, - <0x0 0x13 0x2>; - - interrupt-names = "coarse-det-usb", - "usbin-valid", - "chg-gone"; - }; - - qcom,dc-chgpth@1400 { - status = "disabled"; - reg = <0x1400 0x100>; - interrupts = <0x0 0x14 0x0>, - <0x0 0x14 0x1>; - - interrupt-names = "coarse-det-dc", - "dcin-valid"; - }; - - pm8941_chg_boost: qcom,boost@1500 { - status = "disabled"; - reg = <0x1500 0x100>; - interrupts = <0x0 0x15 0x0>, - <0x0 0x15 0x1>; - - interrupt-names = "boost-pwr-ok", - "limit-error"; - }; - - qcom,chg-misc@1600 { - status = "disabled"; - reg = <0x1600 0x100>; - }; - }; - - pm8941_gpios: gpios { - spmi-dev-container; - compatible = "qcom,qpnp-pin"; - gpio-controller; - #gpio-cells = <2>; - #address-cells = <1>; - #size-cells = <1>; - label = "pm8941-gpio"; - - gpio@c000 { - reg = <0xc000 0x100>; - qcom,pin-num = <1>; - }; - - gpio@c100 { - reg = <0xc100 0x100>; - qcom,pin-num = <2>; - }; - - gpio@c200 { - reg = <0xc200 0x100>; - qcom,pin-num = <3>; - }; - - gpio@c300 { - reg = <0xc300 0x100>; - qcom,pin-num = <4>; - }; - - gpio@c400 { - reg = <0xc400 0x100>; - qcom,pin-num = <5>; - }; - - gpio@c500 { - reg = <0xc500 0x100>; - qcom,pin-num = <6>; - }; - - gpio@c600 { - reg = <0xc600 0x100>; - qcom,pin-num = <7>; - }; - - gpio@c700 { - reg = <0xc700 0x100>; - qcom,pin-num = <8>; - }; - - gpio@c800 { - reg = <0xc800 0x100>; - qcom,pin-num = <9>; - }; - - gpio@c900 { - reg = <0xc900 0x100>; - qcom,pin-num = <10>; - }; - - gpio@ca00 { - reg = <0xca00 0x100>; - qcom,pin-num = <11>; - }; - - gpio@cb00 { - reg = <0xcb00 0x100>; - qcom,pin-num = <12>; - }; - - gpio@cc00 { - reg = <0xcc00 0x100>; - qcom,pin-num = <13>; - }; - - gpio@cd00 { - reg = <0xcd00 0x100>; - qcom,pin-num = <14>; - }; - - gpio@ce00 { - reg = <0xce00 0x100>; - qcom,pin-num = <15>; - }; - - gpio@cf00 { - reg = <0xcf00 0x100>; - qcom,pin-num = <16>; - }; - - gpio@d000 { - reg = <0xd000 0x100>; - qcom,pin-num = <17>; - }; - - gpio@d100 { - reg = <0xd100 0x100>; - qcom,pin-num = <18>; - }; - - gpio@d200 { - reg = <0xd200 0x100>; - qcom,pin-num = <19>; - }; - - gpio@d300 { - reg = <0xd300 0x100>; - qcom,pin-num = <20>; - }; - - gpio@d400 { - reg = <0xd400 0x100>; - qcom,pin-num = <21>; - }; - - gpio@d500 { - reg = <0xd500 0x100>; - qcom,pin-num = <22>; - }; - - gpio@d600 { - reg = <0xd600 0x100>; - qcom,pin-num = <23>; - }; - - gpio@d700 { - reg = <0xd700 0x100>; - qcom,pin-num = <24>; - }; - - gpio@d800 { - reg = <0xd800 0x100>; - qcom,pin-num = <25>; - }; - - gpio@d900 { - reg = <0xd900 0x100>; - qcom,pin-num = <26>; - }; - - gpio@da00 { - reg = <0xda00 0x100>; - qcom,pin-num = <27>; - }; - - gpio@db00 { - reg = <0xdb00 0x100>; - qcom,pin-num = <28>; - }; - - gpio@dc00 { - reg = <0xdc00 0x100>; - qcom,pin-num = <29>; - }; - - gpio@dd00 { - reg = <0xdd00 0x100>; - qcom,pin-num = <30>; - }; - - gpio@de00 { - reg = <0xde00 0x100>; - qcom,pin-num = <31>; - }; - - gpio@df00 { - reg = <0xdf00 0x100>; - qcom,pin-num = <32>; - }; - - gpio@e000 { - reg = <0xe000 0x100>; - qcom,pin-num = <33>; - }; - - gpio@e100 { - reg = <0xe100 0x100>; - qcom,pin-num = <34>; - }; - - gpio@e200 { - reg = <0xe200 0x100>; - qcom,pin-num = <35>; - }; - - gpio@e300 { - reg = <0xe300 0x100>; - qcom,pin-num = <36>; - }; - }; - - pm8941_mpps: mpps { - spmi-dev-container; - compatible = "qcom,qpnp-pin"; - gpio-controller; - #gpio-cells = <2>; - #address-cells = <1>; - #size-cells = <1>; - label = "pm8941-mpp"; - - mpp@a000 { - reg = <0xa000 0x100>; - qcom,pin-num = <1>; - }; - - mpp@a100 { - reg = <0xa100 0x100>; - qcom,pin-num = <2>; - }; - - mpp@a200 { - reg = <0xa200 0x100>; - qcom,pin-num = <3>; - }; - - mpp@a300 { - reg = <0xa300 0x100>; - qcom,pin-num = <4>; - }; - - mpp@a400 { - reg = <0xa400 0x100>; - qcom,pin-num = <5>; - }; - - mpp@a500 { - reg = <0xa500 0x100>; - qcom,pin-num = <6>; - }; - - mpp@a600 { - reg = <0xa600 0x100>; - qcom,pin-num = <7>; - }; - - mpp@a700 { - reg = <0xa700 0x100>; - qcom,pin-num = <8>; - }; - }; - - qcom,pm8941_rtc { - spmi-dev-container; - compatible = "qcom,qpnp-rtc"; - #address-cells = <1>; - #size-cells = <1>; - qcom,qpnp-rtc-write = <0>; - qcom,qpnp-rtc-alarm-pwrup = <0>; - - qcom,pm8941_rtc_rw@6000 { - reg = <0x6000 0x100>; - }; - qcom,pm8941_rtc_alarm@6100 { - reg = <0x6100 0x100>; - interrupts = <0x0 0x61 0x1>; - }; - }; - - vadc@3100 { - compatible = "qcom,qpnp-vadc"; - reg = <0x3100 0x100>; - #address-cells = <1>; - #size-cells = <0>; - interrupts = <0x0 0x31 0x0>; - interrupt-names = "eoc-int-en-set"; - qcom,adc-bit-resolution = <15>; - qcom,adc-vdd-reference = <1800>; - - chan@0 { - label = "usb_in"; - reg = <0>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <4>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@1 { - label = "dc_in"; - reg = <1>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <4>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@2 { - label = "vchg_sns"; - reg = <2>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <3>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@3 { - label = "spare1_div3"; - reg = <3>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <1>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@4 { - label = "usb_id_mv"; - reg = <4>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <1>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@5 { - label = "vcoin"; - reg = <5>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <1>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@6 { - label = "vbat_sns"; - reg = <6>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <1>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@7 { - label = "vph_pwr"; - reg = <7>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <1>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@8 { - label = "die_temp"; - reg = <8>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <3>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@9 { - label = "ref_625mv"; - reg = <9>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@a { - label = "ref_1250v"; - reg = <0xa>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@30 { - label = "batt_therm"; - reg = <0x30>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <1>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@31 { - label = "batt_id"; - reg = <0x31>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@b2 { - label = "xo_therm_pu2"; - reg = <0xb2>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <4>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@b3 { - label = "msm_therm"; - reg = <0xb3>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@b4 { - label = "emmc_therm"; - reg = <0xb4>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@b5 { - label = "pa_therm0"; - reg = <0xb5>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@b7 { - label = "pa_therm1"; - reg = <0xb7>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@b8 { - label = "quiet_therm"; - reg = <0xb8>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@b9 { - label = "usb_id"; - reg = <0xb9>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@39 { - label = "usb_id_nopull"; - reg = <0x39>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - }; - - iadc@3600 { - compatible = "qcom,qpnp-iadc"; - reg = <0x3600 0x100>; - #address-cells = <1>; - #size-cells = <0>; - interrupts = <0x0 0x36 0x0>; - interrupt-names = "eoc-int-en-set"; - qcom,adc-bit-resolution = <16>; - qcom,adc-vdd-reference = <1800>; - - chan@0 { - label = "internal_rsense"; - reg = <0>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <1>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - }; - - qcom,vadc@3400 { - compatible = "qcom,qpnp-adc-tm"; - reg = <0x3400 0x100>; - #address-cells = <1>; - #size-cells = <0>; - interrupts = <0x0 0x34 0x0>, - <0x0 0x34 0x3>, - <0x0 0x34 0x4>; - interrupt-names = "eoc-int-en-set", - "high-thr-en-set", - "low-thr-en-set"; - qcom,adc-bit-resolution = <15>; - qcom,adc-vdd-reference = <1800>; - - /* Channel Node */ - chan@b9 { - label = "usb_id"; - reg = <0xb9>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <3>; - qcom,btm-channel-number = <0x48>; - }; - - chan@30 { - label = "batt_therm"; - reg = <0x30>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <1>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <3>; - qcom,btm-channel-number = <0x68>; - }; - - chan@8 { - label = "die_temp"; - reg = <8>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <3>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <3>; - qcom,btm-channel-number = <0x70>; - }; - - chan@6 { - label = "vbat_sns"; - reg = <6>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <1>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <3>; - qcom,btm-channel-number = <0x78>; - }; - - chan@b5 { - label = "pa_therm0"; - reg = <0xb5>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <3>; - qcom,btm-channel-number = <0x80>; - qcom,thermal-node; - }; - - chan@b7 { - label = "pa_therm1"; - reg = <0xb7>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <3>; - qcom,btm-channel-number = <0x88>; - qcom,thermal-node; - }; - - chan@b4 { - label = "emmc_therm"; - reg = <0xb4>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <3>; - qcom,btm-channel-number = <0x90>; - qcom,thermal-node; - }; - - chan@b3 { - label = "msm_therm"; - reg = <0xb3>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <3>; - qcom,btm-channel-number = <0x98>; - qcom,thermal-node; - }; - }; - }; - - qcom,pm8941@1 { - spmi-slave-container; - reg = <0x1>; - #address-cells = <1>; - #size-cells = <1>; - - regulator@1400 { - regulator-name = "8941_s1"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x1400 0x300>; - status = "disabled"; - - qcom,ctl@1400 { - reg = <0x1400 0x100>; - }; - qcom,ps@1500 { - reg = <0x1500 0x100>; - }; - qcom,freq@1600 { - reg = <0x1600 0x100>; - }; - }; - - regulator@1700 { - regulator-name = "8941_s2"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x1700 0x300>; - status = "disabled"; - - qcom,ctl@1700 { - reg = <0x1700 0x100>; - }; - qcom,ps@1800 { - reg = <0x1800 0x100>; - }; - qcom,freq@1900 { - reg = <0x1900 0x100>; - }; - }; - - regulator@1a00 { - regulator-name = "8941_s3"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x1a00 0x300>; - status = "disabled"; - - qcom,ctl@1a00 { - reg = <0x1a00 0x100>; - }; - qcom,ps@1b00 { - reg = <0x1b00 0x100>; - }; - qcom,freq@1c00 { - reg = <0x1c00 0x100>; - }; - }; - - regulator@a000 { - regulator-name = "8941_boost"; - reg = <0xa000 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4000 { - regulator-name = "8941_l1"; - reg = <0x4000 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4100 { - regulator-name = "8941_l2"; - reg = <0x4100 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4200 { - regulator-name = "8941_l3"; - reg = <0x4200 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4300 { - regulator-name = "8941_l4"; - reg = <0x4300 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4400 { - regulator-name = "8941_l5"; - reg = <0x4400 0x100>; - compatible = "qcom,qpnp-regulator"; - qcom,force-type = <0x04 0x10>; - status = "disabled"; - }; - - regulator@4500 { - regulator-name = "8941_l6"; - reg = <0x4500 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4600 { - regulator-name = "8941_l7"; - reg = <0x4600 0x100>; - compatible = "qcom,qpnp-regulator"; - qcom,force-type = <0x04 0x10>; - status = "disabled"; - }; - - regulator@4700 { - regulator-name = "8941_l8"; - reg = <0x4700 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4800 { - regulator-name = "8941_l9"; - reg = <0x4800 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4900 { - regulator-name = "8941_l10"; - reg = <0x4900 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4a00 { - regulator-name = "8941_l11"; - reg = <0x4a00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4b00 { - regulator-name = "8941_l12"; - reg = <0x4b00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4c00 { - regulator-name = "8941_l13"; - reg = <0x4c00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4d00 { - regulator-name = "8941_l14"; - reg = <0x4d00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4e00 { - regulator-name = "8941_l15"; - reg = <0x4e00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4f00 { - regulator-name = "8941_l16"; - reg = <0x4f00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5000 { - regulator-name = "8941_l17"; - reg = <0x5000 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5100 { - regulator-name = "8941_l18"; - reg = <0x5100 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5200 { - regulator-name = "8941_l19"; - reg = <0x5200 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5300 { - regulator-name = "8941_l20"; - reg = <0x5300 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5400 { - regulator-name = "8941_l21"; - reg = <0x5400 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5500 { - regulator-name = "8941_l22"; - reg = <0x5500 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5600 { - regulator-name = "8941_l23"; - reg = <0x5600 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5700 { - regulator-name = "8941_l24"; - reg = <0x5700 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@8000 { - regulator-name = "8941_lvs1"; - reg = <0x8000 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@8100 { - regulator-name = "8941_lvs2"; - reg = <0x8100 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@8200 { - regulator-name = "8941_lvs3"; - reg = <0x8200 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@8300 { - regulator-name = "8941_mvs1"; - reg = <0x8300 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@8400 { - regulator-name = "8941_mvs2"; - reg = <0x8400 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - qcom,vibrator@c000 { - compatible = "qcom,qpnp-vibrator"; - reg = <0xc000 0x100>; - label = "vibrator"; - status = "disabled"; - }; - - qcom,leds@d000 { - compatible = "qcom,leds-qpnp"; - reg = <0xd000 0x100>; - label = "rgb"; - }; - - qcom,leds@d100 { - compatible = "qcom,leds-qpnp"; - reg = <0xd100 0x100>; - label = "rgb"; - }; - - qcom,leds@d200 { - compatible = "qcom,leds-qpnp"; - reg = <0xd200 0x100>; - label = "rgb"; - }; - - qcom,leds@d300 { - compatible = "qcom,leds-qpnp"; - reg = <0xd300 0x100>; - label = "flash"; - flash_boost-supply = <&pm8941_chg_boost>; - }; - - qcom,leds@d400 { - compatible = "qcom,leds-qpnp"; - reg = <0xd400 0x100>; - label = "flash"; - }; - - qcom,leds@d500 { - compatible = "qcom,leds-qpnp"; - reg = <0xd500 0x100>; - label = "flash"; - }; - - qcom,leds@d600 { - compatible = "qcom,leds-qpnp"; - reg = <0xd600 0x100>; - label = "flash"; - }; - - qcom,leds@d700 { - compatible = "qcom,leds-qpnp"; - reg = <0xd700 0x100>; - label = "flash"; - }; - - qcom,leds@d800 { - compatible = "qcom,leds-qpnp"; - reg = <0xd800 0x100>; - label = "wled"; - }; - - qcom,leds@d900 { - compatible = "qcom,leds-qpnp"; - reg = <0xd900 0x100>; - label = "wled"; - }; - - qcom,leds@da00 { - compatible = "qcom,leds-qpnp"; - reg = <0xda00 0x100>; - label = "wled"; - }; - - qcom,leds@db00 { - compatible = "qcom,leds-qpnp"; - reg = <0xdb00 0x100>; - label = "wled"; - }; - - qcom,leds@dc00 { - compatible = "qcom,leds-qpnp"; - reg = <0xdc00 0x100>; - label = "wled"; - }; - - qcom,leds@dd00 { - compatible = "qcom,leds-qpnp"; - reg = <0xdd00 0x100>; - label = "wled"; - }; - - qcom,leds@de00 { - compatible = "qcom,leds-qpnp"; - reg = <0xde00 0x100>; - label = "wled"; - }; - - qcom,leds@df00 { - compatible = "qcom,leds-qpnp"; - reg = <0xdf00 0x100>; - label = "wled"; - }; - - qcom,leds@e000 { - compatible = "qcom,leds-qpnp"; - reg = <0xe000 0x100>; - label = "wled"; - }; - - qcom,leds@e100 { - compatible = "qcom,leds-qpnp"; - reg = <0xe100 0x100>; - label = "wled"; - }; - - pwm@b100 { - compatible = "qcom,qpnp-pwm"; - reg = <0xb100 0x100>, - <0xb042 0x7e>; - reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base"; - qcom,channel-id = <0>; - }; - - pwm@b200 { - compatible = "qcom,qpnp-pwm"; - reg = <0xb200 0x100>, - <0xb042 0x7e>; - reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base"; - qcom,channel-id = <1>; - }; - - pwm@b300 { - compatible = "qcom,qpnp-pwm"; - reg = <0xb300 0x100>, - <0xb042 0x7e>; - reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base"; - qcom,channel-id = <2>; - }; - - pwm@b400 { - compatible = "qcom,qpnp-pwm"; - reg = <0xb400 0x100>, - <0xb042 0x7e>; - reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base"; - qcom,channel-id = <3>; - }; - - pwm@b500 { - compatible = "qcom,qpnp-pwm"; - reg = <0xb500 0x100>, - <0xb042 0x7e>; - reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base"; - qcom,channel-id = <4>; - }; - - pwm@b600 { - compatible = "qcom,qpnp-pwm"; - reg = <0xb600 0x100>, - <0xb042 0x7e>; - reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base"; - qcom,channel-id = <5>; - }; - - pwm@b700 { - compatible = "qcom,qpnp-pwm"; - reg = <0xb700 0x100>, - <0xb042 0x7e>; - reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base"; - qcom,channel-id = <6>; - }; - - pwm@b800 { - compatible = "qcom,qpnp-pwm"; - reg = <0xb800 0x100>, - <0xb042 0x7e>; - reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base"; - qcom,channel-id = <7>; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm-pm8x41-rpm-regulator.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm-pm8x41-rpm-regulator.dtsi deleted file mode 100644 index 6e67dd85c..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm-pm8x41-rpm-regulator.dtsi +++ /dev/null @@ -1,585 +0,0 @@ -/* Copyright (c) 2012, 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. - */ - -&rpm_bus { - rpm-regulator-smpb1 { - qcom,resource-name = "smpb"; - qcom,resource-id = <1>; - qcom,regulator-type = <1>; - qcom,hpm-min-load = <100000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-s1 { - regulator-name = "8841_s1"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-smpb2 { - qcom,resource-name = "smpb"; - qcom,resource-id = <2>; - qcom,regulator-type = <1>; - qcom,hpm-min-load = <100000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-s2 { - regulator-name = "8841_s2"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-smpb3 { - qcom,resource-name = "smpb"; - qcom,resource-id = <3>; - qcom,regulator-type = <1>; - qcom,hpm-min-load = <100000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-s3 { - regulator-name = "8841_s3"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-smpb4 { - qcom,resource-name = "smpb"; - qcom,resource-id = <4>; - qcom,regulator-type = <1>; - qcom,hpm-min-load = <100000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-s4 { - regulator-name = "8841_s4"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-smpa1 { - qcom,resource-name = "smpa"; - qcom,resource-id = <1>; - qcom,regulator-type = <1>; - qcom,hpm-min-load = <100000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-s1 { - regulator-name = "8941_s1"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-smpa2 { - qcom,resource-name = "smpa"; - qcom,resource-id = <2>; - qcom,regulator-type = <1>; - qcom,hpm-min-load = <100000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-s2 { - regulator-name = "8941_s2"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-smpa3 { - qcom,resource-name = "smpa"; - qcom,resource-id = <3>; - qcom,regulator-type = <1>; - qcom,hpm-min-load = <100000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-s3 { - regulator-name = "8941_s3"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa1 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <1>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l1 { - regulator-name = "8941_l1"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa2 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <2>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l2 { - regulator-name = "8941_l2"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa3 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <3>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l3 { - regulator-name = "8941_l3"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa4 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <4>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l4 { - regulator-name = "8941_l4"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa5 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <5>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l5 { - regulator-name = "8941_l5"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa6 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <6>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l6 { - regulator-name = "8941_l6"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa7 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <7>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l7 { - regulator-name = "8941_l7"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa8 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <8>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l8 { - regulator-name = "8941_l8"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa9 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <9>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l9 { - regulator-name = "8941_l9"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa10 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <10>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l10 { - regulator-name = "8941_l10"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa11 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <11>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l11 { - regulator-name = "8941_l11"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa12 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <12>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l12 { - regulator-name = "8941_l12"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa13 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <13>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l13 { - regulator-name = "8941_l13"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa14 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <14>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l14 { - regulator-name = "8941_l14"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa15 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <15>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l15 { - regulator-name = "8941_l15"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa16 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <16>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l16 { - regulator-name = "8941_l16"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa17 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <17>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l17 { - regulator-name = "8941_l17"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa18 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <18>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l18 { - regulator-name = "8941_l18"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa19 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <19>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l19 { - regulator-name = "8941_l19"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa20 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <20>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l20 { - regulator-name = "8941_l20"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa21 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <21>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l21 { - regulator-name = "8941_l21"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa22 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <22>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l22 { - regulator-name = "8941_l22"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa23 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <23>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l23 { - regulator-name = "8941_l23"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa24 { - qcom,resource-name = "ldoa"; - qcom,resource-id = <24>; - qcom,regulator-type = <0>; - qcom,hpm-min-load = <10000>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-l24 { - regulator-name = "8941_l24"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - /* TODO: find out correct resource names for LVS vs MVS */ - rpm-regulator-vsa1 { - qcom,resource-name = "vsa"; - qcom,resource-id = <1>; - qcom,regulator-type = <2>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-lvs1 { - regulator-name = "8941_lvs1"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-vsa2 { - qcom,resource-name = "vsa"; - qcom,resource-id = <2>; - qcom,regulator-type = <2>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-lvs2 { - regulator-name = "8941_lvs2"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-vsa3 { - qcom,resource-name = "vsa"; - qcom,resource-id = <3>; - qcom,regulator-type = <2>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-lvs3 { - regulator-name = "8941_lvs3"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-vsa4 { - qcom,resource-name = "vsa"; - qcom,resource-id = <4>; - qcom,regulator-type = <2>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-mvs1 { - regulator-name = "8941_mvs1"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-vsa5 { - qcom,resource-name = "vsa"; - qcom,resource-id = <5>; - qcom,regulator-type = <2>; - compatible = "qcom,rpm-regulator-smd-resource"; - status = "disabled"; - - regulator-mvs2 { - regulator-name = "8941_mvs2"; - qcom,set = <3>; - status = "disabled"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm-pma8084.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm-pma8084.dtsi deleted file mode 100644 index 30525aac0..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm-pma8084.dtsi +++ /dev/null @@ -1,666 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&spmi_bus { - #address-cells = <1>; - #size-cells = <0>; - interrupt-controller; - #interrupt-cells = <3>; - - qcom,pma8084@0 { - spmi-slave-container; - reg = <0x0>; - #address-cells = <1>; - #size-cells = <1>; - - pma8084_gpios: gpios { - spmi-dev-container; - compatible = "qcom,qpnp-pin"; - gpio-controller; - #gpio-cells = <2>; - #address-cells = <1>; - #size-cells = <1>; - label = "pma8084-gpio"; - - gpio@c000 { - reg = <0xc000 0x100>; - qcom,pin-num = <1>; - }; - - gpio@c100 { - reg = <0xc100 0x100>; - qcom,pin-num = <2>; - }; - - gpio@c200 { - reg = <0xc200 0x100>; - qcom,pin-num = <3>; - }; - - gpio@c300 { - reg = <0xc300 0x100>; - qcom,pin-num = <4>; - }; - - gpio@c400 { - reg = <0xc400 0x100>; - qcom,pin-num = <5>; - }; - - gpio@c500 { - reg = <0xc500 0x100>; - qcom,pin-num = <6>; - }; - - gpio@c600 { - reg = <0xc600 0x100>; - qcom,pin-num = <7>; - }; - - gpio@c700 { - reg = <0xc700 0x100>; - qcom,pin-num = <8>; - }; - - gpio@c800 { - reg = <0xc800 0x100>; - qcom,pin-num = <9>; - }; - - gpio@c900 { - reg = <0xc900 0x100>; - qcom,pin-num = <10>; - }; - - gpio@ca00 { - reg = <0xca00 0x100>; - qcom,pin-num = <11>; - }; - - gpio@cb00 { - reg = <0xcb00 0x100>; - qcom,pin-num = <12>; - }; - - gpio@cc00 { - reg = <0xcc00 0x100>; - qcom,pin-num = <13>; - }; - - gpio@cd00 { - reg = <0xcd00 0x100>; - qcom,pin-num = <14>; - }; - - gpio@ce00 { - reg = <0xce00 0x100>; - qcom,pin-num = <15>; - }; - - gpio@cf00 { - reg = <0xcf00 0x100>; - qcom,pin-num = <16>; - }; - - gpio@d000 { - reg = <0xd000 0x100>; - qcom,pin-num = <17>; - }; - - gpio@d100 { - reg = <0xd100 0x100>; - qcom,pin-num = <18>; - }; - - gpio@d200 { - reg = <0xd200 0x100>; - qcom,pin-num = <19>; - }; - - gpio@d300 { - reg = <0xd300 0x100>; - qcom,pin-num = <20>; - }; - - gpio@d400 { - reg = <0xd400 0x100>; - qcom,pin-num = <21>; - }; - - gpio@d500 { - reg = <0xd500 0x100>; - qcom,pin-num = <22>; - }; - }; - - pma8084_mpps: mpps { - spmi-dev-container; - compatible = "qcom,qpnp-pin"; - gpio-controller; - #gpio-cells = <2>; - #address-cells = <1>; - #size-cells = <1>; - label = "pma8084-mpp"; - - mpp@a000 { - reg = <0xa000 0x100>; - qcom,pin-num = <1>; - }; - - mpp@a100 { - reg = <0xa100 0x100>; - qcom,pin-num = <2>; - }; - - mpp@a200 { - reg = <0xa200 0x100>; - qcom,pin-num = <3>; - }; - - mpp@a300 { - reg = <0xa300 0x100>; - qcom,pin-num = <4>; - }; - - mpp@a400 { - reg = <0xa400 0x100>; - qcom,pin-num = <5>; - }; - - mpp@a500 { - reg = <0xa500 0x100>; - qcom,pin-num = <6>; - }; - - mpp@a600 { - reg = <0xa600 0x100>; - qcom,pin-num = <7>; - }; - - mpp@a700 { - reg = <0xa700 0x100>; - qcom,pin-num = <8>; - }; - }; - }; - - qcom,pma8084@1 { - spmi-slave-container; - reg = <0x1>; - #address-cells = <1>; - #size-cells = <1>; - - regulator@1400 { - regulator-name = "8084_s1"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x1400 0x300>; - status = "disabled"; - - qcom,ctl@1400 { - reg = <0x1400 0x100>; - }; - qcom,ps@1500 { - reg = <0x1500 0x100>; - }; - qcom,freq@1600 { - reg = <0x1600 0x100>; - }; - }; - - regulator@1700 { - regulator-name = "8084_s2"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x1700 0x300>; - status = "disabled"; - - qcom,ctl@1700 { - reg = <0x1700 0x100>; - }; - qcom,ps@1800 { - reg = <0x1800 0x100>; - }; - qcom,freq@1900 { - reg = <0x1900 0x100>; - }; - }; - - regulator@1a00 { - regulator-name = "8084_s3"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x1a00 0x300>; - status = "disabled"; - - qcom,ctl@1a00 { - reg = <0x1a00 0x100>; - }; - qcom,ps@1b00 { - reg = <0x1b00 0x100>; - }; - qcom,freq@1c00 { - reg = <0x1c00 0x100>; - }; - }; - - regulator@1d00 { - regulator-name = "8084_s4"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x1d00 0x300>; - status = "disabled"; - - qcom,ctl@1d00 { - reg = <0x1d00 0x100>; - }; - qcom,ps@1e00 { - reg = <0x1e00 0x100>; - }; - qcom,freq@1f00 { - reg = <0x1f00 0x100>; - }; - }; - - regulator@2000 { - regulator-name = "8084_s5"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x2000 0x300>; - status = "disabled"; - - qcom,ctl@2000 { - reg = <0x2000 0x100>; - }; - qcom,ps@2100 { - reg = <0x2100 0x100>; - }; - qcom,freq@2200 { - reg = <0x2200 0x100>; - }; - }; - - regulator@2300 { - regulator-name = "8084_s6"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x2300 0x300>; - status = "disabled"; - - qcom,ctl@2300 { - reg = <0x2300 0x100>; - }; - qcom,ps@2400 { - reg = <0x2400 0x100>; - }; - qcom,freq@2500 { - reg = <0x2500 0x100>; - }; - }; - - regulator@2600 { - regulator-name = "8084_s7"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x2600 0x300>; - status = "disabled"; - - qcom,ctl@2600 { - reg = <0x2600 0x100>; - }; - qcom,ps@2700 { - reg = <0x2700 0x100>; - }; - qcom,freq@2800 { - reg = <0x2800 0x100>; - }; - }; - - regulator@2900 { - regulator-name = "8084_s8"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x2900 0x300>; - status = "disabled"; - - qcom,ctl@2900 { - reg = <0x2900 0x100>; - }; - qcom,ps@2a00 { - reg = <0x2a00 0x100>; - }; - qcom,freq@2b00 { - reg = <0x2b00 0x100>; - }; - }; - - regulator@2c00 { - regulator-name = "8084_s9"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x2c00 0x300>; - status = "disabled"; - - qcom,ctl@2c00 { - reg = <0x2c00 0x100>; - }; - qcom,ps@2d00 { - reg = <0x2d00 0x100>; - }; - qcom,freq@2e00 { - reg = <0x2e00 0x100>; - }; - }; - - regulator@2f00 { - regulator-name = "8084_s10"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x2f00 0x300>; - status = "disabled"; - - qcom,ctl@2f00 { - reg = <0x2f00 0x100>; - }; - qcom,ps@3000 { - reg = <0x3000 0x100>; - }; - qcom,freq@3100 { - reg = <0x3100 0x100>; - }; - }; - - regulator@3200 { - regulator-name = "8084_s11"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x3200 0x300>; - status = "disabled"; - - qcom,ctl@3200 { - reg = <0x3200 0x100>; - }; - qcom,ps@3300 { - reg = <0x3300 0x100>; - }; - qcom,freq@3400 { - reg = <0x3400 0x100>; - }; - }; - - regulator@3500 { - regulator-name = "8084_s12"; - spmi-dev-container; - #address-cells = <1>; - #size-cells = <1>; - compatible = "qcom,qpnp-regulator"; - reg = <0x3500 0x300>; - status = "disabled"; - - qcom,ctl@3500 { - reg = <0x3500 0x100>; - }; - qcom,ps@3600 { - reg = <0x3600 0x100>; - }; - qcom,freq@3700 { - reg = <0x3700 0x100>; - }; - }; - - regulator@4000 { - regulator-name = "8084_l1"; - reg = <0x4000 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4100 { - regulator-name = "8084_l2"; - reg = <0x4100 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4200 { - regulator-name = "8084_l3"; - reg = <0x4200 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4300 { - regulator-name = "8084_l4"; - reg = <0x4300 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4400 { - regulator-name = "8084_l5"; - reg = <0x4400 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4500 { - regulator-name = "8084_l6"; - reg = <0x4500 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4600 { - regulator-name = "8084_l7"; - reg = <0x4600 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4700 { - regulator-name = "8084_l8"; - reg = <0x4700 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4800 { - regulator-name = "8084_l9"; - reg = <0x4800 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4900 { - regulator-name = "8084_l10"; - reg = <0x4900 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4a00 { - regulator-name = "8084_l11"; - reg = <0x4a00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4b00 { - regulator-name = "8084_l12"; - reg = <0x4b00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4c00 { - regulator-name = "8084_l13"; - reg = <0x4c00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4d00 { - regulator-name = "8084_l14"; - reg = <0x4d00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4e00 { - regulator-name = "8084_l15"; - reg = <0x4e00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@4f00 { - regulator-name = "8084_l16"; - reg = <0x4f00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5000 { - regulator-name = "8084_l17"; - reg = <0x5000 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5100 { - regulator-name = "8084_l18"; - reg = <0x5100 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5200 { - regulator-name = "8084_l19"; - reg = <0x5200 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5300 { - regulator-name = "8084_l20"; - reg = <0x5300 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5400 { - regulator-name = "8084_l21"; - reg = <0x5400 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5500 { - regulator-name = "8084_l22"; - reg = <0x5500 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5600 { - regulator-name = "8084_l23"; - reg = <0x5600 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5700 { - regulator-name = "8084_l24"; - reg = <0x5700 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5800 { - regulator-name = "8084_l25"; - reg = <0x5800 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5900 { - regulator-name = "8084_l26"; - reg = <0x5900 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@5a00 { - regulator-name = "8084_l27"; - reg = <0x5a00 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@8000 { - regulator-name = "8084_lvs1"; - reg = <0x8000 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@8100 { - regulator-name = "8084_lvs2"; - reg = <0x8100 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@8200 { - regulator-name = "8084_lvs3"; - reg = <0x8200 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@8300 { - regulator-name = "8084_lvs4"; - reg = <0x8300 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - - regulator@8400 { - regulator-name = "8084_mvs1"; - reg = <0x8400 0x100>; - compatible = "qcom,qpnp-regulator"; - status = "disabled"; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8226-bus.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8226-bus.dtsi deleted file mode 100644 index d87aa3ea5..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8226-bus.dtsi +++ /dev/null @@ -1,1128 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -&soc { - msm-mmss-noc@fc478000 { - compatible = "msm-bus-fabric"; - reg = <0xfc478000 0x00004000>; - cell-id = <2048>; - label = "msm_mmss_noc"; - qcom,fabclk-dual = "bus_clk"; - qcom,fabclk-active = "bus_a_clk"; - qcom,ntieredslaves = <0>; - qcom,qos-freq = <4800>; - qcom,hw-sel = "NoC"; - qcom,rpm-en; - - mas-gfx3d { - cell-id = <26>; - label = "mas-gfx3d"; - qcom,masterp = <2>; - qcom,tier = <2>; - qcom,hw-sel = "NoC"; - qcom,perm-mode = "Bypass"; - qcom,mode = "Bypass"; - qcom,ws = <10000>; - qcom,qport = <2>; - qcom,mas-hw-id = <6>; - }; - - mas-jpeg { - cell-id = <62>; - label = "mas-jpeg"; - qcom,masterp = <4>; - qcom,tier = <2>; - qcom,hw-sel = "NoC"; - qcom,perm-mode = "Bypass"; - qcom,mode = "Bypass"; - qcom,qport = <0>; - qcom,ws = <10000>; - qcom,mas-hw-id = <7>; - }; - - mas-mdp-port0 { - cell-id = <22>; - label = "mas-mdp-port0"; - qcom,masterp = <5>; - qcom,tier = <2>; - qcom,hw-sel = "NoC"; - qcom,perm-mode = "Bypass"; - qcom,mode = "Bypass"; - qcom,qport = <1>; - qcom,ws = <10000>; - qcom,mas-hw-id = <8>; - }; - - mas-video-p0 { - cell-id = <63>; - label = "mas-video-p0"; - qcom,masterp = <6>; - qcom,tier = <2>; - qcom,hw-sel = "NoC"; - qcom,perm-mode = "Bypass"; - qcom,mode = "Bypass"; - qcom,ws = <10000>; - qcom,qport = <4>; - qcom,mas-hw-id = <9>; - }; - - mas-vfe { - cell-id = <29>; - label = "mas-vfe"; - qcom,masterp = <16>; - qcom,tier = <2>; - qcom,hw-sel = "NoC"; - qcom,perm-mode = "Bypass"; - qcom,mode = "Bypass"; - qcom,ws = <10000>; - qcom,qport = <6>; - qcom,mas-hw-id = <11>; - }; - - fab-cnoc { - cell-id = <5120>; - label = "fab-cnoc"; - qcom,gateway; - qcom,masterp = <0 1>; - qcom,buswidth = <16>; - qcom,hw-sel = "RPM"; - qcom,mas-hw-id = <4>; - }; - - fab-bimc { - cell-id = <0>; - label = "fab-bimc"; - qcom,gateway; - qcom,slavep = <16>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <16>; - }; - - slv-camera-cfg { - cell-id = <589>; - label = "slv-camera-cfg"; - qcom,slavep = <0>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <3>; - }; - - slv-display-cfg { - cell-id = <590>; - label = "slv-display-cfg"; - qcom,slavep = <1>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <4>; - }; - - slv-ocmem-cfg { - cell-id = <591>; - label = "slv-ocmem-cfg"; - qcom,slavep = <2>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <5>; - }; - - slv-cpr-cfg { - cell-id = <592>; - label = "slv-cpr-cfg"; - qcom,slavep = <3>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <6>; - }; - - slv-cpr-xpu-cfg { - cell-id = <593>; - label = "slv-cpr-xpu-cfg"; - qcom,slavep = <4>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <7>; - }; - - slv-misc-cfg { - cell-id = <594>; - label = "slv-misc-cfg"; - qcom,slavep = <6>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <8>; - }; - - slv-misc-xpu-cfg { - cell-id = <595>; - label = "slv-misc-xpu-cfg"; - qcom,slavep = <7>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <9>; - }; - - slv-venus-cfg { - cell-id = <596>; - label = "slv-venus-cfg"; - qcom,slavep = <8>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <10>; - }; - - slv-gfx3d-cfg { - cell-id = <598>; - label = "slv-gfx3d-cfg"; - qcom,slavep = <9>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <11>; - }; - - slv-mmss-clk-cfg { - cell-id = <599>; - label = "slv-mmss-clk-cfg"; - qcom,slavep = <11>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <12>; - }; - - slv-mmss-clk-xpu-cfg { - cell-id = <600>; - label = "slv-mmss-clk-xpu-cfg"; - qcom,slavep = <12>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <13>; - }; - - slv-mnoc-mpu-cfg { - cell-id = <601>; - label = "slv-mnoc-mpu-cfg"; - qcom,slavep = <13>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <14>; - }; - - slv-onoc-mpu-cfg { - cell-id = <602>; - label = "slv-onoc-mpu-cfg"; - qcom,slavep = <14>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <15>; - }; - - slv-service-mnoc { - cell-id = <603>; - label = "slv-service-mnoc"; - qcom,slavep = <18>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <17>; - }; - - }; - - msm-sys-noc@fc460000 { - compatible = "msm-bus-fabric"; - reg = <0xfc460000 0x00004000>; - cell-id = <1024>; - label = "msm_sys_noc"; - qcom,fabclk-dual = "bus_clk"; - qcom,fabclk-active = "bus_a_clk"; - qcom,ntieredslaves = <0>; - qcom,qos-freq = <4800>; - qcom,hw-sel = "NoC"; - qcom,rpm-en; - - mas-lpass-ahb { - cell-id = <52>; - label = "mas-lpass-ahb"; - qcom,masterp = <0>; - qcom,tier = <2>; - qcom,qport = <0>; - qcom,mas-hw-id = <18>; - qcom,mode = "Fixed"; - qcom,prio-rd = <2>; - qcom,prio-wr = <2>; - }; - - mas-qdss-bam { - cell-id = <53>; - label = "mas-qdss-bam"; - qcom,masterp = <1>; - qcom,tier = <2>; - qcom,mode = "Fixed"; - qcom,qport = <1>; - qcom,mas-hw-id = <19>; - }; - - mas-snoc-cfg { - cell-id = <54>; - label = "mas-snoc-cfg"; - qcom,masterp = <2>; - qcom,tier = <2>; - qcom,mas-hw-id = <20>; - }; - - fab-bimc { - cell-id = <0>; - label= "fab-bimc"; - qcom,gateway; - qcom,slavep = <7>; - qcom,masterp = <3>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <21>; - qcom,slv-hw-id = <24>; - }; - - fab-cnoc { - cell-id = <5120>; - label = "fab-cnoc"; - qcom,gateway; - qcom,slavep = <8>; - qcom,masterp = <4>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <22>; - qcom,slv-hw-id = <25>; - }; - - fab-pnoc { - cell-id = <4096>; - label = "fab-pnoc"; - qcom,gateway; - qcom,slavep = <10>; - qcom,masterp = <10>; - qcom,buswidth = <8>; - qcom,qport = <8>; - qcom,mas-hw-id = <29>; - qcom,slv-hw-id = <28>; - qcom,mode = "Fixed"; - qcom,prio-rd = <2>; - qcom,prio-wr = <2>; - }; - - fab-ovnoc { - cell-id = <6144>; - label = "fab-ovnoc"; - qcom,gateway; - qcom,buswidth = <8>; - qcom,mas-hw-id = <53>; - qcom,slv-hw-id = <77>; - }; - - mas-crypto-core0 { - cell-id = <55>; - label = "mas-crypto-core0"; - qcom,masterp = <5>; - qcom,tier = <2>; - qcom,mode = "Fixed"; -/* qcom,qport = <2>;*/ - qcom,mas-hw-id = <23>; - qcom,hw-sel = "NoC"; - qcom,prio-rd = <1>; - qcom,prio-wr = <1>; - }; - - mas-lpass-proc { - cell-id = <11>; - label = "mas-lpass-proc"; - qcom,masterp = <6>; - qcom,tier = <2>; - qcom,qport = <4>; - qcom,mas-hw-id = <25>; - qcom,mode = "Fixed"; - qcom,prio-rd = <2>; - qcom,prio-wr = <2>; - }; - - mas-mss { - cell-id = <38>; - label = "mas-mss"; - qcom,masterp = <7>; - qcom,tier = <2>; - qcom,mas-hw-id = <26>; - }; - - mas-mss-nav { - cell-id = <57>; - label = "mas-mss-nav"; - qcom,masterp = <8>; - qcom,tier = <2>; - qcom,mas-hw-id = <27>; - }; - - mas-ocmem-dma { - cell-id = <58>; - label = "mas-ocmem-dma"; - qcom,masterp = <9>; - qcom,tier = <2>; - qcom,mode = "Fixed"; - qcom,qport = <7>; - qcom,mas-hw-id = <28>; - }; - - mas-wcss { - cell-id = <59>; - label = "mas-wcss"; - qcom,masterp = <11>; - qcom,tier = <2>; - qcom,mas-hw-id = <30>; - }; - - mas-qdss-etr { - cell-id = <60>; - label = "mas-qdss-etr"; - qcom,masterp = <12>; - qcom,tier = <2>; - qcom,qport = <10>; - qcom,mode = "Fixed"; - qcom,mas-hw-id = <31>; - }; - - slv-ampss { - cell-id = <520>; - label = "slv-ampss"; - qcom,slavep = <1>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <20>; - }; - - slv-lpass { - cell-id = <522>; - label = "slv-lpass"; - qcom,slavep = <2>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <21>; - }; - - slv-wcss { - cell-id = <584>; - label = "slv-wcss"; - qcom,slavep = <6>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <23>; - }; - - slv-ocimem { - cell-id = <585>; - label = "slv-ocimem"; - qcom,slavep = <9>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <26>; - }; - - slv-service-snoc { - cell-id = <587>; - label = "slv-service-snoc"; - qcom,slavep = <11>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <29>; - }; - - slv-qdss-stm { - cell-id = <588>; - label = "slv-qdss-stm"; - qcom,slavep = <12>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <30>; - }; - - }; - - msm-periph-noc@fc468000 { - compatible = "msm-bus-fabric"; - reg = <0xfc468000 0x00004000>; - cell-id = <4096>; - label = "msm_periph_noc"; - qcom,fabclk-dual = "bus_clk"; - qcom,fabclk-active = "bus_a_clk"; - qcom,ntieredslaves = <0>; - qcom,hw-sel = "NoC"; - qcom,rpm-en; - - mas-pnoc-cfg { - cell-id = <88>; - label = "mas-pnoc-cfg"; - qcom,masterp = <7>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <43>; - }; - - mas-sdcc-1 { - cell-id = <78>; - label = "mas-sdcc-1"; - qcom,masterp = <0>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <33>; - }; - - mas-sdcc-3 { - cell-id = <79>; - label = "mas-sdcc-3"; - qcom,masterp = <1>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <34>; - }; - - mas-sdcc-2 { - cell-id = <81>; - label = "mas-sdcc-2"; - qcom,masterp = <2>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <35>; - }; - - mas-bam-dma { - cell-id = <83>; - label = "mas-bam-dma"; - qcom,masterp = <3>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <38>; - }; - - mas-usb-hsic { - cell-id = <85>; - label = "mas-usb-hsic"; - qcom,masterp = <4>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <40>; - }; - - mas-blsp-1 { - cell-id = <86>; - label = "mas-blsp-1"; - qcom,masterp = <5>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <41>; - }; - - mas-usb-hs { - cell-id = <87>; - label = "mas-usb-hs"; - qcom,masterp = <6>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <42>; - }; - - fab-snoc { - cell-id = <1024>; - label = "fab-snoc"; - qcom,gateway; - qcom,slavep = <12>; - qcom,masterp = <8>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <45>; - qcom,mas-hw-id = <44>; - }; - - slv-sdcc-1 { - cell-id = <606>; - label = "slv-sdcc-1"; - qcom,slavep = <0>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <31>; - }; - - slv-sdcc-3 { - cell-id = <607>; - label = "slv-sdcc-3"; - qcom,slavep = <1>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <32>; - }; - - slv-sdcc-2 { - cell-id = <608>; - label = "slv-sdcc-2"; - qcom,slavep = <2>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <33>; - }; - - slv-bam-dma { - cell-id = <610>; - label = "slv-bam-dma"; - qcom,slavep = <3>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <36>; - }; - - slv-usb-hsic { - cell-id = <612>; - label = "slv-usb-hsic"; - qcom,slavep = <4>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <38>; - }; - - slv-blsp-1 { - cell-id = <613>; - label = "slv-blsp-1"; - qcom,slavep = <5>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <39>; - }; - - slv-usb-hs { - cell-id = <614>; - label = "slv-usb-hs"; - qcom,slavep = <6>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <40>; - }; - - slv-pdm { - cell-id = <615>; - label = "slv-pdm"; - qcom,slavep = <7>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <41>; - }; - - slv-periph-apu-cfg { - cell-id = <616>; - label = "slv-periph-apu-cfg"; - qcom,slavep = <8>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <42>; - }; - - slv-pnoc-mpu-cfg { - cell-id = <617>; - label = "slv-pnoc-mpu-cfg"; - qcom,slavep = <9>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <43>; - }; - - slv-prng { - cell-id = <618>; - label = "slv-prng"; - qcom,slavep = <10>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <44>; - }; - - slv-service-pnoc { - cell-id = <619>; - label = "slv-service-pnoc"; - qcom,slavep = <12>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <46>; - }; - - }; - - msm-config-noc@fc480000 { - compatible = "msm-bus-fabric"; - reg = <0xfc480000 0x00004000>; - cell-id = <5120>; - label = "msm_config_noc"; - qcom,fabclk-dual = "bus_clk"; - qcom,fabclk-active = "bus_a_clk"; - qcom,ntieredslaves = <0>; - qcom,hw-sel = "NoC"; - qcom,rpm-en; - - mas-rpm-inst { - cell-id = <72>; - label = "mas-rpm-inst"; - qcom,masterp = <0>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <45>; - }; - - mas-rpm-data { - cell-id = <73>; - label = "mas-rpm-data"; - qcom,masterp = <1>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <46>; - }; - - mas-rpm-sys { - cell-id = <74>; - label = "mas-rpm-sys"; - qcom,masterp = <2>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <47>; - }; - - mas-dehr { - cell-id = <75>; - label = "mas-dehr"; - qcom,masterp = <3>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <48>; - }; - - mas-qdss-dsp { - cell-id = <76>; - label = "mas-qdss-dap"; - qcom,masterp = <4>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <49>; - }; - - mas-spdm { - cell-id = <36>; - label = "mas-spdm"; - qcom,masterp = <5>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <50>; - }; - - mas-tic { - cell-id = <77>; - label = "mas-tic"; - qcom,masterp = <6>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <51>; - }; - - slv-clk-ctl { - cell-id = <620>; - label = "slv-clk-ctl"; - qcom,slavep = <1>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <47>; - }; - - slv-cnoc-mss { - cell-id = <621>; - label = "slv-cnoc-mss"; - qcom,slavep = <2>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <48>; - }; - - slv-security { - cell-id = <622>; - label = "slv-security"; - qcom,slavep = <3>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <49>; - }; - - slv-tcsr { - cell-id = <623>; - label = "slv-tcsr"; - qcom,slavep = <4>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <50>; - }; - - slv-tlmm { - cell-id = <624>; - label = "slv-tlmm"; - qcom,slavep = <5>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <51>; - }; - - slv-crypto-0-cfg { - cell-id = <625>; - label = "slv-crypto-0-cfg"; - qcom,slavep = <6>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <52>; - }; - - slv-imem-cfg { - cell-id = <627>; - label = "slv-imem-cfg"; - qcom,slavep = <7>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <54>; - }; - - slv-message-ram { - cell-id = <628>; - label = "slv-message-ram"; - qcom,slavep = <8>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <55>; - }; - - slv-bimc-cfg { - cell-id = <629>; - label = "slv-bimc-cfg"; - qcom,slavep = <9>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <56>; - }; - - slv-boot-rom { - cell-id = <630>; - label = "slv-boot-rom"; - qcom,slavep = <10>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <57>; - }; - - slv-pmic-arb { - cell-id = <632>; - label = "slv-pmic-arb"; - qcom,slavep = <12>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <59>; - }; - - slv-spdm-wrapper { - cell-id = <633>; - label = "slv-spdm-wrapper"; - qcom,slavep = <13>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <60>; - }; - - slv-dehr-cfg { - cell-id = <634>; - label = "slv-dehr-cfg"; - qcom,slavep = <14>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <61>; - }; - - slv-mpm { - cell-id = <536>; - label = "slv-mpm"; - qcom,slavep = <15>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <62>; - }; - - slv-qdss-cfg { - cell-id = <635>; - label = "slv-qdss-cfg"; - qcom,slavep = <16>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <63>; - }; - - slv-rbcpr-cfg { - cell-id = <636>; - label = "slv-rbcpr-cfg"; - qcom,slavep = <17>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <64>; - }; - - slv-rbcpr-qdss-apu-cfg { - cell-id = <637>; - label = "slv-rbcpr-qdss-apu-cfg"; - qcom,slavep = <18>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <65>; - }; - - fab-snoc { - cell-id = <1024>; - label = "fab-snoc"; - qcom,gateway; - qcom,slavep = <26>; - qcom,masterp = <7>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <52>; - qcom,slv-hw-id = <75>; - }; - - slv-cnoc-mnoc-mmss-cfg { - cell-id = <631>; - label = "slv-cnoc-mnoc-mmss-cfg"; - qcom,slavep = <11>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <58>; - }; - - slv-cnoc-mnoc-cfg { - cell-id = <640>; - label = "slv-cnoc-mnoc-cfg"; - qcom,slavep = <19>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <66>; - }; - - slv-pnoc-cfg { - cell-id = <641>; - label = "slv-pnoc-cfg"; - qcom,slavep = <21>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <69>; - }; - - slv-snoc-mpu-cfg { - cell-id = <638>; - label = "slv-snoc-mpu-cfg"; - qcom,slavep = <20>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <67>; - }; - - slv-snoc-cfg { - cell-id = <642>; - label = "slv-snoc-cfg"; - qcom,slavep = <22>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <70>; - }; - - slv-phy-apu-cfg { - cell-id = <644>; - label = "slv-phy-apu-cfg"; - qcom,slavep = <23>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <72>; - }; - - slv-ebi1-phy-cfg { - cell-id = <645>; - label = "slv-ebi1-phy-cfg"; - qcom,slavep = <24>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <73>; - }; - - slv-rpm { - cell-id = <534>; - label = "slv-rpm"; - qcom,slavep = <25>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <74>; - }; - - slv-service-cnoc { - cell-id = <646>; - label = "slv-service-cnoc"; - qcom,slavep = <27>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <76>; - }; - - }; - - msm-bimc@0xfc380000 { - compatible = "msm-bus-fabric"; - reg = <0xfc380000 0x0006A000>; - cell-id = <0>; - label = "msm_bimc"; - qcom,fabclk-dual = "mem_clk"; - qcom,fabclk-active = "mem_a_clk"; - qcom,ntieredslaves = <0>; - qcom,qos-freq = <4800>; - qcom,hw-sel = "BIMC"; - qcom,rpm-en; - - mas-ampss-m0 { - cell-id = <1>; - label = "mas-ampss-m0"; - qcom,masterp = <0>; - qcom,tier = <2>; - qcom,hw-sel = "BIMC"; - qcom,mode = "Fixed"; - qcom,qport = <0>; - qcom,ws = <10000>; - qcom,mas-hw-id = <0>; - qcom,prio-rd = <0>; - qcom,prio-wr = <0>; - }; - - mas-mss-proc { - cell-id = <65>; - label = "mas-mss-proc"; - qcom,masterp = <1>; - qcom,tier = <2>; - qcom,hw-sel = "RPM"; - qcom,mas-hw-id = <1>; - }; - - fab-mmss-noc { - cell-id = <2048>; - label = "fab_mmss_noc"; - qcom,gateway; - qcom,masterp = <2>; - qcom,qport = <2>; - qcom,buswidth = <8>; - qcom,ws = <10000>; - qcom,mas-hw-id = <2>; - qcom,hw-sel = "BIMC"; - qcom,mode = "Bypass"; - }; - - fab-snoc { - cell-id = <1024>; - label = "fab-snoc"; - qcom,gateway; - qcom,slavep = <2>; - qcom,masterp = <4>; - qcom,qport = <4>; - qcom,buswidth = <8>; - qcom,ws = <10000>; - qcom,mas-hw-id = <3>; - qcom,slv-hw-id = <2>; - qcom,mode = "Bypass"; - qcom,hw-sel = "RPM"; - }; - - slv-ebi-ch0 { - cell-id = <512>; - label = "slv-ebi-ch0"; - qcom,slavep = <0>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <0>; - qcom,mode = "Bypass"; - }; - - slv-ampss-l2 { - cell-id = <514>; - label = "slv-ampss-l2"; - qcom,slavep = <1>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <1>; - }; - }; - - msm-ocmem-vnoc@6144 { - compatible = "msm-bus-fabric"; - reg = <0x6144 0x2>; - cell-id = <6144>; - label = "msm-ocmem-vnoc"; - qcom,ntieredslaves = <0>; - qcom,hw-sel = "NoC"; - qcom,rpm-en; - qcom,virt; - - mas-v-ocmem-gfx3d { - cell-id = <89>; - label = "mas-v-ocmem-gfx3d"; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <55>; - }; - - slv-ocmem { - cell-id = <604>; - label = "slv-ocmem"; - qcom,slavep = <0 1>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,slv-hw-id = <18>; - qcom,slaveclk-dual = "ocmem_clk"; - qcom,slaveclk-active = "ocmem_a_clk"; - }; - - fab-snoc { - cell-id = <1024>; - label = "fab-snoc"; - qcom,gateway; - qcom,buswidth = <32>; - qcom,ws = <10000>; - qcom,mas-hw-id = <57>; - qcom,slv-hw-id = <80>; - }; - - fab-onoc { - cell-id = <3072>; - label = "fab-onoc"; - qcom,gateway; - qcom,buswidth = <16>; - qcom,ws = <10000>; - qcom,mas-hw-id = <56>; - qcom,slv-hw-id = <79>; - }; - - }; -}; - - diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8226-camera-sensor-cdp.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8226-camera-sensor-cdp.dtsi deleted file mode 100644 index 41d6b7e79..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8226-camera-sensor-cdp.dtsi +++ /dev/null @@ -1,108 +0,0 @@ -/* - * Copyright (c) 2013, 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. - */ - -&soc { - - led_flash0: qcom,camera-led-flash { - cell-index = <0>; - compatible = "qcom,camera-led-flash"; - qcom,flash-type = <1>; - qcom,flash-source = <&pm8226_flash0 &pm8226_flash1>; - }; -}; - -&cci { - - actuator0: qcom,actuator@6e { - cell-index = <3>; - reg = <0x6c>; - compatible = "qcom,actuator"; - qcom,cci-master = <0>; - }; - - qcom,camera@6f { - compatible = "qcom,ov8825"; - reg = <0x6f>; - qcom,slave-id = <0x6c 0x300a 0x8825>; - qcom,csiphy-sd-index = <0>; - qcom,csid-sd-index = <0>; - qcom,actuator-src = <&actuator0>; - qcom,led-flash-src = <&led_flash0>; - qcom,mount-angle = <0>; - qcom,sensor-name = "ov8825"; - cam_vdig-supply = <&pm8226_l5>; - cam_vana-supply = <&pm8226_l19>; - cam_vio-supply = <&pm8226_lvs1>; - cam_vaf-supply = <&pm8226_l15>; - qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana", - "cam_vaf"; - qcom,cam-vreg-type = <0 1 0 0>; - qcom,cam-vreg-min-voltage = <1200000 0 2850000 2800000>; - qcom,cam-vreg-max-voltage = <1200000 0 2850000 2800000>; - qcom,cam-vreg-op-mode = <200000 0 80000 100000>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 26 0>, - <&msmgpio 37 0>, - <&msmgpio 36 0>; - qcom,gpio-reset = <1>; - qcom,gpio-standby = <2>; - qcom,gpio-req-tbl-num = <0 1 2>; - qcom,gpio-req-tbl-flags = <1 0 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1", - "CAM_STANDBY"; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x1f>; - qcom,sensor-position = <0>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - }; - - qcom,camera@6d { - compatible = "qcom,ov9724"; - reg = <0x6d>; - qcom,slave-id = <0x20 0x0 0x9724>; - qcom,csiphy-sd-index = <1>; - qcom,csid-sd-index = <1>; - qcom,mount-angle = <0>; - qcom,sensor-name = "ov9724"; - cam_vdig-supply = <&pm8226_l5>; - cam_vana-supply = <&pm8226_l19>; - cam_vio-supply = <&pm8226_lvs1>; - qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana"; - qcom,cam-vreg-type = <0 1 0>; - qcom,cam-vreg-min-voltage = <1200000 0 2850000>; - qcom,cam-vreg-max-voltage = <1200000 0 2850000>; - qcom,cam-vreg-op-mode = <200000 0 80000>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 26 0>, - <&msmgpio 28 0>, - <&msmgpio 35 0>; - qcom,gpio-reset = <1>; - qcom,gpio-standby = <2>; - qcom,gpio-req-tbl-num = <0 1 2>; - qcom,gpio-req-tbl-flags = <1 0 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET", - "CAM_STANDBY"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 4000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x3>; - qcom,sensor-position = <1>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - status = "ok"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8226-camera-sensor-mtp.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8226-camera-sensor-mtp.dtsi deleted file mode 100644 index 53860ac85..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8226-camera-sensor-mtp.dtsi +++ /dev/null @@ -1,108 +0,0 @@ -/* - * Copyright (c) 2013, 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. - */ - -&soc { - - led_flash0: qcom,camera-led-flash { - cell-index = <0>; - compatible = "qcom,camera-led-flash"; - qcom,flash-type = <1>; - qcom,flash-source = <&pm8226_flash0 &pm8226_flash1>; - }; -}; - -&cci { - - actuator0: qcom,actuator@6e { - cell-index = <3>; - reg = <0x6c>; - compatible = "qcom,actuator"; - qcom,cci-master = <0>; - }; - - qcom,camera@6f { - compatible = "qcom,ov8825"; - reg = <0x6f>; - qcom,slave-id = <0x6c 0x300a 0x8825>; - qcom,csiphy-sd-index = <0>; - qcom,csid-sd-index = <0>; - qcom,actuator-src = <&actuator0>; - qcom,led-flash-src = <&led_flash0>; - qcom,mount-angle = <0>; - qcom,sensor-name = "ov8825"; - cam_vdig-supply = <&pm8226_l5>; - cam_vana-supply = <&pm8226_l19>; - cam_vio-supply = <&pm8226_lvs1>; - cam_vaf-supply = <&pm8226_l15>; - qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana", - "cam_vaf"; - qcom,cam-vreg-type = <0 1 0 0>; - qcom,cam-vreg-min-voltage = <1200000 0 2850000 2800000>; - qcom,cam-vreg-max-voltage = <1200000 0 2850000 2800000>; - qcom,cam-vreg-op-mode = <200000 0 80000 100000>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 26 0>, - <&msmgpio 37 0>, - <&msmgpio 35 0>; - qcom,gpio-reset = <1>; - qcom,gpio-standby = <2>; - qcom,gpio-req-tbl-num = <0 1 2>; - qcom,gpio-req-tbl-flags = <1 0 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1", - "CAM_STANDBY"; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x1f>; - qcom,sensor-position = <0>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - }; - - qcom,camera@6d { - compatible = "qcom,ov9724"; - reg = <0x6d>; - qcom,slave-id = <0x20 0x0 0x9724>; - qcom,csiphy-sd-index = <1>; - qcom,csid-sd-index = <1>; - qcom,mount-angle = <270>; - qcom,sensor-name = "ov9724"; - cam_vdig-supply = <&pm8226_l5>; - cam_vana-supply = <&pm8226_l19>; - cam_vio-supply = <&pm8226_lvs1>; - qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana"; - qcom,cam-vreg-type = <0 1 0>; - qcom,cam-vreg-min-voltage = <1200000 0 2850000>; - qcom,cam-vreg-max-voltage = <1200000 0 2850000>; - qcom,cam-vreg-op-mode = <200000 0 80000>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 26 0>, - <&msmgpio 28 0>, - <&msmgpio 36 0>; - qcom,gpio-reset = <1>; - qcom,gpio-standby = <2>; - qcom,gpio-req-tbl-num = <0 1 2>; - qcom,gpio-req-tbl-flags = <1 0 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET", - "CAM_STANDBY"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 4000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x3>; - qcom,sensor-position = <1>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - status = "ok"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8226-camera-sensor-qrd.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8226-camera-sensor-qrd.dtsi deleted file mode 100644 index 3935dbb78..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8226-camera-sensor-qrd.dtsi +++ /dev/null @@ -1,108 +0,0 @@ -/* - * Copyright (c) 2013, 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. - */ - -&soc { - - led_flash0: qcom,camera-led-flash { - cell-index = <0>; - compatible = "qcom,camera-led-flash"; - qcom,flash-type = <1>; - qcom,flash-source = <&pm8226_flash0 &pm8226_flash1>; - }; -}; - -&cci { - - actuator0: qcom,actuator@6e { - cell-index = <3>; - reg = <0x6c>; - compatible = "qcom,actuator"; - qcom,cci-master = <0>; - }; - - qcom,camera@6f { - compatible = "qcom,ov8825"; - reg = <0x6f>; - qcom,slave-id = <0x6c 0x300a 0x8825>; - qcom,csiphy-sd-index = <0>; - qcom,csid-sd-index = <0>; - qcom,actuator-src = <&actuator0>; - qcom,led-flash-src = <&led_flash0>; - qcom,mount-angle = <270>; - qcom,sensor-name = "ov8825"; - cam_vdig-supply = <&pm8226_l5>; - cam_vana-supply = <&pm8226_l19>; - cam_vio-supply = <&pm8226_lvs1>; - cam_vaf-supply = <&pm8226_l15>; - qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana", - "cam_vaf"; - qcom,cam-vreg-type = <0 1 0 0>; - qcom,cam-vreg-min-voltage = <1200000 0 2850000 2800000>; - qcom,cam-vreg-max-voltage = <1200000 0 2850000 2800000>; - qcom,cam-vreg-op-mode = <200000 0 80000 100000>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 26 0>, - <&msmgpio 37 0>, - <&msmgpio 36 0>; - qcom,gpio-reset = <1>; - qcom,gpio-standby = <2>; - qcom,gpio-req-tbl-num = <0 1 2>; - qcom,gpio-req-tbl-flags = <1 0 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1", - "CAM_STANDBY"; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x1f>; - qcom,sensor-position = <0>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - }; - - qcom,camera@6d { - compatible = "qcom,ov9724"; - reg = <0x6d>; - qcom,slave-id = <0x20 0x0 0x9724>; - qcom,csiphy-sd-index = <1>; - qcom,csid-sd-index = <1>; - qcom,mount-angle = <270>; - qcom,sensor-name = "ov9724"; - cam_vdig-supply = <&pm8226_l5>; - cam_vana-supply = <&pm8226_l19>; - cam_vio-supply = <&pm8226_lvs1>; - qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana"; - qcom,cam-vreg-type = <0 1 0>; - qcom,cam-vreg-min-voltage = <1200000 0 2850000>; - qcom,cam-vreg-max-voltage = <1200000 0 2850000>; - qcom,cam-vreg-op-mode = <200000 0 80000>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 26 0>, - <&msmgpio 28 0>, - <&msmgpio 35 0>; - qcom,gpio-reset = <1>; - qcom,gpio-standby = <2>; - qcom,gpio-req-tbl-num = <0 1 2>; - qcom,gpio-req-tbl-flags = <1 0 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET", - "CAM_STANDBY"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 4000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x3>; - qcom,sensor-position = <1>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - status = "ok"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8226-camera.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8226-camera.dtsi deleted file mode 100644 index ec0092d43..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8226-camera.dtsi +++ /dev/null @@ -1,139 +0,0 @@ -/* - * Copyright (c) 2012-2013, 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. - */ - -&soc { - qcom,msm-cam@fd8c0000 { - compatible = "qcom,msm-cam"; - reg = <0xfd8c0000 0x10000>; - reg-names = "msm-cam"; - }; - - qcom,csiphy@fda0ac00 { - cell-index = <0>; - compatible = "qcom,csiphy"; - reg = <0xfda0ac00 0x200>, - <0xfda00030 0x4>; - reg-names = "csiphy", "csiphy_clk_mux"; - interrupts = <0 78 0>; - interrupt-names = "csiphy"; - }; - - qcom,csiphy@fda0b000 { - cell-index = <1>; - compatible = "qcom,csiphy"; - reg = <0xfda0b000 0x200>, - <0xfda00038 0x4>; - reg-names = "csiphy", "csiphy_clk_mux"; - interrupts = <0 79 0>; - interrupt-names = "csiphy"; - }; - - qcom,csid@fda08000 { - cell-index = <0>; - compatible = "qcom,csid"; - reg = <0xfda08000 0x100>; - reg-names = "csid"; - interrupts = <0 51 0>; - interrupt-names = "csid"; - qcom,csi-vdd-voltage = <1200000>; - qcom,mipi-csi-vdd-supply = <&pm8226_l4>; - }; - - qcom,csid@fda08400 { - cell-index = <1>; - compatible = "qcom,csid"; - reg = <0xfda08400 0x100>; - reg-names = "csid"; - interrupts = <0 52 0>; - interrupt-names = "csid"; - qcom,csi-vdd-voltage = <1200000>; - qcom,mipi-csi-vdd-supply = <&pm8226_l4>; - }; - - qcom,ispif@fda0a000 { - cell-index = <0>; - compatible = "qcom,ispif"; - reg = <0xfda0a000 0x500>, - <0xfda00020 0x10>; - reg-names = "ispif", "csi_clk_mux"; - interrupts = <0 55 0>; - interrupt-names = "ispif"; - }; - - qcom,vfe@fda10000 { - cell-index = <0>; - compatible = "qcom,vfe40"; - reg = <0xfda10000 0x1000>, - <0xfda40000 0x200>; - reg-names = "vfe", "vfe_vbif"; - interrupts = <0 57 0>; - interrupt-names = "vfe"; - vdd-supply = <&gdsc_vfe>; - }; - - qcom,jpeg@fda1c000 { - cell-index = <0>; - compatible = "qcom,jpeg"; - reg = <0xfda1c000 0x400>; - reg-names = "jpeg"; - interrupts = <0 59 0>; - interrupt-names = "jpeg"; - vdd-supply = <&gdsc_jpeg>; - }; - - qcom,irqrouter@fda00000 { - cell-index = <0>; - compatible = "qcom,irqrouter"; - reg = <0xfda00000 0x100>; - reg-names = "irqrouter"; - }; - - qcom,cpp@fda04000 { - cell-index = <0>; - compatible = "qcom,cpp"; - reg = <0xfda04000 0x100>, - <0xfda40000 0x200>, - <0xfda18000 0x008>; - reg-names = "cpp", "cpp_vbif", "cpp_hw"; - interrupts = <0 49 0>; - interrupt-names = "cpp"; - vdd-supply = <&gdsc_vfe>; - }; - - cci: qcom,cci@fda0c000 { - cell-index = <0>; - compatible = "qcom,cci"; - reg = <0xfda0c000 0x1000>; - #address-cells = <1>; - #size-cells = <0>; - reg-names = "cci"; - interrupts = <0 50 0>; - interrupt-names = "cci"; - gpios = <&msmgpio 29 0>, - <&msmgpio 30 0>; - qcom,gpio-tbl-num = <0 1>; - qcom,gpio-tbl-flags = <1 1>; - qcom,gpio-tbl-label = "CCI_I2C_DATA0", - "CCI_I2C_CLK0"; - qcom,hw-thigh = <78>; - qcom,hw-tlow = <114>; - qcom,hw-tsu-sto = <28>; - qcom,hw-tsu-sta = <28>; - qcom,hw-thd-dat = <10>; - qcom,hw-thd-sta = <77>; - qcom,hw-tbuf = <118>; - qcom,hw-scl-stretch-en = <0>; - qcom,hw-trdhld = <6>; - qcom,hw-tsp = <1>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8226-cdp.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8226-cdp.dtsi deleted file mode 100644 index da9ad8c0a..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8226-cdp.dtsi +++ /dev/null @@ -1,393 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/include/ "dsi-panel-nt35590-720p-video.dtsi" -/include/ "msm8226-camera-sensor-cdp.dtsi" - -&soc { - serial@f991f000 { - status = "ok"; - }; - - qcom,mdss_dsi_nt35590_720p_video { - status = "ok"; - }; - - i2c@f9927000 { /* BLSP1 QUP5 */ - synaptics@20 { - compatible = "synaptics,rmi4"; - reg = <0x20>; - interrupt-parent = <&msmgpio>; - interrupts = <17 0x2008>; - vdd-supply = <&pm8226_l19>; - vcc_i2c-supply = <&pm8226_lvs1>; - synaptics,reset-gpio = <&msmgpio 16 0x00>; - synaptics,irq-gpio = <&msmgpio 17 0x2008>; - synaptics,button-map = <139 102 158>; - synaptics,i2c-pull-up; - }; - }; - - gpio_keys { - compatible = "gpio-keys"; - input-name = "gpio-keys"; - - camera_focus { - label = "camera_focus"; - gpios = <&msmgpio 108 0x1>; - linux,input-type = <1>; - linux,code = <0x210>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - - camera_snapshot { - label = "camera_snapshot"; - gpios = <&msmgpio 107 0x1>; - linux,input-type = <1>; - linux,code = <0x2fe>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - - vol_up { - label = "volume_up"; - gpios = <&msmgpio 106 0x1>; - linux,input-type = <1>; - linux,code = <115>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - }; - - spi@f9923000 { - ethernet-switch@3 { - compatible = "micrel,ks8851"; - reg = <3>; - interrupt-parent = <&msmgpio>; - interrupts = <0 115 0>; - spi-max-frequency = <4800000>; - rst-gpio = <&msmgpio 114 0>; - vdd-io-supply = <&pm8226_lvs1>; - vdd-phy-supply = <&pm8226_lvs1>; - }; - }; - - sound { - qcom,audio-routing = - "RX_BIAS", "MCLK", - "LDO_H", "MCLK", - "SPK_OUT", "MCLK", - "SPK_OUT", "EXT_VDD_SPKR", - "AMIC1", "MIC BIAS1 Internal1", - "MIC BIAS1 Internal1", "Handset Mic", - "AMIC2", "MIC BIAS2 External", - "MIC BIAS2 External", "Headset Mic", - "AMIC4", "MIC BIAS2 External", - "MIC BIAS2 External", "ANCRight Headset Mic", - "AMIC5", "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"; - - qcom,cdc-mclk-gpios = <&pm8226_gpios 1 0>; - qcom,cdc-vdd-spkr-gpios = <&pm8226_gpios 2 0>; - qcom,headset-jack-type-NO; - }; -}; - -&sdcc1 { - vdd-supply = <&pm8226_l17>; - qcom,vdd-always-on; - qcom,vdd-lpm-sup; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <800 500000>; - - vdd-io-supply = <&pm8226_l6>; - qcom,vdd-io-always-on; - qcom,vdd-io-voltage-level = <1800000 1800000>; - qcom,vdd-io-current-level = <250 154000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - qcom,sup-voltages = <2950 2950>; - - qcom,bus-speed-mode = "HS200_1p8v", "DDR_1p8v"; - qcom,nonremovable; - - status = "disabled"; -}; - -&sdhc_1 { - vdd-supply = <&pm8226_l17>; - qcom,vdd-always-on; - qcom,vdd-lpm-sup; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <800 500000>; - - vdd-io-supply = <&pm8226_l6>; - qcom,vdd-io-always-on; - qcom,vdd-io-voltage-level = <1800000 1800000>; - qcom,vdd-io-current-level = <250 154000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - qcom,bus-speed-mode = "HS200_1p8v", "DDR_1p8v"; - qcom,nonremovable; - - status = "ok"; -}; - -&sdcc2 { - vdd-supply = <&pm8226_l18>; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <9000 800000>; - - vdd-io-supply = <&pm8226_l21>; - qcom,vdd-io-always-on; - qcom,vdd-io-lpm-sup; - qcom,vdd-io-voltage-level = <1800000 2950000>; - qcom,vdd-io-current-level = <6 22000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - qcom,sup-voltages = <2950 2950>; - - qcom,xpc; - qcom,bus-speed-mode = "SDR12", "SDR25", "SDR50", "DDR50", "SDR104"; - qcom,current-limit = <600>; - - #address-cells = <0>; - interrupt-parent = <&sdcc2>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 125 0 - 1 &intc 0 220 0 - 2 &msmgpio 38 0x3>; - interrupt-names = "core_irq", "bam_irq", "status_irq"; - cd-gpios = <&msmgpio 38 0x1>; - - status = "disabled"; -}; - -&sdhc_2 { - vdd-supply = <&pm8226_l18>; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <9000 800000>; - - vdd-io-supply = <&pm8226_l21>; - qcom,vdd-io-always-on; - qcom,vdd-io-lpm-sup; - qcom,vdd-io-voltage-level = <1800000 2950000>; - qcom,vdd-io-current-level = <6 22000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - - #address-cells = <0>; - interrupt-parent = <&sdhc_2>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 125 0 - 1 &intc 0 221 0 - 2 &msmgpio 38 0x3>; - interrupt-names = "hc_irq", "pwr_irq", "status_irq"; - cd-gpios = <&msmgpio 38 0x1>; - - status = "ok"; -}; - -&spmi_bus { - qcom,pm8226@0 { - qcom,leds@a100 { - status = "okay"; - qcom,led_mpp_2 { - label = "mpp"; - linux,name = "button-backlight"; - linux,default-trigger = "none"; - qcom,default-state = "off"; - qcom,max-current = <40>; - qcom,current-setting = <5>; - qcom,id = <6>; - qcom,mode = "manual"; - qcom,source-sel = <1>; - qcom,mode-ctrl = <0x60>; - }; - }; - - qcom,leds@a300 { - status = "okay"; - qcom,led_mpp_4 { - label = "mpp"; - linux,name = "green"; - linux,default-trigger = "none"; - qcom,default-state = "off"; - qcom,max-current = <40>; - qcom,current-setting = <5>; - qcom,id = <6>; - qcom,mode = "pwm"; - qcom,pwm-us = <1000>; - qcom,source-sel = <8>; - qcom,mode-ctrl = <0x60>; - qcom,pwm-channel = <0>; - qcom,start-idx = <1>; - qcom,duty-pcts = [00 00 00 00 64 - 64 00 00 00 00]; - qcom,use-blink; - }; - }; - - qcom,leds@a500 { - status = "okay"; - qcom,led_mpp_6 { - label = "mpp"; - linux,name = "red"; - linux,default-trigger = "none"; - qcom,default-state = "off"; - qcom,max-current = <40>; - qcom,current-setting = <5>; - qcom,id = <6>; - qcom,mode = "pwm"; - qcom,pwm-us = <1000>; - qcom,mode-ctrl = <0x60>; - qcom,source-sel = <10>; - qcom,pwm-channel = <5>; - qcom,start-idx = <1>; - qcom,duty-pcts = [00 00 00 00 64 - 64 00 00 00 00]; - qcom,use-blink; - }; - }; - }; - - qcom,pm8226@1 { - qcom,leds@d800 { - status = "okay"; - qcom,wled_0 { - label = "wled"; - linux,name = "wled:backlight"; - linux,default-trigger = "bkl-trigger"; - qcom,cs-out-en; - qcom,op-fdbck = <1>; - qcom,default-state = "on"; - qcom,max-current = <20>; - qcom,ctrl-delay-us = <0>; - qcom,boost-curr-lim = <3>; - qcom,cp-sel = <0>; - qcom,switch-freq = <2>; - qcom,ovp-val = <0>; - qcom,num-strings = <1>; - qcom,id = <0>; - }; - }; - }; -}; - -&pm8226_gpios { - gpio@c000 { /* GPIO 1 */ - /* XO_PMIC_CDC_MCLK enable for tapan codec */ - qcom,mode = <1>; /* Digital output */ - qcom,output-type = <0>; /* CMOS logic */ - qcom,pull = <5>; /* QPNP_PIN_PULL_NO*/ - qcom,vin-sel = <3>; /* QPNP_PIN_VIN3 */ - qcom,out-strength = <3>;/* QPNP_PIN_OUT_STRENGTH_HIGH */ - qcom,src-sel = <2>; /* QPNP_PIN_SEL_FUNC_1 */ - qcom,master-en = <1>; /* Enable GPIO */ - }; - - gpio@c100 { /* GPIO 2 */ - qcom,mode = <1>; - qcom,output-type = <0>; - qcom,pull = <5>; - qcom,vin-sel = <3>; - qcom,out-strength = <3>; - qcom,src-sel = <2>; - qcom,master-en = <1>; - }; - - gpio@c200 { /* GPIO 3 */ - }; - - gpio@c300 { /* GPIO 4 */ - }; - - gpio@c400 { /* GPIO 5 */ - }; - - gpio@c500 { /* GPIO 6 */ - }; - - gpio@c600 { /* GPIO 7 */ - }; - - gpio@c700 { /* GPIO 8 */ - }; -}; - -&pm8226_mpps { - mpp@a000 { /* MPP 1 */ - }; - - mpp@a100 { /* MPP 2 */ - }; - - mpp@a200 { /* MPP 3 */ - }; - - mpp@a300 { /* MPP 4 */ - }; - - mpp@a400 { /* MPP 5 */ - }; - - mpp@a500 { /* MPP 6 */ - }; - - mpp@a600 { /* MPP 7 */ - }; - - mpp@a700 { /* MPP 8 */ - }; -}; - -&pm8226_chg { - qcom,charging-disabled; - qcom,use-default-batt-values; -}; - -&usb_otg_sw { - status = "okay"; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8226-coresight.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8226-coresight.dtsi deleted file mode 100644 index e11c963c6..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8226-coresight.dtsi +++ /dev/null @@ -1,377 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -&soc { - tmc_etr: tmc@fc322000 { - compatible = "arm,coresight-tmc"; - reg = <0xfc322000 0x1000>, - <0xfc37c000 0x3000>; - reg-names = "tmc-base", "bam-base"; - - qcom,memory-reservation-type = "EBI1"; - qcom,memory-reservation-size = <0x100000>; /* 1M EBI1 buffer */ - - coresight-id = <0>; - coresight-name = "coresight-tmc-etr"; - coresight-nr-inports = <1>; - coresight-ctis = <&cti0 &cti8>; - }; - - tpiu: tpiu@fc318000 { - compatible = "arm,coresight-tpiu"; - reg = <0xfc318000 0x1000>; - reg-names = "tpiu-base"; - - coresight-id = <1>; - coresight-name = "coresight-tpiu"; - coresight-nr-inports = <1>; - - vdd-supply = <&pm8226_l18>; - - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <9000 800000>; - }; - - replicator: replicator@fc31c000 { - compatible = "qcom,coresight-replicator"; - reg = <0xfc31c000 0x1000>; - reg-names = "replicator-base"; - - coresight-id = <2>; - coresight-name = "coresight-replicator"; - coresight-nr-inports = <1>; - coresight-outports = <0 1>; - coresight-child-list = <&tmc_etr &tpiu>; - coresight-child-ports = <0 0>; - }; - - tmc_etf: tmc@fc307000 { - compatible = "arm,coresight-tmc"; - reg = <0xfc307000 0x1000>; - reg-names = "tmc-base"; - - coresight-id = <3>; - coresight-name = "coresight-tmc-etf"; - coresight-nr-inports = <1>; - coresight-outports = <0>; - coresight-child-list = <&replicator>; - coresight-child-ports = <0>; - coresight-default-sink; - coresight-ctis = <&cti0 &cti8>; - }; - - funnel_merg: funnel@fc31b000 { - compatible = "arm,coresight-funnel"; - reg = <0xfc31b000 0x1000>; - reg-names = "funnel-base"; - - coresight-id = <4>; - coresight-name = "coresight-funnel-merg"; - coresight-nr-inports = <2>; - coresight-outports = <0>; - coresight-child-list = <&tmc_etf>; - coresight-child-ports = <0>; - }; - - funnel_in0: funnel@fc319000 { - compatible = "arm,coresight-funnel"; - reg = <0xfc319000 0x1000>; - reg-names = "funnel-base"; - - coresight-id = <5>; - coresight-name = "coresight-funnel-in0"; - coresight-nr-inports = <8>; - coresight-outports = <0>; - coresight-child-list = <&funnel_merg>; - coresight-child-ports = <0>; - }; - - funnel_in1: funnel@fc31a000 { - compatible = "arm,coresight-funnel"; - reg = <0xfc31a000 0x1000>; - reg-names = "funnel-base"; - - coresight-id = <6>; - coresight-name = "coresight-funnel-in1"; - coresight-nr-inports = <8>; - coresight-outports = <0>; - coresight-child-list = <&funnel_merg>; - coresight-child-ports = <1>; - }; - - funnel_a7ss: funnel@fc345000 { - compatible = "arm,coresight-funnel"; - reg = <0xfc345000 0x1000>; - reg-names = "funnel-base"; - - coresight-id = <7>; - coresight-name = "coresight-funnel-a7ss"; - coresight-nr-inports = <4>; - coresight-outports = <0>; - coresight-child-list = <&funnel_in1>; - coresight-child-ports = <5>; - }; - - funnel_mmss: funnel@fc364000 { - compatible = "arm,coresight-funnel"; - reg = <0xfc364000 0x1000>; - reg-names = "funnel-base"; - - - coresight-id = <8>; - coresight-name = "coresight-funnel-mmss"; - coresight-nr-inports = <8>; - coresight-outports = <0>; - coresight-child-list = <&funnel_in1>; - coresight-child-ports = <1>; - }; - - stm: stm@fc321000 { - compatible = "arm,coresight-stm"; - reg = <0xfc321000 0x1000>, - <0xfa280000 0x180000>; - reg-names = "stm-base", "stm-data-base"; - - coresight-id = <9>; - coresight-name = "coresight-stm"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_in1>; - coresight-child-ports = <7>; - }; - - etm0: etm@fc33c000 { - compatible = "arm,coresight-etm"; - reg = <0xfc33c000 0x1000>; - reg-names = "etm-base"; - - coresight-id = <10>; - coresight-name = "coresight-etm0"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_a7ss>; - coresight-child-ports = <0>; - - qcom,round-robin; - }; - - etm1: etm@fc33d000 { - compatible = "arm,coresight-etm"; - reg = <0xfc33d000 0x1000>; - reg-names = "etm-base"; - - coresight-id = <11>; - coresight-name = "coresight-etm1"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_a7ss>; - coresight-child-ports = <1>; - - qcom,round-robin; - }; - - etm2: etm@fc33e000 { - compatible = "arm,coresight-etm"; - reg = <0xfc33e000 0x1000>; - reg-names = "etm-base"; - - coresight-id = <12>; - coresight-name = "coresight-etm2"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_a7ss>; - coresight-child-ports = <2>; - - qcom,round-robin; - }; - - etm3: etm@fc33f000 { - compatible = "arm,coresight-etm"; - reg = <0xfc33f000 0x1000>; - reg-names = "etm-base"; - - coresight-id = <13>; - coresight-name = "coresight-etm3"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_a7ss>; - coresight-child-ports = <3>; - - qcom,round-robin; - }; - - csr: csr@fc302000 { - compatible = "qcom,coresight-csr"; - reg = <0xfc302000 0x1000>; - reg-names = "csr-base"; - - coresight-id = <14>; - coresight-name = "coresight-csr"; - coresight-nr-inports = <0>; - - qcom,blk-size = <1>; - }; - - cti0: cti@fc308000 { - compatible = "arm,coresight-cti"; - reg = <0xfc308000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <15>; - coresight-name = "coresight-cti0"; - coresight-nr-inports = <0>; - }; - - cti1: cti@fc309000 { - compatible = "arm,coresight-cti"; - reg = <0xfc309000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <16>; - coresight-name = "coresight-cti1"; - coresight-nr-inports = <0>; - }; - - cti2: cti@fc30a000 { - compatible = "arm,coresight-cti"; - reg = <0xfc30a000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <17>; - coresight-name = "coresight-cti2"; - coresight-nr-inports = <0>; - }; - - cti3: cti@fc30b000 { - compatible = "arm,coresight-cti"; - reg = <0xfc30b000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <18>; - coresight-name = "coresight-cti3"; - coresight-nr-inports = <0>; - }; - - cti4: cti@fc30c000 { - compatible = "arm,coresight-cti"; - reg = <0xfc30c000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <19>; - coresight-name = "coresight-cti4"; - coresight-nr-inports = <0>; - }; - - cti5: cti@fc30d000 { - compatible = "arm,coresight-cti"; - reg = <0xfc30d000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <20>; - coresight-name = "coresight-cti5"; - coresight-nr-inports = <0>; - }; - - cti6: cti@fc30e000 { - compatible = "arm,coresight-cti"; - reg = <0xfc30e000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <21>; - coresight-name = "coresight-cti6"; - coresight-nr-inports = <0>; - }; - - cti7: cti@fc30f000 { - compatible = "arm,coresight-cti"; - reg = <0xfc30f000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <22>; - coresight-name = "coresight-cti7"; - coresight-nr-inports = <0>; - }; - - cti8: cti@fc310000 { - compatible = "arm,coresight-cti"; - reg = <0xfc310000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <23>; - coresight-name = "coresight-cti8"; - coresight-nr-inports = <0>; - }; - - cti_l2: cti@fc340000 { - compatible = "arm,coresight-cti"; - reg = <0xfc340000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <24>; - coresight-name = "coresight-cti-l2"; - coresight-nr-inports = <0>; - }; - - cti_cpu0: cti@fc341000 { - compatible = "arm,coresight-cti"; - reg = <0xfc341000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <25>; - coresight-name = "coresight-cti-cpu0"; - coresight-nr-inports = <0>; - }; - - cti_cpu1: cti@fc342000 { - compatible = "arm,coresight-cti"; - reg = <0xfc342000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <26>; - coresight-name = "coresight-cti-cpu1"; - coresight-nr-inports = <0>; - }; - - cti_cpu2: cti@fc343000 { - compatible = "arm,coresight-cti"; - reg = <0xfc343000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <27>; - coresight-name = "coresight-cti-cpu2"; - coresight-nr-inports = <0>; - }; - - cti_cpu3: cti@fc344000 { - compatible = "arm,coresight-cti"; - reg = <0xfc344000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <28>; - coresight-name = "coresight-cti-cpu3"; - coresight-nr-inports = <0>; - }; - - hwevent: hwevent@fd828018 { - compatible = "qcom,coresight-hwevent"; - reg = <0xfd828018 0x80>, - <0xf9011080 0x80>, - <0xfd4ab160 0x80>; - reg-names = "mmss-mux", "apcs-mux", "ppss-mux"; - - coresight-id = <29>; - coresight-name = "coresight-hwevent"; - coresight-nr-inports = <0>; - - qcom,hwevent-clks = "core_mmss_clk"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8226-fluid.dts b/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8226-fluid.dts deleted file mode 100644 index c58b43b4b..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8226-fluid.dts +++ /dev/null @@ -1,33 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; -/include/ "msm8226.dtsi" - -/ { - model = "Qualcomm MSM 8226 FLUID"; - compatible = "qcom,msm8226-fluid", "qcom,msm8226", "qcom,fluid"; - qcom,msm-id = <145 3 0>, - <158 3 0>, - <159 3 0>, - <198 3 0>; -}; - -&soc { - serial@f991f000 { - status = "disabled"; - }; -}; - -&pm8226_bms { - status = "ok"; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8226-gpu.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8226-gpu.dtsi deleted file mode 100644 index 590f73395..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8226-gpu.dtsi +++ /dev/null @@ -1,161 +0,0 @@ -/* Copyright (c) 2013, 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. - */ -&soc { - msm_gpu: qcom,kgsl-3d0@fdb00000 { - label = "kgsl-3d0"; - compatible = "qcom,kgsl-3d0", "qcom,kgsl-3d"; - reg = <0xfdb00000 0x10000 - 0xfdb20000 0x10000>; - reg-names = "kgsl_3d0_reg_memory" , "kgsl_3d0_shader_memory"; - interrupts = <0 33 0>; - interrupt-names = "kgsl_3d0_irq"; - qcom,id = <0>; - - qcom,chipid = <0x03000510>; - - qcom,initial-pwrlevel = <1>; - - qcom,idle-timeout = <8>; // - qcom,strtstp-sleepwake; - qcom,clk-map = <0x00000016>; /* KGSL_CLK_CORE | KGSL_CLK_IFACE | KGSL_CLK_MEM_IFACE */ - - /* Bus Scale Settings */ - qcom,msm-bus,name = "grp3d"; - qcom,msm-bus,num-cases = <4>; - qcom,msm-bus,num-paths = <2>; - qcom,msm-bus,vectors-KBps = - <26 512 0 0>, <89 604 0 0>, - <26 512 0 1600000>, <89 604 0 3200000>, - <26 512 0 3200000>, <89 604 0 5120000>, - <26 512 0 4256000>, <89 604 0 6400000>; - - - /* GDSC oxili regulators */ - vddcx-supply = "\0"; - vdd-supply = <&gdsc_oxili_cx>; - - - /* IOMMU Data */ - iommu = <&kgsl_iommu>; - - /* Power levels */ - qcom,gpu-pwrlevels { - #address-cells = <1>; - #size-cells = <0>; - - compatible = "qcom,gpu-pwrlevels"; - - qcom,gpu-pwrlevel@0 { - reg = <0>; - qcom,gpu-freq = <450000000>; - qcom,bus-freq = <3>; - qcom,io-fraction = <0>; - }; - - qcom,gpu-pwrlevel@1 { - reg = <1>; - qcom,gpu-freq = <320000000>; - qcom,bus-freq = <2>; - qcom,io-fraction = <33>; - }; - - qcom,gpu-pwrlevel@2 { - reg = <2>; - qcom,gpu-freq = <200000000>; - qcom,bus-freq = <1>; - qcom,io-fraction = <100>; - }; - - qcom,gpu-pwrlevel@3 { - reg = <3>; - qcom,gpu-freq = <19000000>; - qcom,bus-freq = <0>; - qcom,io-fraction = <0>; - }; - }; - - qcom,dcvs-core-info { - #address-cells = <1>; - #size-cells = <0>; - - compatible = "qcom,dcvs-core-info"; - - qcom,num-cores = <1>; - qcom,sensors = <0>; - - qcom,core-core-type = <1>; - - qcom,algo-disable-pc-threshold = <0>; - qcom,algo-em-win-size-min-us = <100000>; - qcom,algo-em-win-size-max-us = <300000>; - qcom,algo-em-max-util-pct = <97>; - qcom,algo-group-id = <95>; - qcom,algo-max-freq-chg-time-us = <100000>; - qcom,algo-slack-mode-dynamic = <100000>; - qcom,algo-slack-weight-thresh-pct = <0>; - qcom,algo-slack-time-min-us = <39000>; - qcom,algo-slack-time-max-us = <39000>; - qcom,algo-ss-win-size-min-us = <1000000>; - qcom,algo-ss-win-size-max-us = <1000000>; - qcom,algo-ss-util-pct = <95>; - qcom,algo-ss-no-corr-below-freq = <0>; - - qcom,energy-active-coeff-a = <2492>; - qcom,energy-active-coeff-b = <0>; - qcom,energy-active-coeff-c = <0>; - qcom,energy-leakage-coeff-a = <11>; - qcom,energy-leakage-coeff-b = <157150>; - qcom,energy-leakage-coeff-c = <0>; - qcom,energy-leakage-coeff-d = <0>; - - qcom,power-current-temp = <25>; - qcom,power-num-freq = <4>; - - qcom,dcvs-freq@0 { - reg = <0>; - qcom,freq = <0>; - qcom,voltage = <0>; - qcom,is_trans_level = <0>; - qcom,active-energy-offset = <100>; - qcom,leakage-energy-offset = <0>; - }; - - qcom,dcvs-freq@1 { - reg = <1>; - qcom,freq = <0>; - qcom,voltage = <0>; - qcom,is_trans_level = <0>; - qcom,active-energy-offset = <100>; - qcom,leakage-energy-offset = <0>; - }; - - qcom,dcvs-freq@2 { - reg = <2>; - qcom,freq = <0>; - qcom,voltage = <0>; - qcom,is_trans_level = <0>; - qcom,active-energy-offset = <100>; - qcom,leakage-energy-offset = <0>; - }; - - qcom,dcvs-freq@3 { - reg = <3>; - qcom,freq = <0>; - qcom,voltage = <0>; - qcom,is_trans_level = <0>; - qcom,active-energy-offset = <844545>; - qcom,leakage-energy-offset = <0>; - }; - }; - - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8226-iommu-domains.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8226-iommu-domains.dtsi deleted file mode 100644 index 25fca2a54..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8226-iommu-domains.dtsi +++ /dev/null @@ -1,31 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -&soc { - qcom,iommu-domains { - compatible = "qcom,iommu-domains"; - - venus_domain_ns: qcom,iommu-domain1 { - label = "venus_ns"; - qcom,iommu-contexts = <&venus_ns>; - qcom,virtual-addr-pool = <0x40000000 0x3f000000 - 0x7f000000 0x1000000>; - }; - - venus_domain_cp: qcom,iommu-domain2 { - label = "venus_cp"; - qcom,iommu-contexts = <&venus_cp>; - qcom,virtual-addr-pool = <0x1000000 0x3f000000>; - qcom,secure-domain; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8226-iommu.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8226-iommu.dtsi deleted file mode 100644 index ff3e0a59d..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8226-iommu.dtsi +++ /dev/null @@ -1,237 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/include/ "msm-iommu-v1.dtsi" - -&jpeg_iommu { - status = "ok"; - vdd-supply = <&gdsc_jpeg>; - qcom,iommu-enable-halt; - - qcom,iommu-bfb-regs = <0x204c - 0x2050 - 0x2514 - 0x2540 - 0x256c - 0x2314 - 0x2394 - 0x2414 - 0x20ac - 0x215c - 0x220c - 0x2008 - 0x200c - 0x2010 - 0x2014>; - - qcom,iommu-bfb-data = <0x0000ffff - 0x00000000 - 0x4 - 0x4 - 0x0 - 0x0 - 0x10 - 0x50 - 0x0 - 0x10 - 0x20 - 0x0 - 0x0 - 0x0 - 0x0>; -}; - -&mdp_iommu { - status = "ok"; - vdd-supply = <&gdsc_mdss>; - qcom,iommu-enable-halt; - - qcom,iommu-bfb-regs = <0x204c - 0x2050 - 0x2514 - 0x2540 - 0x256c - 0x20ac - 0x215c - 0x220c - 0x2314 - 0x2394 - 0x2414 - 0x2008 - 0x200c - 0x2010 - 0x2014 - 0x2018 - 0x201c - 0x2020>; - - qcom,iommu-bfb-data = <0xffffffff - 0x00000000 - 0x00000004 - 0x00000010 - 0x00000000 - 0x00000000 - 0x00000013 - 0x00000017 - 0x0 - 0x13 - 0x23 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0>; -}; - -&venus_iommu { - status = "ok"; - vdd-supply = <&gdsc_venus>; - qcom,iommu-enable-halt; - - qcom,iommu-bfb-regs = <0x204c - 0x2050 - 0x2514 - 0x2540 - 0x256c - 0x20ac - 0x215c - 0x220c - 0x2314 - 0x2394 - 0x2414 - 0x2008 - 0x200c - 0x2010 - 0x2014 - 0x2018 - 0x201c - 0x2020 - 0x2024 - 0x2028 - 0x202c - 0x2030 - 0x2034 - 0x2038>; - - qcom,iommu-bfb-data = <0xffffffff - 0xffffffff - 0x00000004 - 0x00000008 - 0x00000000 - 0x00000000 - 0x00000094 - 0x000000b4 - 0x0 - 0x94 - 0x114 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0>; -}; - -&venus_ns { - qcom,iommu-ctx-sids = <0 1 2 3 4 5 7>; -}; - -&venus_cp { - qcom,iommu-ctx-sids = <0x80 0x81 0x82 0x83 0x84>; -}; - -&kgsl_iommu { - status = "ok"; - vdd-supply = <&gdsc_oxili_cx>; - qcom,alt-vdd-supply = <&gdsc_oxili_gx>; - qcom,iommu-enable-halt; - qcom,needs-alt-core-clk; - - qcom,iommu-bfb-regs = <0x204c - 0x2050 - 0x2514 - 0x2540 - 0x256c - 0x20ac - 0x215c - 0x220c - 0x2314 - 0x2394 - 0x2414 - 0x2008>; - - qcom,iommu-bfb-data = <0x00000003 - 0x0 - 0x00000004 - 0x00000010 - 0x00000000 - 0x00000000 - 0x00000001 - 0x00000011 - 0x0 - 0x1 - 0x41 - 0x0>; -}; - -&vfe_iommu { - status = "ok"; - vdd-supply = <&gdsc_vfe>; - qcom,iommu-enable-halt; - - qcom,iommu-bfb-regs = <0x204c - 0x2050 - 0x2514 - 0x2540 - 0x256c - 0x2314 - 0x2394 - 0x2414 - 0x20ac - 0x215c - 0x220c - 0x2008 - 0x200c - 0x2010 - 0x2014 - 0x2018 - 0x201c - 0x2020>; - - qcom,iommu-bfb-data = <0xffffffff - 0x00000000 - 0x4 - 0x8 - 0x0 - 0x0 - 0x1b - 0x5b - 0x0 - 0x1b - 0x2b - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0>; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8226-ion.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8226-ion.dtsi deleted file mode 100644 index dee64e538..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8226-ion.dtsi +++ /dev/null @@ -1,66 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&soc { - qcom,ion { - compatible = "qcom,msm-ion"; - #address-cells = <1>; - #size-cells = <0>; - - qcom,ion-heap@30 { /* SYSTEM HEAP */ - reg = <30>; - }; - - qcom,ion-heap@21 { /* SYSTEM CONTIG HEAP */ - reg = <21>; - }; - - qcom,ion-heap@8 { /* CP_MM HEAP */ - compatible = "qcom,msm-ion-reserve"; - reg = <8>; - qcom,heap-align = <0x1000>; - linux,contiguous-region = <&secure_mem>; - }; - - qcom,ion-heap@25 { /* IOMMU HEAP */ - reg = <25>; - }; - - qcom,ion-heap@27 { /* QSECOM HEAP */ - compatible = "qcom,msm-ion-reserve"; - reg = <27>; - linux,contiguous-region = <&qsecom_mem>; - }; - - qcom,ion-heap@28 { /* AUDIO HEAP */ - compatible = "qcom,msm-ion-reserve"; - reg = <28>; - qcom,heap-align = <0x1000>; - qcom,memory-reservation-type = "EBI1"; /* reserve EBI memory */ - qcom,memory-reservation-size = <0x314000>; - }; - qcom,ion-heap@23 { /* OTHER PIL HEAP */ - compatible = "qcom,msm-ion-reserve"; - reg = <23>; - qcom,heap-align = <0x1000>; - qcom,memory-fixed = <0x06400000 0x2000000>; - }; - qcom,ion-heap@26 { /* MODEM PIL HEAP */ - compatible = "qcom,msm-ion-reserve"; - reg = <26>; - qcom,heap-align = <0x1000>; - qcom,memory-fixed = <0x08400000 0x4E00000>; - - }; - - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8226-mdss.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8226-mdss.dtsi deleted file mode 100644 index f58089709..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8226-mdss.dtsi +++ /dev/null @@ -1,80 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -&soc { - qcom,mdss_mdp@fd900000 { - compatible = "qcom,mdss_mdp"; - reg = <0xfd900000 0x22100>, - <0xfd924000 0x1000>; - reg-names = "mdp_phys", "vbif_phys"; - interrupts = <0 72 0>; - vdd-supply = <&gdsc_mdss>; - - qcom,max-clk-rate = <200000000>; - qcom,mdss-pipe-vig-off = <0x00001200>; - qcom,mdss-pipe-rgb-off = <0x00001E00>; - qcom,mdss-pipe-dma-off = <0x00002A00>; - qcom,mdss-pipe-vig-fetch-id = <1>; - qcom,mdss-pipe-rgb-fetch-id = <7>; - qcom,mdss-pipe-dma-fetch-id = <4>; - qcom,mdss-smp-data = <7 4096>; - - qcom,mdss-ctl-off = <0x00000600 0x00000700>; - qcom,mdss-mixer-intf-off = <0x00003200>; - qcom,mdss-mixer-wb-off = <0x00003E00>; - qcom,mdss-dspp-off = <0x00004600>; - qcom,mdss-pingpong-off = <0x00021B00>; - qcom,mdss-wb-off = <0x00011100 0x00013100>; - qcom,mdss-intf-off = <0x00000000 0x00021300>; - qcom,mdss-rot-block-size = <64>; - - qcom,vbif-settings = <0x004 0x00000001>, - <0x0D8 0x00000707>, - <0x124 0x00000003>; - qcom,mdp-settings = <0x02E0 0x000000A9>, - <0x02E4 0x00000055>; - - mdss_fb0: qcom,mdss_fb_primary { - cell-index = <0>; - compatible = "qcom,mdss-fb"; - qcom,memory-reservation-type = "EBI1"; - qcom,memory-reservation-size = <0x800000>; - }; - - mdss_fb1: qcom,mdss_fb_wfd { - cell-index = <1>; - compatible = "qcom,mdss-fb"; - }; - }; - - mdss_dsi0: qcom,mdss_dsi@fd922800 { - compatible = "qcom,mdss-dsi-ctrl"; - label = "MDSS DSI CTRL->0"; - cell-index = <0>; - reg = <0xfd922800 0x600>; - vdd-supply = <&pm8226_l15>; - vddio-supply = <&pm8226_l8>; - vdda-supply = <&pm8226_l4>; - qcom,supply-names = "vdd", "vddio", "vdda"; - qcom,supply-min-voltage-level = <2800000 1800000 1200000>; - qcom,supply-max-voltage-level = <2800000 1800000 1200000>; - qcom,supply-peak-current = <150000 100000 100000>; - qcom,mdss-fb-map = <&mdss_fb0>; - }; - - qcom,mdss_wb_panel { - compatible = "qcom,mdss_wb"; - qcom,mdss_pan_res = <1280 720>; - qcom,mdss_pan_bpp = <24>; - qcom,mdss-fb-map = <&mdss_fb1>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8226-mtp.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8226-mtp.dtsi deleted file mode 100644 index bcd1c41d6..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8226-mtp.dtsi +++ /dev/null @@ -1,445 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/include/ "dsi-panel-nt35590-720p-video.dtsi" -/include/ "msm8226-camera-sensor-mtp.dtsi" - -&soc { - serial@f991f000 { - status = "ok"; - }; - - qcom,mdss_dsi_nt35590_720p_video { - status = "ok"; - }; - - i2c@f9927000 { /* BLSP1 QUP5 */ - synaptics@20 { - compatible = "synaptics,rmi4"; - reg = <0x20>; - interrupt-parent = <&msmgpio>; - interrupts = <17 0x2008>; - vdd-supply = <&pm8226_l19>; - vcc_i2c-supply = <&pm8226_lvs1>; - synaptics,reset-gpio = <&msmgpio 16 0x00>; - synaptics,irq-gpio = <&msmgpio 17 0x2008>; - synaptics,button-map = <139 102 158>; - synaptics,i2c-pull-up; - }; - }; - - gpio_keys { - compatible = "gpio-keys"; - input-name = "gpio-keys"; - - camera_focus { - label = "camera_focus"; - gpios = <&msmgpio 108 0x1>; - linux,input-type = <1>; - linux,code = <0x210>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - - camera_snapshot { - label = "camera_snapshot"; - gpios = <&msmgpio 107 0x1>; - linux,input-type = <1>; - linux,code = <0x2fe>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - - vol_up { - label = "volume_up"; - gpios = <&msmgpio 106 0x1>; - linux,input-type = <1>; - linux,code = <115>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - }; - - spi@f9923000 { - ethernet-switch@3 { - compatible = "micrel,ks8851"; - reg = <3>; - interrupt-parent = <&msmgpio>; - interrupts = <0 115 0>; - spi-max-frequency = <4800000>; - rst-gpio = <&msmgpio 114 0>; - vdd-io-supply = <&pm8226_lvs1>; - vdd-phy-supply = <&pm8226_lvs1>; - }; - }; - - sound { - qcom,audio-routing = - "RX_BIAS", "MCLK", - "LDO_H", "MCLK", - "SPK_OUT", "MCLK", - "SPK_OUT", "EXT_VDD_SPKR", - "AMIC1", "MIC BIAS1 External", - "MIC BIAS1 External", "Handset Mic", - "AMIC2", "MIC BIAS2 External", - "MIC BIAS2 External", "Headset Mic", - "AMIC3", "MIC BIAS1 External", - "MIC BIAS1 External", "ANCRight Headset Mic", - "AMIC4", "MIC BIAS2 External", - "MIC BIAS2 External", "ANCLeft Headset Mic"; - - qcom,cdc-mclk-gpios = <&pm8226_gpios 1 0>; - qcom,cdc-vdd-spkr-gpios = <&pm8226_gpios 2 0>; - }; -}; - -&usb_otg { - #address-cells = <0>; - interrupt-parent = <&usb_otg>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 134 0 - 1 &intc 0 140 0 - 2 &spmi_bus 0x0 0x0 0x9 0x0>; - interrupt-names = "core_irq", "async_irq", "pmic_id_irq"; - - qcom,hsusb-otg-mode = <3>; - vbus_otg-supply = <&usb_otg_sw>; -}; - -&sdcc1 { - vdd-supply = <&pm8226_l17>; - qcom,vdd-always-on; - qcom,vdd-lpm-sup; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <800 500000>; - - vdd-io-supply = <&pm8226_l6>; - qcom,vdd-io-always-on; - qcom,vdd-io-voltage-level = <1800000 1800000>; - qcom,vdd-io-current-level = <250 154000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - qcom,sup-voltages = <2950 2950>; - - qcom,bus-speed-mode = "HS200_1p8v", "DDR_1p8v"; - qcom,nonremovable; - - status = "disabled"; -}; - -&sdhc_1 { - vdd-supply = <&pm8226_l17>; - qcom,vdd-always-on; - qcom,vdd-lpm-sup; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <800 500000>; - - vdd-io-supply = <&pm8226_l6>; - qcom,vdd-io-always-on; - qcom,vdd-io-voltage-level = <1800000 1800000>; - qcom,vdd-io-current-level = <250 154000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - qcom,bus-speed-mode = "HS200_1p8v", "DDR_1p8v"; - qcom,nonremovable; - - status = "ok"; -}; - -&sdcc2 { - vdd-supply = <&pm8226_l18>; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <9000 800000>; - - vdd-io-supply = <&pm8226_l21>; - qcom,vdd-io-always-on; - qcom,vdd-io-lpm-sup; - qcom,vdd-io-voltage-level = <1800000 2950000>; - qcom,vdd-io-current-level = <6 22000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - qcom,sup-voltages = <2950 2950>; - - qcom,xpc; - qcom,bus-speed-mode = "SDR12", "SDR25", "SDR50", "DDR50", "SDR104"; - qcom,current-limit = <600>; #address-cells = <0>; interrupt-parent = <&sdcc2>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 125 0 - 1 &intc 0 220 0 - 2 &msmgpio 38 0x3>; - interrupt-names = "core_irq", "bam_irq", "status_irq"; - cd-gpios = <&msmgpio 38 0x1>; - - status = "disabled"; -}; - -&sdhc_2 { - vdd-supply = <&pm8226_l18>; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <9000 800000>; - - vdd-io-supply = <&pm8226_l21>; - qcom,vdd-io-always-on; - qcom,vdd-io-lpm-sup; - qcom,vdd-io-voltage-level = <1800000 2950000>; - qcom,vdd-io-current-level = <6 22000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - - #address-cells = <0>; - interrupt-parent = <&sdhc_2>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 125 0 - 1 &intc 0 221 0 - 2 &msmgpio 38 0x3>; - interrupt-names = "hc_irq", "pwr_irq", "status_irq"; - cd-gpios = <&msmgpio 38 0x1>; - - status = "ok"; -}; - -&spmi_bus { - qcom,pm8226@0 { - qcom,leds@a100 { - status = "okay"; - qcom,led_mpp_2 { - label = "mpp"; - linux,name = "button-backlight"; - linux,default-trigger = "none"; - qcom,default-state = "off"; - qcom,max-current = <40>; - qcom,current-setting = <5>; - qcom,id = <6>; - qcom,mode = "manual"; - qcom,source-sel = <1>; - qcom,mode-ctrl = <0x60>; - }; - }; - - qcom,leds@a300 { - status = "okay"; - qcom,led_mpp_4 { - label = "mpp"; - linux,name = "green"; - linux,default-trigger = "none"; - qcom,default-state = "off"; - qcom,max-current = <40>; - qcom,current-setting = <5>; - qcom,id = <6>; - qcom,mode = "pwm"; - qcom,pwm-us = <1000>; - qcom,source-sel = <8>; - qcom,mode-ctrl = <0x60>; - qcom,pwm-channel = <0>; - qcom,start-idx = <1>; - qcom,duty-pcts = [00 00 00 00 64 - 64 00 00 00 00]; - qcom,use-blink; - }; - }; - - qcom,leds@a500 { - status = "okay"; - qcom,led_mpp_6 { - label = "mpp"; - linux,name = "red"; - linux,default-trigger = "none"; - qcom,default-state = "off"; - qcom,max-current = <40>; - qcom,current-setting = <5>; - qcom,id = <6>; - qcom,mode = "pwm"; - qcom,pwm-us = <1000>; - qcom,mode-ctrl = <0x60>; - qcom,source-sel = <10>; - qcom,pwm-channel = <5>; - qcom,start-idx = <1>; - qcom,duty-pcts = [00 00 00 00 64 - 64 00 00 00 00]; - qcom,use-blink; - }; - }; - }; - - qcom,pm8226@1 { - qcom,leds@d300 { - status = "okay"; - }; - - qcom,leds@d800 { - status = "okay"; - qcom,wled_0 { - label = "wled"; - linux,name = "wled:backlight"; - linux,default-trigger = "bkl-trigger"; - qcom,cs-out-en; - qcom,op-fdbck = <1>; - qcom,default-state = "on"; - qcom,max-current = <20>; - qcom,ctrl-delay-us = <0>; - qcom,boost-curr-lim = <3>; - qcom,cp-sel = <0>; - qcom,switch-freq = <2>; - qcom,ovp-val = <0>; - qcom,num-strings = <1>; - qcom,id = <0>; - }; - }; - }; -}; - -&pm8226_gpios { - gpio@c000 { /* GPIO 1 */ - /* XO_PMIC_CDC_MCLK enable for tapan codec */ - qcom,mode = <1>; /* Digital output */ - qcom,output-type = <0>; /* CMOS logic */ - qcom,pull = <5>; /* QPNP_PIN_PULL_NO*/ - qcom,vin-sel = <3>; /* QPNP_PIN_VIN3 */ - qcom,out-strength = <3>;/* QPNP_PIN_OUT_STRENGTH_HIGH */ - qcom,src-sel = <2>; /* QPNP_PIN_SEL_FUNC_1 */ - qcom,master-en = <1>; /* Enable GPIO */ - }; - - gpio@c100 { /* GPIO 2 */ - qcom,mode = <1>; - qcom,output-type = <0>; - qcom,pull = <5>; - qcom,vin-sel = <3>; - qcom,out-strength = <3>; - qcom,src-sel = <2>; - qcom,master-en = <1>; - }; - - gpio@c200 { /* GPIO 3 */ - }; - - gpio@c300 { /* GPIO 4 */ - }; - - gpio@c400 { /* GPIO 5 */ - }; - - gpio@c500 { /* GPIO 6 */ - }; - - gpio@c600 { /* GPIO 7 */ - }; - - gpio@c700 { /* GPIO 8 */ - }; -}; - -&pm8226_mpps { - mpp@a000 { /* MPP 1 */ - }; - - mpp@a100 { /* MPP 2 */ - }; - - mpp@a200 { /* MPP 3 */ - }; - - mpp@a300 { /* MPP 4 */ - }; - - mpp@a400 { /* MPP 5 */ - /* PA_THERM0 config */ - qcom,mode = <4>; /* AIN input */ - qcom,invert = <1>; /* Enable MPP */ - qcom,ain-route = <0>; /* AMUX 5 */ - qcom,master-en = <1>; - qcom,src-sel = <0>; /* Function constant */ - }; - - mpp@a500 { /* MPP 6 */ - }; - - mpp@a600 { /* MPP 7 */ - }; - - mpp@a700 { /* MPP 8 */ - /* PA_THERM1 config */ - qcom,mode = <4>; /* AIN input */ - qcom,invert = <1>; /* Enable MPP */ - qcom,ain-route = <3>; /* AMUX 8 */ - qcom,master-en = <1>; - qcom,src-sel = <0>; /* Function constant */ - }; -}; - -&pm8226_vadc { - chan@14 { - label = "pa_therm0"; - reg = <0x14>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@17 { - label = "pa_therm1"; - reg = <0x17>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; -}; - -&pm8226_bms { - status = "ok"; -}; - -&pm8226_chg { - qcom,charging-disabled; -}; - -&usb_otg_sw { - status = "okay"; -}; - -&slim_msm { - tapan_codec { - qcom,cdc-micbias1-ext-cap; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8226-pm.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8226-pm.dtsi deleted file mode 100644 index 3240efb75..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8226-pm.dtsi +++ /dev/null @@ -1,389 +0,0 @@ -/* Copyright (c) 2013 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. - */ - -/include/ "skeleton.dtsi" - -&soc { - qcom,spm@f9089000 { - compatible = "qcom,spm-v2"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xf9089000 0x1000>; - qcom,core-id = <0>; - qcom,saw2-ver-reg = <0xfd0>; - qcom,saw2-cfg = <0x01>; - qcom,saw2-spm-dly= <0x3c102800>; - qcom,saw2-spm-ctl = <0x0>; - qcom,saw2-spm-cmd-wfi = [60 03 60 0b 0f]; - qcom,saw2-spm-cmd-spc = [00 20 10 80 30 90 5b 60 03 60 3b 76 76 - 0b 94 5b 80 10 06 26 30 0f]; - qcom,saw2-spm-cmd-pc = [00 20 10 80 30 90 5b 60 07 60 3b 76 76 - 0b 94 5b 80 10 06 26 30 0f]; - }; - - qcom,spm@f9099000 { - compatible = "qcom,spm-v2"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xf9099000 0x1000>; - qcom,core-id = <1>; - qcom,saw2-ver-reg = <0xfd0>; - qcom,saw2-cfg = <0x01>; - qcom,saw2-spm-dly= <0x3c102800>; - qcom,saw2-spm-ctl = <0x0>; - qcom,saw2-spm-cmd-wfi = [60 03 60 0b 0f]; - qcom,saw2-spm-cmd-spc = [00 20 10 80 30 90 5b 60 03 60 3b 76 76 - 0b 94 5b 80 10 06 26 30 0f]; - qcom,saw2-spm-cmd-pc = [00 20 10 80 30 90 5b 60 07 60 3b 76 76 - 0b 94 5b 80 10 06 26 30 0f]; - }; - - qcom,spm@f90a9000 { - compatible = "qcom,spm-v2"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xf90a9000 0x1000>; - qcom,core-id = <2>; - qcom,saw2-ver-reg = <0xfd0>; - qcom,saw2-cfg = <0x01>; - qcom,saw2-spm-dly= <0x3c102800>; - qcom,saw2-spm-ctl = <0x0>; - qcom,saw2-spm-cmd-wfi = [60 03 60 0b 0f]; - qcom,saw2-spm-cmd-spc = [00 20 10 80 30 90 5b 60 03 60 3b 76 76 - 0b 94 5b 80 10 06 26 30 0f]; - qcom,saw2-spm-cmd-pc = [00 20 10 80 30 90 5b 60 07 60 3b 76 76 - 0b 94 5b 80 10 06 26 30 0f]; - }; - - qcom,spm@f90b9000 { - compatible = "qcom,spm-v2"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xf90b9000 0x1000>; - qcom,core-id = <3>; - qcom,saw2-ver-reg = <0xfd0>; - qcom,saw2-cfg = <0x01>; - qcom,saw2-spm-dly= <0x3c102800>; - qcom,saw2-spm-ctl = <0x0>; - qcom,saw2-spm-cmd-wfi = [60 03 60 0b 0f]; - qcom,saw2-spm-cmd-spc = [00 20 10 80 30 90 5b 60 03 60 3b 76 76 - 0b 94 5b 80 10 06 26 30 0f]; - qcom,saw2-spm-cmd-pc = [00 20 10 80 30 90 5b 60 07 60 3b 76 76 - 0b 94 5b 80 10 06 26 30 0f]; - }; - - qcom,spm@f9012000 { - compatible = "qcom,spm-v2"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xf9012000 0x1000>; - qcom,core-id = <0xffff>; /* L2/APCS SAW */ - qcom,saw2-ver-reg = <0xfd0>; - qcom,saw2-cfg = <0x14>; - qcom,saw2-spm-dly= <0x3c102800>; - qcom,saw2-spm-ctl = <0x0>; - qcom,saw2-pmic-data0 = <0x02030080>; - qcom,saw2-pmic-data1 = <0x00030000>; - qcom,vctl-timeout-us = <50>; - qcom,vctl-port = <0x0>; - qcom,phase-port = <0x1>; - qcom,pfm-port = <0x2>; - qcom,saw2-spm-cmd-ret = [00 03 00 7b 0f]; - qcom,saw2-spm-cmd-pc = [00 32 b0 10 e0 d0 6b c0 42 f0 - 11 07 01 b0 4e c0 d0 12 e0 6b 50 02 32 - 50 f0 7b 0f]; /*APCS_PMIC_OFF_L2RAM_OFF*/ - }; - - qcom,lpm-resources { - compatible = "qcom,lpm-resources"; - #address-cells = <1>; - #size-cells = <0>; - - qcom,lpm-resources@0 { - reg = <0x0>; - qcom,name = "vdd-dig"; - qcom,type = <0x61706d73>; /* "smpa" */ - qcom,id = <0x01>; - qcom,key = <0x6e726f63>; /* "corn" */ - qcom,init-value = <3>; /* SVS SOC */ - }; - - qcom,lpm-resources@1 { - reg = <0x1>; - qcom,name = "vdd-mem"; - qcom,type = <0x616F646C>; /* "ldoa" */ - qcom,id = <0x03>; - qcom,key = <0x6e726f63>; /* "corn" */ - qcom,init-value = <3>; /* SVS SOC */ - }; - - qcom,lpm-resources@2 { - reg = <0x2>; - qcom,name = "pxo"; - qcom,type = <0x306b6c63>; /* "clk0" */ - qcom,id = <0x00>; - qcom,key = <0x62616e45>; /* "Enab" */ - qcom,init-value = "xo_on"; - }; - - qcom,lpm-resources@3 { - reg = <0x3>; - qcom,name = "l2"; - qcom,local-resource-type; - qcom,init-value = "l2_cache_retention"; - }; - }; - - qcom,lpm-levels { - compatible = "qcom,lpm-levels"; - #address-cells = <1>; - #size-cells = <0>; - - qcom,lpm-level@0 { - reg = <0x0>; - qcom,mode = "wfi"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_active"; - qcom,vdd-mem-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <4>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <1>; - qcom,ss-power = <784>; - qcom,energy-overhead = <190000>; - qcom,time-overhead = <100>; - }; - - qcom,lpm-level@1 { - reg = <0x1>; - qcom,mode = "standalone_pc"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_active"; - qcom,vdd-mem-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <4>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <3000>; - qcom,ss-power = <725>; - qcom,energy-overhead = <99500>; - qcom,time-overhead = <3130>; - }; - - qcom,lpm-level@2 { - reg = <0x2>; - qcom,mode = "pc"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_retention"; - qcom,vdd-mem-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <4>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <8000>; - qcom,ss-power = <138>; - qcom,energy-overhead = <1208400>; - qcom,time-overhead = <9200>; - }; - - qcom,lpm-level@3 { - reg = <0x3>; - qcom,mode = "pc"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_pc"; - qcom,vdd-mem-upper-bound = <4>; /* NORMAL */ - qcom,vdd-mem-lower-bound = <3>; /* SVS SOC */ - qcom,vdd-dig-upper-bound = <4>; /* NORMAL */ - qcom,vdd-dig-lower-bound = <3>; /* SVS SOC */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <9000>; - qcom,ss-power = <110>; - qcom,energy-overhead = <1250300>; - qcom,time-overhead = <9500>; - }; - - qcom,lpm-level@4 { - reg = <0x4>; - qcom,mode = "pc"; - qcom,xo = "xo_off"; - qcom,l2 = "l2_cache_pc"; - qcom,vdd-mem-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <4>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,latency-us = <16300>; - qcom,ss-power = <63>; - qcom,energy-overhead = <2128000>; - qcom,time-overhead = <24200>; - }; - - qcom,lpm-level@5 { - reg = <0x5>; - qcom,mode = "pc"; - qcom,xo = "xo_off"; - qcom,l2 = "l2_cache_pc"; - qcom,vdd-mem-upper-bound = <4>; /* NORMAL */ - qcom,vdd-mem-lower-bound = <3>; /* SVS SOC */ - qcom,vdd-dig-upper-bound = <4>; /* NORMAL */ - qcom,vdd-dig-lower-bound = <3>; /* SVS SOC */ - qcom,latency-us = <24000>; - qcom,ss-power = <10>; - qcom,energy-overhead = <3202600>; - qcom,time-overhead = <33000>; - }; - - qcom,lpm-level@6 { - reg = <0x6>; - qcom,mode = "pc"; - qcom,xo = "xo_off"; - qcom,l2 = "l2_cache_pc"; - qcom,vdd-mem-upper-bound = <3>; /* SVS SOC */ - qcom,vdd-mem-lower-bound = <1>; /* RETENTION */ - qcom,vdd-dig-upper-bound = <3>; /* SVS SOC */ - qcom,vdd-dig-lower-bound = <1>; /* RETENTION */ - qcom,latency-us = <26000>; - qcom,ss-power = <2>; - qcom,energy-overhead = <4252000>; - qcom,time-overhead = <38000>; - }; - }; - - qcom,pm-boot { - compatible = "qcom,pm-boot"; - qcom,mode = "tz"; - }; - - qcom,mpm@fc4281d0 { - compatible = "qcom,mpm-v2"; - reg = <0xfc4281d0 0x1000>, /* MSM_RPM_MPM_BASE 4K */ - <0xf9011008 0x4>; /* MSM_APCS_GCC_BASE 4K */ - reg-names = "vmpm", "ipc"; - interrupts = <0 171 1>; - - qcom,ipc-bit-offset = <1>; - - qcom,gic-parent = <&intc>; - qcom,gic-map = <47 172>, /* usb2_hsic_async_wakeup_irq */ - <53 104>, /* mdss_irq */ - <62 222>, /* ee0_krait_hlos_spmi_periph_irq */ - <2 216>, /* tsens_upper_lower_int */ - <0xff 56>, /* q6_wdog_expired_irq */ - <0xff 57>, /* mss_to_apps_irq(0) */ - <0xff 58>, /* mss_to_apps_irq(1) */ - <0xff 59>, /* mss_to_apps_irq(2) */ - <0xff 60>, /* mss_to_apps_irq(3) */ - <0xff 61>, /* mss_a2_bam_irq */ - <0xff 173>, /* o_wcss_apss_smd_hi */ - <0xff 174>, /* o_wcss_apss_smd_med */ - <0xff 175>, /* o_wcss_apss_smd_low */ - <0xff 176>, /* o_wcss_apss_smsm_irq */ - <0xff 177>, /* o_wcss_apss_wlan_data_xfer_done */ - <0xff 178>, /* o_wcss_apss_wlan_rx_data_avail */ - <0xff 179>, /* o_wcss_apss_asic_intr - <0xff 181>, /* o_wcss_apss_wdog_bite_and_reset_rdy */ - <0xff 188>, /* lpass_irq_out_apcs(0) */ - <0xff 189>, /* lpass_irq_out_apcs(1) */ - <0xff 190>, /* lpass_irq_out_apcs(2) */ - <0xff 191>, /* lpass_irq_out_apcs(3) */ - <0xff 192>, /* lpass_irq_out_apcs(4) */ - <0xff 194>, /* lpass_irq_out_apcs[6] */ - <0xff 195>, /* lpass_irq_out_apcs[7] */ - <0xff 196>, /* lpass_irq_out_apcs[8] */ - <0xff 200>, /* rpm_ipc(4) */ - <0xff 201>, /* rpm_ipc(5) */ - <0xff 202>, /* rpm_ipc(6) */ - <0xff 203>, /* rpm_ipc(7) */ - <0xff 204>, /* rpm_ipc(24) */ - <0xff 205>, /* rpm_ipc(25) */ - <0xff 206>, /* rpm_ipc(26) */ - <0xff 207>, /* rpm_ipc(27) */ - <0xff 258>, /* rpm_ipc(28) */ - <0xff 259>, /* rpm_ipc(29) */ - <0xff 275>, /* rpm_ipc(30) */ - <0xff 276>, /* rpm_ipc(31) */ - <0xff 269>, /* rpm_wdog_expired_irq */ - <0xff 240>; /* summary_irq_kpss */ - - qcom,gpio-parent = <&msmgpio>; - qcom,gpio-map = <3 1>, - <4 4 >, - <5 5 >, - <6 9 >, - <7 13>, - <8 17>, - <9 21>, - <10 27>, - <11 29>, - <12 31>, - <13 33>, - <14 35>, - <15 37>, - <16 38>, - <17 39>, - <18 41>, - <19 46>, - <20 48>, - <21 49>, - <22 50>, - <23 51>, - <24 52>, - <25 54>, - <26 62>, - <27 63>, - <28 64>, - <29 65>, - <30 66>, - <31 67>, - <32 68>, - <33 69>, - <34 71>, - <35 72>, - <36 106>, - <37 107>, - <38 108>, - <39 109>, - <40 110>, - <54 111>, - <55 113>; - }; - - qcom,pm-8x60@fe805664 { - compatible = "qcom,pm-8x60"; - reg = <0xfe805664 0x40>; - qcom,pc-mode = "tz_l2_int"; - qcom,use-sync-timer; - qcom,pc-resets-timer; - }; - - qcom,rpm-log@fc19dc00 { - compatible = "qcom,rpm-log"; - reg = <0xfc19dc00 0x4000>; - qcom,rpm-addr-phys = <0xfc000000>; - qcom,offset-version = <4>; - qcom,offset-page-buffer-addr = <36>; - qcom,offset-log-len = <40>; - qcom,offset-log-len-mask = <44>; - qcom,offset-page-indices = <56>; - }; - - qcom,rpm-stats@fc19dba0 { - compatible = "qcom,rpm-stats"; - reg = <0xfc19dba0 0x1000>; - reg-names = "phys_addr_base"; - qcom,sleep-stats-version = <2>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8226-qrd.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8226-qrd.dtsi deleted file mode 100644 index fc9d9f9b9..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8226-qrd.dtsi +++ /dev/null @@ -1,406 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/include/ "dsi-panel-nt35590-720p-video.dtsi" -/include/ "msm8226-camera-sensor-qrd.dtsi" - -&soc { - serial@f991f000 { - status = "ok"; - }; - - qcom,mdss_dsi_nt35590_720p_video { - status = "ok"; - }; - - i2c@f9927000 { /* BLSP1 QUP5 */ - synaptics@20 { - compatible = "synaptics,rmi4"; - reg = <0x20>; - interrupt-parent = <&msmgpio>; - interrupts = <17 0x2008>; - vdd-supply = <&pm8226_l19>; - vcc_i2c-supply = <&pm8226_lvs1>; - synaptics,reset-gpio = <&msmgpio 16 0x00>; - synaptics,irq-gpio = <&msmgpio 17 0x2008>; - synaptics,button-map = <139 102 158>; - synaptics,i2c-pull-up; - }; - }; - - gpio_keys { - compatible = "gpio-keys"; - input-name = "gpio-keys"; - - camera_focus { - label = "camera_focus"; - gpios = <&msmgpio 108 0x1>; - linux,input-type = <1>; - linux,code = <0x210>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - - camera_snapshot { - label = "camera_snapshot"; - gpios = <&msmgpio 107 0x1>; - linux,input-type = <1>; - linux,code = <0x2fe>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - - vol_up { - label = "volume_up"; - gpios = <&msmgpio 106 0x1>; - linux,input-type = <1>; - linux,code = <115>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - }; - - spi@f9923000 { - ethernet-switch@3 { - compatible = "micrel,ks8851"; - reg = <3>; - interrupt-parent = <&msmgpio>; - interrupts = <0 115 0>; - spi-max-frequency = <4800000>; - rst-gpio = <&msmgpio 114 0>; - vdd-io-supply = <&pm8226_lvs1>; - vdd-phy-supply = <&pm8226_lvs1>; - }; - }; - - sound { - qcom,audio-routing = - "RX_BIAS", "MCLK", - "LDO_H", "MCLK", - "SPK_OUT", "MCLK", - "SPK_OUT", "EXT_VDD_SPKR", - "AMIC1", "MIC BIAS1 External", - "MIC BIAS1 External", "Handset Mic", - "AMIC2", "MIC BIAS2 External", - "MIC BIAS2 External", "Headset Mic", - "AMIC3", "MIC BIAS1 External", - "MIC BIAS1 External", "ANCRight Headset Mic", - "AMIC4", "MIC BIAS2 External", - "MIC BIAS2 External", "ANCLeft Headset Mic"; - - qcom,cdc-mclk-gpios = <&pm8226_gpios 1 0>; - qcom,cdc-vdd-spkr-gpios = <&pm8226_gpios 2 0>; - qcom,cdc-us-euro-gpios = <&msmgpio 69 0>; - }; -}; - -&sdcc1 { - vdd-supply = <&pm8226_l17>; - qcom,vdd-always-on; - qcom,vdd-lpm-sup; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <800 500000>; - - vdd-io-supply = <&pm8226_l6>; - qcom,vdd-io-always-on; - qcom,vdd-io-voltage-level = <1800000 1800000>; - qcom,vdd-io-current-level = <250 154000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - qcom,sup-voltages = <2950 2950>; - - qcom,bus-speed-mode = "HS200_1p8v", "DDR_1p8v"; - qcom,nonremovable; - - status = "disabled"; -}; - -&sdhc_1 { - vdd-supply = <&pm8226_l17>; - qcom,vdd-always-on; - qcom,vdd-lpm-sup; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <800 500000>; - - vdd-io-supply = <&pm8226_l6>; - qcom,vdd-io-always-on; - qcom,vdd-io-voltage-level = <1800000 1800000>; - qcom,vdd-io-current-level = <250 154000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - qcom,bus-speed-mode = "HS200_1p8v", "DDR_1p8v"; - qcom,nonremovable; - - status = "ok"; -}; - -&sdcc2 { - vdd-supply = <&pm8226_l18>; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <9000 800000>; - - vdd-io-supply = <&pm8226_l21>; - qcom,vdd-io-always-on; - qcom,vdd-io-lpm-sup; - qcom,vdd-io-voltage-level = <1800000 2950000>; - qcom,vdd-io-current-level = <6 22000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - qcom,sup-voltages = <2950 2950>; - - qcom,xpc; - qcom,bus-speed-mode = "SDR12", "SDR25", "SDR50", "DDR50", "SDR104"; - qcom,current-limit = <600>; - - #address-cells = <0>; - interrupt-parent = <&sdcc2>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 125 0 - 1 &intc 0 220 0 - 2 &msmgpio 38 0x3>; - interrupt-names = "core_irq", "bam_irq", "status_irq"; - cd-gpios = <&msmgpio 38 0x1>; - - status = "disabled"; -}; - -&sdhc_2 { - vdd-supply = <&pm8226_l18>; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <9000 800000>; - - vdd-io-supply = <&pm8226_l21>; - qcom,vdd-io-always-on; - qcom,vdd-io-lpm-sup; - qcom,vdd-io-voltage-level = <1800000 2950000>; - qcom,vdd-io-current-level = <6 22000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - - #address-cells = <0>; - interrupt-parent = <&sdhc_2>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 125 0 - 1 &intc 0 221 0 - 2 &msmgpio 38 0x3>; - interrupt-names = "hc_irq", "pwr_irq", "status_irq"; - cd-gpios = <&msmgpio 38 0x1>; - - status = "ok"; -}; - -&spmi_bus { - qcom,pm8226@0 { - qcom,leds@a100 { - status = "okay"; - qcom,led_mpp_2 { - label = "mpp"; - linux,name = "button-backlight"; - linux,default-trigger = "none"; - qcom,default-state = "off"; - qcom,max-current = <40>; - qcom,current-setting = <5>; - qcom,id = <6>; - qcom,mode = "manual"; - qcom,source-sel = <1>; - qcom,mode-ctrl = <0x60>; - }; - }; - - qcom,leds@a300 { - status = "okay"; - qcom,led_mpp_4 { - label = "mpp"; - linux,name = "green"; - linux,default-trigger = "none"; - qcom,default-state = "off"; - qcom,max-current = <40>; - qcom,current-setting = <5>; - qcom,id = <6>; - qcom,mode = "pwm"; - qcom,pwm-us = <1000>; - qcom,source-sel = <8>; - qcom,mode-ctrl = <0x60>; - qcom,pwm-channel = <0>; - qcom,start-idx = <1>; - qcom,duty-pcts = [00 00 00 00 64 - 64 00 00 00 00]; - qcom,use-blink; - }; - }; - - qcom,leds@a500 { - status = "okay"; - qcom,led_mpp_6 { - label = "mpp"; - linux,name = "red"; - linux,default-trigger = "none"; - qcom,default-state = "off"; - qcom,max-current = <40>; - qcom,current-setting = <5>; - qcom,id = <6>; - qcom,mode = "pwm"; - qcom,pwm-us = <1000>; - qcom,mode-ctrl = <0x60>; - qcom,source-sel = <10>; - qcom,pwm-channel = <5>; - qcom,start-idx = <1>; - qcom,duty-pcts = [00 00 00 00 64 - 64 00 00 00 00]; - qcom,use-blink; - }; - }; - }; - - qcom,pm8226@1 { - qcom,leds@d300 { - status = "okay"; - }; - - qcom,leds@d800 { - status = "okay"; - qcom,wled_0 { - label = "wled"; - linux,name = "wled:backlight"; - linux,default-trigger = "bkl-trigger"; - qcom,cs-out-en; - qcom,op-fdbck = <1>; - qcom,default-state = "on"; - qcom,max-current = <20>; - qcom,ctrl-delay-us = <0>; - qcom,boost-curr-lim = <3>; - qcom,cp-sel = <0>; - qcom,switch-freq = <2>; - qcom,ovp-val = <0>; - qcom,num-strings = <1>; - qcom,id = <0>; - }; - }; - - qcom,vibrator@c000 { - status = "okay"; - qcom,vib-timeout-ms = <15000>; - qcom,vib-vtg-level-mV = <3100>; - }; - - }; -}; - -&pm8226_bms { - status = "okay"; - qcom,batt-type = <4>; - qcom,max-voltage-uv = <4350000>; -}; - -&pm8226_chg { - status = "okay"; - qcom,chg-vddmax-mv = <4350>; - qcom,chg-vddsafe-mv = <4350>; -}; - -&pm8226_gpios { - gpio@c000 { /* GPIO 1 */ - /* XO_PMIC_CDC_MCLK enable for tapan codec */ - qcom,mode = <1>; /* Digital output */ - qcom,output-type = <0>; /* CMOS logic */ - qcom,pull = <5>; /* QPNP_PIN_PULL_NO*/ - qcom,vin-sel = <3>; /* QPNP_PIN_VIN3 */ - qcom,out-strength = <3>;/* QPNP_PIN_OUT_STRENGTH_HIGH */ - qcom,src-sel = <2>; /* QPNP_PIN_SEL_FUNC_1 */ - qcom,master-en = <1>; /* Enable GPIO */ - }; - - gpio@c100 { /* GPIO 2 */ - qcom,mode = <1>; - qcom,output-type = <0>; - qcom,pull = <5>; - qcom,vin-sel = <3>; - qcom,out-strength = <3>; - qcom,src-sel = <2>; - qcom,master-en = <1>; - }; - - gpio@c200 { /* GPIO 3 */ - }; - - gpio@c300 { /* GPIO 4 */ - }; - - gpio@c400 { /* GPIO 5 */ - }; - - gpio@c500 { /* GPIO 6 */ - }; - - gpio@c600 { /* GPIO 7 */ - }; - - gpio@c700 { /* GPIO 8 */ - }; -}; - -&pm8226_mpps { - mpp@a000 { /* MPP 1 */ - }; - - mpp@a100 { /* MPP 2 */ - }; - - mpp@a200 { /* MPP 3 */ - }; - - mpp@a300 { /* MPP 4 */ - }; - - mpp@a400 { /* MPP 5 */ - }; - - mpp@a500 { /* MPP 6 */ - }; - - mpp@a600 { /* MPP 7 */ - }; - - mpp@a700 { /* MPP 8 */ - }; -}; - -&slim_msm { - tapan_codec { - qcom,cdc-micbias1-ext-cap; - }; - -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8226-regulator.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8226-regulator.dtsi deleted file mode 100644 index 3254d17c8..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8226-regulator.dtsi +++ /dev/null @@ -1,460 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/* SPM controlled regulators: */ - -&spmi_bus { - qcom,pm8226@1 { - pm8226_s2: spm-regulator@1700 { - compatible = "qcom,spm-regulator"; - regulator-name = "8226_s2"; - reg = <0x1700 0x100>; - regulator-min-microvolt = <900000>; - regulator-max-microvolt = <1275000>; - }; - }; -}; - -/* CPR controlled regulator */ - -&soc { - apc_vreg_corner: regulator@f9018000 { - status = "okay"; - compatible = "qcom,cpr-regulator"; - reg = <0xf9018000 0x1000>, <0xf9011064 4>, <0xfc4b80b0 8>, - <0xfc4bc450 16>; - reg-names = "rbcpr", "rbcpr_clk", "pvs_efuse", "cpr_efuse"; - interrupts = <0 15 0>; - regulator-name = "apc_corner"; - regulator-min-microvolt = <1>; - regulator-max-microvolt = <3>; - qcom,num-efuse-bits = <5>; - qcom,pvs-bin-process = <0 0 0 0 0 1 1 1 1 1 2 2 2 2 2 2 - 2 2 2 2 3 3 3 3 3 3 3 3 0 0 0 0>; - qcom,pvs-corner-ceiling-slow = <1155000 1160000 1275000>; - qcom,pvs-corner-ceiling-nom = <975000 1075000 1200000>; - qcom,pvs-corner-ceiling-fast = <900000 1000000 1140000>; - vdd-apc-supply = <&pm8226_s2>; - - vdd-mx-supply = <&pm8226_l3_ao>; - qcom,vdd-mx-vmax = <1350000>; - qcom,vdd-mx-vmin-method = <1>; - - qcom,cpr-ref-clk = <19200>; - qcom,cpr-timer-delay = <5000>; - qcom,cpr-timer-cons-up = <1>; - qcom,cpr-timer-cons-down = <2>; - qcom,cpr-irq-line = <0>; - qcom,cpr-step-quotient = <15>; - qcom,cpr-up-threshold = <1>; - qcom,cpr-down-threshold = <2>; - qcom,cpr-idle-clocks = <5>; - qcom,cpr-gcnt-time = <1>; - qcom,vdd-apc-step-up-limit = <1>; - qcom,vdd-apc-step-down-limit = <1>; - qcom,cpr-apc-volt-step = <5000>; - }; -}; - -/* RPM controlled regulators: */ - -&rpm_bus { - rpm-regulator-smpa1 { - status = "okay"; - pm8226_s1: regulator-s1 { - regulator-min-microvolt = <500000>; - regulator-max-microvolt = <1275000>; - status = "okay"; - }; - pm8226_s1_corner: regulator-s1-corner { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_s1_corner"; - qcom,set = <3>; - regulator-min-microvolt = <1>; - regulator-max-microvolt = <7>; - qcom,use-voltage-corner; - qcom,consumer-supplies = "vdd_dig", ""; - }; - pm8226_s1_corner_ao: regulator-s1-corner-ao { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_s1_corner_ao"; - qcom,set = <1>; - regulator-min-microvolt = <1>; - regulator-max-microvolt = <7>; - qcom,use-voltage-corner; - qcom,consumer-supplies = "vdd_sr2_dig", ""; - }; - }; - - rpm-regulator-smpa3 { - status = "okay"; - pm8226_s3: regulator-s3 { - regulator-min-microvolt = <1200000>; - regulator-max-microvolt = <1300000>; - qcom,init-voltage = <1200000>; - status = "okay"; - }; - }; - - rpm-regulator-smpa4 { - status = "okay"; - pm8226_s4: regulator-s4 { - regulator-min-microvolt = <2100000>; - regulator-max-microvolt = <2100000>; - qcom,init-voltage = <2100000>; - status = "okay"; - }; - }; - - rpm-regulator-smpa5 { - status = "okay"; - pm8226_s5: regulator-s5 { - regulator-min-microvolt = <1150000>; - regulator-max-microvolt = <1150000>; - qcom,init-voltage = <1150000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa1 { - status = "okay"; - pm8226_l1: regulator-l1 { - regulator-name = "8226_l1"; - regulator-min-microvolt = <1225000>; - regulator-max-microvolt = <1225000>; - qcom,init-voltage = <1225000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa2 { - status = "okay"; - pm8226_l2: regulator-l2 { - regulator-min-microvolt = <1200000>; - regulator-max-microvolt = <1200000>; - qcom,init-voltage = <1200000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa3 { - status = "okay"; - pm8226_l3: regulator-l3 { - regulator-name = "8226_l3"; - regulator-min-microvolt = <750000>; - regulator-max-microvolt = <1275000>; - status = "okay"; - }; - pm8226_l3_ao: regulator-3-ao { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l3_ao"; - qcom,set = <1>; - regulator-min-microvolt = <750000>; - regulator-max-microvolt = <1275000>; - status = "okay"; - }; - pm8226_l3_so: regulator-l3-so { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l3_so"; - qcom,set = <2>; - regulator-min-microvolt = <750000>; - regulator-max-microvolt = <1275000>; - qcom,init-voltage = <750000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa4 { - status = "okay"; - pm8226_l4: regulator-l4 { - regulator-name = "8226_l4"; - regulator-min-microvolt = <1200000>; - regulator-max-microvolt = <1200000>; - qcom,init-voltage = <1200000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa5 { - status = "okay"; - pm8226_l5: regulator-l5 { - regulator-name = "8226_l5"; - regulator-min-microvolt = <1200000>; - regulator-max-microvolt = <1200000>; - qcom,init-voltage = <1200000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa6 { - status = "okay"; - pm8226_l6: regulator-l6 { - regulator-name = "8226_l6"; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa7 { - status = "okay"; - pm8226_l7: regulator-l7 { - regulator-name = "8226_l7"; - regulator-min-microvolt = <1850000>; - regulator-max-microvolt = <1850000>; - qcom,init-voltage = <1850000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa8 { - status = "okay"; - pm8226_l8: regulator-l8 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - status = "okay"; - }; - - pm8226_l8_ao: regulator-l8-ao { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l8_ao"; - qcom,set = <1>; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - qcom,consumer-supplies = "vdd_sr2_pll", ""; - }; - - pm8226_l8_so: regulator-l8-so { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8226_l8_so"; - qcom,set = <2>; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - qcom,init-enable = <0>; - }; - }; - - rpm-regulator-ldoa9 { - status = "okay"; - pm8226_l9: regulator-l9 { - regulator-name = "8226_l9"; - regulator-min-microvolt = <2050000>; - regulator-max-microvolt = <2050000>; - qcom,init-voltage = <2050000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa10 { - status = "okay"; - pm8226_l10: regulator-l10 { - regulator-name = "8226_l10"; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa12 { - status = "okay"; - pm8226_l12: regulator-l12 { - regulator-name = "8226_l12"; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa14 { - status = "okay"; - pm8226_l14: regulator-l14 { - regulator-name = "8226_l14"; - regulator-min-microvolt = <2750000>; - regulator-max-microvolt = <2750000>; - qcom,init-voltage = <2750000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa15 { - status = "okay"; - pm8226_l15: regulator-l15 { - regulator-name = "8226_l15"; - regulator-min-microvolt = <2800000>; - regulator-max-microvolt = <2800000>; - qcom,init-voltage = <2800000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa16 { - status = "okay"; - pm8226_l16: regulator-l16 { - regulator-name = "8226_l16"; - regulator-min-microvolt = <3000000>; - regulator-max-microvolt = <3300000>; - qcom,init-voltage = <3300000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa17 { - status = "okay"; - pm8226_l17: regulator-l17 { - regulator-min-microvolt = <2950000>; - regulator-max-microvolt = <2950000>; - qcom,init-voltage = <2950000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa18 { - status = "okay"; - pm8226_l18: regulator-l18 { - regulator-name = "8226_l18"; - regulator-min-microvolt = <2950000>; - regulator-max-microvolt = <2950000>; - qcom,init-voltage = <2950000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa19 { - status = "okay"; - pm8226_l19: regulator-l19 { - regulator-name = "8226_l19"; - regulator-min-microvolt = <2850000>; - regulator-max-microvolt = <2850000>; - qcom,init-voltage = <2850000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa20 { - status = "okay"; - pm8226_l20: regulator-l20 { - regulator-name = "8226_l20"; - regulator-min-microvolt = <3075000>; - regulator-max-microvolt = <3075000>; - qcom,init-voltage = <3075000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa21 { - status = "okay"; - pm8226_l21: regulator-l21 { - regulator-name = "8226_l21"; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <2950000>; - qcom,init-voltage = <2950000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa22 { - status = "okay"; - pm8226_l22: regulator-l22 { - regulator-name = "8226_l22"; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <2950000>; - qcom,init-voltage = <2950000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa23 { - status = "okay"; - pm8226_l23: regulator-l23 { - regulator-name = "8226_l23"; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <2950000>; - qcom,init-voltage = <2950000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa24 { - status = "okay"; - pm8226_l24: regulator-l24 { - regulator-name = "8226_l24"; - regulator-min-microvolt = <1300000>; - regulator-max-microvolt = <1300000>; - qcom,init-voltage = <1300000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa26 { - status = "okay"; - pm8226_l26: regulator-l26 { - regulator-name = "8226_l26"; - regulator-min-microvolt = <1225000>; - regulator-max-microvolt = <1225000>; - qcom,init-voltage = <1225000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa27 { - status = "okay"; - pm8226_l27: regulator-l27 { - regulator-name = "8226_l27"; - regulator-min-microvolt = <2050000>; - regulator-max-microvolt = <2050000>; - qcom,init-voltage = <2050000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa28 { - status = "okay"; - pm8226_l28: regulator-l28 { - regulator-name = "8226_l28"; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <2950000>; - qcom,init-voltage = <2950000>; - status = "okay"; - }; - }; - - rpm-regulator-vsa1 { - status = "okay"; - pm8226_lvs1: regulator-lvs1 { - status = "okay"; - }; - }; -}; - -&pm8226_chg_boost { - regulator-min-microvolt = <5000000>; - regulator-max-microvolt = <5000000>; - regulator-name = "8226_smbbp_boost"; -}; - -&soc { - usb_otg_sw: regulator-ncp380 { - compatible = "regulator-fixed"; - regulator-name = "usb_otg_sw"; - gpio = <&msmgpio 67 0>; - parent-supply = <&pm8226_chg_boost>; - startup-delay-us = <4000>; - enable-active-high; - status = "disabled"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8226-sim.dts b/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8226-sim.dts deleted file mode 100644 index 240564632..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8226-sim.dts +++ /dev/null @@ -1,135 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/dts-v1/; -/include/ "msm8226.dtsi" -/include/ "msm8226-camera.dtsi" - -/ { - model = "Qualcomm MSM 8226 Simulator"; - compatible = "qcom,msm8226-sim", "qcom,msm8226", "qcom,sim"; - qcom,msm-id = <145 16 0>, - <158 16 0>, - <159 16 0>, - <198 16 0>; -}; - -&soc { - serial@f991f000 { - status = "ok"; - }; -}; - -&sdcc1 { - qcom,vdd-always-on; - qcom,vdd-lpm-sup; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <800 500000>; - - qcom,vdd-io-always-on; - qcom,vdd-io-voltage-level = <1800000 1800000>; - qcom,vdd-io-current-level = <250 154000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - vdd-supply = <&pm8226_l17>; - vdd-io-supply = <&pm8226_l6>; - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - qcom,sup-voltages = <2950 2950>; - - qcom,bus-speed-mode = "HS200_1p8v", "DDR_1p8v"; - qcom,nonremovable; - status = "ok"; -}; - -&sdcc2 { - vdd-supply = <&pm8226_l18>; - vdd-io-supply = <&pm8226_l21>; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <9000 800000>; - - qcom,vdd-io-always-on; - qcom,vdd-io-lpm-sup; - qcom,vdd-io-voltage-level = <1800000 2950000>; - qcom,vdd-io-current-level = <6 22000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - qcom,sup-voltages = <2950 2950>; - - qcom,xpc; - qcom,bus-speed-mode = "SDR12", "SDR25", "SDR50", "DDR50", "SDR104"; - qcom,current-limit = <800>; - - status = "ok"; -}; - -&pm8226_gpios { - gpio@c000 { /* GPIO 1 */ - }; - - gpio@c100 { /* GPIO 2 */ - }; - - gpio@c200 { /* GPIO 3 */ - }; - - gpio@c300 { /* GPIO 4 */ - }; - - gpio@c400 { /* GPIO 5 */ - }; - - gpio@c500 { /* GPIO 6 */ - }; - - gpio@c600 { /* GPIO 7 */ - }; - - gpio@c700 { /* GPIO 8 */ - }; -}; - -&pm8226_mpps { - mpp@a000 { /* MPP 1 */ - }; - - mpp@a100 { /* MPP 2 */ - }; - - mpp@a200 { /* MPP 3 */ - }; - - mpp@a300 { /* MPP 4 */ - }; - - mpp@a400 { /* MPP 5 */ - }; - - mpp@a500 { /* MPP 6 */ - }; - - mpp@a600 { /* MPP 7 */ - }; - - mpp@a700 { /* MPP 8 */ - }; -}; - - diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8226-smp2p.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8226-smp2p.dtsi deleted file mode 100644 index 3921a686a..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8226-smp2p.dtsi +++ /dev/null @@ -1,225 +0,0 @@ -/* Copyright (c) 2013, 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. - */ -&soc { - qcom,smp2p-modem { - compatible = "qcom,smp2p"; - reg = <0xf9011008 0x4>; - qcom,remote-pid = <1>; - qcom,irq-bitmask = <0x4000>; - interrupts = <0 27 1>; - }; - - qcom,smp2p-adsp { - compatible = "qcom,smp2p"; - reg = <0xf9011008 0x4>; - qcom,remote-pid = <2>; - qcom,irq-bitmask = <0x400>; - interrupts = <0 158 1>; - }; - - qcom,smp2p-wcnss { - compatible = "qcom,smp2p"; - reg = <0xf9011008 0x4>; - qcom,remote-pid = <4>; - qcom,irq-bitmask = <0x40000>; - interrupts = <0 143 1>; - }; - - smp2pgpio_smp2p_7_in: qcom,smp2pgpio-smp2p-7-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <7>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_7_in { - compatible = "qcom,smp2pgpio_test_smp2p_7_in"; - gpios = <&smp2pgpio_smp2p_7_in 0 0>; - }; - - smp2pgpio_smp2p_7_out: qcom,smp2pgpio-smp2p-7-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <7>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_7_out { - compatible = "qcom,smp2pgpio_test_smp2p_7_out"; - gpios = <&smp2pgpio_smp2p_7_out 0 0>; - }; - - smp2pgpio_smp2p_1_in: qcom,smp2pgpio-smp2p-1-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <1>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_1_in { - compatible = "qcom,smp2pgpio_test_smp2p_1_in"; - gpios = <&smp2pgpio_smp2p_1_in 0 0>; - }; - - smp2pgpio_smp2p_1_out: qcom,smp2pgpio-smp2p-1-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <1>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_1_out { - compatible = "qcom,smp2pgpio_test_smp2p_1_out"; - gpios = <&smp2pgpio_smp2p_1_out 0 0>; - }; - - smp2pgpio_ssr_smp2p_1_in: qcom,smp2pgpio-ssr-smp2p-1-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "slave-kernel"; - qcom,remote-pid = <1>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - smp2pgpio_ssr_smp2p_1_out: qcom,smp2pgpio-ssr-smp2p-1-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "master-kernel"; - qcom,remote-pid = <1>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - smp2pgpio_smp2p_2_in: qcom,smp2pgpio-smp2p-2-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <2>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_2_in { - compatible = "qcom,smp2pgpio_test_smp2p_2_in"; - gpios = <&smp2pgpio_smp2p_2_in 0 0>; - }; - - smp2pgpio_smp2p_2_out: qcom,smp2pgpio-smp2p-2-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <2>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_2_out { - compatible = "qcom,smp2pgpio_test_smp2p_2_out"; - gpios = <&smp2pgpio_smp2p_2_out 0 0>; - }; - - /* SMP2P SSR Driver for inbound entry from lpass. */ - smp2pgpio_ssr_smp2p_2_in: qcom,smp2pgpio-ssr-smp2p-2-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "slave-kernel"; - qcom,remote-pid = <2>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - /* SMP2P SSR Driver for outbound entry to lpass */ - smp2pgpio_ssr_smp2p_2_out: qcom,smp2pgpio-ssr-smp2p-2-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "master-kernel"; - qcom,remote-pid = <2>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - smp2pgpio_smp2p_4_in: qcom,smp2pgpio-smp2p-4-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <4>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_4_in { - compatible = "qcom,smp2pgpio_test_smp2p_4_in"; - gpios = <&smp2pgpio_smp2p_4_in 0 0>; - }; - - smp2pgpio_smp2p_4_out: qcom,smp2pgpio-smp2p-4-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <4>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - smp2pgpio_ssr_smp2p_4_in: qcom,smp2pgpio-ssr-smp2p-4-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "slave-kernel"; - qcom,remote-pid = <4>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - smp2pgpio_ssr_smp2p_4_out: qcom,smp2pgpio-ssr-smp2p-4-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "master-kernel"; - qcom,remote-pid = <4>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_4_out { - compatible = "qcom,smp2pgpio_test_smp2p_4_out"; - gpios = <&smp2pgpio_smp2p_4_out 0 0>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8226-v1-cdp.dts b/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8226-v1-cdp.dts deleted file mode 100644 index 9c49840d9..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8226-v1-cdp.dts +++ /dev/null @@ -1,25 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; -/include/ "msm8226-v1.dtsi" -/include/ "msm8226-cdp.dtsi" - -/ { - model = "Qualcomm MSM 8226 CDP"; - compatible = "qcom,msm8226-cdp", "qcom,msm8226", "qcom,cdp"; - qcom,msm-id = <145 1 0>, - <158 1 0>, - <159 1 0>, - <198 1 0>, - <205 1 0>; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8226-v1-mtp.dts b/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8226-v1-mtp.dts deleted file mode 100644 index b1d46b1c4..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8226-v1-mtp.dts +++ /dev/null @@ -1,25 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; -/include/ "msm8226-v1.dtsi" -/include/ "msm8226-mtp.dtsi" - -/ { - model = "Qualcomm MSM 8226 MTP"; - compatible = "qcom,msm8226-mtp", "qcom,msm8226", "qcom,mtp"; - qcom,msm-id = <145 8 0>, - <158 8 0>, - <159 8 0>, - <198 8 0>, - <205 8 0>; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8226-v1-qrd.dts b/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8226-v1-qrd.dts deleted file mode 100644 index d2aabac0c..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8226-v1-qrd.dts +++ /dev/null @@ -1,25 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; -/include/ "msm8226-v1.dtsi" -/include/ "msm8226-qrd.dtsi" - -/ { - model = "Qualcomm MSM 8226 QRD"; - compatible = "qcom,msm8226-qrd", "qcom,msm8226", "qcom,qrd"; - qcom,msm-id = <145 11 0>, - <158 11 0>, - <159 11 0>, - <198 11 0>, - <205 11 0>; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8226-v1.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8226-v1.dtsi deleted file mode 100644 index d471bece9..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8226-v1.dtsi +++ /dev/null @@ -1,19 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/* - * As a general rule, only version-specific property overrides should be placed - * inside this file. However, device definitions should be placed inside the - * msm8226.dtsi file. - */ - -/include/ "msm8226.dtsi" diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8226-v2-cdp.dts b/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8226-v2-cdp.dts deleted file mode 100644 index 2b18491d9..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8226-v2-cdp.dts +++ /dev/null @@ -1,25 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; -/include/ "msm8226-v2.dtsi" -/include/ "msm8226-cdp.dtsi" - -/ { - model = "Qualcomm MSM 8226v2 CDP"; - compatible = "qcom,msm8226-cdp", "qcom,msm8226", "qcom,cdp"; - qcom,msm-id = <145 1 0x20000>, - <158 1 0x20000>, - <159 1 0x20000>, - <198 1 0x20000>, - <205 1 0x20000>; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8226-v2-mtp.dts b/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8226-v2-mtp.dts deleted file mode 100644 index f15dd4cb9..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8226-v2-mtp.dts +++ /dev/null @@ -1,25 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; -/include/ "msm8226-v2.dtsi" -/include/ "msm8226-mtp.dtsi" - -/ { - model = "Qualcomm MSM 8226v2 MTP"; - compatible = "qcom,msm8226-mtp", "qcom,msm8226", "qcom,mtp"; - qcom,msm-id = <145 8 0x20000>, - <158 8 0x20000>, - <159 8 0x20000>, - <198 8 0x20000>, - <205 8 0x20000>; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8226-v2-qrd.dts b/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8226-v2-qrd.dts deleted file mode 100644 index 1a89d7894..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8226-v2-qrd.dts +++ /dev/null @@ -1,25 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; -/include/ "msm8226-v2.dtsi" -/include/ "msm8226-qrd.dtsi" - -/ { - model = "Qualcomm MSM 8226v2 QRD"; - compatible = "qcom,msm8226-qrd", "qcom,msm8226", "qcom,qrd"; - qcom,msm-id = <145 11 0x20000>, - <158 11 0x20000>, - <159 11 0x20000>, - <198 11 0x20000>, - <205 11 0x20000>; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8226-v2.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8226-v2.dtsi deleted file mode 100644 index d471bece9..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8226-v2.dtsi +++ /dev/null @@ -1,19 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/* - * As a general rule, only version-specific property overrides should be placed - * inside this file. However, device definitions should be placed inside the - * msm8226.dtsi file. - */ - -/include/ "msm8226.dtsi" diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8226.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8226.dtsi deleted file mode 100644 index 7c981043c..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8226.dtsi +++ /dev/null @@ -1,1248 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/include/ "skeleton.dtsi" - -/ { - model = "Qualcomm MSM 8226"; - compatible = "qcom,msm8226"; - interrupt-parent = <&intc>; - - aliases { - spi0 = &spi_0; - sdhc1 = &sdhc_1; /* SDC1 eMMC slot */ - sdhc2 = &sdhc_2; /* SDC2 SD card slot */ - }; - - memory { - secure_mem: secure_region { - linux,contiguous-region; - reg = <0 0x6D00000>; - label = "secure_mem"; - }; - - qsecom_mem: qsecom_region { - linux,contiguous-region; - reg = <0 0x780000>; - label = "qsecom_mem"; - }; - }; - - soc: soc { }; -}; - -/include/ "msm8226-ion.dtsi" -/include/ "msm8226-camera.dtsi" -/include/ "msm-gdsc.dtsi" -/include/ "msm8226-iommu.dtsi" -/include/ "msm8226-pm.dtsi" -/include/ "msm8226-smp2p.dtsi" -/include/ "msm8226-gpu.dtsi" -/include/ "msm8226-bus.dtsi" -/include/ "msm8226-mdss.dtsi" -/include/ "msm8226-coresight.dtsi" -/include/ "msm8226-iommu-domains.dtsi" - -&soc { - #address-cells = <1>; - #size-cells = <1>; - ranges; - - intc: interrupt-controller@f9000000 { - compatible = "qcom,msm-qgic2"; - interrupt-controller; - #interrupt-cells = <3>; - reg = <0xF9000000 0x1000>, - <0xF9002000 0x1000>; - }; - - msmgpio: gpio@fd510000 { - compatible = "qcom,msm-gpio"; - interrupt-controller; - #interrupt-cells = <2>; - reg = <0xfd510000 0x4000>; - gpio-controller; - #gpio-cells = <2>; - ngpio = <117>; - interrupts = <0 208 0>; - qcom,direct-connect-irqs = <8>; - }; - - qcom,mpm2-sleep-counter@fc4a3000 { - compatible = "qcom,mpm2-sleep-counter"; - reg = <0xfc4a3000 0x1000>; - clock-frequency = <32768>; - }; - - timer { - compatible = "arm,armv7-timer"; - interrupts = <1 2 0 1 3 0>; - clock-frequency = <19200000>; - }; - - 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 8 0x4>, - <0 7 0x4>; - reg = <0xf9021000 0x1000>, - <0xf9022000 0x1000>; - }; - - frame@f9023000 { - frame-number = <1>; - interrupts = <0 9 0x4>; - reg = <0xf9023000 0x1000>; - status = "disabled"; - }; - - frame@f9024000 { - frame-number = <2>; - interrupts = <0 10 0x4>; - reg = <0xf9024000 0x1000>; - status = "disabled"; - }; - - frame@f9025000 { - frame-number = <3>; - interrupts = <0 11 0x4>; - reg = <0xf9025000 0x1000>; - status = "disabled"; - }; - - frame@f9026000 { - frame-number = <4>; - interrupts = <0 12 0x4>; - reg = <0xf9026000 0x1000>; - status = "disabled"; - }; - - frame@f9027000 { - frame-number = <5>; - interrupts = <0 13 0x4>; - reg = <0xf9027000 0x1000>; - status = "disabled"; - }; - - frame@f9028000 { - frame-number = <6>; - interrupts = <0 14 0x4>; - reg = <0xf9028000 0x1000>; - status = "disabled"; - }; - }; - - qcom,vidc@fdc00000 { - compatible = "qcom,msm-vidc"; - reg = <0xfdc00000 0xff000>; - interrupts = <0 44 0>; - qcom,load-freq-tbl = <352800 160000000>, - <244800 133330000>, - <108000 66700000>; - qcom,hfi = "venus"; - qcom,bus-ports = <1>; - qcom,reg-presets = <0xE0024 0x0>, - <0x80124 0x3>, - <0xE0020 0x5555556>, - <0x800B0 0x10101001>, - <0x800B4 0x00101010>, - <0x800C0 0x1010100f>, - <0x800C4 0x00101010>, - <0x800D0 0x00000010>, - <0x800D4 0x00000010>, - <0x800D8 0x00000707>; - qcom,enc-ddr-ab-ib = <0 0>, - <129000 142000>, - <384000 422000>, - <866000 953000>; - qcom,dec-ddr-ab-ib = <0 0>, - <103000 134000>, - <268000 348000>, - <505000 657000>; - qcom,iommu-groups = <&venus_domain_ns &venus_domain_cp>; - qcom,iommu-group-buffer-types = <0xfff 0x1ff>; - qcom,buffer-type-tz-usage-table = <0x1 0x1>, - <0x1fe 0x2>; - qcom,max-hw-load = <352800>; /* 720p @ 30 + 1080p @ 30 */ - }; - - qcom,wfd { - compatible = "qcom,msm-wfd"; - }; - - serial@f991f000 { - compatible = "qcom,msm-lsuart-v14"; - reg = <0xf991f000 0x1000>; - interrupts = <0 109 0>; - status = "disabled"; - }; - - serial@f995e000 { - compatible = "qcom,msm-lsuart-v14"; - reg = <0xf995e000 0x1000>; - interrupts = <0 114 0>; - status = "disabled"; - }; - - qcom,msm-imem@fe805000 { - compatible = "qcom,msm-imem"; - reg = <0xfe805000 0x1000>; /* Address and size of IMEM */ - }; - - qcom,sps@f9984000 { - compatible = "qcom,msm_sps"; - reg = <0xf9984000 0x15000>, - <0xf9999000 0xb000>; - interrupts = <0 94 0>; - }; - - qcom,usbbam@f9a44000 { - compatible = "qcom,usb-bam-msm"; - reg = <0xf9a44000 0x11000>; - reg-names = "hsusb"; - interrupts = <0 135 0>; - interrupt-names = "hsusb"; - qcom,usb-bam-num-pipes = <16>; - qcom,usb-bam-fifo-baseaddr = <0xfe803000>; - qcom,ignore-core-reset-ack; - qcom,disable-clk-gating; - - qcom,pipe0 { - label = "hsusb-qdss-in-0"; - qcom,usb-bam-mem-type = <3>; - qcom,bam-type = <1>; - 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 = <0xf9a44000>; - qcom,dst-bam-pipe-index = <2>; - qcom,data-fifo-offset = <0x0>; - qcom,data-fifo-size = <0x600>; - qcom,descriptor-fifo-offset = <0x600>; - qcom,descriptor-fifo-size = <0x200>; - }; - }; - - usb_otg: usb@f9a55000 { - compatible = "qcom,hsusb-otg"; - reg = <0xf9a55000 0x400>; - interrupts = <0 134 0>, <0 140 0>; - interrupt-names = "core_irq", "async_irq"; - hsusb_vdd_dig-supply = <&pm8226_s1_corner>; - HSUSB_1p8-supply = <&pm8226_l10>; - HSUSB_3p3-supply = <&pm8226_l20>; - qcom,vdd-voltage-level = <1 5 7>; - - qcom,hsusb-otg-phy-init-seq = - <0x44 0x80 0x68 0x81 0x24 0x82 0x13 0x83 0xffffffff>; - qcom,hsusb-otg-phy-type = <2>; - qcom,hsusb-otg-mode = <1>; - qcom,hsusb-otg-otg-control = <2>; - qcom,hsusb-otg-disable-reset; - qcom,dp-manual-pullup; - - qcom,msm-bus,name = "usb"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <87 512 0 0>, - <87 512 60000 960000>; - }; - - android_usb@fe8050c8 { - compatible = "qcom,android-usb"; - reg = <0xfe8050c8 0xc8>; - qcom,android-usb-cdrom; - qcom,android-usb-swfi-latency = <1>; - }; - - wcd9xxx_intc: wcd9xxx-irq { - compatible = "qcom,wcd9xxx-irq"; - interrupt-controller; - #interrupt-cells = <1>; - interrupt-parent = <&msmgpio>; - interrupts = <68 0>; - interrupt-names = "cdc-int"; - }; - - slim_msm: slim@fe12f000 { - cell-index = <1>; - compatible = "qcom,slim-ngd"; - reg = <0xfe12f000 0x35000>, - <0xfe104000 0x20000>; - reg-names = "slimbus_physical", "slimbus_bam_physical"; - interrupts = <0 163 0>, <0 164 0>; - interrupt-names = "slimbus_irq", "slimbus_bam_irq"; - - tapan_codec { - compatible = "qcom,tapan-slim-pgd"; - elemental-addr = [00 01 E0 00 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>; - qcom,cdc-reset-gpio = <&msmgpio 72 0>; - - cdc-vdd-buck-supply = <&pm8226_s4>; - qcom,cdc-vdd-buck-voltage = <2100000 2100000>; - qcom,cdc-vdd-buck-current = <650000>; - - cdc-vdd-h-supply = <&pm8226_l6>; - qcom,cdc-vdd-h-voltage = <1800000 1800000>; - qcom,cdc-vdd-h-current = <25000>; - - cdc-vdd-px-supply = <&pm8226_l6>; - qcom,cdc-vdd-px-voltage = <1800000 1800000>; - qcom,cdc-vdd-px-current = <25000>; - - cdc-vdd-a-1p2v-supply = <&pm8226_l4>; - qcom,cdc-vdd-a-1p2v-voltage = <1200000 1200000>; - qcom,cdc-vdd-a-1p2v-current = <10000>; - - cdc-vdd-cx-supply = <&pm8226_l4>; - qcom,cdc-vdd-cx-voltage = <1200000 1200000>; - qcom,cdc-vdd-cx-current = <10000>; - - qcom,cdc-static-supplies = "cdc-vdd-buck", - "cdc-vdd-h", - "cdc-vdd-px", - "cdc-vdd-a-1p2v", - "cdc-vdd-cx"; - - qcom,cdc-micbias-ldoh-v = <0x3>; - qcom,cdc-micbias-cfilt1-mv = <1800>; - qcom,cdc-micbias-cfilt2-mv = <2700>; - 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-mclk-clk-rate = <9600000>; - qcom,cdc-slim-ifd = "tapan-slim-ifd"; - qcom,cdc-slim-ifd-elemental-addr = [00 00 E0 00 17 02]; - }; - }; - - qcom,msm-adsp-loader { - compatible = "qcom,adsp-loader"; - qcom,adsp-state = <0>; - }; - - sound { - compatible = "qcom,msm8226-audio-tapan"; - qcom,model = "msm8226-tapan-snd-card"; - qcom,tapan-mclk-clk-freq = <9600000>; - qcom,prim-auxpcm-gpio-clk = <&msmgpio 63 0>; - qcom,prim-auxpcm-gpio-sync = <&msmgpio 64 0>; - qcom,prim-auxpcm-gpio-din = <&msmgpio 65 0>; - qcom,prim-auxpcm-gpio-dout = <&msmgpio 66 0>; - qcom,prim-auxpcm-gpio-set = "prim-gpio-prim"; - }; - - qcom,msm-pcm { - compatible = "qcom,msm-pcm-dsp"; - qcom,msm-pcm-dsp-id = <0>; - }; - - qcom,msm-pcm-routing { - compatible = "qcom,msm-pcm-routing"; - }; - - qcom,msm-pcm-low-latency { - compatible = "qcom,msm-pcm-dsp"; - qcom,msm-pcm-dsp-id = <1>; - qcom,msm-pcm-low-latency; - }; - - qcom,msm-pcm-lpa { - compatible = "qcom,msm-pcm-lpa"; - }; - - qcom,msm-compr-dsp { - compatible = "qcom,msm-compr-dsp"; - }; - - qcom,msm-voip-dsp { - compatible = "qcom,msm-voip-dsp"; - }; - - qcom,msm-pcm-voice { - compatible = "qcom,msm-pcm-voice"; - }; - - qcom,msm-stub-codec { - compatible = "qcom,msm-stub-codec"; - }; - - qcom,msm-dai-fe { - compatible = "qcom,msm-dai-fe"; - }; - - qcom,msm-pcm-afe { - compatible = "qcom,msm-pcm-afe"; - }; - - qcom,msm-dai-q6-hdmi { - compatible = "qcom,msm-dai-q6-hdmi"; - qcom,msm-dai-q6-dev-id = <8>; - }; - - qcom,msm-dai-q6 { - compatible = "qcom,msm-dai-q6"; - qcom,msm-dai-q6-sb-0-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <16384>; - }; - - qcom,msm-dai-q6-sb-0-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <16385>; - }; - - qcom,msm-dai-q6-sb-1-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <16386>; - }; - - qcom,msm-dai-q6-sb-1-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <16387>; - }; - - qcom,msm-dai-q6-sb-3-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <16390>; - }; - - qcom,msm-dai-q6-sb-3-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <16391>; - }; - - qcom,msm-dai-q6-sb-4-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <16392>; - }; - - qcom,msm-dai-q6-sb-4-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <16393>; - }; - - qcom,msm-dai-q6-bt-sco-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <12288>; - }; - - qcom,msm-dai-q6-bt-sco-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <12289>; - }; - - qcom,msm-dai-q6-int-fm-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <12292>; - }; - - qcom,msm-dai-q6-int-fm-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <12293>; - }; - - qcom,msm-dai-q6-be-afe-pcm-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <224>; - }; - - qcom,msm-dai-q6-be-afe-pcm-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <225>; - }; - - qcom,msm-dai-q6-afe-proxy-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <241>; - }; - - qcom,msm-dai-q6-afe-proxy-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <240>; - }; - - qcom,msm-dai-q6-incall-record-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <32771>; - }; - - qcom,msm-dai-q6-incall-record-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <32772>; - }; - - qcom,msm-dai-q6-incall-music-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <32773>; - }; - }; - - qcom,msm-pcm-hostless { - compatible = "qcom,msm-pcm-hostless"; - }; - - qcom,msm-auxpcm { - compatible = "qcom,msm-auxpcm-resource"; - qcom,msm-cpudai-auxpcm-clk = "pcm_clk"; - 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-slot = <1>, <1>; - qcom,msm-cpudai-auxpcm-data = <0>, <0>; - qcom,msm-cpudai-auxpcm-pcm-clk-rate = <2048000>, <2048000>; - - qcom,msm-prim-auxpcm-rx { - qcom,msm-auxpcm-dev-id = <4106>; - compatible = "qcom,msm-auxpcm-dev"; - }; - - qcom,msm-prim-auxpcm-tx { - qcom,msm-auxpcm-dev-id = <4107>; - compatible = "qcom,msm-auxpcm-dev"; - }; - }; - - qcom,wcnss-wlan@fb000000 { - compatible = "qcom,wcnss_wlan"; - reg = <0xfb000000 0x280000>, - <0xf9011008 0x04>; - reg-names = "wcnss_mmio", "wcnss_fiq"; - interrupts = <0 145 0 0 146 0>; - interrupt-names = "wcnss_wlantx_irq", "wcnss_wlanrx_irq"; - - qcom,pronto-vddmx-supply = <&pm8226_l3>; - qcom,pronto-vddcx-supply = <&pm8226_s1>; - qcom,pronto-vddpx-supply = <&pm8226_l6>; - qcom,iris-vddxo-supply = <&pm8226_l10>; - qcom,iris-vddrfa-supply = <&pm8226_l24>; - qcom,iris-vddpa-supply = <&pm8226_l16>; - qcom,iris-vdddig-supply = <&pm8226_l24>; - - gpios = <&msmgpio 40 0>, <&msmgpio 41 0>, <&msmgpio 42 0>, <&msmgpio 43 0>, <&msmgpio 44 0>; - qcom,has-pronto-hw; - qcom,has-autodetect-xo; - }; - - qcom,msm-adsp-sensors { - compatible = "qcom,msm-adsp-sensors"; - qcom,src-id = <11>; - qcom,dst-id = <604>; - qcom,ab = <32505856>; - qcom,ib = <32505856>; - }; - - qcom,wdt@f9017000 { - compatible = "qcom,msm-watchdog"; - reg = <0xf9017000 0x1000>; - interrupts = <0 3 0>, <0 4 0>; - qcom,bark-time = <11000>; - qcom,pet-time = <10000>; - qcom,ipi-ping; - }; - - qcom,smem@fa00000 { - compatible = "qcom,smem"; - reg = <0xfa00000 0x100000>, - <0xf9011000 0x1000>, - <0xfc428000 0x4000>; - reg-names = "smem", "irq-reg-base", "aux-mem1"; - - qcom,smd-modem { - compatible = "qcom,smd"; - qcom,smd-edge = <0>; - qcom,smd-irq-offset = <0x8>; - qcom,smd-irq-bitmask = <0x1000>; - qcom,pil-string = "modem"; - interrupts = <0 25 1>; - }; - - qcom,smsm-modem { - compatible = "qcom,smsm"; - qcom,smsm-edge = <0>; - qcom,smsm-irq-offset = <0x8>; - qcom,smsm-irq-bitmask = <0x2000>; - interrupts = <0 26 1>; - }; - - qcom,smd-adsp { - compatible = "qcom,smd"; - qcom,smd-edge = <1>; - qcom,smd-irq-offset = <0x8>; - qcom,smd-irq-bitmask = <0x100>; - qcom,pil-string = "adsp"; - interrupts = <0 156 1>; - }; - - qcom,smsm-adsp { - compatible = "qcom,smsm"; - qcom,smsm-edge = <1>; - qcom,smsm-irq-offset = <0x8>; - qcom,smsm-irq-bitmask = <0x200>; - interrupts = <0 157 1>; - }; - - qcom,smd-wcnss { - compatible = "qcom,smd"; - qcom,smd-edge = <6>; - qcom,smd-irq-offset = <0x8>; - qcom,smd-irq-bitmask = <0x20000>; - qcom,pil-string = "wcnss"; - interrupts = <0 142 1>; - }; - - qcom,smsm-wcnss { - compatible = "qcom,smsm"; - qcom,smsm-edge = <6>; - qcom,smsm-irq-offset = <0x8>; - qcom,smsm-irq-bitmask = <0x80000>; - interrupts = <0 144 1>; - }; - - qcom,smd-rpm { - compatible = "qcom,smd"; - qcom,smd-edge = <15>; - qcom,smd-irq-offset = <0x8>; - qcom,smd-irq-bitmask = <0x1>; - interrupts = <0 168 1>; - qcom,irq-no-suspend; - }; - }; - - rpm_bus: qcom,rpm-smd { - compatible = "qcom,rpm-smd"; - rpm-channel-name = "rpm_requests"; - rpm-channel-type = <15>; /* SMD_APPS_RPM */ - }; - - qcom,bcl { - compatible = "qcom,bcl"; - }; - - sdcc1: qcom,sdcc@f9824000 { - cell-index = <1>; /* SDC1 eMMC slot */ - compatible = "qcom,msm-sdcc"; - - reg = <0xf9824000 0x800>, - <0xf9824800 0x100>, - <0xf9804000 0x7000>; - reg-names = "core_mem", "dml_mem", "bam_mem"; - interrupts = <0 123 0>, <0 137 0>; - interrupt-names = "core_irq", "bam_irq"; - - qcom,bus-width = <8>; - status = "disabled"; - }; - - sdhc_1: sdhci@f9824900 { - compatible = "qcom,sdhci-msm"; - reg = <0xf9824900 0x11c>, <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>; - status = "disabled"; - }; - - sdcc2: qcom,sdcc@f98a4000 { - cell-index = <2>; /* SDC2 SD card slot */ - compatible = "qcom,msm-sdcc"; - - reg = <0xf98a4000 0x800>, - <0xf98a4800 0x100>, - <0xf9884000 0x7000>; - reg-names = "core_mem", "dml_mem", "bam_mem"; - interrupts = <0 125 0>, <0 220 0>; - interrupt-names = "core_irq", "bam_irq"; - - qcom,bus-width = <4>; - 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"; - - qcom,bus-width = <4>; - status = "disabled"; - }; - - spmi_bus: qcom,spmi@fc4c0000 { - cell-index = <0>; - 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-ee = <0>; - qcom,pmic-arb-channel = <0>; - }; - - i2c@f9926000 { /* BLSP-1 QUP-4 */ - cell-index = <0>; - compatible = "qcom,i2c-qup"; - reg = <0xf9926000 0x1000>; - #address-cells = <1>; - #size-cells = <0>; - reg-names = "qup_phys_addr"; - interrupts = <0 98 0>; - interrupt-names = "qup_err_intr"; - qcom,i2c-bus-freq = <100000>; - }; - - i2c@f9927000 { /* BLSP1 QUP5 */ - cell-index = <5>; - compatible = "qcom,i2c-qup"; - #address-cells = <1>; - #size-cells = <0>; - reg-names = "qup_phys_addr"; - reg = <0xf9927000 0x1000>; - interrupt-names = "qup_err_intr"; - interrupts = <0 99 0>; - qcom,i2c-bus-freq = <384000>; - qcom,i2c-src-freq = <19200000>; - }; - - qcom,acpuclk@f9011050 { - compatible = "qcom,acpuclk-a7"; - reg = <0xf9011050 0x8>; - reg-names = "rcg_base"; - a7_cpu-supply = <&apc_vreg_corner>; - }; - - qcom,ocmem@fdd00000 { - compatible = "qcom,msm-ocmem"; - reg = <0xfdd00000 0x2000>, - <0xfdd02000 0x2000>, - <0xfe039000 0x400>, - <0xfec00000 0x20000>; - 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 = <0x1>; - qcom,ocmem-num-macros = <0x2>; - qcom,resource-type = <0x706d636f>; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0x0 0xfec00000 0x20000>; - - partition@0 { - reg = <0x0 0x20000>; - qcom,ocmem-part-name = "graphics"; - qcom,ocmem-part-min = <0x20000>; - }; - }; - - qcom,venus@fdce0000 { - compatible = "qcom,pil-venus"; - reg = <0xfdce0000 0x4000>, - <0xfdc80000 0x400>; - reg-names = "wrapper_base", "vbif_base"; - vdd-supply = <&gdsc_venus>; - - qcom,firmware-name = "venus"; - }; - - qcom,pronto@fb21b000 { - compatible = "qcom,pil-pronto"; - reg = <0xfb21b000 0x3000>, - <0xfc401700 0x4>, - <0xfd485300 0xc>; - reg-names = "pmu_base", "clk_base", "halt_base"; - interrupts = <0 149 1>; - vdd_pronto_pll-supply = <&pm8226_l8>; - - qcom,firmware-name = "wcnss"; - - /* GPIO inputs from wcnss */ - qcom,gpio-err-fatal = <&smp2pgpio_ssr_smp2p_4_in 0 0>; - qcom,gpio-err-ready = <&smp2pgpio_ssr_smp2p_4_in 1 0>; - qcom,gpio-proxy-unvote = <&smp2pgpio_ssr_smp2p_4_in 2 0>; - - /* GPIO output to wcnss */ - qcom,gpio-force-stop = <&smp2pgpio_ssr_smp2p_4_out 0 0>; - }; - - qcom,iris-fm { - compatible = "qcom,iris_fm"; - }; - - qcom,lpass@fe200000 { - compatible = "qcom,pil-q6v5-lpass"; - reg = <0xfe200000 0x00100>, - <0xfd485100 0x00010>, - <0xfc4016c0 0x00004>; - reg-names = "qdsp6_base", "halt_base", "restart_reg"; - vdd_cx-supply = <&pm8226_s1_corner>; - interrupts = <0 162 1>; - - 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>; - - /* GPIO output to lpass */ - qcom,gpio-force-stop = <&smp2pgpio_ssr_smp2p_2_out 0 0>; - }; - - qcom,mss@fc880000 { - compatible = "qcom,pil-q6v5-mss"; - reg = <0xfc880000 0x100>, - <0xfd485000 0x400>, - <0xfc820000 0x020>, - <0xfc401680 0x004>, - <0xfd485194 0x4>; - reg-names = "qdsp6_base", "halt_base", "rmb_base", - "restart_reg", "cxrail_bhs_reg"; - - interrupts = <0 24 1>; - vdd_cx-supply = <&pm8226_s1_corner>; - vdd_mx-supply = <&pm8226_l3>; - vdd_pll-supply = <&pm8226_l8>; - qcom,vdd_pll = <1800000>; - - qcom,is-loadable; - qcom,firmware-name = "mba"; - qcom,pil-self-auth; - - /* 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>; - }; - - qcom,msm-mem-hole { - compatible = "qcom,msm-mem-hole"; - qcom,memblock-remove = <0x6400000 0x9b00000>; /* Address and Size of Hole */ - }; - - tsens: tsens@fc4a8000 { - compatible = "qcom,msm-tsens"; - reg = <0xfc4a8000 0x2000>, - <0xfc4b8000 0x1000>; - reg-names = "tsens_physical", "tsens_eeprom_physical"; - interrupts = <0 184 0>; - qcom,sensors = <4>; - qcom,slope = <2901 2846 3038 2955>; - qcom,calib-mode = "fuse_map2"; - }; - - qcom,msm-thermal { - compatible = "qcom,msm-thermal"; - qcom,sensor-id = <0>; - qcom,poll-ms = <250>; - qcom,limit-temp = <60>; - qcom,temp-hysteresis = <10>; - qcom,freq-step = <2>; - qcom,freq-control-mask = <0xf>; - }; - - spi_0: 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 0xF000>; - interrupt-names = "spi_irq", "spi_bam_irq"; - interrupts = <0 95 0>, <0 238 0>; - spi-max-frequency = <19200000>; - - gpios = <&msmgpio 3 0>, /* CLK */ - <&msmgpio 1 0>, /* MISO */ - <&msmgpio 0 0>; /* MOSI */ - cs-gpios = <&msmgpio 22 0>; - - qcom,infinite-mode = <0>; - qcom,use-bam; - qcom,ver-reg-exists; - qcom,bam-consumer-pipe-index = <12>; - qcom,bam-producer-pipe-index = <13>; - }; - - qcom,bam_dmux@fc834000 { - compatible = "qcom,bam_dmux"; - reg = <0xfc834000 0x7000>; - interrupts = <0 29 1>; - }; - - qcom,msm-rtb { - compatible = "qcom,msm-rtb"; - qcom,memory-reservation-type = "EBI1"; - qcom,memory-reservation-size = <0x100000>; /* 1M EBI1 buffer */ - }; - - qcom,msm-rng@f9bff000 { - compatible = "qcom,msm-rng"; - reg = <0xf9bff000 0x200>; - qcom,msm-rng-iface-clk; - }; - - qcom,tz-log@fe805720 { - compatible = "qcom,tz-log"; - reg = <0x0fe805720 0x1000>; - }; - - jtag_mm0: jtagmm@fc33c000 { - compatible = "qcom,jtag-mm"; - reg = <0xfc33c000 0x1000>, - <0xfc330000 0x1000>; - reg-names = "etm-base","debug-base"; - }; - - jtag_mm1: jtagmm@fc33d000 { - compatible = "qcom,jtag-mm"; - reg = <0xfc33d000 0x1000>, - <0xfc332000 0x1000>; - reg-names = "etm-base","debug-base"; - }; - - jtag_mm2: jtagmm@fc33e000 { - compatible = "qcom,jtag-mm"; - reg = <0xfc33e000 0x1000>, - <0xfc334000 0x1000>; - reg-names = "etm-base","debug-base"; - }; - - jtag_mm3: jtagmm@fc33f000 { - compatible = "qcom,jtag-mm"; - reg = <0xfc33f000 0x1000>, - <0xfc336000 0x1000>; - reg-names = "etm-base","debug-base"; - }; - - qcom,ipc-spinlock@fd484000 { - compatible = "qcom,ipc-spinlock-sfpb"; - reg = <0xfd484000 0x400>; - qcom,num-locks = <8>; - }; - - qcom,qseecom@d980000 { - compatible = "qcom,qseecom"; - reg = <0xd980000 0x256000>; - reg-names = "secapp-region"; - qcom,disk-encrypt-pipe-pair = <2>; - qcom,hlos-ce-hw-instance = <0>; - qcom,qsee-ce-hw-instance = <0>; - qcom,msm-bus,name = "qseecom-noc"; - qcom,msm-bus,num-cases = <4>; - qcom,msm-bus,active-only = <0>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <55 512 0 0>, - <55 512 3936000 393600>, - <55 512 3936000 393600>, - <55 512 3936000 393600>; - }; - - qcom,qcrypto@fd404000 { - compatible = "qcom,qcrypto"; - reg = <0xfd400000 0x20000>, - <0xfd404000 0x8000>; - reg-names = "crypto-base","crypto-bam-base"; - interrupts = <0 207 0>; - qcom,bam-pipe-pair = <2>; - qcom,ce-hw-instance = <0>; - qcom,ce-hw-shared; - qcom,msm-bus,name = "qcrypto-noc"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,active-only = <0>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <55 512 0 0>, - <55 512 3936000 393600>; - }; - - qcom,qcedev@fd400000 { - compatible = "qcom,qcedev"; - reg = <0xfd400000 0x20000>, - <0xfd404000 0x8000>; - reg-names = "crypto-base","crypto-bam-base"; - interrupts = <0 207 0>; - qcom,bam-pipe-pair = <1>; - qcom,ce-hw-instance = <0>; - qcom,ce-hw-shared; - qcom,msm-bus,name = "qcedev-noc"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,active-only = <0>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <55 512 0 0>, - <55 512 3936000 393600>; - }; - - cpu-pmu { - compatible = "arm,cortex-a7-pmu"; - qcom,irq-is-percpu; - interrupts = <1 7 0xf00>; - }; -}; - -&gdsc_venus { - qcom,clock-names = "core_clk"; - status = "ok"; -}; - -&gdsc_mdss { - qcom,clock-names = "core_clk", "lut_clk"; - status = "ok"; -}; - -&gdsc_jpeg { - qcom,clock-names = "core_clk"; - status = "ok"; -}; - -&gdsc_vfe { - qcom,clock-names = "core_clk", "csi_clk", "cpp_clk"; - status = "ok"; -}; - -&gdsc_oxili_cx { - qcom,clock-names = "core_clk"; - status = "ok"; -}; - -&gdsc_usb_hsic { - status = "ok"; -}; - -/include/ "msm-pm8226-rpm-regulator.dtsi" -/include/ "msm-pm8226.dtsi" -/include/ "msm8226-regulator.dtsi" - -&pm8226_vadc { - chan@0 { - label = "usb_in"; - reg = <0>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <4>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@2 { - label = "vchg_sns"; - reg = <2>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <3>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@5 { - label = "vcoin"; - reg = <5>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <1>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@6 { - label = "vbat_sns"; - reg = <6>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <1>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@7 { - label = "vph_pwr"; - reg = <7>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <1>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@30 { - label = "batt_therm"; - reg = <0x30>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <1>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@31 { - label = "batt_id"; - reg = <0x31>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@b2 { - label = "xo_therm_pu2"; - reg = <0xb2>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <4>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@39 { - label = "usb_id_nopull"; - reg = <0x39>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; -}; - -&pm8226_adc_tm { - /* Channel Node */ - chan@30 { - label = "batt_therm"; - reg = <0x30>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <1>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <3>; - qcom,btm-channel-number = <0x48>; - }; - - chan@8 { - label = "die_temp"; - reg = <8>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <3>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <3>; - qcom,btm-channel-number = <0x68>; - }; - - chan@6 { - label = "vbat_sns"; - reg = <6>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <1>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <3>; - qcom,btm-channel-number = <0x70>; - }; - - chan@14 { - label = "pa_therm0"; - reg = <0x14>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - qcom,btm-channel-number = <0x78>; - qcom,thermal-node; - }; - - chan@17 { - label = "pa_therm1"; - reg = <0x17>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - qcom,btm-channel-number = <0x80>; - qcom,thermal-node; - }; -}; - -&pm8226_chg { - status = "ok"; - - qcom,chgr@1000 { - status = "ok"; - }; - - qcom,buck@1100 { - status = "ok"; - }; - - qcom,bat-if@1200 { - status = "ok"; - }; - - qcom,usb-chgpth@1300 { - status = "ok"; - }; - - qcom,boost@1500 { - status = "ok"; - }; - - qcom,chg-misc@1600 { - status = "ok"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8610-bus.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8610-bus.dtsi deleted file mode 100644 index d9bb6ab20..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8610-bus.dtsi +++ /dev/null @@ -1,1014 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -&soc { - msm-mmss-noc@fc478000 { - compatible = "msm-bus-fabric"; - reg = <0xfc478000 0x00004000>; - cell-id = <2048>; - label = "msm_mmss_noc"; - qcom,fabclk-dual = "bus_clk"; - qcom,fabclk-active = "bus_a_clk"; - qcom,ntieredslaves = <0>; - qcom,qos-freq = <4800>; - qcom,hw-sel = "NoC"; - qcom,rpm-en; - - coresight-id = <52>; - coresight-name = "coresight-mnoc"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_in0>; - coresight-child-ports = <5>; - - mas-mdp-port0 { - cell-id = <22>; - label = "mas-mdp-port0"; - qcom,masterp = <2>; - qcom,tier = <2>; - qcom,hw-sel = "NoC"; - qcom,perm-mode = "Fixed"; - qcom,mode = "Fixed"; - qcom,qport = <0>; - qcom,ws = <10000>; - qcom,mas-hw-id = <8>; - qcom,prio1 = <2>; - qcom,prio0 = <2>; - }; - - mas-vfe { - cell-id = <29>; - label = "mas-vfe"; - qcom,masterp = <3>; - qcom,tier = <2>; - qcom,hw-sel = "NoC"; - qcom,perm-mode = "Bypass"; - qcom,mode = "Bypass"; - qcom,ws = <10000>; - qcom,qport = <2>; - qcom,mas-hw-id = <11>; - qcom,prio1 = <2>; - qcom,prio0 = <2>; - }; - - mas-mdpe { - cell-id = <92>; - label = "mas-mdpe"; - qcom,masterp = <4>; - qcom,tier = <2>; - qcom,hw-sel = "NoC"; - qcom,perm-mode = "Fixed"; - qcom,mode = "Fixed"; - qcom,ws = <10000>; - qcom,qport = <7>; - qcom,mas-hw-id = <11>; - qcom,prio1 = <2>; - qcom,prio0 = <2>; - }; - - fab-bimc { - cell-id = <0>; - label = "fab-bimc"; - qcom,gateway; - qcom,slavep = <16>; - qcom,buswidth = <8>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <16>; - }; - - slv-camera-cfg { - cell-id = <589>; - label = "slv-camera-cfg"; - qcom,slavep = <0>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <3>; - }; - - slv-display-cfg { - cell-id = <590>; - label = "slv-display-cfg"; - qcom,slavep = <1>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <4>; - }; - - slv-cpr-cfg { - cell-id = <592>; - label = "slv-cpr-cfg"; - qcom,slavep = <3>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <6>; - }; - - slv-cpr-xpu-cfg { - cell-id = <593>; - label = "slv-cpr-xpu-cfg"; - qcom,slavep = <4>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <7>; - }; - - slv-misc-cfg { - cell-id = <594>; - label = "slv-misc-cfg"; - qcom,slavep = <6>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <8>; - }; - - slv-misc-xpu-cfg { - cell-id = <595>; - label = "slv-misc-xpu-cfg"; - qcom,slavep = <7>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <9>; - }; - - slv-gfx3d-cfg { - cell-id = <598>; - label = "slv-gfx3d-cfg"; - qcom,slavep = <9>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <11>; - }; - - slv-mmss-clk-cfg { - cell-id = <599>; - label = "slv-mmss-clk-cfg"; - qcom,slavep = <11>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <12>; - }; - - slv-mmss-clk-xpu-cfg { - cell-id = <600>; - label = "slv-mmss-clk-xpu-cfg"; - qcom,slavep = <12>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <13>; - }; - - slv-mnoc-mpu-cfg { - cell-id = <601>; - label = "slv-mnoc-mpu-cfg"; - qcom,slavep = <13>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <14>; - }; - - slv-onoc-mpu-cfg { - cell-id = <602>; - label = "slv-onoc-mpu-cfg"; - qcom,slavep = <14>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <15>; - }; - - slv-service-mnoc { - cell-id = <603>; - label = "slv-service-mnoc"; - qcom,slavep = <18>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <17>; - }; - - slv-dsi-cfg { - cell-id = <649>; - label = "slv-dsi-cfg"; - qcom,slavep = <19>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <19>; - }; - }; - - msm-sys-noc@fc460000 { - compatible = "msm-bus-fabric"; - reg = <0xfc460000 0x00004000>; - cell-id = <1024>; - label = "msm_sys_noc"; - qcom,fabclk-dual = "bus_clk"; - qcom,fabclk-active = "bus_a_clk"; - qcom,ntieredslaves = <0>; - qcom,qos-freq = <4800>; - qcom,hw-sel = "NoC"; - qcom,rpm-en; - - coresight-id = <50>; - coresight-name = "coresight-snoc"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_in0>; - coresight-child-ports = <3>; - - mas-lpass-ahb { - cell-id = <52>; - label = "mas-lpass-ahb"; - qcom,masterp = <0>; - qcom,tier = <2>; - qcom,mas-hw-id = <18>; - }; - - mas-qdss-bam { - cell-id = <53>; - label = "mas-qdss-bam"; - qcom,masterp = <1>; - qcom,tier = <2>; - qcom,mas-hw-id = <19>; - }; - - mas-snoc-cfg { - cell-id = <54>; - label = "mas-snoc-cfg"; - qcom,masterp = <2>; - qcom,tier = <2>; - qcom,mas-hw-id = <20>; - }; - - fab-bimc { - cell-id = <0>; - label= "fab-bimc"; - qcom,gateway; - qcom,slavep = <7>; - qcom,masterp = <3>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <21>; - qcom,slv-hw-id = <24>; - }; - - fab-cnoc { - cell-id = <5120>; - label = "fab-cnoc"; - qcom,gateway; - qcom,slavep = <8>; - qcom,masterp = <4>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <22>; - qcom,slv-hw-id = <25>; - }; - - fab-pnoc { - cell-id = <4096>; - label = "fab-pnoc"; - qcom,gateway; - qcom,slavep = <10>; - qcom,masterp = <10>; - qcom,buswidth = <8>; - qcom,qport = <8>; - qcom,mas-hw-id = <29>; - qcom,slv-hw-id = <28>; - qcom,mode = "Fixed"; - qcom,prio0 = <2>; - qcom,prio1 = <2>; - }; - - fab-ovnoc { - cell-id = <6144>; - label = "fab-ovnoc"; - qcom,gateway; - qcom,buswidth = <8>; - qcom,mas-hw-id = <53>; - qcom,slv-hw-id = <77>; - }; - - mas-crypto-core0 { - cell-id = <55>; - label = "mas-crypto-core0"; - qcom,masterp = <5>; - qcom,tier = <2>; - qcom,mas-hw-id = <23>; - qcom,hw-sel = "NoC"; - qcom,prio0 = <1>; - qcom,prio1 = <1>; - }; - - mas-mss { - cell-id = <38>; - label = "mas-mss"; - qcom,masterp = <7>; - qcom,tier = <2>; - qcom,mas-hw-id = <26>; - }; - - mas-mss-nav { - cell-id = <57>; - label = "mas-mss-nav"; - qcom,masterp = <8>; - qcom,tier = <2>; - qcom,mas-hw-id = <27>; - }; - - mas-ocmem-dma { - cell-id = <58>; - label = "mas-ocmem-dma"; - qcom,masterp = <9>; - qcom,tier = <2>; - qcom,mode = "Fixed"; - qcom,qport = <7>; - qcom,mas-hw-id = <28>; - }; - - mas-wcss { - cell-id = <59>; - label = "mas-wcss"; - qcom,masterp = <11>; - qcom,tier = <2>; - qcom,mas-hw-id = <30>; - }; - - mas-qdss-etr { - cell-id = <60>; - label = "mas-qdss-etr"; - qcom,masterp = <12>; - qcom,tier = <2>; - qcom,qport = <10>; - qcom,mode = "Fixed"; - qcom,mas-hw-id = <31>; - }; - - slv-ocmem { - cell-id = <604>; - label = "slv-gmem"; - qcom,slavep = <15>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <18>; - }; - - slv-ampss { - cell-id = <520>; - label = "slv-ampss"; - qcom,slavep = <1>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <20>; - }; - - slv-lpass { - cell-id = <522>; - label = "slv-lpass"; - qcom,slavep = <2>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <21>; - }; - - slv-wcss { - cell-id = <584>; - label = "slv-wcss"; - qcom,slavep = <6>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <23>; - }; - - slv-ocimem { - cell-id = <585>; - label = "slv-ocimem"; - qcom,slavep = <10>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <26>; - }; - - slv-service-snoc { - cell-id = <587>; - label = "slv-service-snoc"; - qcom,slavep = <11>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <29>; - }; - - slv-qdss-stm { - cell-id = <588>; - label = "slv-qdss-stm"; - qcom,slavep = <12>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <30>; - }; - - }; - - msm-periph-noc@fc468000 { - compatible = "msm-bus-fabric"; - reg = <0xfc468000 0x00004000>; - cell-id = <4096>; - label = "msm_periph_noc"; - qcom,fabclk-dual = "bus_clk"; - qcom,fabclk-active = "bus_a_clk"; - qcom,ntieredslaves = <0>; - qcom,hw-sel = "NoC"; - qcom,rpm-en; - - coresight-id = <54>; - coresight-name = "coresight-pnoc"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_in0>; - coresight-child-ports = <6>; - - mas-pnoc-cfg { - cell-id = <88>; - label = "mas-pnoc-cfg"; - qcom,masterp = <7>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <43>; - }; - - mas-sdcc-1 { - cell-id = <78>; - label = "mas-sdcc-1"; - qcom,masterp = <0>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <33>; - }; - - mas-sdcc-2 { - cell-id = <81>; - label = "mas-sdcc-2"; - qcom,masterp = <2>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <35>; - }; - - mas-blsp-1 { - cell-id = <86>; - label = "mas-blsp-1"; - qcom,masterp = <5>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <41>; - }; - - mas-usb-hs { - cell-id = <87>; - label = "mas-usb-hs"; - qcom,masterp = <6>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <42>; - }; - - fab-snoc { - cell-id = <1024>; - label = "fab-snoc"; - qcom,gateway; - qcom,slavep = <12>; - qcom,masterp = <8>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <45>; - qcom,mas-hw-id = <44>; - }; - - slv-sdcc-1 { - cell-id = <606>; - label = "slv-sdcc-1"; - qcom,slavep = <0>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <31>; - }; - - slv-sdcc-2 { - cell-id = <608>; - label = "slv-sdcc-2"; - qcom,slavep = <2>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <33>; - }; - - slv-blsp-1 { - cell-id = <613>; - label = "slv-blsp-1"; - qcom,slavep = <5>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <39>; - }; - - slv-usb-hs { - cell-id = <614>; - label = "slv-usb-hs"; - qcom,slavep = <6>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <40>; - }; - - slv-pdm { - cell-id = <615>; - label = "slv-pdm"; - qcom,slavep = <7>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <41>; - }; - - slv-periph-apu-cfg { - cell-id = <616>; - label = "slv-periph-apu-cfg"; - qcom,slavep = <8>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <42>; - }; - - slv-pnoc-mpu-cfg { - cell-id = <617>; - label = "slv-pnoc-mpu-cfg"; - qcom,slavep = <9>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <43>; - }; - - slv-prng { - cell-id = <618>; - label = "slv-prng"; - qcom,slavep = <10>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <44>; - }; - - slv-service-pnoc { - cell-id = <619>; - label = "slv-service-pnoc"; - qcom,slavep = <12>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <46>; - }; - - }; - - msm-config-noc@fc480000 { - compatible = "msm-bus-fabric"; - reg = <0xfc480000 0x00004000>; - cell-id = <5120>; - label = "msm_config_noc"; - qcom,fabclk-dual = "bus_clk"; - qcom,fabclk-active = "bus_a_clk"; - qcom,ntieredslaves = <0>; - qcom,hw-sel = "NoC"; - qcom,rpm-en; - - mas-rpm-inst { - cell-id = <72>; - label = "mas-rpm-inst"; - qcom,masterp = <0>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <45>; - }; - - mas-rpm-data { - cell-id = <73>; - label = "mas-rpm-data"; - qcom,masterp = <1>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <46>; - }; - - mas-rpm-sys { - cell-id = <74>; - label = "mas-rpm-sys"; - qcom,masterp = <2>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <47>; - }; - - mas-dehr { - cell-id = <75>; - label = "mas-dehr"; - qcom,masterp = <3>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <48>; - }; - - mas-qdss-dsp { - cell-id = <76>; - label = "mas-qdss-dap"; - qcom,masterp = <4>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <49>; - }; - - mas-spdm { - cell-id = <36>; - label = "mas-spdm"; - qcom,masterp = <5>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <50>; - }; - - mas-tic { - cell-id = <77>; - label = "mas-tic"; - qcom,masterp = <6>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <51>; - }; - - slv-clk-ctl { - cell-id = <620>; - label = "slv-clk-ctl"; - qcom,slavep = <1>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <47>; - }; - - slv-cnoc-mss { - cell-id = <621>; - label = "slv-cnoc-mss"; - qcom,slavep = <2>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <48>; - }; - - slv-security { - cell-id = <622>; - label = "slv-security"; - qcom,slavep = <3>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <49>; - }; - - slv-tcsr { - cell-id = <623>; - label = "slv-tcsr"; - qcom,slavep = <4>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <50>; - }; - - slv-tlmm { - cell-id = <624>; - label = "slv-tlmm"; - qcom,slavep = <5>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <51>; - }; - - slv-crypto-0-cfg { - cell-id = <625>; - label = "slv-crypto-0-cfg"; - qcom,slavep = <6>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <52>; - }; - - slv-imem-cfg { - cell-id = <627>; - label = "slv-imem-cfg"; - qcom,slavep = <7>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <54>; - }; - - slv-message-ram { - cell-id = <628>; - label = "slv-message-ram"; - qcom,slavep = <8>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <55>; - }; - - slv-bimc-cfg { - cell-id = <629>; - label = "slv-bimc-cfg"; - qcom,slavep = <9>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <56>; - }; - - slv-boot-rom { - cell-id = <630>; - label = "slv-boot-rom"; - qcom,slavep = <10>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <57>; - }; - - slv-pmic-arb { - cell-id = <632>; - label = "slv-pmic-arb"; - qcom,slavep = <12>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <59>; - }; - - slv-spdm-wrapper { - cell-id = <633>; - label = "slv-spdm-wrapper"; - qcom,slavep = <13>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <60>; - }; - - slv-dehr-cfg { - cell-id = <634>; - label = "slv-dehr-cfg"; - qcom,slavep = <14>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <61>; - }; - - slv-mpm { - cell-id = <536>; - label = "slv-mpm"; - qcom,slavep = <15>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <62>; - }; - - slv-qdss-cfg { - cell-id = <635>; - label = "slv-qdss-cfg"; - qcom,slavep = <16>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <63>; - }; - - slv-rbcpr-cfg { - cell-id = <636>; - label = "slv-rbcpr-cfg"; - qcom,slavep = <17>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <64>; - }; - - slv-rbcpr-qdss-apu-cfg { - cell-id = <637>; - label = "slv-rbcpr-qdss-apu-cfg"; - qcom,slavep = <18>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <65>; - }; - - fab-snoc { - cell-id = <1024>; - label = "fab-snoc"; - qcom,gateway; - qcom,slavep = <26>; - qcom,masterp = <7>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <52>; - qcom,slv-hw-id = <75>; - }; - - slv-cnoc-mnoc-mmss-cfg { - cell-id = <631>; - label = "slv-cnoc-mnoc-mmss-cfg"; - qcom,slavep = <11>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <58>; - }; - - slv-cnoc-mnoc-cfg { - cell-id = <640>; - label = "slv-cnoc-mnoc-cfg"; - qcom,slavep = <19>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <66>; - }; - - slv-pnoc-cfg { - cell-id = <641>; - label = "slv-pnoc-cfg"; - qcom,slavep = <21>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <69>; - }; - - slv-snoc-mpu-cfg { - cell-id = <638>; - label = "slv-snoc-mpu-cfg"; - qcom,slavep = <20>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <67>; - }; - - slv-snoc-cfg { - cell-id = <642>; - label = "slv-snoc-cfg"; - qcom,slavep = <22>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <70>; - }; - - slv-phy-apu-cfg { - cell-id = <644>; - label = "slv-phy-apu-cfg"; - qcom,slavep = <23>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <72>; - }; - - slv-ebi1-phy-cfg { - cell-id = <645>; - label = "slv-ebi1-phy-cfg"; - qcom,slavep = <24>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <73>; - }; - - slv-rpm { - cell-id = <534>; - label = "slv-rpm"; - qcom,slavep = <25>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <74>; - }; - - slv-service-cnoc { - cell-id = <646>; - label = "slv-service-cnoc"; - qcom,slavep = <27>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <76>; - }; - - }; - - msm-bimc@0xfc380000 { - compatible = "msm-bus-fabric"; - reg = <0xfc380000 0x0006A000>; - cell-id = <0>; - label = "msm_bimc"; - qcom,fabclk-dual = "mem_clk"; - qcom,fabclk-active = "mem_a_clk"; - qcom,ntieredslaves = <0>; - qcom,qos-freq = <4800>; - qcom,hw-sel = "BIMC"; - qcom,rpm-en; - - coresight-id = <55>; - coresight-name = "coresight-bimc"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_in1>; - coresight-child-ports = <3>; - - mas-ampss-m0 { - cell-id = <1>; - label = "mas-ampss-m0"; - qcom,masterp = <0>; - qcom,tier = <2>; - qcom,hw-sel = "BIMC"; - qcom,mode = "Fixed"; - qcom,qport = <0>; - qcom,ws = <10000>; - qcom,mas-hw-id = <0>; - qcom,prio-rd = <1>; - qcom,prio-wr = <1>; - qcom,prio-lvl = <1>; - }; - - mas-mss-proc { - cell-id = <65>; - label = "mas-mss-proc"; - qcom,masterp = <3>; - qcom,tier = <2>; - qcom,hw-sel = "RPM"; - qcom,mas-hw-id = <1>; - }; - - fab-mmss-noc { - cell-id = <2048>; - label = "fab_mmss_noc"; - qcom,masterp = <1>; - qcom,qport = <1>; - qcom,buswidth = <8>; - qcom,ws = <10000>; - qcom,mas-hw-id = <2>; - qcom,hw-sel = "BIMC"; - qcom,mode = "Bypass"; - }; - - fab-snoc { - cell-id = <1024>; - label = "fab-snoc"; - qcom,gateway; - qcom,slavep = <2>; - qcom,masterp = <2>; - qcom,qport = <2>; - qcom,buswidth = <8>; - qcom,ws = <10000>; - qcom,mas-hw-id = <3>; - qcom,slv-hw-id = <2>; - }; - - mas-lpass-proc { - cell-id = <11>; - label = "mas-lpass-proc"; - qcom,masterp = <4>; - qcom,tier = <2>; - qcom,qport = <4>; - qcom,mas-hw-id = <25>; - qcom,mode = "Fixed"; - qcom,prio0 = <1>; - qcom,prio1 = <1>; - }; - - mas-gfx3d { - cell-id = <26>; - label = "mas-gfx3d"; - qcom,masterp = <5>; - qcom,tier = <2>; - qcom,hw-sel = "BIMC"; - qcom,perm-mode = "Fixed"; - qcom,mode = "Fixed"; - qcom,ws = <10000>; - qcom,qport = <5>; - qcom,mas-hw-id = <6>; - }; - - - slv-ebi-ch0 { - cell-id = <512>; - label = "slv-ebi-ch0"; - qcom,slavep = <0>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <0>; - }; - }; - -}; - - diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8610-camera-sensor-cdp-mtp.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8610-camera-sensor-cdp-mtp.dtsi deleted file mode 100644 index d05726006..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8610-camera-sensor-cdp-mtp.dtsi +++ /dev/null @@ -1,116 +0,0 @@ -/* - * Copyright (c) 2013, 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. - */ - -&i2c { - - led_flash0: qcom,led-flash@60 { - cell-index = <0>; - reg = <0x60>; - qcom,slave-id = <0x60 0x00 0x0011>; - compatible = "qcom,led-flash"; - qcom,flash-name = "adp1600"; - qcom,flash-type = <1>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 18 0>, - <&msmgpio 19 0>; - qcom,gpio-flash-en = <0>; - qcom,gpio-flash-now = <1>; - qcom,gpio-req-tbl-num = <0 1>; - qcom,gpio-req-tbl-flags = <0 0>; - qcom,gpio-req-tbl-label = "FLASH_EN", - "FLASH_NOW"; - }; - - actuator0: qcom,actuator@6e { - cell-index = <3>; - reg = <0x6c>; - compatible = "qcom,actuator"; - qcom,cci-master = <0>; - }; - - qcom,camera@6f { - compatible = "qcom,ov8825"; - reg = <0x6f>; - qcom,slave-id = <0x6c 0x300a 0x8825>; - qcom,csiphy-sd-index = <0>; - qcom,csid-sd-index = <0>; - qcom,actuator-src = <&actuator0>; - qcom,led-flash-src = <&led_flash0>; - qcom,mount-angle = <90>; - qcom,sensor-name = "ov8825"; - cam_vdig-supply = <&pm8110_l2>; - cam_vana-supply = <&pm8110_l19>; - cam_vio-supply = <&pm8110_l14>; - cam_vaf-supply = <&pm8110_l16>; - qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana", - "cam_vaf"; - qcom,cam-vreg-type = <0 0 0 0>; - qcom,cam-vreg-min-voltage = <1200000 1800000 2850000 3000000>; - qcom,cam-vreg-max-voltage = <1200000 1800000 2850000 3000000>; - qcom,cam-vreg-op-mode = <200000 8000 80000 100000>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 13 0>, - <&msmgpio 21 0>, - <&msmgpio 20 0>; - qcom,gpio-reset = <1>; - qcom,gpio-standby = <2>; - qcom,gpio-req-tbl-num = <0 1 2>; - qcom,gpio-req-tbl-flags = <1 0 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1", - "CAM_STANDBY"; - qcom,csi-lane-assign = <0xe4>; - qcom,csi-lane-mask = <0x3>; - qcom,sensor-position = <0>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - }; - - qcom,camera@6d { - compatible = "qcom,ov9724"; - reg = <0x6d>; - qcom,slave-id = <0x20 0x0 0x9724>; - qcom,csiphy-sd-index = <1>; - qcom,csid-sd-index = <0>; - qcom,mount-angle = <90>; - qcom,sensor-name = "ov9724"; - cam_vdig-supply = <&pm8110_l4>; - cam_vana-supply = <&pm8110_l19>; - cam_vio-supply = <&pm8110_l14>; - qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana"; - qcom,cam-vreg-type = <0 1 0>; - qcom,cam-vreg-min-voltage = <1200000 0 2850000>; - qcom,cam-vreg-max-voltage = <1200000 0 2850000>; - qcom,cam-vreg-op-mode = <200000 0 80000>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 14 0>, - <&msmgpio 15 0>, - <&msmgpio 8 0>; - qcom,gpio-reset = <1>; - qcom,gpio-standby = <2>; - qcom,gpio-req-tbl-num = <0 1 2>; - qcom,gpio-req-tbl-flags = <1 0 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET", - "CAM_STANDBY"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 4000>; - qcom,csi-lane-assign = <0xe4>; - qcom,csi-lane-mask = <0x1>; - qcom,sensor-position = <1>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - status = "ok"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8610-camera.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8610-camera.dtsi deleted file mode 100644 index b1c94dd24..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8610-camera.dtsi +++ /dev/null @@ -1,80 +0,0 @@ -/* - * Copyright (c) 2013, 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. - */ - -&soc{ - qcom,msm-cam@fd8c0000 { - compatible = "qcom,msm-cam"; - reg = <0xfd8C0000 0x10000>; - reg-names = "msm-cam"; - }; - - qcom,csiphy@fda00c00 { - cell-index = <0>; - compatible = "qcom,csiphy"; - reg = <0xfda00c00 0x1f4>; - reg-names = "csiphy"; - interrupts = <0 78 0>; - interrupt-names = "csiphy"; - }; - - qcom,csiphy@fda01000 { - cell-index = <1>; - compatible = "qcom,csiphy"; - reg = <0xfda01000 0x1f4>; - reg-names = "csiphy"; - interrupts = <0 79 0>; - interrupt-names = "csiphy"; - }; - - qcom,csid@fda00000 { - cell-index = <0>; - compatible = "qcom,csid"; - reg = <0xfda00000 0x100>; - reg-names = "csid"; - interrupts = <0 50 0>; - interrupt-names = "csid"; - qcom,csi-vdd-voltage = <1200000>; - qcom,mipi-csi-vdd-supply = <&pm8110_l4>; - }; - - qcom,csid@fda00400 { - cell-index = <1>; - compatible = "qcom,csid"; - reg = <0xfda00400 0x100>; - reg-names = "csid"; - interrupts = <0 51 0>; - interrupt-names = "csid"; - qcom,csi-vdd-voltage = <1200000>; - qcom,mipi-csi-vdd-supply = <&pm8110_l4>; - }; - - qcom,ispif@fda00800 { - cell-index = <0>; - compatible = "qcom,ispif"; - reg = <0xfda00800 0x200>; - reg-names = "ispif"; - interrupts = <0 52 0>; - interrupt-names = "ispif"; - }; - - qcom,vfe@fde00000 { - cell-index = <0>; - compatible = "qcom,vfe32"; - reg = <0xfde00000 0x800>; - reg-names = "vfe", "vfe_vbif"; - interrupts = <0 49 0>; - interrupt-names = "vfe"; - vdd-supply = <&gdsc_vfe>; - }; - -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8610-cdp.dts b/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8610-cdp.dts deleted file mode 100644 index bbdc2b8df..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8610-cdp.dts +++ /dev/null @@ -1,396 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; - -/include/ "msm8610.dtsi" -/include/ "dsi-v2-panel-truly-wvga-video.dtsi" -/include/ "msm8610-camera-sensor-cdp-mtp.dtsi" - -/ { - model = "Qualcomm MSM 8610 CDP"; - compatible = "qcom,msm8610-cdp", "qcom,msm8610", "qcom,cdp"; - qcom,msm-id = <147 1 0>, <165 1 0>, <161 1 0>, <162 1 0>, - <163 1 0>, <164 1 0>, <166 1 0>; -}; - -&soc { - serial@f991e000 { - status = "ok"; - }; - - i2c@f9923000{ - atmel_mxt_ts@4a { - compatible = "atmel,mxt-ts"; - reg = <0x4a>; - interrupt-parent = <&msmgpio>; - interrupts = <1 0x2>; - vdd_ana-supply = <&pm8110_l19>; - vcc_i2c-supply = <&pm8110_l14>; - atmel,reset-gpio = <&msmgpio 0 0x00>; - atmel,irq-gpio = <&msmgpio 1 0x00>; - atmel,panel-coords = <0 0 508 880>; - atmel,display-coords = <0 0 480 800>; - atmel,i2c-pull-up; - atmel,no-force-update; - atmel,cfg_1 { - atmel,family-id = <0x81>; - atmel,variant-id = <0x15>; - atmel,version = <0x11>; - atmel,build = <0xaa>; - atmel,config = [ - /* Object 6, Instance = 0 */ - 00 00 00 00 00 00 - /* Object 38, Instance = 0 */ - 1D 01 00 0C 04 0D 00 00 - /* Object 7, Instance = 0 */ - 20 08 32 - /* Object 8, Instance = 0 */ - 19 00 14 14 FF 00 FF 00 00 00 - /* Object 9, Instance = 0 */ - 83 00 00 13 0B 00 20 32 01 03 - 00 32 05 30 0A 05 0A 00 70 03 - FC 01 00 36 2F 2C 00 00 40 00 - 00 0A 00 00 02 - /* Object 18, Instance = 0 */ - 00 00 - /* Object 19, Instance = 0 */ - 00 00 00 00 00 00 - /* Object 25, Instance = 0 */ - 03 00 18 79 A8 61 - /* Object 58, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 - /* Object 42, Instance = 0 */ - 00 00 00 00 00 00 00 00 - /* Object 46, Instance = 0 */ - 04 03 08 10 00 00 00 00 00 - /* Object 47, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - /* Object 48, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 - /* Object 55, Instance = 0 */ - 00 00 00 00 - ]; - }; - }; - }; - - gen-vkeys { - compatible = "qcom,gen-vkeys"; - label = "atmel_mxt_ts"; - qcom,disp-maxx = <480>; - qcom,disp-maxy = <800>; - qcom,panel-maxx = <508>; - qcom,panel-maxy = <880>; - qcom,key-codes = <158 102 139>; - qcom,y-offset = <35>; - }; - - gpio_keys { - compatible = "gpio-keys"; - input-name = "gpio-keys"; - - camera_snapshot { - label = "camera_snapshot"; - gpios = <&msmgpio 73 0x1>; - linux,input-type = <1>; - linux,code = <0x2fe>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - - camera_focus { - label = "camera_focus"; - gpios = <&msmgpio 74 0x1>; - linux,input-type = <1>; - linux,code = <0x210>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - - vol_up { - label = "volume_up"; - gpios = <&msmgpio 72 0x1>; - linux,input-type = <1>; - linux,code = <115>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - }; - - sound { - qcom,audio-routing = - "RX_BIAS", "MCLK", - "INT_LDO_H", "MCLK", - "MIC BIAS External", "Handset Mic", - "MIC BIAS Internal2", "Headset Mic", - "AMIC1", "MIC BIAS External", - "AMIC2", "MIC BIAS Internal2"; - }; -}; - -&i2c_cdc { - msm8x10_wcd_codec@0d{ - compatible = "qcom,msm8x10-wcd-i2c"; - reg = <0x0d>; - cdc-vdda-cp-supply = <&pm8110_s4>; - qcom,cdc-vdda-cp-voltage = <2150000 2150000>; - qcom,cdc-vdda-cp-current = <650000>; - - cdc-vdda-h-supply = <&pm8110_l6>; - qcom,cdc-vdda-h-voltage = <1800000 1800000>; - qcom,cdc-vdda-h-current = <250000>; - - cdc-vdd-px-supply = <&pm8110_l6>; - qcom,cdc-vdd-px-voltage = <1800000 1800000>; - qcom,cdc-vdd-px-current = <10000>; - - cdc-vdd-1p2v-supply = <&pm8110_l4>; - qcom,cdc-vdd-1p2v-voltage = <1200000 1200000>; - qcom,cdc-vdd-1p2v-current = <5000>; - - cdc-vdd-mic-bias-supply = <&pm8110_l20>; - qcom,cdc-vdd-mic-bias-voltage = <3075000 3075000>; - qcom,cdc-vdd-mic-bias-current = <25000>; - - qcom,cdc-micbias-cfilt-sel = <0x0>; - qcom,cdc-micbias-cfilt-mv = <1800000>; - qcom,cdc-mclk-clk-rate = <12288000>; - }; - - msm8x10_wcd_codec@77{ - compatible = "qcom,msm8x10-wcd-i2c"; - reg = <0x77>; - }; - - msm8x10_wcd_codec@66{ - compatible = "qcom,msm8x10-wcd-i2c"; - reg = <0x66>; - }; - - msm8x10_wcd_codec@55{ - compatible = "qcom,msm8x10-wcd-i2c"; - reg = <0x55>; - }; -}; - -&spmi_bus { - qcom,pm8110@0 { - qcom,leds@a100 { - status = "okay"; - qcom,led_mpp_2 { - label = "mpp"; - linux,name = "button-backlight"; - linux-default-trigger = "hr-trigger"; - qcom,default-state = "off"; - qcom,max-current = <40>; - qcom,id = <6>; - qcom,source-sel = <1>; - qcom,mode-ctrl = <0x60>; - qcom,mode = "manual"; - }; - }; - - qcom,leds@a200 { - status = "okay"; - qcom,led_mpp_3 { - label = "mpp"; - linux,name = "wled-backlight"; - linux,default-trigger = "bkl-trigger"; - qcom,default-state = "on"; - qcom,max-current = <40>; - qcom,id = <6>; - qcom,source-sel = <1>; - qcom,mode-ctrl = <0x10>; - qcom,mode = "manual"; - }; - }; - }; -}; - -&spmi_bus { - qcom,pm8110@1 { - qcom,vibrator@c000 { - status = "okay"; - qcom,vib-timeout-ms = <15000>; - qcom,vib-vtg-level-mV = <3100>; - }; - }; -}; - -&sdhc_1 { - vdd-supply = <&pm8110_l17>; - qcom,vdd-always-on; - qcom,vdd-lpm-sup; - qcom,vdd-voltage-level = <2900000 2900000>; - qcom,vdd-current-level = <200 400000>; - - vdd-io-supply = <&pm8110_l6>; - qcom,vdd-io-always-on; - qcom,vdd-io-lpm-sup; - qcom,vdd-io-voltage-level = <1800000 1800000>; - qcom,vdd-io-current-level = <200 60000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - qcom,bus-speed-mode = "HS200_1p8v", "DDR_1p8v"; - qcom,nonremovable; - - status = "ok"; -}; - -&sdhc_2 { - vdd-supply = <&pm8110_l18>; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <15000 400000>; - - vdd-io-supply = <&pm8110_l21>; - qcom,vdd-io-voltage-level = <1800000 2950000>; - qcom,vdd-io-current-level = <200 50000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - - #address-cells = <0>; - interrupt-parent = <&sdhc_2>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 125 0 - 1 &intc 0 221 0 - 2 &msmgpio 42 0x3>; - interrupt-names = "hc_irq", "pwr_irq", "status_irq"; - cd-gpios = <&msmgpio 42 0x1>; - - status = "ok"; -}; - -&pm8110_chg { - status = "ok"; - qcom,charging-disabled; - qcom,use-default-batt-values; - - qcom,chgr@1000 { - status = "ok"; - }; - - qcom,buck@1100 { - status = "ok"; - }; - - qcom,usb-chgpth@1300 { - status = "ok"; - }; - - qcom,chg-misc@1600 { - status = "ok"; - }; -}; - -&pm8110_gpios { - gpio@c000 { /* GPIO 1 */ - }; - - gpio@c100 { /* GPIO 2 */ - }; - - gpio@c200 { /* GPIO 3 */ - }; - - gpio@c300 { /* GPIO 4 */ - }; -}; - -&pm8110_mpps { - mpp@a000 { /* MPP 1 */ - }; - - mpp@a100 { /* MPP 2 */ - status = "disabled"; - }; - - mpp@a200 { /* MPP 3 */ - status = "disabled"; - }; - - mpp@a300 { /* MPP 4 */ - /* PA_THERM config */ - qcom,mode = <4>; /* AIN input */ - qcom,invert = <1>; /* Enable MPP */ - qcom,ain-route = <3>; /* AMUX 8 */ - qcom,master-en = <1>; - qcom,src-sel = <0>; /* Function constant */ - }; -}; - -/* CoreSight */ -&tpiu { - qcom,seta-gpios = <&msmgpio 4 0>, - <&msmgpio 5 0>, - <&msmgpio 6 0>, - <&msmgpio 7 0>, - <&msmgpio 22 0>, - <&msmgpio 23 0>, - <&msmgpio 24 0>, - <&msmgpio 25 0>, - <&msmgpio 26 0>, - <&msmgpio 27 0>, - <&msmgpio 28 0>, - <&msmgpio 29 0>, - <&msmgpio 30 0>, - <&msmgpio 31 0>, - <&msmgpio 94 0>, - <&msmgpio 95 0>, - <&msmgpio 96 0>, - <&msmgpio 97 0>; - qcom,seta-gpios-func = <9 9 8 11 2 2 2 2 2 2 3 2 3 3 4 4 4 4>; - qcom,seta-gpios-drv = <7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7>; - qcom,seta-gpios-pull = <0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0>; - qcom,seta-gpios-dir = <2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2>; - - qcom,setb-gpios = <&msmgpio 8 0>, - <&msmgpio 10 0>, - <&msmgpio 11 0>, - <&msmgpio 13 0>, - <&msmgpio 14 0>, - <&msmgpio 15 0>, - <&msmgpio 16 0>, - <&msmgpio 17 0>, - <&msmgpio 18 0>, - <&msmgpio 19 0>, - <&msmgpio 20 0>, - <&msmgpio 21 0>, - <&msmgpio 42 0>, - <&msmgpio 80 0>, - <&msmgpio 81 0>, - <&msmgpio 82 0>, - <&msmgpio 83 0>, - <&msmgpio 84 0>; - qcom,setb-gpios-func = <10 8 8 6 9 9 9 9 9 9 9 9 5 7 7 8 8 8>; - qcom,setb-gpios-drv = <7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7>; - qcom,setb-gpios-pull = <0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0>; - qcom,setb-gpios-dir = <2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2>; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8610-coresight.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8610-coresight.dtsi deleted file mode 100644 index 516522eb0..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8610-coresight.dtsi +++ /dev/null @@ -1,357 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -&soc { - tmc_etr: tmc@fc326000 { - compatible = "arm,coresight-tmc"; - reg = <0xfc326000 0x1000>, - <0xfc37c000 0x3000>; - reg-names = "tmc-base", "bam-base"; - - qcom,memory-reservation-type = "EBI1"; - qcom,memory-reservation-size = <0x100000>; /* 1M EBI1 buffer */ - - coresight-id = <0>; - coresight-name = "coresight-tmc-etr"; - coresight-nr-inports = <1>; - coresight-ctis = <&cti0 &cti8>; - }; - - tpiu: tpiu@fc320000 { - compatible = "arm,coresight-tpiu"; - reg = <0xfc320000 0x1000>; - reg-names = "tpiu-base"; - - coresight-id = <1>; - coresight-name = "coresight-tpiu"; - coresight-nr-inports = <1>; - - vdd-supply = <&pm8110_l18>; - - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <15000 400000>; - }; - - replicator: replicator@fc324000 { - compatible = "qcom,coresight-replicator"; - reg = <0xfc324000 0x1000>; - reg-names = "replicator-base"; - - coresight-id = <2>; - coresight-name = "coresight-replicator"; - coresight-nr-inports = <1>; - coresight-outports = <0 1>; - coresight-child-list = <&tmc_etr &tpiu>; - coresight-child-ports = <0 0>; - }; - - tmc_etf: tmc@fc325000 { - compatible = "arm,coresight-tmc"; - reg = <0xfc325000 0x1000>; - reg-names = "tmc-base"; - - coresight-id = <3>; - coresight-name = "coresight-tmc-etf"; - coresight-nr-inports = <1>; - coresight-outports = <0>; - coresight-child-list = <&replicator>; - coresight-child-ports = <0>; - coresight-default-sink; - coresight-ctis = <&cti0 &cti8>; - }; - - funnel_merg: funnel@fc323000 { - compatible = "arm,coresight-funnel"; - reg = <0xfc323000 0x1000>; - reg-names = "funnel-base"; - - coresight-id = <4>; - coresight-name = "coresight-funnel-merg"; - coresight-nr-inports = <2>; - coresight-outports = <0>; - coresight-child-list = <&tmc_etf>; - coresight-child-ports = <0>; - }; - - funnel_in0: funnel@fc321000 { - compatible = "arm,coresight-funnel"; - reg = <0xfc321000 0x1000>; - reg-names = "funnel-base"; - - coresight-id = <5>; - coresight-name = "coresight-funnel-in0"; - coresight-nr-inports = <8>; - coresight-outports = <0>; - coresight-child-list = <&funnel_merg>; - coresight-child-ports = <0>; - }; - - funnel_in1: funnel@fc322000 { - compatible = "arm,coresight-funnel"; - reg = <0xfc322000 0x1000>; - reg-names = "funnel-base"; - - coresight-id = <6>; - coresight-name = "coresight-funnel-in1"; - coresight-nr-inports = <8>; - coresight-outports = <0>; - coresight-child-list = <&funnel_merg>; - coresight-child-ports = <1>; - }; - - funnel_a7ss: funnel@fc355000 { - compatible = "arm,coresight-funnel"; - reg = <0xfc355000 0x1000>; - reg-names = "funnel-base"; - - coresight-id = <7>; - coresight-name = "coresight-funnel-a7ss"; - coresight-nr-inports = <4>; - coresight-outports = <0>; - coresight-child-list = <&funnel_in1>; - coresight-child-ports = <6>; - }; - - stm: stm@fc302000 { - compatible = "arm,coresight-stm"; - reg = <0xfc302000 0x1000>, - <0xfa280000 0x180000>; - reg-names = "stm-base", "stm-data-base"; - - coresight-id = <8>; - coresight-name = "coresight-stm"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_in0>; - coresight-child-ports = <7>; - }; - - etm0: etm@fc34c000 { - compatible = "arm,coresight-etm"; - reg = <0xfc34c000 0x1000>; - reg-names = "etm-base"; - - coresight-id = <9>; - coresight-name = "coresight-etm0"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_a7ss>; - coresight-child-ports = <0>; - - qcom,pc-save; - qcom,round-robin; - }; - - etm1: etm@fc34d000 { - compatible = "arm,coresight-etm"; - reg = <0xfc34d000 0x1000>; - reg-names = "etm-base"; - - coresight-id = <10>; - coresight-name = "coresight-etm1"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_a7ss>; - coresight-child-ports = <1>; - - qcom,pc-save; - qcom,round-robin; - }; - - etm2: etm@fc34e000 { - compatible = "arm,coresight-etm"; - reg = <0xfc34e000 0x1000>; - reg-names = "etm-base"; - - coresight-id = <11>; - coresight-name = "coresight-etm2"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_a7ss>; - coresight-child-ports = <2>; - - qcom,pc-save; - qcom,round-robin; - }; - - etm3: etm@fc34f000 { - compatible = "arm,coresight-etm"; - reg = <0xfc34f000 0x1000>; - reg-names = "etm-base"; - - coresight-id = <12>; - coresight-name = "coresight-etm3"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_a7ss>; - coresight-child-ports = <3>; - - qcom,pc-save; - qcom,round-robin; - }; - - csr: csr@fc301000 { - compatible = "qcom,coresight-csr"; - reg = <0xfc301000 0x1000>; - reg-names = "csr-base"; - - coresight-id = <13>; - coresight-name = "coresight-csr"; - coresight-nr-inports = <0>; - - qcom,blk-size = <1>; - }; - - cti0: cti@fc310000 { - compatible = "arm,coresight-cti"; - reg = <0xfc310000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <14>; - coresight-name = "coresight-cti0"; - coresight-nr-inports = <0>; - }; - - cti1: cti@fc311000 { - compatible = "arm,coresight-cti"; - reg = <0xfc311000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <15>; - coresight-name = "coresight-cti1"; - coresight-nr-inports = <0>; - }; - - cti2: cti@fc312000 { - compatible = "arm,coresight-cti"; - reg = <0xfc312000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <16>; - coresight-name = "coresight-cti2"; - coresight-nr-inports = <0>; - }; - - cti3: cti@fc313000 { - compatible = "arm,coresight-cti"; - reg = <0xfc313000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <17>; - coresight-name = "coresight-cti3"; - coresight-nr-inports = <0>; - }; - - cti4: cti@fc314000 { - compatible = "arm,coresight-cti"; - reg = <0xfc314000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <18>; - coresight-name = "coresight-cti4"; - coresight-nr-inports = <0>; - }; - - cti5: cti@fc315000 { - compatible = "arm,coresight-cti"; - reg = <0xfc315000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <19>; - coresight-name = "coresight-cti5"; - coresight-nr-inports = <0>; - }; - - cti6: cti@fc316000 { - compatible = "arm,coresight-cti"; - reg = <0xfc316000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <20>; - coresight-name = "coresight-cti6"; - coresight-nr-inports = <0>; - }; - - cti7: cti@fc317000 { - compatible = "arm,coresight-cti"; - reg = <0xfc317000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <21>; - coresight-name = "coresight-cti7"; - coresight-nr-inports = <0>; - }; - - cti8: cti@fc318000 { - compatible = "arm,coresight-cti"; - reg = <0xfc318000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <22>; - coresight-name = "coresight-cti8"; - coresight-nr-inports = <0>; - }; - - cti_cpu0: cti@fc351000 { - compatible = "arm,coresight-cti"; - reg = <0xfc351000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <23>; - coresight-name = "coresight-cti-cpu0"; - coresight-nr-inports = <0>; - }; - - cti_cpu1: cti@fc352000 { - compatible = "arm,coresight-cti"; - reg = <0xfc352000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <24>; - coresight-name = "coresight-cti-cpu1"; - coresight-nr-inports = <0>; - }; - - cti_cpu2: cti@fc353000 { - compatible = "arm,coresight-cti"; - reg = <0xfc353000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <25>; - coresight-name = "coresight-cti-cpu2"; - coresight-nr-inports = <0>; - }; - - cti_cpu3: cti@fc354000 { - compatible = "arm,coresight-cti"; - reg = <0xfc354000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <26>; - coresight-name = "coresight-cti-cpu3"; - coresight-nr-inports = <0>; - }; - - hwevent: hwevent@fd820018 { - compatible = "qcom,coresight-hwevent"; - reg = <0xfd820018 0x80>, - <0xf9011080 0x80>, - <0xfd4ab160 0x80>; - reg-names = "mmss-mux", "apcs-mux", "ppss-mux"; - - coresight-id = <27>; - coresight-name = "coresight-hwevent"; - coresight-nr-inports = <0>; - - qcom,hwevent-clks = "core_mmss_clk"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8610-gpu.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8610-gpu.dtsi deleted file mode 100644 index 7e3ee0dcb..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8610-gpu.dtsi +++ /dev/null @@ -1,167 +0,0 @@ -/* Copyright (c) 2013, 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. - */ -&soc { - msm_gpu: qcom,kgsl-3d0@fdc00000 { - label = "kgsl-3d0"; - compatible = "qcom,kgsl-3d0", "qcom,kgsl-3d"; - reg = <0xfdc00000 0x10000 - 0xfdc10000 0x10000>; - reg-names = "kgsl_3d0_reg_memory", "kgsl_3d0_shader_memory"; - interrupts = <0 33 0>; - interrupt-names = "kgsl_3d0_irq"; - qcom,id = <0>; - - qcom,chipid = <0x03000520>; - - qcom,initial-pwrlevel = <1>; - - qcom,idle-timeout = <8>; /* */ - qcom,strtstp-sleepwake; - qcom,clk-map = <0x000005E>; /* KGSL_CLK_CORE | - KGSL_CLK_IFACE | KGSL_CLK_MEM | KGSL_CLK_MEM_IFACE | - KGSL_CLK_ALT_MEM_IFACE */ - - /* Bus Scale Settings */ - qcom,msm-bus,name = "grp3d"; - qcom,msm-bus,num-cases = <4>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <26 512 0 0>, - <26 512 0 800000>, - <26 512 0 1600000>, - <26 512 0 2128000>; - - /* GDSC oxili regulators */ - vdd-supply = <&gdsc_oxili_cx>; - - /* IOMMU Data */ - iommu = <&gfx_iommu>; - - /* Power levels */ - qcom,gpu-pwrlevels { - #address-cells = <1>; - #size-cells = <0>; - - compatible = "qcom,gpu-pwrlevels"; - - qcom,gpu-pwrlevel@0 { - reg = <0>; - qcom,gpu-freq = <400000000>; - qcom,bus-freq = <3>; - qcom,io-fraction = <0>; - }; - - qcom,gpu-pwrlevel@1 { - reg = <1>; - qcom,gpu-freq = <300000000>; - qcom,bus-freq = <2>; - qcom,io-fraction = <33>; - }; - - qcom,gpu-pwrlevel@2 { - reg = <2>; - qcom,gpu-freq = <200000000>; - qcom,bus-freq = <2>; - qcom,io-fraction = <33>; - }; - - qcom,gpu-pwrlevel@3 { - reg = <3>; - qcom,gpu-freq = <150000000>; - qcom,bus-freq = <1>; - qcom,io-fraction = <100>; - }; - - qcom,gpu-pwrlevel@4 { - reg = <4>; - qcom,gpu-freq = <27000000>; - qcom,bus-freq = <0>; - qcom,io-fraction = <0>; - }; - }; - - /* DVCS Info */ - qcom,dcvs-core-info { - #address-cells = <1>; - #size-cells = <0>; - - compatible = "qcom,dcvs-core-info"; - - qcom,num-cores = <1>; - qcom,sensors = <0>; - - qcom,core-core-type = <1>; - - qcom,algo-disable-pc-threshold = <0>; - qcom,algo-em-win-size-min-us = <100000>; - qcom,algo-em-win-size-max-us = <300000>; - qcom,algo-em-max-util-pct = <97>; - qcom,algo-group-id = <95>; - qcom,algo-max-freq-chg-time-us = <100000>; - qcom,algo-slack-mode-dynamic = <100000>; - qcom,algo-slack-weight-thresh-pct = <0>; - qcom,algo-slack-time-min-us = <39000>; - qcom,algo-slack-time-max-us = <39000>; - qcom,algo-ss-win-size-min-us = <1000000>; - qcom,algo-ss-win-size-max-us = <1000000>; - qcom,algo-ss-util-pct = <95>; - qcom,algo-ss-no-corr-below-freq = <0>; - - qcom,energy-active-coeff-a = <2492>; - qcom,energy-active-coeff-b = <0>; - qcom,energy-active-coeff-c = <0>; - qcom,energy-leakage-coeff-a = <11>; - qcom,energy-leakage-coeff-b = <157150>; - qcom,energy-leakage-coeff-c = <0>; - qcom,energy-leakage-coeff-d = <0>; - - qcom,power-current-temp = <25>; - qcom,power-num-freq = <4>; - - qcom,dcvs-freq@0 { - reg = <0>; - qcom,freq = <0>; - qcom,voltage = <0>; - qcom,is_trans_level = <0>; - qcom,active-energy-offset = <100>; - qcom,leakage-energy-offset = <0>; - }; - - qcom,dcvs-freq@1 { - reg = <1>; - qcom,freq = <0>; - qcom,voltage = <0>; - qcom,is_trans_level = <0>; - qcom,active-energy-offset = <100>; - qcom,leakage-energy-offset = <0>; - }; - - qcom,dcvs-freq@2 { - reg = <2>; - qcom,freq = <0>; - qcom,voltage = <0>; - qcom,is_trans_level = <0>; - qcom,active-energy-offset = <100>; - qcom,leakage-energy-offset = <0>; - }; - - qcom,dcvs-freq@3 { - reg = <3>; - qcom,freq = <0>; - qcom,voltage = <0>; - qcom,is_trans_level = <0>; - qcom,active-energy-offset = <844545>; - qcom,leakage-energy-offset = <0>; - }; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8610-iommu-domains.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8610-iommu-domains.dtsi deleted file mode 100644 index 6f438972d..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8610-iommu-domains.dtsi +++ /dev/null @@ -1,36 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&soc { - qcom,iommu-domains { - compatible = "qcom,iommu-domains"; - - qcom,iommu-domain1 { - label = "lpass_secure"; - qcom,iommu-contexts = <&lpass_q6_fw>; - qcom,virtual-addr-pool = <0x00000000 0x0FFFFFFF - 0xF0000000 0x0FFFFFFF>; - }; - - qcom,iommu-domain2 { - label = "lpass_audio"; - qcom,iommu-contexts = <&lpass_audio_shared>; - qcom,virtual-addr-pool = <0x10000000 0x0FFFFFFF>; - }; - - q6_domain_ns:qcom,iommu-domain3 { - label = "lpass_video"; - qcom,iommu-contexts = <&lpass_video_shared>; - qcom,virtual-addr-pool = <0x20000000 0x0FFFFFFF>; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8610-ion.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8610-ion.dtsi deleted file mode 100644 index 456b60ced..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8610-ion.dtsi +++ /dev/null @@ -1,38 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&soc { - qcom,ion { - compatible = "qcom,msm-ion"; - #address-cells = <1>; - #size-cells = <0>; - - qcom,ion-heap@30 { /* SYSTEM HEAP */ - reg = <30>; - }; - - qcom,ion-heap@21 { /* SYSTEM CONTIG HEAP */ - reg = <21>; - }; - - qcom,ion-heap@25 { /* IOMMU HEAP */ - reg = <25>; - }; - - qcom,ion-heap@27 { /* QSECOM HEAP */ - compatible = "qcom,msm-ion-reserve"; - reg = <27>; - linux,contiguous-region = <&qsecom_mem>; - }; - }; -}; - diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8610-mdss.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8610-mdss.dtsi deleted file mode 100644 index af0e3e4e3..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8610-mdss.dtsi +++ /dev/null @@ -1,37 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&soc { - qcom,mdss_mdp@fd900000 { - compatible = "qcom,mdss_mdp3"; - reg = <0xfd900000 0x100000>; - reg-names = "mdp_phys"; - interrupts = <0 72 0>; - - mdss_fb0: qcom,mdss_fb_primary { - cell-index = <0>; - compatible = "qcom,mdss-fb"; - qcom,memory-reservation-type = "EBI1"; - qcom,memory-reservation-size = <0x300000>; - }; - }; - - mdss_dsi0: qcom,mdss_dsi@fdd00000 { - compatible = "qcom,msm-dsi-v2"; - label = "MDSS DSI CTRL->0"; - cell-index = <0>; - reg = <0xfdd00000 0x100000>; - interrupts = <0 30 0>; - vdda-supply = <&pm8110_l4>; - qcom,mdss-fb-map = <&mdss_fb0>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8610-mtp.dts b/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8610-mtp.dts deleted file mode 100644 index 9406a0911..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8610-mtp.dts +++ /dev/null @@ -1,354 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; - -/include/ "msm8610.dtsi" -/include/ "dsi-v2-panel-truly-wvga-video.dtsi" -/include/ "msm8610-camera-sensor-cdp-mtp.dtsi" - -/ { - model = "Qualcomm MSM 8610 MTP"; - compatible = "qcom,msm8610-mtp", "qcom,msm8610", "qcom,mtp"; - qcom,msm-id = <147 8 0>, <165 8 0>, <161 8 0>, <162 8 0>, - <163 8 0>, <164 8 0>, <166 8 0>; -}; - -&soc { - serial@f991e000 { - status = "ok"; - }; - - i2c@f9923000{ - atmel_mxt_ts@4a { - compatible = "atmel,mxt-ts"; - reg = <0x4a>; - interrupt-parent = <&msmgpio>; - interrupts = <1 0x2>; - vdd_ana-supply = <&pm8110_l19>; - vcc_i2c-supply = <&pm8110_l14>; - atmel,reset-gpio = <&msmgpio 0 0x00>; - atmel,irq-gpio = <&msmgpio 1 0x00>; - atmel,panel-coords = <0 0 508 880>; - atmel,display-coords = <0 0 480 800>; - atmel,i2c-pull-up; - atmel,no-force-update; - atmel,cfg_1 { - atmel,family-id = <0x81>; - atmel,variant-id = <0x15>; - atmel,version = <0x11>; - atmel,build = <0xaa>; - atmel,config = [ - /* Object 6, Instance = 0 */ - 00 00 00 00 00 00 - /* Object 38, Instance = 0 */ - 1D 01 00 0C 04 0D 00 00 - /* Object 7, Instance = 0 */ - 20 08 32 - /* Object 8, Instance = 0 */ - 19 00 14 14 FF 00 FF 00 00 00 - /* Object 9, Instance = 0 */ - 83 00 00 13 0B 00 20 32 01 03 - 00 32 05 30 0A 05 0A 00 70 03 - FC 01 00 36 2F 2C 00 00 40 00 - 00 0A 00 00 02 - /* Object 18, Instance = 0 */ - 00 00 - /* Object 19, Instance = 0 */ - 00 00 00 00 00 00 - /* Object 25, Instance = 0 */ - 03 00 18 79 A8 61 - /* Object 58, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 - /* Object 42, Instance = 0 */ - 00 00 00 00 00 00 00 00 - /* Object 46, Instance = 0 */ - 04 03 08 10 00 00 00 00 00 - /* Object 47, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - /* Object 48, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 - /* Object 55, Instance = 0 */ - 00 00 00 00 - ]; - }; - }; - }; - - gen-vkeys { - compatible = "qcom,gen-vkeys"; - label = "atmel_mxt_ts"; - qcom,disp-maxx = <480>; - qcom,disp-maxy = <800>; - qcom,panel-maxx = <508>; - qcom,panel-maxy = <880>; - qcom,key-codes = <158 102 139>; - qcom,y-offset = <35>; - }; - - gpio_keys { - compatible = "gpio-keys"; - input-name = "gpio-keys"; - - camera_snapshot { - label = "camera_snapshot"; - gpios = <&msmgpio 73 0x1>; - linux,input-type = <1>; - linux,code = <0x2fe>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - - camera_focus { - label = "camera_focus"; - gpios = <&msmgpio 74 0x1>; - linux,input-type = <1>; - linux,code = <0x210>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - - vol_up { - label = "volume_up"; - gpios = <&msmgpio 72 0x1>; - linux,input-type = <1>; - linux,code = <115>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - }; - - sound { - qcom,audio-routing = - "RX_BIAS", "MCLK", - "INT_LDO_H", "MCLK", - "MIC BIAS External", "Handset Mic", - "MIC BIAS Internal2", "Headset Mic", - "AMIC1", "MIC BIAS External", - "AMIC2", "MIC BIAS Internal2"; - }; -}; - -&i2c_cdc { - msm8x10_wcd_codec@0d{ - compatible = "qcom,msm8x10-wcd-i2c"; - reg = <0x0d>; - cdc-vdda-cp-supply = <&pm8110_s4>; - qcom,cdc-vdda-cp-voltage = <2150000 2150000>; - qcom,cdc-vdda-cp-current = <650000>; - - cdc-vdda-h-supply = <&pm8110_l6>; - qcom,cdc-vdda-h-voltage = <1800000 1800000>; - qcom,cdc-vdda-h-current = <250000>; - - cdc-vdd-px-supply = <&pm8110_l6>; - qcom,cdc-vdd-px-voltage = <1800000 1800000>; - qcom,cdc-vdd-px-current = <10000>; - - cdc-vdd-1p2v-supply = <&pm8110_l4>; - qcom,cdc-vdd-1p2v-voltage = <1200000 1200000>; - qcom,cdc-vdd-1p2v-current = <5000>; - - cdc-vdd-mic-bias-supply = <&pm8110_l20>; - qcom,cdc-vdd-mic-bias-voltage = <3075000 3075000>; - qcom,cdc-vdd-mic-bias-current = <25000>; - - qcom,cdc-micbias-cfilt-sel = <0x0>; - qcom,cdc-micbias-cfilt-mv = <1800000>; - qcom,cdc-mclk-clk-rate = <12288000>; - }; - - msm8x10_wcd_codec@77{ - compatible = "qcom,msm8x10-wcd-i2c"; - reg = <0x77>; - }; - - msm8x10_wcd_codec@66{ - compatible = "qcom,msm8x10-wcd-i2c"; - reg = <0x66>; - }; - - msm8x10_wcd_codec@55{ - compatible = "qcom,msm8x10-wcd-i2c"; - reg = <0x55>; - }; -}; - -&spmi_bus { - qcom,pm8110@0 { - qcom,leds@a100 { - status = "okay"; - qcom,led_mpp_2 { - label = "mpp"; - linux,name = "button-backlight"; - linux-default-trigger = "hr-trigger"; - qcom,default-state = "off"; - qcom,max-current = <40>; - qcom,id = <6>; - qcom,source-sel = <1>; - qcom,mode-ctrl = <0x60>; - qcom,mode = "manual"; - }; - }; - - qcom,leds@a200 { - status = "okay"; - qcom,led_mpp_3 { - label = "mpp"; - linux,name = "wled-backlight"; - linux,default-trigger = "bkl-trigger"; - qcom,default-state = "on"; - qcom,max-current = <40>; - qcom,id = <6>; - qcom,source-sel = <1>; - qcom,mode-ctrl = <0x10>; - qcom,mode = "manual"; - }; - }; - }; -}; - -&spmi_bus { - qcom,pm8110@1 { - qcom,vibrator@c000 { - status = "okay"; - qcom,vib-timeout-ms = <15000>; - qcom,vib-vtg-level-mV = <3100>; - }; - }; -}; - -&sdhc_1 { - vdd-supply = <&pm8110_l17>; - qcom,vdd-always-on; - qcom,vdd-lpm-sup; - qcom,vdd-voltage-level = <2900000 2900000>; - qcom,vdd-current-level = <200 400000>; - - vdd-io-supply = <&pm8110_l6>; - qcom,vdd-io-always-on; - qcom,vdd-io-lpm-sup; - qcom,vdd-io-voltage-level = <1800000 1800000>; - qcom,vdd-io-current-level = <200 60000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - qcom,bus-speed-mode = "HS200_1p8v", "DDR_1p8v"; - qcom,nonremovable; - - status = "ok"; -}; - -&sdhc_2 { - vdd-supply = <&pm8110_l18>; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <15000 400000>; - - vdd-io-supply = <&pm8110_l21>; - qcom,vdd-io-voltage-level = <1800000 2950000>; - qcom,vdd-io-current-level = <200 50000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - - #address-cells = <0>; - interrupt-parent = <&sdhc_2>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 125 0 - 1 &intc 0 221 0 - 2 &msmgpio 42 0x3>; - interrupt-names = "hc_irq", "pwr_irq", "status_irq"; - cd-gpios = <&msmgpio 42 0x1>; - - status = "ok"; -}; - -&pm8110_chg { - status = "ok"; - qcom,charging-disabled; - - qcom,chgr@1000 { - status = "ok"; - }; - - qcom,buck@1100 { - status = "ok"; - }; - - qcom,bat-if@1200 { - status = "ok"; - }; - - qcom,usb-chgpth@1300 { - status = "ok"; - }; - - qcom,chg-misc@1600 { - status = "ok"; - }; -}; - -&pm8110_gpios { - gpio@c000 { /* GPIO 1 */ - }; - - gpio@c100 { /* GPIO 2 */ - }; - - gpio@c200 { /* GPIO 3 */ - }; - - gpio@c300 { /* GPIO 4 */ - }; -}; - -&pm8110_mpps { - mpp@a000 { /* MPP 1 */ - }; - - mpp@a100 { /* MPP 2 */ - status = "disabled"; - }; - - mpp@a200 { /* MPP 3 */ - status = "disabled"; - }; - - mpp@a300 { /* MPP 4 */ - /* PA_THERM config */ - qcom,mode = <4>; /* AIN input */ - qcom,invert = <1>; /* Enable MPP */ - qcom,ain-route = <3>; /* AMUX 8 */ - qcom,master-en = <1>; - qcom,src-sel = <0>; /* Function constant */ - }; -}; - -&pm8110_bms { - status = "ok"; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8610-pm.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8610-pm.dtsi deleted file mode 100644 index 938b2aa2a..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8610-pm.dtsi +++ /dev/null @@ -1,391 +0,0 @@ -/* Copyright (c) 2013 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. - */ - -/include/ "skeleton.dtsi" - -&soc { - qcom,spm@f9089000 { - compatible = "qcom,spm-v2"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xf9089000 0x1000>; - qcom,core-id = <0>; - qcom,saw2-ver-reg = <0xfd0>; - qcom,saw2-cfg = <0x01>; - qcom,saw2-spm-dly= <0x3c102800>; - qcom,saw2-spm-ctl = <0x0>; - qcom,saw2-spm-cmd-wfi = [60 03 60 0b 0f]; - qcom,saw2-spm-cmd-spc = [00 20 10 80 30 90 5b 60 03 60 3b 76 76 - 0b 94 5b 80 10 06 26 30 0f]; - qcom,saw2-spm-cmd-pc = [00 20 10 80 30 90 5b 60 07 60 3b 76 76 - 0b 94 5b 80 10 06 26 30 0f]; - }; - - qcom,spm@f9099000 { - compatible = "qcom,spm-v2"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xf9099000 0x1000>; - qcom,core-id = <1>; - qcom,saw2-ver-reg = <0xfd0>; - qcom,saw2-cfg = <0x01>; - qcom,saw2-spm-dly= <0x3c102800>; - qcom,saw2-spm-ctl = <0x0>; - qcom,saw2-spm-cmd-wfi = [60 03 60 0b 0f]; - qcom,saw2-spm-cmd-spc = [00 20 10 80 30 90 5b 60 03 60 3b 76 76 - 0b 94 5b 80 10 06 26 30 0f]; - qcom,saw2-spm-cmd-pc = [00 20 10 80 30 90 5b 60 07 60 3b 76 76 - 0b 94 5b 80 10 06 26 30 0f]; - }; - - qcom,spm@f90a9000 { - compatible = "qcom,spm-v2"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xf90a9000 0x1000>; - qcom,core-id = <2>; - qcom,saw2-ver-reg = <0xfd0>; - qcom,saw2-cfg = <0x01>; - qcom,saw2-spm-dly= <0x3c102800>; - qcom,saw2-spm-ctl = <0x0>; - qcom,saw2-spm-cmd-wfi = [60 03 60 0b 0f]; - qcom,saw2-spm-cmd-spc = [00 20 10 80 30 90 5b 60 03 60 3b 76 76 - 0b 94 5b 80 10 06 26 30 0f]; - qcom,saw2-spm-cmd-pc = [00 20 10 80 30 90 5b 60 07 60 3b 76 76 - 0b 94 5b 80 10 06 26 30 0f]; - }; - - qcom,spm@f90b9000 { - compatible = "qcom,spm-v2"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xf90b9000 0x1000>; - qcom,core-id = <3>; - qcom,saw2-ver-reg = <0xfd0>; - qcom,saw2-cfg = <0x01>; - qcom,saw2-spm-dly= <0x3c102800>; - qcom,saw2-spm-ctl = <0x0>; - qcom,saw2-spm-cmd-wfi = [60 03 60 0b 0f]; - qcom,saw2-spm-cmd-spc = [00 20 10 80 30 90 5b 60 03 60 3b 76 76 - 0b 94 5b 80 10 06 26 30 0f]; - qcom,saw2-spm-cmd-pc = [00 20 10 80 30 90 5b 60 07 60 3b 76 76 - 0b 94 5b 80 10 06 26 30 0f]; - }; - - qcom,spm@f9012000 { - compatible = "qcom,spm-v2"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xf9012000 0x1000>; - qcom,core-id = <0xffff>; /* L2/APCS SAW */ - qcom,saw2-ver-reg = <0xfd0>; - qcom,saw2-cfg = <0x14>; - qcom,saw2-spm-dly= <0x3c102800>; - qcom,saw2-spm-ctl = <0x0>; - qcom,saw2-pmic-data0 = <0x02030080>; - qcom,saw2-pmic-data1 = <0x00030000>; - qcom,vctl-timeout-us = <50>; - qcom,vctl-port = <0x0>; - qcom,phase-port = <0x1>; - qcom,pfm-port = <0x2>; - qcom,saw2-spm-cmd-ret = [00 03 00 7b 0f]; - qcom,saw2-spm-cmd-pc = [00 32 b0 10 e0 d0 6b c0 42 f0 - 11 07 01 b0 4e c0 d0 12 e0 6b 50 02 32 - 50 f0 7b 0f]; /*APCS_PMIC_OFF_L2RAM_OFF*/ - }; - - qcom,lpm-resources { - compatible = "qcom,lpm-resources"; - #address-cells = <1>; - #size-cells = <0>; - - qcom,lpm-resources@0 { - reg = <0x0>; - qcom,name = "vdd-dig"; - qcom,type = <0x61706d73>; /* "smpa" */ - qcom,id = <0x01>; - qcom,key = <0x6e726f63>; /* "corn" */ - qcom,init-value = <3>; /* SVS SOC */ - }; - - qcom,lpm-resources@1 { - reg = <0x1>; - qcom,name = "vdd-mem"; - qcom,type = <0x616F646C>; /* "ldoa" */ - qcom,id = <0x03>; - qcom,key = <0x6e726f63>; /* "corn" */ - qcom,init-value = <3>; /* SVS SOC */ - }; - - qcom,lpm-resources@2 { - reg = <0x2>; - qcom,name = "pxo"; - qcom,type = <0x306b6c63>; /* "clk0" */ - qcom,id = <0x00>; - qcom,key = <0x62616e45>; /* "Enab" */ - qcom,init-value = "xo_on"; - }; - - qcom,lpm-resources@3 { - reg = <0x3>; - qcom,name = "l2"; - qcom,local-resource-type; - qcom,init-value = "l2_cache_retention"; - }; - }; - - qcom,lpm-levels { - compatible = "qcom,lpm-levels"; - #address-cells = <1>; - #size-cells = <0>; - - qcom,lpm-level@0 { - reg = <0x0>; - qcom,mode = "wfi"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_active"; - qcom,vdd-mem-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <4>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <1>; - qcom,ss-power = <784>; - qcom,energy-overhead = <190000>; - qcom,time-overhead = <100>; - }; - - qcom,lpm-level@1 { - reg = <0x1>; - qcom,mode = "standalone_pc"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_active"; - qcom,vdd-mem-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <4>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <3000>; - qcom,ss-power = <725>; - qcom,energy-overhead = <99500>; - qcom,time-overhead = <3130>; - }; - - qcom,lpm-level@2 { - reg = <0x2>; - qcom,mode = "pc"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_retention"; - qcom,vdd-mem-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <4>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <8000>; - qcom,ss-power = <138>; - qcom,energy-overhead = <1208400>; - qcom,time-overhead = <9200>; - }; - - qcom,lpm-level@3 { - reg = <0x3>; - qcom,mode = "pc"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_pc"; - qcom,vdd-mem-upper-bound = <4>; /* NORMAL */ - qcom,vdd-mem-lower-bound = <3>; /* SVS SOC */ - qcom,vdd-dig-upper-bound = <4>; /* NORMAL */ - qcom,vdd-dig-lower-bound = <3>; /* SVS SOC */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <9000>; - qcom,ss-power = <110>; - qcom,energy-overhead = <1250300>; - qcom,time-overhead = <9500>; - }; - - qcom,lpm-level@4 { - reg = <0x4>; - qcom,mode = "pc"; - qcom,xo = "xo_off"; - qcom,l2 = "l2_cache_pc"; - qcom,vdd-mem-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <4>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,latency-us = <16300>; - qcom,ss-power = <63>; - qcom,energy-overhead = <2128000>; - qcom,time-overhead = <24200>; - }; - - qcom,lpm-level@5 { - reg = <0x5>; - qcom,mode = "pc"; - qcom,xo = "xo_off"; - qcom,l2 = "l2_cache_pc"; - qcom,vdd-mem-upper-bound = <4>; /* NORMAL */ - qcom,vdd-mem-lower-bound = <3>; /* SVS SOC */ - qcom,vdd-dig-upper-bound = <4>; /* NORMAL */ - qcom,vdd-dig-lower-bound = <3>; /* SVS SOC */ - qcom,latency-us = <24000>; - qcom,ss-power = <10>; - qcom,energy-overhead = <3202600>; - qcom,time-overhead = <33000>; - }; - - qcom,lpm-level@6 { - reg = <0x6>; - qcom,mode = "pc"; - qcom,xo = "xo_off"; - qcom,l2 = "l2_cache_pc"; - qcom,vdd-mem-upper-bound = <3>; /* SVS SOC */ - qcom,vdd-mem-lower-bound = <1>; /* RETENTION */ - qcom,vdd-dig-upper-bound = <3>; /* SVS SOC */ - qcom,vdd-dig-lower-bound = <1>; /* RETENTION */ - qcom,latency-us = <26000>; - qcom,ss-power = <2>; - qcom,energy-overhead = <4252000>; - qcom,time-overhead = <38000>; - }; - }; - - qcom,pm-boot { - compatible = "qcom,pm-boot"; - qcom,mode = "tz"; - }; - - qcom,mpm@fc4281d0 { - compatible = "qcom,mpm-v2"; - reg = <0xfc4281d0 0x1000>, /* MSM_RPM_MPM_BASE 4K */ - <0xf9011008 0x4>; /* MSM_APCS_GCC_BASE 4K */ - reg-names = "vmpm", "ipc"; - interrupts = <0 171 1>; - - qcom,ipc-bit-offset = <1>; - - qcom,gic-parent = <&intc>; - qcom,gic-map = <47 172>, /* usb2_hsic_async_wakeup_irq */ - <53 104>, /* mdss_irq */ - <62 222>, /* ee0_krait_hlos_spmi_periph_irq */ - <2 216>, /* tsens_upper_lower_int */ - <0xff 56>, /* q6_wdog_expired_irq */ - <0xff 57>, /* mss_to_apps_irq(0) */ - <0xff 58>, /* mss_to_apps_irq(1) */ - <0xff 59>, /* mss_to_apps_irq(2) */ - <0xff 60>, /* mss_to_apps_irq(3) */ - <0xff 61>, /* mss_a2_bam_irq */ - <0xff 173>, /* o_wcss_apss_smd_hi */ - <0xff 174>, /* o_wcss_apss_smd_med */ - <0xff 175>, /* o_wcss_apss_smd_low */ - <0xff 176>, /* o_wcss_apss_smsm_irq */ - <0xff 177>, /* o_wcss_apss_wlan_data_xfer_done */ - <0xff 178>, /* o_wcss_apss_wlan_rx_data_avail */ - <0xff 179>, /* o_wcss_apss_asic_intr - <0xff 181>, /* o_wcss_apss_wdog_bite_and_reset_rdy */ - <0xff 161>, /* lpass_irq_out_spare[4] / - <0xff 162>, /* lpass_irq_out_spare[5]*/ - <0xff 234>, /* lpass_irq_out_spare[6]*/ - <0xff 235>, /* lpass_irq_out_spare[7]*/ - <0xff 188>, /* lpass_irq_out_apcs(0) */ - <0xff 189>, /* lpass_irq_out_apcs(1) */ - <0xff 190>, /* lpass_irq_out_apcs(2) */ - <0xff 191>, /* lpass_irq_out_apcs(3) */ - <0xff 192>, /* lpass_irq_out_apcs(4) */ - <0xff 194>, /* lpass_irq_out_apcs(6) */ - <0xff 200>, /* rpm_ipc(4) */ - <0xff 201>, /* rpm_ipc(5) */ - <0xff 202>, /* rpm_ipc(6) */ - <0xff 203>, /* rpm_ipc(7) */ - <0xff 204>, /* rpm_ipc(24) */ - <0xff 205>, /* rpm_ipc(25) */ - <0xff 206>, /* rpm_ipc(26) */ - <0xff 207>, /* rpm_ipc(27) */ - <0xff 258>, /* rpm_ipc(28) */ - <0xff 259>, /* rpm_ipc(29) */ - <0xff 275>, /* rpm_ipc(30) */ - <0xff 276>, /* rpm_ipc(31) */ - <0xff 269>, /* rpm_wdog_expired_irq */ - <0xff 240>; /* summary_irq_kpss */ - - qcom,gpio-parent = <&msmgpio>; - qcom,gpio-map = <3 1>, - <4 4 >, - <5 5 >, - <6 9 >, - <7 13>, - <8 17>, - <9 21>, - <10 27>, - <11 29>, - <12 31>, - <13 33>, - <14 35>, - <15 37>, - <16 38>, - <17 39>, - <18 41>, - <19 46>, - <20 48>, - <21 49>, - <22 50>, - <23 51>, - <24 52>, - <25 54>, - <26 62>, - <27 63>, - <28 64>, - <29 65>, - <30 66>, - <31 67>, - <32 68>, - <33 69>, - <34 71>, - <35 72>, - <36 106>, - <37 107>, - <38 108>, - <39 109>, - <40 110>, - <54 111>, - <55 113>; - }; - - qcom,pm-8x60@fe805664 { - compatible = "qcom,pm-8x60"; - reg = <0xfe805664 0x40>; - qcom,pc-mode = "tz_l2_int"; - qcom,use-sync-timer; - qcom,pc-resets-timer; - }; - - qcom,rpm-log@fc19dc00 { - compatible = "qcom,rpm-log"; - reg = <0xfc19dc00 0x4000>; - qcom,rpm-addr-phys = <0xfc000000>; - qcom,offset-version = <4>; - qcom,offset-page-buffer-addr = <36>; - qcom,offset-log-len = <40>; - qcom,offset-log-len-mask = <44>; - qcom,offset-page-indices = <56>; - }; - - qcom,rpm-stats@fc19dba0 { - compatible = "qcom,rpm-stats"; - reg = <0xfc19dba0 0x1000>; - reg-names = "phys_addr_base"; - qcom,sleep-stats-version = <2>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8610-qrd.dts b/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8610-qrd.dts deleted file mode 100644 index 5f9365a2a..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8610-qrd.dts +++ /dev/null @@ -1,267 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; - -/include/ "msm8610.dtsi" -/include/ "dsi-v2-panel-hx8379a-wvga-video.dtsi" - -/ { - model = "Qualcomm MSM 8610 QRD"; - compatible = "qcom,msm8610-qrd", "qcom,msm8610", "qcom,qrd"; - qcom,msm-id = <147 11 0>, <165 11 0>, <161 11 0>, <162 11 0>, - <163 11 0>, <164 11 0>, <166 11 0>; -}; - -&soc { - i2c@f9923000{ - focaltech@38{ - compatible = "focaltech,5x06"; - reg = <0x38>; - interrupt-parent = <&msmgpio>; - interrupts = <1 0x2>; - vdd-supply = <&pm8110_l19>; - vcc_i2c-supply = <&pm8110_l14>; - focaltech,family-id = <0x06>; - focaltech,reset-gpio = <&msmgpio 0 0x00>; - focaltech,irq-gpio = <&msmgpio 1 0x00>; - focaltech,display-coords = <0 0 480 800>; - focaltech,panel-coords = <0 0 480 800>; - focaltech,button-map= <139 102 158>; - focaltech,no-force-update; - focaltech,i2c-pull-up; - }; - }; - - gen-vkeys { - compatible = "qcom,gen-vkeys"; - label = "ft5x06_ts"; - qcom,disp-maxx = <480>; - qcom,disp-maxy = <800>; - qcom,panel-maxx = <481>; - qcom,panel-maxy = <940>; - qcom,key-codes = <139 0 102 158 0 0 0>; - qcom,y-offset = <0>; - }; - serial@f991e000 { - status = "ok"; - }; - - gpio_keys { - compatible = "gpio-keys"; - input-name = "gpio-keys"; - - camera_snapshot { - label = "camera_snapshot"; - gpios = <&msmgpio 73 0x1>; - linux,input-type = <1>; - linux,code = <0x2fe>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - - camera_focus { - label = "camera_focus"; - gpios = <&msmgpio 74 0x1>; - linux,input-type = <1>; - linux,code = <0x210>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - - vol_up { - label = "volume_up"; - gpios = <&msmgpio 72 0x1>; - linux,input-type = <1>; - linux,code = <115>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - }; - - i2c@f9927000 { - msm8x10_wcd_codec@0d{ - compatible = "qcom,msm8x10-wcd-i2c"; - reg = <0x0d>; - cdc-vdda-cp-supply = <&pm8110_s4>; - qcom,cdc-vdda-cp-voltage = <2150000 2150000>; - qcom,cdc-vdda-cp-current = <650000>; - - cdc-vdda-h-supply = <&pm8110_l6>; - qcom,cdc-vdda-h-voltage = <1800000 1800000>; - qcom,cdc-vdda-h-current = <250000>; - - cdc-vdd-px-supply = <&pm8110_l6>; - qcom,cdc-vdd-px-voltage = <1800000 1800000>; - qcom,cdc-vdd-px-current = <10000>; - - cdc-vdd-1p2v-supply = <&pm8110_l4>; - qcom,cdc-vdd-1p2v-voltage = <1200000 1200000>; - qcom,cdc-vdd-1p2v-current = <5000>; - - cdc-vdd-mic-bias-supply = <&pm8110_l20>; - qcom,cdc-vdd-mic-bias-voltage = <3075000 3075000>; - qcom,cdc-vdd-mic-bias-current = <25000>; - - qcom,cdc-micbias-cfilt-sel = <0x0>; - qcom,cdc-micbias-cfilt-mv = <1800000>; - qcom,cdc-mclk-clk-rate = <12288000>; - }; - - msm8x10_wcd_codec@77{ - compatible = "qcom,msm8x10-wcd-i2c"; - reg = <0x77>; - }; - - msm8x10_wcd_codec@66{ - compatible = "qcom,msm8x10-wcd-i2c"; - reg = <0x66>; - }; - - msm8x10_wcd_codec@55{ - compatible = "qcom,msm8x10-wcd-i2c"; - reg = <0x55>; - }; - }; - - sound { - qcom,audio-routing = - "RX_BIAS", "MCLK", - "INT_LDO_H", "MCLK", - "MIC BIAS Internal1", "Handset Mic", - "MIC BIAS Internal2", "Headset Mic", - "AMIC1", "MIC BIAS Internal1", - "AMIC2", "MIC BIAS Internal2"; - }; -}; - -&spmi_bus { - qcom,pm8110@0 { - qcom,leds@a100 { - status = "okay"; - qcom,led_mpp_2 { - label = "mpp"; - linux,name = "wled-homerow"; - linux-default-trigger = "hr-trigger"; - qcom,default-state = "off"; - qcom,max-current = <40>; - qcom,id = <6>; - qcom,source-sel = <1>; - qcom,mode-ctrl = <0x61>; - }; - }; - - qcom,leds@a200 { - status = "okay"; - qcom,led_mpp_3 { - label = "mpp"; - linux,name = "wled-backlight"; - linux,default-trigger = "bkl-trigger"; - qcom,default-state = "on"; - qcom,max-current = <40>; - qcom,id = <6>; - qcom,source-sel = <1>; - qcom,mode-ctrl = <0x10>; - }; - }; - }; -}; - -&spmi_bus { - qcom,pm8110@1 { - qcom,vibrator@c000 { - status = "okay"; - qcom,vib-timeout-ms = <15000>; - qcom,vib-vtg-level-mV = <3100>; - }; - }; -}; - -&sdhc_1 { - vdd-supply = <&pm8110_l17>; - qcom,vdd-always-on; - qcom,vdd-lpm-sup; - qcom,vdd-voltage-level = <2900000 2900000>; - qcom,vdd-current-level = <200 400000>; - - vdd-io-supply = <&pm8110_l6>; - qcom,vdd-io-always-on; - qcom,vdd-io-voltage-level = <1800000 1800000>; - qcom,vdd-io-current-level = <200 60000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - qcom,bus-speed-mode = "HS200_1p8v", "DDR_1p8v"; - qcom,nonremovable; - - status = "ok"; -}; - -&sdhc_2 { - vdd-supply = <&pm8110_l18>; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <15000 400000>; - - vdd-io-supply = <&pm8110_l21>; - qcom,vdd-io-always-on; - qcom,vdd-io-lpm-sup; - qcom,vdd-io-voltage-level = <1800000 2950000>; - qcom,vdd-io-current-level = <200 50000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - - #address-cells = <0>; - interrupt-parent = <&sdhc_2>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 125 0 - 1 &intc 0 221 0 - 2 &msmgpio 42 0x3>; - interrupt-names = "hc_irq", "pwr_irq", "status_irq"; - cd-gpios = <&msmgpio 42 0x1>; - - status = "ok"; -}; - -&pm8110_chg { - status = "ok"; - - qcom,chgr@1000 { - status = "ok"; - }; - - qcom,buck@1100 { - status = "ok"; - }; - - qcom,bat-if@1200 { - status = "ok"; - }; - - qcom,usb-chgpth@1300 { - status = "ok"; - }; - - qcom,chg-misc@1600 { - status = "ok"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8610-regulator.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8610-regulator.dtsi deleted file mode 100644 index 09520c537..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8610-regulator.dtsi +++ /dev/null @@ -1,358 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/* SPM controlled regulators */ - -&spmi_bus { - qcom,pm8110@1 { - pm8110_s2: spm-regulator@1700 { - compatible = "qcom,spm-regulator"; - regulator-name = "8110_s2"; - reg = <0x1700 0x100>; - regulator-min-microvolt = <900000>; - regulator-max-microvolt = <1350000>; - }; - }; -}; - -/* CPR controlled regulator */ - -&soc { - apc_vreg_corner: regulator@f9018000 { - status = "okay"; - compatible = "qcom,cpr-regulator"; - reg = <0xf9018000 0x1000>, <0xf9011064 4>, <0xfc4b80b0 8>, - <0xfc4bc450 16>; - reg-names = "rbcpr", "rbcpr_clk", "pvs_efuse", "cpr_efuse"; - interrupts = <0 15 0>; - regulator-name = "apc_corner"; - regulator-min-microvolt = <1>; - regulator-max-microvolt = <3>; - qcom,num-efuse-bits = <5>; - qcom,pvs-bin-process = <0 0 0 0 0 1 1 1 1 1 2 2 2 2 2 2 - 2 2 2 2 3 3 3 3 3 3 3 3 0 0 0 0>; - qcom,pvs-corner-ceiling-slow = <1150000 1150000 1275000>; - qcom,pvs-corner-ceiling-nom = <975000 1075000 1200000>; - qcom,pvs-corner-ceiling-fast = <900000 1000000 1140000>; - vdd-apc-supply = <&pm8110_s2>; - - vdd-mx-supply = <&pm8110_l3_ao>; - qcom,vdd-mx-vmax = <1350000>; - qcom,vdd-mx-vmin-method = <1>; - - qcom,cpr-ref-clk = <19200>; - qcom,cpr-timer-delay = <5000>; - qcom,cpr-timer-cons-up = <1>; - qcom,cpr-timer-cons-down = <2>; - qcom,cpr-irq-line = <0>; - qcom,cpr-step-quotient = <15>; - qcom,cpr-up-threshold = <1>; - qcom,cpr-down-threshold = <2>; - qcom,cpr-idle-clocks = <5>; - qcom,cpr-gcnt-time = <1>; - qcom,vdd-apc-step-up-limit = <1>; - qcom,vdd-apc-step-down-limit = <1>; - qcom,cpr-apc-volt-step = <5000>; - }; -}; - -/* RPM controlled regulators: */ - -&rpm_bus { - - rpm-regulator-smpa1 { - status = "okay"; - pm8110_s1: regulator-s1 { - status = "okay"; - regulator-min-microvolt = <500000>; - regulator-max-microvolt = <1275000>; - }; - - pm8110_s1_corner: regulator-s1-corner { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_s1_corner"; - qcom,set = <3>; - regulator-min-microvolt = <1>; - regulator-max-microvolt = <7>; - qcom,use-voltage-corner; - qcom,consumer-supplies = "vdd_dig", ""; - }; - - pm8110_s1_corner_ao: regulator-s1-corner-ao { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_s1_corner_ao"; - qcom,set = <1>; - regulator-min-microvolt = <1>; - regulator-max-microvolt = <7>; - qcom,use-voltage-corner; - qcom,consumer-supplies = "vdd_sr2_dig", ""; - }; - }; - - rpm-regulator-smpa3 { - status = "okay"; - pm8110_s3: regulator-s3 { - regulator-min-microvolt = <1200000>; - regulator-max-microvolt = <1350000>; - qcom,init-voltage = <1200000>; - status = "okay"; - }; - }; - - rpm-regulator-smpa4 { - status = "okay"; - pm8110_s4: regulator-s4 { - regulator-min-microvolt = <2150000>; - regulator-max-microvolt = <2150000>; - qcom,init-voltage = <2150000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa1 { - status = "okay"; - pm8110_l1: regulator-l1 { - regulator-min-microvolt = <1225000>; - regulator-max-microvolt = <1225000>; - qcom,init-voltage = <1225000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa2 { - status = "okay"; - pm8110_l2: regulator-l2 { - regulator-min-microvolt = <1200000>; - regulator-max-microvolt = <1200000>; - qcom,init-voltage = <1200000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa3 { - status = "okay"; - pm8110_l3: regulator-l3 { - regulator-min-microvolt = <750000>; - regulator-max-microvolt = <1275000>; - status = "okay"; - }; - - pm8110_l3_ao: regulator-l3-ao { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l3_ao"; - qcom,set = <1>; - regulator-min-microvolt = <750000>; - regulator-max-microvolt = <1275000>; - status = "okay"; - }; - - pm8110_l3_so: regulator-l3-so { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l3_so"; - qcom,set = <2>; - regulator-min-microvolt = <750000>; - regulator-max-microvolt = <1275000>; - qcom,init-voltage = <750000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa4 { - status = "okay"; - pm8110_l4: regulator-l4 { - regulator-min-microvolt = <1200000>; - regulator-max-microvolt = <1200000>; - qcom,init-voltage = <1200000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa5 { - status = "okay"; - pm8110_l5: regulator-l5 { - regulator-min-microvolt = <1300000>; - regulator-max-microvolt = <1300000>; - qcom,init-voltage = <1300000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa6 { - status = "okay"; - pm8110_l6: regulator-l6 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa7 { - status = "okay"; - pm8110_l7: regulator-l7 { - regulator-min-microvolt = <2050000>; - regulator-max-microvolt = <2050000>; - qcom,init-voltage = <2050000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa8 { - status = "okay"; - pm8110_l8: regulator-l8 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa9 { - status = "okay"; - pm8110_l9: regulator-l9 { - regulator-min-microvolt = <2050000>; - regulator-max-microvolt = <2050000>; - qcom,init-voltage = <2050000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa10 { - status = "okay"; - pm8110_l10: regulator-l10 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - status = "okay"; - }; - - pm8110_l10_ao: regulator-l10-ao { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l10_ao"; - qcom,set = <1>; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - qcom,consumer-supplies = "vdd_sr2_pll", ""; - }; - - pm8110_l10_so: regulator-l10-so { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8110_l10_so"; - qcom,set = <2>; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - qcom,init-enable = <0>; - }; - }; - - rpm-regulator-ldoa12 { - status = "okay"; - pm8110_l12: regulator-l12 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <3300000>; - qcom,init-voltage = <3300000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa14 { - status = "okay"; - pm8110_l14: regulator-l14 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa15 { - status = "okay"; - pm8110_l15: regulator-l15 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <3300000>; - qcom,init-voltage = <3300000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa16 { - status = "okay"; - pm8110_l16: regulator-l16 { - regulator-min-microvolt = <3000000>; - regulator-max-microvolt = <3000000>; - qcom,init-voltage = <3000000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa17 { - status = "okay"; - pm8110_l17: regulator-l17 { - regulator-min-microvolt = <2900000>; - regulator-max-microvolt = <2900000>; - qcom,init-voltage = <2900000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa18 { - status = "okay"; - pm8110_l18: regulator-l18 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <2950000>; - qcom,init-voltage = <2950000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa19 { - status = "okay"; - pm8110_l19: regulator-l19 { - regulator-min-microvolt = <2850000>; - regulator-max-microvolt = <2850000>; - qcom,init-voltage = <2850000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa20 { - status = "okay"; - pm8110_l20: regulator-l20 { - regulator-min-microvolt = <3075000>; - regulator-max-microvolt = <3075000>; - qcom,init-voltage = <3075000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa21 { - status = "okay"; - pm8110_l21: regulator-l21 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <2950000>; - qcom,init-voltage = <2950000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa22 { - status = "okay"; - pm8110_l22: regulator-l22 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <3300000>; - qcom,init-voltage = <3300000>; - status = "okay"; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8610-rumi.dts b/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8610-rumi.dts deleted file mode 100644 index 7f0648541..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8610-rumi.dts +++ /dev/null @@ -1,31 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/dts-v1/; - -/include/ "msm8610.dtsi" - -/ { - model = "Qualcomm MSM 8610 Rumi"; - compatible = "qcom,msm8610-rumi", "qcom,msm8610", "qcom,rumi"; - qcom,msm-id = <147 15 0>; -}; - -&soc { - serial@f991f000 { - status = "ok"; - }; -}; - -&gfx_iommu { - status = "disabled"; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8610-sim.dts b/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8610-sim.dts deleted file mode 100644 index 7c57fe667..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8610-sim.dts +++ /dev/null @@ -1,72 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/dts-v1/; - -/include/ "msm8610.dtsi" - -/ { - model = "Qualcomm MSM 8610 Simulator"; - compatible = "qcom,msm8610-sim", "qcom,msm8610", "qcom,sim"; - qcom,msm-id = <147 16 0>; -}; - -&soc { - serial@f991f000 { - status = "ok"; - }; -}; - -&i2c_cdc { - msm8x10_wcd_codec@0d{ - compatible = "qcom,msm8x10-wcd-i2c"; - reg = <0x0d>; - cdc-vdda-cp-supply = <&pm8110_s4>; - qcom,cdc-vdda-cp-voltage = <2150000 2150000>; - qcom,cdc-vdda-cp-current = <650000>; - - cdc-vdda-h-supply = <&pm8110_l6>; - qcom,cdc-vdda-h-voltage = <1800000 1800000>; - qcom,cdc-vdda-h-current = <250000>; - - cdc-vdd-px-supply = <&pm8110_l6>; - qcom,cdc-vdd-px-voltage = <1800000 1800000>; - qcom,cdc-vdd-px-current = <10000>; - - cdc-vdd-1p2v-supply = <&pm8110_l4>; - qcom,cdc-vdd-1p2v-voltage = <1200000 1200000>; - qcom,cdc-vdd-1p2v-current = <5000>; - - cdc-vdd-mic-bias-supply = <&pm8110_l20>; - qcom,cdc-vdd-mic-bias-voltage = <3075000 3075000>; - qcom,cdc-vdd-mic-bias-current = <25000>; - - qcom,cdc-micbias-cfilt-sel = <0x0>; - qcom,cdc-micbias-cfilt-mv = <1800000>; - qcom,cdc-mclk-clk-rate = <12288000>; - }; - - msm8x10_wcd_codec@77{ - compatible = "qcom,msm8x10-wcd-i2c"; - reg = <0x77>; - }; - - msm8x10_wcd_codec@66{ - compatible = "qcom,msm8x10-wcd-i2c"; - reg = <0x66>; - }; - - msm8x10_wcd_codec@55{ - compatible = "qcom,msm8x10-wcd-i2c"; - reg = <0x55>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8610-smp2p.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8610-smp2p.dtsi deleted file mode 100644 index 3921a686a..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8610-smp2p.dtsi +++ /dev/null @@ -1,225 +0,0 @@ -/* Copyright (c) 2013, 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. - */ -&soc { - qcom,smp2p-modem { - compatible = "qcom,smp2p"; - reg = <0xf9011008 0x4>; - qcom,remote-pid = <1>; - qcom,irq-bitmask = <0x4000>; - interrupts = <0 27 1>; - }; - - qcom,smp2p-adsp { - compatible = "qcom,smp2p"; - reg = <0xf9011008 0x4>; - qcom,remote-pid = <2>; - qcom,irq-bitmask = <0x400>; - interrupts = <0 158 1>; - }; - - qcom,smp2p-wcnss { - compatible = "qcom,smp2p"; - reg = <0xf9011008 0x4>; - qcom,remote-pid = <4>; - qcom,irq-bitmask = <0x40000>; - interrupts = <0 143 1>; - }; - - smp2pgpio_smp2p_7_in: qcom,smp2pgpio-smp2p-7-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <7>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_7_in { - compatible = "qcom,smp2pgpio_test_smp2p_7_in"; - gpios = <&smp2pgpio_smp2p_7_in 0 0>; - }; - - smp2pgpio_smp2p_7_out: qcom,smp2pgpio-smp2p-7-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <7>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_7_out { - compatible = "qcom,smp2pgpio_test_smp2p_7_out"; - gpios = <&smp2pgpio_smp2p_7_out 0 0>; - }; - - smp2pgpio_smp2p_1_in: qcom,smp2pgpio-smp2p-1-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <1>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_1_in { - compatible = "qcom,smp2pgpio_test_smp2p_1_in"; - gpios = <&smp2pgpio_smp2p_1_in 0 0>; - }; - - smp2pgpio_smp2p_1_out: qcom,smp2pgpio-smp2p-1-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <1>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_1_out { - compatible = "qcom,smp2pgpio_test_smp2p_1_out"; - gpios = <&smp2pgpio_smp2p_1_out 0 0>; - }; - - smp2pgpio_ssr_smp2p_1_in: qcom,smp2pgpio-ssr-smp2p-1-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "slave-kernel"; - qcom,remote-pid = <1>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - smp2pgpio_ssr_smp2p_1_out: qcom,smp2pgpio-ssr-smp2p-1-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "master-kernel"; - qcom,remote-pid = <1>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - smp2pgpio_smp2p_2_in: qcom,smp2pgpio-smp2p-2-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <2>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_2_in { - compatible = "qcom,smp2pgpio_test_smp2p_2_in"; - gpios = <&smp2pgpio_smp2p_2_in 0 0>; - }; - - smp2pgpio_smp2p_2_out: qcom,smp2pgpio-smp2p-2-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <2>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_2_out { - compatible = "qcom,smp2pgpio_test_smp2p_2_out"; - gpios = <&smp2pgpio_smp2p_2_out 0 0>; - }; - - /* SMP2P SSR Driver for inbound entry from lpass. */ - smp2pgpio_ssr_smp2p_2_in: qcom,smp2pgpio-ssr-smp2p-2-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "slave-kernel"; - qcom,remote-pid = <2>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - /* SMP2P SSR Driver for outbound entry to lpass */ - smp2pgpio_ssr_smp2p_2_out: qcom,smp2pgpio-ssr-smp2p-2-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "master-kernel"; - qcom,remote-pid = <2>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - smp2pgpio_smp2p_4_in: qcom,smp2pgpio-smp2p-4-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <4>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_4_in { - compatible = "qcom,smp2pgpio_test_smp2p_4_in"; - gpios = <&smp2pgpio_smp2p_4_in 0 0>; - }; - - smp2pgpio_smp2p_4_out: qcom,smp2pgpio-smp2p-4-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <4>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - smp2pgpio_ssr_smp2p_4_in: qcom,smp2pgpio-ssr-smp2p-4-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "slave-kernel"; - qcom,remote-pid = <4>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - smp2pgpio_ssr_smp2p_4_out: qcom,smp2pgpio-ssr-smp2p-4-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "master-kernel"; - qcom,remote-pid = <4>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_4_out { - compatible = "qcom,smp2pgpio_test_smp2p_4_out"; - gpios = <&smp2pgpio_smp2p_4_out 0 0>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8610.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8610.dtsi deleted file mode 100644 index a62df58d9..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8610.dtsi +++ /dev/null @@ -1,1075 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/include/ "skeleton.dtsi" - -/ { - model = "Qualcomm MSM 8610"; - compatible = "qcom,msm8610"; - interrupt-parent = <&intc>; - - memory { - qsecom_mem: qsecom_region { - linux,contiguous-region; - reg = <0 0x100000>; - label = "qsecom_mem"; - }; - }; - - aliases { - sdhc1 = &sdhc_1; /* SDC1 eMMC slot */ - sdhc2 = &sdhc_2; /* SDC2 SD card slot */ - spi4 = &spi_4; - }; - - soc: soc { }; -}; - -/include/ "msm8610-camera.dtsi" -/include/ "msm-iommu-v0.dtsi" -/include/ "msm8610-ion.dtsi" -/include/ "msm8610-gpu.dtsi" -/include/ "msm-gdsc.dtsi" -/include/ "msm8610-coresight.dtsi" -/include/ "msm8610-pm.dtsi" -/include/ "msm8610-smp2p.dtsi" -/include/ "msm8610-bus.dtsi" -/include/ "msm8610-mdss.dtsi" - -&soc { - #address-cells = <1>; - #size-cells = <1>; - ranges; - - intc: interrupt-controller@f9000000 { - compatible = "qcom,msm-qgic2"; - interrupt-controller; - #interrupt-cells = <3>; - reg = <0xf9000000 0x1000>, - <0xf9002000 0x1000>; - }; - - msmgpio: gpio@fd510000 { - compatible = "qcom,msm-gpio"; - interrupt-controller; - #interrupt-cells = <2>; - reg = <0xfd510000 0x4000>; - gpio-controller; - #gpio-cells = <2>; - ngpio = <102>; - interrupts = <0 208 0>; - qcom,direct-connect-irqs = <8>; - }; - - qcom,mpm2-sleep-counter@fc4a3000 { - compatible = "qcom,mpm2-sleep-counter"; - reg = <0xfc4a3000 0x1000>; - clock-frequency = <32768>; - }; - - timer { - compatible = "arm,armv7-timer"; - interrupts = <1 2 0 1 3 0>; - clock-frequency = <19200000>; - }; - - 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 8 0x4>, - <0 7 0x4>; - reg = <0xf9021000 0x1000>, - <0xf9022000 0x1000>; - }; - - frame@f9023000 { - frame-number = <1>; - interrupts = <0 9 0x4>; - reg = <0xf9023000 0x1000>; - status = "disabled"; - }; - - frame@f9024000 { - frame-number = <2>; - interrupts = <0 10 0x4>; - reg = <0xf9024000 0x1000>; - status = "disabled"; - }; - - frame@f9025000 { - frame-number = <3>; - interrupts = <0 11 0x4>; - reg = <0xf9025000 0x1000>; - status = "disabled"; - }; - - frame@f9026000 { - frame-number = <4>; - interrupts = <0 12 0x4>; - reg = <0xf9026000 0x1000>; - status = "disabled"; - }; - - frame@f9027000 { - frame-number = <5>; - interrupts = <0 13 0x4>; - reg = <0xf9027000 0x1000>; - status = "disabled"; - }; - - frame@f9028000 { - frame-number = <6>; - interrupts = <0 14 0x4>; - reg = <0xf9028000 0x1000>; - status = "disabled"; - }; - }; - - qcom,msm-adsp-loader { - compatible = "qcom,adsp-loader"; - qcom,adsp-state = <0>; - }; - - qcom,msm-audio-ion { - compatible = "qcom,msm-audio-ion"; - qcom,smmu-enabled; - }; - - qcom,msm-imem@fe805000 { - compatible = "qcom,msm-imem"; - reg = <0xfe805000 0x1000>; /* Address and size of IMEM */ - }; - - serial@f991f000 { - compatible = "qcom,msm-lsuart-v14"; - reg = <0xf991f000 0x1000>; - interrupts = <0 109 0>; - status = "disabled"; - }; - - serial@f991e000 { - compatible = "qcom,msm-lsuart-v14"; - reg = <0xf991e000 0x1000>; - interrupts = <0 108 0>; - status = "disabled"; - }; - - qcom,vidc@fdc00000 { - compatible = "qcom,msm-vidc"; - qcom,vidc-ns-map = <0x40000000 0x40000000>; - qcom,iommu-groups = <&q6_domain_ns>; - qcom,iommu-group-buffer-types = <0xfff>; - qcom,buffer-type-tz-usage-map = <0x1 0x1>, - <0x1fe 0x2>; - qcom,hfi = "q6"; - qcom,max-hw-load = <108000>; /* 720p @ 30 * 1 */ - }; - - qcom,usbbam@f9a44000 { - compatible = "qcom,usb-bam-msm"; - reg = <0xf9a44000 0x11000>; - reg-names = "hsusb"; - interrupts = <0 135 0>; - interrupt-names = "hsusb"; - qcom,usb-bam-num-pipes = <16>; - qcom,usb-bam-fifo-baseaddr = <0xfe803000>; - qcom,ignore-core-reset-ack; - qcom,disable-clk-gating; - - qcom,pipe0 { - label = "hsusb-qdss-in-0"; - qcom,usb-bam-mem-type = <3>; - qcom,bam-type = <1>; - 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 = <0xf9a44000>; - qcom,dst-bam-pipe-index = <2>; - qcom,data-fifo-offset = <0x0>; - qcom,data-fifo-size = <0x600>; - qcom,descriptor-fifo-offset = <0x600>; - qcom,descriptor-fifo-size = <0x200>; - }; - }; - - usb@f9a55000 { - compatible = "qcom,hsusb-otg"; - reg = <0xf9a55000 0x400>; - interrupts = <0 134 0>, <0 140 0>; - interrupt-names = "core_irq", "async_irq"; - HSUSB_VDDCX-supply = <&pm8110_s1>; - HSUSB_1p8-supply = <&pm8110_l10>; - HSUSB_3p3-supply = <&pm8110_l20>; - - qcom,hsusb-otg-phy-type = <2>; - qcom,hsusb-otg-mode = <1>; - qcom,hsusb-otg-otg-control = <2>; - qcom,hsusb-otg-disable-reset; - qcom,dp-manual-pullup; - - qcom,msm-bus,name = "usb2"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,active-only = <0>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <87 512 0 0>, - <87 512 60000 960000>; - }; - - android_usb@fe8050c8 { - compatible = "qcom,android-usb"; - reg = <0xfe8050c8 0xc8>; - }; - - sdcc1: qcom,sdcc@f9824000 { - cell-index = <1>; /* SDC1 eMMC slot */ - compatible = "qcom,msm-sdcc"; - reg = <0xf9824000 0x800>, - <0xf9824800 0x100>, - <0xf9804000 0x7000>; - reg-names = "core_mem", "dml_mem", "bam_mem"; - interrupts = <0 123 0>, <0 137 0>; - interrupt-names = "core_irq", "bam_irq"; - - vdd-supply = <&pm8110_l17>; - qcom,vdd-always-on; - qcom,vdd-lpm-sup; - qcom,vdd-voltage-level = <2900000 2900000>; - qcom,vdd-current-level = <9000 400000>; - - vdd-io-supply = <&pm8110_l6>; - qcom,vdd-io-always-on; - qcom,vdd-io-lpm-sup; - qcom,vdd-io-voltage-level = <1800000 1800000>; - qcom,vdd-io-current-level = <9000 60000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - qcom,sup-voltages = <2900 2900>; - qcom,bus-width = <8>; - qcom,nonremovable; - qcom,bus-speed-mode = "HS200_1p8v", "DDR_1p8v"; - - status = "disabled"; - }; - - sdcc2: qcom,sdcc@f98a4000 { - cell-index = <2>; /* SDC2 SD card slot */ - compatible = "qcom,msm-sdcc"; - reg = <0xf98a4000 0x800>, - <0xf98a4800 0x100>, - <0xf9884000 0x7000>; - reg-names = "core_mem", "dml_mem", "bam_mem"; - interrupts = <0 125 0>, <0 220 0>; - interrupt-names = "core_irq", "bam_irq"; - - vdd-supply = <&pm8110_l18>; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <9000 400000>; - - vdd-io-supply = <&pm8110_l21>; - qcom,vdd-io-voltage-level = <1800000 2950000>; - qcom,vdd-io-current-level = <9000 50000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - qcom,sup-voltages = <2950 2950>; - qcom,bus-width = <4>; - qcom,xpc; - qcom,bus-speed-mode = "SDR12", "SDR25", "SDR50", "DDR50", "SDR104"; - qcom,current-limit = <800>; - - status = "disabled"; - }; - - sdhc_1: sdhci@f9824900 { - compatible = "qcom,sdhci-msm"; - reg = <0xf9824900 0x11c>, <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>; - 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"; - - qcom,bus-width = <4>; - status = "disabled"; - }; - - qcom,sps { - compatible = "qcom,msm_sps"; - qcom,device-type = <3>; - }; - - qcom,smem@d900000 { - compatible = "qcom,smem"; - reg = <0xd900000 0x100000>, - <0xf9011000 0x1000>, - <0xfc428000 0x4000>; - reg-names = "smem", "irq-reg-base", "aux-mem1"; - - qcom,smd-modem { - compatible = "qcom,smd"; - qcom,smd-edge = <0>; - qcom,smd-irq-offset = <0x8>; - qcom,smd-irq-bitmask = <0x1000>; - qcom,pil-string = "modem"; - interrupts = <0 25 1>; - }; - - qcom,smsm-modem { - compatible = "qcom,smsm"; - qcom,smsm-edge = <0>; - qcom,smsm-irq-offset = <0x8>; - qcom,smsm-irq-bitmask = <0x2000>; - interrupts = <0 26 1>; - }; - - qcom,smd-adsp { - compatible = "qcom,smd"; - qcom,smd-edge = <1>; - qcom,smd-irq-offset = <0x8>; - qcom,smd-irq-bitmask = <0x100>; - qcom,pil-string = "adsp"; - interrupts = <0 156 1>; - }; - - qcom,smsm-adsp { - compatible = "qcom,smsm"; - qcom,smsm-edge = <1>; - qcom,smsm-irq-offset = <0x8>; - qcom,smsm-irq-bitmask = <0x200>; - interrupts = <0 157 1>; - }; - - qcom,smd-wcnss { - compatible = "qcom,smd"; - qcom,smd-edge = <6>; - qcom,smd-irq-offset = <0x8>; - qcom,smd-irq-bitmask = <0x20000>; - qcom,pil-string = "wcnss"; - interrupts = <0 142 1>; - }; - - qcom,smsm-wcnss { - compatible = "qcom,smsm"; - qcom,smsm-edge = <6>; - qcom,smsm-irq-offset = <0x8>; - qcom,smsm-irq-bitmask = <0x80000>; - interrupts = <0 144 1>; - }; - - qcom,smd-rpm { - compatible = "qcom,smd"; - qcom,smd-edge = <15>; - qcom,smd-irq-offset = <0x8>; - qcom,smd-irq-bitmask = <0x1>; - interrupts = <0 168 1>; - qcom,irq-no-suspend; - }; - }; - - rpm_bus: qcom,rpm-smd { - compatible = "qcom,rpm-smd"; - rpm-channel-name = "rpm_requests"; - rpm-channel-type = <15>; /* SMD_APPS_RPM */ - rpm-standalone; - }; - - qcom,bcl { - compatible = "qcom,bcl"; - }; - - qcom,msm-mem-hole { - compatible = "qcom,msm-mem-hole"; - qcom,memblock-remove = <0x07B00000 0x6400000>; /* Address and Size of Hole */ - }; - - qcom,wdt@f9017000 { - compatible = "qcom,msm-watchdog"; - reg = <0xf9017000 0x1000>; - interrupts = <0 3 0>, <0 4 0>; - qcom,bark-time = <11000>; - qcom,pet-time = <10000>; - qcom,ipi-ping; - }; - - qcom,acpuclk@f9011050 { - compatible = "qcom,acpuclk-a7"; - reg = <0xf9011050 0x8>; - reg-names = "rcg_base"; - a7_cpu-supply = <&apc_vreg_corner>; - }; - - spmi_bus: qcom,spmi@fc4c0000 { - cell-index = <0>; - 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-ee = <0>; - qcom,pmic-arb-channel = <0>; - }; - - i2c@f9923000 { /* BLSP-1 QUP-1 */ - cell-index = <1>; - compatible = "qcom,i2c-qup"; - #address-cells = <1>; - #size-cells = <0>; - reg-names = "qup_phys_addr"; - reg = <0xf9923000 0x1000>; - interrupt-names = "qup_err_intr"; - interrupts = <0 95 0>; - qcom,i2c-bus-freq = <100000>; - qcom,i2c-src-freq = <19200000>; - qcom,sda-gpio = <&msmgpio 2 0>; - qcom,scl-gpio = <&msmgpio 3 0>; - }; - - i2c_cdc: i2c@f9927000 { /* BLSP1 QUP5 */ - cell-index = <5>; - compatible = "qcom,i2c-qup"; - #address-cells = <1>; - #size-cells = <0>; - reg-names = "qup_phys_addr"; - reg = <0xf9927000 0x1000>; - interrupt-names = "qup_err_intr"; - interrupts = <0 99 0>; - qcom,i2c-bus-freq = <100000>; - }; - - i2c: i2c@f9928000 { /* BLSP1 QUP6 */ - cell-index = <6>; - compatible = "qcom,i2c-qup"; - #address-cells = <1>; - #size-cells = <0>; - reg-names = "qup_phys_addr"; - reg = <0xf9928000 0x1000>; - interrupt-names = "qup_err_intr"; - interrupts = <0 100 0>; - qcom,i2c-bus-freq = <100000>; - qcom,i2c-src-freq = <19200000>; - qcom,sda-gpio = <&msmgpio 16 0>; - qcom,scl-gpio = <&msmgpio 17 0>; - }; - - i2c@f9925000 { /* BLSP-1 QUP-3 */ - cell-index = <0>; - compatible = "qcom,i2c-qup"; - #address-cells = <1>; - #size-cells = <0>; - reg-names = "qup_phys_addr"; - reg = <0xf9925000 0x1000>; - interrupt-names = "qup_err_intr"; - interrupts = <0 97 0>; - qcom,i2c-bus-freq = <100000>; - }; - - spi_4: spi@f9926000 { /* BLSP1 QUP4 */ - compatible = "qcom,spi-qup-v2"; - #address-cells = <1>; - #size-cells = <0>; - reg-names = "spi_physical", "spi_bam_physical"; - reg = <0xf9926000 0x1000>, - <0xf9904000 0x15000>; - interrupt-names = "spi_irq", "spi_bam_irq"; - interrupts = <0 98 0>, <0 238 0>; - spi-max-frequency = <50000000>; - - gpios = <&msmgpio 89 0>, /* CLK */ - <&msmgpio 87 0>, /* MISO */ - <&msmgpio 86 0>; /* MOSI */ - cs-gpios = <&msmgpio 88 0>; - - qcom,infinite-mode = <0>; - qcom,use-bam; - qcom,ver-reg-exists; - qcom,bam-consumer-pipe-index = <18>; - qcom,bam-producer-pipe-index = <19>; - }; - - qcom,pronto@fb21b000 { - compatible = "qcom,pil-pronto"; - reg = <0xfb21b000 0x3000>, - <0xfc401700 0x4>, - <0xfd485300 0xc>; - reg-names = "pmu_base", "clk_base", "halt_base"; - interrupts = <0 149 1>; - vdd_pronto_pll-supply = <&pm8110_l10>; - - qcom,firmware-name = "wcnss"; - - /* GPIO inputs from wcnss */ - qcom,gpio-err-fatal = <&smp2pgpio_ssr_smp2p_4_in 0 0>; - qcom,gpio-err-ready = <&smp2pgpio_ssr_smp2p_4_in 1 0>; - qcom,gpio-proxy-unvote = <&smp2pgpio_ssr_smp2p_4_in 2 0>; - - /* GPIO output to wcnss */ - qcom,gpio-force-stop = <&smp2pgpio_ssr_smp2p_4_out 0 0>; - }; - - qcom,iris-fm { - compatible = "qcom,iris_fm"; - }; - - sound { - compatible = "qcom,msm8x10-audio-codec"; - qcom,model = "msm8x10-snd-card"; - }; - - qcom,msm-pcm { - compatible = "qcom,msm-pcm-dsp"; - qcom,msm-pcm-dsp-id = <0>; - }; - - qcom,msm-pcm-low-latency { - compatible = "qcom,msm-pcm-dsp"; - qcom,msm-pcm-dsp-id = <1>; - qcom,msm-pcm-low-latency; - }; - - qcom,msm-pcm-routing { - compatible = "qcom,msm-pcm-routing"; - }; - - qcom,msm-pcm-lpa { - compatible = "qcom,msm-pcm-lpa"; - }; - - qcom,msm-compr-dsp { - compatible = "qcom,msm-compr-dsp"; - }; - - qcom,msm-voip-dsp { - compatible = "qcom,msm-voip-dsp"; - }; - - qcom,msm-pcm-voice { - compatible = "qcom,msm-pcm-voice"; - }; - - qcom,msm-stub-codec { - compatible = "qcom,msm-stub-codec"; - }; - - qcom,msm-dai-fe { - compatible = "qcom,msm-dai-fe"; - }; - - qcom,msm-pcm-afe { - compatible = "qcom,msm-pcm-afe"; - }; - - qcom,msm-dai-mi2s { - compatible = "qcom,msm-dai-mi2s"; - qcom,msm-dai-q6-mi2s-prim { - compatible = "qcom,msm-dai-q6-mi2s"; - qcom,msm-dai-q6-mi2s-dev-id = <0>; - qcom,msm-mi2s-rx-lines = <0>; - qcom,msm-mi2s-tx-lines = <3>; - }; - - qcom,msm-dai-q6-mi2s-sec { - compatible = "qcom,msm-dai-q6-mi2s"; - qcom,msm-dai-q6-mi2s-dev-id = <1>; - qcom,msm-mi2s-rx-lines = <3>; - qcom,msm-mi2s-tx-lines = <0>; - }; - }; - - qcom,msm-dai-q6 { - compatible = "qcom,msm-dai-q6"; - qcom,msm-dai-q6-bt-sco-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <12288>; - }; - - qcom,msm-dai-q6-bt-sco-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <12289>; - }; - - qcom,msm-dai-q6-int-fm-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <12292>; - }; - - qcom,msm-dai-q6-int-fm-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <12293>; - }; - - qcom,msm-dai-q6-be-afe-pcm-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <224>; - }; - - qcom,msm-dai-q6-be-afe-pcm-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <225>; - }; - - qcom,msm-dai-q6-afe-proxy-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <241>; - }; - - qcom,msm-dai-q6-afe-proxy-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <240>; - }; - - qcom,msm-dai-q6-incall-record-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <32771>; - }; - - qcom,msm-dai-q6-incall-record-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <32772>; - }; - - qcom,msm-dai-q6-incall-music-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <32773>; - }; - }; - - qcom,msm-pcm-hostless { - compatible = "qcom,msm-pcm-hostless"; - }; - - qcom,wcnss-wlan@fb000000 { - compatible = "qcom,wcnss_wlan"; - reg = <0xfb000000 0x280000>, - <0xf9011008 0x04>; - reg-names = "wcnss_mmio", "wcnss_fiq"; - interrupts = <0 145 0>, <0 146 0>; - interrupt-names = "wcnss_wlantx_irq", "wcnss_wlanrx_irq"; - - qcom,pronto-vddmx-supply = <&pm8110_l3>; - qcom,pronto-vddcx-supply = <&pm8110_s1>; - qcom,pronto-vddpx-supply = <&pm8110_l6>; - qcom,iris-vddxo-supply = <&pm8110_l10>; - qcom,iris-vddrfa-supply = <&pm8110_l5>; - qcom,iris-vddpa-supply = <&pm8110_l16>; - qcom,iris-vdddig-supply = <&pm8110_l5>; - - gpios = <&msmgpio 23 0>, <&msmgpio 24 0>, <&msmgpio 25 0>, <&msmgpio 26 0>, <&msmgpio 27 0>; - qcom,has-pronto-hw; - qcom,wlan-rx-buff-count = <256>; - }; - - qcom,mss@fc880000 { - compatible = "qcom,pil-q6v5-mss"; - reg = <0xfc880000 0x100>, - <0xfd485000 0x400>, - <0xfc820000 0x020>, - <0xfc401680 0x004>, - <0xfd485194 0x4>; - reg-names = "qdsp6_base", "halt_base", "rmb_base", - "restart_reg", "cxrail_bhs_reg"; - - interrupts = <0 24 1>; - vdd_cx-supply = <&pm8110_s1_corner>; - vdd_mx-supply = <&pm8110_l3>; - vdd_pll-supply = <&pm8110_l10>; - qcom,vdd_pll = <1800000>; - qcom,is-loadable; - qcom,firmware-name = "mba"; - qcom,pil-self-auth; - - /* 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>; - }; - - qcom,lpass@fe200000 { - compatible = "qcom,pil-q6v5-lpass"; - reg = <0xfe200000 0x00100>, - <0xfd485100 0x00010>, - <0xfc4016c0 0x00004>; - reg-names = "qdsp6_base", "halt_base", "restart_reg"; - interrupts = <0 162 1>; - vdd_cx-supply = <&pm8110_s1_corner>; - 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>; - - /* GPIO output to lpass */ - qcom,gpio-force-stop = <&smp2pgpio_ssr_smp2p_2_out 0 0>; - }; - - tsens: tsens@fc4a8000 { - compatible = "qcom,msm-tsens"; - reg = <0xfc4a8000 0x2000>, - <0xfc4b8000 0x1000>; - reg-names = "tsens_physical", "tsens_eeprom_physical"; - interrupts = <0 184 0>; - qcom,sensors = <2>; - qcom,slope = <2901 2846>; - qcom,calib-mode = "fuse_map3"; - qcom,sensor-id = <0 5>; - }; - - qcom,msm-thermal { - compatible = "qcom,msm-thermal"; - qcom,sensor-id = <5>; - qcom,poll-ms = <250>; - qcom,limit-temp = <60>; - qcom,temp-hysteresis = <10>; - qcom,freq-step = <2>; - qcom,freq-control-mask = <0xf>; - }; - - qcom,ipc-spinlock@fd484000 { - compatible = "qcom,ipc-spinlock-sfpb"; - reg = <0xfd484000 0x400>; - qcom,num-locks = <8>; - }; - - qcom,bam_dmux@fc834000 { - compatible = "qcom,bam_dmux"; - reg = <0xfc834000 0x7000>; - interrupts = <0 29 1>; - }; - - qcom,qseecom@7B00000 { - compatible = "qcom,qseecom"; - reg = <0x7B00000 0x500000>; - reg-names = "secapp-region"; - qcom,disk-encrypt-pipe-pair = <2>; - qcom,hlos-ce-hw-instance = <0>; - qcom,qsee-ce-hw-instance = <0>; - qcom,msm-bus,name = "qseecom-noc"; - qcom,msm-bus,num-cases = <4>; - qcom,msm-bus,active-only = <0>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <55 512 0 0>, - <55 512 3936000 393600>, - <55 512 3936000 393600>, - <55 512 3936000 393600>; - }; - - qcom,msm-rng@f9bff000 { - compatible = "qcom,msm-rng"; - reg = <0xf9bff000 0x200>; - qcom,msm-rng-iface-clk; - }; - - qcom,msm-rtb { - compatible = "qcom,msm-rtb"; - qcom,memory-reservation-type = "EBI1"; - qcom,memory-reservation-size = <0x100000>; /* 1M EBI1 buffer */ - }; - - jtag_mm0: jtagmm@fc34c000 { - compatible = "qcom,jtag-mm"; - reg = <0xfc34c000 0x1000>, - <0xfc340000 0x1000>; - reg-names = "etm-base","debug-base"; - }; - - jtag_mm1: jtagmm@fc34d000 { - compatible = "qcom,jtag-mm"; - reg = <0xfc34d000 0x1000>, - <0xfc342000 0x1000>; - reg-names = "etm-base","debug-base"; - }; - - jtag_mm2: jtagmm@fc34e000 { - compatible = "qcom,jtag-mm"; - reg = <0xfc34e000 0x1000>, - <0xfc344000 0x1000>; - reg-names = "etm-base","debug-base"; - }; - - jtag_mm3: jtagmm@fc34f000 { - compatible = "qcom,jtag-mm"; - reg = <0xfc34f000 0x1000>, - <0xfc346000 0x1000>; - reg-names = "etm-base","debug-base"; - }; - - qcom,tz-log@fe805720 { - compatible = "qcom,tz-log"; - reg = <0x0fe805720 0x1000>; - }; - - qcom,qcrypto@fd404000 { - compatible = "qcom,qcrypto"; - reg = <0xfd400000 0x20000>, - <0xfd404000 0x8000>; - reg-names = "crypto-base","crypto-bam-base"; - interrupts = <0 207 0>; - qcom,bam-pipe-pair = <2>; - qcom,ce-hw-instance = <1>; - qcom,ce-hw-shared; - qcom,msm-bus,name = "qcrypto-noc"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,active-only = <0>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <55 512 0 0>, - <55 512 393600 3936000>; - }; - - qcom,qcedev@fd400000 { - compatible = "qcom,qcedev"; - reg = <0xfd400000 0x20000>, - <0xfd404000 0x8000>; - reg-names = "crypto-base","crypto-bam-base"; - interrupts = <0 207 0>; - qcom,bam-pipe-pair = <1>; - qcom,ce-hw-instance = <1>; - qcom,ce-hw-shared; - qcom,msm-bus,name = "qcedev-noc"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,active-only = <0>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <55 512 0 0>, - <55 512 393600 3936000>; - }; - -}; - -&gdsc_vfe { - status = "ok"; -}; - -&gdsc_oxili_cx { - status = "ok"; -}; - -&lpass_iommu { - status = "ok"; -}; - -&copss_iommu { - status = "ok"; -}; - -&mdpe_iommu { - status = "ok"; -}; - -&mdps_iommu { - status = "ok"; -}; - -&gfx_iommu { - status = "ok"; -}; - -&vfe_iommu { - status = "ok"; -}; - -/include/ "msm8610-iommu-domains.dtsi" - -/include/ "msm-pm8110-rpm-regulator.dtsi" -/include/ "msm-pm8110.dtsi" -/include/ "msm8610-regulator.dtsi" - -&pm8110_vadc { - chan@0 { - label = "usb_in"; - reg = <0>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <4>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@2 { - label = "vchg_sns"; - reg = <2>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <2>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@5 { - label = "vcoin"; - reg = <5>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <1>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@6 { - label = "vbat_sns"; - reg = <6>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <1>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@7 { - label = "vph_pwr"; - reg = <7>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <1>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <0>; - }; - - chan@30 { - label = "batt_therm"; - reg = <0x30>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <1>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@31 { - label = "batt_id"; - reg = <0x31>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@b2 { - label = "xo_therm_pu2"; - reg = <0xb2>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <4>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@13 { - label = "pa_therm0"; - reg = <0x13>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; -}; - -&pm8110_adc_tm { - /* Channel Node */ - chan@30 { - label = "batt_therm"; - reg = <0x30>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <1>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <3>; - qcom,btm-channel-number = <0x48>; - }; - - chan@8 { - label = "die_temp"; - reg = <8>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <3>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <3>; - qcom,btm-channel-number = <0x68>; - }; - - chan@6 { - label = "vbat_sns"; - reg = <6>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <1>; - qcom,calibration-type = "absolute"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <0>; - qcom,fast-avg-setup = <3>; - qcom,btm-channel-number = <0x70>; - }; - - chan@13 { - label = "pa_therm0"; - reg = <0x13>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - qcom,btm-channel-number = <0x78>; - qcom,thermal-node; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8660-surf.dts b/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8660-surf.dts deleted file mode 100644 index 4518fc4a3..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8660-surf.dts +++ /dev/null @@ -1,24 +0,0 @@ -/dts-v1/; - -/include/ "skeleton.dtsi" - -/ { - model = "Qualcomm MSM8660 SURF"; - compatible = "qcom,msm8660-surf", "qcom,msm8660", "qcom,surf"; - interrupt-parent = <&intc>; - - intc: interrupt-controller@02080000 { - compatible = "qcom,msm-8660-qgic"; - interrupt-controller; - #interrupt-cells = <3>; - reg = < 0x02080000 0x1000 >, - < 0x02081000 0x1000 >; - }; - - serial@19c400000 { - compatible = "qcom,msm-hsuart", "qcom,msm-uart"; - reg = <0x19c40000 0x1000>, - <0x19c00000 0x1000>; - interrupts = <0 195 0x0>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8926-cdp.dts b/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8926-cdp.dts deleted file mode 100644 index 7a91d40ee..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8926-cdp.dts +++ /dev/null @@ -1,22 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - - -/dts-v1/; -/include/ "msm8926.dtsi" -/include/ "msm8226-cdp.dtsi" - -/ { - model = "Qualcomm MSM 8926 CDP"; - compatible = "qcom,msm8926-cdp", "qcom,msm8926", "qcom,cdp"; - qcom,msm-id = <200 1 0>; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8926-mtp.dts b/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8926-mtp.dts deleted file mode 100644 index fea925d62..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8926-mtp.dts +++ /dev/null @@ -1,22 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - - -/dts-v1/; -/include/ "msm8926.dtsi" -/include/ "msm8226-mtp.dtsi" - -/ { - model = "Qualcomm MSM 8926 MTP"; - compatible = "qcom,msm8926-mtp", "qcom,msm8926", "qcom,mtp"; - qcom,msm-id = <200 8 0>; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8926-qrd.dts b/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8926-qrd.dts deleted file mode 100644 index e056b7e87..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8926-qrd.dts +++ /dev/null @@ -1,21 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; -/include/ "msm8926.dtsi" -/include/ "msm8226-qrd.dtsi" - -/ { - model = "Qualcomm MSM 8926 QRD"; - compatible = "qcom,msm8926-qrd", "qcom,msm8926", "qcom,qrd"; - qcom,msm-id = <200 11 0>; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8926.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8926.dtsi deleted file mode 100644 index 6f3f59251..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8926.dtsi +++ /dev/null @@ -1,30 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/* - * Only 8926-specific property overrides should be placed inside this - * file. Device definitions should be placed inside the msm8226.dtsi - * file. - */ - -/include/ "msm8226.dtsi" - -/ { - model = "Qualcomm MSM 8926"; - compatible = "qcom,msm8926"; -}; - -&soc { - qcom,mss@fc880000 { - vdd_mss-supply = <&pm8226_s5>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8974-bus.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8974-bus.dtsi deleted file mode 100644 index 609a1b302..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8974-bus.dtsi +++ /dev/null @@ -1,1411 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -&soc { - msm-mmss-noc@fc478000 { - compatible = "msm-bus-fabric"; - reg = <0xfc478000 0x00004000>; - cell-id = <2048>; - label = "msm_mmss_noc"; - qcom,fabclk-dual = "bus_clk"; - qcom,fabclk-active = "bus_a_clk"; - qcom,ntieredslaves = <0>; - qcom,qos-freq = <4800>; - qcom,hw-sel = "NoC"; - qcom,rpm-en; - - coresight-id = <52>; - coresight-name = "coresight-mnoc"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_in0>; - coresight-child-ports = <5>; - - mas-gfx3d { - cell-id = <26>; - label = "mas-gfx3d"; - qcom,masterp = <2 3>; - qcom,tier = <2>; - qcom,hw-sel = "NoC"; - qcom,perm-mode = "Bypass"; - qcom,mode = "Bypass"; - qcom,ws = <10000>; - qcom,qport = <2 3>; - qcom,mas-hw-id = <6>; - }; - - mas-jpeg { - cell-id = <62>; - label = "mas-jpeg"; - qcom,masterp = <4>; - qcom,tier = <2>; - qcom,hw-sel = "NoC"; - qcom,perm-mode = "Bypass"; - qcom,mode = "Bypass"; - qcom,qport = <0>; - qcom,ws = <10000>; - qcom,mas-hw-id = <7>; - }; - - mas-mdp-port0 { - cell-id = <22>; - label = "mas-mdp-port0"; - qcom,masterp = <5>; - qcom,tier = <2>; - qcom,hw-sel = "NoC"; - qcom,perm-mode = "Bypass"; - qcom,mode = "Bypass"; - qcom,qport = <1>; - qcom,ws = <10000>; - qcom,mas-hw-id = <8>; - }; - - mas-video-p0 { - cell-id = <63>; - label = "mas-video-p0"; - qcom,masterp = <6 7>; - qcom,tier = <2>; - qcom,hw-sel = "NoC"; - qcom,perm-mode = "Bypass"; - qcom,mode = "Bypass"; - qcom,ws = <10000>; - qcom,qport = <4 5>; - qcom,mas-hw-id = <9>; - }; - - mas-vfe { - cell-id = <29>; - label = "mas-vfe"; - qcom,masterp = <16>; - qcom,tier = <2>; - qcom,hw-sel = "NoC"; - qcom,perm-mode = "Bypass"; - qcom,mode = "Bypass"; - qcom,ws = <10000>; - qcom,qport = <6>; - qcom,mas-hw-id = <11>; - }; - - fab-cnoc { - cell-id = <5120>; - label = "fab-cnoc"; - qcom,gateway; - qcom,masterp = <0 1>; - qcom,buswidth = <16>; - qcom,hw-sel = "RPM"; - qcom,mas-hw-id = <4>; - }; - - fab-bimc { - cell-id = <0>; - label = "fab-bimc"; - qcom,gateway; - qcom,slavep = <16 17>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <16>; - }; - - slv-camera-cfg { - cell-id = <589>; - label = "slv-camera-cfg"; - qcom,slavep = <0>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <3>; - }; - - slv-display-cfg { - cell-id = <590>; - label = "slv-display-cfg"; - qcom,slavep = <1>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <4>; - }; - - slv-ocmem-cfg { - cell-id = <591>; - label = "slv-ocmem-cfg"; - qcom,slavep = <2>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <5>; - }; - - slv-cpr-cfg { - cell-id = <592>; - label = "slv-cpr-cfg"; - qcom,slavep = <3>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <6>; - }; - - slv-cpr-xpu-cfg { - cell-id = <593>; - label = "slv-cpr-xpu-cfg"; - qcom,slavep = <4>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <7>; - }; - - slv-misc-cfg { - cell-id = <594>; - label = "slv-misc-cfg"; - qcom,slavep = <6>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <8>; - }; - - slv-misc-xpu-cfg { - cell-id = <595>; - label = "slv-misc-xpu-cfg"; - qcom,slavep = <7>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <9>; - }; - - slv-venus-cfg { - cell-id = <596>; - label = "slv-venus-cfg"; - qcom,slavep = <8>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <10>; - }; - - slv-gfx3d-cfg { - cell-id = <598>; - label = "slv-gfx3d-cfg"; - qcom,slavep = <9>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <11>; - }; - - slv-mmss-clk-cfg { - cell-id = <599>; - label = "slv-mmss-clk-cfg"; - qcom,slavep = <11>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <12>; - }; - - slv-mmss-clk-xpu-cfg { - cell-id = <600>; - label = "slv-mmss-clk-xpu-cfg"; - qcom,slavep = <12>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <13>; - }; - - slv-mnoc-mpu-cfg { - cell-id = <601>; - label = "slv-mnoc-mpu-cfg"; - qcom,slavep = <13>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <14>; - }; - - slv-onoc-mpu-cfg { - cell-id = <602>; - label = "slv-onoc-mpu-cfg"; - qcom,slavep = <14>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <15>; - }; - - slv-service-mnoc { - cell-id = <603>; - label = "slv-service-mnoc"; - qcom,slavep = <18>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,hw-sel = "NoC"; - qcom,slv-hw-id = <17>; - }; - - }; - - msm-sys-noc@fc460000 { - compatible = "msm-bus-fabric"; - reg = <0xfc460000 0x00004000>; - cell-id = <1024>; - label = "msm_sys_noc"; - qcom,fabclk-dual = "bus_clk"; - qcom,fabclk-active = "bus_a_clk"; - qcom,ntieredslaves = <0>; - qcom,qos-freq = <4800>; - qcom,hw-sel = "NoC"; - qcom,rpm-en; - - coresight-id = <50>; - coresight-name = "coresight-snoc"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_in0>; - coresight-child-ports = <3>; - - msm-lpass-ahb { - cell-id = <52>; - label = "mas-lpass-ahb"; - qcom,masterp = <0>; - qcom,tier = <2>; - qcom,qport = <0>; - qcom,mas-hw-id = <18>; - qcom,mode = "Fixed"; - qcom,prio1 = <2>; - qcom,prio0 = <2>; - }; - - mas-qdss-bam { - cell-id = <53>; - label = "mas-qdss-bam"; - qcom,masterp = <1>; - qcom,tier = <2>; - qcom,mode = "Fixed"; - qcom,qport = <1>; - qcom,mas-hw-id = <19>; - qcom,prio1 = <1>; - qcom,prio0 = <1>; - qcom,hw-sel = "NoC"; - }; - - mas-snoc-cfg { - cell-id = <54>; - label = "mas-snoc-cfg"; - qcom,masterp = <2>; - qcom,tier = <2>; - qcom,mas-hw-id = <20>; - }; - - fab-bimc { - cell-id = <0>; - label= "fab-bimc"; - qcom,gateway; - qcom,slavep = <7 8>; - qcom,masterp = <3>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <21>; - qcom,slv-hw-id = <24>; - }; - - fab-cnoc { - cell-id = <5120>; - label = "fab-cnoc"; - qcom,gateway; - qcom,slavep = <9>; - qcom,masterp = <4>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <22>; - qcom,slv-hw-id = <25>; - }; - - fab-pnoc { - cell-id = <4096>; - label = "fab-pnoc"; - qcom,gateway; - qcom,slavep = <12>; - qcom,masterp = <11>; - qcom,buswidth = <8>; - qcom,qport = <8>; - qcom,mas-hw-id = <29>; - qcom,slv-hw-id = <28>; - qcom,mode = "Fixed"; - qcom,prio1 = <2>; - qcom,prio0 = <2>; - }; - - fab-ovnoc { - cell-id = <6144>; - label = "fab-ovnoc"; - qcom,gateway; - qcom,buswidth = <8>; - qcom,mas-hw-id = <53>; - qcom,slv-hw-id = <77>; - }; - - mas-crypto-core0 { - cell-id = <55>; - label = "mas-crypto-core0"; - qcom,masterp = <5>; - qcom,tier = <2>; - qcom,mode = "Fixed"; - qcom,qport = <2>; - qcom,mas-hw-id = <23>; - qcom,hw-sel = "NoC"; - qcom,prio1 = <1>; - qcom,prio0 = <1>; - }; - - mas-crypto-core1 { - cell-id = <56>; - label = "mas-crypto-core1"; - qcom,masterp = <6>; - qcom,tier = <2>; - qcom,mode = "Fixed"; - qcom,qport = <3>; - qcom,mas-hw-id = <24>; - qcom,hw-sel = "NoC"; - qcom,prio1 = <1>; - qcom,prio0 = <1>; - }; - - mas-lpass-proc { - cell-id = <11>; - label = "mas-lpass-proc"; - qcom,masterp = <7>; - qcom,tier = <2>; - qcom,qport = <4>; - qcom,mas-hw-id = <25>; - qcom,mode = "Fixed"; - qcom,prio1 = <2>; - qcom,prio0 = <2>; - }; - - mas-mss { - cell-id = <38>; - label = "mas-mss"; - qcom,masterp = <8>; - qcom,tier = <2>; - qcom,mas-hw-id = <26>; - }; - - mas-mss-nav { - cell-id = <57>; - label = "mas-mss-nav"; - qcom,masterp = <9>; - qcom,tier = <2>; - qcom,mas-hw-id = <27>; - }; - - mas-ocmem-dma { - cell-id = <58>; - label = "mas-ocmem-dma"; - qcom,masterp = <10>; - qcom,tier = <2>; - qcom,mode = "Fixed"; - qcom,qport = <7>; - qcom,mas-hw-id = <28>; - }; - - mas-wcss { - cell-id = <59>; - label = "mas-wcss"; - qcom,masterp = <12>; - qcom,tier = <2>; - qcom,mas-hw-id = <30>; - }; - - mas-qdss-etr { - cell-id = <60>; - label = "mas-qdss-etr"; - qcom,masterp = <13>; - qcom,tier = <2>; - qcom,qport = <10>; - qcom,mode = "Fixed"; - qcom,mas-hw-id = <31>; - qcom,prio1 = <1>; - qcom,prio0 = <1>; - qcom,hw-sel = "NoC"; - }; - - mas-usb3 { - cell-id = <61>; - label = "mas-usb3"; - qcom,masterp = <14>; - qcom,tier = <2>; - qcom,mode = "Fixed"; - qcom,qport = <11>; - qcom,mas-hw-id = <32>; - qcom,prio1 = <1>; - qcom,prio0 = <1>; - qcom,hw-sel = "NoC"; - qcom,iface-clk-node = "msm_usb3"; - }; - - slv-ampss { - cell-id = <520>; - label = "slv-ampss"; - qcom,slavep = <1>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <20>; - }; - - slv-lpass { - cell-id = <522>; - label = "slv-lpass"; - qcom,slavep = <2>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <21>; - }; - - slv-usb3 { - cell-id = <583>; - label = "slv-usb3"; - qcom,slavep = <4>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <22>; - }; - - slv-wcss { - cell-id = <584>; - label = "slv-wcss"; - qcom,slavep = <6>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <23>; - }; - - slv-ocimem { - cell-id = <585>; - label = "slv-ocimem"; - qcom,slavep = <10>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <26>; - }; - - slv-snoc-ocmem { - cell-id = <586>; - label = "slv-snoc-ocmem"; - qcom,slavep = <11>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <27>; - }; - - slv-service-snoc { - cell-id = <587>; - label = "slv-service-snoc"; - qcom,slavep = <13>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <29>; - }; - - slv-qdss-stm { - cell-id = <588>; - label = "slv-qdss-stm"; - qcom,slavep = <14>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <30>; - }; - - }; - - msm-periph-noc@fc468000 { - compatible = "msm-bus-fabric"; - reg = <0xfc468000 0x00004000>; - cell-id = <4096>; - label = "msm_periph_noc"; - qcom,fabclk-dual = "bus_clk"; - qcom,fabclk-active = "bus_a_clk"; - qcom,ntieredslaves = <0>; - qcom,hw-sel = "NoC"; - qcom,rpm-en; - - coresight-id = <54>; - coresight-name = "coresight-pnoc"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_in0>; - coresight-child-ports = <6>; - - mas-pnoc-cfg { - cell-id = <88>; - label = "mas-pnoc-cfg"; - qcom,masterp = <10>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <43>; - }; - - mas-sdcc-1 { - cell-id = <78>; - label = "mas-sdcc-1"; - qcom,masterp = <0>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <33>; - }; - - mas-sdcc-3 { - cell-id = <79>; - label = "mas-sdcc-3"; - qcom,masterp = <1>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <34>; - }; - - mas-sdcc-4 { - cell-id = <80>; - label = "mas-sdcc-4"; - qcom,masterp = <3>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <36>; - }; - - mas-sdcc-2 { - cell-id = <81>; - label = "mas-sdcc-2"; - qcom,masterp = <2>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <35>; - }; - - mas-tsif { - cell-id = <82>; - label = "mas-tsif"; - qcom,masterp = <4>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <37>; - }; - - mas-bam-dma { - cell-id = <83>; - label = "mas-bam-dma"; - qcom,masterp = <5>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <38>; - }; - - mas-blsp-2 { - cell-id = <84>; - label = "mas-blsp-2"; - qcom,masterp = <6>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <39>; - }; - - mas-usb-hsic { - cell-id = <85>; - label = "mas-usb-hsic"; - qcom,masterp = <7>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <40>; - }; - - mas-blsp-1 { - cell-id = <86>; - label = "mas-blsp-1"; - qcom,masterp = <8>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <41>; - }; - - mas-usb-hs { - cell-id = <87>; - label = "mas-usb-hs"; - qcom,masterp = <9>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <42>; - }; - - fab-snoc { - cell-id = <1024>; - label = "fab-snoc"; - qcom,gateway; - qcom,slavep = <14>; - qcom,masterp = <11>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <45>; - qcom,mas-hw-id = <44>; - }; - - slv-sdcc-1 { - cell-id = <606>; - label = "slv-sdcc-1"; - qcom,slavep = <0>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <31>; - }; - - slv-sdcc-3 { - cell-id = <607>; - label = "slv-sdcc-3"; - qcom,slavep = <1>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <32>; - }; - - slv-sdcc-2 { - cell-id = <608>; - label = "slv-sdcc-2"; - qcom,slavep = <2>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <33>; - }; - - slv-sdcc-4 { - cell-id = <609>; - label = "slv-sdcc-4"; - qcom,slavep = <3>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <34>; - }; - - slv-tsif { - cell-id = <575>; - label = "slv-tsif"; - qcom,slavep = <4>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <35>; - }; - - slv-bam-dma { - cell-id = <610>; - label = "slv-bam-dma"; - qcom,slavep = <5>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <36>; - }; - - slv-blsp-2 { - cell-id = <611>; - label = "slv-blsp-2"; - qcom,slavep = <6>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <37>; - }; - - slv-usb-hsic { - cell-id = <612>; - label = "slv-usb-hsic"; - qcom,slavep = <7>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <38>; - }; - - slv-blsp-1 { - cell-id = <613>; - label = "slv-blsp-1"; - qcom,slavep = <8>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <39>; - }; - - slv-usb-hs { - cell-id = <614>; - label = "slv-usb-hs"; - qcom,slavep = <9>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <40>; - }; - - slv-pdm { - cell-id = <615>; - label = "slv-pdm"; - qcom,slavep = <10>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <41>; - }; - - slv-periph-apu-cfg { - cell-id = <616>; - label = "slv-periph-apu-cfg"; - qcom,slavep = <11>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <42>; - }; - - slv-pnoc-mpu-cfg { - cell-id = <617>; - label = "slv-pnoc-mpu-cfg"; - qcom,slavep = <12>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <43>; - }; - - slv-prng { - cell-id = <618>; - label = "slv-prng"; - qcom,slavep = <13>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <44>; - }; - - slv-service-pnoc { - cell-id = <619>; - label = "slv-service-pnoc"; - qcom,slavep = <15>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <46>; - }; - - }; - - msm-config-noc@fc480000 { - compatible = "msm-bus-fabric"; - reg = <0xfc480000 0x00004000>; - cell-id = <5120>; - label = "msm_config_noc"; - qcom,fabclk-dual = "bus_clk"; - qcom,fabclk-active = "bus_a_clk"; - qcom,ntieredslaves = <0>; - qcom,hw-sel = "NoC"; - qcom,rpm-en; - - mas-rpm-inst { - cell-id = <72>; - label = "mas-rpm-inst"; - qcom,masterp = <0>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <45>; - }; - - mas-rpm-data { - cell-id = <73>; - label = "mas-rpm-data"; - qcom,masterp = <1>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <46>; - }; - - mas-rpm-sys { - cell-id = <74>; - label = "mas-rpm-sys"; - qcom,masterp = <2>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <47>; - }; - - mas-dehr { - cell-id = <75>; - label = "mas-dehr"; - qcom,masterp = <3>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <48>; - }; - - mas-qdss-dsp { - cell-id = <76>; - label = "mas-qdss-dap"; - qcom,masterp = <4>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <49>; - }; - - mas-spdm { - cell-id = <36>; - label = "mas-spdm"; - qcom,masterp = <5>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <50>; - }; - - mas-tic { - cell-id = <77>; - label = "mas-tic"; - qcom,masterp = <6>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <51>; - }; - - slv-clk-ctl { - cell-id = <620>; - label = "slv-clk-ctl"; - qcom,slavep = <1>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <47>; - }; - - slv-cnoc-mss { - cell-id = <621>; - label = "slv-cnoc-mss"; - qcom,slavep = <2>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <48>; - }; - - slv-security { - cell-id = <622>; - label = "slv-security"; - qcom,slavep = <3>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <49>; - }; - - slv-tcsr { - cell-id = <623>; - label = "slv-tcsr"; - qcom,slavep = <4>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <50>; - }; - - slv-tlmm { - cell-id = <624>; - label = "slv-tlmm"; - qcom,slavep = <5>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <51>; - }; - - slv-crypto-0-cfg { - cell-id = <625>; - label = "slv-crypto-0-cfg"; - qcom,slavep = <6>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <52>; - }; - - slv-crypto-1-cfg { - cell-id = <626>; - label = "slv-crypto-1-cfg"; - qcom,slavep = <7>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <53>; - }; - - slv-imem-cfg { - cell-id = <627>; - label = "slv-imem-cfg"; - qcom,slavep = <8>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <54>; - }; - - slv-message-ram { - cell-id = <628>; - label = "slv-message-ram"; - qcom,slavep = <9>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <55>; - }; - - slv-bimc-cfg { - cell-id = <629>; - label = "slv-bimc-cfg"; - qcom,slavep = <10>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <56>; - }; - - slv-boot-rom { - cell-id = <630>; - label = "slv-boot-rom"; - qcom,slavep = <11>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <57>; - }; - - slv-pmic-arb { - cell-id = <632>; - label = "slv-pmic-arb"; - qcom,slavep = <13>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <59>; - }; - - slv-spdm-wrapper { - cell-id = <633>; - label = "slv-spdm-wrapper"; - qcom,slavep = <14>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <60>; - }; - - slv-dehr-cfg { - cell-id = <634>; - label = "slv-dehr-cfg"; - qcom,slavep = <15>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <61>; - }; - - slv-mpm { - cell-id = <536>; - label = "slv-mpm"; - qcom,slavep = <16>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <62>; - }; - - slv-qdss-cfg { - cell-id = <635>; - label = "slv-qdss-cfg"; - qcom,slavep = <17>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <63>; - }; - - slv-rbcpr-cfg { - cell-id = <636>; - label = "slv-rbcpr-cfg"; - qcom,slavep = <18>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <64>; - }; - - slv-rbcpr-qdss-apu-cfg { - cell-id = <637>; - label = "slv-rbcpr-qdss-apu-cfg"; - qcom,slavep = <19>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <65>; - }; - - fab-snoc { - cell-id = <1024>; - label = "fab-snoc"; - qcom,gateway; - qcom,slavep = <29>; - qcom,masterp = <7>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <52>; - qcom,slv-hw-id = <75>; - }; - - slv-cnoc-onoc-cfg { - cell-id = <639>; - label = "slv-cnoc-onoc-cfg"; - qcom,slavep = <22>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <68>; - }; - - slv-cnoc-mnoc-mmss-cfg { - cell-id = <631>; - label = "slv-cnoc-mnoc-mmss-cfg"; - qcom,slavep = <12>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <58>; - }; - - slv-cnoc-mnoc-cfg { - cell-id = <640>; - label = "slv-cnoc-mnoc-cfg"; - qcom,slavep = <20>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <66>; - }; - - slv-pnoc-cfg { - cell-id = <641>; - label = "slv-pnoc-cfg"; - qcom,slavep = <23>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <69>; - }; - - slv-snoc-mpu-cfg { - cell-id = <638>; - label = "slv-snoc-mpu-cfg"; - qcom,slavep = <21>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <67>; - }; - - slv-snoc-cfg { - cell-id = <642>; - label = "slv-snoc-cfg"; - qcom,slavep = <24>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <70>; - }; - - slv-ebi1-dll-cfg { - cell-id = <643>; - label = "slv-ebi1-dll-cfg"; - qcom,slavep = <25>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <71>; - }; - - slv-phy-apu-cfg { - cell-id = <644>; - label = "slv-phy-apu-cfg"; - qcom,slavep = <26>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <72>; - }; - - slv-ebi1-phy-cfg { - cell-id = <645>; - label = "slv-ebi1-phy-cfg"; - qcom,slavep = <27>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <73>; - }; - - slv-rpm { - cell-id = <534>; - label = "slv-rpm"; - qcom,slavep = <28>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <74>; - }; - - slv-service-cnoc { - cell-id = <646>; - label = "slv-service-cnoc"; - qcom,slavep = <30>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <76>; - }; - - }; - - msm-bimc@0xfc380000 { - compatible = "msm-bus-fabric"; - reg = <0xfc380000 0x0006A000>; - cell-id = <0>; - label = "msm_bimc"; - qcom,fabclk-dual = "mem_clk"; - qcom,fabclk-active = "mem_a_clk"; - qcom,ntieredslaves = <0>; - qcom,qos-freq = <19200>; - qcom,hw-sel = "BIMC"; - qcom,rpm-en; - - coresight-id = <55>; - coresight-name = "coresight-bimc"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_in1>; - coresight-child-ports = <3>; - - mas-ampss-m0 { - cell-id = <1>; - label = "mas-ampss-m0"; - qcom,masterp = <0>; - qcom,tier = <2>; - qcom,hw-sel = "BIMC"; - qcom,mode = "Limiter"; - qcom,qport = <0>; - qcom,ws = <10000>; - qcom,mas-hw-id = <0>; - qcom,prio-rd = <0>; - qcom,prio-wr = <0>; - qcom,mode-thresh = "Fixed"; - qcom,thresh = <2000000>; - qcom,dual-conf; - qcom,bimc,bw = <300000>; - qcom,bimc,gp = <5>; - qcom,bimc,thmp = <50>; - }; - - mas-ampss-m1 { - cell-id = <2>; - label = "mas-ampss-m1"; - qcom,masterp = <1>; - qcom,tier = <2>; - qcom,hw-sel = "BIMC"; - qcom,mode = "Limiter"; - qcom,qport = <1>; - qcom,ws = <10000>; - qcom,mas-hw-id = <0>; - qcom,prio-rd = <0>; - qcom,prio-wr = <0>; - qcom,mode-thresh = "Fixed"; - qcom,thresh = <2000000>; - qcom,dual-conf; - qcom,bimc,bw = <300000>; - qcom,bimc,gp = <5>; - qcom,bimc,thmp = <50>; - }; - - mas-mss-proc { - cell-id = <65>; - label = "mas-mss-proc"; - qcom,masterp = <2>; - qcom,tier = <2>; - qcom,hw-sel = "RPM"; - qcom,mas-hw-id = <1>; - }; - - fab-mmss-noc { - cell-id = <2048>; - label = "fab_mmss_noc"; - qcom,gateway; - qcom,masterp = <3 4>; - qcom,qport = <3 4>; - qcom,buswidth = <8>; - qcom,ws = <10000>; - qcom,mas-hw-id = <2>; - qcom,hw-sel = "BIMC"; - qcom,mode = "Bypass"; - }; - - fab-snoc { - cell-id = <1024>; - label = "fab-snoc"; - qcom,gateway; - qcom,slavep = <3>; - qcom,masterp = <5 6>; - qcom,qport = <5 6>; - qcom,buswidth = <8>; - qcom,ws = <10000>; - qcom,mas-hw-id = <3>; - qcom,slv-hw-id = <2>; - qcom,mode = "Bypass"; - qcom,hw-sel = "RPM"; - }; - - slv-ebi-ch0 { - cell-id = <512>; - label = "slv-ebi-ch0"; - qcom,slavep = <0 1>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <0>; - qcom,mode = "Bypass"; - }; - - slv-ampss-l2 { - cell-id = <514>; - label = "slv-ampss-l2"; - qcom,slavep = <2>; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,slv-hw-id = <1>; - }; - }; - - msm-ocmem-vnoc@6144 { - compatible = "msm-bus-fabric"; - reg = <0x6144 0x2>; - cell-id = <6144>; - label = "msm-ocmem-vnoc"; - qcom,ntieredslaves = <0>; - qcom,hw-sel = "NoC"; - qcom,rpm-en; - qcom,virt; - - mas-v-ocmem-gfx3d { - cell-id = <89>; - label = "mas-v-ocmem-gfx3d"; - qcom,tier = <2>; - qcom,buswidth = <8>; - qcom,mas-hw-id = <55>; - }; - - slv-ocmem { - cell-id = <604>; - label = "slv-ocmem"; - qcom,slavep = <0 1>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,slv-hw-id = <18>; - qcom,slaveclk-dual = "ocmem_clk"; - qcom,slaveclk-active = "ocmem_a_clk"; - }; - - fab-snoc { - cell-id = <1024>; - label = "fab-snoc"; - qcom,gateway; - qcom,buswidth = <8>; - qcom,ws = <10000>; - qcom,mas-hw-id = <57>; - qcom,slv-hw-id = <80>; - }; - - fab-onoc { - cell-id = <3072>; - label = "fab-onoc"; - qcom,gateway; - qcom,buswidth = <16>; - qcom,ws = <10000>; - qcom,mas-hw-id = <56>; - qcom,slv-hw-id = <79>; - }; - - }; - - msm-ocmem-noc@fc470000 { - compatible = "msm-bus-fabric"; - reg = <0xfc470000 0x00004000>; - cell-id = <3072>; - label = "msm_ocmem_noc"; - qcom,fabclk-dual = "bus_clk"; - qcom,fabclk-active = "bus_a_clk"; - qcom,ntieredslaves = <0>; - qcom,qos-freq = <4800>; - qcom,hw-sel = "NoC"; - qcom,rpm-en; - - coresight-id = <51>; - coresight-name = "coresight-onoc"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_in0>; - coresight-child-ports = <4>; - - fab-ocmem-vnoc { - cell-id = <6144>; - label = "fab-ocmem-vnoc"; - qcom,gateway; - qcom,buswidth = <16>; - qcom,mas-hw-id = <54>; - qcom,slv-hw-id = <78>; - }; - - mas-jpeg-ocmem { - cell-id = <66>; - label = "mas-jpeg-ocmem"; - qcom,masterp = <1>; - qcom,tier = <2>; - qcom,perm-mode = "Fixed"; - qcom,mode = "Fixed"; - qcom,qport = <0>; - qcom,mas-hw-id = <13>; - qcom,hw-sel = "NoC"; - }; - - mas-mdp-ocmem { - cell-id = <67>; - label = "mas-mdp-ocmem"; - qcom,masterp = <2>; - qcom,tier = <2>; - qcom,perm-mode = "Fixed"; - qcom,mode = "Fixed"; - qcom,mas-hw-id = <14>; - qcom,hw-sel = "NoC"; - }; - - mas-video-ocmem { - cell-id = <68>; - label = "mas-video-ocmem"; - qcom,masterp = <3 4>; - qcom,tier = <2>; - qcom,perm-mode = "Fixed"; - qcom,mode = "Fixed"; - qcom,qport = <2 3>; - qcom,mas-hw-id = <15>; - qcom,hw-sel = "NoC"; - }; - - mas-vfe-ocmem { - cell-id = <70>; - label = "mas-vfe-ocmem"; - qcom,masterp = <5>; - qcom,tier = <2>; - qcom,perm-mode = "Fixed"; - qcom,mode = "Fixed"; - qcom,qport = <4>; - qcom,mas-hw-id = <17>; - qcom,hw-sel = "NoC"; - qcom,prio-rd = <1>; - qcom,prio-wr = <1>; - }; - - mas-cnoc-onoc-cfg { - cell-id = <71>; - label = "mas-cnoc-onoc-cfg"; - qcom,masterp = <0>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,mas-hw-id = <12>; - qcom,hw-sel = "NoC"; - }; - - slv-service-onoc { - cell-id = <605>; - label = "slv-service-onoc"; - qcom,slavep = <2>; - qcom,tier = <2>; - qcom,buswidth = <16>; - qcom,slv-hw-id = <19>; - }; - }; -}; - - diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8974-camera-sensor-cdp.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8974-camera-sensor-cdp.dtsi deleted file mode 100644 index 4a9820dab..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8974-camera-sensor-cdp.dtsi +++ /dev/null @@ -1,189 +0,0 @@ -/* - * Copyright (c) 2012-2013, 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. - */ - -&cci { - - actuator0: qcom,actuator@18 { - cell-index = <0>; - reg = <0x18 0x0>; - compatible = "qcom,actuator"; - qcom,cci-master = <0>; - }; - - actuator1: qcom,actuator@36 { - cell-index = <1>; - reg = <0x36>; - compatible = "qcom,actuator"; - qcom,cci-master = <0>; - }; - - qcom,camera@6e { - compatible = "qcom,s5k3l1yx"; - reg = <0x6e 0x0>; - qcom,slave-id = <0x6e 0x0 0x3121>; - qcom,csiphy-sd-index = <0>; - qcom,csid-sd-index = <0>; - qcom,actuator-src = <&actuator0>; - qcom,mount-angle = <90>; - qcom,sensor-name = "s5k3l1yx"; - qcom,vdd-cx-supply = <&pm8841_s2>; - qcom,vdd-cx-name = "qcom,vdd-cx"; - cam_vdig-supply = <&pm8941_l3>; - cam_vana-supply = <&pm8941_l17>; - cam_vio-supply = <&pm8941_lvs3>; - cam_vaf-supply = <&pm8941_l23>; - qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana", - "cam_vaf"; - qcom,cam-vreg-type = <0 1 0 0>; - qcom,cam-vreg-min-voltage = <1225000 0 2850000 3000000>; - qcom,cam-vreg-max-voltage = <1225000 0 2850000 3000000>; - qcom,cam-vreg-op-mode = <105000 0 80000 100000>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 15 0>, - <&msmgpio 90 0>, - <&msmgpio 89 0>; - qcom,gpio-reset = <1>; - qcom,gpio-standby = <2>; - qcom,gpio-req-tbl-num = <0 1 2>; - qcom,gpio-req-tbl-flags = <1 0 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1", - "CAM_STANDBY"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 30000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x1F>; - qcom,sensor-position = <0>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - status = "ok"; - }; - - qcom,camera@20 { - compatible = "qcom,imx135"; - reg = <0x20>; - qcom,slave-id = <0x20 0x0016 0x0135>; - qcom,csiphy-sd-index = <0>; - qcom,csid-sd-index = <0>; - qcom,mount-angle = <90>; - qcom,sensor-name = "imx135"; - qcom,actuator-src = <&actuator1>; - qcom,vdd-cx-supply = <&pm8841_s2>; - qcom,vdd-cx-name = "qcom,vdd-cx"; - cam_vdig-supply = <&pm8941_l3>; - cam_vana-supply = <&pm8941_l17>; - cam_vio-supply = <&pm8941_lvs3>; - cam_vaf-supply = <&pm8941_l23>; - qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana", - "cam_vaf"; - qcom,cam-vreg-type = <0 1 0 0>; - qcom,cam-vreg-min-voltage = <1225000 0 2850000 3000000>; - qcom,cam-vreg-max-voltage = <1225000 0 2850000 3000000>; - qcom,cam-vreg-op-mode = <105000 0 80000 100000>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 15 0>, - <&msmgpio 90 0>, - <&msmgpio 89 0>; - qcom,gpio-reset = <1>; - qcom,gpio-standby = <2>; - qcom,gpio-req-tbl-num = <0 1 2>; - qcom,gpio-req-tbl-flags = <1 0 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1", - "CAM_STANDBY"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 30000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x1F>; - qcom,sensor-position = <0>; - qcom,sensor-mode = <0>; - qcom,sensor-type = <0>; - qcom,cci-master = <0>; - status = "ok"; - }; - - qcom,camera@6c { - compatible = "qcom,ov2720"; - reg = <0x6c 0x0>; - qcom,slave-id = <0x6c 0x300A 0x2720>; - qcom,csiphy-sd-index = <2>; - qcom,csid-sd-index = <2>; - qcom,mount-angle = <90>; - qcom,sensor-name = "ov2720"; - qcom,vdd-cx-supply = <&pm8841_s2>; - qcom,vdd-cx-name = "qcom,vdd-cx"; - cam_vdig-supply = <&pm8941_l3>; - cam_vana-supply = <&pm8941_l17>; - cam_vio-supply = <&pm8941_lvs3>; - qcom,cam-vreg-name = "cam_vdig", "cam_vana", "cam_vio"; - qcom,cam-vreg-type = <0 0 1>; - qcom,cam-vreg-min-voltage = <1225000 2850000 0>; - qcom,cam-vreg-max-voltage = <1225000 2850000 0>; - qcom,cam-vreg-op-mode = <105000 80000 0>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 17 0>, - <&msmgpio 18 0>; - qcom,gpio-reset = <1>; - qcom,gpio-req-tbl-num = <0 1>; - qcom,gpio-req-tbl-flags = <1 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 4000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x7>; - qcom,sensor-position = <1>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - status = "ok"; - }; - - qcom,camera@90 { - compatible = "qcom,mt9m114"; - reg = <0x90 0x0>; - qcom,slave-id = <0x90 0x0 0x2481>; - qcom,csiphy-sd-index = <1>; - qcom,csid-sd-index = <0>; - qcom,mount-angle = <0>; - qcom,sensor-name = "mt9m114"; - qcom,vdd-cx-supply = <&pm8841_s2>; - qcom,vdd-cx-name = "qcom,vdd-cx"; - cam_vdig-supply = <&pm8941_l3>; - cam_vana-supply = <&pm8941_l17>; - cam_vio-supply = <&pm8941_lvs3>; - qcom,cam-vreg-name = "cam_vdig", "cam_vana", "cam_vio"; - qcom,cam-vreg-type = <0 0 1>; - qcom,cam-vreg-min-voltage = <1225000 2850000 0>; - qcom,cam-vreg-max-voltage = <1225000 2850000 0>; - qcom,cam-vreg-op-mode = <105000 80000 0>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 16 0>, - <&msmgpio 92 0>; - qcom,gpio-reset = <1>; - qcom,gpio-req-tbl-num = <0 1>; - qcom,gpio-req-tbl-flags = <1 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 4000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x3>; - qcom,sensor-position = <1>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8974-camera-sensor-dragonboard.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8974-camera-sensor-dragonboard.dtsi deleted file mode 100644 index e84a47d62..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8974-camera-sensor-dragonboard.dtsi +++ /dev/null @@ -1,174 +0,0 @@ -/* - * Copyright (c) 2012-2013, 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. - */ - -&cci { - - actuator0: qcom,actuator@18 { - cell-index = <0>; - reg = <0x18 0x0>; - compatible = "qcom,actuator"; - qcom,cci-master = <0>; - }; - - actuator1: qcom,actuator@36 { - cell-index = <1>; - reg = <0x36>; - compatible = "qcom,actuator"; - qcom,cci-master = <0>; - }; - - qcom,camera@6e { - compatible = "qcom,s5k3l1yx"; - reg = <0x6e 0x0>; - qcom,slave-id = <0x6e 0x0 0x3121>; - qcom,csiphy-sd-index = <0>; - qcom,csid-sd-index = <0>; - qcom,mount-angle = <0>; - qcom,actuator-src = <&actuator0>; - qcom,sensor-name = "s5k3l1yx"; - cam_vdig-supply = <&pm8941_l3>; - cam_vana-supply = <&pm8941_l17>; - cam_vio-supply = <&pm8941_lvs3>; - cam_vaf-supply = <&pm8941_l23>; - qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana", - "cam_vaf"; - qcom,cam-vreg-type = <0 1 0 0>; - qcom,cam-vreg-min-voltage = <1225000 0 2850000 3000000>; - qcom,cam-vreg-max-voltage = <1225000 0 2850000 3000000>; - qcom,cam-vreg-op-mode = <105000 0 80000 100000>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 15 0>, - <&msmgpio 90 0>; - qcom,gpio-reset = <1>; - qcom,gpio-req-tbl-num = <0 1>; - qcom,gpio-req-tbl-flags = <1 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 30000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x1F>; - qcom,sensor-position = <0>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - status = "ok"; - }; - - qcom,camera@20 { - compatible = "qcom,imx135"; - reg = <0x20>; - qcom,slave-id = <0x20 0x0016 0x0135>; - qcom,csiphy-sd-index = <0>; - qcom,csid-sd-index = <0>; - qcom,mount-angle = <0>; - qcom,sensor-name = "imx135"; - qcom,actuator-src = <&actuator1>; - cam_vdig-supply = <&pm8941_l3>; - cam_vana-supply = <&pm8941_l17>; - cam_vio-supply = <&pm8941_lvs3>; - cam_vaf-supply = <&pm8941_l23>; - qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana", - "cam_vaf"; - qcom,cam-vreg-type = <0 1 0 0>; - qcom,cam-vreg-min-voltage = <1225000 0 2850000 3000000>; - qcom,cam-vreg-max-voltage = <1225000 0 2850000 3000000>; - qcom,cam-vreg-op-mode = <105000 0 80000 100000>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 15 0>, - <&msmgpio 90 0>; - qcom,gpio-reset = <1>; - qcom,gpio-req-tbl-num = <0 1>; - qcom,gpio-req-tbl-flags = <1 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 30000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x1F>; - qcom,sensor-position = <0>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - status = "ok"; - }; - - qcom,camera@6c { - compatible = "qcom,ov2720"; - reg = <0x6c 0x0>; - qcom,slave-id = <0x6c 0x300A 0x2720>; - qcom,csiphy-sd-index = <2>; - qcom,csid-sd-index = <0>; - qcom,mount-angle = <180>; - qcom,sensor-name = "ov2720"; - cam_vdig-supply = <&pm8941_l3>; - cam_vana-supply = <&pm8941_l17>; - cam_vio-supply = <&pm8941_lvs3>; - qcom,cam-vreg-name = "cam_vdig", "cam_vana", "cam_vio"; - qcom,cam-vreg-type = <0 0 1>; - qcom,cam-vreg-min-voltage = <1225000 2850000 0>; - qcom,cam-vreg-max-voltage = <1225000 2850000 0>; - qcom,cam-vreg-op-mode = <105000 80000 0>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 17 0>, - <&msmgpio 18 0>; - qcom,gpio-reset = <1>; - qcom,gpio-req-tbl-num = <0 1>; - qcom,gpio-req-tbl-flags = <1 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 4000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x7>; - qcom,sensor-position = <1>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - status = "ok"; - }; - - qcom,camera@90 { - compatible = "qcom,mt9m114"; - reg = <0x90 0x0>; - qcom,slave-id = <0x90 0x0 0x2481>; - qcom,csiphy-sd-index = <1>; - qcom,csid-sd-index = <0>; - qcom,mount-angle = <0>; - qcom,sensor-name = "mt9m114"; - cam_vdig-supply = <&pm8941_l3>; - cam_vana-supply = <&pm8941_l17>; - cam_vio-supply = <&pm8941_lvs3>; - qcom,cam-vreg-name = "cam_vdig", "cam_vana", "cam_vio"; - qcom,cam-vreg-type = <0 0 1>; - qcom,cam-vreg-min-voltage = <1225000 2850000 0>; - qcom,cam-vreg-max-voltage = <1225000 2850000 0>; - qcom,cam-vreg-op-mode = <105000 80000 0>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 16 0>, - <&msmgpio 94 0>; - qcom,gpio-reset = <1>; - qcom,gpio-req-tbl-num = <0 1>; - qcom,gpio-req-tbl-flags = <1 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 4000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x3>; - qcom,sensor-position = <1>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8974-camera-sensor-fluid.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8974-camera-sensor-fluid.dtsi deleted file mode 100644 index f61b83a45..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8974-camera-sensor-fluid.dtsi +++ /dev/null @@ -1,190 +0,0 @@ -/* - * Copyright (c) 2012-2013, 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. - */ - -&cci { - - actuator0: qcom,actuator@18 { - cell-index = <0>; - reg = <0x18>; - compatible = "qcom,actuator"; - qcom,cci-master = <0>; - }; - - actuator1: qcom,actuator@36 { - cell-index = <1>; - reg = <0x36>; - compatible = "qcom,actuator"; - qcom,cci-master = <0>; - }; - - qcom,camera@6e { - compatible = "qcom,s5k3l1yx"; - reg = <0x6e>; - qcom,slave-id = <0x6e 0x0 0x3121>; - qcom,csiphy-sd-index = <0>; - qcom,csid-sd-index = <0>; - qcom,actuator-src = <&actuator0>; - qcom,led-flash-src = <&led_flash0>; - qcom,mount-angle = <270>; - qcom,sensor-name = "s5k3l1yx"; - qcom,vdd-cx-supply = <&pm8841_s2>; - qcom,vdd-cx-name = "qcom,vdd-cx"; - cam_vdig-supply = <&pm8941_l3>; - cam_vana-supply = <&pm8941_l17>; - cam_vio-supply = <&pm8941_lvs3>; - cam_vaf-supply = <&pm8941_l23>; - qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana", - "cam_vaf"; - qcom,cam-vreg-type = <0 1 0 0>; - qcom,cam-vreg-min-voltage = <1225000 0 2850000 3000000>; - qcom,cam-vreg-max-voltage = <1225000 0 2850000 3000000>; - qcom,cam-vreg-op-mode = <105000 0 80000 100000>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 15 0>, - <&msmgpio 90 0>, - <&msmgpio 89 0>; - qcom,gpio-reset = <1>; - qcom,gpio-standby = <2>; - qcom,gpio-req-tbl-num = <0 1 2>; - qcom,gpio-req-tbl-flags = <1 0 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1", - "CAM_STANDBY"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 30000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x1F>; - qcom,sensor-position = <0>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - status = "ok"; - }; - - qcom,camera@20 { - compatible = "qcom,imx135"; - reg = <0x20>; - qcom,slave-id = <0x20 0x0016 0x0135>; - qcom,csiphy-sd-index = <0>; - qcom,csid-sd-index = <0>; - qcom,mount-angle = <270>; - qcom,sensor-name = "imx135"; - qcom,actuator-src = <&actuator1>; - qcom,vdd-cx-supply = <&pm8841_s2>; - qcom,vdd-cx-name = "qcom,vdd-cx"; - cam_vdig-supply = <&pm8941_l3>; - cam_vana-supply = <&pm8941_l17>; - cam_vio-supply = <&pm8941_lvs3>; - cam_vaf-supply = <&pm8941_l23>; - qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana", - "cam_vaf"; - qcom,cam-vreg-type = <0 1 0 0>; - qcom,cam-vreg-min-voltage = <1225000 0 2850000 3000000>; - qcom,cam-vreg-max-voltage = <1225000 0 2850000 3000000>; - qcom,cam-vreg-op-mode = <105000 0 80000 100000>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 15 0>, - <&msmgpio 90 0>, - <&msmgpio 89 0>; - qcom,gpio-reset = <1>; - qcom,gpio-standby = <2>; - qcom,gpio-req-tbl-num = <0 1 2>; - qcom,gpio-req-tbl-flags = <1 0 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1", - "CAM_STANDBY"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 30000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x1F>; - qcom,sensor-position = <0>; - qcom,sensor-mode = <0>; - qcom,sensor-type = <0>; - qcom,cci-master = <0>; - status = "ok"; - }; - - qcom,camera@6c { - compatible = "qcom,ov2720"; - reg = <0x6c>; - qcom,slave-id = <0x6c 0x300A 0x2720>; - qcom,csiphy-sd-index = <2>; - qcom,csid-sd-index = <2>; - qcom,mount-angle = <90>; - qcom,sensor-name = "ov2720"; - qcom,vdd-cx-supply = <&pm8841_s2>; - qcom,vdd-cx-name = "qcom,vdd-cx"; - cam_vdig-supply = <&pm8941_l3>; - cam_vana-supply = <&pm8941_l17>; - cam_vio-supply = <&pm8941_lvs3>; - qcom,cam-vreg-name = "cam_vdig", "cam_vana", "cam_vio"; - qcom,cam-vreg-type = <0 0 1>; - qcom,cam-vreg-min-voltage = <1225000 2850000 0>; - qcom,cam-vreg-max-voltage = <1225000 2850000 0>; - qcom,cam-vreg-op-mode = <105000 80000 0>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 17 0>, - <&msmgpio 18 0>; - qcom,gpio-reset = <1>; - qcom,gpio-req-tbl-num = <0 1>; - qcom,gpio-req-tbl-flags = <1 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 4000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x7>; - qcom,sensor-position = <1>; - qcom,sensor-mode = <1>; - qcom,cci-master = <1>; - status = "ok"; - }; - - qcom,camera@90 { - compatible = "qcom,mt9m114"; - reg = <0x90>; - qcom,slave-id = <0x90 0x0 0x2481>; - qcom,csiphy-sd-index = <1>; - qcom,csid-sd-index = <0>; - qcom,mount-angle = <0>; - qcom,sensor-name = "mt9m114"; - qcom,vdd-cx-supply = <&pm8841_s2>; - qcom,vdd-cx-name = "qcom,vdd-cx"; - cam_vdig-supply = <&pm8941_l3>; - cam_vana-supply = <&pm8941_l17>; - cam_vio-supply = <&pm8941_lvs3>; - qcom,cam-vreg-name = "cam_vdig", "cam_vana", "cam_vio"; - qcom,cam-vreg-type = <0 0 1>; - qcom,cam-vreg-min-voltage = <1225000 2850000 0>; - qcom,cam-vreg-max-voltage = <1225000 2850000 0>; - qcom,cam-vreg-op-mode = <105000 80000 0>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 16 0>, - <&msmgpio 92 0>; - qcom,gpio-reset = <1>; - qcom,gpio-req-tbl-num = <0 1>; - qcom,gpio-req-tbl-flags = <1 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 4000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x3>; - qcom,sensor-position = <1>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8974-camera-sensor-liquid.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8974-camera-sensor-liquid.dtsi deleted file mode 100644 index cf968d208..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8974-camera-sensor-liquid.dtsi +++ /dev/null @@ -1,190 +0,0 @@ - -/* - * Copyright (c) 2012-2013, 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. - */ - -&cci { - - actuator0: qcom,actuator@18 { - cell-index = <0>; - reg = <0x18>; - compatible = "qcom,actuator"; - qcom,cci-master = <0>; - }; - - actuator1: qcom,actuator@36 { - cell-index = <1>; - reg = <0x36>; - compatible = "qcom,actuator"; - qcom,cci-master = <0>; - }; - - qcom,camera@6e { - compatible = "qcom,s5k3l1yx"; - reg = <0x6e>; - qcom,slave-id = <0x6e 0x0 0x3121>; - qcom,csiphy-sd-index = <0>; - qcom,csid-sd-index = <0>; - qcom,mount-angle = <0>; - qcom,actuator-src = <&actuator0>; - qcom,sensor-name = "s5k3l1yx"; - qcom,vdd-cx-supply = <&pm8841_s2>; - qcom,vdd-cx-name = "qcom,vdd-cx"; - cam_vdig-supply = <&pm8941_l3>; - cam_vana-supply = <&pm8941_l17>; - cam_vio-supply = <&pm8941_lvs2>; - cam_vaf-supply = <&pm8941_l23>; - qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana", - "cam_vaf"; - qcom,cam-vreg-type = <0 1 0 0>; - qcom,cam-vreg-min-voltage = <1225000 0 2850000 3000000>; - qcom,cam-vreg-max-voltage = <1225000 0 2850000 3000000>; - qcom,cam-vreg-op-mode = <105000 0 80000 100000>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 15 0>, - <&msmgpio 90 0>, - <&msmgpio 89 0>; - qcom,gpio-reset = <1>; - qcom,gpio-standby = <2>; - qcom,gpio-req-tbl-num = <0 1 2>; - qcom,gpio-req-tbl-flags = <1 0 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1", - "CAM_STANDBY"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 30000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x1F>; - qcom,sensor-position = <0>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - status = "ok"; - }; - - qcom,camera@20 { - compatible = "qcom,imx135"; - reg = <0x20>; - qcom,slave-id = <0x20 0x0016 0x0135>; - qcom,csiphy-sd-index = <0>; - qcom,csid-sd-index = <0>; - qcom,mount-angle = <0>; - qcom,sensor-name = "imx135"; - qcom,vdd-cx-supply = <&pm8841_s2>; - qcom,vdd-cx-name = "qcom,vdd-cx"; - qcom,actuator-src = <&actuator1>; - cam_vdig-supply = <&pm8941_l3>; - cam_vana-supply = <&pm8941_l17>; - cam_vio-supply = <&pm8941_lvs2>; - cam_vaf-supply = <&pm8941_l23>; - qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana", - "cam_vaf"; - qcom,cam-vreg-type = <0 1 0 0>; - qcom,cam-vreg-min-voltage = <1225000 0 2850000 3000000>; - qcom,cam-vreg-max-voltage = <1225000 0 2850000 3000000>; - qcom,cam-vreg-op-mode = <105000 0 80000 100000>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 15 0>, - <&msmgpio 90 0>, - <&msmgpio 89 0>; - qcom,gpio-reset = <1>; - qcom,gpio-standby = <2>; - qcom,gpio-req-tbl-num = <0 1 2>; - qcom,gpio-req-tbl-flags = <1 0 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1", - "CAM_STANDBY"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 30000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x1F>; - qcom,sensor-position = <0>; - qcom,sensor-mode = <0>; - qcom,sensor-type = <0>; - qcom,cci-master = <0>; - status = "ok"; - }; - - qcom,camera@6c { - compatible = "qcom,ov2720"; - reg = <0x6c>; - qcom,slave-id = <0x6c 0x300A 0x2720>; - qcom,csiphy-sd-index = <2>; - qcom,csid-sd-index = <0>; - qcom,mount-angle = <180>; - qcom,sensor-name = "ov2720"; - qcom,vdd-cx-supply = <&pm8841_s2>; - qcom,vdd-cx-name = "qcom,vdd-cx"; - cam_vdig-supply = <&pm8941_l3>; - cam_vana-supply = <&pm8941_l17>; - cam_vio-supply = <&pm8941_lvs2>; - qcom,cam-vreg-name = "cam_vdig", "cam_vana", "cam_vio"; - qcom,cam-vreg-type = <0 0 1>; - qcom,cam-vreg-min-voltage = <1225000 2850000 0>; - qcom,cam-vreg-max-voltage = <1225000 2850000 0>; - qcom,cam-vreg-op-mode = <105000 80000 0>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 17 0>, - <&msmgpio 18 0>; - qcom,gpio-reset = <1>; - qcom,gpio-req-tbl-num = <0 1>; - qcom,gpio-req-tbl-flags = <1 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 4000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x7>; - qcom,sensor-position = <1>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - status = "ok"; - }; - - qcom,camera@90 { - compatible = "qcom,mt9m114"; - reg = <0x90>; - qcom,slave-id = <0x90 0x0 0x2481>; - qcom,csiphy-sd-index = <1>; - qcom,csid-sd-index = <0>; - qcom,mount-angle = <0>; - qcom,vdd-cx-supply = <&pm8841_s2>; - qcom,vdd-cx-name = "qcom,vdd-cx"; - qcom,sensor-name = "mt9m114"; - cam_vdig-supply = <&pm8941_l3>; - cam_vana-supply = <&pm8941_l17>; - cam_vio-supply = <&pm8941_lvs2>; - qcom,cam-vreg-name = "cam_vdig", "cam_vana", "cam_vio"; - qcom,cam-vreg-type = <0 0 1>; - qcom,cam-vreg-min-voltage = <1225000 2850000 0>; - qcom,cam-vreg-max-voltage = <1225000 2850000 0>; - qcom,cam-vreg-op-mode = <105000 80000 0>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 16 0>, - <&msmgpio 92 0>; - qcom,gpio-reset = <1>; - qcom,gpio-req-tbl-num = <0 1>; - qcom,gpio-req-tbl-flags = <1 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 4000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x3>; - qcom,sensor-position = <1>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8974-camera-sensor-mtp.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8974-camera-sensor-mtp.dtsi deleted file mode 100644 index 6ad62137c..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8974-camera-sensor-mtp.dtsi +++ /dev/null @@ -1,191 +0,0 @@ -/* - * Copyright (c) 2012-2013, 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. - */ - -&cci { - - actuator0: qcom,actuator@18 { - cell-index = <0>; - reg = <0x18>; - compatible = "qcom,actuator"; - qcom,cci-master = <0>; - }; - - actuator1: qcom,actuator@36 { - cell-index = <1>; - reg = <0x36>; - compatible = "qcom,actuator"; - qcom,cci-master = <0>; - }; - - qcom,camera@6e { - compatible = "qcom,s5k3l1yx"; - reg = <0x6e>; - qcom,slave-id = <0x6e 0x0 0x3121>; - qcom,csiphy-sd-index = <0>; - qcom,csid-sd-index = <0>; - qcom,actuator-src = <&actuator0>; - qcom,led-flash-src = <&led_flash0>; - qcom,mount-angle = <90>; - qcom,sensor-name = "s5k3l1yx"; - qcom,vdd-cx-supply = <&pm8841_s2>; - qcom,vdd-cx-name = "qcom,vdd-cx"; - cam_vdig-supply = <&pm8941_l3>; - cam_vana-supply = <&pm8941_l17>; - cam_vio-supply = <&pm8941_lvs3>; - cam_vaf-supply = <&pm8941_l23>; - qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana", - "cam_vaf"; - qcom,cam-vreg-type = <0 1 0 0>; - qcom,cam-vreg-min-voltage = <1225000 0 2850000 3000000>; - qcom,cam-vreg-max-voltage = <1225000 0 2850000 3000000>; - qcom,cam-vreg-op-mode = <105000 0 80000 100000>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 15 0>, - <&msmgpio 90 0>, - <&msmgpio 89 0>; - qcom,gpio-reset = <1>; - qcom,gpio-standby = <2>; - qcom,gpio-req-tbl-num = <0 1 2>; - qcom,gpio-req-tbl-flags = <1 0 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1", - "CAM_STANDBY"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 30000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x1F>; - qcom,sensor-position = <0>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - status = "ok"; - }; - - qcom,camera@20 { - compatible = "qcom,imx135"; - reg = <0x20>; - qcom,slave-id = <0x20 0x0016 0x0135>; - qcom,csiphy-sd-index = <0>; - qcom,csid-sd-index = <0>; - qcom,mount-angle = <90>; - qcom,sensor-name = "imx135"; - qcom,vdd-cx-supply = <&pm8841_s2>; - qcom,vdd-cx-name = "qcom,vdd-cx"; - qcom,actuator-src = <&actuator1>; - cam_vdig-supply = <&pm8941_l3>; - cam_vana-supply = <&pm8941_l17>; - cam_vio-supply = <&pm8941_lvs3>; - cam_vaf-supply = <&pm8941_l23>; - qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana", - "cam_vaf"; - qcom,cam-vreg-type = <0 1 0 0>; - qcom,cam-vreg-min-voltage = <1225000 0 2850000 3000000>; - qcom,cam-vreg-max-voltage = <1225000 0 2850000 3000000>; - qcom,cam-vreg-op-mode = <105000 0 80000 100000>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 15 0>, - <&msmgpio 90 0>, - <&msmgpio 89 0>; - qcom,gpio-reset = <1>; - qcom,gpio-standby = <2>; - qcom,gpio-req-tbl-num = <0 1 2>; - qcom,gpio-req-tbl-flags = <1 0 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1", - "CAM_STANDBY"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 30000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x1F>; - qcom,sensor-position = <0>; - qcom,sensor-mode = <0>; - qcom,sensor-type = <0>; - qcom,cci-master = <0>; - status = "ok"; - }; - - - qcom,camera@6c { - compatible = "qcom,ov2720"; - reg = <0x6c>; - qcom,slave-id = <0x6c 0x300A 0x2720>; - qcom,csiphy-sd-index = <2>; - qcom,csid-sd-index = <2>; - qcom,mount-angle = <90>; - qcom,sensor-name = "ov2720"; - qcom,vdd-cx-supply = <&pm8841_s2>; - qcom,vdd-cx-name = "qcom,vdd-cx"; - cam_vdig-supply = <&pm8941_l3>; - cam_vana-supply = <&pm8941_l17>; - cam_vio-supply = <&pm8941_lvs3>; - qcom,cam-vreg-name = "cam_vdig", "cam_vana", "cam_vio"; - qcom,cam-vreg-type = <0 0 1>; - qcom,cam-vreg-min-voltage = <1225000 2850000 0>; - qcom,cam-vreg-max-voltage = <1225000 2850000 0>; - qcom,cam-vreg-op-mode = <105000 80000 0>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 17 0>, - <&msmgpio 18 0>; - qcom,gpio-reset = <1>; - qcom,gpio-req-tbl-num = <0 1>; - qcom,gpio-req-tbl-flags = <1 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 4000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x7>; - qcom,sensor-position = <1>; - qcom,sensor-mode = <1>; - qcom,cci-master = <1>; - status = "ok"; - }; - - qcom,camera@90 { - compatible = "qcom,mt9m114"; - reg = <0x90>; - qcom,slave-id = <0x90 0x0 0x2481>; - qcom,csiphy-sd-index = <1>; - qcom,csid-sd-index = <0>; - qcom,mount-angle = <0>; - qcom,sensor-name = "mt9m114"; - qcom,vdd-cx-supply = <&pm8841_s2>; - qcom,vdd-cx-name = "qcom,vdd-cx"; - cam_vdig-supply = <&pm8941_l3>; - cam_vana-supply = <&pm8941_l17>; - cam_vio-supply = <&pm8941_lvs3>; - qcom,cam-vreg-name = "cam_vdig", "cam_vana", "cam_vio"; - qcom,cam-vreg-type = <0 0 1>; - qcom,cam-vreg-min-voltage = <1225000 2850000 0>; - qcom,cam-vreg-max-voltage = <1225000 2850000 0>; - qcom,cam-vreg-op-mode = <105000 80000 0>; - qcom,gpio-no-mux = <0>; - gpios = <&msmgpio 16 0>, - <&msmgpio 92 0>; - qcom,gpio-reset = <1>; - qcom,gpio-req-tbl-num = <0 1>; - qcom,gpio-req-tbl-flags = <1 0>; - qcom,gpio-req-tbl-label = "CAMIF_MCLK", - "CAM_RESET1"; - qcom,gpio-set-tbl-num = <1 1>; - qcom,gpio-set-tbl-flags = <0 2>; - qcom,gpio-set-tbl-delay = <1000 4000>; - qcom,csi-lane-assign = <0x4320>; - qcom,csi-lane-mask = <0x3>; - qcom,sensor-position = <1>; - qcom,sensor-mode = <1>; - qcom,cci-master = <0>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8974-camera.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8974-camera.dtsi deleted file mode 100644 index 786e9e381..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8974-camera.dtsi +++ /dev/null @@ -1,215 +0,0 @@ -/* - * Copyright (c) 2012-2013, 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. - */ - -/include/ "skeleton.dtsi" - -&soc { - qcom,msm-cam@fd8C0000 { - compatible = "qcom,msm-cam"; - reg = <0xfd8C0000 0x10000>; - reg-names = "msm-cam"; - }; - - qcom,csiphy@fda0ac00 { - cell-index = <0>; - compatible = "qcom,csiphy"; - reg = <0xfda0ac00 0x200>, - <0xfda00030 0x4>; - reg-names = "csiphy", "csiphy_clk_mux"; - interrupts = <0 78 0>; - interrupt-names = "csiphy"; - }; - - qcom,csiphy@fda0b000 { - cell-index = <1>; - compatible = "qcom,csiphy"; - reg = <0xfda0b000 0x200>, - <0xfda00038 0x4>; - reg-names = "csiphy", "csiphy_clk_mux"; - interrupts = <0 79 0>; - interrupt-names = "csiphy"; - }; - - qcom,csiphy@fda0b400 { - cell-index = <2>; - compatible = "qcom,csiphy"; - reg = <0xfda0b400 0x200>, - <0xfda00040 0x4>; - reg-names = "csiphy", "csiphy_clk_mux"; - interrupts = <0 80 0>; - interrupt-names = "csiphy"; - }; - - qcom,csid@fda08000 { - cell-index = <0>; - compatible = "qcom,csid"; - reg = <0xfda08000 0x100>; - reg-names = "csid"; - interrupts = <0 51 0>; - interrupt-names = "csid"; - qcom,csi-vdd-voltage = <1800000>; - qcom,mipi-csi-vdd-supply = <&pm8941_l12>; - }; - - qcom,csid@fda08400 { - cell-index = <1>; - compatible = "qcom,csid"; - reg = <0xfda08400 0x100>; - reg-names = "csid"; - interrupts = <0 52 0>; - interrupt-names = "csid"; - qcom,csi-vdd-voltage = <1800000>; - qcom,mipi-csi-vdd-supply = <&pm8941_l12>; - }; - - qcom,csid@fda08800 { - cell-index = <2>; - compatible = "qcom,csid"; - reg = <0xfda08800 0x100>; - reg-names = "csid"; - interrupts = <0 53 0>; - interrupt-names = "csid"; - qcom,csi-vdd-voltage = <1800000>; - qcom,mipi-csi-vdd-supply = <&pm8941_l12>; - }; - - qcom,csid@fda08C00 { - cell-index = <3>; - compatible = "qcom,csid"; - reg = <0xfda08C00 0x100>; - reg-names = "csid"; - interrupts = <0 54 0>; - interrupt-names = "csid"; - qcom,csi-vdd-voltage = <1800000>; - qcom,mipi-csi-vdd-supply = <&pm8941_l12>; - }; - - qcom,ispif@fda0A000 { - cell-index = <0>; - compatible = "qcom,ispif"; - reg = <0xfda0A000 0x500>, - <0xfda00020 0x10>; - reg-names = "ispif", "csi_clk_mux"; - interrupts = <0 55 0>; - interrupt-names = "ispif"; - }; - - qcom,vfe@fda10000 { - cell-index = <0>; - compatible = "qcom,vfe40"; - reg = <0xfda10000 0x1000>, - <0xfda40000 0x200>; - reg-names = "vfe", "vfe_vbif"; - interrupts = <0 57 0>; - interrupt-names = "vfe"; - vdd-supply = <&gdsc_vfe>; - }; - - qcom,vfe@fda14000 { - cell-index = <1>; - compatible = "qcom,vfe40"; - reg = <0xfda14000 0x1000>, - <0xfda40000 0x200>; - reg-names = "vfe", "vfe_vbif"; - interrupts = <0 58 0>; - interrupt-names = "vfe"; - vdd-supply = <&gdsc_vfe>; - }; - - qcom,jpeg@fda1c000 { - cell-index = <0>; - compatible = "qcom,jpeg"; - reg = <0xfda1c000 0x400>; - reg-names = "jpeg"; - interrupts = <0 59 0>; - interrupt-names = "jpeg"; - vdd-supply = <&gdsc_jpeg>; - }; - - qcom,jpeg@fda20000 { - cell-index = <1>; - compatible = "qcom,jpeg"; - reg = <0xfda20000 0x400>; - reg-names = "jpeg"; - interrupts = <0 60 0>; - interrupt-names = "jpeg"; - vdd-supply = <&gdsc_jpeg>; - }; - - qcom,jpeg@fda24000 { - cell-index = <2>; - compatible = "qcom,jpeg"; - reg = <0xfda24000 0x400>; - reg-names = "jpeg"; - interrupts = <0 61 0>; - interrupt-names = "jpeg"; - vdd-supply = <&gdsc_jpeg>; - }; - - qcom,irqrouter@fda00000 { - cell-index = <0>; - compatible = "qcom,irqrouter"; - reg = <0xfda00000 0x100>; - reg-names = "irqrouter"; - }; - - qcom,cpp@fda04000 { - cell-index = <0>; - compatible = "qcom,cpp"; - reg = <0xfda04000 0x100>, - <0xfda40000 0x200>, - <0xfda18000 0x008>; - reg-names = "cpp", "cpp_vbif", "cpp_hw"; - interrupts = <0 49 0>; - interrupt-names = "cpp"; - vdd-supply = <&gdsc_vfe>; - }; - - led_flash0: qcom,camera-led-flash { - cell-index = <0>; - compatible = "qcom,camera-led-flash"; - qcom,flash-type = <1>; - qcom,flash-source = <&pm8941_flash0 &pm8941_flash1>; - }; - - cci: qcom,cci@fda0C000 { - cell-index = <0>; - compatible = "qcom,cci"; - reg = <0xfda0C000 0x1000>; - #address-cells = <1>; - #size-cells = <0>; - reg-names = "cci"; - interrupts = <0 50 0>; - interrupt-names = "cci"; - gpios = <&msmgpio 19 0>, - <&msmgpio 20 0>, - <&msmgpio 21 0>, - <&msmgpio 22 0>; - qcom,gpio-tbl-num = <0 1 2 3>; - qcom,gpio-tbl-flags = <1 1 1 1>; - qcom,gpio-tbl-label = "CCI_I2C_DATA0", - "CCI_I2C_CLK0", - "CCI_I2C_DATA1", - "CCI_I2C_CLK1"; - qcom,hw-thigh = <78>; - qcom,hw-tlow = <114>; - qcom,hw-tsu-sto = <28>; - qcom,hw-tsu-sta = <28>; - qcom,hw-thd-dat = <10>; - qcom,hw-thd-sta = <77>; - qcom,hw-tbuf = <118>; - qcom,hw-scl-stretch-en = <0>; - qcom,hw-trdhld = <6>; - qcom,hw-tsp = <1>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8974-cdp.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8974-cdp.dtsi deleted file mode 100644 index 2a60df4f4..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8974-cdp.dtsi +++ /dev/null @@ -1,729 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/include/ "dsi-panel-toshiba-720p-video.dtsi" -/include/ "dsi-panel-orise-720p-video.dtsi" -/include/ "msm8974-leds.dtsi" -/include/ "msm8974-camera-sensor-cdp.dtsi" - -&soc { - serial@f991e000 { - status = "ok"; - }; - - qcom,mdss_dsi_toshiba_720p_video { - status = "ok"; - qcom,cont-splash-enabled; - }; - - qcom,mdss_dsi_orise_720p_video { - status = "disable"; - }; - - qcom,hdmi_tx@fd922100 { - status = "ok"; - }; - - i2c@f9924000 { - atmel_mxt_ts@4a { - compatible = "atmel,mxt-ts"; - reg = <0x4a>; - interrupt-parent = <&msmgpio>; - interrupts = <61 0x2>; - vdd_ana-supply = <&pm8941_l18>; - vcc_i2c-supply = <&pm8941_lvs1>; - atmel,reset-gpio = <&msmgpio 60 0x00>; - atmel,irq-gpio = <&msmgpio 61 0x00>; - atmel,panel-coords = <0 0 760 1424>; - atmel,display-coords = <0 0 720 1280>; - atmel,i2c-pull-up; - atmel,no-force-update; - atmel,cfg_1 { - atmel,family-id = <0x82>; - atmel,variant-id = <0x19>; - atmel,version = <0x10>; - atmel,build = <0xaa>; - atmel,config = [ - /* Object 6, Instance = 0 */ - 00 00 00 00 00 00 - /* Object 38, Instance = 0 */ - 15 01 00 03 0A 0C 00 00 - /* Object 7, Instance = 0 */ - 20 08 32 03 - /* Object 8, Instance = 0 */ - 0F 00 0A 0A 00 00 0A 0A 00 00 - /* Object 9, Instance = 0 */ - 83 00 00 18 0E 00 70 46 02 01 - 00 0A 03 31 04 05 0A 0A 90 05 - F8 02 05 F1 F1 0F 00 00 08 2D - 12 06 00 00 00 01 - /* Object 15, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 - /* Object 18, Instance = 0 */ - 00 00 - /* Object 19, Instance = 0 */ - 00 00 00 00 00 00 - /* Object 23, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 - /* Object 25, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 - /* Object 40, Instance = 0 */ - 00 00 00 00 00 - /* Object 42, Instance = 0 */ - 33 1E 19 10 80 00 00 00 FF 00 - /* Object 46, Instance = 0 */ - 00 00 10 10 00 00 03 00 00 01 - /* Object 47, Instance = 0 */ - 08 0A 28 0A 02 0A 00 8C 00 20 - 00 00 00 - /* Object 55, Instance = 0 */ - 00 00 00 00 00 00 - /* Object 56, Instance = 0 */ - 00 00 00 18 05 05 05 05 05 05 - 05 05 05 05 05 05 05 05 05 05 - 05 05 05 05 05 05 05 05 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 - /* Object 57, Instance = 0 */ - 00 00 00 - /* Object 61, Instance = 0 */ - 00 00 00 00 00 - /* Object 62, Instance = 0 */ - 01 2A 00 16 00 00 00 00 0B 01 - 02 03 04 08 00 00 08 10 18 05 - 00 0A 05 05 50 14 19 34 1A 7F - 00 00 00 00 00 00 00 00 00 30 - 05 02 00 01 00 05 00 00 00 00 - 00 00 00 00 - ]; - }; - }; - }; - - gen-vkeys { - compatible = "qcom,gen-vkeys"; - label = "atmel_mxt_ts"; - qcom,disp-maxx = <720>; - qcom,disp-maxy = <1280>; - qcom,panel-maxx = <760>; - qcom,panel-maxy = <1424>; - qcom,key-codes = <158 139 102 217>; - }; - - i2c@f9967000 { - isa1200@48 { - status = "okay"; - reg = <0x48>; - vcc_i2c-supply = <&pm8941_s3>; - compatible = "imagis,isa1200"; - label = "vibrator"; - imagis,chip-en; - imagis,smart-en; - imagis,need-pwm-clk; - imagis,ext-clk-en; - imagis,hap-en-gpio = <&msmgpio 86 0x00>; - imagis,max-timeout = <15000>; - imagis,pwm-div = <256>; - imagis,mode-ctrl = <2>; - imagis,regulator { - regulator-name = "vcc_i2c"; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - regulator-max-microamp = <9360>; - }; - }; - }; - - gpio_keys { - compatible = "gpio-keys"; - input-name = "gpio-keys"; - - camera_snapshot { - label = "camera_snapshot"; - gpios = <&pm8941_gpios 3 0x1>; - linux,input-type = <1>; - linux,code = <0x2fe>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - - camera_focus { - label = "camera_focus"; - gpios = <&pm8941_gpios 4 0x1>; - linux,input-type = <1>; - linux,code = <0x210>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - - vol_up { - label = "volume_up"; - gpios = <&pm8941_gpios 5 0x1>; - linux,input-type = <1>; - linux,code = <115>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - }; - - spi@f9923000 { - ethernet-switch@2 { - compatible = "micrel,ks8851"; - reg = <2>; - interrupt-parent = <&msmgpio>; - interrupts = <94 0>; - spi-max-frequency = <4800000>; - rst-gpio = <&pm8941_mpps 6 0>; - vdd-io-supply = <&spi_eth_vreg>; - vdd-phy-supply = <&spi_eth_vreg>; - }; - }; - - sound { - qcom,model = "msm8974-taiko-cdp-snd-card"; - qcom,hdmi-audio-rx; - qcom,us-euro-gpios = <&pm8941_gpios 20 0>; - qcom,cdc-micbias2-headset-only; - }; - - usb2_otg_sw: regulator-tpd4s214 { - compatible = "regulator-fixed"; - regulator-name = "usb2_otg_sw"; - gpio = <&pm8941_gpios 18 0>; - parent-supply = <&pm8941_boost>; - startup-delay-us = <17000>; - enable-active-high; - }; - - hsic_host: hsic@f9a00000 { - compatible = "qcom,hsic-host"; - reg = <0xf9a00000 0x400>; - #address-cells = <0>; - interrupt-parent = <&hsic_host>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 136 0 - 1 &intc 0 148 0 - 2 &msmgpio 144 0x8>; - interrupt-names = "core_irq", "async_irq", "wakeup"; - HSIC_VDDCX-supply = <&pm8841_s2>; - HSIC_GDSC-supply = <&gdsc_usb_hsic>; - hsic,strobe-gpio = <&msmgpio 144 0x00>; - hsic,data-gpio = <&msmgpio 145 0x00>; - hsic,resume-gpio = <&msmgpio 80 0x00>; - hsic,ignore-cal-pad-config; - hsic,strobe-pad-offset = <0x2050>; - hsic,data-pad-offset = <0x2054>; - - qcom,msm-bus,name = "hsic"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <85 512 0 0>, - <85 512 40000 160000>; - }; - - wlan0: qca,wlan { - compatible = "qca,ar6004-hsic"; - qcom,msm-bus,name = "wlan"; - qcom,msm-bus,num-cases = <5>; - qcom,msm-bus,active-only = <0>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <85 512 0 0>, - <85 512 40000 160000>, - <85 512 40000 320000>, - <85 512 40000 480000>, - <85 512 40000 800000>; - }; -}; - -&spmi_bus { - qcom,pm8941@1 { - qcom,leds@d800 { - status = "okay"; - qcom,wled_0 { - label = "wled"; - linux,name = "wled:backlight"; - linux,default-trigger = "bkl-trigger"; - qcom,cs-out-en; - qcom,op-fdbck = <1>; - qcom,default-state = "on"; - qcom,max-current = <25>; - qcom,ctrl-delay-us = <0>; - qcom,boost-curr-lim = <3>; - qcom,cp-sel = <0>; - qcom,switch-freq = <2>; - qcom,ovp-val = <2>; - qcom,num-strings = <1>; - qcom,id = <0>; - }; - }; - - qcom,leds@d900 { - status = "disabled"; - }; - - qcom,leds@da00 { - status = "disabled"; - }; - - qcom,leds@db00 { - status = "disabled"; - }; - - qcom,leds@dc00 { - status = "disabled"; - }; - - qcom,leds@dd00 { - status = "disabled"; - }; - - qcom,leds@de00 { - status = "disabled"; - }; - - qcom,leds@df00 { - status = "disabled"; - }; - - qcom,leds@e000 { - status = "disabled"; - }; - - qcom,leds@e100 { - status = "disabled"; - }; - }; -}; - -&sdcc1 { - status = "disabled"; -}; - -&sdcc2 { - #address-cells = <0>; - interrupt-parent = <&sdcc2>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 125 0 - 1 &intc 0 220 0 - 2 &msmgpio 62 0x3>; - interrupt-names = "core_irq", "bam_irq", "status_irq"; - cd-gpios = <&msmgpio 62 0x1>; - wp-gpios = <&pm8941_gpios 29 0x1>; - status = "disabled"; -}; - -&sdhc_1 { - vdd-supply = <&pm8941_l20>; - vdd-io-supply = <&pm8941_s3>; - - qcom,vdd-always-on; - qcom,vdd-lpm-sup; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <800 500000>; - - qcom,vdd-io-always-on; - qcom,vdd-io-voltage-level = <1800000 1800000>; - qcom,vdd-io-current-level = <250 154000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,nonremovable; - status = "ok"; -}; - -&sdhc_2 { - #address-cells = <0>; - interrupt-parent = <&sdhc_2>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 125 0 - 1 &intc 0 221 0 - 2 &msmgpio 62 0x3>; - interrupt-names = "hc_irq", "pwr_irq", "status_irq"; - cd-gpios = <&msmgpio 62 0x1>; - - vdd-supply = <&pm8941_l21>; - vdd-io-supply = <&pm8941_l13>; - - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <9000 800000>; - - qcom,vdd-io-voltage-level = <1800000 2950000>; - qcom,vdd-io-current-level = <6 22000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - status = "ok"; -}; - -/* Drive strength recommendations for clock line from hardware team is 10 mA. - * But since the driver has been been using the below values from the start - * without any problems, continue to use those. - */ -&sdcc1 { - qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */ -}; - -&sdcc2 { - qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */ -}; - -&sdhc_1 { - qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */ -}; - -&sdhc_2 { - qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */ -}; - -&uart7 { - status = "ok"; - qcom,tx-gpio = <&msmgpio 41 0x00>; - qcom,rx-gpio = <&msmgpio 42 0x00>; - qcom,cts-gpio = <&msmgpio 43 0x00>; - qcom,rfr-gpio = <&msmgpio 44 0x00>; -}; - -&usb3 { - qcom,otg-capability; -}; - -&pm8941_chg { - status = "ok"; - - qcom,chgr@1000 { - status = "ok"; - }; - - qcom,buck@1100 { - status = "ok"; - }; - - qcom,usb-chgpth@1300 { - status = "ok"; - }; - - qcom,dc-chgpth@1400 { - status = "ok"; - }; - - qcom,boost@1500 { - status = "ok"; - }; - - qcom,chg-misc@1600 { - status = "ok"; - }; -}; - -&pm8941_gpios { - gpio@c000 { /* GPIO 1 */ - }; - - gpio@c100 { /* GPIO 2 */ - }; - - gpio@c200 { /* GPIO 3 */ - qcom,mode = <0>; - qcom,pull = <0>; - qcom,vin-sel = <2>; - qcom,src-sel = <0>; - }; - - gpio@c300 { /* GPIO 4 */ - qcom,mode = <0>; - qcom,pull = <0>; - qcom,vin-sel = <2>; - qcom,src-sel = <0>; - }; - - gpio@c400 { /* GPIO 5 */ - qcom,mode = <0>; - qcom,pull = <0>; - qcom,vin-sel = <2>; - qcom,src-sel = <0>; - }; - - gpio@c500 { /* GPIO 6 */ - }; - - gpio@c600 { /* GPIO 7 */ - }; - - gpio@c700 { /* GPIO 8 */ - }; - - gpio@c800 { /* GPIO 9 */ - }; - - gpio@c900 { /* GPIO 10 */ - }; - - gpio@ca00 { /* GPIO 11 */ - }; - - gpio@cb00 { /* GPIO 12 */ - }; - - gpio@cc00 { /* GPIO 13 */ - }; - - gpio@cd00 { /* GPIO 14 */ - }; - - gpio@ce00 { /* GPIO 15 */ - qcom,mode = <1>; - qcom,output-type = <0>; - qcom,pull = <5>; - qcom,vin-sel = <2>; - qcom,out-strength = <1>; - qcom,src-sel = <2>; - qcom,master-en = <1>; - }; - - gpio@cf00 { /* GPIO 16 */ - qcom,mode = <1>; - qcom,output-type = <0>; - qcom,pull = <2>; - qcom,vin-sel = <2>; - qcom,out-strength = <2>; - qcom,src-sel = <2>; - qcom,master-en = <1>; - }; - - gpio@d000 { /* GPIO 17 */ - }; - - gpio@d100 { /* GPIO 18 */ - /* usb2_otg_sw regulator enable */ - qcom,mode = <1>; /* Digital output */ - qcom,output-type = <0>; /* CMOS logic */ - qcom,invert = <0>; /* Output low initially */ - qcom,vin-sel = <2>; /* PM8941 S3 = 1.8 V */ - qcom,src-sel = <0>; /* Constant */ - qcom,out-strength = <2>; /* Medium drive strength */ - qcom,master-en = <1>; /* Enable GPIO */ - }; - - gpio@d200 { /* GPIO 19 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,output-type = <0>; /* QPNP_PIN_OUT_BUF_CMOS */ - qcom,pull = <5>; /* QPNP_PIN_PULL_NO */ - qcom,vin-sel = <2>; /* QPNP_PIN_VIN2 */ - qcom,out-strength = <2>; /* QPNP_PIN_OUT_STRENGTH_MED */ - qcom,src-sel = <0>; /* QPNP_PIN_SEL_FUNC_CONSTANT */ - qcom,master-en = <1>; - }; - - gpio@d300 { /* GPIO 20 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,output-type = <0>; /* QPNP_PIN_OUT_BUF_CMOS */ - qcom,invert = <0>; /* Output low initially */ - qcom,pull = <5>; /* QPNP_PIN_PULL_NO */ - qcom,vin-sel = <2>; /* QPNP_PIN_VIN2 */ - qcom,out-strength = <2>; /* QPNP_PIN_OUT_STRENGTH_MED */ - qcom,src-sel = <0>; /* QPNP_PIN_SEL_FUNC_CONSTANT */ - qcom,master-en = <1>; - }; - - gpio@d400 { /* GPIO 21 */ - }; - - gpio@d500 { /* GPIO 22 */ - }; - - gpio@d600 { /* GPIO 23 */ - }; - - gpio@d700 { /* GPIO 24 */ - }; - - gpio@d800 { /* GPIO 25 */ - }; - - gpio@d900 { /* GPIO 26 */ - }; - - gpio@da00 { /* GPIO 27 */ - }; - - gpio@db00 { /* GPIO 28 */ - }; - - gpio@dc00 { /* GPIO 29 */ - qcom,pull = <0>; /* set to default pull */ - qcom,master-en = <1>; - qcom,vin-sel = <2>; /* select 1.8 V source */ - }; - - gpio@dd00 { /* GPIO 30 */ - }; - - gpio@de00 { /* GPIO 31 */ - }; - - gpio@df00 { /* GPIO 32 */ - }; - - gpio@e000 { /* GPIO 33 */ - }; - - gpio@e100 { /* GPIO 34 */ - }; - - gpio@e200 { /* GPIO 35 */ - }; - - gpio@e300 { /* GPIO 36 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,output-type = <0>; /* QPNP_PIN_OUT_BUF_CMOS */ - qcom,pull = <5>; /* QPNP_PIN_PULL_NO */ - qcom,vin-sel = <2>; /* QPNP_PIN_VIN2 */ - qcom,out-strength = <3>; /* QPNP_PIN_OUT_STRENGTH_HIGH */ - qcom,src-sel = <3>; /* QPNP_PIN_SEL_FUNC_2 */ - qcom,master-en = <1>; - }; -}; - -&pm8941_mpps { - - mpp@a000 { /* MPP 1 */ - status = "disabled"; - }; - - mpp@a100 { /* MPP 2 */ - }; - - mpp@a200 { /* MPP 3 */ - }; - - mpp@a300 { /* MPP 4 */ - }; - - mpp@a400 { /* MPP 5 */ - /* SPI_ETH config */ - qcom,mode = <1>; /* DIG_OUT */ - qcom,output-type = <0>; /* CMOS */ - qcom,vin-sel = <2>; /* PM8941_S3 1.8V > 1.6V */ - qcom,src-sel = <0>; /* CONSTANT */ - qcom,master-en = <1>; /* ENABLE MPP */ - }; - - mpp@a500 { /* MPP 6 */ - /* SPI_ETH_RST config */ - qcom,mode = <1>; /* DIG_OUT */ - qcom,output-type = <0>; /* CMOS */ - qcom,vin-sel = <2>; /* PM8941_S3 1.8V > 1.6V */ - qcom,src-sel = <0>; /* CONSTANT */ - qcom,master-en = <1>; /* ENABLE MPP */ - }; - - mpp@a600 { /* MPP 7 */ - }; - - mpp@a700 { /* MPP 8 */ - }; -}; - -&pm8841_mpps { - - mpp@a000 { /* MPP 1 */ - }; - - mpp@a100 { /* MPP 2 */ - }; - - mpp@a200 { /* MPP 3 */ - }; - - mpp@a300 { /* MPP 4 */ - }; -}; - -/* CoreSight */ -&tpiu { - qcom,seta-gpios = <&msmgpio 31 0>, - <&msmgpio 32 0>, - <&msmgpio 33 0>, - <&msmgpio 34 0>, - <&msmgpio 35 0>, - <&msmgpio 36 0>, - <&msmgpio 37 0>, - <&msmgpio 38 0>, - <&msmgpio 39 0>, - <&msmgpio 40 0>, - <&msmgpio 41 0>, - <&msmgpio 42 0>, - <&msmgpio 43 0>, - <&msmgpio 44 0>, - <&msmgpio 45 0>, - <&msmgpio 46 0>, - <&msmgpio 47 0>, - <&msmgpio 48 0>; - qcom,seta-gpios-func = <4 4 4 3 4 4 4 3 4 3 5 5 5 5 4 4 5 5>; - qcom,seta-gpios-drv = <7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7>; - qcom,seta-gpios-pull = <0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0>; - qcom,seta-gpios-dir = <2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2>; - - qcom,setb-gpios = <&msmgpio 15 0>, - <&msmgpio 16 0>, - <&msmgpio 17 0>, - <&msmgpio 18 0>, - <&msmgpio 19 0>, - <&msmgpio 20 0>, - <&msmgpio 21 0>, - <&msmgpio 22 0>, - <&msmgpio 23 0>, - <&msmgpio 24 0>, - <&msmgpio 25 0>, - <&msmgpio 26 0>, - <&msmgpio 27 0>, - <&msmgpio 28 0>, - <&msmgpio 89 0>, - <&msmgpio 90 0>, - <&msmgpio 91 0>, - <&msmgpio 92 0>; - qcom,setb-gpios-func = <2 2 2 2 5 5 5 5 6 6 6 7 7 5 2 3 3 3>; - qcom,setb-gpios-drv = <7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7>; - qcom,setb-gpios-pull = <0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0>; - qcom,setb-gpios-dir = <2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2>; -}; - -&slim_msm { - taiko_codec { - qcom,cdc-micbias1-ext-cap; - qcom,cdc-micbias3-ext-cap; - qcom,cdc-micbias4-ext-cap; - - /* If boot isn't available, vph_pwr_vreg can be used instead */ - cdc-vdd-spkdrv-supply = <&pm8941_boost>; - qcom,cdc-vdd-spkdrv-voltage = <5000000 5000000>; - qcom,cdc-vdd-spkdrv-current = <1250000>; - - qcom,cdc-on-demand-supplies = "cdc-vdd-spkdrv"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8974-clock.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8974-clock.dtsi deleted file mode 100644 index bed5d70be..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8974-clock.dtsi +++ /dev/null @@ -1,27 +0,0 @@ -/* Copyright (c) 2012, 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. - */ - -&spmi_bus { - - qcom,pm8941@0 { - - pm8941_clkdiv1: clkdiv@5b00 { - qcom,cxo-div = <2>; - }; - - pm8941_clkdiv2: clkdiv@5c00 { - }; - - pm8941_clkdiv3: clkdiv@5d00 { - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8974-coresight.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8974-coresight.dtsi deleted file mode 100644 index 1610f1f43..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8974-coresight.dtsi +++ /dev/null @@ -1,381 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&soc { - tmc_etr: tmc@fc322000 { - compatible = "arm,coresight-tmc"; - reg = <0xfc322000 0x1000>, - <0xfc37c000 0x3000>; - reg-names = "tmc-base", "bam-base"; - - qcom,memory-reservation-type = "EBI1"; - qcom,memory-reservation-size = <0x100000>; /* 1M EBI1 buffer */ - - coresight-id = <0>; - coresight-name = "coresight-tmc-etr"; - coresight-nr-inports = <1>; - coresight-ctis = <&cti0 &cti8>; - }; - - tpiu: tpiu@fc318000 { - compatible = "arm,coresight-tpiu"; - reg = <0xfc318000 0x1000>; - reg-names = "tpiu-base"; - - coresight-id = <1>; - coresight-name = "coresight-tpiu"; - coresight-nr-inports = <1>; - - vdd-supply = <&pm8941_l21>; - - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <9000 800000>; - }; - - replicator: replicator@fc31c000 { - compatible = "qcom,coresight-replicator"; - reg = <0xfc31c000 0x1000>; - reg-names = "replicator-base"; - - coresight-id = <2>; - coresight-name = "coresight-replicator"; - coresight-nr-inports = <1>; - coresight-outports = <0 1>; - coresight-child-list = <&tmc_etr &tpiu>; - coresight-child-ports = <0 0>; - }; - - tmc_etf: tmc@fc307000 { - compatible = "arm,coresight-tmc"; - reg = <0xfc307000 0x1000>; - reg-names = "tmc-base"; - - coresight-id = <3>; - coresight-name = "coresight-tmc-etf"; - coresight-nr-inports = <1>; - coresight-outports = <0>; - coresight-child-list = <&replicator>; - coresight-child-ports = <0>; - coresight-default-sink; - coresight-ctis = <&cti0 &cti8>; - }; - - funnel_merg: funnel@fc31b000 { - compatible = "arm,coresight-funnel"; - reg = <0xfc31b000 0x1000>; - reg-names = "funnel-base"; - - coresight-id = <4>; - coresight-name = "coresight-funnel-merg"; - coresight-nr-inports = <2>; - coresight-outports = <0>; - coresight-child-list = <&tmc_etf>; - coresight-child-ports = <0>; - }; - - funnel_in0: funnel@fc319000 { - compatible = "arm,coresight-funnel"; - reg = <0xfc319000 0x1000>; - reg-names = "funnel-base"; - - coresight-id = <5>; - coresight-name = "coresight-funnel-in0"; - coresight-nr-inports = <8>; - coresight-outports = <0>; - coresight-child-list = <&funnel_merg>; - coresight-child-ports = <0>; - }; - - funnel_in1: funnel@fc31a000 { - compatible = "arm,coresight-funnel"; - reg = <0xfc31a000 0x1000>; - reg-names = "funnel-base"; - - coresight-id = <6>; - coresight-name = "coresight-funnel-in1"; - coresight-nr-inports = <8>; - coresight-outports = <0>; - coresight-child-list = <&funnel_merg>; - coresight-child-ports = <1>; - }; - - funnel_kpss: funnel@fc345000 { - compatible = "arm,coresight-funnel"; - reg = <0xfc345000 0x1000>; - reg-names = "funnel-base"; - - coresight-id = <7>; - coresight-name = "coresight-funnel-kpss"; - coresight-nr-inports = <4>; - coresight-outports = <0>; - coresight-child-list = <&funnel_in1>; - coresight-child-ports = <5>; - }; - - funnel_mmss: funnel@fc364000 { - compatible = "arm,coresight-funnel"; - reg = <0xfc364000 0x1000>; - reg-names = "funnel-base"; - - - coresight-id = <8>; - coresight-name = "coresight-funnel-mmss"; - coresight-nr-inports = <8>; - coresight-outports = <0>; - coresight-child-list = <&funnel_in1>; - coresight-child-ports = <1>; - }; - - stm: stm@fc321000 { - compatible = "arm,coresight-stm"; - reg = <0xfc321000 0x1000>, - <0xfa280000 0x180000>; - reg-names = "stm-base", "stm-data-base"; - - coresight-id = <9>; - coresight-name = "coresight-stm"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_in1>; - coresight-child-ports = <7>; - }; - - etm0: etm@fc33c000 { - compatible = "arm,coresight-etm"; - reg = <0xfc33c000 0x1000>; - reg-names = "etm-base"; - - coresight-id = <10>; - coresight-name = "coresight-etm0"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_kpss>; - coresight-child-ports = <0>; - - qcom,pc-save; - qcom,round-robin; - }; - - etm1: etm@fc33d000 { - compatible = "arm,coresight-etm"; - reg = <0xfc33d000 0x1000>; - reg-names = "etm-base"; - - coresight-id = <11>; - coresight-name = "coresight-etm1"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_kpss>; - coresight-child-ports = <1>; - - qcom,pc-save; - qcom,round-robin; - }; - - etm2: etm@fc33e000 { - compatible = "arm,coresight-etm"; - reg = <0xfc33e000 0x1000>; - reg-names = "etm-base"; - - coresight-id = <12>; - coresight-name = "coresight-etm2"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_kpss>; - coresight-child-ports = <2>; - - qcom,pc-save; - qcom,round-robin; - }; - - etm3: etm@fc33f000 { - compatible = "arm,coresight-etm"; - reg = <0xfc33f000 0x1000>; - reg-names = "etm-base"; - - coresight-id = <13>; - coresight-name = "coresight-etm3"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_kpss>; - coresight-child-ports = <3>; - - qcom,pc-save; - qcom,round-robin; - }; - - csr: csr@fc302000 { - compatible = "qcom,coresight-csr"; - reg = <0xfc302000 0x1000>; - reg-names = "csr-base"; - - coresight-id = <14>; - coresight-name = "coresight-csr"; - coresight-nr-inports = <0>; - - qcom,blk-size = <3>; - }; - - cti0: cti@fc308000 { - compatible = "arm,coresight-cti"; - reg = <0xfc308000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <15>; - coresight-name = "coresight-cti0"; - coresight-nr-inports = <0>; - }; - - cti1: cti@fc309000 { - compatible = "arm,coresight-cti"; - reg = <0xfc309000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <16>; - coresight-name = "coresight-cti1"; - coresight-nr-inports = <0>; - }; - - cti2: cti@fc30a000 { - compatible = "arm,coresight-cti"; - reg = <0xfc30a000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <17>; - coresight-name = "coresight-cti2"; - coresight-nr-inports = <0>; - }; - - cti3: cti@fc30b000 { - compatible = "arm,coresight-cti"; - reg = <0xfc30b000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <18>; - coresight-name = "coresight-cti3"; - coresight-nr-inports = <0>; - }; - - cti4: cti@fc30c000 { - compatible = "arm,coresight-cti"; - reg = <0xfc30c000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <19>; - coresight-name = "coresight-cti4"; - coresight-nr-inports = <0>; - }; - - cti5: cti@fc30d000 { - compatible = "arm,coresight-cti"; - reg = <0xfc30d000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <20>; - coresight-name = "coresight-cti5"; - coresight-nr-inports = <0>; - }; - - cti6: cti@fc30e000 { - compatible = "arm,coresight-cti"; - reg = <0xfc30e000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <21>; - coresight-name = "coresight-cti6"; - coresight-nr-inports = <0>; - }; - - cti7: cti@fc30f000 { - compatible = "arm,coresight-cti"; - reg = <0xfc30f000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <22>; - coresight-name = "coresight-cti7"; - coresight-nr-inports = <0>; - }; - - cti8: cti@fc310000 { - compatible = "arm,coresight-cti"; - reg = <0xfc310000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <23>; - coresight-name = "coresight-cti8"; - coresight-nr-inports = <0>; - }; - - cti_l2: cti@fc340000 { - compatible = "arm,coresight-cti"; - reg = <0xfc340000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <24>; - coresight-name = "coresight-cti-l2"; - coresight-nr-inports = <0>; - }; - - cti_cpu0: cti@fc341000 { - compatible = "arm,coresight-cti"; - reg = <0xfc341000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <25>; - coresight-name = "coresight-cti-cpu0"; - coresight-nr-inports = <0>; - }; - - cti_cpu1: cti@fc342000 { - compatible = "arm,coresight-cti"; - reg = <0xfc342000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <26>; - coresight-name = "coresight-cti-cpu1"; - coresight-nr-inports = <0>; - }; - - cti_cpu2: cti@fc343000 { - compatible = "arm,coresight-cti"; - reg = <0xfc343000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <27>; - coresight-name = "coresight-cti-cpu2"; - coresight-nr-inports = <0>; - }; - - cti_cpu3: cti@fc344000 { - compatible = "arm,coresight-cti"; - reg = <0xfc344000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <28>; - coresight-name = "coresight-cti-cpu3"; - coresight-nr-inports = <0>; - }; - - hwevent: hwevent@fdf30018 { - compatible = "qcom,coresight-hwevent"; - reg = <0xfdf30018 0x80>, - <0xf9011080 0x80>, - <0xfd4ab160 0x80>; - reg-names = "mmss-mux", "apcs-mux", "ppss-mux"; - - coresight-id = <29>; - coresight-name = "coresight-hwevent"; - coresight-nr-inports = <0>; - - qcom,hwevent-clks = "core_mmss_clk"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8974-fluid.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8974-fluid.dtsi deleted file mode 100644 index a822af5fa..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8974-fluid.dtsi +++ /dev/null @@ -1,667 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/include/ "dsi-panel-toshiba-720p-video.dtsi" -/include/ "msm8974-camera-sensor-fluid.dtsi" -/include/ "msm8974-leds.dtsi" - -&soc { - serial@f991e000 { - status = "ok"; - }; - - qcom,mdss_dsi_toshiba_720p_video { - status = "ok"; - qcom,cont-splash-enabled; - }; - - qcom,hdmi_tx@fd922100 { - status = "ok"; - }; - - i2c@f9924000 { - atmel_mxt_ts@4a { - compatible = "atmel,mxt-ts"; - reg = <0x4a>; - interrupt-parent = <&msmgpio>; - interrupts = <61 0x2>; - vdd_ana-supply = <&pm8941_l18>; - vcc_i2c-supply = <&pm8941_lvs1>; - atmel,reset-gpio = <&msmgpio 60 0x00>; - atmel,irq-gpio = <&msmgpio 61 0x00>; - atmel,panel-coords = <0 0 760 1424>; - atmel,display-coords = <0 0 720 1280>; - atmel,i2c-pull-up; - atmel,no-force-update; - atmel,cfg_1 { - atmel,family-id = <0x82>; - atmel,variant-id = <0x19>; - atmel,version = <0x10>; - atmel,build = <0xaa>; - atmel,config = [ - /* Object 6, Instance = 0 */ - 00 00 00 00 00 00 - /* Object 38, Instance = 0 */ - 15 01 00 03 0A 0C 00 00 - /* Object 7, Instance = 0 */ - 20 08 32 03 - /* Object 8, Instance = 0 */ - 0F 00 0A 0A 00 00 0A 0A 00 00 - /* Object 9, Instance = 0 */ - 83 00 00 18 0E 00 70 46 02 01 - 00 0A 03 31 04 05 0A 0A 90 05 - F8 02 05 F1 F1 0F 00 00 08 2D - 12 06 00 00 00 01 - /* Object 15, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 - /* Object 18, Instance = 0 */ - 00 00 - /* Object 19, Instance = 0 */ - 00 00 00 00 00 00 - /* Object 23, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 - /* Object 25, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 - /* Object 40, Instance = 0 */ - 00 00 00 00 00 - /* Object 42, Instance = 0 */ - 33 1E 19 10 80 00 00 00 FF 00 - /* Object 46, Instance = 0 */ - 00 00 10 10 00 00 03 00 00 01 - /* Object 47, Instance = 0 */ - 08 0A 28 0A 02 0A 00 8C 00 20 - 00 00 00 - /* Object 55, Instance = 0 */ - 00 00 00 00 00 00 - /* Object 56, Instance = 0 */ - 00 00 00 18 05 05 05 05 05 05 - 05 05 05 05 05 05 05 05 05 05 - 05 05 05 05 05 05 05 05 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 - /* Object 57, Instance = 0 */ - 00 00 00 - /* Object 61, Instance = 0 */ - 00 00 00 00 00 - /* Object 62, Instance = 0 */ - 01 2A 00 16 00 00 00 00 0B 01 - 02 03 04 08 00 00 08 10 18 05 - 00 0A 05 05 50 14 19 34 1A 7F - 00 00 00 00 00 00 00 00 00 30 - 05 02 00 01 00 05 00 00 00 00 - 00 00 00 00 - ]; - }; - }; - }; - - i2c@f9967000 { - sii8334@72 { - compatible = "qcom,mhl-sii8334"; - reg = <0x72>; - interrupt-parent = <&msmgpio>; - interrupts = <82 0x8>; - mhl-intr-gpio = <&msmgpio 82 0>; - mhl-pwr-gpio = <&msmgpio 12 0>; - mhl-rst-gpio = <&pm8941_mpps 8 0>; - avcc_18-supply = <&pm8941_l24>; - avcc_12-supply = <&pm8941_l2>; - smps3a-supply = <&pm8941_s3>; - vdda-supply = <&pm8941_l12>; - qcom,hdmi-tx-map = <&mdss_hdmi_tx>; - }; - - isa1200@48 { - status = "okay"; - reg = <0x48>; - vcc_i2c-supply = <&pm8941_s3>; - compatible = "imagis,isa1200"; - label = "vibrator"; - imagis,chip-en; - imagis,need-pwm-clk; - imagis,ext-clk-en; - imagis,hap-en-gpio = <&msmgpio 86 0x00>; - imagis,max-timeout = <15000>; - imagis,pwm-div = <256>; - imagis,mode-ctrl = <2>; - imagis,regulator { - regulator-name = "vcc_i2c"; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - regulator-max-microamp = <9360>; - }; - }; - }; - - gen-vkeys { - compatible = "qcom,gen-vkeys"; - label = "atmel_mxt_ts"; - qcom,disp-maxx = <720>; - qcom,disp-maxy = <1280>; - qcom,panel-maxx = <760>; - qcom,panel-maxy = <1424>; - qcom,key-codes = <158 139 102 217>; - }; - - gpio_keys { - compatible = "gpio-keys"; - input-name = "gpio-keys"; - - camera_snapshot { - label = "camera_snapshot"; - gpios = <&pm8941_gpios 3 0x1>; - linux,input-type = <1>; - linux,code = <0x2fe>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - - camera_focus { - label = "camera_focus"; - gpios = <&pm8941_gpios 4 0x1>; - linux,input-type = <1>; - linux,code = <0x210>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - - vol_up { - label = "volume_up"; - gpios = <&pm8941_gpios 5 0x1>; - linux,input-type = <1>; - linux,code = <115>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - }; - - spi@f9923000 { - ethernet-switch@2 { - compatible = "micrel,ks8851"; - reg = <2>; - interrupt-parent = <&msmgpio>; - interrupts = <94 0>; - spi-max-frequency = <4800000>; - rst-gpio = <&pm8941_mpps 6 0>; - vdd-io-supply = <&spi_eth_vreg>; - vdd-phy-supply = <&spi_eth_vreg>; - }; - }; - - sound { - qcom,model = "msm8974-taiko-fluid-snd-card"; - qcom,audio-routing = - "RX_BIAS", "MCLK", - "LDO_H", "MCLK", - "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", - "Lineout_1 amp", "LINEOUT1", - "Lineout_3 amp", "LINEOUT3"; - - qcom,hdmi-audio-rx; - qcom,ext-ult-lo-amp-gpio = <&pm8941_gpios 6 0>; - qcom,cdc-micbias2-headset-only; - }; -}; - -&slim_msm { - taiko_codec { - qcom,cdc-micbias1-ext-cap; - qcom,cdc-micbias2-ext-cap; - qcom,cdc-micbias3-ext-cap; - qcom,cdc-micbias4-ext-cap; - - /* If boot isn't available, vph_pwr_vreg can be used instead */ - cdc-vdd-spkdrv-supply = <&pm8941_boost>; - qcom,cdc-vdd-spkdrv-voltage = <5000000 5000000>; - qcom,cdc-vdd-spkdrv-current = <1250000>; - - qcom,cdc-on-demand-supplies = "cdc-vdd-spkdrv"; - }; -}; - -&spmi_bus { - qcom,pm8941@1 { - qcom,leds@d800 { - status = "okay"; - qcom,wled_0 { - label = "wled"; - linux,name = "wled:backlight"; - linux,default-trigger = "bkl-trigger"; - qcom,cs-out-en; - qcom,op-fdbck = <1>; - qcom,default-state = "on"; - qcom,max-current = <25>; - qcom,ctrl-delay-us = <0>; - qcom,boost-curr-lim = <3>; - qcom,cp-sel = <0>; - qcom,switch-freq = <2>; - qcom,ovp-val = <2>; - qcom,num-strings = <1>; - qcom,id = <0>; - }; - }; - - qcom,leds@d900 { - status = "disabled"; - }; - - qcom,leds@da00 { - status = "disabled"; - }; - - qcom,leds@db00 { - status = "disabled"; - }; - - qcom,leds@dc00 { - status = "disabled"; - }; - - qcom,leds@dd00 { - status = "disabled"; - }; - - qcom,leds@de00 { - status = "disabled"; - }; - - qcom,leds@df00 { - status = "disabled"; - }; - - qcom,leds@e000 { - status = "disabled"; - }; - - qcom,leds@e100 { - status = "disabled"; - }; - }; -}; - -&sdcc1 { - status = "disabled"; -}; - -&sdcc2 { - #address-cells = <0>; - interrupt-parent = <&sdcc2>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 125 0 - 1 &intc 0 220 0 - 2 &msmgpio 62 0x3>; - interrupt-names = "core_irq", "bam_irq", "status_irq"; - cd-gpios = <&msmgpio 62 0x1>; - status = "disabled"; -}; - -&sdhc_1 { - vdd-supply = <&pm8941_l20>; - vdd-io-supply = <&pm8941_s3>; - - qcom,vdd-always-on; - qcom,vdd-lpm-sup; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <800 500000>; - - qcom,vdd-io-always-on; - qcom,vdd-io-voltage-level = <1800000 1800000>; - qcom,vdd-io-current-level = <250 154000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,nonremovable; - status = "ok"; -}; - -&sdhc_2 { - #address-cells = <0>; - interrupt-parent = <&sdhc_2>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 125 0 - 1 &intc 0 221 0 - 2 &msmgpio 62 0x3>; - interrupt-names = "hc_irq", "pwr_irq", "status_irq"; - cd-gpios = <&msmgpio 62 0x1>; - - vdd-supply = <&pm8941_l21>; - vdd-io-supply = <&pm8941_l13>; - - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <9000 800000>; - - qcom,vdd-io-voltage-level = <1800000 2950000>; - qcom,vdd-io-current-level = <6 22000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - status = "ok"; -}; - -/* Drive strength recommendations for clock line from hardware team is 10 mA. - * But since the driver has been been using the below values from the start - * without any problems, continue to use those. - */ -&sdcc1 { - qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */ -}; - -&sdcc2 { - qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */ -}; - -&sdhc_1 { - qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */ -}; - -&sdhc_2 { - qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */ -}; - -&usb3 { - qcom,otg-capability; -}; - -&pm8941_bms { - status = "ok"; -}; - -&pm8941_chg { - status = "ok"; - qcom,charging-disabled; - - qcom,chgr@1000 { - status = "ok"; - }; - - qcom,buck@1100 { - status = "ok"; - }; - - qcom,bat-if@1200 { - status = "ok"; - }; - - qcom,usb-chgpth@1300 { - status = "ok"; - }; - - qcom,dc-chgpth@1400 { - status = "ok"; - }; - - qcom,boost@1500 { - status = "ok"; - }; - - qcom,chg-misc@1600 { - status = "ok"; - }; -}; - -&pm8941_gpios { - gpio@c000 { /* GPIO 1 */ - }; - - gpio@c100 { /* GPIO 2 */ - }; - - gpio@c200 { /* GPIO 3 */ - qcom,mode = <0>; - qcom,pull = <0>; - qcom,vin-sel = <2>; - qcom,src-sel = <0>; - }; - - gpio@c300 { /* GPIO 4 */ - qcom,mode = <0>; - qcom,pull = <0>; - qcom,vin-sel = <2>; - qcom,src-sel = <0>; - }; - - gpio@c400 { /* GPIO 5 */ - qcom,mode = <0>; - qcom,pull = <0>; - qcom,vin-sel = <2>; - qcom,src-sel = <0>; - }; - - gpio@c500 { /* GPIO 6 */ - }; - - gpio@c600 { /* GPIO 7 */ - }; - - gpio@c700 { /* GPIO 8 */ - }; - - gpio@c800 { /* GPIO 9 */ - }; - - gpio@c900 { /* GPIO 10 */ - }; - - gpio@ca00 { /* GPIO 11 */ - }; - - gpio@cb00 { /* GPIO 12 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,output-type = <0>; /* QPNP_PIN_OUT_BUF_CMOS */ - qcom,pull = <5>; /* QPNP_PIN_PULL_NO */ - qcom,vin-sel = <2>; /* QPNP_PIN_VIN2 */ - qcom,out-strength = <2>; /* QPNP_PIN_OUT_STRENGTH_MED */ - qcom,src-sel = <0>; /* QPNP_PIN_SEL_FUNC_CONSTANT */ - qcom,master-en = <1>; - }; - - gpio@cc00 { /* GPIO 13 */ - }; - - gpio@cd00 { /* GPIO 14 */ - }; - - gpio@ce00 { /* GPIO 15 */ - qcom,mode = <1>; - qcom,output-type = <0>; - qcom,pull = <5>; - qcom,vin-sel = <2>; - qcom,out-strength = <1>; - qcom,src-sel = <2>; - qcom,master-en = <1>; - }; - - gpio@cf00 { /* GPIO 16 */ - qcom,mode = <1>; - qcom,output-type = <0>; - qcom,pull = <5>; - qcom,vin-sel = <2>; - qcom,out-strength = <3>; - qcom,src-sel = <2>; - qcom,master-en = <1>; - }; - - gpio@d000 { /* GPIO 17 */ - }; - - gpio@d100 { /* GPIO 18 */ - }; - - gpio@d200 { /* GPIO 19 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,output-type = <0>; /* QPNP_PIN_OUT_BUF_CMOS */ - qcom,pull = <5>; /* QPNP_PIN_PULL_NO */ - qcom,vin-sel = <2>; /* QPNP_PIN_VIN2 */ - qcom,out-strength = <2>; /* QPNP_PIN_OUT_STRENGTH_MED */ - qcom,src-sel = <0>; /* QPNP_PIN_SEL_FUNC_CONSTANT */ - qcom,master-en = <1>; - }; - - gpio@d300 { /* GPIO 20 */ - }; - - gpio@d400 { /* GPIO 21 */ - }; - - gpio@d500 { /* GPIO 22 */ - }; - - gpio@d600 { /* GPIO 23 */ - }; - - gpio@d700 { /* GPIO 24 */ - }; - - gpio@d800 { /* GPIO 25 */ - }; - - gpio@d900 { /* GPIO 26 */ - }; - - gpio@da00 { /* GPIO 27 */ - }; - - gpio@db00 { /* GPIO 28 */ - }; - - gpio@dc00 { /* GPIO 29 */ - qcom,pull = <0>; /* set to default pull */ - qcom,master-en = <1>; - qcom,vin-sel = <2>; /* select 1.8 V source */ - }; - - gpio@dd00 { /* GPIO 30 */ - }; - - gpio@de00 { /* GPIO 31 */ - }; - - gpio@df00 { /* GPIO 32 */ - }; - - gpio@e000 { /* GPIO 33 */ - }; - - gpio@e100 { /* GPIO 34 */ - }; - - gpio@e200 { /* GPIO 35 */ - }; - - gpio@e300 { /* GPIO 36 */ - }; -}; - -&pm8941_mpps { - - mpp@a000 { /* MPP 1 */ - status = "disabled"; - }; - - mpp@a100 { /* MPP 2 */ - }; - - mpp@a200 { /* MPP 3 */ - }; - - mpp@a300 { /* MPP 4 */ - }; - - mpp@a400 { /* MPP 5 */ - }; - - mpp@a500 { /* MPP 6 */ - /* SPI_ETH_RST config */ - qcom,mode = <1>; /* DIG_OUT */ - qcom,output-type = <0>; /* CMOS */ - qcom,vin-sel = <2>; /* PM8941_S3 1.8V > 1.6V */ - qcom,src-sel = <0>; /* CONSTANT */ - qcom,master-en = <1>; /* ENABLE MPP */ - }; - - mpp@a600 { /* MPP 7 */ - }; - - mpp@a700 { /* MPP 8 */ - qcom,mode = <1>; /* DIG_OUT */ - qcom,output-type = <0>; /* CMOS */ - qcom,pull = <0>; - qcom,vin-sel = <2>; /* PM8941_S3 1.8V > 1.6V */ - qcom,src-sel = <0>; /* CONSTANT */ - qcom,master-en = <1>; /* ENABLE MPP */ - }; -}; - -&pm8841_mpps { - - mpp@a000 { /* MPP 1 */ - }; - - mpp@a100 { /* MPP 2 */ - }; - - mpp@a200 { /* MPP 3 */ - }; - - mpp@a300 { /* MPP 4 */ - }; -}; - -&spi_epm { - epm-adc@0 { - compatible = "cy,epm-adc-cy8c5568lti-114"; - reg = <0>; - interrupt-parent = <&msmgpio>; - spi-max-frequency = <960000>; - qcom,channels = <31>; - qcom,gain = <100 100 100 50 100 100 1 100 1 50 - 1 100 1 100 50 50 50 50 50 50 - 100 50 100 50 50 50 50 50 50 50 - 50>; - qcom,rsense = <2 2 2 200 20 2 1 2 1 30 - 1 10 1 30 50 30 500 30 100 30 - 100 500 20 200 1000 20 1000 1000 70 200 - 50>; - qcom,channel-type = <0x1540>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8974-gpu.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8974-gpu.dtsi deleted file mode 100644 index 06b9c187b..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8974-gpu.dtsi +++ /dev/null @@ -1,185 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ -&soc { - msm_gpu: qcom,kgsl-3d0@fdb00000 { - label = "kgsl-3d0"; - compatible = "qcom,kgsl-3d0", "qcom,kgsl-3d"; - reg = <0xfdb00000 0x10000 - 0xfdb20000 0x10000>; - reg-names = "kgsl_3d0_reg_memory" , "kgsl_3d0_shader_memory"; - interrupts = <0 33 0>; - interrupt-names = "kgsl_3d0_irq"; - qcom,id = <0>; - - qcom,chipid = <0x03030000>; - - qcom,initial-pwrlevel = <2>; - qcom,step-pwrlevel = <2>; - - qcom,idle-timeout = <8>; // - qcom,strtstp-sleepwake; - qcom,clk-map = <0x0000006>; //KGSL_CLK_CORE | KGSL_CLK_IFACE - - /* Bus Scale Settings */ - qcom,msm-bus,name = "grp3d"; - qcom,msm-bus,num-cases = <6>; - qcom,msm-bus,num-paths = <2>; - qcom,msm-bus,vectors-KBps = - <26 512 0 0>, <89 604 0 0>, - <26 512 0 2200000>, <89 604 0 3000000>, - <26 512 0 4000000>, <89 604 0 3000000>, - <26 512 0 4000000>, <89 604 0 4500000>, - <26 512 0 6400000>, <89 604 0 4500000>, - <26 512 0 6400000>, <89 604 0 7600000>; - - /* GDSC oxili regulators */ - vddcx-supply = <&gdsc_oxili_cx>; - vdd-supply = <&gdsc_oxili_gx>; - - /* Power levels */ - - /* IOMMU Data */ - iommu = <&kgsl_iommu>; - - /* Trace bus */ - coresight-id = <67>; - coresight-name = "coresight-gfx"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_mmss>; - coresight-child-ports = <7>; - - qcom,gpu-pwrlevels { - #address-cells = <1>; - #size-cells = <0>; - - compatible = "qcom,gpu-pwrlevels"; - - qcom,gpu-pwrlevel@0 { - reg = <0>; - qcom,gpu-freq = <450000000>; - qcom,bus-freq = <5>; - qcom,io-fraction = <33>; - }; - - qcom,gpu-pwrlevel@1 { - reg = <1>; - qcom,gpu-freq = <320000000>; - qcom,bus-freq = <4>; - qcom,io-fraction = <66>; - }; - - qcom,gpu-pwrlevel@2 { - reg = <2>; - qcom,gpu-freq = <320000000>; - qcom,bus-freq = <3>; - qcom,io-fraction = <66>; - }; - - qcom,gpu-pwrlevel@3 { - reg = <3>; - qcom,gpu-freq = <200000000>; - qcom,bus-freq = <2>; - qcom,io-fraction = <100>; - }; - - qcom,gpu-pwrlevel@4 { - reg = <4>; - qcom,gpu-freq = <200000000>; - qcom,bus-freq = <1>; - qcom,io-fraction = <100>; - }; - - qcom,gpu-pwrlevel@5 { - reg = <5>; - qcom,gpu-freq = <27000000>; - qcom,bus-freq = <0>; - qcom,io-fraction = <0>; - }; - }; - - qcom,dcvs-core-info { - #address-cells = <1>; - #size-cells = <0>; - - compatible = "qcom,dcvs-core-info"; - - qcom,num-cores = <1>; - qcom,sensors = <0>; - - qcom,core-core-type = <1>; - - qcom,algo-disable-pc-threshold = <0>; - qcom,algo-em-win-size-min-us = <100000>; - qcom,algo-em-win-size-max-us = <300000>; - qcom,algo-em-max-util-pct = <97>; - qcom,algo-group-id = <95>; - qcom,algo-max-freq-chg-time-us = <100000>; - qcom,algo-slack-mode-dynamic = <100000>; - qcom,algo-slack-weight-thresh-pct = <0>; - qcom,algo-slack-time-min-us = <39000>; - qcom,algo-slack-time-max-us = <39000>; - qcom,algo-ss-win-size-min-us = <1000000>; - qcom,algo-ss-win-size-max-us = <1000000>; - qcom,algo-ss-util-pct = <95>; - qcom,algo-ss-no-corr-below-freq = <0>; - - qcom,energy-active-coeff-a = <2492>; - qcom,energy-active-coeff-b = <0>; - qcom,energy-active-coeff-c = <0>; - qcom,energy-leakage-coeff-a = <11>; - qcom,energy-leakage-coeff-b = <157150>; - qcom,energy-leakage-coeff-c = <0>; - qcom,energy-leakage-coeff-d = <0>; - - qcom,power-current-temp = <25>; - qcom,power-num-freq = <4>; - - qcom,dcvs-freq@0 { - reg = <0>; - qcom,freq = <0>; - qcom,voltage = <0>; - qcom,is_trans_level = <0>; - qcom,active-energy-offset = <100>; - qcom,leakage-energy-offset = <0>; - }; - - qcom,dcvs-freq@1 { - reg = <1>; - qcom,freq = <0>; - qcom,voltage = <0>; - qcom,is_trans_level = <0>; - qcom,active-energy-offset = <100>; - qcom,leakage-energy-offset = <0>; - }; - - qcom,dcvs-freq@2 { - reg = <2>; - qcom,freq = <0>; - qcom,voltage = <0>; - qcom,is_trans_level = <0>; - qcom,active-energy-offset = <100>; - qcom,leakage-energy-offset = <0>; - }; - - qcom,dcvs-freq@3 { - reg = <3>; - qcom,freq = <0>; - qcom,voltage = <0>; - qcom,is_trans_level = <0>; - qcom,active-energy-offset = <844545>; - qcom,leakage-energy-offset = <0>; - }; - }; - - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8974-ion.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8974-ion.dtsi deleted file mode 100644 index 63f6d59c2..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8974-ion.dtsi +++ /dev/null @@ -1,59 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&soc { - qcom,ion { - compatible = "qcom,msm-ion"; - #address-cells = <1>; - #size-cells = <0>; - - qcom,ion-heap@30 { /* SYSTEM HEAP */ - reg = <30>; - }; - - qcom,ion-heap@21 { /* SYSTEM CONTIG HEAP */ - reg = <21>; - }; - - qcom,ion-heap@8 { /* CP_MM HEAP */ - compatible = "qcom,msm-ion-reserve"; - reg = <8>; - qcom,heap-align = <0x1000>; - linux,contiguous-region = <&secure_mem>; - }; - - qcom,ion-heap@22 { /* adsp heap */ - compatible = "qcom,msm-ion-reserve"; - reg = <22>; - qcom,heap-align = <0x1000>; - linux,contiguous-region = <&adsp_mem>; - }; - - qcom,ion-heap@25 { /* IOMMU HEAP */ - reg = <25>; - }; - - qcom,ion-heap@27 { /* QSECOM HEAP */ - compatible = "qcom,msm-ion-reserve"; - reg = <27>; - linux,contiguous-region = <&qsecom_mem>; - }; - - qcom,ion-heap@28 { /* AUDIO HEAP */ - compatible = "qcom,msm-ion-reserve"; - reg = <28>; - qcom,heap-align = <0x1000>; - qcom,memory-reservation-type = "EBI1"; /* reserve EBI memory */ - qcom,memory-reservation-size = <0x614000>; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8974-leds.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8974-leds.dtsi deleted file mode 100644 index 5e91f4597..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8974-leds.dtsi +++ /dev/null @@ -1,129 +0,0 @@ -/* - * Copyright (c) 2012-2013, 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. - */ - -&spmi_bus { - qcom,pm8941@1 { - qcom,leds@d000 { - status = "okay"; - qcom,rgb_0 { - label = "rgb"; - linux,name = "led:rgb_red"; - qcom,mode = "pwm"; - qcom,pwm-channel = <6>; - qcom,pwm-us = <1000>; - qcom,max-current = <12>; - qcom,default-state = "off"; - qcom,id = <3>; - linux,default-trigger = - "battery-charging"; - }; - - qcom,rgb_1 { - label = "rgb"; - linux,name = "led:rgb_green"; - qcom,mode = "pwm"; - qcom,pwm-channel = <5>; - qcom,pwm-us = <1000>; - qcom,max-current = <12>; - qcom,default-state = "off"; - qcom,id = <4>; - linux,default-trigger = "battery-full"; - }; - - qcom,rgb_2 { - label = "rgb"; - linux,name = "led:rgb_blue"; - qcom,mode = "pwm"; - qcom,pwm-channel = <4>; - qcom,pwm-us = <1000>; - qcom,max-current = <12>; - qcom,id = <5>; - status = "disabled"; - }; - }; - - qcom,leds@d100 { - status = "disabled"; - }; - - qcom,leds@d200 { - status = "disabled"; - }; - - qcom,leds@d300 { - status = "okay"; - pm8941_flash0: qcom,flash_0 { - qcom,max-current = <1000>; - qcom,default-state = "off"; - qcom,headroom = <3>; - qcom,duration = <1280>; - qcom,clamp-curr = <200>; - qcom,startup-dly = <3>; - qcom,safety-timer; - label = "flash"; - linux,default-trigger = - "flash0_trigger"; - qcom,id = <1>; - linux,name = "led:flash_0"; - qcom,current = <625>; - }; - - pm8941_flash1: qcom,flash_1 { - qcom,max-current = <1000>; - qcom,default-state = "off"; - qcom,headroom = <3>; - qcom,duration = <1280>; - qcom,clamp-curr = <200>; - qcom,startup-dly = <3>; - qcom,safety-timer; - linux,default-trigger = - "flash1_trigger"; - label = "flash"; - qcom,id = <2>; - linux,name = "led:flash_1"; - qcom,current = <625>; - }; - - pm8941_torch: qcom,flash_torch { - qcom,max-current = <200>; - qcom,default-state = "off"; - qcom,headroom = <0>; - qcom,startup-dly = <1>; - linux,default-trigger = - "torch_trigger"; - label = "flash"; - qcom,id = <2>; - linux,name = "led:flash_torch"; - qcom,current = <200>; - qcom,torch-enable; - }; - }; - - qcom,leds@d400 { - status = "disabled"; - }; - - qcom,leds@d500 { - status = "disabled"; - }; - - qcom,leds@d600 { - status = "disabled"; - }; - - qcom,leds@d700 { - status = "disabled"; - }; - }; -}; - diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8974-liquid.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8974-liquid.dtsi deleted file mode 100644 index 2dc52b6be..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8974-liquid.dtsi +++ /dev/null @@ -1,893 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/include/ "msm8974-leds.dtsi" -/include/ "msm8974-camera-sensor-liquid.dtsi" - -&soc { - serial@f991e000 { - status = "ok"; - }; - - qcom,mdss_edp@fd923400 { - status = "ok"; - }; - - i2c@f9967000 { - battery@b { - compatible = "ti,bq28400-battery"; - reg = <0xb>; - ti,temp-cold = <2>; /* degree celsius */ - ti,temp-hot = <43>; /* degree celsius */ - }; - - charger@2b { - compatible = "summit,smb350-charger"; - reg = <0x2b>; /* 0x56/0x57 */ - summit,stat-gpio = <&pm8941_gpios 30 0x00>; - summit,chg-en-n-gpio = <&pm8941_gpios 10 0x00>; - summit,chg-susp-n-gpio = <&pm8941_gpios 13 0x00>; - summit,chg-current-ma = <1600>; - summit,term-current-ma = <300>; - }; - }; - - gpio_keys { - compatible = "gpio-keys"; - input-name = "gpio-keys"; - - home { - label = "home"; - gpios = <&pm8941_gpios 1 0x1>; - linux,input-type = <1>; - linux,code = <102>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - - vol_down { - label = "volume_down"; - gpios = <&pm8941_gpios 2 0x1>; - linux,input-type = <1>; - linux,code = <114>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - - vol_up { - label = "volume_up"; - gpios = <&pm8941_gpios 5 0x1>; - linux,input-type = <1>; - linux,code = <115>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - }; - - qcom,hdmi_tx@fd922100 { - status = "ok"; - - qcom,hdmi-tx-mux-sel = <&pm8841_mpps 3 0>; - qcom,hdmi-tx-mux-en = <&pm8841_mpps 4 0>; - }; - - drv2667_vreg: drv2667_vdd_vreg { - compatible = "regulator-fixed"; - regulator-name = "vdd_drv2667"; - }; - - i2c@f9967000 { - ti-drv2667@59 { - compatible = "ti,drv2667"; - reg = <0x59>; - vdd-supply = <&drv2667_vreg>; - vdd-i2c-supply = <&pm8941_s3>; - ti,label = "vibrator"; - ti,gain = <2>; - ti,idle-timeout-ms = <20>; - ti,max-runtime-ms = <15000>; - ti,mode = <2>; - ti,wav-seq = [ - /* wave form id */ - 01 - /* header size, start and stop bytes */ - 05 80 06 00 09 - /* repeat, amp, freq, duration, envelope */ - 01 ff 19 02 00]; - }; - }; - - i2c@f9924000 { - atmel_mxt_ts@4a { - compatible = "atmel,mxt-ts"; - reg = <0x4a>; - interrupt-parent = <&msmgpio>; - interrupts = <61 0x2>; - vdd_ana-supply = <&pm8941_l22>; - vcc_i2c-supply = <&pm8941_s3>; - atmel,reset-gpio = <&msmgpio 60 0x00>; - atmel,irq-gpio = <&msmgpio 61 0x00>; - atmel,panel-coords = <0 0 1080 1920>; - atmel,display-coords = <0 0 1080 1920>; - atmel,i2c-pull-up; - atmel,no-force-update; - atmel,cfg_1 { - atmel,family-id = <0xa2>; - atmel,variant-id = <0x00>; - atmel,version = <0x11>; - atmel,build = <0xaa>; - atmel,config = [ - /* Object 6, Instance = 0 */ - 00 00 00 00 00 00 - /* Object 38, Instance = 0 */ - 16 00 00 14 09 0C 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 - /* Object 7, Instance = 0 */ - FF FF 0A 03 - /* Object 8, Instance = 0 */ - 5F 00 14 14 00 00 00 01 00 00 - /* Object 9, Instance = 0 */ - 8F 00 00 20 34 00 87 3C 08 03 - 00 05 03 80 0A 14 14 0A 80 07 - 38 04 00 00 00 00 00 00 00 00 - 0F 0F 2E 33 02 00 - /* Object 15, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 - /* Object 18, Instance = 0 */ - 04 00 - /* Object 24, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 - /* Object 25, Instance = 0 */ - 00 00 54 6F F0 55 00 00 00 00 - 00 00 00 00 00 - /* Object 27, Instance = 0 */ - 00 00 00 00 00 00 00 - /* Object 40, Instance = 0 */ - 00 14 14 14 14 - /* Object 42, Instance = 0 */ - 20 14 00 00 00 14 11 00 03 00 - /* Object 43, Instance = 0 */ - 09 00 01 01 91 00 80 00 00 00 - 00 00 - /* Object 46, Instance = 0 */ - 00 00 10 10 00 00 01 00 00 0F - 0A - /* Object 47, Instance = 0 */ - 00 14 23 02 05 1E 01 78 03 10 - 00 00 0C 00 00 00 00 00 00 00 - 00 00 - /* Object 55, Instance = 0 */ - 00 00 00 00 00 00 00 - /* Object 56, Instance = 0 */ - 02 00 01 30 13 14 14 14 15 15 - 15 15 15 15 15 16 16 16 16 16 - 16 16 16 16 16 15 14 14 14 14 - 15 14 14 14 14 13 00 00 01 02 - 05 05 00 00 00 00 00 00 00 00 - 00 - /* Object 57, Instance = 0 */ - 00 00 00 - /* Object 61, Instance = 0 */ - 00 00 00 00 00 - /* Object 62, Instance = 0 */ - 00 01 03 01 00 00 00 00 00 0A - 0F 14 19 23 05 00 0A 05 05 69 - 23 23 34 11 64 06 06 04 40 00 - 00 00 00 00 69 4B 02 00 00 80 - 0A 14 14 18 18 10 10 80 00 80 - 00 00 0F 02 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 - /* Object 63, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 00 - ]; - }; - atmel,cfg_2 { - atmel,family-id = <0xa2>; - atmel,variant-id = <0x00>; - atmel,version = <0x11>; - atmel,build = <0xaa>; - atmel,config = [ - /* Object 6, Instance = 0 */ - 00 00 00 00 00 00 - /* Object 38, Instance = 0 */ - 19 03 00 1E 05 0D 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 - /* Object 7, Instance = 0 */ - 20 08 32 C3 - /* Object 8, Instance = 0 */ - 41 00 14 14 00 00 00 01 00 00 - /* Object 9, Instance = 0 */ - 8F 00 00 20 34 00 87 4B 02 03 - 00 05 03 41 0A 14 14 0A 80 07 - 38 04 00 00 03 03 08 28 02 3C - 0F 0F 2E 33 01 00 - /* Object 15, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 - /* Object 18, Instance = 0 */ - 04 00 - /* Object 24, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 - /* Object 25, Instance = 0 */ - 00 00 54 6F F0 55 00 00 00 00 - 00 00 00 00 00 - /* Object 27, Instance = 0 */ - 00 00 00 00 00 00 00 - /* Object 40, Instance = 0 */ - 00 14 14 14 14 - /* Object 42, Instance = 0 */ - 23 32 14 14 80 00 0A 00 05 05 - /* Object 43, Instance = 0 */ - 08 00 01 01 91 00 80 00 00 00 - 00 00 - /* Object 46, Instance = 0 */ - 00 00 18 18 00 00 01 00 00 0F - 0A - /* Object 47, Instance = 0 */ - 00 14 28 02 05 28 01 78 03 10 - 00 00 0C 00 00 00 00 00 00 00 - 00 00 - /* Object 55, Instance = 0 */ - 00 00 00 00 00 00 00 - /* Object 56, Instance = 0 */ - 01 00 00 30 13 14 14 14 15 15 - 15 15 15 15 15 16 16 16 16 16 - 16 16 16 16 16 15 14 14 14 14 - 15 14 14 14 14 13 03 20 03 01 - 0A 04 00 00 00 00 00 00 00 00 - 1A - /* Object 57, Instance = 0 */ - 00 00 00 - /* Object 61, Instance = 0 */ - 00 00 00 00 00 - /* Object 62, Instance = 0 */ - 00 03 00 07 02 00 00 00 00 00 - 0F 17 23 2D 05 00 05 03 03 69 - 14 14 34 11 64 06 06 04 40 00 - 00 00 00 00 69 3C 02 04 01 00 - 0A 14 14 03 03 03 03 00 00 00 - 00 64 1E 01 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 - /* Object 63, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 00 - /* Object 65, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 - /* Object 66, Instance = 0 */ - 00 00 00 00 00 - ]; - }; - }; - }; - - ext_5v: regulator-smb210 { - compatible = "regulator-fixed"; - regulator-name = "ext_5v"; - gpio = <&pm8941_mpps 2 0>; - startup-delay-us = <12000>; - enable-active-high; - }; - - ath_chip_pwd_l: ath_chip_reset { - compatible = "regulator-fixed"; - regulator-name = "ath_chip_pwd_l"; - gpio = <&pm8941_gpios 33 0>; - enable-active-high; - }; - - bt_ar3002 { - compatible = "qca,ar3002"; - qca,bt-reset-gpio = <&pm8941_gpios 34 0>; - qca,bt-chip-pwd-supply = <&ath_chip_pwd_l>; - qca,bt-vdd-io-supply = <&pm8941_s3>; - qca,bt-vdd-pa-supply = <&pm8941_l19>; - }; - - bt_ar3002_sleep { - compatible = "qca,ar3002_bluesleep"; - host-wake-gpio = <&msmgpio 79 0>; - ext-wake-gpio = <&msmgpio 51 0>; - interrupt-parent = <&msmgpio>; - interrupts = <79 2>; - interrupt-names = "host_wake"; - }; - - sound { - qcom,model = "msm8974-taiko-liquid-snd-card"; - - qcom,audio-routing = - "RX_BIAS", "MCLK", - "LDO_H", "MCLK", - "Lineout_1 amp", "LINEOUT1", - "Lineout_3 amp", "LINEOUT3", - "Lineout_2 amp", "LINEOUT2", - "Lineout_4 amp", "LINEOUT4", - "SPK_ultrasound amp", "SPK_OUT", - "AMIC1", "MIC BIAS4 External", - "MIC BIAS4 External", "Analog Mic4", - "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", - "AMIC5", "MIC BIAS1 External", - "MIC BIAS1 External", "Analog Mic6", - "AMIC6", "MIC BIAS1 External", - "MIC BIAS1 External", "Analog Mic7", - "DMIC1", "MIC BIAS3 External", - "MIC BIAS3 External", "Digital Mic1", - "DMIC2", "MIC BIAS3 External", - "MIC BIAS3 External", "Digital Mic2", - "DMIC3", "MIC BIAS2 External", - "MIC BIAS2 External", "Digital Mic3", - "DMIC4", "MIC BIAS3 External", - "MIC BIAS3 External", "Digital Mic4", - "DMIC5", "MIC BIAS2 External", - "MIC BIAS2 External", "Digital Mic5", - "DMIC6", "MIC BIAS2 External", - "MIC BIAS2 External", "Digital Mic6"; - - qcom,ext-spk-amp-supply = <&ext_5v>; - qcom,ext-spk-amp-gpio = <&pm8841_mpps 1 0>; - qcom,dock-plug-det-irq = <&pm8841_mpps 2 0>; - qcom,ext-ult-spk-amp-gpio = <&pm8941_gpios 6 0>; - qcom,hdmi-audio-rx; - - qcom,prim-auxpcm-gpio-clk = <&msmgpio 74 0>; - qcom,prim-auxpcm-gpio-sync = <&msmgpio 75 0>; - qcom,prim-auxpcm-gpio-din = <&msmgpio 76 0>; - qcom,prim-auxpcm-gpio-dout = <&msmgpio 77 0>; - qcom,prim-auxpcm-gpio-set = "prim-gpio-tert"; - }; - - hsic_hub { - compatible = "qcom,hsic-smsc-hub"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - smsc,reset-gpio = <&pm8941_gpios 8 0x00>; - smsc,refclk-gpio = <&pm8941_gpios 16 0x00>; - smsc,int-gpio = <&msmgpio 50 0x00>; - hub_int-supply = <&pm8941_l10>; - hub_vbus-supply = <&ext_5v>; - - hsic_host: hsic@f9a00000 { - compatible = "qcom,hsic-host"; - reg = <0xf9a00000 0x400>; - #address-cells = <0>; - interrupt-parent = <&hsic_host>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 136 0 - 1 &intc 0 148 0 - 2 &msmgpio 144 0x8>; - interrupt-names = "core_irq", "async_irq", "wakeup"; - HSIC_VDDCX-supply = <&pm8841_s2>; - HSIC_GDSC-supply = <&gdsc_usb_hsic>; - hsic,strobe-gpio = <&msmgpio 144 0x00>; - hsic,data-gpio = <&msmgpio 145 0x00>; - hsic,ignore-cal-pad-config; - hsic,strobe-pad-offset = <0x2050>; - hsic,data-pad-offset = <0x2054>; - - qcom,msm-bus,name = "hsic"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <85 512 0 0>, - <85 512 40000 160000>; - }; - }; - - wlan0: qca,wlan { - compatible = "qca,ar6004-hsic"; - qcom,msm-bus,name = "wlan"; - qca,wifi-chip-pwd-supply = <&ath_chip_pwd_l>; - qca,wifi-vddpa-supply = <&pm8941_l19>; - qca,wifi-vddio-supply = <&pm8941_l10>; - qcom,msm-bus,num-cases = <5>; - qcom,msm-bus,active-only = <0>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <85 512 0 0>, - <85 512 40000 160000>, - <85 512 40000 320000>, - <85 512 40000 480000>, - <85 512 40000 800000>; - }; - - wlan_sdio:qca,wlan_sdio { - compatible = "qca,ar6004-sdio"; - qcom,msm-bus,name = "wlan_sdio"; - qca,wifi-chip-pwd-supply = <&ath_chip_pwd_l>; - }; -}; - -&mdss_fb0 { - qcom,memory-reservation-size = <0x1000000>; /* size 16MB */ -}; - -&uart7 { - status = "ok"; - qcom,tx-gpio = <&msmgpio 41 0x00>; - qcom,rx-gpio = <&msmgpio 42 0x00>; - qcom,cts-gpio = <&msmgpio 43 0x00>; - qcom,rfr-gpio = <&msmgpio 44 0x00>; -}; - -&usb3 { - qcom,otg-capability; -}; - -&pm8941_mvs2 { - parent-supply = <&ext_5v>; -}; - -&pm8941_gpios { - gpio@c000 { /* GPIO 1 */ - qcom,mode = <0>; - qcom,pull = <0>; - qcom,vin-sel = <2>; - qcom,src-sel = <0>; - }; - - gpio@c100 { /* GPIO 2 */ - qcom,mode = <0>; - qcom,pull = <0>; - qcom,vin-sel = <2>; - qcom,src-sel = <0>; - }; - - gpio@c200 { /* GPIO 3 */ - }; - - gpio@c300 { /* GPIO 4 */ - }; - - gpio@c400 { /* GPIO 5 */ - qcom,mode = <0>; - qcom,pull = <0>; - qcom,vin-sel = <2>; - qcom,src-sel = <0>; - }; - - gpio@c500 { /* GPIO 6 */ - /* ULTRASOUND_EN_1 PA AB enable */ - qcom,mode = <1>; /* DIG_OUT */ - qcom,output-type = <0>; /* CMOS */ - qcom,pull = <4>; /* PULL_DOWN */ - qcom,vin-sel = <0>; /* VPH */ - qcom,out-strength = <2>; /* STRENGTH_MED */ - qcom,src-sel = <0>; /* CONSTANT */ - qcom,master-en = <1>; - }; - - gpio@c600 { /* GPIO 7 */ - }; - - gpio@c700 { /* GPIO 8 */ - /* HSIC_HUB-RESET */ - qcom,mode = <1>; /* DIG_OUT */ - qcom,pull = <5>; /* PULL_NO */ - qcom,out-strength = <2>; /* STRENGTH_MED */ - qcom,master-en = <1>; - }; - - gpio@c800 { /* GPIO 9 */ - }; - - gpio@c900 { /* GPIO 10 */ - /* SMB350-CHG-EN-N */ - qcom,mode = <1>; /* DIG_OUT */ - qcom,output-type = <0>; /* CMOS */ - qcom,pull = <5>; /* PULL_NO */ - qcom,vin-sel = <0>; /* VPH */ - qcom,out-strength = <2>; /* STRENGTH_MED */ - qcom,src-sel = <0>; /* CONSTANT */ - qcom,master-en = <1>; - }; - - gpio@ca00 { /* GPIO 11 */ - }; - - gpio@cb00 { /* GPIO 12 */ - }; - - gpio@cc00 { /* GPIO 13 */ - /* SMB350-CHG-SUSP-N */ - qcom,mode = <1>; /* DIG_OUT */ - qcom,output-type = <0>; /* CMOS */ - qcom,pull = <5>; /* PULL_NO */ - qcom,vin-sel = <0>; /* VPH */ - qcom,out-strength = <2>; /* STRENGTH_MED */ - qcom,src-sel = <0>; /* CONSTANT */ - qcom,master-en = <1>; - }; - - gpio@cd00 { /* GPIO 14 */ - }; - - gpio@ce00 { /* GPIO 15 */ - qcom,mode = <1>; - qcom,output-type = <0>; - qcom,pull = <5>; - qcom,vin-sel = <2>; - qcom,out-strength = <1>; - qcom,src-sel = <2>; - qcom,master-en = <1>; - }; - - gpio@cf00 { /* GPIO 16 */ - /* HSIC_HUB-INT_N */ - qcom,mode = <1>; - qcom,output-type = <0>; - qcom,pull = <5>; - qcom,vin-sel = <2>; - qcom,out-strength = <3>; - qcom,src-sel = <2>; - qcom,master-en = <1>; - }; - - gpio@d000 { /* GPIO 17 */ - }; - - gpio@d100 { /* GPIO 18 */ - }; - - gpio@d200 { /* GPIO 19 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,output-type = <0>; /* QPNP_PIN_OUT_BUF_CMOS */ - qcom,pull = <5>; /* QPNP_PIN_PULL_NO */ - qcom,vin-sel = <2>; /* QPNP_PIN_VIN2 */ - qcom,out-strength = <2>; /* QPNP_PIN_OUT_STRENGTH_MED */ - qcom,src-sel = <0>; /* QPNP_PIN_SEL_FUNC_CONSTANT */ - qcom,master-en = <1>; - }; - - gpio@d300 { /* GPIO 20 */ - }; - - gpio@d400 { /* GPIO 21 */ - }; - - gpio@d500 { /* GPIO 22 */ - }; - - gpio@d600 { /* GPIO 23 */ - }; - - gpio@d700 { /* GPIO 24 */ - }; - - gpio@d800 { /* GPIO 25 */ - }; - - gpio@d900 { /* GPIO 26 */ - }; - - gpio@da00 { /* GPIO 27 */ - }; - - gpio@db00 { /* GPIO 28 */ - }; - - gpio@dc00 { /* GPIO 29 */ - qcom,pull = <0>; /* set to default pull */ - qcom,master-en = <1>; - qcom,vin-sel = <2>; /* select 1.8 V source */ - }; - - gpio@dd00 { /* GPIO 30 */ - /* SMB350-STAT */ - qcom,mode = <0>; /* DIG_IN */ - qcom,pull = <5>; /* PULL_NO */ - qcom,vin-sel = <2>; /* S3 1.8V */ - qcom,src-sel = <0>; /* CONSTANT */ - qcom,master-en = <1>; - }; - - gpio@de00 { /* GPIO 31 */ - }; - - gpio@df00 { /* GPIO 32 */ - }; - - gpio@e000 { /* GPIO 33 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,output-type = <0>; /* QPNP_PIN_OUT_BUF_CMOS */ - qcom,pull = <5>; /* QPNP_PIN_PULL_NO */ - qcom,vin-sel = <2>; /* QPNP_PIN_VIN2 */ - qcom,out-strength = <2>; /* QPNP_PIN_OUT_STRENGTH_MED */ - qcom,src-sel = <0>; /* QPNP_PIN_SEL_FUNC_CONSTANT */ - qcom,invert = <1>; - qcom,master-en = <1>; - }; - - gpio@e100 { /* GPIO 34 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,output-type = <0>; /* QPNP_PIN_OUT_BUF_CMOS */ - qcom,pull = <5>; /* QPNP_PIN_PULL_NO */ - qcom,vin-sel = <2>; /* QPNP_PIN_VIN2 */ - qcom,out-strength = <2>; /* QPNP_PIN_OUT_STRENGTH_MED */ - qcom,src-sel = <0>; /* QPNP_PIN_SEL_FUNC_CONSTANT */ - qcom,invert = <0>; - qcom,master-en = <1>; - }; - - gpio@e200 { /* GPIO 35 */ - }; - - gpio@e300 { /* GPIO 36 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,output-type = <0>; /* QPNP_PIN_OUT_BUF_CMOS */ - qcom,pull = <5>; /* QPNP_PIN_PULL_NO */ - qcom,vin-sel = <2>; /* QPNP_PIN_VIN2 */ - qcom,out-strength = <3>; /* QPNP_PIN_OUT_STRENGTH_HIGH */ - qcom,src-sel = <3>; /* QPNP_PIN_SEL_FUNC_2 */ - qcom,master-en = <1>; - }; -}; - -&pm8941_mpps { - - mpp@a000 { /* MPP 1 */ - status = "disabled"; - }; - - mpp@a100 { /* MPP 2 */ - /* ext_5v regulator enable */ - qcom,mode = <1>; /* Digital output */ - qcom,invert = <0>; /* Output low initially */ - qcom,vin-sel = <2>; /* PM8941 S3 = 1.8 V */ - qcom,src-sel = <0>; /* Constant */ - qcom,master-en = <1>; /* Enable MPP */ - }; - - mpp@a200 { /* MPP 3 */ - }; - - mpp@a300 { /* MPP 4 */ - }; - - mpp@a400 { /* MPP 5 */ - /* SPI_ETH config */ - qcom,mode = <1>; /* DIG_OUT */ - qcom,output-type = <0>; /* CMOS */ - qcom,vin-sel = <2>; /* PM8941_S3 1.8V > 1.6V */ - qcom,src-sel = <0>; /* CONSTANT */ - qcom,master-en = <1>; /* ENABLE MPP */ - }; - - mpp@a500 { /* MPP 6 */ - /* SPI_ETH_RST config */ - qcom,mode = <1>; /* DIG_OUT */ - qcom,output-type = <0>; /* CMOS */ - qcom,vin-sel = <2>; /* PM8941_S3 1.8V > 1.6V */ - qcom,src-sel = <0>; /* CONSTANT */ - qcom,master-en = <1>; /* ENABLE MPP */ - }; - - mpp@a600 { /* MPP 7 */ - }; - - mpp@a700 { /* MPP 8 */ - }; -}; - -&pm8841_mpps { - - mpp@a000 { /* MPP 1 */ - /* CLASS_D_EN speakers PA */ - qcom,mode = <1>; /* DIG_OUT */ - qcom,output-type = <0>; /* PNP_PIN_OUT_BUF_CMOS */ - qcom,vin-sel = <2>; /* S3A 1.8v */ - qcom,src-select = <0>; /* CONSTANT */ - qcom,master-en = <1>; /* ENABLE MPP */ - }; - - mpp@a100 { /* MPP 2 */ - /* DOCK_PLUG_DET speakers+docking detect irq*/ - qcom,mode = <0>; /* DIG_IN */ - qcom,vin-sel = <2>; /* S3A 1.8v */ - qcom,src-sel = <0>; /* CONSTANT */ - qcom,master-en = <1>; /* ENABLE MPP */ - }; - - mpp@a200 { /* HDMI_MUX_SEL MPP 3*/ - status = "ok"; - qcom,mode = <1>; /* DIG_OUT */ - qcom,output-type = <0>; /* CMOS */ - qcom,vin-sel = <2>; /* PM8841_S3A 1.8V */ - qcom,src-sel = <0>; /* CONSTANT */ - qcom,master-en = <1>; /* ENABLE MPP */ - }; - - mpp@a300 { /* HDMI_MUX_EN MPP 4*/ - status = "ok"; - qcom,mode = <1>; /* DIG_OUT */ - qcom,output-type = <0>; /* CMOS */ - qcom,vin-sel = <0>; /* PM8841_VPH 3.4V */ - qcom,src-sel = <0>; /* CONSTANT */ - qcom,master-en = <1>; /* ENABLE MPP */ - }; -}; - -&vph_pwr_vreg { - status = "ok"; -}; - -&slim_msm { - taiko_codec { - qcom,cdc-micbias1-ext-cap; - qcom,cdc-micbias2-ext-cap; - qcom,cdc-micbias3-ext-cap; - qcom,cdc-micbias4-ext-cap; - - /* - * Liquid has external spkrdrv supply. Give a dummy supply to - * make codec driver's happy. - */ - cdc-vdd-spkdrv-supply = <&vph_pwr_vreg>; - qcom,cdc-vdd-spkdrv-voltage = <0 0>; - qcom,cdc-vdd-spkdrv-current = <0>; - - qcom,cdc-on-demand-supplies = "cdc-vdd-spkdrv"; - }; -}; - -&spi_epm { - epm-adc@0 { - compatible = "cy,epm-adc-cy8c5568lti-114"; - reg = <0>; - interrupt-parent = <&msmgpio>; - spi-max-frequency = <960000>; - qcom,channels = <31>; - qcom,gain = <50 50 50 50 50 100 50 50 50 50 - 50 50 50 50 100 50 50 50 50 100 - 50 50 50 100 50 50 50 1 1 1 - 1>; - qcom,rsense = <40 10 10 25 10 1000 75 25 10 25 - 33 500 200 10 500 100 33 200 25 100 - 75 500 50 200 5 5 3 1 1 1 - 1>; - qcom,channel-type = <0xf0000000>; - }; -}; - -&spmi_bus { - qcom,pm8941@1 { - qcom,leds@d000 { - qcom,rgb_2 { - status = "ok"; - qcom,default-state = "on"; - qcom,turn-off-delay-ms = <1000>; - }; - }; - }; -}; - -&pm8941_chg { - status = "ok"; - otg-parent-supply = <&ext_5v>; - - qcom,charging-disabled; - - qcom,chgr@1000 { - status = "ok"; - }; - - qcom,buck@1100 { - status = "ok"; - }; - - qcom,usb-chgpth@1300 { - status = "ok"; - }; - - qcom,dc-chgpth@1400 { - status = "ok"; - }; - - qcom,boost@1500 { - status = "ok"; - }; - - qcom,chg-misc@1600 { - status = "ok"; - }; -}; - -&sdcc1 { - status = "disabled"; -}; - -&sdcc2 { - status = "disabled"; -}; - -&sdhc_1 { - vdd-supply = <&pm8941_l20>; - vdd-io-supply = <&pm8941_s3>; - - qcom,vdd-always-on; - qcom,vdd-lpm-sup; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <800 500000>; - - qcom,vdd-io-always-on; - qcom,vdd-io-voltage-level = <1800000 1800000>; - qcom,vdd-io-current-level = <250 154000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,nonremovable; - status = "ok"; -}; - -&sdhc_2 { - vdd-supply = <&pm8941_l21>; - vdd-io-supply = <&pm8941_l13>; - - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <9000 800000>; - - qcom,vdd-io-voltage-level = <1800000 2950000>; - qcom,vdd-io-current-level = <6 22000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - status = "ok"; -}; - -/* Drive strength recommendations for clock line from hardware team is 10 mA. - * But since the driver has been been using the below values from the start - * without any problems, continue to use those. - */ -&sdcc1 { - qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */ -}; - -&sdcc2 { - qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */ -}; - -&sdhc_1 { - qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */ -}; - -&sdhc_2 { - qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */ -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8974-mdss.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8974-mdss.dtsi deleted file mode 100644 index 6b8d600ed..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8974-mdss.dtsi +++ /dev/null @@ -1,148 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&soc { - mdss_mdp: qcom,mdss_mdp@fd900000 { - compatible = "qcom,mdss_mdp"; - reg = <0xfd900000 0x22100>, - <0xfd924000 0x1000>; - reg-names = "mdp_phys", "vbif_phys"; - interrupts = <0 72 0>; - vdd-supply = <&gdsc_mdss>; - - qcom,max-clk-rate = <320000000>; - qcom,mdss-pipe-vig-off = <0x00001200 0x00001600 - 0x00001A00>; - qcom,mdss-pipe-rgb-off = <0x00001E00 0x00002200 - 0x00002600>; - qcom,mdss-pipe-dma-off = <0x00002A00 0x00002E00>; - qcom,mdss-pipe-vig-fetch-id = <1 4 7>; - qcom,mdss-pipe-rgb-fetch-id = <16 17 18>; - qcom,mdss-pipe-dma-fetch-id = <10 13>; - qcom,mdss-smp-data = <22 4096>; - - qcom,mdss-ctl-off = <0x00000600 0x00000700 0x00000800 - 0x00000900 0x0000A00>; - qcom,mdss-mixer-intf-off = <0x00003200 0x00003600 - 0x00003A00>; - qcom,mdss-mixer-wb-off = <0x00003E00 0x00004200>; - qcom,mdss-dspp-off = <0x00004600 0x00004A00 0x00004E00>; - qcom,mdss-wb-off = <0x00011100 0x00013100 0x00015100 - 0x00017100 0x00019100>; - qcom,mdss-intf-off = <0x00021100 0x00021300 - 0x00021500 0x00021700>; - - qcom,vbif-settings = <0x0004 0x00000001>, - <0x00D8 0x00000707>, - <0x00F0 0x00000030>, - <0x0124 0x00000001>, - <0x0178 0x00000FFF>, - <0x017C 0x0FFF0FFF>, - <0x0160 0x22222222>, - <0x0164 0x00002222>; - qcom,mdp-settings = <0x02E0 0x000000E9>, - <0x02E4 0x00000055>, - <0x03AC 0xC0000CCC>, - <0x03B4 0xC0000CCC>, - <0x03BC 0x00CCCCCC>, - <0x04A8 0x0CCCC0C0>, - <0x04B0 0xCCCCC0C0>, - <0x04B8 0xCCCCC000>; - - mdss_fb0: qcom,mdss_fb_primary { - cell-index = <0>; - compatible = "qcom,mdss-fb"; - qcom,memory-reservation-type = "EBI1"; - qcom,memory-reservation-size = <0x800000>; - }; - - mdss_fb1: qcom,mdss_fb_external { - cell-index = <1>; - compatible = "qcom,mdss-fb"; - }; - - mdss_fb2: qcom,mdss_fb_wfd { - cell-index = <2>; - compatible = "qcom,mdss-fb"; - }; - }; - - mdss_dsi0: qcom,mdss_dsi@fd922800 { - compatible = "qcom,mdss-dsi-ctrl"; - label = "MDSS DSI CTRL->0"; - cell-index = <0>; - reg = <0xfd922800 0x600>; - vdd-supply = <&pm8941_l22>; - vddio-supply = <&pm8941_l12>; - vdda-supply = <&pm8941_l2>; - qcom,mdss-fb-map = <&mdss_fb0>; - }; - - mdss_dsi1: qcom,mdss_dsi@fd922e00 { - compatible = "qcom,mdss-dsi-ctrl"; - label = "MDSS DSI CTRL->1"; - cell-index = <1>; - reg = <0xfd922e00 0x600>; - vdd-supply = <&pm8941_l22>; - vddio-supply = <&pm8941_l12>; - vdda-supply = <&pm8941_l2>; - qcom,mdss-fb-map = <&mdss_fb0>; - }; - - mdss_hdmi_tx: qcom,hdmi_tx@fd922100 { - cell-index = <0>; - compatible = "qcom,hdmi-tx"; - reg = <0xfd922100 0x35C>, - <0xfd922500 0x7C>, - <0xfc4b8000 0x60F0>; - reg-names = "core_physical", "phy_physical", "qfprom_physical"; - - hpd-gdsc-supply = <&gdsc_mdss>; - hpd-5v-supply = <&pm8941_mvs2>; - core-vdda-supply = <&pm8941_l12>; - core-vcc-supply = <&pm8941_s3>; - qcom,hdmi-tx-supply-names = "hpd-gdsc", "hpd-5v", "core-vdda", "core-vcc"; - qcom,hdmi-tx-min-voltage-level = <0 0 1800000 1800000>; - qcom,hdmi-tx-max-voltage-level = <0 0 1800000 1800000>; - qcom,hdmi-tx-peak-current = <0 0 1800000 0>; - - qcom,hdmi-tx-cec = <&msmgpio 31 0>; - qcom,hdmi-tx-ddc-clk = <&msmgpio 32 0>; - qcom,hdmi-tx-ddc-data = <&msmgpio 33 0>; - qcom,hdmi-tx-hpd = <&msmgpio 34 0>; - qcom,mdss-fb-map = <&mdss_fb1>; - qcom,msm-hdmi-audio-rx { - compatible = "qcom,msm-hdmi-audio-codec-rx"; - }; - }; - - qcom,mdss_wb_panel { - compatible = "qcom,mdss_wb"; - qcom,mdss_pan_res = <1920 1080>; - qcom,mdss_pan_bpp = <24>; - qcom,mdss-fb-map = <&mdss_fb2>; - }; - - mdss_edp: qcom,mdss_edp@fd923400 { - compatible = "qcom,mdss-edp"; - reg = <0xfd923400 0x700>, - <0xfd8c2000 0x1000>; - reg-names = "edp_base", "mmss_cc_base"; - vdda-supply = <&pm8941_l12>; - gpio-panel-en = <&msmgpio 58 0>; - gpio-panel-pwm = <&pm8941_gpios 36 0>; - qcom,panel-lpg-channel = <7>; /* LPG Channel 8 */ - qcom,panel-pwm-period = <53>; - status = "disable"; - qcom,mdss-fb-map = <&mdss_fb0>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8974-mtp.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8974-mtp.dtsi deleted file mode 100644 index e798fc0f9..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8974-mtp.dtsi +++ /dev/null @@ -1,705 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/include/ "dsi-panel-toshiba-720p-video.dtsi" -/include/ "msm8974-camera-sensor-mtp.dtsi" -/include/ "msm8974-leds.dtsi" - -&soc { - serial@f991e000 { - status = "ok"; - }; - - qcom,mdss_dsi_toshiba_720p_video { - status = "ok"; - qcom,cont-splash-enabled; - }; - - qcom,hdmi_tx@fd922100 { - status = "disabled"; - }; - - i2c@f9924000 { - atmel_mxt_ts@4a { - compatible = "atmel,mxt-ts"; - reg = <0x4a>; - interrupt-parent = <&msmgpio>; - interrupts = <61 0x2>; - vdd_ana-supply = <&pm8941_l18>; - vcc_i2c-supply = <&pm8941_lvs1>; - atmel,reset-gpio = <&msmgpio 60 0x00>; - atmel,irq-gpio = <&msmgpio 61 0x00>; - atmel,panel-coords = <0 0 760 1424>; - atmel,display-coords = <0 0 720 1280>; - atmel,i2c-pull-up; - atmel,no-force-update; - atmel,cfg_1 { - atmel,family-id = <0x82>; - atmel,variant-id = <0x19>; - atmel,version = <0x10>; - atmel,build = <0xaa>; - atmel,config = [ - /* Object 6, Instance = 0 */ - 00 00 00 00 00 00 - /* Object 38, Instance = 0 */ - 15 01 00 03 0A 0C 00 00 - /* Object 7, Instance = 0 */ - 20 08 32 03 - /* Object 8, Instance = 0 */ - 0F 00 0A 0A 00 00 0A 0A 00 00 - /* Object 9, Instance = 0 */ - 83 00 00 18 0E 00 70 46 02 01 - 00 0A 03 31 04 05 0A 0A 90 05 - F8 02 05 F1 F1 0F 00 00 08 2D - 12 06 00 00 00 01 - /* Object 15, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 - /* Object 18, Instance = 0 */ - 00 00 - /* Object 19, Instance = 0 */ - 00 00 00 00 00 00 - /* Object 23, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 - /* Object 25, Instance = 0 */ - 00 00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 - /* Object 40, Instance = 0 */ - 00 00 00 00 00 - /* Object 42, Instance = 0 */ - 33 1E 19 10 80 00 00 00 FF 00 - /* Object 46, Instance = 0 */ - 00 00 10 10 00 00 03 00 00 01 - /* Object 47, Instance = 0 */ - 08 0A 28 0A 02 0A 00 8C 00 20 - 00 00 00 - /* Object 55, Instance = 0 */ - 00 00 00 00 00 00 - /* Object 56, Instance = 0 */ - 00 00 00 18 05 05 05 05 05 05 - 05 05 05 05 05 05 05 05 05 05 - 05 05 05 05 05 05 05 05 00 00 - 00 00 00 00 00 00 00 00 00 00 - 00 00 - /* Object 57, Instance = 0 */ - 00 00 00 - /* Object 61, Instance = 0 */ - 00 00 00 00 00 - /* Object 62, Instance = 0 */ - 01 2A 00 16 00 00 00 00 0B 01 - 02 03 04 08 00 00 08 10 18 05 - 00 0A 05 05 50 14 19 34 1A 7F - 00 00 00 00 00 00 00 00 00 30 - 05 02 00 01 00 05 00 00 00 00 - 00 00 00 00 - ]; - }; - }; - }; - - gen-vkeys { - compatible = "qcom,gen-vkeys"; - label = "atmel_mxt_ts"; - qcom,disp-maxx = <720>; - qcom,disp-maxy = <1280>; - qcom,panel-maxx = <760>; - qcom,panel-maxy = <1424>; - qcom,key-codes = <158 139 102 217>; - }; - - i2c@f9967000 { - isa1200@48 { - status = "okay"; - reg = <0x48>; - vcc_i2c-supply = <&pm8941_s3>; - compatible = "imagis,isa1200"; - label = "vibrator"; - imagis,chip-en; - imagis,need-pwm-clk; - imagis,ext-clk-en; - imagis,hap-en-gpio = <&msmgpio 86 0x00>; - imagis,max-timeout = <15000>; - imagis,pwm-div = <256>; - imagis,mode-ctrl = <2>; - imagis,regulator { - regulator-name = "vcc_i2c"; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - regulator-max-microamp = <9360>; - }; - }; - }; - - gpio_keys { - compatible = "gpio-keys"; - input-name = "gpio-keys"; - - camera_snapshot { - label = "camera_snapshot"; - gpios = <&pm8941_gpios 3 0x1>; - linux,input-type = <1>; - linux,code = <0x2fe>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - - camera_focus { - label = "camera_focus"; - gpios = <&pm8941_gpios 4 0x1>; - linux,input-type = <1>; - linux,code = <0x210>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - - vol_up { - label = "volume_up"; - gpios = <&pm8941_gpios 5 0x1>; - linux,input-type = <1>; - linux,code = <115>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - }; - - spi@f9923000 { - ethernet-switch@2 { - compatible = "micrel,ks8851"; - reg = <2>; - interrupt-parent = <&msmgpio>; - interrupts = <94 0>; - spi-max-frequency = <4800000>; - rst-gpio = <&pm8941_mpps 6 0>; - vdd-io-supply = <&spi_eth_vreg>; - vdd-phy-supply = <&spi_eth_vreg>; - }; - }; - - sound { - qcom,model = "msm8974-taiko-mtp-snd-card"; - qcom,cdc-micbias2-headset-only; - }; -}; - -&spmi_bus { - qcom,pm8941@1 { - qcom,leds@d800 { - status = "okay"; - qcom,wled_0 { - label = "wled"; - linux,name = "wled:backlight"; - linux,default-trigger = "bkl-trigger"; - qcom,cs-out-en; - qcom,op-fdbck = <1>; - qcom,default-state = "on"; - qcom,max-current = <25>; - qcom,ctrl-delay-us = <0>; - qcom,boost-curr-lim = <3>; - qcom,cp-sel = <0>; - qcom,switch-freq = <2>; - qcom,ovp-val = <2>; - qcom,num-strings = <1>; - qcom,id = <0>; - }; - }; - - qcom,leds@d900 { - status = "disabled"; - }; - - qcom,leds@da00 { - status = "disabled"; - }; - - qcom,leds@db00 { - status = "disabled"; - }; - - qcom,leds@dc00 { - status = "disabled"; - }; - - qcom,leds@dd00 { - status = "disabled"; - }; - - qcom,leds@de00 { - status = "disabled"; - }; - - qcom,leds@df00 { - status = "disabled"; - }; - - qcom,leds@e000 { - status = "disabled"; - }; - - qcom,leds@e100 { - status = "disabled"; - }; - }; -}; - -&sdcc1 { - status = "disabled"; -}; - -&sdcc2 { - #address-cells = <0>; - interrupt-parent = <&sdcc2>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 125 0 - 1 &intc 0 220 0 - 2 &msmgpio 62 0x3>; - interrupt-names = "core_irq", "bam_irq", "status_irq"; - cd-gpios = <&msmgpio 62 0x1>; - status = "disabled"; -}; - -&sdhc_1 { - vdd-supply = <&pm8941_l20>; - vdd-io-supply = <&pm8941_s3>; - - qcom,vdd-always-on; - qcom,vdd-lpm-sup; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <800 500000>; - - qcom,vdd-io-always-on; - qcom,vdd-io-voltage-level = <1800000 1800000>; - qcom,vdd-io-current-level = <250 154000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,nonremovable; - status = "ok"; -}; - -&sdhc_2 { - #address-cells = <0>; - interrupt-parent = <&sdhc_2>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 125 0 - 1 &intc 0 221 0 - 2 &msmgpio 62 0x3>; - interrupt-names = "hc_irq", "pwr_irq", "status_irq"; - cd-gpios = <&msmgpio 62 0x1>; - - vdd-supply = <&pm8941_l21>; - vdd-io-supply = <&pm8941_l13>; - - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <9000 800000>; - - qcom,vdd-io-voltage-level = <1800000 2950000>; - qcom,vdd-io-current-level = <6 22000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - status = "ok"; -}; - -/* Drive strength recommendations for clock line from hardware team is 10 mA. - * But since the driver has been been using the below values from the start - * without any problems, continue to use those. - */ -&sdcc1 { - qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */ -}; - -&sdcc2 { - qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */ -}; - -&sdhc_1 { - qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */ -}; - -&sdhc_2 { - qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */ -}; - -&usb_otg { - qcom,hsusb-otg-otg-control = <2>; -}; - -&uart7 { - status = "ok"; -}; - -&usb3 { - qcom,otg-capability; -}; - -&pm8941_bms { - status = "ok"; -}; - -&pm8941_chg { - status = "ok"; - qcom,charging-disabled; - - qcom,chgr@1000 { - status = "ok"; - }; - - qcom,buck@1100 { - status = "ok"; - }; - - qcom,bat-if@1200 { - status = "ok"; - }; - - qcom,usb-chgpth@1300 { - status = "ok"; - }; - - qcom,dc-chgpth@1400 { - status = "ok"; - }; - - qcom,boost@1500 { - status = "ok"; - }; - - qcom,chg-misc@1600 { - status = "ok"; - }; -}; - -&pm8941_gpios { - gpio@c000 { /* GPIO 1 */ - qcom,mode = <0>; /* QPNP_PIN_MODE_DIG_IN */ - qcom,pull = <0>; /* QPNP_PIN_PULL_UP_30 */ - qcom,master-en = <1>; - }; - - gpio@c100 { /* GPIO 2 */ - qcom,mode = <0>; /* QPNP_PIN_MODE_DIG_IN */ - qcom,pull = <0>; /* QPNP_PIN_PULL_UP_30 */ - qcom,master-en = <1>; - }; - - gpio@c200 { /* GPIO 3 */ - qcom,mode = <0>; /* QPNP_PIN_MODE_DIG_IN */ - qcom,pull = <0>; /* QPNP_PIN_PULL_UP_30 */ - qcom,vin-sel = <2>; - qcom,src-sel = <0>; /* QPNP_PIN_SEL_FUNC_CONSTANT */ - qcom,master-en = <1>; - }; - - gpio@c300 { /* GPIO 4 */ - qcom,mode = <0>; /* QPNP_PIN_MODE_DIG_IN */ - qcom,pull = <0>; /* QPNP_PIN_PULL_UP_30 */ - qcom,vin-sel = <2>; /* QPNP_PIN_VIN2 */ - qcom,src-sel = <0>; /* QPNP_PIN_SEL_FUNC_CONSTANT */ - qcom,master-en = <1>; - }; - - gpio@c400 { /* GPIO 5 */ - qcom,mode = <0>; /* QPNP_PIN_MODE_DIG_IN */ - qcom,pull = <0>; /* QPNP_PIN_PULL_UP_30 */ - qcom,vin-sel = <2>; /* QPNP_PIN_VIN2 */ - qcom,src-sel = <0>; /* QPNP_PIN_SEL_FUNC_CONSTANT */ - qcom,master-en = <1>; - }; - - gpio@c500 { /* GPIO 6 */ - qcom,mode = <0>; /* QPNP_PIN_MODE_DIG_IN */ - qcom,pull = <0>; /* QPNP_PIN_PULL_UP_30 */ - qcom,master-en = <1>; - }; - - gpio@c600 { /* GPIO 7 */ - qcom,mode = <0>; /* QPNP_PIN_MODE_DIG_IN */ - qcom,pull = <0>; /* QPNP_PIN_PULL_UP_30 */ - qcom,master-en = <1>; - }; - - gpio@c700 { /* GPIO 8 */ - qcom,mode = <0>; /* QPNP_PIN_MODE_DIG_IN */ - qcom,pull = <0>; /* QPNP_PIN_PULL_UP_30 */ - qcom,master-en = <1>; - }; - - gpio@c800 { /* GPIO 9 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */ - qcom,src-sel = <2>; /* QPNP_PIN_SEL_FUNC_1 */ - qcom,master-en = <1>; - }; - - gpio@c900 { /* GPIO 10 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */ - qcom,src-sel = <2>; /* QPNP_PIN_SEL_FUNC_1 */ - qcom,master-en = <1>; - }; - - gpio@ca00 { /* GPIO 11 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */ - qcom,src-sel = <2>; /* QPNP_PIN_SEL_FUNC_1 */ - qcom,master-en = <1>; - }; - - gpio@cb00 { /* GPIO 12 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */ - qcom,src-sel = <2>; /* QPNP_PIN_SEL_FUNC_1 */ - qcom,master-en = <1>; - }; - - gpio@cc00 { /* GPIO 13 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */ - qcom,src-sel = <2>; /* QPNP_PIN_SEL_FUNC_1 */ - qcom,master-en = <1>; - }; - - gpio@cd00 { /* GPIO 14 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */ - qcom,src-sel = <2>; /* QPNP_PIN_SEL_FUNC_1 */ - qcom,master-en = <1>; - }; - - gpio@ce00 { /* GPIO 15 */ - qcom,mode = <1>; - qcom,output-type = <0>; - qcom,pull = <5>; - qcom,vin-sel = <2>; - qcom,out-strength = <1>; - qcom,src-sel = <2>; - qcom,master-en = <1>; - }; - - gpio@cf00 { /* GPIO 16 */ - qcom,mode = <1>; - qcom,output-type = <0>; - qcom,pull = <5>; - qcom,vin-sel = <2>; - qcom,out-strength = <3>; - qcom,src-sel = <3>; /* QPNP_PIN_SEL_FUNC_2 */ - qcom,master-en = <1>; - }; - - gpio@d000 { /* GPIO 17 */ - }; - - gpio@d100 { /* GPIO 18 */ - }; - - gpio@d200 { /* GPIO 19 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,output-type = <0>; /* QPNP_PIN_OUT_BUF_CMOS */ - qcom,pull = <5>; /* QPNP_PIN_PULL_NO */ - qcom,vin-sel = <2>; /* QPNP_PIN_VIN2 */ - qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */ - qcom,src-sel = <0>; /* QPNP_PIN_SEL_FUNC_CONSTANT */ - qcom,master-en = <1>; - }; - - gpio@d300 { /* GPIO 20 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */ - qcom,src-sel = <2>; /* QPNP_PIN_SEL_FUNC_1 */ - qcom,master-en = <1>; - }; - - gpio@d400 { /* GPIO 21 */ - }; - - gpio@d500 { /* GPIO 22 */ - qcom,mode = <0>; /* QPNP_PIN_MODE_DIG_IN */ - qcom,pull = <4>; /* QPNP_PIN_PULL_DN */ - qcom,master-en = <1>; - }; - - gpio@d600 { /* GPIO 23 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */ - qcom,src-sel = <2>; /* QPNP_PIN_SEL_FUNC_1 */ - qcom,master-en = <1>; - }; - - gpio@d700 { /* GPIO 24 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */ - qcom,src-sel = <2>; /* QPNP_PIN_SEL_FUNC_1 */ - qcom,master-en = <1>; - }; - - gpio@d800 { /* GPIO 25 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */ - qcom,src-sel = <2>; /* QPNP_PIN_SEL_FUNC_1 */ - qcom,master-en = <1>; - }; - - gpio@d900 { /* GPIO 26 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */ - qcom,src-sel = <2>; /* QPNP_PIN_SEL_FUNC_1 */ - qcom,master-en = <1>; - }; - - gpio@da00 { /* GPIO 27 */ - qcom,mode = <0>; /* QPNP_PIN_MODE_DIG_IN */ - qcom,pull = <4>; /* QPNP_PIN_PULL_DN */ - qcom,master-en = <1>; - }; - - gpio@db00 { /* GPIO 28 */ - }; - - gpio@dc00 { /* GPIO 29 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */ - qcom,src-sel = <2>; /* QPNP_PIN_SEL_FUNC_1 */ - qcom,master-en = <1>; - }; - - gpio@dd00 { /* GPIO 30 */ - qcom,mode = <0>; /* QPNP_PIN_MODE_DIG_IN */ - qcom,pull = <4>; /* QPNP_PIN_PULL_DN */ - qcom,master-en = <1>; - }; - - gpio@de00 { /* GPIO 31 */ - }; - - gpio@df00 { /* GPIO 32 */ - qcom,mode = <0>; /* QPNP_PIN_MODE_DIG_IN */ - qcom,pull = <4>; /* QPNP_PIN_PULL_DN */ - qcom,master-en = <1>; - }; - - gpio@e000 { /* GPIO 33 */ - qcom,mode = <0>; /* QPNP_PIN_MODE_DIG_IN */ - qcom,pull = <4>; /* QPNP_PIN_PULL_DN */ - qcom,master-en = <1>; - }; - - gpio@e100 { /* GPIO 34 */ - qcom,mode = <0>; /* QPNP_PIN_MODE_DIG_IN */ - qcom,pull = <4>; /* QPNP_PIN_PULL_DN */ - qcom,master-en = <1>; - }; - - gpio@e200 { /* GPIO 35 */ - qcom,mode = <0>; /* QPNP_PIN_MODE_DIG_IN */ - qcom,pull = <4>; /* QPNP_PIN_PULL_DN */ - qcom,master-en = <1>; - }; - - gpio@e300 { /* GPIO 36 */ - }; -}; - -&pm8941_mpps { - - mpp@a000 { /* MPP 1 */ - status = "disabled"; - }; - - mpp@a100 { /* MPP 2 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */ - qcom,master-en = <1>; - }; - - mpp@a200 { /* MPP 3 */ - }; - - mpp@a300 { /* MPP 4 */ - }; - - mpp@a400 { /* MPP 5 */ - }; - - mpp@a500 { /* MPP 6 */ - /* SPI_ETH_RST config */ - qcom,mode = <1>; /* DIG_OUT */ - qcom,output-type = <0>; /* CMOS */ - qcom,vin-sel = <2>; /* PM8941_S3 1.8V > 1.6V */ - qcom,src-sel = <0>; /* CONSTANT */ - qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */ - qcom,master-en = <1>; /* ENABLE MPP */ - }; - - mpp@a600 { /* MPP 7 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */ - qcom,master-en = <1>; - }; - - mpp@a700 { /* MPP 8 */ - qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */ - qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */ - qcom,master-en = <1>; - }; -}; - -&pm8841_mpps { - - mpp@a000 { /* MPP 1 */ - }; - - mpp@a100 { /* MPP 2 */ - }; - - mpp@a200 { /* MPP 3 */ - }; - - mpp@a300 { /* MPP 4 */ - }; -}; - -&slim_msm { - taiko_codec { - qcom,cdc-micbias1-ext-cap; - qcom,cdc-micbias2-ext-cap; - qcom,cdc-micbias4-ext-cap; - }; -}; - -&spi_epm { - epm-adc@0 { - compatible = "cy,epm-adc-cy8c5568lti-114"; - reg = <0>; - interrupt-parent = <&msmgpio>; - spi-max-frequency = <960000>; - qcom,channels = <31>; - qcom,gain = <100 100 100 50 100 100 1 100 1 50 - 1 100 1 100 50 50 50 50 50 50 - 100 50 100 50 50 50 50 50 50 50 - 50>; - qcom,rsense = <2 2 2 200 20 2 1 2 1 30 - 1 10 1 30 50 30 500 30 100 30 - 100 500 20 200 1000 20 1000 1000 70 200 - 50>; - qcom,channel-type = <0x1540>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8974-regulator.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8974-regulator.dtsi deleted file mode 100644 index 2114686eb..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8974-regulator.dtsi +++ /dev/null @@ -1,568 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - - -/* QPNP controlled regulators: */ - -&spmi_bus { - - qcom,pm8941@1 { - - pm8941_boost: regulator@a000 { - regulator-min-microvolt = <5000000>; - regulator-max-microvolt = <5000000>; - qcom,enable-time = <500>; - status = "okay"; - }; - - pm8941_mvs1: regulator@8300 { - parent-supply = <&pm8941_chg_otg>; - qcom,enable-time = <1000>; - qcom,pull-down-enable = <1>; - interrupts = <0x1 0x83 0x2>; - interrupt-names = "ocp"; - qcom,ocp-enable = <1>; - qcom,ocp-max-retries = <10>; - qcom,ocp-retry-delay = <30>; - qcom,soft-start-enable = <1>; - qcom,vs-soft-start-strength = <0>; - qcom,hpm-enable = <1>; - qcom,auto-mode-enable = <0>; - status = "okay"; - }; - - pm8941_mvs2: regulator@8400 { - parent-supply = <&pm8941_boost>; - qcom,enable-time = <1000>; - qcom,pull-down-enable = <1>; - interrupts = <0x1 0x84 0x2>; - interrupt-names = "ocp"; - qcom,ocp-enable = <1>; - qcom,ocp-max-retries = <10>; - qcom,ocp-retry-delay = <30>; - qcom,soft-start-enable = <1>; - qcom,vs-soft-start-strength = <0>; - qcom,hpm-enable = <1>; - qcom,auto-mode-enable = <0>; - status = "okay"; - }; - }; -}; - -/* RPM controlled regulators: */ - -&rpm_bus { - rpm-regulator-smpb1 { - status = "okay"; - pm8841_s1: regulator-s1 { - regulator-min-microvolt = <675000>; - regulator-max-microvolt = <1050000>; - status = "okay"; - }; - pm8841_s1_ao: regulator-s1-ao { - regulator-name = "8841_s1_ao"; - qcom,set = <1>; - regulator-min-microvolt = <675000>; - regulator-max-microvolt = <1050000>; - status = "okay"; - compatible = "qcom,rpm-regulator-smd"; - }; - pm8841_s1_so: regulator-s1-so { - regulator-name = "8841_s1_so"; - qcom,set = <2>; - regulator-min-microvolt = <675000>; - regulator-max-microvolt = <1050000>; - qcom,init-voltage = <675000>; - status = "okay"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-smpb2 { - status = "okay"; - pm8841_s2: regulator-s2 { - regulator-min-microvolt = <500000>; - regulator-max-microvolt = <1050000>; - status = "okay"; - }; - pm8841_s2_corner: regulator-s2-corner { - regulator-name = "8841_s2_corner"; - qcom,set = <3>; - regulator-min-microvolt = <1>; - regulator-max-microvolt = <7>; - qcom,use-voltage-corner; - compatible = "qcom,rpm-regulator-smd"; - qcom,consumer-supplies = "vdd_dig", ""; - }; - pm8841_s2_corner_ao: regulator-s2-corner-ao { - regulator-name = "8841_s2_corner_ao"; - qcom,set = <1>; - regulator-min-microvolt = <1>; - regulator-max-microvolt = <7>; - qcom,use-voltage-corner; - compatible = "qcom,rpm-regulator-smd"; - }; - pm8841_s2_floor_corner: regulator-s2-floor-corner { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8841_s2_floor_corner"; - qcom,set = <3>; - regulator-min-microvolt = <1>; - regulator-max-microvolt = <7>; - qcom,use-voltage-floor-corner; - qcom,always-send-voltage; - }; - }; - - rpm-regulator-smpb3 { - status = "okay"; - pm8841_s3: regulator-s3 { - regulator-min-microvolt = <1050000>; - regulator-max-microvolt = <1050000>; - qcom,init-voltage = <1050000>; - status = "okay"; - }; - }; - - rpm-regulator-smpb4 { - status = "okay"; - pm8841_s4: regulator-s4 { - regulator-min-microvolt = <815000>; - regulator-max-microvolt = <900000>; - status = "okay"; - }; - pm8841_s4_corner: regulator-s4-corner { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8841_s4_corner"; - qcom,set = <3>; - qcom,use-voltage-corner; - regulator-min-microvolt = <1>; - regulator-max-microvolt = <7>; - qcom,init-voltage-corner = <3>; /* SVS SOC */ - }; - pm8841_s4_floor_corner: regulator-s4-floor-corner { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8841_s4_floor_corner"; - qcom,set = <3>; - regulator-min-microvolt = <1>; - regulator-max-microvolt = <7>; - qcom,use-voltage-floor-corner; - qcom,always-send-voltage; - }; - }; - - rpm-regulator-smpa1 { - status = "okay"; - pm8941_s1: regulator-s1 { - regulator-min-microvolt = <1300000>; - regulator-max-microvolt = <1300000>; - qcom,init-voltage = <1300000>; - status = "okay"; - }; - }; - - rpm-regulator-smpa2 { - status = "okay"; - pm8941_s2: regulator-s2 { - regulator-min-microvolt = <2150000>; - regulator-max-microvolt = <2150000>; - qcom,init-voltage = <2150000>; - status = "okay"; - }; - }; - - rpm-regulator-smpa3 { - status = "okay"; - pm8941_s3: regulator-s3 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa1 { - status = "okay"; - pm8941_l1: regulator-l1 { - regulator-min-microvolt = <1225000>; - regulator-max-microvolt = <1225000>; - qcom,init-voltage = <1225000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa2 { - status = "okay"; - pm8941_l2: regulator-l2 { - regulator-min-microvolt = <1200000>; - regulator-max-microvolt = <1200000>; - qcom,init-voltage = <1200000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa3 { - status = "okay"; - pm8941_l3: regulator-l3 { - regulator-min-microvolt = <1225000>; - regulator-max-microvolt = <1225000>; - qcom,init-voltage = <1225000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa4 { - status = "okay"; - pm8941_l4: regulator-l4 { - regulator-min-microvolt = <1225000>; - regulator-max-microvolt = <1225000>; - qcom,init-voltage = <1225000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa5 { - status = "okay"; - pm8941_l5: regulator-l5 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa6 { - status = "okay"; - pm8941_l6: regulator-l6 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa7 { - status = "okay"; - pm8941_l7: regulator-l7 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa8 { - status = "okay"; - pm8941_l8: regulator-l8 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa9 { - status = "okay"; - pm8941_l9: regulator-l9 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <2950000>; - qcom,init-voltage = <2950000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa10 { - status = "okay"; - pm8941_l10: regulator-l10 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <2950000>; - qcom,init-voltage = <2950000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa11 { - status = "okay"; - pm8941_l11: regulator-l11 { - regulator-min-microvolt = <1300000>; - regulator-max-microvolt = <1300000>; - qcom,init-voltage = <1300000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa12 { - status = "okay"; - pm8941_l12: regulator-l12 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - status = "okay"; - }; - pm8941_l12_ao: regulator-l12-ao { - regulator-name = "8941_l12_ao"; - qcom,set = <1>; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - status = "okay"; - compatible = "qcom,rpm-regulator-smd"; - }; - }; - - rpm-regulator-ldoa13 { - status = "okay"; - pm8941_l13: regulator-l13 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <2950000>; - qcom,init-voltage = <2950000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa14 { - status = "okay"; - pm8941_l14: regulator-l14 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa15 { - status = "okay"; - pm8941_l15: regulator-l15 { - regulator-min-microvolt = <2050000>; - regulator-max-microvolt = <2050000>; - qcom,init-voltage = <2050000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa16 { - status = "okay"; - pm8941_l16: regulator-l16 { - regulator-min-microvolt = <2700000>; - regulator-max-microvolt = <2700000>; - qcom,init-voltage = <2700000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa17 { - status = "okay"; - pm8941_l17: regulator-l17 { - regulator-min-microvolt = <2850000>; - regulator-max-microvolt = <2850000>; - qcom,init-voltage = <2850000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa18 { - status = "okay"; - pm8941_l18: regulator-l18 { - regulator-min-microvolt = <2850000>; - regulator-max-microvolt = <2850000>; - qcom,init-voltage = <2850000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa19 { - status = "okay"; - pm8941_l19: regulator-l19 { - regulator-min-microvolt = <2900000>; - regulator-max-microvolt = <2900000>; - qcom,init-voltage = <2900000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa20 { - status = "okay"; - pm8941_l20: regulator-l20 { - regulator-min-microvolt = <2950000>; - regulator-max-microvolt = <2950000>; - qcom,init-voltage = <2950000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa21 { - status = "okay"; - pm8941_l21: regulator-l21 { - regulator-min-microvolt = <2950000>; - regulator-max-microvolt = <2950000>; - qcom,init-voltage = <2950000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa22 { - status = "okay"; - pm8941_l22: regulator-l22 { - regulator-min-microvolt = <3000000>; - regulator-max-microvolt = <3000000>; - qcom,init-voltage = <3000000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa23 { - status = "okay"; - pm8941_l23: regulator-l23 { - regulator-min-microvolt = <3000000>; - regulator-max-microvolt = <3000000>; - qcom,init-voltage = <3000000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa24 { - status = "okay"; - pm8941_l24: regulator-l24 { - regulator-min-microvolt = <3075000>; - regulator-max-microvolt = <3075000>; - qcom,init-voltage = <3075000>; - status = "okay"; - }; - }; - - rpm-regulator-vsa1 { - status = "okay"; - pm8941_lvs1: regulator-lvs1 { - status = "okay"; - }; - }; - - rpm-regulator-vsa2 { - status = "okay"; - pm8941_lvs2: regulator-lvs2 { - status = "okay"; - }; - }; - - rpm-regulator-vsa3 { - status = "okay"; - pm8941_lvs3: regulator-lvs3 { - status = "okay"; - }; - }; -}; - -&soc { - krait_pdn: krait-pdn@f9011000 { - reg = <0xf9011000 0x1000>, - <0xfc4b80b0 8>; - reg-names = "apcs_gcc", "phase-scaling-efuse"; - compatible = "qcom,krait-pdn"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - qcom,pfm-threshold = <73>; - - krait0_vreg: regulator@f9088000 { - compatible = "qcom,krait-regulator"; - regulator-name = "krait0"; - reg = <0xf9088000 0x1000>, /* APCS_ALIAS0_KPSS_ACS */ - <0xf908a800 0x1000>; /* APCS_ALIAS0_KPSS_MDD */ - reg-names = "acs", "mdd"; - regulator-min-microvolt = <500000>; - regulator-max-microvolt = <1100000>; - qcom,headroom-voltage = <150000>; - qcom,retention-voltage = <675000>; - qcom,ldo-default-voltage = <750000>; - qcom,ldo-threshold-voltage = <850000>; - qcom,ldo-delta-voltage = <50000>; - qcom,cpu-num = <0>; - }; - - krait1_vreg: regulator@f9098000 { - compatible = "qcom,krait-regulator"; - regulator-name = "krait1"; - reg = <0xf9098000 0x1000>, /* APCS_ALIAS1_KPSS_ACS */ - <0xf909a800 0x1000>; /* APCS_ALIAS1_KPSS_MDD */ - reg-names = "acs", "mdd"; - regulator-min-microvolt = <500000>; - regulator-max-microvolt = <1100000>; - qcom,headroom-voltage = <150000>; - qcom,retention-voltage = <675000>; - qcom,ldo-default-voltage = <750000>; - qcom,ldo-threshold-voltage = <850000>; - qcom,ldo-delta-voltage = <50000>; - qcom,cpu-num = <1>; - }; - - krait2_vreg: regulator@f90a8000 { - compatible = "qcom,krait-regulator"; - regulator-name = "krait2"; - reg = <0xf90a8000 0x1000>, /* APCS_ALIAS2_KPSS_ACS */ - <0xf90aa800 0x1000>; /* APCS_ALIAS2_KPSS_MDD */ - reg-names = "acs", "mdd"; - regulator-min-microvolt = <500000>; - regulator-max-microvolt = <1100000>; - qcom,headroom-voltage = <150000>; - qcom,retention-voltage = <675000>; - qcom,ldo-default-voltage = <750000>; - qcom,ldo-threshold-voltage = <850000>; - qcom,ldo-delta-voltage = <50000>; - qcom,cpu-num = <2>; - }; - - krait3_vreg: regulator@f90b8000 { - compatible = "qcom,krait-regulator"; - regulator-name = "krait3"; - reg = <0xf90b8000 0x1000>, /* APCS_ALIAS3_KPSS_ACS */ - <0xf90ba800 0x1000>; /* APCS_ALIAS3_KPSS_MDD */ - reg-names = "acs", "mdd"; - regulator-min-microvolt = <500000>; - regulator-max-microvolt = <1100000>; - qcom,headroom-voltage = <150000>; - qcom,retention-voltage = <675000>; - qcom,ldo-default-voltage = <750000>; - qcom,ldo-threshold-voltage = <850000>; - qcom,ldo-delta-voltage = <50000>; - qcom,cpu-num = <3>; - }; - }; - - spi_eth_vreg: spi_eth_phy_vreg { - compatible = "regulator-fixed"; - regulator-name = "ethernet_phy"; - gpio = <&pm8941_mpps 5 0>; - enable-active-high; - }; - - /* - * vph_pwr_vreg represents the unregulated battery voltage supply - * VPH_PWR that is present whenever the device is powered on. - */ - vph_pwr_vreg: vph_pwr_vreg { - compatible = "regulator-fixed"; - status = "disabled"; - regulator-name = "vph_pwr"; - regulator-always-on; - }; -}; - -&pm8941_chg { - otg-parent-supply = <&pm8941_boost>; -}; - -&pm8941_chg_boost { - regulator-min-microvolt = <5000000>; - regulator-max-microvolt = <5000000>; - regulator-name = "8941_smbb_boost"; -}; - -&pm8941_chg_otg { - regulator-name = "8941_smbb_otg"; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8974-rumi.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8974-rumi.dtsi deleted file mode 100644 index c01a4e509..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8974-rumi.dtsi +++ /dev/null @@ -1,146 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/include/ "msm8974-leds.dtsi" -/include/ "msm8974-camera-sensor-cdp.dtsi" - -&soc { - timer { - clock-frequency = <5000000>; - }; - - serial@f995e000 { - status = "ok"; - }; - - usb@f9a55000 { - status = "disable"; - }; - - qcom,sdcc@f9824000 { - qcom,clk-rates = <400000 19200000>; - }; - - qcom,sdcc@f98a4000 { - qcom,clk-rates = <400000 19200000>; - }; - - qcom,sps@f998000 { - status = "disable"; - }; - - spi@f9924000 { - status = "disable"; - }; - - spi@f9923000 { - compatible = "qcom,spi-qup-v2"; - reg = <0xf9923000 0x1000>; - interrupts = <0 95 0>; - spi-max-frequency = <24000000>; - #address-cells = <1>; - #size-cells = <0>; - gpios = <&msmgpio 3 0>, /* CLK */ - <&msmgpio 1 0>, /* MISO */ - <&msmgpio 0 0>; /* MOSI */ - cs-gpios = <&msmgpio 9 0>; - - ethernet-switch@2 { - compatible = "simtec,ks8851"; - reg = <2>; - interrupt-parent = <&msmgpio>; - interrupts = <90 0>; - spi-max-frequency = <5000000>; - }; - }; - - i2c@f9966000 { - status = "disable"; - }; - - i2c@f9967000 { - cell-index = <0>; - compatible = "qcom,i2c-qup"; - reg = <0Xf9967000 0x1000>; - reg-names = "qup_phys_addr"; - interrupts = <0 105 0>; - interrupt-names = "qup_err_intr"; - qcom,i2c-bus-freq = <100000>; - qcom,i2c-src-freq = <19200000>; - gpios = <&msmgpio 83 0>, /* DAT */ - <&msmgpio 84 0>; /* CLK */ - }; - - slim@fe12f000 { - status = "disable"; - }; - - qcom,mdss_dsi@fd922800 { - status = "disable"; - }; - - qcom,spmi@fc4c0000 { - status = "disable"; - }; - - qcom,ssusb@F9200000 { - status = "disable"; - }; - - qcom,lpass@fe200000 { - status = "disable"; - }; - - qcom,pronto@fb21b000 { - status = "disable"; - }; - - qcom,mss@fc880000 { - status = "disable"; - }; - - qcom,kgsl-3d0@fdb00000 { - status = "disabled"; - }; -}; - -&gdsc_venus { - status = "disabled"; -}; - -&gdsc_mdss { - status = "disabled"; -}; - -&gdsc_jpeg { - status = "disabled"; -}; - -&gdsc_vfe { - status = "disabled"; -}; - -&gdsc_oxili_gx { - status = "disabled"; -}; - -&gdsc_oxili_cx { - status = "disabled"; -}; - -&gdsc_usb_hsic { - status = "disabled"; -}; - -&rpm_bus { - rpm-standalone; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8974-sim.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8974-sim.dtsi deleted file mode 100644 index 24b8d18be..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8974-sim.dtsi +++ /dev/null @@ -1,93 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/include/ "dsi-panel-sim-video.dtsi" -/include/ "msm8974-leds.dtsi" -/include/ "msm8974-camera-sensor-cdp.dtsi" - -&soc { - qcom,mdss_dsi@fd922800 { - qcom,mdss_dsi_sim_video { - status = "ok"; - }; - }; - - serial@f991f000 { - status = "ok"; - }; - - serial@f995e000 { - status = "ok"; - }; -}; - -&jpeg_iommu { - qcom,iommu-ctx@fda6c000 { - interrupts = <0 69 0>; - }; - - qcom,iommu-ctx@fda6d000 { - interrupts = <0 70 0>; - }; - - qcom,iommu-ctx@fda6e000 { - interrupts = <0 71 0>; - }; -}; - -&mdp_iommu { - qcom,iommu-ctx@fd930000 { - interrupts = <0 46 0>; - }; - - qcom,iommu-ctx@fd931000 { - interrupts = <0 47 0>; - }; -}; - -&venus_iommu { - qcom,iommu-ctx@fdc8c000 { - interrupts = <0 43 0>; - }; - - qcom,iommu-ctx@fdc8d000 { - interrupts = <0 42 0>; - }; - - qcom,iommu-ctx@fdc8e000 { - interrupts = <0 41 0>; - }; -}; - -&kgsl_iommu { - qcom,iommu-ctx@fdb18000 { - interrupts = <0 240 0>; - }; - - qcom,iommu-ctx@fdb19000 { - interrupts = <0 241 0>; - }; -}; - -&vfe_iommu { - qcom,iommu-ctx@fda4c000 { - interrupts = <0 64 0>; - }; - - qcom,iommu-ctx@fda4d000 { - interrupts = <0 65 0>; - }; - - qcom,iommu-ctx@fda4e000 { - interrupts = <0 66 0>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8974-smp2p.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8974-smp2p.dtsi deleted file mode 100644 index 3921a686a..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8974-smp2p.dtsi +++ /dev/null @@ -1,225 +0,0 @@ -/* Copyright (c) 2013, 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. - */ -&soc { - qcom,smp2p-modem { - compatible = "qcom,smp2p"; - reg = <0xf9011008 0x4>; - qcom,remote-pid = <1>; - qcom,irq-bitmask = <0x4000>; - interrupts = <0 27 1>; - }; - - qcom,smp2p-adsp { - compatible = "qcom,smp2p"; - reg = <0xf9011008 0x4>; - qcom,remote-pid = <2>; - qcom,irq-bitmask = <0x400>; - interrupts = <0 158 1>; - }; - - qcom,smp2p-wcnss { - compatible = "qcom,smp2p"; - reg = <0xf9011008 0x4>; - qcom,remote-pid = <4>; - qcom,irq-bitmask = <0x40000>; - interrupts = <0 143 1>; - }; - - smp2pgpio_smp2p_7_in: qcom,smp2pgpio-smp2p-7-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <7>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_7_in { - compatible = "qcom,smp2pgpio_test_smp2p_7_in"; - gpios = <&smp2pgpio_smp2p_7_in 0 0>; - }; - - smp2pgpio_smp2p_7_out: qcom,smp2pgpio-smp2p-7-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <7>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_7_out { - compatible = "qcom,smp2pgpio_test_smp2p_7_out"; - gpios = <&smp2pgpio_smp2p_7_out 0 0>; - }; - - smp2pgpio_smp2p_1_in: qcom,smp2pgpio-smp2p-1-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <1>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_1_in { - compatible = "qcom,smp2pgpio_test_smp2p_1_in"; - gpios = <&smp2pgpio_smp2p_1_in 0 0>; - }; - - smp2pgpio_smp2p_1_out: qcom,smp2pgpio-smp2p-1-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <1>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_1_out { - compatible = "qcom,smp2pgpio_test_smp2p_1_out"; - gpios = <&smp2pgpio_smp2p_1_out 0 0>; - }; - - smp2pgpio_ssr_smp2p_1_in: qcom,smp2pgpio-ssr-smp2p-1-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "slave-kernel"; - qcom,remote-pid = <1>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - smp2pgpio_ssr_smp2p_1_out: qcom,smp2pgpio-ssr-smp2p-1-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "master-kernel"; - qcom,remote-pid = <1>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - smp2pgpio_smp2p_2_in: qcom,smp2pgpio-smp2p-2-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <2>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_2_in { - compatible = "qcom,smp2pgpio_test_smp2p_2_in"; - gpios = <&smp2pgpio_smp2p_2_in 0 0>; - }; - - smp2pgpio_smp2p_2_out: qcom,smp2pgpio-smp2p-2-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <2>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_2_out { - compatible = "qcom,smp2pgpio_test_smp2p_2_out"; - gpios = <&smp2pgpio_smp2p_2_out 0 0>; - }; - - /* SMP2P SSR Driver for inbound entry from lpass. */ - smp2pgpio_ssr_smp2p_2_in: qcom,smp2pgpio-ssr-smp2p-2-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "slave-kernel"; - qcom,remote-pid = <2>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - /* SMP2P SSR Driver for outbound entry to lpass */ - smp2pgpio_ssr_smp2p_2_out: qcom,smp2pgpio-ssr-smp2p-2-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "master-kernel"; - qcom,remote-pid = <2>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - smp2pgpio_smp2p_4_in: qcom,smp2pgpio-smp2p-4-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <4>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_4_in { - compatible = "qcom,smp2pgpio_test_smp2p_4_in"; - gpios = <&smp2pgpio_smp2p_4_in 0 0>; - }; - - smp2pgpio_smp2p_4_out: qcom,smp2pgpio-smp2p-4-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <4>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - smp2pgpio_ssr_smp2p_4_in: qcom,smp2pgpio-ssr-smp2p-4-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "slave-kernel"; - qcom,remote-pid = <4>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - smp2pgpio_ssr_smp2p_4_out: qcom,smp2pgpio-ssr-smp2p-4-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "master-kernel"; - qcom,remote-pid = <4>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_4_out { - compatible = "qcom,smp2pgpio_test_smp2p_4_out"; - gpios = <&smp2pgpio_smp2p_4_out 0 0>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8974-v1-cdp.dts b/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8974-v1-cdp.dts deleted file mode 100644 index c3fd98d2b..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8974-v1-cdp.dts +++ /dev/null @@ -1,33 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/dts-v1/; - -/include/ "msm8974-v1.dtsi" -/include/ "msm8974-cdp.dtsi" - -/ { - model = "Qualcomm MSM 8974 CDP"; - compatible = "qcom,msm8974-cdp", "qcom,msm8974", "qcom,cdp"; - qcom,msm-id = <126 1 0>, - <185 1 0>, - <186 1 0>; -}; - -&ehci { - status = "ok"; - vbus-supply = <&usb2_otg_sw>; -}; - -&hsic_host { - qcom,phy-sof-workaround; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8974-v1-fluid.dts b/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8974-v1-fluid.dts deleted file mode 100644 index 2b96ecbd2..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8974-v1-fluid.dts +++ /dev/null @@ -1,33 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/dts-v1/; - -/include/ "msm8974-v1.dtsi" -/include/ "msm8974-fluid.dtsi" - -/ { - model = "Qualcomm MSM 8974 FLUID"; - compatible = "qcom,msm8974-fluid", "qcom,msm8974", "qcom,fluid"; - qcom,msm-id = <126 3 0>, - <185 3 0>, - <186 3 0>; - -}; - -&pm8941_chg { - qcom,charging-disabled; -}; - -&sdcc1 { - qcom,bus-width = <4>; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8974-v1-iommu-domains.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8974-v1-iommu-domains.dtsi deleted file mode 100644 index 25fca2a54..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8974-v1-iommu-domains.dtsi +++ /dev/null @@ -1,31 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -&soc { - qcom,iommu-domains { - compatible = "qcom,iommu-domains"; - - venus_domain_ns: qcom,iommu-domain1 { - label = "venus_ns"; - qcom,iommu-contexts = <&venus_ns>; - qcom,virtual-addr-pool = <0x40000000 0x3f000000 - 0x7f000000 0x1000000>; - }; - - venus_domain_cp: qcom,iommu-domain2 { - label = "venus_cp"; - qcom,iommu-contexts = <&venus_cp>; - qcom,virtual-addr-pool = <0x1000000 0x3f000000>; - qcom,secure-domain; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8974-v1-iommu.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8974-v1-iommu.dtsi deleted file mode 100644 index 56369dce3..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8974-v1-iommu.dtsi +++ /dev/null @@ -1,40 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/include/ "msm-iommu-v1.dtsi" - -&jpeg_iommu { - status = "ok"; - vdd-supply = <&gdsc_jpeg>; -}; - -&mdp_iommu { - status = "ok"; - vdd-supply = <&gdsc_mdss>; -}; - -&venus_iommu { - status = "ok"; - vdd-supply = <&gdsc_venus>; -}; - -&kgsl_iommu { - status = "ok"; - qcom,needs-alt-core-clk; - vdd-supply = <&gdsc_oxili_cx>; - qcom,alt-vdd-supply = <&gdsc_oxili_gx>; -}; - -&vfe_iommu { - status = "ok"; - vdd-supply = <&gdsc_vfe>; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8974-v1-liquid.dts b/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8974-v1-liquid.dts deleted file mode 100644 index 29d6150ba..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8974-v1-liquid.dts +++ /dev/null @@ -1,24 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/dts-v1/; - -/include/ "msm8974-v1.dtsi" -/include/ "msm8974-liquid.dtsi" - -/ { - model = "Qualcomm MSM 8974 LIQUID"; - compatible = "qcom,msm8974-liquid", "qcom,msm8974", "qcom,liquid"; - qcom,msm-id = <126 9 0>, - <185 9 0>, - <186 9 0>; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8974-v1-mtp.dts b/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8974-v1-mtp.dts deleted file mode 100644 index 8cbcca05a..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8974-v1-mtp.dts +++ /dev/null @@ -1,28 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/dts-v1/; - -/include/ "msm8974-v1.dtsi" -/include/ "msm8974-mtp.dtsi" - -/ { - model = "Qualcomm MSM 8974 MTP"; - compatible = "qcom,msm8974-mtp", "qcom,msm8974", "qcom,mtp"; - qcom,msm-id = <126 8 0>, - <185 8 0>, - <186 8 0>; -}; - -&pm8941_chg { - qcom,charging-disabled; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8974-v1-pm.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8974-v1-pm.dtsi deleted file mode 100644 index 56a819ecc..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8974-v1-pm.dtsi +++ /dev/null @@ -1,456 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/include/ "skeleton.dtsi" - -&soc { - qcom,spm@f9089000 { - compatible = "qcom,spm-v2"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xf9089000 0x1000>; - qcom,core-id = <0>; - qcom,saw2-ver-reg = <0xfd0>; - qcom,saw2-cfg = <0x01>; - qcom,saw2-avs-ctl = <0>; - qcom,saw2-avs-hysteresis = <0>; - qcom,saw2-avs-limit = <0>; - qcom,saw2-avs-dly= <0>; - qcom,saw2-spm-dly= <0x20000400>; - qcom,saw2-spm-ctl = <0x1>; - qcom,saw2-spm-cmd-wfi = [03 0b 0f]; - qcom,saw2-spm-cmd-ret = [42 1b 00 d0 c0 a0 90 03 d0 98 a2 c0 - 0b 00 42 1b 0f]; - qcom,saw2-spm-cmd-spc = [00 20 80 10 90 a0 b0 03 3b 98 a2 b0 82 - 10 0b 30 06 26 30 0f]; - qcom,saw2-spm-cmd-pc = [00 20 80 10 90 a0 b0 07 3b 98 a2 b0 82 - 10 0b 30 06 26 30 0f]; - }; - - qcom,spm@f9099000 { - compatible = "qcom,spm-v2"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xf9099000 0x1000>; - qcom,core-id = <1>; - qcom,saw2-ver-reg = <0xfd0>; - qcom,saw2-cfg = <0x01>; - qcom,saw2-avs-ctl = <0>; - qcom,saw2-avs-hysteresis = <0>; - qcom,saw2-avs-limit = <0>; - qcom,saw2-avs-dly= <0>; - qcom,saw2-spm-dly= <0x20000400>; - qcom,saw2-spm-ctl = <0x1>; - qcom,saw2-spm-cmd-wfi = [03 0b 0f]; - qcom,saw2-spm-cmd-ret = [42 1b 00 d0 c0 a0 90 03 d0 98 a2 c0 - 0b 00 42 1b 0f]; - qcom,saw2-spm-cmd-spc = [00 20 80 10 90 a0 b0 03 3b 98 a2 b0 82 - 10 0b 30 06 26 30 0f]; - qcom,saw2-spm-cmd-pc = [00 20 80 10 90 a0 b0 07 3b 98 a2 b0 82 - 10 0b 30 06 26 30 0f]; - }; - - qcom,spm@f90a9000 { - compatible = "qcom,spm-v2"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xf90a9000 0x1000>; - qcom,core-id = <2>; - qcom,saw2-ver-reg = <0xfd0>; - qcom,saw2-cfg = <0x01>; - qcom,saw2-avs-ctl = <0>; - qcom,saw2-avs-hysteresis = <0>; - qcom,saw2-avs-limit = <0>; - qcom,saw2-avs-dly= <0>; - qcom,saw2-spm-dly= <0x20000400>; - qcom,saw2-spm-ctl = <0x1>; - qcom,saw2-spm-cmd-wfi = [03 0b 0f]; - qcom,saw2-spm-cmd-ret = [42 1b 00 d0 c0 a0 90 03 d0 98 a2 c0 - 0b 00 42 1b 0f]; - qcom,saw2-spm-cmd-spc = [00 20 80 10 90 a0 b0 03 3b 98 a2 b0 82 - 10 0b 30 06 26 30 0f]; - qcom,saw2-spm-cmd-pc = [00 20 80 10 90 a0 b0 07 3b 98 a2 b0 82 - 10 0b 30 06 26 30 0f]; - }; - - qcom,spm@f90b9000 { - compatible = "qcom,spm-v2"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xf90b9000 0x1000>; - qcom,core-id = <3>; - qcom,saw2-ver-reg = <0xfd0>; - qcom,saw2-cfg = <0x01>; - qcom,saw2-avs-ctl = <0>; - qcom,saw2-avs-hysteresis = <0>; - qcom,saw2-avs-limit = <0>; - qcom,saw2-avs-dly= <0>; - qcom,saw2-spm-dly= <0x20000400>; - qcom,saw2-spm-ctl = <0x1>; - qcom,saw2-spm-cmd-wfi = [03 0b 0f]; - qcom,saw2-spm-cmd-ret = [42 1b 00 d0 c0 a0 90 03 d0 98 a2 c0 - 0b 00 42 1b 0f]; - qcom,saw2-spm-cmd-spc = [00 20 80 10 90 a0 b0 03 3b 98 a2 b0 82 - 10 0b 30 06 26 30 0f]; - qcom,saw2-spm-cmd-pc = [00 20 80 10 90 a0 b0 07 3b 98 a2 b0 82 - 10 0b 30 06 26 30 0f]; - }; - - qcom,spm@f9012000 { - compatible = "qcom,spm-v2"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xf9012000 0x1000>; - qcom,core-id = <0xffff>; /* L2/APCS SAW */ - qcom,saw2-ver-reg = <0xfd0>; - qcom,saw2-cfg = <0x14>; - qcom,saw2-avs-ctl = <0>; - qcom,saw2-avs-hysteresis = <0>; - qcom,saw2-avs-limit = <0>; - qcom,saw2-avs-dly= <0>; - qcom,saw2-spm-dly= <0x20000400>; - qcom,saw2-spm-ctl = <0x1>; - qcom,saw2-pmic-data0 = <0x02030080>; - qcom,saw2-pmic-data1 = <0x00030000>; - qcom,vctl-timeout-us = <50>; - qcom,vctl-port = <0x0>; - qcom,phase-port = <0x1>; - qcom,pfm-port = <0x2>; - qcom,saw2-spm-cmd-ret = [1f 00 20 03 22 00 0f]; - qcom,saw2-spm-cmd-gdhs = [00 20 32 42 07 44 22 50 02 32 50 0f]; - qcom,saw2-spm-cmd-pc = [00 10 32 b0 11 42 07 01 b0 12 44 - 50 02 32 50 0f]; - }; - - qcom,lpm-resources { - compatible = "qcom,lpm-resources"; - #address-cells = <1>; - #size-cells = <0>; - - qcom,lpm-resources@0 { - reg = <0x0>; - qcom,name = "vdd-dig"; - qcom,type = <0x62706d73>; /* "smpb" */ - qcom,id = <0x02>; - qcom,key = <0x6e726f63>; /* "corn" */ - qcom,init-value = <6>; /* Super Turbo */ - }; - - qcom,lpm-resources@1 { - reg = <0x1>; - qcom,name = "vdd-mem"; - qcom,type = <0x62706d73>; /* "smpb" */ - qcom,id = <0x01>; - qcom,key = <0x7675>; /* "uv" */ - qcom,init-value = <1050000>; /* Super Turbo */ - }; - - qcom,lpm-resources@2 { - reg = <0x2>; - qcom,name = "pxo"; - qcom,type = <0x306b6c63>; /* "clk0" */ - qcom,id = <0x00>; - qcom,key = <0x62616e45>; /* "Enab" */ - qcom,init-value = "xo_on"; - }; - - qcom,lpm-resources@3 { - reg = <0x3>; - qcom,name = "l2"; - qcom,local-resource-type; - qcom,init-value = "l2_cache_retention"; - }; - }; - - qcom,lpm-levels { - compatible = "qcom,lpm-levels"; - #address-cells = <1>; - #size-cells = <0>; - - qcom,use-qtimer; - - qcom,lpm-level@0 { - reg = <0x0>; - qcom,mode = "wfi"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_active"; - qcom,vdd-mem-upper-bound = <1050000>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <950000>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <1>; - qcom,ss-power = <784>; - qcom,energy-overhead = <190000>; - qcom,time-overhead = <100>; - }; - - qcom,lpm-level@1 { - reg = <0x1>; - qcom,mode = "retention"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_active"; - qcom,vdd-mem-upper-bound = <1050000>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <950000>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <75>; - qcom,ss-power = <735>; - qcom,energy-overhead = <77341>; - qcom,time-overhead = <105>; - }; - - - qcom,lpm-level@2 { - reg = <0x2>; - qcom,mode = "standalone_pc"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_active"; - qcom,vdd-mem-upper-bound = <1050000>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <950000>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <95>; - qcom,ss-power = <725>; - qcom,energy-overhead = <99500>; - qcom,time-overhead = <130>; - }; - - qcom,lpm-level@3 { - reg = <0x3>; - qcom,mode = "pc"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_gdhs"; - qcom,vdd-mem-upper-bound = <1050000>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <950000>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <2000>; - qcom,ss-power = <138>; - qcom,energy-overhead = <1208400>; - qcom,time-overhead = <3200>; - }; - - qcom,lpm-level@4 { - reg = <0x4>; - qcom,mode = "pc"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_pc"; - qcom,vdd-mem-upper-bound = <1050000>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <950000>; /* SVS SOC */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <3>; /* SVS SOC */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <3000>; - qcom,ss-power = <110>; - qcom,energy-overhead = <1250300>; - qcom,time-overhead = <3500>; - }; - - qcom,lpm-level@5 { - reg = <0x5>; - qcom,mode = "pc"; - qcom,xo = "xo_off"; - qcom,l2 = "l2_cache_gdhs"; - qcom,vdd-mem-upper-bound = <1050000>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <950000>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,latency-us = <3000>; - qcom,ss-power = <68>; - qcom,energy-overhead = <1350200>; - qcom,time-overhead = <4000>; - }; - - qcom,lpm-level@6 { - reg = <0x6>; - qcom,mode = "pc"; - qcom,xo = "xo_off"; - qcom,l2 = "l2_cache_pc"; - qcom,vdd-mem-upper-bound = <1050000>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <950000>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,latency-us = <10300>; - qcom,ss-power = <63>; - qcom,energy-overhead = <2128000>; - qcom,time-overhead = <18200>; - }; - - qcom,lpm-level@7 { - reg = <0x7>; - qcom,mode= "pc"; - qcom,xo = "xo_off"; - qcom,l2 = "l2_cache_pc"; - qcom,vdd-mem-upper-bound = <950000>; /* NORMAL */ - qcom,vdd-mem-lower-bound = <950000>; /* SVS SOC */ - qcom,vdd-dig-upper-bound = <4>; /* NORMAL */ - qcom,vdd-dig-lower-bound = <3>; /* SVS SOC */ - qcom,latency-us = <18000>; - qcom,ss-power = <10>; - qcom,energy-overhead = <3202600>; - qcom,time-overhead = <27000>; - }; - - qcom,lpm-level@8 { - reg = <0x8>; - qcom,mode= "pc"; - qcom,xo = "xo_off"; - qcom,l2 = "l2_cache_pc"; - qcom,vdd-mem-upper-bound = <950000>; /* SVS SOC */ - qcom,vdd-mem-lower-bound = <675000>; /* RETENTION */ - qcom,vdd-dig-upper-bound = <3>; /* SVS SOC */ - qcom,vdd-dig-lower-bound = <1>; /* RETENTION */ - qcom,latency-us = <20000>; - qcom,ss-power = <2>; - qcom,energy-overhead = <4252000>; - qcom,time-overhead = <32000>; - }; - }; - - qcom,pm-boot { - compatible = "qcom,pm-boot"; - qcom,mode = "tz"; - }; - - qcom,mpm@fc4281d0 { - compatible = "qcom,mpm-v2"; - reg = <0xfc4281d0 0x1000>, /* MSM_RPM_MPM_BASE 4K */ - <0xf9011008 0x4>; /* MSM_APCS_GCC_BASE 4K */ - reg-names = "vmpm", "ipc"; - interrupts = <0 171 1>; - - qcom,ipc-bit-offset = <1>; - - qcom,gic-parent = <&intc>; - qcom,gic-map = <2 216>, /* tsens_upper_lower_int */ - <47 165>, /* usb30_hs_phy_irq */ - <50 172>, /* usb1_hs_async_wakeup_irq */ - <53 104>, /* mdss_irq */ - <62 222>, /* ee0_krait_hlos_spmi_periph_irq */ - <0xff 57>, /* mss_to_apps_irq(0) */ - <0xff 58>, /* mss_to_apps_irq(1) */ - <0xff 59>, /* mss_to_apps_irq(2) */ - <0xff 60>, /* mss_to_apps_irq(3) */ - <0xff 173>, /* o_wcss_apss_smd_hi */ - <0xff 174>, /* o_wcss_apss_smd_med */ - <0xff 175>, /* o_wcss_apss_smd_low */ - <0xff 176>, /* o_wcss_apss_smsm_irq */ - <0xff 177>, /* o_wcss_apss_wlan_data_xfer_done */ - <0xff 178>, /* o_wcss_apss_wlan_rx_data_avail */ - <0xff 179>, /* o_wcss_apss_asic_intr - - <0xff 188>, /* lpass_irq_out_apcs(0) */ - <0xff 189>, /* lpass_irq_out_apcs(1) */ - <0xff 190>, /* lpass_irq_out_apcs(2) */ - <0xff 191>, /* lpass_irq_out_apcs(3) */ - <0xff 192>, /* lpass_irq_out_apcs(4) */ - <0xff 193>, /* lpass_irq_out_apcs(5) */ - <0xff 194>, /* lpass_irq_out_apcs(6) */ - <0xff 195>, /* lpass_irq_out_apcs(7) */ - <0xff 196>, /* lpass_irq_out_apcs(8) */ - <0xff 197>, /* lpass_irq_out_apcs(9) */ - <0xff 200>, /* rpm_ipc(4) */ - <0xff 201>, /* rpm_ipc(5) */ - <0xff 202>, /* rpm_ipc(6) */ - <0xff 203>, /* rpm_ipc(7) */ - <0xff 204>, /* rpm_ipc(24) */ - <0xff 205>, /* rpm_ipc(25) */ - <0xff 206>, /* rpm_ipc(26) */ - <0xff 207>, /* rpm_ipc(27) */ - <0xff 240>; /* summary_irq_kpss */ - - qcom,gpio-parent = <&msmgpio>; - qcom,gpio-map = <3 102>, - <4 1 >, - <5 5 >, - <6 9 >, - <7 18>, - <8 20>, - <9 24>, - <10 27>, - <11 28>, - <12 34>, - <13 35>, - <14 37>, - <15 42>, - <16 44>, - <17 46>, - <18 50>, - <19 54>, - <20 59>, - <21 61>, - <22 62>, - <23 64>, - <24 65>, - <25 66>, - <26 67>, - <27 68>, - <28 71>, - <29 72>, - <30 73>, - <31 74>, - <32 75>, - <33 77>, - <34 79>, - <35 80>, - <36 82>, - <37 86>, - <38 92>, - <39 93>, - <40 95>, - <41 144>; - }; - - qcom,pm-8x60@fe805664 { - compatible = "qcom,pm-8x60"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - reg = <0xfe805664 0x40>; - qcom,pc-mode = "tz_l2_int"; - qcom,use-sync-timer; - }; - - qcom,cpu-sleep-status@f9088008 { - compatible = "qcom,cpu-sleep-status"; - reg = <0xf9088008 0x4>; - qcom,cpu-alias-addr = <0x10000>; - qcom,sleep-status-mask= <0x80000>; - }; - - qcom,rpm-log@fc19dc00 { - compatible = "qcom,rpm-log"; - reg = <0xfc19dc00 0x4000>; - qcom,rpm-addr-phys = <0xfc000000>; - qcom,offset-version = <4>; - qcom,offset-page-buffer-addr = <36>; - qcom,offset-log-len = <40>; - qcom,offset-log-len-mask = <44>; - qcom,offset-page-indices = <56>; - }; - - qcom,rpm-stats@fc19dba0 { - compatible = "qcom,rpm-stats"; - reg = <0xfc19dba0 0x1000>; - reg-names = "phys_addr_base"; - qcom,sleep-stats-version = <2>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8974-v1-rumi.dts b/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8974-v1-rumi.dts deleted file mode 100644 index 85aab17b1..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8974-v1-rumi.dts +++ /dev/null @@ -1,24 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/dts-v1/; - -/include/ "msm8974-v1.dtsi" -/include/ "msm8974-rumi.dtsi" - -/ { - model = "Qualcomm MSM 8974 RUMI"; - compatible = "qcom,msm8974-rumi", "qcom,msm8974", "qcom,rumi"; - qcom,msm-id = <126 15 0>, - <185 15 0>, - <186 15 0>; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8974-v1-sim.dts b/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8974-v1-sim.dts deleted file mode 100644 index fc9858de7..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8974-v1-sim.dts +++ /dev/null @@ -1,24 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/dts-v1/; - -/include/ "msm8974-v1.dtsi" -/include/ "msm8974-sim.dtsi" - -/ { - model = "Qualcomm MSM 8974 Simulator"; - compatible = "qcom,msm8974-sim", "qcom,msm8974", "qcom,sim"; - qcom,msm-id = <126 16 0>, - <185 16 0>, - <186 16 0>; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8974-v1.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8974-v1.dtsi deleted file mode 100644 index caec2dc1b..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8974-v1.dtsi +++ /dev/null @@ -1,134 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/* - * As a general rule, only version-specific property overrides should be placed - * inside this file. However, device definitions should be placed inside the - * msm8974.dtsi file. - */ - -/include/ "msm8974.dtsi" -/include/ "msm8974-v1-iommu.dtsi" -/include/ "msm8974-v1-iommu-domains.dtsi" -/include/ "msm8974-v1-pm.dtsi" - -&soc { - android_usb@fc42b0c8 { - compatible = "qcom,android-usb"; - reg = <0xfc42b0c8 0xc8>; - qcom,android-usb-swfi-latency = <1>; - }; - - qcom,msm-imem@fc42b000 { - compatible = "qcom,msm-imem"; - reg = <0xfc42b000 0x1000>; /* Address and size of IMEM */ - }; -}; - -&tsens { - qcom,calibration-less-mode; -}; - -/* I2C clock frequency overrides */ -&i2c_0 { - qcom,i2c-src-freq = <19200000>; -}; - -&i2c_2 { - qcom,i2c-src-freq = <19200000>; -}; - -/* CoreSight */ -&tmc_etr { - qcom,reset-flush-race; -}; - -&stm { - qcom,write-64bit; -}; - -&mdss_mdp { - qcom,mdss-pingpong-off = <0x00021B00 0x00021C00 0x00021D00>; -}; - -&msm_vidc { - qcom,vidc-cp-map = <0x1000000 0x3f000000>; - qcom,vidc-ns-map = <0x40000000 0x40000000>; - qcom,load-freq-tbl = <979200 410000000>, - <783360 410000000>, - <489600 266670000>, - <244800 133330000>; - qcom,reg-presets = <0x80004 0x1>, - <0x80178 0x00001FFF>, - <0x8017c 0x1FFF1FFF>, - <0x800b0 0x10101001>, - <0x800b4 0x10101010>, - <0x800b8 0x10101010>, - <0x800bc 0x00000010>, - <0x800c0 0x1010100f>, - <0x800c4 0x10101010>, - <0x800c8 0x10101010>, - <0x800cc 0x00000010>, - <0x800d0 0x00001010>, - <0x800d4 0x00001010>, - <0x800f0 0x00000030>, - <0x800d8 0x00000707>, - <0x800dc 0x00000707>, - <0x80124 0x00000001>, - <0xE0020 0x5555556>, - <0xE0024 0x0>; - qcom,bus-ports = <1>; - qcom,enc-ocmem-ab-ib = <0 0>, - <138200 1222000>, - <414700 1222000>, - <940000 2444000>, - <1880000 2444000>, - <3008000 3910400>, - <3760000 4888000>; - qcom,dec-ocmem-ab-ib = <0 0>, - <176900 1556640>, - <456200 1556640>, - <864800 1556640>, - <1729600 3113280>, - <2767360 4981248>, - <3459200 6226560>; - qcom,enc-ddr-ab-ib = <0 0>, - <60000 664950>, - <181000 664950>, - <403000 664950>, - <806000 1329900>, - <1289600 2127840>, - <161200 6400000>; - qcom,dec-ddr-ab-ib = <0 0>, - <110000 909000>, - <268000 909000>, - <505000 909000>, - <1010000 1818000>, - <1616000 2908800>, - <2020000 6400000>; - qcom,iommu-groups = <&venus_domain_ns &venus_domain_cp>; - qcom,iommu-group-buffer-types = <0xfff 0x1ff>; - qcom,buffer-type-tz-usage-table = <0x1 0x1>, - <0x1fe 0x2>; -}; - -&sfpb_spinlock { - status = "disable"; -}; - -&ldrex_spinlock { - status = "ok"; -}; - -&usb_otg { - qcom,hsusb-otg-pnoc-errata-fix; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8974-v2-cdp.dts b/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8974-v2-cdp.dts deleted file mode 100644 index 85d478b73..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8974-v2-cdp.dts +++ /dev/null @@ -1,36 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; - -/include/ "msm8974-v2.dtsi" -/include/ "msm8974-cdp.dtsi" - -/ { - model = "Qualcomm MSM 8974v2 CDP"; - compatible = "qcom,msm8974-cdp", "qcom,msm8974", "qcom,cdp"; - qcom,msm-id = <126 1 0x20000>, - <185 1 0x20000>, - <186 1 0x20000>; -}; - -&usb3 { - interrupt-parent = <&usb3>; - interrupts = <0 1>; - #interrupt-cells = <1>; - interrupt-map-mask = <0x0 0xffffffff>; - interrupt-map = <0x0 0 &intc 0 133 0 - 0x0 1 &spmi_bus 0x0 0x0 0x9 0x0>; - interrupt-names = "hs_phy_irq", "pmic_id_irq"; - - qcom,misc-ref = <&pm8941_misc>; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8974-v2-fluid.dts b/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8974-v2-fluid.dts deleted file mode 100644 index d83d13048..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8974-v2-fluid.dts +++ /dev/null @@ -1,36 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; - -/include/ "msm8974-v2.dtsi" -/include/ "msm8974-fluid.dtsi" - -/ { - model = "Qualcomm MSM 8974v2 FLUID"; - compatible = "qcom,msm8974-fluid", "qcom,msm8974", "qcom,fluid"; - qcom,msm-id = <126 3 0x20000>, - <185 3 0x20000>, - <186 3 0x20000>; -}; - -&usb3 { - interrupt-parent = <&usb3>; - interrupts = <0 1>; - #interrupt-cells = <1>; - interrupt-map-mask = <0x0 0xffffffff>; - interrupt-map = <0x0 0 &intc 0 133 0 - 0x0 1 &spmi_bus 0x0 0x0 0x9 0x0>; - interrupt-names = "hs_phy_irq", "pmic_id_irq"; - - qcom,misc-ref = <&pm8941_misc>; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8974-v2-iommu-domains.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8974-v2-iommu-domains.dtsi deleted file mode 100644 index 01c94d0ec..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8974-v2-iommu-domains.dtsi +++ /dev/null @@ -1,45 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -&soc { - qcom,iommu-domains { - compatible = "qcom,iommu-domains"; - - venus_domain_ns: qcom,iommu-domain1 { - label = "venus_ns"; - qcom,iommu-contexts = <&venus_ns>; - qcom,virtual-addr-pool = <0x5dc00000 0x7f000000 - 0xdcc00000 0x1000000>; - }; - - venus_domain_sec_bitstream: qcom,iommu-domain2 { - label = "venus_sec_bitstream"; - qcom,iommu-contexts = <&venus_sec_bitstream>; - qcom,virtual-addr-pool = <0x4b000000 0x12c00000>; - qcom,secure-domain; - }; - - venus_domain_sec_pixel: qcom,iommu-domain3 { - label = "venus_sec_pixel"; - qcom,iommu-contexts = <&venus_sec_pixel>; - qcom,virtual-addr-pool = <0x25800000 0x25800000>; - qcom,secure-domain; - }; - - venus_domain_sec_non_pixel: qcom,iommu-domain4 { - label = "venus_sec_non_pixel"; - qcom,iommu-contexts = <&venus_sec_non_pixel>; - qcom,virtual-addr-pool = <0x1000000 0x24800000>; - qcom,secure-domain; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8974-v2-iommu.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8974-v2-iommu.dtsi deleted file mode 100644 index 03f7e807e..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8974-v2-iommu.dtsi +++ /dev/null @@ -1,256 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/include/ "msm-iommu-v1.dtsi" - -&venus_iommu { - status = "ok"; - vdd-supply = <&gdsc_venus>; - qcom,iommu-enable-halt; - - qcom,iommu-bfb-regs = <0x204c - 0x2050 - 0x2514 - 0x2540 - 0x256c - 0x20ac - 0x215c - 0x220c - 0x2314 - 0x2394 - 0x2414 - 0x2008 - 0x200c - 0x2010 - 0x2014 - 0x2018 - 0x201c - 0x2020 - 0x2024 - 0x2028 - 0x202c - 0x2030 - 0x2034 - 0x2038>; - - qcom,iommu-bfb-data = <0xFFFFFFFF - 0xFFFFFFFF - 0x00000004 - 0x00000008 - 0x00000000 - 0x00013205 - 0x00004000 - 0x00014020 - 0x0 - 0x94 - 0x114 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0>; - - venus_ns: qcom,iommu-ctx@fdc8c000 { - qcom,iommu-ctx-sids = <0 1 2 3 4 5 7>; - }; - - venus_sec_bitstream: qcom,iommu-ctx@fdc8d000 { - qcom,iommu-ctx-sids = <0x80 0x81 0x82 0x83 0x84>; - label = "venus_sec_bitstream"; - }; - - venus_sec_pixel: qcom,iommu-ctx@fdc8f000 { - compatible = "qcom,msm-smmu-v1-ctx"; - reg = <0xfdc8f000 0x1000>; - interrupts = <0 42 0>, <0 43 0>; - qcom,iommu-ctx-sids = <0x85>; - label = "venus_sec_pixel"; - qcom,secure-context; - }; - - venus_sec_non_pixel: qcom,iommu-ctx@fdc90000 { - compatible = "qcom,msm-smmu-v1-ctx"; - reg = <0xfdc90000 0x1000>; - interrupts = <0 42 0>, <0 43 0>; - qcom,iommu-ctx-sids = <0x87 0xA0>; - label = "venus_sec_non_pixel"; - qcom,secure-context; - }; -}; - -&jpeg_iommu { - status = "ok"; - vdd-supply = <&gdsc_jpeg>; - qcom,iommu-enable-halt; - - qcom,iommu-bfb-regs = <0x204c - 0x2050 - 0x2514 - 0x2540 - 0x256c - 0x2314 - 0x2394 - 0x2414 - 0x20ac - 0x215c - 0x220c - 0x2008 - 0x200c - 0x2010 - 0x2014>; - - qcom,iommu-bfb-data = <0x3FFF - 0x00000000 - 0x4 - 0x4 - 0x0 - 0x0 - 0x10 - 0x50 - 0x0 - 0x00002804 - 0x00009614 - 0x0 - 0x0 - 0x0 - 0x0>; -}; - -&mdp_iommu { - status = "ok"; - vdd-supply = <&gdsc_mdss>; - qcom,iommu-enable-halt; - - qcom,iommu-bfb-regs = <0x204c - 0x2050 - 0x2514 - 0x2540 - 0x256c - 0x20ac - 0x215c - 0x220c - 0x2314 - 0x2394 - 0x2414 - 0x2008 - 0x200c - 0x2010 - 0x2014 - 0x2018 - 0x201c - 0x2020>; - - qcom,iommu-bfb-data = <0xFFFFF - 0x00000000 - 0x00000004 - 0x00000010 - 0x00000000 - 0x00006800 - 0x00006221 - 0x00016231 - 0x0 - 0x34 - 0x74 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0>; -}; - -&kgsl_iommu { - status = "ok"; - vdd-supply = <&gdsc_oxili_cx>; - qcom,alt-vdd-supply = <&gdsc_oxili_gx>; - qcom,iommu-enable-halt; - qcom,needs-alt-core-clk; - - qcom,iommu-bfb-regs = <0x204c - 0x2050 - 0x2514 - 0x2540 - 0x256c - 0x20ac - 0x215c - 0x220c - 0x2314 - 0x2394 - 0x2414 - 0x2008>; - - qcom,iommu-bfb-data = <0x00000003 - 0x0 - 0x00000004 - 0x00000010 - 0x00000000 - 0x00000000 - 0x00000000 - 0x00000020 - 0x0 - 0x1 - 0x81 - 0x0>; -}; - -&vfe_iommu { - status = "ok"; - vdd-supply = <&gdsc_vfe>; - qcom,iommu-enable-halt; - - qcom,iommu-bfb-regs = <0x204c - 0x2050 - 0x2514 - 0x2540 - 0x256c - 0x2314 - 0x2394 - 0x2414 - 0x20ac - 0x215c - 0x220c - 0x2008 - 0x200c - 0x2010 - 0x2014 - 0x2018 - 0x201c - 0x2020>; - - qcom,iommu-bfb-data = <0xffffffff - 0x00000000 - 0x4 - 0x8 - 0x0 - 0x0 - 0x20 - 0x78 - 0x0 - 0x00003c08 - 0x0000b41e - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0 - 0x0>; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8974-v2-liquid.dts b/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8974-v2-liquid.dts deleted file mode 100644 index 53983dc1c..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8974-v2-liquid.dts +++ /dev/null @@ -1,36 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; - -/include/ "msm8974-v2.dtsi" -/include/ "msm8974-liquid.dtsi" - -/ { - model = "Qualcomm MSM 8974v2 LIQUID"; - compatible = "qcom,msm8974-liquid", "qcom,msm8974", "qcom,liquid"; - qcom,msm-id = <126 9 0x20000>, - <185 9 0x20000>, - <186 9 0x20000>; -}; - -&usb3 { - interrupt-parent = <&usb3>; - interrupts = <0 1>; - #interrupt-cells = <1>; - interrupt-map-mask = <0x0 0xffffffff>; - interrupt-map = <0x0 0 &intc 0 133 0 - 0x0 1 &spmi_bus 0x0 0x0 0x9 0x0>; - interrupt-names = "hs_phy_irq", "pmic_id_irq"; - - qcom,misc-ref = <&pm8941_misc>; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8974-v2-mtp.dts b/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8974-v2-mtp.dts deleted file mode 100644 index 792a78cbd..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8974-v2-mtp.dts +++ /dev/null @@ -1,40 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; - -/include/ "msm8974-v2.dtsi" -/include/ "msm8974-mtp.dtsi" - -/ { - model = "Qualcomm MSM 8974v2 MTP"; - compatible = "qcom,msm8974-mtp", "qcom,msm8974", "qcom,mtp"; - qcom,msm-id = <126 8 0x20000>, - <185 8 0x20000>, - <186 8 0x20000>; -}; - -&usb3 { - interrupt-parent = <&usb3>; - interrupts = <0 1>; - #interrupt-cells = <1>; - interrupt-map-mask = <0x0 0xffffffff>; - interrupt-map = <0x0 0 &intc 0 133 0 - 0x0 1 &spmi_bus 0x0 0x0 0x9 0x0>; - interrupt-names = "hs_phy_irq", "pmic_id_irq"; - - qcom,misc-ref = <&pm8941_misc>; -}; - -&pm8941_chg { - qcom,bpd-detection = "bpd_thm"; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8974-v2-pm.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8974-v2-pm.dtsi deleted file mode 100644 index 8a46724ae..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8974-v2-pm.dtsi +++ /dev/null @@ -1,452 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/include/ "skeleton.dtsi" - -&soc { - qcom,spm@f9089000 { - compatible = "qcom,spm-v2"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xf9089000 0x1000>; - qcom,core-id = <0>; - qcom,saw2-ver-reg = <0xfd0>; - qcom,saw2-cfg = <0x01>; - qcom,saw2-avs-ctl = <0>; - qcom,saw2-avs-hysteresis = <0>; - qcom,saw2-avs-limit = <0>; - qcom,saw2-avs-dly= <0>; - qcom,saw2-spm-dly= <0x3C102800>; - qcom,saw2-spm-ctl = <0x1>; - qcom,saw2-spm-cmd-wfi = [03 0b 0f]; - qcom,saw2-spm-cmd-ret = [42 1b 00 d0 c0 a0 90 03 d0 98 a2 c0 - 0b 00 42 1b 0f]; - qcom,saw2-spm-cmd-spc = [00 20 80 10 90 a0 b0 03 3b 98 a2 b0 82 - 10 0b 30 06 26 30 0f]; - qcom,saw2-spm-cmd-pc = [00 20 80 10 90 a0 b0 07 3b 98 a2 b0 82 - 10 0b 30 06 26 30 0f]; - }; - - qcom,spm@f9099000 { - compatible = "qcom,spm-v2"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xf9099000 0x1000>; - qcom,core-id = <1>; - qcom,saw2-ver-reg = <0xfd0>; - qcom,saw2-cfg = <0x01>; - qcom,saw2-avs-ctl = <0>; - qcom,saw2-avs-hysteresis = <0>; - qcom,saw2-avs-limit = <0>; - qcom,saw2-avs-dly= <0>; - qcom,saw2-spm-dly= <0x3C102800>; - qcom,saw2-spm-ctl = <0x1>; - qcom,saw2-spm-cmd-wfi = [03 0b 0f]; - qcom,saw2-spm-cmd-ret = [42 1b 00 d0 c0 a0 90 03 d0 98 a2 c0 - 0b 00 42 1b 0f]; - qcom,saw2-spm-cmd-spc = [00 20 80 10 90 a0 b0 03 3b 98 a2 b0 82 - 10 0b 30 06 26 30 0f]; - qcom,saw2-spm-cmd-pc = [00 20 80 10 90 a0 b0 07 3b 98 a2 b0 82 - 10 0b 30 06 26 30 0f]; - }; - - qcom,spm@f90a9000 { - compatible = "qcom,spm-v2"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xf90a9000 0x1000>; - qcom,core-id = <2>; - qcom,saw2-ver-reg = <0xfd0>; - qcom,saw2-cfg = <0x01>; - qcom,saw2-avs-ctl = <0>; - qcom,saw2-avs-hysteresis = <0>; - qcom,saw2-avs-limit = <0>; - qcom,saw2-avs-dly= <0>; - qcom,saw2-spm-dly= <0x3C102800>; - qcom,saw2-spm-ctl = <0x1>; - qcom,saw2-spm-cmd-wfi = [03 0b 0f]; - qcom,saw2-spm-cmd-ret = [42 1b 00 d0 c0 a0 90 03 d0 98 a2 c0 - 0b 00 42 1b 0f]; - qcom,saw2-spm-cmd-spc = [00 20 80 10 90 a0 b0 03 3b 98 a2 b0 82 - 10 0b 30 06 26 30 0f]; - qcom,saw2-spm-cmd-pc = [00 20 80 10 90 a0 b0 07 3b 98 a2 b0 82 - 10 0b 30 06 26 30 0f]; - }; - - qcom,spm@f90b9000 { - compatible = "qcom,spm-v2"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xf90b9000 0x1000>; - qcom,core-id = <3>; - qcom,saw2-ver-reg = <0xfd0>; - qcom,saw2-cfg = <0x01>; - qcom,saw2-avs-ctl = <0>; - qcom,saw2-avs-hysteresis = <0>; - qcom,saw2-avs-limit = <0>; - qcom,saw2-avs-dly= <0>; - qcom,saw2-spm-dly= <0x3C102800>; - qcom,saw2-spm-ctl = <0x1>; - qcom,saw2-spm-cmd-wfi = [03 0b 0f]; - qcom,saw2-spm-cmd-ret = [42 1b 00 d0 c0 a0 90 03 d0 98 a2 c0 - 0b 00 42 1b 0f]; - qcom,saw2-spm-cmd-spc = [00 20 80 10 90 a0 b0 03 3b 98 a2 b0 82 - 10 0b 30 06 26 30 0f]; - qcom,saw2-spm-cmd-pc = [00 20 80 10 90 a0 b0 07 3b 98 a2 b0 82 - 10 0b 30 06 26 30 0f]; - }; - - qcom,spm@f9012000 { - compatible = "qcom,spm-v2"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xf9012000 0x1000>; - qcom,core-id = <0xffff>; /* L2/APCS SAW */ - qcom,saw2-ver-reg = <0xfd0>; - qcom,saw2-cfg = <0x14>; - qcom,saw2-avs-ctl = <0>; - qcom,saw2-avs-hysteresis = <0>; - qcom,saw2-avs-limit = <0>; - qcom,saw2-avs-dly= <0>; - qcom,saw2-spm-dly= <0x3C102800>; - qcom,saw2-spm-ctl = <0x1>; - qcom,saw2-pmic-data0 = <0x02030080>; - qcom,saw2-pmic-data1 = <0x00030000>; - qcom,vctl-timeout-us = <50>; - qcom,vctl-port = <0x0>; - qcom,phase-port = <0x1>; - qcom,pfm-port = <0x2>; - qcom,saw2-spm-cmd-ret = [1f 00 03 00 0f]; - qcom,saw2-spm-cmd-gdhs = [00 32 42 07 44 50 02 32 50 0f]; - qcom,saw2-spm-cmd-pc = [00 32 b0 11 42 07 01 b0 44 - 50 02 32 50 0f]; - }; - - qcom,lpm-resources { - compatible = "qcom,lpm-resources"; - #address-cells = <1>; - #size-cells = <0>; - - qcom,lpm-resources@0 { - reg = <0x0>; - qcom,name = "vdd-dig"; - qcom,type = <0x62706d73>; /* "smpb" */ - qcom,id = <0x02>; - qcom,key = <0x6e726f63>; /* "corn" */ - qcom,init-value = <6>; /* Super Turbo */ - }; - - qcom,lpm-resources@1 { - reg = <0x1>; - qcom,name = "vdd-mem"; - qcom,type = <0x62706d73>; /* "smpb" */ - qcom,id = <0x01>; - qcom,key = <0x7675>; /* "uv" */ - qcom,init-value = <1050000>; /* Super Turbo */ - }; - - qcom,lpm-resources@2 { - reg = <0x2>; - qcom,name = "pxo"; - qcom,type = <0x306b6c63>; /* "clk0" */ - qcom,id = <0x00>; - qcom,key = <0x62616e45>; /* "Enab" */ - qcom,init-value = "xo_on"; - }; - - qcom,lpm-resources@3 { - reg = <0x3>; - qcom,name = "l2"; - qcom,local-resource-type; - qcom,init-value = "l2_cache_retention"; - }; - }; - - qcom,lpm-levels { - compatible = "qcom,lpm-levels"; - #address-cells = <1>; - #size-cells = <0>; - - qcom,use-qtimer; - - qcom,lpm-level@0 { - reg = <0x0>; - qcom,mode = "wfi"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_active"; - qcom,vdd-mem-upper-bound = <1050000>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <950000>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <1>; - qcom,ss-power = <715>; - qcom,energy-overhead = <17700>; - qcom,time-overhead = <2>; - }; - - qcom,lpm-level@1 { - reg = <0x1>; - qcom,mode = "retention"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_active"; - qcom,vdd-mem-upper-bound = <1050000>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <950000>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <35>; - qcom,ss-power = <542>; - qcom,energy-overhead = <34920>; - qcom,time-overhead = <40>; - }; - - - qcom,lpm-level@2 { - reg = <0x2>; - qcom,mode = "standalone_pc"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_active"; - qcom,vdd-mem-upper-bound = <1050000>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <950000>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <300>; - qcom,ss-power = <476>; - qcom,energy-overhead = <225300>; - qcom,time-overhead = <350>; - }; - - qcom,lpm-level@3 { - reg = <0x3>; - qcom,mode = "pc"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_gdhs"; - qcom,vdd-mem-upper-bound = <1050000>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <950000>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <2817>; - qcom,ss-power = <163>; - qcom,energy-overhead = <1577736>; - qcom,time-overhead = <5067>; - }; - - qcom,lpm-level@4 { - reg = <0x4>; - qcom,mode = "pc"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_pc"; - qcom,vdd-mem-upper-bound = <1050000>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <950000>; /* SVS SOC */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <3>; /* SVS SOC */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <3922>; - qcom,ss-power = <83>; - qcom,energy-overhead = <2274420>; - qcom,time-overhead = <6605>; - }; - - qcom,lpm-level@5 { - reg = <0x5>; - qcom,mode = "pc"; - qcom,xo = "xo_off"; - qcom,l2 = "l2_cache_pc"; - qcom,vdd-mem-upper-bound = <1050000>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <950000>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,latency-us = <4922>; - qcom,ss-power = <68>; - qcom,energy-overhead = <2568180>; - qcom,time-overhead = <8812>; - }; - - qcom,lpm-level@6 { - reg = <0x6>; - qcom,mode= "pc"; - qcom,xo = "xo_off"; - qcom,l2 = "l2_cache_pc"; - qcom,vdd-mem-upper-bound = <950000>; /* NORMAL */ - qcom,vdd-mem-lower-bound = <950000>; /* SVS SOC */ - qcom,vdd-dig-upper-bound = <4>; /* NORMAL */ - qcom,vdd-dig-lower-bound = <3>; /* SVS SOC */ - qcom,latency-us = <5890>; - qcom,ss-power = <60>; - qcom,energy-overhead = <2675900>; - qcom,time-overhead = <10140>; - }; - - qcom,lpm-level@7 { - reg = <0x7>; - qcom,mode= "pc"; - qcom,xo = "xo_off"; - qcom,l2 = "l2_cache_pc"; - qcom,vdd-mem-upper-bound = <950000>; /* SVS SOC */ - qcom,vdd-mem-lower-bound = <675000>; /* RETENTION */ - qcom,vdd-dig-upper-bound = <3>; /* SVS SOC */ - qcom,vdd-dig-lower-bound = <1>; /* RETENTION */ - qcom,latency-us = <8500>; - qcom,ss-power = <18>; - qcom,energy-overhead = <3286600>; - qcom,time-overhead = <15760>; - }; - }; - - qcom,pm-boot { - compatible = "qcom,pm-boot"; - qcom,mode = "tz"; - }; - - qcom,mpm@fc4281d0 { - compatible = "qcom,mpm-v2"; - reg = <0xfc4281d0 0x1000>, /* MSM_RPM_MPM_BASE 4K */ - <0xf9011008 0x4>; /* MSM_APCS_GCC_BASE 4K */ - reg-names = "vmpm", "ipc"; - interrupts = <0 171 1>; - - qcom,ipc-bit-offset = <1>; - - qcom,gic-parent = <&intc>; - qcom,gic-map = <2 216>, /* tsens_upper_lower_int */ - <47 165>, /* usb30_hs_phy_irq */ - <50 172>, /* usb1_hs_async_wakeup_irq */ - <53 104>, /* mdss_irq */ - <62 222>, /* ee0_krait_hlos_spmi_periph_irq */ - <0xff 57>, /* mss_to_apps_irq(0) */ - <0xff 58>, /* mss_to_apps_irq(1) */ - <0xff 59>, /* mss_to_apps_irq(2) */ - <0xff 60>, /* mss_to_apps_irq(3) */ - <0xff 173>, /* o_wcss_apss_smd_hi */ - <0xff 174>, /* o_wcss_apss_smd_med */ - <0xff 175>, /* o_wcss_apss_smd_low */ - <0xff 176>, /* o_wcss_apss_smsm_irq */ - <0xff 177>, /* o_wcss_apss_wlan_data_xfer_done */ - <0xff 178>, /* o_wcss_apss_wlan_rx_data_avail */ - <0xff 179>, /* o_wcss_apss_asic_intr - - <0xff 188>, /* lpass_irq_out_apcs(0) */ - <0xff 189>, /* lpass_irq_out_apcs(1) */ - <0xff 190>, /* lpass_irq_out_apcs(2) */ - <0xff 191>, /* lpass_irq_out_apcs(3) */ - <0xff 192>, /* lpass_irq_out_apcs(4) */ - <0xff 193>, /* lpass_irq_out_apcs(5) */ - <0xff 194>, /* lpass_irq_out_apcs(6) */ - <0xff 195>, /* lpass_irq_out_apcs(7) */ - <0xff 196>, /* lpass_irq_out_apcs(8) */ - <0xff 197>, /* lpass_irq_out_apcs(9) */ - <0xff 200>, /* rpm_ipc(4) */ - <0xff 201>, /* rpm_ipc(5) */ - <0xff 202>, /* rpm_ipc(6) */ - <0xff 203>, /* rpm_ipc(7) */ - <0xff 204>, /* rpm_ipc(24) */ - <0xff 205>, /* rpm_ipc(25) */ - <0xff 206>, /* rpm_ipc(26) */ - <0xff 207>, /* rpm_ipc(27) */ - <0xff 240>; /* summary_irq_kpss */ - - qcom,gpio-parent = <&msmgpio>; - qcom,gpio-map = <3 102>, - <4 1 >, - <5 5 >, - <6 9 >, - <7 18>, - <8 20>, - <9 24>, - <10 27>, - <11 28>, - <12 34>, - <13 35>, - <14 37>, - <15 42>, - <16 44>, - <17 46>, - <18 50>, - <19 54>, - <20 59>, - <21 61>, - <22 62>, - <23 64>, - <24 65>, - <25 66>, - <26 67>, - <27 68>, - <28 71>, - <29 72>, - <30 73>, - <31 74>, - <32 75>, - <33 77>, - <34 79>, - <35 80>, - <36 82>, - <37 86>, - <38 92>, - <39 93>, - <40 95>, - <41 144>; - }; - - qcom,pm-8x60@fe805664 { - compatible = "qcom,pm-8x60"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - reg = <0xfe805664 0x40>; - qcom,pc-mode = "tz_l2_int"; - qcom,use-sync-timer; - - qcom,pm-snoc-client { - compatible = "qcom,pm-snoc-client"; - qcom,msm-bus,name = "ocimem_snoc"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,active-only; - qcom,msm-bus,vectors-KBps = - <54 585 0 0>, - <54 585 0 800000>; - }; - }; - - qcom,cpu-sleep-status@f9088008{ - compatible = "qcom,cpu-sleep-status"; - reg = <0xf9088008 0x100>; - qcom,cpu-alias-addr = <0x10000>; - qcom,sleep-status-mask= <0x80000>; - }; - - qcom,rpm-log@fc19dc00 { - compatible = "qcom,rpm-log"; - reg = <0xfc19dc00 0x4000>; - qcom,rpm-addr-phys = <0xfc000000>; - qcom,offset-version = <4>; - qcom,offset-page-buffer-addr = <36>; - qcom,offset-log-len = <40>; - qcom,offset-log-len-mask = <44>; - qcom,offset-page-indices = <56>; - }; - - qcom,rpm-stats@fc19dba0 { - compatible = "qcom,rpm-stats"; - reg = <0xfc19dba0 0x1000>; - reg-names = "phys_addr_base"; - qcom,sleep-stats-version = <2>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8974-v2.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8974-v2.dtsi deleted file mode 100644 index 96e78ac28..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8974-v2.dtsi +++ /dev/null @@ -1,138 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/* - * As a general rule, only version-specific property overrides should be placed - * inside this file. However, device definitions should be placed inside the - * msm8974.dtsi file. - */ - -/include/ "msm8974.dtsi" -/include/ "msm8974-v2-iommu.dtsi" -/include/ "msm8974-v2-iommu-domains.dtsi" -/include/ "msm8974-v2-pm.dtsi" - -&soc { - android_usb@fe8050c8 { - compatible = "qcom,android-usb"; - reg = <0xfe8050c8 0xc8>; - qcom,android-usb-swfi-latency = <1>; - }; - - qcom,msm-imem@fe805000 { - compatible = "qcom,msm-imem"; - reg = <0xfe805000 0x1000>; /* Address and size of IMEM */ - }; -}; - -/* GPU overrides */ -&msm_gpu { - /* Updated chip ID */ - qcom,chipid = <0x03030001>; - - /* Updated bus bandwidth requirements */ - qcom,msm-bus,vectors-KBps = - /* Off */ - <26 512 0 0>, <89 604 0 0>, - /* SVS */ - <26 512 0 2400000>, <89 604 0 3000000>, - /* Nominal / SVS */ - <26 512 0 4656000>, <89 604 0 3000000>, - /* Nominal */ - <26 512 0 4656000>, <89 604 0 5120000>, - /* Turbo / Nominal */ - <26 512 0 7464000>, <89 604 0 5120000>, - /* Turbo */ - <26 512 0 7464000>, <89 604 0 6400000>; -}; - -&mdss_mdp { - qcom,vbif-settings = <0x0004 0x00000001>; - - qcom,mdss-wb-off = <0x00011100 0x00011500 - 0x00011900 0x00011D00 0x00012100>; - qcom,mdss-intf-off = <0x00012500 0x00012700 - 0x00012900 0x00012b00>; - qcom,mdss-pingpong-off = <0x00012D00 0x00012E00 0x00012F00>; - qcom,mdss-has-bwc; - qcom,mdss-has-decimation; - qcom,mdss-ad-off = <0x0013100 0x00013300>; -}; - -&mdss_hdmi_tx { - reg = <0xfd922100 0x370>, - <0xfd922500 0x7C>, - <0xfc4b8000 0x60F0>; - reg-names = "core_physical", "phy_physical", "qfprom_physical"; -}; - -&msm_vidc { - qcom,vidc-ns-map = <0x40000000 0x40000000>; - qcom,load-freq-tbl = <979200 465000000>, - <783360 465000000>, - <489600 266670000>, - <244800 133330000>; - qcom,reg-presets = <0x80004 0x1>, - <0x80070 0x11FFF>, - <0x80074 0xA4>, - <0x800A8 0x1FFF>, - <0x80124 0x3>, - <0xE0020 0x5555556>, - <0xE0024 0x0>; - qcom,bus-ports = <1>; - qcom,enc-ocmem-ab-ib = <0 0>, - <138000 1034000>, - <414000 1034000>, - <940000 1034000>, - <1880000 2068000>, - <3008000 3309000>, - <3760000 4136000>, - <4468000 2457000>; - qcom,dec-ocmem-ab-ib = <0 0>, - <176000 519000>, - <456000 519000>, - <864000 519000>, - <1728000 1038000>, - <2766000 1661000>, - <3456000 2076000>, - <3662000 2198000>; - qcom,enc-ddr-ab-ib = <0 0>, - <120000 302000>, - <364000 302000>, - <804000 302000>, - <1608000 604000>, - <2576000 967000>, - <4680000 1404000>, - <49880000 1496000>; - qcom,dec-ddr-ab-ib = <0 0>, - <208000 303000>, - <536000 303000>, - <1012000 303000>, - <2024000 606000>, - <3240000 970000>, - <4048000 1212000>, - <4264000 1279000>; - qcom,iommu-groups = <&venus_domain_ns &venus_domain_sec_bitstream - &venus_domain_sec_pixel &venus_domain_sec_non_pixel>; - qcom,iommu-group-buffer-types = <0xfff 0x91 0x42 0x120>; - qcom,buffer-type-tz-usage-table = <0x91 0x1>, - <0x42 0x2>, - <0x120 0x3>; -}; - -&krait_pdn { - qcom,use-phase-switching; -}; - -&tspp { - vdd_cx-supply = <&pm8841_s2_corner>; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8974.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8974.dtsi deleted file mode 100644 index 6f164912e..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm8974.dtsi +++ /dev/null @@ -1,1745 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/include/ "skeleton.dtsi" - -/ { - model = "Qualcomm MSM 8974"; - compatible = "qcom,msm8974"; - interrupt-parent = <&intc>; - - aliases { - spi0 = &spi_0; - spi7 = &spi_7; - sdhc1 = &sdhc_1; /* SDC1 eMMC slot */ - sdhc2 = &sdhc_2; /* SDC2 SD card slot */ - sdhc3 = &sdhc_3; /* SDC3 SDIO slot */ - sdhc4 = &sdhc_4; /* SDC4 SDIO slot */ - - /* smdtty devices */ - smd1 = &smdtty_apps_fm; - smd2 = &smdtty_apps_riva_bt_acl; - smd3 = &smdtty_apps_riva_bt_cmd; - smd4 = &smdtty_mbalbridge; - smd5 = &smdtty_apps_riva_ant_cmd; - smd6 = &smdtty_apps_riva_ant_data; - smd7 = &smdtty_data1; - smd11 = &smdtty_data11; - smd21 = &smdtty_data21; - smd27 = &smdtty_gps_nmea; - smd36 = &smdtty_loopback; - }; - - cpus { - #size-cells = <0>; - #address-cells = <1>; - - CPU0: cpu@0 { - device_type = "cpu"; - compatible = "qcom,krait"; - reg = <0x0>; - }; - - CPU1: cpu@1 { - device_type = "cpu"; - compatible = "qcom,krait"; - reg = <0x1>; - }; - - CPU2: cpu@2 { - device_type = "cpu"; - compatible = "qcom,krait"; - reg = <0x2>; - }; - - CPU3: cpu@3 { - device_type = "cpu"; - compatible = "qcom,krait"; - reg = <0x3>; - }; - }; - - memory { - secure_mem: secure_region { - linux,contiguous-region; - reg = <0 0xFC00000>; - label = "secure_mem"; - }; - - adsp_mem: adsp_region { - linux,contiguous-region; - reg = <0 0x2F00000>; - label = "adsp_mem"; - }; - - qsecom_mem: qsecom_region { - linux,contiguous-region; - reg = <0 0x1100000>; - label = "qseecom_mem"; - }; - - }; - - soc: soc { }; -}; - -/include/ "msm8974-camera.dtsi" -/include/ "msm8974-coresight.dtsi" -/include/ "msm-gdsc.dtsi" -/include/ "msm8974-ion.dtsi" -/include/ "msm8974-gpu.dtsi" -/include/ "msm8974-mdss.dtsi" -/include/ "msm8974-smp2p.dtsi" -/include/ "msm8974-bus.dtsi" - -&soc { - #address-cells = <1>; - #size-cells = <1>; - ranges; - - intc: interrupt-controller@F9000000 { - compatible = "qcom,msm-qgic2"; - interrupt-controller; - #interrupt-cells = <3>; - reg = <0xF9000000 0x1000>, - <0xF9002000 0x1000>; - }; - - msmgpio: gpio@fd510000 { - compatible = "qcom,msm-gpio"; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - reg = <0xfd510000 0x4000>; - ngpio = <146>; - interrupts = <0 208 0>; - qcom,direct-connect-irqs = <8>; - }; - - wcd9xxx_intc: wcd9xxx-irq { - compatible = "qcom,wcd9xxx-irq"; - interrupt-controller; - #interrupt-cells = <1>; - interrupt-parent = <&msmgpio>; - interrupts = <72 0>; - interrupt-names = "cdc-int"; - }; - - timer { - compatible = "arm,armv7-timer"; - interrupts = <1 2 0 1 3 0>; - clock-frequency = <19200000>; - }; - - 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 8 0x4>, - <0 7 0x4>; - reg = <0xf9021000 0x1000>, - <0xf9022000 0x1000>; - }; - - frame@f9023000 { - frame-number = <1>; - interrupts = <0 9 0x4>; - reg = <0xf9023000 0x1000>; - status = "disabled"; - }; - - frame@f9024000 { - frame-number = <2>; - interrupts = <0 10 0x4>; - reg = <0xf9024000 0x1000>; - status = "disabled"; - }; - - frame@f9025000 { - frame-number = <3>; - interrupts = <0 11 0x4>; - reg = <0xf9025000 0x1000>; - status = "disabled"; - }; - - frame@f9026000 { - frame-number = <4>; - interrupts = <0 12 0x4>; - reg = <0xf9026000 0x1000>; - status = "disabled"; - }; - - frame@f9027000 { - frame-number = <5>; - interrupts = <0 13 0x4>; - reg = <0xf9027000 0x1000>; - status = "disabled"; - }; - - frame@f9028000 { - frame-number = <6>; - interrupts = <0 14 0x4>; - reg = <0xf9028000 0x1000>; - status = "disabled"; - }; - }; - - - qcom,mpm2-sleep-counter@fc4a3000 { - compatible = "qcom,mpm2-sleep-counter"; - reg = <0xfc4a3000 0x1000>; - clock-frequency = <32768>; - }; - - msm_vidc: qcom,vidc@fdc00000 { - compatible = "qcom,msm-vidc"; - reg = <0xfdc00000 0xff000>; - interrupts = <0 44 0>; - qcom,hfi = "venus"; - qcom,has-ocmem; - qcom,max-hw-load = <1224450>; /* 4k @ 30 + 1080p @ 30*/ - }; - - qcom,vidc { - compatible = "qcom,msm-vidc"; - qcom,hfi = "q6"; - qcom,max-hw-load = <108000>; /* 720p @ 30 */ - }; - - qcom,wfd { - compatible = "qcom,msm-wfd"; - }; - - serial@f991f000 { - compatible = "qcom,msm-lsuart-v14"; - reg = <0xf991f000 0x1000>; - interrupts = <0 109 0>; - status = "disabled"; - }; - - serial@f995e000 { - compatible = "qcom,msm-lsuart-v14"; - reg = <0xf995e000 0x1000>; - interrupts = <0 114 0>; - status = "disabled"; - }; - - serial@f991e000 { - compatible = "qcom,msm-lsuart-v14"; - reg = <0xf991e000 0x1000>; - interrupts = <0 108 0>; - status = "disabled"; - - qcom,msm-bus,name = "serial_uart2"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <86 512 0 0>, - <86 512 500 800>; - }; - - usb_otg: usb@f9a55000 { - compatible = "qcom,hsusb-otg"; - status = "disabled"; - - reg = <0xf9a55000 0x400>; - interrupts = <0 134 0 0 140 0>; - interrupt-names = "core_irq", "async_irq"; - HSUSB_VDDCX-supply = <&pm8841_s2_corner>; - HSUSB_1p8-supply = <&pm8941_l6>; - HSUSB_3p3-supply = <&pm8941_l24>; - qcom,vdd-voltage-level = <1 5 7>; - - 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>; - qcom,hsusb-otg-disable-reset; - - qcom,msm-bus,name = "usb2"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <87 512 0 0>, - <87 512 60000 960000>; - }; - - sdcc1: qcom,sdcc@f9824000 { - cell-index = <1>; /* SDC1 eMMC slot */ - compatible = "qcom,msm-sdcc"; - reg = <0xf9824000 0x800>, - <0xf9824800 0x100>, - <0xf9804000 0x7000>; - reg-names = "core_mem", "dml_mem", "bam_mem"; - interrupts = <0 123 0>, <0 137 0>; - interrupt-names = "core_irq", "bam_irq"; - vdd-supply = <&pm8941_l20>; - vdd-io-supply = <&pm8941_s3>; - - qcom,vdd-always-on; - qcom,vdd-lpm-sup; - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <800 500000>; - - qcom,vdd-io-always-on; - qcom,vdd-io-voltage-level = <1800000 1800000>; - qcom,vdd-io-current-level = <250 154000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 20000000 25000000 50000000 100000000 200000000>; - qcom,sup-voltages = <2950 2950>; - qcom,bus-width = <8>; - qcom,nonremovable; - qcom,bus-speed-mode = "HS200_1p8v", "DDR_1p8v"; - - qcom,msm-bus,name = "sdcc1"; - qcom,msm-bus,num-cases = <8>; - 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 800000 1600000>, /* 200 MB/s */ - <78 512 2048000 4096000>; /* Max. bandwidth */ - qcom,bus-bw-vectors-bps = <0 400000 20000000 25000000 50000000 100000000 200000000 4294967295>; - qcom,dat1-mpm-int = <42>; - status = "disable"; - }; - - sdcc2: qcom,sdcc@f98a4000 { - cell-index = <2>; /* SDC2 SD card slot */ - compatible = "qcom,msm-sdcc"; - reg = <0xf98a4000 0x800>, - <0xf98a4800 0x100>, - <0xf9884000 0x7000>; - reg-names = "core_mem", "dml_mem", "bam_mem"; - interrupts = <0 125 0>, <0 220 0>; - interrupt-names = "core_irq", "bam_irq"; - vdd-supply = <&pm8941_l21>; - vdd-io-supply = <&pm8941_l13>; - - qcom,vdd-voltage-level = <2950000 2950000>; - qcom,vdd-current-level = <9000 800000>; - - qcom,vdd-io-voltage-level = <1800000 2950000>; - qcom,vdd-io-current-level = <6 22000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,clk-rates = <400000 20000000 25000000 50000000 100000000 200000000>; - qcom,sup-voltages = <2950 2950>; - qcom,bus-width = <4>; - qcom,xpc; - qcom,bus-speed-mode = "SDR12", "SDR25", "SDR50", "DDR50", "SDR104"; - qcom,current-limit = <800>; - - qcom,msm-bus,name = "sdcc2"; - 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 1600000>, /* 200 MB/s */ - <81 512 2048000 4096000>; /* Max. bandwidth */ - qcom,bus-bw-vectors-bps = <0 400000 20000000 25000000 50000000 100000000 200000000 4294967295>; - qcom,dat1-mpm-int = <44>; - status = "disable"; - }; - - sdcc3: qcom,sdcc@f9864000 { - cell-index = <3>; /* SDC3 SDIO slot */ - compatible = "qcom,msm-sdcc"; - reg = <0xf9864000 0x800>, - <0xf9864800 0x100>, - <0xf9844000 0x7000>; - reg-names = "core_mem", "dml_mem", "bam_mem"; - #address-cells = <0>; - interrupt-parent = <&sdcc3>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 127 0 - 1 &intc 0 223 0 - 2 &msmgpio 37 0x8>; - interrupt-names = "core_irq", "bam_irq", "sdiowakeup_irq"; - - gpios = <&msmgpio 40 0>, /* CLK */ - <&msmgpio 39 0>, /* CMD */ - <&msmgpio 38 0>, /* DATA0 */ - <&msmgpio 37 0>, /* DATA1 */ - <&msmgpio 36 0>, /* DATA2 */ - <&msmgpio 35 0>; /* DATA3 */ - qcom,gpio-names = "CLK", "CMD", "DAT0", "DAT1", "DAT2", "DAT3"; - - qcom,clk-rates = <400000 20000000 25000000 50000000 100000000>; - qcom,sup-voltages = <1800 1800>; - qcom,bus-width = <4>; - qcom,bus-speed-mode = "SDR12", "SDR25", "SDR50", "DDR50"; - - qcom,msm-bus,name = "sdcc3"; - 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 1600000>, /* 200 MB/s */ - <79 512 2048000 4096000>; /* Max. bandwidth */ - qcom,bus-bw-vectors-bps = <0 400000 20000000 25000000 50000000 100000000 200000000 4294967295>; - status = "disable"; - }; - - sdcc4: qcom,sdcc@f98e4000 { - cell-index = <4>; /* SDC4 SDIO slot */ - compatible = "qcom,msm-sdcc"; - reg = <0xf98e4000 0x800>, - <0xf98e4800 0x100>, - <0xf98c4000 0x7000>; - reg-names = "core_mem", "dml_mem", "bam_mem"; - #address-cells = <0>; - interrupt-parent = <&sdcc4>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 129 0 - 1 &intc 0 226 0 - 2 &msmgpio 95 0x8>; - interrupt-names = "core_irq", "bam_irq", "sdiowakeup_irq"; - - gpios = <&msmgpio 93 0>, /* CLK */ - <&msmgpio 91 0>, /* CMD */ - <&msmgpio 96 0>, /* DATA0 */ - <&msmgpio 95 0>, /* DATA1 */ - <&msmgpio 94 0>, /* DATA2 */ - <&msmgpio 92 0>; /* DATA3 */ - qcom,gpio-names = "CLK", "CMD", "DAT0", "DAT1", "DAT2", "DAT3"; - - qcom,clk-rates = <400000 20000000 25000000 50000000 100000000>; - qcom,sup-voltages = <1800 1800>; - qcom,bus-width = <4>; - qcom,bus-speed-mode = "SDR12", "SDR25", "SDR50", "DDR50"; - - qcom,msm-bus,name = "sdcc4"; - qcom,msm-bus,num-cases = <8>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = <80 512 0 0>, /* No vote */ - <80 512 1600 3200>, /* 400 KB/s*/ - <80 512 80000 160000>, /* 20 MB/s */ - <80 512 100000 200000>, /* 25 MB/s */ - <80 512 200000 400000>, /* 50 MB/s */ - <80 512 400000 800000>, /* 100 MB/s */ - <80 512 800000 1600000>, /* 200 MB/s */ - <80 512 2048000 4096000>; /* Max. bandwidth */ - qcom,bus-bw-vectors-bps = <0 400000 20000000 25000000 50000000 100000000 200000000 4294967295>; - status = "disable"; - }; - - sdhc_1: sdhci@f9824900 { - qcom,bus-width = <8>; - compatible = "qcom,sdhci-msm"; - reg = <0xf9824900 0x11c>, <0xf9824000 0x800>; - reg-names = "hc_mem", "core_mem"; - interrupts = <0 123 0>, <0 138 0>; - interrupt-names = "hc_irq", "pwr_irq"; - qcom,clk-rates = <400000 20000000 25000000 50000000 100000000 200000000>; - qcom,bus-speed-mode = "HS200_1p8v", "DDR_1p8v"; - qcom,cpu-dma-latency-us = <200>; - - qcom,msm-bus,name = "sdhc1"; - qcom,msm-bus,num-cases = <8>; - 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 800000 1600000>, /* 200 MB/s */ - <78 512 2048000 4096000>; /* Max. bandwidth */ - qcom,bus-bw-vectors-bps = <0 400000 20000000 25000000 50000000 100000000 200000000 4294967295>; - status = "disable"; - }; - - 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"; - - qcom,clk-rates = <400000 20000000 25000000 50000000 100000000 200000000>; - qcom,bus-width = <4>; - qcom,cpu-dma-latency-us = <200>; - - 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 1600000>, /* 200 MB/s */ - <81 512 2048000 4096000>; /* Max. bandwidth */ - qcom,bus-bw-vectors-bps = <0 400000 20000000 25000000 50000000 100000000 200000000 4294967295>; - status = "disable"; - }; - - 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"; - gpios = <&msmgpio 40 0>, /* CLK */ - <&msmgpio 39 0>, /* CMD */ - <&msmgpio 38 0>, /* DATA0 */ - <&msmgpio 37 0>, /* DATA1 */ - <&msmgpio 36 0>, /* DATA2 */ - <&msmgpio 35 0>; /* DATA3 */ - qcom,gpio-names = "CLK", "CMD", "DAT0", "DAT1", "DAT2", "DAT3"; - - qcom,clk-rates = <400000 20000000 25000000 50000000 100000000>; - qcom,bus-width = <4>; - qcom,cpu-dma-latency-us = <200>; - - 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 1600000>, /* 200 MB/s */ - <79 512 2048000 4096000>; /* Max. bandwidth */ - qcom,bus-bw-vectors-bps = <0 400000 20000000 25000000 50000000 100000000 200000000 4294967295>; - status = "disable"; - }; - - sdhc_4: sdhci@f98e4900 { - compatible = "qcom,sdhci-msm"; - reg = <0xf98e4900 0x11c>, <0xf98e4000 0x800>; - reg-names = "hc_mem", "core_mem"; - interrupts = <0 129 0>, <0 227 0>; - interrupt-names = "hc_irq", "pwr_irq"; - gpios = <&msmgpio 93 0>, /* CLK */ - <&msmgpio 91 0>, /* CMD */ - <&msmgpio 96 0>, /* DATA0 */ - <&msmgpio 95 0>, /* DATA1 */ - <&msmgpio 94 0>, /* DATA2 */ - <&msmgpio 92 0>; /* DATA3 */ - qcom,gpio-names = "CLK", "CMD", "DAT0", "DAT1", "DAT2", "DAT3"; - - qcom,clk-rates = <400000 20000000 25000000 50000000 100000000>; - qcom,bus-width = <4>; - qcom,cpu-dma-latency-us = <200>; - - qcom,msm-bus,name = "sdhc4"; - qcom,msm-bus,num-cases = <8>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = <80 512 0 0>, /* No vote */ - <80 512 1600 3200>, /* 400 KB/s*/ - <80 512 80000 160000>, /* 20 MB/s */ - <80 512 100000 200000>, /* 25 MB/s */ - <80 512 200000 400000>, /* 50 MB/s */ - <80 512 400000 800000>, /* 100 MB/s */ - <80 512 800000 1600000>, /* 200 MB/s */ - <80 512 2048000 4096000>; /* Max. bandwidth */ - qcom,bus-bw-vectors-bps = <0 400000 20000000 25000000 50000000 100000000 200000000 4294967295>; - status = "disable"; - }; - - qcom,sps@f9980000 { - compatible = "qcom,msm_sps"; - reg = <0xf9984000 0x15000>, - <0xf9999000 0xb000>; - interrupts = <0 94 0>; - - qcom,bam-dma-res-pipes = <6>; - }; - - spi_7: spi_epm: spi@f9966000 { - compatible = "qcom,spi-qup-v2"; - reg = <0xf9966000 0x1000>; - interrupts = <0 104 0>; - spi-max-frequency = <19200000>; - #address-cells = <1>; - #size-cells = <0>; - gpios = <&msmgpio 56 0>, /* CLK */ - <&msmgpio 54 0>, /* MISO */ - <&msmgpio 53 0>; /* MOSI */ - cs-gpios = <&msmgpio 55 0>; - qcom,master-id = <84>; - }; - - tspp: msm_tspp@f99d8000 { - compatible = "qcom,msm_tspp"; - cell-index = <0>; - reg = <0xf99d8000 0x1000>, /* MSM_TSIF0_PHYS */ - <0xf99d9000 0x1000>, /* MSM_TSIF1_PHYS */ - <0xf99da000 0x1000>, /* MSM_TSPP_PHYS */ - <0xf99c4000 0x14000>; /* MSM_TSPP_BAM_PHYS */ - reg-names = "MSM_TSIF0_PHYS", - "MSM_TSIF1_PHYS", - "MSM_TSPP_PHYS", - "MSM_TSPP_BAM_PHYS"; - interrupts = <0 153 0>, /* TSIF_TSPP_IRQ */ - <0 151 0>, /* TSIF0_IRQ */ - <0 152 0>, /* TSIF1_IRQ */ - <0 154 0>; /* TSIF_BAM_IRQ */ - interrupt-names = "TSIF_TSPP_IRQ", - "TSIF0_IRQ", - "TSIF1_IRQ", - "TSIF_BAM_IRQ"; - qcom,tsif-pclk = "iface_clk"; - qcom,tsif-ref-clk = "ref_clk"; - gpios = <&msmgpio 89 0>, /* TSIF0 CLK */ - <&msmgpio 90 0>, /* TSIF0 EN */ - <&msmgpio 91 0>, /* TSIF0 DATA */ - <&msmgpio 92 0>, /* TSIF0 SYNC */ - <&msmgpio 93 0>, /* TSIF1 CLK */ - <&msmgpio 94 0>, /* TSIF1 EN */ - <&msmgpio 95 0>, /* TSIF1 DATA */ - <&msmgpio 96 0>; /* TSIF1 SYNC */ - qcom,gpio-names = "tsif_clk", - "tsif_en", - "tsif_data", - "tsif_sync", - "tsif_clk", - "tsif_en", - "tsif_data", - "tsif_sync"; - qcom,gpios-func = <1>; - - qcom,msm-bus,name = "tsif"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,active-only = <0>; - 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 */ - }; - - slim_msm: slim@fe12f000 { - cell-index = <1>; - compatible = "qcom,slim-ngd"; - reg = <0xfe12f000 0x35000>, - <0xfe104000 0x20000>; - reg-names = "slimbus_physical", "slimbus_bam_physical"; - interrupts = <0 163 0 0 164 0>; - interrupt-names = "slimbus_irq", "slimbus_bam_irq"; - - taiko_codec { - compatible = "qcom,taiko-slim-pgd"; - elemental-addr = [00 01 A0 00 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>; - - qcom,cdc-reset-gpio = <&msmgpio 63 0>; - - cdc-vdd-buck-supply = <&pm8941_s2>; - qcom,cdc-vdd-buck-voltage = <2150000 2150000>; - qcom,cdc-vdd-buck-current = <650000>; - - cdc-vdd-tx-h-supply = <&pm8941_s3>; - qcom,cdc-vdd-tx-h-voltage = <1800000 1800000>; - qcom,cdc-vdd-tx-h-current = <25000>; - - cdc-vdd-rx-h-supply = <&pm8941_s3>; - qcom,cdc-vdd-rx-h-voltage = <1800000 1800000>; - qcom,cdc-vdd-rx-h-current = <25000>; - - cdc-vddpx-1-supply = <&pm8941_s3>; - qcom,cdc-vddpx-1-voltage = <1800000 1800000>; - qcom,cdc-vddpx-1-current = <10000>; - - cdc-vdd-a-1p2v-supply = <&pm8941_l1>; - qcom,cdc-vdd-a-1p2v-voltage = <1225000 1225000>; - qcom,cdc-vdd-a-1p2v-current = <10000>; - - cdc-vddcx-1-supply = <&pm8941_l1>; - qcom,cdc-vddcx-1-voltage = <1225000 1225000>; - qcom,cdc-vddcx-1-current = <10000>; - - cdc-vddcx-2-supply = <&pm8941_l1>; - qcom,cdc-vddcx-2-voltage = <1225000 1225000>; - qcom,cdc-vddcx-2-current = <10000>; - - 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>; - qcom,cdc-micbias-cfilt2-mv = <2700>; - 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 = "taiko-slim-ifd"; - qcom,cdc-slim-ifd-elemental-addr = [00 00 A0 00 17 02]; - qcom,cdc-dmic-sample-rate = <4800000>; - }; - }; - - sound { - compatible = "qcom,msm8974-audio-taiko"; - qcom,model = "msm8974-taiko-snd-card"; - - qcom,audio-routing = - "RX_BIAS", "MCLK", - "LDO_H", "MCLK", - "AIF4 MAD", "MCLK", - "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"; - - qcom,cdc-mclk-gpios = <&pm8941_gpios 15 0>; - qcom,taiko-mclk-clk-freq = <9600000>; - qcom,prim-auxpcm-gpio-clk = <&msmgpio 65 0>; - qcom,prim-auxpcm-gpio-sync = <&msmgpio 66 0>; - qcom,prim-auxpcm-gpio-din = <&msmgpio 67 0>; - qcom,prim-auxpcm-gpio-dout = <&msmgpio 68 0>; - qcom,prim-auxpcm-gpio-set = "prim-gpio-prim"; - qcom,sec-auxpcm-gpio-clk = <&msmgpio 79 0>; - qcom,sec-auxpcm-gpio-sync = <&msmgpio 80 0>; - qcom,sec-auxpcm-gpio-din = <&msmgpio 81 0>; - qcom,sec-auxpcm-gpio-dout = <&msmgpio 82 0>; - }; - - spmi_bus: qcom,spmi@fc4c0000 { - cell-index = <0>; - 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-ee = <0>; - qcom,pmic-arb-channel = <0>; - }; - - i2c_0: i2c@f9967000 { /* BLSP#11 */ - cell-index = <0>; - compatible = "qcom,i2c-qup"; - reg = <0Xf9967000 0x1000>; - #address-cells = <1>; - #size-cells = <0>; - reg-names = "qup_phys_addr"; - interrupts = <0 105 0>; - interrupt-names = "qup_err_intr"; - qcom,i2c-bus-freq = <100000>; - qcom,i2c-src-freq = <50000000>; - qcom,master-id = <84>; - }; - - i2c_1: i2c@f9923000 { - cell-index = <1>; - compatible = "qcom,i2c-qup"; - reg = <0xf9923000 0x1000>; - #address-cells = <1>; - #size-cells = <0>; - reg-names = "qup_phys_addr"; - interrupts = <0 95 0>; - interrupt-names = "qup_err_intr"; - qcom,i2c-bus-freq = <100000>; - qcom,i2c-src-freq = <19200000>; - qcom,scl-gpio = <&msmgpio 3 0>; - qcom,sda-gpio = <&msmgpio 2 0>; - qcom,master-id = <86>; - status = "disabled"; - }; - - i2c_2: i2c@f9924000 { - cell-index = <2>; - compatible = "qcom,i2c-qup"; - reg = <0xf9924000 0x1000>; - #address-cells = <1>; - #size-cells = <0>; - reg-names = "qup_phys_addr"; - interrupts = <0 96 0>; - interrupt-names = "qup_err_intr"; - qcom,i2c-bus-freq = <100000>; - qcom,i2c-src-freq = <50000000>; - qcom,master-id = <86>; - }; - - spi_0: spi@f9923000 { - compatible = "qcom,spi-qup-v2"; - reg = <0xf9923000 0x1000>; - interrupts = <0 95 0>; - spi-max-frequency = <19200000>; - #address-cells = <1>; - #size-cells = <0>; - gpios = <&msmgpio 3 0>, /* CLK */ - <&msmgpio 1 0>, /* MISO */ - <&msmgpio 0 0>; /* MOSI */ - cs-gpios = <&msmgpio 9 0>; - qcom,master-id = <86>; - }; - - qcom,acpuclk@f9000000 { - compatible = "qcom,acpuclk-8974"; - krait0-supply = <&krait0_vreg>; - krait1-supply = <&krait1_vreg>; - krait2-supply = <&krait2_vreg>; - krait3-supply = <&krait3_vreg>; - krait0_mem-supply = <&pm8841_s1_ao>; - krait1_mem-supply = <&pm8841_s1_ao>; - krait2_mem-supply = <&pm8841_s1_ao>; - krait3_mem-supply = <&pm8841_s1_ao>; - krait0_dig-supply = <&pm8841_s2_corner_ao>; - krait1_dig-supply = <&pm8841_s2_corner_ao>; - krait2_dig-supply = <&pm8841_s2_corner_ao>; - krait3_dig-supply = <&pm8841_s2_corner_ao>; - krait0_hfpll-supply = <&pm8941_l12_ao>; - krait1_hfpll-supply = <&pm8941_l12_ao>; - krait2_hfpll-supply = <&pm8941_l12_ao>; - krait3_hfpll-supply = <&pm8941_l12_ao>; - l2_hfpll-supply = <&pm8941_l12_ao>; - }; - - usb3: qcom,ssusb@f9200000 { - compatible = "qcom,dwc-usb3-msm"; - reg = <0xf9200000 0xfc000>, - <0xfd4ab000 0x4>; - #address-cells = <1>; - #size-cells = <1>; - ranges; - interrupts = <0 133 0>; - interrupt-names = "hs_phy_irq"; - ssusb_vdd_dig-supply = <&pm8841_s2_corner>; - SSUSB_1p8-supply = <&pm8941_l6>; - hsusb_vdd_dig-supply = <&pm8841_s2_corner>; - HSUSB_1p8-supply = <&pm8941_l6>; - HSUSB_3p3-supply = <&pm8941_l24>; - vbus_dwc3-supply = <&pm8941_mvs1>; - qcom,dwc-usb3-msm-dbm-eps = <4>; - qcom,vdd-voltage-level = <1 5 7>; - qcom,dwc-hsphy-init = <0x00D195A4>; - - 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>; - dwc3@f9200000 { - compatible = "synopsys,dwc3"; - reg = <0xf9200000 0xfc000>; - interrupt-parent = <&intc>; - interrupts = <0 131 0>, <0 179 0>; - interrupt-names = "irq", "otg_irq"; - tx-fifo-resize; - }; - }; - - ehci: qcom,ehci-host@f9a55000 { - compatible = "qcom,ehci-host"; - status = "disabled"; - reg = <0xf9a55000 0x400>; - interrupts = <0 134 0>, <0 140 0>; - interrupt-names = "core_irq", "async_irq"; - HSUSB_VDDCX-supply = <&pm8841_s2>; - HSUSB_1p8-supply = <&pm8941_l6>; - HSUSB_3p3-supply = <&pm8941_l24>; - qcom,usb2-enable-hsphy2; - qcom,usb2-power-budget = <500>; - }; - - gdsc_oxili_gx: qcom,gdsc@fd8c4024 { - parent-supply = <&pm8841_s4_corner>; - }; - - qcom,lpass@fe200000 { - compatible = "qcom,pil-q6v5-lpass"; - reg = <0xfe200000 0x00100>, - <0xfd485100 0x00010>, - <0xfc4016c0 0x00004>; - reg-names = "qdsp6_base", "halt_base", "restart_reg"; - vdd_cx-supply = <&pm8841_s2_corner>; - interrupts = <0 162 1>; - - 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>; - - /* GPIO output to lpass */ - qcom,gpio-force-stop = <&smp2pgpio_ssr_smp2p_2_out 0 0>; - }; - - qcom,msm-adsp-loader { - compatible = "qcom,adsp-loader"; - qcom,adsp-state = <0>; - }; - - qcom,msm-audio-ion { - compatible = "qcom,msm-audio-ion"; - }; - - qcom,msm-pcm { - compatible = "qcom,msm-pcm-dsp"; - qcom,msm-pcm-dsp-id = <0>; - }; - - qcom,msm-pcm-low-latency { - compatible = "qcom,msm-pcm-dsp"; - qcom,msm-pcm-dsp-id = <1>; - qcom,msm-pcm-low-latency; - }; - - qcom,msm-pcm-routing { - compatible = "qcom,msm-pcm-routing"; - }; - - qcom,msm-pcm-lpa { - compatible = "qcom,msm-pcm-lpa"; - }; - - qcom,msm-compr-dsp { - compatible = "qcom,msm-compr-dsp"; - }; - - qcom,msm-voip-dsp { - compatible = "qcom,msm-voip-dsp"; - }; - - qcom,msm-pcm-voice { - compatible = "qcom,msm-pcm-voice"; - }; - - qcom,msm-stub-codec { - compatible = "qcom,msm-stub-codec"; - }; - - qcom,msm-dai-fe { - compatible = "qcom,msm-dai-fe"; - }; - - qcom,msm-pcm-afe { - compatible = "qcom,msm-pcm-afe"; - }; - - qcom,msm-dai-q6-hdmi { - compatible = "qcom,msm-dai-q6-hdmi"; - qcom,msm-dai-q6-dev-id = <8>; - }; - - qcom,msm-lsm-client { - compatible = "qcom,msm-lsm-client"; - }; - - qcom,msm-dai-q6 { - compatible = "qcom,msm-dai-q6"; - qcom,msm-dai-q6-sb-0-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <16384>; - }; - - qcom,msm-dai-q6-sb-0-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <16385>; - }; - - qcom,msm-dai-q6-sb-1-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <16386>; - }; - - qcom,msm-dai-q6-sb-1-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <16387>; - }; - - qcom,msm-dai-q6-sb-2-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <16388>; - }; - - qcom,msm-dai-q6-sb-2-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <16389>; - }; - - qcom,msm-dai-q6-sb-3-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <16390>; - }; - - qcom,msm-dai-q6-sb-3-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <16391>; - }; - - qcom,msm-dai-q6-sb-4-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <16392>; - }; - - qcom,msm-dai-q6-sb-4-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <16393>; - }; - - qcom,msm-dai-q6-sb-5-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <16395>; - }; - - qcom,msm-dai-q6-bt-sco-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <12288>; - }; - - qcom,msm-dai-q6-bt-sco-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <12289>; - }; - - qcom,msm-dai-q6-int-fm-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <12292>; - }; - - qcom,msm-dai-q6-int-fm-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <12293>; - }; - - qcom,msm-dai-q6-be-afe-pcm-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <224>; - }; - - qcom,msm-dai-q6-be-afe-pcm-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <225>; - }; - - qcom,msm-dai-q6-afe-proxy-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <241>; - }; - - qcom,msm-dai-q6-afe-proxy-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <240>; - }; - - qcom,msm-dai-q6-incall-record-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <32771>; - }; - - qcom,msm-dai-q6-incall-record-tx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <32772>; - }; - - qcom,msm-dai-q6-incall-music-rx { - compatible = "qcom,msm-dai-q6-dev"; - qcom,msm-dai-q6-dev-id = <32773>; - }; - }; - - qcom,msm-auxpcm { - compatible = "qcom,msm-auxpcm-resource"; - qcom,msm-cpudai-auxpcm-clk = "pcm_clk"; - 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-slot = <1>, <1>; - qcom,msm-cpudai-auxpcm-data = <0>, <0>; - qcom,msm-cpudai-auxpcm-pcm-clk-rate = <2048000>, <2048000>; - - qcom,msm-prim-auxpcm-rx { - qcom,msm-auxpcm-dev-id = <4106>; - compatible = "qcom,msm-auxpcm-dev"; - }; - - qcom,msm-prim-auxpcm-tx { - qcom,msm-auxpcm-dev-id = <4107>; - compatible = "qcom,msm-auxpcm-dev"; - }; - - qcom,msm-sec-auxpcm-rx { - qcom,msm-auxpcm-dev-id = <4108>; - compatible = "qcom,msm-auxpcm-dev"; - }; - - qcom,msm-sec-auxpcm-tx { - qcom,msm-auxpcm-dev-id = <4109>; - compatible = "qcom,msm-auxpcm-dev"; - }; - }; - - qcom,msm-dai-mi2s { - compatible = "qcom,msm-dai-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>; - }; - }; - - qcom,msm-pcm-hostless { - compatible = "qcom,msm-pcm-hostless"; - }; - - qcom,msm-ocmem-audio { - compatible = "qcom,msm-ocmem-audio"; - qcom,msm-bus,name = "audio-ocmem"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <11 604 0 0>, - <11 604 32506 32506>; - }; - - qcom,msm-adsp-sensors { - compatible = "qcom,msm-adsp-sensors"; - qcom,src-id = <11>; - qcom,dst-id = <604>; - qcom,ab = <32505856>; - qcom,ib = <32505856>; - }; - - qcom,mss@fc880000 { - compatible = "qcom,pil-q6v5-mss"; - reg = <0xfc880000 0x100>, - <0xfd485000 0x400>, - <0xfc820000 0x020>, - <0xfc401680 0x004>; - reg-names = "qdsp6_base", "halt_base", "rmb_base", - "restart_reg"; - - interrupts = <0 24 1>; - vdd_mss-supply = <&pm8841_s3>; - vdd_cx-supply = <&pm8841_s2_corner>; - vdd_mx-supply = <&pm8841_s1>; - vdd_pll-supply = <&pm8941_l12>; - qcom,vdd_pll = <1800000>; - qcom,firmware-name = "mba"; - qcom,pil-self-auth; - - /* 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>; - }; - - qcom,pronto@fb21b000 { - compatible = "qcom,pil-pronto"; - reg = <0xfb21b000 0x3000>, - <0xfc401700 0x4>, - <0xfd485300 0xc>; - reg-names = "pmu_base", "clk_base", "halt_base"; - interrupts = <0 149 1>; - vdd_pronto_pll-supply = <&pm8941_l12>; - - qcom,firmware-name = "wcnss"; - - /* GPIO inputs from wcnss */ - qcom,gpio-err-fatal = <&smp2pgpio_ssr_smp2p_4_in 0 0>; - qcom,gpio-err-ready = <&smp2pgpio_ssr_smp2p_4_in 1 0>; - qcom,gpio-proxy-unvote = <&smp2pgpio_ssr_smp2p_4_in 2 0>; - - /* GPIO output to wcnss */ - qcom,gpio-force-stop = <&smp2pgpio_ssr_smp2p_4_out 0 0>; - }; - - qcom,iris-fm { - compatible = "qcom,iris_fm"; - }; - - qcom,wcnss-wlan@fb000000 { - compatible = "qcom,wcnss_wlan"; - reg = <0xfb000000 0x280000>, - <0xf9011008 0x04>; - reg-names = "wcnss_mmio", "wcnss_fiq"; - interrupts = <0 145 0 0 146 0>; - interrupt-names = "wcnss_wlantx_irq", "wcnss_wlanrx_irq"; - - qcom,pronto-vddmx-supply = <&pm8841_s1>; - qcom,pronto-vddcx-supply = <&pm8841_s2>; - qcom,pronto-vddpx-supply = <&pm8941_s3>; - qcom,iris-vddxo-supply = <&pm8941_l6>; - qcom,iris-vddrfa-supply = <&pm8941_l11>; - qcom,iris-vddpa-supply = <&pm8941_l19>; - qcom,iris-vdddig-supply = <&pm8941_l3>; - - gpios = <&msmgpio 36 0>, <&msmgpio 37 0>, <&msmgpio 38 0>, <&msmgpio 39 0>, <&msmgpio 40 0>; - qcom,has-48mhz-xo; - qcom,has-pronto-hw; - }; - - qcom,ocmem@fdd00000 { - compatible = "qcom,msm-ocmem"; - reg = <0xfdd00000 0x2000>, - <0xfdd02000 0x2000>, - <0xfe039000 0x400>, - <0xfec00000 0x180000>; - 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 = <0x3>; - qcom,ocmem-num-macros = <0x18>; - qcom,resource-type = <0x706d636f>; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0x0 0xfec00000 0x180000>; - - partition@0 { - reg = <0x0 0x100000>; - qcom,ocmem-part-name = "graphics"; - qcom,ocmem-part-min = <0x80000>; - }; - - partition@80000 { - reg = <0x100000 0x80000>; - qcom,ocmem-part-name = "lp_audio"; - qcom,ocmem-part-min = <0x80000>; - }; - - partition@100000 { - reg = <0x100000 0x80000>; - qcom,ocmem-part-name = "video"; - qcom,ocmem-part-min = <0x55000>; - }; - - }; - - 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>; - }; - - qseecom: qcom,qseecom@7f00000 { - compatible = "qcom,qseecom"; - reg = <0x7f00000 0x500000>; - reg-names = "secapp-region"; - qcom,disk-encrypt-pipe-pair = <2>; - qcom,hlos-ce-hw-instance = <1>; - 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,msm-bus,vectors-KBps = - <55 512 0 0>, - <55 512 3936000 393600>, - <55 512 3936000 393600>, - <55 512 3936000 393600>; - }; - - qcom,wdt@f9017000 { - compatible = "qcom,msm-watchdog"; - reg = <0xf9017000 0x1000>; - interrupts = <0 3 0>, <0 4 0>; - qcom,bark-time = <11000>; - qcom,pet-time = <10000>; - qcom,ipi-ping; - }; - - qcom,tz-log@fe805720 { - compatible = "qcom,tz-log"; - reg = <0xfe805720 0x1000>; - }; - - qcom,venus@fdce0000 { - compatible = "qcom,pil-venus"; - reg = <0xfdce0000 0x4000>, - <0xfdc80000 0x400>; - reg-names = "wrapper_base", "vbif_base"; - vdd-supply = <&gdsc_venus>; - - qcom,firmware-name = "venus"; - }; - - qcom,cache_erp@f9012000 { - reg = <0xf9012000 0x80>, - <0xf9089000 0x80>, - <0xf9099000 0x80>, - <0xf90a9000 0x80>, - <0xf90b9000 0x80>, - <0xf9088000 0x40>, - <0xf9098000 0x40>, - <0xf90a8000 0x40>, - <0xf90b8000 0x40>; - - reg-names = "l2_saw", - "krait0_saw", - "krait1_saw", - "krait2_saw", - "krait3_saw", - "krait0_acs", - "krait1_acs", - "krait2_acs", - "krait3_acs"; - - compatible = "qcom,cache_erp"; - interrupts = <1 9 0>, <0 2 0>; - interrupt-names = "l1_irq", "l2_irq"; - }; - - qcom,cache_dump { - compatible = "qcom,cache_dump"; - qcom,l1-dump-size = <0x100000>; - qcom,l2-dump-size = <0x500000>; - qcom,memory-reservation-type = "EBI1"; - qcom,memory-reservation-size = <0x600000>; /* 6M EBI1 buffer */ - }; - - tsens: tsens@fc4a8000 { - compatible = "qcom,msm-tsens"; - reg = <0xfc4a8000 0x2000>, - <0xfc4b8000 0x1000>; - reg-names = "tsens_physical", "tsens_eeprom_physical"; - interrupts = <0 184 0>; - qcom,sensors = <11>; - qcom,slope = <3200 3200 3200 3200 3200 3200 3200 3200 3200 - 3200 3200>; - qcom,calib-mode = "fuse_map1"; - }; - - qcom,msm-rtb { - compatible = "qcom,msm-rtb"; - qcom,memory-reservation-type = "EBI1"; - qcom,memory-reservation-size = <0x100000>; /* 1M EBI1 buffer */ - }; - - qcom,msm-contig-mem { - compatible = "qcom,msm-contig-mem"; - qcom,memory-reservation-type = "EBI1"; - qcom,memory-reservation-size = <0x280000>; /* 2.5M EBI1 buffer */ - }; - - qcom,qcedev@fd440000 { - compatible = "qcom,qcedev"; - reg = <0xfd440000 0x20000>, - <0xfd444000 0x8000>; - reg-names = "crypto-base","crypto-bam-base"; - interrupts = <0 236 0>; - qcom,bam-pipe-pair = <1>; - qcom,ce-hw-instance = <1>; - qcom,msm-bus,name = "qcedev-noc"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <56 512 0 0>, - <56 512 3936000 393600>; - }; - - qcom,qcrypto@fd444000 { - compatible = "qcom,qcrypto"; - reg = <0xfd440000 0x20000>, - <0xfd444000 0x8000>; - reg-names = "crypto-base","crypto-bam-base"; - interrupts = <0 236 0>; - qcom,bam-pipe-pair = <2>; - qcom,ce-hw-instance = <1>; - qcom,msm-bus,name = "qcrypto-noc"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <56 512 0 0>, - <56 512 3936000 393600>; - }; - - qcom,usbbam@f9304000 { - compatible = "qcom,usb-bam-msm"; - reg = <0xf9304000 0x5000>, - <0xf9a44000 0x11000>, - <0xf92f880c 0x4>; - reg-names = "ssusb", "hsusb", "qscratch_ram1_reg"; - interrupts = <0 132 0 0 135 0>; - interrupt-names = "ssusb", "hsusb"; - qcom,usb-bam-num-pipes = <16>; - qcom,usb-bam-fifo-baseaddr = <0xf9200000>; - qcom,ignore-core-reset-ack; - qcom,disable-clk-gating; - - qcom,pipe0 { - 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; - }; - - qcom,pipe1 { - label = "hsusb-qdss-in-0"; - qcom,usb-bam-mem-type = <1>; - qcom,bam-type = <1>; - 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 = <0xf9a44000>; - qcom,dst-bam-pipe-index = <2>; - qcom,data-fifo-offset = <0xf4000>; - qcom,data-fifo-size = <0x1000>; - qcom,descriptor-fifo-offset = <0xf5000>; - qcom,descriptor-fifo-size = <0x400>; - }; - }; - - qcom,msm-thermal { - compatible = "qcom,msm-thermal"; - qcom,sensor-id = <5>; - qcom,poll-ms = <250>; - qcom,limit-temp = <60>; - qcom,temp-hysteresis = <10>; - qcom,freq-step = <2>; - qcom,freq-control-mask = <0xf>; - qcom,core-limit-temp = <80>; - qcom,core-temp-hysteresis = <10>; - qcom,core-control-mask = <0xe>; - qcom,vdd-restriction-temp = <5>; - qcom,vdd-restriction-temp-hysteresis = <10>; - qcom,pmic-sw-mode-temp = <85>; - qcom,pmic-sw-mode-temp-hysteresis = <75>; - qcom,pmic-sw-mode-regs = "vdd_dig"; - vdd_dig-supply = <&pm8841_s2_floor_corner>; - vdd_gfx-supply = <&pm8841_s4_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 */ - }; - - qcom,vdd-apps-rstr{ - qcom,vdd-rstr-reg = "vdd_apps"; - qcom,levels = <1881600 1958400 2265600>; - qcom,freq-req; - }; - }; - - qcom,bam_dmux@fc834000 { - compatible = "qcom,bam_dmux"; - reg = <0xfc834000 0x7000>; - interrupts = <0 29 1>; - qcom,rx-ring-size = <64>; - }; - - memory_hole: qcom,msm-mem-hole { - compatible = "qcom,msm-mem-hole"; - qcom,memblock-remove = <0x7f00000 0x8000000>; /* Address and Size of Hole */ - }; - - uart7: uart@f995d000 { /*BLSP #2, UART #7 */ - compatible = "qcom,msm-hsuart-v14"; - status = "disabled"; - reg = <0xf995d000 0x1000>, - <0xf9944000 0x19000>; - reg-names = "core_mem", "bam_mem"; - interrupts = <0 113 0>, <0 239 0>; - interrupt-names = "core_irq", "bam_irq"; - - qcom,bam-tx-ep-pipe-index = <0>; - qcom,bam-rx-ep-pipe-index = <1>; - qcom,msm-bus,name = "uart7"; - 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,smem@fa00000 { - compatible = "qcom,smem"; - reg = <0xfa00000 0x200000>, - <0xf9011000 0x1000>, - <0xfc428000 0x4000>; - reg-names = "smem", "irq-reg-base", "aux-mem1"; - - qcom,smd-modem { - compatible = "qcom,smd"; - qcom,smd-edge = <0>; - qcom,smd-irq-offset = <0x8>; - qcom,smd-irq-bitmask = <0x1000>; - qcom,pil-string = "modem"; - interrupts = <0 25 1>; - }; - - qcom,smsm-modem { - compatible = "qcom,smsm"; - qcom,smsm-edge = <0>; - qcom,smsm-irq-offset = <0x8>; - qcom,smsm-irq-bitmask = <0x2000>; - interrupts = <0 26 1>; - }; - - qcom,smd-adsp { - compatible = "qcom,smd"; - qcom,smd-edge = <1>; - qcom,smd-irq-offset = <0x8>; - qcom,smd-irq-bitmask = <0x100>; - qcom,pil-string = "adsp"; - interrupts = <0 156 1>; - }; - - qcom,smsm-adsp { - compatible = "qcom,smsm"; - qcom,smsm-edge = <1>; - qcom,smsm-irq-offset = <0x8>; - qcom,smsm-irq-bitmask = <0x200>; - interrupts = <0 157 1>; - }; - - qcom,smd-wcnss { - compatible = "qcom,smd"; - qcom,smd-edge = <6>; - qcom,smd-irq-offset = <0x8>; - qcom,smd-irq-bitmask = <0x20000>; - qcom,pil-string = "wcnss"; - interrupts = <0 142 1>; - }; - - qcom,smsm-wcnss { - compatible = "qcom,smsm"; - qcom,smsm-edge = <6>; - qcom,smsm-irq-offset = <0x8>; - qcom,smsm-irq-bitmask = <0x80000>; - interrupts = <0 144 1>; - }; - - qcom,smd-rpm { - compatible = "qcom,smd"; - qcom,smd-edge = <15>; - qcom,smd-irq-offset = <0x8>; - qcom,smd-irq-bitmask = <0x1>; - interrupts = <0 168 1>; - qcom,irq-no-suspend; - }; - }; - - qcom,bcl { - compatible = "qcom,bcl"; - }; - - qcom,ssm { - compatible = "qcom,ssm"; - qcom,channel-name = "SSM_RTR"; - }; - - sfpb_spinlock: qcom,ipc-spinlock@fd484000 { - compatible = "qcom,ipc-spinlock-sfpb"; - reg = <0xfd484000 0x400>; - qcom,num-locks = <8>; - }; - - ldrex_spinlock: qcom,ipc-spinlock@fa00000 { - compatible = "qcom,ipc-spinlock-ldrex"; - reg = <0xfa00000 0x200000>; - status = "disable"; - }; - - cpu-pmu { - compatible = "qcom,krait-pmu"; - qcom,irq-is-percpu; - interrupts = <1 7 0xf00>; - }; - - l2-pmu { - compatible = "qcom,l2-pmu"; - interrupts = <0 1 0>; - }; - - qcom,smdtty { - compatible = "qcom,smdtty"; - - smdtty_apps_fm: qcom,smdtty-apps-fm { - qcom,smdtty-remote = "wcnss"; - qcom,smdtty-port-name = "APPS_FM"; - }; - - smdtty_apps_riva_bt_acl: smdtty-apps-riva-bt-acl { - qcom,smdtty-remote = "wcnss"; - qcom,smdtty-port-name = "APPS_RIVA_BT_ACL"; - }; - - smdtty_apps_riva_bt_cmd: qcom,smdtty-apps-riva-bt-cmd { - qcom,smdtty-remote = "wcnss"; - qcom,smdtty-port-name = "APPS_RIVA_BT_CMD"; - }; - - smdtty_mbalbridge: qcom,smdtty-mbalbridge { - qcom,smdtty-remote = "modem"; - qcom,smdtty-port-name = "MBALBRIDGE"; - }; - - smdtty_apps_riva_ant_cmd: smdtty-apps-riva-ant-cmd { - qcom,smdtty-remote = "wcnss"; - qcom,smdtty-port-name = "APPS_RIVA_ANT_CMD"; - }; - - smdtty_apps_riva_ant_data: smdtty-apps-riva-ant-data { - qcom,smdtty-remote = "wcnss"; - qcom,smdtty-port-name = "APPS_RIVA_ANT_DATA"; - }; - - smdtty_data1: qcom,smdtty-data1 { - qcom,smdtty-remote = "modem"; - qcom,smdtty-port-name = "DATA1"; - }; - - smdtty_data11: qcom,smdtty-data11 { - qcom,smdtty-remote = "modem"; - qcom,smdtty-port-name = "DATA11"; - }; - - smdtty_data21: qcom,smdtty-data21 { - qcom,smdtty-remote = "modem"; - qcom,smdtty-port-name = "DATA21"; - }; - - smdtty_gps_nmea: smdtty-gpsnmea { - qcom,smdtty-remote = "modem"; - qcom,smdtty-port-name = "GPSNMEA"; - }; - - smdtty_loopback: smdtty-loopback { - qcom,smdtty-remote = "modem"; - qcom,smdtty-port-name = "LOOPBACK"; - qcom,smdtty-dev-name = "LOOPBACK_TTY"; - }; - }; -}; - -&gdsc_venus { - qcom,clock-names = "core_clk"; - qcom,skip-logic-collapse; - status = "ok"; -}; - -&gdsc_mdss { - qcom,clock-names = "core_clk", "lut_clk"; - qcom,retain-periph; - status = "ok"; -}; - -&gdsc_jpeg { - qcom,clock-names = "core0_clk", "core1_clk", "core2_clk"; - status = "ok"; -}; - -&gdsc_vfe { - qcom,clock-names = "core0_clk", "core1_clk", "csi0_clk", "csi1_clk", - "cpp_clk"; - status = "ok"; -}; - -&gdsc_oxili_gx { - qcom,clock-names = "core_clk"; - qcom,retain-mem; - qcom,retain-periph; - status = "ok"; -}; - -&gdsc_oxili_cx { - status = "ok"; -}; - -&gdsc_usb_hsic { - status = "ok"; -}; - -/include/ "msm-pm8x41-rpm-regulator.dtsi" -/include/ "msm-pm8841.dtsi" -/include/ "msm-pm8941.dtsi" -/include/ "msm8974-regulator.dtsi" -/include/ "msm8974-clock.dtsi" diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm9625-cdp.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm9625-cdp.dtsi deleted file mode 100644 index 6ddb50b82..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm9625-cdp.dtsi +++ /dev/null @@ -1,100 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/include/ "msm9625-display.dtsi" -/include/ "qpic-panel-ili-qvga.dtsi" - -&soc { - i2c@f9925000 { - charger@57 { - compatible = "summit,smb137c"; - reg = <0x57>; - summit,chg-current-ma = <1500>; - summit,term-current-ma = <50>; - summit,pre-chg-current-ma = <100>; - summit,float-voltage-mv = <4200>; - summit,thresh-voltage-mv = <3000>; - summit,recharge-thresh-mv = <75>; - summit,system-voltage-mv = <4250>; - summit,charging-timeout = <382>; - summit,pre-charge-timeout = <48>; - summit,therm-current-ua = <10>; - summit,temperature-min = <4>; /* 0 C */ - summit,temperature-max = <3>; /* 45 C */ - }; - }; - - wlan0: qca,wlan { - cell-index = <0>; - compatible = "qca,ar6004-hsic"; - qca,chip-pwd-l-gpios = <&msmgpio 62 0>; - qca,pm-enable-gpios = <&pm8019_gpios 3 0x0>; - qca,vdd-io-supply = <&pm8019_l11>; - }; - - qca,wlan_ar6003 { - cell-index = <0>; - compatible = "qca,ar6003-sdio"; - qca,chip-pwd-l-gpios = <&msmgpio 62 0>; - qca,pm-enable-gpios = <&pm8019_gpios 3 0x0>; - qca,vdd-io-supply = <&pm8019_l11>; - }; -}; - -/* PM8019 GPIO and MPP configuration */ -&pm8019_gpios { - gpio@c000 { /* GPIO 1 */ - }; - - gpio@c100 { /* GPIO 2 */ - }; - - gpio@c200 { /* GPIO 3 */ - }; - - gpio@c300 { /* GPIO 4 */ - /* ext_2p95v regulator enable config */ - qcom,mode = <1>; /* Digital output */ - qcom,output-type = <0>; /* CMOS */ - qcom,invert = <0>; /* Output low */ - qcom,out-strength = <1>; /* Low */ - qcom,vin-sel = <2>; /* PM8019 L11 - 1.8V */ - qcom,src-sel = <0>; /* Constant */ - qcom,master-en = <1>; /* Enable GPIO */ - }; - - gpio@c400 { /* GPIO 5 */ - }; - - gpio@c500 { /* GPIO 6 */ - }; -}; - -&pm8019_mpps { - mpp@a000 { /* MPP 1 */ - }; - - mpp@a100 { /* MPP 2 */ - }; - - mpp@a200 { /* MPP 3 */ - }; - - mpp@a300 { /* MPP 4 */ - }; - - mpp@a400 { /* MPP 5 */ - }; - - mpp@a500 { /* MPP 6 */ - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm9625-coresight.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm9625-coresight.dtsi deleted file mode 100644 index 3c00ae8c2..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm9625-coresight.dtsi +++ /dev/null @@ -1,259 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&soc { - tmc_etr: tmc@fc322000 { - compatible = "arm,coresight-tmc"; - reg = <0xfc322000 0x1000>, - <0xfc37c000 0x3000>; - reg-names = "tmc-base", "bam-base"; - - qcom,memory-reservation-type = "EBI1"; - qcom,memory-reservation-size = <0x20000>; /* 128K EBI1 buffer */ - - coresight-id = <0>; - coresight-name = "coresight-tmc-etr"; - coresight-nr-inports = <1>; - coresight-ctis = <&cti0 &cti8>; - }; - - tpiu: tpiu@fc318000 { - compatible = "arm,coresight-tpiu"; - reg = <0xfc318000 0x1000>; - reg-names = "tpiu-base"; - - coresight-id = <1>; - coresight-name = "coresight-tpiu"; - coresight-nr-inports = <1>; - - vdd-supply = <&ext_2p95v>; - }; - - replicator: replicator@fc31c000 { - compatible = "qcom,coresight-replicator"; - reg = <0xfc31c000 0x1000>; - reg-names = "replicator-base"; - - coresight-id = <2>; - coresight-name = "coresight-replicator"; - coresight-nr-inports = <1>; - coresight-outports = <0 1>; - coresight-child-list = <&tmc_etr &tpiu>; - coresight-child-ports = <0 0>; - }; - - tmc_etf: tmc@fc307000 { - compatible = "arm,coresight-tmc"; - reg = <0xfc307000 0x1000>; - reg-names = "tmc-base"; - - coresight-id = <3>; - coresight-name = "coresight-tmc-etf"; - coresight-nr-inports = <1>; - coresight-outports = <0>; - coresight-child-list = <&replicator>; - coresight-child-ports = <0>; - coresight-default-sink; - coresight-ctis = <&cti0 &cti8>; - }; - - funnel_merg: funnel@fc31b000 { - compatible = "arm,coresight-funnel"; - reg = <0xfc31b000 0x1000>; - reg-names = "funnel-base"; - - coresight-id = <4>; - coresight-name = "coresight-funnel-merg"; - coresight-nr-inports = <2>; - coresight-outports = <0>; - coresight-child-list = <&tmc_etf>; - coresight-child-ports = <0>; - }; - - funnel_in0: funnel@fc319000 { - compatible = "arm,coresight-funnel"; - reg = <0xfc319000 0x1000>; - reg-names = "funnel-base"; - - coresight-id = <5>; - coresight-name = "coresight-funnel-in0"; - coresight-nr-inports = <8>; - coresight-outports = <0>; - coresight-child-list = <&funnel_merg>; - coresight-child-ports = <0>; - }; - - funnel_in1: funnel@fc31a000 { - compatible = "arm,coresight-funnel"; - reg = <0xfc31a000 0x1000>; - reg-names = "funnel-base"; - - coresight-id = <6>; - coresight-name = "coresight-funnel-in1"; - coresight-nr-inports = <8>; - coresight-outports = <0>; - coresight-child-list = <&funnel_merg>; - coresight-child-ports = <1>; - }; - - stm: stm@fc321000 { - compatible = "arm,coresight-stm"; - reg = <0xfc321000 0x1000>, - <0xfa280000 0x180000>; - reg-names = "stm-base", "stm-data-base"; - - coresight-id = <7>; - coresight-name = "coresight-stm"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_in1>; - coresight-child-ports = <7>; - }; - - etm0: etm@fc332000 { - compatible = "arm,coresight-etm"; - reg = <0xfc332000 0x1000>; - reg-names = "etm-base"; - - coresight-id = <8>; - coresight-name = "coresight-etm0"; - coresight-nr-inports = <0>; - coresight-outports = <0>; - coresight-child-list = <&funnel_in0>; - coresight-child-ports = <4>; - - qcom,round-robin; - }; - - csr: csr@fc302000 { - compatible = "qcom,coresight-csr"; - reg = <0xfc302000 0x1000>; - reg-names = "csr-base"; - - coresight-id = <9>; - coresight-name = "coresight-csr"; - coresight-nr-inports = <0>; - - qcom,blk-size = <1>; - }; - - cti0: cti@fc308000 { - compatible = "arm,coresight-cti"; - reg = <0xfc308000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <10>; - coresight-name = "coresight-cti0"; - coresight-nr-inports = <0>; - }; - - cti1: cti@fc309000 { - compatible = "arm,coresight-cti"; - reg = <0xfc309000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <11>; - coresight-name = "coresight-cti1"; - coresight-nr-inports = <0>; - }; - - cti2: cti@fc30a000 { - compatible = "arm,coresight-cti"; - reg = <0xfc30a000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <12>; - coresight-name = "coresight-cti2"; - coresight-nr-inports = <0>; - }; - - cti3: cti@fc30b000 { - compatible = "arm,coresight-cti"; - reg = <0xfc30b000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <13>; - coresight-name = "coresight-cti3"; - coresight-nr-inports = <0>; - }; - - cti4: cti@fc30c000 { - compatible = "arm,coresight-cti"; - reg = <0xfc30c000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <14>; - coresight-name = "coresight-cti4"; - coresight-nr-inports = <0>; - }; - - cti5: cti@fc30d000 { - compatible = "arm,coresight-cti"; - reg = <0xfc30d000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <15>; - coresight-name = "coresight-cti5"; - coresight-nr-inports = <0>; - }; - - cti6: cti@fc30e000 { - compatible = "arm,coresight-cti"; - reg = <0xfc30e000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <16>; - coresight-name = "coresight-cti6"; - coresight-nr-inports = <0>; - }; - - cti7: cti@fc30f000 { - compatible = "arm,coresight-cti"; - reg = <0xfc30f000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <17>; - coresight-name = "coresight-cti7"; - coresight-nr-inports = <0>; - }; - - cti8: cti@fc310000 { - compatible = "arm,coresight-cti"; - reg = <0xfc310000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <18>; - coresight-name = "coresight-cti8"; - coresight-nr-inports = <0>; - }; - - cti_cpu: cti@fc333000 { - compatible = "arm,coresight-cti"; - reg = <0xfc333000 0x1000>; - reg-names = "cti-base"; - - coresight-id = <19>; - coresight-name = "coresight-cti-cpu"; - coresight-nr-inports = <0>; - }; - - hwevent: hwevent@f9011038 { - compatible = "qcom,coresight-hwevent"; - reg = <0xf9011038 0x8>, - <0xfd4ab160 0x80>; - reg-names = "apcs-mux", "ppss-mux"; - - coresight-id = <20>; - coresight-name = "coresight-hwevent"; - coresight-nr-inports = <0>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm9625-display.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm9625-display.dtsi deleted file mode 100644 index 287a63aef..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm9625-display.dtsi +++ /dev/null @@ -1,20 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -&soc { - qcom,msm_qpic@f9ac0000 { - compatible = "qcom,mdss_qpic"; - reg = <0xf9ac0000 0x24000>; - reg-names = "qpic_base"; - interrupts = <0 251 0>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm9625-ion.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm9625-ion.dtsi deleted file mode 100644 index 6f9bb535d..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm9625-ion.dtsi +++ /dev/null @@ -1,35 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&soc { - qcom,ion { - compatible = "qcom,msm-ion"; - #address-cells = <1>; - #size-cells = <0>; - - qcom,ion-heap@30 { /* SYSTEM HEAP */ - reg = <30>; - }; - - qcom,ion-heap@25 { /* IOMMU HEAP */ - reg = <25>; - }; - - qcom,ion-heap@28 { /* AUDIO HEAP */ - compatible = "qcom,msm-ion-reserve"; - reg = <28>; - qcom,heap-align = <0x1000>; - qcom,memory-reservation-type = "EBI1"; /* reserve EBI memory */ - qcom,memory-reservation-size = <0xE9000>; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm9625-mtp.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm9625-mtp.dtsi deleted file mode 100755 index da183fa17..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm9625-mtp.dtsi +++ /dev/null @@ -1,138 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&soc { - i2c@f9925000 { - qcom_ssd1306@3C { - compatible = "qcom,ssd1306"; - reg = <0x3C>; - }; - }; - - oled { - compatible = "tp,oled_pt"; - qcom,oled_ssd1306 { - compatible = "qcom,oled_ssd1306_pt"; - qcom,oled-cs-gpio = <&msmgpio 4 0>; - qcom,oled-a0-gpio = <&msmgpio 5 0>; - qcom,oled-res-gpio = <&msmgpio 6 0>; - qcom,oled-boost-en-gpio = <&msmgpio 7 0>; - }; - }; - - wlan0: qca,wlan { - cell-index = <0>; - compatible = "qca,ar6004-hsic"; - qca,chip-pwd-l-gpios = <&msmgpio 62 0>; - qca,pm-enable-gpios = <&pm8019_gpios 3 0x0>; - qca,vdd-io-supply = <&pm8019_l11>; - }; - - qca,wlan_ar6003 { - cell-index = <0>; - compatible = "qca,ar6003-sdio"; - qca,chip-pwd-l-gpios = <&msmgpio 62 0>; - qca,pm-enable-gpios = <&pm8019_gpios 3 0x0>; - qca,vdd-io-supply = <&pm8019_l11>; - }; - - mp2617 { - cell-index = <0>; - compatible = "mps,mp2617"; - mps,chg-current-ma = <1000>; - mps,chg-vbat-div = <3>; /* Divided by 3 before input */ - mps,chg-en-gpio = <&msmgpio 13 0>; /* refer to board-9625-gpiomux.c */ - mps,chg-ok-gpio = <&msmgpio 70 0>; - mps,chg-m0-gpio = <&msmgpio 16 0>; - mps,chg-m1-gpio = <&msmgpio 17 0>; - - /* The following is for power bank */ - mps,chg-det-resistor = <100>; /* 100m Ohm */ - mps,chg-batt-resistor = <120>; /* 120m Ohm */ - mps,chg-boost-en-gpio = <&msmgpio 14 0>; - }; -}; - -/* PM8019 GPIO and MPP configuration */ -&pm8019_gpios { - gpio@c000 { /* GPIO 1 */ - }; - - gpio@c100 { /* GPIO 2 */ - }; - - gpio@c200 { /* GPIO 3 */ - }; - - gpio@c300 { /* GPIO 4 */ - /* ext_2p95v regulator enable config */ - qcom,mode = <1>; /* Digital output */ - qcom,output-type = <0>; /* CMOS */ - qcom,invert = <0>; /* Output low */ - qcom,out-strength = <1>; /* Low */ - qcom,vin-sel = <2>; /* PM8019 L11 - 1.8V */ - qcom,src-sel = <0>; /* Constant */ - qcom,master-en = <1>; /* Enable GPIO */ - }; - - gpio@c400 { /* GPIO 5 */ - }; - - gpio@c500 { /* GPIO 6 */ - }; -}; - -&pm8019_mpps { - /* [linyunfeng] Detect voltage on resistor*/ - mpp@a000 { /* MPP 1 */ - /* channel 16 */ - qcom,mode = <4>; - qcom,ain-route = <0>; /* AMUX 5 */ - qcom,master-en = <1>; - qcom,src-sel = <0>; /* Function constant */ - qcom,invert = <1>; - }; - - /* [linyunfeng] Detect battery voltage */ - mpp@a100 { /* MPP 2 */ - /* channel 17 */ - qcom,mode = <4>; - qcom,ain-route = <1>; /* AMUX 6 */ - qcom,master-en = <1>; - qcom,src-sel = <0>; /* Function constant */ - qcom,invert = <1>; - }; - - mpp@a200 { /* MPP 3 */ - }; - - mpp@a300 { /* MPP 4 */ - /* VADC channel 19 */ - qcom,mode = <4>; - qcom,ain-route = <3>; /* AMUX 8 */ - qcom,master-en = <1>; - qcom,src-sel = <0>; /* Function constant */ - qcom,invert = <1>; - }; - - mpp@a400 { /* MPP 5 */ - }; - - mpp@a500 { /* MPP 6 */ - /* channel 21 */ - qcom,mode = <4>; - qcom,ain-route = <1>; /* AMUX 6 */ - qcom,master-en = <1>; - qcom,src-sel = <0>; /* Function constant */ - qcom,invert = <1>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm9625-pm.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm9625-pm.dtsi deleted file mode 100644 index 673b64053..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm9625-pm.dtsi +++ /dev/null @@ -1,299 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/include/ "skeleton.dtsi" - -&soc { - qcom,spm@f9009000 { - compatible = "qcom,spm-v2"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xf9009000 0x1000>; - qcom,core-id = <0>; - qcom,saw2-ver-reg = <0xfd0>; - qcom,saw2-cfg = <0x101>; - qcom,saw2-spm-dly= <0>; - qcom,saw2-spm-ctl = <0x1>; - qcom,saw2-spm-cmd-wfi = [04 03 04 0f]; - qcom,saw2-spm-cmd-spc = [34 04 44 14 24 54 03 54 44 14 04 24 - 3e 0f]; - qcom,saw2-spm-cmd-pc = [34 04 44 14 24 54 07 54 44 14 04 24 - 3e 0f]; - }; - - qcom,lpm-resources { - compatible = "qcom,lpm-resources"; - #address-cells = <1>; - #size-cells = <0>; - - qcom,lpm-resources@0 { - reg = <0x0>; - qcom,name = "vdd-dig"; - qcom,type = <0x616F646C>; /* "ldoa" */ - qcom,id = <0x0A>; - qcom,key = <0x6e726f63>; /* "corn" */ - qcom,init-value = <5>; /* Super Turbo */ - }; - - qcom,lpm-resources@1 { - reg = <0x1>; - qcom,name = "vdd-mem"; - qcom,type = <0x616F646C>; /* "ldoa" */ - qcom,id = <0x0C>; - qcom,key = <0x7675>; /* "uv" */ - qcom,init-value = <1050000>; /* Super Turbo */ - }; - - qcom,lpm-resources@2 { - reg = <0x2>; - qcom,name = "pxo"; - qcom,type = <0x306b6c63>; /* "clk0" */ - qcom,id = <0x00>; - qcom,key = <0x62616e45>; /* "Enab" */ - qcom,init-value = "xo_on"; - }; - }; - - qcom,lpm-levels { - compatible = "qcom,lpm-levels"; - #address-cells = <1>; - #size-cells = <0>; - - qcom,use-qtimer; - - qcom,lpm-level@0 { - reg = <0x0>; - qcom,mode = "wfi"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_active"; - qcom,vdd-mem-upper-bound = <1050000>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <950000>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <100>; - qcom,ss-power = <8000>; - qcom,energy-overhead = <100000>; - qcom,time-overhead = <1>; - }; - - qcom,lpm-level@1 { - reg = <0x1>; - qcom,mode = "standalone_pc"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_active"; - qcom,vdd-mem-upper-bound = <1050000>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <950000>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <2000>; - qcom,ss-power = <5000>; - qcom,energy-overhead = <60100000>; - qcom,time-overhead = <3000>; - }; - - qcom,lpm-level@2 { - reg = <0x2>; - qcom,mode = "pc"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_gdhs"; - qcom,vdd-mem-upper-bound = <1050000>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <950000>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <3500>; - qcom,ss-power = <5000>; - qcom,energy-overhead = <60350000>; - qcom,time-overhead = <6300>; - }; - - qcom,lpm-level@3 { - reg = <0x3>; - qcom,mode = "pc"; - qcom,xo = "xo_on"; - qcom,l2 = "l2_cache_pc"; - qcom,vdd-mem-upper-bound = <1050000>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <950000>; /* SVS SOC */ - qcom,vdd-dig-upper-bound = <4>; /* NORMAL */ - qcom,vdd-dig-lower-bound = <3>; /* SVS SOC */ - qcom,irqs-detectable; - qcom,gpio-detectable; - qcom,latency-us = <4500>; - qcom,ss-power = <5000>; - qcom,energy-overhead = <60350000>; - qcom,time-overhead = <7300>; - }; - - qcom,lpm-level@4 { - reg = <0x4>; - qcom,mode = "pc"; - qcom,xo = "xo_off"; - qcom,l2 = "l2_cache_pc"; - qcom,vdd-mem-upper-bound = <1050000>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <950000>; /* NORMAL */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ - qcom,irqs-detectable; - qcom,latency-us = <6800>; - qcom,ss-power = <2000>; - qcom,energy-overhead = <71850000>; - qcom,time-overhead = <13300>; - }; - - qcom,lpm-level@5 { - reg = <0x5>; - qcom,mode = "pc"; - qcom,xo = "xo_off"; - qcom,l2 = "l2_cache_pc"; - qcom,vdd-mem-upper-bound = <1050000>; /* SUPER TURBO */ - qcom,vdd-mem-lower-bound = <950000>; /* SVS SOC */ - qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ - qcom,vdd-dig-lower-bound = <3>; /* SVS SOC */ - qcom,irqs-detectable; - qcom,latency-us = <8000>; - qcom,ss-power = <1800>; - qcom,energy-overhead = <71950000>; - qcom,time-overhead = <15300>; - }; - - qcom,lpm-level@6 { - reg = <0x6>; - qcom,mode = "pc"; - qcom,xo = "xo_off"; - qcom,l2 = "l2_cache_pc"; - qcom,vdd-mem-upper-bound = <950000>; /* SVS SOC */ - qcom,vdd-mem-lower-bound = <675000>; /* RETENTION */ - qcom,vdd-dig-upper-bound = <3>; /* SVS SOC */ - qcom,vdd-dig-lower-bound = <1>; /* RETENTION */ - qcom,latency-us = <9800>; - qcom,ss-power = <0>; - qcom,energy-overhead = <76350000>; - qcom,time-overhead = <28300>; - }; - }; - - qcom,pm-boot { - compatible = "qcom,pm-boot"; - qcom,mode = "tz"; - }; - - qcom,mpm@fc4281d0 { - compatible = "qcom,mpm-v2"; - reg = <0xfc4281d0 0x1000>, /* MSM_RPM_MPM_BASE 4K */ - <0xf9011008 0x4>; /* MSM_APCS_GCC_BASE 4K */ - reg-names = "vmpm", "ipc"; - interrupts = <0 171 1>; - - qcom,ipc-bit-offset = <1>; - - qcom,gic-parent = <&intc>; - qcom,gic-map = <2 216>, /* tsens_upper_lower_int */ - <47 172>, /* usb2_hsic_async_wakeup_irq */ - <41 180>, /* usb_async_wakeup_irq */ - <62 222>, /* ee0_krait_hlos_spmi_periph_irq */ - <0xff 57>, /* mss_to_apps_irq(0) */ - <0xff 58>, /* mss_to_apps_irq(1) */ - <0xff 59>, /* mss_to_apps_irq(2) */ - <0xff 60>, /* mss_to_apps_irq(3) */ - <0xff 173>, /* o_wcss_apss_smd_hi */ - <0xff 174>, /* o_wcss_apss_smd_med */ - <0xff 175>, /* o_wcss_apss_smd_lo */ - <0xff 176>, /* o_wcss_apss_smsm_irq */ - <0xff 177>, /* o_wcss_apss_wlan_data_xfer_done */ - <0xff 178>, /* o_wcss_apss_wlan_rx_data_avail */ - <0xff 179>, /* o_wcss_apss_asic_intr */ - <0xff 188>, /* q6ss_irq_out(4) */ - <0xff 189>, /* q6ss_irq_out(5) */ - <0xff 190>, /* q6ss_irq_out(6) */ - <0xff 191>, /* q6ss_irq_out(7) */ - <0xff 192>, /* audio_out0_irq */ - <0xff 193>, /* midi_arm_irq */ - <0xff 194>, /* q6ss_wdog_exp_irq */ - <0xff 195>, /* slimbus_core_ee1_irq */ - <0xff 196>, /* bam_irq(1) */ - <0xff 197>, /* qdss_irq_out(7) */ - <0xff 200>, /* rpm_ipc(4) */ - <0xff 201>, /* rpm_ipc(5) */ - <0xff 202>, /* rpm_ipc(6) */ - <0xff 203>, /* rpm_ipc(7) */ - <0xff 204>, /* rpm_ipc(24) */ - <0xff 205>, /* rpm_ipc(25) */ - <0xff 206>, /* rpm_ipc(26) */ - <0xff 207>, /* rpm_ipc(27) */ - <0xff 240>; /* summary_irq_kpss */ - - qcom,gpio-parent = <&msmgpio>; - qcom,gpio-map = <4 0>, - <5 1>, - <6 2>, - <7 3>, - <8 4>, - <9 5>, - <10 6>, - <11 7>, - <12 8>, - <13 9>, - <14 10>, - <15 11>, - <16 12>, - <17 13>, - <18 14>, - <19 15>, - <20 16>, - <21 17>, - <22 18>, - <23 19>, - <24 20>, - <25 21>, - <26 24>, - <27 25>, - <28 51>, - <29 61>, - <30 62>, - <31 63>, - <32 64>, - <33 65>, - <34 66>, - <35 67>, - <36 69>, - <37 71>; - }; - - qcom,pm-8x60 { - compatible = "qcom,pm-8x60"; - qcom,pc-mode = "tz_l2_ext"; - qcom,use-sync-timer; - }; - - qcom,rpm-log@fc19dc00 { - compatible = "qcom,rpm-log"; - reg = <0xfc19dc00 0x4000>; - qcom,rpm-addr-phys = <0xfc000000>; - qcom,offset-version = <4>; - qcom,offset-page-buffer-addr = <36>; - qcom,offset-log-len = <40>; - qcom,offset-log-len-mask = <44>; - qcom,offset-page-indices = <56>; - }; - - qcom,rpm-stats@fc19dba0 { - compatible = "qcom,rpm-stats"; - reg = <0xfc19dba0 0x1000>; - reg-names = "phys_addr_base"; - qcom,sleep-stats-version = <2>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm9625-regulator.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm9625-regulator.dtsi deleted file mode 100644 index eb56d1c6a..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm9625-regulator.dtsi +++ /dev/null @@ -1,284 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -&rpm_bus { - rpm-regulator-smpa1 { - status = "okay"; - pm8019_s1: regulator-s1 { - regulator-min-microvolt = <800000>; - regulator-max-microvolt = <1050000>; - qcom,init-voltage = <1050000>; - status = "okay"; - }; - }; - - rpm-regulator-smpa2 { - status = "okay"; - pm8019_s2: regulator-s2 { - regulator-min-microvolt = <1250000>; - regulator-max-microvolt = <1250000>; - qcom,init-voltage = <1250000>; - qcom,init-current = <100>; - qcom,system-load = <100000>; - regulator-always-on; - status = "okay"; - }; - }; - - rpm-regulator-smpa3 { - status = "okay"; - pm8019_s3: regulator-s3 { - regulator-min-microvolt = <1000000>; - regulator-max-microvolt = <1100000>; - qcom,init-voltage = <1100000>; - qcom,init-current = <100>; - qcom,system-load = <100000>; - regulator-always-on; - status = "okay"; - }; - pm8019_s3_ao: regulator-s3-ao { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8019_s3_ao"; - qcom,set = <1>; - regulator-min-microvolt = <1000000>; - regulator-max-microvolt = <1100000>; - status = "okay"; - }; - }; - - rpm-regulator-smpa4 { - status = "okay"; - pm8019_s4: regulator-s4 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <2075000>; - qcom,init-voltage = <2075000>; - qcom,init-current = <100>; - qcom,system-load = <100000>; - regulator-always-on; - status = "okay"; - }; - }; - - rpm-regulator-ldoa1 { - status = "okay"; - pm8019_l1: regulator-l1 { - parent-supply = <&pm8019_s2>; - regulator-min-microvolt = <1225000>; - regulator-max-microvolt = <1225000>; - qcom,init-voltage = <1225000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa2 { - status = "okay"; - pm8019_l2: regulator-l2 { - parent-supply = <&pm8019_s4>; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa3 { - status = "okay"; - pm8019_l3: regulator-l3 { - parent-supply = <&pm8019_s4>; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa4 { - status = "okay"; - pm8019_l4: regulator-l4 { - regulator-min-microvolt = <3075000>; - regulator-max-microvolt = <3075000>; - qcom,init-voltage = <3075000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa5 { - status = "okay"; - pm8019_l5: regulator-l5 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <2850000>; - qcom,init-voltage = <1800000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa6 { - status = "okay"; - pm8019_l6: regulator-l6 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <2850000>; - qcom,init-voltage = <1800000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa7 { - status = "okay"; - pm8019_l7: regulator-l7 { - parent-supply = <&pm8019_s4>; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa8 { - status = "okay"; - pm8019_l8: regulator-l8 { - parent-supply = <&pm8019_s4>; - regulator-min-microvolt = <2050000>; - regulator-max-microvolt = <2050000>; - qcom,init-voltage = <2050000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa9 { - status = "okay"; - pm8019_l9: regulator-l9 { - parent-supply = <&pm8019_s2>; - regulator-min-microvolt = <1200000>; - regulator-max-microvolt = <1200000>; - qcom,init-voltage = <1200000>; - qcom,init-current = <10>; - qcom,system-load = <10000>; - regulator-always-on; - status = "okay"; - }; - }; - - rpm-regulator-ldoa10 { - status = "okay"; - pm8019_l10: regulator-l10 { - parent-supply = <&pm8019_s3>; - regulator-min-microvolt = <500000>; - regulator-max-microvolt = <1050000>; - status = "okay"; - }; - pm8019_l10_corner: regulator-l10-corner { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8019_l10_corner"; - qcom,set = <3>; - regulator-min-microvolt = <1>; - regulator-max-microvolt = <7>; - qcom,use-voltage-corner; - status = "okay"; - qcom,consumer-supplies = "vdd_dig", ""; - }; - pm8019_l10_corner_ao: regulator-l10-corner-ao { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8019_l10_corner_ao"; - qcom,set = <1>; - regulator-min-microvolt = <1>; - regulator-max-microvolt = <7>; - qcom,use-voltage-corner; - status = "okay"; - }; - pm8019_l10_floor_corner: regulator-l10-floor-corner { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8019_l10_floor_corner"; - qcom,set = <3>; - regulator-min-microvolt = <1>; - regulator-max-microvolt = <7>; - qcom,use-voltage-floor-corner; - qcom,always-send-voltage; - }; - }; - - rpm-regulator-ldoa11 { - status = "okay"; - pm8019_l11: regulator-l11 { - parent-supply = <&pm8019_s4>; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - qcom,init-current = <10>; - qcom,system-load = <10000>; - regulator-always-on; - status = "okay"; - }; - }; - - rpm-regulator-ldoa12 { - status = "okay"; - pm8019_l12: regulator-l12 { - parent-supply = <&pm8019_s3>; - regulator-min-microvolt = <675000>; - regulator-max-microvolt = <1050000>; - status = "okay"; - }; - pm8019_l12_ao: regulator-l12-ao { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8019_l12_ao"; - qcom,set = <1>; - parent-supply = <&pm8019_s3_ao>; - regulator-min-microvolt = <675000>; - regulator-max-microvolt = <1050000>; - status = "okay"; - }; - pm8019_l12_so: regulator-l12-so { - compatible = "qcom,rpm-regulator-smd"; - regulator-name = "8019_l12_so"; - qcom,set = <2>; - parent-supply = <&pm8019_s3>; - regulator-min-microvolt = <675000>; - regulator-max-microvolt = <1050000>; - qcom,init-voltage = <675000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa13 { - status = "okay"; - pm8019_l13: regulator-l13 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <2950000>; - qcom,init-voltage = <2950000>; - status = "okay"; - }; - }; - - rpm-regulator-ldoa14 { - status = "okay"; - pm8019_l14: regulator-l14 { - regulator-min-microvolt = <2700000>; - regulator-max-microvolt = <2700000>; - qcom,init-voltage = <2700000>; - status = "okay"; - }; - }; -}; - -&soc { - ext_2p95v: regulator-isl80101 { - compatible = "regulator-fixed"; - regulator-name = "ext_2p95v"; - gpio = <&pm8019_gpios 4 0>; - enable-active-high; - }; - - usb_vbus: regulator-usb-vbus { - compatible = "regulator-fixed"; - regulator-name = "usb_vbus"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm9625-smp2p.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm9625-smp2p.dtsi deleted file mode 100644 index f8ad351a4..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm9625-smp2p.dtsi +++ /dev/null @@ -1,142 +0,0 @@ -/* Copyright (c) 2013, 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. - */ -&soc { - qcom,smp2p-modem { - compatible = "qcom,smp2p"; - reg = <0xf9011008 0x4>; - qcom,remote-pid = <1>; - qcom,irq-bitmask = <0x4000>; - interrupts = <0 27 1>; - }; - - qcom,smp2p-adsp { - compatible = "qcom,smp2p"; - reg = <0xf9011008 0x4>; - qcom,remote-pid = <2>; - qcom,irq-bitmask = <0x400>; - interrupts = <0 158 1>; - }; - - smp2pgpio_smp2p_7_in: qcom,smp2pgpio-smp2p-7-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <7>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_7_in { - compatible = "qcom,smp2pgpio_test_smp2p_7_in"; - gpios = <&smp2pgpio_smp2p_7_in 0 0>; - }; - - smp2pgpio_smp2p_7_out: qcom,smp2pgpio-smp2p-7-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <7>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_7_out { - compatible = "qcom,smp2pgpio_test_smp2p_7_out"; - gpios = <&smp2pgpio_smp2p_7_out 0 0>; - }; - - smp2pgpio_smp2p_1_in: qcom,smp2pgpio-smp2p-1-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <1>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_1_in { - compatible = "qcom,smp2pgpio_test_smp2p_1_in"; - gpios = <&smp2pgpio_smp2p_1_in 0 0>; - }; - - smp2pgpio_smp2p_1_out: qcom,smp2pgpio-smp2p-1-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <1>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_1_out { - compatible = "qcom,smp2pgpio_test_smp2p_1_out"; - gpios = <&smp2pgpio_smp2p_1_out 0 0>; - }; - - smp2pgpio_ssr_smp2p_1_in: qcom,smp2pgpio-ssr-smp2p-1-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "slave-kernel"; - qcom,remote-pid = <1>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - smp2pgpio_ssr_smp2p_1_out: qcom,smp2pgpio-ssr-smp2p-1-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "master-kernel"; - qcom,remote-pid = <1>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - smp2pgpio_smp2p_2_in: qcom,smp2pgpio-smp2p-2-in { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <2>; - qcom,is-inbound; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_2_in { - compatible = "qcom,smp2pgpio_test_smp2p_2_in"; - gpios = <&smp2pgpio_smp2p_2_in 0 0>; - }; - - smp2pgpio_smp2p_2_out: qcom,smp2pgpio-smp2p-2-out { - compatible = "qcom,smp2pgpio"; - qcom,entry-name = "smp2p"; - qcom,remote-pid = <2>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - qcom,smp2pgpio_test_smp2p_2_out { - compatible = "qcom,smp2pgpio_test_smp2p_2_out"; - gpios = <&smp2pgpio_smp2p_2_out 0 0>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm9625-v1-cdp.dts b/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm9625-v1-cdp.dts deleted file mode 100644 index d7537eb35..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm9625-v1-cdp.dts +++ /dev/null @@ -1,24 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/dts-v1/; - -/include/ "msm9625-v1.dtsi" -/include/ "msm9625-cdp.dtsi" - -/ { - model = "Qualcomm MSM 9625V1 CDP"; - compatible = "qcom,msm9625-cdp", "qcom,msm9625", "qcom,cdp"; - qcom,msm-id = <134 1 0>, <152 1 0>, <149 1 0>, <150 1 0>, - <151 1 0>, <148 1 0>, <173 1 0>, <174 1 0>, - <175 1 0>; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm9625-v1-mtp.dts b/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm9625-v1-mtp.dts deleted file mode 100644 index a70ec1aa7..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm9625-v1-mtp.dts +++ /dev/null @@ -1,24 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/dts-v1/; - -/include/ "msm9625-v1.dtsi" -/include/ "msm9625-mtp.dtsi" - -/ { - model = "Qualcomm MSM 9625V1 MTP"; - compatible = "qcom,msm9625-mtp", "qcom,msm9625", "qcom,mtp"; - qcom,msm-id = <134 7 0>, <152 7 0>, <149 7 0>, <150 7 0>, - <151 7 0>, <148 7 0>, <173 7 0>, <174 7 0>, - <175 7 0>; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm9625-v1-rumi.dts b/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm9625-v1-rumi.dts deleted file mode 100644 index ef0068143..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm9625-v1-rumi.dts +++ /dev/null @@ -1,26 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/dts-v1/; - -/include/ "msm9625-v1.dtsi" - -/ { - model = "Qualcomm MSM 9625V1 RUMI"; - compatible = "qcom,msm9625-rumi", "qcom,msm9625", "qcom,rumi"; - qcom,msm-id = <134 15 0>; - - chosen{ - bootargs = "root=/dev/ram rw init=/init console=ttyHSL0,115200n8 initrd=0x00000000,0x00000000 mem=29M@0x00200000 mem=10M@0x07600000"; - - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm9625-v1.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm9625-v1.dtsi deleted file mode 100644 index b238ba549..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm9625-v1.dtsi +++ /dev/null @@ -1,67 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/* - * As a general rule, only version-specific property overrides should be placed - * inside this file. However, device definitions should be placed inside the - * msm9625.dtsi file. - */ - -/include/ "msm9625.dtsi" - -&soc { - qcom,msm-imem@fc42a800 { - compatible = "qcom,msm-imem"; - reg = <0xfc42a800 0x1000>; /* Address and size of IMEM */ - }; - - android_usb@fc42a8c8 { - compatible = "qcom,android-usb"; - reg = <0xfc42a8c8 0xc8>; - qcom,android-usb-swfi-latency = <100>; - }; - - qcom,bam_dmux@fc834000 { - compatible = "qcom,bam_dmux"; - reg = <0xfc834000 0x7000>; - interrupts = <0 29 1>; - }; -}; - -&hsic_host { - qcom,disable-park-mode; -}; - -&ipa_hw { - qcom,ipa-hw-ver = <1>; /* IPA h-w revision */ -}; - -/* CoreSight */ -&tmc_etr { - qcom,reset-flush-race; -}; - -&stm { - qcom,write-64bit; -}; - -&sfpb_spinlock { - status = "disable"; -}; - -&ldrex_spinlock { - status = "ok"; -}; - -&hsic_host { - qcom,phy-sof-workaround; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm9625-v2-cdp.dts b/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm9625-v2-cdp.dts deleted file mode 100644 index 9fbe5ec8a..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm9625-v2-cdp.dts +++ /dev/null @@ -1,24 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; - -/include/ "msm9625-v2.dtsi" -/include/ "msm9625-cdp.dtsi" - -/ { - model = "Qualcomm MSM 9625V2 CDP"; - compatible = "qcom,msm9625-cdp", "qcom,msm9625", "qcom,cdp"; - qcom,msm-id = <134 1 0x20000>, <152 1 0x20000>, <149 1 0x20000>, - <150 1 0x20000>, <151 1 0x20000>, <148 1 0x20000>, - <173 1 0x20000>, <174 1 0x20000>, <175 1 0x20000>; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm9625-v2-mtp.dts b/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm9625-v2-mtp.dts deleted file mode 100644 index 27d00664a..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm9625-v2-mtp.dts +++ /dev/null @@ -1,122 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; - -/include/ "msm9625-v2.dtsi" -/include/ "msm9625-mtp.dtsi" - -/ { - model = "Qualcomm MSM 9625V2 MTP"; - compatible = "qcom,msm9625-mtp", "qcom,msm9625", "qcom,mtp"; - qcom,msm-id = <134 7 0x20000>, <152 7 0x20000>, <149 7 0x20000>, - <150 7 0x20000>, <151 7 0x20000>, <148 7 0x20000>, - <173 7 0x20000>, <174 7 0x20000>, <175 7 0x20000>; -}; - -&soc { - i2c@f9925000 { - charger@57 { - compatible = "summit,smb137c"; - reg = <0x57>; - summit,chg-current-ma = <1500>; - summit,term-current-ma = <50>; - summit,pre-chg-current-ma = <100>; - summit,float-voltage-mv = <4200>; - summit,thresh-voltage-mv = <3000>; - summit,recharge-thresh-mv = <75>; - summit,system-voltage-mv = <4250>; - summit,charging-timeout = <382>; - summit,pre-charge-timeout = <48>; - summit,therm-current-ua = <10>; - summit,temperature-min = <4>; /* 0 C */ - summit,temperature-max = <3>; /* 45 C */ - }; - }; - - wlan0: qca,wlan { - cell-index = <0>; - compatible = "qca,ar6004-hsic"; - qca,chip-pwd-l-gpios = <&msmgpio 62 0>; - qca,pm-enable-gpios = <&pm8019_gpios 3 0x0>; - qca,vdd-io-supply = <&pm8019_l11>; - }; - - qca,wlan_ar6003 { - cell-index = <0>; - compatible = "qca,ar6003-sdio"; - qca,chip-pwd-l-gpios = <&msmgpio 62 0>; - qca,pm-enable-gpios = <&pm8019_gpios 3 0x0>; - qca,vdd-io-supply = <&pm8019_l11>; - }; -}; - -/* PM8019 GPIO and MPP configuration */ -&pm8019_gpios { - gpio@c000 { /* GPIO 1 */ - }; - - gpio@c100 { /* GPIO 2 */ - }; - - gpio@c200 { /* GPIO 3 */ - }; - - gpio@c300 { /* GPIO 4 */ - /* ext_2p95v regulator enable config */ - qcom,mode = <1>; /* Digital output */ - qcom,output-type = <0>; /* CMOS */ - qcom,invert = <0>; /* Output low */ - qcom,out-strength = <1>; /* Low */ - qcom,vin-sel = <2>; /* PM8019 L11 - 1.8V */ - qcom,src-sel = <0>; /* Constant */ - qcom,master-en = <1>; /* Enable GPIO */ - }; - - gpio@c400 { /* GPIO 5 */ - }; - - gpio@c500 { /* GPIO 6 */ - }; -}; - -&pm8019_mpps { - mpp@a000 { /* MPP 1 */ - }; - - mpp@a100 { /* MPP 2 */ - }; - - mpp@a200 { /* MPP 3 */ - }; - - mpp@a300 { /* MPP 4 */ - /* VADC channel 19 */ - qcom,mode = <4>; - qcom,ain-route = <3>; /* AMUX 8 */ - qcom,master-en = <1>; - qcom,src-sel = <0>; /* Function constant */ - qcom,invert = <1>; - }; - - mpp@a400 { /* MPP 5 */ - }; - - mpp@a500 { /* MPP 6 */ - /* channel 21 */ - qcom,mode = <4>; - qcom,ain-route = <1>; /* AMUX 6 */ - qcom,master-en = <1>; - qcom,src-sel = <0>; /* Function constant */ - qcom,invert = <1>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm9625-v2.1-cdp.dts b/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm9625-v2.1-cdp.dts deleted file mode 100644 index b64359381..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm9625-v2.1-cdp.dts +++ /dev/null @@ -1,24 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; - -/include/ "msm9625-v2.1.dtsi" -/include/ "msm9625-cdp.dtsi" - -/ { - model = "Qualcomm MSM 9625V2.1 CDP"; - compatible = "qcom,msm9625-cdp", "qcom,msm9625", "qcom,cdp"; - qcom,msm-id = <134 1 0x20001>, <152 1 0x20001>, <149 1 0x20001>, - <150 1 0x20001>, <151 1 0x20001>, <148 1 0x20001>, - <173 1 0x20001>, <174 1 0x20001>, <175 1 0x20001>; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm9625-v2.1-mtp.dts b/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm9625-v2.1-mtp.dts deleted file mode 100644 index 8bbcc0d55..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm9625-v2.1-mtp.dts +++ /dev/null @@ -1,24 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; - -/include/ "msm9625-v2.1.dtsi" -/include/ "msm9625-mtp.dtsi" - -/ { - model = "Qualcomm MSM 9625V2.1 MTP"; - compatible = "qcom,msm9625-mtp", "qcom,msm9625", "qcom,mtp"; - qcom,msm-id = <134 7 0x20001>, <152 7 0x20001>, <149 7 0x20001>, - <150 7 0x20001>, <151 7 0x20001>, <148 7 0x20001>, - <173 7 0x20001>, <174 7 0x20001>, <175 7 0x20001>; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm9625-v2.1.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm9625-v2.1.dtsi deleted file mode 100644 index 07548f949..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm9625-v2.1.dtsi +++ /dev/null @@ -1,41 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/* - * As a general rule, only version-specific property overrides should be placed - * inside this file. However, device definitions should be placed inside the - * msm9625.dtsi file. - */ - -/include/ "msm9625.dtsi" - -&soc { - qcom,msm-imem@fe807800 { - compatible = "qcom,msm-imem"; - reg = <0xfe807800 0x1000>; /* Address and size of IMEM */ - }; - - android_usb@fe8078c8 { - compatible = "qcom,android-usb"; - reg = <0xfe8078c8 0xc8>; - qcom,android-usb-cdrom; - qcom,android-usb-swfi-latency = <100>; - }; -}; - -&ipa_hw { - qcom,ipa-hw-ver = <2>; /* IPA h-w revision */ -}; - -&hsusb_otg { - qcom,hsusb-l1-supported; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm9625-v2.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm9625-v2.dtsi deleted file mode 100644 index 3eda3f896..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm9625-v2.dtsi +++ /dev/null @@ -1,54 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/* - * As a general rule, only version-specific property overrides should be placed - * inside this file. However, device definitions should be placed inside the - * msm9625.dtsi file. - */ - -/include/ "msm9625.dtsi" - -&soc { - qcom,msm-imem@fe807800 { - compatible = "qcom,msm-imem"; - reg = <0xfe807800 0x1000>; /* Address and size of IMEM */ - }; - - android_usb@fe8078c8 { - compatible = "qcom,android-usb"; - reg = <0xfe8078c8 0xc8>; - qcom,android-usb-swfi-latency = <100>; - }; -}; - -&ipa_hw { - qcom,ipa-hw-ver = <2>; /* IPA h-w revision */ -}; - -&hsic_host { - qcom,disable-park-mode; - qcom,phy-susp-sof-workaround; - qcom,phy-reset-sof-workaround; -}; - -&sfpb_spinlock { - status = "disable"; -}; - -&ldrex_spinlock { - status = "ok"; -}; - -&hsusb_otg { - qcom,hsusb-l1-supported; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm9625.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm9625.dtsi deleted file mode 100644 index 6200b0a8c..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msm9625.dtsi +++ /dev/null @@ -1,864 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - */ - -/include/ "skeleton.dtsi" - -/ { - model = "Qualcomm MSM 9625"; - compatible = "qcom,msm9625"; - interrupt-parent = <&intc>; - - aliases { - }; - - soc: soc { }; -}; - -/include/ "msm9625-ion.dtsi" -/include/ "msm9625-pm.dtsi" -/include/ "msm9625-coresight.dtsi" -/include/ "msm9625-smp2p.dtsi" - -&soc { - #address-cells = <1>; - #size-cells = <1>; - ranges; - - intc: interrupt-controller@F9000000 { - compatible = "qcom,msm-qgic2"; - interrupt-controller; - #interrupt-cells = <3>; - reg = <0xF9000000 0x1000>, - <0xF9002000 0x1000>; - }; - - l2: cache-controller@f9040000 { - compatible = "arm,pl310-cache"; - reg = <0xf9040000 0x1000>; - cache-unified; - cache-level = <2>; - }; - - msmgpio: gpio@fd510000 { - compatible = "qcom,msm-gpio"; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - reg = <0xfd510000 0x4000>; - ngpio = <76>; - interrupts = <0 208 0>; - qcom,direct-connect-irqs = <8>; - }; - - 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 7 0x4>, - <0 6 0x4>; - reg = <0xf9021000 0x1000>, - <0xf9022000 0x1000>; - }; - - frame@f9023000 { - frame-number = <1>; - interrupts = <0 8 0x4>; - reg = <0xf9023000 0x1000>; - status = "disabled"; - }; - - frame@f9024000 { - frame-number = <2>; - interrupts = <0 9 0x4>; - reg = <0xf9024000 0x1000>; - status = "disabled"; - }; - - frame@f9025000 { - frame-number = <3>; - interrupts = <0 10 0x4>; - reg = <0xf9025000 0x1000>; - status = "disabled"; - }; - - frame@f9026000 { - frame-number = <4>; - interrupts = <0 11 0x4>; - reg = <0xf9026000 0x1000>; - status = "disabled"; - }; - - frame@f9027000 { - frame-number = <5>; - interrupts = <0 12 0x4>; - reg = <0xf9027000 0x1000>; - status = "disabled"; - }; - - frame@f9028000 { - frame-number = <6>; - interrupts = <0 13 0x4>; - reg = <0xf9028000 0x1000>; - status = "disabled"; - }; - - frame@f9029000 { - frame-number = <7>; - interrupts = <0 14 0x4>; - reg = <0xf9029000 0x1000>; - status = "disabled"; - }; - }; - - qcom,sps@f9980000 { - compatible = "qcom,msm_sps"; - reg = <0xf9984000 0x15000>, - <0xf9999000 0xb000>, - <0xfe803000 0x4800>; - interrupts = <0 94 0>; - qcom,device-type = <2>; - }; - - serial@f991f000 { - compatible = "qcom,msm-lsuart-v14"; - reg = <0xf991f000 0x1000>; - interrupts = <0 109 0>; - qcom,msm-bus,name = "blsp1_uart3"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <86 512 0 0>, - <86 512 500 800>; - }; - - hsusb_otg: usb@f9a55000 { - compatible = "qcom,hsusb-otg"; - reg = <0xf9a55000 0x400>; - interrupts = <0 134 0 0 140 0>; - interrupt-names = "core_irq", "async_irq"; - HSUSB_VDDCX-supply = <&pm8019_l12>; - HSUSB_1p8-supply = <&pm8019_l2>; - HSUSB_3p3-supply = <&pm8019_l4>; - vbus_otg-supply = <&usb_vbus>; - - qcom,hsusb-otg-phy-type = <2>; - qcom,hsusb-otg-mode = <1>; - qcom,hsusb-otg-otg-control = <1>; - qcom,hsusb-otg-disable-reset; - qcom,hsusb-otg-delay-lpm-hndshk-on-disconnect; - qcom,hsusb-otg-delay-lpm; - qcom,hsusb-otg-mpm-dpsehv-int = <49>; - - qcom,msm-bus,name = "usb2"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <87 512 0 0>, - <87 512 40000 640000>; - qcom,hsusb-log2-itc = <4>; - }; - - hsic_host: hsic@f9a15000 { - compatible = "qcom,hsic-host"; - reg = <0xf9a15000 0x400>; - interrupts = <0 136 0>, <0 148 0>; - interrupt-names = "core_irq", "async_irq"; - HSIC_VDDCX-supply = <&pm8019_l12>; - HSIC_GDSC-supply = <&gdsc_usb_hsic>; - - qcom,msm-bus,name = "hsic"; - qcom,msm-bus,num-cases = <2>; - qcom,msm-bus,num-paths = <1>; - qcom,msm-bus,vectors-KBps = - <85 512 0 0>, - <85 512 40000 640000>; - qcom,pool-64-bit-align; - qcom,enable-hbm; - hsic,consider-ipa-handshake; - qcom,ahb-async-bridge-bypass; - hsic,disable-cerr; - qcom,disable-internal-clk-gating; - }; - - qcom,usbbam@f9a44000 { - compatible = "qcom,usb-bam-msm"; - reg = <0xf9a44000 0x11000>, - <0xf9a04000 0x11000>; - reg-names = "hsusb", "hsic"; - interrupts = <0 135 0 0 255 0>; - interrupt-names = "hsusb", "hsic"; - qcom,usb-bam-num-pipes = <16>; - qcom,ignore-core-reset-ack; - qcom,disable-clk-gating; - - qcom,pipe0 { - label = "hsusb-ipa-out-0"; - qcom,usb-bam-mem-type = <2>; - qcom,bam-type = <1>; - qcom,dir = <0>; - qcom,pipe-num = <0>; - qcom,peer-bam = <2>; - qcom,src-bam-physical-address = <0xf9a44000>; - qcom,src-bam-pipe-index = <1>; - qcom,data-fifo-size = <0x8000>; - qcom,descriptor-fifo-size = <0x2000>; - qcom,reset-bam-on-connect; - }; - qcom,pipe1 { - label = "hsusb-ipa-in-0"; - qcom,usb-bam-mem-type = <2>; - qcom,bam-type = <1>; - qcom,dir = <1>; - qcom,pipe-num = <0>; - qcom,peer-bam = <2>; - qcom,dst-bam-physical-address = <0xf9a44000>; - qcom,dst-bam-pipe-index = <0>; - qcom,data-fifo-size = <0x8000>; - qcom,descriptor-fifo-size = <0x2000>; - qcom,reset-bam-on-connect; - }; - qcom,pipe2 { - label = "hsusb-qdss-in-0"; - qcom,usb-bam-mem-type = <0>; - qcom,bam-type = <1>; - 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 = <0xf9a44000>; - qcom,dst-bam-pipe-index = <2>; - qcom,data-fifo-offset = <0x4100>; - qcom,data-fifo-size = <0x700>; - qcom,descriptor-fifo-offset = <0x4000>; - qcom,descriptor-fifo-size = <0x100>; - }; - qcom,pipe3 { - label = "hsic-ipa-in-0"; - qcom,usb-bam-mem-type = <2>; - qcom,bam-type = <2>; - qcom,dir = <1>; - qcom,pipe-num = <0>; - qcom,peer-bam = <2>; - qcom,dst-bam-physical-address = <0xf9a04000>; - qcom,dst-bam-pipe-index = <3>; - qcom,data-fifo-size = <0xF800>; - qcom,descriptor-fifo-size = <0x3A58>; - qcom,reset-bam-on-connect; - }; - qcom,pipe4 { - label = "hsic-ipa-in-1"; - qcom,bam-type = <2>; - qcom,dir = <1>; - qcom,pipe-num = <1>; - qcom,peer-bam = <2>; - qcom,usb-bam-mem-type = <2>; - qcom,dst-bam-physical-address = <0xf9a04000>; - qcom,dst-bam-pipe-index = <4>; - qcom,data-fifo-size = <0xF800>; - qcom,descriptor-fifo-size = <0x3A58>; - qcom,reset-bam-on-connect; - }; - qcom,pipe5 { - label = "hsic-ipa-in-2"; - qcom,usb-bam-mem-type = <2>; - qcom,bam-type = <2>; - qcom,dir = <1>; - qcom,pipe-num = <2>; - qcom,peer-bam = <2>; - qcom,dst-bam-physical-address = <0xf9a04000>; - qcom,dst-bam-pipe-index = <5>; - qcom,data-fifo-size = <0xF800>; - qcom,descriptor-fifo-size = <0x3A58>; - qcom,reset-bam-on-connect; - }; - qcom,pipe6 { - label = "hsic-ipa-in-3"; - qcom,usb-bam-mem-type = <2>; - qcom,bam-type = <2>; - qcom,dir = <1>; - qcom,pipe-num = <3>; - qcom,peer-bam = <2>; - qcom,dst-bam-physical-address = <0xf9a04000>; - qcom,dst-bam-pipe-index = <6>; - qcom,data-fifo-size = <0xF800>; - qcom,descriptor-fifo-size = <0x3A58>; - qcom,reset-bam-on-connect; - }; - qcom,pipe7 { - label = "hsic-ipa-out-0"; - qcom,usb-bam-mem-type = <2>; - qcom,bam-type = <2>; - qcom,dir = <0>; - qcom,pipe-num = <0>; - qcom,peer-bam = <2>; - qcom,src-bam-physical-address = <0xf9a04000>; - qcom,src-bam-pipe-index = <7>; - qcom,data-fifo-size = <0xDFE>; - qcom,descriptor-fifo-size = <0xB30>; - qcom,reset-bam-on-connect; - }; - - qcom,pipe8 { - label = "hsusb-ipa-out-1"; - qcom,usb-bam-mem-type = <2>; - qcom,bam-type = <1>; - qcom,dir = <0>; - qcom,pipe-num = <1>; - qcom,peer-bam = <2>; - qcom,src-bam-physical-address = <0xf9a44000>; - qcom,src-bam-pipe-index = <5>; - qcom,data-fifo-size = <0x8000>; - qcom,descriptor-fifo-size = <0x2000>; - qcom,reset-bam-on-connect; - }; - - qcom,pipe9 { - label = "hsusb-ipa-in-1"; - qcom,usb-bam-mem-type = <2>; - qcom,bam-type = <1>; - qcom,dir = <1>; - qcom,pipe-num = <1>; - qcom,peer-bam = <2>; - qcom,dst-bam-physical-address = <0xf9a44000>; - qcom,dst-bam-pipe-index = <4>; - qcom,data-fifo-size = <0x8000>; - qcom,descriptor-fifo-size = <0x2000>; - qcom,reset-bam-on-connect; - }; - - qcom,pipe10 { - label = "hsusb-ipa-out-2"; - qcom,usb-bam-mem-type = <2>; - qcom,bam-type = <1>; - qcom,dir = <0>; - qcom,pipe-num = <2>; - qcom,peer-bam = <2>; - qcom,src-bam-physical-address = <0xf9a44000>; - qcom,src-bam-pipe-index = <7>; - qcom,data-fifo-size = <0x8000>; - qcom,descriptor-fifo-size = <0x2000>; - qcom,reset-bam-on-connect; - }; - - qcom,pipe11 { - label = "hsusb-ipa-in-2"; - qcom,usb-bam-mem-type = <2>; - qcom,bam-type = <1>; - qcom,dir = <1>; - qcom,pipe-num = <2>; - qcom,peer-bam = <2>; - qcom,dst-bam-physical-address = <0xf9a44000>; - qcom,dst-bam-pipe-index = <6>; - qcom,data-fifo-size = <0x8000>; - qcom,descriptor-fifo-size = <0x2000>; - qcom,reset-bam-on-connect; - }; - - qcom,pipe12 { - label = "hsusb-ipa-out-3"; - qcom,usb-bam-mem-type = <2>; - qcom,bam-type = <1>; - qcom,dir = <0>; - qcom,pipe-num = <3>; - qcom,peer-bam = <2>; - qcom,src-bam-physical-address = <0xf9a44000>; - qcom,src-bam-pipe-index = <8>; - qcom,data-fifo-size = <0x8000>; - qcom,descriptor-fifo-size = <0x2000>; - qcom,reset-bam-on-connect; - }; - - qcom,pipe13 { - label = "hsusb-ipa-in-3"; - qcom,usb-bam-mem-type = <2>; - qcom,bam-type = <1>; - qcom,dir = <1>; - qcom,pipe-num = <3>; - qcom,peer-bam = <2>; - qcom,dst-bam-physical-address = <0xf9a44000>; - qcom,dst-bam-pipe-index = <9>; - qcom,data-fifo-size = <0x8000>; - qcom,descriptor-fifo-size = <0x2000>; - qcom,reset-bam-on-connect; - }; - }; - - qcom,nand@f9ac0000 { - compatible = "qcom,msm-nand"; - reg = <0xf9ac0000 0x1000>, - <0xf9ac4000 0x8000>; - reg-names = "nand_phys", - "bam_phys"; - interrupts = <0 247 0>; - interrupt-names = "bam_irq"; - }; - - qcom,wdt@f9017000 { - compatible = "qcom,msm-watchdog"; - reg = <0xf9017000 0x1000>; - interrupts = <1 2 0>, <1 1 0>; - qcom,bark-time = <11000>; - qcom,pet-time = <10000>; - }; - - rpm_bus: qcom,rpm-smd { - compatible = "qcom,rpm-smd"; - rpm-channel-name = "rpm_requests"; - rpm-channel-type = <15>; /* SMD_APPS_RPM */ - }; - - spmi_bus: qcom,spmi@fc4c0000 { - cell-index = <0>; - 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-ee = <0>; - qcom,pmic-arb-channel = <0>; - }; - - sdcc2: qcom,sdcc@f98a4000 { - cell-index = <2>; /* SDC2 SD card slot */ - compatible = "qcom,msm-sdcc"; - reg = <0xf98a4000 0x800>, - <0xf98a4800 0x100>, - <0xf9884000 0x7000>; - reg-names = "core_mem", "dml_mem", "bam_mem"; - - vdd-supply = <&ext_2p95v>; - - vdd-io-supply = <&pm8019_l13>; - qcom,vdd-io-always-on; - qcom,vdd-io-lpm-sup; - qcom,vdd-io-voltage-level = <1800000 2950000>; - qcom,vdd-io-current-level = <6 22000>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; - qcom,pad-pull-off = <0x0 0x3 0x3>; - qcom,pad-drv-on = <0x4 0x4 0x4>; - qcom,pad-drv-off = <0x0 0x0 0x0>; - - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - qcom,sup-voltages = <2950 2950>; - qcom,bus-width = <4>; - qcom,xpc; - qcom,bus-speed-mode = "SDR12", "SDR25", "SDR50", "DDR50", "SDR104"; - qcom,current-limit = <800>; - - interrupt-parent = <&sdcc2>; - #address-cells = <0>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0xffffffff>; - interrupt-map = <0 &intc 0 125 0 - 1 &intc 0 220 0 - 2 &msmgpio 66 0x3>; - interrupt-names = "core_irq", "bam_irq", "status_irq"; - cd-gpios = <&msmgpio 66 0>; - }; - - ipa_hw: qcom,ipa@fd4c0000 { - compatible = "qcom,ipa"; - reg = <0xfd4c0000 0x26000>, - <0xfd4c4000 0x14818>, - <0xfc834000 0x7000>; - reg-names = "ipa-base", "bam-base", "a2-bam-base"; - interrupts = <0 252 0>, - <0 253 0>, - <0 29 1>; - interrupt-names = "ipa-irq", "bam-irq", "a2-bam-irq"; - - qcom,pipe1 { - label = "a2-to-ipa"; - qcom,src-bam-physical-address = <0xfc834000>; - qcom,ipa-bam-mem-type = <0>; - qcom,src-bam-pipe-index = <1>; - qcom,dst-bam-physical-address = <0xfd4c0000>; - qcom,dst-bam-pipe-index = <6>; - qcom,data-fifo-offset = <0x1000>; - qcom,data-fifo-size = <0xd00>; - qcom,descriptor-fifo-offset = <0x1d00>; - qcom,descriptor-fifo-size = <0x300>; - }; - - qcom,pipe2 { - label = "ipa-to-a2"; - qcom,src-bam-physical-address = <0xfd4c0000>; - qcom,ipa-bam-mem-type = <0>; - qcom,src-bam-pipe-index = <7>; - qcom,dst-bam-physical-address = <0xfc834000>; - qcom,dst-bam-pipe-index = <0>; - qcom,data-fifo-offset = <0x00>; - qcom,data-fifo-size = <0xd00>; - qcom,descriptor-fifo-offset = <0xd00>; - qcom,descriptor-fifo-size = <0x300>; - }; - }; - - qcom,acpuclk@f9010000 { - compatible = "qcom,acpuclk-9625"; - reg = <0xf9010008 0x10>, - <0xf9008004 0x4>; - reg-names = "rcg_base", "pwr_base"; - a5_cpu-supply = <&pm8019_l10_corner_ao>; - a5_mem-supply = <&pm8019_l12_ao>; - }; - - gdsc_usb_hsic: qcom,gdsc@fc400404 { - compatible = "qcom,gdsc"; - reg = <0xfc400404 0x4>; - regulator-name = "gdsc_usb_hsic"; - }; - - tsens@fc4a8000 { - compatible = "qcom,msm-tsens"; - reg = <0xfc4a8000 0x2000>, - <0xfc4b8000 0x1000>; - reg-names = "tsens_physical", "tsens_eeprom_physical"; - interrupts = <0 184 0>; - qcom,sensors = <5>; - qcom,slope = <3200 3200 3200 3200 3200>; - qcom,calib-mode = "fuse_map1"; - }; - - qcom,msm-thermal { - compatible = "qcom,msm-thermal"; - qcom,sensor-id = <0>; - qcom,poll-ms = <250>; - qcom,limit-temp = <60>; - qcom,temp-hysteresis = <10>; - qcom,freq-step = <2>; - qcom,freq-control-mask = <0x0>; - qcom,vdd-restriction-temp = <5>; - qcom,vdd-restriction-temp-hysteresis = <10>; - vdd-dig-supply = <&pm8019_l10_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,msm-rng@f9bff000 { - compatible = "qcom,msm-rng"; - reg = <0xf9bff000 0x200>; - qcom,msm-rng-iface-clk; - }; - - i2c@f9925000 { - cell-index = <3>; - compatible = "qcom,i2c-qup"; - reg = <0xf9925000 0x1000>; - #address-cells = <1>; - #size-cells = <0>; - reg-names = "qup_phys_addr"; - interrupts = <0 97 0>; - interrupt-names = "qup_err_intr"; - qcom,i2c-bus-freq = <400000>; - qcom,i2c-src-freq = <19200000>; - }; - - qcom,mss { - compatible = "qcom,pil-q6v5-mss"; - interrupts = <0 24 1>; - qcom,is-not-loadable; - - /* 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>; - }; - - qcom,smem@0 { - compatible = "qcom,smem"; - reg = <0x0 0x100000>, - <0xf9011000 0x1000>, - <0xfc428000 0x4000>; - reg-names = "smem", "irq-reg-base", "aux-mem1"; - - qcom,smd-modem { - compatible = "qcom,smd"; - qcom,smd-edge = <0>; - qcom,smd-irq-offset = <0x8>; - qcom,smd-irq-bitmask = <0x1000>; - qcom,pil-string = "modem"; - interrupts = <0 25 1>; - }; - - qcom,smsm-modem { - compatible = "qcom,smsm"; - qcom,smsm-edge = <0>; - qcom,smsm-irq-offset = <0x8>; - qcom,smsm-irq-bitmask = <0x2000>; - interrupts = <0 26 1>; - }; - - qcom,smd-adsp { - compatible = "qcom,smd"; - qcom,smd-edge = <1>; - qcom,smd-irq-offset = <0x8>; - qcom,smd-irq-bitmask = <0x100>; - qcom,pil-string = "adsp"; - interrupts = <0 156 1>; - }; - - qcom,smsm-adsp { - compatible = "qcom,smsm"; - qcom,smsm-edge = <1>; - qcom,smsm-irq-offset = <0x8>; - qcom,smsm-irq-bitmask = <0x200>; - interrupts = <0 157 1>; - }; - - qcom,smd-rpm { - compatible = "qcom,smd"; - qcom,smd-edge = <15>; - qcom,smd-irq-offset = <0x8>; - qcom,smd-irq-bitmask = <0x1>; - interrupts = <0 168 1>; - qcom,irq-no-suspend; - }; - }; - - qcom,qcedev@fd400000 { - compatible = "qcom,qcedev"; - reg = <0xfd400000 0x20000>, - <0xfd404000 0x8000>; - reg-names = "crypto-base","crypto-bam-base"; - interrupts = <0 207 0>; - qcom,bam-pipe-pair = <1>; - }; - - qcom,qcrypto@fd440000 { - compatible = "qcom,qcrypto"; - reg = <0xfd400000 0x20000>, - <0xfd404000 0x8000>; - reg-names = "crypto-base","crypto-bam-base"; - interrupts = <0 207 0>; - qcom,bam-pipe-pair = <2>; - }; - - jtag_mm: jtagmm@fc332000 { - compatible = "qcom,jtag-mm"; - reg = <0xfc332000 0x1000>, - <0xfc330000 0x1000>; - reg-names = "etm-base","debug-base"; - }; - - qcom,msm-rtb { - compatible = "qcom,msm-rtb"; - qcom,memory-reservation-type = "EBI1"; - qcom,memory-reservation-size = <0x1000>; /* 4K EBI1 buffer */ - }; - - qcom,msm-mem-hole { - compatible = "qcom,msm-mem-hole"; - qcom,memblock-remove = <0x1c00000 0x4c00000>; /* Address and Size of Hole */ - }; - - sfpb_spinlock: qcom,ipc-spinlock@fd484000 { - compatible = "qcom,ipc-spinlock-sfpb"; - reg = <0xfd484000 0x400>; - qcom,num-locks = <8>; - }; - - ldrex_spinlock: qcom,ipc-spinlock@fa00000 { - compatible = "qcom,ipc-spinlock-ldrex"; - reg = <0xfa00000 0x200000>; - status = "disable"; - }; - - cpu-pmu { - compatible = "arm,cortex-a5-pmu"; - qcom,irq-is-percpu; - interrupts = <1 7 0x00>; - }; - - l2-pmu { - compatible = "qcom,l2-pmu"; - interrupts = <0 1 0>; - }; - - /* [houjihai start] gpio keys */ - gpio-keys { - compatible = "gpio-keys"; - autorepeat; - input-name = "gpio-keys"; - key-back { - label = "RESET"; - linux,code = <158>; - gpios = <&msmgpio 15 1>; - gpio-key,wakeup; - debounce-interval = <15>; - }; - }; - /* [houjihai end] */ -}; - -/include/ "msm-pm8019-rpm-regulator.dtsi" -/include/ "msm-pm8019.dtsi" -/include/ "msm9625-regulator.dtsi" - -&pm8019_vadc { - chan@31 { - label = "batt_id_therm"; - reg = <0x31>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - /* [linyunfeng] Detect voltage on resistor*/ - chan@10 { - label = "vol_detect"; - reg = <0x10>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - /* [linyunfeng] Detect battery voltage */ - chan@11 { - label = "vbat"; - reg = <0x11>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <0>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@33 { - label = "pa_therm0"; - reg = <0x33>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@34 { - label = "pa_therm1"; - reg = <0x34>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@32 { - label = "xo_therm"; - reg = <0x32>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <4>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@3c { - label = "xo_therm_amux"; - reg = <0x3c>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <4>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@13 { - label = "case_therm"; - reg = <0x13>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; - - chan@15 { - label = "ambient_therm"; - reg = <0x15>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - }; -}; - -&pm8019_adc_tm { - /* Channel Node */ - chan@33 { - label = "pa_therm0"; - reg = <0x33>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - qcom,btm-channel-number = <0x48>; - qcom,thermal-node; - }; - - chan@34 { - label = "pa_therm1"; - reg = <0x34>; - qcom,decimation = <0>; - qcom,pre-div-channel-scaling = <0>; - qcom,calibration-type = "ratiometric"; - qcom,scale-function = <2>; - qcom,hw-settle-time = <2>; - qcom,fast-avg-setup = <0>; - qcom,btm-channel-number = <0x68>; - qcom,thermal-node; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msmkrypton-sim.dts b/kernel/arch/arm/boot/dts/tr961-5200l-v2/msmkrypton-sim.dts deleted file mode 100644 index 1872a36b9..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msmkrypton-sim.dts +++ /dev/null @@ -1,25 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; - -/include/ "msmkrypton.dtsi" - -/ { - model = "Qualcomm MSM KRYPTON SIM"; - compatible = "qcom,msmkrypton-sim", "qcom,msmkrypton", "qcom,sim"; - qcom,msm-id = <187 16 0>; -}; - -&uartdm3{ - status = "ok"; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msmkrypton.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v2/msmkrypton.dtsi deleted file mode 100644 index 4b032d86d..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msmkrypton.dtsi +++ /dev/null @@ -1,120 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/include/ "skeleton.dtsi" - -/ { - model = "Qualcomm MSM KRYPTON"; - compatible = "qcom,msmkrypton"; - interrupt-parent = <&intc>; - - soc: soc { }; -}; - -&soc { - #address-cells = <1>; - #size-cells = <1>; - ranges; - - intc: interrupt-controller@f9000000 { - compatible = "qcom,msm-qgic2"; - interrupt-controller; - #interrupt-cells = <3>; - reg = <0xf9000000 0x1000>, - <0xf9002000 0x1000>; - }; - - msmgpio: gpio@fd510000 { - compatible = "qcom,msm-gpio"; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - reg = <0xfd510000 0x4000>; - ngpio = <89>; - interrupts = <0 208 0>; - qcom,direct-connect-irqs = <8>; - }; - - 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 7 0x4>, - <0 6 0x4>; - reg = <0xf9021000 0x1000>, - <0xf9022000 0x1000>; - }; - - frame@f9023000 { - frame-number = <1>; - interrupts = <0 8 0x4>; - reg = <0xf9023000 0x1000>; - status = "disabled"; - }; - - frame@f9024000 { - frame-number = <2>; - interrupts = <0 9 0x4>; - reg = <0xf9024000 0x1000>; - status = "disabled"; - }; - - frame@f9025000 { - frame-number = <3>; - interrupts = <0 10 0x4>; - reg = <0xf9025000 0x1000>; - status = "disabled"; - }; - - frame@f9026000 { - frame-number = <4>; - interrupts = <0 11 0x4>; - reg = <0xf9026000 0x1000>; - status = "disabled"; - }; - - frame@f9027000 { - frame-number = <5>; - interrupts = <0 12 0x4>; - reg = <0xf9027000 0x1000>; - status = "disabled"; - }; - - frame@f9028000 { - frame-number = <6>; - interrupts = <0 13 0x4>; - reg = <0xf9028000 0x1000>; - status = "disabled"; - }; - - frame@f9029000 { - frame-number = <7>; - interrupts = <0 14 0x4>; - reg = <0xf9029000 0x1000>; - status = "disabled"; - }; - }; - - uartdm3: serial@f991f000 { - compatible = "qcom,msm-lsuart-v14"; - reg = <0xf991f000 0x1000>; - interrupts = <0 109 0>; - status = "disabled"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msmsamarium-ion.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v2/msmsamarium-ion.dtsi deleted file mode 100644 index ea954b89c..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msmsamarium-ion.dtsi +++ /dev/null @@ -1,31 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -&soc { - qcom,ion { - compatible = "qcom,msm-ion"; - #address-cells = <1>; - #size-cells = <0>; - - qcom,ion-heap@30 { /* SYSTEM HEAP */ - reg = <30>; - }; - - qcom,ion-heap@21 { /* SYSTEM CONTIG HEAP */ - reg = <21>; - }; - - qcom,ion-heap@25 { /* IOMMU HEAP */ - reg = <25>; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msmsamarium-rumi.dts b/kernel/arch/arm/boot/dts/tr961-5200l-v2/msmsamarium-rumi.dts deleted file mode 100644 index 9a679a4fd..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msmsamarium-rumi.dts +++ /dev/null @@ -1,25 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; - -/include/ "msmsamarium.dtsi" - -/ { - model = "Qualcomm MSM SAMARIUM RUMI"; - compatible = "qcom,msmsamarium-rumi", "qcom,msmsamarium", "qcom,rumi"; - qcom,msm-id = <195 0 0>; -}; - -&uartblsp0dm2{ - status = "ok"; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msmsamarium-sim.dts b/kernel/arch/arm/boot/dts/tr961-5200l-v2/msmsamarium-sim.dts deleted file mode 100644 index 4acffae18..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msmsamarium-sim.dts +++ /dev/null @@ -1,55 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/dts-v1/; - -/include/ "msmsamarium.dtsi" - -/ { - model = "Qualcomm MSM SAMARIUM SIM"; - compatible = "qcom,msmsamarium-sim", "qcom,msmsamarium", "qcom,sim"; - qcom,msm-id = <195 0 0>; -}; - -&uartblsp0dm2{ - status = "ok"; -}; - -&sdcc1 { - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - qcom,sup-voltages = <2950 2950>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,bus-speed-mode = "HS200_1p8v", "DDR_1p8v"; - qcom,nonremovable; - status = "ok"; -}; - -&sdcc2 { - qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; - qcom,sup-voltages = <2950 2950>; - - qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ - qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ - qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ - - qcom,xpc; - qcom,bus-speed-mode = "SDR12", "SDR25", "SDR50", "DDR50", "SDR104"; - qcom,current-limit = <800>; - - status = "ok"; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msmsamarium.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v2/msmsamarium.dtsi deleted file mode 100644 index 81699b689..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/msmsamarium.dtsi +++ /dev/null @@ -1,90 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -/include/ "skeleton.dtsi" - -/ { - model = "Qualcomm MSM SAMARIUM"; - compatible = "qcom,msmsamarium"; - interrupt-parent = <&intc>; - soc: soc { }; -}; - -/include/ "msmsamarium-ion.dtsi" - -&soc { - #address-cells = <1>; - #size-cells = <1>; - ranges; - - intc: interrupt-controller@f9000000 { - compatible = "qcom,msm-qgic2"; - interrupt-controller; - #interrupt-cells = <3>; - reg = <0xf9000000 0x1000>, - <0xf9002000 0x1000>; - }; - - msmgpio: gpio@fd510000 { - compatible = "qcom,msm-gpio"; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - reg = <0xfd510000 0x4000>; - ngpio = <145>; - interrupts = <0 208 0>; - qcom,direct-connect-irqs = <8>; - }; - - timer { - compatible = "arm,armv7-timer"; - interrupts = <1 2 0 1 3 0>; - clock-frequency = <19200000>; - }; - - uartblsp0dm2: serial@f991f000 { - compatible = "qcom,msm-lsuart-v14"; - reg = <0xf991f000 0x1000>; - interrupts = <0 109 0>; - status = "disabled"; - }; - - qcom,msm-imem@fe805000 { - compatible = "qcom,msm-imem"; - reg = <0xfe805000 0x1000>; /* Address and size of IMEM */ - }; - - sdcc1: qcom,sdcc@f9824000 { - cell-index = <1>; /* SDC1 eMMC slot */ - compatible = "qcom,msm-sdcc"; - reg = <0xf9824000 0x800>; - reg-names = "core_mem"; - interrupts = <0 123 0>; - interrupt-names = "core_irq"; - - qcom,bus-width = <8>; - status = "disabled"; - }; - - sdcc2: qcom,sdcc@f98a4000 { - cell-index = <2>; /* SDC2 SD card slot */ - compatible = "qcom,msm-sdcc"; - reg = <0xf98a4000 0x800>; - reg-names = "core_mem"; - interrupts = <0 125 0>; - interrupt-names = "core_irq"; - - qcom,bus-width = <4>; - status = "disabled"; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/omap2.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v2/omap2.dtsi deleted file mode 100644 index f2ab4ea7c..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/omap2.dtsi +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Device Tree Source for OMAP2 SoC - * - * Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/ - * - * This file is licensed under the terms of the GNU General Public License - * version 2. This program is licensed "as is" without any warranty of any - * kind, whether express or implied. - */ - -/include/ "skeleton.dtsi" - -/ { - compatible = "ti,omap2430", "ti,omap2420", "ti,omap2"; - - aliases { - serial0 = &uart1; - serial1 = &uart2; - serial2 = &uart3; - }; - - cpus { - cpu@0 { - compatible = "arm,arm1136jf-s"; - }; - }; - - soc { - compatible = "ti,omap-infra"; - mpu { - compatible = "ti,omap2-mpu"; - ti,hwmods = "mpu"; - }; - }; - - ocp { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - ti,hwmods = "l3_main"; - - intc: interrupt-controller@1 { - compatible = "ti,omap2-intc"; - interrupt-controller; - #interrupt-cells = <1>; - }; - - uart1: serial@4806a000 { - compatible = "ti,omap2-uart"; - ti,hwmods = "uart1"; - clock-frequency = <48000000>; - }; - - uart2: serial@4806c000 { - compatible = "ti,omap2-uart"; - ti,hwmods = "uart2"; - clock-frequency = <48000000>; - }; - - uart3: serial@4806e000 { - compatible = "ti,omap2-uart"; - ti,hwmods = "uart3"; - clock-frequency = <48000000>; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/omap3-beagle.dts b/kernel/arch/arm/boot/dts/tr961-5200l-v2/omap3-beagle.dts deleted file mode 100644 index 9f72cd4cf..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/omap3-beagle.dts +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/ - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. - */ -/dts-v1/; - -/include/ "omap3.dtsi" - -/ { - model = "TI OMAP3 BeagleBoard"; - compatible = "ti,omap3-beagle", "ti,omap3"; - - memory { - device_type = "memory"; - reg = <0x80000000 0x20000000>; /* 512 MB */ - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/omap3-evm.dts b/kernel/arch/arm/boot/dts/tr961-5200l-v2/omap3-evm.dts deleted file mode 100644 index 2eee16ec5..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/omap3-evm.dts +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/ - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. - */ -/dts-v1/; - -/include/ "omap3.dtsi" - -/ { - model = "TI OMAP3 EVM (OMAP3530, AM/DM37x)"; - compatible = "ti,omap3-evm", "ti,omap3"; - - memory { - device_type = "memory"; - reg = <0x80000000 0x10000000>; /* 256 MB */ - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/omap3.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v2/omap3.dtsi deleted file mode 100644 index c6121357c..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/omap3.dtsi +++ /dev/null @@ -1,117 +0,0 @@ -/* - * Device Tree Source for OMAP3 SoC - * - * Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/ - * - * This file is licensed under the terms of the GNU General Public License - * version 2. This program is licensed "as is" without any warranty of any - * kind, whether express or implied. - */ - -/include/ "skeleton.dtsi" - -/ { - compatible = "ti,omap3430", "ti,omap3"; - - aliases { - serial0 = &uart1; - serial1 = &uart2; - serial2 = &uart3; - serial3 = &uart4; - }; - - cpus { - cpu@0 { - compatible = "arm,cortex-a8"; - }; - }; - - /* - * The soc node represents the soc top level view. It is uses for IPs - * that are not memory mapped in the MPU view or for the MPU itself. - */ - soc { - compatible = "ti,omap-infra"; - mpu { - compatible = "ti,omap3-mpu"; - ti,hwmods = "mpu"; - }; - - iva { - compatible = "ti,iva2.2"; - ti,hwmods = "iva"; - - dsp { - compatible = "ti,omap3-c64"; - }; - }; - }; - - /* - * XXX: Use a flat representation of the OMAP3 interconnect. - * The real OMAP interconnect network is quite complex. - * Since that will not bring real advantage to represent that in DT for - * the moment, just use a fake OCP bus entry to represent the whole bus - * hierarchy. - */ - ocp { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - ti,hwmods = "l3_main"; - - intc: interrupt-controller@48200000 { - compatible = "ti,omap2-intc"; - interrupt-controller; - #interrupt-cells = <1>; - ti,intc-size = <96>; - reg = <0x48200000 0x1000>; - }; - - uart1: serial@4806a000 { - compatible = "ti,omap3-uart"; - ti,hwmods = "uart1"; - clock-frequency = <48000000>; - }; - - uart2: serial@4806c000 { - compatible = "ti,omap3-uart"; - ti,hwmods = "uart2"; - clock-frequency = <48000000>; - }; - - uart3: serial@49020000 { - compatible = "ti,omap3-uart"; - ti,hwmods = "uart3"; - clock-frequency = <48000000>; - }; - - uart4: serial@49042000 { - compatible = "ti,omap3-uart"; - ti,hwmods = "uart4"; - clock-frequency = <48000000>; - }; - - i2c1: i2c@48070000 { - compatible = "ti,omap3-i2c"; - #address-cells = <1>; - #size-cells = <0>; - ti,hwmods = "i2c1"; - }; - - i2c2: i2c@48072000 { - compatible = "ti,omap3-i2c"; - #address-cells = <1>; - #size-cells = <0>; - ti,hwmods = "i2c2"; - }; - - i2c3: i2c@48060000 { - compatible = "ti,omap3-i2c"; - #address-cells = <1>; - #size-cells = <0>; - ti,hwmods = "i2c3"; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/omap4-panda.dts b/kernel/arch/arm/boot/dts/tr961-5200l-v2/omap4-panda.dts deleted file mode 100644 index 9755ad591..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/omap4-panda.dts +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/ - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. - */ -/dts-v1/; - -/include/ "omap4.dtsi" - -/ { - model = "TI OMAP4 PandaBoard"; - compatible = "ti,omap4-panda", "ti,omap4430", "ti,omap4"; - - memory { - device_type = "memory"; - reg = <0x80000000 0x40000000>; /* 1 GB */ - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/omap4-sdp.dts b/kernel/arch/arm/boot/dts/tr961-5200l-v2/omap4-sdp.dts deleted file mode 100644 index 63c6b2b2b..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/omap4-sdp.dts +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/ - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. - */ -/dts-v1/; - -/include/ "omap4.dtsi" - -/ { - model = "TI OMAP4 SDP board"; - compatible = "ti,omap4-sdp", "ti,omap4430", "ti,omap4"; - - memory { - device_type = "memory"; - reg = <0x80000000 0x40000000>; /* 1 GB */ - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/omap4.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v2/omap4.dtsi deleted file mode 100644 index 3d35559e7..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/omap4.dtsi +++ /dev/null @@ -1,159 +0,0 @@ -/* - * Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/ - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. - */ - -/* - * Carveout for multimedia usecases - * It should be the last 48MB of the first 512MB memory part - * In theory, it should not even exist. That zone should be reserved - * dynamically during the .reserve callback. - */ -/memreserve/ 0x9d000000 0x03000000; - -/include/ "skeleton.dtsi" - -/ { - compatible = "ti,omap4430", "ti,omap4"; - interrupt-parent = <&gic>; - - aliases { - serial0 = &uart1; - serial1 = &uart2; - serial2 = &uart3; - serial3 = &uart4; - }; - - cpus { - cpu@0 { - compatible = "arm,cortex-a9"; - }; - cpu@1 { - compatible = "arm,cortex-a9"; - }; - }; - - /* - * The soc node represents the soc top level view. It is uses for IPs - * that are not memory mapped in the MPU view or for the MPU itself. - */ - soc { - compatible = "ti,omap-infra"; - mpu { - compatible = "ti,omap4-mpu"; - ti,hwmods = "mpu"; - }; - - dsp { - compatible = "ti,omap3-c64"; - ti,hwmods = "dsp"; - }; - - iva { - compatible = "ti,ivahd"; - ti,hwmods = "iva"; - }; - }; - - /* - * XXX: Use a flat representation of the OMAP4 interconnect. - * The real OMAP interconnect network is quite complex. - * - * MPU -+-- MPU_PRIVATE - GIC, L2 - * | - * +----------------+----------+ - * | | | - * + +- EMIF - DDR | - * | | | - * | + +--------+ - * | | | - * | +- L4_ABE - AESS, MCBSP, TIMERs... - * | | - * +- L3_MAIN --+- L4_CORE - IPs... - * | - * +- L4_PER - IPs... - * | - * +- L4_CFG -+- L4_WKUP - IPs... - * | | - * | +- IPs... - * +- IPU ----+ - * | | - * +- DSP ----+ - * | | - * +- DSS ----+ - * - * Since that will not bring real advantage to represent that in DT for - * the moment, just use a fake OCP bus entry to represent the whole bus - * hierarchy. - */ - ocp { - compatible = "ti,omap4-l3-noc", "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - ti,hwmods = "l3_main_1", "l3_main_2", "l3_main_3"; - - gic: interrupt-controller@48241000 { - compatible = "arm,cortex-a9-gic"; - interrupt-controller; - #interrupt-cells = <3>; - reg = <0x48241000 0x1000>, - <0x48240100 0x0100>; - }; - - uart1: serial@4806a000 { - compatible = "ti,omap4-uart"; - ti,hwmods = "uart1"; - clock-frequency = <48000000>; - }; - - uart2: serial@4806c000 { - compatible = "ti,omap4-uart"; - ti,hwmods = "uart2"; - clock-frequency = <48000000>; - }; - - uart3: serial@48020000 { - compatible = "ti,omap4-uart"; - ti,hwmods = "uart3"; - clock-frequency = <48000000>; - }; - - uart4: serial@4806e000 { - compatible = "ti,omap4-uart"; - ti,hwmods = "uart4"; - clock-frequency = <48000000>; - }; - - i2c1: i2c@48070000 { - compatible = "ti,omap4-i2c"; - #address-cells = <1>; - #size-cells = <0>; - ti,hwmods = "i2c1"; - }; - - i2c2: i2c@48072000 { - compatible = "ti,omap4-i2c"; - #address-cells = <1>; - #size-cells = <0>; - ti,hwmods = "i2c2"; - }; - - i2c3: i2c@48060000 { - compatible = "ti,omap4-i2c"; - #address-cells = <1>; - #size-cells = <0>; - ti,hwmods = "i2c3"; - }; - - i2c4: i2c@48350000 { - compatible = "ti,omap4-i2c"; - #address-cells = <1>; - #size-cells = <0>; - ti,hwmods = "i2c4"; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/picoxcell-pc3x2.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v2/picoxcell-pc3x2.dtsi deleted file mode 100644 index f0a8c2068..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/picoxcell-pc3x2.dtsi +++ /dev/null @@ -1,249 +0,0 @@ -/* - * Copyright (C) 2011 Picochip, Jamie Iles - * - * This software is licensed under the terms of the GNU General Public - * License version 2, as published by the Free Software Foundation, and - * may be copied, distributed, and modified under those terms. - * - * 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. - */ -/include/ "skeleton.dtsi" -/ { - model = "Picochip picoXcell PC3X2"; - compatible = "picochip,pc3x2"; - #address-cells = <1>; - #size-cells = <1>; - - cpus { - #address-cells = <1>; - #size-cells = <0>; - - cpu@0 { - compatible = "arm,1176jz-s"; - clock-frequency = <400000000>; - reg = <0>; - d-cache-line-size = <32>; - d-cache-size = <32768>; - i-cache-line-size = <32>; - i-cache-size = <32768>; - }; - }; - - clocks { - #address-cells = <1>; - #size-cells = <1>; - ranges; - - pclk: clock@0 { - compatible = "fixed-clock"; - clock-outputs = "bus", "pclk"; - clock-frequency = <200000000>; - ref-clock = <&ref_clk>, "ref"; - }; - }; - - paxi { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0 0x80000000 0x400000>; - - emac: gem@30000 { - compatible = "cadence,gem"; - reg = <0x30000 0x10000>; - interrupts = <31>; - }; - - dmac1: dmac@40000 { - compatible = "snps,dw-dmac"; - reg = <0x40000 0x10000>; - interrupts = <25>; - }; - - dmac2: dmac@50000 { - compatible = "snps,dw-dmac"; - reg = <0x50000 0x10000>; - interrupts = <26>; - }; - - vic0: interrupt-controller@60000 { - compatible = "arm,pl192-vic"; - interrupt-controller; - reg = <0x60000 0x1000>; - #interrupt-cells = <1>; - }; - - vic1: interrupt-controller@64000 { - compatible = "arm,pl192-vic"; - interrupt-controller; - reg = <0x64000 0x1000>; - #interrupt-cells = <1>; - }; - - fuse: picoxcell-fuse@80000 { - compatible = "picoxcell,fuse-pc3x2"; - reg = <0x80000 0x10000>; - }; - - ssi: picoxcell-spi@90000 { - compatible = "picoxcell,spi"; - reg = <0x90000 0x10000>; - interrupt-parent = <&vic0>; - interrupts = <10>; - }; - - ipsec: spacc@100000 { - compatible = "picochip,spacc-ipsec"; - reg = <0x100000 0x10000>; - interrupt-parent = <&vic0>; - interrupts = <24>; - ref-clock = <&pclk>, "ref"; - }; - - srtp: spacc@140000 { - compatible = "picochip,spacc-srtp"; - reg = <0x140000 0x10000>; - interrupt-parent = <&vic0>; - interrupts = <23>; - }; - - l2_engine: spacc@180000 { - compatible = "picochip,spacc-l2"; - reg = <0x180000 0x10000>; - interrupt-parent = <&vic0>; - interrupts = <22>; - ref-clock = <&pclk>, "ref"; - }; - - apb { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0 0x200000 0x80000>; - - rtc0: rtc@00000 { - compatible = "picochip,pc3x2-rtc"; - clock-freq = <200000000>; - reg = <0x00000 0xf>; - interrupt-parent = <&vic1>; - interrupts = <8>; - }; - - timer0: timer@10000 { - compatible = "picochip,pc3x2-timer"; - interrupt-parent = <&vic0>; - interrupts = <4>; - clock-freq = <200000000>; - reg = <0x10000 0x14>; - }; - - timer1: timer@10014 { - compatible = "picochip,pc3x2-timer"; - interrupt-parent = <&vic0>; - interrupts = <5>; - clock-freq = <200000000>; - reg = <0x10014 0x14>; - }; - - timer2: timer@10028 { - compatible = "picochip,pc3x2-timer"; - interrupt-parent = <&vic0>; - interrupts = <6>; - clock-freq = <200000000>; - reg = <0x10028 0x14>; - }; - - timer3: timer@1003c { - compatible = "picochip,pc3x2-timer"; - interrupt-parent = <&vic0>; - interrupts = <7>; - clock-freq = <200000000>; - reg = <0x1003c 0x14>; - }; - - gpio: gpio@20000 { - compatible = "snps,dw-apb-gpio"; - reg = <0x20000 0x1000>; - #address-cells = <1>; - #size-cells = <0>; - reg-io-width = <4>; - - banka: gpio-controller@0 { - compatible = "snps,dw-apb-gpio-bank"; - gpio-controller; - #gpio-cells = <2>; - gpio-generic,nr-gpio = <8>; - - regoffset-dat = <0x50>; - regoffset-set = <0x00>; - regoffset-dirout = <0x04>; - }; - - bankb: gpio-controller@1 { - compatible = "snps,dw-apb-gpio-bank"; - gpio-controller; - #gpio-cells = <2>; - gpio-generic,nr-gpio = <8>; - - regoffset-dat = <0x54>; - regoffset-set = <0x0c>; - regoffset-dirout = <0x10>; - }; - }; - - uart0: uart@30000 { - compatible = "snps,dw-apb-uart"; - reg = <0x30000 0x1000>; - interrupt-parent = <&vic1>; - interrupts = <10>; - clock-frequency = <3686400>; - reg-shift = <2>; - reg-io-width = <4>; - }; - - uart1: uart@40000 { - compatible = "snps,dw-apb-uart"; - reg = <0x40000 0x1000>; - interrupt-parent = <&vic1>; - interrupts = <9>; - clock-frequency = <3686400>; - reg-shift = <2>; - reg-io-width = <4>; - }; - - wdog: watchdog@50000 { - compatible = "snps,dw-apb-wdg"; - reg = <0x50000 0x10000>; - interrupt-parent = <&vic0>; - interrupts = <11>; - bus-clock = <&pclk>, "bus"; - }; - }; - }; - - rwid-axi { - #address-cells = <1>; - #size-cells = <1>; - compatible = "simple-bus"; - ranges; - - ebi@50000000 { - compatible = "simple-bus"; - #address-cells = <2>; - #size-cells = <1>; - ranges = <0 0 0x40000000 0x08000000 - 1 0 0x48000000 0x08000000 - 2 0 0x50000000 0x08000000 - 3 0 0x58000000 0x08000000>; - }; - - axi2pico@c0000000 { - compatible = "picochip,axi2pico-pc3x2"; - reg = <0xc0000000 0x10000>; - interrupts = <13 14 15 16 17 18 19 20 21>; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/picoxcell-pc3x3.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v2/picoxcell-pc3x3.dtsi deleted file mode 100644 index daa962d19..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/picoxcell-pc3x3.dtsi +++ /dev/null @@ -1,365 +0,0 @@ -/* - * Copyright (C) 2011 Picochip, Jamie Iles - * - * This software is licensed under the terms of the GNU General Public - * License version 2, as published by the Free Software Foundation, and - * may be copied, distributed, and modified under those terms. - * - * 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. - */ -/include/ "skeleton.dtsi" -/ { - model = "Picochip picoXcell PC3X3"; - compatible = "picochip,pc3x3"; - #address-cells = <1>; - #size-cells = <1>; - - cpus { - #address-cells = <1>; - #size-cells = <0>; - - cpu@0 { - compatible = "arm,1176jz-s"; - cpu-clock = <&arm_clk>, "cpu"; - reg = <0>; - d-cache-line-size = <32>; - d-cache-size = <32768>; - i-cache-line-size = <32>; - i-cache-size = <32768>; - }; - }; - - clocks { - #address-cells = <1>; - #size-cells = <1>; - ranges; - - clkgate: clkgate@800a0048 { - #address-cells = <1>; - #size-cells = <0>; - reg = <0x800a0048 4>; - compatible = "picochip,pc3x3-clk-gate"; - - tzprot_clk: clock@0 { - compatible = "picochip,pc3x3-gated-clk"; - clock-outputs = "bus"; - picochip,clk-disable-bit = <0>; - clock-frequency = <200000000>; - ref-clock = <&ref_clk>, "ref"; - }; - - spi_clk: clock@1 { - compatible = "picochip,pc3x3-gated-clk"; - clock-outputs = "bus"; - picochip,clk-disable-bit = <1>; - clock-frequency = <200000000>; - ref-clock = <&ref_clk>, "ref"; - }; - - dmac0_clk: clock@2 { - compatible = "picochip,pc3x3-gated-clk"; - clock-outputs = "bus"; - picochip,clk-disable-bit = <2>; - clock-frequency = <200000000>; - ref-clock = <&ref_clk>, "ref"; - }; - - dmac1_clk: clock@3 { - compatible = "picochip,pc3x3-gated-clk"; - clock-outputs = "bus"; - picochip,clk-disable-bit = <3>; - clock-frequency = <200000000>; - ref-clock = <&ref_clk>, "ref"; - }; - - ebi_clk: clock@4 { - compatible = "picochip,pc3x3-gated-clk"; - clock-outputs = "bus"; - picochip,clk-disable-bit = <4>; - clock-frequency = <200000000>; - ref-clock = <&ref_clk>, "ref"; - }; - - ipsec_clk: clock@5 { - compatible = "picochip,pc3x3-gated-clk"; - clock-outputs = "bus"; - picochip,clk-disable-bit = <5>; - clock-frequency = <200000000>; - ref-clock = <&ref_clk>, "ref"; - }; - - l2_clk: clock@6 { - compatible = "picochip,pc3x3-gated-clk"; - clock-outputs = "bus"; - picochip,clk-disable-bit = <6>; - clock-frequency = <200000000>; - ref-clock = <&ref_clk>, "ref"; - }; - - trng_clk: clock@7 { - compatible = "picochip,pc3x3-gated-clk"; - clock-outputs = "bus"; - picochip,clk-disable-bit = <7>; - clock-frequency = <200000000>; - ref-clock = <&ref_clk>, "ref"; - }; - - fuse_clk: clock@8 { - compatible = "picochip,pc3x3-gated-clk"; - clock-outputs = "bus"; - picochip,clk-disable-bit = <8>; - clock-frequency = <200000000>; - ref-clock = <&ref_clk>, "ref"; - }; - - otp_clk: clock@9 { - compatible = "picochip,pc3x3-gated-clk"; - clock-outputs = "bus"; - picochip,clk-disable-bit = <9>; - clock-frequency = <200000000>; - ref-clock = <&ref_clk>, "ref"; - }; - }; - - arm_clk: clock@11 { - compatible = "picochip,pc3x3-pll"; - reg = <0x800a0050 0x8>; - picochip,min-freq = <140000000>; - picochip,max-freq = <700000000>; - ref-clock = <&ref_clk>, "ref"; - clock-outputs = "cpu"; - }; - - pclk: clock@12 { - compatible = "fixed-clock"; - clock-outputs = "bus", "pclk"; - clock-frequency = <200000000>; - ref-clock = <&ref_clk>, "ref"; - }; - }; - - paxi { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0 0x80000000 0x400000>; - - emac: gem@30000 { - compatible = "cadence,gem"; - reg = <0x30000 0x10000>; - interrupt-parent = <&vic0>; - interrupts = <31>; - }; - - dmac1: dmac@40000 { - compatible = "snps,dw-dmac"; - reg = <0x40000 0x10000>; - interrupt-parent = <&vic0>; - interrupts = <25>; - }; - - dmac2: dmac@50000 { - compatible = "snps,dw-dmac"; - reg = <0x50000 0x10000>; - interrupt-parent = <&vic0>; - interrupts = <26>; - }; - - vic0: interrupt-controller@60000 { - compatible = "arm,pl192-vic"; - interrupt-controller; - reg = <0x60000 0x1000>; - #interrupt-cells = <1>; - }; - - vic1: interrupt-controller@64000 { - compatible = "arm,pl192-vic"; - interrupt-controller; - reg = <0x64000 0x1000>; - #interrupt-cells = <1>; - }; - - fuse: picoxcell-fuse@80000 { - compatible = "picoxcell,fuse-pc3x3"; - reg = <0x80000 0x10000>; - }; - - ssi: picoxcell-spi@90000 { - compatible = "picoxcell,spi"; - reg = <0x90000 0x10000>; - interrupt-parent = <&vic0>; - interrupts = <10>; - }; - - ipsec: spacc@100000 { - compatible = "picochip,spacc-ipsec"; - reg = <0x100000 0x10000>; - interrupt-parent = <&vic0>; - interrupts = <24>; - ref-clock = <&ipsec_clk>, "ref"; - }; - - srtp: spacc@140000 { - compatible = "picochip,spacc-srtp"; - reg = <0x140000 0x10000>; - interrupt-parent = <&vic0>; - interrupts = <23>; - }; - - l2_engine: spacc@180000 { - compatible = "picochip,spacc-l2"; - reg = <0x180000 0x10000>; - interrupt-parent = <&vic0>; - interrupts = <22>; - ref-clock = <&l2_clk>, "ref"; - }; - - apb { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0 0x200000 0x80000>; - - rtc0: rtc@00000 { - compatible = "picochip,pc3x2-rtc"; - clock-freq = <200000000>; - reg = <0x00000 0xf>; - interrupt-parent = <&vic0>; - interrupts = <8>; - }; - - timer0: timer@10000 { - compatible = "picochip,pc3x2-timer"; - interrupt-parent = <&vic0>; - interrupts = <4>; - clock-freq = <200000000>; - reg = <0x10000 0x14>; - }; - - timer1: timer@10014 { - compatible = "picochip,pc3x2-timer"; - interrupt-parent = <&vic0>; - interrupts = <5>; - clock-freq = <200000000>; - reg = <0x10014 0x14>; - }; - - gpio: gpio@20000 { - compatible = "snps,dw-apb-gpio"; - reg = <0x20000 0x1000>; - #address-cells = <1>; - #size-cells = <0>; - reg-io-width = <4>; - - banka: gpio-controller@0 { - compatible = "snps,dw-apb-gpio-bank"; - gpio-controller; - #gpio-cells = <2>; - gpio-generic,nr-gpio = <8>; - - regoffset-dat = <0x50>; - regoffset-set = <0x00>; - regoffset-dirout = <0x04>; - }; - - bankb: gpio-controller@1 { - compatible = "snps,dw-apb-gpio-bank"; - gpio-controller; - #gpio-cells = <2>; - gpio-generic,nr-gpio = <16>; - - regoffset-dat = <0x54>; - regoffset-set = <0x0c>; - regoffset-dirout = <0x10>; - }; - - bankd: gpio-controller@2 { - compatible = "snps,dw-apb-gpio-bank"; - gpio-controller; - #gpio-cells = <2>; - gpio-generic,nr-gpio = <30>; - - regoffset-dat = <0x5c>; - regoffset-set = <0x24>; - regoffset-dirout = <0x28>; - }; - }; - - uart0: uart@30000 { - compatible = "snps,dw-apb-uart"; - reg = <0x30000 0x1000>; - interrupt-parent = <&vic1>; - interrupts = <10>; - clock-frequency = <3686400>; - reg-shift = <2>; - reg-io-width = <4>; - }; - - uart1: uart@40000 { - compatible = "snps,dw-apb-uart"; - reg = <0x40000 0x1000>; - interrupt-parent = <&vic1>; - interrupts = <9>; - clock-frequency = <3686400>; - reg-shift = <2>; - reg-io-width = <4>; - }; - - wdog: watchdog@50000 { - compatible = "snps,dw-apb-wdg"; - reg = <0x50000 0x10000>; - interrupt-parent = <&vic0>; - interrupts = <11>; - bus-clock = <&pclk>, "bus"; - }; - - timer2: timer@60000 { - compatible = "picochip,pc3x2-timer"; - interrupt-parent = <&vic0>; - interrupts = <6>; - clock-freq = <200000000>; - reg = <0x60000 0x14>; - }; - - timer3: timer@60014 { - compatible = "picochip,pc3x2-timer"; - interrupt-parent = <&vic0>; - interrupts = <7>; - clock-freq = <200000000>; - reg = <0x60014 0x14>; - }; - }; - }; - - rwid-axi { - #address-cells = <1>; - #size-cells = <1>; - compatible = "simple-bus"; - ranges; - - ebi@50000000 { - compatible = "simple-bus"; - #address-cells = <2>; - #size-cells = <1>; - ranges = <0 0 0x40000000 0x08000000 - 1 0 0x48000000 0x08000000 - 2 0 0x50000000 0x08000000 - 3 0 0x58000000 0x08000000>; - }; - - axi2pico@c0000000 { - compatible = "picochip,axi2pico-pc3x3"; - reg = <0xc0000000 0x10000>; - interrupt-parent = <&vic0>; - interrupts = <13 14 15 16 17 18 19 20 21>; - }; - - otp@ffff8000 { - compatible = "picochip,otp-pc3x3"; - reg = <0xffff8000 0x8000>; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/picoxcell-pc7302-pc3x2.dts b/kernel/arch/arm/boot/dts/tr961-5200l-v2/picoxcell-pc7302-pc3x2.dts deleted file mode 100644 index 1297414dd..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/picoxcell-pc7302-pc3x2.dts +++ /dev/null @@ -1,86 +0,0 @@ -/* - * Copyright (C) 2011 Picochip, Jamie Iles - * - * This software is licensed under the terms of the GNU General Public - * License version 2, as published by the Free Software Foundation, and - * may be copied, distributed, and modified under those terms. - * - * 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. - */ - -/dts-v1/; -/include/ "picoxcell-pc3x2.dtsi" -/ { - model = "Picochip PC7302 (PC3X2)"; - compatible = "picochip,pc7302-pc3x2", "picochip,pc3x2"; - - memory { - device_type = "memory"; - reg = <0x0 0x08000000>; - }; - - chosen { - linux,stdout-path = &uart0; - }; - - clocks { - ref_clk: clock@1 { - compatible = "fixed-clock"; - clock-outputs = "ref"; - clock-frequency = <20000000>; - }; - }; - - rwid-axi { - ebi@50000000 { - nand: gpio-nand@2,0 { - compatible = "gpio-control-nand"; - #address-cells = <1>; - #size-cells = <1>; - reg = <2 0x0000 0x1000>; - bus-clock = <&pclk>, "bus"; - gpio-control-nand,io-sync-reg = - <0x00000000 0x80220000>; - - gpios = <&banka 1 0 /* rdy */ - &banka 2 0 /* nce */ - &banka 3 0 /* ale */ - &banka 4 0 /* cle */ - 0 /* nwp */>; - - boot@100000 { - label = "Boot"; - reg = <0x100000 0x80000>; - }; - - redundant-boot@200000 { - label = "Redundant Boot"; - reg = <0x200000 0x80000>; - }; - - boot-env@300000 { - label = "Boot Evironment"; - reg = <0x300000 0x20000>; - }; - - redundant-boot-env@320000 { - label = "Redundant Boot Environment"; - reg = <0x300000 0x20000>; - }; - - kernel@380000 { - label = "Kernel"; - reg = <0x380000 0x800000>; - }; - - fs@b80000 { - label = "File System"; - reg = <0xb80000 0xf480000>; - }; - }; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/picoxcell-pc7302-pc3x3.dts b/kernel/arch/arm/boot/dts/tr961-5200l-v2/picoxcell-pc7302-pc3x3.dts deleted file mode 100644 index 9e317a4f4..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/picoxcell-pc7302-pc3x3.dts +++ /dev/null @@ -1,92 +0,0 @@ -/* - * Copyright (C) 2011 Picochip, Jamie Iles - * - * This software is licensed under the terms of the GNU General Public - * License version 2, as published by the Free Software Foundation, and - * may be copied, distributed, and modified under those terms. - * - * 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. - */ - -/dts-v1/; -/include/ "picoxcell-pc3x3.dtsi" -/ { - model = "Picochip PC7302 (PC3X3)"; - compatible = "picochip,pc7302-pc3x3", "picochip,pc3x3"; - - memory { - device_type = "memory"; - reg = <0x0 0x08000000>; - }; - - chosen { - linux,stdout-path = &uart0; - }; - - clocks { - ref_clk: clock@10 { - compatible = "fixed-clock"; - clock-outputs = "ref"; - clock-frequency = <20000000>; - }; - - clkgate: clkgate@800a0048 { - clock@4 { - picochip,clk-no-disable; - }; - }; - }; - - rwid-axi { - ebi@50000000 { - nand: gpio-nand@2,0 { - compatible = "gpio-control-nand"; - #address-cells = <1>; - #size-cells = <1>; - reg = <2 0x0000 0x1000>; - bus-clock = <&ebi_clk>, "bus"; - gpio-control-nand,io-sync-reg = - <0x00000000 0x80220000>; - - gpios = <&banka 1 0 /* rdy */ - &banka 2 0 /* nce */ - &banka 3 0 /* ale */ - &banka 4 0 /* cle */ - 0 /* nwp */>; - - boot@100000 { - label = "Boot"; - reg = <0x100000 0x80000>; - }; - - redundant-boot@200000 { - label = "Redundant Boot"; - reg = <0x200000 0x80000>; - }; - - boot-env@300000 { - label = "Boot Evironment"; - reg = <0x300000 0x20000>; - }; - - redundant-boot-env@320000 { - label = "Redundant Boot Environment"; - reg = <0x300000 0x20000>; - }; - - kernel@380000 { - label = "Kernel"; - reg = <0x380000 0x800000>; - }; - - fs@b80000 { - label = "File System"; - reg = <0xb80000 0xf480000>; - }; - }; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/prima2-cb.dts b/kernel/arch/arm/boot/dts/tr961-5200l-v2/prima2-cb.dts deleted file mode 100644 index 34ae3a64b..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/prima2-cb.dts +++ /dev/null @@ -1,424 +0,0 @@ -/dts-v1/; -/ { - model = "SiRF Prima2 eVB"; - compatible = "sirf,prima2-cb", "sirf,prima2"; - #address-cells = <1>; - #size-cells = <1>; - interrupt-parent = <&intc>; - - memory { - reg = <0x00000000 0x20000000>; - }; - - chosen { - bootargs = "mem=512M real_root=/dev/mmcblk0p2 console=ttyS0 panel=1 bootsplash=true bpp=16 androidboot.console=ttyS1"; - linux,stdout-path = &uart1; - }; - - cpus { - #address-cells = <1>; - #size-cells = <0>; - - cpu@0 { - reg = <0x0>; - d-cache-line-size = <32>; - i-cache-line-size = <32>; - d-cache-size = <32768>; - i-cache-size = <32768>; - /* from bootloader */ - timebase-frequency = <0>; - bus-frequency = <0>; - clock-frequency = <0>; - }; - }; - - axi { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0x40000000 0x40000000 0x80000000>; - - l2-cache-controller@80040000 { - compatible = "arm,pl310-cache", "sirf,prima2-pl310-cache"; - reg = <0x80040000 0x1000>; - interrupts = <59>; - arm,tag-latency = <1 1 1>; - arm,data-latency = <1 1 1>; - arm,filter-ranges = <0 0x40000000>; - }; - - intc: interrupt-controller@80020000 { - #interrupt-cells = <1>; - interrupt-controller; - compatible = "sirf,prima2-intc"; - reg = <0x80020000 0x1000>; - }; - - sys-iobg { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0x88000000 0x88000000 0x40000>; - - clock-controller@88000000 { - compatible = "sirf,prima2-clkc"; - reg = <0x88000000 0x1000>; - interrupts = <3>; - }; - - reset-controller@88010000 { - compatible = "sirf,prima2-rstc"; - reg = <0x88010000 0x1000>; - }; - - rsc-controller@88020000 { - compatible = "sirf,prima2-rsc"; - reg = <0x88020000 0x1000>; - }; - }; - - mem-iobg { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0x90000000 0x90000000 0x10000>; - - memory-controller@90000000 { - compatible = "sirf,prima2-memc"; - reg = <0x90000000 0x10000>; - interrupts = <27>; - }; - }; - - disp-iobg { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0x90010000 0x90010000 0x30000>; - - display@90010000 { - compatible = "sirf,prima2-lcd"; - reg = <0x90010000 0x20000>; - interrupts = <30>; - }; - - vpp@90020000 { - compatible = "sirf,prima2-vpp"; - reg = <0x90020000 0x10000>; - interrupts = <31>; - }; - }; - - graphics-iobg { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0x98000000 0x98000000 0x8000000>; - - graphics@98000000 { - compatible = "powervr,sgx531"; - reg = <0x98000000 0x8000000>; - interrupts = <6>; - }; - }; - - multimedia-iobg { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0xa0000000 0xa0000000 0x8000000>; - - multimedia@a0000000 { - compatible = "sirf,prima2-video-codec"; - reg = <0xa0000000 0x8000000>; - interrupts = <5>; - }; - }; - - dsp-iobg { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0xa8000000 0xa8000000 0x2000000>; - - dspif@a8000000 { - compatible = "sirf,prima2-dspif"; - reg = <0xa8000000 0x10000>; - interrupts = <9>; - }; - - gps@a8010000 { - compatible = "sirf,prima2-gps"; - reg = <0xa8010000 0x10000>; - interrupts = <7>; - }; - - dsp@a9000000 { - compatible = "sirf,prima2-dsp"; - reg = <0xa9000000 0x1000000>; - interrupts = <8>; - }; - }; - - peri-iobg { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0xb0000000 0xb0000000 0x180000>; - - timer@b0020000 { - compatible = "sirf,prima2-tick"; - reg = <0xb0020000 0x1000>; - interrupts = <0>; - }; - - nand@b0030000 { - compatible = "sirf,prima2-nand"; - reg = <0xb0030000 0x10000>; - interrupts = <41>; - }; - - audio@b0040000 { - compatible = "sirf,prima2-audio"; - reg = <0xb0040000 0x10000>; - interrupts = <35>; - }; - - uart0: uart@b0050000 { - cell-index = <0>; - compatible = "sirf,prima2-uart"; - reg = <0xb0050000 0x10000>; - interrupts = <17>; - }; - - uart1: uart@b0060000 { - cell-index = <1>; - compatible = "sirf,prima2-uart"; - reg = <0xb0060000 0x10000>; - interrupts = <18>; - }; - - uart2: uart@b0070000 { - cell-index = <2>; - compatible = "sirf,prima2-uart"; - reg = <0xb0070000 0x10000>; - interrupts = <19>; - }; - - usp0: usp@b0080000 { - cell-index = <0>; - compatible = "sirf,prima2-usp"; - reg = <0xb0080000 0x10000>; - interrupts = <20>; - }; - - usp1: usp@b0090000 { - cell-index = <1>; - compatible = "sirf,prima2-usp"; - reg = <0xb0090000 0x10000>; - interrupts = <21>; - }; - - usp2: usp@b00a0000 { - cell-index = <2>; - compatible = "sirf,prima2-usp"; - reg = <0xb00a0000 0x10000>; - interrupts = <22>; - }; - - dmac0: dma-controller@b00b0000 { - cell-index = <0>; - compatible = "sirf,prima2-dmac"; - reg = <0xb00b0000 0x10000>; - interrupts = <12>; - }; - - dmac1: dma-controller@b0160000 { - cell-index = <1>; - compatible = "sirf,prima2-dmac"; - reg = <0xb0160000 0x10000>; - interrupts = <13>; - }; - - vip@b00C0000 { - compatible = "sirf,prima2-vip"; - reg = <0xb00C0000 0x10000>; - }; - - spi0: spi@b00d0000 { - cell-index = <0>; - compatible = "sirf,prima2-spi"; - reg = <0xb00d0000 0x10000>; - interrupts = <15>; - }; - - spi1: spi@b0170000 { - cell-index = <1>; - compatible = "sirf,prima2-spi"; - reg = <0xb0170000 0x10000>; - interrupts = <16>; - }; - - i2c0: i2c@b00e0000 { - cell-index = <0>; - compatible = "sirf,prima2-i2c"; - reg = <0xb00e0000 0x10000>; - interrupts = <24>; - }; - - i2c1: i2c@b00f0000 { - cell-index = <1>; - compatible = "sirf,prima2-i2c"; - reg = <0xb00f0000 0x10000>; - interrupts = <25>; - }; - - tsc@b0110000 { - compatible = "sirf,prima2-tsc"; - reg = <0xb0110000 0x10000>; - interrupts = <33>; - }; - - gpio: gpio-controller@b0120000 { - #gpio-cells = <2>; - #interrupt-cells = <2>; - compatible = "sirf,prima2-gpio-pinmux"; - reg = <0xb0120000 0x10000>; - gpio-controller; - interrupt-controller; - }; - - pwm@b0130000 { - compatible = "sirf,prima2-pwm"; - reg = <0xb0130000 0x10000>; - }; - - efusesys@b0140000 { - compatible = "sirf,prima2-efuse"; - reg = <0xb0140000 0x10000>; - }; - - pulsec@b0150000 { - compatible = "sirf,prima2-pulsec"; - reg = <0xb0150000 0x10000>; - interrupts = <48>; - }; - - pci-iobg { - compatible = "sirf,prima2-pciiobg", "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0x56000000 0x56000000 0x1b00000>; - - sd0: sdhci@56000000 { - cell-index = <0>; - compatible = "sirf,prima2-sdhc"; - reg = <0x56000000 0x100000>; - interrupts = <38>; - }; - - sd1: sdhci@56100000 { - cell-index = <1>; - compatible = "sirf,prima2-sdhc"; - reg = <0x56100000 0x100000>; - interrupts = <38>; - }; - - sd2: sdhci@56200000 { - cell-index = <2>; - compatible = "sirf,prima2-sdhc"; - reg = <0x56200000 0x100000>; - interrupts = <23>; - }; - - sd3: sdhci@56300000 { - cell-index = <3>; - compatible = "sirf,prima2-sdhc"; - reg = <0x56300000 0x100000>; - interrupts = <23>; - }; - - sd4: sdhci@56400000 { - cell-index = <4>; - compatible = "sirf,prima2-sdhc"; - reg = <0x56400000 0x100000>; - interrupts = <39>; - }; - - sd5: sdhci@56500000 { - cell-index = <5>; - compatible = "sirf,prima2-sdhc"; - reg = <0x56500000 0x100000>; - interrupts = <39>; - }; - - pci-copy@57900000 { - compatible = "sirf,prima2-pcicp"; - reg = <0x57900000 0x100000>; - interrupts = <40>; - }; - - rom-interface@57a00000 { - compatible = "sirf,prima2-romif"; - reg = <0x57a00000 0x100000>; - }; - }; - }; - - rtc-iobg { - compatible = "sirf,prima2-rtciobg", "sirf-prima2-rtciobg-bus"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0x80030000 0x10000>; - - gpsrtc@1000 { - compatible = "sirf,prima2-gpsrtc"; - reg = <0x1000 0x1000>; - interrupts = <55 56 57>; - }; - - sysrtc@2000 { - compatible = "sirf,prima2-sysrtc"; - reg = <0x2000 0x1000>; - interrupts = <52 53 54>; - }; - - pwrc@3000 { - compatible = "sirf,prima2-pwrc"; - reg = <0x3000 0x1000>; - interrupts = <32>; - }; - }; - - uus-iobg { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0xb8000000 0xb8000000 0x40000>; - - usb0: usb@b00e0000 { - compatible = "chipidea,ci13611a-prima2"; - reg = <0xb8000000 0x10000>; - interrupts = <10>; - }; - - usb1: usb@b00f0000 { - compatible = "chipidea,ci13611a-prima2"; - reg = <0xb8010000 0x10000>; - interrupts = <11>; - }; - - sata@b00f0000 { - compatible = "synopsys,dwc-ahsata"; - reg = <0xb8020000 0x10000>; - interrupts = <37>; - }; - - security@b00f0000 { - compatible = "sirf,prima2-security"; - reg = <0xb8030000 0x10000>; - interrupts = <42>; - }; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/pxa168-aspenite.dts b/kernel/arch/arm/boot/dts/tr961-5200l-v2/pxa168-aspenite.dts deleted file mode 100644 index e762facb3..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/pxa168-aspenite.dts +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright (C) 2012 Marvell Technology Group Ltd. - * Author: Haojian Zhuang - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * publishhed by the Free Software Foundation. - */ - -/dts-v1/; -/include/ "pxa168.dtsi" - -/ { - model = "Marvell PXA168 Aspenite Development Board"; - compatible = "mrvl,pxa168-aspenite", "mrvl,pxa168"; - - chosen { - bootargs = "console=ttyS0,115200 root=/dev/nfs nfsroot=192.168.1.100:/nfsroot/ ip=192.168.1.101:192.168.1.100::255.255.255.0::eth0:on"; - }; - - memory { - reg = <0x00000000 0x04000000>; - }; - - soc { - apb@d4000000 { - uart1: uart@d4017000 { - status = "okay"; - }; - twsi1: i2c@d4011000 { - status = "okay"; - }; - rtc: rtc@d4010000 { - status = "okay"; - }; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/pxa168.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v2/pxa168.dtsi deleted file mode 100644 index d32d5128f..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/pxa168.dtsi +++ /dev/null @@ -1,98 +0,0 @@ -/* - * Copyright (C) 2012 Marvell Technology Group Ltd. - * Author: Haojian Zhuang - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * publishhed by the Free Software Foundation. - */ - -/include/ "skeleton.dtsi" - -/ { - aliases { - serial0 = &uart1; - serial1 = &uart2; - serial2 = &uart3; - i2c0 = &twsi1; - i2c1 = &twsi2; - }; - - intc: intc-interrupt-controller@d4282000 { - compatible = "mrvl,mmp-intc", "mrvl,intc"; - interrupt-controller; - #interrupt-cells = <1>; - reg = <0xd4282000 0x1000>; - }; - - soc { - #address-cells = <1>; - #size-cells = <1>; - compatible = "simple-bus"; - interrupt-parent = <&intc>; - ranges; - - apb@d4000000 { /* APB */ - compatible = "mrvl,apb-bus", "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xd4000000 0x00200000>; - ranges; - - uart1: uart@d4017000 { - compatible = "mrvl,mmp-uart", "mrvl,pxa-uart"; - reg = <0xd4017000 0x1000>; - interrupts = <27>; - status = "disabled"; - }; - - uart2: uart@d4018000 { - compatible = "mrvl,mmp-uart", "mrvl,pxa-uart"; - reg = <0xd4018000 0x1000>; - interrupts = <28>; - status = "disabled"; - }; - - uart3: uart@d4026000 { - compatible = "mrvl,mmp-uart", "mrvl,pxa-uart"; - reg = <0xd4026000 0x1000>; - interrupts = <29>; - status = "disabled"; - }; - - gpio: gpio@d4019000 { - compatible = "mrvl,mmp-gpio", "mrvl,pxa-gpio"; - reg = <0xd4019000 0x1000>; - interrupts = <49>; - interrupt-names = "gpio_mux"; - gpio-controller; - #gpio-cells = <1>; - interrupt-controller; - #interrupt-cells = <1>; - }; - - twsi1: i2c@d4011000 { - compatible = "mrvl,mmp-twsi", "mrvl,pxa-i2c"; - reg = <0xd4011000 0x1000>; - interrupts = <7>; - mrvl,i2c-fast-mode; - status = "disabled"; - }; - - twsi2: i2c@d4025000 { - compatible = "mrvl,mmp-twsi", "mrvl,pxa-i2c"; - reg = <0xd4025000 0x1000>; - interrupts = <58>; - status = "disabled"; - }; - - rtc: rtc@d4010000 { - compatible = "mrvl,mmp-rtc"; - reg = <0xd4010000 0x1000>; - interrupts = <5 6>; - interrupt-names = "rtc 1Hz", "rtc alarm"; - status = "disabled"; - }; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/qpic-panel-ili-qvga.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v2/qpic-panel-ili-qvga.dtsi deleted file mode 100644 index 089f1125d..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/qpic-panel-ili-qvga.dtsi +++ /dev/null @@ -1,27 +0,0 @@ -/* Copyright (c) 2013, 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. - */ - -&soc { - qcom,mdss_lcdc_ili9341_qvga { - compatible = "qcom,mdss-qpic-panel"; - label = "ili qvga lcdc panel"; - vdd-supply = <&pm8019_l11>; - avdd-supply = <&pm8019_l14>; - qcom,cs-gpio = <&msmgpio 21 0>; - qcom,te-gpio = <&msmgpio 22 0>; - qcom,rst-gpio = <&msmgpio 23 0>; - qcom,ad8-gpio = <&msmgpio 20 0>; - qcom,mdss-pan-res = <240 320>; - qcom,mdss-pan-bpp = <18>; - qcom,refresh_rate = <60>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/skeleton.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v2/skeleton.dtsi deleted file mode 100644 index f9988cd78..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/skeleton.dtsi +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Skeleton device tree; the bare minimum needed to boot; just include and - * add a compatible value. The bootloader will typically populate the memory - * node. - */ - -/ { - #address-cells = <1>; - #size-cells = <1>; - chosen { }; - aliases { }; - memory { - #address-cells = <1>; - #size-cells = <1>; - device_type = "memory"; - reg = <0 0>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/skeleton64.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v2/skeleton64.dtsi deleted file mode 100644 index 5bf6a82f0..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/skeleton64.dtsi +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Skeleton device tree; the bare minimum needed to boot; just include and - * add a compatible value. The bootloader will typically populate the memory - * node. - */ - -/ { - #address-cells = <2>; - #size-cells = <2>; - chosen { }; - aliases { }; - memory { - #address-cells = <2>; - #size-cells = <2>; - device_type = "memory"; - reg = <0 0 0 0>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/snowball.dts b/kernel/arch/arm/boot/dts/tr961-5200l-v2/snowball.dts deleted file mode 100644 index 359c6d679..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/snowball.dts +++ /dev/null @@ -1,139 +0,0 @@ -/* - * Copyright 2011 ST-Ericsson AB - * - * The code contained herein is licensed under the GNU General Public - * License. You may obtain a copy of the GNU General Public License - * Version 2 or later at the following locations: - * - * http://www.opensource.org/licenses/gpl-license.html - * http://www.gnu.org/copyleft/gpl.html - */ - -/dts-v1/; -/include/ "db8500.dtsi" - -/ { - model = "Calao Systems Snowball platform with device tree"; - compatible = "calaosystems,snowball-a9500"; - - memory { - reg = <0x00000000 0x20000000>; - }; - - gpio_keys { - compatible = "gpio-keys"; - #address-cells = <1>; - #size-cells = <0>; - - button@1 { - debounce_interval = <50>; - wakeup = <1>; - linux,code = <2>; - label = "userpb"; - gpios = <&gpio1 0>; - }; - button@2 { - debounce_interval = <50>; - wakeup = <1>; - linux,code = <3>; - label = "userpb"; - gpios = <&gpio4 23>; - }; - button@3 { - debounce_interval = <50>; - wakeup = <1>; - linux,code = <4>; - label = "userpb"; - gpios = <&gpio4 23>; - }; - button@4 { - debounce_interval = <50>; - wakeup = <1>; - linux,code = <5>; - label = "userpb"; - gpios = <&gpio5 1>; - }; - button@5 { - debounce_interval = <50>; - wakeup = <1>; - linux,code = <6>; - label = "userpb"; - gpios = <&gpio5 2>; - }; - }; - - leds { - compatible = "gpio-leds"; - used-led { - label = "user_led"; - gpios = <&gpio4 14>; - }; - }; - - soc-u9500 { - - external-bus@50000000 { - compatible = "simple-bus"; - reg = <0x50000000 0x10000000>; - #address-cells = <1>; - #size-cells = <1>; - ranges; - - ethernet@50000000 { - compatible = "smsc,9111"; - reg = <0x50000000 0x10000>; - interrupts = <12>; - interrupt-parent = <&gpio4>; - }; - }; - - sdi@80126000 { - status = "enabled"; - cd-gpios = <&gpio6 26>; - }; - - sdi@80114000 { - status = "enabled"; - }; - - uart@80120000 { - status = "okay"; - }; - - uart@80121000 { - status = "okay"; - }; - - uart@80007000 { - status = "okay"; - }; - - i2c@80004000 { - tc3589x@42 { - //compatible = "tc3589x"; - reg = <0x42>; - interrupts = <25>; - interrupt-parent = <&gpio6>; - }; - tps61052@33 { - //compatible = "tps61052"; - reg = <0x33>; - }; - }; - - i2c@80128000 { - lp5521@0x33 { - // compatible = "lp5521"; - reg = <0x33>; - }; - lp5521@0x34 { - // compatible = "lp5521"; - reg = <0x34>; - }; - bh1780@0x29 { - // compatible = "rohm,bh1780gli"; - reg = <0x33>; - }; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/spear600-evb.dts b/kernel/arch/arm/boot/dts/tr961-5200l-v2/spear600-evb.dts deleted file mode 100644 index 636292e18..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/spear600-evb.dts +++ /dev/null @@ -1,47 +0,0 @@ -/* - * Copyright 2012 Stefan Roese - * - * The code contained herein is licensed under the GNU General Public - * License. You may obtain a copy of the GNU General Public License - * Version 2 or later at the following locations: - * - * http://www.opensource.org/licenses/gpl-license.html - * http://www.gnu.org/copyleft/gpl.html - */ - -/dts-v1/; -/include/ "spear600.dtsi" - -/ { - model = "ST SPEAr600 Evaluation Board"; - compatible = "st,spear600-evb", "st,spear600"; - #address-cells = <1>; - #size-cells = <1>; - - memory { - device_type = "memory"; - reg = <0 0x10000000>; - }; - - ahb { - gmac: ethernet@e0800000 { - phy-mode = "gmii"; - status = "okay"; - }; - - apb { - serial@d0000000 { - status = "okay"; - }; - - serial@d0080000 { - status = "okay"; - }; - - i2c@d0200000 { - clock-frequency = <400000>; - status = "okay"; - }; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/spear600.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v2/spear600.dtsi deleted file mode 100644 index ebe0885a2..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/spear600.dtsi +++ /dev/null @@ -1,174 +0,0 @@ -/* - * Copyright 2012 Stefan Roese - * - * The code contained herein is licensed under the GNU General Public - * License. You may obtain a copy of the GNU General Public License - * Version 2 or later at the following locations: - * - * http://www.opensource.org/licenses/gpl-license.html - * http://www.gnu.org/copyleft/gpl.html - */ - -/include/ "skeleton.dtsi" - -/ { - compatible = "st,spear600"; - - cpus { - cpu@0 { - compatible = "arm,arm926ejs"; - }; - }; - - memory { - device_type = "memory"; - reg = <0 0x40000000>; - }; - - ahb { - #address-cells = <1>; - #size-cells = <1>; - compatible = "simple-bus"; - ranges = <0xd0000000 0xd0000000 0x30000000>; - - vic0: interrupt-controller@f1100000 { - compatible = "arm,pl190-vic"; - interrupt-controller; - reg = <0xf1100000 0x1000>; - #interrupt-cells = <1>; - }; - - vic1: interrupt-controller@f1000000 { - compatible = "arm,pl190-vic"; - interrupt-controller; - reg = <0xf1000000 0x1000>; - #interrupt-cells = <1>; - }; - - gmac: ethernet@e0800000 { - compatible = "st,spear600-gmac"; - reg = <0xe0800000 0x8000>; - interrupt-parent = <&vic1>; - interrupts = <24 23>; - interrupt-names = "macirq", "eth_wake_irq"; - status = "disabled"; - }; - - fsmc: flash@d1800000 { - compatible = "st,spear600-fsmc-nand"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xd1800000 0x1000 /* FSMC Register */ - 0xd2000000 0x4000>; /* NAND Base */ - reg-names = "fsmc_regs", "nand_data"; - st,ale-off = <0x20000>; - st,cle-off = <0x10000>; - status = "disabled"; - }; - - smi: flash@fc000000 { - compatible = "st,spear600-smi"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xfc000000 0x1000>; - interrupt-parent = <&vic1>; - interrupts = <12>; - status = "disabled"; - }; - - ehci@e1800000 { - compatible = "st,spear600-ehci", "usb-ehci"; - reg = <0xe1800000 0x1000>; - interrupt-parent = <&vic1>; - interrupts = <27>; - status = "disabled"; - }; - - ehci@e2000000 { - compatible = "st,spear600-ehci", "usb-ehci"; - reg = <0xe2000000 0x1000>; - interrupt-parent = <&vic1>; - interrupts = <29>; - status = "disabled"; - }; - - ohci@e1900000 { - compatible = "st,spear600-ohci", "usb-ohci"; - reg = <0xe1900000 0x1000>; - interrupt-parent = <&vic1>; - interrupts = <26>; - status = "disabled"; - }; - - ohci@e2100000 { - compatible = "st,spear600-ohci", "usb-ohci"; - reg = <0xe2100000 0x1000>; - interrupt-parent = <&vic1>; - interrupts = <28>; - status = "disabled"; - }; - - apb { - #address-cells = <1>; - #size-cells = <1>; - compatible = "simple-bus"; - ranges = <0xd0000000 0xd0000000 0x30000000>; - - serial@d0000000 { - compatible = "arm,pl011", "arm,primecell"; - reg = <0xd0000000 0x1000>; - interrupt-parent = <&vic0>; - interrupts = <24>; - status = "disabled"; - }; - - serial@d0080000 { - compatible = "arm,pl011", "arm,primecell"; - reg = <0xd0080000 0x1000>; - interrupt-parent = <&vic0>; - interrupts = <25>; - status = "disabled"; - }; - - /* local/cpu GPIO */ - gpio0: gpio@f0100000 { - #gpio-cells = <2>; - compatible = "arm,pl061", "arm,primecell"; - gpio-controller; - reg = <0xf0100000 0x1000>; - interrupt-parent = <&vic0>; - interrupts = <18>; - }; - - /* basic GPIO */ - gpio1: gpio@fc980000 { - #gpio-cells = <2>; - compatible = "arm,pl061", "arm,primecell"; - gpio-controller; - reg = <0xfc980000 0x1000>; - interrupt-parent = <&vic1>; - interrupts = <19>; - }; - - /* appl GPIO */ - gpio2: gpio@d8100000 { - #gpio-cells = <2>; - compatible = "arm,pl061", "arm,primecell"; - gpio-controller; - reg = <0xd8100000 0x1000>; - interrupt-parent = <&vic1>; - interrupts = <4>; - }; - - i2c@d0200000 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "snps,designware-i2c"; - reg = <0xd0200000 0x1000>; - interrupt-parent = <&vic0>; - interrupts = <28>; - status = "disabled"; - }; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/tegra-cardhu.dts b/kernel/arch/arm/boot/dts/tr961-5200l-v2/tegra-cardhu.dts deleted file mode 100644 index ac3fb7558..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/tegra-cardhu.dts +++ /dev/null @@ -1,70 +0,0 @@ -/dts-v1/; - -/include/ "tegra30.dtsi" - -/ { - model = "NVIDIA Tegra30 Cardhu evaluation board"; - compatible = "nvidia,cardhu", "nvidia,tegra30"; - - memory { - reg = < 0x80000000 0x40000000 >; - }; - - serial@70006000 { - clock-frequency = < 408000000 >; - }; - - serial@70006040 { - status = "disable"; - }; - - serial@70006200 { - status = "disable"; - }; - - serial@70006300 { - status = "disable"; - }; - - serial@70006400 { - status = "disable"; - }; - - i2c@7000c000 { - clock-frequency = <100000>; - }; - - i2c@7000c400 { - clock-frequency = <100000>; - }; - - i2c@7000c500 { - clock-frequency = <100000>; - }; - - i2c@7000c700 { - clock-frequency = <100000>; - }; - - i2c@7000d000 { - clock-frequency = <100000>; - }; - - sdhci@78000000 { - cd-gpios = <&gpio 69 0>; /* gpio PI5 */ - wp-gpios = <&gpio 155 0>; /* gpio PT3 */ - power-gpios = <&gpio 31 0>; /* gpio PD7 */ - }; - - sdhci@78000200 { - status = "disable"; - }; - - sdhci@78000400 { - status = "disable"; - }; - - sdhci@78000400 { - support-8bit; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/tegra-harmony.dts b/kernel/arch/arm/boot/dts/tr961-5200l-v2/tegra-harmony.dts deleted file mode 100644 index 6e8447dc0..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/tegra-harmony.dts +++ /dev/null @@ -1,115 +0,0 @@ -/dts-v1/; - -/include/ "tegra20.dtsi" - -/ { - model = "NVIDIA Tegra2 Harmony evaluation board"; - compatible = "nvidia,harmony", "nvidia,tegra20"; - - memory@0 { - reg = < 0x00000000 0x40000000 >; - }; - - pmc@7000f400 { - nvidia,invert-interrupt; - }; - - i2c@7000c000 { - clock-frequency = <400000>; - - wm8903: wm8903@1a { - compatible = "wlf,wm8903"; - reg = <0x1a>; - interrupt-parent = <&gpio>; - interrupts = < 187 0x04 >; - - gpio-controller; - #gpio-cells = <2>; - - micdet-cfg = <0>; - micdet-delay = <100>; - gpio-cfg = < 0xffffffff 0xffffffff 0 0xffffffff 0xffffffff >; - }; - }; - - i2c@7000c400 { - clock-frequency = <400000>; - }; - - i2c@7000c500 { - clock-frequency = <400000>; - }; - - i2c@7000d000 { - clock-frequency = <400000>; - }; - - i2s@70002a00 { - status = "disable"; - }; - - sound { - compatible = "nvidia,tegra-audio-wm8903-harmony", - "nvidia,tegra-audio-wm8903"; - nvidia,model = "NVIDIA Tegra Harmony"; - - nvidia,audio-routing = - "Headphone Jack", "HPOUTR", - "Headphone Jack", "HPOUTL", - "Int Spk", "ROP", - "Int Spk", "RON", - "Int Spk", "LOP", - "Int Spk", "LON", - "Mic Jack", "MICBIAS", - "IN1L", "Mic Jack"; - - nvidia,i2s-controller = <&tegra_i2s1>; - nvidia,audio-codec = <&wm8903>; - - nvidia,spkr-en-gpios = <&wm8903 2 0>; - nvidia,hp-det-gpios = <&gpio 178 0>; /* gpio PW2 */ - nvidia,int-mic-en-gpios = <&gpio 184 0>; /*gpio PX0 */ - nvidia,ext-mic-en-gpios = <&gpio 185 0>; /* gpio PX1 */ - }; - - serial@70006000 { - status = "disable"; - }; - - serial@70006040 { - status = "disable"; - }; - - serial@70006200 { - status = "disable"; - }; - - serial@70006300 { - clock-frequency = < 216000000 >; - }; - - serial@70006400 { - status = "disable"; - }; - - sdhci@c8000000 { - status = "disable"; - }; - - sdhci@c8000200 { - cd-gpios = <&gpio 69 0>; /* gpio PI5 */ - wp-gpios = <&gpio 57 0>; /* gpio PH1 */ - power-gpios = <&gpio 155 0>; /* gpio PT3 */ - }; - - sdhci@c8000400 { - status = "disable"; - }; - - sdhci@c8000600 { - cd-gpios = <&gpio 58 0>; /* gpio PH2 */ - wp-gpios = <&gpio 59 0>; /* gpio PH3 */ - power-gpios = <&gpio 70 0>; /* gpio PI6 */ - support-8bit; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/tegra-paz00.dts b/kernel/arch/arm/boot/dts/tr961-5200l-v2/tegra-paz00.dts deleted file mode 100644 index 6c02abb46..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/tegra-paz00.dts +++ /dev/null @@ -1,134 +0,0 @@ -/dts-v1/; - -/include/ "tegra20.dtsi" - -/ { - model = "Toshiba AC100 / Dynabook AZ"; - compatible = "compal,paz00", "nvidia,tegra20"; - - memory@0 { - reg = <0x00000000 0x20000000>; - }; - - i2c@7000c000 { - clock-frequency = <400000>; - - alc5632: alc5632@1e { - compatible = "realtek,alc5632"; - reg = <0x1e>; - gpio-controller; - #gpio-cells = <2>; - }; - }; - - i2c@7000c400 { - clock-frequency = <400000>; - }; - - i2c@7000c500 { - status = "disable"; - }; - - nvec@7000c500 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "nvidia,nvec"; - reg = <0x7000C500 0x100>; - interrupts = <0 92 0x04>; - clock-frequency = <80000>; - request-gpios = <&gpio 170 0>; - slave-addr = <138>; - }; - - i2c@7000d000 { - clock-frequency = <400000>; - - adt7461@4c { - compatible = "adi,adt7461"; - reg = <0x4c>; - }; - }; - - i2s@70002a00 { - status = "disable"; - }; - - sound { - compatible = "nvidia,tegra-audio-alc5632-paz00", - "nvidia,tegra-audio-alc5632"; - - nvidia,model = "Compal PAZ00"; - - nvidia,audio-routing = - "Int Spk", "SPKOUT", - "Int Spk", "SPKOUTN", - "Headset Mic", "MICBIAS1", - "MIC1", "Headset Mic", - "Headset Stereophone", "HPR", - "Headset Stereophone", "HPL", - "DMICDAT", "Digital Mic"; - - nvidia,audio-codec = <&alc5632>; - nvidia,i2s-controller = <&tegra_i2s1>; - nvidia,hp-det-gpios = <&gpio 178 0>; /* gpio PW2 */ - }; - - serial@70006000 { - clock-frequency = <216000000>; - }; - - serial@70006040 { - status = "disable"; - }; - - serial@70006200 { - clock-frequency = <216000000>; - }; - - serial@70006300 { - status = "disable"; - }; - - serial@70006400 { - status = "disable"; - }; - - sdhci@c8000000 { - cd-gpios = <&gpio 173 0>; /* gpio PV5 */ - wp-gpios = <&gpio 57 0>; /* gpio PH1 */ - power-gpios = <&gpio 169 0>; /* gpio PV1 */ - }; - - sdhci@c8000200 { - status = "disable"; - }; - - sdhci@c8000400 { - status = "disable"; - }; - - sdhci@c8000600 { - support-8bit; - }; - - gpio-keys { - compatible = "gpio-keys"; - - power { - label = "Power"; - gpios = <&gpio 79 1>; /* gpio PJ7, active low */ - linux,code = <116>; /* KEY_POWER */ - gpio-key,wakeup; - }; - }; - - gpio-leds { - compatible = "gpio-leds"; - - wifi { - label = "wifi-led"; - gpios = <&gpio 24 0>; - linux,default-trigger = "rfkill0"; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/tegra-seaboard.dts b/kernel/arch/arm/boot/dts/tr961-5200l-v2/tegra-seaboard.dts deleted file mode 100644 index dbf1c5a17..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/tegra-seaboard.dts +++ /dev/null @@ -1,175 +0,0 @@ -/dts-v1/; - -/include/ "tegra20.dtsi" - -/ { - model = "NVIDIA Seaboard"; - compatible = "nvidia,seaboard", "nvidia,tegra20"; - - memory { - device_type = "memory"; - reg = < 0x00000000 0x40000000 >; - }; - - i2c@7000c000 { - clock-frequency = <400000>; - - wm8903: wm8903@1a { - compatible = "wlf,wm8903"; - reg = <0x1a>; - interrupt-parent = <&gpio>; - interrupts = < 187 0x04 >; - - gpio-controller; - #gpio-cells = <2>; - - micdet-cfg = <0>; - micdet-delay = <100>; - gpio-cfg = < 0xffffffff 0xffffffff 0 0xffffffff 0xffffffff >; - }; - }; - - i2c@7000c400 { - clock-frequency = <400000>; - }; - - i2c@7000c500 { - clock-frequency = <400000>; - }; - - i2c@7000d000 { - clock-frequency = <400000>; - - adt7461@4c { - compatible = "adt7461"; - reg = <0x4c>; - }; - }; - - i2s@70002a00 { - status = "disable"; - }; - - sound { - compatible = "nvidia,tegra-audio-wm8903-seaboard", - "nvidia,tegra-audio-wm8903"; - nvidia,model = "NVIDIA Tegra Seaboard"; - - nvidia,audio-routing = - "Headphone Jack", "HPOUTR", - "Headphone Jack", "HPOUTL", - "Int Spk", "ROP", - "Int Spk", "RON", - "Int Spk", "LOP", - "Int Spk", "LON", - "Mic Jack", "MICBIAS", - "IN1R", "Mic Jack"; - - nvidia,i2s-controller = <&tegra_i2s1>; - nvidia,audio-codec = <&wm8903>; - - nvidia,spkr-en-gpios = <&wm8903 2 0>; - nvidia,hp-det-gpios = <&gpio 185 0>; /* gpio PX1 */ - }; - - serial@70006000 { - status = "disable"; - }; - - serial@70006040 { - status = "disable"; - }; - - serial@70006200 { - status = "disable"; - }; - - serial@70006300 { - clock-frequency = < 216000000 >; - }; - - serial@70006400 { - status = "disable"; - }; - - sdhci@c8000000 { - status = "disable"; - }; - - sdhci@c8000200 { - status = "disable"; - }; - - sdhci@c8000400 { - cd-gpios = <&gpio 69 0>; /* gpio PI5 */ - wp-gpios = <&gpio 57 0>; /* gpio PH1 */ - power-gpios = <&gpio 70 0>; /* gpio PI6 */ - }; - - sdhci@c8000600 { - support-8bit; - }; - - usb@c5000000 { - nvidia,vbus-gpio = <&gpio 24 0>; /* PD0 */ - dr_mode = "otg"; - }; - - gpio-keys { - compatible = "gpio-keys"; - - power { - label = "Power"; - gpios = <&gpio 170 1>; /* gpio PV2, active low */ - linux,code = <116>; /* KEY_POWER */ - gpio-key,wakeup; - }; - - lid { - label = "Lid"; - gpios = <&gpio 23 0>; /* gpio PC7 */ - linux,input-type = <5>; /* EV_SW */ - linux,code = <0>; /* SW_LID */ - debounce-interval = <1>; - gpio-key,wakeup; - }; - }; - - emc@7000f400 { - emc-table@190000 { - reg = < 190000 >; - compatible = "nvidia,tegra20-emc-table"; - clock-frequency = < 190000 >; - nvidia,emc-registers = < 0x0000000c 0x00000026 - 0x00000009 0x00000003 0x00000004 0x00000004 - 0x00000002 0x0000000c 0x00000003 0x00000003 - 0x00000002 0x00000001 0x00000004 0x00000005 - 0x00000004 0x00000009 0x0000000d 0x0000059f - 0x00000000 0x00000003 0x00000003 0x00000003 - 0x00000003 0x00000001 0x0000000b 0x000000c8 - 0x00000003 0x00000007 0x00000004 0x0000000f - 0x00000002 0x00000000 0x00000000 0x00000002 - 0x00000000 0x00000000 0x00000083 0xa06204ae - 0x007dc010 0x00000000 0x00000000 0x00000000 - 0x00000000 0x00000000 0x00000000 0x00000000 >; - }; - - emc-table@380000 { - reg = < 380000 >; - compatible = "nvidia,tegra20-emc-table"; - clock-frequency = < 380000 >; - nvidia,emc-registers = < 0x00000017 0x0000004b - 0x00000012 0x00000006 0x00000004 0x00000005 - 0x00000003 0x0000000c 0x00000006 0x00000006 - 0x00000003 0x00000001 0x00000004 0x00000005 - 0x00000004 0x00000009 0x0000000d 0x00000b5f - 0x00000000 0x00000003 0x00000003 0x00000006 - 0x00000006 0x00000001 0x00000011 0x000000c8 - 0x00000003 0x0000000e 0x00000007 0x0000000f - 0x00000002 0x00000000 0x00000000 0x00000002 - 0x00000000 0x00000000 0x00000083 0xe044048b - 0x007d8010 0x00000000 0x00000000 0x00000000 - 0x00000000 0x00000000 0x00000000 0x00000000 >; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/tegra-trimslice.dts b/kernel/arch/arm/boot/dts/tr961-5200l-v2/tegra-trimslice.dts deleted file mode 100644 index 252476867..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/tegra-trimslice.dts +++ /dev/null @@ -1,77 +0,0 @@ -/dts-v1/; - -/include/ "tegra20.dtsi" - -/ { - model = "Compulab TrimSlice board"; - compatible = "compulab,trimslice", "nvidia,tegra20"; - - memory@0 { - reg = < 0x00000000 0x40000000 >; - }; - - i2c@7000c000 { - clock-frequency = <400000>; - }; - - i2c@7000c400 { - clock-frequency = <400000>; - }; - - i2c@7000c500 { - clock-frequency = <400000>; - }; - - i2c@7000d000 { - status = "disable"; - }; - - i2s@70002800 { - status = "disable"; - }; - - i2s@70002a00 { - status = "disable"; - }; - - das@70000c00 { - status = "disable"; - }; - - serial@70006000 { - clock-frequency = < 216000000 >; - }; - - serial@70006040 { - status = "disable"; - }; - - serial@70006200 { - status = "disable"; - }; - - serial@70006300 { - status = "disable"; - }; - - serial@70006400 { - status = "disable"; - }; - - sdhci@c8000000 { - status = "disable"; - }; - - sdhci@c8000200 { - status = "disable"; - }; - - sdhci@c8000400 { - status = "disable"; - }; - - sdhci@c8000600 { - cd-gpios = <&gpio 121 0>; - wp-gpios = <&gpio 122 0>; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/tegra-ventana.dts b/kernel/arch/arm/boot/dts/tr961-5200l-v2/tegra-ventana.dts deleted file mode 100644 index 2dcff8728..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/tegra-ventana.dts +++ /dev/null @@ -1,108 +0,0 @@ -/dts-v1/; - -/include/ "tegra20.dtsi" - -/ { - model = "NVIDIA Tegra2 Ventana evaluation board"; - compatible = "nvidia,ventana", "nvidia,tegra20"; - - memory { - reg = < 0x00000000 0x40000000 >; - }; - - i2c@7000c000 { - clock-frequency = <400000>; - - wm8903: wm8903@1a { - compatible = "wlf,wm8903"; - reg = <0x1a>; - interrupt-parent = <&gpio>; - interrupts = < 187 0x04 >; - - gpio-controller; - #gpio-cells = <2>; - - micdet-cfg = <0>; - micdet-delay = <100>; - gpio-cfg = < 0xffffffff 0xffffffff 0 0xffffffff 0xffffffff >; - }; - }; - - i2c@7000c400 { - clock-frequency = <400000>; - }; - - i2c@7000c500 { - clock-frequency = <400000>; - }; - - i2c@7000d000 { - clock-frequency = <400000>; - }; - - i2s@70002a00 { - status = "disable"; - }; - - sound { - compatible = "nvidia,tegra-audio-wm8903-ventana", - "nvidia,tegra-audio-wm8903"; - nvidia,model = "NVIDIA Tegra Ventana"; - - nvidia,audio-routing = - "Headphone Jack", "HPOUTR", - "Headphone Jack", "HPOUTL", - "Int Spk", "ROP", - "Int Spk", "RON", - "Int Spk", "LOP", - "Int Spk", "LON", - "Mic Jack", "MICBIAS", - "IN1L", "Mic Jack"; - - nvidia,i2s-controller = <&tegra_i2s1>; - nvidia,audio-codec = <&wm8903>; - - nvidia,spkr-en-gpios = <&wm8903 2 0>; - nvidia,hp-det-gpios = <&gpio 178 0>; /* gpio PW2 */ - nvidia,int-mic-en-gpios = <&gpio 184 0>; /*gpio PX0 */ - nvidia,ext-mic-en-gpios = <&gpio 185 0>; /* gpio PX1 */ - }; - - serial@70006000 { - status = "disable"; - }; - - serial@70006040 { - status = "disable"; - }; - - serial@70006200 { - status = "disable"; - }; - - serial@70006300 { - clock-frequency = < 216000000 >; - }; - - serial@70006400 { - status = "disable"; - }; - - sdhci@c8000000 { - status = "disable"; - }; - - sdhci@c8000200 { - status = "disable"; - }; - - sdhci@c8000400 { - cd-gpios = <&gpio 69 0>; /* gpio PI5 */ - wp-gpios = <&gpio 57 0>; /* gpio PH1 */ - power-gpios = <&gpio 70 0>; /* gpio PI6 */ - }; - - sdhci@c8000600 { - support-8bit; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/tegra20.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v2/tegra20.dtsi deleted file mode 100644 index 108e894a8..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/tegra20.dtsi +++ /dev/null @@ -1,210 +0,0 @@ -/include/ "skeleton.dtsi" - -/ { - compatible = "nvidia,tegra20"; - interrupt-parent = <&intc>; - - pmc@7000f400 { - compatible = "nvidia,tegra20-pmc"; - reg = <0x7000e400 0x400>; - }; - - intc: interrupt-controller@50041000 { - compatible = "arm,cortex-a9-gic"; - interrupt-controller; - #interrupt-cells = <3>; - reg = < 0x50041000 0x1000 >, - < 0x50040100 0x0100 >; - }; - - pmu { - compatible = "arm,cortex-a9-pmu"; - interrupts = <0 56 0x04 - 0 57 0x04>; - }; - - apbdma: dma@6000a000 { - compatible = "nvidia,tegra20-apbdma"; - reg = <0x6000a000 0x1200>; - interrupts = < 0 104 0x04 - 0 105 0x04 - 0 106 0x04 - 0 107 0x04 - 0 108 0x04 - 0 109 0x04 - 0 110 0x04 - 0 111 0x04 - 0 112 0x04 - 0 113 0x04 - 0 114 0x04 - 0 115 0x04 - 0 116 0x04 - 0 117 0x04 - 0 118 0x04 - 0 119 0x04 >; - }; - - i2c@7000c000 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "nvidia,tegra20-i2c"; - reg = <0x7000C000 0x100>; - interrupts = < 0 38 0x04 >; - }; - - i2c@7000c400 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "nvidia,tegra20-i2c"; - reg = <0x7000C400 0x100>; - interrupts = < 0 84 0x04 >; - }; - - i2c@7000c500 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "nvidia,tegra20-i2c"; - reg = <0x7000C500 0x100>; - interrupts = < 0 92 0x04 >; - }; - - i2c@7000d000 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "nvidia,tegra20-i2c-dvc"; - reg = <0x7000D000 0x200>; - interrupts = < 0 53 0x04 >; - }; - - tegra_i2s1: i2s@70002800 { - compatible = "nvidia,tegra20-i2s"; - reg = <0x70002800 0x200>; - interrupts = < 0 13 0x04 >; - nvidia,dma-request-selector = < &apbdma 2 >; - }; - - tegra_i2s2: i2s@70002a00 { - compatible = "nvidia,tegra20-i2s"; - reg = <0x70002a00 0x200>; - interrupts = < 0 3 0x04 >; - nvidia,dma-request-selector = < &apbdma 1 >; - }; - - das@70000c00 { - compatible = "nvidia,tegra20-das"; - reg = <0x70000c00 0x80>; - }; - - gpio: gpio@6000d000 { - compatible = "nvidia,tegra20-gpio"; - reg = < 0x6000d000 0x1000 >; - interrupts = < 0 32 0x04 - 0 33 0x04 - 0 34 0x04 - 0 35 0x04 - 0 55 0x04 - 0 87 0x04 - 0 89 0x04 >; - #gpio-cells = <2>; - gpio-controller; - #interrupt-cells = <2>; - interrupt-controller; - }; - - pinmux: pinmux@70000000 { - compatible = "nvidia,tegra20-pinmux"; - reg = < 0x70000014 0x10 /* Tri-state registers */ - 0x70000080 0x20 /* Mux registers */ - 0x700000a0 0x14 /* Pull-up/down registers */ - 0x70000868 0xa8 >; /* Pad control registers */ - }; - - serial@70006000 { - compatible = "nvidia,tegra20-uart"; - reg = <0x70006000 0x40>; - reg-shift = <2>; - interrupts = < 0 36 0x04 >; - }; - - serial@70006040 { - compatible = "nvidia,tegra20-uart"; - reg = <0x70006040 0x40>; - reg-shift = <2>; - interrupts = < 0 37 0x04 >; - }; - - serial@70006200 { - compatible = "nvidia,tegra20-uart"; - reg = <0x70006200 0x100>; - reg-shift = <2>; - interrupts = < 0 46 0x04 >; - }; - - serial@70006300 { - compatible = "nvidia,tegra20-uart"; - reg = <0x70006300 0x100>; - reg-shift = <2>; - interrupts = < 0 90 0x04 >; - }; - - serial@70006400 { - compatible = "nvidia,tegra20-uart"; - reg = <0x70006400 0x100>; - reg-shift = <2>; - interrupts = < 0 91 0x04 >; - }; - - emc@7000f400 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "nvidia,tegra20-emc"; - reg = <0x7000f400 0x200>; - }; - - sdhci@c8000000 { - compatible = "nvidia,tegra20-sdhci"; - reg = <0xc8000000 0x200>; - interrupts = < 0 14 0x04 >; - }; - - sdhci@c8000200 { - compatible = "nvidia,tegra20-sdhci"; - reg = <0xc8000200 0x200>; - interrupts = < 0 15 0x04 >; - }; - - sdhci@c8000400 { - compatible = "nvidia,tegra20-sdhci"; - reg = <0xc8000400 0x200>; - interrupts = < 0 19 0x04 >; - }; - - sdhci@c8000600 { - compatible = "nvidia,tegra20-sdhci"; - reg = <0xc8000600 0x200>; - interrupts = < 0 31 0x04 >; - }; - - usb@c5000000 { - compatible = "nvidia,tegra20-ehci", "usb-ehci"; - reg = <0xc5000000 0x4000>; - interrupts = < 0 20 0x04 >; - phy_type = "utmi"; - nvidia,has-legacy-mode; - }; - - usb@c5004000 { - compatible = "nvidia,tegra20-ehci", "usb-ehci"; - reg = <0xc5004000 0x4000>; - interrupts = < 0 21 0x04 >; - phy_type = "ulpi"; - }; - - usb@c5008000 { - compatible = "nvidia,tegra20-ehci", "usb-ehci"; - reg = <0xc5008000 0x4000>; - interrupts = < 0 97 0x04 >; - phy_type = "utmi"; - }; -}; - diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/tegra30.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v2/tegra30.dtsi deleted file mode 100644 index 62a7b39f1..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/tegra30.dtsi +++ /dev/null @@ -1,186 +0,0 @@ -/include/ "skeleton.dtsi" - -/ { - compatible = "nvidia,tegra30"; - interrupt-parent = <&intc>; - - pmc@7000f400 { - compatible = "nvidia,tegra20-pmc", "nvidia,tegra30-pmc"; - reg = <0x7000e400 0x400>; - }; - - intc: interrupt-controller@50041000 { - compatible = "arm,cortex-a9-gic"; - interrupt-controller; - #interrupt-cells = <3>; - reg = < 0x50041000 0x1000 >, - < 0x50040100 0x0100 >; - }; - - pmu { - compatible = "arm,cortex-a9-pmu"; - interrupts = <0 144 0x04 - 0 145 0x04 - 0 146 0x04 - 0 147 0x04>; - }; - - apbdma: dma@6000a000 { - compatible = "nvidia,tegra30-apbdma", "nvidia,tegra20-apbdma"; - reg = <0x6000a000 0x1400>; - interrupts = < 0 104 0x04 - 0 105 0x04 - 0 106 0x04 - 0 107 0x04 - 0 108 0x04 - 0 109 0x04 - 0 110 0x04 - 0 111 0x04 - 0 112 0x04 - 0 113 0x04 - 0 114 0x04 - 0 115 0x04 - 0 116 0x04 - 0 117 0x04 - 0 118 0x04 - 0 119 0x04 - 0 128 0x04 - 0 129 0x04 - 0 130 0x04 - 0 131 0x04 - 0 132 0x04 - 0 133 0x04 - 0 134 0x04 - 0 135 0x04 - 0 136 0x04 - 0 137 0x04 - 0 138 0x04 - 0 139 0x04 - 0 140 0x04 - 0 141 0x04 - 0 142 0x04 - 0 143 0x04 >; - }; - - i2c@7000c000 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "nvidia,tegra30-i2c", "nvidia,tegra20-i2c"; - reg = <0x7000C000 0x100>; - interrupts = < 0 38 0x04 >; - }; - - i2c@7000c400 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "nvidia,tegra30-i2c", "nvidia,tegra20-i2c"; - reg = <0x7000C400 0x100>; - interrupts = < 0 84 0x04 >; - }; - - i2c@7000c500 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "nvidia,tegra30-i2c", "nvidia,tegra20-i2c"; - reg = <0x7000C500 0x100>; - interrupts = < 0 92 0x04 >; - }; - - i2c@7000c700 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "nvidia,tegra30-i2c", "nvidia,tegra20-i2c"; - reg = <0x7000c700 0x100>; - interrupts = < 0 120 0x04 >; - }; - - i2c@7000d000 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "nvidia,tegra30-i2c", "nvidia,tegra20-i2c"; - reg = <0x7000D000 0x100>; - interrupts = < 0 53 0x04 >; - }; - - gpio: gpio@6000d000 { - compatible = "nvidia,tegra30-gpio", "nvidia,tegra20-gpio"; - reg = < 0x6000d000 0x1000 >; - interrupts = < 0 32 0x04 - 0 33 0x04 - 0 34 0x04 - 0 35 0x04 - 0 55 0x04 - 0 87 0x04 - 0 89 0x04 - 0 125 0x04 >; - #gpio-cells = <2>; - gpio-controller; - #interrupt-cells = <2>; - interrupt-controller; - }; - - serial@70006000 { - compatible = "nvidia,tegra30-uart", "nvidia,tegra20-uart"; - reg = <0x70006000 0x40>; - reg-shift = <2>; - interrupts = < 0 36 0x04 >; - }; - - serial@70006040 { - compatible = "nvidia,tegra30-uart", "nvidia,tegra20-uart"; - reg = <0x70006040 0x40>; - reg-shift = <2>; - interrupts = < 0 37 0x04 >; - }; - - serial@70006200 { - compatible = "nvidia,tegra30-uart", "nvidia,tegra20-uart"; - reg = <0x70006200 0x100>; - reg-shift = <2>; - interrupts = < 0 46 0x04 >; - }; - - serial@70006300 { - compatible = "nvidia,tegra30-uart", "nvidia,tegra20-uart"; - reg = <0x70006300 0x100>; - reg-shift = <2>; - interrupts = < 0 90 0x04 >; - }; - - serial@70006400 { - compatible = "nvidia,tegra30-uart", "nvidia,tegra20-uart"; - reg = <0x70006400 0x100>; - reg-shift = <2>; - interrupts = < 0 91 0x04 >; - }; - - sdhci@78000000 { - compatible = "nvidia,tegra30-sdhci", "nvidia,tegra20-sdhci"; - reg = <0x78000000 0x200>; - interrupts = < 0 14 0x04 >; - }; - - sdhci@78000200 { - compatible = "nvidia,tegra30-sdhci", "nvidia,tegra20-sdhci"; - reg = <0x78000200 0x200>; - interrupts = < 0 15 0x04 >; - }; - - sdhci@78000400 { - compatible = "nvidia,tegra30-sdhci", "nvidia,tegra20-sdhci"; - reg = <0x78000400 0x200>; - interrupts = < 0 19 0x04 >; - }; - - sdhci@78000600 { - compatible = "nvidia,tegra30-sdhci", "nvidia,tegra20-sdhci"; - reg = <0x78000600 0x200>; - interrupts = < 0 31 0x04 >; - }; - - pinmux: pinmux@70000000 { - compatible = "nvidia,tegra30-pinmux"; - reg = < 0x70000868 0xd0 /* Pad control registers */ - 0x70003000 0x3e0 >; /* Mux registers */ - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/testcases/tests-phandle.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v2/testcases/tests-phandle.dtsi deleted file mode 100644 index 0007d3cd7..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/testcases/tests-phandle.dtsi +++ /dev/null @@ -1,39 +0,0 @@ - -/ { - testcase-data { - phandle-tests { - provider0: provider0 { - #phandle-cells = <0>; - }; - - provider1: provider1 { - #phandle-cells = <1>; - }; - - provider2: provider2 { - #phandle-cells = <2>; - }; - - provider3: provider3 { - #phandle-cells = <3>; - }; - - consumer-a { - phandle-list = <&provider1 1>, - <&provider2 2 0>, - <0>, - <&provider3 4 4 3>, - <&provider2 5 100>, - <&provider0>, - <&provider1 7>; - phandle-list-names = "first", "second", "third"; - - phandle-list-bad-phandle = <12345678 0 0>; - phandle-list-bad-args = <&provider2 1 0>, - <&provider3 0>; - empty-property; - unterminated-string = [40 41 42 43]; - }; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/testcases/tests.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v2/testcases/tests.dtsi deleted file mode 100644 index a7c506762..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/testcases/tests.dtsi +++ /dev/null @@ -1 +0,0 @@ -/include/ "tests-phandle.dtsi" diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/usb_a9g20-dab-mmx.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v2/usb_a9g20-dab-mmx.dtsi deleted file mode 100644 index ad3eca17c..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/usb_a9g20-dab-mmx.dtsi +++ /dev/null @@ -1,96 +0,0 @@ -/* - * calao-dab-mmx.dtsi - Device Tree Include file for Calao DAB-MMX Daughter Board - * - * Copyright (C) 2011 Jean-Christophe PLAGNIOL-VILLARD - * - * Licensed under GPLv2. - */ - -/ { - ahb { - apb { - usart1: serial@fffb4000 { - status = "okay"; - }; - - usart3: serial@fffd0000 { - status = "okay"; - }; - }; - }; - - i2c-gpio@0 { - status = "okay"; - }; - - leds { - compatible = "gpio-leds"; - - user_led1 { - label = "user_led1"; - gpios = <&pioB 20 1>; - }; - -/* -* led already used by mother board but active as high -* user_led2 { -* label = "user_led2"; -* gpios = <&pioB 21 1>; -* }; -*/ - user_led3 { - label = "user_led3"; - gpios = <&pioB 22 1>; - }; - - user_led4 { - label = "user_led4"; - gpios = <&pioB 23 1>; - }; - - red { - label = "red"; - gpios = <&pioB 24 1>; - }; - - orange { - label = "orange"; - gpios = <&pioB 30 1>; - }; - - green { - label = "green"; - gpios = <&pioB 31 1>; - }; - }; - - gpio_keys { - compatible = "gpio-keys"; - #address-cells = <1>; - #size-cells = <0>; - - user_pb1 { - label = "user_pb1"; - gpios = <&pioB 25 1>; - linux,code = <0x100>; - }; - - user_pb2 { - label = "user_pb2"; - gpios = <&pioB 13 1>; - linux,code = <0x101>; - }; - - user_pb3 { - label = "user_pb3"; - gpios = <&pioA 26 1>; - linux,code = <0x102>; - }; - - user_pb4 { - label = "user_pb4"; - gpios = <&pioC 9 1>; - linux,code = <0x103>; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/usb_a9g20.dts b/kernel/arch/arm/boot/dts/tr961-5200l-v2/usb_a9g20.dts deleted file mode 100644 index 7c2399c53..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/usb_a9g20.dts +++ /dev/null @@ -1,130 +0,0 @@ -/* - * usb_a9g20.dts - Device Tree file for Caloa USB A9G20 board - * - * Copyright (C) 2011 Jean-Christophe PLAGNIOL-VILLARD - * - * Licensed under GPLv2 or later. - */ -/dts-v1/; -/include/ "at91sam9g20.dtsi" - -/ { - model = "Calao USB A9G20"; - compatible = "calao,usb-a9g20", "atmel,at91sam9g20", "atmel,at91sam9"; - - chosen { - bootargs = "mem=64M console=ttyS0,115200 root=/dev/mtdblock5 rw rootfstype=ubifs"; - }; - - memory { - reg = <0x20000000 0x4000000>; - }; - - clocks { - #address-cells = <1>; - #size-cells = <1>; - ranges; - - main_clock: clock@0 { - compatible = "atmel,osc", "fixed-clock"; - clock-frequency = <12000000>; - }; - }; - - ahb { - apb { - dbgu: serial@fffff200 { - status = "okay"; - }; - - macb0: ethernet@fffc4000 { - phy-mode = "rmii"; - status = "okay"; - }; - - usb1: gadget@fffa4000 { - atmel,vbus-gpio = <&pioC 5 0>; - status = "okay"; - }; - }; - - nand0: nand@40000000 { - nand-bus-width = <8>; - nand-ecc-mode = "soft"; - nand-on-flash-bbt; - status = "okay"; - - at91bootstrap@0 { - label = "at91bootstrap"; - reg = <0x0 0x20000>; - }; - - barebox@20000 { - label = "barebox"; - reg = <0x20000 0x40000>; - }; - - bareboxenv@60000 { - label = "bareboxenv"; - reg = <0x60000 0x20000>; - }; - - bareboxenv2@80000 { - label = "bareboxenv2"; - reg = <0x80000 0x20000>; - }; - - kernel@a0000 { - label = "kernel"; - reg = <0xa0000 0x400000>; - }; - - rootfs@4a0000 { - label = "rootfs"; - reg = <0x4a0000 0x7800000>; - }; - - data@7ca0000 { - label = "data"; - reg = <0x7ca0000 0x8360000>; - }; - }; - - usb0: ohci@00500000 { - num-ports = <2>; - status = "okay"; - }; - }; - - leds { - compatible = "gpio-leds"; - - user_led { - label = "user_led"; - gpios = <&pioB 21 1>; - linux,default-trigger = "heartbeat"; - }; - }; - - gpio_keys { - compatible = "gpio-keys"; - #address-cells = <1>; - #size-cells = <0>; - - user_pb { - label = "user_pb"; - gpios = <&pioB 10 1>; - linux,code = <28>; - gpio-key,wakeup; - }; - }; - - i2c@0 { - status = "okay"; - - rv3029c2@56 { - compatible = "rv3029c2"; - reg = <0x56>; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/versatile-ab.dts b/kernel/arch/arm/boot/dts/tr961-5200l-v2/versatile-ab.dts deleted file mode 100644 index e2fe3195c..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/versatile-ab.dts +++ /dev/null @@ -1,192 +0,0 @@ -/dts-v1/; -/include/ "skeleton.dtsi" - -/ { - model = "ARM Versatile AB"; - compatible = "arm,versatile-ab"; - #address-cells = <1>; - #size-cells = <1>; - interrupt-parent = <&vic>; - - aliases { - serial0 = &uart0; - serial1 = &uart1; - serial2 = &uart2; - i2c0 = &i2c0; - }; - - memory { - reg = <0x0 0x08000000>; - }; - - flash@34000000 { - compatible = "arm,versatile-flash"; - reg = <0x34000000 0x4000000>; - bank-width = <4>; - }; - - i2c0: i2c@10002000 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "arm,versatile-i2c"; - reg = <0x10002000 0x1000>; - - rtc@68 { - compatible = "dallas,ds1338"; - reg = <0x68>; - }; - }; - - net@10010000 { - compatible = "smsc,lan91c111"; - reg = <0x10010000 0x10000>; - interrupts = <25>; - }; - - lcd@10008000 { - compatible = "arm,versatile-lcd"; - reg = <0x10008000 0x1000>; - }; - - amba { - compatible = "arm,amba-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - - vic: intc@10140000 { - compatible = "arm,versatile-vic"; - interrupt-controller; - #interrupt-cells = <1>; - reg = <0x10140000 0x1000>; - }; - - sic: intc@10003000 { - compatible = "arm,versatile-sic"; - interrupt-controller; - #interrupt-cells = <1>; - reg = <0x10003000 0x1000>; - interrupt-parent = <&vic>; - interrupts = <31>; /* Cascaded to vic */ - }; - - dma@10130000 { - compatible = "arm,pl081", "arm,primecell"; - reg = <0x10130000 0x1000>; - interrupts = <17>; - }; - - uart0: uart@101f1000 { - compatible = "arm,pl011", "arm,primecell"; - reg = <0x101f1000 0x1000>; - interrupts = <12>; - }; - - uart1: uart@101f2000 { - compatible = "arm,pl011", "arm,primecell"; - reg = <0x101f2000 0x1000>; - interrupts = <13>; - }; - - uart2: uart@101f3000 { - compatible = "arm,pl011", "arm,primecell"; - reg = <0x101f3000 0x1000>; - interrupts = <14>; - }; - - smc@10100000 { - compatible = "arm,primecell"; - reg = <0x10100000 0x1000>; - }; - - mpmc@10110000 { - compatible = "arm,primecell"; - reg = <0x10110000 0x1000>; - }; - - display@10120000 { - compatible = "arm,pl110", "arm,primecell"; - reg = <0x10120000 0x1000>; - interrupts = <16>; - }; - - sctl@101e0000 { - compatible = "arm,primecell"; - reg = <0x101e0000 0x1000>; - }; - - watchdog@101e1000 { - compatible = "arm,primecell"; - reg = <0x101e1000 0x1000>; - interrupts = <0>; - }; - - gpio0: gpio@101e4000 { - compatible = "arm,pl061", "arm,primecell"; - reg = <0x101e4000 0x1000>; - gpio-controller; - interrupts = <6>; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - gpio1: gpio@101e5000 { - compatible = "arm,pl061", "arm,primecell"; - reg = <0x101e5000 0x1000>; - interrupts = <7>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - rtc@101e8000 { - compatible = "arm,pl030", "arm,primecell"; - reg = <0x101e8000 0x1000>; - interrupts = <10>; - }; - - sci@101f0000 { - compatible = "arm,primecell"; - reg = <0x101f0000 0x1000>; - interrupts = <15>; - }; - - ssp@101f4000 { - compatible = "arm,pl022", "arm,primecell"; - reg = <0x101f4000 0x1000>; - interrupts = <11>; - }; - - fpga { - compatible = "arm,versatile-fpga", "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0 0x10000000 0x10000>; - - aaci@4000 { - compatible = "arm,primecell"; - reg = <0x4000 0x1000>; - interrupts = <24>; - }; - mmc@5000 { - compatible = "arm,primecell"; - reg = < 0x5000 0x1000>; - interrupts = <22 34>; - }; - kmi@6000 { - compatible = "arm,pl050", "arm,primecell"; - reg = <0x6000 0x1000>; - interrupt-parent = <&sic>; - interrupts = <3>; - }; - kmi@7000 { - compatible = "arm,pl050", "arm,primecell"; - reg = <0x7000 0x1000>; - interrupt-parent = <&sic>; - interrupts = <4>; - }; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/versatile-pb.dts b/kernel/arch/arm/boot/dts/tr961-5200l-v2/versatile-pb.dts deleted file mode 100644 index 7e8175269..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/versatile-pb.dts +++ /dev/null @@ -1,50 +0,0 @@ -/include/ "versatile-ab.dts" - -/ { - model = "ARM Versatile PB"; - compatible = "arm,versatile-pb"; - - amba { - gpio2: gpio@101e6000 { - compatible = "arm,pl061", "arm,primecell"; - reg = <0x101e6000 0x1000>; - interrupts = <8>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - gpio3: gpio@101e7000 { - compatible = "arm,pl061", "arm,primecell"; - reg = <0x101e7000 0x1000>; - interrupts = <9>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - fpga { - uart@9000 { - compatible = "arm,pl011", "arm,primecell"; - reg = <0x9000 0x1000>; - interrupt-parent = <&sic>; - interrupts = <6>; - }; - sci@a000 { - compatible = "arm,primecell"; - reg = <0xa000 0x1000>; - interrupt-parent = <&sic>; - interrupts = <5>; - }; - mmc@b000 { - compatible = "arm,primecell"; - reg = <0xb000 0x1000>; - interrupts = <23 34>; - }; - }; - }; -}; - -/include/ "testcases/tests.dtsi" diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/vexpress-v2m-rs1.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v2/vexpress-v2m-rs1.dtsi deleted file mode 100644 index 16076e2d0..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/vexpress-v2m-rs1.dtsi +++ /dev/null @@ -1,201 +0,0 @@ -/* - * ARM Ltd. Versatile Express - * - * Motherboard Express uATX - * V2M-P1 - * - * HBI-0190D - * - * RS1 memory map ("ARM Cortex-A Series memory map" in the board's - * Technical Reference Manual) - * - * WARNING! The hardware described in this file is independent from the - * original variant (vexpress-v2m.dtsi), but there is a strong - * correspondence between the two configurations. - * - * TAKE CARE WHEN MAINTAINING THIS FILE TO PROPAGATE ANY RELEVANT - * CHANGES TO vexpress-v2m.dtsi! - */ - -/ { - aliases { - arm,v2m_timer = &v2m_timer01; - }; - - motherboard { - compatible = "simple-bus"; - arm,v2m-memory-map = "rs1"; - #address-cells = <2>; /* SMB chipselect number and offset */ - #size-cells = <1>; - #interrupt-cells = <1>; - - flash@0,00000000 { - compatible = "arm,vexpress-flash", "cfi-flash"; - reg = <0 0x00000000 0x04000000>, - <4 0x00000000 0x04000000>; - bank-width = <4>; - }; - - psram@1,00000000 { - compatible = "arm,vexpress-psram", "mtd-ram"; - reg = <1 0x00000000 0x02000000>; - bank-width = <4>; - }; - - vram@2,00000000 { - compatible = "arm,vexpress-vram"; - reg = <2 0x00000000 0x00800000>; - }; - - ethernet@2,02000000 { - compatible = "smsc,lan9118", "smsc,lan9115"; - reg = <2 0x02000000 0x10000>; - interrupts = <15>; - phy-mode = "mii"; - reg-io-width = <4>; - smsc,irq-active-high; - smsc,irq-push-pull; - }; - - usb@2,03000000 { - compatible = "nxp,usb-isp1761"; - reg = <2 0x03000000 0x20000>; - interrupts = <16>; - port1-otg; - }; - - iofpga@3,00000000 { - compatible = "arm,amba-bus", "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0 3 0 0x200000>; - - sysreg@010000 { - compatible = "arm,vexpress-sysreg"; - reg = <0x010000 0x1000>; - }; - - sysctl@020000 { - compatible = "arm,sp810", "arm,primecell"; - reg = <0x020000 0x1000>; - }; - - /* PCI-E I2C bus */ - v2m_i2c_pcie: i2c@030000 { - compatible = "arm,versatile-i2c"; - reg = <0x030000 0x1000>; - - #address-cells = <1>; - #size-cells = <0>; - - pcie-switch@60 { - compatible = "idt,89hpes32h8"; - reg = <0x60>; - }; - }; - - aaci@040000 { - compatible = "arm,pl041", "arm,primecell"; - reg = <0x040000 0x1000>; - interrupts = <11>; - }; - - mmci@050000 { - compatible = "arm,pl180", "arm,primecell"; - reg = <0x050000 0x1000>; - interrupts = <9 10>; - }; - - kmi@060000 { - compatible = "arm,pl050", "arm,primecell"; - reg = <0x060000 0x1000>; - interrupts = <12>; - }; - - kmi@070000 { - compatible = "arm,pl050", "arm,primecell"; - reg = <0x070000 0x1000>; - interrupts = <13>; - }; - - v2m_serial0: uart@090000 { - compatible = "arm,pl011", "arm,primecell"; - reg = <0x090000 0x1000>; - interrupts = <5>; - }; - - v2m_serial1: uart@0a0000 { - compatible = "arm,pl011", "arm,primecell"; - reg = <0x0a0000 0x1000>; - interrupts = <6>; - }; - - v2m_serial2: uart@0b0000 { - compatible = "arm,pl011", "arm,primecell"; - reg = <0x0b0000 0x1000>; - interrupts = <7>; - }; - - v2m_serial3: uart@0c0000 { - compatible = "arm,pl011", "arm,primecell"; - reg = <0x0c0000 0x1000>; - interrupts = <8>; - }; - - wdt@0f0000 { - compatible = "arm,sp805", "arm,primecell"; - reg = <0x0f0000 0x1000>; - interrupts = <0>; - }; - - v2m_timer01: timer@110000 { - compatible = "arm,sp804", "arm,primecell"; - reg = <0x110000 0x1000>; - interrupts = <2>; - }; - - v2m_timer23: timer@120000 { - compatible = "arm,sp804", "arm,primecell"; - reg = <0x120000 0x1000>; - }; - - /* DVI I2C bus */ - v2m_i2c_dvi: i2c@160000 { - compatible = "arm,versatile-i2c"; - reg = <0x160000 0x1000>; - - #address-cells = <1>; - #size-cells = <0>; - - dvi-transmitter@39 { - compatible = "sil,sii9022-tpi", "sil,sii9022"; - reg = <0x39>; - }; - - dvi-transmitter@60 { - compatible = "sil,sii9022-cpi", "sil,sii9022"; - reg = <0x60>; - }; - }; - - rtc@170000 { - compatible = "arm,pl031", "arm,primecell"; - reg = <0x170000 0x1000>; - interrupts = <4>; - }; - - compact-flash@1a0000 { - compatible = "arm,vexpress-cf", "ata-generic"; - reg = <0x1a0000 0x100 - 0x1a0100 0xf00>; - reg-shift = <2>; - }; - - clcd@1f0000 { - compatible = "arm,pl111", "arm,primecell"; - reg = <0x1f0000 0x1000>; - interrupts = <14>; - }; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/vexpress-v2m.dtsi b/kernel/arch/arm/boot/dts/tr961-5200l-v2/vexpress-v2m.dtsi deleted file mode 100644 index a6c9c7c82..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/vexpress-v2m.dtsi +++ /dev/null @@ -1,200 +0,0 @@ -/* - * ARM Ltd. Versatile Express - * - * Motherboard Express uATX - * V2M-P1 - * - * HBI-0190D - * - * Original memory map ("Legacy memory map" in the board's - * Technical Reference Manual) - * - * WARNING! The hardware described in this file is independent from the - * RS1 variant (vexpress-v2m-rs1.dtsi), but there is a strong - * correspondence between the two configurations. - * - * TAKE CARE WHEN MAINTAINING THIS FILE TO PROPAGATE ANY RELEVANT - * CHANGES TO vexpress-v2m-rs1.dtsi! - */ - -/ { - aliases { - arm,v2m_timer = &v2m_timer01; - }; - - motherboard { - compatible = "simple-bus"; - #address-cells = <2>; /* SMB chipselect number and offset */ - #size-cells = <1>; - #interrupt-cells = <1>; - - flash@0,00000000 { - compatible = "arm,vexpress-flash", "cfi-flash"; - reg = <0 0x00000000 0x04000000>, - <1 0x00000000 0x04000000>; - bank-width = <4>; - }; - - psram@2,00000000 { - compatible = "arm,vexpress-psram", "mtd-ram"; - reg = <2 0x00000000 0x02000000>; - bank-width = <4>; - }; - - vram@3,00000000 { - compatible = "arm,vexpress-vram"; - reg = <3 0x00000000 0x00800000>; - }; - - ethernet@3,02000000 { - compatible = "smsc,lan9118", "smsc,lan9115"; - reg = <3 0x02000000 0x10000>; - interrupts = <15>; - phy-mode = "mii"; - reg-io-width = <4>; - smsc,irq-active-high; - smsc,irq-push-pull; - }; - - usb@3,03000000 { - compatible = "nxp,usb-isp1761"; - reg = <3 0x03000000 0x20000>; - interrupts = <16>; - port1-otg; - }; - - iofpga@7,00000000 { - compatible = "arm,amba-bus", "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0 7 0 0x20000>; - - sysreg@00000 { - compatible = "arm,vexpress-sysreg"; - reg = <0x00000 0x1000>; - }; - - sysctl@01000 { - compatible = "arm,sp810", "arm,primecell"; - reg = <0x01000 0x1000>; - }; - - /* PCI-E I2C bus */ - v2m_i2c_pcie: i2c@02000 { - compatible = "arm,versatile-i2c"; - reg = <0x02000 0x1000>; - - #address-cells = <1>; - #size-cells = <0>; - - pcie-switch@60 { - compatible = "idt,89hpes32h8"; - reg = <0x60>; - }; - }; - - aaci@04000 { - compatible = "arm,pl041", "arm,primecell"; - reg = <0x04000 0x1000>; - interrupts = <11>; - }; - - mmci@05000 { - compatible = "arm,pl180", "arm,primecell"; - reg = <0x05000 0x1000>; - interrupts = <9 10>; - }; - - kmi@06000 { - compatible = "arm,pl050", "arm,primecell"; - reg = <0x06000 0x1000>; - interrupts = <12>; - }; - - kmi@07000 { - compatible = "arm,pl050", "arm,primecell"; - reg = <0x07000 0x1000>; - interrupts = <13>; - }; - - v2m_serial0: uart@09000 { - compatible = "arm,pl011", "arm,primecell"; - reg = <0x09000 0x1000>; - interrupts = <5>; - }; - - v2m_serial1: uart@0a000 { - compatible = "arm,pl011", "arm,primecell"; - reg = <0x0a000 0x1000>; - interrupts = <6>; - }; - - v2m_serial2: uart@0b000 { - compatible = "arm,pl011", "arm,primecell"; - reg = <0x0b000 0x1000>; - interrupts = <7>; - }; - - v2m_serial3: uart@0c000 { - compatible = "arm,pl011", "arm,primecell"; - reg = <0x0c000 0x1000>; - interrupts = <8>; - }; - - wdt@0f000 { - compatible = "arm,sp805", "arm,primecell"; - reg = <0x0f000 0x1000>; - interrupts = <0>; - }; - - v2m_timer01: timer@11000 { - compatible = "arm,sp804", "arm,primecell"; - reg = <0x11000 0x1000>; - interrupts = <2>; - }; - - v2m_timer23: timer@12000 { - compatible = "arm,sp804", "arm,primecell"; - reg = <0x12000 0x1000>; - }; - - /* DVI I2C bus */ - v2m_i2c_dvi: i2c@16000 { - compatible = "arm,versatile-i2c"; - reg = <0x16000 0x1000>; - - #address-cells = <1>; - #size-cells = <0>; - - dvi-transmitter@39 { - compatible = "sil,sii9022-tpi", "sil,sii9022"; - reg = <0x39>; - }; - - dvi-transmitter@60 { - compatible = "sil,sii9022-cpi", "sil,sii9022"; - reg = <0x60>; - }; - }; - - rtc@17000 { - compatible = "arm,pl031", "arm,primecell"; - reg = <0x17000 0x1000>; - interrupts = <4>; - }; - - compact-flash@1a000 { - compatible = "arm,vexpress-cf", "ata-generic"; - reg = <0x1a000 0x100 - 0x1a100 0xf00>; - reg-shift = <2>; - }; - - clcd@1f000 { - compatible = "arm,pl111", "arm,primecell"; - reg = <0x1f000 0x1000>; - interrupts = <14>; - }; - }; - }; -}; diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/vexpress-v2p-ca15-tc1.dts b/kernel/arch/arm/boot/dts/tr961-5200l-v2/vexpress-v2p-ca15-tc1.dts deleted file mode 100644 index 941b161ab..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/vexpress-v2p-ca15-tc1.dts +++ /dev/null @@ -1,157 +0,0 @@ -/* - * ARM Ltd. Versatile Express - * - * CoreTile Express A15x2 (version with Test Chip 1) - * Cortex-A15 MPCore (V2P-CA15) - * - * HBI-0237A - */ - -/dts-v1/; - -/ { - model = "V2P-CA15"; - arm,hbi = <0x237>; - compatible = "arm,vexpress,v2p-ca15,tc1", "arm,vexpress,v2p-ca15", "arm,vexpress"; - interrupt-parent = <&gic>; - #address-cells = <1>; - #size-cells = <1>; - - chosen { }; - - aliases { - serial0 = &v2m_serial0; - serial1 = &v2m_serial1; - serial2 = &v2m_serial2; - serial3 = &v2m_serial3; - i2c0 = &v2m_i2c_dvi; - i2c1 = &v2m_i2c_pcie; - }; - - cpus { - #address-cells = <1>; - #size-cells = <0>; - - cpu@0 { - device_type = "cpu"; - compatible = "arm,cortex-a15"; - reg = <0>; - }; - - cpu@1 { - device_type = "cpu"; - compatible = "arm,cortex-a15"; - reg = <1>; - }; - }; - - memory@80000000 { - device_type = "memory"; - reg = <0x80000000 0x40000000>; - }; - - hdlcd@2b000000 { - compatible = "arm,hdlcd"; - reg = <0x2b000000 0x1000>; - interrupts = <0 85 4>; - }; - - memory-controller@2b0a0000 { - compatible = "arm,pl341", "arm,primecell"; - reg = <0x2b0a0000 0x1000>; - }; - - wdt@2b060000 { - compatible = "arm,sp805", "arm,primecell"; - reg = <0x2b060000 0x1000>; - interrupts = <98>; - }; - - gic: interrupt-controller@2c001000 { - compatible = "arm,cortex-a15-gic", "arm,cortex-a9-gic"; - #interrupt-cells = <3>; - #address-cells = <0>; - interrupt-controller; - reg = <0x2c001000 0x1000>, - <0x2c002000 0x100>; - }; - - memory-controller@7ffd0000 { - compatible = "arm,pl354", "arm,primecell"; - reg = <0x7ffd0000 0x1000>; - interrupts = <0 86 4>, - <0 87 4>; - }; - - dma@7ffb0000 { - compatible = "arm,pl330", "arm,primecell"; - reg = <0x7ffb0000 0x1000>; - interrupts = <0 92 4>, - <0 88 4>, - <0 89 4>, - <0 90 4>, - <0 91 4>; - }; - - pmu { - compatible = "arm,cortex-a15-pmu", "arm,cortex-a9-pmu"; - interrupts = <0 68 4>, - <0 69 4>; - }; - - motherboard { - ranges = <0 0 0x08000000 0x04000000>, - <1 0 0x14000000 0x04000000>, - <2 0 0x18000000 0x04000000>, - <3 0 0x1c000000 0x04000000>, - <4 0 0x0c000000 0x04000000>, - <5 0 0x10000000 0x04000000>; - - interrupt-map-mask = <0 0 63>; - interrupt-map = <0 0 0 &gic 0 0 4>, - <0 0 1 &gic 0 1 4>, - <0 0 2 &gic 0 2 4>, - <0 0 3 &gic 0 3 4>, - <0 0 4 &gic 0 4 4>, - <0 0 5 &gic 0 5 4>, - <0 0 6 &gic 0 6 4>, - <0 0 7 &gic 0 7 4>, - <0 0 8 &gic 0 8 4>, - <0 0 9 &gic 0 9 4>, - <0 0 10 &gic 0 10 4>, - <0 0 11 &gic 0 11 4>, - <0 0 12 &gic 0 12 4>, - <0 0 13 &gic 0 13 4>, - <0 0 14 &gic 0 14 4>, - <0 0 15 &gic 0 15 4>, - <0 0 16 &gic 0 16 4>, - <0 0 17 &gic 0 17 4>, - <0 0 18 &gic 0 18 4>, - <0 0 19 &gic 0 19 4>, - <0 0 20 &gic 0 20 4>, - <0 0 21 &gic 0 21 4>, - <0 0 22 &gic 0 22 4>, - <0 0 23 &gic 0 23 4>, - <0 0 24 &gic 0 24 4>, - <0 0 25 &gic 0 25 4>, - <0 0 26 &gic 0 26 4>, - <0 0 27 &gic 0 27 4>, - <0 0 28 &gic 0 28 4>, - <0 0 29 &gic 0 29 4>, - <0 0 30 &gic 0 30 4>, - <0 0 31 &gic 0 31 4>, - <0 0 32 &gic 0 32 4>, - <0 0 33 &gic 0 33 4>, - <0 0 34 &gic 0 34 4>, - <0 0 35 &gic 0 35 4>, - <0 0 36 &gic 0 36 4>, - <0 0 37 &gic 0 37 4>, - <0 0 38 &gic 0 38 4>, - <0 0 39 &gic 0 39 4>, - <0 0 40 &gic 0 40 4>, - <0 0 41 &gic 0 41 4>, - <0 0 42 &gic 0 42 4>; - }; -}; - -/include/ "vexpress-v2m-rs1.dtsi" diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/vexpress-v2p-ca5s.dts b/kernel/arch/arm/boot/dts/tr961-5200l-v2/vexpress-v2p-ca5s.dts deleted file mode 100644 index 6905e66d4..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/vexpress-v2p-ca5s.dts +++ /dev/null @@ -1,162 +0,0 @@ -/* - * ARM Ltd. Versatile Express - * - * CoreTile Express A5x2 - * Cortex-A5 MPCore (V2P-CA5s) - * - * HBI-0225B - */ - -/dts-v1/; - -/ { - model = "V2P-CA5s"; - arm,hbi = <0x225>; - compatible = "arm,vexpress,v2p-ca5s", "arm,vexpress"; - interrupt-parent = <&gic>; - #address-cells = <1>; - #size-cells = <1>; - - chosen { }; - - aliases { - serial0 = &v2m_serial0; - serial1 = &v2m_serial1; - serial2 = &v2m_serial2; - serial3 = &v2m_serial3; - i2c0 = &v2m_i2c_dvi; - i2c1 = &v2m_i2c_pcie; - }; - - cpus { - #address-cells = <1>; - #size-cells = <0>; - - cpu@0 { - device_type = "cpu"; - compatible = "arm,cortex-a5"; - reg = <0>; - next-level-cache = <&L2>; - }; - - cpu@1 { - device_type = "cpu"; - compatible = "arm,cortex-a5"; - reg = <1>; - next-level-cache = <&L2>; - }; - }; - - memory@80000000 { - device_type = "memory"; - reg = <0x80000000 0x40000000>; - }; - - hdlcd@2a110000 { - compatible = "arm,hdlcd"; - reg = <0x2a110000 0x1000>; - interrupts = <0 85 4>; - }; - - memory-controller@2a150000 { - compatible = "arm,pl341", "arm,primecell"; - reg = <0x2a150000 0x1000>; - }; - - memory-controller@2a190000 { - compatible = "arm,pl354", "arm,primecell"; - reg = <0x2a190000 0x1000>; - interrupts = <0 86 4>, - <0 87 4>; - }; - - scu@2c000000 { - compatible = "arm,cortex-a5-scu"; - reg = <0x2c000000 0x58>; - }; - - timer@2c000600 { - compatible = "arm,cortex-a5-twd-timer"; - reg = <0x2c000600 0x38>; - interrupts = <1 2 0x304>, - <1 3 0x304>; - }; - - gic: interrupt-controller@2c001000 { - compatible = "arm,corex-a5-gic", "arm,cortex-a9-gic"; - #interrupt-cells = <3>; - #address-cells = <0>; - interrupt-controller; - reg = <0x2c001000 0x1000>, - <0x2c000100 0x100>; - }; - - L2: cache-controller@2c0f0000 { - compatible = "arm,pl310-cache"; - reg = <0x2c0f0000 0x1000>; - interrupts = <0 84 4>; - cache-level = <2>; - }; - - pmu { - compatible = "arm,cortex-a5-pmu", "arm,cortex-a9-pmu"; - interrupts = <0 68 4>, - <0 69 4>; - }; - - motherboard { - ranges = <0 0 0x08000000 0x04000000>, - <1 0 0x14000000 0x04000000>, - <2 0 0x18000000 0x04000000>, - <3 0 0x1c000000 0x04000000>, - <4 0 0x0c000000 0x04000000>, - <5 0 0x10000000 0x04000000>; - - interrupt-map-mask = <0 0 63>; - interrupt-map = <0 0 0 &gic 0 0 4>, - <0 0 1 &gic 0 1 4>, - <0 0 2 &gic 0 2 4>, - <0 0 3 &gic 0 3 4>, - <0 0 4 &gic 0 4 4>, - <0 0 5 &gic 0 5 4>, - <0 0 6 &gic 0 6 4>, - <0 0 7 &gic 0 7 4>, - <0 0 8 &gic 0 8 4>, - <0 0 9 &gic 0 9 4>, - <0 0 10 &gic 0 10 4>, - <0 0 11 &gic 0 11 4>, - <0 0 12 &gic 0 12 4>, - <0 0 13 &gic 0 13 4>, - <0 0 14 &gic 0 14 4>, - <0 0 15 &gic 0 15 4>, - <0 0 16 &gic 0 16 4>, - <0 0 17 &gic 0 17 4>, - <0 0 18 &gic 0 18 4>, - <0 0 19 &gic 0 19 4>, - <0 0 20 &gic 0 20 4>, - <0 0 21 &gic 0 21 4>, - <0 0 22 &gic 0 22 4>, - <0 0 23 &gic 0 23 4>, - <0 0 24 &gic 0 24 4>, - <0 0 25 &gic 0 25 4>, - <0 0 26 &gic 0 26 4>, - <0 0 27 &gic 0 27 4>, - <0 0 28 &gic 0 28 4>, - <0 0 29 &gic 0 29 4>, - <0 0 30 &gic 0 30 4>, - <0 0 31 &gic 0 31 4>, - <0 0 32 &gic 0 32 4>, - <0 0 33 &gic 0 33 4>, - <0 0 34 &gic 0 34 4>, - <0 0 35 &gic 0 35 4>, - <0 0 36 &gic 0 36 4>, - <0 0 37 &gic 0 37 4>, - <0 0 38 &gic 0 38 4>, - <0 0 39 &gic 0 39 4>, - <0 0 40 &gic 0 40 4>, - <0 0 41 &gic 0 41 4>, - <0 0 42 &gic 0 42 4>; - }; -}; - -/include/ "vexpress-v2m-rs1.dtsi" diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/vexpress-v2p-ca9.dts b/kernel/arch/arm/boot/dts/tr961-5200l-v2/vexpress-v2p-ca9.dts deleted file mode 100644 index da778693b..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/vexpress-v2p-ca9.dts +++ /dev/null @@ -1,192 +0,0 @@ -/* - * ARM Ltd. Versatile Express - * - * CoreTile Express A9x4 - * Cortex-A9 MPCore (V2P-CA9) - * - * HBI-0191B - */ - -/dts-v1/; - -/ { - model = "V2P-CA9"; - arm,hbi = <0x191>; - compatible = "arm,vexpress,v2p-ca9", "arm,vexpress"; - interrupt-parent = <&gic>; - #address-cells = <1>; - #size-cells = <1>; - - chosen { }; - - aliases { - serial0 = &v2m_serial0; - serial1 = &v2m_serial1; - serial2 = &v2m_serial2; - serial3 = &v2m_serial3; - i2c0 = &v2m_i2c_dvi; - i2c1 = &v2m_i2c_pcie; - }; - - cpus { - #address-cells = <1>; - #size-cells = <0>; - - cpu@0 { - device_type = "cpu"; - compatible = "arm,cortex-a9"; - reg = <0>; - next-level-cache = <&L2>; - }; - - cpu@1 { - device_type = "cpu"; - compatible = "arm,cortex-a9"; - reg = <1>; - next-level-cache = <&L2>; - }; - - cpu@2 { - device_type = "cpu"; - compatible = "arm,cortex-a9"; - reg = <2>; - next-level-cache = <&L2>; - }; - - cpu@3 { - device_type = "cpu"; - compatible = "arm,cortex-a9"; - reg = <3>; - next-level-cache = <&L2>; - }; - }; - - memory@60000000 { - device_type = "memory"; - reg = <0x60000000 0x40000000>; - }; - - clcd@10020000 { - compatible = "arm,pl111", "arm,primecell"; - reg = <0x10020000 0x1000>; - interrupts = <0 44 4>; - }; - - memory-controller@100e0000 { - compatible = "arm,pl341", "arm,primecell"; - reg = <0x100e0000 0x1000>; - }; - - memory-controller@100e1000 { - compatible = "arm,pl354", "arm,primecell"; - reg = <0x100e1000 0x1000>; - interrupts = <0 45 4>, - <0 46 4>; - }; - - timer@100e4000 { - compatible = "arm,sp804", "arm,primecell"; - reg = <0x100e4000 0x1000>; - interrupts = <0 48 4>, - <0 49 4>; - }; - - watchdog@100e5000 { - compatible = "arm,sp805", "arm,primecell"; - reg = <0x100e5000 0x1000>; - interrupts = <0 51 4>; - }; - - scu@1e000000 { - compatible = "arm,cortex-a9-scu"; - reg = <0x1e000000 0x58>; - }; - - timer@1e000600 { - compatible = "arm,cortex-a9-twd-timer"; - reg = <0x1e000600 0x20>; - interrupts = <1 2 0xf04>, - <1 3 0xf04>; - }; - - gic: interrupt-controller@1e001000 { - compatible = "arm,cortex-a9-gic"; - #interrupt-cells = <3>; - #address-cells = <0>; - interrupt-controller; - reg = <0x1e001000 0x1000>, - <0x1e000100 0x100>; - }; - - L2: cache-controller@1e00a000 { - compatible = "arm,pl310-cache"; - reg = <0x1e00a000 0x1000>; - interrupts = <0 43 4>; - cache-level = <2>; - arm,data-latency = <1 1 1>; - arm,tag-latency = <1 1 1>; - }; - - pmu { - compatible = "arm,cortex-a9-pmu"; - interrupts = <0 60 4>, - <0 61 4>, - <0 62 4>, - <0 63 4>; - }; - - motherboard { - ranges = <0 0 0x40000000 0x04000000>, - <1 0 0x44000000 0x04000000>, - <2 0 0x48000000 0x04000000>, - <3 0 0x4c000000 0x04000000>, - <7 0 0x10000000 0x00020000>; - - interrupt-map-mask = <0 0 63>; - interrupt-map = <0 0 0 &gic 0 0 4>, - <0 0 1 &gic 0 1 4>, - <0 0 2 &gic 0 2 4>, - <0 0 3 &gic 0 3 4>, - <0 0 4 &gic 0 4 4>, - <0 0 5 &gic 0 5 4>, - <0 0 6 &gic 0 6 4>, - <0 0 7 &gic 0 7 4>, - <0 0 8 &gic 0 8 4>, - <0 0 9 &gic 0 9 4>, - <0 0 10 &gic 0 10 4>, - <0 0 11 &gic 0 11 4>, - <0 0 12 &gic 0 12 4>, - <0 0 13 &gic 0 13 4>, - <0 0 14 &gic 0 14 4>, - <0 0 15 &gic 0 15 4>, - <0 0 16 &gic 0 16 4>, - <0 0 17 &gic 0 17 4>, - <0 0 18 &gic 0 18 4>, - <0 0 19 &gic 0 19 4>, - <0 0 20 &gic 0 20 4>, - <0 0 21 &gic 0 21 4>, - <0 0 22 &gic 0 22 4>, - <0 0 23 &gic 0 23 4>, - <0 0 24 &gic 0 24 4>, - <0 0 25 &gic 0 25 4>, - <0 0 26 &gic 0 26 4>, - <0 0 27 &gic 0 27 4>, - <0 0 28 &gic 0 28 4>, - <0 0 29 &gic 0 29 4>, - <0 0 30 &gic 0 30 4>, - <0 0 31 &gic 0 31 4>, - <0 0 32 &gic 0 32 4>, - <0 0 33 &gic 0 33 4>, - <0 0 34 &gic 0 34 4>, - <0 0 35 &gic 0 35 4>, - <0 0 36 &gic 0 36 4>, - <0 0 37 &gic 0 37 4>, - <0 0 38 &gic 0 38 4>, - <0 0 39 &gic 0 39 4>, - <0 0 40 &gic 0 40 4>, - <0 0 41 &gic 0 41 4>, - <0 0 42 &gic 0 42 4>; - }; -}; - -/include/ "vexpress-v2m.dtsi" diff --git a/kernel/arch/arm/boot/dts/tr961-5200l-v2/zynq-ep107.dts b/kernel/arch/arm/boot/dts/tr961-5200l-v2/zynq-ep107.dts deleted file mode 100644 index 37ca192fb..000000000 --- a/kernel/arch/arm/boot/dts/tr961-5200l-v2/zynq-ep107.dts +++ /dev/null @@ -1,52 +0,0 @@ -/* - * Copyright (C) 2011 Xilinx - * - * This software is licensed under the terms of the GNU General Public - * License version 2, as published by the Free Software Foundation, and - * may be copied, distributed, and modified under those terms. - * - * 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. - */ - -/dts-v1/; -/ { - model = "Xilinx Zynq EP107"; - compatible = "xlnx,zynq-ep107"; - #address-cells = <1>; - #size-cells = <1>; - interrupt-parent = <&intc>; - - memory { - device_type = "memory"; - reg = <0x0 0x10000000>; - }; - - chosen { - bootargs = "console=ttyPS0,9600 root=/dev/ram rw initrd=0x800000,8M earlyprintk"; - linux,stdout-path = &uart0; - }; - - amba { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - - intc: interrupt-controller@f8f01000 { - interrupt-controller; - compatible = "arm,gic"; - reg = <0xF8F01000 0x1000>; - #interrupt-cells = <2>; - }; - - uart0: uart@e0000000 { - compatible = "xlnx,xuartps"; - reg = <0xE0000000 0x1000>; - interrupts = <59 0>; - clock = <50000000>; - }; - }; -}; diff --git a/kernel/arch/arm/configs/lte_module-v1-perf_defconfig b/kernel/arch/arm/configs/lte_module-v1-perf_defconfig deleted file mode 100755 index dd04543db..000000000 --- a/kernel/arch/arm/configs/lte_module-v1-perf_defconfig +++ /dev/null @@ -1,342 +0,0 @@ -# CONFIG_ARM_PATCH_PHYS_VIRT is not set -CONFIG_EXPERIMENTAL=y -# CONFIG_LOCALVERSION_AUTO is not set -CONFIG_SYSVIPC=y -CONFIG_IKCONFIG=y -CONFIG_IKCONFIG_PROC=y -CONFIG_CGROUPS=y -CONFIG_CGROUP_DEBUG=y -CONFIG_CGROUP_FREEZER=y -CONFIG_CGROUP_CPUACCT=y -CONFIG_RESOURCE_COUNTERS=y -CONFIG_CGROUP_SCHED=y -# CONFIG_FAIR_GROUP_SCHED is not set -CONFIG_RT_GROUP_SCHED=y -CONFIG_NAMESPACES=y -# CONFIG_UTS_NS is not set -# CONFIG_IPC_NS is not set -# CONFIG_USER_NS is not set -# CONFIG_PID_NS is not set -CONFIG_RELAY=y -CONFIG_BLK_DEV_INITRD=y -CONFIG_RD_BZIP2=y -CONFIG_RD_LZMA=y -CONFIG_CC_OPTIMIZE_FOR_SIZE=y -CONFIG_PANIC_TIMEOUT=5 -CONFIG_KALLSYMS_ALL=y -CONFIG_EMBEDDED=y -# CONFIG_SLUB_DEBUG is not set -CONFIG_PROFILING=y -CONFIG_OPROFILE=m -CONFIG_MODULES=y -CONFIG_MODULE_UNLOAD=y -CONFIG_MODULE_FORCE_UNLOAD=y -CONFIG_PARTITION_ADVANCED=y -CONFIG_ARCH_MSM=y -CONFIG_ARCH_MSM9625=y -# CONFIG_MSM_STACKED_MEMORY is not set -# CONFIG_MSM_FIQ_SUPPORT is not set -# CONFIG_MSM_PROC_COMM is not set -CONFIG_MSM_SMD=y -CONFIG_MSM_SMD_PKG4=y -CONFIG_MSM_BAM_DMUX=y -CONFIG_MSM_SMP2P=y -CONFIG_MSM_SMP2P_TEST=y -CONFIG_MSM_IPC_LOGGING=y -CONFIG_MSM_IPC_ROUTER=y -CONFIG_MSM_IPC_ROUTER_SMD_XPRT=y -CONFIG_MSM_RPM_REGULATOR_SMD=y -CONFIG_MSM_SUBSYSTEM_RESTART=y -CONFIG_MSM_PIL=y -CONFIG_MSM_PIL_MSS_QDSP6V5=y -CONFIG_MSM_DIRECT_SCLK_ACCESS=y -CONFIG_MSM_BUS_SCALING=y -CONFIG_MSM_WATCHDOG_V2=y -CONFIG_MSM_MEMORY_DUMP=y -CONFIG_MSM_DLOAD_MODE=y -CONFIG_MSM_ADSP_LOADER=m -CONFIG_MSM_ENABLE_WDOG_DEBUG_CONTROL=y -CONFIG_MSM_UARTDM_Core_v14=y -CONFIG_MSM_BOOT_STATS=y -CONFIG_NO_HZ=y -CONFIG_HIGH_RES_TIMERS=y -CONFIG_ARM_ARCH_TIMER=y -CONFIG_PREEMPT=y -CONFIG_AEABI=y -CONFIG_HIGHMEM=y -CONFIG_USE_OF=y -CONFIG_CPU_FREQ=y -CONFIG_CPU_FREQ_GOV_POWERSAVE=y -CONFIG_CPU_FREQ_GOV_USERSPACE=y -CONFIG_CPU_FREQ_GOV_ONDEMAND=y -CONFIG_CPU_FREQ_GOV_CONSERVATIVE=y -CONFIG_CPU_IDLE=y -CONFIG_VFP=y -CONFIG_NEON=y -# CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set -CONFIG_PM_AUTOSLEEP=y -CONFIG_PM_RUNTIME=y -CONFIG_NET=y -CONFIG_PACKET=y -CONFIG_UNIX=y -CONFIG_INET=y -CONFIG_IP_MULTICAST=y -CONFIG_IP_ADVANCED_ROUTER=y -CONFIG_IP_MULTIPLE_TABLES=y -CONFIG_IP_MROUTE=y -CONFIG_IP_PIMSM_V2=y -CONFIG_IPV6=y -CONFIG_IPV6_MULTIPLE_TABLES=y -CONFIG_IPV6_SUBTREES=y -CONFIG_NETFILTER=y -CONFIG_NETFILTER_DEBUG=y -CONFIG_NETFILTER_NETLINK_QUEUE=y -CONFIG_NETFILTER_NETLINK_LOG=y -CONFIG_NF_CONNTRACK=y -CONFIG_NF_CONNTRACK_EVENTS=y -CONFIG_NF_CONNTRACK_TIMESTAMP=y -CONFIG_NF_CT_PROTO_UDPLITE=y -CONFIG_NF_CONNTRACK_AMANDA=y -CONFIG_NF_CONNTRACK_FTP=y -CONFIG_NF_CONNTRACK_H323=y -CONFIG_NF_CONNTRACK_IRC=y -CONFIG_NF_CONNTRACK_NETBIOS_NS=y -CONFIG_NF_CONNTRACK_SNMP=y -CONFIG_NF_CONNTRACK_PPTP=y -CONFIG_NF_CONNTRACK_SIP=y -CONFIG_NF_CONNTRACK_TFTP=y -CONFIG_NF_CT_NETLINK=y -CONFIG_NETFILTER_XT_MARK=y -CONFIG_NETFILTER_XT_CONNMARK=y -CONFIG_NETFILTER_XT_TARGET_TCPMSS=y -CONFIG_NETFILTER_XT_MATCH_ADDRTYPE=y -CONFIG_NETFILTER_XT_MATCH_CONNLIMIT=y -CONFIG_NETFILTER_XT_MATCH_CONNTRACK=y -CONFIG_NETFILTER_XT_MATCH_DSCP=y -CONFIG_NETFILTER_XT_MATCH_ESP=y -CONFIG_NETFILTER_XT_MATCH_IPRANGE=y -CONFIG_NETFILTER_XT_MATCH_MULTIPORT=y -CONFIG_NETFILTER_XT_MATCH_PHYSDEV=y -CONFIG_NETFILTER_XT_MATCH_PKTTYPE=y -CONFIG_IP_SET=y -CONFIG_NF_CONNTRACK_IPV4=y -CONFIG_IP_NF_IPTABLES=y -CONFIG_NETFILTER_XTABLES=y -CONFIG_NETFILTER_XT_MATCH_STATE=y -CONFIG_IP_NF_MATCH_AH=y -CONFIG_IP_NF_MATCH_ECN=y -CONFIG_IP_NF_MATCH_TTL=y -CONFIG_IP_NF_FILTER=y -CONFIG_IP_NF_TARGET_REJECT=y -CONFIG_IP_NF_TARGET_REJECT_SKERR=y -CONFIG_IP_NF_TARGET_ULOG=y -CONFIG_NF_NAT=y -CONFIG_IP_NF_TARGET_MASQUERADE=y -CONFIG_IP_NF_TARGET_NATTYPE_MODULE=y -CONFIG_IP_NF_TARGET_NETMAP=y -CONFIG_IP_NF_TARGET_REDIRECT=y -CONFIG_IP_NF_MANGLE=y -CONFIG_IP_NF_TARGET_ECN=y -CONFIG_IP_NF_TARGET_TTL=y -CONFIG_IP_NF_RAW=y -CONFIG_NF_CONNTRACK_IPV6=y -CONFIG_IP6_NF_IPTABLES=y -CONFIG_IP6_NF_MATCH_AH=y -CONFIG_IP6_NF_MATCH_FRAG=y -CONFIG_IP6_NF_MATCH_OPTS=y -CONFIG_IP6_NF_MATCH_HL=y -CONFIG_IP6_NF_MATCH_IPV6HEADER=y -CONFIG_IP6_NF_MATCH_MH=y -CONFIG_IP6_NF_MATCH_RT=y -CONFIG_IP6_NF_FILTER=y -CONFIG_IP6_NF_TARGET_REJECT=y -CONFIG_IP6_NF_TARGET_REJECT_SKERR=y -CONFIG_IP6_NF_MANGLE=y -CONFIG_IP6_NF_RAW=y -CONFIG_BRIDGE_NF_EBTABLES=y -CONFIG_BRIDGE_EBT_BROUTE=y -CONFIG_BRIDGE_EBT_T_FILTER=y -CONFIG_BRIDGE_EBT_IP=y -CONFIG_BRIDGE_EBT_IP6=y -CONFIG_BRIDGE=y -CONFIG_NET_SCHED=y -CONFIG_NET_SCH_HTB=y -CONFIG_NET_SCH_PRIO=y -CONFIG_NET_CLS_FW=y -CONFIG_CFG80211=m -CONFIG_NL80211_TESTMODE=y -CONFIG_MTD=y -CONFIG_MTD_CMDLINE_PARTS=y -CONFIG_MTD_OF_PARTS=y -CONFIG_MTD_CHAR=y -CONFIG_MTD_BLOCK=y -# CONFIG_MTD_MSM_NAND is not set -CONFIG_MTD_MSM_QPIC_NAND=y -CONFIG_BLK_DEV_LOOP=y -CONFIG_BLK_DEV_RAM=y -CONFIG_SCSI=y -CONFIG_SCSI_TGT=y -CONFIG_BLK_DEV_SD=y -CONFIG_CHR_DEV_SG=y -CONFIG_CHR_DEV_SCH=y -CONFIG_SCSI_MULTI_LUN=y -CONFIG_SCSI_CONSTANTS=y -CONFIG_SCSI_LOGGING=y -CONFIG_SCSI_SCAN_ASYNC=y -CONFIG_NETDEVICES=y -# CONFIG_NET_VENDOR_BROADCOM is not set -# CONFIG_NET_VENDOR_CIRRUS is not set -# CONFIG_NET_VENDOR_FARADAY is not set -# CONFIG_NET_VENDOR_INTEL is not set -# [linyunfeng] Not support ethernet KS8851 -# CONFIG_KS8851=y -# CONFIG_NET_VENDOR_MICROCHIP is not set -# CONFIG_MSM_RMNET is not set -CONFIG_MSM_RMNET_WWAN=y -CONFIG_ECM_IPA=y -# CONFIG_NET_VENDOR_NATSEMI is not set -# CONFIG_NET_VENDOR_SEEQ is not set -# CONFIG_NET_VENDOR_SMSC is not set -# CONFIG_NET_VENDOR_STMICRO is not set -CONFIG_ATH6K_LEGACY_EXT=y -# CONFIG_INPUT_MOUSEDEV is not set -CONFIG_INPUT_EVDEV=y -CONFIG_INPUT_KEYBOARD=y -CONFIG_KEYBOARD_GPIO=y -CONFIG_OF=y -# CONFIG_INPUT_MOUSE is not set -CONFIG_INPUT_MISC=y -CONFIG_INPUT_UINPUT=y -CONFIG_INPUT_GPIO=m -CONFIG_SERIO_LIBPS2=y -# CONFIG_LEGACY_PTYS is not set -CONFIG_SERIAL_MSM_HS=y -CONFIG_SERIAL_MSM_HSL=y -CONFIG_DIAG_CHAR=y -CONFIG_HW_RANDOM=y -CONFIG_HW_RANDOM_MSM=y -CONFIG_I2C=y -CONFIG_I2C_CHARDEV=y -CONFIG_I2C_QUP=y -CONFIG_MSM_BUSPM_DEV=m -CONFIG_SPMI=y -CONFIG_SPMI_MSM_PMIC_ARB=y -CONFIG_MSM_QPNP_INT=y -CONFIG_DEBUG_GPIO=y -CONFIG_GPIO_SYSFS=y -CONFIG_GPIO_QPNP_PIN=y -CONFIG_GPIO_QPNP_PIN_DEBUG=y -CONFIG_POWER_SUPPLY=y -CONFIG_MP2617_CHARGER=y -CONFIG_SENSORS_QPNP_ADC_VOLTAGE=y -CONFIG_THERMAL=y -CONFIG_THERMAL_TSENS8974=y -CONFIG_THERMAL_QPNP_ADC_TM=y -CONFIG_THERMAL_MONITOR=y -CONFIG_WCD9320_CODEC=n -CONFIG_REGULATOR=y -CONFIG_REGULATOR_FIXED_VOLTAGE=y -CONFIG_REGULATOR_QPNP=y -CONFIG_ION=y -CONFIG_ION_MSM=y -CONFIG_SOUND=n -CONFIG_SND=n -CONFIG_SND_SOC=n -CONFIG_SND_SOC_MDM9625=n -CONFIG_USB=y -CONFIG_USB_ANNOUNCE_NEW_DEVICES=y -CONFIG_USB_SUSPEND=y -CONFIG_USB_EHCI_HCD=y -CONFIG_USB_EHCI_EHSET=y -CONFIG_USB_EHCI_MSM=y -CONFIG_USB_EHCI_MSM_HSIC=y -CONFIG_USB_STORAGE=y -CONFIG_USB_STORAGE_DEBUG=y -CONFIG_USB_STORAGE_DATAFAB=y -CONFIG_USB_STORAGE_FREECOM=y -CONFIG_USB_STORAGE_ISD200=y -CONFIG_USB_STORAGE_USBAT=y -CONFIG_USB_STORAGE_SDDR09=y -CONFIG_USB_STORAGE_SDDR55=y -CONFIG_USB_STORAGE_JUMPSHOT=y -CONFIG_USB_STORAGE_ALAUDA=y -CONFIG_USB_STORAGE_ONETOUCH=y -CONFIG_USB_STORAGE_KARMA=y -CONFIG_USB_STORAGE_CYPRESS_ATACB=y -CONFIG_USB_EHSET_TEST_FIXTURE=y -CONFIG_USB_GADGET=y -CONFIG_USB_GADGET_DEBUG_FILES=y -CONFIG_USB_CI13XXX_MSM=y -CONFIG_USB_G_ANDROID=y -CONFIG_MMC=y -CONFIG_MMC_PERF_PROFILING=y -CONFIG_MMC_UNSAFE_RESUME=y -CONFIG_MMC_CLKGATE=y -CONFIG_MMC_EMBEDDED_SDIO=y -CONFIG_MMC_PARANOID_SD_INIT=y -CONFIG_MMC_BLOCK_MINORS=32 -CONFIG_MMC_TEST=m -CONFIG_MMC_MSM=y -CONFIG_MMC_MSM_SPS_SUPPORT=y -CONFIG_RTC_CLASS=y -# CONFIG_RTC_DRV_MSM is not set -CONFIG_RTC_DRV_QPNP=y -CONFIG_SPS=y -CONFIG_USB_BAM=y -CONFIG_SPS_SUPPORT_BAMDMA=y -CONFIG_SPS_SUPPORT_NDP_BAM=y -CONFIG_QPNP_POWER_ON=y -CONFIG_IPA=y -CONFIG_EXT3_FS=y -CONFIG_VFAT_FS=y -CONFIG_TMPFS=y -CONFIG_YAFFS_FS=y -CONFIG_YAFFS_DISABLE_TAGS_ECC=y -CONFIG_NLS_CODEPAGE_437=y -CONFIG_NLS_ASCII=y -CONFIG_NLS_ISO8859_1=y -CONFIG_PRINTK_TIME=y -CONFIG_MAGIC_SYSRQ=y -CONFIG_SCHEDSTATS=y -CONFIG_TIMER_STATS=y -# CONFIG_DEBUG_PREEMPT is not set -CONFIG_DEBUG_INFO=y -CONFIG_DEBUG_MEMORY_INIT=y -CONFIG_ENABLE_DEFAULT_TRACERS=y -CONFIG_DYNAMIC_DEBUG=y -CONFIG_OOPS_LOG_BUFFER=y -CONFIG_OOPS_LOG_BUF_SHIFT=14 -CONFIG_DEBUG_USER=y -CONFIG_KEYS=y -CONFIG_CRYPTO_AUTHENC=y -CONFIG_CRYPTO_CBC=y -CONFIG_CRYPTO_HMAC=y -CONFIG_CRYPTO_MD4=y -CONFIG_CRYPTO_MD5=y -CONFIG_CRYPTO_SHA1=y -CONFIG_CRYPTO_SHA256=y -CONFIG_CRYPTO_AES=y -CONFIG_CRYPTO_ARC4=y -CONFIG_CRYPTO_DES=y -CONFIG_CRYPTO_TWOFISH=y -CONFIG_CRYPTO_DEFLATE=y -CONFIG_CRYPTO_DEV_QCRYPTO=m -CONFIG_CRYPTO_DEV_QCE=m -CONFIG_CRYPTO_DEV_QCEDEV=m -CONFIG_CRC_CCITT=y -CONFIG_LIBCRC32C=y -CONFIG_DEVMEM=n -CONFIG_DEVKMEM=n -# TP-LINK CONFIG -CONFIG_TPLINK_PMIC_EXT=y -CONFIG_TPLINK_FEATURE_LED=y -CONFIG_TPLINK_PRODUCT_LTE_MODULE_V1=y -# [chenchao] Export pm wakelocks to userspace -CONFIG_PM_WAKELOCKS=y -# [xiongsizhe] add led support -CONFIG_NEW_LEDS=y -CONFIG_LEDS_CLASS=y -CONFIG_LEDS_GPIO=y -CONFIG_LEDS_TRIGGERS=y -CONFIG_LEDS_TRIGGER_TIMER=y -CONFIG_LEDS_TRIGGER_DEFAULT_ON=y diff --git a/kernel/arch/arm/configs/lte_module-v1_defconfig b/kernel/arch/arm/configs/lte_module-v1_defconfig deleted file mode 100755 index 4c101307e..000000000 --- a/kernel/arch/arm/configs/lte_module-v1_defconfig +++ /dev/null @@ -1,354 +0,0 @@ -# CONFIG_ARM_PATCH_PHYS_VIRT is not set -CONFIG_EXPERIMENTAL=y -# CONFIG_LOCALVERSION_AUTO is not set -CONFIG_SYSVIPC=y -CONFIG_IKCONFIG=y -CONFIG_IKCONFIG_PROC=y -CONFIG_CGROUPS=y -CONFIG_CGROUP_DEBUG=y -CONFIG_CGROUP_FREEZER=y -CONFIG_CGROUP_CPUACCT=y -CONFIG_RESOURCE_COUNTERS=y -CONFIG_CGROUP_SCHED=y -# CONFIG_FAIR_GROUP_SCHED is not set -CONFIG_RT_GROUP_SCHED=y -CONFIG_NAMESPACES=y -# CONFIG_UTS_NS is not set -# CONFIG_IPC_NS is not set -# CONFIG_USER_NS is not set -# CONFIG_PID_NS is not set -CONFIG_RELAY=y -CONFIG_BLK_DEV_INITRD=y -CONFIG_RD_BZIP2=y -CONFIG_RD_LZMA=y -CONFIG_CC_OPTIMIZE_FOR_SIZE=y -CONFIG_PANIC_TIMEOUT=5 -CONFIG_KALLSYMS_ALL=y -CONFIG_EMBEDDED=y -CONFIG_PROFILING=y -CONFIG_OPROFILE=m -CONFIG_MODULES=y -CONFIG_MODULE_UNLOAD=y -CONFIG_MODULE_FORCE_UNLOAD=y -CONFIG_PARTITION_ADVANCED=y -CONFIG_ARCH_MSM=y -CONFIG_ARCH_MSM9625=y -# CONFIG_MSM_STACKED_MEMORY is not set -# CONFIG_MSM_FIQ_SUPPORT is not set -# CONFIG_MSM_PROC_COMM is not set -CONFIG_MSM_SMD=y -CONFIG_MSM_SMD_PKG4=y -CONFIG_MSM_BAM_DMUX=y -CONFIG_MSM_SMP2P=y -CONFIG_MSM_SMP2P_TEST=y -CONFIG_MSM_IPC_LOGGING=y -CONFIG_MSM_IPC_ROUTER=y -CONFIG_MSM_IPC_ROUTER_SMD_XPRT=y -CONFIG_MSM_RPM_REGULATOR_SMD=y -CONFIG_MSM_SUBSYSTEM_RESTART=y -CONFIG_MSM_PIL=y -CONFIG_MSM_PIL_MSS_QDSP6V5=y -CONFIG_MSM_DIRECT_SCLK_ACCESS=y -CONFIG_MSM_BUS_SCALING=y -CONFIG_MSM_BUSPM_DEV=m -CONFIG_MSM_WATCHDOG_V2=y -CONFIG_MSM_MEMORY_DUMP=y -CONFIG_MSM_DLOAD_MODE=y -CONFIG_MSM_ADSP_LOADER=m -CONFIG_MSM_RTB=y -CONFIG_MSM_ENABLE_WDOG_DEBUG_CONTROL=y -CONFIG_MSM_UARTDM_Core_v14=y -CONFIG_MSM_BOOT_STATS=y -CONFIG_NO_HZ=y -CONFIG_HIGH_RES_TIMERS=y -CONFIG_ARM_ARCH_TIMER=y -CONFIG_PREEMPT=y -CONFIG_AEABI=y -CONFIG_HIGHMEM=y -CONFIG_USE_OF=y -CONFIG_CPU_FREQ=y -CONFIG_CPU_FREQ_GOV_POWERSAVE=y -CONFIG_CPU_FREQ_GOV_USERSPACE=y -CONFIG_CPU_FREQ_GOV_ONDEMAND=y -CONFIG_CPU_FREQ_GOV_CONSERVATIVE=y -CONFIG_CPU_IDLE=y -CONFIG_VFP=y -CONFIG_NEON=y -# CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set -CONFIG_PM_AUTOSLEEP=y -CONFIG_PM_RUNTIME=y -CONFIG_NET=y -CONFIG_PACKET=y -CONFIG_UNIX=y -CONFIG_INET=y -CONFIG_IP_MULTICAST=y -CONFIG_IP_ADVANCED_ROUTER=y -CONFIG_IP_MULTIPLE_TABLES=y -CONFIG_IP_MROUTE=y -CONFIG_IP_PIMSM_V2=y -CONFIG_IPV6=y -CONFIG_IPV6_MULTIPLE_TABLES=y -CONFIG_IPV6_SUBTREES=y -CONFIG_NETFILTER=y -CONFIG_NETFILTER_DEBUG=y -CONFIG_NETFILTER_NETLINK_QUEUE=y -CONFIG_NETFILTER_NETLINK_LOG=y -CONFIG_NF_CONNTRACK=y -CONFIG_NF_CONNTRACK_EVENTS=y -CONFIG_NF_CONNTRACK_TIMESTAMP=y -CONFIG_NF_CT_PROTO_UDPLITE=y -CONFIG_NF_CONNTRACK_AMANDA=y -CONFIG_NF_CONNTRACK_FTP=y -CONFIG_NF_CONNTRACK_H323=y -CONFIG_NF_CONNTRACK_IRC=y -CONFIG_NF_CONNTRACK_NETBIOS_NS=y -CONFIG_NF_CONNTRACK_SNMP=y -CONFIG_NF_CONNTRACK_PPTP=y -CONFIG_NF_CONNTRACK_SIP=y -CONFIG_NF_CONNTRACK_TFTP=y -CONFIG_NF_CT_NETLINK=y -CONFIG_NETFILTER_XT_MARK=y -CONFIG_NETFILTER_XT_CONNMARK=y -CONFIG_NETFILTER_XT_TARGET_LOG=y -CONFIG_NETFILTER_XT_TARGET_TRACE=y -CONFIG_NETFILTER_XT_TARGET_TCPMSS=y -CONFIG_NETFILTER_XT_MATCH_ADDRTYPE=y -CONFIG_NETFILTER_XT_MATCH_CONNLIMIT=y -CONFIG_NETFILTER_XT_MATCH_CONNTRACK=y -CONFIG_NETFILTER_XT_MATCH_DSCP=y -CONFIG_NETFILTER_XT_MATCH_ESP=y -CONFIG_NETFILTER_XT_MATCH_IPRANGE=y -CONFIG_NETFILTER_XT_MATCH_LIMIT=y -CONFIG_NETFILTER_XT_MATCH_MULTIPORT=y -CONFIG_NETFILTER_XT_MATCH_PHYSDEV=y -CONFIG_NETFILTER_XT_MATCH_PKTTYPE=y -CONFIG_IP_SET=y -CONFIG_NF_CONNTRACK_IPV4=y -CONFIG_IP_NF_IPTABLES=y -CONFIG_NETFILTER_XTABLES=y -CONFIG_NETFILTER_XT_MATCH_STATE=y -CONFIG_IP_NF_MATCH_AH=y -CONFIG_IP_NF_MATCH_ECN=y -CONFIG_IP_NF_MATCH_TTL=y -CONFIG_IP_NF_FILTER=y -CONFIG_IP_NF_TARGET_REJECT=y -CONFIG_IP_NF_TARGET_REJECT_SKERR=y -CONFIG_IP_NF_TARGET_ULOG=y -CONFIG_NF_NAT=y -CONFIG_IP_NF_TARGET_MASQUERADE=y -CONFIG_IP_NF_TARGET_NATTYPE_MODULE=y -CONFIG_IP_NF_TARGET_NETMAP=y -CONFIG_IP_NF_TARGET_REDIRECT=y -CONFIG_IP_NF_MANGLE=y -CONFIG_IP_NF_TARGET_ECN=y -CONFIG_IP_NF_TARGET_TTL=y -CONFIG_IP_NF_RAW=y -CONFIG_NF_CONNTRACK_IPV6=y -CONFIG_IP6_NF_IPTABLES=y -CONFIG_IP6_NF_MATCH_AH=y -CONFIG_IP6_NF_MATCH_FRAG=y -CONFIG_IP6_NF_MATCH_OPTS=y -CONFIG_IP6_NF_MATCH_HL=y -CONFIG_IP6_NF_MATCH_IPV6HEADER=y -CONFIG_IP6_NF_MATCH_MH=y -CONFIG_IP6_NF_MATCH_RT=y -CONFIG_IP6_NF_FILTER=y -CONFIG_IP6_NF_TARGET_REJECT=y -CONFIG_IP6_NF_TARGET_REJECT_SKERR=y -CONFIG_IP6_NF_MANGLE=y -CONFIG_IP6_NF_RAW=y -CONFIG_BRIDGE_NF_EBTABLES=y -CONFIG_BRIDGE_EBT_BROUTE=y -CONFIG_BRIDGE_EBT_T_FILTER=y -CONFIG_BRIDGE_EBT_IP=y -CONFIG_BRIDGE_EBT_IP6=y -CONFIG_BRIDGE=y -CONFIG_NET_SCHED=y -CONFIG_NET_SCH_HTB=y -CONFIG_NET_SCH_PRIO=y -CONFIG_NET_CLS_FW=y -CONFIG_CFG80211=m -CONFIG_NL80211_TESTMODE=y -CONFIG_MTD=y -CONFIG_MTD_CMDLINE_PARTS=y -CONFIG_MTD_OF_PARTS=y -CONFIG_MTD_CHAR=y -CONFIG_MTD_BLOCK=y -# CONFIG_MTD_MSM_NAND is not set -CONFIG_MTD_MSM_QPIC_NAND=y -CONFIG_BLK_DEV_LOOP=y -CONFIG_BLK_DEV_RAM=y -CONFIG_SCSI=y -CONFIG_SCSI_TGT=y -CONFIG_BLK_DEV_SD=y -CONFIG_CHR_DEV_SG=y -CONFIG_CHR_DEV_SCH=y -CONFIG_SCSI_MULTI_LUN=y -CONFIG_SCSI_CONSTANTS=y -CONFIG_SCSI_LOGGING=y -CONFIG_SCSI_SCAN_ASYNC=y -CONFIG_NETDEVICES=y -# CONFIG_NET_VENDOR_BROADCOM is not set -# CONFIG_NET_VENDOR_CIRRUS is not set -# CONFIG_NET_VENDOR_FARADAY is not set -# CONFIG_NET_VENDOR_INTEL is not set -# [linyunfeng] Not support ethernet KS8851 -# CONFIG_KS8851=y -# CONFIG_NET_VENDOR_MICROCHIP is not set -# CONFIG_MSM_RMNET is not set -CONFIG_MSM_RMNET_WWAN=y -CONFIG_ECM_IPA=y -# CONFIG_NET_VENDOR_NATSEMI is not set -# CONFIG_NET_VENDOR_SEEQ is not set -# CONFIG_NET_VENDOR_SMSC is not set -# CONFIG_NET_VENDOR_STMICRO is not set -CONFIG_ATH6K_LEGACY_EXT=y -# CONFIG_INPUT_MOUSEDEV is not set -CONFIG_INPUT_EVDEV=y -CONFIG_INPUT_KEYBOARD=y -CONFIG_KEYBOARD_GPIO=y -CONFIG_OF=y -# CONFIG_INPUT_MOUSE is not set -CONFIG_INPUT_MISC=y -CONFIG_INPUT_UINPUT=y -CONFIG_INPUT_GPIO=m -CONFIG_SERIO_LIBPS2=y -# CONFIG_LEGACY_PTYS is not set -CONFIG_SERIAL_MSM_HS=y -CONFIG_SERIAL_MSM_HSL=y -CONFIG_SERIAL_MSM_HSL_CONSOLE=y -CONFIG_DIAG_CHAR=y -CONFIG_HW_RANDOM=y -CONFIG_HW_RANDOM_MSM=y -CONFIG_I2C=y -CONFIG_I2C_CHARDEV=y -CONFIG_I2C_QUP=y -CONFIG_SPMI=y -CONFIG_SPMI_MSM_PMIC_ARB=y -CONFIG_MSM_QPNP_INT=y -CONFIG_DEBUG_GPIO=y -CONFIG_GPIO_SYSFS=y -CONFIG_GPIO_QPNP_PIN=y -CONFIG_GPIO_QPNP_PIN_DEBUG=y -CONFIG_POWER_SUPPLY=y -CONFIG_MP2617_CHARGER=y -CONFIG_SENSORS_QPNP_ADC_VOLTAGE=y -CONFIG_THERMAL=y -CONFIG_THERMAL_TSENS8974=y -CONFIG_THERMAL_QPNP_ADC_TM=y -CONFIG_THERMAL_MONITOR=y -CONFIG_WCD9320_CODEC=n -CONFIG_REGULATOR=y -CONFIG_REGULATOR_FIXED_VOLTAGE=y -CONFIG_REGULATOR_QPNP=y -CONFIG_ION=y -CONFIG_ION_MSM=y -CONFIG_SOUND=n -CONFIG_SND=n -CONFIG_SND_SOC=n -CONFIG_SND_SOC_MDM9625=n -CONFIG_USB=y -CONFIG_USB_ANNOUNCE_NEW_DEVICES=y -CONFIG_USB_SUSPEND=y -CONFIG_USB_EHCI_HCD=y -CONFIG_USB_EHCI_EHSET=y -CONFIG_USB_EHCI_MSM=y -CONFIG_USB_EHCI_MSM_HSIC=y -CONFIG_USB_STORAGE=y -CONFIG_USB_STORAGE_DEBUG=y -CONFIG_USB_STORAGE_DATAFAB=y -CONFIG_USB_STORAGE_FREECOM=y -CONFIG_USB_STORAGE_ISD200=y -CONFIG_USB_STORAGE_USBAT=y -CONFIG_USB_STORAGE_SDDR09=y -CONFIG_USB_STORAGE_SDDR55=y -CONFIG_USB_STORAGE_JUMPSHOT=y -CONFIG_USB_STORAGE_ALAUDA=y -CONFIG_USB_STORAGE_ONETOUCH=y -CONFIG_USB_STORAGE_KARMA=y -CONFIG_USB_STORAGE_CYPRESS_ATACB=y -CONFIG_USB_EHSET_TEST_FIXTURE=y -CONFIG_USB_GADGET=y -CONFIG_USB_GADGET_DEBUG_FILES=y -CONFIG_USB_CI13XXX_MSM=y -CONFIG_USB_G_ANDROID=y -CONFIG_MMC=y -CONFIG_MMC_PERF_PROFILING=y -CONFIG_MMC_UNSAFE_RESUME=y -CONFIG_MMC_CLKGATE=y -CONFIG_MMC_EMBEDDED_SDIO=y -CONFIG_MMC_PARANOID_SD_INIT=y -CONFIG_MMC_BLOCK_MINORS=32 -CONFIG_MMC_TEST=m -CONFIG_MMC_MSM=y -CONFIG_MMC_MSM_SPS_SUPPORT=y -CONFIG_RTC_CLASS=y -# CONFIG_RTC_DRV_MSM is not set -CONFIG_RTC_DRV_QPNP=y -CONFIG_STAGING=y -CONFIG_ANDROID=y -CONFIG_ANDROID_LOGGER=y -CONFIG_SPS=y -CONFIG_USB_BAM=y -CONFIG_SPS_SUPPORT_BAMDMA=y -CONFIG_SPS_SUPPORT_NDP_BAM=y -CONFIG_QPNP_POWER_ON=y -CONFIG_IPA=y -CONFIG_CORESIGHT=y -CONFIG_CORESIGHT_TMC=y -CONFIG_CORESIGHT_TPIU=y -CONFIG_CORESIGHT_FUNNEL=y -CONFIG_CORESIGHT_REPLICATOR=y -CONFIG_CORESIGHT_STM=y -CONFIG_CORESIGHT_HWEVENT=y -CONFIG_CORESIGHT_ETM=y -CONFIG_CORESIGHT_EVENT=m -CONFIG_EXT3_FS=y -CONFIG_FUSE_FS=y -CONFIG_VFAT_FS=y -CONFIG_TMPFS=y -CONFIG_YAFFS_FS=y -CONFIG_YAFFS_DISABLE_TAGS_ECC=y -CONFIG_NLS_CODEPAGE_437=y -CONFIG_NLS_ASCII=y -CONFIG_NLS_ISO8859_1=y -CONFIG_PRINTK_TIME=y -CONFIG_MAGIC_SYSRQ=y -CONFIG_SCHEDSTATS=y -CONFIG_TIMER_STATS=y -# CONFIG_DEBUG_PREEMPT is not set -CONFIG_DEBUG_INFO=y -CONFIG_DEBUG_MEMORY_INIT=y -CONFIG_ENABLE_DEFAULT_TRACERS=y -CONFIG_DYNAMIC_DEBUG=y -CONFIG_OOPS_LOG_BUFFER=y -CONFIG_OOPS_LOG_BUF_SHIFT=14 -CONFIG_DEBUG_USER=y -CONFIG_KEYS=y -CONFIG_CRYPTO_AUTHENC=y -CONFIG_CRYPTO_CBC=y -CONFIG_CRYPTO_HMAC=y -CONFIG_CRYPTO_MD4=y -CONFIG_CRYPTO_MD5=y -CONFIG_CRYPTO_SHA1=y -CONFIG_CRYPTO_SHA256=y -CONFIG_CRYPTO_AES=y -CONFIG_CRYPTO_ARC4=y -CONFIG_CRYPTO_DES=y -CONFIG_CRYPTO_TWOFISH=y -CONFIG_CRYPTO_DEFLATE=y -CONFIG_CRC_CCITT=y -CONFIG_LIBCRC32C=y -# TP-LINK CONFIG -CONFIG_TPLINK_PMIC_EXT=y -CONFIG_TPLINK_FEATURE_LED=y -CONFIG_TPLINK_PRODUCT_LTE_MODULE_V1=y -# [chenchao] Export pm wakelocks to userspace -CONFIG_PM_WAKELOCKS=y -# [xiongsizhe] add led support -CONFIG_NEW_LEDS=y -CONFIG_LEDS_CLASS=y -CONFIG_LEDS_GPIO=y -CONFIG_LEDS_TRIGGERS=y -CONFIG_LEDS_TRIGGER_TIMER=y -CONFIG_LEDS_TRIGGER_DEFAULT_ON=y diff --git a/kernel/arch/arm/configs/m7300-un-v1-perf_defconfig b/kernel/arch/arm/configs/m7300-un-v1-perf_defconfig deleted file mode 100755 index 359eafd92..000000000 --- a/kernel/arch/arm/configs/m7300-un-v1-perf_defconfig +++ /dev/null @@ -1,337 +0,0 @@ -# CONFIG_ARM_PATCH_PHYS_VIRT is not set -CONFIG_EXPERIMENTAL=y -# CONFIG_LOCALVERSION_AUTO is not set -CONFIG_SYSVIPC=y -CONFIG_IKCONFIG=y -CONFIG_IKCONFIG_PROC=y -CONFIG_CGROUPS=y -CONFIG_CGROUP_DEBUG=y -CONFIG_CGROUP_FREEZER=y -CONFIG_CGROUP_CPUACCT=y -CONFIG_RESOURCE_COUNTERS=y -CONFIG_CGROUP_SCHED=y -# CONFIG_FAIR_GROUP_SCHED is not set -CONFIG_RT_GROUP_SCHED=y -CONFIG_NAMESPACES=y -# CONFIG_UTS_NS is not set -# CONFIG_IPC_NS is not set -# CONFIG_USER_NS is not set -# CONFIG_PID_NS is not set -CONFIG_RELAY=y -CONFIG_BLK_DEV_INITRD=y -CONFIG_RD_BZIP2=y -CONFIG_RD_LZMA=y -CONFIG_CC_OPTIMIZE_FOR_SIZE=y -CONFIG_PANIC_TIMEOUT=5 -CONFIG_KALLSYMS_ALL=y -CONFIG_EMBEDDED=y -# CONFIG_SLUB_DEBUG is not set -CONFIG_PROFILING=y -CONFIG_OPROFILE=m -CONFIG_MODULES=y -CONFIG_MODULE_UNLOAD=y -CONFIG_MODULE_FORCE_UNLOAD=y -CONFIG_PARTITION_ADVANCED=y -CONFIG_ARCH_MSM=y -CONFIG_ARCH_MSM9625=y -# CONFIG_MSM_STACKED_MEMORY is not set -# CONFIG_MSM_FIQ_SUPPORT is not set -# CONFIG_MSM_PROC_COMM is not set -CONFIG_MSM_SMD=y -CONFIG_MSM_SMD_PKG4=y -CONFIG_MSM_BAM_DMUX=y -CONFIG_MSM_SMP2P=y -CONFIG_MSM_SMP2P_TEST=y -CONFIG_MSM_IPC_LOGGING=y -CONFIG_MSM_IPC_ROUTER=y -CONFIG_MSM_IPC_ROUTER_SMD_XPRT=y -CONFIG_MSM_RPM_REGULATOR_SMD=y -CONFIG_MSM_SUBSYSTEM_RESTART=y -CONFIG_MSM_PIL=y -CONFIG_MSM_PIL_MSS_QDSP6V5=y -CONFIG_MSM_DIRECT_SCLK_ACCESS=y -CONFIG_MSM_BUS_SCALING=y -CONFIG_MSM_WATCHDOG_V2=y -CONFIG_MSM_MEMORY_DUMP=y -CONFIG_MSM_DLOAD_MODE=y -CONFIG_MSM_ADSP_LOADER=m -CONFIG_MSM_ENABLE_WDOG_DEBUG_CONTROL=y -CONFIG_MSM_UARTDM_Core_v14=y -CONFIG_MSM_BOOT_STATS=y -CONFIG_NO_HZ=y -CONFIG_HIGH_RES_TIMERS=y -CONFIG_ARM_ARCH_TIMER=y -CONFIG_PREEMPT=y -CONFIG_AEABI=y -CONFIG_HIGHMEM=y -CONFIG_USE_OF=y -CONFIG_CPU_FREQ=y -CONFIG_CPU_FREQ_GOV_POWERSAVE=y -CONFIG_CPU_FREQ_GOV_USERSPACE=y -CONFIG_CPU_FREQ_GOV_ONDEMAND=y -CONFIG_CPU_FREQ_GOV_CONSERVATIVE=y -CONFIG_CPU_IDLE=y -CONFIG_VFP=y -CONFIG_NEON=y -# CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set -CONFIG_PM_AUTOSLEEP=y -CONFIG_PM_RUNTIME=y -CONFIG_NET=y -CONFIG_PACKET=y -CONFIG_UNIX=y -CONFIG_INET=y -CONFIG_IP_MULTICAST=y -CONFIG_IP_ADVANCED_ROUTER=y -CONFIG_IP_MULTIPLE_TABLES=y -CONFIG_IP_MROUTE=y -CONFIG_IP_PIMSM_V2=y -CONFIG_IPV6=y -CONFIG_IPV6_MULTIPLE_TABLES=y -CONFIG_IPV6_SUBTREES=y -CONFIG_NETFILTER=y -CONFIG_NETFILTER_DEBUG=y -CONFIG_NETFILTER_NETLINK_QUEUE=y -CONFIG_NETFILTER_NETLINK_LOG=y -CONFIG_NF_CONNTRACK=y -CONFIG_NF_CONNTRACK_EVENTS=y -CONFIG_NF_CONNTRACK_TIMESTAMP=y -CONFIG_NF_CT_PROTO_UDPLITE=y -CONFIG_NF_CONNTRACK_AMANDA=y -CONFIG_NF_CONNTRACK_FTP=y -CONFIG_NF_CONNTRACK_H323=y -CONFIG_NF_CONNTRACK_IRC=y -CONFIG_NF_CONNTRACK_NETBIOS_NS=y -CONFIG_NF_CONNTRACK_SNMP=y -CONFIG_NF_CONNTRACK_PPTP=y -CONFIG_NF_CONNTRACK_SIP=y -CONFIG_NF_CONNTRACK_TFTP=y -CONFIG_NF_CT_NETLINK=y -CONFIG_NETFILTER_XT_MARK=y -CONFIG_NETFILTER_XT_CONNMARK=y -CONFIG_NETFILTER_XT_TARGET_TCPMSS=y -CONFIG_NETFILTER_XT_MATCH_ADDRTYPE=y -CONFIG_NETFILTER_XT_MATCH_CONNLIMIT=y -CONFIG_NETFILTER_XT_MATCH_CONNTRACK=y -CONFIG_NETFILTER_XT_MATCH_DSCP=y -CONFIG_NETFILTER_XT_MATCH_ESP=y -CONFIG_NETFILTER_XT_MATCH_IPRANGE=y -CONFIG_NETFILTER_XT_MATCH_MULTIPORT=y -CONFIG_NETFILTER_XT_MATCH_PHYSDEV=y -CONFIG_NETFILTER_XT_MATCH_PKTTYPE=y -CONFIG_IP_SET=y -CONFIG_NF_CONNTRACK_IPV4=y -CONFIG_IP_NF_IPTABLES=y -CONFIG_NETFILTER_XTABLES=y -CONFIG_NETFILTER_XT_MATCH_STATE=y -CONFIG_IP_NF_MATCH_AH=y -CONFIG_IP_NF_MATCH_ECN=y -CONFIG_IP_NF_MATCH_TTL=y -CONFIG_IP_NF_FILTER=y -CONFIG_IP_NF_TARGET_REJECT=y -CONFIG_IP_NF_TARGET_REJECT_SKERR=y -CONFIG_IP_NF_TARGET_ULOG=y -CONFIG_NF_NAT=y -CONFIG_IP_NF_TARGET_MASQUERADE=y -CONFIG_IP_NF_TARGET_NATTYPE_MODULE=y -CONFIG_IP_NF_TARGET_NETMAP=y -CONFIG_IP_NF_TARGET_REDIRECT=y -CONFIG_IP_NF_MANGLE=y -CONFIG_IP_NF_TARGET_ECN=y -CONFIG_IP_NF_TARGET_TTL=y -CONFIG_IP_NF_RAW=y -CONFIG_NF_CONNTRACK_IPV6=y -CONFIG_IP6_NF_IPTABLES=y -CONFIG_IP6_NF_MATCH_AH=y -CONFIG_IP6_NF_MATCH_FRAG=y -CONFIG_IP6_NF_MATCH_OPTS=y -CONFIG_IP6_NF_MATCH_HL=y -CONFIG_IP6_NF_MATCH_IPV6HEADER=y -CONFIG_IP6_NF_MATCH_MH=y -CONFIG_IP6_NF_MATCH_RT=y -CONFIG_IP6_NF_FILTER=y -CONFIG_IP6_NF_TARGET_REJECT=y -CONFIG_IP6_NF_TARGET_REJECT_SKERR=y -CONFIG_IP6_NF_MANGLE=y -CONFIG_IP6_NF_RAW=y -CONFIG_BRIDGE_NF_EBTABLES=y -CONFIG_BRIDGE_EBT_BROUTE=y -CONFIG_BRIDGE_EBT_T_FILTER=y -CONFIG_BRIDGE_EBT_IP=y -CONFIG_BRIDGE_EBT_IP6=y -CONFIG_BRIDGE=y -CONFIG_NET_SCHED=y -CONFIG_NET_SCH_HTB=y -CONFIG_NET_SCH_PRIO=y -CONFIG_NET_CLS_FW=y -CONFIG_CFG80211=m -CONFIG_NL80211_TESTMODE=y -CONFIG_MTD=y -CONFIG_MTD_CMDLINE_PARTS=y -CONFIG_MTD_OF_PARTS=y -CONFIG_MTD_CHAR=y -CONFIG_MTD_BLOCK=y -# CONFIG_MTD_MSM_NAND is not set -CONFIG_MTD_MSM_QPIC_NAND=y -CONFIG_BLK_DEV_LOOP=y -CONFIG_BLK_DEV_RAM=y -CONFIG_SCSI=y -CONFIG_SCSI_TGT=y -CONFIG_BLK_DEV_SD=y -CONFIG_CHR_DEV_SG=y -CONFIG_CHR_DEV_SCH=y -CONFIG_SCSI_MULTI_LUN=y -CONFIG_SCSI_CONSTANTS=y -CONFIG_SCSI_LOGGING=y -CONFIG_SCSI_SCAN_ASYNC=y -CONFIG_NETDEVICES=y -# CONFIG_NET_VENDOR_BROADCOM is not set -# CONFIG_NET_VENDOR_CIRRUS is not set -# CONFIG_NET_VENDOR_FARADAY is not set -# CONFIG_NET_VENDOR_INTEL is not set -# [linyunfeng] Not support ethernet KS8851 -# CONFIG_KS8851=y -# CONFIG_NET_VENDOR_MICROCHIP is not set -# CONFIG_MSM_RMNET is not set -CONFIG_MSM_RMNET_WWAN=y -CONFIG_ECM_IPA=y -# CONFIG_NET_VENDOR_NATSEMI is not set -# CONFIG_NET_VENDOR_SEEQ is not set -# CONFIG_NET_VENDOR_SMSC is not set -# CONFIG_NET_VENDOR_STMICRO is not set -CONFIG_ATH6K_LEGACY_EXT=y -# CONFIG_INPUT_MOUSEDEV is not set -CONFIG_INPUT_EVDEV=y -CONFIG_INPUT_KEYBOARD=y -CONFIG_KEYBOARD_GPIO=y -CONFIG_OF=y -# CONFIG_INPUT_MOUSE is not set -CONFIG_INPUT_MISC=y -CONFIG_INPUT_UINPUT=y -CONFIG_INPUT_GPIO=m -CONFIG_SERIO_LIBPS2=y -# CONFIG_LEGACY_PTYS is not set -CONFIG_SERIAL_MSM_HS=y -CONFIG_SERIAL_MSM_HSL=y -CONFIG_DIAG_CHAR=y -CONFIG_HW_RANDOM=y -CONFIG_HW_RANDOM_MSM=y -CONFIG_I2C=y -CONFIG_I2C_CHARDEV=y -CONFIG_I2C_QUP=y -CONFIG_MSM_BUSPM_DEV=m -CONFIG_SPI=y -CONFIG_SPI_QUP=y -CONFIG_SPI_SPIDEV=m -CONFIG_SPMI=y -CONFIG_SPMI_MSM_PMIC_ARB=y -CONFIG_MSM_QPNP_INT=y -CONFIG_DEBUG_GPIO=y -CONFIG_GPIO_SYSFS=y -CONFIG_GPIO_QPNP_PIN=y -CONFIG_GPIO_QPNP_PIN_DEBUG=y -CONFIG_POWER_SUPPLY=y -CONFIG_MP2617_CHARGER=y -CONFIG_SENSORS_QPNP_ADC_VOLTAGE=y -CONFIG_THERMAL=y -CONFIG_THERMAL_TSENS8974=y -CONFIG_THERMAL_QPNP_ADC_TM=y -CONFIG_THERMAL_MONITOR=y -CONFIG_WCD9320_CODEC=n -CONFIG_REGULATOR=y -CONFIG_REGULATOR_FIXED_VOLTAGE=y -CONFIG_REGULATOR_QPNP=y -CONFIG_ION=y -CONFIG_ION_MSM=y -CONFIG_SOUND=n -CONFIG_SND=n -CONFIG_SND_SOC=n -CONFIG_SND_SOC_MDM9625=n -CONFIG_USB=y -CONFIG_USB_ANNOUNCE_NEW_DEVICES=y -CONFIG_USB_SUSPEND=y -CONFIG_USB_EHCI_HCD=y -CONFIG_USB_EHCI_EHSET=y -CONFIG_USB_EHCI_MSM=y -CONFIG_USB_EHCI_MSM_HSIC=y -CONFIG_USB_STORAGE=y -CONFIG_USB_STORAGE_DEBUG=y -CONFIG_USB_STORAGE_DATAFAB=y -CONFIG_USB_STORAGE_FREECOM=y -CONFIG_USB_STORAGE_ISD200=y -CONFIG_USB_STORAGE_USBAT=y -CONFIG_USB_STORAGE_SDDR09=y -CONFIG_USB_STORAGE_SDDR55=y -CONFIG_USB_STORAGE_JUMPSHOT=y -CONFIG_USB_STORAGE_ALAUDA=y -CONFIG_USB_STORAGE_ONETOUCH=y -CONFIG_USB_STORAGE_KARMA=y -CONFIG_USB_STORAGE_CYPRESS_ATACB=y -CONFIG_USB_EHSET_TEST_FIXTURE=y -CONFIG_USB_GADGET=y -CONFIG_USB_GADGET_DEBUG_FILES=y -CONFIG_USB_CI13XXX_MSM=y -CONFIG_USB_G_ANDROID=y -CONFIG_MMC=y -CONFIG_MMC_PERF_PROFILING=y -CONFIG_MMC_UNSAFE_RESUME=y -CONFIG_MMC_CLKGATE=y -CONFIG_MMC_EMBEDDED_SDIO=y -CONFIG_MMC_PARANOID_SD_INIT=y -CONFIG_MMC_BLOCK_MINORS=32 -CONFIG_MMC_TEST=m -CONFIG_MMC_MSM=y -CONFIG_MMC_MSM_SPS_SUPPORT=y -CONFIG_RTC_CLASS=y -# CONFIG_RTC_DRV_MSM is not set -CONFIG_RTC_DRV_QPNP=y -CONFIG_SPS=y -CONFIG_USB_BAM=y -CONFIG_SPS_SUPPORT_BAMDMA=y -CONFIG_SPS_SUPPORT_NDP_BAM=y -CONFIG_QPNP_POWER_ON=y -CONFIG_IPA=y -CONFIG_EXT3_FS=y -CONFIG_VFAT_FS=y -CONFIG_TMPFS=y -CONFIG_YAFFS_FS=y -CONFIG_YAFFS_DISABLE_TAGS_ECC=y -CONFIG_NLS_CODEPAGE_437=y -CONFIG_NLS_ASCII=y -CONFIG_NLS_ISO8859_1=y -CONFIG_PRINTK_TIME=y -CONFIG_MAGIC_SYSRQ=y -CONFIG_SCHEDSTATS=y -CONFIG_TIMER_STATS=y -# CONFIG_DEBUG_PREEMPT is not set -CONFIG_DEBUG_INFO=y -CONFIG_DEBUG_MEMORY_INIT=y -CONFIG_ENABLE_DEFAULT_TRACERS=y -CONFIG_DYNAMIC_DEBUG=y -CONFIG_OOPS_LOG_BUFFER=y -CONFIG_OOPS_LOG_BUF_SHIFT=14 -CONFIG_DEBUG_USER=y -CONFIG_KEYS=y -CONFIG_CRYPTO_AUTHENC=y -CONFIG_CRYPTO_CBC=y -CONFIG_CRYPTO_HMAC=y -CONFIG_CRYPTO_MD4=y -CONFIG_CRYPTO_MD5=y -CONFIG_CRYPTO_SHA1=y -CONFIG_CRYPTO_SHA256=y -CONFIG_CRYPTO_AES=y -CONFIG_CRYPTO_ARC4=y -CONFIG_CRYPTO_DES=y -CONFIG_CRYPTO_TWOFISH=y -CONFIG_CRYPTO_DEFLATE=y -CONFIG_CRYPTO_DEV_QCRYPTO=m -CONFIG_CRYPTO_DEV_QCE=m -CONFIG_CRYPTO_DEV_QCEDEV=m -CONFIG_CRC_CCITT=y -CONFIG_LIBCRC32C=y -CONFIG_DEVMEM=n -CONFIG_DEVKMEM=n -# TP-LINK CONFIG -CONFIG_TPLINK_PMIC_EXT=y -CONFIG_TPLINK_PRODUCT_M7300_UN_V1=y -# [chenchao] Export pm wakelocks to userspace -CONFIG_PM_WAKELOCKS=y diff --git a/kernel/arch/arm/configs/m7300-un-v1_defconfig b/kernel/arch/arm/configs/m7300-un-v1_defconfig deleted file mode 100755 index d67942ca8..000000000 --- a/kernel/arch/arm/configs/m7300-un-v1_defconfig +++ /dev/null @@ -1,349 +0,0 @@ -# CONFIG_ARM_PATCH_PHYS_VIRT is not set -CONFIG_EXPERIMENTAL=y -# CONFIG_LOCALVERSION_AUTO is not set -CONFIG_SYSVIPC=y -CONFIG_IKCONFIG=y -CONFIG_IKCONFIG_PROC=y -CONFIG_CGROUPS=y -CONFIG_CGROUP_DEBUG=y -CONFIG_CGROUP_FREEZER=y -CONFIG_CGROUP_CPUACCT=y -CONFIG_RESOURCE_COUNTERS=y -CONFIG_CGROUP_SCHED=y -# CONFIG_FAIR_GROUP_SCHED is not set -CONFIG_RT_GROUP_SCHED=y -CONFIG_NAMESPACES=y -# CONFIG_UTS_NS is not set -# CONFIG_IPC_NS is not set -# CONFIG_USER_NS is not set -# CONFIG_PID_NS is not set -CONFIG_RELAY=y -CONFIG_BLK_DEV_INITRD=y -CONFIG_RD_BZIP2=y -CONFIG_RD_LZMA=y -CONFIG_CC_OPTIMIZE_FOR_SIZE=y -CONFIG_PANIC_TIMEOUT=5 -CONFIG_KALLSYMS_ALL=y -CONFIG_EMBEDDED=y -CONFIG_PROFILING=y -CONFIG_OPROFILE=m -CONFIG_MODULES=y -CONFIG_MODULE_UNLOAD=y -CONFIG_MODULE_FORCE_UNLOAD=y -CONFIG_PARTITION_ADVANCED=y -CONFIG_ARCH_MSM=y -CONFIG_ARCH_MSM9625=y -# CONFIG_MSM_STACKED_MEMORY is not set -# CONFIG_MSM_FIQ_SUPPORT is not set -# CONFIG_MSM_PROC_COMM is not set -CONFIG_MSM_SMD=y -CONFIG_MSM_SMD_PKG4=y -CONFIG_MSM_BAM_DMUX=y -CONFIG_MSM_SMP2P=y -CONFIG_MSM_SMP2P_TEST=y -CONFIG_MSM_IPC_LOGGING=y -CONFIG_MSM_IPC_ROUTER=y -CONFIG_MSM_IPC_ROUTER_SMD_XPRT=y -CONFIG_MSM_RPM_REGULATOR_SMD=y -CONFIG_MSM_SUBSYSTEM_RESTART=y -CONFIG_MSM_PIL=y -CONFIG_MSM_PIL_MSS_QDSP6V5=y -CONFIG_MSM_DIRECT_SCLK_ACCESS=y -CONFIG_MSM_BUS_SCALING=y -CONFIG_MSM_BUSPM_DEV=m -CONFIG_MSM_WATCHDOG_V2=y -CONFIG_MSM_MEMORY_DUMP=y -CONFIG_MSM_DLOAD_MODE=y -CONFIG_MSM_ADSP_LOADER=m -CONFIG_MSM_RTB=y -CONFIG_MSM_ENABLE_WDOG_DEBUG_CONTROL=y -CONFIG_MSM_UARTDM_Core_v14=y -CONFIG_MSM_BOOT_STATS=y -CONFIG_NO_HZ=y -CONFIG_HIGH_RES_TIMERS=y -CONFIG_ARM_ARCH_TIMER=y -CONFIG_PREEMPT=y -CONFIG_AEABI=y -CONFIG_HIGHMEM=y -CONFIG_USE_OF=y -CONFIG_CPU_FREQ=y -CONFIG_CPU_FREQ_GOV_POWERSAVE=y -CONFIG_CPU_FREQ_GOV_USERSPACE=y -CONFIG_CPU_FREQ_GOV_ONDEMAND=y -CONFIG_CPU_FREQ_GOV_CONSERVATIVE=y -CONFIG_CPU_IDLE=y -CONFIG_VFP=y -CONFIG_NEON=y -# CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set -CONFIG_PM_AUTOSLEEP=y -CONFIG_PM_RUNTIME=y -CONFIG_NET=y -CONFIG_PACKET=y -CONFIG_UNIX=y -CONFIG_INET=y -CONFIG_IP_MULTICAST=y -CONFIG_IP_ADVANCED_ROUTER=y -CONFIG_IP_MULTIPLE_TABLES=y -CONFIG_IP_MROUTE=y -CONFIG_IP_PIMSM_V2=y -CONFIG_IPV6=y -CONFIG_IPV6_MULTIPLE_TABLES=y -CONFIG_IPV6_SUBTREES=y -CONFIG_NETFILTER=y -CONFIG_NETFILTER_DEBUG=y -CONFIG_NETFILTER_NETLINK_QUEUE=y -CONFIG_NETFILTER_NETLINK_LOG=y -CONFIG_NF_CONNTRACK=y -CONFIG_NF_CONNTRACK_EVENTS=y -CONFIG_NF_CONNTRACK_TIMESTAMP=y -CONFIG_NF_CT_PROTO_UDPLITE=y -CONFIG_NF_CONNTRACK_AMANDA=y -CONFIG_NF_CONNTRACK_FTP=y -CONFIG_NF_CONNTRACK_H323=y -CONFIG_NF_CONNTRACK_IRC=y -CONFIG_NF_CONNTRACK_NETBIOS_NS=y -CONFIG_NF_CONNTRACK_SNMP=y -CONFIG_NF_CONNTRACK_PPTP=y -CONFIG_NF_CONNTRACK_SIP=y -CONFIG_NF_CONNTRACK_TFTP=y -CONFIG_NF_CT_NETLINK=y -CONFIG_NETFILTER_XT_MARK=y -CONFIG_NETFILTER_XT_CONNMARK=y -CONFIG_NETFILTER_XT_TARGET_LOG=y -CONFIG_NETFILTER_XT_TARGET_TRACE=y -CONFIG_NETFILTER_XT_TARGET_TCPMSS=y -CONFIG_NETFILTER_XT_MATCH_ADDRTYPE=y -CONFIG_NETFILTER_XT_MATCH_CONNLIMIT=y -CONFIG_NETFILTER_XT_MATCH_CONNTRACK=y -CONFIG_NETFILTER_XT_MATCH_DSCP=y -CONFIG_NETFILTER_XT_MATCH_ESP=y -CONFIG_NETFILTER_XT_MATCH_IPRANGE=y -CONFIG_NETFILTER_XT_MATCH_LIMIT=y -CONFIG_NETFILTER_XT_MATCH_MULTIPORT=y -CONFIG_NETFILTER_XT_MATCH_PHYSDEV=y -CONFIG_NETFILTER_XT_MATCH_PKTTYPE=y -CONFIG_IP_SET=y -CONFIG_NF_CONNTRACK_IPV4=y -CONFIG_IP_NF_IPTABLES=y -CONFIG_NETFILTER_XTABLES=y -CONFIG_NETFILTER_XT_MATCH_STATE=y -CONFIG_IP_NF_MATCH_AH=y -CONFIG_IP_NF_MATCH_ECN=y -CONFIG_IP_NF_MATCH_TTL=y -CONFIG_IP_NF_FILTER=y -CONFIG_IP_NF_TARGET_REJECT=y -CONFIG_IP_NF_TARGET_REJECT_SKERR=y -CONFIG_IP_NF_TARGET_ULOG=y -CONFIG_NF_NAT=y -CONFIG_IP_NF_TARGET_MASQUERADE=y -CONFIG_IP_NF_TARGET_NATTYPE_MODULE=y -CONFIG_IP_NF_TARGET_NETMAP=y -CONFIG_IP_NF_TARGET_REDIRECT=y -CONFIG_IP_NF_MANGLE=y -CONFIG_IP_NF_TARGET_ECN=y -CONFIG_IP_NF_TARGET_TTL=y -CONFIG_IP_NF_RAW=y -CONFIG_NF_CONNTRACK_IPV6=y -CONFIG_IP6_NF_IPTABLES=y -CONFIG_IP6_NF_MATCH_AH=y -CONFIG_IP6_NF_MATCH_FRAG=y -CONFIG_IP6_NF_MATCH_OPTS=y -CONFIG_IP6_NF_MATCH_HL=y -CONFIG_IP6_NF_MATCH_IPV6HEADER=y -CONFIG_IP6_NF_MATCH_MH=y -CONFIG_IP6_NF_MATCH_RT=y -CONFIG_IP6_NF_FILTER=y -CONFIG_IP6_NF_TARGET_REJECT=y -CONFIG_IP6_NF_TARGET_REJECT_SKERR=y -CONFIG_IP6_NF_MANGLE=y -CONFIG_IP6_NF_RAW=y -CONFIG_BRIDGE_NF_EBTABLES=y -CONFIG_BRIDGE_EBT_BROUTE=y -CONFIG_BRIDGE_EBT_T_FILTER=y -CONFIG_BRIDGE_EBT_IP=y -CONFIG_BRIDGE_EBT_IP6=y -CONFIG_BRIDGE=y -CONFIG_NET_SCHED=y -CONFIG_NET_SCH_HTB=y -CONFIG_NET_SCH_PRIO=y -CONFIG_NET_CLS_FW=y -CONFIG_CFG80211=m -CONFIG_NL80211_TESTMODE=y -CONFIG_MTD=y -CONFIG_MTD_CMDLINE_PARTS=y -CONFIG_MTD_OF_PARTS=y -CONFIG_MTD_CHAR=y -CONFIG_MTD_BLOCK=y -# CONFIG_MTD_MSM_NAND is not set -CONFIG_MTD_MSM_QPIC_NAND=y -CONFIG_BLK_DEV_LOOP=y -CONFIG_BLK_DEV_RAM=y -CONFIG_SCSI=y -CONFIG_SCSI_TGT=y -CONFIG_BLK_DEV_SD=y -CONFIG_CHR_DEV_SG=y -CONFIG_CHR_DEV_SCH=y -CONFIG_SCSI_MULTI_LUN=y -CONFIG_SCSI_CONSTANTS=y -CONFIG_SCSI_LOGGING=y -CONFIG_SCSI_SCAN_ASYNC=y -CONFIG_NETDEVICES=y -# CONFIG_NET_VENDOR_BROADCOM is not set -# CONFIG_NET_VENDOR_CIRRUS is not set -# CONFIG_NET_VENDOR_FARADAY is not set -# CONFIG_NET_VENDOR_INTEL is not set -# [linyunfeng] Not support ethernet KS8851 -# CONFIG_KS8851=y -# CONFIG_NET_VENDOR_MICROCHIP is not set -# CONFIG_MSM_RMNET is not set -CONFIG_MSM_RMNET_WWAN=y -CONFIG_ECM_IPA=y -# CONFIG_NET_VENDOR_NATSEMI is not set -# CONFIG_NET_VENDOR_SEEQ is not set -# CONFIG_NET_VENDOR_SMSC is not set -# CONFIG_NET_VENDOR_STMICRO is not set -CONFIG_ATH6K_LEGACY_EXT=y -# CONFIG_INPUT_MOUSEDEV is not set -CONFIG_INPUT_EVDEV=y -CONFIG_INPUT_KEYBOARD=y -CONFIG_KEYBOARD_GPIO=y -CONFIG_OF=y -# CONFIG_INPUT_MOUSE is not set -CONFIG_INPUT_MISC=y -CONFIG_INPUT_UINPUT=y -CONFIG_INPUT_GPIO=m -CONFIG_SERIO_LIBPS2=y -# CONFIG_LEGACY_PTYS is not set -CONFIG_SERIAL_MSM_HS=y -CONFIG_SERIAL_MSM_HSL=y -CONFIG_SERIAL_MSM_HSL_CONSOLE=y -CONFIG_DIAG_CHAR=y -CONFIG_HW_RANDOM=y -CONFIG_HW_RANDOM_MSM=y -CONFIG_I2C=y -CONFIG_I2C_CHARDEV=y -CONFIG_I2C_QUP=y -CONFIG_SPI=y -CONFIG_SPI_QUP=y -CONFIG_SPI_SPIDEV=m -CONFIG_SPMI=y -CONFIG_SPMI_MSM_PMIC_ARB=y -CONFIG_MSM_QPNP_INT=y -CONFIG_DEBUG_GPIO=y -CONFIG_GPIO_SYSFS=y -CONFIG_GPIO_QPNP_PIN=y -CONFIG_GPIO_QPNP_PIN_DEBUG=y -CONFIG_POWER_SUPPLY=y -CONFIG_MP2617_CHARGER=y -CONFIG_SENSORS_QPNP_ADC_VOLTAGE=y -CONFIG_THERMAL=y -CONFIG_THERMAL_TSENS8974=y -CONFIG_THERMAL_QPNP_ADC_TM=y -CONFIG_THERMAL_MONITOR=y -CONFIG_WCD9320_CODEC=n -CONFIG_REGULATOR=y -CONFIG_REGULATOR_FIXED_VOLTAGE=y -CONFIG_REGULATOR_QPNP=y -CONFIG_ION=y -CONFIG_ION_MSM=y -CONFIG_SOUND=n -CONFIG_SND=n -CONFIG_SND_SOC=n -CONFIG_SND_SOC_MDM9625=n -CONFIG_USB=y -CONFIG_USB_ANNOUNCE_NEW_DEVICES=y -CONFIG_USB_SUSPEND=y -CONFIG_USB_EHCI_HCD=y -CONFIG_USB_EHCI_EHSET=y -CONFIG_USB_EHCI_MSM=y -CONFIG_USB_EHCI_MSM_HSIC=y -CONFIG_USB_STORAGE=y -CONFIG_USB_STORAGE_DEBUG=y -CONFIG_USB_STORAGE_DATAFAB=y -CONFIG_USB_STORAGE_FREECOM=y -CONFIG_USB_STORAGE_ISD200=y -CONFIG_USB_STORAGE_USBAT=y -CONFIG_USB_STORAGE_SDDR09=y -CONFIG_USB_STORAGE_SDDR55=y -CONFIG_USB_STORAGE_JUMPSHOT=y -CONFIG_USB_STORAGE_ALAUDA=y -CONFIG_USB_STORAGE_ONETOUCH=y -CONFIG_USB_STORAGE_KARMA=y -CONFIG_USB_STORAGE_CYPRESS_ATACB=y -CONFIG_USB_EHSET_TEST_FIXTURE=y -CONFIG_USB_GADGET=y -CONFIG_USB_GADGET_DEBUG_FILES=y -CONFIG_USB_CI13XXX_MSM=y -CONFIG_USB_G_ANDROID=y -CONFIG_MMC=y -CONFIG_MMC_PERF_PROFILING=y -CONFIG_MMC_UNSAFE_RESUME=y -CONFIG_MMC_CLKGATE=y -CONFIG_MMC_EMBEDDED_SDIO=y -CONFIG_MMC_PARANOID_SD_INIT=y -CONFIG_MMC_BLOCK_MINORS=32 -CONFIG_MMC_TEST=m -CONFIG_MMC_MSM=y -CONFIG_MMC_MSM_SPS_SUPPORT=y -CONFIG_RTC_CLASS=y -# CONFIG_RTC_DRV_MSM is not set -CONFIG_RTC_DRV_QPNP=y -CONFIG_STAGING=y -CONFIG_ANDROID=y -CONFIG_ANDROID_LOGGER=y -CONFIG_SPS=y -CONFIG_USB_BAM=y -CONFIG_SPS_SUPPORT_BAMDMA=y -CONFIG_SPS_SUPPORT_NDP_BAM=y -CONFIG_QPNP_POWER_ON=y -CONFIG_IPA=y -CONFIG_CORESIGHT=y -CONFIG_CORESIGHT_TMC=y -CONFIG_CORESIGHT_TPIU=y -CONFIG_CORESIGHT_FUNNEL=y -CONFIG_CORESIGHT_REPLICATOR=y -CONFIG_CORESIGHT_STM=y -CONFIG_CORESIGHT_HWEVENT=y -CONFIG_CORESIGHT_ETM=y -CONFIG_CORESIGHT_EVENT=m -CONFIG_EXT3_FS=y -CONFIG_FUSE_FS=y -CONFIG_VFAT_FS=y -CONFIG_TMPFS=y -CONFIG_YAFFS_FS=y -CONFIG_YAFFS_DISABLE_TAGS_ECC=y -CONFIG_NLS_CODEPAGE_437=y -CONFIG_NLS_ASCII=y -CONFIG_NLS_ISO8859_1=y -CONFIG_PRINTK_TIME=y -CONFIG_MAGIC_SYSRQ=y -CONFIG_SCHEDSTATS=y -CONFIG_TIMER_STATS=y -# CONFIG_DEBUG_PREEMPT is not set -CONFIG_DEBUG_INFO=y -CONFIG_DEBUG_MEMORY_INIT=y -CONFIG_ENABLE_DEFAULT_TRACERS=y -CONFIG_DYNAMIC_DEBUG=y -CONFIG_OOPS_LOG_BUFFER=y -CONFIG_OOPS_LOG_BUF_SHIFT=14 -CONFIG_DEBUG_USER=y -CONFIG_KEYS=y -CONFIG_CRYPTO_AUTHENC=y -CONFIG_CRYPTO_CBC=y -CONFIG_CRYPTO_HMAC=y -CONFIG_CRYPTO_MD4=y -CONFIG_CRYPTO_MD5=y -CONFIG_CRYPTO_SHA1=y -CONFIG_CRYPTO_SHA256=y -CONFIG_CRYPTO_AES=y -CONFIG_CRYPTO_ARC4=y -CONFIG_CRYPTO_DES=y -CONFIG_CRYPTO_TWOFISH=y -CONFIG_CRYPTO_DEFLATE=y -CONFIG_CRC_CCITT=y -CONFIG_LIBCRC32C=y -# TP-LINK CONFIG -CONFIG_TPLINK_PMIC_EXT=y -CONFIG_TPLINK_PRODUCT_M7300_UN_V1=y -# [chenchao] Export pm wakelocks to userspace -CONFIG_PM_WAKELOCKS=y diff --git a/kernel/arch/arm/configs/m7350-un-v1-perf_defconfig b/kernel/arch/arm/configs/m7350-un-v1-perf_defconfig deleted file mode 100644 index 4e1a9e2c7..000000000 --- a/kernel/arch/arm/configs/m7350-un-v1-perf_defconfig +++ /dev/null @@ -1,339 +0,0 @@ -# CONFIG_ARM_PATCH_PHYS_VIRT is not set -CONFIG_EXPERIMENTAL=y -# CONFIG_LOCALVERSION_AUTO is not set -CONFIG_SYSVIPC=y -CONFIG_IKCONFIG=y -CONFIG_IKCONFIG_PROC=y -CONFIG_CGROUPS=y -CONFIG_CGROUP_DEBUG=y -CONFIG_CGROUP_FREEZER=y -CONFIG_CGROUP_CPUACCT=y -CONFIG_RESOURCE_COUNTERS=y -CONFIG_CGROUP_SCHED=y -# CONFIG_FAIR_GROUP_SCHED is not set -CONFIG_RT_GROUP_SCHED=y -CONFIG_NAMESPACES=y -# CONFIG_UTS_NS is not set -# CONFIG_IPC_NS is not set -# CONFIG_USER_NS is not set -# CONFIG_PID_NS is not set -CONFIG_RELAY=y -CONFIG_BLK_DEV_INITRD=y -CONFIG_RD_BZIP2=y -CONFIG_RD_LZMA=y -CONFIG_CC_OPTIMIZE_FOR_SIZE=y -CONFIG_PANIC_TIMEOUT=5 -CONFIG_KALLSYMS_ALL=y -CONFIG_EMBEDDED=y -# CONFIG_SLUB_DEBUG is not set -CONFIG_PROFILING=y -CONFIG_OPROFILE=m -CONFIG_MODULES=y -CONFIG_MODULE_UNLOAD=y -CONFIG_MODULE_FORCE_UNLOAD=y -CONFIG_PARTITION_ADVANCED=y -CONFIG_ARCH_MSM=y -CONFIG_ARCH_MSM9625=y -# CONFIG_MSM_STACKED_MEMORY is not set -# CONFIG_MSM_FIQ_SUPPORT is not set -# CONFIG_MSM_PROC_COMM is not set -CONFIG_MSM_SMD=y -CONFIG_MSM_SMD_PKG4=y -CONFIG_MSM_BAM_DMUX=y -CONFIG_MSM_SMP2P=y -CONFIG_MSM_SMP2P_TEST=y -CONFIG_MSM_IPC_LOGGING=y -CONFIG_MSM_IPC_ROUTER=y -CONFIG_MSM_IPC_ROUTER_SMD_XPRT=y -CONFIG_MSM_RPM_REGULATOR_SMD=y -CONFIG_MSM_SUBSYSTEM_RESTART=y -CONFIG_MSM_PIL=y -CONFIG_MSM_PIL_MSS_QDSP6V5=y -CONFIG_MSM_DIRECT_SCLK_ACCESS=y -CONFIG_MSM_BUS_SCALING=y -CONFIG_MSM_WATCHDOG_V2=y -CONFIG_MSM_MEMORY_DUMP=y -CONFIG_MSM_DLOAD_MODE=y -CONFIG_MSM_ADSP_LOADER=m -CONFIG_MSM_ENABLE_WDOG_DEBUG_CONTROL=y -CONFIG_MSM_UARTDM_Core_v14=y -CONFIG_MSM_BOOT_STATS=y -CONFIG_NO_HZ=y -CONFIG_HIGH_RES_TIMERS=y -CONFIG_ARM_ARCH_TIMER=y -CONFIG_PREEMPT=y -CONFIG_AEABI=y -CONFIG_HIGHMEM=y -CONFIG_USE_OF=y -CONFIG_CPU_FREQ=y -CONFIG_CPU_FREQ_GOV_POWERSAVE=y -CONFIG_CPU_FREQ_GOV_USERSPACE=y -CONFIG_CPU_FREQ_GOV_ONDEMAND=y -CONFIG_CPU_FREQ_GOV_CONSERVATIVE=y -CONFIG_CPU_IDLE=y -CONFIG_VFP=y -CONFIG_NEON=y -# CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set -CONFIG_PM_AUTOSLEEP=y -CONFIG_PM_RUNTIME=y -CONFIG_NET=y -CONFIG_PACKET=y -CONFIG_UNIX=y -CONFIG_INET=y -CONFIG_IP_MULTICAST=y -CONFIG_IP_ADVANCED_ROUTER=y -CONFIG_IP_MULTIPLE_TABLES=y -CONFIG_IP_MROUTE=y -CONFIG_IP_PIMSM_V2=y -CONFIG_IPV6=y -CONFIG_IPV6_MULTIPLE_TABLES=y -CONFIG_IPV6_SUBTREES=y -CONFIG_NETFILTER=y -CONFIG_NETFILTER_DEBUG=y -CONFIG_NETFILTER_NETLINK_QUEUE=y -CONFIG_NETFILTER_NETLINK_LOG=y -CONFIG_NF_CONNTRACK=y -CONFIG_NF_CONNTRACK_EVENTS=y -CONFIG_NF_CONNTRACK_TIMESTAMP=y -CONFIG_NF_CT_PROTO_UDPLITE=y -CONFIG_NF_CONNTRACK_AMANDA=y -CONFIG_NF_CONNTRACK_FTP=y -CONFIG_NF_CONNTRACK_H323=y -CONFIG_NF_CONNTRACK_IRC=y -CONFIG_NF_CONNTRACK_NETBIOS_NS=y -CONFIG_NF_CONNTRACK_SNMP=y -CONFIG_NF_CONNTRACK_PPTP=y -CONFIG_NF_CONNTRACK_SIP=y -CONFIG_NF_CONNTRACK_TFTP=y -CONFIG_NF_CT_NETLINK=y -CONFIG_NETFILTER_XT_MARK=y -CONFIG_NETFILTER_XT_CONNMARK=y -CONFIG_NETFILTER_XT_TARGET_TCPMSS=y -CONFIG_NETFILTER_XT_MATCH_ADDRTYPE=y -CONFIG_NETFILTER_XT_MATCH_CONNLIMIT=y -CONFIG_NETFILTER_XT_MATCH_CONNTRACK=y -CONFIG_NETFILTER_XT_MATCH_DSCP=y -CONFIG_NETFILTER_XT_MATCH_ESP=y -CONFIG_NETFILTER_XT_MATCH_IPRANGE=y -CONFIG_NETFILTER_XT_MATCH_MULTIPORT=y -CONFIG_NETFILTER_XT_MATCH_PHYSDEV=y -CONFIG_NETFILTER_XT_MATCH_PKTTYPE=y -CONFIG_IP_SET=y -CONFIG_NF_CONNTRACK_IPV4=y -CONFIG_IP_NF_IPTABLES=y -CONFIG_NETFILTER_XTABLES=y -CONFIG_NETFILTER_XT_MATCH_STATE=y -CONFIG_IP_NF_MATCH_AH=y -CONFIG_IP_NF_MATCH_ECN=y -CONFIG_IP_NF_MATCH_TTL=y -CONFIG_IP_NF_FILTER=y -CONFIG_IP_NF_TARGET_REJECT=y -CONFIG_IP_NF_TARGET_REJECT_SKERR=y -CONFIG_IP_NF_TARGET_ULOG=y -CONFIG_NF_NAT=y -CONFIG_IP_NF_TARGET_MASQUERADE=y -CONFIG_IP_NF_TARGET_NATTYPE_MODULE=y -CONFIG_IP_NF_TARGET_NETMAP=y -CONFIG_IP_NF_TARGET_REDIRECT=y -CONFIG_IP_NF_MANGLE=y -CONFIG_IP_NF_TARGET_ECN=y -CONFIG_IP_NF_TARGET_TTL=y -CONFIG_IP_NF_RAW=y -CONFIG_NF_CONNTRACK_IPV6=y -CONFIG_IP6_NF_IPTABLES=y -CONFIG_IP6_NF_MATCH_AH=y -CONFIG_IP6_NF_MATCH_FRAG=y -CONFIG_IP6_NF_MATCH_OPTS=y -CONFIG_IP6_NF_MATCH_HL=y -CONFIG_IP6_NF_MATCH_IPV6HEADER=y -CONFIG_IP6_NF_MATCH_MH=y -CONFIG_IP6_NF_MATCH_RT=y -CONFIG_IP6_NF_FILTER=y -CONFIG_IP6_NF_TARGET_REJECT=y -CONFIG_IP6_NF_TARGET_REJECT_SKERR=y -CONFIG_IP6_NF_MANGLE=y -CONFIG_IP6_NF_RAW=y -CONFIG_BRIDGE_NF_EBTABLES=y -CONFIG_BRIDGE_EBT_BROUTE=y -CONFIG_BRIDGE_EBT_T_FILTER=y -CONFIG_BRIDGE_EBT_IP=y -CONFIG_BRIDGE_EBT_IP6=y -CONFIG_BRIDGE=y -CONFIG_NET_SCHED=y -CONFIG_NET_SCH_HTB=y -CONFIG_NET_SCH_PRIO=y -CONFIG_NET_CLS_FW=y -CONFIG_CFG80211=m -CONFIG_NL80211_TESTMODE=y -CONFIG_MTD=y -CONFIG_MTD_CMDLINE_PARTS=y -CONFIG_MTD_OF_PARTS=y -CONFIG_MTD_CHAR=y -CONFIG_MTD_BLOCK=y -# CONFIG_MTD_MSM_NAND is not set -CONFIG_MTD_MSM_QPIC_NAND=y -CONFIG_BLK_DEV_LOOP=y -CONFIG_BLK_DEV_RAM=y -CONFIG_SCSI=y -CONFIG_SCSI_TGT=y -CONFIG_BLK_DEV_SD=y -CONFIG_CHR_DEV_SG=y -CONFIG_CHR_DEV_SCH=y -CONFIG_SCSI_MULTI_LUN=y -CONFIG_SCSI_CONSTANTS=y -CONFIG_SCSI_LOGGING=y -CONFIG_SCSI_SCAN_ASYNC=y -CONFIG_NETDEVICES=y -# CONFIG_NET_VENDOR_BROADCOM is not set -# CONFIG_NET_VENDOR_CIRRUS is not set -# CONFIG_NET_VENDOR_FARADAY is not set -# CONFIG_NET_VENDOR_INTEL is not set -# [linyunfeng] Not support ethernet KS8851 -# CONFIG_KS8851=y -# CONFIG_NET_VENDOR_MICROCHIP is not set -# CONFIG_MSM_RMNET is not set -CONFIG_MSM_RMNET_WWAN=y -CONFIG_ECM_IPA=y -# CONFIG_NET_VENDOR_NATSEMI is not set -# CONFIG_NET_VENDOR_SEEQ is not set -# CONFIG_NET_VENDOR_SMSC is not set -# CONFIG_NET_VENDOR_STMICRO is not set -CONFIG_ATH6K_LEGACY_EXT=y -# CONFIG_INPUT_MOUSEDEV is not set -CONFIG_INPUT_EVDEV=y -CONFIG_INPUT_KEYBOARD=y -CONFIG_KEYBOARD_GPIO=y -CONFIG_OF=y -# CONFIG_INPUT_MOUSE is not set -CONFIG_INPUT_MISC=y -CONFIG_INPUT_UINPUT=y -CONFIG_INPUT_GPIO=m -CONFIG_SERIO_LIBPS2=y -# CONFIG_LEGACY_PTYS is not set -CONFIG_SERIAL_MSM_HS=y -CONFIG_SERIAL_MSM_HSL=y -CONFIG_DIAG_CHAR=y -CONFIG_HW_RANDOM=y -CONFIG_HW_RANDOM_MSM=y -CONFIG_I2C=y -CONFIG_I2C_CHARDEV=y -CONFIG_I2C_QUP=y -CONFIG_MSM_BUSPM_DEV=m -CONFIG_SPI=y -CONFIG_SPI_QUP=y -CONFIG_SPI_SPIDEV=m -CONFIG_SPMI=y -CONFIG_SPMI_MSM_PMIC_ARB=y -CONFIG_MSM_QPNP_INT=y -CONFIG_DEBUG_GPIO=y -CONFIG_GPIO_SYSFS=y -CONFIG_GPIO_QPNP_PIN=y -CONFIG_GPIO_QPNP_PIN_DEBUG=y -CONFIG_POWER_SUPPLY=y -CONFIG_MP2617_CHARGER=y -CONFIG_SENSORS_QPNP_ADC_VOLTAGE=y -CONFIG_THERMAL=y -CONFIG_THERMAL_TSENS8974=y -CONFIG_THERMAL_QPNP_ADC_TM=y -CONFIG_THERMAL_MONITOR=y -CONFIG_WCD9320_CODEC=n -CONFIG_REGULATOR=y -CONFIG_REGULATOR_FIXED_VOLTAGE=y -CONFIG_REGULATOR_QPNP=y -CONFIG_ION=y -CONFIG_ION_MSM=y -CONFIG_SOUND=n -CONFIG_SND=n -CONFIG_SND_SOC=n -CONFIG_SND_SOC_MDM9625=n -CONFIG_USB=y -CONFIG_USB_ANNOUNCE_NEW_DEVICES=y -CONFIG_USB_SUSPEND=y -CONFIG_USB_EHCI_HCD=y -CONFIG_USB_EHCI_EHSET=y -CONFIG_USB_EHCI_MSM=y -CONFIG_USB_EHCI_MSM_HSIC=y -CONFIG_USB_STORAGE=y -CONFIG_USB_STORAGE_DEBUG=y -CONFIG_USB_STORAGE_DATAFAB=y -CONFIG_USB_STORAGE_FREECOM=y -CONFIG_USB_STORAGE_ISD200=y -CONFIG_USB_STORAGE_USBAT=y -CONFIG_USB_STORAGE_SDDR09=y -CONFIG_USB_STORAGE_SDDR55=y -CONFIG_USB_STORAGE_JUMPSHOT=y -CONFIG_USB_STORAGE_ALAUDA=y -CONFIG_USB_STORAGE_ONETOUCH=y -CONFIG_USB_STORAGE_KARMA=y -CONFIG_USB_STORAGE_CYPRESS_ATACB=y -CONFIG_USB_EHSET_TEST_FIXTURE=y -CONFIG_USB_GADGET=y -CONFIG_USB_GADGET_DEBUG_FILES=y -CONFIG_USB_CI13XXX_MSM=y -CONFIG_USB_G_ANDROID=y -CONFIG_MMC=y -CONFIG_MMC_PERF_PROFILING=y -CONFIG_MMC_UNSAFE_RESUME=y -CONFIG_MMC_CLKGATE=y -CONFIG_MMC_EMBEDDED_SDIO=y -CONFIG_MMC_PARANOID_SD_INIT=y -CONFIG_MMC_BLOCK_MINORS=32 -CONFIG_MMC_TEST=m -CONFIG_MMC_MSM=y -CONFIG_MMC_MSM_SPS_SUPPORT=y -CONFIG_RTC_CLASS=y -# CONFIG_RTC_DRV_MSM is not set -CONFIG_RTC_DRV_QPNP=y -CONFIG_SPS=y -CONFIG_USB_BAM=y -CONFIG_SPS_SUPPORT_BAMDMA=y -CONFIG_SPS_SUPPORT_NDP_BAM=y -CONFIG_QPNP_POWER_ON=y -CONFIG_IPA=y -CONFIG_EXT3_FS=y -CONFIG_VFAT_FS=y -CONFIG_TMPFS=y -CONFIG_YAFFS_FS=y -CONFIG_YAFFS_DISABLE_TAGS_ECC=y -CONFIG_NLS_CODEPAGE_437=y -CONFIG_NLS_ASCII=y -CONFIG_NLS_ISO8859_1=y -CONFIG_PRINTK_TIME=y -CONFIG_MAGIC_SYSRQ=y -CONFIG_SCHEDSTATS=y -CONFIG_TIMER_STATS=y -# CONFIG_DEBUG_PREEMPT is not set -CONFIG_DEBUG_INFO=y -CONFIG_DEBUG_MEMORY_INIT=y -CONFIG_ENABLE_DEFAULT_TRACERS=y -CONFIG_DYNAMIC_DEBUG=y -CONFIG_OOPS_LOG_BUFFER=y -CONFIG_OOPS_LOG_BUF_SHIFT=14 -CONFIG_DEBUG_USER=y -CONFIG_KEYS=y -CONFIG_CRYPTO_AUTHENC=y -CONFIG_CRYPTO_CBC=y -CONFIG_CRYPTO_HMAC=y -CONFIG_CRYPTO_MD4=y -CONFIG_CRYPTO_MD5=y -CONFIG_CRYPTO_SHA1=y -CONFIG_CRYPTO_SHA256=y -CONFIG_CRYPTO_AES=y -CONFIG_CRYPTO_ARC4=y -CONFIG_CRYPTO_DES=y -CONFIG_CRYPTO_TWOFISH=y -CONFIG_CRYPTO_DEFLATE=y -CONFIG_CRYPTO_DEV_QCRYPTO=m -CONFIG_CRYPTO_DEV_QCE=m -CONFIG_CRYPTO_DEV_QCEDEV=m -CONFIG_CRC_CCITT=y -CONFIG_LIBCRC32C=y -CONFIG_DEVMEM=n -CONFIG_DEVKMEM=n -# TP-LINK CONFIG -CONFIG_TPLINK_PMIC_EXT=y -CONFIG_OLED=y -CONFIG_OLED_S90319_PT=y -CONFIG_TPLINK_PRODUCT_M7350_UN_V1=y -# [chenchao] Export pm wakelocks to userspace -CONFIG_PM_WAKELOCKS=y diff --git a/kernel/arch/arm/configs/m7350-un-v1_defconfig b/kernel/arch/arm/configs/m7350-un-v1_defconfig deleted file mode 100644 index 624d5d913..000000000 --- a/kernel/arch/arm/configs/m7350-un-v1_defconfig +++ /dev/null @@ -1,351 +0,0 @@ -# CONFIG_ARM_PATCH_PHYS_VIRT is not set -CONFIG_EXPERIMENTAL=y -# CONFIG_LOCALVERSION_AUTO is not set -CONFIG_SYSVIPC=y -CONFIG_IKCONFIG=y -CONFIG_IKCONFIG_PROC=y -CONFIG_CGROUPS=y -CONFIG_CGROUP_DEBUG=y -CONFIG_CGROUP_FREEZER=y -CONFIG_CGROUP_CPUACCT=y -CONFIG_RESOURCE_COUNTERS=y -CONFIG_CGROUP_SCHED=y -# CONFIG_FAIR_GROUP_SCHED is not set -CONFIG_RT_GROUP_SCHED=y -CONFIG_NAMESPACES=y -# CONFIG_UTS_NS is not set -# CONFIG_IPC_NS is not set -# CONFIG_USER_NS is not set -# CONFIG_PID_NS is not set -CONFIG_RELAY=y -CONFIG_BLK_DEV_INITRD=y -CONFIG_RD_BZIP2=y -CONFIG_RD_LZMA=y -CONFIG_CC_OPTIMIZE_FOR_SIZE=y -CONFIG_PANIC_TIMEOUT=5 -CONFIG_KALLSYMS_ALL=y -CONFIG_EMBEDDED=y -CONFIG_PROFILING=y -CONFIG_OPROFILE=m -CONFIG_MODULES=y -CONFIG_MODULE_UNLOAD=y -CONFIG_MODULE_FORCE_UNLOAD=y -CONFIG_PARTITION_ADVANCED=y -CONFIG_ARCH_MSM=y -CONFIG_ARCH_MSM9625=y -# CONFIG_MSM_STACKED_MEMORY is not set -# CONFIG_MSM_FIQ_SUPPORT is not set -# CONFIG_MSM_PROC_COMM is not set -CONFIG_MSM_SMD=y -CONFIG_MSM_SMD_PKG4=y -CONFIG_MSM_BAM_DMUX=y -CONFIG_MSM_SMP2P=y -CONFIG_MSM_SMP2P_TEST=y -CONFIG_MSM_IPC_LOGGING=y -CONFIG_MSM_IPC_ROUTER=y -CONFIG_MSM_IPC_ROUTER_SMD_XPRT=y -CONFIG_MSM_RPM_REGULATOR_SMD=y -CONFIG_MSM_SUBSYSTEM_RESTART=y -CONFIG_MSM_PIL=y -CONFIG_MSM_PIL_MSS_QDSP6V5=y -CONFIG_MSM_DIRECT_SCLK_ACCESS=y -CONFIG_MSM_BUS_SCALING=y -CONFIG_MSM_BUSPM_DEV=m -CONFIG_MSM_WATCHDOG_V2=y -CONFIG_MSM_MEMORY_DUMP=y -CONFIG_MSM_DLOAD_MODE=y -CONFIG_MSM_ADSP_LOADER=m -CONFIG_MSM_RTB=y -CONFIG_MSM_ENABLE_WDOG_DEBUG_CONTROL=y -CONFIG_MSM_UARTDM_Core_v14=y -CONFIG_MSM_BOOT_STATS=y -CONFIG_NO_HZ=y -CONFIG_HIGH_RES_TIMERS=y -CONFIG_ARM_ARCH_TIMER=y -CONFIG_PREEMPT=y -CONFIG_AEABI=y -CONFIG_HIGHMEM=y -CONFIG_USE_OF=y -CONFIG_CPU_FREQ=y -CONFIG_CPU_FREQ_GOV_POWERSAVE=y -CONFIG_CPU_FREQ_GOV_USERSPACE=y -CONFIG_CPU_FREQ_GOV_ONDEMAND=y -CONFIG_CPU_FREQ_GOV_CONSERVATIVE=y -CONFIG_CPU_IDLE=y -CONFIG_VFP=y -CONFIG_NEON=y -# CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set -CONFIG_PM_AUTOSLEEP=y -CONFIG_PM_RUNTIME=y -CONFIG_NET=y -CONFIG_PACKET=y -CONFIG_UNIX=y -CONFIG_INET=y -CONFIG_IP_MULTICAST=y -CONFIG_IP_ADVANCED_ROUTER=y -CONFIG_IP_MULTIPLE_TABLES=y -CONFIG_IP_MROUTE=y -CONFIG_IP_PIMSM_V2=y -CONFIG_IPV6=y -CONFIG_IPV6_MULTIPLE_TABLES=y -CONFIG_IPV6_SUBTREES=y -CONFIG_NETFILTER=y -CONFIG_NETFILTER_DEBUG=y -CONFIG_NETFILTER_NETLINK_QUEUE=y -CONFIG_NETFILTER_NETLINK_LOG=y -CONFIG_NF_CONNTRACK=y -CONFIG_NF_CONNTRACK_EVENTS=y -CONFIG_NF_CONNTRACK_TIMESTAMP=y -CONFIG_NF_CT_PROTO_UDPLITE=y -CONFIG_NF_CONNTRACK_AMANDA=y -CONFIG_NF_CONNTRACK_FTP=y -CONFIG_NF_CONNTRACK_H323=y -CONFIG_NF_CONNTRACK_IRC=y -CONFIG_NF_CONNTRACK_NETBIOS_NS=y -CONFIG_NF_CONNTRACK_SNMP=y -CONFIG_NF_CONNTRACK_PPTP=y -CONFIG_NF_CONNTRACK_SIP=y -CONFIG_NF_CONNTRACK_TFTP=y -CONFIG_NF_CT_NETLINK=y -CONFIG_NETFILTER_XT_MARK=y -CONFIG_NETFILTER_XT_CONNMARK=y -CONFIG_NETFILTER_XT_TARGET_LOG=y -CONFIG_NETFILTER_XT_TARGET_TRACE=y -CONFIG_NETFILTER_XT_TARGET_TCPMSS=y -CONFIG_NETFILTER_XT_MATCH_ADDRTYPE=y -CONFIG_NETFILTER_XT_MATCH_CONNLIMIT=y -CONFIG_NETFILTER_XT_MATCH_CONNTRACK=y -CONFIG_NETFILTER_XT_MATCH_DSCP=y -CONFIG_NETFILTER_XT_MATCH_ESP=y -CONFIG_NETFILTER_XT_MATCH_IPRANGE=y -CONFIG_NETFILTER_XT_MATCH_LIMIT=y -CONFIG_NETFILTER_XT_MATCH_MULTIPORT=y -CONFIG_NETFILTER_XT_MATCH_PHYSDEV=y -CONFIG_NETFILTER_XT_MATCH_PKTTYPE=y -CONFIG_IP_SET=y -CONFIG_NF_CONNTRACK_IPV4=y -CONFIG_IP_NF_IPTABLES=y -CONFIG_NETFILTER_XTABLES=y -CONFIG_NETFILTER_XT_MATCH_STATE=y -CONFIG_IP_NF_MATCH_AH=y -CONFIG_IP_NF_MATCH_ECN=y -CONFIG_IP_NF_MATCH_TTL=y -CONFIG_IP_NF_FILTER=y -CONFIG_IP_NF_TARGET_REJECT=y -CONFIG_IP_NF_TARGET_REJECT_SKERR=y -CONFIG_IP_NF_TARGET_ULOG=y -CONFIG_NF_NAT=y -CONFIG_IP_NF_TARGET_MASQUERADE=y -CONFIG_IP_NF_TARGET_NATTYPE_MODULE=y -CONFIG_IP_NF_TARGET_NETMAP=y -CONFIG_IP_NF_TARGET_REDIRECT=y -CONFIG_IP_NF_MANGLE=y -CONFIG_IP_NF_TARGET_ECN=y -CONFIG_IP_NF_TARGET_TTL=y -CONFIG_IP_NF_RAW=y -CONFIG_NF_CONNTRACK_IPV6=y -CONFIG_IP6_NF_IPTABLES=y -CONFIG_IP6_NF_MATCH_AH=y -CONFIG_IP6_NF_MATCH_FRAG=y -CONFIG_IP6_NF_MATCH_OPTS=y -CONFIG_IP6_NF_MATCH_HL=y -CONFIG_IP6_NF_MATCH_IPV6HEADER=y -CONFIG_IP6_NF_MATCH_MH=y -CONFIG_IP6_NF_MATCH_RT=y -CONFIG_IP6_NF_FILTER=y -CONFIG_IP6_NF_TARGET_REJECT=y -CONFIG_IP6_NF_TARGET_REJECT_SKERR=y -CONFIG_IP6_NF_MANGLE=y -CONFIG_IP6_NF_RAW=y -CONFIG_BRIDGE_NF_EBTABLES=y -CONFIG_BRIDGE_EBT_BROUTE=y -CONFIG_BRIDGE_EBT_T_FILTER=y -CONFIG_BRIDGE_EBT_IP=y -CONFIG_BRIDGE_EBT_IP6=y -CONFIG_BRIDGE=y -CONFIG_NET_SCHED=y -CONFIG_NET_SCH_HTB=y -CONFIG_NET_SCH_PRIO=y -CONFIG_NET_CLS_FW=y -CONFIG_CFG80211=m -CONFIG_NL80211_TESTMODE=y -CONFIG_MTD=y -CONFIG_MTD_CMDLINE_PARTS=y -CONFIG_MTD_OF_PARTS=y -CONFIG_MTD_CHAR=y -CONFIG_MTD_BLOCK=y -# CONFIG_MTD_MSM_NAND is not set -CONFIG_MTD_MSM_QPIC_NAND=y -CONFIG_BLK_DEV_LOOP=y -CONFIG_BLK_DEV_RAM=y -CONFIG_SCSI=y -CONFIG_SCSI_TGT=y -CONFIG_BLK_DEV_SD=y -CONFIG_CHR_DEV_SG=y -CONFIG_CHR_DEV_SCH=y -CONFIG_SCSI_MULTI_LUN=y -CONFIG_SCSI_CONSTANTS=y -CONFIG_SCSI_LOGGING=y -CONFIG_SCSI_SCAN_ASYNC=y -CONFIG_NETDEVICES=y -# CONFIG_NET_VENDOR_BROADCOM is not set -# CONFIG_NET_VENDOR_CIRRUS is not set -# CONFIG_NET_VENDOR_FARADAY is not set -# CONFIG_NET_VENDOR_INTEL is not set -# [linyunfeng] Not support ethernet KS8851 -# CONFIG_KS8851=y -# CONFIG_NET_VENDOR_MICROCHIP is not set -# CONFIG_MSM_RMNET is not set -CONFIG_MSM_RMNET_WWAN=y -CONFIG_ECM_IPA=y -# CONFIG_NET_VENDOR_NATSEMI is not set -# CONFIG_NET_VENDOR_SEEQ is not set -# CONFIG_NET_VENDOR_SMSC is not set -# CONFIG_NET_VENDOR_STMICRO is not set -CONFIG_ATH6K_LEGACY_EXT=y -# CONFIG_INPUT_MOUSEDEV is not set -CONFIG_INPUT_EVDEV=y -CONFIG_INPUT_KEYBOARD=y -CONFIG_KEYBOARD_GPIO=y -CONFIG_OF=y -# CONFIG_INPUT_MOUSE is not set -CONFIG_INPUT_MISC=y -CONFIG_INPUT_UINPUT=y -CONFIG_INPUT_GPIO=m -CONFIG_SERIO_LIBPS2=y -# CONFIG_LEGACY_PTYS is not set -CONFIG_SERIAL_MSM_HS=y -CONFIG_SERIAL_MSM_HSL=y -CONFIG_SERIAL_MSM_HSL_CONSOLE=y -CONFIG_DIAG_CHAR=y -CONFIG_HW_RANDOM=y -CONFIG_HW_RANDOM_MSM=y -CONFIG_I2C=y -CONFIG_I2C_CHARDEV=y -CONFIG_I2C_QUP=y -CONFIG_SPI=y -CONFIG_SPI_QUP=y -CONFIG_SPI_SPIDEV=m -CONFIG_SPMI=y -CONFIG_SPMI_MSM_PMIC_ARB=y -CONFIG_MSM_QPNP_INT=y -CONFIG_DEBUG_GPIO=y -CONFIG_GPIO_SYSFS=y -CONFIG_GPIO_QPNP_PIN=y -CONFIG_GPIO_QPNP_PIN_DEBUG=y -CONFIG_POWER_SUPPLY=y -CONFIG_MP2617_CHARGER=y -CONFIG_SENSORS_QPNP_ADC_VOLTAGE=y -CONFIG_THERMAL=y -CONFIG_THERMAL_TSENS8974=y -CONFIG_THERMAL_QPNP_ADC_TM=y -CONFIG_THERMAL_MONITOR=y -CONFIG_WCD9320_CODEC=n -CONFIG_REGULATOR=y -CONFIG_REGULATOR_FIXED_VOLTAGE=y -CONFIG_REGULATOR_QPNP=y -CONFIG_ION=y -CONFIG_ION_MSM=y -CONFIG_SOUND=n -CONFIG_SND=n -CONFIG_SND_SOC=n -CONFIG_SND_SOC_MDM9625=n -CONFIG_USB=y -CONFIG_USB_ANNOUNCE_NEW_DEVICES=y -CONFIG_USB_SUSPEND=y -CONFIG_USB_EHCI_HCD=y -CONFIG_USB_EHCI_EHSET=y -CONFIG_USB_EHCI_MSM=y -CONFIG_USB_EHCI_MSM_HSIC=y -CONFIG_USB_STORAGE=y -CONFIG_USB_STORAGE_DEBUG=y -CONFIG_USB_STORAGE_DATAFAB=y -CONFIG_USB_STORAGE_FREECOM=y -CONFIG_USB_STORAGE_ISD200=y -CONFIG_USB_STORAGE_USBAT=y -CONFIG_USB_STORAGE_SDDR09=y -CONFIG_USB_STORAGE_SDDR55=y -CONFIG_USB_STORAGE_JUMPSHOT=y -CONFIG_USB_STORAGE_ALAUDA=y -CONFIG_USB_STORAGE_ONETOUCH=y -CONFIG_USB_STORAGE_KARMA=y -CONFIG_USB_STORAGE_CYPRESS_ATACB=y -CONFIG_USB_EHSET_TEST_FIXTURE=y -CONFIG_USB_GADGET=y -CONFIG_USB_GADGET_DEBUG_FILES=y -CONFIG_USB_CI13XXX_MSM=y -CONFIG_USB_G_ANDROID=y -CONFIG_MMC=y -CONFIG_MMC_PERF_PROFILING=y -CONFIG_MMC_UNSAFE_RESUME=y -CONFIG_MMC_CLKGATE=y -CONFIG_MMC_EMBEDDED_SDIO=y -CONFIG_MMC_PARANOID_SD_INIT=y -CONFIG_MMC_BLOCK_MINORS=32 -CONFIG_MMC_TEST=m -CONFIG_MMC_MSM=y -CONFIG_MMC_MSM_SPS_SUPPORT=y -CONFIG_RTC_CLASS=y -# CONFIG_RTC_DRV_MSM is not set -CONFIG_RTC_DRV_QPNP=y -CONFIG_STAGING=y -CONFIG_ANDROID=y -CONFIG_ANDROID_LOGGER=y -CONFIG_SPS=y -CONFIG_USB_BAM=y -CONFIG_SPS_SUPPORT_BAMDMA=y -CONFIG_SPS_SUPPORT_NDP_BAM=y -CONFIG_QPNP_POWER_ON=y -CONFIG_IPA=y -CONFIG_CORESIGHT=y -CONFIG_CORESIGHT_TMC=y -CONFIG_CORESIGHT_TPIU=y -CONFIG_CORESIGHT_FUNNEL=y -CONFIG_CORESIGHT_REPLICATOR=y -CONFIG_CORESIGHT_STM=y -CONFIG_CORESIGHT_HWEVENT=y -CONFIG_CORESIGHT_ETM=y -CONFIG_CORESIGHT_EVENT=m -CONFIG_EXT3_FS=y -CONFIG_FUSE_FS=y -CONFIG_VFAT_FS=y -CONFIG_TMPFS=y -CONFIG_YAFFS_FS=y -CONFIG_YAFFS_DISABLE_TAGS_ECC=y -CONFIG_NLS_CODEPAGE_437=y -CONFIG_NLS_ASCII=y -CONFIG_NLS_ISO8859_1=y -CONFIG_PRINTK_TIME=y -CONFIG_MAGIC_SYSRQ=y -CONFIG_SCHEDSTATS=y -CONFIG_TIMER_STATS=y -# CONFIG_DEBUG_PREEMPT is not set -CONFIG_DEBUG_INFO=y -CONFIG_DEBUG_MEMORY_INIT=y -CONFIG_ENABLE_DEFAULT_TRACERS=y -CONFIG_DYNAMIC_DEBUG=y -CONFIG_OOPS_LOG_BUFFER=y -CONFIG_OOPS_LOG_BUF_SHIFT=14 -CONFIG_DEBUG_USER=y -CONFIG_KEYS=y -CONFIG_CRYPTO_AUTHENC=y -CONFIG_CRYPTO_CBC=y -CONFIG_CRYPTO_HMAC=y -CONFIG_CRYPTO_MD4=y -CONFIG_CRYPTO_MD5=y -CONFIG_CRYPTO_SHA1=y -CONFIG_CRYPTO_SHA256=y -CONFIG_CRYPTO_AES=y -CONFIG_CRYPTO_ARC4=y -CONFIG_CRYPTO_DES=y -CONFIG_CRYPTO_TWOFISH=y -CONFIG_CRYPTO_DEFLATE=y -CONFIG_CRC_CCITT=y -CONFIG_LIBCRC32C=y -# TP-LINK CONFIG -CONFIG_TPLINK_PMIC_EXT=y -CONFIG_OLED=y -CONFIG_OLED_S90319_PT=y -CONFIG_TPLINK_PRODUCT_M7350_UN_V1=y -# [chenchao] Export pm wakelocks to userspace -CONFIG_PM_WAKELOCKS=y diff --git a/kernel/arch/arm/configs/m7350-un-v2-perf_defconfig b/kernel/arch/arm/configs/m7350-un-v2-perf_defconfig deleted file mode 100755 index 3ae3411eb..000000000 --- a/kernel/arch/arm/configs/m7350-un-v2-perf_defconfig +++ /dev/null @@ -1,339 +0,0 @@ -# CONFIG_ARM_PATCH_PHYS_VIRT is not set -CONFIG_EXPERIMENTAL=y -# CONFIG_LOCALVERSION_AUTO is not set -CONFIG_SYSVIPC=y -CONFIG_IKCONFIG=y -CONFIG_IKCONFIG_PROC=y -CONFIG_CGROUPS=y -CONFIG_CGROUP_DEBUG=y -CONFIG_CGROUP_FREEZER=y -CONFIG_CGROUP_CPUACCT=y -CONFIG_RESOURCE_COUNTERS=y -CONFIG_CGROUP_SCHED=y -# CONFIG_FAIR_GROUP_SCHED is not set -CONFIG_RT_GROUP_SCHED=y -CONFIG_NAMESPACES=y -# CONFIG_UTS_NS is not set -# CONFIG_IPC_NS is not set -# CONFIG_USER_NS is not set -# CONFIG_PID_NS is not set -CONFIG_RELAY=y -CONFIG_BLK_DEV_INITRD=y -CONFIG_RD_BZIP2=y -CONFIG_RD_LZMA=y -CONFIG_CC_OPTIMIZE_FOR_SIZE=y -CONFIG_PANIC_TIMEOUT=5 -CONFIG_KALLSYMS_ALL=y -CONFIG_EMBEDDED=y -# CONFIG_SLUB_DEBUG is not set -CONFIG_PROFILING=y -CONFIG_OPROFILE=m -CONFIG_MODULES=y -CONFIG_MODULE_UNLOAD=y -CONFIG_MODULE_FORCE_UNLOAD=y -CONFIG_PARTITION_ADVANCED=y -CONFIG_ARCH_MSM=y -CONFIG_ARCH_MSM9625=y -# CONFIG_MSM_STACKED_MEMORY is not set -# CONFIG_MSM_FIQ_SUPPORT is not set -# CONFIG_MSM_PROC_COMM is not set -CONFIG_MSM_SMD=y -CONFIG_MSM_SMD_PKG4=y -CONFIG_MSM_BAM_DMUX=y -CONFIG_MSM_SMP2P=y -CONFIG_MSM_SMP2P_TEST=y -CONFIG_MSM_IPC_LOGGING=y -CONFIG_MSM_IPC_ROUTER=y -CONFIG_MSM_IPC_ROUTER_SMD_XPRT=y -CONFIG_MSM_RPM_REGULATOR_SMD=y -CONFIG_MSM_SUBSYSTEM_RESTART=y -CONFIG_MSM_PIL=y -CONFIG_MSM_PIL_MSS_QDSP6V5=y -CONFIG_MSM_DIRECT_SCLK_ACCESS=y -CONFIG_MSM_BUS_SCALING=y -CONFIG_MSM_WATCHDOG_V2=y -CONFIG_MSM_MEMORY_DUMP=y -CONFIG_MSM_DLOAD_MODE=y -CONFIG_MSM_ADSP_LOADER=m -CONFIG_MSM_ENABLE_WDOG_DEBUG_CONTROL=y -CONFIG_MSM_UARTDM_Core_v14=y -CONFIG_MSM_BOOT_STATS=y -CONFIG_NO_HZ=y -CONFIG_HIGH_RES_TIMERS=y -CONFIG_ARM_ARCH_TIMER=y -CONFIG_PREEMPT=y -CONFIG_AEABI=y -CONFIG_HIGHMEM=y -CONFIG_USE_OF=y -CONFIG_CPU_FREQ=y -CONFIG_CPU_FREQ_GOV_POWERSAVE=y -CONFIG_CPU_FREQ_GOV_USERSPACE=y -CONFIG_CPU_FREQ_GOV_ONDEMAND=y -CONFIG_CPU_FREQ_GOV_CONSERVATIVE=y -CONFIG_CPU_IDLE=y -CONFIG_VFP=y -CONFIG_NEON=y -# CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set -CONFIG_PM_AUTOSLEEP=y -CONFIG_PM_RUNTIME=y -CONFIG_NET=y -CONFIG_PACKET=y -CONFIG_UNIX=y -CONFIG_INET=y -CONFIG_IP_MULTICAST=y -CONFIG_IP_ADVANCED_ROUTER=y -CONFIG_IP_MULTIPLE_TABLES=y -CONFIG_IP_MROUTE=y -CONFIG_IP_PIMSM_V2=y -CONFIG_IPV6=y -CONFIG_IPV6_MULTIPLE_TABLES=y -CONFIG_IPV6_SUBTREES=y -CONFIG_NETFILTER=y -CONFIG_NETFILTER_DEBUG=y -CONFIG_NETFILTER_NETLINK_QUEUE=y -CONFIG_NETFILTER_NETLINK_LOG=y -CONFIG_NF_CONNTRACK=y -CONFIG_NF_CONNTRACK_EVENTS=y -CONFIG_NF_CONNTRACK_TIMESTAMP=y -CONFIG_NF_CT_PROTO_UDPLITE=y -CONFIG_NF_CONNTRACK_AMANDA=y -CONFIG_NF_CONNTRACK_FTP=y -CONFIG_NF_CONNTRACK_H323=y -CONFIG_NF_CONNTRACK_IRC=y -CONFIG_NF_CONNTRACK_NETBIOS_NS=y -CONFIG_NF_CONNTRACK_SNMP=y -CONFIG_NF_CONNTRACK_PPTP=y -CONFIG_NF_CONNTRACK_SIP=y -CONFIG_NF_CONNTRACK_TFTP=y -CONFIG_NF_CT_NETLINK=y -CONFIG_NETFILTER_XT_MARK=y -CONFIG_NETFILTER_XT_CONNMARK=y -CONFIG_NETFILTER_XT_TARGET_TCPMSS=y -CONFIG_NETFILTER_XT_MATCH_ADDRTYPE=y -CONFIG_NETFILTER_XT_MATCH_CONNLIMIT=y -CONFIG_NETFILTER_XT_MATCH_CONNTRACK=y -CONFIG_NETFILTER_XT_MATCH_DSCP=y -CONFIG_NETFILTER_XT_MATCH_ESP=y -CONFIG_NETFILTER_XT_MATCH_IPRANGE=y -CONFIG_NETFILTER_XT_MATCH_MULTIPORT=y -CONFIG_NETFILTER_XT_MATCH_PHYSDEV=y -CONFIG_NETFILTER_XT_MATCH_PKTTYPE=y -CONFIG_IP_SET=y -CONFIG_NF_CONNTRACK_IPV4=y -CONFIG_IP_NF_IPTABLES=y -CONFIG_NETFILTER_XTABLES=y -CONFIG_NETFILTER_XT_MATCH_STATE=y -CONFIG_IP_NF_MATCH_AH=y -CONFIG_IP_NF_MATCH_ECN=y -CONFIG_IP_NF_MATCH_TTL=y -CONFIG_IP_NF_FILTER=y -CONFIG_IP_NF_TARGET_REJECT=y -CONFIG_IP_NF_TARGET_REJECT_SKERR=y -CONFIG_IP_NF_TARGET_ULOG=y -CONFIG_NF_NAT=y -CONFIG_IP_NF_TARGET_MASQUERADE=y -CONFIG_IP_NF_TARGET_NATTYPE_MODULE=y -CONFIG_IP_NF_TARGET_NETMAP=y -CONFIG_IP_NF_TARGET_REDIRECT=y -CONFIG_IP_NF_MANGLE=y -CONFIG_IP_NF_TARGET_ECN=y -CONFIG_IP_NF_TARGET_TTL=y -CONFIG_IP_NF_RAW=y -CONFIG_NF_CONNTRACK_IPV6=y -CONFIG_IP6_NF_IPTABLES=y -CONFIG_IP6_NF_MATCH_AH=y -CONFIG_IP6_NF_MATCH_FRAG=y -CONFIG_IP6_NF_MATCH_OPTS=y -CONFIG_IP6_NF_MATCH_HL=y -CONFIG_IP6_NF_MATCH_IPV6HEADER=y -CONFIG_IP6_NF_MATCH_MH=y -CONFIG_IP6_NF_MATCH_RT=y -CONFIG_IP6_NF_FILTER=y -CONFIG_IP6_NF_TARGET_REJECT=y -CONFIG_IP6_NF_TARGET_REJECT_SKERR=y -CONFIG_IP6_NF_MANGLE=y -CONFIG_IP6_NF_RAW=y -CONFIG_BRIDGE_NF_EBTABLES=y -CONFIG_BRIDGE_EBT_BROUTE=y -CONFIG_BRIDGE_EBT_T_FILTER=y -CONFIG_BRIDGE_EBT_IP=y -CONFIG_BRIDGE_EBT_IP6=y -CONFIG_BRIDGE=y -CONFIG_NET_SCHED=y -CONFIG_NET_SCH_HTB=y -CONFIG_NET_SCH_PRIO=y -CONFIG_NET_CLS_FW=y -CONFIG_CFG80211=m -CONFIG_NL80211_TESTMODE=y -CONFIG_MTD=y -CONFIG_MTD_CMDLINE_PARTS=y -CONFIG_MTD_OF_PARTS=y -CONFIG_MTD_CHAR=y -CONFIG_MTD_BLOCK=y -# CONFIG_MTD_MSM_NAND is not set -CONFIG_MTD_MSM_QPIC_NAND=y -CONFIG_BLK_DEV_LOOP=y -CONFIG_BLK_DEV_RAM=y -CONFIG_SCSI=y -CONFIG_SCSI_TGT=y -CONFIG_BLK_DEV_SD=y -CONFIG_CHR_DEV_SG=y -CONFIG_CHR_DEV_SCH=y -CONFIG_SCSI_MULTI_LUN=y -CONFIG_SCSI_CONSTANTS=y -CONFIG_SCSI_LOGGING=y -CONFIG_SCSI_SCAN_ASYNC=y -CONFIG_NETDEVICES=y -# CONFIG_NET_VENDOR_BROADCOM is not set -# CONFIG_NET_VENDOR_CIRRUS is not set -# CONFIG_NET_VENDOR_FARADAY is not set -# CONFIG_NET_VENDOR_INTEL is not set -# [linyunfeng] Not support ethernet KS8851 -# CONFIG_KS8851=y -# CONFIG_NET_VENDOR_MICROCHIP is not set -# CONFIG_MSM_RMNET is not set -CONFIG_MSM_RMNET_WWAN=y -CONFIG_ECM_IPA=y -# CONFIG_NET_VENDOR_NATSEMI is not set -# CONFIG_NET_VENDOR_SEEQ is not set -# CONFIG_NET_VENDOR_SMSC is not set -# CONFIG_NET_VENDOR_STMICRO is not set -CONFIG_ATH6K_LEGACY_EXT=y -# CONFIG_INPUT_MOUSEDEV is not set -CONFIG_INPUT_EVDEV=y -CONFIG_INPUT_KEYBOARD=y -CONFIG_KEYBOARD_GPIO=y -CONFIG_OF=y -# CONFIG_INPUT_MOUSE is not set -CONFIG_INPUT_MISC=y -CONFIG_INPUT_UINPUT=y -CONFIG_INPUT_GPIO=m -CONFIG_SERIO_LIBPS2=y -# CONFIG_LEGACY_PTYS is not set -CONFIG_SERIAL_MSM_HS=y -CONFIG_SERIAL_MSM_HSL=y -CONFIG_DIAG_CHAR=y -CONFIG_HW_RANDOM=y -CONFIG_HW_RANDOM_MSM=y -CONFIG_I2C=y -CONFIG_I2C_CHARDEV=y -CONFIG_I2C_QUP=y -CONFIG_MSM_BUSPM_DEV=m -CONFIG_SPI=y -CONFIG_SPI_QUP=y -CONFIG_SPI_SPIDEV=m -CONFIG_SPMI=y -CONFIG_SPMI_MSM_PMIC_ARB=y -CONFIG_MSM_QPNP_INT=y -CONFIG_DEBUG_GPIO=y -CONFIG_GPIO_SYSFS=y -CONFIG_GPIO_QPNP_PIN=y -CONFIG_GPIO_QPNP_PIN_DEBUG=y -CONFIG_POWER_SUPPLY=y -CONFIG_MP2617_CHARGER=y -CONFIG_SENSORS_QPNP_ADC_VOLTAGE=y -CONFIG_THERMAL=y -CONFIG_THERMAL_TSENS8974=y -CONFIG_THERMAL_QPNP_ADC_TM=y -CONFIG_THERMAL_MONITOR=y -CONFIG_WCD9320_CODEC=n -CONFIG_REGULATOR=y -CONFIG_REGULATOR_FIXED_VOLTAGE=y -CONFIG_REGULATOR_QPNP=y -CONFIG_ION=y -CONFIG_ION_MSM=y -CONFIG_SOUND=n -CONFIG_SND=n -CONFIG_SND_SOC=n -CONFIG_SND_SOC_MDM9625=n -CONFIG_USB=y -CONFIG_USB_ANNOUNCE_NEW_DEVICES=y -CONFIG_USB_SUSPEND=y -CONFIG_USB_EHCI_HCD=y -CONFIG_USB_EHCI_EHSET=y -CONFIG_USB_EHCI_MSM=y -CONFIG_USB_EHCI_MSM_HSIC=y -CONFIG_USB_STORAGE=y -CONFIG_USB_STORAGE_DEBUG=y -CONFIG_USB_STORAGE_DATAFAB=y -CONFIG_USB_STORAGE_FREECOM=y -CONFIG_USB_STORAGE_ISD200=y -CONFIG_USB_STORAGE_USBAT=y -CONFIG_USB_STORAGE_SDDR09=y -CONFIG_USB_STORAGE_SDDR55=y -CONFIG_USB_STORAGE_JUMPSHOT=y -CONFIG_USB_STORAGE_ALAUDA=y -CONFIG_USB_STORAGE_ONETOUCH=y -CONFIG_USB_STORAGE_KARMA=y -CONFIG_USB_STORAGE_CYPRESS_ATACB=y -CONFIG_USB_EHSET_TEST_FIXTURE=y -CONFIG_USB_GADGET=y -CONFIG_USB_GADGET_DEBUG_FILES=y -CONFIG_USB_CI13XXX_MSM=y -CONFIG_USB_G_ANDROID=y -CONFIG_MMC=y -CONFIG_MMC_PERF_PROFILING=y -CONFIG_MMC_UNSAFE_RESUME=y -CONFIG_MMC_CLKGATE=y -CONFIG_MMC_EMBEDDED_SDIO=y -CONFIG_MMC_PARANOID_SD_INIT=y -CONFIG_MMC_BLOCK_MINORS=32 -CONFIG_MMC_TEST=m -CONFIG_MMC_MSM=y -CONFIG_MMC_MSM_SPS_SUPPORT=y -CONFIG_RTC_CLASS=y -# CONFIG_RTC_DRV_MSM is not set -CONFIG_RTC_DRV_QPNP=y -CONFIG_SPS=y -CONFIG_USB_BAM=y -CONFIG_SPS_SUPPORT_BAMDMA=y -CONFIG_SPS_SUPPORT_NDP_BAM=y -CONFIG_QPNP_POWER_ON=y -CONFIG_IPA=y -CONFIG_EXT3_FS=y -CONFIG_VFAT_FS=y -CONFIG_TMPFS=y -CONFIG_YAFFS_FS=y -CONFIG_YAFFS_DISABLE_TAGS_ECC=y -CONFIG_NLS_CODEPAGE_437=y -CONFIG_NLS_ASCII=y -CONFIG_NLS_ISO8859_1=y -CONFIG_PRINTK_TIME=y -CONFIG_MAGIC_SYSRQ=y -CONFIG_SCHEDSTATS=y -CONFIG_TIMER_STATS=y -# CONFIG_DEBUG_PREEMPT is not set -CONFIG_DEBUG_INFO=y -CONFIG_DEBUG_MEMORY_INIT=y -CONFIG_ENABLE_DEFAULT_TRACERS=y -CONFIG_DYNAMIC_DEBUG=y -CONFIG_OOPS_LOG_BUFFER=y -CONFIG_OOPS_LOG_BUF_SHIFT=14 -CONFIG_DEBUG_USER=y -CONFIG_KEYS=y -CONFIG_CRYPTO_AUTHENC=y -CONFIG_CRYPTO_CBC=y -CONFIG_CRYPTO_HMAC=y -CONFIG_CRYPTO_MD4=y -CONFIG_CRYPTO_MD5=y -CONFIG_CRYPTO_SHA1=y -CONFIG_CRYPTO_SHA256=y -CONFIG_CRYPTO_AES=y -CONFIG_CRYPTO_ARC4=y -CONFIG_CRYPTO_DES=y -CONFIG_CRYPTO_TWOFISH=y -CONFIG_CRYPTO_DEFLATE=y -CONFIG_CRYPTO_DEV_QCRYPTO=m -CONFIG_CRYPTO_DEV_QCE=m -CONFIG_CRYPTO_DEV_QCEDEV=m -CONFIG_CRC_CCITT=y -CONFIG_LIBCRC32C=y -CONFIG_DEVMEM=n -CONFIG_DEVKMEM=n -# TP-LINK CONFIG -CONFIG_TPLINK_PMIC_EXT=y -CONFIG_OLED=y -CONFIG_OLED_S90319_PT=y -CONFIG_TPLINK_PRODUCT_M7350_UN_V2=y -# [chenchao] Export pm wakelocks to userspace -CONFIG_PM_WAKELOCKS=y diff --git a/kernel/arch/arm/configs/m7350-un-v3-perf_defconfig b/kernel/arch/arm/configs/m7350-un-v3-perf_defconfig deleted file mode 100755 index eebcffe14..000000000 --- a/kernel/arch/arm/configs/m7350-un-v3-perf_defconfig +++ /dev/null @@ -1,339 +0,0 @@ -# CONFIG_ARM_PATCH_PHYS_VIRT is not set -CONFIG_EXPERIMENTAL=y -# CONFIG_LOCALVERSION_AUTO is not set -CONFIG_SYSVIPC=y -CONFIG_IKCONFIG=y -CONFIG_IKCONFIG_PROC=y -CONFIG_CGROUPS=y -CONFIG_CGROUP_DEBUG=y -CONFIG_CGROUP_FREEZER=y -CONFIG_CGROUP_CPUACCT=y -CONFIG_RESOURCE_COUNTERS=y -CONFIG_CGROUP_SCHED=y -# CONFIG_FAIR_GROUP_SCHED is not set -CONFIG_RT_GROUP_SCHED=y -CONFIG_NAMESPACES=y -# CONFIG_UTS_NS is not set -# CONFIG_IPC_NS is not set -# CONFIG_USER_NS is not set -# CONFIG_PID_NS is not set -CONFIG_RELAY=y -CONFIG_BLK_DEV_INITRD=y -CONFIG_RD_BZIP2=y -CONFIG_RD_LZMA=y -CONFIG_CC_OPTIMIZE_FOR_SIZE=y -CONFIG_PANIC_TIMEOUT=5 -CONFIG_KALLSYMS_ALL=y -CONFIG_EMBEDDED=y -# CONFIG_SLUB_DEBUG is not set -CONFIG_PROFILING=y -CONFIG_OPROFILE=m -CONFIG_MODULES=y -CONFIG_MODULE_UNLOAD=y -CONFIG_MODULE_FORCE_UNLOAD=y -CONFIG_PARTITION_ADVANCED=y -CONFIG_ARCH_MSM=y -CONFIG_ARCH_MSM9625=y -# CONFIG_MSM_STACKED_MEMORY is not set -# CONFIG_MSM_FIQ_SUPPORT is not set -# CONFIG_MSM_PROC_COMM is not set -CONFIG_MSM_SMD=y -CONFIG_MSM_SMD_PKG4=y -CONFIG_MSM_BAM_DMUX=y -CONFIG_MSM_SMP2P=y -CONFIG_MSM_SMP2P_TEST=y -CONFIG_MSM_IPC_LOGGING=y -CONFIG_MSM_IPC_ROUTER=y -CONFIG_MSM_IPC_ROUTER_SMD_XPRT=y -CONFIG_MSM_RPM_REGULATOR_SMD=y -CONFIG_MSM_SUBSYSTEM_RESTART=y -CONFIG_MSM_PIL=y -CONFIG_MSM_PIL_MSS_QDSP6V5=y -CONFIG_MSM_DIRECT_SCLK_ACCESS=y -CONFIG_MSM_BUS_SCALING=y -CONFIG_MSM_WATCHDOG_V2=y -CONFIG_MSM_MEMORY_DUMP=y -CONFIG_MSM_DLOAD_MODE=y -CONFIG_MSM_ADSP_LOADER=m -CONFIG_MSM_ENABLE_WDOG_DEBUG_CONTROL=y -CONFIG_MSM_UARTDM_Core_v14=y -CONFIG_MSM_BOOT_STATS=y -CONFIG_NO_HZ=y -CONFIG_HIGH_RES_TIMERS=y -CONFIG_ARM_ARCH_TIMER=y -CONFIG_PREEMPT=y -CONFIG_AEABI=y -CONFIG_HIGHMEM=y -CONFIG_USE_OF=y -CONFIG_CPU_FREQ=y -CONFIG_CPU_FREQ_GOV_POWERSAVE=y -CONFIG_CPU_FREQ_GOV_USERSPACE=y -CONFIG_CPU_FREQ_GOV_ONDEMAND=y -CONFIG_CPU_FREQ_GOV_CONSERVATIVE=y -CONFIG_CPU_IDLE=y -CONFIG_VFP=y -CONFIG_NEON=y -# CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set -CONFIG_PM_AUTOSLEEP=y -CONFIG_PM_RUNTIME=y -CONFIG_NET=y -CONFIG_PACKET=y -CONFIG_UNIX=y -CONFIG_INET=y -CONFIG_IP_MULTICAST=y -CONFIG_IP_ADVANCED_ROUTER=y -CONFIG_IP_MULTIPLE_TABLES=y -CONFIG_IP_MROUTE=y -CONFIG_IP_PIMSM_V2=y -CONFIG_IPV6=y -CONFIG_IPV6_MULTIPLE_TABLES=y -CONFIG_IPV6_SUBTREES=y -CONFIG_NETFILTER=y -CONFIG_NETFILTER_DEBUG=y -CONFIG_NETFILTER_NETLINK_QUEUE=y -CONFIG_NETFILTER_NETLINK_LOG=y -CONFIG_NF_CONNTRACK=y -CONFIG_NF_CONNTRACK_EVENTS=y -CONFIG_NF_CONNTRACK_TIMESTAMP=y -CONFIG_NF_CT_PROTO_UDPLITE=y -CONFIG_NF_CONNTRACK_AMANDA=y -CONFIG_NF_CONNTRACK_FTP=y -CONFIG_NF_CONNTRACK_H323=y -CONFIG_NF_CONNTRACK_IRC=y -CONFIG_NF_CONNTRACK_NETBIOS_NS=y -CONFIG_NF_CONNTRACK_SNMP=y -CONFIG_NF_CONNTRACK_PPTP=y -CONFIG_NF_CONNTRACK_SIP=y -CONFIG_NF_CONNTRACK_TFTP=y -CONFIG_NF_CT_NETLINK=y -CONFIG_NETFILTER_XT_MARK=y -CONFIG_NETFILTER_XT_CONNMARK=y -CONFIG_NETFILTER_XT_TARGET_TCPMSS=y -CONFIG_NETFILTER_XT_MATCH_ADDRTYPE=y -CONFIG_NETFILTER_XT_MATCH_CONNLIMIT=y -CONFIG_NETFILTER_XT_MATCH_CONNTRACK=y -CONFIG_NETFILTER_XT_MATCH_DSCP=y -CONFIG_NETFILTER_XT_MATCH_ESP=y -CONFIG_NETFILTER_XT_MATCH_IPRANGE=y -CONFIG_NETFILTER_XT_MATCH_MULTIPORT=y -CONFIG_NETFILTER_XT_MATCH_PHYSDEV=y -CONFIG_NETFILTER_XT_MATCH_PKTTYPE=y -CONFIG_IP_SET=y -CONFIG_NF_CONNTRACK_IPV4=y -CONFIG_IP_NF_IPTABLES=y -CONFIG_NETFILTER_XTABLES=y -CONFIG_NETFILTER_XT_MATCH_STATE=y -CONFIG_IP_NF_MATCH_AH=y -CONFIG_IP_NF_MATCH_ECN=y -CONFIG_IP_NF_MATCH_TTL=y -CONFIG_IP_NF_FILTER=y -CONFIG_IP_NF_TARGET_REJECT=y -CONFIG_IP_NF_TARGET_REJECT_SKERR=y -CONFIG_IP_NF_TARGET_ULOG=y -CONFIG_NF_NAT=y -CONFIG_IP_NF_TARGET_MASQUERADE=y -CONFIG_IP_NF_TARGET_NATTYPE_MODULE=y -CONFIG_IP_NF_TARGET_NETMAP=y -CONFIG_IP_NF_TARGET_REDIRECT=y -CONFIG_IP_NF_MANGLE=y -CONFIG_IP_NF_TARGET_ECN=y -CONFIG_IP_NF_TARGET_TTL=y -CONFIG_IP_NF_RAW=y -CONFIG_NF_CONNTRACK_IPV6=y -CONFIG_IP6_NF_IPTABLES=y -CONFIG_IP6_NF_MATCH_AH=y -CONFIG_IP6_NF_MATCH_FRAG=y -CONFIG_IP6_NF_MATCH_OPTS=y -CONFIG_IP6_NF_MATCH_HL=y -CONFIG_IP6_NF_MATCH_IPV6HEADER=y -CONFIG_IP6_NF_MATCH_MH=y -CONFIG_IP6_NF_MATCH_RT=y -CONFIG_IP6_NF_FILTER=y -CONFIG_IP6_NF_TARGET_REJECT=y -CONFIG_IP6_NF_TARGET_REJECT_SKERR=y -CONFIG_IP6_NF_MANGLE=y -CONFIG_IP6_NF_RAW=y -CONFIG_BRIDGE_NF_EBTABLES=y -CONFIG_BRIDGE_EBT_BROUTE=y -CONFIG_BRIDGE_EBT_T_FILTER=y -CONFIG_BRIDGE_EBT_IP=y -CONFIG_BRIDGE_EBT_IP6=y -CONFIG_BRIDGE=y -CONFIG_NET_SCHED=y -CONFIG_NET_SCH_HTB=y -CONFIG_NET_SCH_PRIO=y -CONFIG_NET_CLS_FW=y -CONFIG_CFG80211=m -CONFIG_NL80211_TESTMODE=y -CONFIG_MTD=y -CONFIG_MTD_CMDLINE_PARTS=y -CONFIG_MTD_OF_PARTS=y -CONFIG_MTD_CHAR=y -CONFIG_MTD_BLOCK=y -# CONFIG_MTD_MSM_NAND is not set -CONFIG_MTD_MSM_QPIC_NAND=y -CONFIG_BLK_DEV_LOOP=y -CONFIG_BLK_DEV_RAM=y -CONFIG_SCSI=y -CONFIG_SCSI_TGT=y -CONFIG_BLK_DEV_SD=y -CONFIG_CHR_DEV_SG=y -CONFIG_CHR_DEV_SCH=y -CONFIG_SCSI_MULTI_LUN=y -CONFIG_SCSI_CONSTANTS=y -CONFIG_SCSI_LOGGING=y -CONFIG_SCSI_SCAN_ASYNC=y -CONFIG_NETDEVICES=y -# CONFIG_NET_VENDOR_BROADCOM is not set -# CONFIG_NET_VENDOR_CIRRUS is not set -# CONFIG_NET_VENDOR_FARADAY is not set -# CONFIG_NET_VENDOR_INTEL is not set -# [linyunfeng] Not support ethernet KS8851 -# CONFIG_KS8851=y -# CONFIG_NET_VENDOR_MICROCHIP is not set -# CONFIG_MSM_RMNET is not set -CONFIG_MSM_RMNET_WWAN=y -CONFIG_ECM_IPA=y -# CONFIG_NET_VENDOR_NATSEMI is not set -# CONFIG_NET_VENDOR_SEEQ is not set -# CONFIG_NET_VENDOR_SMSC is not set -# CONFIG_NET_VENDOR_STMICRO is not set -CONFIG_ATH6K_LEGACY_EXT=y -# CONFIG_INPUT_MOUSEDEV is not set -CONFIG_INPUT_EVDEV=y -CONFIG_INPUT_KEYBOARD=y -CONFIG_KEYBOARD_GPIO=y -CONFIG_OF=y -# CONFIG_INPUT_MOUSE is not set -CONFIG_INPUT_MISC=y -CONFIG_INPUT_UINPUT=y -CONFIG_INPUT_GPIO=m -CONFIG_SERIO_LIBPS2=y -# CONFIG_LEGACY_PTYS is not set -CONFIG_SERIAL_MSM_HS=y -CONFIG_SERIAL_MSM_HSL=y -CONFIG_DIAG_CHAR=y -CONFIG_HW_RANDOM=y -CONFIG_HW_RANDOM_MSM=y -CONFIG_I2C=y -CONFIG_I2C_CHARDEV=y -CONFIG_I2C_QUP=y -CONFIG_MSM_BUSPM_DEV=m -CONFIG_SPI=y -CONFIG_SPI_QUP=y -CONFIG_SPI_SPIDEV=m -CONFIG_SPMI=y -CONFIG_SPMI_MSM_PMIC_ARB=y -CONFIG_MSM_QPNP_INT=y -CONFIG_DEBUG_GPIO=y -CONFIG_GPIO_SYSFS=y -CONFIG_GPIO_QPNP_PIN=y -CONFIG_GPIO_QPNP_PIN_DEBUG=y -CONFIG_POWER_SUPPLY=y -CONFIG_MP2617_CHARGER=y -CONFIG_SENSORS_QPNP_ADC_VOLTAGE=y -CONFIG_THERMAL=y -CONFIG_THERMAL_TSENS8974=y -CONFIG_THERMAL_QPNP_ADC_TM=y -CONFIG_THERMAL_MONITOR=y -CONFIG_WCD9320_CODEC=n -CONFIG_REGULATOR=y -CONFIG_REGULATOR_FIXED_VOLTAGE=y -CONFIG_REGULATOR_QPNP=y -CONFIG_ION=y -CONFIG_ION_MSM=y -CONFIG_SOUND=n -CONFIG_SND=n -CONFIG_SND_SOC=n -CONFIG_SND_SOC_MDM9625=n -CONFIG_USB=y -CONFIG_USB_ANNOUNCE_NEW_DEVICES=y -CONFIG_USB_SUSPEND=y -CONFIG_USB_EHCI_HCD=y -CONFIG_USB_EHCI_EHSET=y -CONFIG_USB_EHCI_MSM=y -CONFIG_USB_EHCI_MSM_HSIC=y -CONFIG_USB_STORAGE=y -CONFIG_USB_STORAGE_DEBUG=y -CONFIG_USB_STORAGE_DATAFAB=y -CONFIG_USB_STORAGE_FREECOM=y -CONFIG_USB_STORAGE_ISD200=y -CONFIG_USB_STORAGE_USBAT=y -CONFIG_USB_STORAGE_SDDR09=y -CONFIG_USB_STORAGE_SDDR55=y -CONFIG_USB_STORAGE_JUMPSHOT=y -CONFIG_USB_STORAGE_ALAUDA=y -CONFIG_USB_STORAGE_ONETOUCH=y -CONFIG_USB_STORAGE_KARMA=y -CONFIG_USB_STORAGE_CYPRESS_ATACB=y -CONFIG_USB_EHSET_TEST_FIXTURE=y -CONFIG_USB_GADGET=y -CONFIG_USB_GADGET_DEBUG_FILES=y -CONFIG_USB_CI13XXX_MSM=y -CONFIG_USB_G_ANDROID=y -CONFIG_MMC=y -CONFIG_MMC_PERF_PROFILING=y -CONFIG_MMC_UNSAFE_RESUME=y -CONFIG_MMC_CLKGATE=y -CONFIG_MMC_EMBEDDED_SDIO=y -CONFIG_MMC_PARANOID_SD_INIT=y -CONFIG_MMC_BLOCK_MINORS=32 -CONFIG_MMC_TEST=m -CONFIG_MMC_MSM=y -CONFIG_MMC_MSM_SPS_SUPPORT=y -CONFIG_RTC_CLASS=y -# CONFIG_RTC_DRV_MSM is not set -CONFIG_RTC_DRV_QPNP=y -CONFIG_SPS=y -CONFIG_USB_BAM=y -CONFIG_SPS_SUPPORT_BAMDMA=y -CONFIG_SPS_SUPPORT_NDP_BAM=y -CONFIG_QPNP_POWER_ON=y -CONFIG_IPA=y -CONFIG_EXT3_FS=y -CONFIG_VFAT_FS=y -CONFIG_TMPFS=y -CONFIG_YAFFS_FS=y -CONFIG_YAFFS_DISABLE_TAGS_ECC=y -CONFIG_NLS_CODEPAGE_437=y -CONFIG_NLS_ASCII=y -CONFIG_NLS_ISO8859_1=y -CONFIG_PRINTK_TIME=y -CONFIG_MAGIC_SYSRQ=y -CONFIG_SCHEDSTATS=y -CONFIG_TIMER_STATS=y -# CONFIG_DEBUG_PREEMPT is not set -CONFIG_DEBUG_INFO=y -CONFIG_DEBUG_MEMORY_INIT=y -CONFIG_ENABLE_DEFAULT_TRACERS=y -CONFIG_DYNAMIC_DEBUG=y -CONFIG_OOPS_LOG_BUFFER=y -CONFIG_OOPS_LOG_BUF_SHIFT=14 -CONFIG_DEBUG_USER=y -CONFIG_KEYS=y -CONFIG_CRYPTO_AUTHENC=y -CONFIG_CRYPTO_CBC=y -CONFIG_CRYPTO_HMAC=y -CONFIG_CRYPTO_MD4=y -CONFIG_CRYPTO_MD5=y -CONFIG_CRYPTO_SHA1=y -CONFIG_CRYPTO_SHA256=y -CONFIG_CRYPTO_AES=y -CONFIG_CRYPTO_ARC4=y -CONFIG_CRYPTO_DES=y -CONFIG_CRYPTO_TWOFISH=y -CONFIG_CRYPTO_DEFLATE=y -CONFIG_CRYPTO_DEV_QCRYPTO=m -CONFIG_CRYPTO_DEV_QCE=m -CONFIG_CRYPTO_DEV_QCEDEV=m -CONFIG_CRC_CCITT=y -CONFIG_LIBCRC32C=y -CONFIG_DEVMEM=n -CONFIG_DEVKMEM=n -# TP-LINK CONFIG -CONFIG_TPLINK_PMIC_EXT=y -CONFIG_OLED=y -CONFIG_OLED_S90319_PT=y -CONFIG_TPLINK_PRODUCT_M7350_UN_V3=y -# [chenchao] Export pm wakelocks to userspace -CONFIG_PM_WAKELOCKS=y diff --git a/kernel/arch/arm/configs/m7350-un-v3_defconfig b/kernel/arch/arm/configs/m7350-un-v3_defconfig deleted file mode 100755 index c081dbcf9..000000000 --- a/kernel/arch/arm/configs/m7350-un-v3_defconfig +++ /dev/null @@ -1,351 +0,0 @@ -# CONFIG_ARM_PATCH_PHYS_VIRT is not set -CONFIG_EXPERIMENTAL=y -# CONFIG_LOCALVERSION_AUTO is not set -CONFIG_SYSVIPC=y -CONFIG_IKCONFIG=y -CONFIG_IKCONFIG_PROC=y -CONFIG_CGROUPS=y -CONFIG_CGROUP_DEBUG=y -CONFIG_CGROUP_FREEZER=y -CONFIG_CGROUP_CPUACCT=y -CONFIG_RESOURCE_COUNTERS=y -CONFIG_CGROUP_SCHED=y -# CONFIG_FAIR_GROUP_SCHED is not set -CONFIG_RT_GROUP_SCHED=y -CONFIG_NAMESPACES=y -# CONFIG_UTS_NS is not set -# CONFIG_IPC_NS is not set -# CONFIG_USER_NS is not set -# CONFIG_PID_NS is not set -CONFIG_RELAY=y -CONFIG_BLK_DEV_INITRD=y -CONFIG_RD_BZIP2=y -CONFIG_RD_LZMA=y -CONFIG_CC_OPTIMIZE_FOR_SIZE=y -CONFIG_PANIC_TIMEOUT=5 -CONFIG_KALLSYMS_ALL=y -CONFIG_EMBEDDED=y -CONFIG_PROFILING=y -CONFIG_OPROFILE=m -CONFIG_MODULES=y -CONFIG_MODULE_UNLOAD=y -CONFIG_MODULE_FORCE_UNLOAD=y -CONFIG_PARTITION_ADVANCED=y -CONFIG_ARCH_MSM=y -CONFIG_ARCH_MSM9625=y -# CONFIG_MSM_STACKED_MEMORY is not set -# CONFIG_MSM_FIQ_SUPPORT is not set -# CONFIG_MSM_PROC_COMM is not set -CONFIG_MSM_SMD=y -CONFIG_MSM_SMD_PKG4=y -CONFIG_MSM_BAM_DMUX=y -CONFIG_MSM_SMP2P=y -CONFIG_MSM_SMP2P_TEST=y -CONFIG_MSM_IPC_LOGGING=y -CONFIG_MSM_IPC_ROUTER=y -CONFIG_MSM_IPC_ROUTER_SMD_XPRT=y -CONFIG_MSM_RPM_REGULATOR_SMD=y -CONFIG_MSM_SUBSYSTEM_RESTART=y -CONFIG_MSM_PIL=y -CONFIG_MSM_PIL_MSS_QDSP6V5=y -CONFIG_MSM_DIRECT_SCLK_ACCESS=y -CONFIG_MSM_BUS_SCALING=y -CONFIG_MSM_BUSPM_DEV=m -CONFIG_MSM_WATCHDOG_V2=y -CONFIG_MSM_MEMORY_DUMP=y -CONFIG_MSM_DLOAD_MODE=y -CONFIG_MSM_ADSP_LOADER=m -CONFIG_MSM_RTB=y -CONFIG_MSM_ENABLE_WDOG_DEBUG_CONTROL=y -CONFIG_MSM_UARTDM_Core_v14=y -CONFIG_MSM_BOOT_STATS=y -CONFIG_NO_HZ=y -CONFIG_HIGH_RES_TIMERS=y -CONFIG_ARM_ARCH_TIMER=y -CONFIG_PREEMPT=y -CONFIG_AEABI=y -CONFIG_HIGHMEM=y -CONFIG_USE_OF=y -CONFIG_CPU_FREQ=y -CONFIG_CPU_FREQ_GOV_POWERSAVE=y -CONFIG_CPU_FREQ_GOV_USERSPACE=y -CONFIG_CPU_FREQ_GOV_ONDEMAND=y -CONFIG_CPU_FREQ_GOV_CONSERVATIVE=y -CONFIG_CPU_IDLE=y -CONFIG_VFP=y -CONFIG_NEON=y -# CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set -CONFIG_PM_AUTOSLEEP=y -CONFIG_PM_RUNTIME=y -CONFIG_NET=y -CONFIG_PACKET=y -CONFIG_UNIX=y -CONFIG_INET=y -CONFIG_IP_MULTICAST=y -CONFIG_IP_ADVANCED_ROUTER=y -CONFIG_IP_MULTIPLE_TABLES=y -CONFIG_IP_MROUTE=y -CONFIG_IP_PIMSM_V2=y -CONFIG_IPV6=y -CONFIG_IPV6_MULTIPLE_TABLES=y -CONFIG_IPV6_SUBTREES=y -CONFIG_NETFILTER=y -CONFIG_NETFILTER_DEBUG=y -CONFIG_NETFILTER_NETLINK_QUEUE=y -CONFIG_NETFILTER_NETLINK_LOG=y -CONFIG_NF_CONNTRACK=y -CONFIG_NF_CONNTRACK_EVENTS=y -CONFIG_NF_CONNTRACK_TIMESTAMP=y -CONFIG_NF_CT_PROTO_UDPLITE=y -CONFIG_NF_CONNTRACK_AMANDA=y -CONFIG_NF_CONNTRACK_FTP=y -CONFIG_NF_CONNTRACK_H323=y -CONFIG_NF_CONNTRACK_IRC=y -CONFIG_NF_CONNTRACK_NETBIOS_NS=y -CONFIG_NF_CONNTRACK_SNMP=y -CONFIG_NF_CONNTRACK_PPTP=y -CONFIG_NF_CONNTRACK_SIP=y -CONFIG_NF_CONNTRACK_TFTP=y -CONFIG_NF_CT_NETLINK=y -CONFIG_NETFILTER_XT_MARK=y -CONFIG_NETFILTER_XT_CONNMARK=y -CONFIG_NETFILTER_XT_TARGET_LOG=y -CONFIG_NETFILTER_XT_TARGET_TRACE=y -CONFIG_NETFILTER_XT_TARGET_TCPMSS=y -CONFIG_NETFILTER_XT_MATCH_ADDRTYPE=y -CONFIG_NETFILTER_XT_MATCH_CONNLIMIT=y -CONFIG_NETFILTER_XT_MATCH_CONNTRACK=y -CONFIG_NETFILTER_XT_MATCH_DSCP=y -CONFIG_NETFILTER_XT_MATCH_ESP=y -CONFIG_NETFILTER_XT_MATCH_IPRANGE=y -CONFIG_NETFILTER_XT_MATCH_LIMIT=y -CONFIG_NETFILTER_XT_MATCH_MULTIPORT=y -CONFIG_NETFILTER_XT_MATCH_PHYSDEV=y -CONFIG_NETFILTER_XT_MATCH_PKTTYPE=y -CONFIG_IP_SET=y -CONFIG_NF_CONNTRACK_IPV4=y -CONFIG_IP_NF_IPTABLES=y -CONFIG_NETFILTER_XTABLES=y -CONFIG_NETFILTER_XT_MATCH_STATE=y -CONFIG_IP_NF_MATCH_AH=y -CONFIG_IP_NF_MATCH_ECN=y -CONFIG_IP_NF_MATCH_TTL=y -CONFIG_IP_NF_FILTER=y -CONFIG_IP_NF_TARGET_REJECT=y -CONFIG_IP_NF_TARGET_REJECT_SKERR=y -CONFIG_IP_NF_TARGET_ULOG=y -CONFIG_NF_NAT=y -CONFIG_IP_NF_TARGET_MASQUERADE=y -CONFIG_IP_NF_TARGET_NATTYPE_MODULE=y -CONFIG_IP_NF_TARGET_NETMAP=y -CONFIG_IP_NF_TARGET_REDIRECT=y -CONFIG_IP_NF_MANGLE=y -CONFIG_IP_NF_TARGET_ECN=y -CONFIG_IP_NF_TARGET_TTL=y -CONFIG_IP_NF_RAW=y -CONFIG_NF_CONNTRACK_IPV6=y -CONFIG_IP6_NF_IPTABLES=y -CONFIG_IP6_NF_MATCH_AH=y -CONFIG_IP6_NF_MATCH_FRAG=y -CONFIG_IP6_NF_MATCH_OPTS=y -CONFIG_IP6_NF_MATCH_HL=y -CONFIG_IP6_NF_MATCH_IPV6HEADER=y -CONFIG_IP6_NF_MATCH_MH=y -CONFIG_IP6_NF_MATCH_RT=y -CONFIG_IP6_NF_FILTER=y -CONFIG_IP6_NF_TARGET_REJECT=y -CONFIG_IP6_NF_TARGET_REJECT_SKERR=y -CONFIG_IP6_NF_MANGLE=y -CONFIG_IP6_NF_RAW=y -CONFIG_BRIDGE_NF_EBTABLES=y -CONFIG_BRIDGE_EBT_BROUTE=y -CONFIG_BRIDGE_EBT_T_FILTER=y -CONFIG_BRIDGE_EBT_IP=y -CONFIG_BRIDGE_EBT_IP6=y -CONFIG_BRIDGE=y -CONFIG_NET_SCHED=y -CONFIG_NET_SCH_HTB=y -CONFIG_NET_SCH_PRIO=y -CONFIG_NET_CLS_FW=y -CONFIG_CFG80211=m -CONFIG_NL80211_TESTMODE=y -CONFIG_MTD=y -CONFIG_MTD_CMDLINE_PARTS=y -CONFIG_MTD_OF_PARTS=y -CONFIG_MTD_CHAR=y -CONFIG_MTD_BLOCK=y -# CONFIG_MTD_MSM_NAND is not set -CONFIG_MTD_MSM_QPIC_NAND=y -CONFIG_BLK_DEV_LOOP=y -CONFIG_BLK_DEV_RAM=y -CONFIG_SCSI=y -CONFIG_SCSI_TGT=y -CONFIG_BLK_DEV_SD=y -CONFIG_CHR_DEV_SG=y -CONFIG_CHR_DEV_SCH=y -CONFIG_SCSI_MULTI_LUN=y -CONFIG_SCSI_CONSTANTS=y -CONFIG_SCSI_LOGGING=y -CONFIG_SCSI_SCAN_ASYNC=y -CONFIG_NETDEVICES=y -# CONFIG_NET_VENDOR_BROADCOM is not set -# CONFIG_NET_VENDOR_CIRRUS is not set -# CONFIG_NET_VENDOR_FARADAY is not set -# CONFIG_NET_VENDOR_INTEL is not set -# [linyunfeng] Not support ethernet KS8851 -# CONFIG_KS8851=y -# CONFIG_NET_VENDOR_MICROCHIP is not set -# CONFIG_MSM_RMNET is not set -CONFIG_MSM_RMNET_WWAN=y -CONFIG_ECM_IPA=y -# CONFIG_NET_VENDOR_NATSEMI is not set -# CONFIG_NET_VENDOR_SEEQ is not set -# CONFIG_NET_VENDOR_SMSC is not set -# CONFIG_NET_VENDOR_STMICRO is not set -CONFIG_ATH6K_LEGACY_EXT=y -# CONFIG_INPUT_MOUSEDEV is not set -CONFIG_INPUT_EVDEV=y -CONFIG_INPUT_KEYBOARD=y -CONFIG_KEYBOARD_GPIO=y -CONFIG_OF=y -# CONFIG_INPUT_MOUSE is not set -CONFIG_INPUT_MISC=y -CONFIG_INPUT_UINPUT=y -CONFIG_INPUT_GPIO=m -CONFIG_SERIO_LIBPS2=y -# CONFIG_LEGACY_PTYS is not set -CONFIG_SERIAL_MSM_HS=y -CONFIG_SERIAL_MSM_HSL=y -CONFIG_SERIAL_MSM_HSL_CONSOLE=y -CONFIG_DIAG_CHAR=y -CONFIG_HW_RANDOM=y -CONFIG_HW_RANDOM_MSM=y -CONFIG_I2C=y -CONFIG_I2C_CHARDEV=y -CONFIG_I2C_QUP=y -CONFIG_SPI=y -CONFIG_SPI_QUP=y -CONFIG_SPI_SPIDEV=m -CONFIG_SPMI=y -CONFIG_SPMI_MSM_PMIC_ARB=y -CONFIG_MSM_QPNP_INT=y -CONFIG_DEBUG_GPIO=y -CONFIG_GPIO_SYSFS=y -CONFIG_GPIO_QPNP_PIN=y -CONFIG_GPIO_QPNP_PIN_DEBUG=y -CONFIG_POWER_SUPPLY=y -CONFIG_MP2617_CHARGER=y -CONFIG_SENSORS_QPNP_ADC_VOLTAGE=y -CONFIG_THERMAL=y -CONFIG_THERMAL_TSENS8974=y -CONFIG_THERMAL_QPNP_ADC_TM=y -CONFIG_THERMAL_MONITOR=y -CONFIG_WCD9320_CODEC=n -CONFIG_REGULATOR=y -CONFIG_REGULATOR_FIXED_VOLTAGE=y -CONFIG_REGULATOR_QPNP=y -CONFIG_ION=y -CONFIG_ION_MSM=y -CONFIG_SOUND=n -CONFIG_SND=n -CONFIG_SND_SOC=n -CONFIG_SND_SOC_MDM9625=n -CONFIG_USB=y -CONFIG_USB_ANNOUNCE_NEW_DEVICES=y -CONFIG_USB_SUSPEND=y -CONFIG_USB_EHCI_HCD=y -CONFIG_USB_EHCI_EHSET=y -CONFIG_USB_EHCI_MSM=y -CONFIG_USB_EHCI_MSM_HSIC=y -CONFIG_USB_STORAGE=y -CONFIG_USB_STORAGE_DEBUG=y -CONFIG_USB_STORAGE_DATAFAB=y -CONFIG_USB_STORAGE_FREECOM=y -CONFIG_USB_STORAGE_ISD200=y -CONFIG_USB_STORAGE_USBAT=y -CONFIG_USB_STORAGE_SDDR09=y -CONFIG_USB_STORAGE_SDDR55=y -CONFIG_USB_STORAGE_JUMPSHOT=y -CONFIG_USB_STORAGE_ALAUDA=y -CONFIG_USB_STORAGE_ONETOUCH=y -CONFIG_USB_STORAGE_KARMA=y -CONFIG_USB_STORAGE_CYPRESS_ATACB=y -CONFIG_USB_EHSET_TEST_FIXTURE=y -CONFIG_USB_GADGET=y -CONFIG_USB_GADGET_DEBUG_FILES=y -CONFIG_USB_CI13XXX_MSM=y -CONFIG_USB_G_ANDROID=y -CONFIG_MMC=y -CONFIG_MMC_PERF_PROFILING=y -CONFIG_MMC_UNSAFE_RESUME=y -CONFIG_MMC_CLKGATE=y -CONFIG_MMC_EMBEDDED_SDIO=y -CONFIG_MMC_PARANOID_SD_INIT=y -CONFIG_MMC_BLOCK_MINORS=32 -CONFIG_MMC_TEST=m -CONFIG_MMC_MSM=y -CONFIG_MMC_MSM_SPS_SUPPORT=y -CONFIG_RTC_CLASS=y -# CONFIG_RTC_DRV_MSM is not set -CONFIG_RTC_DRV_QPNP=y -CONFIG_STAGING=y -CONFIG_ANDROID=y -CONFIG_ANDROID_LOGGER=y -CONFIG_SPS=y -CONFIG_USB_BAM=y -CONFIG_SPS_SUPPORT_BAMDMA=y -CONFIG_SPS_SUPPORT_NDP_BAM=y -CONFIG_QPNP_POWER_ON=y -CONFIG_IPA=y -CONFIG_CORESIGHT=y -CONFIG_CORESIGHT_TMC=y -CONFIG_CORESIGHT_TPIU=y -CONFIG_CORESIGHT_FUNNEL=y -CONFIG_CORESIGHT_REPLICATOR=y -CONFIG_CORESIGHT_STM=y -CONFIG_CORESIGHT_HWEVENT=y -CONFIG_CORESIGHT_ETM=y -CONFIG_CORESIGHT_EVENT=m -CONFIG_EXT3_FS=y -CONFIG_FUSE_FS=y -CONFIG_VFAT_FS=y -CONFIG_TMPFS=y -CONFIG_YAFFS_FS=y -CONFIG_YAFFS_DISABLE_TAGS_ECC=y -CONFIG_NLS_CODEPAGE_437=y -CONFIG_NLS_ASCII=y -CONFIG_NLS_ISO8859_1=y -CONFIG_PRINTK_TIME=y -CONFIG_MAGIC_SYSRQ=y -CONFIG_SCHEDSTATS=y -CONFIG_TIMER_STATS=y -# CONFIG_DEBUG_PREEMPT is not set -CONFIG_DEBUG_INFO=y -CONFIG_DEBUG_MEMORY_INIT=y -CONFIG_ENABLE_DEFAULT_TRACERS=y -CONFIG_DYNAMIC_DEBUG=y -CONFIG_OOPS_LOG_BUFFER=y -CONFIG_OOPS_LOG_BUF_SHIFT=14 -CONFIG_DEBUG_USER=y -CONFIG_KEYS=y -CONFIG_CRYPTO_AUTHENC=y -CONFIG_CRYPTO_CBC=y -CONFIG_CRYPTO_HMAC=y -CONFIG_CRYPTO_MD4=y -CONFIG_CRYPTO_MD5=y -CONFIG_CRYPTO_SHA1=y -CONFIG_CRYPTO_SHA256=y -CONFIG_CRYPTO_AES=y -CONFIG_CRYPTO_ARC4=y -CONFIG_CRYPTO_DES=y -CONFIG_CRYPTO_TWOFISH=y -CONFIG_CRYPTO_DEFLATE=y -CONFIG_CRC_CCITT=y -CONFIG_LIBCRC32C=y -# TP-LINK CONFIG -CONFIG_TPLINK_PMIC_EXT=y -CONFIG_OLED=y -CONFIG_OLED_S90319_PT=y -CONFIG_TPLINK_PRODUCT_M7350_UN_V3=y -# [chenchao] Export pm wakelocks to userspace -CONFIG_PM_WAKELOCKS=y diff --git a/kernel/arch/arm/configs/msm9625-perf_defconfig b/kernel/arch/arm/configs/msm9625-perf_defconfig old mode 100755 new mode 100644 index e60ebf731..44294ba3b --- a/kernel/arch/arm/configs/msm9625-perf_defconfig +++ b/kernel/arch/arm/configs/msm9625-perf_defconfig @@ -226,8 +226,7 @@ CONFIG_GPIO_SYSFS=y CONFIG_GPIO_QPNP_PIN=y CONFIG_GPIO_QPNP_PIN_DEBUG=y CONFIG_POWER_SUPPLY=y -CONFIG_MP2617_CHARGER=y -CONFIG_POWER_BANK_DETECT_SUPPORT=y +CONFIG_SMB137C_CHARGER=y CONFIG_SENSORS_QPNP_ADC_VOLTAGE=y CONFIG_THERMAL=y CONFIG_THERMAL_TSENS8974=y @@ -304,8 +303,6 @@ CONFIG_DEBUG_INFO=y CONFIG_DEBUG_MEMORY_INIT=y CONFIG_ENABLE_DEFAULT_TRACERS=y CONFIG_DYNAMIC_DEBUG=y -CONFIG_OOPS_LOG_BUFFER=y -CONFIG_OOPS_LOG_BUF_SHIFT=14 CONFIG_DEBUG_USER=y CONFIG_KEYS=y CONFIG_CRYPTO_AUTHENC=y @@ -327,6 +324,3 @@ CONFIG_CRC_CCITT=y CONFIG_LIBCRC32C=y CONFIG_DEVMEM=n CONFIG_DEVKMEM=n - -# TP-LINK CONFIG -CONFIG_TPLINK_PMIC_EXT=y diff --git a/kernel/arch/arm/configs/msm9625_defconfig b/kernel/arch/arm/configs/msm9625_defconfig old mode 100755 new mode 100644 index ed7423b3f..c38641fa2 --- a/kernel/arch/arm/configs/msm9625_defconfig +++ b/kernel/arch/arm/configs/msm9625_defconfig @@ -111,7 +111,6 @@ CONFIG_NETFILTER_XT_MARK=y CONFIG_NETFILTER_XT_CONNMARK=y CONFIG_NETFILTER_XT_TARGET_LOG=y CONFIG_NETFILTER_XT_TARGET_TRACE=y -CONFIG_NETFILTER_XT_TARGET_TCPMSS=y CONFIG_NETFILTER_XT_MATCH_ADDRTYPE=y CONFIG_NETFILTER_XT_MATCH_CONNLIMIT=y CONFIG_NETFILTER_XT_MATCH_CONNTRACK=y @@ -192,8 +191,7 @@ CONFIG_NETDEVICES=y # CONFIG_NET_VENDOR_CIRRUS is not set # CONFIG_NET_VENDOR_FARADAY is not set # CONFIG_NET_VENDOR_INTEL is not set -# [linyunfeng] Not support ethernet KS8851 -# CONFIG_KS8851=y +CONFIG_KS8851=y # CONFIG_NET_VENDOR_MICROCHIP is not set # CONFIG_MSM_RMNET is not set CONFIG_MSM_RMNET_WWAN=y @@ -205,9 +203,7 @@ CONFIG_ECM_IPA=y CONFIG_ATH6K_LEGACY_EXT=y # CONFIG_INPUT_MOUSEDEV is not set CONFIG_INPUT_EVDEV=y -CONFIG_INPUT_KEYBOARD=y -CONFIG_KEYBOARD_GPIO=y -CONFIG_OF=y +# CONFIG_INPUT_KEYBOARD is not set # CONFIG_INPUT_MOUSE is not set CONFIG_INPUT_MISC=y CONFIG_INPUT_UINPUT=y @@ -234,22 +230,22 @@ CONFIG_GPIO_SYSFS=y CONFIG_GPIO_QPNP_PIN=y CONFIG_GPIO_QPNP_PIN_DEBUG=y CONFIG_POWER_SUPPLY=y -CONFIG_MP2617_CHARGER=y +CONFIG_SMB137C_CHARGER=y CONFIG_SENSORS_QPNP_ADC_VOLTAGE=y CONFIG_THERMAL=y CONFIG_THERMAL_TSENS8974=y CONFIG_THERMAL_QPNP_ADC_TM=y CONFIG_THERMAL_MONITOR=y -CONFIG_WCD9320_CODEC=n +CONFIG_WCD9320_CODEC=y CONFIG_REGULATOR=y CONFIG_REGULATOR_FIXED_VOLTAGE=y CONFIG_REGULATOR_QPNP=y CONFIG_ION=y CONFIG_ION_MSM=y -CONFIG_SOUND=n -CONFIG_SND=n -CONFIG_SND_SOC=n -CONFIG_SND_SOC_MDM9625=n +CONFIG_SOUND=y +CONFIG_SND=y +CONFIG_SND_SOC=y +CONFIG_SND_SOC_MDM9625=y CONFIG_USB=y CONFIG_USB_ANNOUNCE_NEW_DEVICES=y CONFIG_USB_SUSPEND=y @@ -288,9 +284,6 @@ CONFIG_MMC_MSM_SPS_SUPPORT=y CONFIG_RTC_CLASS=y # CONFIG_RTC_DRV_MSM is not set CONFIG_RTC_DRV_QPNP=y -CONFIG_STAGING=y -CONFIG_ANDROID=y -CONFIG_ANDROID_LOGGER=y CONFIG_SPS=y CONFIG_USB_BAM=y CONFIG_SPS_SUPPORT_BAMDMA=y @@ -307,7 +300,6 @@ CONFIG_CORESIGHT_HWEVENT=y CONFIG_CORESIGHT_ETM=y CONFIG_CORESIGHT_EVENT=m CONFIG_EXT3_FS=y -CONFIG_FUSE_FS=y CONFIG_VFAT_FS=y CONFIG_TMPFS=y CONFIG_YAFFS_FS=y @@ -324,8 +316,6 @@ CONFIG_DEBUG_INFO=y CONFIG_DEBUG_MEMORY_INIT=y CONFIG_ENABLE_DEFAULT_TRACERS=y CONFIG_DYNAMIC_DEBUG=y -CONFIG_OOPS_LOG_BUFFER=y -CONFIG_OOPS_LOG_BUF_SHIFT=14 CONFIG_DEBUG_USER=y CONFIG_KEYS=y CONFIG_CRYPTO_AUTHENC=y @@ -342,10 +332,3 @@ CONFIG_CRYPTO_TWOFISH=y CONFIG_CRYPTO_DEFLATE=y CONFIG_CRC_CCITT=y CONFIG_LIBCRC32C=y -# TP-LINK CONFIG -CONFIG_TPLINK_PMIC_EXT=y -CONFIG_OLED=y -CONFIG_OLED_S90319_PT=y -CONFIG_TPLINK_PRODUCT_M7350_UN_V2=y -# [chenchao] Export pm wakelocks to userspace -CONFIG_PM_WAKELOCKS=y diff --git a/kernel/arch/arm/configs/tr961-2500l-mobile-unicom-v1-perf_defconfig b/kernel/arch/arm/configs/tr961-2500l-mobile-unicom-v1-perf_defconfig deleted file mode 100644 index 2ea52504d..000000000 --- a/kernel/arch/arm/configs/tr961-2500l-mobile-unicom-v1-perf_defconfig +++ /dev/null @@ -1,340 +0,0 @@ -# CONFIG_ARM_PATCH_PHYS_VIRT is not set -CONFIG_EXPERIMENTAL=y -# CONFIG_LOCALVERSION_AUTO is not set -CONFIG_SYSVIPC=y -CONFIG_IKCONFIG=y -CONFIG_IKCONFIG_PROC=y -CONFIG_CGROUPS=y -CONFIG_CGROUP_DEBUG=y -CONFIG_CGROUP_FREEZER=y -CONFIG_CGROUP_CPUACCT=y -CONFIG_RESOURCE_COUNTERS=y -CONFIG_CGROUP_SCHED=y -# CONFIG_FAIR_GROUP_SCHED is not set -CONFIG_RT_GROUP_SCHED=y -CONFIG_NAMESPACES=y -# CONFIG_UTS_NS is not set -# CONFIG_IPC_NS is not set -# CONFIG_USER_NS is not set -# CONFIG_PID_NS is not set -CONFIG_RELAY=y -CONFIG_BLK_DEV_INITRD=y -CONFIG_RD_BZIP2=y -CONFIG_RD_LZMA=y -CONFIG_CC_OPTIMIZE_FOR_SIZE=y -CONFIG_PANIC_TIMEOUT=5 -CONFIG_KALLSYMS_ALL=y -CONFIG_EMBEDDED=y -# CONFIG_SLUB_DEBUG is not set -CONFIG_PROFILING=y -CONFIG_OPROFILE=m -CONFIG_MODULES=y -CONFIG_MODULE_UNLOAD=y -CONFIG_MODULE_FORCE_UNLOAD=y -CONFIG_PARTITION_ADVANCED=y -CONFIG_ARCH_MSM=y -CONFIG_ARCH_MSM9625=y -# CONFIG_MSM_STACKED_MEMORY is not set -# CONFIG_MSM_FIQ_SUPPORT is not set -# CONFIG_MSM_PROC_COMM is not set -CONFIG_MSM_SMD=y -CONFIG_MSM_SMD_PKG4=y -CONFIG_MSM_BAM_DMUX=y -CONFIG_MSM_SMP2P=y -CONFIG_MSM_SMP2P_TEST=y -CONFIG_MSM_IPC_LOGGING=y -CONFIG_MSM_IPC_ROUTER=y -CONFIG_MSM_IPC_ROUTER_SMD_XPRT=y -CONFIG_MSM_RPM_REGULATOR_SMD=y -CONFIG_MSM_SUBSYSTEM_RESTART=y -CONFIG_MSM_PIL=y -CONFIG_MSM_PIL_MSS_QDSP6V5=y -CONFIG_MSM_DIRECT_SCLK_ACCESS=y -CONFIG_MSM_BUS_SCALING=y -CONFIG_MSM_WATCHDOG_V2=y -CONFIG_MSM_MEMORY_DUMP=y -CONFIG_MSM_DLOAD_MODE=y -CONFIG_MSM_ADSP_LOADER=m -CONFIG_MSM_ENABLE_WDOG_DEBUG_CONTROL=y -CONFIG_MSM_UARTDM_Core_v14=y -CONFIG_MSM_BOOT_STATS=y -CONFIG_NO_HZ=y -CONFIG_HIGH_RES_TIMERS=y -CONFIG_ARM_ARCH_TIMER=y -CONFIG_PREEMPT=y -CONFIG_AEABI=y -CONFIG_HIGHMEM=y -CONFIG_USE_OF=y -CONFIG_CPU_FREQ=y -CONFIG_CPU_FREQ_GOV_POWERSAVE=y -CONFIG_CPU_FREQ_GOV_USERSPACE=y -CONFIG_CPU_FREQ_GOV_ONDEMAND=y -CONFIG_CPU_FREQ_GOV_CONSERVATIVE=y -CONFIG_CPU_IDLE=y -CONFIG_VFP=y -CONFIG_NEON=y -# CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set -CONFIG_PM_AUTOSLEEP=y -CONFIG_PM_RUNTIME=y -CONFIG_NET=y -CONFIG_PACKET=y -CONFIG_UNIX=y -CONFIG_INET=y -CONFIG_IP_MULTICAST=y -CONFIG_IP_ADVANCED_ROUTER=y -CONFIG_IP_MULTIPLE_TABLES=y -CONFIG_IP_MROUTE=y -CONFIG_IP_PIMSM_V2=y -CONFIG_IPV6=y -CONFIG_IPV6_MULTIPLE_TABLES=y -CONFIG_IPV6_SUBTREES=y -CONFIG_NETFILTER=y -CONFIG_NETFILTER_DEBUG=y -CONFIG_NETFILTER_NETLINK_QUEUE=y -CONFIG_NETFILTER_NETLINK_LOG=y -CONFIG_NF_CONNTRACK=y -CONFIG_NF_CONNTRACK_EVENTS=y -CONFIG_NF_CONNTRACK_TIMESTAMP=y -CONFIG_NF_CT_PROTO_UDPLITE=y -CONFIG_NF_CONNTRACK_AMANDA=y -CONFIG_NF_CONNTRACK_FTP=y -CONFIG_NF_CONNTRACK_H323=y -CONFIG_NF_CONNTRACK_IRC=y -CONFIG_NF_CONNTRACK_NETBIOS_NS=y -CONFIG_NF_CONNTRACK_SNMP=y -CONFIG_NF_CONNTRACK_PPTP=y -CONFIG_NF_CONNTRACK_SIP=y -CONFIG_NF_CONNTRACK_TFTP=y -CONFIG_NF_CT_NETLINK=y -CONFIG_NETFILTER_XT_MARK=y -CONFIG_NETFILTER_XT_CONNMARK=y -CONFIG_NETFILTER_XT_TARGET_TCPMSS=y -CONFIG_NETFILTER_XT_MATCH_ADDRTYPE=y -CONFIG_NETFILTER_XT_MATCH_CONNLIMIT=y -CONFIG_NETFILTER_XT_MATCH_CONNTRACK=y -CONFIG_NETFILTER_XT_MATCH_DSCP=y -CONFIG_NETFILTER_XT_MATCH_ESP=y -CONFIG_NETFILTER_XT_MATCH_IPRANGE=y -CONFIG_NETFILTER_XT_MATCH_MULTIPORT=y -CONFIG_NETFILTER_XT_MATCH_PHYSDEV=y -CONFIG_NETFILTER_XT_MATCH_PKTTYPE=y -CONFIG_NETFILTER_XT_MATCH_STRING=y -CONFIG_IP_SET=y -CONFIG_NF_CONNTRACK_IPV4=y -CONFIG_IP_NF_IPTABLES=y -CONFIG_NETFILTER_XTABLES=y -CONFIG_NETFILTER_XT_MATCH_STATE=y -CONFIG_IP_NF_MATCH_AH=y -CONFIG_IP_NF_MATCH_ECN=y -CONFIG_IP_NF_MATCH_TTL=y -CONFIG_IP_NF_FILTER=y -CONFIG_IP_NF_TARGET_REJECT=y -CONFIG_IP_NF_TARGET_REJECT_SKERR=y -CONFIG_IP_NF_TARGET_ULOG=y -CONFIG_NF_NAT=y -CONFIG_IP_NF_TARGET_MASQUERADE=y -CONFIG_IP_NF_TARGET_NATTYPE_MODULE=y -CONFIG_IP_NF_TARGET_NETMAP=y -CONFIG_IP_NF_TARGET_REDIRECT=y -CONFIG_IP_NF_MANGLE=y -CONFIG_IP_NF_TARGET_ECN=y -CONFIG_IP_NF_TARGET_TTL=y -CONFIG_IP_NF_RAW=y -CONFIG_NF_CONNTRACK_IPV6=y -CONFIG_IP6_NF_IPTABLES=y -CONFIG_IP6_NF_MATCH_AH=y -CONFIG_IP6_NF_MATCH_FRAG=y -CONFIG_IP6_NF_MATCH_OPTS=y -CONFIG_IP6_NF_MATCH_HL=y -CONFIG_IP6_NF_MATCH_IPV6HEADER=y -CONFIG_IP6_NF_MATCH_MH=y -CONFIG_IP6_NF_MATCH_RT=y -CONFIG_IP6_NF_FILTER=y -CONFIG_IP6_NF_TARGET_REJECT=y -CONFIG_IP6_NF_TARGET_REJECT_SKERR=y -CONFIG_IP6_NF_MANGLE=y -CONFIG_IP6_NF_RAW=y -CONFIG_BRIDGE_NF_EBTABLES=y -CONFIG_BRIDGE_EBT_BROUTE=y -CONFIG_BRIDGE_EBT_T_FILTER=y -CONFIG_BRIDGE_EBT_IP=y -CONFIG_BRIDGE_EBT_IP6=y -CONFIG_BRIDGE=y -CONFIG_NET_SCHED=y -CONFIG_NET_SCH_HTB=y -CONFIG_NET_SCH_PRIO=y -CONFIG_NET_CLS_FW=y -CONFIG_CFG80211=m -CONFIG_NL80211_TESTMODE=y -CONFIG_MTD=y -CONFIG_MTD_CMDLINE_PARTS=y -CONFIG_MTD_OF_PARTS=y -CONFIG_MTD_CHAR=y -CONFIG_MTD_BLOCK=y -# CONFIG_MTD_MSM_NAND is not set -CONFIG_MTD_MSM_QPIC_NAND=y -CONFIG_BLK_DEV_LOOP=y -CONFIG_BLK_DEV_RAM=y -CONFIG_SCSI=y -CONFIG_SCSI_TGT=y -CONFIG_BLK_DEV_SD=y -CONFIG_CHR_DEV_SG=y -CONFIG_CHR_DEV_SCH=y -CONFIG_SCSI_MULTI_LUN=y -CONFIG_SCSI_CONSTANTS=y -CONFIG_SCSI_LOGGING=y -CONFIG_SCSI_SCAN_ASYNC=y -CONFIG_NETDEVICES=y -# CONFIG_NET_VENDOR_BROADCOM is not set -# CONFIG_NET_VENDOR_CIRRUS is not set -# CONFIG_NET_VENDOR_FARADAY is not set -# CONFIG_NET_VENDOR_INTEL is not set -# [linyunfeng] Not support ethernet KS8851 -# CONFIG_KS8851=y -# CONFIG_NET_VENDOR_MICROCHIP is not set -# CONFIG_MSM_RMNET is not set -CONFIG_MSM_RMNET_WWAN=y -CONFIG_ECM_IPA=y -# CONFIG_NET_VENDOR_NATSEMI is not set -# CONFIG_NET_VENDOR_SEEQ is not set -# CONFIG_NET_VENDOR_SMSC is not set -# CONFIG_NET_VENDOR_STMICRO is not set -CONFIG_ATH6K_LEGACY_EXT=y -# CONFIG_INPUT_MOUSEDEV is not set -CONFIG_INPUT_EVDEV=y -CONFIG_INPUT_KEYBOARD=y -CONFIG_KEYBOARD_GPIO=y -CONFIG_OF=y -# CONFIG_INPUT_MOUSE is not set -CONFIG_INPUT_MISC=y -CONFIG_INPUT_UINPUT=y -CONFIG_INPUT_GPIO=m -CONFIG_SERIO_LIBPS2=y -# CONFIG_LEGACY_PTYS is not set -CONFIG_SERIAL_MSM_HS=y -CONFIG_SERIAL_MSM_HSL=y -CONFIG_DIAG_CHAR=y -CONFIG_HW_RANDOM=y -CONFIG_HW_RANDOM_MSM=y -CONFIG_I2C=y -CONFIG_I2C_CHARDEV=y -CONFIG_I2C_QUP=y -CONFIG_MSM_BUSPM_DEV=m -CONFIG_SPI=y -CONFIG_SPI_QUP=y -CONFIG_SPI_SPIDEV=m -CONFIG_SPMI=y -CONFIG_SPMI_MSM_PMIC_ARB=y -CONFIG_MSM_QPNP_INT=y -CONFIG_DEBUG_GPIO=y -CONFIG_GPIO_SYSFS=y -CONFIG_GPIO_QPNP_PIN=y -CONFIG_GPIO_QPNP_PIN_DEBUG=y -CONFIG_POWER_SUPPLY=y -CONFIG_MP2617_CHARGER=y -CONFIG_SENSORS_QPNP_ADC_VOLTAGE=y -CONFIG_THERMAL=y -CONFIG_THERMAL_TSENS8974=y -CONFIG_THERMAL_QPNP_ADC_TM=y -CONFIG_THERMAL_MONITOR=y -CONFIG_WCD9320_CODEC=n -CONFIG_REGULATOR=y -CONFIG_REGULATOR_FIXED_VOLTAGE=y -CONFIG_REGULATOR_QPNP=y -CONFIG_ION=y -CONFIG_ION_MSM=y -CONFIG_SOUND=n -CONFIG_SND=n -CONFIG_SND_SOC=n -CONFIG_SND_SOC_MDM9625=n -CONFIG_USB=y -CONFIG_USB_ANNOUNCE_NEW_DEVICES=y -CONFIG_USB_SUSPEND=y -CONFIG_USB_EHCI_HCD=y -CONFIG_USB_EHCI_EHSET=y -CONFIG_USB_EHCI_MSM=y -CONFIG_USB_EHCI_MSM_HSIC=y -CONFIG_USB_STORAGE=y -CONFIG_USB_STORAGE_DEBUG=y -CONFIG_USB_STORAGE_DATAFAB=y -CONFIG_USB_STORAGE_FREECOM=y -CONFIG_USB_STORAGE_ISD200=y -CONFIG_USB_STORAGE_USBAT=y -CONFIG_USB_STORAGE_SDDR09=y -CONFIG_USB_STORAGE_SDDR55=y -CONFIG_USB_STORAGE_JUMPSHOT=y -CONFIG_USB_STORAGE_ALAUDA=y -CONFIG_USB_STORAGE_ONETOUCH=y -CONFIG_USB_STORAGE_KARMA=y -CONFIG_USB_STORAGE_CYPRESS_ATACB=y -CONFIG_USB_EHSET_TEST_FIXTURE=y -CONFIG_USB_GADGET=y -CONFIG_USB_GADGET_DEBUG_FILES=y -CONFIG_USB_CI13XXX_MSM=y -CONFIG_USB_G_ANDROID=y -CONFIG_MMC=y -CONFIG_MMC_PERF_PROFILING=y -CONFIG_MMC_UNSAFE_RESUME=y -CONFIG_MMC_CLKGATE=y -CONFIG_MMC_EMBEDDED_SDIO=y -CONFIG_MMC_PARANOID_SD_INIT=y -CONFIG_MMC_BLOCK_MINORS=32 -CONFIG_MMC_TEST=m -CONFIG_MMC_MSM=y -CONFIG_MMC_MSM_SPS_SUPPORT=y -CONFIG_RTC_CLASS=y -# CONFIG_RTC_DRV_MSM is not set -CONFIG_RTC_DRV_QPNP=y -CONFIG_SPS=y -CONFIG_USB_BAM=y -CONFIG_SPS_SUPPORT_BAMDMA=y -CONFIG_SPS_SUPPORT_NDP_BAM=y -CONFIG_QPNP_POWER_ON=y -CONFIG_IPA=y -CONFIG_EXT3_FS=y -CONFIG_VFAT_FS=y -CONFIG_TMPFS=y -CONFIG_YAFFS_FS=y -CONFIG_YAFFS_DISABLE_TAGS_ECC=y -CONFIG_NLS_CODEPAGE_437=y -CONFIG_NLS_ASCII=y -CONFIG_NLS_ISO8859_1=y -CONFIG_PRINTK_TIME=y -CONFIG_MAGIC_SYSRQ=y -CONFIG_SCHEDSTATS=y -CONFIG_TIMER_STATS=y -# CONFIG_DEBUG_PREEMPT is not set -CONFIG_DEBUG_INFO=y -CONFIG_DEBUG_MEMORY_INIT=y -CONFIG_ENABLE_DEFAULT_TRACERS=y -CONFIG_DYNAMIC_DEBUG=y -CONFIG_OOPS_LOG_BUFFER=y -CONFIG_OOPS_LOG_BUF_SHIFT=14 -CONFIG_DEBUG_USER=y -CONFIG_KEYS=y -CONFIG_CRYPTO_AUTHENC=y -CONFIG_CRYPTO_CBC=y -CONFIG_CRYPTO_HMAC=y -CONFIG_CRYPTO_MD4=y -CONFIG_CRYPTO_MD5=y -CONFIG_CRYPTO_SHA1=y -CONFIG_CRYPTO_SHA256=y -CONFIG_CRYPTO_AES=y -CONFIG_CRYPTO_ARC4=y -CONFIG_CRYPTO_DES=y -CONFIG_CRYPTO_TWOFISH=y -CONFIG_CRYPTO_DEFLATE=y -CONFIG_CRYPTO_DEV_QCRYPTO=m -CONFIG_CRYPTO_DEV_QCE=m -CONFIG_CRYPTO_DEV_QCEDEV=m -CONFIG_CRC_CCITT=y -CONFIG_LIBCRC32C=y -CONFIG_DEVMEM=n -CONFIG_DEVKMEM=n -# TP-LINK CONFIG -CONFIG_TPLINK_PMIC_EXT=y -CONFIG_OLED=y -CONFIG_OLED_S90319_PT=y -CONFIG_TPLINK_PRODUCT_TR961_2500L_MOBILE_UNICOM_V1=y -# [chenchao] Export pm wakelocks to userspace -CONFIG_PM_WAKELOCKS=y diff --git a/kernel/arch/arm/configs/tr961-2500l-mobile-unicom-v1_defconfig b/kernel/arch/arm/configs/tr961-2500l-mobile-unicom-v1_defconfig deleted file mode 100644 index 74266330c..000000000 --- a/kernel/arch/arm/configs/tr961-2500l-mobile-unicom-v1_defconfig +++ /dev/null @@ -1,352 +0,0 @@ -# CONFIG_ARM_PATCH_PHYS_VIRT is not set -CONFIG_EXPERIMENTAL=y -# CONFIG_LOCALVERSION_AUTO is not set -CONFIG_SYSVIPC=y -CONFIG_IKCONFIG=y -CONFIG_IKCONFIG_PROC=y -CONFIG_CGROUPS=y -CONFIG_CGROUP_DEBUG=y -CONFIG_CGROUP_FREEZER=y -CONFIG_CGROUP_CPUACCT=y -CONFIG_RESOURCE_COUNTERS=y -CONFIG_CGROUP_SCHED=y -# CONFIG_FAIR_GROUP_SCHED is not set -CONFIG_RT_GROUP_SCHED=y -CONFIG_NAMESPACES=y -# CONFIG_UTS_NS is not set -# CONFIG_IPC_NS is not set -# CONFIG_USER_NS is not set -# CONFIG_PID_NS is not set -CONFIG_RELAY=y -CONFIG_BLK_DEV_INITRD=y -CONFIG_RD_BZIP2=y -CONFIG_RD_LZMA=y -CONFIG_CC_OPTIMIZE_FOR_SIZE=y -CONFIG_PANIC_TIMEOUT=5 -CONFIG_KALLSYMS_ALL=y -CONFIG_EMBEDDED=y -CONFIG_PROFILING=y -CONFIG_OPROFILE=m -CONFIG_MODULES=y -CONFIG_MODULE_UNLOAD=y -CONFIG_MODULE_FORCE_UNLOAD=y -CONFIG_PARTITION_ADVANCED=y -CONFIG_ARCH_MSM=y -CONFIG_ARCH_MSM9625=y -# CONFIG_MSM_STACKED_MEMORY is not set -# CONFIG_MSM_FIQ_SUPPORT is not set -# CONFIG_MSM_PROC_COMM is not set -CONFIG_MSM_SMD=y -CONFIG_MSM_SMD_PKG4=y -CONFIG_MSM_BAM_DMUX=y -CONFIG_MSM_SMP2P=y -CONFIG_MSM_SMP2P_TEST=y -CONFIG_MSM_IPC_LOGGING=y -CONFIG_MSM_IPC_ROUTER=y -CONFIG_MSM_IPC_ROUTER_SMD_XPRT=y -CONFIG_MSM_RPM_REGULATOR_SMD=y -CONFIG_MSM_SUBSYSTEM_RESTART=y -CONFIG_MSM_PIL=y -CONFIG_MSM_PIL_MSS_QDSP6V5=y -CONFIG_MSM_DIRECT_SCLK_ACCESS=y -CONFIG_MSM_BUS_SCALING=y -CONFIG_MSM_BUSPM_DEV=m -CONFIG_MSM_WATCHDOG_V2=y -CONFIG_MSM_MEMORY_DUMP=y -CONFIG_MSM_DLOAD_MODE=y -CONFIG_MSM_ADSP_LOADER=m -CONFIG_MSM_RTB=y -CONFIG_MSM_ENABLE_WDOG_DEBUG_CONTROL=y -CONFIG_MSM_UARTDM_Core_v14=y -CONFIG_MSM_BOOT_STATS=y -CONFIG_NO_HZ=y -CONFIG_HIGH_RES_TIMERS=y -CONFIG_ARM_ARCH_TIMER=y -CONFIG_PREEMPT=y -CONFIG_AEABI=y -CONFIG_HIGHMEM=y -CONFIG_USE_OF=y -CONFIG_CPU_FREQ=y -CONFIG_CPU_FREQ_GOV_POWERSAVE=y -CONFIG_CPU_FREQ_GOV_USERSPACE=y -CONFIG_CPU_FREQ_GOV_ONDEMAND=y -CONFIG_CPU_FREQ_GOV_CONSERVATIVE=y -CONFIG_CPU_IDLE=y -CONFIG_VFP=y -CONFIG_NEON=y -# CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set -CONFIG_PM_AUTOSLEEP=y -CONFIG_PM_RUNTIME=y -CONFIG_NET=y -CONFIG_PACKET=y -CONFIG_UNIX=y -CONFIG_INET=y -CONFIG_IP_MULTICAST=y -CONFIG_IP_ADVANCED_ROUTER=y -CONFIG_IP_MULTIPLE_TABLES=y -CONFIG_IP_MROUTE=y -CONFIG_IP_PIMSM_V2=y -CONFIG_IPV6=y -CONFIG_IPV6_MULTIPLE_TABLES=y -CONFIG_IPV6_SUBTREES=y -CONFIG_NETFILTER=y -CONFIG_NETFILTER_DEBUG=y -CONFIG_NETFILTER_NETLINK_QUEUE=y -CONFIG_NETFILTER_NETLINK_LOG=y -CONFIG_NF_CONNTRACK=y -CONFIG_NF_CONNTRACK_EVENTS=y -CONFIG_NF_CONNTRACK_TIMESTAMP=y -CONFIG_NF_CT_PROTO_UDPLITE=y -CONFIG_NF_CONNTRACK_AMANDA=y -CONFIG_NF_CONNTRACK_FTP=y -CONFIG_NF_CONNTRACK_H323=y -CONFIG_NF_CONNTRACK_IRC=y -CONFIG_NF_CONNTRACK_NETBIOS_NS=y -CONFIG_NF_CONNTRACK_SNMP=y -CONFIG_NF_CONNTRACK_PPTP=y -CONFIG_NF_CONNTRACK_SIP=y -CONFIG_NF_CONNTRACK_TFTP=y -CONFIG_NF_CT_NETLINK=y -CONFIG_NETFILTER_XT_MARK=y -CONFIG_NETFILTER_XT_CONNMARK=y -CONFIG_NETFILTER_XT_TARGET_LOG=y -CONFIG_NETFILTER_XT_TARGET_TRACE=y -CONFIG_NETFILTER_XT_TARGET_TCPMSS=y -CONFIG_NETFILTER_XT_MATCH_ADDRTYPE=y -CONFIG_NETFILTER_XT_MATCH_CONNLIMIT=y -CONFIG_NETFILTER_XT_MATCH_CONNTRACK=y -CONFIG_NETFILTER_XT_MATCH_DSCP=y -CONFIG_NETFILTER_XT_MATCH_ESP=y -CONFIG_NETFILTER_XT_MATCH_IPRANGE=y -CONFIG_NETFILTER_XT_MATCH_LIMIT=y -CONFIG_NETFILTER_XT_MATCH_MULTIPORT=y -CONFIG_NETFILTER_XT_MATCH_PHYSDEV=y -CONFIG_NETFILTER_XT_MATCH_PKTTYPE=y -CONFIG_NETFILTER_XT_MATCH_STRING=y -CONFIG_IP_SET=y -CONFIG_NF_CONNTRACK_IPV4=y -CONFIG_IP_NF_IPTABLES=y -CONFIG_NETFILTER_XTABLES=y -CONFIG_NETFILTER_XT_MATCH_STATE=y -CONFIG_IP_NF_MATCH_AH=y -CONFIG_IP_NF_MATCH_ECN=y -CONFIG_IP_NF_MATCH_TTL=y -CONFIG_IP_NF_FILTER=y -CONFIG_IP_NF_TARGET_REJECT=y -CONFIG_IP_NF_TARGET_REJECT_SKERR=y -CONFIG_IP_NF_TARGET_ULOG=y -CONFIG_NF_NAT=y -CONFIG_IP_NF_TARGET_MASQUERADE=y -CONFIG_IP_NF_TARGET_NATTYPE_MODULE=y -CONFIG_IP_NF_TARGET_NETMAP=y -CONFIG_IP_NF_TARGET_REDIRECT=y -CONFIG_IP_NF_MANGLE=y -CONFIG_IP_NF_TARGET_ECN=y -CONFIG_IP_NF_TARGET_TTL=y -CONFIG_IP_NF_RAW=y -CONFIG_NF_CONNTRACK_IPV6=y -CONFIG_IP6_NF_IPTABLES=y -CONFIG_IP6_NF_MATCH_AH=y -CONFIG_IP6_NF_MATCH_FRAG=y -CONFIG_IP6_NF_MATCH_OPTS=y -CONFIG_IP6_NF_MATCH_HL=y -CONFIG_IP6_NF_MATCH_IPV6HEADER=y -CONFIG_IP6_NF_MATCH_MH=y -CONFIG_IP6_NF_MATCH_RT=y -CONFIG_IP6_NF_FILTER=y -CONFIG_IP6_NF_TARGET_REJECT=y -CONFIG_IP6_NF_TARGET_REJECT_SKERR=y -CONFIG_IP6_NF_MANGLE=y -CONFIG_IP6_NF_RAW=y -CONFIG_BRIDGE_NF_EBTABLES=y -CONFIG_BRIDGE_EBT_BROUTE=y -CONFIG_BRIDGE_EBT_T_FILTER=y -CONFIG_BRIDGE_EBT_IP=y -CONFIG_BRIDGE_EBT_IP6=y -CONFIG_BRIDGE=y -CONFIG_NET_SCHED=y -CONFIG_NET_SCH_HTB=y -CONFIG_NET_SCH_PRIO=y -CONFIG_NET_CLS_FW=y -CONFIG_CFG80211=m -CONFIG_NL80211_TESTMODE=y -CONFIG_MTD=y -CONFIG_MTD_CMDLINE_PARTS=y -CONFIG_MTD_OF_PARTS=y -CONFIG_MTD_CHAR=y -CONFIG_MTD_BLOCK=y -# CONFIG_MTD_MSM_NAND is not set -CONFIG_MTD_MSM_QPIC_NAND=y -CONFIG_BLK_DEV_LOOP=y -CONFIG_BLK_DEV_RAM=y -CONFIG_SCSI=y -CONFIG_SCSI_TGT=y -CONFIG_BLK_DEV_SD=y -CONFIG_CHR_DEV_SG=y -CONFIG_CHR_DEV_SCH=y -CONFIG_SCSI_MULTI_LUN=y -CONFIG_SCSI_CONSTANTS=y -CONFIG_SCSI_LOGGING=y -CONFIG_SCSI_SCAN_ASYNC=y -CONFIG_NETDEVICES=y -# CONFIG_NET_VENDOR_BROADCOM is not set -# CONFIG_NET_VENDOR_CIRRUS is not set -# CONFIG_NET_VENDOR_FARADAY is not set -# CONFIG_NET_VENDOR_INTEL is not set -# [linyunfeng] Not support ethernet KS8851 -# CONFIG_KS8851=y -# CONFIG_NET_VENDOR_MICROCHIP is not set -# CONFIG_MSM_RMNET is not set -CONFIG_MSM_RMNET_WWAN=y -CONFIG_ECM_IPA=y -# CONFIG_NET_VENDOR_NATSEMI is not set -# CONFIG_NET_VENDOR_SEEQ is not set -# CONFIG_NET_VENDOR_SMSC is not set -# CONFIG_NET_VENDOR_STMICRO is not set -CONFIG_ATH6K_LEGACY_EXT=y -# CONFIG_INPUT_MOUSEDEV is not set -CONFIG_INPUT_EVDEV=y -CONFIG_INPUT_KEYBOARD=y -CONFIG_KEYBOARD_GPIO=y -CONFIG_OF=y -# CONFIG_INPUT_MOUSE is not set -CONFIG_INPUT_MISC=y -CONFIG_INPUT_UINPUT=y -CONFIG_INPUT_GPIO=m -CONFIG_SERIO_LIBPS2=y -# CONFIG_LEGACY_PTYS is not set -CONFIG_SERIAL_MSM_HS=y -CONFIG_SERIAL_MSM_HSL=y -CONFIG_SERIAL_MSM_HSL_CONSOLE=y -CONFIG_DIAG_CHAR=y -CONFIG_HW_RANDOM=y -CONFIG_HW_RANDOM_MSM=y -CONFIG_I2C=y -CONFIG_I2C_CHARDEV=y -CONFIG_I2C_QUP=y -CONFIG_SPI=y -CONFIG_SPI_QUP=y -CONFIG_SPI_SPIDEV=m -CONFIG_SPMI=y -CONFIG_SPMI_MSM_PMIC_ARB=y -CONFIG_MSM_QPNP_INT=y -CONFIG_DEBUG_GPIO=y -CONFIG_GPIO_SYSFS=y -CONFIG_GPIO_QPNP_PIN=y -CONFIG_GPIO_QPNP_PIN_DEBUG=y -CONFIG_POWER_SUPPLY=y -CONFIG_MP2617_CHARGER=y -CONFIG_SENSORS_QPNP_ADC_VOLTAGE=y -CONFIG_THERMAL=y -CONFIG_THERMAL_TSENS8974=y -CONFIG_THERMAL_QPNP_ADC_TM=y -CONFIG_THERMAL_MONITOR=y -CONFIG_WCD9320_CODEC=n -CONFIG_REGULATOR=y -CONFIG_REGULATOR_FIXED_VOLTAGE=y -CONFIG_REGULATOR_QPNP=y -CONFIG_ION=y -CONFIG_ION_MSM=y -CONFIG_SOUND=n -CONFIG_SND=n -CONFIG_SND_SOC=n -CONFIG_SND_SOC_MDM9625=n -CONFIG_USB=y -CONFIG_USB_ANNOUNCE_NEW_DEVICES=y -CONFIG_USB_SUSPEND=y -CONFIG_USB_EHCI_HCD=y -CONFIG_USB_EHCI_EHSET=y -CONFIG_USB_EHCI_MSM=y -CONFIG_USB_EHCI_MSM_HSIC=y -CONFIG_USB_STORAGE=y -CONFIG_USB_STORAGE_DEBUG=y -CONFIG_USB_STORAGE_DATAFAB=y -CONFIG_USB_STORAGE_FREECOM=y -CONFIG_USB_STORAGE_ISD200=y -CONFIG_USB_STORAGE_USBAT=y -CONFIG_USB_STORAGE_SDDR09=y -CONFIG_USB_STORAGE_SDDR55=y -CONFIG_USB_STORAGE_JUMPSHOT=y -CONFIG_USB_STORAGE_ALAUDA=y -CONFIG_USB_STORAGE_ONETOUCH=y -CONFIG_USB_STORAGE_KARMA=y -CONFIG_USB_STORAGE_CYPRESS_ATACB=y -CONFIG_USB_EHSET_TEST_FIXTURE=y -CONFIG_USB_GADGET=y -CONFIG_USB_GADGET_DEBUG_FILES=y -CONFIG_USB_CI13XXX_MSM=y -CONFIG_USB_G_ANDROID=y -CONFIG_MMC=y -CONFIG_MMC_PERF_PROFILING=y -CONFIG_MMC_UNSAFE_RESUME=y -CONFIG_MMC_CLKGATE=y -CONFIG_MMC_EMBEDDED_SDIO=y -CONFIG_MMC_PARANOID_SD_INIT=y -CONFIG_MMC_BLOCK_MINORS=32 -CONFIG_MMC_TEST=m -CONFIG_MMC_MSM=y -CONFIG_MMC_MSM_SPS_SUPPORT=y -CONFIG_RTC_CLASS=y -# CONFIG_RTC_DRV_MSM is not set -CONFIG_RTC_DRV_QPNP=y -CONFIG_STAGING=y -CONFIG_ANDROID=y -CONFIG_ANDROID_LOGGER=y -CONFIG_SPS=y -CONFIG_USB_BAM=y -CONFIG_SPS_SUPPORT_BAMDMA=y -CONFIG_SPS_SUPPORT_NDP_BAM=y -CONFIG_QPNP_POWER_ON=y -CONFIG_IPA=y -CONFIG_CORESIGHT=y -CONFIG_CORESIGHT_TMC=y -CONFIG_CORESIGHT_TPIU=y -CONFIG_CORESIGHT_FUNNEL=y -CONFIG_CORESIGHT_REPLICATOR=y -CONFIG_CORESIGHT_STM=y -CONFIG_CORESIGHT_HWEVENT=y -CONFIG_CORESIGHT_ETM=y -CONFIG_CORESIGHT_EVENT=m -CONFIG_EXT3_FS=y -CONFIG_FUSE_FS=y -CONFIG_VFAT_FS=y -CONFIG_TMPFS=y -CONFIG_YAFFS_FS=y -CONFIG_YAFFS_DISABLE_TAGS_ECC=y -CONFIG_NLS_CODEPAGE_437=y -CONFIG_NLS_ASCII=y -CONFIG_NLS_ISO8859_1=y -CONFIG_PRINTK_TIME=y -CONFIG_MAGIC_SYSRQ=y -CONFIG_SCHEDSTATS=y -CONFIG_TIMER_STATS=y -# CONFIG_DEBUG_PREEMPT is not set -CONFIG_DEBUG_INFO=y -CONFIG_DEBUG_MEMORY_INIT=y -CONFIG_ENABLE_DEFAULT_TRACERS=y -CONFIG_DYNAMIC_DEBUG=y -CONFIG_OOPS_LOG_BUFFER=y -CONFIG_OOPS_LOG_BUF_SHIFT=14 -CONFIG_DEBUG_USER=y -CONFIG_KEYS=y -CONFIG_CRYPTO_AUTHENC=y -CONFIG_CRYPTO_CBC=y -CONFIG_CRYPTO_HMAC=y -CONFIG_CRYPTO_MD4=y -CONFIG_CRYPTO_MD5=y -CONFIG_CRYPTO_SHA1=y -CONFIG_CRYPTO_SHA256=y -CONFIG_CRYPTO_AES=y -CONFIG_CRYPTO_ARC4=y -CONFIG_CRYPTO_DES=y -CONFIG_CRYPTO_TWOFISH=y -CONFIG_CRYPTO_DEFLATE=y -CONFIG_CRC_CCITT=y -CONFIG_LIBCRC32C=y -# TP-LINK CONFIG -CONFIG_TPLINK_PMIC_EXT=y -CONFIG_OLED=y -CONFIG_OLED_S90319_PT=y -CONFIG_TPLINK_PRODUCT_TR961_2500L_MOBILE_UNICOM_V1=y -# [chenchao] Export pm wakelocks to userspace -CONFIG_PM_WAKELOCKS=y diff --git a/kernel/arch/arm/configs/tr961-5200l-v1-perf_defconfig b/kernel/arch/arm/configs/tr961-5200l-v1-perf_defconfig deleted file mode 100644 index 004403c76..000000000 --- a/kernel/arch/arm/configs/tr961-5200l-v1-perf_defconfig +++ /dev/null @@ -1,344 +0,0 @@ -# CONFIG_ARM_PATCH_PHYS_VIRT is not set -CONFIG_EXPERIMENTAL=y -# CONFIG_LOCALVERSION_AUTO is not set -CONFIG_SYSVIPC=y -CONFIG_IKCONFIG=y -CONFIG_IKCONFIG_PROC=y -CONFIG_CGROUPS=y -CONFIG_CGROUP_DEBUG=y -CONFIG_CGROUP_FREEZER=y -CONFIG_CGROUP_CPUACCT=y -CONFIG_RESOURCE_COUNTERS=y -CONFIG_CGROUP_SCHED=y -# CONFIG_FAIR_GROUP_SCHED is not set -CONFIG_RT_GROUP_SCHED=y -CONFIG_NAMESPACES=y -# CONFIG_UTS_NS is not set -# CONFIG_IPC_NS is not set -# CONFIG_USER_NS is not set -# CONFIG_PID_NS is not set -CONFIG_RELAY=y -CONFIG_BLK_DEV_INITRD=y -CONFIG_RD_BZIP2=y -CONFIG_RD_LZMA=y -CONFIG_CC_OPTIMIZE_FOR_SIZE=y -CONFIG_PANIC_TIMEOUT=5 -CONFIG_KALLSYMS_ALL=y -CONFIG_EMBEDDED=y -# CONFIG_SLUB_DEBUG is not set -CONFIG_PROFILING=y -CONFIG_OPROFILE=m -CONFIG_MODULES=y -CONFIG_MODULE_UNLOAD=y -CONFIG_MODULE_FORCE_UNLOAD=y -CONFIG_PARTITION_ADVANCED=y -CONFIG_ARCH_MSM=y -CONFIG_ARCH_MSM9625=y -# CONFIG_MSM_STACKED_MEMORY is not set -# CONFIG_MSM_FIQ_SUPPORT is not set -# CONFIG_MSM_PROC_COMM is not set -CONFIG_MSM_SMD=y -CONFIG_MSM_SMD_PKG4=y -CONFIG_MSM_BAM_DMUX=y -CONFIG_MSM_SMP2P=y -CONFIG_MSM_SMP2P_TEST=y -CONFIG_MSM_IPC_LOGGING=y -CONFIG_MSM_IPC_ROUTER=y -CONFIG_MSM_IPC_ROUTER_SMD_XPRT=y -CONFIG_MSM_RPM_REGULATOR_SMD=y -CONFIG_MSM_SUBSYSTEM_RESTART=y -CONFIG_MSM_PIL=y -CONFIG_MSM_PIL_MSS_QDSP6V5=y -CONFIG_MSM_DIRECT_SCLK_ACCESS=y -CONFIG_MSM_BUS_SCALING=y -CONFIG_MSM_WATCHDOG_V2=y -CONFIG_MSM_MEMORY_DUMP=y -CONFIG_MSM_DLOAD_MODE=y -CONFIG_MSM_ADSP_LOADER=m -CONFIG_MSM_ENABLE_WDOG_DEBUG_CONTROL=y -CONFIG_MSM_UARTDM_Core_v14=y -CONFIG_MSM_BOOT_STATS=y -CONFIG_NO_HZ=y -CONFIG_HIGH_RES_TIMERS=y -CONFIG_ARM_ARCH_TIMER=y -CONFIG_PREEMPT=y -CONFIG_AEABI=y -CONFIG_HIGHMEM=y -CONFIG_USE_OF=y -CONFIG_CPU_FREQ=y -CONFIG_CPU_FREQ_GOV_POWERSAVE=y -CONFIG_CPU_FREQ_GOV_USERSPACE=y -CONFIG_CPU_FREQ_GOV_ONDEMAND=y -CONFIG_CPU_FREQ_GOV_CONSERVATIVE=y -CONFIG_CPU_IDLE=y -CONFIG_VFP=y -CONFIG_NEON=y -# CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set -CONFIG_PM_AUTOSLEEP=y -CONFIG_PM_RUNTIME=y -CONFIG_NET=y -CONFIG_PACKET=y -CONFIG_UNIX=y -CONFIG_INET=y -CONFIG_IP_MULTICAST=y -CONFIG_IP_ADVANCED_ROUTER=y -CONFIG_IP_MULTIPLE_TABLES=y -CONFIG_IP_MROUTE=y -CONFIG_IP_PIMSM_V2=y -CONFIG_IPV6=y -CONFIG_IPV6_MULTIPLE_TABLES=y -CONFIG_IPV6_SUBTREES=y -CONFIG_NETFILTER=y -CONFIG_NETFILTER_DEBUG=y -CONFIG_NETFILTER_NETLINK_QUEUE=y -CONFIG_NETFILTER_NETLINK_LOG=y -CONFIG_NF_CONNTRACK=y -CONFIG_NF_CONNTRACK_EVENTS=y -CONFIG_NF_CONNTRACK_TIMESTAMP=y -CONFIG_NF_CT_PROTO_UDPLITE=y -CONFIG_NF_CONNTRACK_AMANDA=y -CONFIG_NF_CONNTRACK_FTP=y -CONFIG_NF_CONNTRACK_H323=y -CONFIG_NF_CONNTRACK_IRC=y -CONFIG_NF_CONNTRACK_NETBIOS_NS=y -CONFIG_NF_CONNTRACK_SNMP=y -CONFIG_NF_CONNTRACK_PPTP=y -CONFIG_NF_CONNTRACK_SIP=y -CONFIG_NF_CONNTRACK_TFTP=y -CONFIG_NF_CT_NETLINK=y -CONFIG_NETFILTER_XT_MARK=y -CONFIG_NETFILTER_XT_CONNMARK=y -CONFIG_NETFILTER_XT_TARGET_TCPMSS=y -CONFIG_NETFILTER_XT_MATCH_ADDRTYPE=y -CONFIG_NETFILTER_XT_MATCH_CONNLIMIT=y -CONFIG_NETFILTER_XT_MATCH_CONNTRACK=y -CONFIG_NETFILTER_XT_MATCH_DSCP=y -CONFIG_NETFILTER_XT_MATCH_ESP=y -CONFIG_NETFILTER_XT_MATCH_IPRANGE=y -CONFIG_NETFILTER_XT_MATCH_MULTIPORT=y -CONFIG_NETFILTER_XT_MATCH_PHYSDEV=y -CONFIG_NETFILTER_XT_MATCH_PKTTYPE=y -CONFIG_NETFILTER_XT_MATCH_STRING=y -CONFIG_IP_SET=y -CONFIG_NF_CONNTRACK_IPV4=y -CONFIG_IP_NF_IPTABLES=y -CONFIG_NETFILTER_XTABLES=y -CONFIG_NETFILTER_XT_MATCH_STATE=y -CONFIG_IP_NF_MATCH_AH=y -CONFIG_IP_NF_MATCH_ECN=y -CONFIG_IP_NF_MATCH_TTL=y -CONFIG_IP_NF_FILTER=y -CONFIG_IP_NF_TARGET_REJECT=y -CONFIG_IP_NF_TARGET_REJECT_SKERR=y -CONFIG_IP_NF_TARGET_ULOG=y -CONFIG_NF_NAT=y -CONFIG_IP_NF_TARGET_MASQUERADE=y -CONFIG_IP_NF_TARGET_NATTYPE_MODULE=y -CONFIG_IP_NF_TARGET_NETMAP=y -CONFIG_IP_NF_TARGET_REDIRECT=y -CONFIG_IP_NF_MANGLE=y -CONFIG_IP_NF_TARGET_ECN=y -CONFIG_IP_NF_TARGET_TTL=y -CONFIG_IP_NF_RAW=y -CONFIG_NF_CONNTRACK_IPV6=y -CONFIG_IP6_NF_IPTABLES=y -CONFIG_IP6_NF_MATCH_AH=y -CONFIG_IP6_NF_MATCH_FRAG=y -CONFIG_IP6_NF_MATCH_OPTS=y -CONFIG_IP6_NF_MATCH_HL=y -CONFIG_IP6_NF_MATCH_IPV6HEADER=y -CONFIG_IP6_NF_MATCH_MH=y -CONFIG_IP6_NF_MATCH_RT=y -CONFIG_IP6_NF_FILTER=y -CONFIG_IP6_NF_TARGET_REJECT=y -CONFIG_IP6_NF_TARGET_REJECT_SKERR=y -CONFIG_IP6_NF_MANGLE=y -CONFIG_IP6_NF_RAW=y -CONFIG_BRIDGE_NF_EBTABLES=y -CONFIG_BRIDGE_EBT_BROUTE=y -CONFIG_BRIDGE_EBT_T_FILTER=y -CONFIG_BRIDGE_EBT_IP=y -CONFIG_BRIDGE_EBT_IP6=y -CONFIG_BRIDGE=y -CONFIG_NET_SCHED=y -CONFIG_NET_SCH_HTB=y -CONFIG_NET_SCH_PRIO=y -CONFIG_NET_CLS_FW=y -CONFIG_CFG80211=m -CONFIG_NL80211_TESTMODE=y -CONFIG_MTD=y -CONFIG_MTD_CMDLINE_PARTS=y -CONFIG_MTD_OF_PARTS=y -CONFIG_MTD_CHAR=y -CONFIG_MTD_BLOCK=y -# CONFIG_MTD_MSM_NAND is not set -CONFIG_MTD_MSM_QPIC_NAND=y -CONFIG_BLK_DEV_LOOP=y -CONFIG_BLK_DEV_RAM=y -CONFIG_SCSI=y -CONFIG_SCSI_TGT=y -CONFIG_BLK_DEV_SD=y -CONFIG_CHR_DEV_SG=y -CONFIG_CHR_DEV_SCH=y -CONFIG_SCSI_MULTI_LUN=y -CONFIG_SCSI_CONSTANTS=y -CONFIG_SCSI_LOGGING=y -CONFIG_SCSI_SCAN_ASYNC=y -CONFIG_NETDEVICES=y -# CONFIG_NET_VENDOR_BROADCOM is not set -# CONFIG_NET_VENDOR_CIRRUS is not set -# CONFIG_NET_VENDOR_FARADAY is not set -# CONFIG_NET_VENDOR_INTEL is not set -# [linyunfeng] Not support ethernet KS8851 -# CONFIG_KS8851=y -# CONFIG_NET_VENDOR_MICROCHIP is not set -# CONFIG_MSM_RMNET is not set -CONFIG_MSM_RMNET_WWAN=y -CONFIG_ECM_IPA=y -# CONFIG_NET_VENDOR_NATSEMI is not set -# CONFIG_NET_VENDOR_SEEQ is not set -# CONFIG_NET_VENDOR_SMSC is not set -# CONFIG_NET_VENDOR_STMICRO is not set -CONFIG_ATH6K_LEGACY_EXT=y -# CONFIG_INPUT_MOUSEDEV is not set -CONFIG_INPUT_EVDEV=y -CONFIG_INPUT_KEYBOARD=y -CONFIG_KEYBOARD_GPIO=y -CONFIG_OF=y -# CONFIG_INPUT_MOUSE is not set -CONFIG_INPUT_MISC=y -CONFIG_INPUT_UINPUT=y -CONFIG_INPUT_GPIO=m -CONFIG_SERIO_LIBPS2=y -# CONFIG_LEGACY_PTYS is not set -CONFIG_SERIAL_MSM_HS=y -CONFIG_SERIAL_MSM_HSL=y -CONFIG_DIAG_CHAR=y -CONFIG_HW_RANDOM=y -CONFIG_HW_RANDOM_MSM=y -CONFIG_I2C=y -CONFIG_I2C_CHARDEV=y -CONFIG_I2C_QUP=y -CONFIG_MSM_BUSPM_DEV=m -# [linyunfeng] Remove SPI module -# CONFIG_SPI=y -# CONFIG_SPI_QUP=y -# CONFIG_SPI_SPIDEV=m -CONFIG_SPMI=y -CONFIG_SPMI_MSM_PMIC_ARB=y -CONFIG_MSM_QPNP_INT=y -CONFIG_DEBUG_GPIO=y -CONFIG_GPIO_SYSFS=y -CONFIG_GPIO_QPNP_PIN=y -CONFIG_GPIO_QPNP_PIN_DEBUG=y -CONFIG_POWER_SUPPLY=y -CONFIG_MP2617_CHARGER=y -CONFIG_POWER_BANK_DETECT_SUPPORT=y -CONFIG_SENSORS_QPNP_ADC_VOLTAGE=y -CONFIG_THERMAL=y -CONFIG_THERMAL_TSENS8974=y -CONFIG_THERMAL_QPNP_ADC_TM=y -CONFIG_THERMAL_MONITOR=y -CONFIG_WCD9320_CODEC=n -CONFIG_REGULATOR=y -CONFIG_REGULATOR_FIXED_VOLTAGE=y -CONFIG_REGULATOR_QPNP=y -CONFIG_ION=y -CONFIG_ION_MSM=y -CONFIG_SOUND=n -CONFIG_SND=n -CONFIG_SND_SOC=n -CONFIG_SND_SOC_MDM9625=n -CONFIG_USB=y -CONFIG_USB_ANNOUNCE_NEW_DEVICES=y -CONFIG_USB_SUSPEND=y -CONFIG_USB_EHCI_HCD=y -CONFIG_USB_EHCI_EHSET=y -CONFIG_USB_EHCI_MSM=y -CONFIG_USB_EHCI_MSM_HSIC=y -CONFIG_USB_STORAGE=y -CONFIG_USB_STORAGE_DEBUG=y -CONFIG_USB_STORAGE_DATAFAB=y -CONFIG_USB_STORAGE_FREECOM=y -CONFIG_USB_STORAGE_ISD200=y -CONFIG_USB_STORAGE_USBAT=y -CONFIG_USB_STORAGE_SDDR09=y -CONFIG_USB_STORAGE_SDDR55=y -CONFIG_USB_STORAGE_JUMPSHOT=y -CONFIG_USB_STORAGE_ALAUDA=y -CONFIG_USB_STORAGE_ONETOUCH=y -CONFIG_USB_STORAGE_KARMA=y -CONFIG_USB_STORAGE_CYPRESS_ATACB=y -CONFIG_USB_EHSET_TEST_FIXTURE=y -CONFIG_USB_GADGET=y -CONFIG_USB_GADGET_DEBUG_FILES=y -CONFIG_USB_CI13XXX_MSM=y -CONFIG_USB_G_ANDROID=y -CONFIG_MMC=y -CONFIG_MMC_PERF_PROFILING=y -CONFIG_MMC_UNSAFE_RESUME=y -CONFIG_MMC_CLKGATE=y -CONFIG_MMC_EMBEDDED_SDIO=y -CONFIG_MMC_PARANOID_SD_INIT=y -CONFIG_MMC_BLOCK_MINORS=32 -CONFIG_MMC_TEST=m -CONFIG_MMC_MSM=y -CONFIG_MMC_MSM_SPS_SUPPORT=y -CONFIG_RTC_CLASS=y -# CONFIG_RTC_DRV_MSM is not set -CONFIG_RTC_DRV_QPNP=y -CONFIG_SPS=y -CONFIG_USB_BAM=y -CONFIG_SPS_SUPPORT_BAMDMA=y -CONFIG_SPS_SUPPORT_NDP_BAM=y -CONFIG_QPNP_POWER_ON=y -CONFIG_IPA=y -CONFIG_EXT3_FS=y -CONFIG_VFAT_FS=y -CONFIG_TMPFS=y -CONFIG_YAFFS_FS=y -CONFIG_YAFFS_DISABLE_TAGS_ECC=y -CONFIG_NLS_CODEPAGE_437=y -CONFIG_NLS_ASCII=y -CONFIG_NLS_ISO8859_1=y -CONFIG_PRINTK_TIME=y -CONFIG_MAGIC_SYSRQ=y -CONFIG_SCHEDSTATS=y -CONFIG_TIMER_STATS=y -# CONFIG_DEBUG_PREEMPT is not set -CONFIG_DEBUG_INFO=y -CONFIG_DEBUG_MEMORY_INIT=y -CONFIG_ENABLE_DEFAULT_TRACERS=y -CONFIG_DYNAMIC_DEBUG=y -CONFIG_OOPS_LOG_BUFFER=y -CONFIG_OOPS_LOG_BUF_SHIFT=14 -CONFIG_DEBUG_USER=y -CONFIG_KEYS=y -CONFIG_CRYPTO_AUTHENC=y -CONFIG_CRYPTO_CBC=y -CONFIG_CRYPTO_HMAC=y -CONFIG_CRYPTO_MD4=y -CONFIG_CRYPTO_MD5=y -CONFIG_CRYPTO_SHA1=y -CONFIG_CRYPTO_SHA256=y -CONFIG_CRYPTO_AES=y -CONFIG_CRYPTO_ARC4=y -CONFIG_CRYPTO_DES=y -CONFIG_CRYPTO_TWOFISH=y -CONFIG_CRYPTO_DEFLATE=y -CONFIG_CRYPTO_DEV_QCRYPTO=m -CONFIG_CRYPTO_DEV_QCE=m -CONFIG_CRYPTO_DEV_QCEDEV=m -CONFIG_CRC_CCITT=y -CONFIG_LIBCRC32C=y -CONFIG_DEVMEM=n -CONFIG_DEVKMEM=n -CONFIG_OLED_SSD1306_PT=y -CONFIG_OLED=y -CONFIG_TPLINK_PRODUCT_TR961_5200L_V1=y -# [chenchao] Export pm wakelocks to userspace -CONFIG_PM_WAKELOCKS=y - -# TP-LINK CONFIG -CONFIG_TPLINK_PMIC_EXT=y - diff --git a/kernel/arch/arm/configs/tr961-5200l-v1_defconfig b/kernel/arch/arm/configs/tr961-5200l-v1_defconfig deleted file mode 100644 index 45c6ed5bf..000000000 --- a/kernel/arch/arm/configs/tr961-5200l-v1_defconfig +++ /dev/null @@ -1,356 +0,0 @@ -# CONFIG_ARM_PATCH_PHYS_VIRT is not set -CONFIG_EXPERIMENTAL=y -# CONFIG_LOCALVERSION_AUTO is not set -CONFIG_SYSVIPC=y -CONFIG_IKCONFIG=y -CONFIG_IKCONFIG_PROC=y -CONFIG_CGROUPS=y -CONFIG_CGROUP_DEBUG=y -CONFIG_CGROUP_FREEZER=y -CONFIG_CGROUP_CPUACCT=y -CONFIG_RESOURCE_COUNTERS=y -CONFIG_CGROUP_SCHED=y -# CONFIG_FAIR_GROUP_SCHED is not set -CONFIG_RT_GROUP_SCHED=y -CONFIG_NAMESPACES=y -# CONFIG_UTS_NS is not set -# CONFIG_IPC_NS is not set -# CONFIG_USER_NS is not set -# CONFIG_PID_NS is not set -CONFIG_RELAY=y -CONFIG_BLK_DEV_INITRD=y -CONFIG_RD_BZIP2=y -CONFIG_RD_LZMA=y -CONFIG_CC_OPTIMIZE_FOR_SIZE=y -CONFIG_PANIC_TIMEOUT=5 -CONFIG_KALLSYMS_ALL=y -CONFIG_EMBEDDED=y -CONFIG_PROFILING=y -CONFIG_OPROFILE=m -CONFIG_MODULES=y -CONFIG_MODULE_UNLOAD=y -CONFIG_MODULE_FORCE_UNLOAD=y -CONFIG_PARTITION_ADVANCED=y -CONFIG_ARCH_MSM=y -CONFIG_ARCH_MSM9625=y -# CONFIG_MSM_STACKED_MEMORY is not set -# CONFIG_MSM_FIQ_SUPPORT is not set -# CONFIG_MSM_PROC_COMM is not set -CONFIG_MSM_SMD=y -CONFIG_MSM_SMD_PKG4=y -CONFIG_MSM_BAM_DMUX=y -CONFIG_MSM_SMP2P=y -CONFIG_MSM_SMP2P_TEST=y -CONFIG_MSM_IPC_LOGGING=y -CONFIG_MSM_IPC_ROUTER=y -CONFIG_MSM_IPC_ROUTER_SMD_XPRT=y -CONFIG_MSM_RPM_REGULATOR_SMD=y -CONFIG_MSM_SUBSYSTEM_RESTART=y -CONFIG_MSM_PIL=y -CONFIG_MSM_PIL_MSS_QDSP6V5=y -CONFIG_MSM_DIRECT_SCLK_ACCESS=y -CONFIG_MSM_BUS_SCALING=y -CONFIG_MSM_BUSPM_DEV=m -CONFIG_MSM_WATCHDOG_V2=y -CONFIG_MSM_MEMORY_DUMP=y -CONFIG_MSM_DLOAD_MODE=y -CONFIG_MSM_ADSP_LOADER=m -CONFIG_MSM_RTB=y -CONFIG_MSM_ENABLE_WDOG_DEBUG_CONTROL=y -CONFIG_MSM_UARTDM_Core_v14=y -CONFIG_MSM_BOOT_STATS=y -CONFIG_NO_HZ=y -CONFIG_HIGH_RES_TIMERS=y -CONFIG_ARM_ARCH_TIMER=y -CONFIG_PREEMPT=y -CONFIG_AEABI=y -CONFIG_HIGHMEM=y -CONFIG_USE_OF=y -CONFIG_CPU_FREQ=y -CONFIG_CPU_FREQ_GOV_POWERSAVE=y -CONFIG_CPU_FREQ_GOV_USERSPACE=y -CONFIG_CPU_FREQ_GOV_ONDEMAND=y -CONFIG_CPU_FREQ_GOV_CONSERVATIVE=y -CONFIG_CPU_IDLE=y -CONFIG_VFP=y -CONFIG_NEON=y -# CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set -CONFIG_PM_AUTOSLEEP=y -CONFIG_PM_RUNTIME=y -CONFIG_NET=y -CONFIG_PACKET=y -CONFIG_UNIX=y -CONFIG_INET=y -CONFIG_IP_MULTICAST=y -CONFIG_IP_ADVANCED_ROUTER=y -CONFIG_IP_MULTIPLE_TABLES=y -CONFIG_IP_MROUTE=y -CONFIG_IP_PIMSM_V2=y -CONFIG_IPV6=y -CONFIG_IPV6_MULTIPLE_TABLES=y -CONFIG_IPV6_SUBTREES=y -CONFIG_NETFILTER=y -CONFIG_NETFILTER_DEBUG=y -CONFIG_NETFILTER_NETLINK_QUEUE=y -CONFIG_NETFILTER_NETLINK_LOG=y -CONFIG_NF_CONNTRACK=y -CONFIG_NF_CONNTRACK_EVENTS=y -CONFIG_NF_CONNTRACK_TIMESTAMP=y -CONFIG_NF_CT_PROTO_UDPLITE=y -CONFIG_NF_CONNTRACK_AMANDA=y -CONFIG_NF_CONNTRACK_FTP=y -CONFIG_NF_CONNTRACK_H323=y -CONFIG_NF_CONNTRACK_IRC=y -CONFIG_NF_CONNTRACK_NETBIOS_NS=y -CONFIG_NF_CONNTRACK_SNMP=y -CONFIG_NF_CONNTRACK_PPTP=y -CONFIG_NF_CONNTRACK_SIP=y -CONFIG_NF_CONNTRACK_TFTP=y -CONFIG_NF_CT_NETLINK=y -CONFIG_NETFILTER_XT_MARK=y -CONFIG_NETFILTER_XT_CONNMARK=y -CONFIG_NETFILTER_XT_TARGET_LOG=y -CONFIG_NETFILTER_XT_TARGET_TRACE=y -CONFIG_NETFILTER_XT_TARGET_TCPMSS=y -CONFIG_NETFILTER_XT_MATCH_ADDRTYPE=y -CONFIG_NETFILTER_XT_MATCH_CONNLIMIT=y -CONFIG_NETFILTER_XT_MATCH_CONNTRACK=y -CONFIG_NETFILTER_XT_MATCH_DSCP=y -CONFIG_NETFILTER_XT_MATCH_ESP=y -CONFIG_NETFILTER_XT_MATCH_IPRANGE=y -CONFIG_NETFILTER_XT_MATCH_LIMIT=y -CONFIG_NETFILTER_XT_MATCH_MULTIPORT=y -CONFIG_NETFILTER_XT_MATCH_PHYSDEV=y -CONFIG_NETFILTER_XT_MATCH_PKTTYPE=y -CONFIG_NETFILTER_XT_MATCH_STRING=y -CONFIG_IP_SET=y -CONFIG_NF_CONNTRACK_IPV4=y -CONFIG_IP_NF_IPTABLES=y -CONFIG_NETFILTER_XTABLES=y -CONFIG_NETFILTER_XT_MATCH_STATE=y -CONFIG_IP_NF_MATCH_AH=y -CONFIG_IP_NF_MATCH_ECN=y -CONFIG_IP_NF_MATCH_TTL=y -CONFIG_IP_NF_FILTER=y -CONFIG_IP_NF_TARGET_REJECT=y -CONFIG_IP_NF_TARGET_REJECT_SKERR=y -CONFIG_IP_NF_TARGET_ULOG=y -CONFIG_NF_NAT=y -CONFIG_IP_NF_TARGET_MASQUERADE=y -CONFIG_IP_NF_TARGET_NATTYPE_MODULE=y -CONFIG_IP_NF_TARGET_NETMAP=y -CONFIG_IP_NF_TARGET_REDIRECT=y -CONFIG_IP_NF_MANGLE=y -CONFIG_IP_NF_TARGET_ECN=y -CONFIG_IP_NF_TARGET_TTL=y -CONFIG_IP_NF_RAW=y -CONFIG_NF_CONNTRACK_IPV6=y -CONFIG_IP6_NF_IPTABLES=y -CONFIG_IP6_NF_MATCH_AH=y -CONFIG_IP6_NF_MATCH_FRAG=y -CONFIG_IP6_NF_MATCH_OPTS=y -CONFIG_IP6_NF_MATCH_HL=y -CONFIG_IP6_NF_MATCH_IPV6HEADER=y -CONFIG_IP6_NF_MATCH_MH=y -CONFIG_IP6_NF_MATCH_RT=y -CONFIG_IP6_NF_FILTER=y -CONFIG_IP6_NF_TARGET_REJECT=y -CONFIG_IP6_NF_TARGET_REJECT_SKERR=y -CONFIG_IP6_NF_MANGLE=y -CONFIG_IP6_NF_RAW=y -CONFIG_BRIDGE_NF_EBTABLES=y -CONFIG_BRIDGE_EBT_BROUTE=y -CONFIG_BRIDGE_EBT_T_FILTER=y -CONFIG_BRIDGE_EBT_IP=y -CONFIG_BRIDGE_EBT_IP6=y -CONFIG_BRIDGE=y -CONFIG_NET_SCHED=y -CONFIG_NET_SCH_HTB=y -CONFIG_NET_SCH_PRIO=y -CONFIG_NET_CLS_FW=y -CONFIG_CFG80211=m -CONFIG_NL80211_TESTMODE=y -CONFIG_MTD=y -CONFIG_MTD_CMDLINE_PARTS=y -CONFIG_MTD_OF_PARTS=y -CONFIG_MTD_CHAR=y -CONFIG_MTD_BLOCK=y -# CONFIG_MTD_MSM_NAND is not set -CONFIG_MTD_MSM_QPIC_NAND=y -CONFIG_BLK_DEV_LOOP=y -CONFIG_BLK_DEV_RAM=y -CONFIG_SCSI=y -CONFIG_SCSI_TGT=y -CONFIG_BLK_DEV_SD=y -CONFIG_CHR_DEV_SG=y -CONFIG_CHR_DEV_SCH=y -CONFIG_SCSI_MULTI_LUN=y -CONFIG_SCSI_CONSTANTS=y -CONFIG_SCSI_LOGGING=y -CONFIG_SCSI_SCAN_ASYNC=y -CONFIG_NETDEVICES=y -# CONFIG_NET_VENDOR_BROADCOM is not set -# CONFIG_NET_VENDOR_CIRRUS is not set -# CONFIG_NET_VENDOR_FARADAY is not set -# CONFIG_NET_VENDOR_INTEL is not set -# [linyunfeng] Not support ethernet KS8851 -# CONFIG_KS8851=y -# CONFIG_NET_VENDOR_MICROCHIP is not set -# CONFIG_MSM_RMNET is not set -CONFIG_MSM_RMNET_WWAN=y -CONFIG_ECM_IPA=y -# CONFIG_NET_VENDOR_NATSEMI is not set -# CONFIG_NET_VENDOR_SEEQ is not set -# CONFIG_NET_VENDOR_SMSC is not set -# CONFIG_NET_VENDOR_STMICRO is not set -CONFIG_ATH6K_LEGACY_EXT=y -# CONFIG_INPUT_MOUSEDEV is not set -CONFIG_INPUT_EVDEV=y -CONFIG_INPUT_KEYBOARD=y -CONFIG_KEYBOARD_GPIO=y -CONFIG_OF=y -# CONFIG_INPUT_MOUSE is not set -CONFIG_INPUT_MISC=y -CONFIG_INPUT_UINPUT=y -CONFIG_INPUT_GPIO=m -CONFIG_SERIO_LIBPS2=y -# CONFIG_LEGACY_PTYS is not set -CONFIG_SERIAL_MSM_HS=y -CONFIG_SERIAL_MSM_HSL=y -CONFIG_SERIAL_MSM_HSL_CONSOLE=y -CONFIG_DIAG_CHAR=y -CONFIG_HW_RANDOM=y -CONFIG_HW_RANDOM_MSM=y -CONFIG_I2C=y -CONFIG_I2C_CHARDEV=y -CONFIG_I2C_QUP=y -# [linyunfeng] Remove SPI module -# CONFIG_SPI=y -# CONFIG_SPI_QUP=y -# CONFIG_SPI_SPIDEV=m -CONFIG_SPMI=y -CONFIG_SPMI_MSM_PMIC_ARB=y -CONFIG_MSM_QPNP_INT=y -CONFIG_DEBUG_GPIO=y -CONFIG_GPIO_SYSFS=y -CONFIG_GPIO_QPNP_PIN=y -CONFIG_GPIO_QPNP_PIN_DEBUG=y -CONFIG_POWER_SUPPLY=y -CONFIG_MP2617_CHARGER=y -CONFIG_POWER_BANK_DETECT_SUPPORT=y -CONFIG_SENSORS_QPNP_ADC_VOLTAGE=y -CONFIG_THERMAL=y -CONFIG_THERMAL_TSENS8974=y -CONFIG_THERMAL_QPNP_ADC_TM=y -CONFIG_THERMAL_MONITOR=y -CONFIG_WCD9320_CODEC=n -CONFIG_REGULATOR=y -CONFIG_REGULATOR_FIXED_VOLTAGE=y -CONFIG_REGULATOR_QPNP=y -CONFIG_ION=y -CONFIG_ION_MSM=y -CONFIG_SOUND=n -CONFIG_SND=n -CONFIG_SND_SOC=n -CONFIG_SND_SOC_MDM9625=n -CONFIG_USB=y -CONFIG_USB_ANNOUNCE_NEW_DEVICES=y -CONFIG_USB_SUSPEND=y -CONFIG_USB_EHCI_HCD=y -CONFIG_USB_EHCI_EHSET=y -CONFIG_USB_EHCI_MSM=y -CONFIG_USB_EHCI_MSM_HSIC=y -CONFIG_USB_STORAGE=y -CONFIG_USB_STORAGE_DEBUG=y -CONFIG_USB_STORAGE_DATAFAB=y -CONFIG_USB_STORAGE_FREECOM=y -CONFIG_USB_STORAGE_ISD200=y -CONFIG_USB_STORAGE_USBAT=y -CONFIG_USB_STORAGE_SDDR09=y -CONFIG_USB_STORAGE_SDDR55=y -CONFIG_USB_STORAGE_JUMPSHOT=y -CONFIG_USB_STORAGE_ALAUDA=y -CONFIG_USB_STORAGE_ONETOUCH=y -CONFIG_USB_STORAGE_KARMA=y -CONFIG_USB_STORAGE_CYPRESS_ATACB=y -CONFIG_USB_EHSET_TEST_FIXTURE=y -CONFIG_USB_GADGET=y -CONFIG_USB_GADGET_DEBUG_FILES=y -CONFIG_USB_CI13XXX_MSM=y -CONFIG_USB_G_ANDROID=y -CONFIG_MMC=y -CONFIG_MMC_PERF_PROFILING=y -CONFIG_MMC_UNSAFE_RESUME=y -CONFIG_MMC_CLKGATE=y -CONFIG_MMC_EMBEDDED_SDIO=y -CONFIG_MMC_PARANOID_SD_INIT=y -CONFIG_MMC_BLOCK_MINORS=32 -CONFIG_MMC_TEST=m -CONFIG_MMC_MSM=y -CONFIG_MMC_MSM_SPS_SUPPORT=y -CONFIG_RTC_CLASS=y -# CONFIG_RTC_DRV_MSM is not set -CONFIG_RTC_DRV_QPNP=y -CONFIG_STAGING=y -CONFIG_ANDROID=y -CONFIG_ANDROID_LOGGER=y -CONFIG_SPS=y -CONFIG_USB_BAM=y -CONFIG_SPS_SUPPORT_BAMDMA=y -CONFIG_SPS_SUPPORT_NDP_BAM=y -CONFIG_QPNP_POWER_ON=y -CONFIG_IPA=y -CONFIG_CORESIGHT=y -CONFIG_CORESIGHT_TMC=y -CONFIG_CORESIGHT_TPIU=y -CONFIG_CORESIGHT_FUNNEL=y -CONFIG_CORESIGHT_REPLICATOR=y -CONFIG_CORESIGHT_STM=y -CONFIG_CORESIGHT_HWEVENT=y -CONFIG_CORESIGHT_ETM=y -CONFIG_CORESIGHT_EVENT=m -CONFIG_EXT3_FS=y -CONFIG_FUSE_FS=y -CONFIG_VFAT_FS=y -CONFIG_TMPFS=y -CONFIG_YAFFS_FS=y -CONFIG_YAFFS_DISABLE_TAGS_ECC=y -CONFIG_NLS_CODEPAGE_437=y -CONFIG_NLS_ASCII=y -CONFIG_NLS_ISO8859_1=y -CONFIG_PRINTK_TIME=y -CONFIG_MAGIC_SYSRQ=y -CONFIG_SCHEDSTATS=y -CONFIG_TIMER_STATS=y -# CONFIG_DEBUG_PREEMPT is not set -CONFIG_DEBUG_INFO=y -CONFIG_DEBUG_MEMORY_INIT=y -CONFIG_ENABLE_DEFAULT_TRACERS=y -CONFIG_DYNAMIC_DEBUG=y -CONFIG_OOPS_LOG_BUFFER=y -CONFIG_OOPS_LOG_BUF_SHIFT=14 -CONFIG_DEBUG_USER=y -CONFIG_KEYS=y -CONFIG_CRYPTO_AUTHENC=y -CONFIG_CRYPTO_CBC=y -CONFIG_CRYPTO_HMAC=y -CONFIG_CRYPTO_MD4=y -CONFIG_CRYPTO_MD5=y -CONFIG_CRYPTO_SHA1=y -CONFIG_CRYPTO_SHA256=y -CONFIG_CRYPTO_AES=y -CONFIG_CRYPTO_ARC4=y -CONFIG_CRYPTO_DES=y -CONFIG_CRYPTO_TWOFISH=y -CONFIG_CRYPTO_DEFLATE=y -CONFIG_CRC_CCITT=y -CONFIG_LIBCRC32C=y -CONFIG_OLED_SSD1306_PT=y -CONFIG_OLED=y -CONFIG_TPLINK_PRODUCT_TR961_5200L_V1=y -# [chenchao] Export pm wakelocks to userspace -CONFIG_PM_WAKELOCKS=y - -# TP-LINK CONFIG -CONFIG_TPLINK_PMIC_EXT=y - diff --git a/kernel/arch/arm/configs/tr961-5200l-v2-perf_defconfig b/kernel/arch/arm/configs/tr961-5200l-v2-perf_defconfig deleted file mode 100644 index b0074161f..000000000 --- a/kernel/arch/arm/configs/tr961-5200l-v2-perf_defconfig +++ /dev/null @@ -1,344 +0,0 @@ -# CONFIG_ARM_PATCH_PHYS_VIRT is not set -CONFIG_EXPERIMENTAL=y -# CONFIG_LOCALVERSION_AUTO is not set -CONFIG_SYSVIPC=y -CONFIG_IKCONFIG=y -CONFIG_IKCONFIG_PROC=y -CONFIG_CGROUPS=y -CONFIG_CGROUP_DEBUG=y -CONFIG_CGROUP_FREEZER=y -CONFIG_CGROUP_CPUACCT=y -CONFIG_RESOURCE_COUNTERS=y -CONFIG_CGROUP_SCHED=y -# CONFIG_FAIR_GROUP_SCHED is not set -CONFIG_RT_GROUP_SCHED=y -CONFIG_NAMESPACES=y -# CONFIG_UTS_NS is not set -# CONFIG_IPC_NS is not set -# CONFIG_USER_NS is not set -# CONFIG_PID_NS is not set -CONFIG_RELAY=y -CONFIG_BLK_DEV_INITRD=y -CONFIG_RD_BZIP2=y -CONFIG_RD_LZMA=y -CONFIG_CC_OPTIMIZE_FOR_SIZE=y -CONFIG_PANIC_TIMEOUT=5 -CONFIG_KALLSYMS_ALL=y -CONFIG_EMBEDDED=y -# CONFIG_SLUB_DEBUG is not set -CONFIG_PROFILING=y -CONFIG_OPROFILE=m -CONFIG_MODULES=y -CONFIG_MODULE_UNLOAD=y -CONFIG_MODULE_FORCE_UNLOAD=y -CONFIG_PARTITION_ADVANCED=y -CONFIG_ARCH_MSM=y -CONFIG_ARCH_MSM9625=y -# CONFIG_MSM_STACKED_MEMORY is not set -# CONFIG_MSM_FIQ_SUPPORT is not set -# CONFIG_MSM_PROC_COMM is not set -CONFIG_MSM_SMD=y -CONFIG_MSM_SMD_PKG4=y -CONFIG_MSM_BAM_DMUX=y -CONFIG_MSM_SMP2P=y -CONFIG_MSM_SMP2P_TEST=y -CONFIG_MSM_IPC_LOGGING=y -CONFIG_MSM_IPC_ROUTER=y -CONFIG_MSM_IPC_ROUTER_SMD_XPRT=y -CONFIG_MSM_RPM_REGULATOR_SMD=y -CONFIG_MSM_SUBSYSTEM_RESTART=y -CONFIG_MSM_PIL=y -CONFIG_MSM_PIL_MSS_QDSP6V5=y -CONFIG_MSM_DIRECT_SCLK_ACCESS=y -CONFIG_MSM_BUS_SCALING=y -CONFIG_MSM_WATCHDOG_V2=y -CONFIG_MSM_MEMORY_DUMP=y -CONFIG_MSM_DLOAD_MODE=y -CONFIG_MSM_ADSP_LOADER=m -CONFIG_MSM_ENABLE_WDOG_DEBUG_CONTROL=y -CONFIG_MSM_UARTDM_Core_v14=y -CONFIG_MSM_BOOT_STATS=y -CONFIG_NO_HZ=y -CONFIG_HIGH_RES_TIMERS=y -CONFIG_ARM_ARCH_TIMER=y -CONFIG_PREEMPT=y -CONFIG_AEABI=y -CONFIG_HIGHMEM=y -CONFIG_USE_OF=y -CONFIG_CPU_FREQ=y -CONFIG_CPU_FREQ_GOV_POWERSAVE=y -CONFIG_CPU_FREQ_GOV_USERSPACE=y -CONFIG_CPU_FREQ_GOV_ONDEMAND=y -CONFIG_CPU_FREQ_GOV_CONSERVATIVE=y -CONFIG_CPU_IDLE=y -CONFIG_VFP=y -CONFIG_NEON=y -# CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set -CONFIG_PM_AUTOSLEEP=y -CONFIG_PM_RUNTIME=y -CONFIG_NET=y -CONFIG_PACKET=y -CONFIG_UNIX=y -CONFIG_INET=y -CONFIG_IP_MULTICAST=y -CONFIG_IP_ADVANCED_ROUTER=y -CONFIG_IP_MULTIPLE_TABLES=y -CONFIG_IP_MROUTE=y -CONFIG_IP_PIMSM_V2=y -CONFIG_IPV6=y -CONFIG_IPV6_MULTIPLE_TABLES=y -CONFIG_IPV6_SUBTREES=y -CONFIG_NETFILTER=y -CONFIG_NETFILTER_DEBUG=y -CONFIG_NETFILTER_NETLINK_QUEUE=y -CONFIG_NETFILTER_NETLINK_LOG=y -CONFIG_NF_CONNTRACK=y -CONFIG_NF_CONNTRACK_EVENTS=y -CONFIG_NF_CONNTRACK_TIMESTAMP=y -CONFIG_NF_CT_PROTO_UDPLITE=y -CONFIG_NF_CONNTRACK_AMANDA=y -CONFIG_NF_CONNTRACK_FTP=y -CONFIG_NF_CONNTRACK_H323=y -CONFIG_NF_CONNTRACK_IRC=y -CONFIG_NF_CONNTRACK_NETBIOS_NS=y -CONFIG_NF_CONNTRACK_SNMP=y -CONFIG_NF_CONNTRACK_PPTP=y -CONFIG_NF_CONNTRACK_SIP=y -CONFIG_NF_CONNTRACK_TFTP=y -CONFIG_NF_CT_NETLINK=y -CONFIG_NETFILTER_XT_MARK=y -CONFIG_NETFILTER_XT_CONNMARK=y -CONFIG_NETFILTER_XT_TARGET_TCPMSS=y -CONFIG_NETFILTER_XT_MATCH_ADDRTYPE=y -CONFIG_NETFILTER_XT_MATCH_CONNLIMIT=y -CONFIG_NETFILTER_XT_MATCH_CONNTRACK=y -CONFIG_NETFILTER_XT_MATCH_DSCP=y -CONFIG_NETFILTER_XT_MATCH_ESP=y -CONFIG_NETFILTER_XT_MATCH_IPRANGE=y -CONFIG_NETFILTER_XT_MATCH_MULTIPORT=y -CONFIG_NETFILTER_XT_MATCH_PHYSDEV=y -CONFIG_NETFILTER_XT_MATCH_PKTTYPE=y -CONFIG_NETFILTER_XT_MATCH_STRING=y -CONFIG_IP_SET=y -CONFIG_NF_CONNTRACK_IPV4=y -CONFIG_IP_NF_IPTABLES=y -CONFIG_NETFILTER_XTABLES=y -CONFIG_NETFILTER_XT_MATCH_STATE=y -CONFIG_IP_NF_MATCH_AH=y -CONFIG_IP_NF_MATCH_ECN=y -CONFIG_IP_NF_MATCH_TTL=y -CONFIG_IP_NF_FILTER=y -CONFIG_IP_NF_TARGET_REJECT=y -CONFIG_IP_NF_TARGET_REJECT_SKERR=y -CONFIG_IP_NF_TARGET_ULOG=y -CONFIG_NF_NAT=y -CONFIG_IP_NF_TARGET_MASQUERADE=y -CONFIG_IP_NF_TARGET_NATTYPE_MODULE=y -CONFIG_IP_NF_TARGET_NETMAP=y -CONFIG_IP_NF_TARGET_REDIRECT=y -CONFIG_IP_NF_MANGLE=y -CONFIG_IP_NF_TARGET_ECN=y -CONFIG_IP_NF_TARGET_TTL=y -CONFIG_IP_NF_RAW=y -CONFIG_NF_CONNTRACK_IPV6=y -CONFIG_IP6_NF_IPTABLES=y -CONFIG_IP6_NF_MATCH_AH=y -CONFIG_IP6_NF_MATCH_FRAG=y -CONFIG_IP6_NF_MATCH_OPTS=y -CONFIG_IP6_NF_MATCH_HL=y -CONFIG_IP6_NF_MATCH_IPV6HEADER=y -CONFIG_IP6_NF_MATCH_MH=y -CONFIG_IP6_NF_MATCH_RT=y -CONFIG_IP6_NF_FILTER=y -CONFIG_IP6_NF_TARGET_REJECT=y -CONFIG_IP6_NF_TARGET_REJECT_SKERR=y -CONFIG_IP6_NF_MANGLE=y -CONFIG_IP6_NF_RAW=y -CONFIG_BRIDGE_NF_EBTABLES=y -CONFIG_BRIDGE_EBT_BROUTE=y -CONFIG_BRIDGE_EBT_T_FILTER=y -CONFIG_BRIDGE_EBT_IP=y -CONFIG_BRIDGE_EBT_IP6=y -CONFIG_BRIDGE=y -CONFIG_NET_SCHED=y -CONFIG_NET_SCH_HTB=y -CONFIG_NET_SCH_PRIO=y -CONFIG_NET_CLS_FW=y -CONFIG_CFG80211=m -CONFIG_NL80211_TESTMODE=y -CONFIG_MTD=y -CONFIG_MTD_CMDLINE_PARTS=y -CONFIG_MTD_OF_PARTS=y -CONFIG_MTD_CHAR=y -CONFIG_MTD_BLOCK=y -# CONFIG_MTD_MSM_NAND is not set -CONFIG_MTD_MSM_QPIC_NAND=y -CONFIG_BLK_DEV_LOOP=y -CONFIG_BLK_DEV_RAM=y -CONFIG_SCSI=y -CONFIG_SCSI_TGT=y -CONFIG_BLK_DEV_SD=y -CONFIG_CHR_DEV_SG=y -CONFIG_CHR_DEV_SCH=y -CONFIG_SCSI_MULTI_LUN=y -CONFIG_SCSI_CONSTANTS=y -CONFIG_SCSI_LOGGING=y -CONFIG_SCSI_SCAN_ASYNC=y -CONFIG_NETDEVICES=y -# CONFIG_NET_VENDOR_BROADCOM is not set -# CONFIG_NET_VENDOR_CIRRUS is not set -# CONFIG_NET_VENDOR_FARADAY is not set -# CONFIG_NET_VENDOR_INTEL is not set -# [linyunfeng] Not support ethernet KS8851 -# CONFIG_KS8851=y -# CONFIG_NET_VENDOR_MICROCHIP is not set -# CONFIG_MSM_RMNET is not set -CONFIG_MSM_RMNET_WWAN=y -CONFIG_ECM_IPA=y -# CONFIG_NET_VENDOR_NATSEMI is not set -# CONFIG_NET_VENDOR_SEEQ is not set -# CONFIG_NET_VENDOR_SMSC is not set -# CONFIG_NET_VENDOR_STMICRO is not set -CONFIG_ATH6K_LEGACY_EXT=y -# CONFIG_INPUT_MOUSEDEV is not set -CONFIG_INPUT_EVDEV=y -CONFIG_INPUT_KEYBOARD=y -CONFIG_KEYBOARD_GPIO=y -CONFIG_OF=y -# CONFIG_INPUT_MOUSE is not set -CONFIG_INPUT_MISC=y -CONFIG_INPUT_UINPUT=y -CONFIG_INPUT_GPIO=m -CONFIG_SERIO_LIBPS2=y -# CONFIG_LEGACY_PTYS is not set -CONFIG_SERIAL_MSM_HS=y -CONFIG_SERIAL_MSM_HSL=y -CONFIG_DIAG_CHAR=y -CONFIG_HW_RANDOM=y -CONFIG_HW_RANDOM_MSM=y -CONFIG_I2C=y -CONFIG_I2C_CHARDEV=y -CONFIG_I2C_QUP=y -CONFIG_MSM_BUSPM_DEV=m -# [linyunfeng] Remove SPI module -# CONFIG_SPI=y -# CONFIG_SPI_QUP=y -# CONFIG_SPI_SPIDEV=m -CONFIG_SPMI=y -CONFIG_SPMI_MSM_PMIC_ARB=y -CONFIG_MSM_QPNP_INT=y -CONFIG_DEBUG_GPIO=y -CONFIG_GPIO_SYSFS=y -CONFIG_GPIO_QPNP_PIN=y -CONFIG_GPIO_QPNP_PIN_DEBUG=y -CONFIG_POWER_SUPPLY=y -CONFIG_MP2617_CHARGER=y -CONFIG_POWER_BANK_DETECT_SUPPORT=y -CONFIG_SENSORS_QPNP_ADC_VOLTAGE=y -CONFIG_THERMAL=y -CONFIG_THERMAL_TSENS8974=y -CONFIG_THERMAL_QPNP_ADC_TM=y -CONFIG_THERMAL_MONITOR=y -CONFIG_WCD9320_CODEC=n -CONFIG_REGULATOR=y -CONFIG_REGULATOR_FIXED_VOLTAGE=y -CONFIG_REGULATOR_QPNP=y -CONFIG_ION=y -CONFIG_ION_MSM=y -CONFIG_SOUND=n -CONFIG_SND=n -CONFIG_SND_SOC=n -CONFIG_SND_SOC_MDM9625=n -CONFIG_USB=y -CONFIG_USB_ANNOUNCE_NEW_DEVICES=y -CONFIG_USB_SUSPEND=y -CONFIG_USB_EHCI_HCD=y -CONFIG_USB_EHCI_EHSET=y -CONFIG_USB_EHCI_MSM=y -CONFIG_USB_EHCI_MSM_HSIC=y -CONFIG_USB_STORAGE=y -CONFIG_USB_STORAGE_DEBUG=y -CONFIG_USB_STORAGE_DATAFAB=y -CONFIG_USB_STORAGE_FREECOM=y -CONFIG_USB_STORAGE_ISD200=y -CONFIG_USB_STORAGE_USBAT=y -CONFIG_USB_STORAGE_SDDR09=y -CONFIG_USB_STORAGE_SDDR55=y -CONFIG_USB_STORAGE_JUMPSHOT=y -CONFIG_USB_STORAGE_ALAUDA=y -CONFIG_USB_STORAGE_ONETOUCH=y -CONFIG_USB_STORAGE_KARMA=y -CONFIG_USB_STORAGE_CYPRESS_ATACB=y -CONFIG_USB_EHSET_TEST_FIXTURE=y -CONFIG_USB_GADGET=y -CONFIG_USB_GADGET_DEBUG_FILES=y -CONFIG_USB_CI13XXX_MSM=y -CONFIG_USB_G_ANDROID=y -CONFIG_MMC=y -CONFIG_MMC_PERF_PROFILING=y -CONFIG_MMC_UNSAFE_RESUME=y -CONFIG_MMC_CLKGATE=y -CONFIG_MMC_EMBEDDED_SDIO=y -CONFIG_MMC_PARANOID_SD_INIT=y -CONFIG_MMC_BLOCK_MINORS=32 -CONFIG_MMC_TEST=m -CONFIG_MMC_MSM=y -CONFIG_MMC_MSM_SPS_SUPPORT=y -CONFIG_RTC_CLASS=y -# CONFIG_RTC_DRV_MSM is not set -CONFIG_RTC_DRV_QPNP=y -CONFIG_SPS=y -CONFIG_USB_BAM=y -CONFIG_SPS_SUPPORT_BAMDMA=y -CONFIG_SPS_SUPPORT_NDP_BAM=y -CONFIG_QPNP_POWER_ON=y -CONFIG_IPA=y -CONFIG_EXT3_FS=y -CONFIG_VFAT_FS=y -CONFIG_TMPFS=y -CONFIG_YAFFS_FS=y -CONFIG_YAFFS_DISABLE_TAGS_ECC=y -CONFIG_NLS_CODEPAGE_437=y -CONFIG_NLS_ASCII=y -CONFIG_NLS_ISO8859_1=y -CONFIG_PRINTK_TIME=y -CONFIG_MAGIC_SYSRQ=y -CONFIG_SCHEDSTATS=y -CONFIG_TIMER_STATS=y -# CONFIG_DEBUG_PREEMPT is not set -CONFIG_DEBUG_INFO=y -CONFIG_DEBUG_MEMORY_INIT=y -CONFIG_ENABLE_DEFAULT_TRACERS=y -CONFIG_DYNAMIC_DEBUG=y -CONFIG_OOPS_LOG_BUFFER=y -CONFIG_OOPS_LOG_BUF_SHIFT=14 -CONFIG_DEBUG_USER=y -CONFIG_KEYS=y -CONFIG_CRYPTO_AUTHENC=y -CONFIG_CRYPTO_CBC=y -CONFIG_CRYPTO_HMAC=y -CONFIG_CRYPTO_MD4=y -CONFIG_CRYPTO_MD5=y -CONFIG_CRYPTO_SHA1=y -CONFIG_CRYPTO_SHA256=y -CONFIG_CRYPTO_AES=y -CONFIG_CRYPTO_ARC4=y -CONFIG_CRYPTO_DES=y -CONFIG_CRYPTO_TWOFISH=y -CONFIG_CRYPTO_DEFLATE=y -CONFIG_CRYPTO_DEV_QCRYPTO=m -CONFIG_CRYPTO_DEV_QCE=m -CONFIG_CRYPTO_DEV_QCEDEV=m -CONFIG_CRC_CCITT=y -CONFIG_LIBCRC32C=y -CONFIG_DEVMEM=n -CONFIG_DEVKMEM=n -CONFIG_OLED_SSD1306_PT=y -CONFIG_OLED=y -CONFIG_TPLINK_PRODUCT_TR961_5200L_V2=y -# [chenchao] Export pm wakelocks to userspace -CONFIG_PM_WAKELOCKS=y - -# TP-LINK CONFIG -CONFIG_TPLINK_PMIC_EXT=y - diff --git a/kernel/arch/arm/configs/tr961-5200l-v2_defconfig b/kernel/arch/arm/configs/tr961-5200l-v2_defconfig deleted file mode 100644 index 96df5f75f..000000000 --- a/kernel/arch/arm/configs/tr961-5200l-v2_defconfig +++ /dev/null @@ -1,356 +0,0 @@ -# CONFIG_ARM_PATCH_PHYS_VIRT is not set -CONFIG_EXPERIMENTAL=y -# CONFIG_LOCALVERSION_AUTO is not set -CONFIG_SYSVIPC=y -CONFIG_IKCONFIG=y -CONFIG_IKCONFIG_PROC=y -CONFIG_CGROUPS=y -CONFIG_CGROUP_DEBUG=y -CONFIG_CGROUP_FREEZER=y -CONFIG_CGROUP_CPUACCT=y -CONFIG_RESOURCE_COUNTERS=y -CONFIG_CGROUP_SCHED=y -# CONFIG_FAIR_GROUP_SCHED is not set -CONFIG_RT_GROUP_SCHED=y -CONFIG_NAMESPACES=y -# CONFIG_UTS_NS is not set -# CONFIG_IPC_NS is not set -# CONFIG_USER_NS is not set -# CONFIG_PID_NS is not set -CONFIG_RELAY=y -CONFIG_BLK_DEV_INITRD=y -CONFIG_RD_BZIP2=y -CONFIG_RD_LZMA=y -CONFIG_CC_OPTIMIZE_FOR_SIZE=y -CONFIG_PANIC_TIMEOUT=5 -CONFIG_KALLSYMS_ALL=y -CONFIG_EMBEDDED=y -CONFIG_PROFILING=y -CONFIG_OPROFILE=m -CONFIG_MODULES=y -CONFIG_MODULE_UNLOAD=y -CONFIG_MODULE_FORCE_UNLOAD=y -CONFIG_PARTITION_ADVANCED=y -CONFIG_ARCH_MSM=y -CONFIG_ARCH_MSM9625=y -# CONFIG_MSM_STACKED_MEMORY is not set -# CONFIG_MSM_FIQ_SUPPORT is not set -# CONFIG_MSM_PROC_COMM is not set -CONFIG_MSM_SMD=y -CONFIG_MSM_SMD_PKG4=y -CONFIG_MSM_BAM_DMUX=y -CONFIG_MSM_SMP2P=y -CONFIG_MSM_SMP2P_TEST=y -CONFIG_MSM_IPC_LOGGING=y -CONFIG_MSM_IPC_ROUTER=y -CONFIG_MSM_IPC_ROUTER_SMD_XPRT=y -CONFIG_MSM_RPM_REGULATOR_SMD=y -CONFIG_MSM_SUBSYSTEM_RESTART=y -CONFIG_MSM_PIL=y -CONFIG_MSM_PIL_MSS_QDSP6V5=y -CONFIG_MSM_DIRECT_SCLK_ACCESS=y -CONFIG_MSM_BUS_SCALING=y -CONFIG_MSM_BUSPM_DEV=m -CONFIG_MSM_WATCHDOG_V2=y -CONFIG_MSM_MEMORY_DUMP=y -CONFIG_MSM_DLOAD_MODE=y -CONFIG_MSM_ADSP_LOADER=m -CONFIG_MSM_RTB=y -CONFIG_MSM_ENABLE_WDOG_DEBUG_CONTROL=y -CONFIG_MSM_UARTDM_Core_v14=y -CONFIG_MSM_BOOT_STATS=y -CONFIG_NO_HZ=y -CONFIG_HIGH_RES_TIMERS=y -CONFIG_ARM_ARCH_TIMER=y -CONFIG_PREEMPT=y -CONFIG_AEABI=y -CONFIG_HIGHMEM=y -CONFIG_USE_OF=y -CONFIG_CPU_FREQ=y -CONFIG_CPU_FREQ_GOV_POWERSAVE=y -CONFIG_CPU_FREQ_GOV_USERSPACE=y -CONFIG_CPU_FREQ_GOV_ONDEMAND=y -CONFIG_CPU_FREQ_GOV_CONSERVATIVE=y -CONFIG_CPU_IDLE=y -CONFIG_VFP=y -CONFIG_NEON=y -# CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set -CONFIG_PM_AUTOSLEEP=y -CONFIG_PM_RUNTIME=y -CONFIG_NET=y -CONFIG_PACKET=y -CONFIG_UNIX=y -CONFIG_INET=y -CONFIG_IP_MULTICAST=y -CONFIG_IP_ADVANCED_ROUTER=y -CONFIG_IP_MULTIPLE_TABLES=y -CONFIG_IP_MROUTE=y -CONFIG_IP_PIMSM_V2=y -CONFIG_IPV6=y -CONFIG_IPV6_MULTIPLE_TABLES=y -CONFIG_IPV6_SUBTREES=y -CONFIG_NETFILTER=y -CONFIG_NETFILTER_DEBUG=y -CONFIG_NETFILTER_NETLINK_QUEUE=y -CONFIG_NETFILTER_NETLINK_LOG=y -CONFIG_NF_CONNTRACK=y -CONFIG_NF_CONNTRACK_EVENTS=y -CONFIG_NF_CONNTRACK_TIMESTAMP=y -CONFIG_NF_CT_PROTO_UDPLITE=y -CONFIG_NF_CONNTRACK_AMANDA=y -CONFIG_NF_CONNTRACK_FTP=y -CONFIG_NF_CONNTRACK_H323=y -CONFIG_NF_CONNTRACK_IRC=y -CONFIG_NF_CONNTRACK_NETBIOS_NS=y -CONFIG_NF_CONNTRACK_SNMP=y -CONFIG_NF_CONNTRACK_PPTP=y -CONFIG_NF_CONNTRACK_SIP=y -CONFIG_NF_CONNTRACK_TFTP=y -CONFIG_NF_CT_NETLINK=y -CONFIG_NETFILTER_XT_MARK=y -CONFIG_NETFILTER_XT_CONNMARK=y -CONFIG_NETFILTER_XT_TARGET_LOG=y -CONFIG_NETFILTER_XT_TARGET_TRACE=y -CONFIG_NETFILTER_XT_TARGET_TCPMSS=y -CONFIG_NETFILTER_XT_MATCH_ADDRTYPE=y -CONFIG_NETFILTER_XT_MATCH_CONNLIMIT=y -CONFIG_NETFILTER_XT_MATCH_CONNTRACK=y -CONFIG_NETFILTER_XT_MATCH_DSCP=y -CONFIG_NETFILTER_XT_MATCH_ESP=y -CONFIG_NETFILTER_XT_MATCH_IPRANGE=y -CONFIG_NETFILTER_XT_MATCH_LIMIT=y -CONFIG_NETFILTER_XT_MATCH_MULTIPORT=y -CONFIG_NETFILTER_XT_MATCH_PHYSDEV=y -CONFIG_NETFILTER_XT_MATCH_PKTTYPE=y -CONFIG_NETFILTER_XT_MATCH_STRING=y -CONFIG_IP_SET=y -CONFIG_NF_CONNTRACK_IPV4=y -CONFIG_IP_NF_IPTABLES=y -CONFIG_NETFILTER_XTABLES=y -CONFIG_NETFILTER_XT_MATCH_STATE=y -CONFIG_IP_NF_MATCH_AH=y -CONFIG_IP_NF_MATCH_ECN=y -CONFIG_IP_NF_MATCH_TTL=y -CONFIG_IP_NF_FILTER=y -CONFIG_IP_NF_TARGET_REJECT=y -CONFIG_IP_NF_TARGET_REJECT_SKERR=y -CONFIG_IP_NF_TARGET_ULOG=y -CONFIG_NF_NAT=y -CONFIG_IP_NF_TARGET_MASQUERADE=y -CONFIG_IP_NF_TARGET_NATTYPE_MODULE=y -CONFIG_IP_NF_TARGET_NETMAP=y -CONFIG_IP_NF_TARGET_REDIRECT=y -CONFIG_IP_NF_MANGLE=y -CONFIG_IP_NF_TARGET_ECN=y -CONFIG_IP_NF_TARGET_TTL=y -CONFIG_IP_NF_RAW=y -CONFIG_NF_CONNTRACK_IPV6=y -CONFIG_IP6_NF_IPTABLES=y -CONFIG_IP6_NF_MATCH_AH=y -CONFIG_IP6_NF_MATCH_FRAG=y -CONFIG_IP6_NF_MATCH_OPTS=y -CONFIG_IP6_NF_MATCH_HL=y -CONFIG_IP6_NF_MATCH_IPV6HEADER=y -CONFIG_IP6_NF_MATCH_MH=y -CONFIG_IP6_NF_MATCH_RT=y -CONFIG_IP6_NF_FILTER=y -CONFIG_IP6_NF_TARGET_REJECT=y -CONFIG_IP6_NF_TARGET_REJECT_SKERR=y -CONFIG_IP6_NF_MANGLE=y -CONFIG_IP6_NF_RAW=y -CONFIG_BRIDGE_NF_EBTABLES=y -CONFIG_BRIDGE_EBT_BROUTE=y -CONFIG_BRIDGE_EBT_T_FILTER=y -CONFIG_BRIDGE_EBT_IP=y -CONFIG_BRIDGE_EBT_IP6=y -CONFIG_BRIDGE=y -CONFIG_NET_SCHED=y -CONFIG_NET_SCH_HTB=y -CONFIG_NET_SCH_PRIO=y -CONFIG_NET_CLS_FW=y -CONFIG_CFG80211=m -CONFIG_NL80211_TESTMODE=y -CONFIG_MTD=y -CONFIG_MTD_CMDLINE_PARTS=y -CONFIG_MTD_OF_PARTS=y -CONFIG_MTD_CHAR=y -CONFIG_MTD_BLOCK=y -# CONFIG_MTD_MSM_NAND is not set -CONFIG_MTD_MSM_QPIC_NAND=y -CONFIG_BLK_DEV_LOOP=y -CONFIG_BLK_DEV_RAM=y -CONFIG_SCSI=y -CONFIG_SCSI_TGT=y -CONFIG_BLK_DEV_SD=y -CONFIG_CHR_DEV_SG=y -CONFIG_CHR_DEV_SCH=y -CONFIG_SCSI_MULTI_LUN=y -CONFIG_SCSI_CONSTANTS=y -CONFIG_SCSI_LOGGING=y -CONFIG_SCSI_SCAN_ASYNC=y -CONFIG_NETDEVICES=y -# CONFIG_NET_VENDOR_BROADCOM is not set -# CONFIG_NET_VENDOR_CIRRUS is not set -# CONFIG_NET_VENDOR_FARADAY is not set -# CONFIG_NET_VENDOR_INTEL is not set -# [linyunfeng] Not support ethernet KS8851 -# CONFIG_KS8851=y -# CONFIG_NET_VENDOR_MICROCHIP is not set -# CONFIG_MSM_RMNET is not set -CONFIG_MSM_RMNET_WWAN=y -CONFIG_ECM_IPA=y -# CONFIG_NET_VENDOR_NATSEMI is not set -# CONFIG_NET_VENDOR_SEEQ is not set -# CONFIG_NET_VENDOR_SMSC is not set -# CONFIG_NET_VENDOR_STMICRO is not set -CONFIG_ATH6K_LEGACY_EXT=y -# CONFIG_INPUT_MOUSEDEV is not set -CONFIG_INPUT_EVDEV=y -CONFIG_INPUT_KEYBOARD=y -CONFIG_KEYBOARD_GPIO=y -CONFIG_OF=y -# CONFIG_INPUT_MOUSE is not set -CONFIG_INPUT_MISC=y -CONFIG_INPUT_UINPUT=y -CONFIG_INPUT_GPIO=m -CONFIG_SERIO_LIBPS2=y -# CONFIG_LEGACY_PTYS is not set -CONFIG_SERIAL_MSM_HS=y -CONFIG_SERIAL_MSM_HSL=y -CONFIG_SERIAL_MSM_HSL_CONSOLE=y -CONFIG_DIAG_CHAR=y -CONFIG_HW_RANDOM=y -CONFIG_HW_RANDOM_MSM=y -CONFIG_I2C=y -CONFIG_I2C_CHARDEV=y -CONFIG_I2C_QUP=y -# [linyunfeng] Remove SPI module -# CONFIG_SPI=y -# CONFIG_SPI_QUP=y -# CONFIG_SPI_SPIDEV=m -CONFIG_SPMI=y -CONFIG_SPMI_MSM_PMIC_ARB=y -CONFIG_MSM_QPNP_INT=y -CONFIG_DEBUG_GPIO=y -CONFIG_GPIO_SYSFS=y -CONFIG_GPIO_QPNP_PIN=y -CONFIG_GPIO_QPNP_PIN_DEBUG=y -CONFIG_POWER_SUPPLY=y -CONFIG_MP2617_CHARGER=y -CONFIG_POWER_BANK_DETECT_SUPPORT=y -CONFIG_SENSORS_QPNP_ADC_VOLTAGE=y -CONFIG_THERMAL=y -CONFIG_THERMAL_TSENS8974=y -CONFIG_THERMAL_QPNP_ADC_TM=y -CONFIG_THERMAL_MONITOR=y -CONFIG_WCD9320_CODEC=n -CONFIG_REGULATOR=y -CONFIG_REGULATOR_FIXED_VOLTAGE=y -CONFIG_REGULATOR_QPNP=y -CONFIG_ION=y -CONFIG_ION_MSM=y -CONFIG_SOUND=n -CONFIG_SND=n -CONFIG_SND_SOC=n -CONFIG_SND_SOC_MDM9625=n -CONFIG_USB=y -CONFIG_USB_ANNOUNCE_NEW_DEVICES=y -CONFIG_USB_SUSPEND=y -CONFIG_USB_EHCI_HCD=y -CONFIG_USB_EHCI_EHSET=y -CONFIG_USB_EHCI_MSM=y -CONFIG_USB_EHCI_MSM_HSIC=y -CONFIG_USB_STORAGE=y -CONFIG_USB_STORAGE_DEBUG=y -CONFIG_USB_STORAGE_DATAFAB=y -CONFIG_USB_STORAGE_FREECOM=y -CONFIG_USB_STORAGE_ISD200=y -CONFIG_USB_STORAGE_USBAT=y -CONFIG_USB_STORAGE_SDDR09=y -CONFIG_USB_STORAGE_SDDR55=y -CONFIG_USB_STORAGE_JUMPSHOT=y -CONFIG_USB_STORAGE_ALAUDA=y -CONFIG_USB_STORAGE_ONETOUCH=y -CONFIG_USB_STORAGE_KARMA=y -CONFIG_USB_STORAGE_CYPRESS_ATACB=y -CONFIG_USB_EHSET_TEST_FIXTURE=y -CONFIG_USB_GADGET=y -CONFIG_USB_GADGET_DEBUG_FILES=y -CONFIG_USB_CI13XXX_MSM=y -CONFIG_USB_G_ANDROID=y -CONFIG_MMC=y -CONFIG_MMC_PERF_PROFILING=y -CONFIG_MMC_UNSAFE_RESUME=y -CONFIG_MMC_CLKGATE=y -CONFIG_MMC_EMBEDDED_SDIO=y -CONFIG_MMC_PARANOID_SD_INIT=y -CONFIG_MMC_BLOCK_MINORS=32 -CONFIG_MMC_TEST=m -CONFIG_MMC_MSM=y -CONFIG_MMC_MSM_SPS_SUPPORT=y -CONFIG_RTC_CLASS=y -# CONFIG_RTC_DRV_MSM is not set -CONFIG_RTC_DRV_QPNP=y -CONFIG_STAGING=y -CONFIG_ANDROID=y -CONFIG_ANDROID_LOGGER=y -CONFIG_SPS=y -CONFIG_USB_BAM=y -CONFIG_SPS_SUPPORT_BAMDMA=y -CONFIG_SPS_SUPPORT_NDP_BAM=y -CONFIG_QPNP_POWER_ON=y -CONFIG_IPA=y -CONFIG_CORESIGHT=y -CONFIG_CORESIGHT_TMC=y -CONFIG_CORESIGHT_TPIU=y -CONFIG_CORESIGHT_FUNNEL=y -CONFIG_CORESIGHT_REPLICATOR=y -CONFIG_CORESIGHT_STM=y -CONFIG_CORESIGHT_HWEVENT=y -CONFIG_CORESIGHT_ETM=y -CONFIG_CORESIGHT_EVENT=m -CONFIG_EXT3_FS=y -CONFIG_FUSE_FS=y -CONFIG_VFAT_FS=y -CONFIG_TMPFS=y -CONFIG_YAFFS_FS=y -CONFIG_YAFFS_DISABLE_TAGS_ECC=y -CONFIG_NLS_CODEPAGE_437=y -CONFIG_NLS_ASCII=y -CONFIG_NLS_ISO8859_1=y -CONFIG_PRINTK_TIME=y -CONFIG_MAGIC_SYSRQ=y -CONFIG_SCHEDSTATS=y -CONFIG_TIMER_STATS=y -# CONFIG_DEBUG_PREEMPT is not set -CONFIG_DEBUG_INFO=y -CONFIG_DEBUG_MEMORY_INIT=y -CONFIG_ENABLE_DEFAULT_TRACERS=y -CONFIG_DYNAMIC_DEBUG=y -CONFIG_OOPS_LOG_BUFFER=y -CONFIG_OOPS_LOG_BUF_SHIFT=14 -CONFIG_DEBUG_USER=y -CONFIG_KEYS=y -CONFIG_CRYPTO_AUTHENC=y -CONFIG_CRYPTO_CBC=y -CONFIG_CRYPTO_HMAC=y -CONFIG_CRYPTO_MD4=y -CONFIG_CRYPTO_MD5=y -CONFIG_CRYPTO_SHA1=y -CONFIG_CRYPTO_SHA256=y -CONFIG_CRYPTO_AES=y -CONFIG_CRYPTO_ARC4=y -CONFIG_CRYPTO_DES=y -CONFIG_CRYPTO_TWOFISH=y -CONFIG_CRYPTO_DEFLATE=y -CONFIG_CRC_CCITT=y -CONFIG_LIBCRC32C=y -CONFIG_OLED_SSD1306_PT=y -CONFIG_OLED=y -CONFIG_TPLINK_PRODUCT_TR961_5200L_V2=y -# [chenchao] Export pm wakelocks to userspace -CONFIG_PM_WAKELOCKS=y - -# TP-LINK CONFIG -CONFIG_TPLINK_PMIC_EXT=y - diff --git a/kernel/arch/arm/mach-msm/Kconfig b/kernel/arch/arm/mach-msm/Kconfig old mode 100755 new mode 100644 index 7b767545c..7fd3407e3 --- a/kernel/arch/arm/mach-msm/Kconfig +++ b/kernel/arch/arm/mach-msm/Kconfig @@ -3047,43 +3047,4 @@ config WALL_CLK_SYSFS Support the wallclk directory in sysfs filesystem to enable the wall clock simulation and read the current SFN. -config TPLINK_PMIC_EXT - bool "Some interfaces for User Layer Support" - default n - -config TPLINK_PRODUCT_TR961_5200L_V1 - bool "Specify product type tr961-5200l-v1" - default n - -config TPLINK_PRODUCT_TR961_5200L_V2 - bool "Specify product type tr961-5200l-v2" - default n - -config TPLINK_PRODUCT_TR961_2500L_MOBILE_UNICOM_V1 - bool "Specify product type tr961-2500l-mobile-unicom-v1" - default n - -config TPLINK_PRODUCT_M7350_UN_V1 - bool "Specify product type m7350-un-v1" - default n - -config TPLINK_PRODUCT_M7350_UN_V2 - bool "Specify product type m7350-un-v2" - default n - -config TPLINK_PRODUCT_M7350_UN_V3 - bool "Specify product type m7350-un-v3" - default n - -config TPLINK_PRODUCT_M7300_UN_V1 - bool "Specify product type m7300-un-v1" - default n - -config TPLINK_FEATURE_LED - bool "feature led" - default n - -config TPLINK_PRODUCT_LTE_MODULE_V1 - bool "Specify product type lte-module-v1" - default n endif diff --git a/kernel/arch/arm/mach-msm/Makefile b/kernel/arch/arm/mach-msm/Makefile old mode 100755 new mode 100644 index 3cdacb838..daa3b5dc8 --- a/kernel/arch/arm/mach-msm/Makefile +++ b/kernel/arch/arm/mach-msm/Makefile @@ -299,42 +299,7 @@ obj-$(CONFIG_ARCH_MPQ8092) += gdsc.o obj-$(CONFIG_ARCH_MSM8974) += krait-regulator.o obj-$(CONFIG_ARCH_MSMKRYPTON) += board-krypton.o board-krypton-gpiomux.o obj-$(CONFIG_ARCH_MSMSAMARIUM) += board-samarium.o board-samarium-gpiomux.o - -product_gpio = board-9625-gpiomux.o - -ifdef CONFIG_TPLINK_PRODUCT_TR961_5200L_V1 -product_gpio = board-tr961-5200l-v1-gpiomux.o -endif - -ifdef CONFIG_TPLINK_PRODUCT_TR961_5200L_V2 -product_gpio = board-tr961-5200l-v2-gpiomux.o -endif - -ifdef CONFIG_TPLINK_PRODUCT_LTE_MODULE_V1 -product_gpio = board-lte-module-v1-gpiomux.o -endif - -ifdef CONFIG_TPLINK_PRODUCT_M7300_UN_V1 -product_gpio = board-m7300-un-v1-gpiomux.o -endif - -ifdef CONFIG_TPLINK_PRODUCT_M7350_UN_V2 -product_gpio = board-m7350-un-v2-gpiomux.o -endif - -ifdef CONFIG_TPLINK_PRODUCT_M7350_UN_V3 -product_gpio = board-m7350-un-v3-gpiomux.o -endif - -ifdef CONFIG_TPLINK_PRODUCT_TR961_2500L_MOBILE_UNICOM_V1 -product_gpio = board-tr961-2500l-mobile-unicom-v1-gpiomux.o -endif - -ifdef CONFIG_TPLINK_PRODUCT_M7350_UN_V1 -product_gpio = board-m7350-un-v1-gpiomux.o -endif - -obj-$(CONFIG_ARCH_MSM9625) += board-9625.o $(product_gpio) +obj-$(CONFIG_ARCH_MSM9625) += board-9625.o board-9625-gpiomux.o obj-$(CONFIG_ARCH_MSM9625) += clock-local2.o clock-pll.o clock-9625.o clock-rpm.o clock-voter.o acpuclock-9625.o acpuclock-cortex.o obj-$(CONFIG_ARCH_MSM8930) += acpuclock-8930.o acpuclock-8627.o acpuclock-8930aa.o acpuclock-8930ab.o obj-$(CONFIG_ARCH_MPQ8092) += board-8092.o board-8092-gpiomux.o @@ -465,5 +430,3 @@ obj-$(CONFIG_WALL_CLK) += wallclk.o obj-$(CONFIG_WALL_CLK_SYSFS) += wallclk_sysfs.o obj-$(CONFIG_ARCH_RANDOM) += early_random.o - -obj-$(CONFIG_TPLINK_PMIC_EXT) += pm8019_ext.o diff --git a/kernel/arch/arm/mach-msm/board-9625-gpiomux.c b/kernel/arch/arm/mach-msm/board-9625-gpiomux.c old mode 100755 new mode 100644 index b32d7a54e..a6ac986d7 --- a/kernel/arch/arm/mach-msm/board-9625-gpiomux.c +++ b/kernel/arch/arm/mach-msm/board-9625-gpiomux.c @@ -105,20 +105,6 @@ static struct gpiomux_setting mi2s_suspend_cfg = { .pull = GPIOMUX_PULL_DOWN, }; -/* [houjihai start] */ -static struct gpiomux_setting key_active_cfg = { - .func = GPIOMUX_FUNC_GPIO, - .drv = GPIOMUX_DRV_8MA, - .pull = GPIOMUX_PULL_NONE, -}; - -static struct gpiomux_setting key_suspend_cfg = { - .func = GPIOMUX_FUNC_GPIO, - .drv = GPIOMUX_DRV_8MA, - .pull = GPIOMUX_PULL_NONE, -}; -/* [houjihai end] */ - static struct gpiomux_setting codec_reset = { .func = GPIOMUX_FUNC_GPIO, .drv = GPIOMUX_DRV_6MA, @@ -134,8 +120,6 @@ static struct msm_gpiomux_config mdm9625_mi2s_configs[] __initdata = { [GPIOMUX_ACTIVE] = &mi2s_active_cfg, }, }, -/* [houjihai start] init gpio15 in key configs struct and init gpio14 here depends on wps */ -#if 0 { .gpio = 15, /* mi2s sclk */ .settings = { @@ -143,8 +127,6 @@ static struct msm_gpiomux_config mdm9625_mi2s_configs[] __initdata = { [GPIOMUX_ACTIVE] = &mi2s_active_cfg, }, }, -#endif -#ifndef INCLUDE_WPS_KEY { .gpio = 14, /* mi2s dout */ .settings = { @@ -152,8 +134,6 @@ static struct msm_gpiomux_config mdm9625_mi2s_configs[] __initdata = { [GPIOMUX_ACTIVE] = &mi2s_active_cfg, }, }, -#endif -/* [houjihai end] */ { .gpio = 13, /* mi2s din */ .settings = { @@ -170,27 +150,6 @@ static struct msm_gpiomux_config mdm9625_mi2s_configs[] __initdata = { }, }; -/* [houjihai start] gpio14 for wps key and gpio15 for reset*/ -static struct msm_gpiomux_config mdm9625_key_configs[] __initdata = { -#ifdef INCLUDE_WPS_KEY - { - .gpio = 14, - .settings = { - [GPIOMUX_SUSPENDED] = &key_suspend_cfg, - [GPIOMUX_ACTIVE] = &key_active_cfg, - }, - }, -#endif - { - .gpio = 15, - .settings = { - [GPIOMUX_SUSPENDED] = &key_suspend_cfg, - [GPIOMUX_ACTIVE] = &key_active_cfg, - }, - }, -}; -/* [houjihai end] */ - static struct msm_gpiomux_config mdm9625_cdc_reset_config[] __initdata = { { .gpio = 22, /* SYS_RST_N */ @@ -380,76 +339,6 @@ static void msm9625_disp_init_gpiomux(void) } #endif /* CONFIG_FB_MSM_QPIC */ -#ifdef CONFIG_MP2617_CHARGER -static struct gpiomux_setting mp2617_gpio_input_active_cfg = { - .func = GPIOMUX_FUNC_GPIO, - .drv = GPIOMUX_DRV_2MA, - .pull = GPIOMUX_PULL_NONE, - .dir = GPIOMUX_IN, -}; - -static struct gpiomux_setting mp2617_gpio_input_suspend_cfg = { - .func = GPIOMUX_FUNC_GPIO, - .drv = GPIOMUX_DRV_2MA, - .pull = GPIOMUX_PULL_NONE, - .dir = GPIOMUX_IN, -}; - -static struct gpiomux_setting mp2617_gpio_output_active_cfg = { - .func = GPIOMUX_FUNC_GPIO, - .drv = GPIOMUX_DRV_2MA, - .pull = GPIOMUX_PULL_NONE, -}; - -static struct gpiomux_setting mp2617_gpio_output_suspend_cfg = { - .func = GPIOMUX_FUNC_GPIO, - .drv = GPIOMUX_DRV_2MA, - .pull = GPIOMUX_PULL_NONE, -}; - -/* refer to msm9625-mtp.dtsi */ -static struct msm_gpiomux_config msm9625_mp2617_configs[] __initdata = { - { - .gpio = 13, /* Charge Enable, 1: Enable, 0: Disable */ - .settings = { - [GPIOMUX_ACTIVE] = &mp2617_gpio_output_active_cfg, - [GPIOMUX_SUSPENDED] = &mp2617_gpio_output_suspend_cfg, - }, - }, - { - .gpio = 16, /* M0 */ - .settings = { - [GPIOMUX_ACTIVE] = &mp2617_gpio_output_active_cfg, - [GPIOMUX_SUSPENDED] = &mp2617_gpio_output_suspend_cfg, - }, - }, - { - .gpio = 17, /* M1 */ - .settings = { - [GPIOMUX_ACTIVE] = &mp2617_gpio_output_active_cfg, - [GPIOMUX_SUSPENDED] = &mp2617_gpio_output_suspend_cfg, - }, - }, - { - .gpio = 70, /* CHGOK, 0: Charging, 1: Complete */ - .settings = { - [GPIOMUX_ACTIVE] = &mp2617_gpio_input_active_cfg, - [GPIOMUX_SUSPENDED] = &mp2617_gpio_input_suspend_cfg, - }, - }, - -#ifdef CONFIG_POWER_BANK_DETECT_SUPPORT - { - .gpio = 14, /* Boost_EN, 0: Disbale, 1: Enable */ - .settings = { - [GPIOMUX_ACTIVE] = &mp2617_gpio_output_active_cfg, - [GPIOMUX_SUSPENDED] = &mp2617_gpio_output_suspend_cfg, - }, - }, -#endif -}; -#endif - void __init msm9625_init_gpiomux(void) { int rc; @@ -466,18 +355,9 @@ void __init msm9625_init_gpiomux(void) ARRAY_SIZE(wlan_ath6kl_configs)); msm_gpiomux_install(mdm9625_mi2s_configs, ARRAY_SIZE(mdm9625_mi2s_configs)); - /* [houjihai start] */ - msm_gpiomux_install(mdm9625_key_configs, - ARRAY_SIZE(mdm9625_key_configs)); - /* [houjihai end] */ msm_gpiomux_install(mdm9625_cdc_reset_config, ARRAY_SIZE(mdm9625_cdc_reset_config)); msm_gpiomux_install(sdc2_card_det_config, ARRAY_SIZE(sdc2_card_det_config)); msm9625_disp_init_gpiomux(); - -#ifdef CONFIG_MP2617_CHARGER - msm_gpiomux_install(msm9625_mp2617_configs, - ARRAY_SIZE(msm9625_mp2617_configs)); -#endif } diff --git a/kernel/arch/arm/mach-msm/board-9625.c b/kernel/arch/arm/mach-msm/board-9625.c old mode 100755 new mode 100644 index 6845cf649..fad2efc97 --- a/kernel/arch/arm/mach-msm/board-9625.c +++ b/kernel/arch/arm/mach-msm/board-9625.c @@ -44,7 +44,6 @@ #include "modem_notifier.h" #include "lpm_resources.h" #include "spm.h" -#include "pm8019_ext.h" #define MSM_KERNEL_EBI_SIZE 0x51000 @@ -254,8 +253,6 @@ void __init msm9625_init(void) msm9625_init_gpiomux(); board_dt_populate(msm9625_auxdata_lookup); msm9625_add_drivers(); - - export_pmic_interface(); } DT_MACHINE_START(MSM9625_DT, "Qualcomm MSM 9625 (Flattened Device Tree)") diff --git a/kernel/arch/arm/mach-msm/board-lte-module-v1-gpiomux.c b/kernel/arch/arm/mach-msm/board-lte-module-v1-gpiomux.c deleted file mode 100755 index 24674db71..000000000 --- a/kernel/arch/arm/mach-msm/board-lte-module-v1-gpiomux.c +++ /dev/null @@ -1,404 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - * - */ - -#include -#include -#include -#include -#include - -static struct gpiomux_setting gpio_uart_config = { - .func = GPIOMUX_FUNC_1, - .drv = GPIOMUX_DRV_8MA, - .pull = GPIOMUX_PULL_NONE, - .dir = GPIOMUX_OUT_HIGH, -}; - -#ifndef CONFIG_TPLINK_FEATURE_LED -static struct gpiomux_setting gpio_spi_cs_config = { - .func = GPIOMUX_FUNC_GPIO, - .drv = GPIOMUX_DRV_12MA, - .pull = GPIOMUX_PULL_NONE, -}; -#endif - -static struct gpiomux_setting gpio_spi_cs_suspend_config = { - .func = GPIOMUX_FUNC_GPIO, - .drv = GPIOMUX_DRV_12MA, - .pull = GPIOMUX_PULL_UP, -}; - -static struct gpiomux_setting gpio_spi_cs_active_up_config = { - .func = GPIOMUX_FUNC_GPIO, - .drv = GPIOMUX_DRV_12MA, - .pull = GPIOMUX_PULL_UP, -}; - -#ifndef CONFIG_TPLINK_FEATURE_LED -static struct gpiomux_setting gpio_spi_config = { - .func = GPIOMUX_FUNC_1, - .drv = GPIOMUX_DRV_12MA, - .pull = GPIOMUX_PULL_NONE, -}; -#endif - -static struct gpiomux_setting gpio_i2c_config = { - .func = GPIOMUX_FUNC_3, - .drv = GPIOMUX_DRV_2MA, - .pull = GPIOMUX_PULL_NONE, -}; - -#ifndef CONFIG_TPLINK_FEATURE_LED -static struct gpiomux_setting gpio_spi_cs_active_config = { - .func = GPIOMUX_FUNC_GPIO, - .drv = GPIOMUX_DRV_8MA, - .pull = GPIOMUX_PULL_NONE, -}; -#endif - -static struct msm_gpiomux_config msm_blsp_configs[] __initdata = { -#ifndef CONFIG_TPLINK_FEATURE_LED - { - .gpio = 4, /* BLSP1 QUP2 SPI_DATA_MOSI */ - .settings = { - [GPIOMUX_SUSPENDED] = &gpio_spi_config, - }, - }, - { - .gpio = 5, /* BLSP1 QUP2 SPI_DATA_MISO */ - .settings = { - [GPIOMUX_SUSPENDED] = &gpio_spi_config, - }, - }, - { - .gpio = 6, /* BLSP1 QUP2 SPI_CS_N */ - .settings = { - [GPIOMUX_ACTIVE] = &gpio_spi_cs_active_config, - [GPIOMUX_SUSPENDED] = &gpio_spi_cs_config, - }, - }, - { - .gpio = 7, /* BLSP1 QUP2 SPI_CLK */ - .settings = { - [GPIOMUX_SUSPENDED] = &gpio_spi_config, - }, - }, -#endif - { - .gpio = 8, /* BLSP1 UART TX */ - .settings = { - [GPIOMUX_SUSPENDED] = &gpio_uart_config, - }, - }, - { - .gpio = 9, /* BLSP1 UART RX */ - .settings = { - [GPIOMUX_SUSPENDED] = &gpio_uart_config, - }, - }, - { - .gpio = 10, /* BLSP1 QUP3 I2C_DAT */ - .settings = { - [GPIOMUX_SUSPENDED] = &gpio_i2c_config, - }, - }, - { - .gpio = 11, /* BLSP1 QUP3 I2C_CLK */ - .settings = { - [GPIOMUX_SUSPENDED] = &gpio_i2c_config, - }, - }, - { - .gpio = 61, - .settings = { - [GPIOMUX_ACTIVE] = &gpio_spi_cs_active_up_config, - [GPIOMUX_SUSPENDED] = &gpio_spi_cs_suspend_config, - }, - }, -}; - -/* [houjihai start] */ -static struct gpiomux_setting key_active_cfg = { - .func = GPIOMUX_FUNC_GPIO, - .drv = GPIOMUX_DRV_8MA, - .pull = GPIOMUX_PULL_NONE, -}; - -static struct gpiomux_setting key_suspend_cfg = { - .func = GPIOMUX_FUNC_GPIO, - .drv = GPIOMUX_DRV_8MA, - .pull = GPIOMUX_PULL_NONE, -}; -/* [houjihai end] */ - -/* [houjihai start] gpio14 for wps key and gpio15 for reset*/ -static struct msm_gpiomux_config mdm9625_key_configs[] __initdata = { - { - .gpio = 14, - .settings = { - [GPIOMUX_SUSPENDED] = &key_suspend_cfg, - [GPIOMUX_ACTIVE] = &key_active_cfg, - }, - }, - { - .gpio = 15, - .settings = { - [GPIOMUX_SUSPENDED] = &key_suspend_cfg, - [GPIOMUX_ACTIVE] = &key_active_cfg, - }, - }, -}; -/* [houjihai end] */ - -static struct gpiomux_setting wlan_ath6kl_active_config = { - .func = GPIOMUX_FUNC_GPIO, - .drv = GPIOMUX_DRV_2MA, - .pull = GPIOMUX_PULL_NONE, - .dir = GPIOMUX_OUT_LOW, -}; - -static struct gpiomux_setting wlan_ath6kl_suspend_config = { - .func = GPIOMUX_FUNC_GPIO, - .drv = GPIOMUX_DRV_2MA, - .pull = GPIOMUX_PULL_NONE, - .dir = GPIOMUX_IN, -}; - -static struct msm_gpiomux_config wlan_ath6kl_configs[] __initdata = { - { - .gpio = 62,/* CHIP_PWD_L */ - .settings = { - [GPIOMUX_ACTIVE] = &wlan_ath6kl_active_config, - [GPIOMUX_SUSPENDED] = &wlan_ath6kl_suspend_config, - }, - }, -}; - -static struct gpiomux_setting sdc2_card_det_cfg = { - .func = GPIOMUX_FUNC_GPIO, - .drv = GPIOMUX_DRV_2MA, - .pull = GPIOMUX_PULL_DOWN, - .dir = GPIOMUX_IN, -}; - -struct msm_gpiomux_config sdc2_card_det_config[] __initdata = { - { - .gpio = 66, - .settings = { - [GPIOMUX_ACTIVE] = &sdc2_card_det_cfg, - [GPIOMUX_SUSPENDED] = &sdc2_card_det_cfg, - }, - }, -}; - -#ifdef CONFIG_FB_MSM_QPIC -static struct gpiomux_setting qpic_lcdc_a_d = { - .func = GPIOMUX_FUNC_1, - .drv = GPIOMUX_DRV_10MA, - .pull = GPIOMUX_PULL_NONE, -}; - -static struct gpiomux_setting qpic_lcdc_cs = { - .func = GPIOMUX_FUNC_1, - .drv = GPIOMUX_DRV_10MA, - .pull = GPIOMUX_PULL_NONE, -}; - -static struct gpiomux_setting qpic_lcdc_rs = { - .func = GPIOMUX_FUNC_1, - .drv = GPIOMUX_DRV_10MA, - .pull = GPIOMUX_PULL_NONE, -}; - -static struct gpiomux_setting qpic_lcdc_te = { - .func = GPIOMUX_FUNC_7, - .drv = GPIOMUX_DRV_10MA, - .pull = GPIOMUX_PULL_NONE, -}; - -static struct msm_gpiomux_config msm9625_qpic_lcdc_configs[] __initdata = { - { - .gpio = 20, /* a_d */ - .settings = { - [GPIOMUX_SUSPENDED] = &qpic_lcdc_a_d, - }, - }, - { - .gpio = 21, /* cs */ - .settings = { - [GPIOMUX_SUSPENDED] = &qpic_lcdc_cs, - }, - }, - { - .gpio = 22, /* te */ - .settings = { - [GPIOMUX_SUSPENDED] = &qpic_lcdc_te, - }, - }, - { - .gpio = 23, /* rs */ - .settings = { - [GPIOMUX_SUSPENDED] = &qpic_lcdc_rs, - }, - }, -}; - -static void msm9625_disp_init_gpiomux(void) -{ - msm_gpiomux_install(msm9625_qpic_lcdc_configs, - ARRAY_SIZE(msm9625_qpic_lcdc_configs)); -} -#else -static void msm9625_disp_init_gpiomux(void) -{ -} -#endif /* CONFIG_FB_MSM_QPIC */ - -#ifdef CONFIG_MP2617_CHARGER -static struct gpiomux_setting mp2617_gpio_input_active_cfg = { - .func = GPIOMUX_FUNC_GPIO, - .drv = GPIOMUX_DRV_2MA, - .pull = GPIOMUX_PULL_NONE, - .dir = GPIOMUX_IN, -}; - -static struct gpiomux_setting mp2617_gpio_input_suspend_cfg = { - .func = GPIOMUX_FUNC_GPIO, - .drv = GPIOMUX_DRV_2MA, - .pull = GPIOMUX_PULL_NONE, - .dir = GPIOMUX_IN, -}; - -static struct gpiomux_setting mp2617_gpio_output_active_cfg = { - .func = GPIOMUX_FUNC_GPIO, - .drv = GPIOMUX_DRV_2MA, - .pull = GPIOMUX_PULL_NONE, -}; - -static struct gpiomux_setting mp2617_gpio_output_suspend_cfg = { - .func = GPIOMUX_FUNC_GPIO, - .drv = GPIOMUX_DRV_2MA, - .pull = GPIOMUX_PULL_NONE, -}; - -/* refer to msm9625-mtp.dtsi */ -static struct msm_gpiomux_config msm9625_mp2617_configs[] __initdata = { - { - .gpio = 13, /* Charge Enable, 1: Enable, 0: Disable */ - .settings = { - [GPIOMUX_ACTIVE] = &mp2617_gpio_output_active_cfg, - [GPIOMUX_SUSPENDED] = &mp2617_gpio_output_suspend_cfg, - }, - }, - { - .gpio = 12, /* M0 */ - .settings = { - [GPIOMUX_ACTIVE] = &mp2617_gpio_output_active_cfg, - [GPIOMUX_SUSPENDED] = &mp2617_gpio_output_suspend_cfg, - }, - }, - { - .gpio = 17, /* M1 */ - .settings = { - [GPIOMUX_ACTIVE] = &mp2617_gpio_output_active_cfg, - [GPIOMUX_SUSPENDED] = &mp2617_gpio_output_suspend_cfg, - }, - }, - { - .gpio = 71, /* CHGOK, 0: Charging, 1: Complete */ - .settings = { - [GPIOMUX_ACTIVE] = &mp2617_gpio_input_active_cfg, - [GPIOMUX_SUSPENDED] = &mp2617_gpio_input_suspend_cfg, - }, - }, -}; -#endif - -#ifdef CONFIG_TPLINK_FEATURE_LED -static struct gpiomux_setting leds_gpio_active_cfg = { - .func = GPIOMUX_FUNC_GPIO, - .drv = GPIOMUX_DRV_8MA, - .pull = GPIOMUX_PULL_NONE, - .dir = GPIOMUX_OUT_HIGH, -}; - -static struct gpiomux_setting leds_gpio_suspend_cfg = { - .func = GPIOMUX_FUNC_GPIO, - .drv = GPIOMUX_DRV_2MA, - .pull = GPIOMUX_PULL_NONE, -}; - -static struct msm_gpiomux_config mdm9625_leds_gpio_configs[] __initdata = { - { - .gpio = 4, - .settings = { - [GPIOMUX_ACTIVE] = &leds_gpio_active_cfg, - [GPIOMUX_SUSPENDED] = &leds_gpio_suspend_cfg, - }, - }, - { - .gpio = 5, - .settings = { - [GPIOMUX_ACTIVE] = &leds_gpio_active_cfg, - [GPIOMUX_SUSPENDED] = &leds_gpio_suspend_cfg, - }, - }, - { - .gpio = 6, - .settings = { - [GPIOMUX_ACTIVE] = &leds_gpio_active_cfg, - [GPIOMUX_SUSPENDED] = &leds_gpio_suspend_cfg, - }, - }, - { - .gpio = 7, - .settings = { - [GPIOMUX_ACTIVE] = &leds_gpio_active_cfg, - [GPIOMUX_SUSPENDED] = &leds_gpio_suspend_cfg, - }, - }, -}; -#endif - -void __init msm9625_init_gpiomux(void) -{ - int rc; - - rc = msm_gpiomux_init_dt(); - if (rc) { - pr_err("%s failed %d\n", __func__, rc); - return; - } - - msm_gpiomux_install(msm_blsp_configs, ARRAY_SIZE(msm_blsp_configs)); - msm_gpiomux_install(wlan_ath6kl_configs, - ARRAY_SIZE(wlan_ath6kl_configs)); - /* [houjihai start] */ - msm_gpiomux_install(mdm9625_key_configs, - ARRAY_SIZE(mdm9625_key_configs)); - /* [houjihai end] */ - -#ifdef CONFIG_TPLINK_FEATURE_LED - msm_gpiomux_install(mdm9625_leds_gpio_configs, - ARRAY_SIZE(mdm9625_leds_gpio_configs)); -#endif - - msm_gpiomux_install(sdc2_card_det_config, - ARRAY_SIZE(sdc2_card_det_config)); - msm9625_disp_init_gpiomux(); - -#ifdef CONFIG_MP2617_CHARGER - msm_gpiomux_install(msm9625_mp2617_configs, - ARRAY_SIZE(msm9625_mp2617_configs)); -#endif -} diff --git a/kernel/arch/arm/mach-msm/board-m7300-un-v1-gpiomux.c b/kernel/arch/arm/mach-msm/board-m7300-un-v1-gpiomux.c deleted file mode 100755 index c7ac649b7..000000000 --- a/kernel/arch/arm/mach-msm/board-m7300-un-v1-gpiomux.c +++ /dev/null @@ -1,344 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - * - */ - -#include -#include -#include -#include -#include - -static struct gpiomux_setting gpio_uart_config = { - .func = GPIOMUX_FUNC_1, - .drv = GPIOMUX_DRV_8MA, - .pull = GPIOMUX_PULL_NONE, - .dir = GPIOMUX_OUT_HIGH, -}; - -static struct gpiomux_setting gpio_spi_cs_config = { - .func = GPIOMUX_FUNC_GPIO, - .drv = GPIOMUX_DRV_12MA, - .pull = GPIOMUX_PULL_NONE, -}; - -static struct gpiomux_setting gpio_spi_cs_suspend_config = { - .func = GPIOMUX_FUNC_GPIO, - .drv = GPIOMUX_DRV_12MA, - .pull = GPIOMUX_PULL_UP, -}; - -static struct gpiomux_setting gpio_spi_cs_active_up_config = { - .func = GPIOMUX_FUNC_GPIO, - .drv = GPIOMUX_DRV_12MA, - .pull = GPIOMUX_PULL_UP, -}; - -static struct gpiomux_setting gpio_spi_config = { - .func = GPIOMUX_FUNC_1, - .drv = GPIOMUX_DRV_12MA, - .pull = GPIOMUX_PULL_NONE, -}; - -static struct gpiomux_setting gpio_i2c_config = { - .func = GPIOMUX_FUNC_3, - .drv = GPIOMUX_DRV_2MA, - .pull = GPIOMUX_PULL_NONE, -}; - -static struct gpiomux_setting gpio_spi_cs_active_config = { - .func = GPIOMUX_FUNC_GPIO, - .drv = GPIOMUX_DRV_8MA, - .pull = GPIOMUX_PULL_NONE, -}; - -static struct msm_gpiomux_config msm_blsp_configs[] __initdata = { - { - .gpio = 4, /* BLSP1 QUP2 SPI_DATA_MOSI */ - .settings = { - [GPIOMUX_SUSPENDED] = &gpio_spi_config, - }, - }, - { - .gpio = 5, /* BLSP1 QUP2 SPI_DATA_MISO */ - .settings = { - [GPIOMUX_SUSPENDED] = &gpio_spi_config, - }, - }, - { - .gpio = 6, /* BLSP1 QUP2 SPI_CS_N */ - .settings = { - [GPIOMUX_ACTIVE] = &gpio_spi_cs_active_config, - [GPIOMUX_SUSPENDED] = &gpio_spi_cs_config, - }, - }, - { - .gpio = 7, /* BLSP1 QUP2 SPI_CLK */ - .settings = { - [GPIOMUX_SUSPENDED] = &gpio_spi_config, - }, - }, - { - .gpio = 8, /* BLSP1 UART TX */ - .settings = { - [GPIOMUX_SUSPENDED] = &gpio_uart_config, - }, - }, - { - .gpio = 9, /* BLSP1 UART RX */ - .settings = { - [GPIOMUX_SUSPENDED] = &gpio_uart_config, - }, - }, - { - .gpio = 10, /* BLSP1 QUP3 I2C_DAT */ - .settings = { - [GPIOMUX_SUSPENDED] = &gpio_i2c_config, - }, - }, - { - .gpio = 11, /* BLSP1 QUP3 I2C_CLK */ - .settings = { - [GPIOMUX_SUSPENDED] = &gpio_i2c_config, - }, - }, - { - .gpio = 61, - .settings = { - [GPIOMUX_ACTIVE] = &gpio_spi_cs_active_up_config, - [GPIOMUX_SUSPENDED] = &gpio_spi_cs_suspend_config, - }, - }, -}; - -/* [houjihai start] */ -static struct gpiomux_setting key_active_cfg = { - .func = GPIOMUX_FUNC_GPIO, - .drv = GPIOMUX_DRV_8MA, - .pull = GPIOMUX_PULL_NONE, -}; - -static struct gpiomux_setting key_suspend_cfg = { - .func = GPIOMUX_FUNC_GPIO, - .drv = GPIOMUX_DRV_8MA, - .pull = GPIOMUX_PULL_NONE, -}; -/* [houjihai end] */ - -/* [houjihai start] gpio14 for wps key and gpio15 for reset*/ -static struct msm_gpiomux_config mdm9625_key_configs[] __initdata = { - { - .gpio = 14, - .settings = { - [GPIOMUX_SUSPENDED] = &key_suspend_cfg, - [GPIOMUX_ACTIVE] = &key_active_cfg, - }, - }, - { - .gpio = 15, - .settings = { - [GPIOMUX_SUSPENDED] = &key_suspend_cfg, - [GPIOMUX_ACTIVE] = &key_active_cfg, - }, - }, -}; -/* [houjihai end] */ - -static struct gpiomux_setting wlan_ath6kl_active_config = { - .func = GPIOMUX_FUNC_GPIO, - .drv = GPIOMUX_DRV_2MA, - .pull = GPIOMUX_PULL_NONE, - .dir = GPIOMUX_OUT_LOW, -}; - -static struct gpiomux_setting wlan_ath6kl_suspend_config = { - .func = GPIOMUX_FUNC_GPIO, - .drv = GPIOMUX_DRV_2MA, - .pull = GPIOMUX_PULL_NONE, - .dir = GPIOMUX_IN, -}; - -static struct msm_gpiomux_config wlan_ath6kl_configs[] __initdata = { - { - .gpio = 62,/* CHIP_PWD_L */ - .settings = { - [GPIOMUX_ACTIVE] = &wlan_ath6kl_active_config, - [GPIOMUX_SUSPENDED] = &wlan_ath6kl_suspend_config, - }, - }, -}; - -static struct gpiomux_setting sdc2_card_det_cfg = { - .func = GPIOMUX_FUNC_GPIO, - .drv = GPIOMUX_DRV_2MA, - .pull = GPIOMUX_PULL_DOWN, - .dir = GPIOMUX_IN, -}; - -struct msm_gpiomux_config sdc2_card_det_config[] __initdata = { - { - .gpio = 66, - .settings = { - [GPIOMUX_ACTIVE] = &sdc2_card_det_cfg, - [GPIOMUX_SUSPENDED] = &sdc2_card_det_cfg, - }, - }, -}; - -#ifdef CONFIG_FB_MSM_QPIC -static struct gpiomux_setting qpic_lcdc_a_d = { - .func = GPIOMUX_FUNC_1, - .drv = GPIOMUX_DRV_10MA, - .pull = GPIOMUX_PULL_NONE, -}; - -static struct gpiomux_setting qpic_lcdc_cs = { - .func = GPIOMUX_FUNC_1, - .drv = GPIOMUX_DRV_10MA, - .pull = GPIOMUX_PULL_NONE, -}; - -static struct gpiomux_setting qpic_lcdc_rs = { - .func = GPIOMUX_FUNC_1, - .drv = GPIOMUX_DRV_10MA, - .pull = GPIOMUX_PULL_NONE, -}; - -static struct gpiomux_setting qpic_lcdc_te = { - .func = GPIOMUX_FUNC_7, - .drv = GPIOMUX_DRV_10MA, - .pull = GPIOMUX_PULL_NONE, -}; - -static struct msm_gpiomux_config msm9625_qpic_lcdc_configs[] __initdata = { - { - .gpio = 20, /* a_d */ - .settings = { - [GPIOMUX_SUSPENDED] = &qpic_lcdc_a_d, - }, - }, - { - .gpio = 21, /* cs */ - .settings = { - [GPIOMUX_SUSPENDED] = &qpic_lcdc_cs, - }, - }, - { - .gpio = 22, /* te */ - .settings = { - [GPIOMUX_SUSPENDED] = &qpic_lcdc_te, - }, - }, - { - .gpio = 23, /* rs */ - .settings = { - [GPIOMUX_SUSPENDED] = &qpic_lcdc_rs, - }, - }, -}; - -static void msm9625_disp_init_gpiomux(void) -{ - msm_gpiomux_install(msm9625_qpic_lcdc_configs, - ARRAY_SIZE(msm9625_qpic_lcdc_configs)); -} -#else -static void msm9625_disp_init_gpiomux(void) -{ -} -#endif /* CONFIG_FB_MSM_QPIC */ - -#ifdef CONFIG_MP2617_CHARGER -static struct gpiomux_setting mp2617_gpio_input_active_cfg = { - .func = GPIOMUX_FUNC_GPIO, - .drv = GPIOMUX_DRV_2MA, - .pull = GPIOMUX_PULL_NONE, - .dir = GPIOMUX_IN, -}; - -static struct gpiomux_setting mp2617_gpio_input_suspend_cfg = { - .func = GPIOMUX_FUNC_GPIO, - .drv = GPIOMUX_DRV_2MA, - .pull = GPIOMUX_PULL_NONE, - .dir = GPIOMUX_IN, -}; - -static struct gpiomux_setting mp2617_gpio_output_active_cfg = { - .func = GPIOMUX_FUNC_GPIO, - .drv = GPIOMUX_DRV_2MA, - .pull = GPIOMUX_PULL_NONE, -}; - -static struct gpiomux_setting mp2617_gpio_output_suspend_cfg = { - .func = GPIOMUX_FUNC_GPIO, - .drv = GPIOMUX_DRV_2MA, - .pull = GPIOMUX_PULL_NONE, -}; - -/* refer to msm9625-mtp.dtsi */ -static struct msm_gpiomux_config msm9625_mp2617_configs[] __initdata = { - { - .gpio = 13, /* Charge Enable, 1: Enable, 0: Disable */ - .settings = { - [GPIOMUX_ACTIVE] = &mp2617_gpio_output_active_cfg, - [GPIOMUX_SUSPENDED] = &mp2617_gpio_output_suspend_cfg, - }, - }, - { - .gpio = 12, /* M0 */ - .settings = { - [GPIOMUX_ACTIVE] = &mp2617_gpio_output_active_cfg, - [GPIOMUX_SUSPENDED] = &mp2617_gpio_output_suspend_cfg, - }, - }, - { - .gpio = 17, /* M1 */ - .settings = { - [GPIOMUX_ACTIVE] = &mp2617_gpio_output_active_cfg, - [GPIOMUX_SUSPENDED] = &mp2617_gpio_output_suspend_cfg, - }, - }, - { - .gpio = 71, /* CHGOK, 0: Charging, 1: Complete */ - .settings = { - [GPIOMUX_ACTIVE] = &mp2617_gpio_input_active_cfg, - [GPIOMUX_SUSPENDED] = &mp2617_gpio_input_suspend_cfg, - }, - }, -}; -#endif - -void __init msm9625_init_gpiomux(void) -{ - int rc; - - rc = msm_gpiomux_init_dt(); - if (rc) { - pr_err("%s failed %d\n", __func__, rc); - return; - } - - msm_gpiomux_install(msm_blsp_configs, ARRAY_SIZE(msm_blsp_configs)); - msm_gpiomux_install(wlan_ath6kl_configs, - ARRAY_SIZE(wlan_ath6kl_configs)); - /* [houjihai start] */ - msm_gpiomux_install(mdm9625_key_configs, - ARRAY_SIZE(mdm9625_key_configs)); - /* [houjihai end] */ - msm_gpiomux_install(sdc2_card_det_config, - ARRAY_SIZE(sdc2_card_det_config)); - msm9625_disp_init_gpiomux(); - -#ifdef CONFIG_MP2617_CHARGER - msm_gpiomux_install(msm9625_mp2617_configs, - ARRAY_SIZE(msm9625_mp2617_configs)); -#endif -} diff --git a/kernel/arch/arm/mach-msm/board-m7350-un-v1-gpiomux.c b/kernel/arch/arm/mach-msm/board-m7350-un-v1-gpiomux.c deleted file mode 100755 index 0ce4bc804..000000000 --- a/kernel/arch/arm/mach-msm/board-m7350-un-v1-gpiomux.c +++ /dev/null @@ -1,381 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - * - */ - -#include -#include -#include -#include -#include - -static struct gpiomux_setting gpio_uart_config = { - .func = GPIOMUX_FUNC_1, - .drv = GPIOMUX_DRV_8MA, - .pull = GPIOMUX_PULL_NONE, - .dir = GPIOMUX_OUT_HIGH, -}; - -static struct gpiomux_setting gpio_spi_cs_config = { - .func = GPIOMUX_FUNC_GPIO, - .drv = GPIOMUX_DRV_12MA, - .pull = GPIOMUX_PULL_NONE, -}; - -static struct gpiomux_setting gpio_spi_cs_suspend_config = { - .func = GPIOMUX_FUNC_GPIO, - .drv = GPIOMUX_DRV_12MA, - .pull = GPIOMUX_PULL_UP, -}; - -static struct gpiomux_setting gpio_spi_cs_active_up_config = { - .func = GPIOMUX_FUNC_GPIO, - .drv = GPIOMUX_DRV_12MA, - .pull = GPIOMUX_PULL_UP, -}; - -static struct gpiomux_setting gpio_spi_config = { - .func = GPIOMUX_FUNC_1, - .drv = GPIOMUX_DRV_12MA, - .pull = GPIOMUX_PULL_NONE, -}; - -static struct gpiomux_setting gpio_i2c_config = { - .func = GPIOMUX_FUNC_3, - .drv = GPIOMUX_DRV_2MA, - .pull = GPIOMUX_PULL_NONE, -}; - -static struct gpiomux_setting gpio_spi_cs_active_config = { - .func = GPIOMUX_FUNC_GPIO, - .drv = GPIOMUX_DRV_8MA, - .pull = GPIOMUX_PULL_NONE, -}; - -static struct msm_gpiomux_config msm_blsp_configs[] __initdata = { - { - .gpio = 4, /* BLSP1 QUP2 SPI_DATA_MOSI */ - .settings = { - [GPIOMUX_SUSPENDED] = &gpio_spi_config, - }, - }, - { - .gpio = 5, /* BLSP1 QUP2 SPI_DATA_MISO */ - .settings = { - [GPIOMUX_SUSPENDED] = &gpio_spi_config, - }, - }, - { - .gpio = 6, /* BLSP1 QUP2 SPI_CS_N */ - .settings = { - [GPIOMUX_ACTIVE] = &gpio_spi_cs_active_config, - [GPIOMUX_SUSPENDED] = &gpio_spi_cs_config, - }, - }, - { - .gpio = 7, /* BLSP1 QUP2 SPI_CLK */ - .settings = { - [GPIOMUX_SUSPENDED] = &gpio_spi_config, - }, - }, - { - .gpio = 8, /* BLSP1 UART TX */ - .settings = { - [GPIOMUX_SUSPENDED] = &gpio_uart_config, - }, - }, - { - .gpio = 9, /* BLSP1 UART RX */ - .settings = { - [GPIOMUX_SUSPENDED] = &gpio_uart_config, - }, - }, - { - .gpio = 10, /* BLSP1 QUP3 I2C_DAT */ - .settings = { - [GPIOMUX_SUSPENDED] = &gpio_i2c_config, - }, - }, - { - .gpio = 11, /* BLSP1 QUP3 I2C_CLK */ - .settings = { - [GPIOMUX_SUSPENDED] = &gpio_i2c_config, - }, - }, - { - .gpio = 61, - .settings = { - [GPIOMUX_ACTIVE] = &gpio_spi_cs_active_up_config, - [GPIOMUX_SUSPENDED] = &gpio_spi_cs_suspend_config, - }, - }, -}; - -/* [houjihai start] */ -static struct gpiomux_setting key_active_cfg = { - .func = GPIOMUX_FUNC_GPIO, - .drv = GPIOMUX_DRV_8MA, - .pull = GPIOMUX_PULL_NONE, -}; - -static struct gpiomux_setting key_suspend_cfg = { - .func = GPIOMUX_FUNC_GPIO, - .drv = GPIOMUX_DRV_8MA, - .pull = GPIOMUX_PULL_NONE, -}; -/* [houjihai end] */ - -/* [houjihai start] gpio14 for wps key and gpio15 for reset*/ -static struct msm_gpiomux_config mdm9625_key_configs[] __initdata = { - { - .gpio = 14, - .settings = { - [GPIOMUX_SUSPENDED] = &key_suspend_cfg, - [GPIOMUX_ACTIVE] = &key_active_cfg, - }, - }, - { - .gpio = 15, - .settings = { - [GPIOMUX_SUSPENDED] = &key_suspend_cfg, - [GPIOMUX_ACTIVE] = &key_active_cfg, - }, - }, -}; -/* [houjihai end] */ - -static struct gpiomux_setting wlan_ath6kl_active_config = { - .func = GPIOMUX_FUNC_GPIO, - .drv = GPIOMUX_DRV_2MA, - .pull = GPIOMUX_PULL_NONE, - .dir = GPIOMUX_OUT_LOW, -}; - -static struct gpiomux_setting wlan_ath6kl_suspend_config = { - .func = GPIOMUX_FUNC_GPIO, - .drv = GPIOMUX_DRV_2MA, - .pull = GPIOMUX_PULL_NONE, - .dir = GPIOMUX_IN, -}; - -static struct msm_gpiomux_config wlan_ath6kl_configs[] __initdata = { - { - .gpio = 62,/* CHIP_PWD_L */ - .settings = { - [GPIOMUX_ACTIVE] = &wlan_ath6kl_active_config, - [GPIOMUX_SUSPENDED] = &wlan_ath6kl_suspend_config, - }, - }, -}; - -static struct gpiomux_setting sdc2_card_det_cfg = { - .func = GPIOMUX_FUNC_GPIO, - .drv = GPIOMUX_DRV_2MA, - .pull = GPIOMUX_PULL_DOWN, - .dir = GPIOMUX_IN, -}; - -struct msm_gpiomux_config sdc2_card_det_config[] __initdata = { - { - .gpio = 66, - .settings = { - [GPIOMUX_ACTIVE] = &sdc2_card_det_cfg, - [GPIOMUX_SUSPENDED] = &sdc2_card_det_cfg, - }, - }, -}; - -#ifdef CONFIG_OLED_S90319_PT -static struct msm_gpiomux_config msm9625_oled_s90319_configs[] __initdata = { - { - .gpio = 20, - .settings = { - [GPIOMUX_ACTIVE] = &gpio_spi_cs_active_up_config, - [GPIOMUX_SUSPENDED] = &gpio_spi_cs_suspend_config, - }, - }, - { - .gpio = 21, - .settings = { - [GPIOMUX_ACTIVE] = &gpio_spi_cs_active_config, - [GPIOMUX_SUSPENDED] = &gpio_spi_cs_config, - }, - }, - { - .gpio = 22, - .settings = { - [GPIOMUX_ACTIVE] = &gpio_spi_cs_active_up_config, - [GPIOMUX_SUSPENDED] = &gpio_spi_cs_suspend_config, - }, - }, - { - .gpio = 23, - .settings = { - [GPIOMUX_ACTIVE] = &gpio_spi_cs_active_up_config, - [GPIOMUX_SUSPENDED] = &gpio_spi_cs_suspend_config, - }, - }, -}; -#endif - -#ifdef CONFIG_FB_MSM_QPIC -static struct gpiomux_setting qpic_lcdc_a_d = { - .func = GPIOMUX_FUNC_1, - .drv = GPIOMUX_DRV_10MA, - .pull = GPIOMUX_PULL_NONE, -}; - -static struct gpiomux_setting qpic_lcdc_cs = { - .func = GPIOMUX_FUNC_1, - .drv = GPIOMUX_DRV_10MA, - .pull = GPIOMUX_PULL_NONE, -}; - -static struct gpiomux_setting qpic_lcdc_rs = { - .func = GPIOMUX_FUNC_1, - .drv = GPIOMUX_DRV_10MA, - .pull = GPIOMUX_PULL_NONE, -}; - -static struct gpiomux_setting qpic_lcdc_te = { - .func = GPIOMUX_FUNC_7, - .drv = GPIOMUX_DRV_10MA, - .pull = GPIOMUX_PULL_NONE, -}; - -static struct msm_gpiomux_config msm9625_qpic_lcdc_configs[] __initdata = { - { - .gpio = 20, /* a_d */ - .settings = { - [GPIOMUX_SUSPENDED] = &qpic_lcdc_a_d, - }, - }, - { - .gpio = 21, /* cs */ - .settings = { - [GPIOMUX_SUSPENDED] = &qpic_lcdc_cs, - }, - }, - { - .gpio = 22, /* te */ - .settings = { - [GPIOMUX_SUSPENDED] = &qpic_lcdc_te, - }, - }, - { - .gpio = 23, /* rs */ - .settings = { - [GPIOMUX_SUSPENDED] = &qpic_lcdc_rs, - }, - }, -}; - -static void msm9625_disp_init_gpiomux(void) -{ - msm_gpiomux_install(msm9625_qpic_lcdc_configs, - ARRAY_SIZE(msm9625_qpic_lcdc_configs)); -} -#else -static void msm9625_disp_init_gpiomux(void) -{ -} -#endif /* CONFIG_FB_MSM_QPIC */ - -#ifdef CONFIG_MP2617_CHARGER -static struct gpiomux_setting mp2617_gpio_input_active_cfg = { - .func = GPIOMUX_FUNC_GPIO, - .drv = GPIOMUX_DRV_2MA, - .pull = GPIOMUX_PULL_NONE, - .dir = GPIOMUX_IN, -}; - -static struct gpiomux_setting mp2617_gpio_input_suspend_cfg = { - .func = GPIOMUX_FUNC_GPIO, - .drv = GPIOMUX_DRV_2MA, - .pull = GPIOMUX_PULL_NONE, - .dir = GPIOMUX_IN, -}; - -static struct gpiomux_setting mp2617_gpio_output_active_cfg = { - .func = GPIOMUX_FUNC_GPIO, - .drv = GPIOMUX_DRV_2MA, - .pull = GPIOMUX_PULL_NONE, -}; - -static struct gpiomux_setting mp2617_gpio_output_suspend_cfg = { - .func = GPIOMUX_FUNC_GPIO, - .drv = GPIOMUX_DRV_2MA, - .pull = GPIOMUX_PULL_NONE, -}; - -/* refer to msm9625-mtp.dtsi */ -static struct msm_gpiomux_config msm9625_mp2617_configs[] __initdata = { - { - .gpio = 13, /* Charge Enable, 1: Enable, 0: Disable */ - .settings = { - [GPIOMUX_ACTIVE] = &mp2617_gpio_output_active_cfg, - [GPIOMUX_SUSPENDED] = &mp2617_gpio_output_suspend_cfg, - }, - }, - { - .gpio = 12, /* M0 */ - .settings = { - [GPIOMUX_ACTIVE] = &mp2617_gpio_output_active_cfg, - [GPIOMUX_SUSPENDED] = &mp2617_gpio_output_suspend_cfg, - }, - }, - { - .gpio = 17, /* M1 */ - .settings = { - [GPIOMUX_ACTIVE] = &mp2617_gpio_output_active_cfg, - [GPIOMUX_SUSPENDED] = &mp2617_gpio_output_suspend_cfg, - }, - }, - { - .gpio = 71, /* CHGOK, 0: Charging, 1: Complete */ - .settings = { - [GPIOMUX_ACTIVE] = &mp2617_gpio_input_active_cfg, - [GPIOMUX_SUSPENDED] = &mp2617_gpio_input_suspend_cfg, - }, - }, -}; -#endif - -void __init msm9625_init_gpiomux(void) -{ - int rc; - - rc = msm_gpiomux_init_dt(); - if (rc) { - pr_err("%s failed %d\n", __func__, rc); - return; - } - - msm_gpiomux_install(msm_blsp_configs, ARRAY_SIZE(msm_blsp_configs)); - msm_gpiomux_install(wlan_ath6kl_configs, - ARRAY_SIZE(wlan_ath6kl_configs)); - /* [houjihai start] */ - msm_gpiomux_install(mdm9625_key_configs, - ARRAY_SIZE(mdm9625_key_configs)); - /* [houjihai end] */ - msm_gpiomux_install(sdc2_card_det_config, - ARRAY_SIZE(sdc2_card_det_config)); - msm9625_disp_init_gpiomux(); -#ifdef CONFIG_OLED_S90319_PT - msm_gpiomux_install(msm9625_oled_s90319_configs, - ARRAY_SIZE(msm9625_oled_s90319_configs)); -#endif - -#ifdef CONFIG_MP2617_CHARGER - msm_gpiomux_install(msm9625_mp2617_configs, - ARRAY_SIZE(msm9625_mp2617_configs)); -#endif -} diff --git a/kernel/arch/arm/mach-msm/board-m7350-un-v2-gpiomux.c b/kernel/arch/arm/mach-msm/board-m7350-un-v2-gpiomux.c deleted file mode 100755 index 0ce4bc804..000000000 --- a/kernel/arch/arm/mach-msm/board-m7350-un-v2-gpiomux.c +++ /dev/null @@ -1,381 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - * - */ - -#include -#include -#include -#include -#include - -static struct gpiomux_setting gpio_uart_config = { - .func = GPIOMUX_FUNC_1, - .drv = GPIOMUX_DRV_8MA, - .pull = GPIOMUX_PULL_NONE, - .dir = GPIOMUX_OUT_HIGH, -}; - -static struct gpiomux_setting gpio_spi_cs_config = { - .func = GPIOMUX_FUNC_GPIO, - .drv = GPIOMUX_DRV_12MA, - .pull = GPIOMUX_PULL_NONE, -}; - -static struct gpiomux_setting gpio_spi_cs_suspend_config = { - .func = GPIOMUX_FUNC_GPIO, - .drv = GPIOMUX_DRV_12MA, - .pull = GPIOMUX_PULL_UP, -}; - -static struct gpiomux_setting gpio_spi_cs_active_up_config = { - .func = GPIOMUX_FUNC_GPIO, - .drv = GPIOMUX_DRV_12MA, - .pull = GPIOMUX_PULL_UP, -}; - -static struct gpiomux_setting gpio_spi_config = { - .func = GPIOMUX_FUNC_1, - .drv = GPIOMUX_DRV_12MA, - .pull = GPIOMUX_PULL_NONE, -}; - -static struct gpiomux_setting gpio_i2c_config = { - .func = GPIOMUX_FUNC_3, - .drv = GPIOMUX_DRV_2MA, - .pull = GPIOMUX_PULL_NONE, -}; - -static struct gpiomux_setting gpio_spi_cs_active_config = { - .func = GPIOMUX_FUNC_GPIO, - .drv = GPIOMUX_DRV_8MA, - .pull = GPIOMUX_PULL_NONE, -}; - -static struct msm_gpiomux_config msm_blsp_configs[] __initdata = { - { - .gpio = 4, /* BLSP1 QUP2 SPI_DATA_MOSI */ - .settings = { - [GPIOMUX_SUSPENDED] = &gpio_spi_config, - }, - }, - { - .gpio = 5, /* BLSP1 QUP2 SPI_DATA_MISO */ - .settings = { - [GPIOMUX_SUSPENDED] = &gpio_spi_config, - }, - }, - { - .gpio = 6, /* BLSP1 QUP2 SPI_CS_N */ - .settings = { - [GPIOMUX_ACTIVE] = &gpio_spi_cs_active_config, - [GPIOMUX_SUSPENDED] = &gpio_spi_cs_config, - }, - }, - { - .gpio = 7, /* BLSP1 QUP2 SPI_CLK */ - .settings = { - [GPIOMUX_SUSPENDED] = &gpio_spi_config, - }, - }, - { - .gpio = 8, /* BLSP1 UART TX */ - .settings = { - [GPIOMUX_SUSPENDED] = &gpio_uart_config, - }, - }, - { - .gpio = 9, /* BLSP1 UART RX */ - .settings = { - [GPIOMUX_SUSPENDED] = &gpio_uart_config, - }, - }, - { - .gpio = 10, /* BLSP1 QUP3 I2C_DAT */ - .settings = { - [GPIOMUX_SUSPENDED] = &gpio_i2c_config, - }, - }, - { - .gpio = 11, /* BLSP1 QUP3 I2C_CLK */ - .settings = { - [GPIOMUX_SUSPENDED] = &gpio_i2c_config, - }, - }, - { - .gpio = 61, - .settings = { - [GPIOMUX_ACTIVE] = &gpio_spi_cs_active_up_config, - [GPIOMUX_SUSPENDED] = &gpio_spi_cs_suspend_config, - }, - }, -}; - -/* [houjihai start] */ -static struct gpiomux_setting key_active_cfg = { - .func = GPIOMUX_FUNC_GPIO, - .drv = GPIOMUX_DRV_8MA, - .pull = GPIOMUX_PULL_NONE, -}; - -static struct gpiomux_setting key_suspend_cfg = { - .func = GPIOMUX_FUNC_GPIO, - .drv = GPIOMUX_DRV_8MA, - .pull = GPIOMUX_PULL_NONE, -}; -/* [houjihai end] */ - -/* [houjihai start] gpio14 for wps key and gpio15 for reset*/ -static struct msm_gpiomux_config mdm9625_key_configs[] __initdata = { - { - .gpio = 14, - .settings = { - [GPIOMUX_SUSPENDED] = &key_suspend_cfg, - [GPIOMUX_ACTIVE] = &key_active_cfg, - }, - }, - { - .gpio = 15, - .settings = { - [GPIOMUX_SUSPENDED] = &key_suspend_cfg, - [GPIOMUX_ACTIVE] = &key_active_cfg, - }, - }, -}; -/* [houjihai end] */ - -static struct gpiomux_setting wlan_ath6kl_active_config = { - .func = GPIOMUX_FUNC_GPIO, - .drv = GPIOMUX_DRV_2MA, - .pull = GPIOMUX_PULL_NONE, - .dir = GPIOMUX_OUT_LOW, -}; - -static struct gpiomux_setting wlan_ath6kl_suspend_config = { - .func = GPIOMUX_FUNC_GPIO, - .drv = GPIOMUX_DRV_2MA, - .pull = GPIOMUX_PULL_NONE, - .dir = GPIOMUX_IN, -}; - -static struct msm_gpiomux_config wlan_ath6kl_configs[] __initdata = { - { - .gpio = 62,/* CHIP_PWD_L */ - .settings = { - [GPIOMUX_ACTIVE] = &wlan_ath6kl_active_config, - [GPIOMUX_SUSPENDED] = &wlan_ath6kl_suspend_config, - }, - }, -}; - -static struct gpiomux_setting sdc2_card_det_cfg = { - .func = GPIOMUX_FUNC_GPIO, - .drv = GPIOMUX_DRV_2MA, - .pull = GPIOMUX_PULL_DOWN, - .dir = GPIOMUX_IN, -}; - -struct msm_gpiomux_config sdc2_card_det_config[] __initdata = { - { - .gpio = 66, - .settings = { - [GPIOMUX_ACTIVE] = &sdc2_card_det_cfg, - [GPIOMUX_SUSPENDED] = &sdc2_card_det_cfg, - }, - }, -}; - -#ifdef CONFIG_OLED_S90319_PT -static struct msm_gpiomux_config msm9625_oled_s90319_configs[] __initdata = { - { - .gpio = 20, - .settings = { - [GPIOMUX_ACTIVE] = &gpio_spi_cs_active_up_config, - [GPIOMUX_SUSPENDED] = &gpio_spi_cs_suspend_config, - }, - }, - { - .gpio = 21, - .settings = { - [GPIOMUX_ACTIVE] = &gpio_spi_cs_active_config, - [GPIOMUX_SUSPENDED] = &gpio_spi_cs_config, - }, - }, - { - .gpio = 22, - .settings = { - [GPIOMUX_ACTIVE] = &gpio_spi_cs_active_up_config, - [GPIOMUX_SUSPENDED] = &gpio_spi_cs_suspend_config, - }, - }, - { - .gpio = 23, - .settings = { - [GPIOMUX_ACTIVE] = &gpio_spi_cs_active_up_config, - [GPIOMUX_SUSPENDED] = &gpio_spi_cs_suspend_config, - }, - }, -}; -#endif - -#ifdef CONFIG_FB_MSM_QPIC -static struct gpiomux_setting qpic_lcdc_a_d = { - .func = GPIOMUX_FUNC_1, - .drv = GPIOMUX_DRV_10MA, - .pull = GPIOMUX_PULL_NONE, -}; - -static struct gpiomux_setting qpic_lcdc_cs = { - .func = GPIOMUX_FUNC_1, - .drv = GPIOMUX_DRV_10MA, - .pull = GPIOMUX_PULL_NONE, -}; - -static struct gpiomux_setting qpic_lcdc_rs = { - .func = GPIOMUX_FUNC_1, - .drv = GPIOMUX_DRV_10MA, - .pull = GPIOMUX_PULL_NONE, -}; - -static struct gpiomux_setting qpic_lcdc_te = { - .func = GPIOMUX_FUNC_7, - .drv = GPIOMUX_DRV_10MA, - .pull = GPIOMUX_PULL_NONE, -}; - -static struct msm_gpiomux_config msm9625_qpic_lcdc_configs[] __initdata = { - { - .gpio = 20, /* a_d */ - .settings = { - [GPIOMUX_SUSPENDED] = &qpic_lcdc_a_d, - }, - }, - { - .gpio = 21, /* cs */ - .settings = { - [GPIOMUX_SUSPENDED] = &qpic_lcdc_cs, - }, - }, - { - .gpio = 22, /* te */ - .settings = { - [GPIOMUX_SUSPENDED] = &qpic_lcdc_te, - }, - }, - { - .gpio = 23, /* rs */ - .settings = { - [GPIOMUX_SUSPENDED] = &qpic_lcdc_rs, - }, - }, -}; - -static void msm9625_disp_init_gpiomux(void) -{ - msm_gpiomux_install(msm9625_qpic_lcdc_configs, - ARRAY_SIZE(msm9625_qpic_lcdc_configs)); -} -#else -static void msm9625_disp_init_gpiomux(void) -{ -} -#endif /* CONFIG_FB_MSM_QPIC */ - -#ifdef CONFIG_MP2617_CHARGER -static struct gpiomux_setting mp2617_gpio_input_active_cfg = { - .func = GPIOMUX_FUNC_GPIO, - .drv = GPIOMUX_DRV_2MA, - .pull = GPIOMUX_PULL_NONE, - .dir = GPIOMUX_IN, -}; - -static struct gpiomux_setting mp2617_gpio_input_suspend_cfg = { - .func = GPIOMUX_FUNC_GPIO, - .drv = GPIOMUX_DRV_2MA, - .pull = GPIOMUX_PULL_NONE, - .dir = GPIOMUX_IN, -}; - -static struct gpiomux_setting mp2617_gpio_output_active_cfg = { - .func = GPIOMUX_FUNC_GPIO, - .drv = GPIOMUX_DRV_2MA, - .pull = GPIOMUX_PULL_NONE, -}; - -static struct gpiomux_setting mp2617_gpio_output_suspend_cfg = { - .func = GPIOMUX_FUNC_GPIO, - .drv = GPIOMUX_DRV_2MA, - .pull = GPIOMUX_PULL_NONE, -}; - -/* refer to msm9625-mtp.dtsi */ -static struct msm_gpiomux_config msm9625_mp2617_configs[] __initdata = { - { - .gpio = 13, /* Charge Enable, 1: Enable, 0: Disable */ - .settings = { - [GPIOMUX_ACTIVE] = &mp2617_gpio_output_active_cfg, - [GPIOMUX_SUSPENDED] = &mp2617_gpio_output_suspend_cfg, - }, - }, - { - .gpio = 12, /* M0 */ - .settings = { - [GPIOMUX_ACTIVE] = &mp2617_gpio_output_active_cfg, - [GPIOMUX_SUSPENDED] = &mp2617_gpio_output_suspend_cfg, - }, - }, - { - .gpio = 17, /* M1 */ - .settings = { - [GPIOMUX_ACTIVE] = &mp2617_gpio_output_active_cfg, - [GPIOMUX_SUSPENDED] = &mp2617_gpio_output_suspend_cfg, - }, - }, - { - .gpio = 71, /* CHGOK, 0: Charging, 1: Complete */ - .settings = { - [GPIOMUX_ACTIVE] = &mp2617_gpio_input_active_cfg, - [GPIOMUX_SUSPENDED] = &mp2617_gpio_input_suspend_cfg, - }, - }, -}; -#endif - -void __init msm9625_init_gpiomux(void) -{ - int rc; - - rc = msm_gpiomux_init_dt(); - if (rc) { - pr_err("%s failed %d\n", __func__, rc); - return; - } - - msm_gpiomux_install(msm_blsp_configs, ARRAY_SIZE(msm_blsp_configs)); - msm_gpiomux_install(wlan_ath6kl_configs, - ARRAY_SIZE(wlan_ath6kl_configs)); - /* [houjihai start] */ - msm_gpiomux_install(mdm9625_key_configs, - ARRAY_SIZE(mdm9625_key_configs)); - /* [houjihai end] */ - msm_gpiomux_install(sdc2_card_det_config, - ARRAY_SIZE(sdc2_card_det_config)); - msm9625_disp_init_gpiomux(); -#ifdef CONFIG_OLED_S90319_PT - msm_gpiomux_install(msm9625_oled_s90319_configs, - ARRAY_SIZE(msm9625_oled_s90319_configs)); -#endif - -#ifdef CONFIG_MP2617_CHARGER - msm_gpiomux_install(msm9625_mp2617_configs, - ARRAY_SIZE(msm9625_mp2617_configs)); -#endif -} diff --git a/kernel/arch/arm/mach-msm/board-m7350-un-v3-gpiomux.c b/kernel/arch/arm/mach-msm/board-m7350-un-v3-gpiomux.c deleted file mode 100755 index 0ce4bc804..000000000 --- a/kernel/arch/arm/mach-msm/board-m7350-un-v3-gpiomux.c +++ /dev/null @@ -1,381 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - * - */ - -#include -#include -#include -#include -#include - -static struct gpiomux_setting gpio_uart_config = { - .func = GPIOMUX_FUNC_1, - .drv = GPIOMUX_DRV_8MA, - .pull = GPIOMUX_PULL_NONE, - .dir = GPIOMUX_OUT_HIGH, -}; - -static struct gpiomux_setting gpio_spi_cs_config = { - .func = GPIOMUX_FUNC_GPIO, - .drv = GPIOMUX_DRV_12MA, - .pull = GPIOMUX_PULL_NONE, -}; - -static struct gpiomux_setting gpio_spi_cs_suspend_config = { - .func = GPIOMUX_FUNC_GPIO, - .drv = GPIOMUX_DRV_12MA, - .pull = GPIOMUX_PULL_UP, -}; - -static struct gpiomux_setting gpio_spi_cs_active_up_config = { - .func = GPIOMUX_FUNC_GPIO, - .drv = GPIOMUX_DRV_12MA, - .pull = GPIOMUX_PULL_UP, -}; - -static struct gpiomux_setting gpio_spi_config = { - .func = GPIOMUX_FUNC_1, - .drv = GPIOMUX_DRV_12MA, - .pull = GPIOMUX_PULL_NONE, -}; - -static struct gpiomux_setting gpio_i2c_config = { - .func = GPIOMUX_FUNC_3, - .drv = GPIOMUX_DRV_2MA, - .pull = GPIOMUX_PULL_NONE, -}; - -static struct gpiomux_setting gpio_spi_cs_active_config = { - .func = GPIOMUX_FUNC_GPIO, - .drv = GPIOMUX_DRV_8MA, - .pull = GPIOMUX_PULL_NONE, -}; - -static struct msm_gpiomux_config msm_blsp_configs[] __initdata = { - { - .gpio = 4, /* BLSP1 QUP2 SPI_DATA_MOSI */ - .settings = { - [GPIOMUX_SUSPENDED] = &gpio_spi_config, - }, - }, - { - .gpio = 5, /* BLSP1 QUP2 SPI_DATA_MISO */ - .settings = { - [GPIOMUX_SUSPENDED] = &gpio_spi_config, - }, - }, - { - .gpio = 6, /* BLSP1 QUP2 SPI_CS_N */ - .settings = { - [GPIOMUX_ACTIVE] = &gpio_spi_cs_active_config, - [GPIOMUX_SUSPENDED] = &gpio_spi_cs_config, - }, - }, - { - .gpio = 7, /* BLSP1 QUP2 SPI_CLK */ - .settings = { - [GPIOMUX_SUSPENDED] = &gpio_spi_config, - }, - }, - { - .gpio = 8, /* BLSP1 UART TX */ - .settings = { - [GPIOMUX_SUSPENDED] = &gpio_uart_config, - }, - }, - { - .gpio = 9, /* BLSP1 UART RX */ - .settings = { - [GPIOMUX_SUSPENDED] = &gpio_uart_config, - }, - }, - { - .gpio = 10, /* BLSP1 QUP3 I2C_DAT */ - .settings = { - [GPIOMUX_SUSPENDED] = &gpio_i2c_config, - }, - }, - { - .gpio = 11, /* BLSP1 QUP3 I2C_CLK */ - .settings = { - [GPIOMUX_SUSPENDED] = &gpio_i2c_config, - }, - }, - { - .gpio = 61, - .settings = { - [GPIOMUX_ACTIVE] = &gpio_spi_cs_active_up_config, - [GPIOMUX_SUSPENDED] = &gpio_spi_cs_suspend_config, - }, - }, -}; - -/* [houjihai start] */ -static struct gpiomux_setting key_active_cfg = { - .func = GPIOMUX_FUNC_GPIO, - .drv = GPIOMUX_DRV_8MA, - .pull = GPIOMUX_PULL_NONE, -}; - -static struct gpiomux_setting key_suspend_cfg = { - .func = GPIOMUX_FUNC_GPIO, - .drv = GPIOMUX_DRV_8MA, - .pull = GPIOMUX_PULL_NONE, -}; -/* [houjihai end] */ - -/* [houjihai start] gpio14 for wps key and gpio15 for reset*/ -static struct msm_gpiomux_config mdm9625_key_configs[] __initdata = { - { - .gpio = 14, - .settings = { - [GPIOMUX_SUSPENDED] = &key_suspend_cfg, - [GPIOMUX_ACTIVE] = &key_active_cfg, - }, - }, - { - .gpio = 15, - .settings = { - [GPIOMUX_SUSPENDED] = &key_suspend_cfg, - [GPIOMUX_ACTIVE] = &key_active_cfg, - }, - }, -}; -/* [houjihai end] */ - -static struct gpiomux_setting wlan_ath6kl_active_config = { - .func = GPIOMUX_FUNC_GPIO, - .drv = GPIOMUX_DRV_2MA, - .pull = GPIOMUX_PULL_NONE, - .dir = GPIOMUX_OUT_LOW, -}; - -static struct gpiomux_setting wlan_ath6kl_suspend_config = { - .func = GPIOMUX_FUNC_GPIO, - .drv = GPIOMUX_DRV_2MA, - .pull = GPIOMUX_PULL_NONE, - .dir = GPIOMUX_IN, -}; - -static struct msm_gpiomux_config wlan_ath6kl_configs[] __initdata = { - { - .gpio = 62,/* CHIP_PWD_L */ - .settings = { - [GPIOMUX_ACTIVE] = &wlan_ath6kl_active_config, - [GPIOMUX_SUSPENDED] = &wlan_ath6kl_suspend_config, - }, - }, -}; - -static struct gpiomux_setting sdc2_card_det_cfg = { - .func = GPIOMUX_FUNC_GPIO, - .drv = GPIOMUX_DRV_2MA, - .pull = GPIOMUX_PULL_DOWN, - .dir = GPIOMUX_IN, -}; - -struct msm_gpiomux_config sdc2_card_det_config[] __initdata = { - { - .gpio = 66, - .settings = { - [GPIOMUX_ACTIVE] = &sdc2_card_det_cfg, - [GPIOMUX_SUSPENDED] = &sdc2_card_det_cfg, - }, - }, -}; - -#ifdef CONFIG_OLED_S90319_PT -static struct msm_gpiomux_config msm9625_oled_s90319_configs[] __initdata = { - { - .gpio = 20, - .settings = { - [GPIOMUX_ACTIVE] = &gpio_spi_cs_active_up_config, - [GPIOMUX_SUSPENDED] = &gpio_spi_cs_suspend_config, - }, - }, - { - .gpio = 21, - .settings = { - [GPIOMUX_ACTIVE] = &gpio_spi_cs_active_config, - [GPIOMUX_SUSPENDED] = &gpio_spi_cs_config, - }, - }, - { - .gpio = 22, - .settings = { - [GPIOMUX_ACTIVE] = &gpio_spi_cs_active_up_config, - [GPIOMUX_SUSPENDED] = &gpio_spi_cs_suspend_config, - }, - }, - { - .gpio = 23, - .settings = { - [GPIOMUX_ACTIVE] = &gpio_spi_cs_active_up_config, - [GPIOMUX_SUSPENDED] = &gpio_spi_cs_suspend_config, - }, - }, -}; -#endif - -#ifdef CONFIG_FB_MSM_QPIC -static struct gpiomux_setting qpic_lcdc_a_d = { - .func = GPIOMUX_FUNC_1, - .drv = GPIOMUX_DRV_10MA, - .pull = GPIOMUX_PULL_NONE, -}; - -static struct gpiomux_setting qpic_lcdc_cs = { - .func = GPIOMUX_FUNC_1, - .drv = GPIOMUX_DRV_10MA, - .pull = GPIOMUX_PULL_NONE, -}; - -static struct gpiomux_setting qpic_lcdc_rs = { - .func = GPIOMUX_FUNC_1, - .drv = GPIOMUX_DRV_10MA, - .pull = GPIOMUX_PULL_NONE, -}; - -static struct gpiomux_setting qpic_lcdc_te = { - .func = GPIOMUX_FUNC_7, - .drv = GPIOMUX_DRV_10MA, - .pull = GPIOMUX_PULL_NONE, -}; - -static struct msm_gpiomux_config msm9625_qpic_lcdc_configs[] __initdata = { - { - .gpio = 20, /* a_d */ - .settings = { - [GPIOMUX_SUSPENDED] = &qpic_lcdc_a_d, - }, - }, - { - .gpio = 21, /* cs */ - .settings = { - [GPIOMUX_SUSPENDED] = &qpic_lcdc_cs, - }, - }, - { - .gpio = 22, /* te */ - .settings = { - [GPIOMUX_SUSPENDED] = &qpic_lcdc_te, - }, - }, - { - .gpio = 23, /* rs */ - .settings = { - [GPIOMUX_SUSPENDED] = &qpic_lcdc_rs, - }, - }, -}; - -static void msm9625_disp_init_gpiomux(void) -{ - msm_gpiomux_install(msm9625_qpic_lcdc_configs, - ARRAY_SIZE(msm9625_qpic_lcdc_configs)); -} -#else -static void msm9625_disp_init_gpiomux(void) -{ -} -#endif /* CONFIG_FB_MSM_QPIC */ - -#ifdef CONFIG_MP2617_CHARGER -static struct gpiomux_setting mp2617_gpio_input_active_cfg = { - .func = GPIOMUX_FUNC_GPIO, - .drv = GPIOMUX_DRV_2MA, - .pull = GPIOMUX_PULL_NONE, - .dir = GPIOMUX_IN, -}; - -static struct gpiomux_setting mp2617_gpio_input_suspend_cfg = { - .func = GPIOMUX_FUNC_GPIO, - .drv = GPIOMUX_DRV_2MA, - .pull = GPIOMUX_PULL_NONE, - .dir = GPIOMUX_IN, -}; - -static struct gpiomux_setting mp2617_gpio_output_active_cfg = { - .func = GPIOMUX_FUNC_GPIO, - .drv = GPIOMUX_DRV_2MA, - .pull = GPIOMUX_PULL_NONE, -}; - -static struct gpiomux_setting mp2617_gpio_output_suspend_cfg = { - .func = GPIOMUX_FUNC_GPIO, - .drv = GPIOMUX_DRV_2MA, - .pull = GPIOMUX_PULL_NONE, -}; - -/* refer to msm9625-mtp.dtsi */ -static struct msm_gpiomux_config msm9625_mp2617_configs[] __initdata = { - { - .gpio = 13, /* Charge Enable, 1: Enable, 0: Disable */ - .settings = { - [GPIOMUX_ACTIVE] = &mp2617_gpio_output_active_cfg, - [GPIOMUX_SUSPENDED] = &mp2617_gpio_output_suspend_cfg, - }, - }, - { - .gpio = 12, /* M0 */ - .settings = { - [GPIOMUX_ACTIVE] = &mp2617_gpio_output_active_cfg, - [GPIOMUX_SUSPENDED] = &mp2617_gpio_output_suspend_cfg, - }, - }, - { - .gpio = 17, /* M1 */ - .settings = { - [GPIOMUX_ACTIVE] = &mp2617_gpio_output_active_cfg, - [GPIOMUX_SUSPENDED] = &mp2617_gpio_output_suspend_cfg, - }, - }, - { - .gpio = 71, /* CHGOK, 0: Charging, 1: Complete */ - .settings = { - [GPIOMUX_ACTIVE] = &mp2617_gpio_input_active_cfg, - [GPIOMUX_SUSPENDED] = &mp2617_gpio_input_suspend_cfg, - }, - }, -}; -#endif - -void __init msm9625_init_gpiomux(void) -{ - int rc; - - rc = msm_gpiomux_init_dt(); - if (rc) { - pr_err("%s failed %d\n", __func__, rc); - return; - } - - msm_gpiomux_install(msm_blsp_configs, ARRAY_SIZE(msm_blsp_configs)); - msm_gpiomux_install(wlan_ath6kl_configs, - ARRAY_SIZE(wlan_ath6kl_configs)); - /* [houjihai start] */ - msm_gpiomux_install(mdm9625_key_configs, - ARRAY_SIZE(mdm9625_key_configs)); - /* [houjihai end] */ - msm_gpiomux_install(sdc2_card_det_config, - ARRAY_SIZE(sdc2_card_det_config)); - msm9625_disp_init_gpiomux(); -#ifdef CONFIG_OLED_S90319_PT - msm_gpiomux_install(msm9625_oled_s90319_configs, - ARRAY_SIZE(msm9625_oled_s90319_configs)); -#endif - -#ifdef CONFIG_MP2617_CHARGER - msm_gpiomux_install(msm9625_mp2617_configs, - ARRAY_SIZE(msm9625_mp2617_configs)); -#endif -} diff --git a/kernel/arch/arm/mach-msm/board-tr961-2500l-mobile-unicom-v1-gpiomux.c b/kernel/arch/arm/mach-msm/board-tr961-2500l-mobile-unicom-v1-gpiomux.c deleted file mode 100755 index 0ce4bc804..000000000 --- a/kernel/arch/arm/mach-msm/board-tr961-2500l-mobile-unicom-v1-gpiomux.c +++ /dev/null @@ -1,381 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - * - */ - -#include -#include -#include -#include -#include - -static struct gpiomux_setting gpio_uart_config = { - .func = GPIOMUX_FUNC_1, - .drv = GPIOMUX_DRV_8MA, - .pull = GPIOMUX_PULL_NONE, - .dir = GPIOMUX_OUT_HIGH, -}; - -static struct gpiomux_setting gpio_spi_cs_config = { - .func = GPIOMUX_FUNC_GPIO, - .drv = GPIOMUX_DRV_12MA, - .pull = GPIOMUX_PULL_NONE, -}; - -static struct gpiomux_setting gpio_spi_cs_suspend_config = { - .func = GPIOMUX_FUNC_GPIO, - .drv = GPIOMUX_DRV_12MA, - .pull = GPIOMUX_PULL_UP, -}; - -static struct gpiomux_setting gpio_spi_cs_active_up_config = { - .func = GPIOMUX_FUNC_GPIO, - .drv = GPIOMUX_DRV_12MA, - .pull = GPIOMUX_PULL_UP, -}; - -static struct gpiomux_setting gpio_spi_config = { - .func = GPIOMUX_FUNC_1, - .drv = GPIOMUX_DRV_12MA, - .pull = GPIOMUX_PULL_NONE, -}; - -static struct gpiomux_setting gpio_i2c_config = { - .func = GPIOMUX_FUNC_3, - .drv = GPIOMUX_DRV_2MA, - .pull = GPIOMUX_PULL_NONE, -}; - -static struct gpiomux_setting gpio_spi_cs_active_config = { - .func = GPIOMUX_FUNC_GPIO, - .drv = GPIOMUX_DRV_8MA, - .pull = GPIOMUX_PULL_NONE, -}; - -static struct msm_gpiomux_config msm_blsp_configs[] __initdata = { - { - .gpio = 4, /* BLSP1 QUP2 SPI_DATA_MOSI */ - .settings = { - [GPIOMUX_SUSPENDED] = &gpio_spi_config, - }, - }, - { - .gpio = 5, /* BLSP1 QUP2 SPI_DATA_MISO */ - .settings = { - [GPIOMUX_SUSPENDED] = &gpio_spi_config, - }, - }, - { - .gpio = 6, /* BLSP1 QUP2 SPI_CS_N */ - .settings = { - [GPIOMUX_ACTIVE] = &gpio_spi_cs_active_config, - [GPIOMUX_SUSPENDED] = &gpio_spi_cs_config, - }, - }, - { - .gpio = 7, /* BLSP1 QUP2 SPI_CLK */ - .settings = { - [GPIOMUX_SUSPENDED] = &gpio_spi_config, - }, - }, - { - .gpio = 8, /* BLSP1 UART TX */ - .settings = { - [GPIOMUX_SUSPENDED] = &gpio_uart_config, - }, - }, - { - .gpio = 9, /* BLSP1 UART RX */ - .settings = { - [GPIOMUX_SUSPENDED] = &gpio_uart_config, - }, - }, - { - .gpio = 10, /* BLSP1 QUP3 I2C_DAT */ - .settings = { - [GPIOMUX_SUSPENDED] = &gpio_i2c_config, - }, - }, - { - .gpio = 11, /* BLSP1 QUP3 I2C_CLK */ - .settings = { - [GPIOMUX_SUSPENDED] = &gpio_i2c_config, - }, - }, - { - .gpio = 61, - .settings = { - [GPIOMUX_ACTIVE] = &gpio_spi_cs_active_up_config, - [GPIOMUX_SUSPENDED] = &gpio_spi_cs_suspend_config, - }, - }, -}; - -/* [houjihai start] */ -static struct gpiomux_setting key_active_cfg = { - .func = GPIOMUX_FUNC_GPIO, - .drv = GPIOMUX_DRV_8MA, - .pull = GPIOMUX_PULL_NONE, -}; - -static struct gpiomux_setting key_suspend_cfg = { - .func = GPIOMUX_FUNC_GPIO, - .drv = GPIOMUX_DRV_8MA, - .pull = GPIOMUX_PULL_NONE, -}; -/* [houjihai end] */ - -/* [houjihai start] gpio14 for wps key and gpio15 for reset*/ -static struct msm_gpiomux_config mdm9625_key_configs[] __initdata = { - { - .gpio = 14, - .settings = { - [GPIOMUX_SUSPENDED] = &key_suspend_cfg, - [GPIOMUX_ACTIVE] = &key_active_cfg, - }, - }, - { - .gpio = 15, - .settings = { - [GPIOMUX_SUSPENDED] = &key_suspend_cfg, - [GPIOMUX_ACTIVE] = &key_active_cfg, - }, - }, -}; -/* [houjihai end] */ - -static struct gpiomux_setting wlan_ath6kl_active_config = { - .func = GPIOMUX_FUNC_GPIO, - .drv = GPIOMUX_DRV_2MA, - .pull = GPIOMUX_PULL_NONE, - .dir = GPIOMUX_OUT_LOW, -}; - -static struct gpiomux_setting wlan_ath6kl_suspend_config = { - .func = GPIOMUX_FUNC_GPIO, - .drv = GPIOMUX_DRV_2MA, - .pull = GPIOMUX_PULL_NONE, - .dir = GPIOMUX_IN, -}; - -static struct msm_gpiomux_config wlan_ath6kl_configs[] __initdata = { - { - .gpio = 62,/* CHIP_PWD_L */ - .settings = { - [GPIOMUX_ACTIVE] = &wlan_ath6kl_active_config, - [GPIOMUX_SUSPENDED] = &wlan_ath6kl_suspend_config, - }, - }, -}; - -static struct gpiomux_setting sdc2_card_det_cfg = { - .func = GPIOMUX_FUNC_GPIO, - .drv = GPIOMUX_DRV_2MA, - .pull = GPIOMUX_PULL_DOWN, - .dir = GPIOMUX_IN, -}; - -struct msm_gpiomux_config sdc2_card_det_config[] __initdata = { - { - .gpio = 66, - .settings = { - [GPIOMUX_ACTIVE] = &sdc2_card_det_cfg, - [GPIOMUX_SUSPENDED] = &sdc2_card_det_cfg, - }, - }, -}; - -#ifdef CONFIG_OLED_S90319_PT -static struct msm_gpiomux_config msm9625_oled_s90319_configs[] __initdata = { - { - .gpio = 20, - .settings = { - [GPIOMUX_ACTIVE] = &gpio_spi_cs_active_up_config, - [GPIOMUX_SUSPENDED] = &gpio_spi_cs_suspend_config, - }, - }, - { - .gpio = 21, - .settings = { - [GPIOMUX_ACTIVE] = &gpio_spi_cs_active_config, - [GPIOMUX_SUSPENDED] = &gpio_spi_cs_config, - }, - }, - { - .gpio = 22, - .settings = { - [GPIOMUX_ACTIVE] = &gpio_spi_cs_active_up_config, - [GPIOMUX_SUSPENDED] = &gpio_spi_cs_suspend_config, - }, - }, - { - .gpio = 23, - .settings = { - [GPIOMUX_ACTIVE] = &gpio_spi_cs_active_up_config, - [GPIOMUX_SUSPENDED] = &gpio_spi_cs_suspend_config, - }, - }, -}; -#endif - -#ifdef CONFIG_FB_MSM_QPIC -static struct gpiomux_setting qpic_lcdc_a_d = { - .func = GPIOMUX_FUNC_1, - .drv = GPIOMUX_DRV_10MA, - .pull = GPIOMUX_PULL_NONE, -}; - -static struct gpiomux_setting qpic_lcdc_cs = { - .func = GPIOMUX_FUNC_1, - .drv = GPIOMUX_DRV_10MA, - .pull = GPIOMUX_PULL_NONE, -}; - -static struct gpiomux_setting qpic_lcdc_rs = { - .func = GPIOMUX_FUNC_1, - .drv = GPIOMUX_DRV_10MA, - .pull = GPIOMUX_PULL_NONE, -}; - -static struct gpiomux_setting qpic_lcdc_te = { - .func = GPIOMUX_FUNC_7, - .drv = GPIOMUX_DRV_10MA, - .pull = GPIOMUX_PULL_NONE, -}; - -static struct msm_gpiomux_config msm9625_qpic_lcdc_configs[] __initdata = { - { - .gpio = 20, /* a_d */ - .settings = { - [GPIOMUX_SUSPENDED] = &qpic_lcdc_a_d, - }, - }, - { - .gpio = 21, /* cs */ - .settings = { - [GPIOMUX_SUSPENDED] = &qpic_lcdc_cs, - }, - }, - { - .gpio = 22, /* te */ - .settings = { - [GPIOMUX_SUSPENDED] = &qpic_lcdc_te, - }, - }, - { - .gpio = 23, /* rs */ - .settings = { - [GPIOMUX_SUSPENDED] = &qpic_lcdc_rs, - }, - }, -}; - -static void msm9625_disp_init_gpiomux(void) -{ - msm_gpiomux_install(msm9625_qpic_lcdc_configs, - ARRAY_SIZE(msm9625_qpic_lcdc_configs)); -} -#else -static void msm9625_disp_init_gpiomux(void) -{ -} -#endif /* CONFIG_FB_MSM_QPIC */ - -#ifdef CONFIG_MP2617_CHARGER -static struct gpiomux_setting mp2617_gpio_input_active_cfg = { - .func = GPIOMUX_FUNC_GPIO, - .drv = GPIOMUX_DRV_2MA, - .pull = GPIOMUX_PULL_NONE, - .dir = GPIOMUX_IN, -}; - -static struct gpiomux_setting mp2617_gpio_input_suspend_cfg = { - .func = GPIOMUX_FUNC_GPIO, - .drv = GPIOMUX_DRV_2MA, - .pull = GPIOMUX_PULL_NONE, - .dir = GPIOMUX_IN, -}; - -static struct gpiomux_setting mp2617_gpio_output_active_cfg = { - .func = GPIOMUX_FUNC_GPIO, - .drv = GPIOMUX_DRV_2MA, - .pull = GPIOMUX_PULL_NONE, -}; - -static struct gpiomux_setting mp2617_gpio_output_suspend_cfg = { - .func = GPIOMUX_FUNC_GPIO, - .drv = GPIOMUX_DRV_2MA, - .pull = GPIOMUX_PULL_NONE, -}; - -/* refer to msm9625-mtp.dtsi */ -static struct msm_gpiomux_config msm9625_mp2617_configs[] __initdata = { - { - .gpio = 13, /* Charge Enable, 1: Enable, 0: Disable */ - .settings = { - [GPIOMUX_ACTIVE] = &mp2617_gpio_output_active_cfg, - [GPIOMUX_SUSPENDED] = &mp2617_gpio_output_suspend_cfg, - }, - }, - { - .gpio = 12, /* M0 */ - .settings = { - [GPIOMUX_ACTIVE] = &mp2617_gpio_output_active_cfg, - [GPIOMUX_SUSPENDED] = &mp2617_gpio_output_suspend_cfg, - }, - }, - { - .gpio = 17, /* M1 */ - .settings = { - [GPIOMUX_ACTIVE] = &mp2617_gpio_output_active_cfg, - [GPIOMUX_SUSPENDED] = &mp2617_gpio_output_suspend_cfg, - }, - }, - { - .gpio = 71, /* CHGOK, 0: Charging, 1: Complete */ - .settings = { - [GPIOMUX_ACTIVE] = &mp2617_gpio_input_active_cfg, - [GPIOMUX_SUSPENDED] = &mp2617_gpio_input_suspend_cfg, - }, - }, -}; -#endif - -void __init msm9625_init_gpiomux(void) -{ - int rc; - - rc = msm_gpiomux_init_dt(); - if (rc) { - pr_err("%s failed %d\n", __func__, rc); - return; - } - - msm_gpiomux_install(msm_blsp_configs, ARRAY_SIZE(msm_blsp_configs)); - msm_gpiomux_install(wlan_ath6kl_configs, - ARRAY_SIZE(wlan_ath6kl_configs)); - /* [houjihai start] */ - msm_gpiomux_install(mdm9625_key_configs, - ARRAY_SIZE(mdm9625_key_configs)); - /* [houjihai end] */ - msm_gpiomux_install(sdc2_card_det_config, - ARRAY_SIZE(sdc2_card_det_config)); - msm9625_disp_init_gpiomux(); -#ifdef CONFIG_OLED_S90319_PT - msm_gpiomux_install(msm9625_oled_s90319_configs, - ARRAY_SIZE(msm9625_oled_s90319_configs)); -#endif - -#ifdef CONFIG_MP2617_CHARGER - msm_gpiomux_install(msm9625_mp2617_configs, - ARRAY_SIZE(msm9625_mp2617_configs)); -#endif -} diff --git a/kernel/arch/arm/mach-msm/board-tr961-5200l-v1-gpiomux.c b/kernel/arch/arm/mach-msm/board-tr961-5200l-v1-gpiomux.c deleted file mode 100755 index cd190e639..000000000 --- a/kernel/arch/arm/mach-msm/board-tr961-5200l-v1-gpiomux.c +++ /dev/null @@ -1,354 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - * - */ - -#include -#include -#include -#include -#include - -static struct gpiomux_setting gpio_uart_config = { - .func = GPIOMUX_FUNC_1, - .drv = GPIOMUX_DRV_8MA, - .pull = GPIOMUX_PULL_NONE, - .dir = GPIOMUX_OUT_HIGH, -}; - -static struct gpiomux_setting gpio_i2c_config = { - .func = GPIOMUX_FUNC_3, - .drv = GPIOMUX_DRV_2MA, - .pull = GPIOMUX_PULL_NONE, -}; - -static struct msm_gpiomux_config msm_blsp_configs[] __initdata = { - { - .gpio = 8, /* BLSP1 UART TX */ - .settings = { - [GPIOMUX_SUSPENDED] = &gpio_uart_config, - }, - }, - { - .gpio = 9, /* BLSP1 UART RX */ - .settings = { - [GPIOMUX_SUSPENDED] = &gpio_uart_config, - }, - }, - { - .gpio = 10, /* BLSP1 QUP3 I2C_DAT */ - .settings = { - [GPIOMUX_SUSPENDED] = &gpio_i2c_config, - }, - }, - { - .gpio = 11, /* BLSP1 QUP3 I2C_CLK */ - .settings = { - [GPIOMUX_SUSPENDED] = &gpio_i2c_config, - }, - }, -}; - -/* [houjihai start] */ -static struct gpiomux_setting key_active_cfg = { - .func = GPIOMUX_FUNC_GPIO, - .drv = GPIOMUX_DRV_8MA, - .pull = GPIOMUX_PULL_NONE, -}; - -static struct gpiomux_setting key_suspend_cfg = { - .func = GPIOMUX_FUNC_GPIO, - .drv = GPIOMUX_DRV_8MA, - .pull = GPIOMUX_PULL_NONE, -}; -/* [houjihai end] */ - -/* [houjihai start] gpio14 for wps key and gpio15 for reset*/ -static struct msm_gpiomux_config mdm9625_key_configs[] __initdata = { - { - .gpio = 15, - .settings = { - [GPIOMUX_SUSPENDED] = &key_suspend_cfg, - [GPIOMUX_ACTIVE] = &key_active_cfg, - }, - }, -}; -/* [houjihai end] */ - -static struct gpiomux_setting wlan_ath6kl_active_config = { - .func = GPIOMUX_FUNC_GPIO, - .drv = GPIOMUX_DRV_2MA, - .pull = GPIOMUX_PULL_NONE, - .dir = GPIOMUX_OUT_LOW, -}; - -static struct gpiomux_setting wlan_ath6kl_suspend_config = { - .func = GPIOMUX_FUNC_GPIO, - .drv = GPIOMUX_DRV_2MA, - .pull = GPIOMUX_PULL_NONE, - .dir = GPIOMUX_IN, -}; - -static struct msm_gpiomux_config wlan_ath6kl_configs[] __initdata = { - { - .gpio = 62,/* CHIP_PWD_L */ - .settings = { - [GPIOMUX_ACTIVE] = &wlan_ath6kl_active_config, - [GPIOMUX_SUSPENDED] = &wlan_ath6kl_suspend_config, - }, - }, -}; - -static struct gpiomux_setting sdc2_card_det_cfg = { - .func = GPIOMUX_FUNC_GPIO, - .drv = GPIOMUX_DRV_2MA, - .pull = GPIOMUX_PULL_DOWN, - .dir = GPIOMUX_IN, -}; - -struct msm_gpiomux_config sdc2_card_det_config[] __initdata = { - { - .gpio = 66, - .settings = { - [GPIOMUX_ACTIVE] = &sdc2_card_det_cfg, - [GPIOMUX_SUSPENDED] = &sdc2_card_det_cfg, - }, - }, -}; - -#ifdef CONFIG_FB_MSM_QPIC -static struct gpiomux_setting qpic_lcdc_a_d = { - .func = GPIOMUX_FUNC_1, - .drv = GPIOMUX_DRV_10MA, - .pull = GPIOMUX_PULL_NONE, -}; - -static struct gpiomux_setting qpic_lcdc_cs = { - .func = GPIOMUX_FUNC_1, - .drv = GPIOMUX_DRV_10MA, - .pull = GPIOMUX_PULL_NONE, -}; - -static struct gpiomux_setting qpic_lcdc_rs = { - .func = GPIOMUX_FUNC_1, - .drv = GPIOMUX_DRV_10MA, - .pull = GPIOMUX_PULL_NONE, -}; - -static struct gpiomux_setting qpic_lcdc_te = { - .func = GPIOMUX_FUNC_7, - .drv = GPIOMUX_DRV_10MA, - .pull = GPIOMUX_PULL_NONE, -}; - -static struct msm_gpiomux_config msm9625_qpic_lcdc_configs[] __initdata = { - { - .gpio = 20, /* a_d */ - .settings = { - [GPIOMUX_SUSPENDED] = &qpic_lcdc_a_d, - }, - }, - { - .gpio = 21, /* cs */ - .settings = { - [GPIOMUX_SUSPENDED] = &qpic_lcdc_cs, - }, - }, - { - .gpio = 22, /* te */ - .settings = { - [GPIOMUX_SUSPENDED] = &qpic_lcdc_te, - }, - }, - { - .gpio = 23, /* rs */ - .settings = { - [GPIOMUX_SUSPENDED] = &qpic_lcdc_rs, - }, - }, -}; - -static void msm9625_disp_init_gpiomux(void) -{ - msm_gpiomux_install(msm9625_qpic_lcdc_configs, - ARRAY_SIZE(msm9625_qpic_lcdc_configs)); -} -#else -static void msm9625_disp_init_gpiomux(void) -{ -} -#endif /* CONFIG_FB_MSM_QPIC */ - -#ifdef CONFIG_MP2617_CHARGER -static struct gpiomux_setting mp2617_gpio_input_active_cfg = { - .func = GPIOMUX_FUNC_GPIO, - .drv = GPIOMUX_DRV_2MA, - .pull = GPIOMUX_PULL_NONE, - .dir = GPIOMUX_IN, -}; - -static struct gpiomux_setting mp2617_gpio_input_suspend_cfg = { - .func = GPIOMUX_FUNC_GPIO, - .drv = GPIOMUX_DRV_2MA, - .pull = GPIOMUX_PULL_NONE, - .dir = GPIOMUX_IN, -}; - -static struct gpiomux_setting mp2617_gpio_output_active_cfg = { - .func = GPIOMUX_FUNC_GPIO, - .drv = GPIOMUX_DRV_2MA, - .pull = GPIOMUX_PULL_NONE, -}; - -static struct gpiomux_setting mp2617_gpio_output_suspend_cfg = { - .func = GPIOMUX_FUNC_GPIO, - .drv = GPIOMUX_DRV_2MA, - .pull = GPIOMUX_PULL_NONE, -}; - -/* refer to msm9625-mtp.dtsi */ -static struct msm_gpiomux_config msm9625_mp2617_configs[] __initdata = { - { - .gpio = 13, /* Charge Enable, 1: Enable, 0: Disable */ - .settings = { - [GPIOMUX_ACTIVE] = &mp2617_gpio_output_active_cfg, - [GPIOMUX_SUSPENDED] = &mp2617_gpio_output_suspend_cfg, - }, - }, - { - .gpio = 16, /* M0 */ - .settings = { - [GPIOMUX_ACTIVE] = &mp2617_gpio_output_active_cfg, - [GPIOMUX_SUSPENDED] = &mp2617_gpio_output_suspend_cfg, - }, - }, - { - .gpio = 17, /* M1 */ - .settings = { - [GPIOMUX_ACTIVE] = &mp2617_gpio_output_active_cfg, - [GPIOMUX_SUSPENDED] = &mp2617_gpio_output_suspend_cfg, - }, - }, - { - .gpio = 70, /* CHGOK, 0: Charging, 1: Complete */ - .settings = { - [GPIOMUX_ACTIVE] = &mp2617_gpio_input_active_cfg, - [GPIOMUX_SUSPENDED] = &mp2617_gpio_input_suspend_cfg, - }, - }, - -#ifdef CONFIG_POWER_BANK_DETECT_SUPPORT - { - .gpio = 14, /* Boost_EN, 0: Disbale, 1: Enable */ - .settings = { - [GPIOMUX_ACTIVE] = &mp2617_gpio_output_active_cfg, - [GPIOMUX_SUSPENDED] = &mp2617_gpio_output_suspend_cfg, - }, - }, -#endif -}; -#endif - -#ifdef CONFIG_OLED_SSD1306_PT -static struct gpiomux_setting oled_ssd1306_gpio_active_config = { - .func = GPIOMUX_FUNC_GPIO, - .drv = GPIOMUX_DRV_2MA, - .pull = GPIOMUX_PULL_UP, - .dir = GPIOMUX_OUT_HIGH, -}; - -static struct gpiomux_setting oled_ssd1306_gpio_suspend_config = { - .func = GPIOMUX_FUNC_GPIO, - .drv = GPIOMUX_DRV_2MA, - .pull = GPIOMUX_PULL_NONE, -}; - -static struct gpiomux_setting oled_ssd1306_gpio_cs_config = { - .func = GPIOMUX_FUNC_1, - .drv = GPIOMUX_DRV_2MA, - .pull = GPIOMUX_PULL_NONE, -}; - -static struct msm_gpiomux_config msm9625_oled_ssd1306_configs[] __initdata = { - { - .gpio = 4, /* oled ssd1306 chip select */ - .settings = { - [GPIOMUX_SUSPENDED] = &oled_ssd1306_gpio_suspend_config, - [GPIOMUX_ACTIVE] = &oled_ssd1306_gpio_active_config, - }, - }, - { - .gpio = 5, /* oled ssd1306 a0 */ - .settings = { - [GPIOMUX_SUSPENDED] = &oled_ssd1306_gpio_suspend_config, - [GPIOMUX_ACTIVE] = &oled_ssd1306_gpio_active_config, - }, - }, - { - .gpio = 6, /* oled ssd1306 reset */ - .settings = { - [GPIOMUX_SUSPENDED] = &oled_ssd1306_gpio_cs_config, - [GPIOMUX_ACTIVE] = &oled_ssd1306_gpio_active_config, - }, - }, - { - .gpio = 7, /* oled ssd1306 boost enable */ - .settings = { - [GPIOMUX_SUSPENDED] = &oled_ssd1306_gpio_suspend_config, - [GPIOMUX_ACTIVE] = &oled_ssd1306_gpio_active_config, - }, - }, - { - .gpio = 10, /* oled ssd1306 I2C_DAT */ - .settings = { - [GPIOMUX_SUSPENDED] = &gpio_i2c_config, - }, - }, - { - .gpio = 11, /* oled ssd1306 I2C_CLK */ - .settings = { - [GPIOMUX_SUSPENDED] = &gpio_i2c_config, - }, - }, -}; -#endif - -void __init msm9625_init_gpiomux(void) -{ - int rc; - - rc = msm_gpiomux_init_dt(); - if (rc) { - pr_err("%s failed %d\n", __func__, rc); - return; - } - - msm_gpiomux_install(msm_blsp_configs, ARRAY_SIZE(msm_blsp_configs)); - msm_gpiomux_install(wlan_ath6kl_configs, - ARRAY_SIZE(wlan_ath6kl_configs)); - /* [houjihai start] */ - msm_gpiomux_install(mdm9625_key_configs, - ARRAY_SIZE(mdm9625_key_configs)); - /* [houjihai end] */ - msm_gpiomux_install(sdc2_card_det_config, - ARRAY_SIZE(sdc2_card_det_config)); - msm9625_disp_init_gpiomux(); - -#ifdef CONFIG_MP2617_CHARGER - msm_gpiomux_install(msm9625_mp2617_configs, - ARRAY_SIZE(msm9625_mp2617_configs)); -#endif - -#ifdef CONFIG_OLED_SSD1306_PT - msm_gpiomux_install(msm9625_oled_ssd1306_configs, - ARRAY_SIZE(msm9625_oled_ssd1306_configs)); -#endif -} diff --git a/kernel/arch/arm/mach-msm/board-tr961-5200l-v2-gpiomux.c b/kernel/arch/arm/mach-msm/board-tr961-5200l-v2-gpiomux.c deleted file mode 100755 index cd190e639..000000000 --- a/kernel/arch/arm/mach-msm/board-tr961-5200l-v2-gpiomux.c +++ /dev/null @@ -1,354 +0,0 @@ -/* Copyright (c) 2012-2013, 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. - * - */ - -#include -#include -#include -#include -#include - -static struct gpiomux_setting gpio_uart_config = { - .func = GPIOMUX_FUNC_1, - .drv = GPIOMUX_DRV_8MA, - .pull = GPIOMUX_PULL_NONE, - .dir = GPIOMUX_OUT_HIGH, -}; - -static struct gpiomux_setting gpio_i2c_config = { - .func = GPIOMUX_FUNC_3, - .drv = GPIOMUX_DRV_2MA, - .pull = GPIOMUX_PULL_NONE, -}; - -static struct msm_gpiomux_config msm_blsp_configs[] __initdata = { - { - .gpio = 8, /* BLSP1 UART TX */ - .settings = { - [GPIOMUX_SUSPENDED] = &gpio_uart_config, - }, - }, - { - .gpio = 9, /* BLSP1 UART RX */ - .settings = { - [GPIOMUX_SUSPENDED] = &gpio_uart_config, - }, - }, - { - .gpio = 10, /* BLSP1 QUP3 I2C_DAT */ - .settings = { - [GPIOMUX_SUSPENDED] = &gpio_i2c_config, - }, - }, - { - .gpio = 11, /* BLSP1 QUP3 I2C_CLK */ - .settings = { - [GPIOMUX_SUSPENDED] = &gpio_i2c_config, - }, - }, -}; - -/* [houjihai start] */ -static struct gpiomux_setting key_active_cfg = { - .func = GPIOMUX_FUNC_GPIO, - .drv = GPIOMUX_DRV_8MA, - .pull = GPIOMUX_PULL_NONE, -}; - -static struct gpiomux_setting key_suspend_cfg = { - .func = GPIOMUX_FUNC_GPIO, - .drv = GPIOMUX_DRV_8MA, - .pull = GPIOMUX_PULL_NONE, -}; -/* [houjihai end] */ - -/* [houjihai start] gpio14 for wps key and gpio15 for reset*/ -static struct msm_gpiomux_config mdm9625_key_configs[] __initdata = { - { - .gpio = 15, - .settings = { - [GPIOMUX_SUSPENDED] = &key_suspend_cfg, - [GPIOMUX_ACTIVE] = &key_active_cfg, - }, - }, -}; -/* [houjihai end] */ - -static struct gpiomux_setting wlan_ath6kl_active_config = { - .func = GPIOMUX_FUNC_GPIO, - .drv = GPIOMUX_DRV_2MA, - .pull = GPIOMUX_PULL_NONE, - .dir = GPIOMUX_OUT_LOW, -}; - -static struct gpiomux_setting wlan_ath6kl_suspend_config = { - .func = GPIOMUX_FUNC_GPIO, - .drv = GPIOMUX_DRV_2MA, - .pull = GPIOMUX_PULL_NONE, - .dir = GPIOMUX_IN, -}; - -static struct msm_gpiomux_config wlan_ath6kl_configs[] __initdata = { - { - .gpio = 62,/* CHIP_PWD_L */ - .settings = { - [GPIOMUX_ACTIVE] = &wlan_ath6kl_active_config, - [GPIOMUX_SUSPENDED] = &wlan_ath6kl_suspend_config, - }, - }, -}; - -static struct gpiomux_setting sdc2_card_det_cfg = { - .func = GPIOMUX_FUNC_GPIO, - .drv = GPIOMUX_DRV_2MA, - .pull = GPIOMUX_PULL_DOWN, - .dir = GPIOMUX_IN, -}; - -struct msm_gpiomux_config sdc2_card_det_config[] __initdata = { - { - .gpio = 66, - .settings = { - [GPIOMUX_ACTIVE] = &sdc2_card_det_cfg, - [GPIOMUX_SUSPENDED] = &sdc2_card_det_cfg, - }, - }, -}; - -#ifdef CONFIG_FB_MSM_QPIC -static struct gpiomux_setting qpic_lcdc_a_d = { - .func = GPIOMUX_FUNC_1, - .drv = GPIOMUX_DRV_10MA, - .pull = GPIOMUX_PULL_NONE, -}; - -static struct gpiomux_setting qpic_lcdc_cs = { - .func = GPIOMUX_FUNC_1, - .drv = GPIOMUX_DRV_10MA, - .pull = GPIOMUX_PULL_NONE, -}; - -static struct gpiomux_setting qpic_lcdc_rs = { - .func = GPIOMUX_FUNC_1, - .drv = GPIOMUX_DRV_10MA, - .pull = GPIOMUX_PULL_NONE, -}; - -static struct gpiomux_setting qpic_lcdc_te = { - .func = GPIOMUX_FUNC_7, - .drv = GPIOMUX_DRV_10MA, - .pull = GPIOMUX_PULL_NONE, -}; - -static struct msm_gpiomux_config msm9625_qpic_lcdc_configs[] __initdata = { - { - .gpio = 20, /* a_d */ - .settings = { - [GPIOMUX_SUSPENDED] = &qpic_lcdc_a_d, - }, - }, - { - .gpio = 21, /* cs */ - .settings = { - [GPIOMUX_SUSPENDED] = &qpic_lcdc_cs, - }, - }, - { - .gpio = 22, /* te */ - .settings = { - [GPIOMUX_SUSPENDED] = &qpic_lcdc_te, - }, - }, - { - .gpio = 23, /* rs */ - .settings = { - [GPIOMUX_SUSPENDED] = &qpic_lcdc_rs, - }, - }, -}; - -static void msm9625_disp_init_gpiomux(void) -{ - msm_gpiomux_install(msm9625_qpic_lcdc_configs, - ARRAY_SIZE(msm9625_qpic_lcdc_configs)); -} -#else -static void msm9625_disp_init_gpiomux(void) -{ -} -#endif /* CONFIG_FB_MSM_QPIC */ - -#ifdef CONFIG_MP2617_CHARGER -static struct gpiomux_setting mp2617_gpio_input_active_cfg = { - .func = GPIOMUX_FUNC_GPIO, - .drv = GPIOMUX_DRV_2MA, - .pull = GPIOMUX_PULL_NONE, - .dir = GPIOMUX_IN, -}; - -static struct gpiomux_setting mp2617_gpio_input_suspend_cfg = { - .func = GPIOMUX_FUNC_GPIO, - .drv = GPIOMUX_DRV_2MA, - .pull = GPIOMUX_PULL_NONE, - .dir = GPIOMUX_IN, -}; - -static struct gpiomux_setting mp2617_gpio_output_active_cfg = { - .func = GPIOMUX_FUNC_GPIO, - .drv = GPIOMUX_DRV_2MA, - .pull = GPIOMUX_PULL_NONE, -}; - -static struct gpiomux_setting mp2617_gpio_output_suspend_cfg = { - .func = GPIOMUX_FUNC_GPIO, - .drv = GPIOMUX_DRV_2MA, - .pull = GPIOMUX_PULL_NONE, -}; - -/* refer to msm9625-mtp.dtsi */ -static struct msm_gpiomux_config msm9625_mp2617_configs[] __initdata = { - { - .gpio = 13, /* Charge Enable, 1: Enable, 0: Disable */ - .settings = { - [GPIOMUX_ACTIVE] = &mp2617_gpio_output_active_cfg, - [GPIOMUX_SUSPENDED] = &mp2617_gpio_output_suspend_cfg, - }, - }, - { - .gpio = 16, /* M0 */ - .settings = { - [GPIOMUX_ACTIVE] = &mp2617_gpio_output_active_cfg, - [GPIOMUX_SUSPENDED] = &mp2617_gpio_output_suspend_cfg, - }, - }, - { - .gpio = 17, /* M1 */ - .settings = { - [GPIOMUX_ACTIVE] = &mp2617_gpio_output_active_cfg, - [GPIOMUX_SUSPENDED] = &mp2617_gpio_output_suspend_cfg, - }, - }, - { - .gpio = 70, /* CHGOK, 0: Charging, 1: Complete */ - .settings = { - [GPIOMUX_ACTIVE] = &mp2617_gpio_input_active_cfg, - [GPIOMUX_SUSPENDED] = &mp2617_gpio_input_suspend_cfg, - }, - }, - -#ifdef CONFIG_POWER_BANK_DETECT_SUPPORT - { - .gpio = 14, /* Boost_EN, 0: Disbale, 1: Enable */ - .settings = { - [GPIOMUX_ACTIVE] = &mp2617_gpio_output_active_cfg, - [GPIOMUX_SUSPENDED] = &mp2617_gpio_output_suspend_cfg, - }, - }, -#endif -}; -#endif - -#ifdef CONFIG_OLED_SSD1306_PT -static struct gpiomux_setting oled_ssd1306_gpio_active_config = { - .func = GPIOMUX_FUNC_GPIO, - .drv = GPIOMUX_DRV_2MA, - .pull = GPIOMUX_PULL_UP, - .dir = GPIOMUX_OUT_HIGH, -}; - -static struct gpiomux_setting oled_ssd1306_gpio_suspend_config = { - .func = GPIOMUX_FUNC_GPIO, - .drv = GPIOMUX_DRV_2MA, - .pull = GPIOMUX_PULL_NONE, -}; - -static struct gpiomux_setting oled_ssd1306_gpio_cs_config = { - .func = GPIOMUX_FUNC_1, - .drv = GPIOMUX_DRV_2MA, - .pull = GPIOMUX_PULL_NONE, -}; - -static struct msm_gpiomux_config msm9625_oled_ssd1306_configs[] __initdata = { - { - .gpio = 4, /* oled ssd1306 chip select */ - .settings = { - [GPIOMUX_SUSPENDED] = &oled_ssd1306_gpio_suspend_config, - [GPIOMUX_ACTIVE] = &oled_ssd1306_gpio_active_config, - }, - }, - { - .gpio = 5, /* oled ssd1306 a0 */ - .settings = { - [GPIOMUX_SUSPENDED] = &oled_ssd1306_gpio_suspend_config, - [GPIOMUX_ACTIVE] = &oled_ssd1306_gpio_active_config, - }, - }, - { - .gpio = 6, /* oled ssd1306 reset */ - .settings = { - [GPIOMUX_SUSPENDED] = &oled_ssd1306_gpio_cs_config, - [GPIOMUX_ACTIVE] = &oled_ssd1306_gpio_active_config, - }, - }, - { - .gpio = 7, /* oled ssd1306 boost enable */ - .settings = { - [GPIOMUX_SUSPENDED] = &oled_ssd1306_gpio_suspend_config, - [GPIOMUX_ACTIVE] = &oled_ssd1306_gpio_active_config, - }, - }, - { - .gpio = 10, /* oled ssd1306 I2C_DAT */ - .settings = { - [GPIOMUX_SUSPENDED] = &gpio_i2c_config, - }, - }, - { - .gpio = 11, /* oled ssd1306 I2C_CLK */ - .settings = { - [GPIOMUX_SUSPENDED] = &gpio_i2c_config, - }, - }, -}; -#endif - -void __init msm9625_init_gpiomux(void) -{ - int rc; - - rc = msm_gpiomux_init_dt(); - if (rc) { - pr_err("%s failed %d\n", __func__, rc); - return; - } - - msm_gpiomux_install(msm_blsp_configs, ARRAY_SIZE(msm_blsp_configs)); - msm_gpiomux_install(wlan_ath6kl_configs, - ARRAY_SIZE(wlan_ath6kl_configs)); - /* [houjihai start] */ - msm_gpiomux_install(mdm9625_key_configs, - ARRAY_SIZE(mdm9625_key_configs)); - /* [houjihai end] */ - msm_gpiomux_install(sdc2_card_det_config, - ARRAY_SIZE(sdc2_card_det_config)); - msm9625_disp_init_gpiomux(); - -#ifdef CONFIG_MP2617_CHARGER - msm_gpiomux_install(msm9625_mp2617_configs, - ARRAY_SIZE(msm9625_mp2617_configs)); -#endif - -#ifdef CONFIG_OLED_SSD1306_PT - msm_gpiomux_install(msm9625_oled_ssd1306_configs, - ARRAY_SIZE(msm9625_oled_ssd1306_configs)); -#endif -} diff --git a/kernel/arch/arm/mach-msm/clock-9625.c b/kernel/arch/arm/mach-msm/clock-9625.c old mode 100755 new mode 100644 index 15a60c733..5cf1b9c2a --- a/kernel/arch/arm/mach-msm/clock-9625.c +++ b/kernel/arch/arm/mach-msm/clock-9625.c @@ -440,7 +440,7 @@ static struct rcg_clk ipa_clk_src = { .cmd_rcgr_reg = IPA_CMD_RCGR, .set_rate = set_rate_mnd, .freq_tbl = ftbl_gcc_ipa_clk, - .current_freq = &ftbl_gcc_ipa_clk[2], + .current_freq = &rcg_dummy_freq, .base = &virt_bases[GCC_BASE], .c = { .dbg_name = "ipa_clk_src", diff --git a/kernel/arch/arm/mach-msm/gpiomux.c b/kernel/arch/arm/mach-msm/gpiomux.c index d710214f9..1f7d56aff 100644 --- a/kernel/arch/arm/mach-msm/gpiomux.c +++ b/kernel/arch/arm/mach-msm/gpiomux.c @@ -67,16 +67,6 @@ int msm_gpiomux_write(unsigned gpio, enum msm_gpiomux_setting which, unsigned long irq_flags; struct gpiomux_setting *new_set; struct msm_gpiomux_rec *rec = msm_gpiomux_recs + gpio; -/* [zhangtao start] */ -#ifdef CONFIG_OLED_SSD1306_PT - enum OLED_SSD1306_GPIO_NUM { - GPIO_OLED_CS = 4, - GPIO_OLED_A0 = 5, - GPIO_OLED_RES = 6, - GPIO_OLED_BOOST_EN = 7, - }; -#endif -/* [zhangtao end] */ ret = msm_gpiomux_store(gpio, which, setting, old_setting); if (ret < 0) @@ -84,32 +74,8 @@ int msm_gpiomux_write(unsigned gpio, enum msm_gpiomux_setting which, spin_lock_irqsave(&gpiomux_lock, irq_flags); -/* [zhangtao start] */ -#ifdef CONFIG_OLED_SSD1306_PT - switch (gpio) - { - case GPIO_OLED_CS: - case GPIO_OLED_A0: - case GPIO_OLED_RES: - case GPIO_OLED_BOOST_EN: - if (old_setting == NULL) { // initialise oled gpio with active config - new_set = rec->sets[GPIOMUX_ACTIVE]; - } else { - new_set = rec->ref ? rec->sets[GPIOMUX_ACTIVE] : - rec->sets[GPIOMUX_SUSPENDED]; - } - break; - - default: - new_set = rec->ref ? rec->sets[GPIOMUX_ACTIVE] : - rec->sets[GPIOMUX_SUSPENDED]; - break; - } -#else new_set = rec->ref ? rec->sets[GPIOMUX_ACTIVE] : rec->sets[GPIOMUX_SUSPENDED]; -#endif -/* [zhangtao end] */ if (new_set) __msm_gpiomux_write(gpio, *new_set); diff --git a/kernel/arch/arm/mach-msm/pm8019_ext.c b/kernel/arch/arm/mach-msm/pm8019_ext.c deleted file mode 100755 index 95d1d8f4a..000000000 --- a/kernel/arch/arm/mach-msm/pm8019_ext.c +++ /dev/null @@ -1,205 +0,0 @@ -/***************************************************************************** - * Copyright (C), 2002-2014, TP-LINK TECHNOLOGIES CO., LTD. - * - * File Name: pm8019_ext.c - * Version: 1.0 - * Description: Export some PM8019 software interfaces to sysfs. - * - * Author: LuoWei - * Create Date: 2014-04-10 - * - * History: - * 01 10Apr14 LuoWei Create file - *****************************************************************************/ -#include -#include -#include -#include -#include "pm8019_ext.h" - -typedef unsigned char uint8; -typedef unsigned short uint16; -typedef unsigned long long uint64; - -/* [ouyangyi] add power on info */ - -char int_to_hex_char(int v) -{ - if (v >= 0 && v < 10) - { - return ('0' + v); - } - else if (v >= 10 && v < 16) - { - return ('A' + v - 10); - } - else - { - return 0; - } -} - -#define PMIC_PON_INFO_HEX_BITS 16 - -static ssize_t pmic_pon_info_show(struct kobject *kobj, - struct kobj_attribute *attr, char *buf) -{ - uint64 pon_info = 0; - unsigned int size = 0; - int i = 0; - - pon_info = *(uint64 *)smem_get_entry(SMEM_POWER_ON_STATUS_INFO, &size); - - if (!size || !pon_info) { - pr_err("%s: Cannot get the pon_info\n", __func__); - return sprintf(buf, "0000000000000000\n"); - } - - for (i = 0; i < PMIC_PON_INFO_HEX_BITS; i++) { - buf[PMIC_PON_INFO_HEX_BITS - i - 1] = - int_to_hex_char((int)(pon_info & 0xF)); - pon_info = pon_info >> 4; - } - - buf[PMIC_PON_INFO_HEX_BITS] = '\n'; - - return (PMIC_PON_INFO_HEX_BITS + 1); - -} - -static struct kobj_attribute pmic_pon_info_attr = { - .attr = { - .name = "pon_info", - .mode = S_IRUGO, - }, - .show = &pmic_pon_info_show, -}; - -static struct attribute *pmic_pon_info_attrs[] = { - &pmic_pon_info_attr.attr, - NULL -}; - -static struct attribute_group pmic_pon_info_attr_group = { - .attrs = pmic_pon_info_attrs, -}; -/* [ouyangyi] add end */ - -#define PM_TRIGGER_BIT_START 1 -#define PM_TRIGGER_BIT_END 9 - -/* - The function shows one byte of power on reason for User Level. - The power on reason struct is : - typedef struct -{ - unsigned hard_reset : 1; //Hard reset event trigger - unsigned smpl : 1; //SMPL trigger - unsigned rtc : 1; //RTC trigger - unsigned dc_chg : 1; //DC Charger trigger - unsigned usb_chg : 1; //USB Charger trigger - unsigned pon1 : 1; //PON1 trigger - unsigned cblpwr : 1; //CBL_PWR1_N trigger - unsigned kpdpwr : 1; //KPDPWR_N trigger -}pm_pon_pon_reason_type; - -buf[0] buf[1] buf[2] ... buf[8] -is reset hard_reset smpl ... kpdpwr -*/ - -static ssize_t pmic_pon_trigger_show(struct kobject *kobj, - struct kobj_attribute *attr, char *buf) -{ - static int first_time = 1; - static uint64 reason = 0; - static unsigned int size = 0; - uint8 pon_reason = 0; - uint16 warm_reset_reason = 0; - uint16 soft_reset_reason = 0; - int i = 0; - - if (first_time) { - first_time = 0; - - /* - * There are 8 bytes in field SMEM_POWER_ON_STATUS_INFO, which contains - * reasons for Power On(1 byte), Warm Reset(2 bytes), Power Off(2 bytes) - * , Soft Reset(2 bytes) and reserved byte(1 byte). - * The system is Litter-Endian, the last byte is power on reason. - */ - reason = *(uint64 *)smem_get_entry(SMEM_POWER_ON_STATUS_INFO, - &size); - } - - if (!size || !reason) { - pr_err("%s: Cannot get the reasons\n", __func__); - return sprintf(buf, "000000000\n"); - } - - pon_reason = (reason & 0xFF); - warm_reset_reason = (reason >> (1 * 8)) & 0xFFFF; - soft_reset_reason = (reason >> ((1 + 2 + 2) * 8)) & 0xFFFF; - - if (warm_reset_reason || soft_reset_reason) { - buf[0] = '1'; - } else { - buf[0] = '0'; - } - - for (i = PM_TRIGGER_BIT_START; i < PM_TRIGGER_BIT_END; i++) { - if (pon_reason & (1 << (i - PM_TRIGGER_BIT_START))) { - buf[i] = '1'; - } else { - buf[i] = '0'; - } - } - - buf[PM_TRIGGER_BIT_END] = '\n'; - - return PM_TRIGGER_BIT_END + 1; -} - -/* - * Export sysfs interface. - * "cat /sys/pmic/pon_trigger" shows the power-on reason -*/ -static struct kobj_attribute pmic_trigger_attr = { - .attr = { - .name = "pon_trigger", - .mode = S_IRUGO, - }, - .show = &pmic_pon_trigger_show, -}; - -static struct attribute *pmic_trigger_attrs[] = { - &pmic_trigger_attr.attr, - NULL -}; - -static struct attribute_group pmic_trigger_attr_group = { - .attrs = pmic_trigger_attrs, -}; - -void export_pmic_interface(void) -{ - struct kobject* kobj; - int ret; - - kobj = kobject_create_and_add("pmic", NULL); - if (!kobj) { - pr_err("%s: failed to export PMIC interface\n", __func__); - return; - } - - ret = sysfs_create_group(kobj, &pmic_trigger_attr_group); - if (!kobj || ret) { - pr_err("%s: failed to export PMIC trigger interface\n", __func__); - } - - ret = sysfs_create_group(kobj, &pmic_pon_info_attr_group); - if (!kobj || ret) { - pr_err("%s: failed to export PMIC pon_info interface\n", __func__); - } - -} - diff --git a/kernel/arch/arm/mach-msm/pm8019_ext.h b/kernel/arch/arm/mach-msm/pm8019_ext.h deleted file mode 100755 index bb3ca4803..000000000 --- a/kernel/arch/arm/mach-msm/pm8019_ext.h +++ /dev/null @@ -1,25 +0,0 @@ -/***************************************************************************** - * Copyright (C), 2002-2014, TP-LINK TECHNOLOGIES CO., LTD. - * - * File Name: pm8019_ext.h - * Version: 1.0 - * Description: Export some PM8019 software interfaces to sysfs. - * - * Author: LuoWei - * Create Date: 2014-04-10 - * - * History: - * 01 10Apr14 LuoWei Create file - *****************************************************************************/ - -#ifndef __PM8019_EXT_H__ -#define __PM8019_EXT_H__ - -#ifdef CONFIG_TPLINK_PMIC_EXT -void export_pmic_interface(void); -#else -void export_pmic_interface(void){} -#endif - -#endif /* __PM8019_EXT_H__ */ - diff --git a/kernel/arch/arm/mach-msm/restart.c b/kernel/arch/arm/mach-msm/restart.c index 6c0c069cf..cf1ae0319 100644 --- a/kernel/arch/arm/mach-msm/restart.c +++ b/kernel/arch/arm/mach-msm/restart.c @@ -68,7 +68,7 @@ static void *dload_mode_addr; /* Download mode master kill-switch */ static int dload_set(const char *val, struct kernel_param *kp); -static int download_mode = 0; +static int download_mode = 1; module_param_call(download_mode, dload_set, param_get_int, &download_mode, 0644); diff --git a/kernel/drivers/Kconfig b/kernel/drivers/Kconfig index e9bcc5d20..adead1018 100644 --- a/kernel/drivers/Kconfig +++ b/kernel/drivers/Kconfig @@ -152,6 +152,4 @@ source "drivers/coresight/Kconfig" source "drivers/bif/Kconfig" -source "drivers/oled/Kconfig" - endmenu diff --git a/kernel/drivers/Makefile b/kernel/drivers/Makefile index de60b8935..d55b03503 100644 --- a/kernel/drivers/Makefile +++ b/kernel/drivers/Makefile @@ -85,8 +85,8 @@ obj-y += i2c/ media/ obj-$(CONFIG_PPS) += pps/ obj-$(CONFIG_PTP_1588_CLOCK) += ptp/ obj-$(CONFIG_W1) += w1/ -obj-$(CONFIG_HWMON) += hwmon/ obj-$(CONFIG_POWER_SUPPLY) += power/ +obj-$(CONFIG_HWMON) += hwmon/ obj-$(CONFIG_THERMAL) += thermal/ obj-$(CONFIG_WATCHDOG) += watchdog/ obj-$(CONFIG_MD) += md/ @@ -144,5 +144,3 @@ obj-$(CONFIG_MOBICORE_SUPPORT) += gud/ obj-$(CONFIG_CORESIGHT) += coresight/ obj-$(CONFIG_BIF) += bif/ - -obj-$(CONFIG_OLED) += oled/ diff --git a/kernel/drivers/char/mem.c b/kernel/drivers/char/mem.c index 8dd9a6ead..67e19b631 100644 --- a/kernel/drivers/char/mem.c +++ b/kernel/drivers/char/mem.c @@ -822,6 +822,44 @@ static const struct file_operations oldmem_fops = { }; #endif +static ssize_t kmsg_writev(struct kiocb *iocb, const struct iovec *iv, + unsigned long count, loff_t pos) +{ + char *line, *p; + int i; + ssize_t ret = -EFAULT; + size_t len = iov_length(iv, count); + + line = kmalloc(len + 1, GFP_KERNEL); + if (line == NULL) + return -ENOMEM; + + /* + * copy all vectors into a single string, to ensure we do + * not interleave our log line with other printk calls + */ + p = line; + for (i = 0; i < count; i++) { + if (copy_from_user(p, iv[i].iov_base, iv[i].iov_len)) + goto out; + p += iv[i].iov_len; + } + p[0] = '\0'; + + ret = printk("%s", line); + /* printk can add a prefix */ + if (ret > len) + ret = len; +out: + kfree(line); + return ret; +} + +static const struct file_operations kmsg_fops = { + .aio_write = kmsg_writev, + .llseek = noop_llseek, +}; + static const struct memdev { const char *name; umode_t mode; @@ -842,9 +880,7 @@ static const struct memdev { [7] = { "full", 0666, &full_fops, NULL }, [8] = { "random", 0666, &random_fops, NULL }, [9] = { "urandom", 0666, &urandom_fops, NULL }, -#ifdef CONFIG_PRINTK - [11] = { "kmsg", 0644, &kmsg_fops, NULL }, -#endif + [11] = { "kmsg", 0, &kmsg_fops, NULL }, #ifdef CONFIG_CRASH_DUMP [12] = { "oldmem", 0, &oldmem_fops, NULL }, #endif diff --git a/kernel/drivers/gpu/msm/adreno.c b/kernel/drivers/gpu/msm/adreno.c index bb9267a57..b9172489a 100644 --- a/kernel/drivers/gpu/msm/adreno.c +++ b/kernel/drivers/gpu/msm/adreno.c @@ -822,7 +822,9 @@ static void adreno_iommu_setstate(struct kgsl_device *device, uint32_t flags) { phys_addr_t pt_val; - unsigned int *link = NULL, *cmds; + unsigned int link[230]; + unsigned int *cmds = &link[0]; + int sizedwords = 0; struct adreno_device *adreno_dev = ADRENO_DEVICE(device); int num_iommu_units; struct kgsl_context *context; @@ -846,12 +848,6 @@ static void adreno_iommu_setstate(struct kgsl_device *device, adreno_ctx = context->devctxt; - link = kmalloc(PAGE_SIZE, GFP_KERNEL); - if (link == NULL) - goto done; - - cmds = link; - if (kgsl_mmu_enable_clk(&device->mmu, KGSL_IOMMU_CONTEXT_USER)) return; @@ -870,11 +866,17 @@ static void adreno_iommu_setstate(struct kgsl_device *device, cmds += _adreno_iommu_setstate_v1(device, cmds, pt_val, num_iommu_units, flags); + sizedwords += (cmds - &link[0]); + if (sizedwords == 0) { + KGSL_DRV_ERR(device, "no commands generated\n"); + BUG(); + } /* invalidate all base pointers */ *cmds++ = cp_type3_packet(CP_INVALIDATE_STATE, 1); *cmds++ = 0x7fff; + sizedwords += 2; - if ((unsigned int) (cmds - link) > (PAGE_SIZE / sizeof(unsigned int))) { + if (sizedwords > (ARRAY_SIZE(link))) { KGSL_DRV_ERR(device, "Temp command buffer overflow\n"); BUG(); } @@ -882,15 +884,12 @@ static void adreno_iommu_setstate(struct kgsl_device *device, * This returns the per context timestamp but we need to * use the global timestamp for iommu clock disablement */ - adreno_ringbuffer_issuecmds(device, adreno_ctx, KGSL_CMD_FLAGS_PMODE, - link, (unsigned int) (cmds - link)); + &link[0], sizedwords); kgsl_mmu_disable_clk_on_ts(&device->mmu, rb->timestamp[KGSL_MEMSTORE_GLOBAL], true); -done: - kfree(link); kgsl_context_put(context); } diff --git a/kernel/drivers/gpu/msm/adreno.h b/kernel/drivers/gpu/msm/adreno.h index 882fdd1ba..531a77c02 100644 --- a/kernel/drivers/gpu/msm/adreno.h +++ b/kernel/drivers/gpu/msm/adreno.h @@ -19,8 +19,6 @@ #include "kgsl_iommu.h" #include -#include "a3xx_reg.h" - #define DEVICE_3D_NAME "kgsl-3d" #define DEVICE_3D0_NAME "kgsl-3d0" @@ -508,11 +506,6 @@ static inline int adreno_add_read_cmds(struct kgsl_device *device, *cmds++ = val; *cmds++ = 0xFFFFFFFF; *cmds++ = 0xFFFFFFFF; - - /* WAIT_REG_MEM turns back on protected mode - push it off */ - *cmds++ = cp_type3_packet(CP_SET_PROTECTED_MODE, 1); - *cmds++ = 0; - cmds += __adreno_add_idle_indirect_cmds(cmds, nop_gpuaddr); return cmds - start; } @@ -561,42 +554,4 @@ static inline int adreno_wait_reg_eq(unsigned int *cmds, unsigned int addr, return cmds - start; } -/* - * adreno_set_protected_registers() - Protect the specified range of registers - * from being accessed by the GPU - * @device: pointer to the KGSL device - * @index: Pointer to the index of the protect mode register to write to - * @reg: Starting dword register to write - * @mask_len: Size of the mask to protect (# of registers = 2 ** mask_len) - * - * Add the range of registers to the list of protected mode registers that will - * cause an exception if the GPU accesses them. There are 16 available - * protected mode registers. Index is used to specify which register to write - * to - the intent is to call this function multiple times with the same index - * pointer for each range and the registers will be magically programmed in - * incremental fashion - */ -static inline void adreno_set_protected_registers(struct kgsl_device *device, - unsigned int *index, unsigned int reg, int mask_len) -{ - struct adreno_device *adreno_dev = ADRENO_DEVICE(device); - unsigned int val; - - /* This function is only for adreno A3XX and beyond */ - BUG_ON(adreno_is_a2xx(adreno_dev)); - - /* There are only 16 registers available */ - BUG_ON(*index >= 16); - - val = 0x60000000 | ((mask_len & 0x1F) << 24) | ((reg << 2) & 0x1FFFF); - - /* - * Write the protection range to the next available protection - * register - */ - - kgsl_regwrite(device, A3XX_CP_PROTECT_REG_0 + *index, val); - *index = *index + 1; -} - #endif /*__ADRENO_H */ diff --git a/kernel/drivers/gpu/msm/adreno_a3xx.c b/kernel/drivers/gpu/msm/adreno_a3xx.c index 5eceb3689..29855f7d7 100644 --- a/kernel/drivers/gpu/msm/adreno_a3xx.c +++ b/kernel/drivers/gpu/msm/adreno_a3xx.c @@ -2526,8 +2526,8 @@ static int a3xx_rb_init(struct adreno_device *adreno_dev, GSL_RB_WRITE(rb->device, cmds, cmds_gpu, 0x00000001); GSL_RB_WRITE(rb->device, cmds, cmds_gpu, 0x00000000); GSL_RB_WRITE(rb->device, cmds, cmds_gpu, 0x00000000); - /* Enable protected mode */ - GSL_RB_WRITE(rb->device, cmds, cmds_gpu, 0x20000000); + /* Protected mode control - turned off for A3XX */ + GSL_RB_WRITE(rb->device, cmds, cmds_gpu, 0x00000000); GSL_RB_WRITE(rb->device, cmds, cmds_gpu, 0x00000000); GSL_RB_WRITE(rb->device, cmds, cmds_gpu, 0x00000000); @@ -2589,16 +2589,9 @@ static void a3xx_err_callback(struct adreno_device *adreno_dev, int bit) case A3XX_INT_CP_HW_FAULT: err = "ringbuffer hardware fault"; break; - case A3XX_INT_CP_REG_PROTECT_FAULT: { - unsigned int reg; - kgsl_regread(device, A3XX_CP_PROTECT_STATUS, ®); - - KGSL_DRV_CRIT(device, - "CP | Protected mode error| %s | addr=%x\n", - reg & (1 << 24) ? "WRITE" : "READ", - (reg & 0x1FFFF) >> 2); - return; - } + case A3XX_INT_CP_REG_PROTECT_FAULT: + err = "ringbuffer protected mode error interrupt"; + break; case A3XX_INT_CP_AHB_ERROR_HALT: err = "ringbuffer AHB error interrupt"; break; @@ -3171,46 +3164,6 @@ static void a3xx_perfcounter_init(struct adreno_device *adreno_dev) NULL, PERFCOUNTER_FLAG_KERNEL); } -/** - * a3xx_protect_init() - Initializes register protection on a3xx - * @device: Pointer to the device structure - * Performs register writes to enable protected access to sensitive - * registers - */ -static void a3xx_protect_init(struct kgsl_device *device) -{ - int index = 0; - - /* enable access protection to privileged registers */ - kgsl_regwrite(device, A3XX_CP_PROTECT_CTRL, 0x00000007); - - /* RBBM registers */ - adreno_set_protected_registers(device, &index, 0x18, 0); - adreno_set_protected_registers(device, &index, 0x20, 2); - adreno_set_protected_registers(device, &index, 0x33, 0); - adreno_set_protected_registers(device, &index, 0x42, 0); - adreno_set_protected_registers(device, &index, 0x50, 4); - adreno_set_protected_registers(device, &index, 0x63, 0); - adreno_set_protected_registers(device, &index, 0x100, 4); - - /* CP registers */ - adreno_set_protected_registers(device, &index, 0x1C0, 5); - adreno_set_protected_registers(device, &index, 0x1EC, 1); - adreno_set_protected_registers(device, &index, 0x1F6, 1); - adreno_set_protected_registers(device, &index, 0x1F8, 2); - adreno_set_protected_registers(device, &index, 0x45E, 2); - adreno_set_protected_registers(device, &index, 0x460, 4); - - /* RB registers */ - adreno_set_protected_registers(device, &index, 0xCC0, 0); - - /* VBIF registers */ - adreno_set_protected_registers(device, &index, 0x3000, 6); - - /* SMMU registers */ - adreno_set_protected_registers(device, &index, 0x4000, 14); -} - static void a3xx_start(struct adreno_device *adreno_dev) { struct kgsl_device *device = &adreno_dev->dev; @@ -3275,8 +3228,6 @@ static void a3xx_start(struct adreno_device *adreno_dev) adreno_regwrite(device, A3XX_RB_GMEM_BASE_ADDR, (unsigned int)(adreno_dev->ocmem_base >> 14)); } - /* Turn on protection */ - a3xx_protect_init(device); /* Turn on performance counters */ adreno_regwrite(device, A3XX_RBBM_PERFCTR_CTL, 0x01); diff --git a/kernel/drivers/gpu/msm/adreno_ringbuffer.c b/kernel/drivers/gpu/msm/adreno_ringbuffer.c index 586a14355..70223dbb4 100644 --- a/kernel/drivers/gpu/msm/adreno_ringbuffer.c +++ b/kernel/drivers/gpu/msm/adreno_ringbuffer.c @@ -407,6 +407,32 @@ int _ringbuffer_start_common(struct adreno_ringbuffer *rb) rb->memptrs_desc.gpuaddr + GSL_RB_MEMPTRS_RPTR_OFFSET); + if (adreno_is_a3xx(adreno_dev)) { + /* enable access protection to privileged registers */ + adreno_regwrite(device, A3XX_CP_PROTECT_CTRL, 0x00000007); + + /* RBBM registers */ + adreno_regwrite(device, A3XX_CP_PROTECT_REG_0, 0x63000040); + adreno_regwrite(device, A3XX_CP_PROTECT_REG_1, 0x62000080); + adreno_regwrite(device, A3XX_CP_PROTECT_REG_2, 0x600000CC); + adreno_regwrite(device, A3XX_CP_PROTECT_REG_3, 0x60000108); + adreno_regwrite(device, A3XX_CP_PROTECT_REG_4, 0x64000140); + adreno_regwrite(device, A3XX_CP_PROTECT_REG_5, 0x66000400); + + /* CP registers */ + adreno_regwrite(device, A3XX_CP_PROTECT_REG_6, 0x65000700); + adreno_regwrite(device, A3XX_CP_PROTECT_REG_7, 0x610007D8); + adreno_regwrite(device, A3XX_CP_PROTECT_REG_8, 0x620007E0); + adreno_regwrite(device, A3XX_CP_PROTECT_REG_9, 0x61001178); + adreno_regwrite(device, A3XX_CP_PROTECT_REG_A, 0x64001180); + + /* RB registers */ + adreno_regwrite(device, A3XX_CP_PROTECT_REG_B, 0x60003300); + + /* VBIF registers */ + adreno_regwrite(device, A3XX_CP_PROTECT_REG_C, 0x6B00C000); + } + if (adreno_is_a2xx(adreno_dev)) { /* explicitly clear all cp interrupts */ adreno_regwrite(device, REG_CP_INT_ACK, 0xFFFFFFFF); diff --git a/kernel/drivers/gpu/msm/kgsl_iommu.c b/kernel/drivers/gpu/msm/kgsl_iommu.c index 6ccd4f0ab..0bacc5e04 100644 --- a/kernel/drivers/gpu/msm/kgsl_iommu.c +++ b/kernel/drivers/gpu/msm/kgsl_iommu.c @@ -989,10 +989,6 @@ inline unsigned int kgsl_iommu_sync_lock(struct kgsl_mmu *mmu, *cmds++ = 0x1; *cmds++ = 0x1; - /* WAIT_REG_MEM turns back on protected mode - push it off */ - *cmds++ = cp_type3_packet(CP_SET_PROTECTED_MODE, 1); - *cmds++ = 0; - *cmds++ = cp_type3_packet(CP_MEM_WRITE, 2); *cmds++ = lock_vars->turn; *cmds++ = 0; @@ -1007,19 +1003,11 @@ inline unsigned int kgsl_iommu_sync_lock(struct kgsl_mmu *mmu, *cmds++ = 0x1; *cmds++ = 0x1; - /* WAIT_REG_MEM turns back on protected mode - push it off */ - *cmds++ = cp_type3_packet(CP_SET_PROTECTED_MODE, 1); - *cmds++ = 0; - *cmds++ = cp_type3_packet(CP_TEST_TWO_MEMS, 3); *cmds++ = lock_vars->flag[PROC_APPS]; *cmds++ = lock_vars->turn; *cmds++ = 0; - /* TEST_TWO_MEMS turns back on protected mode - push it off */ - *cmds++ = cp_type3_packet(CP_SET_PROTECTED_MODE, 1); - *cmds++ = 0; - cmds += adreno_add_idle_cmds(adreno_dev, cmds); return cmds - start; @@ -1057,10 +1045,6 @@ inline unsigned int kgsl_iommu_sync_unlock(struct kgsl_mmu *mmu, *cmds++ = 0x1; *cmds++ = 0x1; - /* WAIT_REG_MEM turns back on protected mode - push it off */ - *cmds++ = cp_type3_packet(CP_SET_PROTECTED_MODE, 1); - *cmds++ = 0; - cmds += adreno_add_idle_cmds(adreno_dev, cmds); return cmds - start; diff --git a/kernel/drivers/gpu/msm/kgsl_mmu.c b/kernel/drivers/gpu/msm/kgsl_mmu.c index de62c1b57..12a4b25af 100644 --- a/kernel/drivers/gpu/msm/kgsl_mmu.c +++ b/kernel/drivers/gpu/msm/kgsl_mmu.c @@ -372,10 +372,6 @@ int kgsl_mmu_init(struct kgsl_device *device) status = kgsl_allocate_contiguous(&mmu->setstate_memory, PAGE_SIZE); if (status) return status; - - /* Mark the setstate memory as read only */ - mmu->setstate_memory.flags |= KGSL_MEMFLAGS_GPUREADONLY; - kgsl_sharedmem_set(device, &mmu->setstate_memory, 0, 0, mmu->setstate_memory.size); diff --git a/kernel/drivers/input/keyboard/gpio_keys.c b/kernel/drivers/input/keyboard/gpio_keys.c index 69dacc152..ce1a18e9b 100644 --- a/kernel/drivers/input/keyboard/gpio_keys.c +++ b/kernel/drivers/input/keyboard/gpio_keys.c @@ -29,7 +29,6 @@ #include #include #include -#include struct gpio_button_data { const struct gpio_keys_button *button; @@ -52,7 +51,6 @@ struct gpio_keys_drvdata { struct gpio_button_data data[0]; }; -struct wake_lock gpio_keys_wlock; /* * SYSFS interface for enabling/disabling keys and switches: * @@ -368,8 +366,7 @@ static irqreturn_t gpio_keys_gpio_isr(int irq, void *dev_id) jiffies + msecs_to_jiffies(bdata->timer_debounce)); else schedule_work(&bdata->work); - // [houjihai] add timeout wake lock - wake_lock_timeout(&gpio_keys_wlock, 5 * HZ); + return IRQ_HANDLED; } @@ -648,20 +645,6 @@ static void gpio_remove_key(struct gpio_button_data *bdata) gpio_free(bdata->button->gpio); } -/* [houjihai start] add pm domain for gpio keys */ -static int no_suppend_resume(struct device *dev) -{ - return 0; -} - -struct dev_pm_domain gpio_keys_pm_domain = { - .ops = { - .suspend = no_suppend_resume, - .resume = no_suppend_resume, - } -}; -/* [houjihai end] */ - static int __devinit gpio_keys_probe(struct platform_device *pdev) { const struct gpio_keys_platform_data *pdata = pdev->dev.platform_data; @@ -701,8 +684,6 @@ static int __devinit gpio_keys_probe(struct platform_device *pdev) input->name = pdata->name ? : pdev->name; input->phys = "gpio-keys/input0"; input->dev.parent = &pdev->dev; - // [houjihai] add pm domain for gpio keys - input->dev.pm_domain = &gpio_keys_pm_domain; input->open = gpio_keys_open; input->close = gpio_keys_close; @@ -824,14 +805,11 @@ static int gpio_keys_resume(struct device *dev) struct gpio_button_data *bdata = &ddata->data[i]; if (bdata->button->wakeup && device_may_wakeup(dev)) disable_irq_wake(bdata->irq); - /* [houjihai start] no need pass up event when resume*/ -#if 0 + if (gpio_is_valid(bdata->button->gpio)) gpio_keys_gpio_report_event(bdata); -#endif } - //input_sync(ddata->input); - /* [houjihai end]*/ + input_sync(ddata->input); return 0; } @@ -852,13 +830,11 @@ static struct platform_driver gpio_keys_device_driver = { static int __init gpio_keys_init(void) { - wake_lock_init(&gpio_keys_wlock, WAKE_LOCK_SUSPEND, "gpiokeys"); return platform_driver_register(&gpio_keys_device_driver); } static void __exit gpio_keys_exit(void) { - wake_lock_destroy(&gpio_keys_wlock); platform_driver_unregister(&gpio_keys_device_driver); } diff --git a/kernel/drivers/mmc/host/msm_sdcc.c b/kernel/drivers/mmc/host/msm_sdcc.c index 27f5d2c48..3986cddbe 100644 --- a/kernel/drivers/mmc/host/msm_sdcc.c +++ b/kernel/drivers/mmc/host/msm_sdcc.c @@ -4531,14 +4531,11 @@ msmsdcc_check_status(unsigned long data) " is ACTIVE_HIGH\n", mmc_hostname(host->mmc), host->oldstat, status); - - /* [linyunfeng] 0 -> HZ >> 1, set debounce time */ - mmc_detect_change(host->mmc, HZ >> 1); + mmc_detect_change(host->mmc, 0); } host->oldstat = status; } else { - /* [linyunfeng] 0 -> HZ >> 1, set debounce time */ - mmc_detect_change(host->mmc, HZ >> 1); + mmc_detect_change(host->mmc, 0); } } diff --git a/kernel/drivers/mtd/devices/Kconfig b/kernel/drivers/mtd/devices/Kconfig index 6c21bf8e4..bc0576409 100644 --- a/kernel/drivers/mtd/devices/Kconfig +++ b/kernel/drivers/mtd/devices/Kconfig @@ -357,8 +357,4 @@ config MTD_DOCPROBE_55AA LinuxBIOS or if you need to recover a DiskOnChip Millennium on which you have managed to wipe the first block. -config FLASH_TYPE_ETRON - bool "Etron Flash" - default n - endmenu diff --git a/kernel/drivers/mtd/devices/msm_qpic_nand.c b/kernel/drivers/mtd/devices/msm_qpic_nand.c old mode 100755 new mode 100644 index 8ad15a361..d3dbfde73 --- a/kernel/drivers/mtd/devices/msm_qpic_nand.c +++ b/kernel/drivers/mtd/devices/msm_qpic_nand.c @@ -718,7 +718,7 @@ static int msm_nand_flash_onfi_probe(struct msm_nand_info *info) if (!ret && !(nandc_version.nand_major == 1 && nandc_version.nand_minor == 1 && nandc_version.qpic_major == 1 && - nandc_version.qpic_minor >= 1)) { + nandc_version.qpic_minor == 1)) { ret = -EPERM; goto out; } @@ -2068,7 +2068,7 @@ int msm_nand_scan(struct mtd_info *mtd) int flash_id = 0, err = 0; uint32_t i, mtd_writesize; uint8_t dev_found = 0, wide_bus; - uint32_t manid = 0, devid = 0, devcfg; + uint32_t manid, devid, devcfg; uint32_t bad_block_byte; struct nand_flash_dev *flashdev = NULL; struct nand_manufacturers *flashman = NULL; @@ -2107,16 +2107,6 @@ int msm_nand_scan(struct mtd_info *mtd) ((devcfg >> 4) & 0x3); supported_flash->oobsize = (8 << ((devcfg >> 2) & 1)) * (supported_flash->pagesize >> 9); - -#if 0 -#ifdef CONFIG_FLASH_TYPE_ETRON - supported_flash->oobsize = 128; -#endif -#endif - if((manid == ETRON_2G1G_MANID) && (devid == ETRON_2G1G_DEVID)) { - supported_flash->oobsize = 128; - } - } else { supported_flash->widebus = flashdev->options & NAND_BUSWIDTH_16 ? 1 : 0; @@ -2126,7 +2116,6 @@ int msm_nand_scan(struct mtd_info *mtd) } supported_flash->flash_id = flash_id; supported_flash->density = flashdev->chipsize << 20; - //supported_flash->oobsize = 128; } if (dev_found) { @@ -2143,15 +2132,6 @@ int msm_nand_scan(struct mtd_info *mtd) else chip->bch_caps = MSM_NAND_CAP_4_BIT_BCH; -#if 0 -#ifdef CONFIG_FLASH_TYPE_ETRON - chip->bch_caps = MSM_NAND_CAP_8_BIT_BCH; -#endif -#endif - if((manid == ETRON_2G1G_MANID) && (devid == ETRON_2G1G_DEVID)) { - chip->bch_caps = MSM_NAND_CAP_8_BIT_BCH; - } - pr_info("NAND Id: 0x%x Buswidth: %dBits Density: %lld MByte\n", supported_flash->flash_id, (wide_bus) ? 16 : 8, (mtd->size >> 20)); diff --git a/kernel/drivers/mtd/nand/nand_ids.c b/kernel/drivers/mtd/nand/nand_ids.c index 8ad9ccddd..72ced9dce 100644 --- a/kernel/drivers/mtd/nand/nand_ids.c +++ b/kernel/drivers/mtd/nand/nand_ids.c @@ -169,14 +169,7 @@ struct nand_flash_dev nand_flash_ids[] = { * Manufacturer ID list */ struct nand_manufacturers nand_manuf_ids[] = { -#if 0 -#ifdef CONFIG_FLASH_TYPE_ETRON - {NAND_MFR_ETRON, "Etron"}, -#else {NAND_MFR_TOSHIBA, "Toshiba"}, -#endif -#endif - {NAND_MFR_ETRON, "Etron"}, {NAND_MFR_SAMSUNG, "Samsung"}, {NAND_MFR_FUJITSU, "Fujitsu"}, {NAND_MFR_NATIONAL, "National"}, @@ -186,7 +179,6 @@ struct nand_manufacturers nand_manuf_ids[] = { {NAND_MFR_MICRON, "Micron"}, {NAND_MFR_AMD, "AMD"}, {NAND_MFR_MACRONIX, "Macronix"}, - {NAND_MFR_ESMT, "ESMT"}, {0x0, "Unknown"} }; diff --git a/kernel/drivers/net/ethernet/msm/msm_rmnet_wwan.c b/kernel/drivers/net/ethernet/msm/msm_rmnet_wwan.c index 2a2e08a37..b0814bf87 100644 --- a/kernel/drivers/net/ethernet/msm/msm_rmnet_wwan.c +++ b/kernel/drivers/net/ethernet/msm/msm_rmnet_wwan.c @@ -89,8 +89,6 @@ struct wwan_private { static struct net_device *netdevs[WWAN_DEVICE_COUNT]; -static unsigned long rmnet_jiffies; - static __be16 wwan_ip_type_trans(struct sk_buff *skb) { __be16 protocol = 0; @@ -491,17 +489,13 @@ static int wwan_xmit(struct sk_buff *skb, struct net_device *dev) struct wwan_private *wwan_ptr = netdev_priv(dev); unsigned long flags; int ret = 0; - int i; if (netif_queue_stopped(dev)) { pr_err("[%s]fatal: wwan_xmit called when netif_queue stopped\n", dev->name); return 0; } - rmnet_jiffies = jiffies; - for (i = 0; i < dev->num_tx_queues; i++) - netdev_get_tx_queue(dev, i)->trans_start = rmnet_jiffies; - dev->trans_start = rmnet_jiffies; + dev->trans_start = jiffies; ret = ipa_rm_inactivity_timer_request_resource( ipa_rm_resource_by_ch_id[wwan_ptr->ch_id]); if (ret == -EINPROGRESS) { diff --git a/kernel/drivers/oled/Kconfig b/kernel/drivers/oled/Kconfig deleted file mode 100755 index 0cc378c94..000000000 --- a/kernel/drivers/oled/Kconfig +++ /dev/null @@ -1,19 +0,0 @@ -config OLED - bool "Support OLED display" - default n - ---help--- - Say Y here if you use OLED display - -config OLED_SSD1306_PT - bool "Driver for OLED SSD1306" - select OLED - default n - ---help--- - Say Y here if you use OLED SSD1306 - -config OLED_S90319_PT - bool "Driver for OLED s90319" - select OLED - default n - ---help--- - Say Y here if you use OLED S90319 diff --git a/kernel/drivers/oled/Makefile b/kernel/drivers/oled/Makefile deleted file mode 100755 index b8cc01ed9..000000000 --- a/kernel/drivers/oled/Makefile +++ /dev/null @@ -1,6 +0,0 @@ -obj-$(CONFIG_OLED_SSD1306_PT) += oled_ssd1306_pt.o -obj-$(CONFIG_OLED_S90319_PT) += oled_s90319_pt.o -obj-$(CONFIG_OLED) += oled_pt.o oled_display.o - -clean: - rm *.o .*cmd diff --git a/kernel/drivers/oled/oled_display.c b/kernel/drivers/oled/oled_display.c deleted file mode 100755 index 058ffa402..000000000 --- a/kernel/drivers/oled/oled_display.c +++ /dev/null @@ -1,184 +0,0 @@ -/******************************************************************************* - Copyright (C), 2014, TP-LINK TECHNOLOGIES CO., LTD. - File name : oled_display.h - Description : oled sysfs interface. - Author : Luowei - - History: ------------------------------- -V0.1, 2014-05-13, Luowei create file. -*******************************************************************************/ - -#include -#include -#include -#include -#include -#include "oled_display.h" - -struct class *oled_display_class; -EXPORT_SYMBOL_GPL(oled_display_class); - -static struct device_type oled_display_dev_type; - -#define DISPLAY_ATTR(_name) \ -{ \ - .attr = { .name = #_name }, \ - .show = oled_display_show_property, \ - .store = oled_display_store_property, \ -} - -static struct device_attribute oled_display_attrs[]; - -static ssize_t oled_display_show_property(struct device *dev, - struct device_attribute *attr, - char *buf) -{ - struct oled_display *display = dev_get_drvdata(dev); - const ptrdiff_t off = attr - oled_display_attrs; - ssize_t ret = 0; - - if (!display) - goto show_failed; - - if ((off >= DISPLAY_PROP_BUFFER && off < DISPLAY_PROP_NUMBER) - && display->show_property[off]) - ret = display->show_property[off](dev, attr, buf); - - return ret; -show_failed: - return 0; -} - -static ssize_t oled_display_store_property(struct device *dev, - struct device_attribute *attr, - const char *buf, size_t count) -{ - struct oled_display *display = dev_get_drvdata(dev); - const ptrdiff_t off = attr - oled_display_attrs; - ssize_t ret = 0; - - if (!display) - goto show_failed; - - if ((off >= DISPLAY_PROP_BUFFER && off < DISPLAY_PROP_NUMBER) - && display->store_property[off]) - ret = display->store_property[off](dev, attr, buf, count); - - return ret; -show_failed: - return 0; -} - -static struct device_attribute oled_display_attrs[] = { - DISPLAY_ATTR(oled_buffer), - DISPLAY_ATTR(backlight_on), - DISPLAY_ATTR(panel_on), -}; - -static struct attribute *__oled_display_attrs[ARRAY_SIZE(oled_display_attrs) + 1]; - -static umode_t oled_display_attr_is_visible(struct kobject *kobj, - struct attribute *attr, - int attrno) -{ - return (S_IRUGO | S_IWUGO); -} - -static struct attribute_group oled_display_attr_group = { - .attrs = __oled_display_attrs, - .is_visible = oled_display_attr_is_visible, -}; - -static const struct attribute_group *oled_display_attr_groups[] = { - &oled_display_attr_group, - NULL, -}; - -static void oled_display_init_attrs(struct device_type *dev_type) -{ - int i; - - dev_type->groups = oled_display_attr_groups; - - for (i = 0; i < ARRAY_SIZE(oled_display_attrs); i++) - __oled_display_attrs[i] = &oled_display_attrs[i].attr; -} - -static void oled_display_dev_release(struct device *dev) -{ - pr_debug("device: '%s': %s\n", dev_name(dev), __func__); - kfree(dev); -} - -int oled_display_register(struct device *parent, struct oled_display *display) -{ - struct device *dev; - int rc; - - dev = kzalloc(sizeof(*dev), GFP_KERNEL); - if (!dev) - return -ENOMEM; - - device_initialize(dev); - - dev->class = oled_display_class; - dev->type = &oled_display_dev_type; - dev->parent = parent; - dev->release = oled_display_dev_release; - dev_set_drvdata(dev, display); - display->dev = dev; - - rc = kobject_set_name(&dev->kobj, "%s", display->name); - if (rc) - goto kobject_set_name_failed; - - rc = device_add(dev); - if (rc) - goto device_add_failed; - - spin_lock_init(&display->lock); - - return 0; - -kobject_set_name_failed: - put_device(dev); - kfree(dev->p); - kfree(dev); - return rc; -device_add_failed: - device_del(dev); - put_device(dev); - return rc; -} -EXPORT_SYMBOL_GPL(oled_display_register); - -void oled_display_unregister(struct oled_display *display) -{ - device_unregister(display->dev); -} -EXPORT_SYMBOL_GPL(oled_display_unregister); - -static int __init oled_display_class_init(void) -{ - oled_display_class = class_create(THIS_MODULE, "display"); - - if (IS_ERR(oled_display_class)) - return PTR_ERR(oled_display_class); - - oled_display_init_attrs(&oled_display_dev_type); - - return 0; -} - -static void __exit oled_display_class_exit(void) -{ - class_destroy(oled_display_class); -} - -subsys_initcall(oled_display_class_init); -module_exit(oled_display_class_exit); - -MODULE_DESCRIPTION("Universal display class"); -MODULE_AUTHOR("LuoWei "); -MODULE_LICENSE("GPL"); diff --git a/kernel/drivers/oled/oled_display.h b/kernel/drivers/oled/oled_display.h deleted file mode 100755 index 33cce4dcf..000000000 --- a/kernel/drivers/oled/oled_display.h +++ /dev/null @@ -1,40 +0,0 @@ -/******************************************************************************* - Copyright (C), 2014, TP-LINK TECHNOLOGIES CO., LTD. - File name : oled_display.h - Description : Header file of oled sysfs interface. - Author : Luowei - - History: ------------------------------- -V0.1, 2014-05-13, Luowei create file. -*******************************************************************************/ - -#ifndef __OLED_DISPLAY_H__ -#define __OLED_DISPLAY_H__ - -#include - -enum oled_display_property { - DISPLAY_PROP_BUFFER = 0, - DISPLAY_PROP_BACKLIGHTON, - DISPLAY_PROP_PANELON, - DISPLAY_PROP_NUMBER -}; - -struct oled_display { - const char *name; - enum oled_display_property *properties; - size_t num_properties; - - ssize_t (*show_property[DISPLAY_PROP_NUMBER]) (struct device *dev, - struct device_attribute *attr, char *buf); - ssize_t (*store_property[DISPLAY_PROP_NUMBER]) (struct device *dev, - struct device_attribute *attr, const char *buf, size_t count); - - struct device *dev; - spinlock_t lock; -}; - -int oled_display_register(struct device *parent, struct oled_display *display); - -#endif \ No newline at end of file diff --git a/kernel/drivers/oled/oled_pt.c b/kernel/drivers/oled/oled_pt.c deleted file mode 100755 index 92ba7ab9f..000000000 --- a/kernel/drivers/oled/oled_pt.c +++ /dev/null @@ -1,274 +0,0 @@ -/******************************************************************************* - Copyright (C), 1996-2012, TP-LINK TECHNOLOGIES CO., LTD. - File name : oled_pt.c - Description : Driver for OLED s90319. - Author : linyunfeng - - History: ------------------------------- -V0.1, 2011-08-16, linyunfeng create file. -*******************************************************************************/ -#include -#include -#include -#include -#include - -#include "oled_pt.h" -#include "oled_display.h" - -//#define OLED_DEBUG - -struct mutex oled_mutex; -struct wake_lock oled_wlock; - -static struct oled_panel_data *oled_pdata; - -#ifdef CONFIG_OLED_SSD1306_PT -extern uint8_t oled_ssd1306_buf[]; -extern struct oled_panel_data oled_ssd1306_panel_data; -#endif - -#ifdef CONFIG_OLED_S90319_PT -extern uint8_t oled_s90319_buf[]; -extern struct oled_panel_data oled_s90319_panel_data; -#endif - -static uint32_t oled_buf_size = 0; - -/******************************************************************************* - Function : oled_buffer_show - Description : Print the oled buffer data, hex - Input : None - Output : buf: Command line buffer - Return : The number of characters will display in command - line. - Others : None -*******************************************************************************/ -static ssize_t oled_buffer_show(struct device *dev, struct device_attribute *attr, - char *buf) -{ - return oled_pdata->oled_print_buffer(buf); -} - -/******************************************************************************* - Function : oled_buffer_store - Description : Write data to oled buffer. - Input : buf: Input format is: x,y,width,height,data. - count: Length of input. - Output : None - Return : Length of input or error number. - Others : None -*******************************************************************************/ -static ssize_t oled_buffer_store(struct device *dev, struct device_attribute *attr, - const char *buf, size_t count) -{ - uint32_t data_length = 0; - uint8_t x = buf[0]; - uint8_t y = buf[1]; - uint8_t width = buf[2]; - uint8_t height = buf[3]; - - if ('\n' == *(buf + count - 1)){ - data_length = count - 5; - } else { - data_length = count - 4; - } - - if (data_length > oled_buf_size) { - printk("%s, data_length=%d, oled_buf_size=%d, oled buffer overflow!\n", - __func__, data_length, oled_buf_size); - mutex_unlock(&oled_mutex); - return -1; - } - - mutex_lock(&oled_mutex); - -#ifdef CONFIG_OLED_SSD1306_PT - memcpy(oled_ssd1306_buf, buf + 4, data_length); - - oled_pdata->oled_fill_with_pic(oled_ssd1306_buf, - x, y, width, height); -#endif - -#ifdef CONFIG_OLED_S90319_PT - memcpy(oled_s90319_buf, buf + 4, buf[2] * buf[3] / 8); - oled_pdata->oled_fill_with_pic(oled_s90319_buf, - x, y, width, height); -#endif - - mutex_unlock(&oled_mutex); - - return count; -} - -/******************************************************************************* - Function : backlight_on_store - Description : Control backlight. - Input : buf: 0: off, 1: on. - count: Length of input. - Output : None - Return : Length of input. - Others : None -*******************************************************************************/ -static ssize_t backlight_on_store(struct device *dev, struct device_attribute *attr, - const char *buf, size_t count) -{ - uint8_t on = simple_strtoul(buf, NULL, 10); - -#if defined(OLED_DEBUG) - printk("%s, buf=%s\n", __func__, buf); -#endif - - oled_pdata->oled_set_backlight(on); - return count; -} - -/******************************************************************************* - Function : panel_on_store - Description : Control panel. - Input : buf: 0: off, 1: on. - count: Length of input. - Output : None - Return : Length of input. - Others : None -*******************************************************************************/ -static ssize_t panel_on_store(struct device *dev, struct device_attribute *attr, - const char *buf, size_t count) -{ - uint8_t on = simple_strtoul(buf, NULL, 10); - -#if defined(OLED_DEBUG) - printk("%s, buf=%s\n", __func__, buf); -#endif - - if (0 == on) { - oled_pdata->oled_panel_off(); - - if (wake_lock_active(&oled_wlock)) { - wake_unlock(&oled_wlock); - } - } else { - if (!wake_lock_active(&oled_wlock)) { - wake_lock(&oled_wlock); - } - - oled_pdata->oled_panel_on(); - } - -#if defined(OLED_DEBUG) - printk("%s end\n", __func__); -#endif - - return count; -} - -static enum oled_display_property oled_display_prop[] = { - DISPLAY_PROP_BUFFER, - DISPLAY_PROP_BACKLIGHTON, - DISPLAY_PROP_PANELON -}; - -static struct oled_display oled_display = { - .name = "oled", - .properties = oled_display_prop, - .num_properties = ARRAY_SIZE(oled_display_prop), - .show_property = {oled_buffer_show}, - .store_property = {oled_buffer_store, backlight_on_store, panel_on_store} -}; - -/* Function to load the device */ -static int __devinit oled_probe(struct platform_device *pdev) -{ - int ret = 0; - struct device *dev = &(pdev->dev); - printk("%s\n", __func__); - - ret = of_platform_populate(pdev->dev.of_node, NULL, NULL, &pdev->dev); - if (ret) - pr_err("%s: of_platform_populate failed %d\n", __func__, ret); - -#ifdef CONFIG_OLED_SSD1306_PT - pdev->dev.platform_data = &oled_ssd1306_panel_data; -#endif - -#ifdef CONFIG_OLED_S90319_PT - pdev->dev.platform_data = &oled_s90319_panel_data; -#endif - - oled_pdata = pdev->dev.platform_data; - - oled_buf_size = oled_pdata->panel_width * oled_pdata->panel_height; - - oled_display.dev = dev; - ret = oled_display_register(dev, &oled_display); - - if (ret < 0) { - dev_err(dev, "%s: oled_display_register failed, ret=%d\n", - __func__, ret); - return ret; - } - - mutex_init(&oled_mutex); - - wake_lock_init(&oled_wlock, WAKE_LOCK_SUSPEND, "oled"); - - return ret; -} - -static int __devexit oled_remove(struct platform_device *pdev) -{ -#if defined(OLED_DEBUG) - printk("%s\n", __func__); -#endif - - wake_lock_destroy(&oled_wlock); - - return 0; -} - -static struct of_device_id tp_oled_pt_table[] = { - { .compatible = "tp,oled_pt",}, - { }, -}; - -static struct platform_driver oled_device_driver = { - .probe = oled_probe, - .remove = __devexit_p(oled_remove), - .driver = { - .name = "oled", - .owner = THIS_MODULE, - .of_match_table = tp_oled_pt_table, - }, -}; - -static int __init oled_init(void) -{ - int rc = 0; -#if defined(OLED_DEBUG) - printk("%s\n", __func__); -#endif - - rc = platform_driver_register(&oled_device_driver); - - if (!rc) - printk("oled init success!\n"); - - return rc; -} - -static void __exit oled_exit(void) -{ -#if defined(OLED_DEBUG) - printk("%s\n", __func__); -#endif - platform_driver_unregister(&oled_device_driver); -} - -module_init(oled_init); -module_exit(oled_exit); - -MODULE_AUTHOR("Lin Yunfeng"); -MODULE_LICENSE("Dual BSD/GPL"); -MODULE_DESCRIPTION("OLED display driver"); - diff --git a/kernel/drivers/oled/oled_pt.h b/kernel/drivers/oled/oled_pt.h deleted file mode 100644 index 4730b1d55..000000000 --- a/kernel/drivers/oled/oled_pt.h +++ /dev/null @@ -1,54 +0,0 @@ -/******************************************************************************* -Copyright (C), 2014, TP-LINK TECHNOLOGIES CO., LTD. -File name : oled_pt.h -Description : Driver for OLED. -Author : Zhang Tao - -History: ------------------------------- -V0.1, 2014-04-14, ZhangTao create file. -*******************************************************************************/ - -#ifndef _OLED_PT_H -#define _OLED_PT_H - -#ifdef CONFIG_OLED_SSD1306_PT -struct oled_panel_data { - void (*oled_gpio_config)(int on); - int (*oled_power_save)(int); - int (*oled_panel_on)(void); - int (*oled_panel_off)(void); - int (*oled_horizontal_scroll)(const uint8_t y, const uint8_t height, - const uint8_t t_interval_scroll, const uint8_t direction); - int (*oled_scroll_stop)(void); - int (*oled_fade_blink)(const uint8_t mode, const uint8_t t_interval_scroll); - int (*oled_fill_with_pic)(const uint8_t *pic, const uint8_t x, - const uint8_t y, const uint8_t width, const uint8_t height); - int (*oled_fill_with_value)(const uint8_t value, const uint8_t x, - const uint8_t y, const uint8_t width, const uint8_t height); - int (*oled_print_buffer)(char *buf); - int (*oled_set_backlight)(const uint8_t on); - int panel_width; - int panel_height; - int *gpio_num; -}; -#endif - -#ifdef CONFIG_OLED_S90319_PT -struct oled_panel_data { - void (*oled_gpio_config)(int on); - int (*oled_power_save)(int); - int (*oled_panel_on)(void); - int (*oled_panel_off)(void); - int (*oled_fill_with_pic)(const uint8_t *pic, const uint8_t x, - const uint8_t y, const uint8_t width, const uint8_t height); - int (*oled_set_backlight)(const uint8_t on); - int (*oled_print_buffer)(char *buf); - int panel_width; - int panel_height; - int *gpio_num; -}; - -#endif - -#endif //end of _OLED_PT_H diff --git a/kernel/drivers/oled/oled_s90319_pt.c b/kernel/drivers/oled/oled_s90319_pt.c deleted file mode 100755 index f6d55e5d0..000000000 --- a/kernel/drivers/oled/oled_s90319_pt.c +++ /dev/null @@ -1,781 +0,0 @@ -/******************************************************************************* - Copyright (C), 1996-2014, TP-LINK TECHNOLOGIES CO., LTD. - File name : oled_s90319_pt.c - Description : Driver for OLED s90319. - Author : xiongsizhe - - History: ------------------------------- -V0.1, 2014-03-28, xiongsizhe create file. -*******************************************************************************/ - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include "oled_pt.h" -#include "oled_s90319_pt.h" - -//#define OLED_S90319_DEBUG - -typedef unsigned int boolean; - -#ifndef TRUE -#define TRUE 1 -#endif - -#ifndef FALSE -#define FALSE 0 -#endif - -static int s90319_spi_write_cmd(const uint8_t *data, const uint16_t len); -static int s90319_spi_write_data(const uint8_t *data, const uint16_t len); - -uint8_t oled_s90319_buf[COLUMN_NUM * ROW_NUM * 2] = {0}; -static uint8_t frame_data[COLUMN_NUM * ROW_NUM * 2] ={0}; - -static uint8_t frame_data_buf[COLUMN_NUM * ROW_NUM * 2] ={0}; - -struct s90319_state_type{ - boolean disp_initialized; - boolean display_on; - boolean disp_powered_up; -}; - -static struct s90319_state_type s90319_state = {0}; - -struct oled_panel_data oled_s90319_panel_data; -static struct oled_panel_data *oled_s90319_pdata; - -static struct mutex flush_mutex; -static struct mutex oled_panel_mutex; - -#define BUFFER_SIZE 4<<10 -struct spi_message spi_msg; -//struct spi_transfer spi_xfer; -unsigned char *tx_buf; - -struct s90319_work_t { - struct work_struct work; -}; -static DECLARE_WAIT_QUEUE_HEAD(s90319_wait_queue); - -static struct s90319_work_t *s90319_sensorw; -static struct spi_device *s90319_spi; - -static int oled_s90319_rsx; - -static int oled_s90319_cs; -static int oled_s90319_boost_en; - -enum GPIO_OLED_S90319 { - GPIO_OLED_CS = 0, - GPIO_OLED_RESET, - GPIO_OLED_BOOST_EN, - GPIO_OLED_RSX, - GPIO_OLED_VDD0, - GPIO_OLED_VDD1, - - GPIO_OLED_END, -}; - -static const char *dts_gpio_name[] = { - [GPIO_OLED_CS] = "qcom,oled-cs-gpio", - [GPIO_OLED_RESET] = "qcom,oled-reset-gpio", - [GPIO_OLED_BOOST_EN] = "qcom,oled-boost-en-gpio", - [GPIO_OLED_RSX] = "qcom,oled-rsx-gpio", - [GPIO_OLED_VDD0] = "qcom,oled-vdd0-gpio", - [GPIO_OLED_VDD1] = "qcom,oled-vdd1-gpio", - - [GPIO_OLED_END] = "", -}; - -static int oled_s90319_gpio[GPIO_OLED_END] = {0}; - -/************************************************************ - Function : wr_comm - Description: transfer command to oled - Input : commond - Return : -************************************************************/ -void wr_comm(uint8_t cmd) -{ - s90319_spi_write_cmd(&cmd, 1); -} - -/************************************************************ - Function : wr_dat - Description: transfer data to oled - Input : data - Return : -************************************************************/ -void wr_dat(uint8_t data) -{ - s90319_spi_write_data(&data, 1); -} - -/************************************************************ - Function : Delay - Description: delay time - Input : t - Return : -************************************************************/ -void Delay(unsigned int t) -{ - mdelay(t); -} - -/************************************************************ - Function : get_gpio_by_dtsname - Description: get gpio number by dtsname - Input : - Return : -************************************************************/ -static void get_gpio_by_dtsname(struct device_node *node, const char *gpio_name[], u32 *gpio_num, int len) -{ - int i = 0; - for (i = 0; i < len; i++) - { - gpio_num[i] = of_get_named_gpio(node, gpio_name[i], 0); - } -} - -/************************************************************ - Function : oled_s90319_config_gpios - Description: config gpio - Input : - Return : -************************************************************/ -static void oled_s90319_config_gpios(int enable) -{ - int i, rc = 0; - for (i = 0; i < GPIO_OLED_END; i++) - { - if (enable) - { - rc = gpio_request(oled_s90319_gpio[i], dts_gpio_name[i]); - if (rc) - { - pr_err("request gpio %s failed, rc=%d\n", dts_gpio_name[i], rc); - gpio_free(oled_s90319_gpio[i]); - return; - } - } - else - { - gpio_free(oled_s90319_gpio[i]); - } - } - return; -} - -/************************************************************ - Function : oled_s90319_power_save - Description: open or close power supply - Input : - Return : -************************************************************/ -static int oled_s90319_power_save(int on) -{ - int rc = 0; - if (on) - { - gpio_direction_output(oled_s90319_gpio[GPIO_OLED_RESET], 0); - mdelay(1); - - gpio_direction_output(oled_s90319_gpio[GPIO_OLED_VDD0], 1); - mdelay(1); - gpio_direction_output(oled_s90319_gpio[GPIO_OLED_VDD1], 1); - mdelay(1); - - gpio_set_value_cansleep(oled_s90319_gpio[GPIO_OLED_RESET], 1); - mdelay(1); - } - else - { - gpio_direction_output(oled_s90319_gpio[GPIO_OLED_BOOST_EN], 0); - mdelay(1); - gpio_direction_output(oled_s90319_gpio[GPIO_OLED_VDD1], 0); - mdelay(1); - gpio_direction_output(oled_s90319_gpio[GPIO_OLED_VDD0], 0); - mdelay(1); - gpio_direction_output(oled_s90319_gpio[GPIO_OLED_RESET], 0); - mdelay(1); - } - return rc; -} - -/************************************************************ - Function : s90319_spi_txdata - Description: transfer data by spi - Input : txdata: data to transfer - length: length of txdata - Return : -************************************************************/ -static int s90319_spi_txdata(uint8_t *txdata, const uint16_t length) -{ - struct spi_transfer spi_xfer = { - .tx_buf = txdata, - .len = length, - }; - spi_message_init(&spi_msg); - - spi_message_add_tail(&spi_xfer, &spi_msg); - - return spi_sync(s90319_spi, &spi_msg); -} - -/************************************************************ - Function : s90319_spi_write_cmd - Description: transfer cmd by spi - Input : data: cmd to transfer - len: length of cmd - Return : -************************************************************/ -static int s90319_spi_write_cmd(const uint8_t *data, const uint16_t len) -{ - int rc = 0; - -#ifdef OLED_S90319_DEBUG - int i = 0; - printk("%s, data = 0x%x, len = %d\n", __func__, *data, len); -#endif - - if (TRUE == s90319_state.disp_powered_up) { - - memcpy(frame_data, data, len); - -#ifdef OLED_S90319_DEBUG - for (i = 0; i < len; i++){ - printk("0x%x ", *(frame_data+i)); - } - printk("\n"); -#endif - - gpio_set_value_cansleep(oled_s90319_rsx, 0); - - rc = s90319_spi_txdata(frame_data, len); - if (rc < 0) { - printk("%s fail, data = 0x%x, len = %d, rc = %d\n", - __func__, *data, len, rc); - } - } - return rc; -} - -/************************************************************ - Function : s90319_spi_write_data - Description: data need to be write - Input : data: data need to be write - len: length of data - Return : -************************************************************/ -static int s90319_spi_write_data(const uint8_t *data, const uint16_t len) -{ - int rc = -EFAULT; - -#ifdef OLED_S90319_DEBUG - printk("%s, data = 0x%x, len = %d\n", __func__, *data, len); -#endif - - if (TRUE == s90319_state.disp_powered_up) { - - memcpy(frame_data, data, len); - - gpio_set_value_cansleep(oled_s90319_rsx, 1); - - rc = s90319_spi_txdata(frame_data, len); - if (rc < 0) { - printk("%s fail, data = 0x%x, len = %d, rc = %d\n", - __func__, *data, len, rc); - } - } - return rc; -} - -/************************************************************ - Function : oled_s90319_area_check - Description: check data area bigger than oled area or not - Input : - Return : -************************************************************/ -static int oled_s90319_area_check(const uint8_t x, const uint8_t y, - const uint8_t width, const uint8_t height) -{ - if ((x < 0) || (y < 0) || (width <= 0) || (height <= 0) - || (x + width > COLUMN_NUM) || (y + height > ROW_NUM)){ - printk("%s error, row_start=%d, col_start=%d, width=%d, height=%d", - __func__, x, y, width, height); - return -EINVAL; - } - - return 0; -} - -/************************************************************ - Function : oled_s90319_fill_with_pic - Description: write pic data on location assign - Input : - Return : -************************************************************/ -static int oled_s90319_fill_with_pic(const uint8_t *pic, const uint8_t x, - const uint8_t y, const uint8_t width, const uint8_t height) -{ - int i = 0, m = 0, j = 0; - uint8_t data; -#if defined(OLED_S90319_DEBUG) - printk("%s,width=%d, height=%d\n", __func__, width, height); -#endif - - if (oled_s90319_area_check(x, y, width, height)) { - return -EINVAL; - } - - oled_s90319_set_col_addr[1] = x + X_OFFSET; - oled_s90319_set_col_addr[3] = x + width - 1 + X_OFFSET; - oled_s90319_set_row_addr[1] = y + Y_OFFSET; - oled_s90319_set_row_addr[3] = y + height - 1 + Y_OFFSET; - - for (i = 0; i < width * height / 8; i++) - { - data = *pic; - for(m = 7; (m >= 0)&&(m <= 7); m--) - { - if((data >> m) & 0x01) - { - frame_data_buf[j] = 0x00; - frame_data_buf[j + 1] = 0x00; - } - else - { - frame_data_buf[j] = 0xFF; - frame_data_buf[j + 1] = 0xFF; - } - j = j + 2; - } - pic++; - } - - if (TRUE == s90319_state.disp_initialized) { - mutex_lock(&flush_mutex); - - s90319_spi_write_cmd(oled_set_col_cmd, sizeof(oled_set_col_cmd)); - s90319_spi_write_data(oled_s90319_set_col_addr, sizeof(oled_s90319_set_col_addr)); - - s90319_spi_write_cmd(oled_set_row_cmd, sizeof(oled_set_row_cmd)); - s90319_spi_write_data(oled_s90319_set_row_addr, sizeof(oled_s90319_set_row_addr)); - - s90319_spi_write_cmd(oled_write_data_cmd, sizeof(oled_write_data_cmd)); - s90319_spi_write_data(frame_data_buf, width * height * 2); - - mutex_unlock(&flush_mutex); - } - - return 0; -} - -static int oled_s90319_print_buffer(char* buf) -{ - return 0; -} - -/************************************************************ - Function : oled_s90319_set_backlight - Description: backlight on/off - Input : - Return : -************************************************************/ -static int oled_s90319_set_backlight(const uint8_t on) -{ -#if defined(OLED_S90319_DEBUG) - printk("%s, on =%u\n", __func__, on); -#endif - - if (0 == on) { - gpio_direction_output(oled_s90319_boost_en, 0); - } else { - gpio_direction_output(oled_s90319_boost_en, 1); - } - - return 0; -} - -/************************************************************ - Function : oled_s90319_panel_init - Description: init panel - Input : - Return : -************************************************************/ -static void oled_s90319_panel_init(void) -{ - /* End Reset Sequence */ - wr_comm(0x11); //Sleep out - Delay (120); //Delay 120ms - /* Frame Rate */ - wr_comm(0xB1); - wr_dat(0x05); - wr_dat(0x3A); - wr_dat(0x3A); - wr_comm(0xB2); - wr_dat(0x05); - wr_dat(0x3A); - wr_dat(0x3A); - wr_comm(0xB3); - wr_dat(0x05); - wr_dat(0x3A); - wr_dat(0x3A); - wr_dat(0x05); - wr_dat(0x3A); - wr_dat(0x3A); - /* End Frame Rate */ - wr_comm(0xB4); //Column inversion - wr_dat(0x07); - /* Power Sequence */ - wr_comm(0xC0); - wr_dat(0xC8); - wr_dat(0x08); - wr_dat(0x84); - wr_comm(0xC1); - wr_dat(0XC5); - wr_comm(0xC2); - wr_dat(0x0A); - wr_dat(0x00); - wr_comm(0xC3); - wr_dat(0x8A); - wr_dat(0x2A); - wr_comm(0xC4); - wr_dat(0x8A); - wr_dat(0xEE); - /* End Power Sequence*/ - wr_comm(0xC5); //VCOM - wr_dat(0x0C); - wr_comm(0x36); //MX, MY, RGB mode - wr_dat(0xc8); - /* Gamma Sequence */ - wr_comm(0xE0); - wr_dat(0x05); - wr_dat(0x1A); - wr_dat(0x0C); - wr_dat(0x0E); - wr_dat(0x3A); - wr_dat(0x34); - wr_dat(0x2D); - wr_dat(0x2F); - wr_dat(0x2D); - wr_dat(0x2A); - wr_dat(0x2F); - wr_dat(0x3C); - wr_dat(0x00); - wr_dat(0x01); - wr_dat(0x02); - wr_dat(0x10); - wr_comm(0xE1); - wr_dat(0x04); - wr_dat(0x1B); - wr_dat(0x0D); - wr_dat(0x0E); - wr_dat(0x2D); - wr_dat(0x29); - wr_dat(0x24); - wr_dat(0x29); - wr_dat(0x28); - wr_dat(0x26); - wr_dat(0x31); - wr_dat(0x3B); - wr_dat(0x00); - wr_dat(0x00); - wr_dat(0x03); - wr_dat(0x12); - /* End Gamma Sequence */ - wr_comm(0x3A); //65k mode - wr_dat(0x05); - - wr_comm(0x2a); - wr_dat(0x00); - wr_dat(0x02); - wr_dat(0x00); - wr_dat(0x81); - - wr_comm(0x2b); - wr_dat(0x00); - wr_dat(0x03); - wr_dat(0x00); - wr_dat(0x82); - - wr_comm(0x29); //Display on - wr_comm(0x2C); -} - -/************************************************************ - Function : s90319_disp_on - Description: init oled and display on - Input : - Return : -************************************************************/ -static void s90319_disp_on(void) -{ -#if defined(OLED_S90319_DEBUG) - printk("%s\n", __func__); -#endif - - if (s90319_state.disp_powered_up && !s90319_state.display_on) { - oled_s90319_panel_init(); - s90319_state.display_on = TRUE; - } -} - -/************************************************************ - Function : s90319_disp_powerup - Description: power on - Input : - Return : -************************************************************/ -static void s90319_disp_powerup(void) -{ -#if defined(OLED_S90319_DEBUG) - printk("%s\n", __func__); -#endif - - if (!s90319_state.disp_powered_up && !s90319_state.display_on) { - /* Reset the hardware first */ - s90319_state.disp_powered_up = TRUE; - if (oled_s90319_pdata->oled_power_save) - oled_s90319_pdata->oled_power_save(1); - - gpio_direction_output(oled_s90319_cs, 0); - /* 1 data, 0 command*/ - gpio_direction_output(oled_s90319_rsx, 0); - mdelay(5); - - gpio_set_value_cansleep(oled_s90319_cs, 0); - - mdelay(3); - } -} - -/************************************************************ - Function : oled_s90319_panel_on - Description: init oled and power on - Input : - Return : -************************************************************/ -static int oled_s90319_panel_on(void) -{ -#if defined(OLED_S90319_DEBUG) - printk("%s\n", __func__); -#endif - mutex_lock(&oled_panel_mutex); - if (!s90319_state.disp_initialized) { - gpio_direction_output(oled_s90319_boost_en, 0); - s90319_disp_powerup(); - s90319_disp_on(); - - s90319_state.disp_initialized = TRUE; - - } - mutex_unlock(&oled_panel_mutex); - return 0; -} - -/************************************************************ - Function : oled_s90319_panel_off - Description: panel off - Input : - Return : -************************************************************/ -static int oled_s90319_panel_off(void) -{ -#if defined(OLED_S90319_DEBUG) - printk("%s\n", __func__); -#endif - mutex_lock(&oled_panel_mutex); - if (s90319_state.disp_powered_up && s90319_state.display_on) { - /* Main panel power off (Deep standby in) */ - s90319_spi_write_cmd(oled_s90319_panel_off_cmd, - sizeof(oled_s90319_panel_off_cmd)); - mdelay(100); /* Typical 100ms */ - - if (oled_s90319_pdata->oled_power_save) - oled_s90319_pdata->oled_power_save(0); - - //if (oled_s90319_pdata->oled_gpio_config) - //oled_s90319_pdata->oled_gpio_config(0); - s90319_state.disp_powered_up = FALSE; - s90319_state.display_on = FALSE; - s90319_state.disp_initialized = FALSE; - } - mutex_unlock(&oled_panel_mutex); - return 0; -} - -static struct of_device_id s90319__spi_table[] = { - { .compatible = "tplink,oled",}, - { }, -}; - -static int s90319_init_spi(struct spi_device *spi) -{ - /* Initialize the MSM_CAMI2C Chip */ - init_waitqueue_head(&s90319_wait_queue); - return 0; -} - -/************************************************************ - Function : s90319_spi_probe - Description: spi driver probe - Input : - Return : -************************************************************/ -static int __devinit s90319_spi_probe(struct spi_device *spi) -{ - tx_buf = kmalloc(BUFFER_SIZE, GFP_ATOMIC); - if (tx_buf == NULL) - { - printk("kmalloc failed.\n"); - return -ENOMEM; - } - - s90319_sensorw = kzalloc(sizeof(struct s90319_work_t), GFP_KERNEL); - if (!s90319_sensorw) { - printk("kzalloc failed.\n"); - return -ENOMEM; - } - - spi_set_drvdata(spi, s90319_sensorw); - s90319_init_spi(spi); - s90319_spi = spi; - - msleep(50); - - printk("%s successed!\n", __func__); - - return 0; -} - -/************************************************************ - Function : oled_s90319_pin_assign - Description: assign gpio number - Input : - Return : -************************************************************/ -static void oled_s90319_pin_assign(void) -{ - /* Setting the Default GPIO's */ - oled_s90319_cs = oled_s90319_gpio[GPIO_OLED_CS]; - oled_s90319_rsx = oled_s90319_gpio[GPIO_OLED_RSX]; - oled_s90319_boost_en = oled_s90319_gpio[GPIO_OLED_BOOST_EN]; -} - -/************************************************************ - Function : oled_s90319_probe - Description: platform device driver probe - Input : - Return : -************************************************************/ -static int __devinit oled_s90319_probe(struct platform_device *pdev) -{ - struct device_node *node = pdev->dev.of_node; - if (!node) - { - dev_err(&pdev->dev, "%s: device tree information missing\n", __func__); - return -ENODEV; - } - - printk("%s\n", __func__); - - pdev->dev.platform_data = &oled_s90319_panel_data; - oled_s90319_pdata = pdev->dev.platform_data; - - get_gpio_by_dtsname(node, dts_gpio_name, oled_s90319_gpio, GPIO_OLED_END); - oled_s90319_pin_assign(); - - oled_s90319_pdata->oled_gpio_config = oled_s90319_config_gpios; - oled_s90319_pdata->oled_power_save = oled_s90319_power_save; - oled_s90319_pdata->oled_panel_on = oled_s90319_panel_on; - oled_s90319_pdata->oled_panel_off = oled_s90319_panel_off; - oled_s90319_pdata->oled_fill_with_pic = oled_s90319_fill_with_pic; - oled_s90319_pdata->oled_set_backlight = oled_s90319_set_backlight; - oled_s90319_pdata->oled_print_buffer = oled_s90319_print_buffer; - oled_s90319_pdata->panel_width = COLUMN_NUM; - oled_s90319_pdata->panel_height = ROW_NUM; - - oled_s90319_config_gpios(ENABLE); - - mutex_init(&flush_mutex); - mutex_init(&oled_panel_mutex); - - return 0; -} - -static int __devexit oled_s90319_remove(struct platform_device *pdev) -{ - return 0; -} - -static struct spi_driver s90319_spi_driver = { - .driver = { - .name = "oleds90319", - .owner = THIS_MODULE, - .of_match_table = s90319__spi_table, - }, - .probe = s90319_spi_probe, -}; - -static struct of_device_id qcom_s90319_pt_table[] = { - { .compatible = "qcom,oled_s90319_pt",}, - {}, -}; - -static struct platform_driver this_driver = { - .probe = oled_s90319_probe, - .remove = __devexit_p(oled_s90319_remove), - .driver = { - .name = "oled_s90319_pt", - .of_match_table = qcom_s90319_pt_table, - }, -}; - -/************************************************************ - Function : oled_90319_panel_init - Description: init function - Input : - Return : -************************************************************/ -static int __init oled_90319_panel_init(void) -{ - int ret = 0; - - ret = platform_driver_register(&this_driver); - if (ret) - return ret; - - ret = spi_register_driver(&s90319_spi_driver); - if (ret < 0 || s90319_spi == NULL) - { - ret = -ENOTSUPP; - printk("SPI add driver failed.\n"); - goto fail_driver; - } - printk("oled_90319_panel_init success.\n"); - return ret; - -fail_driver: - platform_driver_unregister(&this_driver); - return ret; -} - -device_initcall(oled_90319_panel_init); - -MODULE_AUTHOR("Xiong Sizhe"); -MODULE_LICENSE("Dual BSD/GPL"); -MODULE_DESCRIPTION("OLED 90319 driver"); diff --git a/kernel/drivers/oled/oled_s90319_pt.h b/kernel/drivers/oled/oled_s90319_pt.h deleted file mode 100755 index 87f8c6cb0..000000000 --- a/kernel/drivers/oled/oled_s90319_pt.h +++ /dev/null @@ -1,145 +0,0 @@ -/******************************************************************************* - Copyright (C), 1996-2012, TP-LINK TECHNOLOGIES CO., LTD. - File name : oled_s90319_pt.h - Description : Driver for OLED S90319. - Author : xiongsizhe - - History: ------------------------------- -V0.1, 2014-03-30, xiongsizhe create file. -*******************************************************************************/ - -#ifndef __OLED_S90319_PT_H__ -#define __OLED_S90319_PT_H__ - -typedef unsigned char uint8_t; -typedef signed char int8_t; -typedef int int32_t; -typedef unsigned int uint32_t; - -#define ROW_NUM 128 /* 0~7 */ -#define PAGE_NUM 128 -#define COLUMN_NUM 128 - -#define ENABLE 1 -#define DISABLE 0 - -#define COLUMN_NUM_EXP 7 /* 2^7 = 128 */ - -/* - * Four Formats: - * 1. CMD_CONTROL BYTE . CMD . CMD . CMD …… - * 2. CMD_CONTROL BYTE . CMD . CMD_CONTROL_BYTE . CMD …… - * 3. DAT_CONTROL BYTE . DATA . DATA . DATA …… - * 4. DAT_CONTROL BYTE . DATA . DAT_CONTROL_BYTE . DATA …… - */ -#define OLED_CONTROL_CMDS 0x00 -#define OLED_CONTROL_CMD_PAIRS 0x80 -#define OLED_CONTROL_DATAS 0x40 -#define OLED_CONTROL_DATA_PAIRS 0xC0 - -/* SINGLE CMDS */ -#define CMD_DUMMY_BYTE_ZERO 0x00 -#define CMD_DUMMY_BYTE_FF 0xFF -#define CMD_GRAM_IGNORE(bit) (0xA4|(bit)) /* 0: No, 1: Yes */ -#define CMD_DISPLAY_OFF_ON(bit) (0xAE|(bit)) /* v: 0|1 */ -#define CMD_SCAN_DIRECTION_0_TO_N 0xC0 -#define CMD_SCAN_DIRECTION_N_TO_0 0xC8 -#define CMD_LOWER_COL_ADDR(addr) (0x00|(addr)) /* addr: 0~F */ -#define CMD_HIGHER_COL_ADDR(addr) (0x10|(addr)) /* addr: 0~F */ -#define CMD_SEGMENT_REMAP(dir) (0xA0|(dir)) /* dir:0 normal direction, dir:1 reverse direction */ -#define CMD_START_LINE(line) (0x40|(line)) /* line: 0 ~ 63 */ -#define CMD_NORMAL_REV_DISPLAY(bit) (0xA6|(bit)) /* bit:0 normal display, bit:1 reverse display */ -#define CMD_HORIZONTAL_SCROLL(dir) (0x26|(dir)) /* 0: L->R, 1:R->L */ -#define CMD_SCROLL_ENABLE(ena) (0x2E|(ena)) /* 0:Disable, 1:Enable */ - -/* DOUBLE CMDS */ -#define CMD_DOUBLE_CLOCK_DIVIDE_RATIO 0xD5 -#define CMD_DOUBLE_MULTIPLEX_RATIO 0xA8 -#define CMD_DOUBLE_PRECHARGE_PERIOD 0xD9 -#define CMD_DOUBLE_PADS_HW_CONFIG 0xDA /* Sequence: 0x02; Alternative: 0x12*/ -#define CMD_DOUBLE_CONTRAST_CONTROL 0x81 -#define CMD_DOUBLE_DISPLAY_OFFSET 0xD3 /* 0x00 ~ 3f */ -#define CMD_DOUBLE_VCOM_HLEVEL 0xDB /* 0x00 ~ 0xff */ -#define CMD_DOUBLE_SET_CHARGE_PUMP 0x8D /* Enable: 0x14, Disable: 0x10*/ -#define CMD_DOUBLE_MEMORY_ADDRESSING_MODE 0x20 /* 00: Horizontal 01: Vertial 10: Page 11: Invalid*/ -#define CMD_DOUBLE_FADE_BLINK_MODE 0x23 /* Fade out or blinking mode */ - -/* TRIPLE CMDS */ -#define CMD_TRIPE_COLUMN_ADDRESS 0x21 /* 0~127, 0~127 */ -#define CMD_TRIPE_PAGE_ADDRESS 0x22 /* 0~7, 0~7 */ - -#define OLED_MATREIAL_STANDARD_CONTRAST 0xAF -#define OLED_MATREIAL_LOW_CONTRAST 0x0F - -#define OLED_SET_COL_CMD 0x2A -#define OLED_SET_ROW_CMD 0x2B -#define OLED_WRITE_DATA_CMD 0x2C - -#define X_OFFSET 2 -#define Y_OFFSET 3 - -uint8_t CMD_HORIZONTAL_SCROLL_ARRAY[] = {CMD_HORIZONTAL_SCROLL(0), CMD_HORIZONTAL_SCROLL(1)}; -uint8_t CMD_BACKLIGHT_ARRAY[] = { - CMD_DISPLAY_OFF_ON(0), /* Backlight off */ - CMD_DISPLAY_OFF_ON(1) /* Backlight oN */ -}; - -/* set col command */ -uint8_t oled_set_col_cmd[] = { - OLED_SET_COL_CMD, -}; - -/* set row command */ -uint8_t oled_set_row_cmd[] = { - OLED_SET_ROW_CMD, -}; - -/* write data command */ -uint8_t oled_write_data_cmd[] = { - OLED_WRITE_DATA_CMD, -}; - -/* set backlight command */ -uint8_t oled_s90319_backlight_cmd[] = { - CMD_DISPLAY_OFF_ON(0) -}; - -/* panel on/off command */ -uint8_t oled_s90319_panel_off_cmd[] = { - CMD_DISPLAY_OFF_ON(0), /* manual display on */ - CMD_DOUBLE_SET_CHARGE_PUMP, 0x10 /* set charge pump enable*/ -}; - -uint8_t oled_s90319_scroll_stop_cmd[] = { - CMD_SCROLL_ENABLE(0) -}; - -/* Fade out or blinking mode */ -uint8_t oled_s90319_fade_blink_cmd[] = { - CMD_DOUBLE_FADE_BLINK_MODE, - 0 -}; - -/* - * fade_blink_parameter: - * A[5:4] = 00b Disable Fade Out / Blinking Mode - * A[5:4] = 10b Enable Fade Out mode - * A[5:4] = 11b Enable Blinking mode - * A[3:0] : Set time interval for each fade step, (8 * (A[3:0] + 1))frames - */ -struct oled_s90319_fade_blink_cmd_config_struct { - uint8_t *fade_blink_parameter; -}; - -uint8_t oled_s90319_set_col_addr[] = { - 0x00, 0x00, 0x00, 0x00 -}; - -uint8_t oled_s90319_set_row_addr[] = { - 0x00, 0x00, 0x00, 0x00 -}; - -#endif /* __OLED_S90319_PT__ */ - - diff --git a/kernel/drivers/oled/oled_ssd1306_pt.c b/kernel/drivers/oled/oled_ssd1306_pt.c deleted file mode 100755 index c4325717e..000000000 --- a/kernel/drivers/oled/oled_ssd1306_pt.c +++ /dev/null @@ -1,840 +0,0 @@ -/******************************************************************************* - Copyright (C), 1996-2012, TP-LINK TECHNOLOGIES CO., LTD. - File name : oled_ssd1306_pt.c - Description : Driver for OLED SSD1306. - Author : linyunfeng - - History: ------------------------------- -V0.2, 2014-04-16, zhangtao modified oled_ssd1306_pt driver for dts of the new kernel. -V0.1, 2011-08-16, linyunfeng create file. -*******************************************************************************/ - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include "oled_ssd1306_pt.h" -#include "oled_pt.h" - -//#define OLED_SSD1306_DEBUG - -typedef unsigned int boolean; - -#ifndef TRUE -#define TRUE 1 -#endif - -#ifndef FALSE -#define FALSE 0 -#endif - -uint8_t oled_ssd1306_buf[COLUMN_NUM * PAGE_NUM] = {0}; -static uint8_t frame_data[COLUMN_NUM * PAGE_NUM + 1] ={0}; -static uint8_t oled_ssd1306_image[COLUMN_NUM * PAGE_NUM] = {0}; - -struct ssd1306_state_type{ - boolean disp_initialized; - boolean display_on; - boolean disp_powered_up; -}; - -struct ssd1306_work_t { - struct work_struct work; -}; - -struct ssd1306_i2c_reg_conf { - unsigned short waddr; - unsigned short wdata; -}; - -static struct ssd1306_state_type ssd1306_state = {0}; -struct oled_panel_data oled_ssd1306_panel_data; -static struct oled_panel_data *oled_ssd1306_pdata; - -static DECLARE_WAIT_QUEUE_HEAD(ssd1306_wait_queue); -static struct ssd1306_work_t *ssd1306_sensorw; -static struct i2c_client *ssd1306_client; -static struct mutex flush_mutex; -static struct mutex oled_panel_mutex; - -/* Data/Command flag, 0: Command, 1: Data */ -static int oled_ssd1306_sa0; - -/* Chip select, always 0 in I2C mode */ -static int oled_ssd1306_cs; - -/* [ZhangTao start] for getting the gpio number configered in the dts file */ -enum ENUM_OLED_SSD1306_GPIO { - GPIO_OLED_CS = 0, - GPIO_OLED_A0, - GPIO_OLED_RES, - GPIO_OLED_BOOST_EN, - - GPIO_OLED_END -}; - -/* enum the gpio name defined in the dts config file */ -static const char *dts_gpio_name[] = { - [GPIO_OLED_CS] = "qcom,oled-cs-gpio", - [GPIO_OLED_A0] = "qcom,oled-a0-gpio", - [GPIO_OLED_RES] = "qcom,oled-res-gpio", - [GPIO_OLED_BOOST_EN] = "qcom,oled-boost-en-gpio", - - [GPIO_OLED_END] = "", -}; - -/* Store oled ssd1306 gpio pin number, will be filled by get_gpio_by_dtsname() */ -static int oled_ssd1306_gpio[GPIO_OLED_END] = {0}; - -/******************************************************************************* - Function : get_gpio_by_dtsname - Description : get gpio pin number by name defined in dts config file. - Input : @node, the device node defined in dts which we get the gpio pin number form - @gpio_name[], the string array which store the gpio name defined in dts file - @gpio_num, we will store the gpio pin number getted from dts file in the int array gpio_num point to - @len, the numbers of gpio we will get - Output : gpio_num: the request gpios pin number which gpio_num point to - Return : void - Others : None -*******************************************************************************/ -static void get_gpio_by_dtsname(struct device_node *node, const char *gpio_name[], u32 *gpio_num, int len) -{ - int i; - for (i = 0; i < len; ++ i) - { - gpio_num[i] = of_get_named_gpio(node, gpio_name[i], 0); - } -} - -/******************************************************************************* - Function : oled_ssd1306_config_gpios - Description : request/free for specific gpio - Input : @enable, 0: free gpios, 1: request gpios - Output : request or free the specific gpio stored in oled_ssd1306_gpio[] - Return : void - Others : None -*******************************************************************************/ -static void oled_ssd1306_config_gpios(int enable) -{ - int i, rc = 0; - - for (i = 0; i < GPIO_OLED_END; ++ i) - { - if (enable) { - rc = gpio_request(oled_ssd1306_gpio[i], dts_gpio_name[i]); - if (rc) - { - pr_err("request gpio %s failed, rc=%d\n", dts_gpio_name[i], rc); - gpio_free(oled_ssd1306_gpio[i]); - return; - } - - } else { - gpio_free(oled_ssd1306_gpio[i]); - } - } - - return; -} - -/******************************************************************************* - Function : oled_ssd1306_power_save - Description : power on/off the oled - Input : @on, 0: power off, 1: power on - Output : - Return : None - Others : None -*******************************************************************************/ -static int oled_ssd1306_power_save(int on) -{ - int rc = 0; - - if (on) { - gpio_direction_output(oled_ssd1306_gpio[GPIO_OLED_RES], 0); - mdelay(1); - - gpio_direction_output(oled_ssd1306_gpio[GPIO_OLED_BOOST_EN], 1); - mdelay(1); - - __gpio_set_value(oled_ssd1306_gpio[GPIO_OLED_RES], 1); - mdelay(1); - } else { - gpio_direction_output(oled_ssd1306_gpio[GPIO_OLED_BOOST_EN], 0); - mdelay(1); - - gpio_direction_output(oled_ssd1306_gpio[GPIO_OLED_RES], 0); - mdelay(1); - } - - return rc; -} -/* [ZhangTao end]*/ - -static int ssd1306_i2c_txdata(const uint16_t saddr, - uint8_t *txdata, const uint16_t length) -{ - struct i2c_msg msg[] = { - { - .addr = saddr, - .flags = 0, - .len = length, - .buf = txdata, - }, - }; - - if (i2c_transfer(ssd1306_client->adapter, msg, 1) < 0) { - printk("ssd1306_i2c_txdata faild 0x%x\n", saddr); - return -EIO; - } - - return 0; -} - -/******************************************************************************* - Function : oled_ssd1306_print_buffer - Description : print the oled buffer data, hex - Input : None - Output : buf: Command line buffer - Return : The number of characters will display in command - line. - Others : None -*******************************************************************************/ -static int oled_ssd1306_print_buffer(char *buf) -{ - int i = 0; - int j = 0; - - for (i = 0; i < PAGE_NUM; i++){ - for (j = 0; j < COLUMN_NUM; j++) { - sprintf(buf + 3 *(i * (COLUMN_NUM + 1) + j), "%02x ", - *(oled_ssd1306_image - + (i << COLUMN_NUM_EXP) + j)); - } - sprintf(buf + (i + 1) * 3 * (COLUMN_NUM + 1) - 3, " \n" ); - } - - return (COLUMN_NUM + 1) * 3 * PAGE_NUM; -} - -/******************************************************************************* - Function : ssd1306_i2c_write_cmd - Description : Send command by I2C - Input : data: Command will be send - len: The length of Command - Output : None - Return : 0: OK, Others: Error. - Others : None -*******************************************************************************/ -static int ssd1306_i2c_write_cmd(const uint8_t *data, const uint16_t len) -{ - int rc = 0; - -#ifdef OLED_SSD1306_DEBUG - int i = 0; - printk("%s, data = 0x%x, len = %d\n", __func__, *data, len); -#endif - - if (TRUE == ssd1306_state.disp_powered_up) { - - *frame_data = OLED_CONTROL_CMDS; - memcpy(frame_data + 1, data, len); - -#ifdef OLED_SSD1306_DEBUG - for (i = 0; i < len + 1; i++){ - printk("0x%x ", *(frame_data+i)); - } - printk("\n"); -#endif - - rc = ssd1306_i2c_txdata(ssd1306_client->addr, frame_data, len + 1); - - if (rc < 0) { - printk("%s fail, data = 0x%x, len = %d\n", - __func__, *data, len); - } - } - return rc; -} - -/******************************************************************************* - Function : ssd1306_i2c_write_data - Description : Send data by I2C - Input : data: Data will be send - len: The length of data - Output : None - Return : 0: OK, Others: Error. - Others : None -*******************************************************************************/ -static int ssd1306_i2c_write_data(const uint8_t *data, const uint16_t len) -{ - int rc = -EFAULT; - -#ifdef OLED_SSD1306_DEBUG - printk("%s, data = 0x%x, len = %d\n", __func__, *data, len); -#endif - - if (TRUE == ssd1306_state.disp_powered_up) { - - *frame_data = OLED_CONTROL_DATAS; - memcpy(frame_data + 1, data, len); - - rc = ssd1306_i2c_txdata((ssd1306_client->addr), - frame_data, len + 1); - if (rc < 0) { - printk("%s fail, data = 0x%x, len = %d\n", - __func__, *data, len); - } - } - return rc; -} - -static void oled_ssd1306_pin_assign(void) -{ - /* Setting the Default GPIO's */ - oled_ssd1306_sa0 = oled_ssd1306_gpio[GPIO_OLED_A0]; - oled_ssd1306_cs = oled_ssd1306_gpio[GPIO_OLED_CS]; -} - -static int oled_ssd1306_area_check(const uint8_t x, const uint8_t y, - const uint8_t width, const uint8_t height) -{ - if ((x < 0) || (y < 0) || (width <= 0) || (height <= 0) - || (x + width > COLUMN_NUM) || (y + height > PAGE_NUM)){ - printk("%s error, row_start=%d, col_start=%d, width=%d, height=%d", - __func__, x, y, width, height); - return -EINVAL; - } - - return 0; -} - - -/* [wuzhong start] */ -#ifdef __ENABLE_OLED_SH1106_AND_SSD1306__ - -static int oled_sh1106_and_ssd1306_fill_with_pic(const uint8_t *pic, const uint8_t x, - const uint8_t y, const uint8_t width, const uint8_t height) -{ - int i = 0; - -#if defined(OLED_SSD1306_DEBUG) - printk("%s,width=%d, height=%d\n", __func__, width, height); -#endif - - if (oled_ssd1306_area_check(x, y, width, height)) { - return -EINVAL; - } - - if (TRUE == ssd1306_state.disp_initialized) { - mutex_lock(&flush_mutex); - - for (i = 0; i < height; i++) - { - oled_sh1106_flush_cmd[1] = 0xb0 + y + i; - oled_sh1106_flush_cmd[2] = (x + SH1106_OFFSET) & 0x0f; - oled_sh1106_flush_cmd[3] = (((x + SH1106_OFFSET) & 0xf0) >> 4) | 0x10; - - ssd1306_i2c_write_cmd(oled_sh1106_flush_cmd, sizeof(oled_sh1106_flush_cmd)); - ssd1306_i2c_write_data(pic + i * width, width); - } - - for (i = y; i < y + height; i++) { - memcpy(oled_ssd1306_image + (i << COLUMN_NUM_EXP) + x, - pic + width * (i - y), width); - } - - mutex_unlock(&flush_mutex); - } - - return 0; -} - -#else /* __ENABLE_OLED_SH1106_AND_SSD1306__ */ - -/******************************************************************************* - Function : oled_ssd1306_fill_with_pic - Description : Fill and flush certain area with picture. - Input : pic: Picture to fill - x: Start point, x coordinate, 0 ~ COLUMN_NUM - 1 - y: Start point, y coordiante, 0 ~ PAGE_NUM - 1 - width: Area width - height: Area height - Output : None - Return : 0: OK, Others: Error. - Others : None -*******************************************************************************/ -static int oled_ssd1306_fill_with_pic(const uint8_t *pic, const uint8_t x, - const uint8_t y, const uint8_t width, const uint8_t height) -{ - int i = 0; - -#if defined(OLED_SSD1306_DEBUG) - printk("%s,width=%d, height=%d\n", __func__, width, height); -#endif - - if (oled_ssd1306_area_check(x, y, width, height)) { - return -EINVAL; - } - - if (TRUE == ssd1306_state.disp_initialized) { - mutex_lock(&flush_mutex); - *(oled_ssd1306_flush_cmd_config.col_addr_start) = x; - *(oled_ssd1306_flush_cmd_config.col_addr_end) = x + width - 1; - *(oled_ssd1306_flush_cmd_config.page_addr_start) = y; - *(oled_ssd1306_flush_cmd_config.page_addr_end) = y + height - 1; - - ssd1306_i2c_write_cmd(oled_ssd1306_flush_cmd, sizeof(oled_ssd1306_flush_cmd)); - - ssd1306_i2c_write_data(pic, width * height); - - for (i = y; i < y + height; i++) { - memcpy(oled_ssd1306_image + (i << COLUMN_NUM_EXP) + x, - pic + width * (i - y), width); - } - - mutex_unlock(&flush_mutex); - } - - return 0; -} - - -#endif /* __ENABLE_OLED_SH1106_AND_SSD1306__ */ -/* [wuzhong end] */ - - -/******************************************************************************* - Function : oled_ssd1306_fill_with_value - Description : Fill and flush certain area with value. - Input : value: Value to fill - x: Start point, x coordinate, 0 ~ COLUMN_NUM - 1 - y: Start point, y coordiante, 0 ~ PAGE_NUM - 1 - width: Area width - height: Area height - Output : None - Return : 0: OK, Others: Error. - Others : None -*******************************************************************************/ -static int oled_ssd1306_fill_with_value(const uint8_t value, const uint8_t x, - const uint8_t y, const uint8_t width, const uint8_t height) -{ -#if defined(OLED_SSD1306_DEBUG) - printk("%s\n", __func__); -#endif - - if (oled_ssd1306_area_check(x, y, width, height)) { - return -EINVAL; - } - - memset(oled_ssd1306_buf, value, width * height); - -/* [wuzhong start] */ -#ifdef __ENABLE_OLED_SH1106_AND_SSD1306__ - return oled_sh1106_and_ssd1306_fill_with_pic(oled_ssd1306_buf, x, y, width, height); -#else - return oled_ssd1306_fill_with_pic(oled_ssd1306_buf, x, y, width, height); -#endif -/* [wuzhong end] */ -} - -/******************************************************************************* - Function : oled_ssd1306_fade_blink - Description : Fade out or blink. - Input : mode: 0: Disable Fade Out / Blinking Mode. - 2: Enable Fade Out mode. - 3: Enable Blinking mode. - t_interval_scroll: Set time interval for each fade step, 0~7, - (8 * t_interval_scroll + 1))frames - Output : None - Return : 0: OK, Others: Error. - Others : None -*******************************************************************************/ -static int oled_ssd1306_fade_blink(const uint8_t mode, const uint8_t t_interval_scroll) -{ -#if defined(OLED_SSD1306_DEBUG) - printk("%s\n", __func__); -#endif - - if ((mode < 0) || (t_interval_scroll < 0) || (mode > 3) - || (1 == mode) || (t_interval_scroll > 15)) { - printk("%s error, mode=%d, t_interval_scroll=%d", - __func__, mode, t_interval_scroll); - return -EINVAL; - } - - *(oled_ssd1306_fade_blink_cmd_config.fade_blink_parameter) - = (mode << 4) | t_interval_scroll; - - return ssd1306_i2c_write_cmd(oled_ssd1306_fade_blink_cmd, sizeof(oled_ssd1306_fade_blink_cmd)); -} - -/******************************************************************************* - Function : oled_ssd1306_scroll_stop - Description : Stop scroll. - Input : None - Output : None - Return : 0: OK, Others: Error. - Others : None -*******************************************************************************/ -static int oled_ssd1306_scroll_stop(void) -{ -#if defined(OLED_SSD1306_DEBUG) - printk("%s\n", __func__); -#endif - - return ssd1306_i2c_write_cmd(oled_ssd1306_scroll_stop_cmd, sizeof(oled_ssd1306_scroll_stop_cmd)); -} - -/******************************************************************************* - Function : oled_ssd1306_horizontal_scroll - Description : Horizontal scroll. - Input : y: Start point, y coordiante, 0 ~ PAGE_NUM - 1 - height: Scroll area height - t_interval_scroll: 0: 5 frame, 1: 64, 2: 128, 3: 256, - 4: 3, 5: 4, 6: 25, 7: 2 - direction: 0: Left->Right, 1:Right->Left - Output : None - Return : 0: OK, Others: Error. - Others : None -*******************************************************************************/ -static int oled_ssd1306_horizontal_scroll(const uint8_t y, const uint8_t height, - const uint8_t t_interval_scroll, const uint8_t direction) -{ -#if defined(OLED_SSD1306_DEBUG) - printk("%s\n", __func__); -#endif - - if ((y < 0) || (height < 0) || (y + height > PAGE_NUM) - || (t_interval_scroll < 0) || (t_interval_scroll > 7) - || (direction < 0) || (direction > 1)) { - printk("%s error, y=%d, height=%d, t_interval_scroll=%d, direction=%d", - __func__, y, height, t_interval_scroll, direction); - return -EINVAL; - } - - oled_ssd1306_scroll_stop(); - mdelay(1); - - *(oled_ssd1306_h_scroll_cmd_config.horizontal_scroll_direction) = CMD_HORIZONTAL_SCROLL_ARRAY[direction]; - *(oled_ssd1306_h_scroll_cmd_config.page_addr_start) = y; - *(oled_ssd1306_h_scroll_cmd_config.time_interval_scroll) = t_interval_scroll; - *(oled_ssd1306_h_scroll_cmd_config.page_addr_end) = y + height - 1; - - return ssd1306_i2c_write_cmd(oled_ssd1306_h_scroll_cmd, sizeof(oled_ssd1306_h_scroll_cmd)); -} - -/******************************************************************************* - Function : oled_ssd1306_set_backlight - Description : Set backlight on or off. - Input : on: 0: off, 1: on. - Output : None - Return : 0: OK, Others: Error. - Others : None -*******************************************************************************/ -static int oled_ssd1306_set_backlight(const uint8_t on) -{ -#if defined(OLED_SSD1306_DEBUG) - printk("%s, on =%u\n", __func__, on); -#endif - - if (0 == on) { - oled_ssd1306_backlight_cmd[0] = CMD_DISPLAY_OFF_ON(0); - } else { - oled_ssd1306_backlight_cmd[0] = CMD_DISPLAY_OFF_ON(1); - } - - return ssd1306_i2c_write_cmd(oled_ssd1306_backlight_cmd, sizeof(oled_ssd1306_backlight_cmd)); -} - -/******************************************************************************* - Function : ssd1306_disp_on - Description : initial oled. - Input : None - Output : None - Return : 0: OK, Others: Error. - Others : None -*******************************************************************************/ -static void ssd1306_disp_on(void) -{ -#if defined(OLED_SSD1306_DEBUG) - printk("%s\n", __func__); -#endif - - if (ssd1306_state.disp_powered_up && !ssd1306_state.display_on) { - ssd1306_i2c_write_cmd(oled_ssd1306_init_cmd, sizeof(oled_ssd1306_init_cmd)); - - ssd1306_state.display_on = TRUE; - } -} - -/******************************************************************************* - Function : ssd1306_disp_powerup - Description : Power and initial. - Input : None - Output : None - Return : 0: OK, Others: Error. - Others : None -*******************************************************************************/ -static void ssd1306_disp_powerup(void) -{ -#if defined(OLED_SSD1306_DEBUG) - printk("%s\n", __func__); -#endif - - if (!ssd1306_state.disp_powered_up && !ssd1306_state.display_on) { - /* Reset the hardware first */ - ssd1306_state.disp_powered_up = TRUE; - if (oled_ssd1306_pdata->oled_power_save) - oled_ssd1306_pdata->oled_power_save(1); - - gpio_direction_output(oled_ssd1306_cs, 0); - gpio_direction_output(oled_ssd1306_sa0, 0); - mdelay(5); - - /* CS will be always 0 in I2C mode */ - __gpio_set_value(oled_ssd1306_cs, 0); - /* SA0 is used to determine the I2C address in I2C mode */ - __gpio_set_value(oled_ssd1306_sa0, 0); - mdelay(3); - } -} - -/******************************************************************************* - Function : oled_ssd1306_panel_on - Description : Power and initial oled SSD1306. - Input : None - Output : None - Return : 0: OK, Others: Error. - Others : None -*******************************************************************************/ -static int oled_ssd1306_panel_on(void) -{ -#if defined(OLED_SSD1306_DEBUG) - printk("%s\n", __func__); -#endif - mutex_lock(&oled_panel_mutex); - if (!ssd1306_state.disp_initialized) { - /* Configure reset GPIO that drives DAC */ - if (oled_ssd1306_pdata->oled_gpio_config) - oled_ssd1306_pdata->oled_gpio_config(1); - ssd1306_disp_powerup(); - ssd1306_disp_on(); - ssd1306_state.disp_initialized = TRUE; - } - mutex_unlock(&oled_panel_mutex); - return 0; -} - -/******************************************************************************* - Function : oled_ssd1306_panel_off - Description : Power down oled SSD1306. - Input : None - Output : None - Return : 0: OK, Others: Error. - Others : None -*******************************************************************************/ -static int oled_ssd1306_panel_off(void) -{ -#if defined(OLED_SSD1306_DEBUG) - printk("%s\n", __func__); -#endif - mutex_lock(&oled_panel_mutex); - if (ssd1306_state.disp_powered_up && ssd1306_state.display_on) { - /* Main panel power off (Deep standby in) */ - ssd1306_i2c_write_cmd(oled_ssd1306_panel_off_cmd, - sizeof(oled_ssd1306_panel_off_cmd)); - mdelay(100); /* Typical 100ms */ - - if (oled_ssd1306_pdata->oled_power_save) - oled_ssd1306_pdata->oled_power_save(0); - - if (oled_ssd1306_pdata->oled_gpio_config) - oled_ssd1306_pdata->oled_gpio_config(0); - ssd1306_state.disp_powered_up = FALSE; - ssd1306_state.display_on = FALSE; - ssd1306_state.disp_initialized = FALSE; - } - mutex_unlock(&oled_panel_mutex); - return 0; -} - -static int __devinit oled_ssd1306_probe(struct platform_device *pdev) -{ - struct device_node *node = pdev->dev.of_node; - if (!node) - { - dev_err(&pdev->dev, "%s: device tree information missing\n", __func__); - return -ENODEV; - } - - printk("%s\n", __func__); - - pdev->dev.platform_data = &oled_ssd1306_panel_data; - oled_ssd1306_pdata = pdev->dev.platform_data; - - /* get gpios' number by name defined in the dts config file and store them in oled_ssd1306_gpio array */ - get_gpio_by_dtsname(node, dts_gpio_name, oled_ssd1306_gpio, GPIO_OLED_END); - - oled_ssd1306_pin_assign(); - - /* [ZhangTao start] */ - oled_ssd1306_pdata->oled_gpio_config = oled_ssd1306_config_gpios; - oled_ssd1306_pdata->oled_power_save = oled_ssd1306_power_save; - /* [ZhangTao end] */ - - oled_ssd1306_pdata->oled_panel_on = oled_ssd1306_panel_on; - oled_ssd1306_pdata->oled_panel_off = oled_ssd1306_panel_off; - oled_ssd1306_pdata->oled_horizontal_scroll = oled_ssd1306_horizontal_scroll; - oled_ssd1306_pdata->oled_scroll_stop = oled_ssd1306_scroll_stop; - oled_ssd1306_pdata->oled_fade_blink = oled_ssd1306_fade_blink; - -/* [wuzhong start] */ -#ifdef __ENABLE_OLED_SH1106_AND_SSD1306__ - oled_ssd1306_pdata->oled_fill_with_pic = oled_sh1106_and_ssd1306_fill_with_pic; -#else - oled_ssd1306_pdata->oled_fill_with_pic = oled_ssd1306_fill_with_pic; -#endif -/* [wuzhong end] */ - - oled_ssd1306_pdata->oled_fill_with_value = oled_ssd1306_fill_with_value; - oled_ssd1306_pdata->oled_print_buffer = oled_ssd1306_print_buffer; - oled_ssd1306_pdata->oled_set_backlight = oled_ssd1306_set_backlight; - oled_ssd1306_pdata->panel_width = COLUMN_NUM; - oled_ssd1306_pdata->panel_height = PAGE_NUM; - - mutex_init(&flush_mutex); - mutex_init(&oled_panel_mutex); - - return 0; -} - -static int __devexit oled_ssd1306_remove(struct platform_device *pdev) -{ - return 0; -} - -static int __devexit ssd1306_i2c_remove(struct i2c_client *client) -{ - struct ssd1306_work_t *ssd1306 = i2c_get_clientdata(client); - free_irq(client->irq, ssd1306); - ssd1306_client = NULL; - kfree(ssd1306); - return 0; -} - -static int ssd1306_init_client(struct i2c_client *client) -{ - /* Initialize the MSM_CAMI2C Chip */ - init_waitqueue_head(&ssd1306_wait_queue); - return 0; -} - -static int ssd1306_i2c_probe(struct i2c_client *client, - const struct i2c_device_id *id) -{ - int rc = 0; - printk("%s called!\n", __func__); - - if (!i2c_check_functionality(client->adapter, I2C_FUNC_I2C)) { - printk("i2c_check_functionality failed\n"); - goto probe_failure; - } - - ssd1306_sensorw = kzalloc(sizeof(struct ssd1306_work_t), GFP_KERNEL); - if (!ssd1306_sensorw) { - printk("kzalloc failed.\n"); - rc = -ENOMEM; - goto probe_failure; - } - - i2c_set_clientdata(client, ssd1306_sensorw); - ssd1306_init_client(client); - ssd1306_client = client; - - msleep(50); - - printk("%s successed! rc = %d\n", __func__, rc); - return 0; - -probe_failure: - printk("%s failed! rc = %d\n", __func__, rc); - return rc; -} - -static struct of_device_id qcom_ssd1306_i2c_table[] = { - { .compatible = "qcom,ssd1306",}, - { }, -}; - -static const struct i2c_device_id ssd1306_i2c_id[] = { - {"ssd1306", 0}, - { } -}; - -static struct i2c_driver ssd1306_i2c_driver = { - .id_table = ssd1306_i2c_id, - .probe = ssd1306_i2c_probe, - .remove = __exit_p(ssd1306_i2c_remove), - .driver = { - .name = "ssd1306", - .of_match_table = qcom_ssd1306_i2c_table, - }, -}; - -static struct of_device_id qcom_ssd1306_pt_table[] = { - { .compatible = "qcom,oled_ssd1306_pt",}, - { }, -}; - -static struct platform_driver this_driver = { - .probe = oled_ssd1306_probe, - .remove = __devexit_p(oled_ssd1306_remove), - .driver = { - .name = "oled_ssd1306_pt", - .of_match_table = qcom_ssd1306_pt_table, - }, -}; - -static int __init oled_ssd1306_panel_init(void) -{ - int ret = 0; -#if defined(OLED_SSD1306_DEBUG) - printk("%s\n", __func__); -#endif - ret = platform_driver_register(&this_driver); - if (ret) - return ret; - - ret = i2c_add_driver(&ssd1306_i2c_driver); - - if (ret < 0 || ssd1306_client == NULL) { - ret = -ENOTSUPP; - printk("I2C add driver failed"); - goto fail_driver; - } - - return ret; - -fail_driver: - platform_driver_unregister(&this_driver); - return ret; -} - -device_initcall(oled_ssd1306_panel_init); - -MODULE_AUTHOR("Lin Yunfeng"); -MODULE_LICENSE("Dual BSD/GPL"); -MODULE_DESCRIPTION("OLED SSD1306 driver"); - diff --git a/kernel/drivers/oled/oled_ssd1306_pt.h b/kernel/drivers/oled/oled_ssd1306_pt.h deleted file mode 100755 index e62cdb7ce..000000000 --- a/kernel/drivers/oled/oled_ssd1306_pt.h +++ /dev/null @@ -1,272 +0,0 @@ -/******************************************************************************* - Copyright (C), 1996-2012, TP-LINK TECHNOLOGIES CO., LTD. - File name : oled_ssd1306_pt.h - Description : Driver for OLED SSD1306. - Author : linyunfeng - - History: ------------------------------- -V0.1, 2011-08-16, linyunfeng create file. -*******************************************************************************/ - -#ifndef __OLED_SSD1306_PT_H__ -#define __OLED_SSD1306_PT_H__ - -/* [wuzhong start] 2012-11-29 */ -#define __ENABLE_OLED_SH1106_AND_SSD1306__ -/* [wuzhong end] */ - - -#define PAGE_NUM 8 /* 0~7 */ - -/* [wuzhong start] 2012-11-29 */ -#ifdef __ENABLE_OLED_SH1106_AND_SSD1306__ -#define COLUMN_NUM 132 -#else -#define COLUMN_NUM 128 -#endif -/* [wuzhong end] */ - -#define COLUMN_NUM_EXP 7 /* 2^7 = 128 */ - -/* - * Four Formats: - * 1. CMD_CONTROL BYTE . CMD . CMD . CMD …… - * 2. CMD_CONTROL BYTE . CMD . CMD_CONTROL_BYTE . CMD …… - * 3. DAT_CONTROL BYTE . DATA . DATA . DATA …… - * 4. DAT_CONTROL BYTE . DATA . DAT_CONTROL_BYTE . DATA …… - */ -#define OLED_CONTROL_CMDS 0x00 -#define OLED_CONTROL_CMD_PAIRS 0x80 -#define OLED_CONTROL_DATAS 0x40 -#define OLED_CONTROL_DATA_PAIRS 0xC0 - -/* SINGLE CMDS */ -#define CMD_DUMMY_BYTE_ZERO 0x00 -#define CMD_DUMMY_BYTE_FF 0xFF -#define CMD_GRAM_IGNORE(bit) (0xA4|(bit)) /* 0: No, 1: Yes */ -#define CMD_DISPLAY_OFF_ON(bit) (0xAE|(bit)) /* v: 0|1 */ -#define CMD_SCAN_DIRECTION_0_TO_N 0xC0 -#define CMD_SCAN_DIRECTION_N_TO_0 0xC8 -#define CMD_LOWER_COL_ADDR(addr) (0x00|(addr)) /* addr: 0~F */ -#define CMD_HIGHER_COL_ADDR(addr) (0x10|(addr)) /* addr: 0~F */ -#define CMD_SEGMENT_REMAP(dir) (0xA0|(dir)) /* dir:0 normal direction, dir:1 reverse direction */ -#define CMD_START_LINE(line) (0x40|(line)) /* line: 0 ~ 63 */ -#define CMD_NORMAL_REV_DISPLAY(bit) (0xA6|(bit)) /* bit:0 normal display, bit:1 reverse display */ -#define CMD_HORIZONTAL_SCROLL(dir) (0x26|(dir)) /* 0: L->R, 1:R->L */ -#define CMD_SCROLL_ENABLE(ena) (0x2E|(ena)) /* 0:Disable, 1:Enable */ - -/* DOUBLE CMDS */ -#define CMD_DOUBLE_CLOCK_DIVIDE_RATIO 0xD5 -#define CMD_DOUBLE_MULTIPLEX_RATIO 0xA8 -#define CMD_DOUBLE_PRECHARGE_PERIOD 0xD9 -#define CMD_DOUBLE_PADS_HW_CONFIG 0xDA /* Sequence: 0x02; Alternative: 0x12*/ -#define CMD_DOUBLE_CONTRAST_CONTROL 0x81 -#define CMD_DOUBLE_DISPLAY_OFFSET 0xD3 /* 0x00 ~ 3f */ -#define CMD_DOUBLE_VCOM_HLEVEL 0xDB /* 0x00 ~ 0xff */ -#define CMD_DOUBLE_SET_CHARGE_PUMP 0x8D /* Enable: 0x14, Disable: 0x10*/ -#define CMD_DOUBLE_MEMORY_ADDRESSING_MODE 0x20 /* 00: Horizontal 01: Vertial 10: Page 11: Invalid*/ -#define CMD_DOUBLE_FADE_BLINK_MODE 0x23 /* Fade out or blinking mode */ - -/* TRIPLE CMDS */ -#define CMD_TRIPE_COLUMN_ADDRESS 0x21 /* 0~127, 0~127 */ -#define CMD_TRIPE_PAGE_ADDRESS 0x22 /* 0~7, 0~7 */ - -#define OLED_MATREIAL_STANDARD_CONTRAST 0xAF -#define OLED_MATREIAL_LOW_CONTRAST 0x0F - -uint8_t CMD_HORIZONTAL_SCROLL_ARRAY[] = {CMD_HORIZONTAL_SCROLL(0), CMD_HORIZONTAL_SCROLL(1)}; -uint8_t CMD_BACKLIGHT_ARRAY[] = { - CMD_DISPLAY_OFF_ON(0), /* Backlight off */ - CMD_DISPLAY_OFF_ON(1) /* Backlight oN */ -}; - - -/* [wuzhong start] 2012-11-29 */ -#ifdef __ENABLE_OLED_SH1106_AND_SSD1306__ -#define CMD_DC_DC_CONTROL 0xad -#define CMD_DC_DC_ON 0x8b /* POR */ -#define CMD_DC_DC_OFF 0x8a -#endif -/* [wuzhong end] */ - - -uint8_t oled_ssd1306_init_cmd[] = { -#if 0 - CMD_DISPLAY_OFF_ON(0), - CMD_LOWER_COL_ADDR(0), - CMD_HIGHER_COL_ADDR(0), - CMD_START_LINE(0), - CMD_DOUBLE_CONTRAST_CONTROL, - OLED_MATREIAL_STANDARD_CONTRAST, - CMD_SEGMENT_REMAP(1), /* left-right */ - CMD_NORMAL_REV_DISPLAY(0), - CMD_SCAN_DIRECTION_N_TO_0, /* up-down */ - CMD_DOUBLE_MULTIPLEX_RATIO, 0x3F, /* something influence */ - CMD_DOUBLE_DISPLAY_OFFSET, 0x00, - CMD_DOUBLE_CLOCK_DIVIDE_RATIO, 0xF0, /* something influence */ - CMD_DOUBLE_PRECHARGE_PERIOD, 0x22, /* something influence */ - CMD_DOUBLE_PADS_HW_CONFIG, 0x12, - CMD_DOUBLE_VCOM_HLEVEL, 0x40, /* something influence */ - CMD_DOUBLE_SET_CHARGE_PUMP, 0x14, /* set charge pump enable*/ - CMD_DISPLAY_OFF_ON(1) /* manual display on */ -#else /* From vendor */ - -/* [wuzhong start] */ -#ifdef __ENABLE_OLED_SH1106_AND_SSD1306__ - - CMD_DISPLAY_OFF_ON(0), - CMD_DOUBLE_CLOCK_DIVIDE_RATIO, 0x80, /* something influence */ - CMD_DOUBLE_MULTIPLEX_RATIO, 0x3f, /* something influence */ - CMD_DOUBLE_DISPLAY_OFFSET, 0x00, - CMD_START_LINE(0), - //CMD_DC_DC_CONTROL, CMD_DC_DC_ON, /* same with POR in sh1106, no this command in ssd1306 */ - CMD_DOUBLE_SET_CHARGE_PUMP, 0x14, /* set charge pump enable for ssd1306, no this command in sh1106 */ - //CMD_DOUBLE_MEMORY_ADDRESSING_MODE, 0x10, /* POR in ssd1306 , no this command in sh1106 */ - CMD_SEGMENT_REMAP(1), /* left-right */ - CMD_SCAN_DIRECTION_N_TO_0, - CMD_DOUBLE_PADS_HW_CONFIG, 0x12, - CMD_DOUBLE_CONTRAST_CONTROL,OLED_MATREIAL_STANDARD_CONTRAST, /* 0x40 was given in sh1106 init code(0x80 is recommended in sh1106 datasheet ), while SSD1306 use 0xaf */ - CMD_DOUBLE_PRECHARGE_PERIOD, 0xF1, /* TODO: */ - CMD_DOUBLE_VCOM_HLEVEL, 0x40, /* something influence */ - CMD_GRAM_IGNORE(0), - CMD_NORMAL_REV_DISPLAY(0), - //CMD_DISPLAY_OFF_ON(1) /* Backlight on */ - -#else /* __ENABLE_OLED_SH1106_AND_SSD1306__ */ - - CMD_DISPLAY_OFF_ON(0), - CMD_DOUBLE_CLOCK_DIVIDE_RATIO, 0x80, /* something influence */ - CMD_DOUBLE_MULTIPLEX_RATIO, 0x3f, /* something influence */ - CMD_DOUBLE_DISPLAY_OFFSET, 0x00, - CMD_START_LINE(0), - CMD_DOUBLE_SET_CHARGE_PUMP, 0x14, /* set charge pump enable*/ - CMD_DOUBLE_MEMORY_ADDRESSING_MODE, 0x00, - CMD_SEGMENT_REMAP(1), /* left-right */ - CMD_SCAN_DIRECTION_N_TO_0, - CMD_DOUBLE_PADS_HW_CONFIG, 0x12, - CMD_DOUBLE_CONTRAST_CONTROL, - OLED_MATREIAL_STANDARD_CONTRAST, - CMD_DOUBLE_PRECHARGE_PERIOD, 0xF1, /* something influence */ - CMD_DOUBLE_VCOM_HLEVEL, 0x40, /* something influence */ - CMD_GRAM_IGNORE(0), - CMD_NORMAL_REV_DISPLAY(0), - //CMD_DISPLAY_OFF_ON(1) /* Backlight on */ - -#endif /* __ENABLE_OLED_SH1106_AND_SSD1306__ */ -/* [wuzhong end] */ - -#endif /* From vendor */ -}; - -uint8_t oled_ssd1306_backlight_cmd[] = { - CMD_DISPLAY_OFF_ON(0) -}; - -uint8_t oled_ssd1306_panel_off_cmd[] = { - CMD_DISPLAY_OFF_ON(0), /* manual display on */ - CMD_DOUBLE_SET_CHARGE_PUMP, 0x10 /* set charge pump enable*/ -}; - -uint8_t oled_ssd1306_scroll_stop_cmd[] = { - CMD_SCROLL_ENABLE(0) -}; - -/* Fade out or blinking mode */ -uint8_t oled_ssd1306_fade_blink_cmd[] = { - CMD_DOUBLE_FADE_BLINK_MODE, - 0 -}; - -/* - * fade_blink_parameter: - * A[5:4] = 00b Disable Fade Out / Blinking Mode - * A[5:4] = 10b Enable Fade Out mode - * A[5:4] = 11b Enable Blinking mode - * A[3:0] : Set time interval for each fade step, (8 * (A[3:0] + 1))frames - */ -struct oled_ssd1306_fade_blink_cmd_config_struct { - uint8_t *fade_blink_parameter; -}; - -static struct oled_ssd1306_fade_blink_cmd_config_struct oled_ssd1306_fade_blink_cmd_config = { - .fade_blink_parameter = &oled_ssd1306_fade_blink_cmd[1], -}; - -/* [wuzhong start] */ -#ifdef __ENABLE_OLED_SH1106_AND_SSD1306__ - -// sh1106 is 4 pixel widder then ssd1306 -#define SH1106_OFFSET 2 - -//struct oled_sh1106_flush_cmd { -// uint8_t* line_start; -// uint8_t* low_column; -// uint8_t* high_column; -// uint8_t* page_number; -//}; - -// line: 0x40 as default -// page: range 0xb0~0xb7 -// low column: range 0x00~0x0f -// high column: range 0x10~0x1f -uint8_t oled_sh1106_flush_cmd[] = { - 0x40, 0xb0, 0x00, 0x10 -}; - -#else /* __ENABLE_OLED_SH1106_AND_SSD1306__ */ - -/* Flush the screen */ -uint8_t oled_ssd1306_flush_cmd[] = { - CMD_DOUBLE_MEMORY_ADDRESSING_MODE, 0, - CMD_TRIPE_COLUMN_ADDRESS, 0, (COLUMN_NUM - 1), - CMD_TRIPE_PAGE_ADDRESS, 0, (PAGE_NUM - 1) -}; - -struct oled_ssd1306_flush_cmd_config_struct { - uint8_t *col_addr_start; - uint8_t *col_addr_end; - uint8_t *page_addr_start; - uint8_t *page_addr_end; -}; - -static struct oled_ssd1306_flush_cmd_config_struct oled_ssd1306_flush_cmd_config = { - .col_addr_start = &oled_ssd1306_flush_cmd[3], /* Start column address, 0~127 */ - .col_addr_end = &oled_ssd1306_flush_cmd[4], /* End column address, 0~127 */ - .page_addr_start = &oled_ssd1306_flush_cmd[6], /* Start page address, 0~7 */ - .page_addr_end = &oled_ssd1306_flush_cmd[7], /* End page address, 0~7 */ -}; - -#endif /* __ENABLE_OLED_SH1106_AND_SSD1306__ */ -/* [wuzhong end] */ - -/* Horizontal scroll */ -uint8_t oled_ssd1306_h_scroll_cmd[] = { - CMD_HORIZONTAL_SCROLL(0), /* Direction, 0: L->R, 1:R->L */ - CMD_DUMMY_BYTE_ZERO, - 0, /* Start page address */ - 0, /* Frames interval between each scroll, - * 0: 5 frame, 1: 64, 2: 128, 3: 256, - * 4: 3, 5: 4, 6: 25, 7: 2 */ - (PAGE_NUM - 1), /* End page address */ - CMD_DUMMY_BYTE_ZERO, - CMD_DUMMY_BYTE_FF, - CMD_SCROLL_ENABLE(1) -}; - -struct oled_ssd1306_h_scroll_cmd_config_struct { - uint8_t *horizontal_scroll_direction; - uint8_t *page_addr_start; - uint8_t *time_interval_scroll; - uint8_t *page_addr_end; -}; - -static struct oled_ssd1306_h_scroll_cmd_config_struct oled_ssd1306_h_scroll_cmd_config = { - .horizontal_scroll_direction = &oled_ssd1306_h_scroll_cmd[0], - .page_addr_start = &oled_ssd1306_h_scroll_cmd[2], - .time_interval_scroll = &oled_ssd1306_h_scroll_cmd[3], - .page_addr_end = &oled_ssd1306_h_scroll_cmd[4], -}; - -#endif /* __OLED_SSD1306_PT__ */ - diff --git a/kernel/drivers/platform/msm/ipa/a2_service.c b/kernel/drivers/platform/msm/ipa/a2_service.c index 3fc518722..c3efe3865 100644 --- a/kernel/drivers/platform/msm/ipa/a2_service.c +++ b/kernel/drivers/platform/msm/ipa/a2_service.c @@ -25,7 +25,6 @@ #include #include #include -#include #include "ipa_i.h" #define A2_NUM_PIPES 6 @@ -115,38 +114,6 @@ static struct a2_mux_context_type *a2_mux_ctx; static void handle_a2_mux_cmd(struct sk_buff *rx_skb); -/* [chenchao start] Do not excute BUG() in recovery */ -static bool is_recovery_mode(void) -{ - unsigned int value = 0; - static bool is_recovery = 0; - static bool checked = 0; - void* restart_reason = 0; - - if (checked == 1) - { - return is_recovery; - } - - checked = 1; - restart_reason = MSM_IMEM_BASE + 0x65C; - value = __raw_readl(restart_reason); - /* [chenchao] Fix always go into recovery */ - __raw_writel(0, restart_reason); - pr_info("CCCC restart_reason %x\r\n", value); - is_recovery = (value == 0x77665502); - return is_recovery; -} - -static void bug_not_recovery(void) -{ - if (!is_recovery_mode()) - { - BUG(); - } -} -/* [chenchao end] */ - static bool bam_ch_is_open(int index) { return a2_mux_ctx->bam_ch[index].status == @@ -340,7 +307,7 @@ static void ul_wakeup(void) return; bail: mutex_unlock(&a2_mux_ctx->wakeup_lock); - bug_not_recovery(); + BUG(); return; } @@ -374,7 +341,7 @@ static void a2_mux_write_done(bool is_tethered, struct sk_buff *skb) } spin_unlock_irqrestore(&a2_mux_ctx->bam_tx_pool_spinlock, flags); - bug_not_recovery(); + BUG(); } list_del(&info->list_node); spin_unlock_irqrestore(&a2_mux_ctx->bam_tx_pool_spinlock, flags); @@ -486,7 +453,7 @@ static void kickoff_ul_wakeup_func(struct work_struct *work) if (unlikely(ret == 0)) { IPAERR("%s timeout waiting for A2 PROD granted\n", __func__); - bug_not_recovery(); + BUG(); return; } } @@ -512,7 +479,7 @@ static void kickoff_ul_request_resource_func(struct work_struct *work) if (unlikely(ret == 0)) { IPAERR("%s timeout waiting for A2 PROD granted\n", __func__); - bug_not_recovery(); + BUG(); return; } } @@ -1683,9 +1650,6 @@ int a2_mux_init(void) */ a2_mux_ctx->bam_ch[A2_MUX_TETHERED_0].status |= BAM_CH_REMOTE_OPEN; - /* [chenchao] init restart reason */ - is_recovery_mode(); - rc = 0; goto bail; diff --git a/kernel/drivers/platform/msm/qpnp-power-on.c b/kernel/drivers/platform/msm/qpnp-power-on.c index 8ebfe97f5..d3788389a 100644 --- a/kernel/drivers/platform/msm/qpnp-power-on.c +++ b/kernel/drivers/platform/msm/qpnp-power-on.c @@ -23,7 +23,6 @@ #include #include #include -#include /* Common PNP defines */ #define QPNP_PON_REVISION2(base) (base + 0x01) @@ -110,7 +109,6 @@ struct qpnp_pon { }; static struct qpnp_pon *sys_reset_dev; -struct wake_lock powerkey_wlock; static u32 s1_delay[PON_S1_COUNT_MAX + 1] = { 0 , 32, 56, 80, 138, 184, 272, 408, 608, 904, 1352, 2048, @@ -334,7 +332,6 @@ qpnp_pon_input_dispatch(struct qpnp_pon *pon, u32 pon_type) input_report_key(pon->pon_input, cfg->key_code, (pon_rt_sts & pon_rt_bit)); input_sync(pon->pon_input); - wake_lock_timeout(&powerkey_wlock, 5 * HZ); return 0; } @@ -642,20 +639,6 @@ qpnp_pon_request_irqs(struct qpnp_pon *pon, struct qpnp_pon_config *cfg) return rc; } -/* [chenchao start] Fix send up event when resume from sleep */ -static int no_suppend_resume(struct device *dev) -{ - return 0; -} - -struct dev_pm_domain input_device_pm_domain = { - .ops = { - .suspend = no_suppend_resume, - .resume = no_suppend_resume, - } -}; -/* [chenchao end] */ - static int __devinit qpnp_pon_config_input(struct qpnp_pon *pon, struct qpnp_pon_config *cfg) { @@ -668,8 +651,6 @@ qpnp_pon_config_input(struct qpnp_pon *pon, struct qpnp_pon_config *cfg) } pon->pon_input->name = "qpnp_pon"; pon->pon_input->phys = "qpnp_pon/input0"; - /* [chenchao] Fix send up event when resume from sleep */ - pon->pon_input->dev.pm_domain = &input_device_pm_domain; } input_set_capability(pon->pon_input, EV_KEY, cfg->key_code); @@ -1018,14 +999,12 @@ static struct spmi_driver qpnp_pon_driver = { static int __init qpnp_pon_init(void) { - wake_lock_init(&powerkey_wlock, WAKE_LOCK_SUSPEND, "powerkey"); return spmi_driver_register(&qpnp_pon_driver); } module_init(qpnp_pon_init); static void __exit qpnp_pon_exit(void) { - wake_lock_destroy(&powerkey_wlock); return spmi_driver_unregister(&qpnp_pon_driver); } module_exit(qpnp_pon_exit); diff --git a/kernel/drivers/platform/msm/usb_bam.c b/kernel/drivers/platform/msm/usb_bam.c index 4a74abdef..7e2349cdf 100644 --- a/kernel/drivers/platform/msm/usb_bam.c +++ b/kernel/drivers/platform/msm/usb_bam.c @@ -1,4 +1,4 @@ -/* Copyright (c) 2011-2014, The Linux Foundation. All rights reserved. +/* Copyright (c) 2011-2013, 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 @@ -144,7 +144,6 @@ struct usb_bam_ipa_handshake_info { bool in_lpm; bool pending_lpm; u8 prod_pipes_enabled_per_bam; - bool pending_bam_reset; int (*wake_cb)(void *); void *wake_param; @@ -1540,65 +1539,9 @@ void msm_bam_hsic_notify_on_resume(void) spin_unlock(&usb_bam_lock); } -/** - * msm_bam_hsic_host_pipe_empty - Check all HSIC host BAM pipe state - * - * return true if all BAM pipe used for HSIC Host mode is empty. - */ -bool msm_bam_hsic_host_pipe_empty(void) -{ - struct usb_bam_pipe_connect *pipe_connect; - struct sps_pipe *pipe = NULL; - enum usb_bam bam = HSIC_BAM; - int i, ret; - u32 status; - - pr_debug("%s: enter\n", __func__); - - for (i = 0; i < ctx.max_connections; i++) { - pipe_connect = &usb_bam_connections[i]; - if (pipe_connect->bam_type == bam && - pipe_connect->enabled) { - - pipe = ctx.usb_bam_sps.sps_pipes[i]; - ret = sps_is_pipe_empty(pipe, &status); - if (ret) { - pr_err("%s(): sps_is_pipe_empty() failed\n", - __func__); - pr_err("%s(): SRC index(%d), DEST index(%d):\n", - __func__, - pipe_connect->src_pipe_index, - pipe_connect->dst_pipe_index); - WARN_ON(1); - } - - if (!status) { - pr_err("%s(): pipe is not empty.\n", __func__); - pr_err("%s(): SRC index(%d), DEST index(%d):\n", - __func__, - pipe_connect->src_pipe_index, - pipe_connect->dst_pipe_index); - return false; - } else { - pr_debug("%s(): SRC index(%d), DEST index(%d):\n", - __func__, - pipe_connect->src_pipe_index, - pipe_connect->dst_pipe_index); - } - } - } - - if (!pipe) - pr_err("%s: Bam %s has no connected pipes\n", __func__, - bam_enable_strings[bam]); - - return true; -} -EXPORT_SYMBOL(msm_bam_hsic_host_pipe_empty); - bool msm_bam_hsic_lpm_ok(void) { - int i, ret; + int i; struct usb_bam_pipe_connect *pipe_iter; if (hsic_host_info.dev) { @@ -1621,17 +1564,6 @@ bool msm_bam_hsic_lpm_ok(void) IPA_RM_RESOURCE_RELEASED && ctx.is_bam_inactivity[HSIC_BAM] && info[HSIC_BAM].in_lpm) { - - pr_err("%s(): checking HSIC Host pipe state\n", - __func__); - ret = msm_bam_hsic_host_pipe_empty(); - if (!ret) { - pr_err("%s(): HSIC HOST Pipe is not empty.\n", - __func__); - spin_unlock(&usb_bam_lock); - return false; - } - /* HSIC host will go now to lpm */ pr_debug("%s: vote for suspend hsic %x\n", __func__, (int)hsic_host_info.dev); @@ -1743,18 +1675,13 @@ int usb_bam_connect_ipa(struct usb_bam_connect_ipa_params *ipa_params) (ctx.pipes_enabled_per_bam[cur_bam] == 0)) { spin_unlock(&usb_bam_lock); - if (cur_bam == HSUSB_BAM) { + if (cur_bam == HSUSB_BAM) msm_hw_bam_disable(1); - if (sps_device_reset(ctx.h_bam[cur_bam])) - pr_err("%s: BAM reset failed\n", __func__); + sps_device_reset(ctx.h_bam[cur_bam]); + if (cur_bam == HSUSB_BAM) msm_hw_bam_disable(0); - } else if (info[HSIC_BAM].pending_bam_reset && - cur_bam == HSIC_BAM) { - if (sps_device_reset(ctx.h_bam[cur_bam])) - pr_err("%s: BAM reset failed\n", __func__); - } /* On re-connect assume out from lpm for HSIC BAM */ if (cur_bam == HSIC_BAM && hsic_host_info.dev && @@ -3009,28 +2936,6 @@ void msm_bam_notify_lpm_resume() } EXPORT_SYMBOL(msm_bam_notify_lpm_resume); - -void msm_bam_hsic_reset(void) -{ - struct msm_usb_bam_platform_data *pdata; - - if (!ctx.usb_bam_pdev) { - pr_debug("%s: setting pending_bam_reset\n", __func__); - info[HSIC_BAM].pending_bam_reset = 1; - return; - } - - pdata = ctx.usb_bam_pdev->dev.platform_data; - - WARN_ON(ctx.pipes_enabled_per_bam[HSIC_BAM] != 0); - if (pdata->reset_on_connect[HSIC_BAM] == true) { - pr_debug("%s: reset the HSIC BAM", __func__); - if (sps_device_reset(ctx.h_bam[HSIC_BAM])) - pr_err("%s: HSIC BAM reset failed\n", __func__); - } -} -EXPORT_SYMBOL(msm_bam_hsic_reset); - static int usb_bam_remove(struct platform_device *pdev) { destroy_workqueue(ctx.usb_bam_wq); diff --git a/kernel/drivers/power/Kconfig b/kernel/drivers/power/Kconfig old mode 100755 new mode 100644 index 44736aa0d..e42337f75 --- a/kernel/drivers/power/Kconfig +++ b/kernel/drivers/power/Kconfig @@ -350,12 +350,6 @@ config SMB137C_CHARGER charging, setting the input current limit, and enabling USB OTG mode in order to supply 5 V on the VBUS line. -config MP2617_CHARGER - tristate "Summit MP2617 Battery Charger" - help - The MP2617 charger chip is a charging solution. This driver supports - enabling and disabling charging, setting the input current limit. - config SMB349_CHARGER tristate "smb349 charger" depends on I2C @@ -501,11 +495,4 @@ config QPNP_BMS Say Y here to enable support for QPNP chip bms device. It registers a fuelgauge bms power supply to report State of Charge. - -config POWER_BANK_DETECT_SUPPORT - tristate "Support Power Bank Detection" - default n - help - If support power bank detection, we can get the current - output. endif # POWER_SUPPLY diff --git a/kernel/drivers/power/Makefile b/kernel/drivers/power/Makefile old mode 100755 new mode 100644 index b5d737e89..990bd037a --- a/kernel/drivers/power/Makefile +++ b/kernel/drivers/power/Makefile @@ -56,7 +56,6 @@ obj-$(CONFIG_BATTERY_BQ27541) += bq27541_fuelgauger.o obj-$(CONFIG_BATTERY_BQ28400) += bq28400_battery.o obj-$(CONFIG_SMB137B_CHARGER) += smb137b.o obj-$(CONFIG_SMB137C_CHARGER) += smb137c-charger.o -obj-$(CONFIG_MP2617_CHARGER) += mp2617-charger.o obj-$(CONFIG_PM8XXX_CCADC) += pm8xxx-ccadc.o obj-$(CONFIG_PM8921_BMS) += pm8921-bms.o obj-$(CONFIG_QPNP_BMS) += qpnp-bms.o diff --git a/kernel/drivers/power/mp2617-charger.c b/kernel/drivers/power/mp2617-charger.c deleted file mode 100755 index e20e398d2..000000000 --- a/kernel/drivers/power/mp2617-charger.c +++ /dev/null @@ -1,879 +0,0 @@ -/******************************************************************************* - Copyright (C), 2014, TP-LINK TECHNOLOGIES CO., LTD. - File name : mp2617-charger.c - Description : Driver for charge ic mp2617. - Author : linyunfeng - - History: ------------------------------- -V0.2, 2014-04-29, linyunfeng complete the driver of mp2617. -V0.1, 2014-03-29, linyunfeng create file. -*******************************************************************************/ - -#include -#include -#include -#include -#include -#include -#include -#include - -#ifdef MP2617_DEBUG -#undef dev_dbg -#define dev_dbg(dev, format, arg...) dev_printk(KERN_INFO, dev, format, ##arg) -#endif - -/* USB, set 500mA limit */ -#define USB_INPUT_CURRENT_LIMIT_UA 500000 - -/* Charger, set 1000mA limit */ -#define CHARGER_INPUT_CURRENT_LIMIT_UA 1000000 - -static u32 supported_input_current[] = { - USB_INPUT_CURRENT_LIMIT_UA, - CHARGER_INPUT_CURRENT_LIMIT_UA, -}; - -#define DEFAULT_INPUT_CURRENT_LIMIT_UA CHARGER_INPUT_CURRENT_LIMIT_UA - -/* Default resistor used for detection */ -#define DEFAULT_CHARGE_DET_RESISTOR 100 - -/* Default battery resistor */ -#define DEFAULT_BATTERY_RESISTOR 120 - -/* Correspondence table of voltage and temperature */ -static const int adc_map_temp[][2] = -{ - {1800, -100}, - {1577, -20}, - {1524, -15}, - {1463, -10}, - {1396, -5}, - {1322, 0}, - {1243, 5}, - {1159, 10}, - {1073, 15}, - {986, 20}, - {900, 25}, - {816, 30}, - {736, 35}, - {660, 40}, - {590, 45}, - {526, 50}, - {468, 55}, - {416, 60}, - {369, 65}, - {327, 70}, - {0, 1000} -}; - -struct mp2617_chip { - struct platform_device *client; - struct power_supply psy; - struct power_supply *usb_psy; - struct mutex lock; - int input_current_limit_ua; -#ifdef CONFIG_POWER_BANK_DETECT_SUPPORT - int charging_det_resistor; - int battery_resistor; - u32 boost_en_gpio; -#endif - int battery_health; - int charging_vbat_div; - bool battery_present; - bool charging_enabled; - bool charging_allowed; - u32 charging_en_gpio; - u32 charging_ok_gpio; - u32 charging_m0_gpio; - u32 charging_m1_gpio; -}; - -static enum power_supply_property mp2617_power_properties[] = { - POWER_SUPPLY_PROP_HEALTH, - POWER_SUPPLY_PROP_PRESENT, - POWER_SUPPLY_PROP_VOLTAGE_NOW, - POWER_SUPPLY_PROP_TEMP, - POWER_SUPPLY_PROP_CHARGING_ENABLED, - POWER_SUPPLY_PROP_CURRENT_MAX, - POWER_SUPPLY_PROP_TECHNOLOGY, - POWER_SUPPLY_PROP_MODEL_NAME, - POWER_SUPPLY_PROP_MANUFACTURER, - POWER_SUPPLY_PROP_CHG_OK, -#ifdef CONFIG_POWER_BANK_DETECT_SUPPORT - POWER_SUPPLY_PROP_VOLTAGE_DROP, -#endif -}; - -#ifdef CONFIG_POWER_BANK_DETECT_SUPPORT -/******************************************************************************* - Function : mp2617_enable_boost - Description : Enable or disable the boost chip - Input : chip: chip data - enable: true: enable, false: disable - Output : None - Return : 0: OK, Others: Error - Others : None -*******************************************************************************/ -static int mp2617_enable_boost(struct mp2617_chip *chip, bool enable) -{ - int rc = 0; - - if (true == enable) { - rc = gpio_direction_output(chip->boost_en_gpio, 1); - } else { - rc = gpio_direction_output(chip->boost_en_gpio, 0); - } - - if (rc < 0) { - dev_err(&chip->client->dev, "%s: enable or disable boost error\n", - __func__); - } - - dev_dbg(&chip->client->dev, "%s, enable=%d, rc = %d\n", __func__, enable, rc); - - return rc; -} - -/******************************************************************************* - Function : mp2617_get_property_voltage_drop - Description : Get the voltage drop by power supply - Input : chip: chip data - Output : None - Return : voltage or error code - Others : None -*******************************************************************************/ -static int mp2617_get_property_voltage_drop(struct mp2617_chip *chip) -{ - int rc = 0; - int vol_drop = 0; - - struct qpnp_vadc_result results; - - rc = qpnp_vadc_read(P_MUX1_1_1, &results); - if (rc) { - pr_err("Unable to read vbat rc=%d\n", rc); - return rc; - } - - vol_drop = ((int)(results.physical)/chip->charging_det_resistor) - * chip->battery_resistor / 1000; - return vol_drop; -} -#endif - -/******************************************************************************* - Function : mp2617_enable_charging - Description : Enable charging - Input : chip: chip data - Output : None - Return : 0: OK, Others: Error - Others : None -*******************************************************************************/ -static int mp2617_enable_charging(struct mp2617_chip *chip) -{ - int rc = 0; - - if ((!chip->charging_enabled) && (true == chip->charging_allowed) - && (true == chip->battery_present)) { - rc = gpio_direction_output(chip->charging_en_gpio, 1); - - if (!rc) { - chip->charging_enabled = true; -#ifdef CONFIG_POWER_BANK_DETECT_SUPPORT - mp2617_enable_boost(chip, false); -#endif - } - } - - dev_dbg(&chip->client->dev, "%s, rc = %d\n", __func__, rc); - - return rc; -} - -/******************************************************************************* - Function : mp2617_disable_charging - Description : Disable charging - Input : chip: chip data - Output : None - Return : 0: OK, Others: Error - Others : None -*******************************************************************************/ -static int mp2617_disable_charging(struct mp2617_chip *chip) -{ - int rc = 0; - - if (chip->charging_enabled) { - rc = gpio_direction_output(chip->charging_en_gpio, 0); - - if (!rc) { - chip->charging_enabled = false; -#ifdef CONFIG_POWER_BANK_DETECT_SUPPORT - mp2617_enable_boost(chip, true); -#endif - } - } - - dev_dbg(&chip->client->dev, "%s, rc = %d\n", __func__, rc); - - return rc; -} - -/******************************************************************************* - Function : mp2617_get_property_chg_ok_level - Description : Get the level of chg_ok gpio - Input : chip: chip data - Output : None - Return : Gpio level - Others : None -*******************************************************************************/ -static int mp2617_get_property_chg_ok_level(struct mp2617_chip *chip) -{ - int rc = 0; - int result = 0; - - rc = gpio_direction_input(chip->charging_ok_gpio); - if (!rc) { - result = gpio_get_value_cansleep(chip->charging_ok_gpio); - } - - return result; -} - -/******************************************************************************* - Function : mp2617_set_input_current_limit - Description : Set the limit of input current - Input : chip: chip data - current_limit_ua: the limit of input current - Output : None - Return : 0: OK, Others: Error - Others : None -*******************************************************************************/ -static int mp2617_set_input_current_limit(struct mp2617_chip *chip, - int current_limit_ua) -{ - int rc = 0; - int i = 0; - - for (i = ARRAY_SIZE(supported_input_current) - 1; i >= 0; i--) { - if (current_limit_ua >= supported_input_current[i]) { - current_limit_ua = supported_input_current[i]; - break; - } - } - - switch (current_limit_ua) { - case USB_INPUT_CURRENT_LIMIT_UA: - gpio_direction_output(chip->charging_m0_gpio, 0); - gpio_direction_output(chip->charging_m1_gpio, 0); - break; - - case CHARGER_INPUT_CURRENT_LIMIT_UA: - gpio_direction_output(chip->charging_m0_gpio, 1); - gpio_direction_output(chip->charging_m1_gpio, 0); - break; - - default: - dev_err(&chip->client->dev, "%s: Unsupported current_limit_ua=%d uA\n", - __func__, current_limit_ua); - rc = -EINVAL; - break; - - } - - if (!rc) { - chip->input_current_limit_ua = current_limit_ua; - - dev_dbg(&chip->client->dev, "%s: current_limit_ua=%d uA\n", __func__, - current_limit_ua); - } - - return rc; -} - -/******************************************************************************* - Function : mp2617_set_property_battery_present - Description : Set the present state of battery - Input : chip: chip data - batt_present_state: the present state of battery - Output : None - Return : 0: OK - Others : None -*******************************************************************************/ -static int mp2617_set_property_battery_present(struct mp2617_chip *chip, - bool batt_present_state) -{ - chip->battery_present = batt_present_state; - - return 0; -} - -/******************************************************************************* - Function : mp2617_get_property_battery_present - Description : Get the present state of battery - Input : chip: chip data - Output : None - Return : The present state of battery - Others : None -*******************************************************************************/ -static int mp2617_get_property_battery_present(struct mp2617_chip *chip) -{ - return chip->battery_present; -} - -/******************************************************************************* - Function : mp2617_set_property_battery_health - Description : Set the health state of battery - Input : chip: chip data - health_state: the health state of battery - Output : None - Return : 0: OK - Others : None -*******************************************************************************/ -static int mp2617_set_property_battery_health(struct mp2617_chip *chip, - int health_state) -{ - if ((health_state > POWER_SUPPLY_HEALTH_UNKNOWN) && - (health_state <= POWER_SUPPLY_HEALTH_DEAD_OVERCOLD)) - { - chip->battery_health = health_state; - - if (POWER_SUPPLY_HEALTH_GOOD == health_state) - { - chip->charging_allowed = true; - } - else - { - chip->charging_allowed = false; - } - } - else - { - chip->battery_health = POWER_SUPPLY_HEALTH_UNKNOWN; - } - - return 0; -} - -/******************************************************************************* - Function : mp2617_get_property_battery_health - Description : Get the health state of battery - Input : chip: chip data - Output : None - Return : The health state of battery - Others : None -*******************************************************************************/ -static int mp2617_get_property_battery_health(struct mp2617_chip *chip) -{ - return chip->battery_health; -} - -/******************************************************************************* - Function : mp2617_get_property_battery_voltage - Description : Get the voltage of battery - Input : chip: chip data - Output : None - Return : The voltage of battery - Others : None -*******************************************************************************/ -static int mp2617_get_property_battery_voltage(struct mp2617_chip *chip) -{ - int rc = 0; - struct qpnp_vadc_result results; - - rc = qpnp_vadc_read(P_MUX2_1_1, &results); - if (rc) { - pr_err("Unable to read vbat rc=%d\n", rc); - return rc; - } - - return ((int)(results.physical * chip->charging_vbat_div)/1000); -} - -/******************************************************************************* - Function : em_batt_map_linear - Description : Get the result form table by linear map - Input : table: linear map table - table_size: table size - in_num: number input - Output : out_num: result with linear map - Return : 0: OK, Others: Error - Others : None -*******************************************************************************/ -static int em_batt_map_linear(const int (*table)[2], const u32 table_size, - int in_num, int *out_num) -{ - u32 i = 0; - - if ((NULL == table) || (NULL == out_num)) { - pr_err("Invalid input or output parameter\n"); - return -EINVAL; - } - - while (i < table_size) { - if (table[i][0] < in_num) { - break; - } else { - i++; - } - } - - if (i == 0) { - *out_num = table[0][1]; - } else if (i == table_size) { - *out_num = table[table_size-1][1]; - } else { - /* result is between search_index and search_index-1, interpolate linearly */ - *out_num = (((table[i][1] - table[i-1][1]) * (in_num - table[i-1][0])) - / (table[i][0] - table[i-1][0])) + table[i-1][1]; - } - - return 0; -} - -/******************************************************************************* - Function : mp2617_get_property_battery_id_therm - Description : Get the temperature of battery - Input : chip: chip data - Output : None - Return : The temperature of battery or error code - Others : None -*******************************************************************************/ -static int mp2617_get_property_battery_id_therm(struct mp2617_chip *chip) -{ - int rc = 0; - int temp_value = 0; - struct qpnp_vadc_result results; - - rc = qpnp_vadc_read(LR_MUX2_BAT_ID, &results); - if (rc) { - pr_err("Unable to read battery temperature, rc=%d\n", rc); - return rc; - } - - temp_value = ((int)results.physical) / 1000; /* convert to mV */ - - rc = em_batt_map_linear(adc_map_temp, - sizeof(adc_map_temp)/sizeof(adc_map_temp[0]), - temp_value, &temp_value); - if(rc) { - pr_err("Unable to get battery temperature, rc=%d\n", rc); - return rc; - } - - return temp_value; -} - -static int mp2617_property_is_writeable(struct power_supply *psy, - enum power_supply_property psp) -{ - switch (psp) { - case POWER_SUPPLY_PROP_CHARGING_ENABLED: - case POWER_SUPPLY_PROP_CURRENT_MAX: - case POWER_SUPPLY_PROP_HEALTH: - case POWER_SUPPLY_PROP_PRESENT: - return 1; - default: - break; - } - - return 0; -} - -static int mp2617_power_set_property(struct power_supply *psy, - enum power_supply_property psp, - const union power_supply_propval *val) -{ - struct mp2617_chip *chip = container_of(psy, struct mp2617_chip, psy); - - mutex_lock(&chip->lock); - - switch (psp) { - case POWER_SUPPLY_PROP_CHARGING_ENABLED: - if (val->intval) { - mp2617_enable_charging(chip); - } else { - mp2617_disable_charging(chip); - } - break; - case POWER_SUPPLY_PROP_CURRENT_MAX: - mp2617_set_input_current_limit(chip, val->intval); - break; - case POWER_SUPPLY_PROP_HEALTH: - mp2617_set_property_battery_health(chip, val->intval); - break; - case POWER_SUPPLY_PROP_PRESENT: - mp2617_set_property_battery_present(chip, (bool)val->intval); - break; - default: - mutex_unlock(&chip->lock); - return -EINVAL; - } - - mutex_unlock(&chip->lock); - - power_supply_changed(&chip->psy); - return 0; -} - -static int mp2617_power_get_property(struct power_supply *psy, - enum power_supply_property psp, - union power_supply_propval *val) -{ - struct mp2617_chip *chip = container_of(psy, struct mp2617_chip, psy); - - mutex_lock(&chip->lock); - - switch (psp) { - case POWER_SUPPLY_PROP_HEALTH: - val->intval = mp2617_get_property_battery_health(chip); - break; - case POWER_SUPPLY_PROP_PRESENT: - val->intval = mp2617_get_property_battery_present(chip); - break; - case POWER_SUPPLY_PROP_VOLTAGE_NOW: - val->intval = mp2617_get_property_battery_voltage(chip); - break; - case POWER_SUPPLY_PROP_TEMP: - val->intval = mp2617_get_property_battery_id_therm(chip); - break; - case POWER_SUPPLY_PROP_CHG_OK: - val->intval = mp2617_get_property_chg_ok_level(chip); - break; - case POWER_SUPPLY_PROP_CHARGING_ENABLED: - val->intval = chip->charging_enabled; - break; - case POWER_SUPPLY_PROP_CURRENT_MAX: - val->intval = chip->input_current_limit_ua; - break; - case POWER_SUPPLY_PROP_TECHNOLOGY: - val->intval = POWER_SUPPLY_TECHNOLOGY_LION; - break; - case POWER_SUPPLY_PROP_MODEL_NAME: - val->strval = "MP2617"; - break; - case POWER_SUPPLY_PROP_MANUFACTURER: - val->strval = "MPS"; - break; -#ifdef CONFIG_POWER_BANK_DETECT_SUPPORT - case POWER_SUPPLY_PROP_VOLTAGE_DROP: - val->intval = mp2617_get_property_voltage_drop(chip); - break; -#endif - default: - mutex_unlock(&chip->lock); - return -EINVAL; - } - - mutex_unlock(&chip->lock); - - return 0; -} - -/******************************************************************************* - Function : mp2617_external_power_changed - Description : Set charging parameters because power supply device changes - Input : psy: power supply psy - Output : None - Return : None - Others : None -*******************************************************************************/ -static void mp2617_external_power_changed(struct power_supply *psy) -{ - struct mp2617_chip *chip = container_of(psy, struct mp2617_chip, psy); - union power_supply_propval prop = {0,}; - int scope = POWER_SUPPLY_SCOPE_DEVICE; - int current_limit = 0; - int online = 0; - int rc; - - mutex_lock(&chip->lock); - dev_dbg(&chip->client->dev, "%s: start\n", __func__); - - rc = chip->usb_psy->get_property(chip->usb_psy, - POWER_SUPPLY_PROP_ONLINE, &prop); - if (rc) { - dev_err(&chip->client->dev, - "%s: could not read USB online property, rc=%d\n", __func__, rc); - } else { - online = prop.intval; - } - - rc = chip->usb_psy->get_property(chip->usb_psy, POWER_SUPPLY_PROP_SCOPE, - &prop); - if (rc) { - dev_err(&chip->client->dev, - "%s: could not read USB scope property, rc=%d\n", __func__, rc); - } else { - scope = prop.intval; - } - - rc = chip->usb_psy->get_property(chip->usb_psy, - POWER_SUPPLY_PROP_CURRENT_MAX, &prop); - if (rc) { - dev_err(&chip->client->dev, - "%s: could not read USB current max property, rc=%d\n", __func__, rc); - } else { - current_limit = prop.intval; - } - - dev_dbg(&chip->client->dev, - "%s: online=%d, scope=%d, current_limit=%d, present=%d\n", - __func__, online, scope, current_limit, chip->battery_present); - - if (scope == POWER_SUPPLY_SCOPE_DEVICE) { - if (online && chip->battery_present) { - mp2617_set_input_current_limit(chip, current_limit); - - if (current_limit != 0 && - POWER_SUPPLY_HEALTH_GOOD == chip->battery_health) { - mp2617_enable_charging(chip); - } - } else { - mp2617_disable_charging(chip); - } - } - - dev_dbg(&chip->client->dev, "%s: end\n", __func__); - mutex_unlock(&chip->lock); - - power_supply_changed(&chip->psy); -} - -/******************************************************************************* - Function : mp2617_apply_dt_configs - Description : Set default config - Input : chip: chip data - Output : None - Return : 0: OK, Others: Error - Others : None -*******************************************************************************/ -static int __devinit mp2617_apply_dt_configs(struct mp2617_chip *chip) -{ - struct device *dev = &chip->client->dev; - struct device_node *node = chip->client->dev.of_node; - int current_ma = 0; - int value = 0; - int rc = 0; - - chip->input_current_limit_ua = DEFAULT_INPUT_CURRENT_LIMIT_UA; -#ifdef CONFIG_POWER_BANK_DETECT_SUPPORT - chip->charging_det_resistor = DEFAULT_CHARGE_DET_RESISTOR; - chip->battery_resistor = DEFAULT_BATTERY_RESISTOR; - mp2617_enable_boost(chip, true); -#endif - chip->battery_health = POWER_SUPPLY_HEALTH_GOOD; - chip->battery_present = true; - chip->charging_allowed = true; - - mp2617_disable_charging(chip); - - /* - * All device tree parameters are optional so it is ok if read calls - * fail. - */ - rc = of_property_read_u32(node, "mps,chg-current-ma", ¤t_ma); - if (rc == 0) { - chip->input_current_limit_ua = current_ma * 1000; - } else { - dev_err(dev, "%s: Failed to get charge current node, rc=%d\n", - __func__, rc); - } - - rc = of_property_read_u32(node, "mps,chg-vbat-div", &value); - if (rc == 0) { - chip->charging_vbat_div = value; - } else { - chip->charging_vbat_div = 1; - - dev_err(dev, "%s: Failed to get battery voltage division, rc=%d\n", - __func__, rc); - } - - rc = mp2617_set_input_current_limit(chip, chip->input_current_limit_ua); - if (rc) { - dev_err(dev, "%s: Failed to set charge current, rc=%d\n", - __func__, rc); - return rc; - } - -#ifdef CONFIG_POWER_BANK_DETECT_SUPPORT - rc = of_property_read_u32(node, "mps,chg-det-resistor", &value); - if (rc == 0) { - chip->charging_det_resistor = value; - } else { - dev_err(dev, "%s: Failed to get detection resistor, rc=%d\n", - __func__, rc); - } - - rc = of_property_read_u32(node, "mps,chg-batt-resistor", &value); - if (rc == 0) { - chip->battery_resistor = value; - } else { - dev_err(dev, "%s: Failed to get battery resistor, rc=%d\n", - __func__, rc); - } - -#endif - return rc; -} - -/******************************************************************************* - Function : mp2617_gpio_configs - Description : Set gpio default config - Input : chip: chip data - Output : None - Return : 0: OK, Others: Error - Others : None -*******************************************************************************/ -static int __devinit mp2617_gpio_configs(struct mp2617_chip *chip) -{ - struct device_node *node = chip->client->dev.of_node; - int rc = 0; - - chip->charging_en_gpio = of_get_named_gpio(node, "mps,chg-en-gpio", 0); - rc = gpio_request(chip->charging_en_gpio, "mps,chg-en-gpio"); - if (rc) { - pr_err("request charge en gpio failed, rc=%d\n", rc); - gpio_free(chip->charging_en_gpio); - return rc; - } - - chip->charging_ok_gpio = of_get_named_gpio(node, "mps,chg-ok-gpio", 0); - rc = gpio_request(chip->charging_ok_gpio, "mps,chg-ok-gpio"); - if (rc) { - pr_err("request charge ok gpio failed, rc=%d\n",rc); - gpio_free(chip->charging_ok_gpio); - return rc; - } - - chip->charging_m0_gpio = of_get_named_gpio(node, "mps,chg-m0-gpio", 0); - rc = gpio_request(chip->charging_m0_gpio, "mps,chg-m0-gpio"); - if (rc) { - pr_err("request charge m0 gpio failed, rc=%d\n", - rc); - gpio_free(chip->charging_m0_gpio); - return rc; - } - - chip->charging_m1_gpio = of_get_named_gpio(node, "mps,chg-m1-gpio", 0); - rc = gpio_request(chip->charging_m1_gpio, "mps,chg-m1-gpio"); - if (rc) { - pr_err("request charge m1 gpio failed, rc=%d\n", - rc); - gpio_free(chip->charging_m1_gpio); - return rc; - } - -#ifdef CONFIG_POWER_BANK_DETECT_SUPPORT - chip->boost_en_gpio = of_get_named_gpio(node, "mps,chg-boost-en-gpio", 0); - rc = gpio_request(chip->boost_en_gpio, "mps,chg-boost-en-gpio"); - if (rc) { - pr_err("request charge m1 gpio failed, rc=%d\n", - rc); - gpio_free(chip->boost_en_gpio); - return rc; - } -#endif - - return rc; -} - -static int __devinit mp2617_probe(struct platform_device *pdev) -{ - struct mp2617_chip *chip; - struct device *dev = &pdev->dev; - struct device_node *node = pdev->dev.of_node; - int rc = 0; - - if (!node) { - dev_err(dev, "%s: device tree information missing\n", __func__); - return -ENODEV; - } - - chip = devm_kzalloc(dev, sizeof(*chip), GFP_KERNEL); - if (!chip) { - dev_err(dev, "%s: devm_kzalloc failed\n", __func__); - return -ENOMEM; - } - - mutex_init(&chip->lock); - chip->client = pdev; - - chip->usb_psy = power_supply_get_by_name("usb"); - if (!chip->usb_psy) { - dev_dbg(dev, "%s: USB supply not found; deferring charger probe\n", - __func__); - return -EPROBE_DEFER; - } - - rc = mp2617_gpio_configs(chip); - if (rc) { - return rc; - } - - rc = mp2617_apply_dt_configs(chip); - if (rc) { - return rc; - } - - chip->psy.name = "battery"; - chip->psy.type = POWER_SUPPLY_TYPE_BATTERY; - chip->psy.properties = mp2617_power_properties; - chip->psy.num_properties = ARRAY_SIZE(mp2617_power_properties); - chip->psy.get_property = mp2617_power_get_property; - chip->psy.set_property = mp2617_power_set_property; - chip->psy.property_is_writeable = mp2617_property_is_writeable; - chip->psy.external_power_changed = mp2617_external_power_changed; - - rc = power_supply_register(dev, &chip->psy); - if (rc < 0) { - dev_err(dev, "%s: power_supply_register failed, rc=%d\n", - __func__, rc); - return rc; - } - - mp2617_external_power_changed(&chip->psy); - - dev_info(dev, "%s: MP2617 charger probed successfully\n", __func__); - - return rc; -} - -static int __devexit mp2617_remove(struct platform_device *pdev) -{ - return 0; -} - -static const struct of_device_id mp2617_match[] = { - { .compatible = "mps,mp2617", }, - { }, -}; - -static struct platform_driver mp2617_driver = { - .driver = { - .name = "mp2617", - .owner = THIS_MODULE, - .of_match_table = mp2617_match, - }, - .probe = mp2617_probe, - .remove = __devexit_p(mp2617_remove), -}; - -static int __init mp2617_init(void) -{ - return platform_driver_register(&mp2617_driver); -} -module_init(mp2617_init); - -static void __exit mp2617_exit(void) -{ - return platform_driver_unregister(&mp2617_driver); -} -module_exit(mp2617_exit); - -MODULE_DESCRIPTION("MP2617 Charger"); -MODULE_LICENSE("GPL v2"); -MODULE_ALIAS("mp2617"); diff --git a/kernel/drivers/power/power_supply_sysfs.c b/kernel/drivers/power/power_supply_sysfs.c old mode 100755 new mode 100644 index 61a255bcc..5cdb6661b --- a/kernel/drivers/power/power_supply_sysfs.c +++ b/kernel/drivers/power/power_supply_sysfs.c @@ -55,7 +55,7 @@ static ssize_t power_supply_show_property(struct device *dev, }; static char *health_text[] = { "Unknown", "Good", "Overheat", "Dead", "Over voltage", - "Unspecified failure", "Cold","Dead over cold", + "Unspecified failure", "Cold", }; static char *technology_text[] = { "Unknown", "NiMH", "Li-ion", "Li-poly", "LiFe", "NiCd", @@ -177,10 +177,6 @@ static struct device_attribute power_supply_attrs[] = { POWER_SUPPLY_ATTR(scope), POWER_SUPPLY_ATTR(system_temp_level), POWER_SUPPLY_ATTR(resistance), - POWER_SUPPLY_ATTR(chg_ok), /* [linyunfeng] Charge ok gpio level */ -#ifdef CONFIG_POWER_BANK_DETECT_SUPPORT - POWER_SUPPLY_ATTR(voltage_drop), -#endif /* Properties of type `const char *' */ POWER_SUPPLY_ATTR(model_name), POWER_SUPPLY_ATTR(manufacturer), diff --git a/kernel/drivers/staging/android/logger.c b/kernel/drivers/staging/android/logger.c index 33d3c176a..e1e886c7a 100644 --- a/kernel/drivers/staging/android/logger.c +++ b/kernel/drivers/staging/android/logger.c @@ -728,11 +728,9 @@ static struct logger_log VAR = { \ .size = SIZE, \ }; -//DEFINE_LOGGER_DEVICE(log_main, LOGGER_LOG_MAIN, 64*1024) -DEFINE_LOGGER_DEVICE(log_main, LOGGER_LOG_MAIN, 256*1024) +DEFINE_LOGGER_DEVICE(log_main, LOGGER_LOG_MAIN, 64*1024) DEFINE_LOGGER_DEVICE(log_events, LOGGER_LOG_EVENTS, 64*1024) -//DEFINE_LOGGER_DEVICE(log_radio, LOGGER_LOG_RADIO, 64*1024) -DEFINE_LOGGER_DEVICE(log_radio, LOGGER_LOG_RADIO, 256*1024) +DEFINE_LOGGER_DEVICE(log_radio, LOGGER_LOG_RADIO, 64*1024) DEFINE_LOGGER_DEVICE(log_system, LOGGER_LOG_SYSTEM, 64*1024) static struct logger_log *get_log_from_minor(int minor) diff --git a/kernel/drivers/usb/core/driver.c b/kernel/drivers/usb/core/driver.c index 46dc5de92..23826403b 100644 --- a/kernel/drivers/usb/core/driver.c +++ b/kernel/drivers/usb/core/driver.c @@ -1218,21 +1218,7 @@ static int usb_suspend_both(struct usb_device *udev, pm_message_t msg) } else { udev->can_submit = 0; for (i = 0; i < 16; ++i) { - struct urb *urb; - struct usb_host_endpoint *ep = udev->ep_out[i]; - bool hbm_enabled_ep = false; - if (ep && !list_empty(&ep->urb_list)) { - urb = list_first_entry(&ep->urb_list, - struct urb, urb_list); - if (urb->priv_data) - hbm_enabled_ep = true; - } - if (hbm_enabled_ep) { - pr_info("Not flushing HBM-EP on susp:%p:%p\n", - urb, urb->priv_data); - } else { - usb_hcd_flush_endpoint(udev, udev->ep_out[i]); - } + usb_hcd_flush_endpoint(udev, udev->ep_out[i]); usb_hcd_flush_endpoint(udev, udev->ep_in[i]); } } diff --git a/kernel/drivers/usb/gadget/android.c b/kernel/drivers/usb/gadget/android.c index b1c09780b..aac92c434 100644 --- a/kernel/drivers/usb/gadget/android.c +++ b/kernel/drivers/usb/gadget/android.c @@ -1756,7 +1756,7 @@ static int mass_storage_function_init(struct android_usb_function *f, config->fsg.nluns = 2; config->fsg.luns[1].cdrom = 1; config->fsg.luns[1].ro = 1; - config->fsg.luns[1].removable = 1; + config->fsg.luns[1].removable = 0; name[1] = "lun0"; } @@ -1825,29 +1825,8 @@ static DEVICE_ATTR(inquiry_string, S_IRUGO | S_IWUSR, mass_storage_inquiry_show, mass_storage_inquiry_store); - -//[yanghuaying start] export whether mass storage is connect to pc -static int in_suspend_mode = 0; -static ssize_t mass_storage_connect2pc_show(struct device *dev, - struct device_attribute *attr, char *buf) -{ - struct android_usb_function *f = dev_get_drvdata(dev); - struct mass_storage_function_config *config = f->config; - int available = 0; - if(config->common->new_fsg != NULL && !in_suspend_mode) - available = 1; - pr_info("in_suspend_mode = %d\n", in_suspend_mode); - return snprintf(buf, PAGE_SIZE, "%d\n", available); -} - -static DEVICE_ATTR(connect2pc, 0444, - mass_storage_connect2pc_show, - NULL); -//[yanghuaying end] - static struct device_attribute *mass_storage_function_attributes[] = { &dev_attr_inquiry_string, - &dev_attr_connect2pc, NULL }; @@ -2693,11 +2672,6 @@ android_setup(struct usb_gadget *gadget, const struct usb_ctrlrequest *c) if (value < 0) value = composite_setup(gadget, c); - /*[yanghuaying] when device discnnect from pc, it will first receive a - suspend event,but when reconnect to pc,may not receive corresponding - resume event(may just receive a connect event), now reinit in_suspend_mode*/ - in_suspend_mode = 0; - spin_lock_irqsave(&cdev->lock, flags); if (!dev->connected) { dev->connected = 1; @@ -2736,11 +2710,6 @@ static void android_suspend(struct usb_gadget *gadget) struct android_dev *dev = cdev_to_android_dev(cdev); unsigned long flags; - /*[yanghuaying] when device connect to pc by hub, afetr hub disconnect - from pc,device will go into suspend mode(a suspend event,not a - disconnect event),mass storage function is unusable*/ - in_suspend_mode = 1; - spin_lock_irqsave(&cdev->lock, flags); dev->suspended = 1; schedule_work(&dev->work); @@ -2755,10 +2724,6 @@ static void android_resume(struct usb_gadget *gadget) struct android_dev *dev = cdev_to_android_dev(cdev); unsigned long flags; - /*[yanghuaying] when device connect to pc by hub, afetr hub reconnect to pc - device will leave suspend mode,mass storage function is usable again*/ - in_suspend_mode = 0; - spin_lock_irqsave(&cdev->lock, flags); dev->suspended = 0; schedule_work(&dev->work); diff --git a/kernel/drivers/usb/gadget/f_mass_storage.c b/kernel/drivers/usb/gadget/f_mass_storage.c index c94b8de3d..2f3531510 100644 --- a/kernel/drivers/usb/gadget/f_mass_storage.c +++ b/kernel/drivers/usb/gadget/f_mass_storage.c @@ -3004,11 +3004,6 @@ buffhds_first_it: i = 0x0399; } } - /* [ouyangyi] Change mass storage device's name to "TP-LINK MMC Storage USB Device" */ - #if 1 - snprintf(common->inquiry_string, sizeof common->inquiry_string, - "TP-LINK MMC Storage"); - #else snprintf(common->inquiry_string, sizeof common->inquiry_string, "%-8s%-16s%04x", cfg->vendor_name ?: "Linux", /* Assume product name dependent on the first LUN */ @@ -3016,7 +3011,6 @@ buffhds_first_it: ? "File-Stor Gadget" : "File-CD Gadget"), i); - #endif /* * Some peripheral controllers are known not to be able to diff --git a/kernel/drivers/usb/gadget/f_qc_ecm.c b/kernel/drivers/usb/gadget/f_qc_ecm.c index e93425be3..274edb098 100644 --- a/kernel/drivers/usb/gadget/f_qc_ecm.c +++ b/kernel/drivers/usb/gadget/f_qc_ecm.c @@ -663,9 +663,7 @@ static void ecm_qc_suspend(struct usb_function *f) { struct f_ecm_qc *ecm = func_to_ecm_qc(f); - //[yanghuaying] fix reconnect fail after ecm_qc disconnect from MacOS Virtual machine - //if (f->config->cdev->gadget->remote_wakeup) { - if (1) { + if (f->config->cdev->gadget->remote_wakeup) { bam_data_suspend(ECM_QC_ACTIVE_PORT); } else { /* @@ -680,7 +678,6 @@ static void ecm_qc_suspend(struct usb_function *f) ecm_qc_bam_disconnect(ecm); } - pr_info("%s remote_wakeup=%d\n",__func__,f->config->cdev->gadget->remote_wakeup); pr_debug("ecm suspended\n"); } @@ -688,9 +685,7 @@ static void ecm_qc_resume(struct usb_function *f) { struct f_ecm_qc *ecm = func_to_ecm_qc(f); - //[yanghuaying] fix reconnect fail after ecm_qc disconnect from MacOS Virtual machine - //if (f->config->cdev->gadget->remote_wakeup) { - if (1) { + if (f->config->cdev->gadget->remote_wakeup) { bam_data_resume(ECM_QC_ACTIVE_PORT); } else { /* Restore endpoint descriptors info. */ @@ -698,7 +693,7 @@ static void ecm_qc_resume(struct usb_function *f) ecm->bam_port.out->desc = ecm->out_ep_desc_backup; ecm_qc_bam_connect(ecm); } - pr_info("%s remote_wakeup=%d\n",__func__,f->config->cdev->gadget->remote_wakeup); + pr_debug("ecm resumed\n"); } diff --git a/kernel/drivers/usb/gadget/f_rndis.c b/kernel/drivers/usb/gadget/f_rndis.c index 2ed5cd681..c7248d696 100644 --- a/kernel/drivers/usb/gadget/f_rndis.c +++ b/kernel/drivers/usb/gadget/f_rndis.c @@ -126,12 +126,7 @@ static unsigned int bitrate(struct usb_gadget *g) if (gadget_is_superspeed(g) && g->speed == USB_SPEED_SUPER) return 13 * 1024 * 8 * 1000 * 8; else if (gadget_is_dualspeed(g) && g->speed == USB_SPEED_HIGH) - /* [ouyangyi] change rndis' peak rate from 425.9Mbps to 150Mbps */ - #if 1 - return 150 * 1000 * 1000; - #else return 13 * 512 * 8 * 1000 * 8; - #endif else return 19 * 64 * 1 * 1000 * 8; } diff --git a/kernel/drivers/usb/gadget/u_rmnet_ctrl_qti.c b/kernel/drivers/usb/gadget/u_rmnet_ctrl_qti.c index 33a99e371..98d453d51 100644 --- a/kernel/drivers/usb/gadget/u_rmnet_ctrl_qti.c +++ b/kernel/drivers/usb/gadget/u_rmnet_ctrl_qti.c @@ -118,8 +118,8 @@ static int grmnet_ctrl_qti_send_cpkt_tomodem(u8 portno, /* drop cpkt if port is not open */ if (!port->is_open) { -// pr_err("rmnet file handler %p(index=%d) is not open", -// port, port->index); + pr_err("rmnet file handler %p(index=%d) is not open", + port, port->index); spin_unlock_irqrestore(&port->lock, flags); free_rmnet_ctrl_pkt(cpkt); return 0; diff --git a/kernel/drivers/usb/host/ehci-msm-hsic.c b/kernel/drivers/usb/host/ehci-msm-hsic.c index bafed0c72..4c1867aaf 100644 --- a/kernel/drivers/usb/host/ehci-msm-hsic.c +++ b/kernel/drivers/usb/host/ehci-msm-hsic.c @@ -1,6 +1,6 @@ /* ehci-msm-hsic.c - HSUSB Host Controller Driver Implementation * - * Copyright (c) 2011-2014, The Linux Foundation. All rights reserved. + * Copyright (c) 2011-2013, The Linux Foundation. All rights reserved. * * Partly derived from ehci-fsl.c and ehci-hcd.c * Copyright (c) 2000-2004 by David Brownell @@ -53,7 +53,7 @@ #define MSM_USB_BASE (hcd->regs) #define USB_REG_START_OFFSET 0x90 -#define USB_REG_END_OFFSET 0x324 +#define USB_REG_END_OFFSET 0x250 static struct workqueue_struct *ehci_wq; struct ehci_timer { @@ -127,9 +127,6 @@ module_param(ep_addr_rxdbg_mask, uint, S_IRUGO | S_IWUSR); static unsigned int ep_addr_txdbg_mask = 9; module_param(ep_addr_txdbg_mask, uint, S_IRUGO | S_IWUSR); -static unsigned int dbg_qh_addr; -module_param(dbg_qh_addr, uint, S_IRUGO | S_IWUSR); - /* Maximum debug message length */ #define DBG_MSG_LEN 128UL @@ -321,44 +318,6 @@ static inline struct usb_hcd *hsic_to_hcd(struct msm_hsic_hcd *mehci) return container_of((void *) mehci, struct usb_hcd, hcd_priv); } -static void dbg_msm_qh(struct ehci_hcd *ehci, struct ehci_qh *qh) -{ - struct ehci_qh_hw *hw = qh->hw; - - pr_info("EP:%x qh %p info %x %x c_qtd-%08x\n", - (hw->hw_info1 & 0xF00) >> 8, qh, hw->hw_info1, - hw->hw_info2, hw->hw_current); - pr_info("overlay n%08x %08x t-%08x nak-%x c_err %x\n", - hw->hw_qtd_next, hw->hw_alt_next, - hw->hw_token, - (hw->hw_alt_next & 0xE)>>1, (hw->hw_token & 0xC00) >> 10); -} - -static void dump_msm_qhs(struct usb_hcd *hcd) -{ - struct ehci_hcd *ehci = hcd_to_ehci(hcd); - struct ehci_qh *qh, *qh_next; - unsigned long flags; - int i; - - for (i = 0; i < 5; i++) { - pr_info("Dump QHs, iteration:%d\n", i); - spin_lock_irqsave(&ehci->lock, flags); - qh_next = ehci->async->qh_next.qh; - while (qh_next) { - qh = qh_next; - qh_next = qh->qh_next.qh; - - if (!dbg_qh_addr || - ((struct ehci_qh *)dbg_qh_addr) == qh) - dbg_msm_qh(ehci, qh); - } - spin_unlock_irqrestore(&ehci->lock, flags); - usleep_range(5000, 10000); - } -} - - static void dump_hsic_regs(struct usb_hcd *hcd) { int i; @@ -979,14 +938,6 @@ static int msm_hsic_resume(struct msm_hsic_hcd *mehci) skip_phy_resume: - /* Check HSIC host pipe state before resume. Pipe should be empty. */ - if (pdata->consider_ipa_handshake) { - if (!msm_bam_hsic_host_pipe_empty()) { - dev_err(mehci->dev, "Data pending without resumed.\n"); - BUG_ON(1); - } - } - usb_hcd_resume_root_hub(hcd); atomic_set(&mehci->in_lpm, 0); @@ -1840,27 +1791,6 @@ const struct file_operations ehci_hsic_msm_dbg_ctrl_fops = { .release = single_release, }; -static int ehci_hsic_msm_qh_show(struct seq_file *s, void *unused) -{ - struct msm_hsic_hcd *mehci = s->private; - - dump_msm_qhs(hsic_to_hcd(mehci)); - - return 0; -} - -static int ehci_hsic_msm_qh_open(struct inode *inode, struct file *f) -{ - return single_open(f, ehci_hsic_msm_qh_show, inode->i_private); -} - -const struct file_operations ehci_hsic_msm_qh_fops = { - .open = ehci_hsic_msm_qh_open, - .read = seq_read, - .llseek = seq_lseek, - .release = single_release, -}; - static struct dentry *ehci_hsic_msm_dbg_root; static int ehci_hsic_msm_debugfs_init(struct msm_hsic_hcd *mehci) { @@ -1911,16 +1841,6 @@ static int ehci_hsic_msm_debugfs_init(struct msm_hsic_hcd *mehci) return -ENODEV; } - ehci_hsic_msm_dentry = debugfs_create_file("show_hsic_qh", - S_IRUGO, - ehci_hsic_msm_dbg_root, mehci, - &ehci_hsic_msm_qh_fops); - - if (!ehci_hsic_msm_dentry) { - debugfs_remove_recursive(ehci_hsic_msm_dbg_root); - return -ENODEV; - } - return 0; } @@ -2232,10 +2152,8 @@ static int __devinit ehci_hsic_msm_probe(struct platform_device *pdev) if (pdev->dev.parent) pm_runtime_put_sync(pdev->dev.parent); - if (mehci->enable_hbm) { + if (mehci->enable_hbm) hbm_init(hcd, pdata->disable_park_mode); - msm_bam_hsic_reset(); - } if (pdata && pdata->consider_ipa_handshake) msm_bam_set_hsic_host_dev(&pdev->dev); diff --git a/kernel/drivers/usb/host/hbm.c b/kernel/drivers/usb/host/hbm.c index 89621acc2..d34301df6 100644 --- a/kernel/drivers/usb/host/hbm.c +++ b/kernel/drivers/usb/host/hbm.c @@ -1,4 +1,4 @@ -/* Copyright (c) 2013-2014, The Linux Foundation. All rights reserved. +/* Copyright (c) 2013, 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 @@ -165,16 +165,6 @@ int hbm_pipe_init(u32 QH_addr, u32 pipe_num, bool is_consumer) return -EINVAL; } - /* Disable HBM pipe */ - hbm_msm_write_reg_field(hbm_ctx->base, USB_OTG_HS_HBM_PIPE_EN, - 1 << pipe_num, 0); - - /* Reset HBM SideBand */ - hbm_msm_write_reg_field(hbm_ctx->base, USB_OTG_HS_HBM_SB_SW_RST, - 1 << pipe_num, 1); - hbm_msm_write_reg_field(hbm_ctx->base, USB_OTG_HS_HBM_SB_SW_RST, - 1 << pipe_num, 0); - /* map QH(ep) <> pipe */ hbm_msm_write_reg(hbm_ctx->base, USB_OTG_HS_HBM_QH_MAP_PIPE(pipe_num), QH_addr); @@ -230,11 +220,10 @@ static int hbm_submit_async(struct ehci_hcd *ehci, struct urb *urb, { int epnum; unsigned long flags; - struct ehci_qh *qh = (struct ehci_qh *) urb->ep->hcpriv; + struct ehci_qh *qh = NULL; int rc; struct usb_host_bam_type *bam = (struct usb_host_bam_type *)urb->priv_data; - int cmd; epnum = urb->ep->desc.bEndpointAddress; @@ -247,9 +236,6 @@ static int hbm_submit_async(struct ehci_hcd *ehci, struct urb *urb, if (unlikely(rc)) goto done; - if (qh != NULL) - pr_debug("%s: QH NOT NULL (%p)\n", __func__, qh); - qh = qh_append_tds(ehci, urb, qtd_list, epnum, &urb->ep->hcpriv); if (unlikely(qh == NULL)) { usb_hcd_unlink_urb_from_ep(ehci_to_hcd(ehci), urb); @@ -257,38 +243,15 @@ static int hbm_submit_async(struct ehci_hcd *ehci, struct urb *urb, goto done; } - /* Stop Async Scheduler */ - cmd = ehci_readl(ehci, &ehci->regs->command); - if (ehci->rh_state != EHCI_RH_HALTED && !ehci->reclaim) { - ehci_writel(ehci, cmd & ~CMD_ASE, &ehci->regs->command); - wmb(); - } - hbm_pipe_init(qh->qh_dma, bam->pipe_num, bam->dir); - if (likely(qh->qh_state == QH_STATE_IDLE)) { - pr_debug("%s: QH was IDLE (%p)\n", __func__, qh); + if (likely(qh->qh_state == QH_STATE_IDLE)) qh_link_async(ehci, qh); - } - - /* Start Async Scheduler */ - cmd = ehci_readl(ehci, &ehci->regs->command); - if (!(cmd & CMD_ASE)) { - /* in case a clear of CMD_ASE didn't take yet */ - (void)handshake(ehci, &ehci->regs->status, STS_ASS, 0, 150); - cmd |= CMD_ASE; - ehci_writel(ehci, cmd, &ehci->regs->command); - } done: spin_unlock_irqrestore(&ehci->lock, flags); - - pr_debug("QH:%p urb:%p <--> pipe:%u ep:%d(out:%u)\n", - urb->ep->hcpriv, urb, bam->pipe_num, epnum, bam->dir); - if (unlikely(qh == NULL)) qtd_list_free(ehci, urb, qtd_list); - return rc; } diff --git a/kernel/drivers/usb/otg/msm_otg.c b/kernel/drivers/usb/otg/msm_otg.c old mode 100755 new mode 100644 index 190cd6f9b..49970bbde --- a/kernel/drivers/usb/otg/msm_otg.c +++ b/kernel/drivers/usb/otg/msm_otg.c @@ -1327,14 +1327,13 @@ static int msm_otg_notify_power_supply(struct msm_otg *motg, unsigned mA) goto psy_error; } - /* [chenchao] Fix reboot when pc reboot */ if (motg->cur_power == 0 && mA > 2) { /* Enable charging */ if (power_supply_set_online(psy, true)) goto psy_error; if (power_supply_set_current_limit(psy, 1000*mA)) goto psy_error; - } else if (motg->cur_power > 0 && (mA == 0)) { + } else if (motg->cur_power > 0 && (mA == 0 || mA == 2)) { /* Disable charging */ if (power_supply_set_online(psy, false)) goto psy_error; @@ -2318,7 +2317,6 @@ static void msm_chg_detect_work(struct work_struct *w) bool is_dcd = false, tmout, vout, is_aca; u32 line_state, dm_vlgc; unsigned long delay; - static bool det_time_out = false; dev_dbg(phy->dev, "chg detection work\n"); @@ -2360,11 +2358,6 @@ static void msm_chg_detect_work(struct work_struct *w) is_dcd = msm_chg_check_dcd(motg); motg->dcd_time += MSM_CHG_DCD_POLL_TIME; tmout = motg->dcd_time >= MSM_CHG_DCD_TIMEOUT; - - if (tmout) { - det_time_out = true; - } - if (is_dcd || tmout) { msm_chg_disable_dcd(motg); msm_chg_enable_primary_det(motg); @@ -2402,17 +2395,11 @@ static void msm_chg_detect_work(struct work_struct *w) break; } - if (line_state) { /* DP > VLGC or/and DM > VLGC */ + if (line_state) /* DP > VLGC or/and DM > VLGC */ motg->chg_type = USB_PROPRIETARY_CHARGER; - } else { + else motg->chg_type = USB_SDP_CHARGER; - if (det_time_out) { - det_time_out = false; - motg->chg_type = USB_DCP_CHARGER; - } - } - motg->chg_state = USB_CHG_STATE_DETECTED; delay = 0; } @@ -2583,9 +2570,8 @@ static void msm_otg_sm_work(struct work_struct *w) case USB_PROPRIETARY_CHARGER: msm_otg_notify_charger(motg, IDEV_CHG_MAX); - /* [chenchao] Not suspend when charge with power adapter */ - /* pm_runtime_put_noidle(otg->phy->dev); */ - /* pm_runtime_suspend(otg->phy->dev); */ + pm_runtime_put_noidle(otg->phy->dev); + pm_runtime_suspend(otg->phy->dev); break; case USB_ACA_B_CHARGER: msm_otg_notify_charger(motg, @@ -2610,9 +2596,6 @@ static void msm_otg_sm_work(struct work_struct *w) OTG_STATE_B_PERIPHERAL; break; case USB_SDP_CHARGER: - /* [chenchao] Fix always reboot when connect some notebook */ - msm_otg_notify_charger(motg, - IDEV_CHG_MIN); msm_otg_start_peripheral(otg, 1); otg->phy->state = OTG_STATE_B_PERIPHERAL; diff --git a/kernel/fs/yaffs2/yaffs_vfs.c b/kernel/fs/yaffs2/yaffs_vfs.c index bfce80612..4dd618f87 100644 --- a/kernel/fs/yaffs2/yaffs_vfs.c +++ b/kernel/fs/yaffs2/yaffs_vfs.c @@ -2525,9 +2525,7 @@ static int yaffs_proc_read(char *page, /* Print header first */ if (step == 0) - /* [jiyu] Modify DATE and TIME for lte update */ -// buf += sprintf(buf, "YAFFS built:" __DATE__ " " __TIME__ "\n"); - buf += sprintf(buf, "YAFFS built: Oct 15 2014 10:58:56\n"); + buf += sprintf(buf, "YAFFS built:" __DATE__ " " __TIME__ "\n"); else if (step == 1) buf += sprintf(buf, "\n"); else { @@ -2725,10 +2723,8 @@ static int __init init_yaffs_fs(void) int error = 0; struct file_system_to_install *fsinst; - /* [jiyu] Modify DATE and TIME for lte update */ yaffs_trace(YAFFS_TRACE_ALWAYS, -// "yaffs built " __DATE__ " " __TIME__ " Installing."); - "yaffs built Oct 15 2014 10:58:56 Installing."); + "yaffs built " __DATE__ " " __TIME__ " Installing."); #ifdef CONFIG_YAFFS_ALWAYS_CHECK_CHUNK_ERASED yaffs_trace(YAFFS_TRACE_ALWAYS, @@ -2782,10 +2778,8 @@ static void __exit exit_yaffs_fs(void) struct file_system_to_install *fsinst; - /* [jiyu] Modify DATE and TIME for lte update */ yaffs_trace(YAFFS_TRACE_ALWAYS, -// "yaffs built " __DATE__ " " __TIME__ " removing."); - "yaffs built Oct 15 2014 10:58:56 removing."); + "yaffs built " __DATE__ " " __TIME__ " removing."); remove_proc_entry("yaffs", YPROC_ROOT); diff --git a/kernel/include/linux/mtd/nand.h b/kernel/include/linux/mtd/nand.h index 72c469b6b..1482340d3 100644 --- a/kernel/include/linux/mtd/nand.h +++ b/kernel/include/linux/mtd/nand.h @@ -549,14 +549,7 @@ struct nand_chip { /* * NAND Flash Manufacturer ID Codes */ -#if 0 -#ifdef CONFIG_FLASH_TYPE_ETRON -#define NAND_MFR_ETRON 0x98 -#else #define NAND_MFR_TOSHIBA 0x98 -#endif -#endif -#define NAND_MFR_ETRON 0x98 #define NAND_MFR_SAMSUNG 0xec #define NAND_MFR_FUJITSU 0x04 #define NAND_MFR_NATIONAL 0x8f @@ -566,10 +559,6 @@ struct nand_chip { #define NAND_MFR_MICRON 0x2c #define NAND_MFR_AMD 0x01 #define NAND_MFR_MACRONIX 0xc2 -#define NAND_MFR_ESMT 0xc8 - -#define ETRON_2G1G_MANID 0x98 -#define ETRON_2G1G_DEVID 0xaa /** * struct nand_flash_dev - NAND Flash Device ID Structure diff --git a/kernel/include/linux/power_supply.h b/kernel/include/linux/power_supply.h old mode 100755 new mode 100644 index 23f57a752..1de9aaa3c --- a/kernel/include/linux/power_supply.h +++ b/kernel/include/linux/power_supply.h @@ -55,7 +55,6 @@ enum { POWER_SUPPLY_HEALTH_OVERVOLTAGE, POWER_SUPPLY_HEALTH_UNSPEC_FAILURE, POWER_SUPPLY_HEALTH_COLD, - POWER_SUPPLY_HEALTH_DEAD_OVERCOLD, }; enum { @@ -129,10 +128,6 @@ enum power_supply_property { POWER_SUPPLY_PROP_SCOPE, POWER_SUPPLY_PROP_SYSTEM_TEMP_LEVEL, POWER_SUPPLY_PROP_RESISTANCE, - POWER_SUPPLY_PROP_CHG_OK, /* [linyunfeng] Charge ok gpio level */ -#ifdef CONFIG_POWER_BANK_DETECT_SUPPORT - POWER_SUPPLY_PROP_VOLTAGE_DROP, -#endif /* Properties of type `const char *' */ POWER_SUPPLY_PROP_MODEL_NAME, POWER_SUPPLY_PROP_MANUFACTURER, diff --git a/kernel/include/linux/printk.h b/kernel/include/linux/printk.h index bd3cd4aab..0525927f2 100644 --- a/kernel/include/linux/printk.h +++ b/kernel/include/linux/printk.h @@ -95,19 +95,8 @@ extern int printk_needs_cpu(int cpu); extern void printk_tick(void); #ifdef CONFIG_PRINTK -asmlinkage __printf(5, 0) -int vprintk_emit(int facility, int level, - const char *dict, size_t dictlen, - const char *fmt, va_list args); - asmlinkage __printf(1, 0) int vprintk(const char *fmt, va_list args); - -asmlinkage __printf(5, 6) __cold -asmlinkage int printk_emit(int facility, int level, - const char *dict, size_t dictlen, - const char *fmt, ...); - asmlinkage __printf(1, 2) __cold int printk(const char *fmt, ...); @@ -300,8 +289,6 @@ extern void dump_stack(void) __cold; no_printk(KERN_DEBUG pr_fmt(fmt), ##__VA_ARGS__) #endif -extern const struct file_operations kmsg_fops; - enum { DUMP_PREFIX_NONE, DUMP_PREFIX_ADDRESS, @@ -329,12 +316,4 @@ static inline void print_hex_dump_bytes(const char *prefix_str, int prefix_type, #endif -#if defined(CONFIG_OOPS_LOG_BUFFER) -extern void oops_printk_start(void); -#else -static inline void oops_printk_start(void) -{ -} -#endif - #endif diff --git a/kernel/include/linux/usb/msm_hsusb.h b/kernel/include/linux/usb/msm_hsusb.h old mode 100755 new mode 100644 index 70fce4e33..47c0ddab3 --- a/kernel/include/linux/usb/msm_hsusb.h +++ b/kernel/include/linux/usb/msm_hsusb.h @@ -2,7 +2,7 @@ * * Copyright (C) 2008 Google, Inc. * Author: Brian Swetland - * Copyright (c) 2009-2014, The Linux Foundation. All rights reserved. + * Copyright (c) 2009-2013, The Linux Foundation. All rights reserved. * * This software is licensed under the terms of the GNU General Public * License version 2, as published by the Free Software Foundation, and @@ -87,11 +87,11 @@ enum msm_usb_phy_type { SNPS_28NM_INTEGRATED_PHY, }; -#define IDEV_CHG_MAX 1000 +#define IDEV_CHG_MAX 1500 #define IDEV_CHG_MIN 500 #define IUNIT 100 -#define IDEV_ACA_CHG_MAX 1000 +#define IDEV_ACA_CHG_MAX 1500 #define IDEV_ACA_CHG_LIMIT 500 /** @@ -531,8 +531,6 @@ void msm_bam_set_hsic_host_dev(struct device *dev); void msm_bam_wait_for_hsic_prod_granted(void); bool msm_bam_hsic_lpm_ok(void); void msm_bam_hsic_notify_on_resume(void); -bool msm_bam_hsic_host_pipe_empty(void); -void msm_bam_hsic_reset(void); #else static inline bool msm_bam_lpm_ok(void) { return true; } static inline void msm_bam_notify_lpm_resume(void) {} @@ -540,8 +538,6 @@ static inline void msm_bam_set_hsic_host_dev(struct device *dev) {} static inline void msm_bam_wait_for_hsic_prod_granted(void) {} static inline bool msm_bam_hsic_lpm_ok(void) { return true; } static inline void msm_bam_hsic_notify_on_resume(void) {} -static inline bool msm_bam_hsic_host_pipe_empty(void) { return true; } -static inline void msm_bam_hsic_reset(void) {} #endif #ifdef CONFIG_USB_CI13XXX_MSM void msm_hw_bam_disable(bool bam_disable); diff --git a/kernel/kernel/panic.c b/kernel/kernel/panic.c index bffebc6ab..4716d16a0 100644 --- a/kernel/kernel/panic.c +++ b/kernel/kernel/panic.c @@ -369,7 +369,6 @@ void oops_enter(void) tracing_off(); /* can't trust the integrity of the kernel anymore: */ debug_locks_off(); - oops_printk_start(); do_oops_enter_exit(); } diff --git a/kernel/kernel/printk.c b/kernel/kernel/printk.c index 94089af37..7f51b039e 100644 --- a/kernel/kernel/printk.c +++ b/kernel/kernel/printk.c @@ -41,7 +41,6 @@ #include #include #include -#include #include @@ -56,6 +55,8 @@ void asmlinkage __attribute__((weak)) early_printk(const char *fmt, ...) { } +#define __LOG_BUF_LEN (1 << CONFIG_LOG_BUF_SHIFT) + /* printk's without a loglevel use this.. */ #define DEFAULT_MESSAGE_LOGLEVEL CONFIG_DEFAULT_MESSAGE_LOGLEVEL @@ -98,6 +99,24 @@ EXPORT_SYMBOL_GPL(console_drivers); */ static int console_locked, console_suspended; +/* + * logbuf_lock protects log_buf, log_start, log_end, con_start and logged_chars + * It is also used in interesting ways to provide interlocking in + * console_unlock();. + */ +static DEFINE_RAW_SPINLOCK(logbuf_lock); + +#define LOG_BUF_MASK (log_buf_len-1) +#define LOG_BUF(idx) (log_buf[(idx) & LOG_BUF_MASK]) + +/* + * The indices into log_buf are not constrained to log_buf_len - they + * must be masked before subscripting + */ +static unsigned log_start; /* Index into log_buf: next char to be read by syslog() */ +static unsigned con_start; /* Index into log_buf: next char to be sent to consoles */ +static unsigned log_end; /* Index into log_buf: most-recently-written-char + 1 */ + /* * If exclusive_console is non-NULL then only this console is to be printed to. */ @@ -127,627 +146,13 @@ EXPORT_SYMBOL(console_set_on_cmdline); /* Flag: console code may call schedule() */ static int console_may_schedule; -/* - * The printk log buffer consists of a chain of concatenated variable - * length records. Every record starts with a record header, containing - * the overall length of the record. - * - * The heads to the first and last entry in the buffer, as well as the - * sequence numbers of these both entries are maintained when messages - * are stored.. - * - * If the heads indicate available messages, the length in the header - * tells the start next message. A length == 0 for the next message - * indicates a wrap-around to the beginning of the buffer. - * - * Every record carries the monotonic timestamp in microseconds, as well as - * the standard userspace syslog level and syslog facility. The usual - * kernel messages use LOG_KERN; userspace-injected messages always carry - * a matching syslog facility, by default LOG_USER. The origin of every - * message can be reliably determined that way. - * - * The human readable log message directly follows the message header. The - * length of the message text is stored in the header, the stored message - * is not terminated. - * - * Optionally, a message can carry a dictionary of properties (key/value pairs), - * to provide userspace with a machine-readable message context. - * - * Examples for well-defined, commonly used property names are: - * DEVICE=b12:8 device identifier - * b12:8 block dev_t - * c127:3 char dev_t - * n8 netdev ifindex - * +sound:card0 subsystem:devname - * SUBSYSTEM=pci driver-core subsystem name - * - * Valid characters in property names are [a-zA-Z0-9.-_]. The plain text value - * follows directly after a '=' character. Every property is terminated by - * a '\0' character. The last property is not terminated. - * - * Example of a message structure: - * 0000 ff 8f 00 00 00 00 00 00 monotonic time in nsec - * 0008 34 00 record is 52 bytes long - * 000a 0b 00 text is 11 bytes long - * 000c 1f 00 dictionary is 23 bytes long - * 000e 03 00 LOG_KERN (facility) LOG_ERR (level) - * 0010 69 74 27 73 20 61 20 6c "it's a l" - * 69 6e 65 "ine" - * 001b 44 45 56 49 43 "DEVIC" - * 45 3d 62 38 3a 32 00 44 "E=b8:2\0D" - * 52 49 56 45 52 3d 62 75 "RIVER=bu" - * 67 "g" - * 0032 00 00 00 padding to next message header - * - * The 'struct log' buffer header must never be directly exported to - * userspace, it is a kernel-private implementation detail that might - * need to be changed in the future, when the requirements change. - * - * /dev/kmsg exports the structured data in the following line format: - * "level,sequnum,timestamp;\n" - * - * The optional key/value pairs are attached as continuation lines starting - * with a space character and terminated by a newline. All possible - * non-prinatable characters are escaped in the "\xff" notation. - * - * Users of the export format should ignore possible additional values - * separated by ',', and find the message after the ';' character. - */ - -struct log { - u64 ts_nsec; /* timestamp in nanoseconds */ - u16 len; /* length of entire record */ - u16 text_len; /* length of text buffer */ - u16 dict_len; /* length of dictionary buffer */ - u16 level; /* syslog level + facility */ -}; - -/* - * The logbuf_lock protects kmsg buffer, indices, counters. It is also - * used in interesting ways to provide interlocking in console_unlock(); - */ -static DEFINE_RAW_SPINLOCK(logbuf_lock); - -/* the next printk record to read by syslog(READ) or /proc/kmsg */ -static u64 syslog_seq; -static u32 syslog_idx; -static size_t syslog_partial; - -/* index and sequence number of the first record stored in the buffer */ -static u64 log_first_seq; -static u32 log_first_idx; - -/* index and sequence number of the next record to store in the buffer */ -static u64 log_next_seq; #ifdef CONFIG_PRINTK -static u32 log_next_idx; -/* the next printk record to read after the last 'clear' command */ -static u64 clear_seq; -static u32 clear_idx; - -#define LOG_LINE_MAX 1024 - -/* record buffer */ -#if !defined(CONFIG_64BIT) || defined(CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS) -#define LOG_ALIGN 4 -#else -#define LOG_ALIGN 8 -#endif -#define __LOG_BUF_LEN (1 << CONFIG_LOG_BUF_SHIFT) -static char __log_buf[__LOG_BUF_LEN] __aligned(LOG_ALIGN); +static char __log_buf[__LOG_BUF_LEN]; static char *log_buf = __log_buf; -static u32 log_buf_len = __LOG_BUF_LEN; - -#if defined(CONFIG_OOPS_LOG_BUFFER) -#define __OOPS_LOG_BUF_LEN (1 << CONFIG_OOPS_LOG_BUF_SHIFT) -static char __log_oops_buf[__OOPS_LOG_BUF_LEN] __aligned(LOG_ALIGN); -static char *log_oops_buf = __log_oops_buf; -static u32 log_oops_buf_len = __OOPS_LOG_BUF_LEN; - -static int log_oops_full; -/* if this sequence of log entry starts to wrap arounds, move to oops buffer */ -static u64 log_oops_first_seq = ULLONG_MAX; -static u64 log_oops_last_seq; -static u32 log_oops_next_idx; - -static u32 syslog_oops_buf_idx; - -static const char log_oops_end[] = "---end of oops log buffer---"; -#endif - -/* cpu currently holding logbuf_lock */ -static volatile unsigned int logbuf_cpu = UINT_MAX; - -/* human readable text of the record */ -static char *log_text(const struct log *msg) -{ - return (char *)msg + sizeof(struct log); -} - -/* optional key/value pair dictionary attached to the record */ -static char *log_dict(const struct log *msg) -{ - return (char *)msg + sizeof(struct log) + msg->text_len; -} - -/* get record by index; idx must point to valid msg */ -static struct log *log_from_idx(u32 idx, bool logbuf) -{ - struct log *msg; - char *buf; - -#if defined(CONFIG_OOPS_LOG_BUFFER) - buf = logbuf ? log_buf : log_oops_buf; -#else - buf = log_buf; - BUG_ON(!logbuf); -#endif - msg = (struct log *)(buf + idx); - - /* - * A length == 0 record is the end of buffer marker. Wrap around and - * read the message at the start of the buffer. - */ - if (!msg->len) - return (struct log *)buf; - return msg; -} - -/* get next record; idx must point to valid msg */ -static u32 log_next(u32 idx, bool logbuf) -{ - struct log *msg; - char *buf; - -#if defined(CONFIG_OOPS_LOG_BUFFER) - buf = logbuf ? log_buf : log_oops_buf; -#else - buf = log_buf; - BUG_ON(!logbuf); -#endif - msg = (struct log *)(buf + idx); - - /* length == 0 indicates the end of the buffer; wrap */ - /* - * A length == 0 record is the end of buffer marker. Wrap around and - * read the message at the start of the buffer as *this* one, and - * return the one after that. - */ - if (!msg->len) { - msg = (struct log *)buf; - return msg->len; - } - return idx + msg->len; -} - -#if defined(CONFIG_OOPS_LOG_BUFFER) -void oops_printk_start(void) -{ - raw_spin_lock_irq(&logbuf_lock); - if (log_oops_first_seq == ULLONG_MAX) - log_oops_first_seq = log_next_seq; - raw_spin_unlock_irq(&logbuf_lock); -} - -static void log_oops_store(struct log *msg) -{ - u32 free; - const int eom_len = strlen(log_oops_end); - const size_t eom_size = sizeof(struct log) + eom_len; - char buf[eom_size + LOG_ALIGN]; - u32 pad_len; - u64 ts_nsec; - int eom = 0; - - if (log_first_seq >= log_oops_first_seq && !log_oops_full) { - free = log_oops_buf_len - log_oops_next_idx; - pad_len = (-eom_size) & (LOG_ALIGN - 1); - if ((free - msg->len) < (eom_size + pad_len)) { - ts_nsec = msg->ts_nsec; - msg = (struct log *)buf; - memcpy(log_text(msg), log_oops_end, eom_len); - msg->len = eom_size + pad_len; - msg->text_len = eom_len; - msg->dict_len = 0; - msg->level = default_message_loglevel & 7; - msg->ts_nsec = ts_nsec; - eom = 1; - } - - if (free >= msg->len) { - memcpy(log_oops_buf + log_oops_next_idx, msg, msg->len); - log_oops_next_idx += msg->len; - log_oops_last_seq = log_first_seq; - if (eom) - log_oops_full = 1; - } else { - log_oops_full = 1; - } - } -} -#else -static void log_oops_store(struct log *msg) -{ -} -#endif - -/* insert record into the buffer, discard old ones, update heads */ -static void log_store(int facility, int level, - const char *dict, u16 dict_len, - const char *text, u16 text_len) -{ - struct log *msg; - u32 size, pad_len; - - /* number of '\0' padding bytes to next message */ - size = sizeof(struct log) + text_len + dict_len; - pad_len = (-size) & (LOG_ALIGN - 1); - size += pad_len; - - while (log_first_seq < log_next_seq) { - u32 free; - - if (log_next_idx > log_first_idx) - free = max(log_buf_len - log_next_idx, log_first_idx); - else - free = log_first_idx - log_next_idx; - - if (free > size + sizeof(struct log)) - break; - - msg = (struct log *)(log_buf + log_first_idx); - log_oops_store(msg); - - /* drop old messages until we have enough contiuous space */ - log_first_idx = log_next(log_first_idx, true); - log_first_seq++; - } - - if (log_next_idx + size + sizeof(struct log) >= log_buf_len) { - /* - * This message + an additional empty header does not fit - * at the end of the buffer. Add an empty header with len == 0 - * to signify a wrap around. - */ - memset(log_buf + log_next_idx, 0, sizeof(struct log)); - log_next_idx = 0; - } - - /* fill message */ - msg = (struct log *)(log_buf + log_next_idx); - memcpy(log_text(msg), text, text_len); - msg->text_len = text_len; - memcpy(log_dict(msg), dict, dict_len); - msg->dict_len = dict_len; - msg->level = (facility << 3) | (level & 7); - msg->ts_nsec = local_clock(); - memset(log_dict(msg) + dict_len, 0, pad_len); - msg->len = sizeof(struct log) + text_len + dict_len + pad_len; - - /* insert message */ - log_next_idx += msg->len; - log_next_seq++; -} - -/* /dev/kmsg - userspace message inject/listen interface */ -struct devkmsg_user { - u64 seq; - u32 idx; - struct mutex lock; - char buf[8192]; -}; - -static ssize_t devkmsg_writev(struct kiocb *iocb, const struct iovec *iv, - unsigned long count, loff_t pos) -{ - char *buf, *line; - int i; - int level = default_message_loglevel; - int facility = 1; /* LOG_USER */ - size_t len = iov_length(iv, count); - ssize_t ret = len; - - if (len > LOG_LINE_MAX) - return -EINVAL; - buf = kmalloc(len+1, GFP_KERNEL); - if (buf == NULL) - return -ENOMEM; - - line = buf; - for (i = 0; i < count; i++) { - if (copy_from_user(line, iv[i].iov_base, iv[i].iov_len)) - goto out; - line += iv[i].iov_len; - } - - /* - * Extract and skip the syslog prefix <[0-9]*>. Coming from userspace - * the decimal value represents 32bit, the lower 3 bit are the log - * level, the rest are the log facility. - * - * If no prefix or no userspace facility is specified, we - * enforce LOG_USER, to be able to reliably distinguish - * kernel-generated messages from userspace-injected ones. - */ - line = buf; - if (line[0] == '<') { - char *endp = NULL; - - i = simple_strtoul(line+1, &endp, 10); - if (endp && endp[0] == '>') { - level = i & 7; - if (i >> 3) - facility = i >> 3; - endp++; - len -= endp - line; - line = endp; - } - } - line[len] = '\0'; - - printk_emit(facility, level, NULL, 0, "%s", line); -out: - kfree(buf); - return ret; -} - -#if defined(CONFIG_OOPS_LOG_BUFFER) -static bool devkmsg_seq_passed(struct devkmsg_user *user) -{ - if ((log_oops_first_seq == ULLONG_MAX && user->seq < log_first_seq) || - (log_oops_first_seq != ULLONG_MAX && - user->seq < log_oops_first_seq)) - return true; - else - return false; -} -#else -static bool devkmsg_seq_passed(struct devkmsg_user *user) -{ - return user->seq < log_first_seq; -} -#endif - -static ssize_t devkmsg_read(struct file *file, char __user *buf, - size_t count, loff_t *ppos) -{ - struct devkmsg_user *user = file->private_data; - struct log *msg; - u64 ts_usec; - size_t i; - size_t len; - ssize_t ret; - bool regular_buf = true; - - if (!user) - return -EBADF; - - ret = mutex_lock_interruptible(&user->lock); - if (ret) - return ret; - raw_spin_lock_irq(&logbuf_lock); - while (user->seq == log_next_seq) { - if (file->f_flags & O_NONBLOCK) { - ret = -EAGAIN; - raw_spin_unlock_irq(&logbuf_lock); - goto out; - } - - raw_spin_unlock_irq(&logbuf_lock); - ret = wait_event_interruptible(log_wait, - user->seq != log_next_seq); - if (ret) - goto out; - raw_spin_lock_irq(&logbuf_lock); - } - - if (devkmsg_seq_passed(user)) { - /* our last seen message is gone, return error and reset */ - user->idx = log_first_idx; - user->seq = log_first_seq; - ret = -EPIPE; - raw_spin_unlock_irq(&logbuf_lock); - goto out; - } -#if defined(CONFIG_OOPS_LOG_BUFFER) - else if (log_oops_first_seq != ULLONG_MAX) { - if (user->seq <= log_oops_first_seq) { - user->idx = 0; - regular_buf = false; - } else if (user->seq > log_oops_first_seq && - user->seq < log_oops_last_seq) { - regular_buf = false; - } else if (user->seq < log_first_seq) { - user->idx = log_first_idx; - user->seq = log_first_seq; - } - } -#endif - - msg = log_from_idx(user->idx, regular_buf); - ts_usec = msg->ts_nsec; - do_div(ts_usec, 1000); - len = sprintf(user->buf, "%u,%llu,%llu;", - msg->level, user->seq, ts_usec); - - /* escape non-printable characters */ - for (i = 0; i < msg->text_len; i++) { - unsigned char c = log_text(msg)[i]; - - if (c < ' ' || c >= 128) - len += sprintf(user->buf + len, "\\x%02x", c); - else - user->buf[len++] = c; - } - user->buf[len++] = '\n'; - - if (msg->dict_len) { - bool line = true; - - for (i = 0; i < msg->dict_len; i++) { - unsigned char c = log_dict(msg)[i]; - - if (line) { - user->buf[len++] = ' '; - line = false; - } - - if (c == '\0') { - user->buf[len++] = '\n'; - line = true; - continue; - } - - if (c < ' ' || c >= 128) { - len += sprintf(user->buf + len, "\\x%02x", c); - continue; - } - - user->buf[len++] = c; - } - user->buf[len++] = '\n'; - } - - user->idx = log_next(user->idx, regular_buf); - user->seq++; - raw_spin_unlock_irq(&logbuf_lock); - - if (len > count) { - ret = -EINVAL; - goto out; - } - - if (copy_to_user(buf, user->buf, len)) { - ret = -EFAULT; - goto out; - } - ret = len; -out: - mutex_unlock(&user->lock); - return ret; -} - -static void devkmsg_set_first(struct devkmsg_user *user) -{ -#if defined(CONFIG_OOPS_LOG_BUFFER) - if (log_oops_first_seq != ULLONG_MAX) { - user->idx = 0; - user->seq = log_oops_first_seq; - } else -#endif - { - user->idx = log_first_idx; - user->seq = log_first_seq; - } -} - -static loff_t devkmsg_llseek(struct file *file, loff_t offset, int whence) -{ - struct devkmsg_user *user = file->private_data; - loff_t ret = 0; - - if (!user) - return -EBADF; - if (offset) - return -ESPIPE; - - raw_spin_lock_irq(&logbuf_lock); - switch (whence) { - case SEEK_SET: - /* the first record */ - devkmsg_set_first(user); - break; - case SEEK_DATA: - /* - * The first record after the last SYSLOG_ACTION_CLEAR, - * like issued by 'dmesg -c'. Reading /dev/kmsg itself - * changes no global state, and does not clear anything. - */ - user->idx = clear_idx; - user->seq = clear_seq; - break; - case SEEK_END: - /* after the last record */ - user->idx = log_next_idx; - user->seq = log_next_seq; - break; - default: - ret = -EINVAL; - } - raw_spin_unlock_irq(&logbuf_lock); - return ret; -} - -static unsigned int devkmsg_poll(struct file *file, poll_table *wait) -{ - struct devkmsg_user *user = file->private_data; - int ret = 0; - - if (!user) - return POLLERR|POLLNVAL; - - poll_wait(file, &log_wait, wait); - - raw_spin_lock_irq(&logbuf_lock); - if (user->seq < log_next_seq) { - /* return error when data has vanished underneath us */ - if (user->seq < log_first_seq) - ret = POLLIN|POLLRDNORM|POLLERR|POLLPRI; - ret = POLLIN|POLLRDNORM; - } - raw_spin_unlock_irq(&logbuf_lock); - - return ret; -} - -static int devkmsg_open(struct inode *inode, struct file *file) -{ - struct devkmsg_user *user; - int err; - - /* write-only does not need any file context */ - if ((file->f_flags & O_ACCMODE) == O_WRONLY) - return 0; - - err = security_syslog(SYSLOG_ACTION_READ_ALL); - if (err) - return err; - - user = kmalloc(sizeof(struct devkmsg_user), GFP_KERNEL); - if (!user) - return -ENOMEM; - - mutex_init(&user->lock); - - raw_spin_lock_irq(&logbuf_lock); - devkmsg_set_first(user); - raw_spin_unlock_irq(&logbuf_lock); - - file->private_data = user; - return 0; -} - -static int devkmsg_release(struct inode *inode, struct file *file) -{ - struct devkmsg_user *user = file->private_data; - - if (!user) - return 0; - - mutex_destroy(&user->lock); - kfree(user); - return 0; -} - -const struct file_operations kmsg_fops = { - .open = devkmsg_open, - .read = devkmsg_read, - .aio_write = devkmsg_writev, - .llseek = devkmsg_llseek, - .poll = devkmsg_poll, - .release = devkmsg_release, -}; +static int log_buf_len = __LOG_BUF_LEN; +static unsigned logged_chars; /* Number of chars produced since last read+clear operation */ +static int saved_console_loglevel = -1; #ifdef CONFIG_KEXEC /* @@ -761,9 +166,9 @@ const struct file_operations kmsg_fops = { void log_buf_kexec_setup(void) { VMCOREINFO_SYMBOL(log_buf); + VMCOREINFO_SYMBOL(log_end); VMCOREINFO_SYMBOL(log_buf_len); - VMCOREINFO_SYMBOL(log_first_idx); - VMCOREINFO_SYMBOL(log_next_idx); + VMCOREINFO_SYMBOL(logged_chars); } #endif @@ -787,6 +192,7 @@ early_param("log_buf_len", log_buf_len_setup); void __init setup_log_buf(int early) { unsigned long flags; + unsigned start, dest_idx, offset; char *new_log_buf; int free; @@ -814,8 +220,20 @@ void __init setup_log_buf(int early) log_buf_len = new_log_buf_len; log_buf = new_log_buf; new_log_buf_len = 0; - free = __LOG_BUF_LEN - log_next_idx; - memcpy(log_buf, __log_buf, __LOG_BUF_LEN); + free = __LOG_BUF_LEN - log_end; + + offset = start = min(con_start, log_start); + dest_idx = 0; + while (start != log_end) { + unsigned log_idx_mask = start & (__LOG_BUF_LEN - 1); + + log_buf[dest_idx] = __log_buf[log_idx_mask]; + start++; + dest_idx++; + } + log_start -= offset; + con_start -= offset; + log_end -= offset; raw_spin_unlock_irqrestore(&logbuf_lock, flags); pr_info("log_buf_len: %d\n", log_buf_len); @@ -876,6 +294,53 @@ static inline void boot_delay_msec(void) } #endif +/* + * Return the number of unread characters in the log buffer. + */ +static int log_buf_get_len(void) +{ + return logged_chars; +} + +/* + * Clears the ring-buffer + */ +void log_buf_clear(void) +{ + logged_chars = 0; +} + +/* + * Copy a range of characters from the log buffer. + */ +int log_buf_copy(char *dest, int idx, int len) +{ + int ret, max; + bool took_lock = false; + + if (!oops_in_progress) { + raw_spin_lock_irq(&logbuf_lock); + took_lock = true; + } + + max = log_buf_get_len(); + if (idx < 0 || idx >= max) { + ret = -1; + } else { + if (len > max - idx) + len = max - idx; + ret = len; + idx += (log_end - max); + while (len-- > 0) + dest[len] = LOG_BUF(idx + len); + } + + if (took_lock) + raw_spin_unlock_irq(&logbuf_lock); + + return ret; +} + #ifdef CONFIG_SECURITY_DMESG_RESTRICT int dmesg_restrict = 1; #else @@ -915,360 +380,11 @@ static int check_syslog_permissions(int type, bool from_file) return 0; } -#if defined(CONFIG_PRINTK_TIME) -static bool printk_time = 1; -#else -static bool printk_time; -#endif -module_param_named(time, printk_time, bool, S_IRUGO | S_IWUSR); - -static size_t print_prefix(const struct log *msg, bool syslog, char *buf) -{ - size_t len = 0; - - if (syslog) { - if (buf) { - len += sprintf(buf, "<%u>", msg->level); - } else { - len += 3; - if (msg->level > 9) - len++; - if (msg->level > 99) - len++; - } - } - - if (printk_time) { - if (buf) { - unsigned long long ts = msg->ts_nsec; - unsigned long rem_nsec = do_div(ts, 1000000000); - - len += sprintf(buf + len, "[%5lu.%06lu] ", - (unsigned long) ts, rem_nsec / 1000); - } else { - len += 15; - } - } - - return len; -} - -static size_t msg_print_text(const struct log *msg, bool syslog, - char *buf, size_t size) -{ - const char *text = log_text(msg); - size_t text_size = msg->text_len; - size_t len = 0; - - do { - const char *next = memchr(text, '\n', text_size); - size_t text_len; - - if (next) { - text_len = next - text; - next++; - text_size -= next - text; - } else { - text_len = text_size; - } - - if (buf) { - if (print_prefix(msg, syslog, NULL) + - text_len + 1>= size - len) - break; - - len += print_prefix(msg, syslog, buf + len); - memcpy(buf + len, text, text_len); - len += text_len; - buf[len++] = '\n'; - } else { - /* SYSLOG_ACTION_* buffer size only calculation */ - len += print_prefix(msg, syslog, NULL); - len += text_len + 1; - } - - text = next; - } while (text); - - return len; -} - -#if defined(CONFIG_OOPS_LOG_BUFFER) -static int syslog_oops_buf_print(char __user *buf, int size, char *text) -{ - struct log *msg; - size_t n; - size_t skip; - int len = 0; - - raw_spin_lock_irq(&logbuf_lock); - if (syslog_seq < log_oops_first_seq) { - syslog_seq = log_oops_first_seq; - syslog_oops_buf_idx = 0; - } - while (size > 0 && log_oops_last_seq > syslog_seq) { - skip = syslog_partial; - msg = log_from_idx(syslog_oops_buf_idx, false); - n = msg_print_text(msg, true, text, LOG_LINE_MAX); - if (n - syslog_partial <= size) { - /* message fits into buffer, move forward */ - syslog_oops_buf_idx = log_next(syslog_oops_buf_idx, - false); - syslog_seq++; - n -= syslog_partial; - syslog_partial = 0; - } else if (!len) { - /* partial read(), remember position */ - n = size; - syslog_partial += n; - } else { - n = 0; - } - if (!n) - break; - - raw_spin_unlock_irq(&logbuf_lock); - if (copy_to_user(buf, text + skip, n)) { - raw_spin_lock_irq(&logbuf_lock); - if (!len) - len = -EFAULT; - break; - } - raw_spin_lock_irq(&logbuf_lock); - - len += n; - size -= n; - buf += n; - } - raw_spin_unlock_irq(&logbuf_lock); - - return len; -} - -int syslog_print_oops_buf_all(char __user *buf, int size, bool clear, - char *text) -{ - int len = 0; - u32 idx = 0; - volatile u64 seq = clear_seq; - volatile u64 next_seq; - - if (!buf) - return len; - - raw_spin_lock_irq(&logbuf_lock); - - seq = log_oops_first_seq; - next_seq = log_oops_last_seq; - while (len >= 0 && len < size && seq < next_seq) { - struct log *msg = log_from_idx(idx, false); - int textlen; - - textlen = msg_print_text(msg, true, text, LOG_LINE_MAX); - if (textlen < 0) { - len = textlen; - break; - } - idx = log_next(idx, false); - seq++; - - raw_spin_unlock_irq(&logbuf_lock); - if (copy_to_user(buf + len, text, textlen)) - len = -EFAULT; - else - len += textlen; - raw_spin_lock_irq(&logbuf_lock); - } - - raw_spin_unlock_irq(&logbuf_lock); - - return len; -} -#else -static int syslog_oops_buf_print(char __user *buf, int size, char *text) -{ - return 0; -} - -static int syslog_print_oops_buf_all(char __user *buf, int size, bool clear, - char *text) -{ - return 0; -} -#endif - -int syslog_print(char __user *buf, int size) -{ - char *text; - struct log *msg; - int oops_buf_len; - int len = 0; - - text = kmalloc(LOG_LINE_MAX, GFP_KERNEL); - if (!text) - return -ENOMEM; - - oops_buf_len = syslog_oops_buf_print(buf, size, text); - if (oops_buf_len < 0) - return oops_buf_len; - - size -= oops_buf_len; - - while (size > 0) { - size_t n; - size_t skip; - - raw_spin_lock_irq(&logbuf_lock); - if (syslog_seq < log_first_seq) { - /* messages are gone, move to first one */ - syslog_seq = log_first_seq; - syslog_idx = log_first_idx; - syslog_partial = 0; - } - if (syslog_seq == log_next_seq) { - raw_spin_unlock_irq(&logbuf_lock); - break; - } - - skip = syslog_partial; - msg = log_from_idx(syslog_idx, true); - n = msg_print_text(msg, true, text, LOG_LINE_MAX); - if (n - syslog_partial <= size) { - /* message fits into buffer, move forward */ - syslog_idx = log_next(syslog_idx, true); - syslog_seq++; - n -= syslog_partial; - syslog_partial = 0; - } else if (!len){ - /* partial read(), remember position */ - n = size; - syslog_partial += n; - } else - n = 0; - raw_spin_unlock_irq(&logbuf_lock); - - if (!n) - break; - - if (copy_to_user(buf + oops_buf_len, text + skip, n)) { - if (!len) - len = -EFAULT; - break; - } - - len += n; - size -= n; - buf += n; - } - - kfree(text); - if (len > 0) - len += oops_buf_len; - return len; -} - -int syslog_print_all(char __user *buf, int size, bool clear) -{ - char *text; - int oops_len; - int len = 0; - - text = kmalloc(LOG_LINE_MAX, GFP_KERNEL); - if (!text) - return -ENOMEM; - - oops_len = syslog_print_oops_buf_all(buf, size, clear, text); - if (oops_len < 0) - return oops_len; - - raw_spin_lock_irq(&logbuf_lock); - if (buf) { - u64 next_seq; - u64 seq; - u32 idx; - u64 start_seq; - u32 start_idx; - - if (clear_seq < log_first_seq) { - /* messages are gone, move to first available one */ - start_seq = log_first_seq; - start_idx = log_first_idx; - } else { - start_seq = clear_seq; - start_idx = clear_idx; - } - - /* - * Find first record that fits, including all following records, - * into the user-provided buffer for this dump. - */ - seq = start_seq; - idx = start_idx; - while (seq < log_next_seq) { - struct log *msg = log_from_idx(idx, true); - - len += msg_print_text(msg, true, NULL, 0); - idx = log_next(idx, true); - seq++; - } - seq = start_seq; - idx = start_idx; - while ((len > size - oops_len) && seq < log_next_seq) { - struct log *msg = log_from_idx(idx, true); - - len -= msg_print_text(msg, true, NULL, 0); - idx = log_next(idx, true); - seq++; - } - - /* last message in this dump */ - next_seq = log_next_seq; - - len = 0; - while (len >= 0 && seq < next_seq) { - struct log *msg = log_from_idx(idx, true); - int textlen; - - textlen = msg_print_text(msg, true, text, LOG_LINE_MAX); - if (textlen < 0) { - len = textlen; - break; - } - idx = log_next(idx, true); - seq++; - - raw_spin_unlock_irq(&logbuf_lock); - if (copy_to_user(buf + len + oops_len, text, textlen)) - len = -EFAULT; - else - len += textlen; - raw_spin_lock_irq(&logbuf_lock); - - if (seq < log_first_seq) { - /* messages are gone, move to next one */ - seq = log_first_seq; - idx = log_first_idx; - } - } - } - - if (clear) { - clear_seq = log_next_seq; - clear_idx = log_next_idx; - } - raw_spin_unlock_irq(&logbuf_lock); - - kfree(text); - if (len > 0) - len += oops_len; - return len; -} - int do_syslog(int type, char __user *buf, int len, bool from_file) { - bool clear = false; - static int saved_console_loglevel = -1; - static DEFINE_MUTEX(syslog_mutex); + unsigned i, j, limit, count; + int do_clear = 0; + char c; int error; error = check_syslog_permissions(type, from_file); @@ -1295,21 +411,29 @@ int do_syslog(int type, char __user *buf, int len, bool from_file) error = -EFAULT; goto out; } - error = mutex_lock_interruptible(&syslog_mutex); + error = wait_event_interruptible(log_wait, + (log_start - log_end)); if (error) goto out; - error = wait_event_interruptible(log_wait, - syslog_seq != log_next_seq); - if (error) { - mutex_unlock(&syslog_mutex); - goto out; + i = 0; + raw_spin_lock_irq(&logbuf_lock); + while (!error && (log_start != log_end) && i < len) { + c = LOG_BUF(log_start); + log_start++; + raw_spin_unlock_irq(&logbuf_lock); + error = __put_user(c,buf); + buf++; + i++; + cond_resched(); + raw_spin_lock_irq(&logbuf_lock); } - error = syslog_print(buf, len); - mutex_unlock(&syslog_mutex); + raw_spin_unlock_irq(&logbuf_lock); + if (!error) + error = i; break; /* Read/clear last kernel messages */ case SYSLOG_ACTION_READ_CLEAR: - clear = true; + do_clear = 1; /* FALL THRU */ /* Read last kernel messages */ case SYSLOG_ACTION_READ_ALL: @@ -1323,11 +447,52 @@ int do_syslog(int type, char __user *buf, int len, bool from_file) error = -EFAULT; goto out; } - error = syslog_print_all(buf, len, clear); + count = len; + if (count > log_buf_len) + count = log_buf_len; + raw_spin_lock_irq(&logbuf_lock); + if (count > logged_chars) + count = logged_chars; + if (do_clear) + logged_chars = 0; + limit = log_end; + /* + * __put_user() could sleep, and while we sleep + * printk() could overwrite the messages + * we try to copy to user space. Therefore + * the messages are copied in reverse. + */ + for (i = 0; i < count && !error; i++) { + j = limit-1-i; + if (j + log_buf_len < log_end) + break; + c = LOG_BUF(j); + raw_spin_unlock_irq(&logbuf_lock); + error = __put_user(c,&buf[count-1-i]); + cond_resched(); + raw_spin_lock_irq(&logbuf_lock); + } + raw_spin_unlock_irq(&logbuf_lock); + if (error) + break; + error = i; + if (i != count) { + int offset = count-error; + /* buffer overflow during copy, correct user buffer. */ + for (i = 0; i < error; i++) { + if (__get_user(c,&buf[i+offset]) || + __put_user(c,&buf[i])) { + error = -EFAULT; + break; + } + cond_resched(); + } + } break; /* Clear ring buffer */ case SYSLOG_ACTION_CLEAR: - syslog_print_all(NULL, 0, true); + logged_chars = 0; + break; /* Disable logging to console */ case SYSLOG_ACTION_CONSOLE_OFF: if (saved_console_loglevel == -1) @@ -1355,45 +520,11 @@ int do_syslog(int type, char __user *buf, int len, bool from_file) break; /* Number of chars in the log buffer */ case SYSLOG_ACTION_SIZE_UNREAD: - raw_spin_lock_irq(&logbuf_lock); - if (syslog_seq < log_first_seq) { - /* messages are gone, move to first one */ - syslog_seq = log_first_seq; - syslog_idx = log_first_idx; - syslog_partial = 0; - } - if (from_file) { - /* - * Short-cut for poll(/"proc/kmsg") which simply checks - * for pending data, not the size; return the count of - * records, not the length. - */ - error = log_next_idx - syslog_idx; - } else { - u64 seq; - u32 idx; - - error = 0; - seq = syslog_seq; - idx = syslog_idx; - while (seq < log_next_seq) { - struct log *msg = log_from_idx(idx, - true); - - error += msg_print_text(msg, true, NULL, 0); - idx = log_next(idx, true); - seq++; - } - error -= syslog_partial; - } - raw_spin_unlock_irq(&logbuf_lock); + error = log_end - log_start; break; /* Size of the log buffer */ case SYSLOG_ACTION_SIZE_BUFFER: error = log_buf_len; -#if defined(CONFIG_OOPS_LOG_BUFFER) - error += log_oops_buf_len; -#endif break; default: error = -EINVAL; @@ -1418,11 +549,29 @@ void kdb_syslog_data(char *syslog_data[4]) { syslog_data[0] = log_buf; syslog_data[1] = log_buf + log_buf_len; - syslog_data[2] = log_buf + log_first_idx; - syslog_data[3] = log_buf + log_next_idx; + syslog_data[2] = log_buf + log_end - + (logged_chars < log_buf_len ? logged_chars : log_buf_len); + syslog_data[3] = log_buf + log_end; } #endif /* CONFIG_KGDB_KDB */ +/* + * Call the console drivers on a range of log_buf + */ +static void __call_console_drivers(unsigned start, unsigned end) +{ + struct console *con; + + for_each_console(con) { + if (exclusive_console && con != exclusive_console) + continue; + if ((con->flags & CON_ENABLED) && con->write && + (cpu_online(smp_processor_id()) || + (con->flags & CON_ANYTIME))) + con->write(con, &LOG_BUF(start), end - start); + } +} + static bool __read_mostly ignore_loglevel; static int __init ignore_loglevel_setup(char *str) @@ -1438,34 +587,143 @@ module_param(ignore_loglevel, bool, S_IRUGO | S_IWUSR); MODULE_PARM_DESC(ignore_loglevel, "ignore loglevel setting, to" "print all kernel messages to the console."); +/* + * Write out chars from start to end - 1 inclusive + */ +static void _call_console_drivers(unsigned start, + unsigned end, int msg_log_level) +{ + trace_console(&LOG_BUF(0), start, end, log_buf_len); + + if ((msg_log_level < console_loglevel || ignore_loglevel) && + console_drivers && start != end) { + if ((start & LOG_BUF_MASK) > (end & LOG_BUF_MASK)) { + /* wrapped write */ + __call_console_drivers(start & LOG_BUF_MASK, + log_buf_len); + __call_console_drivers(0, end & LOG_BUF_MASK); + } else { + __call_console_drivers(start, end); + } + } +} + +/* + * Parse the syslog header <[0-9]*>. The decimal value represents 32bit, the + * lower 3 bit are the log level, the rest are the log facility. In case + * userspace passes usual userspace syslog messages to /dev/kmsg or + * /dev/ttyprintk, the log prefix might contain the facility. Printk needs + * to extract the correct log level for in-kernel processing, and not mangle + * the original value. + * + * If a prefix is found, the length of the prefix is returned. If 'level' is + * passed, it will be filled in with the log level without a possible facility + * value. If 'special' is passed, the special printk prefix chars are accepted + * and returned. If no valid header is found, 0 is returned and the passed + * variables are not touched. + */ +static size_t log_prefix(const char *p, unsigned int *level, char *special) +{ + unsigned int lev = 0; + char sp = '\0'; + size_t len; + + if (p[0] != '<' || !p[1]) + return 0; + if (p[2] == '>') { + /* usual single digit level number or special char */ + switch (p[1]) { + case '0' ... '7': + lev = p[1] - '0'; + break; + case 'c': /* KERN_CONT */ + case 'd': /* KERN_DEFAULT */ + sp = p[1]; + break; + default: + return 0; + } + len = 3; + } else { + /* multi digit including the level and facility number */ + char *endp = NULL; + + lev = (simple_strtoul(&p[1], &endp, 10) & 7); + if (endp == NULL || endp[0] != '>') + return 0; + len = (endp + 1) - p; + } + + /* do not accept special char if not asked for */ + if (sp && !special) + return 0; + + if (special) { + *special = sp; + /* return special char, do not touch level */ + if (sp) + return len; + } + + if (level) + *level = lev; + return len; +} + /* * Call the console drivers, asking them to write out * log_buf[start] to log_buf[end - 1]. * The console_lock must be held. */ -static void call_console_drivers(int level, const char *text, size_t len) +static void call_console_drivers(unsigned start, unsigned end) { - struct console *con; + unsigned cur_index, start_print; + static int msg_level = -1; - trace_console(text, 0, len, len); + BUG_ON(((int)(start - end)) > 0); - if (level >= console_loglevel && !ignore_loglevel) - return; - if (!console_drivers) - return; + cur_index = start; + start_print = start; + while (cur_index != end) { + if (msg_level < 0 && ((end - cur_index) > 2)) { + /* strip log prefix */ + cur_index += log_prefix(&LOG_BUF(cur_index), &msg_level, NULL); + start_print = cur_index; + } + while (cur_index != end) { + char c = LOG_BUF(cur_index); - for_each_console(con) { - if (exclusive_console && con != exclusive_console) - continue; - if (!(con->flags & CON_ENABLED)) - continue; - if (!con->write) - continue; - if (!cpu_online(smp_processor_id()) && - !(con->flags & CON_ANYTIME)) - continue; - con->write(con, text, len); + cur_index++; + if (c == '\n') { + if (msg_level < 0) { + /* + * printk() has already given us loglevel tags in + * the buffer. This code is here in case the + * log buffer has wrapped right round and scribbled + * on those tags + */ + msg_level = default_message_loglevel; + } + _call_console_drivers(start_print, cur_index, msg_level); + msg_level = -1; + start_print = cur_index; + break; + } + } } + _call_console_drivers(start_print, end, msg_level); +} + +static void emit_log_char(char c) +{ + LOG_BUF(log_end) = c; + log_end++; + if (log_end - log_start > log_buf_len) + log_start = log_end - log_buf_len; + if (log_end - con_start > log_buf_len) + con_start = log_end - log_buf_len; + if (logged_chars < log_buf_len) + logged_chars++; } /* @@ -1490,6 +748,16 @@ static void zap_locks(void) sema_init(&console_sem, 1); } +#if defined(CONFIG_PRINTK_TIME) +static bool printk_time = 1; +#else +static bool printk_time = 0; +#endif +module_param_named(time, printk_time, bool, S_IRUGO | S_IWUSR); + +static bool always_kmsg_dump; +module_param_named(always_kmsg_dump, always_kmsg_dump, bool, S_IRUGO | S_IWUSR); + /* Check if we have any console registered that can be called early in boot. */ static int have_callable_console(void) { @@ -1502,6 +770,56 @@ static int have_callable_console(void) return 0; } +/** + * printk - print a kernel message + * @fmt: format string + * + * This is printk(). It can be called from any context. We want it to work. + * + * We try to grab the console_lock. If we succeed, it's easy - we log the output and + * call the console drivers. If we fail to get the semaphore we place the output + * into the log buffer and return. The current holder of the console_sem will + * notice the new output in console_unlock(); and will send it to the + * consoles before releasing the lock. + * + * One effect of this deferred printing is that code which calls printk() and + * then changes console_loglevel may break. This is because console_loglevel + * is inspected when the actual printing occurs. + * + * See also: + * printf(3) + * + * See the vsnprintf() documentation for format string extensions over C99. + */ + +asmlinkage int printk(const char *fmt, ...) +{ + va_list args; + int r; +#ifdef CONFIG_MSM_RTB + void *caller = __builtin_return_address(0); + + uncached_logk_pc(LOGK_LOGBUF, caller, (void *)log_end); +#endif + +#ifdef CONFIG_KGDB_KDB + if (unlikely(kdb_trap_printk)) { + va_start(args, fmt); + r = vkdb_printf(fmt, args); + va_end(args); + return r; + } +#endif + va_start(args, fmt); + r = vprintk(fmt, args); + va_end(args); + + return r; +} + +/* cpu currently holding logbuf_lock */ +static volatile unsigned int printk_cpu = UINT_MAX; + /* * Can we actually use the console at this time on this cpu? * @@ -1545,12 +863,17 @@ static int console_trylock_for_printk(unsigned int cpu) retval = 0; } } - logbuf_cpu = UINT_MAX; + printk_cpu = UINT_MAX; if (wake) up(&console_sem); raw_spin_unlock(&logbuf_lock); return retval; } +static const char recursion_bug_msg [] = + KERN_CRIT "BUG: recent printk recursion!\n"; +static int recursion_bug; +static int new_text_line = 1; +static char printk_buf[1024]; int printk_delay_msec __read_mostly; @@ -1566,23 +889,15 @@ static inline void printk_delay(void) } } -asmlinkage int vprintk_emit(int facility, int level, - const char *dict, size_t dictlen, - const char *fmt, va_list args) +asmlinkage int vprintk(const char *fmt, va_list args) { - static int recursion_bug; - static char buf[LOG_LINE_MAX]; - static size_t buflen; - static int buflevel; - static char textbuf[LOG_LINE_MAX]; - static struct task_struct *cont; - char *text = textbuf; - size_t textlen; + int printed_len = 0; + int current_log_level = default_message_loglevel; unsigned long flags; int this_cpu; - bool newline = false; - bool prefix = false; - int printed_len = 0; + char *p; + size_t plen; + char special; boot_delay_msec(); printk_delay(); @@ -1594,7 +909,7 @@ asmlinkage int vprintk_emit(int facility, int level, /* * Ouch, printk recursed into itself! */ - if (unlikely(logbuf_cpu == this_cpu)) { + if (unlikely(printk_cpu == this_cpu)) { /* * If a crash is occurring during printk() on this CPU, * then try to get the crash message out but make sure @@ -1611,92 +926,98 @@ asmlinkage int vprintk_emit(int facility, int level, lockdep_off(); raw_spin_lock(&logbuf_lock); - logbuf_cpu = this_cpu; + printk_cpu = this_cpu; if (recursion_bug) { - static const char recursion_msg[] = - "BUG: recent printk recursion!"; - recursion_bug = 0; - printed_len += strlen(recursion_msg); - /* emit KERN_CRIT message */ - log_store(0, 2, NULL, 0, recursion_msg, printed_len); + strcpy(printk_buf, recursion_bug_msg); + printed_len = strlen(recursion_bug_msg); + } + /* Emit the output into the temporary buffer */ + printed_len += vscnprintf(printk_buf + printed_len, + sizeof(printk_buf) - printed_len, fmt, args); + + + p = printk_buf; + + /* Read log level and handle special printk prefix */ + plen = log_prefix(p, ¤t_log_level, &special); + if (plen) { + p += plen; + + switch (special) { + case 'c': /* Strip KERN_CONT, continue line */ + plen = 0; + break; + case 'd': /* Strip KERN_DEFAULT, start new line */ + plen = 0; + default: + if (!new_text_line) { + emit_log_char('\n'); + new_text_line = 1; + } + } } /* - * The printf needs to come first; we need the syslog - * prefix which might be passed-in as a parameter. + * Copy the output into log_buf. If the caller didn't provide + * the appropriate log prefix, we insert them here */ - textlen = vscnprintf(text, sizeof(textbuf), fmt, args); + for (; *p; p++) { + if (new_text_line) { + new_text_line = 0; - /* mark and strip a trailing newline */ - if (textlen && text[textlen-1] == '\n') { - textlen--; - newline = true; - } + if (plen) { + /* Copy original log prefix */ + int i; - /* strip syslog prefix and extract log level or flags */ - if (text[0] == '<' && text[1] && text[2] == '>') { - switch (text[1]) { - case '0' ... '7': - if (level == -1) - level = text[1] - '0'; - case 'd': /* KERN_DEFAULT */ - prefix = true; - case 'c': /* KERN_CONT */ - text += 3; - textlen -= 3; + for (i = 0; i < plen; i++) + emit_log_char(printk_buf[i]); + printed_len += plen; + } else { + /* Add log prefix */ + emit_log_char('<'); + emit_log_char(current_log_level + '0'); + emit_log_char('>'); + printed_len += 3; + } + + if (printk_time) { + /* Add the current time stamp */ + char tbuf[50], *tp; + unsigned tlen; + unsigned long long t; + unsigned long nanosec_rem; + + t = cpu_clock(printk_cpu); + nanosec_rem = do_div(t, 1000000000); + tlen = sprintf(tbuf, "[%5lu.%06lu] ", + (unsigned long) t, + nanosec_rem / 1000); + + for (tp = tbuf; tp < tbuf + tlen; tp++) + emit_log_char(*tp); + printed_len += tlen; + } + + if (!*p) + break; } - } - if (buflen && (prefix || dict || cont != current)) { - /* flush existing buffer */ - log_store(facility, buflevel, NULL, 0, buf, buflen); - printed_len += buflen; - buflen = 0; - } - - if (buflen == 0) { - /* remember level for first message in the buffer */ - if (level == -1) - buflevel = default_message_loglevel; - else - buflevel = level; - } - - if (buflen || !newline) { - /* append to existing buffer, or buffer until next message */ - if (buflen + textlen > sizeof(buf)) - textlen = sizeof(buf) - buflen; - memcpy(buf + buflen, text, textlen); - buflen += textlen; - } - - if (newline) { - /* end of line; flush buffer */ - if (buflen) { - log_store(facility, buflevel, - dict, dictlen, buf, buflen); - printed_len += buflen; - buflen = 0; - } else { - log_store(facility, buflevel, - dict, dictlen, text, textlen); - printed_len += textlen; - } - cont = NULL; - } else { - /* remember thread which filled the buffer */ - cont = current; + emit_log_char(*p); + if (*p == '\n') + new_text_line = 1; } /* - * Try to acquire and then immediately release the console semaphore. - * The release will print out buffers and wake up /dev/kmsg and syslog() - * users. + * Try to acquire and then immediately release the + * console semaphore. The release will do all the + * actual magic (print out buffers, wake up klogd, + * etc). * - * The console_trylock_for_printk() function will release 'logbuf_lock' - * regardless of whether it actually gets the console semaphore or not. + * The console_trylock_for_printk() function + * will release 'logbuf_lock' regardless of whether it + * actually gets the semaphore or not. */ if (console_trylock_for_printk(this_cpu)) console_unlock(); @@ -1707,82 +1028,16 @@ out_restore_irqs: return printed_len; } -EXPORT_SYMBOL(vprintk_emit); - -asmlinkage int vprintk(const char *fmt, va_list args) -{ - return vprintk_emit(0, -1, NULL, 0, fmt, args); -} -EXPORT_SYMBOL(vprintk); - -asmlinkage int printk_emit(int facility, int level, - const char *dict, size_t dictlen, - const char *fmt, ...) -{ - va_list args; - int r; - - va_start(args, fmt); - r = vprintk_emit(facility, level, dict, dictlen, fmt, args); - va_end(args); - - return r; -} -EXPORT_SYMBOL(printk_emit); - -/** - * printk - print a kernel message - * @fmt: format string - * - * This is printk(). It can be called from any context. We want it to work. - * - * We try to grab the console_lock. If we succeed, it's easy - we log the - * output and call the console drivers. If we fail to get the semaphore, we - * place the output into the log buffer and return. The current holder of - * the console_sem will notice the new output in console_unlock(); and will - * send it to the consoles before releasing the lock. - * - * One effect of this deferred printing is that code which calls printk() and - * then changes console_loglevel may break. This is because console_loglevel - * is inspected when the actual printing occurs. - * - * See also: - * printf(3) - * - * See the vsnprintf() documentation for format string extensions over C99. - */ -asmlinkage int printk(const char *fmt, ...) -{ - va_list args; - int r; - -#ifdef CONFIG_KGDB_KDB - if (unlikely(kdb_trap_printk)) { - va_start(args, fmt); - r = vkdb_printf(fmt, args); - va_end(args); - return r; - } -#endif - va_start(args, fmt); - r = vprintk_emit(0, -1, NULL, 0, fmt, args); - va_end(args); - - return r; -} EXPORT_SYMBOL(printk); +EXPORT_SYMBOL(vprintk); #else -#define LOG_LINE_MAX 0 -static struct log *log_from_idx(u32 idx, bool logbuf) { return NULL; } -static u32 log_next(u32 idx, bool logbuf) { return 0; } -static char *log_text(const struct log *msg) { return NULL; } -static void call_console_drivers(int level, const char *text, size_t len) {} -static size_t msg_print_text(const struct log *msg, bool syslog, - char *buf, size_t size) { return 0; } +static void call_console_drivers(unsigned start, unsigned end) +{ +} -#endif /* CONFIG_PRINTK */ +#endif static int __add_preferred_console(char *name, int idx, char *options, char *brl_options) @@ -2033,7 +1288,7 @@ int is_console_locked(void) } /* - * Delayed printk version, for scheduler-internal messages: + * Delayed printk facility, for scheduler-internal messages: */ #define PRINTK_BUF_SIZE 512 @@ -2069,10 +1324,6 @@ void wake_up_klogd(void) this_cpu_or(printk_pending, PRINTK_PENDING_WAKEUP); } -/* the next printk record to write to the console */ -static u64 console_seq; -static u32 console_idx; - /** * console_unlock - unlock the console system * @@ -2083,16 +1334,15 @@ static u32 console_idx; * by printk(). If this is the case, console_unlock(); emits * the output prior to releasing the lock. * - * If there is output waiting, we wake /dev/kmsg and syslog() users. + * If there is output waiting for klogd, we wake it up. * * console_unlock(); may be called from any context. */ void console_unlock(void) { - static u64 seen_seq; unsigned long flags; - bool wake_klogd = false; - bool retry; + unsigned _con_start, _log_end; + unsigned wake_klogd = 0, retry = 0; if (console_suspended) { up(&console_sem); @@ -2102,38 +1352,17 @@ void console_unlock(void) console_may_schedule = 0; again: - for (;;) { - struct log *msg; - static char text[LOG_LINE_MAX]; - size_t len; - int level; - + for ( ; ; ) { raw_spin_lock_irqsave(&logbuf_lock, flags); - if (seen_seq != log_next_seq) { - wake_klogd = true; - seen_seq = log_next_seq; - } - - if (console_seq < log_first_seq) { - /* messages are gone, move to first one */ - console_seq = log_first_seq; - console_idx = log_first_idx; - } - - if (console_seq == log_next_seq) - break; - - msg = log_from_idx(console_idx, true); - level = msg->level & 7; - - len = msg_print_text(msg, false, text, sizeof(text)); - - console_idx = log_next(console_idx, true); - console_seq++; + wake_klogd |= log_start - log_end; + if (con_start == log_end) + break; /* Nothing to print */ + _con_start = con_start; + _log_end = log_end; + con_start = log_end; /* Flush */ raw_spin_unlock(&logbuf_lock); - stop_critical_timings(); /* don't trace print latency */ - call_console_drivers(level, text, len); + call_console_drivers(_con_start, _log_end); start_critical_timings(); local_irq_restore(flags); } @@ -2154,7 +1383,8 @@ again: * flush, no worries. */ raw_spin_lock(&logbuf_lock); - retry = console_seq != log_next_seq; + if (con_start != log_end) + retry = 1; raw_spin_unlock_irqrestore(&logbuf_lock, flags); if (retry && console_trylock()) @@ -2390,8 +1620,7 @@ void register_console(struct console *newcon) * for us. */ raw_spin_lock_irqsave(&logbuf_lock, flags); - console_seq = syslog_seq; - console_idx = syslog_idx; + con_start = log_start; raw_spin_unlock_irqrestore(&logbuf_lock, flags); /* * We're about to replay the log buffer. Only do this to the @@ -2600,9 +1829,6 @@ int kmsg_dump_unregister(struct kmsg_dumper *dumper) } EXPORT_SYMBOL_GPL(kmsg_dump_unregister); -static bool always_kmsg_dump; -module_param_named(always_kmsg_dump, always_kmsg_dump, bool, S_IRUGO | S_IWUSR); - /** * kmsg_dump - dump kernel log to kernel message dumpers. * @reason: the reason (oops, panic etc) for dumping @@ -2612,7 +1838,8 @@ module_param_named(always_kmsg_dump, always_kmsg_dump, bool, S_IRUGO | S_IWUSR); */ void kmsg_dump(enum kmsg_dump_reason reason) { - u64 idx; + unsigned long end; + unsigned chars; struct kmsg_dumper *dumper; const char *s1, *s2; unsigned long l1, l2; @@ -2624,27 +1851,24 @@ void kmsg_dump(enum kmsg_dump_reason reason) /* Theoretically, the log could move on after we do this, but there's not a lot we can do about that. The new messages will overwrite the start of what we dump. */ - raw_spin_lock_irqsave(&logbuf_lock, flags); - if (syslog_seq < log_first_seq) - idx = syslog_idx; - else - idx = log_first_idx; + end = log_end & LOG_BUF_MASK; + chars = logged_chars; + raw_spin_unlock_irqrestore(&logbuf_lock, flags); - if (idx > log_next_idx) { - s1 = log_buf; - l1 = log_next_idx; + if (chars > end) { + s1 = log_buf + log_buf_len - chars + end; + l1 = chars - end; - s2 = log_buf + idx; - l2 = log_buf_len - idx; + s2 = log_buf; + l2 = end; } else { s1 = ""; l1 = 0; - s2 = log_buf + idx; - l2 = log_next_idx - idx; + s2 = log_buf + end - chars; + l2 = chars; } - raw_spin_unlock_irqrestore(&logbuf_lock, flags); rcu_read_lock(); list_for_each_entry_rcu(dumper, &dump_list, list) diff --git a/kernel/lib/Kconfig.debug b/kernel/lib/Kconfig.debug index 5bc95aa06..097d70fa0 100644 --- a/kernel/lib/Kconfig.debug +++ b/kernel/lib/Kconfig.debug @@ -3,16 +3,12 @@ config PRINTK_TIME bool "Show timing information on printks" depends on PRINTK help - Selecting this option causes time stamps of the printk() - messages to be added to the output of the syslog() system - call and at the console. - - The timestamp is always recorded internally, and exported - to /dev/kmsg. This flag just specifies if the timestamp should - be included, not that the timestamp is recorded. - - The behavior is also controlled by the kernel command line - parameter printk.time=1. See Documentation/kernel-parameters.txt + Selecting this option causes timing information to be + included in printk output. This allows you to measure + the interval between kernel operations, including bootup + operations. This is useful for identifying long delays + in kernel startup. Or add printk.time=1 at boot-time. + See Documentation/kernel-parameters.txt config DEFAULT_MESSAGE_LOGLEVEL int "Default message log level (1-7)" @@ -1263,29 +1259,6 @@ config DYNAMIC_DEBUG See Documentation/dynamic-debug-howto.txt for additional information. -config OOPS_LOG_BUFFER - bool "Enable printk() oops log buffer" - depends on PRINTK - help - Select this option to create a seperate log buffer which doesn't - allow wrap around but preserve the first oops and onward kernel - messages until buffer becomes full. - -config OOPS_LOG_BUF_SHIFT - int "Oops log buffer size (16 => 64KB, 17 => 128KB)" - depends on OOPS_LOG_BUFFER - range 11 21 - default 13 - help - Select Oops log buffer size as a power of 2. - Examples: - 17 => 128 KB - 16 => 64 KB - 15 => 32 KB - 14 => 16 KB - 13 => 8 KB - 12 => 4 KB - config DMA_API_DEBUG bool "Enable debugging of DMA-API usage" depends on HAVE_DMA_API_DEBUG diff --git a/kernel/net/netfilter/nf_conntrack_core.c b/kernel/net/netfilter/nf_conntrack_core.c index b6b52069f..eb535ccd5 100644 --- a/kernel/net/netfilter/nf_conntrack_core.c +++ b/kernel/net/netfilter/nf_conntrack_core.c @@ -986,8 +986,7 @@ nf_conntrack_in(struct net *net, u_int8_t pf, unsigned int hooknum, if (!ct) { /* Not valid part of a connection */ NF_CT_STAT_INC_ATOMIC(net, invalid); - /* [houjihai] if accept, it'll result in NO-NAT_PASS, but we are a NAT router */ - ret = NF_DROP; + ret = NF_ACCEPT; goto out; } diff --git a/kernel/net/netfilter/nf_conntrack_proto_tcp.c b/kernel/net/netfilter/nf_conntrack_proto_tcp.c index 6354573fd..0d07a1dcf 100644 --- a/kernel/net/netfilter/nf_conntrack_proto_tcp.c +++ b/kernel/net/netfilter/nf_conntrack_proto_tcp.c @@ -64,24 +64,22 @@ static const char *const tcp_conntrack_names[] = { #define HOURS * 60 MINS #define DAYS * 24 HOURS -/* [houjihai start] modify tcp timeout */ static unsigned int tcp_timeouts[TCP_CONNTRACK_TIMEOUT_MAX] __read_mostly = { - [TCP_CONNTRACK_SYN_SENT] = 30 SECS, - [TCP_CONNTRACK_SYN_RECV] = 30 SECS, - [TCP_CONNTRACK_ESTABLISHED] = 30 MINS, - [TCP_CONNTRACK_FIN_WAIT] = 30 SECS, - [TCP_CONNTRACK_CLOSE_WAIT] = 30 SECS, + [TCP_CONNTRACK_SYN_SENT] = 2 MINS, + [TCP_CONNTRACK_SYN_RECV] = 60 SECS, + [TCP_CONNTRACK_ESTABLISHED] = 5 DAYS, + [TCP_CONNTRACK_FIN_WAIT] = 2 MINS, + [TCP_CONNTRACK_CLOSE_WAIT] = 60 SECS, [TCP_CONNTRACK_LAST_ACK] = 30 SECS, - [TCP_CONNTRACK_TIME_WAIT] = 30 SECS, - [TCP_CONNTRACK_CLOSE] = 1 SECS, - [TCP_CONNTRACK_SYN_SENT2] = 30 SECS, + [TCP_CONNTRACK_TIME_WAIT] = 2 MINS, + [TCP_CONNTRACK_CLOSE] = 10 SECS, + [TCP_CONNTRACK_SYN_SENT2] = 2 MINS, /* RFC1122 says the R2 limit should be at least 100 seconds. Linux uses 15 packets as limit, which corresponds to ~13-30min depending on RTO. */ [TCP_CONNTRACK_RETRANS] = 5 MINS, [TCP_CONNTRACK_UNACK] = 5 MINS, }; -/* [houjihai end] */ #define sNO TCP_CONNTRACK_NONE #define sSS TCP_CONNTRACK_SYN_SENT diff --git a/kernel/net/netfilter/nf_conntrack_proto_udp.c b/kernel/net/netfilter/nf_conntrack_proto_udp.c index 5b9a695a9..a9073dc15 100644 --- a/kernel/net/netfilter/nf_conntrack_proto_udp.c +++ b/kernel/net/netfilter/nf_conntrack_proto_udp.c @@ -31,16 +31,11 @@ enum udp_conntrack { UDP_CT_MAX }; -/* [houjihai start] modify udp timeout and add dns timeout */ static unsigned int udp_timeouts[UDP_CT_MAX] = { - [UDP_CT_UNREPLIED] = 60*HZ, - [UDP_CT_REPLIED] = 120*HZ, + [UDP_CT_UNREPLIED] = 30*HZ, + [UDP_CT_REPLIED] = 180*HZ, }; -static unsigned int nf_ct_udp_dns_replied_timeout __read_mostly = 20*HZ; -static unsigned int nf_ct_udp_dns_unreplied_timeout __read_mostly = 3*HZ; -/* [houjihai end] */ - static bool udp_pkt_to_tuple(const struct sk_buff *skb, unsigned int dataoff, struct nf_conntrack_tuple *tuple) @@ -90,38 +85,17 @@ static int udp_packet(struct nf_conn *ct, unsigned int hooknum, unsigned int *timeouts) { - const struct iphdr *iph = ip_hdr(skb); - const struct udphdr *udph = (void *)iph + iph->ihl * 4; - const __u16 dport = ntohs(udph->dest); - const __u16 sport = ntohs(udph->source); /* If we've seen traffic both ways, this is some kind of UDP stream. Extend timeout. */ if (test_bit(IPS_SEEN_REPLY_BIT, &ct->status)) { - /* [houjihai] if is a dns connection, shorten timeout */ - if ((dport == 53) || (sport == 53)) { - nf_ct_refresh_acct(ct, ctinfo, skb, nf_ct_udp_dns_replied_timeout); - } else { - nf_ct_refresh_acct(ct, ctinfo, skb, timeouts[UDP_CT_REPLIED]); - } + nf_ct_refresh_acct(ct, ctinfo, skb, + timeouts[UDP_CT_REPLIED]); /* Also, more likely to be important, and not a probe */ if (!test_and_set_bit(IPS_ASSURED_BIT, &ct->status)) nf_conntrack_event_cache(IPCT_ASSURED, ct); } else { - /* [houjihai] handle unreplied dns - * from BRCM 89xx:16Jun08, LiShaozhang - * Special handling of UNRPLIED DNS query packet: Song Wang - * Before NAT and WAN interface are UP, during that time window, - * if a DNS query is sent out, there will be an UNRPLIED DNS connection track entry - * in which expected src/dst are private IP addresses in the tuple. - * After NAT and WAN interface are UP, the UNRPLIED DNS connection track - * entry should go away ASAP to enable the establishment of the tuple with - * the expected src/dst that are public IP addresses. - */ - if (dport == 53) { - nf_ct_refresh_acct(ct, ctinfo, skb, nf_ct_udp_dns_unreplied_timeout); - } else { - nf_ct_refresh_acct(ct, ctinfo, skb, timeouts[UDP_CT_UNREPLIED]); - } + nf_ct_refresh_acct(ct, ctinfo, skb, + timeouts[UDP_CT_UNREPLIED]); } return NF_ACCEPT; } diff --git a/kernel/scripts/mkcompile_h b/kernel/scripts/mkcompile_h index 27d7aed90..f221ddf69 100755 --- a/kernel/scripts/mkcompile_h +++ b/kernel/scripts/mkcompile_h @@ -38,9 +38,7 @@ else fi if [ -z "$KBUILD_BUILD_TIMESTAMP" ]; then -# [jiyu] Modify date for lte update -# TIMESTAMP=`date` - TIMESTAMP="Wed Oct 15 10:58:56 CST 2014" + TIMESTAMP=`date` else TIMESTAMP=$KBUILD_BUILD_TIMESTAMP fi diff --git a/kernel/sound/soc/msm/mdm9625.c b/kernel/sound/soc/msm/mdm9625.c index 70e9aa879..3ba23a570 100644 --- a/kernel/sound/soc/msm/mdm9625.c +++ b/kernel/sound/soc/msm/mdm9625.c @@ -1,4 +1,4 @@ -/* Copyright (c) 2012-2014 The Linux Foundation. All rights reserved. +/* Copyright (c) 2012-2013, 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 @@ -927,21 +927,6 @@ static struct snd_soc_dai_link mdm9625_dai[] = { .ignore_pmdown_time = 1, .be_id = MSM_FRONTEND_DAI_MULTIMEDIA2, }, - { - .name = "AUXPCM Hostless", - .stream_name = "AUXPCM Hostless", - .cpu_dai_name = "AUXPCM_HOSTLESS", - .platform_name = "msm-pcm-hostless", - .dynamic = 1, - .trigger = {SND_SOC_DPCM_TRIGGER_POST, - SND_SOC_DPCM_TRIGGER_POST}, - .no_host_mode = SND_SOC_DAI_LINK_NO_HOST, - .ignore_suspend = 1, - /* this dainlink has playback support */ - .ignore_pmdown_time = 1, - .codec_dai_name = "snd-soc-dummy-dai", - .codec_name = "snd-soc-dummy", - }, /* Backend DAI Links */ { .name = LPASS_BE_MI2S_RX, diff --git a/kernel/usr/gen_init_cpio.c b/kernel/usr/gen_init_cpio.c index d0b3a2e5b..af0f22fb1 100644 --- a/kernel/usr/gen_init_cpio.c +++ b/kernel/usr/gen_init_cpio.c @@ -533,9 +533,7 @@ int main (int argc, char *argv[]) int line_nr = 0; const char *filename; - /* [jiyu] Modify default_mtime for lte update */ -// default_mtime = time(NULL); - default_mtime = (time_t)1417749575; + default_mtime = time(NULL); while (1) { int opt = getopt(argc, argv, "t:h"); char *invalid; diff --git a/oe-core/bitbake/lib/bb/COW.pyc b/oe-core/bitbake/lib/bb/COW.pyc deleted file mode 100644 index f61ed570d8963a560c271a20c85d3152e6f0ef1e..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 9867 zcmdT}+ix6K8UJQ>z4ki3$63co+Kh8)wzP@UL?tCnOPX5=Z5(Ob)^wqa);q`X+Up&6 zW;V%|1`vs$e*kZ&Lcj~W08%9+BrXpKQHei+C*Bb+2qEzTzu$Le*N)?)mu$GKJ!jAP z=3Kt}_nmKZe;Xb={?~uJUX$!o#P?ZoBsp9V3GwepLuAd7iX#rkt~6Y!xcUzLoK$jR zaSJ_ zw!osYN6cOcN5$-s+b$^89@;bE7-4A7)J1#aat44ESC{S6Wtg(hF4JB(fhl|W-nnbj zn~!sYmB;wz!dqif!FaEj$K^J7`}S9y1;E?hBbwT7;KxcD3+&j30G zF4+-(zRXu;7fniV5Hzc6++a`#Yf;$Zes&f>qP^q=^k$c%H8b0|dE>O#Gi z-i34yuNCPJ(XmJyghzx#v>Fm&td#1=$8(-?c^n-e{;tRh#9=##f{5j=>|S!EG+!n==8{8b z&t%;4UNzTEE2f>~@aO083T@=1w*c)EQW z<>&BZI&OJNT=f)vZDGVqVGn<(inbQrc#h|iKymiDHImDR09CbD&`Cw!b*X2_$C6W> zArub7&j>bxA_jSZ7XstcJ~;&uV2~F00w65D4Y`5Gmc4UjdL8u~^`zcR(rUA2)LUI% z%RJL-?RAr=?WaWLwYX&`1i^AOx!ZePdHuDQ&b@k3l_!B4OVikjjuKKTS4|sOiCnKX zTE;RGBk2JTtvAJ~_0+5d!RNUv9ilj+_#1MD9pxxhhmUgfLv+X|Xxy!wv`5v9!K9o_ z&o4B`C7-&Qr#&qQzzn;V!FUgT-^!Dl@g;dTFY~njJQ==Pl=vIUZw&i6Z-`^{ZaAt0 zO|9BWjCVNk>Is0E=)4s2J*J{vsy9q|2pjn0YzEM% zw}EfE7{^hpa=m8dnz^AHI10XrBE3{?B*q`+O4^IUH00^tL_ziHB`8IGv6UL#(x1T8 zG6iDoYbRIo;Mi2dsM%=i;wIF_pX4iAU2pYPsDoJn7w7uGf~m zcGU6^mDlPJS~E($H1cZ8)#f#GY_PM9O#-ayg9NMk{wNOGusdIQN;415Qnl4cdunz( zOWD^ESP*;}AR908HF^w6mkOdL_d|5rHEHiu-=%!AwzSYZ2+em?^Pi`^k&iGIHAg#z zst;A?i=3eQ1fwqu3)b;1^>s9ch30eJ&EB_W1Y5O+M+<$AraKQ6rDN=)Wo658 zg8D{k@LWHUKM`^+X((R~lSUJA-TfDNm75+W_o;v95%*eT_p%kF?W$-G-5-F%3o%8Mv( zXf!ylp=Wad;dGxt+&_#)HFCq2dr3l;Fo&jL^*q6GR?nP!@ji~17H?n-{eXOv{p#%9 zZcx-{$#<-6Y(zxrtaW}g8U(q3?uRZ>9U#uvz@~IFu&IIdlu+xFV)%tPv+3(NC!ryU zGr>^SkrTgFPE@w8oIq?Ryla~BBwjvB!7yepQEjGG!|8%L+s(@SCaWZu{D=oL(yT`-lrb^UZ| zlu3!!t`n4dbK&}7+;iCWoQEv}xZU!K-IHVB(zQQ>Ob9T7H!y@Db zP)no=tkMO1|AyuYPiV&Rj}LDJCMYx9^$9lWZw|0WUGbk{!@#88URBCJ#UZccKI;J+Dy6-Lzp(mrYxD-V zx5FagR0>YfE#?YtF^|4m>>rveI75ZeiDItUho>+!U37IWHr$74zip98sLW-=z&_j1UT%N}>;C<}M z*FmgcoeMdY}TsG#wpH zix^MzpB=~|+>)GYMnH?!XidY{4pQ~yO%$2EC+TLc2J+?9|k`pl63bLa;_ z9VMqfJYgDv&$9Otn{#Y5 zm_C{~%HOqqj3=Sg5knb4887v3^KVq=s)^}3X>wh|B^APGxXhxYhRDvZ4|tj7Ni=?& zkx=Ke;?5d>t7}vf+<7RC@nfqGkocN*s(SD@6U|HKqNbroQIr;=sG&8aTC|1~ z_NEfH)QC_|qI%)yVV%~9n%Df(JcNnzQXIWwnk1Dbwg@Fg^$>M^e*{B&g?^Sjx)V(* zeacgB=F#Gcsii)3$fpq0TrKCayL*y`;DAqm?|*@fUa2m#M{89v+|;_IRwVtie4|M* z(@ZVE*p!(Wbk8+MIe5nYp#35*0?A*{jN!^XqurNsrFTkuOZieBGw@e* zhTTCF@dt5HA4c2n4&yRE0*L+Y$2ETN9#{@5N1YMC$N7ivsca3u``vpX8#6n*PwUKn a;Kp*@2#N>5WYbCZ{qVhz3^QWLIsXRn*%-e7 diff --git a/oe-core/bitbake/lib/bb/__init__.pyc b/oe-core/bitbake/lib/bb/__init__.pyc deleted file mode 100644 index e591f015a4b33e4ddfa395bfdfe9d40ec3750c96..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 6679 zcmcgwS#ul55$**@@DOEE7Y{qO*O6sHF#}RkY*$jsMO{{6)2@|VuCS6qEp~_Cf{R^v zX90>anTOC7$uEBLkI1jfiy!isd|wX$vSd{%PEmoh%{hCzd%AnNyZYVv*^Phv^Rq~X zzbX9v4L!;-_ zkzRaWr?e@%&{SFS7dupVxX%@XG!*IQmlDq zdDzAH3NfyTS<#6_>AWhP*VrYFFV;Np?zVP*B=I~)3!}IfBwdv5>$3d@$b;Kftk1cXtMNA>Hx{2IWG#*OzHHjZG%QWwC)O{_7yYC#vA=`Sau*{5Q`iJ+ z^BupHl&x^jlox?$bMwP6i&GQddlH#mi4|jQgbvCk4}1l{KuRDNup+^uI_K;Z2%Gis zd%SCawC%@9YP#J}4{e*w6iGBX%#ZTekh1;Vu=JA*bag`>=a;$PP6h^48ozH%p&0jf zP3DK0Z$?!4c@*^v+wgyz9h@3XvR#}~CRy8Y*$S;WH65j)wTf^zw0@WtCX5gKUXc%y z7{Ymuj1dL?APIe&ca6WgLm{sEU1M$728{xT}llGsa=C@IqeUswBPV6qad zkf>Ix!NE0NPRO1q3N(lK8veuaZTL#2$)dcU;SxdZY3^fiIpB2`dDn5OtgZQ3?zh5d zuPnmI@Q@r#Km$(6*U2+UQ@>?Y(kk*1uWNo%;w)?XU7+Wv35zrV4#&n=R-7tKY6c;g zJB7cY`0G_DL^%!6Y-VBCG@IqDcDi}oPuZn!Yc}INYBuX=$_cPkvh`iadp&)!e{BumO>v(Y;Ui1kf;b^@R_ zUGvIwXl(V<)Twy!ea*gr1!K*oBN!`pM5E(JO}~Rru|ofy?r%BrxuE26)}%WnO|&o| z6Sj_@f-_=H4>8@OT<2jtRy>t?K>7j>1eEZ}!Do4TKo%SL^kfKj8tu)^kMefgyg;gJ zn0-#FaP<@~UaX2XCin<&WRl*5=*I%5CaJ)0qj3ngt&bqQI<~H0*Iq@6x*UphJi=y$ zk6&4p&IG&Ia9n{moL_ws!zF=*`Ib7>YQ?72Z|kUQ@kSk& zL)~`TR#$l|2A)BMKN0*H-FPq$%s(T2BtpCuZ{CY28y?H=6MXh90Ez;RsbyT}f5TL;Ou8we{|`g-G>9i!xi!B&VX00`$6 zzya?vSRr^7;6%3CIxAC|2I^b*EE_d%W^$%FQw{h4Ig{U1#U6UC`}ZE-`S7MjFsj8n zri^xP+8M0oYwdbOH0niY>oY(jc!1B6l~NrLG!G#;bP@iE;b=_1qvnSBk-1SWG&57E zBvb`Ed6Fp&s(3051!pA^iu`kYBXy(klP)TW^1$a3G=g+^4!F$XJt-^FfrnPNN+*gr zq!ZA=r6cveM{spmj#cVv;fp(y>TsX;x%OQk{}e%m##n@hU^OpDZ|!Uf^>p*;7ZA4$_w-RUU?< zOe}Rv;E@-+^WKd2ziEhLm`ZiR5(6v84KM8FaG|ox^3sGjVx%8v{%{?Cj)UMTY4!nL zre^aHnAw?9t}a?b^OsKkDoAhtC-S-A#m>bAIS7Nso`%Y^rMKW-cfOELndrbGW=2t% zDo<(|_Q2}xn_Dt7^z+9?=$NvjP0jPnShiYOVdI_h+G+wr-@yL#*CLq)(9!d z;Ast41^0lahm%~j^Ws3gF&uNWr@mZ^6Y6@^`n9HTcPIr&=5xoe zTW}I$@$Q2K07X5NiVG^kc#y#7a|I=FmXD$a1DV;s54?W{{-GD2^Jcx8H|4qbg$b6P zzLjUjMKjdWVf-H_5wcB<8~VK%B5_gI4XjXp0^UV%6F>=fvt%?NUN_6dXY|bLWt`kw zPRy49WMZyT!_ze9%~h6bfZio9qDYw$PvN_R&;A`?Y!KQVG($Tqjx{%_ z$;#2JWHqiv12RRr(wXA^mBU#%MClOqvoGG2&!NbV^m6QDQ2eml%Zt*_TOAXjbfFay zT$S%C4X`t)a){>*b&xfGzd#9rwuWvO_E@5F<9}a2or&ok6JMIx(o#%cZX7kfym6!f z->0czaS0~r4~KD<#VZ=ur?E7+4xsmenuL-FJz-F3GL%-}NsOvr+mvBh7Qy>mO$&B~ zFrBk*PTP(fTjz!80IFXF>PmWon`GJL8oLBwv6^3=;MUV=PRL=YTT>U)5; z5&@%NlPsh8Qu5i7Rxno8p@`tEhYDMnt6bC^_lkD~)_A^BtCY+gJ`Ph#$i$x&=}?@k zB=(0rdTH%x=#O}^UnZ&5h26b4DRxoGQW13Xf!RTMQae%JJJ1fDpt|>xksVT+sM~A0 zFjM8?M(T6`&sAY{Ecg%;!9#-I0XS>_J-Z(fd`z&#iJt&yHLBSh)?u4XcT?nXG{oRf znGR3_OuFVCYlX_oxHzjtE|{c9Ze2dhI~&%wv`kaJf&plmD_h)Q0W{!HKqb|O`F@x} z)0mwVVPee~x7DqfI<-|#A7gW&1!LbZj)#Y;K)H!^g5VMlq4wb_ST7)@t(Gd5$p%RQ z9aLdvWk5frskf2>3{A}inkNMZoEtFJci{vRv*4H9r0Jx_{qL}Qm0*>CX-9C2faVoE zAkeA@8mDs4vvR(a=xt|azhVZicx#n88F diff --git a/oe-core/bitbake/lib/bb/build.pyc b/oe-core/bitbake/lib/bb/build.pyc deleted file mode 100644 index 98b545f9575fdfed2abbd14727891eb2cf7b43dc..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 16734 zcmcIrU2Gi3eV@G}DIP^i6e&@nElaBpiYHkTWjk>aM{#V4lA~It?4@ifY@EaKc1a$2 zU)tG|$XHAf+liefMS>RXOP?CFMNuRVErPTK(hneQS|BKjq_#ial8`27MN`|qAHA^v-&X3TP@ z?wMsTYtNbGTvpGU<$P8jFv|m3eXyrKl+|;lw#U?m&GNAExJKU8228zRmJ6mnVwOit zeXm*GYrH6DHbzZ2VBW#9Va-pucEiKwUF`0d36GfNt`o zdl!o{V1nv@;@?6MoM4h66phFxQCK98Bm*eIa#BtPQHkzFjYPF}Qmxr!58AF&lPl%T z$c}aE7q7Idwb16!5HRak1On_ zQJY(D)}y)F*8Qh1J#}gBm5)91(M$K9o-4Onw$zH7mAPhgq0)?_xs__N0xZwfsw;CV z_)i31Y;7l;vQ(-zs!6Hz5!5a5YrFz}hP?4yg)}9CNJb%P9u@3-1El$wNj$Rw*~_Ob z5I-~m(Ht<4Hm>H()Q(4-xmMJH$;BdPU9hK6&RD-_qX?+-SDUfF+K!X;DE6xjyw%IZ z=Gh{-NBa-RV8T|boUDu8qOGb;Y(U60Yp|Dt^@>U#kwtoyN;Zj0rOT+MxH{(Ly{TNm zTM&>bMoG$2N!(g0)th0v##dr-q1lLnQB(r*MVFka^@FAX!F&df<#I#b{$as%yKFbF zlx_AyR~ z75qxAY#l8VEb2?@ZAad?u2?BVB^5IX-Ueh=Vhb$|UV)%N7{EsxgM0;Zd4K}~`p`I! zDhC|6u_qk_u#T_hov04eyex_?3sNAjUayj)?O_zHa%Ho;Mz(v-7o4oj*ebDBq`XN{ zmDnXVTZ@u6%CVzw`fWfa*05{TY>uqlpEMgjSfE5p#_Ex^SWRLr28HZkoXW7v1$|)v za@R|EELWy5AM(aMi89yZBm9$3D3e4H8=VFZ4xy@df!SZsGQ5x(U%@)k@y4qVkJ%&G zXbn2NAtLUEki#7!Nib6B5rAr=grL5P6;e=Tr?{FA{o0D+WP3r(5{wg`0|dpXiLhBI zl^jPr!LH-%B0;k6f(bSsL(v6XwZ8BGjnO1sLx1Y=;Jm+u7yWkk3UJs@Gn^M9!yyQz)N? z<1A%&7m=JJQlVDjlgA?on?t4R?Z{e}piHH7scxZX(FkLmXPy3crX@IyY_ZH+6vwT& z+5qCD2yGie5uD}_sv&2%Wsu3~?lVdO^kSKQVKBo{cwEsJ-si%f$75-hoHOI#c$h~8 z@AY!cI(ys&Lbbj?LOlFDAsIkHDeTDKjmEult=e^9JMu>r5;+If$m-^3VA(1`Y&e+)^0SwNtILkr~3OTN8 zu%xPjS+?QnGr6#1ha}@od%G2i7^$;n|ER;AR=6+`1KN;XZZ_9$M_nhWLly=HyU6lC z_(^a=-USVZNV-9M*&!WQlK9P_(iJ}u5aQ>|G07(g7Db;p>37hnu<(4`U!8-eLgQgKGLP(N={qSf6qI z6lUJSlevCmZ$1P`l0hX6(Slpb4Txhh)kQ^c*-5DX)}@{21+dt{g^ErRINPJ}T^*|8 zs0G@-g*DP06p5=Ie}O;-2L8B6>w!KtG1j>^DG*oLS_jio()Q;Ta$<8)8Zh z0=|Q;K@z+D2bwTv;-6;I%D&OiX@jST}a%7&B!)p6Zq4}#Vml(uz9tp+z6|&bvZy(lqXcgdqrWmBo|4j z^=3m~)S8t|+BT~(w=LbqxZSu2QNQ@sQ#(qHRqlsHh9ZHaTs6f}vLRI8_selZUY3j3 zuh+_JR$t;>3r1Tlz~!9PR;`)@G|)jFg}URY-n{4Xakt}kB*5yM*vEPmrj}MWAbPZ^ zjV8<$Q!V-u3$&`C*48e#9eBmmXN;Lj#9k@gE^|NKM!O!>YDEgHrscrkDBgl+v!<11 zxGj)Zxu1aEh=x`Gm?~vfsG+JhU4k#dD83LvSA$RRGpeg3s<-$7>%cIg&6~|l z;%z!-sqjX^Xw`o!^4NowDYJ3dAd9;>Wa87_+eq(&e+~;5fIny6MsgSMa2MP|(}TuE zxqU!80fep}Fye3x9SRnX0 zd?*&bzaY7(;@uRfzyfKAE9|FTmJBj?v06_gxLx57u5x%+z9||I5#{8`CrI`*WY#lT zhbEHz+*-UA$IV#j9EoUUouWl)UV+MiC&<(SbNtk2X%j_5TFGu(?FG&j((tQI&Cn{x z$UJfQ;%2q=s!LR=M~Qo7cwN@%2F5s55wP}26oPMMML_}quQbC*ZMG6uTTTZyYawBD z-St*~Wj}Zct9}=crK3ubKkXg$CcH@qcpkz$=8ZtW^CpkHkZ63BZ8(AN=4 z3MOe{%e_JgDFn}Xpf*Jc?gvDwL?NZAc0xweDK`e*&xuzaV*GJv z3ODSK^u^~WWP}j#?9bqVGMJL_hr7}dUF>kNNHb-BhN3HhGD|p*$&R$*X5GipjGyIh zMn-)6TWBVck8B_q3OwD6xBZo9y?n3Qj4%5BZ4949kDc}Jm17z&->x^?wa~A?=p)+m z%YF?mgJx>3YWi%VYGnQGX4`Kdx#w5nsEiyFvaXoePnz&F(llhc3eFtdEQlHFI6Tr+ zoZ7Ei|2__sBL6=AS8Fw20y(Ry zG-9b1Ae;V$tr5k+m}SO}*gTr?d!hOtU{*9Kw9GT5i{pH==l@iG0{ObOdy%0vv@pjbf7!sRwC1o-E=xLx973 z2&g`!OBPF8X0_3074;d+ z`?q*3H)#sv@J7aC?c-+Slu1sD4fui_1xDb$&V)Ha)<|Z} zMv=q#@&NcphyW+swH|P-AktZ0ElM%vBA4Wx_)tm(WF)*__;a%znXOqy1+Afc2yg#M zPB{POq}iD;$$9etjO51N9m_AV0aSJk{H$PFpZZ@uo6j#THSU0v7sO28%X>SMQd{=- z^AF(7Tr@jiKRH&(oOu9#O~WOr!Q_%w1YbgO4)Ur&x;mUR;C2xK2jUaZAC!EGpnH4) zz0wz;<>?GrDRn@uDKq^+s)1N+{{YQEDz^7f4D^4-a00Z8B(A|t(9__)6rI2<&j>sa zI;{~L(Dx&v67J0Wcpz>0Xxf75H{njA-RTuvQA5C`Bvp?HySQq%NHe5L$^LAYW-0FQ zD;44+WP{Q8#9+4xH_2R6^0DrR$^cHm((o|Ieh)?0KV(XX24vPbg06!H!*Jxv?rf>r zxYw-RgCke=aRte*<1Ug9Thea9Jws9{b>bRp=+FGj^K!}HS2U35_wmvFYO;>s)^FZ# z__81!5A-}TQ=uDRaS_UI+i102qpMjhuON}cwVaD5LnNcnd-kOZAGCQo6-zgORkd`5El07R41b>K`Fw46A%b^zh*zybS18TyVot6Oz29!ohsL;5~lO$>b=2QSU08y_!>ZI20M;BB{Iu?+EGCFo>#2+=^#ql1UH2K05mEz@*J+@Bz=)g7RBCJU*RH(&l47Zq z6^b1`qFY`L!%Xnr#%pkr#S1Jb0!j>t%LO{lN_7*%;i}fQ>w?W?xHH%&x|JG(zI~_( zNr)Or-hhfvtJV>g;oc)?S|q;&UuL2E9OMTi)rzIGm zDE%^4Ged`PJ>dY7*OLes86J-3#t~c0s+MQ++S`*m;vLCN5AR1lYZC9{-avj9BWClD zdHBiiM}nJ4?gF0i+_c9$80Q>Ac}R)y0=_%x6%dS$<;L=u%{!7mfDs40k=%%P4!w+N zrgLX_L6=CN9wQmA;*p8oex5?hKolC@Ip=V#5P=%Ai8HHn#2tFU(F}01Cy2muv+GU~re>O4 zu@1A(3QXi(Apd&@!+L|+jGLP2p^?mrsNzHhw5eF0`{<@P{SBN!xtmTpS<(rX@)CiR zjgE+90_ed=%CB{#oHC!pu)9S-4V*c{ZE zE`ICIYge`RL#wB{DdkB^o}^D^z-L3?kwWgUxNQi0G7e6fbg2sR29=9=<1u^$a+5KT zNq`?MhdYL!h&nR-$cm~CoM)q*sVM2I|xBA;>PCX?;$uU?a3L$i)y* zw`a%}rvmXCx7Do-1{epzjaa+&Ej1!Z3GPsQm(GF~ou&{5EQ)#EhdA4HAO1}`Em+R} zJ^zSf5h!v8%!sGa3XsU$aB;wUSP#95t5a_q@g$hl#T=+DDo@&%rDEEFl3G9XbSwDk0)@^Q(c27#2s>zfj144&s; zYC5%njA;$(05ftzC+?DT`3oEzl=&G2!P1#^XU&>{TmDe@;SL5%)&&}E01>V9r4Z4< zl`J{?ncCKvA8;|}Mx-$HSq;!kJDl*=B{>v4Y~-1l!jShk(v?HrDeri078dGp)CY3M zaz~w|AUZnQ;CBeA6aqtgCBCQ`pakZ5ng&VlNV!Klf$Wy72;~!Tq)SP{hESL2Vguk9 zjek?hBrj!xIwMN_!gR>+Kn8X00D0yDnY5;I>c&6|Xbejj8_W+iu&C^$T?WMB#;ZCF zuygGeI9So8FrvR7Df??x+{RZ7r@_S@5fa0P)k@;y6oD_2sk2T--@x?2AG7!q7UbIC zPf;us8GQslVj+ggv-TnjCFFmXwLfDao)hbXv;oFD z-09W?!~8xFV!_=;{SbV+jt{|If6*rS#j%U?dB02i5kE*m0LW{}Qz>EA!4EO{_lW@dKxVMQU)(y?DbZlRhE8nX zxeV{?UeZ@R^S)>72~#x&b&7C~Et|L)@SIsQtfS>JJMvk_B1f|$ua2!_ykUvUT;5lq zEHFQ2z<)QtYr&`ROb6&VupP>RBQ*6im-=@0f@}wRpq;2qI2S(X%#}CqA6sOA?q;tuIVlN}da z07Gq43Zs^l&E%W=lS^DLfEBcg;N&h>Kto-?Bt<7lRjMN3A4?OH)1r;MDH4qxQ1CcW zxS5h3uV|bG!1UG>ao|%m;l?KEyel2U1(gRYlA&~OQ-&YVN=K5#dLm4@=-F<9m(f|o zWBTD%2mI@tzaxh;zBV{38pAW?W#G^+34V+o7$l^NQUK-ZBX^X&2fu>OV3Wfr8I2}` zN1?r42iz_>07`UE*_^FVDv%4qUrG;oH39yD6AK5Q;;e6@aA#_Sfau||wv%`QuRs`Z z2_;TL9_4pGVIf^fg!Kbg(u+tzC@Qu;Akv=2)JCCjAw?a6R=iIkFg}PN`N+@+j^28I z_8~x-@SeykbbUyZ>cm^B1e^oTh7gIZc_mT0Mh04zCcBYHY|LJC?lbNp+*tKD>D=PT z|0(2#Yqse!Q}E9*knVRm@qsGfmRA;%bqr+BMd4||F{60%F1Dpb)g$_GW?|hSnj7y6 zQuksamy;1*|CwlY+O~KRUG7d2&*7D@a{ljnE!uKLiu!J7f?0BARm3sa7 zvtOF(H2)@%BSJ+_WP5J9za#i9j$jf_ZcQox_n0vZwmF(!P^rXZcT#Ow{B_$OaqJ!z zM_5pExQx^()=slHi$WaTT-ks`1n1aDr{5*4mRKX8>6tYk>14@*Z?W?w7N21OC2fN5 zvG_iVAF-f+6Z|!cAF}ud7XOH%OCr_!LZ@NOd)fUh@ADKeJC9-%T;Kf}_m1M;;{M#k u9&mha>cI4YsXTs$r}j)88hwU$3Pz8Q&K5=r&BA!$*y!Zw@aUex?0*66o+#4* diff --git a/oe-core/bitbake/lib/bb/cache.pyc b/oe-core/bitbake/lib/bb/cache.pyc deleted file mode 100644 index 8ecbd6d909580389e8992c119db6aa8b94b748f1..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 22607 zcmc(Hdu&|UdEdFi;ZvkYkrXAZ_HkEQ?NahCwYyn+(XG5$@#U3QB9%)?wAEF{!jo&=|AM$p4Yxp3v;~sZtqVH~qzD=m z37Rzjq`%+qyZ6pe(#9?@cEy>a^SbBpo$r0VJ3W6iGW6pA{F9p%m;UR;|8L+M|1pv( zKAx*PcRSB}?zX4;f~yzYPLI3YxT(!r&gRcGVU@RMDz}+5ntBnh; z7!JAZAs79G^StcQK{kf{ZtIAv7Wt^x@Z3kLz3%p~tM<9iU$S>uJ@nVhwR%{c@fXYW zI_uZUm2E$1`epxa7#;X=y?M{C?X>FQPS{AwNv+wKNqR8SORv0KDd2y8S)Ri;o8v=D1KyDqYYLs`vY2=-f z_(zeuxY^tZFV^?(z5L=!FJ8R%>W{qt#k((GEVo*5sTDOV7n|V=m1Y!PT&pE(*!jhJ zZSCUP+QkY1Fw;6nhB3xQmedoBADI|dMmH_>U0$~l%zvFU?}A~r5@`%*-XIi zgh{ztPRd;dJU39U#azX!T!dg=$hSmv(3T!Y1{lO$c|;%ERqG^?9?)13nk?1O%PFh1 z*BVK{wQEe6uc^?EOro%S=GIHN*8#y6t^|UvmZ5Tyx+oFiIHJ!~~Qp0g@ z+2MYx-mHeDYS@Z@n0v!~*c(YL+Z)%IeTgu!j|4~bS$sVA*@9c|;oO#5@f;q`)>`kZ(Ma<{x)jcjKg6L-(WrE{?{ zynwvMP=GVcyeLd)ZEqM7(WNp!1+Y4lcNeueV#F4!in5>nwd5t zim+N>tmTa`?!ZcdvyG|h-;G6z;sFU9q-ctZafRbvB|Ap`|NrwSNufB(q#SR*ke{ar zm`52*B9UBRhaci`ei-w19%n%Q`ruI#4Y{r##yOH{axNU?n_SyN2gyU!K|aBr8BKzA zzHfrOfCovCenyZG-6BO0WCBX;aXBSEAXa#Y5G%LJ(PF*4q4T;C?S&#q9icGWD3l9d zN3S;ScLUE46XP=G_=`^ONwg<~D4MWA+R_f(Ah9a@qtOnFWgHa}A*uhCAr&9pFsx7U9YR=%AL#z*7s9WBY%h~ z!PnMG6{(%jrt(AQ0qW4dj^l^C1g(Ko?a)DnrGkSP+bX)PUg^$|k*MsGI@Hf8O&x+J zx#77JY#YehifJ1w2UR&lozfm)<&mrs!%0Yy+)b4*XdR>7?KxD#3BP)Fq?!MK7>-1U);T_1mNa+?6@7Iuv_=HpJO=cv*t zx83ieJ081Dxvdjv6Vwl{A*Qwkt#L%Pm;ggS2g7<#sRqEort)zgWB%d8NGq{dBg=p3 z)e3F{s~>Y8fDT$c=03n7PqUpFg9XMO?-={>Y(fAfpYVySa ziM{8KKb=)#*Lmfctny?>d+aN1Q;|~_*makn?qd~aV*bJjuVysvYS-kw#La@AiV`1r* zEUm0OeZZNOX!p2?0mb6^0MX@HyIy9Q-B0WwTbR5>#1F8@m+9^t|YdUGE zRBM17N^f(}k8o)3IQ|}I3KMbAdkJ6G6bmdL_r|@c!fCagFIWp}?eDaQmX1G`vzpvF zNS#V5&jok`Y7oqxE9DvJK2mugv{_%wI`n3lzAV$9Wd^d$V3rv=JjfABXpS~~xPIht z@#x_qWPImJ#ts*cu?S5KYF@h3an)o>Ag7zi=AFzk$FmhqWtkIM=46&Rm1Q2wGN(|N-f>YX4)LnEVYxa;m@Udd1tL!e*IT4e9Sri zUso9H99o!`*p1Z%(D~f2;;U6nKaN~*3rXe-DXljIA3X zK9c3Zo?>y|Rx^%kYmhj`8_9$A8Z~(6;}C9?2zIy@E{@y~$LZwP0SLkcn@phNx&TyY zt~0ru#CJ_xb>HtxV@n)I6U<|R&!Z-O1&Qk!1g{yzcMzP#{!l86qE3H>ad02i=j}42 zXkC#>$uljuODv0_@D_q)I5ngrqV^Q5D=KlY64(tE64K1Vf-94KVN|7~ zK&eGp3adti5rs0+v>mny%Cb<@4s!!#r1>gfsNL^z`=*>8b@O-5xcgWEK0UHuzQPRG zWcNwCUvc=XqK*T>(7{0a0sG9~`LLcuH4Lxfp^e~iRGamIEz&M}_i$Cm4DY(#cirm# z9qoJ^;|A_Nz<>|Nkd2}N8eY51r+Wo6T2|I`Qp#_T~htDd(dfeUbbNe6A zL{pgPeeOQYOUwe@y#LS!>;PcQp!!ujwEL^x>OQpXK0Ni9yN?6GQ!r~_e74VT_gm<6 zPNSc)el|KRokOGV_7+z6!*msf8#JHi?_B4460?3zi?L(TFmCYl2~H^M*-2Fj!A9f6|8>l@<=iJnNpd&C855mGa;x6s}o-G4b6zY(sxcEMm zk)~ysQfNn-mVu%uBSo2py4+$*so#C(Ts%DkniEeAmYHiZX)&Q-3Ram=qX<6Ag!g0t zE@WL0F*(djgCAoZIdyQ430+)4naN!ydrZi!#X18l#s&LKKE{LsBv@kt4~+{Bm{1A@ z>r6h*MD59*$Gmgi`QoHE z(K~_i<7hpG|M_Pd;0}YcOrAj^NS8{uNKRt-2Pp?73urk6b@n>Ppme^}3D|k1 z3!h-;mF_^tl`ii7QOvJ&LBRb~C2u2)KrsRg9~e{(!Uq%|aQi4-WbA{`0mTN~9+TTq zp#hLyw-F|Q&r$ao69GjjtGPyAOF&@0AD+Q;BsFbBxR}I zN_goO0w3$EF-O*{lUJ#1OZsY zTlBf;9S8k|_0ZRkQUt==NokGeS3rMhi+qoK2-8|6RCIKQCkf|Z;snnj>LZzOTaZui zZfO<`)lZq6ZexI>LnPB^D1yz7i_P{@bV2<5c!AQAVhd3p5L>pEM3RcnVdG%R=7ohy z_a$$CUlWmGZ;@LkkXnPB0-5ar7rp2ukWZ+8j0|GMM|uv zke%jnFBw7586~Hc+~7;i#NUe<8dCN}xHJArnD}y8`5*Kz!K4iN{d&t|ZM z?XW6SJ#`qQE~Fw_mzs^x)O#>h^~dVUurS2WHME8b=FwRk4~lvEd>^Xn&5aHCZa5Sj z7Xj;npJHDUTowD;kV`2z#yWD$oo%dj6Cy&gR*T*#?`wqQpcR@NiQ~OBUA^e~BUt3a zlSpi@=87u8;Sfd5Nc>hHuQ$u7h!9661GF$4uBsNZQpjOa@NcvEXOIZMjqo0PK{m2P zH_TETqL$pOXWlOwJ9#OV0MwF7&22eLtY9lA6xtG?E6krV=1=jB-$3GubYcwSFEu$} zZVW=|73th4OnDQQG+#m%j@oNs>_&)(+&|k=1 z#1uimKl26Nrh+k8*axWYe!(5cYYy!dq)G0BR?8O=ZuXQb;_Ml2R%W;vj5*$Xn7T;v z{0L|tfZOh2JX+e?W{cok06EMQw*O+*j?q)Lxr!lvjA3ff^O@qt3TeOF|D=|E1iUIH zUm@caJ4A-O>Nn^RLk;kRyb49Tc>%{7klG4fg?(c4`OeSk9vLFw7;yNAm4FGq ziur9VyT9S^S>>valdq;3uvHlm1m;Q3>Fs|=42?^?Q8dwUV)^dSSm3wivk>{5^CEeu3kVvzCk{m(t~yO6JF>BrJ7QlG_Ep$mAa| zp?ENkO;1KZekr!S4tKP9VdN8UN-lso#JZ+Ap05q8LuBf9L*TlKb*{jPlfXwW z_WJW2lG9LXY=;NN^NXwv>vb(XfAD(L+=#+B){RSEi{M2>Y+^u33Pe&)lVuqPmz?3~ z1}g(mh3CdSiy^1clPVLgYSlgnHn{EY)|z{YxU{)>{n4%sqY5?}d>NIR9y`$ffjWD( z?aCe;=#7M~G#g-)lVp|le3ym5FJXpf!MkJn^IXqy7&bi+0%Kt6BVI4epAoN!x)E=v z2lj#2*JF%-+&f=51LKB5U>xm(`BS|ppD2u>?I_0S^G?DDI#J}f6^aO+7QYe^G(A9C z;FVCCAqq%lkn>{i(KQv(Bz_LbfDHXs(rv+~p9X328I*h7DU3l)Pxe2I|CMQyKuqge znmg6|xn_e0=_7&{`psUs?h_$>hHF@0FD{bmK2#Y0eSQLJMXW}%QiFO`^)m&+$C<&? zSk1>Yb&!fvI_7JV^sh;+Qy8+{VNleA4x%K!S4%bnB2PdtD2htNm_839`qOOW14bQ) zFpj%>=pwOvzL&Y}^#*vbMTNLN9yA?|Q#ket={Wo9(0o*wT-%21laju|2n=|Ra6$~e zII*H_#bxx&A=QSyz${)s$bU~*r$N^pN5&J&$9?z&g5Sct1~D#N4q)4(pxR|vQaiWN zUrs@~M@SO=T<qP^wE=AW$1J&4YgUvByAvt$zId|=HpgR4A6&apIQ%P*bR}t-k8aI z-)Q>PCP<(bKkwfIfrOv{m@vA-6=m@7+TG2BAqTvU3s)LM=VE_)eXm|WpV}_VOIJU- zcxCDG)hjCtW)@gLzJh{+Z{kUlKwm^o$A#4)mPu8N8J9B+5L+SY8O}(v@PH& zGSq;-%8O^z;D|6fiqy-n0_b{J0hHq-^8SzT5pVaa4xd#ZCvODs+!6X`)v~DS6lGrr zoQOhT$6&v43-27j`&Sj4Ce2e_A|4aP*aP-8UP^$m3GWcKnk1>4J@U z0DuzU2sk?yci&VufLu(P^{!K!Q+jUSjcCCUF~v_Ov% za2A7@A4?Q=Dns4B1jFZf%4pIVxV9b?%f=|Wa53i0HGwdTi15Qmy+r*~KJH+<%WFv) z-kwLJvpDm6&_d3w%?Bk_wCYQjjQ!fWU%rbMnCNqQ-fv=v=w1zUMHWuK&`|y~yjUc+ za>8e72^fDEXPmz2H`}Wt+C0x5_iFXJk8qTHi1J?2B>7cv$$Q|#v98^8P$h*2ccC@< z5H=_uH20!>ggI*2WK)dyu-0)&k&l4;;gl^?siQ5frin>yC)F()a{B59}svvPh8;%lF z;^>!=0pq9oA?HUY^_Wm%6MVu0Zof_n1Z{4+lk&AlZ9@tHNIw=`IR-|pvVT#aU z6ctP-$F2n&LRzU038LQ(tB;6CSDZ7D37{Wz>f<{!sc`spES47GgQW6((MXE-K7zxD zQ4%1XI0@WugcX>J<>=t~j$S!_y$5}!h#l{>@bVZWRgTC)xpJctcH$hZxfKSTnU3@t z^dw0mLrXL|SuFvNGPuq}cKH{XyNW~}!i*p~e2<@I2P#9szh^Jvve1qcrE&CNsuRV* ze`8M}B+*b<*ZVNOmdxllz1_Zwa++Ob(U4gm-BCo_9!=^BBLf2U)arU1OhBfH;$?f}Tk%F{kaH2;6@m=mL> z0LFrG>4}>$MZI9n%%ppjf(?ygirVx;OT*c~KG}DE4oL+E)W)jUBM3vCU19* z<5GX*J@ufZ+oAB}|FC0WSTuU@`#?jL&itb(CO-!1IFeQ2s{?=e+28?QBQ7us-^ zX^@>Q7Gq^v5Vs5Xta80r__%2O+Z_*Lz&2vpgN9pxa)#EnxfJClz#&Kp@g|a-{J#$l zagDxNyucGR_ck{DX}$&?M(2$=K<{c)>U$<$vZ&^`%`ote1ZF&eWR40C`M+O_sZ04{ z9#si~__0GBz=Z0}2Cl{Ya3ArDaZE$I{d{G!jK*r)$;?roi+#JC3mcUK&T_9D!&=&D z-bK%+JD-23XEq+WRXR%=fGt6bv9cZm=z$_c;JG;N=pJw$lW;zRuWfJflkEYom80#n z1Jj7`a|KmNwlB&hR2=qM4*J95Iv_IHQg_Cf>4zUJ~T+1C%p9`w%gC#W% zS1-pIfyKoV^NeocNSLGT|DzX6GMW^V5+YV0M({I%#MD_b18J*EB7%RG0JGvjT znJnBdr(0;Isp@wdGv+iZ^a_1=tr~`2xn+@enS&uhw*irlt5M z-XI~M#+*zjA`eXfG8|fHDvnSiClQ1)?@<*Egt>?lMFbG$Z_y!glZ8>rBa@7mcHeOL ztfE90Kf*h4$0I@4t^ilZMJhzZ$M@WRLvt#qd3<@^=2HlZFKdZGr7dyBT%qLdN-;HyPe}i72W*V zNOV5h+J6%*CJ=aA+Fg>?ZsUVS-{tHRMU@Tl%sIqxA?$36A=<|+60R1LjuMy z?Y|=@eM54r+T}y}Hb(y#4~0nY;9s3U#80s>19Tg{;?yUR{{CN5@H)yL;B*qmc2;^1`9x zq-cNPMC~}@m$8(bk%=?Xq3z#GZ>;cZG#xIUydwk~{Qq{9^i5>t!+VrdJ@__Sr@48_ z@HXQRH&8$VPbT;?CjW+s{Ci(UuFFUCdl(YG)@85HI|LUSCwRgP`a!hj$Mc3K3gT_K zjP$zacH{@gPkrH-JOB~KJWNhzAc~OzdFZOK^+8Hm5>*duI|W)nB&HcjbDRx6IOjvH zFd)TIc(DX$I83oraAF3?dyHpRwoQlw)h$*0b;eN9Q(!AXy)|KS5Z%E|;#c$sSu;#@ z2XG<@+Zp%fnAg- zF)G^FCC4M3hay462+XXl`HHjD^;C{tf!(xHMhhGH5ack*QRaPzB^Kk?$e^L7j(>_H ze=Vd*l)jUi4`(3+ID2O|GGx-?1vjo;$BVhrU3CL)mCLLQ&a)E`!TC$mv=)uYNO}rw zIf&gQoncO+Qw~TTm)Bzb{ur$q#8wj7H8x(Qs@$teK&YQyUaGFyJr#`u^@25u*KbYm zZsKustP?%$3fGJ>mhEcFeD3Ut0N2WP$0m6Q_DreXwAWP;E6Jq={{c;1Cb8efkOu%n zd;u9mKoq8WrV-tElH#?GzVs;sxb)#3iuo~bK&3HnX&rmADQS>evP^BFrgnW_%4%onfwWp-)BN0Dc%&2F9ck9 z8yL!UB|7w{G43DXtNXaV9=sSZGkAIQ=;+|+=;(>Tslj7|qk~I>!-LbK#o^)MkqYsR zUt-f7pCi6em}hzi*g)!)y^cP@@Ef3#<+Uw@N#m8h*ZetYpd_6gVAsyxj$htENOL<- zA$!};KS1;X5Hh`3(pZ4+M#zwcEchAZW1jGpguv(fJ!3jREyJFoHG#j}0s^p8uYv(myyus~)TkOz6RgApL z6<#v%X9ZVzeT~Nu4ag1K)AqAL>B#oPPPvNTBIHF_y{=`oM^B^C0IZG8B#+YI#TNu0 zLQ*Q57#jM#AcG$=r2fxJ&1E4>;yjtaq_~U#v)63@7yK(p?90WWi7)s(E|p`#84JR7 zV27uvmKxO;{MD4<;kK|+#)5F^Vw`h^*B{sITwsi(;fFTgB4MxoWQ5tt$YKYWqtHim zU4>jTx9hc$^t8;gPNaoc$+*j2WKjX+dUnrmoCj~!cl(_pazL`gzfUGY8gR#?G0YJy zco9=!9siL?X7P=EB;jB9CJo+D>0!?gA~BrA2}rEKleJetEQBE$qk1Sq4nwA@u6nM* z6>+FueCP0ue+mh8Xs|2i_GeR_ZvM`zH2WbuOl~7XGk-$iDE1mS^ftW<$!l@ReQ$Td z;j>y3t>Z11G}G~l3$#N{1Z@KGA(kJ?x*@=q3O1p#B$wVP z4g9SH;0U579%GkDB(;qOVj8OH%Mx&b0x>PdVi>J@Q8;@ym^X5%kZDD=CSH0w=(wVh zLHlKNY4g{vuvQ9&e?~mvYF!#kKdHBV`Nl8QZXOjeieDWU#l*gT3TFP!l+-3zL4qXJ zaCmNZ`xVuk0g~Xfx5hX`+X?l9vR#A!gK7R1_r&=e#HN`tXF2;bOop%|6N&8FhG_RB z)+lE98kayKm&6)1mokxGIt$+~0do-|Rhn=TLhv*jae#KaTwPn6(N9fU!1Exg!IH1) ztrR&rG)nplvF5@!fAgl+-zR&W*4iJFpd79agAo5`huql5>S`~v`mE?_U& pPmjI+6lRkUrwbS_GZseSH(-1(yap8OeN$(qzBu*g?kj_n{}+>7X9@rS diff --git a/oe-core/bitbake/lib/bb/codeparser.pyc b/oe-core/bitbake/lib/bb/codeparser.pyc deleted file mode 100644 index 011ef25bdb5efc6d0ab572be4fb0db803b15aab6..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 15604 zcmcgzOKcoRdaj<~Yba7AMT!#jut&BYwAUu($7vbDBH+NNaM!g9wm(@k>7 zd9kZUA`uBOB5$k>g1nF*+3X=OVB`hlkQ@xy*+VY7hXn8?NOBHx$|VSp!v=dvzVEB< z8Bz};i;$9Liq+NC)qmCh|KIz=ZnAN=|=rMQksu2@luu-!)nvOSSZtOD)jb}|yIBwPkP4rXac^VLe?&HmH#H>!3 zppOH14bQwA^qUVch5e>#OleZ(0TT?U@t_HEs!W++P?bX_*rUo}LsE{IyLk4f35HB~ z)GT4{!@P^e_ij940#Lfo1S6fMCrtoS$4xNSY07gA=cgyIsMY_$zrr+D*2G-s%1Wu) zn9lNY07Yxlu56YnmAF5-sD&H4VOPQ^YDU)X!;SOR_+RWQp^H#oEZ`Hzj z*oaGUwb_`dkU);vgYN}=?HUTq;*MuFo-ntKx$T)LEbCgIiB9qYTsnZ8>p8Q)E6=QD zO!PJOoOiv^;ouZ_j&@s2MsRIC>bp#aq3Z$mpP%MxSRcjZrF^^+<|~+MzH0N;MgS_q z;JJJ$2rz}X*~-_#n_(^As)m&?-&}HCF~3t$Sa048Pw9F0oMs0hz}TGOpvqj#dcMli z_MxaQSBtgIE? z3@Ai)6otw5dE?&R%#hcUnf3-UVi^UAVkMTfP{CTRigBRuZpO5Zr7aobTEH{%%W?8$ z>ezgoHLE>lwU;-jL2;j1?Ki6f>IkjOm^*knXI2Nvb#g6Z?q-dLKaOvOcrRXk^`bw2 zdH&kP!nNYuWna>M;oOBcF2=ZL>==r2xwvJr0hl8ea2c;#iEs&12g~!PPS{iVrDi1F zy2Z&?cvGAx_=9+4dJhWFYRqyNzf+20vg=yZ4pk{M8(~bgmCGWf9an1>lQ5>f7F45^ zY8dHu)2e%`6tAeV+N?G-Xsx-tj6Pi5AS}0+ozjxvKpHA?Fp|d9#S-*xH$;NmcWY4W zyyqm^oLG4K@E=0qje7ebAQB4_&DD@t+(HFBfMkHVj{SC0jNhE0P^^NvS@BvT!%i8p z7&39!nD2r6S#zfc2t1JB?)G9F?Vp z;<%LEpCVmkUrV^9b-dni7mk@+P%)*}ECum6x?Vl!&tLQgNHZ&wPjmS;0wX*RS- zTB3Laoq?gXTDNVQtKv_xIEX?j+|uxn#FDfd_-Fx#yTL@t|5heKy{qwQG+Gj4dWO6{ zD0bF6=uLWAuUBe5=(tHaAHY}K+z*+4I5!Nh<^Tj84247-2*B~22J10+Zpi+r#vC-Odn7ur2Hnnh zAo?eEi+-98ImAn}({AJK4ag%X>4Oc)n)TOtO<^3SBLLnxgaYtT82im_pwVb5j05Hl zY)<2(>50coyw5-`mSAPz7kmY7fd^AgkyS6c0=IJ}o{*@%?#25#)p(LqZ3Jdxmi4*C zQ|8W~xsA^NeT1pCeiIcu+(FaSZHV-sIlEr)@LAv!`|o?A&pq)0N7oa;Q9kj3htC41 zbReD5wnc&$f(gO}A-=jf9yEMiuUQ7eCRlR8usRC~YdeeBy>@-DsPogb90f}upQ$w~ zYf>${Qi{SrMox`0!m}uhqfN>G^U_EE5FV0xN>y)_<+V7dElg8SrK~0QnMX zsLvPsl1H^Gx5?EoKz!oG5#U6hm&3O&bJ9D7 zzoWPs#FaymNpIBk$PCLqsLVX$9nFk7Y~dQx_q@Q7-}*me3-vN1m6hWFj#6bIj80{N zLGUU1Q) zhgI%1tAYv;gU{UJSE$#}AYcVM;r1BG!abOz1Nakt&fDM5nDx)m{ip}EOF9BZ+!N`5 zfE=fngr&|LVbvZrM*t4zh$v;-99M}+oq0e{GlZsIvwf;}y!C%425x*)Ak<@~<`!p( zb3iZPCcsyybk8G1;R4N5Njs`%*YA1wEF@3&-v2Zjh-p95)3`{VcGa`%KlAWe-~x;j zYOzoxXMxk6pt6#+FdhIaw<6g=hMv)LIIYljWz!zT>CGxm_;#7h3O)Q|5aW-1QQ&*F3G7uNEempWB9Ld z1bkhwb3p^0nr+Sn!J-~U%V7(5>{-4tL5#@+8ODVSBbjU7G58zwI>x;N#EQ%qkm9J9 zl$pccct-C1`S#LM2xIb={Nf6SmC%AEF&CS;I=N z@#p1>NeC)Ec#dBVBoyL;!^2rcprWu7g6E+IH#HG0fB>$G5<^y$g_u{2UC_W{pQBT} zEy~#{7Ik66_$|hd>QvUGRE0Poj*!PHr_hEl1|&=pLkp&`)4z<`F7VL5gmHh2ucb5^ z@L(87UI8L2F6UpZ&IBr44YxopU<+vesZ0gwkpBj%niFEruo1Y%@1%`Uh$uAJg(>Kj zE2TzI3qQuoENM2*%&^*FFx7P<4NT`2;f{&bU^sc~rnEk277{)~n!5AjAex`};9tRI zcY1z-m-z0qev$i2wYFXP1QmHxWYC0Hn3m^2junfP6UZ0=qFAgqgLVy<4wlGU(du7C ztxKV5I|c*(90vbmd_`fOH`15O0@V>U$$z=3976@y`p1<#kFPz4B2nByrT37bgVy#+ zS)p5fiPk1bHRSnRA`QmSCDI0{(0q?XH<)qZxFvd*%QFPNw298t)@yo$=u&Q1Yr#yo z5mt&z?M6j8ukFoo$*xsMF*(8S1$=EC#pY8fSV(XXP9)gjJQ2pN$6=G5$MFU|4r-4w z9zZB(&b`Jl1PYyI01N7H<5B6Mvoc8t0;D>}-EBRK*+I%VBXf~d&RpT%!)dus)Kfq0!2{@%WnDM$zoko`*JOe^6DI3UVE6oPtTf7fT%%oo) znwsxWfeyCWj*wA9+NCbjoJcnfC(|~|AU213+$_4Dy1KU6a{jlReI!l%{p>><+-^89 z2#WR4+R}39B5(mw5AKT)G8II~T^I8aE>Nk^hRC6-Dm$hn!t`5U-(TS^mSSuAvfc>H z-!KfI05=sh3E3Ec)d4P`2^aaqD; z97ol1I}R0ys)Mq5en%8Zv;QW#?uNk8BHYBZmY77XBs>{_z zsg{T0GMh^v5x-^%&TW1lgZO0@t1R9|;bZ{(5o>NTn)fMIipG&fkT*Vnh6p|zc0PhG z__C8quA(i79nI$rdkS2yTQNfzub#5wF zzEekDr&E`qO8O|B3MPO}lR!U2&SZq_P!SQIkf4~O1C1V3NyX5UsIisa5no=g%*~{m zMRT;fC#)sskWr^{(ny`KFfFO+QJNi_EHW`E+Y&=%C-5Mw7z__X3o?|?p0MJj^bxMK zkGC6tg~b{Qv7@WC@<@aL%%)=qae40I`RlLy3w-8X6k9k-4b+X@;3J)|f5BId3Bw`x z|41frv$wexzd%Ru3gU|uhd$urP@kRz0C|oQ3MNev@W}_TGig908(dU^34@_qhXE7e zN?=i-ad(mS$eN8;bP4TKu61s4nh6iM9@uaJ{=*aF-r7cj^k}DouWuN97AOpGW`=ch zuT%Z4O(SZ8Mmg%vy8bDto>2qH>Ck>w;zSEvkZyvRR;-nCch;%)Yq~`sRfVwT%mBr3 zrDRw9=TPzUEZQt28_toax0o|zT~L4oDIL@cmx@;kZ@pJMH-Ak--YV7Bgx$qrr3NPo zp7eM52wgt;2kjOd$*?PaUEe~upio;Q(RC3D?Mhmo{(~a#qDvC~E3PfmmOytz(_{GG zlR4-OWhMa^6Pa;D(}QSpph{f(CER5NIuCJ z!Z$^qKG0~30hA8znA_#gWAMMgSL%m+B{B`Uy}6OxaBdJ;Bw!eKYwn9t;Ci_jh2oUN zC`RE3l2OPnAe-=r`~n5>L1eC=wTr-Cg3R*7gvQ!9>7ubRfK+e5atDnE6eJ|AUyjDl zfP!`-b?2Rbyfr+4mtL>aF())X8iK`E%*18lDF6ZVRQU}$VRV6{a{^%hCOZ1u1{Ahp z&t$7_9)~yz09AUNF#O-3z`5Qj2&cIY0uR4g_V_mxUk1WwI=BT8z9$ey2|S$NJdtE= z!9$o&AO^Sv%)RSnzSrH*bO~t~Q|=ypz}OJ>i-;?T{WVWn+Kt1+<+;UirfoSqc42xQ z1m8oFbl7}^NCt1|HNS3jf3KNy2E$QQ#Te_HoMVfB1Skr5#wf9f%9v-;i1E0u5s90Qotsy zyxs^mTEKL?7Mm;;YG0bTVN%W>M*%5cJd|uBlYV2ETb3%knQ;A;N2O5-z>NC@Hj(j@P&Nv-ojdsZ=opMYB zv>@H}*)a$f%sOKwsWM!gBOt@{I$PC`-0%sww&U0>8uOl_ zrE&o=@wuaw-^OE!%zKo1_(f1LU@=^ok38u@mhC@;QuL_3$5e-tgc7nzXIvr)S)?;A zfrLHKGwuWyj$EAq*5bg`nPjBB90{kb&ft(0UV%eaXK?(AwQ{TZ-)a+E{b)XCR8F=f|Z7V55>L(1D6mkI7f^1(1)j^Vc$Uk#=+I$)X4SG1hnX|a|>|T{HA305xwBW zv)4=N1s39yaZ5uCaH$Vv$z1vwZ4N__<*QqTW72gk7u%%Xw~%;uxd|ZPZUn1R@d~!G z=ry-(_!L)(nrnJadM8~jp7gUx@<6^~1>7RBRN^N|$m84(Y$rkylrVV+LawpS6@;N%aa2_5G-CSoUzHV>gnB2*YdypNm;Yt<#Uex!xYscT1;GEl@=T`F>s zT$Tq%2Xy7X&wk``+{OV$=d)1!G-e%VD^-bbMo$8%r#X^VV`nAP{}}ImmJ7@rgu&^n zocAPCh-f0Tc7>5jhc#dns1J>V!z%YmJUuCdn;jaIcm0B50cCz_kDtr8p$rz zfACnSex*Y-aR*7(1l|1K$K^K4h47^Oo`}DDzj=R{T&V41P6XebbITft7qrB){4rnTv_z8dYrf z$3>omd64ceTkprIhp%;r9-z#%%L-3A^b&(5A2fsyIxE{TMAirW-1ZQ?3Au}pb2{JZ zOo!P)rO*=<{eMo$|7(o*IA_98&zT+0q}{+7`V?$FAt^sXVGp3V-eB~C1Dc3S6vO6Y z>< z0W$Y`U(uz~BJ2Myd%Vd)ej$;)j?g^~%IS^>+MM66kv~S;jz!r%Co;u_`#LJ7ccdpb zFfx$KW^pXj{qIMJoz@4ves3^4j5Ju*JA@tR3G6S8;#(nbaNYXxy@0R%7(+U*`Y!e& z@Uxu1>0Zt)ej-<08-j_4&R*DCxaYE0A8<tO`k&Ztj-cQZ?XM7Jn z3+q!zmm%KnGaLWt0`Y%H_Ea?37zePw;0ev>3q=!r#el+$FL=}>nHOI(=>d^3(E1me zfeT5JL)6$1Q@9Wxt?g*$rcHczjD3Vasu%dq)r=2q>eD7M7)Va!nel;rsovv_H^&W*Jicfy~`yW=9& zMy1xq4~#m2y^apL(;65eN#q4-lGx^#qGmmReEOMunMbH?a%u!SeMl56N2PKZ3Bt}` z?q^jlz05NvoqfP=!a#w93(_EN=6(6}$ES5Z(^=p;Hu$-(PT53!R^+VY7hk*b=EZ`% z;a622cVQm3boD!`3dbXo^Gi&zhfzSR7RQutN%z<8Pa>jIvO~z2#{V4@8kp~Oddwa> zroG$48vYtA32Tz0b)WHN)Xn454nRIf-RGYE{g-qKT;u@T>r#odw{`sT%Pku6IWC-~ z%xD?WQY_h`OY!=@#{n1|yPviB&!g&+ldrP2z=CIO{Et`=R+Vg2s>c1oM&L%k^ZyQo zxO9tYB#{N#ixrn8PL(){l!4&Xr^~Vn%j;7$m~gdcP%(W&NZ#<^%?NgbMsWsp80C=n z1OSjH)p2@V`$U7de-!OU0ga=c%cg#p12JvjwywBXLSDV0OSx)0CLR8Vc+Jo8)n+J8 z0u1D)a<6Q8+cA<+W^s+hO%z(=rbTKlUU9#Y7(gqIx9JyY`b~wppoK@{T*d;~{J7by z=?9TciijD?R7;dxB07hGaJ0sqboD3rM*axGan=3yL5HT56>>imbvBqzQnj(vblb3b zJ}AoRVEHFle1iq;j!bOlB^S6C>tE!}ITrIQxF}oJ09QMwkCMu>?ldLcL}O2*NcZj! iLO_mWDLh%!Xhp}exe;wG4(29u&*h#O@+L>d3;zp@eSgRR diff --git a/oe-core/bitbake/lib/bb/command.pyc b/oe-core/bitbake/lib/bb/command.pyc deleted file mode 100644 index 9f281f7b2f9602784aaca69614d7312f348e251b..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 12927 zcmc&*&2t<_74O+yt+Z>&vaQ$r%=Z-#W7SHBYIIr})ys=PF7gX3%;j#+b1qt`3RCq>(iv_8z!X*`+ zRpIG^geEoBSv|)o@1kgLM%kvnuieXA$!O%q;bnJ}gp;9ew{ND&K@@7&kKHKFblUd= z?PiI+@q^609c2SI8)&x|Wj*#`bb6pukkVwbJ8&-two7xl9sLJ?+u0e6n2&>>@laWG{wu$T8j<{4=wB4jMO;S&IAS)LhPcC{`LO ztV;!oVE=>7tf`%OsulIYd=W+4#ovbe{fVAvH|e{+IgA6Cpg5TrH&#Ab;*p5Yi|AMkv2t3@qO({ResN~J zw)pgqC=P!~mhD+ZaMazJdKdf>?bvUs^y}muZb5{afSd4sC~4v9s>6FRar-TmzQaw= zDUN#bLWdpA(>U(Wt2Cx0kc3zJ(hkOvtryf@Yg%dN6>21mb?2@46UuR%PgmIEmd93i^y8leZJsOoG8wp2VN6p2h<) zwc}*$(YNJ3DvSaeVamm>&ipJ(J(?PiLwHZHp#PQ4%Pyd1{bo1SyOGIKKZ}yM8}!8A zq?33mN+K7x(uo#%Lc2is{9s>PA*6fcXI*_KSmpkRaLD_){0}3D6X%oPdlylkwcyB1 z$_am!E8{rIsXNQga_u5Z{A=L4=q!M`=mfNv3%IxwB3ApL9R5nSQV79Wl_jci$-pL6W%CM7hh<00?hWAPKLL(@?^qN03 z8jDrxTl%n<_-R;75xi8Yk1oxiYA8h@JBKFIBTift$WM2T&?5|qImLmN+n#SUl#kP( zxxRWQ&|@m1Xo~c|xp^J<7(k+YMo_Ry>9yAQDb!>^iM(pW)aM#E(%B#hy{FlvjsmJG zznIUXQAS!VC}Wi$uYx2lGuOymAD?!XoJMWMnXfH?g1VH;&Y9X-sV_R`P+xHZ&U<=o zv9BMafD)$9l~6WUOF>Gxra=y2k>hVtmC`pWP3J|qPH6g6rO^UKmO3H2yk|Ru@PpJv zfK$3*LJyHIkK!hq-H%f337y=?wW+T6%Ut;Dv`Pe_iSP}`S#)n!ztz@yVPL_-%&0rZ&(5nk> za3Hihwpj1$pwE1n^bdBK7!jiS;3ZN=iY>N*yy29JHN2uT5ue;ixb%eZul+O`T3XXLkx6J$%+%9;H$myXty=?;(nk(V1_cCh2E`YoTaMt6N3l@}d9|=e8 z=)%!oU^GL4AV=FJ{COA)endEL0P9vPm`$Pz{B^~SSUe3!G@uKyHlSd2)y&bJg@grljEjg8bH?CHf@fryEMwCAV#pd`+Hi=%!F?wr@cw3qrA=uqBk1Q04>+ zwuRCbiiL@%6nj1;6pI%Zg|a9VIXc-{63UWLTGG#Hp_~?qoTcn6OV7(fIVEk*2<41W zRnwO-HdBY$7CEWLGAaS6(L?Bg2Rp6HgT+CBCpjy&_teyJ@pQk0t*;t#k=uW^D8 z{-1cosTLe4cm-pI$R|S%L1(6Td@_R=QwoD_+2$wmh`H(U{;ug}Nmm+sJO!IMpE~ID zPq^NfPmE?CQl^zUo3w9>iE2%#oP@B#FfuC|z zeS9*1{b2sm0+d3FFb6ltw*qD}z7md6`$9Zg6fA zslX4EHHkZ9I&#W0UEj=Yx#pu#=2tLE!RTvI9J&E8GK`|tR_?^s z>)zGPjm}jlGlV2d(!(`3TGMOptNx)*KS-eoXpof;xA2|CCi3g=ugo_1oAfZ0aF`~8 zG4#wi{0^q|PjYwxg~WDK?ovdEU@0Y%9xGM3h>)SBJV2?qoFXIfBfNHup^|jS`FVQ~ z;RG>PKo?)4ASgkGf>4b~i;|m^XRBO>*`OowbdlA_H{!L8t?M_ouNK3K#BbZ^MRI{G z>?Sb(QP~2~2MIHn7nIb61lTj@_xI5Ke{flEKi96Ev9a_l9TQFijqR%Zms$7W*D3%@fgENp&Q%ZYsif0mrgex90# zIDQ9&EcT&b9b8w0!?+@Rr?ywx$#+%HJy65FZ{z8#Su8`oSmkE! zuPDnOPOmQ=VIa?TM6stSjT6<_yIidJF{rNCNJ*@Uk9z4oCI0Y>{!DezUY@mm-zCcz zb9sJOrt$bJ7v=5RiHqjKw{V%Sp@1REV>Gc+_CN|SFkKVlj?V!l#=D2_&0>6phDP{K z;Yd2-p+&*_3dYNk1hIhqWQJI&uK`}NC#N-?c9HeQ-f4U}c7V@W;1|l%DmhPiYNjLyb>5D<@>aK4LOr9h@i($IU{!?ne}*o{4$652k$#9f=NDV3B_uQjtV* z|CkT8L13zhEQ|oPabhyLo4G;aHz9A6nG2}c!zg@NO>lYqgn;P>kK@aSMjrEQ_A9D4 zSbK{F<4cbrkVjnZ5d?ZfGG54HmxX3AU_pL)Ll&GvxiG2CC}~Pm_j_Ds6NQ{EEVODk zS*W#I`E{mJZ|BdN6&mZjfgc5FOib(ofn_QG~?7#~h#uMHC6Or4n#Jh#pcEBm}Y?dy|^l-r(JoR!T0E zf6AQ;2c({Ov#E=v67^D?WXH2Jli8PfyP0)hum%~C>v1e1{P*f{)m!kTG-iN(Gn-NSig}Xt~Y@s8?Tq)E+ zDBSaf8(&)}bYxmAg<1%O=~m%Jrlmqhise$MOPgbhG?BJwM095H2h)*JcE>i2Y*If+ z<9DpE@0&##q8+wlI(F#ffTKqa-Fx}zHGQ;cT%)l|qZ)@CH7Gwfx=VhIv`f0q(=(es zH)sT7gY*n9&G9asIb?k~Cw$(+w%@$XMcw4;CV^63Btn@78a(L3KzqG7Nt737UK%SE zXMIoRk;qv|1qh5379;ZgzV`jlhFXk$PCEy|$cc`4Dduvo2|-N`(=`Ysk{&P1X|JR#=09EAu{f^y4}`f z2d!g^%^=BE5~STI*kPawgX_bP6Y(#|^YC3lUbup}!@r@!=x-QmhfhocqYSY>9il;r zs#Xn=D_Vw_Tt~chmH7W##MuJj)%{o^*Q&g7d>BmSrr??|T0Jf<$`o9s^INN$#)avy zN;K9gr*ZKbToW3r$8~Eut`d!I)if?mhgG7{t(?Z?Yj90ytRB}&fy?ydbf`31axcz= zhi;sR0CS1SWgC_Qfp(26)H83(+wr!xy`AkQ{{`X#fpaaic}8)rc^AA3lA(B&=Q20u zG&nIW()Y64$dBPaWt+(k{6Fi|Eblo_sb+H~_=O07(T zXU%k6Ip9Su)ZQ=)Z@7bMJ^@oohMZMK`F zP4`J^@8|pdoij5aCC5pif0hIe-t*oszxQ{4-_!S}8wcO=$AA9bYLfr!U{mJa+WNu4x zVN1NPNoKbubK8;&+v0s~GP^yQ+mT$@(HYOqm^GP^UG8%iz=C3ANr z7w$^t_9PefBy)R{3wx8fyORrdCv*Ff3;U9}{mF&>$y_D5Q0dfuPjca&qV@yHg@Z|b zFu8hfQd^(A%B&6-uLFL)uXr8w>!ITH4!@2RuN(Y&e^T3+)ORLVA4o2hlG>fghm+*h zBzf_|gGp^uQh&&?n>(?GliHT#5=*$X6E&LDwmE8hC+bL2+u^94ov61YwOx9-@NiPw z?FRQIS08chL!C^ICbheq>8(kfpU0Bgp5((N_w#LvsqJ-EhWvO^ySwP!zE1hKC$;@a z{f^}7J6v(4lW;Vt-P4nBpp)>t%V*9;%sOJKv-25I5wV7d8?EVuEMD*6wN}40y)@gdHLC3q z)zDU+rFLUBYxgU8x;^cvh3QsScc^~7-fTNmovvP~w+G0!(3-#AsMT9p+jUH5*IZC9 zt)=GTQhll3R&S0s+Q+A_)w8YL@aT#8+1a`Wl5OmXKEBkLt!0~fV$RV8hLUaWjmsNu zE93b5#6rE=xYVdVKi#fg>0koQ+i_t6&0U?<2gG=mlXSupk)0%du)@ES%hmdV=Csn9 zZe;aZ<;InIv(lWe%(p6YOjBcFwqCi^;4!Bb>RDyFMa2A4v*z+6LOPysfPF#elw6>vbN9Q zGCtqF!o;1Q_ndz9)AA0g_zKg~zEWrKjg0wm{gw87Wk##kor+Y;l4`-yEj+q|b!c@) zELeJs-(ti9;0&m(cLu5$um3>;vHo?VebClRM(<$z3j{##>k6P~sFb%vcMyj9)^zi7 zKy#znXg8*3y{6h9%(26Od{g1|>dBR*c5VJf)4M5a&o8_wbFht;j;b}UddaIkajmhi zP_Lbvu3nqI+?@!1Jhp zX{Q4H$;+jrby3f&r9893WrukZ?sJ$YVe-3Fb8GT)Icd%788tWET

D5v_-3aeTg6 zZ>v)aP4BLZfwtr{OXDNzSQpOHJ$el}bN zI+9$blJ$l+c%lKv!w?NR05^1p19v914GwG)d!U9ktE|`qTHhkpK#^OMnpp$*BG>}O zY|l9ZI3u_M#lRJrF}ScxOo3u{7u|q60PKef&fqR_2FkD}shKB$G0ORYyUhuZv@hoY z;E-Sdl(~}B%m9c%+V7YHNzIfWHVLY)Ja9@T`EW{*d&R&b9ZIf_h}Ee<_Zbw7(6Eyp zNNV>v00(r)frpaXhy!px_d5X3^MC`)$%78S-#p|1{LNtp9!YAW4m_%TZOU+nl{Jcf ze!2-}$SUloN={G$fmgs_&Qa|ruMn)ZiE%(1xTqC408ogXng`g>v3HFFl(Z&chh1Hl zT!lxB%mc~taPo3rGIsIq7Frq2|kWzBFl)SRW z=wd_Cda88uY|;iyKt6#(HYmfZrP3>F#UQ=BHqS{-S2rcEtV@>nBrmU{$!*Ci>yww) zBv&^lFPm#EE&gOOIl1^$slUA?xi*-zwo}PKQfhBat^!UT$JGtV%LB=!a2fW{_Rm-l3+2lZ6xec-g^PpAuH7r!}qWiYw$P(GK#}2~hQubn1~quCoR>N%NrRls z6rIwTsWFEw;Hl^%2@#&UuSh*qq~7OZTECIx>iw$bl}$qCcy6Ne7eL|TZRuu|7qAHjs zfV(g6{G-X$x2k*5?WsqT_G8J_w<%@{u_NFgAp^#KM7wZ26VaZT88zp9^aPw>3d6fl zKLaVtL?B69YMAs~YR%8hHnMg$O7wf1(=#xwFlddrh51&ya%ea^R6&TSw=PXr;b6&J zaoMAl;Vct|ICbp&vFDCfPEEt@*50t>XhVcJ8&(@5 z#a+IqEnfU+_EzP;wNH_+JD{k}T~l}6vm+FIqn`D&Q>o5QXPGM)HQl}UgXhnl8#|M} zQgF_rv-8z!CZ}hcvp0{xvbXcBa{iF zZlj~4BX6gW830!-PIf6XpMw-oZ`QP?!CAug_(gn0R&QOex29V4%Otm^CBjTqXFwwG zar4bfjmt|BX})P@CKW!G+=ywIxYmT}^!C9ANXqpVAo^K(@s(-V{z?$5JYnQXB_WYFPp1hqltK=!F z!dSNJCjcwIT5z7SV60hMS|C`DcXcpBPFQNY4)u#2q^&idIi`^@yEiRe7?_A2AhlgB z=3O-eRC#pn50jhTqg;`d5qgQ%DeH-eW8-HhU14>8ZjPyO_(X(L2^6U&)U8|iZy5!p z6{S3+$AfxkLwZwRgMfCR#j&&_4DHokp zFlJSNW$8LSMzT9NGoyv@gk7qo?aUw@K4 zS){^}Lru+=A$E~p6iDQUd}hrk{7R|F4R=Jm^Csd3r!a*f92=Xcv zDt)CjdAvKha8$7@;tT)Ut8ug9n&9AKv0(2aV1}?X**u-}Gg;ziKb43dg>Qnf=`*L& ze2~P=PW)$1+>%^Hgz9(V%ABR-eR;*(lC001ph4p*0v4S84l!^Ge=bHhvQ2GE7>i*= zNM=0M4oTtTlZF5|yN8GIcO_SsR8|ltYt}NW@&K^0lc$co_qp>^=Z{T1Ym981HX>^G zRlrz!MfpUK14W5(G8$X4w5LF{nGqiv1XBaa!V6$mzX<(I+-$a|m)+}BDwgz}Jd9C0 z%EDA6+fm@I&>tFuRp)ByNfkN8qYK9ARlV{XkJUj+(lGouzu7)jY#<#1NcWffa#XSz zbh5Fu1*BuZ)n4u(lMnEs739bG1khvv;?BV*@WmIzD+pvQZM;$z(iLJLwVdo0_OOHp zfJMGYvuISngW4MR24-o;&zv|p_1wu9PCjRj$$H_Kpn;;omouJ zl3-G-+@58)*z~+&1#&P!GxJ&9+MXa)*Ndd;QcGo4dEycEUJtN-mDs=+{ku`{Y$|Pz zY1cOBO#35XbogiX3lsh}{V6AJV;yoVj_}%-w6>L)RxJ*%{mHepN$aHLQm+*So>&|$ zOB(IXak5N$OO5Ctse4R(?UIfE8s1T;>;~rdd(u_49!i z0xh}UmxBP&PAPhfP#Qg6o2*D{?lGF7kPU6u29nmhOGt~I+<9PKayh0Ys%(C-$gw_Y zHA+a2CXpofs+*N*D53T974f%Tm0De5UcFhpS-GrY zmAoFB8FjnvT68}fk%$)3qS^0Y-)9@m`Z2?Xaj1Kv-cI$bcd7|apW)FRuO=;pgGtQG zw~EnDRjJ%W*y!=9Q)jCM`6`Sz4MZrhrX@M_~+v7k9Ix9IX5fA^O65;IKNww~V&rQz~sh~jWxRd`vy!qMjEB;aXtdhfy}=hni% zPqek8vKXdP4K#07Y~!p|rn8&P>J_%s{89#UrL-~Mh!S+dim3; zWawwmn=CcS)~vJCnuo?RFzHGiv|6XGS~i1gkMgHx1s@cTC;N zWxKF7RFo>(8k&Pp2#AxNo8+k|DjQ)8=?) ztD`9(WoJori}I2OiZMtnPM&q{?c()h5;kFCWD}D$ZsYjy;YT0KD#MTDk4*R=H~Cd0 zQrqVJ99Rg|Re`L8DbB&~)?3I?omg$ETWTA0bx-#Eb9FuM1T$5)GKx1N@$^2DOcE?0 z9=5Vj_$3(;L|D8JHOL7G^{K$lK#4Rzwa^SUUzjzQ{F=3Mg`+_ab7<~cpt~@OiY|Z} z7_QfXi>#26enORK)@D5wQym0m_N|zUZnSW~g857d2Cg$oc7z4gY({qx&D$#PnH1

f}{?Wcb0aRx0MDq3_t{Of;hfFi(HgL;#DSI#@-yDxo1v#DrEx(}u7?xxT+M-6rIP~JNZdk0%@2oy4eNl3-8B7p@M zVKdlQ_fs(+uPy`aKD@5*Ctye(bQ!MM^$sBTs+QzSjz#_Hc6bK1E$UlxHnX z0uAqZpYk$!QPuLeLScX$yZE&1QA)pGCMgN^N?5Eqe*Dy#=T1(YIQ!glCr_L| zb9Q{fxFq;PVV$lC0ZnTS!7E^KxSzPi0MJ$tG72wmfk>$cO7naVpU z5ebjvIn9ct-=;R-t;ch!Q@Ae_*UzHuN{uwv6L%gDEBEo^%B9^uU8~7M$X-}hm@8tb z*{WyrvuN3jYT^6MJ5Du%m5Z0)&%<-;Qgf;S@44(MXXmGDYUI??>}<}^;&cX!I28*0 zEN!WE^~cPZ)Xf<$sVI9Y4C=J{93Bv?v9%ypm89QZq|qa!5_Ia~yQI+bh>1nverk65 zaUZa0kKKOZ(<^b9cv5>I|TAjCKCZ6MwlpU zxq<7+W9%=C4RRwMv}YV%%HP3y-FK|ipc=e1La^Ql{waaT(C)!1Ex%JVVeI0g!r8(p zf%$0~gb$_`-lYMIsxUvWRT$F|`{_|>@#D#)3V`_oVPc9EN{0RFm(hK~{A%_h!|h-P zm=}p-m1*(H=Dgv-CEAAHVP$^iDz-UGQwf%1<4(*R1KL4>|+w%intJtrNO7dc=OkW;__BS3>&AqFr3 z8tpGq5^$|e8a&tO2@RJ1C=a3g%0qpfP=6=1rW0D*39U<>SU%YYmJrV$?bx9KI2^n9 zU?2M>kA=LKA@pX>)f+TfdS^cXsc<^t0;s~B7pM>Nj<*K+BMP7=YA1dia=oC}@DSJ5 zC9R24r^iF2JRvd~sk}+NctYM9Ju!pmuJ9Q7WYIA;5FHu2`0)fMjJz|&Kybwv8j?Rn zr(1W@E%g3$fuG10Ba<^rcsQsrYE~7WcSp~GC?F#Ny+#*Dw>Pom!F!JSx-F>(k=5p-f0gtDXtkyI-I29T(ns{q@GOq!V ztfz+U-5RKj8X~!bKLuLrNk< z@Af3GP!DxSn(M~+A?)?fsT2bW-Q6A$Kh|jl_ET`NGg+QVUfxM77kXM**KLK~tZXIH zdRuvW-z0fxNV7ZCx3a~dzQv)w$>l3bAG>%_jVLqST@wrYb$vP1@lMJUf`&*{!@y<% zhmqb3heZrHsNQI3MNdQGr**anNQf{4Pw4ci-lvw3gnB1qdL1(!|4G> z5s72BEd+Ad1J@R_* zVG@P4El9Q&&9kV&9P2uI*^b3sjhsl^l$jNGQE#RTKU~x!AsNPUQ1wV&t}k3)2%ilX zE#^d&#tjhBsAX2|1?Q)6WjVvA-e_KwLvk`z*v7sh9XI#-LfFel*QAXI{dcKX`Z>M+ zoF1lJ;sjfZ?qXK2H$9xpylC`pstvvIglTB%Px><|{8>G;nCa(vn7yNbS#16?XsrMt zR#zQI<><1%q|73q8i}hdmfG2JAaFQOa7AAJ)h4Q%m_h@5UhH~(p&+hTL|m-~S+l!z zsI(E1x>hoM_kVf6xI+l-=F)b4?}QiJffK~i~ z-SCFe_Oj|x9b3t3qP>&OX$noWPksfWec9X{q+8fH1ou*M4WaOAviw#pOmC9O=v~sn ziAKP4QU-z!c`>RylT3muRO2lq{jWjDmp@U?8#U|d7C%&u7EPid!L$lXf#fcF4J|Y` zk&|r6un|QXlxHVoJCA@Ai>yN+BLfL~57QHMkf8UVue|4MfJwd3X-?vQrI*BmHYt>+ ziW;jIJ#=yv1@f{ zI<4eHn3|a_6Jh8WRkC7gHeW)T*^)0|{|X}9t-5f(V}q^2q!J>3`*K zPJ|g+PK3XkN^!6xA}7MHmQ4>gzdk+u-SRE;Fu1US)`=d*q7^aSMJr-hw8h^o^E0{l z(+NL85AS44W#@QwNY(4nL*YF68Ll9Q4?zXnvQR@01%{&*-s|cDOkc5Qf>)qGl}pJw5(+J^r;G|A!vG z&ttV|fzWM13(j4;+(Qa}M5N#n$%*|0c9izwLAHV%l!qV-1tAbo(EmW@Lg)|%3t z3T{LGB9Nf`K>pIx3E}Z9BsS>-3Rx`=u(PZPP)<-g0zD!+tbCjl%4VtLc90i<^zd}K zHS<=$?*jQVxxExwzG7d=%8kNKj2es6cbz82LumdY%?95kNDt)>Ub)s)<#SxrS?e-l zUHexLOsN8RhOk=_UPW~f4(Hv~&%1R}XDI)J)?SN|tl1h09^nr$dnU_2dplWU2enBfG#((VMyDd(~8w7bs(u=e+JuyfcNY<(ZvSHa9^bh^G z)Sv9^R=W5^GP!)x1)+dr7vEux&s&NJ)jf8xBCWY<0+~|NdLNkRspI=md4F4{9;Drs z^$^ji2lo#;B0a5KlU@R8bGZa`QLDo{;9i;GymAd zpOeyCQzF-X5nl!)EksXDciM_PF>Pe0htj$Inv5e~aSEFUJthbtg<^(cqSy3J^zv7j zQwrTSr(fdW$8@P!8%V6@bTG;5Awom)+H~fWdTyIji1OmYkjz-)ZMW7##8+3(H&f5e z@*Ay9&}OX-=VxMVP$)8S%r)yMO$-41Y0v#m_2E0rN?J|Hv2BiJ)9N8D!2*LlQca#yI zL*QM8K#q)0jO=AAXVQ^(5LbsC`0L`v3B2>o7X&7ho7{8-nk_zJ6!9lqC%d@RcG`vJ zVQ?DGB$=`>@tpp)wYJs>&yqZ~^1&Q;;{BmMcX@?O^6i1)>_FxHv(q#6*(V8OOL?hD z)J5|n<~p3?@VhGddn<2}NrT#(q4NH$eRH<{WNkXTQm8c~r%_o^-vTeS- zqSU`q)ncwzn~~ZpMY?^px_PAa^3kDKL>n+$5{za`eiI7Ea6P$j5uwO3Hg5caw1 zRNnKv%QqiJRb-@2l9%1BDzx4$ie;RbNe#F^E4u;kB$x zKA!wCOe@O(1KY`QR#}3Vbu_rK4OMGP)-)#Z;uLGH~&&} zOI_%9v#d2l4DLa?2kRzw!fP?XSTbZvr!g$+@LF7l(w8iJUM{$~n*!v6uHIqa-hZb( zDAhuEH!S|8-x1K`y-7y-|47d`UKK)@hD}SA>43iWIW1k>)pMc)3g$_9p|l9aES%WJ z!$bNk1&sR_a4)mMYzFT{>C)^&1`$k>(YF|XU0P*Gu;TRzZRX{L*1O)Rsr0i$||z=E64HVE#uJA^z-ZGxsQOBXKxOnV;4D`Y>WWp?PP&A zCR(Fn!&^3}K(@xC%c?8YFuZLG8@$BsH+4v38j{8!>$GixxaG#Vt*kPAo%5kSTZ*3k zDDD**{YwVhBKkVRacumV=gy2jbL`x?ljCC(QcN4ORM+^*LZcl(F`N)NuojwJg!7xl-c2NZX-&~rPL*@E;m^9Sk`|;eg(Ux(aV>HqWSgJ0D>KPk6!d#b^b@o&30%-c zusL#9J`b|QVbkpQJDN_qgbQc6NVW&o6N~#wMcMVq@)JekcFK;Lkr+r&VI!YPNsTbV zp$#a~g%W}wR}c{6AzmmgUMNj|1jiO6tF_5D(vuCA0K*$jb4O1gDM&wZ+DKa8=Nd3i z`n9z9efpVPKGoZSx4Q$lqk^L70Qyi1pqjnkE46p)ascVlp-h`PS0gO`UWuQ{nuyGL z0A;)_KK)#J^3=&RJvlaYEmGn9UrFutu;zR-E4AE1x}0^56ELs=c8u;m>6bZ%(^i>e&Pic)MAw>;c|D<}))P zKIWHN)hfrs@$THQ^XE^d<9NjQB>l);WDnNU$ZU3YD(CvGE?#IB4rskjF%PNCEuJw( z#GVwLh={_u>zaJXbnTS;9!rXkvT-%u%JZ#s12dd{L6w#X*;IK8Cz<}GQop21w7fdi zZ@HyapTh;ns_SZ8Ii|)oQ_F}jTgXFuRQ+B(eoArQsagcexoch6Dhofm^vg;XN?dC8 za?z<)IF;{idKV9qkUU3k^U|}6y1;uux|$;dlP(;r4hU?dP8)m2a^>b(fr0i;A|5+; z>KO*@5AnODw5~K#I#}A?Hvsot;kln&+sm8Q>Bz)(tdg7_)V>iMsp}SlBU6$^=E@hJq7k)04-KO`J6TGFN;gWNAaWwsiNrXZNJyjp^BI!HwQ2Xizq; zHQ;8Ba02t@5R9dN%)^eay4d45jJQSHQ@UL)j#gKcLFKch8SbCRfl1dpND6cpbvvAR zcyAeT^}$!Q=1~A?AQTJXP$e>tp=N*45Fr(-QUQ$QPgVyGw@{N%(Tb6=nu)IhOgQ|$ zR+ezH8;3A}R7pyNWi(nt*>>hGmM7#H_zcQtkRkZx%Md*~mcfjKlNo@=$}b!hq=-11 zClKrzf#-S5c`SS&&m%}#eoT-sb`ig7@>-@F0svtNNNqLDq8PYfGQz6eNERD_6^x1n zJ+cXy4ari7BlH>8qAlpRN#nlwb4EbD#4SWU)|^$cw!HVPrV$&NPmXY7Nk}|AKmjA0j{I7}% zFfCG;nCsOJVB@fxA`))cJ`G@f9QYIoYwMV?i%)s`6q@4zA*HsGal_o(F*x0Yi=^??{3Bk zZuY@rIG9p{M6g+fq2JmzG~B@i9ID*7(x_hXwW8H4+@%Re%dYM0zeAmChd7gqnUuo{ zaBDDXr$;M|(fX+No7T88Jv&6=nln)Du<$hsY3+w$`9S&sT3Z(w=;8e6~Q;hKlyb;#tU%)UDcN@ zsnMgIDm0QeZr%7GuQqcZ*mOM|@TIwNA|$5B5{F$Gtbf2#EZnKHy^JvEa#o#QxDAz@ zB3CL_^;RS?s@;5;M-XMN^cxcO6$1&PuH9tpVIEk(k%NJ8NN1_j(`rI}4K6bazElxh ze8V2j0`Vws;)hz$J_LH6BJ)_C&SpTD}4 zA}8?D=Byy_m%$^(8ZeWh+C4Nqr{LC)iKc@)AkU_aAeZG&idx%bh}P8{qfRqGxv2s& z4@m~6M7(`_gae*VaGF)5u?#U|7tb4gtk31{<>L~2$1WbV1P;T9;=$PJCF#_%|-+JE)5_Q1-Ou(W-OKQ78VFa?FG5EVXWz1{+&Ef9%BRGvg;8s*IhP zIG>*FY`pXt0nL51nVwMSKN1=r5fhhg();W2yI*mGq)(}sbd|SKR>@vn%9_Q-5Mac{ z5KQNNH>KommaM^TLFv~hi>4+$r>gsSID@9;jdp-3E0f~C87`udW#9@{o6@TL+8I6L z`dMv>y~HPLxcQZ{K6`R*cR!?dH*!^HQ;39gNGvd5>8YG7Pv`8f4NVip-hikAa|Uv4 z2FRp2-Ig^>;&-k5hf3?d4#0A6sh+mgj?hR+G>D6%oy?LdRU%>>12&Mc=< z`BhEk?>efLxOuNr)O=j-uA^DD=?K2VkEu6doy2XZe&YX{u2;n zt$q3L6*{cPdOiM_haIBw`zz!UUG%TlN2{~&=?Ap2#VpHR(h{$)7o75|;x&-fUixj+ zTiBU{8LVZxcvB=1@kyCWaaECZW?(Z0qAi#kN9(?gWP>RN>#|=_h zzC*5+(l=P!V6G2DflMorAF4eP*OMM2W>Od99X6bqvmv_I$9m7M^{S^Oae&61=o)<)Y4~=0r)mML!J@0ZiMCU#v5TiZ zw$XE}@}FrJ-AiK9FEjsUB+a$hn6|K+c1i-p4z&|?q%KJBu?7nxcyCP*xXA@{h2Y5- zUD#n14E_n33<i zz?iP!rZhX-^92s|#BsiB?Tjwb)kRD=XmM3#-B;gsL@WdCcr1vqAiYh}$EhLp(q{?@ zu;N-dS1srZn{`DADzVy2BL;=h6&-(`es6$w1z{`qVIPRg;;MoSbxMfVvoC@UVS@>I z)x5eKPOb74+Ne1x_z@E?kvCXnFq*NSd|U!sol#&SkA+JyoqP%I#SF~iru?20`ot}Q z4{6R$Xd1)~hGJEmAMjqiQ8Vk8N*9q@9y1>*`*XO;R8*v+oJn6$J}F>Uc}mkKsCcL5 z(DVV=mDXfysh?YiOdm+@en~;7AP^>C3<}J`0r{fhh-Q#$gY>(7s1QG zMLWw=B3EM zu6>$O5W%gP5dm@4J3Yh#;T~p>mN0(eK}!A)m3*U5PZO#ivo^%Mm>5l(ypNbP)Lis4 z?BX$L?<-B>4XrEbq7l4PV;a7x)R~4|(koNRKvcp#9UK9L&KC_V{(UUG?&Ha$BhF43>4O5}0 zxEnsA^iI{>5+8wmTKwo(aj8s!7ql<|Tg7E}5)a3Nip$?E6wNEPNJY+_rfkQLKX>fK z!o2L;k&e}Tz|uhIH>l-8j&>X@B%b(iin$GBodne!~CPfZ;^e)`z>*mLUGB@##E0@@=%n=Gi5l|cSpi1qJrLH3lx z>7vk9hgs;cG8x;wTQ$B#kF$F8DYFowI}rDWaG^$Vkx{Ka%bR(M32xk|&z;mI+uGlp z1@-N_=G7e&7mDK}b6gb*s{)(|w_x5YuH7MS9#_9zWffYI_g?~31gEOHRmGV?1Q13E z>G+&JELH1X^x ztTHA|0siEmaOcwmWMJK_>pM7~vlbp_Q+Z!mH$-oP2`$INV54$xYacIHJliZmyKACmO+au z$vzGhys^(ta4Oq5R~r0ca+7aM6tX4wd9rygOcj17Fje1Xrpg+4u#Pq=+!Xz4;$ZVp zkSi(%>~TLNoX#r}sICE6lh6mDMj)XwN_^Ggk!Yzhcr0`fQ!6|A$G#aW7Txlj3Z*cWe3~G)e z2gTKJG(#7CK~rgQphT|sHQ^bzi;oM;x-W7r`ba7HNMG`ivW^CE z@a7u8>g-eAI_)3{ZsrpG7AzapqqpS^U;AuyS)- zt{EjS)!~6O*?fRGLT$pCfO38cjv#!L0{VvNy?RK_Nm`;O z@nH>Hp-=l3M)azk@6oZT*vwmb6dp0@nX@4F7jcORar6Pw8ckG+jaq11EyCWO`)Hhv z5Z@j2=VUlU4rk#8HQHNGT&|hdhn44+61Ud%0+fZzvFMXO+;Mw%T)vwtFE6R{IdOcw zS|Nm1Y{W*O5@4Zt)9p%r?LlR@_7Ik0ZZ73+JzlbReib!b!JN$Z^YSWImcRe2C@+G0 zNgfbY=$XY3(I5M4eLVpIU6KrC9~91!&(=E)w?vIyJR&Tpb+>R)QdSN&3k~uU3Q;a} zLp&)Zi+l7lNi4hkaUw#*$yrk4RqY?rqe0z`0t*z%((wR=VY+hy&-NwV2#8)IeDVE7 zkd z$vdNi0a9&YWvfoPQ^k>inR7)+i5DnpL8vbMY`NT=Trxg?R^HR z*drYuv+Qni-xh0*i;q-dI;`1m>Gm8x>yz_l#VyD1Ev!RJ;L3?9-Bmm8OEbe~_%CTG z40^X1GH#GyF6ISUPEOk6%v_f)B{lmK*RplloJOr_ z=bI#6>VUd$(h&Y@J+x@)H}hB>82BCz?ExCAWDl22K?x}-50>u4`0INiU1 zUhrl|oB%J@`QnZ~FoeG{0EBg3^L!!K5bPahqA{^;;TZh*N3*d;I+LfQ>Jts;2h7Sl_95jUqQX1PKf>erv${{0_s+pAgAT8 zM)0jiyT{gvXI;VL`NBc<6MKtWpuV}=IpH^*O=unAdSbHKfXl!a92Vmro7uJEAg`-) z)7?|S^E_@1Jc|#5Wi3GKwW58i*J+;^_+Hc$k)gEsTEfpHaTD)@9nEbu64^RyZBv^Z zrbatXxnbJ1<=>{ZE=of|Svlk>l(2NDYumNP%!emNM~{q$Y;{E&ydxf(s!Y#hvXt7J zDo0ZJv8-?!)VHUc@$5vP!VbnupQSd7U5!j_hqX?tl~#Bl=p%N8Ym<_V!L*KZoNC0K zS3&!|ETm`EtvACvVbIMXrk;`@`C|eudnE9U9eE=3fnV-0w$Xid_keGz>hua-=iehD zwtWr*7;jL*7}@|qG2$Q7Yimh{I`VWz2%bUYH6SfQzI zl~PO^Z^n6>sKTXXS5Z^u(nHz%KM9(ip?t7crrLM%+M^0aN@gD@A4~hDfL{7(D*j~w zoIGUYR<{+hB-4hRU}WeR2({`Rq-rZ5x+FF%ceqZ$!AFr{05v!$MO&s+luc^{xUgBT z7TT}^f`)WqGvI*?W(X|_RuC6~&xW(wPY#w?02ejd5hY;zC1XbP0IJjynGh&a9k2QI z%uyzC^z@=z7q=Tk0lefa397KWrT|4a8;cecF9a7?IO?PyXe-$-;OW572#Qt*=)#K0 z<^k~X4&&wcye6gipsSS-JH2J3f*=wt0jFB12ZRhM=8rZDw>`hc-t^ZjBi9sPvW%Wm z!ZLtvlFV!H&CR+jddpo;#((ySgwZd zPp&>t1Rj*sLIH>z(~=i?$WugY-W#rCC0*KQN*~rYF3H%bUIA;%kk<;A=n?$jZT4Vkvd#T(cObQ z4|Qc%9g)A$z-3VqBOe-x`eTWCSgmB{u679|TrOJ)zCSP8x&AR|!6{#Ga zsT}G3e8_0}U9=i#ZVMr>R_EK6c9=HeNq<4ZlT?-ZfQk6Hxdl+%L;QB{luiG8P)-%3 z;2p1BZy9zyvA_ZzBAU8@0V~p4BW7;wE?^Kp(36Aj0I{pzUF7g?vJ0xWED9#}bZ%qe zrt#)kE0_RHaW)@MN^CqS+Tkn3p4dhqVuWUw{olNY+@KAz{%B-X&wQ}XxJb+k`!wUU zTwyWE18DUOW&zPE<&WqJ4sNT08W2ZhLg+6MnBYCPfdw|-uKDz&4iPek0wHK*SEh8g zp>I|^r7W@uSU2snnf2v*l^e#pc?5cv$#k89K4rSZM_is!q$DFO=2`kdk%CD@NzW6F z^nNbmR_7Iw6GI{&vsl1ww4S@IJWG5Wum2W8>A%q9<2=k*Uy7#VTaNghqA*IQR6qa` zER#CK5!N|#`)2BV44c?h;a+xlk9zYJ;SXzVp z^&o%yk*)gqOu20gHdyG~RQk1)O$YS&q#h6Jp$gOQ(c>0zL&gJNqMUw8q3_k>(|UYT zRjpI#M|pTiIzfW)Ld2si6@SkIf5me}MbA1>#Kgz0GLc^WGUjG7~#^okLRV~+! z#04H{g_b^>w%>7f6^3$O^avZ82U@1nA2l8nsuBMZ z_bUxM)=Y8mFUkZXVm=3gw}KXxOpAiNgBhtvxhV{-$L<6eb>}d+3w%ces}ByN$_tIZVgVp{>w#;or-UOHMqXt(4W5Thk%) z;9`4is*LaN6@iC`!FVd0H0(~#t?7SiIa2o8V92;!Nu8x%yYzVr>gaSiuMd6-wg?=* z-btLKhEal=i%fUijNi^ubg1qz&Lz$*aNdU_qW0Ai#RjDDyXZMg+sXd_d+HY2U-N64 z)77GG=?`hct|Vva4=c_n<3|*FhIL7QRG|*NN!{hyWP z$MslAfs8UN?&nK9LWQe?Lrk0vLgxc|M1GES$PY@uuZH}Xg-T^{>9SShaVYuQGc(+o8+itzK->6;9z23F`x1w`X!HP2ff-3!-Lcgfc zPbqYV9zUnY1wDkiJ-c1{@7Z_R)xp}|NE450hVLVgtQ|DI<`Vy1`trmGzhLF^J&^a} zGXF#6D&4gLL`3j}WYQlbCKMpdC4%ZBKNsdlcLO=ItEn=M*NN5dxit?5ryWl?`#Sx0N_?5?PeM zm2`>qidd1r&z-ECN=5d}eT(poVH!iaK%9XX&pX2f?XWPV#LdHSLr(*AVa7gOmwf+-Yq2X4BBJ?!A7 z?kUZ%#QY3hu-PiyyK%K&nyVK#3e@b^8f@jKlu@;EG!E;CTv;~oc4B`1TD@g&lJIS@ z=gAb;3$@dO8l&u;=`MvH(8Jh5NVlsS3WcT_N84D^?^nhj;1QdZ%&UVB{h6OR?asHV zPP+;6K@E1Kz6_(!hwm=$<9AzWS9w2iJK3*%f`dI9X0-ltRm#e~{MUQcY$I@HmA15# z?A1NeNQV0vz(kUEXx(rM3~RF?C&tb};k10OQ*786ySS}5iG|po?}=xvtgHdUQPYp> zP#R#&hJ%9;Bazn!iCj^ioYG#WzVC2-lnHfaTyU1Y!l->Vuw6ahtS?y0Dnk@adT6$}vS=<4v zTe{(Q8y76d8#+Q>;B|CB#LEl(_390XfKBf;h7%SSiL+x>D>Qb|SCc7+8Rg(aUqYP* z%V%$z94M^cf_u($h7!)~u42Gh0Fm`@tf7{1ac{zp902p%ezobJ;p$0g_2n&qb#|KD zd3#J2930mNxr9i#0?C?ZzP`+UZF3AAJ#Krxbu-KpGc(~EEyIL)4^>JY`>?^yGEdk% z^##mWzwgmX-l@j|kDhPm^zrKaIE1xnD85n|2Ug7irB3m;itf z4Rqz*EFKYg1i zgqP*S3lqNRYc#vwETF@;t99y(4f6QDV8cxFIhPX;Q0{&j~xFJd<56}%q*9$luieOCj2J6 z&?g4%Q-Cu!7r$hV2iReqB%K;dh|^1W!ysewD5MWC1>?@?n~Aj!)CrJ1`lq`*|Yz_C46TWh^NVp>m+gQ3YGBzvGASi z9)q=gA#Z4ldrUd)0>J!ps(9?;PuP*$5?3x8V_toyC3{Q9^i-~a-z>28ra-r8!>n%1 z+G;5p-Yyzm+*;yia`B7uWfq5Lz(;$Hm*9rhd0YQLovs$phS*5+1z;RTg&*^tw`=RfGH^&pwQ&< zlKlV1F3$C=W+kun>OH!>TMaThl-guKI^ZkM{-fMLHID}rpMRLD^X`vVeWu)f@9D~C z%8Q@js^){DYJC2JuVXTM0oGH)$@0adeP4bJnlBvUjCd@5(W~eQAD0ju-Rxs5gw=<| z(|r*ddIh~VT^sgSGJ2Xm%{QB@AkrH7>~uEFzC97{g}$I+x^sJ?%>AKbk%1#?kTJJB zY$sHB5J68negQ^H$9+*(+^1%CrDFWWHHcME8yEr{!mmvY(*LTXtgR)Y;<7Sj@?}~h z3Ymtg57I?DCan-X!td(vzHZ=&+3C5N+Vs0VFI4BMrFg9(XeQ~Vb1X326vEVu5l1`&^S+W6 zWe0mp=(f3~=C$Vhjb;>s$KazH_?_9&D%O(%^3%>ABZmm}h$dq6LMXC~B+(=!BP-oS z&8!;F__T4TgMO2!)F$qgY7M&tg*YV7{?I;mJwHV18ktDkzfuKqWpl-sXXj_)1l4K9 zpHYK?nXFZxf~i9B4ObPHvx#im6YW{$6jAj>s|HEFBRD&a{``LOq(A8-wJ^X#UtpAL zTFo$!fAy;tA6u*_lcvC8Teyf+b!edGTD>%A(j|=fMhjQbtl#iY=nq5V~z@)0fj9q@goW5Y?8r$;=YQ%e@yG2$I4U>w#V9lN`zWcEaIt zpzlTNsPbn0mUp3<-{-e&r9J&J^K7FwYAB=E@5+@z8|F|2eSyxAD>{;gctmgsCOnwV zhw?CyLla=?z%1E^DLLqqzC2QY-3E8!j@Z!Q>T*s|4kHT-vz$!l3Y%u9;P~;Qg-dq9 zAdTFQPYSZf6UwpXq_#5ZdG0e-%btT>e$%;233P+kG%I;`ub)tcQ$ElWXomi zX+a05+ViqbfgOxL zw3oWT8L&#!Dj{)gXFO}C)Q|cujZZis>EGEMo3N(GW(>oS&@~iLlaCEHG^{dgyjM+^ zz_+Tye_w@cnI-V%xG}18I-wL(v9B`~ zIQ-nc%;M@}nM3v0v$)!Dp=gti?M+)bYw!-JmufKioAyyEz&Edts(tu%`lv-TND0__ z=8m^FuQ%2%`s=v)g^b#VZ#aA1jT|d1EE&4Cp8jfU#9HgTd3xBIUemmIyZ_@pz-qh~XUv!q7xjfR_^YM|l5}$6;Lz^nyqQ^l!G@GgV6q@L7 zR_MRc0}PX^eZN7WpV#Aydi;Am{vSR5LXR>t(xWJThh9(Vp>LX}7xb9c0|_|SG|nsZ zgdRSpiTISeKzvehc1rxT;{J{v->8QTR{uyL($;1Sha-{#SLVux0SM&at zdi^hYe2GUFvpcjpT*$rj>>R(@2Y9UQTU*{RIWRD=V_ zf(I2nM$DBdJvzh1+15Z{po&I9y?`sFH08934uJ#ZlyeBTfILJ7%l17P@`ljJL=$S# zW-Y56F#J;#%ZbcQRNO?QkAc#A2FgV4jM`=77Z);aEnKEK=gJdtvZLIDoCy{6ypIy* zE^W@{rhh_8`VUwYGaA(;9D>otU$19hqlD=joOMz)Qup?Jueba8o}OBLGfJms`O39X z_%^B*_ImPlTaPcydLM|dF$11wG`n6s7h`ZjZx}~0v4!q)ZE0>n%n@o~f!RDCMGCXk z^BTdp9@>YY{99UZrrOfNBf)J&K_Q|ES0RilF)Xh!CX(wk@^|qk9Ju1$Y-w@d?(9-_ zB{$8@XZ7?yk;^;VoY7>?lzeMN5-Y?wjC=J>j#D6Rz(5<7hQ(ruIKK*ieDw|K& z6X(;yWwb+O8tn*NVKP#x;1MeNUWv(&t~6XFmZZ?xUWskAxc79#>2s zR(DWOzD&|?oLsJQ$sS6O@WvH_;L?P+tx39^+}i9`)WSM`cL@kshvcU9YAg(Oa!!ro zInUvlO6#TuteFBfR^ovyP3aWws?v6cvjKgfDDKHPO=)QZtLGSBWWsB$R>$q9-#u|) z4Ft}+`pkfBkhU&*i=8RtK4Ep^54==X2tQi>bN}TS6RjNwU0WT{VC%I0Nt6os{Y9+JFpJ81;3r zX;mUNtw700HT=MPrdWcpXCgj8pQ~|*TpiIkl@sH9X9tHyrPx9qh0eKlMiICN>jF?N z{=pkaYoC8bq6=vfxw%Tjhtym70DN0Vtk!E3@_m?H%&;m8mC_?ST!njfJBurWCZT*;@Nrw16+asg^< zh54|`>QHIx_63n-cgupnt7>IBq_x^l9{mbj4XUEG@?46Qi6!D0OXRZ&fq}^&99!#> zPwz6-wYbE^FbZ6qp9ybf^i)Q%Fh-iAI9?XaCJ<%FhL02P8H=dGHbSKLX%P?UG0dYo zrKY;Z^={=kjXoO`~ecRI`<8;=YR;s^gq!)=m48AXNXtQ z%(A@9(AJuT$qVMQcj~Ydu9~ zLt0h!SN}SwSbeFlM8%z*4+MRfq<(SNn%k-tQopni;4Z`5?Z`Pt3LpYt3+wyTL z`gU9(S{y5`P<+8QGZ>|#N)iD}@7F_J?fT=zet)|XwA#+R%1iAQzf)6bUdZTMDBRm# zv#Yrd&1~Rh;faAYv249ApzwZsa!fX_vj}km!Pm3Wy1uud32a$^n4E(B$&~LI zRE5QTyDVdn0@g|yxFZmFjcWVh*tDqMl~+kuSXOreq9FH#5QYTrao3(_+n#jG?M5Hb zvAU-S^?3DuO0QnElUhWxT@q@nmw_kazBkTgnI-!-WH6rZuxeS`EaGxom#0qY$#;vY z*K8>6zDbvIobSSPBuVo;ajv1F=6_j_b!z@$g(NyzC(>SRqTqr4yr5z$Z6rX${irrJ z0~hy{2KzUa0&T5i`b+^_unVHANCqAUPQODv60iZG>jw6xzrs{h)j|E!%9$H~oG~nL5#xXd4t#x2f#6rt{JFwrR^?++}@<5_Fd11AJ znaB4XNLD;;Mu0XWfOAdon!XHFd1y0|;%YZzBE`egL_A>5p(}74$k3`*eT$JVk9|u5 zcyU4pRH_X@5&W!h@Q*7lonO83U6xASEkvfkP!YH*S)Oyv2@Xp$g?m3`I4^F?Y_448 zQ;2xfvYF89a*%hw*{-|fzaNp&3@QpE(cg5HID8e!?7lp~=MDHG8J=PEkJIX zCK}L(@GT1Geml8u62|S=jbr;?x?Dq(k^Yf3*T2=nz9v7Q(7)s1U7lZ#oyDPAb)Y@p z<^u}`k8t@-ZxGvaW2LCQcX@ST3HJ-``nMd{T$+=&zg5oJtw=_D+wINF#8r~6Kqo+} z@)7Zy4u4y&h-0Lp=T77*r$#N@T+}O^H>9pHkH=kG7G`PpvaX4ms$Ri~CxwpYM|mq0 zNIf^6C6B#>ak_hY_2iG=&~|n%D91T#Mj!f;~7Nol%Lqnmd z69N}5=#vg@oKbufuwe%{fJhCD6EhVj965LM?ox+q%L8$pgn?CMh%DvqfPVqGrBzSXjg zTib72Gj|KLi`(P6`p5Kywy02kYHI6kq>@YR#;o@S{@6D01~+BJ(Kl$Hiq3|>onOP6 z;WslvgY z=AKoOc2ZPgjF4_u^Iib4rtYP_Io+P0pN)HGt5>j!Sf}A;rt&XH%(uF1tYsLW1PtsG zRJSa{>a2k9*PmzwDzuZpr3hUNmo{;))^7f9!vAX{NMj$ynCBJh+_Q&T|6P}TRhp$fnNdVY<3UeDZ+HR_@yWZl8A`>1IRHRh`kQ(=~y>R0Nj8GGH%8YY`IV~nZ)|O z8rgnv=N8{yNv=j`59F7^s0W&C^S0yZ13;iRi@`8X@|Q=3S*&#B&giIR z>)o3vOtwwHMX|$sa!dejQhrjQKUPiNKJU}3H?vBFV?e1I+VE|0dNPXP5*a7i8tejxf#KbFDvuhh@F#b5V#IOw-Q$A zX6IOKRh0QzB9_MtY+^3o;S;2o&q5$Hv&@#u3RH=;<5qv5)@0IZ`cw`S z7;MDT>`QA=;SX`iE8DfCc`LM^g3a-Cg%%^|tq4#Y$oJmyKEo89q%R5NL}AiV9u{aD zm_cw5Kzo`#t#NCRp`kpgEE+Gjy)5Mfm$y}#WKL!!hc(ICKjIekt%*=c^yA74(hr_c zV-crvLX$4hIGXR*itnIMPKedVjDggRdHs2ydsw)4LuT(iaVsLCi zmCYZd8ZMHi&>h^U@p?TnSpXoSN1{17y0`dNYF?#=ovxuBH7FU0kU8-&D)70yfjZRy za2AGhxsHMD*5y~i=mDlZvtdzFqMEuYpCk+`FqOnSUPi|B>s<+_d;m@I5Q%0VGW&n4 zs(zjIaZV&l79pN@b2mDwAq)uIF2=l>y5xZn1))5#iI52y?c$e8P4qmf??7JPfn<4J zO^#i>?1hIu`!paG4{)pD)yq{1se^3WzI8mkKyz1fPDko;v#UUK}c1U-V=~zrq zev%zEs%~pNQJ>IY8UI2 zx24Dl#Je;4u8qIxYoEE}$|*}(Fp*<=wNC0u;(~g~aT0wIyj4~UIoK>7AB6wJ-w#>tx%cakt!p6#`)?$!@ z1U{gUvAT-u@*`{3gtv{RdX6-@C1IXWg$e!C+c){9X+v?xczDRU+|HNte*R4$0KZC| zPYO4^o93k|8?p}&YEmfVKXC%>3xTio)A8pCPF)eA0WS=AhM~OJ5*9|s_>uiUI>C*TF(JK?SKP4RF!<>FbV@( zu))259$!IUy>eQF01#^hew6lO*&bHN3-Z&NP|bT#fnQcgRMs$b{mq$ib3nO|@?}l@ zAgxOF(sW{-l9<)wEPGI|X2?z{bX*Vb6;bX~lqJ;?rgB2kn0g+oBcc2Xwf{PEON9Z_ zkE;$L9ODvWoSB)?9-X%4ofu9P&Ecq#8VuC4fEk03nG5BMTVXc1Hg!vjwBVB+qw=!z zi3j%;JL_|dgloKwc@C-*=T+=8dfd&c&8&rUNUf_Zzf&2EnzkymO%J1$dllMAtLZL1 z}!Fl^?F|fwHrK5@mcjW)eLu+=f+19^p>$Wc^@&6A8?%%t9;Eul1roK&UcCH<| Id+4$M541e}+W-In diff --git a/oe-core/bitbake/lib/bb/daemonize.pyc b/oe-core/bitbake/lib/bb/daemonize.pyc deleted file mode 100644 index 52129eca609a8649b6436d9f9655afdc5d3e8037..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2280 zcmb_dUvC>l5TCOhC%(E(`iE3VNL@u#a-`yO-4>(@A)@?|3{6s;L@h?>w7y;28=r5T z-Mu8Pk{61^XW%>VHTVLRc;HL$!UK;mvv$%zB_t%yzPZ_%-QUj4&de5nzaBPz`{N*i z*;B;t=lI$~Bm$s=G=NS3q5z!&h$3`~AW9(SAT2=$nJGU9ojDSA=0TL9vjDOJ5>@l? zx&Y<{@rNOFu0d7?u|SNd!1st>rB!>ikoJ@XfbjXm4RppfBp>Nay;5194P-i&CJfhg z)>Hl5@NO!Z;1VaWt{m`VrHy?Wh76yF^;Nb%kSxiKk(pyB+6)OpC?gZ6&4gL$nA6PR zq?Kspt)lMNH~+D|r*N;tNbVHwHqt_}5x2t&l*V+`BV4tfYAYE}Q>Mov$%(5v&#M;sAFTS+Z*-67o38@-$tkhv6FQaRd@9Az)PZ(4X2W z%k&8|Tv^pNhytQAAA*BSowCjB zSQ(v-FknyFi#ltoWI(3vIe9EII}OY#^K-9aY#Di!U%{+}1+%6k?*&=sWt$Suf8L ze-0??UZj9}g_AIr%t)6T47@fh>?+sgL&g6lyGayV4a_JShRHM_g zKOpgiupu2!28^?@(O6}c^^6|*T1s^0j80Q3FDDI_8BeE~nP*J7S;={jE>DJiqjOAK zjwL+nW)EgLOaL>mi&jPTFU_>uSW340mVI+ye5;U!9iNE`^9uf+e2zrM)05g=l9d8(WTGSceYB+~EEm(HYWgsSU^(0q>tm|qVb{R znwK17OT=Ct$8CyjdzlDn+O)oX3yDV^aLb)DZ5)GN+1}h}wKv!ILt= j0%CuPH*%iJ&+Z^^$-;7>9N-UQQk}za6&HhQpg60X>rFr(?zn$ zVfU!3haxS}fLBVq*h6y4A&2B*1o17WToWKU2EOE+V*(@ykOWA81PGAi`~K>l8Oqec z4o2A(yQZqTUjO@1y~TeUEnoWQ|M+f0W&aJ}_Zl8^xu8^_)DlWZ1qIb~)DkMTUQkPg zyk1mGMWr3JKA?i4IvEV8Gr^$RD5xYuwg zR4t84<)B&`Q$blh2gKt9H#nf4<8+5rP?63fDj1c@Q577N$^_35jLEQLDj1i}<0?2L zl@lsBER~ZgI3kr(DmW^Y(<+#d%A^X8N#!*a9GA-LDmWpPGfEfLx~qbdf~2qI%~R5x zk`tbmtoe@6P>RDmlKzpjF>N#(+x zk-?OD4w}EEg0u4Wq6*GQWkv<(r8296H>7fj=UJ#ulZUQB4j zW~-?;b(H#P7)PdDzTJ)*Qgv72#0{fVCq6o&Rrhh2uDR)&b_2|GO`5bDX*pZbxa^Z?&2` zc9eF_239ccN)m6%QKL9@cXaBud_ycv--^=5?PSGmKejz8Z`6YU53V!X0~ozur!1EDPqsCdpzjqN~#RX>c} zdOI!i;Py2p+oJ%$u;Dk|HJ#|0a`->^Z$1QLs_?&1O$SkH?F4ZnbWp3ZNQY3YCULt} z-?1HKbdYIkX46m7ZeJq~bjweSPCB}i3*5wGxJarfdJ8hayp0Y|gLxx>73s%rTwe#y z-9)z%Z6FLeIUy`{3JZ7a?o|uIMp{dETDppbRJSl!(VSh2H}!0D`|&%M-o7;Zo%i4U z#-*)yX2B(<)=J{WY^*OfK$+RPU3<0})@SSWS#B}Y+DWPL!zfJO$FG6FDphC@lKc^f zPNUa?%22*lcJW`_qTKml8@KM0alxW~1Re>E;Kt%> zUiL{zk_LDq)i>kTjz<72u1ctZCctNZQABzYMYW**O;io{QN@x|-Um}WTo*@{{OC>8Wk*gNuW;2(yS>Jt+by@%?y5i;8iKk4h|Jy}7<(i^o=0SN$!pKnSMtgZ z!sWvK!wvrAkMtiRO<_=lvhYXfcVs+&0k7tPAkvWbi8cV59z+U3I2bfBI33$HZz0JU z3R=^$bP>y78bk`(roYgUA-{tsmu+s9KLXuRbUcOMCC~xP%(2PCn*z{pa* zOKTTdLS{gbP}UMuxxRM*h3HtJwpT&3zmSb`7d$V8Y#c8;bOVThEK|snc=Mr7VbyXe zaKXG?7`qGyQ6ZH&5D6S9n=oMgg=Y+lF5-D9JYP;hIy=vqV23RRuY5J?8IJzR1 z5%MKsNBOp5cNuVayWtY13WqSMbz_0z!y2(t6?%Zd>unY4y`(| zz|)t_)k|U}kw98W6d<{}CFU{K`mb6}VA(Z1F9qq#MRA6w>agjHuvwjBsX7hc9i%ZC z!xB!*u>U`Bp2U95|2v$2fT?6#LL^}9%eiH-^z(75FH4OMUzcOEAc&4mqY3xLg-g5@ z#%D&LUP42u@cL%q!Jvw30u>lS{#`qN$01t_bATD2Jto zHeGgqwZOcF1O2E6m^{AWuV^XC-iw~Qg(3^wng~Y7f3T2P8zkbt|6 ziV&}%Qc&B!rEpGkLc->jZ>n9S?9eW%jUkm>Q;(_~nikk&J>T5{sSn6m`0pQ#dG0zfmBWTbbN$U|tk3LV8 zP>Hqno5(W}|0$`2Q^H_(xztT=)lrh!WH`XLbV4;TYL1Jgy0X5+qsn_aUwimg^Hv%NT3B+ zP6i=Mwi%|#HRc4ufrJ%YjO;H5@T{T5(rvh7_ZEK2!;s|^2u}tmI+G|*IipU4Ovnjz z!*1d+AUTN-(oopM*G-TjNA#8Tirj#<6dOBE7=b;5c@MZiX6}Nj#{jiNGt=wzLv`*j}NuXAj_PFw`!YbHN)1ff53 zgdzv!9KcsW?H*812UYSnIk<<^(*s?|o(?PXw{{NBKFkGy%cqdYkwOO3VNSrS9426V z0aQ!QGvs8hwvg@kHIww%pY_ z_1I5>JG@^>+O55uW6%R%$rlB*v;L6ao5w7=SsnpuO_YS`;fQ8yoQ6A0If48OND<=az4)hiHrL z-F}}V=9Xs_lq_%yS%$X3f>4(6mZ)9W*7$Q#Ofa|uBE656U}`^vO&x^nNz(7TI38sW zc_&c{$@S!ul@t-29J`n(@_u# zviBSc9C`T^T~umJ9A7+BNHLlpJCDRWwUCGy)oML?0h1y@Y-=*p_5CQPpWBUTn=Q&O^(Rde&!R~72R3&~v^lFPft;@dnBdD#1q1r?h28z{t= z3Jo=@ctza{H>@G#!Jr-*^#LByQX;N!r2ZbO8=giL$DAn$<`H@@Ih%FJMSreW;6Bf9 zy(nZEt91xWEKpa88X$qMy-46nQp{OaL>Mf)r$?+W2X)w>h+W9Qp2vdp6?JHDz`O;v zso-t+|A5U`!`pkA;a{Jxg32q#BW zGD>>Dh@b}x!Ks0Wjw<{uVt`H9%!>x}zK2c4*m`fVc9q2xiyJ6x%1K0kMDh-@4^Q7D zHr<0Eh93Wp)eZMiVDKWW&?qg9wJbF4!+1n5&4cw{%IFN*F3}9kEmy@?huV_J4B|i> z!Zv&)iVS*7P~<#1s}|v)0Mo!+cT{WdDA;rRSrEoS0e}{8s4*HoHG9gLN@pwpUl``D zq_%%5uIU{IHVke(E!B{^N3&%|z`hxFNnmLggVP8f65%F1 zd;+iI8PozCCu_&dUG(4A2|Y6;LhvC%6W>|^MBLu<`vHES04L7ShkFZ7T%*|zm?Gq7 zNcg&j-)%4{iYvJ!32_acc`UX!D2S16btXmFfpx=(Ej$IXX1E-Fz zzkC^(suz|)T#vZAyG%jWfU=@-8%9j-aOH8een|KMF*!HG6uTK401876t7|t{#Vb~M z5Eunf;azxe^!%vQj(ca@4qzXy!}Wsdlq={v8+LV|5E{bOu?AB8Lkw*?=oEy8E_^or?GRrCh#O9H~` zDvuverR=p@$|fhoRgfSTAJyR_wy2?v_Yi};Pg&5z5d8%uCt7i(**0rZ)7!dXq-G$d zsc0!&vFR#>LVQJ!Iz-}m(TIW~zO*<1ifnG*t8>CC3t~tn$Poh!6b&n_q`#6)bt`#^ z8qS3;i2!-1%`po2WxP^QbQADv4kHD50ww=VIOEPZ;&1+z(LWAVcn0lJMB0NDFzk?R&yeq!&t|%7}15yr( zZv(GV;^$VPfK9qIe@%IqTmCER8Ajh=XNZ|xG<*)>7-XOhsX+e~%h*?J>m;>@Rb?Y; z`^S{bas#&?XB_T{=DvF#uzTW%iUCRr z=QyBF-ow_9{tj*rdPd;(p!Mg-20TR%JTitL7S9n!UqvW)Wgi#^a29bXr!yE|+aE^2yEj?ktzkk&s;?j{{Z<#2EJ1nW#)In% zce4;$G&HrH_4>9^t5OBntc1LPuqdz1g6dAxnivTq$pd&l8@y-{Ey{-X0}k~$bQlFP zB`Ni%*Fb}`?X&+!JHvbozD~y%>^%zc*9o|6SeS&8n?ypfRG6SwD869VC#*PcQb`sX zqMo4JvPAe4)7VX6=*{v;J9MVd5`|6jqwHp;pNM23Vi)*YaYnuG7Xz)#QRJ7%p#H33)U7Qc5`@N$q#6J<&gx~piOloOY|yQ0F!HU-dNY9^U~g5Q)7679-gLFGiiYTqoGz4SIDLWKj9Eblq|6Zjj6m9 z78FSDM=X9DMVG2l>qneGR9(Tx$L*%RO2nA^C`w1qA=h3loJWRaya3<9sT2@K6-EXs r!z1O9!I8nr;K)GdUs-B{W6oHiGEkWqshs$=6C72ZIEpuCM^61OnO$hY diff --git a/oe-core/bitbake/lib/bb/data_smart.pyc b/oe-core/bitbake/lib/bb/data_smart.pyc deleted file mode 100644 index 2bfbf7b6e5709c935ea82c22cd58e4b1537f1f93..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 15196 zcmd5@&u<*peSfpNT<$KHB1KB1C@Im(KV-VLMgNlRI<(}7lo}^7We;uBW=s#3J415G z-C+Ww!B*p z8F?$f4{r>-)`?UyD1PR&=>iY5o`fEzN>RCO(1U_5HZM-U?o? zce_~F_79<8a;gG4=7suSFHS{r)3&zw^P}qqQfF zBCd?)tCyd+b`+1I@lHK#a_?`{!zjoYF^7@sc%n-v0x%*7mnTPl49-BsAz{FFAPOr( z#$BE*U}}Q}A1<(fCwdXZJ;&SwK&a$YK{KyP&cu0g2uBNjb+E7jwTa)Q*&<3|=XO18 z*LQ=M-F{5`-mbUy11y2>1aVAI!(bx_gLWf`G$A+$8j*Gub5~K&+Hkp^OKj^!EHR6^ zQ4uYoHn-K;4dz-0cbtV7^lpiT-9k1Kim-?;ptOUfTwLqj1}gKM?%-O zW5RC|bu5iR6ZIW6W9R{45}i{J+K(Kw_f69lLbvl~yTGY_!Q9W8Bg_*8cgiOGo)#*a z?O{&9iw?$?v(GR4#6A(c)Z|9R?$K9K0|~?}wMU~`57o71Ow3+vk}|VoF(H35?Cf`i z?zoJ;8wZV`OPRFDCmA+_82l&FEOpv}OA3lA;9pVArI={3-Fn>E(im7jp%mL%-qU(sIq5VJ>%>dH}OfcJwc|4CzH>DQOHR}6Q45oWF?j* zolDI;fVW&iJvSd5bnER1q`oTJ1`x7Tg8iTyNsYT>n5o`IXSdsI1tK%Fa5Lc7{yl0W%;3s3YIip(TIJ|Udoen{!3RD`lskl%SJL9VbQKAPqG z((5omb!vMN*@rnLb3 ztkG}`%mw8a-~vs?KvhI9q!XZU0rwvLe{HBLu3}o1D3=ryG+TtW@3csO?>cXz1gDIES>Mu zukLdao@93zfEt~4?M^+S-*9KE*?`|2HmS4WX$PrafWepX%+gtq`suwZwV$plCyLloAyM3MNiLQ37@USUBq-y{F=%BYXE*cU3*IzZ7y#ee|=E?J5z&vjUpNL3T<9w-fP9J7=>kHskksgw-M zWu&21fR_nK9&@g9-ZMap)%*-i6-8tfApK)Rtq4zSoC3$_D+*N*ydb8{%Tj=m3#yb2 zyr_?1GAayxSwRdutV-1c2z^Hx26I6Lz??8<{E8-w8-GL<1-%?XsH?blbuxYTgx*E4 ztH^itG^1Y5M4+pvcNMYignG^xUlH%>4C80cIcxmWs+`j{rWAjjH~zFb0n`~)zH0m# zRW2C+tSU9*pHtBf0cH)u5LEl&Yil=KBb+w0s8!m#Nh93ux?9pN?Vjjf<(5yXVa3X;?aZw`Rjr3yOO zMq&}lc?M%b2bBRIp`!}cilso|96$#~7ic-HVx?7Ns01r{E$IUD?G)9Nla8U85d^DgGCurF`CD#ybT z<3Q>mlsPkx<|=Zp<0aopwfYWAML=P9EL}Bgqnc@gm~N zv$=Avh#8q^5+CBlNmQ(1Afe>HA=Xc&kP_^En}zVex2$pd25V&KK>*5iEucR{EioCg zX=Dr1L0f+eyR%yd*IP;ILis5eh7N`tbRRLB#(>ig{*1i2xb|Z@r=Sr5g_sn~G}9K+ zLlB;wVH3V*_AaLh4*8`s2%hg_k%Bqcq+~3vc}Xw~)*Y!KSUr47+kkl47#q8Sr=u`i z4i4BIaW+zthAM<{rdb+vz^f*^6s`Zr+F57)d8kuZ ztic6_wE*f^A2YCOw#HAn#`KrJinmv=v9OfmTSy}aB=kVpID6yT&&eL3>{{9TnZfT0 zZ0oXIzKFru8$pOP?JknF&33(oq%6_}wf!!<$23tJ#YnzAi9~LrwJ&!QnYmW8p=@uh zvr+3=9J+|N-nrqruPxqKhC)yD!^=ujMRX3|ZpTOl@4yN5gVsCs(3J#HUoFilj>*Cr zo1DOhY{cIR+U`{@$hnOUloW*mNk}ZBsWDlzzL!qe36QYk8aC982AC@qxtkvbe~7O|uc9#d$4-vs#`9xNF*gY{IRd45-Z_cd zOnww9lYK?!Q6w-XF{A37aVn@)F=skobf#>Aj=+(m(nn9C@&zvks+3A)HtA<-6@fow z$?v6~rDJKw^VD_W z0@Thw;hRZ#IfktC7`%uX>qQWc3WPtG>#1`cpbE-?ILtbQ zDi~N8R3ON@u*^5xrYt$kEYXKfOoOq^neM*KoNOZv4Zc|9St6}0r(!@;Y58Cy4$o)- z8RD63SP!JfX^-1iGVk_ZWRH>Uwk)ry^IYnSFSQ->F6ozWL{(gWQeOp?Eqy8D_&($x zkba~r2hf55Pv3>TpT596Hw>-v+%&8OO|*cHYt1c($#=UQ*u0|kn6V=@1cv?E-bXUf zzyStfdm(tRv^K*?LM=)ECMH0-nU1te=TG|AlgR=F(I!zFOg^{cS(zvK*sNu?By*Ne zp;vi!_g&U5vY>W%aj@5-Q|WFO=rryw zUn4lF0dhY;V-}AsjxV$F7MA=sJkir!9NEt?B(!-zGX^^_=}Z>#_Ipg4GJ`KW?A0sB{WDGDG}?eg1PS(=v9Jo!{^D4EHMW(6yJcwmr+Z!rrX65 zRv`$nH&OUym4`uArxof*~C#diE!A5<*6_)k>&5n!WM-~i&l^TKCR&;dOVgR~$Be()Fcix=1aRA>Tfq&z9Oa5e356yC;h z)VkSwDfQW{JFhw2JJJvkC}bU_3sT*Hmo1thd(aI;IF^S9LRMkptfI$z1v8U$X_)OK zeomB(ozpu;!#?o4!quQ+5=~Dc5);vLC@Qt&pBvCUlGh2Z$sT$_Kyd}2)(-BVmd%t{ z_Ir-BqY?3&9L@{*=>h#LT{oL9r~l`Ym3!VEPLy!u-xE)HkYTV3iIO&OnMv+DYhpyL zId)Gj12AcfrVXjXhRf{@KnCS$;-no&f~7uB9y^aOnZiVNvQ&j*MlqbsJ>;Bn&h?^O z3ZVFo;+ydu_6^Qqh$vTOnid;`La8>nj#}NiDef)2Y6VV8Py$C>_E}{jXHb$Q@U6oP z@Sh|2gv!AGlz36Z9t6`uBNdZCigcfYfa;eTOmb^-5e0C*_yC;bbHbVF(eI%Fb_3PC zw34{gB&oHvcSTOQAn1g|GpM|fcxM>2*sv)zI~P14tsz-QSJtM|NbKuf>KAbbH?-t3 z%V%#RNdIQ;yBlIaw#>baS|78}n|CAj;W=(KOsV}EaYrAT_G%PDGVRPdvPI+*ZhHYw z^gIeOJfOr09o+Q`stbSAkAM>@*bZaf3=n4h2rQ4Nl{D!Y@!lPZp5wm3LvY%9R+O(D z1jKYO76>sltAXW(*&!(&Fgt&Qjtmk22de=Z(w7`E;l6lbNJ{^e)N7YznBml-+0zU# z5tE_&S;|a^46q0PnH;D05_zE#z#81_kaxUQ7N)_ow z=_T%*k9dtz@&Nw9Sa}oS^r7cH+Xxv}7ia>8t-KM1mPf5n@1$}oHkF{F3vbvqc=VN2 zJ}sLPwHASMtkL280>|flLZZm5F4g)?UDr3{8NA>N{_` zQs2Ora+E1{sK4ML!D}H7|A(!*h^1WFDhfy+$g))exx@iH$E<_obY=#NS)&gKKY77` zMgAA4`!r1t@N?E~*)j3NFE7-jZ_j=a?DYr0CLVVMZ>BC#*0I>p*b4gKwPQ0j}Up9LWrO1Js4wOJg&!cYziU9&e zp|J;Jm>gIIlpQ?@UHoohuwfaEjY_G0zZhak%YMWugG5~KMp@J$;xes^6pTgP>DkY$1eL`#i%k-h3X7sXD>|tLUgUsbw@5|1ar&MMyV8Z;~C%ukLA(IQ2 z`r_A2A?qg37d<4!xp?EawG(-Oq}c$2ccxb~X-I6I6)njKa)FkDm$1t(2lZqzMF;PeeYkU(U-x3_5Uy8=>LZ!G!{ z+q;RJRIT1>^Ji31hJbnd*d>blERq?`6}Cn zR>Nm(`W#&=R@qU4TEwZ{6FM2@+`{^>s_0G~P@z{yEn_FjBw58yxmTulr`3#Ni*2GI z%}29W=s&*P?eAgvKOyF=#k8?-5vO-W=Om7IrgMGgP8lD-LqIgFo!DWna%_8&EP5U# z+4FwFy(LlWiK*UQJ<@W4UmZsQb3>;^`Vkm^;68@SapHL+?0gusVKVHN$c3@OLErw|{)WJc|MUd(O7Iy~~Q%*e;sdj8?#GS|D zP`oC38AZ`KS1y00S}0#F50xwBk@CZ1rSf#SfS*!%Xsn7p*30Fw@_4yY9mlK*+(;ZQ z=k5N^U=68Z&+|JC+zVlr2^lT^jhp14(P^~;`=^amId(Gt5{9?$&a;E30qg6Rdw)G+ z|D=V=4c+)_M3>7+S3#t{tv{l1FQChPm&I8Ydn|6S_%#;vfNXy85^L0j?(-}N`=Agj l{XB2~6y+*4Ys7o3#i=v0+bqX%^bPsvPkwTCYIJJkzX5;(lwkk> diff --git a/oe-core/bitbake/lib/bb/event.pyc b/oe-core/bitbake/lib/bb/event.pyc deleted file mode 100644 index c51c8a69552136663789bfc77f2215c351d24f6d..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 21779 zcmd5^du$xXd7r&IK8_;w7UgHMvL%bMWKn+GGA+xZBuk0Ks7uMR2@B`D+abB+y|l9@ zk%rW?ksT*!3b;*!Bu<^e%?mJ)7Ak&-3ZN2Zi^ZuZ-Ge)GL&cJu!^G_da%zdT)4@m~*q58^W03rhJ)O(AuZpHnqQ zO(A3RIW?6_@_99tSBvYD+k%?vQD+)=s)FuS^8+e;K{<{S*X!ZKhNGU3@B7qLUsADO zP4y@FqM9lu`2jVxM)~Mvki(c-t8|~5Tc`Yjx{M*A-yWqmsA&wWSG}UtWu;!2+9(w^ zDIXndRz8~EqI@(utO87FtE9I`nOl|Kr1Tm!cbl5KUHJoQOmFVEU!%tSK{h*ehw_Ic zbElfY?Z=evS92d%{#xl2BXO0#P6}*O{(8yWrTh(&xm)=gC9_@mn^~zdM0$PobmA-=XxVw0lnq-KYGW33Mcd-mm;!NelO;&h$5QCy z%6~k8?oXlnmH$Kn9ZR84DF4X>dLV_4DgUVidN74Psr;uC=%EyPK>6bd^l%D&O8G|; z=+P8ci9 z)Jvg9l|Lyw_lykVRQli;`EhdOG^Iry$-to?I#iz5?#?6UbtBs82K81=*O4tpL9;P1 zFkUMgqm5f``0jMOQ6<#4)6LMWmm5K=T|>FXjJs2_xo5{#jliz3aqVb(V(FY&icm9FVa;s%Zt*}`gZR-1~%}|e4f~W#SkJf_9 zXr(eL!`s_hjQY_=sT4GVs8rgEyx~ZdGs5oThmCSwmr63YQmNkb+cn;(R z$HLjTx;8iu&8pqF3_Iv`dUFAh6%b9qS|l>2iDq;RQb+|)Thw*oaiE~>@bM@VvoAmt1bdsRMUC%VVim!O$|s>-&fA1e&t+*N)TN& zpI6~KS2lxzISr*a1n9prKE|I@FDdo>#R4gDzNo@~Q_+x`TT9gzLBaJ2g36k{)S6>S+eFs`p#p{|xAG{>bfQMo!_L$O*w;u=|xM9A4MgUt!5RD}In<ghhZ}mB8V!bhF*xI`^iNU>H3j{ zAd*h2O+5(-dG(aEd4v)W0S?6qa*5vwfgD6quf{=Mq#)0TlR%BWBxSUhru#nfnF@<@|!K?zl&hA$)=F}zp zhi$i2VaA|VG91X(QI`wKIdkrAkiRwYUL+^s9{-=mbw;SwibB$?tXu%91MxJf7TH{B ztdkJLv&|V#L$LXBmrT{jT@dLISKWBq(UM1U6LIF<$=i=Hxt+-!e1NNq(sUDAn+`%< z5=D>>>p6f81(tF)I)&V=PTtvy1*j52RP!3gWnM=DRL?;*0A-L%xXmf^1*%OyuWET! zFQ`ip3oO(_2AJ!Ua=EW{@TpsWk7KUvMLRzTs zEDOyI5y*Py&MN#rLmAQo8A3uZFCjTT?OxD3L+xrX69qy=LlbMa?4CXjVPbHv8?I@U zFEq5j$Mpl#s+AX^yBFPaZQa)XfQ!F$=?oMzwY6J?PH)!qUSX+ND~qzWnvaM(bO_as zHp6;3!s?pa0NODkGKIXj%j|b|jMTL;5E#46#0aZ+lzKuC5F)5eDKQ98sU4&XBNC)i z*;_X=-X0dGT`(Dix?H!yF7!4KEGUTlW;>E5Af?i=hzN;U&BzVfm+5*tP}SR+)VF0U zB~rlH4oU3s{DnTdOpruGD-0SDXDy>D17g^}Dy)MTSPzQao_iw}B9vbfR`KYD-wLREM09(5@x*(G zQ{sBUM#A%0j2qBZXaxlIofNQDMRNP?ddunugE~v3i4+#yV?_MVc6kjcz(lBY5N;DN z;Q|G#Xb3U|0zH>63_EV_7D$&ZlrBUBuRJc1F8h(;>R5rCgA@@tL(5|qR<2k4@`10T zeS=F00Z`r%$uh8iMFs=_(x2~D;d+YpN!ktl;!*ruI3Jt=GXlc6^@)T~KsfM(u(b4cdKqPdF9k|MRR=oNils4( zVe)xM6Zm7+uR+v~CZvqTi9zt&FdhNH{eq(vS8fb&l<`fpK~1tXk^JUXOxe>j0X%^) zm0F4aBR;vWr`;W9MDN-^u)`RVq1=hNPlMX*0_b$3T&ZcAEn(7_rQulrizmefFo=Xq zgF0*_-cF2&*5{gIa7sO0gPGwkCd1OcP=^=|!T}Wo6ifu&JtI1*+N`(Wp;`B65do3~ zVJ1%+rQIn*oohnZ7kL+!tGWUgO4@>%2Fs}ge?v+&n$4C+Q%5)nUSZ8hyGFtWK~bso9AKQ#%eAh7#pqe zWF_+`)@rt_URx=*g6td0SiXmx4bkLMiNhhtY={R?9uyi(Cd_23y(tNw(lX1bFRvD-7h4(dWc$5}~zH9#gWIrPIfc#hmm5jKgr+3bJ(|ldfDnnJYbj zOo$D~Z2x3qxy+^2XJsxWcHI6%yWVB0WDKy~xXM)C!-IG#gPl{Mevql$hm4h4STpM2 zJkxmy-@7l@ zxJ6?1lG3dk9lNb1DVgah-DOl!6QT174EV2*wa9_pI*=3ZYP{K)4rWd=801&+T>hvp z58)CwT6Y9v5rgG3L%-hEY=;s&cG&{G)Nx2o2+r92A`(1Omd9aaGm~65Vldt;+Wk9R z!l%8CNKynVUR3$Imy+UP7Q+GvD8cOa3BS3%(5hXO*c#j zzp@kISCQ69>3(*}fuV55PhI2Te`fPm@fH~krff|vnJuZCx@d`K!+?ZH9~p6X2Nsc8 zfvQPP8(cjdEc_f0;RAK!LxgRxazmtTfgzrLjy{@@19t0L zh)^zCLp+3KjAWzBivjo_7wBQ{GcPYz#;COa!<30r}D=s2p@h0 znI(J(tK=0h7+BGAAXu>wvmzWnGACR~Zuo%_sTI}SS-@yV*> zMqVj1@4?M=n3)bKSR8ZAc!0zBwTe9bjUE*Tr$ zlyq%6kT2ts5wf@ynVc>cAmf~FU{NG7qW>J~f1`(Fs5gqn3#hYFX!K^#`2TbaD#0Cp zua7?&T8ck$?N&q&C);n_g0pU;^%~pt3XC9FJoW&9+p^p4CM|4nzPOUur|AdmAB}}$ zF`ZdKVsqqUH_?v*5nnfj5b?ltT4X|w7>E;_d3sjoB5!Gpcj!Rf!=EeKtSQ!M%z22hAo6;%|L zKQ8+rT-S7p*=(%&>`^G{KUj}!Wwq@5S22dI$%?{3qlT8*B!2l#%!g5*W%FTVl>Ysy z&FHfj#qAw4qU|@)JQ+662foI3XZ%MMB&+iPGMxsKhMiPUAV7LBIHd}62lkUSlC1sI zM^lDIgb>C=(@h$Wy%oFdR%HoZ6gnc|A4bLo{a~TM<#A$l38%#RB`{qQ>je>Xnlb1+ zGh-w!f;Oy$Y7H75rLYbQh$jkg@`dv);gAouLN!9v{k%mi+h7}C2AyeOsY~^qRAp#7 zt0_<7ig?gvYiB!`h+|c-bZGC~ggf&&j)v^Dg7(gFAa-{`MmOQde10Xz#svzDXIFY} zHoA!sF7pzZDg<)0Tr=7VOj5k}I+Nc)B4RR2x*{-NL%Z8JDvpK%b7NmIFEO7J?OGH- z4kVmnQa&Vi2p^I=mhvGu5RMCMdCP&|2Fro)SF8t-gl*iD*JU`jDNWnP5$1r{f{oV@BN{(XDBu@u(G@Ihpgpv2V7>%{^D1EFP`Z7m|t0U=(9Qq=fyr1JC z%f*IUZ?RWQHQBkirm40S6*`3wZ2*a4LgQ0X$wqS=faZZ%?qDQD26mA%TnI(-u-y#y zR#_#v!~~#;bam;|A#3s|l*t+q<54pz*X%Z?JpC$)WSHv;(kMJ8h%{y>Jgoc@!6%jn z?E$-2!2(_G{VQnl*`#+YnYBb^u|B{Oz3y_^Z8+}kz;*h7&zgLzOl5Ci1U&vGG)}=Fa!jZUmdOl4f0XUyOGDKRpT(vsauLM{KB=h%(X&dc{ah;s*B}sU}|_1Gi4aNgPX3^ zM_?MBMUr-0o)zShU7KeL@?>gG7)TtcM!Q~u*b4(}zle#G+Bx30QDp_>A9r=)%~VDp zR#gUm3sVZOSUt)>yw!9n)cP6S&^RS?wNT=9b72B2oba%(nIV-kreX&-uk6aw5am0jy2BL_OVh&ew99MyT7uP8U(>fS z7ldeI@tTJ}Lh*W(r%g_jqv|Xa*3o9Wah2%!by@TUG_-t0aS%$D)E;QTd0^>7Tz}JU zwQ7O(;ll95Z-a|04agf^OIVmuH#~XG$%OHgDVF}_BX!_a&fpbkbd=dsw2z(b0 zhcDwpPw6{-ODKRVpIkx#AHsYRf3k#Coi!a2oKB^MA=Blx{c3{SRcG}-#azCW^bYau zMB2{acX0{iy1e>t{R%nz9n9v< zE7pG#AojE}*Z(BA;KQ=^7+PA++T@`)c-z6zneLvZW|3;$vB=1`!pt4KOgo(8SOLTO z?F5;t&dT4zq`sZ>F04$2bi&MBaaIlmZX&X?FuoT{UUV*jwlLR~b-oUCV(7(W({wV2PVsHI`U~LZTN_(b?y!@q$!;=Ua zv3I<6fiyb<&H$QJaZgwbuGUeBAEM)TH~|V^Xo;A#@V$-f80K|H&(kohvD$-w7ybVE z^1<`t88?o4zJC;dZez8_|08t${f_a+v?FiX-S`AZJ5pt}hyNZr{=xF$AH_FTYBx80 zsj}L`e;>ntclq#7*2=+6kPkW9#x`m$KGx7`N2|rUKSs~*cZ{EVE%@lfG5d*~`9smKkoQq#cDxmubkMRn-`GAl3;L|(-=Vs5w6II@RK4(#S zsrKDe!tutc{qT>GLmsGz_gbS;_I4|e4pu6BvsFG>WY3`-0qD z+=ZmO+E0eB@w)F{lMYCV)PNiDb)9WU2eVi4DcxmdC@kPO6N~b~Nb;^Yabv%sKn)OK z(~X}4BX&-OZJlXx?{5I=@+62XLXcbW;^qZ z$-7K`#N<6D?=$%^5b#!-Ks zLMOesb-CeQ{^Eke&2&9J1X3I>4)i)3*W!0=u~6*89`Wt??ZLmk;rwt9uKe(Z;a$Up a;ojl(!?z<{i;MsIhl{ud;$N0d|NS2qdUXE) diff --git a/oe-core/bitbake/lib/bb/exceptions.pyc b/oe-core/bitbake/lib/bb/exceptions.pyc deleted file mode 100644 index 5d5391b16492a6a8ed6ef719690ac54c9d7fd272..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 3676 zcmcIn&vP3^7JfZaWJ`%-ZxRBgLNR1Xl@h=*q1dgZfOSCf{z1BJ1mc1)Vx1{LEWJUH?aHcJGMGjYGY$UrP zuSCv7{<+tcti#D(PqG!sR^=5$T;=urbmbL(vw#ZbzQQndTO0)!~QiWnd2*c zgTb$3NJg$Ij=hcZ$+W8dZnM+FPMJ(>=8va^_17`|zD`m*O46gprLRwy4hXRI)eamm z0AZmZ)W!%cpdd_zUTqqZwN&Mfz(CruBGItl!5O!O;k!INDr_<;Y*^cAZJjNB;`6Eu zt8tiw{#_wp^@%mXlpQ(qYjaX+%ZW@O8H^i0PVJ!DevBbj*6N4*Cs~(pCJ@SsLk^ zAP`YRx(O-D5?&wn$*}7&h>~jQVU?FEL#rvGm6u>e6O-8aI*#9g2o0>5-To>jo^D8pLr!8Yvlj7D6bo$2n&>z@vnZqG)0@YA@ z7bayErbXgh*v|oCFO$3=z}+V^Fl}5TG!ccmt9T$1~t7fY&lZ9zB09&yWd^oq<^#Up`QOo?aU?#jF; zv!2w?Soz5HmCLMY&8n=&^?fVlfIvOtKhItp?j=5>pO-c>vBYH={_Av+qslLT} z2XXb?IUXc%7%H(PC+~Cl(epc6$S7*?v=tl>WBr&H@5xhyai{>?l$H7iDxoJe*i4C9 zDhoYr77>TEixv4K_nPCLePU?=i{dieMVM_O6EC&-9BYn^Sm3AYK?f=SwnmO+IVt!-Ggw;2tv<>xyV+n(bz>0Y73Dd|EDwj2*a< z5!!Ws#`yj6E!Lk@&f~q70`5ZKP7wm_{Qb{*nzDWrmoTLP7b<*^I6N5Y=mF^H0}gyL zY5am z-BRC{U$Fz3SrRInu;H)n ze1E@tZ?|O6E|1Z$w)*tB=brcZo!|SM?)js2YoGjs|8uDl(tkaCzxG-blAkA54dDu5 z6smxaAhrZk^6yA>kBgjp}IP}7lkY9LUm23tq+ql+aEq2!h0cn^vZ@%T^ni}EcJmr zbz`UwWU1@&)J>tfK1K=_Jt}bL!tV(J?_`r>b~%C=JknC z9kL<^LY4G`HkD5(#U}Vrs2<2t59X=Ep?WAw9nMn^hbn(hhS?{>+*9GoQ>-J;PucU4 zaOH?UAF=1B!De$dvMlMjFf+O=>G?2oa#_*~Vdm7bq+?;` z^<_yfhMCjLl3ofkXR@SfZx|nXiT#~S60AK@Z=Wb%s}=X1s&-^8cJ0V)IZ0|sakAMeHYeKUdZXT$DlX0^?N+TkS4^6VtxEd3JzdM|n^>&RR*UUs zb2b@X3#5lI6cMyH5R@m9=Imm-R-&0b-u3nxo=PQVx?L&_sq%I&K~kHYY_BFVS4)!e6#JQf z79?kg9iDE^)eg_zym92or=C1~?zyLrK6(Af;qv@^QkriyD~Fr4LzQN$c6g%Ro?yif z&(W?bwarUu6Dhs2U=?q7&<5dJUyjVk6sSesC zluAHgsdSKb5=~KvhSYjGca8E~tyF5SC8boFYgQL$^{8H#O4VkiRI)+Fdf(}##XjJ< z)D%9>C+Q>Ti~6Ge-u3{|bLClf)LgB4sWp2qsBS06eL)on)nJpS2y%ESw#xOSRxRF` zt~H9aMy0vfXak^Z({ck~y+-nZrv0)@V-) zSf;@hwT2cEJkhFE+OxMRf)uS%4l(C>xKjwNod!1sGm{0NrzbSl3XvKp^(f171lW^< zQXx=8uTy|h3-^X1C5lS_b1 z$lQSJYa*gI$oZFnFbBd#>jOY|FTe?eg`&Da?au{Wj;@MS<0E~4;QBfPqEWh>qNa_1 zm8eNu?u7c1gN<!)yV#u6Q}TflxTAD%q`3$eD>61&hoqIA7X(4wn6ASUsw*(CNs%sh2;uvK zkr3U7N!-rT-q!PfHd(Eu2%*{fYh9~ z$x2q>;OiCW;(XRVgwGaIoRU^boz=H7yeEmgFB(euqbRfsVFuy{iM$WBLod={pTv3P zluf{%^-Q4Dsx2(mTYz|{Z{o0=eu&7q7~o^+a8b(%-XJ+YB!YL5rV??}0T!zNuM%4c zvSRfnhc&TQe`z2SoqInZ6C&zxyArmLh{cds7i&UY8CRUIW-@#)fPFx8?lJn=fvf3q zhbQl9{p*imx~dg(HvF%Y)`{QwnEH}KkI}kX`$n^M?YOOLh1d4)&(0)`lK=j|)9{*$ zWvg0vpjuDL6SDx%#A3UMl7XZQ9oz?M?u(W(F)n43{yb>u9eO&pv`=}5+S9G(;?#8U z#EH__`O?_Qi=(W+lpvgk5l&P4A+%;J~ zIV2GqDn!b=QD~U2D-(4H-tO~7}=;jNG%&eAWfXYX&?hSVz z2zMT^q;*PqyAbXUguCm)9sVdb5MEk%CAzH1qbGFTI(esGFDLs@gJ?w(fz4>G(yXEa zMcD%8mA0d4d_=o>P2%)WQkh1hda#)7_1R{{l&c3J@9pV>Ym59_OlmDXCkcqAs#wYt zCHsdhL!zBN^y-C|+PCIwuYByCV^^Qpf9&w#AtkBsE5ir&zqbEXJ!bWj>&2@F_7AmYBZTi;3^{?>H(kAP(H5Q0L?@GI3?W!v@a?F~Z zPi|DL6|aRStK~%tUmg;IheZkjU66no6fv(_R}r5pqh*aXsrEPpu9;8UZB#93wt0i@ zDQ|)R(6$9I_Qq&OsqS3>P%y56e63@CAqMv~{%)T$lm3N{orL>u(2|HL0fE48j5S-mf^_t7>zS;}Cv zE!tG5hzv=!p~*Guu!$5l|J!{+2kdrs_}$)ccU8E{MrErX6Ycbb0 z-nJa37{5;rEC{CMVNbAYe^d|P1#N!f>@ZsC4TH~VZ?pIQk)>JO(zKz-v?eHn@2=L* zcGW@L>p-iNW$}cbw9>xNS{L2iFHACe_0b^gK?XJ^5!zl8c1k0qvJ1Z(Yy+=myNWpl z%Rz`yZ`pRW-6|bEJlY4iQ{!Q^BrGmfY!!0oZNS&di~$WaNKFLDdlU9>to>vtnQk?r z_PQ{$KFn-LE7-{tWX&;!{&HjXGJW1;vuae9-lo|X)>u26LyL%YrmLM_`b)I4S+lsL zorTSXg>BXv!t=ss0)Lm=ThtLP;M%SQq#p(_BG4cJYKe%B8`T-B3r!|R2^L%RQmZyU zTdvfO8O3FXLb?|l)f!439x!1nid>`h@q8#L>e_y0+B=oAvf^+dlv16;<3jY=*+sI& zk1DSuiLSg*yv3H8PT9*_mCNLKr%zK;DPgPDCKjiRK+V>ZcKkH?jNqYss@*h;KpmAy z(k?eDHG7;WW1DTO53%-IEK`#sh{XvO5VBgAVz*sxO<>A2ieGC~6EWyU=9-D&3P&UL zmds|>{7e%zMw?L$SgNp%n1xv}E%9?a4Qaz#EsIsltC^LatgRPa(`?ABlbWI{v)X1w zN?D?mja^0a^!22-YRTekJ5SPz)@`u#%P75PSSkD#pQgbd=i~Gmdb|Y+yqW)x5MKwy zUe9OHDE4mN^z;6a=y3Xdw6H!J;JKo13*8C-8@>KDA`ZErH0BDxoyVyJ!fl*yy0f9$ zrd$F~2}_U-r<=xtQO<(x{qOC{0Y>p0tR~nAh8+H!MyMN(;MSmV>1-hukPK@=sUJ$Y zIz&;_h{9W9;bFp2<}@}2RugJXb%Sg;c!Zls7X!{ggLGk*!JYkv-+scxg7wx;6rzQn z2>e~fLucGTCHZCsYRv2iu*gO;)d*TR?31@qlt3WO7+q^6MeO&UQfW3O>r;y@xTZd_ zIBKVIyWNT}@zS;7XOvC&C}~wFT=F4U53Q~P%E@O%7;YKjQphr=iZAk<2uX*&9qh?L zKHAAW#CoD$`0b4a?PlAl+NDC$wo|{82)r|LH_|Da)i)FxU$zRHRj+KjvBj7>`0ktU zXyc4teN*g+=r=ocbx5w5OxX)brw+cvJKxYWvJ=_&?08bOzmXNFg>XE5>6_nQE<6Jz zlq9PDC4Ym!HwOt+n`ak0oheGi`aWfGRh}GwrVvw%__D5p~I8q z*`&s{l)a8U)zZegweLEcYr5Q+s#Se^#TV&?ZyoX5kj3=1(@y~lX;s`2L|y%zapv(` zyox`n0AIrpO9vOftw5SV1IbhBK?juM%e-)9l7K4~fwp{t=OYG&Y1>93uGMa>7<@@X zmBE+u1T{E}bmo7Lmx%~|=zAy{fD>L96#=)tsJF1)K}W-8+wDt(VcmV{yQ$Psw#oLWUBxkKV5^1BS+)w-jahEI9 zg?LPld{$%+Zl+%6MM@Hf?;X>Ki^&l4V7u+}bX$XC1~zEhwD8JY#ZIu@ zCo>BXR|c^~JkbbanrORCgbya)`0x2x<&gs5n_E9@#ru^azS$q~V8|Xt^`My6gu(&S zT@iuc^@hn+VbC`}1QGE=Ir6%GF@P;$vYl$uo4ovcy(X;aId7^bN^>I@knXvyku*0X zOL7XK_lJD&`e2NG5#!=j+CHK}ucg0g=_Xu5dnKVDG2bxtS-(XrUt|g0e<^fWL*v~f05~U#@YrAoiVXR}8A~o8fqUhbR zBIdoU0@Ewi9HDs@LnOyg$H4@H$nME$wbds(FT_)%c0){rc*fM{QTIt7cCfeysy%)& zJ~MK$G;;dn$Q$FA&h06}%+{+J1{UA%nALG4HQ!sN_;PX2Q+qTMYQTy(#>IfM*ht54 zu-H_OZ{X~eWfE>KmJ{o8_ehPhPPg0hh7uJ?3=K|_BK*L2GS=3nytgk2I}Y=HXZ*=L z=gyJD`sW^0KEN>+6;T^3}0aJ4&%eVQiLo&pw9FF2Xp zjP9iXOx*nP^v$cjJ%hueB$3%WaVZqlm6*A&bum?Id{0=n8q z^wZXQv0a}{OdO+j#If00d{Xa(R=pih)T|o~ja7+pges8tPt0VRKTC6FZw)V$)1<<# zTJ>z?*#PWDxz&g(s=0??w$^ZUl_=3-e2OqOmQdt~%8UnHOWa$uN8@Us5|y^~om^}} zn-XV6Z8@`~6*UkUckZ~VlwpgAk+>YVZUdxzTePibNAwt)*$vUoo()ldVUU9tg?4eD$LEx+9;4IrcaG3E)s3qYsgVI zrklJnPDe@PRl&R#6TUL%Z9K$TMaO|&S$Ps4kD^awR%14sR)?txZj2eA#K-BMt0n{o zwVOyPiEGZYzGl!4)Y&%p7V;VBHSuD!mzCLOQge^e+o~=HyA|VdBx(4-VQ`qwmjxy3 zNervD6?&rWQBPrYVPm9~Hh*fZzpee_L|CaRTLn>qg>+4pL4)GHp z)TbKdSz~&~&%A!&%!QL#yfk|1tb1gCn@U(Q1s|;Ys)^Of;)Hx3aD6D@leIX1PJsb7agz-3mZOl>$5;l5% z3<7){5^PZPlnwv*rHkj!jEy)1^ex9Pl<^ey}I9|OcNe=y3&U| z-+Ip2JJ5mg%F)7efxpX82#^ID9nCom@V83Jbm_ub+D-uy@^z)t@vbLvz`Tda9Z!dedftZV9D1@{(yyzoy+=1csxFUS{l?Ug1zWpQ z%J^5ru2S9T)u&TqkOof=K#2^SRzZGD6pS(FKE@a$ z3U~)q+Bhna1Q5lFAtYfNAtWC;hoM3u;uHG&qTQ&f*MXI`7B*viJ{-NYYBPF@4JgCb z;??(1^kAVPMS*&#kKwDmL~@lFdu_^e)*S=|HZnhy?9`LS>B^qB75gp);!hn(i|I7R zF#aB;@mUFFgf;lh8o5)a9Z^LQ(P^!;jq8iN7D3La5ab73gh~LZ9(6Z@H8M2PbCrXs z>!qOJ7-@A=nA#*9eDk=l?da7POxpk_2Mz+e87C$qJo5N!I$=uU_A0h41JSrzq-;=K2a3e|2QNzNIhs#2w#wpH65l2#GUZYJaGGvd(j2=-m*kkJ% z>k)|7-wuQZGejv+>;oY=E9)DNqUfJD2OQC;r{rQIhIT-z6s(cB+xWzQh{vN|w&yi; z4(eUR^ILo_Q(NmtBX|rB$1-{zLE&bjHG{;$=OeszXhS(3u^fivm*nuFjt`k_?iX2Q z$MK7eA|7a|G@Wy$spndAu|2=&2r||QE13yvGN%=h;q6dU3m+AsSF{M!qEjm_il4V5 zh(-r$m1#ujB{hmRB<(8ITPM0Qw`y}usDMzt*zn|V6*u4toI@RjgG_=n240n|qOmv+ zj}2l^&&pU;EDye}$1k2Xl=b?Vi=_+k`L{k=8aaRN-0`td6P!A!r_YaHT$Xgan1RW#1dCQn^)CcL4_#0C%q|ahx8qKb($IqViPFO*vBz-5OJwATA z1e12UG=6^M4JQyvdHp2J+=VlvHk#At&z&^(veWM~uaBLNPnuMyg5yU^m&Q-VUf!QC z93LOQJemj-BfNsSi%CE6m!*Pu5%IjEqK+3Esa4h-GKxoDdHgBh5gZ&B2@OeOF}0+k z)4?O88>PvY71>^^z~Y!XJuzcBLKvO_EI^aQWiN_#E&Syjvz3`#DNgqNasa%$Tv%kLbF$2<4e4 zqWkS0G{tL<*pQ~W+>jmf4tO{~~j%SvM!iBj6>l8@x4wCIAu(7S`B%$WtD7h@KF z9k$5V>pes_=>N|aSfkOa|E_?DaSM-{Rpwr5zC)KATSG5ED=PP@DR8y~+1$0R@J=qX zAgUp-Ag7p=hTJC!Y$hy_HH2ILMs!!NOgMHrkI0h>c*t0-e<3=L?E{Bbmv;0HH$WrZ zt$!klJ$}O~12I6~Mbin*%V!|@?W}YrD|zYG{wS>#6M)H3o-PB1zW`bRzD_^F{shBo5PbtYQU_C|@51FiFs_e&KraqvzXZSd39_C|z7I1sM#z`}~J5Z(;%Bt8WA zC@VuXofIoiikOi9l{L6kEJP5%q4da(t#oqSzFta1f>@+YqRe;%f7yQ|I@u0os^>t7et?yfLX>?CSQyi2>S%`d1k^yDo*>DT34_tKG$FSbm? zMF1<7v5trb#g;bLJa&-BF zOf`qy?o%zELG&w5Obkn=f*FDe;45MX3cn#KCDk$<(^MUm7^e>E2*vy48`8RE3|`b2v+&MIC9*-?GOy<(lS1_%vDEhfJJ}q25tu z#Kl{w-%1^Ct?yQK;?!K<>a_H@Di~G(=!F=}<#`%4oIG5K2`EE?(%Fhj%Jwq~B(QZc zB%^v9Au!sX+?s=IUvs6bnf2e+d&BKwPdf-c7E5F#zn++(LQF^eStV+EFEu8lNH{B} zGaIw>97Yg?jWut0o(T)5t7S}&jS*~$DzzH_TfSlu43pNatw!wzK;crixE9k^Sjp-v z?6&b8_y@O*v8b&WvC(n>k}3Ek|6Vjk6BYUgj8WJ~xEik%d4u;5$_rc`;4l`2VLVkf zM-LZ@#5YH)dpAcq4rnvatB zq31cEdEM_8K5Zswa{RNb4%1$CN=umI^%t_&c-VRexP`!8A)$+6{-NYmM0E{a~rVhAH_3lV+RWHG>_ib9p})$#ESVmiv83M9l4` zR!YX_iT%Y{_A@A^JD=;nUfz@HtM}yDEBlMO8bEc)UuJ22@%Pgo#!XP3GI+l*X8fdG zk(27w_Hy}4;}Ft^kVKwlR}-X9_S!avC)j>EGxp~3vu8%l1?_^{dZmT)91>qmy;x6u zW#ezB@-g$XwNn?q^*d~xHnY2*8zPdD$7dnerMVxESXI~le4k=AKJDZA#)|F2L8?z( z(oCR-WZ>X7i<{IMT6WFYnhk6yefrp91F0u_AKR>t?Kxnd-G%rI)KuYP|JYUGgf8h2 z0jPb|JBJ|aA14FqrCy8l=@ugGPdo8rpl}?4UrJzC+Ty)~pDQLVCs-z#z;sI*f?%SG zC>N*d*HPtSLwCw+0*0#08P;CFrV6NY2M0PX+y5nYuBWg&Ji^}b2%Yl?ekiL`#v=e#UnF6b18?A(PhH7CQ31Jio%_Fn~GsqT$r?VnT$7RHuMia)Xb+CUwDb7w0sDZ#n zKbgi!+^G`lY=855J$ZjyEKw&fT&tBM(ekcWUU`aB4lNqEDX(@&p8aWV-0$SdQ^Moc zMnTKu^|Zmz*ql1f>OHI%8S$N^B2&txy__&C;^W)qjc*SPPAy=d;np|QXI23Gqw?GB z(QENh{$N-6K`+1ap7MjjUn;-T%5MlW52~YJH_~Sw5=LVslmS-JSL=~*^U2VD6hUOj zur+exu5`+^2(ZMz7lB7r=8iD ztByK`XT<0+*DtSa{#UK69e0qovO8U(oZYUXG{t;v^aq3OaZ{~0*6cbiBkW@cb8j+? z+W~G!hA??b9W@r`3}N~^)28Gv;_sla;ZTkfl(Ehj8*$M5D^f#%`JfsPWz|0R*PLU# zdl)pWT{>*$c#FZpT^o9gG)JlLscvC%W9>S=9b(gz)lyzn_E7~-D-Z&;-lB&=$MXJ% zgmg5>m`tn#AbOZdKMDY2TXXC!^k$3_v|w>QzOL$TD8K-a7sc`T)NFYwUQ`-rM#cs= z#Qc3_6$Oaj(K~fIv%|z&m23>=e^*SrsnZ1I^47)o#Rmwir0iNciLg?X!LH*uAQ~V# z7SQT+{=Wnr=m-CAv5#Ckwnp162P_zNT?-4lNm&PV=ttipEs;_;VEliGl-)fCcvsQd zXo|Gf#*WpA@Da3zaMQPhOrE>swJ!|;?*L=lyu@W!C~!`73+4jfEw*7n=;D5Awxg^z zS&>1Zh8KH<7r_wj2;v80)UHpsfmg`qy|S=>`LAMZ*HHU2r;YG`m8h26fFfr*438`j?;^8Q>q5aR0%z<`v29DoGvQJT(x z#ckWW`FfVxn;PFcDVaHbJS~^!_(WDF&*2{Em*`c_x^`L5K_*3E6Jt(N4IqXKI2ae{ z#TZvjYR{y4zpyW_%g`xYnqi{fq!n9t;i%&mPnPz&#Wj62@lELto}aJ_1H0fb)UMYJ=E93 z#e~QD`?;J@a;a$(&Y7x4IN$yWM;S}|IU=<#mUhZu@#EY(2jiICq~;V}Ft4t){1{p7hF{(JJ76hT`|Nh#D|WN5GQ+Id z&AwN*gc>*XZV`Jy9Gb7UaBz0R?-lOm-E1k_#cPZ7*lCaxkd&0u78||KIO}~<`~Y}m zL)O}f`q(a%I-J2f`lt$_I_^+tU#ZKZ8SX!poaQOtUnBB4HKSzBWKDPEvs+JH@W{w?F%vBqnTr~R)34}Q?&e}gb5hRG)q+4_ zy-}QMa&tuax@t9>V0Dp84=Q#HF7Kcm=CgD_SEj?-%~}N);AX@9jkG@T&oU@SI>(8* z&Tm99!Ab`^#($uEf|IU0%2s{}PtxGG=S$dk?>^f{hMUFCDngIg*M9PawcLfT+(Hk& z3psFWl=&RRZc;~yVLsytlJvAZvYN@T_{U+LbVc*r*eBcTe8-#B6u3?>@>w(HSNHRD zZEGV=EmQ_8$c(n7rm!P3Xmx!cB^yXB`Lt%vZByGge|qoi2}?0G_s3FloGo=>`%>vc z#92<(Ywb&*$?wYnz*B*(~~gX<}-daZ#+jQAWZ)}+Wm{b%?`AjSrl zEA*>*0pqW0kT`z)(^1!_)bL0!%Vbx{s5 zB0y4XWtS|4?tXhh`VYZMu8xLbQu4+fdANi=Odj3hW7c@xr%kMHHiv)D{g z>SHv&8FcGLBwCJt86+HC($ZpP8jXS;6vR*t}lXVC1sG;3;8=Y zEI%EkS`%HC7bjO58&R&tZFb{_5WjMnYQT?&`Bxz)1%a8`2L(npkw zP}F}F;Z#VQcn4?-m-Kmu<@nVI=fU^MA(z6?`eXSG-qY`g?cIX~x#!)#{zsJ~d0uy+ zX!>?pfuAniA2^D73m9n`29^NFr?8lJfMd6{mIH?s>jn;fHbd)%^Wcvc_~i_|0yJo8 z0v)&ZN-+U}+$ErH393w7#qx<5Oozv_Kw5k8WyCO@RT*9dyZPbo0z8zBj1t z<|lj7BDg)!0}^$MPM!}%wpG-+oi&4M+BXBvMz#Sp0^139(b(hS$=m}c28+A-lCG)R z%ZogfxD?+9)c$T2+9X#8f96s740Njp!!?BDpW%Y>VOTsF!!?*^qJG=*;*la7fN7>bNejlX+ zIMr3@&~lJ{N|_7@w`5qd819&08>vp}@du6nNVafKrwd2>DFCbU9|=`#xGYoF7rj#- za6hg%*oLw0GHdY}OgU-7ToiCB-R+x7XZidXWUtA$O= zTd>z+wXG93Z=3P+CIk4hc7P)5Dc&j4X^>v{oXw=(pVelP93=C7R+CrvU&=(Psl|qk zXrXwhnckpQJXE%2V3Kr6vd<&h!r|8ZoKJ5;%+{GZlv?FV+m@HKBbE7j6Pu3DuO5nr z>Y60^s=VKOz#0YFnX@Oyff&2$$z6R`k-RsN4M#IuVblYK5!n0R5XJquZucC$3WkNx16 z?k)iTn-_k(`18u5*_lL(HtVLK<9a)+U_^mTEN-$A(-^;|;9UZnYi&Lmwo>6+E;?EQ z9HaayDjnFdcP+bnN-gP}*1XNFJ8+sd?o{dg8&-0TU%%0WyD3aEkY#Pzt&(Q{n7hXN z={i!K_B6s@g^Mgzab;S~OK`y-!_8x2$m36t5^qspdapjso_Jtaq)3P2YJz67O$DxZ z*-R!&t#d9`Hnv?VprVGMYBwv^P_>Dpv)Z;vh|S}AK$(0uXrb*uH<%jRkyqs>ynjv2 zYN|AQi8`*`E!QT+^+Ff=lr%OC6Tc{>3j%-;^CQcuLoSgDR8!>|%nw+3sX>2MBE%1= z1@oWo=eX=%+@AWQN3pMMj9x=^u4^xGgo+O3pDjG=qw9LMa9L(v2Hy$jzinK z_{gt&uu#!F=_8ywB3F;?L~>1|$e~%c^*ec~!1p2d z+K8gjNLwRKPUkLzSax?S*XdOJJEW}?wr)R2<(;MmopB$1gXIpfKt)h0(X`l!eORMViSPUZ&TxzoeU$xFh&21ijSvPFOZyud~hO zHJN10cCEVvZFlKunKS1>L4!OsQx84t4A|Ak$ARUJA;?a%m6mxxnijZQ?WqlHhB)o= zYO|)F!@&jAm7&Gu#qHv?)CCh~h7gMyExS~$y^XXf`!z6rdogq4C~-5IF#~VZZn|jM>iv_=C7UOm2Rq6bjC*%0c=t<*fONOCM&VSOv1MRIe+iAxR zaM<0tCc};SNlV*5F91o)_D}qrpi2yX$xnV{TPQYRCr8jOBN@{EQ!>X#Rn<|&U=y9W z2WJimaJvkxOLv$Nh7OWVY_mC*M^xa}P7Pn%6LY3Nh;QLEPN$4>YWgimoM6+#DmGRf zz`f2rTBs!XXTb-|&;JAJeM|fHh+1IZZqdHA8&7nEK?fP|qlTB>3~%2DZ>@8b1Ng`d za!Ky`g6-=*O6IgeT#7a#VGhQQ^>Ixm1+35B>tYAypVq#Vswuq>F;y1e3U7orE>fd$ zKz0aq2{!Cl#ND>0X}&KO6arkaITWz{b&>6eM zK42iy-g#F-p(>Z~H_+4H*T07UJ^ek~3ViqVukNoCDs{s^p?^dF<94A$g#z|Zve^mA zX4;!IT!5m0+h8@=FJI%WU1dL+-D7Y2ERIV)9z?4xj{g$zH5SK(iFm)< zheUhK=CuT1P3d9KDopAAn5F>j22x3gXoQW?5nO{<;9{XkL{?>fpr%-MzBc7)$pZ&` zM|=+wy$lX_6yeeQJMBWqo6l;ej9wi!e#u!TxFIZ5?+GfjVax$ArEaTmB7HCLcUe_` z&h{FLVypBes18$>?jzI5x|6d2Q;IOZuuE!~&dzZ)j{%!;4Z?1=(^6GJsUkkgoY1;9 zSttLv@@x4f8@Ba2p!NYnnU)Wpz<*9Pz^=+Ym;boyqBgL5fFD62P*Gp>A*-_*ZxiuF z11o7_?RN>%lzeXCPNSe1)I{6EPWTQzxcc8?;$}PV%^Z_Clc|5^Ic9U^ESM(K-2}g+ zm^OZwbE*i`icOc=`jnT8EETvCPUnIJCngSzzp#1lspI0 z_9S*fgdqY6&Y+tK(euK_)U5|(6q0Ww$a(VAH>+&7Vn~!Wc3h_N+)ImlDs#uIac%5lAko`2x`P^z~MyZXY8ilpXd`t*isj2RWbaMMh{-GvaEJNt+!-;$yim9!B z9gh;lO&J5sohQZsBT?mehZDf80350#8iPGxQKB<66p6~0z?fo)rYFM1!ep{WH#fbrxiJs2)|K_;%*;ey+DEE6Y0mS$>wLj=n+gSCpj!0k#W zpSi6I|t=I(n-`@<<uWIXS>rr|zQ#~N$q7|=cmUMl<6 z!X=il1l97jHJ5uBd^0_L&AZ6aaxChi{)|y zPzSGmx6qf<6lu}QB8B*svT8Ur5(<>J2BzubCX7Fk zws1++Uf%e%uTnJy4M))e=mv)$W84Rw!hvEI_Ui94^vHjaC^^i0<*37r0~zXYqY&47 z`JT>m876W3u%6NvQ3MD<_|A@F<~<%KaHFvs2c$WaZ?k^Cbj&YMFi!n`9FJ|!W&5nN zjcv!7Y$)91{^WvZ=T2`cW;^|WVuJQ~n7*tSfU76JF96>|BydyVKn~nn3J(F)eE|5w zQ4jH5V&KVYAi9cg1JnONL||$Qn~G>Tt5lG#?dA{a?da9-G24UjIe^PfKUFGjz5}Kf zOWAni-+@$lztpwpB3-!H@c6f-8iW}l?kNtgX$F3c5}1U3n=GgufJaPP5}5Lm>jco+ z8W}+4S33Vi0qSdkMJ{AGsx_?r7L(^l+KnqFppa>V22YV#vN(BjH}Nn4qNHvSPDr)cq` z0Q{s{l9w@Lm8w*ip`0%WNX{tuIR$^9z$m@Z^7{dpX{X*(KBLf8<~DDBAeHM$=V6MUT&2GuK2O+5POdln zLHqp%u+aVLTGvA|?GK_E9GJkqRjGAePuy<#gV>4bsm_aLQt=1FC$;(J&^M?PW~LXb zRw_*{;?Gnom13TPh+xW3K1R&=HEzD+GN>t2-A_ymr@w(@KYV4}sIg_du%Ava=NwbN zmrCh%R;7}81u?d>)KqKv4Mv9P)G7PXTH_tv1!$|%wka?poN=H}>+v}Srxm=TK=-5D z&l|-PdYn>VyzRFrW-RO{6#IJ$KBK^ZrlQz?RA9U1bBg_jg5M=DyGL_khD$?TVPqBv zt$18i@V2$7K&u$Pqd-5$5`U9|vVsW(6$KE*5Z4q;D)_YO*QPrwH4EsDi^G@`gOu^> z4f}q*?$0CF{kF&P>(~7K_-UKv3+cjJ;)&ZW5??s8Y8OzT0xfb5JJ30f#7SC;J<5e&zn9*z-621fG1ivWY!nO^RY zvon+F9#IeS5(UU1L4HHd$scfjPVPZ2IpmN-@_p6IB_%69ncn5}_M^J0y1MGC8n*tm z+Q0G7e}9#z`KN{7&+wQ(qe+z-q4iYitK3r~bX?z8Bmb!1Qlr*UzpX}X>9= zJsk9@>2);y?aXe+dpfvwPupaAEy!k7u4lTivCYaNn3Q!eepYYw``Lf-c`)#>$+mgM z*v4*j1|!*hU)yP!x=Biq$-8x3*2jc(Q%oo+nav41Ak5319bH@6aQj)kuqkD2<1t^O z(Xc6wqIeW%M0Q|7UuIywmUNbAG%j^ix+I;hN;}e7R%ur{Jq6p4rmw<>gC4jiZ8Us* zJh$+<9x5H6 zQPP+@=nbdkOb_!X`!{dAe`9$6;}1T%@%ZL2t|}8%b(suHy_uA?9*#3R#$^rjY&;x~ zhhoT^L*7sI)GmXOX{xHMt+~oR1u8G0j?{>TmXrMzodd;_9e8TjQ!hMq*iz6B{atk0 zY8OWIc={K<&~(&6OTB2ZA9ZDBSynyekws6LN;vjq?F?IPb{l%C5Oa{}f}IH7UE!sr z?ISTgHEF5!h1h77H~4Ts#my&Z`oa8@6`7@52By+UHp!CUaa?EdIM=~`W~W&Zz~BKr zbg{+omajbD9))+l2oKG9jKCneYTVzJjq9zQXL373X}2B>&VtCUqlt{IvntAUoMy#N zWb)WdwUH~XVmpCOk3>8MFttsgF{;*Y|ktLi^+c~?+? zZrfGsp!MLLpy}OTY|MK?zI}u#}(DF6_FSd04X>BD_vQ+})stIHepmWvS8V;`- z35~#T>t>Bf*&*`H8s;l>o;*Cr z26SSHr;s5#54n0KsJf$Vc!BE_9iC%zi9{3%@YF>b5(6b{1m#~B9CJfTpwQ4rOyS$) z!Z?GS>aw)bFDqt5Biu311O|%l8^w8)XiR6I4Ce$NW6oTru+BOEqQB;M{1tBlp>>JB z-imkGUw1)9oq2i*vVS1exFBOIfyIQ@mPvFFBr-%0APRxjBu&_k5oQ2v2}i6V zK!H#IdxzQZX-s;yuXfKUAUWs|3FNry7QpQ6ktnQvTQV{Pcu4C3?zmfm-YdRQWV@zz z-~3JnNF2hzo+BHNIc=fx5|yCJ|5v}oS%4bHXMxc3$9C~(lCvkri(QZe`Lw`E)nBFO zu`j6Ii^LZo3)Cc}Arm?P`HP21fLeiK z^ej+?K`wdj9xE*7K*Pkp1y2e$(8*YPNMVCC7Odu3y>U?hz+ zMS-M;p+td!-vjKS*gP8dw63Jy*xb}llDtV#OH$%BMEFY+Hr_GU%$wX76FP#;28`iQ=p>MnL>qG=#4nNqvmB$fh-X?rA&kEKRrnL`lfw_qCn@wM5{fx^ek;wg=*A zrt9#>*brXfu0>v!yvwK*=n>RHzCO;+;dQRPceDqVi6%J=bsEq@o2BJ`k(Y7$2z@7{ z^)v6Hciwx;+w#`@57B=Mqx0Sxo>f52MZinX@3a#7&e0?AB6e1AJI=ZngYXu*GM3|> z#v#PV=T&ZG>I4a@=2_;&E^m(yhoU9(hpRDA?_PR1;DUJ{%_293D8lL@h=Zoce$(h+ zPd}B{9y`?xp#`195*+)MJ0RU~Kv8m3$uY;*Djq`LJPi}Dcv#eg5!7uk;SA7Ds1d_v zkp(6g5Jm*#T>&nr1z2e@84$OzED%Gi2LwB`MkXM-0q4HGj9jrS04rdIobZB~^}@`V+|UMC5sf5dbsbDIYl%Yhh?NTha{UNo z@-iz?AAW#g_#vB**!+}@U;^V&;#oXYf?7&?dAE4o1%|)C4gn27Vbw@odn&2^l@k9s z#2N;wYM=K9{<|)%)3AKRqge;>O62toX@W_!H4j7cYb-8Ix$ta*cS3nPdd29${xn0P z!243!)IkC~Wj)E;dWCSoQhZpZbZ ztVRrGPJIQim}`DW)x&!b_$NGbz>@k_vRM=nFQNzq3l0~}%CyNb4EZt@US=bn{B!m` zW3$cXE}PHUknyptrT4x4Zy_YAT)|^#`Ht6X_1@^c-FpYWo!&~XJD`$M9z;=ECeT{a zcZ)loy1Ie?;z0nr=)}Csk>l}}OUfZH%2n&!<-(a#PwPlx^G}?WKNa9&S2o) z7#bf&`G@|AaqrwWd2oEkjk>+qbWM``d6Xu$(b$T8YmIf=Y38P_+>eqdIdc0wn`g%F zx;E`+LAjkDn+txeeiVmpo~E(gXf&e#;%|4&fyBH8fDYce`oWkBtj! z6*E{aOS^7xYTeBAQXA!I78$F=K@Dv9so=APkDbIYs7MDUs>n$luHrfDeGE#WB9BdQ zLXp-OH)=!XQFLk&x1Yss;3sa&6v~*;J&W>Vir%;&R=WVAMzdr-T&QF6Cp}X*hH6<8 zx0L{_bL!X+bJ{Un!yr1?ZOk^0)2`W!AD`X3`^MeP2XFrLXLnEUZTh{QZT7M>*i6lO zkY;AH73D1i+h!cKHe0PtHQBvQ>eqXcYfScgJ$T)cwWUC*1=Mi_AMS7AW9v`>*)VWu zrjt?0ZVR+3Ar*OAk>5I!z>bOl_!4H#YPs&fzi@h$c!aB$OI~%!k|9~GAgfCgh zo|23-078YToFiyPN&+}5`?DbD04#SQY4pnO-y|H9^BQ;aQR$3HIIg=@>5NO*knmcm zQ>UTuf^%I45L%OVT^0}-rPjz}L2yjK9=kasvIsVHR_-6=fLvsn$;Yuu;DDf?S)(b| zyj;?*?S35h{QOuko5Ph|z}Bj54*##(RlAY<*~ZbA8U~v>Zm1R-Jv~3`di0maH1?)2 zs76O7_ofM%<$#Z<&gOB?PeRxNnQMBn9~k9woZ4I!iPON3+fi)R=zou=@R;TvkL_LO za03H_<%bSNN*?aVtfm7CRRXU-XSCMtD6#>?^l6Z$Sl%7k|0 zq$1fIgLNO-)Pdh?x;G+E9kH($8_an|{;pasNzc}3AGMrX=OF7F%|%#=IjU}B1enK> z&F!V(bc2Sw@5i=C>cWKTn+rSs7}g{6#F((z@4_6ysP0q(8`9{;TCW~0)BhmqHq-B+<`xKdv)E$@X?=nCdU*ml7O;RDU z3*3n-xS(rD_HV_V$yhtH=NA5c_($70yX`LzW9X%)L6yM$e+h+qU*x)U@8nSWOILs} zKB~<>Dxu5CU{c!9>U>hl^;EH*(kPgd4(zoo;R`?{J#_L79Ju!t2d6H=h{8ZtE{c<`N%$&Fq8_>`uL!e39`+$3 zUzP#*cvl8DbQ|s&5ymtP@s1kx!aM~@_=ei*DhW5> zNcd0fSdu?;NGSXA@SIw=@8Q-f>vqxh@*3<}lbxDO8zC)yVU!hDJX#`e1{hir%;Q|Y zGkdJx#9~wSRz8Js>$CmlLvQaFpEp0++dr`6`!;&8$4}n<-uA;i@4)h+F1Fcry{mlQ z*UGBh*LobW5L%Y)^=)@$)w-+pEsT#2wpJnlC1Upw@oraMB@(wSOV4@+0xd~)T&F+&#B!H*S9gZrdMw=W1!p)u4~Gs=0a+W$H$BfR;F~pXdXrJY5hQKfz<^P3&(E zg+MF!%(rfm=6DnMq2I!TAvCrZ<;JyrJf|#Lu%e0o`LbHc;z@&EM8o04n4X?=ece0` z;(mzN8&tca&5-&EJsM@K2Vb`Ny=v8)8yjn@P{X^)VTl6+Mp^EriSbql!l!7?(6fE! zXP(P7O0)D4okcX-v(URWL_?ErlCWq`*!jgK(N<5p%mAm$%~p!;o?b`q36}cgD;k65 z#hE&3lz0?_+Yqg_Y4wl1=P>h@2_vx|&@QTh*WCL=CsEQ)wHIo&6sLGlxW};Z7&e-ZE#I01&(AgXEZRnCL?BJC zbfkB<_v(-YG2UcWssFfO!ZIH*&(bv4c*b0_Q+r+p_z-YGnfCM{e%aTl&B`R=L${iH=a`luiPc$7irIMX)s6v45nGt{=LO=JgP!XGxs;;is6}-(!%< zymQl;N6$QghH$PjfiAj%wy^HZmg6is>l==%UG)sQ>v`wx$|7Kkm1*Z?XRu9 zjHXtR+4g|{2pxe(9~w2(A2<|1=MscxEb1!Qpr(~SKky}jpB`|xxX66>KHf;y#aqgS zGh2QfTlexJ^H^-I+`7+RY`bf`1T^i7grgO_Z4U2o*x|q=EUt(9oPEM!4}->4X1eLA z(ThU!MSmdq{$uTzB>9}fuQ2==Zw@A{-nM_i#PU#5y^iogxH!uQ82!ylbGg}MCO4bK zL%3O#04$lC&1RSe&8ElF;?c_9D;#_d0ftM>b@qe(`r$DEdD~c~bG=%3#_QvYfsU?5+LIo=vfpw9{t=2|y0eY-P#RbM}*L$_N)F|c0I)d8vox+;$v3RNz P>Nk+x_&4LM;MM#;ByKmr diff --git a/oe-core/bitbake/lib/bb/fetch2/git.pyc b/oe-core/bitbake/lib/bb/fetch2/git.pyc deleted file mode 100644 index 7da8eac39224a04908631abbef677bfffbc29709..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 12074 zcmcgy&2Jk?cCRKSN~9%QmTlSc*Ys*fYkEc${W0Fz_1Xj5l00@|%afL8JT@@fX|kJA zOJq0I)wHA?JB!2%G5%uW|JYrQRs@{KYt@ zTC0}1g0)elD)++lp0^d)m+l8?bK{b|9;SBK>9&JT5T#xk#!;ohvKFg@#MZrTH%?MJ z-3aV8XUYB2d1&v1>4x2kla80#aqDI!FTZWiq3g|hUB{hZaU<5L9b{gABkS1a9 zGO$}o+*ySI_~eUgVrI)kPRDXLxC__U+5Qc z0IbK>K{rUe6sv9Q+0D4q@fPhcvfmz}>FHoWNEdmXAe)z?bb30qH#{tvbk(ekdYuO7 z9k*<@)!Y~8+uV>AX0L%>uy-~>l!cn3^fZ=$cDfrh!`7a(l?Kogm$ag+`ziNAa4?K!dobOM-5!!!%Cz7VRY* zVjN`$Bupo)Jh#As<~Gu_JGWrZwZe8VXM2%v&n0>*xU7aR@*AcGfs&MdoSs(Hh+q8OVF9~EhoWI#i638nWy$m(vN_zOA z_PX7`OGFL^!*WQjbinyLVOvO)1RbmgT$f8bDAY{?9VFn)cHH#ZcGH6zK$--tUc0>~ zd}S6x_FK#eoy*%xuiXno>aKudI^Ys>O5DCGy$1#T4fEKe7!x(O;$F%zm*ePCYUd@k zj(bTH%ZU8|5)edoFY0>DElB60OfoFiIp-%3ims4!TPX|5KdXS_v7@vn}-+*x3d-&?#APHbVpx=>-xqz03p@4>GW<>c#$&Au$u%x8? zQOS%cza$x$gE7gJGb8b$qWrRy98rEnG84)_BAH3$Pe|sd@+T#8O!-G8Go}1vk~yyY zDalML|F~pMC}*uY%?1Am$x_>+xW$IUY|rk*eh*p}+R5agXQ8zFoFD=j2D({5XMRbJ zC4BWfl2?}66#JQ4>P+P^nZ#3${Dc9=IEQ{SenIVkARA|C|sF7)_$qc{Ty3|Y}^Qs`!DyXdzAOH!e?<1jj z$!Cf3CiWwM$hK?`r|^=pl~C*>y8*Q$D8M%spDXBh7CuFZ@UQ0J`GYJm-RlNIW~YKG zX^df0uCM1i6pX_l&N#-+0E>ReJm*s*O)ighoOcOdO|}BOGW-PcBy$7annkH=spz5< z6_oyz5|$N0Zi-o+ogs@C)z+9wHo3>m5w!{78<&nHa_C=RoSbbpA%*B(VL2ph%ZzCn zgNsoM$vaS6mZ3~7#PKNmZbD>_sW+B-T~z52^{U7`Gg!|A^IJug{BCGHQwP@*%97kk zwfjldYx$eY>h%c6GNWuBRj)=k*6iz1^$PzOdy+-BwkNG;=`pnl4RD+smL6AcimK~a z8C|ATRy#dZ+qJMU{9|R^pIaPEHs+p?flsm}=CXEw-CxcxWjSbginGp6=>N8|Et&!} z_fK#0{!Wtje_Bx6|7!7+e z%iDY)Ymn5nm45*m;R8y-w@CUzO~oRr*dWTVX}|Q6kcv+<0I&#k0}Wii3m|kK$Up<+ zh^rmK$7mDhq;3vUs+UEr?8M1dzk5ot%u$PwV{)*Dhv2$sTsQOsz`2?W!p zQ1&na>4F$BBFX*mTtJ}dVt2g+ zXc!&_0EPyPfoI~i;jF+|OkfH3SDr3CSbDtdf;u=*W0Y1_SDd>~SKP-B9S3IV>0RgE z-A9ksLMp{{3W?Wf0#aSMdhPlrH-7l(kAAGF-RJeZmSx?PbWzf}q^>@S2AJZSJFgd0 zFIimwnQUhHk-PlR(R2Vm{1(O#53g6Nw0*hKmZ3>?DFDHxKoI4Q#n1 zXCNnM4hY_!sP{%g<~3F;<*L5O3ABz)H#C(hg6Z_bhiy6v91kt%h~By zXkijVZ9K48jIx7_a<~;|3`xp_SQDs9=G{rcG;l!+oJU(r5ddkgYZx+)bV{n^+-U~B z52rAI2Ez*WGp~#eB;EF!K}LggBPE}9LT)RYMo0is@VGYPFcMZHa?V5v!1Tsl{glVM2`=RBVXGMX|24qhis){uj~Ys^75hTv1~ zU8;yDc-EhBqS0g439D>P6v~BT*15t({#obnSGK0C8S6NnYlX?eRAJ3JXpQ!4Q033<2t4Cr}R*04qmR4!m()I&WWB z&sYT$@_PRizzCL_U@7M~0!>Z=u2y+W&MhW4xhlhIp-#0B(8vfE-`oJlIak<*{OdMj zM1I0ZLoQm*4^iTL!h{Fxe2S#XP6o$uqTYb^&OKJ+`(1M!ff^kwx7P*N1%HW0O`k$p zr>qgM(3CZ6jawfe-)ACf4LOn@BLhkfI|{y1Tc9HhsRfGVK#kM|O0!gQgUVx#m6`J} zgE8Pdi0*d3a8`_-ezN-LxslC*(jh0TLWl>1cRojvA-PbGEsQY#5pz>a4hsN_-Awl2 zPr$RMTKXks)3k)Dcm~uW^@L(9;wFS*cL0+~3@F3dECX z3@4CtNB36WHN_!(YkKF5p^2aBi(U<`dGC?(7QiXttj z)(DW+yVjs5Ex5jH1R!fNCDkgTbxD>X02bo|BSPW?S_1ot_;J3smUUbKqU~On5vL)( zRrMMo3-JYl#Uwzm<9+e1S?MV@->zBse+CGa+$!uX5Te5iH*3oG#xkP;jso)Yt58$S2z*@XQ8*gVEo;;L-B_eVap=C3ctH zmRx><|_UuBLL=K!Crvb2D4-uR=3D=>yPVB2n zI$3$h1<0CKWBZ9|`h$HTz7b6X%w)|C@}XquYhS_=)$q_T*Xu77kB3KKt?TSuYP z))u3{SNr@OzQ(AzoLj0gBkK>|HNe*LE$jlg?`OEV_$jM?ft(s7I)UL4V?u zE+S-Jv>y0IxqQSLs%8YU0B>lsI$O}}8zDw{fG3CEuS50hTxN2e$;U_}h#`?LHwseX zao5B}Mcs>Ka2~R;7y}w*0U2_z2E$R=%G`d?=&g%Iu2Q88ynUF@fvOX%!`%^~D3NxeViRO2R5-^-GM3U+1+)m2 z3Vq6|QDfF4DK&}$-W%LvP!CEI8d)CTNW-s__E~pGCuG-BL*h@NR1iwBPI`{3K!h1V zPlVD99_B>@{WY?ciGqsH-sg``oZiV&$!Am zX^lsk9ayEo0g92Md5I9kK_^s?N))0$9*$J34NODUO$?K9(O)ByVwgcro}lD!_Zdu{ zJuMTC--H%K!4Dld7e1l%1B>H`wq}>X$}d>#Yr;*i7HEA;QUr3!YIYV@lJ+sT0urua zqk+cX#?UA>fu?tiFtipf^f=g$h*UIT7O$79j9k`mcLkq?@kbwC9i1Rbi|#cDx}7hW zCo|oICg$(Fu8U&|rmc&jU@zTkwZdI74P@rbd_c2C;NCjEn!F$i+w*IeZb0Bi%&j321t|7` z&|CEK9oC8a`+zx7&Z2Lx@R6iA;06kLGExbE6oe0Yk#wXqB-|(M7`zd07ZC(^KqaTa zG4cJb!8+x~+{gS2a$+_Wl;wm~v1XwvONCRwozvC{sK_$pZo>K)>hxnvqOv?$ewWyj zM5WIJwli@x1UMmA1Zcyhq9}PgZqPcMEv0bu0YcWiDkCF+B%lGV_G}aDa0VyA)e=Lz z44nJO3Z=!@kqG$#ulq2_B`z3O`)`M*n^K|}=aMaXfvCipE#)4khp*V?@QgO<1ou||b`?K8XX2QTXpLN&l=J59UR7J#$e z3xm`E$;TLqp+LFu$0h8gd5!lcc!`hu#BMJ&wymGi)#w*VqUn65UbP66Wt44@B=>8fI zDT2d+azB`PUWfW~iLW52>-OJ^4SRzFRt4BH2pD@99SOzIKL(D^_91_GY`6$+$ zA}L~OB$?XzU0mfnXNB1Mn7J;JLl8~5LU0d6uxVWcDX9_T+nj^tCrnxDuSeXrsBiDDjE}+ubCNL%K3{V7kA54x^ z0K5J<-B?5c4cdpD%Bn^HozYsZY*9p5%t*=m2FS04v)*V5P`ySNj2*4Ig1GJ6(jw3|F3av zuZ7#dcaGXG%$*>-dgevkDc(fETTbT16GL)yz2dmqISyZsJW#*kP{6Od>Cz;ocMPRAmQ=w??4M>1M4~r!b&6 zNdiQ$!{&}JcN0S)@*>+jWAalb#8`s60=X-Ez_N!-M9Yfeq<9-uOJO&Fotj}N+{8h# zAcKQ2C)KR@j00Xi1g-0EJ*TLU=8#dPiIG!s4|W2us8pD;#)?zWwKIh|YqD^XFp0<{ zhe}Jx>(7z&VbTCJ@10{r+9(Y`CPM520>XH)_gOTJSaDIJ#P<}V#JCdr+Nak*8m#7_ z$zgjb2XB(;*4}OmP=q@uT5ATjdh|Zj_7VBjs|rRvs&##dEPd zj&vHowm}?!#??tcLi_|gDG8l68jEsR*BsC>6C<9f%yU?qkdwJ(&f>Gnm`#EyrQ;KD L{&{(azrz0k0fb)y diff --git a/oe-core/bitbake/lib/bb/fetch2/hg.pyc b/oe-core/bitbake/lib/bb/fetch2/hg.pyc deleted file mode 100644 index d32fad975badf4f6897fd520ca39501825272631..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 5651 zcmcgw&2Jn@6|e3Y&v^V1JIUHk*wv~D@p=-iJxNvwDL}M}H`y!@FSHW@mQbswyJn{C zp6;fr$BB3C%Z9%L2_z0k95`_0&L6@Ji3 zAIl4O{{GMBks5z$`2HA=`6HTGsROi*id~gD>HrDSajZPKr+gSzxQ_p=QtIaiOH^^cy-3aPqgi;ER1d==?QK2QRW#W0l3|hRq0XwXO7hI><)t^&Wi%?2 zF!et1clW*apnq#;VIlb!K6`BkLaI7#5LTfbQMgEZs;faBTjIim_^2%N($dyIdzu)N zWc?q9WjNH8F3(Lo@tky;DsD(;Ud2u6v{XDVodpGZl6g`2`)wY_+(xsThQ@eR?unXS zugr(%3|8tQH%XP3i8fIk?0l&AE*`Ut=G0Y(FrKT98t@CF%KQk;f;ax`4s>)x`9^Cm z>3N~oPmXowjmp%E!p!SxyR(kH7fCgk?Y%PZH(ZY9%A1(_Td- zAYPV@;)-^S+h~+DhN^c4`A~P#moM(!xqGMc^gADY`_A#bPFNHsD9SwQa?a_VHMUc&Nw->C=8et&R|J~%d*x%n#mff)==f2We)n*tQMD4wk4!X%KTL{T9Khh z;^uZku)zaXDXVf#9j-De5sxzkp$pW1gMLZ%>S}#@kl->ycfT#>{Vwb`je{ghDsRyD zOrfKsmqgxih^+3WS|TU0F~u~Vu7JIi8s_mR)rRtJe);6nPd@X{Bt%MmY_5Q~X@bfB zP8F6r{VybBI@0d!waFvFRfOfxr+57YHkU|WM-!N;Oo|}YVGJY)3^Hn<&3H*QkT}fk z_%Kg0A4}*TB>BrC%wl02fI(=*Q9n+~iQ?>XAET>L5kTX_^jr-JB zoHci~cE!2vyzef%E6!D?g`NP-9Oh|j$sod_1)4)i90Wds>I{(vEClqps@znt^FADl zltGY@8j^(^dPfN8l+rga>Q3Yb?v!qCv%%2{)koI2XNBi5u+Q#|?w z@TdZ|SPYt)63Gdp$t{EIr+r~Y5bNr!p-$zlp`rJf)u14;2{rWza?L5zSEoXRLU=9T>iXhjC0c?neWx>LEI{&;-u7l`?T0d*4?5DEwlB|5!i2-WZlM@eQVpS$~ zo%r&bB73goTUXVhim#A+ouZd$G2r-V3xRf(j?iePNc3=&q_H|vP_(&@;imDD71*I@1x?yv|~u(CxFF5IC2L=<9%S>*}t8K1zTDG5H^4X8whR3LMvNb z;Yf2}1xnL8!=A(@JLR9GL_pf2K0s!oZmAKbi8d%#1ROS)xm?5o#zY{`yulN|*v?2Zt(st%FQ5Ojs$a88Nw_`DLL z`s+&ATVPR{&49P#`~sMl3>_>KaM0mE=O!Y**ug4FLE5DBWFtgtgP z;aK|>6|V}0LeQEVb6xd_PH==h_L}ND5bQX>tuaWk5_rrP6c*$Ov%!2YA>H>P7VoHO z>}!&qc3{=2JTRq z2z6ODD)!m}6O49&typ(Qeg7L6%0+L1A&Rsy7BYwqf+BwK`44^8p?+twHX5)lqp`YO zStuBIuVS$vCJQoMy~xX>AhZ(22J(`^{YO=j+Dc-01VMuYFh#^Yhhg-Apq4FA=q31D z>bP@t8_5Id{~Ss?V(QfCe^-VVl~iA*D0e!W}AxnkJvnB^C=sN+iBp*dy3^_XxP`7S*c3C zjK5+~Qa-A%`30Dn)kpBg`^s-X6Hrj~8_xUI*0eX>FSceP6CmG+30~>{we??6Y~s<~f>~7p3>Me!}q?=pW!QMD7NvrdFf1(VB1FYPDN6eAjH1`7_Mg zTcSqh6MM1nS3F#5HswIKc-!sn*xSHo@Y?#4t9)jc&%lsfFX%*K{qI?OKj7&M@3F?( M62O*!tFu4%-##&H(EtDd diff --git a/oe-core/bitbake/lib/bb/fetch2/local.pyc b/oe-core/bitbake/lib/bb/fetch2/local.pyc deleted file mode 100644 index 63640f31d7493478537aab5288e9e3fe1a7f2032..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 3246 zcmcImU2hvz5S{f`95*eIT0|p3wW6T9h{hoZDgi=}w1G-#gw`#nezDfx>v)~@uDkbc z(@N=6_&1gM(|F;5M>uEJ**4|1v319H?&sW@GiO}?`*LUNuYVqoW%;S&_a`(PL7)vF zJ&9_Pcrrkz?AK&aJL}ia`gKWaGH=MBAs*K?Bx%aLC4(09rkIvYFxrwoMNUPY3|4q- zzq`WQ4k0=_vD*ocjDKs-xbgIsAI}$wnVZywF3wWh>Fg$&He&m;2k_j_@L4q?9}-xb{Z1ZwbP_4IMNchfgQYD-7siNPTz=3Qv zv|TiN8RDcSGZ*2nEbMTRXX9RG?u@hC^hU88A>_Rz9`#0}o?5uwQ*$>L zFI*c(*j8l`||>aHRR z_=bz|&Kgc$24RR)aJQjr7^SxDDWX;}Li^N5SMV&lMl*WpmzNDWY3NYpopR`9lM?{$ z1~7Y6m;ALL&~Pr0dr}tw;j}I<(Qiqf5g@as%v8m;)0$v^itCzUtBosfZA5=X@>c>N z&Dt_srCM!#`bwU@=Jw@mhv&fHwY=le+Dj6(HI}P#R1*wVrz}mxhBFhFQ)_xU-~h|o za?+MQj_h}t@%9ghDk%cviahl}A7@E}1Yw;0?0kNKiHbStC-iMG2JP5M@xK&12dkii zixgFwGCjxW>^<1O-~a9BN53klRJ->e&;?&8Q#r=(-u@7yU2;Njg#t}<=Fqs`!(5^H zC@+kHZZuLn7A{V#_Kv6VcpC7r0WqViXIY%;3FdihT?y_C!YsvBEoGx+{>& z{ZvzPthvCIqzzkThH6oq>-(YvJ*5?_d;bK%+m$VN`z927gZDJ9dRM)cx9)uic^!?v zH@vR5*j4G(US7G|E(8RIJy`@r0=5aI8CxJdO(9|wbZL; zk>vGRoGgngDn?Z$81pa5+lV)+1rPzc@Q^Ki1QX;o14n5^1{dY`nMQqNZC}G^@8HOa zMV5sbBw|q@3rq4KrNC{~nm3@acd_?zu{SkfaYv1}S`V0Cy^3sRqtv%;1NXcpX7E{K0_hR?%-Mjakd(rsUTIcrH z|9%pw`q#k!zr|zziY8X-0Ij29SEY_RK*#o7b>PnX4Rz3%_m|YclJpxYT~gDgI%q0~ zYnD{nQqyI1ux!Uo8Ly~=6+3RpxUCM_cDyX(jymXIyrT578bV83{aLA(O8xQR0!@0{ z?a)$#rgJZ;2H~Ohb{^;|8t-_?v`F<-XH{4wdFBoC(#uWcbsrTvGc%*T!7NE*&*<_f ziL@7`3FhAFb?${m#~xNxW9^xv?Efh2bvns^@cXpuVE1Z?&I+s0jxJy%W<1o@IFGH6 zri$=`vdl{>+k)(2VoZ{aJ`2lmsw-Wddrdv%EF1Df(KN1jH;+uTxGQdb50ANzM&qvF zBD8Wda1^h_rN?+D4e2y_6O^=6+?39;id)iIQU2rZGPU_=_S4W9ugX2y+zY*F9?w$k z!Hu?OykVJ7z3*_RE<2w6mAc4HQsrf$O)px4T0Sn-<1uS!PFyvC>s)o%!gcb1<^h_y z25*0?qeI$ZwDyuA3>hUyI`d{_>P2DZ4YaiocXpgqW8QIZu~-}ii8$L(`FtQ3Ry`|p zmlny$=yWIxpt_=sv$&#z<1QK{jrh4g&ZoMcK0Us3`=_`24}bBq_ii8E>4!yOf}+f$ zey;bTywv@H4ak0)4ElpXU;KEdPy32z)e2OaSyAL=Wv;T%4b@Ua8(VmI5Bqq`M=$~S zIdSNw!(~<8P_U|&xay^=zH(FsKgtBiub~$-)QM7)C6PAOOGlkHRMk?GrkX4(Y(8nz zX3| zE~)C0nyjnI1{c_kPn+tbsmgEIR-5XuQTH(+fF79G;$-w|i2vi4-CLH)}~%kjb+E& zjwgAN5rDi1fcj|>X0c2hV}i(v!%>`+^JB2fXoBI10n>?mq^mE&Qq&FxBC+8o#+Wj~ z59il^C(P*NvgZF$meE0$;>A`)w9zgtdCI~ z`4=G_2gcAE-Uc?597NgIJr&zT{b1vTE2>^CbsaA+PGFUqG=L|U3;+8fMM z;4EIuuitx#@pdGZc7EdR%nICvW-rNx`Oadp0OrPv2OoUC|Iz-#`vFMrv}$5|5M-5G zR*sCJWH0h|>t2bT%o6=(18;W?WUviwU-|+#Pa@iGZWx4i8V&uCv&`!d1k&0NW>T`{Zo_ zyObi|1&-PP0SY~fMDE|jDiP!bs}m!;*j?*xndcVmI0II^4mhpDh(M|!?qTo$=a88n zpi!+&cgtTbHLPS;s=-o{t}MJC|&Nsjspa?}D)Hm?9mSAn9dh(QNFMk-

~l8wrL2!asMNKpXJB98!8NJ5ett`cfou_g)tWsWVh zQP%)jOVsI97u7`453?CI#%3G##ioqK5GVWU)g8qikN_28M}W`4fw%+IT~?DTqG-!* zx-g<1pEp8Gf7J+k;xi*Kwno^~ESyDCw`8BD>@C}G3eNFnTi&$Q&_%L?k5*;8tws*O z?>O-qpieS3Z=zYC^8w3A7ElXG!YDRBLL=|)dJ(HGWGX3}>&g#_Mn|aSo_RL~g*VMB z+0*|qb&zDA2rGCAizg$AVwPo8wrl)blrea$5r)Le=zdX~so-;>KA5dM2jpl9}u^W!Yd!}v4w%?=vXeAE3EGUkT6?p$`RIqS%u8}4Pt zj@I0F-H4Yte+2a62o_b8)?Y#N%Y!gAT7*J|uYoTue8kju zVWMRP&=R2~pQwNq*a>vSR1e}2#FB~tL`RkTA_2|FkO>`;NstLnSuiZsJVs2`1FV)@ zE;T?clY~B>uq_q%7(T2sq8EBS1ZElWOAMb}_%r10(_#LeRI9a3W6|M zDV%XEeDI}BwCSHZh7bsg#FR(guL1s!5P|{xrW%5ARTUk>JZ)xs$0gHn39*@hFFJ<# zOVZaKlV!c0d~@T)A0GLiu%tHyhG4ohF`Phscl-TmK0uwbmk&&DGVHMqPJ76IcYldr zUo`f2yC_vA;JaHWJi3eT*k>}7DPb9nF}gdPr75Ol_;|l%dSx-~82V8^t;%o@rMkhs zqvr|EL7;S`==pNj;OsONj^v4Oav>!SMPBgh`%GS#<5-F~VZ866IblKl6z8*Ts$p_$p%}D(>&OuD=l&P`KQ!V1 diff --git a/oe-core/bitbake/lib/bb/fetch2/perforce.pyc b/oe-core/bitbake/lib/bb/fetch2/perforce.pyc deleted file mode 100644 index 5cf75408b9015c1e2c3911c991aac45f39c4ffdf..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 5678 zcmcIoOLH7o6+YebkTe>-Z0nUcb{ku0p;s;9e0YN=DRvX9b|z?RsOt}XkvSZtRhF3EmL$51cJetA@{$bLoZ zWr-`&t;&A2c&8%qm~_Wwf4pc{wLKyG6GeMW+cnv*7430tPs;uz+7l9vO9z^3@=KBD zBA@QpX~ypAB&|I_QM(`I_r2rLx&C38`-j(^sGG)NH|*tJ9wj|ftF6bLF`;ofN#-Q& z+>3fq@4)G&CeK2z>zJgU`NQG-Fg%^F-H+nH$&(~Djan`G7k*YPD9q`sXHmLcw904& zUhWkwnx%GZh52C;6rHtE=Vq2ASrkaFoVs0c)CqC zI`88#TPQ+o6FejI3^oY+!%9iQvV>cyJ)YW_40SGB^zgmFjx)z4ymsUPI@ zVX%rqv@jo`);vtQVKaX6`1Z|PH=A4Uy!H0YFK;)!G&QX>OZ;XM-tdzwY__AkjlFKh zQM=i0H`QCWo9WO`jr6Jd&GgeW$#QcYGaH&Jmd}4PcxbII?bom)5*gTXBDz3}?!hvb z2PHWv$&un6U4ycm0On;mE=iW@5Eh^w4l1%t-&FbPXJr{wWKfmCm<+~WmMdoM-4Hn8 z2>cn76R0a3TfA%!Ukk=L3(M-riU~EW(EpwV%nv4nWo@KG1qPGyT(3LYkWETN}I4$o1a11lnkcjWI~QAaxz63>!hZQX>EM*mEiADUX>iSP6!5JF1=w( z5A#gEq?>+Nq}#?MfaY;ocn40vUL4^~i=r4gfhMd8vuGJi$@}cZ*l3_r0l=oQLEDBf zyVGn&N;npGm4MhVK#c7>Fbxb@+j;2j<)^*h)3NXCrZ=0#EGs4_6nzust7KwMsGBs7 za_#R#y}(s9obVvbKk+gZ@soZpS1rI{*b7uTi2U4zoVb*RZ}b(No9J?>z^!wLI#Vy} z4lDVgP8x)9RCM)Cm=$B@aWVH{VhWQ8UL86PpBlB`OE2z+MrVNGL$N3iyGkyI>5xjj zGG=kDL4qZj@LQ;w1`4sN)_H5js#~kpf_(+8sy)vVeN%YmQC_f@tVL_u`iAY(XFTZm zUrG1~j>o|Ttb=&K0gjmLHCD*OU0@@-MbLn4r~_10f)8xW9%#2R^R(NRtfk$+lYJ@; zaFEKt95w~uE0Jg|d1Ssf6onx|$$t>x;D~LQpfj_7KxCViVk-#DWo&9+pvS4UaYhVM5s_<(%>YuuQTH>cP!1d5-zUS%U3n)66Iz zOUhaEp%u)^F4;RF!5ldXP0PEh=iuaRcMhd{0fnK{of~~;#SE)EXVnzdA)z+z?QQBQ znuT9Rh7pupyoz!1CidE4tUY(pL&$%)xwrmc{o&Tuz3q)wx~7aZ7ct=Wdm3n0%!+aR zL$7y$AbX?h+@e}q^j`;vGI#Ud285LHN@z!kt1NXFA)w^g%le_Kk%oo^VY`2zAqFgB zN1A}N!-aT39Q8u&M$nH^cOC+oLKIvrCP_~*V3JrD4hn_CX*1)#xCU>Ya~HPF;>K%vu60Nf*t0`X%+KcWkVG@5|NpeYOm-pQ51 z>N8_j$FZz!_d8tS1d0{Y$i1v_@XQb?%|@f4s4_(Eiutzw4J8z5O)VP*-ng^wH(6-h z;Cyl7d$I2I0$MqXmO`o(hhBiZvSpBM9)?D@>nyH>Pf`ydgx=4>H1_`85pE`nHDphZYh{ocBLu=ZpOg(9{D&08AW;00B@} z;t2p45jvXuVD?kEP#Lf_sp!Fxh?BRX^&0C)kRZIke>gu0Fr3wBAOQllm^T6Ge`31C z7*XZHURT`Wy#K3q!)!h8i*CfCe`+_3E1ybpUZ_LVfEjfSI#ZHQ$8QzON#%|3NGjdfOY3(xdTrj8|^i8D-rYxhQf<*Jlq2o!)LQH zd}&sOFK~C3s7{xHWiLxGPnC-=bSyCOgrBjq&&yb`E-84ScN7cf`fQ>jb-p8DIydf5g_3s=Hj`p1(m; z)a`G)a_!EF(PZI&=LtL;UX1z??^fn2dwF}kWlxJ2dgy+<@sT^w6LD{A=l;FjO+8=EhH&Xi*BU?3 zA3cw@KHl5h+QD1vTN`=~cDxw(`kgby{hrs3L)_U56Hxn40~!sd%g+U-pW&N9_n0F1 zXkeVE=ivJ9?A+UX&?o{39kXKY4il!r!+Isw%!N_FI2dGv7_R)x09+)B>DHV=u#+WS zNJkJB-3wd=!aO{?;at`A>(pr$^>XJ%0{JGAC+J|tJ=C$C3}-y>U~d)%j!vz%Lm9Wg zOjC)MIXC=g9lVY|b+nHl)$8NSg{C=Y;Z0*14s2e3+*|nXG6re##Gupjx?vH@xOuv} z;d+A0HfKOg!i}j&%NWS|Df6QiBZu2WTT?WbIg4gz?Y3@RKaXOgIP4w+8;4PtxgSva zHjB4dtg)a`8cOvo{}8g8{6)P^qFJ0?fMR5NY74GQxD#>TLVjv-SyL?}ixV$+25si2D5P=)iQ|G@MNFTuu3A$i-sR>H z>x*Z;G>fG2vULrKWz{-o*R4hSk~M2jAtP9@E<%p)PFZz(7B|5qYsOx+rXf{>?3=bG zXR5f>BBolcoPcVziestOa{0YUGcF~(;U_%5t6$QJeCj^OeH3SI(c1s_Ba+_j--H(B zQPr9#O;wM8Ke5Uw9Kq9Fmzw_ZZbbo}7f=7g0 syWLQ--gbF@7Dy)|6trr>D_x}S!~2EjKcGE&C##;HMN-G#+0n24Z~9_jdV7bs(#X5qs2Es)*oc0_G^%bd2FqAr55Wt z*5fjr=0=y*jI+95mE-ff<;HF1$|^H9X+j5^PhDts3*^jKBkbB&M*%|Ep!l~S>w5Ni zI5f!-jap-L)`!(W_S6)5TID*43*9rdJ0{h~nH!4n&SJI1hfYZJEUhnkGUiSvrcJT* ztjYV1K0v#po72=WplKUK39%o5>kiAY>Evem*uEgzLmmYK`r%v)^I+>J}vwP5LX;C#3I=~j7Jw&sA13B{; zrx8vQf4+L|QxXZC$#JsHxx8_1KF&9o%bOx^su6^%>ba+EPDyiwY*M4EcP4@tui|9 zl~bqP(BL#3&g`i!`_di9Mbqya_~aRg*k<~BtS-4kvST%6sonG9=|)@jxQjy4jG#i&mT}#PAZ2K zXwzV=vj9AG1|GG6YJnW};LFT4GS#OF`()AsI_n7=oav#+o&YDgVpAxXEtVJy%2$0~ z?LKSHO`v$@CMJIss1dBmafCNGKhTQ4fTOn*4P-rpIH6Pu-9x7Fxnm2NXS3@wgg zO{G`V5zh9u&yckwb~|L~-c@zh5*r)KFyKtnYh2!Mz;JDd3DCZd^s-EKxuJO*N%=hb zee~#~FyozJ?}O}HU`%D=^i-RZjIh=QupGx$TNm4*Nnh*eCr8<2k`)6%Jk8A3U2RW` zr1MznpA{c&Ls@tQL<%wd;L}fFCzOke#@@&7VUl&;Axzj;!I7!;9gH9c?sa|jum&~N{l97 z_4$9_3Q)b?{t5h(8x|l#?1+=ZSR3A?n7bO4S+PW=fpMS5l?;4VO-=aHd|DWN@;h0d zmxF<+1n5%Jn+}#3HHm?5H?SbQMIzWo3&8YBJm~dg+0W$OkFZWPi)jD zC~SR`yKB&s@PQH)#vPZ{Q8e3!z$`~Y;%3N;J=`I=3eqMv31SLB14)<2={Sby*(xdG zv6;heNgsH+iEsp3`p+q$Mo0X{eGv8YcwjFCerYo;kBhvF(_ey@m#%93!rS$l{+{=? zciV4y+kW8x)O*=`)w}P#>1%Jx+w!k_n_kNg8VM71-UON@eHE&S(%BoBoBR;>vJs&~ z=|Z-{Jg~FJSA=Ne4e}?7HY0U$*B~8_debaV zBlw(I{EGN9L_g~I4+J@U7YqKsUb6tBNa`Vq z>R%e@GQd%kmPr(aQbxBS2;U)jkK|V*MBZi62=~8xwucR9*J$<!zlohlOu5F?sxB2z|1#mw; A)c^nh diff --git a/oe-core/bitbake/lib/bb/fetch2/ssh.pyc b/oe-core/bitbake/lib/bb/fetch2/ssh.pyc deleted file mode 100644 index 8d9e23cab08a9fdba09cca8079f96db3d1db1b28..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 3460 zcmcIm&2k&Z5$***09=xyC|io{Tqa>u1Z9ECNR@ITyC{VcU3QgCxt5Bn4B0^~b_c+M z3k+&zAevQRF3M}JJ@28KV z$Qx6*yTa3Exx1m-eGKEEA(gltv_5|M$B)1JaQEI)(SOIlmA0ujwLB@642|<_ z#^Z&hZ0|PGWYQj3t+R7AP5`koeX)mEV_)e2a_HdYe*1Sgn~(lKUU0U(d3IEuJx%=Z zpfsMh%d?HlL4g1ZPEV`H#v@D59qQ;lY&lmwt&*NI#SC&(p4A2F^Oe3YiMrHs?SETJ zk@x14w3uaDR3k#{)y|)GxHzruYt%_v&Ml4|8qS0N^=zvwx5##5&r5fZRj8vM#^b8E z-V%ggg`RsQ8pdVsAmT>Z$i6?Jv(7s ze1oN|Y-I9DjDHdp1MR;~tW3PHGc6eO5~sOKwboOZMm?H@+vH)?z72;y;4dEq?jk1LotS=WJ z?6`FVH{1 zGTsXTR5um^IM|TY<+^$)&eph96zgUxfvm_MvK9EG@rLi@T4cb^I<l@wjQrUOwm{vet_M|o)`NGd?^jwJ5^<{A z afIlfAJzx+Wr+)o|_kx?tPqn_aS@{oGcMA3Z diff --git a/oe-core/bitbake/lib/bb/fetch2/svk.pyc b/oe-core/bitbake/lib/bb/fetch2/svk.pyc deleted file mode 100644 index 9f2a82e734cc9ad426922d2b9556b7a5b1f547bb..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 3394 zcmcIm&2k&Z5$@R~00I<6>W>s1+TN5!8x=nQyqNp zMB8}$L6FYMOwV*~BbyevX|+zrsdKs!v0N%PThR7Epwb@i*|I+n9y zG|~%pmRrs9A>S*WC6>K(ayEVGHCE*zhPelz;WZcvP<#Y)v4cFe8(fq4GO4kDm{O0JMU|cQDrRlut8S2k8*UjnXrn2lFZm;wTRW+UWszJWcIbob+7Y9pbj4ctx*SC1bGr&bW?q&>Wetlq zd?2mFtRs&G#sP-;0RWkDuGmb|232)5F3jJ^@;b_I6Y91G%xGOA`Fn;_(*2(L1o(UG=dHONg3ay0~vZ-Zcd zRz`VZSqsEl7R6cwjSFKJ675(fNJ4F!V9Sa)%7$sCCE!9Pg`7X(6@WM4ZkCI%;wsQj z^VD{L8@?ZT8|s#~>D~5TPmg^pFVaKN)T8PKyZ!{R$&P~uF{#lDMdr_LfisBX=tvBf z7f;1A;aecd{ZFg8mdGwlxWhzez0_E9X_hjAwK&>osA&5FA&-0kf{=Gc@@eSP)&*i1)D^0ZI4Rux zRgN51snMiP=g1jF7j;1!bdC&Bq!58f5#$pR2sxlEGG&b>SA=VwQ;8XoAIu9mS2?wK zf;A@u2ZO`M@&-*dW$hXzt4y`md7=C-p_B31*wCQK4en%Gt>U*1#HRjk}5^w<|?mC?#cvz7gp5ea9Ro*sYSxVH~7GbCpZ}9>P z#{3UrIkC?2qC1pq2z7VK^!6pw&_l&=!eRa0m-3zE-dSpzY$ABCEj=y`l54y%H<^Z3 z5*NYUD)@HKTm*ZjyJyVx-z@AIM@~5b%zFSLF+5~qZurAcy8Nc3Pnk{U7?$gSr#&0O`EO<~t@s;h7dj8a>Sw*QQ(kk1$9vMBM? z;@hB_^U6EC!o3hqO0qQ9!e(rhmNL`)917W`g2rPUA*C$MhegN=2{tLxT&#fQ951Et zk4w4yP-BW5QsRB2!P1t3&p-+#y1`}j7cp>kRTS3U0dFWgrwX|Pke~K>Fsz;wd-%Fb+xH>)w}ABx~}S~rLOzy>YBQtw!9C$ z`@XaQxqZLShUoWEvxxeA*Q$YX-|Y93BJTG??!w_N1J0oE0l;NDl-ck01PVC}-p7z= zu0!=^y}8zGv^lxL0|pW|tRBB}5$oZHOvNB^$6(NLkE)Q9LZZYy95`AfIOL2sbpbKz Wr_PLj=NOh!Rlj*f@o)3;=ludpZp;+` diff --git a/oe-core/bitbake/lib/bb/fetch2/svn.pyc b/oe-core/bitbake/lib/bb/fetch2/svn.pyc deleted file mode 100644 index a63037a41a7dd5a01165bde5fb2d53c00462a801..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 6116 zcmcgw&2t<_74MmqcD1VyE0!f;lAZ9>ne?u^himCmT) ztm@7xhjV6BT35q{>NaeDR{C?QJ7@cK={HrkY5NW7w^X-f`*YHtSKWE^n@TrSAFH<1 zuatVC)TiAAs<_{tr{=GrY28Z7Tj7!Rw(jUM8f!l}MJoo!erau&8>gvjLd?>@ zD?~%Zbs^?d+z_Iv;yEE&3I^oh`O1JWo?n^n2avd%hQ@eh?uo))=neCDoN5mivy}1r zMLwkYyh4w1lazUpXcNs~G9Qmt=-7LZlmmNclgVN_=pn~oWbvvaM_E1^={7Zzp3!MvCSd83 zI*#L#rjFZalr-ixsLmiC>Q4Ib!S!ozT+L8nbf=e; zJ$P6rO?sVPuOrsF-l0>C9+h)g$c#s$yeQ2UX$n*`5p|?S4LrMeObaR?Ku#Q*>8PQK zR~59XIIeo)sxKUs!HzNj{HvgXnmSSHa7MVZ>WQOHYpSfP!&!CMP!N8I({^cl%;(IO zI;p8An1#9XXCwJ)UIyT;j0_f}yC`!V#G1^ZYIRloP2NG@n$=>7idE9AE;V&{i7p7| zJCh6{(Caz=lIqW>wW)@|GW~SFEp~eghM77@k|m}1ni=UR=_iqQ92QB~gGbUK66-3A z+UXQnLaEAEn;>8PeE*ZZ+jsp_IsQT)n-y?3O)&l2DZ^st;Ia5aN7|je_6ry!o-+!I zq0f`^8U6ke`D=q)Toy&7&~wC#m&$pDdr)<1e78 zMyI2&99)FMQw9Qy=MeD7w$V3N(5RV9&Z@gyyX?H?e8XLIFF7l&Km}E!juHlcLKu{A zY3uspx2M*nfFA;Qa5}iuDSYdSI<2b{!Mr0^6+ffH(US#Z(6uy}S23;%9Xq0~)=wMi zK&jI?8HI5BwK_q#041>`)@Z0TM3Ym^YO3PtGA zQ18Ufm{d%(QA~wL_-60P7v~cbmA2fCrvdO4xO5a zR3<&sM>7q(TjL~+z46EcY%@7T`EUp~Pm@f0z0d%`k$A`PbbR&RON_T6=(+K_w=o{U zg*2%o>*pKO!R8V~z54l`_deSFVE6v*00K_SS@3|#W$rT;j5NpDw~ZOtNH+t?LEGD7 zql*lQ+1oS~XM`m8ATMHYBn~OfFsL_;M;d(m-RN{S4gUlaJa{O?Q0jJpw~}$*!2;yS z4$Rj;VP^E)d|6Cl+wRXWT)?zFE=AFIv*R#L;`7GiEAAZI4gCENZf!dEDkv$*iQuec#XWFMWK7&wLG=k`WT&64d8JP#MPuYTM{!65oss!nzocbypsZLHX zg(r)u#($Y&suKtboIphvd0q;gk63vb(E!`Q97~S-{p8_AK+-Za3VL)(inGpm3p{fj zjjCUESKYevqO!v&PqiAbD* z0GBnSZ^06E9_C`r8ivdhR}KLnNZJ5Tj72E(h2RFb)GGVpS&2=NI6ILjAYvtAxn*?- z*uX-U32Nt*sQTxX5Y?Ym0wDN|66jkc$X-#0SBQx50`(%Kqk3HwwECq3CXhM7WaH6ZTcV#H zDIgT<-uS@(I=Vjb*+zR5X=4NiB+^BuAN=@3|4oj2WimG!u;`#wdOevah<3dseu!;? zOqYPnqad^^%3h_sru=c4q(UWAL6+uWjD&3Om#X%nyXCApFSyIj zigOiUL3+ipy+!mEoF-sp*^Rid$+OG(ER7i7NVT>)M@%rd&a;33h$nax|XOMGa4`w&sUYq{r-(>R+8ac{B5A$Q~6aB5HBhp`B#d>b4e`B0`D%JL*Zh zD<`7zeApE&>4?0d0eqBNug>QUFsJ2;kGj3cywDqG$!BBj9qC7cE9F2Fe5T{X6!7UA zc7u%EHbvPZkqA30;b|OJF&AM1-qr0r14%l7y1xfwa%-hV3Ow*>pI>mkV5}_$4SC4|}?p9*E$f zpz*zT_ujv`>)qQ8-o1AZgk^?UWOoo|2PkKKeJokwhG73*TaHTt?`_z}{~?<<+3?`R zjs0(dDml)K(xhZ*Y^z7<3WUp@@(dU4m2>I?{yi?hbI8Z#Xk1FgCeh5bF2XUSin7+5 z`p1{tz!DlYv*B*CIs)8z_FBii@)1AbJ)7q*-!H6t;M8q&o1f$5ncXJ=WAMpDZuiff zkoRDaAamospN|WC8Z!7?gwIqs+UEvNmz0n~?K7zYr|Qc$p|6Uti?AOnk6^N?sR~cQ zwb3;@{cc7e6sysZEw(&^gD-*o|5V-o7y|!_r^3NDF+x5;1OZ_v2*i_vz!ppBQt=>& z^C$>>4)#4Z5(4j&`VpHC+1zLI5t~ogP|}(4h5Da;i}M*Rn|S1oRd-O`*PE-&*PAal z8_gQ%OU;IC&Ht3DNZnN9@JF`P;#XRfb2g)bZ|j&|Z^zb0K99}bnK;YFxMx6-u;u^BOFgv3&Y#?bg~m$7NIliY2HAY?iAP2<$DGvDjA z)7lp{0e=>M5idOOzytiwang1Yk0q^-?>YD5eE+U1e=amO{`l*0NRwX$@2~Ng-$5dx zE~ui&p+r#^gL3Rp*O`th)U8a%Rq9q{T%n{wqZ)Nlev`B~xTsXJftbHX>N+XUYrJwttHnWtAoFNuEWF0jeFttNZ22h!M# z?PjpA-SxZLhJ$rC9*q+{(y0w>oTaAG*h&Ipv~l}c?q)q3#A%%Fxy9JnTn8i9WJMlM zrtLtVoYyPjByw$*CFXjg5&whVPD??ft#SYZ8DNSctV*)IJw4gQ$LB@bXXnCEB+9?v0|&YM9MDZX<|c?nUJ))($s&Tr zDRek`$e*rJRH0YMcbyZ*!Wr^*TQ%N(1w=vxpIuSs!cOBpivxH402%9eI(XzJ<8qPJUYh9q#j)Mr$|jyMenGKhr56?uJ3?_H?ODNA5vv2QI6+ zezIHq9auZId@>J=tzgu*;}*XS+auzWc{80qNtS&+)-7Hrrx~5}X%7p?a-HeJagatbL@Z#xoq@DS zpB9` zzoHya^oo8VI<8HEcvRsS9oL0LGvL1>W9f&ZI>&C6Ulmdu_9`)>NFCKU#Hi}&WDTL^ z;xQ*pEsY@=WLwy#Wu6aEMZck2uS`sUMK}hzfR5t|rJIvH4n+e}33d5{>0&56yLe?P zue>Hdf~iP%mG?$9dh-~moF(K66Ayf+OZjXFn)y!(ll-#F6fLlYT>o|IJ9L@-a_DD8&>&UL<+lS9fL8Z9TMxD#Zf}3H zbH_3id7a(I+nuR|m)z|<+PXItaFc%)gHX&v!$oxM#bfXOvEe*kdvW*vcb#Jqm-rWR zuS(kWp$-en_lDrm(<0W^+`;Ul!34hCFdL1~O>VAjk*7d2Q-ruz%6o^w?mgr73d^r3 z(r~OP^iFB{n6TIm4L_vvPmTd|dy8Tq!gDl_o198XWsCgWi z76)wtr12>#2-e6Ud|mPNRphZ>-g1#lGS85F!VCaarx&7V&C=v~3w!Atp_lH5^68_uDNA z1|MP>9723hSiO}2_IbicB0auX%Q%dIYT9RL^R7ZD0W2|9bve6sIvIhqIy>?I7`mS-Os+ueRUZF#u8~(hD*RJ0H}I$ z5pj)ppD+<;xgh_`S;_Kwr<%)7>d4?TurNP@EiYbG-jD3B@AGZw`;t1}A7xRIFw14_ z`%xD9zPE(2w+14;ayLkfE?v3>*{S8{Y`(`P@R@==b(G>}iZA=I#h^73k z2wd{kS-QdmPgys;-u1GXJ%&5!S&uJG!3KeXvYDsa&Ny_=rS*9k+%LHU4TrP7+*IY? Jk~;I}{0rh~p^yLo diff --git a/oe-core/bitbake/lib/bb/methodpool.pyc b/oe-core/bitbake/lib/bb/methodpool.pyc deleted file mode 100644 index 70d76c1628baf1096cecdfbf44e85a71de628508..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2287 zcmcIl-ESL35TEl`VmB#KDpf+_V_#4VDt1~_A(aS9DM)!pgf4+fkt(xyyN(av-J08V zouKxqJn%R0Mr#|Kw?|Aj$aLrzFq>q$!t}}Xgc*?85at${ zO*$F&`KEb9G*Eb+&2&(iS6US|%$!jR=khNGviBqlPxRcXndbfT+$B0+tNGL|tXj=% zWz{H2?x|5$rb?HFS81-j7ZcMgw_c^XR9WeR&e!MtNS)5Cw~aa2hn3>F62 z-*|>x=WrV&u_4%M(%22Ru0$Nr5VfJu1+i7-st#wb8sKv~tb1wKg)y9=|jo}8-F;M(?!*bsQk4K~VP*7_K&eu|d^4g0~ukg1{3DCk7?a0VdbUkk9%* zK;EE$TSkzOO;r}uO8YX@l?4!{@V@9+o-sIT5QVqEt^rZ!+{asxNqS=L=$HW%^H9EtlHY+{X_?8j!hZ&_=RT#uR@mNLMkzMKwJCNF#pFG|2O5gU5`0Gf>pAvs#A(LFxeaSrm@Ez7Le#i@JY;+X z&e&vPTsoP^h)I$WK6JUi8b2~Rl0;^Vq&nt;3c6zc$i#e4yaRHTdEx%QfwBqX2X*2< Ye;>T(+j_0L(N3oq^;-Si{_Xz8Kc;>$YybcN diff --git a/oe-core/bitbake/lib/bb/msg.pyc b/oe-core/bitbake/lib/bb/msg.pyc deleted file mode 100644 index 158e5e3fc54d3e98cb2e1fceefa992fd12983a28..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 4179 zcmb_f-%}jN5$?TTaK|AeSps1v)}~x4P9;lVDVCg+;tC+-qJj_CAY1X3Q&)Sp!?Cb; zi+1NEsDdZ_lK&$Q$)Ayz{5g5aLmrdw>p8$t9t|)(y)(1D(_eqxGnD@|+gSPMzrXFv z0B>Mr>uHe(uxeL(y2-?Syz)z?R?#obf(Vr zY1J!YOR`^=T^Oy(k0NIx-**}k*Tl}~=+wn%Q)0X{EB2an=4614U8jue@*_5OL*fRP zc5X^Mqsj-|^G>TtSGFJ;Yl&Nn4s5tIECx$qGCWM}(2iW>l5Esyd~J&&8rX0z8pUZc z8idJcH;)RJkNa+%+i*9_!(QTgu+V5E|G`hY6~L^Uf*9o4_^@~Eu0da0+sXznvwRpi zXY>Dobq&+SKOihN3YQ^EV#~5$AuM+Q+vK5y2SA`R9e@M{$Z>Rf^3bVYjxGQ(E}4FTWmofE1sx1e`>u`-A8(+;XPfAz7y#{N{u_wB7iZ_(& zVs=^$`m+OZ;cobDFX``vc2oefB6NF^3$t+^E*+*(GFl3U9_1ozrP*Krm>+GnUv7sF z!q4u95l|i%HV&gAOp2rgyNM!Ph4x}&?c1+h1zLOi)rLdwk$=5v+MDgK9M^0Zvu*l( zj~wR6I$H5Nh~qgq5!n|x31o5S^=L^dE|7zU2GmVIl}@LsG#j{c_{8AWi+als$#@kX9!d5c@n{T4ReRg(CXnQrxMl#Xo+OGJh4 zad|Hr+U4}<-Q$(dR+hhh_T=-Gw~v>j!^5I`m}mXv%s%XAxm}*Ha5+tS%e~$**!<}5 z*pcT0>vV%{Z0EOlF1SGn%E4SP8{7^Q8q&3frqKKq%7xGSft)E0UHBdd9ywK(gOcP= zb)>@l1Tv%B0x$M!WF^*M@mY!EKmaF zNouh2tQ?%y2sk(iBJR)1NsXIXc*d{c3(REhy6t8ld%dnb>UWW$9?divCN5#X3lgSb z$deY6(GV6x7+f9VB3K%PZ?;x9+ZsdwH_3k=DbG!P<$~Id-$xZ-UK7NEE%_{6#RQG4y@u4+zSna!>ZfLRv z8($@T%q@In6|J}lAt1}mV6Jq#G>87<;KQJG1EWgtZkJ^5cGcHzcbLWFl#leL+l{k+ zw`*v_5EAuFQ}@ZG`dA@g-s?->ZJ4#~oee|J4G}X0+Ax~>!F99wYIA*c%P3wNPj2?o z`zy*IL+bnrt@sq87Su|!$eQ{^s|WQ`IhcCyw^6Q7DJOl|Ptu>(d|F(i#SbCudCg}X z)w7dInRS#<^~qU!P8`sAYq^&Cy{9tIeNg67k~PMS;e`kEFz%}MDn}m z&sg^6F8^LLn_&p)8%V$hHO2>gV@Hp%c8lLvzzY{^o;Wf)w!QHHVI87;`wCY~ij0ym zisP5+vu3Afvri73qBd6=t1)x`+&l`uH&181;mcTFK_Q%m*)D2B;=0{!=mj|?2xL8| zA(+>L8<1KG2|K-3v^Sv;8c0+)&eOL~Dfj*|9E+?QS$qUHI1Ky{t&wafoXjMnUFK*;j=9Y_yvUa7D2p?;-kEaj5Z#t?;S%qk54B!K zH4Si{cxQ=qK_*D088m}F>r)+#E-UJPg92zz0eqkbI*JYO4kZ6na5NzSpx?m(zkuR0 z`iPOpztov3tJ0{hdW|~1h0=6{oWLCcCwzcv^-O+%K}=7v(x8BxOmPB#r+CEO0QRT7 zeSbB;Enxonn~uCji3J1vmEo*BsaqsWTd#=9=gIy4(Y-=1{pNE_o2L}dDCn#nO6DFl zzHHFAV_pnK8VWbYe+B;hB2!yL$M8HbzoGa7LJzG;K{O9JdY_|Q=|`h{pmj9CQ4qN- z*OSke)GLke2lyiD?}V1%sISCtFsuiTlyHdQ7^?-h&^JqUXp1<{e_7J%N4MG5xqcG@ z0O!A$WEL;PBJ+$4E?{%#qa}?MvJwBaL2Bp%PYmAT&JPskcKf}UC~T7uY0P}0@v5NM z@$RZ=sMz&$TUl}vD1mKL6H(-?Xe4shba0Zvd$Vj2ddxzzxU>It(YW~W$$WQ zJ+Hgp_j~=ixBQR2wWYuR^PLVQp9%bb6_5F}O5_o(ptZ;=QP-jsbnsWEZi#wjS}9Yn zLMs)r7+Rt381<^OQjOoos5?%*30j%J`*~W~L)xPC8m&x{H%_`tt5`Ha9}+zv`u55c z=?U`o(2Q534WjS?d6U#HlQ+f0EAQyNq$kNKk*;#*0T%C-#bB#O8h;i!XrCeP8QLgO z_(|2<$ME%%P@2vt0lJU8{p1}W(0Twlrb$oJH(y7yzMr{?yBI!5-m?H$I{@iC?@)n6 zJtJ|DhLfZZGA`@g{t>F^XKABGp<`Jqhse^0K%#Hax4gqVixqJsTU#e@CWRi&pohtO zj&xn-9?PIdNMqo6@{ZGk60Km}3^PBI%YiQBcp;Z#6p+fHk0fY3B^o(O`Y2;Mnqxv2 zm`>!FMgb`%ZnSL<2fyKG2F;y83kmtnxtP4S>`fYio7!{j#ji@^}E;wsLMUTmTdi6u|{#MKBOA zCWvQ8*kW~!(aLGkr3U0| zT)5UtnQ~#FWftLzE$QJ|OEC3-~4D<>>NEQQ! z1t7$VfghznMD;oHmL=CMkY30Q&sn@B#soZ5#-GxKi=;7{!9Pjhee7)|y4}3M``s%Q zqFUeWX)oFwbhWePM{ADT?z9HOOSLmfMwASxp1-}|_tjZ-?fMPXblWBh-A<(1uFSkYtYYPiX_d~z4=J)R? zKT<3TaB9_nJPqYWQRuffBMsjB>ND7fWU+{~)gUZN4#C{Mr##&WLN_X6chy$t4hE1h zT5}_af5$hG4vo@oXRX%PTiv1RgxZa?S47B?yUJ{~MQtirjR!@|EmnT5_Ij|zI`Bm^ zmud>1xL;Jrd|_Q?xmpm8%+HmUPhoVcVbCigOY!IPh3ZN5T?MO)ZSK0E@Ae}#3^rA7 z(?mO$`c*;D*M)o4tmx#IroT zsvHOI?>J4PyQ>8RJRIt1GwiEo(f8HErsTC2A1vil))W_=bl=3HHYS{$e6`hCY~T$*jw{Qux{t64%KiN?_&G2GOV z8%?912G}4B5FgR7Y4NNvG#oM}ex1VWUBnBb+wuFWK~w`Ew@!2bug)#bPH%H|O7M38 zl@Fu5j>jBEqfxbElSGR;#Nw?ImAZXfxHGR|!rPFi2lirr;238KQ$7oMEK3CH;Y85t zAYBrR%7Wa$V}6h3UYXYAz<|o-eucJ|=w69l`%aVYkI}sf^R%&t!g+cNsW&Roy)ijZ z;0RFW>F?F)-KfkHqY5W^^9$C~J&PfDye9WT_JL<44t z?&t{YVs+5hvIqc9v0_5s_?=pg55Da9l(Gdd5-Rwp-E7ryndlURl zZ-FjDg;cN8HPT@Z5m(~9#|WDYG6T1xBOKr;4r7_iQ)Gs8*o$I8n2foJW^pa(>Ba8$ z*14sZmKJZmynJEl?zu%|b>qNyJBxu{K;GAjZ9i(e8<^?07u)T{+)J}8hCS0}*I#7R zN6?V9&)REESrw~}9`~oMgZMUCaS@+6)7TPCAhu-lbDUTcj4NkWdb_|eyTAe-!%S7J zs^#N9`D|nJF`77BMx(G9wAZmI7ZP8i(ct*{a?ylESyF}YX>2+U67VQNPAmD;EK8^4 zvLrKSe)=euGxS$>qJFG`{15IVbFpUmc@vLOXd*+l@@eDTeIJ$_pa)%zV@!w>IZ zH}IG`n%Erc7N5jm2(&OnY=m36V!EjG;$-O>&+kN%kNimYlC6z};NoC6H5Kg#5vMnF zIw;119!Jnx;I)}DOGI&^u{jmlGu*I3?NexSu68S}C{Xzxo;H#H@o22toZ;>YMnCr z1?xN+!!$q?1wqV2)rt29d$<%PwWY| z43`*}FJJy(>HgKLSL1zAHgG9(C8o?K>PMUHlGG+~;myY1eT$t1m2EuY#e}Uq&Y^ik z@r2xGb}N_|?-sMcN`uWb}&H%efXZQ+|QW$5d`GRo=YfkVCLx|Kb+=7grFh@>_;O{j&OC z=|qTwCC-!cabI1H)isAC=ZSclRIxGnUxA^- z-#(Z5*#h%BO0B0MhtzMsE=a(!oj#&|cEThNpoq=wz$IX6hfc7GTO(|{nI*&soB||S z$kr++0Iq5C&EfG^MY72YJ0FAi7c~p-z^N=wT!B9oW3YStCg-~;6?R@8yn-PynEh4m z@$6ie(tG?0wZ8%?zr9BTMepir$BW}ZIBaIm6;!fjy?)@fjSebN%gYBbI@=?rBH@J(f zryW3l1vg3H%Z^ew6G=QhnXvg9xcCcm!rK>Lge7~WTs@mH0A1Bqo%l9p^rE`S1(RIb zN$F7d%}T00T*=6_W_%gSo+v+B1wq%??A0>K42@mp7mhf`!S;xIKxRd5Y;2})v)N+h zDD-3*esYrp6W@@8deFrssLh8wajLh61O4?d#LsJtTW@#dBxUnPZ*#dSDIPe^rJZG) ziy=wM0531wTuaE_$*<=xNH@OzlSE^4eA?{VDTed5WIaxJDd>V^KASb1f-WW(#p$nL zawT=m;8z#EtBP4>ndL_@`&I6-s(O($t*7MoRgddZo}WA5Ujg z>b05jO!<(!Pg>6~K75asjywz*pR^`R^~!VBWaWsp<2zQj>ZL>0$hW%BI)It~1$Cc3 A1^@s6 diff --git a/oe-core/bitbake/lib/bb/parse/__init__.pyc b/oe-core/bitbake/lib/bb/parse/__init__.pyc deleted file mode 100644 index 969434309dfd0dcc5ed77ac2bf8c2e9808dff833..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 4752 zcmcIoTW=f36+XM9NRgH-+lm#*w=9wBfZP+W1j zOYaON3b67J=Rfq<^f%<6{ez3C7|L~WuyP=_M?b18AD?aufDwF@)8NbTZ`U!wNXj4z$w%gn1H?JrYQptlaS zD-;z;RjG%~m*^Lww?sd*&rwvG^_J(oD-`1*s}wDBSNl9g6=BvWstR*~qI1Grq-aH$ zOB7-LdHMxMty8ono$pa}L72-FT@+?Rc7C6tOVZqwyRTESMZ+u9zCy#R)V@l?Yt+6* z4nSzt-eZKm1gSP+(+CI3dmiRm<+@t^I!=@~vMsNd<(}y)Z#Jtlj+4kUS(fOXYBl~h zewum>`%EY7@HTO}XR7FvEg$81md~{VolpaxJ`bX-UO-*)TQwfjAAvlYbk)ejS?c9s ztX1S4_EjoZ!p>eVj1ygBHJfFSAV|ZZ3IaJX2!>fSPPkc?u_)^XK@BV|h<=P_y`K$L zJ((Qdz4Pgv`qMvs_W7NIyY+B1(!nUty7f%m?q<2FcVg24JoO~*)H|KJ;8G8QIE_sZ z?2L|l-un}L+65^&<{bXC2Jz^5*d2s>>i?H~8w>wSa+7%)n?VP$1_H9B$nG;*KA-6` z6btEud$%GMallP{QxUs-G=F^XF86;5@&@`K8k8x&NyedlmwVtM#-;rNZD9=Ud#TI< zw`KL+tnub%6$H97F*Ml?yM2XKM42``s!eD_)vXu7(-+@7eI%BGGl+T%x!^n275DVEd1+fbI=afnKr-c;&&R$9uWIT#OqpaG$KwGm7l5@rBvQk*0 zxzZsKy@4c1G!EN(ev4C#wf?st#~&7Lq0uPO5yOnU1gd?UPwO*F+Fcj}t2v#smfI_3)+wt^st)JUa~u8E~^FoqZ9 zMjyteFVNy7Bt~VrhtZ7vD<-gbS{doGK=`~^+UUm=8+qCJA~85|QJkjF%JMk748wdd z6-lMtqx*bIz85)b@WxH&+Cn+3tz90!1v1%YtNZG2*QY2$OzrNS3#dk`k@F42d#7M8c9_ zrN^UD2E=2A%6c+$GB(|2n#EXaz0~3uBG&P={u!a^Z({RD_%s^^xvS1P{8g^kW!*D+ zbMtiDxu`Ppm0_@F&r83^TJo*{P_LdVF4OOCx$p*Sf}BXQJ`bu+<~~hUuB=-RDi_= z;?yur1%gzg@%-V7$NGKThMmBJcd%>pvT+)Daf-Gi2+bA5lV=aVLPw3ORhti3no(%_ z0&=Xwj`lC2OTy9%1VZ2A7HeQ^P=E_}*pIt?@uqK{NgX2hNHSA8SnJ zbUO31Qgzr%&q|G)&~v4;~%E7zCrio*pH5M|HX44+2~A zZDY(PP##kgTl#lGEeDEK$to#Ta0?0WVpGT+D0zg%GO#t)r>qzr;V^%0eZwObKt|x+ zM$2AmG7?iZLmaHlSy|+H+zE*4fWZ`-?4w6}AOveHqKsa4Zy+sKVV~=Wq$SiiRp%lK zYg>A;%Lc&#fW`|M4_$8WW@+!Stxcruc}2<_EbEnt!po1W~Z}b zy_<_jG_(X?*%Gzl6LD<+j~J7#`D;~l;By4A4;3!We0DvbA9g-RBuP_}5G9oRA8}uu z$z3K~(HV|6I8-98r2!t;f8p^5Odf(P)FRwF&DUaf_w4^5+-Icp4oK;8$z6d~roZl* cyHVIEl$^>^Ww}zUlq=r+l}m z^_tawGv9Cf>M^ywW_7^K4;UxtH7osQWuJK!Q`v8VZnH9I{5|GX$IK5Izt;o@%p&H~ zXI?XG^Wyxl@%v3MBIw=>deHa-CO9bQz6?5QeDrCdgBf(p_(Li5Kn5K*{%{H%$)Jaf ze=voPX3z=akEPJ@40_o3hf?T720dc@!zuJg20d#0qbc;h40@mOkEPJ#8T6R(^DN9C zH~t5d$s7NKG9NJh{mPs${sYR~Z~T+WJYf7&%A7R*gUXyT{-iPw8vnF1lg95d{zK+9 z?Dj*(e^|hWjsJ);j~M@qGH2LqZgL8w6FrWkKYytl#bK!u&u!M@(#G{L2=bL$DT;z9 zzt{-#@p6!#uEyoktsq}3)tA;wOF@4XZ<*Cp9&l6%?cp;#|cee#L5mJ6JVD?ZAQy>jW?$eD_|9qOP(3FJ%Pf; z5p&m=*@Y3a<(j*$Suy6WL&9~|_L!UK!@is>qzi8Zw@bB2_7k%d1+_(G{1Rr?M@Txu zNfeBdXa>2n%Z=6GY;EJt2hTlv?(DN4`OstMZh!D>so9K*&9G59+X&878ewp@Y`6Su zty(@?E}w0d!YDXfisGr}rq_*rPT`3-v~l)1b|Sqf6pQuJYEUf3-0Wg;wc)SVP}D1} zne6U#IE#~bB5rMu6Ys&VOHo{C_`&}RGbvWsjW9EY4A20~6p;a9kP${xY_Mg_WrNNF zE<7gD)vEQN-q4gKhi)P4OByCPzl$zE((Oe28A5<1{j{F)P9d@#30S zbH=%w6Jmg#E@g7$xfDZu+2eGyesRW~y_0)l)PtgTnWz%NXab;MM`MiT>B zq)6;>W`0m!Uuv81y8A+|Klxk7X#;%kfv4bS) z0OmRE$JjTS(sT_w$8&wo33pP2dM~$jRA^Fdp5;6^aF5g1Es1@3gZlF)=UH}^KBD0~ z0Pn`Lev4I!)izdT@pdV+8*{H1^^Tyf1Gu4xoWYaG&=Jd%q$jRP>!ILk=Sjcu-jez|lT(0XEd=KThRQmIyhJgeg6>qzsfL8%@A zP>NZjH(8sn2N)-AXHrS%Pfbnb(er9`X*p(HsSH_(W_}}i75yy2pbEnLooc+C zUtO=o)h5~`#_yDxRk+6V`6)SyOteIM)!&h+j-$E*BuJ+EG@ceykxBSuitYvqz%;d# zF}I+-o=oxpPWS-j1cKs|2D9x{2XzQ_<~nnE$Vb{5`J78ncj3pTyZFtBtL#=Np#uRM>D z5_{oLHrk(sqoeXB3{79YbJd+=`&jgFkHXiYaWMLl_I)<|DP)^a!=BNPbsJiOs^!@=e z5x&rBgAhhqk1p{hwjF54D~#)qxkf;F1!*#|0ZcUSC_qwrVw<(~Ad-ni^U&Jcl}4>m zmn?Yc{3jNqD&c$vbw8r6IvK$fguMWEBttdBfK@i%h+@AH>(!GHT9NkA05C7l7kZJ@ zO0R5cP+C_Bi_=kN(Ic08Cz#yFR-7(C-{|#_$X~1I`eBGrbSLPq#mAzkAd< zjJ9L0oqA?!YIBQ4zfpmkPGPN$>8R~_45NGsPehdU^w2Ko>k%rRRd{A++u&#EGcH2@ zDzYK6E;szm9bLxr+`f+^=>Xn|nqS1T-DM;_kQk)`{v8=g9qChwVgYs59f$s)uoy@p zug$m35=6Yz1VXbAJdA3w#eTL(#7X@zy#z^UCy&5ypG1>wm_YBHMJ9&G+yyagu~@1% z>YJ-D10#Blwp=_J;YWhw?9{_&gu){JMRW`yBp`Ao{nO|BBO2@dvJr~K>FG-axT?<= zX6Ez)DZpCuiVFzS)V%UO6<0tIvmVjvv|=I-VMD576(*-Dt$3l)Z)Yp_)Gsd9BMq?v zt5ejYDOBqbeAS{2Sb8Tp)FVvjJW7DIQJ^FinTfMh9I6Y2IM|3a0d5LwI_1xP9)m>` zoyHk-9)=(~4AC=+xZsF8_Wt`EAHzIe;f%Nk@@$E*YnurC)_+?0LPq1muElU4Lpx z0#(^2yn!Y#HX(J$sES)>fvPM%1-6f_B+)C_dTc2(lNp@R&S#Z zS*t+G1OpabW?~8N43pWy0?z5QJJ3jRDUB)ZR5K+PdaUtPu@M9{nTA z(i%o%gM)2V&Q_rXX22?liH)KIQ+sydrt>m_Hr-|mA^@TX8dxkJ9+Z*=5RL(~v18G%e<(8&AhiC%-;6%)wCb=ob;2{s-LeqYhQJ4W+Px$SYtTg5(3i#tA;1j zW5y8{VxY;XAJTMe72Fn9?YC8Y#jX}tRR$%Uu~9eI`jdltTAPLH|KOj9zgR`t8X?vH z22e*~vi}h;!4W}`mbql6tQC0zel?7uQM}eyE>D%$t2KWr*a#|WI{Bce_`yf={%Py7 z^d-iQhZiR0*S~X4CgnS2266Y9ldf-qTb;q4aI2S$65$6~r@(HKM9Rxp*AwTS#LgWLf zJM0{B555162gBHZ#2IIjnzH4R?_V!Pw|;UdO_{}qz3#TpVM&g?mjj%H+Ynu85r-0O z0j`$GM045$hZ`?I(gCDXQ2#5QcRC!LBk4{%0J$sq37Ke(BKaSA$V(m-;I2^$9Y=j4 z!XO*vP$X6ixfo?hzvib?L67%x3Vk#sj3Ku(3Cb7XdqAqdDS?Dw83pvw!*cV>X`BO+ z9{1U-9rk^*@wjG+&;>*e^~wo~UwVU31c3@0l}%nzg*BL?mHp z;(f;1cu8I3gg@!}DRph<1&L5h-?fv<1{6ZJB0lEZWvZDvwz_nyO6*z>`~ZgdOEr0@RJK1_Ln|lH*Ugvn}xt& z8rb05t-yvy1k3DSj&?kGoJV~JkVs+jUwE`ZwE8Nk`$b`*l`SAcMwa}5sni@67rSQT zQSlZnj#DxL?cpO>KZ#z-DukR#LKJJqjjRhu2niZW2yF}M?r}m6nagO?M-)<$5PoP#7ttGMicHPb_OzK^xwVf zNaPADz|p!g*LItYfshVeK$NPm@+Y~^H`Lnp3h9bZw&+tRyvw3tIK2Cc4|642F}w9{ zGik92*SY(|B$;cMXoDpqJFJlOKXVZTM}~Rl3fmWkw@tx@pJd7K5Yr07ZOb{%3OqL1 ztuV02#4d-|r^ebA!$t7P(3MBwor~E~)H;4)GYTN881HBUl=EjUVjp;vyq#2le21=6hJ4s^uPVa2lfrGGT-c^HBj0OBvCv6A;rW_f zdt#?Q%7t@!M0ACw5Iu;DOP)t{RiX9`T>WhK$Bxh+n_ZYx@LLsBV~DEb&LE1`xD`*( z<61jvZYE$v-EBR%1sf(?jZFyE9TyD4Jxt07^x86p0~c;grPC0bHos=4F|HuCuA#v1 zL-2WwU95fGj*4#&_cHL0yDwx=he2QTijdLcZ6jwRCF@knW=>I>UQK!*@5bDBbYmt1o2w&^r<1j|Hz1eg~MZ4{-72hu^>|=csngUT3U+UHE*k=N27PAY_nwND|7hJRP1Sx2C;c*=Sb(!eX6gr?+8c}2+ z+{D81l7fYR@~&&5aCjW^7|uCPBmRcVZ~;0p^3rfNGn^ zM8S|@7zx9?4q7(m0#=Ylj@YTak->F(>`X?su#tJ{yxHv;dDzcAdcuWB$*q|nvUX-#hoaCarOr4L@WHXATpl_%;~^YAHG3Ta5A8L zW6;S>ks0aKQf;byBd%f^;Ej)K{*td)5zhgW=%1Cem@~%5Am|nKb|?&jDIQFECwdZp zp9AR@*9Ptd;tD^BrdTfD#+Syp-xU=hLP_k=dfEPtLmLi|w6cvvG6)TXv6}EEG`GL1 z5<0RZ0SFGSk?g{!yQ=JffPvFbzpPECCToj!@R^TVtfOq1lKa0*Im;_nM6#{8-dwKhIM;-6i3jKUK;#iJ+PDgXtNsPP3S zsKZ(^JirDN>>#3a)=t`3G(p=HZ(VLxnJ7-kC3#(rdg zHhr41Yr3}j%o|-a0p9==`V2o^(r5kBXZ;4|MhyD~2VIyY=G|*Hd=rllo&jeUu1U}B zHCqE_^QgHyptu}tGH|V{sy?%|4+7`_R(McrdlT}qRDQ^%bvl*ehGV>$2K=)1VAh(WYfkR8r@Z~UzL zUK<}nHsUSD)j+bf%~cn8*@8j2--M6nxWzebv|~0(1VT$=#fJLgbH z9X4CI);4UyncU_>bf5>KTRD`GBi=rnOXypTl3lvF_O0B#RQ?A!yV)a}$#yD7^B2}; za`?H)9l^DeY)5{ai}4pYFiFhoKF$lYwskOF61L}nS%KYikgteggd?;DUM}F*+$2Lp z1&LnWJHK}Aa$(jx1EBqE`UA*a(l;{vDsie@wja#o_4PHrn88Pd_#8(1rTARonHR5I zEnIr$>fB|?$6|5r>8t2*7MO>~qzIaxzJVjCtIrkYB*(AasN?`m)uD{I-v9ve2diQv z0yGbnYdcAY_QR`K4BSzy0t@3UDHJ88D4(o-M~#jGd?d0C_Ed#tk%k{5A@&Vq;M29< zu<>&Y$?mYtXayRV=4C5PYEEjQpanjM#dud|FV9Igp7*}PWpY8&*KSPq;&HK$D~3nP)D|&0T)sI_OD<5EkEs z3e6Ng#JTXza1f9KEFqoXC5n#|=T<=_P+`cz+{ALX3gB?sR0`^KSpD)v#`pq|Vx4s0 zGUW4NRp4G_1((Scif>>`^Zj|r6#Y8MeB2PXDwERiRXw++))?3Eccd{T$ zivj$ikMK2lLw|^z#oul3ubAg%H5-u(MeolE=|y5O5m?ueRx0NjAmjZVGIG7V-%J}P zl#zTjBWn8#w)$Hp-(~VQO#TwduG!y|;`$OCf1$)i2bv_AR{%E7F*spk`1E(!?SY$_ za}FRnaKzc?9)qbl2KQ`q0Dn#b@S|wg<@P)K-J^&d40I2J*pk-n2uxCba@V69bHmPl z=YYE(H|9orhj7Pv0zKv6z>cHm6NDlj(eLQ5HF+P!6cS=xT#wg7{#hSRORSne7`?&e zoCMkAr!ep?u@UjgKePlDX36*W0r1#Dh`~KaeR<&#Z|V^;xtM&6;a4j$tUq3%NI%ce zcY+cA&Jg>pG*+AVOC)kIyng_|BU(i$jq*xRiS1pKLDtYz_l`077?Z0^3QTmWP+?Bt z;)uCBOg5NoG9eZ`2sh)wqcq-UnS74P=b8KxlM_tHb(SBs2VRB}qHe8?qL&LvgO_r0Fg3d1265Nh?0 z*Zp31fA4#*r}*#5%9(%t=Vnvo|4R6K;et};w~kVwQgxJ$3Ja>^sBS^k3(8@;s5(Ve zFUlC|B^8tg^?j1)?3n6|tL~JlPpR&-s!uB?E2;JYrDs%FQQ^4SaMXjMa&%F(XH__% z9ylsEsPg8dG!G4$`=vQIXiiD<@Sr&@&G|v|fHW5d%^7JPQQ@o#jw*dj1y89BrGn$^ zsXxurf+@i>DnjS8Dm_qW~yVPj7t*E0-g#w-qLgNOzy)MMuq>%+tY}_a_ZdYeP7-T`Eg1snJ1xQpjg(7H} zq|?u|A9Z_4nyuOqqKV=Wg(6f^|sIV zwzJJ7uI;edO3$}~EuAJwR;#U>)3wvm+mD;)KU}}NzO?@0`r`U0>-X1Be6(159RllB z78L#DgrTM=-o!?-b+cGqTCADF=vsOI`Ze!{fBEL>r5jhTt*#Bm490>m%mTB;E~=-Z z^}CB)uUc(r+>T}yL$-0gT3tf(wV;*hv<91(PS@~nrz#z}sMH6NcHU65cG?`Udga=6 zI!U%CKj9YF;$ zZAY~WYDdu%zz+-X<*hQ{$E!1oC_J6@)7ZU{_O%U)`vO_apZ z*Z606`2eTfEB*>}4b?8;>IE?Whe$?S6C)_;1=(gsl$c&8%An1Hi4v_iBS6C{3MGZW zWqC8{>gCS8yDy#j)|usZUw!#IXYRbT9Q1m|@1;p|InggRaa+rcC~E*g%blpP+-NKd z1a0Z}wwEtn%%Q#n)QNt(WpfG24ArZGoGZ_248L-&B^YGS700;)A}grgA+pN-0@?UJ zsJE!@m(;yK^VHw`=uhhYKAC`9*q2XW54aDch@O4Cnu+vBthGVPr9nFv0mBIYVt5Y9 zFgI4RR6%WxsB}@m_V$>{DyltBKAHzN?-bQeNtWKHoSlMdPvm+Wnm$P+pqJKzhT)Wy z7vsV)^`L|<0nTuPU*#LTy{Pd2R;YlW3QlBID8~15NAsIOb5nafD`BCBFe2szPn=2P@UXgVHEXB0^k9 zB!#9u`m8t2Vv@@WH%76J6VXSRCyruo2AZ$nSG-?2^G+E*lg^CuoO7%&;kc;J;-^U; zCRx)+LG|BI*`6Ry0g8pSTk#)M39h$QQR!cl<2dkF3;+;BU@=GU1Ardcg<$gDJ3Q|6 zC&UpP;4okcPyx>rDyyBcGA(tT$Ste(NZyNUA?z@WerN#nf!Es?)U9kxrN1Jw0c&`~ zL*rZo7YMM6>zLmSno#Db^b4+IH*$`mCAIdx0G1nG6+TG?oq{?6>q9slav3Q%BS8zS zL*HaUrn@@MES}!h+bd}bjwGHEK*VE3LfqOw@=BWYdm=!B6&R)n<%sZF5R#fKje1gT zX&vfRf-N1&Mnd1uh^DKn{`C)Tymf8WU%7VKn?p~PyOH&XtT;gYmryc@_Pf1w#ztVY zPZ{rN&Z2`1_u?@Vkz+AW9H4SI@Yp>^d5gxJK%t67X9577awZC8XUwUfRaPaGN1SqD zp>P~y0$jQ_Jy(Fsptph0E!l7&5CuNj13U>MZxvK}Hb*RwY0*U9i)Z)r0)~i@WJ6(L zK$LBV0MC1XRiWl}!8M-m`>S|`uX~T(4s&$nKZ_ONgZ2t=gIFh*59wGxFbn)NISKnFLr3RZeAH_=I zg1+BK!fp5}J&VrE+!0OM<@-pTqp+`i-^Lq4H`I;(#-2dM?1N4!K1$m0=-wVZ+M^Z; zcOG}-(R?vzHHo!HB9~mM(U4GNvusAlZjf&Ip=RXLadX={Gnl9E1Rcvgx|`h5L(=N@ zJ6VLBJPtb154G$Ctg@Mey(H;Kpr_}GhR_eAW+vw@(ar`xMiZec-=vF%Etsr#UK~%qP*i;bn06H3r_#nQ@S{q?^$fouA4&qvFh; zK4u;iisR=BC1g`)Svgi4KoAHs0_L>%a}vxNDFA`?6ulRWx&TV$;3)@y2iL(Y^pZf( zGhroiDcd(GJ}>K1v!hx?q_)`1?NdT8Slg4e%UBx(iM2hUA`u2Txr3eKWZF}?PONkI zz9YwkY!@~lKgP^Y-fIq)+y&ahWQr$Cy*}EtJ zPkuxE7b1S-@#04x5&yl2gTx=V`ctZXJSTIW31SD*EX%{#I)c!UjivpZ`73&FAc4m# zlh4a$(q$&)Cb7$82syr+;PnY2V6}SE)ZDw9QFD{hQS4@$+U-UmK1@(7aD}U6B9eX( zET5-Km5cVh=k^Vrty$tm8!?`NoNTn)=x1)6xSb@%_X;;mv~f-Hg4^q85HB>}bGMUz zy89u;#Vc4dy@Rz_qZ4iE&Ne#(7y3YzG$h-Ec}7Aw| z(|r$)qXAV`11D{e&mHG>9M!WK8kv8uwZ}^Tz8*% zm=a5V34I3PLjn|&q9*TW03c!FWAmU^AD@<( z0btl>DXA9J+018wy<8Sw2OIsU6Al{vEb17W^6>RyFNDyQTt%`dd4Y>^GnV_-g{i;Ll!q#@b%$+z~Tmrw^@j1uChk=vp#x(wO3h4PWB9I zbUAwx^gBtgJUJ6$!uyy7U3-WSsXfULSm(M)*zf4`JT-G3MR|7GIf1-o9{I_%a|{{F g93Zggr(+No^3k=9r;*$WV2IlH;AroeHH1ECb9R3lBx9(gn) zPq*TDkzWY^gG%uysNz5H52)guDqiwH6+FOq&PXx@UWu!w)t7U+Pj`RcciPUI#nR4S z|Mv3^jsNoay@${I9YsLYK&dFmQKYDWN>q{wy_SsXs@J zIqDawQKWu}8YNO%QE#4tJiWrC3p8%dNON)0EJ$-{(wvp%G6i$=8-%q&K~XC2QBab~ zDh2aWxkkZ)RK6jhEJ`SA)L6s9Yt&n(&>;=CCHh>$b{RjIZG}EZH0s$JZ}zDC9-o1a zqU5@6C-RMPyGiPv_;C=0@v+-U;%<06Onn6y_O$}bBxSbfw9nC5{b}PIt7V-y4{n@SNjput6ZocrNp{`dy=Eg3@ zDmTp%_8rEZXc*|G*(z7JD$p;@loE#XKtey5%mPlQQO}`QM6YtBVxh%Rnddl=i+J+*@WH;9T_9h~v9`bPQyDT@m2I)j@nGjX z5O2#@&KQsZn+$?5Eu)L1Fi%jcog{r-i(a1J-ud26?PuTr86qaGT)^67Z456%S4K8Z;fx@pCxH_#4E@as-4(&%+z;H~YmQ_J@ILgT< zC&NdKlL6;H04GkF7JO<4;Xi;_GlQxCJd2qgB07Gd3`J@2(I@ZY1(&jv}+UY8?!Kwc`{wx7A=HG4x_-06Z`LGRk6!dPe8P3?rdh{`0~rcFP?lAGJMKh z2r)!*wfPY3`_uV0%hP}>P-bYOyIJnW6%#T7%=>Ko_~21Ca%MAJToKY zAc?g=w%wMMAQWJUH#-?0`1ZsyghJ!Djpcq&H1_-2<6apW+AuOwJ3k3KCzcV}ZdZkY z-U?gsN_?Q=zyDa2-9ukC0*yAF!!4dN(Cy)InQum#NfdNrkF$VR97! z4%%&rnMsX^TX2>Tc>Yw|cfm+Lq%k0BsG6H7Xl6m>a|=+J<=m=TRo_-?(3^$aigMJt zT10(abvVX(w#9cJpGklKE0hJC6(|6DFnK@VXUU~Q@iIditOc5xf)0~1<2Vy6&*ux` zftTDAYNjWAuDt?tlxc+rNT%qxHn8&*<}L6tVCT!jpG|H}I#i#mhPyf$*d zEHAe1sDxnV=!{4=JqS@`;C!_I(}yDFsc=%N9}05~)3YhBB#&>+1sG=$<{8C;@&`GUOL0tpAO8BljD?+SmImv~5F#HLz{(=gK z)suG)Ge>xm{z%dkxCAKAj1wHt0^%{ekj?-vFz<*N^p@#BzP~k0) z-~KNTFmU2g`Y(?^ipTtatT7E~fmu6_R8iNNq(F{0d#M>l6K9&>jysG6jDgE{e8=VV zQ09lCWe~SoSqf{V`WOkJ)e_Y8eG74C{XJ%E24Tl$xMi)*GSmZp$+0H4T4Mpcnu2G~ ztoE}ft4#XHkMKauT*mL#sY{0bETHTGI~|gL3$ocB%7b6BNty50`;?2%xDeoff|`K0 zFO11ze-{8|?H}OF^k3eW3sCtyAY4!zZ~bzAmhV}AvYjC-vLpx-L}AL;(G>o+T0zpm zy|8YiI!o7_cK9D6{A)Hz!IGIpf4mKz2_K0#$;D+km)$x^f539^10KK2#U2;;xDW}E zI9NThV0dfZ0~B(k+5bCNM=G`d-`kxJ=x#p=hLNr_8jXvhu=+mezo2e75D3Y##X`|3 OeyjLVabrc@Q2zqsoo^2S diff --git a/oe-core/bitbake/lib/bb/parse/parse_py/__init__.pyc b/oe-core/bitbake/lib/bb/parse/parse_py/__init__.pyc deleted file mode 100644 index 13fb4fd9606c759562881850fc5cfdf88b128ca2..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 448 zcmYL_KTpFj5XCP^|3DCefe(dOi{n9K9tel%7 zZ29?q&(@QD(f4tje*L^vupc4qiv@tC1sotJ4SyDN3tV=LE{S)y7GG(4QVrb*G!vL(y<0Om7~NnPq#+Mntn|`ZO6+;k+Pn zT_L)7SFbwP8G*PY0_SDv^OwFa&gUa;=>1YRh!aBi7yClU*18r6Gu|)q-h&Ft}U$-Bev{Pa_k652`)L3DD5uS z9Ih-C4p77i0`!9BA?fUNQmZH(6;)K*QLCufdPS{Pih5P8){6Rw zS{*6sqiS_j>Q&VqQ=M_OI<6ePU*lMvx>~I(XLq{jKA~18)Xna5s-_R9tqGO>LOG7~ zA5rZ|)j7y^r|YO&dO~d;Qma!+PpN2BoruQN78d-M!TX9z|0?(6MLX{?SzX<8)W?qM zDy1uG^RS90_+<5n(nl3Wjt;1MczMRzJ83_v-*^Z4ol@}GI_aiguMSJ zii>e}G1$`Xb)A~nWV)NVi$NB+%UP1@iHRFVM{bt5hPQ6SmbmK%ZitR)(01EN7-VtM zbxl9qaI=jdbCYaCr>Lenh|F9Tm@VUmL3bhuLv0KibjL+ElXSGZ*3bHOTs`Z$7sAZA z0sh=D>2B+8th=Fh@1#MmhY^D`>31X7+-}F2J~a{c(-ezn@1AmdX|f$had#bWZt2~* z?V#P)`I7CdAfmPF&O}Kkh`Teh6Y;GsjFyQD!^!6DhG&N_L(GVSvg1?vT`T~A(RB@;}bw% z(6m42TGup*L1C!QJ~ei>w`*ti<8GY!{u>z9OmG^f zj^87dx)TyiTnm@+4leTr3RuyPDr)C5l_{0}Tr6NY@qg5U zfq>w(fXf_4LE(tJ?x6uU%VH&$M2#$aIJECWmv!p<(ke6#hmOZE*?U|Yd8x2+fiQKN zmq7R!D&?vzV6EnpuEB*goSx_R@NDRk&dRH(#fLjiUw?sjxM*`Y3xib_-Wd|^u z@2~3&p1ln47obEG4JN!i64un@!-Y&2uMN3#Jl%(6@*=8ARr=gzw~-)(x$TuaPJbi2H?-1Jrup}^PJ5Fw8a zPTF^j+c4FtP541$L|j z2EL(FVu1&&E=7}D-Gys6mR1-}o^&sH*RBFMZ^dX;mR@>K8vt@zD`vjz(FhGkqQs`} z17f~^8`a!|93OP1B@13ehljHOB!41uT?9)CXTzOLPBsWG=?%%+!b}^^Nh67IKb#^r z0S>V4#QV-|SPl-xuEL`w%K_fQaw#=CKRmt|isJ0L?&_Uh`t}ZP#6gdKNl;wKo}h*! zqjAjP`>^wfskXV48Vcnce~5a`qTxO({{(qulMv7?a2Wz(MeII;@k04Hq(?jJi5eb4 zZ7InvcY1BzVK^6g&*9OYT8ib7ZT@g*rX>R|5sm#2wH%gHPQ4=VDIm1KHkuS`PoR_c zgu;Rzh+3k6Hqt3@8#sQ;6s5gNjCiYRM4H3>#C7=47JJxbgu=aor`Pj^XAZHo8c4a2Ho@ z016NEp!4B?L)^B}ll~ajSJJ?U;vqB)M&(oJl1Js=3>9{--qu0-vjI{lmEsZ@(d@w1 zf|`Lq2hRp9=@9n_bnY90@!@_yM>S`7gBZ!PLEWIEeP67j?{|`@kF=vNi4EV6k`VhW z?z?P2O7r7!zv?~Bg2A-+5{nrYbOYYYEM8?X$AWt1y~ctv_n7nZ&Y;+H8B*KFB$r1& z#(B((C`Osv7_T3y*Xq^!Sbd~EjsGLK8^wP?>C2NJL$-jg3{!9`r=DhiFf=04?C zkpUg&uy3PSWa<;ybL6JWEU3+;Cu@@U%u{-9p38$Lwh4I2#h1}Fou$C7i3(gH{2)Rn z1ZCXe$p-A6Q*lbS4>bBUZrYG`Lp}}ZUus)TZH}pXOx-amAas_@Wt2$&yI9Qti+0$dTCfB;6IrVJ{SJwe>bOvD6xyNGFeXgLr6q>;N4H$Qq6ve%WzYIJv@**R+++Hz7#S!Btm9a3QR1^ z2^;E24tv7Qe=bCk8@PE2z0uQMIT$HK25y`zyIQZsO~wG7#FKq{D8$NcH;AG|Ig0re zCbO2Q_GMZbhnBRSEB6EDJf4>{c)F8pYi#xlk^`I(1?_fubl}DrkCSAZSH5MBegp)2 zq5}LZHmJ?TeBpk&adO6!IA#W@quge_k{?m@f;ctq8V;Wd zwv?1xa%E#lQk$G?Zj`TF9q$ zu;DN`AcucnLA8W6f^<%1H*FO65FIcLJ*XCve~)@WF})NoE@Xkv>06OMyN~FzdvO02 znoGKuHI7KXF4co5=Zp`K?Y)3!!@)agN2W+<{{!n3ud0`&FO3~^z&Y4@dgWu&<0Z!xVOlH?%KP=;vE+6 zqS%v#)b`WG@WAW~T(V&v#UW390)bHeTW+h%Sb|v@8%sbqHk@EA!Toh*S&jjg#G7Vu zM<@L(9$|lKZfp{qcf-pdtpwL@GvqYna{476dMW8@@jT*bi$l0Q+V_)eMlyfGW#wZ1 zDc4GE5Z(I}6-!@R@k9mjIs+)AwIxyAd$o9im`R@4gBG*QL<$d;N0?M`@^}g-nYif! z()i|MjE9*vFYdtWZQ`4b19C`%NDHSo7;uuQaxfUTd0cpw>l*m>VJ!&p;l-{Pwc-N+ zH<6=r<1&RDx&0nKHt6UqASdm24f09D^`^IsBkbnViobZ-lP$}_g@t#UhCz59v_VD1 zn9SVYd4``Y%t-GUnAbGsnYInk9>>eAmY+va_INoz25lTfo5-})ngu4>Mp7YS0#lDZ zz+>1eJwj}o<1lE0i4e}N4c&MEC+oB?bA#R4isE!5Mtnw#k=TB{AlncmZ69?3}O#n(P*`7KS9Rh)IZ~rLuFN&L=K$Cs0Wb+pLQN|8nRiU36SkZ zn6&W`2UWy~3Nijf^eXkl%#t|oeRTFb7T@J-HB`$IuZL>yPtiV7R{VSF?wVY0k!?* i`9#&3hJ=pcoMPUYs`C7z>Kw+ivFfOEA~-%@ul@&p)mB;n diff --git a/oe-core/bitbake/lib/bb/process.pyc b/oe-core/bitbake/lib/bb/process.pyc deleted file mode 100644 index fa1d324e5341bee653d9d1735eb377ddbb5c5bcc..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 4582 zcmcIoU2hx56}_|kkVs3FYDIDrr^p6rU_Laa>LPaG8bxBqF482lv2x&64X{{ohtx{s zF1<61l)~ym?br4%^cMsu(ErotKJ}#!1p*Z9Id}O{7s(q-XO#v1?D#-t&45S z0FxW+c`ovs!!=2pV%M~HZPB|f>H564wdie0+7=tgNn591S`4%$-C*PJ5;w=+ro6yb zHYp!;zK4Bh|G}r{wjkck{N3c#UVl^;ee2vy=e);rzJbc)3{`DZ#$f_6IQ>D#V7S+z zR(zAwvtgc${2IiAkAL~-<45=Ba{SSQPdn(AW#v9ZvwK{OZFh8jc4Pl1``yoO{q+6) zFK={{$;8DI?5SJW_xeR?yGNNn!bZEJ?5KNm)a4lVdwuei-^MC#dNk{ao%PcRH{b$P zQuFJm?~T*@Wm%Mq^KtAhiu)ld*oamOXt){Jz^l*KikcH3PLveeko*8*2 z5<>`7z#2=PaHbx@w-*p}8!naXnF3X)y^1f9i zY2Q)etn+1-54E{8yWhYQqs;jm{c$?Va$D(?r;G>&)joz^jjH*EIL5}}`1=qYolMMS zvm3O6HZ=a4>2+vm#bO-i$=JrRo*<6LMLHd^N%Qmy?3{*+xWp0?Dy_y}BEE;(Qk6H& zM%@z~y}~~zruqN536Y|1!eh?P3FsOeRy0vqxCZBvGSoW&93bV&L5IUVw}bk2 zICF_GFMK%QTXj@-Rvnz{soj<;SkdXJSNeR#4o1B(A`?dBkyohp%UJ%+`HP#zb0Z6H zc$u7tTGe_8VM$IEKY_}>g`bEn7Cx#j-G#6)0vwf$J)YatQ7!{?tGQrB#BnS|K&t?5+`9tJ0^91k z(Dn>gx7&`^4$m@w98z}xd}>Ko*oqwoA)8;hjvw;_!R`J0Xsvoq&{)e zsz=Xer!rL_oE@gQF! zS$E}pn&p*rY)2zyKbn!{A&R?+3Q!>E;B^2Xz=A*ur_&tJR8bZC#0(}7HTjcyDVfp$ z$mP#XPoiohz+@yVndR+CT9ROBIx3B#^iIh^?V zJ1CC(7PDnGO^4xoi6M<_kISizXhhw)c4>OZrw$%}^zie?s?-O`$l2&E&eL;2SUrPK zZ8uQV1Dd90*6?jt-(^-as^>Il&>I3Ps#$OUllyb7|TcrC@4}3B5s^3{;b$ z@E2Uv<)R_yf6)i)oRW&1u1ooE?E!Sr#L8dKnkP-dgBXGUI4?$l^ELKh$N)p!LDhKr z^_ZcrWsxB^g5y^P^Mx&pB> z{+o~@O$6x5XJzKC+E=|ytv@M7BlRt9l{QHg-pKrIo@(UKfs-Q3D<`dEp-DEen#zre zp{|$Z6T~8#>u5S~+3&2%h)-~mL}dghmH9Y@RXczud&St#(55jHn`xf);h`U*+x-X? zQ|=A3W3~ejtl5Q!Tt<7->;!Y^ic!!J@N|byP~6{9RW#x?cmrh>;*t`l9KSU=>9V z4>Uzn%mGn(5i!D7Y0~?Ua887frS&z4RC{FXj|h?u4IDAqj`mqGMT_2Hbsd$$8hc*G zo0TJ#o(fGq!5>ElmHJhL{2H*i#c!|!gkBAHfy=8#|52bvC$yo~h!0fcO(hMj|CE?7 z)oT_0rSiMp#G+~Lv$0j3RZ3EIQ43YjqRx~bqMt)ro>ZmPr1}~+FC|(Q@1FPixg;oK!E}U+63uckgFgF(CgmxqL=MOQM5n{_@eFeyk};Y z5$PfUB(&1b;rX6(&b-g_e#{j9eR}fRzx?O>O_lvC;O{M5deTzL$Inu2r5+CRmU?JO zy{+1|>J-$&g6b62!=kd-yP(=7)hVloWmCpzTRpT@V5z+^WNa{dN`^4u@epB!-grY!=F$eVf3`}C)x1uoK#Lp<&5$xQaLM?=sc}H!ky16 z|D4p%<@GaCKd<~*sb5h3dC6Q*{+whMRfx%7Q2x9WmpE{$g)sY^Hh^<=bI;+uIMWZY1$R=m$wUiOTgjFAmS16Wqq7 z&mjr02svq-p1UcN>s8dR4VpnW4dcj3yif+3Zf-ay+Ne58J-u2i+j@ zgQ$7vG`+}a1WqgNM}Cb@IUPq*uSZ@dsMlpl^?E1v`)wA-q|J|;^?D6iHA?gy6jyfR zPO#D*JidPI^Ve41`{EbgymoMX#p`x;9m{C0#K9ZQI0;r7VcNjXSK47?rO{Z)m#D9H z4_&Uo!KHbgWlK(OJ$8TfQ@M-rzvQVT{U{AP!T)+LE+4JS$Lf}mjCL-$XSRKw@Mm#l z+i&tXC_KC;k68Z&k|SH`Iduf^D0OVB2u}@pTO9!~mO3t|w4nA-Q&dL<)>v7&l$RmO z$3+VCaY+sCalX~UdloPpIQbbu^)lCRGdf!sKOj z^Jq*RjY}Dmqujf%wvLc3vM!U)bu4+(!M{6kbPz-#1P>C|kD4N{Y3%F-snhn-K&Oru z`4HKl6(k9Scqkc87&+bjoq9KtiE2D1tW_yf=_02@Ser?JiSESR!;}KlXovvyy8vZS z7i1D;!Jvy9eIq#3DUsL;BmXw;o(oxxCoaO?Z0)QP&J(EM=sR9>H*m+<%&K0kUJODnyWCR#4SFkr>oLXeh6}i;yDnEAOPaX?g5-u}sHnw@=7L zD^8pM55>tPgF@l*h=q&Wp-zW#(u#zZ!!+n<5f%}ipnK3wqz{M+v{)02^TEl{;C3W0 zVQ4Kf)r#DCwi23ncF*CFR4_B{JA5L)g|epHs$#{uXiZx$Swal#$JNR+sNk${f=>|x zYH;9HoV&sN;4u$;bvq{X$sl+DCA0(dhC)~Xrco}c{V|m^I4}b{h=zC<2h)mD6%QYC%k#Xfw$KwSGHCL_pcB;RN1!V*&pmPrnQt7fs)Nw#AzHl#1kYb zjFT`u6ynJ=G%86zq$wHNq&Vf*CTAr9;8<~FOGZZ5jTDI7QD!|r0qpY}WP`W9+4edO z-+Ox-d5ueb$_jBN>Wme-uV9G#StQSXeeSPg+Bz;-S545!B?}Wa8a#8r$(;ERn10v& z4EwORj*~R-B^wM<;*nA=h;s=_L%x)H&XwWVOcT7+jgqzJ8xL5vXqJuybvfha*_*d&~f zN^m~86F4oXMHDP(Wm>CHIcS9T=Rgrjm|$oJr-RRvAKAbud_y17J1+GwMJH79Z%p^# zBZ{g?{)*1l$r?D4lvgO1s4NQ=BbEc?Zk*kW$E1+?fBJS&hQ4Eul@ zds0@(oQ1B`$ayQy1}D1Fo3rqvMV*wajb6#ZZwq6Rk1hDUW;|@B#pCnb9m>dHVytc- zNAuSfd}7|`JPj-9geNwoj^R8MRq}HS-Z3(ZC{uIGbKJ*Kf8PdG?ZJ7*axov8<`i53 zi#mE<4Z3F2yRzxJ+4R<@ZyMV@Uf|A>+cwvOEiRb#EXZxqHZP{en2pRHPG&*Gpf_gY zx7GUuJDyj`52W=x?MW+J9%jORX4D?`GtV(k3a}l2VD}&^*Z{nFYzgz>T!-601cH0T zVU>)FLd#vhgG4w$OiWT%D@@>yb2s0)x9;d5H54Y+ z{5@2=@2swEYC03k`bIZ;1L?9(&!c>5v}SGXk^lOQ%dge0zIM4*NAj9*k;E55vPejV z(Zu1h#$;KJbE3*%)~V4Vritq;>&yBz)DJ;EA3V4lvrPg+Nbnct%#O)`6*zX;Zl;n1jxZf2m9!9Cl#k;rInbWl6ogFwzTI+y;W`!*6e ztB(5?%QWD{$`Jbpg5ti;>KjaclgUkX;Ig|1b)6>Sdm29_k=qWRg1C{=jGM9Rb1+kQ z62>FU{P5fnNzkBMNNBB;?HTJbJi|FyC%k5?i|`U>@PE;s$o$1=YZ1N*YsZoDnnz2; znn#Y7P6h48;^AMkqGkzyC#_fPOLmhdPwQ`J?feZ2&?aykp;oAOkT0vj_Y5KZAtMze zUf8{GKS;d8umx(Nc2G+{0>fDv-D5#NNoYT_JlU&R{Q$HvhaV_|54 zI;+CHc^^8mh>?I(z^x_KtMa#n+kj>y3?jJgVDZ8+ZjknqNKB92aAy}*>kyd$49O>_ z9ZlZJWyX-peFV-BsFF}3`sI!ad&27RnoUIVG9H5CMoWewZZIbZ`5cS1aYWuAMa@q4 zgpEBC{`+|!6TlGp&0-ndlZBS>ove~k!>6U1$o0F=K}<>96w`MlzLLx64^gWZk%)|n zbS+xb_8Mdml4gq)LvA71#ESV{WWb+C_(4MOz#%pzqL(#DQ7O@hCnbqtlqqDOqm!)= z#wtT)VynQHg)kTaOZF&8lu8I&%EnU>1D!3$hy~= ze2d8kOvv{&;q!SGM-oO{yBkQ1B@JTE!g#qyXMtg&i!`z^6rB?^m2U!_clSTJbvz64Dm z6B8z2BDpH*Ni0yShhPZ5vNl-uNE@*(doO;SfAy!WxfZ)@Ol&eiQlycy>N|G{2$tP|Z) z>U|<^pb_qqw}oR#XqetN&%Vd>gh?EA;3GN*UJ}ykg7IWR-Unga z*Vzl2B+z(Mq-BuUfD(@#X$9JNG`o_3R+&IgY&X2`3EJUKh_(1ke}IGnxt>Aj_by)Dn6>QG;EAWp#U7G>b3=&|jq|n~$x6ONgUwK0A2U zKo4pNC3r|gAqZmVY%_Lh1RqZfx7+A#EBv;2e~gC94I4;+h;C#c{K+jFZdd;qlK(@5 z5SIXh^GXya9k2b0gU}CODbawIWocTpBL`)}z4ri~nOg^RXb9;ynVj@z7(epTP`3^V zGru1&qI7zKO-*q%5zA9}%h72xA2I6QMUo*Vv#i}OvtIB>DCUNJBi4cIvx!R+fYvBn zZoq^ZbA&Rth2n`>K`atIl2^L#M`5oYxKLciw|NfGVo>%eWG&)UwS#&!cEP4)&-X_& zz{xZ${CW9Xwx;YwgBp5Fqy$0DA7kj5sG;sHi3Tpqs|@JcO9lonWDz0=H02+{42^rU zcNNMDu^|HGpHJ%x0~EYR;7f;}GDxzz{bSJ+K&M2lpb>I(R!EOfz{CN71f_wv2~=`f zQ6-lE2q_btc)fyURPcTRiW17^u^>lANC;+Hrh-r3kS|C=4MdgkG>_IxMlpE#QL*!zQ>p77r*B z~~!|1CCO;puz|dE_4!j7S6neu@G2lf%q5fU1w%2Z57!J@IV@Mj1l@0dLsf z%{Xec@$tyn>qj^|P4ET;Uvsd7p#SRR{am*YOFUS-IiV2)t5E3P!E?SrHN_ZB3rx7+`4Z#}$Y;>~~qs$Vppm5>fl2g@2=-p#w9@Dle0MQL~IG@=mr~=cWaw~dKS(b%o1C}G{q5)pOhjr0`f4h4G@p6RI2Wm(xI$?qaaME}!K* zdR;GLmNgp0h;QOk4`3t-cKU4(A0rG9l+pb91Fxm@tD^nIy-kK@vXMR$7d0QCWIrMImADi&rDLxkOJ7hoS0AkJeD z<{4|ru2s3M;f@*A#c7-9Fj}%m))aEhxGfQBe0F2L|DeHyCA=$vU^%074pp~re+?d2 zJMf1ehsif*F3-w@$(ERVnaOn~x0sBg8H^gZLTAvO$~|BLkSO;Lkc>`Ja?k7|opH>4 w(|m^aHkT*wj4Kj9g%4uS*wsR{SXr8ws=PEYJ#%MbVP;|C%M%wTYGwO>0E(hXF#rGn diff --git a/oe-core/bitbake/lib/bb/pysh/__init__.pyc b/oe-core/bitbake/lib/bb/pysh/__init__.pyc deleted file mode 100644 index 2179cf3fa64489b6dc798ddc10954583d6933be9..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 158 zcmZSn%*$o)?t5r50~9a8jPw%=3X0~7^HX(`^NUjTlQK(^60?CSGn4d_lJpBIi!=1&<1_Oz cOXB183MxxDfM(g`=BJeAq}qXOECyl*0CjmIwEzGB diff --git a/oe-core/bitbake/lib/bb/pysh/pyshlex.pyc b/oe-core/bitbake/lib/bb/pysh/pyshlex.pyc deleted file mode 100644 index 11d6f4a30c64bfbced945f448d61ca829e5d4015..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 24986 zcmc(HdvILWdEdFai^qZh0fA5G#U;fDNbx0E7G;~31OlK0iv+0)NU&g1tHs_6V9CWU zuy;X%GTEf28rgB{ByEzmNfS?E$FU}prj2IoWIEHCI#H4~oj%ewnbe(3)7G72(m1XA zNb*OU{(isj-n$EsvOOJON^%d+J?GqW&-vcpcfNbG|Gls0^f&+Xm9mTf?7;ue;}<=Z zbuPd^&sCk9b?(-H3q5xi^^E&O#?93ByIh!c*Lz&!Ip=vE$7WnL=azDA)^lFXb0240 z)>S*)Qm32kbQ+U$)h;(3bhxnF&3i8BbZY1zo(D?Qx-V*S5K!+uiltY_ALQ zYVUL5b{F)xV4IuIxB%^as-Ur7l>rw#pvs^NcBrz`1-n$)?Seh3>~+DADi6BgAypoB z!6T|X>Vkc$6kM=hl>;t#OqGK!IHby97aUP#*ab&fSs2hF`(1EMiv*a^f?Yh|g2&Z@ z#T-{1t&GbDHohpW3s(i==A6DffE;y^oM_ur& zD$lv#c~wSSa88v`7mTSg?t=5Gyx@WtRhe+X$5eUA1s7Dg=z>XB79P+>0I^G2?XCn1 zm(>mczO42=F7QW6ruc+@q7e3^ISKV8{AK*Kq#z$Q6aa925*L3G> zdgneDd_qlE(k5Wxs+wL;oAwhiv%tzeH~W|iif$H&dBe>fazV+>0ylGR_J|A0ZWibX z-0V>ogl_hj3+6S^LORjoE!0V`3wA+9QIIcW>HLq&DKRVT(b*yA8U4_oD9R@V!aWT zQP&@Kox?9;FSr35YdC{KHx-Mu(o$F~Hha)gEH2f9)haG+l!mg1&Z9WBSYHZH zRo8AldHRXdr!JoPzz0v?c=A+fc{wUBH|ph6_3%U)k3Th6Y0j0dV`OFS)ZE;usriSz2XeY?p$U-FZNk9VB#*7h_25H#GFHy&+2wPCBA*wmUwx@AD^@_N7dq6OBqWM(GqFG_eE4H&fRft z?Rg@8?CLY_j_1}+IXnSu-ORY#(0;1#xtl@%PIm`7NaT*5+Zk6lyK=(Ktn|4Vkj#`Q zeX>G&5gQn}T)I5&k4#_krv&9jskRVmqt&qHZ{tu=RyS(PrAD(-sz%!2b(NK^A)*01 zZ3#?Yj2~I7FGtUyP0Z}PPOr}^c)MH7p7Kb{?0}Y-om-6{s+=D-R~xm$bYnFvROSm& zVX4$CFNRT}RH)T!C&H!W=B+}sI>+Y~>hpzCtx#VM8>MEwQHYw{cWt4kfIp>X0c2g6 zuQZ}&p}bgXl*-MpaZ-K8TZ4F95jdTm7`aePfvY~h7kyg;u|CWUdD4Q{2pUAmE_bge z;plczVnQT>N#!QiL8k?VYV>75#VK{tN258mnti01&7$mQ>26c*fDB5=I~$&BzLudULT-4ON>-YpZ~6Rc)`R zM##4fPZl8c3YFUOY7?5S0Xn54A=tgR6i7O}u8+TmxcHloUnuzE`? z()zHA)hbnQfh#RksI~(rpZP+y5;o{__%P;#=)33Zb^YPbaPe1YG2cG)i(`TOfP*G0f^T!^0 z?!>|UrzJiP%H6u6`Wq?_s5~N>N1?=@WF7_0f&^YMt%$!N0*exPtbl!KTa%`%;1-7Pi)Ft%F_{8ib*r0_Zo?$f2Wl^_KkpiUzu>S@M*+OJSBNz!;pH_xC zuGK3w8w*miCPG45GOW+*9urzpQ|Y$0MpKe9NNG zYINlC$hiySW@U0)KAz)z-Y(-rG$yW2nR<&N9CV(FFxArMd>#!ET~-GR1zeli<>kDc zD9c;bE+?RKu7F$5WY4nGa|@^gO=t$f_5g)61Vy@&K178@1APcpLx>S|7MB7h z%&%}wzS^%#hl6%HA5aour)IV5)faP%QQp_mvKtQ=s z70u^_g19+`JOrvizJ^dVrs?1lIsYD9#WTW~1Zss4lJBG#LE5m#Fv3W!X-5mz5XuU4 z`jl3NgBA;<`D!Ei4pKSMcQ-~%8~JyD{LK%-4KX7?bW9C% zd6N<0c<{;_2jmP1{4Fun;tKyY3~Ou`6V z1%QMOjh?#)a~&qEI%S^#?H%pH%ETBS^W*MzXN<|{tLYNDH0f`tFRgodEgpSGYDo_|3k!fkxYHe5`HY8< zhCM%N&Y@XPmxk;XBmM)%IKIs=^FkPd`bI3@hd8>&oyF21;cHd5HbKdV=VHBMSNBQ! zn+$;%f&Gasbh*a2+~t*TIsBV}6&W3AGl8&XN&GWZ7@AwQ&^C81QMc&d-!g}K+)&i; z5QVX2522PQcg4wgor)3|@l?$abMfdH7bbfCt{kf_cc;rC+kiOA3o5^+_HMQ38BV(^ z>rkMc#6;%BK3K4ol0d#P9xI$^Acpya93u*n6 zE#?>|8JU4_7_}xNp;MQ~M|lD<`r?Q`H9qaX!VWzPVa>EPwdwr7#3{aqgBWX?tT!i? z;Gi)W5(cvW>>>9PdlYtZj~ZbqFpHd0S3+tY4w|V#GA83BVX*buuwJc}8h?fdMju1r zydH2~XQmgDaS$4D0M~sP{;akGVa0rA$m{pIAw7G&o=gF~d*DfN6nK_@Gx^M33&#@J zR1o6XFOg?KvN)#$l2L*7%+kCA)vUek0qwouT+oS`CeepU`9>Qp3ZumXf`5%r1doDn z%`d>+q-YZf;GP9@?a8xf>%c+1p2LY?YIZ_wU^F;`=B$zHJ6cmG^>gh`+GmXXp87z_ z=qsgtM$W&lK9DN<#?!tYk^28uUtWDj(>^|PoBAISEA*%ztgtO%1v!dX9{Ju_0nhGM z00N-va>u|Fjlb=INXaY^O0XsXw;v%8uk~>jGLAM%b_f5EY2omsO$3peRzB}tUU|qh zw-XJh$lhx)n#_R%SKc^yBzhExoT%L>RVzUfF^r?2Nw~A+BpJiedotr(hN4faL7Y2G zwo?#64yeCNnzE6qjDVtPO|e(n zZI_&26Y06hKuo&b;!PaV5im1cB6-y1`X7MgcCH&g!fh14=-;9Meu*e)PzzVn=#tS( z6Dx~YmK@KupA+rCcD&d3G`n}6bU}@P88Zrj(ODIBP2oRM3GO!klZpk^eR$%nLlhX$ zIC$t?=P_6gE#8qhxKLDC#N-}9Os-Qgx%U*4!?9s!qOC0~$N9V1ax!3O08gcp;^DqBb&ApIy>izaQXuK1^o(f;w-SQ z<+de43dhi?n=QUGqQ z6j@Wra_xYRXSyfFcbtukC=oq^%G!r17sswXd5=^+9!uqTRV(si+GK1OQVLq9ZJgL= zly9SSPAe7NjUv1))Stu_f!6lGP(&Y`v*QRi|iQ>rrNj&_s#29(d0W1BGjV9R9 zYT-Pc_4$;G{@+1ibfjM1y@{)la7++WEJZkrBw{|3t}oNy#k@A@QZ68&o#?wz@yzd) zisz9SA7YfDgd!fU)o<`zSBxK-1#pwBcCw&TvX*R+BuI3-9nka03u1>y#jEAT_tW>Z zVvLxnS?LSF$3O_+u=Fm1dR=ZmY+Eq$+J}tfp16nPUS4Mi+@sZz$VlEu;s#U0RIah( zj7K{iYse&T3!O`$E7?(a-#Es4))TIxywdz43!MzF)=X&ne*+IPvh6}GZr*gl{VB}- z<0K3^4vgvzfN)8^{SYy2B)UPJ^R~^TSUx@8Vk%PpCYKc}^KFVJya+-XtC!cO<6xAf z;~Yf=Dx*Ce=Pg`9*Jd0m((bHuFwKP%N8gX4ebPi@MunS;NKS(N3PraBojBj9FG)j^ zmQN&Vqm|N73vX6Iys>&iQb(;^U1btVtXPw*jZ~|^EJi{{GAyQb%CEpyCKA5R~{n}AO!WI50&%;9)VGb|00-#0+n{rq%`i? zvr@pwPnOE5#9k^lTSzzCTKl0$vTVbx3Rc4pc5Wm>${fuBJI#9=P39vtEt?Q&l9JLz zO({RtuBD!hA+SPj4qnT$-@t!Hi>PcS-TCy>ex7v3WjlmyI=!I`kF?`MZGwoDB5agV z0YJY)HUvZxC5K{*zzJ>4w52U20;tFsc38q1#69uRDR&*MqKK0o*3;Zg$j1Z~_sMc# zQUffS_CyDxE~X*)>(Ud3j}|uM&1wu*=IpHL4b)7{(owN9sV}2u87-}p147Ay1k?^X zob`W{HAvPiLL9ZgSBW@=T3im<2teK-{CHU(U1;N?gtm(qwsxK|U0D5VGm2jWJ2KSA zu0F3wX*NEHYCJ`&ALCYr6mdm{BYZ=}kXwy*XgGwJ@es$&fDM6VAP^M{k3J>rgZb!P zVsO?qepxOCV&`xslB0NVHA8O6QV>u>3!-3vzcmimo?=rv2=f(4QOQl5zkNJcfb))H zyc;YI_W^6)?!oW42KPa}0`8@@vl%Qlx8J+WCek%xUg*IJ;Lc=<76G$UxhyuDb@(U2 z(GAc}n(9;8(~1wb!pRgSl+AgI=JGg8kzujBf=gzg!vuBymrzIqAmzV-u*%P}k)+mk z0>%K8A~MQ`2m_^uS`3&hN`WdV6V|I+BP_@SUn9*ug^KgCaC;wyz{tZS=MNFx%syQA zW++DbGP^;O4`ligU+VXAI*~E1;$jtE^8XrZ6hY>+aQ@cHRog@z>wf{$zr*Esqtcnh z!h7=DWD`%*JEU~eA0q7>e$inR;d+Jo?X;=Pm*g!3c~mo({IN2p0X#0A2YfH9_&^fSBM7}#bzolaFPq_OYv^fMvyFlDs-bUj6dtBJxXCVsy3TmyT zskWIY`2|e>pSh@RR2XpT%;a;D2C@B?k}m;v4nLiS#^ejEI3-ADY5H-5Qr3tGUW{`1 zJ`_Ndk!5T;A+ocMK1s*+{+s^}sv>fx(TnsMUx)7#wd@xS@_z{dTD%8c;fqOPma%A zn3x<_zTL#7;^ZqA`Q}?c?jD(%ns{N71B;X%0_=<9c#jQ7iJEY|@y`dI!!P-VI&_2;qFi^w}IDAU!9GdT{UC1k)O%Mx~(-o=r_ z5tX42n}w07X=aMsi&0@70C0uQbLc^XBiof{c_Y3c&rGfW1){K}>2 z@iB=QbSD@gpW~8X9=kLuwjX}(?EWiPjt;+Z^j^^imPptl7330oCdeVDSV345B2k70 z{Ee8g0D0pl9M%EyGKV=B?=V<9UTU`r-ejOcXvs>`3N+KrRnTh$V!$GD0A(wPSf*bp zPK)Mf{}rh%{I8`qA+FvG75-!X1k7ZnX~!?2m{H4!hVbH(sFf&c9W=t#VV6jsM^X&X zWKkU~){eZ}r)_cEW-~n>8fSYjahpHdAbD6C`L0y7<*+D;HgX8S{2d&Z*zVL&creH4 zwip(Lr}&8HUtq5LAC?+k|@R z<7^Fn>Dhdg`0Yl;b0YJ)CJpRX>VNbh)=bmr(1pp z4z$RZhGcUCz@2F6a`Q0tks4qFx@p>A5*%*h2+W3CX{YwzubX=4&3JGNT65aL{5xvt zy|>%a_I^{{NQkj#tee2xmOs{r?e`sF`3C*ka(~+h9DXB=(S&@)iQiznChTF48DDq` z-%Y-@!(D@%)*J1ODX$3$EpS=z1nu#Q`w}>c3%pXhUaQ}%G1`N$xD17*3SN2wxvh82 z6SurEya(v=|0xSm&|%g@S`=vhudsNJ#jm3<+iQ6>S}ZF5Ve*Ox0&$X;opbrW#<3KD zZ8>>7yU4ei5Laot&jN|hxXNDU_AwCA}!HRJKJP=EHK~s+T@i+<06mgzAz#Cu#Fvg4*4KTkLriiSp|H&^= z7!5amb^Swtm2~c$MUpX{7^Qu7PS>N6nC?p?g?PF@SwG#zMSW7;2rLYd3%<<*YA*{A z#pT1__P@%{l& z2-FQ``+%xc7G*I`NaAVn+DZ&kW&{9Xk}Sl^5#s4?f)DFri4V)H6IoNbEs;-*y425rIVelSiUYhgC*H4fo!9Z&pgJmV(_)In4bKLbda zA=wMtHJ8vkc{rtaYCMBZv{yMix&$4@2FV7hhaL3s7Tf^zeMZ_jRLLH~f(SP?Xy~Ar zVz3uO6bDX&QvxysC1_f#fO|pfNEG}E({7m*W zBTb!unYGWeSY(kRzV&XEy-r2Y>j`#7ja_V!Z2WD^{Bxv(-KaQ9!OULJ!QRY6kbJuk znA~TwuN%E7Eli~+S%Gga=>}mHW2IZD1EOHN!bS$o ze6MIm*t*u;q8S^Q&`fu7KhA}rq}yl)ivUIPn8&Eoq$%DEkuQs9WSC%NiWUm{8`8TX zCoVsEEbHAV>A>#A4X|y|YAgVmjgtTw>C7ub9cHfQj`56J7h_jXx+@@GCATAG++zHc z*=DYo(1*Z|bA}%AX0YHmCOK($^6gJW)$=V*2*m2VZngbeaTHO^LipPMg7aX zg96>scJSa>jQ=~lod!y%)7=n)h+LtEuc;0Lt_kR0?rL+ z0B=kn5@LknT(#2yi1@;fxVXUp#?3l|ut#>tEHXSmTdHnQ6dI>NM zIFCrE*qab9)-*uMu}83k{PXDf;aMI`UOoesl#z^LW_mlp7C)#1rO$du+qVgD6D2I3 z`KXuPv+`Mw>|q42t>F6%~lM zkcHjyl?<{$Y&t&j&uP2&@;^O+exE+7*m%!dd6&npF?XSYh@H9$;AHrOvF-D2rnx8H z3vO8XdZxKIo}POLUn8l&kp60hb+fad)YSMIAiM^k`^gL+mI?t3+aZ9wn~60IjuCD0 z2V0Xj?qsm`V5dgj$uu8Imhts?-H0^ueD7~%nh)R8HJ~o6_K{Xs?T{u1s2+`b?}P7{ znz3}-)t)SXl)HxO9PJJqiUL%)dO%a`$zm8<(7v)K8{=Z1#u%D9Xam1LX(`=0ekYYC zAQA_|vOdDG-mhke{di%a-YgtB6dh^Vk{c2bWUNKXdoP51kGN377wO`pMcyeN!&$4)!#iJ~k;p*>2fv>ed{6JDzT)UMcVQuWiXOVP9G>R`RnOl+0Gh9Hw zNz*cGlALm{B|hc9{1bM(&Elt7{1^&wwS1K%=I#G3duRch;{GCQzs^E3_0y~|t<^t? zLQWE*6pd!Y?fhLH8i6*myD#D! zZv66{|8?HNA@!QYE!yk}N^k90OTcGRZfGPwm%>jeZH-{3e)(MrcAVftu;*b^A|(Lg zeYf`z1bRQr&Hl^*3H7e-ezYUj0D<418^nmcNQdXh!Ausf=fDX={DF?yL%8PQZa-?~ zw#j8f8|UxGtoVyNQdL2Ep{qNJpF-(a4TLcmCHY41t24?;sXjQ!8 zyvbpbcIy=fJA?ij+kS<`ud;ZL1&wcuPjO2)c%Wl|Y^Y^^Ic$KP<2qo_nL=?K6d~%K zXO9m1Wr5PN@aYWubg6v00RC^Ypc*zGk1K5LUA4{B_x}jfcatm*qSBe`9JFLwmD&DG z@2=k7{3H4O`Q7>L`5pO(@>fKvmoL0_Vcl1sh_!S0MNgs#*Pn{Ng-h6f_oSIYXtJx5 zM?W3B_Yfy(RDy-DpxKp?jYrv05X^kMDlv~wtDP+Kar_bXBBkS~fRvy=A#f>D7fkfR z8&?xzOL0XiX`NxmXZwVMPwWVh#81O*)t`kU?+Z2v7tTKM5h0t$%iA54bnw6rZC4(#- zhgO;YUs1qsWCnFSyTp=h!+h#3BV(DI{7j}jjW)9#OyjK;rom-tOOdoQhrHp_T%hg*g2^_&4fH@y&@c3FeTxRsl(g(Xa(;u>s=%yj-e~!gL z7ROjT&f+)=8p;04EPNJIET&m7(b~djdYef03(awhoBcFvUtsYIEEMMWkF5PC7BatO z%F`q^gZ)3S_WLY;j|J(||6eGC7`y_!8b-bl{ikRY1GkDz6f%;mXYJGI&-UX{2o5;M zj~C^U(bb19N8w$f%$BZRQu~1Aj9+{=$7Ai>LE%J~w~}`|kb!7qaE(mH+?% diff --git a/oe-core/bitbake/lib/bb/pysh/pyshtables.py b/oe-core/bitbake/lib/bb/pysh/pyshtables.py deleted file mode 100644 index 43fe9592f..000000000 --- a/oe-core/bitbake/lib/bb/pysh/pyshtables.py +++ /dev/null @@ -1,176 +0,0 @@ - -# /home/lxw2010/M7350v2/apps_proc/oe-core/bitbake/lib/bb/pysh/pyshtables.py -# This file is automatically generated. Do not edit. -_tabversion = '3.2' - -_lr_method = 'LALR' - -_lr_signature = 'S\xc5=P\x87\x06\x9d\x89~F_:iA\xc5\xcf' - -_lr_action_items = {'For':([0,2,3,8,9,10,11,14,15,16,20,21,22,23,24,25,26,27,28,29,31,32,33,34,35,36,38,39,41,42,43,45,46,47,48,49,50,51,52,53,54,55,56,57,59,60,61,62,63,64,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,87,88,92,93,94,95,99,101,102,103,104,105,106,107,108,110,111,112,113,114,116,117,119,120,121,122,123,124,125,126,127,128,129,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,151,153,155,156,157,160,167,168,169,170,172,173,174,181,185,187,190,193,195,197,198,199,200,203,],[22,-2,-142,-138,-87,-24,-25,-16,22,22,-126,22,-34,-26,-127,-84,-17,-144,-11,-7,-1,22,-85,-22,-111,22,22,-113,-12,-82,-67,-8,-19,-21,-143,-5,22,-20,22,-14,-23,-79,-59,-145,-146,-122,-115,-121,-116,-117,-3,-99,-93,-103,-75,22,-107,-89,-105,-60,-97,-101,-91,-74,-95,-118,-114,-112,-124,-128,22,-18,-109,-147,-147,-119,-120,-147,-123,-134,-4,-132,22,-131,-13,-88,22,-86,-83,-129,-130,-100,-94,-104,-108,-90,-106,-98,-102,-92,-96,-125,-27,22,-147,-110,22,22,-147,22,-139,-73,22,-68,-141,22,-133,-6,-66,22,-35,22,-9,-10,22,-15,-69,-70,22,22,-62,-140,-76,-44,-36,-71,-61,22,-42,-43,-37,22,22,22,]),'LESS':([0,2,3,8,9,10,11,14,15,16,18,20,21,22,23,24,25,26,27,28,29,31,32,33,34,35,36,38,39,41,42,43,45,46,47,48,49,50,51,52,53,54,55,56,57,59,60,61,62,63,64,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,87,88,92,93,94,95,99,101,102,103,104,105,106,107,108,110,111,112,113,114,116,117,119,120,121,122,123,124,125,126,127,128,129,131,132,133,134,135,136,138,139,140,141,142,143,144,145,146,147,148,151,153,155,156,160,167,168,169,170,172,173,174,181,185,187,190,193,195,197,198,199,200,203,],[5,-2,-142,-138,-87,-24,-25,-16,5,5,5,-126,5,-34,-26,-127,-84,5,-144,-11,-7,-1,5,-85,-22,-111,5,5,-113,-12,-82,-67,-8,-19,-21,-143,-5,5,-20,5,-14,-23,5,-59,-145,-146,-122,-115,-121,-116,-117,-3,-99,-93,-103,-75,5,-107,-89,-105,-60,-97,-101,-91,-74,-95,-118,-114,-112,-124,-128,5,5,-109,-147,-147,-119,-120,-147,-123,-134,-4,-132,5,-131,-13,-88,5,-86,-83,-129,-130,-100,-94,-104,-108,-90,-106,-98,-102,-92,-96,-125,-27,5,-147,-110,5,5,5,-139,-73,5,-68,-141,5,-133,-6,-66,5,-35,5,-9,-10,-15,-69,5,5,5,-62,-140,-76,-44,-36,5,-61,5,-42,-43,-37,5,5,5,]),'HERENAME':([19,44,],[86,86,]),'ASSIGNMENT_WORD':([0,2,3,8,9,10,11,14,15,16,20,21,22,23,24,25,26,27,28,29,31,32,33,34,35,36,38,39,41,42,43,45,46,47,48,49,50,51,52,53,54,55,56,57,59,60,61,62,63,64,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,87,88,92,93,94,95,99,101,102,103,104,105,106,107,108,110,111,112,113,114,116,117,119,120,121,122,123,124,125,126,127,128,129,131,132,133,134,135,136,138,139,140,141,142,143,144,145,146,147,148,151,153,155,156,160,167,168,169,170,172,173,174,181,185,187,190,193,195,197,198,199,200,203,],[25,-2,-142,-138,-87,-24,-25,-16,25,25,-126,25,-34,-26,-127,-84,-17,-144,-11,-7,-1,25,-85,-22,-111,25,25,-113,-12,-82,-67,-8,-19,-21,-143,-5,25,-20,25,-14,-23,25,-59,-145,-146,-122,-115,-121,-116,-117,-3,-99,-93,-103,-75,25,-107,-89,-105,-60,-97,-101,-91,-74,-95,-118,-114,-112,-124,-128,25,-18,-109,-147,-147,-119,-120,-147,-123,-134,-4,-132,25,-131,-13,-88,25,-86,-83,-129,-130,-100,-94,-104,-108,-90,-106,-98,-102,-92,-96,-125,-27,25,-147,-110,25,25,25,-139,-73,25,-68,-141,25,-133,-6,-66,25,-35,25,-9,-10,-15,-69,-70,25,25,-62,-140,-76,-44,-36,-71,-61,25,-42,-43,-37,25,25,25,]),'CLOBBER':([0,2,3,8,9,10,11,14,15,16,18,20,21,22,23,24,25,26,27,28,29,31,32,33,34,35,36,38,39,41,42,43,45,46,47,48,49,50,51,52,53,54,55,56,57,59,60,61,62,63,64,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,87,88,92,93,94,95,99,101,102,103,104,105,106,107,108,110,111,112,113,114,116,117,119,120,121,122,123,124,125,126,127,128,129,131,132,133,134,135,136,138,139,140,141,142,143,144,145,146,147,148,151,153,155,156,160,167,168,169,170,172,173,174,181,185,187,190,193,195,197,198,199,200,203,],[6,-2,-142,-138,-87,-24,-25,-16,6,6,6,-126,6,-34,-26,-127,-84,6,-144,-11,-7,-1,6,-85,-22,-111,6,6,-113,-12,-82,-67,-8,-19,-21,-143,-5,6,-20,6,-14,-23,6,-59,-145,-146,-122,-115,-121,-116,-117,-3,-99,-93,-103,-75,6,-107,-89,-105,-60,-97,-101,-91,-74,-95,-118,-114,-112,-124,-128,6,6,-109,-147,-147,-119,-120,-147,-123,-134,-4,-132,6,-131,-13,-88,6,-86,-83,-129,-130,-100,-94,-104,-108,-90,-106,-98,-102,-92,-96,-125,-27,6,-147,-110,6,6,6,-139,-73,6,-68,-141,6,-133,-6,-66,6,-35,6,-9,-10,-15,-69,6,6,6,-62,-140,-76,-44,-36,6,-61,6,-42,-43,-37,6,6,6,]),'DSEMI':([9,10,11,14,16,22,23,24,25,26,28,33,34,35,39,41,42,43,45,46,47,48,51,53,54,55,56,57,59,60,61,62,63,64,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,87,89,91,92,93,99,101,103,104,106,108,110,111,112,113,114,116,117,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,140,142,145,147,148,151,153,154,155,156,160,167,168,172,173,174,181,185,187,190,193,195,197,198,200,202,203,204,206,207,],[-87,-24,-25,-16,-81,-34,-26,-127,-84,-17,-11,-85,-22,-111,-113,-12,-82,-67,-8,-19,-21,-143,-20,-14,-23,-79,-59,-145,-146,-122,-115,-121,-116,-117,-99,-93,-103,-75,-80,-107,-89,-105,-60,-97,-101,-91,-74,-95,-118,-114,-112,-124,-128,-33,-28,-18,-109,-119,-120,-123,-134,-132,-131,-13,-88,-78,-86,-83,-129,-130,-100,-94,-104,-108,-90,-106,-98,-102,-92,-96,-125,-29,-27,-30,-147,-110,-73,-68,-133,-66,-77,-35,-31,-32,-9,-10,-15,-69,-70,-62,-140,-76,-44,-36,-71,-61,-147,-42,-43,-37,-147,208,-129,210,212,214,]),'Esac':([9,10,11,14,16,22,23,24,25,26,28,33,34,35,39,41,42,43,45,46,47,48,51,53,54,55,56,57,59,60,61,62,63,64,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,87,89,91,92,93,99,101,103,104,106,108,110,111,112,113,114,116,117,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,140,142,145,147,148,149,150,151,153,154,155,156,160,161,167,168,172,173,174,177,178,180,181,182,185,187,190,193,194,195,196,197,198,200,202,203,204,206,207,208,209,210,212,213,214,215,216,217,218,],[-87,-24,-25,-16,-81,-34,-26,-127,-84,-17,-11,-85,-22,-111,-113,-12,-82,-67,-8,-19,-21,-143,-20,-14,-23,-79,-59,-145,-146,-122,-115,-121,-116,-117,-99,-93,-103,-75,-80,-107,-89,-105,-60,-97,-101,-91,-74,-95,-118,-114,-112,-124,-128,-33,-28,-18,-109,-119,-120,-123,-134,-132,-131,-13,-88,-78,-86,-83,-129,-130,-100,-94,-104,-108,-90,-106,-98,-102,-92,-96,-125,-29,-27,-30,-147,-110,-73,-68,-133,-66,-77,-39,-147,-35,-31,-32,-9,-10,-15,181,-69,-70,-62,-140,-76,195,197,-46,-44,-48,-36,-71,-61,-147,-45,-42,-47,-43,-37,-147,-49,-129,-147,-51,-147,-147,-50,-147,-147,-52,-147,-53,-54,-55,-56,]),'GREATAND':([0,2,3,8,9,10,11,14,15,16,18,20,21,22,23,24,25,26,27,28,29,31,32,33,34,35,36,38,39,41,42,43,45,46,47,48,49,50,51,52,53,54,55,56,57,59,60,61,62,63,64,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,87,88,92,93,94,95,99,101,102,103,104,105,106,107,108,110,111,112,113,114,116,117,119,120,121,122,123,124,125,126,127,128,129,131,132,133,134,135,136,138,139,140,141,142,143,144,145,146,147,148,151,153,155,156,160,167,168,169,170,172,173,174,181,185,187,190,193,195,197,198,199,200,203,],[17,-2,-142,-138,-87,-24,-25,-16,17,17,17,-126,17,-34,-26,-127,-84,17,-144,-11,-7,-1,17,-85,-22,-111,17,17,-113,-12,-82,-67,-8,-19,-21,-143,-5,17,-20,17,-14,-23,17,-59,-145,-146,-122,-115,-121,-116,-117,-3,-99,-93,-103,-75,17,-107,-89,-105,-60,-97,-101,-91,-74,-95,-118,-114,-112,-124,-128,17,17,-109,-147,-147,-119,-120,-147,-123,-134,-4,-132,17,-131,-13,-88,17,-86,-83,-129,-130,-100,-94,-104,-108,-90,-106,-98,-102,-92,-96,-125,-27,17,-147,-110,17,17,17,-139,-73,17,-68,-141,17,-133,-6,-66,17,-35,17,-9,-10,-15,-69,17,17,17,-62,-140,-76,-44,-36,17,-61,17,-42,-43,-37,17,17,17,]),'Until':([0,2,3,8,9,10,11,14,15,16,20,21,22,23,24,25,26,27,28,29,31,32,33,34,35,36,38,39,41,42,43,45,46,47,48,49,50,51,52,53,54,55,56,57,59,60,61,62,63,64,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,87,88,92,93,94,95,99,101,102,103,104,105,106,107,108,110,111,112,113,114,116,117,119,120,121,122,123,124,125,126,127,128,129,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,151,153,155,156,157,160,167,168,169,170,172,173,174,181,185,187,190,193,195,197,198,199,200,203,],[43,-2,-142,-138,-87,-24,-25,-16,43,43,-126,43,-34,-26,-127,-84,-17,-144,-11,-7,-1,43,-85,-22,-111,43,43,-113,-12,-82,-67,-8,-19,-21,-143,-5,43,-20,43,-14,-23,-79,-59,-145,-146,-122,-115,-121,-116,-117,-3,-99,-93,-103,-75,43,-107,-89,-105,-60,-97,-101,-91,-74,-95,-118,-114,-112,-124,-128,43,-18,-109,-147,-147,-119,-120,-147,-123,-134,-4,-132,43,-131,-13,-88,43,-86,-83,-129,-130,-100,-94,-104,-108,-90,-106,-98,-102,-92,-96,-125,-27,43,-147,-110,43,43,-147,43,-139,-73,43,-68,-141,43,-133,-6,-66,43,-35,43,-9,-10,43,-15,-69,-70,43,43,-62,-140,-76,-44,-36,-71,-61,43,-42,-43,-37,43,43,43,]),'Then':([9,10,11,14,16,22,23,24,25,26,28,33,34,35,39,41,42,43,45,46,47,48,51,53,54,55,56,57,59,60,61,62,63,64,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,87,89,91,92,93,97,99,101,103,104,106,108,110,111,112,113,114,116,117,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,140,142,145,147,148,151,153,154,155,156,160,167,168,172,173,174,181,185,187,188,190,195,197,198,],[-87,-24,-25,-16,76,-34,-26,-127,-84,-17,-11,-85,-22,-111,-113,-12,-82,-67,-8,-19,-21,-143,-20,-14,-23,-79,-59,-145,-146,-122,-115,-121,-116,-117,-99,-93,-103,-75,76,-107,-89,-105,-60,-97,-101,-91,-74,-95,-118,-114,-112,-124,-128,-33,-28,-18,-109,76,-119,-120,-123,-134,-132,-131,-13,-88,76,-86,-83,-129,-130,-100,-94,-104,-108,-90,-106,-98,-102,-92,-96,-125,-29,-27,-30,-147,-110,-73,-68,-133,-66,76,-35,-31,-32,-9,-10,-15,-69,-70,-62,-140,-76,-44,-36,-71,76,-61,-42,-43,-37,]),'LPARENS':([0,2,3,8,9,10,11,14,15,16,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,38,39,41,42,43,45,46,47,48,49,50,51,52,53,54,55,56,57,59,60,61,62,63,64,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,87,88,92,93,94,95,99,101,102,103,104,105,106,107,108,110,111,112,113,114,116,117,119,120,121,122,123,124,125,126,127,128,129,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,153,155,156,157,160,161,167,168,169,170,172,173,174,177,181,182,185,187,190,193,195,196,197,198,199,200,203,208,210,212,214,215,216,217,218,],[21,-2,-142,-138,-87,-24,-25,-16,21,-81,-126,21,-34,-26,-127,-84,-17,-144,-11,-7,96,-1,21,-85,-22,-111,21,21,-113,-12,-72,-67,-8,-19,-21,-143,-5,21,-20,21,-14,-23,-79,-59,-145,-146,-122,-115,-121,-116,-117,-3,-99,-93,-103,-75,-80,-107,-89,-105,-60,-97,-101,-91,-74,-95,-118,-114,-112,-124,-128,21,-18,-109,-147,-147,-119,-120,-147,-123,-134,-4,-132,21,-131,-13,-88,-78,-86,-83,-129,-130,-100,-94,-104,-108,-90,-106,-98,-102,-92,-96,-125,-27,21,-147,-110,21,21,-147,21,-139,-73,21,-68,-141,21,-133,-6,-66,-77,-39,-147,-35,21,-9,-10,21,-15,175,-69,-70,21,21,-62,-140,-76,175,-44,-48,-36,-71,-61,21,-42,-47,-43,-37,21,21,21,-147,-147,-147,-147,-53,-54,-55,-56,]),'RPARENS':([9,10,11,14,16,22,23,24,25,26,28,33,34,35,39,41,42,43,45,46,47,48,51,53,54,55,56,57,59,60,61,62,63,64,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,87,89,90,91,92,93,96,99,101,103,104,106,108,110,111,112,113,114,116,117,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,140,142,145,147,148,151,153,154,155,156,160,167,168,172,173,174,176,179,181,185,187,190,191,195,197,198,201,],[-87,-24,-25,-16,-81,-34,-26,-127,-84,-17,-11,-85,-22,-111,-113,-12,-82,-67,-8,-19,-21,-143,-20,-14,-23,-79,-59,-145,-146,-122,-115,-121,-116,-117,-99,-93,-103,-75,-80,-107,-89,-105,-60,-97,-101,-91,-74,-95,-118,-114,-112,-124,-128,-33,131,-28,-18,-109,137,-119,-120,-123,-134,-132,-131,-13,-88,-78,-86,-83,-129,-130,-100,-94,-104,-108,-90,-106,-98,-102,-92,-96,-125,-29,-27,-30,-147,-110,-73,-68,-133,-66,-77,-35,-31,-32,-9,-10,-15,-69,-70,-62,-140,-76,193,-57,-44,-36,-71,-61,200,-42,-43,-37,-58,]),'NEWLINE':([0,3,8,9,10,11,14,16,20,21,22,23,24,25,26,28,29,32,33,34,35,36,38,39,41,42,43,45,46,47,48,49,50,51,53,54,55,56,57,58,59,60,61,62,63,64,65,66,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,87,88,89,91,92,93,94,95,99,101,102,103,104,106,107,108,110,111,112,113,114,116,117,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,137,138,139,140,141,142,143,145,146,147,148,149,150,151,152,153,154,155,156,160,162,163,165,166,167,168,169,170,172,173,174,181,184,185,187,190,193,195,197,198,199,200,203,204,207,208,210,212,214,],[24,-142,-138,-87,-24,-25,-16,-81,87,24,-34,-26,-127,-84,-17,-11,-7,24,-85,-22,-111,24,24,-113,-12,-82,-67,-8,-19,-21,-143,24,24,-20,-14,-23,-79,-59,-145,24,-146,-122,-115,-121,-116,-117,24,-38,-99,-93,-103,-75,-80,-107,-89,-105,-60,-97,-101,-91,-74,-95,-118,-114,-112,-124,-128,87,-33,24,-18,-109,24,24,-119,-120,24,-123,87,-132,24,-131,-13,-88,-78,-86,-83,87,-130,-100,-94,-104,-108,-90,-106,-98,-102,-92,-96,-125,24,-27,-30,24,-110,24,24,-139,-73,24,-68,-141,-133,-6,-66,-77,-39,24,-35,24,-31,-32,-9,-10,-15,24,87,-41,24,-69,-70,24,24,-62,-140,-76,-44,-40,-36,-71,-61,24,-42,-43,-37,24,24,87,24,24,24,24,24,24,]),'DGREAT':([0,2,3,8,9,10,11,14,15,16,18,20,21,22,23,24,25,26,27,28,29,31,32,33,34,35,36,38,39,41,42,43,45,46,47,48,49,50,51,52,53,54,55,56,57,59,60,61,62,63,64,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,87,88,92,93,94,95,99,101,102,103,104,105,106,107,108,110,111,112,113,114,116,117,119,120,121,122,123,124,125,126,127,128,129,131,132,133,134,135,136,138,139,140,141,142,143,144,145,146,147,148,151,153,155,156,160,167,168,169,170,172,173,174,181,185,187,190,193,195,197,198,199,200,203,],[37,-2,-142,-138,-87,-24,-25,-16,37,37,37,-126,37,-34,-26,-127,-84,37,-144,-11,-7,-1,37,-85,-22,-111,37,37,-113,-12,-82,-67,-8,-19,-21,-143,-5,37,-20,37,-14,-23,37,-59,-145,-146,-122,-115,-121,-116,-117,-3,-99,-93,-103,-75,37,-107,-89,-105,-60,-97,-101,-91,-74,-95,-118,-114,-112,-124,-128,37,37,-109,-147,-147,-119,-120,-147,-123,-134,-4,-132,37,-131,-13,-88,37,-86,-83,-129,-130,-100,-94,-104,-108,-90,-106,-98,-102,-92,-96,-125,-27,37,-147,-110,37,37,37,-139,-73,37,-68,-141,37,-133,-6,-66,37,-35,37,-9,-10,-15,-69,37,37,37,-62,-140,-76,-44,-36,37,-61,37,-42,-43,-37,37,37,37,]),'Else':([9,10,11,14,16,22,23,24,25,26,28,33,34,35,39,41,42,43,45,46,47,48,51,53,54,55,56,57,59,60,61,62,63,64,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,87,89,91,92,93,99,101,103,104,106,108,110,111,112,113,114,116,117,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,140,142,145,147,148,151,153,154,155,156,158,160,167,168,172,173,174,181,185,187,190,195,197,198,205,],[-87,-24,-25,-16,-81,-34,-26,-127,-84,-17,-11,-85,-22,-111,-113,-12,-82,-67,-8,-19,-21,-143,-20,-14,-23,-79,-59,-145,-146,-122,-115,-121,-116,-117,-99,-93,-103,-75,-80,-107,-89,-105,-60,-97,-101,-91,-74,-95,-118,-114,-112,-124,-128,-33,-28,-18,-109,-119,-120,-123,-134,-132,-131,-13,-88,-78,-86,-83,-129,-130,-100,-94,-104,-108,-90,-106,-98,-102,-92,-96,-125,-29,-27,-30,-147,-110,-73,-68,-133,-66,-77,-35,-31,-32,-9,-10,170,-15,-69,-70,-62,-140,-76,-44,-36,-71,-61,-42,-43,-37,170,]),'PIPE':([9,10,11,14,16,22,23,25,26,28,33,34,35,39,41,42,43,46,47,48,51,53,54,55,56,57,59,60,61,62,63,64,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,92,93,99,101,103,110,111,112,113,114,119,120,121,122,123,124,125,126,127,128,129,131,134,140,142,147,148,151,160,167,168,172,173,174,176,179,181,185,187,190,191,195,197,198,201,],[-87,-24,-25,-16,-81,-34,-26,-84,-17,-11,-85,-22,-111,-113,102,-82,-67,-19,-21,-143,-20,-14,-23,-79,-59,-145,-146,-122,-115,-121,-116,-117,-99,-93,-103,-75,-80,-107,-89,-105,-60,-97,-101,-91,-74,-95,-118,-114,-112,-124,-18,-109,-119,-120,-123,102,-88,-78,-86,-83,-100,-94,-104,-108,-90,-106,-98,-102,-92,-96,-125,-27,-110,-73,-68,-66,-77,-35,-15,-69,-70,-62,-140,-76,192,-57,-44,-36,-71,-61,192,-42,-43,-37,-58,]),'Bang':([0,2,3,8,9,10,11,14,15,16,20,21,22,23,24,25,26,28,29,31,32,33,34,35,36,38,39,41,42,43,45,46,47,48,49,50,51,53,54,55,56,57,59,60,61,62,63,64,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,87,88,92,93,94,95,99,101,103,104,105,106,107,108,110,111,112,113,114,116,117,119,120,121,122,123,124,125,126,127,128,129,131,132,133,134,135,136,138,139,140,141,142,143,145,146,147,148,151,153,155,156,160,167,168,169,170,172,173,174,181,185,187,190,193,195,197,198,199,200,203,],[28,-2,-142,-138,-87,-24,-25,-16,28,28,-126,28,-34,-26,-127,-84,-17,-11,-7,-1,28,-85,-22,-111,28,28,-113,-12,-82,-67,-8,-19,-21,-143,-5,28,-20,-14,-23,-79,-59,-145,-146,-122,-115,-121,-116,-117,-3,-99,-93,-103,-75,28,-107,-89,-105,-60,-97,-101,-91,-74,-95,-118,-114,-112,-124,-128,28,-18,-109,-147,-147,-119,-120,-123,-134,-4,-132,28,-131,-13,-88,28,-86,-83,-129,-130,-100,-94,-104,-108,-90,-106,-98,-102,-92,-96,-125,-27,28,-147,-110,28,28,28,-139,-73,28,-68,-141,-133,-6,-66,28,-35,28,-9,-10,-15,-69,-70,28,28,-62,-140,-76,-44,-36,-71,-61,28,-42,-43,-37,28,28,28,]),'COMMA':([9,10,11,14,16,22,23,25,26,28,29,33,34,35,39,41,42,43,45,46,47,48,49,51,53,54,55,56,57,59,60,61,62,63,64,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,89,91,92,93,99,101,103,110,111,112,113,114,119,120,121,122,123,124,125,126,127,128,129,130,131,134,140,142,146,147,148,149,151,152,154,155,156,160,162,165,167,168,172,173,174,181,184,185,187,190,195,197,198,],[-87,-24,-25,-16,-81,-34,-26,-84,-17,-11,-7,-85,-22,-111,-113,-12,-82,-67,-8,-19,-21,-143,108,-20,-14,-23,-79,-59,-145,-146,-122,-115,-121,-116,-117,-99,-93,-103,-75,-80,-107,-89,-105,-60,-97,-101,-91,-74,-95,-118,-114,-112,-124,-33,108,-18,-109,-119,-120,-123,-13,-88,-78,-86,-83,-100,-94,-104,-108,-90,-106,-98,-102,-92,-96,-125,108,-27,-110,-73,-68,-6,-66,-77,-39,-35,166,-32,-9,-10,-15,166,-41,-69,-70,-62,-140,-76,-44,-40,-36,-71,-61,-42,-43,-37,]),'Fi':([1,4,9,10,11,13,14,16,22,23,24,25,26,28,33,34,35,39,41,42,43,45,46,47,48,51,53,54,55,56,57,59,60,61,62,63,64,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,87,89,91,92,93,99,101,103,104,106,108,110,111,112,113,114,116,117,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,140,142,145,147,148,149,150,151,152,153,154,155,156,158,160,161,162,165,167,168,171,172,173,174,175,177,181,182,184,185,187,189,190,192,195,196,197,198,205,208,210,211,212,214,215,216,217,218,],[59,-137,-87,-24,-25,59,-16,59,-34,-26,-127,-84,-17,-11,-85,-22,-111,-113,-12,-82,-67,-8,-19,-21,-143,-20,-14,-23,59,-59,-145,-146,-122,-115,-121,-116,-117,-99,-93,-103,-75,59,-107,-89,-105,-60,-97,-101,-91,-74,-95,-118,-114,-112,-124,-128,-33,-28,-18,-109,-119,-120,-123,-134,-132,-131,-13,-88,59,-86,-83,-129,-130,-100,-94,-104,-108,-90,-106,-98,-102,-92,-96,-125,-29,-27,-30,-147,-110,-73,-68,-133,-66,59,-39,-147,-35,59,-31,-32,-9,-10,172,-15,59,59,-41,-69,-70,190,-62,-140,-76,59,59,-44,-48,-40,-36,-71,-65,-61,59,-42,-47,-43,-37,-64,-147,-147,-63,-147,-147,-53,-54,-55,-56,]),'$end':([2,9,10,11,14,15,16,20,22,23,24,25,26,28,29,31,33,34,35,39,41,42,43,45,46,47,48,49,51,53,54,55,56,57,59,60,61,62,63,64,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,87,92,93,99,101,103,104,105,106,107,108,110,111,112,113,114,116,117,119,120,121,122,123,124,125,126,127,128,129,131,134,140,142,145,146,147,148,151,155,156,160,167,168,172,173,174,181,185,187,190,195,197,198,],[-2,-87,-24,-25,-16,0,-81,-126,-34,-26,-127,-84,-17,-11,-7,-1,-85,-22,-111,-113,-12,-82,-67,-8,-19,-21,-143,-5,-20,-14,-23,-79,-59,-145,-146,-122,-115,-121,-116,-117,-3,-99,-93,-103,-75,-80,-107,-89,-105,-60,-97,-101,-91,-74,-95,-118,-114,-112,-124,-128,-18,-109,-119,-120,-123,-134,-4,-132,-147,-131,-13,-88,-78,-86,-83,-129,-130,-100,-94,-104,-108,-90,-106,-98,-102,-92,-96,-125,-27,-110,-73,-68,-133,-6,-66,-77,-35,-9,-10,-15,-69,-70,-62,-140,-76,-44,-36,-71,-61,-42,-43,-37,]),'Case':([0,2,3,8,9,10,11,14,15,16,20,21,22,23,24,25,26,27,28,29,31,32,33,34,35,36,38,39,41,42,43,45,46,47,48,49,50,51,52,53,54,55,56,57,59,60,61,62,63,64,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,87,88,92,93,94,95,99,101,102,103,104,105,106,107,108,110,111,112,113,114,116,117,119,120,121,122,123,124,125,126,127,128,129,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,151,153,155,156,157,160,167,168,169,170,172,173,174,181,185,187,190,193,195,197,198,199,200,203,],[1,-2,-142,-138,-87,-24,-25,-16,1,-81,-126,1,-34,-26,-127,-84,-17,-144,-11,-7,-1,1,-85,-22,-111,1,1,-113,-12,-82,-67,-8,-19,-21,-143,-5,1,-20,1,-14,-23,-79,-59,-145,-146,-122,-115,-121,-116,-117,-3,-99,-93,-103,-75,-80,-107,-89,-105,-60,-97,-101,-91,-74,-95,-118,-114,-112,-124,-128,1,-18,-109,-147,-147,-119,-120,-147,-123,-134,-4,-132,1,-131,-13,-88,-78,-86,-83,-129,-130,-100,-94,-104,-108,-90,-106,-98,-102,-92,-96,-125,-27,1,-147,-110,1,1,-147,1,-139,-73,1,-68,-141,1,-133,-6,-66,-77,-35,1,-9,-10,1,-15,-69,-70,1,1,-62,-140,-76,-44,-36,-71,-61,1,-42,-43,-37,1,1,1,]),'LESSAND':([0,2,3,8,9,10,11,14,15,16,18,20,21,22,23,24,25,26,27,28,29,31,32,33,34,35,36,38,39,41,42,43,45,46,47,48,49,50,51,52,53,54,55,56,57,59,60,61,62,63,64,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,87,88,92,93,94,95,99,101,102,103,104,105,106,107,108,110,111,112,113,114,116,117,119,120,121,122,123,124,125,126,127,128,129,131,132,133,134,135,136,138,139,140,141,142,143,144,145,146,147,148,151,153,155,156,160,167,168,169,170,172,173,174,181,185,187,190,193,195,197,198,199,200,203,],[7,-2,-142,-138,-87,-24,-25,-16,7,7,7,-126,7,-34,-26,-127,-84,7,-144,-11,-7,-1,7,-85,-22,-111,7,7,-113,-12,-82,-67,-8,-19,-21,-143,-5,7,-20,7,-14,-23,7,-59,-145,-146,-122,-115,-121,-116,-117,-3,-99,-93,-103,-75,7,-107,-89,-105,-60,-97,-101,-91,-74,-95,-118,-114,-112,-124,-128,7,7,-109,-147,-147,-119,-120,-147,-123,-134,-4,-132,7,-131,-13,-88,7,-86,-83,-129,-130,-100,-94,-104,-108,-90,-106,-98,-102,-92,-96,-125,-27,7,-147,-110,7,7,7,-139,-73,7,-68,-141,7,-133,-6,-66,7,-35,7,-9,-10,-15,-69,7,7,7,-62,-140,-76,-44,-36,7,-61,7,-42,-43,-37,7,7,7,]),'DLESS':([0,2,3,8,9,10,11,14,15,16,18,20,21,22,23,24,25,26,27,28,29,31,32,33,34,35,36,38,39,41,42,43,45,46,47,48,49,50,51,52,53,54,55,56,57,59,60,61,62,63,64,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,87,88,92,93,94,95,99,101,102,103,104,105,106,107,108,110,111,112,113,114,116,117,119,120,121,122,123,124,125,126,127,128,129,131,132,133,134,135,136,138,139,140,141,142,143,144,145,146,147,148,151,153,155,156,160,167,168,169,170,172,173,174,181,185,187,190,193,195,197,198,199,200,203,],[44,-2,-142,-138,-87,-24,-25,-16,44,44,44,-126,44,-34,-26,-127,-84,44,-144,-11,-7,-1,44,-85,-22,-111,44,44,-113,-12,-82,-67,-8,-19,-21,-143,-5,44,-20,44,-14,-23,44,-59,-145,-146,-122,-115,-121,-116,-117,-3,-99,-93,-103,-75,44,-107,-89,-105,-60,-97,-101,-91,-74,-95,-118,-114,-112,-124,-128,44,44,-109,-147,-147,-119,-120,-147,-123,-134,-4,-132,44,-131,-13,-88,44,-86,-83,-129,-130,-100,-94,-104,-108,-90,-106,-98,-102,-92,-96,-125,-27,44,-147,-110,44,44,44,-139,-73,44,-68,-141,44,-133,-6,-66,44,-35,44,-9,-10,-15,-69,44,44,44,-62,-140,-76,-44,-36,44,-61,44,-42,-43,-37,44,44,44,]),'Lbrace':([0,2,3,8,9,10,11,14,15,16,20,21,22,23,24,25,26,27,28,29,31,32,33,34,35,36,38,39,41,42,43,45,46,47,48,49,50,51,52,53,54,55,56,57,59,60,61,62,63,64,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,87,88,92,93,94,95,99,101,102,103,104,105,106,107,108,110,111,112,113,114,116,117,119,120,121,122,123,124,125,126,127,128,129,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,151,153,155,156,157,160,167,168,169,170,172,173,174,181,185,187,190,193,195,197,198,199,200,203,],[36,-2,-142,-138,-87,-24,-25,-16,36,-81,-126,36,-34,-26,-127,-84,-17,-144,-11,-7,-1,36,-85,-22,-111,36,36,-113,-12,-82,-67,-8,-19,-21,-143,-5,36,-20,36,-14,-23,-79,-59,-145,-146,-122,-115,-121,-116,-117,-3,-99,-93,-103,-75,-80,-107,-89,-105,-60,-97,-101,-91,-74,-95,-118,-114,-112,-124,-128,36,-18,-109,-147,-147,-119,-120,-147,-123,-134,-4,-132,36,-131,-13,-88,-78,-86,-83,-129,-130,-100,-94,-104,-108,-90,-106,-98,-102,-92,-96,-125,-27,36,-147,-110,36,36,-147,36,-139,-73,36,-68,-141,36,-133,-6,-66,-77,-35,36,-9,-10,36,-15,-69,-70,36,36,-62,-140,-76,-44,-36,-71,-61,36,-42,-43,-37,36,36,36,]),'IO_NUMBER':([0,2,3,8,9,10,11,14,15,16,20,21,22,23,24,25,26,27,28,29,31,32,33,34,35,36,38,39,41,42,43,45,46,47,48,49,50,51,52,53,54,55,56,57,59,60,61,62,63,64,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,87,88,92,93,94,95,99,101,102,103,104,105,106,107,108,110,111,112,113,114,116,117,119,120,121,122,123,124,125,126,127,128,129,131,132,133,134,135,136,138,139,140,141,142,143,144,145,146,147,148,151,153,155,156,160,167,168,169,170,172,173,174,181,185,187,190,193,195,197,198,199,200,203,],[18,-2,-142,-138,-87,-24,-25,-16,18,18,-126,18,-34,-26,-127,-84,18,-144,-11,-7,-1,18,-85,-22,-111,18,18,-113,-12,-82,-67,-8,-19,-21,-143,-5,18,-20,18,-14,-23,18,-59,-145,-146,-122,-115,-121,-116,-117,-3,-99,-93,-103,-75,18,-107,-89,-105,-60,-97,-101,-91,-74,-95,-118,-114,-112,-124,-128,18,18,-109,-147,-147,-119,-120,-147,-123,-134,-4,-132,18,-131,-13,-88,18,-86,-83,-129,-130,-100,-94,-104,-108,-90,-106,-98,-102,-92,-96,-125,-27,18,-147,-110,18,18,18,-139,-73,18,-68,-141,18,-133,-6,-66,18,-35,18,-9,-10,-15,-69,18,18,18,-62,-140,-76,-44,-36,18,-61,18,-42,-43,-37,18,18,18,]),'Do':([9,10,11,14,16,22,23,24,25,26,28,33,34,35,39,41,42,43,45,46,47,48,51,53,54,55,56,57,59,60,61,62,63,64,65,66,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,87,89,91,92,93,99,100,101,103,104,106,108,109,110,111,112,113,114,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,140,142,145,147,148,151,153,154,155,156,160,163,164,166,167,168,172,173,174,181,183,185,186,187,190,195,197,198,],[-87,-24,-25,-16,71,-34,-26,-127,-84,-17,-11,-85,-22,-111,-113,-12,-82,-67,-8,-19,-21,-143,-20,-14,-23,-79,-59,-145,-146,-122,-115,-121,-116,-117,-147,-38,-99,-93,-103,-75,71,-107,-89,-105,-60,-97,-101,-91,-74,-95,-118,-114,-112,-124,-128,-33,-28,-18,-109,-119,71,-120,-123,-134,-132,-131,71,-13,-88,71,-86,-83,-129,-130,71,-100,-94,-104,-108,-90,-106,-98,-102,-92,-96,-125,-29,-27,-30,-147,-110,-73,-68,-133,-66,71,-35,-31,-32,-9,-10,-15,-136,71,-147,-69,-70,-62,-140,-76,-44,71,-36,-135,-71,-61,-42,-43,-37,]),'OR_IF':([9,10,11,14,16,22,23,25,26,28,29,33,34,35,39,41,42,43,45,46,47,48,51,53,54,55,56,57,59,60,61,62,63,64,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,89,92,93,99,101,103,110,111,112,113,114,119,120,121,122,123,124,125,126,127,128,129,131,134,140,142,146,147,148,151,154,155,156,160,167,168,172,173,174,181,185,187,190,195,197,198,],[-87,-24,-25,-16,-81,-34,-26,-84,-17,-11,95,-85,-22,-111,-113,-12,-82,-67,-8,-19,-21,-143,-20,-14,-23,-79,-59,-145,-146,-122,-115,-121,-116,-117,-99,-93,-103,-75,-80,-107,-89,-105,-60,-97,-101,-91,-74,-95,-118,-114,-112,-124,95,-18,-109,-119,-120,-123,-13,-88,-78,-86,-83,-100,-94,-104,-108,-90,-106,-98,-102,-92,-96,-125,-27,-110,-73,-68,95,-66,-77,-35,95,-9,-10,-15,-69,-70,-62,-140,-76,-44,-36,-71,-61,-42,-43,-37,]),'LESSGREAT':([0,2,3,8,9,10,11,14,15,16,18,20,21,22,23,24,25,26,27,28,29,31,32,33,34,35,36,38,39,41,42,43,45,46,47,48,49,50,51,52,53,54,55,56,57,59,60,61,62,63,64,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,87,88,92,93,94,95,99,101,102,103,104,105,106,107,108,110,111,112,113,114,116,117,119,120,121,122,123,124,125,126,127,128,129,131,132,133,134,135,136,138,139,140,141,142,143,144,145,146,147,148,151,153,155,156,160,167,168,169,170,172,173,174,181,185,187,190,193,195,197,198,199,200,203,],[40,-2,-142,-138,-87,-24,-25,-16,40,40,40,-126,40,-34,-26,-127,-84,40,-144,-11,-7,-1,40,-85,-22,-111,40,40,-113,-12,-82,-67,-8,-19,-21,-143,-5,40,-20,40,-14,-23,40,-59,-145,-146,-122,-115,-121,-116,-117,-3,-99,-93,-103,-75,40,-107,-89,-105,-60,-97,-101,-91,-74,-95,-118,-114,-112,-124,-128,40,40,-109,-147,-147,-119,-120,-147,-123,-134,-4,-132,40,-131,-13,-88,40,-86,-83,-129,-130,-100,-94,-104,-108,-90,-106,-98,-102,-92,-96,-125,-27,40,-147,-110,40,40,40,-139,-73,40,-68,-141,40,-133,-6,-66,40,-35,40,-9,-10,-15,-69,40,40,40,-62,-140,-76,-44,-36,40,-61,40,-42,-43,-37,40,40,40,]),'AND_IF':([9,10,11,14,16,22,23,25,26,28,29,33,34,35,39,41,42,43,45,46,47,48,51,53,54,55,56,57,59,60,61,62,63,64,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,89,92,93,99,101,103,110,111,112,113,114,119,120,121,122,123,124,125,126,127,128,129,131,134,140,142,146,147,148,151,154,155,156,160,167,168,172,173,174,181,185,187,190,195,197,198,],[-87,-24,-25,-16,-81,-34,-26,-84,-17,-11,94,-85,-22,-111,-113,-12,-82,-67,-8,-19,-21,-143,-20,-14,-23,-79,-59,-145,-146,-122,-115,-121,-116,-117,-99,-93,-103,-75,-80,-107,-89,-105,-60,-97,-101,-91,-74,-95,-118,-114,-112,-124,94,-18,-109,-119,-120,-123,-13,-88,-78,-86,-83,-100,-94,-104,-108,-90,-106,-98,-102,-92,-96,-125,-27,-110,-73,-68,94,-66,-77,-35,94,-9,-10,-15,-69,-70,-62,-140,-76,-44,-36,-71,-61,-42,-43,-37,]),'While':([0,2,3,8,9,10,11,14,15,16,20,21,22,23,24,25,26,27,28,29,31,32,33,34,35,36,38,39,41,42,43,45,46,47,48,49,50,51,52,53,54,55,56,57,59,60,61,62,63,64,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,87,88,92,93,94,95,99,101,102,103,104,105,106,107,108,110,111,112,113,114,116,117,119,120,121,122,123,124,125,126,127,128,129,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,151,153,155,156,157,160,167,168,169,170,172,173,174,181,185,187,190,193,195,197,198,199,200,203,],[50,-2,-142,-138,-87,-24,-25,-16,50,-81,-126,50,-34,-26,-127,-84,-17,-144,-11,-7,-1,50,-85,-22,-111,50,50,-113,-12,-82,-67,-8,-19,-21,-143,-5,50,-20,50,-14,-23,-79,-59,-145,-146,-122,-115,-121,-116,-117,-3,-99,-93,-103,-75,-80,-107,-89,-105,-60,-97,-101,-91,-74,-95,-118,-114,-112,-124,-128,50,-18,-109,-147,-147,-119,-120,-147,-123,-134,-4,-132,50,-131,-13,-88,-78,-86,-83,-129,-130,-100,-94,-104,-108,-90,-106,-98,-102,-92,-96,-125,-27,50,-147,-110,50,50,-147,50,-139,-73,50,-68,-141,50,-133,-6,-66,-77,-35,50,-9,-10,50,-15,-69,-70,50,50,-62,-140,-76,-44,-36,-71,-61,50,-42,-43,-37,50,50,50,]),'DLESSDASH':([0,2,3,8,9,10,11,14,15,16,18,20,21,22,23,24,25,26,27,28,29,31,32,33,34,35,36,38,39,41,42,43,45,46,47,48,49,50,51,52,53,54,55,56,57,59,60,61,62,63,64,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,87,88,92,93,94,95,99,101,102,103,104,105,106,107,108,110,111,112,113,114,116,117,119,120,121,122,123,124,125,126,127,128,129,131,132,133,134,135,136,138,139,140,141,142,143,144,145,146,147,148,151,153,155,156,160,167,168,169,170,172,173,174,181,185,187,190,193,195,197,198,199,200,203,],[19,-2,-142,-138,-87,-24,-25,-16,19,19,19,-126,19,-34,-26,-127,-84,19,-144,-11,-7,-1,19,-85,-22,-111,19,19,-113,-12,-82,-67,-8,-19,-21,-143,-5,19,-20,19,-14,-23,19,-59,-145,-146,-122,-115,-121,-116,-117,-3,-99,-93,-103,-75,19,-107,-89,-105,-60,-97,-101,-91,-74,-95,-118,-114,-112,-124,-128,19,19,-109,-147,-147,-119,-120,-147,-123,-134,-4,-132,19,-131,-13,-88,19,-86,-83,-129,-130,-100,-94,-104,-108,-90,-106,-98,-102,-92,-96,-125,-27,19,-147,-110,19,19,19,-139,-73,19,-68,-141,19,-133,-6,-66,19,-35,19,-9,-10,-15,-69,19,19,19,-62,-140,-76,-44,-36,19,-61,19,-42,-43,-37,19,19,19,]),'AMP':([9,10,11,14,16,22,23,25,26,28,29,33,34,35,39,41,42,43,45,46,47,48,49,51,53,54,55,56,57,59,60,61,62,63,64,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,89,91,92,93,99,101,103,110,111,112,113,114,119,120,121,122,123,124,125,126,127,128,129,130,131,134,140,142,146,147,148,151,154,155,156,160,167,168,172,173,174,181,185,187,190,195,197,198,],[-87,-24,-25,-16,-81,-34,-26,-84,-17,-11,-7,-85,-22,-111,-113,-12,-82,-67,-8,-19,-21,-143,106,-20,-14,-23,-79,-59,-145,-146,-122,-115,-121,-116,-117,-99,-93,-103,-75,-80,-107,-89,-105,-60,-97,-101,-91,-74,-95,-118,-114,-112,-124,-33,106,-18,-109,-119,-120,-123,-13,-88,-78,-86,-83,-100,-94,-104,-108,-90,-106,-98,-102,-92,-96,-125,106,-27,-110,-73,-68,-6,-66,-77,-35,-32,-9,-10,-15,-69,-70,-62,-140,-76,-44,-36,-71,-61,-42,-43,-37,]),'Rbrace':([9,10,11,14,16,22,23,24,25,26,28,33,34,35,39,41,42,43,45,46,47,48,51,53,54,55,56,57,59,60,61,62,63,64,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,87,89,91,92,93,98,99,101,103,104,106,108,110,111,112,113,114,116,117,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,140,142,145,147,148,151,153,154,155,156,160,167,168,172,173,174,181,185,187,190,195,197,198,],[-87,-24,-25,-16,-81,-34,-26,-127,-84,-17,-11,-85,-22,-111,-113,-12,-82,-67,-8,-19,-21,-143,-20,-14,-23,-79,-59,-145,-146,-122,-115,-121,-116,-117,-99,-93,-103,-75,-80,-107,-89,-105,-60,-97,-101,-91,-74,-95,-118,-114,-112,-124,-128,-33,-28,-18,-109,140,-119,-120,-123,-134,-132,-131,-13,-88,-78,-86,-83,-129,-130,-100,-94,-104,-108,-90,-106,-98,-102,-92,-96,-125,-29,-27,-30,-147,-110,-73,-68,-133,-66,-77,-35,-31,-32,-9,-10,-15,-69,-70,-62,-140,-76,-44,-36,-71,-61,-42,-43,-37,]),'Elif':([9,10,11,14,16,22,23,24,25,26,28,33,34,35,39,41,42,43,45,46,47,48,51,53,54,55,56,57,59,60,61,62,63,64,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,87,89,91,92,93,99,101,103,104,106,108,110,111,112,113,114,116,117,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,140,142,145,147,148,151,153,154,155,156,158,160,167,168,172,173,174,181,185,187,190,195,197,198,205,],[-87,-24,-25,-16,-81,-34,-26,-127,-84,-17,-11,-85,-22,-111,-113,-12,-82,-67,-8,-19,-21,-143,-20,-14,-23,-79,-59,-145,-146,-122,-115,-121,-116,-117,-99,-93,-103,-75,-80,-107,-89,-105,-60,-97,-101,-91,-74,-95,-118,-114,-112,-124,-128,-33,-28,-18,-109,-119,-120,-123,-134,-132,-131,-13,-88,-78,-86,-83,-129,-130,-100,-94,-104,-108,-90,-106,-98,-102,-92,-96,-125,-29,-27,-30,-147,-110,-73,-68,-133,-66,-77,-35,-31,-32,-9,-10,169,-15,-69,-70,-62,-140,-76,-44,-36,-71,-61,-42,-43,-37,169,]),'GREATER':([0,2,3,8,9,10,11,14,15,16,18,20,21,22,23,24,25,26,27,28,29,31,32,33,34,35,36,38,39,41,42,43,45,46,47,48,49,50,51,52,53,54,55,56,57,59,60,61,62,63,64,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,87,88,92,93,94,95,99,101,102,103,104,105,106,107,108,110,111,112,113,114,116,117,119,120,121,122,123,124,125,126,127,128,129,131,132,133,134,135,136,138,139,140,141,142,143,144,145,146,147,148,151,153,155,156,160,167,168,169,170,172,173,174,181,185,187,190,193,195,197,198,199,200,203,],[12,-2,-142,-138,-87,-24,-25,-16,12,12,12,-126,12,-34,-26,-127,-84,12,-144,-11,-7,-1,12,-85,-22,-111,12,12,-113,-12,-82,-67,-8,-19,-21,-143,-5,12,-20,12,-14,-23,12,-59,-145,-146,-122,-115,-121,-116,-117,-3,-99,-93,-103,-75,12,-107,-89,-105,-60,-97,-101,-91,-74,-95,-118,-114,-112,-124,-128,12,12,-109,-147,-147,-119,-120,-147,-123,-134,-4,-132,12,-131,-13,-88,12,-86,-83,-129,-130,-100,-94,-104,-108,-90,-106,-98,-102,-92,-96,-125,-27,12,-147,-110,12,12,12,-139,-73,12,-68,-141,12,-133,-6,-66,12,-35,12,-9,-10,-15,-69,12,12,12,-62,-140,-76,-44,-36,12,-61,12,-42,-43,-37,12,12,12,]),'TOKEN':([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,20,21,22,23,24,25,26,27,28,29,31,32,33,34,35,36,37,38,39,40,41,42,43,45,46,47,48,49,50,51,52,53,54,55,56,57,59,60,61,62,63,64,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,92,93,94,95,99,101,102,103,104,105,106,107,108,110,111,112,113,114,116,117,119,120,121,122,123,124,125,126,127,128,129,131,132,133,134,135,136,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,155,156,160,161,162,165,167,168,169,170,172,173,174,175,177,181,182,184,185,187,190,192,193,195,196,197,198,199,200,203,208,210,212,214,215,216,217,218,],[42,57,-2,-142,-137,60,60,60,-138,-87,-24,-25,60,57,-16,42,57,60,-126,42,-34,-26,-127,-84,-17,-144,-11,-7,-1,42,-85,-22,-111,42,60,42,-113,60,-12,-82,-67,-8,-19,-21,-143,-5,42,-20,42,-14,-23,57,-59,-145,-146,-122,-115,-121,-116,-117,-3,-99,-93,-103,-75,57,-107,-89,-105,-60,-97,-101,-91,-74,-95,-118,-114,-112,-124,129,-128,42,-18,-109,-147,-147,-119,-120,-147,-123,-134,-4,-132,42,-131,-13,-88,57,-86,-83,-129,-130,-100,-94,-104,-108,-90,-106,-98,-102,-92,-96,-125,-27,42,-147,-110,42,42,42,-139,-73,42,-68,-141,42,-133,-6,-66,57,-39,-147,-35,57,42,-9,-10,-15,57,57,-41,-69,-70,42,42,-62,-140,-76,57,57,-44,-48,-40,-36,-71,-61,57,42,-42,-47,-43,-37,42,42,42,-147,-147,-147,-147,-53,-54,-55,-56,]),'Done':([9,10,11,14,16,22,23,24,25,26,28,33,34,35,39,41,42,43,45,46,47,48,51,53,54,55,56,57,59,60,61,62,63,64,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,87,89,91,92,93,99,101,103,104,106,108,110,111,112,113,114,116,117,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,140,142,145,147,148,151,153,154,155,156,159,160,167,168,172,173,174,181,185,187,190,195,197,198,],[-87,-24,-25,-16,80,-34,-26,-127,-84,-17,-11,-85,-22,-111,-113,-12,-82,-67,-8,-19,-21,-143,-20,-14,-23,-79,-59,-145,-146,-122,-115,-121,-116,-117,-99,-93,-103,-75,80,-107,-89,-105,-60,-97,-101,-91,-74,-95,-118,-114,-112,-124,-128,-33,-28,-18,-109,-119,-120,-123,-134,-132,-131,-13,-88,80,-86,-83,-129,-130,-100,-94,-104,-108,-90,-106,-98,-102,-92,-96,-125,-29,-27,-30,-147,-110,-73,-68,-133,-66,80,-35,-31,-32,-9,-10,80,-15,-69,-70,-62,-140,-76,-44,-36,-71,-61,-42,-43,-37,]),'In':([24,57,58,59,65,66,87,115,116,117,118,],[-127,-145,-147,-146,-147,-38,-128,149,-129,-130,149,]),'If':([0,2,3,8,9,10,11,14,15,16,20,21,22,23,24,25,26,27,28,29,31,32,33,34,35,36,38,39,41,42,43,45,46,47,48,49,50,51,52,53,54,55,56,57,59,60,61,62,63,64,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,87,88,92,93,94,95,99,101,102,103,104,105,106,107,108,110,111,112,113,114,116,117,119,120,121,122,123,124,125,126,127,128,129,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,151,153,155,156,157,160,167,168,169,170,172,173,174,181,185,187,190,193,195,197,198,199,200,203,],[56,-2,-142,-138,-87,-24,-25,-16,56,56,-126,56,-34,-26,-127,-84,-17,-144,-11,-7,-1,56,-85,-22,-111,56,56,-113,-12,-82,-67,-8,-19,-21,-143,-5,56,-20,56,-14,-23,-79,-59,-145,-146,-122,-115,-121,-116,-117,-3,-99,-93,-103,-75,56,-107,-89,-105,-60,-97,-101,-91,-74,-95,-118,-114,-112,-124,-128,56,-18,-109,-147,-147,-119,-120,-147,-123,-134,-4,-132,56,-131,-13,-88,56,-86,-83,-129,-130,-100,-94,-104,-108,-90,-106,-98,-102,-92,-96,-125,-27,56,-147,-110,56,56,-147,56,-139,-73,56,-68,-141,56,-133,-6,-66,56,-35,56,-9,-10,56,-15,-69,-70,56,56,-62,-140,-76,-44,-36,-71,-61,56,-42,-43,-37,56,56,56,]),} - -_lr_action = { } -for _k, _v in _lr_action_items.items(): - for _x,_y in zip(_v[0],_v[1]): - if not _x in _lr_action: _lr_action[_x] = { } - _lr_action[_x][_k] = _y -del _lr_action_items - -_lr_goto_items = {'linebreak':([58,65,94,95,102,107,133,137,150,166,193,200,204,207,208,210,212,214,],[115,118,135,136,144,145,145,157,161,186,202,206,209,213,215,216,217,218,]),'maybe_until_word':([0,15,16,21,32,36,38,50,52,72,88,107,112,132,135,136,138,141,144,148,153,157,169,170,193,199,200,203,],[3,3,68,3,3,3,3,3,3,119,3,3,68,3,3,3,3,3,3,119,3,3,3,3,3,3,3,3,]),'maybe_for_word':([0,15,16,21,32,36,38,50,52,72,88,107,112,132,135,136,138,141,144,148,153,157,169,170,193,199,200,203,],[4,4,69,4,4,4,4,4,4,120,4,4,69,4,4,4,4,4,4,120,4,4,4,4,4,4,4,4,]),'redirect_list':([26,168,],[92,187,]),'maybe_if_word':([0,15,16,21,32,36,38,50,52,72,88,107,112,132,135,136,138,141,144,148,153,157,169,170,193,199,200,203,],[8,8,70,8,8,8,8,8,8,121,8,8,70,8,8,8,8,8,8,121,8,8,8,8,8,8,8,8,]),'assignment_word':([0,15,21,32,36,38,50,52,55,88,107,132,135,136,138,141,144,153,169,170,193,199,200,203,],[9,9,9,9,9,9,9,9,111,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,]),'if_clause':([0,15,21,32,36,38,50,52,88,107,132,135,136,138,141,144,153,157,169,170,193,199,200,203,],[10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,]),'while_clause':([0,15,21,32,36,38,50,52,88,107,132,135,136,138,141,144,153,157,169,170,193,199,200,203,],[11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,]),'in':([115,118,],[150,152,]),'for_word':([0,15,21,32,36,38,50,52,88,107,132,135,136,138,141,144,153,157,169,170,193,199,200,203,],[13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,]),'simple_command':([0,15,21,32,36,38,50,52,88,107,132,135,136,138,141,144,153,169,170,193,199,200,203,],[14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,]),'filename':([5,6,7,12,17,37,40,],[61,62,63,64,82,99,101,]),'multiple_commands':([0,],[15,]),'cmd_name':([0,15,21,32,36,38,50,52,88,107,132,135,136,138,141,144,153,169,170,193,199,200,203,],[16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,]),'do_word':([100,109,118,164,183,],[141,141,141,141,141,]),'case_list':([161,],[177,]),'newline_list':([0,21,32,36,38,49,50,58,65,91,94,95,102,107,130,133,137,138,141,150,152,162,166,169,170,193,199,200,204,207,208,210,212,214,],[20,88,88,88,88,104,88,116,116,104,116,116,116,116,104,116,116,88,88,116,163,163,116,88,88,203,88,203,116,116,116,116,116,116,]),'until_clause':([0,15,21,32,36,38,50,52,88,107,132,135,136,138,141,144,153,157,169,170,193,199,200,203,],[23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,]),'complete_command':([0,15,],[2,67,]),'separator':([49,91,130,],[105,132,153,]),'compound_command':([0,15,21,32,36,38,50,52,88,107,132,135,136,138,141,144,153,157,169,170,193,199,200,203,],[26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,168,26,26,26,26,26,26,]),'cmd_suffix':([16,112,],[72,148,]),'maybe_bang_word':([0,15,16,21,32,36,38,50,72,88,107,112,132,135,136,138,141,148,153,169,170,193,199,200,203,],[27,27,73,27,27,27,27,27,122,27,27,73,27,27,27,27,27,122,27,27,27,27,27,27,27,]),'then_word':([97,188,],[138,199,]),'separator_op':([49,91,130,],[107,133,133,]),'and_or':([0,15,21,32,36,38,50,88,107,132,138,141,153,169,170,193,199,200,203,],[29,29,89,89,89,89,89,89,146,154,89,89,154,89,89,89,89,89,89,]),'case_item_ns':([161,177,],[180,194,]),'done_word':([159,],[174,]),'fname':([0,15,21,32,36,38,50,52,88,107,132,135,136,138,141,144,153,169,170,193,199,200,203,],[30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,]),'cmd_word':([55,],[112,]),'here_end':([19,44,],[85,103,]),'command':([0,15,21,32,36,38,50,52,88,107,132,135,136,138,141,144,153,169,170,193,199,200,203,],[53,53,53,53,53,53,53,53,53,53,53,53,53,53,53,160,53,53,53,53,53,53,53,]),'io_redirect':([0,15,16,21,26,32,36,38,50,52,55,72,88,92,107,112,132,135,136,138,141,144,148,153,168,169,170,187,193,199,200,203,],[33,33,74,33,93,33,33,33,33,33,113,123,33,134,33,74,33,33,33,33,33,33,123,33,93,33,33,134,33,33,33,33,]),'maybe_then_word':([16,72,97,112,148,188,],[75,124,139,75,124,139,]),'case_item':([161,177,],[182,196,]),'wordlist':([152,],[162,]),'io_file':([0,15,16,18,21,26,32,36,38,50,52,55,72,88,92,107,112,132,135,136,138,141,144,148,153,168,169,170,187,193,199,200,203,],[35,35,35,84,35,35,35,35,35,35,35,35,35,35,35,35,35,35,35,35,35,35,35,35,35,35,35,35,35,35,35,35,35,]),'until_word':([0,15,21,32,36,38,50,52,88,107,132,135,136,138,141,144,153,157,169,170,193,199,200,203,],[38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,]),'sequential_sep':([152,162,],[164,183,]),'case_list_ns':([161,],[178,]),'io_here':([0,15,16,18,21,26,32,36,38,50,52,55,72,88,92,107,112,132,135,136,138,141,144,148,153,168,169,170,187,193,199,200,203,],[39,39,39,83,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,]),'else_part':([158,205,],[171,211,]),'pipe_sequence':([0,15,21,32,36,38,50,52,88,107,132,135,136,138,141,153,169,170,193,199,200,203,],[41,41,41,41,41,41,41,110,41,41,41,41,41,41,41,41,41,41,41,41,41,41,]),'pattern':([161,175,177,],[176,191,176,]),'term':([21,32,36,38,50,88,138,141,169,170,193,199,200,203,],[91,91,91,91,91,130,91,91,91,91,91,91,91,130,]),'maybe_done_word':([16,72,112,148,159,],[81,128,81,128,173,]),'maybe_do_word':([16,72,100,109,112,118,148,164,183,],[77,125,143,143,77,143,125,143,143,]),'compound_list':([21,32,36,38,50,138,141,169,170,193,199,200,],[90,97,98,100,109,158,159,188,189,204,205,207,]),'if_word':([0,15,21,32,36,38,50,52,88,107,132,135,136,138,141,144,153,157,169,170,193,199,200,203,],[32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,]),'pipeline':([0,15,21,32,36,38,50,88,107,132,135,136,138,141,153,169,170,193,199,200,203,],[45,45,45,45,45,45,45,45,45,45,155,156,45,45,45,45,45,45,45,45,45,]),'function_definition':([0,15,21,32,36,38,50,52,88,107,132,135,136,138,141,144,153,169,170,193,199,200,203,],[46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,]),'subshell':([0,15,21,32,36,38,50,52,88,107,132,135,136,138,141,144,153,157,169,170,193,199,200,203,],[47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,]),'name':([13,],[65,]),'maybe_assignment_word':([0,15,16,21,32,36,38,50,52,55,72,88,107,112,132,135,136,138,141,144,148,153,169,170,193,199,200,203,],[48,48,78,48,48,48,48,48,48,48,126,48,48,78,48,48,48,48,48,48,126,48,48,48,48,48,48,48,]),'list':([0,15,],[49,49,]),'brace_group':([0,15,21,32,36,38,50,52,88,107,132,135,136,138,141,144,153,157,169,170,193,199,200,203,],[51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,]),'do_group':([100,109,118,164,183,],[142,147,151,185,198,]),'bang_word':([0,15,21,32,36,38,50,88,107,132,135,136,138,141,153,169,170,193,199,200,203,],[52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,52,]),'token':([1,13,16,55,72,112,148,152,161,162,175,177,192,],[58,66,79,114,127,79,127,165,179,184,179,179,201,]),'empty':([58,65,94,95,102,107,133,137,150,166,193,200,204,207,208,210,212,214,],[117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,]),'newline_sequence':([0,],[31,]),'for_clause':([0,15,21,32,36,38,50,52,88,107,132,135,136,138,141,144,153,157,169,170,193,199,200,203,],[34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,]),'case_clause':([0,15,21,32,36,38,50,52,88,107,132,135,136,138,141,144,153,157,169,170,193,199,200,203,],[54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,]),'cmd_prefix':([0,15,21,32,36,38,50,52,88,107,132,135,136,138,141,144,153,169,170,193,199,200,203,],[55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,]),'function_body':([157,],[167,]),} - -_lr_goto = { } -for _k, _v in _lr_goto_items.items(): - for _x,_y in zip(_v[0],_v[1]): - if not _x in _lr_goto: _lr_goto[_x] = { } - _lr_goto[_x][_k] = _y -del _lr_goto_items -_lr_productions = [ - ("S' -> multiple_commands","S'",1,None,None,None), - ('multiple_commands -> newline_sequence','multiple_commands',1,'p_multiple_commands','/home/lxw2010/M7350v2/apps_proc/oe-core/bitbake/lib/bb/pysh/pyshyacc.py',128), - ('multiple_commands -> complete_command','multiple_commands',1,'p_multiple_commands','/home/lxw2010/M7350v2/apps_proc/oe-core/bitbake/lib/bb/pysh/pyshyacc.py',129), - ('multiple_commands -> multiple_commands complete_command','multiple_commands',2,'p_multiple_commands','/home/lxw2010/M7350v2/apps_proc/oe-core/bitbake/lib/bb/pysh/pyshyacc.py',130), - ('complete_command -> list separator','complete_command',2,'p_complete_command','/home/lxw2010/M7350v2/apps_proc/oe-core/bitbake/lib/bb/pysh/pyshyacc.py',140), - ('complete_command -> list','complete_command',1,'p_complete_command','/home/lxw2010/M7350v2/apps_proc/oe-core/bitbake/lib/bb/pysh/pyshyacc.py',141), - ('list -> list separator_op and_or','list',3,'p_list','/home/lxw2010/M7350v2/apps_proc/oe-core/bitbake/lib/bb/pysh/pyshyacc.py',148), - ('list -> and_or','list',1,'p_list','/home/lxw2010/M7350v2/apps_proc/oe-core/bitbake/lib/bb/pysh/pyshyacc.py',149), - ('and_or -> pipeline','and_or',1,'p_and_or','/home/lxw2010/M7350v2/apps_proc/oe-core/bitbake/lib/bb/pysh/pyshyacc.py',158), - ('and_or -> and_or AND_IF linebreak pipeline','and_or',4,'p_and_or','/home/lxw2010/M7350v2/apps_proc/oe-core/bitbake/lib/bb/pysh/pyshyacc.py',159), - ('and_or -> and_or OR_IF linebreak pipeline','and_or',4,'p_and_or','/home/lxw2010/M7350v2/apps_proc/oe-core/bitbake/lib/bb/pysh/pyshyacc.py',160), - ('maybe_bang_word -> Bang','maybe_bang_word',1,'p_maybe_bang_word','/home/lxw2010/M7350v2/apps_proc/oe-core/bitbake/lib/bb/pysh/pyshyacc.py',167), - ('pipeline -> pipe_sequence','pipeline',1,'p_pipeline','/home/lxw2010/M7350v2/apps_proc/oe-core/bitbake/lib/bb/pysh/pyshyacc.py',171), - ('pipeline -> bang_word pipe_sequence','pipeline',2,'p_pipeline','/home/lxw2010/M7350v2/apps_proc/oe-core/bitbake/lib/bb/pysh/pyshyacc.py',172), - ('pipe_sequence -> command','pipe_sequence',1,'p_pipe_sequence','/home/lxw2010/M7350v2/apps_proc/oe-core/bitbake/lib/bb/pysh/pyshyacc.py',179), - ('pipe_sequence -> pipe_sequence PIPE linebreak command','pipe_sequence',4,'p_pipe_sequence','/home/lxw2010/M7350v2/apps_proc/oe-core/bitbake/lib/bb/pysh/pyshyacc.py',180), - ('command -> simple_command','command',1,'p_command','/home/lxw2010/M7350v2/apps_proc/oe-core/bitbake/lib/bb/pysh/pyshyacc.py',187), - ('command -> compound_command','command',1,'p_command','/home/lxw2010/M7350v2/apps_proc/oe-core/bitbake/lib/bb/pysh/pyshyacc.py',188), - ('command -> compound_command redirect_list','command',2,'p_command','/home/lxw2010/M7350v2/apps_proc/oe-core/bitbake/lib/bb/pysh/pyshyacc.py',189), - ('command -> function_definition','command',1,'p_command','/home/lxw2010/M7350v2/apps_proc/oe-core/bitbake/lib/bb/pysh/pyshyacc.py',190), - ('compound_command -> brace_group','compound_command',1,'p_compound_command','/home/lxw2010/M7350v2/apps_proc/oe-core/bitbake/lib/bb/pysh/pyshyacc.py',209), - ('compound_command -> subshell','compound_command',1,'p_compound_command','/home/lxw2010/M7350v2/apps_proc/oe-core/bitbake/lib/bb/pysh/pyshyacc.py',210), - ('compound_command -> for_clause','compound_command',1,'p_compound_command','/home/lxw2010/M7350v2/apps_proc/oe-core/bitbake/lib/bb/pysh/pyshyacc.py',211), - ('compound_command -> case_clause','compound_command',1,'p_compound_command','/home/lxw2010/M7350v2/apps_proc/oe-core/bitbake/lib/bb/pysh/pyshyacc.py',212), - ('compound_command -> if_clause','compound_command',1,'p_compound_command','/home/lxw2010/M7350v2/apps_proc/oe-core/bitbake/lib/bb/pysh/pyshyacc.py',213), - ('compound_command -> while_clause','compound_command',1,'p_compound_command','/home/lxw2010/M7350v2/apps_proc/oe-core/bitbake/lib/bb/pysh/pyshyacc.py',214), - ('compound_command -> until_clause','compound_command',1,'p_compound_command','/home/lxw2010/M7350v2/apps_proc/oe-core/bitbake/lib/bb/pysh/pyshyacc.py',215), - ('subshell -> LPARENS compound_list RPARENS','subshell',3,'p_subshell','/home/lxw2010/M7350v2/apps_proc/oe-core/bitbake/lib/bb/pysh/pyshyacc.py',219), - ('compound_list -> term','compound_list',1,'p_compound_list','/home/lxw2010/M7350v2/apps_proc/oe-core/bitbake/lib/bb/pysh/pyshyacc.py',223), - ('compound_list -> newline_list term','compound_list',2,'p_compound_list','/home/lxw2010/M7350v2/apps_proc/oe-core/bitbake/lib/bb/pysh/pyshyacc.py',224), - ('compound_list -> term separator','compound_list',2,'p_compound_list','/home/lxw2010/M7350v2/apps_proc/oe-core/bitbake/lib/bb/pysh/pyshyacc.py',225), - ('compound_list -> newline_list term separator','compound_list',3,'p_compound_list','/home/lxw2010/M7350v2/apps_proc/oe-core/bitbake/lib/bb/pysh/pyshyacc.py',226), - ('term -> term separator and_or','term',3,'p_term','/home/lxw2010/M7350v2/apps_proc/oe-core/bitbake/lib/bb/pysh/pyshyacc.py',238), - ('term -> and_or','term',1,'p_term','/home/lxw2010/M7350v2/apps_proc/oe-core/bitbake/lib/bb/pysh/pyshyacc.py',239), - ('maybe_for_word -> For','maybe_for_word',1,'p_maybe_for_word','/home/lxw2010/M7350v2/apps_proc/oe-core/bitbake/lib/bb/pysh/pyshyacc.py',249), - ('for_clause -> for_word name linebreak do_group','for_clause',4,'p_for_clause','/home/lxw2010/M7350v2/apps_proc/oe-core/bitbake/lib/bb/pysh/pyshyacc.py',254), - ('for_clause -> for_word name linebreak in sequential_sep do_group','for_clause',6,'p_for_clause','/home/lxw2010/M7350v2/apps_proc/oe-core/bitbake/lib/bb/pysh/pyshyacc.py',255), - ('for_clause -> for_word name linebreak in wordlist sequential_sep do_group','for_clause',7,'p_for_clause','/home/lxw2010/M7350v2/apps_proc/oe-core/bitbake/lib/bb/pysh/pyshyacc.py',256), - ('name -> token','name',1,'p_name','/home/lxw2010/M7350v2/apps_proc/oe-core/bitbake/lib/bb/pysh/pyshyacc.py',273), - ('in -> In','in',1,'p_in','/home/lxw2010/M7350v2/apps_proc/oe-core/bitbake/lib/bb/pysh/pyshyacc.py',277), - ('wordlist -> wordlist token','wordlist',2,'p_wordlist','/home/lxw2010/M7350v2/apps_proc/oe-core/bitbake/lib/bb/pysh/pyshyacc.py',281), - ('wordlist -> token','wordlist',1,'p_wordlist','/home/lxw2010/M7350v2/apps_proc/oe-core/bitbake/lib/bb/pysh/pyshyacc.py',282), - ('case_clause -> Case token linebreak in linebreak case_list Esac','case_clause',7,'p_case_clause','/home/lxw2010/M7350v2/apps_proc/oe-core/bitbake/lib/bb/pysh/pyshyacc.py',289), - ('case_clause -> Case token linebreak in linebreak case_list_ns Esac','case_clause',7,'p_case_clause','/home/lxw2010/M7350v2/apps_proc/oe-core/bitbake/lib/bb/pysh/pyshyacc.py',290), - ('case_clause -> Case token linebreak in linebreak Esac','case_clause',6,'p_case_clause','/home/lxw2010/M7350v2/apps_proc/oe-core/bitbake/lib/bb/pysh/pyshyacc.py',291), - ('case_list_ns -> case_list case_item_ns','case_list_ns',2,'p_case_list_ns','/home/lxw2010/M7350v2/apps_proc/oe-core/bitbake/lib/bb/pysh/pyshyacc.py',300), - ('case_list_ns -> case_item_ns','case_list_ns',1,'p_case_list_ns','/home/lxw2010/M7350v2/apps_proc/oe-core/bitbake/lib/bb/pysh/pyshyacc.py',301), - ('case_list -> case_list case_item','case_list',2,'p_case_list','/home/lxw2010/M7350v2/apps_proc/oe-core/bitbake/lib/bb/pysh/pyshyacc.py',305), - ('case_list -> case_item','case_list',1,'p_case_list','/home/lxw2010/M7350v2/apps_proc/oe-core/bitbake/lib/bb/pysh/pyshyacc.py',306), - ('case_item_ns -> pattern RPARENS linebreak','case_item_ns',3,'p_case_item_ns','/home/lxw2010/M7350v2/apps_proc/oe-core/bitbake/lib/bb/pysh/pyshyacc.py',313), - ('case_item_ns -> pattern RPARENS compound_list linebreak','case_item_ns',4,'p_case_item_ns','/home/lxw2010/M7350v2/apps_proc/oe-core/bitbake/lib/bb/pysh/pyshyacc.py',314), - ('case_item_ns -> LPARENS pattern RPARENS linebreak','case_item_ns',4,'p_case_item_ns','/home/lxw2010/M7350v2/apps_proc/oe-core/bitbake/lib/bb/pysh/pyshyacc.py',315), - ('case_item_ns -> LPARENS pattern RPARENS compound_list linebreak','case_item_ns',5,'p_case_item_ns','/home/lxw2010/M7350v2/apps_proc/oe-core/bitbake/lib/bb/pysh/pyshyacc.py',316), - ('case_item -> pattern RPARENS linebreak DSEMI linebreak','case_item',5,'p_case_item','/home/lxw2010/M7350v2/apps_proc/oe-core/bitbake/lib/bb/pysh/pyshyacc.py',320), - ('case_item -> pattern RPARENS compound_list DSEMI linebreak','case_item',5,'p_case_item','/home/lxw2010/M7350v2/apps_proc/oe-core/bitbake/lib/bb/pysh/pyshyacc.py',321), - ('case_item -> LPARENS pattern RPARENS linebreak DSEMI linebreak','case_item',6,'p_case_item','/home/lxw2010/M7350v2/apps_proc/oe-core/bitbake/lib/bb/pysh/pyshyacc.py',322), - ('case_item -> LPARENS pattern RPARENS compound_list DSEMI linebreak','case_item',6,'p_case_item','/home/lxw2010/M7350v2/apps_proc/oe-core/bitbake/lib/bb/pysh/pyshyacc.py',323), - ('pattern -> token','pattern',1,'p_pattern','/home/lxw2010/M7350v2/apps_proc/oe-core/bitbake/lib/bb/pysh/pyshyacc.py',337), - ('pattern -> pattern PIPE token','pattern',3,'p_pattern','/home/lxw2010/M7350v2/apps_proc/oe-core/bitbake/lib/bb/pysh/pyshyacc.py',338), - ('maybe_if_word -> If','maybe_if_word',1,'p_maybe_if_word','/home/lxw2010/M7350v2/apps_proc/oe-core/bitbake/lib/bb/pysh/pyshyacc.py',345), - ('maybe_then_word -> Then','maybe_then_word',1,'p_maybe_then_word','/home/lxw2010/M7350v2/apps_proc/oe-core/bitbake/lib/bb/pysh/pyshyacc.py',350), - ('if_clause -> if_word compound_list then_word compound_list else_part Fi','if_clause',6,'p_if_clause','/home/lxw2010/M7350v2/apps_proc/oe-core/bitbake/lib/bb/pysh/pyshyacc.py',355), - ('if_clause -> if_word compound_list then_word compound_list Fi','if_clause',5,'p_if_clause','/home/lxw2010/M7350v2/apps_proc/oe-core/bitbake/lib/bb/pysh/pyshyacc.py',356), - ('else_part -> Elif compound_list then_word compound_list else_part','else_part',5,'p_else_part','/home/lxw2010/M7350v2/apps_proc/oe-core/bitbake/lib/bb/pysh/pyshyacc.py',363), - ('else_part -> Elif compound_list then_word compound_list','else_part',4,'p_else_part','/home/lxw2010/M7350v2/apps_proc/oe-core/bitbake/lib/bb/pysh/pyshyacc.py',364), - ('else_part -> Else compound_list','else_part',2,'p_else_part','/home/lxw2010/M7350v2/apps_proc/oe-core/bitbake/lib/bb/pysh/pyshyacc.py',365), - ('while_clause -> While compound_list do_group','while_clause',3,'p_while_clause','/home/lxw2010/M7350v2/apps_proc/oe-core/bitbake/lib/bb/pysh/pyshyacc.py',375), - ('maybe_until_word -> Until','maybe_until_word',1,'p_maybe_until_word','/home/lxw2010/M7350v2/apps_proc/oe-core/bitbake/lib/bb/pysh/pyshyacc.py',379), - ('until_clause -> until_word compound_list do_group','until_clause',3,'p_until_clause','/home/lxw2010/M7350v2/apps_proc/oe-core/bitbake/lib/bb/pysh/pyshyacc.py',384), - ('function_definition -> fname LPARENS RPARENS linebreak function_body','function_definition',5,'p_function_definition','/home/lxw2010/M7350v2/apps_proc/oe-core/bitbake/lib/bb/pysh/pyshyacc.py',388), - ('function_body -> compound_command','function_body',1,'p_function_body','/home/lxw2010/M7350v2/apps_proc/oe-core/bitbake/lib/bb/pysh/pyshyacc.py',392), - ('function_body -> compound_command redirect_list','function_body',2,'p_function_body','/home/lxw2010/M7350v2/apps_proc/oe-core/bitbake/lib/bb/pysh/pyshyacc.py',393), - ('fname -> TOKEN','fname',1,'p_fname','/home/lxw2010/M7350v2/apps_proc/oe-core/bitbake/lib/bb/pysh/pyshyacc.py',399), - ('brace_group -> Lbrace compound_list Rbrace','brace_group',3,'p_brace_group','/home/lxw2010/M7350v2/apps_proc/oe-core/bitbake/lib/bb/pysh/pyshyacc.py',403), - ('maybe_done_word -> Done','maybe_done_word',1,'p_maybe_done_word','/home/lxw2010/M7350v2/apps_proc/oe-core/bitbake/lib/bb/pysh/pyshyacc.py',407), - ('maybe_do_word -> Do','maybe_do_word',1,'p_maybe_do_word','/home/lxw2010/M7350v2/apps_proc/oe-core/bitbake/lib/bb/pysh/pyshyacc.py',412), - ('do_group -> do_word compound_list done_word','do_group',3,'p_do_group','/home/lxw2010/M7350v2/apps_proc/oe-core/bitbake/lib/bb/pysh/pyshyacc.py',416), - ('simple_command -> cmd_prefix cmd_word cmd_suffix','simple_command',3,'p_simple_command','/home/lxw2010/M7350v2/apps_proc/oe-core/bitbake/lib/bb/pysh/pyshyacc.py',421), - ('simple_command -> cmd_prefix cmd_word','simple_command',2,'p_simple_command','/home/lxw2010/M7350v2/apps_proc/oe-core/bitbake/lib/bb/pysh/pyshyacc.py',422), - ('simple_command -> cmd_prefix','simple_command',1,'p_simple_command','/home/lxw2010/M7350v2/apps_proc/oe-core/bitbake/lib/bb/pysh/pyshyacc.py',423), - ('simple_command -> cmd_name cmd_suffix','simple_command',2,'p_simple_command','/home/lxw2010/M7350v2/apps_proc/oe-core/bitbake/lib/bb/pysh/pyshyacc.py',424), - ('simple_command -> cmd_name','simple_command',1,'p_simple_command','/home/lxw2010/M7350v2/apps_proc/oe-core/bitbake/lib/bb/pysh/pyshyacc.py',425), - ('cmd_name -> TOKEN','cmd_name',1,'p_cmd_name','/home/lxw2010/M7350v2/apps_proc/oe-core/bitbake/lib/bb/pysh/pyshyacc.py',445), - ('cmd_word -> token','cmd_word',1,'p_cmd_word','/home/lxw2010/M7350v2/apps_proc/oe-core/bitbake/lib/bb/pysh/pyshyacc.py',449), - ('maybe_assignment_word -> ASSIGNMENT_WORD','maybe_assignment_word',1,'p_maybe_assignment_word','/home/lxw2010/M7350v2/apps_proc/oe-core/bitbake/lib/bb/pysh/pyshyacc.py',453), - ('cmd_prefix -> io_redirect','cmd_prefix',1,'p_cmd_prefix','/home/lxw2010/M7350v2/apps_proc/oe-core/bitbake/lib/bb/pysh/pyshyacc.py',458), - ('cmd_prefix -> cmd_prefix io_redirect','cmd_prefix',2,'p_cmd_prefix','/home/lxw2010/M7350v2/apps_proc/oe-core/bitbake/lib/bb/pysh/pyshyacc.py',459), - ('cmd_prefix -> assignment_word','cmd_prefix',1,'p_cmd_prefix','/home/lxw2010/M7350v2/apps_proc/oe-core/bitbake/lib/bb/pysh/pyshyacc.py',460), - ('cmd_prefix -> cmd_prefix assignment_word','cmd_prefix',2,'p_cmd_prefix','/home/lxw2010/M7350v2/apps_proc/oe-core/bitbake/lib/bb/pysh/pyshyacc.py',461), - ('cmd_suffix -> io_redirect','cmd_suffix',1,'p_cmd_suffix','/home/lxw2010/M7350v2/apps_proc/oe-core/bitbake/lib/bb/pysh/pyshyacc.py',475), - ('cmd_suffix -> cmd_suffix io_redirect','cmd_suffix',2,'p_cmd_suffix','/home/lxw2010/M7350v2/apps_proc/oe-core/bitbake/lib/bb/pysh/pyshyacc.py',476), - ('cmd_suffix -> token','cmd_suffix',1,'p_cmd_suffix','/home/lxw2010/M7350v2/apps_proc/oe-core/bitbake/lib/bb/pysh/pyshyacc.py',477), - ('cmd_suffix -> cmd_suffix token','cmd_suffix',2,'p_cmd_suffix','/home/lxw2010/M7350v2/apps_proc/oe-core/bitbake/lib/bb/pysh/pyshyacc.py',478), - ('cmd_suffix -> maybe_for_word','cmd_suffix',1,'p_cmd_suffix','/home/lxw2010/M7350v2/apps_proc/oe-core/bitbake/lib/bb/pysh/pyshyacc.py',479), - ('cmd_suffix -> cmd_suffix maybe_for_word','cmd_suffix',2,'p_cmd_suffix','/home/lxw2010/M7350v2/apps_proc/oe-core/bitbake/lib/bb/pysh/pyshyacc.py',480), - ('cmd_suffix -> maybe_done_word','cmd_suffix',1,'p_cmd_suffix','/home/lxw2010/M7350v2/apps_proc/oe-core/bitbake/lib/bb/pysh/pyshyacc.py',481), - ('cmd_suffix -> cmd_suffix maybe_done_word','cmd_suffix',2,'p_cmd_suffix','/home/lxw2010/M7350v2/apps_proc/oe-core/bitbake/lib/bb/pysh/pyshyacc.py',482), - ('cmd_suffix -> maybe_do_word','cmd_suffix',1,'p_cmd_suffix','/home/lxw2010/M7350v2/apps_proc/oe-core/bitbake/lib/bb/pysh/pyshyacc.py',483), - ('cmd_suffix -> cmd_suffix maybe_do_word','cmd_suffix',2,'p_cmd_suffix','/home/lxw2010/M7350v2/apps_proc/oe-core/bitbake/lib/bb/pysh/pyshyacc.py',484), - ('cmd_suffix -> maybe_until_word','cmd_suffix',1,'p_cmd_suffix','/home/lxw2010/M7350v2/apps_proc/oe-core/bitbake/lib/bb/pysh/pyshyacc.py',485), - ('cmd_suffix -> cmd_suffix maybe_until_word','cmd_suffix',2,'p_cmd_suffix','/home/lxw2010/M7350v2/apps_proc/oe-core/bitbake/lib/bb/pysh/pyshyacc.py',486), - ('cmd_suffix -> maybe_assignment_word','cmd_suffix',1,'p_cmd_suffix','/home/lxw2010/M7350v2/apps_proc/oe-core/bitbake/lib/bb/pysh/pyshyacc.py',487), - ('cmd_suffix -> cmd_suffix maybe_assignment_word','cmd_suffix',2,'p_cmd_suffix','/home/lxw2010/M7350v2/apps_proc/oe-core/bitbake/lib/bb/pysh/pyshyacc.py',488), - ('cmd_suffix -> maybe_if_word','cmd_suffix',1,'p_cmd_suffix','/home/lxw2010/M7350v2/apps_proc/oe-core/bitbake/lib/bb/pysh/pyshyacc.py',489), - ('cmd_suffix -> cmd_suffix maybe_if_word','cmd_suffix',2,'p_cmd_suffix','/home/lxw2010/M7350v2/apps_proc/oe-core/bitbake/lib/bb/pysh/pyshyacc.py',490), - ('cmd_suffix -> maybe_then_word','cmd_suffix',1,'p_cmd_suffix','/home/lxw2010/M7350v2/apps_proc/oe-core/bitbake/lib/bb/pysh/pyshyacc.py',491), - ('cmd_suffix -> cmd_suffix maybe_then_word','cmd_suffix',2,'p_cmd_suffix','/home/lxw2010/M7350v2/apps_proc/oe-core/bitbake/lib/bb/pysh/pyshyacc.py',492), - ('cmd_suffix -> maybe_bang_word','cmd_suffix',1,'p_cmd_suffix','/home/lxw2010/M7350v2/apps_proc/oe-core/bitbake/lib/bb/pysh/pyshyacc.py',493), - ('cmd_suffix -> cmd_suffix maybe_bang_word','cmd_suffix',2,'p_cmd_suffix','/home/lxw2010/M7350v2/apps_proc/oe-core/bitbake/lib/bb/pysh/pyshyacc.py',494), - ('redirect_list -> io_redirect','redirect_list',1,'p_redirect_list','/home/lxw2010/M7350v2/apps_proc/oe-core/bitbake/lib/bb/pysh/pyshyacc.py',512), - ('redirect_list -> redirect_list io_redirect','redirect_list',2,'p_redirect_list','/home/lxw2010/M7350v2/apps_proc/oe-core/bitbake/lib/bb/pysh/pyshyacc.py',513), - ('io_redirect -> io_file','io_redirect',1,'p_io_redirect','/home/lxw2010/M7350v2/apps_proc/oe-core/bitbake/lib/bb/pysh/pyshyacc.py',520), - ('io_redirect -> IO_NUMBER io_file','io_redirect',2,'p_io_redirect','/home/lxw2010/M7350v2/apps_proc/oe-core/bitbake/lib/bb/pysh/pyshyacc.py',521), - ('io_redirect -> io_here','io_redirect',1,'p_io_redirect','/home/lxw2010/M7350v2/apps_proc/oe-core/bitbake/lib/bb/pysh/pyshyacc.py',522), - ('io_redirect -> IO_NUMBER io_here','io_redirect',2,'p_io_redirect','/home/lxw2010/M7350v2/apps_proc/oe-core/bitbake/lib/bb/pysh/pyshyacc.py',523), - ('io_file -> LESS filename','io_file',2,'p_io_file','/home/lxw2010/M7350v2/apps_proc/oe-core/bitbake/lib/bb/pysh/pyshyacc.py',530), - ('io_file -> LESSAND filename','io_file',2,'p_io_file','/home/lxw2010/M7350v2/apps_proc/oe-core/bitbake/lib/bb/pysh/pyshyacc.py',531), - ('io_file -> GREATER filename','io_file',2,'p_io_file','/home/lxw2010/M7350v2/apps_proc/oe-core/bitbake/lib/bb/pysh/pyshyacc.py',532), - ('io_file -> GREATAND filename','io_file',2,'p_io_file','/home/lxw2010/M7350v2/apps_proc/oe-core/bitbake/lib/bb/pysh/pyshyacc.py',533), - ('io_file -> DGREAT filename','io_file',2,'p_io_file','/home/lxw2010/M7350v2/apps_proc/oe-core/bitbake/lib/bb/pysh/pyshyacc.py',534), - ('io_file -> LESSGREAT filename','io_file',2,'p_io_file','/home/lxw2010/M7350v2/apps_proc/oe-core/bitbake/lib/bb/pysh/pyshyacc.py',535), - ('io_file -> CLOBBER filename','io_file',2,'p_io_file','/home/lxw2010/M7350v2/apps_proc/oe-core/bitbake/lib/bb/pysh/pyshyacc.py',536), - ('filename -> TOKEN','filename',1,'p_filename','/home/lxw2010/M7350v2/apps_proc/oe-core/bitbake/lib/bb/pysh/pyshyacc.py',542), - ('io_here -> DLESS here_end','io_here',2,'p_io_here','/home/lxw2010/M7350v2/apps_proc/oe-core/bitbake/lib/bb/pysh/pyshyacc.py',547), - ('io_here -> DLESSDASH here_end','io_here',2,'p_io_here','/home/lxw2010/M7350v2/apps_proc/oe-core/bitbake/lib/bb/pysh/pyshyacc.py',548), - ('here_end -> HERENAME TOKEN','here_end',2,'p_here_end','/home/lxw2010/M7350v2/apps_proc/oe-core/bitbake/lib/bb/pysh/pyshyacc.py',552), - ('newline_sequence -> newline_list','newline_sequence',1,'p_newline_sequence','/home/lxw2010/M7350v2/apps_proc/oe-core/bitbake/lib/bb/pysh/pyshyacc.py',556), - ('newline_list -> NEWLINE','newline_list',1,'p_newline_list','/home/lxw2010/M7350v2/apps_proc/oe-core/bitbake/lib/bb/pysh/pyshyacc.py',562), - ('newline_list -> newline_list NEWLINE','newline_list',2,'p_newline_list','/home/lxw2010/M7350v2/apps_proc/oe-core/bitbake/lib/bb/pysh/pyshyacc.py',563), - ('linebreak -> newline_list','linebreak',1,'p_linebreak','/home/lxw2010/M7350v2/apps_proc/oe-core/bitbake/lib/bb/pysh/pyshyacc.py',567), - ('linebreak -> empty','linebreak',1,'p_linebreak','/home/lxw2010/M7350v2/apps_proc/oe-core/bitbake/lib/bb/pysh/pyshyacc.py',568), - ('separator_op -> COMMA','separator_op',1,'p_separator_op','/home/lxw2010/M7350v2/apps_proc/oe-core/bitbake/lib/bb/pysh/pyshyacc.py',572), - ('separator_op -> AMP','separator_op',1,'p_separator_op','/home/lxw2010/M7350v2/apps_proc/oe-core/bitbake/lib/bb/pysh/pyshyacc.py',573), - ('separator -> separator_op linebreak','separator',2,'p_separator','/home/lxw2010/M7350v2/apps_proc/oe-core/bitbake/lib/bb/pysh/pyshyacc.py',577), - ('separator -> newline_list','separator',1,'p_separator','/home/lxw2010/M7350v2/apps_proc/oe-core/bitbake/lib/bb/pysh/pyshyacc.py',578), - ('sequential_sep -> COMMA linebreak','sequential_sep',2,'p_sequential_sep','/home/lxw2010/M7350v2/apps_proc/oe-core/bitbake/lib/bb/pysh/pyshyacc.py',587), - ('sequential_sep -> newline_list','sequential_sep',1,'p_sequential_sep','/home/lxw2010/M7350v2/apps_proc/oe-core/bitbake/lib/bb/pysh/pyshyacc.py',588), - ('for_word -> maybe_for_word','for_word',1,'p_for_word','/home/lxw2010/M7350v2/apps_proc/oe-core/bitbake/lib/bb/pysh/pyshyacc.py',595), - ('if_word -> maybe_if_word','if_word',1,'p_if_word','/home/lxw2010/M7350v2/apps_proc/oe-core/bitbake/lib/bb/pysh/pyshyacc.py',599), - ('then_word -> maybe_then_word','then_word',1,'p_then_word','/home/lxw2010/M7350v2/apps_proc/oe-core/bitbake/lib/bb/pysh/pyshyacc.py',603), - ('done_word -> maybe_done_word','done_word',1,'p_done_word','/home/lxw2010/M7350v2/apps_proc/oe-core/bitbake/lib/bb/pysh/pyshyacc.py',607), - ('do_word -> maybe_do_word','do_word',1,'p_do_word','/home/lxw2010/M7350v2/apps_proc/oe-core/bitbake/lib/bb/pysh/pyshyacc.py',611), - ('until_word -> maybe_until_word','until_word',1,'p_until_word','/home/lxw2010/M7350v2/apps_proc/oe-core/bitbake/lib/bb/pysh/pyshyacc.py',615), - ('assignment_word -> maybe_assignment_word','assignment_word',1,'p_assignment_word','/home/lxw2010/M7350v2/apps_proc/oe-core/bitbake/lib/bb/pysh/pyshyacc.py',619), - ('bang_word -> maybe_bang_word','bang_word',1,'p_bang_word','/home/lxw2010/M7350v2/apps_proc/oe-core/bitbake/lib/bb/pysh/pyshyacc.py',623), - ('token -> TOKEN','token',1,'p_token','/home/lxw2010/M7350v2/apps_proc/oe-core/bitbake/lib/bb/pysh/pyshyacc.py',627), - ('token -> Fi','token',1,'p_token','/home/lxw2010/M7350v2/apps_proc/oe-core/bitbake/lib/bb/pysh/pyshyacc.py',628), - ('empty -> ','empty',0,'p_empty','/home/lxw2010/M7350v2/apps_proc/oe-core/bitbake/lib/bb/pysh/pyshyacc.py',632), -] diff --git a/oe-core/bitbake/lib/bb/pysh/pyshtables.pyc b/oe-core/bitbake/lib/bb/pysh/pyshtables.pyc deleted file mode 100644 index c5544f8c0a2e514a8d0a5e07869059ade445128a..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 51193 zcmeHQ2b>f|_O6~)6ahsP5Jg=;1r-JL%osoxMM(mRVptbySX!3db!SNCoO90U&UES_ z=A3gx#eBxgW#tu`S9jN|diAQhr{bSoR#WGysL6rSDK$Bz!v0EED7}o*%PQSL>E)DOUg?fXub^}% zr8_I#Md=llUPFomdR3*nE8Roso=UH#bT6e>S9%Sldn>)B(rYQbw$hbK z_ffj9(*2ZPN9lEyUQcP9Zh+G3E4_iz8!A0e>5Y`$Sm{AZ4_0~;r8iZ2Go^o{^yW%$ zq4btYZ>99sN^hg|wn`6CdOM}JS9%AfcT{?)(!-SAN$KHAS1CP0>7A9{Md^`B@2d1} zN{>={w9;dg9;@^?rFU0)ywVeto~ZO5O7E%kB&GLKdT*sCE4`1>`zpPk()%l2t@Hs( z*C;(j>8VOkN@tYLDm_c-*-Fn* zdaly*ls;JLLzF&L>BE#hTEo0>Ug;B*K2hnDls;MMQC==xUFkEFK2zzlls;S4LRd-ZbCf<;>GPC6U+D{!zEJ6lgvX(aMYu%iOO?J%>C2VA zLg_1&zDnta-GuGD}95~zgPN3rEgODW~Kk2^n6jcMR0-Aw<>*` z(zh#phthW{eV5XAD}9gB_bPp#()TO8F%_ zTIpw$epcz{lzv|67nFWclwVSMq0%qQ_KMQ4im*uO*OY!;={H2@O{L#b`fZWlQTmTc zzpM0nO24o42TFga^hZknN$Ec;{THSGs`THK{=3ruQ2Jv@g3Lb=0e1;9@KdEf6XA2E zzYyU|rN2`8Ymxsc_>I#465-!U|3~R>MMm21l>V>M|5N&VrGHTRN2Py~Ln_cgpi=?! zmkp0>S_+01Y*E74mI>PJtt@+MY>BZgwxykcW-%yiY2eKUV}sxu8+LtT!>%(nlcX7A zg93~VxIl~zLYc+}&GL;6%GjDWHYhk_gWOVMLlR?b5X@#Q4YIK`2+qI7wF}KTG(9202>6_-wGw|uSxi2hH*=56Ul<>gJ&1EDv%^Ee}bI z}7qGXokkgHWcKL9=`_gEF>-VhJ#YR|!>-v9W(E=+9MGAW)r>m0F6`jEfm&yA zGrM}@v+mxQY^@@ru>oZa!nRo45!i}weuHQbHb#bDyUW;XVk<^nU4z)bt4W4gbK;|` zm4j%2<$S)9sX4_b=2|&r3Os?XsKsQ z>i24a?iEBmiK*O+WSoRSlB?6Jx3EsH5pa;y+g59gicpVHgTKa@UaId}fnGaagV9kW z>aOV`U>L6MLaq!rO6wEozJcz?+e>F`o%TvxC*cCrHdl$)4fJ|J6e#eka{nNT6}Z|w zAkgavdV_%Bf(?UM#9&~+put8#6gSAL-+Ue$2hsBw#7CkB2YQo0ZyM;$g4z?>Yrn(< z{M!E;u?jTd2^+x8Hvs`>2DtO5BX|`sCa^`23k$#uwv-lqD;pdDv$Yrogl!~$2-{j= zhzQ#Sdiy}{5a=EGTxd2!+g+?lZ4|R>{JCNX!-}|A;LQdX3xe-rVb^!DutaF2bw`j}>S7@YOacKrb1tB9u^_-WzYrcB z)K}6+frNbmzmaI2i6LOuY|cJSs177tETHSAtY+k5?Nrjt+Cv3X%Lo-T{Je4TK1Jf< z;IYBXfWDa}0tPth%*-Td#>}7qGXokkyRGbi0g^mYc3d3FFO>=yK*yOGyG zW^RSTI0-hKE-Msv4{9^w+UOa&%3_^QOUBGwmlB+n z>w@$I-dpxU6HPC)Y~FI6&PCShAQs$Xu~zA95MQFRM^Ipu&Yppu6trrgjvpx=RcN`+ z#MZ6VNkonDyc_ez{fNKKwQ*$E?d%nBxsD%&+dI&c1HDh6_qE};L>GkqXTNwX&bnl7 z^$w%V-2=Z1sztA|a-msH7|$+pDAD1-dAnM8*Uun1wqlN)If{N}K|CG}{?5ELJRtWE zV#|11)YYKCaP5$Z>2M%mGX@4>k*v;oL&*Hz25H|bVz`Lhz$U-nXU%H=hD?A z`Wf)>{eX$^9T=RnS_*7jK`_`{pMwtP056D#L)IsZ&TAf!No5fal!jVU(p_wy44tx+ zO@>Y>5~%}kHrOfz-ypH;N9wTa%+e$&W|s3ME0`tJ7Kmj+xV^kc9W=`yYnfs!v`&$+ z#+St!-O@VfID>@TqCpp|5lN6CtkIkcXbcj9F-Qo`CLzNbfyV2D%Lm)TuGxIsLr(}2 zBQc;eJgXT+>ZblG+__(NGE@h-)uwI+=|pdxsq3cFK{9x-bh>cPfBQw8w`0AKSE9cD z7>gWWVQ&;Xm{zQsc9R9w#U||g*|pOHme_3luCh|v4KOCfXIJ(wV=Z)@oyVMK*E#3U zzLy+1R2LaJTrR7Z69KDncCGSFcA+xbQPYUtRy+>tN2|*BYK$l2>KRV`HkP~FHuC*4 z79OKr{7gKPukBR2Y4g7IJdN5Q>HULoZ63V;YH=#2mvkz+$f$Xx_IOgSA+9id^h$zH5YPq{(bGq@@m96g&cZ31#EC3fW8ZXxRdee z5kA5p=RX+zX8Z>zlvD2$u_L4^-+6$tF#z=M*qj->W*6l{!FdjlTk1I=39^NSKrox} z93UrLc`$GrfWF%R6Edj^Hp4jNOvtEpS9n15&cl-JF$T@O?0YS16D6Z}D~brot4EY)CRkm{;( zu}ZvWc{OuZcP@=<-Qg+0hdJMyMXs<@VEOePEj?V9lC^(+d5wL-T`AvFe=)DI zf6aO+@G+d1;(Yga%L_RA&HtBnxzU=^{3l!yzsdi>M)6&H-zb%J_TqW)tBRx3qy3HB zU+9fnbkPNUdhm#lz^8|hFbqE|h@;LtAY&`$5y41s6deU{K|El8XI`|vHKv06Un;e- z2s*7X8zeW*Jp>~Ijeifp`1cSJMg_*$6$Er6#+!nSt)PK{w>Cx{*`k$2b4nUpdklWc zQWk@sTg1}9n+?VW!8bPS`o@M`XKW@(GsXr57#q+S8-!wxS;E+$S-x)uWo!$Zjln~~ z85`txTKIZ9k{DxyU^ZiEkd385aFzxcqZgpxgJIWf2{QwU7(CFKnbnM9@blWuY*IXI zy6@tCNTM+>LN&YiS0tP-*U})>8F+iFh?#*m8_W!XZ)Vu_%?!KF%uJGI%nS-JGoUdu z2xXcXG|M+LC}V5h%%I@R4021&3`vZcK`@&!GswowAUHFF3^N1zW`ryEAyK1}Z_=|q5rFW4vh2V|r2*EcqgoAxE!%=5ukg+vmW;hBn0~#~C zt$3K>{#Gm~ME)gRN9Z^+TZ|DGk{dIFU}T`NGziAhAUI1i<1sMC(jYk35i+)fv6*=~ z@XpwbT5r23{g8HJ+p8_UjMVtEbZDpJ8&*X+H1OEan*n_@!>(^;*mY(G8Cx@EhNCbu zpfNKDW%g#!EWbB{GPZ@yI*m|pW(K*Xy%~}iGlO6@V`GqwjX`iW1{u8>(C^K#Yqo@e zfkbZxbOvTMYt6?Z4uyd&hyKofZmjbXi+AtYxhn2G)K`Y@)o*emL?kU@hVtHaysh8TZ0P#p~0iqwoJ4%)w9vwvA4s)SAgaOa@;&@x<^)^>|JxsAmkLq5s zOF>OatR2L;%CGLL#pBmV`>I`}^oDdMVBV718wh?y$L{;3rs10jWFtAMwI9Dm*Kth1 zug>9${v#j!`p)~*7kC8sjt!y@e%bn6J4fPs#}%vA-Rwe-9%W1{F1h6%sLhGEbE59H zXvN1|JD+$67EYG;?FCma5qR+HrCVs^R(yd+4yBe$>Z z>JP|%3;Jyl=fqX4DN?bHFX@n=f$h>h04U?F)W)C1C&3{5gd#o(c(cJRf#AC(*!A5K z>^ir^Bq`QH&zG#wPD9N!)ey>bOQ2bPJ8g=wuvxbRI?gSD?6=k>n`)R1lA!6ust|K7 zpm9qe7`Ft%mv$-!GTLvTZ&cVdo8NMy*#-%>1Zb@*Qad4t2H7XJx8FzFFO&M-MgA0F z$@Y8HFWP?N>}}Y7BRAK6L-wm$neF#UCEM@z#(QcRjdw$#H+W_j50W0yx=-!)FA}{0 zZ=yF4{Pz2bc=QHGUHc6g+jYf1wTq)@zk#OxzHP}wZ;-z+3^cLWjC%uNk@u-x=(zTK zF`_p}jttR$LohP%Q&|QJ!8G9zToZ1hH(-oiL4XTxJa5R@60Nw2-hg+lxKZnGqc#Cq*eu*zi==K*8TM?)>Ua}vk z#<~yZC@1>vcq57*8Hrv*Jfqz+P6WL7UFz5BoLR&(25&Za#t?kZ7`wh_j9up$nls= z@Eh*~lGrs{!n#1hGX~mDAW}Qih7r#)W`@P6%izZ<@Jm7RYZmyBHbn=x<5pUY=pAbe?O36Q^gT?sM{IXlNLHus{E$;uhLIr_bP&iMfEJwB5O?0+l! zu98UzM5)}io%g!Z&EhDY-R>yX*)Imn@#c>Y^#;@Dl50m3}#7;WN?-;jp4=k zNX7(P7v&9OkYS5ze>2M&kQMqd-%A8jo|lN5$yZX(MFm}1Y{Go=%dDS4>wX?qo`|z_ zL{N+V3WLQvq^92~h_xTMS~R!s%6nDoQis`{U((}jpZHh`Cq6c^9hToop?d<44Sf^P z_c#+1A2{mzCX=KYj}r>$m4FLc_{I~Gly8VoF4-kP$8|}NTV#|7cp(W|{!c_OGSKu& z5I&b)34-gDAj4RJrZa-zEEO^~*A1Zq`oV_Az&pRwsBL5?J}wBhm|USk{LtqzYVLt5 zU7-$KRvn|%@cs5x`{E}*JE+Oaskx(7dU=(G6I!8q@z0E)*D)#R{6=&-s>v&;bVrq5 zM$PD;Iya5TB0uba8d47l2W6*Mx`P^WP-S+~LEmR4?Sr!p#i#o4&V3O5?&di8a^DR3 zbxi!M1zwInReYuVPvCWvwgv0uX3DQ=&X(Cc^bJQ~@+Z(((uQAXSyg_u0>4)=*!!`H zZqmYBXj&LFNu6c=%WAUXcTJf&T3>!U6n^O*vYPck`~F~~{7@&(bg+E&17|WGAc}aV z{iV&`;=03o-@*!z-L}7#n?LIGtx(%r3VqR%D>Mch*tV2WhmjptTeA71PTvYqp)W?E z5o$eJ@wfGM<>6ShD$}PTvaA)m-Wdy`p>?2hZD8nt?Ky zL8ZyBF^3kaE2wiYq=MUCMfifs%c}7ud^2)X?H3sf&u|=i6YVit}-)i-gUvFNawOHFzs^Qfr z*0SUV8;foSJjy+s#z z4T^;|-G{TnaBcNbK`mP9Ol$+gE4UV_{R3Xq03xaD%tiU_$9mH5n2r$N{Tn48wKaWV zSG=BVe=Hhjkh;lFn4oJ+JjeV#vafvK7nbj~@gnalKU)pi2#H;z3=#{+u|Y7**&+b_ zR3g{*l?%Im@t#((=BKNChojXP*~$&JaI|m)*fzJ_(C={o_aC>tYfxJuAJjlAd8mTS zr*)%E$1jVcQS9wC__!~{TKi%bg`Tjb+tCG*L>F}v3WrL)xAd*s&@qYn)|*|aaX3+M z=$V4=o!3(t$0kv)@cZGt>p6Xsz8sBCby9; zR8;o)IN(1J++tY34EsQCahI03F84H$87$?{LR~KIeGl0%@tWA?N-V*USeKqSx?)hf ziWGYRP7enY){JYwkEso`J;kj!aE@5|3AXvVtyodlw~wG;f1H2+(LV2jU}Z9};b{k;@$Fz}9+ea?{es@WU7NB{vD%K>!e{YK|YLXw2N5K1!2W5N%^Hbsv z;(+l4*0;~*A$K8o{7dxNV6Mk(RaS6J8wt^~c^H?3DSLbr7?)ok=tf&LA92@O=0hvk zexvbTyU;eN5Lr-jZB^StYSE+eJowuoXv@*>j|ucRtiYj68+#0g6D36lW4f071{#`h zAp8w}o4@O1I2kL-2_DA@jMW>HN8bS_awp6eSv+1vPUI6#)p(sq0LK%ZwW(hnmEJ*C zLC;be8)TpsoTX|z%GsXGznntXQi~Fe4%jcBhF7!1#l_P^XdOQn)e!KP2-5OQto#?ZRSF9s!e|f6cS>nO1(>7c5_?|=IW=dDKr)@5ucjZMbP1q*x zY`~vn z0b;}N6Lk?2eg#=CcA$DcnE`7d)|x=|t8#nk()F~?`l4cY9CxtbO>e&DtS&2HTa8i8 zd97^=x1oF}xz!jI?)AkhTz->*h8Xp$)mzjMzky;MAp^3b>@$87lQNxTQl_&^%5-YY zq)cZsDf7;0oRsP8Ps+%SnUuNXv`Gh@b=stT(3`&%=(qV*ymS|3wrLoQyo2>%B=sLL zT^qnlA^BdMoG#@1LL$auG`j}W`~W{@Co7vil;lmK`H_&w(~$VNDro)*lfqc~r1YOf z^I#$WA|x~oxvu2-SFAUaBK=J?wUB=o5|a>yJV(fX#K|Ki&yNEHA$UcfNb;kE{4~(d z2>F?i^^*K^A#p{9JWe#f2=t?(`K4%%70s`N#MuqGfskJZ`YzG@r)c7H;<(Ij;^YX? z{Fjh8k;^5>L~RD+$>(r7xDVuPmC~gj^-1Uz6#sRfX&>WDg-bW71H_o?P#tDgC_UxrS)=7IMv$zEa4wgj`$5%9OrO>Uj=4SO1~}( z{niuB{z49jlj{q)fsiPt(cDnTfhqlvoM2o^hHvnsX}TY(QUd1*@DEO}lgd0sB$6+$9ULtZK5RdLO$h5T(?^LIjC6W6>}$m`;o*9&<=T=Vxr z-Wb=sNywYyntu>-eq8ewAs56oZx!;kxaRFb-VxWlQ^>pGns*C%Ph9g}A@7T8-Y?_> zam@#Xd?>E@u#k_$H6Io7vAE{rLOzkwm&h}EQl8OMLOv}do{=G+5%SrTzFRb(6V2y^ zd_hQP8uCRUUy5rk6!PV`<|{(Jn$q`6o4iQ!d`-yL{F{(}kCXop^5c}gQ#3yj%}<5= zETtDoo}UZ(g^*vS^z}l1CFIva{!>WYPeXnqLeCentB@-T*{wp~CgdtYt}0~r3QQ!kNIit?DdcJu z`T-$(3AwtEYgFjVgzPQknnJEsp{Fp%5wfq4{e)a6POdBDdKLQBfPudL zqB($M?YU|)LNM!BOc=01g;E*(Q=4tPX?7X>9W`{+_)J#_6Q0;^+zA~nJL&Kd)!T$a zpLhww52eBsf%@U{gpPz22%QKk5>_HGhj3LwcR~+BPr_=1UWC;NYY=)9)+DS=s3i0u z^d8^Y#VeF^&! z_9s*mrV`SGX@pwBbOIkpcpza0p^kv%dMa!nG!hOXG!e3dS%f)+xrBLyg9(Qa4ka8$ zIGk_<;Yh+!gkuQD5{@GrPdI^aBH<*$$%In~rxH#hoK84{a3j>8qZXo=ga1-HX!XF5C5bhz|M|hC%2;nip6ND!TPZ6FbJV*HPr=NZb zn+UTBHxT|#_#5F%!qJ5H2!ACUMYxIZ1)-7fFT!^O{QD`qk?=9$EW#OtZwP-NJV5xC z@EPF~!a;=p5k4h+P51|40pSTk1EHR9JmECL34~J#rx1Q1Tt@gU;UdBvg!2g35iTG+ zPPl?_3E>*TorJ3hClgL5oJlyAa3tY#!a0PQgp&v-5{@GrO!%H~DB&=|KMB_peowfW za0KCS!li_(2^SL1C0t85pKv+hV#4nTR}zjP{Dp8fVHV*o!u^B{;Sj=q2@ew9CH#l* zZ^BoE`v~_E9wlT6w-Xi-{z$lo@EGBB!fS+g0NDyunh_06VK-KuWdWwWteP+(T!qv? z!k*-p2kcTczG}?S(N)=%urqYRgpoUs8C^AIV)dl4K9BPxv$8R>GeM9}#XNd`S3!u#m}KAuJ-i4#=|b!zWaY z9vPlT?tH>kgaw3K3AYpOBs@xZobWQ?HNqQ&HwkYM-WG{xdqqx3c$M%n;U&Tggck|V z6P_bHOL&IxG(hfVRi`Iqhwa|Dk>jd_ z9#&IdD_6VI*wLehh5-~ps)t<&HxeEoyh@nE^FBm)nD7W7o5Fz+VTNheN!M%1bf+4e zik0$bhab3Mvko>v&U%GN{zj6CSf+=cZ9nL_Y&svr1R`a zhc`&M$BwTaIU*c@?(ZhT%ge>>>s>bo97z3RCmWjW>nj z#Z=XW)56X?zzdNqtHw)C6UXjWH72}*hp0Hbp*|gExW`*DvflieCZ(wh>(f)3(ls-( zU2$w?&Ach;>RGH-)pHt}baq8YPHSi~6mNS|T8B;PsoCnfFq6%aF)71oMu!GolgWg& z^)u7;S;O%@;`r3Mnpv52mgSzq3$_G{7S>B0ccO3c$GOoaMC_rY`v}xg7Y3QO(g)4L0}pHJs&PHJvNJ8q9wleVPE#x&9~3)mfX8*8%JbW^?5VhA(6;^uBauKL*rO~yTyT)Csl$$P_7@yTb|O--9s zKQ$XR)K}~Dw6H#;C|8}CH6=4WT~{ZkmwVhD+U8LvYd7so&cqumHdTrZnhz znVv{6p?~E@+gIjUONMqgp?`)=bKXIw$SVx*SYvgbZf0ljgQhpkOb@D?J7?3un+zT_ zddtl=A3S^0K{btynd-)-hN*)Z(i=@}Xi5*75@x5=%z$P%Wzdu=i9d(i}5e7AtpN0W0&;_C?wx$xG&QtaSF6rE}9rNN0nXPNZ$R6kJ8rvb(gI^$V#>_f$xmwI-ASw*1T?a&1{N%w>o(F|ATp&f9@Gc_LF39hVB z@oqN?lWX`TfmA&XBE>O4wWbGbJcqCkvmVx}tl`#G$`G|L^J3fUouIs8O7eb8zMf6a zLNjMvX6_I)yFY*35-&O{rYsZH9a5;Wo@*lL8soCbDR8!flz< zRkf%@ynz)(>@q)Bcj9IsmCVY)3c&DGp4B+Pc=H| z#xskC<1F6DX)<=Qt$B1L+?xqG6^F|GQ_rt+|h7cMC)loaCm0cin%N9RHo23boD7^K3RAL>Q3+i>;S6R?Gj$YiLHSvS zbaiOb&ZHup1m8*G$s}MDS9X13)Uxdq4R+%`pcCG!}JJmSMD=ESg-30{au7f6ICfF|u@bv#*k4YOmM zAkG)bF1(iN^bML*53g%JQ}G3Jk-hMGs?*OaoT<2pH&BO;9n)E7($ojz0$M(Nz}J*} zfLr4`i_|0^K0?g_$kP~VA{ND4keFS`vX0nhJfR*w!Q9v^F#qT=APYZAXngnF@$gxu zStl<|PQyr{OT%+UdtUPJ zkJP5Ac*k)D)7`$ygEDr`C5{RlWo7iCR+u(vgL zB}U8HVfZ1{SX;cD;-yTc_=qVaz)_&QwoUjGmBe9>DS0Qc*_ulGXX@wQETfd`N5a2Q zPrT^n^YxPal}Q*+@=lH`G+8I>%-^WY@oQY!+bf*z?@U+hrdWUKA5<#irda)tsbB07 zI;SN3glc6x!d!|^o6FdR+QQGu%s7|gbEaTjjs>uiR%haJF_loIkdj?qjAqI>;hSH; zG#qkyWOOc>gD_p9cQ9O@DJt_*xG6lg4on+%ES@(fD8d!W$w@RjQIqlDC~KCG(|na~ zrpkEp_RQU=&#IKrN95Ke30Eng6ixEwlvbq@pN5x{D8;hsPA&FRo|c({&E?dCI;@GF zj+?5?sr4*Ss%XYOr?eWC*yq{n=MC}uJj;h`QImZS&dOU!MVbAqSyj{7X;gmZV4rO9qnxm3;Asj}P zKB5u}1KI+6xknyjEL<4w#`Nrf5@AH7_wRlh^TC~ zU!O{S-lkj!n>$U8lgZsiZ>>Ox7eY-ZmFRJEsS^jH(Mf_0XV}YholY(XM@5(E_QM9I z;-E`hE~fAYUB(aNWM_sJ;&c!r;A#j7!H7{X;SiCwkH%}pR^~!$%m8+4a^~u6&6L^c zrVOWw>Bd*rHC1Cl!t@3$QC9A9^+Qc|7G}Cx8_6I9%UNbdj502jA!P>G9KeZG^$b~~ zQ9WB0fE*k)n%%kP&pa_r=2+X1ZHV$?B-&CEi5|o89}7$tv#)xVoL<}rMPI^z#LZhf zZ;QK8m(F13R;Ig$%*4s+(%Um0p24>VREHG*|4IG-_z-i*ems OC35HS`N;6eKl}f$m6ZK6i2q;0FMPjG zDXr8Mq#32Ns*+JxvQa*#uH>S8pSsegf~4;URTpNa;SM zZz$cb-c#ybrQW=fS9(C{hSGzsXjthXUR=3HY1|H#9(MOODUH&m(wkh-h|>7Cr1WN2 zv{~sbO24i2R#$}UZA#x%db=yys`L(}Zz;Xg6`{&5rI(f7?TWT5y+`TKDt)gj!c%*d z{tl(@b45FqzF+ATrT4iaH1vSd?pOMVRlpd4J zDW%6H^KqpoBy(Envyyp1>2s2KQR$Z@^9iLVCG(QfuSjN8=~pFlM(OjC8B_X#WX6@A zlFWqC7bSC6>1oNFQ~HyVd0A;+GLuTrNahu#FG=QArC*cGd8J>M%mt+{OJ+*xHzadW z={F@at@IVid{XI8NybI%eN{4-l>W42UQ@atnb(#6jASk=U6jllO3zB>O{Ghc zxuTZA;zn{mrLKHRU9MhLeZgDm`mkyo>&s*^K~^nXRSTb1K|#F>;r@(bNl^tRGppXs zs&J%FYu>6V6%49{L8Sww=aimjHGNI#G9)>dsXn0Ii0>~beVupW`$0+JpRTC)vg(Rf zdQo5uRFG2(XsxQ=0|4_%*Q6ZH)+K``vTEk&=c$jjBbh$`rZ?XxE-n@u-dwp793L+K z9sW!m&ERIU56N<|RB8?*GkMVubh#0fnohN4QG5o!a3_)gQU~ndpOVgV%AYyP8YMQv zA1}u63-=>g$*2{j3dm$7gUg&`pb`~8Bmh%Kb4Z(fu2ydj;XlGyEiMMlJTA($LUn0z zHfS7W>jG^UROWov_xYsH@}u~fBs_=QiEFjR;6&xt%_mPjaq`54=bn1z^6ZJ(*%S5U@R}sV$MO2IKvO7`tL0{)z~P4j>?f1Q z-zftR;Vl#hZJ{6-EEE=Nda1%o0yb5v20ovPA(Y&m1k)!Pci^s9FUR1-D&)ye=x@ZFr6!ELGDC)K}O zs-v!{KB(RqqA2o-LA5d@5A~^;W=@4a&i-J9fS#Z?RNrp=&_8UEnWMy9IF953#K|jG zy;zZWPt=U2t>PKwapO^a;cX}&2p`Jyh%n#+$`f#HQ5CU zsT`vGHSoCTnaS$g#Y$PDS1)Q24SCJl^`Pn<4yTS1rOnMqM#C^@u$PHOqt+0~@kxg! zYn&}s!a(@75!4$;NeiG)sk$$$NtTXuQnT2Y51J7m&E_*O`U?rvc_@=PKxMaNwr96ywq&;A@Ak}&Y;y$nX3C58N-$Q#+)%|7 zX#a4`XYdR6APJ1hM=Eygd&oGgAD%#kVGn@#@8L zBRnoO+h>X=&*k;#)6^X0o3phBIzRWo=5Ym6VKm95V}3P zd+6jj!a+oXX4F)pReiDH2eeaS3YAH#K~9JsdES&zd#Tyb=dRS zTH}1JR{v=9>7*4w8K)I`6K~I(Brjgvs}4b^zdVp_m&J7 z?`nDt>u}ZbM$|nlDzf|J+!(a*ZLxbF9^;RL5JVqFrUlWC-B&ZI%q+lW zI189n<6ME$vn(|OtVrc5FCi66!s|pGN1i1i&JE2>F?%*_mrWrE*)6 z!RMo&NCtfk4(SP8lY%|gJJ-oUM7jUMCd2=RBzA3v-r`c& z^k(5A_2{tjYI6z4r`KG9GcLrP>p|o{tIaMv;@za9Q=DgXs(Iy5yr^-r9+u?g>bzIh zaIKf;%0a`p+Wero)PNflF4sBu-Xqj_?p$~! zxN>Jr*K@U{sy6MGF(~ZY5O3ls7tc-ftc+V+xG{jCI4z_v*(8bYbce^paRmP?cYCZ? zxej2B&wpSfvoAB0DN*>u1?q`s2`o=bUCpy{0e$nT>7pf|k2;(ZOhQ(iT=Nl#oM3~nq1aG49u z>0WL7vjR^mUAIm5{91L}`)Yle~+2_0H@_){%~Os*sMxWGm^;MU-f`94NFGRG{EuQyQBbLbSbe;`hQv#_8(jsEoHz zfEbIJqeEytdB;>6^k!#bZWdX zc@~^m4Q3lb@%p+CT=ZGL!vig-mlc&I3TIV2SCFUuLrA*L*p%3M!9eh1$Qxonfo$u* z&iA4MRJFx#0;^76bIq_=T%HXIv&HIsfm=*K?-}HqTiS0W)hO& zv2)`gI}3-a-&X!Z{1A59qG^qKazA!$5YA#T(hv2B*eO>B0?j&@E8_|=Bc35lmj5g( zu0E};crjl2kgF*&EapYjRtu+@=n;``-{YV-#7m8(pzAEgDXCtF!1^g%If;KL#<2OLWmk1$32^;FgK5^SCa zx3e%$cW2CmQ8b4PF62V>Fk=ja&AAS$)|#H6lwnSRo|2f2a5L(qM-`Ga;!%aIqmqK; zsKS;}g{e`AOSQwOWPuTlN}5QF%6RZ(4&(~7Nz6>unv*oX4EQD{g+^J|wHJpYmLCI-!mT14^Es9`z@tW+;k=$YR0!rqt)$)HY8G0_Xwj zI&YhqIfC}vgq*8eWtf=5ck9L_To@+aj}W`%6M_u!-$376#}6kF1lQ$M<9SXE?@H8N z75m23ZK@B`07HY%D})ADGwKZ@6VD?+PQvwoK(2=nNP#It`~ayn<=4=C8il94X3$vd z%w#LhKOop%tD+MpW?0c%XNlUO?f4O4X4#H#t;o{#<6>>Gd9fH$BatPTwa!jsnEvZb z7*AvLAVtCd7!ngx64d>-cn?35+|kfDV?(6i`(1QoBIEjpGdUXb#j|An7)S|X3T{565%72 z4g18D+t32qF4QO^LWEd%`JZ4JTepj8sUuSuCy=g7GS|!X0!Q|LkdsNAE9yPjhcd@H zOiAl6Z@FrfA#fEcban!^YWMrwMDofJcuO!8n?>gMo|k;GFtnAQYx zTVcv1EecvTZVc<|pg~jzBcAdmtG;HQ&s&Nj*L|%@wyEQ-mYp5O!FxgrADPxE4=<=e zuFaAc-k*5RqHAcs=ps6W+?tpb?Dhw0#J-DDXggwR;K5~uux$dJaQGU^%On&KKB~h@ z7hj#2O5%{{?2W_M7@86I_Y$4t5>8PM#KtD+EhvT3OrsPb>i2W+2&SjqcrY(=&=#d$ z1u~(@VKhKvL!+W5Y|HVhTjfO%*p#pxKAlxJ#u84tlzI8z(P3g01XPbjUFgpxt)dzP<0=rp;%>Gh|1KaWn$WpUHD;|m-wZ8%}?VxVQxAV zDAsGKONx-O4p>^p9ubd>L0;hwRzABqlhA#HU6_MD3ny=U|JS@%7g7!#O^8ak`Pj6O zNOBD7#f?sM0-@qR$;$TKKRP)qsBEw6_8bS9=nqgo=5&xTa45V^m!8Fi!wFEreY=hL zOcUF#sYNW?i;>q6k?mOQh(hC`q7CfYyDKWlUjzszlZq$d4qcbGIFTi}0=yOdsTZ3t zyQ`jE(nrPif2S_m(S;f@##&oRt-xZXvq~$GlcBYhG%)MIvRW&vz|t-ml&@Y&hLz{% zon-Wj=})O}3(_y(A|)A^N)E}K!5Jj0ID^D{*|uQ${>ZhB3dThtcd}R((7rdWj3Bb_ zvtr+4_Q9ls*$0z3{uy&Wu`RwY$wO-}kRy{&Z+vFr!sJ>Euu&e`KtroBz->dcT0?10 zYJsTC=|3?~T_xq5;vlWHfOHc-c}gyusme9#S2q_w|Pw z@4F+0tr`vX67q?CcXzAj15WO{J1DNU44I>Mdiyn87=u5hy#F`_Jsp*|9w@=9{x7k`e zOP?(pB}gpzpCpLHiJ=xXidBFtGz#z}awfWvx-X7{Cv06Z+Knaba5qaLa+#s*+;-j$a6NjU^Q0omr=Q^ z9N=(?*Ory+3Ukr6E1Tc~+=vDGaa^?Rp&81HUq22TNO?dW!(+)^MaZhWhL}d0b4vPC zsGpD;+6q=`2#xO))kc9;F&Lk9!;U94r{O;&Lr~?J9!%T>7$WX)HLkdbht}YVW4PTTu1JFZd550Z zaCGQ7446{#LRo?}8T5h+x4v7Qc z%xPp~)(RABt(T555{?VWuu=P=tAJe$zP}JQL$BBfTElaa@*AsoLfUl-7~3=gxIlz_ z4{;xv;)z{fhkr^x@oEFX5cdU6wGl2O9KPL;X!AhhUiU}DbtQO;Fnpy07rCX{LDWl0 z9BmV@k6p~C#O)E(O$6zHWzNfG%sJwA^rg_hgxU%9gDW^+0gCcZAn7_uNrHMI0q#HO zfCfj*^{1nFv7zzmOSIS+M?SIGaJQ1Y3_!X++~i`zLGeRw$njKk8$*tllGvQI)9-jK zv6QsMJs)gxDQRK&Q8(0hT5&^t02Ba|Gu8$fYd}l9O^Uy1Cq>(^VD4zpPTvW4JLJl~ zX&Zz0gxF?hDFXGYZs>-}dBEUi)IY-omXzjSE{nwk_KdJOf9q$h^4dRs^&33k3p?|~ z42}iE@m@F*lp(SIOx=24ZXi5q{OYH8U>J@HlWKUg4d)h`rOGWj02eSD0lx#Bd+;xF zwJdR?XWRv!F>mp4cEqWPK~?*E`5k$1%)vcdlWQe6h#EfFF8fgK}T+USav25PpbdryE`nx@*h9iu#R8^ zW}Rt{fn%_BG~2Zb5iRwOb$d=(p1l{XJzL=ZRfi8VA8;CU^TF3}VWYTYPTbGc0%n8^ zc6sh|QCv@Pmj`z+W77S^$gijDVgvK&e%Od6XiNeSFn2)xOC$nrnxz^hnakCOTzg-Z zV6wB)cpFMa*dIV{SgGsU1w@|Q*RcK7=h`nfeVI|ta80S)qW|vcz zF*x1hbu!_##y?`7AurbE_zr6dM0^87?#9osjDfSLiB%cQg2Y|yVY<8NJMl}r-@;fp zbTgNNEpCJ3JZx+yo?V;gSUK^h1+dYMHuhLsZ+1IpqrI$My{&b(Ews`0*L$F? z2ltZaMtg7%7`;oo)vU*mQKDjHU$-?9R!rt{7#%z;Dpk(bXwkSv3z*xCDebz(H64DN z8kgP%wJVp|k=YDQo6l^<0lhfgAopNwxj7dOy_ZJeV%-JB$2cg7#pHU-XkFY$yg_PW zF`rwkb?2= zi1f(YXQMMYxj7`iii=hx<3kK4X#CPII*AIw?_?YX| zbc1ppX5C2^R&bJaVd}LDXC{0SWA$pWh@qN0B_=MFTuW=LCfjkwMj;Ynp-R4~Pd7u? zNoBlv2^%C>6H5kO+a2p}j=xWUH~ zzwY3lKr``{begE`!(Z`&MVyh=^TFODgLQB|yVgk8+7qSTb1w+<^d`J-a`D22(e{xF zp+_%F_gsq`x+a1A_*$c-$GX)f#8<=2!C^cH1m7@Az79o|&P@up3x6hw65u1*^V;Fh zNim4cGye)26s+~!P%~WO2JjN`X6@m*Ga51e0cN$>B!a_vI_*k1~P?+j9%J#$ysZ6i%z@Dz^P( zmkz;1(!hQu;;(&5H%NN?XR&dcWPO-aj=cFX5)DMTQFFuTE;8K9#dktjP5doqBthPG$?f5#zl zrf3#t&6h)E_ky1yMG1}rmz%YvCO(;nFS80pbTGR#FH9GTryF(gwNm#0_4CaJUM(z` z7D~iEQOw^MeqjL#P>pvSNL{R85W6K>ndHO1J?M=Rp?%|NauCQ3EkA>y;6!Zj4>xep zgdsehl*0&c_g$5>Rn0+gzmJZli}-w-SM+XPtHB8ymKx=H(<|cabAA&NXAfa7!5vdR zA5;SzqzvX5ow+185i^aLVz_vW3rrWAMSMRJ&B=z2Igebl$<)P56Q{fYC#vHZ6`cD$ z3+yd>i$Sr9qtSuKkf*{RBKhVqb9y?VYT$5l9-O{ZC8}{S0?(qjF3q8j`ckFhfhNIm zZ?fry*J?`@FfE1^y}kFD5^?~0nb zU^LYICHb^y^6>R<+Qw)#057cMinzHYMVnA&*4@$3-ajfwX5iDOk)gr23$QyjlPJLX z3S{8uFk66xe-S)`2KEg0aj<7*l_p-#ike&)Vg!U*9)u;w0iAby91&FMxEP#Jf=C4DdIV5@ZS%Ne$~&EjQYJDWBr zS=hn+JfhnzMRv*qf1SZ;s2n05+oc-+JA)HXA>@0E^do1V-YriP!G@lDl)!j0KiE6{7#_dn?-1}MTHng@qYE4e+OE-1DYW$&exg&wu`&+tUpCo_sFYzKtT4LoXQ0`_>Hi)Y`~%W`h)shkBbocNBI5Q{A~J>o0wo<2QCFJKdr(@<1Pz=&SpIC#!Y+tX zMTyau2@}_-RT#(7_kPR)*a#dY-;vi~`j(a&4d^`BzBs;Hi_yD;bH8y4EZ@qjRV!AR z3g{`0{1PC-3`#pqc;4D@bt%lMTL%nx?v)jT1O#Jb;8BbT|1viYs>@g!VA()!HFgs& zMP5({S)uIo(af+p%o`U!#P99MNr*w#*wAr=}K{NRu^B)1LP3B!L*>BF{Z^=nWKH-|27kk2`v?K zN``30KjtNVHWY@Jcaod@KSG0jgl&kO^zFiIx+`NkWWh(u!8N6PYEH4TYTl`v!AwGAS_m43k+Vb4;L8m4A(i470)< zghI*LZT=1B>P#SY%72^5Ehe93!b!q^hso!ee1XY#GWjkh?=pFh$@@&cm&q5I{2-GL znEXQ~Kg{IEnEX>FUt{uhCf{K46HI=R$vetGfaM#$&5?l-uXi&e}trkEAOO07@;*TyBG85 zEBp;41MrS)%5K6jk6ZEoj)5J6`OQ1>_@96Kk)W$cEMQoviovdcH~cQ8OiVbdxF1)9{>OV diff --git a/oe-core/bitbake/lib/bb/pysh/sherrors.pyc b/oe-core/bitbake/lib/bb/pysh/sherrors.pyc deleted file mode 100644 index 6d7bdc769f758f042bea3259b867cdc8b4a003ac..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2327 zcmdT_OOMkq5O(_B?t6I%AtWqupnKS+EJ7SWh*#mn9vm$adx_lGr4~sX#V*^P;Ro_d zxNzXgOwzc(suCQ!f>xe5pX|vu^Uc`xZ`<9$*YBqhS^Vnod-mf720xWgNSy8b{yIyVxvO44s8*!S)p4FZ4p*$5-=DE&kq=hv7 zuI<9=0GACBc6ssuevaNcU?k+pBP{5_ob+m7EW%-!@^^^VIU$U&X*MMuv{o$ruZ62S&ws3+AU*#mdfCu*KD7#<4zY zn0I7q9)V$887b&A(-nJVwF8!;(VE+afA{y|Z&AZ{V& zMdKg9{4LL)8Kd5(iA?PZ&Z~5}S?*VS6idpTm$Hj4U6Bo7a~q>`O@hbraHebk;qmy- z>kW?=+($7lJihcukoTQmB0)w>+G(EtZ?WJ-bNA<1PI?Fx{b^CMVRf+<_Yx}(SX7YV p5yG&|7}hPrwG1=EaQ_-xySSDgmlyF9{Hnn|Y1OXR;ooqh@dJNw?Rx+K diff --git a/oe-core/bitbake/lib/bb/runqueue.pyc b/oe-core/bitbake/lib/bb/runqueue.pyc deleted file mode 100644 index 1ba5434c30f937147d9ed2d5a174eca8e54475d5..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 55105 zcmdVD3zS{gS?77~t%p>l_giJl@|A2^C0mwlIdL3Ec5JKUM{Jj!Q?knut`w!Zx1^Hl zb?>=ll|X6|0!YPWU*E=O*3?NGCeRf z)0yA@|DAL0Em;m}x=c^ob+`7}XTSHizxUp!=L?$#@BOnse{nj=|Lfu3NBL!Q)g-AW z$r-{*Qm-a+mE;VOh*y&{)gs=Loargzy~&y0BHovr=_}&>$(jBlzAiblu86Ns&a8L5 zCz)HH%nu}I29o)~X-?*oSfO6)VCyO_9XSK$(g-L zeOuBPN@f_`_Oh;)<^<7EhW~c5hQ}-qHJ?_fhGU=A2PL1^LrZQ=N zQl}tE`^uzSllm=5<5pLBo_|(-5uq-JCge0)$fMOcZZYuk)(0hCGIR!hm-nUMe5Nq^+-~`J82wo-eYCz zok{(kBJaIr>Rn0wK0TZ{n$(Yb4(>1C-7WAM8-ACd4sc5bAD?YMK6SBCJDe^rd~mt3 z+&EmDonM-3%r_R=Q|;Nsg~7q6rWWdRjjXoRYAj8)oLD2N)>vswFDpxJai%s^YpS%O z?WycyHaPo5{u><@jJFlcXXo0z{9B)*-aaCYS81ZXj#%D@Y-=ZetmsaA6N$yc7)7&b z68s;VCV8A+_5p$h;{~J$y;(GTc1qRrz&7b|ggrvMFL@0BXO9r?cbq+9xMqW-W5er< zItOd~_tfHCJ*#D!jI2F7oz)m``+OrtSv&8!sn^b4cH&f)El$r)wHx(XE1yqSGOfNA zzmux}J_0uQl_Z%gBlJH~JOsV!Nv=c+T}@awRWUkCkPK@I+XDpCi&`(5^ju~aXP1_U z_w#0EYIZJ~Ba*|YaBYy-lvrORzi zv;UmX`p%h6kRiBZkVwvlrHW-0ITw;?iZUai)bx zD%&eNDjsh!W&^?Pyo&L%@O!o3#mITyqi2J3vF<7x{nyN<+B%*D4`=O%;YngIKVdL> zfYvgNEU9d*%&IGI1?tXtSfEwo;kkP}v2|+phAsiEVlh4Ja)#SS=LYUYGKVZuQknU|EIO^yxc?NI^y zQB@tOByC47fTeqkv3rtp2D8at16yx$p)UagU-4UEZ;)G{wCp2P=vGB(PeWDfjhU(C zxpvvFR_(%a)~>Z0?d8@&<{`|?wn#a+@r%<9R`skt)?kOt7#@h!=8gj(UOU*P0lRL)(x9#V3Nw6 zyRp)4EYv-1t*M1`4O66`Fk10~Ag23xaB125QIl? zD7f%K{xc#gznQe@k(V>*D{I5w$iz>W>OyQ;z)CW7HP*K;xxgY;lOdMxVl`)`{-pJ*Mf32pbY$Fot(Gi%hM-*C)R1GqnXQ{U1@<=L~bB?a()4KF&sGy`krCxPn8DYmg2b`z7%k-4|8PR%Vh zvSF=$z@&klx`9GxP&IH^7SuqE!!NjbLS0Q*8k0?vuO?&SoEft1V=Q92c+TVL~#W*e1 zOs0Dj>?JU}uZ0b|seYvo5_DGAv9&@*Lsb1ienv(jl>OC#jRRZT?$q^kZ)~a2sB888 zUrGG5$-V^fgVcG){~+1CHji}?j>V<+?EGv7;-6V;)iO13%rxe&ArF@tv**sYkGj6| zjj2~>A()XyRRWC+YU6(vs4}N3AeH$=$kHNoD5tMSY9g>~{6IHd)YW}4b=79n`kmyL zeLKMosVkC-P%&@~j9VWAng)%&H62`<)877MLv zEl;sKgnIjv6U{Uk&)*Jc<5W6$^#uJZcYuiXmoj8aQS3o=x9NUhmgVht_nLO8WUK zewI`Fd$mj3B4g?GJ2aPZquhJ@Flisd$CsNGHS=po@Lue>!eN8T%Mi2 zICr@=g%WBp%VuHwyp>(qmj#7K!QyRk0SoYwW`fzc*&@oE=|*j;b`Ispf@>=pmd2;m zhT~ie{C~7I%Tv+6y1MccEi6A=fj}}F6E9Rj@Cx5{M3?4Xx z{VcqK>ZB*BK2Z#qiQfOT^jkTPhr1oOHF=t%kmlhz>Q>u{PnkoW3 zw(q9Wtfs0fJNmZ6{O>Ym*$U^h2@JClUTRNekobQVO!EZ&`Xs-=H0z9Myf!(e5ieY# z7O|s`EAv@`>o|bdz8u{yie0jGDRwbdC}lwQ3PlEGvQT7$BxWJ!>`nsj+CnJ~60BJ% ze!WgyTYFjnpkFV)ll-zv1ne@lg!FjcD=6?ne3>NObhlflE4VN0HrJ}j(&JK8tGK0Q zy+ZHHw&m4?Ua?iKQ8O8UdNy88p#|^)x6!tgOpiZ4Id=N7=U$i`f9mPer=ER!?6f5q zPyqlbKJd90pFREbPXd_T~}jXQecLbr$8r7aWXU zB)fE^#d<@0Ox8(&n;|XhNQCF7vh(ktAd$XIe}0+Y^=f+UMXk3$%y5p-Z$l#L5wN|- z3mI8?(J%?Xqca$pctWT@h)vGCLRtz8FR30n1YN<@0m#FbhNy2C=kc8BO{G}_>-R8s z+GC?;ATz<@6wyB`qtNJn4t|*Ll!Hxq3uqy`#o8heq#WD-3d&m{h;B-=H}w z9TPBle`RMy+~dwl`U2^u{#qaP>7+6~Kp+%RFaVN`S(ifl!kqKO8th?}#Ql@do6J;` z-MO*BSo%mOYhi6;Fmbq@O2al*r1HtJGbv8T^e*+$%v!6UF@WFe9Pc+U+D>D5+|7 z7fAqOb9c^QbZzF_sXf#|oo%hAM;8~ml!56p%BD#$iWQ!mt*`lfSYi@%dktpmze{`B zdV-{~uX0CaeZ>Y2^-kMJ(2{+O00>|wvYY2&@~TM%%^1f^-A*kx?~0d-0uwQl9ihUb0ZTwG~;iW>7yBF zTcvq18Gl1MVf88d5du?T5!o?}kh#!}Ah2+_OYwWutTIwT9ka7!huPNj^4wGl9kMWK zV`2I-jCO|ht0RIwO>%p7CXBUjEify217#p0#e$`UdDP;yshUs)a>G<8oMFP}r`nxL zjg|s2i?1}f&yML+{gp&~{O7kiS{J}uMO%5l+@G6$JPCiZJ3 zDZvT|Yv>;pxW@&W_ax)choJe{TUJ7{wB*|MrNy_bML=NIKuW}w;(X)sVP#}-GKj#c zl?c3S0Y<3*iK)4);WaVgJKb7tg!hGLw`b(OiyRdd>!5N3JRE-kZIk({`yRM=@VDoa}g0p4PBj8D5NG3}qu*|1lYm0z+( zDx&sI>gsBYIgB1x8EatiUMY+6sT&~odVZd|-ysWN2)z#|777=Df-ow{8wJ`J5{g*) zu1Y6iWa8r$Q9%A6eb`lY$+8ifY&4RZ7+Z@|!1lk86wQPZJK zd;?RBF&==Z9F=6Z+kGg6_T$ObbxEFw9ulW}FoXy<(N&}$$7gz?VDkr|4^gK(Rbgey zsu7W-sCai#qdQn3`&jecGEX79gpL3Tb8%hLy0-#5NXo)V4Ut5`Ar1WL;>DfG%He>) zTh&u_u#@YBJXiCD3V-7$9$Md0dBgG=Xii!T;|`HE8ech9lpUEkm{-P2I7q3(2d&Bso!+*r4q@nn^Ai=@7QL#l@xCZHJ`WUS6m_G?)n&V?q_?K7@k$ zPCu>E}f4v$+!H@P#nxrRT zx(Wfv`jS+8F+|9CR8?;^-jnKTi9$p+6&24@n+#96)*tXTEPQ=is~RmWv1Uf59}*YeddOH7)^;VzELrz?PJ35cO)4Il zc)6pZ9E!Sz_UPaB$q72bKSMOKH=<=qNFhHbC*|1IfxqyXPlMu7al+&0sRb1YKN@{zkK+XH@_jGg`RV^ivvgY$s zugVZ8ZGVBQ3z-7b!*s`_+{nFWZG}KiY}rUTKeaMDk3Aram4juqr_YNOUtYjl3hz_+ zyhXS{+$!N|&NrqpNQyr+*DkTr4hCQ4ma! zbF{`7`{r|33K2HzqEUxsQ|B5%)ku5?B$?gRI$a=&P^Sb+$Q}?ue?hGdY%#&^ukL_Q zZ>sEvWDjD<9UyfRWPUe9T_k)L&)X~Oae>%TsquVk<&a6=po}rqEyOofHdl6sqFMfa zvPSgq%Q!tDYWHT3bTOs=KykCKaM>tmkcNVv2Uq6!{~<-j;FVClLSBSXQO@YhMUS*G z(9Qg@*N+g;f6~KJch^Ljk%=Gdfe4C(taG^D4M7Q^Y)}=o3Yi<=VNfh9Ka{4F_NJRHx)0NpQtv!wc7lx z3V-7q^~tC6cCR0tQa+s3Oq4~7U;)zLHwRGJR{q{@H z{9mf$Of^k23@zfPdIYXJyTH$Y74xSsptq|>TFic=;yYD^#WW_CT&xSzu+Vd5r~A0w zeQYlD@Hb8xklOrIkCqw0zgby2wQDp=-d7~Ydx`%fWam^Zq;)7%DQ}swB=) z`I-I1L*$3kS9YH$$Jc#UuUVP?;z4#XOf|+6F zGzauqs1n7&slKk6p>H!q)gu$*37bvZtlv!aH}^F!_b~@6CyH8ZKG@`ir`qixoK4R8 zovt%xN82Zdo$u^xerMk}m5et}_3o>KvsxZkVvyTZEV2H1el=lLwQP zzw(UV#>4sL_sRU+MA=A z8({K-hA*&%Pwfq17*ZDj3Kb3P{Hdaa$f6f_2yBMb{2%nM!a-n_$dz|khNc|-bjsyf zhOV-e=s3U*LX~-7Yrn-94hb^Oo0F9vx#0?bd!mA1UpB_g$=)GKOB8x>-Ibd>m`K(z znupirYaVG2>uFz6&`+#g@vf}VFZOp{Pzd#Wo{c7Ha1Y&!<~ZD#HzjRlG)IDfj!tb@ zuVEifvVXU3)jWZOHQ){FSEcSO>7H&p=9MqrzFxcQaALCs^}E^Nt><5nF0RBn|BTrGXx<3Dc!0rYUx$maQ;ku@`xF~171Opzz^SW*q=0p?QR_m zC!S2?{-AgMbA!zTgF*)f^Np?bTY1@24Go6&!L`|Fe_L{ezXL%W21ypbb3lnFniusP z58mZG`^}JuQD_Rt!{0cqjl-H;y**iZMI}ZiPA6Ay^H`&VmV^xo0{)dj>ejgLa+|+0 z*gmRqf*?+-0syz^DDQ=1MZ=mY;Jx`PgZvpD4kars*Km){5I{diCZ>|BcQ^?>0%-CM z&F|I2$(6%JVqnSohUU9AFfD4HoZ!U69h?|xC4+nAP}kH^Y@7rw(Y;z6Mea*hE+lPC zMP2)yW=AH*iuKu9G*p6#7D|l+K}0#MyeDVq0D@uMxi>a{vFP7@Za!!tsoHsBd5?&b zcx$T~FN*BXd&=)Db^z0T@1~XCO|IOTT)01G>Nj%2s9prcx^g7hOYwZie0U?z+J`wc zrsTVd2jP{wl9k6jtSCG(albdxUFxmsWLnG7YQJy>drv-M9{12trTJqU$FSMG8KbYk#}Gyo2kR_?ifI%)_Q} z5;Umyy8h;eHpwu4;i2Th`;rSMlGgaNMTtRi139{7D)x9IvOhGT4<{EM zQIhIF`eBD^%WBA7IO1D9(sgKDN71g+D`ng1!V5lUE=`D>V05b79v#vMOHZ+b zU-q2@E8iwXqKVjp`dwGB{gKUzE+;dQ)xiYtc3l6tOyBhS(a;Umhehi7umHI z=~d!(IZ0)58J3pF{(Qqk*34)rMafjX9w&LE@DJw;6l>okMTuTx`KU@&B0GkZ9a4#G z3_l$W@xR#4E-@=>gRxd3IZ)Kh2`l)rIzZ{Hd ztXiq>>RKtRQrE9kXnLhle1W6?=-#wB4`mM>$_j83R9gSYre4xR`gh5ly^G*9Pg3>b zWk0!j$TMhy(Xk)k zrJdq@(Be7N&FXEOG_I*L*)%34JAcS-W_0pFA|MOUNpZT7`%5@j2n~$n6GEYp0Rz+u zh_(vm*(1yY+Xsfh>`Uf7X5Wu@pGE`?b&#suaMUBvCg%wnc>bdT_Zeuk`ipe)(ro*@ zPa5R&RN_&U97Z2G$3(XC0Z%WtG7c`xUG5xaRW>WO9N*9^!sew> zW$`M>x+4z27JSk@A!I0w0mIpmBiYwe`E&9G#}IVg0iWFTglR>qXVV5IH{0EEzwx3u z7zSIz3fsa^kYiXwwqm; zSqz^n?JWa9oC484vRive)Wc)pb!C&YLco_ZXZEp=!tER}q%WxgQ52(KAxd!wJtQ!g zt^)Yn+p#?TW)(1j>d>Y;mBueg(KUsA$W=fmI&Qx9sSY=fSCnfrfg1&$&MwlLx*MBu za%qaw`F7Gb3Wuu+rU%AEh$J5rT?$9{7!y{mi_39{hJDj&r=L(WGK)o_h2ro)mX7O9 zrU1MgQ+xqyQ)&-B5h$~>;M zyFllY#S$ae!Bb>8DDC^YL-L{BA>_gVl9`$?+D{8$(O_S>D+D)TMnS z3%Jw_6tI!6(9~R8gxF)%87`hxD>Y4P+}g^_kUWVw9PCEiNr4)X&Z}V(a`G!u7p^yl z75fyyS~=WA*K{{mqX|ySJ|V=`Z{Heu*Hm{^d#jr^ZP~nK(>^%6;J>$4Z>etS+thy> zrwDE$+*P@yf1{0+J1SeM;?sjizngzIR`##It#XjqO_c*Z;^6OdDt=7WJ@_x}#;my& zvb}AvA18C=--svAR^ob+7nAC{ZQVX{%Ew1FY@^H_>o-+*ZIQ3j4oL_8Z6n7`j_s)o z)AMZ}$3A&YRX1ZK-CWt=aIms%9cO1Tn(nUd>(#iTrQM8VPjyp|O6 z29vMy==8x(rzyt&JzG3GweV{a%nJ*i)Z)LNRl)}erzZGD*=W)J$$o=97jBXlcq!SJ z5zT=0S$06qvy%g^6P6U?Nn}Md)#VyxK|SRUNdBD%3@)7qlzBW{TaQxU2wt^iZ|v1s zS^4{K*PD;z61N%%W58$K4@`o{+AzqSs@A@zpG}&dg~7(b)2@-(bIfMRCXXybqs0Iq zXvhyk^jF^czNIcMZbO67Xe~_5g}Q>{Kg-ixF4Ktfy5^rvM77DG8{v8IPD`JC!xlhYTL47CX4kWP zlZ&(%vxNW71r%`rSI5l4K~xSV>AZs16qxG&?}~knpfec9)(Baqqg4G<{H&Mo^-UYO zz-eG(-$4Js_`v%HzL+#Ex=xeF|4CMSoS%952IocDt%(ngc3(7TSHah~RuF#&pOoPu zCN9v#T~3MIyUC@4K7GnrQ{n4r5l8*>V0`d#BJ60k)FcshHxV5B98r2mnW(Tp3f}cP zNQ%xMjTYHRb2@LHc+YF;?-9duLi`&Di20`>9E8GkG8iE zmS;*|c>dX^Pktzryd)7>f}?WPChgF#EYXRPe1+qsP7R_$y2AtPM#V) zHTlx1^yw!)RK5=o5$BYCNP(6ncEoAL#O0Y8F-y0!I5#_e+5D^7GO=D3ba3M{w_A{K zm{Jb-xYul7Z^sBx$HyOnlW!5BdY{MHKcg!%tcTS)wKVv4b!^QHVB zjz2p|RlkgVewq+&?oC^OuNDV~&Y^D(;sB!&mc)Cd$i<&$;ZDIy=@82*ULa2#T|1*i zMVHB{<14#>=JX}&!-IH`Uicx5Oq{Sv+`3e0)!~5hqJRx*ahU~h7{y4K3DxUvr`#Zs zCGv}X9TuM~J`;wvbY)is@at64Y3JXo9m>8D3fnIv&EG5TlA_u{dxA!vA#Bpe%ZEP_ zaz`P6web1G=$ya97>Qi~P3>UP-e!AFL~K{hu2yJ{+8);CD7%gVm(nCNAnV7wd$KjT zfTs;UL3lLDktwL%?>W0uY$g0XYl*&$iWwz;<10T>(WLk=gXR;n%$xRG*_f=nA!p^0 ziH}q|6NKx-T#rV$Ci4Q6Z1U`2Mz+lki_-;MDX!wA^y|e$#&VBL{EU2+@M>sXtKOgk z_$m#_k*Qo55^!AVEDU!4ctP?Zqr|wEYz#f@a!d)GadVgh3qd?V*03F zbg-v}<58AMx0D4B=?q<^q#`S~t&DU=oS5aZ+=!#EYlK^k?Oku@KCvN&lON~b14}MO zKSUD~uLX{Wqs|E}^#QsZrJabn4{m1;-Z5ts8&U!e50NYV7YbSmM4p0LS**NWkLKz2 zD^^ZcP?TY%9Z_(n0x1L1qY6xPAow9yPfbg?Zh`WN$>*Q3tnMfJ)wZBIc6#!;(@#Hl zN@OdPHp8MDp+*odff4~Nc-t~6TE_e_{Zn3rGG*Dz(rz^xR+@y);9skb;|lIqpssnE z#8$G1mh|PHTQ0NLayBbk6O+`w&r5Cn(agee=TLbWtB$)ro?Y<_$01b|IId~Q%~F3x zY^|VSBXxDJXTLzi`(;PQkf% zUmhPMRZ`e$od>*@$$wj?}Hyt<{~?!42Dy0lnq7(}Pm}`#Vel zTlBSVk{;yxz?UTHc$-3gpD7S)LDF+P%b^ztOW<7S8faulbOcs4%$~0oFF}U#GOhZE zoau@@aLsLsQ^4&N!ful%+?AYPIekgQ9$DG{m{V717qng$P#K&-etF9vN6<558>%g; zx!x%1CY^XAPKv4KO_iY0s>M{E*VlBKL>19vO5uR{UZ0c09OJVfJOVpoVs#h+n9M8% zA4 zCA#^1MGj_)UfH8hl#%!r`<{S?wNW?lIhI&(_am{77dvug8IwaK3j zpI1Onlk^J;{x5={3~GNSumQ0(Lj)4Vt-rGvtCPHwKMZnY`P zRjqn|f;NXOIlnEnv6y0_Vrt_l{gULRYyLk*e?kxOX=0`-QV~nxX|gpeG!?>;$a_!( zoj^|iT#wSU2dNO1NdH2?Un=6_?7q3-wzA zgFv32*QgAv??(K$2vt}2_eh=BYc#)`e{bfeLzqJBarNjyo;F$`2+Ak#08c1ALu}Kw z5kqv6U-scZ>IiJY3yc#U3}=%M=5jn7BpO)T9rdm&Fl?N{=&lzAoeXyr8E|E#r=4c;tmgFLh+i{Z_<5829~ZfO zjG^_(O5Q0W9bsG2ad&1~BEF|Y!@L+;^+M>c`HzbVpjBm|?h0@*1*3L)72UYUA`b`- z|KXc))vdH~fW>zo*VL%RUYlR*(dxu_kvKBpy9@Ljg=-?Ln$Kpn>dQ4rK5(OnXgywS z9}FtWWZdS-IHMzzPd?>zi5Ft>vOgp!b)G3^?T&F8vvTn*4vsX+DBzQCai{gMJZZS& zG4P@sF=UrR2YS@LT8k)0IW@;^b~?a@fd~6on7_^bajZ_ZRUMeaE+SPbhTq)y+UjUg zhi83#g)HG%vO8_aZKGo$%NqoX$~ubjFJET@cqIT;qpVZ$J+Q;Ea{Zqp}L(*uoBPc%p8VgQtGpHwJ2{jjS|aqtAW1A z24Y@^q4HQJW#!sc%)HjJWte=q$Q`q}{v?O^bm5HMYL3<#jmE{JxrJK&%gyz}x6_aG zPZa!10$&tSOhHUa1I_pRW$S`lO`PmPG?6y7Fe7@ties4UY^%4OI40Bg)0`(wQ?>B( zDkQC6U7BCH2uxW)-nImkPki30i#Fw>x2hQ@(?JUn^oH-mG+ZT9>?V2V22G59Pz~-> z)2l1@#9v>`S8A(wMO7zpnOJx+?qcU0|14(O&0Vjb@YgHS2UNZGPAaWtDvWK>%%TmT z4k!m;W+9>-B!lU>I-xq)9_eS4I6xrq2;-}@*)64O0A-)FsxQQ%#$_Ud%A!`eKn%U5 z4YKbH`OBwUeqLUf@9tsuJVndNI@#E^!1rvdZggx@bvys+C)K^u6yI9i&(mW)!^F3s zpWFc{+{!V<4zPww+#Wa65yV_`0w3PJE)V>qkgN*t+ieMol>-PWe+ z%j@xja|nUVBw9r+mT}Th;u<6pO_%9(ry-M`2T`Q?QX)h%bea;AqAAXI&~dMg=6y7? zib9mbcs_371w~FT&doKZ+Zfi$>$PMR8s0;pbdbpk{PYj?s4A?ufOT$!!$rs5WtLSS zW22W**0e9M_e7Uh+0QLb)kkRH2{aZ)OvW%`=hdajxc50Two0{B>5nS-Zx#F;f%j>F z!7?jaY|sd}>LrJdAB(t{oi!s28MUcv&EYNGNEbgR027*s8zyxSShw5X%faEH>Zq^Z z?7FgjgLew3TP^=jHe}D%|OMK*H zx8g!~tP=Mofyo8{1>$HtG0GJ-_NAw6Y>%>`Dv1neS}o)*&8jbI#b=%sS+5fwiVPHy zK^bS1vZ07&ppnStEZnzPdzp=W?ieTS+bI0JR5oO z*;8ryK1vJ=KgBKSrpY#t?IX?VH8hjyX=QkiQbdr7@3^$mJCuG%>5_hh+k6$5?p`pi zH4iswXE8xo@wn8;(qk(68G;T1b{9GzwpP%kmOroEAX!_xK?2ss>h0`=;_G1gcN+M% zUc#7xc=kC0P%vxHiYnqYlf2~x)?F%6k8ym0XZigX&+->w!KAo|oW*BN%7lmY8VMnP zjUMe9U0ap-aQ;$>f!ss+{sRUyM7AjVuq262`zW#gsWYHrGK9Kgy~+D+H3%As4ktte zc#hn!;rkhChsTf4n8;yT8VB$c_glc*qkAZr#|EyYm!@WYg9+{o`if4DvT=TZvsal* zd=H_lvq0#Q9dZVgyFg}Dtggy%m7Jc#zt6%&wU>{5OSx!oo7p+BL~{8o_l#B!Gh zHfrdR)vw}k!uaU(PdzsJWMH+sg~pB%1Q}3s2165%i;c^jGY^yExq@4RBP(Irdib}n zSQ>rTHAw2*8iB5FG%h#>e+dtb{bWAA9*|Xlbla(fU!@dpcaPO1V>7~owd3Qjm=rDv<#fXk7IV?O_1K*w}1 zG)2an$EA}ae3{=kK&iWpsAQ1hc3qDLl$1lT7=rd@v-|jponFRJ4oTh{d-}=Kr_$#_ zBrGm#K{?iz02Zcv^VnK``@g1Q>r*YTF%<6Ze3Pj$pQVNh4gVt7shB6Wj1fL|c{2eM z%A{*IyZm3MF1d(Wh1ZmRx2!))KmeVwxrNOmmT}a$6_OV#@}cX|u#78ldX(E$o@%ajTJH zXqxF%U24U^9#%K25>UhwgqhcF(^eDKRkJ!Dxfl{D~g59n<$I=q#vt zLXFsy&aI%U<-Jp&jdAvPICAKMl(2<~n54V(I7rY%RvytKFC$o^y=md$HZ7Z!1uPqW zNxQ1saa|llr>7%Fy*M9Ei%|M?s!H7ev4HS}gzLoq5})&HM9s_&y$h18?1qX$%lT%E$h@>_BAq3rn0gdVw7f$yhyN2>0vkFvomzcz&RWyvI4{ z`qdrD<>#FBL7jo+;47t-o3`HPn#xD_NlSo#4&p4GBNF@MgqW!zHOj@kWm_W?x9g6S zJTsA9$?ozc4=&LBqn`0jq4xmi-GzJ;Nl}Q;D;0(I_Ks_K%+bTDA27eV+v|iO^bxP5 zZnfP_Z9@jJZ922dxm-;*OyM>*-V8UF+%KEy$i!WVF8^Uea@$WQNA#Pt{Edd!{JLIw zdbED0S8qAI%3kB14XXmQeB%ozfX7D-k30J++!3NncCy|+?a{}QHax{%^_D+nS7RrW zx|1pkK;>nChjEQ07fyL0Kue5{Ip2}z&2J4FZ~lWm@Y<^KB)!ZXt1FMnmU-a`&BDmU z@eW=B1A%9y?*F>Je3XNH#HG=<3N`UO&fZ{40QumKF}q=mnp<3+hxPDRH7PHh9QVpC zF1F)BeCUg%(H{PltA=lnW4R}|xd#{m!GUsZDtW2WG`kgNcFkHmoS&Y1iGn6twpSgy z*TUDUQ>`_pT-g9Eo#4m`*O#^)c~T@y#I`@TNSgY_*95T*a_o|ebcDq86u~<@_|u)id)8ZLXA`V?j$b0qf8n*WlNiq37a2SH zpgJS3+dsJ$>rs(_Ys5+BM4X-PjjLKltLQ7f(%&JU==5{OQRT z$4*U>=TtiS*t5@msD0qe$aLJgVOlx;*w{02ef0`H{Ff2@M;_YDWcyr*Rr42lbDkqC!LPrrhJTvCQdZH_!Xj0>+6-w-8tklHUtErl zyv)ok=cl4bWMHZII%k@xFQO(4ZjnW@A>jEjk3n-NWJmu0vbhk^7+Yh zWIXlz`ts6ocZY$XUeP$EW?WcIA5+Cv!u&jmRyD>n`13bi3P(*jO@_@G#bx?Wl>fg| zP*WWT6dY7=n}Sz(;hAR7Vc zWP8uuG{V&^=YwOV+HsHLq{R8o(KA^F+`IHWbRZnsG^=6G*VYPS|8u-`6ZGKh)U?j# zY32kGq{M{$g?g`4QrvF=9s;}P5CaDWAuXxO2>iVN!bT&BjTu&1MFmPKt2L$FB;2$) z1eVRF4W83G)Em7yAMJUzxanBQD%e<=UUQTbI{;vtT%4Kll)YPM>APtz@z(_G6;|!R zI-=tb`_Saxf{e&Dj(C%C^&?`&EyRj69g^t5fnXQ^Z^fo^nD>Ld+ii#0THRY2!r@>m zN&@|V5Ep|Ubiy}bcR8pZ`8M&dPDX9x7HGW9u*2w#(l$$^3U^W#_r~hBYTWp|n{LLj z3+Kkw6T>1D0vK1W|eC ztU37jpv(6PV$`JcnZ5HtkKJy!!F4n%YJ89_$JDuHF z33bbLK%`uqw$~J31Q_2_bO2jJZ@P_?w}Q%(%+A|^3exs#KoN$x9!F65V^JUlIW*4R z;HVuRgYI~r&{lJF-98FS;xl(Y}6sVeqtJ&snux~iiy!iOs894TAY zEG5Mwe5=bcgbx$Yb=D!z!zht<+!or?RsEw+g+ib+CD)Is=INuB8;_|bab7O+U$wgK zk%{wmk&pR6?IDwE`GC`+v}M0miSq>NFxne(MGiWQa~5C_!|WPDah03qrix~BL{mFeMcyjejPQO*&EW5QplSRsU~3JQd4)O&SGM8xNq@!nx?eZN4atwf1QS zv|!Q~e>5c0%LPm`52XVX@t9Oy1za|-Sw=mwM<;No^-yx*4tuD^v>uj2uE$tT0UAs| zgJE~3Z8(RPN^^Tp*JQE$)DknLY2sS4JKYEobQ;mZ(IRr#%8gjQV_iB6O)Xc+<2bhg zfs|Wl!vpwU>8Ft3rGoj>9(mw~HrGdCiBBGvcN$tFK?=LdnbqwVnt$5E-?&D5zceK3 z$h{K6(RFa6A~;Ab0ZRgQ-FsPB+jj`rTcEKpkjapKa&aN!{J1_zC(lz|uwjwzHr_p< zPkq!5o}H>6lo7so@5@Q@yuK%7?BeWF+&DgryO*4*e78j$j5{I$QMC=*t*cQ#Y7M?` zltPSL;1UV_Lr_0rek;%BD+A2jIgdFnvY9cfhoh^c)KOez5z6E05t#7$ArRk1UQ*);qW#LSxO+h}K56Ehk9=AgmEK0}z-0GCER zd@3|i!8LwNvDX!xRj{P0Pbg-ukN-olBMJ^H(EMB{IE8Q37{x5VokdVZoNLG->MrH} zMFp0Ee^xQAQtE^9qR@7desKw>lScaEdh;#?vW(l|OP(PmJY?xz>f3wuQbMm^#3d(^ zaEC?p%}xc2rCk`ntvzO4!{Ws_%CwnR`E2lIG2a!U>DN_E798gmr?U{C?pGz^d9Ulm zn!|~K;D-esT7?AB;pUzp1PfhbumhXN`w$UeqYx5??6v&f>idZAsnjYDlD?jJKc6+d zm8%SN`N4At6`K%MxG+JkUbv#%hj^lE6LukFtj8cf%~bk>ERu>(^2`1M0elkN%xgqI zZQwkxI4ZutbEU-#76*jM)S|8ouA%jpTsAKR9|rc3iGS!*Zg2~6kNQ$>1QR(fzW?;3 z9hGr};yQD5b*}9dA9urMbD1ktv6j&gDpP-x@LENOC&w4wi}I5Lo0wgGKdC@7tyo4y z4v~X$Q9mCj%$op$RBa_eE^0oBJ|0YfsvT_ZO6k4OHg9A`<>i4hrO@By%NACq5}gG5{Dg^2poku}zPrRuI-k^J8%GM)l{xQ<<&)cCpaE7MN+> z`x8m97L2>SRmRfq=Vhji_Vl?0u4sX9mGEz@T$^bv&ev9zc_@xla0lAFR3G67vz{uH zRhPJA!T~QX=)8pt&XMhg^$PEcLJr%KDKuoNb#89)EZ<2qXFAyP;&8kRPOSV(KiFIdEORXNpBJp6+5h4;y@!+L z{^GC!`%XM!oKAfyf5D@q4Q`gDZmJ8;(zo%GKicDtPL+adpBGXge{)`c`a*DC-TtC` zZsbH>S@=do#T-7Sb$zKme`%*29g<^Fv9VJTD26;j5x4;LvFrD%lj9(y@aD?CooN`9 z>x=%2>-@|_={CROGP%wTsLyh{RgF*Z$jycuiyGW9)$yS$K0l)y_Uuw`o=InM$_C0B zuPc@Lt~7s=w9MLyFy@z^p@u zpqtq+k@t3Zoh8e94U4vcBcZh7<`Qe0HbT4_|pue@XxOYUn1rv{ge=aiA(U}wDYkaU zv4yITt2nU#s#rQzHkeFq5#nH5hEgw^q7Nm!pM(qJ0LLXhu2q`~Fy~^B+#*!w3Z4;H zC3av2g688}3+HC>r1Nc?N|gx-2mi9fXna0N#5^@&*{7I6|1*j`s^Ge%l&etpQa)j` zRM$Fs5B-!%+TrF;h;Nef%UqH4>4@{z%3UD+axe6d z?&Us3go)QW1iH^3%)=PDvXTMt%Hv&f4dBTi;HP+~OOO)u#?=CGB=iu^fn5aLUE5

GO`j4am4xp%nUk0X0H0Zqmf%2ssE=_^a{o$XusavS z4q+1YimriEZ}_=%d)p|GTRmcHWm?k53Dr`e;2|fk{^XQIA#lJZU_j)8iqZ z9=pQ0J6svRx;u2)o-iW7sLsT$bN2}Y{9`*jImHf7e_UzfBNP3LX@$T;pt=8}rvl|} z^QjzbutcNj%>g6eRb5-v8|6PJ4Hpxk7w!nXD6~$idivI;$@aF5s=C|FF3?@3xhHvr z+H-U`aJ@(tVv;UrQG1|t(I-W5C>UoU1bE;bBAnnyCCP6y2 zxXrg@;ttqTb@j{E6!-i}zqLBK!D%hvML`>{Q z*Zr_>DBs7F_PT=0v&oysqRpA@j>Q6IzA96(^nHzrc7q? z>*#JschVkNDx1gP9QUiHGI56gu}ED(nqR=?94@X$)#fn;BD+3Ik-NRBpq9~xA;N$4 zc0InKz>M-BS>nKs=tNwiQu4Vz6z|@^ZP4XcvEZiwWRiZBg0EKa&N#qsq3YuzXe;z8 z>EkpXwqk72$aC8v@nU`D2%E?Fw;*|O{M|QdI!*Ux_974NuIi(P`znW=%AF{=OYL@? z+jEy%R8Kp~|8>nyeB^nz=EY~jq`OPMUV}EV7pG}1Bw$2c7CdzYYot!K74g58th<@& zQHY%!*v_gh zEx{aIMUwr&IzZQ067b5=mJ~$3kzU7`%D80^GRYQa7tI{)eJIaEVdXa><*ZU&DpSlb z{&0I)2CPjLac~KZ9N6VeUoXdpB#BE1|A3tS)C?9&yh-Ix{D5p-O7hV|nk7}2smU4x zW72uX>QO#7|0`}f<4%H&U0v`MUaqq3DnreNFX|3g&%p5FM9?RTn?NE!4d)rqb7w4N zwtNmguVU(v=SCj^`Ft@eFsZ$GSbjd?Z=BB&mAU){It+)WiX@yuY1^N$fwSO`(?its z;}QZ{kI)L}(~c1vf+wPYI@bI+roBs*aXzc5@3}mG+ zYl~g!WE17r-FzKy(y_N>gqPIKKIJyJt*df)H>-Vdeuqt?tMHld4gAS2h?{pPZvUsA zRkPGR4s&%w0+zwjmMsWj%?oJM!Wc{hFsoAS60gGKS zSEP<6t^apD){l3=#?>noK`u>`~OcJIBw4k~+34g(cI(!DY@ zQ$%~CtQdE4Hc6%VmHNn}QW-t|>tMRb2vD}>``dP+k7EhUR$dyPdi$MQ76dBT_BUuc zs>YLA?`aLd(_sU?LmM-};PAJPl(Wn7 zC+jMEF_P-6#HKi09{fLNuelGb00gto$xo_+<_MoUGkpI>C+K?5;0OF@`d}n+&kzgM)7KFLLm*u>E^)LmJ~-|w91T{U*$(Bk6?6!wtWy*7 z@2k4ea*~pE)6Eaf;;37E@?63|F#cukVUpJB@M-#Ez{(Gczdxv2QD+a?%&X6i%RiKR zI(+~9j>;n#Z?{*%QU1eZ9V@?y!l2tVd`P(A=MoO%=kU(Rjdq+qu<^g9a|rPPi=%OU z4>p8jwHthzh6&Ku*^k-(BfhyLL9CEBE4BeI-sQJR?1E zn|mQ6`x`tV{rbBzhsi(8s?2b>nSa{6azr;nml3_hkwp;VtQJ4>+(ldktP><%@tKA6 zV{|AxMj<}lvxEmU-86UOifHzg;m)?}rq7RDnfQ%hgs{Z&jN7KEjss zql&#>!JP{D<)44ijK+t{1hnDF(NgS36nwLSiwfom>_URe#mvGaj@#OXTsAc~HQh*m zKyQ`6bZWb#KdxRstW-&Yq~`nRc<9Fen8c3MA3~v^DE+j`S$hBv-KATw#Wr84SM;V- zF2p?`V=9MGqf06Yn0uccFHA#mE_pNWhdsU8v(b~UQ+Ac<^l>t4E&~#Q6|O4h?<zFW;9pjC3x{M26f*(~;VUV?wuQjBvr5o8lB_cNz z?r`YYiw0l--N4Pbn)v^9;hM4&fA|{s=@{PXx=~23Cqvb}I|fPLPKj-PySs8z-;TKyND|d z)*&ZVL_&$OM(gYQzPj+zvR$wIp&pFb2iXIeAT?nbcCrX?2G?EI@d61NEPtlq{xXOe z5Quv|5yf0EM`C`J-8Phb9`y`o7TN#=)G-6~|KBa}nf70}YibWmUmF+CF?rnf#$|K5 z>3L2>woxAqZ;^czNsZ+{rr7HWtVy+Y)j0c?0EFvTUU)oqJCQZp*)}0X)wXE8Qcx1mT3xq-lIWqtF(Xd2d>q zOb;YR|7VEYp#K;$w86!C+nkM<2uTye%J3-RO^mFiNBc{A+;M?dz^dNZ#0Ow^y90>x z48ko!6TGTd{Z2i4M(pq?L#X#&=^BvRlkF1l-v}jiU_wLcOl10Qy?ti@<9@1ss00kA zbSsVmIbdjV^*gDqHwf6}`FzP(7!O7Sx$T%)zE*+^D6x1b5I|uZwFf~LLI@jBF|V4l z+_o%e?J_EKz)iE+HP_copE}(&eecZ7{Tws*m}YJ>t#xe8vc8wwN*y`LFFQr>*Uetn zg#4Fcc{g+Sfo|~WGPrAJ@G2%iSC64y$^A&fzlv- z#jXr3X8L5M4`U^JH%~$qB?+mz!r6`ZR>A@s8hSKfTmAhVTYZiJVvl3E*M9bXm#Ln+ zIb_7n6F9^WH-7AqNKGbdRdRfRxjEinqd$WcoJvu2LCa9K(nMYZnp1WIxFa{_+i)-3 z!8sEf^L_XLO=4@Ik~1OHyO(i4mVZhGU6Leo4VvqAIransTh+b%4ZT}cdGn5n6d0>| zZ4cYlPj~f|NqyVCa)c$2UeQ++HjK@h0f_o5*8HOBmGwC)xmn8J6K%9O7%NDnPq!2n zaWrnc%c0-2zwqOWOEHxBI)J!er7NY%#feC7}8zzDbT@;)YsdpK6^it{746(GujAG9j~y<=fKQmfIVxy_dx zAj1>tP%+g9z1}cA@(iHZX6be{5E~Z%2G;5Pa^Ldi&(gLXQug<;xkAc*ni$qpglh@a zzDr>4a+jl^o3SMdFMTbh^C&*;%~*;gmomL2ye>4o_>3;QP6CsaWx z$j8N5rdygvi+=jhhDE<$Q1Ro+f4_p?P{0Pd-i&O8)8bq`R~oE6A0-p*2ZgnzR7?8$ zk(GujcOYqPuoQPobtmVabw`$L#}z^>b{EggG0$KPq8;J6*#V{wY3qw|Ssf zAHU=G{&WxRPpk9#k9ZiwWx$7(i__U>a6t2kk25_oXKSe0Lj=Y%<#hzL))co4u6D|t zm3t;07@=R3w`E)uUUELF%S*nANDzrh(6O|=>Py^4;$sn0t#g^1HphmF8=<^2WotEC zTEFk;T2Fyx*Lv>Nqw;iGUem?WVtlKbSG)R3VfrX3e}m-_UX10D6ADr&jGJ!uE4prn6NOQuh{N6A zFITH^6|*(;xpGZc45r^iiyeO-tGrIxo5pi5pb5VH*O;BoQmiEqd`hdpk3BH}rV5m@ zTMcV#r0+B!XxaZk7a&x90H^R}@?884pyD>V?lpdVio*y+Z8bY8ap&h$mhVnMpMK@; z9O0pa08nwxh?)Ci-SIvFMTaD(M_e`SJdkrlU4X%`*wm(bR+jGL+3F4xGf_V-g8^Rr zo$ipAI|A~rQ#y8^I@cw+nI8~Me`jFfGg^rCR4-VN7uDZ3H2ekw|A8)OsH8tcN(lg3 zrpNi&!LS=^^Vu6AZoWj?TO#he$k>G$FgoxxYc}Xq7&9*6Mjzg5agt>k(y{tBbOF&@ ziL>Pw%SFXi9I@0rycM!E} z#eS^lg;D$Wl2WcA@h_9|-a*bUv4A47jsKXnL;oV#(>ks%xpv?8c59~>W~twqwfnhZ z*1UG!`q!=9JGg9Gq|X)|@Us0fDSv}y(}~0zFWYKs;*Hji_Jd1$H<7pQJ%nzZSL2`Z zP!8K3t%Gne&S>JMgd;|6uMOzexME9|C^-F1(r&mp-{A%RrDA>)%n5(nxK+#f^F;@| zz~6Jj1(y1*8@Iv;lP}36Pu_T4E&rBY*Ul5t%4+ECY#PVbiiy!EepTbr%J=t73lR&B z^zTW2*?9s{ZEGB_`5b2cXa^9Co+Y7|THHiDTv0^*LG@N+0cBEs;XsGS9A{qYE@kRZ zBGrx={M71b`T_csK0^?ukJBWEpl%ucr}b7g<`D8r89n?rI`XiL^!|p3PfFS7+L^;O znm)UJbbnB6X5lwAnSz1@4nSX1(Z#}BE7k%`D_Q^1wLs$ni*9gXL%xPQ1wnp`J28;d zOYV;1=drUeLE@D4^(6S_shTcK!+g}f#6@g8#{GAkYttp!)~EQ0TcgFH1H;+0D%4La zeo~do4WPrpvFsoSx+?}gw5K2z;ut=zO98j|AU~#%$FHHZVjw~*g;j))B-A_jMV3Fi zJDX*nU07Of$EAMaB4(x++Hu+U6Z$sz6VKXP;EBm66_4A&#Te>t#?i;0eg5P#uEe6F z9Ww$mn0M^>(+e2ZeD#eOe^=|R*2MJ%fwK1xkQm6k=%PetD+q$PxLygr-Ovfe;VBh8wu4MAQ79#atdWOgfx^!j|tcYP^SHe}Y z{EefQP^#C9RhO3ep~B+L6+lluwGgmU8g9IIdZ;g40Bk@WpK9r2S4WF&KG&FOlQ=zXqq}%Mq2yrq5A)Z&eJ%Qj)$z&h)(szM#kdftVq7Zt)yPgU@xjM)4*L zv-Y#W<>^_nG+I{Go;|Dl#RaOu2>w1>xI!%-7hO9;-CJO0?kYZ z032H@5~;a95tmjxqPV}t*T2o5bb&M$|L;RJyrsJ1z-mVwo~pZ#?7nGtZO0drFD6g! g`12kAh*LWMeD@cV9lO`>8{9Xzd%gef8yNWi08omY*#H0l diff --git a/oe-core/bitbake/lib/bb/server/__init__.pyc b/oe-core/bitbake/lib/bb/server/__init__.pyc deleted file mode 100644 index 088ad337b87d2a2d651de770b344d4c072b5c91d..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 160 zcmZSn%*$o)?t5r50~9a8jPw%=3X0~7^HX(`^NUjTlQK(^60?CSGn4d_lJtvHi^@`q^yA|* e^D;}~Vg>-o^CXG@ diff --git a/oe-core/bitbake/lib/bb/server/process.pyc b/oe-core/bitbake/lib/bb/server/process.pyc deleted file mode 100644 index 19fd9eeb3241991b3c2f83a9cb3692de95d3e17a..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 10884 zcmcgyPi!35d4ID@Qrs1nq(q96V#S_1R=Y|ZQkG*Ubsbw4t;m8KMj6_nyp21Uoq6QW za&~4pGs{1Tg|?>C2B{ICKrhLqhaL;`)JuULisY1Qk2xiWqPO(WLs1k(`}=)wW_C>% zX$x>mYM$P__vZci{{6o1d#wLUt9koZ|N5@4ik~|Ezl$e((^4u>s)N!}K}|)L>Y!rk zwTXINb?RmNjOxsk^;y-KE$eftGgsCxsLqA5KCe3SWxb&~4XM{v)Kr6us&i3UTyI82 zvud!QItyyhQk|9>EUM0;8Z=c0=L1*>2a+?XxJKO@7ou@qwj2P|6iq+m^EwCu;JOB#yP8he<3m$Zj(o z?K%x~w(*!EdkeLVUNX=d(ecrp+b`VS`1+S$eChV#oegg|%v@4+Bhg>dM#C0Rc)W7mhFEV73{r_e>j9ip|g(ftGuSt z9d+_sWuGVq`qJMiTV^PY+aT2T&cTYB0qysjD&1C=W#RoXo*j0|nYZ@1x>CP*y-ili z$qPEffmGf}3qB5$D3X>``-f85N@AT~!e?*mlWyXr!NWM$X*wF_GPgq-3%h+V*NcN` zk(BGCqnILuRc_%eTSlR3%e6+WZe6xowRx*$wP(;)&_DJD+I4e&>AFT=T-UjXS7!yq zc&Ac3R|#+^0XOkv+|QiVsOJl)+^0Uh5qLw8@Y4!lV??C@lhO|x@DbEthH6m9pzMbz z#1s^B*?D3grQXm^Myaj2h%Jg}!wmS^&U@PSy(ohAx4YeS8F0(i$3rMahHqsm4zN8~ z3GnciJNuUhhrgf zuA*(slk;TfK5Pw9;T{lSlQi=H0ct=t@U#^juU%`_RS>|R$jVM+H z7#UFU(I7wE?mavibmgob(Y+{@D5#4z!LgW;3J`u)DsU<0qym5!z^5}YFD=ai@8M4n z!WUG(rDp2;mP&FJEUA5^;+m>i>4!?g=~z@Th_>CPfyyX)fQH>L((6&Omywne@9PC@ z=)k8~@TpYjeZ1rb8sL2Z8VaPVQTzybbp;!3M3JwvDikev|z+3Py61L z6O?NTdfsV--5h@6RE(p5qQ%g-mRY``{<(#8P2%_FN}rItW1CzRbyIo zCmo?dzsFthRLWX`!JZ&=g=#-XCy8ZBOX>hFQ0n+lh$rMe#dJSZC$CEjqLVq=hxEPj z^#WfD_JHJuH!yJE1;|ddfMwb_xDKFf3Q+!lUMPsvNBkrD!3EL(7|#yBYN`IB*dUl1 z#zL25uFJ;6p&xr#k$w(dRsAc~OSPVGnuOTe`|*$X^S7^O3^W{LS?t1o5qBx3!o4iq zi@ivy+YcW++zD zgmhg(x)?Hve|!&qSmgGTFn04^s=dH@p0kPtB_fRC|3(O%4bDz(`caZ;=QdxdR#~15 zCxnd$pOUaScQCidC2ycm^)-0fb=b=#Yq@p_*7I7e1?g+y*Qc@xP~-niJlQ{@fVjYE zI{rK1Ft`b6QPB6lQs1trCw28?MxE@d58zK>=nUhYQ#3-`XIbB$SLvhTON{wy{Hk=+ zr9(4J#N08WBt(ip7K}bpM{6p+!eMCKhZuj%I)^E>bFc;(ofR4VOUmena6;K+f~UV1 zu@$>g2sJt%aQ_#8brXXra_&QY>6VS%U1P{836O>))oq5K}G840AomoM+ia zfpX|3NR+aD0@xVbKL%b>t{efASJ+FY=OLVO3PTnFLnTNbyNQ90yc3bWSRdyy!eNl) ze4byDEve2Ay=YouLN{%MCwmTsvgT?xASRcs1qj9hz;(fzlX?sPx2!9KT8axFDzS*m z=TM=-i9*x8pbSOO0wL_l=ggUZu5SDK&169`)k-7;RSxEbR1P^TQR z91;_9M?zI;n-;aW)Su!p;mC|n$SNP91q1Gi7N_VGF*C>}TO^r982m_ksbHRLds;hw z4eR|Go-%;qRw$H|EZOn*(Q@+FL>O!rTX%sr!a$=-Y=N$Sj++L+0KR!D_$x-Az+7|y z+IQlsP{@l4_`7SuuJ@^yjIuBV46wVXD%6lE03kpQPKFxtaz-=1V`8~g=?P#{EF?r= zU@*p@$>W{)Cs=7stikh^gm%#C{#BLz13?WR9As90jjE1DOmUr?ye?+u-zQp&fjHJ@ zRR5`o4n!4KDYQH>x^9@Q$jtEr9?Go33?tH$pQSl0hCapkgY17=t$k_+7{dNDG8c(b z99nQ$#=_ukw~0d8U!Zt2LewAFyJ<48k(cU0DekPlj9+_8>i|9QOLd%$Qf(h;g!G5T zE!_=|<(o=vdU-y4Wn-f|+RK>V!aVCqy0;N#*+{?i;tMarrPZ+wr-W|3ja7=pkZ{c4 ztIDExs@af%jFKaru7?z(%tqnEB@XN&7LsHICt{**9kaG?A+Q0~XB=;mmKnA8QIX)h znZ44KY03#SY$zu<3iBQk9bxV#fwpf3Z5v-XH&KYKM0kT`Q{+oXG1%oaPm;(4Fn%&Z z?sFdPKzmftSI0{R8!bjS55m}C+CYqRGQ=d*%)}%=1AQ2S_TpiDV_ST6G4bE>qLDVQ zbSuteY;!_^>yJ`yNpg0gaZ?PN2jjw7Sa>vYwV=`Vo>FJyV$3T6fZ1c zCL0Um-Nbp3gXqh+q($YXJ9pVmHTKdyGdw>*B9{xotu;@Es5TL&D`lWAFN@Ly&CQ7x;9r;f5&qkqG=@H)Jlr_kC!I|1w}>WlDuLUKB! z?Gw2SNid1R&UBn@lX2osuHp-mRw2tFw#*NJzmXOiG8bMp7Ba1as@vo+zrZQTS@F>v zBCvR=4sEsLvv?bYL^6dQA|<_>n1pCWnlb&QcD~W})7ZcRJQ-uHInZ#f*0|W1ZOk=R z8*3=*jW0Z7<;?sQw*@ArvsoqWc?|g>#qZ(CK8r$s@|r+Pe*7a`*hq?$Lo4@!FPr@C z%P3$R2}DwXpTWAo6x!ixz|^uu;!hKC0+1$vm&tRZ6LOm&bR=_3C@3jkX+xA*q)jB% z?%3sb5>I9mjyt7iO#kyGJ$=rf;weHz`e2uh*HuSrh1*x4i2!X-gC(dTju#^~0#F$r zGV_%71e4GtcX9-#Vu%SCM`gFc_M#6LX~5=#k&0VoziB%5nWs;Gu1;=9hxpaVO##3m zvZs=4-HEROqg%9Hg*Wgw1kOhV@&TG*F%dpuyXi5_ARK_gH9t63_$T2eW}}Xy;2TUSjbw3lLF>_K7iMuqXI|fD%^w z&{#&;=K-vEu8r?c2`~aeuIwT1e3mVEOv3fyH^$fzBAcJ(j3fnC7;!R*M(Fz8WY5vK zn+ham5Fs^b3um9x5vGhW;Gt-QCvrwaGa!bqB^sTUI1aJO&+te_O~L9i6j+9xMf`{u zk{0#`Eb%OabQSH(=slBwHdar_!^y@Qor2x!VS%4;x1<;H&U11F_Q<#!_j$qcO(bJ;{~_HVMMHHE*rSsmciBoRE;d5 zVuH!Bg%Lqv;F#d1hW+PHE0Mn=FU*B3zr-37w+KiJaI1W((|#T=Cnn_sA(!;gCysja z*B`ag4~d(n9{Gp{LoelY|1^0zraue|R?#eA?tGUuSib2>=Lr`01)i~VGLP^H1pTyR z5{A#XH*=BG7wKYt#MXRXHWi`b{jF|YZMb@>1R}w<3r$a}>;b+qqh$dFy)xL36 z{uys_Kc!}`SW7jZ`!64%3NtyAeg_Y2o%w48ejwRBa|C(iGSW6pz4d~?q)q+}tC@^F zOmW3p>a84to8iV~?`4Wzwn>^hbVa96cskC|L__z7NU&|*`wuitrX)&ZBb%n}4#qbE zc>90YB$K%r;^?sp`=-vlFv@5I%dM6IQqlK+%=eJY;)1{dNGJdFf>E7ep$mtA0mQWA zg)U=&v-rI_k3#Ayn7~R{*igrl-9Z66@O`qcSL8%yN{Zj&rk@WF13 z0|RoAP?6DYfs0^GVX4J0fp`5e|00c&Yi=mbMaFHsJ1?M^a4b3dDCC`>^O!w&rs03g zW7^2WD!q3fF7Q;;E@ep)Z2ad7&L5!B`9l_e#NtC1-(&Fu79XP+Z%}II$_D2N7WfsO zj0y{nve}qH^jk+cduH7>gMWu%u8>xQtNg1S=PfpaEy`hx;B2v=V2O9{yulhdC;^0A zx|@4_YLg>SN~Va*21|;l0e4pBnqi(JcvWVgw8t9ZRbq*x+sB^@$r;XU_FRc%^vL|B i)@x!&pTiF3a9eQpciCF6E!9?5R+iSjyYlpn#s322aL_sc diff --git a/oe-core/bitbake/lib/bb/server/xmlrpc.pyc b/oe-core/bitbake/lib/bb/server/xmlrpc.pyc deleted file mode 100644 index d3a0161d29a35066c7a6972ba395138c21b18e4d..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 11439 zcmcIq&u<*bb*`Qn4reG*zbJBLTY=ge?`9lJqP&T`wxZpvNogekSz2z2k;3ev-P2R# zG}+TV>aG!ohLmh9+3+E;FFpnc;6wg_1jsS)#fWb?dGPA$Jqx zz!|BE)m7D1uio$Xs_Xx{v~csE|6@B;#jlRPAE4yd9i@6o?Vxs4ucl&0?Vw@XHMLVK z+jX^5mv)_V1`V~-P!8ucR6M5!O|{chj-FRLEtxf^;TygPrrL zcZLr;7gTRi^;T7HsT#YedS{hx%Nysa-euLpOK+&&g{te4>S69>)myH*R#fkj(yQ|B zO4WY5o7=f|4d3n_xjmgl&!c3|4csse^4#6c(m^@@=|{ikJ=)l^>jX&;Z|TGh zdOf@#D-E>ir@h=g>_=hWJxWLJVUQTtr0$z~JWMn5ru#e!T)WN<_u(#AaLc#)!E*wl zWvOANccXCuyMN7YmFc}GHvka;Vkf}8J4!+mrHOkO#j)EDhC@O$GU*^NQ5eMW(KT5v z+I5rEToafQtpR%Ka@Z}G^vji|kW!6By;xThI$!0>I5luozEqr;r#Xgg*_-0;Sx1lv%u(egK3XJG-5qq{;PeoQ4NP z4rr`nphrkR%tVRFz#E}<YC;_;3Co;W`1kf{BX?^{179=^jEySbz2;n+P z{x&KNF@^Aoo_P%=1I1FKXi=-wrO{B{R;Pif5sC`uP%WVF?*>Z#PpDofwU64NVt6^H zUNltpmU=O#_OY~dQd@9RjlC~W*VU`Ka@bXuF3hUg=LVmtU^s}$_>ajP#ClC?n2+n~ zWmCPJS1()YMUwy@)TyJ)JVC(fZ=m-D9-yci>IaVE=2%uKzom}ObIJX-+FwvF+v-X3 zhH98I>R>@-|DYVl0V>d)IO-|)Uy{jZx$BEIq1fuwao$bAaP)U*cFv(PtOlTiAErs7 zMF`DV^yS+4J>4Dc#o&(EEJ|0>^9$w{X3D|aK6u#3D)Kafdh&xk@YCcKtPEZ?riC^3 zw8``^J~B&qc$B3k4b%8umVwOVMTk)s`oNGz0+Av8a)^Tf^=)Ias5>&+zQM80G|{rX zKMb;513vIff+e^dcH50&-67fSN;=+^hCt0JeapfEZE-fgoA!=80%*vNeOXFpSqKI- zP4u8W$oHhXuLJ1X+#?!0D7MP)qqWvg2YM|YAHH+*>o?avdiS?(-F*Je8dO{E53@8} zOZD{-nq#dHgta*8u64U>R==-V{c{77L?{c$?w~2mubgvE(>Y&TcFsFX_`6bDbn4DL z`WEZ$T3vbPa5|Y2LVy|^2jhrQ>E9B~uqm2E zc*q{ym?0n*Is(nY27Z+6rh?uFj~_qkaA)rls})wihDxUEvB?6zz?@7U-@5s&*7db&SfVgI`~NR2wHxM22mkyz{j-$3FD86hwQpwqtpjb63IDY2KccWf@)(< zJMb;3l;Bcg9HHua#tqMGz^9g0Nj_&xw$+pR^Hf%F%$=X+*Xf^#ezxU!?B|e>AD7nv*?JrbfjK z0W=_egFY|V4@|XNQ>#5N33#iiK(SX&4FZ{5{oHxQ3dO6it zAF_ITZSAf6_FKI*VIK&fwXK3mI5z2_56?r3e4kk2WFI#W76R-p0h5eFx}&9q{TLiZjdgTdSO0W=My@fCJDuk_+h5ul=xQH4tWf+lxkcB z-*swNYla%DaIY=Y8|h#GQ;~<9#~)3@I!gXNDqT7wuh9_2zy>@K>ym)N)+L!EsW}AW zKPQcOIw?es@DXv#B78*BfhWKjJ{St<6Q8Yc=J<*QU(~bJv$xSXBeb=!v=8b=#`j-x zZ-S|;E^VMiUJ$6Sq5;+?;9zpmrJyRbCH*D%Lr!sy{I@Yt+*gJ@UJ(+w0ldUPYP7rk z(7i{$)GeIMYN}7w;w(zth;?>Vv25In)fcM86k^1m0-vr ziZgtQ{+!rSjdRvIA0zmA3;=bo$Wz9be3pL$RfT}Wc z__~NnCZSS=QR~)-6v}k*aEez%LuR9-PykcXb{C+`207k6Ed7%yG>{2cNTUt*Q$K-K zhzUpeqH*p&fVQ!ILw*gz)#)B*(cT_#FgZ9QUxZ?&nv%bP7p$UlI~HYMb@ezhh(b37 zJ05ZCQNf6^=G&rlS`uFSXa zR2}l}XfQY`(iBCcA0n^P)h?nIn@Z^G@L(EG2wHQ)z&nVe=QeVuwz4NDMrMu!o@WRu z{5k#>LeXiV?UBUZbyjppyx(QD&WgO_-DmXx)r2(CI!#mReGBV@169uGu<5kx?N+;q ze=X6&h54M$BZQbIKk_kw&A*MRFrLWs!CKl#-dao8PirkG_Di zfy7A=Gq$rKKeu7wxNrxeo8Q{3!A@#T{BVG^!1H$EK2Du0$wG@h6RIkOY6 zpNJBc;H`ZL@xo`V1aqpD>tq|$lgHdBK_I!p^H5DrCcoTldWaCG)F$tYRfPkPPAjnd@wYp z%{)t{GdDqIklZzWmnM0D9HeVg!`0rKHl~os1+fWIQDS+)s{=jgBDxUXjB=Z1mN8j1 z=c?ucj!}YHv8V(nu})-V>)LR6$w!TiNQDJLR*-TuH;DZ@^$;5fz!G6|FxI{>Km~u}+ zW-l&VZsSSmC@%tL?h{b|AKUSl?4UkV_MFrql^*#Kd?WG>?35ThHfn18>yoB+RQ_&} z%zlNpVFQr^9RI!Gqs&_0{p4>&(?~3L^l8C!P(fG~xp1Znp=OjiXsK*mya~R1FZr$v z%*()^(bi(^pF6Y_p7o~sVC3gN7fs;6lA^s zky-B_D1|PjzhTF5mDm<_2+$X3v>l8+MR`KWu{(Ut0SQTN$;<($1LXX_#+yfOD>7y= zgcRMA@p~sQacv3{t5cYOiy)YI^6UX%aZo=+dBS}b1rY3RFC%h>4VBj0;w>DaUwdP8 z!~G8OC~=CMviPI8M8Qo-AijDT!c?z{i&Nb1h)1xAg}o0^iL{z%pwp2N{ zEJb9+Ylw^<+-L=ACgXM8;ly+7nW^!o}~IGI`G z>;#$KJl1;XL7bqE_zKxF)8=^)dqDP#?5x+v(!W9xWUEFS26nNwP-{9@kS4!~EbtNv z`j{}6zf0(8Vr zQ+1CXV*Q_^SYN!cxYTa67us{}x|l}z;=F7VZp$7bOCMsY{1`Z`qvT|Y!V_2GS=X4E z;&5e-s9`oZmpT^`ML9vkI>r#NiO%HAiEBBr3{!oWVG(kwXrPz)?qE-WMsS% zo+a*|3T3#)Y*1#6Lz$dmaw@-s%@i&om!LB*pfrlV)`L1Og5JwxkO_>ZN>NCJ`cD*5 z1jtP^1JZ7xwpT>e_cY&=OVRJatv_){ykuQZdy98hK54S27FUb7oA8|& zC7W>Zkx!HFLAb)Hs~mA{@r6hb_P@kK)6-ROAe$3zBm#u8%uiL6h4COY%SgUtPGZTU z8WReNdY?HNm$4l_T?@KMgY+k~ba@^tTNkZXi=;6F{PE{UZ(_PdYwU7ms}vI(E#GCp}aUu)J@oy$lF&pGFpzHqC(xcv62 Kw>-Ce>3;y`jLwt* diff --git a/oe-core/bitbake/lib/bb/siggen.pyc b/oe-core/bitbake/lib/bb/siggen.pyc deleted file mode 100644 index 211c51c641f3555ce2edd9430ce317b102ecfe78..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 13052 zcmcIrOKcoRdamvn4ml$ZDNzrKde|*XvPi8(N`CEH;K~w3TGB?QohBuE32{d~(@nC; znVw-+QyKwea*&Wka!B@(EY?0{kpxJxry!Rg$Sud@v;hL-m{X9;9+Cw%$i?}-zq)5M zvg`!NSZ3GM^Y6d@`rp;g{b#v!`Io=GS5xV~0sLOaqw|(hKK?9KS8BCWx74bY_1kLI z&gwa}n#<~WwK|{zOKlaDZ>y(RGN_&$%tnXQYEi937gatesqK=AzppIIN?%pvU@)k* z4k$mzrB-CAPyD=k1|)`+54dHu4h#zHd8*WRS4WgTsDcsc9qROsDj$GGrMJ}S1ri4Y z)FI^$OJz*?WvLui{)kkLD1THcN4fc>$%CLq_&NS9>Je1u!eq|d4yKpFjaxyaKS0-= zMynYoVYK1YJ`QW!^}t#8!g}COJI)7Qz0QHESKD@yrsFw}g7}G}>&?eb*l5**Mi3=l z5;mjh8VIgP{sNwxc=X?**ib5wjc!@o?)=&%wQs4!R(ohmWqU})2UU_|Pm)(pZ8lN= zo~?Ecs(s8m1_GQ42voZS6RAqYw^bNJ$IpU`^Mt@ z-31qum5Q3pmi`EpJJBPr9{P?BHzF_DjRR*Rh=SNlnz3`?yuR>;v#Uu*KUnv6>xpxL zD=(C8JOZJ;Dk$EWuCF@hwYCBC4W~wuvdTyEIgSE2u8ok2Akvmn_pKe_+@(p*UX;=x z=QV;!t^~D}n!XGYE7h!SP2xvMp|7Jhv)OC}Gxhf4H!okgJoDi<-+Jfrqc>-~R!dh} zakDnl3@+80aWGR2lPVZzrXE&js?{0n6gW?}p6DWg%o6{0E53FT4Z*&kCJ&&V45HYm zH>+Mp15%LO_hMPO9Pb9M zY>xx=CeVo!@?Q|gU}qlBRx^wy*_DtqzRNyA$RMw!?gu)I17C=wH~LH*K_iU9WE8K~ zDVXrHiLlCZ`>{v)n)c=UHr1kf9zu&An_iEz}mNOzvR{0yTI z4WnM5t%Rwet&DnE9inRCoT74WqM?QmnFBhg zugi{nFY)?KDWX@YkXDt-S-y;~RaT8J=JS;(a)L|p$}z4-F6k}D`^bw!=%}v)+x0Ml z(CgrJyeq?&^ySlwE%h+BvnY&s*&xGdg0nl0n$R`z^tK^z(9#LHf|S1L)i#5EZ(ta} zAx#y&a?{hBQ)p+KprYW@yNMULf)fnMDSreJX!jJVUk9c-#gycD1MkQ%&B)F3zsdd+ zC?F?Ljm9FZ=hQJMNn^*CCW-W-9zuCuPs^X2$h6U#+(@jGIBbd5FuUU^=)`NZsvfXl zYaPb15<$Ddrr_W}KxuF&XeY53M(fRf6QP3zUp_;WQt`+r@ReuP%W5u_w0oAgQ#;4I zQ4+#bpxQ^XkdVRr-A1bdWlI{piFS(gBn^QOuOf7;RKx^SDvhSU3))r$uS&&l)+!az z@$NCKa3@&2!op#3fyESxF6vV2i&+z$%y(%zPzAeS73^Xz`!Au$e$htFc{;4sFeLwY zBy)IlfC5in6uB=x;wn6tqNsK_n&KbAyM&IX$?fWRF^6DV;6!fW(-D;4MI#hvqSC2Y zS&yAna#QWH(Y5J|QxB%6FD6GZ0Qc+mjiuXjHR1R~|NL>wyU1efgWinl{S)2(`#BxTfy)Zh0EV!@eYf3QAjqR>vS47c?bj4N7Pc?sb;0X5Pv~7L7|L-$D%XysDlQPs9Z#U ziS!aZR0KUF4?2DD!~3klM4?xzyJ6k0&@cRu_)t)leNxPI*&4G-_OLZ>744Gfw*o@0 zqJ&-rjE&f3`!ITjt+I`oRsl25Sx4+LW|Zw3_eZ+(xrs;2IOH}yDN+aqgSi_A3ymWd zrvQR+P(nZ<{E*7LNLSuS7x)TtE_?|dJI1+^13~OIj*jsOtgv?8Rx6?#$qdF#eH6yY zu2;V*Zt7Ki7y~eeb1;Q8iQ>IqI~0VXsP)#}!WHs6AFFTeXa?L|JJ29x8@_@jGb+)G}&xxTkA?(vBVo*Al1>-p_(n z9+-OrMY?}4u5G&W?4)gefe7Mp#z8HFAi|^@pLmgrNf@v#d;3fd@rjLzuZWHRJ-o`8 zmE0+?;Gk9G$rD>5A%wAER;bUwW}wD6ED7^m=o^6gEHJ-DvVl|sqRI?cP3*(S{HY|> zBw;|)Vp;QRKTtF{Sf6Fpkm7`vr22$Mmt$puni>$r$m|XB2xxGiV+WM}q1w4Etd1Vc zDXQ&375_DLGZUU-fXK%b2BTsD3pQySh<31?pvsnaS^%~JZ-^QjsXZV81rNgoO^-i; zFS{z?ghe8R%|+R52Tvqw7GDUuIMhzmOq?)ssK}@mkv)U@31SRI7ZPbO0f!klTcdlQ zIL+7(;`c=<%GuCi%K*4<;|PS4;Pq9IQdnSn1VybLcu|FOTVAs1l6BpC93+w(adWrj ze!@ORJT3zO8CZvkstY{i)_{O}i^I2B(6JKN{W%#GoqLL-r%{ObZ;K&u@3WJf>aJuX zn|)?f39^0+=$a9bvPP&8@!y2?8vLIEQdftqL)LNYDD@;|m=7H~VOhGCWE=SUsDL$5 z0S9;U2b?M76%t8MZg&1E2e|2e@5cemKf|M`BNV+`o)wi+N4x*m%LEM?o(bi%%qD<| zqg6^z{6M@DFerR8xJqb3%2ENP;~{k!rj(NVqcc5op!BmjBDpdL3Js3nR-Wtvxr9U- zseoWu^d8X$Oh_I?mBMZWM3Q~dfXqOALHG&I7&J2scy_>@1Qgbaom$CEf(!TD%8~$? zZ9kOvb)n9$eJJX~$iDFs-?MgJ5pf4H5Nkq#yqlM>Du|`v(*c6V0M@OLmj5Wepb(3+ zL=$!K6a~zI4z9y$wtZ3XKcFV&*G>v9vMzh&a0>Y^trch>h${3+f;baiGn_-@PvHlO zw+wAY7Y}Z77Jo8bxM!(9CJDLD^@AIADES((4kACPpT*QXOx1+Rk@lGZ_(%r0nt$!yGe+=c@Z-k+kO~thRAVqUDIUG zseg>U3S+Tivlx30AG&wS0QoQQXl{qfXcz)~)H-LMu}{IJpkg`-byUKC6HrQ{P*4-rY1{N2 zvQF72O)yK5@7UG9N2C3B!s5J^`YYZvwf{VAQ;6o*K4tWVs)#DYn%7JwSg^$K-BLTR zh&41JUmolSe#8>gw&5p!mPW!*BIuH64J77W7UsNUO%~FDc?k$M6AR5$vBMMaw4dhT zCcdIpc1o$M$TKsXt8b%<>pkAmT+pz1a4~$`+?m9P<2M6iBpY5*+jNr6z(F#?c^o)f z;C3eqO?+qayq-Fv&jHvn<}^Yr3joUSEmq)q3pUq_eEdw3IgJA;_HLEU4imc)$M68f z21*{)cw;;a!(y~=V$6*X_7KfJbC3v7mW$N?fEQ?nXUaNg9RWL$VNQU7Cap<9_acVe zZ?Ish`MLZfGXdgYn@pq_`EELryL4j|UF@Z%ucPn(d&}lt0uX8zP3xMbBZrHF#hKzr zu~-}{=8LZ-^clV+DR~<@r-otq2TNxXlgwfUy@|UBEBnFXU88wD!~vj({!%Y*mxY8^rY zPZb~lF1wGVbL=-O@Y8e+SA&9KrzILZ{53ASHRokHeq{Q^$&g4Du9tos!fz9HeGSu0 zs)>0pNs1d@JkRFqEFQA(P;}3=KSz22F#iRQ369`c9kuCbNix*!G9eE_a^2nc_mQtO zp#L+Gpdw+CyT!~=ei4v%S;ivRiGomoE&Gh zI^FVOq)lkIyGdB-GjX6?RGWJOZb>Xxb2kyoMY}I9dRGB;soa-SmK})hNj5_*0sFt= zrQ%m8Sh6wP2iGW&Bsx1=q#fLgEnOF-CmG$Ulh+r5z_CGD6Q-^4n&ZYdkUf)jpHWeE`t^##g z6zKxma8kN+zz&@`;;z6S;T&AsAO`>l_<8`#p=%+KISF5W&I)-4!3uw<%6~4=d`~yM zlUui`qD?o2+AIJ*7=hP<&kj4VzX0l<%(J(OSLt!O@4UFK2D>p2BKGoaZooxUzhQI>;m~FBJqFjHPQx6aW z4l?XuiUf&|Us>&Ytjw={he-}&{Ze~de2#P({Qb(7eCH4p7d3LKUbWCP?g4IaSL9CS9v$7FmT z+>JJ-q-_{~;Ec@)5BJ~-icIBtDRLy+?%`ZUk-IXbOOd15ly}V(oZ6{;`x|D*j_er9 z5O zLf}TEjxZE;9Frjd#)R9jd)|hSLZ9XQ@h=(1H3n`#=oEnoKFi^cyB0&r&%zcZFpR5` zkD=bCFZp(jI6FvC-G5E98?sXo>bU?r47P-8B6GZWkiq zhuC6NA`_+oQAg4OddY;b3k+LNv8s@Nyo*EX7wSb2D@(FU$e#I#8O0(fZChmC_q^HJdU zTh9|aKddDcKU`n`Zz6XDg@T#q4Fm5U9K;+9RV8Po8$kwN z4ylk4J&`o^m(zlz>^-F?5`DiMZ)cLQft!iQr%Wn&8!#j~x)-%1=M%dPc2O$?{Fb~u9yO4ye2v-?o$@eI7&fmT@eZN2ZI=*}u=?2P}TbVv)rkpb*47TqjDU$_n4;F|Q@H>eq22!(H$T4=)b*p^~Kh zeuX~0jzYmH8|Gt=4m-FUJZ+oui1oUC#5!TmAaPJeN_WEGHySe3n*|jkZ@+B zKzgzbO$~j|E~s3zi!$Dxk_K$u{Mu<+1LGKR0?i;C9^)A8glZ+73tN@Vg`)#gfw{C_ z-MN2+l$6BxbPImL&(Jw%L|#Zsg;Xrk=@=_p?Kfl$o<#-|j)#FsZ=(zI-|?w^YUIX1 zqDA-nC`B9gXid?Ev)NFOHtZ_OqZsd%D(F5LX7W~&yP2Mo-Ye)es_i0b|0mUkdnl+w zQ9R78d{Ob332*a#)T=}XN)(Zy(FjICXk_LD11co#p!f<6A`s2@iWGVG$1Eu6?jN#P zKw&ZpBC9`T9~}Y_ynb81=fC-*D194@Ec+Bm!gV_?-0>W;PRcWE9mMrK5^v0D$$glZ zW`4_!yE=E1z5LoodJ*VL%6*Oi(dqs+iw7*I_S`>a@iP=%Vo9w(*?}Pdo;9C6UIVd|ejNq% gg8XNX+Bs;BGFpf1;^?vQV?R4~pjbfKuTZ@6KOO`?HUIzs diff --git a/oe-core/bitbake/lib/bb/taskdata.pyc b/oe-core/bitbake/lib/bb/taskdata.pyc deleted file mode 100644 index d0ac5cc0c0492ac5bbc2dacd1fb2ac1f520d6299..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 19044 zcmd5^TWlQHc|NntyGW4~B}$ZJX)Iac%F)fvT~X!8qNAj?Xk{pyiDP-Qu>o47Kwny*Zv|2m=tB{pK>K~)KQp_e zD9cHx)Ry+>oHOS(|M~y#znn8J|JTsKrT_Tv*XCXJUm5>?2EXJ>NJ8h{K%4#E8iJECGt+$#31AO9#c;wHw8jWb4wSKJ``b$U} z_2%NhK>dI5-*hs95wig=i-)yBm@_v%WnAD$4Yw==~PWmggbbcvH)V$W*^jpoMO>3c}N8;aK zs?RU^^R=cw7x{6txZbG6ezdU~M@hn$vXM2=yoVKVDc$&e1i$1wk_XP+IqkMQF8Ftx zTQ0fPXZS96^O|=`?sadi%&nWLaENKWPs)+vDCJ;UZoBrvrL+sR&Du(&4rvcc_G%U6 zT=F84i%YGQ=wf5z{_~ffyL9p9CqDAAOZT3?SX*69s;hBp{$eXSKi`U@i*xmK4!e1= zQJ=dwH+M0`&T-=|tZpX#80N}i)a2`4J;Q;yrXJ5G<;H+^T2{dIq`hn+N+()}+Ue0A zttch8#8FlBsAg07oR#yt?qM$_n-+Y;O8&>Eq)BoL^o_vgU?QX?7eNjn1W!>iz6r4a z`7ZUIXk!`GDN)qpYxU(1m@<47sphnf)#tP-fVL`;-}R;h-|3 zE*w(kfD894Gv>l!We&PT;oJg&^sE|{sDAg!K7BEHV$T|!NH-zn}Cx_Q!= zKeEVm{F1*$f)#-Ot3}4kYf7$ekIH$bD}U6TXL|BXZ=UJPGyQq5fjqM>&kW{mhVsn* zJTshUMktJ2*r&1Owci|t|W^|b-o5z)It|(^+ps{(K1OnURGw; zZ53Q)B9N-hwc<48Yp3yMt&w8nh5BM5iA&a&uOw}#f}=l!A&hbE0?2z^e2FZBykR+1kq6Ya zDinYzM`p4HV6IMG1?D%|qUZ!sx*k(K`k$Zjo9ioc&|M2qUQ}FSJl~kZCktGVNV41K z7yNqahpi}SPNq;vAn!SUK8|W>M19t7Sf^4E;W+8&KO+GU97P^QTY@ z_-yaDghBunYywpeUq&&Z+z`A+ywTE=q&m>({ZSo)y>~RH2nQ#b_)MNg^2DjkeFl{Y zQ1$S26nDNtMvMY#7qz`MzKTO+P7fKJl!sgCx0U4xp zh#fsH{+!#$;RE#(Q+H0dEuch6U?NmuHMG(Mab@kan{5JpXo*vtlix(L3!Q6mT!T4l zHf#YWi5a{!fouL^{a)1ciQ8?6FovW)5HSrbhyucDX(GY_ph4$&RK~lRoni~R!nx6+ zb3s>7F;n3iCV!4(mrXAAwNMkJS$mHc%-3RNdy5~VF8sMoKa3V?>y5PC=ham@ZnZ{Z z6RwYx)HFS%dNWC*S_k_`!%SC*I>9qc$VuW9whw6Nn2^$H3TRLT2blOsD%{UNyhcU4 z&Yxxu)%M~!aN3z^yY zln4F{!LCzx&U;`eqDhb2_!!w1PRRrq29M6TtzJ!u6x`nHFya=t5!{NjPu#lpTW*%C zvL@YX(yvZP``yId0k$V!!@gk}+{U*xe~-<7cORn#Q+L+13NSi` zz%0G8lRoKfds!?;3tT9<@%*(1v`Q>(kex6ZdQ*h3DEzanYQRmPCl|S9YCTHb|UhIz37{Kckq;T5on`$Qkr zV$LgTKk#NzcXy2MOIq&do=K2xu7jHEUrL+{s{%tD(nMQmh{CuPhTX<1?!kUgY|3qo zxQ$P<@L+@+iS>+jtOsMjO=+(OWz2e*wOY^h((KyvrCAO)+&LUxZ@1wv%X<#@9SryN z((Hqwj#oUGzan`qe`T!nL)m7t?ueM>XC>w**q$3i_FelK7H9o5&W?UZ)$dIC;eKbz zv+Q3XXe5`B6i|3A3}K(aNfH3IRhpl+WHmE@F;`2XqC-F-O+Jp~cDzY7h=y@=zJ_sX zzPUC&4U!l98AMIeB{r!i{#@Kzj+z%PT$q-HtSRL|t=3{#&E`$PBa$OVwR|~w8|h1N z4D+2P{F&q&P?gW4=KLm#vey-sf_s$K>P>(0@}xh%REul#@B{}g__qn=li8q?ezMeB zZ-fj!C9BbVeW4zOz+b&3CRp(&S8MajH3Vtk8(iiBC&72n)Lc!SfU4LT2!?*!S7Pf+ zPN9uGhP9a1SEAjUedwWPaWvmrLCg=tW*`jjW+PVU(52J`T#h_QQwkHT;*#d(LrTa7@ffdMnq6jTxdeR|07ROq23@FCNH3pVv3_nh_!UMw*U(OO)LVl@tn#qP!+w3o^#VJ`Wid9Bt;>eR!4gw>3;JM2P@XeIgo^tnL-J|P=tMRU4iEC>qsQKBO1>I|2GI%#-*-?*zJkPc50$7Y$IHV|l%wSy?~r%E8^!Nn`MB5P9m8+X z^S$5jj-f>lOu2FIuv+(cL;5p{nq$b>zvHEYF!+YNKD6Y&@(D>tGS7AV5)zGoAyo^Y zp>b`Vw4l<;8N}keK@261 zx*e}uboR5gMiR+jlNn>NQ0|nu?N7pDp>!Ne1pxadpSrDO3 zw;U<5xWwZrcN*ga3=IYJhJu?&b`UI>W*vT(>{Y;+hNuXYEjf#`{VS@slZxy`jN!l6 z`E(UY#$qxycCqKo!ZUmB&D?SW8^UL!;WS0dP5~gRgI|%WMb^WGfMEkB*3&C&D>p0& zF>^t5K(oJ{QQPJ@O!`^_0iSTw=XnG)(mCG(JJJsb^WS4=558Wm7->NlLr-^bwXAls zw)uaggfX+=jsRLuqZMtEkZ$jHicSKdrIVxo9d$Y(Vsyxi@h)HjIQs*%T?<%bK~vkV z?eekL8+IBKnnsmGF|<_KzG1-^*n|@Ggf@%nkejt#s(y~z-M5Rt%`Gbc{9`CQ62Rd- zJg28PqJ(gmtq$T;Go& zjrqAyWB!7Sd(ZB)T~@I0YQDe>nfhS3B{Tq>KwPSi;>RD~I-z??2e9Ne>KO^A?!3j= zQ3^N##E58ctKti8ZN!0WMrWdr4trVbl9qh6qXB{tdW!v{mm=?v7CeT)-&xdUs`NF? zUl1@4@c9H5hMhX&)jT|HO(wu5!y!9vW#}5#v%lV4Zno|>+rm+yF{TK0z+6fS)fbyM zqtr13>>1e5^(avURfbydDtn0kNgms?7ua_I$$Ar**lOI1LTTi^-@@aV1Yv_}d!lXN zm5g#LDJibI2O)z4nI*(f)(3A}XR*vjZ|inI`=vIPTcV8($U(M=G_8YMOm^AC;B`LW z#_s*r@!)C4*5MWNLpc928%KaBkc>m^L^4PiWRbB&3)X%VZ5~bBLOv)!RI^1>3(E?g zsGB=XrYDF@oQbr_mvxcU;5HDE9%kHYY;Jh;(E^XoDwb{L4ak!jLIkqFcQC zL(pQzW_}~Xd?Fll?M5*|#}1Z~Q$^z9P?cVc^^X82XHeRE4x?%&6^nU3K{8SZ7|tF+ zSTREZYVHEuDTOimZ+7TX~za9-P%c@ci{-} zj?gbhVye`dzn;LJq{&&EYvfmEit#$^$zlfrp3rodCt}<;P#1ie$&(@eD2CofeBKqg z#tk5IgO35l+=64f0P!C3^9{^Z5a)gKbB?vUAOYhSJNP3I|?5X@pW>MSeL078u`IJ)V}GV)wKU5$i>(KW1}2H_H-5p%HFV6@xK@ zer3e`i++PKx?9I?nWQLMM_^dKiibL4P9264)d-#24?}N6cIOW$m9(0bkja)g78L8>|0klJi;`xXPo<@}KSv$n#wo&tmKf#-B69*c`gJ1`6 z4V;m(^Jbe@To?QrC^qoU@_>t9bDpO|*)A7fao@l#NYj{hh?=`CgFNRN~fO(!-tbZ}9~E@K5B;bVnybJs=tGTpkBm34C|rBKGvN-K}UnT28j>f3l` z`cOxky(rEvEb{hTKr=^sw)ZPgPBHJGG*8V?#4(=;|BhFJjAKNd0(Ll; z-|+I?!|9`%#=mECYC=>^z|`SHDC1-jW)DUdf8cQLO&o7_^B@%L1BjTq^GtpKiW55> z9&!ha-86pljkq7sYZA$c*9W zBSw!nL3ZpluUiPf%+gkjpcv0OD|b>ZlV_62juST?B4J{NpP&bD)R^Fi zELq_BUxm*)+~7Kkf*Yb?gqu034i^^caTGu!yWkEJBBY`nx_63`N&r=kMM?W~O&2N@ zT@Q%Arcr1LtS&F&FiTfiZ{mgrE@MXR?w?}Q%S-|$FC(cC94wyFV6K2H9j#$2s&=52 zQ^l@~ws5NUTCTYVW`Blbi49)gLTj&aV>iK8}p*J%F>QVVpS~;#o*( zsPwe=94>Nv8s!tvM?85t;+^rvO4Lp)k3&-xz{vL(F#hz>zz9JwMdi8ptZ=IkRmcVe z9^zrwK9WC^@Zu&$Z=Ml20ym*%GPs0DN_Gi27#h-wkRAk<;m>jhfa1;wE+eR^0cbWW z;OG4UB<=td0BMNy;~XG=oCD-d0p$B$GC&V&GMIet)dJ%TCUM6FF!^tUNgxhk5_yBk zQNiR-9tD$tKxl+9qL8_{-!_=+TrKVzU@TnU7meR3dE3Eq)ZG=3%2I#=!5VBmi=}OA zxLtY#R6n$aeI-HlFTaL|02|x11F*4K0PH_0tu;#o>_dcNe0YFcG8sT;fDL168(<$% zIRorw$pD+dh~&4C6lj?PcJ6`}vio@8uB7;gBvCL%XQ#Lg5VuzRVCtn?FHKL)T)cJd z`pegDz-Z>dYJy7((b;0!=>Vo#77!5ToHQdax_xx8i6a!u5bKxW}jWna~$_GT^Iw|Db#| zcUI!RBoa?yLf2zR+*LXR{QWHO*O2(yHYENqka)1bWt7U>aJh_ey6~fx6fPga@H7R1 zly;vMA8x=}HD3WTpMk3E#R<9+))M|HaRBbY#-cjYaD1~PS}7RQ@$HT5IpAP|=ONY& zz7QJZCMQD&(I%+VFU)knG3{PvTSEN z{E9D^r5qo0{F4k66RyM`=#It(0sFle`iaN`Pwl0MEW2AP&c zl@JR)%au!@(X359a+wL^wb|!o za_IPqT2I@FljP`Qn9lcmGA9%PZ(jT}Md&y(u9w$2j>15(!109g3?Wb0Q8=Nz5RDfp z8YPz?mLll@=T5+V!HHoLO0lyFtq!9)6PjF_*q*GF2@Tw@LTED9mnbkQeS%7M>dtr` zLV}o}ZKh{d#QG4J>`t_F85nu$&Mg@kSP7ULcUO6t^)glP)Sc($*7fS*DkRN9P(ReF zF*bUD@ppmA>rJ83u_HMv7mF{75A_`@=an>L)LMgzl(I!x1jjGcQhXAN>qrs+McCV( zNilCSi&fkfH$GMh25y?{@$1(PNojjWo4jp^8-$2%DXPWm3xUZat{L(>w@eUiswFI{ z*|G+}D^CM-BmXh@xV}M{^AKWCa`%5i+t8ozy2J z!INhNr}1xcNpg=dHJc-f^U3xH)&KbVRx0)(crvTJZOg0V979L>*F?Gr&TNMfCqqn=?r`-P=;P91DMYtdW$f=d?H3~|00jx!cx)=aYo}X zZ@-JbOJHYyK*;@F_l+X93s+bkqlfXnh~F$dCA5SaoGoXzV>$4Hp#pYY&X0=aAS{RF zj3SmS4S~Dz7!RJQ7DWQA{RmV2$jy=}_%1--Um)NMb%&>i;q4w~@C!u{hz8(@yOmv) zfgd@eyDYlHSO`L3mr-zIuK{4rucl;(+i6sp+0ni%qyLM5^=3qg+9S846hA|_WxeCl zHUej|gv@#(s%0~WelmsJ2yEul7ugsz zbipPQvY%b3W?TsY3UFc?cN|$1Q6&o~F{~$yeL~kjsVeB5vFK280cz$^gPcL z+RxFiusr##6FLH6kQ23j(mB*n=TQ8#=kY@!#FGzo3}Ko5fDV2LfsYY8bm-Lj%Br8> z!xTs@K5D@CAN=&gKD)pL7>3yM2)F%DS0HQa^Y~sb`#+p8q+OQ`(*Kc-XaC=V%laRB zobz=r1u8nPrMOtL42&-8LyCk}kzYBJoIPWf38SfbeZ-B!J6R;F|_O?a~(xm>%2 z&dbI+$2W6QcIiRZ@l4PzA{NJXA_P9vpn8|dn!T-%3vZ7{lk7@Ibx~FS!d$f)w&tr<(*|TnF+p&GISya|{|s|{@8CR>mzn5Zrh;lZQJ7)fZ6?ww z(iLA~@l7T=;CPEU8EuQqtuSFc-*gIJ+4RiY%>6EtKSa_dw{m;*(SSY{gCj`K_dh>4J~)B=F87GtY#UeUha*y6m8-K;N`YNZ_t*D;SLFl+ae8|(^_kV;@r0M_w diff --git a/oe-core/bitbake/lib/bb/ui/__init__.pyc b/oe-core/bitbake/lib/bb/ui/__init__.pyc deleted file mode 100644 index 36a0aff425bf28e5589d03fe7521f64dd24ba274..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 156 zcmZSn%*$o)?t5r50~9a8jPw%=3X0~7^HX(`^NUjTlQK(^60?CSGn4d_lJrY6_2c6+^D;}~ a=Vg>*o^CHav diff --git a/oe-core/bitbake/lib/bb/ui/knotty.pyc b/oe-core/bitbake/lib/bb/ui/knotty.pyc deleted file mode 100644 index f57f19f3552f29e25abb2aa9dfff82eac64ec96b..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 9094 zcmcIq&2t;cb$(in+1il(ke>3B%39%+yQBx6DKDx!DmR^tTczEd0t+M zY>tRCAZ}ioqtdX%$;&T<<3HKFAkLt;V>((m866j=$j;_PaY_nY66c%(6BK^EJcNyT zf51=K0u&dxPjBCgyue@W4|TmAx7BgOco6doUc6A-b>kA@g|#r)4&5j^(HZG1*wEPp z04{h#PEnQ_sjMr_dKObTd0n&Z@2wd(m^T&+s;CyC2@2e{%2RPwwu2G+*mj!asG}k$*a344Di71g+MeDLPlF{8KGWxZ)TdnH;s?~PjbX(}^vc5EL zS0w7}Iz^)1^Hw~8uhqa`@nbiv)njkpO*L7^jQ*VX&nM^_|8X;P0uxTZfJY&gEcGY^ zQbvJ6ak2^&=wsBs`WV@h^P&wA$os^{jKfsbH;q%SmWin*s|*8D#Z?#|r^e9x28?zG zR3i#aqt&SZeki;OPLmk#ZbDv-62!*@(u0)@YlN_~uA5km=y)^H+}vE>AsfL~Gv@d~ z=*6yaO?DftZnUFeshjP4!rSsoWg5kZln=o!VmOF3X$@O-Dx4qgR(DDrINSwCR*fh` zP|1`IqNwYB12R&oZpW#`?x%p%U8Qdd%Af*H12}DpQ#R0y#iEeffFzy3cjrpRmB!Go zjI+6j<{Q;GSvQc8qMh#oN?dEyDi_Ipgv}@#&1lh4q!}uTouC_6R7fV0$|W|FY%Zhe zt6ZVCo@$`7O{*%wTiK*V~8`OO8(}HU_ilVD=PdE*;GEPXxyU^x7sywDOZqUQkw> z1!)#}HsZ)&I#QBeo+B2%aHQ%DY6rH#fhwKJN%*fy^St!*$aP#ewY*@KgZi7x&5SQ{ zw3Eu57o0pOKv8-{iT=PN*~3RpLDtd5L2N3Tun3i8DjC)zOESrY5V$1qi0o!1T(EFb zLwCa9Zuqw3;!$Z{klm7mu4Nsc!}(@NdgoG<7x0neAtun{VR44#_`J3_GXfsf_JV9< zc1#Xm4T4QLQ#|^=JUpz4gCY)?kYHSTfJJr-68@9b1BHU@LP!5#tzoYRuPn4Z=pGI_ zZnSxc5KS;4%}K^&Xl1Z2vNBi-5%#PM*PNFy&T!@B6qw>s?xz_!z9`2aa*^ZCh{RV2 zLl$iO@Sen1lkU=2?<@9%98ZcfD!mC#^d@D>xgb;cZe+P+Zz;2}7n5adB!j!WqhjT< z5VZL&-JtoN><&oy*O?yFQjke%2f~hse~r6IkgjPc{$r+x!!?mE2seUho4TZp{yWph zo|avUBSuGbvg@gilA#k#-H_%@6=^1C*pkYO9AB0mv@?^7-yA^@o&ixAZHvd7JrMg4zvbsPN|8n$l)9&5Ar9she z-cIMRq5sJCu1NEaI8g3YbHt!Mu2774j>l>M^oQRm;ye|B5o_;v*}eU&GpVa!g#GLW z+1@2-3(Lc6xkHe=B1>PLljC=!_YTC~E9Ex!uI2Ww=k{iDeS^U~P|$~}ptT$o`H^b< zW99UwF260!PZaf6s+CXGG*Hsda|z}>aiCWy>{FsOzoWYyN?bYd5wHZE?<$?Y&-K9a zzApK*KgRNViaI+0)ac(5PF(hV-LNy2FeKa06#jv>Kh*YfZ5Om%l*Sn&@x|$ z17l+33(i{3yNviZ_kzWbb+MiAjYxDQe?kIAKLh!Rrju1^K9vS)1&sM5e>P*Mm8_XgFt~#^#Q}%s%Aqxwgz8Dg zAlWYwGI{5^9KS0*9!4$^;P{4w_F$r*8`3j_r)Ain3>beoAeKLo>hfkEl~1pv^g_bM z;2|ayUiu2@@4Xa#Mtbj2IBRcZaN`VJA|wAqh5z?KF5i^!)u8jf9A8smX9*-KK&mmB z@6VpKs`XYhwr>BBs7h?B2}VrL1!C#udH0Wqt)~` z1?$*`zTqMs6UdbFfhNi8#XbBHuc>&`MaxQyB1r#N!MTk*mK<*GB;{XAq?TSi$rYWs zKF<6bI4mnDk*};5_-xRB;EZDuc8a}eiFd`hE6#^n635hOvvLm@hp^QcQYi{2YRt4a zNRZcMf>V3Xi}VDPtnjZ=8Xt@EZH~aDh{9L^y)VRF(vKD%^t(F_}IeB4WWp(lK^QGm-Pam$we7<>Yr22Seb$LC(tS&xXU4QzR zsL>T*&Xim3zT4ux#I5MQJyUMuCJA>gw<4T$aL?n$i*4tz=ewWdt|0Iu9A0pJ5bxl$ zYsZ1@1ar3iJaX;X#%ek$t*K%x7504c8wjG3a*!BCkckb{~Yu0XHqD!u} z=L2rn$ZAec*?OGjJw@Q_19Nl}0xSmImgCRHHpH_Xw^8f1V!Ix++cn>5LDp$|CW>Z& z_~Oaq%G#p+KoNi(Q|wcS_e;R^fXIr?pMU;A^gg~eYM!D}u$jm<_at^)i*_UK%sklL zk9feIq1Gb1-0>WI-_l3q*o#|kG>h5gO66(gzWq4ZZg?%%4jOi&=HcPMwWAo9Ne(v5 z<$6;GBpZ*vHK?Q23J#+CdSMpgkqgIr-V@k8qUHc8K<;a`kPjYq=+?asEY~-GRrrb{WIBpr%O2qg}7lNpRZOdIGv(7=+PW zM9+I1)EreQsp*9pM_gzEhWF#p1KUOzv|*%<>pQMrKQf%>qIa--(U{D358Zl~CRXjZ z4prjui9eb{(}s0DNN(dvZr^j<5C(w)Yx~e7V?fRRRLmn%!l6&3r4Mur#GcOZybp%Og+iPZ6Dq6B^2 zo}Gzi?ebPP1}6TNme-b7m)31;1+IfQal->Vp}{_TT@RPEwin-u_(=apNU6XuGN1qb zfO=7{)B8;0ewe6qeU)E1(x(8FSC*(X7!E3+=RJePbOHm3TI~Zb-hr|`28)B3h3x8i z&wX5B9{7w^KUU?_$<&^ubr*_r>@VD-t)LbQ4HNJ41OLv?-7x5zWG;Gg7QIA<*9ayO{7H&sye<*Fa7Iuh0axMuMe_FG`O2gI zi-lIOy$yqEtyqskx7L2dle>0ut8)&Dyw9*78$xoF$W$ zLGXds;yABkA~)_M^1_1rFvpuGtVwujjl(K8?b8{bg|gQ>59imMjX(ZmH6W?-Xym~A|LwyZU8 zM-{KDw2-PSM>4QcrL!{4%fm08H-6U`p6;yNz{3NNCkk=GTC0g~OD!iLTQQ1}T z0-~*^YX-0}%T2WokMnr{ZoFnSNJ$vWrpp;b)uf&Sl{={-Q$#4Q8vJPx(Lqv8Qe;!k zlsn=NuF1fur?ymMm~)nbCZ8+F@IZ8sFG2b#QWVW_npL7$5?$cIQ+<>Bf(-3W62MGC zi-F(pw$+mybxy=8&Q8eyRhSHf?gP)SwNSp*fGIPRTbM4EeRx>lw_);SH6KF(2dF3} zm9+Yu6wHc^(ee#6x~<3!aWt-c#y;ir{CcbFxJZdcsQ`GEjnwgZcnMmZi_9 zU*X-l?%TMa%0VLWQODI?dx3_y$pPk2p>QG_*T3Z#5A=d|>3A9sMQc&0ezbn;FWC zS!32H-n$K3d22+W(M%R&d27JRStY!C%vs~O#4lO}j25kdY#wv{-=dYpx*`1LFggsX zdB7t|VZ@rUZYl@T8MB6S(~6VN5R0#(i{Ll_Z1xO|A;1?fGoBd+cSG?Ku=1cxyvqui zKBUN$!2d43FTFNX0yT~mAvA~r7LFgnWFVUWTXXmig~~_lvvQ%|^~?c^xdz7plzSXvDtv2cPDotq zMK%0SK;75Y%U=|wNw?>j?E-pwLcD@ik&IWwFy=kGg*!GE@g`~Uv$ai-c& zfd6}FW`-_T>IA)~a$l96I>Eq=eRbk@<3ODRG7eN3s#&N`(D&3yPkDK$@=cZZ)OSkV zDD~AzU*&zJLp8-Q8%yd2&p#Rs$o608hQ~%n_Pj7rR;I>8wvMKCa~ajsX_R82(P>U% zqq9O^=?JZ|QI?kFX_{S{Xxh{>Y}3(cVNcUbJv6$x(oK|BdGvUp7d%|gc&6++zR$zv zO`U0D_M!)5+|Hue!r16kM+>8cWqMT?`7kRBa2&VC=D1E-gYn+5_#Zx#kq;s4Yv_)O z*}T+`zW6-;%i)n+!v5qra;$MBWB-iHmAbKauzYZEeE(C*^d&F5G>yk4H1j8P8m55~ z6_x00!2t~63k8Y~WYAN2C~I2Y_l2^l;-k?9&dPY-t{sv?jqXgTZh2rQM}2B^5Y2z zxKx0pV>qi9)tL=3`yA>PRjqajsfRVuoZWrqh)HdW>9ySi@!+5}L?4p};!6+^41|r* z_LEf4>Ppx=XcpT32#dz1jXi7~tTR=Bg=SG%GL;R^?!2GTpmFMjvoNBdVFjMMqtB=op(t$&l%jUKm-J1&dU@#*P!QQ#+{?#-PPNm5jW zO_HDEP(xXjKk#H_YAr#$tor(W>fg*>-Gi_@Ofl9M|JK5`_=nH0RLM0!m9Te@GGJzf-zw$x{-tC;_? z(CAX9un09esVlc*Ue9CNQPiGcLn9~0uad@{h1Iilsr^h_aj##4k70l-f7^fE+x9~L zHT>`T+urwsi4nh4JXFy|gTz$l_Y~U6MH!x?g^l^#E!pU1xh~V|bqGgaB~y{^V@wRM zq2Nm2m*@9bSjt0lbK=uWZV4Bvi=OyGyR-j%pwsf=1Myvs#OQPh1cR<}rwS5b|M+$M zKc@+ahIMG-74VWIkqC=>yaN4A!OFX6OMUQihg@CR*CD0T0ohkj;o=C(>yV3>YM@ys)@Pg%9@GjcmID0~WGfjP(GF>V7cK$(O%MY)07gwh zSwaGU^&L9+a0P62BuVNwEeTZA0fIE*EdzBiln3Rg3!sEM841FrlP&f1O*wyCnSaRO zjyTZc@6{Vg(Y#etVSJsk*$-B?SoY4llPtZtI&qRMQ6l)>lBHE6Shmx$lNTyhzF*cLNgFRUa5 zNh#gq5^-Hh;R&}0;w!Go5Z*jh?tU)SLejX}!ETYUlov@>)<)lQr!kh+;7&2~^nJ2r zdSvqXsejkI3j}-%<1O!wb1Q0m=~nM!at*7(U+@z<)2$FE533F3d0yqIN5}%)5UK=~ zOP4kbr5Hx-=jeQ4qr84nN%hv1eVDK=T<)5TXi=x{H!xaMFVc9t$4%Sp$RplICzXig zlXWQWSK#m!ns}@V1Mf{Q@Ip^=q7*1eLZ?d-@th=?)%l{tG-kSyoDlzvBVvhon3y8w zv8(IK=%rO0F@fSOG()TRy}|ZicMuNxgJ7^5{}QAOO+MUsfF=ghu0#bkpeDuJ1Kt>1 zO^Pbj)ugCWT}|5SN>M4oP)w&K15T=iCEzkg9d?HUp9n%yjWF|IDpd^P1njU1UclEI zKX524C?T=a2F>k|E9J z01VSK(<_s_JZsPqpxf4iyaB#_e6udtSSW~|zQ*9`gErvIU)A-#jBlYi@cmmLFDUW~ zCzS~T(^pfxkUe}HsE{cwRF^~5#0*i89-%#y7dA%r#Gxt;KWRgbF%-XxPT(ueGCj93 zD<&!GIv`|Bj(EbVawFgh&ZT+YtU+@fuy?pwg1al8fmngZI_?f~{N@XCJfWNprqt!8 zYIZp|YO}p8Fwv3LzQu@Klu&%d5?=(EJI=S_Ktl4}q-{v(dRLNi1|1vx`6{E&bV4{qP2oieky*Z(I@v6NJaVZX8bZ&_&x;6xl zXK}^lhu?x8f5cAk^&UsmSM1oVd=gIjyucf2?JyPy6a+V0G@ diff --git a/oe-core/bitbake/lib/bb/ui/uihelper.pyc b/oe-core/bitbake/lib/bb/ui/uihelper.pyc deleted file mode 100644 index 47a704ce74cc6882d67e96627aaf012f9110e1f4..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1461 zcmcIk!EVz)5S_Kt(4+|`T7-lI5~}J8btnQZ1)(CUa3BY#Inc|>_HNQm9LMsm14!J$ z-*MnixNzVIGvg{05S)nP8PD#{zMYvj8~) z4NyLO1XuyQImfYpVX%dM<~u$E*GBW?Wb~@9vqG0^NI}ym45@1{Aeb7044>f1Xh1X! zD29}Fk$5OCQ0yI44&VcT6kuw@gGp^50AMh*VGuOPlj1s!GpjkQTx&HdRP40t;zC*F zxydKe#dc<02WQ5y$+W5`7{(Eb)!8_}FR-#N(F!jXa~)>y-X8TH^upIq9zNCyz*36)_U^uAx}0&D4z5$S)Jn#h+`2eV zwWD$*2|Fc~$&}l{i8CZ`=;G38RoAnK(^)*x?8Zz+bc!QY7{!F1m6eVNjoW|`sx-ys zKnyyQW=^>kBJLuh1-aF^3TRhE0W-c{>fCLlHK-dIy&vZ))8%a(+Z(7r?1}@?LEXL7 z2jb6batj^T*M!*dm@uDO1O+G=&`!?=^SaV1F(xdo#Z W4%mNV(QrkM>l!?x2 diff --git a/oe-core/bitbake/lib/bb/utils.pyc b/oe-core/bitbake/lib/bb/utils.pyc deleted file mode 100644 index 3bfc0c428629c0ff49e7074a786a60a52afe9077..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 23965 zcmdU%du&|Uec#WWAt??;iF#AomuA>QLH`Jnwgw8MK!et4S}x40z2I2YWr-wCtRI*o^-V*toW3x zJ!zSzUF|8$JmaGMuJ*KhkA)Xq?HQ|l*43yiTIF-DM)5hzf5O#1VGW*lwdXB!z(uU# zfb!b<3obfn1HRzi17TyXcF>v~aPGOxJWY0JDS!qWd& zY=vjC;;UBtq!Z9zvq8?9xJ8Q)^ zS6bChz1>QN>fhtv^jJWv&Irju)JZy(&Pvi==`5{u{DZALsJ2_3XtmRcxoD5Ty zjykSU6S%^SAL;0;o!HmhT&Isxr{0XJ8o!^9D$esszC*I$+{3_ioVx?L1VYWjTvp6k zG4ED?(>;LG^6qZl#eZb^KDUqY?@%@1;=kY?@$@kpPx8#>-I~B#>QVf^n9|}YCl^`%fQBoH%J7*x}ZB&ATa>PQAcA{+s&nV zBVxsq693yd-B%dO8bg|uxjy6{BpE!2>*wL%6 zynO1|y%R@SLsDLf+ts7(=t#94M@Q%CojJ(!Xrn%NbZ+kGis)&4Y0U_d=^E`?RKCZ` zpxBofHhE6d1Ovf{{p}=uiqAlx+#btq54HwXK}%v=`!S*$Ws!h1r4^$!Fe19iYr{~F z(tfx4-vr=zM*tx}q<6`mlgxiO;94Uob)*Cfo#nGO^VVjQwK1Yh+iY?V5b}PUpKuQ# z$}CTV5=h`N*m;*}e!=paM2D;f>eSOs+0$=X-aqX(+U;}kzjqJ%-7sI`d5Cm4{sYyJ z!Zjs^rvF{qeQ$l)xfnS_2Y6tX<&?(y0MfK4HHieHw=qF4+(lxP@@A!xM8?xI@rut( zw_A}>(^7k>GepCBQg0zZTGhykbCo1YX;M#X^?YEXdEL%75m-NYiV)s!$J4J3<1&L z=L9gw4V*$NJd*V4K7C+M5nG!cd0HA18+goGHWW99&y(~d2@+qeIv&zdC45FDRe>#i zMRVc)Zq;14jr<0qLDI{k;WoKMGdMvx_Z*PjVW0YUAxuwgab%=wq_b52->MhTO-R+> zS5fpl7o{7EtJbZ0FV#$U?eWE_iOH(umT;!_CL|JSKn9vgDLR-Gn4_hr_iD-H1gwVS zkY)lky8^&O4UHxC)6PheJC2zrZ_f$c!k*VXNCeuVB0yG=It_7M70?Asqh=p7uk95M zdM)>RNj2Nr;(|cd9qVcZ?&kI7>yH1kP);%*Xckk33}^IXM6w?(ba#`BbAcp^uhMV` zL8h=BLrTy3wJ&eC?Rb?MxaIkv724`QdfZ!onsHmh>1=))WG}QY`H7$!Gxb#g3)d?# zLZjGOjEap)(kVubs2R07NwGa&tQ1o{P(=OAMR5@=)}|JhvqGzIM!(V>Fd4VKN!{G+2eGY`)R1 zbW8^#F{*d5hsr3`q}-8C?^fN9>I;h41R2~)>@6UJdn$NkrdjwEAq ztrgv;RVb-xRK98?3oKfut84Xp^;#5fFcWI(IBEc^B)UsJIYZ+5B?P5ycjUJ5y#;36 z#rIH<5BBmI3I>A#o^0c@C$}S?nrE8N;tDG6}j*(d~Ez0|D@)}c%&%X zFy}stC`GlyO17?E%Ws%1`GJg}WZNZs$}SnVU-y&}yJl6GfDI1qnTjd5$M zIW|v=yc>NbZy?1$`b8~d-NU}@;p)2v$#sh}05nWmBg#E6CDV}cl>O#a-sD!#r+x9E zt=9=DZUj8iR?=Tzdmk3u19S1^T)bCl9Djr4M6n&Ka6*OS9~7y@P|O~lB=K@p3igP}S(9VqmL4;|lh^}x zgoI8<`o1h9Uv^lvQeBM7Ws`)LqqV6xZpS8htL>FmCp=Bt@D=rv&RC5rExcA`@lO%N z;Uw8H6P!}&S|k)>nG@EGn!C}Oc{O^7FCw$FlU1C^D#8hRSyvY2#~^dUHn3*vX|4g< z4VJ-Mv{VlVkHf!4Me+`b8<3s3HJ?Y|=7Ze`;z3!TgF}esC-vz^L$lE{VL;TBd1{%ihkJT{f__M zQ`S0?e?nrUIim;$BpgmoU7wnsEESW^S|cKr%PZqxz8&M~p0UQy`9{Z!V>l-Gjg>}5 z)`yDz(TNXxG(JB5ob~UqO|epJ)Gzzg4N--HTx24!y8VI)Kp}xG)iy{!>z4LsM|3rdyh57601xY27nQ#h1*=PqT z4`EO#XWRUs)xYQI=%*z<5sc7-WV7gKUfd^jMJ+*;rFYVf%dbeS#D7~42=;hAO3@D} zgLxBLmrjGOxbzh>ALMzNmWA}r`u@o`q;n*#2i#dc-F2nIGf8)(QTkKOe@~f`F3H~| z`TtCrwYtUeD)HI}>C*&%Cdoaq8qFLw`D`X|cvI*S(}!;>nNktoiFlweYIY`~u~Df; zo?1uMszB!Hjx6(z0^7A&BfOj$EIs(puM#=ls zCpOo>07B5)vm$0l;2p1l3KC`QU3 zf{kAn5hEcfK=fuoQ9UZl73mf%Z|OZx%Oa$>B65d0=uCA9x?fl5&%B};=I#-iRCF9A zD~(QZK5jRQAGTq`{zBA>@ZS-dJ;}9}%1ay0g0{sm!@lJY7mWy}eW1WZl4S6mcD-c* zA`?H73?`}Ys+z=imQ1Po6`8X`gAK;32uF)3YwjnYSRWtglSCQ{in;9|ZHq^m5GI*q zNc$^fFq*&!zy=q45k+2s`SPfDegVB6pwr%w3;`J_8mXPUeK`%=APppxmL!xUbxffN z|EBx)?t3>6oYrD)?2K=BN1A_p=Z0nm{&+*^60D&$aP41pK42rz?pe@)p zofY^p&;i3Dk@N(CQ-`0++A=h?X-7jjt_aOJdANg_Z(Ze_^gHN-84-cqN{A~Uo}G3! zUocpGQqL!E?=)Y+pKSOi%fISozeLm>cNgteGOIZ$u~nmt38EYd-dm)D!+>HFlfGRW zFPeAY3)b*{9i!iXTQrJm&(C9U$bb@VQ>#WHFgIiZ(`;|dn{;3`Brv~-nKPfBA?YFX zcYrQ43fX9wVk4^9pmH_48dc1R5T=0}; z>Ca=&j}U|2#(_rx3HTyPYzyDpbBUPxY?bxBVSJ&0l$L*vPa+@88)OaiSf7hv4Qe3a zoJ)?m$l`!7i{}?&BEXRl3~e|dhL7gWZtJ@-+j=_J7aH@%%-ce089`8CMGu*KS-az>C8BUG0P{*Zti7=i4-Fdc>0hv z`TcBjtH10X5EcVY1sC7W(eJ@XcL=hC5k_r9siHU2=f08w*ERRg(}me6z7;Ew;90-O z^~3rRx=q&?(*+}eu6LK4c4Y_4Uk$qQNr%sJV-p!oCU#2oCMVAoi#t3@*N0QdRhBR> zN<3KyFQR1Xc!6SZUBx4?GnP2GuFoOl@VO+!tb<9IG#FtvY)9rxwOtn5ip!IiD0^|H zsW@arx>P<~nw=RskeHpEN>f! zv~;(=blu0j?aACqy-~C9xvmww$u^^!$y$Tc94$NY8N7oGnp1&YZnqk1VOL;>k)}7f zK38rbfK8zLapug{K!VHd;t}x2HkdOEr^CucHz^)!+hY=ZCcy<@8#UXdLK-15&4t>k ziE)1pPAF(43I*=)FX@SF&hBFUI+(f=$CWi(hv-r`%{DuiF3dpQne*#1-C$5^ME9bG z8C}|3=i@lVOc_h`b5+`6k{u{!G(xP%$BTC7o*`7P^RxodA)RSTkI4DigZ7XP8ONqB z(BsosTCXGA3&B=zSBs?`R7oTVEiCA%-;uakuD(#Sg!KTa|b8D1+un$ZK0|yC|Ss&EAeY?^+j!G^7elDG;9g?lf7Zl zD%NHWrS#eIPB-gy?OVa>Gio<^dykx*w5{n^YdFPK0ELzXkK`1|c`q4?>7^f&w~co7 zu1QYf$}6p`Bmq@aAsL_cfh*z0vzRNsH<#Fjkl386+!GHs+2vslOgCV5K9ZVtm5g2G#aactjfz9Mg@+;J4i#z9Q zSO31_6f!;;to^7iZ?O(<%qe1qy|hgxnT{mv+8+TfxiOlTHDM!plgVx%XdjqK^x37w z#DmrbnWD8@U*10(P>1^yUruNj6fU>DlioRojerNTgu$=xb<}pqTMCJe5^l7zhUs8_cCT$~3|{5J%9_HuXrSW#xZY8F z@3x3lDlbisJ;8U_l_N`)&Y~$Dddu`M?a{nTX|bN3{8p;fC`pX2XUo?vuhWC?F_f1^ ztDHL0&QGea<4u*0)Wd+Ju&1$g*u10oCVp#m^o`tLRO? z3|pvVP4{8aLH+x_)kZss%tG+`RooDMT`QGjOcr&xZbO5ucrE;zo(LQS-}Tj)5C5U6 zhcwXkw+R2pd;WaoPq8Bs4`J{dBoN*WI0IN~q-HF-OC}D>|*%R|v z_4rIzvlD9dGHK8oYREWLz40YjKu;bYWqQvqCUoHuV;C>Eir!aNLA7IttmU*F5{5rd z&+s295e~v%Q1XjPj9#@r7^B|0>+vZI?9w%}lZ~{lm3nz2zZ=uxFVn_!XZS11@!2?~ z9{w#x`)5MkR*l=2&lhobcY>6C9w{Q_t{}cgVU7F37TuFuYq}k%0z8!BZ0iuf_h7$} zUYbGRa%EegTf!?izt&J;mDOj(cfcMIXkH%$bZHj;36^gV{HMZP-O^Z|sgr9Y25T>Q zOh7G0t2hdFC`I%fj{sJLi8(o~)CC}Lv0_u_*QLI$F4k&BUL znKx^v%;>$;T;fF3BS!1svPk$3_%?1_S*j8AHJQUwxCV+k^?^OHUp86z4GQ5-CErx? zF$6I*9V<2u?6-x{9aMl(V>#U-*~TH|c8^sFo-S6)6xQr=h>&Gioo(&tM(>_COyXqT zl+lx+@G$GjGMb03lz~ooXtra8A1PSmZcwb90 zzj8?QoEIDJOxvaZs{5Sc%B%t<*jM?u+&6qQC0E0W)z;ovDaTqjkY}9S7S%n0fXp zaq0pKMm3N2tPi@r0{2ynOV6Dv&rFmqUz|Woi@q;jyE>Js>kHEpjQjzn6wZe}8! zxpBRGY0|Jfd8u^$%Ea4tEAYZJxG!IxdON%{eW84v7Q5*9Xl)7OZfeHv6<)Z0p*(S6 zYI>%8Y5L7;b}{9`%;j=;zWnB;D^q?Y*$S^tOw%;P%6IN^c<$8s^F~{Wzm-ZC%M&+d zE|xX4HMptbweZr++Z{EyIeDQxIWaR)p1c&6Y%i+GMm~S-+T}}AJ#y>iHiYnAU;!UZ zc$l7DRDD-Os4K}*9v}T@BuUer&GsUN$4PR5vwj~5K-Y7v5Jy;F{>_Z!5`F%kXi>7G zD+gp=ojYetE=EBlT!)sX!ndZ%Q`2wRwI}MxmS-HvKN~Vp4y5v=oFw!L0 z01(l9yU}Rhms0P|`C-~g(O-*u9WI)J^M<`_$5e$G?QrES>D@9~Y4IutkNttLqOhiX zYSG-vf`wwuzBTE%&~DettROKt6#E7G3L%?uH<;!mQ!%7qf2pJFKzzT5PEylxhhq=c zHMva9;XmN)Z60ZnJ=E-u4p10Eo zKa6livx_b**U)u{3^+*<#hV%j6hV2{5U9W+bnIaceo~l&xKx~R+}Dd%V*F^oIyEIvK3HYc}DtlHhFMd$tbpKE)!@AEIxB(&Wx!D5kLgeO55--GUz6 z-={K^XXQf#f2*d3gAT9QHT!St2AT07U2rHt!I-WwxX&`9!QVD=MNbu{38+%ADIOo1AL<9QfF;F ze5Skb>Dz-7Wy)I8qpPeD7LNo{R{g!*busSA+n+YA?ZIWr7SZWLDO}){RJE81s)YKb zP%aqql1LbFle6i~UZY=4ntYPPAbL(Gh!F21Bx{;ZK+ar|9<*U6>) zIQBGGOq*0D6yVJY_Tu|ZuF;17gF1f!w@bjDp8rG-L_6l3!5g8%fgb~+%rIDwsJDbD zS@W)Mn4s4VMI*JiK|Wpe_Nx?tH|-D_B^f?}MM}u{yoI>ZJUGG^_VxbG?H4R;pV9o} z?WPV2*0x)~3l!SfKrp-fL&RKoZ;YVjFL7gP6ZbAKxOjtxvjCJRrj~zojT*c1l=fTx z`nndpQ_W@Xue&et2K3h*Bi`iW&zS_>>DHSBezSOF-a;B=;`wR2lDf{Y z5$!~AjKL*nB#Sy*G7D#+(Vh!`jk@rkli1U#OC?+z%f`)49Ql*Hsp)I@Rz@k|�-$ zg*g8TuRWQ*4+p??xJk*N5{q@FbQZ6-llp-c$d0&+_3Hoj$!2F36JS~b{kY+ z46D6&Y2e>bSpBD|K!X^hK4dEglefQS@0>yd#-2JT)LV!cL0*+-5o<-qK%_T<6eBzA zW_e{1ZnakyePd9|A(HX-2inJfBNd$=`ZQR6+aCKPCPw+-WN*7!Gvyf?3E>qSR!jQE zsv)J*UaDbJdsK-D4AJ*_fy3WJ-YV<}h5q`0KvPc?%r*F9hU@eGbWt)&pYwb&(-q82-acUB z6$ruZ7RQVYRG$4nIC8eMyotzW7j9k(3RdAQCGU`Uk=6&W{1ME`{Cs^iN#=~6$KIc9 z?eC)Eb$^Ez8bp3@v~}SkzX4OaiJIa3d2MIb+dOfU%WP{*VS7L3dU*kg`A-X6cY5k1 zh9l+pcQVTX*@FqeYjU)rc5T!~wih=<9lqD>@^5t)_8Wd-)ZASD9j#jZ;Tj00H_#V@ zHD1kz%(%8^l1Fz5nf8T1jkr0ue%fJG)3!UQ2BplkI(iusX3xD8(?j55J1fmDe=*1o zq5fQ87mu-vct~_w{efP820aEA0EuAu)o$TVpI-?%UFmy2SbM_e-l}z{a|;H82-Ekw z^ZbdQhp~CKkH{sr0mLZ(GvE#+9SMokcm33KzRB!dj*PG8H6Sh_kiaB(1a4o-t(|a0 z3Uyz=<|nc~iV(8>vnF<>H(otVw3Pzu`c^L6{}*z8|3H#Om_i^ftaS`@L2%g-9OV~- zXfaBxSc8ocHr9I-y5Wh%qc?>7FT#8)#}5oy!;xM?nsn)LjknaeNqI0YlyIYgP5b@q z0kS?f3TY83QiHu}pl$EVnt8g*HfYNh)d8v5bDZpicx{BoY`F6=3{FKw2tlnUMSkprlMyX4=JT*X(`jR~DRc`qc1t1_c% z9Qz&495y={(#>!A=81ktMQ?+8A6wS}>j=Oo`DC%FU+eKlQM@*vd3&68+{6E~D;R{Q zY_MwFPQ1X=%n4Tpqh`Xfmp=$4IL1$e6gl%uR;s$`V9|hi{eXxn)4P!4MXjEj6(%_O zU65wI>TUbvAX`%;OoN{(mh8^J0>@>#jg{`z?%wgjp1<-)dzT!3q?f;)=iOE=M8u7? zqK~8$leMOdgfkX3JMu=Nuzznhe}z%~RA(0$I&F)ze1d~k^X7YvtL>$=MDo+mHl9eH z@{2aDqs@D=V=X9jFhQ=mgT;f%3*ToZT=%G2=S@Z1wE40JwTh4Kg=2odb+o$3jr61b z5P#a61J;^$UQy0w4wxI<|Z9Sx!xRAx# z2D2e=aBPx}eu1n;v#n>NX`xn&M?e5xmIe!%n7PDJTUxlP!kAEGZXK**=Ad}Rnt)$p z0UL(YAR~dbkvdN0~-Pb&bZ8f-S37uW4K1Q}ozarEcrZ=h*QPjdf7wRx;gy)8VHQ(l26{a6EU4v^m!4ASNa>bF^& zow;4XX1fQcw!8RK&(UBouQ!LE#6!_c&tl2)HUjr%)O#QHETILN6|yvB*O*y>{QAE) zE5OvB8M7h|)^2aOS+UNNh`SoT_0g7u0Zb+eij4OTAJN}Q?(;w8)>K0^7UzPkN2-VT4uNu%$y*C@OZFwipsOvz$pWJbU&?>J?8@`Y6WV|{eh zKekS){%zf}dM6hnq@B~6KCpsJ4|5T*yD-#uy2QO*eaZ4}wy-1kg+WxZ>db;*!QO&+dL7`HQ7fNqJ=cZA!PH{l z+NQU|WHA^3WG-AVbAes*>_f~2|DbEVJhuH_MP@GO7%%x3VoSXuc)q>F8|;5pjRxC- z83>ue_`wW>UavpBfgp+2RsOvJlv}U-r+eDJx+Lu%K7-Hwi1P1s?wJ{?`~J%RLwh}@ z{Cm3J&wg-Bhvq(_wO^4EoznQg$NHcPs742ZK#Ja`wRx zycDy;be%d0k7TX%{>&H!Z%=K=RTRP5P9R?c@;*w}zndfGE!al789eCUfe~7|DET1@ zpoEYLQd&P^1zLc;m$*2!IzD|tN6sbTXtR}13+N@pyp)`Cd%z)4tD0hW3YJZWH%NJm zwS=(=Av*uFGjgV^*fMXV)ebMJq1IwPRZ=8(sYMLEu0vI>9oTKBPP;tUZtI{-R|I?z zP&0&YGIV%>#Jn1f?jK%Kl_FQ^3`utedu|hQC4t{1GydOAOEZn%(v)@`)lP%MK|K)e zYuLj4P=Ph#CsCR#@beMBvdce9HUxVzHG5mV)I}k@r=Mo@KhD^ft7M?KB>k|p0@I56um9dWc-2$Qz{(MfoIqPdC3kE9tRSJGX$9s{Yjr7$& zE>VXJpqu#IjEFi{?8guMn-}_(WP9_=e(ltL9W#7Mb!U{krespdB_*>;KBolEO-~P@ zA?M#e{GxI{spPLK`6(rTM~S$_UQDnn?%}^u@wb%xu9DwV@@*yGQS!f(*h%_#mHVEO zepVmaiN_x0_9^*UJs4H;Nfk}^PAPX?$xV_Tnk}~>94B0#CFroyh~5xaCEEVL_8E9B z`;%iik{{s5sy6XAlrQWo>@RFS#7{RAUK+?1t`_zdo*o`4Y#AOMK2^vU@*`VDjuf^Q kMhe?WcNc~Wy9#~e3WdSK(C}7j2Me1=W=F0MZyO%|KUT*3=Kufz diff --git a/oe-core/bitbake/lib/codegen.pyc b/oe-core/bitbake/lib/codegen.pyc deleted file mode 100644 index c52b2b2c4cc34903d96133145cd9ca6a577d5d3b..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 22559 zcmc&+TWlQHc|J>0B$pO-zgUtj4=qcgZHbgGu@zd9O;VSzl~(dliefp=a=9}kM_TSK zXJ#cbvC|fIYqx2Wv`w2{kfZ_Hx@dp~X%VzZi=s$dpy*40_NniA>O)>yAT1D}{l5P{ zbJ->3D#+56%`@jd=X~eCo&TKK-v1aLI`zXJ-KZM-uNTi(@E3ioV2o$XErbQ*^_W`0 zTn~DT*K7P9^McoB{9g0Itv(YxWV|iL--5h;xQ+iCn=c#J*YC#pR^e3FD+4EyV!T;djC|2IY44#Tf4wbqW_u$zGCG%+sPrAs_TH_H*$HyiA zs3gvuk;l1nlJ};B$0Yoe6r4RPiE~=(taKmL^$|t==q`wydLx!v+Si%0QhDU86r;>R z0}k@DGRUN|g9SIH%5gKo=QRGJ69{5s-Yl3md(7KC=B-}yX0N%8BvuMb4kEwZBU!yn z&yI3VQ3>s@FJUYTt$LL}JJkxouiy1UEDVN-Wr#!HcjhbAI~-9XS)r)W3adWXNs*Rr z&{He&7g{xEp%FTsKi^th4C;$cvlTWQksqCK{HWQ)Wq7%zz`UhuYImHC?Q z+*|TNfv7M!d)?7)SOF00%Nxthpe8lPvsPn{a~(}WzY+l^PA?{K_&a{|EVu!>PA?MinUI2|d zHUF+(a~ca+7thCQWdYGa=r?PXDtaKE&YYH(nV7>YuK8S*p+4z%qW9Aj=tix8juJ`KGJAr!I`UgUKxbomxDS0MpI09jw6bEjJ4s+T@PFS z957y9#(Y7wvI@S#Hcq{@JP(YdGho73l6*08;E$elJj`yi;$|zB1x4Sacu)=KRt6k3 z!Fudr`bbLOD=PP$mGngN@@_P)7#;)T=SvhF}36V}_ z*Y?72!QF*)6@T&%lEh5mFPej7@u72|ClK~fk3#soQ!r4b(6jF#bBpm_p{9kFrD_>4 zP+H6%G*DZN6b-a2BhZwC5`h*jN@S~nu4U1%fwpC2n}NP%WV?aJWn_ne&Shk$f!1YY z7d0*;yA5y6~C>o&>Wu3>Z61@feIwCpHua8UQsPT?S1iJMJi5xfH zQHhKi@0diMH2#yuL;fgb{jH}YiJYe-`LuZ*@u#Kc3FDoR$Vua!l*pLz#w0Rsym5(~ zGTtePJY&3PB=W5Bo|VXR#(Pd8&l~S~iG0L(ACbrl#(O~`FB<>F++a>i5;>=3Fdvm< zI<^V(I*L9j4PP?eghb95?Fw)S0k(rY|5HE}}mb-97|*EpnDB zcOgfdTBC8tu?og(RHK+en&JSGMS7Vd^OjSlnM-x63J6i%WELvmX-?xA1dCAJ#*|fo zBO+>?Ij~4YhnIzmm;)|?ToL_Uf^7$8r%-YCGT6`HVFWqhAyQNrx$fT+@fwZt{UU*= zLbF!gl^uh4Ng1L%h|A@hh(|*ROrdE1s}cbIaWDeJ0wS2;bc_9wKb#-`H*55*SHVu%|&bE039*S>@BLoZ~}cm8oxjBa9Rog1%PE05l6%&tFP>p&=5N=MY7;E?7svY_i1DbdBEgAu6qn=p_z=ggiyMR z0hx&ylpA50uZ@tlSnPl>8Uh+ZC8S&8#U+XimK0L?myLP1VBR%mK?Kk*84?B-ez8C) zKyZXSY+UwM5AVU|Ytoad{5!wQv@1Yb4-JHJ(>&O_g z?G3|%ep*dL+Sb~l$7V)b6f@-ZPTj($B=n;W_R<``I3xDdV(IQ851c8XV8qEAY zBr4%zB%Ez`P?3~=I%o=WXX5WJ_EX`a$h$lD5EH?f2|{FVA^K9Qa zWX6yyt-ApQXBGvE^-A0d{ZBJ-7=Zy0yZVn5jui&L4_ooKr?4II{SvO1qA#P#>S>`V z1EM~e2ux8ziC_?(NfMbT9WpmF+7RqtQQ^4_oqBL8!0Q8Etp!n>iHHvIsS1U2NgH%m zYEW3FT}NL;%IcLJz{W}pk_4s2G)q?yq|%U+UVWuaMx1|RTsU8yGd(7JS*oX!lpG3n z0wanTDXcsy8i%4*`N@`wuweg!Azxn-qCMe6OgLv9r8WvzvHN`NU+GBmg}P#pnIA_& ztAeR+O5q&wRY=pqQFPf|;H`?p)@I#>n1Wes_wr;!iu@gknKp{6XHy@F$il4lfC#RP7~NCod2|qg5+22!%U3FE4QJ&|Znv5---k67M<7;~YXM+KF%>giG&e zbQDgr3@z;@}eMTW)x*n(tER2)Wkbt%^Fx)tzD~-v=vtxx19Q z1HCHhGcxvzn9KXfvxfR`VZ_qw#)7g9`qifeahjP8(b*{bylo01Z_){^n<`c}F#(0Q zSRuz-(i(NF{fEN-OlYZ;CpVPbqX>0dX3Yd{$%KENoET-63N8Bml!-VAvWiRBo%<{U zn&6v?C0Sjuyl4*<&if1BL8g`Lsy_E*q{6vzpaeKt0wFBk$Lyv744o`!5_G0h(6taU zj3mW`0ID)g1=>*owGV7}P>x5SRI$RW3LRmk)||Nsd4pE)NWKjf{Ze7|j5HfSvu9|v zb3168L2~wqMcuDz#dd|fqKsnY%W9y*iK#YsPob?fe4NQ(RZ9&?nxYhgf}>Mgz0}ca zu%p#hec4Mi@pa@35rN_v|Q*;tkCE=aG$$)|vMQ+s%8t zMVBLGVy<9fi->R^eGrSEHXNO6Wf&%r$f|Bwxilkis^QnU>yy32KOn~nD%$*TU<*G{ zN=bILR*52Tl-T!o{Iz?H(2K+%$ZrfRyUFw>M){TwrgOz9L!zFqV6Ukr7MXLY5>?_j zbmkfcu3=Hyr)QmR&=n+{(Ukdxwv+RUZQOFD9KGtYD|SeIseoEhv?v zrwI|*`FrR-qNyaihJlQw2MRlTw}Z6@uzS$`!*F4@>>!2<`{0pD)g#A0&0cYvd#2!AAG-cQvEbkuzV`FjWK{C&cW9EjQjFpbIK zvT0`eEr=4KXtK9`kM6aZc;G>-{LK1p#QIEztG4_#)VnE6NYW^Y<&FbU_Y+8ohz}4k z)_;P6oF|3Ks$*LuAJ>b{?poLHWrdlIQlRk4(qR>d~L|3)I+ zG$p8Rgx|+d@u$E~I4y-pMLi`I&aH8#E`+Nm5n`2&phU5mV{FqQp(;~IZgM<5Fe9vs zFCn$mkV^@QzK@>(5a?t%d!cLYHEGx;iSqPC6%MLuBe8Whol+TvyPVT2ncZa$iw&9 z30P_Gr3YKWOid^o<)f6OHkGZiSzW`McXL);qjVR*1nHjK9&y`qf8v2VfCmU58F+8h zjJuJLMCQy%ucib;jB(bI~tth)=mvSleE>kmb_B4RokwV)!ZC3(KnL%D(+BU zpe3!9A~J0gr927<`?+F|@C`8ThT%RU9a6*W5LePLbWAbxjif92DKxnM zO0J%zJ6ko*Iw#0Xg0rrvT^H>2>~`X~)$uAVNk1NL>?9r!rgMs%&J6*z6TK-Gkm$Or znzN1kdB29cKcj??naaio1hmv(OX0eT3ipSLB}(`T$?9Rt1-Uad-9*8FTY0|Czd=0W zaBZSfjd05}p0UMRV;fO}oWXf}j zufF`j%l5!?;f9YkYEZ{{5~0X6+@?+^BgAR@_G=r?C}qBbDBf7ukPubp^WY6Wf_K|3 zIV3xc`@AJbs}HB|YW3|)TnX96Q|qcvU}ayS{sn7bSeGMOpo8>KUpvq?>Mvw*dW`>r zWGtDFLF=lQu#P#RdU4%wI;&fcC5B^dMR7}r?H5)8*nSkW{%X~wco(X7bzLnEV9>M;MSxrNe3kmu;n??wR43kbK-gty&gH&mg<2$}^gGIjQTU5C_9j zgYmGKi!>Vd;SgyF_U;zfP33M{Y+LnS^I^8hz!DMMh8&5_<^o?&a=(oZf(A!sm<5vX$Lu4 z)A(g`)4JB_k>A+0j+-zRM*6kU7Or*6H;Wy2U;d@tF>lXOY%?@g*6C!2!4B8D`unn0 z$`xqEEVvEz<+7&2A64Ka|HuGb)y=#b&{TyNNNd#)nryMPBR{uA5UdrI2C^)~a-Ezq`^V6`3 zmpM~;6?Qed`e}gDNxf6T^{(pO8<_L7AUio;C;?q3N0%dr$`&~AHkFyP$(3-r2jWx_ zY_egKgQxKq9YmnR#zK-|g-27-q=RSeOcvq$5&aa(dSB9|>#i`)yqL3b__^-Q!TmMP z=JN#b(Z{}PehhSzgn(4XF8NBT?w zn@oN%ww#|Dj{GQ0OuU-Ep!b@)p}F|>uM*?LSC!lpQ}HCS?6*10-%7`dh!qBs$I>p0 zB<3PV_*%}#v6|je`3lEH$V_3^fUxlE622kfXC!<})-^G;guf`U+W2d=M$Xbr2pI-) z8yg4_-RIx9YOfJ~Qf?CJorLh!qyx3V>`G%VpuA^$&k`unEy>E02^U(U$s-MjtJwWL zPLS(~yM=sAIPUM`p=V$thzZlVyf7f^jDzUNZ8Bd-gq>s_I=!F8VUf@9+WacbF0;H#gxJ2OS zeH_Bz3NZ>=7ntOZ$-TsY#JH&vK9fvSLH%m;+r&iey|!zD%n~F*MB3@_)eZ^&ilse% zUkssrEvb&P_KkqDWQembrM%=$DUc&6mvAH`Qp=t~S3*aPuN*B>BdI(@P-+ya{I6u2E^piu9k|fbY-0@q7+= z&?W!`Iwu6xosOxcB#^rx6zXCf7j~5OlE5J$cPlz1YwXZ;4 z(h^CY+zG^rEcb{2oA*cbyeB1IOWir~Al@F7t7y$hQrTK@4=xTAg`4oJ)y;w%rAha- zPB;ZRVk*ZQjV7*f*S(Ib8zM`(OWQnGR%mb3E8*JJ=06i!syo^=Jlfrgozq5#9_LWS zf(PlCQMkxbS}a+i(j?P@FAD`QE>y|oU2ykz5p3u(q3n+M+YXy5J~N-mY->KMhCws_ zR{}vkF_=C#k)q5g`cwM)1`<>aAOrOQJ}!vp5ssQ!mT=Om|E!+gEl^Fa)s>D|9W~Mq zgWi`8)7F#$QVb%2jnMeKP0~v!bQ@^{?NWUlEAR8HIfpk-t7OkE$G>8~;b%GgF!S9h zsS^1XzKje-;o~#^rdvUlq_`P%KZn$&u1coVW=R46#ueFxmm0Y0NSX}kw0lC=rVl0Q z+Dsy057_zDO2-Eo$;YPc)-qtT^0e){mBc`1-!gkISk8S_@geO!$dk&c_;D4%;|Cdq z?#qsFNum6k#$PmoK>5(ll!=^oAm_Cdb73v;@zWZ)yPRUy5X%o~p}77U;Lk(1IJ^OL&-r*^7&w! zV%Fpz*C4uzK<8^W#Z2U>d80cBC|5#Q!5t0TI=2NTG^LzxK~yl`2;YL-r%ZouLqDd^ zb~$2}&`=6}{LBo0vPIENH=d%YyRiF|E!KY#N^X3}6V%8%3u*~)th({o^j$EuWD19F zgMY+fDXZ@4SGV$es3o+Ttlcy+q8frWTJ2mrTbMDeF02YAp7E&{C_Z5hrjNbvKfzX>q>KW3m76bxYW|%;;!fR62_q* z(FXWQ4X&(Z&SK>X*^Ml39?LF)SA!jugQ?(Cz~)d}E*o#E6v>qS%mTjA*+zJj?iHNe z868E55Z4GImVPo^@`51~j4rC$b!IE!Ep<__w~V{HyX={nJ&O+jLf_lVY29DNjbSVw zIH9(}YzSX+R-m$lV^>d_HWg> zP?lUL4Hn49Wc1;ZX*kp=`*h2kX;{v zTnPvk)+s>FD_H3AcLWqVN=t3J^%${DynHGNc-?a&X~4at0tv*DohWXW*+ibuR;6Ow z?QY%U+Z90FbT5|H&9<|7f56IW_8Th0^F03dHs-m&t=*+Y+wvuWTH!SK-SZ4S#(;{@r7h^b%3zj3nE|AS zaTgdYGQhsvxU@UmkU_-YE(5ZmyT;(t3_io)Ee1cw;1?OZ%ivcS{3?SlF!&;a-(c`1 z246-Xvr}rljNdSjkMK1)>&Na_S?y~KzRuu}82kx?KV|Su2H#@v=M4UW!M7QF2Z1<0 zvyN#f#JiBMS(lQZnS+ANdB^ZhR&>A1UjCZF-!S-F27kxk?-~3ff=s(ftQ$ruN5}Pu zejY)8Uw_Zmf#Try{^9`s+gBVc7K{A|`-^>uJzm_4aG*GZ)K280CSrZXEfVfUc&ONG z|0@=Uwu8WWdr*4|>S<38Nl*Q#Q)H=>v&TM^Zz&F0^?;u!9X*cWxc`Jeq!@l^Ql69c zr$DcU?jIy&lb$DKZ~@6S{|bJoPcqI2cZH@e;wQmECMfu>G(6$r%d<!yQAwS!bIML+Qg+BQ3S&oBH?c?B3Z?dW(#3ruL}4vrPL};CY-xmx zt2Ef=S@0Q$-EzL*j{=1E0e$ThI6YCW)*wxk;!2xFg10RonwyD;Q{Tn`-C0$xyj#8Q Iz6S#P0xTCQ_y7O^ diff --git a/oe-core/bitbake/lib/ply/lex.pyc b/oe-core/bitbake/lib/ply/lex.pyc deleted file mode 100644 index 5e60e54278aaecdd0818a79e0a5390be11310c6c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 27410 zcmc(o3vgW5dEd|7T|5@Viv$S}6dy}b6hMh0Y0{Q#nvyL(>@txc>5?*Jn($_^y8suD zU10A*TG&L=gsfwycACVg)5dit6VJp=V>hYCNv97_?HM;t(mJ;5*lnlnOyXwhKBnn3 z>9o_w)cyUxbMNi~q-?pfni9AN=bn2W-}%n>KIdMh|7>XB%%A-C7mF_bw~N1T=ZZcZ zI9GD+25I1K1g?~FrL)Xw0k=Hh>RT=dg7Pj`9*iGW1NTxn?UsgIDdQ$fJ#N{#`X^ke*WCrCVOPz% zQeT`er`*zrEA_iO06OYQSy$fe7Jzs_74A6q?i+htiO$EYbg)&r*Oi8n(&1L=K35t^ zN=I9zf**xS3c@)Jg9}aHhn~^mL@rO>RkNy zY~{QBo2gLfDtc68QC)IfA|LgU+;(os(Ssh$SlY;vUD&7=^Tk@J?2GhtVVcBQ5(xnU~L=F08FZ`L%kjc)C`8tXQj;PtR8x^Mz$BnxI zdF(Cuxkn#r2##mU%`5eKtzIN={{+fKu4p$&nN@-koh?_&g&xU8t%WYl+m>OH%`MuwzNUyLl%C^s9^>c{S)^2$O(>$zHvqQYXiAxNUGV#Q{h&sVCI zMn3;`buV~aFc^3+{K8ZVtL1#YF~F02ezjKGSm8DlNwtBoTsLS)(|;S6ty6E1tjYD- za=BWh-2S!J8mkTQ!HR}2NJLr5T-?hk5OV=>LfJ{y3Pe^PC-L!wb0Q3Y@FRuaNpKC*C*b4-DA3lFGm0yjf(3B!Bq_~q-pUV>@!TL* z;5X&QVUP)kB`|2!VkQ#73>Z%tkVf>c)GLj$Urs@9^t2i+hU(uKVEGk^xAwYrVM$FU z6dAZuEUdi1KszUV6MDeqlWt5-5+9sZE7is8WV2(rZ4CAyH^F>XrG825KDJq(x!^PRyXc z#yRuLGn$)1TDICK(|0#x0QgIzZ}6fYfJz)IY+n^BMfQv<7uZM`Oa1 zM#rD?&2izxDq4gYvw5!0T)lqv>1UV#;z3D8G&?P^Y|>(;R`oU+j!C_23g722u#KO& zi(rE?4~J>gajP0aV!KF;7@5vV${Nz=$qoG!mm88ANr}m-&TcD50TR^oQYthGp|~|MAy>-PWD;>h$w_K9WEMxsvv?etR6JWjGuI0%t*72{4>h?) zT&1?wsH|4r=RHE>>NYoZLE@N?5HVi#2#E`_nQZV{e$0RpMm0+#;B%}m3%z6%f?2W! zVFa#zI)DVW(ysaUL@*dHODQ?xm*;-f-AuWyjN9rF1#k7b<}2=Y4-abgpwDgf+k>oY z-f*}3c@Vm-0e5@A4MrRK0|QJB)<5WOXB{p91+sFg4HYusHf z9+O}Ry{W7JNmpjy~tbT2Nsa$NBYg)8|YWbB$VczV(d5Mz^2DTrs$v|P|iT6K|u z6HqDWW(ARY6hW~N>Jl1(4BZ;hjEkV+;$DZ;pqQf0;yx9N33ly#(w{sT-1#J%JQ>>g zgb{pi!>uRcG(cwrg!nEd)Mp&j@0yp~?LIi@t!@i;Ix9LyK}}wsdpKsP`u;$yG2|wd z>vv0|Er!}3tnUwI*ZYFm=H0mOrQM!|Bcu6UZfnrS8FJ0*uCd28#@ub22=l)@_jb26 z>~0TPmq4~xj4^q8*iAO}shV!_NZ`$iUWtB)$H#KVBT7!?uHULexrNF~IaksYb3`sx*!cMDoY;@N!ZkmwS?0ad}Jk4UT} zom+`2sLevP=*@%%F`URAJZs^t>q$%}S_A5aL{ZI$=++92TP8r4YL%*GY6wj84^64& z^D(*zm}O|D&_{TVOn6$!o0ObXBH0_BSMnATFDDCCWUizm`aYBelsqA;KH5r|R2` z996X&&APE*y;28xt-cg0tQ1zv-ih-Do=tYGP;Z#<4i&-kGohW}YM2g?4yu^kr$<&M zyh1@&O%9ua1tl2a*XTWZJBdT8XOQTV!ALN{&jJ6F>P<=34+Xn}(O`c{I$$z*Di}^t zBjt6%Xlj`HCirDD2?ZCqqJPCy$|m^BEy4eQ1U7QM`cB1zmXPQe5y<{!$lysca}n9_ zedfjLaVdKwKMH_0<4Avg7tj}a>UDuMMj0JIA@(?;h}&MboObmOxia>6pQOZ31g7d4 ztzQBtpH=-O6W#e;mPZIuj*O!mQAr-DLms(Aes^NU?@2OauK9PY!d|zu&r9N8FTZc0JOmpn41sWELZ>&9x@d_;4UJA%LiLe`*~{0 zGck}*68l?EX-nt9`X0nHni5&QM>_HXszf&^1a8*9<7UCBCUwX)PuUa>x2A9?nF6RW zL(NpeA>ZF&Ln9pNs6`AHAyA0)Vr>P7oWR!#gAfAPU6l4iwU{y z!^bX=#L9emu~MDZ$UY{a$dbvMg;J&12;oqV!*caylS$!^sA@sQ8n@9jxfIT;wEMD1 zL!fR;(8;&RMv5#;6lGIm!3Y9oUoeo`Pi_zc)Bngjk{FU8y2vHbq>_C>QQ}y-LDwa& z=vfkk2dtID9g-DF3LmCq*@9^#57Zn>2=C7$OAt6vDK@8>msHR#5edaWA)~t+9jjXQO6DdruK;NZZ5TnHKj4H~F^#t$+H5T-KsboWk zPpXWod*M@2MWu?4`(I=%nCDUhi2V^W<_(JpCJl@4ry5w40B~-(&(#kLiQaCHac7UH zBbh4+-|Io5esaUO2aZ669T z8Ybfm*`v~^{In1*q#MEooKVKEN4t?}(86j<0?SyK@nOG5$$Dc+6SDEzvkHHdvaU|Z zWa!#Pbc?MujO8&+O}ybSA&LS^S8GCw|N03jO=1u`reSn1JcXKzt=U>_?e*Gr%Q6Pt zd+-kkd_n8lz-t1w8e(P-d=iS*BTqM$lYZ+ia);=#xKXd82|a+h4gdwGF5$}nl=%;U z8R!MZc_Kx?8fMxCtVB$k9LyQ2b{AwVezaU!d$uTb{6emiu71s=1rw!@^(h&5%@3y3YX)!kh2W+I2;_$& zaggBF7RiE9hG`W2r1K#vtdcueYS>4ZVi<}5*6;G(T*5vhPYMiVcto86v)kwvTTNpi zrFez~IRNRH&%Vpm|J17DeA_(LvY$8yt*r=vp9kE|d*D_#7@sB$^Vpw;88x*LV3I8c z+2x`aOaK70N1b8Jx?}1iF8WNMh!<749W^oinV>=F7>$Q5XwfQMz<`WD-%30B z9#u!c6;gfuGl4+e<*v;p=%?dxrxh4VwXqj34RhFmJLEbg9z`uYn%bBE!~`|;IpOM` z>*$aYQyoXtc6*=F%)Y}G);fBQd$k^^79-9h3%y0y>EkIO1c*J*+b68q($?b_bpJ-m z6PHlXS`)QTXljyDjPdQg&_*Fflw&eWn-BcB+z;Z?4Gv71FW?oY@u}D&wkf2bjz{N@ zm(J%x&XDA$jz?2Dtig@ClwP5l+o&#AYp+yuX1eC&lv^F!1&pNdt`!SaZH(s31U!|y zy0TJUEUe^;w+i(Frb^xFM-Ni<{*Q8nM$RIRx#K0PHdEssYazC9a*LIh%hlW~mBuY! zK7C?Z^4*&;vS7TLHPc4Q*o;l0E5%!O(7$Q!wa9EWs*e+?jQivKha47L-@?UXQ zDP&CMay{8!@LfHjwiY!&rZ_uSWyV$!qd0NT)xX`>qlQ0l;v=;dVld_Z5H-xo4>zjB z`Mp)vj^DoeoFvwO%HWj|ZX$KnfM#jTS~h>*o=HI{=v!OvuFMr`j1bO9=zfqpmx?zJ zQX{F+U?AvCk7G>ty54jan`2OWw!s)az3ws?)m(nVAvMT8uG(g(Nek?fW2v6>7$rky zcM_x;;niVQWJu2^@M}eMn0G%GQHNQtzFe7QiBNL4h`Gr z?rKZJR&iQ?UQ^N>bqGyMG2??-1C;o)LgFR^F?@$|2pJb{Dq*tTGz@=CxgS^Z6H4wX zv6=n6a=$=g?3T}KM2;L%&|MoRJW7vsuIL~Mw0B_e@Zh7_QL>+bf^|q^qWFAu_esFkZD0Y$D0<%wB*R=<&3M( zNflr>U~;H1<=(vI-1=J);mJOP2*U)vHzlwX6khr{GcHh0cElG=W4f}(U3&>!-@Bz` z>+unQ4i`xbvE^owGld-3&_Xum^9ywa7d6X;{JeHc)n*~TxKf*Ee=?L?Y*iQXD>XL$ z{Z7=z8rz`dX|;-jEH9UN1bsMv6mmZN82R>5q!qdR?X~Q}{$)cO%D7f`8Ucoj&pv9L zUlW}wu;YR>qG$*YU1BH8rqKu@W-Minj}}!Eu!Sv<0Y&)g+Q~5HgeNgbF3(-E@RThf zYgvCrE6OTPD#r#N%*z^5#6D88bHR3of0DMC)%rN=dcPe%$pn+!@2jkt3uW8r9^Huc z6+%*Wqo|AB2;O=*+E|H0xre#$Dptc6>G6xgpY)7F93MpN9!Tx>&Y~ni3uiaDiE;L< zsQB{S6|<#5(v=pH$bkwF3Z6XP6l?5678aiSU5`FY-hINN z`5_t>Te=Z|9ZE2p5mA@tyZ zvWMN3ZJ(w8Z;PYPl0mk)4Ei7)Or~=|9~(@2g2TaHGdc&*7(=NCQaSF%gF%-K9^}Wg zhOi`zU*d}XE(zSO125*lL71Xe&b&Mw2P!eWt z_($FIoIA0jC$>i=W8wW$5_H2*v^=UIdR)~`s!4|MjCXcm?!RXB7|T~My8;`7mNYw} zQusAt#cQU$z4vE|J8vZO^vt{cj)%mpy|EIX=Q7n4K0|4H-@sP2v9ZP?i|Bpy*~muA z?Uz@#Rkl|Yth4&sh>X0SA|kN|{v4Ef6l&GgWjE){2eWK|EDRf42feKS!64`Qv1Z3{ zP6lx*#scHGXXN;W9Q`87UIa}0Cj!056^XIS9PUFFa-hzL;4Uu~&4lcgQMDVg>m8jd!CF!M${%5aDfh)umbuKS*3V-Z@S5+w+G zHYa?{U{N9fsX_n>+R;;lE~>_;ojldzZ3z=S6%3Y*2p8QS5&)q1Jd%Wo7l4vn79Ftd zBja;hk|_KfPplUs2eVH_LUO1h3o+OkU~k2GswvTtQS3@>vE%f&4fgvQQC)VGknF_V zQBlucy5_`O{4=V*(9XV8QB0Fuwk{_r0CU&_cX*;4>>1|}7I6*Hbu=TuygY>*k_$GS2JY0!C4Z;cFGs1+p+hJqt=ib>L=izIaed6Y3sBgLo zby$&yk<5KJ4_aj{1SrbVDz#}Fsk~lumqpwf4g@@LUj$ItRuI3)jYk0MF2?gV8r&3U z$5D@P50MsrpQYrPkbC*}NNQ|Dj+FJ;ktntfmpWQ-AWhrhoh{VqM>?u-@bNxX7?kLy z5t}$^Cj3286NtpyjMj3}#yO5C#d}_U*HONPC&k?A2G8fqxq`1*tLID!*iKnoh1TWO zwZ`VOxuCyH+tBQqhm?y6?L3N9& z@5Qhu{*>Am|4r_VpwrY5fS0(UCJ7Q4=f1fdFYM*HACUpzeSc&lD3308EP@%P80NBC zh5Af<{!{uNoxPA$^@^PKRIQrorUw08SRZw>wpxN>#?CriER^DvlD4$Cs$ZiAsB&G$ zj(z-g6-TkcJD|xzn#wnf+Ii=ECCXPyZ1q$YDk!_ZK;w?3(K{aPEnySRSdOces=@-u zt1b)IKhWq}73~jXBFOCj^`RibEl0!zS{=Z`!Jd zuuYHulH1owV1!?z?>SA0izyj7DJ!ihpNktB>Gd5k4YJ_0tMdwHupd8py1)HhK}f zO=+H@P66W8s);?AUGc^h&e)vFJ=+oioYq@p!=M%BkHphEnnbyX;|h>j(ZZFdlCGi- zQ4*EcH+YS-oU1K#bmred(kl7mH}6yKx{|gK3Ar`;ls|Mu2W>j!N7qj=gx_Sif|gYt zltN5|1vm~uc!?PFs9$FBYHOJ{Q0hW@i&jkw2da{ce3dXimmk^Oxs#1tJ{!AhiSUgKRj06i*s*of+lVJ9=XjJMNGWj#ngf zn>PU!ScJj0`qV3A#@S^6VxJKxJwSHa*^4}*y&YX(4MTM)x7HWPdFfX^I%yF5_GU}o zuch~=22DWDbu<8ALrV~=y%w|{k9hKumw6(y2vAw4I(#$}eu*?Xp+rtdo92=u9UK@d zcny|Al}QsB?VD$BCwUTTw)P1rv!S(}5ljc>rmd3X^2sS;t==TQ-7=1+PDE0q*91w< zq&Fwl+WOR=Dn`+*9-{NDR<`$sGtah|I_YRX)gDGOX^%e@N!$8CZD+5rqO(tJ z#UR(BLn=O`TcOP}-4~Sm=Std4XFMp*3ymfJF}V&iTy|k-7DJYt0V=S&Yma}Ou2;o~ z+VOK763w!C#3m6NP@W-sQ6D45n%Y*JwP+4Vbe zoaqOFLcEcvW&3v6jyo`(p8ipc3UYrpVHapyR1w6jkrsT*7GjL z_AV#VU`Sp1kFTi9|Cox4=+eHz!Y5c7`++N^XS1Tf>3wk0j7d!F7KE1%jz&6AgS0LHEz_W}sQxT*7~& zTdwYTteVhQS`*Tk+t5Bt!L|v#3W%>Gy1$k{XZs`dvd+Vor{zL=tKv5WVjqckB-&gx z&W1@@LzTXod_Rw2?G@@?`D|Dvi7D3OWO;U(DUpH>tv5*6sGL%ivLrF z`mk_1PsRl&+b`#0+;H$bwFg5-F^eJY_On@`Gd4qPU&!E5P6 z65<}>bk0~XmY#_J8Y|23){HN4MPCC`&A*Y6o|5|cL`E@>U8V%hXy6sX{~gGj@GgSs zXh|{KCvWX~=!64-4U=;^$DkKO=n;=qZ(Ukw3)O;*!LX6>u_Z4D(?OdXY*%1Iv^vJ* z!e}tNK|b*BnliHuPV}L6HB7Z*d6+$6BjyL)`eE~Cd@~*UFmJ*)qrvxSh9Vqx(HlG3 z*c`ssP@5%1FfmrNH)_Ds1t!b5N^M({7i4Vr7b}R^IyQ&BEL8u6j!^*j)gZ&OnPpPi zF=cO8KK*1$o2JPdK{r_dP-U-X3e|q9jMdR08>V-9FuJgSY=$y|hHPnlZH%Cf+QO&& zsScFB1O&6ql0nQ_2Nc-lxfhKZY|}MfV%{nBmL_{7GGe2SA+UN_DMiIv-JVP_inf!1 zdcyX`{(;On-ZjG5fwZu3kj-@pThqcMq$BLs^gSJIzSOY}RC;ZTFqUq2&SLEV(Qtn< z)q(pzpZ@;1XOEikLAihgZSFQDSP_~9D(D(`WLK`$9Qt* zmy9#D+X6s?M)n}ezv$J9JoA3pi1{&Wf5Uh!?)tuLi}2gVsZ*KP%BgE6L_C<^gHyHm zEjImBN1N}(rk~2-it#(!JZyB+Husr2udw+5*ZOZ}W=m}&Rcg@t_EY5Uu_@6o1XpXh z)k1YM$M=yoR*8^Ck@hm~saq#zRpCI64#>8uo^98Z>04ghSSi$Vd~1w~_BwB3t;&a& zW$X{eN`+0o?fDDGqo;V^*MgPNg?3lrz5Q%!54;?71r!Ur$M$D*uH8Wr#JCSY+d4W$ zM8OQnW6|SDYvO%;QZN^7V5(0Yo8tIw8*ptDl%rx{jdQ|wHh1dgu_-g(e-NWO{8h%n zZASGxM$$ILJCS9_kmE=qquEvi&=Ml0#s3q2A2h>1?q;0MG-bc8l7C#Z8iK7gZu z%=95m!7QJDs~nfNk-d5IPjo9A%9}Soq}<;k!E?8R#?W4|#zEqa_>9QOES7w}R4ejL zz%@0}#DBOUsv+)l(cqj?6^m3|I17sSq%P#u^%O8yZZ~W zj{G^0Khe|wtmHrGsjMgX1yCcaSyj$nGBe{ZUsix9{H3HS_Z%B9`yi57wr;J;G9bHa zYkiB(zad-eV`N+~+H=5cs3B}6y$-05(I6HT!6R%a|5va5={_BtFl$S1RP76nkUtXa zP9MPLlC`B84{?CR*L;|#W7Jbk4wZ22=FkZ?Sz0?#8f64Ku5-je8*dDY&zzVMpc4|! zK6?t3pgR$3E9^%h#|agf6Dd95gSRHru~ihjBKZ48Rlc_QaCR|g`rKR$~5!07VyC|gLiqon1~4GNAs^sD_@@bn4R3B z9`=WQ`hs&=oVSX;B2nL2DB(Zo>I8=eb=-hnm;)!cWFcXVpdGp8XcpF3M&GNToWcw1 zKAKD$zGlP((33nfZEpq+^CLz!WV+CLeFEUte<|Ki6E0`AeXGHC1aC%iQ!!+|~cM0$}|-w+rf)w>1a zG4A2JK@P7A-QIJQ81?7YHL36$O8%LWuPXTiC0|qWO(hCDhjP$DNsdr}w5MjdZtPNj znQn8EO5V7UvG7upy?{puI6`A!NOJa7mH@D!@?_yJd}Su-li!t@NcjOWW(P0kdS)_}SA9ulQe;t?0ndwp|( zPC4F$Bcl5eSD;riqppB&G3W|*KJ?n`dLhUVW0pLeLmUR&zodDBoln{uc;?1wd}6EW z%tw=%5=DHep7IE*6aek+(I;OaZ$MXtty zcz;kY#1ZATLG;}p<_kJx`TB7Yh%E9UA=H=nTjj?kn;D)Xu+9G<@qBsi+iq)*R&9&# zOl(*KfZ8MHZozgA_PVWou5rZOW=80moZA}jxIOB&fOgC+J*Y!*xA8~_Egv)Am)hE( zs9#ORh(Sar&l%tj9_ISh6u-007i`>z;&Ct9xcl7}U*~D{3?e4Cb^FDRZtY>x=ND7! zU&MpLzhWKtfXCC^0mq~17!D&i5l8bERp;{D&j|&M<8gyY`N1p%=z3UC-bAGya9fZv z80PyKEYOs7e49n!X4>EIked_!hT+bpn@_mLBd+nNqoUSG3<3K1#)T&os17%gTlzV~ zG72G|NYAdHP4he3{D9VH>7>^7@?6t!vd3-N;>61Ro9Wwp*_`Ml!;wz_n_PMr zp^g@q$)jnBhSnnkI(c-W^=SQ@X?|ycg7*1S9ewKlwB7rTbPscZH!^Q9)Sb2bIjeNe zEn$anL}OGOpgM1|I*(iai8vqE@!RCo;iMEZdb5lEI3tVTE!x=-O=;o&s1rBeFx(t5 z+<*@_7JR(B=QcFU8b0n%-1fwMKo&<5K8$OewHjaQ(Qt2abuxZ9h}BnJ|5DHTf626Q zO}?}5kM{U+woSlBrrHHb3}3r74$sbRM~RiFwjYYoW(CcCMH8~@yFJK0rPMiZ;*4+- z;znZ)Ci^nBpX`riqEX^qTsZ*tDTzx3eOPLKqq0)U+53)muz}op?_ov$vrhGPadM(2 z$H%2Qip`x#YMV8Ld|?nNr?zKnpLVm}pDva3zNoptm`RU4BjW{3QQ! z&pv(a`js#jUU}!0m#*dB@!T`dJU5%u6MJ9O>a~5U+<7_Q<>q^im*#*}ZkG3|WdZ4| zTiycBe*E@nxA0#J<~R5{_pPBFEd2R+Z$I9KSNC?XoSx$^UfIOj9lvU`>9;bNH$RRl zClj)L-ZlIRw`O$lWhnc$j9F^-4V6!-rYwcF$zm?ywN19W{I~M``*$Bz9rUgXKcqzK z66&y+_x9{~jX9s^RCZN~ZTEjcxgjObDKS6$e*URN-v3lpzN6%`O3YoIQcgCJ|1#D! z<*qAv3yBZn@tY}d&qOv8T(SM@hN>F zC%vE3zbf5>!>Z#@IvL#?^y5JH@p3O44Z%1s@Q&gd?+>P_PfMQl;wZ}?KS13a`3e3W zN)2Z?`p47bjHn-dZRdD;67&86ejenEhg@huvR@Y?jq+669%J0ev6d4)5Vqli{EG+0g@s~~TlGRF>Tc*neQ zfi<`+?^x{#RP)_0e>6e&==G!})y-IB{eN7xFODxKGuYz5#?||u{F+IiaC-fdR)Yw> zz2O1XkZE2tn-?%Jr+Z!W5A9(z;FAAkZ~A3 zq$Kb{y|yYbRxK6kC4zf;=YHCb8C`kq9Vmeu9D3sXfPF${+yAsM;2p_DuxUbxkj~5A zMa@to7u9>GBL1uTnCKPz43?H5YLxiio&PwWr)5C#BFco7Nu6OTh9gQ8YVz-wNPu|> zs4wxF`)ZD=I_1q)VE0^U(ZTR%)Q+obo3WlPH>#@~C-`q-kVn)zWSWLp6W?=GuamIb z*6SGqa!-pTc;TohSfzw@(cFJS@h90BH8<@8p4M91=2l%zRCP?%A0=VwKWO0}G=2TB z@;b@G^!egkR<}M+8t(*$Ia>KG>VHoz6#4s8uj>dIJUnXEo0Coce5!LnQe)!7Fga8md^7W(M>0=t>1(Jq{i!VX8KBAe# zNJY*5GjDHJ?pf6p0bgrPZ@UD9SyC6$>C`yEmC+srHM5zKp7GxC?D**T-m&kx^V#w2 WXm)pYDmyX$U3YQnFOM9}4*Xx*PWj3J diff --git a/oe-core/bitbake/lib/ply/yacc.pyc b/oe-core/bitbake/lib/ply/yacc.pyc deleted file mode 100644 index 5cf08cb26b9fb2370ec9db2bf2fe28d2089b1602..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 64234 zcmd_T3z%HlRo{E6s^5CQ)f#D38cCzpjMO8|!!wpO_B`5;F*EYyXoenZrfFJTC8?!W zbyuCzOt&Lp;xTyqz+fH@j{pY3!?7U&d?AEKE+mEol8*qsd_W+9eAiztj|8~fB$trH z_xJy=bE>K(jXfqU!uQ>ouC0Cc+0V7sUVE*z*WRb{XX{3e{m1|E>}-<%x1N6=;g@}~ zoFug*IYU@V&Xkf`IXP2KYL(YoG zoOM%jW^*#x*p>9vw@G;ZOO}kcwbW6UG!*Ar@$Ra?e-#dZzpwsQmYoJ`#PxylG+`5 zICC(m?N92vJd6XK*LNnhgGHe`JE@0~+My!vSSNKXsU0rz-qlGxoYd~t!YU_jmFg6J^!QN&R?I?^9TN zKy*P^hxA_ObY7AEVDesQ=Ux%o>9L1IwH1Q<#_!Ajy?2hsBpV@EoM~nC*7(Aec6+FJ zY|or+_wn%Lqfe%DDmgc%;B)+UYPLkQ_&rWM8zi`zBo`Cf(u-3L+rvc9U1`it&o0#J zk)*fhR8`_2dlRvHE-YNG-!s4T(!IxyAG_zN2k(2}*o*hxGqbpuO)s_?^w|KdaB5y9ET{DK-r@=GxQKFVa{+ z7;0D;74F`l^xXt8sh|yYx}0oh{5xQXC3jsVPGthu$e7~pZM&b?ORc$f-K3DN;n8Tn zoSpZ$W?JX7_5i7uUQ%?Gk*?Nj^|M#bFA=$ZXd0e}RwdFI8e_^ww*!23hbKUs%EUt^ zA5Bj^aq6uns@D%T6+XM;OtnI%8x(BR3x2D|W;|yAS!1qop1!Zj;56&roTl$c{}&HU zSgW^M3$1r|2R5dunp10I=5l>{x~;`xdiwH0?aDllsklqJNx6hr@t1V7lC~&GrDq|- zx!IZdE+QOT6{fGgT;Z3g7Xzi?@^E>eJX{&BxRS&`EjK$5+Dme zXfXL}mIz>tmj;s7A*Yw}^ak0?HObaSV(3d+Zx<6KUKJ0eC|Ot(;rvnA#lD1w2_ zS4p;CD{D!~#fadnhF*1id^{8BojjOTAE_Q&I=J-4>e#{T@R(K&&-GS)v6agbjkab$ ztDaq%Z_m$No@+ZpdwH>*3YPQ;)=(SMFzGTm%^6g|bk=TpA&SCXfUgEYw6!vvTWDRL zX-`M}UrR!!1tKY}Ev-#9ls1<(mF@^>QJw4{LDJe6i-cTkdss*~Ew}?)Bk>~fzC3=8 z1^jfaBe@00=LG3YFzf;Mm>6=pN5Sn1stQb+`-lal-l4SpdgQl?%bZwv4!Ep6Gka;e z-e|X$zlBt@+Aj3^%4W5iW2cudpIw-rRY&w+XOg`ZR;$d#&y(Qh%7kGMvZ{c!%7a#$ z(;~>}=^rJU@r&uHo{2i#Gp#ut$|#lsx_wm^YB(QRdNPLW;kc z{9fy`AdkJI-w`Y&1CC(k7<9xYllP()P~ossFqVWhWSsOFZZ=m#3#cO=Fo>9k@=izSKdhQ2V&vi6;g&^N|Ho zi@E8}Y82_c1YOjm_wnfE=*3$yfUMq*0sM2?DWo-Zx-b8^^9Oi1PyY+FFpzx{QyY?N zEZQjgrR2-XNpn+2=Dcn&s;Y~KIgjRIdYsf%9+IfdIPpA~p8gj+7h@_IxBBKWY1s`H zN&k^fR$#(wnb2{|_+;?$`Fdk|`j>mUsqX0~n7Nxfh;+KCIlv@g4S%^phlQt87EI>n z8uiA4Ei7JhtpeuacDtWL=U> zyMw%?wD=g^{~ZlMtt8QXb-mO5RYIuRS&2{&_zNIZfHp#bjb|?SB)ZDz6rr%(3!A^I z279ns@In3SshNw4@3D+gFhRZb5_fvJ(VkhdW_qhwp{+2VRW}1;r^Y0&g%V+Pd|Z#> z?dkmrUZ>#o3Qi~x$4DPm@TdZzC4Gy6Ed*V-I<_h@&E3@dkNIWW2?k1Q`-l5v&B_1o z=ih#7j!&jfd%I$mZ2nJJQ1`Nz3F@z6E{3uh?{KHVK;Vqyi$nt zN&4Uo`4L7*AG#qO*_8BQ37{gzj-(>sn;^6>v(QLPvFNFIh@r4G;#Lx;QPCrjZNsi4 zD#Ek4J>SxfNG@$>CZ*nI@inr{SQz&_$fKs**7W&>_JXBXN0i$}KW));R|gAx^DS)v z3AB-;i}6)Kw#e>J_~imD`Z)jF9HJ@GftiE}7G?n~x7O>`sX1lxyb0bd1JA;xTQ!jk z4?*G5f2P@j{}ui0^mT%lbQJvFtA9$#z1RRC$&M8VEhAnC)s~G)k)LOY9)(rEq9Iz# zIsg|lFSI!zR#!}cb*tr`4B7H!KUh0UtCS3^FD_Cvc&3DtP*0aHuPzo1d~7RPNdKHx za`V7oY0&z}#*+I!D{tTR zfM6EO|5f0}+kR9S>|S-h9=z#m$_?G@MbFgIB(UtD&BR*$#rnMAJeSQi7+3?nPxzQ? zv{P~P)HU%>wyn3t!*pYz-9mS?2`!{{RW;XGywXnZQO&la zi*-03dkpSXd*M>O;rYp%;Jd3a0Zr5HTM0t$SjA)$8!Zi#M$5+9KAIGKjJ19A4Y*w! zkjiomc$>(t0be5QNe(+wNv@3uedL6ouc4w7uC+P?Qw=Hyi`k3_^<^qrmt0+!TpUc0 z`h;ni-W z#~MFwOs?|BBRwKQ1M57dP0Dt0y*jID*xul-ZI%J`>gHtH#duBJvy>riNtV_RN=e(K zB}A$D0}Omi0wI^K4q*K#T^&raiPF{eu5ch}(C}b#k$Mct$dfk*$EUdgHP>vEG`y&u zbgUsm$;B;J7B?nV5w|8+wd@O`;oacl)lsuSe^2q_-hc8xgi&xp#n+Kqx)G^h?aYu4(rz1O)YokdA_E$+X?5SCi(d6oA z()zWsdI8?oxX9K7M;2UIId93+T}sJG@t$Ty55vjmwcW|p-N{A2pC%+u z3cV&I#|GzU@6n4I6*?=rrgGe##2Jh86SZw#W@g!(nurMG5T#n)mcW)9s)L;W-fl*cZ?4(^T$2i+BMok;>-eJfz9n z&fq7F>{~e4yZUdzV7p|`y2k9<7@*o?gyRwg@iIT*n70>HxXtLhUAQpn0;%~NygfOc z*9gy}#`Qy@T^yHi*ZKks;s^S_0D~~5s5JWz{bJ__lh&re>oCYXzXpkJ64QZEsRz3T zH0w7NOZ1_n^$i0mK9-=#=xr-rwdXYu<@;`bUESr6%v z(O=t}oE=NfjwEL(86AS%?iFE0lcJ^dgUua-s`tMZ^)l7z)~5#OE7WzZs>J{jByzQy zw0?J>eRp#4NOBQpD<(dP9*lUUh@bkp?;$J2BC zN=fUPL3JR&RMDgQT=ZQ1VX6!!_c8_zyOWi!pI6q?c@n;Rl>URkf^c9xn_Vq0$op-1 zwNXvZH(|3>zFqTBu%^*~$uGG}jEYyc8QL&w;&9a!QyfM=pvn6A=X%~GzG{0kY?NG5 z)blY}_`-s0J?`lz-+7|?^rPwNH&-X#{MfT^t)717(e#;)aEtth^dSlLwB*`q^+fex zRy@yM%AX}TvJ*MZI~zHxmjAOV$&Xsoq1fpQbLZOCnMSQD)uxK*Ms?IBJ8vgbT1RuL zS6g^5RG&YXO;ul-YhNJO4drTX=Xr-m98THuEqx=^r51;5^Yf;sJ8iYtM&?Y)^#r>E zRdqkDx3Ab^M4j2nn;RhV=2H_M@tdW^#E3&6lm>1Kh9px)Xp=$J>R5HAU6oy_da!n+ zY7z0_gV~53hHlK<&0&y5hNq=N=atPhs+L2?t8aeCTSl_Iv>Ta_dh4ym%zV|7Vk@%m z+qZ9I%o6K38Pg{foKo<11=8YEY4E88#~8>l#lD=tQm4C{KBKf}6=-`T{Za*o6jT*h z7OoImM2_y`--`=#jr1@Pt2guPw9PGAFvl31j;e@F%QEt(cPg;?;xWZeD(K+N=0J<- za#xr+J6}%^D#Kd|tWF!g_yk@-;!pKP_Kx%&3Qj9{j=+k~g_%rV8P*8W7xc=eZyQu7 zJa@TnjE+f&w!m)?bY=Z?Mla5)I)Q3_Vd2uuh5Ae_^!(xpLT1BBGaxki%&<00r1%>g zi?Kf?{lvYG&Z~@T21L`>0o?!~ZzNADr?e5z8gJMyEjeLc+xVvcw!_8H8|3K{UBJ-p z{L?S`8BOrKpWDZ6XiX2OY9W%AZh^r$oucYp(qO)fAVG7%^TYqIEe%xG_33GCg_O$L z(#G;y{vU9f-Gxd6ee0Ze9i=J*>q;9dDo-xgvVn4s^bMD`@VvH6p326G!hwX4n%1bS z>Lwg0y`#K~nm3e2h>zHsF;d!Dx@~y4TqzHghDz(oyQo7R2kZEE#QzV|&OnLU257ZJ zdxOgTd2=$3k<#Y!c4`?cYh;hC+veV?ZF*8xox`Q=s!vb!Nn_=0qEQW$s`O)HX|OUd zu+Pr};OQ9%k*YAJ>mLEx@r`6(llo>)Kfzl^~ega~B??s6@NR!13Dp#=fXLJKOR1?{#L zbi9%)2D}Z(swU&rIOxPY2DBiifx$!wrcv#>TF~tYz<-Wk6QH97y|W@Mr~?z?1x!TN zp#@p%&4-9{(P|8-uTbn(b4coO&=is>q>At>q~2!ap#kH@VO_^6OwcqLUmTFB0Gfsw zJln@~zj%AnTJFCNY5+dhJWw`qcB9~X`eMeaSxW6qT7Ti<)nuk>%>zA`^nJ+;N+TM= zr~9NAqj?O6=J9DMpgd1wk}0a-5lTUmKU+=C4ku?R86A4DAH`hL)=Wb9d$GUy?tayK zwm+|T#G1!$aRV@VZBLGG>>=p zyjiFISE0YYX_pgtgO~NNE)=} zkq#7S49z260R4*fKJ)}vld}kr3hi$bTN6xZG+=U{wJ~!tX1<`!L?#;y1kIyMgFwwS ze*XEDH+iRyD*+8@9_7$HHn1$^nnxc|+s-8vTqn491@*uFQuZObpN=cInUsAK0Xv;j z=Fcx%vq6!hmla$mH-BD{IR$YcC8rCDSu|cL6{m}OAvv-u4yR2XtrUKK5jbtBSf)Ta zVJH+=6njy@O9~{=raD#7Gr(m%N`6h>rGN>Wq}LRDg@Si0_(}!Za!6Tx!%ZW7uVNbS z>TZanUq+SBmJvtacoT8-ix5WpC5H71q8%aBg6K^|P>Fc2E_@{Kq!(-d zO2y4Rz_TN6B6*ty|NmLs{O^5m&%Y9J^M@+=dXAv7isI&1RsLthO|1W~DsF}(xb4*> zK}4(EQr;`Yza~j=hb6&(QT`$&LFCw8Ns!%*jy-&|BMAbJ>jXVU5Q5(SbdSH{ij6ks}b%R|%(x`3lwPkdO`2MRj96O zV!kbDU9q6IJDFk2026ZvdV7)?3stQ*^|i64Bj^o=p!cR51U*}J5gm|C&m!v~=ut8{ z^e266IdsG&33`9h*ZlK733|U>)H`HB@1vTBh@D7_xrv$H>`q!g*VnE}?7YbNO?pP+ zNGp!d4hF6cecE9muG(EAtOn~=QT5%hS0 zpm!~=_Ig1NLJ2_+ScC9@$q%|qd;KaluU0|O+pi72m4cqkY_Bfp*<5Ek;63E?BLCOb zhl0LpVeDgZY?jTf^=67cWgCWT++8u z?;rEaHWMIx4`8hw+Bv%ObID15n|#9U%buS(`mRTho;h~(_0vbE?ml3Do|~L!(Jatz zLMD5Cz3?&AogeJAv#b+AIISe_jmtmc3=4+IIKu*qj5923)5aMV%ppSwq>IBK>x3el zYKb!}Yve*G9w%Kc?DDO-^B3AFEhMu;1XBF^_&v@q`!fRBGVCIUk)Aza*rgsxj0ko# z7&a+(%TdG@Nk!1uZMT)9O*kM9C%}MLxb)=p*lMcGYm%k=@>dg6V>a|sjI3*tOM^)( z%i|ZZV6Y;{u8}4DO=2BZal6_mfzRaql)XbIu2*)`}Ot%3O=adIKddd2v%ikXjZ<5;baF?ug(45$j}x- zX}E7Q8w(rJCwFLjgWtjOteK$l@-y8@8xO4XIyc8amC5VFDtBAeeN5d(#ilErPQj+5 zQ<~|J6ea|^1_k;)f&4&+H(9$=d(0bJhr?;~Fy(HQ`=}4(ea}sLtw9)+BH8FN+b8t8 z0H`v=zNV<;mi15W-rskV{&i5zJ3%#0#^=trB;B$e<%hr;3ypWxTMN_EAMfd$U{d@H zJk6(|L%7{&0XkElp=KZ|lPBz4qsE0NJgwqnx}VxUd0iJpksZUu$9SM~y(pHC9s3^g zdw@IpHJ&SMe=YC!abdV2oRM8GXqZika)M*{WTTq&!L;Bmut#0%bWYbgiM#r}u60_* z6Q!r@P8S`DyPznlLf@uBw5&oyz6*-j3f!7cX{XO@(k#)u^2ziGxSRKsHIK9loE3a; z<{Yj9UOk@>h`sggcVALpjtA8WPdr=aY;nEoZ65o?GS{sxS_&R4hWrnN9bFKRl(r>( z>~dC0ySaj9U8%wz?K<{SXA6?jzb30HkszxUN?fr@jgrIxL)HhO&NK2!1W{#gx658~i%H&c_A7Uq&QQ}@iJ z;^fEI>rq6Veyf7NL(m<7W2>?TeHHb7rA83q*+6OA?W{HNf8X#XyFom~EjeA5JxdAy zr`i1&zf3v}tNu+d2tuNGFRze!5X*@4ORf^MX0>$b*Fm;0&Lj|WiFiVSdPtNC2HhwZs0^MMjH|R#3dTtGn-*xa%r+P}TjaIw&0Vtn?j}sm+e?xIJfI zCZ&}$<7+E!eShzwJD=(4ulia1R*Rpc-$tdY4ClW?mA|2W^9wejRjbP};(VAI4F;k7 z-7Yw`Dg^l*)ceoXk0B!HYD4l}NxzYY8z=pKQorD&XRcRNT0!x9oVX8(F>9e_&0xd= zud`ik$66DYcIYi(aD_f8V@k0eMP?mGfiZ-eE^L)|y;ZRCtw`aKCT*&mM&r{=5_O!i z3_2b#aDP zEFSWog);GPT?(?9pLoa?Vw-Prt;$KV2`a2mcNcRP2?t;r$fP6tO7YX>H7JY50b-Dz z0pAy+@(JSsLMvI9cqVcxG99<(ebh^bG8+7m?DrX2``Ikyuz zdFftHK;&RIXl_X+J@Hg^C^5|Gf-WrWYLWKDv7Cfz z&y_Y=oWiQNF3;fzo23sbkIN}o4c^xlQCMcX%-Q8>#Ar9QQE1T|ORS1-EDe>`mwct- zTU#@iFVD0rRnIDe{u8Y{#?J&8+z}S2H$nIvq;@;+*lLU*{eGIM7Gz`vB}wvLb~*@> zql3yE9RwZkMKCiTRfJnuZjjk(_}?MIVM@b-#+8pqTBKk^;~tsMYedWM#KkrjH{HTe z*10)OdHJT>Gq|&Ca0(VC>g1wZ>SX6=lM^>fT-0VlhaNQo)8mJT(02~0Kz0a<`Pxt} zB9$W2mn^Z{RN}xEzI0`u-h%%jN0yV5&GEu8rsJRZ%XLciI%>mswqY%UmmKTlag*!uSVvp6(d0TnuOaR=Z~j`d&3H@TvAL0j>(|X^QL@?d>AMGL#=0Usu|M zCoSp(*8&pub$D@yt9)Ur%g3qkmReojTFeOqoM-_y+Zp zUj(ZH)%&UK?LEB{@`|5(*CHW$2L&<{DwvdVJmqo9Y0lzdj@*~1OvztWuwc)mf zG9>1Vrx~W>=l$CLm7Q1UVF&|J1;tL%P8_X2mEB9@PhH8{Rr&B&b>T?YdOCKv8YYJ7 zOpTjoJBQ`R4rk);T}rLa%(rm2U#@10_1U>|bM;yk%S5%90M$bWvqK?|)z7ulucoX; zF|1NES++2n$!zwhVskU?xfkc!%hk*3(%E`dXFnFsRS(Tm@X(P%=Iw`$RH^(>QTmW) zhox@i>gw(3r>Hj8VPQF@va~dsLd@fiE%W{K@9U*lY0u@SKf!ZS9#b)9xfsr#CujhJ)t^-8>sMF-W@K+kEqb z34fFFL_kntIMp%{R>n~k2b|wo64=?VadFAsU6_+`U1X%4f98yA+}u1PHRk8PIi^f& zUZ7qEr1Weg$+(P@X4u||UJmzSmvuSRC;VcE@fvrt_cgfgl5TYrgUp6Q(2f~rJ`5WatSJb$_ z(yeiQ5C=6-{q?0Lzabav5bNE#DdcuR*iG#Hh)hFiX>*qNm=2LaD37d0{ zS0ByUYps5clWMid9<@_HuNP33}T&RQCP2ea|2Pa(3*zBspVC94|yTmrp7D{Wv6$=u9R zJ?0~WpP++Y)V#(_&t=nd?1;9tIJdl3O=a7E9@r~^ZCQCQcPlU`ppDmTCpr(dEJ*JA@o`#@V4*!^}bu# zeR>p#;WDgwd7=8O3u)z34T7)F!$|;FzRMQL7h@Z`>$-dkmh6?{P(w>LObelN1Dhdh z`SEXM6lJqwTh3mdH*zFwkPVVS-tN~CIxYv%Z=@tI;N3dNR@q$IR?%MZI+p!C6&)MX zF*){*sdr;(XXSRnb!@n3qh)JX%#|>yDVfQk8(x&*zG;4m5TN@g;{xNHt8zxcux zY;I;=U3PN%P?+pZIyNquek6&drXN$%5A)bHIGJ=^_bQ`xSbawNb=^NJjIJj|#~}H> z0>9mYxTs9Jf*@YumwlMveWm1m<>Y-hJpjB?f^-WtGs^d4Ss9nHHbU;;SNx zsi)Gsvoi#A1U!zmP}@-e=xZdLTzW%7!z{4cDD^d($O98o+&WRpwQg|l{+8WlTs_l# zBSIFMx3Mp%vVBI77^W%v7FfUE+q`JZbt| zYaw*qRZ+tw&8)&{?hvLPR_8JG}q8DuY(z+5Gz!eqtNKhQ7GMj zKN(Iof<8aN3r@06X=4Li)s&Sw4KWsc`hwJh=Tu0L6tmCi9S z^}IBIrMo4JL&XzQyQ~h-(qJ;0z2b_7lBb)mB>brdI_S#PLrd-$XB@L%wgy81TG#tN zDY;KKmlFOaoAqQ8$uoNgDep-5V|pMnFHNa9T8n%24)+QvF68FF$i1_mWHG=KI%TTS zhBDztIG^-@6Q$Y0&A&+anAEL{^6!H}up$J-a+RU(f!ds8QNGjFP2meR-sxkR{4X8mFUmhI^=gfX_+j z?DMcrjh6=b>1M3EDwXoqaEB6`8szslKeSErAW?2J$I-;pIa&Rn+3b!4s)ZPq{)Qgm zSQArk$#3};J_Ef+@~vl?Ou)7uAtRxeI7GrC2X$N15r1tSN%))8eBf=qqZBCBgbL|K z^FJ7y8G{k2j>oJ&pqMv^x{QIO)dBq`D(bAD)44hQ9;nTpms+JZmIjgm0Df2L_Fx9; znSKW8Q$#dL0O=z+NVOzs_TJ-pg8pZC zSD!=V?b6joCLB(kV$bSQXUhF89t1C>K+9(~W>`Yh8v2$TgiN#1iKz#*cIxs4xEH3R z$MTi7dB_&LU}?n7?#O1q9ZGnuWw3QAX|7`>T*s4hP>XW#kni&vrr97J%Kdob(oc&r zKS*kjqk12p)fmq5p`7#p5vx{9mPM9w8*n|FwmdOjBNig4`7E#dBJ4=D0rN?~_t+R7=;{7Gf^}92`rByFNY^wzRUAHZWsG+kprsSp?fK@tE;V{WNBLR>BQ8e?+e9D z9OCP^WY?Ui27;(a@=TzC(Tj+~T-*SEphAd>(eSLYFrGh>)J@gRKhobMB6)VMMDKb# zPmZ0+`{SjhFDcqFRYUC1v@O=%=0wvkeV*o<*vwYeHr zpO^(QxBAs%wm+R?Uw4QkZn3&$Y;isHcV>x=n?I&$@ zU5#L?{3E5py?Ia!_MqO=ac(hcj^vgNvAj4U8H`l?D)fQd6&qLZjS9?7%}770$G@#W z#?SOy6nw1$ky!d+g6`GDrYIXO=V!9^d~42bG0tS-BIOn^+_P8a=4;c`ts^#nDoWBg zd|I(zQ1FWi zenr8rD)@|oUsv#(3Oo%xXFsdQ|BIkIcE?u3tdjl!_1=N-omGk8D0Kj*hBd>Zn@_LZ zIJ{^0(cz858-_O#-Z6Y|?HlaO@ul(E*S|(?LcdSfw=!kDFO$0oJ()fu1KKRF{GXWD zWBmS-uH7oGpTtD3tik{@oS7US22up35GhQeh_Lp_yFevRg)PlA@FhH_PbqkUz$QOD zG1&vSuuyYmbKNewR|V73YIX=pLqrPSY>VpBz54hWJ|ej~y)PwotGh6*mYt2@4vn|! z=&DSyXnc~-kt`q93QX?pjI{6B#zEWJ06-+dPxzBDSZ~E$bQ;`BGy+7OlOtFmzA~w^ zj++g2yfk#bIv`~QMU01O5%*QwimXkRLIGIEiq8#7uqha-cU$Y;4E~T^K1cl1^igqHrH(!{}4BAYwknBhv%dXVWF zy;Cpao2&+eS#Z7a;;qobC2GiPM#G=4?-7|+NlMIm^-*Vzag;{b`q|)H6LpMm7crBs z=vh$pyp+zfjN=`f3Ai^~<(zEnVGo*RnZ@)TuZ!`L)fkdyX^aJ0nqp!336q!vOsgqi zQ*=5fkU-d^cj=T2P7z@u)+BapzUu*=m*3f^=VmXl{U9=U!ZX9{ z-W0JIuf#AG_!@-wE%i0-^p8m~#hS8Ar(M#F<=$i{T+PleWOaYgB(!YdP!mg5i&Qvt zwR4T>b0+`pq%gDW5Nq5G`xWG0U1sTln;v7d4~QTS&`g3fz`i4we(F2px(su(e}qV$ z>mbUJAWAV7{Y;bxiR22Ftc+H$L>h&_Sn3E^u~OI=p`{@XNvWQY!*x>QR!l!3UMIi& ztzFH)?36|<97_%g32mzy-=;uIN%~(DROoQpN6>}8W2>@a{Q)g(FIFsMlY!x#!=pZV zL1Om<5=|cFnCX}w?1bVS8?RAXefqFzU=2ENXQ;OXEb_n-$ zWIBZsD&Za8FoDm20KwIftp|;#;2f!>RONQ^?m7 z`}r+h(5(j4Jb!C*IA|n+YgyvhF3tUxF{4)ZgSPJu-cr6m_woIJBM zZkQnahd&-MngvWq6>#+on7rId3;!1FTun@U#Hue@_<}(W*uUv7*TU^wX&@#bEWkFH z@Kom(f)T7Tmaq5|rF(q;8($q7od3RK$q@kt*3I-Jn z5tyuMuBydnXGlqw9nP3I>htx>@a@$lyXd{>&GkZUx>1ej0|Ez`rM=8Gyipv1+fl zp(Obg4xFAyI>*WcMN+ZRAbVV-tJxA(H1h^dwnFX7(_cg|?4eayoQ(#ESXa%0N;d!$S$T_!N7E_Unr&aC}7sAg@;OMI77tZ%cLLVnN zbUw-5x%|$eJ9{Byt@+lm>Djp&#SoVuP)Prc`tw-=D<4uEbbWsa;XMxE+cidO16EPf9Xzix`_NMKjf2d(BSduS zZwvC2EB2mX=lV#8gv~9>NNE3Hb$-A;rj%B{mj$#Qw?k8T7;+@OdNlzRCWn8*!X$oji7} z2ia8ZG9~04y3&Lk=0LA21ns@U$qq_0Ywa{+g7ewV0U1ixu#|eT=^Xh31JN79={g`u zN-0jH_W@b?+k_6a6VO^@NcV{V#ub=eY;HCA93)H6O+ourLWE-KIUf$DTJg?jVb{0c zjS{lst4vEnR4Q7M?c!HONcWPEl=*Hz($_BsP#ieW_w@~hZMb*pS!P#VHLEx-p*V>0 zp<6~^=~eoqC;q*p

2V!&w7dj50sjph6rZ#C)$=$v!khCNkMCjsQid9C(I0tj+tp zKskAkoXvZ}D~mF}teh~ypxjHCERNdo6A3bEflH`J(C3mpZR|P-Sz<$jZnQ^*tE1gS zK{)hzviaTchOcK6^|I(;VybR>r8@}AbPY1YDiK8a*`)ciVmj)kH_xKiI)Q<#8?TDq zbqC~}C+V~7X!!+NKTDg_7K&Ghr2=W}8;M*}@%=FGo0vxRxQ{H|^WZ^hhxI~K)+I2L z)#G8m7p>7{J~bl$W{4WjHy3^#7H03{{VLN~!BcJ1|9?8`O8E{5NFK%OSy?bB*(FPS zYcnJTd0_$H#&5K=EweM7Qzsmsy8J-eLmG(DlMnD(?%yiIEd z&ji-kHQ)-?q}hfZFuuFvPkAi+3QOa{wA+4HrdM#RP#4@7pIddTE+Y+m#qq2 z?cJx*IC`*Ybwe9~;l}B=w)kmkHm=0?Yb-o#07|NEUit3%9~1?b^FduM1dcoh?WKB?srL+g(`s$tbo6Xsjsm# z@U9#=Y}qz)RLIM#VC6eC&F}J5B*{EGaJyrabxSrrFZ8;>2L{6OqS^S(O4T|8Lcd9o zuKPmso08@?C(XO`C$|OI(GHkLb2OI@G&^$VVaPT~|E&Te?7I~6o|@<7C-vw_*O3R( zyNa2{w>}$L++F?^%6AK}wwrqGklTZ)X}9ZR8QI%}G}(-Vv{4+XwwHG412TM9XMM?< zhe)n7yMBv@d|fZw)r|ef-W$1L?H~{50C;9_#HIPLHq`QscGhwX1c4l5?Eyc7GEzNh zcZ`Mu>t!I=Y?Ne>3SKwcL7_bK=; z1zm)Ct_oOT%hg;p292k1me`=Q4gv#h7U?~SZvpPs(;eBlvkv-X$c$-=47L{J-Ik+o zZD~&+PG=Itn!G5^!>?l6Dzu(23oC}${FDR}gn0?X2U+`Ia!dE>tSAP&@(Y%0aFP+? z;}c4l+J43o)sQ>^f273ON}ZpC2I5$1D``$z>mm^`jiatxH~6R}OQS=B&$O*&)h)@mNIq$cI|=>Dw1Sa(3POlEU$j7T-JJ7E`3bTF z6E&Y*IZI>D*3+^xBZH?h5&ZQ$-Lz)~c&;%!e+3;~&t|x>%4%)xPFl}qU8Qu^TLO8R zT&Z&JG@&g7&(FmSze5$sk7|_}vj9@aRqhd={NuhS4ZJ=K&{dPp;b(PKid>gJbij1{|-}=gSxWe9wq^<$~2FjaDx9d$=ykafivAa#) zk)M&OSHP zp(7nQhK>YN`rkET{#_no83w#BYZv)zt*yYI@B{ryF{_EGrLF=a{)G`Tbo(!ns1uK* z+m?uG2$RD?6$a43Wa*(0VUOiTpH6n~an`!UrF5`LA|sTVwS>P(Obe6R>#lWu&NL6w zUsCYh3M`vmXQw({#efwQeu-;LXRG=$&hbbhDa5@tNY@~d$DTyVq*grjiVVCZ zMB@a%p?QE${w%P?HWDDhxli&ydQ5~XD`fhp0)4D2olx*Lg3uGXf`<8`0BrK_hz+$~ zv7zQ&pbkD_X0F=w^fWNQxw5DS>URk0+K@^36zqn|w#se%ym%cTZG_+B{IY$(Utr?T zhSfX{1OxhjEZ~j>K41-G3k?AvBK#o%s8m2xG3XiW1*EN7OQn9vnJ|Z1*^_)LITm+= zZyzLSV(Oa)J4(bHrPo*?S?dtlKN`w+XW{__(ooqhQ|d*$T)In==)}|=zGo$JTFAw2 ziu{MP%UpvHO3h!hHK3>Dk$#sv&>uIn=t~9bbyp1gxjQt1&3$@ir*_DjNAD;x0HkC# zcTY-)W|xy#^SD29-x+p8pMBNG3s8o*exD$Z(=++6|L3x%1>@N0V-llW*P^+> z$4BV~Oe^ZxB`7L=YjTY*G4hJ5ULcL*O`7>CeO}5gQC%uFY;q87+^u1%COW(gE zBvMWq?$!Yf9!PcvzjdH_caa-3_YDXGH_V2h`p#^izcCwPmc(pe!}3l2T~hq+e$56x zY{G0HzM|F~Y4KCNEy54? z4|Xc15!r{UgQ|9KQe$@Y_JPW8=t*_3xqqLg zPp<7tmX0M?_azsr^zvYG?T+Lse=%qF87OB4g}18GPd3jC@;BLh`{1Om2vZrZ2;1)h zF{}2AAYbdO`tYEz220s*r#=A>c0_f%W6}HYVDrO+vSvvl;*vR`#^#%oD#UuGG`lc8 zs8e&8tLWkd(qF>-3?H_1w4X#D@o}S6q2q7geKFcGy=;r9Y~2_qnot)$GFDx%NGIiNamR z_cP-8&s|^(^STR+BLI=bs%}JmfugsntJN=}9ye&=&av#_ydzQR7wpN6gYq?4&o<(M zt`4Xcu3f{p;f;-v#n_%J^NNeu_xHTi&Fppq;-2Qn zYq`JkwCGxR^l=aE1vp`T=7LQ3sZ_C4kPABVU0~8jGT+ka#8xM<6^VVkUzo2gTDx0} z24*kdl;4PWtA3Fi#TH`&-`htvTMko9U0iI%_+hSA+0wsOH-yQcDZ{4!*ABlNNUC-n*^aNi%$npv zr(DOiLF`PG*Y@qg+2lZZJtoifH}-Mlg4IpR5Q~Pbt?Xvw2}&Y-P|FaDEr+?{7Sa+;9TCo zK#iN2TDER5tlgcZi`Gs!ZLJqC_{AE1q?IK@N{T;CstuiWN%m{9hVaLN9x3D@gY6~O zsYZ2dH4bi*pN=@e-}5Z7VLRFUN)$A#E_6Q(BugK0J9+CbyLH43uVBiB1iIdWZ)u4I z4|R;InI@)oxcR7uF0P9l%{Q_C5sC3V)w~G3c-11UPLaHmJ30w*XJ=laRm@TY$tW6# zi#Fwc4)nWl9lv1!2qS2h^jiPW6UKnXvRx`t^Ea+<3qht)S%ES(eRA0RB~kX(+TQs~ zqwLA@Wb;0DeqzwL@zU*8McMz|sr)sg>|mwnPmZ!*?9{OWW%wCO5AC1~S7Y@)P}YU( z7l*PBb{b#N7OIfyUNSl8@Z)9Q%eq0Ph1Qrq9Skv}50Qf1fDpPMMALB|g(!i9Tat4F zIeGkEC5QX=r0qhqp)5tw4juhor&BxJ4;2e{>dD5_om*ais*n4H+bFAKg84v;$o6_h zGo^C~&i&DFCrz!!Ugv0{J92GSd#)zoQEmjM((fb;sis0~d@&9)yp+jJVq`yZ2*EQK z=CU}N$-gsK+6!Fi$pxbG+_!qZaNQrTPApVes;X?^wZ}(#j#^e9t{!ZSjOZX_?(*GD z=o~hSOcIGKi!y;&fVQa*Di`Z^e5a9|e={z0ZJiiQV2GCkn>iQe>Ag+aH_7Y~6OL7>`Bcp!@1F!~j5ZXA5KFC*Fd8+vaa z3Zbp%EH1-(ek9vLUa2*L$&rIKhl(6NGU5w}d*7Yn&i5moKsh8nPK|K?R+2p1@PT9` z`&ssw(3*75@JNPil#Gl?{LSUT`MI{mJU#;=Ibm_8eIdRc`rmj;*D3g81s1BmM6q8| za9M%H=BE^ULc#kL99CfQ+S2w1^!PyqlEy5VKJgA8=<#7^3yAflS$3Y!Eu=4yCBB@x zMww+yjw8mt&UTnb&Qo*$O>M4~mKli;CY;q}B0fUx^P!(3m#b9agSd|?mjpij?ArXfs{*;mULevB?Zj?i#oM0Z>Rnb2C z09TQWvXvp{D843aL(&v7a?aS0%JR&M$jAz*uo!y23pouX zEqUIM5fShDjL19)W}Q^T3j|g9_wzz_9NaZSOkI<-{;LiBADtzhem^>iU zKUeTy75s$)%{x!U+Lg>U2_4a>7+_Rg{#uss{UjmR>)O?*YU#60`} zQWaY>+*|Nb-CGdK+slc~mp;Xy4K}-#Yx5b+#oC^B8}NgKFpG^hl)s0rB}wxQ_FzN| z!?;H^%qHcE5C>Q}ka|4>VGn4Z<(gt$ zYA!Rxx#_bw9@)NeZu+WCvRZt1?#iOC(ojhkx4j}u=T)}= zb~f&XRad;e&EJAAp=x#Inpq!*uOkzB?U`0X9~KeIxF#Z&Enpi&yMf<&LUi^x_asUc zn|+*L_6~Y2-UY5;T=p6OU9bzm->UY~T_q5~&SOa$wYNnd6l=qgn5}9uf)K7BdrFrw zfsf@+=}{VejSUet5{$L%-ExT4aY-{W?fHQ}=qNC#%g88HO7^0SH=ZqOh&#&E6JGZF zWn>#=9~Gq=0bX?R?;Q^s;nO6vLziySPB2Kn(6$aPv|;U@r00DU6D{w6luPe{9F>H3 zAW3ggl4_+)6t)jFL(jDjhC%k{_=yRh_LmKN+^J0%S1oeo9}swIE?boH_0U#y7Og+IPEV9Q`lNdn z=VH!+`Sh*4uo&eT@aCo2`l76XA)B>Zi0h&j2G8VOnC-dv-={7$Jr*;vHO|MUvvf1o zq6^pj@puhwF?TQgY2xY65P0J7wH_{Y>2kSMk#i(1#v#%Cyz6&sLcESt-26H1ErT1^ z_aocrFb$Vwz}I!Z@jA>^12$OgMB>>)9_2e!_60QB89;)opX0)&_N?mCe;V0i{Iahn zsK?oAJZt&58wZ)86;4=_XfJL>P%bM@@rJ%q*h!BQ){u6bu;yTOoUrDkah$OBCcH9Z z^obMJ7?k3KHI|e(VNIiP!rD8}%DgGzBX06bv4fCMr_MgkFO$?P8pcj)2|^L9Y$Ot) z*AeMC84YXDE6;jG-~i6AJ+ChpJB4moIwhX)c1_Y?jvzugPHii0qVNi-MI`9&=ZRUw zuIqy*)90=>@nm-K}qza&DE zv{c+prBlB;^Sibtqtx0Zin~Ab{UeSI zvB*7G+&xuJ5N7fW(x;X`D~Bg;nvbv+ ze1!CgscjNAB9+yWLi!%YD~jB#Ciu+n6*VCm!hfjVcJu3V%QumCa*{flAC;4Vul0vT zZ(+tfuPE01!-T)d$;J)=zyJ5mOMfq*GV+X|}=lXs-)miVJnEIP;i^DuDZmiZ7j!|2{lqa1xdg7E;ivuvY{;)*TYi1ZC zDuN;^du$((d2N#YxvC&tTSm<|c5ibw6M`P=9mOEHeoO%0p77_Z8N4!RN}uu$`wQ7! ze52=u?C!C}>E~yTzU$GWXQq!Gef`v3hhG@842c;!ToT?unOsDCixyZ`0Bw!4!5`oF z8LvK_f3yl)be_hywW^Zd@N=*+%*KLN-E=I!WESQ0YlO5uD))BkEKe!e3;oK1CZFvN zOM_KyfGE}m~KTv-gGp7+r=^TM;o8`vh}bFF$ROM#n}(aou9 zM|AC4+=iD;UrXYfN(42fH!Nb$r~icKxL;V^hs(dXy6a&2EsSmr7Pss!>gPjKoJZNo zxsyJwXw_EmdL~GGS7XF>Hu-W(0u>A`Ky-vP88OAtdgca?A+Hr5z7Q7)5y*m-Soei)`f$|`DLQG=ru$u$ISyX$qJi5V` z$t?9lpKu7!32Iw!mgcXw_`Olk>^j(Ci5DbEm0&RygLcI*O1QJQdv6N6^2i7-fOdhH zaB{_K^djDIHeF1g>#aL2!9+1+usmSq?X=hYOozD4LSgZ&&%hxr_c)ZJ;ZVWd0+Q}Bpb2j zvgo?mWL@<{Om(a>hxjIj`+z8HH{F!FBqJ0*K6x`->f{4jCq9E$2b2*d!qT&%gev`- zo-A?I`1M)T0*k%`K+XA6mdwnbPRVcWQeBHBpFoCQitpx`v~DMJ=oLK-%sKVFWxgO; z&!mIoSt#v8)^SHkmzSHtbt%HE?qd{7-={!AV%+;B?8hUKRg~|(juxKiB2yRO1RA&H z{}#{Yf?5PR$b69pSViDdKC?$0w~x_b@#oB-AAy>6YQh3IwhQ_J$=bCFd|IItE;mf zsV9%~^F$0Z^iC@gwoN{TEb(>Zjd5K^e;?8d8oea~#Yd?4l19@bP-vn_+j8%P57b9- z0k0UX7kv4r<19SL6!~oaVf173&G+$(6 z)a^CHs2An{=-UNXmVYLTEn0WZ9oV`rVh4jmXpZUUIVRhD%rPAw_0)n@ye!rGLsou0 zOGHAYqzV~H?s`a{m=pbw8aq8)L*f+X5j4xhWcn!d3XEbgpXq6KJf^3uZf4kA((mAP7vGk`7Q<{UyJ}ab6tRWN$p@%r zmC^t8bmGH8e{A#VYk3>l%UH|rHc-5ww7-%YTV-S+V<31}r9d#I79rTC7O<%ux{$0a z;e*>A$tsqIrT8q6Smu1`1-5NX3}83d3~&TTfwAl8EM}g_XKS zwkCC$*6c-leQPwbd_rFx5c#<$=n--q-Y3J%#MEehbF^$a&}jE!kVi_G5Ff#w#Q7!c zNgtE(kgIv)&R53ZYkZ<%<^@iU-Z5DLXxW}(w0LaL_(?i5x%6DY-|fmcG4)n2S>c+D z5`@XDFWJXtk+4`U3;t^j|7|%IVrAr2^XF`u?Uv!n8p_;u5>9V$0M?BGqcYx+? z*Ie-GZBFQZsVo%PAr<^G7+T1_qo-Fv6+c&6kuAPw^>d|VE;q#^l@p+xlXN9vyA$}> z;Zkq^w5KEMO%Ku7j-L2Vo7*5AIMZZvxT2$j!byKcHooD?b3lT>{KoC+UBNvhiHGYz zb~n++LVP=3pU%*i<+XZM7pJwUYUy#NRbL_O$5MBQlDSrxlG6@vRcugb2@BQBGmYhr zUYKPEZCLGpe3LWSh+;!dq79Izy7mcGm?U+k(Gd&2r$d`&yQ9d*@m>lmA?3t0OO zr#}hffH4yUYxI?M&LcIqF#XZnuEuLacKU7#+NzU}?db)!ZuPB^e2=xe*W9V)r8zzp zgATnotrh>=+|roD=~zd_MSEms^Jc3xQjU8#@{cK>WQ+8t6qBr*zF#ph=-9WGn4ik6 zBNk_=!Qp6U=I;G%vvf1}zooa@weFe~V`uS$szsbSeDau;;Yo;uC(C6MOvD#^y|Y}K zJ|FkuuuGDEbWdJd%g*4}lou15d z{%rrU4JnnHpGrMUrH`Z%<5S5dsaB{|1L(rUvDMh&Pd`Atzc>P5B$Ki1Z5SRJ9vR*{ zynDEhFEI4s$h38MJ^$_<-e~DG4xnf$Ji(8Gu^j#lVsM+5@50gw#UuOb=@V18c3w4Z zFu$U0))?&#l;Zp`Ow)1=3kMAAA7}>x_D+HKgqsZM@H;f2P08|)X_-=-#e{MEuCA`q zvJ{MSOVYr#kQBlg1ZxW4crBH5;C7RlX|uF^pYz~&7)uov6|GJD@r>Ib%ly`a1Ht&w z&p2{=ve_*4wK+vk|1Nux14`S~4}2L$b;us}y+dkF8$P^Eeb-t+sprIwy+j5({<|wm zcS^Q7lO4shm$-=)H5&VrvTKQC<;=14hY|o=|5mzSo1@v7XuP}#z9VevmD-#P1wObF zfm^m^_QMirAvOi z18VqkJHGjtJm<@oIS0(?`u)jO0KrLB?jpb>IoUi_?rR?~{C=>^kVIuSfgd}O9Y6?v zr^?Uqn_T*8w|0=$VoM4N!KI|5|B)0{x5>r{Fd4)C z{#S3aJ7(GT+@MjuJ!$=P<$45B|6wDTW67^euI>XSaf;=Rwa}Lnif2(Nf5;EH1PR5PrQ^y!F?DCcy$CspF!^?x zxbk95y?Aau)|acmW{q()CTHghn!dS@Je z{$w=4c<%9d4kb$zKSV)_1UR5#W_B+)h#xaVnxE~PYhxX9qZ4>6-S0d`n@@j z+@CLUZ0)|%s=yRpftmcIPcLTL z_Zn*Vd47&1SI3fz_X{GWrMK&0V(KxYEQ)};ojON;@d5iM06jS3PMwtFj)cRWgV0zw zDBLzcM02?LpZa~n;PsthhC{Y12q^E&>)aWr@UGs@+!dXHEIXaKdu3-J>$`8>nIGtM z<~0#Fd4c%MR^iYx8EWgw|GnBuhCgK6iJ5)gM;k7V8=l;WR z^ek%)De|yWz!ZJz(l8JE-9h27^G4S!cvJ=_!@V!Lc7Jm10aFUOU{?1hS0U90V)lN| z(4=hVuS=Fb>4Fb~hwt)gL_t1S{*W@ax%m=$V6h|uu6@Vh)z|snhRwsx-*&&F7qAs7 zCo>q!I|kQrEl!FtugDciy}3X&wZB@!CuwjJY3kbRlcm{Cr=MNf>4%bwZ{ot8j|{8r z*ZYbK;?YNz8wLTya}0E!U!PojBp+d^`H^A%OsgC#9Uc)_AC*Xi?v5Cw(Fk1#P^$-F?ONdUOaKnJukiV(s*s= zY<=ck0oIbWmZ%`g% zlZ8F587qbsz%!lxezu`fw(ia~@TWiFj`ZxYo7bhoZ2@aWdc1li?~%57d?|FilXicww(_mfcwFJ6)CiTB_JZnO;mW z&?^ndWcGr;oG0tX6Af-g$4JSx*X$K;J;B|lR&R$}xlU{H9fShW+5O~yntb>RHD)Q% zv1=3t0~NTEU-;2mP+DdFSt?O6Bxxefe8BMd&96E!B!Rr|{kZ=2k<1p)<8-=qWww69 zTaBBdukzNAeLVj<5tOGhcQ9{_R*k6>C$%59qbGOubd|5B2!{E}}L+t=KOp_<04ts^9|(Y@hjzVn3B!R~=h>9<$d5UNTx?{zh41~?J8nonjr)52iS*u~fa-+*L zv$Ma=B#BF=hS8l7y}SzcS_VwnnGFQn{7uEx~K-W|?+du6-J>tu_pgX^hRA2H)BFV9Y&fnfJ;I4z{hvSil#R-5rDoN* zj(@jwTE#+H-ki5D+vFC1y4J1?6)vOE|K(9Gl+j5YzQW{^D!tz++o>=5xSf7(sn9P* zKV}O2wCL`S!JVhAK<+7K%5cmcRDNVm=jZ71x94VX_~3wix$7?#(hTP<#V*e*={llyyz!iTw2c=d9%i}k_F!bmU=``Gs#BSTv%26Y z&byean){k*ALMmD>yJAL~Bsx}a{;w!JR@uTO zN5g%Upohxvy6qdc4{onu`W@Y}Zp*PPpG)-rOI!%MYx@)1k8Hnfcq8|~e=hkm!e_{} Vefuy^pG*Eb=HW47TeMU9{{ie^$+!Rj diff --git a/oe-core/bitbake/lib/progressbar.pyc b/oe-core/bitbake/lib/progressbar.pyc deleted file mode 100644 index fbbea2c2324754114bbc73f5fc45fcf329a8b157..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 17604 zcmds9+ix7#eLl0KC@yuOE);c(l}QywWKFJUJGLCgaiXiO*k+s|ZP|>4?Qmz79BOxF zGczlau7m=S5TFR!qCi`;C{na9eGK~2hXQ?QU-H~PqkU*z`jE%=`@S(NJ$qh zWe(4rIdd+*`)xe(AIByZfA#ARTBi6pgumZ&jmiGeF(xo(4OhnmHPdlSw`SIA#tBBu z+K358&Dy954wCKxkoV;XnZbPk)f!)1Hitc{oLx>>8MJ#IP^raNKQCXBP|s;h1~ zM@;vqSv!j9u^gs3X4a0Gd+|v#8Xh+fCQSOL#&Mk3F&`BJCe7NU*&R3G3FF+0FJRnB zjr%3Xg{Ms0F>5D`UYIc9Y2F7%%u{2Y81wPklnIWOy~nEFGbT80!YPfNta_(SaH8xz zS@oVZ!Kt$Mbk%##1XE@2nX31^38u^5vsLc}6Pz>Q8Lf7{>b+=!3nsj%-iuZ5S4?=G zI}gyf$i@b+@PY|mC=YR|8hVNFTbcbTFqz#MF=jQ~$=zO>Y@}h9t^29liPlp;-F4eZ z>h^Z?%_MG2OssB3S@i^?A4Wl#xxSn8?QRl;!&5X|4aXb#ZZB&2ozAY?&%$6LPuw8N zdL4h)%{K?HxJesRb&`0)P5W^i;cwClQ$LTAc%BnuHFo+F52LK_cidK|A7Tby8*gFX ze2V4zaS*24{;oD0y6+dKx`9)*I)0Y9T|f3Wu<_y5=UqPz)PoauF(-Dz=bb1HCot(o z^e~Lw^<8W+?swP2lmoV-U?a@4hI_qea(O>?ll85zmD{~_{oRT3xIxqo(=g5fi6HES zvCfmkS}4o?JSiK2~DdMLJ;17HE`*{My z7nGXyd%YyhGq)Z301RNRZFA59?xIggY}=cl3ICxVb^P@Xwh{d&er6#QO+JoG5P?!b zz1eZxEJvLjsQxhN^!z-@zK*VTlxF!t>~}*qNOBjnS=@ck-N0cxjaJglCNS{j#l_ba z7GGUhyp|p2ZR3@NAbhxNSE4lb)70M`+(t<&@8l=(;4>(1p;JHH*<$;u$^uoHGc!$iQ)>=YD$UJkGT9WH)Axz7wJm|~j#DMR5=x!vWSj(sHY%E!JZ)VpaUtw!?Xwq{t|3AT|i|N4S=eE z(Gm1};vg$lEJt!0Yz5FFwQyrrViXW6q15wJ&_E8E(j)ES$UfebsAz%X6TQg;a+V>O z&ueR(1%QK;Na7H107bSa4P9U(jQ|lVFSxoDe-!Bt;$)k%K}J-Qa74-7{Y>!c`T@C% zOYrA9h!m_u7-N&|e%zvPcDu#s1iY3)CB%*8SwP2#d~yPcGDr;`&_3gU>;^7ZHUy;n% z*qD<~<8BC#Rsc#&{s!y`n`OYB5ZY-(VMI!Ulsq_Qop+;{JYP_@XvD55;wZRXq(QDZt$OE>1z0q`^hE+Jm$&=ylSQYGs0g|-u*b~i@qVnA>cvqQ2tQ1p!%rLp+K`X z!ts?x-__Jmiye21$ic8g&N6gik^u!~CZSPet+ZxNIH{Tw0iqyNW3K;nEL zs4S*|NdhxZa^H$sLTNKeqfe6s0WC?+t7Sa-C^La!pfswzYZ}Dja(@`LR(7jJQ}$%Td)-zHEQOO zW1ir@TA>M-Gs0%(?WLLbmS*gl68tnEC5)jN+qxm-Ho9y|PY9(F$ywM+VEyeoKJz13 z(V8huF5AYfMXjTg@|1*;PRfTk+Lo03gPKWC)4^R~mt)dJ0|)mJ0HO15jSvLWdN^Vp zqtAAankhTQMRc5dEPuFosdytW02?WIIl{%rPy~XPTz6q%N&g9)tJv+5JCo_gKA*|- zo&eVBrzy}S@U~$iXPaT*(fZ3LIjIF_Gwk?1xL;D1U4I8JSc2xUEh~|<%TWYGnEU&V z1ToAew?(7aIFrt(Q+K9nb?2O;6YXU%p5q|7>?r038card9COB;dQFxyoR)Ak_2Ue7 z*h&v3XbaEvL-XQ>i#IN#5k6}QAH7}||2nO*NxcnPq8iRgP9$B?u z*w-2_w?ScGZjcQZc}LgxbbU+LRbAhg91&0V<0zL*YIk!HAB^30v=e3nhW1=cweLh! zSal%v9A+F=5b_KNscu=BEJdgbHalnxSlO5q@s}FeG(MqzfK7~k(Q+>Mbmzr_xo_Qf z&Erw?Ncen!SC`HEF=o^K3mEz1*Ude$G^7Fk!$`D8&Dj9I?HWXaW$ukX`1im6>tFx! zpWfWSR`e77D;P||=c;97Zwme1DPDeym#^{S;$oSChp|kG_sn`P6Wp_2Ae{8~9m3)` z0xsj0$fot$2{6YA=O`HV`14tn{BV%0dJgla_^nv==x9zU;=%r)hxMMHJ_yqmdi3*~ z@#)KW_qv-FQ^IcLoFy;H1EbEQp9V!)`XLSJ=toxb6sXX!# z=Y{_rs=k6XnU&%6@M%-G-(P13<^UkZ}`7)usb+LvvBzlf#(h|5#@ z(ln5?S&6#6PFT9{6>bQx8!iT4M&k=x1>eTtGH$fZP&QmDzmtZ3fDkb~TLz;lA8XzX z8yk%!_sXjjKHt1{MLT2rvnV}=nFnHr(uUMi#0*E!%);If0vqVre=Z{|{)}r8I%XhN zD&2em-4)>#;sVOJX4)eIA|zwX1T)!8Alt)gNp9FXgUiq%4o+13ITk9ZkgM#qQhCsW zRDBDW|4+DwN=VcsDsT7$eMg|)a507|?6VYTjlrj7Vh$q5=H}QqME{UeXRqP1`Wyv^ z=&NEQ%r%5LvJAtqd4))1iCot8QHy)wFY$iU#k|ZkRpdzjNCqm6CTWUbK%k_}!bzd( zm8IDU+qpdbG}_qAhx`^E)q91PZ{l(=1pIT%yw||wxwuiCjmUu&YRNaR(HTz97q?Q7 zplBRansH_5qy&&eJ+cHb@;`Aa^mrikt@~MMqsW%7xZ)t}vF|69XloYUv9&?|1}hfl zKII&)Df%^zzUtgK^FU?57zSE_eu4ooaLl>lM!xPjn9)F`wUVd6@)t1T@ga@IRj_$1 z=Y&2r8i&l(7XFNKrn8)L#GHM6*gRs|lCW5g07)~eaLhbf-f#0#k%G7*igWK8x!H2*D@$hfe9q3t?TFucF! zh%=unad^0c6gyWj|6k%)RuVPfsnPl&k*CMJU=|L`pD%8mkjN=yQaj0BYkJ;AWU8>R z(@=r_hPyQPe~SRU*NK~o`qIy%K5vQRWCy&#)^~Vex?tZ~T!iv>nEA5=MoF}nz^D!e zdr)h?0;_Z;e!-1!T^UxS9ajOm(y$t)ESjg%Y=4EuGn(xM#adA2fijazCPa(_*TZHD z6(uLkQnY9?g9zQ~d6 z25%r+?8hi>VIXc7$)#-{d2JXrfCB9BUV@SmrqX7&L*}UbPB(!^RlYH24_}^=1p}<> zh}yQsgUJsThY)XgMTHxLJ=;l&3Kdlya9JI!1z12D0@W!F!fpf@wsC7``5N;twh#m% z2~1JWUN{SyBioF6Jp>R*PdpA{jQvjFBA*tfh#=!^+YxetAjob(U=+eYK-VfbcaYyH zQ@X@ZoQE5%cS+r4dXMg1n{4YKzl`n{>=dnDr0@`}RH?;ApE>9#2c@@}-fN?vf%n)0 z5^+J;_K~3{uwP#Um3R8xI4d@Fk5v_NvbbmB#xIUrrKfH23D3wlx1cekM+I>R~qPC}~gdjI=f*s4J?kpV87Lo`qB*e_zyn6>MjKt7YTPv^t9{_?yIg};qoPxS+ zF-#$H%JLwbYFPAbV-Z3dMPL*+nCRKu#8TOTytR@QDEEL-JhWc%-cSr;ZfQ8au?LLq zj}{vZ9OC|<7|k#CHpBr#SoGIX#K3YZRFM&f;AmiRPp!#-$7utxz{gf%kiHUJz$-C| zE{3X9K!`0APB2vpc8own2Zbq73%P2D$bxZFEUIHBF;*|C!!#i(75ZcevbgpM z{E-K^T~y!|^<>;dNk+7yteBG14BrG9u)t%?EkA(^OOBdWtP7oTsHKKuOjtb08A?FW zTa%K2iKa}!YMFsqv;m@PW?^n`E5gw2K(r_mRV-9aBfGnhV>y$ll?az<-=d$*Um7Cv zvwnrfb9_ie-4ShsWez`~X~Xr#JgA%W4LKa>95eBb*?mRs1}aaL@`0P?Ad>)Ff!BKR zOuZAuO!wj&W)$#%FMx19D@=dJ%F&+y9&>B}G;o}@Ce0QM1?5}tIvf^cUCwbYSeC`8 zc84d+9m0f=x7dUUVH+?Z>=+c6+8)%C(k15kmj$SsKX~_p_m)?p_tB&9sWOJMj06g6 z-aBmF#6{kYSk`-sx1+dFa(j1qM_a0ix{06@HdV+L%IC3&RAOc2?pycnF5i4xFH%kj zmn*wj9(HfDa??zdF&t4Bama^fIRYH~iWxGqR8N-%;miZ3Iba8v4@rEUSM$xxcZx*KMC z-FBLEt*ymEMOD&B#ltq}M6HMwsgN10=XD_<^-g1!(O&CT6DMNPRg|CJPSYgyUgbmj zI3g34?aE>H`cT)USmq3N1l3MSO3OVGEi03DeUzAIvA+E4&^Dz{(7FC1* zHGo`3t2(FzR`R5G7yDFAw!}tZ@pBRzRq@fKKljEy#I%b%I@?VMiS1Ek}TvxsL7~48OPYU4~k3-M?lY%XT5EV7`pP<`}VY zRop=^jGOaz-bc_GIEcF5`0>A>WPydtWSrr2ECD7VAHvuplZRFfOVaBhnFEEnFf={p z39N3A)KIXC`r0ZD!d>i>iVsxe3G*??G(T-gb?J@{5v;)6@>}Gg%%Z633!%AWQAFF) zE!I}FzUscykSx?P0A5(7mq}9Jzuk_Ed?H;#N2~JI0;dZeF(m(L?OLseYG&`bw6Wt zzx??a?pq6w%hGwc(}+CThy&eox_637LD9mm+(_{a4BS5yNaktM(QEP*Iad)*EF4?* ztilx}doj#V1yrQG8Q)5Ju+;E51rp2&KaOAofW`gzTZO*hCsgyJpYD3n<#!U#j6zt8 z=O26+Rc^(78=u&~NuD2k?^I0(&laak5!6J9gAPiEc_;*@67OoJI}BbHSu(|x_;NK_ z>F^5lIX{0Y_M}4ZLAXGLJjGXLv{P;McM0WcIsn8jT=?^aJeaqI>!`q-=Ye$q;DSLm zBt`l8l)@^08%97i7lV`feo8Txo}ZxzQ|>=}|L5TBZVZ*UpV7LuV`x4|qwTiZ44`hT zB;G&c20{%=b9Cf^W0DJnWI#KvnVJKO6Uq+ipBh#&gSCHu z^1?7lN6dq9lP2>0lO1FXPeSB@TZ9|BS2xCn~yI--$nSf!)nP53%zWZaw zURhvdsncc}AVm_esVGc#hy&d-5!o}8y$oe4m6k1gP0-rnWyTu^q=mQeYG}bb;*AYZu zb>t-e9fesi>0B5nmJy7QCHgZoERhtrzoc7>DtKMhQ^znW@CuDj&;-l^5*VmURwYqy zv*mXDn7PO}aY)_cXMKK7Di*i$ z@!8}QqTcS}%#fNvX^0hn_&g6{im^;eRO&T;s)Lxn4TnRu*)$Jz(-+EGl>@7k&u21M z9P#-L@NAH2KTeDC^4 zA6|dg`&~XD&JjzI`R2*sp_yYTSaXQdNw*@U1C)2(eJs)NUo? z_((C3icEDf(G~()prFdcgIH4}VU(0OASBdkr0*1Bi^2;8h^zb#2Q&@ZwGM~O=?|y^ zA#HNx)nqwTVhCnQnT2RbYD_F!k75NIRNPvivJual?8DxS;+)m7O9QCWvomYGFT;t zp9#We6sLOs$*>NPWV1|(0Os~@Y6)a&(8{F_GWP<^U? zyna@he|;1tpSRg;_xa&Cz=D}bK~~Q=!9VLiMGp zM`HHqFL~#9xx&kfyio0XS9$p^FHd+Oqz(oN0>&HmTirLggyMQ*wG*|%6|a3A+{R%2 l2?(%JXxtG+1dr9GPfnkiK0bYF`pER5>BG~frzg%h{{?GeI=BD; diff --git a/oe-core/bitbake/lib/prserv/__init__.pyc b/oe-core/bitbake/lib/prserv/__init__.pyc deleted file mode 100644 index 42e6a538573cd2ac8f1f7bca002470d92301b464..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1026 zcmcIi-*3|}5I!gU0YlS}5UAp*FO{-~HR;fVG$8~`RN`SpY5{3^F=^rjZ;2h*ZeddQ zLiu}n;ekiEbExfx^%LZbQ0!g+)V( zMnD_%cVQD^u8?7}7Rt;%#8Pk6I;&(ctaLf7#9CCR!;!U*@njTbHg~cXhewkWI~+x| zur@2jp+x`yKG@ws>rz%iWwk&!xY4H0Ttt3HoJ!#`=Zv?pMk!V4udkX$7~}&m(@MBK zG^CZvx=iK5(L|(j-u)q~R^qiW+PHh@US?M2XIfp#GNS9d%!IKJx=qp7sJ~TV$rC?Gyh$+`e1S+WtJJ&ibzQf&m)@cl*Bqy;kS` diff --git a/oe-core/bitbake/lib/prserv/db.pyc b/oe-core/bitbake/lib/prserv/db.pyc deleted file mode 100644 index 7c670142a73aeaf22455d2455d9f1528f63a665d..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 9050 zcmcIqO>Y~=8J=BIlqiXoZ8^3TC+WJW6RJ@pe;_pqe^no}BSfauB^}!WT7p`xBuXTg z-dWiaARk%aA!my`(@-Mf*JO?2@!B$8o?&+VRZn z?94mwJn!c?^;vHC;=lfL&r|Ww0RH_B9{mp#HT+qsq10-pZmCr}=})QER8mi?)wJ3> zo-_y4>VUf6IkO$HX2_~flsZuA;p#C}!|Y>f z-BPuYPA>?yR4JdsX6ygMPcd(y8fCcowQ9S5Ssz1nt{%-*xBclASNq}PI(k$+#e#$N zdn_I`>XCoNdF+R}9<-b*(^sZ1Izi|(s*xW$b?t=yqn&!_*QTREj9+of)wPD-VLK<9 z<2(;hfF-M-Qjtn>+mZ@cZA&FhZt>LsImAjvflaIos#-=W*!`eXz}g|H3@f*k&ti5j zje-w%Fpo#yMX_(GeWfa>q@;poN`-kYzHh73d}pf`cx?By(Ypn*PSxx9NO=p^mrdd)s=a`9%glt~PdjXR%l=+$p$6FTLU}-ko(H zIv*7tItj^B2|-hx)g~ve37;Y|%L`g9L7ib%L@|trkZ1_Cioff7JCWZVul>flYvYy6 zuU#Hx9*-&XcTk(z44VE-WB1ABiWtkt76 zV0)%fUz=%%#P>{XZMwZ@7OvD=^{7%gi3vp#l$FJA#yW22?96~i*pdK}dxv9oQ2;Ve zZMD0tBBesD_D&H{Tb2SsfU+M0ANL<+RXR$kt+eQdKv_>yK#r}jZ@>;P+RmtOok#uR_sf~~pNS{2N%YM+A3VScUtZ|qg%y(sI*sg=VWUrs?}IzA++ z$NC^Tj>(qWeprp56{?Lw7zQCW4mzVyPSYjPa@<0y)VyG)70D=n*X#4Kx;(1$B!K%= zb_U0pvQAkit+%XU9IR*uiYlLZJbD-#=K;#Wnv*U>Rrb(tYmGuEGAj7c&8cJFBTa$oKMr{oW ze0~G?WRwNK!jMG6YCl5+;ZN*KybxxUg}U>$up8{Ee_4 z?HP1)NF&(T@I%>|PsqEY9LzUH#Y9}O7(};$^qPE@C*F)Ouoi22k)>Fb3t0*Cge*#_ zh)EbcamVmgpJhd;tZewv$5i?s!ic?(Mf5u;lyw{;Gm77#RLaUhh>lyQtrO@wV|U)z z&kNH#&kNH_p#MVI`fdlH{gth6^~%mo#Y4S~E+%D7(b4Kr^UfK7~@;IoDzBEfifp;Sh`Zt?qb2iMI1l*Azi| zeB-u9vqyiPU9!yq&%mTQKA!_{In%i88T)2&se$pDUjd8;Suwgfg+>q6Ed(qV^SwCO1*3H{0-(X>;i$ z#WojlM{IR-Vs(#O5XNV0Zq5><63HD0_6(33gG+o^dWJ?o8O$CsR`6qcz-7m{h0FOP zm__kGna%hkz=iz9-hzC8cvce+TkvH8-bC~{ao3maPWrf77m;#r5PTJzk7qlf^ndrAxrmGx_gRxUT zK!=u9tdyODNQe-?V$ls9jNQ<4uu-oW`(>0jcg{zY_qS0oA`pHp7J*)%9;BZ$Q$QDc z1vG~()dkGveglQ5!WZ(X-;AL-GHL?h$xqPe*sIfK%j8@dk8Jro4jih4_A0HyU&Y&} z>uIU$k;zVoA9{U5^m;9&u9HQ`Zy8xrlHY=G?Y1ai3*Yl-&NwB+6ow3PwU4yh06vp6 zoU}5gHE7-qn%0nM4VhNfw6bVn{gj%3TaAgRr5@cy4iz>TYh;Ds0Tup@c}#P5rex6k zbXan8Bk>Ei`Oye-pif7sgu=J1edI%P>MGlaXw!_x@FG?(SO)$`xFDmB9U6teJ`Sic z3Ss@0j2b&MO3XIN=3Jl=%N!fg@QyU*e0D!AY@c)Oo*3P7)d@O z0YpB3KXDsQsEP1XtIKh;$?+40k0(v*q-l+t*0^b%GObf+Wx4f)zn@xF$t5ikpZG94Q6>GlorRg{Vo^nu+BVef~5wJAmdnd^~ zR5b=4os-NbD%Iqtr;-_aVi|mm*0VF-ahLC{ICBq^A{Gjq>GW zGZJfc_ro_yo|btMe#1zc{T)*Dd2lDD{+rKkH8wJrZd`JZYJ~jL)k!8Y8-*q6?TuGs zFT<92Y{F7>LlG!-?T`l~THg3aJWdH-kQ9PiCMKBguT&%|k_-n@tbVIze0T|bQW)9r zTjEDWJMD&V@+~yIhZYi$ctL~c5~u-wRW`cTMSL&}k=IOs$XNP1NIB}L83_%jSHlfi zQIbFXR=uR%-=&B4Gp<}l!JsJv6O=<5@ifYeb*%GyHkGlnsRkQE)%5I zmn^wUybyMRCnQtHvZL9F?3>w4_H6d`Y(`FF#a+Nbc^D->6!$qi`U4a`Zfzv9h>IQ{ zwgz`SxCg@(kGbm+i|~oL;xTtUgS^L~A=huCSYF#=0x zhz?d=2e?b4tTp_{zQO-O;da4w3k!LsRwD8>(4uYm2^|xNPzW zJP2nVhalttFXbdSq?jj<-6a&FTf9b~eYr6er?1bn8-`VCexp+PJC@X3Tv;CfN#P-; zh2SPCz%!f~sBd@^aE<{6zzj!WJRIIkntNfixi?%q;f4v<6H-SfvX3T{Ax;syahaS_ zY1}t;#$1Pd7!Q~v6y@Ra{lE-n~I372t3^h~LyaB?mq>FRbDSOP$S{JP`d;Aao2Xek8asU7T diff --git a/oe-core/bitbake/lib/prserv/serv.pyc b/oe-core/bitbake/lib/prserv/serv.pyc deleted file mode 100644 index 1d412f8c522600858fda948946d887a6f14f1f91..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 12769 zcmcgyO>7)Tdaa%r{tQKm6eUvscFPtmN-LAHWbX!sy;_N)B_{TW?$KH{*SoXB=_c9a zuxH%eBZ(Vn50n7sF@yN6`# zWCM&svWnH!)%Ek$_r33@s{HR0W7q!mKfd2G+0PLEe-A17BgYsYe~xJzvsRQHv*zUW zC9_t_%Vo1x&dU|ER>{jlW^E`h51X}Nl}n~QVs=N&8uC%IHfo$~q^en~n!Ty~gE6x< zW*$ZtOeHvCcE(KnOXE0dTQ==+vpd1}PUM(Rv+s|ZwaNVBDYI5|bd2SoWVWY`Uop?I zh~p-3%=QW651AcfV)Qy}?%reFjPXa<#EG!zQ4@@s4Xn6oUKsP-n9tT`jgNVqBxRbX zjeo=hBWf{Tv^Zn@3FD*1(W2_C@iDPe#-A#x&Kdt0AJ)zre_DlCjDK8(SB-x{1(&1v zGv)6t^-UhqXP zNYZ=F$ZrSnJa*Zn!^r&gW;eW^97XYVnBH#g1PiNPf znUMdNkdj--_Rg56#%$xyF;5+H`f17hjxo>5U=CL-p^n-m^Q>Z?R?K#pTjhLd40+>e z8Pp<)Y9iNs1w}2Hs{@5N+D0#GC25s!;$|yYZ?<;y)Q!U^Z3ItR^K6y!(`^rt6^oVmn-4?8cnqBC`dMo%3t>VbX1;t*u!+XuFJ4cFrJ;J7dm> zGf%>$qiorTn!7=xk&fwMx8wKPc=X2c*q@t91Dc@6v1gDHl6%-mPU7EUy4zh`_39#a zV=lqpLO1j^#k{(OcKRWeNvz~2$O3T)#MU>G007L9?2na>c>$yWx|AdqfR?ffBb0G6 z)hMN#g{pycvoJ>4W&!<-sxY33_8KI1Of^TzilkAClVKv+mynWiFmP&_&={~4rjTMH zC6l6DCVM3Y)_HV z0Ym(7QtbgC6|g>@k5Ss$g}&LIFdHQ^%NNI0dqO#IYzXr)4jbAkK-ci0Dxeh5?m#P` z)aaoq;9Rw+IwRr2QtIZmSa|Y20h2fCQ`nka_@TQnqY&HZ$}|#FNc-yYsja zb)rB*wCa6yYo#V3+6>ZFPtpcVNmb~E(WaUOPr98rl`H`5P{jAO`LpQXL&{k{jKUPW zE-2z2e$Z?ufjW8+_w0E7`bOB!ip^lR6Q#r~Oj6Yqlxv(C7xTCi?_m5!x)ldaEAmOF zwG*UT7iP;RN}ER5>Ll5mIZ;A^m1FPlKUAeRBEq}1`sb&Hp z(M$-Iaj+RC0NMtDDh)f4cLKE@Wz8cHc$75n6tdJsRx}5C#hs)Z=$qo>L}=y_B)oIX zUO{Fl8exzPAfR_1Reh8g6hKgEy^fT;hRl>EondFfsb;@tof&7!IbAyLxr$VRXe*Kxn7{8VoDOc{XGmY|Hi#LH{X4LSjWLqE55H zs-4=rh`|Mml-hvgi*}d>H?&F1ag5F6RKOscnbrtYSweqm2$Q1ds<$euD`3!vRDQ6&$};Ke6^yt&DoNahBvuMZga(uy zPCL6Vi6lfVp&YfEksEbVcO#5^S0oOrWZVO6x?^@m zO?;VlFjOu8Am1N|H~NY`Gfr4SaDQ6 za@@&7d!M+NP=D9bc+X8ccIRDRrX4m=VE6c230Ev*%{>evS}~t-$?$ZROLe zZarwZZ{1k9QG6Dn4;UNdp1H*R!JPj?U>Twn2_3OTKX|kl_1bOK#bUSSxAgG10FZNN zD6zK^4=}}ajk#a9z5@GMe$ooMbk~F(a1yM?Kz2n51`ZVh{L%!{UuJPHQD=f1w(9LR zlO2m3TYhLAkR8clhj9#-Us-`dUHe}zt_F4w}c~%#vbu?7&LZNmK{~R!M08b?m>u`%SzbIDUDz(QAy9yobzG80i`> zjXIN#TN)eElXF5(gft|Sr{P$>%HMJUaiuY*Hb03DJZW<3UyJr*Ib|EG^6FrA1Q0q= z3sw3dBXfGmRb&CeUHjs!K$jP&fv&b;GZ|H^8DiXvT+?F4R6-)7NZx4J!v=-ox8W*0 zLOr8K;W-x2leJUjX~W2SZXXeb>$};Mihj(&dy|hc%3o*cA~NY;8)(78#Iwtfg2*yF zOqD3rEG}JUP81_-0j^bf)^Fb0=3v~{2@x;CbS-nlp zuZ#?MBf0k8z{5+_*4nxTjm%$iRJv@&x!|0o<+wQK&~P1Wx!hQ4gk*{lhsPtgRO~Q`mQK z08FI%)3H<;1*RpW?*lY_WlN|XE$-30>`npH{k&HaqZO7e~e9lG- zA?!40SVvQFc*O2ATK1iieJqDg1{(n(AAN6Ow@z9j-UXf>0$IH?D~p=O`m1p>;cAC5V3EwkV;CamGK6{@tyUUFB)IM6WAMd3^ldQ4~Vi>&G)W5+v zR#U-wpFp7Z7)+rSxgbv>E3JwGh%5u!nB9Tcl2&*EP4}tWgE8K|@DEDea=5=m+V9`x zidIu67!^~;uK)KLb8#;d=-L0@?VBQ*HBXu%xx1KRLEY?lLNm*P=pryp&To!Dew%NR z1}lFY^Y4*zD(BNLNEZpom5?mrBh_!;qUTjnL;6I}}h0gH76 z-w+IBJV7ox`t3hrJj_EH4pT!={~3%`=&daNhT}Hvd(EqHu>`&B%o34Qx7p@d>7EN; zHc1!UJBq^9z=s3S%R3mr;@%D_a%kms!}Y>Eo2l2GQV0hh6!na=2IS z%i*?e#3%f`55%&N6{R8q;@-rTK54G=4#k$W3b`MLgSK)huJ8qo32%iNd+0OFfOy3Q zeHo)}*qGx#VwB_@GJ~_wGVuG9a}-!UR)Qbsj5?LlHAd^Gt7w-LeDnY?Nj}1#&X#6j zePn#3s}kfRC_(H!?C3*$1m^^m{{tUYEFV=&^7J4dfnUKPyeYMJG7IBkc#M^W=O0F| z=yXWj1#at4PoLp(4*XcerLrj3-hHxWJn2B`GCYOr3{u(gzfcYH5`$I!7?000Y>imc zHUdqIVcD*9!pkW=jNXSxoRUb~ckDUv>FfkJ3qawf7UFs^DMrkWW8zf@Qihn{7pwMC z*$5b%+>tT(B8vMM-0uX54yg`uIFGFg?oNm|^|aGGHB0?5X@bH2OLL`=q~nU9}e z-Q4`cKj6<-HxsgK4bkgfYs=-updd-CcnG=*@$ep@o%fj86K40A?J*P19g+hgk|#W5 zoLeH*LQpz{MX7)j%^DjXY6n5r2D5nuN7kd(mv|rYnL@A=A~2@NRk#_U12STL=L)!AloUp%ail6Rv;e9+Oo4TPT2~w{?cKZY_?jXfnw{(>w@3tw`~!zE}r#=b2qf&TWMRfZgW-3Cp{yVtj>bbj$-R-x}gN{ zS@u3@+`C_Yu>YCIpYna=8LlpS^_BXA<=TVBofS`vxO8jj-f}{VZnYgWlfZ=|q@enx zgN-loCg>%#zJ%lYIOLTkX?EREwAY^&vimf0`?4xt3Hv#^7s4fskYtxm3!EgJHXi{j z*`*{w5&A-OEH=`j6C~*>Kqfn6YYUSdz9uKHuP^k{u$|Z|0ngY#NcoTrs7&=%!nwPH zfcsVmL8SfQ2@Q#U+a1Ku!KcRiZDvI%#1qEOvQ93cB$pBdeg!UgT^2cqRuk8M(D%MD z=x%y_+r30ePoV#%D81Fg5zXW1GKozgG%((#p;@eU zkscvAnU;_e`dfwZ21vBnX6bss!!20MuBcdylr6(J1Lq&PPB*v^ZoYvs><=-o@g*G; zBH01F9S6JK`w|u2PnmIrUcd~=*c+Kulx$22x14n!N3gV_`<$}oC4${O3mMlv>P*GK zAiy?qwP3%OSb1}N%}z5|!6i#R0SrFWZ9RKKV+>VW!ISJ#o=2J2jb-mLOER0pOSHhO zgp1zLTE_bsGXcu)vGn`QDC_&EfhRL4uV55?y=QN1f0xoHqvfJ=&6&l~R~fQ8;haE> lhX-MkxJ5bSOqFKGhMnQk>`#xMI)1)7U3II&)pO%x{{=q#l!5>N diff --git a/oe-core/build/conf/bblayers.conf b/oe-core/build/conf/bblayers.conf deleted file mode 100644 index 12b55afe2..000000000 --- a/oe-core/build/conf/bblayers.conf +++ /dev/null @@ -1,9 +0,0 @@ -# This configuration file is dynamically generated every time -# set_bb_env.sh is sourced to set up a workspace. DO NOT EDIT. -#-------------------------------------------------------------- -LCONF_VERSION = "4" - -export WORKSPACE := "${@os.path.abspath(os.path.join(os.path.dirname(bb.data.getVar('FILE', d)),'../../..'))}" - -BBFILES ?= "" -BBLAYERS = "/home/lxw2010/M7350v2/apps_proc/oe-core/meta-msm /home/lxw2010/M7350v2/apps_proc/oe-core/meta" diff --git a/oe-core/build/conf/sanity_info b/oe-core/build/conf/sanity_info deleted file mode 100644 index b87ccdf45..000000000 --- a/oe-core/build/conf/sanity_info +++ /dev/null @@ -1,3 +0,0 @@ -SANITY_VERSION 1 -TMPDIR /home/lxw2010/M7350v2/apps_proc/oe-core/build/tmp-eglibc -SSTATE_DIR /home/lxw2010/M7350v2/apps_proc/oe-core/build/sstate-cache diff --git a/oe-core/build/downloads/0001-Include-sysinfo.h-in-libbb.h-and-remove-custom-sysin.patch.done b/oe-core/build/downloads/0001-Include-sysinfo.h-in-libbb.h-and-remove-custom-sysin.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/0001-No-AltiVec-on-SPE.patch.done b/oe-core/build/downloads/0001-No-AltiVec-on-SPE.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/0001-certification-fixes.patch.done b/oe-core/build/downloads/0001-certification-fixes.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/0001-enable-backhaul.patch.done b/oe-core/build/downloads/0001-enable-backhaul.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/0001-enable-http-date.patch.done b/oe-core/build/downloads/0001-enable-http-date.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/0001-events-fix.patch.done b/oe-core/build/downloads/0001-events-fix.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/0001-iw-version.sh-don-t-use-git-describe-for-versioning.patch.done b/oe-core/build/downloads/0001-iw-version.sh-don-t-use-git-describe-for-versioning.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/0001-make.patch.done b/oe-core/build/downloads/0001-make.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/0001-minimal-IEEE802.15.4-allowed.patch.done b/oe-core/build/downloads/0001-minimal-IEEE802.15.4-allowed.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/0001-mpeg-codec-fix.patch.done b/oe-core/build/downloads/0001-mpeg-codec-fix.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/0001-patch.patch.done b/oe-core/build/downloads/0001-patch.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/0001-pimb-multicast-support-on-network.patch.done b/oe-core/build/downloads/0001-pimb-multicast-support-on-network.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/0001-port-desc.patch.done b/oe-core/build/downloads/0001-port-desc.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/0001-presentation-page.patch.done b/oe-core/build/downloads/0001-presentation-page.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/0001-tc-Add-flow-control-setting-on-PRIO-qdisc.patch.done b/oe-core/build/downloads/0001-tc-Add-flow-control-setting-on-PRIO-qdisc.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/0001-upstream-fixes.patch.done b/oe-core/build/downloads/0001-upstream-fixes.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/0002-qcmap-enabled.patch.done b/oe-core/build/downloads/0002-qcmap-enabled.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/00avahi-autoipd.done b/oe-core/build/downloads/00avahi-autoipd.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/04-default-is-optimized.patch.done b/oe-core/build/downloads/04-default-is-optimized.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/05-enable-ctypes-cross-build.patch.done b/oe-core/build/downloads/05-enable-ctypes-cross-build.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/06-ctypes-libffi-fix-configure.patch.done b/oe-core/build/downloads/06-ctypes-libffi-fix-configure.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/09_fix_installperl.patch.done b/oe-core/build/downloads/09_fix_installperl.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/10-distutils-fix-swig-parameter.patch.done b/oe-core/build/downloads/10-distutils-fix-swig-parameter.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/100-uclibc-conf.patch.done b/oe-core/build/downloads/100-uclibc-conf.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/103-ubicom32-nattype_lib.patch.done b/oe-core/build/downloads/103-ubicom32-nattype_lib.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/103-uclibc-conf-noupstream.patch.done b/oe-core/build/downloads/103-uclibc-conf-noupstream.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/11-distutils-never-modify-shebang-line.patch.done b/oe-core/build/downloads/11-distutils-never-modify-shebang-line.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/12-distutils-prefix-is-inside-staging-area.patch.done b/oe-core/build/downloads/12-distutils-prefix-is-inside-staging-area.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/200-uclibc-locale.patch.done b/oe-core/build/downloads/200-uclibc-locale.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/203-uclibc-locale-no__x.patch.done b/oe-core/build/downloads/203-uclibc-locale-no__x.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/204-uclibc-locale-wchar_fix.patch.done b/oe-core/build/downloads/204-uclibc-locale-wchar_fix.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/205-uclibc-locale-update.patch.done b/oe-core/build/downloads/205-uclibc-locale-update.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/301-missing-execinfo_h.patch.done b/oe-core/build/downloads/301-missing-execinfo_h.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/302-c99-snprintf.patch.done b/oe-core/build/downloads/302-c99-snprintf.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/303-c99-complex-ugly-hack.patch.done b/oe-core/build/downloads/303-c99-complex-ugly-hack.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/304-index_macro.patch.done b/oe-core/build/downloads/304-index_macro.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/305-libmudflap-susv3-legacy.patch.done b/oe-core/build/downloads/305-libmudflap-susv3-legacy.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/306-libstdc++-namespace.patch.done b/oe-core/build/downloads/306-libstdc++-namespace.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/50-log.rules.done b/oe-core/build/downloads/50-log.rules.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/60_wait-longer-for-threads-to-die.patch.done b/oe-core/build/downloads/60_wait-longer-for-threads-to-die.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/64bithack.patch.done b/oe-core/build/downloads/64bithack.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/740-sh-pr24836.patch.done b/oe-core/build/downloads/740-sh-pr24836.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/800-arm-bigendian.patch.done b/oe-core/build/downloads/800-arm-bigendian.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/904-flatten-switch-stmt-00.patch.done b/oe-core/build/downloads/904-flatten-switch-stmt-00.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/99avahi-autoipd.done b/oe-core/build/downloads/99avahi-autoipd.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/99avahi-daemon.conf.done b/oe-core/build/downloads/99avahi-daemon.conf.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/99avahi-daemon.done b/oe-core/build/downloads/99avahi-daemon.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/99avahi_multi.service.done b/oe-core/build/downloads/99avahi_multi.service.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/B921600.patch.done b/oe-core/build/downloads/B921600.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/COLLECT_GCC_OPTIONS.patch.done b/oe-core/build/downloads/COLLECT_GCC_OPTIONS.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/COPYING.done b/oe-core/build/downloads/COPYING.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/COPYING.patch.done b/oe-core/build/downloads/COPYING.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/Configure-multilib.patch.done b/oe-core/build/downloads/Configure-multilib.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/GPLUSPLUS_INCLUDE_DIR_with_sysroot.patch.done b/oe-core/build/downloads/GPLUSPLUS_INCLUDE_DIR_with_sysroot.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/GPLv2.patch.done b/oe-core/build/downloads/GPLv2.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/IO-acquire-lock-fix.patch.done b/oe-core/build/downloads/IO-acquire-lock-fix.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/Ignore_page_size_assertion.patch.done b/oe-core/build/downloads/Ignore_page_size_assertion.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/MCONFIG.done b/oe-core/build/downloads/MCONFIG.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/MM_Unix.pm.patch.done b/oe-core/build/downloads/MM_Unix.pm.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/Makefile.SH.patch.done b/oe-core/build/downloads/Makefile.SH.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/Makefile.am.done b/oe-core/build/downloads/Makefile.am.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/Makefile.done b/oe-core/build/downloads/Makefile.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/Makefile.patch.done b/oe-core/build/downloads/Makefile.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/PD.patch.done b/oe-core/build/downloads/PD.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/Python-2.7.2.tar.bz2.done b/oe-core/build/downloads/Python-2.7.2.tar.bz2.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/XML-Parser-2.41.tar.gz.done b/oe-core/build/downloads/XML-Parser-2.41.tar.gz.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/ac_config_links.patch.done b/oe-core/build/downloads/ac_config_links.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/ac_init_fix.patch.done b/oe-core/build/downloads/ac_init_fix.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/acdb-loader.done b/oe-core/build/downloads/acdb-loader.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/acdb-mapper.done b/oe-core/build/downloads/acdb-mapper.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/acdb-rtac.done b/oe-core/build/downloads/acdb-rtac.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/acinclude.m4.done b/oe-core/build/downloads/acinclude.m4.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/acl-2.2.51.src.tar.gz.done b/oe-core/build/downloads/acl-2.2.51.src.tar.gz.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/aclocal.tgz.done b/oe-core/build/downloads/aclocal.tgz.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/add-diag-user.patch.done b/oe-core/build/downloads/add-diag-user.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/add-hash.patch.done b/oe-core/build/downloads/add-hash.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/add-license-field.patch.done b/oe-core/build/downloads/add-license-field.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/add-md5module-support.patch.done b/oe-core/build/downloads/add-md5module-support.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/add-reboot-daemon-group.patch.done b/oe-core/build/downloads/add-reboot-daemon-group.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/add-sdcard-diag-groups.patch.done b/oe-core/build/downloads/add-sdcard-diag-groups.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/add-system.patch.done b/oe-core/build/downloads/add-system.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/add-verbose.patch.done b/oe-core/build/downloads/add-verbose.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/add_root_cmd_options.patch.done b/oe-core/build/downloads/add_root_cmd_options.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/add_uname_support.patch.done b/oe-core/build/downloads/add_uname_support.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/add_vercmp.patch.done b/oe-core/build/downloads/add_vercmp.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/adduser-empty_pwd.patch.done b/oe-core/build/downloads/adduser-empty_pwd.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/alignment.sh.done b/oe-core/build/downloads/alignment.sh.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/allow-nopw.patch.done b/oe-core/build/downloads/allow-nopw.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/amd64.patch.done b/oe-core/build/downloads/amd64.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/arfile_header_split.patch.done b/oe-core/build/downloads/arfile_header_split.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/argparse-1.2.1.tar.gz.done b/oe-core/build/downloads/argparse-1.2.1.tar.gz.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/arm-nolibfloat.patch.done b/oe-core/build/downloads/arm-nolibfloat.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/arm-softfloat.patch.done b/oe-core/build/downloads/arm-softfloat.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/arm-thumb-mutex_db5.patch.done b/oe-core/build/downloads/arm-thumb-mutex_db5.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/arm_backend.diff.done b/oe-core/build/downloads/arm_backend.diff.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/arm_thread_stress_timeout.diff.done b/oe-core/build/downloads/arm_thread_stress_timeout.diff.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/armsel-linux.cache.done b/oe-core/build/downloads/armsel-linux.cache.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/armv4-eabi-compile-fix.patch.done b/oe-core/build/downloads/armv4-eabi-compile-fix.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/atfwd-daemon.done b/oe-core/build/downloads/atfwd-daemon.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/ath6kl-utils.done b/oe-core/build/downloads/ath6kl-utils.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/ath6kl_ctrl_wlan.done b/oe-core/build/downloads/ath6kl_ctrl_wlan.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/attr-2.4.46.src.tar.gz.done b/oe-core/build/downloads/attr-2.4.46.src.tar.gz.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/audcal.done b/oe-core/build/downloads/audcal.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/audio-alsa.done b/oe-core/build/downloads/audio-alsa.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/audio_ftm.done b/oe-core/build/downloads/audio_ftm.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/autoconf-2.68.tar.bz2.done b/oe-core/build/downloads/autoconf-2.68.tar.bz2.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/autofoo.patch.done b/oe-core/build/downloads/autofoo.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/autoheader-nonfatal-warnings.patch.done b/oe-core/build/downloads/autoheader-nonfatal-warnings.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/automake-1.11.2.tar.bz2.done b/oe-core/build/downloads/automake-1.11.2.tar.bz2.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/automake_1.11.2_fix_for_pkglibexec_SCRIPTS.patch.done b/oe-core/build/downloads/automake_1.11.2_fix_for_pkglibexec_SCRIPTS.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/automountsdcard.sh.done b/oe-core/build/downloads/automountsdcard.sh.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/autoreconf-exclude.patch.done b/oe-core/build/downloads/autoreconf-exclude.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/autoreconf-foreign.patch.done b/oe-core/build/downloads/autoreconf-foreign.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/autoreconf-gnuconfigize.patch.done b/oe-core/build/downloads/autoreconf-gnuconfigize.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/autoreconf-include.patch.done b/oe-core/build/downloads/autoreconf-include.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/autotools.patch.done b/oe-core/build/downloads/autotools.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/avahi-0.6.31.tar.gz.done b/oe-core/build/downloads/avahi-0.6.31.tar.gz.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/avoid-strip.patch.done b/oe-core/build/downloads/avoid-strip.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/avoid_absolute_paths_for_general_utils.patch.done b/oe-core/build/downloads/avoid_absolute_paths_for_general_utils.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/avoid_static.patch.done b/oe-core/build/downloads/avoid_static.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/avoid_strip.patch.done b/oe-core/build/downloads/avoid_strip.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/banner.sh.done b/oe-core/build/downloads/banner.sh.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/base-passwd_3.5.22.tar.gz.done b/oe-core/build/downloads/base-passwd_3.5.22.tar.gz.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/bash-4.2.tar.gz.done b/oe-core/build/downloads/bash-4.2.tar.gz.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/bash42-001.done b/oe-core/build/downloads/bash42-001.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/bash42-002.done b/oe-core/build/downloads/bash42-002.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/bash42-003.done b/oe-core/build/downloads/bash42-003.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/bash42-004.done b/oe-core/build/downloads/bash42-004.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/bash42-005.done b/oe-core/build/downloads/bash42-005.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/bash42-006.done b/oe-core/build/downloads/bash42-006.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/bash42-007.done b/oe-core/build/downloads/bash42-007.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/bash42-008.done b/oe-core/build/downloads/bash42-008.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/bash42-009.done b/oe-core/build/downloads/bash42-009.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/bash42-010.done b/oe-core/build/downloads/bash42-010.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/binutils-2.19.1-ld-sysroot.patch.done b/oe-core/build/downloads/binutils-2.19.1-ld-sysroot.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/binutils-2.22.tar.bz2.done b/oe-core/build/downloads/binutils-2.22.tar.bz2.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/binutils-poison.patch.done b/oe-core/build/downloads/binutils-poison.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/binutils-powerpc-e5500.patch.done b/oe-core/build/downloads/binutils-powerpc-e5500.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/binutils-uclibc-100-uclibc-conf.patch.done b/oe-core/build/downloads/binutils-uclibc-100-uclibc-conf.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/binutils-uclibc-300-001_ld_makefile_patch.patch.done b/oe-core/build/downloads/binutils-uclibc-300-001_ld_makefile_patch.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/binutils-uclibc-300-006_better_file_error.patch.done b/oe-core/build/downloads/binutils-uclibc-300-006_better_file_error.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/binutils-uclibc-300-012_check_ldrunpath_length.patch.done b/oe-core/build/downloads/binutils-uclibc-300-012_check_ldrunpath_length.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/binutils-uclibc-gas-needs-libm.patch.done b/oe-core/build/downloads/binutils-uclibc-gas-needs-libm.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/binutils-x86_64_i386_biarch.patch.done b/oe-core/build/downloads/binutils-x86_64_i386_biarch.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/bison-2.5.tar.gz.done b/oe-core/build/downloads/bison-2.5.tar.gz.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/blobmsg_add_json_from_file.patch.done b/oe-core/build/downloads/blobmsg_add_json_from_file.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/bootlogd.init.done b/oe-core/build/downloads/bootlogd.init.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/bootmisc.sh.done b/oe-core/build/downloads/bootmisc.sh.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/busybox-1.18.5.tar.bz2.done b/oe-core/build/downloads/busybox-1.18.5.tar.bz2.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/busybox-appletlib-dependency.patch.done b/oe-core/build/downloads/busybox-appletlib-dependency.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/busybox-cron.done b/oe-core/build/downloads/busybox-cron.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/busybox-httpd.done b/oe-core/build/downloads/busybox-httpd.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/busybox-udhcpd.done b/oe-core/build/downloads/busybox-udhcpd.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/bzip2-1.0.6.tar.gz.done b/oe-core/build/downloads/bzip2-1.0.6.tar.gz.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/c_rehash-compat.patch.done b/oe-core/build/downloads/c_rehash-compat.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/ca.patch.done b/oe-core/build/downloads/ca.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/cache-amnesia.patch.done b/oe-core/build/downloads/cache-amnesia.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/check_snprintf.patch.done b/oe-core/build/downloads/check_snprintf.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/check_version.patch.done b/oe-core/build/downloads/check_version.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/checkfs.sh.done b/oe-core/build/downloads/checkfs.sh.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/checkroot.sh.done b/oe-core/build/downloads/checkroot.sh.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/chgrp-diag.done b/oe-core/build/downloads/chgrp-diag.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/clone-shadow.patch.done b/oe-core/build/downloads/clone-shadow.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/cmake-2.8.5.tar.gz.done b/oe-core/build/downloads/cmake-2.8.5.tar.gz.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/compat-wireless.done b/oe-core/build/downloads/compat-wireless.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/config-guess-uclibc.patch.done b/oe-core/build/downloads/config-guess-uclibc.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/config.cache.done b/oe-core/build/downloads/config.cache.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/config.sh-32-be.done b/oe-core/build/downloads/config.sh-32-be.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/config.sh-32-le.done b/oe-core/build/downloads/config.sh-32-le.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/config.sh-32.done b/oe-core/build/downloads/config.sh-32.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/config.sh-64-be.done b/oe-core/build/downloads/config.sh-64-be.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/config.sh-64-le.done b/oe-core/build/downloads/config.sh-64-le.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/config.sh-64.done b/oe-core/build/downloads/config.sh-64.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/config.sh.done b/oe-core/build/downloads/config.sh.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/config_site.patch.done b/oe-core/build/downloads/config_site.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/configdb.done b/oe-core/build/downloads/configdb.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/configure-cross.patch.done b/oe-core/build/downloads/configure-cross.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/configure-fix.patch.done b/oe-core/build/downloads/configure-fix.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/configure-libtool.patch.done b/oe-core/build/downloads/configure-libtool.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/configure-targets.patch.done b/oe-core/build/downloads/configure-targets.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/configure.ac.done b/oe-core/build/downloads/configure.ac.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/configure.patch.done b/oe-core/build/downloads/configure.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/connector-msg-size-fix.patch.done b/oe-core/build/downloads/connector-msg-size-fix.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/conntrack-tools-1.0.1.tar.bz2.done b/oe-core/build/downloads/conntrack-tools-1.0.1.tar.bz2.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/core.done b/oe-core/build/downloads/core.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/cpan_definstalldirs.diff.done b/oe-core/build/downloads/cpan_definstalldirs.diff.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/cpanplus_config_path.diff.done b/oe-core/build/downloads/cpanplus_config_path.diff.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/cpanplus_definstalldirs.diff.done b/oe-core/build/downloads/cpanplus_definstalldirs.diff.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/cross-generate_uudmap.patch.done b/oe-core/build/downloads/cross-generate_uudmap.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/crypt-lib.patch.done b/oe-core/build/downloads/crypt-lib.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/csd-server.done b/oe-core/build/downloads/csd-server.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/curl-7.23.1.tar.bz2.done b/oe-core/build/downloads/curl-7.23.1.tar.bz2.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/cvs-20040608.patch.done b/oe-core/build/downloads/cvs-20040608.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/cxm-apps.done b/oe-core/build/downloads/cxm-apps.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/data-init.done b/oe-core/build/downloads/data-init.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/data-ipa-cfg-mgr.done b/oe-core/build/downloads/data-ipa-cfg-mgr.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/data.done b/oe-core/build/downloads/data.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/db-5.1.19.tar.gz.done b/oe-core/build/downloads/db-5.1.19.tar.gz.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/db_file_ver.diff.done b/oe-core/build/downloads/db_file_ver.diff.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/dbus-1.4.16.tar.gz.done b/oe-core/build/downloads/dbus-1.4.16.tar.gz.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/dbus-1.init.done b/oe-core/build/downloads/dbus-1.init.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/debian-targets.patch.done b/oe-core/build/downloads/debian-targets.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/debug.patch.done b/oe-core/build/downloads/debug.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/default.script.done b/oe-core/build/downloads/default.script.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/defconfig-ath6kl.done b/oe-core/build/downloads/defconfig-ath6kl.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/defconfig.done b/oe-core/build/downloads/defconfig.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/defines.h.done b/oe-core/build/downloads/defines.h.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/deprecate-with-apt.diff.done b/oe-core/build/downloads/deprecate-with-apt.diff.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/desktop-file-utils-0.15.tar.gz.done b/oe-core/build/downloads/desktop-file-utils-0.15.tar.gz.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/device_table.txt.done b/oe-core/build/downloads/device_table.txt.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/devpts.done b/oe-core/build/downloads/devpts.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/devpts.sh.done b/oe-core/build/downloads/devpts.sh.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/dhcpcd-5.2.10.tar.bz2.done b/oe-core/build/downloads/dhcpcd-5.2.10.tar.bz2.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/diag-reboot-app.done b/oe-core/build/downloads/diag-reboot-app.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/diag.done b/oe-core/build/downloads/diag.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/disable-legacy.patch.done b/oe-core/build/downloads/disable-legacy.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/disable-xmms-plugin.patch.done b/oe-core/build/downloads/disable-xmms-plugin.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/disable-zlib-bundling.diff.done b/oe-core/build/downloads/disable-zlib-bundling.diff.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/disable_man.patch.done b/oe-core/build/downloads/disable_man.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/disable_relax_pic_calls_flag.patch.done b/oe-core/build/downloads/disable_relax_pic_calls_flag.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/dnsmasq-2.55.tar.gz.done b/oe-core/build/downloads/dnsmasq-2.55.tar.gz.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/dnsmasq.conf.done b/oe-core/build/downloads/dnsmasq.conf.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/do-autoreconf.diff.done b/oe-core/build/downloads/do-autoreconf.diff.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/doc_info.diff.done b/oe-core/build/downloads/doc_info.diff.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/document_makemaker_ccflags.diff.done b/oe-core/build/downloads/document_makemaker_ccflags.diff.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/dot.bashrc.done b/oe-core/build/downloads/dot.bashrc.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/dot.profile.done b/oe-core/build/downloads/dot.profile.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/dpkg_1.15.8.11.tar.bz2.done b/oe-core/build/downloads/dpkg_1.15.8.11.tar.bz2.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/dropbear-0.53.1-static_build_fix.patch.done b/oe-core/build/downloads/dropbear-0.53.1-static_build_fix.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/dropbear-2011.54.tar.gz.done b/oe-core/build/downloads/dropbear-2011.54.tar.gz.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/dso-link-change.patch.done b/oe-core/build/downloads/dso-link-change.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/dsutils.done b/oe-core/build/downloads/dsutils.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/dump.done b/oe-core/build/downloads/dump.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/ebtables-v2.0.10-4.tar.gz.done b/oe-core/build/downloads/ebtables-v2.0.10-4.tar.gz.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/eglibc-2_13_www.eglibc.org_.svn.branches._15508_.tar.gz.done b/oe-core/build/downloads/eglibc-2_13_www.eglibc.org_.svn.branches._15508_.tar.gz.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/eglibc-svn-arm-lowlevellock-include-tls.patch.done b/oe-core/build/downloads/eglibc-svn-arm-lowlevellock-include-tls.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/elf_additions.diff.done b/oe-core/build/downloads/elf_additions.diff.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/elfutils-0.148.tar.bz2.done b/oe-core/build/downloads/elfutils-0.148.tar.bz2.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/elfutils-fsize.patch.done b/oe-core/build/downloads/elfutils-fsize.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/enc2xs_inc.diff.done b/oe-core/build/downloads/enc2xs_inc.diff.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/engines-install-in-libdir-ssl.patch.done b/oe-core/build/downloads/engines-install-in-libdir-ssl.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/errno_ver.diff.done b/oe-core/build/downloads/errno_ver.diff.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/execute_cmd.patch.done b/oe-core/build/downloads/execute_cmd.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/expat-2.0.1.tar.gz.done b/oe-core/build/downloads/expat-2.0.1.tar.gz.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/extutils-cbuilder-cflags.diff.done b/oe-core/build/downloads/extutils-cbuilder-cflags.diff.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/extutils_set_libperl_path.diff.done b/oe-core/build/downloads/extutils_set_libperl_path.diff.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/fakeroot.diff.done b/oe-core/build/downloads/fakeroot.diff.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/fdisk_nios2.patch.done b/oe-core/build/downloads/fdisk_nios2.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/ffmpeg-1.1.tar.gz.done b/oe-core/build/downloads/ffmpeg-1.1.tar.gz.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/file-5.09.tar.gz.done b/oe-core/build/downloads/file-5.09.tar.gz.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/filesystems.done b/oe-core/build/downloads/filesystems.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/find-touchscreen.sh.done b/oe-core/build/downloads/find-touchscreen.sh.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/find_html2text.diff.done b/oe-core/build/downloads/find_html2text.diff.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/finish.sh.done b/oe-core/build/downloads/finish.sh.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/fix-2kb-keys.patch.done b/oe-core/build/downloads/fix-2kb-keys.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/fix-compilation-bug.patch.done b/oe-core/build/downloads/fix-compilation-bug.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/fix-final-rpath.patch.done b/oe-core/build/downloads/fix-final-rpath.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/fix-for-ice-50099.patch.done b/oe-core/build/downloads/fix-for-ice-50099.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/fix-iptunnel-location.patch.done b/oe-core/build/downloads/fix-iptunnel-location.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/fix-pc-file.patch.done b/oe-core/build/downloads/fix-pc-file.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/fix-pcre-name-collision.patch.done b/oe-core/build/downloads/fix-pcre-name-collision.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/fix-pktloc_syntax_h-race.patch.done b/oe-core/build/downloads/fix-pktloc_syntax_h-race.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/fix-rpath.patch.done b/oe-core/build/downloads/fix-rpath.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/fix.inverted.LFS.logic.patch.done b/oe-core/build/downloads/fix.inverted.LFS.logic.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/fix_STT_GNU_IFUNC.patch.done b/oe-core/build/downloads/fix_STT_GNU_IFUNC.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/fix_bad_rpath.patch.done b/oe-core/build/downloads/fix_bad_rpath.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/fix_for_automake_1.11.2.patch.done b/oe-core/build/downloads/fix_for_automake_1.11.2.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/fix_for_gcc-4.7.patch.done b/oe-core/build/downloads/fix_for_gcc-4.7.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/fix_installorder.patch.done b/oe-core/build/downloads/fix_installorder.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/fix_path_xtra.patch.done b/oe-core/build/downloads/fix_path_xtra.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/fix_version_check.patch.done b/oe-core/build/downloads/fix_version_check.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/fix_version_info.patch.done b/oe-core/build/downloads/fix_version_info.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/fixinstall.patch.done b/oe-core/build/downloads/fixinstall.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/flac-1.2.1.tar.gz.done b/oe-core/build/downloads/flac-1.2.1.tar.gz.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/flac-gcc43-fixes.patch.done b/oe-core/build/downloads/flac-gcc43-fixes.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/flex-2.5.35.tar.bz2.done b/oe-core/build/downloads/flex-2.5.35.tar.bz2.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/fortran-cross-compile-hack.patch.done b/oe-core/build/downloads/fortran-cross-compile-hack.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/fprint-pointer-fix.patch.done b/oe-core/build/downloads/fprint-pointer-fix.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/fs_config.done b/oe-core/build/downloads/fs_config.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/fstab.done b/oe-core/build/downloads/fstab.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/functions.done b/oe-core/build/downloads/functions.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/g_once_init_enter.patch.done b/oe-core/build/downloads/g_once_init_enter.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/garden-app.done b/oe-core/build/downloads/garden-app.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch.done b/oe-core/build/downloads/gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/gcc-4.3.3-SYSROOT_CFLAGS_FOR_TARGET.patch.done b/oe-core/build/downloads/gcc-4.3.3-SYSROOT_CFLAGS_FOR_TARGET.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/gcc-4_6-branch_gcc.gnu.org_.svn.gcc.branches_181430_.tar.gz.done b/oe-core/build/downloads/gcc-4_6-branch_gcc.gnu.org_.svn.gcc.branches_181430_.tar.gz.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/gcc-arm-set-cost.patch.done b/oe-core/build/downloads/gcc-arm-set-cost.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/gcc-flags-for-build.patch.done b/oe-core/build/downloads/gcc-flags-for-build.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/gcc-poison-dir-extend.patch.done b/oe-core/build/downloads/gcc-poison-dir-extend.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/gcc-poison-system-directories.patch.done b/oe-core/build/downloads/gcc-poison-system-directories.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/gcc-uclibc-locale-ctype_touplow_t.patch.done b/oe-core/build/downloads/gcc-uclibc-locale-ctype_touplow_t.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/gcc-with-linker-hash-style.patch.done b/oe-core/build/downloads/gcc-with-linker-hash-style.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/gdb-7.3.1.tar.gz.done b/oe-core/build/downloads/gdb-7.3.1.tar.gz.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/gdbm-1.10.tar.gz.done b/oe-core/build/downloads/gdbm-1.10.tar.gz.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/gdbserver-cflags-last.diff.done b/oe-core/build/downloads/gdbserver-cflags-last.diff.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/generate-sh.patch.done b/oe-core/build/downloads/generate-sh.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/generate-supported.mk.done b/oe-core/build/downloads/generate-supported.mk.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/geninit.done b/oe-core/build/downloads/geninit.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/get_header_tar.patch.done b/oe-core/build/downloads/get_header_tar.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/gettext-0.18.1.1.tar.gz.done b/oe-core/build/downloads/gettext-0.18.1.1.tar.gz.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/git-1.7.7.tar.gz.done b/oe-core/build/downloads/git-1.7.7.tar.gz.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/git.kernel.org.pub.scm.linux.kernel.git.shemminger.iproute2.git.done b/oe-core/build/downloads/git.kernel.org.pub.scm.linux.kernel.git.shemminger.iproute2.git.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/git.lttng.org.lttng-ust.git.done b/oe-core/build/downloads/git.lttng.org.lttng-ust.git.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/git.yoctoproject.org.prelink-cross.git.done b/oe-core/build/downloads/git.yoctoproject.org.prelink-cross.git.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/github.com.maru-sama.rtsp-linux-v2.6.git.done b/oe-core/build/downloads/github.com.maru-sama.rtsp-linux-v2.6.git.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/github.com.philb.update-rc.d.git.done b/oe-core/build/downloads/github.com.philb.update-rc.d.git.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/github.com.troglobit.pimd.git.done b/oe-core/build/downloads/github.com.troglobit.pimd.git.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/glib-2.0_fix_for_x32.patch.done b/oe-core/build/downloads/glib-2.0_fix_for_x32.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/glib-2.30.2.tar.bz2.done b/oe-core/build/downloads/glib-2.30.2.tar.bz2.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/glib-gettextize-dir.patch.done b/oe-core/build/downloads/glib-gettextize-dir.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/glibconfig-sysdefs.h.done b/oe-core/build/downloads/glibconfig-sysdefs.h.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/gmp-5.0.2.tar.bz2.done b/oe-core/build/downloads/gmp-5.0.2.tar.bz2.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/gmp_bugfix.patch.done b/oe-core/build/downloads/gmp_bugfix.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/gmp_fix_for_x32.patch.done b/oe-core/build/downloads/gmp_fix_for_x32.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/gnu-config-yocto-20111111.tgz.done b/oe-core/build/downloads/gnu-config-yocto-20111111.tgz.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/gnu-configize.in.done b/oe-core/build/downloads/gnu-configize.in.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/gperf-3.0.4.tar.gz.done b/oe-core/build/downloads/gperf-3.0.4.tar.gz.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/gps.done b/oe-core/build/downloads/gps.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/grab_module_memset.patch.done b/oe-core/build/downloads/grab_module_memset.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/group.done b/oe-core/build/downloads/group.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/gtk-doc.m4.done b/oe-core/build/downloads/gtk-doc.m4.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/gzip-1.4.tar.gz.done b/oe-core/build/downloads/gzip-1.4.tar.gz.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/h2ph-multiarch.diff.done b/oe-core/build/downloads/h2ph-multiarch.diff.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/hack_uci_save.patch.done b/oe-core/build/downloads/hack_uci_save.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/halt.done b/oe-core/build/downloads/halt.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/header-include-fix.patch.done b/oe-core/build/downloads/header-include-fix.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/host.conf.done b/oe-core/build/downloads/host.conf.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/hostap.done b/oe-core/build/downloads/hostap.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/hostname.sh.done b/oe-core/build/downloads/hostname.sh.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/hosts.done b/oe-core/build/downloads/hosts.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/hppa_backend.diff.done b/oe-core/build/downloads/hppa_backend.diff.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/hurd-ccflags.diff.done b/oe-core/build/downloads/hurd-ccflags.diff.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/hurd-hints.diff.done b/oe-core/build/downloads/hurd-hints.diff.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/hwclock-default.done b/oe-core/build/downloads/hwclock-default.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/hwclock.sh.done b/oe-core/build/downloads/hwclock.sh.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/i386_dis.h.done b/oe-core/build/downloads/i386_dis.h.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/ieee80215-arphrd.patch.done b/oe-core/build/downloads/ieee80215-arphrd.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/ignore_extra_fields.patch.done b/oe-core/build/downloads/ignore_extra_fields.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/index-ignore-filenotfound.patch.done b/oe-core/build/downloads/index-ignore-filenotfound.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/index-tainting.diff.done b/oe-core/build/downloads/index-tainting.diff.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/index.html.lighttpd.done b/oe-core/build/downloads/index.html.lighttpd.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/inetd.conf.done b/oe-core/build/downloads/inetd.conf.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/inetd.done b/oe-core/build/downloads/inetd.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/init.done b/oe-core/build/downloads/init.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/init_qcom_audio.done b/oe-core/build/downloads/init_qcom_audio.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/initscript.patch.done b/oe-core/build/downloads/initscript.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/inittab.done b/oe-core/build/downloads/inittab.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/inputrc.done b/oe-core/build/downloads/inputrc.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/install.patch.done b/oe-core/build/downloads/install.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/installperl.patch.done b/oe-core/build/downloads/installperl.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/instmodsh_doc.diff.done b/oe-core/build/downloads/instmodsh_doc.diff.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/interfaces.done b/oe-core/build/downloads/interfaces.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/intltool-0.40.6.tar.bz2.done b/oe-core/build/downloads/intltool-0.40.6.tar.bz2.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/intltool-nowarn-0.40.0.patch.done b/oe-core/build/downloads/intltool-nowarn-0.40.0.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/iperf-2.0.5.tar.gz.done b/oe-core/build/downloads/iperf-2.0.5.tar.gz.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/iptables-1.4.12.1.tar.bz2.done b/oe-core/build/downloads/iptables-1.4.12.1.tar.bz2.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/ipth_dme.done b/oe-core/build/downloads/ipth_dme.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/ipv6-cross.patch.done b/oe-core/build/downloads/ipv6-cross.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/issue.done b/oe-core/build/downloads/issue.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/issue.net.done b/oe-core/build/downloads/issue.net.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/iw-3.6.tar.bz2.done b/oe-core/build/downloads/iw-3.6.tar.bz2.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/jquery-1.9.1.min.js.done b/oe-core/build/downloads/jquery-1.9.1.min.js.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/jquery-ui-1.10.1.custom.zip.done b/oe-core/build/downloads/jquery-ui-1.10.1.custom.zip.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/json-c-0.9.tar.gz.done b/oe-core/build/downloads/json-c-0.9.tar.gz.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/kbd-1.15.2.tar.bz2.done b/oe-core/build/downloads/kbd-1.15.2.tar.bz2.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/kernel-tests.done b/oe-core/build/downloads/kernel-tests.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/keymap.sh.done b/oe-core/build/downloads/keymap.sh.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/kill_arm_map_symbols.patch.done b/oe-core/build/downloads/kill_arm_map_symbols.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/ld.so.conf.done b/oe-core/build/downloads/ld.so.conf.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/ld_run_path.diff.done b/oe-core/build/downloads/ld_run_path.diff.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/letgcc-find-errno.patch.done b/oe-core/build/downloads/letgcc-find-errno.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/libcap-2.22.tar.bz2.done b/oe-core/build/downloads/libcap-2.22.tar.bz2.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/libdaemon-0.14.tar.gz.done b/oe-core/build/downloads/libdaemon-0.14.tar.gz.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/libexif-0.6.21.tar.gz.done b/oe-core/build/downloads/libexif-0.6.21.tar.gz.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/libffi-3.0.10.tar.gz.done b/oe-core/build/downloads/libffi-3.0.10.tar.gz.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/libghttp_1.0.9-17.patch.done b/oe-core/build/downloads/libghttp_1.0.9-17.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/libghttp_1.0.9.orig.tar.gz.done b/oe-core/build/downloads/libghttp_1.0.9.orig.tar.gz.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/libiberty_path_fix.patch.done b/oe-core/build/downloads/libiberty_path_fix.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/libid3tag-0.15.1b.tar.gz.done b/oe-core/build/downloads/libid3tag-0.15.1b.tar.gz.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/libjpeg-turbo-1.2.1.tar.gz.done b/oe-core/build/downloads/libjpeg-turbo-1.2.1.tar.gz.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/libnet_config_path.diff.done b/oe-core/build/downloads/libnet_config_path.diff.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/libnetfilter_conntrack-0.9.1.tar.bz2.done b/oe-core/build/downloads/libnetfilter_conntrack-0.9.1.tar.bz2.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/libnfnetlink-1.0.0.tar.bz2.done b/oe-core/build/downloads/libnfnetlink-1.0.0.tar.bz2.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/libnl-2.0.tar.gz.done b/oe-core/build/downloads/libnl-2.0.tar.gz.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/libogg-1.3.0.tar.gz.done b/oe-core/build/downloads/libogg-1.3.0.tar.gz.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/libpcap-1.1.1.tar.gz.done b/oe-core/build/downloads/libpcap-1.1.1.tar.gz.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/libperl_embed_doc.diff.done b/oe-core/build/downloads/libperl_embed_doc.diff.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/libtool-2.4-update.patch.done b/oe-core/build/downloads/libtool-2.4-update.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/libtool-2.4.2.tar.gz.done b/oe-core/build/downloads/libtool-2.4.2.tar.gz.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/libtool-rpath-fix.patch.done b/oe-core/build/downloads/libtool-rpath-fix.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/libvorbis-1.3.3.tar.gz.done b/oe-core/build/downloads/libvorbis-1.3.3.tar.gz.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/libxml-64bit.patch.done b/oe-core/build/downloads/libxml-64bit.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/libxml2-2.7.8.tar.gz.done b/oe-core/build/downloads/libxml2-2.7.8.tar.gz.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/lighttpd-1.4.30.tar.bz2.done b/oe-core/build/downloads/lighttpd-1.4.30.tar.bz2.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/lighttpd.conf.done b/oe-core/build/downloads/lighttpd.conf.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/lighttpd.done b/oe-core/build/downloads/lighttpd.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/lighttpd.user.done b/oe-core/build/downloads/lighttpd.user.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/linux-3.1.tar.bz2.done b/oe-core/build/downloads/linux-3.1.tar.bz2.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/lk.done b/oe-core/build/downloads/lk.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/location-xtra.done b/oe-core/build/downloads/location-xtra.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/login.defs_shadow-sysroot.done b/oe-core/build/downloads/login.defs_shadow-sysroot.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/login_defs_pam.sed.done b/oe-core/build/downloads/login_defs_pam.sed.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/ls.done b/oe-core/build/downloads/ls.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/lzo-2.06.tar.gz.done b/oe-core/build/downloads/lzo-2.06.tar.gz.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/m4-1.4.16.tar.gz.done b/oe-core/build/downloads/m4-1.4.16.tar.gz.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/m4.patch.done b/oe-core/build/downloads/m4.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/m68k_backend.diff.done b/oe-core/build/downloads/m68k_backend.diff.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/m68k_thread_stress.diff.done b/oe-core/build/downloads/m68k_thread_stress.diff.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/macros.prelink.done b/oe-core/build/downloads/macros.prelink.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/make-targets.patch.done b/oe-core/build/downloads/make-targets.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/make_include.done b/oe-core/build/downloads/make_include.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/makedevs.c.done b/oe-core/build/downloads/makedevs.c.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/man-dir.patch.done b/oe-core/build/downloads/man-dir.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/man-section.patch.done b/oe-core/build/downloads/man-section.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/man.patch.done b/oe-core/build/downloads/man.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/mbim.done b/oe-core/build/downloads/mbim.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/mdev.conf.done b/oe-core/build/downloads/mdev.conf.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/mdev.done b/oe-core/build/downloads/mdev.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/mdm9615-ld.patch.done b/oe-core/build/downloads/mdm9615-ld.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/mdm9625.com.key.done b/oe-core/build/downloads/mdm9625.com.key.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/mdm9625.com.pem.done b/oe-core/build/downloads/mdm9625.com.pem.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/mempcpy.patch.done b/oe-core/build/downloads/mempcpy.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/memtester-4.3.0.tar.gz.done b/oe-core/build/downloads/memtester-4.3.0.tar.gz.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/minidlna-1.1.1.tar.gz.done b/oe-core/build/downloads/minidlna-1.1.1.tar.gz.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/minidlna_1.0.25_src.tar.gz.done b/oe-core/build/downloads/minidlna_1.0.25_src.tar.gz.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/miniupnpd-1.8.20130521.tar.gz.done b/oe-core/build/downloads/miniupnpd-1.8.20130521.tar.gz.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/mips-rld-map-check.patch.done b/oe-core/build/downloads/mips-rld-map-check.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/mips_backend.diff.done b/oe-core/build/downloads/mips_backend.diff.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/mklibs_0.1.33.tar.gz.done b/oe-core/build/downloads/mklibs_0.1.33.tar.gz.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/mm-audio.done b/oe-core/build/downloads/mm-audio.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/mod_paths.diff.done b/oe-core/build/downloads/mod_paths.diff.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/modem-shutdown.sh.done b/oe-core/build/downloads/modem-shutdown.sh.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/module-build-home-directory.diff.done b/oe-core/build/downloads/module-build-home-directory.diff.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/module-init-tools-3.16.tar.bz2.done b/oe-core/build/downloads/module-init-tools-3.16.tar.bz2.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/module_build_man_extensions.diff.done b/oe-core/build/downloads/module_build_man_extensions.diff.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/modutils.sh.done b/oe-core/build/downloads/modutils.sh.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/modutils_extension.patch.done b/oe-core/build/downloads/modutils_extension.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/motd.done b/oe-core/build/downloads/motd.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/mount.busybox.done b/oe-core/build/downloads/mount.busybox.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/mountall.done b/oe-core/build/downloads/mountall.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/mountall.sh.done b/oe-core/build/downloads/mountall.sh.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/mountnfs.sh.done b/oe-core/build/downloads/mountnfs.sh.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/mpc-0.8.2.tar.gz.done b/oe-core/build/downloads/mpc-0.8.2.tar.gz.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/mpfr-3.1.0.tar.bz2.done b/oe-core/build/downloads/mpfr-3.1.0.tar.bz2.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/mtime-int.patch.done b/oe-core/build/downloads/mtime-int.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/multilib.patch.done b/oe-core/build/downloads/multilib.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/multilib_readlib.patch.done b/oe-core/build/downloads/multilib_readlib.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/native-nopacklist.patch.done b/oe-core/build/downloads/native-nopacklist.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/native-perlinc.patch.done b/oe-core/build/downloads/native-perlinc.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/nbd.name.luci2.libubox.git.done b/oe-core/build/downloads/nbd.name.luci2.libubox.git.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/nbd.name.luci2.ubus.git.done b/oe-core/build/downloads/nbd.name.luci2.ubus.git.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/nbd.name.uci.git.done b/oe-core/build/downloads/nbd.name.uci.git.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/ncurses-5.9.tar.gz.done b/oe-core/build/downloads/ncurses-5.9.tar.gz.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/need.done b/oe-core/build/downloads/need.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/net_smtp_docs.diff.done b/oe-core/build/downloads/net_smtp_docs.diff.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/netbase_4.47.tar.gz.done b/oe-core/build/downloads/netbase_4.47.tar.gz.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/nfsroot.done b/oe-core/build/downloads/nfsroot.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/no-rpath.patch.done b/oe-core/build/downloads/no-rpath.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/no-symbolic.patch.done b/oe-core/build/downloads/no-symbolic.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/no-werror.patch.done b/oe-core/build/downloads/no-werror.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/no_packlist_perllocal.diff.done b/oe-core/build/downloads/no_packlist_perllocal.diff.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/nobash.patch.done b/oe-core/build/downloads/nobash.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/nohostlibs.patch.done b/oe-core/build/downloads/nohostlibs.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/noldlibpath.patch.done b/oe-core/build/downloads/noldlibpath.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/noman.patch.done b/oe-core/build/downloads/noman.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/nss-mdns-0.10.tar.gz.done b/oe-core/build/downloads/nss-mdns-0.10.tar.gz.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/nsswitch.conf.done b/oe-core/build/downloads/nsswitch.conf.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/ntfs-3g.tar.gz.done b/oe-core/build/downloads/ntfs-3g.tar.gz.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/ocf-linux-20100325.tar.gz.done b/oe-core/build/downloads/ocf-linux-20100325.tar.gz.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/oe-config.patch.done b/oe-core/build/downloads/oe-config.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/oe-ldflags.patch.done b/oe-core/build/downloads/oe-ldflags.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/offline_postinstall.patch.done b/oe-core/build/downloads/offline_postinstall.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/openssl-1.0.0f.tar.gz.done b/oe-core/build/downloads/openssl-1.0.0f.tar.gz.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/openssl-fix-link.patch.done b/oe-core/build/downloads/openssl-fix-link.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/openssl.cnf.done b/oe-core/build/downloads/openssl.cnf.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/openssl_fix_for_x32.patch.done b/oe-core/build/downloads/openssl_fix_for_x32.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/opkg-config-base_1.0.bb.done b/oe-core/build/downloads/opkg-config-base_1.0.bb.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/opkg-utils_svn.openmoko.org_.trunk.src.host._4747_.tar.gz.done b/oe-core/build/downloads/opkg-utils_svn.openmoko.org_.trunk.src.host._4747_.tar.gz.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/optional_libstdc.patch.done b/oe-core/build/downloads/optional_libstdc.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/passwd.done b/oe-core/build/downloads/passwd.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/passwd_rotate_check.patch.done b/oe-core/build/downloads/passwd_rotate_check.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/pax-utils-0.2.2.tar.bz2.done b/oe-core/build/downloads/pax-utils-0.2.2.tar.bz2.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/pcre-8.21.tar.bz2.done b/oe-core/build/downloads/pcre-8.21.tar.bz2.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/pcre-cross.patch.done b/oe-core/build/downloads/pcre-cross.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/perfile_rpmdeps.sh.done b/oe-core/build/downloads/perfile_rpmdeps.sh.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/perl-5.14.2.tar.gz.done b/oe-core/build/downloads/perl-5.14.2.tar.gz.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/perl-configpm-switch.patch.done b/oe-core/build/downloads/perl-configpm-switch.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/perl-dynloader.patch.done b/oe-core/build/downloads/perl-dynloader.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/perl-enable-gdbm.patch.done b/oe-core/build/downloads/perl-enable-gdbm.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/perl-moreconfig.patch.done b/oe-core/build/downloads/perl-moreconfig.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/perlivp.diff.done b/oe-core/build/downloads/perlivp.diff.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/perllibdir.patch.done b/oe-core/build/downloads/perllibdir.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/pic.patch.done b/oe-core/build/downloads/pic.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/pkg-config-0.25.tar.gz.done b/oe-core/build/downloads/pkg-config-0.25.tar.gz.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/pkg-config.patch.done b/oe-core/build/downloads/pkg-config.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/pkgconfig_fix.patch.done b/oe-core/build/downloads/pkgconfig_fix.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/pod_fixes.diff.done b/oe-core/build/downloads/pod_fixes.diff.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/popt-1.16.tar.gz.done b/oe-core/build/downloads/popt-1.16.tar.gz.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/populate-volatile.sh.done b/oe-core/build/downloads/populate-volatile.sh.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/powerapp.done b/oe-core/build/downloads/powerapp.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/powerpc-e5500.patch.done b/oe-core/build/downloads/powerpc-e5500.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/ppc-sqrt.patch.done b/oe-core/build/downloads/ppc-sqrt.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/pr32219.patch.done b/oe-core/build/downloads/pr32219.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/pr46934.patch.done b/oe-core/build/downloads/pr46934.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/pr47551.patch.done b/oe-core/build/downloads/pr47551.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/prefer-cpio-over-pax-for-ustar-archives.patch.done b/oe-core/build/downloads/prefer-cpio-over-pax-for-ustar-archives.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/prefix-manpage-fix.patch.done b/oe-core/build/downloads/prefix-manpage-fix.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/prefix.patch.done b/oe-core/build/downloads/prefix.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/prefix_changes.diff.done b/oe-core/build/downloads/prefix_changes.diff.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/preinst.patch.done b/oe-core/build/downloads/preinst.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/prelink.conf.done b/oe-core/build/downloads/prelink.conf.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/prelink.cron.daily.done b/oe-core/build/downloads/prelink.cron.daily.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/prelink.default.done b/oe-core/build/downloads/prelink.default.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/profile.d.done b/oe-core/build/downloads/profile.d.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/profile.done b/oe-core/build/downloads/profile.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/program_prefix.patch.done b/oe-core/build/downloads/program_prefix.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/provide.done b/oe-core/build/downloads/provide.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/prune_libs.diff.done b/oe-core/build/downloads/prune_libs.diff.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/pseudo-1.2.tar.bz2.done b/oe-core/build/downloads/pseudo-1.2.tar.bz2.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/python-libdir.patch.done b/oe-core/build/downloads/python-libdir.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/pythondeps.sh.done b/oe-core/build/downloads/pythondeps.sh.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/qmi-framework.done b/oe-core/build/downloads/qmi-framework.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/qmi-shutdown-modem.done b/oe-core/build/downloads/qmi-shutdown-modem.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/qmi.done b/oe-core/build/downloads/qmi.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/qrngd.done b/oe-core/build/downloads/qrngd.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/quilt-0.50.tar.gz.done b/oe-core/build/downloads/quilt-0.50.tar.gz.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/rc.done b/oe-core/build/downloads/rc.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/rcS-default.done b/oe-core/build/downloads/rcS-default.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/rcS.done b/oe-core/build/downloads/rcS.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/readline-6.2.tar.gz.done b/oe-core/build/downloads/readline-6.2.tar.gz.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/reboot-daemon.done b/oe-core/build/downloads/reboot-daemon.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/reboot.done b/oe-core/build/downloads/reboot.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/recovery.done b/oe-core/build/downloads/recovery.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/redhat-portability.diff.done b/oe-core/build/downloads/redhat-portability.diff.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/redhat-robustify.diff.done b/oe-core/build/downloads/redhat-robustify.diff.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/relative-libdir.patch.done b/oe-core/build/downloads/relative-libdir.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/remove-index.patch.done b/oe-core/build/downloads/remove-index.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/remove-unused.patch.done b/oe-core/build/downloads/remove-unused.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/remove-usr-local-lib-from-m4.patch.done b/oe-core/build/downloads/remove-usr-local-lib-from-m4.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/remove_timestamp.patch.done b/oe-core/build/downloads/remove_timestamp.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/rename-with-sysroot.patch.done b/oe-core/build/downloads/rename-with-sysroot.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/respect_umask.diff.done b/oe-core/build/downloads/respect_umask.diff.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/rmnologin.sh.done b/oe-core/build/downloads/rmnologin.sh.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/root-home.patch.done b/oe-core/build/downloads/root-home.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/rpm-5.4.0-0.20101229.src.rpm.done b/oe-core/build/downloads/rpm-5.4.0-0.20101229.src.rpm.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/rpm-autogen.patch.done b/oe-core/build/downloads/rpm-autogen.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/rpm-canonarch.patch.done b/oe-core/build/downloads/rpm-canonarch.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/rpm-db-reduce.patch.done b/oe-core/build/downloads/rpm-db-reduce.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/rpm-fileclass.patch.done b/oe-core/build/downloads/rpm-fileclass.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/rpm-libsql-fix.patch.done b/oe-core/build/downloads/rpm-libsql-fix.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/rpm-log-auto-rm.patch.done b/oe-core/build/downloads/rpm-log-auto-rm.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/rpm-no-loopmsg.patch.done b/oe-core/build/downloads/rpm-no-loopmsg.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/rpm-nofsync.patch.done b/oe-core/build/downloads/rpm-nofsync.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/rpm-platform.patch.done b/oe-core/build/downloads/rpm-platform.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/rpm-scriptletexechelper.patch.done b/oe-core/build/downloads/rpm-scriptletexechelper.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/rpm-showrc.patch.done b/oe-core/build/downloads/rpm-showrc.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/rpm-solvedb.patch.done b/oe-core/build/downloads/rpm-solvedb.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/rpm-tools-mtree-LDFLAGS.patch.done b/oe-core/build/downloads/rpm-tools-mtree-LDFLAGS.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/run-postinsts.awk.done b/oe-core/build/downloads/run-postinsts.awk.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/run-postinsts.done b/oe-core/build/downloads/run-postinsts.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/samba-3.6.22.tar.gz.done b/oe-core/build/downloads/samba-3.6.22.tar.gz.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/samba_3.6.22.patch.done b/oe-core/build/downloads/samba_3.6.22.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/save-rtc.sh.done b/oe-core/build/downloads/save-rtc.sh.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/securetty.done b/oe-core/build/downloads/securetty.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/sendsigs.done b/oe-core/build/downloads/sendsigs.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/set-console.done b/oe-core/build/downloads/set-console.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/setuptools-0.6c11.tar.gz.done b/oe-core/build/downloads/setuptools-0.6c11.tar.gz.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/sh4-asmfix.patch.done b/oe-core/build/downloads/sh4-asmfix.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/shadow-4.1.3-dots-in-usernames.patch.done b/oe-core/build/downloads/shadow-4.1.3-dots-in-usernames.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/shadow-4.1.4.2-env-reset-keep-locale.patch.done b/oe-core/build/downloads/shadow-4.1.4.2-env-reset-keep-locale.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/shadow-4.1.4.2-groupmod-pam-check.patch.done b/oe-core/build/downloads/shadow-4.1.4.2-groupmod-pam-check.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/shadow-4.1.4.2-su_no_sanitize_env.patch.done b/oe-core/build/downloads/shadow-4.1.4.2-su_no_sanitize_env.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/shadow-4.1.4.3.tar.bz2.done b/oe-core/build/downloads/shadow-4.1.4.3.tar.bz2.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/shadow-update-pam-conf.patch.done b/oe-core/build/downloads/shadow-update-pam-conf.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/shadow.automake-1.11.patch.done b/oe-core/build/downloads/shadow.automake-1.11.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/shadow.done b/oe-core/build/downloads/shadow.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/shared-libs.patch.done b/oe-core/build/downloads/shared-libs.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/shebang.patch.done b/oe-core/build/downloads/shebang.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/sim-install-6.6.patch.done b/oe-core/build/downloads/sim-install-6.6.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/simple.script.done b/oe-core/build/downloads/simple.script.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/single.done b/oe-core/build/downloads/single.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/skip-kfreebsd-crash.diff.done b/oe-core/build/downloads/skip-kfreebsd-crash.diff.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/skip-upstream-git-tests.diff.done b/oe-core/build/downloads/skip-upstream-git-tests.diff.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/smb_anony_ro.conf.done b/oe-core/build/downloads/smb_anony_ro.conf.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/smb_anony_rw.conf.done b/oe-core/build/downloads/smb_anony_rw.conf.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/smb_signed_rw.conf.done b/oe-core/build/downloads/smb_signed_rw.conf.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/sqlite-autoconf-3070900.tar.gz.done b/oe-core/build/downloads/sqlite-autoconf-3070900.tar.gz.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/sqlite-autoconf-3071502.tar.gz.done b/oe-core/build/downloads/sqlite-autoconf-3071502.tar.gz.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/squelch-locale-warnings.diff.done b/oe-core/build/downloads/squelch-locale-warnings.diff.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/stack-protector-test.patch.done b/oe-core/build/downloads/stack-protector-test.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/start_samba.done b/oe-core/build/downloads/start_samba.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/static_sqlite.patch.done b/oe-core/build/downloads/static_sqlite.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/stop_samba.done b/oe-core/build/downloads/stop_samba.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/strace-4.6.tar.xz.done b/oe-core/build/downloads/strace-4.6.tar.xz.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/support-oe-qt4-tools-names.patch.done b/oe-core/build/downloads/support-oe-qt4-tools-names.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/swapargs.h.done b/oe-core/build/downloads/swapargs.h.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/sys-syslog-socket-timeout-kfreebsd.patch.done b/oe-core/build/downloads/sys-syslog-socket-timeout-kfreebsd.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/sysfs.sh.done b/oe-core/build/downloads/sysfs.sh.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/syslog.conf.done b/oe-core/build/downloads/syslog.conf.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/syslog.done b/oe-core/build/downloads/syslog.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/sysvinit-2.88dsf.tar.bz2.done b/oe-core/build/downloads/sysvinit-2.88dsf.tar.bz2.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/target.done b/oe-core/build/downloads/target.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/task-core-boot.bb.done b/oe-core/build/downloads/task-core-boot.bb.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/tcp_wrappers_7.6.tar.gz.done b/oe-core/build/downloads/tcp_wrappers_7.6.tar.gz.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/tcpdump-4.1.1.tar.gz.done b/oe-core/build/downloads/tcpdump-4.1.1.tar.gz.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/tcpdump_configure_no_-O2.patch.done b/oe-core/build/downloads/tcpdump_configure_no_-O2.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/test.done b/oe-core/build/downloads/test.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/testsuite-ignore-elflint.diff.done b/oe-core/build/downloads/testsuite-ignore-elflint.diff.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/thermal-engine.done b/oe-core/build/downloads/thermal-engine.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/tic-hang.patch.done b/oe-core/build/downloads/tic-hang.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/time-services.done b/oe-core/build/downloads/time-services.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/tinylogin-1.4.tar.bz2.done b/oe-core/build/downloads/tinylogin-1.4.tar.bz2.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/tmpdir.patch.done b/oe-core/build/downloads/tmpdir.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/tp-domain.bb b/oe-core/build/downloads/tp-domain.bb deleted file mode 100644 index 659182ad1..000000000 --- a/oe-core/build/downloads/tp-domain.bb +++ /dev/null @@ -1 +0,0 @@ - <body>Your browse does not support frame!</body> \ No newline at end of file diff --git a/oe-core/build/downloads/tp-domain.bb.done b/oe-core/build/downloads/tp-domain.bb.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/tp_domain.c.done b/oe-core/build/downloads/tp_domain.c.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/tp_domain.h.done b/oe-core/build/downloads/tp_domain.h.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/track_parents.patch.done b/oe-core/build/downloads/track_parents.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/trailingslash.patch.done b/oe-core/build/downloads/trailingslash.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/trunk_opkg.googlecode.com_.svn_633_.tar.gz.done b/oe-core/build/downloads/trunk_opkg.googlecode.com_.svn_633_.tar.gz.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/ubusd.done b/oe-core/build/downloads/ubusd.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/uclibc-__progname-conflict.patch.done b/oe-core/build/downloads/uclibc-__progname-conflict.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/udhcpc-fix-nfsroot.patch.done b/oe-core/build/downloads/udhcpc-fix-nfsroot.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/udhcpc-new-nfsroot.patch.done b/oe-core/build/downloads/udhcpc-new-nfsroot.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/udhcpscript.patch.done b/oe-core/build/downloads/udhcpscript.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/umount.busybox.done b/oe-core/build/downloads/umount.busybox.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/umountfs.done b/oe-core/build/downloads/umountfs.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/umountnfs.sh.done b/oe-core/build/downloads/umountnfs.sh.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/unifdef.c.done b/oe-core/build/downloads/unifdef.c.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/unixccompiler.patch.done b/oe-core/build/downloads/unixccompiler.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/unspport_lua.patch.done b/oe-core/build/downloads/unspport_lua.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/unsupport_lua.patch.done b/oe-core/build/downloads/unsupport_lua.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/unzip60.tgz.done b/oe-core/build/downloads/unzip60.tgz.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/update-modules.done b/oe-core/build/downloads/update-modules.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/urandom-xauth-changes-to-options.h.patch.done b/oe-core/build/downloads/urandom-xauth-changes-to-options.h.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/urandom.done b/oe-core/build/downloads/urandom.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/usb.sh.done b/oe-core/build/downloads/usb.sh.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/usbd.done b/oe-core/build/downloads/usbd.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/use-defaults.h-and-t-oe-in-B.patch.done b/oe-core/build/downloads/use-defaults.h-and-t-oe-in-B.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/use-includedir.patch.done b/oe-core/build/downloads/use-includedir.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/use-nativeperl.patch.done b/oe-core/build/downloads/use-nativeperl.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/use-sysroot-cxx-headers.patch.done b/oe-core/build/downloads/use-sysroot-cxx-headers.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/use-sysroot-in-libpath.patch.done b/oe-core/build/downloads/use-sysroot-in-libpath.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/use_O2_option.patch.done b/oe-core/build/downloads/use_O2_option.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/useradd.patch.done b/oe-core/build/downloads/useradd.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/userspace-rcu-0.6.7.tar.bz2.done b/oe-core/build/downloads/userspace-rcu-0.6.7.tar.bz2.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/util-linux-2.20.1.tar.bz2.done b/oe-core/build/downloads/util-linux-2.20.1.tar.bz2.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/util-linux-ng-2.16-mount_lock_path.patch.done b/oe-core/build/downloads/util-linux-ng-2.16-mount_lock_path.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/util-linux-ng-replace-siginterrupt.patch.done b/oe-core/build/downloads/util-linux-ng-replace-siginterrupt.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/valgrind_3.9.0.orig.tar.bz2.done b/oe-core/build/downloads/valgrind_3.9.0.orig.tar.bz2.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/version-script.patch.done b/oe-core/build/downloads/version-script.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/volatile_access_backport.patch.done b/oe-core/build/downloads/volatile_access_backport.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/volatiles.done b/oe-core/build/downloads/volatiles.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/vsftpd-3.0.0.tar.gz.done b/oe-core/build/downloads/vsftpd-3.0.0.tar.gz.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/wap-fota-daemon.done b/oe-core/build/downloads/wap-fota-daemon.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/wireless-tools.if-pre-up.done b/oe-core/build/downloads/wireless-tools.if-pre-up.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/wireless_tools.29.tar.gz.done b/oe-core/build/downloads/wireless_tools.29.tar.gz.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/wlan-proprietary.done b/oe-core/build/downloads/wlan-proprietary.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/wlan.done b/oe-core/build/downloads/wlan.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/writable_site_dirs.diff.done b/oe-core/build/downloads/writable_site_dirs.diff.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/x86_64_dis.h.done b/oe-core/build/downloads/x86_64_dis.h.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/xmllib.done b/oe-core/build/downloads/xmllib.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/xmms.m4.done b/oe-core/build/downloads/xmms.m4.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/xz-5.0.3.tar.gz.done b/oe-core/build/downloads/xz-5.0.3.tar.gz.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/yaffs2.done b/oe-core/build/downloads/yaffs2.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/zecke-xgcc-cpp.patch.done b/oe-core/build/downloads/zecke-xgcc-cpp.patch.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/zip30.tgz.done b/oe-core/build/downloads/zip30.tgz.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/zlib-1.2.5.tar.bz2.done b/oe-core/build/downloads/zlib-1.2.5.tar.bz2.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/build/downloads/zzz-wireless.if-pre-up.done b/oe-core/build/downloads/zzz-wireless.if-pre-up.done deleted file mode 100644 index e69de29bb..000000000 diff --git a/oe-core/meta-msm/recipes/cJSON/libcjson_1.0.bb b/oe-core/meta-msm/recipes/cJSON/libcjson_1.0.bb new file mode 100644 index 000000000..f0d3ad033 --- /dev/null +++ b/oe-core/meta-msm/recipes/cJSON/libcjson_1.0.bb @@ -0,0 +1,22 @@ +DESCRIPTION = "cjson lib" + +inherit tp-link-common + +SRC_DIR = "${WORKSPACE}/tp-opensource/cjson" + +HOMEPAGE = "http://sourceforge.net/projects/cjson/" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" + +PR="r58" + +S="${WORKDIR}/cjson" + +FILES_${PN} += "/usr/lib" + +do_install () { + install -d ${D}${includedir}/cjson + install -m 0755 *.h ${D}${includedir}/cjson + install -d ${D}${libdir} + install -m 0755 libcjson.so ${D}${libdir}/ +} diff --git a/oe-core/meta-msm/recipes/compat-wireless/compat-wireless-ath6kl_git.bb b/oe-core/meta-msm/recipes/compat-wireless/compat-wireless-ath6kl_git.bb index 8234aafd3..389732409 100644 --- a/oe-core/meta-msm/recipes/compat-wireless/compat-wireless-ath6kl_git.bb +++ b/oe-core/meta-msm/recipes/compat-wireless/compat-wireless-ath6kl_git.bb @@ -1,6 +1,6 @@ include compat-wireless.inc -PR = "${INC_PR}.7" +PR = "${INC_PR}.4" SRC_URI += "file://ath6kl_ctrl_wlan" diff --git a/oe-core/meta-msm/recipes/compat-wireless/compat-wireless.inc b/oe-core/meta-msm/recipes/compat-wireless/compat-wireless.inc index bd53a3913..7c65c0e0d 100644 --- a/oe-core/meta-msm/recipes/compat-wireless/compat-wireless.inc +++ b/oe-core/meta-msm/recipes/compat-wireless/compat-wireless.inc @@ -15,9 +15,7 @@ SRC_URI = "file://${WORKSPACE}/external/compat-wireless" COMPAT_WIRELESS_VERSION = "3.0" -inherit gitsha -PV = "git-${GITSHA}-${COMPAT_WIRELESS_VERSION}" -SRC_DIR = "${WORKSPACE}/external/compat-wireless" +PV = "${COMPAT_WIRELESS_VERSION}" S = "${WORKDIR}/compat-wireless" diff --git a/oe-core/meta-msm/recipes/compat-wireless/files/ath6kl_ctrl_wlan b/oe-core/meta-msm/recipes/compat-wireless/files/ath6kl_ctrl_wlan index 141006355..a038f11e1 100644 --- a/oe-core/meta-msm/recipes/compat-wireless/files/ath6kl_ctrl_wlan +++ b/oe-core/meta-msm/recipes/compat-wireless/files/ath6kl_ctrl_wlan @@ -52,60 +52,10 @@ HOSTAPD_STA_AP_CONF="/etc/sta_mode_hostapd.conf" retry=0 AR6004_DEVID="0cf3:9374" -# MAC Address -RANDOM_MAC_ADDRESS="00:11:22:33:44:55" -UCI_MAC_ADDRESS="`uci get product.wlan.mac_address`" - -# Enable FW error recovery via debug quirks, default is 0x1FC04. -# Disable ATH6KL_MODULE_ENABLE_USB_AUTO_PM(16). -# for more infomation, please refer to debug.h of ath6kl driver. -ATH6KL_DEBUG_QUIRKS="0x4FC04" - -# if start FTM -ATH6KL_FTM_QUIRKS="0x10" - -# Check existence -if [ ! -n "UCI_MAC_ADDRESS" ]; then - MAC_ADDRESS=$RANDOM_MAC_ADDRESS -else - # Mac address in uci is like: 00-11-22-33-44-55 - # But wlan driver need this: 00:11:22:33:44:55 - # So convert '-' to ':' in MAC address - MAC_ADDRESS="`echo $UCI_MAC_ADDRESS | sed s/-/:/g`" -fi - -# Check if calibration files exist -is_cal_pass () { - # TR961 has no file "calData", just check bdata_self - if [ -e "/misc/bdata_self.bin" ]; then - return 1 - else - return 0 - fi -} - do_ctrl_ar6004_hsic () { case "$1" in start) echo "Starting WLAN... $@" - echo "WLAN: Starting WLAN... $@" >> /dev/kmsg - - # When starts in not FTM mode, and calibration failed, wifi will stop bringing up - ftm_match="`echo $@ | grep "debug_quirks=$ATH6KL_FTM_QUIRKS"`" - - if [ -z "$ftm_match" ]; then - # Check if cal passed - is_cal_pass - if [ $? -ne 1 ]; then - echo "Cannot find cal files at /misc, abort." - echo "WLAN: Cannot find cal files at /misc, abort." >> /dev/kmsg - exit 1 - fi - else - echo "wifi start in FTM mode" - echo "WLAN: wifi start in FTM mode" >> /dev/kmsg - fi - shift start_ap1=0 devmode=1 @@ -119,23 +69,13 @@ do_ctrl_ar6004_hsic () { return 1 fi - # Disable HSIC suspend - ## HSIC host side may go wrong when resuming and - ## cause bam failure. - echo on > /sys/devices/msm_hsic_host/power/control - - # Clear caches to reduce chance of mem allocation failure. - ## Kernel panic may occur when loading ath6kl drivers if - ## dma allocation failure happens previously. - echo "3" > /proc/sys/vm/drop_caches - set -e - insmod $MODULE_BASE/compat/compat.ko - insmod $MODULE_BASE/net/wireless/cfg80211.ko - insmod $MODULE_BASE/drivers/net/wireless/ath/ath6kl/ath6kl_core.ko reg_hint=0 debug_quirks=$ATH6KL_DEBUG_QUIRKS devmode=$devmode enable_ani=1 ath6kl_wifi_mac=$MAC_ADDRESS $@ - insmod $MODULE_BASE/drivers/net/wireless/ath/ath6kl/ath6kl_usb.ko echo hsic 2000 > /sys/bus/platform/devices/usb_bam/inactivity_timer echo msm_hsic_host > /sys/bus/platform/drivers/msm_hsic_host/bind + insmod $MODULE_BASE/compat/compat.ko + insmod $MODULE_BASE/net/wireless/cfg80211.ko + insmod $MODULE_BASE/drivers/net/wireless/ath/ath6kl/ath6kl_core.ko devmode=$devmode $@ + insmod $MODULE_BASE/drivers/net/wireless/ath/ath6kl/ath6kl_usb.ko set +e c=1 @@ -150,11 +90,9 @@ do_ctrl_ar6004_hsic () { if [ $c -gt $RETRY_LIMIT ]; then echo "WLAN bring-up failed!" - echo "WLAN: WLAN bring-up failed!" >> /dev/kmsg lsusb | grep -q $AR6004_DEVID if [ $? -ne 0 -a $retry -lt $ENUM_RETRY_LIMIT ]; then echo "Enumeration failure, try again!" - echo "WLAN: Enumeration failure, try again!" >> /dev/kmsg do_ctrl_ar6004_hsic stop sleep 1 if [ $start_ap1 -eq 1 ]; then @@ -171,32 +109,29 @@ do_ctrl_ar6004_hsic () { if [ $start_ap1 -eq 1 ]; then echo "Adding second AP interface(wlan1)" - echo "WLAN: Adding second AP interface(wlan1)" >> /dev/kmsg iw dev wlan0 interface add wlan1 type __ap ifconfig wlan1 up 2> /dev/null fi echo "Starting CXMAPP..." - echo "WLAN: Starting CXMAPP..." >> /dev/kmsg cxmapp --init cxmapp & ;; start_ftm) - do_ctrl_ar6004_hsic start debug_quirks=$ATH6KL_FTM_QUIRKS + do_ctrl_ar6004_hsic start debug_quirks=0x10 ;; stop) echo "Stopping WLAN..." - echo "WLAN: Stopping WLAN..." >> /dev/kmsg killall -15 cxmapp - echo msm_hsic_host > /sys/bus/platform/drivers/msm_hsic_host/unbind - echo hsic 0 > /sys/bus/platform/devices/usb_bam/inactivity_timer rmmod ath6kl_usb rmmod ath6kl_core rmmod cfg80211 rmmod compat + echo msm_hsic_host > /sys/bus/platform/drivers/msm_hsic_host/unbind + echo hsic 0 > /sys/bus/platform/devices/usb_bam/inactivity_timer ;; restart) @@ -273,7 +208,6 @@ do_ctrl_ar6003 () { stop) echo "Stopping WLAN..." - echo "WLAN: Stopping WLAN..." >> /dev/kmsg killall -15 cxmapp echo 0 > $SDIO_POLLING_PATH diff --git a/oe-core/meta-msm/recipes/hostap-daemon/files/defconfig-ath6kl b/oe-core/meta-msm/recipes/hostap-daemon/files/defconfig-ath6kl index 486ab408c..d6795561b 100644 --- a/oe-core/meta-msm/recipes/hostap-daemon/files/defconfig-ath6kl +++ b/oe-core/meta-msm/recipes/hostap-daemon/files/defconfig-ath6kl @@ -14,6 +14,7 @@ CONFIG_EAP_AKA=y CONFIG_EAP_AKA_PRIME=y CONFIG_WPS=y +CONFIG_WPS2=y CONFIG_WPS_UPNP=y CONFIG_IEEE80211N=y diff --git a/oe-core/meta-msm/recipes/hostap-daemon/hostap-daemon-ath6kl_git.bb b/oe-core/meta-msm/recipes/hostap-daemon/hostap-daemon-ath6kl_git.bb old mode 100755 new mode 100644 index 4e65bccd1..537dcba54 --- a/oe-core/meta-msm/recipes/hostap-daemon/hostap-daemon-ath6kl_git.bb +++ b/oe-core/meta-msm/recipes/hostap-daemon/hostap-daemon-ath6kl_git.bb @@ -1,14 +1,9 @@ include hostap-daemon.inc -PR = "${INC_PR}.4" +PR = "${INC_PR}.2" SRC_URI += "file://defconfig-ath6kl" -inherit gitsha -PV = "git-${GITSHA}" -SRC_DIR = "${WORKSPACE}/external/hostap" - - do_configure() { install -m 0644 ${WORKDIR}/defconfig-ath6kl .config } @@ -18,6 +13,4 @@ do_configure_append() { echo "CFLAGS += -I${WORKSPACE}/wlan/host/include" >> .config echo "CFLAGS += -I${WORKSPACE}/wlan/host/os/linux/include" >> .config echo "CFLAGS += -I${WORKSPACE}/wlan/host/wlan/include" >> .config - echo "${@base_conditional('TP_WIRELESS_ACL_TYPE_BLACK', 'y', 'CONFIG_WIRELESS_ACL_TYPE_BLACK=y', '', d)}" >> .config - echo "${@base_conditional('TP_NEED_WLAN_MODULE_BCM', 'y', 'CONFIG_TP_WLAN_MODULE_BCM=y', '', d)}" >> .config } diff --git a/oe-core/meta-msm/recipes/images/mdm-bootimg.inc b/oe-core/meta-msm/recipes/images/mdm-bootimg.inc index e4931b56c..5f765c285 100755 --- a/oe-core/meta-msm/recipes/images/mdm-bootimg.inc +++ b/oe-core/meta-msm/recipes/images/mdm-bootimg.inc @@ -9,6 +9,7 @@ DEPENDS = " \ gettext-native \ yaffs2-utils-native \ mkbootimg-native \ + kernel-tests \ dtbtool-native \ " diff --git a/oe-core/meta-msm/recipes/images/mdm-bootimg.inc~ b/oe-core/meta-msm/recipes/images/mdm-bootimg.inc~ deleted file mode 100755 index e4931b56c..000000000 --- a/oe-core/meta-msm/recipes/images/mdm-bootimg.inc~ +++ /dev/null @@ -1,49 +0,0 @@ -# Force a few additional dependencies in the mix so that we get the needed -# recipes to build in the right order so we can make the bootimg file and -# our yaffs2 image... -DEPENDS = " \ - virtual/kernel \ - virtual/bootloader \ - pkgconfig-native \ - gtk-doc-native \ - gettext-native \ - yaffs2-utils-native \ - mkbootimg-native \ - dtbtool-native \ -" - -# Image output types -IMAGE_FSTYPES = "tar.gz yaffs2 ${INITRAMFS_FSTYPES}" - -# Make the bootimg image file using the information available in the sysroot... -do_rootfs_append() { - # Make bootimage - ver=`sed -r 's/#define UTS_RELEASE "(.*)"/\1/' ${STAGING_KERNEL_DIR}/include/generated/utsrelease.h` - - # Make Device tree blobs for various hardware configurations - dts_files=`find ${WORKSPACE}/kernel/arch/arm/boot/dts -iname *${MACHINE_DTS_NAME}*.dts | awk -F/ '{print $NF}' | awk -F[.][d] '{print $1}'` - - for d in ${dts_files}; do - ${STAGING_KERNEL_DIR}/scripts/dtc/dtc -p 4096 -O dtb -o ${STAGING_DIR_TARGET}/boot/${d}.dtb ${WORKSPACE}/kernel/arch/arm/boot/dts/${d}.dts - done - - dtb_files=`find ${STAGING_DIR_TARGET}/boot -iname *${MACHINE_DTS_NAME}*.dtb | awk -F/ '{print $NF}' | awk -F[.][d] '{print $1}'` - - # Create separate images with dtb appended to zImage for all targets. - for d in ${dtb_files}; do - targets=`echo ${d#${MACHINE_DTS_NAME}-}` - cat ${STAGING_DIR_TARGET}/boot/zImage-${ver} ${STAGING_DIR_TARGET}/boot/${d}.dtb > ${STAGING_DIR_TARGET}/boot/dtb-zImage-${ver}-${targets} - done - - ${STAGING_BINDIR_NATIVE}/dtbtool ${STAGING_DIR_TARGET}/boot/ -o ${STAGING_DIR_TARGET}/boot/masterDTB -p ${STAGING_KERNEL_DIR}/scripts/dtc/ -v - - # Updated base address according to new memory map. - ${STAGING_BINDIR_NATIVE}/mkbootimg --kernel ${STAGING_DIR_TARGET}/boot/zImage-${ver} \ - --dt ${STAGING_DIR_TARGET}/boot/masterDTB \ - --ramdisk /dev/null \ - --cmdline "noinitrd root=/dev/mtdblock17 rw rootfstype=yaffs2 console=ttyHSL0,115200,n8 androidboot.hardware=qcom ehci-hcd.park=3 g-android.rx_trigger_enabled=1" \ - --base 0x00300000 \ - --tags-addr 0x06800000 \ - --ramdisk_offset 0x0 \ - --output ${DEPLOY_DIR_IMAGE}/${PN}-boot-${MACHINE}.img -} diff --git a/oe-core/meta-msm/recipes/images/mdm9625-image.inc b/oe-core/meta-msm/recipes/images/mdm9625-image.inc index 480aa5273..4d8d204da 100755 --- a/oe-core/meta-msm/recipes/images/mdm9625-image.inc +++ b/oe-core/meta-msm/recipes/images/mdm9625-image.inc @@ -7,7 +7,7 @@ IMAGE_INSTALL += "${ROOTFS_PKGMANAGE_BOOTSTRAP}" IMAGE_INSTALL += "${POKY_EXTRA_INSTALL}" # The MSM Linux minimal boot image files. -#IMAGE_INSTALL += "alsa-intf" +IMAGE_INSTALL += "alsa-intf" IMAGE_INSTALL += "avahi-systemd" IMAGE_INSTALL += "avahi-daemon" IMAGE_INSTALL += "avahi-dnsconfd" @@ -47,9 +47,9 @@ IMAGE_INSTALL += "libavahi-glib" IMAGE_INSTALL += "libstdc++" IMAGE_INSTALL += "libxml2" IMAGE_INSTALL += "lighttpd" -#IMAGE_INSTALL += "loc-api" -#IMAGE_INSTALL += "minidlna" -#IMAGE_INSTALL += "miniupnpd" +IMAGE_INSTALL += "loc-api" +IMAGE_INSTALL += "minidlna" +IMAGE_INSTALL += "miniupnpd" IMAGE_INSTALL += "openssl" IMAGE_INSTALL += "open-source-kernel-tests" IMAGE_INSTALL += "powerapp" @@ -66,13 +66,7 @@ IMAGE_INSTALL += "system-core-libcutils" IMAGE_INSTALL += "tcpdump" IMAGE_INSTALL += "wireless-tools" IMAGE_INSTALL += "wlan" -#IMAGE_INSTALL += "wpa-supplicant-ath6kl" -IMAGE_INSTALL += "samba" -IMAGE_INSTALL += "uci" -IMAGE_INSTALL += "ubus" -IMAGE_INSTALL += "libubox" -IMAGE_INSTALL += "libghttp" -IMAGE_INSTALL += "tp-domain" +IMAGE_INSTALL += "wpa-supplicant-ath6kl" IMAGE_PREPROCESS_COMMAND += "mkdir -p ${IMAGE_ROOTFS}/cache;" IMAGE_PREPROCESS_COMMAND += "echo ro.build.version.release=`cat ${IMAGE_ROOTFS}/etc/version ` >> ${IMAGE_ROOTFS}/build.prop;" diff --git a/oe-core/meta-msm/recipes/images/mdm9625-image.inc~ b/oe-core/meta-msm/recipes/images/mdm9625-image.inc~ deleted file mode 100755 index 480aa5273..000000000 --- a/oe-core/meta-msm/recipes/images/mdm9625-image.inc~ +++ /dev/null @@ -1,78 +0,0 @@ -# The mkbootimg production process. -require mdm-bootimg.inc - -# The OE-Core minimal boot image files. -IMAGE_INSTALL += "task-core-boot" -IMAGE_INSTALL += "${ROOTFS_PKGMANAGE_BOOTSTRAP}" -IMAGE_INSTALL += "${POKY_EXTRA_INSTALL}" - -# The MSM Linux minimal boot image files. -#IMAGE_INSTALL += "alsa-intf" -IMAGE_INSTALL += "avahi-systemd" -IMAGE_INSTALL += "avahi-daemon" -IMAGE_INSTALL += "avahi-dnsconfd" -IMAGE_INSTALL += "avahi-autoipd" -IMAGE_INSTALL += "avahi-utils" -IMAGE_INSTALL += "pimd" -IMAGE_INSTALL += "base-files" -IMAGE_INSTALL += "base-passwd" -#IMAGE_INSTALL += "bridge-utils" -IMAGE_INSTALL += "compat-wireless-ath6kl" -IMAGE_INSTALL += "conntrack-tools" -IMAGE_INSTALL += "data-ipa-cfg-mgr" -IMAGE_INSTALL += "dhcpcd" -IMAGE_INSTALL += "dnsmasq" -IMAGE_INSTALL += "dropbear" -IMAGE_INSTALL += "ebtables" -DEPENDS += "gdb-cross" -IMAGE_INSTALL += "gdbserver" -IMAGE_INSTALL += "glib-2.0" -IMAGE_INSTALL += "hostap-daemon-ath6kl" -# FIXME - This has a conflict with the task-core-boot. You'll probably want to specify -# bbappend-s to things there or come up with a new task set that involves this recipe's -# work. -#IMAGE_INSTALL += "initscripts-msm" -IMAGE_INSTALL += "init-audio" -IMAGE_INSTALL += "iproute2" -IMAGE_INSTALL += "iptables" -IMAGE_INSTALL += "iw" -IMAGE_INSTALL += "jquery" -IMAGE_INSTALL += "jquery-ui" -IMAGE_INSTALL += "kernel-modules" -IMAGE_INSTALL += "libnl" -IMAGE_INSTALL += "libavahi-common" -IMAGE_INSTALL += "libavahi-core" -IMAGE_INSTALL += "libavahi-client" -IMAGE_INSTALL += "libavahi-glib" -IMAGE_INSTALL += "libstdc++" -IMAGE_INSTALL += "libxml2" -IMAGE_INSTALL += "lighttpd" -#IMAGE_INSTALL += "loc-api" -#IMAGE_INSTALL += "minidlna" -#IMAGE_INSTALL += "miniupnpd" -IMAGE_INSTALL += "openssl" -IMAGE_INSTALL += "open-source-kernel-tests" -IMAGE_INSTALL += "powerapp" -IMAGE_INSTALL += "powerapp-powerconfig" -IMAGE_INSTALL += "powerapp-reboot" -IMAGE_INSTALL += "powerapp-shutdown" -IMAGE_INSTALL += "qrngd" -IMAGE_INSTALL += "reboot-daemon" -IMAGE_INSTALL += "rtsp-alg" -IMAGE_INSTALL += "system-core-adbd" -IMAGE_INSTALL += "system-core-usb" -IMAGE_INSTALL += "system-core-liblog" -IMAGE_INSTALL += "system-core-libcutils" -IMAGE_INSTALL += "tcpdump" -IMAGE_INSTALL += "wireless-tools" -IMAGE_INSTALL += "wlan" -#IMAGE_INSTALL += "wpa-supplicant-ath6kl" -IMAGE_INSTALL += "samba" -IMAGE_INSTALL += "uci" -IMAGE_INSTALL += "ubus" -IMAGE_INSTALL += "libubox" -IMAGE_INSTALL += "libghttp" -IMAGE_INSTALL += "tp-domain" -IMAGE_PREPROCESS_COMMAND += "mkdir -p ${IMAGE_ROOTFS}/cache;" -IMAGE_PREPROCESS_COMMAND += "echo ro.build.version.release=`cat ${IMAGE_ROOTFS}/etc/version ` >> ${IMAGE_ROOTFS}/build.prop;" - diff --git a/oe-core/meta-msm/recipes/samba/samba_3.6.22.bb b/oe-core/meta-msm/recipes/samba/samba_3.6.22.bb index c79a0d3f7..fe17b6739 100755 --- a/oe-core/meta-msm/recipes/samba/samba_3.6.22.bb +++ b/oe-core/meta-msm/recipes/samba/samba_3.6.22.bb @@ -41,7 +41,7 @@ EXTRA_OECONF = " \ # This list indicate with which size of DDR the smbd needs to be moved to system partition SMALL_MEMORY_LIST = "1G" -#PRODUCT_MEMORY = "${@base_contains("SMALL_MEMORY_LIST", "${DDR_SIZE}", "_SMALL_MEMORY", "", d)}" +PRODUCT_MEMORY = "${@base_contains("SMALL_MEMORY_LIST", "${DDR_SIZE}", "_SMALL_MEMORY", "", d)}" do_configure () { install -m 0755 ${WORKDIR}/armsel-linux.cache ${S}/armsel-linux.cache diff --git a/oe-core/meta-msm/recipes/tp-domain/files/Makefile b/oe-core/meta-msm/recipes/tp-domain/files/Makefile deleted file mode 100644 index 8e8493cd3..000000000 --- a/oe-core/meta-msm/recipes/tp-domain/files/Makefile +++ /dev/null @@ -1,16 +0,0 @@ -# If KERNELRELEASE is defined, we've been invoked from the -# kernel build system and can use its language. - -obj-m += tp_domain.o - -PWD := $(shell pwd) - -all: - $(MAKE) -C $(KERNEL_SRC) M=$(PWD) modules - -modules_install: - $(MAKE) -C $(KERNEL_SRC) M=$(PWD) modules_install - -.PHONY:clean -clean: - $(MAKE) -C $(KERNEL_SRC) M=$(PWD) clean diff --git a/oe-core/meta-msm/recipes/tp-domain/files/tp_domain.c b/oe-core/meta-msm/recipes/tp-domain/files/tp_domain.c deleted file mode 100644 index d4b10bce3..000000000 --- a/oe-core/meta-msm/recipes/tp-domain/files/tp_domain.c +++ /dev/null @@ -1,587 +0,0 @@ -/****************************************************************************** -* -* Copyright (c) 2010 TP-LINK Technologies CO.,LTD. -* All rights reserved. -* -* FILE NAME : tp_domain.c -* VERSION : 1.0 -* DESCRIPTION : tp domain kernel module -* -* AUTHOR : huangwenzhong -* CREATE DATE: 12/02/2010 -* -* HISTORY : -* 01 12/02/2010 huangwenzhong Create. -* 02 18/03/2014 houjihai Modify for 3.4.0 kernel. -* -******************************************************************************/ - -#include -#include -#include -#include -#include -#include -#include -#include "tp_domain.h" -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#define MAX_LAN_DOMAIN_LEN 64 - -#ifdef NEED_WLAN_PACKAGE_BCM -#define BR_NAME "br0" -#else -#define BR_NAME "bridge0" -#endif - -static __u32 lan_ip = 0xc0a80101; -static char *lan_domain = "tplinklogin.net"; - -module_param(lan_ip, uint, 0); -module_param(lan_domain, charp, 0); - -static char query[MAX_LAN_DOMAIN_LEN]; -static char query_www[MAX_LAN_DOMAIN_LEN]; - -/* marco to compute length of query */ -#define DNS_QUERY_LEN(q) (q == NULL ? 0 : (strlen(q) + 1)) -#define DNS_DATA_LEN(q) (DNS_QUERY_LEN(q) + 4 + 16) - -struct proc_dir_entry *tp_domain_config_entry = NULL; -EXPORT_SYMBOL(tp_domain_config_entry); - -int g_rootap_status = 1; /* 1 connect rootap; 0 disconnection rootap */ -static struct proc_dir_entry * rootap_status_entry = NULL; - -static int rootap_status_entry_read (char *page, char **start, off_t off, - int count, int *eof, void *data) -{ - return sprintf (page, "%d\n", g_rootap_status); -} - -static int rootap_status_entry_write (struct file *file, const char *buf, - unsigned long count, void *data) -{ - u_int32_t val; - - if (sscanf(buf, "%d", &val) != 1) - return -EINVAL; - - if ((val < 0) || (val > 1)) - { - return -EINVAL; - } - - g_rootap_status = val; - - return count; -} - -static int create_tp_domain_config_proc(void) -{ - if (tp_domain_config_entry != NULL) - { - printk ("Already have a proc entry for /proc/tp_domain_config!\n"); - return -ENOENT; - } - - tp_domain_config_entry = proc_mkdir("tp_domain_config", NULL); - if (!tp_domain_config_entry ) - { - return -ENOENT; - } - - rootap_status_entry = create_proc_entry("rootap_status", 0666, tp_domain_config_entry); - if (!rootap_status_entry ) - { - return -ENOENT; - } - - rootap_status_entry ->read_proc = rootap_status_entry_read; - rootap_status_entry ->write_proc = rootap_status_entry_write; - - return 0; -} - -static int remove_tp_domain_config_proc(void) -{ - if (!tp_domain_config_entry || !rootap_status_entry) - { - return -ENOENT; - } - - remove_proc_entry("rootap_status", tp_domain_config_entry); - remove_proc_entry("tp_domain_config", NULL); - rootap_status_entry = NULL; - tp_domain_config_entry = NULL; - - return 0; -} - -static void create_domain_query(char *dn_query, char *lan_dn) -{ - char *pstr = NULL; - char *tmp = dn_query; - - if (!dn_query || !lan_dn) - { - return; - } - - strncpy(dn_query + 1, lan_dn, MAX_LAN_DOMAIN_LEN - 1); - - pstr = strchr(tmp + 1, '.'); - while (pstr) { - *tmp = pstr - tmp - 1; - tmp = pstr; - pstr = strchr(tmp + 1, '.'); - } - - *tmp = strlen(dn_query) - (tmp - dn_query) - 1; -} - -/** - * by dyf, on 19Apr2013, parse domain string to packet matching buf @query. - */ -static void parse_domain(void) -{ - unsigned char dn_tmp[MAX_LAN_DOMAIN_LEN] = {0}; - - create_domain_query(query, lan_domain); - - strcpy(dn_tmp, "www."); - strncat(dn_tmp + strlen(dn_tmp), lan_domain, MAX_LAN_DOMAIN_LEN - strlen(dn_tmp)); - create_domain_query(query_www, dn_tmp); -} - -/****************************************************************************** -* FUNCTION : tp_send_dns_packet() -* AUTHOR : huangwenzhong -* DESCRIPTION : construct and send DNS packet -* INPUT : skb - DNS request -* old_iphdr - DNS request Packet IP header -* old_udphdr - DNS request Packet UDP header -* old_dnshdr - DNS request Packet DNSP header -* -* OUTPUT : N/A -* RETURN : N/A -* OTHERS : -******************************************************************************/ -static void tp_send_dns_packet(struct sk_buff *skb , - struct iphdr *old_iphdr, - struct udphdr *old_udphdr, - DNS_HEADER *old_dnshdr, - unsigned char * skb_payload -) -{ - struct sk_buff *dns_skb; - - int skb_len; - int data_len; - int dns_query_len = 0; - - struct iphdr *new_iphdr; /* DNS Reply Packet IP header */ - -#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,31)) - struct net_device* br0_dev; -#endif - - struct udphdr *new_udphdr; - DNS_HEADER *new_dnshdr; - unsigned char *dns_payload; - unsigned char *tmp; - struct in_device * in_dev = NULL; - - __u16 short_val; - __u32 int_val; - - struct rtable *rt; - - struct flowi4 fl = { - .daddr = old_iphdr->saddr, - }; - -#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 31)) - br0_dev = dev_get_by_name(&init_net, BR_NAME); - rt = ip_route_output_key(dev_net(br0_dev), &fl); - in_dev = (struct in_device *)br0_dev->ip_ptr; - dev_put(br0_dev); -#else - ret = ip_route_output_key(&rt, &fl); -#endif - if (IS_ERR(rt)) - { - printk("ip_route_output_key() failed in file create_tp_dns_skb.c\r\n"); - return; - } - - if (g_rootap_status == 1) - { - data_len = DNS_DATA_LEN(skb_payload); - } - else - { - //printk("dns_query_len = %d\n", skb->tail - skb_payload); - dns_query_len = skb->tail - skb_payload; - data_len = dns_query_len + 16; - } - - skb_len = ETH_HEADER_LEN + old_iphdr->ihl * 4 + - UDP_HEADER_LEN + DNS_HEADER_LEN + data_len; - - dns_skb = alloc_skb(skb_len, GFP_ATOMIC); - if (!dns_skb) - { - return; - } - nf_reset(dns_skb); - -#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 31)) - dns_skb->mark = 0; -#else - dns_skb->nfmark = 0; -#endif - - nf_ct_attach(dns_skb, skb); /* needed by NAT */ - dns_skb->pkt_type = PACKET_OTHERHOST; - dns_skb->protocol = htons(ETH_P_IP); - dns_skb->ip_summed = CHECKSUM_NONE; - dns_skb->priority = 0; - -#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 31)) - skb_dst_set(dns_skb, &rt->dst); -#else - dns_skb->dst = &rt->u.dst; -#endif - - skb_reserve(dns_skb, ETH_HEADER_LEN); - - /* create IP header */ - new_iphdr = (struct iphdr *)skb_put(dns_skb, sizeof(struct iphdr)); - -#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,31)) - /* we must specify the network header to avoid kernel panic. - when ip_nat hook was called, it use iphr(skb)to get network header. - by HouXB, 12May11 */ - //skb_set_network_header(dns_skb, ETH_HEADER_LEN); - dns_skb->network_header = (sk_buff_data_t)new_iphdr; -#else - dns_skb->nh.iph = new_iphdr; -#endif - - memcpy((unsigned char *)new_iphdr, (unsigned char *)old_iphdr, old_iphdr->ihl *4); - - new_iphdr->ttl = IP_PACKET_TTL; - new_iphdr->frag_off |= htons(0x4000); - - memcpy((unsigned char *)&new_iphdr->saddr, - (unsigned char *)&old_iphdr->daddr, IP_ADDR_LEN); - memcpy((unsigned char *)&new_iphdr->daddr, - (unsigned char *)&old_iphdr->saddr, IP_ADDR_LEN); - - ip_select_ident(new_iphdr, &rt->dst, NULL);/* always 0 */ - - new_iphdr->tot_len = new_iphdr->ihl * 4 + UDP_HEADER_LEN - + DNS_HEADER_LEN + data_len; - new_iphdr->tot_len = htons(new_iphdr->tot_len); - new_iphdr->check = 0x0000; - new_iphdr->check = ip_fast_csum((unsigned char *)new_iphdr, new_iphdr->ihl); - - /* create udp header */ - new_udphdr = (struct udphdr *)skb_put(dns_skb, sizeof(struct udphdr)); - memcpy((unsigned char *)&new_udphdr->dest, - (unsigned char *)&old_udphdr->source, PORT_LEN); - memcpy((unsigned char *)&new_udphdr->source, - (unsigned char *)&old_udphdr->dest, PORT_LEN); - new_udphdr->len = htons(UDP_HEADER_LEN + DNS_HEADER_LEN + data_len); - new_udphdr->check = 0x0000; - - /* create dns header */ - new_dnshdr = (DNS_HEADER *)skb_put(dns_skb, sizeof(DNS_HEADER)); - memcpy((unsigned char *)&new_dnshdr->transaction_id, - (unsigned char *)&old_dnshdr->transaction_id, sizeof(__u16)); - memcpy((unsigned char *)&new_dnshdr->flag, - (unsigned char *)&old_dnshdr->flag, sizeof(__u16)); - new_dnshdr->flag |= htons(DNS_RESPONSE_FLAG); - memcpy((unsigned char *)&new_dnshdr->questions, - (unsigned char *)&old_dnshdr->questions, sizeof(__u16)); - new_dnshdr->answers_rrs = htons(0x0001); - new_dnshdr->authority_rrs = 0x0000; - new_dnshdr->additional_rrs = 0x0000; - - /* create dns questions */ - dns_payload = (unsigned char *)skb_put(dns_skb, data_len); - tmp = dns_payload; - - if (g_rootap_status == 1 ) - { - memcpy(tmp, skb_payload, strlen(skb_payload) + 1); - tmp = tmp + strlen(skb_payload); - *tmp = 0x00; - tmp++; - - short_val = htons(DNS_QUERY_TYPE); - memcpy(tmp, &short_val, sizeof(short_val)); - - tmp += sizeof(short_val); - - short_val = htons(DNS_QUERY_CLASS); - memcpy(tmp, &short_val, sizeof(short_val)); - } - else - { - memcpy( tmp, skb_payload, dns_query_len-2 ); - - tmp += skb->tail - skb_payload -2; - } - - /* create dns answer */ - tmp += sizeof(short_val); - short_val = htons(DNS_RESPONSE_POINTER); - memcpy(tmp, &short_val, sizeof(short_val)); - - tmp += sizeof(short_val); - short_val = htons(DNS_QUERY_TYPE); - memcpy(tmp, &short_val, sizeof(short_val)); - - tmp += sizeof(short_val); - short_val = htons(DNS_QUERY_CLASS); - memcpy(tmp, &short_val, sizeof(short_val)); - - tmp += sizeof(short_val); - int_val = htonl(DNS_ANSWER_TTL); - memcpy(tmp, &int_val, sizeof(int_val)); - - tmp += sizeof(int_val); - short_val = htons(DNS_RESOURCE_LEN); - memcpy(tmp, &short_val, sizeof(short_val)); - - tmp += sizeof(short_val); - lan_ip = in_dev->ifa_list->ifa_address; - int_val = lan_ip ; - memcpy(tmp, &int_val, sizeof(int_val)); - - dst_output(dns_skb); - return; -} - - -/****************************************************************************** -* FUNCTION : tp_dns_handler() -* AUTHOR : huangwenzhong -* DESCRIPTION : register to FORWARD, - intercept ${lan_domain} DNS request and send Reply packets -* INPUT : N/A -* OUTPUT : N/A -* RETURN : N/A -* OTHERS : -******************************************************************************/ -#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 31)) -static unsigned int tp_dns_handler(unsigned int hooknum, - struct sk_buff *skb, - const struct net_device *in, - const struct net_device *out, - int (*okfn)(struct sk_buff *)) -{ - struct sk_buff *pskb = skb; - struct iphdr *iph = ip_hdr(pskb); -#else -static unsigned int tp_dns_handler(unsigned int hooknum, - struct sk_buff **skb, - const struct net_device *in, - const struct net_device *out, - int (*okfn)(struct sk_buff *)) -{ - struct sk_buff *pskb = *skb; - struct iphdr *iph; -#endif - - struct udphdr *udp_hdr; - DNS_HEADER *dns_hdr; - unsigned char * dns_payload; - unsigned char * tmp; - unsigned int dns_query_len; - - __u16 dport; - __u16 query_type; - - int ret; - - if (ETH_P_IP != htons(pskb->protocol)) /* not IP packets */ - { - return NF_ACCEPT; - } - -#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 31)) - /* nothing */ -#else - iph = pskb->nh.iph; -#endif - - if ( NULL == iph || 4 != iph->version)/* not IPv4 packets */ - { - return NF_ACCEPT; - } - - if (IPPROTO_UDP != iph->protocol) /* not UDP packets */ - { - return NF_ACCEPT; - } - - udp_hdr = (struct udphdr *)((unsigned char *)iph + iph->ihl * 4); - if ( NULL == udp_hdr ) - { - return NF_ACCEPT; - } - - dport = udp_hdr->dest; - dport = ntohs(dport); - if (DOMAIN_PORT != dport) /* not dns request packet */ - { - return NF_ACCEPT; - } - dns_hdr = (DNS_HEADER *)((unsigned char *)udp_hdr + UDP_HEADER_LEN); - if ( NULL == dns_hdr) - { - return NF_ACCEPT; - } - if ((ntohs(dns_hdr->flag) & DNS_RESPONSE_PACKET)) /* not dns request? */ - { - return NF_ACCEPT; - } - - dns_payload = (unsigned char *)((unsigned char *)dns_hdr + DNS_HEADER_LEN); - if ( NULL == dns_payload ) - { - return NF_ACCEPT; - } - - if (g_rootap_status == 1) - { - dns_query_len = DNS_QUERY_LEN(query); - ret = memcmp(dns_payload, query, dns_query_len); - - if ( 0 == ret ) - { - tmp = dns_payload + dns_query_len; - } - else - { - /* TODO: match www.[tp-domain-name] */ - dns_query_len = DNS_QUERY_LEN(query_www); - ret = memcmp(dns_payload, query_www, dns_query_len); - if (0 == ret) - { - tmp = dns_payload + dns_query_len; - } - else - { - return NF_ACCEPT; - } - } - - memcpy(&query_type, tmp, sizeof(query_type)); - query_type = ntohs(query_type); - - if (DNS_QUERY_TYPE != query_type && DNS_QUERY_TYPE_AAAA != query_type) /* is query type not A? */ - { - return NF_ACCEPT; - } - - tp_send_dns_packet( pskb, iph, udp_hdr, dns_hdr, dns_payload); - - return NF_DROP; - } - else - { - dns_payload = ( unsigned char * )( ( unsigned char * )dns_hdr + DNS_HEADER_LEN ); - tp_send_dns_packet( skb, iph, udp_hdr, dns_hdr, dns_payload); - return NF_DROP; - } - -} - -static struct nf_hook_ops tp_dns_forward_hook_ops = { - .hook = tp_dns_handler, - .owner = THIS_MODULE, - .pf = PF_BRIDGE, - .hooknum = NF_BR_FORWARD, - .priority = NF_BR_PRI_FIRST, -}; - -static struct nf_hook_ops tp_dns_localin_hook_ops = { - .hook = tp_dns_handler, - .owner = THIS_MODULE, - .pf = PF_BRIDGE, - .hooknum = NF_BR_LOCAL_IN, - .priority = NF_BR_PRI_FIRST, -}; - -static int __init dns_init(void) -{ - int ret; - - create_tp_domain_config_proc(); - - /* parse domain string at module init */ - parse_domain(); - - ret = nf_register_hook( &tp_dns_forward_hook_ops ); - if (ret < 0) - { - return ret; - } - - ret = nf_register_hook( &tp_dns_localin_hook_ops ); - if ( ret < 0 ) - { - return ret; - } - return 0; -} - -static void __exit dns_exit(void) -{ - nf_unregister_hook( &tp_dns_forward_hook_ops ); - nf_unregister_hook( &tp_dns_localin_hook_ops ); - remove_tp_domain_config_proc(); -} - -module_init(dns_init); -module_exit(dns_exit); -MODULE_LICENSE("GPL"); -MODULE_AUTHOR("Huang Wenzhong "); -MODULE_DESCRIPTION("The domain name tplinklogin.net for web page manage."); -/* by HouXB, 12May11 */ -MODULE_ALIAS("tp_domain"); - diff --git a/oe-core/meta-msm/recipes/tp-domain/files/tp_domain.h b/oe-core/meta-msm/recipes/tp-domain/files/tp_domain.h deleted file mode 100644 index c94c0178f..000000000 --- a/oe-core/meta-msm/recipes/tp-domain/files/tp_domain.h +++ /dev/null @@ -1,53 +0,0 @@ -/****************************************************************************** - * - * Copyright (c) 2009 TP-LINK Technologies CO.,LTD. - * All rights reserved. - * - * FILE NAME : tp_domain.h - * VERSION : 1.0 - * DESCRIPTION: tp domain kernel module - * - * AUTHOR : huangwenzhong - * CREATE DATE: 11/30/2010 - * - * HISTORY : - * 01 11/30/2010 huangwenzhong Create. - * - ******************************************************************************/ -#ifndef _TP_DOMAIN_H -#define _TP_DOMAIN_H - -#define DOMAIN_PORT 53 - -#define ETH_HEADER_LEN (2 + 14) -#define IP_PACKET_TTL 128 -//#define DNS_ANSWER_TTL ( 2 * 24 * 60 *60 ) -#define DNS_ANSWER_TTL 0 - -#define IP_ADDR_LEN sizeof(__u32) -#define PORT_LEN sizeof(__u16) -#define UDP_HEADER_LEN sizeof(struct udphdr) -#define DNS_HEADER_LEN sizeof(DNS_HEADER) - -#define DNS_RESPONSE_PACKET (0x8000) /* response packet flag */ -#define DNS_QUERY_TYPE (0x0001) /* query type,type A */ -#define DNS_QUERY_TYPE_AAAA ( 0x001c ) /* query type,type AAAA */ -#define DNS_QUERY_CLASS (0x0001) /* query class,clase internet */ -#define DNS_RESPONSE_FLAG (0x8080) /* response flag value */ -#define DNS_RESPONSE_POINTER (0xc00c) /* response field pointer */ -#define DNS_RESOURCE_LEN (0x0004) /* response field IP length */ -/* DNS报文头部结构.added by huangwenzhong. 11/30/2010. */ - -typedef struct -{ - __u16 transaction_id; - __u16 flag; - __u16 questions; - __u16 answers_rrs; - __u16 authority_rrs; - __u16 additional_rrs; -}__attribute__ ((__packed__))DNS_HEADER; - - -#endif - diff --git a/oe-core/meta-msm/recipes/tp-domain/tp-domain.bb b/oe-core/meta-msm/recipes/tp-domain/tp-domain.bb deleted file mode 100644 index d45b9f8c4..000000000 --- a/oe-core/meta-msm/recipes/tp-domain/tp-domain.bb +++ /dev/null @@ -1,17 +0,0 @@ -DESCRIPTION = "tplink domain kernel module." - -LICENSE = "CLOSED" -inherit module - -PR = r1 - -# Broadcom chip support -EXTRA_OEMAKE += "${@base_conditional('TP_NEED_WLAN_MODULE_BCM', 'y', 'CFLAGS+=-DNEED_WLAN_PACKAGE_BCM', ' ', d)}" - -SRC_URI = "file://Makefile \ - file://tp_domain.c \ - file://tp_domain.h \ - " - -S = "${WORKDIR}" - diff --git a/oe-core/meta-msm/recipes/tp-domain/tp-domain.bb~ b/oe-core/meta-msm/recipes/tp-domain/tp-domain.bb~ deleted file mode 100644 index d45b9f8c4..000000000 --- a/oe-core/meta-msm/recipes/tp-domain/tp-domain.bb~ +++ /dev/null @@ -1,17 +0,0 @@ -DESCRIPTION = "tplink domain kernel module." - -LICENSE = "CLOSED" -inherit module - -PR = r1 - -# Broadcom chip support -EXTRA_OEMAKE += "${@base_conditional('TP_NEED_WLAN_MODULE_BCM', 'y', 'CFLAGS+=-DNEED_WLAN_PACKAGE_BCM', ' ', d)}" - -SRC_URI = "file://Makefile \ - file://tp_domain.c \ - file://tp_domain.h \ - " - -S = "${WORKDIR}" - diff --git a/oe-core/meta/lib/oe/__init__.pyc b/oe-core/meta/lib/oe/__init__.pyc deleted file mode 100644 index 739db711a9b3d61e1b2f90242c6b21c8af7a7125..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 150 zcmZSn%*$o8jPw%=3X0~7^HX(`^NUjTb5lza^>Z?lfCBpQ@tJvKxsQ>@~ diff --git a/oe-core/meta/lib/oe/data.pyc b/oe-core/meta/lib/oe/data.pyc deleted file mode 100644 index 6c122d1aef1b1d972f6a7b8162ee76a3b09110fe..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1221 zcmbu7!EVz)5Qb;%G;PzAAOyW3`BIcai9;)dRH_Pz!i^l#Qcwk|9D9>Gacr}@DUH+~ zP!Vw9rMU1mTsUxqf5udZbFJ)VcXsxlnQzDcx!TzN@#|$we?JfZPcZB{rUXAl8PSot zT6=WlQ{vG_7;AjG-}d2|{>Imf`St=v9fQsGJEkv0W1@4>y7cJ66N_TYrJ@U;&Y@VR z$ugNfIiEfg4H3_yPq^jNxJH*mdvLA1^E#!(*XA4K7HC|j@uDa$v7%ch#3<*KK-c5@ zUp?A?mG4l^HOQ^d(4$F%%r{aOHBzog<5e2ppajJ%h(L?Z5mB+@8l+UN=rz*YZ!dB| zA22;Fa_h`2c0m-JM%hdU!@>maL^HGpG8w|5( zWE%lKR|JW6+Dy}2i-Mb%I*9TlC?gX=L>st6J-&*W7J0|jkOh0j3JV6!(6=yb7ZWhN zy+?0=8hF7#k;4-x8e=W+Q5LE@RPO+uP#LTA;;_*7I$`>cqXt1Ps<6e+wEZ8_S!f3gk4A49Y*FkC%E$8 z*2=|Rk?X3&GfV_wT}3rHVzhx^}Ak TBsjhFVk8kL+X(OH>InK_;JcZ}~1@#PKFRD5`!wjBGrJBctss`ag5aKP=0ltToEjYba(K zm4-x~3cDS&RmVqVIo#{z(NOn#c1AkGBH7N+b*nI>q-AcQwK^zeZpP(Q1}%VgNsKjFr(|NNM;+!*{nlOGQ*-clUA| z?S75$-@!U3JU~Iciv8JW@HpHpCU#iZxr1WPquTe>J`RY6FAYywSh>MAtn6X8t|)Z9 z)5K~~KqW4eZn>S_jYaHAQ)!-BsD?9^j~Jcx!znbv7ODf4O+s5oupro6by7ENRA*~eh5FuBEZBz#@m)0aSNDI+b3>z)4J!Oxf@p1k*%F?6)UW^g> zqZZas%zuM6%0Dh*2R>Az&4MWeaIb)j2NtzdAQNPX2AoM~gOCCr=wcFTpo&kSh#Cl_ z8b&;Vh|ibSFsjjW4x_2lRuB)OGK#G(4WU#WKp-U^D^y`@XiInSp~39Qj^-(QSxa#TC>_~ zD9zl)0>_JiEwv6FyPblaK^hN&ILd=4j`hfXW7vqPGcpK^*!pj1JXGq5udEpT89?a( z>yZ_o`sztT?fzMT|MnXk`QX7H)P0OL)srdG-qw`bpW;OMN44K%OncN+<^FgIk72N( z&Yb0veRA&>LUB_lH^(dG@zeM@js5bsBaPz~WJ1gzl=r$?B8Z5s?{UkRZK{zF9=2yq5Q-ch;Nt&U?qb1^mu?3;ru{ zr;1KV5%+o_dG0_sX-$H6DdG1}D(*nS!|-!Aqc!rcrG+J|c`Yr#&)}*X;#+J?G529) zGru|5Hi&9&7S8C14U?c>7DLQARV@XZdjV1x9b0CdMXrOQALu9^%mny@&Dp;f2F1vx zMQ*N;^6fweJJFu}ZW~<&W~Ae^pK2o%Lz-c^LxIkts-q#e20qvO54jid8V`!X=w5|! z2dHr;q&8oTl@~E~V7N)xjKpyb<#5t9K3aV|GPk1_dX1RAQe$p#k!z=wq{h_RHT=G9FCW9RZ@^ zUMxEzCwysI!ULF{yG+Zpdz25g89Goin7A#4t`QihsC-V|0^&YI*<`+T$9beA#Jb$r zD33K#cBP6@_$GzsG1gLhuM97s6%qg;b1zY8ru&Y#%JkvDivES^^e!AOv2$4WQ0KZ# zoW6-DlgEuT4ayCL`?WT`H}&&Oyu{J@;R$=-rMMeZRq z@Td7X)r8$1&8YIW@{mt>%qD<1Bow}4VE5E#1WL2Iff>fL^Bj%mzIrZKJ!I{_SLy{ukSE9o z5_F;PuRLY0GYxy_sTYz+edQ~&#?0@9&%BEE8yf^Z3XZCFXmUe(DtuScvT~2tW@KQv zS$1JZWNvKXrzVJjd1<4hz;Iqzw?r1yd#}vMUZG&a033FEl<8nlWC3dxz$HngkZD=4QL{1;Qn`qzG<#om;+z3RZn^Qau5&;~8|Z zov%LezJ%dkNqUc9b@drZE}+7+D^~^kRnBB-BEe#b8gBbw3I05 ze?Lw59(Hl}Xeu`RA-mM~!Hs(2(r;kk?Y-@>lVpI|xk`QpsVxei9I;>Qd7iL*y6e zx@+I`8_oHdmN(0+1!>e7Tmxr(`Pd$wrxcPu(gLLxt_aaok`#84XC_gZ$meJGQI7uM zuEr$ExEPMoOot~q%IsedwT=wFy2iQN$pub}GVikWQ&dhBXiN-h?n8q6N`H&TF=tS< ZkTJ|6bzE#Lwil;y<@L`VUp&)p{~Kc5R_Fi# diff --git a/oe-core/meta/lib/oe/maketype.pyc b/oe-core/meta/lib/oe/maketype.pyc deleted file mode 100644 index accc3e88daa3baab6e1278eaa6f5437ccd4288b5..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 3829 zcmb_e&u<)A5w7kTPdsBg@j9$U*j4h_C3p^I9D)#16!9w#Xti1g^(+{yUG?@%zp>ly z=^pocV`q>pA+i?^oH_7UaE5<^zXOR22afQ4)idKPTy49{^zY08%(Z$y4` z)RJ_Ci=#V|wv<_w^o}xZNmrHWNZM9rOLI{q7n~`v=IYi7j4^2R2P@YA%v0 zO9r_$em2R9W8Ck65T#i&FH98#c zTif9$lInOmwuN_Z3+y;EN`}6yW@c1YxUo;N-1R!yfADkQY5FIb<28SVt1TlQVE?Cd zivh6+6v79p@nzf^j6RvBME!1ql6{b$m`PIkY&gx6+8~oTQ`z%rR>2lunx!2}3wF(5 z>di^wOi_B6Zi|k=&!j3ZGK8Twq;ftXo)>uBhagvhT#3YBLS+K+p`13zBi;e-+V9ea zgKiVllhF0b&~Ltt9R~7cRUxRWSjBNxWIm478WnUlA4Sv>@!MTIHE}-zw|7#G?Oy)+ z^68WBKH2-^2jBbtlZ&T&$zg{#w``o%c~jc zk!S^nZr2un2P)$j0FC2qu#UHrpvy1KUCVTcW8c9}9FNO%nsZs7OUq##t3M+8;^uD3 z-HNlJR_@|aXSc#u&|Xi%8hz6I%zii_n-g~T&t*Z;^L)PW)(56Z$uM4#gS zw9E>B53A$?MT504<~^Lo^kX~I+)+^J4l0_yzX{-N#7;pncgq9Z#chH}xE{2E?Vu5? z2OHpqL>$3GBRoh^M>h*{!*k`2$5CnAqeBt_OzNs42dUfRZ@LlPP{H6>`IrOPysy^5&03_ z2FQxwLiLfsX?=th=ayr}3k=l-1YsSr21B-qfZYq;4YxwgKNbMWYX1Ed3`3?R91OGY zA(x2PwJ_`6uJNBWi^dbfz?TFsp&hs0kk5N zr*)*!IrxWMGm!*UrYy zJjyEPm;L$wu`q-%(`y$soTUH(*VyxHo;km3&>k->G~$1vTU2s+k_}H5+HSi4Nphj1 zNixm7s!2hjO-b70nJo@E7L=(SECqj6Qox+ZLLOco54eeG?LDw3S_ zT~%_Q=c$ATR1s={@~hZ9v$M;xO6#(Lk%{-J7sMa!TR<4YO_JX-6xm~8O1$uK%zHh> zru#aGG`E8F@I4^26?}kFvKh9)J**1~y+qSr;BgLQSx`O$>=b#Z9_Y`H06>CepA;1# z1m0pTJ3uVffD3mTQf#ulH0#&(Rt;956LrRwT1+6iLTmx9^DglXeEb)c#c+k1@|A&Z z>TDfY^*`I}LG3`sD*7e~Ge4q+h`!M9VBAW)uOc=St^UeIjAQg3i2+d*Aly}=KD*_( zY~Ty?vK|9S)5%M0%!~V0(9v446>f(2>R7PAFJtkLx6?`iA99q(KXhGCl<(&VNIf9A zKR_qPtJqU2^6lj$wi*|%J}KuNEonX_+ka*P?@>Abp}WO)cBSMfR@+(%V8 zR-w63J5DtKZS_#zJJ7*0ddxemlc@7)SM7XO^;`DwDpXc;``H;Bb5vF~IHF(>>u!NY zoP+^Wk-;G1^rnqN`+R*(dR^O!_MPZmE)`d5$+vleB578`Nm1iaI=s8g{E5PirG#+P zI>AdV+LJ zXPny9dJ2mqg;Gt{vi66lO|AH4Dc!clUXXHy4iwBnC{f;=>zgD1zb_D1Q1E8Y&X$crx$=qF@#l!_)wDQQBkj9DB!_u^Cvq^lznxOHW9vTl@)p+6PjYllG`=&ry0!PeAqxjW3Q+pCa)nEVi*2;TV zZvDnytZp=uA5DCI`jl63n#PL4wWJegL_rz{Q77rfHX|OwPS3^}wHo%e z`dq`&tso0Glv+=FJN+v6>0y90*8;>uxIYcrKfy`fxu!exY@dqO!H)J@qgU7)xPh{? za%LzXJ;1(+PE4s#E}k{hP~o(hL_dR8GVd2cYK$^aK}%@%&*&U>0DQp5g#yF?0EbWl zL<`aerg7@wIxk;G*U&h^&F~A2BXE%2A8}iKWnMi5tH)#xPBRBg&cQXHsx}-#-2#`S zPv{@b?I*H)cp5xQWY(S7tP&s%OQ|n?`EYUR-s0Umtwn$7)8;@mT(Jy6m%e;-|6%!7f*Z4@p>Fyv6 zH>^L)Peoji(g~AP_jA%ei@A|Q$tNVZ% z7|Gd)BYEbaJ2W&`9C1k=p?;|W$0gW-Uo5$Gb%#vGfZnpNN`F=AjKSJ z_3vOC9O)?5fpI#S&t&3XV0V!n+L4&5iA3F?-}Q;y*MrH7S%4MIY2wTg@Eh`kKzs9+FVwQ$))p%bx!Vd)3-&tcnUiDTPu3yTg!?xLK7 z{;+-lW6L0i)dc;c1+@=#bl@a;1nhT$Fm{+a40N;`amopMDZBmOW|+FwFiD5#Ax1x2%_xmQq*8-atl z5v`{Y1?hEe3i(l|fWKEFFO0nKWKDDB9}W&2%h$M)vW}%F;GB7P|1K|3TA++82{#zw zbbaNo@~R+vru zHfkW|0q(H`!ex8eUb}1?4xk*?NH~Ape+RU#Q#LZq+^uJEH|nKFa(Sy~b?b;;Jo+?S zSdY7?K+@ZvkxTMaGRnlUBI!VOI-<&c2?S+-ld>PgPKfW4xsx8xi#!X`ZCxs$($ss~ zy`-x$`yX_eKLw@o_;W)_-$r>-8nJNtfL-VWTdPrUyNL@e8r@bTw`J339;`A~ zXt+dq_!yCs{69)}T(Rk7AX>p5{lu?uIR`o@JTa*BgXWzy1vr^i@N~%H)YtG$k=2wq zTT5O|dU^%6x;H<>hihud%2$VV$x-W8GMl@r)e29o?<&EMFy}Mk`afg$6LceT1eJ)T z0@(V5$Lg&f%hwBqljf~L$(%QyIgOHbyl@fJMWxPSWVUeN8U*kXcQ2yLqxUe>y9YIr z=O*6mA5lYuk$Y$(&TIa3j$?*Tb@hiQIO_ihZIc!JECu04T*=UefiUU1Py7u;UmtvB zwsN^!9BEXwB%==0JU3<5aLdAUPFrPH6DQCZ0U1m zJVtyep2D+q+MIUJQMxdjDxb~^ccn57|32mP>|E6nGr2mcmm}GrvervgIqM0+Ze=ym z3^L3dnlGHVWW@gzo%>YZrwT?cvPKHWA+K-a4h>e~RaxU}Fm-Wqb)L3!b@v3P=#QDluM&(=NXkn`t?R4VXjIjC#23l{rQ1;4a%2VjQ Oa&D#mCCArKHA43!)Li3w?ryQLglx#M<=n3N}t z`q%p6gO57jY)kP$pIWas)7jm-*_m%n!>)D?`+E=#*VM z)FrC&R-gFBt9f2-=zFYp*4E#wZM|-8d2jc2nseH~Ym%BMIrrlld>S}CN|M-2u+dUx z-_JHc|5r=z{w3QoQeORnNtGnATpTDSIF1mi2>SmfHft#qO zL6RxAt&H!+(GgF$sUMvAEhSDD(vN16{Y1Lij|rh`#6^yzjp!f&i{4^&wTf&v4qwrA zj;>t6KmhONsLD|?2I)L-KV>lR;3Qq=shg*L=b}yr7h`k~(!Vj{T}UuACAKUi0@J&! zqYNO?X&jjv;$I>QW zxMc_kF?0+SBlb;(yHe~%fEq*K-~o%i!wP*yy$371HLN#8dqBckc)?o0V7Lu}jF)4- zeH8jD6}B}C+3o}Y$5Cul=3zx@=An(H6jFsuT}U{C=!Vw0_jx0B--$96Hv2U}J8OVI z&ZALOWQslCuE_r{h=&lsErUXM=##&efRFYlOVDSIn-bhbY=4vhe1c|O$I25{j35)I z$)U5EMEOK;v)tG`?86E-rpzkhCNs>ETF!rP;z#EmK=7tn*=|Im9xLB;GG)2IX3euS zw4Ot5eqf?Yb(5|fRGaR!?Kq^0i2yrqv*IsANcbXwGMD7&_w(L3oELr+zC0D8w18X} zs9T_H7MiJZmiV^J2{aq>WwH#2;wNgMcLGA+_+FK#gxPOR%J(HxL6oXdZJLr#8kT56}wBNpBD8E%|w~ygG&_zg2SOe7RUI;P)Fn>c6)D diff --git a/oe-core/meta/lib/oe/patch.pyc b/oe-core/meta/lib/oe/patch.pyc deleted file mode 100644 index 5c20c07721f6c139488c3722cd8622bd5a35919e..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 16634 zcmds8OKcoRdaj-sK23^Gk)kB8Td$b5OiK3pwOZM0i?VF3Wm;~^maJWSJnU|AhME_< zn-XbA@UA7>rvwO)L*Pq*1n@DJB&Qh2o&p2`g4}Wpa!C+i;Y$z%IRwe~ebwDFmZii7 zM}`rSU976E`m5@%|6SF^e;XY>_0@m8?VI$ci2pC)iBCDk1o(4I-I%LRmM@sAg)Cn* zS4&yGuPfi*l^;;PV8W8w7&L2uQ#5ysxoyn5SBFec>Uz zk}yLv&_f(M1bMY+yp{O^Ui(b4XNjE%_oicR8dKI*t;`eNveKl4Y`crb7iwA*pH9ku)ut#H9_Md67?m{d;G zYpbX@0my!JvAvTF0zkQ3Yu1u-xgYtMGc=CRarm&P$v%V(mW0V}7&Bv+v>Z>PRwy~; z9*f;(D{it!W8go zm`ynpMnLf)bF+`dUlz=*esc?e`>8*!6;1RvCK*w&WPWyYz}zkvI|1ZZE@LTN#J^{#7`KMR)QFRL5}r8ExAYSy+^|+GS(Ff&mDQMXRjlD}ML{i6 z76cY2vDi2ve80*!%r&l6qVCBQcj=GH-EL3DN2%<)^Me}=LQs!i5 zrr)2GIfy}@;J{zgURwQ1nD}_3AMVu|Jn>Z|q3oTS1P{c|v$S~%sm)`JL|T_6)%2M_ z*5Os~Kg>e(9H3dq%pfg6{=qneaXL(UiOc}N;23H5B&xN^vp&b?Lo!*y6O&9JDIj!U zLgfn4O02T%T)vW#o2f{$v`6bsvLld80C2w=#^T!LRx`9V1f)Y0HoG*Zx_K`8_L@AO z2h5m)gZh%cK3AVTS}J7=7PCPC$QRa5^o}5F$&yIv;k<;H6a_B=^xfRUIcQ=Mx$+1g z!9fVtHjF>P`(ZczS*nMXrVAZB>Djy(DLql#qO*I1@e)he`sPQfQn*sv1weL`zBij_s>CLMKf0xr~ zXx!*;HPE2h82VpE{N~V{-LRCt=wJ@h<~&R0bdYOpvDjLz9$MWLHd;v-Q#fBF3%Y#c zHek5AtDzgWL%+6G!=~1nDb3Ux?N*d5iZr%I)6HB1iogPdtgF z-zhr7#i9P8;?Tg*IMSk+P;7oF3PT@l^h2&YgC~9$Nhq5F;^Gc6(BCi@5Jo{132~-A z{h$ zqi5-vQt`s|w5}x_+V~Ad8UyGsK#=1)y8?=c{jBjrS!1Xe*sHW!yBe=s6hqa@-9^vn z_vw|daHtYhg#{Xnn0*}dTLJ0E2JOM3mL*mEO5#0=k}!Nz7#FE5w7o}AZS$TKU|h8& z-=mC(X-F?D1kug{975UFvi0NYg0H>Smcs4|n}NshjCX*E_=7~)ZnZUmdf1#NvaPi1 z>^SS9@Ol`*s$+W$B8?eW!+M?mEywR6MI>BQS$3kdZyQBLVU6QD{UVMD5XgApDAH14 z);a3j96$!8zTk-0kN)VRA+Z{`!{Lb+4nq!L(~a-OuqXdg#oIY zMNjx2O%Mo-HRaQRKm?@}BKoQX;v_F_K5s5Ja~KxnpM6V^nx|dCoSm)(-d%5pSs_7c z$Cu+Nte;Wk#d2!ryR{f`Tm`0uRT$%{5xqz-#0-Mv=D8Z7hm{t`iB2LHao|vniAP~! z#l~yMDR5&chhoC}36pb7UgTRmJ+eEb?(P6we2_q$Y5am1U?fcyhMWm!7V?9+15R#~ zlQ1Mf-a>|(ebQ{774{kXnv*FFY=TZCJi%gA6r1DNvxn8pQV{wI=QOX=HbOX!iDfG* zg%hGfxVjW=SzL7q(hhQZjTc$~e~2gbHHnk`1)r149^rtS2$ry(oOc?fWxG3Ur48)m zX3SMkL3G#J_+ z8J?V;oE{rM1k;#TYst%WSMP1q96^h_jGC}$_y@fN(*|ZsUw%TwrSc*Am+*XB^Mn)p z-prFf;lyYa8LNK#k>jHYe~1j01<`3$FZFJpnVVTJWs3J?rc3)XU1}9ETMiidj1D#N z6`llkE7#eT|5IJA$Q87TavjGTB&3A}P^E&%)=00BlzqK}5XJ8uVz7ljC9i0Rp0l;33co-r^52MVS6LbJkJw)zK`Pn9F(cmq_(J zWGJg8)Gf`@Zi94(#rHJFUk6E+n9f4x>mRZr!~49mqMy1P3rmkFWT?FL_W28!yrpyJ zFT7&In%tyKA}O`Yl#hI?16;h6Ifj77JC&%5)I@_KHJ${Dz!VC}x}&m38dPA*_Uzy< z05w$@d!a_>9G_F*!(|AW$B?lG4%`rn2B0*pQMd|>4TYJW8_O=R)&Qf2I-Id=C4+Mi zb*q&)jw!4aB@Jk}Dq5TVN!GsDPsoKBBCEIQ&j zeXUZjeHaGbJrL)Ovmvq9s9Xyn^x`g~f|&JOHlPx3_Yjd%J%0tD);n{i5Wn7s1E$=r z$jRgbG}`%D%669L$Y&N0m{)pW2|OZ{2-_HVlmLJZ0j8-NE;lDk3B-AA*hHRj9H;4+ zD_Amj0PLUJww`v3C|#&ndA=spim%|e*1}k)4BjO)!4Be#Ftlfc)MXLklGj6v;%Stv zA4JLa%C;Z2lUl23W$I;AJ&*{pLN|X6=rTGCf+;i3W6r2kvRLI*a;*Lq8=A6O7xO`q z0%y0nxe(~I6nI9?XjV*5eo@2@WXu}?x0Vy7YeVZ2XrxcZN33w)q zkn|vH5idqc4;y(L1w)FLq|%|$v4y8W!y6-JW0Wos%>ryFbNzU;C-aT5wIvh%vpT~b zfE<5>ZH5%wCfqTzF`k}2JDY7pt}&+xj_d3kGzo46;quW#Wri^YZ0t1~GwCW20=NeI|B8h8$M9xAVe4RcMAboIdq{>l3s~rYd&JCftk0cvWpnAuNY4As=I0LnE<->h z2SniqErpZKt)%cIlgQ8!_5$rl7!qlUvC}@yO9)_Bp9F#sur;&yyeto*=Zha!qqq)Xu{3|WA{*+O32?SUAbOfQ5Wd(2NNaof19v{G^$+0# z?kD>JC?v#4)(q@#p#cD-z${CM&CSAgn?;qw#^5qciu3Fqjx7fvEF=QJ^tPOxGeJbK z!=%}m(!!=q`zuNVwBkIa8|V@&TT5T`m9tMJF5;D&#nD9T9?q1F_W_a`9y8B76dtL@ zYcc5rM}NU0yNH+Kod#&;nkZW?ehWdhyLAa!;YL(LoP_l0tueWa3pBwO_~HnXE=}Hv zx^c|49@3s-yl%Vy}40E zr+i|V*rvD^rf(yYVp=gMVj8@14@}$I4yG+mZJ7ub5~+CJqe4LqW0h7e1FsT+rPSz+NMlL9R(6m!_LRn6DeLBS5ZCzM&}KN?ykk zgV;#B#3iH!h}a4r5F$hl4ie^gtqy+S3zU+9u+M6ST2t!@CUtgPZfLDF)AmRoUY)+ZtU=^WKB@%>wD+tlsx*1j89PplC z6JBw!-q#> zT_@E)=cFz%d4~ywojtCWZY5ADBl*5v0bUN<5yZ;vIuPK!37~(DCq1|x=^rZL(0Xvl z9hsb*92=KM?S*lxj`J-a?es$#!u^W5zu{fy*4f>E2#Gs*1qY_6jAFgqAxU>GnqZdj z=+Gs}uTjyF<*W3T*D+)}XV03DViq8L6_PM&)S5lDL$xLRh(yxebiDcRFk?3D^>Kl0 ztaLYC_yJCjI>qBjX!6nzaCVeF=SV4tAuV<0chAuAZLS35YrId8^qlK{1)x9S6gVdy ztLTylUDo9{-@JH#e%p^0_v5$hTN`o~A4*Vh7sVfRISmQ@3)!-w zGYA{k?(%VpR+P zbS?`Pt=JHDwc-?{f7!I8ZkV44HGr;hc=)-&H+zU7AXW&y3tO0`Fsx+Ojx$<_MjS4+ z!6zBAgk_3aga|qPX@(!rf=82+%&*}V2+a6ouRdAP=PLY~1%X3+E@9YdsrqBX)_{YzFwhG*YADLh}qZ2r>wkPq8 z93ZA{Nj6)Tm2hD25lgzLgJ$Cp8>7o@Q*bu#6q3Uxm|>Y0r9Ufde&OKna`O_dkS6l9*k3asn`$na?RjH@vBZ#S_RWWPkuQ-AIS}Bf&Eyuwyny{Bg{WeSe!q~nS5If z$QXh?{<5b+E{lwU+mIfEyH>-SVq=zZ_}i`p zUWBX{Gnr{oGRPgRNcyL_t&YIi;Gi#?2N)q~6jv7RYAXO-&F(tGY{FD(GrZ6;nO z(9{B$#ufN|g?;cpXAnUffe$(co523=N8EC}@NnOdbEv?e`8a~*qqr@xM|Z-G7mgR_ z)NzBTy~0J5kb(WsuaC{;*R;Y#;H>H?qD<=3j;yXO>KgZ;#9HZT`=$1az>dAn$!NmK!rZ{z(8%n}z|4u6mu4nsKA9PvnfxD2q5?4h diff --git a/oe-core/meta/lib/oe/path.pyc b/oe-core/meta/lib/oe/path.pyc deleted file mode 100644 index 71725cd89062114254eb19f46202237c45a406ce..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 5422 zcmb_g-EtGj74DH_gN<2!i(;2-=ygI_B(`KADK_jbp#sjXs}eztyg(dW%4nvA#~RIu z?ip;S>|6l3OdcQ?d4{}4o?&nD0J+IUE|c#&GqSyqtz2N)(>mSLf9E@=zjIpkf1RGa z^Ur^O9jfY6$M-!v?r$g}{Cg@!zN|`wooe=r7icTu?ff``Z8TNdw)Nj_$sAyJ( zomJ5(5zcX=-R2xN9sdWPjws}zN`=0}<32=@E4AgRE$kX)UF~5$kN@3fja}}b_*FbK zI&-aYkZ-oOvN+ZKBG*x7T)L3!+?pWQLEmLbksIxQ)zxln!Z=8h-JHv{n+>kR=`xp7 z=0y2P2x(?VQei7+ZgN0ARrPUA2ucd~8Km}RHZtvGXZz;zjpg>QZ{Paq^2?j;U_5rc zvCYDEW|qRtn)b-#K|6{2XlTo($GbjP;F6B}P_>X>C-4xA`*_?xPyh^Uxdh{NP1$Qz zmB4s{O-*&n9$O7I0jRC1NvCO6_iK|XItZ9=cc@P~oKSl;wO3cqYcjB*fXQA%ulefQkO68PxG67W!z9H`**d6Moc!PuHMG`bfU-BwAz~GOIj2@*KJZ?_YDf| zo4l~84zx8%kjF2LCRTc2vypZ-)On^O*op=NI*SJ0FeP zgDh+J13Q0RI=5PF{2yumzjJUtSnO~-D*tm3CjE{@t1ZX|a+(%;QKL@t6iv&P&A{?Sr8L(IyX+@JQs+}IOov`v(YF^$JPwu9eI(MH0PjkV58WITQxa#Im(9O z;KWTFoI(<#!Y%++WDYOq&1Vio%qyEYK9`pbOl(VC+(i`X^m*?>?Gx{l`ekpf{;_wy zcCI`O)S8FnJ|6dT6gUjKNveArO-Hsvl}bU|ueIrZ*3 zCen|r0bE80m4{_kM=`JtcIjmKrqP8nwxtEwwTF)$tokuc)Dds>FK{yi?YYSx2iB)K z%QrNksL2x_1$iJ=fX>H=;s;n`0GGrEs8^^wNEO&FQ7F(=ENH zrG4k1y>#GBlO%$b%OhiL>6(P8-9XFF7iU!i+a1m-yQjSUy7FKY8<2{@>d+pH zJp}s)^tvr!Y0#(lV*f~wlWJI3c3-_x3hkKjDV`@1af!D37{$tqB7PZ=FzDuXq?ZO7 zu1~=ZI!&H^f%|bK2kChJt_~gcvi@c{Lp8Afk*t-ATbrn2NAtN_K7Ukla#Wd{4#+EX+l06CuY0~ z0jLA=9t4RBJya#3>`6-8mE5kR^vWaiFpG@;0}K^3OZF)NIl~^!U&c zqxE`m8t1*<8dno`@n-NB(lUIw3sLVQ2mk@2`n|E4Hal^y9pY5s^tDKD$4IzJwZZHqsS=J-Yf+fn@R|G`qv~|% zUeD#W*Lw=FOo_ctlZUdxg%r{2NdV~eMp;xOtP+n-mKvX``V4Z1yAtWW)AUafGEzJnpY3XbVpbrF1fu!$`) z6VvDz*Fdl*^r$vpb)Bd(=~C%{P3R-)BOm0v4vwaw3@B0RkFv2LW-0V9!aPG-s8@D^ z(Ks=84le}Zk#wc`+xf)tPOy~7%^)%_+i8&`^Bd)5WFfTMOXa`5p>37{EfzNx^)3An zy5IOz>zm8Vw{?3m^jW%4uEjkglY&METh}p>M?FchZJcfF9r&XWIc%ikG&eTo-M1w; ztz|k4#-IVt1E_Fo&5sob0xg{qD--l+`Hb=mKU$K+Z2_<`9)c$)dEi6 z`T!KYl+a0fa2uDy>3V}WG5WKTg_h?xzGLXOwozf2xI6Dobw_tH?TQeWMouhgy@fYr zc9#fpJ3{Owf=+U{x4=AtKKI#=%z-2CC$V>FMJjDU1X& zU!yAFReVT>Jz9OVA`zH}ut?(&@m^kxGvvuQpuAJ~_wenLdCGK|iP@NL$VEkg;kJn6 z%_>!u8mDaa}!m zap7oMyMc-Im-wxKzZ>BGP#Sv?gdy1_jzTIoI{YGZ_*NXDq!ch3503Z?*b4uX-;H=v zcP-s1(^f`3vD0>t49lB3145HpirFx`*p=_IF%zrurzM_j8Hf(9%(dW}e5>T4F%Nq*nQHl0Sa31_8ViZyKcb{rP#3w@`j;vFkOea+NjhcMzYG#*B%_nd z+R9FdA0(iqxT#O4@R_t6sw2|-dYc6Q&&zOsmwR^KLoo+GtNv;;jhU-6CudI0otm4y IG&7_B3yg5f9smFU diff --git a/oe-core/meta/lib/oe/qa.pyc b/oe-core/meta/lib/oe/qa.pyc deleted file mode 100644 index 942675df2d979ffa343c66b495a72bf53e1e5f93..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 3579 zcmcImZEq7t5S}~7PV6{u1V~cemePVN(Krp1suds-a8yf`|7i% zgQUBw0;8hCPSmndSb`m!XHq$AMIEb?xCCPs-kGTV*p4%kY6lp#aJCzn{kAPJM?%ck z%$0YNy{OziJXl`(VyV3T)r~Kgo-db!PRID2Zqh0z(dVtC86Wot&ckZt!P$0KpUa%(%kH);A=Sxdqf>gpnmu!Zf^2v2+j&~Gc zW<@)PGQhMfc6vz3B?sbMZ;+4tg5?uF0ySR!=wOx>_&C2K9%b>^yW%{H3j;A1Oa>>e zdrj8NiW3E~26x6`5W~NrO5k{&p8fK#s>QzQyu)=gP_?;mMxi;atMZTR?xb~#4IpjoK@TVR>0!MvP!z@)=k9~v}jN+>-)wk!_c80 zzfk+}Zk!y%*VV9|GWv&TQ7|3wv1p=0b?1)aWgo0;uGBZ`74hJ<(7OgmxRtJ>`ue3a zER@Q9%!n`bD!pzLgdPv|@T%(9s}CymO&JRV8+ZUy-Tnu5vCobMl*VE;&WC%#<_bTt#z> z&J}monP+~U$GEvIBmfPG6wEr!%mA~jOHUbMxD@(;3%inrq#Js;-qJnlrF^5YvReHB z(PFO?v$CzlMF2a!h1>UW-BUbu$nOd6@=;;0d%OPuoX7DBw)MlPYxqiCfpHnhe;=P z$R~L*ZED)uc2tQ&9mF-3ytkiN=7ai)^4DfnKdHn|*vXA!PU3*#1WPhetDHu@^4mnO z_|kXqI6!*&HJhP1aQvd>M?sb@^9A(Cp;!EDK-Te=F`Buxr6;P1A$;Gnm?zgPG2>0Vo(AxE| z>rzWY@2$^RCTJg=*eSp<-3wYfI*tG~2F_5n$e31|XHMYW_wfMqeF1OZ-%G;%Hg~-l zR`77ccprg4-@6QQg^4XP>E8{wtUSCoJ-kUh+>YLPkP9GqTg#2(0qHzE%Ds<4J^}d@ z@;vb*9kQo2~ diff --git a/oe-core/meta/lib/oe/sstatesig.pyc b/oe-core/meta/lib/oe/sstatesig.pyc deleted file mode 100644 index 7c0d7f0587938e49b79b53cad51a34765c99244c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2903 zcmdT`OONA35H34Tva`&^}@dvx5PLvtRVzelqk)j!G@Hp3^`$3f;X z2l-4xCW{zWM8^^Un;M3g8d!uI6{#~PI>ZKtfOV1EQ{$$M2I{kr840rwSc<3RLdWy7 z)B6W+9K>I|^X6LzC->vDs%%o#Wfqq@%F0^D3+>W)Zbqz#t#zr>)=chI=VHd#ffz=f zE!-jR((!;t;`m(_t~y@5-VS}FXfy0!I1I6IV0+A?tS+s!NJt|_rZCQ=bNlpFmDBY? z=Z0OAa23x{BO&l@$1U)(hwu#I<6-~lecj|u>-)0#?7#5%3AWhY)bOLvcQ#(zU6#LH znz?H|x`oMedxAtuwp}{1qMW9Ac^X-rEo<%ExhTtOHer|)V>5|Hsnre{DYO$AfsV_1 zF-|jA)^cTMR@W!Gj?TvKzP;Y(u&gRg!MB+4&0>h{(b&wj4FTrH{@->=0i6nXy3PkB z7x|cFT%-dQzp9to;fzn%JuMzNOpXijz1EqjbdhqQV6{u_%%St;x{`G8FD4bXC`>3U z+cqju5KVa|^|D}_oIcJd?Ad*0-|eTm&~?f; z_T|S9Q){veyYZly9x~ZinCYgGH(gvB>QSfd>j9}@2+Inp&u3Ur&obM%C(>44777`^!z69J=k>fD-@VM^Yf<-EYN!7MdC2=3d2-ZWMqhJx zD5p&#wvz*7IAZ!=qD-I>Z@d>|Db$5}9_$6Me-}gOQur@%1w&0U#tUsUy2t-ZCc2Q; zJQ_(cIuzqt4KM$QHtBGJPWRIF3xFU6^BYKPuQsGSKWGZ_L-Y}O1@8JgukQEvZ|r)% E15eFxt^fc4 diff --git a/oe-core/meta/lib/oe/types.pyc b/oe-core/meta/lib/oe/types.pyc deleted file mode 100644 index 559251daf2102681eda77a5b82666138188173e6..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 4475 zcmb_fU2hx56`dt%>LXN~55ta{JWPY8q#A{k?WP5c^dpTOpg=7HOQlX#B*b!eD6X{J z-R=x65wKtC{DS_NqCkH_|4UyAw2$pMcb1|VrzlX1;9d@A=g!=@bI!eYn*Z3@zW4Wk zeG#kr)5PyD@z^m$f^VQQrH;{PC=;kjppvHgMycmY{qDG-k{16QH#si3roIW(@impS zrL(P)4V7$4=Y}$y>Uc{f_-;$jCRK*L*RV|bZ+s428_h=#ev?{vX-xxNzrthpAPg45 zDv($g3t`a~&8im_vyR&;9QLkJImOl z7gdtxQMJ$N7utjQ+&d}?w|{KQn8))lKs&r>(`v$?9b*VlSzoOV-#)v7ca zXGUz-lPo%+-f};Mo?E<{!eH*rFAFu9s(Wc!*DKDVg&rGiOB1J)6c+RnGl}Mz`mO~>(j##b4L@Wt2Zi}4E-Eva85a$*bc~JxeQo>YBBW1t@YoK73Od1ijh#j(=rm&5%7?oVuf2f= zc6o}gY#k06_Bi5Db}Xie$%Kr&2siNd3axdVZ!`joN27Ppw6skHhduV!e$AtqfnT@L zGaAi`WS;S_S4@f+ZEl&PLi$)75OVa&PHDZmYcZ$5&TgX7ZnqolM(4GdCi9^c;?@EU zC!Pgl06GgiN{nzoB4SmbZsPf4pmOj27Q@#wk5%86(*T}NukqE{hN{jK0urJN^wB?Q ztWPl%blJaQ;q@33Pm44*-x+1}j4UfbV?Rhw5H3h>(6<8Hk5)w9*Y;b~7cvuaEBe<< zdA={lcYUv|+3v#&*^C(_M43dUBCB;VVIWHrAI@ywejod(jf>*gl#Gvc$lKR>;dJ){ z+qGSc`gQI#>(T7T7Je(U)h682A6O47Vk5N(f-cHqBfuI**7#T|tUbcc9#mCP3ADIR zA#7Hhn<^y1MG4c-{V-1#qC#+4ueieBD??ARk)QTmtYXPr)xI9=lG(vqK|6Rm5FpYx zMic?!U(rBNdj{A9s+y^buh{_I0jm37Jyg$t$0oUt|7b66G3)`V#A%breFW9Vf7n$m z_~C3@RYnCt09O!*%_Ri!{!2WMf#$^x>Yla*rii%>HGG`kg*rMnWQISh;8{z_972Yt zEp;lnclQNM2kJ}Y(mHYe1p#Rt)Rj3g7vGI(yqafGrOicI8EcXG_H||4yvik?0Nv7wV+81o+Fj&{G5X(3|P`u*|~QV#Ostfaw$T z5H9^sdXS!?z|@GW?W!UZ&c3{FJ&RmC<*s|Cf6^DLK7aJ+_hOaI@s@A2TL1lR# zG=#kGz4Q)5MlHjaWb9#&S=4im*q)aqDisF*6C^+9D!^3%nC^A_e2V`miX~6V@CLd( zAN_d?hs`Ceqw2&;HV=ikj0!8~h#ofqb0i3`4H%>DyNIun*xZyX`ym?kdk|{7Eqv|- z&EQtB6TI7K1~-J`ml^z$;ZqF%zfuhX!|Up-t*ZM9ZW$u2B-iEt5fjZ2+fO=Vah<7> z9ng_M$NmXoosQ$8$V`;KNJt-e*@S;=n7~_hD9Ti2m=nLJkl{NGZ4Q!5wDEUnlam;0d{fWl%1Nkp<=dMC5^- z(h|_iMP;)B+e2UQ6DwFM`~iL~YXfdL{2>}4GnOAj@a9Fx`-CMDWUY`;2=^g+L}qxM zg3b@$q3W0`_lNJFh4C5a>ttrbLK ztS^Y9d_ncY)F5`+1yt4nmF5l+zIqW*_x+^+SBgS2SL@pc{#qpWj2Ks@wM)bt+5JS~ z*fQ`6yt?@ux37v5_=2P_CI~99=nGk#`&bRWYB$y!{DN+zqf|Tm5#*)g*!LM8DQ!q^ z_zMYqckSvj1QTwg3e&VzB Y&uNHdw(K-+zO(g4XLsw(&SpFK4_!DsuK)l5 diff --git a/oe-core/meta/lib/oe/utils.pyc b/oe-core/meta/lib/oe/utils.pyc deleted file mode 100644 index c335b32f091fef09885b4292334b307932c2b47b..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 4783 zcmcIo&u<&Y6@E)nk||4(W5=x<1i>C0geg!-R+6T5R5eX(7e-?ySSF4UAR(5!Lu;+o zE^U!=vp5v?y$=7xA5+?_}*C18#U;Om52rQ*t!t)s(w+C{3 zMZCy~%KfY*r;&V9y&)YR$-%1F_ar)PNtCx_@ZcnpM=g0K@~BNZfUbic_v>S^h{ZM{ zJ#OwhAmgGmeg(|kFK$~~Tb;Bf%{`YmZ;Ode_3O&$HvU5MRh1qZ-E!=gF@0; z61NL(Yrj4;TjkNyo$VXjTlYSC|HJJkJ6q{w;)WAjXIr)TO;%g8g`Lu^vKV1vYwC;A zZBCATH|&}ZDI+y-YakM}qbt!ywA8v3Wt`Jd{I{_elhlT8jvW)bI>8Byj#u~dWWU`{&n=$y5o z%0Wx)TS9$K+Ko;vEbJH5tVg0+JT(4(YJ+tzVDd?7i*y7FuVRqxo9y68T0%`iOMSzL zFID9*~Z@Jf5cIHB2<>UZ1H;2bin-TMVEs zb%n+)YU~laV4y2veMwG`f`ZbUFH;)dOOM-mYCamND?BkaJDjNU8o*z{+&!NAlPEM{ z?53q(Bp_FDCWLW_wBe6{c^fYry;P#NqqXzU%!6Tym-ApivYEr-5DW+eC=6^urh{7m zD(DK>V0|pL2@%2YY(XT|S~JP@fE;g^xe12$@f=+ZseX@%Q6Ws;1P7}?V&g+p9wY3J?i88v;?9pKCV**g0&qwrBlo%AVmK?Oj-kB}HjN0fW3z&&#nTz{} z%%vqS(HutCJ@eLaQRTs*3#P`ZK zJ~_(`0bG1vVfT4iSNPP`?tT7ca{JER2WR=;RJnUv_c#YK!`lEZko`gAhe*Z%x+8xBa0vJgJ0m0r;5$&Q`|60Hj?%V= zsn7PcxrsA+Cm){1is4vA{*GVRH1uQe>t3kFc+(UUexVy2>8pfZlrRhxuvc%6xYcf% z9***K@6X^Jo~Es%DAwqSn)x5qMd)$RM|oot=3Q;&RGyI3yggS4H5BIpzq+i!%`E#k zoPQg~JAx_Exeo4Uv1LI0eH``wR%9FSf)&?ZZpP#TEd5!mn0$zx|AObtdI`IMAooY) z=-Mw>Ecrd>&eGnZ&BcgA0c*@Ptf&4iXMSWd1__%9O@QBnX>wku3}{-~^!|_n!*wKN zH{5y-mc@R+z#Jgk<*(`Z7VGu^brn}71Sq~ky#4~=`B%L$4SMY1TmkZVT^~#*@$R@V zWxf{|RlJ*xAMVA6=_F38JVw$+v*F{y$G(o!cvRP=Nvn@zpB|Xi7(cuDxb%DR(|uFL ze!p<@z4F?)xT<|@jtb{BE{;*j8Og^QNP0uiz}Cqd+HTss>6W;1TbK8Ov9FvCPGo%UcVbqj@%V=28E$X9TO%wD9uA>#uK?M6bzzXeyq zZ-{UACoD{ipV}&BR~#2(ID(0J3C&ZV!m0L+Exdz69mjQe=_V#C;B@e?GIi+i=0`Iw zm}1;@5QM>ZZ?doSTC~~CM@%y)Hus~)XaQKZ=^Fizfq6LysN!JH$eSHL)N?fLsGn_a zt0lA2>Gx;x|H}Edg%;?;I-izikN7wWf34N+ZY+2CZ>75qy58+{J8KvJ2a}k?;Q#;t